/**
* AnyStock - JavaScript HTML5 Web Financial Charts
* Production Build
* Version: 7.13.0.1316
* http://anychart.com/products/anystock/
*/
(function(global,factory){if(typeof module==='object'&&typeof module.exports==='object'){module.exports=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;};}else{factory.call(global,window,document)}})(typeof window!=='undefined'?window:this,function(window,document){var f,aa="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(c.get||c.set)throw new TypeError("ES3 does not support getters and setters.");a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},ca="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;
function da(a,b){if(b){for(var c=ca,d=a.split("."),e=0;ea||1342177279>>=1)b+=b;return d}});
da("Array.prototype.fill",function(a){return a?a:function(a,c,d){var b=this.length||0;0>c&&(c=Math.max(0,b+c));if(null==d||d>b)d=b;d=Number(d);0>d&&(d=Math.max(0,b+d));for(c=Number(c||0);c>>0),xa=0;function ya(a,b,c){return a.call.apply(a.bind,arguments)}function za(a,b,c){if(!a)throw Error();if(2":"
")}
function La(a){if(!Ma.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(Na,"&"));-1!=a.indexOf("<")&&(a=a.replace(Oa,"<"));-1!=a.indexOf(">")&&(a=a.replace(Qa,">"));-1!=a.indexOf('"')&&(a=a.replace(Ra,"""));-1!=a.indexOf("'")&&(a=a.replace(Sa,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(Ta,""));return a}
var Na=/&/g,Oa=//g,Ra=/"/g,Sa=/'/g,Ta=/\x00/g,Ma=/[\x00&<>"']/,Ua={"\x00":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\x0B",'"':'\\"',"\\":"\\\\","<":"<"},Va={"'":"\\'"};
function Wa(a){for(var b=[],c=0;ch)g=e;else{if(256>h){if(g="\\x",16>h||256h&&(g+="0");g+=h.toString(16).toUpperCase()}e=Va[e]=g}b[d]=e}return b.join("")}function Xa(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#b?1:0}function bb(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})}
function cb(a){var b=B(void 0)?Xa(void 0):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(a,b,e){return b+e.toUpperCase()})}function db(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(;cc?null:B(a)?a.charAt(c):a[c]}
function pb(a,b,c){for(var d=a.length,e=B(a)?a.split(""):a,g=0;g=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}
function yb(a){for(var b={},c=0,d=0;d>1,n;c?n=b.call(e,a[l],l,a):n=b(d,a[l]);0b?1:aparseFloat(wc)){vc=String(zc);break a}}vc=wc}var hc={};
function Ac(a){return gc(a,function(){for(var b=0,c=Ja(String(vc)).split("."),d=Ja(String(a)).split("."),e=Math.max(c.length,d.length),g=0;!b&&g=a.keyCode)a.keyCode=-1}catch(b){}};var Kc="closure_listenable_"+(1E6*Math.random()|0);function Lc(a){return!(!a||!a[Kc])}var Mc=0;function Nc(a,b,c,d,e){this.listener=a;this.b=null;this.src=b;this.type=c;this.To=!!d;this.gk=e;this.key=++Mc;this.rk=this.So=!1}function Oc(a){a.rk=!0;a.listener=null;a.b=null;a.src=null;a.gk=null};function Pc(a){this.src=a;this.b={};this.c=0}Pc.prototype.add=function(a,b,c,d,e){var g=a.toString();a=this.b[g];a||(a=this.b[g]=[],this.c++);var h=Qc(a,b,d,e);-1c.keyCode||void 0!=c.returnValue)){a:{var g=!1;if(!c.keyCode)try{c.keyCode=-1;break a}catch(l){g=!0}if(g||void 0==c.returnValue)c.returnValue=!0}c=[];for(g=d.c;g;g=g.parentNode)c.push(g);for(var g=a.type,h=c.length-1;!d.g&&0<=h;h--){d.c=c[h];var k=gd(c[h],g,!0,d),e=e&&k}for(h=0;!d.g&&h>>0);function Xc(a){if(ua(a))return a;a[id]||(a[id]=function(b){return a.handleEvent(b)});return a[id]};function jd(){Kb.call(this);this.$g=new Pc(this);this.YC=this;this.Wi=null}G(jd,Kb);jd.prototype[Kc]=!0;f=jd.prototype;f.Ka=function(a){this.Wi=a};f.addEventListener=function(a,b,c,d){Wc(this,a,b,c,d)};f.removeEventListener=function(a,b,c,d){dd(this,a,b,c,d)};
f.dispatchEvent=function(a){var b,c=this.Wi;if(c)for(b=[];c;c=c.Wi)b.push(c);var c=this.YC,d=a.type||a;if(B(a))a=new Pb(a,c);else if(a instanceof Pb)a.target=a.target||c;else{var e=a;a=new Pb(d,c);dc(a,e)}var e=!0,g;if(b)for(var h=b.length-1;!a.g&&0<=h;h--)g=a.c=b[h],e=md(g,d,!0,a)&&e;a.g||(g=a.c=c,e=md(g,d,!0,a)&&e,a.g||(e=md(g,d,!1,a)&&e));if(b)for(h=0;!a.g&&hc*b?c+b:c}function sd(a){return rd(a,360)}function td(a){return a*Math.PI/180}function ud(a,b){return b*Math.cos(td(a))}function vd(a,b){return b*Math.sin(td(a))};function wd(a,b){this.x=p(a)?a:0;this.y=p(b)?b:0}f=wd.prototype;f.clone=function(){return new wd(this.x,this.y)};f.toString=function(){return"("+this.x+", "+this.y+")"};function xd(a,b){var c=a.x-b.x,d=a.y-b.y;return Math.sqrt(c*c+d*d)}f.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};f.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};f.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};
f.scale=function(a,b){var c=E(b)?b:a;this.x*=a;this.y*=c;return this};function yd(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}f=yd.prototype;f.Hc=function(){return this.right-this.left};f.Gc=function(){return this.bottom-this.top};f.clone=function(){return new yd(this.top,this.right,this.bottom,this.left)};f.toString=function(){return"("+this.top+"t, "+this.right+"r, "+this.bottom+"b, "+this.left+"l)"};
f.contains=function(a){return this&&a?a instanceof yd?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};f.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};
f.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};f.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};f.scale=function(a,b){var c=E(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this};function zd(a,b){this.width=a;this.height=b}f=zd.prototype;f.clone=function(){return new zd(this.width,this.height)};f.toString=function(){return"("+this.width+" x "+this.height+")"};f.Sc=function(){return!(this.width*this.height)};f.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};f.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
f.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};f.scale=function(a,b){var c=E(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}f=I.prototype;f.clone=function(){return new I(this.left,this.top,this.width,this.height)};f.toString=function(){return"("+this.left+", "+this.top+" - "+this.width+"w x "+this.height+"h)"};function Ad(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 Bd(a,b){return a.left<=b.left+b.width&&b.left<=a.left+a.width&&a.top<=b.top+b.height&&b.top<=a.top+a.height}
function Cd(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),g=Math.min(a.top+a.height,b.top+b.height);if(e<=g){c=new I(c,e,d-c,g-e);break b}}c=null}if(c&&c.height&&c.width){c=[];var d=a.top,e=a.height,g=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};f.Hg=function(a){var b=a.xq;q++){var r=-3*g[q]+9*h[q]-9*k[q]+3*l[q],t=6*g[q]-12*h[q]+6*k[q];n=3*h[q]-3*g[q];if(r){var u=t*t-4*n*r;0n&&c[q].push(b(g[q],
h[q],k[q],l[q],n)),n=(-t-Math.sqrt(u))/(2*r),0n&&c[q].push(b(g[q],h[q],k[q],l[q],n))):u||(n=-t/(2*r),0n&&c[q].push(b(g[q],h[q],k[q],l[q],n)))}else t&&(n=-n/t,0n&&c[q].push(b(g[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 Gd(a){if(!arguments.length)return null;for(var b=null,c=!1,d=0,e=arguments.length;d>>0);function je(a,b,c){return b[a.b]||(b[a.b]=ke(a,b,c))}function ke(a,b,c){return["ac",p(c)?c:b.Id?b.Id():"",(a.c++).toString(36)].join("_")};function le(a){var b;b=qa(a);if("array"==b){b=[];for(var c=0;c",0);Ne("",0);Ne("
",0);var Te={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};function Ue(a){return a?new Ve(We(a)):Fa||(Fa=new Ve)}function Xe(a){var b=document;return B(a)?b.getElementById(a):a}function Ye(a,b){return(b||document).getElementsByTagName(String(a))}
function Ze(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,g=0,h;h=c[g];g++)a==h.nodeName&&(d[e++]=h);d.length=e;return d}return c}c=c.getElementsByTagName(a||"*");if(b){d={};for(g=e=0;h=c[g];g++)a=h.className,"function"==typeof a.split&&qb(a.split(/\s+/),b)&&(d[e++]=h);d.length=e;return d}return c}
function $e(a,b){Ub(b,function(b,d){"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:af.hasOwnProperty(d)?a.setAttribute(af[d],b):d.lastIndexOf("aria-",0)&&d.lastIndexOf("data-",0)?a[d]=b:a.setAttribute(d,b)})}var af={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 bf(a){a=a.document;a=cf(a)?a.documentElement:a.body;return new zd(a.clientWidth,a.clientHeight)}function df(a){var b=a.scrollingElement?a.scrollingElement:!mc&&cf(a)?a.documentElement:a.body||a.documentElement;a=a.parentWindow||a.defaultView;return jc&&Ac("10")&&a.pageYOffset!=b.scrollTop?new wd(b.scrollLeft,b.scrollTop):new wd(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)}function ef(a){return a?a.parentWindow||a.defaultView:window}
function ff(a,b,c){return gf(document,arguments)}function gf(a,b){var c=String(b[0]),d=b[1];if(!pe&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',La(d.name),'"');if(d.type){c.push(' type="',La(d.type),'"');var e={};dc(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(B(d)?c.className=d:y(d)?c.className=d.join(" "):$e(c,d));2this.u)if(this.dispatchEvent(new Uf("start",this,a.clientX,a.clientY,a)))this.h=!0;else{this.Fb||this.lp(a);return}}c=Vf(this,b,c);b=c.x;c=c.y;this.h&&this.dispatchEvent(new Uf("beforedrag",this,a.clientX,a.clientY,a,b,c))&&(Wf(this,a,b,c),a.preventDefault())}};
function Vf(a,b,c){var d=df(Ue(a.o).b);b+=d.x-a.A.x;c+=d.y-a.A.y;a.A=d;a.b+=b;a.f+=c;b=a.lk(a.b);return new wd(b,a.yh(a.f))}f.TL=function(a){var b=Vf(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;Wf(this,a,b.x,b.y)};function Wf(a,b,c,d){a.rh(c,d);a.dispatchEvent(new Uf("drag",a,b.clientX,b.clientY,b,c,d))}f.lk=function(a){var b=this.g,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))};
f.yh=function(a){var b=this.g,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))};f.Cg=function(){this.b=this.target.offsetLeft;this.f=this.target.offsetTop};f.rh=function(a,b){this.target.style.left=a+"px";this.target.style.top=b+"px"};function Uf(a,b,c,d,e,g,h,k){Pb.call(this,a);this.clientX=c;this.clientY=d;this.f=e;this.left=p(g)?g:b.b;this.top=p(h)?h:b.f;this.b=b;this.j=!!k}G(Uf,Pb);function Xf(a){Sf.call(this,a.W());this.j=a;this.c=[NaN,NaN];this.ba("earlycancel",this.hM,!1,this);this.ba("start",this.nq,!1,this);this.ba("beforedrag",this.nq,!1,this);this.ba("drag",this.nq,!1,this);this.ba("end",this.nq,!1,this)}G(Xf,Sf);f=Xf.prototype;f.hM=function(){return this.j.dispatchEvent("earlycancel")};f.nq=function(a){return this.j.dispatchEvent(new Uf(a.type,this,a.clientX,a.clientY,a.f,a.left,a.top,a.j))};f.nC=function(a){this.g=a||new I(NaN,NaN,NaN,NaN)};
f.Cg=function(){this.b=this.j.wA();this.f=this.j.xA()};
f.lk=function(){this.c[0]=this.b;this.c[1]=this.f;if(!isNaN(this.g.left)||!isNaN(this.g.top)){var a=this.j.parent().qc();a&&Yf(this.j.parent()).transform(this.c,0,this.c,0,1);var b=this.g,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.j.Hc(),b=b-this.j.Gc(),b=null!=e?e+b:Infinity,e=null!=e?e:-Infinity;this.c[0]=Math.min(null!=c?c+d:Infinity,Math.max(null!=c?c:-Infinity,this.c[0]));this.c[1]=Math.min(b,Math.max(e,this.c[1]));a&&
a.transform(this.c,0,this.c,0,1)}return this.c[0]};f.yh=function(){return this.c[1]};f.rh=function(a,b){var c=Yf(this.j.parent());if(c){var d=[a,b];c.transform(d,0,d,0,1);a=d[0];b=d[1]}this.j.rl(a,b)};function Zf(){jd.call(this);this.ub=this.Oa=!1;this.cb=this.Gg=this.eb=this.Yg=null;this.Da={};this.ia($f)}G(Zf,jd);var $f=4294967295;f=Zf.prototype;f.Ar=!1;f.Uj=null;f.pk=null;f.Za=null;f.Mc=null;f.$i=null;f.Ev=!0;f.dc=null;f.Oz=!1;f.Sa=null;f.Lm=null;f.tm=null;f.Sh=void 0;f.lf=0;f.gd=506631;f.Cf=0;f.id=function(a){if(p(a))return a=a||"",this.Sh!==a&&(this.Sh=a,this.ia(2048)),this;p(this.Sh)||this.id(ke(ie.rc(),this));return this.Sh};f.$=function(){var a=this.parent();return a?a.$():null};f.W=function(){return this.Za};
f.parent=function(a){if(p(a)){if(a){var b=this.$(),b=!!b&&b!=a.$();a.ob(this);b&&ag(this)}else this.remove();return this}return this.Mc};function ag(a){var b,c=a.clip();c&&c.id(null);if(a.Ja&&(b=a.Ja())){for(c=0;cl&&(l=0);l=Math.sqrt(l);g==h&&(l=-l);g=l*d*c/e;k=-l*e*b/d;l=Md(1,0,(b-g)/d,(c-k)/e);b=Md((b-g)/d,(c-k)/e,(-b-g)/d,(-c-k)/e)%360;!h&&0b&&(b+=360);return Ng(a,d,e,l,b)}
function Ng(a,b,c,d,e){if(!a.f.length)throw oe(9);if(!e)return a;var g=a.Wb[0]-ud(d,b),h=a.Wb[1]-vd(d,c),k,l,n;n=Math.ceil(Math.abs(e)/359.999-2E-15);for(var q=e/n,r=0;rg;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;Dd(this.rect,l)};Pg=Rg;
Fg.prototype.jc=function(a){this.Bg=a.closePoint;this.Wb=a.currentPoint;this.f=a.segments;this.c=a.count;this.h=a.arguments;this.ia(32);Fg.s.jc.call(this,a)};Fg.prototype.w=function(){var a=Fg.s.w.call(this);a.type="path";a.closePoint=this.Bg?this.Bg.slice():[];a.currentPoint=this.Wb?this.Wb.slice():[];a.segments=this.f.slice();a.count=this.c.slice();a.arguments=this.h.slice();return a};
Fg.prototype.K=function(){this.Wb=this.Bg=null;fg(this);this.Sf=null;delete this.f;delete this.c;delete this.h;Fg.s.K.call(this)};function Jg(a){a.f.length=0;a.c.length=0;a.h.length=0;fg(a);a.Sf=null;delete a.Bg;delete a.Wb;delete a.pv};function zg(){Fg.call(this)}G(zg,Fg);f=zg.prototype;f.clear=function(){return Lg(this)};f.moveTo=function(a,b){return this.Wp(a,b)};f.lineTo=function(a,b,c){return Fg.prototype.Nf.apply(this,arguments)};f.tJ=function(a,b,c,d,e,g,h){return Fg.prototype.bp.apply(this,arguments)};f.qf=function(a,b,c,d,e){return Fg.prototype.eM.apply(this,arguments)};f.jd=function(a,b,c,d,e,g,h){a+=ud(e,c);b+=vd(e,d);this.Wb&&this.Wb[0]==a&&this.Wb[1]==b||(h?this.Nf(a,b):this.Wp(a,b));return Ng(this,c,d,e,g)};
f.wf=function(a,b,c,d,e,g){return Mg(this,a,b,c,d,e,g)};f.ow=function(a,b,c,d){return Ng(this,a,b,c,d)};f.dJ=function(a,b,c,d){return this.Jy(a,b,c,d)};f.close=function(){return this.ut()};f.wp=function(){return this.Wb?new wd(this.Wb[0],this.Wb[1]):null};var Sg=zg.prototype;F("acgraph.vector.Path",zg);Sg.moveTo=Sg.moveTo;Sg.lineTo=Sg.lineTo;Sg.curveTo=Sg.tJ;Sg.quadraticCurveTo=Sg.qf;Sg.arcTo=Sg.ow;Sg.arcToByEndPoint=Sg.wf;Sg.arcToAsCurves=Sg.dJ;Sg.circularArc=Sg.jd;Sg.close=Sg.close;Sg.clear=Sg.clear;
Sg.getCurrentPoint=Sg.wp;function Tg(){this.children=[];this.f=[];Zf.call(this)}G(Tg,Zf);f=Tg.prototype;f.Id=function(){return"layer"};f.gd=Zf.prototype.gd|224;f.ia=function(a){Tg.s.ia.call(this,a);a&192&&fg(this)};f.ob=function(a){return this.bc(a,this.Ja())};f.bc=function(a,b){a.remove();b=qd(b,0,this.Ja());wb(this.children,b,0,a);dg(a,this);a.Cf&&this.ia(64);this.ia(128);a.Ch();if(this.Cb()||this.pk)a.gq(),a.pk=this.Cb()||this.pk;return this};f.Dr=function(a){return this.children[a]||null};
f.Tb=function(a){return hb(this.children,a)};f.removeChild=function(a){return this.yn(this.Tb(a))};f.yn=function(a){var b=null;0<=a&&aa||a>=this.Ja()||0>b||b>=this.Ja())throw oe(8);if(a!=b){var c=this.children[a];this.children[a]=this.children[b];this.children[b]=c;this.ia(128)}return this};f.Vv=function(a){return!!a&&qb(this.children,a)};f.Ja=function(){return this.children.length};f.Vh=function(a,b){p(b)||(b=this);ib(this.children,a,b);return this};f.Md=function(){var a=Ug();a.parent(this);return a};f.mw=function(){var a;a=new Vg(void 0);a.parent(this);return a};
f.text=function(a,b,c,d){a=Wg(a,b);d&&a.style(d);c&&a.text(c);a.parent(this);return a};f.Wv=function(a,b,c,d){a=Wg(a,b);d&&a.style(d);c&&a.htmlText(c);a.parent(this);return a};f.rect=function(a,b,c,d){a=lg(a,b,c,d);a.parent(this);return a};f.ld=function(a,b,c,d,e){a=Xg(a,b,c,d,e);a.parent(this);return a};f.$v=function(a,b){var c=this.ca();wb(arguments,0,0,c);return Yg.apply(this,arguments).parent(this)};f.Zv=function(a,b){var c=this.ca();wb(arguments,0,0,c);return Zg.apply(this,arguments).parent(this)};
f.lw=function(a,b){var c=this.ca();wb(arguments,0,0,c);return $g.apply(this,arguments).parent(this)};f.Br=function(a,b,c){a=mg(a,b,c);a.parent(this);return a};f.Cr=function(a,b,c,d){a=ng(a,b,c,d);a.parent(this);return a};f.ca=function(){return og().parent(this)};f.aw=function(a,b,c,d,e,g,h){return ah(this.ca(),a,b,c,d,e,g,h).parent(this)};f.cw=function(a,b,c){return bh(this.ca(),a,b,c).parent(this)};f.dw=function(a,b,c){return ch(this.ca(),a,b,c).parent(this)};
f.ew=function(a,b,c){return dh(this.ca(),a,b,c).parent(this)};f.fw=function(a,b,c){return eh(this.ca(),a,b,c).parent(this)};f.bw=function(a,b,c){return fh(this.ca(),a,b,c).parent(this)};f.kw=function(a,b,c){return gh(this.ca(),a,b,c).parent(this)};f.hw=function(a,b,c){return hh(this.ca(),a,b,c).parent(this)};f.jw=function(a,b,c){return ih(this.ca(),a,b,c).parent(this)};f.iw=function(a,b,c){return jh(this.ca(),a,b,c).parent(this)};f.Sv=function(a,b,c){return kh(this.ca(),a,b,c).parent(this)};
f.Qv=function(a,b,c){return lh(this.ca(),a,b,c).parent(this)};f.Rv=function(a,b,c){return mh(this.ca(),a,b,c).parent(this)};f.Uv=function(a,b,c){return nh(this.ca(),a,b,c).parent(this)};f.nw=function(a,b,c){return oh(this.ca(),a,b,c).parent(this)};f.Xv=function(a,b,c,d,e){return ph(this.ca(),a,b,c,d,e).parent(this)};f.Tv=function(a,b,c,d,e,g){return qh(this.ca(),a,b,c,d,e,g).parent(this)};f.Dg=function(){return bg.Zo()};
f.Tc=function(){this.tb(32)&&this.Yv();var a;a=this.$();a=a.yl(Math.floor(Math.max(500-a.Bf,0)/3));this.tb(64)&&rh(this);var b=this.$();b.Bf-=a-0;if(this.tb(128)&&(a=this.$().yl(this.children.length+this.f.length+1),b=sh(this,a),b=b&&(u=!1);if(u){for(;ke;e++)for(d=!1,a=0;4>a;a++){d=!d;for(var g=0;4>g;g++)d&&(c=this.rect(a*b+e*this.size/2,g*b+this.size/2,b,b)),c.fill(this.color),c.stroke("none"),d=!d}break;case "solidDiamond":this.ca().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.ca();yh(b,0,0,this.size/2,this.size/2,this.b);b.fill("none");b.stroke(this.color,this.b);break;case "dashedBackwardDiagonal":b=this.ca();yh(b,this.size/2,0,0,this.size/2,this.b);b.fill("none");b.stroke(this.color,this.b);break;case "dashedHorizontal":b=this.ca();yh(b,0,0,this.size/2,0,this.b);yh(b,this.size/2,this.size/2,this.size,this.size/2,this.b);b.fill("none");b.stroke(this.color,this.b);break;case "dashedVertical":b=this.ca();yh(b,0,0,0,this.size/2,
this.b);yh(b,this.size/2,this.size/2,this.size/2,this.size,this.b);b.fill("none");b.stroke(this.color,this.b);break;case "divot":b=.1*this.size;c=this.size*(.8-.2)/2;this.ca().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.b);break;case "zigZag":b=this.ca();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.b);break;case "weave":this.ca().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.b);break;case "percent05":this.c=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.c=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.c=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.c=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.c=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.c=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.c=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.c=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.c=new I(0,0,4,4);this.ca().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.c=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.c=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.c=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(rg,$d);
var xh={gN:"backwardDiagonal",vN:"forwardDiagonal",xN:"horizontal",fO:"vertical",nN:"dashedBackwardDiagonal",wN:"grid",oN:"dashedForwardDiagonal",pN:"dashedHorizontal",qN:"dashedVertical",VC:"diagonalCross",rN:"diagonalBrick",tN:"divot",yN:"horizontalBrick",gO:"verticalBrick",jN:"checkerBoard",lN:"confetti",PN:"plaid",RN:"solidDiamond",jO:"zigZag",iO:"weave",DN:"percent05",EN:"percent10",FN:"percent20",GN:"percent25",HN:"percent30",IN:"percent40",JN:"percent50",KN:"percent60",LN:"percent70",MN:"percent75",
NN:"percent80",ON:"percent90"};function yh(a,b,c,d,e,g){b===d&&(b=d=Math.round(b)+g%2/2);c===e&&(c=e=Math.round(c)+g%2/2);a.moveTo(b,c).lineTo(d,e)}rg.prototype.Id=function(){return"hatchFill"};rg.prototype.K=function(){rg.s.K.call(this);if(this.$()){var a=this.$().b,b=[this.type,this.color,this.b,this.size].join();Xb(a.j,b)&&$b(a.j,b);a=Xe(this.id());nf(a)}};var zh=rg.prototype;zh.dispose=zh.rd;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 Ah(a,b,c,d,e,g,h){this.f=a||null;this.o=g||Bh;this.b=h||Ch;this.m=new I(b||0,c||0,d||0,e||0);this.c=1;Zf.call(this)}G(Ah,Zf);var Ch="meet",Bh="none";f=Ah.prototype;f.gd=Zf.prototype.gd|32;f.Id=function(){return"image"};f.$j=function(a){return null!=a?(a!=this.b&&(this.b=a,this.ia(32)),this):this.b};f.Uh=function(a){return null!=a?(a!=this.o&&(this.o=a,this.ia(32)),this):this.o};f.x=function(a){return null!=a?(a!=this.m.left&&(this.m.left=a,this.ia(32),fg(this)),this):this.m.left};
f.y=function(a){return null!=a?(a!=this.m.top&&(this.m.top=a,this.ia(32),fg(this)),this):this.m.top};f.width=function(a){return null!=a?(a!=this.m.width&&(this.m.width=a,this.ia(32),fg(this)),this):this.m.width};f.height=function(a){return null!=a?(a!=this.m.height&&(this.m.height=a,this.ia(32),fg(this)),this):this.m.height};f.src=function(a){return p(a)?(a!=this.f&&(this.f=a,this.ia(32)),this):this.f};f.opacity=function(a){return p(a)?(a!=this.c&&(this.c=a,this.ia(32)),this):this.c};f.Pe=function(){return this.m.clone()};
f.Oe=function(a){var b=a==this.Sa,c=a==this.qc();if(this.vb&&b)return this.vb.clone();if(this.ic&&c)return this.ic.clone();a=Jd(this.m.clone(),a);b&&(this.vb=a.clone());c&&(this.ic=a.clone());return a};f.Dg=function(){return bg.pz()};f.Tc=function(){this.tb(32)&&(bg.Vm()&&this.ia(4),bg.jC(this),cg(this,32));Ah.s.Tc.call(this)};f.cj=function(){bg.kC(this);cg(this,4);cg(this,256)};
f.jc=function(a){var b=a.bounds;this.x(b.left).y(b.top).width(b.width).height(b.height).src(a.src).Uh(a.align).$j(a.fittingMode);Ah.s.jc.call(this,a)};f.w=function(){var a=Ah.s.w.call(this);a.type="image";a.bounds=this.Pe();a.src=this.src();a.align=this.Uh();a.fittingMode=this.$j();return a};f.K=function(){this.m=null;fg(this);Ah.s.K.call(this)};F("acgraph.vector.Image",Ah);var Dh=Ah.prototype;Dh.fittingMode=Dh.$j;Dh.align=Dh.Uh;Dh.x=Dh.x;Dh.y=Dh.y;Dh.width=Dh.width;Dh.height=Dh.height;Dh.src=Dh.src;
F("acgraph.vector.Image.Fitting.MEET",Ch);F("acgraph.vector.Image.Fitting.SLICE","slice");F("acgraph.vector.Image.Align.NONE",Bh);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 yg(a,b,c,d){this.b=new I(a||0,b||0,c||0,d||0);this.m=[];this.o=[0,0,0,0];Fg.call(this);Eh(this)}G(yg,Fg);f=yg.prototype;f.gd=jg.prototype.gd|32;f.Id=function(){return"rect"};f.Bq=function(a){a!=this.b.left&&(this.b.left=a,Eh(this));return this};f.Cq=function(a){a!=this.b.top&&(this.b.top=a,Eh(this));return this};f.jn=function(a){this.b.width!=a&&(this.b.width=a,Eh(this));return this};f.fn=function(a){this.b.height!=a&&(this.b.height=a,Eh(this));return this};
f.Td=function(a){Ad(this.b,a)||(this.b.left=a.left,this.b.top=a.top,this.b.width=a.width,this.b.height=a.height,Eh(this));return this};f.hv=function(a,b){var c,d,e,g;c=xb(arguments,1);d=c[0];B(d)?g=db(d,4):g=c;4>g.length?g=e=d=c=parseFloat(g[0]):(c=parseFloat(g[0]),d=parseFloat(g[1]),e=parseFloat(g[2]),g=parseFloat(g[3]));this.o[0]=c?c:0;this.m[0]=c?a:void 0;this.o[1]=d?d:0;this.m[1]=d?a:void 0;this.o[2]=e?e:0;this.m[2]=e?a:void 0;this.o[3]=g?g:0;this.m[3]=g?a:void 0};
function Eh(a){var b=!a.$()||a.$().Bb();b||a.$().Yb();Lg(a);var c=a.o[0];a.Wp(a.b.left+c,a.b.top);c=a.o[1];a.Nf(a.b.left+a.b.width-a.o[1],a.b.top);if(a.m[1])switch(a.m[1]){case "round":Mg(a,a.b.left+a.b.width,a.b.top+c,c,c,!1,!0);break;case "roundInner":Mg(a,a.b.left+a.b.width,a.b.top+c,c,c,!1,!1);break;case "cut":a.Nf(a.b.left+a.b.width,a.b.top+c)}c=a.o[2];a.Nf(a.b.left+a.b.width,a.b.top+a.b.height-c);if(a.m[2])switch(a.m[2]){case "round":Mg(a,a.b.left+a.b.width-c,a.b.top+a.b.height,c,c,!1,!0);break;
case "roundInner":Mg(a,a.b.left+a.b.width-c,a.b.top+a.b.height,c,c,!1,!1);break;case "cut":a.Nf(a.b.left+a.b.width-c,a.b.top+a.b.height)}c=a.o[3];a.Nf(a.b.left+c,a.b.top+a.b.height);if(a.m[3])switch(a.m[3]){case "round":Mg(a,a.b.left,a.b.top+a.b.height-c,c,c,!1,!0);break;case "roundInner":Mg(a,a.b.left,a.b.top+a.b.height-c,c,c,!1,!1);break;case "cut":a.Nf(a.b.left,a.b.top+a.b.height-c)}c=a.o[0];a.Nf(a.b.left,a.b.top+c);if(a.m[0])switch(a.m[0]){case "round":Mg(a,a.b.left+c,a.b.top,c,c,!1,!0);break;
case "roundInner":Mg(a,a.b.left+c,a.b.top,c,c,!1,!1)}a.ut();b||a.$().Vb()}f.round=function(a,b,c,d){wb(arguments,0,0,"round");this.hv.apply(this,arguments);Eh(this);return this};f.lM=function(a,b,c,d){wb(arguments,0,0,"roundInner");this.hv.apply(this,arguments);Eh(this);return this};f.uJ=function(a,b,c,d){wb(arguments,0,0,"cut");this.hv.apply(this,arguments);Eh(this);return this};
f.jc=function(a){yg.s.jc.call(this,a);this.Bq(a.x).Cq(a.y).jn(a.width).fn(a.height);a.cornerTypes&&(this.m=db(a.cornerTypes,4),a=db(a.cornerSizes,4),ib(a,function(a,c,d){d[c]=parseFloat(a)}),this.o=a,Eh(this))};f.w=function(){var a=yg.s.w.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.m.join(" ");a.cornerSizes=this.o.join(" ");return a};f.K=function(){this.b=this.m=this.o=null;fg(this);yg.s.K.call(this)};var Fh=yg.prototype;
F("acgraph.vector.Rect",yg);Fh.setX=Fh.Bq;Fh.setY=Fh.Cq;Fh.setWidth=Fh.jn;Fh.setHeight=Fh.fn;Fh.setBounds=Fh.Td;Fh.cut=Fh.uJ;Fh.round=Fh.round;Fh.roundInner=Fh.lM;function Gh(a){jd.call(this);this.c={};this.b={};this.f=new wf(this);this.g=a}G(Gh,jd);var Hh=[jc&&!Ac("11")?"readystatechange":"load","abort","error"];function Ih(a,b,c){(c=B(c)?c:c.src)&&(a.c[b]={src:c,jz:p(void 0)?void 0:null})}function Jh(a,b){delete a.c[b];var c=a.b[b];c&&(delete a.b[b],a.f.vc(c,Hh,a.j),Yb(a.b)&&Yb(a.c)&&a.dispatchEvent("complete"))}
Gh.prototype.start=function(){var a=this.c;ib(Wb(a),function(b){var c=a[b];if(c&&(delete a[b],!this.Fb)){var d;this.g?d=Ue(this.g).c("IMG"):d=new Image;c.jz&&(d.crossOrigin=c.jz);this.f.ba(d,Hh,this.j);this.b[b]=d;d.id=b;d.src=c.src}},this)};
Gh.prototype.j=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.Fb||Jh(this,b.id)}};Gh.prototype.K=function(){delete this.c;delete this.b;Nb(this.f);Gh.s.K.call(this)};function Kh(){this.g={};this.f="fontStyle fontVariant fontFamily fontSize fontWeight letterSpacing decoration".split(" ")}pa(Kh);function Lh(a,b){var c;if(Mh(a," ",b))c=Oh(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);Oh(a," ",b,c)}return c}function Ph(a,b){for(var c="",d=0,e=a.f.length;d=a?c=180+c:270=a&&(c=360+c);return c%360}f=Kh.prototype;f.appendChild=function(a,b){a.appendChild(b)};f.getParent=function(a){return pf(a)};f.pB=function(){return!1};f.TA=function(){return!1};
function Rh(a){a.Ki||(a.Ki=new Gh(m.document.body));return a.Ki}f.Vm=function(){return!1};f.$p=function(){return!1};function Sh(){}pa(Sh);
var Th={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};Sh.prototype.l=null;function Uh(a){a.style||(a.style=a.h.length?bc(a.h[a.h.length-1]):{})}function Vh(a,b){switch(b){case "b":case "strong":Uh(a);a.style.fontWeight="bold";break;case "i":case "em":Uh(a),a.style.fontStyle="italic"}}
function Wh(a,b,c){switch(b){case "font-style":Uh(a);a.style.fontStyle=c||"normal";break;case "font-variant":Uh(a);a.style.fontVariant=c||"normal";break;case "font-family":Uh(a);a.style.fontFamily=c||m.acgraph.fontFamily;break;case "font-size":Uh(a);a.style.fontSize=c||m.acgraph.fontSize;break;case "font-weight":Uh(a);a.style.fontWeight=c||"normal";break;case "color":Uh(a);a.style.color=c||m.acgraph.color;break;case "letter-spacing":Uh(a);a.style.letterSpacing=c||"normal";break;case "text-decoration":Uh(a);
a.style.Fg=c||"none";break;case "opacity":Uh(a),a.style.opacity=null!=c?parseFloat(c):1}}function Xh(a){""!=a.c&&(Yh(a.l,a.c,a.h.length?a.h[a.h.length-1]:null),a.c="",a.B=!1)}function Zh(a){a.o==(a.u.length?a.u[a.u.length-1]:null)&&(Xh(a),a.h.pop(),a.u.pop(),a.b="");a.o="";a.state=1}function $h(a,b){Vh(a,a.b);a.u.push(a.b);a.h.push(a.style);b&&(a.f="");a.b="";a.style=null;a.state=1}function ai(a,b,c){Wh(a,a.j,a.m||"");a.j="";a.m="";c&&(a.f="");a.state=b}
function bi(a){Vh(a,a.b);Wh(a,a.j,a.m||"");a.u.push(a.b);a.h.push(a.style);a.b="";a.style=null;a.f="";a.j="";a.m="";a.state=1}function ci(a,b,c){var d;if(a.v){var e=Th[a.g];p(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.v=!0};function di(a,b){Kb.call(this);this.b=b||{};this.text=a;this.m=!1;this.y=this.x=this.f=this.j=this.height=this.width=this.c=0}G(di,Kb);f=di.prototype;f.Za=null;f.Fr=null;f.parent=function(a){return p(a)?(this.Fr=a,this):this.Fr};f.W=function(){return this.Za};f.Id=function(){return"tSegment"};f.K=function(){nf(this.Za);this.Za=null;di.s.K.call(this)};function ei(a,b){this.B=!1;this.ja=a||0;this.ra=b||0;this.u=new I(this.ja,this.ra,0,0);this.O=this.h=this.Sb=this.j=0;this.pa=!1;this.b=[];this.c=[];this.A=this.xc=this.m=0;this.Ha=!0;this.mc=this.v=this.ha=this.nb=0;this.o=[];this.U=1;this.T=fi;this.f=0;this.Z=this.g=!1;this.Ga=this.qd={fontSize:m.acgraph.fontSize,color:m.acgraph.fontColor,fontFamily:m.acgraph.fontFamily,direction:m.acgraph.textDirection,textOverflow:fi,textWrap:gi,selectable:!0,hAlign:hi};Zf.call(this)}G(ei,Zf);
var gi="noWrap",fi="",hi="start",ii={zN:"left",YN:hi,iN:"center",uN:"end",QN:"right"},ji={$N:"top",BN:"middle",hN:"bottom"};f=ei.prototype;f.gd=Zf.prototype.gd|17440;f.Ga=null;f.Aa=null;f.x=function(a){return null!=a?(this.ja!=a&&(this.ja=a,this.B&&ki(this),this.u.left=a,this.ia(16384),fg(this)),this):this.ja};f.y=function(a){return null!=a?(this.ra!=a&&(this.ra=a,this.B&&li(this),this.u.top=a,this.ia(16384),fg(this)),this):this.ra};
function mi(a,b,c){if(p(c)){if(c!==a.Ga[b]){var d=!a.$()||a.$().Bb();d||a.$().Yb();a.Ga[b]=c;a.B=!1;a.ia(1024);a.ia(32);a.ia(16384);a.Ph();d||a.$().Vb()}return a}return a.Ga[b]}f.Ph=function(){if(bg.Vm()){var a=this.qc();a&&!Kd(a)&&this.ia(4)}};f.width=function(a){p(a)&&mi(this,"width")!=a&&(null===a||(a=Math.max(a,0)||0),this.na=a);return mi(this,"width",a)};f.height=function(a){p(a)&&(mi(this,"height")==a||null!==a&&(a=Math.max(a,0)||0),this.qa=a);return mi(this,"height",a)};
f.opacity=function(a){return null!=a?(this.Ga.opacity=a,this.ia(1024),this):this.Ga.opacity};f.color=function(a){return null!=a?(this.Ga.color=a,this.ia(1024),this):this.Ga.color};f.fontSize=function(a){return mi(this,"fontSize",a)};f.fontFamily=function(a){return mi(this,"fontFamily",a)};f.Zh=function(a){return mi(this,"direction",a)};f.fontStyle=function(a){return mi(this,"fontStyle",a)};f.fontVariant=function(a){return mi(this,"fontVariant",a)};
f.fontWeight=function(a){return mi(this,"fontWeight",a)};f.letterSpacing=function(a){return mi(this,"letterSpacing",a)};f.Fg=function(a){return mi(this,"decoration",a)};f.vl=function(a){null!=a&&(this.U=ni(a));return mi(this,"lineHeight",a)};function ni(a){var b=parseFloat(a);return isNaN(b)||0>b?1:B(a)&&Ga(a,"%")?1+parseFloat(a)/100:a}f.wl=function(a){null!=a&&(this.f=a);return mi(this,"textIndent",a)};
f.og=function(a){if(p(a))if("center"==a)a="middle";else{var b=!1;Ub(ji,function(c){a==c&&(b=!0)});b||(a="top")}return mi(this,"vAlign",a)};f.Ve=function(a){if(p(a))if("middle"==a)a="center";else{var b=!1;Ub(ii,function(c){a==c&&(b=!0)});b||(a=hi)}return mi(this,"hAlign",a)};f.xl=function(a){return mi(this,"textWrap",a)};f.rf=function(a){null!=a&&(this.T=a);return mi(this,"textOverflow",a)};f.$h=function(a){return mi(this,"selectable",a)};
f.style=function(a){if(a){a&&dc(this.Ga,a);this.na=parseFloat(this.Ga.width)||0;this.qa=parseFloat(this.Ga.height)||0;this.Ga.lineHeight&&(this.U=ni(this.Ga.lineHeight));var b,c=this.Ga.vAlign;null!=c&&("center"==c?this.Ga.vAlign="middle":(b=!1,Ub(ji,function(a){c==a&&(b=!0)}),b||(this.Ga.vAlign="top")));var d=this.Ga.hAlign;null!=d&&("middle"==d?this.Ga.hAlign="center":(b=!1,Ub(ii,function(a){d==a&&(b=!0)}),b||(this.Ga.hAlign=hi)));null!=this.Ga.direction&&(this.g="rtl"==this.Ga.direction);null!=
this.Ga.textOverflow&&(this.T=this.Ga.textOverflow);null!=this.Ga.textIndent&&(this.f=this.Ga.textIndent);this.g&&(this.f=0);(a=!this.$()||this.$().Bb())||this.$().Yb();this.B=!1;this.ia(1024);this.ia(32);this.ia(16384);this.ia(4);this.Ph();a||this.$().Vb();return this}return this.Ga};f.text=function(a){return p(a)?(a!=this.Aa&&(this.Aa=String(a),this.pa=!1,(a=!this.$()||this.$().Bb())||this.$().Yb(),this.B=!1,this.ia(1024),this.ia(32),this.ia(16384),this.Ph(),a||this.$().Vb()),this):this.Aa};
f.htmlText=function(a){return p(a)?(a!=this.Aa&&(this.Aa=String(a),this.pa=!0,(a=!this.$()||this.$().Bb())||this.$().Yb(),this.B=!1,this.ia(1024),this.ia(32),this.ia(16384),this.Ph(),a||this.$().Vb()),this):this.Aa};f.Id=function(){return"text"};f.Pe=function(){return this.u.clone()};
f.Oe=function(a){this.B||this.Kq();if(!a)return this.u.clone();var b=a==this.Sa,c=a==this.qc();if(this.vb&&b)return this.vb.clone();if(this.ic&&c)return this.ic.clone();a=Jd(this.u.clone(),a);b&&(this.vb=a.clone());c&&(this.ic=a.clone());return a};f.jB=function(a){for(var b=bg.f,c=arguments,d={},e=0,g=b.length;ee&&1a.na?a.na-d.width-e:a.f,0>a.f&&(a.f=0));a.A=Math.max(a.A,d.height);a.m+=d.width;a.b.length||(a.m+=a.f);a.v=Math.max(a.v,c.c);a.Ha=a.c.length?a.Ha&&!b.length:!b.length;a.c.push(c);a.b.push(c);c.parent(a);return c}
function ri(a){var b,c,d,e,g=gb(a.o),h=gb(g),k=a.Kd(a.T,h.b),l=a.T;k.width>a.na&&(d=oi(a,a.T,h.b,0,a.na,k),l=a.T.substring(0,d));d=a.xc;var n=a.na;if(""==l)c=hb(a.b,h)+1,wb(a.b,c,a.b.length-c);else if(n-d>=k.width)a.c=g,c=hb(a.b,h)+1,wb(a.b,c,a.b.length-c),e=qi(a,l,h.b,k),2==a.c.length&&""==a.c[0].text&&(e.f=a.ha-a.c[0].height,e.m=!0);else{for(var q=g.length-1;!b&&0<=q;)h=g[q],k=a.Kd(l,h.b),c=a.Kd(h.text,h.b),d-c.width+k.width<=a.na&&(b=h),d-=c.width,q--;b||1!=a.o.length||(b=g[0],d-=c.width);b&&(a.c=
g,q=a.c[0].f,n-=k.width,c=hb(g,b),wb(g,c,g.length-c),c=hb(a.b,b),wb(a.b,c,a.b.length-c),a.A=0,a.m=0,a.v=0,c=a.Kd(b.text,b.b),d=oi(a,b.text,b.b,d,n,c),1>d&&(d=1),n=b.text.substring(0,d),g=a.Kd(n,b.b),n=qi(a,n,b.b,g,k.width),n.x=b.x,n.y=b.y,g.width+k.width>a.na&&(d=oi(a,a.T,h.b,g.width,a.na,k),l=a.T.substring(0,d)),0a.na&&!a.Z;){var g=oi(a,b,c,e+a.m,a.na,d);1>g&&!a.c.length&&(g=1);g&&(e=b.substring(0,g).replace(/[\s\xa0]+$/,""),d=a.Kd(e,c),qi(a,e,c,d));ti(a);1==b.length&&(a.Z=!0);e=0;"byLetter"==a.Ga.textWrap?(b=b.substring(g,b.length).replace(/^[\s\xa0]+/,""),d=a.Kd(b,c)):a.pa?(b="",d=a.Kd(b,c)):a.Z=!0}a.Z||qi(a,b,c,d)}}
function ti(a){a.xl()!=gi||1!=a.o.length||a.pa||ri(a);if(!a.Z&&a.c.length){var b=!a.o.length;if(a.qa&&a.j+a.A>a.qa&&a.o.length)ri(a);else{a.A=B(a.U)?parseInt(a.U,0)+a.A:a.U*a.A;if(bg.pB()){var c,d,e,g;c=a.g&&a.Ga.hAlign==hi||!a.g&&"end"==a.Ga.hAlign||"right"==a.Ga.hAlign;d="center"==a.Ga.hAlign;if(a.g&&"end"==a.Ga.hAlign||!a.g&&a.Ga.hAlign==hi||"left"==a.Ga.hAlign)for(c=a.g?0:a.f&&b?a.f:0,d=0,e=a.c.length;d"!=
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||g)){k=!0;break}a.b&&Xh(a);if(a.b&&g){a.state=4;break}if(">"==e){$h(a);break}a.b+=e.toLowerCase();break;case 3:if(k){if(">"!=e)break;Zh(a);k=!1;break}if(!a.o&&h){a.c+=""+e;a.state=1;break}if(a.o&&g){k=!0;break}if(">"==e){Zh(a);k=!1;break}a.o+=e.toLowerCase();
break;case 4:if(k){if(">"!=e)break;$h(a,!0);k=!1;break}if(">"==e){$h(a,!0);break}if(g){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){$h(a,!0);break}if(g)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(g)break;if(">"==e){$h(a,!0);break}if("'"==e||'"'==e){a.A=e;a.state=9;break}a.j=e;a.state=10;break;case 8:if(g)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(g)break;if(e==a.A){k=!0;ai(a,4,!0);break}if(":"==e){a.state=12;break}a.j+=e.toLowerCase();break;case 12:if(g)break;if(e==a.A){k=!0;ai(a,4,!0);break}if(";"==e){ai(a,9);break}a.m+=e.toLowerCase();break;case 7:e==a.A&&(a.f="",a.state=4);break;case 10:if(g){k=!0;ai(a,4,!0);break}if(">"==e){bi(a);break}if(":"==e){a.state=13;break}a.j+=e;break;case 11:if(g){ai(a,4,!0);break}">"==e&&$h(a);break;case 13:if(g){k=!0;ai(a,4,!0);break}if(">"==e){bi(a);
break}if(";"==e){ai(a,10);break}a.m+=e.toLowerCase();break;default:throw"Error while parsing HTML: Symbol '"+e+"', position: "+(d-1);}Xh(a);ti(a.l)}else for(this.Aa=this.Aa.replace(/\xa0|[ \t]+/g," ").replace(/(\r\n|\r|\n)/g,"\n"),c=this.Aa.split(/\n/g),b=0;bg)return a;h=h||0;var l=ud(h,d),n=vd(h,d),q=360/(2*g),r;a.moveTo(l+b,n+c);if(k)for(r=0;rd&&(d=0);0>e&&(e=0);if(d=e)return ph(a,b,c,d,g,h);a=a.ca?a.ca():a;h=qd(h,-360,360);k=360>Math.abs(h);a.jd(b,c,d,d,g,h).jd(b,c,e,e,g+h,-h,k);k&&a.close();return a}
function wi(a,b,c,d,e,g){a=ud(c,a);b=ud(d,b)-a;return 0<=e?a+b*(g+e-g*e):a+b*g*(e+1)}function xi(a,b,c,d,e,g){a=vd(c,a);b=vd(d,b)-a;return 0<=e?a+b*(g+e-g*e):a+b*g*(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 $g(a,b,c){var d=a.ca?a.ca():a,e,g,h,k;6==arguments.length?(e=arguments[2],g=arguments[3],h=arguments[4],k=arguments[5],d.moveTo(b.left+e,b.top).lineTo(b.left+b.width-g,b.top).lineTo(b.left+b.width,b.top+g).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=xb(arguments,2,6),yi(k),e=k[0],g=k[1],h=k[2],k=k[3],$g(d,b,e,g,h,k));return d}
function Yg(a,b,c){var d=a.ca?a.ca():a,e,g,h,k;6==arguments.length?(e=arguments[2],g=arguments[3],h=arguments[4],k=arguments[5],d.moveTo(b.left+e,b.top).lineTo(b.left+b.width-g,b.top).wf(b.left+b.width,b.top+g,g,g,!1,!0).lineTo(b.left+b.width,b.top+b.height-h).wf(b.left+b.width-h,b.top+b.height,h,h,!1,!0).lineTo(b.left+k,b.top+b.height).wf(b.left,b.top+b.height-k,k,k,!1,!0),0!=e&&(d.lineTo(b.left,b.top+e),d.wf(b.left+e,b.top,e,e,!1,!0)),d.close()):(k=xb(arguments,2,6),yi(k),e=k[0],g=k[1],h=k[2],k=
k[3],Yg(d,b,e,g,h,k));return d}
function Zg(a,b,c){var d=a.ca?a.ca():a,e,g,h,k;6==arguments.length?(e=arguments[2],g=arguments[3],h=arguments[4],k=arguments[5],d.moveTo(b.left+e,b.top).lineTo(b.left+b.width-g,b.top).wf(b.left+b.width,b.top+g,g,g,!1,!1).lineTo(b.left+b.width,b.top+b.height-h).wf(b.left+b.width-h,b.top+b.height,h,h,!1,!1).lineTo(b.left+k,b.top+b.height).wf(b.left,b.top+b.height-k,k,k,!1,!1),0!=e&&d.lineTo(b.left,b.top+e).wf(b.left+e,b.top,e,e,!1,!1),d.close()):(k=xb(arguments,2,6),yi(k),e=k[0],g=k[1],h=k[2],k=k[3],
Zg(d,b,e,g,h,k));return d}F("acgraph.vector.primitives.star",ah);F("acgraph.vector.primitives.star4",bh);F("acgraph.vector.primitives.star5",ch);F("acgraph.vector.primitives.star6",dh);F("acgraph.vector.primitives.star7",eh);F("acgraph.vector.primitives.star10",fh);F("acgraph.vector.primitives.diamond",kh);F("acgraph.vector.primitives.triangleUp",gh);F("acgraph.vector.primitives.triangleDown",hh);F("acgraph.vector.primitives.triangleRight",ih);F("acgraph.vector.primitives.triangleLeft",jh);
F("acgraph.vector.primitives.cross",lh);F("acgraph.vector.primitives.diagonalCross",mh);F("acgraph.vector.primitives.hLine",nh);F("acgraph.vector.primitives.vLine",oh);F("acgraph.vector.primitives.pie",ph);F("acgraph.vector.primitives.donut",qh);F("acgraph.vector.primitives.truncatedRect",$g);F("acgraph.vector.primitives.roundedRect",Yg);F("acgraph.vector.primitives.roundedInnerRect",Zg);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 Ai(){Kh.call(this)}G(Ai,Kh);pa(Ai);f=Ai.prototype;f.ai=null;f.Xc=null;f.Sm=null;f.gf=null;f.Ki=null;function Bi(a){return document.createElementNS("http://www.w3.org/2000/svg",a)}f.ma=function(a,b,c){a.setAttribute(b,c)};function Ci(a,b,c){Ub(c,function(a,c){this.ma(b,c,a)},a)}
function Di(a){a.ai=Bi("svg");a.Xc=a.yt();a.Sm=a.ul("");a.Xc.appendChild(a.Sm);a.ai.appendChild(a.Xc);document.body.appendChild(a.ai);Ci(a,a.ai,{display:"block",width:0,height:0});a.gf=a.Zo();a.ai.appendChild(a.gf)}
f.measure=function(a,b){this.ai||Di(this);var c=null,d=0;if(!a.length)return Mh(this,"",b)?d=Oh(this,"",b):(d=this.measure("a",b),d=new I(0,d.top,0,d.height),Oh(this,"",b,d)),d;if(" "==a)return Lh(this,b);a.lastIndexOf(" ",0)||(d+=c=Lh(this,b).width);Ga(a," ")&&(d+=c||Lh(this,b).width);b.fontStyle?this.ma(this.Xc,"font-style",b.fontStyle):this.Xc.removeAttribute("font-style");b.fontVariant?this.ma(this.Xc,"font-variant",b.fontVariant):this.Xc.removeAttribute("font-variant");b.fontFamily?this.ma(this.Xc,
"font-family",b.fontFamily):this.Xc.removeAttribute("font-family");b.fontSize?this.ma(this.Xc,"font-size",b.fontSize):this.Xc.removeAttribute("font-size");b.fontWeight?this.ma(this.Xc,"font-weight",b.fontWeight):this.Xc.removeAttribute("font-weight");b.letterSpacing?this.ma(this.Xc,"letter-spacing",b.letterSpacing):this.Xc.removeAttribute("letter-spacing");b.decoration?this.ma(this.Xc,"text-decoration",b.decoration):this.Xc.removeAttribute("text-decoration");this.Sm.nodeValue=a;c=this.Xc.getBBox();
this.Sm.nodeValue="";b.fontVariant&&ic&&(this.Sm.nodeValue=a.charAt(0).toUpperCase(),c.height=this.Xc.getBBox().height);return new I(c.x,c.y,c.width+d,c.height)};f.iB=function(a){this.ai||Di(this);B(a)?this.gf.innerHTML=a:(a=a.cloneNode(!0),this.gf.appendChild(a));a=this.gf.getBBox();lf(this.gf);return new I(a.x,a.y,a.width,a.height)};
f.Vp=function(a,b){this.b||(Rh(this),this.b={},Wc(this.Ki,"complete",function(){this.c=!1},!1,this),Wc(this.Ki,"load",this.LD,!1,this));this.b[va(b)]=[a,b];this.c=!0;Ih(this.Ki,a,a);this.Ki.start()};f.LD=function(a){var b=a.target;Ub(this.b,function(a,d){a[0]==b.id&&(a[1].call(this,b.naturalWidth,b.naturalHeight),delete this.b[d])},this)};f.TA=function(){return this.c};
function Ei(a){if(a.Sc())return null;var b=[];a.tA(function(a,d){switch(a){case 1:b.push("M");me(Array.prototype.push,d,b);break;case 2:b.push("L");me(Array.prototype.push,d,b);break;case 3:b.push("C");me(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=td(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(g-e),Math.round(h+c),Math.round(g+e),Math.round(h-c))}
f.zz=function(){var a=Bi("svg");jc||this.ma(a,"xmlns","http://www.w3.org/2000/svg");this.ma(a,"border","0");return a};f.vz=function(){return Bi("linearGradient")};f.oz=function(){return Bi("pattern")};f.pz=function(){return Bi("image")};f.Zo=function(){return Bi("g")};f.kz=function(){return Bi("circle")};f.xz=function(){return Bi("path")};f.nz=function(){return Bi("ellipse")};f.mz=function(){return Bi("defs")};f.yt=function(){return Bi("text")};f.zt=function(){return Bi("tspan")};f.ul=function(a){return document.createTextNode(String(a))};
f.iC=function(a){var b=a.Pe();Ci(this,a.W(),{x:b.left,y:b.top,width:b.width,height:b.height,patternUnits:"userSpaceOnUse"})};f.jC=function(a){var b=a.Pe();this.Vp(a.src(),oa);var c=a.src()||"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",d=a.W();Ci(this,d,{x:b.left,y:b.top,width:b.width,height:b.height,"image-rendering":"optimizeQuality",preserveAspectRatio:a.Uh()+" "+a.$j(),opacity:a.opacity()});d.setAttributeNS("http://www.w3.org/1999/xlink","href",c)};
f.fC=function(a,b){var c=a.W();c&&(c.style.cursor=b||"")};f.lv=function(a){var b=a.W();this.ma(b,"x",a.h);this.ma(b,"y",a.O)};
f.sC=function(a){var b=a.style(),c=a.W();if(a.$h()){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"]="",jc&&9==Bc||ic)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",jc&&9==Bc||ic)this.ma(c,"unselectable","on"),this.ma(c,"onselectstart","return false;");b.fontStyle?this.ma(c,"font-style",b.fontStyle):c.removeAttribute("font-style");b.fontVariant?lc?c.style["font-variant"]=b.fontVariant:this.ma(c,"font-variant",b.fontVariant):lc?c.style["font-variant"]="":c.removeAttribute("font-variant");b.fontFamily?this.ma(c,"font-family",b.fontFamily):c.removeAttribute("font-family");
b.fontSize?this.ma(c,"font-size",b.fontSize):c.removeAttribute("font-size");b.fontWeight?this.ma(c,"font-weight",b.fontWeight):c.removeAttribute("font-weight");b.color?this.ma(c,"fill",b.color):c.removeAttribute("fill");b.letterSpacing?this.ma(c,"letter-spacing",b.letterSpacing):c.removeAttribute("letter-spacing");b.decoration?this.ma(c,"text-decoration",b.decoration):c.removeAttribute("text-decoration");b.direction?this.ma(c,"direction",b.direction):c.removeAttribute("direction");b.hAlign?this.ma(c,
"text-anchor","rtl"==b.direction?lc||jc?"end"==b.hAlign||"left"==b.hAlign?hi:b.hAlign==hi||"right"==b.hAlign?"end":"middle":"end"==b.hAlign||"left"==b.hAlign?"end":b.hAlign==hi||"right"==b.hAlign?hi:"middle":"end"==b.hAlign||"right"==b.hAlign?"end":b.hAlign==hi||"left"==b.hAlign?hi:"middle"):c.removeAttribute("text-anchor");c.style.opacity=b.opacity?b.opacity:"1"};f.qw=function(a){var b=a.W(),c=a.parent();(a.m||a.j)&&this.ma(b,"x",c.h+a.j);this.ma(b,"dy",a.f)};
f.rw=function(a){var b=a.b,c=a.W(),d=a.parent();a=this.ul(a.text);c.appendChild(a);if(jc&&9==Bc||ic)d.$h()?(c.removeAttribute("onselectstart"),c.removeAttribute("unselectable")):(this.ma(c,"onselectstart","return false;"),this.ma(c,"unselectable","on"));b.fontStyle&&this.ma(c,"font-style",b.fontStyle);b.fontVariant&&this.ma(c,"font-variant",b.fontVariant);b.fontFamily&&this.ma(c,"font-family",b.fontFamily);b.fontSize&&this.ma(c,"font-size",b.fontSize);b.fontWeight&&this.ma(c,"font-weight",b.fontWeight);
b.color&&this.ma(c,"fill",b.color);b.letterSpacing&&this.ma(c,"letter-spacing",b.letterSpacing);b.Fg&&this.ma(c,"text-decoration",b.Fg)};
function Hi(a,b,c){var d=Ii(c,b.keys,b.cx,b.cy,b.fx,b.fy,b.opacity,b.mode,b.transform);if(!d.Bn){var e=Bi("radialGradient");Ji(a,e,d.id());a.appendChild(c.W(),e);d.tl=c;d.Bn=!0;ib(d.keys,function(a){var b=Bi("stop");Ci(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.zd?Ci(a,e,{cx:d.zi*d.zd.width+d.zd.left,cy:d.Ai*d.zd.height+d.zd.top,fx:d.b*d.zd.width+d.zd.left,fy:d.c*d.zd.height+d.zd.top,r:Math.min(d.zd.width,
d.zd.height)/2,spreadMethod:"pad",gradientUnits:"userSpaceOnUse"}):Ci(a,e,{cx:d.zi,cy:d.Ai,fx:d.b,fy:d.c,gradientUnits:"objectBoundingBox"});d.transform&&a.ma(e,"gradientTransform",d.transform.toString())}return d.id()}
function Ki(a,b,c,d){var e=Li(c,b.keys,b.opacity,!0===b.mode?Qh(b.angle,d):b.angle,b.mode,b.transform);if(!e.An){var g=a.vz();Ji(a,g,e.id());a.appendChild(c.W(),g);e.sl=c;e.An=!0;ib(e.keys,function(a){var b=Bi("stop");Ci(this,b,{offset:a.offset,style:"stop-color:"+a.color+";stop-opacity:"+(isNaN(a.opacity)?e.opacity:a.opacity)});this.appendChild(g,b)},a);e.b?(b=Gi(e.Wh,e.b),Ci(a,g,{x1:b.b,y1:b.f,x2:b.c,y2:b.g,spreadMethod:"pad",gradientUnits:"userSpaceOnUse"})):(b=Fi(e.Wh),Ci(a,g,{x1:b.b,y1:b.f,x2:b.c,
y2:b.g,gradientUnits:"objectBoundingBox"}));e.transform&&a.ma(g,"gradientTransform",e.transform.toString())}return e.id()}
function Mi(a,b){var c=b.fill(),d=b.$().b,e="url("+Ni()+"#";if(B(c))a.ma(b.W(),"fill",c),b.W().removeAttribute("fill-opacity");else if(y(c.keys)&&c.cx&&c.cy)a.ma(b.W(),"fill",e+Hi(a,c,d)+")"),b.W().removeAttribute("fill-opacity");else if(y(c.keys))b.xa()&&(a.ma(b.W(),"fill",e+Ki(a,c,d,b.xa())+")"),b.W().removeAttribute("fill-opacity"));else if(c.src){var g=b.Pe();g?(g.width=g.width||0,g.height=g.height||0,g.left=g.left||0,g.top=g.top||0):g=new I(0,0,0,0);"tile"==c.mode?Oi(d,c.src,g,c.mode,c.opacity,
function(a){a.id();a.parent(b.$()).wc();bg.ma(b.W(),"fill",e+a.id()+")")}):(d=Oi(d,c.src,g,c.mode,c.opacity),d.id(),d.parent(b.$()).wc(),a.ma(b.W(),"fill",e+d.id()+")"))}else c instanceof rg?(c=Pi(d,c.type,c.color,c.b,c.size),c.id(),c.parent(b.$()).wc(),a.ma(b.W(),"fill",e+c.id()+")")):c instanceof $d?(c.id(),c.parent(b.$()).wc(),a.ma(b.W(),"fill",e+c.id()+")")):(1E-4>=c.opacity&&jc&&Ac("9")&&(c.opacity=1E-4),Ci(a,b.W(),{fill:c.color,"fill-opacity":c.opacity}))}
function Qi(a,b){var c=b.stroke(),d=b.$().b,e=b.W(),g="url("+Ni()+"#";if(B(c))a.ma(e,"stroke",c);else if(y(c.keys)&&c.cx&&c.cy)a.ma(e,"stroke",g+Hi(a,c,d)+")");else if(y(c.keys)){if(!b.xa())return;a.ma(e,"stroke",g+Ki(a,c,d,b.xa())+")")}else a.ma(e,"stroke",c.color);c.lineJoin?a.ma(e,"stroke-linejoin",c.lineJoin):e.removeAttribute("stroke-linejoin");c.lineCap?a.ma(e,"stroke-linecap",c.lineCap):e.removeAttribute("stroke-linecap");c.opacity?a.ma(e,"stroke-opacity",c.opacity):e.removeAttribute("stroke-opacity");
c.thickness?a.ma(e,"stroke-width",c.thickness):e.removeAttribute("stroke-width");c.dash?a.ma(e,"stroke-dasharray",c.dash):e.removeAttribute("stroke-dasharray")}f.Hy=function(a){Mi(this,a);Qi(this,a)};f.uC=function(a){a.visible()?a.W().removeAttribute("visibility"):this.ma(a.W(),"visibility","hidden")};f.gj=function(a){var b=a.Sa;b&&!Kd(b)?this.ma(a.W(),"transform",b.toString()):a.W().removeAttribute("transform")};
f.qC=function(a){var b=a.Sa;b&&!Kd(b)?this.ma(a.W(),"patternTransform",b.toString()):a.W().removeAttribute("patternTransform")};f.pC=Ai.prototype.gj;f.kC=Ai.prototype.gj;f.mC=Ai.prototype.gj;f.tC=Ai.prototype.gj;f.hC=Ai.prototype.gj;f.Aq=function(a,b,c){Ci(this,a,{width:b,height:c})};f.kv=function(a,b){Ji(this,a.W(),b)};function Ji(a,b,c){b&&(c?a.ma(b,"id",c):b.removeAttribute("id"))}
f.mv=function(a,b){var c=a.W();c&&(null!=b?(a.Yg||(a.Yg=Bi("title"),this.ma(a.Yg,"aria-label","")),pf(a.Yg)||mf(c,a.Yg),a.Yg.innerHTML=b):a.Yg&&c.removeChild(a.Yg))};f.iv=function(a,b){var c=a.W();c&&(null!=b?(a.Gg||(a.Gg=Bi("desc"),this.ma(a.Gg,"aria-label","")),pf(a.Gg)||mf(c,a.Gg),a.Gg.innerHTML=b):a.Gg&&c.removeChild(a.Gg))};f.dC=function(a,b){var c=a.W();if(c&&z(b))for(var d in b){var e=b[d];null===e?c.removeAttribute(d):this.ma(c,d,e)}};f.pw=function(a,b){return a?a.getAttribute(b):void 0};
f.gC=function(a,b){var c=a.W();c&&(b?this.ma(c,"vector-effect","non-scaling-stroke"):c.removeAttribute("vector-effect"))};f.lC=oa;f.eC=function(a){Ci(this,a.W(),{cx:a.ph(),cy:a.qh(),r:a.Zu()})};f.jv=function(a){Ci(this,a.W(),{cx:a.ph(),cy:a.qh(),rx:a.pf(),ry:a.ah()})};f.oC=function(a){var b=Ei(a);b?this.ma(a.W(),"d",b):this.ma(a.W(),"d","M 0,0")};
f.Pz=function(a){for(var b=a.g,c=0;c2*this.f&&sj(this),!0):!1};function sj(a){if(a.f!=a.b.length){for(var b=0,c=0;bb)throw Error("Bad port number "+b);a.m=b}else a.m=null}function zj(a,b,c){b instanceof Bj?(a.g=b,Kj(a.g,a.b)):(c||(b=Cj(b,Lj)),a.g=new Bj(b,0,a.b))}function Aj(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function Cj(a,b,c){return B(a)?(a=encodeURI(a).replace(b,Mj),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}
function Mj(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}var Dj=/[#\/\?@]/g,Ij=/[\#\?:]/g,Hj=/[\#\?]/g,Lj=/[\#\?@]/g,Jj=/#/g;function Bj(a,b,c){this.c=this.b=null;this.f=a||null;this.g=!!c}function Nj(a){a.b||(a.b=new rj,a.c=0,a.f&&vj(a.f,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))}
function Oj(a){var b=pj(a);if("undefined"==typeof b)throw Error("Keys are undefined");var c=new Bj(null,0,void 0);a=oj(a);for(var d=0;db.length){c.push(dk(a)+"(");for(var d=a.arguments,e=0;d&&e=pk(this).value)for(ua(b)&&(b=b()),a=new fk(a,String(b),this.g),c&&(a.b=c),c="log:"+a.c,m.console&&(m.console.timeStamp?m.console.timeStamp(c):m.console.markTimeline&&m.console.markTimeline(c)),m.msWriteProfilerMark&&m.msWriteProfilerMark(c),c=this;c;)c=c.getParent()};var qk={},rk=null;
function sk(a){rk||(rk=new hk(""),qk[""]=rk,rk.f=mk);var b;if(!(b=qk[a])){b=new hk(a);var c=a.lastIndexOf("."),d=a.substr(c+1),c=sk(a.substr(0,c));c.c||(c.c={});c.c[d]=b;b.b=c;qk[a]=b}return b};function tk(a,b){a&&a.log(lk,b,void 0)}function uk(a,b){a&&a.log(nk,b,void 0)};function vk(){}vk.prototype.b=null;function wk(a){var b;(b=a.b)||(b={},xk(a)&&(b[0]=!0,b[1]=!0),b=a.b=b);return b};var yk;function zk(){}G(zk,vk);function Ak(a){return(a=xk(a))?new ActiveXObject(a):new XMLHttpRequest}function xk(a){if(!a.c&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;ca&&!isNaN(this.Rj)&&clearTimeout(this.Rj),this.Sp=a,this.Ag(!0)),this):this.Sp};f.C=function(a){return p(a)?(a=Xe(a||null),this.pe!=a&&(this.pe=a,Wk(this),this.Ag(!0),this.wc()),this):this.pe?this.f:null};f.jK=function(){return this.pe};f.Vt=function(){return this.f};f.Yb=function(){this.pn++;return this};f.Vb=function(a){this.pn=a?0:Math.max(this.pn-1,0);this.wc();return this};f.eJ=function(a){return p(a)?(this.nt=!!a,this):this.nt};
f.Bb=function(){return!!this.pn};f.pD=function(){return this.kj};f.title=function(a){return p(a)?(this.Dn!=a&&(this.Dn=a,bg.mv(this,this.Dn)),this):this.Dn};f.eD=function(a){return p(a)?(this.Cn!=a&&(this.Cn=a,bg.iv(this,this.Cn)),this):this.Cn};f.visible=function(a){if(!arguments.length)return this.c.visible();this.c.visible(a);return this};
f.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.sw();break;case "ellipse":b=this.tw();break;case "image":b=this.ld();break;case "text":b=this.text();break;case "path":b=this.ca();break;case "layer":b=this.Md();break;default:b=null}else this.width(a.width),this.height(a.height),a.type="layer",this.c.jc(a),this.c.id(""),"id"in a&&this.id(a.id);b&&b.jc(a);return this}return this.w()};f.remove=function(){return this.C(null)};
f.kD=function(){return 0};f.lD=function(){return 0};f.xa=function(){return new I(0,0,this.width(),this.height())};f.clip=function(a){return this.c.clip(a)};f.Id=function(){return"stage"};f.aq=function(a){this.c.aq(a)};f.gm=oa;
f.Ag=function(a,b){a&&!isNaN(this.Rj)&&clearTimeout(this.Rj);this.Rj=NaN;var c,d;c=isNaN(this.rp);d=isNaN(this.qp);var e=c||d,g;if(e){var h=this.pe?Nf(this.pe):new zd(NaN,NaN);h.width=Math.max(h.width||0,0);h.height=Math.max(h.height||0,0);g=!h.width&&!h.height;c=c?h.width:this.rp;d=d?h.height:this.qp}else c=this.rp,d=this.qp,g=!1;c==this.na&&d==this.qa||g||(this.na=c,this.qa=d,b||this.dispatchEvent("stageresize"));this.pe&&e&&(this.Rj=setTimeout(this.Ag,this.Sp))};
function Uk(a,b){if(a.ap!=b){var c=parseFloat(b);if(!isNaN(c))return a.ap=E(b)?b:String(b),a.rp=B(b)&&Ga(b,"%")?NaN:c,a.f.style.width=If(a.ap,!0),!0}return!1}function Vk(a,b){if(a.$o!=b){var c=parseFloat(b);if(!isNaN(c))return a.$o=E(b)?b:String(b),a.qp=B(b)&&Ga(b,"%")?NaN:c,a.f.style.height=If(a.$o,!0),!0}return!1}f.jJ=function(){this.b.clear()};f.w=function(){var a=this.c.w();this.Xh&&(a.id=this.Xh);a.width=this.ap;a.height=this.$o;delete a.type;return a};
function Xk(a){a.f?(a=a.f,1==a.nodeType?(a=Jf(a),a=new wd(a.left,a.top)):(a=a.changedTouches?a.changedTouches[0]:a,a=new wd(a.clientX,a.clientY))):a=new wd(0,0);return a}f.Ew=function(a){this.Bf+=a;return a};f.MD=function(a){a=Math.min(500-this.Bf,a);this.Bf+=a;return a};f.yl=Tk.prototype.Ew;f.wc=function(){if(!this.pn&&this.pe&&!this.kj)if(this.kj=!0,this.dispatchEvent("renderstart"),this.Bf=0,this.nt)this.yl=this.MD,setTimeout(this.pq,0);else{this.yl=this.Ew;this.Tc();if(this.c.Cf)throw oe(6);Yk(this)}};
function Wk(a){a.pe?a.f.parentNode!=a.pe&&a.pe.appendChild(a.f):nf(a.f)}f.pq=function(){this.Tc();this.c.Cf?setTimeout(this.pq,0):Yk(this)};f.Tc=function(){if(this.j&&this.j.length){for(var a=0;ak?[k/h*d,k]:[c,k],k[0]-=e||0,k[1]-=g||0,a=a.Yh(k[0],
k[1])):a=a.Yh(b["pdf-width"],b["pdf-height"]);b.data=a;b.dataType="svg";b.responseType="file"}f.zw=function(a,b,c,d,e,g,h,k){if(bl==cl){var l={};fl(this,l,d,e,g,h,k);Zk("pdf",l,!!c,!0,a,b)}else alert(oe(15))};f.ww=function(a,b,c,d,e){if(bl==cl){var g={};al(this,g,c,d,e);Zk("png",g,!0,!1,a,b)}else alert(oe(15))};f.uw=function(a,b,c,d,e,g){if(bl==cl){var h={};dl(this,h,c,d,e,g);Zk("jpg",h,!0,!1,a,b)}else alert(oe(15))};f.xw=function(a,b,c,d){if(bl==cl){var e={};el(this,e,c,d);Zk("svg",e,!0,!1,a,b)}else alert(oe(15))};
f.vw=function(a,b,c,d,e,g){if(bl==cl){var h={};fl(this,h,c,d,e,g);Zk("pdf",h,!0,!1,a,b)}else alert(oe(15))};f.Jh=function(a,b,c,d){if(bl==cl){var e={};al(this,e,a,b,c,d);gl($k+"/png",e)}else alert(oe(15))};f.Hh=function(a,b,c,d,e){if(bl==cl){var g={};dl(this,g,a,b,c,d,e);gl($k+"/jpg",g)}else alert(oe(15))};f.Ih=function(a,b,c,d,e){if(bl==cl){var g={};fl(this,g,a,b,c,d,e);gl($k+"/pdf",g)}else alert(oe(15))};f.Kh=function(a,b,c){if(bl==cl){var d={};el(this,d,a,b,c);gl($k+"/svg",d)}else alert(oe(15))};
f.print=function(a,b){if(p(a)||p(b)){var c=fe(a,b,"usletter"),d=bj().contentWindow.document,e=ff("DIV");Bf(e,{width:c.width,height:c.height});d.body.appendChild(e);var c=this.width(),d=this.height(),g=Nf(e);this.lj(g.width,g.height);g=this.W();"svg"==g.tagName&&g.cloneNode?(g=g.cloneNode(!0),e.appendChild(g)):hl(e).data(this.data());this.lj(c,d)}else e=bj().contentWindow.document,d=this.W(),"svg"==d.tagName?d.cloneNode?c=d.cloneNode(!0):(d=hl(e.body),d.data(this.data()),c=d.W()):(d=hl(e.body),d.data(this.data())),
d=c,g=bg,g.ma(d,"width","100%"),g.ma(d,"height","100%"),g.ma(d,"viewBox","0 0 "+this.width()+" "+this.height()),Bf(d,"width","100%"),Bf(d,"height",""),Bf(d,"max-height","100%"),e.body.appendChild(c);fj()};
f.Yh=function(a,b){if(bl!=cl)return"";var c;if(p(a)||p(b)){c=fe(a,b);var d=pf(this.W()),e=Ef(d,"width"),d=Ef(d,"height");this.lj(c.width,c.height);c=il(this.W());this.lj(e,d)}else bg.Aq(this.W(),this.width(),this.height()),c=il(this.W()),bg.Aq(this.W(),"100%","100%");return''+c};function il(a){var b="";a&&(b=(new XMLSerializer).serializeToString(a));return b}f.Md=Tg.prototype.Md;f.JD=Tg.prototype.mw;f.text=Tg.prototype.text;f.oD=Tg.prototype.Wv;
f.rect=Tg.prototype.rect;f.ld=Tg.prototype.ld;f.vD=Tg.prototype.$v;f.uD=Tg.prototype.Zv;f.ID=Tg.prototype.lw;f.sw=Tg.prototype.Br;f.tw=Tg.prototype.Cr;f.ca=Tg.prototype.ca;f.wD=Tg.prototype.aw;f.yD=Tg.prototype.cw;f.zD=Tg.prototype.dw;f.AD=Tg.prototype.ew;f.BD=Tg.prototype.fw;f.xD=Tg.prototype.bw;f.HD=Tg.prototype.kw;f.ED=Tg.prototype.hw;f.GD=Tg.prototype.jw;f.FD=Tg.prototype.iw;f.gD=Tg.prototype.Sv;f.dD=Tg.prototype.Qv;f.fD=Tg.prototype.Rv;f.mD=Tg.prototype.Uv;f.KD=Tg.prototype.nw;f.rD=Tg.prototype.Xv;
f.hD=Tg.prototype.Tv;f.lz=function(a,b,c,d){return new ig(this,a,b,c,d)};f.qD=function(a){return new $d(a)};f.PK=function(a,b,c,d){return ee(a,b,c,d)};f.Ja=function(){return this.c.Ja()};f.ob=function(a){this.c.ob(a);return this};f.bc=function(a,b){this.c.bc(a,b);return this};f.jD=function(a){return this.c.Dr(a)};f.removeChild=function(a){return this.c.removeChild(a)};f.sD=function(a){return this.c.yn(a)};f.tD=function(){return this.c.zn()};f.nD=function(a){return this.c.Vv(a)};f.Tb=function(a){return this.c.Tb(a)};
f.CD=function(a,b){this.c.gw(a,b);return this};f.DD=function(a,b){this.c.Er(a,b);return this};f.iD=function(a,b){this.c.Vh(a,b);return this};f.nf=function(a,b,c){this.c.nf(a,b,c);return this};f.Zm=function(a,b){this.c.Zm(a,b);return this};f.fj=function(a,b,c){this.c.fj(a,b,c);return this};f.gn=function(a,b){this.c.gn(a,b);return this};f.Th=function(a,b){this.c.Th(a,b);return this};f.rl=function(a,b){this.c.rl(a,b);return this};f.scale=function(a,b,c,d){this.c.scale(a,b,c,d);return this};
f.xq=function(a,b,c){this.c.xq(a,b,c);return this};f.Oo=function(a,b,c,d,e,g){this.c.Oo(a,b,c,d,e,g);return this};f.Va=function(a,b,c,d,e,g){this.c.Va(a,b,c,d,e,g);return this};f.ek=function(){return this.c.ek()};f.Ap=function(){return this.c.Ap()};f.qc=function(){return null};f.dispatchEvent=function(a){B(a)?a=a.toLowerCase():"type"in a&&(a.type=String(a.type).toLowerCase());return Tk.s.dispatchEvent.call(this,a)};f.ba=function(a,b,c,d){return Tk.s.ba.call(this,String(a).toLowerCase(),b,c,d)};
f.Rc=function(a,b,c,d){return Tk.s.Rc.call(this,String(a).toLowerCase(),b,c,d)};f.vc=function(a,b,c,d){return Tk.s.vc.call(this,String(a).toLowerCase(),b,c,d)};f.Fe=function(a){p(a)&&(a=String(a).toLowerCase());return Tk.s.Fe.call(this,a)};
f.Lg=function(a){var b=new Si(a,this);if(b.target instanceof Zf){b.target.dispatchEvent(b);var c=b.type;b.l&&a.preventDefault();b.relatedTarget instanceof Zf&&b.relatedTarget.$()==this||("mouseover"==c?this.g.ba(document,"mousemove",this.Lg,!1):"mouseout"==c&&this.g.vc(document,"mousemove",this.Lg,!1));switch(c){case "mousedown":this.g.ba(document,"mouseup",this.Lg,!1);break;case "mouseup":this.g.vc(document,"mouseup",this.Lg,!1);break;case "touchstart":this.g.ba(document,"touchmove",this.Lg,!1);
break;case "touchend":this.g.vc(document,"touchmove",this.Lg,!1);break;case "pointerdown":this.g.ba(document,"pointermove",this.Lg,!1);break;case "pointerup":this.g.vc(document,"pointermove",this.Lg,!1)}}};f.K=function(){Tk.s.K.call(this);Nb(this.g);this.g=null;Nb(this.c);this.Tc();delete this.c;Nb(this.b);delete this.b;pg(this);nf(this.f);this.pe=null;delete this.f;this.Za=null;this.v&&(this.v.rd(),this.v=null)};var J=Tk.prototype;F("acgraph.vector.Stage",Tk);J.id=J.id;J.container=J.C;
J.getContainerElement=J.jK;J.getDomWrapper=J.Vt;J.maxResizeDelay=J.hL;J.dispose=J.rd;J.getBounds=J.xa;J.layer=J.Md;J.unmanagedLayer=J.JD;J.circle=J.sw;J.ellipse=J.tw;J.rect=J.rect;J.truncatedRect=J.ID;J.roundedRect=J.vD;J.roundedInnerRect=J.uD;J.path=J.ca;J.star=J.wD;J.star4=J.yD;J.star5=J.zD;J.star6=J.AD;J.star7=J.BD;J.star10=J.xD;J.diamond=J.gD;J.triangleUp=J.HD;J.triangleDown=J.ED;J.triangleRight=J.GD;J.triangleLeft=J.FD;J.cross=J.dD;J.diagonalCross=J.fD;J.hLine=J.mD;J.vLine=J.KD;J.pie=J.rD;
J.donut=J.hD;J.text=J.text;J.html=J.oD;J.image=J.ld;J.data=J.data;J.saveAsPNG=J.Jh;J.saveAsJPG=J.Hh;J.saveAsPDF=J.Ih;J.saveAsSVG=J.Kh;J.saveAsPng=J.Jh;J.saveAsJpg=J.Hh;J.saveAsPdf=J.Ih;J.saveAsSvg=J.Kh;J.shareAsPng=J.Aw;J.shareAsJpg=J.yw;J.shareAsPdf=J.zw;J.shareAsSvg=J.Bw;J.getPngBase64String=J.ww;J.getJpgBase64String=J.uw;J.getSvgBase64String=J.xw;J.getPdfBase64String=J.vw;J.print=J.print;J.toSvg=J.Yh;J.pattern=J.qD;J.hatchFill=J.PK;J.clearDefs=J.jJ;J.numChildren=J.Ja;J.addChild=J.ob;
J.addChildAt=J.bc;J.removeChild=J.removeChild;J.removeChildAt=J.sD;J.removeChildren=J.tD;J.swapChildren=J.CD;J.swapChildrenAt=J.DD;J.getChildAt=J.jD;J.hasChild=J.nD;J.forEachChild=J.iD;J.indexOfChild=J.Tb;J.getX=J.kD;J.getY=J.lD;J.width=J.width;J.height=J.height;J.getBounds=J.xa;J.resize=J.lj;J.asyncMode=J.eJ;J.resume=J.Vb;J.suspend=J.Yb;J.isRendering=J.pD;J.isSuspended=J.Bb;J.remove=J.remove;J.domElement=J.W;J.visible=J.visible;J.rotate=J.nf;J.rotateByAnchor=J.Zm;J.setRotation=J.fj;
J.setRotationByAnchor=J.gn;J.translate=J.Th;J.setPosition=J.rl;J.scale=J.scale;J.scaleByAnchor=J.xq;J.appendTransformationMatrix=J.Oo;J.setTransformationMatrix=J.Va;J.getRotationAngle=J.ek;J.getTransformationMatrix=J.Ap;J.clip=J.clip;J.createClip=J.lz;J.parent=J.parent;J.getStage=J.$;J.listen=J.ba;J.listenOnce=J.Rc;J.unlisten=J.vc;J.unlistenByKey=J.sn;J.removeAllListeners=J.Fe;J.title=J.title;J.desc=J.eD;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 jl(a){nj.call(this,a);this.c={}}G(jl,nj);jl.prototype.clear=function(){Zb(this.c);jl.s.clear.call(this)};function Bg(a,b){var c=je(ie.rc(),b),d=a.c[c];if(!d){var d=a.c,e;e=Bi("clipPath");d[c]=d=e}return d}jl.prototype.K=function(){jl.s.K.call(this);for(var a in this.c)delete this.c[a];delete this.c};function kl(a,b,c){Tk.call(this,a,b,c)}G(kl,Tk);kl.prototype.l=function(){return new jl(this)};function ll(a,b,c,d,e){ig.call(this,a,b,c,d,e)}G(ll,ig);ll.prototype.wc=function(){var a=xg(this),b=a&&!a.Bb();b&&a.Yb();ib(this.g,function(a){a.ia(512)},this);b&&a.Vb()};function ml(a,b,c,d,e,g,h){kj.call(this,a,b,c,b,b,g,h);this.Eq=d;this.Fq=e}G(ml,kj);function nl(a,b,c,d,e,g,h){g=null!=g?qd(g,0,1):1;var k=[];ib(a,function(a){k.push(""+a.offset+a.color+(a.opacity?a.opacity:null))});return k.join("")+g+b+c+d+e+(h?""+h.left+h.top+h.width+h.height:"")};var ol={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 pl(a){var b={};a=String(a);var c="#"==a.charAt(0)?a:"#"+a;if(ql.test(c))return b.Ld=rl(c),b.type="hex",b;a:{var d=a.match(sl);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.Ld=be(c),b.type="rgb",b;if(ol&&(c=ol[a.toLowerCase()]))return b.Ld=c,b.type="named",b;throw Error(a+" is not a valid color string");}var ul=/#(.)(.)(.)/;
function rl(a){if(!ql.test(a))throw Error("'"+a+"' is not a valid hex color");4==a.length&&(a=a.replace(ul,"#$1$1$2$2$3$3"));return a.toLowerCase()}function vl(a){a=rl(a);return[parseInt(a.substr(1,2),16),parseInt(a.substr(3,2),16),parseInt(a.substr(5,2),16)]}function wl(a,b,c){a=Number(a);b=Number(b);c=Number(c);if(a!=(a&255)||b!=(b&255)||c!=(c&255))throw Error('"('+a+","+b+","+c+'") is not a valid RGB color');a=xl(a.toString(16));b=xl(b.toString(16));c=xl(c.toString(16));return"#"+a+b+c}
function be(a){return wl(a[0],a[1],a[2])}function yl(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 ql=/^#(?:[0-9a-f]{3}){1,2}$/i,sl=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;function xl(a){return 1==a.length?"0"+a:a}function zl(a,b,c){c=qd(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 dj=5;function cj(){for(var a=document.styleSheets,b=[],c=Al(a),d=0;a=c[d];d++){var e=Bl(a);if(e&&e.length)for(var g=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=td(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{Cc:new wd(Math.round(g-e),Math.round(h+c)),vd:new wd(Math.round(g+e),Math.round(h-c))}}
function Ql(a,b){var c,d;b.Cc.x==b.vd.x?(c=b.Cc.x,d=a.y):b.Cc.y==b.vd.y?(c=a.x,d=b.Cc.y):(c=(b.Cc.x*Math.pow(b.vd.y-b.Cc.y,2)+a.x*Math.pow(b.vd.x-b.Cc.x,2)+(b.vd.x-b.Cc.x)*(b.vd.y-b.Cc.y)*(a.y-b.Cc.y))/(Math.pow(b.vd.y-b.Cc.y,2)+Math.pow(b.vd.x-b.Cc.x,2)),d=(b.vd.x-b.Cc.x)*(a.x-c)/(b.vd.y-b.Cc.y)+a.y);c=new wd(c,d);d=[qd(b.Cc.x-b.vd.x,-1,1),qd(b.Cc.y-b.vd.y,-1,1)];var e=[qd(b.Cc.x-c.x,-1,1),qd(b.Cc.y-c.y,-1,1)],g=[qd(b.vd.x-c.x,-1,1),qd(b.vd.y-c.y,-1,1)];return 0>(d[0]?(e[0]+g[0])*d[0]:(e[1]+g[1])*
d[1])?-xd(b.Cc,c):xd(b.Cc,c)}
function Rl(a,b,c,d){var e=Pl(c,d);d=xd(e.Cc,e.vd);var g=Pl(c,b);b=xd(g.Cc,g.vd);c=Ql(e.Cc,g);var e=Ql(e.vd,g),g={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;bg.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>g?l?h>g:hh)?h:g);h=k.width*g;k=k.height*g;switch(e){case Bh:e=b.width;g=b.height;break;case "xMinYMin":e=b.left;g=b.top;break;case "xMidYMin":e=b.left+b.width/2-h/2;g=b.top;break;case "xMaxYMin":e=b.left+
b.width-h;g=b.top;break;case "xMinYMid":e=b.left;g=b.top+b.height/2-k/2;break;default:case "xMidYMid":e=b.left+b.width/2-h/2;g=b.top+b.height/2-k/2;break;case "xMaxYMid":e=b.left+b.width-h;g=b.top+b.height/2-k/2;break;case "xMinYMax":e=b.left;g=b.top+b.height-k;break;case "xMidYMax":e=b.left+b.width/2-h/2;g=b.top+b.height-k;break;case "xMaxYMax":e=b.left+b.width-h,g=b.top+b.height-k}}Kl(this,c.style,{position:"absolute",left:Ml(e),top:Ml(g),width:Ml(h),height:Ml(k)});this.ma(c,"src",d);a.clip(b)};
f.eC=function(a){this.jv(a)};f.jv=function(a){var b=a.W();Jl(this,b);var c=a.ph(),d=a.qh(),e=a.pf(),g=a.ah(),h=a.qc();h&&!Kd(h)?(c=Ed(c,d,e,g,0,360,!1),d=c.length,h.transform(c,0,c,0,d/2),h=["m",this.hc(c[d-2]),this.hc(c[d-1]),"c"],me(Array.prototype.push,kb(c,this.hc),h)):h=["ae",this.hc(c),this.hc(d),this.hc(e),this.hc(g),0,Math.round(-23592960)];h.push("x");cg(a,4);cg(a,256);this.ma(b,"path",h.join(" "))};
f.oC=function(a){var b=a.W();Jl(this,b);var c=Nl(this,a);c?this.ma(b,"path",c):(this.ma(b,"path","M 0,0"),b.removeAttribute("path"));cg(a,4);cg(a,256)};f.zt=function(){var a=this.c("shape"),b=this.c("path");b.setAttribute("textpathok","t");a.appendChild(b);return a};f.yt=function(){return document.createElement("span")};f.ul=function(a){var b=this.c("textpath");b.setAttribute("on","t");b.setAttribute("string",a);return b};f.fC=function(a,b){var c=a.W();c&&(c.style.cursor=b||"")};
f.lv=function(a){var b=a.W().style,c,d;Sl(a)?(d=a.O,a.b.length&&(d-=a.b[0].c),c=a.h,Kl(this,b,{position:"absolute",overflow:"visible",left:Ml(c),top:Ml(d)})):(c=a.x(),d=a.y(),a.og()&&a.height()&&a.height()>a.j&&("middle"==a.og()&&(d+=a.height()/2-a.j/2),"bottom"==a.og()&&(d+=a.height()-a.j)),Kl(this,b,{position:"absolute",overflow:"hidden",left:Ml(c),top:Ml(d)}))};
f.sC=function(a){var b=a.W(),c=b.style;b.style.cssText="";if(Sl(a))Kl(this,c,{width:Ml(1),height:Ml(1)}),b.innerHTML="";else if(null!=a.Na){a.fontSize()&&Bf(b,"font-size",a.fontSize());a.color()&&Bf(b,"color",a.color());a.fontFamily()&&Bf(b,"font-family",a.fontFamily());a.fontStyle()&&Bf(b,"font-style",a.fontStyle());a.fontVariant()&&Bf(b,"font-variant",a.fontVariant());a.fontWeight()&&Bf(b,"font-weight",a.fontWeight());a.letterSpacing()&&Bf(b,"letter-spacing",a.letterSpacing());a.Fg()&&Bf(b,"text-decoration",
a.Fg());a.opacity()&&(c.filter="alpha(opacity="+100*a.opacity()+")");a.vl()&&Bf(b,"line-height",a.vl());a.wl()&&Bf(b,"text-indent",a.wl());"..."==a.rf()&&Bf(b,"text-overflow","ellipsis");""==a.rf()&&Bf(b,"text-overflow","clip");a.Zh()&&Bf(b,"direction",a.Zh());"byLetter"==a.xl()&&a.width()?(Bf(b,"word-break","break-all"),Bf(b,"white-space","normal")):(Bf(b,"word-break","normal"),Bf(b,"white-space","nowrap"));a.Ve()&&(b.style["text-align"]=a.g?"end"==a.Ve()||"left"==a.Ve()?"left":a.Ve()==hi||"right"==
a.Ve()?"right":"center":"end"==a.Ve()||"right"==a.Ve()?"right":a.Ve()==hi||"left"==a.Ve()?"left":"center");var d=!a.$h(),e=b.getElementsByTagName("*");if(Mf){if(d=d?"none":"",b.style&&(b.style[Mf]=d),e)for(var g=0,h;h=e[g];g++)h.style&&(h.style[Mf]=d)}else if(jc||ic)if(d=d?"on":"",b.setAttribute("unselectable",d),e)for(g=0;h=e[g];g++)h.setAttribute("unselectable",d);b.innerHTML=a.Na;this.ma(c,"width",String(a.width()?Ml(a.width()):a.xa().width));this.ma(c,"height",String(a.height()?Ml(a.height()):
a.xa().height))}};f.qw=function(a){a.W().setAttribute("path","m "+this.hc(a.x)+","+this.hc(a.y)+" l "+(this.hc(a.x)+1)+","+this.hc(a.y)+" e")};
f.rw=function(a){var b=a.parent(),c=b.style(),d=a.W(),c=bc(c);dc(c,a.b);a=this.ul(a.text);c.fontStyle&&Bf(a,"font-style",c.fontStyle);c.fontVariant&&Bf(a,"font-variant",c.fontVariant);c.fontFamily&&Bf(a,"font-family",c.fontFamily);c.fontSize&&Bf(a,"font-size",c.fontSize);c.fontWeight&&Bf(a,"font-weight",c.fontWeight);c.letterSpacing&&(a.style["v-text-spacing"]=c.letterSpacing);c.decoration&&Bf(a,"text-decoration",c.decoration);c.hAlign&&(a.style["v-text-align"]=b.g?"end"==c.hAlign||"left"==c.hAlign?
"left":c.hAlign==hi||"right"==c.hAlign?"right":"center":"end"==c.hAlign||"right"==c.hAlign?"right":c.hAlign==hi||"left"==c.hAlign?"left":"center");if(c.opacity){var e=this.c("fill");this.ma(e,"opacity",c.opacity);d.appendChild(e)}d.appendChild(a);b.$h()?d.removeAttribute("unselectable"):this.ma(d,"unselectable","on");Jl(this,d);d.setAttribute("filled","t");d.setAttribute("fillcolor",c.color);d.setAttribute("stroked","f")};f.pB=function(){return!0};
f.Hy=function(a){var b=a.fill();b instanceof $d&&(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,g=!B(b)&&"keys"in b&&!e,h=!e&&!g,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||g||n||q){var q=a.$(),n=q.b,w;w=a instanceof zg&&a.Sc()?new I(0,0,1,1):a.xa();if(g){t=b.mode instanceof
I;u=xb(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 x=b.mode?Qh(b.angle,w):b.angle;w=Li(n,t?Rl(u,b.mode,x,w):u,b.opacity,x,b.mode)}else if(e){var v;b.mode?(v=b.mode,r=Math.min(v.width,v.height),x=(b.cx*v.width-(w.left-v.left))/w.width,u=(b.cy*v.height-(w.top-v.top))/w.height,v=r/w.width*1,w=r/w.height*1):(x=b.cx,u=b.cy,v=w=1);w=Tl(n,b.keys,x,u,v,w,b.opacity,b.mode)}else w=b;
x=Ul(n,w,c);if(!x.Dw){v=this.c("shapetype");Ol(this,v,je(ie.rc(),x));this.appendChild(n.W(),v);x.Dw=!0;var A=null;if(g){var C=w;C.An&&(C=new hj(C.keys,C.opacity,C.Wh,C.mode),x.b=C);A=this.c("fill");u=C.keys;var D=[];ib(u,function(a){D.push(a.offset+" "+a.color)},this);q=sd(C.Wh+270);r=u[u.length-1];h=u[0];Kl(this,A,{type:"gradient",method:"none",colors:D.join(","),angle:q,color:h.color,opacity:t?C.opacity:isNaN(r.opacity)?C.opacity:r.opacity,color2:r.color,"o:opacity2":t?C.opacity:isNaN(h.opacity)?
C.opacity:h.opacity});this.appendChild(v,A);C.sl=n;C.An=!0}else e?(t=w,t.Bn&&(t=new ml(t.keys,t.zi,t.Ai,t.Eq,t.Fq,t.opacity,t.zd),x.b=t),A=this.c("fill"),u=t.keys,h=u[u.length-1],r=u[0],Kl(this,A,{src:q.pathToRadialGradientImage,size:t.Eq+","+t.Fq,origin:".5, .5",position:t.zi+","+t.Ai,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(v,
A),t.tl=n,t.Bn=!0):h&&(A=x.Ci?x.Ci:x.Ci=this.c("fill"),B(b)?(Kl(this,a.W(),{fillcolor:b,filled:"none"!=b}),Kl(this,A,{type:"solid",on:"none"!=b,color:b,opacity:1})):(Kl(this,a.W(),{fillcolor:b.color,filled:"none"!=b.color}),Kl(this,A,{type:"solid",on:"none"!=b.color,color:b.color,opacity:isNaN(b.opacity)?1:b.opacity})));this.appendChild(v,A);t=x.nn?x.nn:x.nn=this.c("stroke");n=c.thickness?c.thickness:1;q=(h=Vl(c.dash,n))?"flat":c.lineCap;Kl(this,t,{joinstyle:c.lineJoin||"miter",endcap:"butt"==q?"flat":
q,dashstyle:h,on:l,color:d,opacity:z(c)&&"opacity"in c?c.opacity:1,weight:n+"px"});this.appendChild(v,t)}if(e||g)h=w.keys[w.keys.length-1],Kl(this,a.W(),{fillcolor:h.color,filled:"none"!=h.color});Kl(this,a.W(),{filled:k,fillcolor:b.color||b,stroked:l,strokecolor:d,strokeweight:c.thickness?c.thickness+"px":"1px"});Kl(this,a.W(),{type:"#"+je(ie.rc(),x)})}else Kl(this,a.W(),{type:"",filled:k,fillcolor:b.color||b,stroked:l,strokecolor:d,strokeweight:c.thickness?c.thickness+"px":"1px"})};
function Vl(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.j&&("middle"==a.og()&&(g+=a.height()/2-a.j/2),"bottom"==a.og()&&(g+=a.height()-a.j)),Kl(this,d,{position:"absolute",overflow:"hidden",left:Ml(e+b.j),top:Ml(g+b.h)})}};f.Vm=function(){return!0};f.rC=oa;f.Pz=oa;f.gC=oa;
f.gv=function(a){var b=a instanceof Tg,c=a.clip();if(c){var c=c.shape(),c=c.Oe(c.Sa),c=c.clone(),d=a.W().style;p(b)&&b?(a=a.qc(),c=Jd(c,a)):(c.left-=a.yr(),c.top-=a.zr());a=c.left;b=c.top;this.ma(d,"clip",["rect(",b+"px",a+c.width+"px",b+c.height+"px",a+"px",")"].join(" "))}else Ll(a.W().style,"clip")};f.$p=function(){return!0};function Xl(a,b){Kb.call(this);this.b=a;this.c=b}G(Xl,Kb);function Yl(a){delete a.b;Cl.rc();nf(a.Ci);a.Ci=null}f=Xl.prototype;f.Ci=null;f.nn=null;f.Dw=!1;f.Id=function(){return"shapeType"};f.K=function(){delete this.b;delete this.c;Cl.rc();nf(this.Ci);this.Ci=null;Cl.rc();nf(this.nn);this.nn=null};function Zl(a){nj.call(this,a);this.c={};this.h={}}G(Zl,nj);Zl.prototype.clear=function(){Zb(this.c);Zb(this.h);Zl.s.clear.call(this)};
function Ul(a,b,c){var d="",d=B(b)?d+(b+"1"):b instanceof kj?nl(b.keys,b.zi,b.Ai,b.Eq,b.Fq,b.opacity,b.zd):b instanceof hj?ij(b.keys,b.opacity,b.Wh,b.mode):d+(b.color+b.opacity),e;if(B(c))e=c;else if("keys"in c){var g=0!=c.keys.length?c.keys[0]:c;e=g.color||"black";e+="opacity"in g?g.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(Xb(a.c,d))return a.c[d];b=new Xl(b,c);return a.c[d]=b}
function Tl(a,b,c,d,e,g,h,k){k=k?k:null;var l=nl(b,c,d,e,g,h,k);return Xb(a.h,l)?a.h[l]:a.h[l]=new ml(b,c,d,e,g,h,k)}Zl.prototype.NB=function(a){for(var b=lj(a.keys,a.zi,a.Ai,a.Eq,a.Fq,a.opacity,a.zd),c=Vb(this.c),d=0,e=c.length;dNumber(vc)&&(d.src='javascript:""');c.dd=Ue(c.Pc).c("IFRAME",d);d=c.dd.style;d.visibility="hidden";d.width=d.height="10px";d.display="none";mc?d.marginTop=d.marginLeft="-10px":(d.position="absolute",d.top=d.left="-10px");if(jc&&!Ac("11")){c.Pc.target=c.Ji||"";Ue(c.Pc).b.body.appendChild(c.dd);Wc(c.dd,"readystatechange",c.Ku,!1,c);try{c.b=!1,c.Pc.submit()}catch(oc){dd(c.dd,"readystatechange",c.Ku,!1,c),im(c)}}else{uk(c.kd,"Setting up iframes and cloning form");
Ue(c.Pc).b.body.appendChild(c.dd);var d=c.Ji+"_inner",e=qf(c.dd),g;document.baseURI?(g=La(d),ve("Short HTML snippet, input escaped, safe URL, for performance"),g='',g=Ne(g,null)):(g=La(d),ve("Short HTML snippet, input escaped, for performance"),g=Ne('',null));if(ic&&!mc){var h=e.documentElement;if(Te[h.tagName.toUpperCase()])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+
h.tagName+".");h.innerHTML=Le(g)}else e.write(Le(g));Wc(e.getElementById(d),"load",c.cq,!1,c);var k=Ye("TEXTAREA",c.Pc);g=0;for(h=k.length;g.");if("A"in Re)throw Error("Tag name is not allowed for SafeHtml.");A=null;var Ha;C="";if(v)for(var Ab in v){if(!Pe.test(Ab))throw Error('Invalid attribute name "'+Ab+'".');var Fc=v[Ab];if(null!=Fc){D=C;var kd,O=Ab,Q=Fc;if(Q instanceof se)Q=ue(Q);else if("style"==O.toLowerCase()){ba=Q;if(!z(ba))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+
typeof ba+" given: "+ba);if(!(ba instanceof we)){la=ba;h="";k=void 0;for(k in la){if(!/^[-_a-zA-Z0-9]+$/.test(k))throw Error("Name allows only [-_a-zA-Z0-9], got: "+k);var ab=la[k];if(null!=ab){if(ab instanceof se)ab=ue(ab);else if(Ae.test(ab)){n=l=!0;for(q=0;q";else{var yc=Se(Pa);Ha+=">"+Le(yc)+"";A=yc.ck()}var Hd=v&&v.dir;Hd&&(/^(ltr|rtl|auto)$/i.test(Hd)?A=0:A=null);T=Ne(Ha,A);w=Se(R,T,Oe("\nLine: "+x.lineNumber+"\n\nBrowser stack:\n"+x.stack+"-> [end]\n\nJS stack traversal:\n"+
bk(void 0)+"-> "))}catch(Nh){w=Oe("Exception trying to expose exception! You win, we lose. "+Nh)}w=Le(w);g&&g.log(jk,"Error when submitting form: "+w,void 0);dd(e.getElementById(d),"load",c.cq,!1,c);e.close();im(c)}}jm(c)}function hm(a,b){var c=Ue(a);qj(b,function(b,e){y(b)||(b=[b]);ib(b,function(b){b=c.c("INPUT",{type:"hidden",name:e,value:b});a.appendChild(b)})})}f=dm.prototype;f.kd=sk("goog.net.IframeIo");f.Pc=null;f.dd=null;f.Ji=null;f.wL=0;f.Kg=!1;f.fu=null;f.vu=null;f.Ii=null;
f.abort=function(){this.Kg&&(tk(this.kd,"Request aborted"),fd(km(this)),this.Kg=!1,this.dispatchEvent("abort"),lm(this))};f.K=function(){uk(this.kd,"Disposing iframeIo instance");this.Kg&&(uk(this.kd,"Aborting active request"),this.abort());dm.s.K.call(this);this.dd&&mm(this);jm(this);delete this.g;this.fu=this.vu=this.Pc=null;delete fm[this.c]};f.Mi=function(){return this.Kg};
f.Ku=function(){if("complete"==this.dd.readyState){dd(this.dd,"readystatechange",this.Ku,!1,this);var a;try{if(a=qf(this.dd),jc&&"about:blank"==a.location&&!navigator.onLine){im(this);return}}catch(b){im(this);return}nm(this,a)}};f.cq=function(){if(!ic||mc||"about:blank"!=(this.dd?qf(km(this)):null).location){dd(km(this),"load",this.cq,!1,this);try{nm(this,this.dd?qf(km(this)):null)}catch(a){im(this)}}};
function nm(a,b){uk(a.kd,"Iframe loaded");a.Kg=!1;var c;try{var d=b.body;a.vu=d.textContent||d.innerText}catch(e){c=1}c||"function"!=typeof a.g||(d=a.g(b))&&(c=4);(d=a.kd)&&d.log(ok,"Last content: "+a.vu,void 0);(d=a.kd)&&d.log(ok,"Last uri: "+a.fu,void 0);c?(uk(a.kd,"Load event occurred but failed"),im(a)):(uk(a.kd,"Load succeeded"),a.dispatchEvent("complete"),a.dispatchEvent("success"),lm(a))}function im(a){a.b||(a.Kg=!1,a.dispatchEvent("complete"),a.dispatchEvent("error"),lm(a),a.b=!0)}
function lm(a){tk(a.kd,"Ready for new requests");mm(a);jm(a);a.Pc=null;a.dispatchEvent("ready")}function mm(a){var b=a.dd;b&&(b.onreadystatechange=null,b.onload=null,b.onerror=null,a.f.push(b));a.Ii&&(m.clearTimeout(a.Ii),a.Ii=null);lc||ic&&!mc?a.Ii=nd(a.Qz,2E3,a):a.Qz();a.dd=null;a.Ji=null}f.Qz=function(){this.Ii&&(m.clearTimeout(this.Ii),this.Ii=null);for(;this.f.length;){var a=this.f.pop();tk(this.kd,"Disposing iframe");nf(a)}};function jm(a){a.Pc&&a.Pc==gm&&lf(a.Pc)}
function km(a){return a.dd?jc&&!Ac("11")?a.dd:qf(a.dd).getElementById(a.Ji+"_inner"):null}f.DC=function(){if(this.Kg){var a=this.dd?qf(km(this)):null;a&&!fc(a,"documentUri")?(dd(km(this),"load",this.cq,!1,this),navigator.onLine?(a=this.kd)&&a.log(kk,"Silent Firefox error detected",void 0):(a=this.kd)&&a.log(kk,"Firefox is offline so report offline error instead of silent error",void 0),im(this)):nd(this.DC,250,this)}};var om={};function hg(a){var b=a.W();if(b){var c=String(va(a));om[c]=a;b.setAttribute("data-ac-wrapper-id",c)}}function pg(a){delete om[String(va(a))];(a=a.W())&&a.removeAttribute("data-ac-wrapper-id")}function Ti(a,b){for(var c,d=b.W().parentNode;a&&a!=d;){c=a.getAttribute&&a.getAttribute("data-ac-wrapper-id")||null;if(null!=c)break;a=a.parentNode}return(c=om[c||""]||null)&&c.W()==a?c:null}var cl="svg",bl=null,bl=jc&&!Ac("9")?"vml":cl,bg="vml"==bl?Cl.rc():Ai.rc();
function hl(a,b,c){return"vml"==bl?new $l(a,b,c):new kl(a,b,c)}var $k="//export.anychart.com";function ej(a,b){var c;a&&(c=ff("STYLE"),c.type="text/css",c.styleSheet?c.styleSheet.cssText=a:c.appendChild(document.createTextNode(String(a))),mf(Ze("head",void 0,b)[0],c))}m.acgraph=m.acgraph||{};m.acgraph.fontSize="10px";m.acgraph.fontColor="#000";m.acgraph.textDirection="ltr";m.acgraph.fontFamily="Verdana";function lg(a,b,c,d){return new yg(a,b,c,d)}function mg(a,b,c){return new vg(a,b,c)}
function Ug(){return new Tg}function ng(a,b,c,d){return new tg(a,b,c,d)}function og(){return new zg}function Xg(a,b,c,d,e){return new Ah(a,b,c,d,e)}function Wg(a,b,c,d){a="vml"==bl?new am(a,b):new ei(a,b);d&&a.style(d);c&&a.text(c);return a}function ee(a,b,c,d){return new rg(a,b,c,d)}function ae(a){return new $d(a)}function kg(a,b,c,d){return"vml"==bl?new ll(null,a,b,c,d):new ig(null,a,b,c,d)}var pm=void 0;
function Ni(){return p(pm)?pm:jc&&Ac("9")&&!Ac("10")?pm="":pm=pd||null===pd&&Ze("base",void 0,void 0).length?window.location.origin+window.location.pathname+window.location.search:""}F("acgraph.create",hl);F("acgraph.type",function(){return bl});F("acgraph.server",function(a){p(a)&&($k=a);return $k});F("acgraph.StageType.SVG",cl);F("acgraph.StageType.VML","vml");F("acgraph.rect",lg);F("acgraph.circle",mg);F("acgraph.ellipse",ng);F("acgraph.path",og);F("acgraph.text",Wg);F("acgraph.layer",Ug);
F("acgraph.image",Xg);F("acgraph.hatchFill",ee);F("acgraph.patternFill",ae);F("acgraph.clip",kg);F("acgraph.useAbsoluteReferences",function(a){if(p(a))pd=a;else return!!Ni()});F("acgraph.updateReferences",function(){var a=pm;pm=void 0;if(p(a)&&Ni()!=a){var b=bg,c;for(c in om)if(om.hasOwnProperty(c)){var a=om[c],d=a.$();d&&(a instanceof Zf&&(d.Bb()?a.ia(512):a.tb(512)||b.gv(a)),a instanceof jg&&(d.Bb()?a.ia(24):(a.tb(8)||Mi(b,a),a.tb(16)||Qi(b,a))))}}});var qm,rm;F("anychart.VERSION","7.13.0.1316");F("anychart.DEVELOP",!0);F("anychart.DEFAULT_THEME","defaultTheme");F("anychart.PERFORMANCE_MONITORING",!1);function sm(a){a=String(a).toLowerCase();switch(a){case "byspot":case "spot":case "sp":return"bySpot";case "single":case "s":return"single"}return"byX"}function tm(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 um(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 vm(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":return"auto"}return p(b)?b:"leftTop"}function wm(a,b){a=vm(a,b);return"auto"==a&&p(b)?b:a}
function xm(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 ym(a){a=String(a).toLowerCase();switch(a){case "horizontal":case "h":case "horz":case "horiz":return"horizontal"}return"vertical"}
function zm(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 Am(a){a=String(a).toLowerCase();switch(a){case "radial":case "r":case "rad":return"radial"}return"circuit"}
function Bm(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 Cm(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 Dm={kN:"circle",SN:"square",eO:"triangleUp",sN:"diamond",bO:"triangleDown",dO:"triangleRight",cO:"triangleLeft",mN:"cross",VC:"diagonalCross",UN:"star4",VN:"star5",WN:"star6",XN:"star7",TN:"star10",CN:"pentagon",aO:"trapezium",AN:"line",hO:"vline",bN:"arrowhead",fN:"arrowUp",eN:"arrowRight",cN:"arrowDown",dN:"arrowLeft"};
function Em(a,b){a=String(a).toLowerCase();switch(a){case "line":return"line";case "vline":return"vline";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 "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 b||"star5"}
function Fm(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 Gm;case "line":return Hm;case "ellipse":return Im;case "bar":return Jm;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 Km(a,b){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"}return b||"allowOverlap"}
function Lm(a){a=String(a).toLowerCase();switch(a){case "min":case "minor":case "nomajor":case "notmajor":case "forbidmajor":case "allowminor":case "allowminoroverlap":return"allowMinorOverlap";case "maj":case "major":case "nominor":case "notminor":case "forbidminor":case "allowmajor":case "allowmajoroverlap":return"allowMajorOverlap";case "yes":case "allow":case "overlap":case "allowoverlap":case "true":case "1":return"allowOverlap"}return"noOverlap"}
function Mm(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 Gm="x",Hm="line",Im="ellipse",Jm="bar";function Nm(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 Om(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 Pm(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 Qm(a,b){a=String(a).toLowerCase();switch(a){case "area":return"area";case "candlestick":return"candlestick";case "column":return"column";case "jumpline":return"jumpLine";case "stick":return"stick";case "line":return"line";case "marker":return"marker";case "ohlc":return"ohlc";case "rangearea":return"rangeArea";case "rangecolumn":return"rangeColumn";case "rangesplinearea":return"rangeSplineArea";case "rangesteparea":return"rangeStepArea";case "spline":return"spline";case "splinearea":return"splineArea";
case "steparea":return"stepArea";case "stepline":return"stepLine"}return b||"line"}function Rm(a,b){a=String(a).toLowerCase();switch(a){case "sma":return"sma";case "ema":return"ema"}return b||"sma"}function Sm(){var a;a="undefined";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 p(void 0)?void 0:"firstVisibleDate"}
function Tm(a){a=String(a).toLowerCase();switch(a){case "raw":return"raw";case "grouped":return"grouped"}return"specific"}
function Um(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 p(b)?b:"year"}
function Vm(a){a=String(a).toLowerCase();switch(a){case "false":case "null":case "none":return"none";case "x":return"x";case "y":case "value":return"value"}return"both"}function Wm(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 Xm(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 Ym(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 Zm(a){a=String(a).toLowerCase();switch(a){case "italic":case "i":return"italic";case "oblique":case "o":return"oblique"}return"normal"}function $m(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 an(a){a=String(a).toLowerCase();switch(a){case "rtl":case "r":return"rtl"}return"ltr"}
function bn(a){a=String(a).toLowerCase();switch(a){case "nowrap":case "no":case "n":return"noWrap";default:return"byLetter"}}
function cn(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 dn(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"}}
function en(a){a=String(a).toLowerCase();switch(a){case "unit":case "u":return"Unit";case "ytd":return"YTD";case "qtd":return"QTD";case "mtd":return"MTD";case "max":return"Max"}return p(null)?null:"Max"}function fn(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 p(void 0)?void 0:"lastDate"}
function gn(a){a=String(a).toLowerCase();switch(a){case "ray":return"ray";case "iline":case "infiniteline":return"infiniteLine";case "vline":case "verticalline":return"verticalLine";case "hline":case "horizontalline":return"horizontalLine";case "rect":case "rectangle":return"rectangle";case "circle":case "ellipse":return"ellipse";case "tri":case "triangle":return"triangle";case "trend":case "channel":case "trendchannel":return"trendChannel";case "fork":case "pitchfork":case "andrewspitchfork":return"andrewsPitchfork";
case "fan":case "ffan":case "fibonaccifan":return"fibonacciFan";case "arc":case "farc":case "fibonacciarc":return"fibonacciArc";case "ret":case "retracement":case "fretracement":case "fibonacciretracement":return"fibonacciRetracement";case "tz":case "ftz":case "timezones":case "ftimezones":case "fibonaccitimezones":return"fibonacciTimezones";case "arrow":case "marker":return"marker"}return"line"}
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"}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",Gm);F("anychart.enums.BulletMarkerType.BAR",Jm);F("anychart.enums.BulletMarkerType.ELLIPSE",Im);F("anychart.enums.BulletMarkerType.LINE",Hm);
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.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.ChartDataExportMode.RAW","raw");F("anychart.enums.ChartDataExportMode.SPECIFIC","specific");F("anychart.enums.ChartDataExportMode.GROUPED","grouped");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.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.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");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){switch(a){case 1:return"It is not recommended to use more than 5 ranges in Bullet Chart. Currently there are '"+(void 0)[0]+"' ranges.\nExpert opinion at http://cdn.anychart.com/warning/1.html";case 2:return"It is not recommended to use more than 2 markers in Bullet Chart. Currently there are '"+(void 0)[0]+"' markers.\nExpert opinion at http://cdn.anychart.com/warning/2.html";case 3:return"It is not recommended to use more then 5 - 7 points in Pie Chart. Currently there are '"+(void 0)[0]+
"' points.\nExpert opinion at http://cdn.anychart.com/warning/3.html";default:return"We think we can help you improve your data visualization, please contact us at http://support.anychart.com/."}}function on(a,b,c){ln("warn","Warning: "+a+"\nDescription: "+pn(a,c),b||"")}
function pn(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 16:return'Scale type "'+b[0]+'" is not supported - only '+b[1]+" is.";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;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=m.console;d&&(a=d[a]||d.log,"object"!=typeof a&&a.call(d,b,c))};function qn(a,b){Kb.call(this);this.c=a;this.l=b;this.B=rn.test(ef().location.hostname);this.m=!(this.l||this.B);this.b=sn|tn|un|vn}G(qn,Kb);var rn=/^(.*\.)?anychart\.(com|stg|dev)$/i,wn=!1,sn=1,tn=2,un=4,vn=8;f=qn.prototype;f.df=function(){return!this.b};f.i=function(a,b){var c=a&~this.b;this.b|=c;!this.Fb&&!this.c.Bb()&&c&&b&&this.c.wc()};function xn(){return("https:"==ef().location.protocol?"https://":"http://")+"static.anychart.com/logo.png"}
f.enabled=function(a){return p(a)?(this.m!=a&&(this.m=a,(yn(this)||this.l)&&this.i(sn,!0)),this):this.m};f.text=function(a){return p(a)?(this.Aa!=a&&(this.Aa=a,yn(this)&&this.i(un,!0)),this):this.Aa};f.vo=function(a){return p(a)?(this.M!=a&&(this.M=a,yn(this)&&this.i(tn,!0)),this):this.M};f.so=function(a){return p(a)?(this.u!=a&&(this.u=a,yn(this)&&this.i(tn,!0)),this):this.u};f.uo=function(a){return p(a)?(this.v!=a&&(this.v=a,yn(this)&&this.i(tn,!0)),this):this.v};
f.Zl=function(a){return p(a)?(this.A!=a&&(this.A=a,yn(this)&&this.i(vn,!0)),this):this.A};f.$=function(){return this.c};f.W=function(){return this.Za};
f.wc=function(){var a=yn(this);a&&p(this.H)&&!this.H&&this.i(sn,!1);this.H=a;if(this.df()||this.Fb||!this.c||this.c.Bb())return this;if(!this.enabled()&&(this.l||a))return this.b&sn&&(nf(this.Za),this.b&=~sn),this;if(!wn){var b="",c=ff("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)));mf(Ze("head",void 0,void 0)[0],c);wn=!0}this.Za||(this.Za=ff("DIV","anychart-credits"));this.g||(this.g=ff("A"),this.h=ff("SPAN","anychart-credits-text"),this.f=ff("IMG","anychart-credits-logo"),kf(this.g,this.h),this.Za.appendChild(this.g));b=this.c.Vt();this.b&sn&&(b&&b.appendChild(this.Za),this.b&=~sn);this.b&tn&&($e(this.g,{href:a?this.vo():"http://www.anychart.com/?utm_source=trial",title:a?this.so():"AnyChart - JavaScript Charts designed to be embedded and integrated",
target:"_blank"}),$e(this.f,{alt:a?this.uo():"AnyChart - JavaScript Charts"}),this.b&=~tn);this.b&un&&(a=a?this.text():"AnyChart Trial Version",rf(this.h,a),this.b&=~un);if(this.b&vn){if(a=yn(this)?this.Zl():xn()){if(this.o=a,b=Rh(bg))Wc(b,"complete",this.tB,!1,this),Wc(b,"load",this.Zx,!1,this),Wc(b,"error",this.uB,!1,this),this.j&&(Jh(b,a),this.j=!1),Ih(b,a,a),this.j=!0,b.start()}else nf(this.f);this.b&=~vn}return this};function yn(a){return zn()||a.B}
f.Zx=function(a){var b=this.o;a.target.id==b&&(this.Fb||(yn(this)?this.Zl():xn())!=b||this.f.parentNode||mf(this.g,this.f),$e(this.f,{src:b}),this.j=!1)};f.tB=function(a){a.target.id==this.o&&(this.j=!1)};f.uB=function(a){a.target.id==this.o&&nf(this.f)};f.F=function(a){this.c.Yb();B(a)?(this.text(a),this.enabled(!0)):ta(a)||null===a?this.enabled(!!a):z(a)&&(this.vo(a.url),this.text(a.text),this.so(a.alt),this.uo(a.imgAlt),this.Zl(a.logoSrc),this.enabled(a.enabled));this.c.Vb()};
f.w=function(){var a={};a.url=this.vo();a.alt=this.so();a.imgAlt=this.uo();a.text=this.text();a.logoSrc=this.Zl();a.enabled=this.enabled();return a};f.K=function(){var a=Rh(bg);a&&(dd(a,"load",this.Zx,!1,this),dd(a,"complete",this.tB,!1,this),dd(a,"error",this.uB,!1,this));nf(this.h);nf(this.f);nf(this.g);nf(this.Za);this.c=this.Za=this.g=this.f=this.h=null;qn.s.K.call(this)};var An=qn.prototype;An.text=An.text;An.url=An.vo;An.alt=An.so;An.imgAlt=An.uo;An.logoSrc=An.Zl;An.enabled=An.enabled;var Bn=m.performance&&ua(m.performance.now)?Aa(m.performance.now,m.performance):Da;var Cn={color:"#fff",opacity:1E-5};
function Dn(a,b,c,d){b=null==b||isNaN(+b)?7:+b;d=null!=d?qd(d,0,1):NaN;var e,g;a=Jn(a||"#000").Ld;g=vl(a);a=g[0]/255;e=g[1]/255;g=g[2]/255;var h=Math.max(a,e,g),k=Math.min(a,e,g),l=0,n=0,q=.5*(h+k);h!=k&&(h==a?l=60*(e-g)/(h-k):h==e?l=60*(g-a)/(h-k)+120:h==g&&(l=60*(a-e)/(h-k)+240),n=0=q?(h-k)/(2*q):(h-k)/(2-2*q));g=[Math.round(l+360)%360,n,q];a=g[0];e=g[1];g=g[2];isNaN(d)?(d=g,c=null!=c?qd(c,0,1):.95):c=null!=c?qd(c,0,1):g;g=1l?l*(1+e):l+e-e*l;r=2*l-t;l=255*yl(r,t,q+1/3);n=255*yl(r,t,q);q=255*yl(r,t,q-1/3)}else l=n=q=255*l;h.push(be([Math.round(l),Math.round(n),Math.round(q)]))}return h}function Kn(a){if(z(a))if(a.color)a=a.color;else return null;if(B(a))try{return pl(a).Ld}catch(b){}return null}
function Ln(a,b){if(z(a)&&p(a.keys)){for(var c=bc(a),d=c.keys,e=[],g=0,h=d.length;g=c&&0<=e&&255>=e&&0<=d&&255>=d){c=[c,e,d];break a}}c=[]}return c.length?(b.Ld=be(c),b.type="rgb",b):ol&&(a=ol[a.toLowerCase()])?(b.Ld=a,b.type="named",b):null}function Rn(a,b,c){var d;c?d=Wd(a):d=ce(a);B(d)?d={color:d,opacity:b}:z(d)&&(d.opacity=b);return d}
F("anychart.color.blend",function(a,b,c){return zl(a,b,c)});F("anychart.color.lighten",Ln);F("anychart.color.darken",Mn);F("anychart.color.setThickness",function(a,b,c){a=ce(a);B(a)?a={color:a,thickness:b}:z(a)&&(a.thickness=b);c&&(a.opacity=c);return a});F("anychart.color.setOpacity",Rn);F("anychart.color.singleHueProgression",Dn);
F("anychart.color.bipolarHueProgression",function(a,b,c){c=p(c)?c:7;a=Dn(a||"blue",Math.floor(c/2)+1,null,1);b=Dn(b||"red",Math.floor(c/2)+1,1);c%2||wb(a,a.length-1,1);wb(b,0,1);return a.concat(b)});F("anychart.color.blendedHueProgression",function(a,b,c){c=p(c)?c:7;a=vl(Jn(a||"yellow").Ld);b=vl(Jn(b||"brown").Ld);for(var d=[wl.apply(null,a)],e=1/c,g=1;g=a.documentMode)?ff("div",{style:"position:absolute; left:0; top:0; z-index: 9999;"}):ff("div",{style:"position:absolute; z-index: 9999; left: -10000px; top: -10000px"});var b;sc||tc||rc?(b=bf(window),a=b.width,b=b.height):(b=ef().screen,a=b.availWidth,b=b.availHeight);jc&&!Ac("9")?this.b=hl(this.g,1,1):(this.b=hl(this.g,a,b),this.j=new Bo,H(this,this.j),this.c=new zo(this.j),H(this,this.c),Wc(this.c,
"resize",this.m,!1,this));this.b.W().style.cssText="position:fixed; left:0; top:0; opacity:1; pointer-events: none";this.b.u=!0;document.body.appendChild(this.g)}G(Co,Kb);pa(Co);Co.prototype.g=null;Co.prototype.b=null;Co.prototype.m=function(){var a;a=this.c;a=a.b?a.b.clone():null;this.b.lj(a.width,a.height)};function Do(a){var b=Co.rc();return p(a)?(b.h!=a&&(b.h=a),b):b.h}
Co.prototype.K=function(){this.j&&(Nb(this.j),this.j=null);p(this.c)&&(dd(this.c,"resize",this.m,!1,this),Nb(this.c),this.c=null);Nb(this.b);this.b=null;nf(this.g);this.f=this.g=null};function Eo(){}f=Eo.prototype;f.Xg=function(){this.c.push(this.b||[]);this.b=[]};f.Vu=function(a,b){this.b.push(b)};f.start=function(){this.c=[];this.b=[]};f.Dh=oa;f.Fo=function(){this.b&&this.b.length&&this.Xg()};function Fo(){Kb.call(this);this.$m=this.dj.length-1;this.hm=this.ti.length-1;this.kq=Aa(this.kq,this)}G(Fo,Kb);f=Fo.prototype;f.Ee=null;f.dj="\n";f.ti=",";f.$m=NaN;f.hm=NaN;f.wi=NaN;f.Ng=!1;f.Jm=!1;f.Nb=NaN;f.xe=-1;f.we=-1;f.pp=!1;f.Wu=NaN;f.an=function(a){return p(a)?(this.dj=a,this.$m=this.dj.length-1,this):this.dj};f.im=function(a){return p(a)?(this.ti=a,this.hm=this.ti.length-1,this):this.ti};f.Im=function(a){return p(a)?(this.Jm=!!a,this):this.Jm};
f.Km=function(a){return p(a)?(this.Ng=!!a,this):this.Ng};f.am=function(a,b,c){this.Ee=b||new Eo;c=!!c;this.b=a||"";this.wi=a.length;this.g=Go(this.dj);this.f=Go(this.ti);this.Nb=0;this.pp=this.Nb==this.wi;this.c=this.Jm?this.cM:this.DB;this.Ee.start();Ho(this)&&(this.Jm?this.c=this.DB:this.Ee.Xg());this.Jm=!1;if(c)this.kq();else{for(;Ho(this);)this.Ee.Xg();this.Ee.Dh(this.Nb);this.Ee.Fo();if(this.Ee instanceof Eo)return this.Ee.c}return null};
f.kq=function(){clearTimeout(this.Wu);for(var a=0,b=Ho(this);b&&500>a++;){if(this.Fb)return;this.Ee.Xg();b=Ho(this)}b&&this.Ee.Xg();this.Fb||(b?(this.Ee.Dh(this.Nb),this.Wu=setTimeout(this.kq,0)):this.Ee.Fo())};function Go(a){for(var b=a.length,c=Array(b),d=c[0]=-1,e=1;e=d){g="";e=0;a.we=-1;a.xe=-1;a.Nb=c+1;h=0;break}else return 0=To(a,b,c,d,e[h],e[h+1]);return g}function To(a,b,c,d,e,g){return(a=(b-d)*e+(c-a)*g+(a*d-c*b))?0g||bh?t=!0:(l=n=a,q=r=b);else if(k)if(isFinite(k)){var u=b-a*k,w=k*e.left+u,x=k*g+u;wh&&x>h?t=!0:(n=(e.top-u)/k,k=(h-u)/k,wh?(l=k,q=h):(l=e.left,q=w),xh?(n=k,r=h):(n=g,r=x))}else ag?t=!0:(l=n=a,q=e.top,r=h);else bh?t=!0:(l=e.left,n=g,q=r=b);if(t)return null;if(a>c||a==c&&b>d)a=l,l=n,n=a,a=q,q=r,r=a;
return[l,q,n,r]}function Vo(a,b,c,d,e){if(e=Uo(a,b,c,d,e)){var g;if(c-=a)d=e[0]-a,g=e[2]-a;else if(c=d-b)d=e[1]-b,g=e[3]-b;else return e;0>g*c?e=null:0>c*d&&(e[0]=a,e[1]=b)}return e}function Wo(a,b,c,d,e){if(e=Uo(a,b,c,d,e)){var g,h,k,l,n;if(g=c-a)h=e[0]-a,k=e[2]-a,l=e[0]-c,n=e[2]-c;else if(g=d-b)h=e[1]-b,k=e[3]-b,l=e[1]-d,n=e[3]-d;else return e;0>k*g||0h*g&&(e[0]=a,e[1]=b),0c&&0c&&d.push("-");d.push("P");(a.h||b)&&d.push(Math.abs(a.h)+"Y");(a.j||b)&&d.push(Math.abs(a.j)+"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("")}
dp.prototype.clone=function(){return new dp(this.h,this.j,this.b,this.f,this.g,this.c)};var ep="y",fp="m",gp="d",hp="h",ip="n",jp="s";dp.prototype.m=function(a){return new dp(this.h*a,this.j*a,this.b*a,this.f*a,this.g*a,this.c*a)};dp.prototype.add=function(a){this.h+=a.h;this.j+=a.j;this.b+=a.b;this.f+=a.f;this.g+=a.g;this.c+=a.c};
function mp(a,b,c){E(a)?(this.b=np(a,b||0,c||1),op(this,c||1)):z(a)?(this.b=np(a.getFullYear(),a.getMonth(),a.getDate()),op(this,a.getDate())):(this.b=new Date(Da()),a=this.b.getDate(),this.b.setHours(0),this.b.setMinutes(0),this.b.setSeconds(0),this.b.setMilliseconds(0),op(this,a))}function np(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b}f=mp.prototype;f.Xj=ap.er;f.Zj=ap.fr;f.clone=function(){var a=new mp(this.b);a.Xj=this.Xj;a.Zj=this.Zj;return a};
f.getFullYear=function(){return this.b.getFullYear()};f.getMonth=function(){return this.b.getMonth()};f.getDate=function(){return this.b.getDate()};f.getTime=function(){return this.b.getTime()};f.getDay=function(){return this.b.getDay()};f.getUTCFullYear=function(){return this.b.getUTCFullYear()};f.getUTCMonth=function(){return this.b.getUTCMonth()};f.getUTCDate=function(){return this.b.getUTCDate()};f.Bp=function(){return this.b.getDay()};f.getUTCHours=function(){return this.b.getUTCHours()};
f.getUTCMinutes=function(){return this.b.getUTCMinutes()};f.getTimezoneOffset=function(){return this.b.getTimezoneOffset()};function pp(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(cp(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()),op(this,a.getDate()))};
f.Cp=function(a,b){return[this.getFullYear(),Za(this.getMonth()+1,2),Za(this.getDate(),2)].join(a?"-":"")+(b?pp(this):"")};f.Av=function(a,b){return[this.getUTCFullYear(),Za(this.getUTCMonth()+1,2),Za(this.getUTCDate(),2)].join(a?"-":"")+(b?"Z":"")};f.toString=function(){return this.Cp()};function op(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(":",Za(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=xp(a);b.j=[c,c];b.b={ZN:a,Ov:a};b.f=[];return b}b=new vp;b.g=a.id;b.c=-a.std_offset;b.j=a.names;b.b=a.names_ext;b.f=a.transitions;return b}
function xp(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(Za(Math.floor(a/60)%100,2),":",Za(a%60,2));return b.join("")}function yp(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 zp(a,b){this.c=[];this.b=b||ap;"number"==typeof a?Ap(this,a):Bp(this,a)}var Cp=[/^\'(?:[^\']|\'\')*(\'|$)/,/^(?:G+|y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/,/^[^\'GyMkSEahKHcLQdmsvVwzZ]+/];function Dp(a){return a.getHours?a.getHours():0}
function Bp(a,b){for(Ep&&(b=b.replace(/\u200f/g,""));b;){for(var c=b,d=0;db)c=a.b.Sk[b];else if(8>b)c=a.b.il[b-4];else if(12>b)c=a.b.$q[b-8],c=c.replace("{1}",a.b.Sk[b-8]),c=c.replace("{0}",a.b.il[b-8]);else{Ap(a,10);return}Bp(a,c)}function Hp(a,b){var c;c=String(b);var d=a.b||ap;if(void 0!==d.xr){for(var e=[],g=0;g=h?String.fromCharCode(d.xr+h-48):c.charAt(g))}c=e.join("")}return c}var Ep=!1;
function Ip(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 Gp(a,b,c,d,e,g){var h=b.length;switch(b.charAt(0)){case "G":return c=0c&&(c=-c),2==h&&(c%=100),Hp(a,Za(c,h));case "M":a:switch(c=d.getMonth(),h){case 5:h=a.b.Jv[c];break a;case 4:h=a.b.pr[c];break a;case 3:h=a.b.rr[c];break a;default:h=Hp(a,Za(c+1,h))}return h;case "k":return Ip(e),c=Dp(e)||24,Hp(a,Za(c,h));case "S":return Hp(a,(e.getTime()%1E3/1E3).toFixed(Math.min(3,h)).substr(2)+(3h?1:0];case "h":return Ip(e),c=Dp(e)%12||12,Hp(a,Za(c,h));case "K":return Ip(e),c=Dp(e)%12,Hp(a,Za(c,h));case "H":return Ip(e),c=Dp(e),Hp(a,Za(c,h));case "c":a:switch(c=d.getDay(),h){case 5:h=a.b.Lv[c];break a;case 4:h=a.b.Nv[c];break a;case 3:h=a.b.Mv[c];break a;default:h=Hp(a,Za(c,1))}return h;case "L":a:switch(c=d.getMonth(),h){case 5:h=a.b.Kv[c];break a;case 4:h=a.b.ur[c];break a;case 3:h=a.b.vr[c];break a;default:h=
Hp(a,Za(c+1,h))}return h;case "Q":return c=Math.floor(d.getMonth()/3),4>h?a.b.sr[c]:a.b.qr[c];case "d":return Hp(a,Za(d.getDate(),h));case "m":return Ip(e),Hp(a,Za(e.getMinutes(),h));case "s":return Ip(e),Hp(a,Za(e.getSeconds(),h));case "v":return h=g||wp(c.getTimezoneOffset()),h.g;case "V":return a=g||wp(c.getTimezoneOffset()),2>=h?a.g:0h?a.j[0h?(h=-(e.c-yp(e,c)),a=[0>h?"-":"+"],h=Math.abs(h),a.push(Za(Math.floor(h/60)%100,2),Za(h%60,2)),h=a.join("")):h=Hp(a,xp(e.c-yp(e,c))),h;default:return""}}
;function Jp(a){if(m.JSON)try{return m.JSON.stringify(a)}catch(b){}return Vj(a)}function Kp(a){if(m.JSON)try{var b=m.JSON.parse(a);return b}catch(c){}return b=Uj(a)};var Lp;function Mp(a,b,c,d,e){if(c)for(var g=0;gb?1:a==b?0:-1}function Qp(a,b){return-Np(a,b)}function Op(a,b){return isNaN(a)?isNaN(b)?0:1:isNaN(b)?-1:a-b}function Rp(a){for(var b;a instanceof Zf;){b=a.tag;if(p(b))return b;a=a.parent()}}
function Sp(a,b){if(!a)return!1;for(;b instanceof jd&&b!=a;)b=b.Wi;return b==a}function Pp(a){return z(a)?"o"+va(a):(typeof a).charAt(0)+a}function K(a,b,c){a=E(a)?a:!isNaN(b)&&Tp(a)?b*parseFloat(a)/100:parseFloat(a);return c&&!isNaN(b)?b-a:a}function Tp(a){return B(a)&&Ga(a,"%")&&!isNaN(parseFloat(a))}function Up(a,b){if(null===a)return null;a=p(a)?a:0;b=p(b)?b:0;var c=Tp(a),d=parseFloat(a);return isNaN(d)?b:c?a:d}function L(a){return null==a||ta(a)?NaN:+a}function Vp(a){return B(a)?a:L(a)}
function Wp(a){return E(a)&&!isNaN(a)||B(a)&&""!=Ja(a)?a:null}function Xp(a){return isNaN(L(a))}function M(a,b,c){E(a)||(a=parseFloat(a));a=Math.round(a);return!isNaN(a)&&(0c&&(c+=b);c>=b&&(c-=b);return No(a-c,7)}
function aq(a,b,c){c=No((a-(c||0))%b,7);c>=b&&(c-=b);if(c)0>c&&(c+=b);else return No(a,7);return No(a+b-c,7)}
function bq(a,b,c){var d=new Date(a),e=d.getUTCFullYear(),g=d.getUTCMonth(),h=d.getUTCDate(),k=d.getUTCHours(),l=d.getUTCMinutes(),n=d.getUTCSeconds(),q=d.getUTCMilliseconds();if(b.h)return e=$p(e,b.h,(new Date(c)).getUTCFullYear()),Date.UTC(e,0);if(b.j)return g=$p(g,b.j),Date.UTC(e,g);if(!b.b||b.b%7)return b.b?(h=$p(h,b.b),Date.UTC(e,g,h)):b.f?(k=$p(k,b.f),Date.UTC(e,g,h,k)):b.g?(l=$p(l,b.g),Date.UTC(e,g,h,k,l)):1<=b.c?(n=$p(n,b.c),Date.UTC(e,g,h,k,l,n)):b.c?(q=$p(q,1E3*b.c),Date.UTC(e,g,h,k,l,n,
q)):a;a=cq(dq());return $p(d.getTime(),864E5*b.b,Date.UTC(2E3,0,2+(a?a.firstDayOfWeek:0)))}function eq(a,b){var c,d;switch(a){case "year":c=ep;d=b;break;case "semester":c=fp;d=6*b;break;case "quarter":c=fp;d=3*b;break;case "month":c=fp;d=b;break;case "thirdofmonth":c=gp;d=10*b;break;case "week":c=gp;d=7*b;break;case "day":c=gp;d=b;break;case "hour":c=hp;d=b;break;case "minute":c=ip;d=b;break;case "second":c=jp;d=b;break;case "millisecond":c=jp;d=b/1E3;break;default:c=ep,d=b}return new dp(c,d)}
function fq(a,b){var c=(b&1)/2;return.5<=a%1?Math.ceil(a)-c:Math.floor(a)+c}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 On(a){var b;b=qa(a);if("array"==b){b=[];for(var c=0;cb;b++)a.lineTo(c+e*Dq[b],d+e*Eq[b]);a.lineTo(c+e*Dq[0],d+e*Eq[0]);a.close();return a};case "square":return function(a,c,d,e,g){var b=c-e,k=d-e;c+=e;d+=e;p(g)&&(g=g||0,b=fq(b,g),k=fq(k,g),c=fq(c,g),d=fq(d,g));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,g){g=g||0;e*=2;var b=e/2;c-=b/2;d-=e/2;b=c+b;e=d+e;p(g)&&(g=g||0,c=fq(c,g),d=fq(d,g),b=fq(b,g),e=fq(e,g));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,g){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;p(g)&&(g=g||0,e=fq(e,g),l=fq(l,g),n=fq(n,g),b=fq(b,g),q=fq(q,g),k=fq(k,g),c=fq(c,g),d=fq(d,g));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,g){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;p(g)&&(g=g||0,e=fq(e,g),l=fq(l,g),n=fq(n,g),b=fq(b,g),q=fq(q,g),k=fq(k,g),c=fq(c,g),d=fq(d,g));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,g){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;p(g)&&(g=g||0,e=fq(e,g),l=fq(l,g),n=fq(n,g),b=fq(b,g),q=fq(q,g),k=fq(k,g),c=fq(c,
g),d=fq(d,g));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,g){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;p(g)&&(g=g||0,e=fq(e,g),l=fq(l,g),n=fq(n,g),b=fq(b,g),q=fq(q,g),k=fq(k,g),c=fq(c,g),d=fq(d,g));a.moveTo(e,d);a.lineTo(c,n,c,q,l,q,l,k,c,k,c,b);a.close();return a};default:return ch}}
function Gq(a,b,c,d){var e=new Fo;c=!0;z(d)&&(e.an(d.rowsSeparator),e.im(d.columnsSeparator),e.Km(d.ignoreTrailingSpaces),c=!d.ignoreFirstRow,e.Im(c));if(a=e.am(a)){d=ff("table");b&&(e=ff("caption"),kf(e,b),d.appendChild(e));var g,h;c&&(g=ff("thead"),h=ff("tr"),g.appendChild(h));b=ff("tbody");for(e=0;e=a||96<=a&&106>=a||65<=a&&90>=a||(mc||kc)&&!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 Kq(a){if(lc)a=Lq(a);else if(nc&&mc)switch(a){case 93:a=91}return a}
function Lq(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 Mq(a,b){jd.call(this);a&&(this.Pp&&Nq(this),this.Cm=a,this.Op=Wc(this.Cm,"keypress",this,b),this.uu=Wc(this.Cm,"keydown",this.HK,b,this),this.Pp=Wc(this.Cm,"keyup",this.IK,b,this))}G(Mq,jd);f=Mq.prototype;f.Cm=null;f.Op=null;f.uu=null;f.Pp=null;f.cf=-1;f.Qi=-1;f.Jr=!1;
var Oq={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},Pq={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},Qq=jc||kc||mc&&Ac("525"),Rq=nc&&lc;f=Mq.prototype;
f.HK=function(a){(mc||kc)&&(17==this.cf&&!a.ctrlKey||18==this.cf&&!a.altKey||nc&&91==this.cf&&!a.metaKey)&&this.rq();-1==this.cf&&(a.ctrlKey&&17!=a.keyCode?this.cf=17:a.altKey&&18!=a.keyCode?this.cf=18:a.metaKey&&91!=a.keyCode&&(this.cf=91));Qq&&!Iq(a.keyCode,this.cf,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?this.handleEvent(a):(this.Qi=Kq(a.keyCode),Rq&&(this.Jr=a.altKey))};f.rq=function(){this.Qi=this.cf=-1};f.IK=function(a){this.rq();this.Jr=a.altKey};
f.handleEvent=function(a){var b=a.b,c,d,e=b.altKey;jc&&"keypress"==a.type?(c=this.Qi,d=13!=c&&27!=c?b.keyCode:0):(mc||kc)&&"keypress"==a.type?(c=this.Qi,d=0<=b.charCode&&63232>b.charCode&&Jq(c)?b.charCode:0):ic&&!mc?(c=this.Qi,d=Jq(c)?b.keyCode:0):(c=b.keyCode||this.Qi,d=b.charCode||0,Rq&&(e=this.Jr),nc&&63==d&&224==c&&(c=191));var g=c=Kq(c);c?63232<=c&&c in Oq?g=Oq[c]:25==c&&a.shiftKey&&(g=9):b.keyIdentifier&&b.keyIdentifier in Pq&&(g=Pq[b.keyIdentifier]);a=g==this.cf;this.cf=g;b=new Sq(g,d,a,b);
b.altKey=e;this.dispatchEvent(b)};function Nq(a){a.Op&&(ed(a.Op),ed(a.uu),ed(a.Pp),a.Op=null,a.uu=null,a.Pp=null);a.Cm=null;a.cf=-1;a.Qi=-1}f.K=function(){Mq.s.K.call(this);Nq(this)};function Sq(a,b,c,d){Hc.call(this,d);this.type="key";this.keyCode=a;this.f=b;this.repeat=c}G(Sq,Hc);var Tq=m.acgraph;Tk.prototype.m=!1;Tk.prototype.h=function(a){this.v||(this.v=new qn(this,this.m),this.v.F(Xn("stageCredits")));return p(a)?(this.v.F(a),this):this.v};var Uq=0,Vq=[];function Wq(a,b){Uq?Vq.push(Aa(a,b)):a.apply(b)}function Xq(){Uq--;if(!Uq)for(var a=Vq.slice(0),b=Vq.length=0;be;e++){c=e;for(var g=0;8>g;g++)c=c&1?3988292384^c>>>1:c>>>1;d[e]=c}uq=d}c=-1;for(d=0;d>>8^uq[(c^a.charCodeAt(d++))&255];a=((c^-1)>>>0).toString(16);return b==a}var hr=[],ir=[];
function Xn(a){var b;ir.length||ir.push(m.anychart.themes.defaultTheme||{});for(b=ir.length-1;bc.length?c[0]:c[b]):0}
f.parent=function(a){return p(a)?(this.g!=a&&(a?(this.g&&et(this.g,this.zs,this),this.g=a,N(this.g,this.zs,this)):(et(this.g,this.zs,this),this.g=null)),this):this.g};f.zs=function(a){var b=0,c=0;V(a,1)&&(b|=16,c|=1);V(a,8)&&(b|=4,c|=8);V(a,32768)&&(b|=1,c|=1);this.B=null;this.i(b,c)};function vu(a,b,c,d,e,g,h){switch(a.D("cornerType")){case "round":b.wf(e,g,h,h,!1,!0);break;case "roundInner":b.wf(e,g,h,h,!1,!1);break;case "cut":b.lineTo(e,g);break;default:b.lineTo(c,d).lineTo(e,g)}}
f.I=function(){if(!this.Ra())return this;var a=this.D("fill")||"none",b=this.D("stroke"),c=this.D("topStroke"),d=this.D("rightStroke"),e=this.D("bottomStroke"),g=this.D("leftStroke"),h=!!(c||d||e||g),k=c&&d&&e&&g,l,n,q=this.C()?this.C().$():null,r=q&&!q.Bb();r&&q.Yb();if(S(this,4)){this.u||(this.u=Ug());k&&this.b?this.b.clear().parent(null):(this.b||(this.b=og()),this.b.parent(this.u),this.b.clear());h?(this.f||(this.f=og()),this.f.parent(this.u),this.f.clear()):this.f&&this.f.clear().parent(null);
if(this.v)for(k=0,l=this.v.length;kd||c>e)return 1;if(bd)return 1}else if(a.A){if(ce)return 1}return 0}
function Lu(a){var b=a.S(),c,d,e;b?(c=b.width,b=b.height,null!=a.na?(a.O=d=K(a.na,c),c=!1):(d=0,c=!0),null!=a.qa?(a.M=e=K(a.qa,b),b=!1):(e=0,b=!0)):(Xp(a.na)?(c=!0,d=0):(c=!1,a.O=d=L(a.na)),Xp(a.qa)?(b=!0,e=0):(b=!1,a.M=e=L(a.qa)));var g=a.Ad();a.g.width(null);a.g.height(null);c?(d+=a.g.xa().width,a.U=d,a.O=g.od(d)):d=a.U=g.Kc(d);a.g.width(a.U);b?(e+=a.g.xa().height,a.T=e,a.M=g.nd(e)):e=a.T=g.Jc(e);a.g.height(a.T);var h=!c&&a.v||!b&&a.A;U(a);if(h){var h=Math.round((a.B+a.H)/2),k=a.H,l=a.B,n;n=a.f;
var q=Wg();q.Ec("aria-hidden","true");a.rb(q,!0);a.f=n;q.fontSize(a.B);if(0>=Ku(a,q.xa().width,q.xa().height,d,e))d=a.B;else{q.fontSize(h);for(var r=n=Ku(a,q.xa().width,q.xa().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=Ku(a,q.xa().width,q.xa().height,d,e);while(0>r*n);Nb(q);0b?null:b;p(a.width())||a.i(4)}function Lv(a,b){a.T=0>b?null:b;p(a.height())||a.i(4)}f.margin=function(a,b,c,d){this.g||(this.g=new pv,H(this,this.g),N(this.g,this.ky,this));return p(a)?(this.g.F.apply(this.g,arguments),this):this.g};
f.uf=function(a,b,c,d){this.la||(this.la=new Iu,H(this,this.la),N(this.la,this.ky,this));return p(a)?(this.la.F.apply(this.la,arguments),this):this.la};function Mv(a,b){if(p(b)){var c=a.D("orientation")!=b;a.v.orientation=b;c&&a.i(4);return a}return a.v.orientation}f.kb=function(a,b){if(p(a)){if(B(a))if(p(b)){if(a in this.A)this[a](b)}else return this.sb(a);else if(z(a))for(var c in a)if(c in this.A)this[c](a[c]);return this}c={};for(var d in this.l)d in this.A&&(c[d]=this.l[d]);return c};
function Nv(a,b){if(p(b)){var c=null==b?"":String(b);a.U!=c&&(a.U=c,a.i(20,9));return a}return a.U}f.i=function(a,b){var c=Hv.s.i.call(this,a,b);!c&&this.Na&&this.P(b||0);return c};function Ov(a){var b=!1;a.m||(b=!0,a.m=Ug(),a.jh().C(a.m),a.Aa=a.m.text(),a.Aa.zIndex(.1),a.Aa.Ec("aria-hidden","true"),H(a,a.m),vt(a,a.m));return b}
f.I=function(){if(!this.Ra())return this;var a=Ov(this),b=this.C();U(this);S(this,2)&&(this.m.parent(b),P(this,2));S(this,8)&&(this.m.zIndex(this.zIndex()),P(this,8));S(this,16)&&(this.rb(a),P(this,16));S(this,4)&&(Pv(this),this.Aa.x(K(this.uf().D("left"),this.h)),this.Aa.y(K(this.uf().D("top"),this.c)),this.m.Va(this.u.b,this.u.c,this.u.f,this.u.g,this.u.j,this.u.h),this.i(64),P(this,4));S(this,64)&&(a=this.jh(),U(a),a.S(0,0,this.h,this.c),a.I(),a.N(!1),P(this,64));this.N(!1);return this};
f.remove=function(){this.m?this.m.parent(null):this.Aa&&this.Aa.parent(null)};f.Xb=function(){var a=this.S(),a=a?a.clone():Zo(0,0,0,0);if(!this.enabled())return a;this.ga&&!S(this,4)||Pv(this);switch(this.D("orientation")){case "top":a.top+=this.ga.height;a.height-=this.ga.height;break;case "right":a.width-=this.ga.width;break;case "bottom":a.height-=this.ga.height;break;case "left":a.left+=this.ga.width,a.width-=this.ga.width}return a};
f.Vc=function(){if(!this.enabled())return new I(0,0,0,0);this.ga&&!S(this,4)||Pv(this);return this.ga.clone()};
f.rb=function(a){var b=this.D("text"),c=Nv(this),d=this.D("useHtml");if(a||p(b)||p(c)||p(d))a=!b&&p(c)?c:b,d?this.Aa.htmlText(a):this.Aa.text(a);this.Aa.fontSize(this.D("fontSize"));this.Aa.fontFamily(this.D("fontFamily"));this.Aa.color(this.D("fontColor"));this.Aa.Zh(this.D("textDirection"));this.Aa.xl(this.D("textWrap"));this.Aa.opacity(this.D("fontOpacity"));this.Aa.Fg(this.D("fontDecoration"));this.Aa.fontStyle(this.D("fontStyle"));this.Aa.fontVariant(this.D("fontVariant"));this.Aa.fontWeight(this.D("fontWeight"));
this.Aa.letterSpacing(this.D("letterSpacing"));this.Aa.vl(this.D("lineHeight"));this.Aa.wl(this.D("textIndent"));this.Aa.og(this.D("vAlign"));this.Aa.Ve(this.D("hAlign"));this.Aa.rf(this.D("textOverflow"));this.Aa.$h(this.D("selectable"));this.Aa.yb(this.D("disablePointerEvents"))};
function Qv(a){var b=a.sb("rotation");delete a.v.rotation;b=p(b)?b:a.D("rotation");if(p(b))return b;switch(a.D("orientation")){case "left":return a.v.rotation=-90;case "right":return a.v.rotation=90;default:return a.v.rotation=0}}
function Pv(a){var b=a.uf(),c=a.margin(),d=a.S(),e,g,h=a.D("orientation"),k=!(Qv(a)%180);g=!((Qv(a)+90)%180);d?g?(e=d.height,g=d.width):(e=d.width,g=d.height):e=g=void 0;var l=Ov(a);if(l||S(a,16))a.rb(l),P(a,16);a.Aa.width(null);a.Aa.height(null);a.Aa.Va(1,0,0,1,0,0);var l=a.Aa.xa(),n=a.tc("width")?a.sb("width"):a.Z||null;null===n?(a.H=l.width,a.h=b.od(a.H)):(a.h=K(n,e),a.H=b.Kc(a.h));d&&ec.left&&(h-=c.left),0>c.top&&(k-=c.top),c.ka()>d.width&&(h-=c.ka()-d.width),c.ea()>d.height&&(k-=
c.ea()-d.height));a.D("allowLeaveChart")||(b.x(h),b.y(k),c=b.ua(),c.leftn.x+g.ka()&&(h-=c.ka()-n.x-g.ka()),c.ea()>n.y+g.ea()&&(k-=c.ea()-n.y-g.ea()));b.x(h);b.y(k)}
function fw(a,b,c,d,e,g){if(a.wa(3)&&(a.h=e?e.Qa():a,gw(a,[a.h]),a.h.enabled())){for(var h={clientX:c,clientY:d,formattedValues:[],points:[]},k=[],l=0;ld.ea()?(e=d.ya(),g=d.ka(),h=d.Ea(),k=d.ea(),c+=2):(e=g=d.ya()+2,h=d.Ea(),k=d.ea(),b-=2);else if(b>d.ka())cd.ea()?(e=d.ya(),g=d.ka(),h=d.ea(),k=d.Ea(),c+=2):(e=g=d.ka()-2,h=d.Ea(),k=d.ea(),b+=2);else if(c<
d.Ea())h=k=d.Ea()+2,e=d.ka(),g=d.ya(),c-=2;else if(c>d.ea())h=k=d.ea()-2,e=d.ya(),g=d.ka(),c+=2;else break a;a.u=[e,h,g,k,b,c]}dd(document,"mousemove",a.Xp,!1,a)}else d&&(d.style["pointer-events"]="none")}function nw(a,b,c,d){aw(a);a.h=a;d&&(d.clientX=b,d.clientY=c,Nv(a.title(),iw(a,d)),a.Oc().text(hw(a,d)));jw(a,a);dw(a,a,b,c);kw(a,b,c)}function iw(a,b){b=bc(b);b.titleText=a.Fa.D("text");var c=a.D("titleFormatter");B(c)&&(c=ow(pw.rc(),c));return c.call(b,b)}
function hw(a,b,c){b=bc(b);b.valuePrefix=a.D("valuePrefix")||"";b.valuePostfix=a.D("valuePostfix")||"";a=c?a.D("unionTextFormatter"):a.D("textFormatter");B(a)&&(a=ow(pw.rc(),a));return a.call(b,b)}f.Oc=function(a){this.v||(this.v=new Nu,N(this.v,this.LL,this),this.v.Ka(this),this.v.width("100%").height("100%"),H(this,this.v));return p(a)?(this.v.F(a),this):this.v};
f.my=function(a){on(405,null,[".content()","the following behaviour",": the method called through the .content()-method should be applied to the .tooltip()-method directly"]);return this.Oc(a)};f.LL=function(a){V(a,8)?(this.B=this.o=null,this.i(1988,1)):V(a,1)&&this.i(512,1)};
function Zv(a,b,c){if(b)return a.m&&a.m.stop(),a.remove(),!0;if(a.D("selectable")&&c){b=c.originalEvent.clientX;c=c.originalEvent.clientY;var d=a.ua().Hg(new wd(b,c)),e=a.c.W();if(e&&!d)return Wc(e,"mouseleave",a.Fp,!1,a),a.u=null,!1;if(qw(a,b,c))return Wc(document,"mousemove",a.Xp,!1,a),e&&(Wc(a.c.W(),"mouseenter",a.Bv,!1,a),Wc(a.c.W(),"mouseleave",a.Cv,!1,a)),!1;a.u=null}if(a.ik())return $v(a),a.m.Mi()||a.m.start(),!1;a.remove();return!0}f.remove=function(){this.c.parent(null)};
function aw(a){var b=a.wa(1)&&!Yb(a.l);a.title().Na=b;a.sg().Ha=b;a.kh().Da=b}f.ua=function(){this.B=this.o=null;cw(this);return new I(this.B.x,this.B.y,this.o.width,this.o.height)};f.Vc=function(){bw(this);return this.o};f.rb=function(){if(S(this,512)){U(this.Oc());for(var a in this.H){var b=this.D(a);p(b)&&this.Oc().kb(a,b)}this.Oc().Bj(this.D("adjustFontSize"));this.Oc().Od(this.D("minFontSize"));this.Oc().Nd(this.D("maxFontSize"));this.Oc().N(!1)}};
f.i=function(a,b){var c=Wv.s.i.call(this,a,b);!c&&this.wa(1)&&!Yb(this.l)&&this.P(b||0);return c};function $v(a){a.m&&a.m.Mi()?a.Oa=!0:(Nb(a.m),a.m=new od(function(){this.remove();this.Oa&&(this.Oa=!1,$v(this))},a.ik(),a))}function gw(a,b){b=b||[];for(var c in a.l)mb(b,function(a){return String(va(a))==c})||a.l[c].cd(!0)}
function bw(a){if(!a.o){U(a.Oc());a.rb();a.Oc().N(!1);var b=a.D("width"),c=a.D("height"),d=(a.g||a.T).ua(),b=K(b,d.width),c=K(c,d.height),d=!isNaN(b),e=!isNaN(c),g=new I(0,0,0,0),h,k=null,l=null,n=a.title(),q=a.sg(),r=a.Oc();if(!d||!e){if(n.enabled()){n.S(null);h=n.D("width");var t=null!=n.sb("width"),u=n.D("height"),w=null!=n.sb("height");Tp(h)&&(k=h,n.width(null));Tp(u)&&(l=u,n.height(null));h=n.Vc();g.width=b||Math.max(g.width,h.width);t?n.width(k):delete n.l.width;w?n.height(l):delete n.l.height;
l=k=null;e||(g.height+=h.height)}if(r.enabled()){var x=(t=a.f?a.f.Oc():null)?t.width():void 0,t=t?t.height():void 0;r.S(null);x=r.width()||x;t=r.height()||t;Tp(x)&&(k=x,r.width(null));Tp(t)&&(l=t,r.height(null));x=r.Vc();g.width=b||Math.max(g.width,x.width);k&&r.width(k);l&&r.height(l);e||(g.height+=x.height)}n.enabled()&&n.S(new I(0,0,g.width,h.height));r.enabled()&&r.S(new I(0,0,g.width,x.height));q.enabled()&&(q.S(n.enabled()||r.enabled()?g:null),h=q.Vc(),g.width=b||Math.max(g.width,h.width),e||
(g.height+=h.height))}g=a.Ad().TC(g);d&&(g.left=0,g.width=b);e&&(g.top=0,g.height=c);a.o=g}}function cw(a){bw(a);if(!a.B){var b=a.D("anchor"),c=new wd(a.D("x"),a.D("y")),d=Zp(a.o,b);c.x-=d.x;c.y-=d.y;gq(c,b,a.D("offsetX"),a.D("offsetY"));a.B=c}}
function mw(a,b,c,d,e){var g=c,h=d,k,l=a.D("positionMode")||"float";k=a.D("displayMode");var n=Xk((a.mb()?a.mb().C():a.C()).$());"float"==l?Tv||(g=c-n.x,h=d-n.y):"point"==l?(g="union"==k?a.D("position"):b.D("position"),h=ew(e,g).value,g=h.x+(Tv?n.x:0),h=h.y+(Tv?n.y:0)):"chart"==l&&(e=a.mb().ua(),g="union"==k?a.D("position"):b.D("position"),h=Zp(e,g),g=h.x+(Tv?n.x:0),h=h.y+(Tv?n.y:0));a.D("allowLeaveScreen")||(b.x(g),b.y(h),k=b.ua(),e=bf(window),0>k.left&&(g-=k.left),0>k.top&&(h-=k.top),k.ka()>e.width&&
(g-=k.ka()-e.width),k.ea()>e.height&&(h-=k.ea()-e.height));a.D("allowLeaveChart")||(b.x(g),b.y(h),k=b.ua(),a=a.g||a.T,e=a.ua(),n||(n=Xk(a.C().$())),k.leftn.x+e.ka()&&(g-=k.ka()-n.x-e.ka()),k.ea()>n.y+e.ea()&&(h-=k.ea()-n.y-e.ea()));b.x(g);b.y(h)}function jw(a,b){if(!b.C())if(Tv){var c=Co.rc();b.C(c.b);c.f[va(b).toString()]=b}else a.mb()?b.C(a.mb().C()):a.f&&b.C(a.f.mb().C())}
f.Xp=function(a){if(qw(this,a.clientX,a.clientY))Tv&&Do(!0);else{dd(document,"mousemove",this.Xp,!1,this);var b=this.c.W();b&&(dd(b,"mouseenter",this.Bv,!1,this),dd(b,"mouseleave",this.Cv,!1,this));this.Fp(a)}};function qw(a,b,c){if(!a.u)return!1;var d=a.u[0],e=a.u[1],g=a.u[2],h=a.u[3],k=a.u[4],l=a.u[5];a=To(g,h,k,l,b,c);k=To(k,l,d,e,b,c);return To(d,e,g,h,b,c)==a&&a==k}f.Bv=function(){dd(document,"mousemove",this.Xp,!1,this);this.c.W()&&dd(this.c.W(),"mouseenter",this.Bv,!1,this);this.u=null};
f.Cv=function(a){this.c.W()&&dd(this.c.W(),"mouseleave",this.Cv,!1,this);this.Fp(a)};f.Fp=function(a){if(2==a.b.buttons)return!0;Tv&&Do(!1);this.c.W()&&dd(this.c.W(),"mouseleave",this.Fp,!1,this);this.u=null;this.ik()?($v(this),this.m.Mi()||this.m.start()):this.cd(!0)};
f.parent=function(a){if(p(a)){if(this.f!=a){var b=String(va(this));a?(this.f&&et(this.f,this.yo,this),this.f=a,this.title().parent(this.f.title()),this.sg().parent(this.f.sg()),this.kh().parent(this.f.kh()),this.Ad().parent(this.f.Ad()),this.Oc().Ad().parent(this.f.Oc().Ad()),this.f.l[b]=this,N(this.f,this.yo,this)):(et(this.f,this.yo,this),this.title().parent(null),this.sg().parent(null),this.kh().parent(null),this.Ad().parent(null),this.Oc().Ad().parent(null),delete this.f.l[b],this.f=null)}return this}return this.f};
f.yo=function(a){var b=0,c=0;if(V(a,8)||V(a,1))b|=1988,c|=8;V(a,32768)&&(b|=1,c|=1);this.ja=null;this.i(b,c)};f.sb=function(a){return this.A[a]};f.tc=function(a){return null!=this.A[a]};f.Qc=function(a){return this.O[a]};f.D=ru;f.Ib=function(a,b){this.A[a]=b};f.wa=function(a){return p(a)?!!(a&this.Wa):!0};f.Gh=function(a){p(a)&&(this.ja=a);return this.ja};f.dk=qu;f.Hf=function(){var a=[this.O];this.f&&(a=tb(a,this.f.Hf()));return a};f.Gf=function(){var a=[this.A];this.f&&(a=tb(a,this.f.Gf()));return a};
f.hz=function(a){on(405,null,["contentFormatter()","textFormatter()"]);return this.textFormatter(a)};f.SA=function(a){on(405,null,["isFloating()","positionMode()"]);var b=this.D("positionMode");return p(a)?("float"==b!=a&&this.Ib("positionMode",a?"float":"chart"),this):"float"==b};f.enabled=function(a){return p(a)?(this.A.enabled!=a&&(this.A.enabled=a,this.i(1,32777),this.A.enabled?(this.Lc=!1,this.N(!0)):isNaN(this.wd)?U(this):this.Lc=!0),this):this.D("enabled")};
f.w=function(){var a={};Pt(this,this.H,a);Pt(this,this.Z,a);delete a.x;delete a.y;var b=this.title().w();Yb(b)||(a.title=b);b=this.sg().w();Yb(b)||(a.separator=b);b=this.kh().w();Yb(b)||(a.background=b);b=this.Ad().w();Yb(b)||(a.padding=b);p(this.U)&&(a.hideDelay=this.U);p(this.zIndex())&&(a.zIndex=this.zIndex());this.tc("enabled")&&(a.enabled=this.A.enabled);return a};
f.J=function(a,b){a.content&&this.my(a.content);a.contentFormatter&&this.hz(a.contentFormatter);a.isFloating&&this.SA(a.isFloating);if(b){for(var c in this.H){var d=a[c];p(d)&&(this.O[c]=d)}for(c in this.Z)d=a[c],p(d)&&(this.O[c]=d);"enabled"in a&&(this.O.enabled=a.enabled)}else Ot(this,this.H,a),Ot(this,this.Z,a);cr(this.title(),a.title,b);cr(this.sg(),a.separator,b);cr(this.kh(),a.background,b);cr(this.Ad(),a.padding,b);this.ik(a.hideDelay);c=a.contentInternal;if(!(c&&"anchor"in a&&"position"in
a)){var e,g;c&&(e=c.position,g=c.anchor);if(!e||!g){for(var d=this.dk(),h=0;hb?(x=Math.max(x,q),v+=n,r++,q=e+a.m,n=k+a.m):(q+=e+a.m,n=Math.max(n,k+a.m)):"verticalexpandable"==a.M&&(t+k>c?(v=Math.max(v,t),x+=u,w++,u=e+a.m,t=k+a.m):(t+=k+a.m,u=Math.max(u,e+a.m))));!d||0>g?g=d=0:d-=a.m;!h||
0>l?l=h=0:h-=a.m;a.ef=w;return"vertical"==a.M?Zo(0,0,Math.max(0,g),Math.max(0,h)):"horizontal"==a.M?Zo(0,0,Math.max(0,d),Math.max(0,l)):"verticalexpandable"==a.M?(x+=u-a.m,v=Math.max(v,t)-a.m,Zo(0,0,Math.max(0,x),Math.max(0,v))):"horizontalexpandable"==a.M?(x=Math.max(x,q)-a.m,v+=n-a.m,Zo(0,0,Math.max(0,x),Math.max(0,v))):Zo(0,0,0,0)}
function vw(a){var b=a.S();b&&0>=b.width&&0>=b.height&&(b=null);var c,d,e=a.margin(),g=a.Dj(),h,k,l,n,q=0,r=0,t,u;b?(c=b.width,d=b.height,null!=a.na?(l=Math.min(c,K(a.na,c),null!=a.uc?K(a.uc,c):c),t=g.Kc(e.Kc(l))):t=null!=a.uc?g.Kc(e.Kc(K(a.uc,c))):g.Kc(e.Kc(c)),null!=a.qa?(n=Math.min(d,K(a.qa,d),null!=a.Ub?K(a.Ub,d):d),u=g.Jc(e.Jc(n))):u=null!=a.Ub?g.Jc(e.Jc(K(a.Ub,d))):g.Jc(e.Jc(d))):(E(a.na)&&!isNaN(a.na)?(l=a.na,t=g.Kc(a.na)):t=E(a.uc)&&!isNaN(a.uc)?g.Kc(a.uc):Infinity,E(a.qa)&&!isNaN(a.qa)?(n=
a.qa,u=g.Jc(a.qa)):u=E(a.Ub)&&!isNaN(a.Ub)?g.Jc(a.Ub):Infinity);var w,x,v,A=a.qn(),C=a.jg(),D=a.title(),O=C.ci(),O="bottom"==O||"top"==O,Q=D.D("orientation")||Mv(D),Q="bottom"==Q||"top"==Q,ba=!(Qv(D)%180),la=Dv(A);U(A);U(C);U(D);do{var R=x=0,T=0,Pa=0;D.enabled()?(D.S(null),Kv(D,null),Lv(D,null),v=D.Vc(),Q?(v.width>t&&(ba?Kv(D,t):Lv(D,t),v=D.Vc()),Pa=v.width,x+=v.height):(v.height>u&&(ba?Lv(D,u):Kv(D,u),v=D.Vc()),T=v.height,R+=v.width)):v=null;A.enabled()?(A.S(null),w=A.Vc(),la?x+=w.height:R+=w.width):
w=null;h=t-R;k=ww(a,h,u-x);var Ha=k.width;k=k.height;x+=k;R+=Ha;T=Math.max(T,k);Pa=Math.max(Pa,Ha);R=Math.max(Pa,R);Pa=Math.max(T,x);T=u;Q&&(T-=v?v.height:0);la&&(T-=w?w.height:0);C.S(null);x=C.ua();if("horizontal"==a.M)Ha>h&&a.c&&1h&&1T&&a.c&&1=t-v.width?Pa:Ha,v=Math.max(Math.min(D.text().length,1),D.margin().Kc(T-Ab<=v?T-v:Ab)),Kv(D,v);else if(!ba&&Pa>u){v=0;w&&la&&(v+=w.height);if("top"==C.ci()||"bottom"==C.ci())v+=x.height;Ha=zv(C)&&!O?x.height:0;Ha=Math.max(a.c&&a.c.length?a.c[0].ua().height:0,Ha);v=Math.max(1,D.margin().Jc(u-v-Ha));ba?Lv(D,v):Kv(D,v)}v=
D.Vc();A.width(h)}else v=D.Vc(),A.width(k);w=A.Vc();Q?R-=v.height:T-=v.width}A.enabled()&&(la?R-=w.height:T-=w.width);w=T;Ha=R;C.ci();zv(C)&&(O?Ha=R-x.height:w=T-x.width);v=a;var T=Ha,Fc,kd;v.A=[];Ha=0;Pa=v.c&&v.c.length;for(R=0;Rw?(Ha++,v.A[Ha]=[],v.A[Ha][0]=v.c[R],T=v.c[R].ua().Hc()):(T=T+v.m+v.c[R].ua().Hc(),v.A[Ha].push(v.c[R])));
break;case "vertical":w=v.c[R].ua().Gc();R+=1;for(Pa=v.c.length;RT?(Ha++,v.A[Ha]=[],v.A[Ha][0]=v.c[R],w=v.c[R].ua().Gc()):(w=w+v.m+v.c[R].ua().Gc(),v.A[Ha].push(v.c[R])));break;case "horizontalexpandable":for(var ab=v.c[R].ua().Hc()+v.m,ld=v.c[R].ua().Gc()+v.m,yc=0,R=R+1;Rw?(yc+=ld,yc+kd>T?(Ha++,v.A[Ha]=[],v.A[Ha][0]=Ab,yc=0):v.A[Ha].push(Ab),ab=Fc+v.m,ld=kd+v.m):(ab+=Fc+v.m,ld=Math.max(ld,
kd+v.m),v.A[Ha].push(Ab)));break;case "verticalexpandable":for(ab=v.c[R].ua().Hc()+v.m,ld=v.c[R].ua().Gc()+v.m,yc=0,R+=1;RT?(yc+=ab,yc+Fc>w?(Ha++,v.A[Ha]=[],v.A[Ha][0]=Ab,yc=0):v.A[Ha].push(Ab),ab=Fc+v.m,ld=kd+v.m):(ab=Math.max(ab,Fc+v.m),ld+=kd+v.m,v.A[Ha].push(Ab)))}rv(v.jg(),Ha+1);C.S(null);v=C.ua()}while(!Ad(x,v));l||(l=h);n||(n=k);a.ga=new I(q,r,l,n);if(a.Wa)q=a.eeb.ka()&&(q=b.ka()-l),rb.ea()&&(r=b.ea()-n));else if(b){q=b.ya();r=b.Ea();switch(a.h){case "left":case "right":switch(a.o){case "center":r+=(d-n)/2;break;case "right":case "bottom":r=b.ea()-n}break;case "top":case "bottom":switch(a.o){case "center":q+=(c-l)/2;break;case "right":case "bottom":q=b.ka()-l}}switch(a.h){case "right":q=
b.ka()-l;break;case "bottom":r=b.ea()-n}}else q=K(e.D("left"),0),r=K(e.D("top"),0);a.ga.left=q;a.ga.top=r;a.ff=a.Dj().Wd(a.margin().Wd(a.ga));b=a.ga.clone();b.left=0;b.top=0;a.Na=a.margin().Wd(b);a.De=a.Dj().Wd(a.Na);A.N(!1);C.N(!1);D.N(!1);P(a,4)}function xw(a){if(y(a.Oa))return a.Oa;if(null!=a.B){for(var b,c=[],d=0;dc.width&&(e+=g,g=d=0),n.i(4),U(n).S(c).x(d).y(e).enabled(!0).N(!1).I(),d+=n.ua().Hc()+
a.m,g=Math.max(g,q.Gc()+a.m);break;case "verticalexpandable":for(k=0;kc.height&&(d+=h,h=e=0),n.i(4),U(n).S(c).x(d).y(e).enabled(!0).N(!1).I(),e+=l[k].ua().Gc()+a.m,h=Math.max(h,q.Hc()+a.m)}if(a.title().enabled()&&(c=a.title().D("orientation")||Mv(a.title()),"top"!=c&&"bottom"!=c)){d=c=0;if(e=a.u.Sa)c=e.j,d=e.h;e=a.T.ak();g=a.Fa.Vc();g.top+=d;g.left+=c;c=g.top+g.height/2-(e.top+e.height/2);c=Math.min(a.ff.height-e.height,Math.max(c,0));a.T.Va(1,0,0,1,0,c)}}a.cb=
b}f.EK=function(a){return this.dispatchEvent(a.type)};f.ig=function(a){a=sw.s.ig.call(this,a);var b=Rp(a.domTarget),b=L(b&&b.index);isNaN(b)||(a.itemIndex=b);return a};f.LK=function(a){var b=Dw(this,a);if(b&&this.dispatchEvent(b)){var c=this.c&&this.c[b.itemIndex],b=b.itemSource;c&&(b&&ua(b.$A)&&b.$A(c),c.Da=!0,av(c,!0),Xu(c,!0),$u(c,!0),a&&uw(this,a))}};f.KK=function(a){var b=Dw(this,a);b&&this.dispatchEvent(b)&&a&&uw(this,a)};
f.qH=function(a){var b=Dw(this,a);b&&this.dispatchEvent(b)&&(a=this.c&&this.c[b.itemIndex],b=b.itemSource,a&&(b&&ua(b.ZA)&&b.ZA(a),a.Da=!1,av(a,!1),Xu(a,!1),$u(a,!1),this.Qa().cd()))};f.pH=function(a){if(a.button==Ui){var b=Dw(this,a);b&&this.dispatchEvent(b)&&(a=this.c&&this.c[b.itemIndex],b=b.itemSource,a&&b&&ua(b.YA)&&b.YA.call(b,a))}};f.Ce=function(a){(a=Dw(this,a))&&this.dispatchEvent(a)};
function Dw(a,b){var c=L(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,g=NaN,h=a.c[c];if(h&&a.B)for(var k=0;ka.nearestPointToCursor.distance&&(a.series.wb().select(a.nearestPointToCursor.index),e=a)});"single"==this.l.D("displayMode")?lw(this.l,[e],a.originalEvent.clientX,a.originalEvent.clientY,
e.series):lw(this.l,b,a.originalEvent.clientX,a.originalEvent.clientY,e.series)}}};f.RC=function(a){var b=this.l,c=a.clientX;a=a.clientY;var d=b.D("displayMode");"single"==d&&(dw(b,b.h,c,a),kw(b.h,c,a));if("union"==d)dw(b,b.h,c,a),kw(b.h,c,a);else if("separated"==d)for(var e in b.l)if(d=b.l[e])mw(b,d,c,a),kw(d,c,a)};f.contextMenu=function(a){!this.B&&(this.B=m.anychart.ui.contextMenu(!!z(a)&&a.fromTheme))&&(H(this,this.B),this.B.itemsProvider(this.sJ));return p(a)?(this.B&&this.B.setup(a),this):this.B};
f.DA=function(){return"http://anychart.com/products/anychart/history"};f.sJ=function(a){Rp(a.event.domTarget);var b=On(Tw),c=On(Uw);c.href=a.chart.DA()+"?version=7.13.0.1316";b.push(null,Vw,Ww,c);return On(b)};f.sK=function(){var a=[],b,c,d,e=this.bd();for(c=0;cq.Hg||!d)d=n.oa,e=q.index,g=qb(n.he,q.index),h=q.Hg}}d={index:e,series:d};d.hovered=g;g=[];for(e=0;ec?d=this.c.Sk[c]:8>c?d=this.c.il[c-4]:(d=this.c.$q[c-8],d=d.replace("{1}",this.c.Sk[c-8]),d=d.replace("{0}",this.c.il[c-8]));jx(this,d)}else jx(this,a)}
function jx(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 mx(a,b){var c=a.substring(b[0]).match(/^\s+/);c&&(b[0]+=c[0].length)}
function nx(a,b,c,d,e,g){mx(b,c);var h=c[0],k=d.text.charAt(0),l=-1;if(lx(d))if(0b.length)return!1;l=ox(a,b.substring(0,h+e),c)}else l=ox(a,b,c);switch(k){case "G":return l=px(b,c,a.c.cr),0<=l&&(g.era=l),!0;case "M":case "L":a:{d=l;if(0>d){d=px(b,c,a.c.pr.concat(a.c.ur).concat(a.c.rr).concat(a.c.vr));if(0>d){g=!1;break a}g.month=d%12}else g.month=d-1;g=!0}return g;case "E":return d=px(b,c,a.c.wr),0>d&&(d=px(b,c,a.c.tr)),0>d?g=!1:(g.c=d,g=!0),g;case "a":return l=px(b,c,a.c.Wq),0<=l&&(g.g=
l),!0;case "y":a:{var n;if(0>l){n=b.charAt(c[0]);if("+"!=n&&"-"!=n){g=!1;break a}c[0]++;l=ox(a,b,c);if(0>l){g=!1;break a}"-"==n&&(l=-l)}n||2!=c[0]-h||2!=d.count?g.year=l:(a=l,b=(new Date).getFullYear()-80,c=b%100,g.l=a==c,a+=100*Math.floor(b/100)+(al?(d=px(b,c,a.c.qr),0>d&&(d=px(b,c,a.c.sr)),0>d?g=!1:(g.month=3*d,g.day=1,g=!0)):g=!1,g;case "d":return 0<=l&&(g.day=l),!0;case "S":return a=c[0]-h,g.m=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&&(g.b=l),!0;case "m":return 0<=l&&(g.j=l),!0;case "s":return 0<=l&&(g.h=l),!0;case "z":case "Z":case "v":b.indexOf("GMT",c[0])==c[0]&&(c[0]+=3);a:if(c[0]>=b.length)g.f=0,g=!0;else{d=1;switch(b.charAt(c[0])){case "-":d=-1;case "+":c[0]++}h=c[0];l=ox(a,b,c);if(0>l)g=!1;else{if(c[0]l){g=!1;break a}n+=l}else n=l,n=24>n&&2>=c[0]-h?60*n:n%100+n/100*60;g.f=-(n*d);g=!0}}return g;
default:return!1}}function ox(a,b,c){if(a.c.xr){for(var d=[],e=c[0];e=g?String.fromCharCode(g+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 px(a,b,c){var d=0,e=-1;a=a.substring(b[0]).toLowerCase();for(var g=0;gd&&!a.indexOf(c[g].toLowerCase())&&(e=g,d=h)}0<=e&&(b[0]+=d);return e}function qx(){};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 rx=/^([-]?\d+\.?\d*)(.*?)?$/,sx={factors:[1E15,1E12,1E9,1E6,1E3,1E3,1,.001,1E-6,1E-9],suffixes:"P T G M K k m u n".split(" ")},tx="default",ux=null,vx=NaN,wx="default",xx=null,yx=null,zx=null,Ax=0,Bx={},Cx={},Dx={},Ex={};function Fx(a){z(a)||(a=m.anychart.format.locales[String(a)]);return a||null}function cq(a){return(a=Fx(a))&&a.dateTimeLocale||null}function Gx(a){return(a=Fx(a))&&a.numberLocale||null}function Hx(a,b){var c=cq(a);return c&&c[b||"dateTimeFormat"]||null}
function Ix(a){if(!a)return ap;var b=va(a);b in Ex||(Ex[b]={cr:a.eras,Hv:a.eraNames,Jv:a.narrowMonths,Kv:a.standaloneNarrowMonths,pr:a.months,ur:a.standaloneMonths,rr:a.shortMonths,vr:a.standaloneShortMonths,wr:a.weekdays,Nv:a.standaloneWeekdays,tr:a.shortWeekdays,Mv:a.standaloneShortWeekdays,XC:a.narrowWeekdays,Lv:a.standaloneNarrowWeekdays,sr:a.shortQuarters,qr:a.quarters,Wq:a.ampms||a.amPmS,Sk:a.dateFormats||[],il:a.timeFormats||[],$q:a.dateTimeFormats||[],er:a.firstDayOfWeek,bD:a.weekendRange,
fr:a.firstWeekCutOffDay||a.firstWeekCutOfDay});return Ex[b]}function Jx(a){p(a)&&(vx=sa(a)?a.getTime():L(a));return isNaN(vx)?(a=new Date,a.setTime(Date.UTC(a.getUTCFullYear(),a.getUTCMonth())),a):new Date(vx)}function dq(a){p(a)&&(B(a)||z(a)?wx=a:wx="default");return wx}function Kx(a){p(a)&&(B(a)?xx=a:xx=null);return xx||Hx(wx)||Hx("default")||"yyyy.MM.dd"}function Lx(a){p(a)&&(B(a)?yx=a:yx=null);return yx||Hx(wx,"dateFormat")||Hx("default","dateFormat")||"yyyy.MM.dd"}
function Mx(a){p(a)&&(B(a)?zx=a:zx=null);return zx||Hx(wx,"timeFormat")||Hx("default","timeFormat")||"HH:mm:ss"}
function Nx(a,b,c,d){if(sa(a))return a;if(E(a))return isNaN(a)?null:new Date(a);if(B(a)){if(b=(p(b)?b:ux)||null){d=cq(d)||cq(tx)||cq("default");var e=va(d),e=b+e,g;e in Cx||(d=Ix(d),Cx[e]=new ix(b,d));g=Cx[e];c=sa(c)?c:Jx();(b=-1==b.replace(/'.+?'/g,"").search(/z+/i)?6E4*c.getTimezoneOffset():0)&&c.setTime(c.getTime()+b);d=a.length;a:{for(var h=new qx,e=[0],k=-1,l=0,n=0,q=0;qk&&g.b[q].jj&&(k=q,n=l=0),0<=k){var r=g.b[q].count;if(q==k&&(r-=n,n++,0==r)){a=0;break a}nx(g,
a,e,g.b[q],r,h)||(q=k-1,e[0]=l)}else{if(k=-1,!nx(g,a,e,g.b[q],0,h)){a=0;break a}}else{k=-1;if(" "==g.b[q].text.charAt(0)){if(r=e[0],mx(a,e),e[0]>r)continue}else if(a.indexOf(g.b[q].text,e[0])==e[0]){e[0]+=g.b[q].text.length;continue}a=0;break a}b:{void 0!=h.era&&void 0!=h.year&&!h.era&&0g?
g:a));ua(c.setHours)&&(void 0==h.b&&(h.b=c.getHours()),void 0!=h.g&&0h.b&&(h.b+=12),c.setHours(h.b));ua(c.setMinutes)&&void 0!=h.j&&c.setMinutes(h.j);ua(c.setSeconds)&&void 0!=h.h&&c.setSeconds(h.h);ua(c.setMilliseconds)&&void 0!=h.m&&c.setMilliseconds(h.m);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(z(e)&&y(e.factors)&&y(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}g=g?a.toFixed(b):No(a,b).toString();a="";/(e+|e-)/.test(g)&&(b=g.split("e"),g=b[0],a="e"+b[1]);b=g.split(".");if(d){g=b[0];for(h=[];0<(e=g.substr(0,g.length-3)).length;)h.unshift(g.substr(-3)),g=e;g&&h.unshift(g);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){p(a)&&(B(a)||z(a)?tx=a:tx="default");return tx});F("anychart.format.inputBaseDate",Jx);F("anychart.format.inputDateTimeFormat",function(a){p(a)&&(B(a)?ux=a:ux=null);return ux});F("anychart.format.outputLocale",dq);F("anychart.format.outputTimezone",function(a){p(a)&&(Ax=L(a)||0);return Ax});F("anychart.format.outputDateFormat",Lx);F("anychart.format.outputTimeFormat",Mx);
F("anychart.format.outputDateTimeFormat",Kx);F("anychart.format.parseDateTime",Nx);
F("anychart.format.parseNumber",function(a,b){var c=Gx(b)||Gx(tx)||Gx("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(Xa(c.groupsSeparator),"g"),"");var e=c.scale;!0===e&&(e=sx);if(z(e)&&y(e.factors)&&y(e.suffixes)){a=a.replace(new RegExp(Xa(c.scaleSuffixSeparator),"g"),"");var g=a.match(rx);if(!g)return NaN;var h=1;a=+g[1];if(g=g[2])for(var k=e.factors,e=e.suffixes,
l=Math.min(k.length,e.length),n=0;nc||b>d)return 1;if(ac)return 1}else if(g){if(bd)return 1}return 0}f.position=function(a){return p(a)?(a=String(a),this.L.position!=a&&(this.L.position=a,this.i(16,8)),this):this.L.position};f.enabled=function(a){return p(a)?(this.L.Pt!=a&&(this.L.Pt=a,this.i(1,9)),this):this.L.Pt};f.md=function(a){return p(a)?(this.L.md!=a&&(this.L.md=a,this.i(16,1)),this):this.L.md};
f.Qd=function(a){return p(a)?(this.L.Qd!=a&&(this.L.Qd=a,this.i(16,8)),this):this.L.Qd};function Yx(a,b){return p(b)?(a.Na!=b&&(a.Na=b,a.i(16,1)),a):a.Na}f.ie=function(a){return p(a)?(this.B!=a&&(this.B=a,this.i(16,8)),this):this.B};f.clear=function(){this.Fh();this.c&&(this.c.parent(null),this.c.Fe());this.i(2)};f.Fh=function(){this.L.background&&(Nb(this.L.background),this.L.background=null);this.L.padding&&(Nb(this.L.padding),this.L.padding=null);this.L={};this.f={};this.m={};this.h=null};
f.hn=function(a,b){p(a)&&this.F(a);b&&(this.m=b);(p(a)||p(b))&&this.i(17,9);return this};function ey(a,b,c,d,e,g,h){return cy(a)&&Zx(a)!=cy(a)?p(c)?c:h?e:p(b)?b:p(d)?d:g:p(b)?b:p(d)?d:g}
function ay(a){if(a.h)return bc(a.h);var b=Zx(a),c=cy(a)?cy(a):b,d=c?c:b,e;d!=b&&(e=d.f);for(var g={},h,k=0,l=d.pa.length;k=dy(x.xa().width,x.xa().height,a,u,t,q))a=r;else{x.fontSize(v);for(C=r=dy(x.xa().width,x.xa().height,a,u,t,q);w!=A;){if(0>r)w=Math.min(v+1,A),v+=Math.floor((A-v)/2);else if(0=C*r)break}if(r){do v+=
C,x.fontSize(v),r=dy(x.xa().width,x.xa().height,a,u,t,q);while(0>C*r);0this.g&&(this.g=c,this.c=!1)}return this};f.Uo=function(a){var b=this.ja!=this.f||this.ha!=this.g;b&&(this.c=!1,a||this.P(2));return b};f.Zp=function(){return this.l||this.m};f.transform=function(a){this.Zc();a=L(a);return my(this,(a-this.min)/this.Ic)};f.Zc=function(){this.c||(this.c=!0,this.Nz())};
f.Nz=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.m?isNaN(this.o)?this.g:Math.max(this.g,this.o):this.max)-(this.l?isNaN(this.u)?this.f:Math.min(this.f,this.u):this.min);1E-4>Math.abs(a)&&!this.l&&!this.m&&(this.max+=1E-4);this.l&&(this.min=this.f-a*this.H,isNaN(this.u)||(this.min=0this.min&&0<=this.f&&
this.min!=this.u&&(this.min=0));this.m&&(this.max=this.g+a*this.B,isNaN(this.o)||(this.max=0this.max&&0<=this.g&&this.max!=this.o&&(this.max=0))};f.Bc=function(a){this.Zc();a=ny(this,a);return a*this.Ic+this.min};
f.w=function(){var a=py.s.w.call(this);a.maximum=this.m?null:this.max;a.minimum=this.l?null:this.min;a.minimumGap=this.cm();a.maximumGap=this.bm();a.softMinimum=isNaN(this.u)?null:this.u;a.softMaximum=isNaN(this.o)?null:this.o;a.maxTicksCount=this.U;return a};f.J=function(a,b){py.s.J.call(this,a,b);this.cm(a.minimumGap);this.bm(a.maximumGap);this.kt(a.softMinimum);this.jt(a.softMaximum);this.No(a.minimum);this.Mo(a.maximum);this.zh(a.maxTicksCount)};
function qy(a,b){a=(a+"").toLowerCase();switch(a){case "log":case "logarithmic":return ry();case "lin":case "linear":return sy();case "date":case "datetime":case "dt":return ty();default:return b?null:sy()}}var uy=py.prototype;uy.maxTicksCount=uy.zh;uy.minimum=uy.No;uy.maximum=uy.Mo;uy.extendDataRange=uy.Ef;function vy(){U(this);W.call(this);this.Rn=[];this.Sn=[];this.c=980;this.N(!1)}G(vy,W);f=vy.prototype;f.aa=W.prototype.aa|976;f.Y=W.prototype.Y;f.Fa=null;f.fa=null;f.Je=null;f.za=null;f.Ta=null;f.Lf=null;f.Gl="noOverlap";f.mn=!1;f.xk=null;f.Mh=null;f.ln=1;f.Vg=null;f.na=null;f.la=null;f.Rr=!0;f.Sr=!0;f.Rn=null;f.Sn=null;f.title=function(a){this.Fa||(this.Fa=new Hv,this.Fa.Ka(this),N(this.Fa,this.CE,this),H(this,this.Fa));return p(a)?(this.Fa.F(a),this):this.Fa};
f.CE=function(a){var b=0,c=0;V(a,8)?(b=this.c,c=9):V(a,1)&&(b=64,c=1);this.i(b,c)};f.labels=function(a){this.fa||(this.fa=new ax,this.fa.Ka(this),N(this.fa,this.zE,this),H(this,this.fa));return p(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.fa.F(a),this):this.fa};f.zE=function(a){var b=0,c=0;V(a,8)?(b=this.c,c=9):V(a,1)&&(b=384,c=1);this.h=null;wy(this);this.i(b,c)};
f.Ba=function(a){this.Je||(this.Je=new ax,this.Je.Ka(this),this.ae()?this.Je.rotation(0):this.Je.rotation(-90),N(this.Je,this.AE,this),H(this,this.Je));return p(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.Je.F(a),this):this.Je};f.AE=function(a){var b=0,c=0;V(a,8)?(b=this.c,c=9):V(a,1)&&(b=128,c=1);wy(this);this.i(b,c)};f.Qr=function(){return new gx};f.Zt=function(){return this.$a?this.$a:this.$a=og()};
f.X=function(a){this.za||(this.za=this.Qr(),this.za.Ka(this),N(this.za,this.$w,this),H(this,this.za));return p(a)?(this.za.F(a),this):this.za};f.sa=function(a){this.Ta||(this.Ta=this.Qr(),this.Ta.Ka(this),N(this.Ta,this.$w,this),H(this,this.Ta));return p(a)?(this.Ta.F(a),this):this.Ta};f.$w=function(a){var b=0,c=0;V(a,8)?(b=this.c,c=9):V(a,1)&&(b=256,c=1);this.i(b,c)};
f.stroke=function(a,b,c,d,e){if(p(a)){a=ce.apply(null,arguments);if(this.U!=a){var g=z(this.U)?this.U.thickness||1:1,h=z(a)?a.thickness||1:1;this.U=a;h==g?this.i(16,1):this.i(this.c,9)}return this}return this.U};f.kc=function(a){return p(a)?(a=null===a?null:Bm(a),this.m!=a&&(this.m=a,this.h=null,this.i(this.c,9)),this):this.m||"top"};
f.scale=function(a){return p(a)?(this.Lf!=a&&(this.Lf&&et(this.Lf,this.Tr,this),(this.Lf=a)&&N(this.Lf,this.Tr,this),this.h=null,wy(this),Vx(this.labels()),Vx(this.Ba()),this.i(this.c,9)),this):this.Lf};f.Tr=function(a){V(a,2)&&(this.h=null,wy(this),Vx(this.labels()),Vx(this.Ba()),this.i(this.c,9))};f.width=function(a){return p(a)?(this.na!=a&&(this.na=a,this.i(this.c,9)),this):this.na};
f.eh=function(a,b,c,d){this.la||(this.la=new Iu,H(this,this.la),N(this.la,this.BE,this));return p(a)?(this.la.F.apply(this.la,arguments),this):this.la};f.BE=function(a){V(a,2)&&(this.h=null,wy(this),this.i(this.c,9))};f.Mf=function(){this.h=null;wy(this);this.i(this.c,9)};function wy(a){a.v&&(a.v.length=0);a.Rn.length=0;a.Sn.length=0;a.l=null}
function xy(a,b){var c;if(a.hj())if(a.h)c=a.h;else if((c=a.scale())&&a.labels().enabled()){a.ln=1;a.H=1;var d;c=c.X().get();var e=c.length,g,h,k,l,n,q;if(null===a.xk){var r=!1;for(g=1;!r&&g<=e;)for(r=!0,k=0;ka.Mh?a.Mh:a.ln}else a.H=a.xk;if((null!==a.xk||null!==a.Mh&&a.ln>a.Mh)&&"noOverlap"==a.Tn()){q=[];for(h=0;h=C&&a.Xe()||1<=C&&a.$d()?t=D:0C&&(t=D)),D++;v<=ba&&h=C&&a.Xe()||1<=C&&a.$d()?(u=l,n.push(!0)):0C?(u=l,n.push(!0)):n.push(!1))):n.push(!1),l++)}la||(n=!1)}else if(q instanceof ly)for(h=0;hh&&
(h=d)}if(n&&!a.hj())for(n=z(q)?q.Ba:!q,r=b.sa().get(),e=0,g=n.length;ek&&(k=d);return a.Wy(h,k)+l}f.Ae=function(a){return this.ae()?this.eh().Kc(a):this.eh().Jc(a)};
f.Xb=function(){var a=this.S();if(a){var b=a.clone();if(this.scale()&&this.enabled()){var c=this.ua(),d=this.eh(),e=a.height-d.Jc(a.height)+c.height,a=a.width-d.Kc(a.width)+c.width;switch(this.kc()){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)};
f.ua=function(){if(!this.Vg||S(this,4)){var a=this.S();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.ae()?(b=a.width,c=a.height):(b=a.height,c=a.width);b=this.Ae(b);c=this.na?K(this.na,c):zy(this,a,b);var d,e,g=this.eh(),h=K(g.D("top"),a.height),k=K(g.D("right"),a.width),l=K(g.D("bottom"),a.height),g=K(g.D("left"),a.width),n,q;switch(this.kc()){case "top":e=a.top+h;d=a.left+g;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+g;q=c;n=b;break;case "left":e=a.top+h,d=a.left+g,q=b,n=c}this.Vg=new I(Math.round(d),Math.round(e),Math.round(n),Math.round(q))}else this.Vg=new I(0,0,0,0);P(this,4)}return this.Vg};
function yy(a,b,c,d,e){if(!c&&a.scale()&&!(a.scale()instanceof py))return null;var g=c?a.Rn:a.Sn;if(p(g[b]))return g[b];var h=p(e)?e:a.ua();e=p(e)?e:a.$a.xa();var k=c?a.X():a.sa(),l=k.length(),n=a.stroke(),n=!n||hq(n)?0:n.thickness?parseFloat(a.stroke().thickness):1;c=c?a.labels():a.Ba();var q,r,t=a.scale();d=d[b];y(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,A,C,g,c),l==k-1&&(w=a.transform(R,1),0<=w&&1>=w&&b.call(e,w,A,C,g,c))),(x=y(q)?q[l]:q)&&0<=t&&1>=t&&Ay(this,d,t,l,c,!0,h);this.labels().I()}this.title().N(!1);this.labels().N(!1);
this.Ba().N(!1);this.X().N(!1);this.sa().N(!1);return this};f.remove=function(){this.Fa&&this.Fa.remove();this.$a&&this.$a.parent(null);this.X().remove();this.sa().remove();this.fa&&this.fa.remove();this.Je&&this.Je.remove()};
f.w=function(){var a=vy.s.w.call(this);a.title=this.title().w();a.labels=this.labels().w();a.minorLabels=this.Ba().w();a.ticks=this.X().w();a.minorTicks=this.sa().w();a.stroke=Nn(this.stroke());a.staggerMode=this.hj();a.staggerLines=this.uv();a.staggerMaxLines=this.vv();a.width=this.width();this.m&&(a.orientation=this.m);a.drawFirstLabel=this.Xe();a.drawLastLabel=this.$d();a.overlapMode=this.Tn();return a};
f.J=function(a,b){vy.s.J.call(this,a,b);"title"in a&&this.title(a.title);this.labels().F(a.labels);this.Ba().F(a.minorLabels);this.X(a.ticks);this.sa(a.minorTicks);this.hj(a.staggerMode);this.uv(a.staggerLines);this.vv(a.staggerMaxLines);this.stroke(a.stroke);this.width(a.width);this.kc(a.orientation);this.Xe(a.drawFirstLabel);this.$d(a.drawLastLabel);this.Tn(a.overlapMode)};
f.K=function(){vy.s.K.call(this);this.Lf&&et(this.Lf,this.Tr,this);delete this.Lf;this.Fa=this.Sn=this.Rn=null;Ob(this.la,this.$a,this.fa,this.Je);this.Je=this.fa=this.Vg=this.Ta=this.za=this.$a=this.la=null};var By=vy.prototype;By.staggerMode=By.hj;By.staggerLines=By.uv;By.staggerMaxLines=By.vv;By.title=By.title;By.labels=By.labels;By.minorLabels=By.Ba;By.ticks=By.X;By.minorTicks=By.sa;By.stroke=By.stroke;By.orientation=By.kc;By.scale=By.scale;By.width=By.width;By.getRemainingBounds=By.Xb;
By.drawFirstLabel=By.Xe;By.drawLastLabel=By.$d;By.overlapMode=By.Tn;By.isHorizontal=By.ae;By.padding=By.eh;function Cy(){W.call(this);this.g=this.c=null}G(Cy,W);f=Cy.prototype;f.Y=W.prototype.Y|8;f.aa=W.prototype.aa|20;f.ib=function(){return this.g};function Dy(a,b){return p(b)?(a.V!=b&&(a.V&&et(a.V,a.as,a),a.V=b,a.V&&N(a.V,a.as,a),a.i(4,9)),a):a.V?a.V:a.c?a.c.scale():null}f.as=function(a){var b=0;V(a,4)&&(b|=4);V(a,2)&&(b|=1);this.i(4,b|8)};function Ey(a,b){return p(b)?(a.b!==b&&(a.b=b,a.i(4,9)),a):a.b}f.ox=function(){this.i(4,9)};
f.hh=function(a){return p(a)?(this.c!=a&&(this.c&&et(this.c,this.ox,this),this.c=a,N(this.c,this.ox,this),this.V&&et(this.V,this.as,this),this.V=null,this.i(4,9)),this):this.c};f.nx=function(a,b,c,d){this.f||(this.f=new Iu,H(this,this.f));return p(a)?(this.f.F.apply(this.f,arguments),this):this.f};f.wj=function(){return"horizontal"==this.qg()};f.Kl=void 0;f.Jl=void 0;
f.I=function(){if(!this.scale())return kn(2),this;if(!this.Ra())return this;if(S(this,8)){var a=this.zIndex();Fy(this).zIndex(a);P(this,8)}S(this,2)&&(a=this.C(),Fy(this).parent(a),P(this,2));S(this,16)&&(this.Jl(),P(this,16));S(this,4)&&(this.Kl(),P(this,4));return this};
function Gy(a){var b=a.scale();if(b){var c=Fy(a),b=b.transform(a.b,.5);if(!isNaN(b)&&(c.clear(),0<=b&&1>=b)){var d=c.yv()%2?-.5:0,e=a.S(),g=a.nx();a.wj()?(a=Math.round(e.Ea()+e.height-b*e.height),1==b?a-=d:a+=d,c.moveTo(e.ya(),a),c.lineTo(e.ka(),a)):(a=Math.round(e.ya()+b*e.width),1==b?a+=d:a-=d,c.moveTo(a,e.Ea()),c.lineTo(a,e.ea()));c.clip(g.Wd(e))}}else kn(2)}
function Hy(a){var b=a.b,c=a.scale();if(c){var d=Fy(a);d.clear();var e=b.xd,g=b.from,h=c.transform(g),k=c.transform(e);h>k&&(e=b.from,g=b.xd);g=c.transform(g,0);c=c.transform(e,1);b=Math.min(c,g);g=Math.max(c,g);!isNaN(b)&&!isNaN(g)&&0<=g&&1>=b&&(b=qd(b,0,1),g=qd(g,0,1),c=a.S(),e=a.nx(),a.wj()?(a=Math.floor(c.ea()-c.height*g),b=Math.ceil(c.ea()-c.height*b),g=c.ya(),h=c.ka(),d.moveTo(g,a).lineTo(h,a).lineTo(h,b).lineTo(g,b).close()):(a=c.ea(),h=c.Ea(),b=Math.floor(c.ya()+c.width*b),g=Math.ceil(c.ya()+
c.width*g),d.moveTo(b,a).lineTo(b,h).lineTo(g,h).lineTo(g,a).close()),d.clip(e.Wd(c)))}else kn(2)}f.remove=function(){Fy(this).parent(null)};function Fy(a){a.l||(a.l=og(),H(a,a.l));return a.l}f.J=function(a,b){Cy.s.J.call(this,a,b);"layout"in a&&a.layout&&this.qg(a.layout);if("axis"in a){var c=a.axis;E(c)?this.g&&this.hh(Iy(this.g,c)):c instanceof vy&&this.hh(c)}};f.K=function(){this.g=this.c=null;Cy.s.K.call(this)};function Jy(){Cy.call(this);this.b={from:0,xd:0};this.o="black";var a=!this.h&&"#c1c1c1 0.4"!=this.o;this.o="#c1c1c1 0.4";a&&this.i(16)}G(Jy,Cy);f=Jy.prototype;f.Y=Cy.prototype.Y;f.aa=Cy.prototype.aa;f.qg=function(a){return p(a)?(a=ym(a),this.m!=a&&(this.m=a,this.i(4,9)),this):this.m?this.m:this.hh()?(a=this.hh().kc(),"left"==a||"right"==a?"horizontal":"vertical"):"horizontal"};f.scale=function(a){return Dy(this,a)};
f.fill=function(a,b,c,d,e,g,h){if(p(a)){var k=Wd.apply(null,arguments);k!=this.h&&(this.h=k,this.i(16,1));return this}return this.h||this.o};f.from=function(a){return p(a)?(this.b.from!=a&&(this.b.from=a,this.i(4,9)),this):this.b.from};f.xd=function(a){return p(a)?(this.b.xd!=a&&(this.b.xd=a,this.i(4,9)),this):this.b.xd};f.Kl=function(){Hy(this)};f.Jl=function(){Fy(this).stroke(null).fill(this.fill())};f.K=function(){delete this.h;Jy.s.K.call(this)};
f.w=function(){var a=Jy.s.w.call(this);a.from=this.from();a.to=this.xd();this.h&&(a.fill=Nn(this.h));this.m&&(a.layout=this.m);return a};f.J=function(a,b){Jy.s.J.call(this,a,b);this.from(a.from);this.xd(a.to);this.fill(a.fill)};var Ky=Jy.prototype;Ky.from=Ky.from;Ky.to=Ky.xd;Ky.scale=Ky.scale;Ky.axis=Ky.hh;Ky.layout=Ky.qg;Ky.fill=Ky.fill;Ky.isHorizontal=Ky.wj;function Ly(a){this.c=a;this.reset()}f=Ly.prototype;f.select=function(a){this.b=a-1;return this.advance()};f.reset=function(){this.b=-1;this.f=void 0;return this};f.advance=function(){this.f=this.c.fc(++this.b);var a=this.Zb();return!!a&&this.b=this.Zb()))return My(this.c.If(this.b),this.f,this.b,a)};f.vh=function(a){return this.get(a)};f.Pa=function(){return this.b};f.Bo=function(){return this.get("x")};f.Zb=function(){return this.c.Zb()};
f.G=function(a,b){return 1=this.Zb()))return My(this.If(a),this.fc(a),a,b)};f.set=function(a,b,c){var d=this.fc(a);p(d)&&this.fc(a,Uy(this.If(a),d,b,c));return this};f.wb=function(){Py(this);return new Ly(this)};f.pt=function(){return null};
f.hq=function(a){this.c=null;V(a,16)&&this.i(1,16)};f.G=function(a,b,c){this.mk||(this.mk=[]);var d=this.mk[a];d||(this.mk[a]=d={});return 2=c&&0=g&&0=c&&0this.b.length||!this.c)return null;if(p(b))return this.f[a]=b,this.P(2),this;a>this.c-1&&(a=this.c-1);0>a&&(a=0);var c=this.f[a];return c?c:null};
function lz(a){if(a.b&&a.c){var b=[],c=y(a.b)?a.b:a.b.keys;if(y(c)&&c.length){isNaN(a.c)&&(a.c=c.length);for(var d=1/(c.length-1),e,g=0;g=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[g]={color:c.color}:(e=1-(e-c.offset)/(d.offset-c.offset),a.f[g]={color:be(zl(vl(c.color),vl(d.color),e))})}}}}f.w=function(){var a=kz.s.w.call(this);a.type="range";for(var b=[],c=0;ca&&(c=b,b=a,a=c),c=[b,a])):c=null;this.m=!1;this.b=c;this.f={};this.P(2);return this}return this.b};f.KC=function(a){return p(a)?(this.j=L(a),this.f={},this.P(2),this):this.j};f.Ly=function(a){if(p(a)){this.g=y(a)?a.slice():[];for(a=this.h.length=0;aa.b[1])&&d.push([b.getTime(),b.getTime()+864E5-6E4]));!d&&a.c&&(d=Fz(a.c,b));d||(d=[]);return a.f[c]=d}f.LA=function(a){V(a,2)&&!this.b&&(this.f={})};
function sz(a){var b=a.isWorking;this.h=p(b)?!b:!1;b=hn(a.each);switch(b){case "year":var c=a.on,d=a.from,e=a.to;this.m=this.bJ;(c=Nx(c,"dd.MM",oz))?(this.j=this.Du,this.b=new rp(2E3,c.getUTCMonth(),c.getUTCDate()),e=Gz(d,e),this.f=e[0],this.c=e[1]):(this.j=this.PB,this.b=null,c=(c=Nx(d,"dd.MM",oz))?new rp(c):pz,this.f=new rp(2E3,c.getUTCMonth(),c.getUTCDate()),c=(c=Nx(e,"dd.MM",oz))?new rp(c):qz,this.c=new rp(2E3,c.getUTCMonth(),c.getUTCDate()),this.c.add(rz));break;case "week":Hz(this,a.on,a.from,
a.to);break;case "day":Hz(this,NaN,a.from,a.to);break;default:c=a.on,d=a.from,e=a.to,this.m=this.Fv,(c=Nx(c))?(this.j=this.Du,this.b=new rp(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),e=Gz(d,e),this.f=e[0],this.c=e[1]):(this.j=this.PB,this.b=null,c=(c=Nx(d))?new rp(c):pz,this.f=new rp(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),c=(c=Nx(e))?new rp(c):qz,this.c=new rp(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),this.c.add(rz))}"none"==b?this.b?(this.l=this.b.clone(),this.g=this.b.clone(),
this.g.add(rz)):(this.l=this.f.clone(),this.g=this.c.clone()):(this.l=(b=Nx(a.starts))?new rp(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()):pz,(b=Nx(a.ends))?(this.g=new rp(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()),this.g.add(rz)):this.g=qz)}function Hz(a,b,c,d){a.m=a.cJ;a.j=a.Du;b=Math.min(M(b,NaN,!0),6);a.b=isNaN(b)?null:b;b=Gz(c,d);a.f=b[0];a.c=b[1]}f=sz.prototype;f.Fv=function(a){return a.getTime()>=this.l.getTime()&&a.getTime()<=this.g.getTime()};
f.cJ=function(a){return this.Fv(a)&&(null===this.b||(a.Bp()+6)%7==this.b)};f.bJ=function(a){if(!this.Fv(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.f.clone();c.eu(b);var d=this.c.clone();d.eu(b);return a>=c.getTime()&&a<=d.getTime()};
f.Du=function(a,b){for(var c=this.f,d=b.getTime()+36E5*c[0]+6E4*c[1],c=this.c,e=b.getTime()+36E5*c[0]+6E4*c[1],g=[],h=0;(c=a[h])&&c[1]e)this.h||g.push([d,e]);else{this.h?(c[0]a?4:Math.ceil(+a),this.vg=this.pd=null,this.P(2)),this):this.Cd};
f.set=function(a){if(this.pd!=a){this.Cd=NaN;this.Le=null;this.pd=kb(a,function(a){return Nx(a)});Eb(this.pd);for(var b=this.pd[0],c=1,d=1;da||1a.scale.zh()&&(on(20,null,[c-b,Cq(k)]),k=null,a.Cd=4);k||(k=Nz(a,b,c,!1));d&&(g[0]=b=bq(b,k,0));b=new rp(new Date(b));c=new rp(new Date(c));for(d=0;0>=b.getTime()-c.getTime()&&150>d;b.add(k),d++)h.push(b.getTime());e&&0a.scale.zh()&&(on(20,null,[l-d,Cq(h)]),h=null,a.Cd=4);h||(h=Nz(a,c,b,!0));c=new rp(new Date(d));l=new rp(new Date(l));for(b=0;0>=c.getTime()-l.getTime()&&150>b;c.add(h),b++)e.push(c.getTime());a.vg=e;a.Cd=k}this.l&&(this.min=g[0]);this.m&&(this.max=g[1]);this.Ic=this.max-this.min}};f.Cy=function(a){V(a,2)&&(this.c=!1,this.P(2))};f.w=function(){var a=iy.s.w.call(this);a.ticks=this.X().w();a.minorTicks=this.sa().w();return a};
f.J=function(a,b){iy.s.J.call(this,a,b);this.X(a.ticks);this.sa(a.minorTicks)};function ty(){return new iy}var Pz=iy.prototype;F("anychart.scales.dateTime",ty);Pz.getType=Pz.$b;Pz.ticks=Pz.X;Pz.minorTicks=Pz.sa;Pz.transform=Pz.transform;Pz.inverseTransform=Pz.Bc;Pz.extendDataRange=Pz.Ef;Pz.softMinimum=Pz.kt;Pz.softMaximum=Pz.jt;Pz.minimumGap=Pz.cm;Pz.maximumGap=Pz.bm;function Qz(a){jd.call(this);this.V=a}G(Qz,dt);f=Qz.prototype;f.Y=2;f.Nc=NaN;f.Qb=4;f.$c=6;f.zc=null;f.Uc=null;f.te=0;f.Nj="linear";f.$I=function(a){return p(a)?(this.Nc!=a&&(a=L(a),0>=a?(this.Qb=4,this.$c=6,this.Nc=NaN):(this.$c=this.Qb=NaN,this.Nc=+a),this.Uc=this.zc=null,this.P(2)),this):this.Nc};
f.count=function(a,b){return p(a)?(this.Qb!=a&&(this.Nc=NaN,this.Qb=Math.ceil(L(a)),this.$c=Math.ceil(L(b)),2<=this.Qb||(this.Qb=4),this.$c>=this.Qb||(this.$c=this.Qb),this.Uc=this.zc=null,this.P(2)),this):[this.Qb,this.$c]};f.ot=function(a){return p(a)?(a=+a||0,this.te!=a&&(this.te=a,this.Uc=null,this.zc||this.P(2)),this):this.te};f.set=function(a){Ib(this.zc,a)||(this.Nc=this.$c=this.Qb=NaN,this.zc=xb(a,0),yb(this.zc),Eb(this.zc,Op),this.Uc=null,this.P(2));return this};
f.get=function(){var a=Rz(this);return jb(a,function(a){a=this.transform(a);return 0<=a&&1>=a},this.V)};function Rz(a){a.zc?a=a.zc:(a.V.Zc(),a=a.Uc);return a||[]}f.mode=function(a){return p(a)?(a=(""+a).toLowerCase(),a="log"==a||"logarithmic"==a?"logarithmic":"linear",this.Nj!=a&&(this.Uc=null,this.Nj=a,this.zc||this.P(2)),this):this.Nj};
function Sz(a,b,c,d,e,g){if("logarithmic"==a.Nj){g=g||10;a.Uc=null;var h=[b,c];if(a.zc)d&&(h[0]=Math.min(b,a.zc[0]||0)),e&&(h[1]=Math.max(c,a.zc[a.zc.length-1]||0));else{b=Po(b,g);c=Po(c,g);var k=[],l=a.Nc,n=a.Qb,q=a.$c;!isNaN(l)&&(c-b)/l>a.V.zh()&&(on(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(aq(n,w),aq(n,Math.ceil(Math.pow(10,Math.ceil(u*Math.LOG10E)))),aq(n,Math.ceil(Math.pow(2,
Math.floor(u*Math.LOG2E)))),aq(n,Math.ceil(Math.pow(2,Math.ceil(u*Math.LOG2E)))),aq(n,Math.ceil(w/2)),aq(n,Math.ceil(w/4)),aq(n,Math.ceil(w/8))),n=Math.max(n,1E-7),u=Oo($p(b,n,a.te))-b,u=u*u,w=Oo(aq(c,n,a.te))-c,w=w*w,u=u+w;if(isNaN(r)||ua.V.zh()&&(on(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)),x=rb.length)){c=c||10;var g="logarithmic"==a.Nj,h=g?a.QD:a.PD,k,l,n=b.length-1,q=a.Nc,r=a.Qb;isNaN(a.Nc)||(l=b[n],k=b[0],g&&(k=Po(k,c),l=Po(l,c)),(l-k)/a.Nc>a.V.zh()&&(on(20,null,[l-k,a.Nc]),a.Nc=NaN,a.Qb=4));p(d)?(k=b[0],l=b[1],h.call(a,k,l,d,l,c),k=1):k=0;p(e)&&n--;for(d=k;d<=n-1;d++)k=b[d],l=b[d+1],h.call(a,k,l,k,l,c);p(e)&&(k=b[n],l=b[n+1],h.call(a,k,l,k,e,c));a.Nc=q;a.Qb=r}}
f.PD=function(a,b,c,d){var e=this.Nc;isNaN(e)&&(e=(d-c)/(this.Qb-1));e=Math.max(e,1E-7);c=this.Uc[this.Uc.length-1];b=No(b,7);for(a=No(a,7);a<=b;a=No(a+e,7))c!=a&&this.Uc.push(a),c=a};f.QD=function(a,b,c,d,e){var g=this.Nc;a=Po(a,e);b=Po(b,e);c=Po(c,e);d=Po(d,e);isNaN(g)&&(g=(d-c)/(this.Qb-1));g=Math.max(g,1E-7);c=this.Uc[this.Uc.length-1];b=No(b,7);for(a=No(a,7);a<=b;a=No(a+g,7))c!=a&&this.Uc.push(Qo(e,a)),c=a};
f.w=function(){var a=Qz.s.w.call(this);a.mode=this.Nj;a.base=this.te;this.zc?a.explicit=this.zc:(this.Qb==this.$c?isNaN(this.Qb)||(a.count=this.Qb):(isNaN(this.Qb)||(a.minCount=this.Qb),isNaN(this.$c)||(a.maxCount=this.$c)),isNaN(this.Nc)||(a.interval=this.Nc));return a};f.Db=function(a){var b=arguments;return y(b[0])?(this.set(b[0]),!0):dt.prototype.Db.apply(this,b)};
f.J=function(a,b){Qz.s.J.call(this,a,b);this.mode(a.mode);this.ot(a.base);this.zc=a.explicit||null;this.Qb=a.count||a.minCount||NaN;this.$c=a.count||a.maxCount||NaN;this.Nc=a.interval||NaN;this.zc?this.Qb=this.$c=this.Nc=NaN:this.Nc?this.Qb=this.$c=NaN:(this.Qb=Math.ceil(L(this.Qb)),this.$c=Math.ceil(L(this.$c)),2<=this.Qb||(this.Qb=4),this.$c>=this.Qb||(this.$c=this.Qb))};var Uz=Qz.prototype;Uz.interval=Uz.$I;Uz.count=Uz.count;Uz.base=Uz.ot;Uz.set=Uz.set;Uz.get=Uz.get;Uz.mode=Uz.mode;function jy(){py.call(this);this.j=this.h=null;this.rt=!0;this.b=10;this.M=!0;this.Z=this.cB}G(jy,py);f=jy.prototype;f.Yo="none";f.vt="firstVisible";f.$b=function(){return"linear"};f.X=function(a){this.h||(this.h=this.Ko());return p(a)?(this.h.F(a),this):this.h};f.sa=function(a){this.j||(this.j=this.Ko(),U(this.j),this.j.count(5),this.j.N(!1));return p(a)?(this.j.F(a),this):this.j};f.xv=function(a){return p(a)?(a=!!a,a!=this.M&&(this.M=a,this.l||this.m)&&(this.c=!1,this.P(4)),this):this.M};
f.Zc=function(){if(!this.c){jy.s.Zc.call(this);var a=Sz(this.X(),this.min,this.max,this.l&&this.min!=this.u,this.m&&this.max!=this.o,this.b);this.l&&(this.min=a[0]);this.m&&(this.max=a[1]);Tz(this.sa(),Rz(this.X()),this.b,a[2],a[3]);this.Ic=this.max-this.min}};f.VI=function(a){V(a,2)&&(this.c=!1,this.P(2))};f.Ko=function(){var a=new Qz(this);H(this,a);N(a,this.VI,this);return a};
f.dz=function(a){if(p(a)){a=Om(a);if(this.Yo!=a){this.Yo=a;switch(this.Yo){case "none":this.Z=this.cB;break;case "value":this.Z=this.eL;break;case "percent":this.Z=this.cL}this.P(6)}return this}return this.Yo};f.cz=function(a){return p(a)?(a=Pm(a)||Yp(a),this.vt!=a&&(this.vt=a,this.P(6)),this):this.vt};f.ri=function(a,b){return this.Z(a,b)};f.cB=function(a){return a};f.eL=function(a,b){return L(a)-b};f.cL=function(a,b){return(L(a)-b)/(b||1)*100};
f.w=function(){var a=jy.s.w.call(this);a.ticks=this.X().w();a.minorTicks=this.sa().w();a.stackMode=this.wk();a.stickToZero=this.xv();return a};f.J=function(a,b){jy.s.J.call(this,a,b);this.X(a.ticks);this.sa(a.minorTicks);this.wk(a.stackMode);this.xv(a.stickToZero)};function sy(){return new jy}var Vz=jy.prototype;F("anychart.scales.linear",sy);Vz.transform=Vz.transform;Vz.inverseTransform=Vz.Bc;Vz.getType=Vz.$b;Vz.ticks=Vz.X;Vz.minorTicks=Vz.sa;Vz.stackMode=Vz.wk;Vz.stickToZero=Vz.xv;
Vz.softMinimum=Vz.kt;Vz.softMaximum=Vz.jt;Vz.minimumGap=Vz.cm;Vz.maximumGap=Vz.bm;Vz.comparisonMode=Vz.dz;Vz.compareWith=Vz.cz;function Wz(){py.call(this);this.B=this.H=0;this.J(Xn("defaultLinearColorScale"))}G(Wz,py);f=Wz.prototype;f.$b=function(){return"linearColor"};f.Qt=function(a){var b,c,d,e=[];b=0;for(c=arguments.length;b=g.offset?b=g:c=g}var h;b?c?h=zl(c.color,b.color,(a-b.offset)/(c.offset-b.offset)):h=b.color:h=c.color;return be(h)};
f.SI=function(a){this.Zc();a=vl(Jn(a).Ld);var b,c,d,e,g,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(g[1]*n+(1-n)*e[1])==a[1],q=Math.round(g[2]*q+(1-q)*e[2])==a[2],Math.round(g[0]*l+(1-l)*e[0])==a[0]&&n&&q)){b=this.Ic*(l/(1/
(d.offset-c.offset))+c.offset)+this.min;break}}return p(b)?b:NaN};f.X=function(a){this.h||(this.h=Xz(this));return p(a)?(this.h.F(a),this.P(2),this):this.h};f.sa=function(a){this.j||(this.j=Xz(this),this.j.count(5));return p(a)?(this.j.F(a),this.P(2),this):this.j};
f.Zc=function(){if(!this.c){Wz.s.Zc.call(this);var a=Sz(this.X(),this.min,this.max,this.l&&this.min!=this.u,this.m&&this.max!=this.o,10);this.l&&(this.min=a[0]);this.m&&(this.max=a[1]);Tz(this.sa(),Rz(this.X()),10,a[2],a[3]);this.Ic=this.max-this.min}};f.TI=function(a){V(a,2)&&(this.c=!1,this.P(2))};function Xz(a){var b=new Qz(a);H(a,b);N(b,a.TI,a);return b}
f.w=function(){var a=Wz.s.w.call(this);a.ticks=this.X().w();a.minorTicks=this.sa().w();a.colors=kb(this.Mj(),function(a){return be(a.color)});return a};f.J=function(a,b){Wz.s.J.call(this,a,b);this.X(a.ticks);this.sa(a.minorTicks);this.Mj(a.colors)};var Yz=Wz.prototype;F("anychart.scales.linearColor",function(a){var b=new Wz;b.Mj.apply(b,arguments);return b});Yz.colors=Yz.Mj;Yz.valueToColor=Yz.UI;Yz.colorToValue=Yz.SI;Yz.ticks=Yz.X;Yz.minorTicks=Yz.sa;function Zz(){jy.call(this)}G(Zz,jy);f=Zz.prototype;f.zu=function(a){return p(a)?(a=isNaN(+a)?this.b:+a,a!=this.b&&(this.b=a,this.P(2)),this):this.b};f.$b=function(){return"log"};f.transform=function(a){this.Zc();a=L(a);return my(this,(Po(a,this.b)-this.A)/this.Ic)};f.Bc=function(a){this.Zc();a=ny(this,a);return Qo(this.b,a*this.Ic+this.A)};f.Zc=function(){this.c||(Zz.s.Zc.call(this),this.A=Po(this.min,this.b),this.O=Po(this.max,this.b),this.Ic=this.O-this.A)};
f.Nz=function(){var a=Po(this.g,this.b),b=Po(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.H,isNaN(this.u)||(b=Po(this.u,this.b),this.A=0g&&0>h||1b&&0>a||1=d?(l=d-1,g=!0):l--;e.push(k==l?c[k]:[c[k],c[l]])}return e};function cA(a){a.mi=null;a.nh=null;a.hd=null}f.w=function(){var a=aA.s.w.call(this);this.Ne?a.explicit=this.Ne:isNaN(this.oi)?isNaN(this.oh)||(a.interval=this.oh):a.maxCount=this.oi;this.Ze&&(a.names=this.Ze);return a};
f.Db=function(a){var b=arguments;return y(b[0])?(this.set(b[0]),!0):dt.prototype.Db.apply(this,b)};f.J=function(a,b){aA.s.J.call(this,a,b);"explicit"in a?this.set(a.explicit):"interval"in a?this.Lo(a.interval):"maxCount"in a&&this.Bu(a.maxCount);this.Ze=a.names||null;this.hd=this.nh=null};var dA=aA.prototype;dA.interval=dA.Lo;dA.maxCount=dA.Bu;dA.set=dA.set;dA.get=dA.get;dA.names=dA.names;function hy(){this.b=[];this.c=[];this.j={};this.h=null;this.f=!0;this.za=null;ly.call(this)}G(hy,ly);f=hy.prototype;f.$b=function(){return"ordinal"};f.Jp=function(a){return!p(a)};f.X=function(a){this.za||(this.za=new aA(this),H(this,this.za),N(this.za,this.ZI,this));return p(a)?(this.za.F(a),this):this.za};f.values=function(a,b){if(!p(a))return this.b;if(null===a)this.f||(this.f=!0,this.P(4));else{this.f=!1;var c=y(a);this.Eh();c&&a.length?this.Ef.apply(this,a):this.Ef.apply(this,arguments);this.Uo(!1)}return this};
f.names=function(a){if(p(a)){if(null===a)this.c=[];else if(y(a))this.c=ub(a);else{if(!B(a)||this.c==a)return this;this.c=a}this.g=null;cA(this.X());this.P(2);return this}if(y(this.c)){this.g||(this.g=ub(this.c));if(this.g.length=d?(l=d-1,g=!0):l--;var n=(c[k].start+c[k].end)/2,q=(c[l].start+c[l].end)/2;e.push(k==l?n:[n,q])}return e};function gA(){ly.call(this);this.m=this.b=null;this.j=[];this.A=this.f=null;this.u=[];this.J(Xn("defaultOrdinalColorScale"))}G(gA,ly);f=gA.prototype;f.$b=function(){return"ordinalColor"};f.Lj=function(a){return p(a)?(a=!!a,this.v!=a&&(this.v=a,this.Eh(),this.P(2)),this):this.v};
f.wg=function(a){if(p(a))return a?y(a)&&(this.b=ub(a)):this.b=[],this.Eh(),this.P(2),this;if(y(this.b)){this.l||(this.l=ub(this.b));if(this.l.length "+c.start:"< "+c.end;c.name||(c.name=d);this.hd.push(d)}}return this.hd};f.Ym=function(a){return p(a)?(this.j!=a&&(this.j=a,this.A=Xn("defaultOrdinalColorScale.autoColors")(this.j.length),this.Eh(),cA(this.X()),this.P(4)),this):this.j};f.Hi=function(){hA(this);this.names();return this.f};f.wh=function(a){hA(this);var b=null;if(this.f)for(var c=this.f.length;c--;){var d=this.f[c];if(p(d.mp)&&d.mp===a||a>=d.start&&a<=d.end&&-1d.length-1?d[d.length-1]:d[c])}}return b};f.WI=function(a){hA(this);a=Jn(a).Ld;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});A=[];b=0;for(c=h.length;b=b.top&&a<=b.ea();a=[];a.push(this.b.xAnchor);a.push(this.b.secondXAnchor);a.push(this.b.thirdXAnchor);for(var c=!0,d=!0,e=0;eb.ka());return!c&&!d};function HA(a,b){return a.c.left+b*a.c.width}function IA(a,b){return a.c.ea()-b*a.c.height}
f.I=function(){if(!this.Ra())return this;U(this);S(this,4)&&(this.c=this.ua(),this.i(64),P(this,4));this.pc();var a=EA(this);this.sq();S(this,16)&&(this.ec(this.state),P(this,16));if(S(this,256)){if(a)15==this.fb&&15==this.v?this.jp(this.b.xAnchor,this.b.valueAnchor,this.b.secondXAnchor,this.b.secondValueAnchor,this.b.thirdXAnchor,this.b.thirdValueAnchor):7<=this.fb&&7<=this.v?this.Df(this.b.xAnchor,this.b.valueAnchor,this.b.secondXAnchor,this.b.secondValueAnchor):(3<=this.fb&&3<=this.v||this.v==
this.fb)&&this.ye(this.b.xAnchor,this.b.valueAnchor);else return this.remove(),this.i(2),this.N(!1),this;P(this,256)}S(this,1024)&&(this.da.yb(!this.D("allowEdit")),P(this,1024));if(S(this,512)){if(this.nb){var a=this.pj(),b=this.oj().enabled()||this.qj().enabled();U(a);if(!1!==a.enabled()||b){a.C(this.da);a.clear();a.S(this.c);a.Yf=5;var c=this.state,b=this.pj(),c=Math.min(c&3,2);switch(c){case 1:c=this.oj();break;case 2:c=this.qj();break;default:c=null}if(c&&null!==c.enabled()?c.enabled():b.enabled())for(var d=
JA(this),e=0;e=b||a>this.c.ka()&&0<=b);return a};f.w=function(){var a=UA.s.w.call(this);Pt(this,pA,a,"Annotation");Pt(this,lA,a,"Annotation");Pt(this,mA,a,"Annotation");Pt(this,nA,a,"Annotation");Pt(this,oA,a,"Annotation");return a};
f.J=function(a,b){Ot(this,pA,a);Ot(this,lA,a);Ot(this,mA,a);Ot(this,nA,a);Ot(this,oA,a);UA.s.J.call(this,a,b)};f.K=function(){UA.s.K.call(this);Ob(this.f);delete this.h};function VA(a){AA.call(this,a);this.f=null;this.o=KA(["stroke","hoverStroke","selectStroke"],2);this.h=KA(["fill","hoverFill","selectFill"],1);this.l=KA(["hatchFill","hoverHatchFill","selectHatchFill"],3)}G(VA,AA);Lt(VA,lA);Lt(VA,mA);Lt(VA,nA);Lt(VA,oA);Lt(VA,pA);Lt(VA,sA);jA.ellipse=VA;f=VA.prototype;f.type="ellipse";f.fb=7;f.pc=function(){VA.s.pc.call(this);this.f||(this.f=[this.da.ca(),this.da.ca(),this.da.ca()],this.f[0].zIndex(0),this.f[1].zIndex(1),this.f[2].zIndex(3))};
f.ye=function(a,b){for(var c=0;cthis.c.ka());return a};function bB(a){WA.call(this,a);this.U=[];this.h=null;this.eb=KA(["grid","hoverGrid","selectGrid"],2)}G(bB,WA);Lt(bB,rA);jA.fibonacciFan=bB;f=bB.prototype;f.type="fibonacciFan";f.Lq=function(a){if(p(a)){if(y(a)){for(var b=this.U.length=0;b=b||a>this.c.ka()&&0<=b);return a};f.ec=function(a){bB.s.ec.call(this,a);for(var b=0;b=this.l.length?c.timeLevel=this.U[b-this.l.length]:c.level=this.l[b]);return c};
f.sq=function(){if(S(this,4096)){this.f||(this.f=[]);this.h||(this.h=[]);var a,b=this.l.length+this.U.length;for(a=this.f.length;a=b||a>this.c.ka()&&0<=b);return a};
f.w=function(){var a=jB.s.w.call(this);Pt(this,pA,a,"Annotation");Pt(this,lA,a,"Annotation");Pt(this,mA,a,"Annotation");Pt(this,nA,a,"Annotation");return a};f.J=function(a,b){Ot(this,pA,a);Ot(this,lA,a);Ot(this,mA,a);Ot(this,nA,a);jB.s.J.call(this,a,b)};f.K=function(){jB.s.K.call(this);Ob(this.f);delete this.h};function kB(a){AA.call(this,a);this.f=null;this.o=KA(["stroke","hoverStroke","selectStroke"],2);this.h=KA(["fill","hoverFill","selectFill"],1);this.l=KA(["hatchFill","hoverHatchFill","selectHatchFill"],3)}G(kB,AA);Lt(kB,lA);Lt(kB,mA);Lt(kB,nA);Lt(kB,pA);Lt(kB,sA);jA.rectangle=kB;f=kB.prototype;f.type="rectangle";f.fb=7;f.pc=function(){kB.s.pc.call(this);this.f||(this.f=[this.da.ca(),this.da.ca(),this.da.ca()],this.f[0].zIndex(0),this.f[1].zIndex(1),this.f[2].zIndex(3))};
f.ye=function(a,b){for(var c=0;ck&&e>l?c=g=d=h=null:(c=Uo(a,b,a,b+d,this.c),g=Uo(e,g,e,g+d,this.c),b=Math.max(Math.min(a,e),k),a=Math.min(Math.max(a,e),l),d=[b,h],h=[a,h,a,n,b,n,b,h]);else{d=(d-b)/(c-a);b-=d*a;var q=g-d*e;b>q&&(g=b,b=q,q=g);a=c>a?Math.min(a,e):Math.max(a,e);e=c;e>a&&a>l||ea?(a=Math.max(a,k),e=l):(e=Math.min(a,l),a=k),c=d*a+b,g=d*a+q,k=d*e+b,l=d*e+q,gn&&k>n?c=
g=d=h=null:(c=Wo(a,c,e,k,this.c),g=Wo(a,g,e,l,this.c),0>d?(l=Math.max(a,(n-b)/d),b=Math.min(e,(h-q)/d),c?(d=[c[0],c[1]],h=[c[2],c[3],b,c[3]]):(d=[a,h],h=[b,h]),g?h.push(b,g[3],g[0],g[1],l,g[1]):h.push(b,n,l,n)):0b?Math.min(b,d):Math.max(b,d),a=!(aa||a>this.c.ka()&&c=b){var c=this.S(),c=c.clone().round(),d=this.anchor();a.Va(1,0,0,1,0,0);a.width(null);a.height(null);a.x(0);a.y(0);var e=null!==this.width(),g=null!==this.height(),h=a.xa(),k=e?Math.ceil(K(this.width(),c.width)):h.width;
e&&a.width(k);h=a.xa();c=g?Math.ceil(K(this.height(),c.height)):h.height;g&&a.height(c);var l=this.S(),l=l.clone().round();if(this.Zn())switch(e=Math.round(l.Ea()+l.height-b*l.height),1==b?e-=-.5:e+=-.5,this.o){case "left":g=l.ya();break;case "right":g=l.ka();break;default:g=l.ya()+l.width/2}else switch(g=Math.round(l.ya()+b*l.width),1==b?g+=-.5:g-=-.5,this.o){case "top":e=l.Ea();break;case "bottom":e=l.ea();break;default:e=l.Ea()+l.height/2}b=new wd(g,e);g=L(this.m);g=isNaN(g)?this.Zn()?0:-90:g;
e=Td(td(g),0,0);h=Jd(h,e);e=Zp(Zo(0,0,h.width,h.height),d);b.x-=e.x;b.y-=e.y;e=K(this.offsetX(),k);l=K(this.offsetY(),c);gq(b,d,e,l);this.rb(a,!0);a.x(b.x+h.width/2-k/2).y(b.y+h.height/2-c/2).gn(g,"center");this.i(2)}else this.remove(),P(this,2);P(this,4)}S(this,2)&&(a=this.C(),zB(this).parent(a),P(this,2));return this};f.remove=function(){zB(this).parent(null)};function zB(a){a.c||(a.c=Wg(),a.c.Ec("aria-hidden","true"),H(a,a.c));return a.c}f.K=function(){Nb(this.c);this.b=this.g=this.c=null;wB.s.K.call(this)};
f.w=function(){var a=wB.s.w.call(this);a.anchor=this.anchor();a.align=this.Yn();this.h&&(a.layout=this.h);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};
f.J=function(a,b){wB.s.J.call(this,a,b);this.anchor(a.anchor);this.Yn(a.align);"layout"in a&&a.layout&&this.Ll(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;E(c)?this.g&&this.bs(Iy(this.g,c)):c instanceof vy&&this.bs(c)}};function AB(){wB.call(this)}G(AB,wB);f=AB.prototype;f.Y=wB.prototype.Y;f.aa=wB.prototype.aa;f.scale=function(a){return xB(this,a)};f.value=function(a){return yB(this,a)};f.w=function(){var a=AB.s.w.call(this);a.value=this.value();return a};f.J=function(a,b){AB.s.J.call(this,a,b);this.value(a.value)};var BB=AB.prototype;BB.value=BB.value;BB.scale=BB.scale;BB.axis=BB.bs;BB.anchor=BB.anchor;BB.align=BB.Yn;BB.layout=BB.Ll;BB.rotation=BB.rotation;BB.offsetX=BB.offsetX;BB.offsetY=BB.offsetY;BB.text=BB.text;
BB.height=BB.height;BB.width=BB.width;BB.isHorizontal=BB.Zn;function CB(){W.call(this);this.V=this.c=this.h=this.m=null;this.H=!1;this.b=null}G(CB,W);f=CB.prototype;f.Y=W.prototype.Y|8;f.aa=W.prototype.aa|80;f.ib=function(){return this.g};f.gs=function(a){return p(a)?(a=ym(a),this.o!=a&&(this.o=a,this.i(64,9)),this):this.o?this.o:this.b?(a=this.b.kc(),"left"==a||"right"==a?"horizontal":"vertical"):"horizontal"};f.scale=function(a){return p(a)?(this.V!=a&&(this.V=a,N(this.V,this.WE,this),this.i(68,9)),this):this.V?this.V:this.b?this.b.scale():null};
f.WE=function(a){var b=0;V(a,4)&&(b|=4);V(a,2)&&(b|=1);this.i(20,b|8)};f.wx=function(){this.i(64,9)};f.cs=function(a){return p(a)?(this.b!=a&&(this.b&&et(this.b,this.wx,this),this.b=a,N(this.b,this.wx,this),this.i(64,9)),this):this.b};f.VE=function(a,b,c,d){this.f||(this.f=new Iu,H(this,this.f));return p(a)?(this.f.F.apply(this.f,arguments),this):this.f};f.ed=function(a,b,c,d,e,g,h){if(p(a)){var k=Wd.apply(null,arguments);this.A!=k&&(this.A=k,this.i(16,1));return this}return this.A};
f.ad=function(a,b,c,d,e,g,h){if(p(a)){var k=Wd.apply(null,arguments);this.v!=k&&(this.v=k,this.i(16,1));return this}return this.v};f.stroke=function(a,b,c,d,e){if(p(a)){var g=ce.apply(null,arguments);if(this.l!=g){var h=this.l?he(this.l):0;this.l=g;var g=16,k=1;h!=(this.l?he(this.l):0)&&(g|=68,k|=8);this.i(g,k)}return this}return this.l};f.ds=function(a){return p(a)?(this.B!=a&&(this.B=a,this.i(64,9)),this):this.B};f.es=function(a){return p(a)?(this.u!=a&&(this.u=a,this.i(64,9)),this):this.u};
f.$n=function(a){return p(a)?(this.H!=a&&(this.H=a,this.i(80,9)),this):this.H};f.zx=function(a,b){var c=this.S()||Zo(0,0,0,0),d=Math.round(c.ea()-a*c.height);1==a?d-=b:d+=b;this.c.moveTo(c.ya(),d);this.c.lineTo(c.ka(),d)};f.Ax=function(a,b){var c=this.S()||Zo(0,0,0,0),d=Math.round(c.ya()+a*c.width);1==a?d+=b:d-=b;this.c.moveTo(d,c.ea());this.c.lineTo(d,c.Ea())};f.fs=function(){return"horizontal"==this.gs()};
f.xx=function(a,b,c,d,e){if(!isNaN(b)){c=this.S()||Zo(0,0,0,0);var g,h;g=Math.round(c.ea()-b*c.height);h=Math.round(c.ea()-a*c.height);1==a?h-=e:h+=e;1==b?g-=e:g+=e;d.moveTo(c.ya(),g);d.lineTo(c.ka(),g);d.lineTo(c.ka(),h);d.lineTo(c.ya(),h);d.close()}};f.yx=function(a,b,c,d,e){if(!isNaN(b)){c=this.S()||Zo(0,0,0,0);var g,h;g=Math.round(c.ya()+b*c.width);h=Math.round(c.ya()+a*c.width);1==a?h+=e:h-=e;1==b?g+=e:g-=e;d.moveTo(g,c.Ea());d.lineTo(h,c.Ea());d.lineTo(h,c.ea());d.lineTo(g,c.ea());d.close()}};
f.I=function(){var a=this.scale();if(!a)return kn(2),this;if(!this.Ra())return this;if(S(this,8)){var b=this.zIndex();DB(this).zIndex(b);EB(this).zIndex(b);FB(this).zIndex(b);P(this,8)}S(this,2)&&(b=this.C(),DB(this).parent(b),EB(this).parent(b),FB(this).parent(b),P(this,2));S(this,16)&&(FB(this).stroke(this.stroke()),EB(this).fill(this.ed()),DB(this).fill(this.ad()),P(this,16));if(S(this,64)||S(this,4)){var c,d,e,b=NaN,g=this.scale()instanceof hy,h=(g?a.X():this.$n()?a.sa():a.X()).get();c=this.fs()?
[this.zx,this.xx]:[this.Ax,this.yx];DB(this).clear();EB(this).clear();FB(this).clear();var k=this.S()||Zo(0,0,0,0);this.ib()&&this.ib().UA&&(this.Ie=this.ib().Ie,this.oe=this.ib().oe,d=he(this.stroke())/2,k.top-=this.oe+d,k.height+=this.oe+d,k.width+=this.Ie);k=this.VE().Wd(k);DB(this).clip(k);EB(this).clip(k);FB(this).clip(k);var k=c[1],l=c[0],n=-FB(this).yv()%2/2;this.ib()&&this.ib().UA&&this.fs()&&l.call(this,0,n);for(var q=0,r=h.length;qthis.j[r]?t=this.g[r][this.j[r]]:this.g[r].push(t=q.kJ());this.j[r]++;this.b[r].push(t);r=q.fill(this.oa,k);t.fill(r);t.stroke(q.stroke(this.oa,k));t.zIndex(q.zIndex+n);this.h&&this.Dq(t,q.bb,l);!q.bb||r||k&&q.fill(this.oa,0)||1!=k&&q.fill(this.oa,1)||2!=k&&q.fill(this.oa,2)?t.parent(this.Md):t.parent(null);d[e]=t}this.xb(this.oa,
d,a);b&&b.G(this.m,d);return d};f.Oq=function(a,b){if(b)for(var c in b)b[c].zIndex(this.c[c].zIndex+a)};f.ho=function(a,b){if(b){for(var c in b){var d=this.c[c],e=b[c];e.fill(d.fill(this.oa,a));e.stroke(d.stroke(this.oa,a));d.bb&&("none"==e.fill()&&"none"==e.stroke()?e.visible(!1):e.visible(!0))}this.xb(this.oa,b,a)}};f.K=function(){for(var a in this.g)Ob(this.g[a]),this.g[a].length=0,this.b[a].length=0;this.c=this.Md=null;sC.s.K.call(this)};function vC(a,b,c,d,e){sC.call(this,a,b,c,d,e)}G(vC,sC);function wC(a,b,c,d,e){sC.call(this,a,b,c,d,e);this.f=null}G(wC,sC);f=wC.prototype;f.Dq=function(a,b){wC.s.Dq.call(this,a,b,!0)};f.Vo=function(){wC.s.Vo.call(this);this.f=null};f.Pb=function(a,b,c){this.f||(this.f=wC.s.Pb.call(this,a,null,c));return this.f};f.Oq=function(a){wC.s.Oq.call(this,a,this.f)};f.ho=function(a){wC.s.ho.call(this,a,this.f)};f.K=function(){this.f=null;wC.s.K.call(this)};function xC(a){jd.call(this);this.f=a;this.b="both";this.A=null;this.j=this.h=void 0;this.o=null;this.c=this.g=void 0;this.l=this.v=10;this.m=this.u="#1D8BD1"}G(xC,dt);f=xC.prototype;f.Y=5;f.aa=16;f.mode=function(a){return p(a)?(a=Vm(a),this.b!=a&&(this.b=a,this.P(5)),this):this.b};f.Kk=function(a){return p(a)?(a=Up(a),this.A!=a&&(this.A=a,this.h=this.j=void 0,this.P(5)),this):this.A};f.Mk=function(a){return p(a)?(a=Up(a),this.h!=a&&(this.h=a,this.P(5)),this):this.h};
f.Lk=function(a){return p(a)?(a=Up(a),this.j!=a&&(this.j=a,this.P(5)),this):this.j};f.Gk=function(a){return p(a)?(a=Up(a),this.o!=a&&(this.o=a,this.g=this.c=void 0,this.P(5)),this):this.o};f.Ik=function(a){return p(a)?(a=Up(a),this.g!=a&&(this.g=a,this.P(5)),this):this.g};f.Hk=function(a){return p(a)?(a=Up(a),this.c!=a&&(this.c=a,this.P(5)),this):this.c};f.Sq=function(a){return p(a)?(a=L(a),isNaN(a)||this.v==a||(this.v=a,this.P(1)),this):this.v};
f.Pq=function(a){return p(a)?(a=L(a),isNaN(a)||this.l==a||(this.l=a,this.P(1)),this):this.l};f.vn=function(a,b,c,d,e){if(p(a)){var g=ua(a)?a:ce.apply(null,arguments);g!=this.u&&(this.u=g,this.P(1));return this}return this.u};f.tn=function(a,b,c,d,e){if(p(a)){var g=ua(a)?a:ce.apply(null,arguments);g!=this.m&&(this.m=g,this.P(1));return this}return this.m};
f.I=function(a,b){var c=a?this.f.mb.Xa():this.f.lb(),d=this.f.wb(),e=d.G("x"),g=d.G("value"),d=L(a?d.get("x"):d.get("value")),h;h=this.f;var k=a?h.error().vn():h.error().tn(),l;ua(k)&&(l=yC(h),k=ce(k.call(l,l)));var n;h.wa(1048576)&&(n=h.CA(a?"xErrorStroke":"valueErrorStroke"),ua(n)?(l=yC(h,k),n=ce(n.call(l,l))):n&&(n=ce(n)));h=n||k;z(h)&&"keys"in h&&!z(h.mode)&&(h.mode=this.f.ua());k=this.f;l=k.wb().Pa();n=k.cb.length?k.cb.pop():og().zIndex(4E-6);k.da.ob(n);k.Ud.Dq(n,k.wa(524288),l);n.stroke(h);
n.fill(null);k.Da.push(n);h=this.vm(a);k=h[0];h=h[1];if(k||h)k?(k=c.transform(d-k),k=zC(this.f,k,a)):k=a?e:g,h?(d=c.transform(d+h),h=zC(this.f,d,a)):h=a?e:g,d=k,c instanceof py&&!(c instanceof iy)&&"none"==c.wk()&&(c=a?g:e,k=d!=(a?e:g),e=h!=(a?e:g),g=a?this.Sq():this.Pq(),a^b?(g=g||0,k&&n.moveTo(d,c-g/2).lineTo(d,c+g/2),n.moveTo(d,c).lineTo(h,c),e&&n.moveTo(h,c-g/2).lineTo(h,c+g/2)):(g=g||0,k&&n.moveTo(c-g/2,d).lineTo(c+g/2,d),n.moveTo(c,d).lineTo(c,h),e&&n.moveTo(c-g/2,h).lineTo(c+g/2,h)))};
f.vm=function(a){if(!AC(this.f))return[0,0];a=a?"x":"value";var b=a+"Error",c=a+"LowerError",d=a+"UpperError",e=this.f.wb(),b=e.get(b)||this[b](),c=e.get(c)||this[c](),d=e.get(d)||this[d](),g=Tp(b)||!Xp(b),h=Tp(d)||!Xp(d)||g,g=Tp(c)||!Xp(c)||g;a=e.get(a);b=K(b,a);c=g?c?K(c,a):b/2:0;d=h?d?K(d,a):b/2:0;return[c,d]};
f.w=function(){var a=xC.s.w.call(this);a.mode=this.mode();a.xError=this.Kk();p(this.Mk())&&(a.xUpperError=this.Mk());p(this.Lk())&&(a.xLowerError=this.Lk());a.valueError=this.Gk();p(this.Ik())&&(a.valueUpperError=this.Ik());p(this.Hk())&&(a.valueLowerError=this.Hk());a.xErrorWidth=this.Sq();a.valueErrorWidth=this.Pq();ua(this.xErrorStroke)&&(ua(this.vn())?on(8,null,["x error stroke"]):a.xErrorStroke=Nn(this.vn()));ua(this.valueErrorStroke)&&(ua(this.tn())?on(8,null,["value error stroke"]):a.valueErrorStroke=
Nn(this.tn()));return a};f.Db=function(a){var b=arguments[0];return B(b)||E(b)||null===b?(U(this),this.Kk(b),this.Gk(b),this.N(!0),!0):ta(b)?(b?this.mode("both"):this.mode("none"),!0):dt.prototype.Db.apply(this,arguments)};
f.J=function(a,b){xC.s.J.call(this,a,b);this.mode(p(a.mode)||"none"!=this.b?a.mode:"both");this.Kk(a.xError);this.Mk(a.xUpperError);this.Lk(a.xLowerError);this.Gk(a.valueError);this.Ik(a.valueUpperError);this.Hk(a.valueLowerError);this.Sq(a.xErrorWidth);this.Pq(a.valueErrorWidth);this.vn(a.xErrorStroke);this.tn(a.valueErrorStroke)};var BC=xC.prototype;BC.mode=BC.mode;BC.xError=BC.Kk;BC.xUpperError=BC.Mk;BC.xLowerError=BC.Lk;BC.valueError=BC.Gk;BC.valueUpperError=BC.Ik;BC.valueLowerError=BC.Hk;
BC.xErrorWidth=BC.Sq;BC.valueErrorWidth=BC.Pq;BC.xErrorStroke=BC.vn;BC.valueErrorStroke=BC.tn;function CC(a){this.b=a}CC.prototype.sc=function(a){if(this.b.yk)return this.b.mb&&this.b.mb.Wj(),this.b.yk(a)};CC.prototype.c=function(a){if(this.b.G)return this.b.G(a)};CC.prototype.Qe=function(){};CC.prototype.eg=function(){return""};var DC=CC.prototype;DC.getStat=DC.sc;DC.getMeta=DC.c;DC.getTokenType=DC.eg;DC.getTokenValue=DC.Qe;function EC(){Cu.call(this);this.L={}}G(EC,Cu);f=EC.prototype;f.reset=function(){this.L={};this.g=this.v=this.T=this.O=this.U=this.B=this.u=this.M=this.m=this.l=this.H=void 0};f.Jj=function(a){return p(a)?(a=Xp(a)?5:+a,this.H!=a&&(this.H=a,this.P(1)),this):this.H};f.Gj=function(a){return p(a)?(a=!!a,this.l!=a&&(this.l=a,this.P(1)),this):this.l};f.Kj=function(a){return p(a)?(B(a)&&(a=Mm(a)),this.m!=a&&(this.m=a,this.P(1)),this):this.m};
f.gi=function(a,b,c,d,e,g,h){if(p(a)){var k=null===a||ua(a)?a:Wd.apply(null,arguments);k!=this.M&&(this.M=k,this.P(1));return this}return this.M};f.ki=function(a,b,c,d,e){if(p(a)){var g=null===a||ua(a)?a:ce.apply(null,arguments);g!=this.u&&(this.u=g,this.P(1));return this}return this.u};f.hi=function(a,b,c,d){if(p(a)){var e=ua(a)?a:de.apply(null,arguments);e!=this.B&&(this.B=e,this.P(1));return this}return this.B};
f.Hj=function(a){return p(a)?(ua(a)||(a=Em(a)),this.U!=a&&(this.U=a,this.P(1)),this):this.U};f.ii=function(a,b,c,d,e,g,h){if(p(a)){var k=Wd.apply(null,arguments);this.O!=k&&(this.O=k,this.P(1));return this}return this.O};f.ji=function(a,b,c,d,e){if(p(a)){var g=ce.apply(null,arguments);this.T!=g&&(this.T=g,this.P(1));return this}return this.T};f.Ij=function(a){return p(a)?(a=L(a),this.v!=a&&(this.v=a,this.P(1)),this):this.v};f.text=function(a){return this.kb("text",a)};
f.md=function(a){return this.kb("text",a)};f.disabled=function(a){return p(a)?(a=!!a,this.g!=a&&(this.g=a,this.P(1)),this):this.g};
f.w=function(){var a=EC.s.w.call(this);p(this.Jj())&&(a.iconTextSpacing=this.Jj());B(this.text())&&(a.text=this.text());p(this.Gj())&&(a.iconEnabled=this.Gj());p(this.Ij())&&(a.iconSize=this.Ij());B(this.Kj())&&(a.iconType=this.Kj());B(this.Hj())&&(a.iconMarkerType=this.Hj());p(this.disabled())&&(a.disabled=this.disabled());p(this.gi())&&!ua(this.gi())&&(a.iconFill=Nn(this.gi()));p(this.ki())&&!ua(this.ki())&&(a.iconStroke=Nn(this.ki()));p(this.hi())&&!ua(this.hi())&&(a.iconHatchFill=Nn(this.hi()));
p(this.ii())&&!ua(this.ii())&&(a.iconMarkerFill=this.ii());p(this.ji())&&!ua(this.ji())&&(a.iconMarkerStroke=this.ji());return a};f.J=function(a,b){U(this);EC.s.J.call(this,a,b);this.Jj(a.iconTextSpacing);this.Gj(a.iconEnabled);this.Kj(a.iconType);this.ki(a.iconStroke);this.gi(a.iconFill);this.hi(a.iconHatchFill);this.Hj(a.iconMarkerType);this.ii(a.iconMarkerFill);this.ji(a.iconMarkerStroke);this.Ij(a.iconSize);this.text(a.text);this.disabled(a.disabled);this.N(!0)};var FC=EC.prototype;
FC.iconTextSpacing=FC.Jj;FC.iconEnabled=FC.Gj;FC.iconType=FC.Kj;FC.iconFill=FC.gi;FC.iconStroke=FC.ki;FC.iconHatchFill=FC.hi;FC.iconMarkerType=FC.Hj;FC.iconMarkerFill=FC.ii;FC.iconMarkerStroke=FC.ji;FC.iconSize=FC.Ij;FC.text=FC.text;FC.textFormatter=FC.md;FC.disabled=FC.disabled;function GC(a,b,c){Mw.call(this);this.c=a;if(this.b=a.ib&&a.ib())this.chart=this.b;this.series=a;this.xScaleType=ua(a.Xa)?a.Xa().$b():void 0;this.g=c;this.bj=b}G(GC,Mw);f=GC.prototype;f.si=function(){HC(this,this.series.wb())};
function HC(a,b){var c;a.index=b?b.Pa():NaN;a.f=null;a.x=b?b.Bo():void 0;for(var d=0;db;b=Math.abs(b);var d=(b-NaN)/NaN;if(isNaN(d)||!isFinite(d))d=.5;b=a.Eu+d*(a.gB-a.Eu);return c?-b:b}function oC(a){return a.ja.D("yValues")}f.ib=function(){return this.mb};f.wb=function(){return this.iterator||UC(this)};function UC(a){return a.iterator=a.Ut()}f.lb=function(a){return p(a)?(a instanceof ly||(a=null),this.ab!=a&&(this.ab&&et(this.ab,this.Hx,this),(this.ab=a)&&N(this.ab,this.Hx,this),this.i(1024,5)),this):this.ab||this.ub.lb()};
f.Hx=function(a){var b=0;V(a,4)&&(b|=4);V(a,2)?this.i(1024,b|1):this.P(b)};f.TM=function(a,b){return zC(this,this.mb.Xa().transform(a,b),!0)};f.PC=function(a,b){return zC(this,this.lb().transform(a,b),!1)};f.sk=function(a){return p(a)?(this.ja.F(a),this):this.ja};f.error=function(a){AC(this)||on(12,void 0,[this.Ge()]);this.Oa||(this.Oa=new xC(this),N(this.Oa,this.NL,this));return p(a)?(this.Oa.F(a),this):this.Oa};f.NL=function(a){var b=0;V(a,1)&&(b|=1);V(a,4)&&(b|=4);this.i(1024,b)};f.vm=function(a){return this.error().vm(a)};
f.sF=function(a){if(a=!a.G("missing")){var b=this.error(),c=b.f.wb();a=c.get("xError")||b.Kk();var d=c.get("xLowerError")||b.Lk(),e=c.get("xUpperError")||b.Mk(),g=c.get("valueError")||b.Gk(),h=c.get("valueLowerError")||b.Hk(),b=c.get("valueUpperError")||b.Ik(),g=p(h)||p(b)||Tp(g)||!Xp(g);a=p(d)||p(e)||Tp(a)||!Xp(a)||g}if(a)switch(a=this.error(),d=a.mode(),e=this.D("isVertical"),d){case "x":a.I(!0,e);break;case "value":a.I(!1,e);break;case "both":a.I(!0,e),a.I(!1,e)}};
f.clip=function(a){return p(a)?(null===a&&(a=!1),this.U!=a&&(this.U=a,this.i(4096,1)),this):this.U};f.Om=function(a){this.eb||(this.eb=new EC,N(this.eb,this.PL,this));return p(a)?(this.eb.F(a),this):this.eb};f.PL=function(a){var b=64,c=!1;V(a,8)&&(b|=8,c=!0);this.P(b,c)};f.Yt=function(a){"marker"==a?(this.wa(8192)?a=this.D("type"):this.wa(4194304)?a=this.sf().type():a="square","line"==a&&(a="vline")):ua(a)||(a=Mm(a));return a};
f.wm=function(a,b,c){if(a)ua(a)?(b={sourceColor:c},a=a.call(b,b)):a=Nn(a);else{if(2==b)a="stroke";else if(3==b){if(this.wa(8))return null;a="hatchFill"}else this.wa(8)?(a="stroke",b=2):a="fill";a=tC([a],b)(this,0,!0)}return a};f.yA=function(){return this.name()};f.Qa=function(a){if(!this.l&&(this.l=new Wv(0),this.mb.BC())){var b=this.mb,c=b.Qa();this.l.parent(c);this.l.mb(b)}return p(a)?(this.l.F(a),this):this.l};
function tC(a,b){if(!a)return VC;var c=b+"|"+a.join("|"),d=KC[c];if(!d){switch(b){case 2:d=Yt;break;case 3:d=$t;break;default:case 1:d=Zt}KC[c]=d=Ba(WC,a,d,3==b)}return d}
function WC(a,b,c,d,e,g){var h;e=Math.min(e&3,2);if(0!=e&&1v[n]&&(v[n]=D)}else for(n in u)D=L(Q.values[n]),Dv[n]&&(v[n]=D);for(n=0;n<=a.f;n++)D=L(Q.c[n]),DC[n]&&
(C[n]=D);Q=Q.next}if(w)for(n=0;nd)if(d=~d,"exactOrNext"==c)d=d=vD)this.f=-1,this.b.length=0,xD(this,a,b,this.j,!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 g=0,h;(h=d.next)&&h.keya.h){d&&(c|=1);if(a.h){for(var c=c|2,e=new BD(a.b,null,!0),g=0,d=e.next();d&&d.f;)g++,d=e.next();wb(a.b,0,g);if(d=a.b[0])d.b=null}CD(a,new BD(null,a.c,b))}else e=new BD(a.b,a.c,b),a.b=[],CD(a,e),c=vD;a.c.length=0;a.g=a.IB;a.f=-1;a.h=0;pD(a);DD(a.m,c,!0)}}f=yD.prototype;
f.remove=function(a,b){for(var c=new BD(this.b,this.c,AD(this),a,b),d;d=c.next();)d.f=!0;this.h=2;this.o||zD(this);return this};function ED(a,b){b=M(b);for(var c=new BD(a.b,a.c,AD(a)),d=NaN,e;(e=c.next())&&0a.key?(this.g=1==b?this.HB:this.Yu,this.c.push(a)):this.c[b-1]=a};f.HB=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.sL,this.b=isNaN(d)?0:Db(this.g,kD,d),0>this.b&&(this.b=~this.b)):(this.f=this.uL,this.b=isNaN(d)?this.g.length-1:Db(this.g,lD,d),0>this.b&&(this.b=~this.b-1))}f=BD.prototype;f.nk=function(){return null};
f.sL=function(){var a=this.c,b=this.g[this.b];if(a){if(b){if(0>jD(a,b))return this.c=this.c.next,a;this.b++;return b}this.c=this.c.next;this.f=this.rB;return a}if(b)return this.b++,this.f=this.qL,b;this.next=this.nk;return null};f.uL=function(){var a=this.c,b=this.g[this.b];if(a){if(b){if(0>jD(a,b))return this.c=this.c.next,a;this.b--;return b}this.c=this.c.next;this.f=this.rB;return a}if(b)return this.b--,this.f=this.rL,b;this.next=this.nk;return null};
f.rB=function(){var a=this.c;if(a)return this.c=this.c.next,a;this.next=this.nk;return null};f.qL=function(){var a=this.g[this.b++];if(a)return a;this.next=this.nk;return null};f.rL=function(){var a=this.g[this.b--];if(a)return a;this.next=this.nk;return null};f.hJ=function(){var a=this.f();return!a||a.key>this.h?(this.next=this.nk,null):a};f.HL=function(){return this.f()};function FD(a,b){this.g=Um(a);this.b=b||1;this.c=new Date(0);switch(this.g){case "year":return this.f=315576E5*this.b,this.o=this.bE,this.next=this.FL,this;case "semester":return this.f=315576E5*this.b/2,this.o=this.ZD,this.next=this.CL,this;case "quarter":return this.f=315576E5*this.b/4,this.o=this.XD,this.next=this.AL,this;case "month":return this.f=315576E5*this.b/12,this.o=this.Hr,this.next=this.zL,this;case "thirdofmonth":return this.f=315576E5*this.b/36,this.o=this.$D,this.next=this.DL,this;
case "week":return this.f=6048E5*this.b,this.o=this.aE,this.next=this.EL,this;default:this.f=864E5*this.b;this.o=this.TD;this.next=this.tL;break;case "hour":this.f=36E5*this.b;this.o=this.UD;this.next=this.vL;break;case "minute":this.f=6E4*this.b;this.o=this.WD;this.next=this.yL;break;case "second":this.f=1E3*this.b;this.o=this.YD;this.next=this.BL;break;case "millisecond":this.f=this.b,this.o=this.VD,this.next=this.xL}}f=FD.prototype;
f.bE=function(a){this.c.setTime(Date.UTC($p(this.c.getUTCFullYear(),this.b,a?a.getUTCFullYear():2E3)-this.b,0))};f.ZD=function(a){var b=this.b;this.b*=6;this.Hr(a);this.b=b};f.XD=function(a){var b=this.b;this.b*=3;this.Hr(a);this.b=b};f.Hr=function(a){var b=$p(this.c.getUTCMonth()+12*this.c.getUTCFullYear(),this.b,a?a.getUTCMonth()+12*a.getUTCFullYear():24E3)-this.b;a=Math.floor(b/12);b%=12;0>b&&(b+=12);this.c.setTime(Date.UTC(a,b))};
f.$D=function(a){a=$p(GD(this.c),this.b,a?GD(a):72E3)-this.b;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.c.setTime(Date.UTC(b,c,1+10*a))};f.aE=function(a){HD(this,6048E5*this.b,a||new Date(Date.UTC(2E3,0,2)))};f.TD=function(a){HD(this,864E5*this.b,a)};f.UD=function(a){HD(this,36E5*this.b,a)};f.WD=function(a){HD(this,6E4*this.b,a)};f.YD=function(a){HD(this,1E3*this.b,a)};f.VD=function(a){HD(this,this.b,a)};
function HD(a,b,c){a.c.setTime($p(a.c.getTime(),b,c?c.getTime():Date.UTC(2E3,0))-b)}function GD(a){var b=a.getUTCDate();return 3*(12*a.getUTCFullYear()+a.getUTCMonth())+(10>=b?0:20>=b?1:2)}f.FL=function(){this.c.setUTCFullYear(this.c.getUTCFullYear()+this.b);return this.c.getTime()};f.CL=function(){var a=this.c.getUTCMonth()+6*this.b,b=this.c.getUTCFullYear()+Math.floor(a/12),a=a%12;0>a&&(a+=12);this.c.setUTCFullYear(b);this.c.setUTCMonth(a);return this.c.getTime()};
f.AL=function(){var a=this.c.getUTCMonth()+3*this.b,b=this.c.getUTCFullYear()+Math.floor(a/12),a=a%12;0>a&&(a+=12);this.c.setUTCFullYear(b);this.c.setUTCMonth(a);return this.c.getTime()};f.zL=function(){var a=this.c.getUTCMonth()+this.b,b=this.c.getUTCFullYear()+Math.floor(a/12),a=a%12;0>a&&(a+=12);this.c.setUTCFullYear(b);this.c.setUTCMonth(a);return this.c.getTime()};
f.DL=function(){var a,b=this.c.getUTCDate();a=3*(12*this.c.getUTCFullYear()+this.c.getUTCMonth())+(10>=b?0:20>=b?1:2)+this.b;b=Math.floor(a/36);a%=36;var c=Math.floor(a/3);0>c&&(c+=12);a%=3;0>a&&(a+=3);this.c.setTime(Date.UTC(b,c,1+10*a));return this.c.getTime()};f.EL=function(){var a=this.c.getTime()+6048E5*this.b;this.c.setTime(a);return a};f.tL=function(){var a=this.c.getTime()+864E5*this.b;this.c.setTime(a);return a};f.vL=function(){var a=this.c.getTime()+36E5*this.b;this.c.setTime(a);return a};
f.yL=function(){var a=this.c.getTime()+6E4*this.b;this.c.setTime(a);return a};f.BL=function(){var a=this.c.getTime()+1E3*this.b;this.c.setTime(a);return a};f.xL=function(){var a=this.c.getTime()+this.b;this.c.setTime(a);return a};f.um=function(){return this.b};function ID(a,b){var c=a.f-b.f;return c?c:b.b-a.b};function JD(a,b,c,d,e){this.o=a;this.A=d;this.j=new hD(b.Gd-1,[]);this.j.next=b.St;this.u=b.Tu;this.H=b.lastIndex;this.v=(this.c=e||null)?this.lJ:this.SD;this.B=this.c?this.iK:this.pK;this.h=c;this.reset()}f=JD.prototype;f.reset=function(){this.c&&this.c.reset();this.b=this.j;this.m=this.c?this.c.c:this.j.key;this.g=!1;this.f=NaN;this.l=!0;return this};f.advance=function(){return this.v()};f.get=function(a){return this.vh(this.A?KD(this.o,a):LD(this.o,a))};
f.G=function(a,b){var c=this.h[this.Pa()];c||(c=this.h[this.Pa()]={});return 1a?this.b.c&&(b=this.b.c[~a]):b=this.b.values[a]);return b};f.Bo=function(){return this.f};f.Pa=function(){return this.B()};f.Zb=function(){return this.H-this.j.key};f.CI=function(){return this.f};f.pK=function(){return this.m};f.iK=function(){return this.c.c};
f.SD=function(){if(this.b){this.m++;if((this.b=this.b.next)&&this.b!=this.u)return this.g=!0,this.f=this.b.key,!0;this.b=null;this.g=!1;this.m=this.f=NaN}return!1};f.lJ=function(){if(this.c.advance())return this.l&&(this.b=this.b.next),(this.l=!(!this.b||this.b.key!=this.c.f||this.b==this.u))?(this.g=!0,this.f=this.b.key):(this.g=!1,this.f=this.c.f),!0;this.b=null;this.f=NaN;return this.g=!1};var MD=JD.prototype;MD.reset=MD.reset;MD.advance=MD.advance;MD.get=MD.get;MD.getKey=MD.CI;MD.getIndex=MD.Pa;
MD.meta=MD.G;function ND(a){this.c=a;this.g=wD(a.b);this.j=!0;this.b=uD(this.g);this.f=null;this.m=!1;this.h=[];OD(this)}function OD(a){for(var b=a.f?a.f.c.b.length:a.g.Zb();a.h.lengthc){var e=b;b=c;c=e}e=wD(a.c.b,d);if(a.m||e!=a.g||a.b.fd!=b||a.b.td!=c)a.m=!1,a.g=e,a.j=!d,a.b=e.select(b,c),OD(a);return a}function SD(a,b,c){if(b){if(a.f){c=a.f;var d=b.key;TD(c);c=UD(c.c,d)}return new PD(b,a.c,!a.j,c,a.h[c])}return null}function VD(a){return SD(a,a.b.CB,a.b.Zi)}
function WD(a){return SD(a,a.b.Tu,a.b.Yi)}function XD(a,b){return a.j?LD(a.c,b):KD(a.c,b)}function RD(a,b){return new JD(a.c,a.b,a.h,!a.j,a.f?YD(a.f,!!b):null)}function PD(a,b,c,d,e){this.fc=a;this.b=b;this.g=c;this.j=d;this.h=e}f=PD.prototype;f.get=function(a){return this.vh(this.g?KD(this.b,a):LD(this.b,a))};f.vh=function(a){var b;E(a)&&0>a?this.fc.c&&(b=this.fc.c[~a]):b=this.fc.values[a];return b};f.Pa=function(){return this.j};f.Bo=function(){return this.fc.key};
f.G=function(a,b){return 1e)this.f[a]={zC:e,RB:e};else if(B(e)||!isNaN(e)){if((b=z(c))&&!ua(c)&&!("reset"in c&&"considerItem"in c&&"getResult"in c))return this;var g=b?c:cn(p(c)?c:a);b=d;"weightedAverage"==g&&(E(d)?b=Math.round(d):B(d)?(b=this.b.g[d]||NaN,isNaN(b)&&(b=d)):b=NaN,E(b)&&isNaN(b)&&(g="average"));U(this.b);d=this.b;c=e;var h=b;b=cE(g,c,h);b in d.l?b=d.l[b]:(c=dE(g,c,h),d.l[b]=
b=d.h.length,d.h.push(c),DD(d,4,!1));this.f[a]={zC:e,RB:b};this.b.N(!0)}return this};function KD(a,b){return b in a.f?a.f[b].RB:NaN}function LD(a,b){return b in a.f?a.f[b].zC:NaN}var eE=bE.prototype;eE.addField=eE.c;eE.createSelectable=eE.g;function fE(a,b){Kb.call(this);this.g=a;this.j=p(b)?b:NaN;this.clear()}G(fE,Kb);fE.prototype.clear=function(){this.value=void 0};fE.prototype.c=function(){var a=this.value;this.clear();return a};fE.prototype.K=function(){delete this.value;fE.s.K.call(this)};function gE(a){fE.call(this,a)}G(gE,fE);gE.prototype.clear=function(){this.value=this.f=0};gE.prototype.b=function(a){a=L(a);isNaN(a)||(this.value+=a,this.f++)};gE.prototype.c=function(){var a=this.f?this.value/this.f:NaN;this.clear();return a};function hE(a,b){this.f=b;fE.call(this,a)}G(hE,fE);hE.prototype.clear=function(){this.f.reset()};hE.prototype.b=function(a,b,c){this.f.considerItem(a,c)};hE.prototype.c=function(){var a=this.f.getResult();this.clear();return a};hE.prototype.K=function(){delete this.f;hE.s.K.call(this)};function iE(a,b,c){this.h=b;this.f=c;fE.call(this,a)}G(iE,fE);iE.prototype.clear=function(){this.value=[];this.m=[]};iE.prototype.b=function(a,b,c){this.value.push(a);this.m.push(c)};iE.prototype.c=function(){var a=this.h.call(this.f,this.value,this.m);this.clear();return a};iE.prototype.K=function(){delete this.h;delete this.f;iE.s.K.call(this)};function jE(a){fE.call(this,a)}G(jE,fE);jE.prototype.clear=function(){this.value=NaN};jE.prototype.b=function(a){isNaN(this.value)&&(this.value=L(a))};function kE(a){fE.call(this,a)}G(kE,fE);kE.prototype.b=function(a){p(this.value)||(this.value=a)};function lE(a){fE.call(this,a)}G(lE,fE);lE.prototype.clear=function(){this.value=NaN};lE.prototype.b=function(a){a=L(a);isNaN(a)||(this.value=a)};function mE(a){fE.call(this,a)}G(mE,fE);mE.prototype.b=function(a){p(a)&&(this.value=a)};function nE(a){fE.call(this,a)}G(nE,fE);nE.prototype.clear=function(){this.value=[]};nE.prototype.b=function(a){p(a)&&this.value.push(a)};function oE(a){fE.call(this,a)}G(oE,fE);oE.prototype.clear=function(){this.value=NaN};oE.prototype.b=function(a){a=L(a);isNaN(a)||this.value>=a||(this.value=a)};function pE(a){fE.call(this,a)}G(pE,fE);pE.prototype.clear=function(){this.value=NaN};pE.prototype.b=function(a){a=L(a);isNaN(a)||this.value<=a||(this.value=a)};function qE(a){fE.call(this,a)}G(qE,fE);qE.prototype.clear=function(){this.value=0};qE.prototype.b=function(a){a=L(a);isNaN(a)||(this.value+=a)};function rE(a,b){fE.call(this,a,b)}G(rE,fE);rE.prototype.clear=function(){this.value=this.f=0};rE.prototype.b=function(a,b){a=L(a);b=L(b)||0;isNaN(a)||(this.value+=a*b,this.f+=b)};rE.prototype.c=function(){var a=this.f?this.value/this.f:NaN;this.clear();return a};function dE(a,b,c){if(ua(a))return new iE(b,a,c);if(z(a))return new hE(b,a);switch(a){case "average":return new gE(b);case "first":return new jE(b);case "firstValue":return new kE(b);case "lastValue":return new mE(b);case "list":return new nE(b);case "max":return new oE(b);case "min":return new pE(b);case "sum":return new qE(b);case "weightedAverage":return new rE(b,c);default:case "last":return new lE(b)}}
function cE(a,b,c){E(b)&&(b=b.toFixed(0));if(z(a))return va(a)+"|"+b+"|"+Pp(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 E(c)&&(c=c.toFixed(0)),"w"+b+":"+String(c);default:case "last":return"l"+b}};function sE(a,b,c,d,e){jd.call(this);this.f=new yD(this,a,b,c,d,e);this.b={};this.l={};this.g={};this.o=0;this.j=[];this.h=[];this.c=[];this.m=[]}G(sE,dt);f=sE.prototype;f.Y=16;
f.qy=function(a,b,c){var d=this.f,e=!d.o;e&&(d.o&&on(101),d.o=!0);if(B(a)){var g=new mD(d),h=new Fo;z(c)&&(h.an(c.rowsSeparator),h.im(c.columnsSeparator),h.Km(c.ignoreTrailingSpaces),h.Im(c.ignoreFirstRow));h.am(a,g);!0===b&&(b=g.um())}else if(y(a)){for(g=c=0;gh){var q=~h;wb(d,q,0,n);(h=this.search("id",n))?(h=h instanceof zE?h:h[0],wb(e,q,0,h),h.G("nc",!0),on(1,null,[n])):wb(e,q,0,k)}else on(2,null,[n])}for(b=0;bh?((h=this.search("id",k))?(h=h instanceof zE?h:h[0],JE(h,g)):(this.f.push(g),on(3,null,[k])),KE(this,g)):(h=e[h],JE(h,g),h.G("nc")&&KE(this,g))):(this.f.push(g),KE(this,g));for(b=0;ba?wb(d,~a,0,e):(a=d[a],y(a.value)||(a.value=[a.value]),a.value.push(b))}else for(e in a.c)LE(a,b,e,d)}
function ME(a,b,c,d){if(c){if(d)for(var e=b.Ja();e--;)ME(a,b.vf(e),c,d);if(d=a.c[c])e={key:b.get(c)},a.j[c]&&(e.key=""+e.key),e=zb(d,e,a.Xo),(d=d[e])&&(y(d.value)&&1=d)return[];a=new Sy(a);c=[];if(1==b)for(b=0;bc){var d=b;b=c;c=d}if(b!=a.v||c!=a.u)a.v=b,a.u=c,a.i(16,1)}f.Ir=function(a){return p(a)?(this.H=!!a,this):this.H};f.Xb=function(){var a=this.S(),a=a?a.clone():Zo(0,0,0,0);this.Oi()&&(S(this,4)&&(this.Nq(),P(this,4)),TE(this)?(a.height-=this.h.height,"top"==this.m&&(a.top+=this.h.height)):(a.width-=this.h.width,"left"==this.m&&(a.left+=this.h.width)));return a};
f.Nq=function(){var a=this.S(),b=TE(this)?a.height:a.width,c=K(this.qa,b);null===this.Ha||(c=Math.max(c,K(this.Ha,b)));null===this.Ub||(c=Math.min(c,K(this.Ub,b)));c=TE(this)?this.Yl().nd(c):this.Yl().od(c);this.h.left=a.left;this.h.top=a.top;TE(this)?(this.h.width=a.width,this.h.height=c,"bottom"==this.m&&(this.h.top+=a.height-c)):(this.h.width=c,this.h.height=a.height,"right"==this.m&&(this.h.left+=a.width-c));var d;this.xc||TE(this)?this.l=this.Yl().Wd(this.h):(d=this.Yl(),"left"==this.m?(b=K(d.D("left"),
this.h.width),a=K(d.D("top"),this.h.height),c=K(d.D("right"),this.h.width),d=K(d.D("bottom"),this.h.height)):(b=K(d.D("right"),this.h.width),a=K(d.D("bottom"),this.h.height),c=K(d.D("left"),this.h.width),d=K(d.D("top"),this.h.height)),this.l.left=this.h.left+d,this.l.top=this.h.top+b,this.l.width=this.h.width-d-a,this.l.height=this.h.height-b-c);this.i(80)};f.AH=function(a){a.f();!Sp(this.da,a.relatedTarget)&&this.Ac(a)&&(this.mc=!0,WE(this))};
f.mL=function(a){a.f();!Sp(this.da,a.relatedTarget)&&this.Ac(a)&&(this.mc=!1,ZE(this))};f.GC=function(a){a=a.target;a instanceof zg&&(a==this.c?VE(this,this.c,this.nc=!0):a==this.b&&VE(this,this.b,this.ac=!0))};f.FC=function(a){a=a.target;a instanceof zg&&(a==this.c?VE(this,this.c,this.nc=!1):a==this.b&&VE(this,this.b,this.ac=!1))};
f.Ak=function(a){if(a.c instanceof Zf){var b=a.c,c;b!=this.c||this.ra?b!=this.b||this.ha?b!=this.B||this.ja||(this.ja=c=new $E(this,this.B,!1)):this.ha=c=new $E(this,this.b,!0):this.ra=c=new $E(this,this.c,!0);c&&(this.j.ba(c,"start",this.zH),this.j.ba(c,"end",this.yH),c.He(a.b))}};f.IL=function(a){var b=Xk(this.da.$());a=TE(this)?a.clientX-b.x:a.clientY-b.y;aF(this,"backgroundClick","scrollerchangestart")&&(bF(this,!1,a),aF(this,"backgroundClick","scrollerchangefinish"))};
f.zH=function(a){var b;this.H&&a.b!=this.ja?(a=UE(this),b="thumbDrag"):(a=UE(this),b="selectedRangeDrag");if(b=aF(this,b,"scrollerchangestart"))this.Oa++,this.c.Cb(null),this.b.Cb(null),this.B.Cb(null),Bf(document.body,"cursor",a);return b};f.yH=function(a){this.Oa=Math.max(this.Oa-1,0);ZE(this);this.c.Cb(UE(this));this.b.Cb(UE(this));this.B.Cb(UE(this));Bf(document.body,"cursor","");aF(this,this.H&&a.b!=this.ja?"thumbDrag":"selectedRangeDrag","scrollerchangefinish")};
function WE(a){a.ub||(a.da.ob(a.c),a.da.ob(a.b),a.ub=!0)}function ZE(a){a.ub&&a.Oh().xg()&&!a.Oa&&!a.mc&&(a.da.removeChild(a.c),a.da.removeChild(a.b),a.ub=!1)}function VE(a,b,c){a=a.Oh();a.enabled()?c?(c=a.Gp(),a=a.Hp()):(c=a.fill(),a=a.stroke()):(c=Cn,a="none");b.fill(c);b.stroke(a)}function YE(a){return qd(Math.round(a*RE),0,RE)}f.dB=function(a,b,c,d){return{type:a,startRatio:b,endRatio:c,source:d}};function aF(a,b,c,d,e){return a.dispatchEvent(a.dB(c,(p(d)?d:a.v)/RE,(p(e)?e:a.u)/RE,b))}
function bF(a,b,c){c=cF(a,b,c);var d=a.l;switch(a.m){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}if(a.H&&b==a.c)c=d,d=a.u/RE,b="thumbDrag";else if(a.H&&b==a.b)c=a.v/RE,b="thumbDrag";else{var e=(a.u-a.v)/RE/2;c=d-e;d+=e;b=!0===b?"selectedRangeDrag":"backgroundClick"}c=YE(c);d=YE(d);c==d&&(d+=dd&&(e=a.c,a.c=a.b,a.b=e,e=a.ra,a.ra=a.ha,a.ha=e,e=c,c=d,d=e);c==a.v&&d==a.u||!aF(a,b,"scrollerchange",c,d)||(a.v=c,a.u=d,a.i(16,
1))}function cF(a,b,c){var d=a.l,e=TE(a);a=ta(b)||!a.H?(a.u-a.v)/RE*(e?d.width:d.height)/2:0;return e?qd(c,d.left+a,d.left+d.width-a):qd(c,d.top+a,d.top+d.height-a)}function dF(a,b){var c;c=a.H&&b==a.c?a.v:a.H&&b==a.b?a.u:(a.v+a.u)/2;c/=RE;var d=a.l;return TE(a)?d.left+d.width*c:"left"==a.m?d.top+d.height*c:d.top+d.height*(1-c)}
f.K=function(){Nb(this.da);this.B=this.O=this.M=this.b=this.c=this.da=null;Nb(this.ra);this.ra=null;Nb(this.ha);this.ha=null;Nb(this.ja);this.ja=null;Nb(this.pa);this.pa=null;Nb(this.la);this.la=null;QE.s.K.call(this)};f.w=function(){var a=QE.s.w.call(this);a.fill=this.fill();a.selectedFill=this.ev();a.outlineStroke=this.Pu();a.height=this.height();a.minHeight=this.at();a.maxHeight=this.$s();a.orientation=this.bt();a.autoHide=this.xg();a.allowRangeChange=this.Ir();a.thumbs=this.Oh().w();return a};
f.J=function(a,b){QE.s.J.call(this,a,b);this.bt(a.orientation);this.xg(a.autoHide);this.Ir(a.allowRangeChange);this.fill(a.fill);this.ev(a.selectedFill);this.Pu(a.outlineStroke);this.height(a.height);this.at(a.minHeight);this.$s(a.maxHeight);this.Oh(a.thumbs)};function $E(a,b,c){Sf.call(this,b.W());this.c=a;this.l=c?b:null;this.j=void 0;this.B=Aa(function(){this.j=void 0;bF(this.c,this.l||!0,this.O)},this);this.u=Math.pow(3,2);this.ba("end",this.wH)}G($E,Sf);f=$E.prototype;
f.wH=function(){p(this.j)&&(window.cancelAnimationFrame(this.j),this.B(0))};f.Cg=function(){TE(this.c)?(this.b=dF(this.c,this.l),this.f=0):(this.b=0,this.f=dF(this.c,this.l))};f.rh=function(a,b){this.O=TE(this.c)?a:b;p(this.j)||(this.j=window.requestAnimationFrame(this.B))};f.lk=function(a){return TE(this.c)?cF(this.c,this.l,a):0};f.yh=function(a){return TE(this.c)?0:cF(this.c,this.l,a)};function SE(a){this.b=a}f=SE.prototype;
f.enabled=function(a){return p(a)?(a=!!a,this.f!=a&&(this.f=a,this.b.i(16,1)),this):this.f};f.xg=function(a){return p(a)?(a=!!a,this.c!=a&&(this.c=a,this.b.i(16,1)),this):this.c};f.fill=function(a,b,c,d,e,g,h){if(p(a)){var k=Wd.apply(null,arguments);this.g!=k&&(this.g=k,this.b.i(16,1));return this}return this.g};f.stroke=function(a,b,c,d,e){if(p(a)){var g=ce.apply(null,arguments);g!=this.m&&(this.m=g,this.b.i(16,1));return this}return this.m};
f.Gp=function(a,b,c,d,e,g,h){if(p(a)){var k=Wd.apply(null,arguments);this.j!=k&&(this.j=k,this.b.i(16,1));return this}return this.j};f.Hp=function(a,b,c,d,e){if(p(a)){var g=ce.apply(null,arguments);g!=this.h&&(this.h=g,this.b.i(16,1));return this}return this.h};f.w=function(){var a={};a.fill=Nn(this.fill());a.stroke=Nn(this.stroke());a.hoverFill=Nn(this.Gp());a.hoverStroke=Nn(this.Hp());a.enabled=this.enabled();a.autoHide=this.xg();return a};
f.xH=function(a){return ta(a)||null===a?(this.enabled(!!a),!0):!1};f.F=function(a){var b=arguments[0];p(b)&&!this.xH.apply(this,arguments)&&z(b)&&(b=arguments[0],this.enabled("enabled"in b?!!b.enabled:!0),this.fill(b.fill),this.stroke(b.stroke),this.Gp(b.hoverFill),this.Hp(b.hoverStroke),this.xg(b.autoHide));return this};var eF=QE.prototype;eF.fill=eF.fill;eF.selectedFill=eF.ev;eF.outlineStroke=eF.Pu;eF.height=eF.height;eF.minHeight=eF.at;eF.maxHeight=eF.$s;eF.thumbs=eF.Oh;eF.orientation=eF.bt;
eF.allowRangeChange=eF.Ir;eF.autoHide=eF.xg;eF=SE.prototype;eF.enabled=eF.enabled;eF.autoHide=eF.xg;eF.fill=eF.fill;eF.stroke=eF.stroke;eF.hoverFill=eF.Gp;eF.hoverStroke=eF.Hp;function fF(){CB.call(this)}G(fF,CB);fF.prototype.zx=function(a,b){var c=this.S()||Zo(0,0,0,0),d=Math.round(c.ea()-a*c.height);1==a?d-=b:d+=b;var e=c.ya()+this.Ie,g=d-this.oe;this.c.moveTo(c.ya(),d).lineTo(e,g).lineTo(c.ka()+this.Ie,g)};fF.prototype.Ax=function(a,b){var c=this.S()||Zo(0,0,0,0),d=Math.round(c.ya()+a*c.width);1==a?d+=b:d-=b;var e=d+this.Ie,g=c.ea()-this.oe;this.c.moveTo(d,c.ea()).lineTo(e,g).lineTo(e,c.Ea()-this.oe)};
fF.prototype.xx=function(a,b,c,d,e){if(!isNaN(b)){c=this.S()||Zo(0,0,0,0);var g,h;g=Math.round(c.ea()-b*c.height);h=Math.round(c.ea()-a*c.height);1==a?h-=e:h+=e;1==b?g-=e:g+=e;d.moveTo(c.ya(),g).lineTo(c.ya()+this.Ie,g-this.oe).lineTo(c.ka()+this.Ie,g-this.oe).lineTo(c.ka()+this.Ie,h-this.oe).lineTo(c.ya()+this.Ie,h-this.oe).lineTo(c.ya(),h).close()}};
fF.prototype.yx=function(a,b,c,d,e){if(!isNaN(b)){c=this.S()||Zo(0,0,0,0);var g,h;g=Math.round(c.ya()+b*c.width);h=Math.round(c.ya()+a*c.width);1==a?h+=e:h-=e;1==b?g+=e:g-=e;d.moveTo(g+this.Ie,c.Ea()-this.oe).lineTo(h+this.Ie,c.Ea()-this.oe).lineTo(h+this.Ie,c.ea()-this.oe).lineTo(h,c.ea()).lineTo(g,c.ea()).lineTo(g+this.Ie,c.ea()-this.oe).close()}};function gF(a,b,c,d){Tg.call(this);this.h=a;this.j=b||oa;this.c=p(d)?d:this;this.b=[]}G(gF,Tg);gF.prototype.clear=function(){for(var a;a=this.Ja();)this.b.push(this.yn(a-1));return this};function hF(a){var b=a.b.pop();b?a.j.call(a.c,b):b=a.h.call(a.c);a.ob(b);return b}gF.prototype.K=function(){for(var a=this.b.length;a--;)Nb(this.b[a]);this.b=null;delete this.h;delete this.j;this.c=null;gF.s.K.call(this)};function iF(){W.call(this);this.o=this.u=this.l=this.O=this.A=null;this.ja="vertical";this.v=this.ra=1;this.H=Wd("#e0e0e0",this.v);this.M=ce("#d5d5d5",this.v);this.T=Wd("#d5d5d5",this.v);this.U=ce("#656565",this.v);this.c=0;this.f=1;this.g=this.h=null;this.B=!1;this.Z=-1;this.ha=!0}G(iF,Ct);f=iF.prototype;f.Y=Ct.prototype.Y;f.aa=Ct.prototype.aa|80;function jF(a){return bl===cl?Math.floor(a)+.5:Math.floor(a)}function kF(a,b){p(b)&&(b=ym(b),b!=a.ja&&(a.ja=b,a.i(4,1)))}
f.Qo=function(a,b,c,d,e){if(p(a)){var g=ce.apply(null,arguments);this.M!=g&&(this.M=Rn(g,this.v,!1),this.i(16,1));return this}return this.M||"none"};f.ro=function(a,b,c,d,e,g,h){if(p(a)){var k=Wd.apply(null,arguments);this.H!=k&&(this.H=Rn(k,this.v,!0),this.i(16,1));return this}return this.H||"none"};f.Hq=function(a,b,c,d,e){if(p(a)){var g=ce.apply(null,arguments);this.U!=g&&(this.U=Rn(g,this.v,!1),this.i(16,1));return this}return this.U||"none"};
f.Gq=function(a,b,c,d,e,g,h){if(p(a)){var k=Wd.apply(null,arguments);this.T!=k&&(this.T=Rn(k,this.v,!0),this.i(16,1));return this}return this.T||"none"};f.dm=function(a){return p(a)?(a=L(a),this.pa!=a&&(this.pa=a,this.i(4,9)),this):this.pa};f.Mg=function(a){return p(a)?(ta(a)&&(this.ha=a),this):this.ha};f.Sj=function(a,b){return p(a)?(Ad(this.h,a)||(this.h=a.clone(),this.g?lF(this):this.g=this.h.clone(),mF(this),this.i(64,1),nF(this,b||"api")),this):this.h};
function oF(a,b){return p(b)?(Ad(a.g,b)||(a.g=b.clone(),a.h?lF(a):a.h=a.g.clone(),mF(a),a.i(64,1),nF(a,"api")),a):a.g}function pF(a){var b;return p(b)?(b=+b,!isNaN(b)&&a.c!=b&&0<=b&&1>b&&(b==a.f?(a.f=1,a.c=b):(a.c=Math.min(b,a.f),a.f=Math.max(b,a.f)),qF(a),a.i(64,1),nF(a,"api")),a):a.c}function rF(a){var b;return p(b)?(b=+b,!isNaN(b)&&a.f!=b&&0=b&&(b==a.c?(a.c=0,a.f=b):(a.f=Math.max(b,a.c),a.c=Math.min(b,a.c)),qF(a),a.i(64,1),nF(a,"api")),a):a.f}
function sF(a,b){b=+b;if(!isNaN(b)){b=qd(b,0,1);var c=a.f-a.c,d=No(qd(b+c,0,1),4),c=No(d-c,4);if(a.c!=c||a.f!=d)a.c=c,a.f=d,qF(a),a.i(64,1),nF(a,"user_action")}}function tF(a,b){b=+b;var c=isNaN(b)?40:b;if(a.g&&c&&(c+=uF(a)?a.g.top:a.g.left,c=+c,a.g&&!isNaN(c))){var d=uF(a);c!=(d?a.g.top:a.g.left)&&(d?a.g.top=c:a.g.left=c,lF(a),mF(a),a.i(64,1),nF(a,"user_action"))}}function vF(a,b){b=+b;var c=isNaN(b)?.05:qd(b,-1,1);c&&sF(a,a.c+c)}
f.qt=function(a){return p(a)?(ta(a)&&this.B!=a&&(this.B=a,this.i(4,1)),this):this.B};f.Hu=function(a){return p(a)?(this.v!=a&&(this.v=a,wF(this,this.v)),this):this.v};f.Iu=function(a){return p(a)?(this.ra=a,this):this.ra};function xF(a){a.A||(a.A=Ug(),vt(a,a.A,a.Oy,a.Ny,a.fJ),H(a,a.A));return a.A}function wF(a,b){a.H=Rn(a.H,b,!0);a.M=Rn(a.M,b,!1);a.T=Rn(a.T,b,!0);a.U=Rn(a.U,b,!1);a.i(16,1)}f.Oy=function(a){a.preventDefault();wF(this,this.ra);this.Ac(a)};
f.Ny=function(a){a.preventDefault();wF(this,this.v);this.Ac(a)};f.fJ=function(a){a.preventDefault();var b=uF(this),c=this.o.xa(),d=this.o.ng(),e=b?a.offsetY:a.offsetX,d=b?No((e-d.top)/d.height,4):No((e-d.left)/d.width,4);(b?e<=c.top:e<=c.left)?sF(this,d):(c=+d,isNaN(c)||(c=qd(c,0,1),b=this.f-this.c,c=No(qd(c-b,0,1),4),b=No(c+b,4),this.c==c&&this.f==b))||(this.c=c,this.f=b,qF(this),this.i(64,1),nF(this,"user_action"));this.Ac(a)};function yF(a){a.O||(a.O=lg(),H(a,a.O));return a.O}
function zF(a){a.l||(a.l=new gv,iv(a.l,16,!1),N(a.l,function(){a.l.I()}),mv(a.l,function(){oF(a)?tF(a,40):vF(a,.05)}),H(a,a.l));return a.l}function AF(a){a.u||(a.u=new gv,iv(a.u,16,!1),N(a.u,function(){a.u.I()}),mv(a.u,function(){oF(a)?tF(a,-40):vF(a,-.05)}),H(a,a.u));return a.u}function BF(a){a.o||(a.o=lg(),a.o.Ka(xF(a)),Wc(a.o,"drag",a.bf,!1,a),Wc(a.o,"end",a.vH,!1,a),vt(a,a.o,a.Oy,a.Ny,null,null,null,a.GM),H(a,a.o));return a.o}f.GM=function(a){a.preventDefault();this.Ac(a)};
f.bf=function(){CF(this,!0)};f.vH=function(){CF(this,!1)};function CF(a,b){var c=uF(a),d=a.o.ng(),e=a.o.xa(),g=!!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.f-a.c,a.c=(k-h)*(1-c)/(d-10),a.f=Math.min(a.c+c,1)):(a.c=No((k-h)/d,5),a.f=No((l-h)/d,5));qF(a);g||a.i(64,1);nF(a)}
function qF(a){if(a.h&&a.g){var b;if(uF(a)){b=a.h.height;var c=No((a.f-a.c)*b,1);a.g.top=No(a.c*b,1)+a.h.top;a.g.height=c}else b=a.h.width,c=No((a.f-a.c)*b,1),a.g.left=No(a.c*b,1)+a.h.left,a.g.width=c}}function mF(a){if(a.h&&a.g){var b=uF(a),c=b?a.g.top-a.h.top:a.g.left-a.h.left,d=b?c+a.g.height:c+a.g.width,b=b?a.h.height:a.h.width;a.c=No(c/b,4);a.f=No(d/b,4)}}
function lF(a){var b=a.g;a=a.h;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=g=d?a.width:a.height;k=a.left;l=a.top;h&&(d?g=No(a.height/3,1):e=No(a.width/3,1));h=d?a.left:a.left+a.width-e;d=d?a.top+a.height-g:a.top;this.l.S(a);this.l.position({x:h,y:d}).width(e).height(g).I();this.u.S(a);this.u.position({x:k,y:l}).width(e).height(g).I();this.l.N(!1);this.u.N(!1)}this.i(80);P(this,4)}S(this,16)&&(this.O.fill(this.H).stroke(this.M),this.o.fill(this.T).stroke(this.U),P(this,16));if(S(this,64)){if(0>=
this.c&&1<=this.f||this.c==this.f)xF(this).visible(!1);else{xF(this).visible(!0);e=uF(this);g=this.b;a=Math.min(5,Math.min(g.width,g.height)/2);this.O.Td(g).round(a);this.B?(d=this.l.width(),h=this.l.height(),k=e?g.left:g.left+d+1,l=e?g.top+h+1:g.top,d=e?g.width:g.width-2*(d+1),h=e?g.height-2*(h+1):g.height,k=new I(k,l,d,h)):k=g.clone();d=e?k.height:k.width;l=h=No(d*(this.f-this.c),1);var n=!1;10>h&&(n=!0,l=10);n?(h=this.c*(d-l)/(1+this.c-this.f),d=e?g.left:No(k.left+h,1),h=e?No(k.top+h,1):g.top):
(d=e?g.left:No(k.left+this.c*k.width,1),h=e?No(k.top+this.c*k.height,1):g.top);n=e?g.width:l;e=e?l:g.height;this.o.Bq(jF(d)).Cq(jF(h)).jn(Math.round(n)).fn(Math.round(e)).round(a).ng(k);this.o.Va(1,0,0,1,0,0)}P(this,64)}S(this,8)&&(xF(this).zIndex(this.zIndex()),P(this,8));c&&b.Vb()}return this};function uF(a){return"horizontal"!=a.ja.toLowerCase()}f.remove=function(){this.A&&this.A.parent(null)};
function nF(a,b){if(a.ha){0<=a.Z&&(clearTimeout(a.Z),a.Z=-1);var c=new DF(a);c.startRatio=a.c;c.endRatio=a.f;c.visibleBounds=a.g;c.source=b||"user_action";a.Z=setTimeout(function(){a.dispatchEvent(c);a.Z=-1},0)}}
f.w=function(){var a=iF.s.w.call(this);ua(this.Qo())?on(8,null,["ScrollBar background stroke"]):a.backgroundStroke=Nn(this.Qo());ua(this.ro())?on(8,null,["ScrollBar background fill"]):a.backgroundFill=Nn(this.ro());ua(this.Gq())?on(8,null,["ScrollBar slider fill"]):a.sliderFill=Nn(this.Gq());ua(this.Hq())?on(8,null,["ScrollBar slider stroke"]):a.sliderStroke=Nn(this.Hq());a.mouseOverOpacity=this.Iu();a.mouseOutOpacity=this.Hu();a.buttonsVisible=this.qt();a.barSize=this.dm();return a};
f.J=function(a,b){iF.s.J.call(this,a,b);this.ro(a.backgroundFill);this.Qo(a.backgroundStroke);this.Gq(a.sliderFill);this.Hq(a.sliderStroke);this.Iu(a.mouseOverOpacity);this.Hu(a.mouseOutOpacity);this.qt(a.buttonsVisible);this.dm(a.barSize)};function DF(a){Pb.call(this,"scrollchange",a)}G(DF,Pb);DF.prototype.startRatio=0;DF.prototype.endRatio=0;DF.prototype.visibleBounds=null;DF.prototype.source="";var EF=iF.prototype;F("anychart.core.ui.ScrollBar",iF);EF.barSize=EF.dm;EF.backgroundStroke=EF.Qo;
EF.backgroundFill=EF.ro;EF.sliderStroke=EF.Hq;EF.sliderFill=EF.Gq;EF.mouseOutOpacity=EF.Hu;EF.mouseOverOpacity=EF.Iu;EF.buttonsVisible=EF.qt;function FF(){jd.call(this);this.u=this.v=this.h=this.m=this.T=this.U=this.g=this.j=this.l=this.o=this.b=this.f=NaN;this.A=this.B=.01;this.M=NaN;this.c=!1;this.O=this.H=NaN}G(FF,dt);FF.prototype.Y=4;function GF(a){return function(b){return Rx(b,a)}}
var HF=[144E5,2592E5,26784E5,31536E6,31536E7],IF=[{Rb:"day",count:1},{Rb:"week",count:1},{Rb:"month",count:1},{Rb:"year",count:1},{Rb:"year",count:10}],JF=[{Rb:"hour",count:1},{Rb:"day",count:1},{Rb:"week",count:1},{Rb:"quarter",count:1},{Rb:"year",count:1}],KF=[{Rb:"minute",count:10},{Rb:"hour",count:2},{Rb:"day",count:1},{Rb:"month",count:1},{Rb:"quarter",count:1}];f=FF.prototype;f.Sc=function(){return isNaN(this.f)&&isNaN(this.b)&&isNaN(this.j)&&isNaN(this.g)};
f.reset=function(){this.g=this.j=this.l=this.o=this.b=this.f=NaN;this.c=!1};function LF(a){var b=new Date;isNaN(a.H)&&(a.H=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()));isNaN(a.O)&&(a.O=a.H+864E5);return{min:a.H,max:a.O}}function MF(a,b,c){b=Yp(b);c=Yp(c);a.f==b&&a.b==c||isNaN(c)||isNaN(b)||(a.f=b,a.b=c,a.c=!1,NF(a),a.P(4))}function OF(a){NF(a);return a.Sc()?LF(a):{min:a.f,max:a.b}}
function PF(a){var b;isNaN(a.o)&&(isNaN(a.m)?isNaN(a.v)?(b=(isNaN(a.h)?isNaN(a.u)?a.g:Math.max(a.g,a.u):a.h)-a.j,b*=a.B,a.o=a.j-b):a.o=Math.min(a.v,a.j):a.o=a.m);isNaN(a.l)&&(isNaN(a.h)?isNaN(a.u)?(b=a.g-(isNaN(a.m)?isNaN(a.v)?a.j:Math.min(a.j,a.v):a.m),b*=a.A,a.l=a.g+b):a.l=Math.max(a.u,a.g):a.l=a.h);return a.Sc()?LF(a):{min:a.o,max:a.l}}
function NF(a){if(!a.c&&!a.Sc()){a.c=!0;var b=PF(a),c=b.min,b=b.max;isNaN(c)?isNaN(a.f)||(a.j=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)}}}f.Ey=function(a){p(a)&&(a=Yp(a),this.m!=a&&(this.m=a,this.o=NaN,this.c=!1,this.P(4)));return this.m};f.Dy=function(a){p(a)&&(a=Yp(a),this.h!=a&&(this.h=a,this.l=NaN,this.c=!1,this.P(4)));return this.h};
f.Gy=function(a){p(a)&&(a=Yp(a),this.v!=a&&(this.v=a,this.o=NaN,this.c=!1,this.P(4)));return this.v};f.Fy=function(a){p(a)&&(a=Yp(a),this.u!=a&&(this.u=a,this.l=NaN,this.c=!1,this.P(4)));return this.u};f.Jo=function(a){return p(a)?(a=+a||0,this.B!=a&&(this.B=a,this.o=NaN,this.c=!1,this.P(4)),this):this.B};f.Io=function(a){return p(a)?(a=+a||0,this.A!=a&&(this.A=a,this.l=NaN,this.c=!1,this.P(4)),this):this.A};
f.fk=function(a,b){var c=Yp(a),d=OF(this),e=d.min,d=d.max;if(b.h||b.j){if(c<=e)return QF(this,a,b);if(c>e&&c=d)return QF(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),QF(this,c,b);return[]};
function QF(a,b,c,d,e){b=new rp(Nx(b));var g=OF(a);a=g.min;var g=g.max,h=[],k=!1,l=!1,n;if(d)for(c=c.m(-1);!k||!l;)d=Yp(b),n=b.clone(),n.add(c),b=Yp(n),k?wb(h,0,0,d):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 eG(a,b){var c=zb(a.b,b);return 0<=c?c:~c}f.data=function(a){return p(a)?(this.o!=a&&(a instanceof EE||a instanceof yE)&&(this.o&&et(this.o,this.sx,this),this.o=a,N(this.o,this.sx,this),this.T=this.o.Am(),this.T.QC(this.TE),this.A&&this.A.scale().reset(),this.i(64,2)),this):this.o};
f.Xd=function(a){return p(a)?(this.l!=a&&(this.l=a,this.i(256,2)),this):this.l};f.gc=function(a){return p(a)?(isNaN(a)||(this.c=a,this.l=0,this.g=NaN,this.i(256,2)),this):this.c};f.sd=function(a){return p(a)?(isNaN(a)||(this.g=a,this.c=NaN,this.i(256,2)),this):this.g};function fG(a,b){return p(b)?(a.h!=b&&(a.h=b,a.i(256,2)),a):a.h}function gG(a,b){return p(b)?(a.ha!=b&&(a.ha=b,a.i(128,2)),a):a.ha}f.xJ=function(a){return p(a)?(this.O!=a&&(this.O=a,this.i(256,2)),this):this.O};
function hG(a){a.v||(a.v=new iF,kF(a.v,"vertical"),a.v.ba("scrollchange",function(b){var c=b.startRatio;b=b.endRatio;var d=a.b[a.b.length-1];U(a);c?1==b?a.sd(a.b.length):(b=Math.round(c*d),c=eG(a,b),b-=c?a.b[c-1]:0,a.gc(c).Xd(b)):a.gc(0).Xd(0);a.N(!0)}));return a.v}function iG(a,b){if(a.b.length){b=Math.max(b,0);var c=a.b[a.b.length-1];U(a);if(b>c-a.h)a.sd(a.b.length-1);else{var c=eG(a,b),d=b-(c?a.b[c-1]:0);a.gc(c).Xd(d)}a.N(!0)}}
f.w=function(){var a=WF.s.w.call(this);a.isResourceChart=this.j;a.treeData=this.data().w();a.verticalOffset=this.Xd();isNaN(this.gc())?isNaN(this.sd())||(a.endIndex=this.sd()):a.startIndex=this.gc();return a};f.J=function(a,b){WF.s.J.call(this,a,b);this.j=a.isResourceChart;"treeData"in a&&this.data(FE(a.treeData));this.Xd(a.verticalOffset);"startIndex"in a?this.gc(a.startIndex):"endIndex"in a&&this.sd(a.endIndex)};function jG(a){this.isResources=!!a;this.b=null;this.c=-1}
jG.prototype.si=function(){if(this.b)if(this.item=this.b,this.name=this.b.get("name"),this.id=this.b.get("id"),this.isResources)this.minPeriodDate=this.b.G("minPeriodDate"),this.maxPeriodDate=this.b.G("maxPeriodDate"),this.period=this.f||void 0,this.periodIndex=null!=this.c&&0<=this.c?this.c:void 0,this.periodStart=this.f?this.b.Bd("periods",this.c,"start"):void 0,this.periodEnd=this.f?this.b.Bd("periods",this.c,"end"):void 0;else{this.actualStart=this.b.G("actualStart");this.actualEnd=this.b.G("actualEnd");
this.progressValue=this.b.get("progressValue");var a=!!this.b.Ja();this.autoStart=a?this.b.G("autoStart"):void 0;this.autoEnd=a?this.b.G("autoEnd"):void 0;this.autoProgress=a?this.b.G("autoProgress"):void 0}};jG.prototype.bg=function(a){return this.b?this.b.get(a):void 0};jG.prototype.sc=function(){};jG.prototype.g=function(a){return this.b?this.b.G(a):void 0};var kG=jG.prototype;kG.getDataValue=kG.bg;kG.getStat=kG.sc;kG.getMetaValue=kG.g;function lG(a,b){jd.call(this);this.b=a;var c=of(this.b)?this.b:this.b?this.b.body:null;this.j=!!c&&"rtl"==Gf(c,"direction");this.c=Wc(this.b,lc?"DOMMouseScroll":"mousewheel",this,b)}G(lG,jd);
lG.prototype.handleEvent=function(a){var b=0,c=0,d=a.b;"mousewheel"==d.type?(a=mG(-d.wheelDelta),p(d.wheelDeltaX)?(b=mG(-d.wheelDeltaX),c=mG(-d.wheelDeltaY)):c=a):(a=d.detail,100a&&(a=-3),p(d.axis)&&d.axis===d.HORIZONTAL_AXIS?b=a:c=a);E(this.f)&&(b=qd(b,-this.f,this.f));E(this.g)&&(c=qd(c,-this.g,this.g));this.j&&(b=-b);b=new nG(a,d,b,c);this.dispatchEvent(b)};function mG(a){return mc&&(nc||qc)&&a%40?a:a/40}lG.prototype.K=function(){lG.s.K.call(this);ed(this.c);this.c=null};
function nG(a,b,c,d){Hc.call(this,b);this.type="mousewheel";this.detail=a;this.u=c;this.v=d}G(nG,Hc);function oG(a,b){W.call(this);this.h=this.Mq=null;this.f=this;this.cb=!0;this.c=null;a&&a instanceof WF?(this.c=a,this.cb=!1):pG(this,b);this.b=null;this.Ha=1;this.pl=this.Tk=this.iq=this.Uk=this.Zk=this.Qk=this.Pk=this.lq=this.xn=this.H=this.al=this.Jk=null;this.Wa=45;this.Iv=this.ra=0;this.Nk=this.cl=this.Ek=this.Fk=null;this.Oa=[];this.nc=-1;this.ja=null;this.bl=this.dl=0;this.o=this.xc=!1;this.u=null;this.altKey=!1;this.ha=null;this.Sb=this.nb=0;this.B=!0;this.Da=!1;this.l=this.Na=null;this.nr=
!1;wt(this,this,this.KA,this.bH,this.aH,this.KA,this.AK)}G(oG,Ct);f=oG.prototype;f.aa=Ct.prototype.aa|208;function qG(a){var b=a.G("actualStart");a=a.G("actualEnd");return p(b)&&(!isNaN(b)&&!p(a)||b==a)}function rG(a,b,c,d){a.Na||(a.Na=new jG(a.c.j));a.Na.b=b;a.Na.f=c;a.Na.c=d;a.Na.si();return a.Na}
f.aH=function(a){if(!this.nr)if(this.B)if((a=this.cg(a))&&!this.f.altKey){var b=bc(a);b.type="rowMouseUp";var b=this.f.dispatchEvent(b),c=this.f.dispatchEvent(a);b&&c&&this.f.VB(a)}else this.f.vq(a);else this.B=!0;this.nr=!1};f.ND=oa;f.OD=oa;f.Gw=oa;f.Fw=oa;f.Hw=oa;f.RD=oa;
f.KA=function(a){a=this.cg(a);this.Gw(a);if(a&&this.B&&this.f.dispatchEvent(a)){var b=this.f;if(!b.o){sG(b.f,a.hoveredIndex,a.startY,a.endY);var c=b.Qa(),b=rG(b.f,a.item,a.period,a.periodIndex);nw(c,a.originalEvent.clientX,a.originalEvent.clientY,b)}}};
f.AK=function(a){switch(a.type){case "dblclick":a=this.cg(a);this.RD(a);this.B?this.f.TB(a):this.B=!0;break;case "mousedown":case "touchstart":this.JA(a);break;case "mouseup":case "touchend":a=this.cg(a);this.Hw(a);this.B&&a&&this.f.dispatchEvent(a)&&this.f.mM(a);this.Qa().cd();break;case "contextmenu":this.f.dispatchEvent(a)}};f.bH=function(a){this.B&&(a=this.cg(a))&&this.f.dispatchEvent(a)&&(a=this.f,sG(a.f),a.Qa().cd())};
f.JA=function(a){var b=this.cg(a);this.Fw(b);this.B&&(a.preventDefault(),b&&this.f.dispatchEvent(b)&&this.f.cv(b))};f.VB=function(a){var b;if(b=this.B)(b=a.item)&&b!=this.ja?(U(this.c.data()),b.G("selected",!0),this.ja&&this.ja.G("selected",!1),this.ja=b,this.c.data().N(!1),this.i(128,1),b=!0):b=!1;b&&(a=bc(a),a.type="rowSelect",this.f.dispatchEvent(a))};
f.TB=function(a){if((a=a.item)&&a.Ja()){var b=!a.G("collapsed");this.f.dispatchEvent({type:"rowcollapseexpand",item:a,collapsed:b})&&a.G("collapsed",b)}};f.mM=oa;f.cv=oa;f.Gu=oa;
f.cg=function(a){if(this.Oa.length){var b=this.c.f,c=this.c.gc(),d,e=a.type;switch(e){case "mouseout":e="rowMouseOut";0<=this.nc&&(d=b[c+this.nc]);break;case "mouseover":e="rowMouseOver";break;case "mousemove":case "touchmove":e="rowMouseMove";break;case "mousedown":case "touchstart":e="rowMouseDown";break;case "mouseup":case "touchend":e="rowMouseUp";break;case "click":e="rowClick";break;case "dblclick":e="rowDblClick"}var e={type:e,actualTarget:a.target,target:this,originalEvent:a},g=this.b.top+
this.Wa+1,h=this.b.top+Xk(this.C().$()).y+this.Wa;a=a.clientY-h;h=this.Oa.length?this.Oa[this.Oa.length-1]:0;if(d)e.item=d;else{if(0>a||a>h)return null;d=zb(this.Oa,a);var h=(this.nc=d=0<=d?d:~d)?this.Oa[d-1]:0,g=g+h,k=g+(this.Oa[d]-h-this.Ha);e.item=b[c+d];e.startY=g;e.endY=k;e.hoveredIndex=this.nc;e.index=c+d;e.itemHeightMouseRatio=(a-h)/(this.Oa[d]-h)}return e}return null};f.Ot=function(a){return p(a)?(this.Da!=a&&(this.Da=a,this.i(128,1)),this):this.Da};
function tG(a){a.H||(a.H=Ug(),vt(a,a.H,null,null,null,null,a.JA),H(a,a.H));return a.H}function uG(a){a.Pk||(a.Pk=Ug(),a.Pk.zIndex(30),H(a,a.Pk));return a.Pk}function vG(a){a.Uk||(a.Uk=Ug(),a.Uk.zIndex(35),H(a,a.Uk));return a.Uk}function wG(a){a.Qk||(a.Qk=Ug(),a.Qk.zIndex(40),H(a,a.Qk));return a.Qk}function xG(a){a.Zk||(a.Zk=Ug(),a.Zk.zIndex(45),H(a,a.Zk));return a.Zk}function yG(a){a.Tk||(a.Tk=Ug(),a.Tk.zIndex(50),H(a,a.Tk));return a.Tk}
function zG(a){a.pl||(a.pl=Ug(),a.pl.zIndex(60),H(a,a.pl));return a.pl}function AG(a){a.Fk||(a.Fk=uG(a).ca(),a.Fk.stroke(null).zIndex(1),H(a,a.Fk));return a.Fk}function BG(a){a.Ek||(a.Ek=uG(a).ca(),a.Ek.stroke(null).zIndex(1),H(a,a.Ek));return a.Ek}function CG(a){a.cl||(a.cl=uG(a).ca(),a.cl.stroke(null).fill(a.Rk).zIndex(2),H(a,a.cl));return a.cl}function DG(a){a.Nk||(a.Nk=uG(a).ca(),a.Nk.stroke(null).fill(a.ol).zIndex(3),H(a,a.Nk));return a.Nk}
function EG(a){a.Jk||(a.Jk=uG(a).ca(),a.Jk.stroke(a.eb).zIndex(4),H(a,a.Jk));return a.Jk}function FG(a){a.iq||(a.iq=xG(a).ca(),H(a,a.iq));return a.iq}function GG(a){a.al||(a.al=uG(a).ca(),a.al.zIndex(40),H(a,a.al));return a.al}f.tq=function(a,b,c,d,e,g,h){if(p(a)){var k=Wd.apply(null,arguments);this.ml!=k&&(this.ml=k,this.ll=this.nl=null,this.i(16,1));return this}return this.ml};f.Cs=function(a,b,c,d,e,g,h){on(405,null,["cellFill()","rowFill()"]);return this.tq(a,b,c,d,e,g,h)};
f.lo=function(a,b,c,d,e,g,h){if(p(a)){var k=Wd.apply(null,arguments);this.nl!=k&&(this.nl=k,this.i(16,1));return this}return this.nl};f.tt=function(a,b,c,d,e,g,h){on(405,null,["cellOddFill()","rowOddFill()"]);return this.lo(a,b,c,d,e,g,h)};f.ko=function(a,b,c,d,e,g,h){if(p(a)){var k=Wd.apply(null,arguments);this.ll!=k&&(this.ll=k,this.i(16,1));return this}return this.ll};f.st=function(a,b,c,d,e,g,h){on(405,null,["cellEvenFill()","rowEvenFill()"]);return this.ko(a,b,c,d,e,g,h)};
f.bv=function(a,b,c,d,e,g,h){if(p(a)){var k=Wd.apply(null,arguments);this.Rk!=k&&(this.Rk=k);return this}return this.Rk};f.dv=function(a,b,c,d,e,g,h){if(p(a)){var k=Wd.apply(null,arguments);this.ol!=k&&(this.ol=k,this.i(16,1));return this}return this.ol};f.zj=function(a,b,c,d,e,g,h){if(p(a)){var k=Wd.apply(null,arguments);this.wn!=k&&(this.wn=k,this.i(16,1));return this}return this.wn};f.Mt=function(a,b,c,d,e,g,h){if(p(a)){var k=Wd.apply(null,arguments);this.bq!=k&&(this.bq=k,this.i(16,1));return this}return this.bq};
f.Nt=function(a){if(p(a)){var b=ce.apply(null,arguments);this.$k!=b&&(this.$k=b,this.i(16,1));return this}return this.$k};f.Lt=function(a){if(p(a)){var b=ce.apply(null,arguments);this.Yp!=b&&(this.Yp=b,this.i(16,1));return this}return this.Yp};f.Sz=function(a){a.c instanceof Zf&&!this.h&&(this.h=new HG(this.H,this),H(this,this.h),this.h.ba("drag",this.bf,!1,this),this.h.ba("end",this.ZG,!1,this),this.h.He(a.b))};
f.bf=function(a){this.o=!0;if(this.Da&&(this.B=!1,sG(this.f),this.Qa().cd(),a=this.cg(a))){var b=a.item,c=a.itemHeightMouseRatio,d=a.startY,e=a.endY;this.u&&b&&b!=this.u&&!HE(b,this.u)?.2>c||.8c?d:e,void 0,"auto"):qG(b)?IG(this.f,void 0,void 0,"not-allowed"):IG(this.f,d,e,"auto"):IG(this.f,void 0,void 0,"not-allowed");this.ND(a)}this.Qa().cd();this.nr=!0};
f.ZG=function(a){if(this.Da){a=this.cg(a);this.OD(a);if(a){var b=a.item,c=a.hoveredIndex,c=this.c.gc()+c,d=this.c.f;a=a.itemHeightMouseRatio;this.u&&b&&b!=this.u&&!qG(b)&&!HE(b,this.u)&&(.2>a||.8a?a=d[c-1]:(a=b,b=d[c+1]),a&&b?(c=a.G("depth"),d=b.G("depth"),c==d?(c=b.getParent()||b.Tf(),a=c.Tb(b),b=this.u.getParent()||this.u.Tf(),b==c&&b.Tb(this.u)c,d=pF(k),k=rF(k),l=d||1!=k?0k||!d&&!l&&1!=k||1==k&&l&&0!=d:!1);e&&(e=0>b,n=pF(h),h=rF(h),n=e?n||1!=h?0h||1==h&&0!=n||!n&&g:g:n||1!=h?0h||!n&&1!=h:!1);if(l||n)a.preventDefault(),this.Wl(b,c)};f.pL=function(a){V(a,2)&&this.P(1)};
f.cH=function(){this.Qa().I()};f.As=oa;f.Bs=oa;f.Aj=function(a){return p(a)?(XF(this.c,a),this):XF(this.c)};function pG(a,b){a.c=new WF(b);H(a,a.c);N(a.c,a.pL,a)}
function KG(a,b){b&&a.i(64);if(a.Ra()){var c=a.C(),d=c?c.$():null,e=d&&!d.Bb();e&&d.Yb();var g,h;tG(a).Ja()||(a.xn=a.H.rect(),H(a,a.xn),a.xn.fill(a.wn).stroke(null).zIndex(10),a.lq=a.H.rect(),H(a,a.lq),a.lq.fill(Cn).stroke(null).zIndex(20),a.H.ob(uG(a)).ob(vG(a)).ob(wG(a)).ob(xG(a)).ob(yG(a)).ob(zG(a)),a.cb&&(g=hG(a.c),N(g.C(zG(a)),function(a){V(a,8)?this.i(4,1):g.I()},a),H(a,g)),h=a.gg(),N(h.C(zG(a)),function(a){V(a,1)&&h.I()},h),H(a,h),a.H.Rc("mousedown",a.Sz,!1,a),a.H.Rc("touchstart",a.Sz,!1,a),
a.OA());S(a,2)&&(a.H.parent(c),P(a,2));S(a,4)&&(a.b=a.ua(),a.H.clip(a.b),a.xn.Td(a.b),a.lq.Td(a.b),a.ra=a.b.width,c=a.b.top+a.Wa+.5,GG(a).clear().moveTo(a.b.left,c).lineTo(a.b.left+a.ra,c),a.cb&&(g=hG(a.c),c=g.dm(),g.Eb(a.b.left+a.b.width-c-1,a.b.top+a.ud()+c+1,c,a.b.height-a.ud()-2*c-2)),h=a.gg(),c=h.dm(),h.Eb(a.b.left+c,a.b.top+a.b.height-c-1,a.b.width-2*c,c),a.xc=!0,a.Bs(),P(a,4));S(a,64)&&(a.Qa().cd(),a.xc=!0,a.BB(),P(a,64));if(S(a,16)){a.xn.fill(a.wn);AG(a).fill(a.nl||a.ml);BG(a).fill(a.ll||
a.ml);DG(a).fill(a.ol);var k;B(a.eb)?k=a.eb:z(a.eb)&&a.eb.color&&(k=a.eb.color);k&&GG(a).stroke(k);EG(a).stroke(a.eb);FG(a).fill(a.bq).stroke(a.$k);a.As();P(a,16)}S(a,8)&&(tG(a).zIndex(a.zIndex()),P(a,8));S(a,128)&&(a.xc=!0,P(a,128));a.rv();a.xc&&(JG(a),a.AB(),a.xc=!1);e&&d.Vb();a.cb&&(LG(a),MG(a))}}f.OA=oa;
function sG(a,b,c,d){var e=!1,g=!1;if(p(b)&&p(c)&&p(d)){if(a.dl!=c||a.bl!=d)a.nc=b,a.dl=c,a.bl=d,e=0<=a.nc}else 0<=a.nc&&(a.nc=-1,a.dl=NaN,a.bl=NaN),g=!0;e?CG(a).clear().fill(a.Rk).moveTo(a.b.left,a.dl).lineTo(a.b.left+a.b.width,a.dl).lineTo(a.b.left+a.b.width,a.bl).lineTo(a.b.left,a.bl).close():g&&CG(a).clear()}
function IG(a,b,c,d){var e=FG(a);p(b)?p(c)?e.clear().moveTo(a.b.left,b).lineTo(a.b.left+a.ra,b).lineTo(a.b.left+a.ra,c).lineTo(a.b.left,c).close().stroke(a.$k):e.clear().moveTo(a.b.left,b).lineTo(a.b.left+a.ra,b).stroke(a.Yp):e.clear();p(d)&&Bf(m.document.body,"cursor",d)}function LG(a){if(!a.Mq){var b=tG(a).W();b&&(a.Mq=new lG(b),Wc(a.Mq,"mousewheel",a.oB,!1,a),Wc(window,"unload",function(){dd(a.Mq,"mousewheel",a.oB,!1,this)}));Wc(document,"mousemove",a.Rz,!1,a)}}
f.Rz=function(a){var b=Xk(this.C().$()),c=this.b.top+b.y+this.Wa+10,d=b.y+this.b.height-10-10,b=b.x+this.b.left+10,e=b+this.b.width-10-10,g=a.clientX,h=a.clientY;this.Sb=this.nb=0;if(ge)this.nb=g-b;if(hd)this.Sb=h-c;var k=this;this.o&&!this.ha&&(this.ha=setInterval(function(){k.Gu(a)},100))};function MG(a){a.f.Xq||(a.f.Xq=new NG(a.f,document),H(a,a.f.Xq),Wc(a.f.Xq,"key",function(a){18==a.keyCode&&(this.altKey=!0);(46==a.keyCode||a.metaKey&&8==a.keyCode)&&this.Kz(a)},!1,a.f))}f.Kz=function(){};
f.BB=oa;f.AB=oa;f.remove=function(){this.H&&this.H.parent(null)};f.uq=function(a,b,c,d,e){if(p(a)){var g=ce.apply(null,arguments),h=iq(g);if(this.eb!=g||h!=this.Ha)this.eb=g,this.Ha=h,this.cb||gG(this.c,h),this.i(80,1);return this}return this.eb||"none"};f.rv=oa;
f.vq=function(a){this.ja&&this.c.data()&&(U(this.c.data()),this.ja.G("selected",!1),this.ja=null,this.c.data().N(!1),this.f==this&&this.dispatchEvent({type:"rowSelect",actualTarget:a?a.target:this,target:this,originalEvent:a,item:null}),this.i(64,1))};f.data=function(a){var b=this.c.data();return p(a)?(a!=b&&a instanceof EE&&this.c.data(a),this):b};
f.I=function(){this.b&&!this.b.height&&this.b.height||(this.b=this.ua());var a=gG(fG(this.c,this.b.height-this.Wa-1),this.Ha);if(!a.df()){if(S(a,64)){a.ja=0;a.m=NaN;a.u=NaN;U(a.o);for(var b=0,c=a.o.Ja();b=b?(a.c=0,a.l=0,a.g=a.f.length-1):(isNaN(a.c)&&isNaN(a.g)&&(a.c=0),isNaN(a.c)?(b=dG(a,0,a.g),ba.U.length){var e=new QG;H(a,e);e.stroke(a.O);e.C(yG(a));N(e,function(){e.I()},e);e.ba("splitterchange",Aa(a.HM,a,b-1));e.ba("dblclick",Aa(a.IM,a,b-1));a.U.push(e)}}
f.Px=function(a,b){var c,d,e=!1;c=L(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var g=this.v[c];g||(g=new bH(this),g.F(this.Dz()),N(g,this.pJ,this),H(this,g),e=!0);if(p(d))return g.F(d instanceof bH?d.w():d),g.enabled()&&g.C(wG(this)),this.v[c]=g,aH(this),this.i(528,1),this;e&&(d=c?1==c?170:90:90,e=c?1==c?"Name":"Column #"+c:"#",U(g),g.C(wG(this)).width(d).height("100%"),g.title().text(e),g.N(!0),this.v[c]=g,aH(this),this.i(528,1));return g};
f.HM=function(a,b){var c=b.target;c.b||(c.b=c.ua());this.sp(this.kM,this,a,(new I(No(c.b.left,1),No(c.b.top,1),No(Math.min(c.h,c.b.width-c.o),1),No(c.b.height,1))).width+20)};f.IM=function(a,b){this.sp(this.yJ,this,a,b)};f.kM=function(a,b,c,d){c==b&&a.width(d)};
f.yJ=function(a,b,c,d){c==b&&(b=a.title(),c=b.height(),d.offsetY-this.b.topthis.ra&&(this.M=0);this.M=qd(this.M,0,Math.abs(this.b.width-this.ra));c=-this.M;g=0;for(h=e.length;gd&&(d=HF.length-1);e=TF(a,IF[d]);g=TF(a,JF[d],IF[d]);a=TF(a,KF[d],JF[d]);g=[e,g,a];a=0;for(d=this.c.length;a=k)k=t;else var l=this.b.left,u=this.b.width,k=t+(k-h)/2,k=kl+u?Math.max(l+u-h,t):k;k=this.labels().add(g,{value:{x:k,y:this.b.top}});U(k);k.clip(new I(n+r/2,this.b.top,q-n-r,this.b.height));k.height(this.b.height);k.N(!1);k.I()}this.labels().N(!1);this.labels().I()}S(this,8)&&P(this,8);e&&d.Vb()}return this};f.remove=function(){sH(this).parent(null)};
f.w=function(){var a=qH.s.w.call(this);a.tileFill=Nn(this.u);a.tilesSeparationStroke=Nn(this.f);a.labels=this.labels().w();return a};f.J=function(a){qH.s.J.call(this,a);this.HC(a.tileFill);this.IC(a.tilesSeparationStroke);this.labels(a.labels)};var tH=pH.prototype;tH.backgroundFill=tH.ux;tH.levelsSeparationStroke=tH.aB;tH.topLevel=tH.rn;tH.midLevel=tH.Tm;tH.lowLevel=tH.Pm;tH=qH.prototype;tH.tileFill=tH.HC;tH.labels=tH.labels;tH.tilesSeparationStroke=tH.IC;function uH(a,b){oG.call(this,a,b);this.Qg=this.M=this.O=this.U=this.T=this.ub=this.A=this.ce=this.ee=this.qd=null;this.ql=void 0;this.v=null;this.mq=void 0;this.wq=NaN;this.kl=this.ff=!1;this.Tg=this.zk=this.tk=this.Vi=this.qk=this.aj=null;this.Yq=this.Zq=this.mc=!1;this.pa=this.ac=null;this.fm=[];this.em=0;this.fl=[];this.jl=[];this.De=[];this.el=null;this.V=new FF;N(this.V,this.VH,this);H(this,this.V);var c=this.c;p(this)&&c.A!=this&&(c.A=this,c.i(256,2))}G(uH,oG);f=uH.prototype;
f.aa=oG.prototype.aa|512;f.VH=function(a){V(a,4)&&this.i(512,1)};f.hk=function(a){this.Z||(this.Z=new pH,this.Z.scale(this.V),this.Z.zIndex(80),H(this,this.Z),N(this.Z,this.RK,this));return p(a)?(this.Z.F(a),this):this.Z};f.RK=function(a){V(a,1)&&this.i(512,1)};f.fz=function(a,b,c,d,e){if(p(a)){var g=ce.apply(null,arguments);this.hg!=g&&(this.hg=g,this.i(16,1));return this}return this.hg||"none"};
f.hA=function(a,b,c,d,e,g,h){if(p(a)){var k=Wd.apply(null,arguments);this.Lp!=k&&(this.Lp=k,this.i(16,1));return this}return this.Lp||"none"};f.iA=function(a,b,c,d,e){if(p(a)){var g=ce.apply(null,arguments);this.Np!=g&&(this.Np=g,this.i(16,1));return this}return this.Np||"none"};f.jA=function(a,b,c,d,e,g,h){if(p(a)){var k=Wd.apply(null,arguments);this.Rp!=k&&(this.Rp=k,this.i(16,1));return this}return this.Rp||"none"};
f.kA=function(a,b,c,d,e){if(p(a)){var g=ce.apply(null,arguments);this.Tp!=g&&(this.Tp=g,this.i(16,1));return this}return this.Tp||"none"};f.eA=function(a,b,c,d,e,g,h){if(p(a)){var k=Wd.apply(null,arguments);this.Xk!=k&&(this.Xk=k,this.i(16,1));return this}return this.Xk||"none"};f.fA=function(a,b,c,d,e){if(p(a)){var g=ce.apply(null,arguments);this.Yk!=g&&(this.Yk=g,this.i(16,1));return this}return this.Yk||"none"};
f.Zz=function(a,b,c,d,e,g,h){if(p(a)){var k=Wd.apply(null,arguments);this.Vk!=k&&(this.Vk=k,this.i(16,1));return this}return this.Vk||"none"};f.$z=function(a,b,c,d,e){if(p(a)){var g=ce.apply(null,arguments);this.Wk!=g&&(this.Wk=g,this.i(16,1));return this}return this.Wk||"none"};f.My=function(a,b,c,d,e,g,h){if(p(a)){var k=Wd.apply(null,arguments);this.kp!=k&&(this.kp=k,this.i(128,1));return this}return this.kp||"none"};
f.Py=function(a,b,c,d,e){if(p(a)){var g=ce.apply(null,arguments);this.op!=g&&(this.op=g,this.i(128,1));return this}return this.op||"none"};f.Ry=function(a,b,c,d,e,g,h){if(p(a)){var k=Wd.apply(null,arguments);this.up!=k&&(this.up=k,this.i(128,1));return this}return this.up||"none"};f.Sy=function(a,b,c,d,e){if(p(a)){var g=ce.apply(null,arguments);this.Ep!=g&&(this.Ep=g,this.i(128,1));return this}return this.Ep||"none"};
f.EB=function(a,b,c,d,e,g,h){if(p(a)){var k=Wd.apply(null,arguments);this.Tq!=k&&(this.Tq=k,this.i(128,1));return this}return this.Tq||"none"};f.FB=function(a,b,c,d,e){if(p(a)){var g=ce.apply(null,arguments);this.Uq!=g&&(this.Uq=g,this.i(128,1));return this}return this.Uq||"none"};f.kB=function(a,b,c,d,e,g,h){if(p(a)){var k=Wd.apply(null,arguments);this.gl!=k&&(this.gl=k,this.i(128,1));return this}return this.gl||"none"};
f.lB=function(a,b,c,d,e){if(p(a)){var g=ce.apply(null,arguments);this.hl!=g&&(this.hl=g,this.i(128,1));return this}return this.hl||"none"};f.yB=function(a,b,c,d,e,g,h){if(p(a)){var k=Wd.apply(null,arguments);this.Qq!=k&&(this.Qq=k,this.i(128,1));return this}return this.Qq||"none"};f.zB=function(a,b,c,d,e){if(p(a)){var g=ce.apply(null,arguments);this.Rq!=g&&(this.Rq=g,this.i(128,1));return this}return this.Rq||"none"};
f.ez=function(a,b,c,d,e,g,h){if(p(a)){var k=Wd.apply(null,arguments);this.Ip!=k&&(this.Ip=k,this.i(128,1));return this}return this.Ip||"none"};f.ue=function(a,b,c,d,e){if(p(a)){var g=ce.apply(null,arguments);this.de!=g&&(this.de=g,this.i(64,1));return this}return this.de||"none"};f.bC=function(a,b,c,d,e,g,h){if(p(a)){var k=Wd.apply(null,arguments);this.ze!=k&&(this.ze=k,this.i(128,1));return this}return this.ze||"none"};
f.cC=function(a,b,c,d,e){if(p(a)){var g=ce.apply(null,arguments);this.Be!=g&&(this.Be=g,this.i(128,1));return this}return this.Be||"none"};f.yM=function(a,b,c,d,e){if(p(a)){var g=ce.apply(null,arguments);this.Ok!=g&&(this.Ok=g,this.i(128,1));return this}return this.Ok||"none"};f.hy=function(a){if(p(a)){var b=ce.apply(null,arguments),c=iq(this.ef),d=iq(b);if(this.ef!=b||d!=c)this.ef=b,this.i(16,1);return this}return this.ef};f.Fz=function(a){return p(a)?(this.ZC=a,this):this.ZC||{}};
f.Hz=function(a){return p(a)?(this.$C=a,this):this.$C||{}};f.Iz=function(a){return p(a)?(this.aD=a,this):this.aD||{}};f.bB=function(a,b){var c,d;c=L(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.fl[c];e||(e=new jH(this.V),e.F(this.Fz()),this.fl[c]=e,H(this,e),N(e,this.Lu,this),this.i(512,1));return p(d)?(e.F(d),this):e};
f.JB=function(a,b){var c,d;c=L(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.jl[c];e||(e=new lH(this.V),e.F(this.Hz()),this.jl[c]=e,H(this,e),N(e,this.Lu,this),this.i(512,1));return p(d)?(e.F(d),this):e};f.EC=function(a,b){var c,d;c=L(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.De[c];e||(e=new nH(this.V),e.F(this.Iz()),this.De[c]=e,H(this,e),N(e,this.Lu,this),this.i(512,1));return p(d)?(e.F(d),this):e};f.Lu=function(){this.i(512,1)};
f.jy=function(a){on(405,null,["minimumGap()","scale().minimumGap()"]);return p(a)?(this.V.Jo(a),this):this.V.Jo()};f.iy=function(a){on(405,null,["maximumGap()","scale().maximumGap()"]);return p(a)?(this.V.Io(a),this):this.V.Io()};f.labels=function(a){this.qd||(this.qd=new ax,this.qd.Ka(this));if(p(a)){var b=!0;a instanceof ax?this.qd.F(a.w()):z(a)?this.qd.F(a):hq(a)?this.qd.enabled(!1):b=!1;b&&this.i(64,1);return this}return this.qd};
f.rg=function(a){this.ee||(this.ee=new bx,this.ee.Ka(this));if(p(a)){var b=!0;a instanceof bx?this.ee.F(a.w()):z(a)?this.ee.F(a):hq(a)?this.ee.enabled(!1):b=!1;b&&this.i(64,1);return this}return this.ee};f.Qy=function(a){return p(a)&&this.ff!=a?(this.ff=a,this.i(64,1),this):this.ff};function vH(a){a.ce||(a.ce=yG(a).ca(),a.ce.zIndex(6),a.ce.stroke(a.ef),a.ce.Ec("hui",12345),H(a,a.ce));return a.ce}
function wH(a){a.A||(a.A=new xH(xG(a)),a.A.zIndex(0).Cb("ew-resize"),a.j.ba(a.A,"mousedown",function(a){a.stopPropagation()}),a.A.Rc("mousedown",a.LJ,!1,a),H(a,a.A));return a.A}function yH(a){a.ub||(a.ub=new xH(xG(a)),a.ub.zIndex(10),a.j.ba(a.ub,"mousedown",function(a){a.stopPropagation()}),a.ub.Rc("mousedown",a.QJ,!1,a),H(a,a.ub));return a.ub}
function zH(a){a.T||(a.T=new xH(xG(a)),a.T.zIndex(20).Cb("col-resize"),a.T.m=wH(a),a.j.ba(a.T,"mousedown",function(a){a.stopPropagation()}),a.T.Rc("mousedown",a.JJ,!1,a),H(a,a.T));return a.T}function AH(a){a.U||(a.U=new xH(xG(a)),a.U.zIndex(30).Cb("col-resize"),a.U.m=wH(a),a.j.ba(a.U,"mousedown",function(a){a.stopPropagation()}),a.U.Rc("mousedown",a.TJ,!1,a),H(a,a.U));return a.U}
function BH(a){a.O||(a.O=new xH(xG(a)),a.O.zIndex(40).Cb("move"),a.j.ba(a.O,"mousedown",function(a){a.stopPropagation()}),a.O.Rc("mousedown",a.VJ,!1,a),H(a,a.O));return a.O}function CH(a){a.M||(a.M=new xH(xG(a)),a.M.zIndex(50).Cb("move"),a.j.ba(a.M,"mousedown",function(a){a.stopPropagation()}),a.M.Rc("mousedown",a.IJ,!1,a),H(a,a.M));return a.M}f.nA=function(a){return p(a)?(this.lr=a,this):this.lr};f.mA=function(a){return p(a)?(this.kr=a,this):this.kr};
f.lA=function(a){return p(a)?(this.jr=a,this):this.jr};f.oA=function(a){return p(a)?(this.mr=a,this):this.mr};f.cA=function(a){return p(a)?(this.gr=a,this):this.gr};f.bA=function(a){return p(a)?(this.dr=a,this):this.dr};f.aA=function(a){return p(a)?(this.ar=a,this):this.ar};f.dA=function(a){return p(a)?(this.ir=a,this):this.ir};f.gA=function(a){return p(a)?(this.Ah=a,this):this.Ah};function DH(a){a.Qg||(a.Qg=xG(a).ca(),a.Qg.stroke(a.hg).zIndex(60),H(a,a.Qg));return a.Qg}
function EH(a,b){wH(a).Sc()||wH(a).clear().Va(1,0,0,1,0,0);yH(a).Sc()||yH(a).clear().Va(1,0,0,1,0,0);AH(a).Sc()||AH(a).clear().Va(1,0,0,1,0,0);zH(a).Sc()||zH(a).clear().Va(1,0,0,1,0,0);CH(a).Sc()||CH(a).clear().Va(1,0,0,1,0,0);BH(a).Sc()||BH(a).clear().Va(1,0,0,1,0,0);DH(a).Sc()||DH(a).clear();b||(a.Qa().enabled(a.Wc),a.Wc=void 0)}f.LJ=function(a){this.aj=new FH(wH(this));H(this,this.aj);this.aj.ba("start",this.MJ,!1,this);this.aj.ba("drag",this.NJ,!1,this);this.aj.ba("end",this.OJ,!1,this);this.aj.He(a.b)};
f.QJ=function(a){this.qk=new GH(yH(this));H(this,this.qk);this.qk.ba("start",this.RJ,!1,this);this.qk.ba("drag",this.SJ,!1,this);this.qk.ba("end",this.PJ,!1,this);this.qk.He(a.b)};f.JJ=function(a){this.Vi=new HH(zH(this),!0);H(this,this.Vi);this.Vi.ba("start",this.KJ,!1,this);this.Vi.ba("drag",this.qA,!1,this);this.Vi.ba("end",this.pA,!1,this);this.Vi.He(a.b)};
f.TJ=function(a){this.tk=new HH(AH(this),!1);H(this,this.tk);this.tk.ba("start",this.UJ,!1,this);this.tk.ba("drag",this.qA,!1,this);this.tk.ba("end",this.pA,!1,this);this.tk.He(a.b)};f.VJ=function(a){this.zk=new IH(0,BH(this),!0);H(this,this.zk);this.zk.ba("start",this.Xz,!1,this);this.zk.ba("drag",this.Yz,!1,this);this.zk.ba("end",this.Wz,!1,this);this.zk.He(a.b)};
f.IJ=function(a){this.Tg=new IH(0,CH(this),!1);H(this,this.Tg);this.Tg.ba("start",this.Xz,!1,this);this.Tg.ba("drag",this.Yz,!1,this);this.Tg.ba("end",this.Wz,!1,this);this.Tg.He(a.b)};f.MJ=function(){this.h&&(this.h.Re=!1);this.Wc=this.Qa().enabled();this.Qa().cd();this.Qa().enabled(!1);sG(this.f);yH(this).clear();zH(this).clear();AH(this).clear();BH(this).clear();CH(this).clear();Bf(m.document.body,"cursor","ew-resize")};f.NJ=function(){this.o=!0;this.B=!1;this.Yq=!0};
f.OJ=function(a){if(this.o){this.h&&(this.h.Re=!0);var b=wH(this).xa();EH(this);var c=a.target.element;a=c.item;var d=this.c.data();U(d);b=SF(this.V,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.G("actualStart",b);p(a.get("actualEnd"))&&(a.set("actualEnd",b),a.G("actualEnd",b));break;case 5:c=c.Ue;e=a.Bd("periods",c,"start");e=a.Bd("periods",c,"end")+(b-e);isNaN(e)||(a.set("periods",c,"start",
b),a.lg("periods",c,"start",b),a.set("periods",c,"end",e),a.lg("periods",c,"end",e));break;case 3:e=a.G("baselineStart");c=a.G("baselineEnd");e=b-e;isNaN(c+e)||(a.set("baselineStart",b),a.G("baselineStart",b));a.set("baselineEnd",c+e);a.G("baselineEnd",c+e);break;default:c=E(a.G("actualStart"))?a.G("actualStart"):a.G("autoStart"),c=(E(a.G("actualEnd"))?a.G("actualEnd"):a.G("autoEnd"))+(b-c),isNaN(c)||(a.set("actualStart",b),a.G("actualStart",b),a.set("actualEnd",c),a.G("actualEnd",c))}}d.N(!0);OG(this);
this.Yq=this.o=!1;clearInterval(this.ha);this.ha=null}Bf(m.document.body,"cursor","")};f.RJ=function(){this.h&&(this.h.Re=!1);this.Zq=!0;this.Wc=this.Qa().enabled();this.Qa().cd();this.Qa().enabled(!1);zH(this).clear();AH(this).clear();BH(this).clear();CH(this).clear();wH(this).clear()};f.SJ=function(){this.o=!0;this.B=!1};
f.PJ=function(a){if(this.o){this.h&&(this.h.Re=!0);EH(this);a=a.target;var b=a.element;isNaN(a.Dh)||b.item.set("progressValue",No(100*a.Dh,2)+"%");this.o=!1;clearInterval(this.ha);this.ha=null;this.Zq=!1}};f.UJ=function(){this.h&&(this.h.Re=!1);this.Wc=this.Qa().enabled();this.Qa().cd();this.Qa().enabled(!1);yH(this).clear();zH(this).clear();AH(this).clear();BH(this).clear();CH(this).clear();Bf(m.document.body,"cursor","col-resize");this.A.Cb("col-resize")};
f.KJ=function(){this.h&&(this.h.Re=!1);this.Wc=this.Qa().enabled();this.Qa().cd();this.Qa().enabled(!1);yH(this).clear();zH(this).clear();AH(this).clear();BH(this).clear();CH(this).clear();Bf(m.document.body,"cursor","col-resize");this.A.Cb("col-resize")};
function JH(a,b,c){if(a.ac){var d=a.ac.c?a.T:a.U,e=d.item,g=d.Ue,h=d.b;switch(d.type){case 3:d=a.ac.c?e.G("baselineEnd"):e.G("baselineStart");break;case 5:d=a.ac.c?e.Bd("periods",g,"end"):e.Bd("periods",g,"start");break;default:d=a.ac.c?E(e.G("actualEnd"))?e.G("actualEnd"):e.G("autoEnd"):E(e.G("actualStart"))?e.G("actualStart"):e.G("autoStart")}e=Xk(a.C().$()).x;b=c?0>c?a.b.left:a.b.left+a.b.width:b.clientX-e;c=RF(a.V,d);c=a.b.left+a.b.width*c;a.A.clear().moveTo(c,h.top).lineTo(b,h.top).lineTo(b,
h.top+h.height).lineTo(c,h.top+h.height).close()}}function KH(a,b,c,d){if(a.pa&&a.o){var e=a.pa.c?a.O:a.M,g=e.index,e=e.Ue,h=Xk(a.C().$()),k=h.x,h=h.y;c||d?(c=a.pa.j-k,b=a.pa.l-h):(c=b.clientX-k,b=b.clientY-h);e=LH(a,g,e);d=iq(a.hg)%2&&bl===cl?.5:0;g=a.pa.c?e.left:e.left+e.width;e=e.top+e.height/2+d;DH(a).clear().moveTo(g,e).lineTo(c,b)}}f.qA=function(a){this.o=!0;this.B=!1;this.ac=a.target;JH(this,a)};
f.pA=function(a){if(this.o){this.h&&(this.h.Re=!0);var b=this.A.xa();EH(this);a=a.target.element;var c=a.item,d=a.Ue,e=this.c.data();U(e);var g=(b.left+b.width-this.b.left)/this.b.width,b=SF(this.V,(b.left-this.b.left)/this.b.width),g=SF(this.V,g);if(!isNaN(b)&&!isNaN(g))switch(a.type){case 5:c.set("periods",d,"start",b);c.lg("periods",d,"start",b);c.set("periods",d,"end",g);c.lg("periods",d,"end",g);break;case 3:c.set("baselineStart",b);c.G("baselineStart",b);c.set("baselineEnd",g);c.G("baselineEnd",
g);break;default:c.set("actualStart",b),c.G("actualStart",b),c.set("actualEnd",g),c.G("actualEnd",g)}e.N(!0);OG(this);this.ac=null;this.o=!1;clearInterval(this.ha);this.ha=null}Bf(m.document.body,"cursor","");this.A.Cb("ew-resize")};f.Xz=function(a){this.h&&(this.h.Re=!1);sG(this.f);this.pa=a.target;EH(this);this.Wc=this.Qa().enabled();this.Qa().cd();this.Qa().enabled(!1)};f.Yz=function(a){this.mc=this.o=!0;this.B=!1;this.pa.j=a.clientX;this.pa.l=a.clientY};
f.Wz=function(){this.o&&(this.h&&(this.h.Re=!0),this.Qa().enabled(this.Wc),this.Wc=void 0,DH(this).clear(),this.o=!1,clearInterval(this.ha),this.ha=null)};
function MH(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 NH(a,b){if(b&&b.originalEvent){var c=b.originalEvent,d=c instanceof Si?c.target:c.domTarget;if(d&&d instanceof PG&&6==d.type){var c=MH(a,c),e;for(e in d.G)c[e]=d.G[e];return c}}return null}
f.Gw=function(a){if(a&&a.originalEvent){var b=a.originalEvent,c=b.domTarget;if(this.Da)if(c&&c instanceof PG){var d=a.item,e=d.get("id");p(this.mq)||(this.mq=e);var g=a.period,h=a.periodIndex;p(h)&&isNaN(this.wq)&&(this.wq=h);this.mq!=e&&this.wq!=h&&(EH(this,!0),this.mq=e,p(h)&&(this.wq=h));if(c.l&&!this.o){b=c.l;wH(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.A.item=d;this.A.type=c.type;g&&(this.A.Ia=
g);p(h)&&(this.A.Ue=h);if(!d||1!=c.type&&0!=c.type&&2!=c.type)yH(this).clear();else{var e=p(d.get("progressValue"))?parseFloat(d.get("progressValue"))/100:No(d.G("autoProgress"),2),e=b.left+(e||0)*b.width,k=b.top+b.height;yH(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.ub.b=b;this.ub.item=d}k=b.left+b.width;d&&4!=c.type?(AH(this).clear().moveTo(k+1,b.top).lineTo(k+1-this.Ah,b.top).lineTo(k+1-this.Ah,b.top+b.height).lineTo(k+1,b.top+b.height).close(),
zH(this).clear().moveTo(b.left-1,b.top).lineTo(b.left-1+this.Ah,b.top).lineTo(b.left-1+this.Ah,b.top+b.height).lineTo(b.left-1,b.top+b.height).close(),this.U.b=b,this.U.item=d,this.U.type=c.type,this.T.b=b,this.T.item=d,this.T.type=c.type,g&&(this.U.Ia=g,this.T.Ia=g),p(h)&&(this.U.Ue=h,this.T.Ue=h)):(zH(this).clear(),AH(this).clear());if(d&&3!=c.type){var e=b.top+b.height/2,l=this.dr/2;Fq(this.gr).call(null,CH(this),k+l+this.ar,e+this.ir,l);k=this.kr/2;Fq(this.lr).call(null,BH(this),b.left-k+this.jr,
e+this.mr,k);this.M.item=d;this.M.type=c.type;this.M.index=a.hoveredIndex+this.c.gc();this.O.item=d;this.O.type=c.type;this.O.index=a.hoveredIndex+this.c.gc();g&&(this.O.Ia=g,this.M.Ia=g);p(h)&&(this.O.Ue=h,this.M.Ue=h)}else CH(this).clear(),BH(this).clear()}else this.mc&&d&&(e=this.pa.c?this.O:this.M,k=e.item,l=e.index,3!=c.type&&6!=c.type?(g?(b={item:k,period:e.Ia,index:l,periodIndex:e.Ue},d={item:d,period:g,index:a.hoveredIndex+this.c.gc(),periodIndex:h}):(b={item:k,index:l},d={item:d,index:a.hoveredIndex+
this.c.gc()}),g=a.originalEvent.clientX-Xk(this.C().$()).x,h=c.l,g=.5>(g-h.left)/h.width,g=this.pa.c?g?"startstart":"startfinish":g?"finishstart":"finishfinish",DH(this).clear(),OH(this,b,d,g,void 0,this.Qg)):KH(this,b))}else c==wH(this)||c==yH(this)||c==AH(this)||c==zH(this)||c==CH(this)||c==BH(this)||this.o?this.mc&&KH(this,b):EH(this,!0);if(d=NH(this,a))this.f.dispatchEvent(d),this.el=c.G;else if(this.el){if(a&&a.originalEvent){a={type:"connectormouseout",actualTarget:a.originalEvent.target,target:this,
originalEvent:a.originalEvent};for(var n in this.el)a[n]=this.el[n];d=a}else d=null;this.f.dispatchEvent(d);this.el=null}}};f.cv=function(a){this.Da&&(this.u=a.item)};f.Fw=function(a){a&&(a=NH(this,a))&&this.f.dispatchEvent(a)};
f.Hw=function(a){if(this.Da&&this.mc){if(a){var b=a.item,c=a.periodIndex,d=a.originalEvent,e=d.domTarget;if(e instanceof PG&&3!=e.type){var d=d.clientX-Xk(this.C().$()).x,e=e.l,g=this.pa.c?this.O:this.M,e=.5>(d-e.left)/e.width;d=g.item;e=this.pa.c?e?"startstart":"startfinish":e?"finishstart":"finishfinish";g=g.Ue;e=e||"finishstart";d instanceof zE||d instanceof BE||(d=this.c.data().bn("id",d),d=d.length?d[0]:null);if(d&&(b instanceof zE||b instanceof BE||(b=this.c.data().bn("id",b),b=b.length?b[0]:
null),b)){U(this.c.data());var h,k,l,n;n=!1;if(this.c.j){var q=d.get("periods")[g],r=b.get("periods")[c];p(q)&&p(r)&&(h=q.connector,k={},k.connectTo=r.id,k.connectorType=e,h?y(h)?h=h.length:(n=bc(h),l={},l.connectTo=q.connectTo,l.connectorType=q.connectorType||"finishstart",dc(l,n),h=1,n=!0):(h=q.connectTo,p(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:g},this.f.dispatchEvent(c)&&(n&&d.set("periods",g,"connector",[l]),d.set("periods",g,"connector",h,k)))}else h=d.get("connector"),k={},k.connectTo=b.get("id"),k.connectorType=e,h?y(h)?h=h.length:(n=bc(h),l={},l.connectTo=d.get("connectTo"),l.connectorType=d.get("connectorType")||"finishstart",dc(l,n),h=1,n=!0):(h=d.get("connectTo"),p(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.f.dispatchEvent(c)&&(n&&d.set("connector",[l]),d.set("connector",h,k));this.c.data().N(!0)}}}this.mc=!1}(a=NH(this,a))&&this.f.dispatchEvent(a);this.pa=null;this.B=!0};f.Gu=function(a){if(this.o&&!this.Zq&&(this.nb||this.Sb)){var b=0,c=0;this.nb&&(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.rg().add({value:{x:l,y:n}}).size(k/2).F(h)}}}}}
function LH(a,b,c){var d=a.b.top+a.ud()+1,e=a.c.b,g=a.c.gc(),h=a.c.f,k=a.c.Xd(),h=h[b];b=(b?e[b-1]:0)-((g?e[g-1]:0)+k)+d;d=YF(a.c,h);e=E(h.G("actualStart"))?h.G("actualStart"):h.G("autoStart");g=E(h.G("actualEnd"))?h.G("actualEnd"):h.G("autoEnd");e=a.c.j?h.Bd("periods",c,"start"):e;c=a.c.j?h.Bd("periods",c,"end"):g;g=0;if(isNaN(c)||e==c)c=e,g=.7*d/2;if(isNaN(c)||isNaN(e))return null;e=RF(a.V,e)*a.b.width+a.b.left-g;c=RF(a.V,c)*a.b.width+a.b.left+g;a.c.j||(h.get("baselineStart")&&h.get("baselineEnd")?
d=a.ff?2.7*d/2:.65*d:h.Ja()&&(d*=1-.7+.4));return new I(e,b,c-e,d)}
function OH(a,b,c,d,e,g){d=d||"finishstart";var h=b.index,k=c.index,l=b.periodIndex,n=c.periodIndex,q=a.c.f,r=q[h],q=q[k],t=LH(a,h,b.periodIndex),u=LH(a,k,c.periodIndex);if(t&&u){c=e&&e.fill?Wd(e.fill):a.Ip;e=e&&e.stroke?ce(e.stroke):a.de;b=!!g;var w,x,v,A,C;g=g||null;var D=b?g:null,O,Q,ba=iq(e)%2&&bl===cl?.5:0;switch((d+"").toLowerCase()){case "finishfinish":w=Math.round(t.left+t.width)+ba;x=Math.round(t.top+t.height/2)+ba;v=Math.round(u.left+u.width)+ba;A=Math.round(u.top+u.height/2)+ba;C="left";
t.top==u.top?(g=TH(a,w,x,v,A,g),w>v&&(C="right")):(t=Math.max(w+9,v+9),g=TH(a,w,x,t,x,g),g=TH(a,t,x,t,A,g),g=TH(a,t,A,v,A,g));D=UH(a,v,A,C,D);break;case "startfinish":w=Math.round(t.left)+ba;x=Math.round(t.top+t.height/2)+ba;v=Math.round(u.left+u.width)+ba;A=Math.round(u.top+u.height/2)+ba;C="left";w-5-5-4>v?(t=v+9,g=TH(a,w,x,t,x,g),g=TH(a,t,x,t,A,g),g=TH(a,t,A,v,A,g)):(Q=u.top>=t.top,t=w-5,O=v+9,u=Math.round(Q?u.top:u.top+u.height)+ba,g=TH(a,w,x,t,x,g),g=TH(a,t,x,t,u,g),g=TH(a,t,u,O,u,g),g=TH(a,
O,u,O,A,g),g=TH(a,O,A,v,A,g));D=UH(a,v,A,C,D);break;case "startstart":w=Math.round(t.left)+ba;x=Math.round(t.top+t.height/2)+ba;v=Math.round(u.left)+ba;A=Math.round(u.top+u.height/2)+ba;C="right";t.top==u.top?(g=TH(a,w,x,v,A,g),w>v&&(C="left")):(t=Math.min(w-4-5,v-4-5),g=TH(a,w,x,t,x,g),g=TH(a,t,x,t,A,g),g=TH(a,t,A,v,A,g));D=UH(a,v,A,C,D);break;default:w=Math.round(t.left+t.width)+ba,x=Math.round(t.top+t.height/2)+ba,v=Math.round(u.left)+ba,v>=w?(v=Math.min(v+5,Math.round(u.left+u.width/2)+ba),u.top>
t.top?(A=Math.round(u.top)+ba,g=TH(a,w,x,v,x,g),g=TH(a,v,x,v,A,g),D=UH(a,v,A,"bottom",D)):u.topt.top?u.top:u.top+u.height)+ba,t=w+5,O=v-5-4,g=TH(a,w,x,t,x,g),g=TH(a,t,x,t,u,g),g=TH(a,t,u,O,u,g),g=TH(a,O,u,O,A,g),g=TH(a,O,A,v,A,g),D=UH(a,v,A,"right",
D))}d={fromItemIndex:h,toItemIndex:k,connType:d,fromItem:r,toItem:q};h=!!a.v&&a.v.fromItemIndex==d.fromItemIndex&&a.v.toItemIndex==d.toItemIndex&&a.v.connType==d.connType;a.c.j&&(d.fromPeriodIndex=l,d.toPeriodIndex=n,a.v&&(h&=a.v.fromPeriodIndex==d.fromPeriodIndex&&a.v.toPeriodIndex==d.toPeriodIndex));g&&!b&&(g.stroke(e),g.tag=void 0,g.type=6,g.l=null,g.Cb(a.Da?"pointer":"default"),d.path=g,g.G=d,g.stroke(h?a.Ok:e));D&&!b&&(D.fill(c).stroke(e),D.tag=void 0,D.type=6,D.l=null,D.Cb(a.Da?"pointer":"default"),
d.arrow=D,D.G=d,D.stroke(h?a.Ok:e))}}function TH(a,b,c,d,e,g){if(g)try{g.lineTo(d,e)}catch(n){g.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&&(g=QH(a),g.zIndex(60).moveTo(b,c).lineTo(d,e))}return g}
function UH(a,b,c,d,e){var g=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||(g=QH(a));g.zIndex(70).moveTo(b,c).lineTo(h,k).lineTo(l,n).lineTo(b,c)}return g}
function OG(a){var b=a.V.Sc(),c=OF(a.V),d=a.c.m,e=a.c.u;U(a.V);var g=a.V,h,k;h=Yp(d);k=Yp(e);if(g.j!=h||g.g!=k)g.j=h,g.g=k,g.o=NaN,g.l=NaN,g.c=!1,NF(g),g.P(4);a.V.U=d;a.V.T=e;!b||isNaN(d)||isNaN(e)||(d=PF(a.V),UF(a.V,d.min,d.min+Math.round((d.max-d.min)/10)));!b&&(b=c.min,d=c.max-b)&&(c=OF(a.V),b=c.min,UF(a.V,b,b+d));a.V.N(!0)}f.OA=function(){yG(this).zIndex(34);this.rg().C(wG(this));this.labels().C(wG(this));this.hk().C(tG(this));OG(this)};
f.Bs=function(){this.hk().Eb().set(this.b.left,this.b.top,this.b.width,this.ud());this.kl=!0};f.As=function(){vH(this).stroke(this.ef);DH(this).stroke(this.hg);wH(this).fill(this.Lp).stroke(this.Np);yH(this).fill(this.Rp).stroke(this.Tp);zH(this).fill(this.Xk).stroke(this.Yk);AH(this).fill(this.Xk).stroke(this.Yk);BH(this).fill(this.Vk).stroke(this.Wk);CH(this).fill(this.Vk).stroke(this.Wk)};
f.rv=function(){S(this,512)&&(this.kl=this.xc=!0,P(this,512));if(this.kl){this.hk().i(64);this.Z.I();var a,b=[];this.Z.Pm().enabled()?a=this.Z.Pm():this.Z.Tm().enabled()?a=this.Z.Tm():this.Z.rn().enabled()&&(a=this.Z.rn());a&&(b=a.fk());a=b;if(a.length)for(var b=vH(this).clear(),c=0,d=a.length-1;cD){var Q=this.b.left+this.b.width*D,ba=.7*u;RH(this,new I(Q,t+(u-ba)/2,this.b.left+this.b.width*O-Q,ba),v,5)}}}SH(this,l,g,n);g=q+this.Ha}else for(var la=this.b.top+this.ud()+1-this.c.Xd(),R=this.c.f,T=this.c.gc();T<=this.c.sd();T++){var Pa=R[T];if(!Pa)break;var Ha=YF(this.c,Pa),Ab=la+Ha,Fc=Pa.get("baselineStart"),kd=Pa.get("baselineEnd");if(p(Fc)&&p(kd)){var ab=
Pa,ld=la,yc=Ha,Hd=E(ab.G("actualStart"))?ab.G("actualStart"):ab.G("autoStart"),oc=E(ab.G("actualEnd"))?ab.G("actualEnd"):ab.G("autoEnd"),Nh=ab.G("baselineStart"),gu=ab.G("baselineEnd"),Cg=RF(this.V,Hd),yI=RF(this.V,oc),zI=RF(this.V,Nh),AI=RF(this.V,gu);if(0Cg||0zI){var Ej=this.b,hu=Ej.left+Ej.width*Cg,BI=Ej.left+Ej.width*yI,xq=ld+yc*(1-.7)/2,yq=.7*yc/2,CI=Ej.left+Ej.width*zI,OO=Ej.left+Ej.width*AI,tz=xq+yq;if(this.ff)var PO=xq,xq=tz,tz=PO;var QO=RH(this,new I(hu,xq,BI-hu,yq),ab,1,"actual");
RH(this,new I(CI,tz,OO-CI,yq),ab,3,"baseline");var DI=1*yq,RO=xq+(yq-DI)/2,EI=p(ab.get("progressValue"))?parseFloat(ab.get("progressValue"))/100:No(ab.G("autoProgress"),2);EI&&(RH(this,new I(hu,RO,EI*(BI-hu),DI),ab,2,"progress").l=QO.l)}}else if(Pa.Ja()){var Dg=Pa,SO=la,FI=Ha,TO=E(Dg.G("actualStart"))?Dg.G("actualStart"):Dg.G("autoStart"),UO=E(Dg.G("actualEnd"))?Dg.G("actualEnd"):Dg.G("autoEnd"),GI=RF(this.V,TO),HI=RF(this.V,UO);if(0GI){var iu=this.b.left+this.b.width*GI,II=this.b.left+this.b.width*
HI,JI=SO+FI*(1-.7)/2,uz=.4*FI,VO=RH(this,new I(iu,JI,II-iu,uz),Dg,0,"actual"),KI=1*uz,WO=JI+(uz-KI)/2,LI=p(Dg.get("progressValue"))?parseFloat(Dg.get("progressValue"))/100:No(Dg.G("autoProgress"),2);LI&&(RH(this,new I(iu,WO,LI*(II-iu),KI),Dg,2,"progress").l=VO.l)}}else if(qG(Pa)){var tl=Pa,XO=la,MI=Ha,YO=tl.get("actualStart"),vz=RF(this.V,YO);if(0<=vz&&1>=vz){var Fj=tl.get("milestone"),En=Fj&&p(Fj.stroke)?ce(Fj.stroke):this.hl,NI=(hq(En)?0:B(En)?1:En.thickness?En.thickness:1)%2&&bl===cl?.5:0,Fn=Math.round(.7*
MI/2),ju=Math.round(this.b.left+this.b.width*vz)+NI,ku=Math.round(XO+MI/2)+NI,Gn=QH(this);Gn.tag=tl.get("id");Gn.type=4;var OI=ju-Fn,PI=ku-Fn,ZO=ju+Fn,$O=ku+Fn,QI=Fn+Fn;Gn.zIndex(20).moveTo(OI,ku).lineTo(ju,PI).lineTo(ZO,ku).lineTo(ju,$O).close();var wz=new I(OI,PI,QI,QI);Gn.l=wz;U(this.c.data());tl.G("relBounds",wz);this.c.data().N(!1);var Gj=Fj?Fj.label:void 0,lu=void 0;Gj&&p(Gj.value)?lu=Gj.value+"":lu=tl.get("name")||"";if(lu){var xz=Gj&&Gj.position?Gj.position:this.labels().position(),xz=vm(xz),
aP={value:Zp(wz,xz)},bP={value:lu},RI=this.labels().add(bP,aP);Gj&&RI.F(Gj);U(this.c.data());tl.G("labelBounds",this.labels().measure(RI));this.c.data().N(!1)}var yz=tl==this.ja;if(Fj){var zz;yz?(zz=this.ze,En=this.Be):zz=p(Fj.fill)?Wd(Fj.fill):this.gl;Gn.fill(zz).stroke(En)}else Gn.fill(yz?this.ze:this.gl).stroke(yz?this.Be:this.hl)}}else{var pi=Pa,cP=la,SI=Ha,dP=E(pi.G("actualStart"))?pi.G("actualStart"):pi.G("autoStart"),eP=E(pi.G("actualEnd"))?pi.G("actualEnd"):pi.G("autoEnd"),TI=RF(this.V,dP),
UI=RF(this.V,eP);if(0TI){var mu=this.b.left+this.b.width*TI,VI=this.b.left+this.b.width*UI,nu=.7*SI,WI=cP+(SI-nu)/2,fP=RH(this,new I(mu,WI,VI-mu,nu),pi,1,"actual"),XI=1*nu,gP=WI+(nu-XI)/2,YI=parseFloat(pi.get("progressValue"));YI&&(RH(this,new I(mu,gP,YI*(VI-mu)/100,XI),pi,2,"progress").l=fP.l)}}SH(this,Pa,la,Ha);la=Ab+this.Ha}this.labels().I();this.rg().I();for(var Az=this.c.H,Bz=Az.length,Hn,hP=this.c.j?this.c.B:this.c.M;Bz--;){Hn=Az[Bz];var In=Hn.to;z(In)||(In=hP[In]);p(In)?(Hn.to=In,OH(this,
Hn.from,In,Hn.type,Hn.connSettings)):wb(Az,Bz,1)}for(var Cz=this.em,iP=this.fm.length;Czc.h||(c.j=Math.min(c.j,a),c.f=a,c.g=Math.max(c.g,b),c.b=b,c.P(4)));else if(this.mc||this.o&&this.u||!this.o)c=this.V,a&&!c.Sc()&&(b=PF(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),MF(c,c.f+a,c.b+a));ht(this,this.V,this.c)};f.scale=function(a){return p(a)?(this.V.F(a),this):this.V};
f.w=function(){var a=uH.s.w.call(this);a.scale=this.V.w();a.labels=this.labels().w();a.markers=this.rg().w();a.header=this.hk().w();a.columnStroke=Nn(this.ef);a.baselineAbove=this.ff;a.baseFill=Nn(this.kp);a.baseStroke=Nn(this.op);a.baselineFill=Nn(this.up);a.baselineStroke=Nn(this.Ep);a.milestoneFill=Nn(this.gl);a.milestoneStroke=Nn(this.hl);a.parentFill=Nn(this.Qq);a.parentStroke=Nn(this.Rq);a.progressFill=Nn(this.Tq);a.progressStroke=Nn(this.Uq);a.connectorFill=Nn(this.Ip);a.connectorStroke=Nn(this.de);
a.selectedElementFill=Nn(this.ze);a.selectedElementStroke=Nn(this.Be);a.selectedConnectorStroke=Nn(this.Ok);a.connectorPreviewStroke=Nn(this.hg);a.editPreviewFill=Nn(this.Lp);a.editPreviewStroke=Nn(this.Np);a.editProgressFill=Nn(this.Rp);a.editProgressStroke=Nn(this.Tp);a.editIntervalThumbFill=Nn(this.Xk);a.editIntervalThumbStroke=Nn(this.Yk);a.editConnectorThumbFill=Nn(this.Vk);a.editConnectorThumbStroke=Nn(this.Wk);a.editStartConnectorMarkerType=this.lr;a.editStartConnectorMarkerSize=this.kr;a.editStartConnectorMarkerHorizontalOffset=
this.jr;a.editStartConnectorMarkerVerticalOffset=this.mr;a.editFinishConnectorMarkerType=this.gr;a.editFinishConnectorMarkerSize=this.dr;a.editFinishConnectorMarkerHorizontalOffset=this.ar;a.editFinishConnectorMarkerVerticalOffset=this.ir;a.editIntervalWidth=this.Ah;var b,c=[];for(b=0;bb?"inside"==a.position()?0:c:c:c);return c};
f.Kt=function(a,b,c,d,e){c=a.top+a.height+c/2-d;var g=this.scale();if(g instanceof Wz)this.$a.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(g instanceof gA){d=g.Hi();for(var g=g.wg(),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.kc()){case "top":g=a.top+k;e=a.left+r;u=c;t=d;break;case "right":g=a.top+r;e=a.left+a.width-c-l;u=d;t=c;break;case "bottom":g=a.top+a.height-c-n;e=a.left+r;u=c;t=d;break;case "left":g=a.top+r,e=a.left+h,u=d,t=c}this.Vg=new I(Math.round(e),Math.round(g),Math.round(t),Math.round(u))}else this.Vg=new I(0,0,0,0);P(this,4)}return this.Vg};
f.Ae=function(a){return K(this.jb,a)};
f.Wy=function(a,b){var c=this.X(),d=this.sa(),e=this.uh(c),g=this.uh(d),h=YH(this);"outside"==c.position()?"outside"==d.position()?c=Math.max(a+e,b+g):(c="inside"==d.position()?Math.max(a+e,b):Math.max(a+e,b+g),h=Math.max(g,h)):"inside"==c.position()?"outside"==d.position()?(c=Math.max(a,b+g),h=Math.max(e,h)):(c="inside"==d.position()?Math.max(a,b):Math.max(a,b+g),h=Math.max(e,g,h)):"outside"==d.position()?(c=Math.max(a+e,b+g),h=Math.max(e,h)):(c="inside"==d.position()?Math.max(a+e,b):Math.max(a+
e,b+g),h=Math.max(e,g,h));e=this.stroke();return c+h+(Math.round(this.B)+(!e||hq(e)?0:e.thickness?parseFloat(e.thickness):1))};
function ZH(a,b){if(!isNaN(+b)){var c=a.scale(),d=a.A,e=a.b&&a.b.enabled(),d=d&&d.enabled()&&d.az()==c;if(a.enabled()&&e&&c&&d&&(c=a.$a.xa(),e=qd(a.scale().transform(b,.5),0,1),!isNaN(e))){var g,h,k;switch(a.kc()){case "top":g=c.left+c.width*e;h=c.top+c.height+a.b.size();k=180;break;case "bottom":g=c.left+c.width*e;h=c.top-a.b.size();k=0;break;case "left":g=c.left+c.width+a.b.size();h=c.top+c.height-c.height*e;k=90;break;case "right":g=c.left-a.b.size(),h=c.top+c.height-c.height*e,k=-90}U(a.b).rotation(k).ie({value:{x:g,
y:h}}).N(!1).I();a.b.fe().visible(!0)}}}f.scale=function(a){var b=this.Lf||$H(this);p(a)&&b&&b!=a&&b.$b()!=a.$b()&&(this.$a&&(this.$a.Fe(),this.$a.parent(null),this.$a=null),this.g&&(this.g.length=0));return WH.s.scale.call(this,a)||$H(this)};function $H(a){a.Z||(a.Z=new Wz,a.Z.Mj("#fff","#000"));return a.Z}
f.I=function(){if(!this.Ra())return this;S(this,1024)&&(this.b&&(this.b.C(this.C()),this.b.zIndex(this.zIndex()+1),this.b.I(),this.b.fe().visible(!1)),P(this,1024));S(this,2)&&this.b&&this.b.C(this.C());if(S(this,8)&&this.b){var a=this.zIndex();this.b.zIndex(a+1)}return WH.s.I.call(this)};
f.JK=function(a){var b=this.scale(),c=this.A;if(this.enabled()&&b&&c&&c.enabled()&&c.az()==b){var d=this.$a.xa(),e,g;this.ae()?(e=a.clientX,g=d.left+Xk(this.C().$()).x,d=(e-g)/d.width):(e=a.clientY,g=d.top+Xk(this.C().$()).y,d=(d.height-(e-g))/d.height);d=b.Bc(d);a.metaKey||a.shiftKey||!c.map||c.map.Uf();var h;if(b instanceof gA)d=b.wh(d),b&&c&&(g=this.O[d.sourceIndex],b=c.ib(),b=b.jk(),"single"==b.Kf()?this.u={oa:c,he:g}:this.u=[{oa:c,he:g,wu:g[g.length-1],Ug:{index:g[g.length-1],Hg:0}}]);else if(b instanceof
Wz){a=UC(c);g=Infinity;e=b.No();for(var k=b.Mo();a.advance();)h=a.get(c.bj[1]),h=qd(h,e,k),h=Math.abs(d-h),g>h&&(g=h);g=[];for(a=UC(c);a.advance();)h=a.get(c.bj[1]),h=qd(h,e,k),h==d&&g.push(a.Pa());b&&c&&(b=c.ib(),b=b.jk(),"single"==b.Kf()?this.u={oa:c,he:g}:this.u=[{oa:c,he:g,wu:g[g.length-1],Ug:{index:g[g.length-1],Hg:0}}])}}};
f.Ox=function(a){var b=this.scale(),c=this.A;if(this.enabled()&&b&&c&&c.enabled()&&c.az()==b){var d=this.$a.xa(),e,g;this.ae()?(e=a.clientX,g=d.left+Xk(this.C().$()).x,d=(e-g)/d.width):(e=a.clientY,g=d.top+Xk(this.C().$()).y,d=(d.height-(e-g))/d.height);var h,d=b.Bc(d);if(b instanceof gA)a=b.wh(d),h=this.O[a.sourceIndex],b=c.ib(),g=b.jk(),"single"==g.Kf()?this.u={oa:c,he:h}:this.u=[{oa:c,he:h,wu:h[h.length-1],Ug:{index:h[h.length-1],Hg:0}}];else if(b instanceof Wz&&c){g=UC(c);h=Infinity;for(var k=
NaN,l=b.No(),n=b.Mo();g.advance();){e=g.get(c.bj[1]);e=qd(e,l,n);var q=Math.abs(d-e);h>q&&(h=q,k=e)}h=[];g=UC(c);for(d=k;g.advance();)e=g.get(c.bj[1]),e=qd(e,l,n),e==d&&h.push(g.Pa());b&&c&&(b=c.ib(),g=b.jk(),"single"==g.Kf()?(this.u&&!nb(h,function(a){return qb(this.u.he,a)},this)&&b.dispatchEvent(cx(b,a,[{oa:c,he:[],Ug:{index:this.u.he[this.u.he.length-1],Hg:0}}])),this.u={oa:c,he:h}):this.u=[{oa:c,he:h,wu:h[h.length-1],Ug:{index:h[h.length-1],Hg:0}}])}ZH(this,d)}};
f.eH=function(){this.scale()&&this.b&&this.b.fe().visible(!1);var a=this.A;a&&(this.f=a)};f.remove=function(){WH.s.remove.call(this);this.b&&this.b.remove()};f.w=function(){var a=WH.s.w.call(this);a.marker=this.Ks().w();a.colorLineSize=this.Wo();a.length=this.length();a.align=this.mo();return a};f.J=function(a,b){WH.s.J.call(this,a,b);this.Ks(a.marker);this.Wo(a.colorLineSize);this.length(a.length);this.mo(a.align)};var aI=WH.prototype;aI.marker=aI.Ks;aI.colorLineSize=aI.Wo;aI.length=aI.length;
aI.align=aI.mo;function bI(){W.call(this);this.b=og();vt(this,this.b);H(this,this.b)}G(bI,W);f=bI.prototype;f.Y=W.prototype.Y;f.aa=W.prototype.aa;f.length=function(a){return p(a)?(this.jb!=a&&(this.jb=a,this.P(9)),this):this.jb};f.stroke=function(a,b,c,d,e){if(p(a)){var g=ce.apply(null,arguments);this.c!=g&&(this.c=g,this.P(1));return this}return this.c};f.remove=function(){this.b&&this.b.parent(null)};
f.I=function(){this.b.clear();this.b.stroke(this.c);if(!this.Ra())return this;S(this,8)&&(this.b.zIndex(this.zIndex()),P(this,8));S(this,2)&&(this.b.parent(this.C()),P(this,2));return this};f.Vj=function(a,b,c,d){this.b.moveTo(a,b);this.b.lineTo(c,d)};f.w=function(){var a=bI.s.w.call(this);a.length=this.length();a.stroke=Nn(this.stroke());return a};f.J=function(a,b){bI.s.J.call(this,a,b);this.length(a.length);this.stroke(a.stroke)};var cI=bI.prototype;cI.length=cI.length;cI.stroke=cI.stroke;function dI(){U(this);W.call(this);this.Un=[];this.Ur=[];this.cc=mg();vt(this,this.cc);H(this,this.cc);this.b=404;this.N(!1)}G(dI,W);f=dI.prototype;f.aa=W.prototype.aa|400;f.Y=W.prototype.Y;f.Hl="noOverlap";f.cc=null;f.fa=null;f.za=null;f.Vf=null;f.Ta=null;f.V=null;f.ga=null;f.Ca=NaN;f.fh=NaN;f.La=NaN;f.Ma=NaN;f.Vd=NaN;f.Un=null;f.Ur=null;f.Vr=function(a){return p(a)?(a=Km(a,this.Hl),this.Hl!=a&&(this.Hl=a,eI(this),this.i(this.b,9)),this):this.Hl};
f.Ba=function(a){this.Vf||(this.Vf=new ax,this.Vf.Ka(this),N(this.Vf,this.bx,this),H(this,this.Vf));return p(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.Vf.F(a),this):this.Vf};f.labels=function(a){this.fa||(this.fa=new ax,this.fa.Ka(this),N(this.fa,this.bx,this),H(this,this.fa));return p(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.fa.F(a),this):this.fa};f.bx=function(a){var b=0,c=0;V(a,8)?(b=this.b,c=9):V(a,1)&&(b=128,c=1);eI(this);this.i(b,c)};
f.sa=function(a){this.Ta||(this.Ta=new bI,this.Ta.Ka(this),N(this.Ta,this.dx,this),H(this,this.Ta));return p(a)?(this.Ta.F(a),this):this.Ta};f.X=function(a){this.za||(this.za=new bI,this.za.Ka(this),N(this.za,this.dx,this),H(this,this.za));return p(a)?(this.za.F(a),this):this.za};f.dx=function(a){var b=0,c=0;V(a,8)&&(b=this.b,c=9);V(a,1)&&(b|=276,c|=1);eI(this);this.i(b,c)};
f.stroke=function(a,b,c,d,e){if(p(a)){a=ce.apply(null,arguments);if(this.c!=a){var g=z(this.c)?this.c.thickness||1:1,h=z(a)?a.thickness||1:1;this.c=a;h==g?this.i(16,1):(eI(this),this.i(this.b,9))}return this}return this.c};f.scale=function(a){return p(a)?(this.V!=a&&(this.V=a,N(this.V,this.DE,this),this.i(this.b,9),eI(this)),this):this.V};f.DE=function(a){V(a,2)&&(eI(this),this.i(this.b,9))};
f.rj=function(a){return p(a)?(a=sd(null===a||isNaN(+a)?0:+a),this.Vd!=a&&(this.Vd=a,this.i(this.b,9)),eI(this),this):this.Vd};f.Mf=function(){this.i(this.b,9)};function eI(a){a.Un.length=0;a.Ur.length=0;a.l=null}
function fI(a){if(!a.ga||S(a,4)){var b=a.S();if(b){var c=Math.round(Math.min(b.width,b.height)/2);if(isNaN(c)||0>c)c=0;a.Ca=c;a.La=Math.round(b.left+b.width/2);a.Ma=Math.round(b.top+b.height/2);var d=a.scale();if(d){var e=0;if(a.enabled()){eI(a);var g,h,k,l,n,q,r,t,u=e=NaN,w=NaN,x=NaN,v=NaN,A=NaN,C=NaN,D=NaN,O=NaN,Q=NaN,ba=NaN,la=NaN,R=!0,T=!0,Pa=!0,Ha=!0,Ab=d.X().get(),Fc=Ab.length;n=gI(a);z(n)?(r=n.labels,t=n.Ba):(r=!n,t=!n);q=n=0;for(var kd=d.sa().get(),ab=kd.length,ld,yc,Hd,oc,Nh,gu=sd(a.rj()-
90);nw)w=k,C=n,ba=yc,Pa=!0;if(isNaN(x)||l>x)x=l,D=n,la=yc,Ha=!0;yc=Hd;n++}else{Hd=sd(gu+360*ld);Nh=Hd*Math.PI/180;c=y(t)?t[q]:t;oc=y(t)&&t[q]||ta(t);c&&yc!=ld?(l=hI(a,q,!1),g=l.ya(),h=l.Ea(),k=l.ka(),l=l.ea()):oc&&a.sa().enabled()&&yc!=ld&&(g=a.cc.stroke().thickness?a.cc.stroke().thickness:1,k=a.sa().enabled()?a.sa().length():0,c=a.Ca+k+g/2,g=k=Math.round(a.La+c*Math.cos(Nh)),
h=l=Math.round(a.Ma+c*Math.sin(Nh)));if(isNaN(e)||gw)w=k,C=q,ba=Hd,Pa=!1;if(isNaN(x)||l>x)x=l,D=q,la=Hd,Ha=!1;q++}Fc=Ab=r=d=0;e=Math.round(e);u=Math.round(u);w=Math.round(w);x=Math.round(x);eO?Math.sin((O-90)*Math.PI/180):Math.cos((O-180)*Math.PI/180),d=Math.round((b.ya()-e)/O));uQ?Math.sin((Q-180)*Math.PI/180):Math.cos((Q-270)*Math.PI/180),r=Math.round((b.Ea()-u)/O));w>b.ka()&&(O=360>ba?Math.sin((ba-
270)*Math.PI/180):Math.cos(ba*Math.PI/180),Ab=Math.round((w-b.ka())/O));x>b.ea()&&(O=90>la?Math.sin(la*Math.PI/180):Math.cos((la-90)*Math.PI/180),Fc=Math.round((x-b.ea())/O));e=Math.max(d,r,Ab,Fc);a.fh=NaN;if(0a.Ca){u=a.Ca=0;if(a.labels().enabled()){var u=NaN,Cg,w=!0;e==d?(u=v,w=R,Cg=!0):e==r?(u=A,w=T,Cg=!1):e==Ab?(u=C,w=Pa,Cg=!0):e==Fc&&(u=D,w=Ha,Cg=!1);v=hI(a,u,w);u=Cg?v.width:v.height}g=a.cc.stroke().thickness?a.cc.stroke().thickness:1;a.fh=Math.min(b.width,b.height)/2-u-g}eI(a)}}b=
a.Ca+e;Cg=2*b;a.ga=new yt(a.La-b,a.Ma-b,Cg,Cg)}else a.ga=new yt(a.La-a.Ca,a.Ma-a.Ca,2*a.Ca,2*a.Ca)}else a.Ca=0,a.La=0,a.Ma=0,a.ga=new yt(0,0,0,0);P(a,4)}}f.Xb=function(){var a=this.S();return a?this.enabled()?(fI(this),a=this.cc.stroke().thickness?this.cc.stroke().thickness:1,a=Math.floor(a/2),new I(this.La-this.Ca+a,this.Ma-this.Ca+a,2*(this.Ca-a),2*(this.Ca-a))):a:new I(0,0,0,0)};
function iI(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:270=u||1<=u?k=v:0u&&
(k=v)),v++;t<=O&&e=u||1<=u?(l=g,d.push(!0)):0u?(l=g,d.push(!0)):d.push(!1))):d.push(!1),g++)}Q||(d=!1)}}A||(c=!1);a.l={labels:c,Ba:d};P(a,
512)}return a.l}function hI(a,b,c){var d=c?a.Un:a.Ur;if(p(d[b]))return d[b];var e=a.cc.stroke().thickness?a.cc.stroke().thickness:1,g=c?a.X():a.sa(),h=c?a.labels():a.Ba(),k=a.scale();c=(c?k.X():k.sa()).get()[b];var k=k.transform(c),k=sd(a.rj()-90+360*k),l=k*Math.PI/180,g=g.enabled()?isNaN(a.fh)?g.length():a.fh:0,g=a.Ca+g+e/2,e=Math.round(a.La+g*Math.cos(l)),g=Math.round(a.Ma+g*Math.sin(l));a=new gy(a,b,c);h=h.measure(a,{value:{x:e,y:g}},void 0,b);a=iI(k,h);h.left+=a.x;h.top+=a.y;return d[b]=h}
f.ax=function(a,b,c,d){var e=this.scale(),e=d?e.X().get():e.sa().get();d=d?this.labels():this.Ba();e=new gy(this,a,e[a]);d.add(e,{value:{x:b,y:c}},a)};f.Ra=function(){if(this.df())return!1;if(!this.enabled())return S(this,1)&&(this.remove(),P(this,1),this.X().i(2),this.labels().i(2),this.i(386)),!1;P(this,1);return!0};
f.I=function(){var a=this.scale();if(!a)return kn(2),this;if(!this.Ra())return this;var b,c,d,e;U(this.labels());U(this.Ba());U(this.X());U(this.sa());S(this,16)&&(this.cc.stroke(this.c),P(this,16));if(S(this,8)){var g=this.zIndex();this.cc.zIndex(g);this.X().zIndex(g);this.sa().zIndex(g);this.labels().zIndex(g);this.Ba().zIndex(g);P(this,8)}S(this,2)&&(g=this.C(),this.cc.parent(g),this.X().C(g),this.labels().C(g),this.sa().C(g),this.Ba().C(g),P(this,2));if(S(this,256)){var h=this.X();h.I();b=h.Vj;
var k=this.sa();k.I();d=k.Vj;P(this,256)}S(this,128)&&(c=this.labels(),c.C()||c.C(this.C()),c.S(this.S()),c.clear(),c=this.ax,e=this.Ba(),e.C()||e.C(this.C()),e.S(this.S()),e.clear(),e=this.ax,P(this,128));if(p(b)||p(c)||p(e)||p(d)){fI(this);var l,n,g=sd(this.rj()-90),q,r;this.cc.Zu(this.Ca);this.cc.ph(this.La);this.cc.qh(this.Ma);var t,u,w,x,v,A,C,D,O,Q,ba=a.X().get(),la=ba.length,R=this.X().stroke().thickness?parseFloat(this.za.stroke().thickness):1,T=this.X().enabled()?isNaN(this.fh)?this.X().length():
this.fh:0,Pa=this.cc.stroke().thickness?this.cc.stroke().thickness:1;if(a instanceof py){C=gI(this);z(C)?(O=C.labels,Q=C.Ba):(O=!C,Q=!C);var Ha=a.sa().get(),Ab=this.Ta.stroke().thickness?parseFloat(this.Ta.stroke().thickness):1,Fc=this.sa().enabled()?isNaN(this.fh)?this.sa().length():this.fh:0;D=C=0;for(var kd=Ha.length;C=u&&a.uj()||1<=
u&&a.gh()?k=v:0u&&(k=v)),v++;t<=O&&e=u&&a.uj()||1<=u&&a.gh()?(l=g,d.push(!0)):0u?(l=g,d.push(!0)):d.push(!1))):d.push(!1),g++)}Q||(d=!1)}else if(b instanceof
hy)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):
315q)q=ba,w=e,C=l;if(isNaN(r)||la>r)r=la,x=e,D=l}h=g=e=c=0;d=Math.round(d);n=Math.round(n);q=Math.round(q);
r=Math.round(r);d