/**
* AnyGantt - JavaScript HTML5 Web Gantt Charts
* Production Build
* Version: 7.14.4.1448
* https://anychart.com/products/anygantt/
*/
(function(global,factory){if(typeof module==='object'&&typeof module.exports==='object'){var wrapper=function(w){if(!w.document){throw new Error('AnyChart requires a window with a document');}factory.call(w,w,w.document);w.anychart.getGlobal=function(){return w;};return w.anychart;};module.exports=global.document?wrapper(global):wrapper;}else{factory.call(global,window,document)}})(typeof window!=='undefined'?window:this,function(window,document,opt_noGlobal){var g,aa=aa||{},ba=this;function m(a){return void 0!==a}function ca(a){a=a.split(".");for(var b=ba,c;c=a.shift();)if(null!=b[c])b=b[c];else return null;return b}function da(){}function ea(a){a.Uc=function(){return a.Cz?a.Cz:a.Cz=new a}}
function fa(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
else if("function"==b&&"undefined"==typeof a.call)return"object";return b}function p(a){return"array"==fa(a)}function ga(a){var b=fa(a);return"array"==b||"object"==b&&"number"==typeof a.length}function ha(a){return A(a)&&"function"==typeof a.getFullYear}function B(a){return"string"==typeof a}function ja(a){return"boolean"==typeof a}function C(a){return"number"==typeof a}function la(a){return"function"==fa(a)}function A(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}
function ma(a){return a[na]||(a[na]=++oa)}var na="closure_uid_"+(1E9*Math.random()>>>0),oa=0;function pa(a,b,c){return a.call.apply(a.bind,arguments)}function qa(a,b,c){if(!a)throw Error();if(2":"
")}
function Da(a){if(!Ea.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(Fa,"&"));-1!=a.indexOf("<")&&(a=a.replace(Ga,"<"));-1!=a.indexOf(">")&&(a=a.replace(Ha,">"));-1!=a.indexOf('"')&&(a=a.replace(Ia,"""));-1!=a.indexOf("'")&&(a=a.replace(Ka,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(La,""));return a}
var Fa=/&/g,Ga=//g,Ia=/"/g,Ka=/'/g,La=/\x00/g,Ea=/[\x00&<>"']/,Ma={"\x00":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\x0B",'"':'\\"',"\\":"\\\\","<":"<"},Na={"'":"\\'"};
function Oa(a){for(var b=[],c=0;ch)f=e;else{if(256>h){if(f="\\x",16>h||256h&&(f+="0");f+=h.toString(16).toUpperCase()}e=Na[e]=f}b[d]=e}return b.join("")}function Pa(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#b?1:0}function Ua(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})}
function Va(a){var b=B(void 0)?Pa(void 0):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(a,b,e){return b+e.toUpperCase()})}function Wa(a,b){for(var c=a.split(" "),d=[];0c?Math.max(0,a.length+c):c;if(B(a))return B(b)&&1==b.length?a.indexOf(b,c):-1;for(;cb?null:B(a)?a.charAt(b):a[b]}
function gb(a,b,c){for(var d=a.length,e=B(a)?a.split(""):a,f=0;fb?null:B(a)?a.charAt(b):a[b]}function ib(a,b){return 0<=Ya(a,b)}function jb(a,b){ib(a,b)||a.push(b)}function kb(a,b,c){lb(a,c,0,b)}function mb(a,b){var c=Ya(a,b),d;(d=0<=c)&&nb(a,c);return d}function nb(a,b){Array.prototype.splice.call(a,b,1)}
function ob(a){return Array.prototype.concat.apply(Array.prototype,arguments)}function pb(a){var b=a.length;if(0=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}function sb(a,b,c){function d(a){return A(a)?"o"+ma(a):(typeof a).charAt(0)+a}b=b||a;c=c||d;for(var e={},f=0,h=0;h>1,n;c?n=b.call(e,a[l],l,a):n=b(d,a[l]);0b?1:ac&&kb(a,b,-(c+1))}function Gb(a,b){var c=[],d=0,e=a;void 0!==b&&(d=a,e=b);if(0>1*(e-d))return[];for(;dparseFloat(sc)){rc=String(uc);break a}}rc=sc}var fc={};
function vc(a){return ec(a,function(){for(var b=0,c=za(String(rc)).split("."),d=za(String(a)).split("."),e=Math.max(c.length,d.length),f=0;!b&&f=a.keyCode)a.keyCode=-1}catch(b){}};var Gc="closure_listenable_"+(1E6*Math.random()|0);function Hc(a){return!(!a||!a[Gc])}var Ic=0;function Jc(a,b,c,d,e){this.listener=a;this.b=null;this.src=b;this.type=c;this.so=!!d;this.Ok=e;this.key=++Ic;this.cl=this.ro=!1}function Kc(a){a.cl=!0;a.listener=null;a.b=null;a.src=null;a.Ok=null};function Lc(a){this.src=a;this.b={};this.c=0}Lc.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.b[f];a||(a=this.b[f]=[],this.c++);var h=Mc(a,b,d,e);-1c.keyCode||void 0!=c.returnValue)){a:{var f=!1;if(!c.keyCode)try{c.keyCode=-1;break a}catch(l){f=!0}if(f||void 0==c.returnValue)c.returnValue=!0}c=[];for(f=d.c;f;f=f.parentNode)c.push(f);for(var f=a.type,h=c.length-1;!d.f&&0<=h;h--){d.c=c[h];var k=dd(c[h],f,!0,d),e=e&&k}for(h=0;!d.f&&h>>0);function Tc(a){if(la(a))return a;a[fd]||(a[fd]=function(b){return a.handleEvent(b)});return a[fd]};function hd(){Hb.call(this);this.fi=new Lc(this);this.pC=this;this.de=null}G(hd,Hb);hd.prototype[Gc]=!0;g=hd.prototype;g.cJ=function(){return this.de};g.lb=function(a){this.de=a};g.addEventListener=function(a,b,c,d){Sc(this,a,b,c,d)};g.removeEventListener=function(a,b,c,d){$c(this,a,b,c,d)};
g.dispatchEvent=function(a){var b,c=this.de;if(c)for(b=[];c;c=c.de)b.push(c);var c=this.pC,d=a.type||a;if(B(a))a=new Nb(a,c);else if(a instanceof Nb)a.target=a.target||c;else{var e=a;a=new Nb(d,c);bc(a,e)}var e=!0,f;if(b)for(var h=b.length-1;!a.f&&0<=h;h--)f=a.c=b[h],e=id(f,d,!0,a)&&e;a.f||(f=a.c=c,e=id(f,d,!0,a)&&e,a.f||(e=id(f,d,!1,a)&&e));if(b)for(h=0;!a.f&&hc*b?c+b:c}function qd(a){return od(a,360)}function rd(a){return a*Math.PI/180}function sd(a,b){return b*Math.cos(rd(a))}function td(a,b){return b*Math.sin(rd(a))};function ud(a,b){this.x=m(a)?a:0;this.y=m(b)?b:0}g=ud.prototype;g.clone=function(){return new ud(this.x,this.y)};function vd(a,b){var c=a.x-b.x,d=a.y-b.y;return Math.sqrt(c*c+d*d)}g.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};g.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};g.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};g.scale=function(a,b){var c=C(b)?b:a;this.x*=a;this.y*=c;return this};function wd(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}g=wd.prototype;g.Wa=function(){return this.right-this.left};g.Va=function(){return this.bottom-this.top};g.clone=function(){return new wd(this.top,this.right,this.bottom,this.left)};g.contains=function(a){return this&&a?a instanceof wd?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
g.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};g.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};g.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
g.scale=function(a,b){var c=C(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this};function xd(a,b){this.width=a;this.height=b}g=xd.prototype;g.clone=function(){return new xd(this.width,this.height)};g.PH=function(){return this.width*this.height};g.gc=function(){return!this.PH()};g.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};g.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};g.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
g.scale=function(a,b){var c=C(b)?b:a;this.width*=a;this.height*=c;return this};function I(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}g=I.prototype;g.clone=function(){return new I(this.left,this.top,this.width,this.height)};function yd(a,b){return a==b?!0:a&&b?a.left==b.left&&a.width==b.width&&a.top==b.top&&a.height==b.height:!1}
function zd(a,b){var c;b:{c=Math.max(a.left,b.left);var d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var e=Math.max(a.top,b.top),f=Math.min(a.top+a.height,b.top+b.height);if(e<=f){c=new I(c,e,d-c,f-e);break b}}c=null}if(c&&c.height&&c.width){c=[];var d=a.top,e=a.height,f=a.left+a.width,h=a.top+a.height,k=b.left+b.width,l=b.top+b.height;b.top>a.top&&(c.push(new I(a.left,a.top,a.width,b.top-a.top)),d=b.top,e-=b.top-a.top);la.left&&c.push(new I(a.left,
d,b.left-a.left,e));k=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};g.ae=function(a){var b=a.xq;q++){var r=-3*f[q]+9*h[q]-9*k[q]+3*l[q],t=6*f[q]-12*h[q]+6*k[q];n=3*h[q]-3*f[q];if(r){var u=t*t-4*n*r;0n&&c[q].push(b(f[q],
h[q],k[q],l[q],n)),n=(-t-Math.sqrt(u))/(2*r),0n&&c[q].push(b(f[q],h[q],k[q],l[q],n))):u||(n=-t/(2*r),0n&&c[q].push(b(f[q],h[q],k[q],l[q],n)))}else t&&(n=-n/t,0n&&c[q].push(b(f[q],h[q],k[q],l[q],n)))}}d=new I(Math.min.apply(null,c[0]),Math.min.apply(null,c[1]),0,0);d.width=Math.max.apply(null,c[0])-d.left;d.height=Math.max.apply(null,c[1])-d.top;return d}
function Dd(a){if(!arguments.length)return null;for(var b=null,c=!1,d=0,e=arguments.length;d>>0);function ke(a,b,c){return b[a.b]||(b[a.b]=le(a,b,c))}function le(a,b,c){return["ac",m(c)?c:b.Ad?b.Ad():"",(a.c++).toString(36)].join("_")};function me(a){var b;b=fa(a);if("array"==b){b=[];for(var c=0;c",0);Pe("",0);Pe("
",0);function Ve(a){return a?new We(Xe(a)):wa||(wa=new We)}function Ye(a){var b=document;return B(a)?b.getElementById(a):a}function Ze(a,b){return(b||document).getElementsByTagName(String(a))}
function $e(a,b,c){var d=document;c=c||d;a=a&&"*"!=a?String(a).toUpperCase():"";if(c.querySelectorAll&&c.querySelector&&(a||b))return c.querySelectorAll(a+(b?"."+b:""));if(b&&c.getElementsByClassName){c=c.getElementsByClassName(b);if(a){for(var d={},e=0,f=0,h;h=c[f];f++)a==h.nodeName&&(d[e++]=h);d.length=e;return d}return c}c=c.getElementsByTagName(a||"*");if(b){d={};for(f=e=0;h=c[f];f++)a=h.className,"function"==typeof a.split&&ib(a.split(/\s+/),b)&&(d[e++]=h);d.length=e;return d}return c}
function cf(a,b){Sb(b,function(b,d){"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:df.hasOwnProperty(d)?a.setAttribute(df[d],b):d.lastIndexOf("aria-",0)&&d.lastIndexOf("data-",0)?a[d]=b:a.setAttribute(d,b)})}var df={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};
function ef(a){a=a.document;a=ff(a)?a.documentElement:a.body;return new xd(a.clientWidth,a.clientHeight)}function gf(a){var b=a.scrollingElement?a.scrollingElement:!kc&&ff(a)?a.documentElement:a.body||a.documentElement;a=a.parentWindow||a.defaultView;return hc&&vc("10")&&a.pageYOffset!=b.scrollTop?new ud(b.scrollLeft,b.scrollTop):new ud(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)}function hf(a){return a?a.parentWindow||a.defaultView:window}
function jf(a,b,c){return kf(document,arguments)}function kf(a,b){var c=String(b[0]),d=b[1];if(!re&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',Da(d.name),'"');if(d.type){c.push(' type="',Da(d.type),'"');var e={};bc(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(B(d)?c.className=d:p(d)?c.className=d.join(" "):cf(c,d));2this.s)if(this.dispatchEvent(new cg("start",this,a.clientX,a.clientY,a)))this.H=!0;else{this.Ab||this.Ko(a);return}}c=dg(this,b,c);b=c.x;c=c.y;this.H&&this.dispatchEvent(new cg("beforedrag",this,a.clientX,a.clientY,a,b,c))&&(eg(this,a,b,c),a.preventDefault())}};
function dg(a,b,c){var d=gf(Ve(a.B).b);b+=d.x-a.A.x;c+=d.y-a.A.y;a.A=d;a.f+=b;a.g+=c;b=a.Bm(a.f);return new ud(b,a.Fj(a.g))}g.DK=function(a){var b=dg(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;eg(this,a,b.x,b.y)};function eg(a,b,c,d){a.gi(c,d);a.dispatchEvent(new cg("drag",a,b.clientX,b.clientY,b,c,d))}g.Bm=function(a){var b=this.h,c=isNaN(b.left)?null:b.left,b=isNaN(b.width)?0:b.width;return Math.min(null!=c?c+b:Infinity,Math.max(null!=c?c:-Infinity,a))};
g.Fj=function(a){var b=this.h,c=isNaN(b.top)?null:b.top,b=isNaN(b.height)?0:b.height;return Math.min(null!=c?c+b:Infinity,Math.max(null!=c?c:-Infinity,a))};g.fh=function(){this.f=this.target.offsetLeft;this.g=this.target.offsetTop};g.gi=function(a,b){this.target.style.left=a+"px";this.target.style.top=b+"px"};function cg(a,b,c,d,e,f,h,k){Nb.call(this,a);this.clientX=c;this.clientY=d;this.b=e;this.left=m(f)?f:b.f;this.top=m(h)?h:b.g;this.g=b;this.h=!!k}G(cg,Nb);function fg(a){ag.call(this,a.ba());this.c=a;this.b=[NaN,NaN];this.ga("earlycancel",this.TK,!1,this);this.ga("start",this.xp,!1,this);this.ga("beforedrag",this.xp,!1,this);this.ga("drag",this.xp,!1,this);this.ga("end",this.xp,!1,this)}G(fg,ag);g=fg.prototype;g.TK=function(){return this.c.dispatchEvent("earlycancel")};g.xp=function(a){return this.c.dispatchEvent(new cg(a.type,this,a.clientX,a.clientY,a.b,a.left,a.top,a.h))};g.hu=function(a){this.h=a||new I(NaN,NaN,NaN,NaN)};
g.fh=function(){this.f=this.c.ez();this.g=this.c.fz()};
g.Bm=function(){this.b[0]=this.f;this.b[1]=this.g;if(!isNaN(this.h.left)||!isNaN(this.h.top)){var a=this.c.parent().ec();a&&gg(this.c.parent()).transform(this.b,0,this.b,0,1);var b=this.h,c=isNaN(b.left)?null:b.left,d=isNaN(b.width)?0:b.width,e=isNaN(b.top)?null:b.top,b=isNaN(b.height)?0:b.height,d=d-this.c.Wa(),b=b-this.c.Va(),b=null!=e?e+b:Infinity,e=null!=e?e:-Infinity;this.b[0]=Math.min(null!=c?c+d:Infinity,Math.max(null!=c?c:-Infinity,this.b[0]));this.b[1]=Math.min(b,Math.max(e,this.b[1]));a&&
a.transform(this.b,0,this.b,0,1)}return this.b[0]};g.Fj=function(){return this.b[1]};g.gi=function(a,b){var c=gg(this.c.parent());if(c){var d=[a,b];c.transform(d,0,d,0,1);a=d[0];b=d[1]}this.c.$j(a,b)};function hg(){hd.call(this);this.xb=this.$a=!1;this.nb=this.gh=this.wb=this.xh=null;this.ya={};this.ka(ig)}G(hg,hd);var ig=4294967295;g=hg.prototype;g.Kq=!1;g.Fk=null;g.al=null;g.Ua=null;g.R=null;g.Kj=null;g.Gu=!0;g.wd=null;g.oy=!1;g.Qa=null;g.Am=null;g.nm=null;g.Ji=void 0;g.rf=0;g.Rc=506631;g.If=0;g.id=function(a){if(m(a))return a=a||"",this.Ji!==a&&(this.Ji=a,this.ka(2048)),this;m(this.Ji)||this.id(le(je.Uc(),this));return this.Ji};g.Y=function(){var a=this.parent();return a?a.Y():null};g.ba=function(){return this.Ua};
g.parent=function(a){if(m(a)){if(a){var b=this.Y(),b=!!b&&b!=a.Y();a.gb(this);b&&jg(this)}else this.remove();return this}return this.R};function jg(a){var b,c=a.cb();c&&c.id(null);if(a.Ha&&(b=a.Ha())){for(c=0;cl&&(l=0);l=Math.sqrt(l);f==h&&(l=-l);f=l*d*c/e;k=-l*e*b/d;l=Id(1,0,(b-f)/d,(c-k)/e);b=Id((b-f)/d,(c-k)/e,(-b-f)/d,(-c-k)/e)%360;!h&&0b&&(b+=360);return ah(a,d,e,l,b)}
function ah(a,b,c,d,e){if(!a.f.length)throw qe(9);if(!e)return a;var f=a.Ob[0]-sd(d,b),h=a.Ob[1]-td(d,c),k,l,n;n=Math.ceil(Math.abs(e)/359.999-2E-15);for(var q=e/n,r=0;rf;q+=n)switch((Math.floor(q/90)+4)%4){case 0:h.push(a+c);break;case 1:k.push(b+d);break;case 2:h.push(a-c);break;case 3:k.push(b-d)}l.left=Math.min.apply(null,h);l.width=Math.max.apply(null,h)-l.left;l.top=Math.min.apply(null,k);l.height=Math.max.apply(null,k)-l.top;Ad(this.rect,l)};ch=jh;
Tg.prototype.Xb=function(a){this.eh=a.closePoint;this.Ob=a.currentPoint;this.f=a.segments;this.c=a.count;this.j=a.arguments;this.ka(32);Tg.u.Xb.call(this,a)};Tg.prototype.v=function(){var a=Tg.u.v.call(this);a.type="path";a=a||{};a.closePoint=this.eh?this.eh.slice():[];a.currentPoint=this.Ob?this.Ob.slice():[];a.segments=this.f.slice();a.count=this.c.slice();a.arguments=this.j.slice();return a};
Tg.prototype.T=function(){this.Ob=this.eh=null;ng(this);this.$f=null;delete this.f;delete this.c;delete this.j;Tg.u.T.call(this)};function Xg(a){a.f.length=0;a.c.length=0;a.j.length=0;ng(a);a.$f=null;delete a.eh;delete a.Ob;delete a.ou};function Pg(){Tg.call(this)}G(Pg,Tg);g=Pg.prototype;g.clear=function(){return Zg(this)};g.moveTo=function(a,b){return this.hp(a,b)};g.lineTo=function(a,b,c){return Tg.prototype.Sf.apply(this,arguments)};g.rI=function(a,b,c,d,e,f,h){return Tg.prototype.Co.apply(this,arguments)};g.Oq=function(a,b,c,d,e){return Tg.prototype.SK.apply(this,arguments)};g.md=function(a,b,c,d,e,f,h){a+=sd(e,c);b+=td(e,d);this.Ob&&this.Ob[0]==a&&this.Ob[1]==b||(h?this.Sf(a,b):this.hp(a,b));return ah(this,c,d,e,f)};
g.Df=function(a,b,c,d,e,f){return $g(this,a,b,c,d,e,f)};g.arcTo=function(a,b,c,d){return ah(this,a,b,c,d)};g.OH=function(a,b,c,d){return this.qx(a,b,c,d)};g.close=function(){return this.os()};g.ZI=function(){return this.Ob?new ud(this.Ob[0],this.Ob[1]):null};var kh=Pg.prototype;F("acgraph.vector.Path",Pg);kh.moveTo=kh.moveTo;kh.lineTo=kh.lineTo;kh.curveTo=kh.rI;kh.quadraticCurveTo=kh.Oq;kh.arcTo=kh.arcTo;kh.arcToByEndPoint=kh.Df;kh.arcToAsCurves=kh.OH;kh.circularArc=kh.md;kh.close=kh.close;
kh.clear=kh.clear;kh.getCurrentPoint=kh.ZI;function lh(){this.children=[];this.c=[];hg.call(this)}G(lh,hg);g=lh.prototype;g.Ad=function(){return"layer"};g.Rc=hg.prototype.Rc|224;g.ka=function(a){lh.u.ka.call(this,a);a&192&&ng(this)};g.gb=function(a){return this.Rb(a,this.Ha())};g.Rb=function(a,b){a.remove();b=nd(b,0,this.Ha());kb(this.children,a,b);a.Yf(this);a.If&&this.ka(64);this.ka(128);a.yi();if(this.cursor()||this.al)a.pp(),a.al=this.cursor()||this.al;return this};g.an=function(a){return this.children[a]||null};
g.Mb=function(a){return Ya(this.children,a)};g.removeChild=function(a){return this.bn(this.Mb(a))};g.bn=function(a){var b=null;0<=a&&aa||a>=this.Ha()||0>b||b>=this.Ha())throw qe(8);if(a!=b){var c=this.children[a];this.children[a]=this.children[b];this.children[b]=c;this.ka(128)}return this};g.$u=function(a){return!!a&&ib(this.children,a)};g.Ha=function(){return this.children.length};g.Be=function(a,b){m(b)||(b=this);Za(this.children,a,b);return this};g.ce=function(){var a=mh();a.parent(this);return a};g.rv=function(){var a;a=new nh(void 0);a.parent(this);return a};
g.text=function(a,b,c,d){a=oh(a,b);d&&a.style(d);c&&a.text(c);a.parent(this);return a};g.av=function(a,b,c,d){a=oh(a,b);d&&a.style(d);c&&a.htmlText(c);a.parent(this);return a};g.rect=function(a,b,c,d){a=Ag(a,b,c,d);a.parent(this);return a};g.pd=function(a,b,c,d,e){a=ph(a,b,c,d,e);a.parent(this);return a};g.ev=function(a,b){kb(arguments,this.path(),0);return qh.apply(this,arguments).parent(this)};g.dv=function(a,b){kb(arguments,this.path(),0);return rh.apply(this,arguments).parent(this)};
g.qv=function(a,b){kb(arguments,this.path(),0);return sh.apply(this,arguments).parent(this)};g.Lq=function(a,b,c){a=Bg(a,b,c);a.parent(this);return a};g.Mq=function(a,b,c,d){a=Cg(a,b,c,d);a.parent(this);return a};g.path=function(){return Dg().parent(this)};g.fv=function(a,b,c,d,e,f,h){return th(this.path(),a,b,c,d,e,f,h).parent(this)};g.hv=function(a,b,c){return uh(this.path(),a,b,c).parent(this)};g.iv=function(a,b,c){return vh(this.path(),a,b,c).parent(this)};
g.jv=function(a,b,c){return wh(this.path(),a,b,c).parent(this)};g.kv=function(a,b,c){return xh(this.path(),a,b,c).parent(this)};g.gv=function(a,b,c){return yh(this.path(),a,b,c).parent(this)};g.pv=function(a,b,c){return zh(this.path(),a,b,c).parent(this)};g.mv=function(a,b,c){return Ah(this.path(),a,b,c).parent(this)};g.ov=function(a,b,c){return Bh(this.path(),a,b,c).parent(this)};g.nv=function(a,b,c){return Ch(this.path(),a,b,c).parent(this)};g.Xu=function(a,b,c){return Dh(this.path(),a,b,c).parent(this)};
g.Vu=function(a,b,c){return Eh(this.path(),a,b,c).parent(this)};g.Wu=function(a,b,c){return Fh(this.path(),a,b,c).parent(this)};g.Zu=function(a,b,c){return Gh(this.path(),a,b,c).parent(this)};g.sv=function(a,b,c){return Hh(this.path(),a,b,c).parent(this)};g.bv=function(a,b,c,d,e){return Ih(this.path(),a,b,c,d,e).parent(this)};g.Yu=function(a,b,c,d,e,f){return Jh(this.path(),a,b,c,d,e,f).parent(this)};g.tg=function(){return kg.cm()};
g.tc=function(){this.hb(32)&&this.cv();var a;a=this.Y();a=a.pl(Math.floor(Math.max(500-a.Hf,0)/3));this.hb(64)&&Kh(this);var b=this.Y();b.Hf-=a-0;if(this.hb(128)&&(a=this.Y().pl(this.children.length+this.c.length+1),b=Lh(this,a),b=b&&(u=!1);if(u){for(;ke;e++)for(d=!1,a=0;4>a;a++){d=!d;for(var f=0;4>f;f++)d&&(c=this.rect(a*b+e*this.size/2,f*b+this.size/2,b,b)),c.fill(this.color),c.stroke("none"),d=!d}break;case "solidDiamond":this.path().moveTo(this.size/2,0).lineTo(0,this.size/2).lineTo(this.size/2,this.size).lineTo(this.size,
this.size/2).lineTo(this.size/2,0).close().fill(this.color).stroke("none");break;case "dashedForwardDiagonal":b=this.path();Rh(b,0,0,this.size/2,this.size/2,this.Ya);b.fill("none");b.stroke(this.color,this.Ya);break;case "dashedBackwardDiagonal":b=this.path();Rh(b,this.size/2,0,0,this.size/2,this.Ya);b.fill("none");b.stroke(this.color,this.Ya);break;case "dashedHorizontal":b=this.path();Rh(b,0,0,this.size/2,0,this.Ya);Rh(b,this.size/2,this.size/2,this.size,this.size/2,this.Ya);b.fill("none");b.stroke(this.color,
this.Ya);break;case "dashedVertical":b=this.path();Rh(b,0,0,0,this.size/2,this.Ya);Rh(b,this.size/2,this.size/2,this.size/2,this.size,this.Ya);b.fill("none");b.stroke(this.color,this.Ya);break;case "divot":b=.1*this.size;c=this.size*(.8-.2)/2;this.path().moveTo(b+c,b).lineTo(b,b+c/2).lineTo(b+c,b+c).moveTo(this.size-b-c,this.size-b-c).lineTo(this.size-b,this.size-b-c/2).lineTo(this.size-b-c,this.size-b).fill("none").stroke(this.color,this.Ya);break;case "zigZag":b=this.path();b.moveTo(0,0).lineTo(this.size/
2,this.size/2).lineTo(this.size,0).moveTo(0,this.size/2).lineTo(this.size/2,this.size).lineTo(this.size,this.size/2).fill("none").stroke(this.color,this.Ya);break;case "weave":this.path().moveTo(0,0).lineTo(this.size/2,this.size/2).lineTo(this.size,0).moveTo(0,this.size/2).lineTo(this.size/2,this.size).lineTo(this.size,this.size/2).moveTo(this.size/2,this.size/2).lineTo(3*this.size/4,3*this.size/4).moveTo(this.size,this.size/2).lineTo(3*this.size/4,this.size/4).fill("none").stroke(this.color,this.Ya);
break;case "percent05":this.b=new I(0,0,8,8);this.rect(0,0,1,1).fill(this.color).stroke("none");this.rect(4,4,1,1).fill(this.color).stroke("none");break;case "percent10":this.b=new I(0,0,8,4);c=this.rect(0,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(4,2,1,1);c.fill(this.color);c.stroke("none");break;case "percent20":this.b=new I(0,0,4,4);c=this.rect(0,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,2,1,1);c.fill(this.color);c.stroke("none");break;case "percent25":this.b=new I(0,
0,4,2);c=this.rect(0,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,1,1,1);c.fill(this.color);c.stroke("none");break;case "percent30":this.b=new I(0,0,4,4);c=this.rect(0,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(3,1,1,1);c.fill(this.color);c.stroke("none");c=this.rect(0,2,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,2,1,1);c.fill(this.color);c.stroke("none");c=this.rect(1,3,1,1);c.fill(this.color);c.stroke("none");
break;case "percent40":this.b=new I(0,0,4,8);c=this.rect(0,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(3,1,1,1);c.fill(this.color);c.stroke("none");c=this.rect(0,2,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,2,1,1);c.fill(this.color);c.stroke("none");c=this.rect(1,3,1,1);c.fill(this.color);c.stroke("none");c=this.rect(3,3,1,1);c.fill(this.color);c.stroke("none");c=this.rect(0,4,1,1);c.fill(this.color);c.stroke("none");
c=this.rect(2,4,1,1);c.fill(this.color);c.stroke("none");c=this.rect(1,5,1,1);c.fill(this.color);c.stroke("none");c=this.rect(3,5,1,1);c.fill(this.color);c.stroke("none");c=this.rect(0,6,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,6,1,1);c.fill(this.color);c.stroke("none");c=this.rect(1,7,1,1);c.fill(this.color);c.stroke("none");c=this.rect(3,7,1,1);c.fill(this.color);c.stroke("none");break;case "percent50":this.b=new I(0,0,2,2);c=this.rect(0,0,1,1);c.fill(this.color);c.stroke("none");
c=this.rect(1,1,1,1);c.fill(this.color);c.stroke("none");break;case "percent60":this.b=new I(0,0,4,4);c=this.rect(0,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(0,1,1,1);c.fill(this.color);c.stroke("none");c=this.rect(1,1,1,1);c.fill(this.color);c.stroke("none");c=this.rect(3,1,1,1);c.fill(this.color);c.stroke("none");c=this.rect(0,2,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,2,1,1);c.fill(this.color);c.stroke("none");
c=this.rect(1,3,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,3,1,1);c.fill(this.color);c.stroke("none");c=this.rect(3,3,1,1);c.fill(this.color);c.stroke("none");break;case "percent70":this.b=new I(0,0,4,4);this.path().moveTo(0,0).lineTo(0,1).lineTo(1,1).lineTo(1,0).close().moveTo(2,0).lineTo(2,1).lineTo(3,1).lineTo(3,0).close().moveTo(3,0).lineTo(3,1).lineTo(4,1).lineTo(4,0).close().moveTo(0,1).lineTo(0,2).lineTo(1,2).lineTo(1,1).close().moveTo(1,1).lineTo(1,2).lineTo(2,2).lineTo(2,1).close().moveTo(2,
1).lineTo(2,2).lineTo(3,2).lineTo(3,1).close().moveTo(0,2).lineTo(0,3).lineTo(1,3).lineTo(1,2).close().moveTo(2,2).lineTo(2,3).lineTo(3,3).lineTo(3,2).close().moveTo(3,2).lineTo(3,3).lineTo(4,3).lineTo(4,2).close().moveTo(0,3).lineTo(0,4).lineTo(1,4).lineTo(1,3).close().moveTo(1,3).lineTo(1,4).lineTo(2,4).lineTo(2,3).close().moveTo(2,3).lineTo(2,4).lineTo(3,4).lineTo(3,3).close().fill(this.color).stroke("none");break;case "percent75":this.b=new I(0,0,4,4);c=this.rect(0,0,4,4);c.fill(this.color);c.stroke("none");
c=this.rect(0,0,1,1);c.fill("white");c.stroke("none");c=this.rect(2,2,1,1);c.fill("white");c.stroke("none");break;case "percent80":this.b=new I(0,0,8,4);c=this.rect(0,0,8,4);c.fill(this.color);c.stroke("none");c=this.rect(0,0,1,1);c.fill("white");c.stroke("none");c=this.rect(4,2,1,1);c.fill("white");c.stroke("none");break;case "percent90":this.b=new I(0,0,8,8),c=this.rect(0,0,8,8),c.fill(this.color),c.stroke("none"),c=this.rect(7,7,1,1),c.fill("white"),c.stroke("none"),c=this.rect(4,3,1,1),c.fill("white"),
c.stroke("none")}}G(Gg,ae);
var Qh={LL:"backwardDiagonal",AM:"forwardDiagonal",CM:"horizontal",AN:"vertical",kM:"dashedBackwardDiagonal",BM:"grid",lM:"dashedForwardDiagonal",mM:"dashedHorizontal",nM:"dashedVertical",iC:"diagonalCross",wM:"diagonalBrick",yM:"divot",DM:"horizontalBrick",BN:"verticalBrick",fM:"checkerBoard",hM:"confetti",ZM:"plaid",jN:"solidDiamond",JN:"zigZag",EN:"weave",LM:"percent05",MM:"percent10",NM:"percent20",OM:"percent25",PM:"percent30",QM:"percent40",RM:"percent50",SM:"percent60",TM:"percent70",UM:"percent75",
VM:"percent80",WM:"percent90"};function Rh(a,b,c,d,e,f){b===d&&(b=d=Math.round(b)+f%2/2);c===e&&(c=e=Math.round(c)+f%2/2);a.moveTo(b,c).lineTo(d,e)}Gg.prototype.Ad=function(){return"hatchFill"};Gg.prototype.T=function(){Gg.u.T.call(this);if(this.Y()){var a=this.Y().c,b=[this.type,this.color,this.Ya,this.size].join();Vb(a.h,b)&&Yb(a.h,b);a=Ye(this.id());qf(a)}};var Sh=Gg.prototype;Sh.dispose=Sh.Qd;F("acgraph.vector.HatchFill.HatchFillType.BACKWARD_DIAGONAL","backwardDiagonal");
F("acgraph.vector.HatchFill.HatchFillType.FORWARD_DIAGONAL","forwardDiagonal");F("acgraph.vector.HatchFill.HatchFillType.HORIZONTAL","horizontal");F("acgraph.vector.HatchFill.HatchFillType.VERTICAL","vertical");F("acgraph.vector.HatchFill.HatchFillType.DASHED_BACKWARD_DIAGONAL","dashedBackwardDiagonal");F("acgraph.vector.HatchFill.HatchFillType.GRID","grid");F("acgraph.vector.HatchFill.HatchFillType.DASHED_FORWARD_DIAGONAL","dashedForwardDiagonal");
F("acgraph.vector.HatchFill.HatchFillType.DASHED_HORIZONTAL","dashedHorizontal");F("acgraph.vector.HatchFill.HatchFillType.DASHED_VERTICAL","dashedVertical");F("acgraph.vector.HatchFill.HatchFillType.DIAGONAL_CROSS","diagonalCross");F("acgraph.vector.HatchFill.HatchFillType.DIAGONAL_BRICK","diagonalBrick");F("acgraph.vector.HatchFill.HatchFillType.DIVOT","divot");F("acgraph.vector.HatchFill.HatchFillType.HORIZONTAL_BRICK","horizontalBrick");
F("acgraph.vector.HatchFill.HatchFillType.VERTICAL_BRICK","verticalBrick");F("acgraph.vector.HatchFill.HatchFillType.CHECKER_BOARD","checkerBoard");F("acgraph.vector.HatchFill.HatchFillType.CONFETTI","confetti");F("acgraph.vector.HatchFill.HatchFillType.PLAID","plaid");F("acgraph.vector.HatchFill.HatchFillType.SOLID_DIAMOND","solidDiamond");F("acgraph.vector.HatchFill.HatchFillType.ZIG_ZAG","zigZag");F("acgraph.vector.HatchFill.HatchFillType.WEAVE","weave");
F("acgraph.vector.HatchFill.HatchFillType.PERCENT_05","percent05");F("acgraph.vector.HatchFill.HatchFillType.PERCENT_10","percent10");F("acgraph.vector.HatchFill.HatchFillType.PERCENT_20","percent20");F("acgraph.vector.HatchFill.HatchFillType.PERCENT_25","percent25");F("acgraph.vector.HatchFill.HatchFillType.PERCENT_30","percent30");F("acgraph.vector.HatchFill.HatchFillType.PERCENT_40","percent40");F("acgraph.vector.HatchFill.HatchFillType.PERCENT_50","percent50");
F("acgraph.vector.HatchFill.HatchFillType.PERCENT_60","percent60");F("acgraph.vector.HatchFill.HatchFillType.PERCENT_70","percent70");F("acgraph.vector.HatchFill.HatchFillType.PERCENT_75","percent75");F("acgraph.vector.HatchFill.HatchFillType.PERCENT_80","percent80");F("acgraph.vector.HatchFill.HatchFillType.PERCENT_90","percent90");function Th(a,b,c,d,e,f,h){this.f=a||null;this.o=f||Uh;this.b=h||Vh;this.B=new I(b||0,c||0,d||0,e||0);this.c=1;hg.call(this)}G(Th,hg);var Vh="meet",Uh="none";g=Th.prototype;g.Rc=hg.prototype.Rc|32;g.Ad=function(){return"image"};g.Ik=function(a){return null!=a?(a!=this.b&&(this.b=a,this.ka(32)),this):this.b};g.Li=function(a){return null!=a?(a!=this.o&&(this.o=a,this.ka(32)),this):this.o};g.x=function(a){return null!=a?(a!=this.B.left&&(this.B.left=a,this.ka(32),ng(this)),this):this.B.left};
g.y=function(a){return null!=a?(a!=this.B.top&&(this.B.top=a,this.ka(32),ng(this)),this):this.B.top};g.width=function(a){return null!=a?(a!=this.B.width&&(this.B.width=a,this.ka(32),ng(this)),this):this.B.width};g.height=function(a){return null!=a?(a!=this.B.height&&(this.B.height=a,this.ka(32),ng(this)),this):this.B.height};g.src=function(a){return m(a)?(a!=this.f&&(this.f=a,this.ka(32)),this):this.f};g.opacity=function(a){return m(a)?(a!=this.c&&(this.c=a,this.ka(32)),this):this.c};g.be=function(){return this.B.clone()};
g.se=function(a){var b=a==this.Qa,c=a==this.ec();if(this.ub&&b)return this.ub.clone();if(this.Wb&&c)return this.Wb.clone();a=Fd(this.B.clone(),a);b&&(this.ub=a.clone());c&&(this.Wb=a.clone());return a};g.tg=function(){return kg.Tx()};g.tc=function(){this.hb(32)&&(kg.Hm()&&this.ka(4),kg.QA(this),lg(this,32));Th.u.tc.call(this)};g.Ai=function(){kg.RA(this);lg(this,4);lg(this,256)};
g.Xb=function(a){var b=a.bounds;this.x(b.left).y(b.top).width(b.width).height(b.height).src(a.src).Li(a.align).Ik(a.fittingMode);Th.u.Xb.call(this,a)};g.v=function(){var a=Th.u.v.call(this);a.type="image";a.bounds=this.be();a.src=this.src();a.align=this.Li();a.fittingMode=this.Ik();return a};g.T=function(){this.B=null;ng(this);Th.u.T.call(this)};F("acgraph.vector.Image",Th);var Wh=Th.prototype;Wh.fittingMode=Wh.Ik;Wh.align=Wh.Li;Wh.x=Wh.x;Wh.y=Wh.y;Wh.width=Wh.width;Wh.height=Wh.height;Wh.src=Wh.src;
F("acgraph.vector.Image.Fitting.MEET",Vh);F("acgraph.vector.Image.Fitting.SLICE","slice");F("acgraph.vector.Image.Align.NONE",Uh);F("acgraph.vector.Image.Align.X_MIN_Y_MIN","xMinYMin");F("acgraph.vector.Image.Align.X_MID_Y_MIN","xMidYMin");F("acgraph.vector.Image.Align.X_MAX_Y_MIN","xMaxYMin");F("acgraph.vector.Image.Align.X_MIN_Y_MID","xMinYMid");F("acgraph.vector.Image.Align.X_MID_Y_MID","xMidYMid");F("acgraph.vector.Image.Align.X_MAX_Y_MID","xMaxYMid");
F("acgraph.vector.Image.Align.X_MIN_Y_MAX","xMinYMax");F("acgraph.vector.Image.Align.X_MID_Y_MAX","xMidYMax");F("acgraph.vector.Image.Align.X_MAX_Y_MAX","xMaxYMax");function Og(a,b,c,d){this.b=new I(a||0,b||0,c||0,d||0);this.H=[];this.l=[0,0,0,0];Tg.call(this);Xh(this)}G(Og,Tg);g=Og.prototype;g.Rc=yg.prototype.Rc|32;g.Ad=function(){return"rect"};g.lf=function(a){a!=this.b.left&&(this.b.left=a,Xh(this));return this};g.mf=function(a){a!=this.b.top&&(this.b.top=a,Xh(this));return this};g.kf=function(a){this.b.width!=a&&(this.b.width=a,Xh(this));return this};g.jf=function(a){this.b.height!=a&&(this.b.height=a,Xh(this));return this};
g.Oc=function(a){yd(this.b,a)||(this.b.left=a.left,this.b.top=a.top,this.b.width=a.width,this.b.height=a.height,Xh(this));return this};g.du=function(a,b){var c,d,e,f;c=rb(arguments,1);d=c[0];B(d)?f=Wa(d,4):f=c;4>f.length?f=e=d=c=parseFloat(f[0]):(c=parseFloat(f[0]),d=parseFloat(f[1]),e=parseFloat(f[2]),f=parseFloat(f[3]));this.l[0]=c?c:0;this.H[0]=c?a:void 0;this.l[1]=d?d:0;this.H[1]=d?a:void 0;this.l[2]=e?e:0;this.H[2]=e?a:void 0;this.l[3]=f?f:0;this.H[3]=f?a:void 0};
function Xh(a){var b=!a.Y()||a.Y().vb();b||a.Y().Lb();Zg(a);var c=a.l[0];a.hp(a.b.left+c,a.b.top);c=a.l[1];a.Sf(a.b.left+a.b.width-a.l[1],a.b.top);if(a.H[1])switch(a.H[1]){case "round":$g(a,a.b.left+a.b.width,a.b.top+c,c,c,!1,!0);break;case "roundInner":$g(a,a.b.left+a.b.width,a.b.top+c,c,c,!1,!1);break;case "cut":a.Sf(a.b.left+a.b.width,a.b.top+c)}c=a.l[2];a.Sf(a.b.left+a.b.width,a.b.top+a.b.height-c);if(a.H[2])switch(a.H[2]){case "round":$g(a,a.b.left+a.b.width-c,a.b.top+a.b.height,c,c,!1,!0);break;
case "roundInner":$g(a,a.b.left+a.b.width-c,a.b.top+a.b.height,c,c,!1,!1);break;case "cut":a.Sf(a.b.left+a.b.width-c,a.b.top+a.b.height)}c=a.l[3];a.Sf(a.b.left+c,a.b.top+a.b.height);if(a.H[3])switch(a.H[3]){case "round":$g(a,a.b.left,a.b.top+a.b.height-c,c,c,!1,!0);break;case "roundInner":$g(a,a.b.left,a.b.top+a.b.height-c,c,c,!1,!1);break;case "cut":a.Sf(a.b.left,a.b.top+a.b.height-c)}c=a.l[0];a.Sf(a.b.left,a.b.top+c);if(a.H[0])switch(a.H[0]){case "round":$g(a,a.b.left+c,a.b.top,c,c,!1,!0);break;
case "roundInner":$g(a,a.b.left+c,a.b.top,c,c,!1,!1)}a.os();b||a.Y().Hb()}g.round=function(a,b,c,d){lb(arguments,0,0,"round");this.du.apply(this,arguments);Xh(this);return this};g.XK=function(a,b,c,d){lb(arguments,0,0,"roundInner");this.du.apply(this,arguments);Xh(this);return this};g.sI=function(a,b,c,d){lb(arguments,0,0,"cut");this.du.apply(this,arguments);Xh(this);return this};
g.Xb=function(a){Og.u.Xb.call(this,a);this.lf(a.x).mf(a.y).kf(a.width).jf(a.height);a.cornerTypes&&(this.H=Wa(a.cornerTypes,4),a=Wa(a.cornerSizes,4),Za(a,function(a,c,d){d[c]=parseFloat(a)}),this.l=a,Xh(this))};g.v=function(){var a=Og.u.v.call(this);a.type="rect";a.x=this.b.left;a.y=this.b.top;a.width=this.b.width;a.height=this.b.height;a.cornerTypes=this.H.join(" ");a.cornerSizes=this.l.join(" ");return a};g.T=function(){this.b=this.H=this.l=null;ng(this);Og.u.T.call(this)};var Yh=Og.prototype;
F("acgraph.vector.Rect",Og);Yh.setX=Yh.lf;Yh.setY=Yh.mf;Yh.setWidth=Yh.kf;Yh.setHeight=Yh.jf;Yh.setBounds=Yh.Oc;Yh.cut=Yh.sI;Yh.round=Yh.round;Yh.roundInner=Yh.XK;function Zh(a){hd.call(this);this.c={};this.b={};this.f=new zf(this);this.R=a}G(Zh,hd);var $h=[hc&&!vc("11")?"readystatechange":"load","abort","error"];function ai(a,b,c){(c=B(c)?c:c.src)&&(a.c[b]={src:c,Nx:m(void 0)?void 0:null})}function bi(a,b){delete a.c[b];var c=a.b[b];c&&(delete a.b[b],a.f.Qc(c,$h,a.g),Wb(a.b)&&Wb(a.c)&&a.dispatchEvent("complete"))}
Zh.prototype.start=function(){var a=this.c;Za(Ub(a),function(b){var c=a[b];if(c&&(delete a[b],!this.Ab)){var d;this.R?d=Ve(this.R).c("IMG"):d=new Image;c.Nx&&(d.crossOrigin=c.Nx);this.f.ga(d,$h,this.g);this.b[b]=d;d.id=b;d.src=c.src}},this)};
Zh.prototype.g=function(a){var b=a.c;if(b){if("readystatechange"==a.type)if("complete"==b.readyState)a.type="load";else return;"undefined"==typeof b.naturalWidth&&("load"==a.type?(b.naturalWidth=b.width,b.naturalHeight=b.height):(b.naturalWidth=0,b.naturalHeight=0));this.dispatchEvent({type:a.type,target:b});this.Ab||bi(this,b.id)}};Zh.prototype.T=function(){delete this.c;delete this.b;Lb(this.f);Zh.u.T.call(this)};function ci(){this.g={};this.f="fontStyle fontVariant fontFamily fontSize fontWeight letterSpacing decoration".split(" ")}ea(ci);function di(a,b){var c;if(ei(a," ",b))c=fi(a," ",b);else{c=a.measure("a a",b);var d=a.measure("aa",b);c=new I(0,c.top,c.width-d.width,c.height);fi(a," ",b,c)}return c}function gi(a,b){var c;ei(a,"",b)?c=fi(a,"",b):(c=a.measure("a",b),c=new I(0,c.top,0,c.height),fi(a,"",b,c));return c}
function hi(a,b){for(var c="",d=0,e=a.f.length;d=a?c=180+c:270=a&&(c=360+c);return c%360}g.appendChild=function(a,b){a.appendChild(b)};g.getParent=function(a){return sf(a)};g.Wz=function(){return!1};g.Gz=function(){return!1};function ji(a){a.xj||(a.xj=new Zh(ba.document.body));return a.xj}g.Hm=function(){return!1};g.jp=function(){return!1};function ki(){this.b=new I(0,0,0,0);hg.call(this)}G(ki,hg);g=ki.prototype;g.wa=null;g.Rc=hg.prototype.Rc|32;g.Ad=function(){return"simpleText"};g.be=function(){return this.b.clone()};g.se=ki.prototype.be;g.text=function(a){return m(a)?(a!=this.wa&&(this.wa=String(a),(a=!this.Y()||this.Y().vb())||this.Y().Lb(),this.ka(32),a||this.Y().Hb()),this):this.wa};g.tg=function(){return kg.zo()};g.tc=function(){this.hb(32)&&(this.ba().textContent=this.text(),lg(this,32));ki.u.tc.call(this)};
g.Ai=function(){lg(this,4);lg(this,256)};var li=ki.prototype;li.text=li.text;F("acgraph.vector.SimpleText",ki);function mi(){}ea(mi);
var ni={quot:34,amp:38,apos:39,lt:60,gt:62,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,copy:169,ordf:170,laquo:171,not:172,shy:173,reg:174,macr:175,deg:176,plusmn:177,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,sup1:185,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,Agrave:192,Aacute:193,Acirc:194,Atilde:195,Auml:196,Aring:197,AElig:198,Ccedil:199,Egrave:200,Eacute:201,Ecirc:202,Euml:203,Igrave:204,Iacute:205,Icirc:206,
Iuml:207,ETH:208,Ntilde:209,Ograve:210,Oacute:211,Ocirc:212,Otilde:213,Ouml:214,times:215,Oslash:216,Ugrave:217,Uacute:218,Ucirc:219,Uuml:220,Yacute:221,THORN:222,szlig:223,agrave:224,aacute:225,acirc:226,atilde:227,auml:228,aring:229,aelig:230,ccedil:231,egrave:232,eacute:233,ecirc:234,euml:235,igrave:236,iacute:237,icirc:238,iuml:239,eth:240,ntilde:241,ograve:242,oacute:243,ocirc:244,otilde:245,ouml:246,divide:247,oslash:248,ugrave:249,uacute:250,ucirc:251,uuml:252,yacute:253,thorn:254,yuml:255,
OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,
chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,
hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,"int":8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,
diams:9830};mi.prototype.l=null;function ui(a){a.style||(a.style=a.j.length?$b(a.j[a.j.length-1]):{})}function vi(a,b){switch(b){case "b":case "strong":ui(a);a.style.fontWeight="bold";break;case "i":case "em":ui(a),a.style.fontStyle="italic"}}
function wi(a,b,c){switch(b){case "font-style":ui(a);a.style.fontStyle=c||"normal";break;case "font-variant":ui(a);a.style.fontVariant=c||"normal";break;case "font-family":ui(a);a.style.fontFamily=c||ba.acgraph.fontFamily;break;case "font-size":ui(a);a.style.fontSize=c||ba.acgraph.fontSize;break;case "font-weight":ui(a);a.style.fontWeight=c||"normal";break;case "color":ui(a);a.style.color=c||ba.acgraph.color;break;case "letter-spacing":ui(a);a.style.letterSpacing=c||"normal";break;case "text-decoration":ui(a);
a.style.vg=c||"none";break;case "opacity":ui(a),a.style.opacity=null!=c?parseFloat(c):1}}function xi(a){""!=a.c&&(yi(a.l,a.c,a.j.length?a.j[a.j.length-1]:null),a.c="",a.G=!1)}function zi(a){a.B==(a.s.length?a.s[a.s.length-1]:null)&&(xi(a),a.j.pop(),a.s.pop(),a.b="");a.B="";a.state=1}function Ai(a,b){vi(a,a.b);a.s.push(a.b);a.j.push(a.style);b&&(a.f="");a.b="";a.style=null;a.state=1}function Bi(a,b,c){wi(a,a.h,a.H||"");a.h="";a.H="";c&&(a.f="");a.state=b}
function Ci(a){vi(a,a.b);wi(a,a.h,a.H||"");a.s.push(a.b);a.j.push(a.style);a.b="";a.style=null;a.f="";a.h="";a.H="";a.state=1}function Di(a,b,c){var d;if(a.o){var e=ni[a.g];m(e)?d=e:a.c+="&"+a.g+c}else a.g?d=parseInt(a.g,10):a.c+=""+c;d&&(a.c+=String.fromCharCode(d)+(";"==c?"":c));a.state=b;a.g="";a.o=!0};function Ei(a,b){Hb.call(this);this.b=b||{};this.text=a;this.j=!1;this.y=this.x=this.h=this.f=this.height=this.width=this.c=0}G(Ei,Hb);g=Ei.prototype;g.Ua=null;g.R=null;g.parent=function(a){return m(a)?(this.R=a,this):this.R};g.ba=function(){return this.Ua};g.Ad=function(){return"tSegment"};g.T=function(){qf(this.Ua);this.Ua=null;Ei.u.T.call(this)};function Fi(a,b){this.G=!1;this.Z=a||0;this.fa=b||0;this.o=new I(this.Z,this.fa,0,0);this.U=this.H=this.fb=this.h=0;this.ha=!1;this.c=[];this.b=[];this.B=this.Gb=this.j=0;this.va=!0;this.Vb=this.l=this.N=this.Gc=0;this.s=[];this.A=1;this.W=Gi;this.f=0;this.K=this.g=!1;this.Ca=this.yc={fontSize:ba.acgraph.fontSize,color:ba.acgraph.fontColor,fontFamily:ba.acgraph.fontFamily,direction:ba.acgraph.textDirection,textOverflow:Gi,textWrap:Hi,selectable:!0,hAlign:Ii};hg.call(this)}G(Fi,hg);
var Hi="noWrap",Gi="",Ii="start",Ji={EM:"left",qN:Ii,eM:"center",zM:"end",aN:"right"},Ki={tN:"top",HM:"middle",ML:"bottom"};g=Fi.prototype;g.Rc=hg.prototype.Rc|17440;g.Ca=null;g.wa=null;g.x=function(a){return null!=a?(this.Z!=a&&(this.Z=a,this.G&&Li(this),this.o.left=a,this.ka(16384),ng(this)),this):this.Z};g.y=function(a){return null!=a?(this.fa!=a&&(this.fa=a,this.G&&Mi(this),this.o.top=a,this.ka(16384),ng(this)),this):this.fa};
function Ni(a,b,c){if(m(c)){if(c!==a.Ca[b]){var d=!a.Y()||a.Y().vb();d||a.Y().Lb();a.Ca[b]=c;a.G=!1;a.ka(1024);a.ka(32);a.ka(16384);a.Gi();d||a.Y().Hb()}return a}return a.Ca[b]}g.Gi=function(){if(kg.Hm()){var a=this.ec();a&&!Gd(a)&&this.ka(4)}};g.width=function(a){m(a)&&Ni(this,"width")!=a&&(null===a||(a=Math.max(a,0)||0),this.sa=a);return Ni(this,"width",a)};g.height=function(a){m(a)&&(Ni(this,"height")==a||null!==a&&(a=Math.max(a,0)||0),this.Ba=a);return Ni(this,"height",a)};
g.opacity=function(a){return null!=a?(this.Ca.opacity=a,this.ka(1024),this):this.Ca.opacity};g.color=function(a){return null!=a?(this.Ca.color=a,this.ka(1024),this):this.Ca.color};g.fontSize=function(a){return Ni(this,"fontSize",a)};g.fontFamily=function(a){return Ni(this,"fontFamily",a)};g.Gh=function(a){return Ni(this,"direction",a)};g.fontStyle=function(a){return Ni(this,"fontStyle",a)};g.fontVariant=function(a){return Ni(this,"fontVariant",a)};
g.fontWeight=function(a){return Ni(this,"fontWeight",a)};g.letterSpacing=function(a){return Ni(this,"letterSpacing",a)};g.vg=function(a){return Ni(this,"decoration",a)};g.ck=function(a){null!=a&&(this.A=Oi(a));return Ni(this,"lineHeight",a)};function Oi(a){var b=parseFloat(a);return isNaN(b)||0>b?1:B(a)&&xa(a,"%")?1+parseFloat(a)/100:a}g.dk=function(a){null!=a&&(this.f=a);return Ni(this,"textIndent",a)};
g.ig=function(a){if(m(a))if("center"==a)a="middle";else{var b=!1;Sb(Ki,function(c){a==c&&(b=!0)});b||(a="top")}return Ni(this,"vAlign",a)};g.Ce=function(a){if(m(a))if("middle"==a)a="center";else{var b=!1;Sb(Ji,function(c){a==c&&(b=!0)});b||(a=Ii)}return Ni(this,"hAlign",a)};g.ek=function(a){return Ni(this,"textWrap",a)};g.Te=function(a){null!=a&&(this.W=a);return Ni(this,"textOverflow",a)};g.Hh=function(a){return Ni(this,"selectable",a)};
g.style=function(a){if(a){Sb(a,function(a,b){var c=b;switch(b){case "fontDecoration":case "textDecoration":c="decoration";break;case "fontColor":c="color";break;case "fontOpacity":c="opacity"}this.Ca[c]=a},this);this.sa=parseFloat(this.Ca.width)||0;this.Ba=parseFloat(this.Ca.height)||0;this.Ca.lineHeight&&(this.A=Oi(this.Ca.lineHeight));var b,c=this.Ca.vAlign;null!=c&&("center"==c?this.Ca.vAlign="middle":(b=!1,Sb(Ki,function(a){c==a&&(b=!0)}),b||(this.Ca.vAlign="top")));var d=this.Ca.hAlign;null!=
d&&("middle"==d?this.Ca.hAlign="center":(b=!1,Sb(Ji,function(a){d==a&&(b=!0)}),b||(this.Ca.hAlign=Ii)));null!=this.Ca.direction&&(this.g="rtl"==this.Ca.direction);null!=this.Ca.textOverflow&&(this.W=this.Ca.textOverflow);null!=this.Ca.textIndent&&(this.f=this.Ca.textIndent);this.g&&(this.f=0);(a=!this.Y()||this.Y().vb())||this.Y().Lb();this.G=!1;this.ka(1024);this.ka(32);this.ka(16384);this.ka(4);this.Gi();a||this.Y().Hb();return this}return this.Ca};
g.text=function(a){return m(a)?(a!=this.wa&&(this.wa=String(a),this.ha=!1,(a=!this.Y()||this.Y().vb())||this.Y().Lb(),this.G=!1,this.ka(1024),this.ka(32),this.ka(16384),this.Gi(),a||this.Y().Hb()),this):this.wa};g.htmlText=function(a){return m(a)?(a!=this.wa&&(this.wa=String(a),this.ha=!0,(a=!this.Y()||this.Y().vb())||this.Y().Lb(),this.G=!1,this.ka(1024),this.ka(32),this.ka(16384),this.Gi(),a||this.Y().Hb()),this):this.wa};g.Ad=function(){return"text"};g.be=function(){return this.o.clone()};
g.se=function(a){this.G||this.Wp();if(!a)return this.o.clone();var b=a==this.Qa,c=a==this.ec();if(this.ub&&b)return this.ub.clone();if(this.Wb&&c)return this.Wb.clone();a=Fd(this.o.clone(),a);b&&(this.ub=a.clone());c&&(this.Wb=a.clone());return a};g.Sz=function(a){for(var b=kg.f,c=arguments,d={},e=0,f=b.length;ee&&1a.sa?a.sa-d.width-e:a.f,0>a.f&&(a.f=0));a.B=Math.max(a.B,d.height);a.j+=d.width;a.c.length||(a.j+=a.f);a.l=Math.max(a.l,c.c);a.va=a.b.length?a.va&&!b.length:!b.length;a.b.push(c);a.c.push(c);c.parent(a);return c}
function Ri(a,b){var c,d,e,f,h=b||Xa(a.s),k=Xa(h),l=a.od(a.W,k.b),n=a.W;l.width>a.sa&&(e=Pi(a,a.W,k.b,0,a.sa,l,!0),n=a.W.substring(0,e));e=a.Gb;var q=a.sa;if(""==n)d=Ya(a.c,k)+1,lb(a.c,d,a.c.length-d);else if(q-e>=l.width)a.b=h,d=Ya(a.c,k)+1,lb(a.c,d,a.c.length-d),f=Qi(a,n,k.b,l),2==a.b.length&&""==a.b[0].text&&(f.h=a.N-a.b[0].height,f.j=!0);else{for(var r=h.length-1;!c&&0<=r;)k=h[r],l=a.od(n,k.b),d=a.od(k.text,k.b),e-d.width+l.width<=a.sa&&(c=k),e-=d.width,r--;c||1!=a.s.length||(c=h[0],e-=d.width);
c&&(a.b=h,r=a.b[0].h,q-=l.width,d=Ya(h,c),lb(h,d,h.length-d),d=Ya(a.c,c),lb(a.c,d,a.c.length-d),a.B=0,a.j=0,a.l=0,d=a.od(c.text,c.b),e=Pi(a,c.text,c.b,e,q,d,!0),1>e&&(e=1),q=c.text.substring(0,e),h=a.od(q,c.b),q=Qi(a,q,c.b,h,l.width),q.x=c.x,q.y=c.y,h.width+l.width>a.sa&&(e=Pi(a,a.W,k.b,h.width,a.sa,l,!0),n=a.W.substring(0,e)),0a.sa&&!a.K;){var h=Pi(a,b,c,f+a.j,a.sa,e);1>h&&!a.b.length&&(h=1);h&&(f=Aa(b.substring(0,h)),e=a.od(f,c),Qi(a,f,c,e));Ti(a);1==b.length&&(a.K=!0);f=0;"byLetter"==a.Ca.textWrap||"byWord"==a.Ca.textWrap?(b=Aa(b.substring(h,b.length)),e=a.od(b,c)):a.ha?(b="",e=a.od(b,c)):(Ri(a),a.K=!0)}a.K||!b.length&&!d||Qi(a,b,c,e)}}
function Ti(a){a.ek()!=Hi||1!=a.s.length||a.ha||a.K||(Ri(a),a.K=!0);if(!a.K&&a.b.length){var b=!a.s.length;if(a.Ba&&a.h+a.B>a.Ba&&a.s.length)Ri(a),a.K=!0;else{a.B=B(a.A)?parseInt(a.A,0)+a.B:a.A*a.B;if(kg.Wz()){var c,d,e,f;f=a.g&&a.Ca.hAlign==Ii||!a.g&&"end"==a.Ca.hAlign||"right"==a.Ca.hAlign;c="center"==a.Ca.hAlign;if(a.g&&"end"==a.Ca.hAlign||!a.g&&a.Ca.hAlign==Ii||"left"==a.Ca.hAlign)for(c=a.g?0:a.f&&b?a.f:0,d=0,e=a.b.length;da.sa&&(1<
a.b.length&&!a.b[0].text.length&&(nb(a.b,0),nb(a.c,Ya(a.c,a.b[0]))),f=Xa(a.b),b=a.od(f.text,f.b),b=Pi(a,f.text,f.b,0,a.sa,b,!0),h=f.text.substring(0,b),b=a.od(h,f.b),f.text=h,f.width=b.width,a.j=b.width,a.Gb=a.j,Ri(a,a.b),"center"==a.Ca.hAlign&&(f=a.b[0],f.f=-a.sa/2+a.j/2));a.h+=a.B;a.fb=Math.max(a.fb,a.j);a.Vb=a.B-a.l;a.Gb=a.j;a.va||(a.N=0,a.Gc=0);a.va=!0;a.B=0;a.j=0;a.l=0;a.s.push(a.b);a.b=[]}}}
function Li(a){a.H=a.Z;a.Ca.hAlign==Ii?a.H+=a.g?a.sa:0:"center"==a.Ca.hAlign?a.H+=a.sa/2:"end"==a.Ca.hAlign?a.H+=a.g?0:a.sa:"right"==a.Ca.hAlign&&(a.H+=a.sa)}function Mi(a){a.U=a.fa+(a.c.length?a.c[0].c:0);a.Ca.vAlign&&a.h"!=
e)break;"br"==a.b&&Si(a.l);a.b="";k=!1;a.state=1;break}if(!a.b&&"<"==e){a.c+="<";break}if(!a.b&&h&&"/"!=e){a.c+="<"+e;a.state=1;break}if(!a.b&&"/"==e){a.state=3;break}if("br"==a.b&&">"==e){Si(a.l);a.b="";a.state=1;break}if("br"==a.b&&("/"==e||f)){k=!0;break}a.b&&xi(a);if(a.b&&f){a.state=4;break}if(">"==e){Ai(a);break}a.b+=e.toLowerCase();break;case 3:if(k){if(">"!=e)break;zi(a);k=!1;break}if(!a.B&&h){a.c+=""+e;a.state=1;break}if(a.B&&f){k=!0;break}if(">"==e){zi(a);k=!1;break}a.B+=e.toLowerCase();
break;case 4:if(k){if(">"!=e)break;Ai(a,!0);k=!1;break}if(">"==e){Ai(a,!0);break}if(f){a.state=5;break}if("="==e){a.f&&(a.state="style"==a.f?6:8);break}a.f+=e.toLowerCase();break;case 5:if(">"==e){Ai(a,!0);break}if(f)break;if(a.f&&!h){a.f=e;a.state=4;break}if("="==e){a.f&&(a.state="style"==a.f?6:8);break}a.f+=e;a.state=4;break;case 6:if(f)break;if(">"==e){Ai(a,!0);break}if("'"==e||'"'==e){a.A=e;a.state=9;break}a.h=e;a.state=10;break;case 8:if(f)break;if(">"==e){a.f="";a.b="";a.state=1;break}if("'"==
e||'"'==e){a.A=e;a.state=7;break}a.state=11;break;case 9:if(f)break;if(e==a.A){k=!0;Bi(a,4,!0);break}if(":"==e){a.state=12;break}a.h+=e.toLowerCase();break;case 12:if(f)break;if(e==a.A){k=!0;Bi(a,4,!0);break}if(";"==e){Bi(a,9);break}a.H+=e.toLowerCase();break;case 7:e==a.A&&(a.f="",a.state=4);break;case 10:if(f){k=!0;Bi(a,4,!0);break}if(">"==e){Ci(a);break}if(":"==e){a.state=13;break}a.h+=e;break;case 11:if(f){Bi(a,4,!0);break}">"==e&&Ai(a);break;case 13:if(f){k=!0;Bi(a,4,!0);break}if(">"==e){Ci(a);
break}if(";"==e){Bi(a,10);break}a.H+=e.toLowerCase();break;default:throw"Error while parsing HTML: Symbol '"+e+"', position: "+(d-1);}xi(a);Ti(a.l)}else if(this.wa=this.wa.replace(/\xa0|[ \t]+/g," ").replace(/(\r\n|\r|\n)/g,"\n"),c=this.wa.split(/\n/g),1!=c.length||null!=this.Ca.width)for(b=0;bf)return a;h=h||0;var l=sd(h,d),n=td(h,d),q=360/(2*f),r;a.moveTo(l+b,n+c);if(k)for(r=0;rd&&(d=0);0>e&&(e=0);if(d=e)return Ih(a,b,c,d,f,h);a=a.path?a.path():a;h=nd(h,-360,360);k=360>Math.abs(h);a.md(b,c,d,d,f,h).md(b,c,e,e,f+h,-h,k);k&&a.close();return a}function Wi(a,b,c,d,e,f){a=sd(c,a);b=sd(d,b)-a;return 0<=e?a+b*(f+e-f*e):a+b*f*(e+1)}function Xi(a,b,c,d,e,f){a=td(c,a);b=td(d,b)-a;return 0<=e?a+b*(f+e-f*e):a+b*f*(e+1)}
function Yi(a){var b,c,d;switch(a.length){case 1:b=c=d=a[0];a.push(b,c,d);break;case 2:c=a[0];d=a[1];a.push(c,d);break;case 3:d=a[1];a.push(d);break;case 4:break;default:a.push(5,5,5,5)}}
function sh(a,b,c){var d=a.path?a.path():a,e,f,h,k;6==arguments.length?(e=arguments[2],f=arguments[3],h=arguments[4],k=arguments[5],d.moveTo(b.left+e,b.top).lineTo(b.left+b.width-f,b.top).lineTo(b.left+b.width,b.top+f).lineTo(b.left+b.width,b.top+b.height-h).lineTo(b.left+b.width-h,b.top+b.height).lineTo(b.left+k,b.top+b.height).lineTo(b.left,b.top+b.height-k).lineTo(b.left,b.top+e).close()):(k=rb(arguments,2,6),Yi(k),e=k[0],f=k[1],h=k[2],k=k[3],sh(d,b,e,f,h,k));return d}
function qh(a,b,c){var d=a.path?a.path():a,e,f,h,k;6==arguments.length?(e=arguments[2],f=arguments[3],h=arguments[4],k=arguments[5],d.moveTo(b.left+e,b.top).lineTo(b.left+b.width-f,b.top).Df(b.left+b.width,b.top+f,f,f,!1,!0).lineTo(b.left+b.width,b.top+b.height-h).Df(b.left+b.width-h,b.top+b.height,h,h,!1,!0).lineTo(b.left+k,b.top+b.height).Df(b.left,b.top+b.height-k,k,k,!1,!0),0!=e&&(d.lineTo(b.left,b.top+e),d.Df(b.left+e,b.top,e,e,!1,!0)),d.close()):(k=rb(arguments,2,6),Yi(k),e=k[0],f=k[1],h=k[2],
k=k[3],qh(d,b,e,f,h,k));return d}
function rh(a,b,c){var d=a.path?a.path():a,e,f,h,k;6==arguments.length?(e=arguments[2],f=arguments[3],h=arguments[4],k=arguments[5],d.moveTo(b.left+e,b.top).lineTo(b.left+b.width-f,b.top).Df(b.left+b.width,b.top+f,f,f,!1,!1).lineTo(b.left+b.width,b.top+b.height-h).Df(b.left+b.width-h,b.top+b.height,h,h,!1,!1).lineTo(b.left+k,b.top+b.height).Df(b.left,b.top+b.height-k,k,k,!1,!1),0!=e&&d.lineTo(b.left,b.top+e).Df(b.left+e,b.top,e,e,!1,!1),d.close()):(k=rb(arguments,2,6),Yi(k),e=k[0],f=k[1],h=k[2],k=
k[3],rh(d,b,e,f,h,k));return d}F("acgraph.vector.primitives.star",th);F("acgraph.vector.primitives.star4",uh);F("acgraph.vector.primitives.star5",vh);F("acgraph.vector.primitives.star6",wh);F("acgraph.vector.primitives.star7",xh);F("acgraph.vector.primitives.star10",yh);F("acgraph.vector.primitives.diamond",Dh);F("acgraph.vector.primitives.triangleUp",zh);F("acgraph.vector.primitives.triangleDown",Ah);F("acgraph.vector.primitives.triangleRight",Bh);F("acgraph.vector.primitives.triangleLeft",Ch);
F("acgraph.vector.primitives.cross",Eh);F("acgraph.vector.primitives.diagonalCross",Fh);F("acgraph.vector.primitives.hLine",Gh);F("acgraph.vector.primitives.vLine",Hh);F("acgraph.vector.primitives.pie",Ih);F("acgraph.vector.primitives.donut",Jh);F("acgraph.vector.primitives.truncatedRect",sh);F("acgraph.vector.primitives.roundedRect",qh);F("acgraph.vector.primitives.roundedInnerRect",rh);function Zi(a,b,c,d){this.b=a;this.f=b;this.c=c;this.g=d}Zi.prototype.clone=function(){return new Zi(this.b,this.f,this.c,this.g)};function $i(){ci.call(this)}G($i,ci);ea($i);g=$i.prototype;g.Ih=null;g.Zc=null;g.Fm=null;g.cf=null;g.xj=null;function aj(a){return document.createElementNS("http://www.w3.org/2000/svg",a)}g.oa=function(a,b,c){a.setAttribute(b,c)};function bj(a,b,c){Sb(c,function(a,c){this.oa(b,c,a)},a)}
g.ei=function(){this.Ih=aj("svg");this.Zc=this.zo();this.Fm=this.ol("");this.Zc.appendChild(this.Fm);this.Ih.appendChild(this.Zc);document.body.appendChild(this.Ih);this.c=this.cm();this.Ih.appendChild(this.c);bj(this,this.Ih,{display:"block",width:0,height:0});this.cf=this.cm();this.Ih.appendChild(this.cf)};
g.measure=function(a,b){this.Ih||this.ei();var c=null,d=0;if(!a.length)return gi(this,b);if(" "==a)return di(this,b);a.lastIndexOf(" ",0)||(d+=c=di(this,b).width);xa(a," ")&&(d+=c||di(this,b).width);b.fontStyle?this.oa(this.Zc,"font-style",b.fontStyle):this.Zc.removeAttribute("font-style");b.fontVariant?this.oa(this.Zc,"font-variant",b.fontVariant):this.Zc.removeAttribute("font-variant");b.fontFamily?this.oa(this.Zc,"font-family",b.fontFamily):this.Zc.removeAttribute("font-family");b.fontSize?this.oa(this.Zc,
"font-size",b.fontSize):this.Zc.removeAttribute("font-size");b.fontWeight?this.oa(this.Zc,"font-weight",b.fontWeight):this.Zc.removeAttribute("font-weight");b.letterSpacing?this.oa(this.Zc,"letter-spacing",b.letterSpacing):this.Zc.removeAttribute("letter-spacing");b.decoration?this.oa(this.Zc,"text-decoration",b.decoration):this.Zc.removeAttribute("text-decoration");this.Fm.nodeValue=a;c=this.Zc.getBBox();this.Fm.nodeValue="";b.fontVariant&&gc&&(this.Fm.nodeValue=a.charAt(0).toUpperCase(),c.height=
this.Zc.getBBox().height);return new I(c.x,c.y,c.width+d,c.height)};g.gz=function(a,b,c){var d=this.g,e=hi(this,c),f=d[e];f||(f=d[e]={});if(d=f[b])return d;e=null;d=0;if(!b.length)return gi(this,c);if(" "==b)return di(this,c);b.lastIndexOf(" ",0)||(d+=e=di(this,c).width);xa(b," ")&&(d+=e||di(this,c).width);e=a.parentNode;this.c.appendChild(a);c=a.getBBox();e&&e.appendChild(a);e=a.getAttribute("x")||0;a=a.getAttribute("y")||0;return f[b]=new I(c.x-e,c.y-a,c.width+d,c.height)};
g.Rz=function(a){this.Ih||this.ei();B(a)?this.cf.innerHTML=a:(a=a.cloneNode(!0),this.cf.appendChild(a));a=this.cf.getBBox();of(this.cf);return new I(a.x,a.y,a.width,a.height)};g.fp=function(a,b){this.b||(ji(this),this.b={},Sc(this.xj,"complete",function(){this.h=!1},!1,this),Sc(this.xj,"load",this.OD,!1,this));this.b[ma(b)]=[a,b];this.h=!0;ai(this.xj,a,a);this.xj.start()};
g.OD=function(a){var b=a.target;Sb(this.b,function(a,d){a[0]==b.id&&(a[1].call(this,b.naturalWidth,b.naturalHeight),delete this.b[d])},this)};g.Gz=function(){return this.h};
function cj(a){if(a.gc())return null;var b=[];a.dz(function(a,d){switch(a){case 1:b.push("M");ne(Array.prototype.push,d,b);break;case 2:b.push("L");ne(Array.prototype.push,d,b);break;case 3:b.push("C");ne(Array.prototype.push,d,b);break;case 4:var c=d[3];b.push("A",d[0],d[1],0,180=Math.abs(c)?(a=-.5,b=0>Math.cos(b)):(c=-.5,b=0Math.sin(d)||180==a||360==a;if(90==a||270==a)c+=1E-6;180!=a&&(0>Math.tan(d)||90==a||270==a)&&(e=-1,c=90-c);c=rd(c);d=Math.sin(c)*(b.height/2-Math.tan(c)*b.width/2)+b.width/2/Math.cos(c);e*=Math.cos(c)*d;c=1*Math.sin(c)*d;k&&(e=-e,c=-c);return new Zi(Math.round(f-e),Math.round(h+c),Math.round(f+e),Math.round(h-c))}
g.Zx=function(){var a=aj("svg");hc||this.oa(a,"xmlns","http://www.w3.org/2000/svg");this.oa(a,"border","0");return a};g.Vx=function(){return aj("linearGradient")};g.Sx=function(){return aj("pattern")};g.Tx=function(){return aj("image")};g.cm=function(){return aj("g")};g.Ox=function(){return aj("circle")};g.Xx=function(){return aj("path")};g.Rx=function(){return aj("ellipse")};g.Qx=function(){return aj("defs")};g.zo=function(){return aj("text")};g.ys=function(){return aj("tspan")};g.ol=function(a){return document.createTextNode(String(a))};
g.PA=function(a){var b=a.be();bj(this,a.ba(),{x:b.left,y:b.top,width:b.width,height:b.height,patternUnits:"userSpaceOnUse"})};g.QA=function(a){var b=a.be();this.fp(a.src(),da);var c=a.src()||"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",d=a.ba();bj(this,d,{x:b.left,y:b.top,width:b.width,height:b.height,"image-rendering":"optimizeQuality",preserveAspectRatio:a.Li()+" "+a.Ik(),opacity:a.opacity()});d.setAttributeNS("http://www.w3.org/1999/xlink","href",c)};
g.MA=function(a,b){var c=a.ba();c&&(c.style.cursor=b||"")};g.iu=function(a){var b=a.ba();this.oa(b,"x",a.H);this.oa(b,"y",a.U)};
g.ju=function(a){var b=a.style(),c=a.ba();if(a.Hh()){if(c.style["-webkit-touch-callout"]="",c.style["-webkit-user-select"]="",c.style["-khtml-user-select"]="",c.style["-moz-user-select"]="",c.style["-ms-user-select"]="",c.style["-o-user-select"]="",c.style["user-select"]="",hc&&9==wc||gc)c.removeAttribute("unselectable"),c.removeAttribute("onselectstart")}else if(c.style["-webkit-touch-callout"]="none",c.style["-webkit-user-select"]="none",c.style["-khtml-user-select"]="none",c.style["-moz-user-select"]=
"moz-none",c.style["-ms-user-select"]="none",c.style["-o-user-select"]="none",c.style["user-select"]="none",hc&&9==wc||gc)this.oa(c,"unselectable","on"),this.oa(c,"onselectstart","return false;");b.fontStyle?this.oa(c,"font-style",b.fontStyle):c.removeAttribute("font-style");b.fontVariant?jc?c.style["font-variant"]=b.fontVariant:this.oa(c,"font-variant",b.fontVariant):jc?c.style["font-variant"]="":c.removeAttribute("font-variant");b.fontFamily?this.oa(c,"font-family",b.fontFamily):c.removeAttribute("font-family");
b.fontSize?this.oa(c,"font-size",b.fontSize):c.removeAttribute("font-size");b.fontWeight?this.oa(c,"font-weight",b.fontWeight):c.removeAttribute("font-weight");b.color?this.oa(c,"fill",b.color):c.removeAttribute("fill");b.letterSpacing?this.oa(c,"letter-spacing",b.letterSpacing):c.removeAttribute("letter-spacing");b.decoration?this.oa(c,"text-decoration",b.decoration):c.removeAttribute("text-decoration");b.direction?this.oa(c,"direction",b.direction):c.removeAttribute("direction");b.hAlign?this.oa(c,
"text-anchor","rtl"==b.direction?jc||hc?"end"==b.hAlign||"left"==b.hAlign?Ii:b.hAlign==Ii||"right"==b.hAlign?"end":"middle":"end"==b.hAlign||"left"==b.hAlign?"end":b.hAlign==Ii||"right"==b.hAlign?Ii:"middle":"end"==b.hAlign||"right"==b.hAlign?"end":b.hAlign==Ii||"left"==b.hAlign?Ii:"middle"):c.removeAttribute("text-anchor");c.style.opacity=b.opacity?b.opacity:"1"};g.uv=function(a){var b=a.ba(),c=a.parent();(a.j||a.f)&&this.oa(b,"x",c.H+a.f);this.oa(b,"dy",a.h)};
g.vv=function(a){var b=a.b,c=a.ba(),d=a.parent();a=this.ol(a.text);c.appendChild(a);if(hc&&9==wc||gc)d.Hh()?(c.removeAttribute("onselectstart"),c.removeAttribute("unselectable")):(this.oa(c,"onselectstart","return false;"),this.oa(c,"unselectable","on"));b.fontStyle&&this.oa(c,"font-style",b.fontStyle);b.fontVariant&&this.oa(c,"font-variant",b.fontVariant);b.fontFamily&&this.oa(c,"font-family",b.fontFamily);b.fontSize&&this.oa(c,"font-size",b.fontSize);b.fontWeight&&this.oa(c,"font-weight",b.fontWeight);
b.color&&this.oa(c,"fill",b.color);b.letterSpacing&&this.oa(c,"letter-spacing",b.letterSpacing);b.vg&&this.oa(c,"text-decoration",b.vg)};
function fj(a,b,c){var d=gj(c,b.keys,b.cx,b.cy,b.fx,b.fy,b.opacity,b.mode,b.transform);if(!d.dn){var e=aj("radialGradient");hj(a,e,d.id());a.appendChild(c.ba(),e);d.nl=c;d.dn=!0;Za(d.keys,function(a){var b=aj("stop");bj(this,b,{offset:a.offset,style:"stop-color:"+a.color+";stop-opacity:"+(isNaN(a.opacity)?d.opacity:a.opacity)});this.appendChild(e,b)},a);d.Ld?bj(a,e,{cx:d.Ni*d.Ld.width+d.Ld.left,cy:d.Oi*d.Ld.height+d.Ld.top,fx:d.b*d.Ld.width+d.Ld.left,fy:d.c*d.Ld.height+d.Ld.top,r:Math.min(d.Ld.width,
d.Ld.height)/2,spreadMethod:"pad",gradientUnits:"userSpaceOnUse"}):bj(a,e,{cx:d.Ni,cy:d.Oi,fx:d.b,fy:d.c,gradientUnits:"objectBoundingBox"});d.transform&&a.oa(e,"gradientTransform",d.transform.toString())}return d.id()}
function ij(a,b,c,d){var e=jj(c,b.keys,b.opacity,!0===b.mode?ii(b.angle,d):b.angle,b.mode,b.transform);if(!e.cn){var f=a.Vx();hj(a,f,e.id());a.appendChild(c.ba(),f);e.ml=c;e.cn=!0;Za(e.keys,function(a){var b=aj("stop");bj(this,b,{offset:a.offset,style:"stop-color:"+a.color+";stop-opacity:"+(isNaN(a.opacity)?e.opacity:a.opacity)});this.appendChild(f,b)},a);e.b?(b=ej(e.Mi,e.b),bj(a,f,{x1:b.b,y1:b.f,x2:b.c,y2:b.g,spreadMethod:"pad",gradientUnits:"userSpaceOnUse"})):(b=dj(e.Mi),bj(a,f,{x1:b.b,y1:b.f,
x2:b.c,y2:b.g,gradientUnits:"objectBoundingBox"}));e.transform&&a.oa(f,"gradientTransform",e.transform.toString())}return e.id()}
function kj(a,b){var c=b.fill(),d=b.Y().c,e="url("+lj()+"#";if(B(c))a.oa(b.ba(),"fill",c),b.ba().removeAttribute("fill-opacity");else if(p(c.keys)&&c.cx&&c.cy)a.oa(b.ba(),"fill",e+fj(a,c,d)+")"),b.ba().removeAttribute("fill-opacity");else if(p(c.keys))b.za()&&(a.oa(b.ba(),"fill",e+ij(a,c,d,b.za())+")"),b.ba().removeAttribute("fill-opacity"));else if(c.src){var f=b.be();f?(f.width=f.width||0,f.height=f.height||0,f.left=f.left||0,f.top=f.top||0):f=new I(0,0,0,0);"tile"==c.mode?mj(d,c.src,f,c.mode,c.opacity,
function(a){a.id();a.parent(b.Y()).kc();kg.oa(b.ba(),"fill",e+a.id()+")")}):(d=mj(d,c.src,f,c.mode,c.opacity),d.id(),d.parent(b.Y()).kc(),a.oa(b.ba(),"fill",e+d.id()+")"),a.oa(b.ba(),"fill-opacity",m(c.opacity)?c.opacity:1))}else J(c,Gg)?(c=nj(d,c.type,c.color,c.Ya,c.size),c.id(),c.parent(b.Y()).kc(),a.oa(b.ba(),"fill",e+c.id()+")")):J(c,ae)?(c.id(),c.parent(b.Y()).kc(),a.oa(b.ba(),"fill",e+c.id()+")")):(1E-4>=c.opacity&&hc&&vc("9")&&(c.opacity=1E-4),bj(a,b.ba(),{fill:c.color,"fill-opacity":c.opacity}))}
function oj(a,b){var c=b.stroke(),d=b.Y().c,e=b.ba(),f="url("+lj()+"#";if(B(c))a.oa(e,"stroke",c);else if(p(c.keys)&&c.cx&&c.cy)a.oa(e,"stroke",f+fj(a,c,d)+")");else if(p(c.keys)){if(!b.za())return;a.oa(e,"stroke",f+ij(a,c,d,b.za())+")")}else a.oa(e,"stroke",c.color);c.lineJoin?a.oa(e,"stroke-linejoin",c.lineJoin):e.removeAttribute("stroke-linejoin");c.lineCap?a.oa(e,"stroke-linecap",c.lineCap):e.removeAttribute("stroke-linecap");c.opacity?a.oa(e,"stroke-opacity",c.opacity):e.removeAttribute("stroke-opacity");
c.thickness?a.oa(e,"stroke-width",c.thickness):e.removeAttribute("stroke-width");c.dash?a.oa(e,"stroke-dasharray",c.dash):e.removeAttribute("stroke-dasharray")}g.ox=function(a){kj(this,a);oj(this,a)};g.ZA=function(a){a.visible()?a.ba().removeAttribute("visibility"):this.oa(a.ba(),"visibility","hidden")};g.Wj=function(a){var b=a.Qa;b&&!Gd(b)?this.oa(a.ba(),"transform",b.toString()):a.ba().removeAttribute("transform")};
g.WA=function(a){var b=a.Qa;b&&!Gd(b)?this.oa(a.ba(),"patternTransform",b.toString()):a.ba().removeAttribute("patternTransform")};g.VA=$i.prototype.Wj;g.RA=$i.prototype.Wj;g.TA=$i.prototype.Wj;g.YA=$i.prototype.Wj;g.OA=$i.prototype.Wj;g.Jp=function(a,b,c){bj(this,a,{width:b,height:c})};g.gu=function(a,b){hj(this,a.ba(),b)};function hj(a,b,c){b&&(c?a.oa(b,"id",c):b.removeAttribute("id"))}
g.ku=function(a,b){var c=a.ba();c&&(null!=b?(a.xh||(a.xh=aj("title"),this.oa(a.xh,"aria-label","")),sf(a.xh)||pf(c,a.xh),a.xh.innerHTML=b):a.xh&&c.removeChild(a.xh))};g.eu=function(a,b){var c=a.ba();c&&(null!=b?(a.gh||(a.gh=aj("desc"),this.oa(a.gh,"aria-label","")),sf(a.gh)||pf(c,a.gh),a.gh.innerHTML=b):a.gh&&c.removeChild(a.gh))};g.KA=function(a,b){var c=a.ba();if(c&&A(b))for(var d in b){var e=b[d];null===e?c.removeAttribute(d):this.oa(c,d,e)}};g.tv=function(a,b){return a?a.getAttribute(b):void 0};
g.NA=function(a,b){var c=a.ba();c&&(b?this.oa(c,"vector-effect","non-scaling-stroke"):c.removeAttribute("vector-effect"))};g.SA=da;g.LA=function(a){bj(this,a.ba(),{cx:a.dj(),cy:a.ej(),r:a.gf()})};g.fu=function(a){bj(this,a.ba(),{cx:a.dj(),cy:a.ej(),rx:a.vf(),ry:a.Fh()})};g.UA=function(a){var b=cj(a);b?this.oa(a.ba(),"d",b):this.oa(a.ba(),"d","M 0,0")};
g.py=function(a){for(var b=a.g,c=0;c2*this.f&&Yj(this),!0):!1};function Yj(a){if(a.f!=a.b.length){for(var b=0,c=0;bb)throw Error("Bad port number "+b);a.H=b}else a.H=null}function fk(a,b,c){b instanceof hk?(a.g=b,nk(a.g,a.b)):(c||(b=ik(b,ok)),a.g=new hk(b,0,a.b))}function gk(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function ik(a,b,c){return B(a)?(a=encodeURI(a).replace(b,pk),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}
function pk(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}var jk=/[#\/\?@]/g,lk=/[\#\?:]/g,kk=/[\#\?]/g,ok=/[\#\?@]/g,mk=/#/g;function hk(a,b,c){this.c=this.b=null;this.f=a||null;this.g=!!c}function qk(a){a.b||(a.b=new Xj,a.c=0,a.f&&bk(a.f,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))}
function rk(a){var b=Vj(a);if("undefined"==typeof b)throw Error("Keys are undefined");var c=new hk(null,0,void 0);a=Uj(a);for(var d=0;db.length){c.push(Gk(a)+"(");for(var d=a.arguments,e=0;d&&ea&&!isNaN(this.Dk)&&clearTimeout(this.Dk),this.ep=a,this.rg(!0)),this):this.ep};g.I=function(a){return m(a)?(a=Ye(a||null),this.ie!=a&&(this.ie=a,nl(this),this.rg(!0),this.kc()),this):this.ie?this.f:null};g.YI=function(){return this.ie};g.$e=function(){return this.f};g.Lb=function(){this.Pm++;return this};g.Hb=function(a){this.Pm=a?0:Math.max(this.Pm-1,0);this.kc();return this};g.QH=function(a){return m(a)?(this.hs=!!a,this):this.hs};
g.vb=function(){return!!this.Pm};g.sD=function(){return this.ak};g.title=function(a){return m(a)?(this.fn!=a&&(this.fn=a,kg.ku(this,this.fn)),this):this.fn};g.hD=function(a){return m(a)?(this.en!=a&&(this.en=a,kg.eu(this,this.en)),this):this.en};g.visible=function(a){if(!arguments.length)return this.b.visible();this.b.visible(a);return this};
g.data=function(a){if(arguments.length){var b,c=a.type;if(c)switch(c){case "rect":b=this.rect();break;case "circle":b=this.wv();break;case "ellipse":b=this.xv();break;case "image":b=this.pd();break;case "text":b=this.text();break;case "path":b=this.path();break;case "layer":b=this.ce();break;default:b=null}else this.width(a.width),this.height(a.height),a.type="layer",this.Lf().Xb(a),this.Lf().id(""),"id"in a&&this.id(a.id);b&&b.Xb(a);return this}return this.v()};g.remove=function(){return this.I(null)};
g.nD=function(){return 0};g.oD=function(){return 0};g.za=function(){return new I(0,0,this.width(),this.height())};g.cb=function(a){return this.b.cb(a)};g.Ad=function(){return"stage"};g.Lf=function(){return this.b};g.kp=function(a){this.b.kp(a)};g.$l=da;
g.rg=function(a,b){a&&!isNaN(this.Dk)&&clearTimeout(this.Dk);this.Dk=NaN;var c,d;c=isNaN(this.No);d=isNaN(this.Mo);var e=c||d,f;if(e){var h=this.ie?Wf(this.ie):new xd(NaN,NaN);h.width=Math.max(h.width||0,0);h.height=Math.max(h.height||0,0);f=!h.width&&!h.height;c=c?h.width:this.No;d=d?h.height:this.Mo}else c=this.No,d=this.Mo,f=!1;c==this.sa&&d==this.Ba||f||(this.sa=c,this.Ba=d,b||this.dispatchEvent("stageresize"));this.ie&&e&&(this.Dk=setTimeout(this.rg,this.ep))};
function ll(a,b){if(a.Bo!=b){var c=parseFloat(b);if(!isNaN(c))return a.Bo=C(b)?b:String(b),a.No=B(b)&&xa(b,"%")?NaN:c,a.f.style.width=Rf(a.Bo,!0),!0}return!1}function ml(a,b){if(a.Ao!=b){var c=parseFloat(b);if(!isNaN(c))return a.Ao=C(b)?b:String(b),a.Mo=B(b)&&xa(b,"%")?NaN:c,a.f.style.height=Rf(a.Ao,!0),!0}return!1}g.aI=function(){this.c.clear()};g.v=function(){var a=this.Lf().v();this.Qi&&(a.id=this.Qi);a.width=this.Bo;a.height=this.Ao;delete a.type;return a};
function ol(a){a.f?(a=a.f,1==a.nodeType?(a=Sf(a),a=new ud(a.left,a.top)):(a=a.changedTouches?a.changedTouches[0]:a,a=new ud(a.clientX,a.clientY))):a=new ud(0,0);return a}g.Iv=function(a){this.Hf+=a;return a};g.PD=function(a){a=Math.min(500-this.Hf,a);this.Hf+=a;return a};g.pl=kl.prototype.Iv;g.kc=function(){if(!this.Pm&&this.ie&&!this.ak)if(this.ak=!0,this.dispatchEvent("renderstart"),this.Hf=0,this.hs)this.pl=this.PD,setTimeout(this.zp,0);else{this.pl=this.Iv;this.tc();if(this.b.If)throw qe(6);pl(this)}};
function nl(a){a.ie?a.f.parentNode!=a.ie&&a.ie.appendChild(a.f):qf(a.f)}g.zp=function(){this.tc();this.b.If?setTimeout(this.zp,0):pl(this)};g.tc=function(){if(this.h&&this.h.length){for(var a=0;ak?[k/h*d,k]:[c,k],k[0]-=e||0,k[1]-=f||0,a=a.Ri(k[0],
k[1])):a=a.Ri(b["pdf-width"],b["pdf-height"]);b.data=a;b.dataType="svg";b.responseType="file"}g.Dv=function(a,b,c,d,e,f,h,k){if(tl==ul){var l={};xl(this,l,d,e,f,h,k);ql("pdf",l,!!c,!0,a,b)}else alert(qe(15))};g.Av=function(a,b,c,d,e){if(tl==ul){var f={};sl(this,f,c,d,e);ql("png",f,!0,!1,a,b)}else alert(qe(15))};g.yv=function(a,b,c,d,e,f){if(tl==ul){var h={};vl(this,h,c,d,e,f);ql("jpg",h,!0,!1,a,b)}else alert(qe(15))};g.Bv=function(a,b,c,d){if(tl==ul){var e={};wl(this,e,c,d);ql("svg",e,!0,!1,a,b)}else alert(qe(15))};
g.zv=function(a,b,c,d,e,f){if(tl==ul){var h={};xl(this,h,c,d,e,f);ql("pdf",h,!0,!1,a,b)}else alert(qe(15))};g.Pj=function(a,b,c,d){if(tl==ul){var e={};sl(this,e,a,b,c,d);yl(rl+"/png",e)}else alert(qe(15))};g.Nj=function(a,b,c,d,e){if(tl==ul){var f={};vl(this,f,a,b,c,d,e);yl(rl+"/jpg",f)}else alert(qe(15))};g.Oj=function(a,b,c,d,e){if(tl==ul){var f={};xl(this,f,a,b,c,d,e);yl(rl+"/pdf",f)}else alert(qe(15))};g.Qj=function(a,b,c){if(tl==ul){var d={};wl(this,d,a,b,c);yl(rl+"/svg",d)}else alert(qe(15))};
g.print=function(a,b){if(m(a)||m(b)){var c=ge(a,b,"usletter"),d=Hj().contentWindow.document,e=jf("DIV");Kf(e,{width:c.width,height:c.height});d.body.appendChild(e);var c=this.width(),d=this.height(),f=Wf(e);this.bk(f.width,f.height);f=this.ba();"svg"==f.tagName&&f.cloneNode?(f=f.cloneNode(!0),e.appendChild(f)):zl(e).data(this.data());this.bk(c,d)}else e=Hj().contentWindow.document,d=this.ba(),"svg"==d.tagName?d.cloneNode?c=d.cloneNode(!0):(d=zl(e.body),d.data(this.data()),c=d.ba()):(d=zl(e.body),
d.data(this.data())),d=c,f=kg,f.oa(d,"width","100%"),f.oa(d,"height","100%"),f.oa(d,"viewBox","0 0 "+this.width()+" "+this.height()),Kf(d,"width","100%"),Kf(d,"height",""),Kf(d,"max-height","100%"),e.body.appendChild(c);Lj()};
g.Ri=function(a,b){if(tl!=ul)return"";var c;if(m(a)||m(b)){c=ge(a,b);var d=sf(this.ba()),e=Nf(d,"width"),d=Nf(d,"height");this.bk(c.width,c.height);c=Al(this.ba());this.bk(e,d)}else kg.Jp(this.ba(),this.width(),this.height()),c=Al(this.ba()),kg.Jp(this.ba(),"100%","100%");return''+c};function Al(a){var b="";a&&(b=(new XMLSerializer).serializeToString(a));return b}g.ce=lh.prototype.ce;g.MD=lh.prototype.rv;g.text=lh.prototype.text;g.rD=lh.prototype.av;
g.rect=lh.prototype.rect;g.pd=lh.prototype.pd;g.yD=lh.prototype.ev;g.xD=lh.prototype.dv;g.LD=lh.prototype.qv;g.wv=lh.prototype.Lq;g.xv=lh.prototype.Mq;g.path=lh.prototype.path;g.zD=lh.prototype.fv;g.BD=lh.prototype.hv;g.CD=lh.prototype.iv;g.DD=lh.prototype.jv;g.ED=lh.prototype.kv;g.AD=lh.prototype.gv;g.KD=lh.prototype.pv;g.HD=lh.prototype.mv;g.JD=lh.prototype.ov;g.ID=lh.prototype.nv;g.jD=lh.prototype.Xu;g.gD=lh.prototype.Vu;g.iD=lh.prototype.Wu;g.pD=lh.prototype.Zu;g.ND=lh.prototype.sv;g.uD=lh.prototype.bv;
g.kD=lh.prototype.Yu;g.Px=function(a,b,c,d){return new xg(this,a,b,c,d)};g.tD=function(a){return new ae(a)};g.FJ=function(a,b,c,d){return fe(a,b,c,d)};g.Ha=function(){return this.b.Ha()};g.gb=function(a){this.b.gb(a);return this};g.Rb=function(a,b){this.b.Rb(a,b);return this};g.mD=function(a){return this.b.an(a)};g.removeChild=function(a){return this.b.removeChild(a)};g.vD=function(a){return this.b.bn(a)};g.wD=function(){return this.b.ll()};g.qD=function(a){return this.b.$u(a)};g.Mb=function(a){return this.b.Mb(a)};
g.FD=function(a,b){this.b.lv(a,b);return this};g.GD=function(a,b){this.b.Nq(a,b);return this};g.lD=function(a,b){this.b.Be(a,b);return this};g.uf=function(a,b,c){this.b.uf(a,b,c);return this};g.el=function(a,b){this.b.el(a,b);return this};g.Vj=function(a,b,c){this.b.Vj(a,b,c);return this};g.Lm=function(a,b){this.b.Lm(a,b);return this};g.Ki=function(a,b){this.b.Ki(a,b);return this};g.$j=function(a,b){this.b.$j(a,b);return this};g.scale=function(a,b,c,d){this.b.scale(a,b,c,d);return this};
g.Hp=function(a,b,c){this.b.Hp(a,b,c);return this};g.no=function(a,b,c,d,e,f){this.b.no(a,b,c,d,e,f);return this};g.Na=function(a,b,c,d,e,f){this.b.Na(a,b,c,d,e,f);return this};g.Lk=function(){return this.b.Lk()};g.To=function(){return this.b.To()};g.ec=function(){return null};g.dispatchEvent=function(a){B(a)?a=a.toLowerCase():"type"in a&&(a.type=String(a.type).toLowerCase());return kl.u.dispatchEvent.call(this,a)};g.ga=function(a,b,c,d){return kl.u.ga.call(this,String(a).toLowerCase(),b,c,d)};
g.Xc=function(a,b,c,d){return kl.u.Xc.call(this,String(a).toLowerCase(),b,c,d)};g.Qc=function(a,b,c,d){return kl.u.Qc.call(this,String(a).toLowerCase(),b,c,d)};g.ye=function(a){m(a)&&(a=String(a).toLowerCase());return kl.u.ye.call(this,a)};
g.mh=function(a){var b=new qj(a,this);if(J(b.target,hg)){b.target.dispatchEvent(b);var c=b.type;b.l&&a.preventDefault();J(b.relatedTarget,hg)&&b.relatedTarget.Y()==this||("mouseover"==c?this.g.ga(document,"mousemove",this.mh,!1):"mouseout"==c&&this.g.Qc(document,"mousemove",this.mh,!1));switch(c){case "mousedown":this.g.ga(document,"mouseup",this.mh,!1);break;case "mouseup":this.g.Qc(document,"mouseup",this.mh,!1);break;case "touchstart":this.g.ga(document,"touchmove",this.mh,!1);break;case "touchend":this.g.Qc(document,
"touchmove",this.mh,!1);break;case "pointerdown":this.g.ga(document,"pointermove",this.mh,!1);break;case "pointerup":this.g.Qc(document,"pointermove",this.mh,!1)}}};g.T=function(){kl.u.T.call(this);Lb(this.g);this.g=null;Lb(this.b);this.tc();delete this.b;Lb(this.c);delete this.c;Eg(this);qf(this.f);this.ie=null;delete this.f;this.Ua=null;this.U&&(this.U.Qd(),this.U=null)};var K=kl.prototype;F("acgraph.vector.Stage",kl);K.id=K.id;K.container=K.I;K.getContainerElement=K.YI;K.getDomWrapper=K.$e;
K.maxResizeDelay=K.TJ;K.dispose=K.Qd;K.getBounds=K.za;K.layer=K.ce;K.unmanagedLayer=K.MD;K.circle=K.wv;K.ellipse=K.xv;K.rect=K.rect;K.truncatedRect=K.LD;K.roundedRect=K.yD;K.roundedInnerRect=K.xD;K.path=K.path;K.star=K.zD;K.star4=K.BD;K.star5=K.CD;K.star6=K.DD;K.star7=K.ED;K.star10=K.AD;K.diamond=K.jD;K.triangleUp=K.KD;K.triangleDown=K.HD;K.triangleRight=K.JD;K.triangleLeft=K.ID;K.cross=K.gD;K.diagonalCross=K.iD;K.hLine=K.pD;K.vLine=K.ND;K.pie=K.uD;K.donut=K.kD;K.text=K.text;K.html=K.rD;K.image=K.pd;
K.data=K.data;K.saveAsPNG=K.Pj;K.saveAsJPG=K.Nj;K.saveAsPDF=K.Oj;K.saveAsSVG=K.Qj;K.saveAsPng=K.Pj;K.saveAsJpg=K.Nj;K.saveAsPdf=K.Oj;K.saveAsSvg=K.Qj;K.shareAsPng=K.Ev;K.shareAsJpg=K.Cv;K.shareAsPdf=K.Dv;K.shareAsSvg=K.Fv;K.getPngBase64String=K.Av;K.getJpgBase64String=K.yv;K.getSvgBase64String=K.Bv;K.getPdfBase64String=K.zv;K.print=K.print;K.toSvg=K.Ri;K.pattern=K.tD;K.hatchFill=K.FJ;K.clearDefs=K.aI;K.numChildren=K.Ha;K.addChild=K.gb;K.addChildAt=K.Rb;K.removeChild=K.removeChild;
K.removeChildAt=K.vD;K.removeChildren=K.wD;K.swapChildren=K.FD;K.swapChildrenAt=K.GD;K.getChildAt=K.mD;K.hasChild=K.qD;K.forEachChild=K.lD;K.indexOfChild=K.Mb;K.getX=K.nD;K.getY=K.oD;K.width=K.width;K.height=K.height;K.getBounds=K.za;K.resize=K.bk;K.asyncMode=K.QH;K.resume=K.Hb;K.suspend=K.Lb;K.isRendering=K.sD;K.isSuspended=K.vb;K.remove=K.remove;K.domElement=K.ba;K.visible=K.visible;K.rotate=K.uf;K.rotateByAnchor=K.el;K.setRotation=K.Vj;K.setRotationByAnchor=K.Lm;K.translate=K.Ki;
K.setPosition=K.$j;K.scale=K.scale;K.scaleByAnchor=K.Hp;K.appendTransformationMatrix=K.no;K.setTransformationMatrix=K.Na;K.getRotationAngle=K.Lk;K.getTransformationMatrix=K.To;K.clip=K.cb;K.createClip=K.Px;K.parent=K.parent;K.getStage=K.Y;K.listen=K.ga;K.listenOnce=K.Xc;K.unlisten=K.Qc;K.unlistenByKey=K.Sm;K.removeAllListeners=K.ye;K.title=K.title;K.desc=K.hD;F("acgraph.events.EventType.RENDER_START","renderstart");F("acgraph.events.EventType.RENDER_FINISH","renderfinish");
F("acgraph.vector.Stage.EventType.STAGE_RESIZE","stageresize");F("acgraph.vector.Stage.EventType.STAGE_RENDERED","stagerendered");function Bl(a){Tj.call(this,a);this.c={}}G(Bl,Tj);Bl.prototype.clear=function(){Xb(this.c);Bl.u.clear.call(this)};function Rg(a,b){var c=ke(je.Uc(),b),d=a.c[c];if(!d){var d=a.c,e;e=aj("clipPath");d[c]=d=e}return d}Bl.prototype.T=function(){Bl.u.T.call(this);for(var a in this.c)delete this.c[a];delete this.c};function Cl(a,b,c){kl.call(this,a,b,c)}G(Cl,kl);Cl.prototype.l=function(){return new Bl(this)};function Dl(a,b,c,d,e){xg.call(this,a,b,c,d,e)}G(Dl,xg);Dl.prototype.kc=function(){var a=Ng(this),b=a&&!a.vb();b&&a.Lb();Za(this.g,function(a){a.ka(512)},this);b&&a.Hb()};function El(a,b,c,d,e,f,h){Qj.call(this,a,b,c,b,b,f,h);this.Kp=d;this.Lp=e}G(El,Qj);function Fl(a,b,c,d,e,f,h){f=null!=f?nd(f,0,1):1;var k=[];Za(a,function(a){k.push(""+a.offset+a.color+(a.opacity?a.opacity:null))});return k.join("")+f+b+c+d+e+(h?""+h.left+h.top+h.width+h.height:"")};var Gl={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",
darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",
ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",
lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",
moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",
seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Hl(a){var b={};a=String(a);var c="#"==a.charAt(0)?a:"#"+a;if(Il.test(c))return b.Bd=Jl(c),b.type="hex",b;a:{var d=a.match(Kl);if(d){var c=Number(d[1]),e=Number(d[2]),d=Number(d[3]);if(0<=c&&255>=c&&0<=e&&255>=e&&0<=d&&255>=d){c=[c,e,d];break a}}c=[]}if(c.length)return b.Bd=ce(c),b.type="rgb",b;if(Gl&&(c=Gl[a.toLowerCase()]))return b.Bd=c,b.type="named",b;throw Error(a+" is not a valid color string");}var Ll=/#(.)(.)(.)/;
function Jl(a){if(!Il.test(a))throw Error("'"+a+"' is not a valid hex color");4==a.length&&(a=a.replace(Ll,"#$1$1$2$2$3$3"));return a.toLowerCase()}function Ml(a){a=Jl(a);return[parseInt(a.substr(1,2),16),parseInt(a.substr(3,2),16),parseInt(a.substr(5,2),16)]}
function ce(a){var b=a[0],c=a[1];a=a[2];b=Number(b);c=Number(c);a=Number(a);if(b!=(b&255)||c!=(c&255)||a!=(a&255))throw Error('"('+b+","+c+","+a+'") is not a valid RGB color');b=Nl(b.toString(16));c=Nl(c.toString(16));a=Nl(a.toString(16));return"#"+b+c+a}function Ol(a,b,c){0>c?c+=1:16*c?a+6*(b-a)*c:1>2*c?b:2>3*c?a+(b-a)*(2/3-c)*6:a}var Il=/^#(?:[0-9a-f]{3}){1,2}$/i,Kl=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;
function Nl(a){return 1==a.length?"0"+a:a}function Pl(a,b,c){c=nd(c,0,1);return[Math.round(c*a[0]+(1-c)*b[0]),Math.round(c*a[1]+(1-c)*b[1]),Math.round(c*a[2]+(1-c)*b[2])]};var Jj=5;function Ij(){for(var a=document.styleSheets,b=[],c=Ql(a),d=0;a=c[d];d++){var e=Rl(a);if(e&&e.length)for(var f=0,h=0,k=e.length,l;hMath.sin(d)||180==a||360==a;if(90==a||270==a)c+=1E-6;180!=a&&(0>Math.tan(d)||90==a||270==a)&&(e=-1,c=90-c);c=rd(c);d=Math.tan(c);d=Math.sin(c)*(b.height/2-d*b.width/2)+Math.sqrt(Math.pow(b.width/2,2)*(1+Math.pow(d,2)));e*=Math.cos(c)*d;c=1*Math.sin(c)*d;k&&(e=-e,c=-c);return{sc:new ud(Math.round(f-e),Math.round(h+c)),Dd:new ud(Math.round(f+e),Math.round(h-c))}}
function em(a,b){var c,d;b.sc.x==b.Dd.x?(c=b.sc.x,d=a.y):b.sc.y==b.Dd.y?(c=a.x,d=b.sc.y):(c=(b.sc.x*Math.pow(b.Dd.y-b.sc.y,2)+a.x*Math.pow(b.Dd.x-b.sc.x,2)+(b.Dd.x-b.sc.x)*(b.Dd.y-b.sc.y)*(a.y-b.sc.y))/(Math.pow(b.Dd.y-b.sc.y,2)+Math.pow(b.Dd.x-b.sc.x,2)),d=(b.Dd.x-b.sc.x)*(a.x-c)/(b.Dd.y-b.sc.y)+a.y);c=new ud(c,d);d=[nd(b.sc.x-b.Dd.x,-1,1),nd(b.sc.y-b.Dd.y,-1,1)];var e=[nd(b.sc.x-c.x,-1,1),nd(b.sc.y-c.y,-1,1)],f=[nd(b.Dd.x-c.x,-1,1),nd(b.Dd.y-c.y,-1,1)];return 0>(d[0]?(e[0]+f[0])*d[0]:(e[1]+f[1])*
d[1])?-vd(b.sc,c):vd(b.sc,c)}
function fm(a,b,c,d){var e=dm(c,d);d=vd(e.sc,e.Dd);var f=dm(c,b);b=vd(f.sc,f.Dd);c=em(e.sc,f);var e=em(e.Dd,f),f={offset:Math.round(c/b*100)/100,color:"",opacity:1},h={offset:Math.round(e/b*100)/100,color:"",opacity:1},k=[];k.toString=function(){for(var a="\n",b=0,c=this.length;bf.offset&&t.offset=h.offset&&!n&&(n={offset:t.offset,color:t.color,opacity:t.opacity})}k.push(h);a=t=1;if(2h&&1>f?l?h>f:hh)?h:f);h=k.width*f;k=k.height*f;switch(e){case Uh:e=b.width;f=b.height;break;case "xMinYMin":e=b.left;f=b.top;break;case "xMidYMin":e=b.left+b.width/2-h/2;f=b.top;break;case "xMaxYMin":e=b.left+
b.width-h;f=b.top;break;case "xMinYMid":e=b.left;f=b.top+b.height/2-k/2;break;default:case "xMidYMid":e=b.left+b.width/2-h/2;f=b.top+b.height/2-k/2;break;case "xMaxYMid":e=b.left+b.width-h;f=b.top+b.height/2-k/2;break;case "xMinYMax":e=b.left;f=b.top+b.height-k;break;case "xMidYMax":e=b.left+b.width/2-h/2;f=b.top+b.height-k;break;case "xMaxYMax":e=b.left+b.width-h,f=b.top+b.height-k}}Zl(this,c.style,{position:"absolute",left:am(e),top:am(f),width:am(h),height:am(k)});this.oa(c,"src",d);a.cb(b)};
g.LA=function(a){this.fu(a)};g.fu=function(a){var b=a.ba();Yl(this,b);var c=a.dj(),d=a.ej(),e=a.vf(),f=a.Fh(),h=a.ec();h&&!Gd(h)?(c=Bd(c,d,e,f,0,360,!1),d=c.length,h.transform(c,0,c,0,d/2),h=["m",this.Ub(c[d-2]),this.Ub(c[d-1]),"c"],ne(Array.prototype.push,ab(c,this.Ub),h)):h=["ae",this.Ub(c),this.Ub(d),this.Ub(e),this.Ub(f),0,Math.round(-23592960)];h.push("x");lg(a,4);lg(a,256);this.oa(b,"path",h.join(" "))};
g.UA=function(a){var b=a.ba();Yl(this,b);var c=bm(this,a);c?this.oa(b,"path",c):(this.oa(b,"path","M 0,0"),b.removeAttribute("path"));lg(a,4);lg(a,256)};g.ys=function(){var a=this.c("shape"),b=this.c("path");b.setAttribute("textpathok","t");a.appendChild(b);return a};g.zo=function(){return document.createElement("span")};g.ol=function(a){var b=this.c("textpath");b.setAttribute("on","t");b.setAttribute("string",a);return b};g.MA=function(a,b){var c=a.ba();c&&(c.style.cursor=b||"")};
g.iu=function(a){var b=a.ba().style,c,d;gm(a)?(d=a.U,a.c.length&&(d-=a.c[0].c),c=a.H,Zl(this,b,{position:"absolute",overflow:"visible",left:am(c),top:am(d)})):(c=a.x(),d=a.y(),a.ig()&&a.height()&&a.height()>a.h&&("middle"==a.ig()&&(d+=a.height()/2-a.h/2),"bottom"==a.ig()&&(d+=a.height()-a.h)),Zl(this,b,{position:"absolute",overflow:"hidden",left:am(c),top:am(d)}))};
g.ju=function(a){var b=a.ba(),c=b.style;b.style.cssText="";if(gm(a))Zl(this,c,{width:am(1),height:am(1)}),b.innerHTML="";else if(null!=a.Ka){a.fontSize()&&Kf(b,"font-size",a.fontSize());a.color()&&Kf(b,"color",a.color());a.fontFamily()&&Kf(b,"font-family",a.fontFamily());a.fontStyle()&&Kf(b,"font-style",a.fontStyle());a.fontVariant()&&Kf(b,"font-variant",a.fontVariant());a.fontWeight()&&Kf(b,"font-weight",a.fontWeight());a.letterSpacing()&&Kf(b,"letter-spacing",a.letterSpacing());a.vg()&&Kf(b,"text-decoration",
a.vg());a.opacity()&&(c.filter="alpha(opacity="+100*a.opacity()+")");a.ck()&&Kf(b,"line-height",a.ck());a.dk()&&Kf(b,"text-indent",a.dk());"..."==a.Te()&&Kf(b,"text-overflow","ellipsis");""==a.Te()&&Kf(b,"text-overflow","clip");a.Gh()&&Kf(b,"direction",a.Gh());"byLetter"==a.ek()&&a.width()?(Kf(b,"word-break","break-all"),Kf(b,"white-space","normal")):(Kf(b,"word-break","normal"),Kf(b,"white-space","nowrap"));a.Ce()&&(b.style["text-align"]=a.g?"end"==a.Ce()||"left"==a.Ce()?"left":a.Ce()==Ii||"right"==
a.Ce()?"right":"center":"end"==a.Ce()||"right"==a.Ce()?"right":a.Ce()==Ii||"left"==a.Ce()?"left":"center");var d=!a.Hh(),e=b.getElementsByTagName("*");if(Vf){if(d=d?"none":"",b.style&&(b.style[Vf]=d),e)for(var f=0,h;h=e[f];f++)h.style&&(h.style[Vf]=d)}else if(hc||gc)if(d=d?"on":"",b.setAttribute("unselectable",d),e)for(f=0;h=e[f];f++)h.setAttribute("unselectable",d);b.innerHTML=a.Ka;this.oa(c,"width",String(a.width()?am(a.width()):a.za().width));this.oa(c,"height",String(a.height()?am(a.height()):
a.za().height))}};g.uv=function(a){a.ba().setAttribute("path","m "+this.Ub(a.x)+","+this.Ub(a.y)+" l "+(this.Ub(a.x)+1)+","+this.Ub(a.y)+" e")};
g.vv=function(a){var b=a.parent(),c=b.style(),d=a.ba(),c=$b(c);bc(c,a.b);a=this.ol(a.text);c.fontStyle&&Kf(a,"font-style",c.fontStyle);c.fontVariant&&Kf(a,"font-variant",c.fontVariant);c.fontFamily&&Kf(a,"font-family",c.fontFamily);c.fontSize&&Kf(a,"font-size",c.fontSize);c.fontWeight&&Kf(a,"font-weight",c.fontWeight);c.letterSpacing&&(a.style["v-text-spacing"]="normal"==c.letterSpacing?"":c.letterSpacing);c.decoration&&Kf(a,"text-decoration",c.decoration);c.hAlign&&(a.style["v-text-align"]=b.g?"end"==
c.hAlign||"left"==c.hAlign?"left":c.hAlign==Ii||"right"==c.hAlign?"right":"center":"end"==c.hAlign||"right"==c.hAlign?"right":c.hAlign==Ii||"left"==c.hAlign?"left":"center");if(c.opacity){var e=this.c("fill");this.oa(e,"opacity",c.opacity);d.appendChild(e)}d.appendChild(a);b.Hh()?d.removeAttribute("unselectable"):this.oa(d,"unselectable","on");Yl(this,d);d.setAttribute("filled","t");d.setAttribute("fillcolor",c.color);d.setAttribute("stroked","f")};g.Wz=function(){return!0};
g.ox=function(a){var b=a.fill();J(b,ae)&&(b="black");var c=a.stroke(),d;B(c)?d=c:d="keys"in c?0!=c.keys.length?c.keys[0].color:"#000":c.color;var e=!B(b)&&"keys"in b&&"cx"in b&&"cy"in b,f=!B(b)&&"keys"in b&&!e,h=!e&&!f,k="none"!=b&&"none"!=b.color,l="none"!=d&&0!=c.thickness,n=h&&k&&1!=b.opacity,q=!B(c)&&l&&(1!=c.opacity||"miter"!=c.lineJoin||"butt"!=c.lineCap||"none"!=c.dash),r,t,u;if(e||f||n||q){var q=a.Y(),n=q.c,w;w=J(a,Pg)&&a.gc()?new I(0,0,1,1):a.za();if(f){t=J(b.mode,I);u=rb(b.keys,0);0!=u[0].offset&&
u.unshift({offset:0,color:u[0].color,opacity:u[0].opacity});r=u[u.length-1];1!=r.offset&&u.push({offset:1,color:r.color,opacity:r.opacity});var v=b.mode?ii(b.angle,w):b.angle;w=jj(n,t?fm(u,b.mode,v,w):u,b.opacity,v,b.mode)}else if(e){var x;b.mode?(x=b.mode,r=Math.min(x.width,x.height),v=(b.cx*x.width-(w.left-x.left))/w.width,u=(b.cy*x.height-(w.top-x.top))/w.height,x=r/w.width*1,w=r/w.height*1):(v=b.cx,u=b.cy,x=w=1);w=hm(n,b.keys,v,u,x,w,b.opacity,b.mode)}else w=b;v=im(n,w,c);if(!v.Hv){x=this.c("shapetype");
cm(this,x,ke(je.Uc(),v));this.appendChild(n.ba(),x);v.Hv=!0;var y=null;if(f){var z=w;z.cn&&(z=new Nj(z.keys,z.opacity,z.Mi,z.mode),v.h=z);y=this.c("fill");u=z.keys;var E=[];Za(u,function(a){E.push(a.offset+" "+a.color)},this);q=qd(z.Mi+270);r=u[u.length-1];h=u[0];Zl(this,y,{type:"gradient",method:"none",colors:E.join(","),angle:q,color:h.color,opacity:t?z.opacity:isNaN(r.opacity)?z.opacity:r.opacity,color2:r.color,"o:opacity2":t?z.opacity:isNaN(h.opacity)?z.opacity:h.opacity});this.appendChild(x,
y);z.ml=n;z.cn=!0}else e?(t=w,t.dn&&(t=new El(t.keys,t.Ni,t.Oi,t.Kp,t.Lp,t.opacity,t.Ld),v.h=t),y=this.c("fill"),u=t.keys,h=u[u.length-1],r=u[0],Zl(this,y,{src:q.pathToRadialGradientImage,size:t.Kp+","+t.Lp,origin:".5, .5",position:t.Ni+","+t.Oi,type:"pattern",method:"linear sigma",colors:"0 "+h.color+";1 "+r.color,color:h.color,opacity:isNaN(h.opacity)?t.opacity:h.opacity,color2:r.color,"o:opacity2":isNaN(r.opacity)?t.opacity:r.opacity}),this.appendChild(x,y),t.nl=n,t.dn=!0):h&&(y=v.lj?v.lj:v.lj=
this.c("fill"),B(b)?(Zl(this,a.ba(),{fillcolor:b,filled:"none"!=b}),Zl(this,y,{type:"solid",on:"none"!=b,color:b,opacity:1})):(Zl(this,a.ba(),{fillcolor:b.color,filled:"none"!=b.color}),Zl(this,y,{type:"solid",on:"none"!=b.color,color:b.color,opacity:isNaN(b.opacity)?1:b.opacity})));this.appendChild(x,y);t=v.Om?v.Om:v.Om=this.c("stroke");n=c.thickness?c.thickness:1;q=(h=jm(c.dash,n))?"flat":c.lineCap;Zl(this,t,{joinstyle:c.lineJoin||"miter",endcap:"butt"==q?"flat":q,dashstyle:h,on:l,color:d,opacity:A(c)&&
"opacity"in c?c.opacity:1,weight:n+"px"});this.appendChild(x,t)}if(e||f)h=w.keys[w.keys.length-1],Zl(this,a.ba(),{fillcolor:h.color,filled:"none"!=h.color});Zl(this,a.ba(),{filled:k,fillcolor:b.color||b,stroked:l,strokecolor:d,strokeweight:c.thickness?c.thickness+"px":"1px"});Zl(this,a.ba(),{type:"#"+ke(je.Uc(),v)})}else Zl(this,a.ba(),{type:"",filled:k,fillcolor:b.color||b,stroked:l,strokecolor:d,strokeweight:c.thickness?c.thickness+"px":"1px"})};
function jm(a,b){a=String(a);if(!a)return"none";var c=a.split(" ");c.length%2&&c.push.apply(c,c);for(var d=[],e=0;ea.h&&("middle"==a.ig()&&(f+=a.height()/2-a.h/2),"bottom"==a.ig()&&(f+=a.height()-a.h)),Zl(this,d,{position:"absolute",overflow:"hidden",left:am(e+b.h),top:am(f+b.j)})}};g.Hm=function(){return!0};g.XA=da;g.py=da;g.NA=da;
g.cu=function(a){var b=J(a,lh),c=a.cb();if(c){var c=c.shape(),c=c.se(c.Qa),c=c.clone(),d=a.ba().style;if(m(b)&&b)a=a.ec(),c=Fd(c,a);else if(!J(a,lm)||gm(a))c.left-=a.Iq()||0,c.top-=a.Jq()||0;a=c.left;b=c.top;this.oa(d,"clip",["rect(",b+"px",a+c.width+"px",b+c.height+"px",a+"px",")"].join(" "))}else $l(a.ba().style,"clip")};g.jp=function(){return!0};function mm(a,b){Hb.call(this);this.h=a;this.b=b}G(mm,Hb);function nm(a){delete a.h;Sl.Uc();qf(a.lj);a.lj=null}g=mm.prototype;g.lj=null;g.Om=null;g.Hv=!1;g.Ad=function(){return"shapeType"};g.T=function(){delete this.h;delete this.b;Sl.Uc();qf(this.lj);this.lj=null;Sl.Uc();qf(this.Om);this.Om=null};function om(a){Tj.call(this,a);this.c={};this.j={}}G(om,Tj);om.prototype.clear=function(){Xb(this.c);Xb(this.j);om.u.clear.call(this)};
function im(a,b,c){var d="",d=B(b)?d+(b+"1"):J(b,Qj)?Fl(b.keys,b.Ni,b.Oi,b.Kp,b.Lp,b.opacity,b.Ld):J(b,Nj)?Oj(b.keys,b.opacity,b.Mi,b.mode):d+(b.color+b.opacity),e;if(B(c))e=c;else if("keys"in c){var f=0!=c.keys.length?c.keys[0]:c;e=f.color||"black";e+="opacity"in f?f.opacity:1}else e=c.color,e+="opacity"in c?c.opacity:1;d=""+d+(""+c.thickness+e+c.lineJoin+c.lineCap+c.dash);if(Vb(a.c,d))return a.c[d];b=new mm(b,c);return a.c[d]=b}
function hm(a,b,c,d,e,f,h,k){k=k?k:null;var l=Fl(b,c,d,e,f,h,k);return Vb(a.j,l)?a.j[l]:a.j[l]=new El(b,c,d,e,f,h,k)}om.prototype.uA=function(a){for(var b=Rj(a.keys,a.Ni,a.Oi,a.Kp,a.Lp,a.opacity,a.Ld),c=Tb(this.c),d=0,e=c.length;dNumber(rc)&&
(d.src='javascript:""');c.fd=Ve(c.Kc).c("IFRAME",d);d=c.fd.style;d.visibility="hidden";d.width=d.height="10px";d.display="none";kc?d.marginTop=d.marginLeft="-10px":(d.position="absolute",d.top=d.left="-10px");if(hc&&!vc("11")){c.Kc.target=c.wj||"";Ve(c.Kc).b.body.appendChild(c.fd);Sc(c.fd,"readystatechange",c.Lt,!1,c);try{c.b=!1,c.Kc.submit()}catch(tb){$c(c.fd,"readystatechange",c.Lt,!1,c),xm(c)}}else{Ve(c.Kc).b.body.appendChild(c.fd);var d=c.wj+"_inner",e=tf(c.fd),f;document.baseURI?(f=Da(d),xe("Short HTML snippet, input escaped, safe URL, for performance"),
f='',f=Pe(f,null)):(f=Da(d),xe("Short HTML snippet, input escaped, for performance"),f=Pe('',null));gc&&!kc?e.documentElement.innerHTML=Ne(f):e.write(Ne(f));Sc(e.getElementById(d),"load",c.mp,!1,c);var h=Ze("TEXTAREA",c.Kc);f=0;for(var k=h.length;f.");if("A"in Te)throw Error("Tag name is not allowed for SafeHtml.");y=null;var va;z="";if(x)for(var Ba in x){if(!Re.test(Ba))throw Error('Invalid attribute name "'+Ba+'".');var db=x[Ba];if(null!=db){E=z;var Jb,Q=Ba,T=db;if(T instanceof
ue)T=we(T);else if("style"==Q.toLowerCase()){P=T;if(!A(P))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof P+" given: "+P);if(!(P instanceof ye)){ka=P;f="";k=void 0;for(k in ka){if(!/^[-_a-zA-Z0-9]+$/.test(k))throw Error("Name allows only [-_a-zA-Z0-9], got: "+k);var Ja=ka[k];if(null!=Ja){if(Ja instanceof ue)Ja=we(Ja);else if(Ce.test(Ja)){l=h=!0;for(n=0;n";else{var kd=Ue(D);va+=">"+Ne(kd)+"";y=kd.Kk()}var Db=x&&x.dir;Db&&(/^(ltr|rtl|auto)$/i.test(Db)?y=0:y=null);W=Pe(va,y);w=Ue(ia,W,Qe("\nLine: "+v.lineNumber+"\n\nBrowser stack:\n"+v.stack+"-> [end]\n\nJS stack traversal:\n"+Ek(void 0)+"-> "))}catch(Mg){w=Qe("Exception trying to expose exception! You win, we lose. "+Mg)}Ne(w);$c(e.getElementById(d),"load",c.mp,!1,c);
e.close();xm(c)}}ym(c)}function wm(a,b){var c=Ve(a);Wj(b,function(b,e){p(b)||(b=[b]);Za(b,function(b){b=c.c("INPUT",{type:"hidden",name:e,value:b});a.appendChild(b)})})}g=sm.prototype;g.Kc=null;g.fd=null;g.wj=null;g.hK=0;g.lh=!1;g.oz=null;g.Kz=null;g.vj=null;g.abort=function(){this.lh&&(cd(zm(this)),this.lh=!1,this.dispatchEvent("abort"),Am(this))};g.T=function(){this.lh&&this.abort();sm.u.T.call(this);this.fd&&Bm(this);ym(this);delete this.g;this.oz=this.Kz=this.Kc=null;delete um[this.c]};g.zj=function(){return this.lh};
g.Lt=function(){if("complete"==this.fd.readyState){$c(this.fd,"readystatechange",this.Lt,!1,this);var a;try{if(a=tf(this.fd),hc&&"about:blank"==a.location&&!navigator.onLine){xm(this);return}}catch(b){xm(this);return}Cm(this,a)}};g.mp=function(){if(!gc||kc||"about:blank"!=(this.fd?tf(zm(this)):null).location){$c(zm(this),"load",this.mp,!1,this);try{Cm(this,this.fd?tf(zm(this)):null)}catch(a){xm(this)}}};
function Cm(a,b){a.lh=!1;var c;try{var d=b.body;a.Kz=d.textContent||d.innerText}catch(e){c=1}c||"function"!=typeof a.g||(d=a.g(b))&&(c=4);c?xm(a):(a.dispatchEvent("complete"),a.dispatchEvent("success"),Am(a))}function xm(a){a.b||(a.lh=!1,a.dispatchEvent("complete"),a.dispatchEvent("error"),Am(a),a.b=!0)}function Am(a){Bm(a);ym(a);a.Kc=null;a.dispatchEvent("ready")}
function Bm(a){var b=a.fd;b&&(b.onreadystatechange=null,b.onload=null,b.onerror=null,a.f.push(b));a.vj&&(ba.clearTimeout(a.vj),a.vj=null);jc||gc&&!kc?a.vj=jd(a.qy,2E3,a):a.qy();a.fd=null;a.wj=null}g.qy=function(){this.vj&&(ba.clearTimeout(this.vj),this.vj=null);for(;this.f.length;){var a=this.f.pop();qf(a)}};function ym(a){a.Kc&&a.Kc==vm&&of(a.Kc)}function zm(a){return a.fd?hc&&!vc("11")?a.fd:tf(a.fd).getElementById(a.wj+"_inner"):null}
g.iB=function(){if(this.lh){var a=this.fd?tf(zm(this)):null;a&&!dc(a,"documentUri")?($c(zm(this),"load",this.mp,!1,this),xm(this)):jd(this.iB,250,this)}};var Dm={};function wg(a){var b=a.ba();if(b){var c=String(ma(a));Dm[c]=a;b.setAttribute("data-ac-wrapper-id",c)}}function Eg(a){delete Dm[String(ma(a))];(a=a.ba())&&a.removeAttribute("data-ac-wrapper-id")}function rj(a,b){for(var c,d=b.ba().parentNode;a&&a!=d;){c=a.getAttribute&&a.getAttribute("data-ac-wrapper-id")||null;if(null!=c)break;a=a.parentNode}return(c=Dm[c||""]||null)&&c.ba()==a?c:null}var ul="svg",tl=null,tl=hc&&!vc("9")?"vml":ul,kg="vml"==tl?Sl.Uc():$i.Uc();
function zl(a,b,c){return"vml"==tl?new pm(a,b,c):new Cl(a,b,c)}var rl="//export.anychart.com";function Kj(a,b){var c;a&&(c=jf("STYLE"),c.type="text/css",c.styleSheet?c.styleSheet.cssText=a:c.appendChild(document.createTextNode(String(a))),pf($e("head",void 0,b)[0],c))}ba.acgraph=ba.acgraph||{};ba.acgraph.fontSize="10px";ba.acgraph.fontColor="#000";ba.acgraph.textDirection="ltr";ba.acgraph.fontFamily="Verdana";function Ag(a,b,c,d){return new Og(a,b,c,d)}function Bg(a,b,c){return new Kg(a,b,c)}
function mh(){return new lh}function Cg(a,b,c,d){return new Ig(a,b,c,d)}function Dg(){return new Pg}function ph(a,b,c,d,e){return new Th(a,b,c,d,e)}function oh(a,b,c,d){a="vml"==tl?new lm(a,b):new Fi(a,b);d&&a.style(d);c&&a.text(c);return a}function fe(a,b,c,d){return new Gg(a,b,c,d)}function be(a){return new ae(a)}function zg(a,b,c,d){return"vml"==tl?new Dl(null,a,b,c,d):new xg(null,a,b,c,d)}var Em=void 0;
function lj(){return m(Em)?Em:hc&&vc("9")&&!vc("10")?Em="":Em=md||null===md&&$e("base",void 0,void 0).length?window.location.origin+window.location.pathname+window.location.search:""}F("acgraph.create",zl);F("acgraph.type",function(){return tl});F("acgraph.server",function(a){m(a)&&(rl=a);return rl});F("acgraph.StageType.SVG",ul);F("acgraph.StageType.VML","vml");F("acgraph.rect",Ag);F("acgraph.circle",Bg);F("acgraph.ellipse",Cg);F("acgraph.path",Dg);F("acgraph.text",oh);F("acgraph.layer",mh);
F("acgraph.image",ph);F("acgraph.hatchFill",fe);F("acgraph.patternFill",be);F("acgraph.clip",zg);F("acgraph.useAbsoluteReferences",function(a){if(m(a))md=a;else return!!lj()});F("acgraph.updateReferences",function(){var a=Em;Em=void 0;if(m(a)&&lj()!=a){var b=kg,c;for(c in Dm)if(Dm.hasOwnProperty(c)){var a=Dm[c],d=a.Y();d&&(J(a,hg)&&(d.vb()?a.ka(512):a.hb(512)||b.cu(a)),J(a,yg)&&(d.vb()?a.ka(24):(a.hb(8)||kj(b,a),a.hb(16)||oj(b,a))))}}});var Fm,Gm;F("anychart.VERSION","7.14.4.1448");F("anychart.DEVELOP",!1);F("anychart.DEFAULT_THEME","defaultTheme");F("anychart.PERFORMANCE_MONITORING",!1);function Hm(a){a=String(a).toLowerCase();switch(a){case "byspot":case "spot":case "sp":return"bySpot";case "single":case "s":return"single"}return"byX"}function Im(a){a=String(a).toLowerCase();switch(a){case "singleselect":case "single":case "single_select":case "s":case "ss":return"singleSelect";case "multiselect":case "multi_select":case "multi":case "m":case "ms":return"multiSelect";case "drill":case "drilldown":case "drill_down":case "d":return"drillDown"}return"none"}
function Jm(a,b){a=String(a).toLowerCase();switch(a){case "default":case "def":case "d":return"default";case "crosshair":case "cross":return"crosshair";case "pointer":case "point":return"pointer";case "move":return"move";case "text":return"text";case "wait":return"wait";case "help":return"help";case "n-resize":case "north":case "n":return"n-resize";case "ne-resize":case "northeast":case "ne":return"ne-resize";case "e-resize":case "east":case "e":return"e-resize";case "se-resize":case "southeast":case "se":return"se-resize";
case "s-resize":case "south":case "s":return"s-resize";case "sw-resize":case "southwest":case "sw":return"sw-resize";case "w-resize":case "west":case "w":return"w-resize";case "nw-resize":case "northwest":case "nw":return"nw-resize"}return b||"default"}
function Km(a,b){a=String(a).toLowerCase();switch(a){case "lefttop":case "topleft":case "lt":case "tl":return"leftTop";case "leftcenter":case "centerleft":case "left":case "lc":case "cl":case "l":return"leftCenter";case "leftbottom":case "bottomleft":case "lb":case "bl":return"leftBottom";case "centertop":case "topcenter":case "top":case "ct":case "tc":case "t":return"centerTop";case "centercenter":case "center":case "c":return"center";case "centerbottom":case "bottomcenter":case "bottom":case "cb":case "bc":case "b":return"centerBottom";
case "righttop":case "topright":case "tr":case "rt":return"rightTop";case "rightcenter":case "centerright":case "right":case "rc":case "cr":case "r":return"rightCenter";case "rightbottom":case "bottomright":case "rb":case "br":return"rightBottom";case "auto":case "null":return"auto"}return m(b)?b:"leftTop"}function Lm(a,b){a=Km(a,b);return"auto"==a&&m(b)?b:a}
function Mm(a,b){a=String(a).toLowerCase();switch(a){case "left":return"left";case "right":return"right";case "center":case "middle":return"center";case "top":return"top";case "bottom":return"bottom"}return b||"center"}function Nm(a){a=String(a).toLowerCase();switch(a){case "horizontal":case "h":case "horz":case "horiz":return"horizontal"}return"vertical"}
function Om(a,b){a=String(a).toLowerCase();switch(a){case "vertical":case "v":case "vert":return"vertical";case "horizontal":case "h":case "horz":case "horiz":return"horizontal";case "verticalexpandable":case "vexpandable":case "evertical":case "ve":case "vertical_expandable":return"verticalexpandable";case "horizontalexpandable":case "expandable":case "hexpandable":case "ehorizontal":case "he":case "horizontal_expandable":return"horizontalexpandable"}return b||"vertical"}
function Pm(a){a=String(a).toLowerCase();switch(a){case "radial":case "r":case "rad":return"radial"}return"circuit"}
function Qm(a,b){a=String(a).toLowerCase();switch(a){case "centertop":case "topcenter":case "top":case "t":case "up":case "u":return"top";case "rightcenter":case "centerright":case "right":case "r":return"right";case "bottomcenter":case "centerbottom":case "bottom":case "b":case "down":case "d":return"bottom";case "leftcenter":case "centerleft":case "left":case "l":return"left"}return b||"top"}
function Rm(a){a=String(a).toLowerCase();switch(a){case "desc":case "d":case "backward":case "b":case "reversed":case "reverse":case "r":return"desc";case "none":case "null":case "no":case "nosort":return"none"}return"asc"}
var Sm={gM:"circle",kN:"square",yN:"triangleUp",xM:"diamond",vN:"triangleDown",xN:"triangleRight",wN:"triangleLeft",jM:"cross",iC:"diagonalCross",mN:"star4",nN:"star5",oN:"star6",pN:"star7",lN:"star10",KM:"pentagon",uN:"trapezium",FM:"line",CN:"vline",FL:"arrowhead",JL:"arrowUp",IL:"arrowRight",GL:"arrowDown",HL:"arrowLeft"};
function Tm(a){a=String(a).toLowerCase();switch(a){case "line":return"line";case "vline":return"vline";case "star4":return"star4";case "star6":return"star6";case "star7":return"star7";case "star10":return"star10";case "diamond":return"diamond";case "triangleup":return"triangleUp";case "triangledown":return"triangleDown";case "triangleleft":return"triangleLeft";case "triangleright":return"triangleRight";case "cross":return"cross";case "diagonalcross":return"diagonalCross";case "circle":return"circle";
case "square":return"square";case "trapezoid":case "trapezium":return"trapezium";case "pentagon":return"pentagon";case "arrow":case "arrowhead":return"arrowhead";case "arrowup":case "up":return"arrowUp";case "arrowdown":case "down":return"arrowDown";case "arrowright":case "right":return"arrowRight";case "arrowleft":case "left":return"arrowLeft"}return"star5"}
function Um(a){a=String(a).toLowerCase();switch(a){case "star4":return"star4";case "star5":return"star5";case "star6":return"star6";case "star7":return"star7";case "star10":return"star10";case "diamond":return"diamond";case "triangleup":return"triangleUp";case "triangledown":return"triangleDown";case "triangleleft":return"triangleLeft";case "triangleright":return"triangleRight";case "cross":return"cross";case "diagonalcross":return"diagonalCross";case "circle":return"circle";case "square":return"square";
case "x":return Vm;case "line":return Wm;case "ellipse":return Xm;case "bar":return Ym;case "trapezoid":case "trapezium":return"trapezium";case "pentagon":return"pentagon";case "arrow":case "arrowhead":return"arrowhead";case "vline":return"vline";case "arrowup":case "up":return"arrowUp";case "arrowdown":case "down":return"arrowDown";case "arrowright":case "right":return"arrowRight";case "arrowleft":case "left":return"arrowLeft"}return null}
function Zm(a,b,c){a=String(a).toLowerCase();switch(a){case "no":case "false":case "nooverlap":case "none":case "null":case "forbid":case "0":return"noOverlap";case "yes":case "allow":case "overlap":case "allowoverlap":case "true":case "1":return"allowOverlap";case "autowidth":if(c)return"autoWidth"}return b||"allowOverlap"}
function $m(a){a=String(a).toLowerCase();switch(a){case "area":return"area";case "bar":return"bar";case "bubble":return"bubble";case "candlestick":return"candlestick";case "column":return"column";case "line":return"line";case "marker":return"marker";case "ohlc":return"ohlc";case "rangearea":return"rangearea";case "rangebar":return"rangebar";case "rangecolumn":return"rangecolumn";case "rangesplinearea":return"rangesplinearea";case "rangesteparea":return"rangesteparea";case "spline":return"spline";
case "splinearea":return"splinearea";case "stepline":return"stepline";case "steparea":return"steparea";case "circle":return"circle";case "star4":return"star4";case "star5":return"star5";case "star6":return"star6";case "star7":return"star7";case "star10":return"star10";case "diamond":return"diamond";case "triangleup":return"triangleup";case "triangledown":return"triangledown";case "cross":return"cross";case "diagonalcross":return"diagonalcross";case "trapezoid":case "trapezium":return"trapezium";case "pentagon":return"pentagon";
case "arrow":case "arrowhead":return"arrowhead";case "vline":return"vline";case "rf":case "risingfalling":return"risingfalling"}return"square"}var Vm="x",Wm="line",Xm="ellipse",Ym="bar";function an(a){a=String(a).toLowerCase();switch(a){case "outside":case "out":case "o":case "outer":return"outside";case "middle":case "mid":case "m":case "center":case "c":return"center"}return"inside"}
function bn(a){a=String(a).toLowerCase();switch(a){case "value":case "values":case "val":case "v":case "true":case "yes":case "y":case "t":case "1":return"value";case "percent":case "ratio":case "relative":case "p":case "r":return"percent"}return"none"}function cn(a){a=String(a).toLowerCase();switch(a){case "series":case "datastart":case "seriesstart":return"seriesStart";case "firstvisible":case "first":case "default":return"firstVisible"}return null}
function dn(a){a=String(a).toLowerCase();switch(a){case "firstdate":case "fd":return"firstDate";case "firstvisibledate":case "fvd":return"firstVisibleDate";case "lastvisibledate":case "lvd":return"lastVisibleDate";case "lastdate":case "ld":return"lastDate"}return m(void 0)?void 0:"firstVisibleDate"}function en(a){a=String(a).toLowerCase();switch(a){case "raw":return"raw";case "selected":return"selected";case "grouped":return"grouped"}return"default"}
function sn(a,b,c){a=String(a).toLowerCase();switch(a){case "years":case "year":case "yyyy":case "yy":case "y":return"year";case "semesters":case "semester":case "sem":return"semester";case "quarters":case "quarter":case "q":return"quarter";case "months":case "month":case "mm":case "m":return"month";case "thirdofmonths":case "thirdofmonth":case "decades":case "decade":case "tom":case "dec":return"thirdofmonth";case "weeks":case "week":case "w":return"week";case "days":case "day":case "dd":case "d":return"day";
case "hours":case "hour":case "hh":case "h":return c?"day":"hour";case "minutes":case "minute":case "min":case "n":return c?"day":"minute";case "seconds":case "second":case "secs":case "sec":case "s":return c?"day":"second";case "milliseconds":case "millisecond":case "millis":case "milli":case "ms":return c?"day":"millisecond"}return m(b)?b:"year"}function tn(a){A(a)&&(a=a.mode);a=String(a).toLowerCase();switch(a){case "byword":return"byWord";case "bychar":return"byChar"}return"csv"}
function un(a){a=String(a).toLowerCase();switch(a){case "left":case "l":return"left";case "right":case "r":return"right";case "center":case "middle":case "c":case "m":return"center";case "end":case "e":return"end"}return"start"}function vn(a){a=String(a).toLowerCase();switch(a){case "bottom":case "b":return"bottom";case "center":case "middle":case "c":case "m":return"middle"}return"top"}
function wn(a){a=String(a).toLowerCase();switch(a){case "blink":case "b":return"blink";case "line-through":case "line_through":case "linethrough":case "line":case "l":return"line-through";case "overline":case "over":case "o":return"overline";case "underline":case "under":case "u":return"underline"}return"none"}function xn(a){a=String(a).toLowerCase();switch(a){case "italic":case "i":return"italic";case "oblique":case "o":return"oblique"}return"normal"}
function yn(a){a=String(a).toLowerCase();switch(a){case "small-caps":case "small_caps":case "smallcaps":case "small":case "caps":case "sc":case "s":case "c":return"small-caps"}return"normal"}function zn(a){a=String(a).toLowerCase();switch(a){case "rtl":case "r":return"rtl"}return"ltr"}function An(a){a=String(a).toLowerCase();switch(a){case "nowrap":case "no":case "n":return"noWrap";case "byword":return"byWord";default:return"byLetter"}}
function Bn(a){a=String(a).toLowerCase();switch(a){case "first":case "open":return"first";case "last":case "close":return"last";case "max":case "high":case "maximum":case "highest":return"max";case "min":case "low":case "minimum":case "lowest":return"min";case "average":case "avg":return"average";case "weightedaverage":case "weightedavg":case "wavg":case "weights":case "weighted":return"weightedAverage";case "firstvalue":case "firstval":case "openvalue":case "openval":return"firstValue";case "lastvalue":case "lastval":case "closevalue":case "closeval":case "fill":case "hoverfill":case "risingfill":case "hoverrisingfill":case "fallingfill":case "hoverfallingfill":case "stroke":case "hoverstroke":case "lowstroke":case "hoverlowstroke":case "highstroke":case "hoverhighstroke":case "risingstroke":case "hoverrisingstroke":case "fallingstroke":case "hoverfallingstroke":case "hatchfill":case "hoverhatchfill":case "risinghatchfill":case "hoverrisinghatchfill":case "fallinghatchfill":case "hoverfallinghatchfill":case "marker":case "hovermarker":return"lastValue";
case "sum":case "add":return"sum";case "list":case "group":case "array":return"list";default:return"last"}}function Cn(a){if(!a)return"exact";a=String(a).toLowerCase();switch(a){default:return"exact";case "exactornext":case "next":case "n":return"exactOrNext";case "exactorprev":case "prev":case "p":return"exactOrPrev";case "nearest":case "near":case "closest":case "close":case "c":return"nearest"}}
var Dn={KL:"average",EB:"bubbleSize",FB:"bubbleSizePercentOfCategory",GB:"bubbleSizePercentOfSeries",HB:"bubbleSizePercentOfTotal",NL:"categoryName",IB:"categoryYAverage",PL:"categoryYMax",JB:"categoryYMedian",SL:"categoryYMin",KB:"categoryYMode",LB:"categoryYPercentOfTotal",VL:"categoryYRangeAverage",MB:"categoryYRangeMax",YL:"categoryYRangeMedian",NB:"categoryYRangeMin",aM:"categoryYRangeMode",OB:"categoryYRangePercentOfTotal",PB:"categoryYRangeSum",QB:"categoryYSum",RB:"close",iM:"count",SB:"dataPlotBubbleMaxSize",
TB:"dataPlotBubbleMinSize",UB:"dataPlotBubbleSizeAverage",VB:"dataPlotBubbleSizeSum",oM:"dataPlotMaxXSumSeriesName",qM:"dataPlotMaxYSumSeriesName",pM:"dataPlotMaxXValuePointSeriesName",rM:"dataPlotMaxYValuePointSeriesName",sM:"dataPlotMinXSumSeriesName",uM:"dataPlotMinYSumSeriesName",tM:"dataPlotMinXValuePointSeriesName",vM:"dataPlotMinYValuePointSeriesName",WB:"dataPlotPointCount",XB:"dataPlotSeriesCount",YB:"dataPlotXAverage",ZB:"dataPlotXMax",$B:"dataPlotXMin",aC:"dataPlotXSum",bC:"dataPlotYAverage",
cC:"dataPlotYMax",dC:"dataPlotYMin",eC:"dataPlotYRangeMax",fC:"dataPlotYRangeMin",gC:"dataPlotYRangeSum",hC:"dataPlotYSum",kC:"high",lC:"index",mC:"low",GM:"max",IM:"min",JM:"name",OPEN:"open",$M:"pointsCount",XM:"pertChartCriticalPathStandardDeviation",YM:"pertChartProjectDuration",qC:"range",rC:"rangeEnd",sC:"rangeStart",bN:"seriesAverage",uC:"seriesBubbleMaxSize",vC:"seriesBubbleMinSize",wC:"seriesBubbleSizeAverage",xC:"seriesBubbleSizeMedian",yC:"seriesBubbleSizeMode",zC:"seriesBubbleSizeSum",
AC:"seriesFirstXValue",BC:"seriesFirstYValue",CC:"seriesLastXValue",DC:"seriesLastYValue",cN:"seriesMax",dN:"seriesMin",eN:"seriesName",FC:"seriesPointCount",EC:"seriesPointsCount",fN:"seriesSum",GC:"seriesXAverage",HC:"seriesXMax",IC:"seriesXMedian",JC:"seriesXMin",KC:"seriesXMode",LC:"seriesXSum",MC:"seriesYAverage",NC:"seriesYMax",OC:"seriesYMedian",PC:"seriesYMin",QC:"seriesYMode",gN:"seriesYRangeAverage",RC:"seriesYRangeMax",hN:"seriesYRangeMedian",SC:"seriesYRangeMin",iN:"seriesYRangeMode",
TC:"seriesYRangeSum",UC:"seriesYSum",sN:"sum",XC:"value",oC:"percentValue",ZC:"xPercentOfSeries",$C:"xPercentOfTotal",aD:"xValue",bD:"yPercentOfCategory",cD:"yPercentOfSeries",dD:"yPercentOfTotal",eD:"yValue",GN:"xScalesMin",FN:"xScalesMax",IN:"yScalesMin",HN:"yScalesMax",dM:"catYSumArr_",TL:"catYMinArr_",QL:"catYMaxArr_",OL:"catYAvgArr_",RL:"catYMedianArr_",UL:"catYModeArr_",cM:"catYRangeSumArr_",$L:"catYRangeMinArr_",XL:"catYRangeMaxArr_",WL:"catYRangeAvgArr_",ZL:"catYRangeMedianArr_",bM:"catYRangeModeArr_"},
En={},Fn;for(Fn in Dn)Dn.hasOwnProperty(Fn)&&(En[Fn]=Dn[Fn].toLowerCase());function Gn(a){a=String(a).toLowerCase();switch(a){case "rhomb":case "rhombus":return"rhombus";case "rect":case "rectangle":return"rectangle";default:return"circle"}}function Hn(a){a=String(a).toLowerCase();switch(a){case "y":case "year":return"year";case "w":case "week":return"week";case "d":case "day":return"day"}return"none"}
function In(a){a=String(a).toLowerCase();switch(a){case "availabilityperchart":return"availabilityPerChart";case "availabilityperresource":return"availabilityPerResource";case "activityperchart":return"activityPerChart";default:return"activityPerResource"}}F("anychart.enums.RadialGridLayout.CIRCUIT","circuit");F("anychart.enums.RadialGridLayout.RADIAL","radial");F("anychart.enums.HoverMode.BY_SPOT","bySpot");F("anychart.enums.HoverMode.BY_X","byX");F("anychart.enums.SelectionMode.NONE","none");
F("anychart.enums.SelectionMode.SINGLE_SELECT","singleSelect");F("anychart.enums.SelectionMode.MULTI_SELECT","multiSelect");F("anychart.enums.SelectionMode.DRILL_DOWN","drillDown");F("anychart.enums.Anchor.LEFT_TOP","leftTop");F("anychart.enums.Anchor.LEFT_CENTER","leftCenter");F("anychart.enums.Anchor.LEFT_BOTTOM","leftBottom");F("anychart.enums.Anchor.CENTER_TOP","centerTop");F("anychart.enums.Anchor.CENTER","center");F("anychart.enums.Anchor.CENTER_BOTTOM","centerBottom");
F("anychart.enums.Anchor.RIGHT_TOP","rightTop");F("anychart.enums.Anchor.RIGHT_CENTER","rightCenter");F("anychart.enums.Anchor.RIGHT_BOTTOM","rightBottom");F("anychart.enums.Anchor.AUTO","auto");F("anychart.enums.Cursor.DEFAULT","default");F("anychart.enums.Cursor.CROSSHAIR","crosshair");F("anychart.enums.Cursor.POINTER","pointer");F("anychart.enums.Cursor.MOVE","move");F("anychart.enums.Cursor.TEXT","text");F("anychart.enums.Cursor.WAIT","wait");F("anychart.enums.Cursor.HELP","help");
F("anychart.enums.Cursor.N_RESIZE","n-resize");F("anychart.enums.Cursor.NE_RESIZE","ne-resize");F("anychart.enums.Cursor.E_RESIZE","e-resize");F("anychart.enums.Cursor.SE_RESIZE","se-resize");F("anychart.enums.Cursor.S_RESIZE","s-resize");F("anychart.enums.Cursor.SW_RESIZE","sw-resize");F("anychart.enums.Cursor.W_RESIZE","w-resize");F("anychart.enums.Cursor.NW_RESIZE","nw-resize");F("anychart.enums.Position.LEFT_TOP","leftTop");F("anychart.enums.Position.LEFT_CENTER","leftCenter");
F("anychart.enums.Position.LEFT_BOTTOM","leftBottom");F("anychart.enums.Position.CENTER_TOP","centerTop");F("anychart.enums.Position.CENTER","center");F("anychart.enums.Position.CENTER_BOTTOM","centerBottom");F("anychart.enums.Position.RIGHT_TOP","rightTop");F("anychart.enums.Position.RIGHT_CENTER","rightCenter");F("anychart.enums.Position.RIGHT_BOTTOM","rightBottom");F("anychart.enums.Align.CENTER","center");F("anychart.enums.Align.LEFT","left");F("anychart.enums.Align.RIGHT","right");
F("anychart.enums.Align.TOP","top");F("anychart.enums.Align.BOTTOM","bottom");F("anychart.enums.Orientation.LEFT","left");F("anychart.enums.Orientation.RIGHT","right");F("anychart.enums.Orientation.TOP","top");F("anychart.enums.Orientation.BOTTOM","bottom");F("anychart.enums.Layout.HORIZONTAL","horizontal");F("anychart.enums.Layout.VERTICAL","vertical");F("anychart.enums.LegendLayout.HORIZONTAL","horizontal");F("anychart.enums.LegendLayout.VERTICAL","vertical");
F("anychart.enums.LegendLayout.HORIZONTAL_EXPANDABLE","horizontalexpandable");F("anychart.enums.LegendLayout.VERTICAL_EXPANDABLE","verticalexpandable");F("anychart.enums.LegendPositionMode.INSIDE","inside");F("anychart.enums.LegendPositionMode.OUTSIDE","outside");F("anychart.enums.Sort.NONE","none");F("anychart.enums.Sort.ASC","asc");F("anychart.enums.Sort.DESC","desc");F("anychart.enums.BulletMarkerType.X",Vm);F("anychart.enums.BulletMarkerType.BAR",Ym);
F("anychart.enums.BulletMarkerType.ELLIPSE",Xm);F("anychart.enums.BulletMarkerType.LINE",Wm);F("anychart.enums.MarkerType.CIRCLE","circle");F("anychart.enums.MarkerType.SQUARE","square");F("anychart.enums.MarkerType.TRIANGLE_UP","triangleUp");F("anychart.enums.MarkerType.DIAMOND","diamond");F("anychart.enums.MarkerType.TRIANGLE_DOWN","triangleDown");F("anychart.enums.MarkerType.TRIANGLE_LEFT","triangleLeft");F("anychart.enums.MarkerType.TRIANGLE_RIGHT","triangleRight");
F("anychart.enums.MarkerType.CROSS","cross");F("anychart.enums.MarkerType.DIAGONAL_CROSS","diagonalCross");F("anychart.enums.MarkerType.STAR4","star4");F("anychart.enums.MarkerType.STAR5","star5");F("anychart.enums.MarkerType.STAR6","star6");F("anychart.enums.MarkerType.STAR7","star7");F("anychart.enums.MarkerType.STAR10","star10");F("anychart.enums.MarkerType.PENTAGON","pentagon");F("anychart.enums.MarkerType.TRAPEZIUM","trapezium");F("anychart.enums.MarkerType.LINE","line");
F("anychart.enums.MapAsTableMode.VALUE","value");F("anychart.enums.MapAsTableMode.RANGE","range");F("anychart.enums.MapAsTableMode.OHLC","ohlc");F("anychart.enums.MapProjections.BONNE","bonne");F("anychart.enums.MapProjections.AITOFF","aitoff");F("anychart.enums.MapProjections.AUGUST","august");F("anychart.enums.MapProjections.ECKERT1","eckert1");F("anychart.enums.MapProjections.ECKERT3","eckert3");F("anychart.enums.MapProjections.EQUIRECTANGULAR","equirectangular");
F("anychart.enums.MapProjections.FAHEY","fahey");F("anychart.enums.MapProjections.HAMMER","hammer");F("anychart.enums.MapProjections.MERCATOR","mercator");F("anychart.enums.MapProjections.ORTHOGRAPHIC","orthographic");F("anychart.enums.MapProjections.ROBINSON","robinson");F("anychart.enums.MapProjections.WAGNER6","wagner6");F("anychart.enums.MapProjections.WSG84","wsg84");F("anychart.enums.MapGridZIndex.UNDER_MAP",5);F("anychart.enums.MapGridZIndex.OVER_MAP",45);
F("anychart.enums.MapUnboundRegionsMode.AS_IS","asis");F("anychart.enums.MapUnboundRegionsMode.HIDE","hide");F("anychart.enums.MapPointMiddlePositionMode.ABSOLUTE","absolute");F("anychart.enums.MapPointMiddlePositionMode.RELATIVE","relative");F("anychart.enums.MapPointOutsidePositionMode.RELATIVE","relative");F("anychart.enums.MapPointOutsidePositionMode.ABSOLUTE","absolute");F("anychart.enums.MapPointOutsidePositionMode.OFFSET","offset");F("anychart.enums.TreeFillingMethod.AS_TREE","asTree");
F("anychart.enums.TreeFillingMethod.AS_TABLE","asTable");F("anychart.enums.LabelsOverlapMode.ALLOW_OVERLAP","allowOverlap");F("anychart.enums.LabelsOverlapMode.NO_OVERLAP","noOverlap");F("anychart.enums.BackgroundCornersType.NONE","none");F("anychart.enums.BackgroundCornersType.ROUND","round");F("anychart.enums.BackgroundCornersType.CUT","cut");F("anychart.enums.BackgroundCornersType.ROUND_INNER","roundInner");F("anychart.enums.LegendItemIconType.AREA","area");
F("anychart.enums.LegendItemIconType.BAR","bar");F("anychart.enums.LegendItemIconType.BUBBLE","bubble");F("anychart.enums.LegendItemIconType.CANDLESTICK","candlestick");F("anychart.enums.LegendItemIconType.COLUMN","column");F("anychart.enums.LegendItemIconType.LINE","line");F("anychart.enums.LegendItemIconType.MARKER","marker");F("anychart.enums.LegendItemIconType.OHLC","ohlc");F("anychart.enums.LegendItemIconType.RANGE_AREA","rangearea");F("anychart.enums.LegendItemIconType.RANGE_BAR","rangebar");
F("anychart.enums.LegendItemIconType.RANGE_COLUMN","rangecolumn");F("anychart.enums.LegendItemIconType.RANGE_SPLINE_AREA","rangesplinearea");F("anychart.enums.LegendItemIconType.RANGE_STEP_AREA","rangesteparea");F("anychart.enums.LegendItemIconType.SPLINE","spline");F("anychart.enums.LegendItemIconType.SPLINE_AREA","splinearea");F("anychart.enums.LegendItemIconType.STEP_LINE","stepline");F("anychart.enums.LegendItemIconType.STEP_AREA","steparea");F("anychart.enums.LegendItemIconType.CIRCLE","circle");
F("anychart.enums.LegendItemIconType.SQUARE","square");F("anychart.enums.LegendItemsSourceMode.DEFAULT","default");F("anychart.enums.LegendItemsSourceMode.CATEGORIES","categories");F("anychart.enums.SidePosition.INSIDE","inside");F("anychart.enums.SidePosition.OUTSIDE","outside");F("anychart.enums.PyramidLabelsPosition.INSIDE","inside");F("anychart.enums.PyramidLabelsPosition.OUTSIDE_LEFT","outsideLeft");F("anychart.enums.PyramidLabelsPosition.OUTSIDE_LEFT_IN_COLUMN","outsideLeftInColumn");
F("anychart.enums.PyramidLabelsPosition.OUTSIDE_RIGHT","outsideRight");F("anychart.enums.PyramidLabelsPosition.OUTSIDE_RIGHT_IN_COLUMN","outsideRightInColumn");F("anychart.enums.GaugeSidePosition.INSIDE","inside");F("anychart.enums.GaugeSidePosition.CENTER","center");F("anychart.enums.GaugeSidePosition.OUTSIDE","outside");F("anychart.enums.EventType.POINT_MOUSE_OUT","pointmouseout");F("anychart.enums.EventType.POINT_MOUSE_OVER","pointmouseover");F("anychart.enums.EventType.POINT_MOUSE_DOWN","pointmousedown");
F("anychart.enums.EventType.POINT_MOUSE_UP","pointmouseup");F("anychart.enums.EventType.POINT_MOUSE_MOVE","pointmousemove");F("anychart.enums.EventType.POINT_CLICK","pointclick");F("anychart.enums.EventType.POINT_DBLCLICK","pointdblclick");F("anychart.enums.EventType.POINT_HOVER","pointhover");F("anychart.enums.EventType.POINTS_SELECT","pointsselect");F("anychart.enums.EventType.POINTS_HOVER","pointshover");F("anychart.enums.EventType.DRILL_CHANGE","drillchange");
F("anychart.enums.EventType.CHART_DRAW","chartdraw");F("anychart.enums.EventType.ANIMATION_START","animationstart");F("anychart.enums.EventType.ANIMATION_END","animationend");F("anychart.enums.EventType.ZOOM_START","zoomstart");F("anychart.enums.EventType.ZOOM","zoom");F("anychart.enums.EventType.ZOOM_END","zoomend");F("anychart.enums.EventType.LEGEND_ITEM_MOUSE_OUT","legenditemmouseout");F("anychart.enums.EventType.LEGEND_ITEM_MOUSE_OVER","legenditemmouseover");
F("anychart.enums.EventType.LEGEND_ITEM_MOUSE_MOVE","legenditemmousemove");F("anychart.enums.EventType.LEGEND_ITEM_MOUSE_DOWN","legenditemmousedown");F("anychart.enums.EventType.LEGEND_ITEM_MOUSE_UP","legenditemmouseup");F("anychart.enums.EventType.LEGEND_ITEM_CLICK","legenditemclick");F("anychart.enums.EventType.LEGEND_ITEM_DBLCLICK","legenditemdblclick");F("anychart.enums.EventType.DRAG_START","dragstart");F("anychart.enums.EventType.DRAG","drag");F("anychart.enums.EventType.DRAG_END","dragend");
F("anychart.enums.EventType.SCROLL_CHANGE","scrollchange");F("anychart.enums.EventType.SPLITTER_CHANGE","splitterchange");F("anychart.enums.EventType.SIGNAL","signal");F("anychart.enums.EventType.ROW_SELECT","rowSelect");F("anychart.enums.EventType.ROW_CLICK","rowClick");F("anychart.enums.EventType.ROW_DBL_CLICK","rowDblClick");F("anychart.enums.EventType.ROW_MOUSE_OVER","rowMouseOver");F("anychart.enums.EventType.ROW_MOUSE_OUT","rowMouseOut");F("anychart.enums.EventType.ROW_MOUSE_MOVE","rowMouseMove");
F("anychart.enums.EventType.ROW_MOUSE_DOWN","rowMouseDown");F("anychart.enums.EventType.ROW_MOUSE_UP","rowMouseUp");F("anychart.enums.EventType.CONNECTOR_SELECT","connectorselect");F("anychart.enums.EventType.CONNECTOR_CLICK","connectorclick");F("anychart.enums.EventType.CONNECTOR_DBL_CLICK","connectordblclick");F("anychart.enums.EventType.CONNECTOR_MOUSE_OVER","connectormouseover");F("anychart.enums.EventType.CONNECTOR_MOUSE_OUT","connectormouseout");
F("anychart.enums.EventType.CONNECTOR_MOUSE_MOVE","connectormousemove");F("anychart.enums.EventType.CONNECTOR_MOUSE_DOWN","connectormousedown");F("anychart.enums.EventType.CONNECTOR_MOUSE_UP","connectormouseup");F("anychart.enums.EventType.ROW_COLLAPSE_EXPAND","rowcollapseexpand");F("anychart.enums.EventType.BEFORE_CREATE_CONNECTOR","beforeCreateConnector");F("anychart.enums.EventType.TREE_ITEM_CREATE","treeItemCreate");F("anychart.enums.EventType.TREE_ITEM_MOVE","treeItemMove");
F("anychart.enums.EventType.TREE_ITEM_REMOVE","treeItemRemove");F("anychart.enums.EventType.TREE_ITEM_UPDATE","treeItemUpdate");F("anychart.enums.ScaleStackMode.NONE","none");F("anychart.enums.ScaleStackMode.VALUE","value");F("anychart.enums.ScaleStackMode.PERCENT","percent");F("anychart.enums.ScaleComparisonMode.NONE","none");F("anychart.enums.ScaleComparisonMode.VALUE","value");F("anychart.enums.ScaleComparisonMode.PERCENT","percent");F("anychart.enums.ScaleCompareWithMode.SERIES_START","seriesStart");
F("anychart.enums.ScaleCompareWithMode.FIRST_VISIBLE","firstVisible");F("anychart.enums.ScatterTicksMode.LINEAR","linear");F("anychart.enums.ScatterTicksMode.LOGARITHMIC","logarithmic");F("anychart.enums.SparklineSeriesType.AREA","area");F("anychart.enums.SparklineSeriesType.LINE","line");F("anychart.enums.SparklineSeriesType.COLUMN","column");F("anychart.enums.SparklineSeriesType.WIN_LOSS","winLoss");F("anychart.enums.LinearGaugePointerType.BAR","bar");
F("anychart.enums.LinearGaugePointerType.RANGE_BAR","rangeBar");F("anychart.enums.LinearGaugePointerType.THERMOMETER","thermometer");F("anychart.enums.LinearGaugePointerType.MARKER","marker");F("anychart.enums.LinearGaugePointerType.TANK","tank");F("anychart.enums.LinearGaugePointerType.LED","led");F("anychart.enums.GanttDataFields.ACTUAL","actual");F("anychart.enums.GanttDataFields.ACTUAL_START","actualStart");F("anychart.enums.GanttDataFields.ACTUAL_END","actualEnd");
F("anychart.enums.GanttDataFields.BASELINE_START","baselineStart");F("anychart.enums.GanttDataFields.BASELINE_END","baselineEnd");F("anychart.enums.GanttDataFields.CHILDREN","children");F("anychart.enums.GanttDataFields.PROGRESS","progress");F("anychart.enums.GanttDataFields.PROGRESS_VALUE","progressValue");F("anychart.enums.GanttDataFields.MILESTONE","milestone");F("anychart.enums.GanttDataFields.NAME","name");F("anychart.enums.GanttDataFields.COLLAPSED","collapsed");
F("anychart.enums.GanttDataFields.ROW_HEIGHT","rowHeight");F("anychart.enums.GanttDataFields.ID","id");F("anychart.enums.GanttDataFields.PERIODS","periods");F("anychart.enums.GanttDataFields.PARENT","parent");F("anychart.enums.GanttDataFields.START","start");F("anychart.enums.GanttDataFields.END","end");F("anychart.enums.GanttDataFields.FILL","fill");F("anychart.enums.GanttDataFields.STROKE","stroke");F("anychart.enums.GanttDataFields.HOVER_FILL","hoverFill");
F("anychart.enums.GanttDataFields.HOVER_STROKE","hoverStroke");F("anychart.enums.GanttDataFields.CONNECT_TO","connectTo");F("anychart.enums.GanttDataFields.CONNECTOR","connector");F("anychart.enums.GanttDataFields.CONNECTOR_TYPE","connectorType");F("anychart.enums.GanttDataFields.START_MARKER","startMarker");F("anychart.enums.GanttDataFields.END_MARKER","endMarker");F("anychart.enums.GanttDataFields.LABEL","label");F("anychart.enums.GanttRangeAnchor.FIRST_DATE","firstDate");
F("anychart.enums.GanttRangeAnchor.FIRST_VISIBLE_DATE","firstVisibleDate");F("anychart.enums.GanttRangeAnchor.LAST_DATE","lastDate");F("anychart.enums.GanttRangeAnchor.LAST_VISIBLE_DATE","lastVisibleDate");F("anychart.enums.ConnectorType.FINISH_START","finishstart");F("anychart.enums.ConnectorType.FINISH_FINISH","finishfinish");F("anychart.enums.ConnectorType.START_FINISH","startfinish");F("anychart.enums.ConnectorType.START_START","startstart");F("anychart.enums.ColumnFormats.DIRECT_NUMBERING","directNumbering");
F("anychart.enums.ColumnFormats.TEXT","text");F("anychart.enums.ColumnFormats.SHORT_TEXT","shortText");F("anychart.enums.ColumnFormats.PERCENT","percent");F("anychart.enums.ColumnFormats.DATE_COMMON_LOG","dateCommonLog");F("anychart.enums.ColumnFormats.DATE_ISO_8601","dateIso8601");F("anychart.enums.ColumnFormats.DATE_US_SHORT","dateUsShort");F("anychart.enums.ColumnFormats.DATE_DMY_DOTS","dateDmyDots");F("anychart.enums.ColumnFormats.FINANCIAL","financial");
F("anychart.enums.GanttDateTimeMarkers.START","start");F("anychart.enums.GanttDateTimeMarkers.END","end");F("anychart.enums.GanttDateTimeMarkers.CURRENT","current");F("anychart.enums.DataField.DEPENDS_ON","dependsOn");F("anychart.enums.DataField.OPTIMISTIC","optimistic");F("anychart.enums.DataField.PESSIMISTIC","pessimistic");F("anychart.enums.DataField.MOST_LIKELY","mostLikely");F("anychart.enums.DataField.EXPECTED","expected");F("anychart.enums.DataField.FROM","from");
F("anychart.enums.DataField.TO","to");F("anychart.enums.DataField.ID","id");F("anychart.enums.DataField.NAME","name");F("anychart.enums.Interval.YEARS","year");F("anychart.enums.Interval.MONTHS","month");F("anychart.enums.Interval.DAYS","day");F("anychart.enums.Interval.HOURS","hour");F("anychart.enums.Interval.MINUTES","minute");F("anychart.enums.Interval.SECONDS","second");F("anychart.enums.Interval.YEAR","year");F("anychart.enums.Interval.SEMESTER","semester");
F("anychart.enums.Interval.QUARTER","quarter");F("anychart.enums.Interval.MONTH","month");F("anychart.enums.Interval.THIRD_OF_MONTH","thirdofmonth");F("anychart.enums.Interval.WEEK","week");F("anychart.enums.Interval.DAY","day");F("anychart.enums.Interval.HOUR","hour");F("anychart.enums.Interval.MINUTE","minute");F("anychart.enums.Interval.SECOND","second");F("anychart.enums.Interval.MILLISECOND","millisecond");F("anychart.enums.ErrorMode.NONE","none");F("anychart.enums.ErrorMode.X","x");
F("anychart.enums.ErrorMode.VALUE","value");F("anychart.enums.ErrorMode.BOTH","both");F("anychart.enums.ScaleTypes.LINEAR","linear");F("anychart.enums.ScaleTypes.LOG","log");F("anychart.enums.ScaleTypes.DATE_TIME","dateTime");F("anychart.enums.ScaleTypes.ORDINAL","ordinal");F("anychart.enums.ScatterScaleTypes.LINEAR","linear");F("anychart.enums.ScatterScaleTypes.LOG","log");F("anychart.enums.ScatterScaleTypes.DATE_TIME","dateTime");F("anychart.enums.GaugeScaleTypes.LINEAR","linear");
F("anychart.enums.GaugeScaleTypes.LOG","log");F("anychart.enums.AggregationType.AVERAGE","average");F("anychart.enums.AggregationType.FIRST","first");F("anychart.enums.AggregationType.FIRST_VALUE","firstValue");F("anychart.enums.AggregationType.LAST","last");F("anychart.enums.AggregationType.LAST_VALUE","lastValue");F("anychart.enums.AggregationType.LIST","list");F("anychart.enums.AggregationType.MAX","max");F("anychart.enums.AggregationType.MIN","min");F("anychart.enums.AggregationType.SUM","sum");
F("anychart.enums.AggregationType.WEIGHTED_AVERAGE","weightedAverage");F("anychart.enums.TooltipDisplayMode.UNION","union");F("anychart.enums.TooltipDisplayMode.SEPARATED","separated");F("anychart.enums.TooltipDisplayMode.SINGLE","single");F("anychart.enums.TooltipPositionMode.FLOAT","float");F("anychart.enums.TooltipPositionMode.POINT","point");F("anychart.enums.TooltipPositionMode.CHART","chart");F("anychart.enums.CrosshairDisplayMode.FLOAT","float");
F("anychart.enums.CrosshairDisplayMode.STICKY","sticky");F("anychart.enums.StockLabelsOverlapMode.NO_OVERLAP","noOverlap");F("anychart.enums.StockLabelsOverlapMode.ALLOW_OVERLAP","allowOverlap");F("anychart.enums.StockLabelsOverlapMode.ALLOW_MAJOR_OVERLAP","allowMajorOverlap");F("anychart.enums.StockLabelsOverlapMode.ALLOW_MINOR_OVERLAP","allowMinorOverlap");F("anychart.enums.StockRangeType.UNIT","Unit");F("anychart.enums.StockRangeType.YTD","YTD");F("anychart.enums.StockRangeType.QTD","QTD");
F("anychart.enums.StockRangeType.MTD","MTD");F("anychart.enums.StockRangeType.MAX","Max");F("anychart.enums.StockRangeAnchor.FIRST_DATE","firstDate");F("anychart.enums.StockRangeAnchor.FIRST_VISIBLE_DATE","firstVisibleDate");F("anychart.enums.StockRangeAnchor.LAST_VISIBLE_DATE","lastVisibleDate");F("anychart.enums.StockRangeAnchor.LAST_DATE","lastDate");F("anychart.enums.TableSearchMode.EXACT_OR_PREV","exactOrPrev");F("anychart.enums.TableSearchMode.EXACT","exact");
F("anychart.enums.TableSearchMode.EXACT_OR_NEXT","exactOrNext");F("anychart.enums.TableSearchMode.NEAREST","nearest");F("anychart.enums.ChartScrollerPosition.AFTER_AXES","afterAxes");F("anychart.enums.ChartScrollerPosition.BEFORE_AXES","beforeAxes");F("anychart.enums.LabelsDisplayMode.ALWAYS_SHOW","alwaysShow");F("anychart.enums.LabelsDisplayMode.DROP","drop");F("anychart.enums.LabelsDisplayMode.CLIP","clip");F("anychart.enums.StepDirection.CENTER","center");
F("anychart.enums.StepDirection.FORWARD","forward");F("anychart.enums.StepDirection.BACKWARD","backward");F("anychart.enums.TokenType.UNKNOWN","");F("anychart.enums.TokenType.NUMBER","number");F("anychart.enums.TokenType.STRING","string");F("anychart.enums.TokenType.DATE_TIME","datetime");F("anychart.enums.TokenType.PERCENT","percent");F("anychart.enums.StringToken.AXIS_NAME","%AxisName");F("anychart.enums.StringToken.AXIS_SCALE_MAX","%AxisScaleMax");
F("anychart.enums.StringToken.AXIS_SCALE_MIN","%AxisScaleMin");F("anychart.enums.StringToken.BUBBLE_SIZE","%BubbleSize");F("anychart.enums.StringToken.BUBBLE_SIZE_PERCENT_OF_CATEGORY","%BubbleSizePercentOfCategory");F("anychart.enums.StringToken.BUBBLE_SIZE_PERCENT_OF_SERIES","%BubbleSizePercentOfSeries");F("anychart.enums.StringToken.BUBBLE_SIZE_PERCENT_OF_TOTAL","%BubbleSizePercentOfTotal");F("anychart.enums.StringToken.CATEGORY_NAME","%CategoryName");
F("anychart.enums.StringToken.CATEGORY_Y_AVERAGE","%CategoryYAverage");F("anychart.enums.StringToken.CATEGORY_Y_MEDIAN","%CategoryYMedian");F("anychart.enums.StringToken.CATEGORY_Y_MODE","%CategoryYMode");F("anychart.enums.StringToken.CATEGORY_Y_PERCENT_OF_TOTAL","%CategoryYPercentOfTotal");F("anychart.enums.StringToken.CATEGORY_Y_RANGE_AVERAGE","%CategoryYRangeAverage");F("anychart.enums.StringToken.CATEGORY_Y_RANGE_PERCENT_OF_TOTAL","%CategoryYRangePercentOfTotal");
F("anychart.enums.StringToken.CATEGORY_Y_RANGE_MAX","%CategoryYRangeMax");F("anychart.enums.StringToken.CATEGORY_Y_RANGE_MIN","%CategoryYRangeMin");F("anychart.enums.StringToken.CATEGORY_Y_RANGE_MEDIAN","%CategoryYRangeMedian");F("anychart.enums.StringToken.CATEGORY_Y_RANGE_MODE","%CategoryYRangeMode");F("anychart.enums.StringToken.CATEGORY_Y_RANGE_SUM","%CategoryYRangeSum");F("anychart.enums.StringToken.CATEGORY_Y_SUM","%CategoryYSum");F("anychart.enums.StringToken.CLOSE","%Close");
F("anychart.enums.StringToken.DATA_PLOT_BUBBLE_MAX_SIZE","%DataPlotBubbleMaxSize");F("anychart.enums.StringToken.DATA_PLOT_BUBBLE_MIN_SIZE","%DataPlotBubbleMinSize");F("anychart.enums.StringToken.DATA_PLOT_BUBBLE_SIZE_AVERAGE","%DataPlotBubbleSizeAverage");F("anychart.enums.StringToken.DATA_PLOT_BUBBLE_SIZE_SUM","%DataPlotBubbleSizeSum");F("anychart.enums.StringToken.DATA_PLOT_MAX_Y_SUM_SERIES_NAME","%DataPlotMaxYSumSeriesName");F("anychart.enums.StringToken.DATA_PLOT_MAX_Y_VALUE_POINT_NAME","%DataPlotMaxYValuePointName");
F("anychart.enums.StringToken.DATA_PLOT_MAX_Y_VALUE_POINT_SERIES_NAME","%DataPlotMaxYValuePointSeriesName");F("anychart.enums.StringToken.DATA_PLOT_MIN_Y_SUM_SERIES_NAME","%DataPlotMinYSumSeriesName");F("anychart.enums.StringToken.DATA_PLOT_MIN_Y_VALUE_POINT_NAME","%DataPlotMinYValuePointName");F("anychart.enums.StringToken.DATA_PLOT_MIN_Y_VALUE_POINT_SERIES_NAME","%DataPlotMinYValuePointSeriesName");F("anychart.enums.StringToken.DATA_PLOT_POINT_COUNT","%DataPlotPointCount");
F("anychart.enums.StringToken.DATA_PLOT_SERIES_COUNT","%DataPlotSeriesCount");F("anychart.enums.StringToken.DATA_PLOT_X_AVERAGE","%DataPlotXAverage");F("anychart.enums.StringToken.DATA_PLOT_X_MAX","%DataPlotXMax");F("anychart.enums.StringToken.DATA_PLOT_X_MIN","%DataPlotXMin");F("anychart.enums.StringToken.DATA_PLOT_X_SUM","%DataPlotXSum");F("anychart.enums.StringToken.DATA_PLOT_Y_AVERAGE","%DataPlotYAverage");F("anychart.enums.StringToken.DATA_PLOT_Y_MAX","%DataPlotYMax");
F("anychart.enums.StringToken.DATA_PLOT_Y_MIN","%DataPlotYMin");F("anychart.enums.StringToken.DATA_PLOT_Y_RANGE_MAX","%DataPlotYRangeMax");F("anychart.enums.StringToken.DATA_PLOT_Y_RANGE_MIN","%DataPlotYRangeMin");F("anychart.enums.StringToken.DATA_PLOT_Y_RANGE_SUM","%DataPlotYRangeSum");F("anychart.enums.StringToken.DATA_PLOT_Y_SUM","%DataPlotYSum");F("anychart.enums.StringToken.HIGH","%High");F("anychart.enums.StringToken.INDEX","%Index");F("anychart.enums.StringToken.LOW","%Low");
F("anychart.enums.StringToken.NAME","%Name");F("anychart.enums.StringToken.OPEN","%Open");F("anychart.enums.StringToken.PERT_CHART_CRITICAL_PATH_STANDARD_DEVIATION","%PertChartCriticalPathStandardDeviation");F("anychart.enums.StringToken.PERT_CHART_PROJECT_DURATION","%PertChartProjectDuration");F("anychart.enums.StringToken.RANGE","%Range");F("anychart.enums.StringToken.RANGE_END","%RangeEnd");F("anychart.enums.StringToken.RANGE_START","%RangeStart");
F("anychart.enums.StringToken.SERIES_BUBBLE_MAX_SIZE","%SeriesBubbleMaxSize");F("anychart.enums.StringToken.SERIES_BUBBLE_MIN_SIZE","%SeriesBubbleMinSize");F("anychart.enums.StringToken.SERIES_BUBBLE_SIZE_AVERAGE","%SeriesBubbleSizeAverage");F("anychart.enums.StringToken.SERIES_BUBBLE_SIZE_MEDIAN","%SeriesBubbleSizeMedian");F("anychart.enums.StringToken.SERIES_BUBBLE_SIZE_MODE","%SeriesBubbleSizeMode");F("anychart.enums.StringToken.SERIES_BUBBLE_SIZE_SUM","%SeriesBubbleSizeSum");
F("anychart.enums.StringToken.SERIES_FIRST_X_VALUE","%SeriesFirstXValue");F("anychart.enums.StringToken.SERIES_FIRST_Y_VALUE","%SeriesFirstYValue");F("anychart.enums.StringToken.SERIES_LAST_X_VALUE","%SeriesLastXValue");F("anychart.enums.StringToken.SERIES_LAST_Y_VALUE","%SeriesLastYValue");F("anychart.enums.StringToken.SERIES_MIN","%SeriesMin");F("anychart.enums.StringToken.SERIES_MAX","%SeriesMax");F("anychart.enums.StringToken.SERIES_NAME","%SeriesName");
F("anychart.enums.StringToken.SERIES_POINT_COUNT","%SeriesPointCount");F("anychart.enums.StringToken.SERIES_X_AVERAGE","%SeriesXAverage");F("anychart.enums.StringToken.SERIES_X_AXIS_NAME","%SeriesXAxisName");F("anychart.enums.StringToken.SERIES_X_MAX","%SeriesXMax");F("anychart.enums.StringToken.SERIES_X_MEDIAN","%SeriesXMedian");F("anychart.enums.StringToken.SERIES_X_MIN","%SeriesXMin");F("anychart.enums.StringToken.SERIES_X_MODE","%SeriesXMode");F("anychart.enums.StringToken.SERIES_X_SUM","%SeriesXSum");
F("anychart.enums.StringToken.SERIES_Y_AVERAGE","%SeriesYAverage");F("anychart.enums.StringToken.SERIES_Y_AXIS_NAME","%SeriesYAxisName");F("anychart.enums.StringToken.SERIES_Y_MAX","%SeriesYMax");F("anychart.enums.StringToken.SERIES_Y_MEDIAN","%SeriesYMedian");F("anychart.enums.StringToken.SERIES_Y_MIN","%SeriesYMin");F("anychart.enums.StringToken.SERIES_Y_MODE","%SeriesYMode");F("anychart.enums.StringToken.SERIES_Y_RANGE_MAX","%SeriesYRangeMax");
F("anychart.enums.StringToken.SERIES_Y_RANGE_MIN","%SeriesYRangeMin");F("anychart.enums.StringToken.SERIES_Y_RANGE_SUM","%SeriesYRangeSum");F("anychart.enums.StringToken.SERIES_Y_SUM","%SeriesYSum");F("anychart.enums.StringToken.VALUE","%Value");F("anychart.enums.StringToken.PERCENT_VALUE","%PercentValue");F("anychart.enums.StringToken.X_PERCENT_OF_SERIES","%XPercentOfSeries");F("anychart.enums.StringToken.X_PERCENT_OF_TOTAL","%XPercentOfTotal");F("anychart.enums.StringToken.X_VALUE","%XValue");
F("anychart.enums.StringToken.Y_PERCENT_OF_CATEGORY","%YPercentOfCategory");F("anychart.enums.StringToken.Y_PERCENT_OF_SERIES","%YPercentOfSeries");F("anychart.enums.StringToken.Y_PERCENT_OF_TOTAL","%YPercentOfTotal");F("anychart.enums.StringToken.Y_VALUE","%YValue");F("anychart.enums.StringToken.RESOURCE_INDEX","resourceIndex");F("anychart.enums.StringToken.ACTIVITY_INDEX","activityIndex");F("anychart.enums.StringToken.START","start");F("anychart.enums.StringToken.END","end");
F("anychart.enums.StringToken.MINUTES_PER_DAY","minutesPerDay");F("anychart.enums.Statistics.AVERAGE","average");F("anychart.enums.Statistics.BUBBLE_SIZE","bubbleSize");F("anychart.enums.Statistics.BUBBLE_SIZE_PERCENT_OF_CATEGORY","bubbleSizePercentOfCategory");F("anychart.enums.Statistics.BUBBLE_SIZE_PERCENT_OF_SERIES","bubbleSizePercentOfSeries");F("anychart.enums.Statistics.BUBBLE_SIZE_PERCENT_OF_TOTAL","bubbleSizePercentOfTotal");F("anychart.enums.Statistics.CATEGORY_NAME","categoryName");
F("anychart.enums.Statistics.CATEGORY_Y_AVERAGE","categoryYAverage");F("anychart.enums.Statistics.CATEGORY_Y_MAX","categoryYMax");F("anychart.enums.Statistics.CATEGORY_Y_MEDIAN","categoryYMedian");F("anychart.enums.Statistics.CATEGORY_Y_MIN","categoryYMin");F("anychart.enums.Statistics.CATEGORY_Y_MODE","categoryYMode");F("anychart.enums.Statistics.CATEGORY_Y_PERCENT_OF_TOTAL","categoryYPercentOfTotal");F("anychart.enums.Statistics.CATEGORY_Y_RANGE_AVERAGE","categoryYRangeAverage");
F("anychart.enums.Statistics.CATEGORY_Y_RANGE_MAX","categoryYRangeMax");F("anychart.enums.Statistics.CATEGORY_Y_RANGE_MEDIAN","categoryYRangeMedian");F("anychart.enums.Statistics.CATEGORY_Y_RANGE_MIN","categoryYRangeMin");F("anychart.enums.Statistics.CATEGORY_Y_RANGE_MODE","categoryYRangeMode");F("anychart.enums.Statistics.CATEGORY_Y_RANGE_PERCENT_OF_TOTAL","categoryYRangePercentOfTotal");F("anychart.enums.Statistics.CATEGORY_Y_RANGE_SUM","categoryYRangeSum");
F("anychart.enums.Statistics.CATEGORY_Y_SUM","categoryYSum");F("anychart.enums.Statistics.CLOSE","close");F("anychart.enums.Statistics.COUNT","count");F("anychart.enums.Statistics.DATA_PLOT_BUBBLE_MAX_SIZE","dataPlotBubbleMaxSize");F("anychart.enums.Statistics.DATA_PLOT_BUBBLE_MIN_SIZE","dataPlotBubbleMinSize");F("anychart.enums.Statistics.DATA_PLOT_BUBBLE_SIZE_AVERAGE","dataPlotBubbleSizeAverage");F("anychart.enums.Statistics.DATA_PLOT_BUBBLE_SIZE_SUM","dataPlotBubbleSizeSum");
F("anychart.enums.Statistics.DATA_PLOT_MAX_X_SUM_SERIES_NAME","dataPlotMaxXSumSeriesName");F("anychart.enums.Statistics.DATA_PLOT_MAX_Y_SUM_SERIES_NAME","dataPlotMaxYSumSeriesName");F("anychart.enums.Statistics.DATA_PLOT_MAX_X_VALUE_POINT_SERIES_NAME","dataPlotMaxXValuePointSeriesName");F("anychart.enums.Statistics.DATA_PLOT_MAX_Y_VALUE_POINT_SERIES_NAME","dataPlotMaxYValuePointSeriesName");F("anychart.enums.Statistics.DATA_PLOT_MIN_X_SUM_SERIES_NAME","dataPlotMinXSumSeriesName");
F("anychart.enums.Statistics.DATA_PLOT_MIN_Y_SUM_SERIES_NAME","dataPlotMinYSumSeriesName");F("anychart.enums.Statistics.DATA_PLOT_MIN_X_VALUE_POINT_SERIES_NAME","dataPlotMinXValuePointSeriesName");F("anychart.enums.Statistics.DATA_PLOT_MIN_Y_VALUE_POINT_SERIES_NAME","dataPlotMinYValuePointSeriesName");F("anychart.enums.Statistics.DATA_PLOT_POINT_COUNT","dataPlotPointCount");F("anychart.enums.Statistics.DATA_PLOT_SERIES_COUNT","dataPlotSeriesCount");
F("anychart.enums.Statistics.DATA_PLOT_X_AVERAGE","dataPlotXAverage");F("anychart.enums.Statistics.DATA_PLOT_X_MAX","dataPlotXMax");F("anychart.enums.Statistics.DATA_PLOT_X_MIN","dataPlotXMin");F("anychart.enums.Statistics.DATA_PLOT_X_SUM","dataPlotXSum");F("anychart.enums.Statistics.DATA_PLOT_Y_AVERAGE","dataPlotYAverage");F("anychart.enums.Statistics.DATA_PLOT_Y_MAX","dataPlotYMax");F("anychart.enums.Statistics.DATA_PLOT_Y_MIN","dataPlotYMin");
F("anychart.enums.Statistics.DATA_PLOT_Y_RANGE_MAX","dataPlotYRangeMax");F("anychart.enums.Statistics.DATA_PLOT_Y_RANGE_MIN","dataPlotYRangeMin");F("anychart.enums.Statistics.DATA_PLOT_Y_RANGE_SUM","dataPlotYRangeSum");F("anychart.enums.Statistics.DATA_PLOT_Y_SUM","dataPlotYSum");F("anychart.enums.Statistics.HIGH","high");F("anychart.enums.Statistics.INDEX","index");F("anychart.enums.Statistics.LOW","low");F("anychart.enums.Statistics.NAME","name");F("anychart.enums.Statistics.MAX","max");
F("anychart.enums.Statistics.MIN","min");F("anychart.enums.Statistics.OPEN","open");F("anychart.enums.Statistics.PERT_CHART_CRITICAL_PATH_STANDARD_DEVIATION","pertChartCriticalPathStandardDeviation");F("anychart.enums.Statistics.PERT_CHART_PROJECT_DURATION","pertChartProjectDuration");F("anychart.enums.Statistics.POINTS_COUNT","pointsCount");F("anychart.enums.Statistics.RANGE","range");F("anychart.enums.Statistics.RANGE_END","rangeEnd");F("anychart.enums.Statistics.RANGE_START","rangeStart");
F("anychart.enums.Statistics.SERIES_AVERAGE","seriesAverage");F("anychart.enums.Statistics.SERIES_BUBBLE_MAX_SIZE","seriesBubbleMaxSize");F("anychart.enums.Statistics.SERIES_BUBBLE_MIN_SIZE","seriesBubbleMinSize");F("anychart.enums.Statistics.SERIES_BUBBLE_SIZE_AVERAGE","seriesBubbleSizeAverage");F("anychart.enums.Statistics.SERIES_BUBBLE_SIZE_MEDIAN","seriesBubbleSizeMedian");F("anychart.enums.Statistics.SERIES_BUBBLE_SIZE_MODE","seriesBubbleSizeMode");
F("anychart.enums.Statistics.SERIES_BUBBLE_SIZE_SUM","seriesBubbleSizeSum");F("anychart.enums.Statistics.SERIES_FIRST_X_VALUE","seriesFirstXValue");F("anychart.enums.Statistics.SERIES_FIRST_Y_VALUE","seriesFirstYValue");F("anychart.enums.Statistics.SERIES_LAST_X_VALUE","seriesLastXValue");F("anychart.enums.Statistics.SERIES_LAST_Y_VALUE","seriesLastYValue");F("anychart.enums.Statistics.SERIES_MIN","seriesMin");F("anychart.enums.Statistics.SERIES_MAX","seriesMax");
F("anychart.enums.Statistics.SERIES_NAME","seriesName");F("anychart.enums.Statistics.SERIES_POINT_COUNT","seriesPointCount");F("anychart.enums.Statistics.SERIES_POINTS_COUNT","seriesPointsCount");F("anychart.enums.Statistics.SERIES_SUM","seriesSum");F("anychart.enums.Statistics.SERIES_X_AVERAGE","seriesXAverage");F("anychart.enums.Statistics.SERIES_X_MAX","seriesXMax");F("anychart.enums.Statistics.SERIES_X_MEDIAN","seriesXMedian");F("anychart.enums.Statistics.SERIES_X_MIN","seriesXMin");
F("anychart.enums.Statistics.SERIES_X_MODE","seriesXMode");F("anychart.enums.Statistics.SERIES_X_SUM","seriesXSum");F("anychart.enums.Statistics.SERIES_Y_AVERAGE","seriesYAverage");F("anychart.enums.Statistics.SERIES_Y_MAX","seriesYMax");F("anychart.enums.Statistics.SERIES_Y_MEDIAN","seriesYMedian");F("anychart.enums.Statistics.SERIES_Y_MIN","seriesYMin");F("anychart.enums.Statistics.SERIES_Y_MODE","seriesYMode");F("anychart.enums.Statistics.SERIES_Y_RANGE_AVERAGE","seriesYRangeAverage");
F("anychart.enums.Statistics.SERIES_Y_RANGE_MAX","seriesYRangeMax");F("anychart.enums.Statistics.SERIES_Y_RANGE_MEDIAN","seriesYRangeMedian");F("anychart.enums.Statistics.SERIES_Y_RANGE_MIN","seriesYRangeMin");F("anychart.enums.Statistics.SERIES_Y_RANGE_MODE","seriesYRangeMode");F("anychart.enums.Statistics.SERIES_Y_RANGE_SUM","seriesYRangeSum");F("anychart.enums.Statistics.SERIES_Y_SUM","seriesYSum");F("anychart.enums.Statistics.SUM","sum");F("anychart.enums.Statistics.VALUE","value");
F("anychart.enums.Statistics.PERCENT_VALUE","percentValue");F("anychart.enums.Statistics.X_PERCENT_OF_SERIES","xPercentOfSeries");F("anychart.enums.Statistics.X_PERCENT_OF_TOTAL","xPercentOfTotal");F("anychart.enums.Statistics.X_VALUE","xValue");F("anychart.enums.Statistics.Y_PERCENT_OF_CATEGORY","yPercentOfCategory");F("anychart.enums.Statistics.Y_PERCENT_OF_SERIES","yPercentOfSeries");F("anychart.enums.Statistics.Y_PERCENT_OF_TOTAL","yPercentOfTotal");F("anychart.enums.Statistics.Y_VALUE","yValue");
F("anychart.enums.Statistics.X_SCALES_MIN","xScalesMin");F("anychart.enums.Statistics.X_SCALES_MAX","xScalesMax");F("anychart.enums.Statistics.Y_SCALES_MIN","yScalesMin");F("anychart.enums.Statistics.Y_SCALES_MAX","yScalesMax");F("anychart.enums.ChartDataExportMode.RAW","raw");F("anychart.enums.ChartDataExportMode.SELECTED","selected");F("anychart.enums.ChartDataExportMode.GROUPED","grouped");F("anychart.enums.ChartDataExportMode.DEFAULT","default");F("anychart.enums.MapSeriesType.CHOROPLETH","choropleth");
F("anychart.enums.MapSeriesType.BUBBLE","bubble");F("anychart.enums.MapSeriesType.MARKER","marker");F("anychart.enums.MapSeriesType.CONNECTOR","connector");F("anychart.enums.CartesianSeriesType.AREA","area");F("anychart.enums.CartesianSeriesType.BAR","bar");F("anychart.enums.CartesianSeriesType.BOX","box");F("anychart.enums.CartesianSeriesType.BUBBLE","bubble");F("anychart.enums.CartesianSeriesType.CANDLESTICK","candlestick");F("anychart.enums.CartesianSeriesType.COLUMN","column");
F("anychart.enums.CartesianSeriesType.LINE","line");F("anychart.enums.CartesianSeriesType.MARKER","marker");F("anychart.enums.CartesianSeriesType.OHLC","ohlc");F("anychart.enums.CartesianSeriesType.RANGE_AREA","rangeArea");F("anychart.enums.CartesianSeriesType.RANGE_BAR","rangeBar");F("anychart.enums.CartesianSeriesType.RANGE_COLUMN","rangeColumn");F("anychart.enums.CartesianSeriesType.RANGE_SPLINE_AREA","rangeSplineArea");F("anychart.enums.CartesianSeriesType.RANGE_STEP_AREA","rangeStepArea");
F("anychart.enums.CartesianSeriesType.SPLINE","spline");F("anychart.enums.CartesianSeriesType.SPLINE_AREA","splineArea");F("anychart.enums.CartesianSeriesType.STEP_AREA","stepArea");F("anychart.enums.CartesianSeriesType.STEP_LINE","stepLine");F("anychart.enums.Cartesian3dSeriesType.AREA","area");F("anychart.enums.Cartesian3dSeriesType.BAR","bar");F("anychart.enums.Cartesian3dSeriesType.COLUMN","column");F("anychart.enums.ScatterSeriesType.BUBBLE","bubble");
F("anychart.enums.ScatterSeriesType.LINE","line");F("anychart.enums.ScatterSeriesType.MARKER","marker");F("anychart.enums.SparklineSeriesType.AREA","area");F("anychart.enums.SparklineSeriesType.COLUMN","column");F("anychart.enums.SparklineSeriesType.LINE","line");F("anychart.enums.SparklineSeriesType.WIN_LOSS","winLoss");F("anychart.enums.StockSeriesType.AREA","area");F("anychart.enums.StockSeriesType.CANDLESTICK","candlestick");F("anychart.enums.StockSeriesType.COLUMN","column");
F("anychart.enums.StockSeriesType.LINE","line");F("anychart.enums.StockSeriesType.MARKER","marker");F("anychart.enums.StockSeriesType.OHLC","ohlc");F("anychart.enums.StockSeriesType.RANGE_AREA","rangeArea");F("anychart.enums.StockSeriesType.RANGE_COLUMN","rangeColumn");F("anychart.enums.StockSeriesType.RANGE_SPLINE_AREA","rangeSplineArea");F("anychart.enums.StockSeriesType.RANGE_STEP_AREA","rangeStepArea");F("anychart.enums.StockSeriesType.SPLINE","spline");
F("anychart.enums.StockSeriesType.SPLINE_AREA","splineArea");F("anychart.enums.StockSeriesType.STEP_AREA","stepArea");F("anychart.enums.StockSeriesType.STEP_LINE","stepLine");F("anychart.enums.MovingAverageType.SMA","sma");F("anychart.enums.MovingAverageType.EMA","ema");F("anychart.enums.RadarSeriesType.AREA","area");F("anychart.enums.RadarSeriesType.LINE","line");F("anychart.enums.RadarSeriesType.MARKER","marker");F("anychart.enums.PolarSeriesType.AREA","area");
F("anychart.enums.PolarSeriesType.LINE","line");F("anychart.enums.PolarSeriesType.MARKER","marker");F("anychart.enums.PolarSeriesType.POLYGON","polygon");F("anychart.enums.PolarSeriesType.POLYLINE","polyline");F("anychart.enums.PolarSeriesType.COLUMN","column");F("anychart.enums.PolarSeriesType.RANGE_COLUMN","rangeColumn");F("anychart.enums.MekkoSeriesType.MEKKO","mekko");F("anychart.enums.MilestoneShape.CIRCLE","circle");F("anychart.enums.MilestoneShape.RHOMBUS","rhombus");
F("anychart.enums.MilestoneShape.RECTANGLE","rectangle");F("anychart.enums.AnnotationTypes.RAY","ray");F("anychart.enums.AnnotationTypes.LINE","line");F("anychart.enums.AnnotationTypes.INFINITE_LINE","infiniteLine");F("anychart.enums.AnnotationTypes.VERTICAL_LINE","verticalLine");F("anychart.enums.AnnotationTypes.HORIZONTAL_LINE","horizontalLine");F("anychart.enums.AnnotationTypes.RECTANGLE","rectangle");F("anychart.enums.AnnotationTypes.ELLIPSE","ellipse");
F("anychart.enums.AnnotationTypes.TRIANGLE","triangle");F("anychart.enums.AnnotationTypes.TREND_CHANNEL","trendChannel");F("anychart.enums.AnnotationTypes.ANDREWS_PITCHFORK","andrewsPitchfork");F("anychart.enums.AnnotationTypes.FIBONACCI_FAN","fibonacciFan");F("anychart.enums.AnnotationTypes.FIBONACCI_ARC","fibonacciArc");F("anychart.enums.AnnotationTypes.FIBONACCI_RETRACEMENT","fibonacciRetracement");F("anychart.enums.AnnotationTypes.FIBONACCI_TIMEZONES","fibonacciTimezones");
F("anychart.enums.AnnotationTypes.MARKER","marker");F("anychart.enums.A11yMode.CHART_ELEMENTS","chartElements");F("anychart.enums.A11yMode.DATA_TABLE","dataTable");F("anychart.enums.LocaleDateTimeFormat.YEAR","year");F("anychart.enums.LocaleDateTimeFormat.YEAR_SEMESTER","year_semester");F("anychart.enums.LocaleDateTimeFormat.YEAR_QUARTER","year_quarter");F("anychart.enums.LocaleDateTimeFormat.YEAR_MONTH","year_month");F("anychart.enums.LocaleDateTimeFormat.YEAR_THIRD_OF_MONTH","year_third_of_month");
F("anychart.enums.LocaleDateTimeFormat.YEAR_WEEK","year_week");F("anychart.enums.LocaleDateTimeFormat.YEAR_DAY","year_day");F("anychart.enums.LocaleDateTimeFormat.YEAR_HOUR","year_hour");F("anychart.enums.LocaleDateTimeFormat.YEAR_MINUTE","year_minute");F("anychart.enums.LocaleDateTimeFormat.YEAR_SECOND","year_second");F("anychart.enums.LocaleDateTimeFormat.YEAR_MILLISECOND","year_millisecond");F("anychart.enums.LocaleDateTimeFormat.SEMESTER","semester");
F("anychart.enums.LocaleDateTimeFormat.SEMESTER_QUARTER","semester_quarter");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_MONTH","semester_month");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_THIRD_OF_MONTH","semester_third_of_month");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_WEEK","semester_week");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_DAY","semester_day");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_HOUR","semester_hour");
F("anychart.enums.LocaleDateTimeFormat.SEMESTER_MINUTE","semester_minute");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_SECOND","semester_second");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_MILLISECOND","semester_millisecond");F("anychart.enums.LocaleDateTimeFormat.QUARTER","quarter");F("anychart.enums.LocaleDateTimeFormat.QUARTER_MONTH","quarter_month");F("anychart.enums.LocaleDateTimeFormat.QUARTER_THIRD_OF_MONTH","quarter_third_of_month");
F("anychart.enums.LocaleDateTimeFormat.QUARTER_WEEK","quarter_week");F("anychart.enums.LocaleDateTimeFormat.QUARTER_DAY","quarter_day");F("anychart.enums.LocaleDateTimeFormat.QUARTER_HOUR","quarter_hour");F("anychart.enums.LocaleDateTimeFormat.QUARTER_MINUTE","quarter_minute");F("anychart.enums.LocaleDateTimeFormat.QUARTER_SECOND","quarter_second");F("anychart.enums.LocaleDateTimeFormat.QUARTER_MILLISECOND","quarter_millisecond");F("anychart.enums.LocaleDateTimeFormat.MONTH","month");
F("anychart.enums.LocaleDateTimeFormat.MONTH_THIRD_OF_MONTH","month_third_of_month");F("anychart.enums.LocaleDateTimeFormat.MONTH_WEEK","month_week");F("anychart.enums.LocaleDateTimeFormat.MONTH_DAY","month_day");F("anychart.enums.LocaleDateTimeFormat.MONTH_HOUR","month_hour");F("anychart.enums.LocaleDateTimeFormat.MONTH_MINUTE","month_minute");F("anychart.enums.LocaleDateTimeFormat.MONTH_SECOND","month_second");F("anychart.enums.LocaleDateTimeFormat.MONTH_MILLISECOND","month_millisecond");
F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH","third_of_month");F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_WEEK","third_of_month_week");F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_DAY","third_of_month_day");F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_HOUR","third_of_month_hour");F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_MINUTE","third_of_month_minute");F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_SECOND","third_of_month_second");
F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_MILLISECOND","third_of_month_millisecond");F("anychart.enums.LocaleDateTimeFormat.WEEK","week");F("anychart.enums.LocaleDateTimeFormat.WEEK_DAY","week_day");F("anychart.enums.LocaleDateTimeFormat.WEEK_HOUR","week_hour");F("anychart.enums.LocaleDateTimeFormat.WEEK_MINUTE","week_minute");F("anychart.enums.LocaleDateTimeFormat.WEEK_SECOND","week_second");F("anychart.enums.LocaleDateTimeFormat.WEEK_MILLISECOND","week_millisecond");
F("anychart.enums.LocaleDateTimeFormat.DAY","day");F("anychart.enums.LocaleDateTimeFormat.DAY_HOUR","day_hour");F("anychart.enums.LocaleDateTimeFormat.DAY_MINUTE","day_minute");F("anychart.enums.LocaleDateTimeFormat.DAY_SECOND","day_second");F("anychart.enums.LocaleDateTimeFormat.DAY_MILLISECOND","day_millisecond");F("anychart.enums.LocaleDateTimeFormat.HOUR","hour");F("anychart.enums.LocaleDateTimeFormat.HOUR_MINUTE","hour_minute");F("anychart.enums.LocaleDateTimeFormat.HOUR_SECOND","hour_second");
F("anychart.enums.LocaleDateTimeFormat.HOUR_MILLISECOND","hour_millisecond");F("anychart.enums.LocaleDateTimeFormat.MINUTE","minute");F("anychart.enums.LocaleDateTimeFormat.MINUTE_SECOND","minute_second");F("anychart.enums.LocaleDateTimeFormat.MINUTE_MILLISECOND","minute_millisecond");F("anychart.enums.LocaleDateTimeFormat.SECOND","second");F("anychart.enums.LocaleDateTimeFormat.SECOND_MILLISECOND","second_millisecond");F("anychart.enums.LocaleDateTimeFormat.MILLISECOND","millisecond");
F("anychart.enums.IntervalFormatPrefix.NONE","");F("anychart.enums.IntervalFormatPrefix.FULL","full");F("anychart.enums.AvailabilityPeriod.YEAR","year");F("anychart.enums.AvailabilityPeriod.WEEK","week");F("anychart.enums.AvailabilityPeriod.DAY","day");F("anychart.enums.AvailabilityPeriod.NONE","none");F("anychart.enums.TimeTrackingMode.AVAILABILITY_PER_CHART","availabilityPerChart");F("anychart.enums.TimeTrackingMode.AVAILABILITY_PER_RESOURCE","availabilityPerResource");
F("anychart.enums.TimeTrackingMode.ACTIVITY_PER_CHART","activityPerChart");F("anychart.enums.TimeTrackingMode.ACTIVITY_PER_RESOURCE","activityPerResource");F("anychart.enums.ShapeType.PATH","path");F("anychart.enums.ShapeType.CIRCLE","circle");F("anychart.enums.ShapeType.ELLIPSE","ellipse");F("anychart.enums.ShapeType.RECT","rect");F("anychart.enums.FontStyle.NORMAL","normal");F("anychart.enums.FontStyle.ITALIC","italic");F("anychart.enums.FontStyle.OBLIQUE","oblique");
F("anychart.enums.FontVariant.NORMAL","normal");F("anychart.enums.FontVariant.SMALL_CAP","small-caps");F("anychart.enums.TextParsingMode.CSV","csv");F("anychart.enums.TextParsingMode.BY_WORD","byWord");F("anychart.enums.TextParsingMode.BY_CHAR","byChar");F("anychart.enums.HAlign.LEFT","left");F("anychart.enums.HAlign.START","start");F("anychart.enums.HAlign.CENTER","center");F("anychart.enums.HAlign.END","end");F("anychart.enums.HAlign.RIGHT","right");F("anychart.enums.VAlign.TOP","top");
F("anychart.enums.VAlign.MIDDLE","middle");F("anychart.enums.VAlign.BOTTOM","bottom");F("anychart.enums.TextWrap.NO_WRAP","noWrap");F("anychart.enums.TextWrap.BY_LETTER","byLetter");F("anychart.enums.TextWrap.BY_WORD","byWord");F("anychart.enums.TagCloudMode.SPIRAL","spiral");F("anychart.enums.TagCloudMode.RECT","rect");F("anychart.enums.WaterfallDataMode.ABSOLUTE","absolute");F("anychart.enums.WaterfallDataMode.DIFF","diff");var Jn=-1;function Kn(a,b,c){Ln("error","Error: "+a+"\nDescription: "+Mn(a,c),b||"")}
function Mn(a,b){switch(a){case 1:return"Container is not set or can not be properly recognized. Use container() method to set it.";case 2:return"Scale is not set. Use scale() method to set it.";case 3:return"Table.contents() accepts only an Array of Arrays as it's first argument.";case 4:return'Feature "'+b[0]+'" is not supported in this module. See modules list for details.';case 5:return b[0]+" should be only "+b[1]+" type"+(b[2]?" ("+b[2]+").":".");case 7:return"Empty config passed to anychart.fromJson() or anychart.fromXml() method.";
case 8:return"Bullet and Sparkline charts do not support Legend. Please use anychart.ui.Legend component for a group of charts instead.";case 51:return"Stock chart itself doesn't support legend - stock plots do. So use stock.plot().legend() instead.";case 9:return"Bullet and Sparkline charts do not support Credits.";case 10:return"Invalid GeoJSON object:";case 100:return"Double quotes in separator are not allowed.";case 101:return"CSV parsing failed.";case 200:return"Cannot create a computer on the table with the mapping of another table.";
case 201:return'Cannot create computed field "'+b[0]+'" - field name should be unique for the table';case 202:return'Cannot create output field "'+b[0]+'" on the computer - field with this name already exists';case 300:var c=b[2],d=[],e;for(e in c)d.push(e+" ("+c[e]+")");return['Series "',b[0],'" of type "',b[1],'" cannot be drawn, because it requires ',c.length," shapes with the following names: ",d.join(", ")].join("");default:return"Unknown error occurred. Please, contact support team at http://support.anychart.com/.\nWe will be very grateful for your report."}}
function Nn(a,b,c,d){d&&Jn!=a&&(Jn=a,Ln("warn","Warning: "+a+"\nDescription: "+On(a,c),b||""))}
function On(a,b){switch(a){case 1:return"Data item with ID='"+b[0]+"' already exists in the tree and will be used as the parent for all related data items.";case 2:return"Data item with ID='"+b[0]+"' is not unique. First met object will be used.";case 3:return"One of the data items was looking for the parent with ID='"+b[0]+"', but did not find it. Please check the data.\nPLEASE NOTE: this data item will be added as the root to avoid loss of information.";case 4:return"Data item {ID='"+b[0]+"', PARENT='"+
b[1]+"'} belongs to a cycle and will not be added to the tree.";case 5:return"Can not set value for the '"+b[0]+"' field to an array row if it is not mapped.";case 6:return"Setting complex value to the default '"+b[0]+"' field changes row behaviour.";case 7:return"Can not set value for the '"+b[0]+"' field to a row that is not an object or an array.";case 8:return"We can not serialize '"+b[0]+"' function, please reset it manually.";case 9:return"Data grid incorrect method '"+b[0]+"()' usage: You use not standalone data grid. Perform all operations on data grid using the controller, but not directly. In current case, use '"+
b[1]+"()' instead. "+b[2];case 404:return b[0]+" with id='"+b[1]+"' is not found in data tree. Please check what you are looking for.";case 11:return"Can not fit gantt chart timeline to task with id '"+b[0]+"' because both fields 'actualStart' and 'actualEnd' must be correctly specified in data item.";case 12:return'Series type "'+b[0]+'" does not support error settings - only Area, Bar, Column, Line, Marker, Spline, SplineArea, StepLine and StepLineArea do.';case 13:return"Toolbar container is not specified. Please set a container using toolbar.container() method.";
case 14:return"Target chart has not method "+b[0]+"(). PLease make sure that you use correct instance of chart.";case 15:return"No chart is assigned for toolbar. Please set a target chart using toolbar.target() method.";case 405:return(b[3]||"Method")+" "+b[0]+" is deprecated. Use "+b[1]+" instead"+(b[2]?b[2]+".":".");case 19:return"The projection that used cannot work correctly without Proj4. Please include Proj4 binary (https://cdnjs.cloudflare.com/ajax/libs/proj4js/2.3.15/proj4.js) into your page, or use another projection";
case 17:return"Incorrect arguments passed to treeDataItem.set() method. You try to set a value by path in complex structure, but path contains errors (It can be not string and not numeric values, or invalid path in existing structure, or incorrect number of path's elements etc). Please, see the documentation for treeDataItem.set() method and carefully check your data.";case 101:return"Table is already in transaction mode. Calling startTransaction() multiple times does nothing.";case 201:return"Wrong mapping passed to "+
b[0]+' series - required "'+b[1]+"' field is missing.";case 406:return'Could not parse date time value "'+b[0]+'".'+(b[1]?"Symbols parsed: "+b[1]:"");case 500:return"Scale is immutable for this type of axis marker and scale will not be set.";case 501:return"Layout is immutable for this type of axis marker and layout will not be set.";case 18:return"There should be only one root in tree map data. First node has been taken as root.";case 301:return'Feature with id "'+b[0]+'" not found';case 20:var c=
b[1];return"Current scale ticks settings resulted in too many ticks: trying to generate about "+b[0]/c+" ticks with interval "+c;case 21:return"Data item with ID='"+b[0]+"' already exists. You should use another key.";case 22:return"Area "+b[0]+" not represented on screen.";default:return"Unknown error. Please, contact support team at http://support.anychart.com/.\nWe will be very grateful for your report!"}}
function Ln(a,b,c){var d=ba.console;d&&(a=d[a]||d.log,"object"!=typeof a&&a.call(d,b,c))};function Pn(a,b){Hb.call(this);this.b=a;this.l=b;this.G=Qn.test(hf().location.hostname);this.H=!(this.l||this.G);this.g=Rn|Sn|Tn|Un}G(Pn,Hb);var Qn=/^(.*\.)?anychart\.(com|stg|dev)$/i,Vn=!1,Rn=1,Sn=2,Tn=4,Un=8;g=Pn.prototype;g.F=function(a){return!!(this.g&a)};g.D=function(a){this.g&=~a};g.i=function(a,b){var c=a&~this.g;this.g|=c;!this.Ab&&!this.b.vb()&&c&&b&&this.b.kc()};function Wn(){return("https:"==hf().location.protocol?"https://":"http://")+"static.anychart.com/logo.png"}
g.enabled=function(a){return m(a)?(this.H!=a&&(this.H=a,(Xn(this)||this.l)&&this.i(Rn,!0)),this):this.H};g.text=function(a){return m(a)?(this.wa!=a&&(this.wa=a,Xn(this)&&this.i(Tn,!0)),this):this.wa};g.Yn=function(a){return m(a)?(this.K!=a&&(this.K=a,Xn(this)&&this.i(Sn,!0)),this):this.K};g.Wn=function(a){return m(a)?(this.s!=a&&(this.s=a,Xn(this)&&this.i(Sn,!0)),this):this.s};g.Xn=function(a){return m(a)?(this.o!=a&&(this.o=a,Xn(this)&&this.i(Sn,!0)),this):this.o};
g.Nl=function(a){return m(a)?(this.A!=a&&(this.A=a,Xn(this)&&this.i(Un,!0)),this):this.A};g.Y=function(){return this.b};g.ba=function(){return this.Ua};
g.kc=function(){var a=Xn(this);a&&m(this.J)&&!this.J&&this.i(Rn,!1);this.J=a;if(!this.g||this.Ab||!this.b||this.b.vb())return this;if(!this.enabled()&&(this.l||a))return this.F(Rn)&&(qf(this.Ua),this.D(Rn)),this;if(!Vn){var b="",c=jf("STYLE");c.type="text/css";b+='.anychart-credits{position:absolute;overflow:hidden;right:9px;bottom:6px;height:10px;}.anychart-credits a {text-decoration:none;}.anychart-credits-logo{border:none;margin-right:2px;height:10px;width:10px;display:inline-block;vertical-align:top;}.anychart-credits-text{font-size:10px;line-height:9px;display:inline-block;vertical-align:top;text-decoration:none;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;color:#929292;height:10px;}';c.styleSheet?
c.styleSheet.cssText=b:c.appendChild(document.createTextNode(String(b)));pf($e("head",void 0,void 0)[0],c);Vn=!0}this.Ua||(this.Ua=jf("DIV","anychart-credits"));this.f||(this.f=jf("A"),this.j=jf("SPAN","anychart-credits-text"),this.c=jf("IMG","anychart-credits-logo"),nf(this.f,this.j),this.Ua.appendChild(this.f));b=this.b.$e();this.F(Rn)&&(b&&b.appendChild(this.Ua),this.D(Rn));this.F(Sn)&&(cf(this.f,{href:a?this.Yn():"https://www.anychart.com/?utm_source=trial",title:a?this.Wn():"AnyChart - JavaScript Charts designed to be embedded and integrated",
target:"_blank"}),cf(this.c,{alt:a?this.Xn():"AnyChart - JavaScript Charts"}),this.D(Sn));this.F(Tn)&&(a=a?this.text():"AnyChart Trial Version",uf(this.j,a),this.D(Tn));if(this.F(Un)){if(a=Xn(this)?this.Nl():Wn()){if(this.B=a,b=ji(kg))Sc(b,"complete",this.Zz,!1,this),Sc(b,"load",this.Ew,!1,this),Sc(b,"error",this.$z,!1,this),this.h&&(bi(b,a),this.h=!1),ai(b,a,a),this.h=!0,b.start()}else qf(this.c);this.D(Un)}return this};function Xn(a){return Yn()||a.G}
g.Ew=function(a){var b=this.B;a.target.id==b&&(this.Ab||(Xn(this)?this.Nl():Wn())!=b||this.c.parentNode||pf(this.f,this.c),cf(this.c,{src:b}),this.h=!1)};g.Zz=function(a){a.target.id==this.B&&(this.h=!1)};g.$z=function(a){a.target.id==this.B&&qf(this.c)};g.O=function(a){this.b.Lb();B(a)?(this.text(a),this.enabled(!0)):ja(a)||null===a?this.enabled(!!a):A(a)&&(this.Yn(a.url),this.text(a.text),this.Wn(a.alt),this.Xn(a.imgAlt),this.Nl(a.logoSrc),this.enabled(a.enabled));this.b.Hb()};
g.v=function(){var a={};a.url=this.Yn();a.alt=this.Wn();a.imgAlt=this.Xn();a.text=this.text();a.logoSrc=this.Nl();a.enabled=this.enabled();return a};g.T=function(){var a=ji(kg);a&&($c(a,"load",this.Ew,!1,this),$c(a,"complete",this.Zz,!1,this),$c(a,"error",this.$z,!1,this));qf(this.j);qf(this.c);qf(this.f);qf(this.Ua);this.b=this.Ua=this.f=this.c=this.j=null;Pn.u.T.call(this)};var Zn=Pn.prototype;Zn.text=Zn.text;Zn.url=Zn.Yn;Zn.alt=Zn.Wn;Zn.imgAlt=Zn.Xn;Zn.logoSrc=Zn.Nl;Zn.enabled=Zn.enabled;ba.performance&&la(ba.performance.now)&&ra(ba.performance.now,ba.performance);var $n={color:"#fff",opacity:1E-5};function ao(a,b,c){a=bo(a);b=bo(b);var d=(a.opacity+b.opacity)/2;return{color:ce(Pl(a.BA,b.BA,m(c)?c:.5)),opacity:d}}function bo(a){var b=a,c=1;p(a)||(B(a)?b=a:(b=a.color||"#000",c=m(a.opacity)?a.opacity:1),a=co(b).Bd,b=Ml(a));return{BA:b,opacity:c}}
function eo(a,b,c,d){b=null==b||isNaN(+b)?7:+b;d=null!=d?nd(d,0,1):NaN;var e,f;a=co(a||"#000").Bd;f=Ml(a);a=f[0]/255;e=f[1]/255;f=f[2]/255;var h=Math.max(a,e,f),k=Math.min(a,e,f),l=0,n=0,q=.5*(h+k);h!=k&&(h==a?l=60*(e-f)/(h-k):h==e?l=60*(f-a)/(h-k)+120:h==f&&(l=60*(a-e)/(h-k)+240),n=0=q?(h-k)/(2*q):(h-k)/(2-2*q));f=[Math.round(l+360)%360,n,q];a=f[0];e=f[1];f=f[2];isNaN(d)?(d=f,c=null!=c?nd(c,0,1):.95):c=null!=c?nd(c,0,1):f;f=1l?l*(1+e):l+e-e*l;r=2*l-t;l=255*Ol(r,t,q+1/3);n=255*Ol(r,t,q);q=255*Ol(r,t,q-1/3)}else l=n=q=255*l;h.push(ce([Math.round(l),Math.round(n),Math.round(q)]))}return h}function fo(a){if(A(a))if(a.color)a=a.color;else return null;if(B(a))try{return Hl(a).Bd}catch(b){}return null}
function go(a,b){if(A(a)&&m(a.keys)){for(var c=$b(a),d=c.keys,e=[],f=0,h=d.length;f=c&&0<=e&&255>=e&&0<=d&&255>=d){c=[c,e,d];break a}}c=[]}return c.length?(b.Bd=ce(c),b.type="rgb",b):Gl&&(a=Gl[a.toLowerCase()])?(b.Bd=a,b.type="named",b):null}function mo(a,b,c){var d;c?d=Xd(a):d=de(a);B(d)?d={color:d,opacity:b}:A(d)&&(d.opacity=b);return d}F("anychart.color.blend",ao);
F("anychart.color.lighten",go);F("anychart.color.darken",ho);F("anychart.color.setThickness",function(a,b,c){a=de(a);B(a)?a={color:a,thickness:b}:A(a)&&(a.thickness=b);c&&(a.opacity=c);return a});F("anychart.color.setOpacity",mo);F("anychart.color.singleHueProgression",eo);F("anychart.color.bipolarHueProgression",function(a,b,c){c=m(c)?c:7;a=eo(a||"blue",Math.floor(c/2)+1,null,1);b=eo(b||"red",Math.floor(c/2)+1,1);c%2||lb(a,a.length-1,1);lb(b,0,1);return a.concat(b)});
F("anychart.color.blendedHueProgression",function(a,b,c){c=m(c)?c:7;a=co(a||"yellow").Bd;b=co(b||"brown").Bd;for(var d=[a],e=1/c,f=1;fa++;){if(this.Ab)return;this.ve.vh();b=Uo(this)}b&&this.ve.vh();this.Ab||(b?(this.ve.zi(this.Eb),this.Qt=setTimeout(this.tp,0)):this.ve.ho())};function To(a){for(var b=a.length,c=Array(b),d=c[0]=-1,e=1;e=d){f="";e=0;a.oe=-1;a.pe=-1;a.Eb=c+1;h=0;break}else return 0=fp(a,b,c,d,e[h],e[h+1]);return f}function fp(a,b,c,d,e,f){return(a=(b-d)*e+(c-a)*f+(a*d-c*b))?0c&&0c&&d.push("-");d.push("P");(a.j||b)&&d.push(Math.abs(a.j)+"Y");(a.h||b)&&d.push(Math.abs(a.h)+"M");(a.b||b)&&d.push(Math.abs(a.b)+"D");if(a.f||a.g||a.c||b)d.push("T"),(a.f||b)&&d.push(Math.abs(a.f)+"H"),(a.g||b)&&d.push(Math.abs(a.g)+"M"),(a.c||b)&&d.push(Math.abs(a.c)+"S");return d.join("")}
rp.prototype.clone=function(){return new rp(this.j,this.h,this.b,this.f,this.g,this.c)};var sp="y",tp="m",up="d",vp="h",wp="n",xp="s";rp.prototype.H=function(a){return new rp(this.j*a,this.h*a,this.b*a,this.f*a,this.g*a,this.c*a)};rp.prototype.add=function(a){this.j+=a.j;this.h+=a.h;this.b+=a.b;this.f+=a.f;this.g+=a.g;this.c+=a.c};
function Ap(a,b,c){C(a)?(this.b=Bp(a,b||0,c||1),Kp(this,c||1)):A(a)?(this.b=Bp(a.getFullYear(),a.getMonth(),a.getDate()),Kp(this,a.getDate())):(this.b=new Date(ua()),a=this.b.getDate(),this.b.setHours(0),this.b.setMinutes(0),this.b.setSeconds(0),this.b.setMilliseconds(0),Kp(this,a))}function Bp(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b}g=Ap.prototype;g.Gk=op.mq;g.Hk=op.nq;g.clone=function(){var a=new Ap(this.b);a.Gk=this.Gk;a.Hk=this.Hk;return a};
g.getFullYear=function(){return this.b.getFullYear()};g.getMonth=function(){return this.b.getMonth()};g.getDate=function(){return this.b.getDate()};g.getTime=function(){return this.b.getTime()};g.getDay=function(){return this.b.getDay()};g.getUTCFullYear=function(){return this.b.getUTCFullYear()};g.getUTCMonth=function(){return this.b.getUTCMonth()};g.getUTCDate=function(){return this.b.getUTCDate()};g.Vo=function(){return this.b.getDay()};g.getUTCHours=function(){return this.b.getUTCHours()};
g.getUTCMinutes=function(){return this.b.getUTCMinutes()};g.getTimezoneOffset=function(){return this.b.getTimezoneOffset()};function Lp(a){if(a=a.getTimezoneOffset()){var b=Math.abs(a)/60,c=Math.floor(b),b=60*(b-c);a=(0b&&(b+=12);var d=Math.min(qp(c,b),this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(d)}a.b&&(b=new Date(this.getFullYear(),this.getMonth(),this.getDate(),12),a=new Date(b.getTime()+864E5*a.b),this.setDate(1),this.setFullYear(a.getFullYear()),this.setMonth(a.getMonth()),this.setDate(a.getDate()),Kp(this,a.getDate()))};
g.Wo=function(a,b){return[this.getFullYear(),Ra(this.getMonth()+1,2),Ra(this.getDate(),2)].join(a?"-":"")+(b?Lp(this):"")};g.Bu=function(a,b){return[this.getUTCFullYear(),Ra(this.getUTCMonth()+1,2),Ra(this.getUTCDate(),2)].join(a?"-":"")+(b?"Z":"")};g.toString=function(){return this.Wo()};function Kp(a,b){if(a.getDate()!=b){var c=a.getDate()c?"-":"+"];c=Math.abs(c);d.push(Math.floor(c/60)%100);(c%=60)&&d.push(":",Ra(c,2));c=d.join("")}else c="Etc/GMT";b.g=c;(c=a)?(d=["UTC",0>c?"+":"-"],c=Math.abs(c),d.push(Math.floor(c/60)%100),(c%=60)&&d.push(":",c),c=d.join("")):c="UTC";a=Tp(a);b.h=[c,c];b.b={rN:a,Tu:a};b.f=[];return b}b=new Rp;b.g=a.id;b.c=-a.std_offset;b.h=a.names;b.b=a.names_ext;b.f=a.transitions;return b}
function Tp(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(Ra(Math.floor(a/60)%100,2),":",Ra(a%60,2));return b.join("")}function Up(a,b){for(var c=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate(),b.getUTCHours(),b.getUTCMinutes())/36E5,d=0;d=a.f[d];)d+=2;return d?a.f[d-1]:0};function Vp(a,b){this.c=[];this.b=b||op;"number"==typeof a?Wp(this,a):Xp(this,a)}var Yp=[/^\'(?:[^\']|\'\')*(\'|$)/,/^(?:G+|y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/,/^[^\'GyMkSEahKHcLQdmsvVwzZ]+/];function Zp(a){return a.getHours?a.getHours():0}
function Xp(a,b){for($p&&(b=b.replace(/\u200f/g,""));b;){for(var c=b,d=0;db)c=a.b.il[b];else if(8>b)c=a.b.jl[b-4];else if(12>b)c=a.b.iq[b-8],c=c.replace("{1}",a.b.il[b-8]),c=c.replace("{0}",a.b.jl[b-8]);else{Wp(a,10);return}Xp(a,c)}function cq(a,b){var c;c=String(b);var d=a.b||op;if(void 0!==d.Hq){for(var e=[],f=0;f=h?String.fromCharCode(d.Hq+h-48):c.charAt(f))}c=e.join("")}return c}var $p=!1;
function dq(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("The date to format has no time (probably a goog.date.Date). Use Date or goog.date.DateTime, or use a pattern without time fields.");}
function bq(a,b,c,d,e,f){var h=b.length;switch(b.charAt(0)){case "G":return c=0c&&(c=-c),2==h&&(c%=100),cq(a,Ra(c,h));case "M":a:switch(c=d.getMonth(),h){case 5:h=a.b.Lu[c];break a;case 4:h=a.b.vq[c];break a;case 3:h=a.b.Aq[c];break a;default:h=cq(a,Ra(c+1,h))}return h;case "k":return dq(e),c=Zp(e)||24,cq(a,Ra(c,h));case "S":return cq(a,(e.getTime()%1E3/1E3).toFixed(Math.min(3,h)).substr(2)+(3h?1:0];case "h":return dq(e),c=Zp(e)%12||12,cq(a,Ra(c,h));case "K":return dq(e),c=Zp(e)%12,cq(a,Ra(c,h));case "H":return dq(e),c=Zp(e),cq(a,Ra(c,h));case "c":a:switch(c=d.getDay(),h){case 5:h=a.b.Qu[c];break a;case 4:h=a.b.Su[c];break a;case 3:h=a.b.Ru[c];break a;default:h=cq(a,Ra(c,1))}return h;case "L":a:switch(c=d.getMonth(),h){case 5:h=a.b.Pu[c];break a;case 4:h=a.b.Eq[c];break a;case 3:h=a.b.Fq[c];break a;default:h=
cq(a,Ra(c+1,h))}return h;case "Q":return c=Math.floor(d.getMonth()/3),4>h?a.b.Bq[c]:a.b.zq[c];case "d":return cq(a,Ra(d.getDate(),h));case "m":return dq(e),cq(a,Ra(e.getMinutes(),h));case "s":return dq(e),cq(a,Ra(e.getSeconds(),h));case "v":return h=f||Sp(c.getTimezoneOffset()),h.g;case "V":return a=f||Sp(c.getTimezoneOffset()),2>=h?a.g:0h?a.h[0h?(h=-(e.c-Up(e,c)),a=[0>h?"-":"+"],h=Math.abs(h),a.push(Ra(Math.floor(h/60)%100,2),Ra(h%60,2)),h=a.join("")):h=cq(a,Tp(e.c-Up(e,c))),h;default:return""}}
;function eq(a){if(ba.JSON)try{var b=ba.JSON.parse(a);return b}catch(c){}return b=xk(a)};var fq;function gq(a,b,c,d,e){if(c)for(var f=0;fb?1:a==b?0:-1}function kq(a,b){return-hq(a,b)}function iq(a,b){return isNaN(a)?isNaN(b)?0:1:isNaN(b)?-1:a-b}function lq(a,b){return isNaN(a)?isNaN(b)?0:1:isNaN(b)?-1:b-a}function mq(a){for(var b;J(a,hg);){b=a.tag;if(m(b))return b;a=a.parent()}}
function nq(a,b){if(!a)return!1;for(;J(b,hd)&&b!=a;)b=b.de;return b==a}function jq(a){return A(a)?"o"+ma(a):(typeof a).charAt(0)+a}function L(a,b,c){a=C(a)?a:!isNaN(b)&&oq(a)?b*parseFloat(a)/100:parseFloat(a);return c&&!isNaN(b)?b-a:a}function oq(a){return B(a)&&xa(a,"%")&&!isNaN(parseFloat(a))}function pq(a,b){if(null===a)return null;a=m(a)?a:0;b=m(b)?b:0;var c=oq(a),d=parseFloat(a);return isNaN(d)?b:c?a:d}function M(a){return null==a||ja(a)?NaN:+a}function qq(a){return B(a)?a:M(a)}
function rq(a){return C(a)&&!isNaN(a)||B(a)&&""!=za(a)?a:null}function sq(a,b,c){C(a)||(a=parseFloat(a));a=Math.round(a);return!isNaN(a)&&(0c&&(c+=b);c>=b&&(c-=b);return $o(a-c,7)}function yq(a,b,c){c=$o((a-(c||0))%b,7);c>=b&&(c-=b);if(c)0>c&&(c+=b);else return $o(a,7);return $o(a+b-c,7)}
function zq(a,b,c){var d=new Date(a),e=d.getUTCFullYear(),f=d.getUTCMonth(),h=d.getUTCDate(),k=d.getUTCHours(),l=d.getUTCMinutes(),n=d.getUTCSeconds(),q=d.getUTCMilliseconds();if(b.j)return e=xq(e,b.j,(new Date(c)).getUTCFullYear()),Date.UTC(e,0);if(b.h)return f=xq(f,b.h),Date.UTC(e,f);if(!b.b||b.b%7)return b.b?(h=xq(h,b.b),Date.UTC(e,f,h)):b.f?(k=xq(k,b.f),Date.UTC(e,f,h,k)):b.g?(l=xq(l,b.g),Date.UTC(e,f,h,k,l)):1<=b.c?(n=xq(n,b.c),Date.UTC(e,f,h,k,l,n)):b.c?(q=xq(q,1E3*b.c),Date.UTC(e,f,h,k,l,n,
q)):a;a=Aq(Bq());return xq(d.getTime(),864E5*b.b,Date.UTC(2E3,0,2+(a?a.firstDayOfWeek:0)))}
function Cq(a,b,c){var d=new Date(a),e=d.getUTCFullYear(),f=d.getUTCMonth(),h=d.getUTCDate(),k=d.getUTCHours(),l=d.getUTCMinutes(),n=d.getUTCSeconds(),q=d.getUTCMilliseconds();switch(b){case "year":return e=xq(e,c,(new Date(2E3)).getUTCFullYear()),Date.UTC(e,0);case "semester":return f=xq(f,6*c),Date.UTC(e,f);case "quarter":return f=xq(f,3*c),Date.UTC(e,f);case "month":return f=xq(f,c),Date.UTC(e,f);case "thirdofmonth":return xq(d.getTime(),864E6*c,Date.UTC(2E3,0,2));case "week":return a=Aq(Bq()),
xq(d.getTime(),6048E5*c,Date.UTC(2E3,0,2+(a?a.firstDayOfWeek:0)));case "day":return xq(d.getTime(),864E5*c,Date.UTC(2E3,0,2));case "hour":return k=xq(k,c),Date.UTC(e,f,h,k);case "minute":return l=xq(l,c),Date.UTC(e,f,h,k,l);case "second":return n=xq(n,c),Date.UTC(e,f,h,k,l,n);case "millisecond":return q=xq(q,c),Date.UTC(e,f,h,k,l,n,q)}return a}
function Dq(a,b){var c,d;switch(a){case "year":c=sp;d=b;break;case "semester":c=tp;d=6*b;break;case "quarter":c=tp;d=3*b;break;case "month":c=tp;d=b;break;case "thirdofmonth":c=up;d=10*b;break;case "week":c=up;d=7*b;break;case "day":c=up;d=b;break;case "hour":c=vp;d=b;break;case "minute":c=wp;d=b;break;case "second":c=xp;d=b;break;case "millisecond":c=xp;d=b/1E3;break;default:c=sp,d=b}return new rp(c,d)}function Eq(a,b,c){b=(b&1)/2;return.5<=a%1?Math.ceil(a)-(c?-b:b):Math.floor(a)+(c?-b:b)}
function Fq(a){var b=a.qa(),c=a.ma();a.left=Eq(a.left,0);a.top=Eq(a.top,0);a.width=Eq(b,0)-a.left;a.height=Eq(c,0)-a.top;return a}function Gq(a,b,c,d){switch(b){case "leftTop":case "leftCenter":case "centerTop":case "center":a.x+=c;a.y+=d;break;case "leftBottom":case "centerBottom":a.x+=c;a.y-=d;break;case "rightCenter":case "rightTop":a.x-=c;a.y+=d;break;case "rightBottom":a.x-=c,a.y-=d}}
function jo(a){var b;b=fa(a);if("array"==b){b=[];for(var c=0;cb;b++)a.lineTo(c+e*er[b],d+e*fr[b]);a.lineTo(c+e*er[0],d+e*fr[0]);a.close();return a};case "square":return function(a,c,d,e,f){var b=c-e,k=d-e;c+=e;d+=e;m(f)&&(f=f||0,b=Eq(b,f),k=Eq(k,f),c=Eq(c,f),d=Eq(d,f));a.moveTo(b,
k).lineTo(c,k).lineTo(c,d).lineTo(b,d).lineTo(b,k).close();return a};case "vline":case "line":return function(a,c,d,e,f){f=f||0;e*=2;var b=e/2;c-=b/2;d-=e/2;b=c+b;e=d+e;m(f)&&(f=f||0,c=Eq(c,f),d=Eq(d,f),b=Eq(b,f),e=Eq(e,f));a.moveTo(c,d).lineTo(b,d).lineTo(b,e).lineTo(c,e).lineTo(c,d).close();return a};case "arrowup":return function(a,c,d,e,f){var b=e/2,k=b/2;e=c+b;var l=c-b,n=d+b,b=d-b,q=c+k,k=c-k;m(f)&&(f=f||0,e=Eq(e,f),l=Eq(l,f),n=Eq(n,f),b=Eq(b,f),q=Eq(q,f),k=Eq(k,f),c=Eq(c,f),d=Eq(d,f));a.moveTo(c,
b);a.lineTo(e,d,q,d,q,n,k,n,k,d,l,d);a.close();return a};case "arrowdown":return function(a,c,d,e,f){var b=e/2,k=b/2;e=c+b;var l=c-b,n=d+b,b=d-b,q=c+k,k=c-k;m(f)&&(f=f||0,e=Eq(e,f),l=Eq(l,f),n=Eq(n,f),b=Eq(b,f),q=Eq(q,f),k=Eq(k,f),c=Eq(c,f),d=Eq(d,f));a.moveTo(c,n);a.lineTo(e,d,q,d,q,b,k,b,k,d,l,d);a.close();return a};case "arrowleft":return function(a,c,d,e,f){var b=e/2,k=b/2;e=c+b;var l=c-b,n=d+b,b=d-b,q=d+k,k=d-k;m(f)&&(f=f||0,e=Eq(e,f),l=Eq(l,f),n=Eq(n,f),b=Eq(b,f),q=Eq(q,f),k=Eq(k,f),c=Eq(c,
f),d=Eq(d,f));a.moveTo(l,d);a.lineTo(c,n,c,q,e,q,e,k,c,k,c,b);a.close();return a};case "arrowright":return function(a,c,d,e,f){var b=e/2,k=b/2;e=c+b;var l=c-b,n=d+b,b=d-b,q=d+k,k=d-k;m(f)&&(f=f||0,e=Eq(e,f),l=Eq(l,f),n=Eq(n,f),b=Eq(b,f),q=Eq(q,f),k=Eq(k,f),c=Eq(c,f),d=Eq(d,f));a.moveTo(e,d);a.lineTo(c,n,c,q,l,q,l,k,c,k,c,b);a.close();return a};default:return vh}}
function hr(a,b,c,d){var e=new So;c=!0;A(d)&&(e.Km(d.rowsSeparator),e.bm(d.columnsSeparator),e.zm(d.ignoreTrailingSpaces),c=!d.ignoreFirstRow,e.xm(c));if(a=e.Tl(a)){d=jf("table");b&&(e=jf("caption"),nf(e,b),d.appendChild(e));var f,h;c&&(f=jf("thead"),h=jf("tr"),f.appendChild(h));b=jf("tbody");for(e=0;e=a||96<=a&&106>=a||65<=a&&90>=a||(kc||ic)&&!a)return!0;switch(a){case 32:case 43:case 63:case 64:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:return!0;default:return!1}}function lr(a){if(jc)a=mr(a);else if(lc&&kc)switch(a){case 93:a=91}return a}
function mr(a){switch(a){case 61:return 187;case 59:return 186;case 173:return 189;case 224:return 91;case 0:return 224;default:return a}};function nr(a,b){hd.call(this);a&&(this.bp&&or(this),this.rm=a,this.ap=Sc(this.rm,"keypress",this,b),this.st=Sc(this.rm,"keydown",this.rJ,b,this),this.bp=Sc(this.rm,"keyup",this.sJ,b,this))}G(nr,hd);g=nr.prototype;g.rm=null;g.ap=null;g.st=null;g.bp=null;g.Of=-1;g.Dj=-1;g.Rq=!1;
var pr={3:13,12:144,63232:38,63233:40,63234:37,63235:39,63236:112,63237:113,63238:114,63239:115,63240:116,63241:117,63242:118,63243:119,63244:120,63245:121,63246:122,63247:123,63248:44,63272:46,63273:36,63275:35,63276:33,63277:34,63289:144,63302:45},qr={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},rr=hc||ic||kc&&vc("525"),sr=lc&&jc;g=nr.prototype;
g.rJ=function(a){(kc||ic)&&(17==this.Of&&!a.ctrlKey||18==this.Of&&!a.altKey||lc&&91==this.Of&&!a.metaKey)&&this.Ap();-1==this.Of&&(a.ctrlKey&&17!=a.keyCode?this.Of=17:a.altKey&&18!=a.keyCode?this.Of=18:a.metaKey&&91!=a.keyCode&&(this.Of=91));rr&&!jr(a.keyCode,this.Of,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?this.handleEvent(a):(this.Dj=lr(a.keyCode),sr&&(this.Rq=a.altKey))};g.Ap=function(){this.Dj=this.Of=-1};g.sJ=function(a){this.Ap();this.Rq=a.altKey};
g.handleEvent=function(a){var b=a.b,c,d,e=b.altKey;hc&&"keypress"==a.type?(c=this.Dj,d=13!=c&&27!=c?b.keyCode:0):(kc||ic)&&"keypress"==a.type?(c=this.Dj,d=0<=b.charCode&&63232>b.charCode&&kr(c)?b.charCode:0):gc&&!kc?(c=this.Dj,d=kr(c)?b.keyCode:0):(c=b.keyCode||this.Dj,d=b.charCode||0,sr&&(e=this.Rq),lc&&63==d&&224==c&&(c=191));var f=c=lr(c);c?63232<=c&&c in pr?f=pr[c]:25==c&&a.shiftKey&&(f=9):b.keyIdentifier&&b.keyIdentifier in qr&&(f=qr[b.keyIdentifier]);this.Of=f;a=new tr(f,d,0,b);a.altKey=e;this.dispatchEvent(a)};
function or(a){a.ap&&(ad(a.ap),ad(a.st),ad(a.bp),a.ap=null,a.st=null,a.bp=null);a.rm=null;a.Of=-1;a.Dj=-1}g.T=function(){nr.u.T.call(this);or(this)};function tr(a,b,c,d){Cc.call(this,d);this.type="key";this.keyCode=a;this.g=b}G(tr,Cc);var ur=ba.acgraph;kl.prototype.H=!1;kl.prototype.j=function(a){this.U||(this.U=new Pn(this,this.H),this.U.O(vr("stageCredits")));return m(a)?(this.U.O(a),this):this.U};var wr=0,xr=[];function yr(a,b){wr?xr.push(ra(a,b)):a.apply(b)}function zr(){wr--;if(!wr)for(var a=xr.slice(0),b=xr.length=0;be;e++){c=e;for(var f=0;8>f;f++)c=c&1?3988292384^c>>>1:c>>>1;d[e]=c}Xq=d}c=-1;for(d=0;d>>8^Xq[(c^a.charCodeAt(d++))&255];a=((c^-1)>>>0).toString(16);return b==a}var Jr=[],Kr=[],Lr=[];
function vr(a){var b;Kr.length||(Kr.push(ba.anychart.themes.defaultTheme||{}),Lr.push(Kr[0]));for(b=Kr.length-1;bc.length?c[0]:c[b]):0}
g.parent=function(a){return m(a)?(this.R!=a&&(a?(this.R&&Xt(this.R,this.xr,this),this.R=a,O(this.R,this.xr,this)):(Xt(this.R,this.xr,this),this.R=null)),this):this.R};g.xr=function(a){var b=0,c=0;S(a,1)&&(b|=16,c|=1);S(a,8)&&(b|=4,c|=8);S(a,32768)&&(b|=1,c|=1);this.f=null;this.i(b,c)};function kv(a,b,c,d,e,f,h){switch(a.C("cornerType")){case "round":b.Df(e,f,h,h,!1,!0);break;case "roundInner":b.Df(e,f,h,h,!1,!1);break;case "cut":b.lineTo(e,f);break;default:b.lineTo(c,d).lineTo(e,f)}}
g.L=function(){if(!this.ab())return this;var a=this.C("fill")||"none",b=this.C("stroke"),c=this.C("topStroke"),d=this.C("rightStroke"),e=this.C("bottomStroke"),f=this.C("leftStroke"),h=!!(c||d||e||f),k=c&&d&&e&&f,l,n,q=this.I()?this.I().Y():null,r=q&&!q.vb();r&&q.Lb();if(this.F(4)){this.h||(this.h=mh());k&&this.b?this.b.clear().parent(null):(this.b||(this.b=Dg()),this.b.parent(this.h),this.b.clear());h?(this.g||(this.g=Dg()),this.g.parent(this.h),this.g.clear()):this.g&&this.g.clear().parent(null);
if(this.o)for(k=0,l=this.o.length;kd||c>e)return 1;if(bd)return 1}else if(a.A){if(ce)return 1}return 0}
function Av(a){var b=a.aa(),c,d,e;b?(c=b.width,b=b.height,null!=a.sa?(a.U=d=L(a.sa,c),c=!1):(d=0,c=!0),null!=a.Ba?(a.N=e=L(a.Ba,b),b=!1):(e=0,b=!0)):(isNaN(M(a.sa))?(c=!0,d=0):(c=!1,a.U=d=M(a.sa)),isNaN(M(a.Ba))?(b=!0,e=0):(b=!1,a.N=e=M(a.Ba)));var f=a.Hc();a.c.width(null);a.c.height(null);c?(d+=a.c.za().width,a.Z=d,a.U=f.td(d)):d=a.Z=f.nc(d);a.c.width(a.Z);b?(e+=a.c.za().height,a.W=e,a.N=f.hd(e)):e=a.W=f.mc(e);a.c.height(a.W);var h=!c&&a.h||!b&&a.A;R(a);if(h){var h=Math.round((a.J+a.K)/2),k=a.K,
l=a.J,n;n=a.g;var q=oh();q.Jc("aria-hidden","true");a.zb(q,!0);a.g=n;q.fontSize(a.J);if(0>=zv(a,q.za().width,q.za().height,d,e))d=a.J;else{q.fontSize(h);for(var r=n=zv(a,q.za().width,q.za().height,d,e);k!=l;){if(0>n)k=Math.min(h+1,l),h+=Math.floor((l-h)/2);else if(0=r*n)break}if(n){do h+=r,q.fontSize(h),n=zv(a,q.za().width,q.za().height,d,e);while(0>r*n);Lb(q);0b?null:b;m(a.width())||a.i(4)}function Aw(a,b){a.J=0>b?null:b;m(a.height())||a.i(4)}g.margin=function(a,b,c,d){this.l||(this.l=new cw,H(this,this.l),O(this.l,this.Ow,this));return m(a)?(this.l.O.apply(this.l,arguments),this):this.l};
g.Af=function(a,b,c,d){this.la||(this.la=new wv,H(this,this.la),O(this.la,this.Ow,this));return m(a)?(this.la.O.apply(this.la,arguments),this):this.la};function Bw(a,b){if(m(b)){var c=a.C("orientation")!=b;a.dd.orientation=b;c&&a.i(4);return a}return a.dd.orientation}g.FG=function(a,b){if(m(a)){if(B(a))if(m(b)){if(a in this.s)this[a](b)}else return this.eb(a);else if(A(a))for(var c in a)if(c in this.s)this[c](a[c]);return this}c={};for(var d in this.h)d in this.s&&(c[d]=this.h[d]);return c};
function Cw(a,b){if(m(b)){var c=null==b?"":String(b);a.K!=c&&(a.K=c,a.i(20,9));return a}return a.K}g.i=function(a,b){var c=ww.u.i.call(this,a,b);!c&&this.G&&this.$(b||0);return c};function Dw(a){var b=!1;a.g||(b=!0,a.g=mh(),a.Uh().I(a.g),a.wa=a.g.text(),a.wa.zIndex(.1),a.wa.Jc("aria-hidden","true"),H(a,a.g),pu(a,a.g));return b}
g.L=function(){if(!this.ab())return this;var a=Dw(this),b=this.I();R(this);this.F(2)&&(this.g.parent(b),this.D(2));this.F(8)&&(this.g.zIndex(this.zIndex()),this.D(8));this.F(16)&&(this.zb(a),this.D(16));this.F(4)&&(Ew(this),this.wa.x(L(this.Af().C("left"),this.B)),this.wa.y(L(this.Af().C("top"),this.c)),this.g.Na(this.j.b,this.j.c,this.j.f,this.j.g,this.j.h,this.j.j),this.i(64),this.D(4));this.F(64)&&(a=this.Uh(),R(a),a.aa(0,0,this.B,this.c),a.L(),a.X(!1),this.D(64));this.X(!1);return this};
g.remove=function(){this.g?this.g.parent(null):this.wa&&this.wa.parent(null)};g.Sb=function(){var a=this.aa(),a=a?a.clone():mp(0,0,0,0);if(!this.enabled())return a;this.ja&&!this.F(4)||Ew(this);switch(this.C("orientation")){case "top":a.top+=this.ja.height;a.height-=this.ja.height;break;case "right":a.width-=this.ja.width;break;case "bottom":a.height-=this.ja.height;break;case "left":a.left+=this.ja.width,a.width-=this.ja.width}return a};
g.Tc=function(){if(!this.enabled())return new I(0,0,0,0);this.ja&&!this.F(4)||Ew(this);return this.ja.clone()};
g.zb=function(a){var b=this.C("text"),c=Cw(this),d=this.C("useHtml");if(a||m(b)||m(c)||m(d))a=!b&&m(c)?c:b,d?this.wa.htmlText(a):this.wa.text(a);this.wa.fontSize(this.C("fontSize"));this.wa.fontFamily(this.C("fontFamily"));this.wa.color(this.C("fontColor"));this.wa.Gh(this.C("textDirection"));this.wa.ek(this.C("textWrap"));this.wa.opacity(this.C("fontOpacity"));this.wa.vg(this.C("fontDecoration"));this.wa.fontStyle(this.C("fontStyle"));this.wa.fontVariant(this.C("fontVariant"));this.wa.fontWeight(this.C("fontWeight"));
this.wa.letterSpacing(this.C("letterSpacing"));this.wa.ck(this.C("lineHeight"));this.wa.dk(this.C("textIndent"));this.wa.ig(this.C("vAlign"));this.wa.Ce(this.C("hAlign"));this.wa.Te(this.C("textOverflow"));this.wa.Hh(this.C("selectable"));this.wa.qb(this.C("disablePointerEvents"))};
g.qj=function(){var a=this.eb("rotation");delete this.dd.rotation;a=m(a)?a:this.C("rotation");if(m(a))return a;switch(this.C("orientation")){case "left":return this.dd.rotation=-90;case "right":return this.dd.rotation=90;default:return this.dd.rotation=0}};
function Ew(a){var b=a.Af(),c=a.margin(),d=a.aa(),e,f,h=a.C("orientation"),k=!(a.qj()%180);f=!((a.qj()+90)%180);d?f?(e=d.height,f=d.width):(e=d.width,f=d.height):e=f=void 0;var l=Dw(a);if(l||a.F(16))a.zb(l),a.D(16);a.wa.width(null);a.wa.height(null);a.wa.Na(1,0,0,1,0,0);var l=a.wa.za(),n=a.Ib("width")?a.eb("width"):a.N||null;null===n?(a.A=l.width,a.B=b.td(a.A)):(a.B=L(n,e),a.A=b.nc(a.B));d&&e=a.documentMode)?Kf(this.c,Qw):Kf(this.c,Pw);tl==ul?(Kf(this.Y().$e(),Iw),Kf(this.Y().ba(),Rw)):(Kf(this.Y().$e(),Sw),Kf(this.Y().ba(),Tw));this.j()};Ow.prototype.j=function(){if(tl==ul){var a;a=this.g;a=a.b?a.b.clone():null;this.Y().bk(a.width,a.height)}};Ow.prototype.Aj=function(){return!1};function Uw(a,b,c){this.b={values:a||{},ug:b||null,Zf:c||[],nf:{},fe:{}};this.b.nf["%Value"]="value";this.b.nf["%YValue"]="value";this.b.nf["%Index"]="index"}g=Uw.prototype;g.values=function(a){return m(a)?(this.b.values=a,this):this.b.values};g.ug=function(a){return m(a)?(this.b.ug=a,this):this.b.ug};g.Zf=function(a){return m(a)?(this.b.Zf=a,this):this.b.Zf};g.nf=function(a){return m(a)?(this.b.nf=a,this):this.b.nf};g.fe=function(a){return m(a)?(this.b.fe=a,this):this.b.fe};
g.getData=function(a){var b=this.b.ug;return b?b.get.apply(b,arguments):void 0};g.AE=function(a){var b=this.b.ug?this.b.ug.V(a):void 0;m(b)||(b=(b=this.b.values.series)?b.value.V(a):void 0);return b};g.Mk=function(a){var b=void 0;if(a)for(var c=0;cc?d=this.c.il[c]:8>c?d=this.c.jl[c-4]:(d=this.c.iq[c-8],d=d.replace("{1}",this.c.il[c-8]),d=d.replace("{0}",this.c.jl[c-8]));Zw(this,d)}else Zw(this,a)}
function Zw(a,b){for(var c=!1,d="",e=0;e=a.count)return!1;var b="MydhHmsSDkK".indexOf(a.text.charAt(0));return 0a.count}function bx(a,b){var c=a.substring(b[0]).match(/^\s+/);c&&(b[0]+=c[0].length)}
function cx(a,b,c,d,e,f){bx(b,c);var h=c[0],k=d.text.charAt(0),l=-1;if(ax(d))if(0b.length)return!1;l=dx(a,b.substring(0,h+e),c)}else l=dx(a,b,c);switch(k){case "G":return l=ex(b,c,a.c.kq),0<=l&&(f.era=l),!0;case "M":case "L":a:{d=l;if(0>d){d=ex(b,c,a.c.vq.concat(a.c.Eq).concat(a.c.Aq).concat(a.c.Fq));if(0>d){f=!1;break a}f.month=d%12}else f.month=d-1;f=!0}return f;case "E":return d=ex(b,c,a.c.Gq),0>d&&(d=ex(b,c,a.c.Cq)),0>d?f=!1:(f.c=d,f=!0),f;case "a":return l=ex(b,c,a.c.hq),0<=l&&(f.g=
l),!0;case "y":a:{var n;if(0>l){n=b.charAt(c[0]);if("+"!=n&&"-"!=n){f=!1;break a}c[0]++;l=dx(a,b,c);if(0>l){f=!1;break a}"-"==n&&(l=-l)}n||2!=c[0]-h||2!=d.count?f.year=l:(a=l,b=(new Date).getFullYear()-80,c=b%100,f.l=a==c,a+=100*Math.floor(b/100)+(al?(d=ex(b,c,a.c.zq),0>d&&(d=ex(b,c,a.c.Bq)),0>d?f=!1:(f.month=3*d,f.day=1,f=!0)):f=!1,f;case "d":return 0<=l&&(f.day=l),!0;case "S":return a=c[0]-h,f.H=3>a?l*Math.pow(10,3-a):Math.round(l/Math.pow(10,
a-3)),!0;case "h":12==l&&(l=0);case "K":case "H":case "k":return 0<=l&&(f.b=l),!0;case "m":return 0<=l&&(f.h=l),!0;case "s":return 0<=l&&(f.j=l),!0;case "z":case "Z":case "v":b.indexOf("GMT",c[0])==c[0]&&(c[0]+=3);a:if(c[0]>=b.length)f.f=0,f=!0;else{d=1;switch(b.charAt(c[0])){case "-":d=-1;case "+":c[0]++}h=c[0];l=dx(a,b,c);if(0>l)f=!1;else{if(c[0]l){f=!1;break a}n+=l}else n=l,n=24>n&&2>=c[0]-h?60*n:n%100+n/100*60;f.f=-(n*d);f=!0}}return f;
default:return!1}}function dx(a,b,c){if(a.c.Hq){for(var d=[],e=c[0];e=f?String.fromCharCode(f+48):b.charAt(e))}b=d.join("")}else b=b.substring(c[0]);a=b.match(/^\d+/);if(!a)return-1;c[0]+=a[0].length;return parseInt(a[0],10)}function ex(a,b,c){var d=0,e=-1;a=a.substring(b[0]).toLowerCase();for(var f=0;fd&&!a.indexOf(c[f].toLowerCase())&&(e=f,d=h)}0<=e&&(b[0]+=d);return e}function fx(){};F("anychart.format.locales.default.dateTimeLocale",{eras:["BC","AD"],eraNames:["Before Christ","Anno Domini"],narrowMonths:"JFMAMJJASOND".split(""),standaloneNarrowMonths:"JFMAMJJASOND".split(""),months:"January February March April May June July August September October November December".split(" "),standaloneMonths:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),standaloneShortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),
weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),standaloneWeekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),shortWeekdays:"Sun Mon Tue Wed Thu Fri Sat".split(" "),standaloneShortWeekdays:"Sun Mon Tue Wed Thu Fri Sat".split(" "),narrowWeekdays:"SMTWTFS".split(""),standaloneNarrowWeekdays:"SMTWTFS".split(""),shortQuarters:["Q1","Q2","Q3","Q4"],quarters:["1st quarter","2nd quarter","3rd quarter","4th quarter"],ampms:["AM","PM"],firstDayOfWeek:0,
weekendRange:[5,6],firstWeekCutOffDay:3,dateFormat:"y MMM d",timeFormat:"HH:mm:ss",dateTimeFormat:"y MMM d 'at' HH:mm:ss",formats:{full_year:"yyyy",full_year_semester:"MMM yyyy",full_year_quarter:"MMM yyyy",full_year_month:"MMM yyyy",full_year_third_of_month:"dd MMM yyyy",full_year_week:"dd MMM yyyy",full_year_day:"dd MMM yyyy",full_year_hour:"HH dd MMM yyyy",full_year_minute:"dd MMM yyyy, HH:mm",full_year_second:"dd MMM yyyy, HH:mm:ss",full_year_millisecond:"dd MMM yyyy, HH:mm:ss.SSS",timeline_year:["yyyy",
"yy"],timeline_year_semester:["MMMM yyyy","MMM ''yyyy","MMM ''yy","MM ''yy"],timeline_year_quarter:["MMMM yyyy","MMM ''yyyy","MMM ''yy","MM ''yy"],timeline_year_month:["MMMM yyyy","MMM ''yyyy","MMM ''yy","MM ''yy"],timeline_year_third_of_month:"EEEE, dd MMMM yyyy;EE, dd MMM yyyy;EE, dd MMM yy;dd MMM yyyy;dd MMMM yy;MM.dd.yyyy;MM.dd.yy".split(";"),timeline_year_week:"EEEE, dd MMMM yyyy;EE, dd MMM yyyy;EE, dd MMM yy;dd MMM yyyy;dd MMMM yy;MM.dd.yyyy;MM.dd.yy".split(";"),timeline_year_day:"EEEE, dd MMMM yyyy;EE, dd MMM yyyy;EE, dd MMM yy;dd MMM yyyy;dd MMMM yy;MM.dd.yyyy;MM.dd.yy".split(";"),
timeline_semester:["MMMM","MMM","MM"],timeline_semester_quarter:["MMMM","MMM","MM"],timeline_semester_month:["MMMM","MMM","MM"],timeline_semester_third_of_month:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),timeline_semester_week:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),timeline_semester_day:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),timeline_quarter:["MMMM","MMM","MM"],timeline_quarter_month:["MMMM",
"MMM","MM"],timeline_quarter_third_of_month:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),timeline_quarter_week:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),timeline_quarter_day:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),timeline_month:["MMMM","MMM","MM"],timeline_month_third_of_month:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),timeline_month_week:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),
timeline_month_day:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),timeline_third_of_month:["dd"],timeline_third_of_month_week:["dd"],timeline_third_of_month_day:["EEEE, dd","EE, dd","dd"],timeline_week:["dd"],timeline_week_day:["EEEE, dd","EE, dd","dd"],timeline_day:["EEEE, dd","EEEE","EE, dd","EE","dd"],year:"yyyy",year_semester:"yyyy MMM",year_quarter:"yyyy MMM",year_month:"yyyy MMM",year_third_of_month:"MMM dd",year_week:"MMM dd",year_day:"MMM dd",year_hour:"MMM-dd HH",
year_minute:"dd HH:mm",year_second:"HH:mm:ss",year_millisecond:"HH:mm:ss.SSS",semester:"MMM",semester_quarter:"MMM",semester_month:"MMM",semester_third_of_month:"dd",semester_week:"dd",semester_day:"dd",semester_hour:"HH",semester_minute:"HH:mm",semester_second:"HH:mm:ss",semester_millisecond:"SSS",quarter:"MMM",quarter_month:"MMM",quarter_third_of_month:"dd",quarter_week:"dd",quarter_day:"dd",quarter_hour:"HH",quarter_minute:"HH:mm",quarter_second:"HH:mm:ss",quarter_millisecond:"SSS",month:"MMM",
month_third_of_month:"dd",month_week:"dd",month_day:"dd",month_hour:"HH",month_minute:"HH:mm",month_second:"HH:mm:ss",month_millisecond:"SSS",third_of_month:"dd",third_of_month_week:"dd",third_of_month_day:"dd",third_of_month_hour:"HH",third_of_month_minute:"HH:mm",third_of_month_second:"HH:mm:ss",third_of_month_millisecond:"SSS",week:"dd",week_day:"dd",week_hour:"HH",week_minute:"HH:mm",week_second:"HH:mm:ss",week_millisecond:"SSS",day:"dd",day_hour:"HH",day_minute:"HH:mm",day_second:"HH:mm:ss",
day_millisecond:"SSS",hour:"HH",hour_minute:"HH:mm",hour_second:"HH:mm:ss",hour_millisecond:"SSS",minute:"HH:mm",minute_second:"HH:mm:ss",minute_millisecond:"SSS",second:"HH:mm:ss",second_millisecond:"SSS",millisecond:"SSS",timelineHeader_year:"yyyy",timelineHeader_year_month:"MMMM, yyyy",timelineHeader_year_week:"dd MMM yy",timelineHeader_year_quarter:"MMM yyyy",timelineHeader_year_day:"dd MMM yy",timelineHeader_quarter_month:"MMMM",timelineHeader_month_week:"dd-MMM",timelineHeader_week_day:"d MMM, EEE",
timelineHeader_day_hour:"HH:mm",timelineHeader_hour_minute:"H:mm"}});F("anychart.format.locales.default.numberLocale",{decimalsCount:1,decimalPoint:".",groupsSeparator:"",scale:!1,zeroFillDecimals:!1,scaleSuffixSeparator:"",useBracketsForNegative:!1});F("anychart.format.locales.default.messages",{});
var gx=/^([-]?\d+\.?\d*)(.*?)?$/,hx={factors:[1E15,1E12,1E9,1E6,1E3,1E3,1,.001,1E-6,1E-9],suffixes:"P T G M K k m u n".split(" ")},ix="default",jx=null,kx=NaN,lx="default",mx=null,nx=null,ox=null,px=0,qx={},rx={},sx={},tx={};function ux(a){A(a)||(a=ba.anychart.format.locales[String(a)]);return a||null}function Aq(a){return(a=ux(a))&&a.dateTimeLocale||null}function vx(a){return(a=ux(a))&&a.numberLocale||null}function wx(a,b){var c=Aq(a);return c&&c[b||"dateTimeFormat"]||null}
function xx(a){if(!a)return op;var b=ma(a);b in tx||(tx[b]={kq:a.eras,Ku:a.eraNames,Lu:a.narrowMonths,Pu:a.standaloneNarrowMonths,vq:a.months,Eq:a.standaloneMonths,Aq:a.shortMonths,Fq:a.standaloneShortMonths,Gq:a.weekdays,Su:a.standaloneWeekdays,Cq:a.shortWeekdays,Ru:a.standaloneShortWeekdays,nC:a.narrowWeekdays,Qu:a.standaloneNarrowWeekdays,Bq:a.shortQuarters,zq:a.quarters,hq:a.ampms||a.amPmS,il:a.dateFormats||[],jl:a.timeFormats||[],iq:a.dateTimeFormats||[],mq:a.firstDayOfWeek,YC:a.weekendRange,
nq:a.firstWeekCutOffDay||a.firstWeekCutOfDay});return tx[b]}function yx(a){m(a)&&(kx=ha(a)?a.getTime():M(a));return isNaN(kx)?(a=new Date,a.setTime(Date.UTC(a.getUTCFullYear(),a.getUTCMonth())),a):new Date(kx)}function Bq(a){m(a)&&(B(a)||A(a)?lx=a:lx="default");return lx}function zx(a){m(a)&&(B(a)?mx=a:mx=null);return mx||wx(lx)||wx("default")||"yyyy.MM.dd"}function Ax(a){m(a)&&(B(a)?nx=a:nx=null);return nx||wx(lx,"dateFormat")||wx("default","dateFormat")||"yyyy.MM.dd"}
function Bx(a){m(a)&&(B(a)?ox=a:ox=null);return ox||wx(lx,"timeFormat")||wx("default","timeFormat")||"HH:mm:ss"}function Cx(a){m(a)&&(px=M(a)||0);return px}
function Dx(a,b,c,d){if(ha(a))return a;if(C(a))return isNaN(a)?null:new Date(a);if(B(a)){if(b=(m(b)?b:jx)||null){d=Aq(d)||Aq(ix)||Aq("default");var e=ma(d),e=b+e,f;e in rx||(d=xx(d),rx[e]=new Yw(b,d));f=rx[e];c=ha(c)?c:yx();(b=-1==b.replace(/'.+?'/g,"").search(/z+/i))&&c.setTime(c.getTime()+6E4*c.getTimezoneOffset());d=a.length;a:{for(var h=new fx,e=[0],k=-1,l=0,n=0,q=0;qk&&f.b[q].Zj&&(k=q,n=l=0),0<=k){var r=f.b[q].count;if(q==k&&(r-=n,n++,0==r)){a=0;break a}cx(f,
a,e,f.b[q],r,h)||(q=k-1,e[0]=l)}else{if(k=-1,!cx(f,a,e,f.b[q],0,h)){a=0;break a}}else{k=-1;if(" "==f.b[q].text.charAt(0)){if(r=e[0],bx(a,e),e[0]>r)continue}else if(a.indexOf(f.b[q].text,e[0])==e[0]){e[0]+=f.b[q].text.length;continue}a=0;break a}b:{void 0!=h.era&&void 0!=h.year&&!h.era&&0f?
f:a));la(c.setHours)&&(void 0==h.b&&(h.b=c.getHours()),void 0!=h.g&&0h.b&&(h.b+=12),c.setHours(h.b));la(c.setMinutes)&&void 0!=h.h&&c.setMinutes(h.h);la(c.setSeconds)&&void 0!=h.j&&c.setSeconds(h.j);la(c.setMilliseconds)&&void 0!=h.H&&c.setMilliseconds(h.H);void 0!=h.f&&c.setTime(c.getTime()+6E4*(h.f-c.getTimezoneOffset()));h.l&&(a=new Date,a.setFullYear(a.getFullYear()-80),c.getTime()a)&&(a=-a);n="";if(A(e)&&p(e.factors)&&p(e.suffixes)){var q=1,r=e.factors;e=e.suffixes;for(var t=Math.min(r.length,e.length),u=0;u=q||1>=q&&a>.1*q){n=e[u];break}n?n=h+n:q=1;a/=q}f=f?a.toFixed(b):$o(a,b).toString();a="";/(e+|e-)/.test(f)&&(b=f.split("e"),f=b[0],a="e"+b[1]);b=f.split(".");if(d){f=b[0];for(h=[];0<(e=f.substr(0,f.length-3)).length;)h.unshift(f.substr(-3)),f=
e;f&&h.unshift(f);b[0]=h.join(d)}d=l?"-":"";c=b.join(c)+a+n;l&&k&&(c=["(",c,")"].join(""),d="");return d+c}F("anychart.format.inputLocale",function(a){m(a)&&(B(a)||A(a)?ix=a:ix="default");return ix});F("anychart.format.inputBaseDate",yx);F("anychart.format.inputDateTimeFormat",function(a){m(a)&&(B(a)?jx=a:jx=null);return jx});F("anychart.format.outputLocale",Bq);F("anychart.format.outputTimezone",Cx);F("anychart.format.outputDateFormat",Ax);F("anychart.format.outputTimeFormat",Bx);
F("anychart.format.outputDateTimeFormat",zx);F("anychart.format.parseDateTime",Dx);
F("anychart.format.parseNumber",function(a,b){var c=vx(b)||vx(ix)||vx("default"),d=1;if(B(a)){c.useBracketsForNegative&&"("==a.charAt(0)&&")"==a.charAt(a.length-1)&&(d=-1,a=a.substring(1,a.length-1));a=a.replace(c.decimalPoint,".");a=a.replace(new RegExp(Pa(c.groupsSeparator),"g"),"");var e=c.scale;!0===e&&(e=hx);if(A(e)&&p(e.factors)&&p(e.suffixes)){a=a.replace(new RegExp(Pa(c.scaleSuffixSeparator),"g"),"");var f=a.match(gx);if(!f)return NaN;var h=1;a=+f[1];if(f=f[2])for(var k=e.factors,e=e.suffixes,
l=Math.min(k.length,e.length),n=0;nd.left-w+c&&(h-=d.left-w+c),0>d.top-v+e&&(k-=d.top-v+e),d.qa()-w+c>l.width&&(h-=d.qa()-w+c-l.width),d.ma()-v+e>l.height&&(k-=d.ma()-v+e-l.height));r||(b.x(h),b.y(k),d=b.ra(),d.leftf.width+w&&(h-=d.qa()-f.width-w),d.ma()>f.height+v&&(k-=d.ma()-f.height-v));u||(b.x(h),b.y(k),d=b.ra(),d.lefta.qa()+w&&(h-=d.qa()-w-a.qa()),d.ma()>a.ma()+v&&(k-=
d.ma()-v-a.ma()));b.x(h);b.y(k)}
function $x(a,b,c,d,e){if(a.xc(3)&&(a.g=e?e.Ea():a,ay(a,[a.g]),a.g.enabled())){for(var f={clientX:{value:c,type:"number"},clientY:{value:d,type:"number"},formattedValues:{value:[],type:""},points:{value:[],type:""}},h=[],k=0;kd.ma()?(e=d.ta(),f=d.qa(),h=d.xa(),k=d.ma(),c+=2):(e=f=d.ta()+2,h=d.xa(),k=d.ma(),b-=2);else if(b>d.qa())cd.ma()?(e=d.ta(),f=d.qa(),h=d.ma(),k=d.xa(),c+=2):(e=f=d.qa()-2,h=d.xa(),k=d.ma(),b+=2);else if(c<
d.xa())h=k=d.xa()+2,e=d.qa(),f=d.ta(),c-=2;else if(c>d.ma())h=k=d.ma()-2,e=d.ta(),f=d.qa(),c+=2;else break a;a.B=[e,h,f,k,b,c]}$c(document,"mousemove",a.ip,!1,a)}else e&&d.qb(!0)}}function ny(a,b,c,d){Sx(a);a.g=a;d&&(d.clientX=b,d.clientY=c,Cw(a.title(),cy(a,d)),a.Bc().text(by(a,d)));Tx(a,a);Xx(a,a,b,c);dy(a,b,c)}function cy(a,b){b.values().titleText={value:a.Ja.C("text"),type:"string"};Vw(b);var c=a.C("titleFormat");B(c)&&(c=oy(py.Uc(),c));return c.call(b,b)}
function by(a,b,c){b.values().valuePrefix={value:a.C("valuePrefix")||"",type:"string"};b.values().valuePostfix={value:a.C("valuePostfix")||"",type:"string"};Vw(b);a=c?a.C("unionFormat"):a.C("format");B(a)&&(a=oy(py.Uc(),a));return a.call(b,b)}g.Bc=function(a){this.s||(this.s=new Cv,O(this.s,this.wK,this),this.s.lb(this),this.s.width("100%").height("100%"),H(this,this.s));return m(a)?(this.s.O(a),this):this.s};
g.Qw=function(a){Nn(405,null,[".content()","the following behaviour",": the method called through the .content()-method should be applied to the .tooltip()-method directly"],!0);return this.Bc(a)};g.wK=function(a){S(a,8)?(Rx(this),this.i(1988,1)):S(a,1)&&this.i(512,1)};function Rx(a){a.K=null;a.N=null}
function Px(a,b,c){if(b)return a.j&&a.j.stop(),a.remove(),!0;if(a.C("selectable")&&c){b=c.originalEvent.clientX;c=c.originalEvent.clientY;var d=a.ra().ae(new ud(b,c)),e=Ux(a).ba();if(e&&!d)return Sc(e,"mouseleave",a.Xo,!1,a),a.B=null,!1;if(qy(a,b,c))return Sc(document,"mousemove",a.ip,!1,a),e&&(Sc(Ux(a).ba(),"mouseenter",a.Cu,!1,a),Sc(Ux(a).ba(),"mouseleave",a.Du,!1,a)),!1;a.B=null}if(a.Qk())return Qx(a),a.j.zj()||a.j.start(),!1;a.remove();return!0}g.remove=function(){Ux(this).parent(null)};
function Sx(a){var b=a.xc(1)&&!Wb(a.l);a.title().G=b;a.qg().G=b;a.Yg().G=b;a.Hc().G=b}g.ra=function(){this.N=null;Wx(this);return new I(this.N.x+this.C("offsetX"),this.N.y+this.C("offsetY"),this.K.width,this.K.height)};g.Tc=function(){Vx(this);return this.K};g.zb=function(){if(this.F(512)){R(this.Bc());for(var a in this.J){var b=this.C(a);m(b)&&this.Bc().Cb(a,b)}this.Bc().fk(this.C("adjustFontSize"));this.Bc().Et(this.C("minFontSize"));this.Bc().Ct(this.C("maxFontSize"));this.Bc().X(!1)}};
g.i=function(a,b){var c=Mx.u.i.call(this,a,b);!c&&this.xc(1)&&!Wb(this.l)&&this.$(b||0);return c};function Ux(a){if(!a.A){a.A=mh();H(a,a.A);pu(a,a.A);var b=a.Yg(),c=a.title(),d=a.qg(),e=a.Bc();b.I(a.A);c.I(a.A);d.I(a.A);e.I(a.A)}return a.A}function Yx(a,b){return m(b)?(a.ha=b,a):a.ha}function Zx(a){return Vt&&a.C("allowLeaveStage")&&a.C("allowLeaveChart")}function Qx(a){a.j&&a.j.zj()?a.ya=!0:(Lb(a.j),a.j=new ld(function(){this.remove();this.ya&&(this.ya=!1,Qx(this))},a.Qk(),a))}
function ay(a,b){b=b||[];for(var c in a.l)cb(b,function(a){return String(ma(a))==c})||a.l[c].Mc(!0)}
function Vx(a){if(!a.K){R(a.Bc());a.zb();a.Bc().X(!1);var b=a.C("width"),c=a.C("height"),d=(a.c||Yx(a)).ra(),b=L(b,d.width),c=L(c,d.height),d=!isNaN(b),e=!isNaN(c),f=new I(0,0,0,0),h,k=null,l=null,n=a.title(),q=a.qg(),r=a.Bc();R(n);R(q);R(r);var t;if(!d||!e){if(n.enabled()){tl==ul?n.aa(null):n.aa(a.c&&a.c.I()?a.c.I().Y().za():null);t=n.C("width");var u=null!=n.eb("width");h=n.C("height");var w=null!=n.eb("height");oq(t)&&(k=t,d?(t=a.Hc().nc(b),n.width(t)):n.width(null));oq(h)&&(l=h,e?(t=a.Hc().mc(c),
n.height(t)):n.height(null));h=n.Tc();f.width=b||Math.max(f.width,h.width);u?n.width(k):delete n.h.width;w?n.height(l):delete n.h.height;l=k=null;e||(f.height+=h.height)}if(r.enabled()){var v=(u=a.R?a.R.Bc():null)?u.width():void 0,u=u?u.height():void 0;r.aa(null);v=r.width()||v;u=r.height()||u;oq(v)&&(k=v,d?(t=a.Hc().nc(b),r.width(t)):r.width(null));oq(u)&&(l=u,e?(t=a.Hc().mc(c),r.height(t)):r.height(null));v=r.Tc();f.width=b||Math.max(f.width,v.width);k&&r.width(k);l&&r.height(l);e||(f.height+=v.height)}n.enabled()&&
n.aa(new I(0,0,f.width,h.height));r.enabled()&&r.aa(new I(0,0,f.width,v.height));q.enabled()&&(q.aa(n.enabled()||r.enabled()?f:null),h=q.Tc(),f.width=b||Math.max(f.width,h.width),e||(f.height+=h.height))}f=a.Hc().DB(f);d&&(f.width=b);e&&(f.height=c);f.left=0;f.top=0;a.K=f;n.X(!1);q.X(!1);r.X(!1)}}function Wx(a){Vx(a);if(!a.N){var b=a.C("anchor"),c=a.C("offsetX"),d=a.C("offsetY"),e=a.C("x"),f=a.C("y"),e=new ud(e,f);Gq(e,b,c,d);b=uq(a.K,b);e.x-=b.x;e.y-=b.y;a.N=e}}
function fy(a,b,c,d,e){var f=c,h=d,k,l=a.C("positionMode")||"float",n=a.C("displayMode"),q=(a.Nd()||Yx(a)).ra(),r=a.ha.I().Y(),t=r.za();k=ol(r);var u=Zx(b),r=b.C("allowLeaveStage"),w=b.C("allowLeaveScreen"),v=b.C("allowLeaveChart"),x=b.C("offsetX"),y=b.C("offsetY");"float"==l?(f=u?c:c-k.x,h=u?d:d-k.y):"point"==l?(h="union"==n?a.C("position"):b.C("position"),h=e.pI(h,!0).value,f=u?h.x+k.x:h.x,h=u?h.y+k.y:h.y):"chart"==l&&(f=a.Nd().ra(),h="union"==n?a.C("position"):b.C("position"),h=uq(f,h),f=h.x+(u?
k.x:0),h=h.y+(u?k.y:0));w||(b.x(f),b.y(h),w=u?0:k.x,u=u?0:k.y,k=b.ra(),a=ef(window),0>k.left-x+w&&(f-=k.left-x+w),0>k.top-y+u&&(h-=k.top-y+u),k.qa()-x+w>a.width&&(f-=k.qa()-x+w-a.width),k.ma()-y+u>a.height&&(h-=k.ma()-y+u-a.height));r||(b.x(f),b.y(h),k=b.ra(),k.leftt.width+x&&(f-=k.qa()-t.width-x),k.ma()>t.height+y&&(h-=k.ma()-t.height-y));v||(b.x(f),b.y(h),k=b.ra(),k.leftq.qa()+
x&&(f-=k.qa()-x-q.qa()),k.ma()>q.ma()+y&&(h-=k.ma()-y-q.ma()));b.x(f);b.y(h)}function ry(a){var b=null;Yx(a)?b=Yx(a).I():a.Nd()?b=a.Nd().I():a.parent()&&(Yx(a.parent())?b=Yx(a.parent()).I():a.parent().Nd()&&(b=a.parent().Nd().I()));return b}
function Tx(a,b){if(b.F(2)){var c;if(Zx(b)||"vml"==tl)c=Ow.Uc(),a.h&&a.h.Aj()&&b.h.I(null),b.h=c,b.h.I(document.body),b.I(c.b),Ux(b).parent(b.I()),b.D(2);else{var d=ry(b);if(d){var e=sy(b);c=cr[e];c||(c=new Gw,cr[e]=c);b.h=c;Ux(b).parent(b.I());d=d.Y().$e();c.I(d);b.I(c.b);b.D(2)}}}}
g.ip=function(a){if(qy(this,a.clientX,a.clientY))this.h.Aj()||Kw(this.h,!0);else{$c(document,"mousemove",this.ip,!1,this);var b=Ux(this).ba();b&&($c(b,"mouseenter",this.Cu,!1,this),$c(b,"mouseleave",this.Du,!1,this));this.Xo(a)}};function qy(a,b,c){if(!a.B)return!1;var d=a.B[0],e=a.B[1],f=a.B[2],h=a.B[3],k=a.B[4],l=a.B[5];a=fp(f,h,k,l,b,c);k=fp(k,l,d,e,b,c);return fp(d,e,f,h,b,c)==a&&a==k}
g.Cu=function(){$c(document,"mousemove",this.ip,!1,this);Ux(this).ba()&&$c(Ux(this).ba(),"mouseenter",this.Cu,!1,this);this.B=null};g.Du=function(a){Ux(this).ba()&&$c(Ux(this).ba(),"mouseleave",this.Du,!1,this);this.Xo(a)};g.Xo=function(a){if(2==a.b.buttons)return!0;this.h.Aj()||Kw(this.h,!1);Ux(this).ba()&&$c(Ux(this).ba(),"mouseleave",this.Xo,!1,this);this.B=null;this.Qk()?(Qx(this),this.j.zj()||this.j.start()):this.Mc(!0)};function sy(a){a=ry(a).Y();return"stg"+ma(a)}
g.parent=function(a){if(m(a)){if(this.R!=a){var b=String(ma(this));a?(this.R&&Xt(this.R,this.ao,this),this.R=a,this.title().parent(this.R.title()),this.qg().parent(this.R.qg()),this.Yg().parent(this.R.Yg()),this.Hc().parent(this.R.Hc()),this.Bc().Hc().parent(this.R.Bc().Hc()),this.R.l[b]=this,O(this.R,this.ao,this)):(Xt(this.R,this.ao,this),this.title().parent(null),this.qg().parent(null),this.Yg().parent(null),this.Hc().parent(null),this.Bc().Hc().parent(null),delete this.R.l[b],this.R=null)}return this}return this.R};
g.ao=function(a){var b=0,c=0;if(S(a,8)||S(a,1))b|=1988,c|=8,Rx(this);S(a,32768)&&(b|=1,c|=1);this.f=null;this.i(b,c)};g.eb=function(a){return this.o[a]};g.Ib=function(a){return null!=this.o[a]};g.jc=function(a){return this.Xa[a]};g.C=fv;g.kb=function(a,b){this.o[a]=b};g.xc=function(a){return m(a)?!!(a&this.va):!0};g.Ud=function(a){m(a)&&(this.f=a);return this.f};g.zg=ev;g.Vc=function(){var a=[this.Xa];this.R&&(a=ob(a,this.R.Vc()));return a};
g.Lc=function(){var a=[this.o];this.R&&(a=ob(a,this.R.Lc()));return a};g.Fz=function(a){Nn(405,null,["isFloating()","positionMode()"],!0);var b=this.C("positionMode");return m(a)?("float"==b!=a&&this.kb("positionMode",a?"float":"chart"),this):"float"==b};g.enabled=function(a){return m(a)?(this.o.enabled!=a&&(this.o.enabled=a,this.i(1,32777),this.o.enabled?(this.Gc=!1,this.X(!0)):isNaN(this.Hd)?R(this):this.Gc=!0),this):this.C("enabled")};
g.v=function(){var a={};Ku(this,this.J,a);Ku(this,this.Zm,a);delete a.x;delete a.y;var b=this.title().v();Wb(b)||(a.title=b);b=this.qg().v();Wb(b)||(a.separator=b);b=this.Yg().v();Wb(b)||(a.background=b);b=this.Hc().v();Wb(b)||(a.padding=b);m(this.W)&&(a.hideDelay=this.W);m(this.zIndex())&&(a.zIndex=this.zIndex());this.Ib("enabled")&&(a.enabled=this.o.enabled);return a};
g.M=function(a,b){a.content&&this.Qw(a.content);a.isFloating&&this.Fz(a.isFloating);if(b){for(var c in this.J){var d=a[c];m(d)&&(this.Xa[c]=d)}for(c in this.Zm)d=a[c],m(d)&&(this.Xa[c]=d);"enabled"in a&&(this.Xa.enabled=a.enabled)}else Ju(this,this.J,a),Ju(this,this.Zm,a);this.title().Pa(!!b,a.title);this.qg().Pa(!!b,a.separator);this.Yg().Pa(!!b,a.background);this.Hc().Pa(!!b,a.padding);this.Qk(a.hideDelay);c=a.contentInternal;if(!(c&&"anchor"in a&&"position"in a)){var e,f;c&&(e=c.position,f=c.anchor);
if(!e||!f){for(var d=this.zg(),h=0;hb?(v=Math.max(v,q),x+=n,r++,q=e+a.B,n=k+a.B):(q+=e+a.B,n=Math.max(n,k+a.B)):"verticalexpandable"==a.K&&(t+k>c?(x=Math.max(x,t),v+=u,w++,u=e+a.B,t=k+a.B):(t+=k+a.B,u=Math.max(u,e+a.B))));!d||0>f?f=d=0:d-=a.B;!h||
0>l?l=h=0:h-=a.B;a.Cc=w;return"vertical"==a.K?mp(0,0,Math.max(0,f),Math.max(0,h)):"horizontal"==a.K?mp(0,0,Math.max(0,d),Math.max(0,l)):"verticalexpandable"==a.K?(v+=u-a.B,x=Math.max(x,t)-a.B,mp(0,0,Math.max(0,v),Math.max(0,x))):"horizontalexpandable"==a.K?(v=Math.max(v,q)-a.B,x+=n-a.B,mp(0,0,Math.max(0,v),Math.max(0,x))):mp(0,0,0,0)}
function xy(a){var b=a.aa();b&&0>=b.width&&0>=b.height&&(b=null);var c,d,e=a.margin(),f=a.wk(),h,k,l,n,q=0,r=0,t,u;b?(c=b.width,d=b.height,null!=a.sa?(l=Math.min(c,L(a.sa,c),null!=a.hc?L(a.hc,c):c),t=f.nc(e.nc(l))):t=null!=a.hc?f.nc(e.nc(L(a.hc,c))):f.nc(e.nc(c)),null!=a.Ba?(n=Math.min(d,L(a.Ba,d),null!=a.Nb?L(a.Nb,d):d),u=f.mc(e.mc(n))):u=null!=a.Nb?f.mc(e.mc(L(a.Nb,d))):f.mc(e.mc(d))):(C(a.sa)&&!isNaN(a.sa)?(l=a.sa,t=f.nc(a.sa)):t=C(a.hc)&&!isNaN(a.hc)?f.nc(a.hc):Infinity,C(a.Ba)&&!isNaN(a.Ba)?
(n=a.Ba,u=f.mc(a.Ba)):u=C(a.Nb)&&!isNaN(a.Nb)?f.mc(a.Nb):Infinity);var w,v,x,y=a.Qm(),z=a.Cg(),E=a.title(),Q=z.Zi(),Q="bottom"==Q||"top"==Q,T=E.C("orientation")||Bw(E),T="bottom"==T||"top"==T,P=!(E.qj()%180),ka=rw(y);R(y);R(z);R(E);var ia=v=null;do{v&&(ia=v);var W=v=0,D=0,va=0;E.enabled()?(E.aa(null),zw(E,null),Aw(E,null),x=E.Tc(),T?(x.width>t&&(P?zw(E,t):Aw(E,t),x=E.Tc()),va=x.width,v+=x.height):(x.height>u&&(P?Aw(E,u):zw(E,u),x=E.Tc()),D=x.height,W+=x.width)):x=null;y.enabled()?(y.aa(null),w=y.Tc(),
ka?v+=w.height:W+=w.width):w=null;h=t-W;k=yy(a,h,u-v);var Ba=k.width;k=k.height;v+=k;W+=Ba;D=Math.max(D,k);va=Math.max(va,Ba);W=Math.max(va,W);va=Math.max(D,v);D=u;T&&(D-=x?x.height:0);ka&&(D-=w?w.height:0);z.aa(null);v=ow(z,1);if("horizontal"==a.K)Ba>h&&a.c&&1h&&1D&&a.c&&1=t-x.width?va:Ba,x=Math.max(Math.min(E.text().length,1),E.margin().nc(D-db<=x?D-x:db)),zw(E,x);else if(!P&&va>u){x=0;w&&ka&&(x+=w.height);if("top"==z.Zi()||"bottom"==z.Zi())x+=v.height;Ba=mw(z)&&!Q?v.height:0;Ba=Math.max(a.c&&a.c.length?a.c[0].ra().height:0,Ba);x=Math.max(1,E.margin().mc(u-
x-Ba));P?Aw(E,x):zw(E,x)}x=E.Tc();y.width(h)}else x=E.Tc(),y.width(k);w=y.Tc();T?W-=x.height:D-=x.width}y.enabled()&&(ka?W-=w.height:D-=w.width);Ba=D;x=W;z.Zi();mw(z)&&(Q?x=W-v.height:Ba=D-v.width);v=a;w=x;var Jb;v.A=[];x=0;W=v.c&&v.c.length;for(D=0;DBa?(x++,v.A[x]=[],v.A[x][0]=v.c[D],w=v.c[D].ra().Wa()):(w=w+v.B+v.c[D].ra().Wa(),v.A[x].push(v.c[D])));
break;case "vertical":Ba=v.c[D].ra().Va();D+=1;for(W=v.c.length;Dw?(x++,v.A[x]=[],v.A[x][0]=v.c[D],Ba=v.c[D].ra().Va()):(Ba=Ba+v.B+v.c[D].ra().Va(),v.A[x].push(v.c[D])));break;case "horizontalexpandable":for(var Ja=v.c[D].ra().Wa()+v.B,bd=v.c[D].ra().Va()+v.B,kd=0,D=D+1;DBa?(kd+=bd,kd+Jb>w?(x++,v.A[x]=[],v.A[x][0]=va,kd=0):v.A[x].push(va),Ja=db+v.B,bd=Jb+v.B):(Ja+=db+v.B,bd=Math.max(bd,Jb+v.B),
v.A[x].push(va)));break;case "verticalexpandable":for(Ja=v.c[D].ra().Wa()+v.B,bd=v.c[D].ra().Va()+v.B,kd=0,D+=1;Dw?(kd+=Ja,kd+db>Ba?(x++,v.A[x]=[],v.A[x][0]=va,kd=0):v.A[x].push(va),Ja=db+v.B,bd=Jb+v.B):(Ja=Math.max(Ja,db+v.B),bd+=Jb+v.B,v.A[x].push(va)))}ew(v.Cg(),x+1);z.aa(null);v=z.ra()}while(!yd(ia,v));l||(l=h);n||(n=k);a.ja=new I(q,r,l,n);if(a.bb)q=a.edb.qa()&&(q=b.qa()-l),rb.ma()&&(r=b.ma()-n));else if(b){q=b.ta();r=b.xa();switch(a.f){case "left":case "right":switch(a.o){case "center":r+=(d-n)/2;break;case "right":case "bottom":r=b.ma()-n}break;case "top":case "bottom":switch(a.o){case "center":q+=(c-l)/2;break;case "right":case "bottom":q=b.qa()-l}}switch(a.f){case "right":q=b.qa()-l;break;
case "bottom":r=b.ma()-n}}else q=L(e.C("left"),0),r=L(e.C("top"),0);a.ja.left=q;a.ja.top=r;a.Ec=a.wk().ee(a.margin().ee(a.ja));b=a.ja.clone();b.left=0;b.top=0;a.La=a.margin().ee(b);a.rc=a.wk().ee(a.La);y.X(!1);z.X(!1);E.X(!1);a.D(4)}function zy(a){if(p(a.nb))return a.nb;if(null!=a.G){for(var b,c=[],d=0;dc.width&&(e+=f,f=d=0),n.i(4),R(n).aa(c).x(d).y(e).enabled(!0).X(!1).L(),d+=n.ra().Wa()+
a.B,f=Math.max(f,q.Va()+a.B);break;case "verticalexpandable":for(k=0;kc.height&&(d+=h,h=e=0),n.i(4),R(n).aa(c).x(d).y(e).enabled(!0).X(!1).L(),e+=l[k].ra().Va()+a.B,h=Math.max(h,q.Wa()+a.B)}if(a.title().enabled()&&(c=a.title().C("orientation")||Bw(a.title()),"top"!=c&&"bottom"!=c)){d=c=0;if(e=a.h.Qa)c=e.h,d=e.j;e=a.U.Jk();f=a.Ja.Tc();f.top+=d;f.left+=c;c=f.top+f.height/2-(e.top+e.height/2);c=Math.min(a.Ec.height-e.height,Math.max(c,0));a.U.Na(1,0,0,1,0,c)}}a.wb=
b}g.pJ=function(a){return this.dispatchEvent(a.type)};g.Tf=function(a){a=uy.u.Tf.call(this,a);var b=mq(a.domTarget),b=M(b&&b.index);isNaN(b)||(a.itemIndex=b);return a};g.wJ=function(a){var b=Fy(this,a);if(b&&this.dispatchEvent(b)){var c=this.c&&this.c[b.itemIndex],b=b.itemSource;c&&(b&&la(b.Oz)&&b.Oz(c),c.Ka=!0,Pv(c,!0),Lv(c,!0),Ov(c,!0),a&&wy(this,a))}};g.vJ=function(a){var b=Fy(this,a);b&&this.dispatchEvent(b)&&a&&wy(this,a)};
g.TF=function(a){var b=Fy(this,a);b&&this.dispatchEvent(b)&&(a=this.c&&this.c[b.itemIndex],b=b.itemSource,a&&(b&&la(b.Nz)&&b.Nz(a),a.Ka=!1,Pv(a,!1),Lv(a,!1),Ov(a,!1),this.Ea().Mc()))};g.SF=function(a){if(a.button==zj){var b=Fy(this,a);b&&this.dispatchEvent(b)&&(a=this.c&&this.c[b.itemIndex],b=b.itemSource,a&&b&&la(b.Mz)&&b.Mz.call(b,a))}};g.ue=function(a){(a=Fy(this,a))&&this.dispatchEvent(a)};
function Fy(a,b){var c=M(b.itemIndex);if(isNaN(c))return null;var d=b.type;switch(d){case "mouseout":d="legenditemmouseout";break;case "mouseover":d="legenditemmouseover";break;case "mousemove":d="legenditemmousemove";break;case "mousedown":d="legenditemmousedown";break;case "mouseup":d="legenditemmouseup";break;case "click":d="legenditemclick";break;case "dblclick":d="legenditemdblclick";break;default:return null}var c=a.Z?a.c.length-1-c:c,e=null,f=NaN,h=a.c[c];if(h&&a.G)for(var k=0;kd?(kb(a.c,b,~d),kb(a.b,2,~d)):(e=!(a.b[d]&2))?a.b[d]|=2:m(c)&&(a.b[d]=c);a.target.enabled()&&a.target.mb().select(b)&&(e?Sy(a.target,2):m(c)&&Sy(a.target,c))}}function Ry(a,b){var c;if(m(b)){if(isNaN(b))return!Ty(a)&&!(a.Gd&2);c=Uy(a,+b)}else c=a.Gd;return!(c&2)}
function Vy(a,b){if(a.target.mb().select(b)){var c=ub(a.c,b);0>c?(kb(a.c,b,~c),kb(a.b,1,~c),!a.Gd&&Sy(a.target,1),Ry(a,NaN)):a.b[c]|=1}}function Wy(a,b,c){return!(a.b[c]&=~b)}function Xy(a,b,c){var d=a.c[c];Wy(a,b,c)?(lb(a.c,c,1),lb(a.b,c,1),a.target.enabled()&&a.target.mb().select(d)&&!a.Gd&&Sy(a.target,0)):a.target.enabled()&&a.target.mb().select(d)&&!a.Gd&&Sy(a.target,a.b[c])}function Yy(a,b,c){isNaN(c)||(c=ub(a.c,c),0<=c&&Xy(a,b,c))}
function Zy(a,b,c){var d;if(m(c))if(p(c))for(yb(c),d=c.length;d--;)Yy(a,b,+c[d]);else if(isNaN(c))for(d=a.c.length;d--;)Xy(a,b,d);else Yy(a,b,+c);else{for(d=a.b.length;d--;)Wy(a,b,d)&&(a.target.mb().select(a.c[d])&&Sy(a.target,0),lb(a.c,d,1),lb(a.b,d,1));a.Gd&=~b;if(Yt(a.target))for(b=$y(a.target);b.advance();)c=b.rb(),b.select(c)&&Ry(a,c)&&az(a.target,a.Gd)}}function bz(a,b){for(var c=[],d=0,e=a.b.length;da.nearestPointToCursor.distance&&(a.series.mb().select(a.nearestPointToCursor.index),e=a)});"single"==this.s.C("displayMode")?ey(this.s,[e],a.originalEvent.clientX,
a.originalEvent.clientY,e.series,this.Zp()):ey(this.s,b,a.originalEvent.clientX,a.originalEvent.clientY,e.series,this.Zp())}}};g.AB=function(a){var b=this.s,c=a.clientX;a=a.clientY;var d=b.C("displayMode");"single"==d&&(Xx(b,b.g,c,a),dy(b.g,c,a));if("union"==d)Xx(b,b.g,c,a),dy(b.g,c,a);else if("separated"==d)for(var e in b.l)if(d=b.l[e])fy(b,d,c,a),dy(d,c,a)};g.Zp=function(){return!1};
g.sl=function(a){!this.nb&&(this.nb=ba.anychart.ui.contextMenu(!!A(a)&&a.fromTheme))&&(H(this,this.nb),this.nb.itemsProvider(this.mI));return m(a)?(this.nb&&this.nb.setup(a),this):this.nb};g.mI=function(a){a.event&&mq(a.event.domTarget);a=jo(fz);return jo(a)};g.eJ=function(){var a=[],b,c,d,e=this.De();for(c=0;cu.ae||!h)h=t.jb,k=u.index,l=ib(t.Fb,u.index),n=u.ae}}h={index:k,series:h};h[b]=e?!l:l;l=[];if(!e)for(k=0;kw.Tb.ae&&(v=w));q=v.jb;f=bz(q.state,2);l=1==f.length&&f[0]==v.Tb.index;n=!l||l&&(k||a.shiftKey);f=(k||a.shiftKey)&&
!!(q.state.Gd&2);!f&&(k||a.shiftKey)||l||q.qf();q.Sj(v.Tb.index,a);f=bz(q.state,2);if(f.length)for(d.push({jb:q,Fb:[v.Tb.index],Tb:v.Tb}),e=this.De(),h=0;he?c+e:c,l=0>f?d+f:d;return{type:b,offsetX:h.offsetX,offsetY:h.offsetY,clientX:h.clientX,clientY:h.clientY,screenX:h.screenX,screenY:h.screenY,button:h.button,actionButton:h.actionButton,keyCode:h.keyCode,charCode:h.charCode,ctrlKey:h.ctrlKey,altKey:h.altKey,shiftKey:h.shiftKey,metaKey:h.metaKey,platformModifierKey:h.platformModifierKey,clientStartX:c+a.x,clientStartY:d+a.y,clientLeft:k+a.x,clientTop:l+a.y,startX:c,startY:d,left:k,top:l,width:Math.abs(e),
height:Math.abs(f)}}g.GK=function(a,b,c,d,e,f){return this.dispatchEvent(oz(this,"selectmarqueestart",b,c,d,e,f))};g.EK=function(a,b,c,d,e,f){return this.dispatchEvent(oz(this,"selectmarqueechange",b,c,d,e,f))};g.FK=function(a,b,c,d,e,f){a=oz(this,"selectmarqueefinish",b,c,d,e,f);a=this.dispatchEvent(a);this.Og=!1;return a};g.Ss=function(){return this.De()};function pz(a){a=ob.apply(null,ab(a.Ss(),function(a){return a.data().jh()}));sb(a,a,jq);return a}
function qz(a){a=pz(a);var b={},c=0,d=1b||h&&d>c?-1:f&&a==b||h&&d==c?0:1});0>d&&(d=~d-1);return a[nd(d,0,a.length)]}
function Uz(a){var b=Hz(a),c=b.useHtml,d=Ez(a);a.F(1024)&&(Dz(a.Kf,a.rb()),a.D(1024));b=Iz(a.Kf,b.format,d,a.rb());a.mj||(a.mj=oh(),a.mj.Jc("aria-hidden","true"));c?a.mj.htmlText(m(b)?String(b):""):a.mj.text(m(b)?String(b):"");Pz(a,function(a,b,c){a=0==c;J(b,iz)||J(b,Fz)?this.zb.call(b,this.mj,a):this.zb(this.mj,a,b)},!0);return a.mj}g.clear=function(){Jz(this);this.c&&(this.c.parent(null),this.c.ye());this.i(2)};
g.ww=function(a,b){var c=this.h.positionFormatter,d=xz(this.h.anchor)||"leftTop",e;m(void 0)?(!1!==this.dd.vertical&&(this.dd.vertical=!1,m(this.dd.vertical)||this.i(16,8)),e=this):e=this.dd.vertical;var f=this.h.offsetX,h=this.h.offsetY,k=0,l=0;b&&(k=b.width,l=b.height);var n=this.Qb(),q=$b(c.call(n,n)),q=new ud(q.x,q.y),n=n&&n.connectorPoint;this.l&&(this.l.clear(),this.l.Na(1,0,0,1,0,0));n&&(this.l||(this.l=this.c.path(),this.l.hm(!0)),this.l.stroke(this.h.connectorStroke),c=$b(c.call(n,n)),this.l.moveTo(q.x,
q.y).lineTo(c.x,c.y));c=uq(new I(0,0,a.width,a.height),d);q.x-=c.x;q.y-=c.y;f=m(f)?L(f,k):0;h=m(h)?L(h,l):0;e?Gq(q,d,h,f):Gq(q,d,f,h);a.left=q.x;a.top=q.y;this.g.x(this.s+q.x).y(this.o+q.y)};function Vz(a){var b=a.Qb(),c=a.h.positionFormatter,d=$b(c.call(b,b)),d=new ud(d.x,d.y),b=b&&b.connectorPoint;a.l&&(a.l.clear(),a.l.Na(1,0,0,1,0,0));b&&(a.l||(a.l=a.c.path(),a.l.hm(!0)),a.l.stroke(a.h.connectorStroke),c=$b(c.call(b,b)),a.l.moveTo(d.x,d.y).lineTo(c.x,c.y))}
g.zb=function(a,b,c){var d,e,f=m(c)?function(a){return c[a]}:J(this,Fz)?this.eb:iz.prototype.Xs;d=f.call(this,"text");e=f.call(this,"useHtml");if(b||m(d)||m(e))e?a.htmlText(d):a.text(d);a.fontSize(f.call(this,"fontSize"));a.fontFamily(f.call(this,"fontFamily"));a.color(f.call(this,"fontColor"));a.Gh(f.call(this,"textDirection"));a.ek(f.call(this,"textWrap"));a.opacity(f.call(this,"fontOpacity"));a.vg(f.call(this,"fontDecoration"));a.fontStyle(f.call(this,"fontStyle"));a.fontVariant(f.call(this,"fontVariant"));
a.fontWeight(f.call(this,"fontWeight"));a.letterSpacing(f.call(this,"letterSpacing"));a.ck(f.call(this,"lineHeight"));a.dk(f.call(this,"textIndent"));a.ig(f.call(this,"vAlign"));a.Ce(f.call(this,"hAlign"));a.Te(f.call(this,"textOverflow"));a.Hh(f.call(this,"selectable"));a.qb(f.call(this,"disablePointerEvents"))};
g.L=function(){var a=this.Kf,b;this.c||(this.c=mh());this.c.tag=this.Z;b=this.af("enabled");if(Oz(this,1))if(b)this.I()&&!this.c.parent()&&this.c.parent(this.I()),this.D(1);else return this.c&&this.c.parent(null),this.D(4294967295),this;if(!b)return this;Oz(this,2)&&(b&&((!this.Kf.enabled()||m(this.enabled())&&!this.enabled())&&this.Kf.xg()&&(this.I()||this.I(a.xg()),this.I().parent()||this.I().parent(a.I())),this.I()&&this.c.parent(this.I())),this.D(2));this.F(8)&&(this.I()&&this.I().zIndex(a.zIndex()),
this.c.zIndex(this.zIndex()),this.D(8));this.F(1024)&&(Dz(a,this.rb()),this.D(1024));if(Oz(this,20)){this.h=null;b=Hz(this);var c=Ez(this),d=Iz(a,b.format,c,this.rb());this.c.Na(1,0,0,1,0,0);var e,f=b.background;if(J(f,gv)){if(f.enabled()||this.A&&this.A.enabled())e=f.v()}else e=f;!A(e)||!e||"enabled"in e||(e.enabled=!1);(c=B(e)||ja(e)||e&&e.enabled)||this.A?(this.A||(this.A=new gv,this.A.zIndex(0),this.A.I(this.c)),this.U&&this.A.O(J(this.U,gv)?this.U.v():this.U),this.A.O(e),this.A.L()):f&&(this.U=
f);this.rj();var h,k;this.J=Pz(this,function(a,b){if(J(b,iz)){var c=b.aa();if(c)return c}});this.J||(a.I()?this.J=a.I().za():this.J=mp(0,0,0,0));this.J&&(h=this.J.width,k=this.J.height);e=this.h.useHtml;this.g.width(null);this.g.height(null);e?this.g.htmlText(m(d)?String(d):""):this.g.text(m(d)?String(d):"");this.zb(this.g,!0,b);e=null!==b.width;var d=null!==b.height,f=new I(0,0,0,0),l;if(J(b.padding,wv))l=b.padding;else if(A(b.padding)||C(b.padding)||B(b.padding))l=new wv,l.O(b.padding);var n,q,
r;e?(n=Math.ceil(L(b.width,h)),l?(r=l.nc(n),this.s=L(l.C("left"),n)):(this.s=0,r=n),f.width=n,n=!1):(q=this.g.za(),n=q.width,l?(f.width=l.td(n),this.s=L(l.C("left"),f.width)):(this.s=0,f.width=n),n=!0);m(r)&&this.g.width(r);var t;d?(q=Math.ceil(L(b.height,k)),l?(t=l.mc(q),this.o=L(l.C("top"),q)):(this.o=0,t=q),f.height=q,q=!1):(q=this.g.za(),q=q.height,l?(f.height=l.hd(q),this.o=L(l.C("top"),f.height)):(this.o=0,f.height=q),q=!0);m(t)&&this.g.height(t);if(!n&&b.adjustByHeight||!q&&b.adjustByHeight){var u;
"different"==wz(a)?u=Tz(this,r,t,b.minFontSize,b.maxFontSize,b.adjustByWidth,b.adjustByHeight):u=Pz(this,function(a,b){if(J(b,iz)&&m(b.dd.fontSize))return b.dd.fontSize});R(this);this.g.fontSize(u);e?(n=Math.ceil(L(b.width,h)),f.width=n):(q=this.g.za(),n=q.width,l?f.width=l.td(n):f.width=n);d?(q=Math.ceil(L(b.height,k)),f.height=q):(q=this.g.za(),q=q.height,l?f.height=l.hd(q):f.height=q);this.X(!1)}this.B=f;this.i(2048);this.D(20)}Oz(this,2048)&&(this.ww(this.B,this.J),c&&(this.A.aa(this.B),this.A.L()),
a=uq(this.B,this.h.anchor),this.c.Vj(this.h.rotation,a.x,a.y),this.i(512),this.D(2048));this.F(512)&&(Vz(this),this.D(512));Oz(this,256)&&(this.c&&this.c.cb(this.h.clip),this.D(256));return this};g.rj=function(){this.g||(this.g=oh(),this.g.Jc("aria-hidden","true"),this.g.zIndex(1),this.c||(this.c=mh()),this.g.parent(this.c),this.g.qb(!0));return this.g};
g.v=function(){var a=Fz.u.v.call(this),b;m(this.Ib("background"))&&(b=this.Lr().v(),Wb(b)||(a.background=b));m(this.Ib("padding"))&&(b=this.On().v(),Wb(b)||(a.padding=b));Ku(this,this.Kr,a,"Labels factory label text");Ku(this,this.vk,a,"Labels factory label props");(b=a.adjustFontSize)&&(m(b.width)||m(b.height))||delete a.adjustFontSize;this.Ib("enabled")||delete a.enabled;return a};
g.M=function(a,b){var c=this.C("enabled");Ju(this,this.Kr,a);Ju(this,this.vk,a);Fz.u.M.call(this,a,b);m(a.enabled)||delete this.b.enabled;this.kb("enabled","enabled"in a?a.enabled:c);"background"in a&&this.Lr(a.background);"padding"in a&&this.On(a.padding)};g.T=function(){Mb(this.b.background,this.b.padding,this.A,this.g,this.c);this.g=this.A=null;this.b.background=null;this.b.padding=null;Fz.u.T.call(this)};var Wz=iz.prototype;Wz.background=Wz.Mr;Wz.padding=Wz.Wi;Wz.enabled=Wz.enabled;
Wz.getLabel=Wz.te;Wz.getLabelsCount=Wz.Iz;Wz=Fz.prototype;Wz.getIndex=Wz.rb;Wz.padding=Wz.On;Wz.background=Wz.Lr;Wz.clear=Wz.clear;Wz.draw=Wz.L;function Xz(){hd.call(this);this.W=0;this.G=!1;this.ya="none"}G(Xz,Wt);g=Xz.prototype;g.ca=6;g.ea=da;function Yz(a,b){var c=1*(b-0);return a.G?1-c:c}function Zz(a,b){a.G&&(b=1-b);return b/1+0}g.zk=function(a){return m(a)?(a=!!a,this.G!=a&&(this.G=a,this.$(2)),this):this.G};g.gB=function(){this.W||this.Bi();this.W++;return this};g.cz=function(a){return(this.W=Math.max(this.W-1,0))?!0:this.uo(!!a)};g.Zl=function(){return!1};g.ls=!1;
g.Qp=function(a){return m(a)?(a=this.ls?bn(a):"none",this.ya!=a&&(this.ya=a,this.$(6)),this):this.ls?this.ya:"none"};g.v=function(){var a=Xz.u.v.call(this);a.type=this.ke();a.inverted=this.zk();return a};g.M=function(a,b){Xz.u.M.call(this,a,b);this.zk(a.inverted)};var $z=Xz.prototype;$z.inverted=$z.zk;$z.startAutoCalc=$z.gB;$z.finishAutoCalc=$z.cz;function aA(a){hd.call(this);this.scale=a;this.f=bA;this.c=cA;this.b=dA}G(aA,Wt);g=aA.prototype;g.ca=2;g.Ge=null;g.Md=4;g.vd=null;g.$g=null;
g.BH=function(a,b,c,d,e,f){if(m(a)){var h;if(null===a)h=null;else if(B(a)&&1==arguments.length)h=yp(a);else{if(B(a))switch(a=sn(a),b=M(b)||1,a){case "year":a="y";break;case "semester":a="m";b*=6;break;case "quarter":a="m";b*=4;break;case "month":a="m";break;case "thirdofmonth":a="d";b*=10;break;case "week":a="d";b*=7;break;case "day":a="d";break;case "hour":a="h";break;case "minute":a="n";break;case "second":a="s";break;case "millisecond":a="t"}h=new rp(a,b,c,d,e,f)}var k;if(k=h&&this.Ge)k=this.Ge,
k=h.j==k.j&&h.h==k.h&&h.b==k.b&&h.f==k.f&&h.g==k.g&&h.c==k.c;k||!h&&!this.Ge||(h?(this.Md=NaN,this.Ge=h):(this.Md=4,this.Ge=null),this.$g=this.vd=null,this.$(2));return this}return zp(this.Ge,!1)};g.count=function(a){return m(a)?(this.Md!=a&&(this.Ge=null,this.Md=isNaN(a)||2>a?4:Math.ceil(+a),this.$g=this.vd=null,this.$(2)),this):this.Md};
g.set=function(a){if(this.vd!=a){this.Md=NaN;this.Ge=null;this.vd=ab(a,function(a){return Dx(a)});yb(this.vd);for(var b=this.vd[0],c=1,d=1;da||1this.g&&(this.g=c,this.c=!1)}return this};
g.uo=function(a){var b=this.Gc!=this.f||this.Ka!=this.g;b&&(this.c=!1,a||this.$(2));return b};g.transform=function(a){this.bd();a=M(a);return Yz(this,(a-this.min)/this.o)};g.bd=function(){this.c||(this.c=!0,this.ny())};
g.ny=function(){isFinite(this.g)?isFinite(this.f)?1E-10>Math.abs(this.f-this.g)&&(this.f-=.5,this.g+=.5):this.f=this.g-1:isFinite(this.f)?this.g=this.f+1:(this.f=0,this.g=1);var a=(this.H?isNaN(this.B)?this.g:Math.max(this.g,this.B):this.max)-(this.l?isNaN(this.s)?this.f:Math.min(this.f,this.s):this.min);1E-4>Math.abs(a)&&!this.l&&!this.H&&(this.max+=1E-4);var b,c="percent"!=this.Qp();this.l&&(b=c?this.K:0,this.min=this.f-a*b,isNaN(this.s)||(this.min=0this.min&&0<=this.f&&this.min!=this.s&&(this.min=0));this.H&&(b=c?this.J:0,this.max=this.g+a*b,isNaN(this.B)||(this.max=0this.max&&0<=this.g&&this.max!=this.B&&(this.max=0))};g.Ne=function(a){this.bd();a=Zz(this,a);return a*this.o+this.min};
g.v=function(){var a=gA.u.v.call(this);a.maximum=this.H?null:this.max;a.minimum=this.l?null:this.min;a.minimumGap=this.Wl();a.maximumGap=this.Vl();a.softMinimum=isNaN(this.s)?null:this.s;a.softMaximum=isNaN(this.B)?null:this.B;a.maxTicksCount=this.ha;return a};g.M=function(a,b){gA.u.M.call(this,a,b);this.Wl(a.minimumGap);this.Vl(a.maximumGap);this.mo(a.softMinimum);this.lo(a.softMaximum);this.bi(a.minimum);this.Ak(a.maximum);this.Hj(a.maxTicksCount)};var hA=gA.prototype;hA.maxTicksCount=hA.Hj;
hA.minimum=hA.bi;hA.maximum=hA.Ak;hA.extendDataRange=hA.Ze;function iA(){gA.call(this);this.h=this.j=null;gA.call(this)}G(iA,gA);g=iA.prototype;g.ke=function(){return"dateTime"};g.ea=function(a){this.j||(this.j=new aA(this),H(this,this.j),O(this.j,this.ix,this));return m(a)?(this.j.O(a),this):this.j};g.Da=function(a){this.h||(this.h=new aA(this),H(this,this.h),O(this.h,this.ix,this));return m(a)?(this.h.O(a),this):this.h};g.Ze=function(a){for(var b=0;ba.scale.Hj()&&(Nn(20,null,[c-b,dr(k)]),k=null,a.Md=4);k||(k=eA(a,b,c,!1));d&&(f[0]=b=zq(b,k,0));b=new Np(new Date(b));c=new Np(new Date(c));for(d=0;0>=b.getTime()-c.getTime()&&150>d;b.add(k),d++)h.push(b.getTime());e&&0a.scale.Hj()&&(Nn(20,null,[l-d,dr(h)]),h=null,a.Md=4);h||(h=eA(a,c,b,!0));c=new Np(new Date(d));l=new Np(new Date(l));for(b=0;0>=c.getTime()-l.getTime()&&150>b;c.add(h),b++)e.push(c.getTime());a.$g=e;a.Md=k}this.l&&(this.min=f[0]);this.H&&(this.max=f[1]);this.o=this.max-this.min}};g.ix=function(a){S(a,2)&&(this.c=!1,this.$(2))};g.v=function(){var a=iA.u.v.call(this);a.ticks=this.ea().v();a.minorTicks=this.Da().v();return a};
g.M=function(a,b){iA.u.M.call(this,a,b);this.ea(a.ticks);this.Da(a.minorTicks)};var jA=iA.prototype;F("anychart.scales.dateTime",function(){var a=new iA;a.M(vr("defaultScaleSettings.dateTime"));return a});jA.getType=jA.ke;jA.ticks=jA.ea;jA.minorTicks=jA.Da;jA.transform=jA.transform;jA.inverseTransform=jA.Ne;jA.extendDataRange=jA.Ze;jA.softMinimum=jA.mo;jA.softMaximum=jA.lo;jA.minimumGap=jA.Wl;jA.maximumGap=jA.Vl;function kA(a){hd.call(this);this.b=a}G(kA,Wt);g=kA.prototype;g.ca=2;g.Ic=NaN;g.Kb=4;g.cd=6;g.pc=null;g.Sc=null;g.me=0;g.Bk="linear";g.KH=function(a){return m(a)?(this.Ic!=a&&(a=M(a),0>=a?(this.Kb=4,this.cd=6,this.Ic=NaN):(this.cd=this.Kb=NaN,this.Ic=+a),this.Sc=this.pc=null,this.$(2)),this):this.Ic};
g.count=function(a,b){return m(a)?(this.Kb!=a&&(this.Ic=NaN,this.Kb=Math.ceil(M(a)),this.cd=Math.ceil(M(b)),2<=this.Kb||(this.Kb=4),this.cd>=this.Kb||(this.cd=this.Kb),this.Sc=this.pc=null,this.$(2)),this):[this.Kb,this.cd]};g.po=function(a){return m(a)?(a=+a||0,this.me!=a&&(this.me=a,this.Sc=null,this.pc||this.$(2)),this):this.me};g.set=function(a){Cb(this.pc,a)||(this.Ic=this.cd=this.Kb=NaN,this.pc=rb(a,0),sb(this.pc),yb(this.pc,iq),this.Sc=null,this.$(2));return this};
g.get=function(){var a=lA(this);return $a(a,function(a){a=this.transform(a);return 0<=a&&1>=a},this.b)};function lA(a){a.pc?a=a.pc:(a.b.bd(),a=a.Sc);return a||[]}g.mode=function(a){return m(a)?(a=(""+a).toLowerCase(),a="log"==a||"logarithmic"==a?"logarithmic":"linear",this.Bk!=a&&(this.Sc=null,this.Bk=a,this.pc||this.$(2)),this):this.Bk};
function mA(a,b,c,d,e,f){if("logarithmic"==a.Bk){f=f||10;a.Sc=null;var h=[b,c];if(a.pc)d&&(h[0]=Math.min(b,a.pc[0]||0)),e&&(h[1]=Math.max(c,a.pc[a.pc.length-1]||0));else{b=bp(b,f);c=bp(c,f);var k=[],l=a.Ic,n=a.Kb,q=a.cd;!isNaN(l)&&(c-b)/l>a.b.Hj()&&(Nn(20,null,[c-b,l]),l=NaN,n=4,q=6);if(isNaN(l))for(var r=NaN,t=n;t<=q;t++){var n=(c-b)/(t-1),u=Math.log(n),w=Math.ceil(Math.pow(10,Math.floor(u*Math.LOG10E))),n=Math.min(yq(n,w),yq(n,Math.ceil(Math.pow(10,Math.ceil(u*Math.LOG10E)))),yq(n,Math.ceil(Math.pow(2,
Math.floor(u*Math.LOG2E)))),yq(n,Math.ceil(Math.pow(2,Math.ceil(u*Math.LOG2E)))),yq(n,Math.ceil(w/2)),yq(n,Math.ceil(w/4)),yq(n,Math.ceil(w/8))),n=Math.max(n,1E-7),u=ap(xq(b,n,a.me))-b,u=u*u,w=ap(yq(c,n,a.me))-c,w=w*w,u=u+w;if(isNaN(r)||ua.b.Hj()&&(Nn(20,null,[c-b,k]),k=NaN,r=4,l=6);if(isNaN(k))for(q=NaN,n=r;n<=l;n++){var r=(c-b)/(n-1),t=Math.log(r),u=Math.pow(10,Math.floor(t*Math.LOG10E)),w=Math.pow(10,Math.ceil(t*Math.LOG10E)),v=rb.length)){c=c||10;var f="logarithmic"==a.Bk,h=f?a.TD:a.SD,k,l,n=b.length-1,q=a.Ic,r=a.Kb;isNaN(a.Ic)||(l=b[n],k=b[0],f&&(k=bp(k,c),l=bp(l,c)),(l-k)/a.Ic>a.b.Hj()&&(Nn(20,null,[l-k,a.Ic]),a.Ic=NaN,a.Kb=4));m(d)?(k=b[0],l=b[1],h.call(a,k,l,d,l,c),k=1):k=0;m(e)&&n--;for(d=k;d<=n-1;d++)k=b[d],l=b[d+1],h.call(a,k,l,k,l,c);m(e)&&(k=b[n],l=b[n+1],h.call(a,k,l,k,e,c));a.Ic=q;a.Kb=r}}
g.SD=function(a,b,c,d){var e=this.Ic;isNaN(e)&&(e=(d-c)/(this.Kb-1));e=Math.max(e,1E-7);c=this.Sc[this.Sc.length-1];b=$o(b,7);for(a=$o(a,7);a<=b;a=$o(a+e,7))c!=a&&this.Sc.push(a),c=a};g.TD=function(a,b,c,d,e){var f=this.Ic;a=bp(a,e);b=bp(b,e);c=bp(c,e);d=bp(d,e);isNaN(f)&&(f=(d-c)/(this.Kb-1));f=Math.max(f,1E-7);c=this.Sc[this.Sc.length-1];b=$o(b,7);for(a=$o(a,7);a<=b;a=$o(a+f,7))c!=a&&this.Sc.push(cp(e,a)),c=a};
g.v=function(){var a=kA.u.v.call(this);a.mode=this.Bk;a.base=this.me;this.pc?a.explicit=this.pc:(this.Kb==this.cd?isNaN(this.Kb)||(a.count=this.Kb):(isNaN(this.Kb)||(a.minCount=this.Kb),isNaN(this.cd)||(a.maxCount=this.cd)),isNaN(this.Ic)||(a.interval=this.Ic));return a};g.Db=function(a,b){var c=arguments[1];return p(c)?(this.set(c),!0):Wt.prototype.Db.apply(this,arguments)};
g.M=function(a,b){kA.u.M.call(this,a,b);this.mode(a.mode);this.po(a.base);this.pc=a.explicit||null;this.Kb=a.count||a.minCount||NaN;this.cd=a.count||a.maxCount||NaN;this.Ic=a.interval||NaN;this.pc?this.Kb=this.cd=this.Ic=NaN:this.Ic?this.Kb=this.cd=NaN:(this.Kb=Math.ceil(M(this.Kb)),this.cd=Math.ceil(M(this.cd)),2<=this.Kb||(this.Kb=4),this.cd>=this.Kb||(this.cd=this.Kb))};var oA=kA.prototype;oA.interval=oA.KH;oA.count=oA.count;oA.base=oA.po;oA.set=oA.set;oA.get=oA.get;oA.mode=oA.mode;function pA(){gA.call(this);this.h=this.j=null;this.ls=!0;this.b=10;this.N=!0}G(pA,gA);g=pA.prototype;g.rs="none";g.qs="firstVisible";g.ke=function(){return"linear"};g.ea=function(a){this.j||(this.j=qA(this));return m(a)?(this.j.O(a),this):this.j};g.Da=function(a){this.h||(this.h=qA(this),R(this.h),this.h.count(5),this.h.X(!1));return m(a)?(this.h.O(a),this):this.h};g.wu=function(a){return m(a)?(a=!!a,a!=this.N&&(this.N=a,this.l||this.H)&&(this.c=!1,this.$(4)),this):this.N};
g.bd=function(){if(!this.c){pA.u.bd.call(this);var a=mA(this.ea(),this.min,this.max,this.l&&this.min!=this.s,this.H&&this.max!=this.B,this.b);this.l&&(this.min=a[0]);this.H&&(this.max=a[1]);nA(this.Da(),lA(this.ea()),this.b,a[2],a[3]);this.o=this.max-this.min}};g.FH=function(a){S(a,2)&&(this.c=!1,this.$(2))};function qA(a){var b=new kA(a);H(a,b);O(b,a.FH,a);return b}g.jI=function(a){return m(a)?(a=bn(a),this.rs!=a&&(this.rs=a,this.$(6)),this):this.rs};
g.iI=function(a){return m(a)?(a=cn(a)||tq(a),this.qs!=a&&(this.qs=a,this.$(6)),this):this.qs};g.v=function(){var a=pA.u.v.call(this);a.ticks=this.ea().v();a.minorTicks=this.Da().v();a.stackMode=this.Qp();a.stickToZero=this.wu();return a};g.M=function(a,b){pA.u.M.call(this,a,b);this.ea(a.ticks);this.Da(a.minorTicks);this.Qp(a.stackMode);this.wu(a.stickToZero)};var rA=pA.prototype;F("anychart.scales.linear",function(){var a=new pA;a.M(vr("defaultScaleSettings.linear"));return a});rA.transform=rA.transform;
rA.inverseTransform=rA.Ne;rA.getType=rA.ke;rA.ticks=rA.ea;rA.minorTicks=rA.Da;rA.stackMode=rA.Qp;rA.stickToZero=rA.wu;rA.softMinimum=rA.mo;rA.softMaximum=rA.lo;rA.minimumGap=rA.Wl;rA.maximumGap=rA.Vl;rA.comparisonMode=rA.jI;rA.compareWith=rA.iI;function sA(a){hd.call(this);this.scale=a}G(sA,Wt);g=sA.prototype;g.ca=2;g.ai=NaN;g.We=null;g.bj=null;g.Je=null;g.$h=null;g.kd=null;g.cj=100;g.ko=function(a){return m(a)?(a=sq(a,NaN),isNaN(a)||this.ai==a||(this.ai=a,this.cj=NaN,this.kd=this.$h=this.Je=this.bj=null,this.$(2)),this):this.ai};g.Bt=function(a){return m(a)?(a=sq(a,NaN),isNaN(a)||this.cj==a||(this.cj=a,this.ai=NaN,this.kd=this.$h=this.Je=this.bj=null,this.$(2)),this):this.cj};
g.set=function(a){Cb(this.Je,a)||(this.Je=pb(a),this.Je=ab(this.Je,function(a){return M(a)}),yb(this.Je),sb(this.Je),this.Je[0]=0,this.kd=this.$h=this.bj=null,this.$(2));return this};
g.names=function(a){if(m(a))return this.We!=a&&(this.We=a,this.$(2)),this;a=tA(this);var b,c;if(this.We&&this.We.lengthf&&0>h||1b&&0>a||1=d?(l=d-1,f=!0):l--;e.push(k==l?c[k]:[c[k],c[l]])}return e};function uA(a){a.bj=null;a.$h=null;a.kd=null}g.v=function(){var a=sA.u.v.call(this);this.Je?a.explicit=this.Je:isNaN(this.cj)?isNaN(this.ai)||(a.interval=this.ai):a.maxCount=this.cj;this.We&&(a.names=this.We);return a};
g.Db=function(a,b){var c=arguments[1];return p(c)?(this.set(c),!0):Wt.prototype.Db.apply(this,arguments)};g.M=function(a,b){sA.u.M.call(this,a,b);"explicit"in a?this.set(a.explicit):"interval"in a?this.ko(a.interval):"maxCount"in a&&this.Bt(a.maxCount);this.We=a.names||null;this.kd=this.$h=null};var vA=sA.prototype;vA.interval=vA.ko;vA.maxCount=vA.Bt;vA.set=vA.set;vA.get=vA.get;vA.names=vA.names;function wA(){this.b=[];this.h=[];this.c=[];this.f=[];this.H=[];this.o=!0;this.s={};this.A=null;this.B=!0;this.j=null;Xz.call(this)}G(wA,Xz);g=wA.prototype;g.ke=function(){return"ordinal"};g.ea=function(a){this.j||(this.j=new sA(this),H(this,this.j),O(this.j,this.JH,this));return m(a)?(this.j.O(a),this):this.j};
g.values=function(a,b){if(!m(a))return this.b;if(null===a)this.B||(this.B=!0,this.$(4));else{this.B=!1;var c=p(a);this.Bi();c&&a.length?this.Ze.apply(this,a):this.Ze.apply(this,arguments);this.uo(!1)}return this};
g.names=function(a){if(m(a)){if(null===a)this.h=[];else if(p(a))this.h=pb(a);else{if(!B(a)||this.h==a)return this;this.h=a}this.g=null;uA(this.ea());this.$(2);return this}if(p(this.h)){this.g||(this.g=pb(this.h));if(this.g.lengtha.Di?a.Di:a.Mm}else a.G=a.gl;if((null!==a.gl||null!==a.Di&&a.Mm>a.Di)&&"noOverlap"==a.xn()){q=[];for(h=0;h=z&&a.Ue()||1<=z&&a.Yd()?t=E:0z&&(t=E)),E++;x<=P&&h=z&&a.Ue()||1<=z&&a.Yd()?(u=l,n.push(!0)):0z?(u=l,n.push(!0)):n.push(!1))):n.push(!1),l++)}ka||(n=!1)}else if(J(q,Xz))for(h=0;hh&&(h=d)}if(n&&
!a.Xj())for(n=A(q)?q.Ma:!q,r=b.Da().get(),e=0,f=n.length;ek&&(k=d);return a.Dx(h,k)+l}g.Vs=function(a){return this.Zd()?this.Kh().nc(a):this.Kh().mc(a)};
g.Sb=function(){var a=this.aa();if(a){var b=a.clone();if(this.scale()&&this.enabled()){var c=this.ra(),d=this.Kh(),e=a.height-d.mc(a.height)+c.height,a=a.width-d.nc(a.width)+c.width;switch(this.wc()){case "top":b.height-=e;b.top+=e;break;case "right":b.width-=a;break;case "bottom":b.height-=e;break;case "left":b.width-=a,b.left+=a}}return b}return new I(0,0,0,0)};
g.ra=function(){if(!this.uh||this.F(4)){var a=this.aa();if(a){var b,c;a.top=Math.round(a.top);a.left=Math.round(a.left);a.width=Math.round(a.width);a.height=Math.round(a.height);this.Zd()?(b=a.width,c=a.height):(b=a.height,c=a.width);b=this.Vs(b);c=this.sa?L(this.sa,c):DA(this,a,b);var d,e,f=this.Kh(),h=L(f.C("top"),a.height),k=L(f.C("right"),a.width),l=L(f.C("bottom"),a.height),f=L(f.C("left"),a.width),n,q;switch(this.wc()){case "top":e=a.top+h;d=a.left+f;q=c;n=b;break;case "right":e=a.top+h;d=a.left+
a.width-c-k;q=b;n=c;break;case "bottom":e=a.top+a.height-c-l;d=a.left+f;q=c;n=b;break;case "left":e=a.top+h,d=a.left+f,q=b,n=c}this.uh=new I(Math.round(d),Math.round(e),Math.round(n),Math.round(q))}else this.uh=new I(0,0,0,0);this.D(4)}return this.uh};
function CA(a,b,c,d,e){if(!c&&a.scale()&&!J(a.scale(),gA))return null;var f=c?a.vn:a.wn;if(m(f[b]))return f[b];var h=m(e)?e:a.ra();e=m(e)?e:a.ib.za();var k=c?a.ea():a.Da(),l=k.length(),n=a.stroke(),n=!n||Hq(n)?0:n.thickness?parseFloat(a.stroke().thickness):1;c=c?a.labels():a.Ma();var q,r,t=a.scale();d=d[b];p(d)?(t=(t.transform(d[0],0)+t.transform(d[1],1))/2,d=d[0]):t=t.transform(d,.5);if(0>t||1=w&&b.call(e,w,y,z,f,c),l==k-1&&(w=a.transform(ia,1),0<=w&&1>=w&&b.call(e,w,y,z,f,c))),v=p(q)?q[l]:q,EA(this,d,t,l,c,!0,h,v&&0<=t&&1>=t);this.labels().L()}this.title().X(!1);this.labels().X(!1);this.Ma().X(!1);
this.ea().X(!1);this.Da().X(!1);return this};g.remove=function(){this.Ja&&this.Ja.remove();this.ib&&this.ib.parent(null);this.ea().remove();this.Da().remove();this.ia&&this.ia.remove();this.Ee&&this.Ee.remove()};
g.v=function(){var a=zA.u.v.call(this);a.title=this.title().v();a.labels=this.labels().v();a.minorLabels=this.Ma().v();a.ticks=this.ea().v();a.minorTicks=this.Da().v();a.stroke=io(this.stroke());a.staggerMode=this.Xj();a.staggerLines=this.uu();a.staggerMaxLines=this.vu();a.width=this.width();this.h&&(a.orientation=this.h);a.drawFirstLabel=this.Ue();a.drawLastLabel=this.Yd();a.overlapMode=this.xn();return a};
g.M=function(a,b){zA.u.M.call(this,a,b);"title"in a&&this.title(a.title);this.labels().Pa(!!b,a.labels);this.Ma().Pa(!!b,a.minorLabels);this.ea(a.ticks);this.Da(a.minorTicks);this.Xj(a.staggerMode);this.uu(a.staggerLines);this.vu(a.staggerMaxLines);this.stroke(a.stroke);this.width(a.width);this.wc(a.orientation);this.Ue(a.drawFirstLabel);this.Yd(a.drawLastLabel);this.xn(a.overlapMode)};
g.T=function(){zA.u.T.call(this);this.Qf&&Xt(this.Qf,this.ar,this);delete this.Qf;this.Ja=this.wn=this.vn=null;Mb(this.la,this.ib,this.ia,this.Ee);this.Ee=this.ia=this.uh=this.xf=this.Wg=this.ib=this.la=null};var FA=zA.prototype;FA.staggerMode=FA.Xj;FA.staggerLines=FA.uu;FA.staggerMaxLines=FA.vu;FA.title=FA.title;FA.labels=FA.labels;FA.minorLabels=FA.Ma;FA.ticks=FA.ea;FA.minorTicks=FA.Da;FA.stroke=FA.stroke;FA.orientation=FA.wc;FA.scale=FA.scale;FA.width=FA.width;FA.getRemainingBounds=FA.Sb;
FA.drawFirstLabel=FA.Ue;FA.drawLastLabel=FA.Yd;FA.overlapMode=FA.xn;FA.isHorizontal=FA.Zd;FA.padding=FA.Kh;FA.getPixelBounds=FA.ra;function GA(){U.call(this);this.c=this.j=null}G(GA,U);g=GA.prototype;g.ca=U.prototype.ca|8;g.da=U.prototype.da|20;g.Ke=function(){return this.c};function HA(a,b){return m(b)?(a.g!=b&&(a.g&&Xt(a.g,a.jr,a),a.g=b,a.g&&O(a.g,a.jr,a),a.i(4,9)),a):a.g?a.g:a.j?a.j.scale():null}g.jr=function(a){var b=0;S(a,4)&&(b|=4);S(a,2)&&(b|=1);this.i(4,b|8)};function IA(a,b){return m(b)?(a.b!==b&&(a.b=b,a.i(4,9)),a):a.b}g.bw=function(){this.i(4,9)};
g.Rh=function(a){return m(a)?(this.j!=a&&(this.j&&Xt(this.j,this.bw,this),this.j=a,O(this.j,this.bw,this),this.g&&Xt(this.g,this.jr,this),this.g=null,this.i(4,9)),this):this.j};g.aw=function(a,b,c,d){this.f||(this.f=new wv,H(this,this.f));return m(a)?(this.f.O.apply(this.f,arguments),this):this.f};g.qk=function(){return"horizontal"==this.ob()};g.El=void 0;g.Dl=void 0;
g.L=function(){if(!this.scale())return Kn(2),this;if(!this.ab())return this;if(this.F(8)){var a=this.zIndex();JA(this).zIndex(a);this.D(8)}this.F(2)&&(a=this.I(),JA(this).parent(a),this.D(2));this.F(16)&&(this.Dl(),this.D(16));this.F(4)&&(this.El(),this.D(4));return this};
function KA(a){var b=a.scale();if(b){var c=JA(a),b=b.transform(a.b,.5);if(!isNaN(b)&&(c.clear(),0<=b&&1>=b)){var d=c.xu()%2?-.5:0,e=a.aa(),f=a.aw();a.qk()?(a=Math.round(e.xa()+e.height-b*e.height),1==b?a-=d:a+=d,c.moveTo(e.ta(),a),c.lineTo(e.qa(),a)):(a=Math.round(e.ta()+b*e.width),1==b?a+=d:a-=d,c.moveTo(a,e.xa()),c.lineTo(a,e.ma()));c.cb(f.ee(e))}}else Kn(2)}
function LA(a){var b=a.b,c=a.scale();if(c){var d=JA(a);d.clear();var e=b.yb,f=b.from,h=c.transform(f),k=c.transform(e);h>k&&(e=b.from,f=b.yb);f=c.transform(f,0);c=c.transform(e,1);b=Math.min(c,f);f=Math.max(c,f);!isNaN(b)&&!isNaN(f)&&0<=f&&1>=b&&(b=nd(b,0,1),f=nd(f,0,1),c=a.aa(),e=a.aw(),a.qk()?(a=Math.floor(c.ma()-c.height*f),b=Math.ceil(c.ma()-c.height*b),f=c.ta(),h=c.qa(),d.moveTo(f,a).lineTo(h,a).lineTo(h,b).lineTo(f,b).close()):(a=c.ma(),h=c.xa(),b=Math.floor(c.ta()+c.width*b),f=Math.ceil(c.ta()+
c.width*f),d.moveTo(b,a).lineTo(b,h).lineTo(f,h).lineTo(f,a).close()),d.cb(e.ee(c)))}else Kn(2)}g.remove=function(){JA(this).parent(null)};function JA(a){a.B||(a.B=Dg(),H(a,a.B));return a.B}g.M=function(a,b){GA.u.M.call(this,a,b);"layout"in a&&a.layout&&this.ob(a.layout);if("axis"in a){var c=a.axis;C(c)?this.c&&this.Rh(this.c.Po(c)):J(c,zA)&&this.Rh(c)}};g.T=function(){this.c=this.j=null;GA.u.T.call(this)};function MA(){GA.call(this);this.b={from:0,yb:0};this.s="black";var a=!this.h&&"#c1c1c1 0.4"!=this.s;this.s="#c1c1c1 0.4";a&&this.i(16)}G(MA,GA);g=MA.prototype;g.ca=GA.prototype.ca;g.da=GA.prototype.da;g.ob=function(a){return m(a)?(a=Nm(a),this.l!=a&&(this.l=a,this.i(4,9)),this):this.l?this.l:this.Rh()?(a=this.Rh().wc(),"left"==a||"right"==a?"horizontal":"vertical"):"horizontal"};g.scale=function(a){return HA(this,a)};
g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Xd.apply(null,arguments);k!=this.h&&(this.h=k,this.i(16,1));return this}return this.h||this.s};g.from=function(a){return m(a)?(this.b.from!=a&&(this.b.from=a,this.i(4,9)),this):this.b.from};g.yb=function(a){return m(a)?(this.b.yb!=a&&(this.b.yb=a,this.i(4,9)),this):this.b.yb};g.El=function(){LA(this)};g.Dl=function(){JA(this).stroke(null).fill(this.fill())};g.T=function(){delete this.h;MA.u.T.call(this)};
g.v=function(){var a=MA.u.v.call(this);a.from=this.from();a.to=this.yb();this.h&&(a.fill=io(this.h));this.l&&(a.layout=this.l);return a};g.M=function(a,b){MA.u.M.call(this,a,b);this.from(a.from);this.yb(a.to);this.fill(a.fill)};var NA=MA.prototype;NA.from=NA.from;NA.to=NA.yb;NA.scale=NA.scale;NA.axis=NA.Rh;NA.layout=NA.ob;NA.fill=NA.fill;NA.isHorizontal=NA.qk;function OA(a){this.h=a;this.reset()}g=OA.prototype;g.select=function(a){this.b=a-1;return this.advance()};g.reset=function(){this.b=-1;this.j=void 0;return this};g.advance=function(){this.j=this.h.ud(++this.b);var a=this.Pb();return!!a&&this.b=this.Pb()))return PA(this.h.Mf(this.b),this.j,this.b,a)};g.om=function(a){return this.get(a)};g.rb=function(){return this.b};g.Pb=function(){return this.h.Pb()};
g.V=function(a,b){return 1=this.Pb()))return PA(this.Mf(a),this.ud(a),a,b)};g.set=function(a,b,c){var d=this.ud(a);m(d)&&this.ud(a,XA(this.Mf(a),d,b,c));return this};g.mb=function(){SA(this);return new OA(this)};g.js=function(){return null};
g.qp=function(a){this.c=null;S(a,16)&&this.i(1,16)};g.V=function(a,b,c){this.Xk||(this.Xk=[]);var d=this.Xk[a];d||(this.Xk[a]=d={});return 2=c&&0=f&&0=c&&0this.b.length||!this.c)return null;if(m(b))return this.f[a]=b,this.$(2),this;a>this.c-1&&(a=this.c-1);0>a&&(a=0);var c=this.f[a];return c?c:null};
function pB(a){if(a.b&&a.c){var b=[],c=p(a.b)?a.b:a.b.keys;if(p(c)&&c.length){isNaN(a.c)&&(a.c=c.length);for(var d=1/(c.length-1),e,f=0;f=b[h].offset&&(c=b[h]),e<=b[h].offset&&null==d&&
(d=b[h]);c||(c=b[0]);d||(d=b[b.length-1]);d.offset==c.offset?a.f[f]={color:c.color}:(e=1-(e-c.offset)/(d.offset-c.offset),a.f[f]={color:ce(Pl(Ml(c.color),Ml(d.color),e))})}}}}g.v=function(){var a=oB.u.v.call(this);a.type="range";for(var b=[],c=0;ca&&(c=b,b=a,a=c),c=[b,a])):c=null;this.l=!1;this.b=c;wB(this);this.$(2);return this}return this.b};g.sB=function(a){return m(a)?(this.g=M(a),wB(this),this.$(2),this):this.g};g.tx=function(a){if(m(a)){this.f=p(a)?a.slice():[];for(a=this.c.length=0;a=a.j&&--d;){b.add(c);f=b.getTime();if(zB(a,f,e))return f;e=f}return d&&a.R?CB(a.R,b.getTime(),c):NaN}
function AB(a,b){var c=Ap.prototype.Bu.call(b),d=a.h[c];if(m(d))return d;for(var d=null,e=0;ea.b[1])&&d.push([b.getTime(),b.getTime()+864E5-6E4]));!d&&a.R&&(d=AB(a.R,b));d||(d=[]);return a.h[c]=d}function wB(a){a.h={};a.H=null;a.j=null}g.rz=function(a){S(a,2)&&!this.b&&wB(this)};
function xB(a){var b=a.isWorking;this.h=m(b)?!b:!1;b=Hn(a.each);switch(b){case "year":var c=a.on,d=a.from,e=a.to;this.l=this.MH;(c=Dx(c,"dd.MM",sB))?(this.j=this.Dt,this.b=new Np(2E3,c.getUTCMonth(),c.getUTCDate()),e=DB(d,e),this.g=e[0],this.c=e[1]):(this.j=this.wA,this.b=null,c=(c=Dx(d,"dd.MM",sB))?new Np(c):tB,this.g=new Np(2E3,c.getUTCMonth(),c.getUTCDate()),c=(c=Dx(e,"dd.MM",sB))?new Np(c):uB,this.c=new Np(2E3,c.getUTCMonth(),c.getUTCDate()),this.c.add(vB));break;case "week":EB(this,a.on,a.from,
a.to);break;case "day":EB(this,NaN,a.from,a.to);break;default:c=a.on,d=a.from,e=a.to,this.l=this.Iu,(c=Dx(c))?(this.j=this.Dt,this.b=new Np(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),e=DB(d,e),this.g=e[0],this.c=e[1]):(this.j=this.wA,this.b=null,c=(c=Dx(d))?new Np(c):tB,this.g=new Np(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),c=(c=Dx(e))?new Np(c):uB,this.c=new Np(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),this.c.add(vB))}"none"==b?this.b?(this.H=this.b.clone(),this.f=this.b.clone(),
this.f.add(vB)):(this.H=this.g.clone(),this.f=this.c.clone()):(this.H=(b=Dx(a.starts))?new Np(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()):tB,(b=Dx(a.ends))?(this.f=new Np(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()),this.f.add(vB)):this.f=uB)}function EB(a,b,c,d){a.l=a.NH;a.j=a.Dt;b=Math.min(sq(b,NaN,!0),6);a.b=isNaN(b)?null:b;b=DB(c,d);a.g=b[0];a.c=b[1]}g=xB.prototype;g.Iu=function(a){return a.getTime()>=this.H.getTime()&&a.getTime()<=this.f.getTime()};
g.NH=function(a){return this.Iu(a)&&(null===this.b||(a.Vo()+6)%7==this.b)};g.MH=function(a){if(!this.Iu(a))return!1;if(this.b)return a.getUTCMonth()==this.b.getUTCMonth()&&a.getUTCDate()==this.b.getUTCDate();var b=a.getUTCFullYear();a=a.getTime();var c=this.g.clone();c.Zs(b);var d=this.c.clone();d.Zs(b);return a>=c.getTime()&&a<=d.getTime()};
g.Dt=function(a,b){for(var c=this.g,d=b.getTime()+36E5*c[0]+6E4*c[1],c=this.c,e=b.getTime()+36E5*c[0]+6E4*c[1],f=[],h=0;(c=a[h])&&c[1]e)this.h||f.push([d,e]);else{this.h?(c[0]=f.offset?b=f:c=f}var h;b?c?h=ao(c.color,b.color,(a-b.offset)/(c.offset-b.offset)):h=b.color:h=c.color;return p(h)?ce(h):h.color};
g.CH=function(a){this.bd();a=Ml(co(a).Bd);var b,c,d,e,f,h,k;h=0;for(k=this.b.length;hMath.abs(l-n)&&.01>Math.abs(l-q)&&.01>Math.abs(n-q)&&(n=Math.round(f[1]*n+(1-n)*e[1])==a[1],q=Math.round(f[2]*q+(1-q)*e[2])==a[2],Math.round(f[0]*l+(1-l)*e[0])==a[0]&&n&&q)){b=this.o*(l/(1/
(d.offset-c.offset))+c.offset)+this.min;break}}return m(b)?b:NaN};g.ea=function(a){this.j||(this.j=HB(this));return m(a)?(this.j.O(a),this.$(2),this):this.j};g.Da=function(a){this.h||(this.h=HB(this),this.h.count(5));return m(a)?(this.h.O(a),this.$(2),this):this.h};
g.bd=function(){if(!this.c){GB.u.bd.call(this);var a=mA(this.ea(),this.min,this.max,this.l&&this.min!=this.s,this.H&&this.max!=this.B,10);this.l&&(this.min=a[0]);this.H&&(this.max=a[1]);nA(this.Da(),lA(this.ea()),10,a[2],a[3]);this.o=this.max-this.min}};g.DH=function(a){S(a,2)&&(this.c=!1,this.$(2))};function HB(a){var b=new kA(a);H(a,b);O(b,a.DH,a);return b}function IB(a){var b=new GB;b.M(vr("defaultScaleSettings.linear"));b.M(vr("defaultLinearColorScale"));b.Ac.apply(b,arguments);return b}
g.v=function(){var a=GB.u.v.call(this);a.ticks=this.ea().v();a.minorTicks=this.Da().v();a.colors=ab(this.Ac(),function(a){return ce(a.color)});return a};g.M=function(a,b){GB.u.M.call(this,a,b);this.ea(a.ticks);this.Da(a.minorTicks);this.Ac(a.colors)};var JB=GB.prototype;F("anychart.scales.linearColor",IB);JB.colors=JB.Ac;JB.valueToColor=JB.EH;JB.colorToValue=JB.CH;JB.ticks=JB.ea;JB.minorTicks=JB.Da;function KB(){pA.call(this)}G(KB,pA);g=KB.prototype;g.wt=function(a){return m(a)?(a=isNaN(+a)?this.b:+a,a!=this.b&&(this.b=a,this.$(2)),this):this.b};g.ke=function(){return"log"};g.transform=function(a){this.bd();a=M(a);return Yz(this,(bp(a,this.b)-this.A)/this.o)};g.Ne=function(a){this.bd();a=Zz(this,a);return cp(this.b,a*this.o+this.A)};g.bd=function(){this.c||(KB.u.bd.call(this),this.A=bp(this.min,this.b),this.U=bp(this.max,this.b),this.o=this.U-this.A)};
g.ny=function(){var a=bp(this.g,this.b),b=bp(this.f,this.b),c=a-b;c||(this.f-=Math.E/2,this.g+=Math.E/2,c=1);this.l&&(this.A=b-c*this.K,isNaN(this.s)||(b=bp(this.s,this.b),this.A=0=d?(l=d-1,f=!0):l--;var n=m(c[k].wg)?c[k].wg:(c[k].start+c[k].end)/2,q=m(c[l].wg)?c[l].wg:(c[l].start+c[l].end)/2;e.push(k==l?n:[n,q])}return e};function NB(){Xz.call(this);this.H=this.b=null;this.h=[];this.o=this.f=null;this.s=[]}G(NB,Xz);g=NB.prototype;g.ke=function(){return"ordinalColor"};g.zk=function(a){return m(a)?(a=!!a,this.G!=a&&(this.G=a,this.Bi(),this.$(2)),this):this.G};
g.Ac=function(a){if(m(a))return a?p(a)&&(this.b=pb(a)):this.b=[],this.Bi(),this.$(2),this;if(p(this.b)){this.l||(this.l=pb(this.b));if(this.l.length "+c.start:"< "+c.end;c.name||(c.name=d);this.kd.push(d)}}return this.kd};g.vp=function(a){return m(a)?(this.h!=a&&(this.h=a,this.o=vr("defaultOrdinalColorScale.autoColors")(this.h.length),this.Bi(),uA(this.ea()),this.$(4)),this):this.h};g.pj=function(){OB(this);this.names();return this.f};g.ri=function(a){OB(this);var b=null;if(this.f)for(var c=this.f.length;c--;){var d=this.f[c];if(m(d.wg)&&d.wg===a||a>=d.start&&a<=d.end&&-1d.length-1?d[d.length-1]:d[c])}}return b};g.GH=function(a){OB(this);a=co(a).Bd;for(var b=NaN,c=0,d=this.f.length;cb.start?1:a.startb.start?a.sourceIndex>b.sourceIndex?b.end=a.start:(a.start=b.end,a.start>=a.end&&(a.enabled=!1)):a.startb.sourceIndex?(b.start=a.end,b.start>=b.end&&(b.enabled=!1)):a.end=b.start:a.sourceIndex>b.sourceIndex?(b.start=a.end,b.start>=b.end&&(b.enabled=!1)):(a.end=b.start,a.start>=a.end&&(a.enabled=!1)));return c});e=[];b=0;for(c=h.length;b=b){var c=this.aa(),c=c.clone().round(),d=this.Fl();a.Na(1,0,0,1,0,0);a.width(null);a.height(null);a.x(0);a.y(0);var e=null!==this.width(),f=null!==this.height(),h=a.za(),k=e?Math.ceil(L(this.width(),c.width)):h.width;
e&&a.width(k);h=a.za();c=f?Math.ceil(L(this.height(),c.height)):h.height;f&&a.height(c);var l=this.aa(),l=l.clone().round();if(this.Cn())switch(e=Math.round(l.xa()+l.height-b*l.height),1==b?e-=-.5:e+=-.5,this.o){case "left":f=l.ta();break;case "right":f=l.qa();break;default:f=l.ta()+l.width/2}else switch(f=Math.round(l.ta()+b*l.width),1==b?f+=-.5:f-=-.5,this.o){case "top":e=l.xa();break;case "bottom":e=l.ma();break;default:e=l.xa()+l.height/2}b=new ud(f,e);f=M(this.B);f=isNaN(f)?this.Cn()?0:-90:f;
e=Pd(rd(f),0,0);h=Fd(h,e);e=uq(mp(0,0,h.width,h.height),d);b.x-=e.x;b.y-=e.y;e=L(this.offsetX(),k);l=L(this.offsetY(),c);Gq(b,d,e,l);this.zb(a,!0);a.x(b.x+h.width/2-k/2).y(b.y+h.height/2-c/2).Lm(f,"center");this.i(2)}else this.remove(),this.D(2);this.D(4)}this.F(2)&&(a=this.I(),dC(this).parent(a),this.D(2));return this};g.remove=function(){dC(this).parent(null)};function dC(a){a.f||(a.f=oh(),a.f.Jc("aria-hidden","true"),H(a,a.f));return a.f}g.T=function(){Lb(this.f);this.b=this.c=this.f=null;aC.u.T.call(this)};
g.v=function(){var a=aC.u.v.call(this);a.anchor=this.Fl();a.align=this.Bn();this.s&&(a.layout=this.s);a.rotation=this.rotation();a.offsetX=this.offsetX();a.offsetY=this.offsetY();a.text=this.text();a.height=this.height();a.width=this.width();return a};
g.M=function(a,b){aC.u.M.call(this,a,b);this.Fl(a.anchor);this.Bn(a.align);"layout"in a&&a.layout&&this.ob(a.layout);this.rotation(a.rotation);this.offsetX(a.offsetX);this.offsetY(a.offsetY);this.text(a.text);this.height(a.height);this.width(a.width);if("axis"in a){var c=a.axis;C(c)?this.c&&this.kr(this.c.Po(c)):J(c,zA)&&this.kr(c)}};function eC(){aC.call(this)}G(eC,aC);g=eC.prototype;g.ca=aC.prototype.ca;g.da=aC.prototype.da;g.scale=function(a){return bC(this,a)};g.value=function(a){return cC(this,a)};g.v=function(){var a=eC.u.v.call(this);a.value=this.value();return a};g.M=function(a,b){eC.u.M.call(this,a,b);this.value(a.value)};var fC=eC.prototype;fC.value=fC.value;fC.scale=fC.scale;fC.axis=fC.kr;fC.anchor=fC.Fl;fC.align=fC.Bn;fC.layout=fC.ob;fC.rotation=fC.rotation;fC.offsetX=fC.offsetX;fC.offsetY=fC.offsetY;fC.text=fC.text;
fC.height=fC.height;fC.width=fC.width;fC.isHorizontal=fC.Cn;function gC(){U.call(this);this.s=this.g=this.h=this.j=null;this.J=!1;this.b=null}G(gC,U);g=gC.prototype;g.ca=U.prototype.ca|8;g.da=U.prototype.da|80;g.Ke=function(){return this.c};g.ob=function(a){return m(a)?(a=Nm(a),this.B!=a&&(this.B=a,this.i(64,9)),this):this.B?this.B:this.b?(a=this.b.wc(),"left"==a||"right"==a?"horizontal":"vertical"):"horizontal"};g.scale=function(a){return m(a)?(this.s!=a&&(this.s=a,O(this.s,this.aF,this),this.i(68,9)),this):this.s?this.s:this.b?this.b.scale():null};
g.aF=function(a){var b=0;S(a,4)&&(b|=4);S(a,2)&&(b|=1);this.i(20,b|8)};g.iw=function(){this.i(64,9)};g.lr=function(a){return m(a)?(this.b!=a&&(this.b&&Xt(this.b,this.iw,this),this.b=a,O(this.b,this.iw,this),this.i(64,9)),this):this.b};g.$E=function(a,b,c,d){this.f||(this.f=new wv,H(this,this.f));return m(a)?(this.f.O.apply(this.f,arguments),this):this.f};g.xe=function(a,b,c,d,e,f,h){if(m(a)){var k=Xd.apply(null,arguments);this.G!=k&&(this.G=k,this.i(16,1));return this}return this.G};
g.re=function(a,b,c,d,e,f,h){if(m(a)){var k=Xd.apply(null,arguments);this.A!=k&&(this.A=k,this.i(16,1));return this}return this.A};g.stroke=function(a,b,c,d,e){if(m(a)){var f=de.apply(null,arguments);if(this.l!=f){var h=this.l?ie(this.l):0;this.l=f;var f=16,k=1;h!=(this.l?ie(this.l):0)&&(f|=68,k|=8);this.i(f,k)}return this}return this.l};g.Es=function(a){return m(a)?(this.K!=a&&(this.K=a,this.i(64,9)),this):this.K};g.mr=function(a){return m(a)?(this.o!=a&&(this.o=a,this.i(64,9)),this):this.o};
g.Dn=function(a){return m(a)?(this.J!=a&&(this.J=a,this.i(80,9)),this):this.J};g.By=function(a,b){var c=this.aa()||mp(0,0,0,0),d=Math.round(c.ma()-a*c.height);1==a?d-=b:d+=b;this.g.moveTo(c.ta(),d);this.g.lineTo(c.qa(),d)};g.Cy=function(a,b){var c=this.aa()||mp(0,0,0,0),d=Math.round(c.ta()+a*c.width);1==a?d+=b:d-=b;this.g.moveTo(d,c.ma());this.g.lineTo(d,c.xa())};g.nr=function(){return"horizontal"==this.ob()};
g.yy=function(a,b,c,d,e){if(!isNaN(b)){c=this.aa()||mp(0,0,0,0);var f,h;f=Math.round(c.ma()-b*c.height);h=Math.round(c.ma()-a*c.height);1==a?h-=e:h+=e;1==b?f-=e:f+=e;d.moveTo(c.ta(),f);d.lineTo(c.qa(),f);d.lineTo(c.qa(),h);d.lineTo(c.ta(),h);d.close()}};g.zy=function(a,b,c,d,e){if(!isNaN(b)){c=this.aa()||mp(0,0,0,0);var f,h;f=Math.round(c.ta()+b*c.width);h=Math.round(c.ta()+a*c.width);1==a?h+=e:h-=e;1==b?f+=e:f-=e;d.moveTo(f,c.xa());d.lineTo(h,c.xa());d.lineTo(h,c.ma());d.lineTo(f,c.ma());d.close()}};
g.L=function(){var a=this.scale();if(!a)return Kn(2),this;if(!this.ab())return this;if(this.F(8)){var b=this.zIndex();hC(this).zIndex(b);iC(this).zIndex(b);jC(this).zIndex(b);this.D(8)}this.F(2)&&(b=this.I(),hC(this).parent(b),iC(this).parent(b),jC(this).parent(b),this.D(2));this.F(16)&&(jC(this).stroke(this.stroke()),iC(this).fill(this.xe()),hC(this).fill(this.re()),this.D(16));if(this.F(64)||this.F(4)){var c,d,e,f,b=NaN,h=J(this.scale(),wA),k=(h?a.ea():this.Dn()?a.Da():a.ea()).get();c=this.nr()?
[this.By,this.yy]:[this.Cy,this.zy];hC(this).clear();iC(this).clear();jC(this).clear();var l=this.aa()||mp(0,0,0,0);d=this.c&&!1;l=this.$E().ee(l);hC(this).cb(l);iC(this).cb(l);jC(this).cb(l);l=c[1];c=c[0];var n=-jC(this).xu()%2/2;d&&this.nr()&&c.call(this,0,n);for(var q=0,r=k.length;qx[n]&&(x[n]=E)}else for(n in u)E=M(T.values[n]),Ex[n]&&(x[n]=E);for(n=0;n<=a.f;n++)E=M(T.c[n]),Ez[n]&&
(z[n]=E);T=T.next}if(w)for(n=0;nd)if(d=~d,"exactOrNext"==c)d=d=zC)this.f=-1,this.b.length=0,BC(this,a,b,this.h,!1);else{if(this.c&2){this.f=-1;var c=a.length?a[0]:null;if(c){var d=this.b.length?this.b[0]:null,e=c.key;if(d&&!(d.key>=e)){for(var f=0,h;(h=d.next)&&h.keya.j){d&&(c|=1);if(a.j){for(var c=c|2,e=new FC(a.b,null,!0),f=0,d=e.next();d&&d.f;)f++,d=e.next();lb(a.b,0,f);if(d=a.b[0])d.b=null}GC(a,new FC(null,a.c,b))}else e=new FC(a.b,a.c,b),a.b=[],GC(a,e),c=zC;a.c.length=0;a.g=a.pA;a.f=-1;a.j=0;tC(a);HC(a.H,c,!0)}}g=CC.prototype;
g.remove=function(a,b){for(var c=new FC(this.b,this.c,EC(this),a,b),d;d=c.next();)d.f=!0;this.j=2;this.B||DC(this);return this};function IC(a,b){b=sq(b);for(var c=new FC(a.b,a.c,EC(a)),d=NaN,e;(e=c.next())&&0a.key?(this.g=1==b?this.oA:this.St,this.c.push(a)):this.c[b-1]=a};g.oA=function(a){var b=this.c.length,c=this.c[b-1];c.key>a.key?this.c.push(a):c.keya?~a:a];c?(this.f=this.dK,this.b=isNaN(d)?0:xb(this.g,oC,d),0>this.b&&(this.b=~this.b)):(this.f=this.fK,this.b=isNaN(d)?this.g.length-1:xb(this.g,pC,d),0>this.b&&(this.b=~this.b-1))}g=FC.prototype;g.Zk=function(){return null};
g.dK=function(){var a=this.c,b=this.g[this.b];if(a){if(b){if(0>nC(a,b))return this.c=this.c.next,a;this.b++;return b}this.c=this.c.next;this.f=this.Xz;return a}if(b)return this.b++,this.f=this.bK,b;this.next=this.Zk;return null};g.fK=function(){var a=this.c,b=this.g[this.b];if(a){if(b){if(0>nC(a,b))return this.c=this.c.next,a;this.b--;return b}this.c=this.c.next;this.f=this.Xz;return a}if(b)return this.b--,this.f=this.cK,b;this.next=this.Zk;return null};
g.Xz=function(){var a=this.c;if(a)return this.c=this.c.next,a;this.next=this.Zk;return null};g.bK=function(){var a=this.g[this.b++];if(a)return a;this.next=this.Zk;return null};g.cK=function(){var a=this.g[this.b--];if(a)return a;this.next=this.Zk;return null};g.ZH=function(){var a=this.f();return!a||a.key>this.j?(this.next=this.Zk,null):a};g.rK=function(){return this.f()};function JC(a,b){this.f=sn(a);this.c=b||1;this.b=new Date(0);switch(this.f){case "year":return this.o=this.fE,this.next=this.qK,this;case "semester":return this.o=this.cE,this.next=this.nK,this;case "quarter":return this.o=this.aE,this.next=this.lK,this;case "month":return this.o=this.Pq,this.next=this.kK,this;case "thirdofmonth":return this.o=this.dE,this.next=this.oK,this;case "week":return this.o=this.eE,this.next=this.pK,this;default:this.o=this.XD;this.next=this.eK;break;case "hour":this.o=this.YD;
this.next=this.gK;break;case "minute":this.o=this.$D;this.next=this.jK;break;case "second":this.o=this.bE;this.next=this.mK;break;case "millisecond":this.o=this.ZD,this.next=this.iK}}g=JC.prototype;g.fE=function(a){this.b.setTime(Date.UTC(xq(this.b.getUTCFullYear(),this.c,a?a.getUTCFullYear():2E3)-this.c,0))};g.cE=function(a){var b=this.c;this.c*=6;this.Pq(a);this.c=b};g.aE=function(a){var b=this.c;this.c*=3;this.Pq(a);this.c=b};
g.Pq=function(a){var b=xq(this.b.getUTCMonth()+12*this.b.getUTCFullYear(),this.c,a?a.getUTCMonth()+12*a.getUTCFullYear():24E3)-this.c;a=Math.floor(b/12);b%=12;0>b&&(b+=12);this.b.setTime(Date.UTC(a,b))};g.dE=function(a){a=xq(KC(this.b),this.c,a?KC(a):72E3)-this.c;var b=Math.floor(a/36);a%=36;var c=Math.floor(a/3);0>c&&(c+=12);a%=3;0>a&&(a+=3);this.b.setTime(Date.UTC(b,c,1+10*a))};g.eE=function(a){LC(this,6048E5*this.c,a||new Date(Date.UTC(2E3,0,2)))};g.XD=function(a){LC(this,864E5*this.c,a)};
g.YD=function(a){LC(this,36E5*this.c,a)};g.$D=function(a){LC(this,6E4*this.c,a)};g.bE=function(a){LC(this,1E3*this.c,a)};g.ZD=function(a){LC(this,this.c,a)};function LC(a,b,c){a.b.setTime(xq(a.b.getTime(),b,c?c.getTime():Date.UTC(2E3,0))-b)}function KC(a){var b=a.getUTCDate();return 3*(12*a.getUTCFullYear()+a.getUTCMonth())+(10>=b?0:20>=b?1:2)}g.qK=function(){this.b.setUTCFullYear(this.b.getUTCFullYear()+this.c);return this.b.getTime()};
g.nK=function(){var a=this.b.getUTCMonth()+6*this.c,b=this.b.getUTCFullYear()+Math.floor(a/12),a=a%12;0>a&&(a+=12);this.b.setUTCFullYear(b);this.b.setUTCMonth(a);return this.b.getTime()};g.lK=function(){var a=this.b.getUTCMonth()+3*this.c,b=this.b.getUTCFullYear()+Math.floor(a/12),a=a%12;0>a&&(a+=12);this.b.setUTCFullYear(b);this.b.setUTCMonth(a);return this.b.getTime()};
g.kK=function(){var a=this.b.getUTCMonth()+this.c,b=this.b.getUTCFullYear()+Math.floor(a/12),a=a%12;0>a&&(a+=12);this.b.setUTCFullYear(b);this.b.setUTCMonth(a);return this.b.getTime()};g.oK=function(){var a,b=this.b.getUTCDate();a=3*(12*this.b.getUTCFullYear()+this.b.getUTCMonth())+(10>=b?0:20>=b?1:2)+this.c;b=Math.floor(a/36);a%=36;var c=Math.floor(a/3);0>c&&(c+=12);a%=3;0>a&&(a+=3);this.b.setTime(Date.UTC(b,c,1+10*a));return this.b.getTime()};
g.pK=function(){var a=this.b.getTime()+6048E5*this.c;this.b.setTime(a);return a};g.eK=function(){var a=this.b.getTime()+864E5*this.c;this.b.setTime(a);return a};g.gK=function(){var a=this.b.getTime()+36E5*this.c;this.b.setTime(a);return a};g.jK=function(){var a=this.b.getTime()+6E4*this.c;this.b.setTime(a);return a};g.mK=function(){var a=this.b.getTime()+1E3*this.c;this.b.setTime(a);return a};g.iK=function(){var a=this.b.getTime()+this.c;this.b.setTime(a);return a};g.Qo=function(){return this.c};function MC(a,b,c,d,e){this.B=a;this.A=d;this.H=new lC(isNaN(b.jA)?-1:b.jA,[]);this.H.next=b.RI;this.s=b.LK;this.G=b.lastIndex-b.QI+1||0;this.o=(this.f=e||null)?this.cI:this.WD;this.J=this.f?this.XI:this.aJ;this.c=c;this.reset()}g=MC.prototype;g.reset=function(){this.f&&this.f.reset();this.b=this.H;this.j=this.f?this.f.b():this.H.key;this.g=!1;this.h=NaN;this.l=!0;return this};g.advance=function(){return this.o()};g.get=function(a){return this.om(this.A?NC(this.B,a):OC(this.B,a))};
g.V=function(a,b){var c=this.c[this.rb()];c||(c=this.c[this.rb()]={});return 1a?this.b.c&&(b=this.b.c[~a]):b=this.b.values[a]);return b};g.rb=function(){return this.J()};g.Pb=function(){return this.G};g.mH=function(){return this.h};g.aJ=function(){return this.j};g.XI=function(){return this.f.b()};
g.WD=function(){if(this.b){this.j++;if((this.b=this.b.next)&&this.b!=this.s)return this.g=!0,this.h=this.b.key,!0;this.b=null;this.g=!1;this.j=this.h=NaN}return!1};g.cI=function(){if(this.f.advance())return this.l&&(this.b=this.b.next),(this.l=!(!this.b||this.b.key!=this.f.c()||this.b==this.s))?(this.g=!0,this.h=this.b.key):(this.g=!1,this.h=this.f.c()),!0;this.b=null;this.h=NaN;return this.g=!1};var PC=MC.prototype;PC.reset=PC.reset;PC.advance=PC.advance;PC.get=PC.get;PC.getKey=PC.mH;
PC.getIndex=PC.rb;PC.meta=PC.V;function QC(a){this.f=a;this.b=AC(a.b);this.g=!0;this.c=yC(this.b);this.j=!1;this.h=[];RC(this)}function RC(a){for(var b=a.b.Pb();a.h.lengthb&&(d=a,a=b,b=d);d=AC(this.f.b,c);if(this.j||d!=this.b||this.c.hB!=a||this.c.az!=b)this.j=!1,this.b=d,this.g=!c,this.c=d.select(a,b),RC(this);return this};QC.prototype.l=function(a,b){var c=m(a)?new JC(a,M(b)):void 0,d=AC(this.f.b,c);this.b=d;this.g=!c;this.c=yC(d);RC(this);return this};QC.prototype.mb=function(){return new MC(this.f,this.c,this.h,!this.g,null)};
function SC(a,b,c,d,e){this.b=a;this.f=b;this.h=c;this.j=d;this.c=e}g=SC.prototype;g.get=function(a){return this.om(this.h?NC(this.f,a):OC(this.f,a))};g.om=function(a){var b;C(a)&&0>a?this.b.c&&(b=this.b.c[~a]):b=this.b.values[a];return b};g.rb=function(){return this.j};g.V=function(a,b){return 1e)this.c[a]={eB:e,zA:e};else if(B(e)||!isNaN(e)){if((b=A(c))&&!la(c)&&!("reset"in c&&"considerItem"in c&&"getResult"in c))return this;var f=b?c:Bn(m(c)?c:a);b=d;"weightedAverage"==f&&(C(d)?b=Math.round(d):B(d)?(b=this.b.g[d]||NaN,isNaN(b)&&(b=d)):b=NaN,C(b)&&isNaN(b)&&(f="average"));R(this.b);d=this.b;c=e;var h=b;b=XC(f,c,h);b in d.l?b=d.l[b]:(c=YC(f,c,h),d.l[b]=
b=d.j.length,d.j.push(c),HC(d,4,!1));this.c[a]={eB:e,zA:b};this.b.X(!0)}return this};function NC(a,b){return b in a.c?a.c[b].zA:NaN}function OC(a,b){return b in a.c?a.c[b].eB:NaN}var ZC=WC.prototype;ZC.addField=ZC.f;ZC.createSelectable=ZC.g;function $C(a,b){Hb.call(this);this.g=a;this.h=m(b)?b:NaN;this.clear()}G($C,Hb);$C.prototype.clear=function(){this.value=void 0};$C.prototype.c=function(){var a=this.value;this.clear();return a};$C.prototype.T=function(){delete this.value;$C.u.T.call(this)};function aD(a){$C.call(this,a)}G(aD,$C);aD.prototype.clear=function(){this.value=this.f=0};aD.prototype.b=function(a){a=M(a);isNaN(a)||(this.value+=a,this.f++)};aD.prototype.c=function(){var a=this.f?this.value/this.f:NaN;this.clear();return a};function bD(a,b){this.f=b;$C.call(this,a)}G(bD,$C);bD.prototype.clear=function(){this.f.reset()};bD.prototype.b=function(a,b,c){this.f.considerItem(a,c)};bD.prototype.c=function(){var a=this.f.getResult();this.clear();return a};bD.prototype.T=function(){delete this.f;bD.u.T.call(this)};function cD(a,b,c){this.j=b;this.f=c;$C.call(this,a)}G(cD,$C);cD.prototype.clear=function(){this.value=[];this.H=[]};cD.prototype.b=function(a,b,c){this.value.push(a);this.H.push(c)};cD.prototype.c=function(){var a=this.j.call(this.f,this.value,this.H);this.clear();return a};cD.prototype.T=function(){delete this.j;delete this.f;cD.u.T.call(this)};function dD(a){$C.call(this,a)}G(dD,$C);dD.prototype.clear=function(){this.value=NaN};dD.prototype.b=function(a){isNaN(this.value)&&(this.value=M(a))};function eD(a){$C.call(this,a)}G(eD,$C);eD.prototype.b=function(a){m(this.value)||(this.value=a)};function fD(a){$C.call(this,a)}G(fD,$C);fD.prototype.clear=function(){this.value=NaN};fD.prototype.b=function(a){a=M(a);isNaN(a)||(this.value=a)};function gD(a){$C.call(this,a)}G(gD,$C);gD.prototype.b=function(a){m(a)&&(this.value=a)};function hD(a){$C.call(this,a)}G(hD,$C);hD.prototype.clear=function(){this.value=[]};hD.prototype.b=function(a){m(a)&&this.value.push(a)};function iD(a){$C.call(this,a)}G(iD,$C);iD.prototype.clear=function(){this.value=NaN};iD.prototype.b=function(a){a=M(a);isNaN(a)||this.value>=a||(this.value=a)};function jD(a){$C.call(this,a)}G(jD,$C);jD.prototype.clear=function(){this.value=NaN};jD.prototype.b=function(a){a=M(a);isNaN(a)||this.value<=a||(this.value=a)};function kD(a){$C.call(this,a)}G(kD,$C);kD.prototype.clear=function(){this.value=0};kD.prototype.b=function(a){a=M(a);isNaN(a)||(this.value+=a)};function lD(a,b){$C.call(this,a,b)}G(lD,$C);lD.prototype.clear=function(){this.value=this.f=0};lD.prototype.b=function(a,b){a=M(a);b=M(b)||0;isNaN(a)||(this.value+=a*b,this.f+=b)};lD.prototype.c=function(){var a=this.f?this.value/this.f:NaN;this.clear();return a};function YC(a,b,c){if(la(a))return new cD(b,a,c);if(A(a))return new bD(b,a);switch(a){case "average":return new aD(b);case "first":return new dD(b);case "firstValue":return new eD(b);case "lastValue":return new gD(b);case "list":return new hD(b);case "max":return new iD(b);case "min":return new jD(b);case "sum":return new kD(b);case "weightedAverage":return new lD(b,c);default:case "last":return new fD(b)}}
function XC(a,b,c){C(b)&&(b=b.toFixed(0));if(A(a))return ma(a)+"|"+b+"|"+jq(c);switch(a){case "average":return"a"+b;case "first":return"f"+b;case "firstValue":return"o"+b;case "lastValue":return"c"+b;case "list":return"g"+b;case "max":return"x"+b;case "min":return"n"+b;case "sum":return"s"+b;case "weightedAverage":return C(c)&&(c=c.toFixed(0)),"w"+b+":"+String(c);default:case "last":return"l"+b}};function mD(a,b,c,d,e){hd.call(this);this.f=new CC(this,a,b,c,d,e);this.b={};this.l={};this.g={};this.B=0;this.h=[];this.j=[];this.c=[];this.H=[]}G(mD,Wt);g=mD.prototype;g.ca=16;
g.oH=function(a,b,c){var d=this.f,e=!d.B;e&&(d.B&&Nn(101),d.B=!0);if(B(a)){var f=new qC(d),h=new So;A(c)&&(h.Km(c.rowsSeparator),h.bm(c.columnsSeparator),h.zm(c.ignoreTrailingSpaces),h.xm(c.ignoreFirstRow));h.Tl(a,f);!0===b&&(b=f.Qo())}else if(p(a)){for(f=c=0;fk){var q=~k;kb(d,n,q);(k=this.Sl("id",n))?(k=J(k,tD)?k:k[0],kb(e,k,q),k.V("nc",!0),Nn(1,null,[n])):kb(e,l,q)}else Nn(2,null,[n])}for(b=0;bk?((k=this.Sl("id",l))?(k=J(k,tD)?k:k[0],DD(k,h)):(this.f.push(h),Nn(3,null,[l])),ED(this,h)):(k=e[k],DD(k,h),k.V("nc")&&ED(this,h))):(this.f.push(h),ED(this,h));f.length&&this.$(16);this.X(!0);
break;default:R(this);b=0;for(d=a.length;ba?kb(d,e,~a):(a=d[a],p(a.value)?jb(a.value,b):a.value!=b&&(a.value=[a.value],a.value.push(b)))}else for(e in a.b)FD(a,b,e,d)}
function GD(a,b,c,d){if(c){if(d)for(var e=b.Ha();e--;)GD(a,b.Cf(e),c,d);if(d=a.b[c])e={key:b.get(c)},a.h[c]&&(e.key=""+e.key),e=ub(d,e,a.xo),(d=d[e])&&(p(d.value)&&1k||b=d)return[];a=new VA(a);c=[];if(1==b)for(b=0;bc){var d=b;b=c;c=d}if(b!=a.B||c!=a.l)a.B=b,a.l=c,a.i(16,1)}g.Qq=function(a){return m(a)?(this.o=!!a,this):this.o};
g.Sb=function(){var a=this.aa(),a=a?a.clone():mp(0,0,0,0);RD(this)&&(this.F(4)&&(SD(this),this.D(4)),PD(this)?(a.height-=this.f.height,"top"==this.h&&(a.top+=this.f.height)):(a.width-=this.f.width,"left"==this.h&&(a.left+=this.f.width)));return a};
function SD(a){var b=a.aa(),c=PD(a)?b.height:b.width,d=L(a.Ba,c);null===a.we||(d=Math.max(d,L(a.we,c)));null===a.Nb||(d=Math.min(d,L(a.Nb,c)));d=PD(a)?a.Ml().hd(d):a.Ml().td(d);a.f.left=b.left;a.f.top=b.top;PD(a)?(a.f.width=b.width,a.f.height=d,"bottom"==a.h&&(a.f.top+=b.height-d)):(a.f.width=d,a.f.height=b.height,"right"==a.h&&(a.f.left+=b.width-d));var e;a.wb||PD(a)?a.g=a.Ml().ee(a.f):(e=a.Ml(),"left"==a.h?(c=L(e.C("left"),a.f.width),b=L(e.C("top"),a.f.height),d=L(e.C("right"),a.f.width),e=L(e.C("bottom"),
a.f.height)):(c=L(e.C("right"),a.f.width),b=L(e.C("bottom"),a.f.height),d=L(e.C("left"),a.f.width),e=L(e.C("top"),a.f.height)),a.g.left=a.f.left+e,a.g.top=a.f.top+c,a.g.width=a.f.width-e-b,a.g.height=a.f.height-c-d);a.i(80)}g.bG=function(a){a.g();!nq(this.j,a.relatedTarget)&&this.qc(a)&&(this.La=!0,UD(this))};g.YJ=function(a){a.g();!nq(this.j,a.relatedTarget)&&this.qc(a)&&(this.La=!1,XD(this))};
g.mB=function(a){a=a.target;J(a,Pg)&&(a==this.c?TD(this,this.c,this.bb=!0):a==this.b&&TD(this,this.b,this.$a=!0))};g.lB=function(a){a=a.target;J(a,Pg)&&(a==this.c?TD(this,this.c,this.bb=!1):a==this.b&&TD(this,this.b,this.$a=!1))};g.hl=function(a){if(J(a.c,hg)){var b=a.c,c;b!=this.c||this.W?b!=this.b||this.K?b!=this.s||this.U||(this.U=c=new YD(this,this.s,!1)):this.K=c=new YD(this,this.b,!0):this.W=c=new YD(this,this.c,!0);c&&(this.H.ga(c,"start",this.aG),this.H.ga(c,"end",this.$F),c.Re(a.b))}};
g.sK=function(a){var b=ol(this.j.Y());a=PD(this)?a.clientX-b.x:a.clientY-b.y;ZD(this,"backgroundClick","scrollerchangestart")&&($D(this,!1,a),ZD(this,"backgroundClick","scrollerchangefinish"))};g.aG=function(a){var b;this.o&&a.g!=this.U?(a=QD(this),b="thumbDrag"):(a=QD(this),b="selectedRangeDrag");if(b=ZD(this,b,"scrollerchangestart"))this.ha++,this.c.cursor(null),this.b.cursor(null),this.s.cursor(null),Kf(document.body,"cursor",a);return b};
g.$F=function(a){this.ha=Math.max(this.ha-1,0);XD(this);this.c.cursor(QD(this));this.b.cursor(QD(this));this.s.cursor(QD(this));Kf(document.body,"cursor","");ZD(this,this.o&&a.g!=this.U?"thumbDrag":"selectedRangeDrag","scrollerchangefinish")};function UD(a){a.Ka||(a.j.gb(a.c),a.j.gb(a.b),a.Ka=!0)}function XD(a){a.Ka&&a.Fi().ah()&&!a.ha&&!a.La&&(a.j.removeChild(a.c),a.j.removeChild(a.b),a.Ka=!1)}
function TD(a,b,c){a=a.Fi();a.enabled()?c?(c=a.Un(),a=a.Vn()):(c=a.fill(),a=a.stroke()):(c=$n,a="none");b.fill(c);b.stroke(a)}function WD(a){return nd(Math.round(a*ND),0,ND)}function ZD(a,b,c,d,e){return a.dispatchEvent({type:c,startRatio:(m(d)?d:a.B)/ND,endRatio:(m(e)?e:a.l)/ND,source:b})}
function $D(a,b,c){c=aE(a,b,c);var d=a.g;switch(a.h){case "right":d=(d.top+d.height-c)/d.height;break;case "left":d=(c-d.top)/d.height;break;default:d=(c-d.left)/d.width}a.A&&(d=1-d);if(a.o&&b==a.c)c=d,d=a.l/ND,b="thumbDrag";else if(a.o&&b==a.b)c=a.B/ND,b="thumbDrag";else{var e=(a.l-a.B)/ND/2;c=d-e;d+=e;b=!0===b?"selectedRangeDrag":"backgroundClick"}c=WD(c);d=WD(d);c==d&&(d+=dd&&(e=a.c,a.c=a.b,a.b=e,e=a.W,a.W=a.K,a.K=e,e=c,c=d,d=e);c==a.B&&d==a.l||!ZD(a,b,"scrollerchange",c,d)||(a.B=c,
a.l=d,a.i(16,1))}function aE(a,b,c){var d=a.g,e=PD(a);a=ja(b)||!a.o?(a.l-a.B)/ND*(e?d.width:d.height)/2:0;return e?nd(c,d.left+a,d.left+d.width-a):nd(c,d.top+a,d.top+d.height-a)}function bE(a,b){var c;c=a.o&&b==a.c?a.B:a.o&&b==a.b?a.l:(a.B+a.l)/2;c/=ND;a.A&&(c=1-c);var d=a.g;return PD(a)?d.left+d.width*c:"left"==a.h?d.top+d.height*c:d.top+d.height*(1-c)}
g.T=function(){Lb(this.j);this.s=this.J=this.G=this.b=this.c=this.j=null;Lb(this.W);this.W=null;Lb(this.K);this.K=null;Lb(this.U);this.U=null;Lb(this.Z);this.Z=null;Lb(this.la);this.la=null;MD.u.T.call(this)};g.v=function(){var a=MD.u.v.call(this);a.fill=this.fill();a.selectedFill=this.au();a.outlineStroke=this.Nt();a.height=this.height();a.minHeight=this.Xr();a.maxHeight=this.Wr();a.orientation=this.Yr();a.autoHide=this.ah();a.allowRangeChange=this.Qq();a.thumbs=this.Fi().v();return a};
g.M=function(a,b){MD.u.M.call(this,a,b);this.Yr(a.orientation);this.ah(a.autoHide);this.Qq(a.allowRangeChange);this.fill(a.fill);this.au(a.selectedFill);this.Nt(a.outlineStroke);this.height(a.height);this.Xr(a.minHeight);this.Wr(a.maxHeight);this.Fi().Pa(!!b,a.thumbs)};function YD(a,b,c){ag.call(this,b.ba());this.b=a;this.l=c?b:null;this.c=void 0;this.G=ra(function(){this.c=void 0;$D(this.b,this.l||!0,this.N)},this);this.s=Math.pow(3,2);this.ga("end",this.ZF)}G(YD,ag);g=YD.prototype;
g.ZF=function(){m(this.c)&&(window.cancelAnimationFrame(this.c),this.G(0))};g.fh=function(){PD(this.b)?(this.f=bE(this.b,this.l),this.g=0):(this.f=0,this.g=bE(this.b,this.l))};g.gi=function(a,b){this.N=PD(this.b)?a:b;m(this.c)||(this.c=window.requestAnimationFrame(this.G))};g.Bm=function(a){return PD(this.b)?aE(this.b,this.l,a):0};g.Fj=function(a){return PD(this.b)?0:aE(this.b,this.l,a)};function OD(a){this.b=a}g=OD.prototype;
g.enabled=function(a){return m(a)?(a=!!a,this.f!=a&&(this.f=a,this.b.i(16,1)),this):this.f};g.ah=function(a){return m(a)?(a=!!a,this.c!=a&&(this.c=a,this.b.i(16,1)),this):this.c};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Xd.apply(null,arguments);this.g!=k&&(this.g=k,this.b.i(16,1));return this}return this.g};g.stroke=function(a,b,c,d,e){if(m(a)){var f=de.apply(null,arguments);f!=this.H&&(this.H=f,this.b.i(16,1));return this}return this.H};
g.Un=function(a,b,c,d,e,f,h){if(m(a)){var k=Xd.apply(null,arguments);this.h!=k&&(this.h=k,this.b.i(16,1));return this}return this.h};g.Vn=function(a,b,c,d,e){if(m(a)){var f=de.apply(null,arguments);f!=this.j&&(this.j=f,this.b.i(16,1));return this}return this.j};g.v=function(){var a={};a.fill=io(this.fill());a.stroke=io(this.stroke());a.hoverFill=io(this.Un());a.hoverStroke=io(this.Vn());a.enabled=this.enabled();a.autoHide=this.ah();return a};
g.Pa=function(a,b){if(m(b)){var c;ja(b)||null===b?(this.enabled(!!b),c=!0):c=!1;!c&&A(b)&&(this.enabled("enabled"in b?!!b.enabled:!0),this.fill(b.fill),this.stroke(b.stroke),this.Un(b.hoverFill),this.Vn(b.hoverStroke),this.ah(b.autoHide))}return this};var cE=MD.prototype;cE.fill=cE.fill;cE.selectedFill=cE.au;cE.outlineStroke=cE.Nt;cE.height=cE.height;cE.minHeight=cE.Xr;cE.maxHeight=cE.Wr;cE.thumbs=cE.Fi;cE.orientation=cE.Yr;cE.allowRangeChange=cE.Qq;cE.autoHide=cE.ah;cE=OD.prototype;cE.enabled=cE.enabled;
cE.autoHide=cE.ah;cE.fill=cE.fill;cE.stroke=cE.stroke;cE.hoverFill=cE.Un;cE.hoverStroke=cE.Vn;function dE(){gC.call(this)}G(dE,gC);dE.prototype.By=function(a,b){var c=this.aa()||mp(0,0,0,0),d=Math.round(c.ma()-a*c.height);1==a?d-=b:d+=b;var e=c.ta()+this.Ka,f=d-this.$a;this.g.moveTo(c.ta(),d).lineTo(e,f).lineTo(c.qa()+this.Ka,f)};dE.prototype.Cy=function(a,b){var c=this.aa()||mp(0,0,0,0),d=Math.round(c.ta()+a*c.width);1==a?d+=b:d-=b;var e=d+this.Ka,f=c.ma()-this.$a;this.g.moveTo(d,c.ma()).lineTo(e,f).lineTo(e,c.xa()-this.$a)};
dE.prototype.yy=function(a,b,c,d,e){if(!isNaN(b)){c=this.aa()||mp(0,0,0,0);var f,h;f=Math.round(c.ma()-b*c.height);h=Math.round(c.ma()-a*c.height);1==a?h-=e:h+=e;1==b?f-=e:f+=e;d.moveTo(c.ta(),f).lineTo(c.ta()+this.Ka,f-this.$a).lineTo(c.qa()+this.Ka,f-this.$a).lineTo(c.qa()+this.Ka,h-this.$a).lineTo(c.ta()+this.Ka,h-this.$a).lineTo(c.ta(),h).close()}};
dE.prototype.zy=function(a,b,c,d,e){if(!isNaN(b)){c=this.aa()||mp(0,0,0,0);var f,h;f=Math.round(c.ta()+b*c.width);h=Math.round(c.ta()+a*c.width);1==a?h+=e:h-=e;1==b?f+=e:f-=e;d.moveTo(f+this.Ka,c.xa()-this.$a).lineTo(h+this.Ka,c.xa()-this.$a).lineTo(h+this.Ka,c.ma()-this.$a).lineTo(h,c.ma()).lineTo(f,c.ma()).lineTo(f+this.Ka,c.ma()-this.$a).close()}};function eE(){iz.call(this);ib(this.lu,"autoRotate")||this.lu.push("autoRotate")}G(eE,iz);function fE(a,b){return m(b)?(b=M(b),a.Fa!=b&&(a.Fa=b,a.i(4,9)),a):a.Fa}function gE(a,b){return m(b)?(b=M(b),a.Ga!=b&&(a.Ga=b,a.i(4,9)),a):a.Ga}function hE(a,b){return m(b)?(b=M(b),a.G!=b&&(a.G=b,a.i(4,9)),a):a.G}function iE(a,b){return m(b)?(b=null===b?b:qd(M(b)||0),a.ic!=b&&(a.ic=b,a.i(4,9)),a):a.ic}
eE.prototype.s=function(a){return m(a)?(a=null===a?a:nd(M(a)||0,-360,360),this.J!=a&&(this.J=a,this.i(4,9)),this):this.J};var jE=eE.prototype,kE=$b(iz.prototype.Vi);V(kE,0,"autoRotate",Gu,4,9);jE.Vi=kE;Hu(eE,eE.prototype.Vi);
eE.prototype.hz=function(a,b,c,d,e,f){var h,k;c&&(h=c.width,k=c.height);var l=b.angle,n=b.radius;b=m(b.radiusY)?b.radiusY:n;var q=0,r=0,t=fE(this),u=gE(this),w=this.s(),v=hE(this);if(c||!isNaN(t)&&!isNaN(u))q=c.left,r=c.top,q=isNaN(t)?q+h/2:t,r=isNaN(u)?r+k/2:u,c=m(v)&&!isNaN(v)?L(e,v):c?L(e,Math.min(h,k)/2):0,l+=L(d,null!=w?w:360),n+=c,b+=c;d=q+sd(l,n);l=r+td(l,b);f=uq(new I(0,0,a.width,a.height),f);d-=f.x;l-=f.y;a.left=d;a.top=l;return a};
eE.prototype.Wk=function(a,b,c,d){var e,f,h;J(a,lE)?(h=(a.Qb()?a.Qb().value.angle:0)||0,e=a.qj(h),f=a.af("anchor"),"auto"==f&&(f=a.af("autoRotate")?"center":wq(h)),d=m(d)?d:a.rb()):(e=(m(c)&&m(c.rotation)?c.rotation:this.C("rotation"))||0,f=(m(c)&&m(c.autoRotate)?c.autoRotate:this.C("autoRotate"))||!1,h=(b?b.value.angle:0)||0,e=f?0h?e+h+270:e+h+90:e,f=m(c)&&c.anchor||this.C("anchor"));a=Gz(this,a,b,c,d);b=uq(a,f);b=Pd(rd(e),b.x,b.y);a=kp(a)||[];b.transform(a,0,a,0,4);return a};
eE.prototype.yo=function(){return new lE};function lE(){Fz.call(this)}G(lE,Fz);var mE=lE.prototype,nE=$b(Fz.prototype.vk);V(nE,0,"autoRotate",Gu,16,9);mE.vk=nE;Hu(lE,lE.prototype.vk);lE.prototype.qj=function(a){var b=this.af("rotation");return this.af("autoRotate")?0a?b+a+270:b+a+90:b};
lE.prototype.ww=function(a,b){var c=this.h.positionFormatter,d=xz(this.h.anchor)||"leftTop",e=this.h.offsetX||0,f=this.h.offsetY||0,h=this.Kf,k=this.Qb(),l=$b(c.call(k,k)),c=l.angle,k=l.radius,l=m(l.radiusY)?l.radiusY:k,n=0,q=0,r=fE(h),t=gE(h),u=h.s(),h=hE(h);if(b||!isNaN(r)&&!isNaN(t))var n=b.left,q=b.top,w=b.width,v=b.height,n=isNaN(r)?n+w/2:r,q=isNaN(t)?q+v/2:t,f=m(h)&&!isNaN(h)?L(f,h):b?L(f,Math.min(w,v)/2):0,c=c+L(e,null!=u?u:360),k=k+f,l=l+f;e=n+sd(c,k);f=q+td(c,l);d=uq(new I(0,0,a.width,a.height),
d);e-=d.x;f-=d.y;this.s+=e;this.o+=f;a.left=e;a.top=f;this.h.rotation=this.qj(c);this.g.x(this.s).y(this.o)};function oE(a,b,c,d){lh.call(this);this.j=a;this.h=b||da;this.g=m(d)?d:this;this.b=[]}G(oE,lh);oE.prototype.clear=function(){for(var a;a=this.Ha();)this.b.push(this.bn(a-1));return this};function pE(a){var b=a.b.pop();b?a.h.call(a.g,b):b=a.j.call(a.g);a.gb(b);return b}oE.prototype.T=function(){for(var a=this.b.length;a--;)Lb(this.b[a]);this.b=null;delete this.j;delete this.h;this.g=null;oE.u.T.call(this)};function qE(){U.call(this);this.j=this.l=this.h=this.G=this.o=null;this.Z="vertical";this.s=this.ua=1;this.J=Xd("#e0e0e0",this.s);this.K=de("#d5d5d5",this.s);this.N=Xd("#d5d5d5",this.s);this.U=de("#656565",this.s);this.b=0;this.c=1;this.f=this.g=null;this.A=!1;this.W=-1;this.ha=!0;this.fa=5}G(qE,xu);g=qE.prototype;g.ca=xu.prototype.ca;g.da=xu.prototype.da|80;function rE(a){return tl===ul?Math.floor(a)+.5:Math.floor(a)}g.ob=function(a){return m(a)?(a=Nm(a),a!=this.Z&&(this.Z=a,this.i(4,1)),this):this.Z};
g.oo=function(a,b,c,d,e){if(m(a)){var f=de.apply(null,arguments);this.K!=f&&(this.K=mo(f,this.s,!1),this.i(16,1));return this}return this.K||"none"};g.Tn=function(a,b,c,d,e,f,h){if(m(a)){var k=Xd.apply(null,arguments);this.J!=k&&(this.J=mo(k,this.s,!0),this.i(16,1));return this}return this.J||"none"};g.Op=function(a,b,c,d,e){if(m(a)){var f=de.apply(null,arguments);this.U!=f&&(this.U=mo(f,this.s,!1),this.i(16,1));return this}return this.U||"none"};
g.Np=function(a,b,c,d,e,f,h){if(m(a)){var k=Xd.apply(null,arguments);this.N!=k&&(this.N=mo(k,this.s,!0),this.i(16,1));return this}return this.N||"none"};g.Ck=function(a){return m(a)?(a=M(a),this.ya!=a&&(this.ya=a,this.i(4,9)),this):this.ya};g.us=function(a){return m(a)?(a=M(a),this.fa!=a&&(this.fa=a,this.i(16,1)),this):this.fa};g.Ag=function(a){return m(a)?(ja(a)&&(this.ha=a),this):this.ha};
g.sg=function(a,b){return m(a)?(yd(this.g,a)||(this.g=a.clone(),this.f?sE(this):this.f=this.g.clone(),tE(this),this.i(64,1),uE(this,b||"api")),this):this.g};function vE(a,b){return m(b)?(yd(a.f,b)||(a.f=b.clone(),a.g?sE(a):a.g=a.f.clone(),tE(a),a.i(64,1),uE(a,"api")),a):a.f}function wE(a){var b;return m(b)?(b=+b,!isNaN(b)&&a.b!=b&&0<=b&&1>b&&(b==a.c?(a.c=1,a.b=b):(a.b=Math.min(b,a.c),a.c=Math.max(b,a.c)),xE(a),a.i(64,1),uE(a,"api")),a):a.b}
function yE(a){var b;return m(b)?(b=+b,!isNaN(b)&&a.c!=b&&0=b&&(b==a.b?(a.b=0,a.c=b):(a.c=Math.max(b,a.b),a.b=Math.min(b,a.b)),xE(a),a.i(64,1),uE(a,"api")),a):a.c}function zE(a,b){b=+b;if(!isNaN(b)){b=nd(b,0,1);var c=a.c-a.b,d=$o(nd(b+c,0,1),4),c=$o(d-c,4);if(a.b!=c||a.c!=d)a.b=c,a.c=d,xE(a),a.i(64,1),uE(a,"user_action")}}
function AE(a,b){b=+b;var c=isNaN(b)?40:b;if(a.f&&c&&(c+=BE(a)?a.f.top:a.f.left,c=+c,a.f&&!isNaN(c))){var d=BE(a);c!=(d?a.f.top:a.f.left)&&(d?a.f.top=c:a.f.left=c,sE(a),tE(a),a.i(64,1),uE(a,"user_action"))}}function CE(a,b){b=+b;var c=isNaN(b)?.05:nd(b,-1,1);c&&zE(a,a.b+c)}g.ks=function(a){return m(a)?(ja(a)&&this.A!=a&&(this.A=a,this.i(4,1)),this):this.A};g.Ht=function(a){return m(a)?(this.s!=a&&(this.s=a,DE(this,this.s)),this):this.s};g.It=function(a){return m(a)?(this.ua=a,this):this.ua};
function EE(a){a.o||(a.o=mh(),pu(a,a.o,a.wx,a.vx,a.RH),H(a,a.o));return a.o}function DE(a,b){a.J=mo(a.J,b,!0);a.K=mo(a.K,b,!1);a.N=mo(a.N,b,!0);a.U=mo(a.U,b,!1);a.i(16,1)}g.wx=function(a){a.preventDefault();DE(this,this.ua);this.qc(a)};g.vx=function(a){a.preventDefault();DE(this,this.s);this.qc(a)};
g.RH=function(a){a.preventDefault();var b=BE(this),c=this.j.za(),d=this.j.hg(),e=b?a.offsetY:a.offsetX,d=b?$o((e-d.top)/d.height,4):$o((e-d.left)/d.width,4);(b?e<=c.top:e<=c.left)?zE(this,d):(c=+d,isNaN(c)||(c=nd(c,0,1),b=this.c-this.b,c=$o(nd(c-b,0,1),4),b=$o(c+b,4),this.b==c&&this.c==b))||(this.b=c,this.c=b,xE(this),this.i(64,1),uE(this,"user_action"));this.qc(a)};function FE(a){a.G||(a.G=Ag(),H(a,a.G));return a.G}
function GE(a){a.h||(a.h=new Vv,Xv(a.h,16,!1),O(a.h,function(){a.h.L()}),$v(a.h,function(){vE(a)?AE(a,40):CE(a,.05)}),H(a,a.h));return a.h}function HE(a){a.l||(a.l=new Vv,Xv(a.l,16,!1),O(a.l,function(){a.l.L()}),$v(a.l,function(){vE(a)?AE(a,-40):CE(a,-.05)}),H(a,a.l));return a.l}function IE(a){a.j||(a.j=Ag(),a.j.lb(EE(a)),Sc(a.j,"drag",a.qe,!1,a),Sc(a.j,"end",a.YF,!1,a),pu(a,a.j,a.wx,a.vx,null,null,null,a.mL),H(a,a.j));return a.j}g.mL=function(a){a.preventDefault();this.qc(a)};
g.qe=function(){JE(this,!0)};g.YF=function(){JE(this,!1)};function JE(a,b){var c=BE(a),d=a.j.hg(),e=a.j.za(),f=!!b,h=c?d.top:d.left,d=c?d.height:d.width,k=c?e.top:e.left,l=k+(c?e.height:e.width);10>=(c?e.height:e.width)?(c=a.c-a.b,a.b=(k-h)*(1-c)/(d-10),a.c=Math.min(a.b+c,1)):(a.b=$o((k-h)/d,5),a.c=$o((l-h)/d,5));xE(a);f||a.i(64,1);uE(a)}
function xE(a){if(a.g&&a.f){var b;if(BE(a)){b=a.g.height;var c=$o((a.c-a.b)*b,1);a.f.top=$o(a.b*b,1)+a.g.top;a.f.height=c}else b=a.g.width,c=$o((a.c-a.b)*b,1),a.f.left=$o(a.b*b,1)+a.g.left,a.f.width=c}}function tE(a){if(a.g&&a.f){var b=BE(a),c=b?a.f.top-a.g.top:a.f.left-a.g.left,d=b?c+a.f.height:c+a.f.width,b=b?a.g.height:a.g.width;a.b=$o(c/b,4);a.c=$o(d/b,4)}}
function sE(a){var b=a.f;a=a.g;b.width>a.width&&(b.width=a.width);b.height>a.height&&(b.height=a.height);b.top+b.height>a.top+a.height&&(b.top-=b.top+b.height-(a.top+a.height));b.left+b.width>a.left+a.width&&(b.left-=b.left+b.width-(a.left+a.width));b.top(d?a.height:a.width)/(d?a.width:a.height);e=f=d?a.width:a.height;k=a.left;l=a.top;h&&(d?f=$o(a.height/3,1):e=$o(a.width/3,1));h=d?a.left:a.left+a.width-e;d=d?a.top+a.height-f:a.top;this.h.aa(a);this.h.position({x:h,y:d}).width(e).height(f).L();this.l.aa(a);this.l.position({x:k,y:l}).width(e).height(f).L();this.h.X(!1);this.l.X(!1)}this.i(80);this.D(4)}this.F(16)&&(a=Math.min(this.fa,Math.min(this.P.width,this.P.height)/2),this.G.fill(this.J).stroke(this.K).round(a),
this.j.fill(this.N).stroke(this.U).round(a),this.D(16));this.F(64)&&(0>=this.b&&1<=this.c||this.b==this.c?EE(this).visible(!1):(EE(this).visible(!0),a=BE(this),e=this.P,this.G.Oc(e),this.A?(l=this.h.width(),d=this.h.height(),f=a?e.left:e.left+l+1,k=a?e.top+d+1:e.top,l=a?e.width:e.width-2*(l+1),d=a?e.height-2*(d+1):e.height,f=new I(f,k,l,d)):f=e.clone(),l=a?f.height:f.width,k=d=$o(l*(this.c-this.b),1),h=!1,10>d&&(h=!0,k=10),h?(d=this.b*(l-k)/(1+this.b-this.c),l=a?e.left:$o(f.left+d,1),d=a?$o(f.top+
d,1):e.top):(l=a?e.left:$o(f.left+this.b*f.width,1),d=a?$o(f.top+this.b*f.height,1):e.top),h=a?e.width:k,a=a?k:e.height,this.j.lf(rE(l)).mf(rE(d)).kf(Math.round(h)).jf(Math.round(a)).hg(f),this.j.Na(1,0,0,1,0,0)),this.D(64));this.F(8)&&(EE(this).zIndex(this.zIndex()),this.D(8));c&&b.Hb()}return this};function BE(a){return"horizontal"!=a.Z.toLowerCase()}g.remove=function(){this.o&&this.o.parent(null)};
function uE(a,b){if(a.ha){0<=a.W&&(clearTimeout(a.W),a.W=-1);var c=new KE(a);c.startRatio=a.b;c.endRatio=a.c;c.visibleBounds=a.f;c.source=b||"user_action";a.W=setTimeout(function(){a.dispatchEvent(c);a.W=-1},0)}}
g.v=function(){var a=qE.u.v.call(this);la(this.oo())?Nn(8,null,["ScrollBar background stroke"]):a.backgroundStroke=io(this.oo());la(this.Tn())?Nn(8,null,["ScrollBar background fill"]):a.backgroundFill=io(this.Tn());la(this.Np())?Nn(8,null,["ScrollBar slider fill"]):a.sliderFill=io(this.Np());la(this.Op())?Nn(8,null,["ScrollBar slider stroke"]):a.sliderStroke=io(this.Op());a.mouseOverOpacity=this.It();a.mouseOutOpacity=this.Ht();a.buttonsVisible=this.ks();a.barSize=this.Ck();a.cornersRadius=this.us();
return a};g.M=function(a,b){qE.u.M.call(this,a,b);this.Tn(a.backgroundFill);this.oo(a.backgroundStroke);this.Np(a.sliderFill);this.Op(a.sliderStroke);this.It(a.mouseOverOpacity);this.Ht(a.mouseOutOpacity);this.ks(a.buttonsVisible);this.Ck(a.barSize);this.us(a.cornersRadius)};function KE(a){Nb.call(this,"scrollchange",a)}G(KE,Nb);KE.prototype.startRatio=0;KE.prototype.endRatio=0;KE.prototype.visibleBounds=null;KE.prototype.source="";var LE=qE.prototype;LE.barSize=LE.Ck;LE.backgroundStroke=LE.oo;
LE.backgroundFill=LE.Tn;LE.sliderStroke=LE.Op;LE.sliderFill=LE.Np;LE.mouseOutOpacity=LE.Ht;LE.mouseOverOpacity=LE.It;LE.cornersRadius=LE.us;LE.buttonsVisible=LE.ks;function ME(){hd.call(this);this.s=this.o=this.l=this.B=this.U=this.W=this.g=this.h=this.j=this.H=this.b=this.f=NaN;this.A=this.G=.01;this.K=NaN;this.c=!1;this.N=this.J=NaN}G(ME,Wt);ME.prototype.ca=4;function NE(a){return function(b){return Ix(b,a)}}
var OE=[144E5,2592E5,26784E5,31536E6,31536E7],PE=[{Pc:"day",count:1},{Pc:"week",count:1},{Pc:"month",count:1},{Pc:"year",count:1},{Pc:"year",count:10}],QE=[{Pc:"hour",count:1},{Pc:"day",count:1},{Pc:"week",count:1},{Pc:"quarter",count:1},{Pc:"year",count:1}],RE=[{Pc:"minute",count:10},{Pc:"hour",count:2},{Pc:"day",count:1},{Pc:"month",count:1},{Pc:"quarter",count:1}];g=ME.prototype;g.gc=function(){return isNaN(this.f)&&isNaN(this.b)&&isNaN(this.h)&&isNaN(this.g)};
g.reset=function(){this.g=this.h=this.j=this.H=this.b=this.f=NaN;this.c=!1};function SE(a){var b=new Date;isNaN(a.J)&&(a.J=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()));isNaN(a.N)&&(a.N=a.J+864E5);return{min:a.J,max:a.N}}function TE(a,b,c){b=tq(b);c=tq(c);a.f==b&&a.b==c||isNaN(c)||isNaN(b)||(a.f=b,a.b=c,a.c=!1,UE(a),a.$(4))}function VE(a){UE(a);return a.gc()?SE(a):{min:a.f,max:a.b}}
function WE(a){var b;isNaN(a.H)&&(isNaN(a.B)?isNaN(a.o)?(b=(isNaN(a.l)?isNaN(a.s)?a.g:Math.max(a.g,a.s):a.l)-a.h,b*=a.G,a.H=a.h-b):a.H=Math.min(a.o,a.h):a.H=a.B);isNaN(a.j)&&(isNaN(a.l)?isNaN(a.s)?(b=a.g-(isNaN(a.B)?isNaN(a.o)?a.h:Math.min(a.h,a.o):a.B),b*=a.A,a.j=a.g+b):a.j=Math.max(a.s,a.g):a.j=a.l);return a.gc()?SE(a):{min:a.H,max:a.j}}
function UE(a){if(!a.c&&!a.gc()){a.c=!0;var b=WE(a),c=b.min,b=b.max;isNaN(c)?isNaN(a.f)||(a.h=a.f):isNaN(a.f)?a.f=c:a.f=Math.max(a.f,c);isNaN(b)?isNaN(a.b)||(a.g=a.b):isNaN(a.b)?a.b=b:a.b=Math.min(a.b,b);if(a.f>a.b){var d=a.f-a.b;a.f=Math.max(a.b,c);a.b=Math.min(a.f+d,b)}}}g.kx=function(a){m(a)&&(a=tq(a),this.B!=a&&(this.B=a,this.H=NaN,this.c=!1,this.$(4)));return this.B};g.jx=function(a){m(a)&&(a=tq(a),this.l!=a&&(this.l=a,this.j=NaN,this.c=!1,this.$(4)));return this.l};
g.mx=function(a){m(a)&&(a=tq(a),this.o!=a&&(this.o=a,this.H=NaN,this.c=!1,this.$(4)));return this.o};g.lx=function(a){m(a)&&(a=tq(a),this.s!=a&&(this.s=a,this.j=NaN,this.c=!1,this.$(4)));return this.s};g.jo=function(a){return m(a)?(a=+a||0,this.G!=a&&(this.G=a,this.H=NaN,this.c=!1,this.$(4)),this):this.G};g.io=function(a){return m(a)?(a=+a||0,this.A!=a&&(this.A=a,this.j=NaN,this.c=!1,this.$(4)),this):this.A};
g.sj=function(a,b){var c=tq(a)+6E4*Cx(),d=VE(this),e=d.min,d=d.max;if(b.j||b.h){if(c<=e)return XE(this,a,b);if(c>e&&c=d)return XE(this,a,b,!0)}else return d=864E5*b.b+36E5*b.f+6E4*b.g+1E3*b.c,c<=e?(e=Math.floor((e-c)/d)*d,c+=e):(e=Math.ceil((c-e)/d)*d,c-=e),XE(this,c,b);return[]};
function XE(a,b,c,d,e){b=new Np(Dx(b));var f=VE(a);a=f.min;var f=f.max,h=[],k=!1,l=!1,n;if(d)for(c=c.H(-1);!k||!l;)d=tq(b),n=b.clone(),n.add(c),b=tq(n),k?kb(h,d,0):bb.max&&(e=b.max,d=e-c);dc&&(b-=c,c+=b,b=c-b);return a.b[c]-(a.b[b-1]||0)}function lF(a,b){var c=ub(a.b,b);return 0<=c?c:~c}g.data=function(a){return m(a)?(this.j!=a&&(J(a,yD)||J(a,sD))&&(this.j&&Xt(this.j,this.ew,this),this.j=a,O(this.j,this.ew,this),this.N=this.j.Nk(),this.N.yB(this.YE),this.A&&this.A.scale().reset(),this.i(64,2)),this):this.j};g.Kd=function(a){return m(a)?(this.B!=a&&(this.B=a,this.i(256,2)),this):this.B};
g.lc=function(a){return m(a)?(isNaN(a)||(this.c=a,this.B=0,this.h=NaN,this.i(256,2)),this):this.c};function mF(a,b){return m(b)?(isNaN(b)||(a.h=b,a.c=NaN,a.i(256,2)),a):a.h}function nF(a,b){return m(b)?(a.H!=b&&(a.H=b,a.i(256,2)),a):a.H}function oF(a,b){return m(b)?(a.fa!=b&&(a.fa=b,a.i(128,2)),a):a.fa}function pF(a,b){m(b)&&a.U!=b&&(a.U=b,a.i(256,2))}function qF(a,b){m(b)&&a.A!=b&&(a.A=b,a.i(256,2))}
function rF(a){if(!Yt(a)){if(a.F(64)){a.ha=0;a.l=NaN;a.o=NaN;R(a.j);for(var b=0,c=a.j.Ha();b=b?(a.c=0,a.B=0,a.h=a.g.length-1):(isNaN(a.c)&&isNaN(a.h)&&(a.c=0),isNaN(a.c)?
(b=kF(a,0,a.h),bc-a.H)mF(a,a.b.length-1);else{var c=lF(a,b),d=b-(c?a.b[c-1]:0);a.lc(c).Kd(d)}a.X(!0)}}function wF(a,b){R(a.j);var c=a.j.Nk();for(c.Yz(a.NJ);c.advance();)c.b.V("collapsed",b);a.j.X(!0)}g.v=function(){var a=cF.u.v.call(this);a.isResourceChart=this.f;a.treeData=this.data().v();a.verticalOffset=this.Kd();isNaN(this.lc())?isNaN(mF(this))||(a.endIndex=mF(this)):a.startIndex=this.lc();return a};
g.M=function(a,b){cF.u.M.call(this,a,b);this.f=a.isResourceChart;"treeData"in a&&this.data(zD(a.treeData));this.Kd(a.verticalOffset);"startIndex"in a?this.lc(a.startIndex):"endIndex"in a&&mF(this,a.endIndex)};function xF(a,b){hd.call(this);this.b=a;var c=rf(this.b)?this.b:this.b?this.b.body:null;this.h=!!c&&"rtl"==Pf(c,"direction");this.c=Sc(this.b,jc?"DOMMouseScroll":"mousewheel",this,b)}G(xF,hd);
xF.prototype.handleEvent=function(a){var b=0,c=0,d=a.b;"mousewheel"==d.type?(a=yF(-d.wheelDelta),m(d.wheelDeltaX)?(b=yF(-d.wheelDeltaX),c=yF(-d.wheelDeltaY)):c=a):(a=d.detail,100a&&(a=-3),m(d.axis)&&d.axis===d.HORIZONTAL_AXIS?b=a:c=a);C(this.f)&&(b=nd(b,-this.f,this.f));C(this.g)&&(c=nd(c,-this.g,this.g));this.h&&(b=-b);b=new zF(a,d,b,c);this.dispatchEvent(b)};function yF(a){return kc&&(lc||nc)&&a%40?a:a/40}xF.prototype.T=function(){xF.u.T.call(this);ad(this.c);this.c=null};
function zF(a,b,c,d){Cc.call(this,b);this.type="mousewheel";this.detail=a;this.B=c;this.s=d}G(zF,Cc);function AF(a,b){U.call(this);this.l=this.eq=null;this.g=this;this.wb=!0;this.c=null;a&&J(a,cF)?(this.c=a,this.wb=!1):BF(this,b);this.b=null;this.La=1;this.ci=this.gg=this.Vp=this.Fg=this.Kg=this.dg=this.cg=this.Yp=this.bg=this.N=this.Mg=this.Se=null;this.$a=45;this.Ou=this.ya=0;this.sf=this.Og=this.Cd=this.rc=null;this.bb=[];this.Bb=-1;this.K=null;this.Ng=this.Pg=0;this.dc=this.uc=!1;this.o=null;this.altKey=!1;this.ua=null;this.fb=this.xb=0;this.J=!0;this.va=!1;this.s=this.j=null;this.yq=!1;qu(this,
this,this.qz,this.EF,this.DF,this.qz,this.mJ)}G(AF,xu);g=AF.prototype;g.da=xu.prototype.da|208;function CF(a){var b=a.V("actualStart");a=a.V("actualEnd");return m(b)&&(!isNaN(b)&&!m(a)||b==a)}
g.hn=function(a,b,c){this.j||(this.j=new Kx);var d=this.c.f,e={item:{value:a,type:""},name:{value:a.get("name"),type:"string"},id:{value:a.get("id"),type:"string"}};d?(e.minPeriodDate={value:a.V("minPeriodDate"),type:"datetime"},e.maxPeriodDate={value:a.V("maxPeriodDate"),type:"datetime"},e.period={value:b,type:""},e.periodIndex={value:null!=c&&0a||a>h)return null;d=ub(this.bb,a);var h=(this.Bb=d=0<=d?d:~d)?this.bb[d-1]:0,f=f+h,k=f+(this.bb[d]-h-this.La);e.item=b[c+d];e.startY=f;e.endY=k;e.hoveredIndex=this.Bb;e.index=c+d;e.itemHeightMouseRatio=(a-h)/(this.bb[d]-h)}return e}return null};g.ki=function(a){return m(a)?(this.va!=a&&(this.va=a,this.i(128,1)),this):this.va};
function EF(a){a.N||(a.N=mh(),pu(a,a.N,null,null,null,null,a.pz),H(a,a.N));return a.N}function FF(a){a.cg||(a.cg=mh(),a.cg.zIndex(30),H(a,a.cg));return a.cg}function GF(a){a.Fg||(a.Fg=mh(),a.Fg.zIndex(35),H(a,a.Fg));return a.Fg}function HF(a){a.dg||(a.dg=mh(),a.dg.zIndex(40),H(a,a.dg));return a.dg}function IF(a){a.Kg||(a.Kg=mh(),a.Kg.zIndex(45),H(a,a.Kg));return a.Kg}function JF(a){a.gg||(a.gg=mh(),a.gg.zIndex(50),H(a,a.gg));return a.gg}
function KF(a){a.ci||(a.ci=mh(),a.ci.zIndex(60),H(a,a.ci));return a.ci}function LF(a){a.rc||(a.rc=FF(a).path(),a.rc.stroke(null).zIndex(1),H(a,a.rc));return a.rc}function MF(a){a.Cd||(a.Cd=FF(a).path(),a.Cd.stroke(null).zIndex(1),H(a,a.Cd));return a.Cd}function NF(a){a.Og||(a.Og=FF(a).path(),a.Og.stroke(null).fill(a.eg).zIndex(2),H(a,a.Og));return a.Og}function OF(a){a.sf||(a.sf=FF(a).path(),a.sf.stroke(null).fill(a.fg).zIndex(3),H(a,a.sf));return a.sf}
function PF(a){a.Se||(a.Se=FF(a).path(),a.Se.stroke(a.nb).zIndex(4),H(a,a.Se));return a.Se}function QF(a){a.Vp||(a.Vp=IF(a).path(),H(a,a.Vp));return a.Vp}function RF(a){a.Mg||(a.Mg=FF(a).path(),a.Mg.zIndex(40),H(a,a.Mg));return a.Mg}g.Cp=function(a,b,c,d,e,f,h){if(m(a)){var k=Xd.apply(null,arguments);this.Bh!=k&&(this.Bh=k,this.Dh=this.Eh=null,this.i(16,1));return this}return this.Bh};g.Ar=function(a,b,c,d,e,f,h){Nn(405,null,["cellFill()","rowFill()"],!0);return this.Cp(a,b,c,d,e,f,h)};
g.Jn=function(a,b,c,d,e,f,h){if(m(a)){var k=Xd.apply(null,arguments);this.Eh!=k&&(this.Eh=k,this.i(16,1));return this}return this.Eh};g.ns=function(a,b,c,d,e,f,h){Nn(405,null,["cellOddFill()","rowOddFill()"],!0);return this.Jn(a,b,c,d,e,f,h)};g.In=function(a,b,c,d,e,f,h){if(m(a)){var k=Xd.apply(null,arguments);this.Dh!=k&&(this.Dh=k,this.i(16,1));return this}return this.Dh};g.ms=function(a,b,c,d,e,f,h){Nn(405,null,["cellEvenFill()","rowEvenFill()"],!0);return this.In(a,b,c,d,e,f,h)};
g.Jl=function(a,b,c,d,e,f,h){if(m(a)){var k=Xd.apply(null,arguments);this.eg!=k&&(this.eg=k);return this}return this.eg};g.Kl=function(a,b,c,d,e,f,h){if(m(a)){var k=Xd.apply(null,arguments);this.fg!=k&&(this.fg=k,this.i(16,1));return this}return this.fg};g.Sh=function(a,b,c,d,e,f,h){if(m(a)){var k=Xd.apply(null,arguments);this.tf!=k&&(this.tf=k,this.i(16,1));return this}return this.tf};g.Ls=function(a,b,c,d,e,f,h){if(m(a)){var k=Xd.apply(null,arguments);this.Gp!=k&&(this.Gp=k,this.i(16,1));return this}return this.Gp};
g.Ms=function(a){if(m(a)){var b=de.apply(null,arguments);this.Lg!=b&&(this.Lg=b,this.i(16,1));return this}return this.Lg};g.Ks=function(a){if(m(a)){var b=de.apply(null,arguments);this.wp!=b&&(this.wp=b,this.i(16,1));return this}return this.wp};g.uy=function(a){J(a.c,hg)&&!this.l&&(this.l=new SF(this.N,this),H(this,this.l),this.l.ga("drag",this.qe,!1,this),this.l.ga("end",this.BF,!1,this),this.l.Re(a.b))};
g.qe=function(a){this.dc=!0;if(this.va&&(this.J=!1,this.g.Pf(),this.Ea().Mc(),a=this.yg(a))){var b=a.item,c=a.itemHeightMouseRatio,d=a.startY,e=a.endY;this.o&&b&&b!=this.o&&!BD(b,this.o)?.2>c||.8c?d:e,void 0,"auto"):CF(b)?this.g.ji(void 0,void 0,"not-allowed"):this.g.ji(d,e,"auto"):this.g.ji(void 0,void 0,"not-allowed");this.QD(a)}this.Ea().Mc();this.yq=!0};
g.BF=function(a){if(this.va){a=this.yg(a);this.RD(a);if(a){var b=a.item,c=a.hoveredIndex,c=this.c.lc()+c,d=this.c.g;a=a.itemHeightMouseRatio;this.o&&b&&b!=this.o&&!CF(b)&&!BD(b,this.o)&&(.2>a||.8a?a=d[c-1]:(a=b,b=d[c+1]),a&&b?(c=a.V("depth"),d=b.V("depth"),c==d?(c=b.getParent()||b.ag(),a=c.Mb(b),b=this.o.getParent()||this.o.ag(),b==c&&b.Mb(this.o)c,d=wE(k),k=yE(k),l=d||1!=k?0k||!d&&!l&&1!=k||1==k&&l&&0!=d:!1);e&&(e=0>b,n=wE(h),h=yE(h),n=e?n||1!=h?0h||1==h&&0!=n||!n&&f:f:n||1!=h?0h||!n&&1!=h:!1);if(l||n)a.preventDefault(),this.Ll(b,c)};g.aK=function(a){S(a,2)&&this.$(1)};g.FF=function(){this.Ea().L()};
g.yr=da;g.zr=da;g.jg=function(a){return m(a)?(dF(this.c,a),this):dF(this.c)};function BF(a,b){a.c=new cF(b);H(a,a.c);O(a.c,a.aK,a)}
function tF(a,b){b&&a.i(64);if(a.ab()){var c=a.I(),d=c?c.Y():null,e=d&&!d.vb();e&&d.Lb();var f,h;EF(a).Ha()||(a.bg=a.N.rect(),H(a,a.bg),a.bg.fill(a.tf).stroke(null).zIndex(10),a.Yp=a.N.rect(),H(a,a.Yp),a.Yp.fill($n).stroke(null).zIndex(20),a.N.gb(FF(a)).gb(GF(a)).gb(HF(a)).gb(IF(a)).gb(JF(a)).gb(KF(a)),a.wb&&(f=uF(a.c),O(f.I(KF(a)),function(a){S(a,8)?this.i(4,1):f.L()},a),H(a,f)),h=a.pg(),O(h.I(KF(a)),function(a){S(a,1)&&h.L()},h),H(a,h),a.N.Xc("mousedown",a.uy,!1,a),a.N.Xc("touchstart",a.uy,!1,a),
a.yz());a.F(2)&&(a.N.parent(c),a.D(2));a.F(4)&&(a.b=a.ra(),a.N.cb(a.b),a.bg.Oc(a.b),a.Yp.Oc(a.b),a.ya=a.b.width,c=a.b.top+a.$a+.5,RF(a).clear().moveTo(a.b.left,c).lineTo(a.b.left+a.ya,c),a.wb&&(f=uF(a.c),c=f.Ck(),f.pb(a.b.left+a.b.width-c-1,a.b.top+a.$c()+c+1,c,a.b.height-a.$c()-2*c-2)),h=a.pg(),c=h.Ck(),h.pb(a.b.left+c,a.b.top+a.b.height-c-1,a.b.width-2*c,c),a.uc=!0,a.zr(),a.D(4));a.F(64)&&(a.Ea().Mc(),a.uc=!0,a.iA(),a.D(64));if(a.F(16)){a.bg.fill(a.tf);LF(a).fill(a.Eh||a.Bh);MF(a).fill(a.Dh||a.Bh);
OF(a).fill(a.fg);var k;B(a.nb)?k=a.nb:A(a.nb)&&a.nb.color&&(k=a.nb.color);k&&RF(a).stroke(k);PF(a).stroke(a.nb);QF(a).fill(a.Gp).stroke(a.Lg);a.yr();a.D(16)}a.F(8)&&(EF(a).zIndex(a.zIndex()),a.D(8));a.F(128)&&(a.uc=!0,a.D(128));a.ru();a.uc&&(TF(a),a.hA(),a.uc=!1);e&&d.Hb();a.wb&&(UF(a),VF(a))}}g.yz=da;
g.Pf=function(a,b,c){var d=!1,e=!1;if(m(a)&&m(b)&&m(c)){if(this.Pg!=b||this.Ng!=c)this.Bb=a,this.Pg=b,this.Ng=c,d=0<=this.Bb}else 0<=this.Bb&&(this.Bb=-1,this.Ng=this.Pg=NaN),e=!0;d?NF(this).clear().fill(this.eg).moveTo(this.b.left,this.Pg).lineTo(this.b.left+this.b.width,this.Pg).lineTo(this.b.left+this.b.width,this.Ng).lineTo(this.b.left,this.Ng).close():e&&NF(this).clear()};
g.ji=function(a,b,c){var d=QF(this);m(a)?m(b)?d.clear().moveTo(this.b.left,a).lineTo(this.b.left+this.ya,a).lineTo(this.b.left+this.ya,b).lineTo(this.b.left,b).close().stroke(this.Lg):d.clear().moveTo(this.b.left,a).lineTo(this.b.left+this.ya,a).stroke(this.wp):d.clear();m(c)&&Kf(ba.document.body,"cursor",c)};
function UF(a){if(!a.eq){var b=EF(a).ba();b&&(a.eq=new xF(b),Sc(a.eq,"mousewheel",a.gp,!1,a),Sc(window,"unload",function(){$c(a.eq,"mousewheel",a.gp,!1,this)}));Sc(document,"mousemove",a.ty,!1,a)}}
g.ty=function(a){var b=this.I();if(b){var c=ol(b.Y()),b=this.b.top+c.y+this.$a+10,d=c.y+this.b.height-10-10,c=c.x+this.b.left+10,e=c+this.b.width-10-10,f=a.clientX,h=a.clientY;this.fb=this.xb=0;if(fe)this.xb=f-c;if(hd)this.fb=h-b;var k=this;this.dc&&!this.ua&&(this.ua=setInterval(function(){k.Gt(a)},100))}};
function VF(a){a.g.jq||(a.g.jq=new XF(a.g,document),H(a,a.g.jq),Sc(a.g.jq,"key",function(a){18==a.keyCode&&(this.altKey=!0);(46==a.keyCode||a.metaKey&&8==a.keyCode)&&this.fm(a)},!1,a.g))}g.fm=function(){};g.iA=da;g.hA=da;g.remove=function(){this.N&&this.N.parent(null)};g.uk=function(a,b,c,d,e){if(m(a)){var f=de.apply(null,arguments),h=Iq(f);if(this.nb!=f||h!=this.La)this.nb=f,this.La=h,this.wb||oF(this.c,h),this.i(80,1);return this}return this.nb||"none"};
function DF(a,b){return b&&b!=a.K?(R(a.c.data()),b.V("selected",!0),a.K&&a.K.V("selected",!1),a.K=b,a.c.data().X(!1),a.i(128,1),!0):!1}g.ru=da;g.Lj=function(a){this.K&&this.c.data()&&(R(this.c.data()),this.K.V("selected",!1),this.K=null,this.c.data().X(!1),this.g==this&&this.dispatchEvent({type:"rowSelect",actualTarget:a?a.target:this,target:this,originalEvent:a,item:null}),this.i(64,1))};g.data=function(a){var b=this.c.data();return m(a)?(a!=b&&J(a,yD)&&this.c.data(a),this):b};
g.L=function(){this.b&&!this.b.height&&this.b.height||(this.b=this.ra());rF(oF(nF(this.c,this.b.height-this.$a-1),this.La));return this};g.uw=function(a){return m(a)?(mF(this.c,a),this):mF(this.c)};g.CF=function(){return this.c.g};g.lc=function(a){return m(a)?(this.c.lc(a),this):this.c.lc()};g.$c=function(a){return m(a)?(this.$a!=a&&(this.$a=a,this.b||(this.b=this.ra()),this.wb&&nF(R(this.c),this.b.height-a-1).X(!1),this.i(4,1)),this):this.$a};
g.tB=function(a){Nn(405,null,["titleHeight()","headerHeight()"],!0);return this.$c(a)};g.Ea=function(a){this.s||(this.s=new Mx(0),H(this,this.s),O(this.s,this.FF,this),Yx(this.s,this));return m(a)?(this.s.O(a),this):this.s};g.Kd=function(a){return m(a)?(this.c.Kd(a),this):this.c.Kd()};g.T=function(){AF.u.T.call(this);$c(document,"mousemove",this.ty,!1,this)};
g.v=function(){var a=AF.u.v.call(this);if(a.isStandalone=this.wb)a.controller=this.c.v(),a.defaultRowHeight=this.jg();a.backgroundFill=io(this.tf);a.rowStroke=io(this.nb);a.headerHeight=this.$a;a.headerHeight=this.jg();a.rowOddFill=io(this.Eh);a.rowEvenFill=io(this.Dh);a.rowFill=io(this.Bh);a.hoverFill=io(this.eg);a.rowSelectedFill=io(this.fg);a.editStructurePreviewFill=io(this.Gp);a.editStructurePreviewStroke=io(this.Lg);a.editStructurePreviewDashStroke=io(this.wp);a.editing=this.va;a.tooltip=this.Ea().v();
return a};
g.M=function(a,b){AF.u.M.call(this,a,b);(this.wb="isStandalone"in a?a.isStandalone:"controller"in a)&&"controller"in a&&(BF(this),this.c.O(a.controller),this.jg(a.defaultRowHeight));m(a.cellFill)&&this.Ar(a.cellFill);m(a.cellOddFill)&&this.ns(a.cellOddFill);m(a.cellEvenFill)&&this.ms(a.cellEvenFill);this.Sh(a.backgroundFill);this.uk(a.rowStroke);this.Cp(a.rowFill);this.Jn(a.rowOddFill);this.In(a.rowEvenFill);this.Jl(a.hoverFill);this.Kl(a.rowSelectedFill);"tooltip"in a&&this.Ea().Pa(!!b,a.tooltip);
m(a.titleHeight)&&this.tB(a.titleHeight);this.$c(a.headerHeight);this.Ls(a.editStructurePreviewFill);this.Ms(a.editStructurePreviewStroke);this.Ks(a.editStructurePreviewDashStroke);this.ki(a.editing)};function SF(a,b){ag.call(this,a.ba());this.b=b;this.y=this.x=0;this.s=Math.pow(3,2)}G(SF,ag);SF.prototype.fh=function(){this.g=this.f=0};SF.prototype.gi=function(a,b){if(this.b.g.altKey||!this.b.va){var c=this.x-a,d=this.y-b;this.x=a;this.y=b;this.b.Ll(c,d)}};
SF.prototype.reset=function(){this.y=this.x=0};function XF(a,b,c){nr.call(this,b,c);this.b=a}G(XF,nr);XF.prototype.Ap=function(){XF.u.Ap.call(this);this.b.altKey=!1};function YF(){Tg.call(this);this.V={}}G(YF,Pg);YF.prototype.Pd=null;function ZF(){U.call(this);this.W="vertical";this.j=this.c=this.l=this.o=null;this.f=.5;this.G=this.J=this.s=this.g=0;this.fa=this.Z=!1;this.ha=Nf(ba.document.body,"cursor");this.b=3;this.A=!0;this.K=de("#acbece");this.h=Xd({keys:["0 #9ccae3","0.5 #a9dbf6","1 #e3f4fc"],angle:-90,opacity:1});this.N=Xd("#ccd7e1 0.3");this.va=de(null);this.ua=Xd("#fff 0");this.ya=de(null);this.U=!0}G(ZF,xu);g=ZF.prototype;g.ca=xu.prototype.ca;g.da=xu.prototype.da|80;
g.ob=function(a){return m(a)?(a=Nm(a),a!=this.W&&(this.W=a,this.position(this.f)),this):this.W};g.position=function(a){if(m(a)){a=oq(a)?parseFloat(a)/100:a;var b=0,c=1;this.P&&(c=$F(this)?this.P.Wa():this.P.Va(),b=this.g/c,c=(c-this.s)/c);a=nd(a,b,c);isNaN(a)||(this.P&&(this.f=a,this.U&&this.dispatchEvent("splitterchange")),this.f=a,this.i(64,1));return this}return this.f};
g.stroke=function(a,b,c,d,e){if(m(a)){var f=de.apply(null,arguments);this.K!=f&&(this.K=f,this.i(80,1));return this}return this.K||"none"};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Xd.apply(null,arguments);this.h!=k&&(this.h=k,this.i(16,1));return this}return this.h||"none"};g.vy=function(a,b,c,d,e,f,h){if(m(a)){var k=Xd.apply(null,arguments);this.N!=k&&(this.N=k,this.i(16,1));return this}return this.N||"none"};g.Ag=function(a){return m(a)?(ja(a)&&(this.U=a),this):this.U};
function aG(a){return m(!0)?(ja(!0)&&1!=a.A&&(a.A=!0,a.position(a.f)),a):a.A}function bG(a){var b=2;return m(b)?(b=+b,isNaN(b)||a.b==b||(a.b=b,a.i(64,1)),a):a.b}
function cG(a){var b,c;a.P||(a.P=a.ra());if(a.A){b=$o((a.P.Wa()-a.b)*a.f,1);c=$o((a.P.Va()-a.b)*a.f,1);if($F(a))return b+=a.b,new I($o(a.P.ta()+b,1),$o(a.P.xa(),1),$o(a.P.Wa()-b,1),$o(a.P.Va(),1));c+=a.b;return new I($o(a.P.ta(),1),$o(a.P.xa()+c,1),$o(a.P.Wa(),1),$o(a.P.Va()-c,1))}if($F(a))return b=a.P.Wa()*a.f,new I($o(a.P.ta()+b,1),$o(a.P.xa(),1),$o(a.P.Wa()-b,1),$o(a.P.Va(),1));c=a.P.Va()*a.f;return new I($o(a.P.ta(),1),$o(a.P.xa()+c,1),$o(a.P.Wa(),1),$o(a.P.Va()-c,1))}
function dG(a,b,c){Kf(ba.document.body,"cursor",c?a.ha:b?"e-resize":"n-resize")}
function eG(a){var b=$F(a);a.o.cursor(b?"e-resize":"n-resize");var c,d,e,f,h,k,l,n,q,r,t,u=a.P;a.A?(c=b?u.ta()+a.f*(u.Wa()-a.b):u.ta(),d=b?u.xa():u.xa()+a.f*(u.Va()-a.b),n=b?u.ta()+a.g-3:u.ta(),q=b?u.xa():u.xa()+a.g-3,r=b?u.Wa()-a.g-a.s+6:u.Wa(),t=b?u.Va():u.Va()-a.g-a.s+6):(c=b?u.ta()+a.f*u.Wa()-a.b/2:u.ta(),d=b?u.xa():u.xa()+a.f*u.Va()-a.b/2,n=b?u.ta()+a.g-3-a.b/2:u.ta(),q=b?u.xa():u.xa()+a.g-3-a.b/2,r=b?u.Wa()-a.g-a.s+6+a.b:u.Wa(),t=b?u.Va():u.Va()-a.g-a.s+6+a.b);e=b?a.b:u.Wa();f=b?u.Va():a.b;
h=b?c-3:u.ta();k=b?u.xa():d-3;l=b?a.b+6:u.Wa();b=b?u.Va():a.b+6;n=new I(n,q,r,t);a.l.lf(c).mf(d).kf(e).jf(f);a.c.lf(h).mf(k).kf(l).jf(b).hg(n)}function fG(a){a.o||(a.o=mh(),H(a,a.o));return a.o}g.jG=function(){this.Z=!0;gG(this).visible(!0);var a=$F(this);this.ha=Nf(ba.document.body,"cursor");a?this.j.lf(this.f*this.P.Wa()+this.P.ta()).mf(this.P.xa()).kf(0).jf(this.P.Va()):this.j.lf(this.P.ta()).mf(this.f*this.P.Va()+this.P.xa()).kf(this.P.Wa()).jf(0)};
g.qe=function(){var a=this.c.za(),b=$F(this),c=this.b/2;dG(this,b);var d=b?this.f*this.P.Wa()+this.P.ta():this.f*this.P.Va()+this.P.xa(),a=b?a.ta()+a.Wa()/2:a.xa()+a.Va()/2;b?(this.j.lf(Math.min(d,a)).kf(Math.abs(d-a)),this.l.lf(a-c)):(this.j.mf(Math.min(d,a)).jf(Math.abs(d-a)),this.l.mf(a-c))};
g.iG=function(){this.Z=!1;gG(this).visible(!1);var a=this.c.za(),b=$F(this);this.fa||dG(this,b,!0);this.A?(a=b?a.left+3-this.P.left:a.top+3-this.P.top,b=b?a/(this.P.width-this.b):a/(this.P.height-this.b)):(a=b?a.left+a.width/2-this.P.left:a.top+a.height/2-this.P.top,b=b?a/this.P.width:a/this.P.height);this.position($o(b,4))};g.kG=function(){this.fa=!0};g.XJ=function(a){this.dispatchEvent({type:"dblclick",originalEvent:a})};g.lG=function(){this.fa=!1;this.Z||dG(this,$F(this),!0)};
function hG(a){a.c||(a.c=Ag().stroke(a.ya).fill(a.ua),Sc(a.c,"dblclick",a.XJ,!1,a),Sc(a.c,"mousemove",a.kG,!1,a),Sc(a.c,"mouseout",a.lG,!1,a),Sc(a.c,"start",a.jG,!1,a),Sc(a.c,"drag",a.qe,!1,a),Sc(a.c,"end",a.iG,!1,a),H(a,a.c));return a.c}function gG(a){a.j||(a.j=Ag().visible(!1),H(a,a.j));return a.j}function iG(a){a.l||(a.l=Ag().qb(!0).fill(a.h).stroke(a.K),H(a,a.l));return a.l}
g.L=function(){if(this.ab()){var a=this.I(),b=a?a.Y():null,c=b&&!b.vb();c&&b.Lb();fG(this).Ha()||fG(this).gb(gG(this)).gb(hG(this)).gb(iG(this));this.F(2)&&(fG(this).parent(a),this.D(2));this.F(4)&&(this.P=this.ra(),this.U&&this.dispatchEvent("splitterchange"),this.i(80),this.D(4));this.F(16)&&(this.l.stroke(this.K).fill(this.h),this.j.fill(this.N).stroke(this.va),this.c.fill(this.ua).stroke(this.ya),this.D(16));this.F(64)&&(hG(this).Na(1,0,0,1,0,0),this.g!=this.J&&(a=$F(this)?this.P.Wa():this.P.Va(),
this.J<=a&&(this.g=this.J,this.J>a-this.s&&(this.G=a-this.J),this.position(this.f))),this.s!=this.G&&(a=$F(this)?this.P.Wa():this.P.Va(),this.G<=a&&(this.s=this.G,this.G>a-this.g&&(this.J=a-this.G),this.position(this.f))),eG(this),this.D(64));this.F(8)&&(fG(this).zIndex(this.zIndex()),eG(this),this.D(8));c&&b.Hb()}return this};function $F(a){return"horizontal"!=a.W.toLowerCase()}g.remove=function(){this.o&&this.o.parent(null)};
function jG(){U.call(this);this.c=this.b=this.h=this.g=null;this.f=NaN;this.G=this.A=!1;this.J=Nf(ba.document.body,"cursor");this.s=de("1 #acbece");this.j=1;this.l=Xd("#ccd7e1 0.3");this.K=Xd("#fff 0.00001");this.o=!0}G(jG,xu);g=jG.prototype;g.ca=xu.prototype.ca;g.da=xu.prototype.da|80;g.remove=function(){this.g&&this.g.parent(null)};g.position=function(a){return m(a)?(this.f!=a&&(this.f=a,this.i(64,1)),this):this.f};
g.stroke=function(a,b,c,d,e){if(m(a)){var f=de.apply(null,arguments),h=Iq(f);if(this.s!=f||h!=this.j)this.s=f,this.j=h,this.i(80,1);return this}return this.s||"none"};g.vy=function(a,b,c,d,e,f,h){if(m(a)){var k=Xd.apply(null,arguments);this.l!=k&&(this.l=k,this.i(16,1));return this}return this.l||"none"};g.Ag=function(a){return m(a)?(ja(a)&&(this.o=a),this):this.o};function kG(a,b){Kf(ba.document.body,"cursor",b?a.J:"e-resize")}function lG(a){a.g||(a.g=mh(),H(a,a.g));return a.g}
g.fG=function(){this.A=!0;this.J=Nf(ba.document.body,"cursor");mG(this).clear()};g.qe=function(){var a=this.b.za();kG(this);var b=this.P.left+this.f+this.j/2,a=a.ta()+a.Wa()/2;this.c.clear().moveTo(b,this.P.top).lineTo(a,this.P.top).lineTo(a,this.P.top+this.P.height).lineTo(b,this.P.top+this.P.height).close();this.h.clear().moveTo(a,this.P.top).lineTo(a,this.P.top+this.P.height)};g.eG=function(){this.A=!1;this.c.clear();var a=this.b.za();this.G||kG(this,!0);this.position(a.left+3-this.P.left)};
g.ZJ=function(a){a.preventDefault();this.qc(a)};function nG(a){a.g.cursor("e-resize");var b=a.P.left+a.f+a.j/2,c=new I(a.P.left-3,a.P.top,a.P.width+6,a.P.height);a.h.clear().moveTo(b,a.P.top).lineTo(b,a.P.top+a.P.height);var b=a.P.left+a.f-3,d=a.P.left+a.f+a.j+3;a.b.Na(1,0,0,1,0,0);a.b.clear().moveTo(b,a.P.top).lineTo(d,a.P.top).lineTo(d,a.P.top+a.P.height).lineTo(b,a.P.top+a.P.height).close().hg(c)}g.gG=function(){this.G=!0};g.hG=function(){this.G=!1;this.A||kG(this,!0)};
function oG(a){a.b||(a.b=Dg().fill(a.K).stroke(null),Sc(a.b,"start",a.fG,!1,a),Sc(a.b,"drag",a.qe,!1,a),Sc(a.b,"end",a.eG,!1,a),pu(a,a.b,null,a.hG,null,a.gG,null,a.ZJ),H(a,a.b));return a.b}function mG(a){a.c||(a.c=Dg(),a.c.fill(a.l).stroke(null),H(a,a.c));return a.c}function pG(a){a.h||(a.h=Dg().qb(!0).stroke(a.s),H(a,a.h));return a.h}
g.L=function(){if(this.ab()){var a=this.I(),b=a?a.Y():null,c=b&&!b.vb();c&&b.Lb();lG(this).Ha()||lG(this).gb(mG(this)).gb(oG(this)).gb(pG(this));this.F(2)&&(lG(this).parent(a),this.D(2));this.F(4)&&(this.P=this.ra(),this.o&&this.dispatchEvent("splitterchange"),this.i(80),this.D(4));this.F(16)&&(this.h.stroke(this.s),this.c.fill(this.l),this.b.fill(this.K),this.D(16));this.F(64)&&(isNaN(this.f)&&(this.f=Math.round((this.P.width-this.j)/2)),this.o&&this.dispatchEvent("splitterchange"),nG(this),this.D(64));
this.F(8)&&(lG(this).zIndex(this.zIndex()),nG(this),this.D(8));c&&b.Hb()}return this};function qG(a){AF.call(this,a);this.f=[];this.Z=[];this.W=null;this.G=0;this.A={};pF(this.c,this)}G(qG,AF);g=qG.prototype;g.da=AF.prototype.da|512;
function rG(a,b){if(!a.A[b])switch(b){case "directNumbering":a.A[b]={formatter:a.Os,width:50};break;case "text":a.A[b]={formatter:a.Os,width:170};break;case "financial":a.A[b]={formatter:a.VI,textStyle:{hAlign:"right"},width:90};break;case "percent":a.A[b]={formatter:a.WI,textStyle:{hAlign:"right"},width:50};break;case "dateCommonLog":a.A[b]={formatter:sG("dd/MMM/yyyy"),textStyle:{hAlign:"right"},width:90};break;case "dateIso8601":a.A[b]={formatter:sG("yyyy-MM-dd"),textStyle:{hAlign:"right"},width:90};
break;case "dateUsShort":a.A[b]={formatter:sG("M/dd/yyyy"),textStyle:{hAlign:"right"},width:90};break;case "dateDmyDots":a.A[b]={formatter:sG("dd.MM.yy"),textStyle:{hAlign:"right"},width:90};break;default:a.A[b]={formatter:a.Os,width:90}}return a.A[b]}g.Os=function(a){return m(a)?a+"":""};g.VI=function(a){return m(a)?C(a)?a.toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g,"$1,"):a+"":""};g.WI=function(a){return C(a)?$o(100*a,2)+"%":m(a)?oq(a)?a:a+"%":""};
function sG(a){return function(b){return C(b)?aq(new Vp(a),new Np(new Date(b))):m(b)?b+"":""}}g.dy=function(a){return m(a)?(this.Ka=a,this):this.Ka||{}};g.ct=function(a,b,c,d,e,f,h){if(m(a)){var k=Xd.apply(null,arguments);this.fa!=k&&(this.fa=k,this.i(16,1));return this}return this.fa};function tG(a){a.W||(a.W=Dg(),FF(a).Rb(a.W,0),a.W.stroke(null),H(a,a.W));return a.W}
g.Oo=function(a,b,c){for(var d=-1,e=0,f=this.f.length;ea.Z.length){var e=new jG;H(a,e);e.stroke(a.U);e.I(JF(a));O(e,function(){e.L()},e);e.ga("splitterchange",ra(a.nL,a,b-1));e.ga("dblclick",ra(a.oL,a,b-1));a.Z.push(e)}}
g.Ix=function(a,b){var c,d,e=!1;c=M(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var f=this.f[c];f||(f=new vG(this),f.O(this.dy()),O(f,this.hI,this),H(this,f),e=!0);if(m(d))return f.O(J(d,vG)?d.v():d),f.enabled()&&f.I(HF(this)),this.f[c]=f,uG(this),this.i(528,1),this;e&&(d=c?1==c?170:90:90,e=c?1==c?"Name":"Column #"+c:"#",R(f),f.I(HF(this)).width(d).height("100%"),f.title().text(e),f.X(!0),this.f[c]=f,uG(this),this.i(528,1));return f};
g.nL=function(a,b){var c=b.target;c.P||(c.P=c.ra());this.Oo(this.VK,this,a,(new I($o(c.P.left,1),$o(c.P.top,1),$o(Math.min(c.f,c.P.width-c.j),1),$o(c.P.height,1))).width+20)};g.oL=function(a,b){this.Oo(this.tI,this,a,b)};g.VK=function(a,b,c,d){c==b&&a.width(d)};
g.tI=function(a,b,c,d){c==b&&(b=a.title(),c=b.height(),d.offsetY-this.b.topthis.ya&&(this.G=0);this.G=nd(this.G,0,Math.abs(this.b.width-this.ya));c=-this.G;f=0;for(h=e.length;fd&&(d=OE.length-1);e=$E(a,PE[d]);f=$E(a,QE[d],PE[d]);a=$E(a,RE[d],QE[d]);f=[e,f,a];a=0;for(d=this.c.length;a=k)k=t;else var l=this.P.left,u=this.P.width,k=t+(k-h)/2,k=kl+u?Math.max(l+u-h,t):k;k=this.labels().add(f,{value:{x:k,y:this.P.top}});R(k);k.clip(new I(n+r/2,this.P.top,q-n-r,this.P.height));k.height(this.P.height);k.X(!1);k.L()}this.labels().X(!1);this.labels().L()}this.F(8)&&this.D(8);e&&d.Hb()}return this};g.remove=function(){MG(this).parent(null)};
g.v=function(){var a=KG.u.v.call(this);a.tileFill=io(this.j);a.tilesSeparationStroke=io(this.f);a.labels=this.labels().v();return a};g.M=function(a,b){KG.u.M.call(this,a);this.oB(a.tileFill);this.pB(a.tilesSeparationStroke);this.labels().Pa(!!b,a.labels)};var NG=JG.prototype;NG.backgroundFill=NG.gw;NG.levelsSeparationStroke=NG.Pz;NG.topLevel=NG.Rm;NG.midLevel=NG.Gm;NG.lowLevel=NG.Cm;NG=KG.prototype;NG.tileFill=NG.oB;NG.labels=NG.labels;NG.tilesSeparationStroke=NG.pB;function OG(a,b){AF.call(this,a,b);this.sd=this.U=this.W=this.fa=this.Z=this.Gb=this.G=this.Ec=this.$b=this.Zb=null;this.ii=void 0;this.A=null;this.aq=void 0;this.cq=NaN;this.Ch=this.gd=!1;this.ff=this.Ae=this.he=this.Id=this.Wd=this.Jd=null;this.lq=this.oq=this.Vb=!1;this.Ka=this.tb=null;this.mi=[];this.li=0;this.Rg=[];this.Ug=[];this.fc=[];this.Qg=null;this.f=new ME;O(this.f,this.CG,this);H(this,this.f);qF(this.c,this)}G(OG,AF);g=OG.prototype;g.da=AF.prototype.da|512;
g.CG=function(a){S(a,4)&&this.i(512,1)};g.Pk=function(a){this.ha||(this.ha=new JG,this.ha.scale(this.f),this.ha.zIndex(80),H(this,this.ha),O(this.ha,this.HJ,this));return m(a)?(this.ha.O(a),this):this.ha};g.HJ=function(a){S(a,1)&&this.i(512,1)};g.Kx=function(a,b,c,d,e){if(m(a)){var f=de.apply(null,arguments);this.Pe!=f&&(this.Pe=f,this.i(16,1));return this}return this.Pe||"none"};
g.Ry=function(a,b,c,d,e,f,h){if(m(a)){var k=Xd.apply(null,arguments);this.Yk!=k&&(this.Yk=k,this.i(16,1));return this}return this.Yk||"none"};g.Sy=function(a,b,c,d,e){if(m(a)){var f=de.apply(null,arguments);this.lp!=f&&(this.lp=f,this.i(16,1));return this}return this.lp||"none"};g.Ty=function(a,b,c,d,e,f,h){if(m(a)){var k=Xd.apply(null,arguments);this.rp!=k&&(this.rp=k,this.i(16,1));return this}return this.rp||"none"};
g.Uy=function(a,b,c,d,e){if(m(a)){var f=de.apply(null,arguments);this.up!=f&&(this.up=f,this.i(16,1));return this}return this.up||"none"};g.Oy=function(a,b,c,d,e,f,h){if(m(a)){var k=Xd.apply(null,arguments);this.Ig!=k&&(this.Ig=k,this.i(16,1));return this}return this.Ig||"none"};g.Py=function(a,b,c,d,e){if(m(a)){var f=de.apply(null,arguments);this.Jg!=f&&(this.Jg=f,this.i(16,1));return this}return this.Jg||"none"};
g.Iy=function(a,b,c,d,e,f,h){if(m(a)){var k=Xd.apply(null,arguments);this.Gg!=k&&(this.Gg=k,this.i(16,1));return this}return this.Gg||"none"};g.Jy=function(a,b,c,d,e){if(m(a)){var f=de.apply(null,arguments);this.Hg!=f&&(this.Hg=f,this.i(16,1));return this}return this.Hg||"none"};g.ux=function(a,b,c,d,e,f,h){if(m(a)){var k=Xd.apply(null,arguments);this.tj!=k&&(this.tj=k,this.i(128,1));return this}return this.tj||"none"};
g.xx=function(a,b,c,d,e){if(m(a)){var f=de.apply(null,arguments);this.uj!=f&&(this.uj=f,this.i(128,1));return this}return this.uj||"none"};g.zx=function(a,b,c,d,e,f,h){if(m(a)){var k=Xd.apply(null,arguments);this.Cj!=k&&(this.Cj=k,this.i(128,1));return this}return this.Cj||"none"};g.Ax=function(a,b,c,d,e){if(m(a)){var f=de.apply(null,arguments);this.Sk!=f&&(this.Sk=f,this.i(128,1));return this}return this.Sk||"none"};
g.lA=function(a,b,c,d,e,f,h){if(m(a)){var k=Xd.apply(null,arguments);this.Wm!=k&&(this.Wm=k,this.i(128,1));return this}return this.Wm||"none"};g.mA=function(a,b,c,d,e){if(m(a)){var f=de.apply(null,arguments);this.Xm!=f&&(this.Xm=f,this.i(128,1));return this}return this.Xm||"none"};g.Tz=function(a,b,c,d,e,f,h){if(m(a)){var k=Xd.apply(null,arguments);this.Sg!=k&&(this.Sg=k,this.i(128,1));return this}return this.Sg||"none"};
g.Uz=function(a,b,c,d,e){if(m(a)){var f=de.apply(null,arguments);this.Tg!=f&&(this.Tg=f,this.i(128,1));return this}return this.Tg||"none"};g.eA=function(a,b,c,d,e,f,h){if(m(a)){var k=Xd.apply(null,arguments);this.fq!=k&&(this.fq=k,this.i(128,1));return this}return this.fq||"none"};g.fA=function(a,b,c,d,e){if(m(a)){var f=de.apply(null,arguments);this.gq!=f&&(this.gq=f,this.i(128,1));return this}return this.gq||"none"};
g.Jx=function(a,b,c,d,e,f,h){if(m(a)){var k=Xd.apply(null,arguments);this.Uk!=k&&(this.Uk=k,this.i(128,1));return this}return this.Uk||"none"};g.Lx=function(a,b,c,d,e){if(m(a)){var f=de.apply(null,arguments);this.Vk!=f&&(this.Vk=f,this.i(64,1));return this}return this.Vk||"none"};g.IA=function(a,b,c,d,e,f,h){if(m(a)){var k=Xd.apply(null,arguments);this.ac!=k&&(this.ac=k,this.i(128,1));return this}return this.ac||"none"};
g.JA=function(a,b,c,d,e){if(m(a)){var f=de.apply(null,arguments);this.ed!=f&&(this.ed=f,this.i(128,1));return this}return this.ed||"none"};g.dL=function(a,b,c,d,e){if(m(a)){var f=de.apply(null,arguments);this.di!=f&&(this.di=f,this.i(128,1));return this}return this.di||"none"};g.Zr=function(a){if(m(a)){var b=de.apply(null,arguments),c=Iq(this.Cc),d=Iq(b);if(this.Cc!=b||d!=c)this.Cc=b,this.i(16,1);return this}return this.Cc};g.gy=function(a){return m(a)?(this.tC=a,this):this.tC||{}};
g.jy=function(a){return m(a)?(this.VC=a,this):this.VC||{}};g.ky=function(a){return m(a)?(this.WC=a,this):this.WC||{}};g.Qz=function(a,b){var c,d;c=M(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.Rg[c];e||(e=new DG(this.f),e.O(this.gy()),this.Rg[c]=e,H(this,e),O(e,this.Mt,this),this.i(512,1));return m(d)?(e.O(d),this):e};
g.qA=function(a,b){var c,d;c=M(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.Ug[c];e||(e=new FG(this.f),e.O(this.jy()),this.Ug[c]=e,H(this,e),O(e,this.Mt,this),this.i(512,1));return m(d)?(e.O(d),this):e};g.kB=function(a,b){var c,d;c=M(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.fc[c];e||(e=new HG(this.f),e.O(this.ky()),this.fc[c]=e,H(this,e),O(e,this.Mt,this),this.i(512,1));return m(d)?(e.O(d),this):e};g.Mt=function(){this.i(512,1)};
g.Nw=function(a){Nn(405,null,["minimumGap()","scale().minimumGap()"],!0);return m(a)?(this.f.jo(a),this):this.f.jo()};g.Mw=function(a){Nn(405,null,["maximumGap()","scale().maximumGap()"],!0);return m(a)?(this.f.io(a),this):this.f.io()};g.labels=function(a){this.Zb||(this.Zb=new iz,this.Zb.lb(this));if(m(a)){var b=!0;J(a,iz)?this.Zb.O(a.v()):A(a)?this.Zb.O(a):Hq(a)?this.Zb.enabled(!1):b=!1;b&&this.i(64,1);return this}return this.Zb};
g.Xg=function(a){this.$b||(this.$b=new jz,this.$b.lb(this));if(m(a)){var b=!0;J(a,jz)?this.$b.O(a.v()):A(a)?this.$b.O(a):Hq(a)?this.$b.enabled(!1):b=!1;b&&this.i(64,1);return this}return this.$b};g.yx=function(a){return m(a)&&this.gd!=a?(this.gd=a,this.i(64,1),this):this.gd};function PG(a){a.Ec||(a.Ec=JF(a).path(),a.Ec.zIndex(6),a.Ec.stroke(a.Cc),H(a,a.Ec));return a.Ec}
function QG(a){a.G||(a.G=new RG(IF(a)),a.G.zIndex(0).cursor("ew-resize"),a.H.ga(a.G,"mousedown",function(a){a.stopPropagation()}),a.G.Xc("mousedown",a.CI,!1,a),H(a,a.G));return a.G}function SG(a){a.Gb||(a.Gb=new RG(IF(a)),a.Gb.zIndex(10),a.H.ga(a.Gb,"mousedown",function(a){a.stopPropagation()}),a.Gb.Xc("mousedown",a.HI,!1,a),H(a,a.Gb));return a.Gb}
function TG(a){a.Z||(a.Z=new RG(IF(a)),a.Z.zIndex(20).cursor("col-resize"),a.Z.H=QG(a),a.H.ga(a.Z,"mousedown",function(a){a.stopPropagation()}),a.Z.Xc("mousedown",a.AI,!1,a),H(a,a.Z));return a.Z}function UG(a){a.fa||(a.fa=new RG(IF(a)),a.fa.zIndex(30).cursor("col-resize"),a.fa.H=QG(a),a.H.ga(a.fa,"mousedown",function(a){a.stopPropagation()}),a.fa.Xc("mousedown",a.KI,!1,a),H(a,a.fa));return a.fa}
function VG(a){a.W||(a.W=new RG(IF(a)),a.W.zIndex(40).cursor("move"),a.H.ga(a.W,"mousedown",function(a){a.stopPropagation()}),a.W.Xc("mousedown",a.MI,!1,a),H(a,a.W));return a.W}function WG(a){a.U||(a.U=new RG(IF(a)),a.U.zIndex(50).cursor("move"),a.H.ga(a.U,"mousedown",function(a){a.stopPropagation()}),a.U.Xc("mousedown",a.zI,!1,a),H(a,a.U));return a.U}g.Xy=function(a){return m(a)?(this.wq=a,this):this.wq};g.Wy=function(a){return m(a)?(this.uq=a,this):this.uq};
g.Vy=function(a){return m(a)?(this.tq=a,this):this.tq};g.Yy=function(a){return m(a)?(this.xq=a,this):this.xq};g.My=function(a){return m(a)?(this.rq=a,this):this.rq};g.Ly=function(a){return m(a)?(this.qq=a,this):this.qq};g.Ky=function(a){return m(a)?(this.pq=a,this):this.pq};g.Ny=function(a){return m(a)?(this.sq=a,this):this.sq};g.Qy=function(a){return m(a)?(this.hf=a,this):this.hf};function XG(a){a.sd||(a.sd=IF(a).path(),a.sd.stroke(a.Pe).zIndex(60),H(a,a.sd));return a.sd}
function YG(a,b){QG(a).gc()||QG(a).clear().Na(1,0,0,1,0,0);SG(a).gc()||SG(a).clear().Na(1,0,0,1,0,0);UG(a).gc()||UG(a).clear().Na(1,0,0,1,0,0);TG(a).gc()||TG(a).clear().Na(1,0,0,1,0,0);WG(a).gc()||WG(a).clear().Na(1,0,0,1,0,0);VG(a).gc()||VG(a).clear().Na(1,0,0,1,0,0);XG(a).gc()||XG(a).clear();b||(a.Ea().enabled(a.yc),a.yc=void 0)}g.CI=function(a){this.Jd=new ZG(QG(this));H(this,this.Jd);this.Jd.ga("start",this.DI,!1,this);this.Jd.ga("drag",this.EI,!1,this);this.Jd.ga("end",this.FI,!1,this);this.Jd.Re(a.b)};
g.HI=function(a){this.Wd=new $G(SG(this));H(this,this.Wd);this.Wd.ga("start",this.II,!1,this);this.Wd.ga("drag",this.JI,!1,this);this.Wd.ga("end",this.GI,!1,this);this.Wd.Re(a.b)};g.AI=function(a){this.Id=new aH(TG(this),!0);H(this,this.Id);this.Id.ga("start",this.BI,!1,this);this.Id.ga("drag",this.$y,!1,this);this.Id.ga("end",this.Zy,!1,this);this.Id.Re(a.b)};
g.KI=function(a){this.he=new aH(UG(this),!1);H(this,this.he);this.he.ga("start",this.LI,!1,this);this.he.ga("drag",this.$y,!1,this);this.he.ga("end",this.Zy,!1,this);this.he.Re(a.b)};g.MI=function(a){this.Ae=new bH(0,VG(this),!0);H(this,this.Ae);this.Ae.ga("start",this.Gy,!1,this);this.Ae.ga("drag",this.Hy,!1,this);this.Ae.ga("end",this.Fy,!1,this);this.Ae.Re(a.b)};
g.zI=function(a){this.ff=new bH(0,WG(this),!1);H(this,this.ff);this.ff.ga("start",this.Gy,!1,this);this.ff.ga("drag",this.Hy,!1,this);this.ff.ga("end",this.Fy,!1,this);this.ff.Re(a.b)};g.DI=function(){this.l&&(this.l.Le=!1);this.yc=this.Ea().enabled();this.Ea().Mc();this.Ea().enabled(!1);this.g.Pf();SG(this).clear();TG(this).clear();UG(this).clear();VG(this).clear();WG(this).clear();Kf(ba.document.body,"cursor","ew-resize")};g.EI=function(){this.dc=!0;this.J=!1;this.lq=!0};
g.FI=function(a){if(this.dc){this.l&&(this.l.Le=!0);var b=QG(this).za();YG(this);var c=a.target.element;a=c.item;var d=this.c.data();R(d);b=ZE(this.f,4==c.type?(b.left+b.width/2-this.b.left)/this.b.width:(b.left-this.b.left)/this.b.width);if(!isNaN(b)){var e;switch(c.type){case 4:a.set("actualStart",b);a.V("actualStart",b);m(a.get("actualEnd"))&&(a.set("actualEnd",b),a.V("actualEnd",b));break;case 5:c=c.Qe;e=a.jd("periods",c,"start");e=a.jd("periods",c,"end")+(b-e);isNaN(e)||(a.set("periods",c,"start",
b),a.Dg("periods",c,"start",b),a.set("periods",c,"end",e),a.Dg("periods",c,"end",e));break;case 3:e=a.V("baselineStart");c=a.V("baselineEnd");e=b-e;isNaN(c+e)||(a.set("baselineStart",b),a.V("baselineStart",b));a.set("baselineEnd",c+e);a.V("baselineEnd",c+e);break;default:c=C(a.V("actualStart"))?a.V("actualStart"):a.V("autoStart"),c=(C(a.V("actualEnd"))?a.V("actualEnd"):a.V("autoEnd"))+(b-c),isNaN(c)||(a.set("actualStart",b),a.V("actualStart",b),a.set("actualEnd",c),a.V("actualEnd",c))}}d.X(!0);sF(this);
this.lq=this.dc=!1;clearInterval(this.ua);this.ua=null}Kf(ba.document.body,"cursor","")};g.II=function(){this.l&&(this.l.Le=!1);this.oq=!0;this.yc=this.Ea().enabled();this.Ea().Mc();this.Ea().enabled(!1);TG(this).clear();UG(this).clear();VG(this).clear();WG(this).clear();QG(this).clear()};g.JI=function(){this.dc=!0;this.J=!1};
g.GI=function(a){if(this.dc){this.l&&(this.l.Le=!0);YG(this);a=a.target;var b=a.element;isNaN(a.zi)||b.item.set("progressValue",$o(100*a.zi,2)+"%");this.dc=!1;clearInterval(this.ua);this.ua=null;this.oq=!1}};g.LI=function(){this.l&&(this.l.Le=!1);this.yc=this.Ea().enabled();this.Ea().Mc();this.Ea().enabled(!1);SG(this).clear();TG(this).clear();UG(this).clear();VG(this).clear();WG(this).clear();Kf(ba.document.body,"cursor","col-resize");this.G.cursor("col-resize")};
g.BI=function(){this.l&&(this.l.Le=!1);this.yc=this.Ea().enabled();this.Ea().Mc();this.Ea().enabled(!1);SG(this).clear();TG(this).clear();UG(this).clear();VG(this).clear();WG(this).clear();Kf(ba.document.body,"cursor","col-resize");this.G.cursor("col-resize")};
function cH(a,b,c){if(a.tb){var d=a.tb.b?a.Z:a.fa,e=d.item,f=d.Qe,h=d.b;switch(d.type){case 3:d=a.tb.b?e.V("baselineEnd"):e.V("baselineStart");break;case 5:d=a.tb.b?e.jd("periods",f,"end"):e.jd("periods",f,"start");break;default:d=a.tb.b?C(e.V("actualEnd"))?e.V("actualEnd"):e.V("autoEnd"):C(e.V("actualStart"))?e.V("actualStart"):e.V("autoStart")}e=ol(a.I().Y()).x;b=c?0>c?a.b.left:a.b.left+a.b.width:b.clientX-e;c=YE(a.f,d);c=a.b.left+a.b.width*c;a.G.clear().moveTo(c,h.top).lineTo(b,h.top).lineTo(b,
h.top+h.height).lineTo(c,h.top+h.height).close()}}function dH(a,b,c,d){if(a.Ka&&a.dc){var e=a.Ka.ph?a.W:a.U,f=e.index,e=e.Qe,h=ol(a.I().Y()),k=h.x,h=h.y;c||d?(c=a.Ka.b-k,b=a.Ka.c-h):(c=b.clientX-k,b=b.clientY-h);e=eH(a,f,e);d=Iq(a.Pe)%2&&tl===ul?.5:0;f=a.Ka.ph?e.left:e.left+e.width;e=e.top+e.height/2+d;XG(a).clear().moveTo(f,e).lineTo(c,b)}}g.$y=function(a){this.dc=!0;this.J=!1;this.tb=a.target;cH(this,a)};
g.Zy=function(a){if(this.dc){this.l&&(this.l.Le=!0);var b=this.G.za();YG(this);a=a.target.element;var c=a.item,d=a.Qe,e=this.c.data();R(e);var f=(b.left+b.width-this.b.left)/this.b.width,b=ZE(this.f,(b.left-this.b.left)/this.b.width),f=ZE(this.f,f);if(!isNaN(b)&&!isNaN(f))switch(a.type){case 5:c.set("periods",d,"start",b);c.Dg("periods",d,"start",b);c.set("periods",d,"end",f);c.Dg("periods",d,"end",f);break;case 3:c.set("baselineStart",b);c.V("baselineStart",b);c.set("baselineEnd",f);c.V("baselineEnd",
f);break;default:c.set("actualStart",b),c.V("actualStart",b),c.set("actualEnd",f),c.V("actualEnd",f)}e.X(!0);sF(this);this.tb=null;this.dc=!1;clearInterval(this.ua);this.ua=null}Kf(ba.document.body,"cursor","");this.G.cursor("ew-resize")};g.Gy=function(a){this.l&&(this.l.Le=!1);this.g.Pf();this.Ka=a.target;YG(this);this.yc=this.Ea().enabled();this.Ea().Mc();this.Ea().enabled(!1)};g.Hy=function(a){this.Vb=this.dc=!0;this.J=!1;this.Ka.b=a.clientX;this.Ka.c=a.clientY};
g.Fy=function(){this.dc&&(this.l&&(this.l.Le=!0),this.Ea().enabled(this.yc),this.yc=void 0,XG(this).clear(),this.dc=!1,clearInterval(this.ua),this.ua=null)};
function fH(a,b){var c=b.type;switch(c){case "mouseout":c="connectormouseout";break;case "mouseover":c="connectormouseover";break;case "mousemove":case "touchmove":c="connectormousemove";break;case "mousedown":case "touchstart":c="connectormousedown";break;case "mouseup":case "touchend":c="connectormouseup";break;case "click":c="connectorclick";break;case "dblclick":c="connectordblclick"}return{type:c,actualTarget:b.target,target:a,originalEvent:b}}
function gH(a,b){if(b&&b.originalEvent){var c=b.originalEvent,d=J(c,qj)?c.target:c.domTarget;if(d&&J(d,YF)&&6==d.type){var c=fH(a,c),e;for(e in d.V)c[e]=d.V[e];return c}}return null}
g.Kv=function(a){if(a&&a.originalEvent){var b=a.originalEvent,c=b.domTarget;if(this.va)if(c&&J(c,YF)){var d=a.item,e=d.get("id");m(this.aq)||(this.aq=e);var f=a.period,h=a.periodIndex;m(h)&&isNaN(this.cq)&&(this.cq=h);this.aq!=e&&this.cq!=h&&(YG(this,!0),this.aq=e,m(h)&&(this.cq=h));if(c.Pd&&!this.dc){b=c.Pd;QG(this).clear().moveTo(b.left,b.top).lineTo(b.left+b.width,b.top).lineTo(b.left+b.width,b.top+b.height).lineTo(b.left,b.top+b.height).close();this.G.item=d;this.G.type=c.type;f&&(this.G.Jj=f);
m(h)&&(this.G.Qe=h);if(!d||1!=c.type&&0!=c.type&&2!=c.type)SG(this).clear();else{var e=m(d.get("progressValue"))?parseFloat(d.get("progressValue"))/100:$o(d.V("autoProgress"),2),e=b.left+(e||0)*b.width,k=b.top+b.height;SG(this).clear().moveTo(e,k-5).lineTo(e+5,k).lineTo(e+5,k+5).lineTo(e-5,k+5).lineTo(e-5,k).close();this.Gb.b=b;this.Gb.item=d}k=b.left+b.width;d&&4!=c.type?(UG(this).clear().moveTo(k+1,b.top).lineTo(k+1-this.hf,b.top).lineTo(k+1-this.hf,b.top+b.height).lineTo(k+1,b.top+b.height).close(),
TG(this).clear().moveTo(b.left-1,b.top).lineTo(b.left-1+this.hf,b.top).lineTo(b.left-1+this.hf,b.top+b.height).lineTo(b.left-1,b.top+b.height).close(),this.fa.b=b,this.fa.item=d,this.fa.type=c.type,this.Z.b=b,this.Z.item=d,this.Z.type=c.type,f&&(this.fa.Jj=f,this.Z.Jj=f),m(h)&&(this.fa.Qe=h,this.Z.Qe=h)):(TG(this).clear(),UG(this).clear());if(d&&3!=c.type){var e=b.top+b.height/2,l=this.qq/2;gr(this.rq).call(null,WG(this),k+l+this.pq,e+this.sq,l);k=this.uq/2;gr(this.wq).call(null,VG(this),b.left-k+
this.tq,e+this.xq,k);this.U.item=d;this.U.type=c.type;this.U.index=a.hoveredIndex+this.c.lc();this.W.item=d;this.W.type=c.type;this.W.index=a.hoveredIndex+this.c.lc();f&&(this.W.Jj=f,this.U.Jj=f);m(h)&&(this.W.Qe=h,this.U.Qe=h)}else WG(this).clear(),VG(this).clear()}else this.Vb&&d&&(e=this.Ka.ph?this.W:this.U,k=e.item,l=e.index,3!=c.type&&6!=c.type?(f?(b={item:k,period:e.Jj,index:l,periodIndex:e.Qe},d={item:d,period:f,index:a.hoveredIndex+this.c.lc(),periodIndex:h}):(b={item:k,index:l},d={item:d,
index:a.hoveredIndex+this.c.lc()}),f=a.originalEvent.clientX-ol(this.I().Y()).x,h=c.Pd,f=.5>(f-h.left)/h.width,f=this.Ka.ph?f?"startstart":"startfinish":f?"finishstart":"finishfinish",XG(this).clear(),hH(this,b,d,f,void 0,this.sd)):dH(this,b))}else c==QG(this)||c==SG(this)||c==UG(this)||c==TG(this)||c==WG(this)||c==VG(this)||this.dc?this.Vb&&dH(this,b):YG(this,!0);if(d=gH(this,a))this.g.dispatchEvent(d),this.Qg=c.V;else if(this.Qg){if(a&&a.originalEvent){a={type:"connectormouseout",actualTarget:a.originalEvent.target,
target:this,originalEvent:a.originalEvent};for(var n in this.Qg)a[n]=this.Qg[n];d=a}else d=null;this.g.dispatchEvent(d);this.Qg=null}}};g.Im=function(a){this.va&&(this.o=a.item)};g.Jv=function(a){a&&(a=gH(this,a))&&this.g.dispatchEvent(a)};
g.Lv=function(a){if(this.va&&this.Vb){if(a){var b=a.item,c=a.periodIndex,d=a.originalEvent,e=d.domTarget;if(J(e,YF)&&3!=e.type){var d=d.clientX-ol(this.I().Y()).x,e=e.Pd,f=this.Ka.ph?this.W:this.U,e=.5>(d-e.left)/e.width;d=f.item;e=this.Ka.ph?e?"startstart":"startfinish":e?"finishstart":"finishfinish";f=f.Qe;e=e||"finishstart";J(d,tD)||J(d,vD)||(d=this.c.data().Rj("id",d),d=d.length?d[0]:null);if(d&&(J(b,tD)||J(b,vD)||(b=this.c.data().Rj("id",b),b=b.length?b[0]:null),b)){R(this.c.data());var h,k,
l,n;n=!1;if(this.c.f){var q=d.get("periods")[f],r=b.get("periods")[c];m(q)&&m(r)&&(h=q.connector,k={},k.connectTo=r.id,k.connectorType=e,h?p(h)?h=h.length:(n=$b(h),l={},l.connectTo=q.connectTo,l.connectorType=q.connectorType||"finishstart",bc(l,n),h=1,n=!0):(h=q.connectTo,m(h)?(l={},l.connectTo=h,l.connectorType=q.connectorType||"finishstart",h=1,n=!0):h=0),c={type:"beforeCreateConnector",target:b,source:d,connectorType:e,targetPeriod:r,targetPeriodIndex:c,sourcePeriod:q,sourcePeriodIndex:f},this.g.dispatchEvent(c)&&
(n&&d.set("periods",f,"connector",[l]),d.set("periods",f,"connector",h,k)))}else h=d.get("connector"),k={},k.connectTo=b.get("id"),k.connectorType=e,h?p(h)?h=h.length:(n=$b(h),l={},l.connectTo=d.get("connectTo"),l.connectorType=d.get("connectorType")||"finishstart",bc(l,n),h=1,n=!0):(h=d.get("connectTo"),m(h)?(l={},l.connectTo=h,l.connectorType=d.get("connectorType")||"finishstart",h=1,n=!0):h=0),c={type:"beforeCreateConnector",target:b,source:d,connectorType:e},this.g.dispatchEvent(c)&&(n&&d.set("connector",
[l]),d.set("connector",h,k));this.c.data().X(!0)}}}this.Vb=!1}(a=gH(this,a))&&this.g.dispatchEvent(a);this.Ka=null;this.J=!0};g.Gt=function(a){if(this.dc&&!this.oq&&(this.xb||this.fb)){var b=0,c=0;this.xb&&(b=0=l){var k=.7*d,l=Math.round(a.b.left+a.b.width*l),n=Math.round(c+(d-k)/2);a.Xg().add({value:{x:l,y:n}}).size(k/2).O(h)}}}}}
function eH(a,b,c){var d=a.b.top+a.$c()+1,e=a.c.b,f=a.c.lc(),h=a.c.g,k=a.c.Kd(),h=h[b];b=(b?e[b-1]:0)-((f?e[f-1]:0)+k)+d;d=eF(a.c,h);e=C(h.V("actualStart"))?h.V("actualStart"):h.V("autoStart");f=C(h.V("actualEnd"))?h.V("actualEnd"):h.V("autoEnd");e=a.c.f?h.jd("periods",c,"start"):e;c=a.c.f?h.jd("periods",c,"end"):f;f=0;if(isNaN(c)||e==c)c=e,f=.7*d/2;if(isNaN(c)||isNaN(e))return null;e=YE(a.f,e)*a.b.width+a.b.left-f;c=YE(a.f,c)*a.b.width+a.b.left+f;a.c.f||(h.get("baselineStart")&&h.get("baselineEnd")?
d=a.gd?2.7*d/2:.65*d:h.Ha()&&(d*=1-.7+.4));return new I(e,b,c-e,d)}
function hH(a,b,c,d,e,f){d=d||"finishstart";var h=b.index,k=c.index,l=b.periodIndex,n=c.periodIndex,q=a.c.g,r=q[h],q=q[k],t=eH(a,h,b.periodIndex),u=eH(a,k,c.periodIndex);if(t&&u){c=e&&e.fill?Xd(e.fill):a.Uk;e=e&&e.stroke?de(e.stroke):a.Vk;b=!!f;var w,v,x,y,z;f=f||null;var E=b?f:null,Q,T,P=Iq(e)%2&&tl===ul?.5:0;switch((d+"").toLowerCase()){case "finishfinish":w=Math.round(t.left+t.width)+P;v=Math.round(t.top+t.height/2)+P;x=Math.round(u.left+u.width)+P;y=Math.round(u.top+u.height/2)+P;z="left";t.top==
u.top?(f=pH(a,w,v,x,y,f),w>x&&(z="right")):(t=Math.max(w+9,x+9),f=pH(a,w,v,t,v,f),f=pH(a,t,v,t,y,f),f=pH(a,t,y,x,y,f));E=qH(a,x,y,z,E);break;case "startfinish":w=Math.round(t.left)+P;v=Math.round(t.top+t.height/2)+P;x=Math.round(u.left+u.width)+P;y=Math.round(u.top+u.height/2)+P;z="left";w-5-5-4>x?(t=x+9,f=pH(a,w,v,t,v,f),f=pH(a,t,v,t,y,f),f=pH(a,t,y,x,y,f)):(T=u.top>=t.top,t=w-5,Q=x+9,u=Math.round(T?u.top:u.top+u.height)+P,f=pH(a,w,v,t,v,f),f=pH(a,t,v,t,u,f),f=pH(a,t,u,Q,u,f),f=pH(a,Q,u,Q,y,f),f=
pH(a,Q,y,x,y,f));E=qH(a,x,y,z,E);break;case "startstart":w=Math.round(t.left)+P;v=Math.round(t.top+t.height/2)+P;x=Math.round(u.left)+P;y=Math.round(u.top+u.height/2)+P;z="right";t.top==u.top?(f=pH(a,w,v,x,y,f),w>x&&(z="left")):(t=Math.min(w-4-5,x-4-5),f=pH(a,w,v,t,v,f),f=pH(a,t,v,t,y,f),f=pH(a,t,y,x,y,f));E=qH(a,x,y,z,E);break;default:w=Math.round(t.left+t.width)+P,v=Math.round(t.top+t.height/2)+P,x=Math.round(u.left)+P,x>=w?(x=Math.min(x+5,Math.round(u.left+u.width/2)+P),u.top>t.top?(y=Math.round(u.top)+
P,f=pH(a,w,v,x,v,f),f=pH(a,x,v,x,y,f),E=qH(a,x,y,"bottom",E)):u.topt.top?u.top:u.top+u.height)+P,t=w+5,Q=x-5-4,f=pH(a,w,v,t,v,f),f=pH(a,t,v,t,u,f),f=pH(a,t,u,Q,u,f),f=pH(a,Q,u,Q,y,f),f=pH(a,Q,y,x,y,f),E=qH(a,x,y,"right",E))}d={fromItemIndex:h,toItemIndex:k,
connType:d,fromItem:r,toItem:q};h=!!a.A&&a.A.fromItemIndex==d.fromItemIndex&&a.A.toItemIndex==d.toItemIndex&&a.A.connType==d.connType;a.c.f&&(d.fromPeriodIndex=l,d.toPeriodIndex=n,a.A&&(h&=a.A.fromPeriodIndex==d.fromPeriodIndex&&a.A.toPeriodIndex==d.toPeriodIndex));f&&!b&&(f.stroke(e),f.tag=void 0,f.type=6,f.Pd=null,f.cursor(a.va?"pointer":"default"),d.path=f,f.V=d,f.stroke(h?a.di:e));E&&!b&&(E.fill(c).stroke(e),E.tag=void 0,E.type=6,E.Pd=null,E.cursor(a.va?"pointer":"default"),d.arrow=E,E.V=d,E.stroke(h?
a.di:e))}}function pH(a,b,c,d,e,f){if(f)try{f.lineTo(d,e)}catch(n){f.moveTo(b,c).lineTo(d,e)}else{var h=Math.max(b,d),k=Math.min(c,e),l=Math.max(c,e);Math.min(b,d)a.b.left&&ka.b.top&&(f=mH(a),f.zIndex(60).moveTo(b,c).lineTo(d,e))}return f}
function qH(a,b,c,d,e){var f=e||null;if(b>=a.b.left&&b<=a.b.left+a.b.width&&c>=a.b.top&&c<=a.b.top+a.b.height){var h=0,k=0,l=0,n=0;switch(d){case "left":b+=1;h=b+4;k=c-4;l=h;n=c+4;break;case "top":c+=1;h=b-4;k=c+4;l=b+4;n=k;break;case "right":--b;h=b-4;k=c-4;l=h;n=c+4;break;case "bottom":--c,h=b-4,k=c-4,l=b+4,n=k}e||(f=mH(a));f.zIndex(70).moveTo(b,c).lineTo(h,k).lineTo(l,n).lineTo(b,c)}return f}
function sF(a){var b=a.f.gc(),c=VE(a.f),d=a.c.l,e=a.c.o;R(a.f);var f=a.f,h,k;h=tq(d);k=tq(e);if(f.h!=h||f.g!=k)f.h=h,f.g=k,f.H=NaN,f.j=NaN,f.c=!1,UE(f),f.$(4);a.f.W=d;a.f.U=e;!b||isNaN(d)||isNaN(e)||(d=WE(a.f),aF(a.f,d.min,d.min+Math.round((d.max-d.min)/10)));!b&&(b=c.min,d=c.max-b)&&(c=VE(a.f),b=c.min,aF(a.f,b,b+d));a.f.X(!0)}g.yz=function(){JF(this).zIndex(34);this.Xg().I(HF(this));this.labels().I(HF(this));this.Pk().I(EF(this));sF(this)};
g.zr=function(){this.Pk().pb().set(this.b.left,this.b.top,this.b.width,this.$c());this.Ch=!0};g.yr=function(){PG(this).stroke(this.Cc);XG(this).stroke(this.Pe);QG(this).fill(this.Yk).stroke(this.lp);SG(this).fill(this.rp).stroke(this.up);TG(this).fill(this.Ig).stroke(this.Jg);UG(this).fill(this.Ig).stroke(this.Jg);VG(this).fill(this.Gg).stroke(this.Hg);WG(this).fill(this.Gg).stroke(this.Hg)};
g.ru=function(){this.F(512)&&(this.Ch=this.uc=!0,this.D(512));if(this.Ch){this.Pk().i(64);this.ha.L();var a,b=[];this.ha.Cm().enabled()?a=this.ha.Cm():this.ha.Gm().enabled()?a=this.ha.Gm():this.ha.Rm().enabled()&&(a=this.ha.Rm());a&&(b=a.sj());a=b;if(a.length)for(var b=PG(this).clear(),c=0,d=a.length-1;cE){var T=this.b.left+this.b.width*E,P=.7*u;nH(this,new I(T,t+(u-P)/2,this.b.left+this.b.width*Q-T,P),x,5)}}}oH(this,l,f,n);f=q+this.La}else for(var ka=this.b.top+this.$c()+1-this.c.Kd(),ia=this.c.g,W=this.c.lc();W<=mF(this.c);W++){var D=ia[W];if(!D)break;var va=eF(this.c,D),Ba=ka+va,db=D.get("baselineStart"),Jb=D.get("baselineEnd");if(m(db)&&m(Jb)){var Ja=D,
bd=ka,kd=va,Db=C(Ja.V("actualStart"))?Ja.V("actualStart"):Ja.V("autoStart"),tb=C(Ja.V("actualEnd"))?Ja.V("actualEnd"):Ja.V("autoEnd"),Mg=Ja.V("baselineStart"),af=Ja.V("baselineEnd"),cl=YE(this.f,Db),Sd=YE(this.f,tb),pc=YE(this.f,Mg),Ef=YE(this.f,af);if(0cl||0pc){var Ac=this.b,qc=Ac.left+Ac.width*cl,dh=Ac.left+Ac.width*Sd,Td=bd+kd*(1-.7)/2,Sa=.7*kd/2,Ff=Ac.left+Ac.width*pc,Ud=Ac.left+Ac.width*Ef,sj=Td+Sa;if(this.gd)var gy=Td,Td=sj,sj=gy;var fn=nH(this,new I(qc,Td,dh-qc,Sa),Ja,1,"actual");
nH(this,new I(Ff,sj,Ud-Ff,Sa),Ja,3,"baseline");var dl=1*Sa,hy=Td+(Sa-dl)/2,pd=m(Ja.get("progressValue"))?parseFloat(Ja.get("progressValue"))/100:$o(Ja.V("autoProgress"),2);pd&&(nH(this,new I(qc,hy,pd*(dh-qc),dl),Ja,2,"progress").Pd=fn.Pd)}}else if(D.Ha()){var Vd=D,eh=ka,Cp=va,Wd=C(Vd.V("actualStart"))?Vd.V("actualStart"):Vd.V("autoStart"),gd=C(Vd.V("actualEnd"))?Vd.V("actualEnd"):Vd.V("autoEnd"),Gf=YE(this.f,Wd),bf=YE(this.f,gd);if(0Gf){var oi=this.b.left+this.b.width*Gf,Rs=this.b.left+this.b.width*
bf,gn=eh+Cp*(1-.7)/2,el=.4*Cp,Dp=nH(this,new I(oi,gn,Rs-oi,el),Vd,0,"actual"),hn=1*el,Ep=gn+(el-hn)/2,Fp=m(Vd.get("progressValue"))?parseFloat(Vd.get("progressValue"))/100:$o(Vd.V("autoProgress"),2);Fp&&(nH(this,new I(oi,Ep,Fp*(Rs-oi),hn),Vd,2,"progress").Pd=Dp.Pd)}}else if(CF(D)){var fh=D,rg=ka,Gp=va,fl=fh.get("actualStart"),gh=YE(this.f,fl);if(0<=gh&&1>=gh){var sg=fh.get("milestone"),pi=sg&&m(sg.stroke)?de(sg.stroke):this.Tg,Hp=(Hq(pi)?0:B(pi)?1:pi.thickness?pi.thickness:1)%2&&tl===ul?.5:0,tg=Math.round(.7*
Gp/2),qi=Math.round(this.b.left+this.b.width*gh)+Hp,tj=Math.round(rg+Gp/2)+Hp,Hf=mH(this);Hf.tag=fh.get("id");Hf.type=4;var If=qi-tg,jn=tj-tg,Ip=qi+tg,kn=tj+tg,gl=tg+tg;Hf.zIndex(20).moveTo(If,tj).lineTo(qi,jn).lineTo(Ip,tj).lineTo(qi,kn).close();var uj=new I(If,jn,gl,gl);Hf.Pd=uj;R(this.c.data());fh.V("relBounds",uj);this.c.data().X(!1);var oe=sg?sg.label:void 0,ug=void 0;oe&&m(oe.value)?ug=oe.value+"":ug=fh.get("name")||"";if(ug){var vj=oe&&oe.position?oe.position:this.labels().C("position"),vj=
Km(vj),hh={value:uq(uj,vj)},wj={value:ug},ri=this.labels().add(wj,hh);oe&&ri.O(oe);R(this.c.data());fh.V("labelBounds",this.labels().measure(ri));this.c.data().X(!1)}var xj=fh==this.K;if(sg){var ln;xj?(ln=this.ac,pi=this.ed):ln=m(sg.fill)?Xd(sg.fill):this.Sg;Hf.fill(ln).stroke(pi)}else Hf.fill(xj?this.ac:this.Sg).stroke(xj?this.ed:this.Tg)}}else{var Jf=D,hl=ka,mn=va,Jp=C(Jf.V("actualStart"))?Jf.V("actualStart"):Jf.V("autoStart"),yj=C(Jf.V("actualEnd"))?Jf.V("actualEnd"):Jf.V("autoEnd"),si=YE(this.f,
Jp),nn=YE(this.f,yj);if(0si){var vg=this.b.left+this.b.width*si,on=this.b.left+this.b.width*nn,ti=.7*mn,Ss=hl+(mn-ti)/2,Ts=nH(this,new I(vg,Ss,on-vg,ti),Jf,1,"actual"),pn=1*ti,zL=Ss+(ti-pn)/2,WF=parseFloat(Jf.get("progressValue"));WF&&(nH(this,new I(vg,zL,WF*(on-vg)/100,pn),Jf,2,"progress").Pd=Ts.Pd)}}oH(this,D,ka,va);ka=Ba+this.La}this.labels().L();this.Xg().L();for(var iy=this.c.J,jy=iy.length,qn,AL=this.c.f?this.c.G:this.c.K;jy--;){qn=iy[jy];var rn=qn.to;A(rn)||(rn=AL[rn]);m(rn)?(qn.to=
rn,hH(this,qn.from,rn,qn.type,qn.connSettings)):lb(iy,jy,1)}for(var ky=this.li,BL=this.mi.length;kyc.l||(c.h=Math.min(c.h,a),c.f=a,c.g=Math.max(c.g,b),c.b=b,c.$(4)));else if(this.Vb||this.dc&&this.o||!this.dc)c=this.f,a&&!c.gc()&&(b=WE(c),a=Math.round((c.b-c.f)*a),a=
0<=a?Math.min(b.max-c.b,a):Math.max(b.min-c.f,a),TE(c,c.f+a,c.b+a));au(this,this.f,this.c)};g.scale=function(a){return m(a)?(this.f.O(a),this):this.f};
g.v=function(){var a=OG.u.v.call(this);a.scale=this.f.v();a.labels=this.labels().v();a.markers=this.Xg().v();a.header=this.Pk().v();a.columnStroke=io(this.Cc);a.baselineAbove=this.gd;a.baseFill=io(this.tj);a.baseStroke=io(this.uj);a.baselineFill=io(this.Cj);a.baselineStroke=io(this.Sk);a.milestoneFill=io(this.Sg);a.milestoneStroke=io(this.Tg);a.parentFill=io(this.fq);a.parentStroke=io(this.gq);a.progressFill=io(this.Wm);a.progressStroke=io(this.Xm);a.connectorFill=io(this.Uk);a.connectorStroke=io(this.Vk);
a.selectedElementFill=io(this.ac);a.selectedElementStroke=io(this.ed);a.selectedConnectorStroke=io(this.di);a.connectorPreviewStroke=io(this.Pe);a.editPreviewFill=io(this.Yk);a.editPreviewStroke=io(this.lp);a.editProgressFill=io(this.rp);a.editProgressStroke=io(this.up);a.editIntervalThumbFill=io(this.Ig);a.editIntervalThumbStroke=io(this.Jg);a.editConnectorThumbFill=io(this.Gg);a.editConnectorThumbStroke=io(this.Hg);a.editStartConnectorMarkerType=this.wq;a.editStartConnectorMarkerSize=this.uq;a.editStartConnectorMarkerHorizontalOffset=
this.tq;a.editStartConnectorMarkerVerticalOffset=this.xq;a.editFinishConnectorMarkerType=this.rq;a.editFinishConnectorMarkerSize=this.qq;a.editFinishConnectorMarkerHorizontalOffset=this.pq;a.editFinishConnectorMarkerVerticalOffset=this.sq;a.editIntervalWidth=this.hf;var b,c=[];for(b=0;bh.wm&&(e.__original_id__=c.length,e.__original_parent__=c.length+1,c.push("__original_id__","__original_parent__"));for(f=0;f=h.wm?(u=r[0],w=r[1]):(u=n.id,w=r[2]);for(e=0;e=Math.abs(a-c)&&(c=(b.f+b.b)/2,a=c-3E4,c+=3E4);TE(b,a,c)}return this};g.pE=function(a){var b=this.Wc().f,c;b.gc()?c=!0:(c=WE(b),c=b.f<=c.min);(c=!c)||(b.gc()?c=!0:(c=WE(b),c=b.b>=c.max),c=!c);c&&(c=Math.round((b.b-b.f)*((a||1.25)-1)/2),a=b.f-c,c=b.b+c,WE(b),ab.j?ab.j?TE(b,b.H,b.j):(ab.j&&TE(b,a-(c-b.j),b.j)):TE(b,a,c));return this};
g.qE=function(a,b,c){aF(this.Wc().f,a,b,c);return this};g.jE=function(){var a=this.Wc().f;if(!a.gc()){var b=WE(a);TE(a,b.min,b.max)}return this};
g.SI=function(a){var b=this.J.Rj("id",a);if(b.length){var b=b[0],c=b.V("actualStart"),d=b.V("actualEnd");if(!m(c)||(isNaN(c)||m(d))&&c!=d){if(TE(this.Wc().f,c,d),a=this.c.b,0c.left+c.width,e,f;d.widthb?"inside"==a.position()?0:c:c:c);return c};
g.Is=function(a,b,c,d,e){c=a.top+a.height+c/2-d;var f=this.scale();if(J(f,GB))this.ib.moveTo(a.left+b,c).lineTo(a.left-b+a.width,c).lineTo(a.left-b+a.width,c-e).lineTo(a.left+b,c-e).close();else if(J(f,NB)){d=f.pj();for(var f=f.Ac(),h=a.width/d.length,k=0,l=d.length;kb&&(d=b-(l+h)),"left"==q||"top"==q?r=h:"right"==q||
"bottom"==q?r=b-d-l:"center"==q&&(r=(b-d-l-h)/2)):(d+n+k>b&&(d=b-(n+k)),"left"==q||"top"==q?r=k:"right"==q||"bottom"==q?r=b-d-n:"center"==q&&(r=(b-d-n-k)/2));var t,u;switch(this.wc()){case "top":f=a.top+k;e=a.left+r;u=c;t=d;break;case "right":f=a.top+r;e=a.left+a.width-c-l;u=d;t=c;break;case "bottom":f=a.top+a.height-c-n;e=a.left+r;u=c;t=d;break;case "left":f=a.top+r,e=a.left+h,u=d,t=c}this.uh=new I(Math.round(e),Math.round(f),Math.round(t),Math.round(u))}else this.uh=new I(0,0,0,0);this.D(4)}return this.uh};
g.Vs=function(a){return L(this.Jb,a)};
g.Dx=function(a,b){var c=this.ea(),d=this.Da(),e=this.oi(c),f=this.oi(d),h=CH(this);"outside"==c.position()?"outside"==d.position()?c=Math.max(a+e,b+f):(c="inside"==d.position()?Math.max(a+e,b):Math.max(a+e,b+f),h=Math.max(f,h)):"inside"==c.position()?"outside"==d.position()?(c=Math.max(a,b+f),h=Math.max(e,h)):(c="inside"==d.position()?Math.max(a,b):Math.max(a,b+f),h=Math.max(e,f,h)):"outside"==d.position()?(c=Math.max(a+e,b+f),h=Math.max(e,h)):(c="inside"==d.position()?Math.max(a+e,b):Math.max(a+
e,b+f),h=Math.max(e,f,h));e=this.stroke();return c+h+(Math.round(this.A)+(!e||Hq(e)?0:e.thickness?parseFloat(e.thickness):1))};
function DH(a,b){var c=a.scale(),d=a.f,e=d.Hx()||(d.Rs?d.Rs():void 0),f=a.b&&a.b.enabled(),d=d&&d.enabled()&&e==c;if(a.enabled()&&f&&c&&d&&(c=a.ib.za(),f=nd(a.scale().transform(b,.5),0,1),!isNaN(f))){var h,k,l;switch(a.wc()){case "top":h=c.left+c.width*f;k=c.top+c.height+a.b.size();l=180;break;case "bottom":h=c.left+c.width*f;k=c.top-a.b.size();l=0;break;case "left":h=c.left+c.width+a.b.size();k=c.top+c.height-c.height*f;l=90;break;case "right":h=c.left-a.b.size(),k=c.top+c.height-c.height*f,l=-90}R(a.b).rotation(l).Qb({value:{x:h,
y:k}}).X(!1).L();a.b.xg().visible(!0)}}g.scale=function(a){var b=this.Qf||EH(this);m(a)&&b&&b!=a&&b.ke()!=a.ke()&&(this.ib&&(this.ib.ye(),this.ib.parent(null),this.ib=null),this.j&&(this.j.length=0));return AH.u.scale.call(this,a)||EH(this)};function EH(a){a.Z||(a.Z=IB(),a.Z.Ac("#fff","#000"));return a.Z}
g.L=function(){if(!this.ab())return this;this.F(1024)&&(this.b&&(this.b.I(this.I()),this.b.zIndex(this.zIndex()+1),this.b.L(),this.b.xg().visible(!1)),this.D(1024));this.F(2)&&this.b&&this.b.I(this.I());if(this.F(8)&&this.b){var a=this.zIndex();this.b.zIndex(a+1)}return AH.u.L.call(this)};
g.uJ=function(a){var b=this.scale(),c=this.f,d=c.Hx()||c.Rs();if(this.enabled()&&b&&c&&c.enabled()&&d==b){var d=this.ib.za(),e,f;this.Zd()?(e=a.clientX,f=d.left+ol(this.I().Y()).x,d=(e-f)/d.width):(e=a.clientY,f=d.top+ol(this.I().Y()).y,d=(d.height-(e-f))/d.height);d=b.Ne(d);a.metaKey||a.shiftKey||!c.map||c.map.qf();if(J(b,NB))d=b.ri(d),b&&c&&(e=this.N[d.sourceIndex],b=c.Ke(),b=b.Me(),"single"==b.Yc()?this.rd={jb:c,Fb:e}:this.rd=[{jb:c,Fb:e,tt:e[e.length-1],Tb:{index:e[e.length-1],ae:0}}]);else if(J(b,
GB)){a=$y(c);e=Infinity;for(var h=NaN,k=b.bi(),l=b.Ak();a.advance();){f=a.get(c.Jf?c.Jf.$p:c.yp[1]);f=nd(f,k,l);var n=Math.abs(d-f);e>n&&(e=n,h=f)}e=[];a=$y(c);for(d=h;a.advance();)f=a.get(c.Jf?c.Jf.$p:c.yp[1]),f=nd(f,k,l),f==d&&e.push(a.rb());b&&c&&(b=c.Ke(),b=b.Me(),"single"==b.Yc()?this.rd={jb:c,Fb:e}:this.rd=[{jb:c,Fb:e,tt:e[e.length-1],Tb:{index:e[e.length-1],ae:0}}])}}};
g.vw=function(a){var b=this.scale(),c=this.f,d=c.Hx()||c.Rs();if(this.enabled()&&b&&c&&c.enabled()&&d==b){var d=this.ib.za(),e,f;this.Zd()?(e=a.clientX,f=d.left+ol(this.I().Y()).x,d=(e-f)/d.width):(e=a.clientY,f=d.top+ol(this.I().Y()).y,d=(d.height-(e-f))/d.height);var h,d=b.Ne(d);if(J(b,NB))a=b.ri(d),h=this.N[a.sourceIndex],b=c.Ke(),f=b.Me(),"single"==f.Yc()?this.rd={jb:c,Fb:h}:this.rd=[{jb:c,Fb:h,tt:h[h.length-1],Tb:{index:h[h.length-1],ae:0}}];else if(J(b,GB)&&c){f=$y(c);h=Infinity;for(var k=NaN,
l=b.bi(),n=b.Ak();f.advance();){e=f.get(c.Jf?c.Jf.$p:c.yp[1]);e=nd(e,l,n);var q=Math.abs(d-e);h>q&&(h=q,k=e)}h=[];f=$y(c);for(d=k;f.advance();)e=f.get(c.Jf?c.Jf.$p:c.yp[1]),e=nd(e,l,n),e==d&&h.push(f.rb());b&&c&&(b=c.Ke(),f=b.Me(),"single"==f.Yc()?(this.rd&&!eb(h,function(a){return ib(this.rd.Fb,a)},this)&&b.dispatchEvent(kz(b,"hovered",a,[{jb:c,Fb:[],Tb:{index:this.rd.Fb[this.rd.Fb.length-1],ae:0}}],!1)),this.rd={jb:c,Fb:h}):this.rd=[{jb:c,Fb:h,tt:h[h.length-1],Tb:{index:h[h.length-1],ae:0}}])}DH(this,
d)}};g.HF=function(){this.scale()&&this.b&&this.b.xg().visible(!1);var a=this.f;a&&(this.K=a)};g.remove=function(){AH.u.remove.call(this);this.b&&this.b.remove()};g.v=function(){var a=AH.u.v.call(this);a.marker=this.At().v();a.colorLineSize=this.wo();a.length=this.length();a.align=this.Kn();return a};g.M=function(a,b){AH.u.M.call(this,a,b);this.At(a.marker);this.wo(a.colorLineSize);this.length(a.length);this.Kn(a.align)};var FH=AH.prototype;FH.marker=FH.At;FH.colorLineSize=FH.wo;FH.length=FH.length;
FH.align=FH.Kn;function GH(){hd.call(this);this.R=this.J=this.s=null}G(GH,Wt);g=GH.prototype;g.ca=Wt.prototype.ca|28672;g.da=Wt.prototype.da;g.parent=function(a){return m(a)?(this.R=a,this):this.R};g.color=function(a,b,c,d,e,f,h){if(m(a)){var k=Xd.apply(null,arguments);k!=this.G&&(this.G=k,this.$(8192));return this}return this.G||(this.R?this.R.color():"none")};
g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=la(a)?a:Xd.apply(null,arguments);k!=this.h&&(this.h=k,this.$(8192));return this}return this.h||(this.R?this.R.fill():"none")};g.rk=function(a,b,c,d,e,f,h){if(m(a)){var k=la(a)?a:Xd.apply(null,arguments);k!=this.B&&(this.B=k,this.$(8192));return this}return this.B||(this.R?this.R.rk():"none")};g.fl=function(a,b,c,d,e,f,h){if(m(a)){var k=la(a)?a:Xd.apply(null,arguments);k!=this.K&&(this.K=k,this.$(8192));return this}return this.K||(this.R?this.R.fl():"none")};
function HH(a,b,c){var d;switch(b){case 1:d=a.rk();break;case 2:d=a.fl();break;default:d=a.fill()}b=d;la(d)&&(c.sourceColor=a.color(),b=d.call(c));return b}g.stroke=function(a,b,c,d,e){if(m(a)){var f=la(a)?a:de.apply(null,arguments);f!=this.A&&(this.A=f,this.$(8192));return this}return this.A||(this.R?this.R.stroke():"none")};g.tk=function(a,b,c,d,e){if(m(a)){var f=la(a)?a:de.apply(null,arguments);f!=this.o&&(this.o=f,this.$(8192));return this}return this.o||(this.R?this.R.tk():"none")};
g.Tj=function(a,b,c,d,e){if(m(a)){var f=la(a)?a:de.apply(null,arguments);f!=this.N&&(this.N=f,this.$(8192));return this}return this.N||(this.R?this.R.Tj():"none")};function IH(a,b,c){var d;switch(b){case 1:d=a.tk();break;case 2:d=a.Tj();break;default:d=a.stroke()}b=d;la(d)&&(c.sourceColor=a.color(),b=d.call(c));return b}g.labels=function(a){this.ia||(this.ia=new iz,O(this.ia,this.Tk,this),H(this,this.ia));return m(a)?(!A(a)||"enabled"in a||(a.enabled=!0),this.ia.O(a),this):this.ia};
g.ng=function(a){this.f||(this.f=new iz,O(this.f,this.Tk,this),H(this,this.f));return m(a)?(!A(a)||"enabled"in a||(a.enabled=!0),this.f.O(a),this):this.f};g.sk=function(a){this.b||(this.b=new iz,O(this.b,this.Tk,this),H(this,this.b));return m(a)?(!A(a)||"enabled"in a||(a.enabled=!0),this.b.O(a),this):this.b};g.Tk=function(){this.$(4096)};g.Ea=function(a){this.s||(this.s=new Mx(0),H(this,this.s),O(this.s,this.hF,this));return m(a)?(this.s.O(a),this):this.s};g.hF=function(){this.$(16384)};
function JH(a){var b=a.Ea().v(),c=a.Ea().C("titleFormat");a=a.Ea().C("format");c&&c!=Jq&&(b.titleFormat=c);a&&a!=Jq&&(b.format=a);return b}g.Ej=function(a){return m(a)?(this.J!=a&&(this.J=a,this.labels().I(this.J)),this):this.J};g.mg=function(){this.labels().L();return this};g.vo=function(){this.labels().clear();return this};
g.v=function(){var a=GH.u.v.call(this);m(this.G)&&(a.color=io(this.G));la(this.fill)&&(la(this.fill())?Nn(8,null,["Pert element fill"]):this.h&&(a.fill=io(this.h)));la(this.hoverFill)&&(la(this.rk())?Nn(8,null,["Pert element hoverFill"]):this.B&&(a.hoverFill=io(this.B)));la(this.selectFill)&&(la(this.fl())?Nn(8,null,["Pert element selectFill"]):this.K&&(a.selectFill=io(this.K)));la(this.stroke)&&(la(this.stroke())?Nn(8,null,["Pert element stroke"]):this.A&&(a.stroke=io(this.A)));la(this.hoverStroke)&&
(la(this.tk())?Nn(8,null,["Pert element hoverStroke"]):this.o&&(a.hoverStroke=io(this.o)));la(this.selectStroke)&&(la(this.Tj())?Nn(8,null,["Pert element selectStroke"]):this.N&&(a.selectStroke=io(this.N)));a.labels=this.labels().v();a.selectLabels=Cz(this.ng());a.hoverLabels=Cz(this.sk());null===a.hoverLabels.enabled&&delete a.hoverLabels.enabled;null===a.selectLabels.enabled&&delete a.selectLabels.enabled;a.tooltip=this.Ea().v();return a};
g.M=function(a,b){GH.u.M.call(this,a,b);this.color(a.color);this.fill(a.fill);this.rk(a.hoverFill);this.fl(a.selectFill);this.stroke(a.stroke);this.tk(a.hoverStroke);this.Tj(a.selectStroke);this.labels().Pa(!!b,a.labels);this.sk().Pa(!!b,a.hoverLabels);this.ng().Pa(!!b,a.selectLabels);"tooltip"in a&&this.Ea().Pa(!!b,a.tooltip)};function KH(){GH.call(this)}G(KH,GH);g=KH.prototype;g.ca=GH.prototype.ca|1;g.size=function(a){return m(a)?(a=pq(a,80),this.g!=a&&(this.g=a,this.$(1)),this):m(this.g)?this.g:this.parent()?this.parent().size():80};g.shape=function(a){return m(a)?(a=Gn(a),this.c!=a&&(this.c=a,this.$(1)),this):m(this.c)?this.c:this.parent()?this.parent().shape():"circle"};g.v=function(){var a=KH.u.v.call(this);m(this.c)&&(a.shape=this.c);m(this.g)&&(a.size=this.g);return a};
g.M=function(a,b){KH.u.M.call(this,a,b);this.shape(a.shape);this.size(a.size)};var LH=KH.prototype;LH.color=LH.color;LH.fill=LH.fill;LH.hoverFill=LH.rk;LH.selectFill=LH.fl;LH.stroke=LH.stroke;LH.hoverStroke=LH.tk;LH.selectStroke=LH.Tj;LH.labels=LH.labels;LH.selectLabels=LH.ng;LH.hoverLabels=LH.sk;LH.tooltip=LH.Ea;LH.shape=LH.shape;LH.size=LH.size;function MH(){GH.call(this)}G(MH,GH);g=MH.prototype;g.ca=GH.prototype.ca;g.km=function(a,b,c,d,e,f,h){if(m(a)){var k=la(a)?a:Xd.apply(null,arguments);k!=this.c&&(this.c=k,this.$(8192));return this}return m(this.c)?this.c:this.parent()?this.parent().km():"none"};g.lm=function(a,b,c,d,e){if(m(a)){var f=la(a)?a:de.apply(null,arguments);f!=this.g&&(this.g=f,this.$(8192));return this}return m(this.g)?this.g:this.parent()?this.parent().lm():"none"};
function NH(a,b){var c,d=a.lm();c=d;la(d)&&(b.sourceColor=a.color(),c=d.call(b));return c}g.Oe=function(a){this.H||(this.H=new iz,O(this.H,this.Tk,this),H(this,this.H));return m(a)?(!A(a)||"enabled"in a||(a.enabled=!0),this.H.O(a),this):this.H};g.wh=function(a){this.l||(this.l=new iz,O(this.l,this.Tk,this),H(this,this.l));return m(a)?(!A(a)||"enabled"in a||(a.enabled=!0),this.l.O(a),this):this.l};
g.vm=function(a){this.j||(this.j=new iz,O(this.j,this.Tk,this),H(this,this.j));return m(a)?(!A(a)||"enabled"in a||(a.enabled=!0),this.j.O(a),this):this.j};g.Ah=function(a){return this.labels(a)};g.Ci=function(a){return this.ng(a)};g.Yo=function(a){return this.sk(a)};g.Ej=function(a){MH.u.Ej.call(this,a);(a=MH.u.Ej.call(this))&&this.Oe().I(a);return a};g.mg=function(){this.Oe().L();return MH.u.mg.call(this)};g.vo=function(){this.Oe().clear();return MH.u.vo.call(this)};
g.v=function(){var a=MH.u.v.call(this);a.upperLabels=$b(a.labels);delete a.labels;a.selectUpperLabels=$b(a.selectLabels);delete a.selectLabels;a.hoverUpperLabels=$b(a.hoverLabels);delete a.hoverLabels;la(this.km())?Nn(8,null,["Pert element dummy fill"]):this.c&&(a.dummyFill=io(this.c));la(this.lm())?Nn(8,null,["Pert element dummy stroke"]):this.g&&(a.dummyStroke=io(this.g));a.lowerLabels=this.Oe().v();a.hoverLowerLabels=this.vm().v();a.selectLowerLabels=this.wh().v();return a};
g.M=function(a,b){MH.u.M.call(this,a,b);this.Ah(a.upperLabels);this.Ci(a.selectUpperLabels);this.Yo(a.hoverUpperLabels);this.Oe(a.lowerLabels);this.vm(a.hoverLowerLabels);this.wh(a.selectLowerLabels);this.km(a.dummyFill);this.lm(a.dummyStroke)};var OH=MH.prototype;OH.color=OH.color;OH.fill=OH.fill;OH.hoverFill=OH.rk;OH.selectFill=OH.fl;OH.stroke=OH.stroke;OH.hoverStroke=OH.tk;OH.selectStroke=OH.Tj;OH.dummyFill=OH.km;OH.dummyStroke=OH.lm;OH.upperLabels=OH.Ah;OH.selectUpperLabels=OH.Ci;
OH.hoverUpperLabels=OH.Yo;OH.tooltip=OH.Ea;OH.lowerLabels=OH.Oe;OH.hoverLowerLabels=OH.vm;OH.selectLowerLabels=OH.wh;function PH(){hd.call(this);this.c=this.b=null}G(PH,Wt);g=PH.prototype;g.ca=Wt.prototype.ca|12289;g.Oa=function(a){this.b||(this.b=new KH);return m(a)?(this.b.O(a),this):this.b};g.Ia=function(a){this.c||(this.c=new MH);return m(a)?(this.c.O(a),this):this.c};g.v=function(){var a=PH.u.v.call(this);a.tasks=this.Ia().v();a.milestones=this.Oa().v();return a};g.M=function(a,b){PH.u.M.call(this,a,b);"milestones"in a&&this.Oa().M(a.milestones);"tasks"in a&&this.Ia().M(a.tasks)};var QH=PH.prototype;
QH.tasks=QH.Ia;QH.milestones=QH.Oa;function RH(){QB.call(this);this.o=null;this.f={};this.g={};this.c=[];this.$b=[];this.fb=[];this.Wd=da;this.va=this.Z=this.j=null;this.fa=[];this.A={};this.bb=this.Cc=this.rc=this.La=this.K=this.ac=this.fc=this.ha=this.tb=null;this.W=[];this.N=[];this.J={};this.he=[];this.Jd=this.Zb=0;this.Ec=[];this.sd=20;this.gd=80;this.s=this.Id=null;qu(this,this,this.Ti,this.jn,this.bI,this.Ti,null,this.Wq)}G(RH,QB);g=RH.prototype;g.ca=QB.prototype.ca;g.da=QB.prototype.da|61440;g.wf=function(){return"pert"};
function SH(a,b,c,d,e){if(!a.j||b)a.j=new Kx;b={};var f=null;if(c){b.item={value:c.item,type:""};f=c.item;b.name={value:c.item.get("name"),type:"string"};var h=c.item.get("pessimistic");m(h)&&(b.pessimistic={value:+h,type:"number"});h=c.item.get("optimistic");m(h)&&(b.optimistic={value:+h,type:"number"});h=c.item.get("mostLikely");m(h)&&(b.mostLikely={value:+h,type:"number"});h=c.item.get("duration");m(h)&&(b.duration={value:+h,type:"number"});b.successors={value:c.bc,type:""};b.predecessors={value:c.Fc,
type:""};b.isCritical={value:c.Za,type:"string"}}d&&(b.earliestStart={value:d.Js,type:"number"},b.earliestFinish={value:d.kj,type:"number"},b.latestStart={value:d.cp,type:"number"},b.latestFinish={value:d.ut,type:"number"},m(b.duration)||(b.duration={value:d.duration,type:"number"}),b.slack={value:d.Mp,type:"number"},b.variance={value:d.Fu,type:"number"});e&&(b.successors={value:e.bc,type:""},b.predecessors={value:e.Fc,type:""},b.isCritical={value:e.Za,type:"string"},e.dm&&(b.creator={value:e.dm.item,
type:""}),b.isStart={value:e.ph,type:"string"},b.index={value:e.index,type:"number"});a.j.Zf([a]).ug(f);return Vw(a.j,b)}g.$x=function(){var a=new Mx(0);H(this,a);a.Nd(this);O(a,this.rE,this);return a};g.rE=function(){this.Ea().L()};function TH(a,b,c){var d=a.Ea(),e=!0;ja(a.Id.enabled)&&(e=a.Id.enabled);d.O(a.Id);b&&ja(b.enabled)&&(e=b.enabled);d.O(b);c&&ja(c.enabled)&&(e=c.enabled);d.O(c);d.enabled(e)}
g.data=function(a,b,c){return m(a)?(J(a,yD)||J(a,sD)?this.o!=a&&(this.o&&Xt(this.o,this.Uq,this),this.o=a):(this.o&&Xt(this.o,this.Uq,this),this.o=new yD(a,b,c)),O(this.o,this.Uq,this),this.i(4096,1),this):this.o};g.xA=function(){this.pb().hi()&&this.i(-6145,9)};g.Uq=function(){this.i(4096,1)};g.ws=function(){return[]};g.De=function(){return[]};
g.Ti=function(a){var b=a.domTarget,c,d,e,f=this.Ea(),h;h=b.tag;var k;c=!0;if(h)if(null!=h.m){if(e=h.m,h=SH(this,!0,void 0,void 0,e),d=e.Za?this.Ra().Oa():this.Oa(),k=e.sb?2:1,c=HH(d,k,h),d=IH(d,k,h),b.fill(c).stroke(d),c=!1,b=e.Za?JH(this.Ra().Oa()):void 0,R(f),TH(this,JH(this.Oa()),b),ny(f,a.clientX,a.clientY,h),f.X(!0),a=e.Tt)b=!0,f=this.Oa().labels(),a.Sa(Az(f)),b=UH(f,b),f=e.sb?this.Oa().ng():this.Oa().sk(),a.Sa(Az(f)),b=UH(f,b),e.Za&&(f=this.Ra().Oa().labels(),a.Sa(Az(f)),b=UH(f,b),f=e.sb?this.Ra().Oa().ng():
this.Ra().Oa().sk(),a.Sa(Az(f)),b=UH(f,b)),a.enabled(b),a.L()}else null!=h.w&&(e=h.w,b=this.g[e.id],h=SH(this,!0,e,b,void 0),k=e.sb?2:1,d=e.Za?this.Ra().Ia():this.Ia(),c=HH(d,k,h),d=IH(d,k,h),e.Ut.stroke(d),e.sx.fill(c).stroke(d),d=e.Eu,c=e.xt,d&&(b=!0,k=this.Ia().Ah(),d.Sa(Az(k)),b=UH(k,b),k=e.sb?this.Ia().Ci():this.Ia().Yo(),d.Sa(Az(k)),b=UH(k,b),e.Za&&(k=this.Ra().Ia().Ah(),d.Sa(Az(k)),b=UH(k,b),k=e.sb?this.Ra().Ia().Ci():this.Ra().Ia().Yo(),d.Sa(Az(k)),b=UH(k,b)),d.enabled(b),d.L()),c&&(b=!0,
d=this.Ia().Oe(),c.Sa(Az(d)),b=UH(d,b),d=e.sb?this.Ia().wh():this.Ia().vm(),c.Sa(Az(d)),b=UH(d,b),e.Za&&(d=this.Ra().Ia().Oe(),c.Sa(Az(d)),b=UH(d,b),d=e.sb?this.Ra().Ia().wh():this.Ra().Ia().vm(),c.Sa(Az(d)),b=UH(d,b)),c.enabled(b),c.L()),c=!1,b=e.Za?JH(this.Ra().Ia()):void 0,R(f),TH(this,JH(this.Ia()),b),ny(f,a.clientX,a.clientY,h),f.X(!0));c&&this.Ea().Mc()};
g.jn=function(a){var b=a.domTarget,c,d,e;if(a=b.tag)if(null!=a.m){var f=a.m;a=f.Za?this.Ra().Oa():this.Oa();d=SH(this,!0,void 0,void 0,f);e=f.sb?2:0;c=HH(a,e,d);d=IH(a,e,d);if(e=f.Tt){a=!0;var h=this.Oa().labels();e.Sa(Az(h));a=UH(h,a);f.sb&&(h=this.Oa().ng(),e.Sa(Az(h)),a=UH(h,a));f.Za&&(h=this.Ra().Oa().labels(),e.Sa(Az(h)),a=UH(h,a),f.sb&&(f=this.Ra().Oa().ng(),e.Sa(Az(f)),a=UH(f,a)));e.enabled(a);e.L()}b.fill(c).stroke(d)}else null!=a.w&&(b=a.w,d=SH(this,!0,b,this.g[b.id],void 0),e=b.sb?2:0,a=
b.Za?this.Ra().Ia():this.Ia(),c=HH(a,e,d),d=IH(a,e,d),b.Ut.stroke(d),b.sx.fill(c).stroke(d),f=b.Eu,c=b.xt,f&&(a=!0,d=this.Ia().Ah(),f.Sa(Az(d)),a=UH(d,a),b.sb&&(d=this.Ia().Ci(),f.Sa(Az(d)),a=UH(d,a)),b.Za&&(d=this.Ra().Ia().Ah(),f.Sa(Az(d)),a=UH(d,a),b.sb&&(d=this.Ra().Ia().Ci(),f.Sa(Az(d)),a=UH(d,a))),f.enabled(a),f.L()),c&&(a=!0,f=this.Ia().Oe(),c.Sa(Az(f)),a=UH(f,a),b.sb&&(f=this.Ia().wh(),c.Sa(Az(f)),a=UH(f,a)),b.Za&&(f=this.Ra().Ia().Oe(),c.Sa(Az(f)),a=UH(f,a),b.sb&&(b=this.Ra().Ia().wh(),c.Sa(Az(b)),
a=UH(b,a))),c.enabled(a),c.L()))};
g.bI=function(a){var b=a.metaKey||a.ctrlKey,c,d,e=a.domTarget,f=e.tag;J(a.target,iz)&&(f=a.target.te(a.labelIndex).tag);if(J(e,hg)){f&&(null!=f.m?c=f.m:null!=f.w&&(d=f.w));if(c||d)if(b)c&&(c.sb=!c.sb,c.sb?jb(this.N,c):mb(this.N,c)),d&&(d.sb=!d.sb,d.sb?jb(this.W,d):mb(this.W,d));else{for(a=0;aQ.bf.length&&!Q.Fc.length){ka=String(Q.bc[0].get("id"));ia=this.f[ka];var Ja=ia.yd;for(E=0;ET.qd.length&&!T.bc.length){W=String(T.Fc[0].get("id"));D=this.f[W];var Db=D.ze;for(E=0;EFf&&
(Td.length=Ff);Td.push(Sa);Sa==this.Z&&this.he.push(Td.slice(0));var Ud,sj;for(Ud=Sa.bc.length;Ud--;){var gy=String(Sa.bc[Ud].get("id")),fn=this.f[gy].yd;sj=Ff+1;fn.level=Math.max(sj,fn.level);this.Zb=Math.max(fn.level,this.Zb);dh.push(fn)}for(Ud=Sa.qd.length;Ud--;){var dl=Sa.qd[Ud];sj=Ff+1;dl.level=Math.max(sj,dl.level);this.Zb=Math.max(dl.level,this.Zb);dh.push(dl)}}for(var hy in this.J){var pd=this.J[hy];if(!pd.oh){var Vd=pd.from,eh=pd.yb,Cp=eh.level-Vd.level;if(1gn&&(gn=0);lb(eh.Rd,gn,1,Gf);delete this.J[pd.id]}}}this.Ec.length=0;this.va.zd=this.Z.zd=!0;for(var el=!1,Dp=$H(this,el),hn=[[this.va,this.Z]],Ep;Ep=aI(Dp,hn);){var Fp=hn,fh=Ep[1],rg,Gp=Dp[Ep[0]],fl=null,gh=void 0;for(gh in Gp.Rd)rg=Gp.Rd[gh].from,rg.zd&&(!fl||fl.level>rg.level)&&(fl=rg);var sg=[fl];for(rg=fl;rg;){for(var pi=rg.Rd,Hp=null,gh=0;gh<
pi.length;gh++){var tg=pi[gh];if(tg.from==rg&&!tg.zd){tg.zd=!0;var qi=tg.yb;sg.push(qi);qi.zd||(qi.zd=!0,Hp=qi);break}}rg=Hp}var tj,Hf=Fp[fh],If=sg,jn=Hf.indexOf(If[0]),Ip=Hf.indexOf(If[If.length-1]),kn=void 0,gl=void 0,uj=void 0;jnq.indexOf(t)){r=!1;break}}if(r&&(l++,0>n&&(n=d),l>=h))break}if(!l)throw"non planar!";l=this.Jd?a.width:a.height;d=L(this.Ra().Oa().size(),q);f=L(this.Oa().size(),q);var r=Math.max(f,d);f=a.left+r/2;for(d=0;d=u&&a.nk()||1<=u&&a.Oh()?
k=x:0u&&(k=x)),x++;t<=Q&&e=u&&a.nk()||1<=u&&a.Oh()?(l=f,d.push(!0)):0u?(l=f,d.push(!0)):d.push(!1))):d.push(!1),f++)}T||(d=!1)}else if(J(b,wA))for(e=
0;ec?(q-=k/2,r-=n/2):90==c?r-=n/2:90c?(r-=n/2,q+=k/2):180==c?q+=k/2:180c?(r+=n/2,q+=k/2):270==c?r+=n/2:270c?q-=k/2:45==c?(q-=k/2,r-=n/2):45c?r-=n/2:90==c?r-=n/2:90c?r-=n/2:135==c?(r-=n/2,q+=k/2):135c?q+=k/2:180==c?q+=k/2:180c?q+=k/2:225==c?(r+=n/2,q+=k/2):225c?r+=n/2:270==c?r+=n/2:270c?r+=n/2:315==c?(r+=n/2,q-=k/2):315y?(y=~y,Ba=f,va=a.yl):(Ba=e,va=a.jk);b=va[y];y=Ba.te(y);r=y.Qb();P=r.value.angle;ia=rd(P);z=ip(ia,1);ia=jp(ia,1);tb&&(x=rb(b,0),gp(x,z,ia,a.Fa,a.Ga),x=lp(x),c=Db-(Db-hp(0,0,x.width,x.height))/2);z*=c;ia*=c;for(x=0;xJa[0]?
NaN:0,z=isNaN(tb)?null:rI(a,tb),c=rI(a,Ja[0]),d=1;dr)Ba=f,y=~r,h=dp(ia,c)||dp(ia,rI(a,Db[Db.length-1]));else if(Ba=e,y=r,h=!isNaN(tb)&&(dp(ia,z)||dp(ia,rI(a,Db[tb]))),!h){for(x=Db.length;x--;)if(k=Db[x],0>k&&dp(ia,rI(a,Db[x])))f.te(~k).enabled(!1),Db.pop();else break;for(x=0;xk&&dp(ia,rI(a,Db[x])))f.te(~k).enabled(!1);else break;0a?hh&&(l=(k-h)/b));0a?(a=e.top+e.height,f>a&&(l=Math.max(l,(f-a)/c))):db?(b=~b,c=a.yl,d=a.labels()):(c=a.jk,d=a.Ma());return c[b]?c[b]:c[b]=d.Wk(d.te(b))}
g.ab=function(){if(Yt(this))return!1;if(!this.enabled())return this.F(1)&&(this.remove(),this.D(1),this.ea().i(2),this.labels().i(2),this.i(386)),!1;this.D(1);return!0};
g.L=function(){if(!this.scale())return Kn(2),this;if(!this.ab())return this;pI(this);R(this.labels());R(this.Ma());R(this.ea());R(this.Da());this.F(16)&&(this.Fe.stroke(this.c),this.Fe.fill("none"),this.Fe.clear(),this.Fe.moveTo(this.Fa+this.Aa,this.Ga),this.Fe.md(this.Fa,this.Ga,this.Aa,this.Aa,0,360),this.$d.stroke("none"),this.$d.fill(this.h),this.$d.clear(),this.$d.moveTo(this.Fa+this.Aa,this.Ga),this.$d.md(this.Fa,this.Ga,this.Aa,this.Aa,0,360),this.$d.moveTo(this.Fa+this.f,this.Ga),this.$d.md(this.Fa,
this.Ga,this.f,this.f,0,-360),this.D(16));if(this.F(8)){var a=this.zIndex();this.$d.zIndex(a);this.Fe.zIndex(a);this.ea().zIndex(a);this.Da().zIndex(a);this.labels().zIndex(a);this.Ma().zIndex(a);this.D(8)}a=this.I();this.F(2)&&(this.$d.parent(a),this.Fe.parent(a),this.ea().I(a),this.labels().I(a),this.Da().I(a),this.Ma().I(a),this.D(2));if(this.F(256)){var b=J(this.scale(),wA),a=ie(this.c),c=this.ea();c.L();var d=ie(c.stroke()),e=c.length();oq(e)&&(e=b?L(e,this.f-this.Aa):parseFloat(e));for(b=0;b<
this.g.length;b++)sI(this,c,this.g[b],a,d,e);c=this.Da();c.L();d=ie(c.stroke());e=c.length();oq(e)&&(e=parseFloat(e));for(b=0;bq)q=P,w=e,z=l;if(isNaN(r)||ka>r)r=ka,v=e,E=l}h=f=e=c=0;d=Math.round(d);n=Math.round(n);q=Math.round(q);
r=Math.round(r);dx?Math.sin((x-90)*Math.PI/180):Math.cos((x-180)*Math.PI/180),c=Math.round((b.ta()-d)/x));ny?Math.sin((y-180)*Math.PI/180):Math.cos((y-270)*Math.PI/180),e=Math.round((b.xa()-n)/x));q>b.qa()&&(x=360>z?Math.sin((z-270)*Math.PI/180):Math.cos(z*Math.PI/180),f=Math.round((q-b.qa())/x));r>b.ma()&&(x=90>E?Math.sin(E*Math.PI/180):Math.cos((E-90)*Math.PI/180),h=Math.round((r-b.ma())/x));d=Math.max(c,e,f,h);if(0a.Aa){n=a.Aa=0;if(a.labels().enabled()){var n=
NaN,ia;d==c?(n=t,ia=!0):d==e?(n=u,ia=!1):d==f?(n=w,ia=!0):d==h&&(n=v,ia=!1);t=GI(a,n);n=ia?t.width:t.height}Q=a.Yb.stroke().thickness?a.Yb.stroke().thickness:1;a.lk=Math.min(b.width,b.height)/2-n-Q}EI(a)}}b=a.Aa+d;ia=2*b;a.ja=new tu(a.Fa-b,a.Ga-b,ia,ia)}else a.ja=new tu(a.Fa-a.Aa,a.Ga-a.Aa,2*a.Aa,2*a.Aa)}else a.ja=new tu(0,0,0,0);a.D(4)}}
g.Sb=function(){var a=this.aa();return a?this.enabled()?(FI(this),a=this.Yb.stroke().thickness?this.Yb.stroke().thickness:1,a=Math.floor(a/2),new I(this.Fa-this.Aa+a,this.Ga-this.Aa+a,2*(this.Aa-a),2*(this.Aa-a))):a:new I(0,0,0,0)};function HI(a,b){var c=b.width,d=b.height,e={x:0,y:0};a?0a?(e.x+=c/2,e.y+=d/2):90==a?e.y+=d/2:90a?(e.y+=d/2,e.x-=c/2):180==a?e.x-=c/2:180a?(e.y-=d/2,e.x-=c/2):270==a?e.y-=d/2:270c.Hi){var f=gJ(a,c,d),h=Iz(a.ia,a.ia.C("format"),f,++a.A);if(a.b){if(a.b.text==h)return;hJ(a,b)}a.b={index:a.A,text:h,start:b,QK:f,KN:c,UN:d,top:e}}else hJ(a,b)}function hJ(a,b){a.b&&(a.b.end=b,a.s.push(a.b),a.b=null)}
function iJ(a,b){var c=b.start,d=b.end,e=a.C("stroke"),f=a.c.oc(),h=ie(e),k=ie(a.c.Pv().C("verticalStroke")),l=k/2+h/2,c=nd(Eq(f.Ie(c)+a.G.left,k)+l,a.G.left,a.G.qa()),d=nd(Eq(f.Ie(d)+a.G.left,k)-l,a.G.left,a.G.qa()),f=Eq(b.top+h/2,h),k=Eq(b.top+a.C("height")-h/2,h),l=pE(a.f);l.lf(c).mf(f).kf(d-c).jf(k-f).fill(a.C("fill")).stroke(e);if(e=a.C("hatchFill"))l=pE(a.f),l.lf(c+h/2).mf(f+h/2).kf(d-c-h).jf(k-f-h).fill(e).stroke(null);h=b.index;e=b.QK;c=new I(c,f,d-c,k-f);d=a.labels();e?(f=d.te(h),k={value:{x:c.left,
y:c.top}},f?(Ez(f,e),f.Qb(k)):f=d.add(e,k,h),Jz(f),f.Sa(void 0),f.width(c.width),f.height(c.height),f.clip(c),f.L()):d.clear(h)}
g.L=function(){if(this.ab()){this.F(4)&&(this.G=this.aa(),this.h.shape(this.G),this.D(4));if(this.F(128)){for(var a=0;ah?u.bq=NaN:(u.bq=a.sA.length,a.sA.push(r),xJ(this,k,u,Uy(this.c.state,a.Uo),n,q))}return a};
function yJ(a,b,c,d,e){if(b=a.b[b])for(var f=0;f