/**
* AnyStock - JavaScript HTML5 Web Financial Charts
* Development Build
* Version: 7.13.1.1364
* 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 g,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),ya=0;function za(a,b,c){return a.call.apply(a.bind,arguments)}function Aa(a,b,c){if(!a)throw Error();if(2":"
")}
function Ma(a){if(!Na.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(Oa,"&"));-1!=a.indexOf("<")&&(a=a.replace(Pa,"<"));-1!=a.indexOf(">")&&(a=a.replace(Ra,">"));-1!=a.indexOf('"')&&(a=a.replace(Sa,"""));-1!=a.indexOf("'")&&(a=a.replace(Ta,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(Ua,""));return a}
var Oa=/&/g,Pa=//g,Sa=/"/g,Ta=/'/g,Ua=/\x00/g,Na=/[\x00&<>"']/,Va={"\x00":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\x0B",'"':'\\"',"\\":"\\\\","<":"<"},Wa={"'":"\\'"};
function Xa(a){for(var b=[],c=0;ch)f=e;else{if(256>h){if(f="\\x",16>h||256h&&(f+="0");f+=h.toString(16).toUpperCase()}e=Wa[e]=f}b[d]=e}return b.join("")}function Ya(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)?Ya(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(;cb?null:B(a)?a.charAt(b):a[b]}
function qb(a,b,c){for(var d=a.length,e=B(a)?a.split(""):a,f=0;fb?null:B(a)?a.charAt(b):a[b]}function sb(a,b){return 0<=hb(a,b)}function tb(a,b){var c=hb(a,b),d;(d=0<=c)&&ub(a,c);return d}function ub(a,b){Array.prototype.splice.call(a,b,1)}
function vb(a){return Array.prototype.concat.apply(Array.prototype,arguments)}function wb(a){var b=a.length;if(0=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}function Ab(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(yc)){xc=String(Ac);break a}}xc=yc}var kc={};
function Bc(a){return jc(a,function(){for(var b=0,c=Ka(String(xc)).split("."),d=Ka(String(a)).split("."),e=Math.max(c.length,d.length),f=0;!b&&f=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.ap=!!d;this.Pg=e;this.key=++Mc;this.yk=this.$o=!1}function Oc(a){a.yk=!0;a.listener=null;a.b=null;a.src=null;a.Pg=null};function Pc(a){this.src=a;this.b={};this.c=0}Pc.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.b[f];a||(a=this.b[f]=[],this.c++);var h=Qc(a,b,d,e);-1c.keyCode||void 0!=c.returnValue)){a:{var f=!1;if(!c.keyCode)try{c.keyCode=-1;break a}catch(l){f=!0}if(f||void 0==c.returnValue)c.returnValue=!0}c=[];for(f=d.c;f;f=f.parentNode)c.push(f);for(var f=a.type,h=c.length-1;!d.g&&0<=h;h--){d.c=c[h];var k=hd(c[h],f,!0,d),e=e&&k}for(h=0;!d.g&&h>>0);function Xc(a){if(va(a))return a;a[jd]||(a[jd]=function(b){return a.handleEvent(b)});return a[jd]};function kd(){Mb.call(this);this.bh=new Pc(this);this.$D=this;this.aj=null}G(kd,Mb);kd.prototype[Kc]=!0;g=kd.prototype;g.Oa=function(a){this.aj=a};g.addEventListener=function(a,b,c,d){Wc(this,a,b,c,d)};g.removeEventListener=function(a,b,c,d){ed(this,a,b,c,d)};
g.dispatchEvent=function(a){var b,c=this.aj;if(c)for(b=[];c;c=c.aj)b.push(c);var c=this.$D,d=a.type||a;if(B(a))a=new Rb(a,c);else if(a instanceof Rb)a.target=a.target||c;else{var e=a;a=new Rb(d,c);gc(a,e)}var e=!0,f;if(b)for(var h=b.length-1;!a.g&&0<=h;h--)f=a.c=b[h],e=ld(f,d,!0,a)&&e;a.g||(f=a.c=c,e=ld(f,d,!0,a)&&e,a.g||(e=ld(f,d,!1,a)&&e));if(b)for(h=0;!a.g&&hc*b?c+b:c}function rd(a){return qd(a,360)}function sd(a){return a*Math.PI/180}function td(a,b){return b*Math.cos(sd(a))}function ud(a,b){return b*Math.sin(sd(a))};function vd(a,b){this.x=p(a)?a:0;this.y=p(b)?b:0}g=vd.prototype;g.clone=function(){return new vd(this.x,this.y)};g.toString=function(){return"("+this.x+", "+this.y+")"};function wd(a,b){var c=a.x-b.x,d=a.y-b.y;return Math.sqrt(c*c+d*d)}g.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};g.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};g.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};
g.scale=function(a,b){var c=E(b)?b:a;this.x*=a;this.y*=c;return this};function xd(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}g=xd.prototype;g.Mc=function(){return this.right-this.left};g.Lc=function(){return this.bottom-this.top};g.clone=function(){return new xd(this.top,this.right,this.bottom,this.left)};g.toString=function(){return"("+this.top+"t, "+this.right+"r, "+this.bottom+"b, "+this.left+"l)"};
g.contains=function(a){return this&&a?a instanceof xd?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};g.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
g.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};g.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};g.scale=function(a,b){var c=E(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this};function yd(a,b){this.width=a;this.height=b}g=yd.prototype;g.clone=function(){return new yd(this.width,this.height)};g.toString=function(){return"("+this.width+" x "+this.height+")"};g.Uc=function(){return!(this.width*this.height)};g.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};g.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
g.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};g.scale=function(a,b){var c=E(b)?b:a;this.width*=a;this.height*=c;return this};function J(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}g=J.prototype;g.clone=function(){return new J(this.left,this.top,this.width,this.height)};g.toString=function(){return"("+this.left+", "+this.top+" - "+this.width+"w x "+this.height+"h)"};function zd(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 Ad(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 Bd(a,b){var c;b:{c=Math.max(a.left,b.left);var d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var e=Math.max(a.top,b.top),f=Math.min(a.top+a.height,b.top+b.height);if(e<=f){c=new J(c,e,d-c,f-e);break b}}c=null}if(c&&c.height&&c.width){c=[];var d=a.top,e=a.height,f=a.left+a.width,h=a.top+a.height,k=b.left+b.width,l=b.top+b.height;b.top>a.top&&(c.push(new J(a.left,a.top,a.width,b.top-a.top)),d=b.top,e-=b.top-a.top);la.left&&c.push(new J(a.left,
d,b.left-a.left,e));k=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};g.Jg=function(a){var b=a.xq;q++){var r=-3*f[q]+9*h[q]-9*k[q]+3*l[q],t=6*f[q]-12*h[q]+6*k[q];n=3*h[q]-3*f[q];if(r){var u=t*t-4*n*r;0n&&c[q].push(b(f[q],
h[q],k[q],l[q],n)),n=(-t-Math.sqrt(u))/(2*r),0n&&c[q].push(b(f[q],h[q],k[q],l[q],n))):u||(n=-t/(2*r),0n&&c[q].push(b(f[q],h[q],k[q],l[q],n)))}else t&&(n=-n/t,0n&&c[q].push(b(f[q],h[q],k[q],l[q],n)))}}d=new J(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 Fd(a){if(!arguments.length)return null;for(var b=null,c=!1,d=0,e=arguments.length;d>>0);function me(a,b,c){return b[a.b]||(b[a.b]=ne(a,b,c))}function ne(a,b,c){return["ac",p(c)?c:b.Ld?b.Ld():"",(a.c++).toString(36)].join("_")};function oe(a){var b;b=ra(a);if("array"==b){b=[];for(var c=0;c",0);Re("",0);Re("
",0);var Xe={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};function Ye(a){return a?new Ze($e(a)):Ga||(Ga=new Ze)}function af(a){var b=document;return B(a)?b.getElementById(a):a}function bf(a,b){return(b||document).getElementsByTagName(String(a))}
function cf(a,b,c){var d=document;c=c||d;a=a&&"*"!=a?String(a).toUpperCase():"";if(c.querySelectorAll&&c.querySelector&&(a||b))return c.querySelectorAll(a+(b?"."+b:""));if(b&&c.getElementsByClassName){c=c.getElementsByClassName(b);if(a){for(var d={},e=0,f=0,h;h=c[f];f++)a==h.nodeName&&(d[e++]=h);d.length=e;return d}return c}c=c.getElementsByTagName(a||"*");if(b){d={};for(f=e=0;h=c[f];f++)a=h.className,"function"==typeof a.split&&sb(a.split(/\s+/),b)&&(d[e++]=h);d.length=e;return d}return c}
function df(a,b){Wb(b,function(b,d){"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:ef.hasOwnProperty(d)?a.setAttribute(ef[d],b):d.lastIndexOf("aria-",0)&&d.lastIndexOf("data-",0)?a[d]=b:a.setAttribute(d,b)})}var ef={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 ff(a){a=a.document;a=gf(a)?a.documentElement:a.body;return new yd(a.clientWidth,a.clientHeight)}function hf(a){var b=a.scrollingElement?a.scrollingElement:!pc&&gf(a)?a.documentElement:a.body||a.documentElement;a=a.parentWindow||a.defaultView;return mc&&Bc("10")&&a.pageYOffset!=b.scrollTop?new vd(b.scrollLeft,b.scrollTop):new vd(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)}function jf(a){return a?a.parentWindow||a.defaultView:window}
function kf(a,b,c){return lf(document,arguments)}function lf(a,b){var c=String(b[0]),d=b[1];if(!se&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',Ma(d.name),'"');if(d.type){c.push(' type="',Ma(d.type),'"');var e={};gc(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(" "):df(c,d));2this.s)if(this.dispatchEvent(new Yf("start",this,a.clientX,a.clientY,a)))this.u=!0;else{this.Kb||this.vp(a);return}}c=Zf(this,b,c);b=c.x;c=c.y;this.u&&this.dispatchEvent(new Yf("beforedrag",this,a.clientX,a.clientY,a,b,c))&&($f(this,a,b,c),a.preventDefault())}};
function Zf(a,b,c){var d=hf(Ye(a.l).b);b+=d.x-a.A.x;c+=d.y-a.A.y;a.A=d;a.b+=b;a.c+=c;b=a.tk(a.b);return new vd(b,a.Bh(a.c))}g.TN=function(a){var b=Zf(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;$f(this,a,b.x,b.y)};function $f(a,b,c,d){a.th(c,d);a.dispatchEvent(new Yf("drag",a,b.clientX,b.clientY,b,c,d))}g.tk=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))};
g.Bh=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))};g.Fg=function(){this.b=this.target.offsetLeft;this.c=this.target.offsetTop};g.th=function(a,b){this.target.style.left=a+"px";this.target.style.top=b+"px"};function Yf(a,b,c,d,e,f,h,k){Rb.call(this,a);this.clientX=c;this.clientY=d;this.f=e;this.left=p(f)?f:b.b;this.top=p(h)?h:b.c;this.b=b;this.h=!!k}G(Yf,Rb);function ag(a){Wf.call(this,a.X());this.h=a;this.f=[NaN,NaN];this.ba("earlycancel",this.hO,!1,this);this.ba("start",this.yq,!1,this);this.ba("beforedrag",this.yq,!1,this);this.ba("drag",this.yq,!1,this);this.ba("end",this.yq,!1,this)}G(ag,Wf);g=ag.prototype;g.hO=function(){return this.h.dispatchEvent("earlycancel")};g.yq=function(a){return this.h.dispatchEvent(new Yf(a.type,this,a.clientX,a.clientY,a.f,a.left,a.top,a.h))};g.HC=function(a){this.g=a||new J(NaN,NaN,NaN,NaN)};
g.Fg=function(){this.b=this.h.OA();this.c=this.h.PA()};
g.tk=function(){this.f[0]=this.b;this.f[1]=this.c;if(!isNaN(this.g.left)||!isNaN(this.g.top)){var a=this.h.parent().sc();a&&bg(this.h.parent()).transform(this.f,0,this.f,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.h.Mc(),b=b-this.h.Lc(),b=null!=e?e+b:Infinity,e=null!=e?e:-Infinity;this.f[0]=Math.min(null!=c?c+d:Infinity,Math.max(null!=c?c:-Infinity,this.f[0]));this.f[1]=Math.min(b,Math.max(e,this.f[1]));a&&
a.transform(this.f,0,this.f,0,1)}return this.f[0]};g.Bh=function(){return this.f[1]};g.th=function(a,b){var c=bg(this.h.parent());if(c){var d=[a,b];c.transform(d,0,d,0,1);a=d[0];b=d[1]}this.h.wl(a,b)};function cg(){kd.call(this);this.xb=this.Sa=!1;this.hb=this.Ig=this.ib=this.$g=null;this.Ea={};this.ja(dg)}G(cg,kd);var dg=4294967295;g=cg.prototype;g.Nr=!1;g.dk=null;g.xk=null;g.Za=null;g.U=null;g.dj=null;g.Vv=!0;g.fc=null;g.gA=!1;g.Va=null;g.Tm=null;g.Bm=null;g.Vh=void 0;g.lf=0;g.kd=506631;g.Bf=0;g.id=function(a){if(p(a))return a=a||"",this.Vh!==a&&(this.Vh=a,this.ja(2048)),this;p(this.Vh)||this.id(ne(le.xc(),this));return this.Vh};g.Z=function(){var a=this.parent();return a?a.Z():null};g.X=function(){return this.Za};
g.parent=function(a){if(p(a)){if(a){var b=this.Z(),b=!!b&&b!=a.Z();a.sb(this);b&&eg(this)}else this.remove();return this}return this.U};function eg(a){var b,c=a.clip();c&&c.id(null);if(a.Na&&(b=a.Na())){for(c=0;cl&&(l=0);l=Math.sqrt(l);f==h&&(l=-l);f=l*d*c/e;k=-l*e*b/d;l=Kd(1,0,(b-f)/d,(c-k)/e);b=Kd((b-f)/d,(c-k)/e,(-b-f)/d,(-c-k)/e)%360;!h&&0b&&(b+=360);return Rg(a,d,e,l,b)}
function Rg(a,b,c,d,e){if(!a.g.length)throw re(9);if(!e)return a;var f=a.ac[0]-td(d,b),h=a.ac[1]-ud(d,c),k,l,n;n=Math.ceil(Math.abs(e)/359.999-2E-15);for(var q=e/n,r=0;rf;q+=n)switch((Math.floor(q/90)+4)%4){case 0:h.push(a+c);break;case 1:k.push(b+d);break;case 2:h.push(a-c);break;case 3:k.push(b-d)}l.left=Math.min.apply(null,h);l.width=Math.max.apply(null,h)-l.left;l.top=Math.min.apply(null,k);l.height=Math.max.apply(null,k)-l.top;Cd(this.rect,l)};Tg=Vg;
Hg.prototype.mc=function(a){this.Eg=a.closePoint;this.ac=a.currentPoint;this.g=a.segments;this.f=a.count;this.u=a.arguments;this.ja(32);Hg.m.mc.call(this,a)};Hg.prototype.w=function(){var a=Hg.m.w.call(this);a.type="path";a=a||{};a.closePoint=this.Eg?this.Eg.slice():[];a.currentPoint=this.ac?this.ac.slice():[];a.segments=this.g.slice();a.count=this.f.slice();a.arguments=this.u.slice();return a};
Hg.prototype.L=function(){this.ac=this.Eg=null;jg(this);this.Sf=null;delete this.g;delete this.f;delete this.u;Hg.m.L.call(this)};function Ng(a){a.g.length=0;a.f.length=0;a.u.length=0;jg(a);a.Sf=null;delete a.Eg;delete a.ac;delete a.Hv};function Dg(){Hg.call(this)}G(Dg,Hg);g=Dg.prototype;g.clear=function(){return Pg(this)};g.moveTo=function(a,b){return this.gq(a,b)};g.lineTo=function(a,b,c){return Hg.prototype.Mf.apply(this,arguments)};g.mL=function(a,b,c,d,e,f,h){return Hg.prototype.lp.apply(this,arguments)};g.qf=function(a,b,c,d,e){return Hg.prototype.eO.apply(this,arguments)};g.Jc=function(a,b,c,d,e,f,h){a+=td(e,c);b+=ud(e,d);this.ac&&this.ac[0]==a&&this.ac[1]==b||(h?this.Mf(a,b):this.gq(a,b));return Rg(this,c,d,e,f)};
g.wf=function(a,b,c,d,e,f){return Qg(this,a,b,c,d,e,f)};g.Fw=function(a,b,c,d){return Rg(this,a,b,c,d)};g.WK=function(a,b,c,d){return this.cz(a,b,c,d)};g.close=function(){return this.Ot()};g.SE=function(){return this.ac?new vd(this.ac[0],this.ac[1]):null};var Wg=Dg.prototype;F("acgraph.vector.Path",Dg);Wg.moveTo=Wg.moveTo;Wg.lineTo=Wg.lineTo;Wg.curveTo=Wg.mL;Wg.quadraticCurveTo=Wg.qf;Wg.arcTo=Wg.Fw;Wg.arcToByEndPoint=Wg.wf;Wg.arcToAsCurves=Wg.WK;Wg.circularArc=Wg.Jc;Wg.close=Wg.close;Wg.clear=Wg.clear;
Wg.getCurrentPoint=Wg.SE;function Xg(){this.children=[];this.f=[];cg.call(this)}G(Xg,cg);g=Xg.prototype;g.Ld=function(){return"layer"};g.kd=cg.prototype.kd|224;g.ja=function(a){Xg.m.ja.call(this,a);a&192&&jg(this)};g.sb=function(a){return this.ec(a,this.Na())};g.ec=function(a,b){a.remove();b=pd(b,0,this.Na());yb(this.children,b,0,a);hg(a,this);a.Bf&&this.ja(64);this.ja(128);a.Eh();if(this.Hb()||this.xk)a.qq(),a.xk=this.Hb()||this.xk;return this};g.Qr=function(a){return this.children[a]||null};
g.Yb=function(a){return hb(this.children,a)};g.removeChild=function(a){return this.Hn(this.Yb(a))};g.Hn=function(a){var b=null;0<=a&&aa||a>=this.Na()||0>b||b>=this.Na())throw re(8);if(a!=b){var c=this.children[a];this.children[a]=this.children[b];this.children[b]=c;this.ja(128)}return this};g.lw=function(a){return!!a&&sb(this.children,a)};g.Na=function(){return this.children.length};g.Yh=function(a,b){p(b)||(b=this);ib(this.children,a,b);return this};g.qd=function(){var a=Yg();a.parent(this);return a};g.Dw=function(){var a;a=new Zg(void 0);a.parent(this);return a};
g.text=function(a,b,c,d){a=$g(a,b);d&&a.style(d);c&&a.text(c);a.parent(this);return a};g.mw=function(a,b,c,d){a=$g(a,b);d&&a.style(d);c&&a.htmlText(c);a.parent(this);return a};g.rect=function(a,b,c,d){a=pg(a,b,c,d);a.parent(this);return a};g.pd=function(a,b,c,d,e){a=ah(a,b,c,d,e);a.parent(this);return a};g.qw=function(a,b){var c=this.da();yb(arguments,0,0,c);return bh.apply(this,arguments).parent(this)};g.pw=function(a,b){var c=this.da();yb(arguments,0,0,c);return ch.apply(this,arguments).parent(this)};
g.Cw=function(a,b){var c=this.da();yb(arguments,0,0,c);return dh.apply(this,arguments).parent(this)};g.Or=function(a,b,c){a=qg(a,b,c);a.parent(this);return a};g.Pr=function(a,b,c,d){a=rg(a,b,c,d);a.parent(this);return a};g.da=function(){return sg().parent(this)};g.rw=function(a,b,c,d,e,f,h){return eh(this.da(),a,b,c,d,e,f,h).parent(this)};g.tw=function(a,b,c){return fh(this.da(),a,b,c).parent(this)};g.uw=function(a,b,c){return gh(this.da(),a,b,c).parent(this)};
g.vw=function(a,b,c){return hh(this.da(),a,b,c).parent(this)};g.ww=function(a,b,c){return ih(this.da(),a,b,c).parent(this)};g.sw=function(a,b,c){return jh(this.da(),a,b,c).parent(this)};g.Bw=function(a,b,c){return kh(this.da(),a,b,c).parent(this)};g.yw=function(a,b,c){return lh(this.da(),a,b,c).parent(this)};g.Aw=function(a,b,c){return mh(this.da(),a,b,c).parent(this)};g.zw=function(a,b,c){return nh(this.da(),a,b,c).parent(this)};g.iw=function(a,b,c){return oh(this.da(),a,b,c).parent(this)};
g.gw=function(a,b,c){return ph(this.da(),a,b,c).parent(this)};g.hw=function(a,b,c){return qh(this.da(),a,b,c).parent(this)};g.kw=function(a,b,c){return rh(this.da(),a,b,c).parent(this)};g.Ew=function(a,b,c){return sh(this.da(),a,b,c).parent(this)};g.nw=function(a,b,c,d,e){return th(this.da(),a,b,c,d,e).parent(this)};g.jw=function(a,b,c,d,e,f){return uh(this.da(),a,b,c,d,e,f).parent(this)};g.Gg=function(){return fg.ip()};
g.Vc=function(){this.wb(32)&&this.ow();var a;a=this.Z();a=a.Al(Math.floor(Math.max(500-a.Af,0)/3));this.wb(64)&&vh(this);var b=this.Z();b.Af-=a-0;if(this.wb(128)&&(a=this.Z().Al(this.children.length+this.f.length+1),b=wh(this,a),b=b&&(u=!1);if(u){for(;ke;e++)for(d=!1,a=0;4>a;a++){d=!d;for(var f=0;4>f;f++)d&&(c=this.rect(a*b+e*this.size/2,f*b+this.size/2,b,b)),c.fill(this.color),c.stroke("none"),d=!d}break;case "solidDiamond":this.da().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.da();Dh(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.da();Dh(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.da();Dh(b,0,0,this.size/2,0,this.b);Dh(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.da();Dh(b,0,0,0,this.size/2,
this.b);Dh(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.da().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.da();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.da().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 J(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 J(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 J(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 J(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 J(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 J(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 J(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 J(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 J(0,0,4,4);this.da().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 J(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 J(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 J(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(vg,ae);
var Ch={gP:"backwardDiagonal",WP:"forwardDiagonal",YP:"horizontal",XQ:"vertical",GP:"dashedBackwardDiagonal",XP:"grid",HP:"dashedForwardDiagonal",IP:"dashedHorizontal",JP:"dashedVertical",UD:"diagonalCross",SP:"diagonalBrick",UP:"divot",ZP:"horizontalBrick",YQ:"verticalBrick",BP:"checkerBoard",DP:"confetti",uQ:"plaid",FQ:"solidDiamond",aR:"zigZag",$Q:"weave",gQ:"percent05",hQ:"percent10",iQ:"percent20",jQ:"percent25",kQ:"percent30",lQ:"percent40",mQ:"percent50",nQ:"percent60",oQ:"percent70",pQ:"percent75",
qQ:"percent80",rQ:"percent90"};function Dh(a,b,c,d,e,f){b===d&&(b=d=Math.round(b)+f%2/2);c===e&&(c=e=Math.round(c)+f%2/2);a.moveTo(b,c).lineTo(d,e)}vg.prototype.Ld=function(){return"hatchFill"};vg.prototype.L=function(){vg.m.L.call(this);if(this.Z()){var a=this.Z().b,b=[this.type,this.color,this.b,this.size].join();$b(a.h,b)&&cc(a.h,b);a=af(this.id());rf(a)}};var Eh=vg.prototype;Eh.dispose=Eh.ud;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 Fh(a,b,c,d,e,f,h){this.f=a||null;this.s=f||Gh;this.b=h||Hh;this.o=new J(b||0,c||0,d||0,e||0);this.c=1;cg.call(this)}G(Fh,cg);var Hh="meet",Gh="none";g=Fh.prototype;g.kd=cg.prototype.kd|32;g.Ld=function(){return"image"};g.hk=function(a){return null!=a?(a!=this.b&&(this.b=a,this.ja(32)),this):this.b};g.Xh=function(a){return null!=a?(a!=this.s&&(this.s=a,this.ja(32)),this):this.s};g.x=function(a){return null!=a?(a!=this.o.left&&(this.o.left=a,this.ja(32),jg(this)),this):this.o.left};
g.y=function(a){return null!=a?(a!=this.o.top&&(this.o.top=a,this.ja(32),jg(this)),this):this.o.top};g.width=function(a){return null!=a?(a!=this.o.width&&(this.o.width=a,this.ja(32),jg(this)),this):this.o.width};g.height=function(a){return null!=a?(a!=this.o.height&&(this.o.height=a,this.ja(32),jg(this)),this):this.o.height};g.src=function(a){return p(a)?(a!=this.f&&(this.f=a,this.ja(32)),this):this.f};g.opacity=function(a){return p(a)?(a!=this.c&&(this.c=a,this.ja(32)),this):this.c};g.Oe=function(){return this.o.clone()};
g.Ne=function(a){var b=a==this.Va,c=a==this.sc();if(this.yb&&b)return this.yb.clone();if(this.lc&&c)return this.lc.clone();a=Hd(this.o.clone(),a);b&&(this.yb=a.clone());c&&(this.lc=a.clone());return a};g.Gg=function(){return fg.Kz()};g.Vc=function(){this.wb(32)&&(fg.dn()&&this.ja(4),fg.DC(this),gg(this,32));Fh.m.Vc.call(this)};g.ej=function(){fg.EC(this);gg(this,4);gg(this,256)};
g.mc=function(a){var b=a.bounds;this.x(b.left).y(b.top).width(b.width).height(b.height).src(a.src).Xh(a.align).hk(a.fittingMode);Fh.m.mc.call(this,a)};g.w=function(){var a=Fh.m.w.call(this);a.type="image";a.bounds=this.Oe();a.src=this.src();a.align=this.Xh();a.fittingMode=this.hk();return a};g.L=function(){this.o=null;jg(this);Fh.m.L.call(this)};F("acgraph.vector.Image",Fh);var Ih=Fh.prototype;Ih.fittingMode=Ih.hk;Ih.align=Ih.Xh;Ih.x=Ih.x;Ih.y=Ih.y;Ih.width=Ih.width;Ih.height=Ih.height;Ih.src=Ih.src;
F("acgraph.vector.Image.Fitting.MEET",Hh);F("acgraph.vector.Image.Fitting.SLICE","slice");F("acgraph.vector.Image.Align.NONE",Gh);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 Cg(a,b,c,d){this.b=new J(a||0,b||0,c||0,d||0);this.o=[];this.l=[0,0,0,0];Hg.call(this);Jh(this)}G(Cg,Hg);g=Cg.prototype;g.kd=ng.prototype.kd|32;g.Ld=function(){return"rect"};g.Nq=function(a){a!=this.b.left&&(this.b.left=a,Jh(this));return this};g.Oq=function(a){a!=this.b.top&&(this.b.top=a,Jh(this));return this};g.qn=function(a){this.b.width!=a&&(this.b.width=a,Jh(this));return this};g.nn=function(a){this.b.height!=a&&(this.b.height=a,Jh(this));return this};
g.Sd=function(a){zd(this.b,a)||(this.b.left=a.left,this.b.top=a.top,this.b.width=a.width,this.b.height=a.height,Jh(this));return this};g.yv=function(a,b){var c,d,e,f;c=zb(arguments,1);d=c[0];B(d)?f=db(d,4):f=c;4>f.length?f=e=d=c=parseFloat(f[0]):(c=parseFloat(f[0]),d=parseFloat(f[1]),e=parseFloat(f[2]),f=parseFloat(f[3]));this.l[0]=c?c:0;this.o[0]=c?a:void 0;this.l[1]=d?d:0;this.o[1]=d?a:void 0;this.l[2]=e?e:0;this.o[2]=e?a:void 0;this.l[3]=f?f:0;this.o[3]=f?a:void 0};
function Jh(a){var b=!a.Z()||a.Z().Gb();b||a.Z().cc();Pg(a);var c=a.l[0];a.gq(a.b.left+c,a.b.top);c=a.l[1];a.Mf(a.b.left+a.b.width-a.l[1],a.b.top);if(a.o[1])switch(a.o[1]){case "round":Qg(a,a.b.left+a.b.width,a.b.top+c,c,c,!1,!0);break;case "roundInner":Qg(a,a.b.left+a.b.width,a.b.top+c,c,c,!1,!1);break;case "cut":a.Mf(a.b.left+a.b.width,a.b.top+c)}c=a.l[2];a.Mf(a.b.left+a.b.width,a.b.top+a.b.height-c);if(a.o[2])switch(a.o[2]){case "round":Qg(a,a.b.left+a.b.width-c,a.b.top+a.b.height,c,c,!1,!0);break;
case "roundInner":Qg(a,a.b.left+a.b.width-c,a.b.top+a.b.height,c,c,!1,!1);break;case "cut":a.Mf(a.b.left+a.b.width-c,a.b.top+a.b.height)}c=a.l[3];a.Mf(a.b.left+c,a.b.top+a.b.height);if(a.o[3])switch(a.o[3]){case "round":Qg(a,a.b.left,a.b.top+a.b.height-c,c,c,!1,!0);break;case "roundInner":Qg(a,a.b.left,a.b.top+a.b.height-c,c,c,!1,!1);break;case "cut":a.Mf(a.b.left,a.b.top+a.b.height-c)}c=a.l[0];a.Mf(a.b.left,a.b.top+c);if(a.o[0])switch(a.o[0]){case "round":Qg(a,a.b.left+c,a.b.top,c,c,!1,!0);break;
case "roundInner":Qg(a,a.b.left+c,a.b.top,c,c,!1,!1)}a.Ot();b||a.Z().$b()}g.round=function(a,b,c,d){yb(arguments,0,0,"round");this.yv.apply(this,arguments);Jh(this);return this};g.lO=function(a,b,c,d){yb(arguments,0,0,"roundInner");this.yv.apply(this,arguments);Jh(this);return this};g.nL=function(a,b,c,d){yb(arguments,0,0,"cut");this.yv.apply(this,arguments);Jh(this);return this};
g.mc=function(a){Cg.m.mc.call(this,a);this.Nq(a.x).Oq(a.y).qn(a.width).nn(a.height);a.cornerTypes&&(this.o=db(a.cornerTypes,4),a=db(a.cornerSizes,4),ib(a,function(a,c,d){d[c]=parseFloat(a)}),this.l=a,Jh(this))};g.w=function(){var a=Cg.m.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.o.join(" ");a.cornerSizes=this.l.join(" ");return a};g.L=function(){this.b=this.o=this.l=null;jg(this);Cg.m.L.call(this)};var Kh=Cg.prototype;
F("acgraph.vector.Rect",Cg);Kh.setX=Kh.Nq;Kh.setY=Kh.Oq;Kh.setWidth=Kh.qn;Kh.setHeight=Kh.nn;Kh.setBounds=Kh.Sd;Kh.cut=Kh.nL;Kh.round=Kh.round;Kh.roundInner=Kh.lO;function Lh(a){kd.call(this);this.c={};this.b={};this.f=new Af(this);this.U=a}G(Lh,kd);var Mh=[mc&&!Bc("11")?"readystatechange":"load","abort","error"];function Nh(a,b,c){(c=B(c)?c:c.src)&&(a.c[b]={src:c,Ez:p(void 0)?void 0:null})}function Oh(a,b){delete a.c[b];var c=a.b[b];c&&(delete a.b[b],a.f.wc(c,Mh,a.g),ac(a.b)&&ac(a.c)&&a.dispatchEvent("complete"))}
Lh.prototype.start=function(){var a=this.c;ib(Yb(a),function(b){var c=a[b];if(c&&(delete a[b],!this.Kb)){var d;this.U?d=Ye(this.U).c("IMG"):d=new Image;c.Ez&&(d.crossOrigin=c.Ez);this.f.ba(d,Mh,this.g);this.b[b]=d;d.id=b;d.src=c.src}},this)};
Lh.prototype.g=function(a){var b=a.c;if(b){if("readystatechange"==a.type)if("complete"==b.readyState)a.type="load";else return;"undefined"==typeof b.naturalWidth&&("load"==a.type?(b.naturalWidth=b.width,b.naturalHeight=b.height):(b.naturalWidth=0,b.naturalHeight=0));this.dispatchEvent({type:a.type,target:b});this.Kb||Oh(this,b.id)}};Lh.prototype.L=function(){delete this.c;delete this.b;I(this.f);Lh.m.L.call(this)};function Ph(){this.g={};this.f="fontStyle fontVariant fontFamily fontSize fontWeight letterSpacing decoration".split(" ")}qa(Ph);function Qh(a,b){var c;if(Rh(a," ",b))c=Sh(a," ",b);else{c=a.measure("a a",b);var d=a.measure("aa",b);c=new J(0,c.top,c.width-d.width,c.height);Sh(a," ",b,c)}return c}function Th(a,b){for(var c="",d=0,e=a.f.length;d=a?c=180+c:270=a&&(c=360+c);return c%360}g=Ph.prototype;g.appendChild=function(a,b){a.appendChild(b)};g.getParent=function(a){return tf(a)};g.IB=function(){return!1};g.mB=function(){return!1};
function Vh(a){a.Qi||(a.Qi=new Lh(m.document.body));return a.Qi}g.dn=function(){return!1};g.kq=function(){return!1};function Wh(){}qa(Wh);
var Xh={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};Wh.prototype.oa=null;function Yh(a){a.style||(a.style=a.u.length?ec(a.u[a.u.length-1]):{})}function Zh(a,b){switch(b){case "b":case "strong":Yh(a);a.style.fontWeight="bold";break;case "i":case "em":Yh(a),a.style.fontStyle="italic"}}
function $h(a,b,c){switch(b){case "font-style":Yh(a);a.style.fontStyle=c||"normal";break;case "font-variant":Yh(a);a.style.fontVariant=c||"normal";break;case "font-family":Yh(a);a.style.fontFamily=c||m.acgraph.fontFamily;break;case "font-size":Yh(a);a.style.fontSize=c||m.acgraph.fontSize;break;case "font-weight":Yh(a);a.style.fontWeight=c||"normal";break;case "color":Yh(a);a.style.color=c||m.acgraph.color;break;case "letter-spacing":Yh(a);a.style.letterSpacing=c||"normal";break;case "text-decoration":Yh(a);
a.style.$f=c||"none";break;case "opacity":Yh(a),a.style.opacity=null!=c?parseFloat(c):1}}function ai(a){""!=a.c&&(bi(a.oa,a.c,a.u.length?a.u[a.u.length-1]:null),a.c="",a.A=!1)}function ci(a){a.o==(a.l.length?a.l[a.l.length-1]:null)&&(ai(a),a.u.pop(),a.l.pop(),a.b="");a.o="";a.state=1}function di(a,b){Zh(a,a.b);a.l.push(a.b);a.u.push(a.style);b&&(a.f="");a.b="";a.style=null;a.state=1}function ei(a,b,c){$h(a,a.h,a.j||"");a.h="";a.j="";c&&(a.f="");a.state=b}
function fi(a){Zh(a,a.b);$h(a,a.h,a.j||"");a.l.push(a.b);a.u.push(a.style);a.b="";a.style=null;a.f="";a.h="";a.j="";a.state=1}function gi(a,b,c){var d;if(a.s){var e=Xh[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.s=!0};function hi(a,b){Mb.call(this);this.b=b||{};this.text=a;this.j=!1;this.y=this.x=this.f=this.h=this.height=this.width=this.c=0}G(hi,Mb);g=hi.prototype;g.Za=null;g.U=null;g.parent=function(a){return p(a)?(this.U=a,this):this.U};g.X=function(){return this.Za};g.Ld=function(){return"tSegment"};g.L=function(){rf(this.Za);this.Za=null;hi.m.L.call(this)};function ii(a,b){this.D=!1;this.ka=a||0;this.sa=b||0;this.s=new J(this.ka,this.sa,0,0);this.M=this.u=this.Wb=this.h=0;this.Aa=!1;this.b=[];this.c=[];this.A=this.pc=this.o=0;this.Ma=!0;this.kc=this.v=this.ha=this.pb=0;this.l=[];this.V=1;this.N=ji;this.f=0;this.ca=this.g=!1;this.Ia=this.cd={fontSize:m.acgraph.fontSize,color:m.acgraph.fontColor,fontFamily:m.acgraph.fontFamily,direction:m.acgraph.textDirection,textOverflow:ji,textWrap:ki,selectable:!0,hAlign:li};cg.call(this)}G(ii,cg);
var ki="noWrap",ji="",li="start",mi={$P:"left",MQ:li,AP:"center",VP:"end",wQ:"right"},ni={QQ:"top",cQ:"middle",hP:"bottom"};g=ii.prototype;g.kd=cg.prototype.kd|17440;g.Ia=null;g.Da=null;g.x=function(a){return null!=a?(this.ka!=a&&(this.ka=a,this.D&&oi(this),this.s.left=a,this.ja(16384),jg(this)),this):this.ka};g.y=function(a){return null!=a?(this.sa!=a&&(this.sa=a,this.D&&pi(this),this.s.top=a,this.ja(16384),jg(this)),this):this.sa};
function qi(a,b,c){if(p(c)){if(c!==a.Ia[b]){var d=!a.Z()||a.Z().Gb();d||a.Z().cc();a.Ia[b]=c;a.D=!1;a.ja(1024);a.ja(32);a.ja(16384);a.Sh();d||a.Z().$b()}return a}return a.Ia[b]}g.Sh=function(){if(fg.dn()){var a=this.sc();a&&!Id(a)&&this.ja(4)}};g.width=function(a){p(a)&&qi(this,"width")!=a&&(null===a||(a=Math.max(a,0)||0),this.ra=a);return qi(this,"width",a)};g.height=function(a){p(a)&&(qi(this,"height")==a||null!==a&&(a=Math.max(a,0)||0),this.wa=a);return qi(this,"height",a)};
g.opacity=function(a){return null!=a?(this.Ia.opacity=a,this.ja(1024),this):this.Ia.opacity};g.color=function(a){return null!=a?(this.Ia.color=a,this.ja(1024),this):this.Ia.color};g.fontSize=function(a){return qi(this,"fontSize",a)};g.fontFamily=function(a){return qi(this,"fontFamily",a)};g.eh=function(a){return qi(this,"direction",a)};g.fontStyle=function(a){return qi(this,"fontStyle",a)};g.fontVariant=function(a){return qi(this,"fontVariant",a)};
g.fontWeight=function(a){return qi(this,"fontWeight",a)};g.letterSpacing=function(a){return qi(this,"letterSpacing",a)};g.$f=function(a){return qi(this,"decoration",a)};g.qj=function(a){null!=a&&(this.V=ri(a));return qi(this,"lineHeight",a)};function ri(a){var b=parseFloat(a);return isNaN(b)||0>b?1:B(a)&&Ha(a,"%")?1+parseFloat(a)/100:a}g.rj=function(a){null!=a&&(this.f=a);return qi(this,"textIndent",a)};
g.Vf=function(a){if(p(a))if("center"==a)a="middle";else{var b=!1;Wb(ni,function(c){a==c&&(b=!0)});b||(a="top")}return qi(this,"vAlign",a)};g.He=function(a){if(p(a))if("middle"==a)a="center";else{var b=!1;Wb(mi,function(c){a==c&&(b=!0)});b||(a=li)}return qi(this,"hAlign",a)};g.sj=function(a){return qi(this,"textWrap",a)};g.Ve=function(a){null!=a&&(this.N=a);return qi(this,"textOverflow",a)};g.fh=function(a){return qi(this,"selectable",a)};
g.style=function(a){if(a){a&&gc(this.Ia,a);this.ra=parseFloat(this.Ia.width)||0;this.wa=parseFloat(this.Ia.height)||0;this.Ia.lineHeight&&(this.V=ri(this.Ia.lineHeight));var b,c=this.Ia.vAlign;null!=c&&("center"==c?this.Ia.vAlign="middle":(b=!1,Wb(ni,function(a){c==a&&(b=!0)}),b||(this.Ia.vAlign="top")));var d=this.Ia.hAlign;null!=d&&("middle"==d?this.Ia.hAlign="center":(b=!1,Wb(mi,function(a){d==a&&(b=!0)}),b||(this.Ia.hAlign=li)));null!=this.Ia.direction&&(this.g="rtl"==this.Ia.direction);null!=
this.Ia.textOverflow&&(this.N=this.Ia.textOverflow);null!=this.Ia.textIndent&&(this.f=this.Ia.textIndent);this.g&&(this.f=0);(a=!this.Z()||this.Z().Gb())||this.Z().cc();this.D=!1;this.ja(1024);this.ja(32);this.ja(16384);this.ja(4);this.Sh();a||this.Z().$b();return this}return this.Ia};g.text=function(a){return p(a)?(a!=this.Da&&(this.Da=String(a),this.Aa=!1,(a=!this.Z()||this.Z().Gb())||this.Z().cc(),this.D=!1,this.ja(1024),this.ja(32),this.ja(16384),this.Sh(),a||this.Z().$b()),this):this.Da};
g.htmlText=function(a){return p(a)?(a!=this.Da&&(this.Da=String(a),this.Aa=!0,(a=!this.Z()||this.Z().Gb())||this.Z().cc(),this.D=!1,this.ja(1024),this.ja(32),this.ja(16384),this.Sh(),a||this.Z().$b()),this):this.Da};g.Ld=function(){return"text"};g.Oe=function(){return this.s.clone()};
g.Ne=function(a){this.D||this.Xq();if(!a)return this.s.clone();var b=a==this.Va,c=a==this.sc();if(this.yb&&b)return this.yb.clone();if(this.lc&&c)return this.lc.clone();a=Hd(this.s.clone(),a);b&&(this.yb=a.clone());c&&(this.lc=a.clone());return a};g.CB=function(a){for(var b=fg.f,c=arguments,d={},e=0,f=b.length;ee&&1a.ra?a.ra-d.width-e:a.f,0>a.f&&(a.f=0));a.A=Math.max(a.A,d.height);a.o+=d.width;a.b.length||(a.o+=a.f);a.v=Math.max(a.v,c.c);a.Ma=a.c.length?a.Ma&&!b.length:!b.length;a.c.push(c);a.b.push(c);c.parent(a);return c}
function ui(a){var b,c,d,e,f=gb(a.l),h=gb(f),k=a.Od(a.N,h.b),l=a.N;k.width>a.ra&&(d=si(a,a.N,h.b,0,a.ra,k),l=a.N.substring(0,d));d=a.pc;var n=a.ra;if(""==l)c=hb(a.b,h)+1,yb(a.b,c,a.b.length-c);else if(n-d>=k.width)a.c=f,c=hb(a.b,h)+1,yb(a.b,c,a.b.length-c),e=ti(a,l,h.b,k),2==a.c.length&&""==a.c[0].text&&(e.f=a.ha-a.c[0].height,e.j=!0);else{for(var q=f.length-1;!b&&0<=q;)h=f[q],k=a.Od(l,h.b),c=a.Od(h.text,h.b),d-c.width+k.width<=a.ra&&(b=h),d-=c.width,q--;b||1!=a.l.length||(b=f[0],d-=c.width);b&&(a.c=
f,q=a.c[0].f,n-=k.width,c=hb(f,b),yb(f,c,f.length-c),c=hb(a.b,b),yb(a.b,c,a.b.length-c),a.A=0,a.o=0,a.v=0,c=a.Od(b.text,b.b),d=si(a,b.text,b.b,d,n,c),1>d&&(d=1),n=b.text.substring(0,d),f=a.Od(n,b.b),n=ti(a,n,b.b,f,k.width),n.x=b.x,n.y=b.y,f.width+k.width>a.ra&&(d=si(a,a.N,h.b,f.width,a.ra,k),l=a.N.substring(0,d)),0a.ra&&!a.ca;){var f=si(a,b,c,e+a.o,a.ra,d);1>f&&!a.c.length&&(f=1);f&&(e=b.substring(0,f).replace(/[\s\xa0]+$/,""),d=a.Od(e,c),ti(a,e,c,d));wi(a);1==b.length&&(a.ca=!0);e=0;"byLetter"==a.Ia.textWrap?(b=b.substring(f,b.length).replace(/^[\s\xa0]+/,""),d=a.Od(b,c)):a.Aa?(b="",d=a.Od(b,c)):a.ca=!0}a.ca||ti(a,b,c,d)}}
function wi(a){a.sj()!=ki||1!=a.l.length||a.Aa||ui(a);if(!a.ca&&a.c.length){var b=!a.l.length;if(a.wa&&a.h+a.A>a.wa&&a.l.length)ui(a);else{a.A=B(a.V)?parseInt(a.V,0)+a.A:a.V*a.A;if(fg.IB()){var c,d,e,f;c=a.g&&a.Ia.hAlign==li||!a.g&&"end"==a.Ia.hAlign||"right"==a.Ia.hAlign;d="center"==a.Ia.hAlign;if(a.g&&"end"==a.Ia.hAlign||!a.g&&a.Ia.hAlign==li||"left"==a.Ia.hAlign)for(c=a.g?0:a.f&&b?a.f:0,d=0,e=a.c.length;d"!=e)break;"br"==a.b&&vi(a.oa);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){vi(a.oa);a.b="";a.state=1;break}if("br"==a.b&&("/"==e||f)){k=!0;break}a.b&&ai(a);if(a.b&&f){a.state=4;break}if(">"==e){di(a);break}a.b+=e.toLowerCase();break;case 3:if(k){if(">"!=e)break;ci(a);k=!1;break}if(!a.o&&h){a.c+=""+e;a.state=1;break}if(a.o&&f){k=!0;break}if(">"==e){ci(a);k=
!1;break}a.o+=e.toLowerCase();break;case 4:if(k){if(">"!=e)break;di(a,!0);k=!1;break}if(">"==e){di(a,!0);break}if(f){a.state=5;break}if("="==e){a.f&&(a.state="style"==a.f?6:8);break}a.f+=e.toLowerCase();break;case 5:if(">"==e){di(a,!0);break}if(f)break;if(a.f&&!h){a.f=e;a.state=4;break}if("="==e){a.f&&(a.state="style"==a.f?6:8);break}a.f+=e;a.state=4;break;case 6:if(f)break;if(">"==e){di(a,!0);break}if("'"==e||'"'==e){a.v=e;a.state=9;break}a.h=e;a.state=10;break;case 8:if(f)break;if(">"==e){a.f="";
a.b="";a.state=1;break}if("'"==e||'"'==e){a.v=e;a.state=7;break}a.state=11;break;case 9:if(f)break;if(e==a.v){k=!0;ei(a,4,!0);break}if(":"==e){a.state=12;break}a.h+=e.toLowerCase();break;case 12:if(f)break;if(e==a.v){k=!0;ei(a,4,!0);break}if(";"==e){ei(a,9);break}a.j+=e.toLowerCase();break;case 7:e==a.v&&(a.f="",a.state=4);break;case 10:if(f){k=!0;ei(a,4,!0);break}if(">"==e){fi(a);break}if(":"==e){a.state=13;break}a.h+=e;break;case 11:if(f){ei(a,4,!0);break}">"==e&&di(a);break;case 13:if(f){k=!0;
ei(a,4,!0);break}if(">"==e){fi(a);break}if(";"==e){ei(a,10);break}a.j+=e.toLowerCase();break;default:throw"Error while parsing HTML: Symbol '"+e+"', position: "+(d-1);}ai(a);wi(a.oa)}else for(this.Da=this.Da.replace(/\xa0|[ \t]+/g," ").replace(/(\r\n|\r|\n)/g,"\n"),c=this.Da.split(/\n/g),b=0;bf)return a;h=h||0;var l=td(h,d),n=ud(h,d),q=360/(2*f),r;a.moveTo(l+b,n+c);if(k)for(r=0;rd&&(d=0);0>e&&(e=0);if(d=e)return th(a,b,c,d,f,h);a=a.da?a.da():a;h=pd(h,-360,360);k=360>Math.abs(h);a.Jc(b,c,d,d,f,h).Jc(b,c,e,e,f+h,-h,k);k&&a.close();return a}
function zi(a,b,c,d,e,f){a=td(c,a);b=td(d,b)-a;return 0<=e?a+b*(f+e-f*e):a+b*f*(e+1)}function Ai(a,b,c,d,e,f){a=ud(c,a);b=ud(d,b)-a;return 0<=e?a+b*(f+e-f*e):a+b*f*(e+1)}function Bi(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 dh(a,b,c){var d=a.da?a.da():a,e,f,h,k;6==arguments.length?(e=arguments[2],f=arguments[3],h=arguments[4],k=arguments[5],d.moveTo(b.left+e,b.top).lineTo(b.left+b.width-f,b.top).lineTo(b.left+b.width,b.top+f).lineTo(b.left+b.width,b.top+b.height-h).lineTo(b.left+b.width-h,b.top+b.height).lineTo(b.left+k,b.top+b.height).lineTo(b.left,b.top+b.height-k).lineTo(b.left,b.top+e).close()):(k=zb(arguments,2,6),Bi(k),e=k[0],f=k[1],h=k[2],k=k[3],dh(d,b,e,f,h,k));return d}
function bh(a,b,c){var d=a.da?a.da():a,e,f,h,k;6==arguments.length?(e=arguments[2],f=arguments[3],h=arguments[4],k=arguments[5],d.moveTo(b.left+e,b.top).lineTo(b.left+b.width-f,b.top).wf(b.left+b.width,b.top+f,f,f,!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=zb(arguments,2,6),Bi(k),e=k[0],f=k[1],h=k[2],k=
k[3],bh(d,b,e,f,h,k));return d}
function ch(a,b,c){var d=a.da?a.da():a,e,f,h,k;6==arguments.length?(e=arguments[2],f=arguments[3],h=arguments[4],k=arguments[5],d.moveTo(b.left+e,b.top).lineTo(b.left+b.width-f,b.top).wf(b.left+b.width,b.top+f,f,f,!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=zb(arguments,2,6),Bi(k),e=k[0],f=k[1],h=k[2],k=k[3],
ch(d,b,e,f,h,k));return d}F("acgraph.vector.primitives.star",eh);F("acgraph.vector.primitives.star4",fh);F("acgraph.vector.primitives.star5",gh);F("acgraph.vector.primitives.star6",hh);F("acgraph.vector.primitives.star7",ih);F("acgraph.vector.primitives.star10",jh);F("acgraph.vector.primitives.diamond",oh);F("acgraph.vector.primitives.triangleUp",kh);F("acgraph.vector.primitives.triangleDown",lh);F("acgraph.vector.primitives.triangleRight",mh);F("acgraph.vector.primitives.triangleLeft",nh);
F("acgraph.vector.primitives.cross",ph);F("acgraph.vector.primitives.diagonalCross",qh);F("acgraph.vector.primitives.hLine",rh);F("acgraph.vector.primitives.vLine",sh);F("acgraph.vector.primitives.pie",th);F("acgraph.vector.primitives.donut",uh);F("acgraph.vector.primitives.truncatedRect",dh);F("acgraph.vector.primitives.roundedRect",bh);F("acgraph.vector.primitives.roundedInnerRect",ch);function Ci(a,b,c,d){this.b=a;this.f=b;this.c=c;this.g=d}Ci.prototype.clone=function(){return new Ci(this.b,this.f,this.c,this.g)};function Fi(){Ph.call(this)}G(Fi,Ph);qa(Fi);g=Fi.prototype;g.di=null;g.Zc=null;g.an=null;g.gf=null;g.Qi=null;function Gi(a){return document.createElementNS("http://www.w3.org/2000/svg",a)}g.ma=function(a,b,c){a.setAttribute(b,c)};function Hi(a,b,c){Wb(c,function(a,c){this.ma(b,c,a)},a)}
function Ii(a){a.di=Gi("svg");a.Zc=a.St();a.an=a.zl("");a.Zc.appendChild(a.an);a.di.appendChild(a.Zc);document.body.appendChild(a.di);Hi(a,a.di,{display:"block",width:0,height:0});a.gf=a.ip();a.di.appendChild(a.gf)}
g.measure=function(a,b){this.di||Ii(this);var c=null,d=0;if(!a.length)return Rh(this,"",b)?d=Sh(this,"",b):(d=this.measure("a",b),d=new J(0,d.top,0,d.height),Sh(this,"",b,d)),d;if(" "==a)return Qh(this,b);a.lastIndexOf(" ",0)||(d+=c=Qh(this,b).width);Ha(a," ")&&(d+=c||Qh(this,b).width);b.fontStyle?this.ma(this.Zc,"font-style",b.fontStyle):this.Zc.removeAttribute("font-style");b.fontVariant?this.ma(this.Zc,"font-variant",b.fontVariant):this.Zc.removeAttribute("font-variant");b.fontFamily?this.ma(this.Zc,
"font-family",b.fontFamily):this.Zc.removeAttribute("font-family");b.fontSize?this.ma(this.Zc,"font-size",b.fontSize):this.Zc.removeAttribute("font-size");b.fontWeight?this.ma(this.Zc,"font-weight",b.fontWeight):this.Zc.removeAttribute("font-weight");b.letterSpacing?this.ma(this.Zc,"letter-spacing",b.letterSpacing):this.Zc.removeAttribute("letter-spacing");b.decoration?this.ma(this.Zc,"text-decoration",b.decoration):this.Zc.removeAttribute("text-decoration");this.an.nodeValue=a;c=this.Zc.getBBox();
this.an.nodeValue="";b.fontVariant&&lc&&(this.an.nodeValue=a.charAt(0).toUpperCase(),c.height=this.Zc.getBBox().height);return new J(c.x,c.y,c.width+d,c.height)};g.BB=function(a){this.di||Ii(this);B(a)?this.gf.innerHTML=a:(a=a.cloneNode(!0),this.gf.appendChild(a));a=this.gf.getBBox();pf(this.gf);return new J(a.x,a.y,a.width,a.height)};
g.fq=function(a,b){this.b||(Vh(this),this.b={},Wc(this.Qi,"complete",function(){this.c=!1},!1,this),Wc(this.Qi,"load",this.AF,!1,this));this.b[wa(b)]=[a,b];this.c=!0;Nh(this.Qi,a,a);this.Qi.start()};g.AF=function(a){var b=a.target;Wb(this.b,function(a,d){a[0]==b.id&&(a[1].call(this,b.naturalWidth,b.naturalHeight),delete this.b[d])},this)};g.mB=function(){return this.c};
function Ji(a){if(a.Uc())return null;var b=[];a.LA(function(a,d){switch(a){case 1:b.push("M");pe(Array.prototype.push,d,b);break;case 2:b.push("L");pe(Array.prototype.push,d,b);break;case 3:b.push("C");pe(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=sd(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 Ci(Math.round(f-e),Math.round(h+c),Math.round(f+e),Math.round(h-c))}
g.Sz=function(){var a=Gi("svg");mc||this.ma(a,"xmlns","http://www.w3.org/2000/svg");this.ma(a,"border","0");return a};g.Oz=function(){return Gi("linearGradient")};g.Jz=function(){return Gi("pattern")};g.Kz=function(){return Gi("image")};g.ip=function(){return Gi("g")};g.Fz=function(){return Gi("circle")};g.Qz=function(){return Gi("path")};g.Iz=function(){return Gi("ellipse")};g.Hz=function(){return Gi("defs")};g.St=function(){return Gi("text")};g.Ut=function(){return Gi("tspan")};g.zl=function(a){return document.createTextNode(String(a))};
g.CC=function(a){var b=a.Oe();Hi(this,a.X(),{x:b.left,y:b.top,width:b.width,height:b.height,patternUnits:"userSpaceOnUse"})};g.DC=function(a){var b=a.Oe();this.fq(a.src(),pa);var c=a.src()||"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",d=a.X();Hi(this,d,{x:b.left,y:b.top,width:b.width,height:b.height,"image-rendering":"optimizeQuality",preserveAspectRatio:a.Xh()+" "+a.hk(),opacity:a.opacity()});d.setAttributeNS("http://www.w3.org/1999/xlink","href",c)};
g.zC=function(a,b){var c=a.X();c&&(c.style.cursor=b||"")};g.Cv=function(a){var b=a.X();this.ma(b,"x",a.u);this.ma(b,"y",a.M)};
g.MC=function(a){var b=a.style(),c=a.X();if(a.fh()){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"]="",mc&&9==Cc||lc)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",mc&&9==Cc||lc)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?oc?c.style["font-variant"]=b.fontVariant:this.ma(c,"font-variant",b.fontVariant):oc?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?oc||mc?"end"==b.hAlign||"left"==b.hAlign?li:b.hAlign==li||"right"==b.hAlign?"end":"middle":"end"==b.hAlign||"left"==b.hAlign?"end":b.hAlign==li||"right"==b.hAlign?li:"middle":"end"==b.hAlign||"right"==b.hAlign?"end":b.hAlign==li||"left"==b.hAlign?li:"middle"):c.removeAttribute("text-anchor");c.style.opacity=b.opacity?b.opacity:"1"};g.Hw=function(a){var b=a.X(),c=a.parent();(a.j||a.h)&&this.ma(b,"x",c.u+a.h);this.ma(b,"dy",a.f)};
g.Iw=function(a){var b=a.b,c=a.X(),d=a.parent();a=this.zl(a.text);c.appendChild(a);if(mc&&9==Cc||lc)d.fh()?(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.$f&&this.ma(c,"text-decoration",b.$f)};
function Mi(a,b,c){var d=Ni(c,b.keys,b.cx,b.cy,b.fx,b.fy,b.opacity,b.mode,b.transform);if(!d.Kn){var e=Gi("radialGradient");Oi(a,e,d.id());a.appendChild(c.X(),e);d.yl=c;d.Kn=!0;ib(d.keys,function(a){var b=Gi("stop");Hi(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.Dd?Hi(a,e,{cx:d.$h*d.Dd.width+d.Dd.left,cy:d.ai*d.Dd.height+d.Dd.top,fx:d.b*d.Dd.width+d.Dd.left,fy:d.c*d.Dd.height+d.Dd.top,r:Math.min(d.Dd.width,
d.Dd.height)/2,spreadMethod:"pad",gradientUnits:"userSpaceOnUse"}):Hi(a,e,{cx:d.$h,cy:d.ai,fx:d.b,fy:d.c,gradientUnits:"objectBoundingBox"});d.transform&&a.ma(e,"gradientTransform",d.transform.toString())}return d.id()}
function Pi(a,b,c,d){var e=Qi(c,b.keys,b.opacity,!0===b.mode?Uh(b.angle,d):b.angle,b.mode,b.transform);if(!e.Jn){var f=a.Oz();Oi(a,f,e.id());a.appendChild(c.X(),f);e.xl=c;e.Jn=!0;ib(e.keys,function(a){var b=Gi("stop");Hi(this,b,{offset:a.offset,style:"stop-color:"+a.color+";stop-opacity:"+(isNaN(a.opacity)?e.opacity:a.opacity)});this.appendChild(f,b)},a);e.b?(b=Li(e.Zh,e.b),Hi(a,f,{x1:b.b,y1:b.f,x2:b.c,y2:b.g,spreadMethod:"pad",gradientUnits:"userSpaceOnUse"})):(b=Ki(e.Zh),Hi(a,f,{x1:b.b,y1:b.f,x2:b.c,
y2:b.g,gradientUnits:"objectBoundingBox"}));e.transform&&a.ma(f,"gradientTransform",e.transform.toString())}return e.id()}
function Ri(a,b){var c=b.fill(),d=b.Z().b,e="url("+Si()+"#";if(B(c))a.ma(b.X(),"fill",c),b.X().removeAttribute("fill-opacity");else if(y(c.keys)&&c.cx&&c.cy)a.ma(b.X(),"fill",e+Mi(a,c,d)+")"),b.X().removeAttribute("fill-opacity");else if(y(c.keys))b.xa()&&(a.ma(b.X(),"fill",e+Pi(a,c,d,b.xa())+")"),b.X().removeAttribute("fill-opacity"));else if(c.src){var f=b.Oe();f?(f.width=f.width||0,f.height=f.height||0,f.left=f.left||0,f.top=f.top||0):f=new J(0,0,0,0);"tile"==c.mode?Ti(d,c.src,f,c.mode,c.opacity,
function(a){a.id();a.parent(b.Z()).yc();fg.ma(b.X(),"fill",e+a.id()+")")}):(d=Ti(d,c.src,f,c.mode,c.opacity),d.id(),d.parent(b.Z()).yc(),a.ma(b.X(),"fill",e+d.id()+")"))}else c instanceof vg?(c=Ui(d,c.type,c.color,c.b,c.size),c.id(),c.parent(b.Z()).yc(),a.ma(b.X(),"fill",e+c.id()+")")):c instanceof ae?(c.id(),c.parent(b.Z()).yc(),a.ma(b.X(),"fill",e+c.id()+")")):(1E-4>=c.opacity&&mc&&Bc("9")&&(c.opacity=1E-4),Hi(a,b.X(),{fill:c.color,"fill-opacity":c.opacity}))}
function Vi(a,b){var c=b.stroke(),d=b.Z().b,e=b.X(),f="url("+Si()+"#";if(B(c))a.ma(e,"stroke",c);else if(y(c.keys)&&c.cx&&c.cy)a.ma(e,"stroke",f+Mi(a,c,d)+")");else if(y(c.keys)){if(!b.xa())return;a.ma(e,"stroke",f+Pi(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")}g.az=function(a){Ri(this,a);Vi(this,a)};g.OC=function(a){a.visible()?a.X().removeAttribute("visibility"):this.ma(a.X(),"visibility","hidden")};g.jj=function(a){var b=a.Va;b&&!Id(b)?this.ma(a.X(),"transform",b.toString()):a.X().removeAttribute("transform")};
g.KC=function(a){var b=a.Va;b&&!Id(b)?this.ma(a.X(),"patternTransform",b.toString()):a.X().removeAttribute("patternTransform")};g.JC=Fi.prototype.jj;g.EC=Fi.prototype.jj;g.GC=Fi.prototype.jj;g.NC=Fi.prototype.jj;g.BC=Fi.prototype.jj;g.Mq=function(a,b,c){Hi(this,a,{width:b,height:c})};g.Bv=function(a,b){Oi(this,a.X(),b)};function Oi(a,b,c){b&&(c?a.ma(b,"id",c):b.removeAttribute("id"))}
g.Dv=function(a,b){var c=a.X();c&&(null!=b?(a.$g||(a.$g=Gi("title"),this.ma(a.$g,"aria-label","")),tf(a.$g)||qf(c,a.$g),a.$g.innerHTML=b):a.$g&&c.removeChild(a.$g))};g.zv=function(a,b){var c=a.X();c&&(null!=b?(a.Ig||(a.Ig=Gi("desc"),this.ma(a.Ig,"aria-label","")),tf(a.Ig)||qf(c,a.Ig),a.Ig.innerHTML=b):a.Ig&&c.removeChild(a.Ig))};g.xC=function(a,b){var c=a.X();if(c&&z(b))for(var d in b){var e=b[d];null===e?c.removeAttribute(d):this.ma(c,d,e)}};g.Gw=function(a,b){return a?a.getAttribute(b):void 0};
g.AC=function(a,b){var c=a.X();c&&(b?this.ma(c,"vector-effect","non-scaling-stroke"):c.removeAttribute("vector-effect"))};g.FC=pa;g.yC=function(a){Hi(this,a.X(),{cx:a.yi(),cy:a.zi(),r:a.bC()})};g.Av=function(a){Hi(this,a.X(),{cx:a.yi(),cy:a.zi(),rx:a.pf(),ry:a.dh()})};g.IC=function(a){var b=Ji(a);b?this.ma(a.X(),"d",b):this.ma(a.X(),"d","M 0,0")};
g.hA=function(a){for(var b=a.g,c=0;c2*this.f&&yj(this),!0):!1};function yj(a){if(a.f!=a.b.length){for(var b=0,c=0;bb)throw Error("Bad port number "+b);a.j=b}else a.j=null}function Fj(a,b,c){b instanceof Hj?(a.g=b,Nj(a.g,a.b)):(c||(b=Ij(b,Oj)),a.g=new Hj(b,0,a.b))}function Gj(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function Ij(a,b,c){return B(a)?(a=encodeURI(a).replace(b,Pj),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}
function Pj(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}var Jj=/[#\/\?@]/g,Lj=/[\#\?:]/g,Kj=/[\#\?]/g,Oj=/[\#\?@]/g,Mj=/#/g;function Hj(a,b,c){this.c=this.b=null;this.f=a||null;this.g=!!c}function Qj(a){a.b||(a.b=new xj,a.c=0,a.f&&Bj(a.f,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))}
function Uj(a){var b=vj(a);if("undefined"==typeof b)throw Error("Keys are undefined");var c=new Hj(null,0,void 0);a=uj(a);for(var d=0;db.length){c.push(jk(a)+"(");for(var d=a.arguments,e=0;d&&e=vk(this).value)for(va(b)&&(b=b()),a=new lk(a,String(b),this.f),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 wk={},xk=null;
function yk(a){xk||(xk=new nk(""),wk[""]=xk,xk.c=sk);var b;if(!(b=wk[a])){b=new nk(a);var c=a.lastIndexOf("."),d=a.substr(c+1),c=yk(a.substr(0,c));c.b||(c.b={});c.b[d]=b;b.U=c;wk[a]=b}return b};function zk(a,b){a&&a.log(rk,b,void 0)}function Ak(a,b){a&&a.log(tk,b,void 0)};function Bk(){}Bk.prototype.b=null;function Ck(a){var b;(b=a.b)||(b={},Dk(a)&&(b[0]=!0,b[1]=!0),b=a.b=b);return b};var Ek;function Fk(){}G(Fk,Bk);function Gk(a){return(a=Dk(a))?new ActiveXObject(a):new XMLHttpRequest}function Dk(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.ak)&&clearTimeout(this.ak),this.cq=a,this.Dg(!0)),this):this.cq};g.F=function(a){return p(a)?(a=af(a||null),this.pe!=a&&(this.pe=a,bl(this),this.Dg(!0),this.yc()),this):this.pe?this.c:null};g.fM=function(){return this.pe};g.ou=function(){return this.c};g.cc=function(){this.vn++;return this};g.$b=function(a){this.vn=a?0:Math.max(this.vn-1,0);this.yc();return this};g.XK=function(a){return p(a)?(this.Ht=!!a,this):this.Ht};
g.Gb=function(){return!!this.vn};g.eF=function(){return this.oj};g.title=function(a){return p(a)?(this.Mn!=a&&(this.Mn=a,fg.Dv(this,this.Mn)),this):this.Mn};g.UE=function(a){return p(a)?(this.Ln!=a&&(this.Ln=a,fg.zv(this,this.Ln)),this):this.Ln};g.visible=function(a){if(!arguments.length)return this.f.visible();this.f.visible(a);return this};
g.data=function(a){if(arguments.length){var b,c=a.type;if(c)switch(c){case "rect":b=this.rect();break;case "circle":b=this.Jw();break;case "ellipse":b=this.Kw();break;case "image":b=this.pd();break;case "text":b=this.text();break;case "path":b=this.da();break;case "layer":b=this.qd();break;default:b=null}else this.width(a.width),this.height(a.height),a.type="layer",this.f.mc(a),this.f.id(""),"id"in a&&this.id(a.id);b&&b.mc(a);return this}return this.w()};g.remove=function(){return this.F(null)};
g.$E=function(){return 0};g.aF=function(){return 0};g.xa=function(){return new J(0,0,this.width(),this.height())};g.clip=function(a){return this.f.clip(a)};g.Ld=function(){return"stage"};g.lq=function(a){this.f.lq(a)};g.lm=pa;
g.Dg=function(a,b){a&&!isNaN(this.ak)&&clearTimeout(this.ak);this.ak=NaN;var c,d;c=isNaN(this.Cp);d=isNaN(this.Bp);var e=c||d,f;if(e){var h=this.pe?Rf(this.pe):new yd(NaN,NaN);h.width=Math.max(h.width||0,0);h.height=Math.max(h.height||0,0);f=!h.width&&!h.height;c=c?h.width:this.Cp;d=d?h.height:this.Bp}else c=this.Cp,d=this.Bp,f=!1;c==this.ra&&d==this.wa||f||(this.ra=c,this.wa=d,b||this.dispatchEvent("stageresize"));this.pe&&e&&(this.ak=setTimeout(this.Dg,this.cq))};
function $k(a,b){if(a.kp!=b){var c=parseFloat(b);if(!isNaN(c))return a.kp=E(b)?b:String(b),a.Cp=B(b)&&Ha(b,"%")?NaN:c,a.c.style.width=Mf(a.kp,!0),!0}return!1}function al(a,b){if(a.jp!=b){var c=parseFloat(b);if(!isNaN(c))return a.jp=E(b)?b:String(b),a.Bp=B(b)&&Ha(b,"%")?NaN:c,a.c.style.height=Mf(a.jp,!0),!0}return!1}g.dL=function(){this.b.clear()};g.w=function(){var a=this.f.w();this.bi&&(a.id=this.bi);a.width=this.kp;a.height=this.jp;delete a.type;return a};
function cl(a){a.c?(a=a.c,1==a.nodeType?(a=Nf(a),a=new vd(a.left,a.top)):(a=a.changedTouches?a.changedTouches[0]:a,a=new vd(a.clientX,a.clientY))):a=new vd(0,0);return a}g.Vw=function(a){this.Af+=a;return a};g.BF=function(a){a=Math.min(500-this.Af,a);this.Af+=a;return a};g.Al=Zk.prototype.Vw;g.yc=function(){if(!this.vn&&this.pe&&!this.oj)if(this.oj=!0,this.dispatchEvent("renderstart"),this.Af=0,this.Ht)this.Al=this.BF,setTimeout(this.Bq,0);else{this.Al=this.Vw;this.Vc();if(this.f.Bf)throw re(6);dl(this)}};
function bl(a){a.pe?a.c.parentNode!=a.pe&&a.pe.appendChild(a.c):rf(a.c)}g.Bq=function(){this.Vc();this.f.Bf?setTimeout(this.Bq,0):dl(this)};g.Vc=function(){if(this.h&&this.h.length){for(var a=0;ak?[k/h*d,k]:[c,k],k[0]-=e||0,k[1]-=f||0,a=a.ci(k[0],
k[1])):a=a.ci(b["pdf-width"],b["pdf-height"]);b.data=a;b.dataType="svg";b.responseType="file"}g.Qw=function(a,b,c,d,e,f,h,k){if(hl==il){var l={};ll(this,l,d,e,f,h,k);el("pdf",l,!!c,!0,a,b)}else alert(re(15))};g.Nw=function(a,b,c,d,e){if(hl==il){var f={};gl(this,f,c,d,e);el("png",f,!0,!1,a,b)}else alert(re(15))};g.Lw=function(a,b,c,d,e,f){if(hl==il){var h={};jl(this,h,c,d,e,f);el("jpg",h,!0,!1,a,b)}else alert(re(15))};g.Ow=function(a,b,c,d){if(hl==il){var e={};kl(this,e,c,d);el("svg",e,!0,!1,a,b)}else alert(re(15))};
g.Mw=function(a,b,c,d,e,f){if(hl==il){var h={};ll(this,h,c,d,e,f);el("pdf",h,!0,!1,a,b)}else alert(re(15))};g.Mh=function(a,b,c,d){if(hl==il){var e={};gl(this,e,a,b,c,d);ml(fl+"/png",e)}else alert(re(15))};g.Kh=function(a,b,c,d,e){if(hl==il){var f={};jl(this,f,a,b,c,d,e);ml(fl+"/jpg",f)}else alert(re(15))};g.Lh=function(a,b,c,d,e){if(hl==il){var f={};ll(this,f,a,b,c,d,e);ml(fl+"/pdf",f)}else alert(re(15))};g.Nh=function(a,b,c){if(hl==il){var d={};kl(this,d,a,b,c);ml(fl+"/svg",d)}else alert(re(15))};
g.print=function(a,b){if(p(a)||p(b)){var c=ie(a,b,"usletter"),d=gj().contentWindow.document,e=kf("DIV");Ff(e,{width:c.width,height:c.height});d.body.appendChild(e);var c=this.width(),d=this.height(),f=Rf(e);this.pj(f.width,f.height);f=this.X();"svg"==f.tagName&&f.cloneNode?(f=f.cloneNode(!0),e.appendChild(f)):nl(e).data(this.data());this.pj(c,d)}else e=gj().contentWindow.document,d=this.X(),"svg"==d.tagName?d.cloneNode?c=d.cloneNode(!0):(d=nl(e.body),d.data(this.data()),c=d.X()):(d=nl(e.body),d.data(this.data())),
d=c,f=fg,f.ma(d,"width","100%"),f.ma(d,"height","100%"),f.ma(d,"viewBox","0 0 "+this.width()+" "+this.height()),Ff(d,"width","100%"),Ff(d,"height",""),Ff(d,"max-height","100%"),e.body.appendChild(c);lj()};
g.ci=function(a,b){if(hl!=il)return"";var c;if(p(a)||p(b)){c=ie(a,b);var d=tf(this.X()),e=If(d,"width"),d=If(d,"height");this.pj(c.width,c.height);c=ol(this.X());this.pj(e,d)}else fg.Mq(this.X(),this.width(),this.height()),c=ol(this.X()),fg.Mq(this.X(),"100%","100%");return''+c};function ol(a){var b="";a&&(b=(new XMLSerializer).serializeToString(a));return b}g.qd=Xg.prototype.qd;g.yF=Xg.prototype.Dw;g.text=Xg.prototype.text;g.dF=Xg.prototype.mw;
g.rect=Xg.prototype.rect;g.pd=Xg.prototype.pd;g.kF=Xg.prototype.qw;g.jF=Xg.prototype.pw;g.xF=Xg.prototype.Cw;g.Jw=Xg.prototype.Or;g.Kw=Xg.prototype.Pr;g.da=Xg.prototype.da;g.lF=Xg.prototype.rw;g.nF=Xg.prototype.tw;g.oF=Xg.prototype.uw;g.pF=Xg.prototype.vw;g.qF=Xg.prototype.ww;g.mF=Xg.prototype.sw;g.wF=Xg.prototype.Bw;g.tF=Xg.prototype.yw;g.vF=Xg.prototype.Aw;g.uF=Xg.prototype.zw;g.WE=Xg.prototype.iw;g.TE=Xg.prototype.gw;g.VE=Xg.prototype.hw;g.bF=Xg.prototype.kw;g.zF=Xg.prototype.Ew;g.gF=Xg.prototype.nw;
g.XE=Xg.prototype.jw;g.Gz=function(a,b,c,d){return new mg(this,a,b,c,d)};g.fF=function(a){return new ae(a)};g.KM=function(a,b,c,d){return he(a,b,c,d)};g.Na=function(){return this.f.Na()};g.sb=function(a){this.f.sb(a);return this};g.ec=function(a,b){this.f.ec(a,b);return this};g.ZE=function(a){return this.f.Qr(a)};g.removeChild=function(a){return this.f.removeChild(a)};g.hF=function(a){return this.f.Hn(a)};g.iF=function(){return this.f.In()};g.cF=function(a){return this.f.lw(a)};g.Yb=function(a){return this.f.Yb(a)};
g.rF=function(a,b){this.f.xw(a,b);return this};g.sF=function(a,b){this.f.Rr(a,b);return this};g.YE=function(a,b){this.f.Yh(a,b);return this};g.nf=function(a,b,c){this.f.nf(a,b,c);return this};g.gn=function(a,b){this.f.gn(a,b);return this};g.ij=function(a,b,c){this.f.ij(a,b,c);return this};g.pn=function(a,b){this.f.pn(a,b);return this};g.Wh=function(a,b){this.f.Wh(a,b);return this};g.wl=function(a,b){this.f.wl(a,b);return this};g.scale=function(a,b,c,d){this.f.scale(a,b,c,d);return this};
g.Iq=function(a,b,c){this.f.Iq(a,b,c);return this};g.Vo=function(a,b,c,d,e,f){this.f.Vo(a,b,c,d,e,f);return this};g.Ua=function(a,b,c,d,e,f){this.f.Ua(a,b,c,d,e,f);return this};g.lk=function(){return this.f.lk()};g.Jp=function(){return this.f.Jp()};g.sc=function(){return null};g.dispatchEvent=function(a){B(a)?a=a.toLowerCase():"type"in a&&(a.type=String(a.type).toLowerCase());return Zk.m.dispatchEvent.call(this,a)};g.ba=function(a,b,c,d){return Zk.m.ba.call(this,String(a).toLowerCase(),b,c,d)};
g.Tc=function(a,b,c,d){return Zk.m.Tc.call(this,String(a).toLowerCase(),b,c,d)};g.wc=function(a,b,c,d){return Zk.m.wc.call(this,String(a).toLowerCase(),b,c,d)};g.Ce=function(a){p(a)&&(a=String(a).toLowerCase());return Zk.m.Ce.call(this,a)};
g.Ng=function(a){var b=new Xi(a,this);if(b.target instanceof cg){b.target.dispatchEvent(b);var c=b.type;b.o&&a.preventDefault();b.relatedTarget instanceof cg&&b.relatedTarget.Z()==this||("mouseover"==c?this.g.ba(document,"mousemove",this.Ng,!1):"mouseout"==c&&this.g.wc(document,"mousemove",this.Ng,!1));switch(c){case "mousedown":this.g.ba(document,"mouseup",this.Ng,!1);break;case "mouseup":this.g.wc(document,"mouseup",this.Ng,!1);break;case "touchstart":this.g.ba(document,"touchmove",this.Ng,!1);
break;case "touchend":this.g.wc(document,"touchmove",this.Ng,!1);break;case "pointerdown":this.g.ba(document,"pointermove",this.Ng,!1);break;case "pointerup":this.g.wc(document,"pointermove",this.Ng,!1)}}};g.L=function(){Zk.m.L.call(this);I(this.g);this.g=null;I(this.f);this.Vc();delete this.f;I(this.b);delete this.b;tg(this);rf(this.c);this.pe=null;delete this.c;this.Za=null;this.v&&(this.v.ud(),this.v=null)};var K=Zk.prototype;F("acgraph.vector.Stage",Zk);K.id=K.id;K.container=K.F;
K.getContainerElement=K.fM;K.getDomWrapper=K.ou;K.maxResizeDelay=K.hN;K.dispose=K.ud;K.getBounds=K.xa;K.layer=K.qd;K.unmanagedLayer=K.yF;K.circle=K.Jw;K.ellipse=K.Kw;K.rect=K.rect;K.truncatedRect=K.xF;K.roundedRect=K.kF;K.roundedInnerRect=K.jF;K.path=K.da;K.star=K.lF;K.star4=K.nF;K.star5=K.oF;K.star6=K.pF;K.star7=K.qF;K.star10=K.mF;K.diamond=K.WE;K.triangleUp=K.wF;K.triangleDown=K.tF;K.triangleRight=K.vF;K.triangleLeft=K.uF;K.cross=K.TE;K.diagonalCross=K.VE;K.hLine=K.bF;K.vLine=K.zF;K.pie=K.gF;
K.donut=K.XE;K.text=K.text;K.html=K.dF;K.image=K.pd;K.data=K.data;K.saveAsPNG=K.Mh;K.saveAsJPG=K.Kh;K.saveAsPDF=K.Lh;K.saveAsSVG=K.Nh;K.saveAsPng=K.Mh;K.saveAsJpg=K.Kh;K.saveAsPdf=K.Lh;K.saveAsSvg=K.Nh;K.shareAsPng=K.Rw;K.shareAsJpg=K.Pw;K.shareAsPdf=K.Qw;K.shareAsSvg=K.Sw;K.getPngBase64String=K.Nw;K.getJpgBase64String=K.Lw;K.getSvgBase64String=K.Ow;K.getPdfBase64String=K.Mw;K.print=K.print;K.toSvg=K.ci;K.pattern=K.fF;K.hatchFill=K.KM;K.clearDefs=K.dL;K.numChildren=K.Na;K.addChild=K.sb;
K.addChildAt=K.ec;K.removeChild=K.removeChild;K.removeChildAt=K.hF;K.removeChildren=K.iF;K.swapChildren=K.rF;K.swapChildrenAt=K.sF;K.getChildAt=K.ZE;K.hasChild=K.cF;K.forEachChild=K.YE;K.indexOfChild=K.Yb;K.getX=K.$E;K.getY=K.aF;K.width=K.width;K.height=K.height;K.getBounds=K.xa;K.resize=K.pj;K.asyncMode=K.XK;K.resume=K.$b;K.suspend=K.cc;K.isRendering=K.eF;K.isSuspended=K.Gb;K.remove=K.remove;K.domElement=K.X;K.visible=K.visible;K.rotate=K.nf;K.rotateByAnchor=K.gn;K.setRotation=K.ij;
K.setRotationByAnchor=K.pn;K.translate=K.Wh;K.setPosition=K.wl;K.scale=K.scale;K.scaleByAnchor=K.Iq;K.appendTransformationMatrix=K.Vo;K.setTransformationMatrix=K.Ua;K.getRotationAngle=K.lk;K.getTransformationMatrix=K.Jp;K.clip=K.clip;K.createClip=K.Gz;K.parent=K.parent;K.getStage=K.Z;K.listen=K.ba;K.listenOnce=K.Tc;K.unlisten=K.wc;K.unlistenByKey=K.yn;K.removeAllListeners=K.Ce;K.title=K.title;K.desc=K.UE;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 pl(a){tj.call(this,a);this.c={}}G(pl,tj);pl.prototype.clear=function(){bc(this.c);pl.m.clear.call(this)};function Fg(a,b){var c=me(le.xc(),b),d=a.c[c];if(!d){var d=a.c,e;e=Gi("clipPath");d[c]=d=e}return d}pl.prototype.L=function(){pl.m.L.call(this);for(var a in this.c)delete this.c[a];delete this.c};function ql(a,b,c){Zk.call(this,a,b,c)}G(ql,Zk);ql.prototype.l=function(){return new pl(this)};function rl(a,b,c,d,e){mg.call(this,a,b,c,d,e)}G(rl,mg);rl.prototype.yc=function(){var a=Bg(this),b=a&&!a.Gb();b&&a.cc();ib(this.g,function(a){a.ja(512)},this);b&&a.$b()};function sl(a,b,c,d,e,f,h){qj.call(this,a,b,c,b,b,f,h);this.Qq=d;this.Rq=e}G(sl,qj);function tl(a,b,c,d,e,f,h){f=null!=f?pd(f,0,1):1;var k=[];ib(a,function(a){k.push(""+a.offset+a.color+(a.opacity?a.opacity:null))});return k.join("")+f+b+c+d+e+(h?""+h.left+h.top+h.width+h.height:"")};var ul={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 vl(a){var b={};a=String(a);var c="#"==a.charAt(0)?a:"#"+a;if(wl.test(c))return b.Pd=xl(c),b.type="hex",b;a:{var d=a.match(yl);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.Pd=ce(c),b.type="rgb",b;if(ul&&(c=ul[a.toLowerCase()]))return b.Pd=c,b.type="named",b;throw Error(a+" is not a valid color string");}var zl=/#(.)(.)(.)/;
function xl(a){if(!wl.test(a))throw Error("'"+a+"' is not a valid hex color");4==a.length&&(a=a.replace(zl,"#$1$1$2$2$3$3"));return a.toLowerCase()}function Al(a){a=xl(a);return[parseInt(a.substr(1,2),16),parseInt(a.substr(3,2),16),parseInt(a.substr(5,2),16)]}function Bl(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=Cl(a.toString(16));b=Cl(b.toString(16));c=Cl(c.toString(16));return"#"+a+b+c}
function ce(a){return Bl(a[0],a[1],a[2])}function Dl(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 wl=/^#(?:[0-9a-f]{3}){1,2}$/i,yl=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;function Cl(a){return 1==a.length?"0"+a:a}function El(a,b,c){c=pd(c,0,1);return[Math.round(c*a[0]+(1-c)*b[0]),Math.round(c*a[1]+(1-c)*b[1]),Math.round(c*a[2]+(1-c)*b[2])]};var jj=5;function ij(){for(var a=document.styleSheets,b=[],c=Fl(a),d=0;a=c[d];d++){var e=Gl(a);if(e&&e.length)for(var f=0,h=0,k=e.length,l;hMath.sin(d)||180==a||360==a;if(90==a||270==a)c+=1E-6;180!=a&&(0>Math.tan(d)||90==a||270==a)&&(e=-1,c=90-c);c=sd(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{Ec:new vd(Math.round(f-e),Math.round(h+c)),zd:new vd(Math.round(f+e),Math.round(h-c))}}
function Yl(a,b){var c,d;b.Ec.x==b.zd.x?(c=b.Ec.x,d=a.y):b.Ec.y==b.zd.y?(c=a.x,d=b.Ec.y):(c=(b.Ec.x*Math.pow(b.zd.y-b.Ec.y,2)+a.x*Math.pow(b.zd.x-b.Ec.x,2)+(b.zd.x-b.Ec.x)*(b.zd.y-b.Ec.y)*(a.y-b.Ec.y))/(Math.pow(b.zd.y-b.Ec.y,2)+Math.pow(b.zd.x-b.Ec.x,2)),d=(b.zd.x-b.Ec.x)*(a.x-c)/(b.zd.y-b.Ec.y)+a.y);c=new vd(c,d);d=[pd(b.Ec.x-b.zd.x,-1,1),pd(b.Ec.y-b.zd.y,-1,1)];var e=[pd(b.Ec.x-c.x,-1,1),pd(b.Ec.y-c.y,-1,1)],f=[pd(b.zd.x-c.x,-1,1),pd(b.zd.y-c.y,-1,1)];return 0>(d[0]?(e[0]+f[0])*d[0]:(e[1]+f[1])*
d[1])?-wd(b.Ec,c):wd(b.Ec,c)}
function Zl(a,b,c,d){var e=Xl(c,d);d=wd(e.Ec,e.zd);var f=Xl(c,b);b=wd(f.Ec,f.zd);c=Yl(e.Ec,f);var e=Yl(e.zd,f),f={offset:Math.round(c/b*100)/100,color:"",opacity:1},h={offset:Math.round(e/b*100)/100,color:"",opacity:1},k=[];k.toString=function(){for(var a="\n",b=0,c=this.length;bf.offset&&t.offset=h.offset&&!n&&(n={offset:t.offset,color:t.color,opacity:t.opacity})}k.push(h);a=t=1;if(2h&&1>f?l?h>f:hh)?h:f);h=k.width*f;k=k.height*f;switch(e){case Gh:e=b.width;f=b.height;break;case "xMinYMin":e=b.left;f=b.top;break;case "xMidYMin":e=b.left+b.width/2-h/2;f=b.top;break;case "xMaxYMin":e=b.left+
b.width-h;f=b.top;break;case "xMinYMid":e=b.left;f=b.top+b.height/2-k/2;break;default:case "xMidYMid":e=b.left+b.width/2-h/2;f=b.top+b.height/2-k/2;break;case "xMaxYMid":e=b.left+b.width-h;f=b.top+b.height/2-k/2;break;case "xMinYMax":e=b.left;f=b.top+b.height-k;break;case "xMidYMax":e=b.left+b.width/2-h/2;f=b.top+b.height-k;break;case "xMaxYMax":e=b.left+b.width-h,f=b.top+b.height-k}}Sl(this,c.style,{position:"absolute",left:Ul(e),top:Ul(f),width:Ul(h),height:Ul(k)});this.ma(c,"src",d);a.clip(b)};
g.yC=function(a){this.Av(a)};g.Av=function(a){var b=a.X();Rl(this,b);var c=a.yi(),d=a.zi(),e=a.pf(),f=a.dh(),h=a.sc();h&&!Id(h)?(c=Dd(c,d,e,f,0,360,!1),d=c.length,h.transform(c,0,c,0,d/2),h=["m",this.jc(c[d-2]),this.jc(c[d-1]),"c"],pe(Array.prototype.push,kb(c,this.jc),h)):h=["ae",this.jc(c),this.jc(d),this.jc(e),this.jc(f),0,Math.round(-23592960)];h.push("x");gg(a,4);gg(a,256);this.ma(b,"path",h.join(" "))};
g.IC=function(a){var b=a.X();Rl(this,b);var c=Vl(this,a);c?this.ma(b,"path",c):(this.ma(b,"path","M 0,0"),b.removeAttribute("path"));gg(a,4);gg(a,256)};g.Ut=function(){var a=this.c("shape"),b=this.c("path");b.setAttribute("textpathok","t");a.appendChild(b);return a};g.St=function(){return document.createElement("span")};g.zl=function(a){var b=this.c("textpath");b.setAttribute("on","t");b.setAttribute("string",a);return b};g.zC=function(a,b){var c=a.X();c&&(c.style.cursor=b||"")};
g.Cv=function(a){var b=a.X().style,c,d;$l(a)?(d=a.M,a.b.length&&(d-=a.b[0].c),c=a.u,Sl(this,b,{position:"absolute",overflow:"visible",left:Ul(c),top:Ul(d)})):(c=a.x(),d=a.y(),a.Vf()&&a.height()&&a.height()>a.h&&("middle"==a.Vf()&&(d+=a.height()/2-a.h/2),"bottom"==a.Vf()&&(d+=a.height()-a.h)),Sl(this,b,{position:"absolute",overflow:"hidden",left:Ul(c),top:Ul(d)}))};
g.MC=function(a){var b=a.X(),c=b.style;b.style.cssText="";if($l(a))Sl(this,c,{width:Ul(1),height:Ul(1)}),b.innerHTML="";else if(null!=a.Pa){a.fontSize()&&Ff(b,"font-size",a.fontSize());a.color()&&Ff(b,"color",a.color());a.fontFamily()&&Ff(b,"font-family",a.fontFamily());a.fontStyle()&&Ff(b,"font-style",a.fontStyle());a.fontVariant()&&Ff(b,"font-variant",a.fontVariant());a.fontWeight()&&Ff(b,"font-weight",a.fontWeight());a.letterSpacing()&&Ff(b,"letter-spacing",a.letterSpacing());a.$f()&&Ff(b,"text-decoration",
a.$f());a.opacity()&&(c.filter="alpha(opacity="+100*a.opacity()+")");a.qj()&&Ff(b,"line-height",a.qj());a.rj()&&Ff(b,"text-indent",a.rj());"..."==a.Ve()&&Ff(b,"text-overflow","ellipsis");""==a.Ve()&&Ff(b,"text-overflow","clip");a.eh()&&Ff(b,"direction",a.eh());"byLetter"==a.sj()&&a.width()?(Ff(b,"word-break","break-all"),Ff(b,"white-space","normal")):(Ff(b,"word-break","normal"),Ff(b,"white-space","nowrap"));a.He()&&(b.style["text-align"]=a.g?"end"==a.He()||"left"==a.He()?"left":a.He()==li||"right"==
a.He()?"right":"center":"end"==a.He()||"right"==a.He()?"right":a.He()==li||"left"==a.He()?"left":"center");var d=!a.fh(),e=b.getElementsByTagName("*");if(Qf){if(d=d?"none":"",b.style&&(b.style[Qf]=d),e)for(var f=0,h;h=e[f];f++)h.style&&(h.style[Qf]=d)}else if(mc||lc)if(d=d?"on":"",b.setAttribute("unselectable",d),e)for(f=0;h=e[f];f++)h.setAttribute("unselectable",d);b.innerHTML=a.Pa;this.ma(c,"width",String(a.width()?Ul(a.width()):a.xa().width));this.ma(c,"height",String(a.height()?Ul(a.height()):
a.xa().height))}};g.Hw=function(a){a.X().setAttribute("path","m "+this.jc(a.x)+","+this.jc(a.y)+" l "+(this.jc(a.x)+1)+","+this.jc(a.y)+" e")};
g.Iw=function(a){var b=a.parent(),c=b.style(),d=a.X(),c=ec(c);gc(c,a.b);a=this.zl(a.text);c.fontStyle&&Ff(a,"font-style",c.fontStyle);c.fontVariant&&Ff(a,"font-variant",c.fontVariant);c.fontFamily&&Ff(a,"font-family",c.fontFamily);c.fontSize&&Ff(a,"font-size",c.fontSize);c.fontWeight&&Ff(a,"font-weight",c.fontWeight);c.letterSpacing&&(a.style["v-text-spacing"]=c.letterSpacing);c.decoration&&Ff(a,"text-decoration",c.decoration);c.hAlign&&(a.style["v-text-align"]=b.g?"end"==c.hAlign||"left"==c.hAlign?
"left":c.hAlign==li||"right"==c.hAlign?"right":"center":"end"==c.hAlign||"right"==c.hAlign?"right":c.hAlign==li||"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.fh()?d.removeAttribute("unselectable"):this.ma(d,"unselectable","on");Rl(this,d);d.setAttribute("filled","t");d.setAttribute("fillcolor",c.color);d.setAttribute("stroked","f")};g.IB=function(){return!0};
g.az=function(a){var b=a.fill();b instanceof ae&&(b="black");var c=a.stroke(),d;B(c)?d=c:d="keys"in c?0!=c.keys.length?c.keys[0].color:"#000":c.color;var e=!B(b)&&"keys"in b&&"cx"in b&&"cy"in b,f=!B(b)&&"keys"in b&&!e,h=!e&&!f,k="none"!=b&&"none"!=b.color,l="none"!=d&&0!=c.thickness,n=h&&k&&1!=b.opacity,q=!B(c)&&l&&(1!=c.opacity||"miter"!=c.lineJoin||"butt"!=c.lineCap||"none"!=c.dash),r,t,u;if(e||f||n||q){var q=a.Z(),n=q.b,w;w=a instanceof Dg&&a.Uc()?new J(0,0,1,1):a.xa();if(f){t=b.mode instanceof
J;u=zb(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?Uh(b.angle,w):b.angle;w=Qi(n,t?Zl(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=am(n,b.keys,x,u,v,w,b.opacity,b.mode)}else w=b;
x=bm(n,w,c);if(!x.Uw){v=this.c("shapetype");Wl(this,v,me(le.xc(),x));this.appendChild(n.X(),v);x.Uw=!0;var A=null;if(f){var C=w;C.Jn&&(C=new nj(C.keys,C.opacity,C.Zh,C.mode),x.c=C);A=this.c("fill");u=C.keys;var D=[];ib(u,function(a){D.push(a.offset+" "+a.color)},this);q=rd(C.Zh+270);r=u[u.length-1];h=u[0];Sl(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.xl=n;C.Jn=!0}else e?(t=w,t.Kn&&(t=new sl(t.keys,t.$h,t.ai,t.Qq,t.Rq,t.opacity,t.Dd),x.c=t),A=this.c("fill"),u=t.keys,h=u[u.length-1],r=u[0],Sl(this,A,{src:q.pathToRadialGradientImage,size:t.Qq+","+t.Rq,origin:".5, .5",position:t.$h+","+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.yl=n,t.Kn=!0):h&&(A=x.Fi?x.Fi:x.Fi=this.c("fill"),B(b)?(Sl(this,a.X(),{fillcolor:b,filled:"none"!=b}),Sl(this,A,{type:"solid",on:"none"!=b,color:b,opacity:1})):(Sl(this,a.X(),{fillcolor:b.color,filled:"none"!=b.color}),Sl(this,A,{type:"solid",on:"none"!=b.color,color:b.color,opacity:isNaN(b.opacity)?1:b.opacity})));this.appendChild(v,A);t=x.un?x.un:x.un=this.c("stroke");n=c.thickness?c.thickness:1;q=(h=cm(c.dash,n))?"flat":c.lineCap;Sl(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||f)h=w.keys[w.keys.length-1],Sl(this,a.X(),{fillcolor:h.color,filled:"none"!=h.color});Sl(this,a.X(),{filled:k,fillcolor:b.color||b,stroked:l,strokecolor:d,strokeweight:c.thickness?c.thickness+"px":"1px"});Sl(this,a.X(),{type:"#"+me(le.xc(),x)})}else Sl(this,a.X(),{type:"",filled:k,fillcolor:b.color||b,stroked:l,strokecolor:d,strokeweight:c.thickness?c.thickness+"px":"1px"})};
function cm(a,b){a=String(a);if(!a)return"none";var c=a.split(" ");c.length%2&&c.push.apply(c,c);for(var d=[],e=0;ea.h&&("middle"==a.Vf()&&(f+=a.height()/2-a.h/2),"bottom"==a.Vf()&&(f+=a.height()-a.h)),Sl(this,d,{position:"absolute",overflow:"hidden",left:Ul(e+b.h),top:Ul(f+b.u)})}};g.dn=function(){return!0};g.LC=pa;g.hA=pa;g.AC=pa;
g.xv=function(a){var b=a instanceof Xg,c=a.clip();if(c){var c=c.shape(),c=c.Ne(c.Va),c=c.clone(),d=a.X().style;p(b)&&b?(a=a.sc(),c=Hd(c,a)):(c.left-=a.Lr(),c.top-=a.Mr());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 Tl(a.X().style,"clip")};g.kq=function(){return!0};function em(a,b){Mb.call(this);this.c=a;this.b=b}G(em,Mb);function fm(a){delete a.c;Hl.xc();rf(a.Fi);a.Fi=null}g=em.prototype;g.Fi=null;g.un=null;g.Uw=!1;g.Ld=function(){return"shapeType"};g.L=function(){delete this.c;delete this.b;Hl.xc();rf(this.Fi);this.Fi=null;Hl.xc();rf(this.un);this.un=null};function gm(a){tj.call(this,a);this.c={};this.u={}}G(gm,tj);gm.prototype.clear=function(){bc(this.c);bc(this.u);gm.m.clear.call(this)};
function bm(a,b,c){var d="",d=B(b)?d+(b+"1"):b instanceof qj?tl(b.keys,b.$h,b.ai,b.Qq,b.Rq,b.opacity,b.Dd):b instanceof nj?oj(b.keys,b.opacity,b.Zh,b.mode):d+(b.color+b.opacity),e;if(B(c))e=c;else if("keys"in c){var f=0!=c.keys.length?c.keys[0]:c;e=f.color||"black";e+="opacity"in f?f.opacity:1}else e=c.color,e+="opacity"in c?c.opacity:1;d=""+d+(""+c.thickness+e+c.lineJoin+c.lineCap+c.dash);if($b(a.c,d))return a.c[d];b=new em(b,c);return a.c[d]=b}
function am(a,b,c,d,e,f,h,k){k=k?k:null;var l=tl(b,c,d,e,f,h,k);return $b(a.u,l)?a.u[l]:a.u[l]=new sl(b,c,d,e,f,h,k)}gm.prototype.gC=function(a){for(var b=rj(a.keys,a.$h,a.ai,a.Qq,a.Rq,a.opacity,a.Dd),c=Xb(this.c),d=0,e=c.length;dNumber(xc)&&(d.src='javascript:""');c.gd=Ye(c.Sc).c("IFRAME",d);d=c.gd.style;d.visibility="hidden";d.width=d.height="10px";d.display="none";pc?d.marginTop=d.marginLeft="-10px":(d.position="absolute",d.top=d.left="-10px");if(mc&&!Bc("11")){c.Sc.target=c.Oi||"";Ye(c.Sc).b.body.appendChild(c.gd);Wc(c.gd,"readystatechange",c.fv,!1,c);try{c.b=!1,c.Sc.submit()}catch(Nb){ed(c.gd,"readystatechange",c.fv,!1,c),qm(c)}}else{Ak(c.od,"Setting up iframes and cloning form");
Ye(c.Sc).b.body.appendChild(c.gd);var d=c.Oi+"_inner",e=uf(c.gd),f;document.baseURI?(f=Ma(d),ye("Short HTML snippet, input escaped, safe URL, for performance"),f='',f=Re(f,null)):(f=Ma(d),ye("Short HTML snippet, input escaped, for performance"),f=Re('',null));if(lc&&!pc){var h=e.documentElement;if(Xe[h.tagName.toUpperCase()])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+
h.tagName+".");h.innerHTML=Pe(f)}else e.write(Pe(f));Wc(e.getElementById(d),"load",c.nq,!1,c);var k=bf("TEXTAREA",c.Sc);f=0;for(h=k.length;f.");if("A"in Ve)throw Error("Tag name is not allowed for SafeHtml.");A=null;var Ja;C="";if(v)for(var mb in v){if(!Te.test(mb))throw Error('Invalid attribute name "'+mb+'".');var Od=v[mb];if(null!=Od){D=C;var Pd,P=mb,Z=Od;if(Z instanceof ve)Z=xe(Z);else if("style"==P.toLowerCase()){ba=Z;if(!z(ba))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+
typeof ba+" given: "+ba);if(!(ba instanceof ze)){ka=ba;h="";k=void 0;for(k in ka){if(!/^[-_a-zA-Z0-9]+$/.test(k))throw Error("Name allows only [-_a-zA-Z0-9], got: "+k);var Qa=ka[k];if(null!=Qa){if(Qa instanceof ve)Qa=xe(Qa);else if(De.test(Qa)){n=l=!0;for(q=0;q";else{var ee=We(Q);Ja+=">"+Pe(ee)+"";A=ee.kk()}var Zb=v&&v.dir;Zb&&(/^(ltr|rtl|auto)$/i.test(Zb)?A=0:A=null);la=Re(Ja,A);w=We(R,la,Se("\nLine: "+x.lineNumber+"\n\nBrowser stack:\n"+x.stack+"-> [end]\n\nJS stack traversal:\n"+
hk(void 0)+"-> "))}catch(hj){w=Se("Exception trying to expose exception! You win, we lose. "+hj)}w=Pe(w);f&&f.log(pk,"Error when submitting form: "+w,void 0);ed(e.getElementById(d),"load",c.nq,!1,c);e.close();qm(c)}}rm(c)}function pm(a,b){var c=Ye(a);wj(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)})})}g=lm.prototype;g.od=yk("goog.net.IframeIo");g.Sc=null;g.gd=null;g.Oi=null;g.wN=0;g.Mg=!1;g.Au=null;g.Ru=null;g.Ni=null;
g.abort=function(){this.Mg&&(zk(this.od,"Request aborted"),gd(sm(this)),this.Mg=!1,this.dispatchEvent("abort"),tm(this))};g.L=function(){Ak(this.od,"Disposing iframeIo instance");this.Mg&&(Ak(this.od,"Aborting active request"),this.abort());lm.m.L.call(this);this.gd&&um(this);rm(this);delete this.g;this.Au=this.Ru=this.Sc=null;delete nm[this.c]};g.Si=function(){return this.Mg};
g.fv=function(){if("complete"==this.gd.readyState){ed(this.gd,"readystatechange",this.fv,!1,this);var a;try{if(a=uf(this.gd),mc&&"about:blank"==a.location&&!navigator.onLine){qm(this);return}}catch(b){qm(this);return}vm(this,a)}};g.nq=function(){if(!lc||pc||"about:blank"!=(this.gd?uf(sm(this)):null).location){ed(sm(this),"load",this.nq,!1,this);try{vm(this,this.gd?uf(sm(this)):null)}catch(a){qm(this)}}};
function vm(a,b){Ak(a.od,"Iframe loaded");a.Mg=!1;var c;try{var d=b.body;a.Ru=d.textContent||d.innerText}catch(e){c=1}c||"function"!=typeof a.g||(d=a.g(b))&&(c=4);(d=a.od)&&d.log(uk,"Last content: "+a.Ru,void 0);(d=a.od)&&d.log(uk,"Last uri: "+a.Au,void 0);c?(Ak(a.od,"Load event occurred but failed"),qm(a)):(Ak(a.od,"Load succeeded"),a.dispatchEvent("complete"),a.dispatchEvent("success"),tm(a))}function qm(a){a.b||(a.Mg=!1,a.dispatchEvent("complete"),a.dispatchEvent("error"),tm(a),a.b=!0)}
function tm(a){zk(a.od,"Ready for new requests");um(a);rm(a);a.Sc=null;a.dispatchEvent("ready")}function um(a){var b=a.gd;b&&(b.onreadystatechange=null,b.onload=null,b.onerror=null,a.f.push(b));a.Ni&&(m.clearTimeout(a.Ni),a.Ni=null);oc||lc&&!pc?a.Ni=md(a.iA,2E3,a):a.iA();a.gd=null;a.Oi=null}g.iA=function(){this.Ni&&(m.clearTimeout(this.Ni),this.Ni=null);for(;this.f.length;){var a=this.f.pop();zk(this.od,"Disposing iframe");rf(a)}};function rm(a){a.Sc&&a.Sc==om&&pf(a.Sc)}
function sm(a){return a.gd?mc&&!Bc("11")?a.gd:uf(a.gd).getElementById(a.Oi+"_inner"):null}g.YC=function(){if(this.Mg){var a=this.gd?uf(sm(this)):null;a&&!ic(a,"documentUri")?(ed(sm(this),"load",this.nq,!1,this),navigator.onLine?(a=this.od)&&a.log(qk,"Silent Firefox error detected",void 0):(a=this.od)&&a.log(qk,"Firefox is offline so report offline error instead of silent error",void 0),qm(this)):md(this.YC,250,this)}};var wm={};function lg(a){var b=a.X();if(b){var c=String(wa(a));wm[c]=a;b.setAttribute("data-ac-wrapper-id",c)}}function tg(a){delete wm[String(wa(a))];(a=a.X())&&a.removeAttribute("data-ac-wrapper-id")}function Yi(a,b){for(var c,d=b.X().parentNode;a&&a!=d;){c=a.getAttribute&&a.getAttribute("data-ac-wrapper-id")||null;if(null!=c)break;a=a.parentNode}return(c=wm[c||""]||null)&&c.X()==a?c:null}var il="svg",hl=null,hl=mc&&!Bc("9")?"vml":il,fg="vml"==hl?Hl.xc():Fi.xc();
function nl(a,b,c){return"vml"==hl?new hm(a,b,c):new ql(a,b,c)}var fl="//export.anychart.com";function kj(a,b){var c;a&&(c=kf("STYLE"),c.type="text/css",c.styleSheet?c.styleSheet.cssText=a:c.appendChild(document.createTextNode(String(a))),qf(cf("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 pg(a,b,c,d){return new Cg(a,b,c,d)}function qg(a,b,c){return new zg(a,b,c)}
function Yg(){return new Xg}function rg(a,b,c,d){return new xg(a,b,c,d)}function sg(){return new Dg}function ah(a,b,c,d,e){return new Fh(a,b,c,d,e)}function $g(a,b,c,d){a="vml"==hl?new im(a,b):new ii(a,b);d&&a.style(d);c&&a.text(c);return a}function he(a,b,c,d){return new vg(a,b,c,d)}function be(a){return new ae(a)}function og(a,b,c,d){return"vml"==hl?new rl(null,a,b,c,d):new mg(null,a,b,c,d)}var xm=void 0;
function Si(){return p(xm)?xm:mc&&Bc("9")&&!Bc("10")?xm="":xm=od||null===od&&cf("base",void 0,void 0).length?window.location.origin+window.location.pathname+window.location.search:""}F("acgraph.create",nl);F("acgraph.type",function(){return hl});F("acgraph.server",function(a){p(a)&&(fl=a);return fl});F("acgraph.StageType.SVG",il);F("acgraph.StageType.VML","vml");F("acgraph.rect",pg);F("acgraph.circle",qg);F("acgraph.ellipse",rg);F("acgraph.path",sg);F("acgraph.text",$g);F("acgraph.layer",Yg);
F("acgraph.image",ah);F("acgraph.hatchFill",he);F("acgraph.patternFill",be);F("acgraph.clip",og);F("acgraph.useAbsoluteReferences",function(a){if(p(a))od=a;else return!!Si()});F("acgraph.updateReferences",function(){var a=xm;xm=void 0;if(p(a)&&Si()!=a){var b=fg,c;for(c in wm)if(wm.hasOwnProperty(c)){var a=wm[c],d=a.Z();d&&(a instanceof cg&&(d.Gb()?a.ja(512):a.wb(512)||b.xv(a)),a instanceof ng&&(d.Gb()?a.ja(24):(a.wb(8)||Ri(b,a),a.wb(16)||Vi(b,a))))}}});var ym,zm;F("anychart.VERSION","7.13.1.1364");F("anychart.DEVELOP",!0);F("anychart.DEFAULT_THEME","defaultTheme");F("anychart.PERFORMANCE_MONITORING",!1);function Am(a){a=String(a).toLowerCase();switch(a){case "byspot":case "spot":case "sp":return"bySpot";case "single":case "s":return"single"}return"byX"}function Bm(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 Cm(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 Dm(a,b){a=String(a).toLowerCase();switch(a){case "lefttop":case "topleft":case "lt":case "tl":return"leftTop";case "leftcenter":case "centerleft":case "left":case "lc":case "cl":case "l":return"leftCenter";case "leftbottom":case "bottomleft":case "lb":case "bl":return"leftBottom";case "centertop":case "topcenter":case "top":case "ct":case "tc":case "t":return"centerTop";case "centercenter":case "center":case "c":return"center";case "centerbottom":case "bottomcenter":case "bottom":case "cb":case "bc":case "b":return"centerBottom";
case "righttop":case "topright":case "tr":case "rt":return"rightTop";case "rightcenter":case "centerright":case "right":case "rc":case "cr":case "r":return"rightCenter";case "rightbottom":case "bottomright":case "rb":case "br":return"rightBottom";case "auto":case "null":return"auto"}return p(b)?b:"leftTop"}function Em(a,b){a=Dm(a,b);return"auto"==a&&p(b)?b:a}
function Fm(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 Gm(a){a=String(a).toLowerCase();switch(a){case "horizontal":case "h":case "horz":case "horiz":return"horizontal"}return"vertical"}
function Hm(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 Im(a){a=String(a).toLowerCase();switch(a){case "radial":case "r":case "rad":return"radial"}return"circuit"}
function Jm(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 Km(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 Lm={CP:"circle",GQ:"square",VQ:"triangleUp",TP:"diamond",SQ:"triangleDown",UQ:"triangleRight",TQ:"triangleLeft",FP:"cross",UD:"diagonalCross",IQ:"star4",JQ:"star5",KQ:"star6",LQ:"star7",HQ:"star10",fQ:"pentagon",RQ:"trapezium",aQ:"line",ZQ:"vline",aP:"arrowhead",eP:"arrowUp",dP:"arrowRight",bP:"arrowDown",cP:"arrowLeft"};
function Mm(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 Nm(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 Om;case "line":return Pm;case "ellipse":return Qm;case "bar":return Rm;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 Sm(a,b,c){a=String(a).toLowerCase();switch(a){case "no":case "false":case "nooverlap":case "none":case "null":case "forbid":case "0":return"noOverlap";case "yes":case "allow":case "overlap":case "allowoverlap":case "true":case "1":return"allowOverlap";case "autowidth":if(c)return"autoWidth"}return b||"allowOverlap"}
function Tm(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 Um(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 Om="x",Pm="line",Qm="ellipse",Rm="bar";function Vm(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 Wm(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 Xm(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 Ym(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 Zm(a,b){a=String(a).toLowerCase();switch(a){case "sma":return"sma";case "ema":return"ema"}return b||"sma"}function $m(){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 an(a){a=String(a).toLowerCase();switch(a){case "raw":return"raw";case "grouped":return"grouped"}return"specific"}
function bn(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 cn(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 dn(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 en(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 fn(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 gn(a){a=String(a).toLowerCase();switch(a){case "italic":case "i":return"italic";case "oblique":case "o":return"oblique"}return"normal"}function hn(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 jn(a){a=String(a).toLowerCase();switch(a){case "rtl":case "r":return"rtl"}return"ltr"}
function kn(a){a=String(a).toLowerCase();switch(a){case "nowrap":case "no":case "n":return"noWrap";default:return"byLetter"}}
function ln(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 mn(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 nn(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 on(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"}
var pn={fP:"average",pD:"bubbleSize",qD:"bubbleSizePercentOfCategory",rD:"bubbleSizePercentOfSeries",sD:"bubbleSizePercentOfTotal",iP:"categoryName",tD:"categoryYAverage",kP:"categoryYMax",uD:"categoryYMedian",nP:"categoryYMin",vD:"categoryYMode",wD:"categoryYPercentOfTotal",qP:"categoryYRangeAverage",xD:"categoryYRangeMax",tP:"categoryYRangeMedian",yD:"categoryYRangeMin",wP:"categoryYRangeMode",zD:"categoryYRangePercentOfTotal",AD:"categoryYRangeSum",BD:"categoryYSum",CD:"close",EP:"count",DD:"dataPlotBubbleMaxSize",
ED:"dataPlotBubbleMinSize",FD:"dataPlotBubbleSizeAverage",GD:"dataPlotBubbleSizeSum",KP:"dataPlotMaxXSumSeriesName",MP:"dataPlotMaxYSumSeriesName",LP:"dataPlotMaxXValuePointSeriesName",NP:"dataPlotMaxYValuePointSeriesName",OP:"dataPlotMinXSumSeriesName",QP:"dataPlotMinYSumSeriesName",PP:"dataPlotMinXValuePointSeriesName",RP:"dataPlotMinYValuePointSeriesName",HD:"dataPlotPointCount",ID:"dataPlotSeriesCount",JD:"dataPlotXAverage",KD:"dataPlotXMax",LD:"dataPlotXMin",MD:"dataPlotXSum",ND:"dataPlotYAverage",
OD:"dataPlotYMax",PD:"dataPlotYMin",QD:"dataPlotYRangeMax",RD:"dataPlotYRangeMin",SD:"dataPlotYRangeSum",TD:"dataPlotYSum",WD:"high",XD:"index",YD:"low",bQ:"max",dQ:"min",eQ:"name",OPEN:"open",vQ:"pointsCount",sQ:"pertChartCriticalPathStandardDeviation",tQ:"pertChartProjectDuration",dE:"range",eE:"rangeEnd",fE:"rangeStart",xQ:"seriesAverage",hE:"seriesBubbleMaxSize",iE:"seriesBubbleMinSize",jE:"seriesBubbleSizeAverage",kE:"seriesBubbleSizeMedian",lE:"seriesBubbleSizeMode",mE:"seriesBubbleSizeSum",
nE:"seriesFirstXValue",oE:"seriesFirstYValue",pE:"seriesLastXValue",qE:"seriesLastYValue",yQ:"seriesMax",zQ:"seriesMin",AQ:"seriesName",sE:"seriesPointCount",rE:"seriesPointsCount",BQ:"seriesSum",tE:"seriesXAverage",uE:"seriesXMax",vE:"seriesXMedian",wE:"seriesXMin",xE:"seriesXMode",yE:"seriesXSum",zE:"seriesYAverage",AE:"seriesYMax",BE:"seriesYMedian",CE:"seriesYMin",DE:"seriesYMode",CQ:"seriesYRangeAverage",EE:"seriesYRangeMax",DQ:"seriesYRangeMedian",FE:"seriesYRangeMin",EQ:"seriesYRangeMode",
GE:"seriesYRangeSum",HE:"seriesYSum",OQ:"sum",IE:"value",aE:"percentValue",KE:"xPercentOfSeries",LE:"xPercentOfTotal",ME:"xValue",NE:"yPercentOfCategory",OE:"yPercentOfSeries",PE:"yPercentOfTotal",QE:"yValue",zP:"catYSumArr_",oP:"catYMinArr_",lP:"catYMaxArr_",jP:"catYAvgArr_",mP:"catYMedianArr_",pP:"catYModeArr_",yP:"catYRangeSumArr_",vP:"catYRangeMinArr_",sP:"catYRangeMaxArr_",rP:"catYRangeAvgArr_",uP:"catYRangeMedianArr_",xP:"catYRangeModeArr_"},qn={},rn;
for(rn in pn)pn.hasOwnProperty(rn)&&(qn[rn]=pn[rn].toLowerCase());
function sn(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 tn(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",Om);F("anychart.enums.BulletMarkerType.BAR",Rm);F("anychart.enums.BulletMarkerType.ELLIPSE",Qm);F("anychart.enums.BulletMarkerType.LINE",Pm);
F("anychart.enums.MarkerType.CIRCLE","circle");F("anychart.enums.MarkerType.SQUARE","square");F("anychart.enums.MarkerType.TRIANGLE_UP","triangleUp");F("anychart.enums.MarkerType.DIAMOND","diamond");F("anychart.enums.MarkerType.TRIANGLE_DOWN","triangleDown");F("anychart.enums.MarkerType.TRIANGLE_LEFT","triangleLeft");F("anychart.enums.MarkerType.TRIANGLE_RIGHT","triangleRight");F("anychart.enums.MarkerType.CROSS","cross");F("anychart.enums.MarkerType.DIAGONAL_CROSS","diagonalCross");
F("anychart.enums.MarkerType.STAR4","star4");F("anychart.enums.MarkerType.STAR5","star5");F("anychart.enums.MarkerType.STAR6","star6");F("anychart.enums.MarkerType.STAR7","star7");F("anychart.enums.MarkerType.STAR10","star10");F("anychart.enums.MarkerType.PENTAGON","pentagon");F("anychart.enums.MarkerType.TRAPEZIUM","trapezium");F("anychart.enums.MarkerType.LINE","line");F("anychart.enums.MapAsTableMode.VALUE","value");F("anychart.enums.MapAsTableMode.RANGE","range");
F("anychart.enums.MapAsTableMode.OHLC","ohlc");F("anychart.enums.MapProjections.BONNE","bonne");F("anychart.enums.MapProjections.AITOFF","aitoff");F("anychart.enums.MapProjections.AUGUST","august");F("anychart.enums.MapProjections.ECKERT1","eckert1");F("anychart.enums.MapProjections.ECKERT3","eckert3");F("anychart.enums.MapProjections.EQUIRECTANGULAR","equirectangular");F("anychart.enums.MapProjections.FAHEY","fahey");F("anychart.enums.MapProjections.HAMMER","hammer");
F("anychart.enums.MapProjections.MERCATOR","mercator");F("anychart.enums.MapProjections.ORTHOGRAPHIC","orthographic");F("anychart.enums.MapProjections.ROBINSON","robinson");F("anychart.enums.MapProjections.WAGNER6","wagner6");F("anychart.enums.MapProjections.WSG84","wsg84");F("anychart.enums.MapGridZIndex.UNDER_MAP",5);F("anychart.enums.MapGridZIndex.OVER_MAP",45);F("anychart.enums.MapUnboundRegionsMode.AS_IS","asis");F("anychart.enums.MapUnboundRegionsMode.HIDE","hide");
F("anychart.enums.MapPointMiddlePositionMode.ABSOLUTE","absolute");F("anychart.enums.MapPointMiddlePositionMode.RELATIVE","relative");F("anychart.enums.MapPointOutsidePositionMode.RELATIVE","relative");F("anychart.enums.MapPointOutsidePositionMode.ABSOLUTE","absolute");F("anychart.enums.MapPointOutsidePositionMode.OFFSET","offset");F("anychart.enums.TreeFillingMethod.AS_TREE","asTree");F("anychart.enums.TreeFillingMethod.AS_TABLE","asTable");F("anychart.enums.LabelsOverlapMode.ALLOW_OVERLAP","allowOverlap");
F("anychart.enums.LabelsOverlapMode.NO_OVERLAP","noOverlap");F("anychart.enums.BackgroundCornersType.NONE","none");F("anychart.enums.BackgroundCornersType.ROUND","round");F("anychart.enums.BackgroundCornersType.CUT","cut");F("anychart.enums.BackgroundCornersType.ROUND_INNER","roundInner");F("anychart.enums.LegendItemIconType.AREA","area");F("anychart.enums.LegendItemIconType.BAR","bar");F("anychart.enums.LegendItemIconType.BUBBLE","bubble");F("anychart.enums.LegendItemIconType.CANDLESTICK","candlestick");
F("anychart.enums.LegendItemIconType.COLUMN","column");F("anychart.enums.LegendItemIconType.LINE","line");F("anychart.enums.LegendItemIconType.MARKER","marker");F("anychart.enums.LegendItemIconType.OHLC","ohlc");F("anychart.enums.LegendItemIconType.RANGE_AREA","rangearea");F("anychart.enums.LegendItemIconType.RANGE_BAR","rangebar");F("anychart.enums.LegendItemIconType.RANGE_COLUMN","rangecolumn");F("anychart.enums.LegendItemIconType.RANGE_SPLINE_AREA","rangesplinearea");
F("anychart.enums.LegendItemIconType.RANGE_STEP_AREA","rangesteparea");F("anychart.enums.LegendItemIconType.SPLINE","spline");F("anychart.enums.LegendItemIconType.SPLINE_AREA","splinearea");F("anychart.enums.LegendItemIconType.STEP_LINE","stepline");F("anychart.enums.LegendItemIconType.STEP_AREA","steparea");F("anychart.enums.LegendItemIconType.CIRCLE","circle");F("anychart.enums.LegendItemIconType.SQUARE","square");F("anychart.enums.LegendItemsSourceMode.DEFAULT","default");
F("anychart.enums.LegendItemsSourceMode.CATEGORIES","categories");F("anychart.enums.SidePosition.INSIDE","inside");F("anychart.enums.SidePosition.OUTSIDE","outside");F("anychart.enums.PyramidLabelsPosition.INSIDE","inside");F("anychart.enums.PyramidLabelsPosition.OUTSIDE_LEFT","outsideLeft");F("anychart.enums.PyramidLabelsPosition.OUTSIDE_LEFT_IN_COLUMN","outsideLeftInColumn");F("anychart.enums.PyramidLabelsPosition.OUTSIDE_RIGHT","outsideRight");
F("anychart.enums.PyramidLabelsPosition.OUTSIDE_RIGHT_IN_COLUMN","outsideRightInColumn");F("anychart.enums.GaugeSidePosition.INSIDE","inside");F("anychart.enums.GaugeSidePosition.CENTER","center");F("anychart.enums.GaugeSidePosition.OUTSIDE","outside");F("anychart.enums.EventType.POINT_MOUSE_OUT","pointmouseout");F("anychart.enums.EventType.POINT_MOUSE_OVER","pointmouseover");F("anychart.enums.EventType.POINT_MOUSE_DOWN","pointmousedown");F("anychart.enums.EventType.POINT_MOUSE_UP","pointmouseup");
F("anychart.enums.EventType.POINT_MOUSE_MOVE","pointmousemove");F("anychart.enums.EventType.POINT_CLICK","pointclick");F("anychart.enums.EventType.POINT_DBLCLICK","pointdblclick");F("anychart.enums.EventType.POINT_HOVER","pointhover");F("anychart.enums.EventType.POINTS_SELECT","pointsselect");F("anychart.enums.EventType.POINTS_HOVER","pointshover");F("anychart.enums.EventType.DRILL_CHANGE","drillchange");F("anychart.enums.EventType.CHART_DRAW","chartdraw");
F("anychart.enums.EventType.ANIMATION_START","animationstart");F("anychart.enums.EventType.ANIMATION_END","animationend");F("anychart.enums.EventType.ZOOM_START","zoomstart");F("anychart.enums.EventType.ZOOM","zoom");F("anychart.enums.EventType.ZOOM_END","zoomend");F("anychart.enums.EventType.LEGEND_ITEM_MOUSE_OUT","legenditemmouseout");F("anychart.enums.EventType.LEGEND_ITEM_MOUSE_OVER","legenditemmouseover");F("anychart.enums.EventType.LEGEND_ITEM_MOUSE_MOVE","legenditemmousemove");
F("anychart.enums.EventType.LEGEND_ITEM_MOUSE_DOWN","legenditemmousedown");F("anychart.enums.EventType.LEGEND_ITEM_MOUSE_UP","legenditemmouseup");F("anychart.enums.EventType.LEGEND_ITEM_CLICK","legenditemclick");F("anychart.enums.EventType.LEGEND_ITEM_DBLCLICK","legenditemdblclick");F("anychart.enums.EventType.DRAG_START","dragstart");F("anychart.enums.EventType.DRAG","drag");F("anychart.enums.EventType.DRAG_END","dragend");F("anychart.enums.EventType.SCROLL_CHANGE","scrollchange");
F("anychart.enums.EventType.SPLITTER_CHANGE","splitterchange");F("anychart.enums.EventType.SIGNAL","signal");F("anychart.enums.EventType.ROW_SELECT","rowSelect");F("anychart.enums.EventType.ROW_CLICK","rowClick");F("anychart.enums.EventType.ROW_DBL_CLICK","rowDblClick");F("anychart.enums.EventType.ROW_MOUSE_OVER","rowMouseOver");F("anychart.enums.EventType.ROW_MOUSE_OUT","rowMouseOut");F("anychart.enums.EventType.ROW_MOUSE_MOVE","rowMouseMove");F("anychart.enums.EventType.ROW_MOUSE_DOWN","rowMouseDown");
F("anychart.enums.EventType.ROW_MOUSE_UP","rowMouseUp");F("anychart.enums.EventType.CONNECTOR_SELECT","connectorselect");F("anychart.enums.EventType.CONNECTOR_CLICK","connectorclick");F("anychart.enums.EventType.CONNECTOR_DBL_CLICK","connectordblclick");F("anychart.enums.EventType.CONNECTOR_MOUSE_OVER","connectormouseover");F("anychart.enums.EventType.CONNECTOR_MOUSE_OUT","connectormouseout");F("anychart.enums.EventType.CONNECTOR_MOUSE_MOVE","connectormousemove");
F("anychart.enums.EventType.CONNECTOR_MOUSE_DOWN","connectormousedown");F("anychart.enums.EventType.CONNECTOR_MOUSE_UP","connectormouseup");F("anychart.enums.EventType.ROW_COLLAPSE_EXPAND","rowcollapseexpand");F("anychart.enums.EventType.BEFORE_CREATE_CONNECTOR","beforeCreateConnector");F("anychart.enums.EventType.TREE_ITEM_CREATE","treeItemCreate");F("anychart.enums.EventType.TREE_ITEM_MOVE","treeItemMove");F("anychart.enums.EventType.TREE_ITEM_REMOVE","treeItemRemove");
F("anychart.enums.EventType.TREE_ITEM_UPDATE","treeItemUpdate");F("anychart.enums.ScaleStackMode.NONE","none");F("anychart.enums.ScaleStackMode.VALUE","value");F("anychart.enums.ScaleStackMode.PERCENT","percent");F("anychart.enums.ScaleComparisonMode.NONE","none");F("anychart.enums.ScaleComparisonMode.VALUE","value");F("anychart.enums.ScaleComparisonMode.PERCENT","percent");F("anychart.enums.ScaleCompareWithMode.SERIES_START","seriesStart");F("anychart.enums.ScaleCompareWithMode.FIRST_VISIBLE","firstVisible");
F("anychart.enums.ScatterTicksMode.LINEAR","linear");F("anychart.enums.ScatterTicksMode.LOGARITHMIC","logarithmic");F("anychart.enums.SparklineSeriesType.AREA","area");F("anychart.enums.SparklineSeriesType.LINE","line");F("anychart.enums.SparklineSeriesType.COLUMN","column");F("anychart.enums.SparklineSeriesType.WIN_LOSS","winLoss");F("anychart.enums.LinearGaugePointerType.BAR","bar");F("anychart.enums.LinearGaugePointerType.RANGE_BAR","rangeBar");
F("anychart.enums.LinearGaugePointerType.THERMOMETER","thermometer");F("anychart.enums.LinearGaugePointerType.MARKER","marker");F("anychart.enums.LinearGaugePointerType.TANK","tank");F("anychart.enums.LinearGaugePointerType.LED","led");F("anychart.enums.GanttDataFields.ACTUAL","actual");F("anychart.enums.GanttDataFields.ACTUAL_START","actualStart");F("anychart.enums.GanttDataFields.ACTUAL_END","actualEnd");F("anychart.enums.GanttDataFields.BASELINE_START","baselineStart");
F("anychart.enums.GanttDataFields.BASELINE_END","baselineEnd");F("anychart.enums.GanttDataFields.CHILDREN","children");F("anychart.enums.GanttDataFields.PROGRESS","progress");F("anychart.enums.GanttDataFields.PROGRESS_VALUE","progressValue");F("anychart.enums.GanttDataFields.MILESTONE","milestone");F("anychart.enums.GanttDataFields.NAME","name");F("anychart.enums.GanttDataFields.COLLAPSED","collapsed");F("anychart.enums.GanttDataFields.ROW_HEIGHT","rowHeight");
F("anychart.enums.GanttDataFields.ID","id");F("anychart.enums.GanttDataFields.PERIODS","periods");F("anychart.enums.GanttDataFields.PARENT","parent");F("anychart.enums.GanttDataFields.START","start");F("anychart.enums.GanttDataFields.END","end");F("anychart.enums.GanttDataFields.FILL","fill");F("anychart.enums.GanttDataFields.STROKE","stroke");F("anychart.enums.GanttDataFields.HOVER_FILL","hoverFill");F("anychart.enums.GanttDataFields.HOVER_STROKE","hoverStroke");
F("anychart.enums.GanttDataFields.CONNECT_TO","connectTo");F("anychart.enums.GanttDataFields.CONNECTOR","connector");F("anychart.enums.GanttDataFields.CONNECTOR_TYPE","connectorType");F("anychart.enums.GanttDataFields.START_MARKER","startMarker");F("anychart.enums.GanttDataFields.END_MARKER","endMarker");F("anychart.enums.GanttDataFields.LABEL","label");F("anychart.enums.GanttRangeAnchor.FIRST_DATE","firstDate");F("anychart.enums.GanttRangeAnchor.FIRST_VISIBLE_DATE","firstVisibleDate");
F("anychart.enums.GanttRangeAnchor.LAST_DATE","lastDate");F("anychart.enums.GanttRangeAnchor.LAST_VISIBLE_DATE","lastVisibleDate");F("anychart.enums.ConnectorType.FINISH_START","finishstart");F("anychart.enums.ConnectorType.FINISH_FINISH","finishfinish");F("anychart.enums.ConnectorType.START_FINISH","startfinish");F("anychart.enums.ConnectorType.START_START","startstart");F("anychart.enums.ColumnFormats.DIRECT_NUMBERING","directNumbering");F("anychart.enums.ColumnFormats.TEXT","text");
F("anychart.enums.ColumnFormats.SHORT_TEXT","shortText");F("anychart.enums.ColumnFormats.PERCENT","percent");F("anychart.enums.ColumnFormats.DATE_COMMON_LOG","dateCommonLog");F("anychart.enums.ColumnFormats.DATE_ISO_8601","dateIso8601");F("anychart.enums.ColumnFormats.DATE_US_SHORT","dateUsShort");F("anychart.enums.ColumnFormats.DATE_DMY_DOTS","dateDmyDots");F("anychart.enums.ColumnFormats.FINANCIAL","financial");F("anychart.enums.GanttDateTimeMarkers.START","start");
F("anychart.enums.GanttDateTimeMarkers.END","end");F("anychart.enums.GanttDateTimeMarkers.CURRENT","current");F("anychart.enums.DataField.DEPENDS_ON","dependsOn");F("anychart.enums.DataField.OPTIMISTIC","optimistic");F("anychart.enums.DataField.PESSIMISTIC","pessimistic");F("anychart.enums.DataField.MOST_LIKELY","mostLikely");F("anychart.enums.DataField.EXPECTED","expected");F("anychart.enums.DataField.FROM","from");F("anychart.enums.DataField.TO","to");F("anychart.enums.DataField.ID","id");
F("anychart.enums.DataField.NAME","name");F("anychart.enums.Interval.YEARS","year");F("anychart.enums.Interval.MONTHS","month");F("anychart.enums.Interval.DAYS","day");F("anychart.enums.Interval.HOURS","hour");F("anychart.enums.Interval.MINUTES","minute");F("anychart.enums.Interval.SECONDS","second");F("anychart.enums.Interval.YEAR","year");F("anychart.enums.Interval.SEMESTER","semester");F("anychart.enums.Interval.QUARTER","quarter");F("anychart.enums.Interval.MONTH","month");
F("anychart.enums.Interval.THIRD_OF_MONTH","thirdofmonth");F("anychart.enums.Interval.WEEK","week");F("anychart.enums.Interval.DAY","day");F("anychart.enums.Interval.HOUR","hour");F("anychart.enums.Interval.MINUTE","minute");F("anychart.enums.Interval.SECOND","second");F("anychart.enums.Interval.MILLISECOND","millisecond");F("anychart.enums.ErrorMode.NONE","none");F("anychart.enums.ErrorMode.X","x");F("anychart.enums.ErrorMode.VALUE","value");F("anychart.enums.ErrorMode.BOTH","both");
F("anychart.enums.ScaleTypes.LINEAR","linear");F("anychart.enums.ScaleTypes.LOG","log");F("anychart.enums.ScaleTypes.DATE_TIME","dateTime");F("anychart.enums.ScaleTypes.ORDINAL","ordinal");F("anychart.enums.ScatterScaleTypes.LINEAR","linear");F("anychart.enums.ScatterScaleTypes.LOG","log");F("anychart.enums.ScatterScaleTypes.DATE_TIME","dateTime");F("anychart.enums.GaugeScaleTypes.LINEAR","linear");F("anychart.enums.GaugeScaleTypes.LOG","log");F("anychart.enums.AggregationType.AVERAGE","average");
F("anychart.enums.AggregationType.FIRST","first");F("anychart.enums.AggregationType.FIRST_VALUE","firstValue");F("anychart.enums.AggregationType.LAST","last");F("anychart.enums.AggregationType.LAST_VALUE","lastValue");F("anychart.enums.AggregationType.LIST","list");F("anychart.enums.AggregationType.MAX","max");F("anychart.enums.AggregationType.MIN","min");F("anychart.enums.AggregationType.SUM","sum");F("anychart.enums.AggregationType.WEIGHTED_AVERAGE","weightedAverage");
F("anychart.enums.TooltipDisplayMode.UNION","union");F("anychart.enums.TooltipDisplayMode.SEPARATED","separated");F("anychart.enums.TooltipDisplayMode.SINGLE","single");F("anychart.enums.TooltipPositionMode.FLOAT","float");F("anychart.enums.TooltipPositionMode.POINT","point");F("anychart.enums.TooltipPositionMode.CHART","chart");F("anychart.enums.CrosshairDisplayMode.FLOAT","float");F("anychart.enums.CrosshairDisplayMode.STICKY","sticky");F("anychart.enums.StockLabelsOverlapMode.NO_OVERLAP","noOverlap");
F("anychart.enums.StockLabelsOverlapMode.ALLOW_OVERLAP","allowOverlap");F("anychart.enums.StockLabelsOverlapMode.ALLOW_MAJOR_OVERLAP","allowMajorOverlap");F("anychart.enums.StockLabelsOverlapMode.ALLOW_MINOR_OVERLAP","allowMinorOverlap");F("anychart.enums.StockRangeType.UNIT","Unit");F("anychart.enums.StockRangeType.YTD","YTD");F("anychart.enums.StockRangeType.QTD","QTD");F("anychart.enums.StockRangeType.MTD","MTD");F("anychart.enums.StockRangeType.MAX","Max");
F("anychart.enums.StockRangeAnchor.FIRST_DATE","firstDate");F("anychart.enums.StockRangeAnchor.FIRST_VISIBLE_DATE","firstVisibleDate");F("anychart.enums.StockRangeAnchor.LAST_VISIBLE_DATE","lastVisibleDate");F("anychart.enums.StockRangeAnchor.LAST_DATE","lastDate");F("anychart.enums.TableSearchMode.EXACT_OR_PREV","exactOrPrev");F("anychart.enums.TableSearchMode.EXACT","exact");F("anychart.enums.TableSearchMode.EXACT_OR_NEXT","exactOrNext");F("anychart.enums.TableSearchMode.NEAREST","nearest");
F("anychart.enums.ChartScrollerPosition.AFTER_AXES","afterAxes");F("anychart.enums.ChartScrollerPosition.BEFORE_AXES","beforeAxes");F("anychart.enums.LabelsDisplayMode.ALWAYS_SHOW","alwaysShow");F("anychart.enums.LabelsDisplayMode.DROP","drop");F("anychart.enums.LabelsDisplayMode.CLIP","clip");F("anychart.enums.StepDirection.CENTER","center");F("anychart.enums.StepDirection.FORWARD","forward");F("anychart.enums.StepDirection.BACKWARD","backward");F("anychart.enums.TokenType.UNKNOWN","");
F("anychart.enums.TokenType.NUMBER","number");F("anychart.enums.TokenType.STRING","string");F("anychart.enums.TokenType.DATE_TIME","datetime");F("anychart.enums.TokenType.PERCENT","percent");F("anychart.enums.StringToken.AXIS_NAME","%AxisName");F("anychart.enums.StringToken.AXIS_SCALE_MAX","%AxisScaleMax");F("anychart.enums.StringToken.AXIS_SCALE_MIN","%AxisScaleMin");F("anychart.enums.StringToken.BUBBLE_SIZE","%BubbleSize");F("anychart.enums.StringToken.BUBBLE_SIZE_PERCENT_OF_CATEGORY","%BubbleSizePercentOfCategory");
F("anychart.enums.StringToken.BUBBLE_SIZE_PERCENT_OF_SERIES","%BubbleSizePercentOfSeries");F("anychart.enums.StringToken.BUBBLE_SIZE_PERCENT_OF_TOTAL","%BubbleSizePercentOfTotal");F("anychart.enums.StringToken.CATEGORY_NAME","%CategoryName");F("anychart.enums.StringToken.CATEGORY_Y_AVERAGE","%CategoryYAverage");F("anychart.enums.StringToken.CATEGORY_Y_MEDIAN","%CategoryYMedian");F("anychart.enums.StringToken.CATEGORY_Y_MODE","%CategoryYMode");
F("anychart.enums.StringToken.CATEGORY_Y_PERCENT_OF_TOTAL","%CategoryYPercentOfTotal");F("anychart.enums.StringToken.CATEGORY_Y_RANGE_AVERAGE","%CategoryYRangeAverage");F("anychart.enums.StringToken.CATEGORY_Y_RANGE_PERCENT_OF_TOTAL","%CategoryYRangePercentOfTotal");F("anychart.enums.StringToken.CATEGORY_Y_RANGE_MAX","%CategoryYRangeMax");F("anychart.enums.StringToken.CATEGORY_Y_RANGE_MIN","%CategoryYRangeMin");F("anychart.enums.StringToken.CATEGORY_Y_RANGE_MEDIAN","%CategoryYRangeMedian");
F("anychart.enums.StringToken.CATEGORY_Y_RANGE_MODE","%CategoryYRangeMode");F("anychart.enums.StringToken.CATEGORY_Y_RANGE_SUM","%CategoryYRangeSum");F("anychart.enums.StringToken.CATEGORY_Y_SUM","%CategoryYSum");F("anychart.enums.StringToken.CLOSE","%Close");F("anychart.enums.StringToken.DATA_PLOT_BUBBLE_MAX_SIZE","%DataPlotBubbleMaxSize");F("anychart.enums.StringToken.DATA_PLOT_BUBBLE_MIN_SIZE","%DataPlotBubbleMinSize");F("anychart.enums.StringToken.DATA_PLOT_BUBBLE_SIZE_AVERAGE","%DataPlotBubbleSizeAverage");
F("anychart.enums.StringToken.DATA_PLOT_BUBBLE_SIZE_SUM","%DataPlotBubbleSizeSum");F("anychart.enums.StringToken.DATA_PLOT_MAX_Y_SUM_SERIES_NAME","%DataPlotMaxYSumSeriesName");F("anychart.enums.StringToken.DATA_PLOT_MAX_Y_VALUE_POINT_NAME","%DataPlotMaxYValuePointName");F("anychart.enums.StringToken.DATA_PLOT_MAX_Y_VALUE_POINT_SERIES_NAME","%DataPlotMaxYValuePointSeriesName");F("anychart.enums.StringToken.DATA_PLOT_MIN_Y_SUM_SERIES_NAME","%DataPlotMinYSumSeriesName");
F("anychart.enums.StringToken.DATA_PLOT_MIN_Y_VALUE_POINT_NAME","%DataPlotMinYValuePointName");F("anychart.enums.StringToken.DATA_PLOT_MIN_Y_VALUE_POINT_SERIES_NAME","%DataPlotMinYValuePointSeriesName");F("anychart.enums.StringToken.DATA_PLOT_POINT_COUNT","%DataPlotPointCount");F("anychart.enums.StringToken.DATA_PLOT_SERIES_COUNT","%DataPlotSeriesCount");F("anychart.enums.StringToken.DATA_PLOT_X_AVERAGE","%DataPlotXAverage");F("anychart.enums.StringToken.DATA_PLOT_X_MAX","%DataPlotXMax");
F("anychart.enums.StringToken.DATA_PLOT_X_MIN","%DataPlotXMin");F("anychart.enums.StringToken.DATA_PLOT_X_SUM","%DataPlotXSum");F("anychart.enums.StringToken.DATA_PLOT_Y_AVERAGE","%DataPlotYAverage");F("anychart.enums.StringToken.DATA_PLOT_Y_MAX","%DataPlotYMax");F("anychart.enums.StringToken.DATA_PLOT_Y_MIN","%DataPlotYMin");F("anychart.enums.StringToken.DATA_PLOT_Y_RANGE_MAX","%DataPlotYRangeMax");F("anychart.enums.StringToken.DATA_PLOT_Y_RANGE_MIN","%DataPlotYRangeMin");
F("anychart.enums.StringToken.DATA_PLOT_Y_RANGE_SUM","%DataPlotYRangeSum");F("anychart.enums.StringToken.DATA_PLOT_Y_SUM","%DataPlotYSum");F("anychart.enums.StringToken.HIGH","%High");F("anychart.enums.StringToken.INDEX","%Index");F("anychart.enums.StringToken.LOW","%Low");F("anychart.enums.StringToken.NAME","%Name");F("anychart.enums.StringToken.OPEN","%Open");F("anychart.enums.StringToken.PERT_CHART_CRITICAL_PATH_STANDARD_DEVIATION","%PertChartCriticalPathStandardDeviation");
F("anychart.enums.StringToken.PERT_CHART_PROJECT_DURATION","%PertChartProjectDuration");F("anychart.enums.StringToken.RANGE","%Range");F("anychart.enums.StringToken.RANGE_END","%RangeEnd");F("anychart.enums.StringToken.RANGE_START","%RangeStart");F("anychart.enums.StringToken.SERIES_BUBBLE_MAX_SIZE","%SeriesBubbleMaxSize");F("anychart.enums.StringToken.SERIES_BUBBLE_MIN_SIZE","%SeriesBubbleMinSize");F("anychart.enums.StringToken.SERIES_BUBBLE_SIZE_AVERAGE","%SeriesBubbleSizeAverage");
F("anychart.enums.StringToken.SERIES_BUBBLE_SIZE_MEDIAN","%SeriesBubbleSizeMedian");F("anychart.enums.StringToken.SERIES_BUBBLE_SIZE_MODE","%SeriesBubbleSizeMode");F("anychart.enums.StringToken.SERIES_BUBBLE_SIZE_SUM","%SeriesBubbleSizeSum");F("anychart.enums.StringToken.SERIES_FIRST_X_VALUE","%SeriesFirstXValue");F("anychart.enums.StringToken.SERIES_FIRST_Y_VALUE","%SeriesFirstYValue");F("anychart.enums.StringToken.SERIES_LAST_X_VALUE","%SeriesLastXValue");
F("anychart.enums.StringToken.SERIES_LAST_Y_VALUE","%SeriesLastYValue");F("anychart.enums.StringToken.SERIES_MIN","%SeriesMin");F("anychart.enums.StringToken.SERIES_MAX","%SeriesMax");F("anychart.enums.StringToken.SERIES_NAME","%SeriesName");F("anychart.enums.StringToken.SERIES_POINT_COUNT","%SeriesPointCount");F("anychart.enums.StringToken.SERIES_X_AVERAGE","%SeriesXAverage");F("anychart.enums.StringToken.SERIES_X_AXIS_NAME","%SeriesXAxisName");F("anychart.enums.StringToken.SERIES_X_MAX","%SeriesXMax");
F("anychart.enums.StringToken.SERIES_X_MEDIAN","%SeriesXMedian");F("anychart.enums.StringToken.SERIES_X_MIN","%SeriesXMin");F("anychart.enums.StringToken.SERIES_X_MODE","%SeriesXMode");F("anychart.enums.StringToken.SERIES_X_SUM","%SeriesXSum");F("anychart.enums.StringToken.SERIES_Y_AVERAGE","%SeriesYAverage");F("anychart.enums.StringToken.SERIES_Y_AXIS_NAME","%SeriesYAxisName");F("anychart.enums.StringToken.SERIES_Y_MAX","%SeriesYMax");F("anychart.enums.StringToken.SERIES_Y_MEDIAN","%SeriesYMedian");
F("anychart.enums.StringToken.SERIES_Y_MIN","%SeriesYMin");F("anychart.enums.StringToken.SERIES_Y_MODE","%SeriesYMode");F("anychart.enums.StringToken.SERIES_Y_RANGE_MAX","%SeriesYRangeMax");F("anychart.enums.StringToken.SERIES_Y_RANGE_MIN","%SeriesYRangeMin");F("anychart.enums.StringToken.SERIES_Y_RANGE_SUM","%SeriesYRangeSum");F("anychart.enums.StringToken.SERIES_Y_SUM","%SeriesYSum");F("anychart.enums.StringToken.VALUE","%Value");F("anychart.enums.StringToken.PERCENT_VALUE","%PercentValue");
F("anychart.enums.StringToken.X_PERCENT_OF_SERIES","%XPercentOfSeries");F("anychart.enums.StringToken.X_PERCENT_OF_TOTAL","%XPercentOfTotal");F("anychart.enums.StringToken.X_VALUE","%XValue");F("anychart.enums.StringToken.Y_PERCENT_OF_CATEGORY","%YPercentOfCategory");F("anychart.enums.StringToken.Y_PERCENT_OF_SERIES","%YPercentOfSeries");F("anychart.enums.StringToken.Y_PERCENT_OF_TOTAL","%YPercentOfTotal");F("anychart.enums.StringToken.Y_VALUE","%YValue");
F("anychart.enums.StringToken.RESOURCE_INDEX","resourceIndex");F("anychart.enums.StringToken.ACTIVITY_INDEX","activityIndex");F("anychart.enums.StringToken.START","start");F("anychart.enums.StringToken.END","end");F("anychart.enums.StringToken.MINUTES_PER_DAY","minutesPerDay");F("anychart.enums.Statistics.AVERAGE","average");F("anychart.enums.Statistics.BUBBLE_SIZE","bubbleSize");F("anychart.enums.Statistics.BUBBLE_SIZE_PERCENT_OF_CATEGORY","bubbleSizePercentOfCategory");
F("anychart.enums.Statistics.BUBBLE_SIZE_PERCENT_OF_SERIES","bubbleSizePercentOfSeries");F("anychart.enums.Statistics.BUBBLE_SIZE_PERCENT_OF_TOTAL","bubbleSizePercentOfTotal");F("anychart.enums.Statistics.CATEGORY_NAME","categoryName");F("anychart.enums.Statistics.CATEGORY_Y_AVERAGE","categoryYAverage");F("anychart.enums.Statistics.CATEGORY_Y_MAX","categoryYMax");F("anychart.enums.Statistics.CATEGORY_Y_MEDIAN","categoryYMedian");F("anychart.enums.Statistics.CATEGORY_Y_MIN","categoryYMin");
F("anychart.enums.Statistics.CATEGORY_Y_MODE","categoryYMode");F("anychart.enums.Statistics.CATEGORY_Y_PERCENT_OF_TOTAL","categoryYPercentOfTotal");F("anychart.enums.Statistics.CATEGORY_Y_RANGE_AVERAGE","categoryYRangeAverage");F("anychart.enums.Statistics.CATEGORY_Y_RANGE_MAX","categoryYRangeMax");F("anychart.enums.Statistics.CATEGORY_Y_RANGE_MEDIAN","categoryYRangeMedian");F("anychart.enums.Statistics.CATEGORY_Y_RANGE_MIN","categoryYRangeMin");
F("anychart.enums.Statistics.CATEGORY_Y_RANGE_MODE","categoryYRangeMode");F("anychart.enums.Statistics.CATEGORY_Y_RANGE_PERCENT_OF_TOTAL","categoryYRangePercentOfTotal");F("anychart.enums.Statistics.CATEGORY_Y_RANGE_SUM","categoryYRangeSum");F("anychart.enums.Statistics.CATEGORY_Y_SUM","categoryYSum");F("anychart.enums.Statistics.CLOSE","close");F("anychart.enums.Statistics.COUNT","count");F("anychart.enums.Statistics.DATA_PLOT_BUBBLE_MAX_SIZE","dataPlotBubbleMaxSize");
F("anychart.enums.Statistics.DATA_PLOT_BUBBLE_MIN_SIZE","dataPlotBubbleMinSize");F("anychart.enums.Statistics.DATA_PLOT_BUBBLE_SIZE_AVERAGE","dataPlotBubbleSizeAverage");F("anychart.enums.Statistics.DATA_PLOT_BUBBLE_SIZE_SUM","dataPlotBubbleSizeSum");F("anychart.enums.Statistics.DATA_PLOT_MAX_X_SUM_SERIES_NAME","dataPlotMaxXSumSeriesName");F("anychart.enums.Statistics.DATA_PLOT_MAX_Y_SUM_SERIES_NAME","dataPlotMaxYSumSeriesName");
F("anychart.enums.Statistics.DATA_PLOT_MAX_X_VALUE_POINT_SERIES_NAME","dataPlotMaxXValuePointSeriesName");F("anychart.enums.Statistics.DATA_PLOT_MAX_Y_VALUE_POINT_SERIES_NAME","dataPlotMaxYValuePointSeriesName");F("anychart.enums.Statistics.DATA_PLOT_MIN_X_SUM_SERIES_NAME","dataPlotMinXSumSeriesName");F("anychart.enums.Statistics.DATA_PLOT_MIN_Y_SUM_SERIES_NAME","dataPlotMinYSumSeriesName");F("anychart.enums.Statistics.DATA_PLOT_MIN_X_VALUE_POINT_SERIES_NAME","dataPlotMinXValuePointSeriesName");
F("anychart.enums.Statistics.DATA_PLOT_MIN_Y_VALUE_POINT_SERIES_NAME","dataPlotMinYValuePointSeriesName");F("anychart.enums.Statistics.DATA_PLOT_POINT_COUNT","dataPlotPointCount");F("anychart.enums.Statistics.DATA_PLOT_SERIES_COUNT","dataPlotSeriesCount");F("anychart.enums.Statistics.DATA_PLOT_X_AVERAGE","dataPlotXAverage");F("anychart.enums.Statistics.DATA_PLOT_X_MAX","dataPlotXMax");F("anychart.enums.Statistics.DATA_PLOT_X_MIN","dataPlotXMin");F("anychart.enums.Statistics.DATA_PLOT_X_SUM","dataPlotXSum");
F("anychart.enums.Statistics.DATA_PLOT_Y_AVERAGE","dataPlotYAverage");F("anychart.enums.Statistics.DATA_PLOT_Y_MAX","dataPlotYMax");F("anychart.enums.Statistics.DATA_PLOT_Y_MIN","dataPlotYMin");F("anychart.enums.Statistics.DATA_PLOT_Y_RANGE_MAX","dataPlotYRangeMax");F("anychart.enums.Statistics.DATA_PLOT_Y_RANGE_MIN","dataPlotYRangeMin");F("anychart.enums.Statistics.DATA_PLOT_Y_RANGE_SUM","dataPlotYRangeSum");F("anychart.enums.Statistics.DATA_PLOT_Y_SUM","dataPlotYSum");
F("anychart.enums.Statistics.HIGH","high");F("anychart.enums.Statistics.INDEX","index");F("anychart.enums.Statistics.LOW","low");F("anychart.enums.Statistics.NAME","name");F("anychart.enums.Statistics.MAX","max");F("anychart.enums.Statistics.MIN","min");F("anychart.enums.Statistics.OPEN","open");F("anychart.enums.Statistics.PERT_CHART_CRITICAL_PATH_STANDARD_DEVIATION","pertChartCriticalPathStandardDeviation");F("anychart.enums.Statistics.PERT_CHART_PROJECT_DURATION","pertChartProjectDuration");
F("anychart.enums.Statistics.POINTS_COUNT","pointsCount");F("anychart.enums.Statistics.RANGE","range");F("anychart.enums.Statistics.RANGE_END","rangeEnd");F("anychart.enums.Statistics.RANGE_START","rangeStart");F("anychart.enums.Statistics.SERIES_AVERAGE","seriesAverage");F("anychart.enums.Statistics.SERIES_BUBBLE_MAX_SIZE","seriesBubbleMaxSize");F("anychart.enums.Statistics.SERIES_BUBBLE_MIN_SIZE","seriesBubbleMinSize");F("anychart.enums.Statistics.SERIES_BUBBLE_SIZE_AVERAGE","seriesBubbleSizeAverage");
F("anychart.enums.Statistics.SERIES_BUBBLE_SIZE_MEDIAN","seriesBubbleSizeMedian");F("anychart.enums.Statistics.SERIES_BUBBLE_SIZE_MODE","seriesBubbleSizeMode");F("anychart.enums.Statistics.SERIES_BUBBLE_SIZE_SUM","seriesBubbleSizeSum");F("anychart.enums.Statistics.SERIES_FIRST_X_VALUE","seriesFirstXValue");F("anychart.enums.Statistics.SERIES_FIRST_Y_VALUE","seriesFirstYValue");F("anychart.enums.Statistics.SERIES_LAST_X_VALUE","seriesLastXValue");F("anychart.enums.Statistics.SERIES_LAST_Y_VALUE","seriesLastYValue");
F("anychart.enums.Statistics.SERIES_MIN","seriesMin");F("anychart.enums.Statistics.SERIES_MAX","seriesMax");F("anychart.enums.Statistics.SERIES_NAME","seriesName");F("anychart.enums.Statistics.SERIES_POINT_COUNT","seriesPointCount");F("anychart.enums.Statistics.SERIES_POINTS_COUNT","seriesPointsCount");F("anychart.enums.Statistics.SERIES_SUM","seriesSum");F("anychart.enums.Statistics.SERIES_X_AVERAGE","seriesXAverage");F("anychart.enums.Statistics.SERIES_X_MAX","seriesXMax");
F("anychart.enums.Statistics.SERIES_X_MEDIAN","seriesXMedian");F("anychart.enums.Statistics.SERIES_X_MIN","seriesXMin");F("anychart.enums.Statistics.SERIES_X_MODE","seriesXMode");F("anychart.enums.Statistics.SERIES_X_SUM","seriesXSum");F("anychart.enums.Statistics.SERIES_Y_AVERAGE","seriesYAverage");F("anychart.enums.Statistics.SERIES_Y_MAX","seriesYMax");F("anychart.enums.Statistics.SERIES_Y_MEDIAN","seriesYMedian");F("anychart.enums.Statistics.SERIES_Y_MIN","seriesYMin");
F("anychart.enums.Statistics.SERIES_Y_MODE","seriesYMode");F("anychart.enums.Statistics.SERIES_Y_RANGE_AVERAGE","seriesYRangeAverage");F("anychart.enums.Statistics.SERIES_Y_RANGE_MAX","seriesYRangeMax");F("anychart.enums.Statistics.SERIES_Y_RANGE_MEDIAN","seriesYRangeMedian");F("anychart.enums.Statistics.SERIES_Y_RANGE_MIN","seriesYRangeMin");F("anychart.enums.Statistics.SERIES_Y_RANGE_MODE","seriesYRangeMode");F("anychart.enums.Statistics.SERIES_Y_RANGE_SUM","seriesYRangeSum");
F("anychart.enums.Statistics.SERIES_Y_SUM","seriesYSum");F("anychart.enums.Statistics.SUM","sum");F("anychart.enums.Statistics.VALUE","value");F("anychart.enums.Statistics.PERCENT_VALUE","percentValue");F("anychart.enums.Statistics.X_PERCENT_OF_SERIES","xPercentOfSeries");F("anychart.enums.Statistics.X_PERCENT_OF_TOTAL","xPercentOfTotal");F("anychart.enums.Statistics.X_VALUE","xValue");F("anychart.enums.Statistics.Y_PERCENT_OF_CATEGORY","yPercentOfCategory");
F("anychart.enums.Statistics.Y_PERCENT_OF_SERIES","yPercentOfSeries");F("anychart.enums.Statistics.Y_PERCENT_OF_TOTAL","yPercentOfTotal");F("anychart.enums.Statistics.Y_VALUE","yValue");F("anychart.enums.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.PolarSeriesType.POLYGON","polygon");
F("anychart.enums.PolarSeriesType.POLYLINE","polyline");F("anychart.enums.PolarSeriesType.COLUMN","column");F("anychart.enums.PolarSeriesType.RANGE_COLUMN","rangeColumn");F("anychart.enums.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 un=-1,vn=-1;function wn(a,b,c){xn("error","Error: "+a+"\nDescription: "+yn(a,c),b||"")}
function yn(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 zn(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 An(a,b,c){vn!=a&&(vn=a,xn("warn","Warning: "+a+"\nDescription: "+Bn(a,c),b||""))}
function Bn(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 xn(a,b,c){var d=m.console;d&&(a=d[a]||d.log,"object"!=typeof a&&a.call(d,b,c))};function Cn(a,b){Mb.call(this);this.c=a;this.o=b;this.D=Dn.test(jf().location.hostname);this.j=!(this.o||this.D);this.b=En|Fn|Gn|Hn}G(Cn,Mb);var Dn=/^(.*\.)?anychart\.(com|stg|dev)$/i,In=!1,En=1,Fn=2,Gn=4,Hn=8;g=Cn.prototype;g.df=function(){return!this.b};g.C=function(a){this.b&=~a};g.i=function(a,b){var c=a&~this.b;this.b|=c;!this.Kb&&!this.c.Gb()&&c&&b&&this.c.yc()};function Jn(){return("https:"==jf().location.protocol?"https://":"http://")+"static.anychart.com/logo.png"}
g.enabled=function(a){return p(a)?(this.j!=a&&(this.j=a,(Kn(this)||this.o)&&this.i(En,!0)),this):this.j};g.text=function(a){return p(a)?(this.Da!=a&&(this.Da=a,Kn(this)&&this.i(Gn,!0)),this):this.Da};g.Fo=function(a){return p(a)?(this.M!=a&&(this.M=a,Kn(this)&&this.i(Fn,!0)),this):this.M};g.Do=function(a){return p(a)?(this.s!=a&&(this.s=a,Kn(this)&&this.i(Fn,!0)),this):this.s};g.Eo=function(a){return p(a)?(this.v!=a&&(this.v=a,Kn(this)&&this.i(Fn,!0)),this):this.v};
g.dm=function(a){return p(a)?(this.A!=a&&(this.A=a,Kn(this)&&this.i(Hn,!0)),this):this.A};g.Z=function(){return this.c};g.X=function(){return this.Za};
g.yc=function(){var a=Kn(this);a&&p(this.I)&&!this.I&&this.i(En,!1);this.I=a;if(this.df()||this.Kb||!this.c||this.c.Gb())return this;if(!this.enabled()&&(this.o||a))return this.b&En&&(rf(this.Za),this.C(En)),this;if(!In){var b="",c=kf("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)));qf(cf("head",void 0,void 0)[0],c);In=!0}this.Za||(this.Za=kf("DIV","anychart-credits"));this.g||(this.g=kf("A"),this.u=kf("SPAN","anychart-credits-text"),this.f=kf("IMG","anychart-credits-logo"),of(this.g,this.u),this.Za.appendChild(this.g));b=this.c.ou();this.b&En&&(b&&b.appendChild(this.Za),this.C(En));this.b&Fn&&(df(this.g,{href:a?this.Fo():"http://www.anychart.com/?utm_source=trial",title:a?this.Do():"AnyChart - JavaScript Charts designed to be embedded and integrated",
target:"_blank"}),df(this.f,{alt:a?this.Eo():"AnyChart - JavaScript Charts"}),this.C(Fn));this.b&Gn&&(a=a?this.text():"AnyChart Trial Version",vf(this.u,a),this.C(Gn));if(this.b&Hn){if(a=Kn(this)?this.dm():Jn()){if(this.l=a,b=Vh(fg))Wc(b,"complete",this.MB,!1,this),Wc(b,"load",this.uy,!1,this),Wc(b,"error",this.NB,!1,this),this.h&&(Oh(b,a),this.h=!1),Nh(b,a,a),this.h=!0,b.start()}else rf(this.f);this.C(Hn)}return this};function Kn(a){return Ln()||a.D}
g.uy=function(a){var b=this.l;a.target.id==b&&(this.Kb||(Kn(this)?this.dm():Jn())!=b||this.f.parentNode||qf(this.g,this.f),df(this.f,{src:b}),this.h=!1)};g.MB=function(a){a.target.id==this.l&&(this.h=!1)};g.NB=function(a){a.target.id==this.l&&rf(this.f)};g.H=function(a){this.c.cc();B(a)?(this.text(a),this.enabled(!0)):ua(a)||null===a?this.enabled(!!a):z(a)&&(this.Fo(a.url),this.text(a.text),this.Do(a.alt),this.Eo(a.imgAlt),this.dm(a.logoSrc),this.enabled(a.enabled));this.c.$b()};
g.w=function(){var a={};a.url=this.Fo();a.alt=this.Do();a.imgAlt=this.Eo();a.text=this.text();a.logoSrc=this.dm();a.enabled=this.enabled();return a};g.L=function(){var a=Vh(fg);a&&(ed(a,"load",this.uy,!1,this),ed(a,"complete",this.MB,!1,this),ed(a,"error",this.NB,!1,this));rf(this.u);rf(this.f);rf(this.g);rf(this.Za);this.c=this.Za=this.g=this.f=this.u=null;Cn.m.L.call(this)};var Mn=Cn.prototype;Mn.text=Mn.text;Mn.url=Mn.Fo;Mn.alt=Mn.Do;Mn.imgAlt=Mn.Eo;Mn.logoSrc=Mn.dm;Mn.enabled=Mn.enabled;var Nn=m.performance&&va(m.performance.now)?Ba(m.performance.now,m.performance):Ea;var On={color:"#fff",opacity:1E-5};
function Pn(a,b,c,d){b=null==b||isNaN(+b)?7:+b;d=null!=d?pd(d,0,1):NaN;var e,f;a=Qn(a||"#000").Pd;f=Al(a);a=f[0]/255;e=f[1]/255;f=f[2]/255;var h=Math.max(a,e,f),k=Math.min(a,e,f),l=0,n=0,q=.5*(h+k);h!=k&&(h==a?l=60*(e-f)/(h-k):h==e?l=60*(f-a)/(h-k)+120:h==f&&(l=60*(a-e)/(h-k)+240),n=0=q?(h-k)/(2*q):(h-k)/(2-2*q));f=[Math.round(l+360)%360,n,q];a=f[0];e=f[1];f=f[2];isNaN(d)?(d=f,c=null!=c?pd(c,0,1):.95):c=null!=c?pd(c,0,1):f;f=1l?l*(1+e):l+e-e*l;r=2*l-t;l=255*Dl(r,t,q+1/3);n=255*Dl(r,t,q);q=255*Dl(r,t,q-1/3)}else l=n=q=255*l;h.push(ce([Math.round(l),Math.round(n),Math.round(q)]))}return h}function Rn(a){if(z(a))if(a.color)a=a.color;else return null;if(B(a))try{return vl(a).Pd}catch(b){}return null}
function Sn(a,b){if(z(a)&&p(a.keys)){for(var c=ec(a),d=c.keys,e=[],f=0,h=d.length;f=c&&0<=e&&255>=e&&0<=d&&255>=d){c=[c,e,d];break a}}c=[]}return c.length?(b.Pd=ce(c),b.type="rgb",b):ul&&(a=ul[a.toLowerCase()])?(b.Pd=a,b.type="named",b):null}function co(a,b,c){var d;c?d=Xd(a):d=fe(a);B(d)?d={color:d,opacity:b}:z(d)&&(d.opacity=b);return d}
F("anychart.color.blend",function(a,b,c){return El(a,b,c)});F("anychart.color.lighten",Sn);F("anychart.color.darken",Tn);F("anychart.color.setThickness",function(a,b,c){a=fe(a);B(a)?a={color:a,thickness:b}:z(a)&&(a.thickness=b);c&&(a.opacity=c);return a});F("anychart.color.setOpacity",co);F("anychart.color.singleHueProgression",Pn);
F("anychart.color.bipolarHueProgression",function(a,b,c){c=p(c)?c:7;a=Pn(a||"blue",Math.floor(c/2)+1,null,1);b=Pn(b||"red",Math.floor(c/2)+1,1);c%2||yb(a,a.length-1,1);yb(b,0,1);return a.concat(b)});F("anychart.color.blendedHueProgression",function(a,b,c){c=p(c)?c:7;a=Al(Qn(a||"yellow").Pd);b=Al(Qn(b||"brown").Pd);for(var d=[Bl.apply(null,a)],e=1/c,f=1;f=a.documentMode)?kf("div",{style:"position:absolute; left:0; top:0; z-index: 9999;"}):kf("div",{style:"position:absolute; z-index: 9999; left: -10000px; top: -10000px"});var b;uc||vc||tc?(b=ff(window),a=b.width,b=b.height):(b=jf().screen,a=b.availWidth,b=b.availHeight);mc&&!Bc("9")?this.b=nl(this.f,1,1):(this.b=nl(this.f,a,b),this.g=new Oo,H(this,this.g),this.c=new Mo(this.g),H(this,this.c),Wc(this.c,"resize",
this.u,!1,this));this.b.X().style.cssText="position:fixed; left:0; top:0; opacity:1; pointer-events: none";this.b.A=!0;document.body.appendChild(this.f)}G(Po,Mb);qa(Po);Po.prototype.f=null;Po.prototype.b=null;Po.prototype.u=function(){var a;a=this.c;a=a.b?a.b.clone():null;this.b.pj(a.width,a.height)};function Qo(a){var b=Po.xc();return p(a)?(b.h=a,b):b.h}
Po.prototype.L=function(){this.g&&(I(this.g),this.g=null);p(this.c)&&(ed(this.c,"resize",this.u,!1,this),I(this.c),this.c=null);I(this.b);this.b=null;rf(this.f);this.f=null};function Ro(){}g=Ro.prototype;g.getData=function(){return this.c};g.Zg=function(){this.c.push(this.b||[]);this.b=[]};g.nv=function(a,b){this.b.push(b)};g.start=function(){this.c=[];this.b=[]};g.Fh=pa;g.Oo=function(){this.b&&this.b.length&&this.Zg()};function So(){Mb.call(this);this.hn=this.fj.length-1;this.mm=this.Ai.length-1;this.uq=Ba(this.uq,this)}G(So,Mb);g=So.prototype;g.Be=null;g.fj="\n";g.Ai=",";g.hn=NaN;g.mm=NaN;g.Ci=NaN;g.Qg=!1;g.Rm=!1;g.Rb=NaN;g.ve=-1;g.ue=-1;g.Ap=!1;g.ov=NaN;g.jn=function(a){return p(a)?(this.fj=a,this.hn=this.fj.length-1,this):this.fj};g.nm=function(a){return p(a)?(this.Ai=a,this.mm=this.Ai.length-1,this):this.Ai};g.Qm=function(a){return p(a)?(this.Rm=!!a,this):this.Rm};
g.Sm=function(a){return p(a)?(this.Qg=!!a,this):this.Qg};g.fm=function(a,b,c){this.Be=b||new Ro;c=!!c;this.b=a||"";this.Ci=a.length;this.g=To(this.fj);this.f=To(this.Ai);this.Rb=0;this.Ap=this.Rb==this.Ci;this.c=this.Rm?this.cO:this.WB;this.Be.start();Uo(this)&&(this.Rm?this.c=this.WB:this.Be.Zg());this.Rm=!1;if(c)this.uq();else{for(;Uo(this);)this.Be.Zg();this.Be.Fh(this.Rb);this.Be.Oo();if(this.Be instanceof Ro)return this.Be.getData()}return null};
g.uq=function(){clearTimeout(this.ov);for(var a=0,b=Uo(this);b&&500>a++;){if(this.Kb)return;this.Be.Zg();b=Uo(this)}b&&this.Be.Zg();this.Kb||(b?(this.Be.Fh(this.Rb),this.ov=setTimeout(this.uq,0)):this.Be.Oo())};function To(a){for(var b=a.length,c=Array(b),d=c[0]=-1,e=1;e=d){f="";e=0;a.ue=-1;a.ve=-1;a.Rb=c+1;h=0;break}else return 0=fp(a,b,c,d,e[h],e[h+1]);return f}function fp(a,b,c,d,e,f){return(a=(b-d)*e+(c-a)*f+(a*d-c*b))?0f||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*f+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=f,r=x))}else af?t=!0:(l=n=a,q=e.top,r=h);else bh?t=!0:(l=e.left,n=f,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 hp(a,b,c,d,e){if(e=gp(a,b,c,d,e)){var f;if(c-=a)d=e[0]-a,f=e[2]-a;else if(c=d-b)d=e[1]-b,f=e[3]-b;else return e;0>f*c?e=null:0>c*d&&(e[0]=a,e[1]=b)}return e}function ip(a,b,c,d,e){if(e=gp(a,b,c,d,e)){var f,h,k,l,n;if(f=c-a)h=e[0]-a,k=e[2]-a,l=e[0]-c,n=e[2]-c;else if(f=d-b)h=e[1]-b,k=e[3]-b,l=e[1]-d,n=e[3]-d;else return e;0>k*f||0h*f&&(e[0]=a,e[1]=b),0c&&0c&&d.push("-");d.push("P");(a.u||b)&&d.push(Math.abs(a.u)+"Y");(a.h||b)&&d.push(Math.abs(a.h)+"M");(a.b||b)&&d.push(Math.abs(a.b)+"D");if(a.f||a.g||a.c||b)d.push("T"),(a.f||b)&&d.push(Math.abs(a.f)+"H"),(a.g||b)&&d.push(Math.abs(a.g)+"M"),(a.c||b)&&d.push(Math.abs(a.c)+"S");return d.join("")}
up.prototype.clone=function(){return new up(this.u,this.h,this.b,this.f,this.g,this.c)};var vp="y",wp="m",xp="d",yp="h",zp="n",Ap="s";up.prototype.j=function(a){return new up(this.u*a,this.h*a,this.b*a,this.f*a,this.g*a,this.c*a)};up.prototype.add=function(a){this.u+=a.u;this.h+=a.h;this.b+=a.b;this.f+=a.f;this.g+=a.g;this.c+=a.c};
function Dp(a,b,c){E(a)?(this.b=Ep(a,b||0,c||1),Fp(this,c||1)):z(a)?(this.b=Ep(a.getFullYear(),a.getMonth(),a.getDate()),Fp(this,a.getDate())):(this.b=new Date(Ea()),a=this.b.getDate(),this.b.setHours(0),this.b.setMinutes(0),this.b.setSeconds(0),this.b.setMilliseconds(0),Fp(this,a))}function Ep(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b}g=Dp.prototype;g.ek=rp.sr;g.gk=rp.tr;g.clone=function(){var a=new Dp(this.b);a.ek=this.ek;a.gk=this.gk;return a};
g.getFullYear=function(){return this.b.getFullYear()};g.getMonth=function(){return this.b.getMonth()};g.getDate=function(){return this.b.getDate()};g.getTime=function(){return this.b.getTime()};g.getDay=function(){return this.b.getDay()};g.getUTCFullYear=function(){return this.b.getUTCFullYear()};g.getUTCMonth=function(){return this.b.getUTCMonth()};g.getUTCDate=function(){return this.b.getUTCDate()};g.Kp=function(){return this.b.getDay()};g.getUTCHours=function(){return this.b.getUTCHours()};
g.getUTCMinutes=function(){return this.b.getUTCMinutes()};g.getTimezoneOffset=function(){return this.b.getTimezoneOffset()};function Gp(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(tp(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()),Fp(this,a.getDate()))};
g.Lp=function(a,b){return[this.getFullYear(),$a(this.getMonth()+1,2),$a(this.getDate(),2)].join(a?"-":"")+(b?Gp(this):"")};g.Sv=function(a,b){return[this.getUTCFullYear(),$a(this.getUTCMonth()+1,2),$a(this.getUTCDate(),2)].join(a?"-":"")+(b?"Z":"")};g.toString=function(){return this.Lp()};function Fp(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(":",$a(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=Op(a);b.h=[c,c];b.b={NQ:a,ew:a};b.f=[];return b}b=new Mp;b.g=a.id;b.c=-a.std_offset;b.h=a.names;b.b=a.names_ext;b.f=a.transitions;return b}
function Op(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push($a(Math.floor(a/60)%100,2),":",$a(a%60,2));return b.join("")}function Pp(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 Qp(a,b){this.c=[];this.b=b||rp;"number"==typeof a?Rp(this,a):Sp(this,a)}var Tp=[/^\'(?:[^\']|\'\')*(\'|$)/,/^(?:G+|y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/,/^[^\'GyMkSEahKHcLQdmsvVwzZ]+/];function Up(a){return a.getHours?a.getHours():0}
function Sp(a,b){for(Vp&&(b=b.replace(/\u200f/g,""));b;){for(var c=b,d=0;db)c=a.b.Xk[b];else if(8>b)c=a.b.nl[b-4];else if(12>b)c=a.b.nr[b-8],c=c.replace("{1}",a.b.Xk[b-8]),c=c.replace("{0}",a.b.nl[b-8]);else{Rp(a,10);return}Sp(a,c)}function Yp(a,b){var c;c=String(b);var d=a.b||rp;if(void 0!==d.Kr){for(var e=[],f=0;f=h?String.fromCharCode(d.Kr+h-48):c.charAt(f))}c=e.join("")}return c}var Vp=!1;
function Zp(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 Xp(a,b,c,d,e,f){var h=b.length;switch(b.charAt(0)){case "G":return c=0c&&(c=-c),2==h&&(c%=100),Yp(a,$a(c,h));case "M":a:switch(c=d.getMonth(),h){case 5:h=a.b.Zv[c];break a;case 4:h=a.b.Br[c];break a;case 3:h=a.b.Er[c];break a;default:h=Yp(a,$a(c+1,h))}return h;case "k":return Zp(e),c=Up(e)||24,Yp(a,$a(c,h));case "S":return Yp(a,(e.getTime()%1E3/1E3).toFixed(Math.min(3,h)).substr(2)+(3h?1:0];case "h":return Zp(e),c=Up(e)%12||12,Yp(a,$a(c,h));case "K":return Zp(e),c=Up(e)%12,Yp(a,$a(c,h));case "H":return Zp(e),c=Up(e),Yp(a,$a(c,h));case "c":a:switch(c=d.getDay(),h){case 5:h=a.b.bw[c];break a;case 4:h=a.b.dw[c];break a;case 3:h=a.b.cw[c];break a;default:h=Yp(a,$a(c,1))}return h;case "L":a:switch(c=d.getMonth(),h){case 5:h=a.b.aw[c];break a;case 4:h=a.b.Hr[c];break a;case 3:h=a.b.Ir[c];break a;default:h=
Yp(a,$a(c+1,h))}return h;case "Q":return c=Math.floor(d.getMonth()/3),4>h?a.b.Fr[c]:a.b.Dr[c];case "d":return Yp(a,$a(d.getDate(),h));case "m":return Zp(e),Yp(a,$a(e.getMinutes(),h));case "s":return Zp(e),Yp(a,$a(e.getSeconds(),h));case "v":return h=f||Np(c.getTimezoneOffset()),h.g;case "V":return a=f||Np(c.getTimezoneOffset()),2>=h?a.g:0h?a.h[0h?(h=-(e.c-Pp(e,c)),a=[0>h?"-":"+"],h=Math.abs(h),a.push($a(Math.floor(h/60)%100,2),$a(h%60,2)),h=a.join("")):h=Yp(a,Op(e.c-Pp(e,c))),h;default:return""}}
;function $p(a){if(m.JSON)try{return m.JSON.stringify(a)}catch(b){}return bk(a)}function aq(a){if(m.JSON)try{var b=m.JSON.parse(a);return b}catch(c){}return b=ak(a)};var bq;function cq(a,b,c,d,e){if(c)for(var f=0;fb?1:a==b?0:-1}function gq(a,b){return-dq(a,b)}function eq(a,b){return isNaN(a)?isNaN(b)?0:1:isNaN(b)?-1:a-b}function hq(a){for(var b;a instanceof cg;){b=a.tag;if(p(b))return b;a=a.parent()}}
function iq(a,b){if(!a)return!1;for(;b instanceof kd&&b!=a;)b=b.aj;return b==a}function fq(a){return z(a)?"o"+wa(a):(typeof a).charAt(0)+a}function L(a,b,c){a=E(a)?a:!isNaN(b)&&jq(a)?b*parseFloat(a)/100:parseFloat(a);return c&&!isNaN(b)?b-a:a}function jq(a){return B(a)&&Ha(a,"%")&&!isNaN(parseFloat(a))}function kq(a,b){if(null===a)return null;a=p(a)?a:0;b=p(b)?b:0;var c=jq(a),d=parseFloat(a);return isNaN(d)?b:c?a:d}function M(a){return null==a||ua(a)?NaN:+a}function lq(a){return B(a)?a:M(a)}
function mq(a){return E(a)&&!isNaN(a)||B(a)&&""!=Ka(a)?a:null}function nq(a){return isNaN(M(a))}function N(a,b,c){E(a)||(a=parseFloat(a));a=Math.round(a);return!isNaN(a)&&(0a?"leftTop":90==a?"centerTop":90a?"rightTop":180==a?"rightCenter":180a?"rightBottom":270==a?"centerBottom":"leftBottom":"leftCenter"}
function rq(a){switch(a){case "leftTop":return"rightBottom";case "leftCenter":return"rightCenter";case "leftBottom":return"rightTop";case "centerTop":return"centerBottom";case "centerBottom":return"centerTop";case "rightTop":return"leftBottom";case "rightCenter":return"leftCenter";case "rightBottom":return"leftTop"}return a}function sq(a,b,c){c=$o((a-(c||0))%b,7);0>c&&(c+=b);c>=b&&(c-=b);return $o(a-c,7)}
function tq(a,b,c){c=$o((a-(c||0))%b,7);c>=b&&(c-=b);if(c)0>c&&(c+=b);else return $o(a,7);return $o(a+b-c,7)}
function uq(a,b,c){var d=new Date(a),e=d.getUTCFullYear(),f=d.getUTCMonth(),h=d.getUTCDate(),k=d.getUTCHours(),l=d.getUTCMinutes(),n=d.getUTCSeconds(),q=d.getUTCMilliseconds();if(b.u)return e=sq(e,b.u,(new Date(c)).getUTCFullYear()),Date.UTC(e,0);if(b.h)return f=sq(f,b.h),Date.UTC(e,f);if(!b.b||b.b%7)return b.b?(h=sq(h,b.b),Date.UTC(e,f,h)):b.f?(k=sq(k,b.f),Date.UTC(e,f,h,k)):b.g?(l=sq(l,b.g),Date.UTC(e,f,h,k,l)):1<=b.c?(n=sq(n,b.c),Date.UTC(e,f,h,k,l,n)):b.c?(q=sq(q,1E3*b.c),Date.UTC(e,f,h,k,l,n,
q)):a;a=vq(wq());return sq(d.getTime(),864E5*b.b,Date.UTC(2E3,0,2+(a?a.firstDayOfWeek:0)))}function xq(a,b){var c,d;switch(a){case "year":c=vp;d=b;break;case "semester":c=wp;d=6*b;break;case "quarter":c=wp;d=3*b;break;case "month":c=wp;d=b;break;case "thirdofmonth":c=xp;d=10*b;break;case "week":c=xp;d=7*b;break;case "day":c=xp;d=b;break;case "hour":c=yp;d=b;break;case "minute":c=zp;d=b;break;case "second":c=Ap;d=b;break;case "millisecond":c=Ap;d=b/1E3;break;default:c=vp,d=b}return new up(c,d)}
function yq(a,b){var c=(b&1)/2;return.5<=a%1?Math.ceil(a)-c:Math.floor(a)+c}function zq(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 $n(a){var b;b=ra(a);if("array"==b){b=[];for(var c=0;cb;b++)a.lineTo(c+e*Wq[b],d+e*Xq[b]);a.lineTo(c+e*Wq[0],d+e*Xq[0]);a.close();return a};case "square":return function(a,c,d,e,f){var b=c-e,k=d-e;c+=e;d+=e;p(f)&&(f=f||0,b=yq(b,f),k=yq(k,f),c=yq(c,f),d=yq(d,f));a.moveTo(b,
k).lineTo(c,k).lineTo(c,d).lineTo(b,d).lineTo(b,k).close();return a};case "vline":case "line":return function(a,c,d,e,f){f=f||0;e*=2;var b=e/2;c-=b/2;d-=e/2;b=c+b;e=d+e;p(f)&&(f=f||0,c=yq(c,f),d=yq(d,f),b=yq(b,f),e=yq(e,f));a.moveTo(c,d).lineTo(b,d).lineTo(b,e).lineTo(c,e).lineTo(c,d).close();return a};case "arrowup":return function(a,c,d,e,f){var b=e/2,k=b/2;e=c+b;var l=c-b,n=d+b,b=d-b,q=c+k,k=c-k;p(f)&&(f=f||0,e=yq(e,f),l=yq(l,f),n=yq(n,f),b=yq(b,f),q=yq(q,f),k=yq(k,f),c=yq(c,f),d=yq(d,f));a.moveTo(c,
b);a.lineTo(e,d,q,d,q,n,k,n,k,d,l,d);a.close();return a};case "arrowdown":return function(a,c,d,e,f){var b=e/2,k=b/2;e=c+b;var l=c-b,n=d+b,b=d-b,q=c+k,k=c-k;p(f)&&(f=f||0,e=yq(e,f),l=yq(l,f),n=yq(n,f),b=yq(b,f),q=yq(q,f),k=yq(k,f),c=yq(c,f),d=yq(d,f));a.moveTo(c,n);a.lineTo(e,d,q,d,q,b,k,b,k,d,l,d);a.close();return a};case "arrowleft":return function(a,c,d,e,f){var b=e/2,k=b/2;e=c+b;var l=c-b,n=d+b,b=d-b,q=d+k,k=d-k;p(f)&&(f=f||0,e=yq(e,f),l=yq(l,f),n=yq(n,f),b=yq(b,f),q=yq(q,f),k=yq(k,f),c=yq(c,
f),d=yq(d,f));a.moveTo(l,d);a.lineTo(c,n,c,q,e,q,e,k,c,k,c,b);a.close();return a};case "arrowright":return function(a,c,d,e,f){var b=e/2,k=b/2;e=c+b;var l=c-b,n=d+b,b=d-b,q=d+k,k=d-k;p(f)&&(f=f||0,e=yq(e,f),l=yq(l,f),n=yq(n,f),b=yq(b,f),q=yq(q,f),k=yq(k,f),c=yq(c,f),d=yq(d,f));a.moveTo(e,d);a.lineTo(c,n,c,q,l,q,l,k,c,k,c,b);a.close();return a};default:return gh}}
function Zq(a,b,c,d){var e=new So;c=!0;z(d)&&(e.jn(d.rowsSeparator),e.nm(d.columnsSeparator),e.Sm(d.ignoreTrailingSpaces),c=!d.ignoreFirstRow,e.Qm(c));if(a=e.fm(a)){d=kf("table");b&&(e=kf("caption"),of(e,b),d.appendChild(e));var f,h;c&&(f=kf("thead"),h=kf("tr"),f.appendChild(h));b=kf("tbody");for(e=0;e=a||96<=a&&106>=a||65<=a&&90>=a||(pc||nc)&&!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 cr(a){if(oc)a=dr(a);else if(qc&&pc)switch(a){case 93:a=91}return a}
function dr(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 er(a,b){kd.call(this);a&&(this.Zp&&fr(this),this.Lm=a,this.Yp=Wc(this.Lm,"keypress",this,b),this.Qu=Wc(this.Lm,"keydown",this.CM,b,this),this.Zp=Wc(this.Lm,"keyup",this.DM,b,this))}G(er,kd);g=er.prototype;g.Lm=null;g.Yp=null;g.Qu=null;g.Zp=null;g.cf=-1;g.Vi=-1;g.Vr=!1;
var gr={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},hr={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},ir=mc||nc||pc&&Bc("525"),jr=qc&&oc;g=er.prototype;
g.CM=function(a){(pc||nc)&&(17==this.cf&&!a.ctrlKey||18==this.cf&&!a.altKey||qc&&91==this.cf&&!a.metaKey)&&this.Cq();-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));ir&&!ar(a.keyCode,this.cf,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?this.handleEvent(a):(this.Vi=cr(a.keyCode),jr&&(this.Vr=a.altKey))};g.Cq=function(){this.Vi=this.cf=-1};g.DM=function(a){this.Cq();this.Vr=a.altKey};
g.handleEvent=function(a){var b=a.b,c,d,e=b.altKey;mc&&"keypress"==a.type?(c=this.Vi,d=13!=c&&27!=c?b.keyCode:0):(pc||nc)&&"keypress"==a.type?(c=this.Vi,d=0<=b.charCode&&63232>b.charCode&&br(c)?b.charCode:0):lc&&!pc?(c=this.Vi,d=br(c)?b.keyCode:0):(c=b.keyCode||this.Vi,d=b.charCode||0,jr&&(e=this.Vr),qc&&63==d&&224==c&&(c=191));var f=c=cr(c);c?63232<=c&&c in gr?f=gr[c]:25==c&&a.shiftKey&&(f=9):b.keyIdentifier&&b.keyIdentifier in hr&&(f=hr[b.keyIdentifier]);a=f==this.cf;this.cf=f;b=new kr(f,d,a,b);
b.altKey=e;this.dispatchEvent(b)};function fr(a){a.Yp&&(fd(a.Yp),fd(a.Qu),fd(a.Zp),a.Yp=null,a.Qu=null,a.Zp=null);a.Lm=null;a.cf=-1;a.Vi=-1}g.L=function(){er.m.L.call(this);fr(this)};function kr(a,b,c,d){Hc.call(this,d);this.type="key";this.keyCode=a;this.f=b;this.repeat=c}G(kr,Hc);var lr=m.acgraph;Zk.prototype.o=!1;Zk.prototype.j=null;Zk.prototype.u=function(a){this.v||(this.v=new Cn(this,this.o),this.v.H(ko("stageCredits")));return p(a)?(this.v.H(a),this):this.v};function mr(a){a.j||(a.j=a.qd(),a.j.zIndex(1E10));return a.j}var nr=0,or=[];function pr(a,b){nr?or.push(Ba(a,b)):a.apply(b)}function qr(){nr--;if(!nr)for(var a=or.slice(0),b=or.length=0;be;e++){c=e;for(var f=0;8>f;f++)c=c&1?3988292384^c>>>1:c>>>1;d[e]=c}Nq=d}c=-1;for(d=0;d>>8^Nq[(c^a.charCodeAt(d++))&255];a=((c^-1)>>>0).toString(16);return b==a}var Br=[],Cr=[],Dr=[];
function ko(a){var b;Cr.length||(Cr.push(m.anychart.themes.defaultTheme||{}),Dr.push(Cr[0]));for(b=Cr.length-1;bc.length?c[0]:c[b]):0}
g.parent=function(a){return p(a)?(this.U!=a&&(a?(this.U&&Ct(this.U,this.Qs,this),this.U=a,O(this.U,this.Qs,this)):(Ct(this.U,this.Qs,this),this.U=null)),this):this.U};g.Qs=function(a){var b=0,c=0;U(a,1)&&(b|=16,c|=1);U(a,8)&&(b|=4,c|=8);U(a,32768)&&(b|=1,c|=1);this.h=null;this.i(b,c)};function Xu(a,b,c,d,e,f,h){switch(a.B("cornerType")){case "round":b.wf(e,f,h,h,!1,!0);break;case "roundInner":b.wf(e,f,h,h,!1,!1);break;case "cut":b.lineTo(e,f);break;default:b.lineTo(c,d).lineTo(e,f)}}
g.K=function(){if(!this.Ta())return this;var a=this.B("fill")||"none",b=this.B("stroke"),c=this.B("topStroke"),d=this.B("rightStroke"),e=this.B("bottomStroke"),f=this.B("leftStroke"),h=!!(c||d||e||f),k=c&&d&&e&&f,l,n,q=this.F()?this.F().Z():null,r=q&&!q.Gb();r&&q.cc();if(S(this,4)){this.j||(this.j=Yg());k&&this.b?this.b.clear().parent(null):(this.b||(this.b=sg()),this.b.parent(this.j),this.b.clear());h?(this.f||(this.f=sg()),this.f.parent(this.j),this.f.clear()):this.f&&this.f.clear().parent(null);
if(this.s)for(k=0,l=this.s.length;kd||c>e)return 1;if(bd)return 1}else if(a.s){if(ce)return 1}return 0}
function nv(a){var b=a.T(),c,d,e;b?(c=b.width,b=b.height,null!=a.ra?(a.N=d=L(a.ra,c),c=!1):(d=0,c=!0),null!=a.wa?(a.M=e=L(a.wa,b),b=!1):(e=0,b=!0)):(nq(a.ra)?(c=!0,d=0):(c=!1,a.N=d=M(a.ra)),nq(a.wa)?(b=!0,e=0):(b=!1,a.M=e=M(a.wa)));var f=a.md();a.oa.width(null);a.oa.height(null);c?(d+=a.oa.xa().width,a.V=d,a.N=f.sd(d)):d=a.V=f.Pc(d);a.oa.width(a.V);b?(e+=a.oa.xa().height,a.S=e,a.M=f.rd(e)):e=a.S=f.Oc(e);a.oa.height(a.S);var h=!c&&a.c||!b&&a.s;T(a);if(h){var h=Math.round((a.D+a.I)/2),k=a.I,l=a.D,n;
n=a.h;var q=$g();q.Hc("aria-hidden","true");a.Cb(q,!0);a.h=n;q.fontSize(a.D);if(0>=mv(a,q.xa().width,q.xa().height,d,e))d=a.D;else{q.fontSize(h);for(var r=n=mv(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=mv(a,q.xa().width,q.xa().height,d,e);while(0>r*n);I(q);0b?null:b;p(a.width())||a.i(4)}function mw(a,b){a.M=0>b?null:b;p(a.height())||a.i(4)}g.margin=function(a,b,c,d){this.f||(this.f=new Sv,H(this,this.f),O(this.f,this.Ey,this));return p(a)?(this.f.H.apply(this.f,arguments),this):this.f};
g.uf=function(a,b,c,d){this.qa||(this.qa=new jv,H(this,this.qa),O(this.qa,this.Ey,this));return p(a)?(this.qa.H.apply(this.qa,arguments),this):this.qa};function nw(a,b){if(p(b)){var c=a.B("orientation")!=b;a.s.orientation=b;c&&a.i(4);return a}return a.s.orientation}g.OJ=function(a,b){if(p(a)){if(B(a))if(p(b)){if(a in this.v)this[a](b)}else return this.fb(a);else if(z(a))for(var c in a)if(c in this.v)this[c](a[c]);return this}c={};for(var d in this.o)d in this.v&&(c[d]=this.o[d]);return c};
function ow(a,b){if(p(b)){var c=null==b?"":String(b);a.N!=c&&(a.N=c,a.i(20,9));return a}return a.N}g.i=function(a,b){var c=jw.m.i.call(this,a,b);!c&&this.Ea&&this.P(b||0);return c};function pw(a){var b=!1;a.j||(b=!0,a.j=Yg(),a.mh().F(a.j),a.Da=a.j.text(),a.Da.zIndex(.1),a.Da.Hc("aria-hidden","true"),H(a,a.j),Tt(a,a.j));return b}
g.K=function(){if(!this.Ta())return this;var a=pw(this),b=this.F();T(this);S(this,2)&&(this.j.parent(b),this.C(2));S(this,8)&&(this.j.zIndex(this.zIndex()),this.C(8));S(this,16)&&(this.Cb(a),this.C(16));S(this,4)&&(qw(this),this.Da.x(L(this.uf().B("left"),this.g)),this.Da.y(L(this.uf().B("top"),this.c)),this.j.Ua(this.l.b,this.l.c,this.l.f,this.l.g,this.l.h,this.l.u),this.i(64),this.C(4));S(this,64)&&(a=this.mh(),T(a),a.T(0,0,this.g,this.c),a.K(),a.O(!1),this.C(64));this.O(!1);return this};
g.remove=function(){this.j?this.j.parent(null):this.Da&&this.Da.parent(null)};g.bc=function(){var a=this.T(),a=a?a.clone():pp(0,0,0,0);if(!this.enabled())return a;this.ia&&!S(this,4)||qw(this);switch(this.B("orientation")){case "top":a.top+=this.ia.height;a.height-=this.ia.height;break;case "right":a.width-=this.ia.width;break;case "bottom":a.height-=this.ia.height;break;case "left":a.left+=this.ia.width,a.width-=this.ia.width}return a};
g.Yc=function(){if(!this.enabled())return new J(0,0,0,0);this.ia&&!S(this,4)||qw(this);return this.ia.clone()};
g.Cb=function(a){var b=this.B("text"),c=ow(this),d=this.B("useHtml");if(a||p(b)||p(c)||p(d))a=!b&&p(c)?c:b,d?this.Da.htmlText(a):this.Da.text(a);this.Da.fontSize(this.B("fontSize"));this.Da.fontFamily(this.B("fontFamily"));this.Da.color(this.B("fontColor"));this.Da.eh(this.B("textDirection"));this.Da.sj(this.B("textWrap"));this.Da.opacity(this.B("fontOpacity"));this.Da.$f(this.B("fontDecoration"));this.Da.fontStyle(this.B("fontStyle"));this.Da.fontVariant(this.B("fontVariant"));this.Da.fontWeight(this.B("fontWeight"));
this.Da.letterSpacing(this.B("letterSpacing"));this.Da.qj(this.B("lineHeight"));this.Da.rj(this.B("textIndent"));this.Da.Vf(this.B("vAlign"));this.Da.He(this.B("hAlign"));this.Da.Ve(this.B("textOverflow"));this.Da.fh(this.B("selectable"));this.Da.tb(this.B("disablePointerEvents"))};
function rw(a){var b=a.fb("rotation");delete a.s.rotation;b=p(b)?b:a.B("rotation");if(p(b))return b;switch(a.B("orientation")){case "left":return a.s.rotation=-90;case "right":return a.s.rotation=90;default:return a.s.rotation=0}}
function qw(a){var b=a.uf(),c=a.margin(),d=a.T(),e,f,h=a.B("orientation"),k=!(rw(a)%180);f=!((rw(a)+90)%180);d?f?(e=d.height,f=d.width):(e=d.width,f=d.height):e=f=void 0;var l=pw(a);if(l||S(a,16))a.Cb(l),a.C(16);a.Da.width(null);a.Da.height(null);a.Da.Ua(1,0,0,1,0,0);var l=a.Da.xa(),n=a.Sb("width")?a.fb("width"):a.S||null;null===n?(a.D=l.width,a.g=b.sd(a.D)):(a.g=L(n,e),a.D=b.Pc(a.g));d&&ec?d=this.c.Xk[c]:8>c?d=this.c.nl[c-4]:(d=this.c.nr[c-8],d=d.replace("{1}",this.c.Xk[c-8]),d=d.replace("{0}",this.c.nl[c-8]));yw(this,d)}else yw(this,a)}
function yw(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 Bw(a,b){var c=a.substring(b[0]).match(/^\s+/);c&&(b[0]+=c[0].length)}
function Cw(a,b,c,d,e,f){Bw(b,c);var h=c[0],k=d.text.charAt(0),l=-1;if(Aw(d))if(0b.length)return!1;l=Dw(a,b.substring(0,h+e),c)}else l=Dw(a,b,c);switch(k){case "G":return l=Ew(b,c,a.c.qr),0<=l&&(f.era=l),!0;case "M":case "L":a:{d=l;if(0>d){d=Ew(b,c,a.c.Br.concat(a.c.Hr).concat(a.c.Er).concat(a.c.Ir));if(0>d){f=!1;break a}f.month=d%12}else f.month=d-1;f=!0}return f;case "E":return d=Ew(b,c,a.c.Jr),0>d&&(d=Ew(b,c,a.c.Gr)),0>d?f=!1:(f.c=d,f=!0),f;case "a":return l=Ew(b,c,a.c.kr),0<=l&&(f.g=
l),!0;case "y":a:{var n;if(0>l){n=b.charAt(c[0]);if("+"!=n&&"-"!=n){f=!1;break a}c[0]++;l=Dw(a,b,c);if(0>l){f=!1;break a}"-"==n&&(l=-l)}n||2!=c[0]-h||2!=d.count?f.year=l:(a=l,b=(new Date).getFullYear()-80,c=b%100,f.o=a==c,a+=100*Math.floor(b/100)+(al?(d=Ew(b,c,a.c.Dr),0>d&&(d=Ew(b,c,a.c.Fr)),0>d?f=!1:(f.month=3*d,f.day=1,f=!0)):f=!1,f;case "d":return 0<=l&&(f.day=l),!0;case "S":return a=c[0]-h,f.j=3>a?l*Math.pow(10,3-a):Math.round(l/Math.pow(10,
a-3)),!0;case "h":12==l&&(l=0);case "K":case "H":case "k":return 0<=l&&(f.b=l),!0;case "m":return 0<=l&&(f.h=l),!0;case "s":return 0<=l&&(f.u=l),!0;case "z":case "Z":case "v":b.indexOf("GMT",c[0])==c[0]&&(c[0]+=3);a:if(c[0]>=b.length)f.f=0,f=!0;else{d=1;switch(b.charAt(c[0])){case "-":d=-1;case "+":c[0]++}h=c[0];l=Dw(a,b,c);if(0>l)f=!1;else{if(c[0]l){f=!1;break a}n+=l}else n=l,n=24>n&&2>=c[0]-h?60*n:n%100+n/100*60;f.f=-(n*d);f=!0}}return f;
default:return!1}}function Dw(a,b,c){if(a.c.Kr){for(var d=[],e=c[0];e=f?String.fromCharCode(f+48):b.charAt(e))}b=d.join("")}else b=b.substring(c[0]);a=b.match(/^\d+/);if(!a)return-1;c[0]+=a[0].length;return parseInt(a[0],10)}function Ew(a,b,c){var d=0,e=-1;a=a.substring(b[0]).toLowerCase();for(var f=0;fd&&!a.indexOf(c[f].toLowerCase())&&(e=f,d=h)}0<=e&&(b[0]+=d);return e}function Fw(){};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 Gw=/^([-]?\d+\.?\d*)(.*?)?$/,Hw={factors:[1E15,1E12,1E9,1E6,1E3,1E3,1,.001,1E-6,1E-9],suffixes:"P T G M K k m u n".split(" ")},Iw="default",Jw=null,Kw=NaN,Lw="default",Mw=null,Nw=null,Ow=null,Pw=0,Qw={},Rw={},Sw={},Tw={};function Uw(a){z(a)||(a=m.anychart.format.locales[String(a)]);return a||null}function vq(a){return(a=Uw(a))&&a.dateTimeLocale||null}function Vw(a){return(a=Uw(a))&&a.numberLocale||null}function Ww(a,b){var c=vq(a);return c&&c[b||"dateTimeFormat"]||null}
function Xw(a){if(!a)return rp;var b=wa(a);b in Tw||(Tw[b]={qr:a.eras,Yv:a.eraNames,Zv:a.narrowMonths,aw:a.standaloneNarrowMonths,Br:a.months,Hr:a.standaloneMonths,Er:a.shortMonths,Ir:a.standaloneShortMonths,Jr:a.weekdays,dw:a.standaloneWeekdays,Gr:a.shortWeekdays,cw:a.standaloneShortWeekdays,ZD:a.narrowWeekdays,bw:a.standaloneNarrowWeekdays,Fr:a.shortQuarters,Dr:a.quarters,kr:a.ampms||a.amPmS,Xk:a.dateFormats||[],nl:a.timeFormats||[],nr:a.dateTimeFormats||[],sr:a.firstDayOfWeek,JE:a.weekendRange,
tr:a.firstWeekCutOffDay||a.firstWeekCutOfDay});return Tw[b]}function Yw(a){p(a)&&(Kw=ta(a)?a.getTime():M(a));return isNaN(Kw)?(a=new Date,a.setTime(Date.UTC(a.getUTCFullYear(),a.getUTCMonth())),a):new Date(Kw)}function wq(a){p(a)&&(B(a)||z(a)?Lw=a:Lw="default");return Lw}function Zw(a){p(a)&&(B(a)?Mw=a:Mw=null);return Mw||Ww(Lw)||Ww("default")||"yyyy.MM.dd"}function $w(a){p(a)&&(B(a)?Nw=a:Nw=null);return Nw||Ww(Lw,"dateFormat")||Ww("default","dateFormat")||"yyyy.MM.dd"}
function ax(a){p(a)&&(B(a)?Ow=a:Ow=null);return Ow||Ww(Lw,"timeFormat")||Ww("default","timeFormat")||"HH:mm:ss"}
function bx(a,b,c,d){if(ta(a))return a;if(E(a))return isNaN(a)?null:new Date(a);if(B(a)){if(b=(p(b)?b:Jw)||null){d=vq(d)||vq(Iw)||vq("default");var e=wa(d),e=b+e,f;e in Rw||(d=Xw(d),Rw[e]=new xw(b,d));f=Rw[e];c=ta(c)?c:Yw();(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 Fw,e=[0],k=-1,l=0,n=0,q=0;qk&&f.b[q].nj&&(k=q,n=l=0),0<=k){var r=f.b[q].count;if(q==k&&(r-=n,n++,0==r)){a=0;break a}Cw(f,
a,e,f.b[q],r,h)||(q=k-1,e[0]=l)}else{if(k=-1,!Cw(f,a,e,f.b[q],0,h)){a=0;break a}}else{k=-1;if(" "==f.b[q].text.charAt(0)){if(r=e[0],Bw(a,e),e[0]>r)continue}else if(a.indexOf(f.b[q].text,e[0])==e[0]){e[0]+=f.b[q].text.length;continue}a=0;break a}b:{void 0!=h.era&&void 0!=h.year&&!h.era&&0f?
f:a));va(c.setHours)&&(void 0==h.b&&(h.b=c.getHours()),void 0!=h.g&&0h.b&&(h.b+=12),c.setHours(h.b));va(c.setMinutes)&&void 0!=h.h&&c.setMinutes(h.h);va(c.setSeconds)&&void 0!=h.u&&c.setSeconds(h.u);va(c.setMilliseconds)&&void 0!=h.j&&c.setMilliseconds(h.j);void 0!=h.f&&c.setTime(c.getTime()+6E4*(h.f-c.getTimezoneOffset()));h.o&&(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}f=f?a.toFixed(b):$o(a,b).toString();a="";/(e+|e-)/.test(f)&&(b=f.split("e"),f=b[0],a="e"+b[1]);b=f.split(".");if(d){f=b[0];for(h=[];0<(e=f.substr(0,f.length-3)).length;)h.unshift(f.substr(-3)),f=
e;f&&h.unshift(f);b[0]=h.join(d)}d=l?"-":"";c=b.join(c)+a+n;l&&k&&(c=["(",c,")"].join(""),d="");return d+c}F("anychart.format.inputLocale",function(a){p(a)&&(B(a)||z(a)?Iw=a:Iw="default");return Iw});F("anychart.format.inputBaseDate",Yw);F("anychart.format.inputDateTimeFormat",function(a){p(a)&&(B(a)?Jw=a:Jw=null);return Jw});F("anychart.format.outputLocale",wq);F("anychart.format.outputTimezone",function(a){p(a)&&(Pw=M(a)||0);return Pw});F("anychart.format.outputDateFormat",$w);
F("anychart.format.outputTimeFormat",ax);F("anychart.format.outputDateTimeFormat",Zw);F("anychart.format.parseDateTime",bx);
F("anychart.format.parseNumber",function(a,b){var c=Vw(b)||Vw(Iw)||Vw("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(Ya(c.groupsSeparator),"g"),"");var e=c.scale;!0===e&&(e=Hw);if(z(e)&&y(e.factors)&&y(e.suffixes)){a=a.replace(new RegExp(Ya(c.scaleSuffixSeparator),"g"),"");var f=a.match(Gw);if(!f)return NaN;var h=1;a=+f[1];if(f=f[2])for(var k=e.factors,e=e.suffixes,
l=Math.min(k.length,e.length),n=0;nd.width+w&&(h-=c.la()-d.width-w),c.ga()>d.height+x&&(k-=c.ga()-d.height-x));r||(b.x(h),b.y(k),c=b.ua(),c.leftf.width+w&&(h-=c.la()-f.width-w),c.ga()>f.height+x&&(k-=c.ga()-f.height-x));u||(b.x(h),b.y(k),c=b.ua(),c.lefta.la()+w&&(h-=c.la()-w-a.la()),c.ga()>a.ga()+x&&(k-=c.ga()-x-a.ga()));b.x(h);b.y(k)}
function wx(a,b,c,d,e,f){if(a.va(3)&&(a.c=e?e.Ra():a,xx(a,[a.c]),a.c.enabled())){for(var h={clientX:{value:c,type:"number"},clientY:{value:d,type:"number"},formattedValues:{value:[],type:""},points:{value:[],type:""}},k=[],l=0;ld.ga()?(e=d.Ba(),f=d.la(),h=d.Ka(),k=d.ga(),c+=2):(e=f=d.Ba()+2,h=d.Ka(),k=d.ga(),b-=2);else if(b>d.la())cd.ga()?(e=d.Ba(),f=d.la(),h=d.ga(),k=d.Ka(),c+=2):(e=f=d.la()-2,h=d.Ka(),k=d.ga(),b+=2);else if(c<
d.Ka())h=k=d.Ka()+2,e=d.la(),f=d.Ba(),c-=2;else if(c>d.ga())h=k=d.ga()-2,e=d.Ba(),f=d.la(),c+=2;else break a;a.s=[e,h,f,k,b,c]}ed(document,"mousemove",a.hq,!1,a)}else e&&d.tb(!0)}}function Dx(a,b,c,d){nx(a);a.c=a;d&&(d.clientX=b,d.clientY=c,ow(a.title(),zx(a,d)),a.Kc().text(yx(a,d)));ox(a);sx(a,a,b,c);Ax(a,b,c)}function zx(a,b){b.values().titleText={value:a.Ha.B("text"),type:"string"};uw(b);var c=a.B("titleFormat");B(c)&&(c=Ex(Fx.xc(),c));return c.call(b,b)}
function yx(a,b,c){b.values().valuePrefix={value:a.B("valuePrefix")||"",type:"string"};b.values().valuePostfix={value:a.B("valuePostfix")||"",type:"string"};uw(b);a=c?a.B("unionFormat"):a.B("format");B(a)&&(a=Ex(Fx.xc(),a));return a.call(b,b)}g.Kc=function(a){this.v||(this.v=new pv,O(this.v,this.LN,this),this.v.Oa(this),this.v.width("100%").height("100%"),H(this,this.v));return p(a)?(this.v.H(a),this):this.v};
g.Gy=function(a){An(405,null,[".content()","the following behaviour",": the method called through the .content()-method should be applied to the .tooltip()-method directly"]);return this.Kc(a)};g.LN=function(a){U(a,8)?(this.D=this.l=null,this.i(1988,1)):U(a,1)&&this.i(512,1)};
function lx(a,b,c){if(b)return a.j&&a.j.stop(),a.remove(),!0;if(a.B("selectable")&&c){b=c.originalEvent.clientX;c=c.originalEvent.clientY;var d=a.ua().Jg(new vd(b,c)),e=px(a).X();if(e&&!d)return Wc(e,"mouseleave",a.Op,!1,a),a.s=null,!1;if(Gx(a,b,c))return Wc(document,"mousemove",a.hq,!1,a),e&&(Wc(px(a).X(),"mouseenter",a.Tv,!1,a),Wc(px(a).X(),"mouseleave",a.Uv,!1,a)),!1;a.s=null}if(a.pk())return mx(a),a.j.Si()||a.j.start(),!1;a.remove();return!0}g.remove=function(){px(this).parent(null)};
function nx(a){var b=a.va(1)&&!ac(a.o);a.title().Ea=b;a.Yf().Aa=b;a.ug().sa=b}g.ua=function(){this.D=this.l=null;rx(this);return new J(this.D.x-this.md().left()+this.B("offsetX"),this.D.y-this.md().top()+this.B("offsetY"),this.l.width,this.l.height)};g.Yc=function(){qx(this);return this.l};
g.Cb=function(){if(S(this,512)){T(this.Kc());for(var a in this.I){var b=this.B(a);p(b)&&this.Kc().Bb(a,b)}this.Kc().tj(this.B("adjustFontSize"));this.Kc().Zu(this.B("minFontSize"));this.Kc().Xu(this.B("maxFontSize"));this.Kc().O(!1)}};g.i=function(a,b){var c=jx.m.i.call(this,a,b);!c&&this.va(1)&&!ac(this.o)&&this.P(b||0);return c};function px(a){if(!a.f){a.f=Yg();H(a,a.f);Tt(a,a.f);var b=a.ug(),c=a.title(),d=a.Yf(),e=a.Kc();b.F(a.f);c.F(a.f);d.F(a.f);e.F(a.f)}return a.f}
function tx(a,b){return p(b)?(a.ha=b,a):a.ha}function ux(a){return At&&a.B("allowLeaveStage")&&a.B("allowLeaveChart")}function mx(a){a.j&&a.j.Si()?a.Ma=!0:(I(a.j),a.j=new nd(function(){this.remove();this.Ma&&(this.Ma=!1,mx(this))},a.pk(),a))}function xx(a,b){b=b||[];for(var c in a.o)nb(b,function(a){return String(wa(a))==c})||a.o[c].fd(!0)}
function qx(a){if(!a.l){T(a.Kc());a.Cb();a.Kc().O(!1);var b=a.B("width"),c=a.B("height"),d=(a.g||tx(a)).ua(),b=L(b,d.width),c=L(c,d.height),d=!isNaN(b),e=!isNaN(c),f=new J(0,0,0,0),h,k=null,l=null,n=a.title(),q=a.Yf(),r=a.Kc();if(!d||!e){if(n.enabled()){n.T(null);h=n.B("width");var t=null!=n.fb("width"),u=n.B("height"),w=null!=n.fb("height");jq(h)&&(k=h,n.width(null));jq(u)&&(l=u,n.height(null));h=n.Yc();f.width=b||Math.max(f.width,h.width);t?n.width(k):delete n.o.width;w?n.height(l):delete n.o.height;
l=k=null;e||(f.height+=h.height)}if(r.enabled()){var x=(t=a.U?a.U.Kc():null)?t.width():void 0,t=t?t.height():void 0;r.T(null);x=r.width()||x;t=r.height()||t;jq(x)&&(k=x,r.width(null));jq(t)&&(l=t,r.height(null));x=r.Yc();f.width=b||Math.max(f.width,x.width);k&&r.width(k);l&&r.height(l);e||(f.height+=x.height)}n.enabled()&&n.T(new J(0,0,f.width,h.height));r.enabled()&&r.T(new J(0,0,f.width,x.height));q.enabled()&&(q.T(n.enabled()||r.enabled()?f:null),h=q.Yc(),f.width=b||Math.max(f.width,h.width),e||
(f.height+=h.height))}f=a.md().nD(f);d&&(f.left=0,f.width=b);e&&(f.top=0,f.height=c);a.l=f}}function rx(a){qx(a);if(!a.D){var b=a.B("anchor"),c=a.B("offsetX"),d=a.B("offsetY"),e=a.B("x"),f=a.B("y"),e=new vd(e,f);zq(e,b,c,d);b=pq(a.l,b);e.x-=b.x;e.y-=b.y;a.D=e}}
function Cx(a,b,c,d,e){var f=c,h=d,k,l=a.B("positionMode")||"float",n=a.B("displayMode"),q=(a.jb()||tx(a)).ua(),r=a.ha.F().Z().xa(),t=b.B("allowLeaveStage");k=b.B("allowLeaveScreen");var u=b.B("allowLeaveChart"),w=b.B("offsetX"),x=b.B("offsetY");"float"==l?(f=c,h=d):"point"==l?(h="union"==n?a.B("position"):b.B("position"),h=vx(e,h).value,f=h.x,h=h.y):"chart"==l&&(f=a.jb().ua(),h="union"==n?a.B("position"):b.B("position"),h=pq(f,h),f=h.x,h=h.y);k||(b.x(f),b.y(h),k=b.ua(),a=ff(window),k.lefta.width+w&&(f-=k.la()-a.width-w),k.ga()>a.height+x&&(h-=k.ga()-a.height-x));t||(b.x(f),b.y(h),k=b.ua(),k.leftr.width+w&&(f-=k.la()-r.width-w),k.ga()>r.height+x&&(h-=k.ga()-r.height-x));u||(b.x(f),b.y(h),k=b.ua(),k.leftq.la()+w&&(f-=k.la()-w-q.la()),k.ga()>q.ga()+x&&(h-=k.ga()-x-q.ga()));b.x(f);b.y(h)}
function ox(a){if(S(a,2))if(ux(a)){var b=Po.xc();a.F(b.b);px(a).parent(a.F())}else if(tx(a)?b=tx(a).F():a.jb()?b=a.jb().F():a.parent()&&(tx(a.parent())?b=tx(a.parent()).F():a.parent().jb()&&(b=a.parent().jb().F())),b){var c=b.Z();px(a).parent(mr(c));a.F(b);a.C(2)}}g.hq=function(a){if(Gx(this,a.clientX,a.clientY))ux(this)&&Qo(!0);else{ed(document,"mousemove",this.hq,!1,this);var b=px(this).X();b&&(ed(b,"mouseenter",this.Tv,!1,this),ed(b,"mouseleave",this.Uv,!1,this));this.Op(a)}};
function Gx(a,b,c){if(!a.s)return!1;var d=a.s[0],e=a.s[1],f=a.s[2],h=a.s[3],k=a.s[4],l=a.s[5];a=fp(f,h,k,l,b,c);k=fp(k,l,d,e,b,c);return fp(d,e,f,h,b,c)==a&&a==k}g.Tv=function(){ed(document,"mousemove",this.hq,!1,this);px(this).X()&&ed(px(this).X(),"mouseenter",this.Tv,!1,this);this.s=null};g.Uv=function(a){px(this).X()&&ed(px(this).X(),"mouseleave",this.Uv,!1,this);this.Op(a)};
g.Op=function(a){if(2==a.b.buttons)return!0;ux(this)&&Qo(!1);px(this).X()&&ed(px(this).X(),"mouseleave",this.Op,!1,this);this.s=null;this.pk()?(mx(this),this.j.Si()||this.j.start()):this.fd(!0)};
g.parent=function(a){if(p(a)){if(this.U!=a){var b=String(wa(this));a?(this.U&&Ct(this.U,this.Io,this),this.U=a,this.title().parent(this.U.title()),this.Yf().parent(this.U.Yf()),this.ug().parent(this.U.ug()),this.md().parent(this.U.md()),this.Kc().md().parent(this.U.Kc().md()),this.U.o[b]=this,O(this.U,this.Io,this)):(Ct(this.U,this.Io,this),this.title().parent(null),this.Yf().parent(null),this.ug().parent(null),this.md().parent(null),this.Kc().md().parent(null),delete this.U.o[b],this.U=null)}return this}return this.U};
g.Io=function(a){var b=0,c=0;if(U(a,8)||U(a,1))b|=1988,c|=8;U(a,32768)&&(b|=1,c|=1);this.h=null;this.i(b,c)};g.fb=function(a){return this.A[a]};g.Sb=function(a){return null!=this.A[a]};g.Bc=function(a){return this.Xa[a]};g.B=Tu;g.Ab=function(a,b){this.A[a]=b};g.va=function(a){return p(a)?!!(a&this.Pa):!0};g.De=function(a){p(a)&&(this.h=a);return this.h};g.zh=Su;g.Nd=function(){var a=[this.Xa];this.U&&(a=vb(a,this.U.Nd()));return a};g.xd=function(){var a=[this.A];this.U&&(a=vb(a,this.U.xd()));return a};
g.lB=function(a){An(405,null,["isFloating()","positionMode()"]);var b=this.B("positionMode");return p(a)?("float"==b!=a&&this.Ab("positionMode",a?"float":"chart"),this):"float"==b};g.enabled=function(a){return p(a)?(this.A.enabled!=a&&(this.A.enabled=a,this.i(1,32777),this.A.enabled?(this.Qc=!1,this.O(!0)):isNaN(this.Bd)?T(this):this.Qc=!0),this):this.B("enabled")};
g.w=function(){var a={};pu(this,this.I,a);pu(this,this.S,a);delete a.x;delete a.y;var b=this.title().w();ac(b)||(a.title=b);b=this.Yf().w();ac(b)||(a.separator=b);b=this.ug().w();ac(b)||(a.background=b);b=this.md().w();ac(b)||(a.padding=b);p(this.N)&&(a.hideDelay=this.N);p(this.zIndex())&&(a.zIndex=this.zIndex());this.Sb("enabled")&&(a.enabled=this.A.enabled);return a};
g.J=function(a,b){a.content&&this.Gy(a.content);a.isFloating&&this.lB(a.isFloating);if(b){for(var c in this.I){var d=a[c];p(d)&&(this.Xa[c]=d)}for(c in this.S)d=a[c],p(d)&&(this.Xa[c]=d);"enabled"in a&&(this.Xa.enabled=a.enabled)}else ou(this,this.I,a),ou(this,this.S,a);wr(this.title(),a.title,b);wr(this.Yf(),a.separator,b);wr(this.ug(),a.background,b);wr(this.md(),a.padding,b);this.pk(a.hideDelay);c=a.contentInternal;if(!(c&&"anchor"in a&&"position"in a)){var e,f;c&&(e=c.position,f=c.anchor);if(!e||
!f){for(var d=this.zh(),h=0;hb?(x=Math.max(x,q),v+=n,r++,q=e+a.o,n=k+a.o):(q+=e+a.o,n=Math.max(n,k+a.o)):"verticalexpandable"==a.N&&(t+k>c?(v=Math.max(v,t),x+=u,w++,u=e+a.o,t=k+a.o):(t+=k+a.o,u=Math.max(u,e+a.o))));!d||0>f?f=d=0:d-=a.o;!h||
0>l?l=h=0:h-=a.o;a.ef=w;return"vertical"==a.N?pp(0,0,Math.max(0,f),Math.max(0,h)):"horizontal"==a.N?pp(0,0,Math.max(0,d),Math.max(0,l)):"verticalexpandable"==a.N?(x+=u-a.o,v=Math.max(v,t)-a.o,pp(0,0,Math.max(0,x),Math.max(0,v))):"horizontalexpandable"==a.N?(x=Math.max(x,q)-a.o,v+=n-a.o,pp(0,0,Math.max(0,x),Math.max(0,v))):pp(0,0,0,0)}
function Lx(a){var b=a.T();b&&0>=b.width&&0>=b.height&&(b=null);var c,d,e=a.margin(),f=a.Mj(),h,k,l,n,q=0,r=0,t,u;b?(c=b.width,d=b.height,null!=a.ra?(l=Math.min(c,L(a.ra,c),null!=a.tc?L(a.tc,c):c),t=f.Pc(e.Pc(l))):t=null!=a.tc?f.Pc(e.Pc(L(a.tc,c))):f.Pc(e.Pc(c)),null!=a.wa?(n=Math.min(d,L(a.wa,d),null!=a.Zb?L(a.Zb,d):d),u=f.Oc(e.Oc(n))):u=null!=a.Zb?f.Oc(e.Oc(L(a.Zb,d))):f.Oc(e.Oc(d))):(E(a.ra)&&!isNaN(a.ra)?(l=a.ra,t=f.Pc(a.ra)):t=E(a.tc)&&!isNaN(a.tc)?f.Pc(a.tc):Infinity,E(a.wa)&&!isNaN(a.wa)?(n=
a.wa,u=f.Oc(a.wa)):u=E(a.Zb)&&!isNaN(a.Zb)?f.Oc(a.Zb):Infinity);var w,x,v,A=a.wn(),C=a.mg(),D=a.title(),P=C.hi(),P="bottom"==P||"top"==P,Z=D.B("orientation")||nw(D),Z="bottom"==Z||"top"==Z,ba=!(rw(D)%180),ka=fw(A);T(A);T(C);T(D);do{var R=x=0,la=0,Q=0;D.enabled()?(D.T(null),lw(D,null),mw(D,null),v=D.Yc(),Z?(v.width>t&&(ba?lw(D,t):mw(D,t),v=D.Yc()),Q=v.width,x+=v.height):(v.height>u&&(ba?mw(D,u):lw(D,u),v=D.Yc()),la=v.height,R+=v.width)):v=null;A.enabled()?(A.T(null),w=A.Yc(),ka?x+=w.height:R+=w.width):
w=null;h=t-R;k=Mx(a,h,u-x);var Ja=k.width;k=k.height;x+=k;R+=Ja;la=Math.max(la,k);Q=Math.max(Q,Ja);R=Math.max(Q,R);Q=Math.max(la,x);la=u;Z&&(la-=v?v.height:0);ka&&(la-=w?w.height:0);C.T(null);x=C.ua();if("horizontal"==a.N)Ja>h&&a.c&&1h&&1la&&a.c&&1=t-v.width?Q:Ja,v=Math.max(Math.min(D.text().length,1),D.margin().Pc(la-mb<=v?la-v:mb)),lw(D,v);else if(!ba&&Q>u){v=0;w&&ka&&(v+=w.height);if("top"==C.hi()||"bottom"==C.hi())v+=x.height;Ja=bw(C)&&!P?x.height:0;Ja=Math.max(a.c&&a.c.length?a.c[0].ua().height:0,Ja);v=Math.max(1,D.margin().Oc(u-v-Ja));ba?mw(D,v):lw(D,v)}v=
D.Yc();A.width(h)}else v=D.Yc(),A.width(k);w=A.Yc();Z?R-=v.height:la-=v.width}A.enabled()&&(ka?R-=w.height:la-=w.width);w=la;Ja=R;C.hi();bw(C)&&(P?Ja=R-x.height:w=la-x.width);v=a;var la=Ja,Od,Pd;v.D=[];Ja=0;Q=v.c&&v.c.length;for(R=0;Rw?(Ja++,v.D[Ja]=[],v.D[Ja][0]=v.c[R],la=v.c[R].ua().Mc()):(la=la+v.o+v.c[R].ua().Mc(),v.D[Ja].push(v.c[R])));
break;case "vertical":w=v.c[R].ua().Lc();R+=1;for(Q=v.c.length;Rla?(Ja++,v.D[Ja]=[],v.D[Ja][0]=v.c[R],w=v.c[R].ua().Lc()):(w=w+v.o+v.c[R].ua().Lc(),v.D[Ja].push(v.c[R])));break;case "horizontalexpandable":for(var Qa=v.c[R].ua().Mc()+v.o,de=v.c[R].ua().Lc()+v.o,ee=0,R=R+1;Rw?(ee+=de,ee+Pd>la?(Ja++,v.D[Ja]=[],v.D[Ja][0]=mb,ee=0):v.D[Ja].push(mb),Qa=Od+v.o,de=Pd+v.o):(Qa+=Od+v.o,de=Math.max(de,
Pd+v.o),v.D[Ja].push(mb)));break;case "verticalexpandable":for(Qa=v.c[R].ua().Mc()+v.o,de=v.c[R].ua().Lc()+v.o,ee=0,R+=1;Rla?(ee+=Qa,ee+Od>w?(Ja++,v.D[Ja]=[],v.D[Ja][0]=mb,ee=0):v.D[Ja].push(mb),Qa=Od+v.o,de=Pd+v.o):(Qa=Math.max(Qa,Od+v.o),de+=Pd+v.o,v.D[Ja].push(mb)))}Uv(v.mg(),Ja+1);C.T(null);v=C.ua()}while(!zd(x,v));l||(l=h);n||(n=k);a.ia=new J(q,r,l,n);if(a.hb)q=a.xeb.la()&&(q=b.la()-l),rb.ga()&&(r=b.ga()-n));else if(b){q=b.Ba();r=b.Ka();switch(a.g){case "left":case "right":switch(a.s){case "center":r+=(d-n)/2;break;case "right":case "bottom":r=b.ga()-n}break;case "top":case "bottom":switch(a.s){case "center":q+=(c-l)/2;break;case "right":case "bottom":q=b.la()-l}}switch(a.g){case "right":q=
b.la()-l;break;case "bottom":r=b.ga()-n}}else q=L(e.B("left"),0),r=L(e.B("top"),0);a.ia.left=q;a.ia.top=r;a.ff=a.Mj().Ud(a.margin().Ud(a.ia));b=a.ia.clone();b.left=0;b.top=0;a.Sa=a.margin().Ud(b);a.Re=a.Mj().Ud(a.Sa);A.O(!1);C.O(!1);D.O(!1);a.C(4)}function Nx(a){if(y(a.gb))return a.gb;if(null!=a.I){for(var b,c=[],d=0;dc.width&&(e+=f,f=d=0),n.i(4),T(n).T(c).x(d).y(e).enabled(!0).O(!1).K(),d+=n.ua().Mc()+
a.o,f=Math.max(f,q.Lc()+a.o);break;case "verticalexpandable":for(k=0;kc.height&&(d+=h,h=e=0),n.i(4),T(n).T(c).x(d).y(e).enabled(!0).O(!1).K(),e+=l[k].ua().Lc()+a.o,h=Math.max(h,q.Mc()+a.o)}if(a.title().enabled()&&(c=a.title().B("orientation")||nw(a.title()),"top"!=c&&"bottom"!=c)){d=c=0;if(e=a.v.Va)c=e.h,d=e.u;e=a.V.ik();f=a.Ha.Yc();f.top+=d;f.left+=c;c=f.top+f.height/2-(e.top+e.height/2);c=Math.min(a.ff.height-e.height,Math.max(c,0));a.V.Ua(1,0,0,1,0,c)}}a.ib=
b}g.zM=function(a){return this.dispatchEvent(a.type)};g.jg=function(a){a=Ix.m.jg.call(this,a);var b=hq(a.domTarget),b=M(b&&b.index);isNaN(b)||(a.itemIndex=b);return a};g.GM=function(a){var b=Tx(this,a);if(b&&this.dispatchEvent(b)){var c=this.c&&this.c[b.itemIndex],b=b.itemSource;c&&(b&&va(b.tB)&&b.tB(c),c.Ma=!0,Dv(c,!0),zv(c,!0),Cv(c,!0),a&&Kx(this,a))}};g.FM=function(a){var b=Tx(this,a);b&&this.dispatchEvent(b)&&a&&Kx(this,a)};
g.eJ=function(a){var b=Tx(this,a);b&&this.dispatchEvent(b)&&(a=this.c&&this.c[b.itemIndex],b=b.itemSource,a&&(b&&va(b.sB)&&b.sB(a),a.Ma=!1,Dv(a,!1),zv(a,!1),Cv(a,!1),this.Ra().fd()))};g.dJ=function(a){if(a.button==Zi){var b=Tx(this,a);b&&this.dispatchEvent(b)&&(a=this.c&&this.c[b.itemIndex],b=b.itemSource,a&&b&&va(b.rB)&&b.rB.call(b,a))}};g.Ae=function(a){(a=Tx(this,a))&&this.dispatchEvent(a)};
function Tx(a,b){var c=M(b.itemIndex);if(isNaN(c))return null;var d=b.type;switch(d){case "mouseout":d="legenditemmouseout";break;case "mouseover":d="legenditemmouseover";break;case "mousemove":d="legenditemmousemove";break;case "mousedown":d="legenditemmousedown";break;case "mouseup":d="legenditemmouseup";break;case "click":d="legenditemclick";break;case "dblclick":d="legenditemdblclick";break;default:return null}var c=a.ha?a.c.length-1-c:c,e=null,f=NaN,h=a.c[c];if(h&&a.I)for(var k=0;ka.nearestPointToCursor.distance&&(a.series.rb().select(a.nearestPointToCursor.index),e=a)});"single"==this.l.B("displayMode")?Bx(this.l,[e],a.originalEvent.clientX,a.originalEvent.clientY,
e.series):Bx(this.l,b,a.originalEvent.clientX,a.originalEvent.clientY,e.series)}}};g.lD=function(a){var b=this.l,c=a.clientX;a=a.clientY;var d=b.B("displayMode");"single"==d&&(sx(b,b.c,c,a),Ax(b.c,c,a));if("union"==d)sx(b,b.c,c,a),Ax(b.c,c,a);else if("separated"==d)for(var e in b.o)if(d=b.o[e])Cx(b,d,c,a),Ax(d,c,a)};g.contextMenu=function(a){!this.D&&(this.D=m.anychart.ui.contextMenu(!!z(a)&&a.fromTheme))&&(H(this,this.D),this.D.itemsProvider(this.lL));return p(a)?(this.D&&this.D.setup(a),this):this.D};
g.XA=function(){return"http://anychart.com/products/anychart/history"};g.lL=function(a){hq(a.event.domTarget);var b=$n(ey),c=$n(fy);c.href=a.chart.XA()+"?version=7.13.1.1364";b.push(null,gy,hy,c);return $n(b)};g.oM=function(){var a=[],b,c,d,e=this.ed();for(c=0;cq.Jg||!d)d=n.na,e=q.index,f=sb(n.he,q.index),h=q.Jg}}d={index:e,series:d};d.hovered=f;f=[];for(e=0;ec||b>d)return 1;if(ac)return 1}else if(f){if(bd)return 1}return 0}function yy(a,b){return p(b)?(a.be!=b&&(a.be=b,a.i(16,1)),a):a.be}g.uc=function(a){return p(a)?(this.I!=a&&(this.I=a,this.i(16,8)),this):this.I};g.De=function(a){p(a)&&(this.h=a);return this.h};g.zh=function(){var a=this.De();a||(a=this.xd(),this.De(a));return a};g.Nd=function(){return[]};g.xd=function(){return[this.b]};g.fb=function(a){return this.b[a]};
g.Sb=function(a){return null!=this.b[a]};g.B=Tu;g.vu=zy.prototype.fb;g.Bc=zy.prototype.fb;g.Ab=function(a,b){this.b[a]=b};g.va=function(){return!0};g.Jh=function(){this.b.background&&(I(this.b.background),this.b.background=null);this.b.padding&&(I(this.b.padding),this.b.padding=null);this.b={};this.v={};this.A={pointNormal:this};this.D=null;delete this.h;this.cg&&(this.A.seriesNormal=this.cg,this.A.seriesNormalTheme=this.cg.Xa);this.f=null};
g.Lq=function(a,b){p(a)&&this.H(a);b&&(this.A.pointState=b);(p(a)||p(b))&&this.i(17,9);return this};function Ly(a,b){if("adjustFontSize"==b){var c=My(a,b,function(a){return a.width}),d=My(a,b,function(a){return a.height});return{width:c,height:d}}return My(a,b)}function Hy(a,b,c){var d=void 0;(c?rb:pb)(Fy(a),function(c,f){var e=B(c)?"auto"==c?a.v:a.A[c]:c;if(e&&(d=b.call(a,c,e,f),p(d)))return!0});return d}
function My(a,b,c){return Hy(a,function(a,e){var d;if(e instanceof zy||e instanceof jy)"enabled"==b?d=null===e[b]()?void 0:e[b]():d=e.vu(b);else if(z(e))if("adjustFontSize"==b){var h=e[b];p(h)?y(h)?(d=h[0],h=h[1]):z(h)?(d=h.width,h=h.height):(d=!!h,h=!!h):h=d=void 0;d={width:d,height:h}}else d=e[b];c&&p(d)&&(d=c(d));return d})}
function By(a){if(a.f)return ec(a.f);for(var b=a.cg.Ev,c={},d=0,e=b.length;d=Ky(a.xa().width,a.xa().height,b,c,f,h))return e;a.fontSize(k);for(var n=e=Ky(a.xa().width,a.xa().height,b,c,f,h);d!=l;){if(0>e)d=Math.min(k+1,l),k+=Math.floor((l-k)/2);else if(0=n*e)break}if(!e)return k;do k+=n,a.fontSize(k),e=Ky(a.xa().width,a.xa().height,b,c,f,h);while(0>n*e);0this.g&&(this.g=c,this.c=!1)}return this};g.bp=function(a){var b=this.ka!=this.f||this.ha!=this.g;b&&(this.c=!1,a||this.P(2));return b};g.jq=function(){return this.o||this.j};g.transform=function(a){this.ad();a=M(a);return Sy(this,(a-this.min)/this.Nc)};g.ad=function(){this.c||(this.c=!0,this.fA())};
g.fA=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.j?isNaN(this.l)?this.g:Math.max(this.g,this.l):this.max)-(this.o?isNaN(this.s)?this.f:Math.min(this.f,this.s):this.min);1E-4>Math.abs(a)&&!this.o&&!this.j&&(this.max+=1E-4);this.o&&(this.min=this.f-a*this.I,isNaN(this.s)||(this.min=0this.min&&0<=this.f&&
this.min!=this.s&&(this.min=0));this.j&&(this.max=this.g+a*this.D,isNaN(this.l)||(this.max=0this.max&&0<=this.g&&this.max!=this.l&&(this.max=0))};g.Dc=function(a){this.ad();a=Ty(this,a);return a*this.Nc+this.min};
g.w=function(){var a=Vy.m.w.call(this);a.maximum=this.j?null:this.max;a.minimum=this.o?null:this.min;a.minimumGap=this.hm();a.maximumGap=this.gm();a.softMinimum=isNaN(this.s)?null:this.s;a.softMaximum=isNaN(this.l)?null:this.l;a.maxTicksCount=this.V;return a};g.J=function(a,b){Vy.m.J.call(this,a,b);this.hm(a.minimumGap);this.gm(a.maximumGap);this.Ft(a.softMinimum);this.Et(a.softMaximum);this.Uo(a.minimum);this.To(a.maximum);this.Ch(a.maxTicksCount)};
function Wy(a,b){a=(a+"").toLowerCase();switch(a){case "log":case "logarithmic":return Xy();case "lin":case "linear":return Yy();case "date":case "datetime":case "dt":return Zy();default:return b?null:Yy()}}var $y=Vy.prototype;$y.maxTicksCount=$y.Ch;$y.minimum=$y.Uo;$y.maximum=$y.To;$y.extendDataRange=$y.Df;function az(){T(this);V.call(this);this.ao=[];this.bo=[];this.f=980;this.O(!1)}G(az,V);g=az.prototype;g.aa=V.prototype.aa|976;g.Y=V.prototype.Y;g.Ha=null;g.fa=null;g.Ie=null;g.Ca=null;g.ab=null;g.Kf=null;g.Il="noOverlap";g.tn=!1;g.Ek=null;g.Ph=null;g.sn=1;g.Xg=null;g.ra=null;g.qa=null;g.ds=!0;g.es=!0;g.ao=null;g.bo=null;g.title=function(a){this.Ha||(this.Ha=new jw,this.Ha.Oa(this),O(this.Ha,this.uG,this),H(this,this.Ha));return p(a)?(this.Ha.H(a),this):this.Ha};
g.uG=function(a){var b=0,c=0;U(a,8)?(b=this.f,c=9):U(a,1)&&(b=64,c=1);this.i(b,c)};g.labels=function(a){this.fa||(this.fa=new jy,this.fa.Oa(this),O(this.fa,this.rG,this),H(this,this.fa));return p(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.fa.H(a),this):this.fa};g.rG=function(a){var b=0,c=0;U(a,8)?(b=this.f,c=9):U(a,1)&&(b=384,c=1);this.h=null;bz(this);this.i(b,c)};
g.Ja=function(a){this.Ie||(this.Ie=new jy,this.Ie.Oa(this),this.Yd()?this.Ie.rotation(0):this.Ie.rotation(-90),O(this.Ie,this.sG,this),H(this,this.Ie));return p(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.Ie.H(a),this):this.Ie};g.sG=function(a){var b=0,c=0;U(a,8)?(b=this.f,c=9):U(a,1)&&(b=128,c=1);bz(this);this.i(b,c)};g.cs=function(){return new py};g.su=function(){return this.$a?this.$a:this.$a=sg()};
g.$=function(a){this.Ca||(this.Ca=this.cs(),this.Ca.Oa(this),O(this.Ca,this.sx,this),H(this,this.Ca));return p(a)?(this.Ca.H(a),this):this.Ca};g.ya=function(a){this.ab||(this.ab=this.cs(),this.ab.Oa(this),O(this.ab,this.sx,this),H(this,this.ab));return p(a)?(this.ab.H(a),this):this.ab};g.sx=function(a){var b=0,c=0;U(a,8)?(b=this.f,c=9):U(a,1)&&(b=256,c=1);this.i(b,c)};
g.stroke=function(a,b,c,d,e){if(p(a)){a=fe.apply(null,arguments);if(this.V!=a){var f=z(this.V)?this.V.thickness||1:1,h=z(a)?a.thickness||1:1;this.V=a;h==f?this.i(16,1):this.i(this.f,9)}return this}return this.V};g.nc=function(a){return p(a)?(a=null===a?null:Jm(a),this.o!=a&&(this.o=a,this.h=null,this.i(this.f,9)),this):this.o||"top"};
g.scale=function(a){return p(a)?(this.Kf!=a&&(this.Kf&&Ct(this.Kf,this.fs,this),(this.Kf=a)&&O(this.Kf,this.fs,this),this.h=null,bz(this),xy(this.labels()),xy(this.Ja()),this.i(this.f,9)),this):this.Kf};g.fs=function(a){U(a,2)&&(this.h=null,bz(this),xy(this.labels()),xy(this.Ja()),this.i(this.f,9))};g.width=function(a){return p(a)?(this.ra!=a&&(this.ra=a,this.i(this.f,9)),this):this.ra};
g.ih=function(a,b,c,d){this.qa||(this.qa=new jv,H(this,this.qa),O(this.qa,this.tG,this));return p(a)?(this.qa.H.apply(this.qa,arguments),this):this.qa};g.tG=function(a){U(a,2)&&(this.h=null,bz(this),this.i(this.f,9))};g.Lf=function(){this.h=null;bz(this);this.i(this.f,9)};function bz(a){a.l&&(a.l.length=0);a.ao.length=0;a.bo.length=0;a.v=null}
function cz(a,b){var c;if(a.kj())if(a.h)c=a.h;else if((c=a.scale())&&a.labels().enabled()){a.sn=1;a.I=1;var d;c=c.$().get();var e=c.length,f,h,k,l,n,q;if(null===a.Ek){var r=!1;for(f=1;!r&&f<=e;)for(r=!0,k=0;ka.Ph?a.Ph:a.sn}else a.I=a.Ek;if((null!==a.Ek||null!==a.Ph&&a.sn>a.Ph)&&"noOverlap"==a.co()){q=[];for(h=0;h=C&&a.Xe()||1<=C&&a.Xd()?t=D:0C&&(t=D)),D++;v<=ba&&h=C&&a.Xe()||1<=C&&a.Xd()?(u=l,n.push(!0)):0C?(u=l,n.push(!0)):n.push(!1))):n.push(!1),l++)}ka||(n=!1)}else if(q instanceof Ry)for(h=0;hh&&
(h=d)}if(n&&!a.kj())for(n=z(q)?q.Ja:!q,r=b.ya().get(),e=0,f=n.length;ek&&(k=d);return a.pz(h,k)+l}g.ye=function(a){return this.Yd()?this.ih().Pc(a):this.ih().Oc(a)};
g.bc=function(){var a=this.T();if(a){var b=a.clone();if(this.scale()&&this.enabled()){var c=this.ua(),d=this.ih(),e=a.height-d.Oc(a.height)+c.height,a=a.width-d.Pc(a.width)+c.width;switch(this.nc()){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 J(0,0,0,0)};
g.ua=function(){if(!this.Xg||S(this,4)){var a=this.T();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.Yd()?(b=a.width,c=a.height):(b=a.height,c=a.width);b=this.ye(b);c=this.ra?L(this.ra,c):ez(this,a,b);var d,e,f=this.ih(),h=L(f.B("top"),a.height),k=L(f.B("right"),a.width),l=L(f.B("bottom"),a.height),f=L(f.B("left"),a.width),n,q;switch(this.nc()){case "top":e=a.top+h;d=a.left+f;q=c;n=b;break;case "right":e=a.top+h;d=a.left+
a.width-c-k;q=b;n=c;break;case "bottom":e=a.top+a.height-c-l;d=a.left+f;q=c;n=b;break;case "left":e=a.top+h,d=a.left+f,q=b,n=c}this.Xg=new J(Math.round(d),Math.round(e),Math.round(n),Math.round(q))}else this.Xg=new J(0,0,0,0);this.C(4)}return this.Xg};
function dz(a,b,c,d,e){if(!c&&a.scale()&&!(a.scale()instanceof Vy))return null;var f=c?a.ao:a.bo;if(p(f[b]))return f[b];var h=p(e)?e:a.ua();e=p(e)?e:a.$a.xa();var k=c?a.$():a.ya(),l=k.length(),n=a.stroke(),n=!n||Aq(n)?0:n.thickness?parseFloat(a.stroke().thickness):1;c=c?a.labels():a.Ja();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,f,c),l==k-1&&(w=a.transform(R,1),0<=w&&1>=w&&b.call(e,w,A,C,f,c))),(x=y(q)?q[l]:q)&&0<=t&&1>=t&&hz(this,d,t,l,c,!0,h);this.labels().K()}this.title().O(!1);this.labels().O(!1);
this.Ja().O(!1);this.$().O(!1);this.ya().O(!1);return this};g.remove=function(){this.Ha&&this.Ha.remove();this.$a&&this.$a.parent(null);this.$().remove();this.ya().remove();this.fa&&this.fa.remove();this.Ie&&this.Ie.remove()};
g.w=function(){var a=az.m.w.call(this);a.title=this.title().w();a.labels=this.labels().w();a.minorLabels=this.Ja().w();a.ticks=this.$().w();a.minorTicks=this.ya().w();a.stroke=Zn(this.stroke());a.staggerMode=this.kj();a.staggerLines=this.Mv();a.staggerMaxLines=this.Nv();a.width=this.width();this.o&&(a.orientation=this.o);a.drawFirstLabel=this.Xe();a.drawLastLabel=this.Xd();a.overlapMode=this.co();return a};
g.J=function(a,b){az.m.J.call(this,a,b);"title"in a&&this.title(a.title);wr(this.labels(),a.labels,b);wr(this.Ja(),a.minorLabels,b);this.$(a.ticks);this.ya(a.minorTicks);this.kj(a.staggerMode);this.Mv(a.staggerLines);this.Nv(a.staggerMaxLines);this.stroke(a.stroke);this.width(a.width);this.nc(a.orientation);this.Xe(a.drawFirstLabel);this.Xd(a.drawLastLabel);this.co(a.overlapMode)};
g.L=function(){az.m.L.call(this);this.Kf&&Ct(this.Kf,this.fs,this);delete this.Kf;this.Ha=this.bo=this.ao=null;Qb(this.qa,this.$a,this.fa,this.Ie);this.Ie=this.fa=this.Xg=this.ab=this.Ca=this.$a=this.qa=null};var iz=az.prototype;iz.staggerMode=iz.kj;iz.staggerLines=iz.Mv;iz.staggerMaxLines=iz.Nv;iz.title=iz.title;iz.labels=iz.labels;iz.minorLabels=iz.Ja;iz.ticks=iz.$;iz.minorTicks=iz.ya;iz.stroke=iz.stroke;iz.orientation=iz.nc;iz.scale=iz.scale;iz.width=iz.width;iz.getRemainingBounds=iz.bc;
iz.drawFirstLabel=iz.Xe;iz.drawLastLabel=iz.Xd;iz.overlapMode=iz.co;iz.isHorizontal=iz.Yd;iz.padding=iz.ih;function jz(){V.call(this);this.g=this.f=null}G(jz,V);g=jz.prototype;g.Y=V.prototype.Y|8;g.aa=V.prototype.aa|20;g.kb=function(){return this.g};function kz(a,b){return p(b)?(a.W!=b&&(a.W&&Ct(a.W,a.ps,a),a.W=b,a.W&&O(a.W,a.ps,a),a.i(4,9)),a):a.W?a.W:a.f?a.f.scale():null}g.ps=function(a){var b=0;U(a,4)&&(b|=4);U(a,2)&&(b|=1);this.i(4,b|8)};function lz(a,b){return p(b)?(a.b!==b&&(a.b=b,a.i(4,9)),a):a.b}g.Ex=function(){this.i(4,9)};
g.kh=function(a){return p(a)?(this.f!=a&&(this.f&&Ct(this.f,this.Ex,this),this.f=a,O(this.f,this.Ex,this),this.W&&Ct(this.W,this.ps,this),this.W=null,this.i(4,9)),this):this.f};g.Dx=function(a,b,c,d){this.h||(this.h=new jv,H(this,this.h));return p(a)?(this.h.H.apply(this.h,arguments),this):this.h};g.Fj=function(){return"horizontal"==this.sg()};g.Ml=void 0;g.Ll=void 0;
g.K=function(){if(!this.scale())return wn(2),this;if(!this.Ta())return this;if(S(this,8)){var a=this.zIndex();mz(this).zIndex(a);this.C(8)}S(this,2)&&(a=this.F(),mz(this).parent(a),this.C(2));S(this,16)&&(this.Ll(),this.C(16));S(this,4)&&(this.Ml(),this.C(4));return this};
function nz(a){var b=a.scale();if(b){var c=mz(a),b=b.transform(a.b,.5);if(!isNaN(b)&&(c.clear(),0<=b&&1>=b)){var d=c.Qv()%2?-.5:0,e=a.T(),f=a.Dx();a.Fj()?(a=Math.round(e.Ka()+e.height-b*e.height),1==b?a-=d:a+=d,c.moveTo(e.Ba(),a),c.lineTo(e.la(),a)):(a=Math.round(e.Ba()+b*e.width),1==b?a+=d:a-=d,c.moveTo(a,e.Ka()),c.lineTo(a,e.ga()));c.clip(f.Ud(e))}}else wn(2)}
function oz(a){var b=a.b,c=a.scale();if(c){var d=mz(a);d.clear();var e=b.Cd,f=b.from,h=c.transform(f),k=c.transform(e);h>k&&(e=b.from,f=b.Cd);f=c.transform(f,0);c=c.transform(e,1);b=Math.min(c,f);f=Math.max(c,f);!isNaN(b)&&!isNaN(f)&&0<=f&&1>=b&&(b=pd(b,0,1),f=pd(f,0,1),c=a.T(),e=a.Dx(),a.Fj()?(a=Math.floor(c.ga()-c.height*f),b=Math.ceil(c.ga()-c.height*b),f=c.Ba(),h=c.la(),d.moveTo(f,a).lineTo(h,a).lineTo(h,b).lineTo(f,b).close()):(a=c.ga(),h=c.Ka(),b=Math.floor(c.Ba()+c.width*b),f=Math.ceil(c.Ba()+
c.width*f),d.moveTo(b,a).lineTo(b,h).lineTo(f,h).lineTo(f,a).close()),d.clip(e.Ud(c)))}else wn(2)}g.remove=function(){mz(this).parent(null)};function mz(a){a.o||(a.o=sg(),H(a,a.o));return a.o}g.J=function(a,b){jz.m.J.call(this,a,b);"layout"in a&&a.layout&&this.sg(a.layout);if("axis"in a){var c=a.axis;E(c)?this.g&&this.kh(pz(this.g,c)):c instanceof az&&this.kh(c)}};g.L=function(){this.g=this.f=null;jz.m.L.call(this)};function qz(){jz.call(this);this.b={from:0,Cd:0};this.l="black";var a=!this.c&&"#c1c1c1 0.4"!=this.l;this.l="#c1c1c1 0.4";a&&this.i(16)}G(qz,jz);g=qz.prototype;g.Y=jz.prototype.Y;g.aa=jz.prototype.aa;g.sg=function(a){return p(a)?(a=Gm(a),this.j!=a&&(this.j=a,this.i(4,9)),this):this.j?this.j:this.kh()?(a=this.kh().nc(),"left"==a||"right"==a?"horizontal":"vertical"):"horizontal"};g.scale=function(a){return kz(this,a)};
g.fill=function(a,b,c,d,e,f,h){if(p(a)){var k=Xd.apply(null,arguments);k!=this.c&&(this.c=k,this.i(16,1));return this}return this.c||this.l};g.from=function(a){return p(a)?(this.b.from!=a&&(this.b.from=a,this.i(4,9)),this):this.b.from};g.Cd=function(a){return p(a)?(this.b.Cd!=a&&(this.b.Cd=a,this.i(4,9)),this):this.b.Cd};g.Ml=function(){oz(this)};g.Ll=function(){mz(this).stroke(null).fill(this.fill())};g.L=function(){delete this.c;qz.m.L.call(this)};
g.w=function(){var a=qz.m.w.call(this);a.from=this.from();a.to=this.Cd();this.c&&(a.fill=Zn(this.c));this.j&&(a.layout=this.j);return a};g.J=function(a,b){qz.m.J.call(this,a,b);this.from(a.from);this.Cd(a.to);this.fill(a.fill)};var rz=qz.prototype;rz.from=rz.from;rz.to=rz.Cd;rz.scale=rz.scale;rz.axis=rz.kh;rz.layout=rz.sg;rz.fill=rz.fill;rz.isHorizontal=rz.Fj;function sz(a){this.c=a;this.reset()}g=sz.prototype;g.select=function(a){this.b=a-1;return this.advance()};g.reset=function(){this.b=-1;this.f=void 0;return this};g.advance=function(){this.f=this.c.hc(++this.b);var a=this.dc();return!!a&&this.b=this.dc()))return tz(this.c.Gf(this.b),this.f,this.b,a)};g.xh=function(a){return this.get(a)};g.Qa=function(){return this.b};g.At=function(){return this.get("x")};g.dc=function(){return this.c.dc()};
g.G=function(a,b){return 1=this.dc()))return tz(this.Gf(a),this.hc(a),a,b)};g.set=function(a,b,c){var d=this.hc(a);p(d)&&this.hc(a,Bz(this.Gf(a),d,b,c));return this};g.rb=function(){wz(this);return new sz(this)};g.It=function(){return null};
g.rq=function(a){this.c=null;U(a,16)&&this.i(1,16)};g.G=function(a,b,c){this.vk||(this.vk=[]);var d=this.vk[a];d||(this.vk[a]=d={});return 2=c&&0=f&&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 Tz(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,f=0;f=b[h].offset&&(c=b[h]),e<=b[h].offset&&null==d&&
(d=b[h]);c||(c=b[0]);d||(d=b[b.length-1]);d.offset==c.offset?a.f[f]={color:c.color}:(e=1-(e-c.offset)/(d.offset-c.offset),a.f[f]={color:ce(El(Al(c.color),Al(d.color),e))})}}}}g.w=function(){var a=Sz.m.w.call(this);a.type="range";for(var b=[],c=0;ca&&(c=b,b=a,a=c),c=[b,a])):c=null;this.u=!1;this.b=c;this.c={};this.P(2);return this}return this.b};g.eD=function(a){return p(a)?(this.g=M(a),this.c={},this.P(2),this):this.g};g.ez=function(a){if(p(a)){this.f=y(a)?a.slice():[];for(a=this.h.length=0;aa.b[1])&&d.push([b.getTime(),b.getTime()+864E5-6E4]));!d&&a.U&&(d=mA(a.U,b));d||(d=[]);return a.c[c]=d}g.eB=function(a){U(a,2)&&!this.b&&(this.c={})};
function lA(a){var b=a.isWorking;this.u=p(b)?!b:!1;b=tn(a.each);switch(b){case "year":var c=a.on,d=a.from,e=a.to;this.j=this.UK;(c=bx(c,"dd.MM",hA))?(this.h=this.Yu,this.b=new Ip(2E3,c.getUTCMonth(),c.getUTCDate()),e=nA(d,e),this.f=e[0],this.c=e[1]):(this.h=this.iC,this.b=null,c=(c=bx(d,"dd.MM",hA))?new Ip(c):iA,this.f=new Ip(2E3,c.getUTCMonth(),c.getUTCDate()),c=(c=bx(e,"dd.MM",hA))?new Ip(c):jA,this.c=new Ip(2E3,c.getUTCMonth(),c.getUTCDate()),this.c.add(kA));break;case "week":oA(this,a.on,a.from,
a.to);break;case "day":oA(this,NaN,a.from,a.to);break;default:c=a.on,d=a.from,e=a.to,this.j=this.Wv,(c=bx(c))?(this.h=this.Yu,this.b=new Ip(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),e=nA(d,e),this.f=e[0],this.c=e[1]):(this.h=this.iC,this.b=null,c=(c=bx(d))?new Ip(c):iA,this.f=new Ip(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),c=(c=bx(e))?new Ip(c):jA,this.c=new Ip(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),this.c.add(kA))}"none"==b?this.b?(this.o=this.b.clone(),this.g=this.b.clone(),
this.g.add(kA)):(this.o=this.f.clone(),this.g=this.c.clone()):(this.o=(b=bx(a.starts))?new Ip(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()):iA,(b=bx(a.ends))?(this.g=new Ip(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()),this.g.add(kA)):this.g=jA)}function oA(a,b,c,d){a.j=a.VK;a.h=a.Yu;b=Math.min(N(b,NaN,!0),6);a.b=isNaN(b)?null:b;b=nA(c,d);a.f=b[0];a.c=b[1]}g=lA.prototype;g.Wv=function(a){return a.getTime()>=this.o.getTime()&&a.getTime()<=this.g.getTime()};
g.VK=function(a){return this.Wv(a)&&(null===this.b||(a.Kp()+6)%7==this.b)};g.UK=function(a){if(!this.Wv(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.zu(b);var d=this.c.clone();d.zu(b);return a>=c.getTime()&&a<=d.getTime()};
g.Yu=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],f=[],h=0;(c=a[h])&&c[1]e)this.u||f.push([d,e]);else{this.u?(c[0]a?4:Math.ceil(+a),this.yg=this.td=null,this.P(2)),this):this.Fd};
g.set=function(a){if(this.td!=a){this.Fd=NaN;this.Ke=null;this.td=kb(a,function(a){return bx(a)});Gb(this.td);for(var b=this.td[0],c=1,d=1;da||1a.scale.Ch()&&(An(20,null,[c-b,Uq(k)]),k=null,a.Fd=4);k||(k=uA(a,b,c,!1));d&&(f[0]=b=uq(b,k,0));b=new Ip(new Date(b));c=new Ip(new Date(c));for(d=0;0>=b.getTime()-c.getTime()&&150>d;b.add(k),d++)h.push(b.getTime());e&&0a.scale.Ch()&&(An(20,null,[l-d,Uq(h)]),h=null,a.Fd=4);h||(h=uA(a,c,b,!0));c=new Ip(new Date(d));l=new Ip(new Date(l));for(b=0;0>=c.getTime()-l.getTime()&&150>b;c.add(h),b++)e.push(c.getTime());a.yg=e;a.Fd=k}this.o&&(this.min=f[0]);this.j&&(this.max=f[1]);this.Nc=this.max-this.min}};g.Wy=function(a){U(a,2)&&(this.c=!1,this.P(2))};g.w=function(){var a=gz.m.w.call(this);a.ticks=this.$().w();a.minorTicks=this.ya().w();return a};
g.J=function(a,b){gz.m.J.call(this,a,b);this.$(a.ticks);this.ya(a.minorTicks)};function Zy(){var a=new gz;a.J(ko("defaultScaleSettings.dateTime"));return a}var wA=gz.prototype;F("anychart.scales.dateTime",Zy);wA.getType=wA.ae;wA.ticks=wA.$;wA.minorTicks=wA.ya;wA.transform=wA.transform;wA.inverseTransform=wA.Dc;wA.extendDataRange=wA.Df;wA.softMinimum=wA.Ft;wA.softMaximum=wA.Et;wA.minimumGap=wA.hm;wA.maximumGap=wA.gm;function xA(a){kd.call(this);this.W=a}G(xA,Bt);g=xA.prototype;g.Y=2;g.Rc=NaN;g.Ub=4;g.bd=6;g.Ac=null;g.Wc=null;g.se=0;g.Zj="linear";g.SK=function(a){return p(a)?(this.Rc!=a&&(a=M(a),0>=a?(this.Ub=4,this.bd=6,this.Rc=NaN):(this.bd=this.Ub=NaN,this.Rc=+a),this.Wc=this.Ac=null,this.P(2)),this):this.Rc};
g.count=function(a,b){return p(a)?(this.Ub!=a&&(this.Rc=NaN,this.Ub=Math.ceil(M(a)),this.bd=Math.ceil(M(b)),2<=this.Ub||(this.Ub=4),this.bd>=this.Ub||(this.bd=this.Ub),this.Wc=this.Ac=null,this.P(2)),this):[this.Ub,this.bd]};g.Yo=function(a){return p(a)?(a=+a||0,this.se!=a&&(this.se=a,this.Wc=null,this.Ac||this.P(2)),this):this.se};g.set=function(a){Kb(this.Ac,a)||(this.Rc=this.bd=this.Ub=NaN,this.Ac=zb(a,0),Ab(this.Ac),Gb(this.Ac,eq),this.Wc=null,this.P(2));return this};
g.get=function(){var a=yA(this);return jb(a,function(a){a=this.transform(a);return 0<=a&&1>=a},this.W)};function yA(a){a.Ac?a=a.Ac:(a.W.ad(),a=a.Wc);return a||[]}g.mode=function(a){return p(a)?(a=(""+a).toLowerCase(),a="log"==a||"logarithmic"==a?"logarithmic":"linear",this.Zj!=a&&(this.Wc=null,this.Zj=a,this.Ac||this.P(2)),this):this.Zj};
function zA(a,b,c,d,e,f){if("logarithmic"==a.Zj){f=f||10;a.Wc=null;var h=[b,c];if(a.Ac)d&&(h[0]=Math.min(b,a.Ac[0]||0)),e&&(h[1]=Math.max(c,a.Ac[a.Ac.length-1]||0));else{b=bp(b,f);c=bp(c,f);var k=[],l=a.Rc,n=a.Ub,q=a.bd;!isNaN(l)&&(c-b)/l>a.W.Ch()&&(An(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(tq(n,w),tq(n,Math.ceil(Math.pow(10,Math.ceil(u*Math.LOG10E)))),tq(n,Math.ceil(Math.pow(2,
Math.floor(u*Math.LOG2E)))),tq(n,Math.ceil(Math.pow(2,Math.ceil(u*Math.LOG2E)))),tq(n,Math.ceil(w/2)),tq(n,Math.ceil(w/4)),tq(n,Math.ceil(w/8))),n=Math.max(n,1E-7),u=ap(sq(b,n,a.se))-b,u=u*u,w=ap(tq(c,n,a.se))-c,w=w*w,u=u+w;if(isNaN(r)||ua.W.Ch()&&(An(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 f="logarithmic"==a.Zj,h=f?a.FF:a.EF,k,l,n=b.length-1,q=a.Rc,r=a.Ub;isNaN(a.Rc)||(l=b[n],k=b[0],f&&(k=bp(k,c),l=bp(l,c)),(l-k)/a.Rc>a.W.Ch()&&(An(20,null,[l-k,a.Rc]),a.Rc=NaN,a.Ub=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.Rc=q;a.Ub=r}}
g.EF=function(a,b,c,d){var e=this.Rc;isNaN(e)&&(e=(d-c)/(this.Ub-1));e=Math.max(e,1E-7);c=this.Wc[this.Wc.length-1];b=$o(b,7);for(a=$o(a,7);a<=b;a=$o(a+e,7))c!=a&&this.Wc.push(a),c=a};g.FF=function(a,b,c,d,e){var f=this.Rc;a=bp(a,e);b=bp(b,e);c=bp(c,e);d=bp(d,e);isNaN(f)&&(f=(d-c)/(this.Ub-1));f=Math.max(f,1E-7);c=this.Wc[this.Wc.length-1];b=$o(b,7);for(a=$o(a,7);a<=b;a=$o(a+f,7))c!=a&&this.Wc.push(cp(e,a)),c=a};
g.w=function(){var a=xA.m.w.call(this);a.mode=this.Zj;a.base=this.se;this.Ac?a.explicit=this.Ac:(this.Ub==this.bd?isNaN(this.Ub)||(a.count=this.Ub):(isNaN(this.Ub)||(a.minCount=this.Ub),isNaN(this.bd)||(a.maxCount=this.bd)),isNaN(this.Rc)||(a.interval=this.Rc));return a};g.Ib=function(a){var b=arguments;return y(b[0])?(this.set(b[0]),!0):Bt.prototype.Ib.apply(this,b)};
g.J=function(a,b){xA.m.J.call(this,a,b);this.mode(a.mode);this.Yo(a.base);this.Ac=a.explicit||null;this.Ub=a.count||a.minCount||NaN;this.bd=a.count||a.maxCount||NaN;this.Rc=a.interval||NaN;this.Ac?this.Ub=this.bd=this.Rc=NaN:this.Rc?this.Ub=this.bd=NaN:(this.Ub=Math.ceil(M(this.Ub)),this.bd=Math.ceil(M(this.bd)),2<=this.Ub||(this.Ub=4),this.bd>=this.Ub||(this.bd=this.Ub))};var BA=xA.prototype;BA.interval=BA.SK;BA.count=BA.count;BA.base=BA.Yo;BA.set=BA.set;BA.get=BA.get;BA.mode=BA.mode;function CA(){Vy.call(this);this.h=this.u=null;this.Kt=!0;this.b=10;this.M=!0;this.ca=this.wB}G(CA,Vy);g=CA.prototype;g.gp="none";g.Pt="firstVisible";g.ae=function(){return"linear"};g.$=function(a){this.u||(this.u=DA(this));return p(a)?(this.u.H(a),this):this.u};g.ya=function(a){this.h||(this.h=DA(this),T(this.h),this.h.count(5),this.h.O(!1));return p(a)?(this.h.H(a),this):this.h};g.Pv=function(a){return p(a)?(a=!!a,a!=this.M&&(this.M=a,this.o||this.j)&&(this.c=!1,this.P(4)),this):this.M};
g.ad=function(){if(!this.c){CA.m.ad.call(this);var a=zA(this.$(),this.min,this.max,this.o&&this.min!=this.s,this.j&&this.max!=this.l,this.b);this.o&&(this.min=a[0]);this.j&&(this.max=a[1]);AA(this.ya(),yA(this.$()),this.b,a[2],a[3]);this.Nc=this.max-this.min}};g.NK=function(a){U(a,2)&&(this.c=!1,this.P(2))};function DA(a){var b=new xA(a);H(a,b);O(b,a.NK,a);return b}
g.xz=function(a){if(p(a)){a=Wm(a);if(this.gp!=a){this.gp=a;switch(this.gp){case "none":this.ca=this.wB;break;case "value":this.ca=this.dN;break;case "percent":this.ca=this.$M}this.P(6)}return this}return this.gp};g.wz=function(a){return p(a)?(a=Xm(a)||oq(a),this.Pt!=a&&(this.Pt=a,this.P(6)),this):this.Pt};g.wi=function(a,b){return this.ca(a,b)};g.wB=function(a){return a};g.dN=function(a,b){return M(a)-b};g.$M=function(a,b){return(M(a)-b)/(b||1)*100};
g.w=function(){var a=CA.m.w.call(this);a.ticks=this.$().w();a.minorTicks=this.ya().w();a.stackMode=this.Dk();a.stickToZero=this.Pv();return a};g.J=function(a,b){CA.m.J.call(this,a,b);this.$(a.ticks);this.ya(a.minorTicks);this.Dk(a.stackMode);this.Pv(a.stickToZero)};function Yy(){var a=new CA;a.J(ko("defaultScaleSettings.linear"));return a}var EA=CA.prototype;F("anychart.scales.linear",Yy);EA.transform=EA.transform;EA.inverseTransform=EA.Dc;EA.getType=EA.ae;EA.ticks=EA.$;EA.minorTicks=EA.ya;
EA.stackMode=EA.Dk;EA.stickToZero=EA.Pv;EA.softMinimum=EA.Ft;EA.softMaximum=EA.Et;EA.minimumGap=EA.hm;EA.maximumGap=EA.gm;EA.comparisonMode=EA.xz;EA.compareWith=EA.wz;function FA(){Vy.call(this);this.D=this.I=0}G(FA,Vy);g=FA.prototype;g.ae=function(){return"linearColor"};g.hu=function(a){var b,c,d,e=[];b=0;for(c=arguments.length;b=f.offset?b=f:c=f}var h;b?c?h=El(c.color,b.color,(a-b.offset)/(c.offset-b.offset)):h=b.color:h=c.color;return ce(h)};
g.KK=function(a){this.ad();a=Al(Qn(a).Pd);var b,c,d,e,f,h,k;h=0;for(k=this.b.length;hMath.abs(l-n)&&.01>Math.abs(l-q)&&.01>Math.abs(n-q)&&(n=Math.round(f[1]*n+(1-n)*e[1])==a[1],q=Math.round(f[2]*q+(1-q)*e[2])==a[2],Math.round(f[0]*l+(1-l)*e[0])==a[0]&&n&&q)){b=this.Nc*(l/(1/
(d.offset-c.offset))+c.offset)+this.min;break}}return p(b)?b:NaN};g.$=function(a){this.u||(this.u=GA(this));return p(a)?(this.u.H(a),this.P(2),this):this.u};g.ya=function(a){this.h||(this.h=GA(this),this.h.count(5));return p(a)?(this.h.H(a),this.P(2),this):this.h};
g.ad=function(){if(!this.c){FA.m.ad.call(this);var a=zA(this.$(),this.min,this.max,this.o&&this.min!=this.s,this.j&&this.max!=this.l,10);this.o&&(this.min=a[0]);this.j&&(this.max=a[1]);AA(this.ya(),yA(this.$()),10,a[2],a[3]);this.Nc=this.max-this.min}};g.LK=function(a){U(a,2)&&(this.c=!1,this.P(2))};function GA(a){var b=new xA(a);H(a,b);O(b,a.LK,a);return b}function HA(a){var b=new FA;b.J(ko("defaultScaleSettings.linear"));b.J(ko("defaultLinearColorScale"));b.Yj.apply(b,arguments);return b}
g.w=function(){var a=FA.m.w.call(this);a.ticks=this.$().w();a.minorTicks=this.ya().w();a.colors=kb(this.Yj(),function(a){return ce(a.color)});return a};g.J=function(a,b){FA.m.J.call(this,a,b);this.$(a.ticks);this.ya(a.minorTicks);this.Yj(a.colors)};var IA=FA.prototype;F("anychart.scales.linearColor",HA);IA.colors=IA.Yj;IA.valueToColor=IA.MK;IA.colorToValue=IA.KK;IA.ticks=IA.$;IA.minorTicks=IA.ya;function JA(){CA.call(this)}G(JA,CA);g=JA.prototype;g.Uu=function(a){return p(a)?(a=isNaN(+a)?this.b:+a,a!=this.b&&(this.b=a,this.P(2)),this):this.b};g.ae=function(){return"log"};g.transform=function(a){this.ad();a=M(a);return Sy(this,(bp(a,this.b)-this.A)/this.Nc)};g.Dc=function(a){this.ad();a=Ty(this,a);return cp(this.b,a*this.Nc+this.A)};g.ad=function(){this.c||(JA.m.ad.call(this),this.A=bp(this.min,this.b),this.N=bp(this.max,this.b),this.Nc=this.N-this.A)};
g.fA=function(){var a=bp(this.g,this.b),b=bp(this.f,this.b),c=a-b;c||(this.f-=Math.E/2,this.g+=Math.E/2,c=1);this.o&&(this.A=b-c*this.I,isNaN(this.s)||(b=bp(this.s,this.b),this.A=0f&&0>h||1b&&0>a||1=d?(l=d-1,f=!0):l--;e.push(k==l?c[k]:[c[k],c[l]])}return e};function NA(a){a.ti=null;a.qh=null;a.nd=null}g.w=function(){var a=LA.m.w.call(this);this.Me?a.explicit=this.Me:isNaN(this.vi)?isNaN(this.rh)||(a.interval=this.rh):a.maxCount=this.vi;this.Ze&&(a.names=this.Ze);return a};
g.Ib=function(a){var b=arguments;return y(b[0])?(this.set(b[0]),!0):Bt.prototype.Ib.apply(this,b)};g.J=function(a,b){LA.m.J.call(this,a,b);"explicit"in a?this.set(a.explicit):"interval"in a?this.So(a.interval):"maxCount"in a&&this.Wu(a.maxCount);this.Ze=a.names||null;this.nd=this.qh=null};var OA=LA.prototype;OA.interval=OA.So;OA.maxCount=OA.Wu;OA.set=OA.set;OA.get=OA.get;OA.names=OA.names;function fz(){this.b=[];this.c=[];this.h={};this.u=null;this.f=!0;this.Ca=null;Ry.call(this)}G(fz,Ry);g=fz.prototype;g.ae=function(){return"ordinal"};g.Sp=function(a){return!p(a)};g.$=function(a){this.Ca||(this.Ca=new LA(this),H(this,this.Ca),O(this.Ca,this.RK,this));return p(a)?(this.Ca.H(a),this):this.Ca};g.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.Ih();c&&a.length?this.Df.apply(this,a):this.Df.apply(this,arguments);this.bp(!1)}return this};
g.names=function(a){if(p(a)){if(null===a)this.c=[];else if(y(a))this.c=wb(a);else{if(!B(a)||this.c==a)return this;this.c=a}this.g=null;NA(this.$());this.P(2);return this}if(y(this.c)){this.g||(this.g=wb(this.c));if(this.g.length=d?(l=d-1,f=!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 RA(){Ry.call(this);this.j=this.b=null;this.h=[];this.A=this.f=null;this.s=[]}G(RA,Ry);g=RA.prototype;g.ae=function(){return"ordinalColor"};g.si=function(a){return p(a)?(a=!!a,this.v!=a&&(this.v=a,this.Ih(),this.P(2)),this):this.v};
g.zg=function(a){if(p(a))return a?y(a)&&(this.b=wb(a)):this.b=[],this.Ih(),this.P(2),this;if(y(this.b)){this.o||(this.o=wb(this.b));if(this.o.length "+c.start:"< "+c.end;c.name||(c.name=d);this.nd.push(d)}}return this.nd};g.fn=function(a){return p(a)?(this.h!=a&&(this.h=a,this.A=ko("defaultOrdinalColorScale.autoColors")(this.h.length),this.Ih(),NA(this.$()),this.P(4)),this):this.h};g.Li=function(){SA(this);this.names();return this.f};g.yh=function(a){SA(this);var b=null;if(this.f)for(var c=this.f.length;c--;){var d=this.f[c];if(p(d.xp)&&d.xp===a||a>=d.start&&a<=d.end&&-1d.length-1?d[d.length-1]:d[c])}}return b};g.OK=function(a){SA(this);a=Qn(a).Pd;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.ga();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.la());return!c&&!d};function rB(a,b){return a.c.left+b*a.c.width}function sB(a,b){return a.c.ga()-b*a.c.height}
g.K=function(){if(!this.Ta())return this;T(this);S(this,4)&&(this.c=this.ua(),this.i(64),this.C(4));this.rc();var a=oB(this);this.Dq();S(this,16)&&(this.gc(this.state),this.C(16));if(S(this,256)){if(a)15==this.ob&&15==this.v?this.up(this.b.xAnchor,this.b.valueAnchor,this.b.secondXAnchor,this.b.secondValueAnchor,this.b.thirdXAnchor,this.b.thirdValueAnchor):7<=this.ob&&7<=this.v?this.Cf(this.b.xAnchor,this.b.valueAnchor,this.b.secondXAnchor,this.b.secondValueAnchor):(3<=this.ob&&3<=this.v||this.v==
this.ob)&&this.we(this.b.xAnchor,this.b.valueAnchor);else return this.remove(),this.i(2),this.O(!1),this;this.C(256)}S(this,1024)&&(this.ea.tb(!this.B("allowEdit")),this.C(1024));if(S(this,512)){if(this.pb){var a=this.xj(),b=this.wj().enabled()||this.yj().enabled();T(a);if(!1!==a.enabled()||b){a.F(this.ea);a.clear();a.T(this.c);a.Zf=5;var c=this.state,b=this.xj(),c=Math.min(c&3,2);switch(c){case 1:c=this.wj();break;case 2:c=this.yj();break;default:c=null}if(c&&null!==c.enabled()?c.enabled():b.enabled())for(var d=
tB(this),e=0;e=b||a>this.c.la()&&0<=b);return a};g.w=function(){var a=EB.m.w.call(this);pu(this,$A,a,"Annotation");pu(this,WA,a,"Annotation");pu(this,XA,a,"Annotation");pu(this,YA,a,"Annotation");pu(this,ZA,a,"Annotation");return a};
g.J=function(a,b){ou(this,$A,a);ou(this,WA,a);ou(this,XA,a);ou(this,YA,a);ou(this,ZA,a);EB.m.J.call(this,a,b)};g.L=function(){EB.m.L.call(this);Qb(this.g);delete this.h};function FB(a){kB.call(this,a);this.g=null;this.l=uB(["stroke","hoverStroke","selectStroke"],2);this.h=uB(["fill","hoverFill","selectFill"],1);this.j=uB(["hatchFill","hoverHatchFill","selectHatchFill"],3)}G(FB,kB);ju(FB,WA);ju(FB,XA);ju(FB,YA);ju(FB,ZA);ju(FB,$A);ju(FB,cB);UA.ellipse=FB;g=FB.prototype;g.type="ellipse";g.ob=7;g.rc=function(){FB.m.rc.call(this);this.g||(this.g=[this.ea.da(),this.ea.da(),this.ea.da()],this.g[0].zIndex(0),this.g[1].zIndex(1),this.g[2].zIndex(3))};
g.we=function(a,b){for(var c=0;cthis.c.la());return a};function KB(a){GB.call(this,a);this.V=[];this.h=null;this.ib=uB(["grid","hoverGrid","selectGrid"],2)}G(KB,GB);ju(KB,bB);UA.fibonacciFan=KB;g=KB.prototype;g.type="fibonacciFan";g.Yq=function(a){if(p(a)){if(y(a)){for(var b=this.V.length=0;b=b||a>this.c.la()&&0<=b);return a};g.gc=function(a){KB.m.gc.call(this,a);for(var b=0;b=this.j.length?c.timeLevel=this.V[b-this.j.length]:c.level=this.j[b]);return c};
g.Dq=function(){if(S(this,4096)){this.g||(this.g=[]);this.h||(this.h=[]);var a,b=this.j.length+this.V.length;for(a=this.g.length;a=b||a>this.c.la()&&0<=b);return a};
g.w=function(){var a=SB.m.w.call(this);pu(this,$A,a,"Annotation");pu(this,WA,a,"Annotation");pu(this,XA,a,"Annotation");pu(this,YA,a,"Annotation");return a};g.J=function(a,b){ou(this,$A,a);ou(this,WA,a);ou(this,XA,a);ou(this,YA,a);SB.m.J.call(this,a,b)};g.L=function(){SB.m.L.call(this);Qb(this.g);delete this.h};function TB(a){kB.call(this,a);this.g=null;this.l=uB(["stroke","hoverStroke","selectStroke"],2);this.h=uB(["fill","hoverFill","selectFill"],1);this.j=uB(["hatchFill","hoverHatchFill","selectHatchFill"],3)}G(TB,kB);ju(TB,WA);ju(TB,XA);ju(TB,YA);ju(TB,$A);ju(TB,cB);UA.rectangle=TB;g=TB.prototype;g.type="rectangle";g.ob=7;g.rc=function(){TB.m.rc.call(this);this.g||(this.g=[this.ea.da(),this.ea.da(),this.ea.da()],this.g[0].zIndex(0),this.g[1].zIndex(1),this.g[2].zIndex(3))};
g.we=function(a,b){for(var c=0;ck&&e>l?c=f=d=h=null:(c=gp(a,b,a,b+d,this.c),f=gp(e,f,e,f+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=f-d*e;b>q&&(f=b,b=q,q=f);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,f=d*a+q,k=d*e+b,l=d*e+q,fn&&k>n?c=
f=d=h=null:(c=ip(a,c,e,k,this.c),f=ip(a,f,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]),f?h.push(b,f[3],f[0],f[1],l,f[1]):h.push(b,n,l,n)):0b?Math.min(b,d):Math.max(b,d),a=!(aa||a>this.c.la()&&c=b){var c=this.T(),c=c.clone().round(),d=this.Nl();a.Ua(1,0,0,1,0,0);a.width(null);a.height(null);a.x(0);a.y(0);var e=null!==this.width(),f=null!==this.height(),h=a.xa(),k=e?Math.ceil(L(this.width(),c.width)):h.width;
e&&a.width(k);h=a.xa();c=f?Math.ceil(L(this.height(),c.height)):h.height;f&&a.height(c);var l=this.T(),l=l.clone().round();if(this.jo())switch(e=Math.round(l.Ka()+l.height-b*l.height),1==b?e-=-.5:e+=-.5,this.s){case "left":f=l.Ba();break;case "right":f=l.la();break;default:f=l.Ba()+l.width/2}else switch(f=Math.round(l.Ba()+b*l.width),1==b?f+=-.5:f-=-.5,this.s){case "top":e=l.Ka();break;case "bottom":e=l.ga();break;default:e=l.Ka()+l.height/2}b=new vd(f,e);f=M(this.A);f=isNaN(f)?this.jo()?0:-90:f;
e=Ud(sd(f),0,0);h=Hd(h,e);e=pq(pp(0,0,h.width,h.height),d);b.x-=e.x;b.y-=e.y;e=L(this.offsetX(),k);l=L(this.offsetY(),c);zq(b,d,e,l);this.Cb(a,!0);a.x(b.x+h.width/2-k/2).y(b.y+h.height/2-c/2).pn(f,"center");this.i(2)}else this.remove(),this.C(2);this.C(4)}S(this,2)&&(a=this.F(),hC(this).parent(a),this.C(2));return this};g.remove=function(){hC(this).parent(null)};function hC(a){a.c||(a.c=$g(),a.c.Hc("aria-hidden","true"),H(a,a.c));return a.c}g.L=function(){I(this.c);this.b=this.g=this.c=null;eC.m.L.call(this)};
g.w=function(){var a=eC.m.w.call(this);a.anchor=this.Nl();a.align=this.io();this.f&&(a.layout=this.f);a.rotation=this.rotation();a.offsetX=this.offsetX();a.offsetY=this.offsetY();a.text=this.text();a.height=this.height();a.width=this.width();return a};
g.J=function(a,b){eC.m.J.call(this,a,b);this.Nl(a.anchor);this.io(a.align);"layout"in a&&a.layout&&this.Ol(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.qs(pz(this.g,c)):c instanceof az&&this.qs(c)}};function iC(){eC.call(this)}G(iC,eC);g=iC.prototype;g.Y=eC.prototype.Y;g.aa=eC.prototype.aa;g.scale=function(a){return fC(this,a)};g.value=function(a){return gC(this,a)};g.w=function(){var a=iC.m.w.call(this);a.value=this.value();return a};g.J=function(a,b){iC.m.J.call(this,a,b);this.value(a.value)};var jC=iC.prototype;jC.value=jC.value;jC.scale=jC.scale;jC.axis=jC.qs;jC.anchor=jC.Nl;jC.align=jC.io;jC.layout=jC.Ol;jC.rotation=jC.rotation;jC.offsetX=jC.offsetX;jC.offsetY=jC.offsetY;jC.text=jC.text;
jC.height=jC.height;jC.width=jC.width;jC.isHorizontal=jC.jo;function kC(){V.call(this);this.W=this.c=this.f=this.j=null;this.I=!1;this.b=null}G(kC,V);g=kC.prototype;g.Y=V.prototype.Y|8;g.aa=V.prototype.aa|80;g.kb=function(){return this.g};g.vs=function(a){return p(a)?(a=Gm(a),this.l!=a&&(this.l=a,this.i(64,9)),this):this.l?this.l:this.b?(a=this.b.nc(),"left"==a||"right"==a?"horizontal":"vertical"):"horizontal"};g.scale=function(a){return p(a)?(this.W!=a&&(this.W=a,O(this.W,this.OG,this),this.i(68,9)),this):this.W?this.W:this.b?this.b.scale():null};
g.OG=function(a){var b=0;U(a,4)&&(b|=4);U(a,2)&&(b|=1);this.i(20,b|8)};g.Lx=function(){this.i(64,9)};g.rs=function(a){return p(a)?(this.b!=a&&(this.b&&Ct(this.b,this.Lx,this),this.b=a,O(this.b,this.Lx,this),this.i(64,9)),this):this.b};g.NG=function(a,b,c,d){this.h||(this.h=new jv,H(this,this.h));return p(a)?(this.h.H.apply(this.h,arguments),this):this.h};g.hd=function(a,b,c,d,e,f,h){if(p(a)){var k=Xd.apply(null,arguments);this.A!=k&&(this.A=k,this.i(16,1));return this}return this.A};
g.dd=function(a,b,c,d,e,f,h){if(p(a)){var k=Xd.apply(null,arguments);this.v!=k&&(this.v=k,this.i(16,1));return this}return this.v};g.stroke=function(a,b,c,d,e){if(p(a)){var f=fe.apply(null,arguments);if(this.o!=f){var h=this.o?ke(this.o):0;this.o=f;var f=16,k=1;h!=(this.o?ke(this.o):0)&&(f|=68,k|=8);this.i(f,k)}return this}return this.o};g.ss=function(a){return p(a)?(this.D!=a&&(this.D=a,this.i(64,9)),this):this.D};g.ts=function(a){return p(a)?(this.s!=a&&(this.s=a,this.i(64,9)),this):this.s};
g.ko=function(a){return p(a)?(this.I!=a&&(this.I=a,this.i(80,9)),this):this.I};g.Ox=function(a,b){var c=this.T()||pp(0,0,0,0),d=Math.round(c.ga()-a*c.height);1==a?d-=b:d+=b;this.c.moveTo(c.Ba(),d);this.c.lineTo(c.la(),d)};g.Px=function(a,b){var c=this.T()||pp(0,0,0,0),d=Math.round(c.Ba()+a*c.width);1==a?d+=b:d-=b;this.c.moveTo(d,c.ga());this.c.lineTo(d,c.Ka())};g.us=function(){return"horizontal"==this.vs()};
g.Mx=function(a,b,c,d,e){if(!isNaN(b)){c=this.T()||pp(0,0,0,0);var f,h;f=Math.round(c.ga()-b*c.height);h=Math.round(c.ga()-a*c.height);1==a?h-=e:h+=e;1==b?f-=e:f+=e;d.moveTo(c.Ba(),f);d.lineTo(c.la(),f);d.lineTo(c.la(),h);d.lineTo(c.Ba(),h);d.close()}};g.Nx=function(a,b,c,d,e){if(!isNaN(b)){c=this.T()||pp(0,0,0,0);var f,h;f=Math.round(c.Ba()+b*c.width);h=Math.round(c.Ba()+a*c.width);1==a?h+=e:h-=e;1==b?f+=e:f-=e;d.moveTo(f,c.Ka());d.lineTo(h,c.Ka());d.lineTo(h,c.ga());d.lineTo(f,c.ga());d.close()}};
g.K=function(){var a=this.scale();if(!a)return wn(2),this;if(!this.Ta())return this;if(S(this,8)){var b=this.zIndex();lC(this).zIndex(b);mC(this).zIndex(b);nC(this).zIndex(b);this.C(8)}S(this,2)&&(b=this.F(),lC(this).parent(b),mC(this).parent(b),nC(this).parent(b),this.C(2));S(this,16)&&(nC(this).stroke(this.stroke()),mC(this).fill(this.hd()),lC(this).fill(this.dd()),this.C(16));if(S(this,64)||S(this,4)){var c,d,e,b=NaN,f=this.scale()instanceof fz,h=(f?a.$():this.ko()?a.ya():a.$()).get();c=this.us()?
[this.Ox,this.Mx]:[this.Px,this.Nx];lC(this).clear();mC(this).clear();nC(this).clear();var k=this.T()||pp(0,0,0,0);this.kb()&&this.kb().nB&&(this.Ge=this.kb().Ge,this.oe=this.kb().oe,d=ke(this.stroke())/2,k.top-=this.oe+d,k.height+=this.oe+d,k.width+=this.Ge);k=this.NG().Ud(k);lC(this).clip(k);mC(this).clip(k);nC(this).clip(k);var k=c[1],l=c[0],n=-nC(this).Qv()%2/2;this.kb()&&this.kb().nB&&this.us()&&l.call(this,0,n);for(var q=0,r=h.length;qthis.u[u]?w=this.h[u][this.u[u]]:this.h[u].push(w=t.eL());this.u[u]++;this.b[u].push(w);l=cD(this,l,n,q,r,w,!0);e[k]=l}this.zb(this.na,e,a);return e};
g.zn=function(a,b){if(b)if(y(b))for(var c=0;cb;b=Math.abs(b);var d=(b-NaN)/NaN;if(isNaN(d)||!isFinite(d))d=.5;b=a.$u+d*(a.zB-a.$u);return c?-b:b}
function WC(a){return a.ha.B("yValues")}g.kb=function(){return this.jb};g.rb=function(){return this.iterator||yD(this)};function yD(a){return a.iterator=a.lu()}g.nb=function(a){return p(a)?(a instanceof Ry||(a=null),this.eb!=a&&(this.eb&&Ct(this.eb,this.Wx,this),(this.eb=a)&&O(this.eb,this.Wx,this),this.i(1024,5)),this):this.eb||this.pb.nb()};g.Wx=function(a){var b=0;U(a,4)&&(b|=4);U(a,2)?this.i(1024,b|1):this.P(b)};g.SO=function(a,b){return iD(this,this.jb.bb().transform(a,b),!0)};
g.jD=function(a,b){return iD(this,this.nb().transform(a,b),!1)};g.zk=function(a){return p(a)?(this.ha.H(a),this):this.ha};g.error=function(a){jD(this)||An(12,void 0,[this.Ee()]);this.Pa||(this.Pa=new gD(this),O(this.Pa,this.NN,this));return p(a)?(this.Pa.H(a),this):this.Pa};g.NN=function(a){var b=0;U(a,1)&&(b|=1);U(a,4)&&(b|=4);this.i(1024,b)};g.Dm=function(a){return this.error().Dm(a)};
g.eH=function(a){if(a=!a.G("missing")){var b=this.error(),c=b.c.rb();a=c.get("xError")||b.Pk();var d=c.get("xLowerError")||b.Qk(),e=c.get("xUpperError")||b.Rk(),f=c.get("valueError")||b.Lk(),h=c.get("valueLowerError")||b.Mk(),b=c.get("valueUpperError")||b.Nk(),f=p(h)||p(b)||jq(f)||!nq(f);a=p(d)||p(e)||jq(a)||!nq(a)||f}if(a)switch(a=this.error(),d=a.mode(),e=this.B("isVertical"),d){case "x":a.K(!0,e);break;case "value":a.K(!1,e);break;case "both":a.K(!0,e),a.K(!1,e)}};
g.clip=function(a){return p(a)?(null===a&&(a=!1),this.V!=a&&(this.V=a,this.i(4096,1)),this):this.V};g.Wm=function(a){this.hb||(this.hb=new lD,O(this.hb,this.PN,this));return p(a)?(this.hb.H(a),this):this.hb};g.PN=function(a){var b=64,c=!1;U(a,8)&&(b|=8,c=!0);this.P(b,c)};g.ru=function(a){"marker"==a?(this.va(8192)?a=this.B("type"):this.va(4194304)?a=this.sf().type():a="square","line"==a&&(a="vline")):va(a)||(a=Um(a));return a};
g.Em=function(a,b,c){if(a)va(a)?(b={sourceColor:c},a=a.call(b,b)):a=Zn(a);else{if(2==b)a="stroke";else if(3==b){if(this.va(8))return null;a="hatchFill"}else this.va(8)?(a="stroke",b=2):a="fill";a=aD([a],b)(this,0,!0)}return a};g.RA=function(){return this.name()};g.Ra=function(a){if(!this.l&&(this.l=new jx(0),this.jb.WC())){var b=this.jb,c=b.Ra();this.l.parent(c);this.l.jb(b)}return p(a)?(this.l.H(a),this):this.l};
function aD(a,b){var c;if(!a)return zD;if(y(a)){var d=b+"|"+a.join("|");c=oD[d];if(!c){switch(b){case 2:c=zu;break;case 3:c=Bu;break;default:case 1:c=Au}oD[d]=c=Ca(AD,a,c,3==b)}}else(c=oD.transparent)||(c=oD.transparent=function(){return On});return c}
function AD(a,b,c,d,e,f){var h;e=Math.min(e&3,2);if(0!=e&&1v[n]&&(v[n]=D)}else for(n in u)D=M(Z.values[n]),Dv[n]&&(v[n]=D);for(n=0;n<=a.f;n++)D=M(Z.c[n]),DC[n]&&
(C[n]=D);Z=Z.next}if(w)for(n=0;nd)if(d=~d,"exactOrNext"==c)d=d=$D)this.f=-1,this.b.length=0,bE(this,a,b,this.h,!1);else{if(this.c&2){this.f=-1;var c=a.length?a[0]:null;if(c){var d=this.b.length?this.b[0]:null,e=c.key;if(d&&!(d.key>=e)){for(var f=0,h;(h=d.next)&&h.keya.u){d&&(c|=1);if(a.u){for(var c=c|2,e=new fE(a.b,null,!0),f=0,d=e.next();d&&d.f;)f++,d=e.next();yb(a.b,0,f);if(d=a.b[0])d.b=null}gE(a,new fE(null,a.c,b))}else e=new fE(a.b,a.c,b),a.b=[],gE(a,e),c=$D;a.c.length=0;a.g=a.aC;a.f=-1;a.u=0;UD(a);hE(a.j,c,!0)}}g=cE.prototype;
g.remove=function(a,b){for(var c=new fE(this.b,this.c,eE(this),a,b),d;d=c.next();)d.f=!0;this.u=2;this.l||dE(this);return this};function iE(a,b){b=N(b);for(var c=new fE(a.b,a.c,eE(a)),d=NaN,e;(e=c.next())&&0a.key?(this.g=1==b?this.$B:this.pv,this.c.push(a)):this.c[b-1]=a};g.$B=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.sN,this.b=isNaN(d)?0:Fb(this.g,PD,d),0>this.b&&(this.b=~this.b)):(this.f=this.uN,this.b=isNaN(d)?this.g.length-1:Fb(this.g,QD,d),0>this.b&&(this.b=~this.b-1))}g=fE.prototype;g.wk=function(){return null};
g.sN=function(){var a=this.c,b=this.g[this.b];if(a){if(b){if(0>OD(a,b))return this.c=this.c.next,a;this.b++;return b}this.c=this.c.next;this.f=this.KB;return a}if(b)return this.b++,this.f=this.qN,b;this.next=this.wk;return null};g.uN=function(){var a=this.c,b=this.g[this.b];if(a){if(b){if(0>OD(a,b))return this.c=this.c.next,a;this.b--;return b}this.c=this.c.next;this.f=this.KB;return a}if(b)return this.b--,this.f=this.rN,b;this.next=this.wk;return null};
g.KB=function(){var a=this.c;if(a)return this.c=this.c.next,a;this.next=this.wk;return null};g.qN=function(){var a=this.g[this.b++];if(a)return a;this.next=this.wk;return null};g.rN=function(){var a=this.g[this.b--];if(a)return a;this.next=this.wk;return null};g.bL=function(){var a=this.f();return!a||a.key>this.u?(this.next=this.wk,null):a};g.HN=function(){return this.f()};function jE(a,b){this.g=bn(a);this.b=b||1;this.c=new Date(0);switch(this.g){case "year":return this.f=315576E5*this.b,this.s=this.RF,this.next=this.FN,this;case "semester":return this.f=315576E5*this.b/2,this.s=this.OF,this.next=this.CN,this;case "quarter":return this.f=315576E5*this.b/4,this.s=this.MF,this.next=this.AN,this;case "month":return this.f=315576E5*this.b/12,this.s=this.Tr,this.next=this.zN,this;case "thirdofmonth":return this.f=315576E5*this.b/36,this.s=this.PF,this.next=this.DN,this;
case "week":return this.f=6048E5*this.b,this.s=this.QF,this.next=this.EN,this;default:this.f=864E5*this.b;this.s=this.IF;this.next=this.tN;break;case "hour":this.f=36E5*this.b;this.s=this.JF;this.next=this.vN;break;case "minute":this.f=6E4*this.b;this.s=this.LF;this.next=this.yN;break;case "second":this.f=1E3*this.b;this.s=this.NF;this.next=this.BN;break;case "millisecond":this.f=this.b,this.s=this.KF,this.next=this.xN}}g=jE.prototype;
g.RF=function(a){this.c.setTime(Date.UTC(sq(this.c.getUTCFullYear(),this.b,a?a.getUTCFullYear():2E3)-this.b,0))};g.OF=function(a){var b=this.b;this.b*=6;this.Tr(a);this.b=b};g.MF=function(a){var b=this.b;this.b*=3;this.Tr(a);this.b=b};g.Tr=function(a){var b=sq(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))};
g.PF=function(a){a=sq(kE(this.c),this.b,a?kE(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))};g.QF=function(a){lE(this,6048E5*this.b,a||new Date(Date.UTC(2E3,0,2)))};g.IF=function(a){lE(this,864E5*this.b,a)};g.JF=function(a){lE(this,36E5*this.b,a)};g.LF=function(a){lE(this,6E4*this.b,a)};g.NF=function(a){lE(this,1E3*this.b,a)};g.KF=function(a){lE(this,this.b,a)};
function lE(a,b,c){a.c.setTime(sq(a.c.getTime(),b,c?c.getTime():Date.UTC(2E3,0))-b)}function kE(a){var b=a.getUTCDate();return 3*(12*a.getUTCFullYear()+a.getUTCMonth())+(10>=b?0:20>=b?1:2)}g.FN=function(){this.c.setUTCFullYear(this.c.getUTCFullYear()+this.b);return this.c.getTime()};g.CN=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()};
g.AN=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()};g.zN=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()};
g.DN=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()};g.EN=function(){var a=this.c.getTime()+6048E5*this.b;this.c.setTime(a);return a};g.tN=function(){var a=this.c.getTime()+864E5*this.b;this.c.setTime(a);return a};g.vN=function(){var a=this.c.getTime()+36E5*this.b;this.c.setTime(a);return a};
g.yN=function(){var a=this.c.getTime()+6E4*this.b;this.c.setTime(a);return a};g.BN=function(){var a=this.c.getTime()+1E3*this.b;this.c.setTime(a);return a};g.xN=function(){var a=this.c.getTime()+this.b;this.c.setTime(a);return a};g.Cm=function(){return this.b};function mE(a,b){var c=a.f-b.f;return c?c:b.b-a.b};function nE(a,b,c,d,e){this.l=a;this.A=d;this.u=new MD(b.Jd-1,[]);this.u.next=b.ju;this.s=b.lv;this.I=b.lastIndex;this.v=(this.c=e||null)?this.fL:this.HF;this.D=this.c?this.eM:this.lM;this.g=c;this.reset()}g=nE.prototype;g.reset=function(){this.c&&this.c.reset();this.b=this.u;this.j=this.c?this.c.c:this.u.key;this.h=!1;this.f=NaN;this.o=!0;return this};g.advance=function(){return this.v()};g.get=function(a){return this.xh(this.A?oE(this.l,a):pE(this.l,a))};
g.G=function(a,b){var c=this.g[this.Qa()];c||(c=this.g[this.Qa()]={});return 1a?this.b.c&&(b=this.b.c[~a]):b=this.b.values[a]);return b};g.At=function(){return this.f};g.Qa=function(){return this.D()};g.dc=function(){return this.I-this.u.key};g.vK=function(){return this.f};g.lM=function(){return this.j};g.eM=function(){return this.c.c};
g.HF=function(){if(this.b){this.j++;if((this.b=this.b.next)&&this.b!=this.s)return this.h=!0,this.f=this.b.key,!0;this.b=null;this.h=!1;this.j=this.f=NaN}return!1};g.fL=function(){if(this.c.advance())return this.o&&(this.b=this.b.next),(this.o=!(!this.b||this.b.key!=this.c.f||this.b==this.s))?(this.h=!0,this.f=this.b.key):(this.h=!1,this.f=this.c.f),!0;this.b=null;this.f=NaN;return this.h=!1};var qE=nE.prototype;qE.reset=qE.reset;qE.advance=qE.advance;qE.get=qE.get;qE.getKey=qE.vK;qE.getIndex=qE.Qa;
qE.meta=qE.G;function rE(a){this.c=a;this.g=aE(a.b);this.h=!0;this.b=ZD(this.g);this.f=null;this.j=!1;this.u=[];sE(this)}function sE(a){for(var b=a.f?a.f.c.b.length:a.g.dc();a.u.lengthc){var e=b;b=c;c=e}e=aE(a.c.b,d);if(a.j||e!=a.g||a.b.jd!=b||a.b.wd!=c)a.j=!1,a.g=e,a.h=!d,a.b=e.select(b,c),sE(a);return a}function wE(a,b,c){if(b){if(a.f){c=a.f;var d=b.key;xE(c);c=yE(c.c,d)}return new tE(b,a.c,!a.h,c,a.u[c])}return null}function zE(a){return wE(a,a.b.VB,a.b.cj)}
function AE(a){return wE(a,a.b.lv,a.b.bj)}function BE(a,b){return a.h?pE(a.c,b):oE(a.c,b)}function vE(a,b){return new nE(a.c,a.b,a.u,!a.h,a.f?CE(a.f,!!b):null)}function tE(a,b,c,d,e){this.hc=a;this.b=b;this.h=c;this.u=d;this.g=e}g=tE.prototype;g.get=function(a){return this.xh(this.h?oE(this.b,a):pE(this.b,a))};g.xh=function(a){var b;E(a)&&0>a?this.hc.c&&(b=this.hc.c[~a]):b=this.hc.values[a];return b};g.Qa=function(){return this.u};g.At=function(){return this.hc.key};
g.G=function(a,b){return 1e)this.f[a]={UC:e,kC:e};else if(B(e)||!isNaN(e)){if((b=z(c))&&!va(c)&&!("reset"in c&&"considerItem"in c&&"getResult"in c))return this;var f=b?c:ln(p(c)?c:a);b=d;"weightedAverage"==f&&(E(d)?b=Math.round(d):B(d)?(b=this.b.g[d]||NaN,isNaN(b)&&(b=d)):b=NaN,E(b)&&isNaN(b)&&(f="average"));T(this.b);d=this.b;c=e;var h=b;b=HE(f,c,h);b in d.o?b=d.o[b]:(c=IE(f,c,h),d.o[b]=
b=d.u.length,d.u.push(c),hE(d,4,!1));this.f[a]={UC:e,kC:b};this.b.O(!0)}return this};function oE(a,b){return b in a.f?a.f[b].kC:NaN}function pE(a,b){return b in a.f?a.f[b].UC:NaN}var JE=GE.prototype;JE.addField=JE.c;JE.createSelectable=JE.g;function KE(a,b){Mb.call(this);this.g=a;this.h=p(b)?b:NaN;this.clear()}G(KE,Mb);KE.prototype.clear=function(){this.value=void 0};KE.prototype.c=function(){var a=this.value;this.clear();return a};KE.prototype.L=function(){delete this.value;KE.m.L.call(this)};function LE(a){KE.call(this,a)}G(LE,KE);LE.prototype.clear=function(){this.value=this.f=0};LE.prototype.b=function(a){a=M(a);isNaN(a)||(this.value+=a,this.f++)};LE.prototype.c=function(){var a=this.f?this.value/this.f:NaN;this.clear();return a};function ME(a,b){this.f=b;KE.call(this,a)}G(ME,KE);ME.prototype.clear=function(){this.f.reset()};ME.prototype.b=function(a,b,c){this.f.considerItem(a,c)};ME.prototype.c=function(){var a=this.f.getResult();this.clear();return a};ME.prototype.L=function(){delete this.f;ME.m.L.call(this)};function NE(a,b,c){this.u=b;this.f=c;KE.call(this,a)}G(NE,KE);NE.prototype.clear=function(){this.value=[];this.j=[]};NE.prototype.b=function(a,b,c){this.value.push(a);this.j.push(c)};NE.prototype.c=function(){var a=this.u.call(this.f,this.value,this.j);this.clear();return a};NE.prototype.L=function(){delete this.u;delete this.f;NE.m.L.call(this)};function OE(a){KE.call(this,a)}G(OE,KE);OE.prototype.clear=function(){this.value=NaN};OE.prototype.b=function(a){isNaN(this.value)&&(this.value=M(a))};function PE(a){KE.call(this,a)}G(PE,KE);PE.prototype.b=function(a){p(this.value)||(this.value=a)};function QE(a){KE.call(this,a)}G(QE,KE);QE.prototype.clear=function(){this.value=NaN};QE.prototype.b=function(a){a=M(a);isNaN(a)||(this.value=a)};function RE(a){KE.call(this,a)}G(RE,KE);RE.prototype.b=function(a){p(a)&&(this.value=a)};function SE(a){KE.call(this,a)}G(SE,KE);SE.prototype.clear=function(){this.value=[]};SE.prototype.b=function(a){p(a)&&this.value.push(a)};function TE(a){KE.call(this,a)}G(TE,KE);TE.prototype.clear=function(){this.value=NaN};TE.prototype.b=function(a){a=M(a);isNaN(a)||this.value>=a||(this.value=a)};function UE(a){KE.call(this,a)}G(UE,KE);UE.prototype.clear=function(){this.value=NaN};UE.prototype.b=function(a){a=M(a);isNaN(a)||this.value<=a||(this.value=a)};function VE(a){KE.call(this,a)}G(VE,KE);VE.prototype.clear=function(){this.value=0};VE.prototype.b=function(a){a=M(a);isNaN(a)||(this.value+=a)};function WE(a,b){KE.call(this,a,b)}G(WE,KE);WE.prototype.clear=function(){this.value=this.f=0};WE.prototype.b=function(a,b){a=M(a);b=M(b)||0;isNaN(a)||(this.value+=a*b,this.f+=b)};WE.prototype.c=function(){var a=this.f?this.value/this.f:NaN;this.clear();return a};function IE(a,b,c){if(va(a))return new NE(b,a,c);if(z(a))return new ME(b,a);switch(a){case "average":return new LE(b);case "first":return new OE(b);case "firstValue":return new PE(b);case "lastValue":return new RE(b);case "list":return new SE(b);case "max":return new TE(b);case "min":return new UE(b);case "sum":return new VE(b);case "weightedAverage":return new WE(b,c);default:case "last":return new QE(b)}}
function HE(a,b,c){E(b)&&(b=b.toFixed(0));if(z(a))return wa(a)+"|"+b+"|"+fq(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 XE(a,b,c,d,e){kd.call(this);this.f=new cE(this,a,b,c,d,e);this.b={};this.o={};this.g={};this.l=0;this.h=[];this.u=[];this.c=[];this.j=[]}G(XE,Bt);g=XE.prototype;g.Y=16;
g.Ly=function(a,b,c){var d=this.f,e=!d.l;e&&(d.l&&An(101),d.l=!0);if(B(a)){var f=new RD(d),h=new So;z(c)&&(h.jn(c.rowsSeparator),h.nm(c.columnsSeparator),h.Sm(c.ignoreTrailingSpaces),h.Qm(c.ignoreFirstRow));h.fm(a,f);!0===b&&(b=f.Cm())}else if(y(a)){for(f=c=0;fh){var q=~h;yb(d,q,0,n);(h=this.search("id",n))?(h=h instanceof dF?h:h[0],yb(e,q,0,h),h.G("nc",!0),An(1,null,[n])):yb(e,q,0,k)}else An(2,null,[n])}for(b=0;bh?((h=this.search("id",k))?(h=h instanceof dF?h:h[0],nF(h,f)):(this.f.push(f),An(3,null,[k])),oF(this,f)):(h=e[h],nF(h,f),h.G("nc")&&oF(this,f))):(this.f.push(f),oF(this,f));for(b=0;ba?yb(d,~a,0,e):(a=d[a],y(a.value)||(a.value=[a.value]),a.value.push(b))}else for(e in a.c)pF(a,b,e,d)}
function qF(a,b,c,d){if(c){if(d)for(var e=b.Na();e--;)qF(a,b.vf(e),c,d);if(d=a.c[c])e={key:b.get(c)},a.h[c]&&(e.key=""+e.key),e=Bb(d,e,a.fp),(d=d[e])&&(y(d.value)&&1=d)return[];a=new zz(a);c=[];if(1==b)for(b=0;bc){var d=b;b=c;c=d}if(b!=a.A||c!=a.v)a.A=b,a.v=c,a.i(16,1)}g.Ur=function(a){return p(a)?(this.N=!!a,this):this.N};g.bc=function(){var a=this.T(),a=a?a.clone():pp(0,0,0,0);this.Ui()&&(S(this,4)&&(this.ar(),this.C(4)),xF(this)?(a.height-=this.h.height,"top"==this.o&&(a.top+=this.h.height)):(a.width-=this.h.width,"left"==this.o&&(a.left+=this.h.width)));return a};
g.ar=function(){var a=this.T(),b=xF(this)?a.height:a.width,c=L(this.wa,b);null===this.Sa||(c=Math.max(c,L(this.Sa,b)));null===this.Zb||(c=Math.min(c,L(this.Zb,b)));c=xF(this)?this.cm().rd(c):this.cm().sd(c);this.h.left=a.left;this.h.top=a.top;xF(this)?(this.h.width=a.width,this.h.height=c,"bottom"==this.o&&(this.h.top+=a.height-c)):(this.h.width=c,this.h.height=a.height,"right"==this.o&&(this.h.left+=a.width-c));var d;this.cd||xF(this)?this.j=this.cm().Ud(this.h):(d=this.cm(),"left"==this.o?(b=L(d.B("left"),
this.h.width),a=L(d.B("top"),this.h.height),c=L(d.B("right"),this.h.width),d=L(d.B("bottom"),this.h.height)):(b=L(d.B("right"),this.h.width),a=L(d.B("bottom"),this.h.height),c=L(d.B("left"),this.h.width),d=L(d.B("top"),this.h.height)),this.j.left=this.h.left+d,this.j.top=this.h.top+b,this.j.width=this.h.width-d-a,this.j.height=this.h.height-b-c);this.i(80)};g.oJ=function(a){a.f();!iq(this.ea,a.relatedTarget)&&this.Cc(a)&&(this.pc=!0,AF(this))};
g.mN=function(a){a.f();!iq(this.ea,a.relatedTarget)&&this.Cc(a)&&(this.pc=!1,DF(this))};g.aD=function(a){a=a.target;a instanceof Dg&&(a==this.f?zF(this,this.f,this.Fc=!0):a==this.b&&zF(this,this.b,this.qc=!0))};g.$C=function(a){a=a.target;a instanceof Dg&&(a==this.f?zF(this,this.f,this.Fc=!1):a==this.b&&zF(this,this.b,this.qc=!1))};
g.Fk=function(a){if(a.c instanceof cg){var b=a.c,c;b!=this.f||this.Ea?b!=this.b||this.sa?b!=this.M||this.Aa||(this.Aa=c=new EF(this,this.M,!1)):this.sa=c=new EF(this,this.b,!0):this.Ea=c=new EF(this,this.f,!0);c&&(this.u.ba(c,"start",this.nJ),this.u.ba(c,"end",this.mJ),c.Fe(a.b))}};g.IN=function(a){var b=cl(this.ea.Z());a=xF(this)?a.clientX-b.x:a.clientY-b.y;FF(this,"backgroundClick","scrollerchangestart")&&(GF(this,!1,a),FF(this,"backgroundClick","scrollerchangefinish"))};
g.nJ=function(a){var b;this.N&&a.b!=this.Aa?(a=yF(this),b="thumbDrag"):(a=yF(this),b="selectedRangeDrag");if(b=FF(this,b,"scrollerchangestart"))this.hb++,this.f.Hb(null),this.b.Hb(null),this.M.Hb(null),Ff(document.body,"cursor",a);return b};g.mJ=function(a){this.hb=Math.max(this.hb-1,0);DF(this);this.f.Hb(yF(this));this.b.Hb(yF(this));this.M.Hb(yF(this));Ff(document.body,"cursor","");FF(this,this.N&&a.b!=this.Aa?"thumbDrag":"selectedRangeDrag","scrollerchangefinish")};
function AF(a){a.Xb||(a.ea.sb(a.f),a.ea.sb(a.b),a.Xb=!0)}function DF(a){a.Xb&&a.Rh().Ag()&&!a.hb&&!a.pc&&(a.ea.removeChild(a.f),a.ea.removeChild(a.b),a.Xb=!1)}function zF(a,b,c){a=a.Rh();a.enabled()?c?(c=a.Pp(),a=a.Qp()):(c=a.fill(),a=a.stroke()):(c=On,a="none");b.fill(c);b.stroke(a)}function CF(a){return pd(Math.round(a*vF),0,vF)}g.xB=function(a,b,c,d){return{type:a,startRatio:b,endRatio:c,source:d}};function FF(a,b,c,d,e){return a.dispatchEvent(a.xB(c,(p(d)?d:a.A)/vF,(p(e)?e:a.v)/vF,b))}
function GF(a,b,c){c=HF(a,b,c);var d=a.j;switch(a.o){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.N&&b==a.f)c=d,d=a.v/vF,b="thumbDrag";else if(a.N&&b==a.b)c=a.A/vF,b="thumbDrag";else{var e=(a.v-a.A)/vF/2;c=d-e;d+=e;b=!0===b?"selectedRangeDrag":"backgroundClick"}c=CF(c);d=CF(d);c==d&&(d+=dd&&(e=a.f,a.f=a.b,a.b=e,e=a.Ea,a.Ea=a.sa,a.sa=e,e=c,c=d,d=e);c==a.A&&d==a.v||!FF(a,b,"scrollerchange",c,d)||(a.A=c,a.v=d,a.i(16,
1))}function HF(a,b,c){var d=a.j,e=xF(a);a=ua(b)||!a.N?(a.v-a.A)/vF*(e?d.width:d.height)/2:0;return e?pd(c,d.left+a,d.left+d.width-a):pd(c,d.top+a,d.top+d.height-a)}function IF(a,b){var c;c=a.N&&b==a.f?a.A:a.N&&b==a.b?a.v:(a.A+a.v)/2;c/=vF;var d=a.j;return xF(a)?d.left+d.width*c:"left"==a.o?d.top+d.height*c:d.top+d.height*(1-c)}
g.L=function(){I(this.ea);this.M=this.V=this.S=this.b=this.f=this.ea=null;I(this.Ea);this.Ea=null;I(this.sa);this.sa=null;I(this.Aa);this.Aa=null;I(this.Ma);this.Ma=null;I(this.qa);this.qa=null;uF.m.L.call(this)};g.w=function(){var a=uF.m.w.call(this);a.fill=this.fill();a.selectedFill=this.vv();a.outlineStroke=this.iv();a.height=this.height();a.minHeight=this.vt();a.maxHeight=this.ut();a.orientation=this.wt();a.autoHide=this.Ag();a.allowRangeChange=this.Ur();a.thumbs=this.Rh().w();return a};
g.J=function(a,b){uF.m.J.call(this,a,b);this.wt(a.orientation);this.Ag(a.autoHide);this.Ur(a.allowRangeChange);this.fill(a.fill);this.vv(a.selectedFill);this.iv(a.outlineStroke);this.height(a.height);this.vt(a.minHeight);this.ut(a.maxHeight);this.Rh(a.thumbs)};function EF(a,b,c){Wf.call(this,b.X());this.f=a;this.o=c?b:null;this.h=void 0;this.D=Ba(function(){this.h=void 0;GF(this.f,this.o||!0,this.N)},this);this.s=Math.pow(3,2);this.ba("end",this.kJ)}G(EF,Wf);g=EF.prototype;
g.kJ=function(){p(this.h)&&(window.cancelAnimationFrame(this.h),this.D(0))};g.Fg=function(){xF(this.f)?(this.b=IF(this.f,this.o),this.c=0):(this.b=0,this.c=IF(this.f,this.o))};g.th=function(a,b){this.N=xF(this.f)?a:b;p(this.h)||(this.h=window.requestAnimationFrame(this.D))};g.tk=function(a){return xF(this.f)?HF(this.f,this.o,a):0};g.Bh=function(a){return xF(this.f)?0:HF(this.f,this.o,a)};function wF(a){this.b=a}g=wF.prototype;
g.enabled=function(a){return p(a)?(a=!!a,this.f!=a&&(this.f=a,this.b.i(16,1)),this):this.f};g.Ag=function(a){return p(a)?(a=!!a,this.c!=a&&(this.c=a,this.b.i(16,1)),this):this.c};g.fill=function(a,b,c,d,e,f,h){if(p(a)){var k=Xd.apply(null,arguments);this.g!=k&&(this.g=k,this.b.i(16,1));return this}return this.g};g.stroke=function(a,b,c,d,e){if(p(a)){var f=fe.apply(null,arguments);f!=this.j&&(this.j=f,this.b.i(16,1));return this}return this.j};
g.Pp=function(a,b,c,d,e,f,h){if(p(a)){var k=Xd.apply(null,arguments);this.h!=k&&(this.h=k,this.b.i(16,1));return this}return this.h};g.Qp=function(a,b,c,d,e){if(p(a)){var f=fe.apply(null,arguments);f!=this.u&&(this.u=f,this.b.i(16,1));return this}return this.u};g.w=function(){var a={};a.fill=Zn(this.fill());a.stroke=Zn(this.stroke());a.hoverFill=Zn(this.Pp());a.hoverStroke=Zn(this.Qp());a.enabled=this.enabled();a.autoHide=this.Ag();return a};
g.lJ=function(a){return ua(a)||null===a?(this.enabled(!!a),!0):!1};g.H=function(a){var b=arguments[0];p(b)&&!this.lJ.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.Pp(b.hoverFill),this.Qp(b.hoverStroke),this.Ag(b.autoHide));return this};var JF=uF.prototype;JF.fill=JF.fill;JF.selectedFill=JF.vv;JF.outlineStroke=JF.iv;JF.height=JF.height;JF.minHeight=JF.vt;JF.maxHeight=JF.ut;JF.thumbs=JF.Rh;JF.orientation=JF.wt;
JF.allowRangeChange=JF.Ur;JF.autoHide=JF.Ag;JF=wF.prototype;JF.enabled=JF.enabled;JF.autoHide=JF.Ag;JF.fill=JF.fill;JF.stroke=JF.stroke;JF.hoverFill=JF.Pp;JF.hoverStroke=JF.Qp;function KF(){kC.call(this)}G(KF,kC);KF.prototype.Ox=function(a,b){var c=this.T()||pp(0,0,0,0),d=Math.round(c.ga()-a*c.height);1==a?d-=b:d+=b;var e=c.Ba()+this.Ge,f=d-this.oe;this.c.moveTo(c.Ba(),d).lineTo(e,f).lineTo(c.la()+this.Ge,f)};KF.prototype.Px=function(a,b){var c=this.T()||pp(0,0,0,0),d=Math.round(c.Ba()+a*c.width);1==a?d+=b:d-=b;var e=d+this.Ge,f=c.ga()-this.oe;this.c.moveTo(d,c.ga()).lineTo(e,f).lineTo(e,c.Ka()-this.oe)};
KF.prototype.Mx=function(a,b,c,d,e){if(!isNaN(b)){c=this.T()||pp(0,0,0,0);var f,h;f=Math.round(c.ga()-b*c.height);h=Math.round(c.ga()-a*c.height);1==a?h-=e:h+=e;1==b?f-=e:f+=e;d.moveTo(c.Ba(),f).lineTo(c.Ba()+this.Ge,f-this.oe).lineTo(c.la()+this.Ge,f-this.oe).lineTo(c.la()+this.Ge,h-this.oe).lineTo(c.Ba()+this.Ge,h-this.oe).lineTo(c.Ba(),h).close()}};
KF.prototype.Nx=function(a,b,c,d,e){if(!isNaN(b)){c=this.T()||pp(0,0,0,0);var f,h;f=Math.round(c.Ba()+b*c.width);h=Math.round(c.Ba()+a*c.width);1==a?h+=e:h-=e;1==b?f+=e:f-=e;d.moveTo(f+this.Ge,c.Ka()-this.oe).lineTo(h+this.Ge,c.Ka()-this.oe).lineTo(h+this.Ge,c.ga()-this.oe).lineTo(h,c.ga()).lineTo(f,c.ga()).lineTo(f+this.Ge,c.ga()-this.oe).close()}};function LF(){jy.call(this);sb(this.Ev,"autoRotate")||this.Ev.push("autoRotate")}G(LF,jy);function MF(a,b){return p(b)?(b=M(b),a.Fa!=b&&(a.Fa=b,a.i(4,9)),a):a.Fa}function NF(a,b){return p(b)?(b=M(b),a.Ga!=b&&(a.Ga=b,a.i(4,9)),a):a.Ga}function OF(a,b){return p(b)?(b=M(b),a.I!=b&&(a.I=b,a.i(4,9)),a):a.I}function PF(a,b){return p(b)?(b=null===b?b:rd(M(b)||0),a.vc!=b&&(a.vc=b,a.i(4,9)),a):a.vc}
LF.prototype.l=function(a){return p(a)?(a=null===a?a:pd(M(a)||0,-360,360),this.M!=a&&(this.M=a,this.i(4,9)),this):this.M};var QF=LF.prototype,RF=ec(jy.prototype.ei);RF.autoRotate=W(0,"autoRotate",iu,4,9);QF.ei=RF;ju(LF,LF.prototype.ei);
LF.prototype.QA=function(a,b,c,d,e,f){var h,k;c&&(h=c.width,k=c.height);var l=b.angle,n=b.radius;b=p(b.radiusY)?b.radiusY:n;var q=0,r=0,t=MF(this),u=NF(this),w=this.l(),x=OF(this);if(c||!isNaN(t)&&!isNaN(u))q=c.left,r=c.top,q=isNaN(t)?q+h/2:t,r=isNaN(u)?r+k/2:u,c=p(x)&&!isNaN(x)?L(e,x):c?L(e,Math.min(h,k)/2):0,l+=L(d,null!=w?w:360),n+=c,b+=c;d=q+td(l,n);l=r+ud(l,b);f=pq(new J(0,0,a.width,a.height),f);d-=f.x;l-=f.y;a.left=d;a.top=l;return a};
LF.prototype.uk=function(a,b,c,d){var e,f,h;a instanceof SF?(h=(a.uc()?a.uc().value.angle:0)||0,e=TF(a,h),f=Ly(a,"anchor"),"auto"==f&&(f=Ly(a,"autoRotate")?"center":qq(h)),d=p(d)?d:a.Qa()):(e=(p(c)&&p(c.rotation)?c.rotation:this.B("rotation"))||0,f=(p(c)&&p(c.autoRotate)?c.autoRotate:this.B("autoRotate"))||!1,h=(b?b.value.angle:0)||0,e=f?0h?e+h+270:e+h+90:e,f=p(c)&&c.anchor||this.B("anchor"));a=Ay(this,a,b,c,d);b=pq(a,f);b=Ud(sd(e),b.x,b.y);a=np(a)||[];b.transform(a,0,a,0,4);return a};
LF.prototype.hp=function(){return new SF};function SF(){zy.call(this)}G(SF,zy);var UF=SF.prototype,VF=ec(zy.prototype.Lj);VF.autoRotate=W(0,"autoRotate",iu,16,9);UF.Lj=VF;ju(SF,SF.prototype.Lj);function TF(a,b){var c=Ly(a,"rotation");return Ly(a,"autoRotate")?0b?c+b+270:c+b+90:c}
SF.prototype.jy=function(a,b){var c=this.f.positionFormatter,d=this.f.anchor,e=this.f.offsetX||0,f=this.f.offsetY||0,h=this.cg,k=this.uc(),l=ec(c.call(k,k)),c=l.angle,k=l.radius,l=p(l.radiusY)?l.radiusY:k,n=0,q=0,r=MF(h),t=NF(h),u=h.l(),h=OF(h);if(b||!isNaN(r)&&!isNaN(t))var n=b.left,q=b.top,w=b.width,x=b.height,n=isNaN(r)?n+w/2:r,q=isNaN(t)?q+x/2:t,f=p(h)&&!isNaN(h)?L(f,h):b?L(f,Math.min(w,x)/2):0,c=c+L(e,null!=u?u:360),k=k+f,l=l+f;e=n+td(c,k);f=q+ud(c,l);d=pq(new J(0,0,a.width,a.height),d);e-=d.x;
f-=d.y;this.o+=e;this.l+=f;a.left=e;a.top=f;this.f.rotation=TF(this,c);this.oa.x(this.o).y(this.l)};function WF(a,b,c,d){Xg.call(this);this.u=a;this.h=b||pa;this.c=p(d)?d:this;this.b=[]}G(WF,Xg);WF.prototype.clear=function(){for(var a;a=this.Na();)this.b.push(this.Hn(a-1));return this};function XF(a){var b=a.b.pop();b?a.h.call(a.c,b):b=a.u.call(a.c);a.sb(b);return b}WF.prototype.L=function(){for(var a=this.b.length;a--;)I(this.b[a]);this.b=null;delete this.u;delete this.h;this.c=null;WF.m.L.call(this)};function YF(){V.call(this);this.l=this.s=this.j=this.I=this.A=null;this.ka="vertical";this.v=this.sa=1;this.M=Xd("#e0e0e0",this.v);this.N=fe("#d5d5d5",this.v);this.S=Xd("#d5d5d5",this.v);this.V=fe("#656565",this.v);this.c=0;this.f=1;this.g=this.h=null;this.D=!1;this.ca=-1;this.ha=!0}G(YF,$t);g=YF.prototype;g.Y=$t.prototype.Y;g.aa=$t.prototype.aa|80;function ZF(a){return hl===il?Math.floor(a)+.5:Math.floor(a)}function $F(a,b){p(b)&&(b=Gm(b),b!=a.ka&&(a.ka=b,a.i(4,1)))}
g.Xo=function(a,b,c,d,e){if(p(a)){var f=fe.apply(null,arguments);this.N!=f&&(this.N=co(f,this.v,!1),this.i(16,1));return this}return this.N||"none"};g.Co=function(a,b,c,d,e,f,h){if(p(a)){var k=Xd.apply(null,arguments);this.M!=k&&(this.M=co(k,this.v,!0),this.i(16,1));return this}return this.M||"none"};g.Tq=function(a,b,c,d,e){if(p(a)){var f=fe.apply(null,arguments);this.V!=f&&(this.V=co(f,this.v,!1),this.i(16,1));return this}return this.V||"none"};
g.Sq=function(a,b,c,d,e,f,h){if(p(a)){var k=Xd.apply(null,arguments);this.S!=k&&(this.S=co(k,this.v,!0),this.i(16,1));return this}return this.S||"none"};g.im=function(a){return p(a)?(a=M(a),this.Aa!=a&&(this.Aa=a,this.i(4,9)),this):this.Aa};g.Og=function(a){return p(a)?(ua(a)&&(this.ha=a),this):this.ha};g.bk=function(a,b){return p(a)?(zd(this.h,a)||(this.h=a.clone(),this.g?aG(this):this.g=this.h.clone(),bG(this),this.i(64,1),cG(this,b||"api")),this):this.h};
function dG(a,b){return p(b)?(zd(a.g,b)||(a.g=b.clone(),a.h?aG(a):a.h=a.g.clone(),bG(a),a.i(64,1),cG(a,"api")),a):a.g}function eG(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)),fG(a),a.i(64,1),cG(a,"api")),a):a.c}function gG(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)),fG(a),a.i(64,1),cG(a,"api")),a):a.f}
function hG(a,b){b=+b;if(!isNaN(b)){b=pd(b,0,1);var c=a.f-a.c,d=$o(pd(b+c,0,1),4),c=$o(d-c,4);if(a.c!=c||a.f!=d)a.c=c,a.f=d,fG(a),a.i(64,1),cG(a,"user_action")}}function iG(a,b){b=+b;var c=isNaN(b)?40:b;if(a.g&&c&&(c+=jG(a)?a.g.top:a.g.left,c=+c,a.g&&!isNaN(c))){var d=jG(a);c!=(d?a.g.top:a.g.left)&&(d?a.g.top=c:a.g.left=c,aG(a),bG(a),a.i(64,1),cG(a,"user_action"))}}function kG(a,b){b=+b;var c=isNaN(b)?.05:pd(b,-1,1);c&&hG(a,a.c+c)}
g.Jt=function(a){return p(a)?(ua(a)&&this.D!=a&&(this.D=a,this.i(4,1)),this):this.D};g.cv=function(a){return p(a)?(this.v!=a&&(this.v=a,lG(this,this.v)),this):this.v};g.dv=function(a){return p(a)?(this.sa=a,this):this.sa};function mG(a){a.A||(a.A=Yg(),Tt(a,a.A,a.hz,a.gz,a.YK),H(a,a.A));return a.A}function lG(a,b){a.M=co(a.M,b,!0);a.N=co(a.N,b,!1);a.S=co(a.S,b,!0);a.V=co(a.V,b,!1);a.i(16,1)}g.hz=function(a){a.preventDefault();lG(this,this.sa);this.Cc(a)};
g.gz=function(a){a.preventDefault();lG(this,this.v);this.Cc(a)};g.YK=function(a){a.preventDefault();var b=jG(this),c=this.l.xa(),d=this.l.rg(),e=b?a.offsetY:a.offsetX,d=b?$o((e-d.top)/d.height,4):$o((e-d.left)/d.width,4);(b?e<=c.top:e<=c.left)?hG(this,d):(c=+d,isNaN(c)||(c=pd(c,0,1),b=this.f-this.c,c=$o(pd(c-b,0,1),4),b=$o(c+b,4),this.c==c&&this.f==b))||(this.c=c,this.f=b,fG(this),this.i(64,1),cG(this,"user_action"));this.Cc(a)};function nG(a){a.I||(a.I=pg(),H(a,a.I));return a.I}
function oG(a){a.j||(a.j=new Jv,Lv(a.j,16,!1),O(a.j,function(){a.j.K()}),Pv(a.j,function(){dG(a)?iG(a,40):kG(a,.05)}),H(a,a.j));return a.j}function pG(a){a.s||(a.s=new Jv,Lv(a.s,16,!1),O(a.s,function(){a.s.K()}),Pv(a.s,function(){dG(a)?iG(a,-40):kG(a,-.05)}),H(a,a.s));return a.s}function qG(a){a.l||(a.l=pg(),a.l.Oa(mG(a)),Wc(a.l,"drag",a.bf,!1,a),Wc(a.l,"end",a.jJ,!1,a),Tt(a,a.l,a.hz,a.gz,null,null,null,a.FO),H(a,a.l));return a.l}g.FO=function(a){a.preventDefault();this.Cc(a)};
g.bf=function(){rG(this,!0)};g.jJ=function(){rG(this,!1)};function rG(a,b){var c=jG(a),d=a.l.rg(),e=a.l.xa(),f=!!b,h=c?d.top:d.left,d=c?d.height:d.width,k=c?e.top:e.left,l=k+(c?e.height:e.width);10>=(c?e.height:e.width)?(c=a.f-a.c,a.c=(k-h)*(1-c)/(d-10),a.f=Math.min(a.c+c,1)):(a.c=$o((k-h)/d,5),a.f=$o((l-h)/d,5));fG(a);f||a.i(64,1);cG(a)}
function fG(a){if(a.h&&a.g){var b;if(jG(a)){b=a.h.height;var c=$o((a.f-a.c)*b,1);a.g.top=$o(a.c*b,1)+a.h.top;a.g.height=c}else b=a.h.width,c=$o((a.f-a.c)*b,1),a.g.left=$o(a.c*b,1)+a.h.left,a.g.width=c}}function bG(a){if(a.h&&a.g){var b=jG(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=$o(c/b,4);a.f=$o(d/b,4)}}
function aG(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=f=d?a.width:a.height;k=a.left;l=a.top;h&&(d?f=$o(a.height/3,1):e=$o(a.width/3,1));h=d?a.left:a.left+a.width-e;d=d?a.top+a.height-f:a.top;this.j.T(a);this.j.position({x:h,y:d}).width(e).height(f).K();this.s.T(a);this.s.position({x:k,y:l}).width(e).height(f).K();this.j.O(!1);this.s.O(!1)}this.i(80);this.C(4)}S(this,16)&&(this.I.fill(this.M).stroke(this.N),this.l.fill(this.S).stroke(this.V),this.C(16));if(S(this,64)){if(0>=
this.c&&1<=this.f||this.c==this.f)mG(this).visible(!1);else{mG(this).visible(!0);e=jG(this);f=this.b;a=Math.min(5,Math.min(f.width,f.height)/2);this.I.Sd(f).round(a);this.D?(d=this.j.width(),h=this.j.height(),k=e?f.left:f.left+d+1,l=e?f.top+h+1:f.top,d=e?f.width:f.width-2*(d+1),h=e?f.height-2*(h+1):f.height,k=new J(k,l,d,h)):k=f.clone();d=e?k.height:k.width;l=h=$o(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?f.left:$o(k.left+h,1),h=e?$o(k.top+h,1):f.top):
(d=e?f.left:$o(k.left+this.c*k.width,1),h=e?$o(k.top+this.c*k.height,1):f.top);n=e?f.width:l;e=e?l:f.height;this.l.Nq(ZF(d)).Oq(ZF(h)).qn(Math.round(n)).nn(Math.round(e)).round(a).rg(k);this.l.Ua(1,0,0,1,0,0)}this.C(64)}S(this,8)&&(mG(this).zIndex(this.zIndex()),this.C(8));c&&b.$b()}return this};function jG(a){return"horizontal"!=a.ka.toLowerCase()}g.remove=function(){this.A&&this.A.parent(null)};
function cG(a,b){if(a.ha){0<=a.ca&&(clearTimeout(a.ca),a.ca=-1);var c=new sG(a);c.startRatio=a.c;c.endRatio=a.f;c.visibleBounds=a.g;c.source=b||"user_action";a.ca=setTimeout(function(){a.dispatchEvent(c);a.ca=-1},0)}}
g.w=function(){var a=YF.m.w.call(this);va(this.Xo())?An(8,null,["ScrollBar background stroke"]):a.backgroundStroke=Zn(this.Xo());va(this.Co())?An(8,null,["ScrollBar background fill"]):a.backgroundFill=Zn(this.Co());va(this.Sq())?An(8,null,["ScrollBar slider fill"]):a.sliderFill=Zn(this.Sq());va(this.Tq())?An(8,null,["ScrollBar slider stroke"]):a.sliderStroke=Zn(this.Tq());a.mouseOverOpacity=this.dv();a.mouseOutOpacity=this.cv();a.buttonsVisible=this.Jt();a.barSize=this.im();return a};
g.J=function(a,b){YF.m.J.call(this,a,b);this.Co(a.backgroundFill);this.Xo(a.backgroundStroke);this.Sq(a.sliderFill);this.Tq(a.sliderStroke);this.dv(a.mouseOverOpacity);this.cv(a.mouseOutOpacity);this.Jt(a.buttonsVisible);this.im(a.barSize)};function sG(a){Rb.call(this,"scrollchange",a)}G(sG,Rb);sG.prototype.startRatio=0;sG.prototype.endRatio=0;sG.prototype.visibleBounds=null;sG.prototype.source="";var tG=YF.prototype;tG.barSize=tG.im;tG.backgroundStroke=tG.Xo;tG.backgroundFill=tG.Co;
tG.sliderStroke=tG.Tq;tG.sliderFill=tG.Sq;tG.mouseOutOpacity=tG.cv;tG.mouseOverOpacity=tG.dv;tG.buttonsVisible=tG.Jt;function uG(){kd.call(this);this.s=this.v=this.u=this.j=this.S=this.V=this.g=this.h=this.o=this.l=this.b=this.f=NaN;this.A=this.D=.01;this.M=NaN;this.c=!1;this.N=this.I=NaN}G(uG,Bt);uG.prototype.Y=4;function vG(a){return function(b){return fx(b,a)}}
var wG=[144E5,2592E5,26784E5,31536E6,31536E7],xG=[{Vb:"day",count:1},{Vb:"week",count:1},{Vb:"month",count:1},{Vb:"year",count:1},{Vb:"year",count:10}],yG=[{Vb:"hour",count:1},{Vb:"day",count:1},{Vb:"week",count:1},{Vb:"quarter",count:1},{Vb:"year",count:1}],zG=[{Vb:"minute",count:10},{Vb:"hour",count:2},{Vb:"day",count:1},{Vb:"month",count:1},{Vb:"quarter",count:1}];g=uG.prototype;g.Uc=function(){return isNaN(this.f)&&isNaN(this.b)&&isNaN(this.h)&&isNaN(this.g)};
g.reset=function(){this.g=this.h=this.o=this.l=this.b=this.f=NaN;this.c=!1};function AG(a){var b=new Date;isNaN(a.I)&&(a.I=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()));isNaN(a.N)&&(a.N=a.I+864E5);return{min:a.I,max:a.N}}function BG(a,b,c){b=oq(b);c=oq(c);a.f==b&&a.b==c||isNaN(c)||isNaN(b)||(a.f=b,a.b=c,a.c=!1,CG(a),a.P(4))}function DG(a){CG(a);return a.Uc()?AG(a):{min:a.f,max:a.b}}
function EG(a){var b;isNaN(a.l)&&(isNaN(a.j)?isNaN(a.v)?(b=(isNaN(a.u)?isNaN(a.s)?a.g:Math.max(a.g,a.s):a.u)-a.h,b*=a.D,a.l=a.h-b):a.l=Math.min(a.v,a.h):a.l=a.j);isNaN(a.o)&&(isNaN(a.u)?isNaN(a.s)?(b=a.g-(isNaN(a.j)?isNaN(a.v)?a.h:Math.min(a.h,a.v):a.j),b*=a.A,a.o=a.g+b):a.o=Math.max(a.s,a.g):a.o=a.u);return a.Uc()?AG(a):{min:a.l,max:a.o}}
function CG(a){if(!a.c&&!a.Uc()){a.c=!0;var b=EG(a),c=b.min,b=b.max;isNaN(c)?isNaN(a.f)||(a.h=a.f):isNaN(a.f)?a.f=c:a.f=Math.max(a.f,c);isNaN(b)?isNaN(a.b)||(a.g=a.b):isNaN(a.b)?a.b=b:a.b=Math.min(a.b,b);if(a.f>a.b){var d=a.f-a.b;a.f=Math.max(a.b,c);a.b=Math.min(a.f+d,b)}}}g.Yy=function(a){p(a)&&(a=oq(a),this.j!=a&&(this.j=a,this.l=NaN,this.c=!1,this.P(4)));return this.j};g.Xy=function(a){p(a)&&(a=oq(a),this.u!=a&&(this.u=a,this.o=NaN,this.c=!1,this.P(4)));return this.u};
g.$y=function(a){p(a)&&(a=oq(a),this.v!=a&&(this.v=a,this.l=NaN,this.c=!1,this.P(4)));return this.v};g.Zy=function(a){p(a)&&(a=oq(a),this.s!=a&&(this.s=a,this.o=NaN,this.c=!1,this.P(4)));return this.s};g.Ro=function(a){return p(a)?(a=+a||0,this.D!=a&&(this.D=a,this.l=NaN,this.c=!1,this.P(4)),this):this.D};g.Qo=function(a){return p(a)?(a=+a||0,this.A!=a&&(this.A=a,this.o=NaN,this.c=!1,this.P(4)),this):this.A};
g.mk=function(a,b){var c=oq(a),d=DG(this),e=d.min,d=d.max;if(b.u||b.h){if(c<=e)return FG(this,a,b);if(c>e&&c=d)return FG(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),FG(this,c,b);return[]};
function FG(a,b,c,d,e){b=new Ip(bx(b));var f=DG(a);a=f.min;var f=f.max,h=[],k=!1,l=!1,n;if(d)for(c=c.j(-1);!k||!l;)d=oq(b),n=b.clone(),n.add(c),b=oq(n),k?yb(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 UG(a,b){var c=Bb(a.b,b);return 0<=c?c:~c}g.data=function(a){return p(a)?(this.l!=a&&(a instanceof iF||a instanceof cF)&&(this.l&&Ct(this.l,this.Hx,this),this.l=a,O(this.l,this.Hx,this),this.S=this.l.Jm(),this.S.kD(this.LG),this.A&&this.A.scale().reset(),this.i(64,2)),this):this.l};
g.Vd=function(a){return p(a)?(this.o!=a&&(this.o=a,this.i(256,2)),this):this.o};g.ic=function(a){return p(a)?(isNaN(a)||(this.c=a,this.o=0,this.g=NaN,this.i(256,2)),this):this.c};g.vd=function(a){return p(a)?(isNaN(a)||(this.g=a,this.c=NaN,this.i(256,2)),this):this.g};function VG(a,b){return p(b)?(a.u!=b&&(a.u=b,a.i(256,2)),a):a.u}function WG(a,b){return p(b)?(a.ha!=b&&(a.ha=b,a.i(128,2)),a):a.ha}g.qL=function(a){return p(a)?(this.N!=a&&(this.N=a,this.i(256,2)),this):this.N};
function XG(a){a.v||(a.v=new YF,$F(a.v,"vertical"),a.v.ba("scrollchange",function(b){var c=b.startRatio;b=b.endRatio;var d=a.b[a.b.length-1];T(a);c?1==b?a.vd(a.b.length):(b=Math.round(c*d),c=UG(a,b),b-=c?a.b[c-1]:0,a.ic(c).Vd(b)):a.ic(0).Vd(0);a.O(!0)}));return a.v}function YG(a,b){if(a.b.length){b=Math.max(b,0);var c=a.b[a.b.length-1];T(a);if(b>c-a.u)a.vd(a.b.length-1);else{var c=UG(a,b),d=b-(c?a.b[c-1]:0);a.ic(c).Vd(d)}a.O(!0)}}
g.w=function(){var a=LG.m.w.call(this);a.isResourceChart=this.h;a.treeData=this.data().w();a.verticalOffset=this.Vd();isNaN(this.ic())?isNaN(this.vd())||(a.endIndex=this.vd()):a.startIndex=this.ic();return a};g.J=function(a,b){LG.m.J.call(this,a,b);this.h=a.isResourceChart;"treeData"in a&&this.data(jF(a.treeData));this.Vd(a.verticalOffset);"startIndex"in a?this.ic(a.startIndex):"endIndex"in a&&this.vd(a.endIndex)};function ZG(a,b){kd.call(this);this.b=a;var c=sf(this.b)?this.b:this.b?this.b.body:null;this.h=!!c&&"rtl"==Kf(c,"direction");this.c=Wc(this.b,oc?"DOMMouseScroll":"mousewheel",this,b)}G(ZG,kd);
ZG.prototype.handleEvent=function(a){var b=0,c=0,d=a.b;"mousewheel"==d.type?(a=$G(-d.wheelDelta),p(d.wheelDeltaX)?(b=$G(-d.wheelDeltaX),c=$G(-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=pd(b,-this.f,this.f));E(this.g)&&(c=pd(c,-this.g,this.g));this.h&&(b=-b);b=new aH(a,d,b,c);this.dispatchEvent(b)};function $G(a){return pc&&(qc||sc)&&a%40?a:a/40}ZG.prototype.L=function(){ZG.m.L.call(this);fd(this.c);this.c=null};
function aH(a,b,c,d){Hc.call(this,b);this.type="mousewheel";this.detail=a;this.s=c;this.v=d}G(aH,Hc);function bH(a,b){V.call(this);this.h=this.dr=null;this.f=this;this.gb=!0;this.c=null;a&&a instanceof LG?(this.c=a,this.gb=!1):cH(this,b);this.b=null;this.Ma=1;this.Tk=this.Yk=this.xq=this.Zk=this.dl=this.Vk=this.Uk=this.Hq=this.Fn=this.I=this.fl=this.Ok=null;this.Sa=45;this.$v=this.sa=0;this.Sk=this.hl=this.Jk=this.Kk=null;this.Pa=[];this.kc=-1;this.ka=null;this.gl=this.il=0;this.j=this.qc=!1;this.s=null;this.altKey=!1;this.ha=null;this.xb=this.ib=0;this.D=!0;this.Ea=!1;this.l=this.be=null;this.Cr=
!1;Ut(this,this,this.dB,this.QI,this.OI,this.dB,this.vM)}G(bH,$t);g=bH.prototype;g.aa=$t.prototype.aa|208;function dH(a){var b=a.G("actualStart");a=a.G("actualEnd");return p(b)&&(!isNaN(b)&&!p(a)||b==a)}
function eH(a,b,c,d){a.be||(a.be=new hx);var e=a.c.h,f={item:{value:b,type:""},name:{value:b.get("name"),type:"string"},id:{value:b.get("id"),type:"string"}};e?(f.minPeriodDate={value:b.G("minPeriodDate"),type:"datetime"},f.maxPeriodDate={value:b.G("maxPeriodDate"),type:"datetime"},f.period={value:c,type:""},f.periodIndex={value:null!=d&&0a||a>h)return null;d=Bb(this.Pa,a);var h=(this.kc=d=0<=d?d:~d)?this.Pa[d-1]:0,f=f+h,k=f+(this.Pa[d]-h-this.Ma);e.item=b[c+d];e.startY=f;e.endY=k;e.hoveredIndex=this.kc;e.index=c+d;e.itemHeightMouseRatio=(a-h)/(this.Pa[d]-h)}return e}return null};g.gu=function(a){return p(a)?(this.Ea!=a&&(this.Ea=a,this.i(128,1)),this):this.Ea};
function gH(a){a.I||(a.I=Yg(),Tt(a,a.I,null,null,null,null,a.cB),H(a,a.I));return a.I}function hH(a){a.Uk||(a.Uk=Yg(),a.Uk.zIndex(30),H(a,a.Uk));return a.Uk}function iH(a){a.Zk||(a.Zk=Yg(),a.Zk.zIndex(35),H(a,a.Zk));return a.Zk}function jH(a){a.Vk||(a.Vk=Yg(),a.Vk.zIndex(40),H(a,a.Vk));return a.Vk}function kH(a){a.dl||(a.dl=Yg(),a.dl.zIndex(45),H(a,a.dl));return a.dl}function lH(a){a.Yk||(a.Yk=Yg(),a.Yk.zIndex(50),H(a,a.Yk));return a.Yk}
function mH(a){a.Tk||(a.Tk=Yg(),a.Tk.zIndex(60),H(a,a.Tk));return a.Tk}function nH(a){a.Kk||(a.Kk=hH(a).da(),a.Kk.stroke(null).zIndex(1),H(a,a.Kk));return a.Kk}function oH(a){a.Jk||(a.Jk=hH(a).da(),a.Jk.stroke(null).zIndex(1),H(a,a.Jk));return a.Jk}function pH(a){a.hl||(a.hl=hH(a).da(),a.hl.stroke(null).fill(a.Wk).zIndex(2),H(a,a.hl));return a.hl}function qH(a){a.Sk||(a.Sk=hH(a).da(),a.Sk.stroke(null).fill(a.ul).zIndex(3),H(a,a.Sk));return a.Sk}
function rH(a){a.Ok||(a.Ok=hH(a).da(),a.Ok.stroke(a.hb).zIndex(4),H(a,a.Ok));return a.Ok}function sH(a){a.xq||(a.xq=kH(a).da(),H(a,a.xq));return a.xq}function tH(a){a.fl||(a.fl=hH(a).da(),a.fl.zIndex(40),H(a,a.fl));return a.fl}g.Eq=function(a,b,c,d,e,f,h){if(p(a)){var k=Xd.apply(null,arguments);this.sl!=k&&(this.sl=k,this.rl=this.tl=null,this.i(16,1));return this}return this.sl};g.Ts=function(a,b,c,d,e,f,h){An(405,null,["cellFill()","rowFill()"]);return this.Eq(a,b,c,d,e,f,h)};
g.ro=function(a,b,c,d,e,f,h){if(p(a)){var k=Xd.apply(null,arguments);this.tl!=k&&(this.tl=k,this.i(16,1));return this}return this.tl};g.Nt=function(a,b,c,d,e,f,h){An(405,null,["cellOddFill()","rowOddFill()"]);return this.ro(a,b,c,d,e,f,h)};g.qo=function(a,b,c,d,e,f,h){if(p(a)){var k=Xd.apply(null,arguments);this.rl!=k&&(this.rl=k,this.i(16,1));return this}return this.rl};g.Mt=function(a,b,c,d,e,f,h){An(405,null,["cellEvenFill()","rowEvenFill()"]);return this.qo(a,b,c,d,e,f,h)};
g.sv=function(a,b,c,d,e,f,h){if(p(a)){var k=Xd.apply(null,arguments);this.Wk!=k&&(this.Wk=k);return this}return this.Wk};g.uv=function(a,b,c,d,e,f,h){if(p(a)){var k=Xd.apply(null,arguments);this.ul!=k&&(this.ul=k,this.i(16,1));return this}return this.ul};g.Jj=function(a,b,c,d,e,f,h){if(p(a)){var k=Xd.apply(null,arguments);this.En!=k&&(this.En=k,this.i(16,1));return this}return this.En};g.eu=function(a,b,c,d,e,f,h){if(p(a)){var k=Xd.apply(null,arguments);this.wq!=k&&(this.wq=k,this.i(16,1));return this}return this.wq};
g.fu=function(a){if(p(a)){var b=fe.apply(null,arguments);this.el!=b&&(this.el=b,this.i(16,1));return this}return this.el};g.du=function(a){if(p(a)){var b=fe.apply(null,arguments);this.sq!=b&&(this.sq=b,this.i(16,1));return this}return this.sq};g.kA=function(a){a.c instanceof cg&&!this.h&&(this.h=new uH(this.I,this),H(this,this.h),this.h.ba("drag",this.bf,!1,this),this.h.ba("end",this.MI,!1,this),this.h.Fe(a.b))};
g.bf=function(a){this.j=!0;if(this.Ea&&(this.D=!1,fH(this.f),this.Ra().fd(),a=this.eg(a))){var b=a.item,c=a.itemHeightMouseRatio,d=a.startY,e=a.endY;this.s&&b&&b!=this.s&&!lF(b,this.s)?.2>c||.8c?d:e,void 0,"auto"):dH(b)?vH(this.f,void 0,void 0,"not-allowed"):vH(this.f,d,e,"auto"):vH(this.f,void 0,void 0,"not-allowed");this.CF(a)}this.Ra().fd();this.Cr=!0};
g.MI=function(a){if(this.Ea){a=this.eg(a);this.DF(a);if(a){var b=a.item,c=a.hoveredIndex,c=this.c.ic()+c,d=this.c.f;a=a.itemHeightMouseRatio;this.s&&b&&b!=this.s&&!dH(b)&&!lF(b,this.s)&&(.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.Yb(b),b=this.s.getParent()||this.s.Tf(),b==c&&b.Yb(this.s)c,d=eG(k),k=gG(k),l=d||1!=k?0k||!d&&!l&&1!=k||1==k&&l&&0!=d:!1);e&&(e=0>b,n=eG(h),h=gG(h),n=e?n||1!=h?0h||1==h&&0!=n||!n&&f:f:n||1!=h?0h||!n&&1!=h:!1);if(l||n)a.preventDefault(),this.bm(b,c)};g.pN=function(a){U(a,2)&&this.P(1)};
g.RI=function(){this.Ra().K()};g.Rs=pa;g.Ss=pa;g.Kj=function(a){return p(a)?(MG(this.c,a),this):MG(this.c)};function cH(a,b){a.c=new LG(b);H(a,a.c);O(a.c,a.pN,a)}
function xH(a,b){b&&a.i(64);if(a.Ta()){var c=a.F(),d=c?c.Z():null,e=d&&!d.Gb();e&&d.cc();var f,h;gH(a).Na()||(a.Fn=a.I.rect(),H(a,a.Fn),a.Fn.fill(a.En).stroke(null).zIndex(10),a.Hq=a.I.rect(),H(a,a.Hq),a.Hq.fill(On).stroke(null).zIndex(20),a.I.sb(hH(a)).sb(iH(a)).sb(jH(a)).sb(kH(a)).sb(lH(a)).sb(mH(a)),a.gb&&(f=XG(a.c),O(f.F(mH(a)),function(a){U(a,8)?this.i(4,1):f.K()},a),H(a,f)),h=a.ig(),O(h.F(mH(a)),function(a){U(a,1)&&h.K()},h),H(a,h),a.I.Tc("mousedown",a.kA,!1,a),a.I.Tc("touchstart",a.kA,!1,a),
a.hB());S(a,2)&&(a.I.parent(c),a.C(2));S(a,4)&&(a.b=a.ua(),a.I.clip(a.b),a.Fn.Sd(a.b),a.Hq.Sd(a.b),a.sa=a.b.width,c=a.b.top+a.Sa+.5,tH(a).clear().moveTo(a.b.left,c).lineTo(a.b.left+a.sa,c),a.gb&&(f=XG(a.c),c=f.im(),f.Jb(a.b.left+a.b.width-c-1,a.b.top+a.yd()+c+1,c,a.b.height-a.yd()-2*c-2)),h=a.ig(),c=h.im(),h.Jb(a.b.left+c,a.b.top+a.b.height-c-1,a.b.width-2*c,c),a.qc=!0,a.Ss(),a.C(4));S(a,64)&&(a.Ra().fd(),a.qc=!0,a.UB(),a.C(64));if(S(a,16)){a.Fn.fill(a.En);nH(a).fill(a.tl||a.sl);oH(a).fill(a.rl||
a.sl);qH(a).fill(a.ul);var k;B(a.hb)?k=a.hb:z(a.hb)&&a.hb.color&&(k=a.hb.color);k&&tH(a).stroke(k);rH(a).stroke(a.hb);sH(a).fill(a.wq).stroke(a.el);a.Rs();a.C(16)}S(a,8)&&(gH(a).zIndex(a.zIndex()),a.C(8));S(a,128)&&(a.qc=!0,a.C(128));a.Jv();a.qc&&(wH(a),a.TB(),a.qc=!1);e&&d.$b();a.gb&&(yH(a),zH(a))}}g.hB=pa;
function fH(a,b,c,d){var e=!1,f=!1;if(p(b)&&p(c)&&p(d)){if(a.il!=c||a.gl!=d)a.kc=b,a.il=c,a.gl=d,e=0<=a.kc}else 0<=a.kc&&(a.kc=-1,a.il=NaN,a.gl=NaN),f=!0;e?pH(a).clear().fill(a.Wk).moveTo(a.b.left,a.il).lineTo(a.b.left+a.b.width,a.il).lineTo(a.b.left+a.b.width,a.gl).lineTo(a.b.left,a.gl).close():f&&pH(a).clear()}
function vH(a,b,c,d){var e=sH(a);p(b)?p(c)?e.clear().moveTo(a.b.left,b).lineTo(a.b.left+a.sa,b).lineTo(a.b.left+a.sa,c).lineTo(a.b.left,c).close().stroke(a.el):e.clear().moveTo(a.b.left,b).lineTo(a.b.left+a.sa,b).stroke(a.sq):e.clear();p(d)&&Ff(m.document.body,"cursor",d)}function yH(a){if(!a.dr){var b=gH(a).X();b&&(a.dr=new ZG(b),Wc(a.dr,"mousewheel",a.HB,!1,a),Wc(window,"unload",function(){ed(a.dr,"mousewheel",a.HB,!1,this)}));Wc(document,"mousemove",a.jA,!1,a)}}
g.jA=function(a){var b=cl(this.F().Z()),c=this.b.top+b.y+this.Sa+10,d=b.y+this.b.height-10-10,b=b.x+this.b.left+10,e=b+this.b.width-10-10,f=a.clientX,h=a.clientY;this.xb=this.ib=0;if(fe)this.ib=f-b;if(hd)this.xb=h-c;var k=this;this.j&&!this.ha&&(this.ha=setInterval(function(){k.bv(a)},100))};function zH(a){a.f.lr||(a.f.lr=new AH(a.f,document),H(a,a.f.lr),Wc(a.f.lr,"key",function(a){18==a.keyCode&&(this.altKey=!0);(46==a.keyCode||a.metaKey&&8==a.keyCode)&&this.cA(a)},!1,a.f))}g.cA=function(){};
g.UB=pa;g.TB=pa;g.remove=function(){this.I&&this.I.parent(null)};g.Fq=function(a,b,c,d,e){if(p(a)){var f=fe.apply(null,arguments),h=Bq(f);if(this.hb!=f||h!=this.Ma)this.hb=f,this.Ma=h,this.gb||WG(this.c,h),this.i(80,1);return this}return this.hb||"none"};g.Jv=pa;
g.Gq=function(a){this.ka&&this.c.data()&&(T(this.c.data()),this.ka.G("selected",!1),this.ka=null,this.c.data().O(!1),this.f==this&&this.dispatchEvent({type:"rowSelect",actualTarget:a?a.target:this,target:this,originalEvent:a,item:null}),this.i(64,1))};g.data=function(a){var b=this.c.data();return p(a)?(a!=b&&a instanceof iF&&this.c.data(a),this):b};
g.K=function(){this.b&&!this.b.height&&this.b.height||(this.b=this.ua());var a=WG(VG(this.c,this.b.height-this.Sa-1),this.Ma);if(!a.df()){if(S(a,64)){a.ka=0;a.j=NaN;a.s=NaN;T(a.l);for(var b=0,c=a.l.Na();b=b?(a.c=0,a.o=0,a.g=a.f.length-1):(isNaN(a.c)&&isNaN(a.g)&&(a.c=0),isNaN(a.c)?(b=TG(a,0,a.g),ba.V.length){var e=new DH;H(a,e);e.stroke(a.N);e.F(lH(a));O(e,function(){e.K()},e);e.ba("splitterchange",Ba(a.GO,a,b-1));e.ba("dblclick",Ba(a.HO,a,b-1));a.V.push(e)}}
g.hy=function(a,b){var c,d,e=!1;c=M(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var f=this.v[c];f||(f=new PH(this),f.H(this.Wz()),O(f,this.jL,this),H(this,f),e=!0);if(p(d))return f.H(d instanceof PH?d.w():d),f.enabled()&&f.F(jH(this)),this.v[c]=f,OH(this),this.i(528,1),this;e&&(d=c?1==c?170:90:90,e=c?1==c?"Name":"Column #"+c:"#",T(f),f.F(jH(this)).width(d).height("100%"),f.title().text(e),f.O(!0),this.v[c]=f,OH(this),this.i(528,1));return f};
g.GO=function(a,b){var c=b.target;c.b||(c.b=c.ua());this.Dp(this.kO,this,a,(new J($o(c.b.left,1),$o(c.b.top,1),$o(Math.min(c.g,c.b.width-c.l),1),$o(c.b.height,1))).width+20)};g.HO=function(a,b){this.Dp(this.rL,this,a,b)};g.kO=function(a,b,c,d){c==b&&a.width(d)};
g.rL=function(a,b,c,d){c==b&&(b=a.title(),c=b.height(),d.offsetY-this.b.topthis.sa&&(this.M=0);this.M=pd(this.M,0,Math.abs(this.b.width-this.sa));c=-this.M;f=0;for(h=e.length;fd&&(d=wG.length-1);e=IG(a,xG[d]);f=IG(a,yG[d],xG[d]);a=IG(a,zG[d],yG[d]);f=[e,f,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(f,{value:{x:k,y:this.b.top}});T(k);k.clip(new J(n+r/2,this.b.top,q-n-r,this.b.height));k.height(this.b.height);k.O(!1);k.K()}this.labels().O(!1);this.labels().K()}S(this,8)&&this.C(8);e&&d.$b()}return this};g.remove=function(){fI(this).parent(null)};
g.w=function(){var a=dI.m.w.call(this);a.tileFill=Zn(this.j);a.tilesSeparationStroke=Zn(this.f);a.labels=this.labels().w();return a};g.J=function(a){dI.m.J.call(this,a);this.bD(a.tileFill);this.cD(a.tilesSeparationStroke);wr(this.labels(),a.labels)};var gI=cI.prototype;gI.backgroundFill=gI.Jx;gI.levelsSeparationStroke=gI.uB;gI.topLevel=gI.xn;gI.midLevel=gI.bn;gI.lowLevel=gI.Xm;gI=dI.prototype;gI.tileFill=gI.bD;gI.labels=gI.labels;gI.tilesSeparationStroke=gI.cD;function hI(a,b){bH.call(this,a,b);this.ff=this.M=this.N=this.V=this.S=this.pb=this.A=this.cd=this.ce=this.Fc=null;this.jm=void 0;this.v=null;this.Wq=void 0;this.$q=NaN;this.ql=this.Re=!1;this.kg=this.lj=this.gj=this.Wg=this.Hh=this.Gh=null;this.mr=this.pr=this.Xb=!1;this.Aa=this.Wb=null;this.ym=[];this.km=0;this.kl=[];this.pl=[];this.ze=[];this.jl=null;this.W=new uG;O(this.W,this.LJ,this);H(this,this.W);var c=this.c;p(this)&&c.A!=this&&(c.A=this,c.i(256,2))}G(hI,bH);g=hI.prototype;
g.aa=bH.prototype.aa|512;g.LJ=function(a){U(a,4)&&this.i(512,1)};g.nk=function(a){this.ca||(this.ca=new cI,this.ca.scale(this.W),this.ca.zIndex(80),H(this,this.ca),O(this.ca,this.MM,this));return p(a)?(this.ca.H(a),this):this.ca};g.MM=function(a){U(a,1)&&this.i(512,1)};g.zz=function(a,b,c,d,e){if(p(a)){var f=fe.apply(null,arguments);this.ef!=f&&(this.ef=f,this.i(16,1));return this}return this.ef||"none"};
g.zA=function(a,b,c,d,e,f,h){if(p(a)){var k=Xd.apply(null,arguments);this.bq!=k&&(this.bq=k,this.i(16,1));return this}return this.bq||"none"};g.AA=function(a,b,c,d,e){if(p(a)){var f=fe.apply(null,arguments);this.eq!=f&&(this.eq=f,this.i(16,1));return this}return this.eq||"none"};g.BA=function(a,b,c,d,e,f,h){if(p(a)){var k=Xd.apply(null,arguments);this.iq!=k&&(this.iq=k,this.i(16,1));return this}return this.iq||"none"};
g.CA=function(a,b,c,d,e){if(p(a)){var f=fe.apply(null,arguments);this.mq!=f&&(this.mq=f,this.i(16,1));return this}return this.mq||"none"};g.wA=function(a,b,c,d,e,f,h){if(p(a)){var k=Xd.apply(null,arguments);this.bl!=k&&(this.bl=k,this.i(16,1));return this}return this.bl||"none"};g.xA=function(a,b,c,d,e){if(p(a)){var f=fe.apply(null,arguments);this.cl!=f&&(this.cl=f,this.i(16,1));return this}return this.cl||"none"};
g.qA=function(a,b,c,d,e,f,h){if(p(a)){var k=Xd.apply(null,arguments);this.$k!=k&&(this.$k=k,this.i(16,1));return this}return this.$k||"none"};g.rA=function(a,b,c,d,e){if(p(a)){var f=fe.apply(null,arguments);this.al!=f&&(this.al=f,this.i(16,1));return this}return this.al||"none"};g.fz=function(a,b,c,d,e,f,h){if(p(a)){var k=Xd.apply(null,arguments);this.zp!=k&&(this.zp=k,this.i(128,1));return this}return this.zp||"none"};
g.iz=function(a,b,c,d,e){if(p(a)){var f=fe.apply(null,arguments);this.Fp!=f&&(this.Fp=f,this.i(128,1));return this}return this.Fp||"none"};g.kz=function(a,b,c,d,e,f,h){if(p(a)){var k=Xd.apply(null,arguments);this.Np!=k&&(this.Np=k,this.i(128,1));return this}return this.Np||"none"};g.lz=function(a,b,c,d,e){if(p(a)){var f=fe.apply(null,arguments);this.Rp!=f&&(this.Rp=f,this.i(128,1));return this}return this.Rp||"none"};
g.XB=function(a,b,c,d,e,f,h){if(p(a)){var k=Xd.apply(null,arguments);this.ir!=k&&(this.ir=k,this.i(128,1));return this}return this.ir||"none"};g.YB=function(a,b,c,d,e){if(p(a)){var f=fe.apply(null,arguments);this.jr!=f&&(this.jr=f,this.i(128,1));return this}return this.jr||"none"};g.DB=function(a,b,c,d,e,f,h){if(p(a)){var k=Xd.apply(null,arguments);this.ml!=k&&(this.ml=k,this.i(128,1));return this}return this.ml||"none"};
g.EB=function(a,b,c,d,e){if(p(a)){var f=fe.apply(null,arguments);this.ol!=f&&(this.ol=f,this.i(128,1));return this}return this.ol||"none"};g.RB=function(a,b,c,d,e,f,h){if(p(a)){var k=Xd.apply(null,arguments);this.er!=k&&(this.er=k,this.i(128,1));return this}return this.er||"none"};g.SB=function(a,b,c,d,e){if(p(a)){var f=fe.apply(null,arguments);this.gr!=f&&(this.gr=f,this.i(128,1));return this}return this.gr||"none"};
g.yz=function(a,b,c,d,e,f,h){if(p(a)){var k=Xd.apply(null,arguments);this.Vp!=k&&(this.Vp=k,this.i(128,1));return this}return this.Vp||"none"};g.Az=function(a,b,c,d,e){if(p(a)){var f=fe.apply(null,arguments);this.Xp!=f&&(this.Xp=f,this.i(64,1));return this}return this.Xp||"none"};g.vC=function(a,b,c,d,e,f,h){if(p(a)){var k=Xd.apply(null,arguments);this.de!=k&&(this.de=k,this.i(128,1));return this}return this.de||"none"};
g.wC=function(a,b,c,d,e){if(p(a)){var f=fe.apply(null,arguments);this.xe!=f&&(this.xe=f,this.i(128,1));return this}return this.xe||"none"};g.yO=function(a,b,c,d,e){if(p(a)){var f=fe.apply(null,arguments);this.vl!=f&&(this.vl=f,this.i(128,1));return this}return this.vl||"none"};g.By=function(a){if(p(a)){var b=fe.apply(null,arguments),c=Bq(this.Qe),d=Bq(b);if(this.Qe!=b||d!=c)this.Qe=b,this.i(16,1);return this}return this.Qe};g.Yz=function(a){return p(a)?(this.bE=a,this):this.bE||{}};
g.$z=function(a){return p(a)?(this.cE=a,this):this.cE||{}};g.aA=function(a){return p(a)?(this.gE=a,this):this.gE||{}};g.vB=function(a,b){var c,d;c=M(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.kl[c];e||(e=new XH(this.W),e.H(this.Yz()),this.kl[c]=e,H(this,e),O(e,this.gv,this),this.i(512,1));return p(d)?(e.H(d),this):e};
g.cC=function(a,b){var c,d;c=M(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.pl[c];e||(e=new ZH(this.W),e.H(this.$z()),this.pl[c]=e,H(this,e),O(e,this.gv,this),this.i(512,1));return p(d)?(e.H(d),this):e};g.ZC=function(a,b){var c,d;c=M(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.ze[c];e||(e=new aI(this.W),e.H(this.aA()),this.ze[c]=e,H(this,e),O(e,this.gv,this),this.i(512,1));return p(d)?(e.H(d),this):e};g.gv=function(){this.i(512,1)};
g.Dy=function(a){An(405,null,["minimumGap()","scale().minimumGap()"]);return p(a)?(this.W.Ro(a),this):this.W.Ro()};g.Cy=function(a){An(405,null,["maximumGap()","scale().maximumGap()"]);return p(a)?(this.W.Qo(a),this):this.W.Qo()};g.labels=function(a){this.Fc||(this.Fc=new jy,this.Fc.Oa(this));if(p(a)){var b=!0;a instanceof jy?this.Fc.H(a.w()):z(a)?this.Fc.H(a):Aq(a)?this.Fc.enabled(!1):b=!1;b&&this.i(64,1);return this}return this.Fc};
g.tg=function(a){this.ce||(this.ce=new ky,this.ce.Oa(this));if(p(a)){var b=!0;a instanceof ky?this.ce.H(a.w()):z(a)?this.ce.H(a):Aq(a)?this.ce.enabled(!1):b=!1;b&&this.i(64,1);return this}return this.ce};g.jz=function(a){return p(a)&&this.Re!=a?(this.Re=a,this.i(64,1),this):this.Re};function iI(a){a.cd||(a.cd=lH(a).da(),a.cd.zIndex(6),a.cd.stroke(a.Qe),a.cd.Hc("hui",12345),H(a,a.cd));return a.cd}
function jI(a){a.A||(a.A=new kI(kH(a)),a.A.zIndex(0).Hb("ew-resize"),a.u.ba(a.A,"mousedown",function(a){a.stopPropagation()}),a.A.Tc("mousedown",a.HL,!1,a),H(a,a.A));return a.A}function lI(a){a.pb||(a.pb=new kI(kH(a)),a.pb.zIndex(10),a.u.ba(a.pb,"mousedown",function(a){a.stopPropagation()}),a.pb.Tc("mousedown",a.ML,!1,a),H(a,a.pb));return a.pb}
function mI(a){a.S||(a.S=new kI(kH(a)),a.S.zIndex(20).Hb("col-resize"),a.S.o=jI(a),a.u.ba(a.S,"mousedown",function(a){a.stopPropagation()}),a.S.Tc("mousedown",a.FL,!1,a),H(a,a.S));return a.S}function nI(a){a.V||(a.V=new kI(kH(a)),a.V.zIndex(30).Hb("col-resize"),a.V.o=jI(a),a.u.ba(a.V,"mousedown",function(a){a.stopPropagation()}),a.V.Tc("mousedown",a.PL,!1,a),H(a,a.V));return a.V}
function oI(a){a.N||(a.N=new kI(kH(a)),a.N.zIndex(40).Hb("move"),a.u.ba(a.N,"mousedown",function(a){a.stopPropagation()}),a.N.Tc("mousedown",a.RL,!1,a),H(a,a.N));return a.N}function pI(a){a.M||(a.M=new kI(kH(a)),a.M.zIndex(50).Hb("move"),a.u.ba(a.M,"mousedown",function(a){a.stopPropagation()}),a.M.Tc("mousedown",a.EL,!1,a),H(a,a.M));return a.M}g.FA=function(a){return p(a)?(this.zr=a,this):this.zr};g.EA=function(a){return p(a)?(this.yr=a,this):this.yr};
g.DA=function(a){return p(a)?(this.xr=a,this):this.xr};g.GA=function(a){return p(a)?(this.Ar=a,this):this.Ar};g.uA=function(a){return p(a)?(this.vr=a,this):this.vr};g.tA=function(a){return p(a)?(this.ur=a,this):this.ur};g.sA=function(a){return p(a)?(this.rr=a,this):this.rr};g.vA=function(a){return p(a)?(this.wr=a,this):this.wr};g.yA=function(a){return p(a)?(this.lg=a,this):this.lg};function qI(a){a.ff||(a.ff=kH(a).da(),a.ff.stroke(a.ef).zIndex(60),H(a,a.ff));return a.ff}
function rI(a,b){jI(a).Uc()||jI(a).clear().Ua(1,0,0,1,0,0);lI(a).Uc()||lI(a).clear().Ua(1,0,0,1,0,0);nI(a).Uc()||nI(a).clear().Ua(1,0,0,1,0,0);mI(a).Uc()||mI(a).clear().Ua(1,0,0,1,0,0);pI(a).Uc()||pI(a).clear().Ua(1,0,0,1,0,0);oI(a).Uc()||oI(a).clear().Ua(1,0,0,1,0,0);qI(a).Uc()||qI(a).clear();b||(a.Ra().enabled(a.pc),a.pc=void 0)}g.HL=function(a){this.Gh=new sI(jI(this));H(this,this.Gh);this.Gh.ba("start",this.IL,!1,this);this.Gh.ba("drag",this.JL,!1,this);this.Gh.ba("end",this.KL,!1,this);this.Gh.Fe(a.b)};
g.ML=function(a){this.Hh=new tI(lI(this));H(this,this.Hh);this.Hh.ba("start",this.NL,!1,this);this.Hh.ba("drag",this.OL,!1,this);this.Hh.ba("end",this.LL,!1,this);this.Hh.Fe(a.b)};g.FL=function(a){this.Wg=new uI(mI(this),!0);H(this,this.Wg);this.Wg.ba("start",this.GL,!1,this);this.Wg.ba("drag",this.IA,!1,this);this.Wg.ba("end",this.HA,!1,this);this.Wg.Fe(a.b)};
g.PL=function(a){this.gj=new uI(nI(this),!1);H(this,this.gj);this.gj.ba("start",this.QL,!1,this);this.gj.ba("drag",this.IA,!1,this);this.gj.ba("end",this.HA,!1,this);this.gj.Fe(a.b)};g.RL=function(a){this.lj=new vI(0,oI(this),!0);H(this,this.lj);this.lj.ba("start",this.oA,!1,this);this.lj.ba("drag",this.pA,!1,this);this.lj.ba("end",this.nA,!1,this);this.lj.Fe(a.b)};
g.EL=function(a){this.kg=new vI(0,pI(this),!1);H(this,this.kg);this.kg.ba("start",this.oA,!1,this);this.kg.ba("drag",this.pA,!1,this);this.kg.ba("end",this.nA,!1,this);this.kg.Fe(a.b)};g.IL=function(){this.h&&(this.h.Pe=!1);this.pc=this.Ra().enabled();this.Ra().fd();this.Ra().enabled(!1);fH(this.f);lI(this).clear();mI(this).clear();nI(this).clear();oI(this).clear();pI(this).clear();Ff(m.document.body,"cursor","ew-resize")};g.JL=function(){this.j=!0;this.D=!1;this.mr=!0};
g.KL=function(a){if(this.j){this.h&&(this.h.Pe=!0);var b=jI(this).xa();rI(this);var c=a.target.element;a=c.item;var d=this.c.data();T(d);b=HG(this.W,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.Te;e=a.Ed("periods",c,"start");e=a.Ed("periods",c,"end")+(b-e);isNaN(e)||(a.set("periods",c,"start",
b),a.og("periods",c,"start",b),a.set("periods",c,"end",e),a.og("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.O(!0);BH(this);
this.mr=this.j=!1;clearInterval(this.ha);this.ha=null}Ff(m.document.body,"cursor","")};g.NL=function(){this.h&&(this.h.Pe=!1);this.pr=!0;this.pc=this.Ra().enabled();this.Ra().fd();this.Ra().enabled(!1);mI(this).clear();nI(this).clear();oI(this).clear();pI(this).clear();jI(this).clear()};g.OL=function(){this.j=!0;this.D=!1};
g.LL=function(a){if(this.j){this.h&&(this.h.Pe=!0);rI(this);a=a.target;var b=a.element;isNaN(a.Fh)||b.item.set("progressValue",$o(100*a.Fh,2)+"%");this.j=!1;clearInterval(this.ha);this.ha=null;this.pr=!1}};g.QL=function(){this.h&&(this.h.Pe=!1);this.pc=this.Ra().enabled();this.Ra().fd();this.Ra().enabled(!1);lI(this).clear();mI(this).clear();nI(this).clear();oI(this).clear();pI(this).clear();Ff(m.document.body,"cursor","col-resize");this.A.Hb("col-resize")};
g.GL=function(){this.h&&(this.h.Pe=!1);this.pc=this.Ra().enabled();this.Ra().fd();this.Ra().enabled(!1);lI(this).clear();mI(this).clear();nI(this).clear();oI(this).clear();pI(this).clear();Ff(m.document.body,"cursor","col-resize");this.A.Hb("col-resize")};
function wI(a,b,c){if(a.Wb){var d=a.Wb.f?a.S:a.V,e=d.item,f=d.Te,h=d.b;switch(d.type){case 3:d=a.Wb.f?e.G("baselineEnd"):e.G("baselineStart");break;case 5:d=a.Wb.f?e.Ed("periods",f,"end"):e.Ed("periods",f,"start");break;default:d=a.Wb.f?E(e.G("actualEnd"))?e.G("actualEnd"):e.G("autoEnd"):E(e.G("actualStart"))?e.G("actualStart"):e.G("autoStart")}e=cl(a.F().Z()).x;b=c?0>c?a.b.left:a.b.left+a.b.width:b.clientX-e;c=GG(a.W,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 xI(a,b,c,d){if(a.Aa&&a.j){var e=a.Aa.f?a.N:a.M,f=e.index,e=e.Te,h=cl(a.F().Z()),k=h.x,h=h.y;c||d?(c=a.Aa.h-k,b=a.Aa.o-h):(c=b.clientX-k,b=b.clientY-h);e=yI(a,f,e);d=Bq(a.ef)%2&&hl===il?.5:0;f=a.Aa.f?e.left:e.left+e.width;e=e.top+e.height/2+d;qI(a).clear().moveTo(f,e).lineTo(c,b)}}g.IA=function(a){this.j=!0;this.D=!1;this.Wb=a.target;wI(this,a)};
g.HA=function(a){if(this.j){this.h&&(this.h.Pe=!0);var b=this.A.xa();rI(this);a=a.target.element;var c=a.item,d=a.Te,e=this.c.data();T(e);var f=(b.left+b.width-this.b.left)/this.b.width,b=HG(this.W,(b.left-this.b.left)/this.b.width),f=HG(this.W,f);if(!isNaN(b)&&!isNaN(f))switch(a.type){case 5:c.set("periods",d,"start",b);c.og("periods",d,"start",b);c.set("periods",d,"end",f);c.og("periods",d,"end",f);break;case 3:c.set("baselineStart",b);c.G("baselineStart",b);c.set("baselineEnd",f);c.G("baselineEnd",
f);break;default:c.set("actualStart",b),c.G("actualStart",b),c.set("actualEnd",f),c.G("actualEnd",f)}e.O(!0);BH(this);this.Wb=null;this.j=!1;clearInterval(this.ha);this.ha=null}Ff(m.document.body,"cursor","");this.A.Hb("ew-resize")};g.oA=function(a){this.h&&(this.h.Pe=!1);fH(this.f);this.Aa=a.target;rI(this);this.pc=this.Ra().enabled();this.Ra().fd();this.Ra().enabled(!1)};g.pA=function(a){this.Xb=this.j=!0;this.D=!1;this.Aa.h=a.clientX;this.Aa.o=a.clientY};
g.nA=function(){this.j&&(this.h&&(this.h.Pe=!0),this.Ra().enabled(this.pc),this.pc=void 0,qI(this).clear(),this.j=!1,clearInterval(this.ha),this.ha=null)};
function zI(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 AI(a,b){if(b&&b.originalEvent){var c=b.originalEvent,d=c instanceof Xi?c.target:c.domTarget;if(d&&d instanceof CH&&6==d.type){var c=zI(a,c),e;for(e in d.G)c[e]=d.G[e];return c}}return null}
g.Xw=function(a){if(a&&a.originalEvent){var b=a.originalEvent,c=b.domTarget;if(this.Ea)if(c&&c instanceof CH){var d=a.item,e=d.get("id");p(this.Wq)||(this.Wq=e);var f=a.period,h=a.periodIndex;p(h)&&isNaN(this.$q)&&(this.$q=h);this.Wq!=e&&this.$q!=h&&(rI(this,!0),this.Wq=e,p(h)&&(this.$q=h));if(c.j&&!this.j){b=c.j;jI(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;f&&(this.A.La=
f);p(h)&&(this.A.Te=h);if(!d||1!=c.type&&0!=c.type&&2!=c.type)lI(this).clear();else{var e=p(d.get("progressValue"))?parseFloat(d.get("progressValue"))/100:$o(d.G("autoProgress"),2),e=b.left+(e||0)*b.width,k=b.top+b.height;lI(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.pb.b=b;this.pb.item=d}k=b.left+b.width;d&&4!=c.type?(nI(this).clear().moveTo(k+1,b.top).lineTo(k+1-this.lg,b.top).lineTo(k+1-this.lg,b.top+b.height).lineTo(k+1,b.top+b.height).close(),
mI(this).clear().moveTo(b.left-1,b.top).lineTo(b.left-1+this.lg,b.top).lineTo(b.left-1+this.lg,b.top+b.height).lineTo(b.left-1,b.top+b.height).close(),this.V.b=b,this.V.item=d,this.V.type=c.type,this.S.b=b,this.S.item=d,this.S.type=c.type,f&&(this.V.La=f,this.S.La=f),p(h)&&(this.V.Te=h,this.S.Te=h)):(mI(this).clear(),nI(this).clear());if(d&&3!=c.type){var e=b.top+b.height/2,l=this.ur/2;Yq(this.vr).call(null,pI(this),k+l+this.rr,e+this.wr,l);k=this.yr/2;Yq(this.zr).call(null,oI(this),b.left-k+this.xr,
e+this.Ar,k);this.M.item=d;this.M.type=c.type;this.M.index=a.hoveredIndex+this.c.ic();this.N.item=d;this.N.type=c.type;this.N.index=a.hoveredIndex+this.c.ic();f&&(this.N.La=f,this.M.La=f);p(h)&&(this.N.Te=h,this.M.Te=h)}else pI(this).clear(),oI(this).clear()}else this.Xb&&d&&(e=this.Aa.f?this.N:this.M,k=e.item,l=e.index,3!=c.type&&6!=c.type?(f?(b={item:k,period:e.La,index:l,periodIndex:e.Te},d={item:d,period:f,index:a.hoveredIndex+this.c.ic(),periodIndex:h}):(b={item:k,index:l},d={item:d,index:a.hoveredIndex+
this.c.ic()}),f=a.originalEvent.clientX-cl(this.F().Z()).x,h=c.j,f=.5>(f-h.left)/h.width,f=this.Aa.f?f?"startstart":"startfinish":f?"finishstart":"finishfinish",qI(this).clear(),BI(this,b,d,f,void 0,this.ff)):xI(this,b))}else c==jI(this)||c==lI(this)||c==nI(this)||c==mI(this)||c==pI(this)||c==oI(this)||this.j?this.Xb&&xI(this,b):rI(this,!0);if(d=AI(this,a))this.f.dispatchEvent(d),this.jl=c.G;else if(this.jl){if(a&&a.originalEvent){a={type:"connectormouseout",actualTarget:a.originalEvent.target,target:this,
originalEvent:a.originalEvent};for(var n in this.jl)a[n]=this.jl[n];d=a}else d=null;this.f.dispatchEvent(d);this.jl=null}}};g.tv=function(a){this.Ea&&(this.s=a.item)};g.Ww=function(a){a&&(a=AI(this,a))&&this.f.dispatchEvent(a)};
g.Yw=function(a){if(this.Ea&&this.Xb){if(a){var b=a.item,c=a.periodIndex,d=a.originalEvent,e=d.domTarget;if(e instanceof CH&&3!=e.type){var d=d.clientX-cl(this.F().Z()).x,e=e.j,f=this.Aa.f?this.N:this.M,e=.5>(d-e.left)/e.width;d=f.item;e=this.Aa.f?e?"startstart":"startfinish":e?"finishstart":"finishfinish";f=f.Te;e=e||"finishstart";d instanceof dF||d instanceof fF||(d=this.c.data().kn("id",d),d=d.length?d[0]:null);if(d&&(b instanceof dF||b instanceof fF||(b=this.c.data().kn("id",b),b=b.length?b[0]:
null),b)){T(this.c.data());var h,k,l,n;n=!1;if(this.c.h){var q=d.get("periods")[f],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=ec(h),l={},l.connectTo=q.connectTo,l.connectorType=q.connectorType||"finishstart",gc(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:f},this.f.dispatchEvent(c)&&(n&&d.set("periods",f,"connector",[l]),d.set("periods",f,"connector",h,k)))}else h=d.get("connector"),k={},k.connectTo=b.get("id"),k.connectorType=e,h?y(h)?h=h.length:(n=ec(h),l={},l.connectTo=d.get("connectTo"),l.connectorType=d.get("connectorType")||"finishstart",gc(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().O(!0)}}}this.Xb=!1}(a=AI(this,a))&&this.f.dispatchEvent(a);this.Aa=null;this.D=!0};g.bv=function(a){if(this.j&&!this.pr&&(this.ib||this.xb)){var b=0,c=0;this.ib&&(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.tg().add({value:{x:l,y:n}}).size(k/2).H(h)}}}}}
function yI(a,b,c){var d=a.b.top+a.yd()+1,e=a.c.b,f=a.c.ic(),h=a.c.f,k=a.c.Vd(),h=h[b];b=(b?e[b-1]:0)-((f?e[f-1]:0)+k)+d;d=NG(a.c,h);e=E(h.G("actualStart"))?h.G("actualStart"):h.G("autoStart");f=E(h.G("actualEnd"))?h.G("actualEnd"):h.G("autoEnd");e=a.c.h?h.Ed("periods",c,"start"):e;c=a.c.h?h.Ed("periods",c,"end"):f;f=0;if(isNaN(c)||e==c)c=e,f=.7*d/2;if(isNaN(c)||isNaN(e))return null;e=GG(a.W,e)*a.b.width+a.b.left-f;c=GG(a.W,c)*a.b.width+a.b.left+f;a.c.h||(h.get("baselineStart")&&h.get("baselineEnd")?
d=a.Re?2.7*d/2:.65*d:h.Na()&&(d*=1-.7+.4));return new J(e,b,c-e,d)}
function BI(a,b,c,d,e,f){d=d||"finishstart";var h=b.index,k=c.index,l=b.periodIndex,n=c.periodIndex,q=a.c.f,r=q[h],q=q[k],t=yI(a,h,b.periodIndex),u=yI(a,k,c.periodIndex);if(t&&u){c=e&&e.fill?Xd(e.fill):a.Vp;e=e&&e.stroke?fe(e.stroke):a.Xp;b=!!f;var w,x,v,A,C;f=f||null;var D=b?f:null,P,Z,ba=Bq(e)%2&&hl===il?.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?(f=GI(a,w,x,v,A,f),w>v&&(C="right")):(t=Math.max(w+9,v+9),f=GI(a,w,x,t,x,f),f=GI(a,t,x,t,A,f),f=GI(a,t,A,v,A,f));D=HI(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,f=GI(a,w,x,t,x,f),f=GI(a,t,x,t,A,f),f=GI(a,t,A,v,A,f)):(Z=u.top>=t.top,t=w-5,P=v+9,u=Math.round(Z?u.top:u.top+u.height)+ba,f=GI(a,w,x,t,x,f),f=GI(a,t,x,t,u,f),f=GI(a,t,u,P,u,f),f=GI(a,
P,u,P,A,f),f=GI(a,P,A,v,A,f));D=HI(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?(f=GI(a,w,x,v,A,f),w>v&&(C="left")):(t=Math.min(w-4-5,v-4-5),f=GI(a,w,x,t,x,f),f=GI(a,t,x,t,A,f),f=GI(a,t,A,v,A,f));D=HI(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,f=GI(a,w,x,v,x,f),f=GI(a,v,x,v,A,f),D=HI(a,v,A,"bottom",D)):u.topt.top?u.top:u.top+u.height)+ba,t=w+5,P=v-5-4,f=GI(a,w,x,t,x,f),f=GI(a,t,x,t,u,f),f=GI(a,t,u,P,u,f),f=GI(a,P,u,P,A,f),f=GI(a,P,A,v,A,f),D=HI(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.h&&(d.fromPeriodIndex=l,d.toPeriodIndex=n,a.v&&(h&=a.v.fromPeriodIndex==d.fromPeriodIndex&&a.v.toPeriodIndex==d.toPeriodIndex));f&&!b&&(f.stroke(e),f.tag=void 0,f.type=6,f.j=null,f.Hb(a.Ea?"pointer":"default"),d.path=f,f.G=d,f.stroke(h?a.vl:e));D&&!b&&(D.fill(c).stroke(e),D.tag=void 0,D.type=6,D.j=null,D.Hb(a.Ea?"pointer":"default"),
d.arrow=D,D.G=d,D.stroke(h?a.vl:e))}}function GI(a,b,c,d,e,f){if(f)try{f.lineTo(d,e)}catch(n){f.moveTo(b,c).lineTo(d,e)}else{var h=Math.max(b,d),k=Math.min(c,e),l=Math.max(c,e);Math.min(b,d)a.b.left&&ka.b.top&&(f=DI(a),f.zIndex(60).moveTo(b,c).lineTo(d,e))}return f}
function HI(a,b,c,d,e){var f=e||null;if(b>=a.b.left&&b<=a.b.left+a.b.width&&c>=a.b.top&&c<=a.b.top+a.b.height){var h=0,k=0,l=0,n=0;switch(d){case "left":b+=1;h=b+4;k=c-4;l=h;n=c+4;break;case "top":c+=1;h=b-4;k=c+4;l=b+4;n=k;break;case "right":--b;h=b-4;k=c-4;l=h;n=c+4;break;case "bottom":--c,h=b-4,k=c-4,l=b+4,n=k}e||(f=DI(a));f.zIndex(70).moveTo(b,c).lineTo(h,k).lineTo(l,n).lineTo(b,c)}return f}
function BH(a){var b=a.W.Uc(),c=DG(a.W),d=a.c.j,e=a.c.s;T(a.W);var f=a.W,h,k;h=oq(d);k=oq(e);if(f.h!=h||f.g!=k)f.h=h,f.g=k,f.l=NaN,f.o=NaN,f.c=!1,CG(f),f.P(4);a.W.V=d;a.W.S=e;!b||isNaN(d)||isNaN(e)||(d=EG(a.W),JG(a.W,d.min,d.min+Math.round((d.max-d.min)/10)));!b&&(b=c.min,d=c.max-b)&&(c=DG(a.W),b=c.min,JG(a.W,b,b+d));a.W.O(!0)}g.hB=function(){lH(this).zIndex(34);this.tg().F(jH(this));this.labels().F(jH(this));this.nk().F(gH(this));BH(this)};
g.Ss=function(){this.nk().Jb().set(this.b.left,this.b.top,this.b.width,this.yd());this.ql=!0};g.Rs=function(){iI(this).stroke(this.Qe);qI(this).stroke(this.ef);jI(this).fill(this.bq).stroke(this.eq);lI(this).fill(this.iq).stroke(this.mq);mI(this).fill(this.bl).stroke(this.cl);nI(this).fill(this.bl).stroke(this.cl);oI(this).fill(this.$k).stroke(this.al);pI(this).fill(this.$k).stroke(this.al)};
g.Jv=function(){S(this,512)&&(this.ql=this.qc=!0,this.C(512));if(this.ql){this.nk().i(64);this.ca.K();var a,b=[];this.ca.Xm().enabled()?a=this.ca.Xm():this.ca.bn().enabled()?a=this.ca.bn():this.ca.xn().enabled()&&(a=this.ca.xn());a&&(b=a.mk());a=b;if(a.length)for(var b=iI(this).clear(),c=0,d=a.length-1;cD){var Z=this.b.left+this.b.width*D,ba=.7*u;EI(this,new J(Z,t+(u-ba)/2,this.b.left+this.b.width*P-Z,ba),v,5)}}}FI(this,l,f,n);f=q+this.Ma}else for(var ka=this.b.top+this.yd()+1-this.c.Vd(),R=this.c.f,la=this.c.ic();la<=this.c.vd();la++){var Q=R[la];if(!Q)break;var Ja=NG(this.c,Q),mb=ka+Ja,Od=Q.get("baselineStart"),Pd=Q.get("baselineEnd");if(p(Od)&&p(Pd)){var Qa=
Q,de=ka,ee=Ja,Zb=E(Qa.G("actualStart"))?Qa.G("actualStart"):Qa.G("autoStart"),Nb=E(Qa.G("actualEnd"))?Qa.G("actualEnd"):Qa.G("autoEnd"),hj=Qa.G("baselineStart"),Il=Qa.G("baselineEnd"),Eu=GG(this.W,Zb),Rj=GG(this.W,Nb),Ee=GG(this.W,hj),xh=GG(this.W,Il);if(0Eu||0Ee){var Ld=this.b,Zc=Ld.left+Ld.width*Eu,Vq=Ld.left+Ld.width*Rj,Ig=de+ee*(1-.7)/2,Db=.7*ee/2,Jl=Ld.left+Ld.width*Ee,Di=Ld.left+Ld.width*xh,Wz=Ig+Db;if(this.Re)var FP=Ig,Ig=Wz,Wz=FP;var GP=EI(this,new J(Zc,Ig,Vq-Zc,Db),Qa,1,"actual");
EI(this,new J(Jl,Wz,Di-Jl,Db),Qa,3,"baseline");var lJ=1*Db,HP=Ig+(Db-lJ)/2,mJ=p(Qa.get("progressValue"))?parseFloat(Qa.get("progressValue"))/100:$o(Qa.G("autoProgress"),2);mJ&&(EI(this,new J(Zc,HP,mJ*(Vq-Zc),lJ),Qa,2,"progress").j=GP.j)}}else if(Q.Na()){var Jg=Q,IP=ka,nJ=Ja,JP=E(Jg.G("actualStart"))?Jg.G("actualStart"):Jg.G("autoStart"),KP=E(Jg.G("actualEnd"))?Jg.G("actualEnd"):Jg.G("autoEnd"),oJ=GG(this.W,JP),pJ=GG(this.W,KP);if(0oJ){var Fu=this.b.left+this.b.width*oJ,qJ=this.b.left+this.b.width*
pJ,rJ=IP+nJ*(1-.7)/2,Xz=.4*nJ,LP=EI(this,new J(Fu,rJ,qJ-Fu,Xz),Jg,0,"actual"),sJ=1*Xz,MP=rJ+(Xz-sJ)/2,tJ=p(Jg.get("progressValue"))?parseFloat(Jg.get("progressValue"))/100:$o(Jg.G("autoProgress"),2);tJ&&(EI(this,new J(Fu,MP,tJ*(qJ-Fu),sJ),Jg,2,"progress").j=LP.j)}}else if(dH(Q)){var Kl=Q,NP=ka,uJ=Ja,OP=Kl.get("actualStart"),Yz=GG(this.W,OP);if(0<=Yz&&1>=Yz){var Sj=Kl.get("milestone"),Un=Sj&&p(Sj.stroke)?fe(Sj.stroke):this.ol,vJ=(Aq(Un)?0:B(Un)?1:Un.thickness?Un.thickness:1)%2&&hl===il?.5:0,Vn=Math.round(.7*
uJ/2),Gu=Math.round(this.b.left+this.b.width*Yz)+vJ,Hu=Math.round(NP+uJ/2)+vJ,Wn=DI(this);Wn.tag=Kl.get("id");Wn.type=4;var wJ=Gu-Vn,xJ=Hu-Vn,PP=Gu+Vn,QP=Hu+Vn,yJ=Vn+Vn;Wn.zIndex(20).moveTo(wJ,Hu).lineTo(Gu,xJ).lineTo(PP,Hu).lineTo(Gu,QP).close();var Zz=new J(wJ,xJ,yJ,yJ);Wn.j=Zz;T(this.c.data());Kl.G("relBounds",Zz);this.c.data().O(!1);var Tj=Sj?Sj.label:void 0,Iu=void 0;Tj&&p(Tj.value)?Iu=Tj.value+"":Iu=Kl.get("name")||"";if(Iu){var $z=Tj&&Tj.position?Tj.position:this.labels().B("position"),$z=
Dm($z),RP={value:pq(Zz,$z)},SP={value:Iu},zJ=this.labels().add(SP,RP);Tj&&zJ.H(Tj);T(this.c.data());Kl.G("labelBounds",this.labels().measure(zJ));this.c.data().O(!1)}var aA=Kl==this.ka;if(Sj){var bA;aA?(bA=this.de,Un=this.xe):bA=p(Sj.fill)?Xd(Sj.fill):this.ml;Wn.fill(bA).stroke(Un)}else Wn.fill(aA?this.de:this.ml).stroke(aA?this.xe:this.ol)}}else{var Ei=Q,TP=ka,AJ=Ja,UP=E(Ei.G("actualStart"))?Ei.G("actualStart"):Ei.G("autoStart"),VP=E(Ei.G("actualEnd"))?Ei.G("actualEnd"):Ei.G("autoEnd"),BJ=GG(this.W,
UP),CJ=GG(this.W,VP);if(0BJ){var Ju=this.b.left+this.b.width*BJ,DJ=this.b.left+this.b.width*CJ,Ku=.7*AJ,EJ=TP+(AJ-Ku)/2,WP=EI(this,new J(Ju,EJ,DJ-Ju,Ku),Ei,1,"actual"),FJ=1*Ku,XP=EJ+(Ku-FJ)/2,GJ=parseFloat(Ei.get("progressValue"));GJ&&(EI(this,new J(Ju,XP,GJ*(DJ-Ju)/100,FJ),Ei,2,"progress").j=WP.j)}}FI(this,Q,ka,Ja);ka=mb+this.Ma}this.labels().K();this.tg().K();for(var cA=this.c.I,dA=cA.length,Xn,YP=this.c.h?this.c.D:this.c.M;dA--;){Xn=cA[dA];var Yn=Xn.to;z(Yn)||(Yn=YP[Yn]);p(Yn)?(Xn.to=Yn,
BI(this,Xn.from,Yn,Xn.type,Xn.connSettings)):yb(cA,dA,1)}for(var eA=this.km,ZP=this.ym.length;eAc.u||(c.h=Math.min(c.h,a),c.f=a,c.g=Math.max(c.g,b),c.b=b,c.P(4)));else if(this.Xb||this.j&&this.s||!this.j)c=this.W,a&&!c.Uc()&&(b=EG(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),BG(c,c.f+a,c.b+a));Ft(this,this.W,this.c)};g.scale=function(a){return p(a)?(this.W.H(a),this):this.W};
g.w=function(){var a=hI.m.w.call(this);a.scale=this.W.w();a.labels=this.labels().w();a.markers=this.tg().w();a.header=this.nk().w();a.columnStroke=Zn(this.Qe);a.baselineAbove=this.Re;a.baseFill=Zn(this.zp);a.baseStroke=Zn(this.Fp);a.baselineFill=Zn(this.Np);a.baselineStroke=Zn(this.Rp);a.milestoneFill=Zn(this.ml);a.milestoneStroke=Zn(this.ol);a.parentFill=Zn(this.er);a.parentStroke=Zn(this.gr);a.progressFill=Zn(this.ir);a.progressStroke=Zn(this.jr);a.connectorFill=Zn(this.Vp);a.connectorStroke=Zn(this.Xp);
a.selectedElementFill=Zn(this.de);a.selectedElementStroke=Zn(this.xe);a.selectedConnectorStroke=Zn(this.vl);a.connectorPreviewStroke=Zn(this.ef);a.editPreviewFill=Zn(this.bq);a.editPreviewStroke=Zn(this.eq);a.editProgressFill=Zn(this.iq);a.editProgressStroke=Zn(this.mq);a.editIntervalThumbFill=Zn(this.bl);a.editIntervalThumbStroke=Zn(this.cl);a.editConnectorThumbFill=Zn(this.$k);a.editConnectorThumbStroke=Zn(this.al);a.editStartConnectorMarkerType=this.zr;a.editStartConnectorMarkerSize=this.yr;a.editStartConnectorMarkerHorizontalOffset=
this.xr;a.editStartConnectorMarkerVerticalOffset=this.Ar;a.editFinishConnectorMarkerType=this.vr;a.editFinishConnectorMarkerSize=this.ur;a.editFinishConnectorMarkerHorizontalOffset=this.rr;a.editFinishConnectorMarkerVerticalOffset=this.wr;a.editIntervalWidth=this.lg;var b,c=[];for(b=0;bb?"inside"==a.position()?0:c:c:c);return c};
g.cu=function(a,b,c,d,e){c=a.top+a.height+c/2-d;var f=this.scale();if(f instanceof FA)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(f instanceof RA){d=f.Li();for(var f=f.zg(),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.nc()){case "top":f=a.top+k;e=a.left+r;u=c;t=d;break;case "right":f=a.top+r;e=a.left+a.width-c-l;u=d;t=c;break;case "bottom":f=a.top+a.height-c-n;e=a.left+r;u=c;t=d;break;case "left":f=a.top+r,e=a.left+h,u=d,t=c}this.Xg=new J(Math.round(e),Math.round(f),Math.round(t),Math.round(u))}else this.Xg=new J(0,0,0,0);this.C(4)}return this.Xg};
g.ye=function(a){return L(this.lb,a)};
g.pz=function(a,b){var c=this.$(),d=this.ya(),e=this.wh(c),f=this.wh(d),h=LI(this);"outside"==c.position()?"outside"==d.position()?c=Math.max(a+e,b+f):(c="inside"==d.position()?Math.max(a+e,b):Math.max(a+e,b+f),h=Math.max(f,h)):"inside"==c.position()?"outside"==d.position()?(c=Math.max(a,b+f),h=Math.max(e,h)):(c="inside"==d.position()?Math.max(a,b):Math.max(a,b+f),h=Math.max(e,f,h)):"outside"==d.position()?(c=Math.max(a+e,b+f),h=Math.max(e,h)):(c="inside"==d.position()?Math.max(a+e,b):Math.max(a+
e,b+f),h=Math.max(e,f,h));e=this.stroke();return c+h+(Math.round(this.D)+(!e||Aq(e)?0:e.thickness?parseFloat(e.thickness):1))};
function MI(a,b){if(!isNaN(+b)){var c=a.scale(),d=a.A,e=a.b&&a.b.enabled(),d=d&&d.enabled()&&d.uz()==c;if(a.enabled()&&e&&c&&d&&(c=a.$a.xa(),e=pd(a.scale().transform(b,.5),0,1),!isNaN(e))){var f,h,k;switch(a.nc()){case "top":f=c.left+c.width*e;h=c.top+c.height+a.b.size();k=180;break;case "bottom":f=c.left+c.width*e;h=c.top-a.b.size();k=0;break;case "left":f=c.left+c.width+a.b.size();h=c.top+c.height-c.height*e;k=90;break;case "right":f=c.left-a.b.size(),h=c.top+c.height-c.height*e,k=-90}T(a.b).rotation(k).uc({value:{x:f,
y:h}}).O(!1).K();a.b.ee().visible(!0)}}}g.scale=function(a){var b=this.Kf||NI(this);p(a)&&b&&b!=a&&b.ae()!=a.ae()&&(this.$a&&(this.$a.Ce(),this.$a.parent(null),this.$a=null),this.g&&(this.g.length=0));return JI.m.scale.call(this,a)||NI(this)};function NI(a){a.ca||(a.ca=HA(),a.ca.Yj("#fff","#000"));return a.ca}
g.K=function(){if(!this.Ta())return this;S(this,1024)&&(this.b&&(this.b.F(this.F()),this.b.zIndex(this.zIndex()+1),this.b.K(),this.b.ee().visible(!1)),this.C(1024));S(this,2)&&this.b&&this.b.F(this.F());if(S(this,8)&&this.b){var a=this.zIndex();this.b.zIndex(a+1)}return JI.m.K.call(this)};
g.EM=function(a){var b=this.scale(),c=this.A;if(this.enabled()&&b&&c&&c.enabled()&&c.uz()==b){var d=this.$a.xa(),e,f;this.Yd()?(e=a.clientX,f=d.left+cl(this.F().Z()).x,d=(e-f)/d.width):(e=a.clientY,f=d.top+cl(this.F().Z()).y,d=(d.height-(e-f))/d.height);d=b.Dc(d);a.metaKey||a.shiftKey||!c.map||c.map.Uf();if(b instanceof RA)d=b.yh(d),b&&c&&(e=this.N[d.sourceIndex],b=c.kb(),b=b.qk(),"single"==b.Jf()?this.j={na:c,he:e}:this.j=[{na:c,he:e,Su:e[e.length-1],Vg:{index:e[e.length-1],Jg:0}}]);else if(b instanceof
FA){a=yD(c);e=Infinity;for(var h=NaN,k=b.Uo(),l=b.To();a.advance();){f=a.get(c.Xc?c.Xc.Bn:c.zq[1]);f=pd(f,k,l);var n=Math.abs(d-f);e>n&&(e=n,h=f)}e=[];a=yD(c);for(d=h;a.advance();)f=a.get(c.Xc?c.Xc.Bn:c.zq[1]),f=pd(f,k,l),f==d&&e.push(a.Qa());b&&c&&(b=c.kb(),b=b.qk(),"single"==b.Jf()?this.j={na:c,he:e}:this.j=[{na:c,he:e,Su:e[e.length-1],Vg:{index:e[e.length-1],Jg:0}}])}}};
g.ey=function(a){var b=this.scale(),c=this.A;if(this.enabled()&&b&&c&&c.enabled()&&c.uz()==b){var d=this.$a.xa(),e,f;this.Yd()?(e=a.clientX,f=d.left+cl(this.F().Z()).x,d=(e-f)/d.width):(e=a.clientY,f=d.top+cl(this.F().Z()).y,d=(d.height-(e-f))/d.height);var h,d=b.Dc(d);if(b instanceof RA)a=b.yh(d),h=this.N[a.sourceIndex],b=c.kb(),f=b.qk(),"single"==f.Jf()?this.j={na:c,he:h}:this.j=[{na:c,he:h,Su:h[h.length-1],Vg:{index:h[h.length-1],Jg:0}}];else if(b instanceof FA&&c){f=yD(c);h=Infinity;for(var k=
NaN,l=b.Uo(),n=b.To();f.advance();){e=f.get(c.Xc?c.Xc.Bn:c.zq[1]);e=pd(e,l,n);var q=Math.abs(d-e);h>q&&(h=q,k=e)}h=[];f=yD(c);for(d=k;f.advance();)e=f.get(c.Xc?c.Xc.Bn:c.zq[1]),e=pd(e,l,n),e==d&&h.push(f.Qa());b&&c&&(b=c.kb(),f=b.qk(),"single"==f.Jf()?(this.j&&!ob(h,function(a){return sb(this.j.he,a)},this)&&b.dispatchEvent(ly(b,a,[{na:c,he:[],Vg:{index:this.j.he[this.j.he.length-1],Jg:0}}])),this.j={na:c,he:h}):this.j=[{na:c,he:h,Su:h[h.length-1],Vg:{index:h[h.length-1],Jg:0}}])}MI(this,d)}};
g.TI=function(){this.scale()&&this.b&&this.b.ee().visible(!1);var a=this.A;a&&(this.c=a)};g.remove=function(){JI.m.remove.call(this);this.b&&this.b.remove()};g.w=function(){var a=JI.m.w.call(this);a.marker=this.at().w();a.colorLineSize=this.ep();a.length=this.length();a.align=this.so();return a};g.J=function(a,b){JI.m.J.call(this,a,b);this.at(a.marker);this.ep(a.colorLineSize);this.length(a.length);this.so(a.align)};var OI=JI.prototype;OI.marker=OI.at;OI.colorLineSize=OI.ep;OI.length=OI.length;
OI.align=OI.so;function PI(){V.call(this);this.b=sg();Tt(this,this.b);H(this,this.b)}G(PI,V);g=PI.prototype;g.Y=V.prototype.Y;g.aa=V.prototype.aa;g.length=function(a){return p(a)?(a=kq(a)||0,this.lb!=a&&(this.lb=a,this.P(9)),this):this.lb};g.stroke=function(a,b,c,d,e){if(p(a)){var f=fe.apply(null,arguments);this.c!=f&&(this.c=f,this.P(1));return this}return this.c};g.remove=function(){this.b&&this.b.parent(null)};
g.K=function(){this.b.clear();this.b.stroke(this.c);if(!this.Ta())return this;S(this,8)&&(this.b.zIndex(this.zIndex()),this.C(8));S(this,2)&&(this.b.parent(this.F()),this.C(2));return this};g.xm=function(a,b,c,d){this.b.moveTo(a,b);this.b.lineTo(c,d)};g.w=function(){var a=PI.m.w.call(this);a.length=this.length();a.stroke=Zn(this.stroke());return a};g.J=function(a,b){PI.m.J.call(this,a,b);this.length(a.length);this.stroke(a.stroke)};var QI=PI.prototype;QI.length=QI.length;QI.stroke=QI.stroke;function RI(){T(this);V.call(this);this.fo=[];this.ho=[];this.Ye=sg();Tt(this,this.Ye);H(this,this.Ye);this.b=916;this.O(!1)}G(RI,V);g=RI.prototype;g.aa=V.prototype.aa|912;g.Y=V.prototype.Y;g.Ye=null;g.fa=null;g.Wf=null;g.Ca=null;g.ab=null;g.W=null;g.Kl="noOverlap";g.lb=NaN;g.js=!0;g.ks=!0;g.fo=null;g.ho=null;g.labels=function(a){this.fa||(this.fa=new jy,this.fa.Oa(this),O(this.fa,this.CG,this),H(this,this.fa));return p(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.fa.H(a),this):this.fa};
g.CG=function(a){var b=0,c=0;U(a,8)?(b=this.b,c=9):U(a,1)&&(b=128,c=1);SI(this);this.i(b,c)};g.Ja=function(a){this.Wf||(this.Wf=new jy,this.Wf.Oa(this),O(this.Wf,this.DG,this),H(this,this.Wf));return p(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.Wf.H(a),this):this.Wf};g.DG=function(a){var b=0,c=0;U(a,8)?(b=this.b,c=9):U(a,1)&&(b=128,c=1);SI(this);this.i(b,c)};g.$=function(a){this.Ca||(this.Ca=new PI,this.Ca.Oa(this),O(this.Ca,this.FG,this),H(this,this.Ca));return p(a)?(this.Ca.H(a),this):this.Ca};
g.FG=function(a){var b=0,c=0;U(a,8)?(b=this.b,c=9):U(a,1)&&(b=276,c=1);SI(this);this.i(b,c)};g.ya=function(a){this.ab||(this.ab=new PI,this.ab.Oa(this),O(this.ab,this.jN,this),H(this,this.ab));return p(a)?(this.ab.H(a),this):this.ab};g.jN=function(a){var b=0,c=0;U(a,8)?(b=this.b,c=9):U(a,1)&&(b=256,c=1);SI(this);this.i(b,c)};
g.stroke=function(a,b,c,d,e){if(p(a)){a=fe.apply(null,arguments);if(this.g!=a){var f=z(this.g)?this.g.thickness||1:1,h=z(a)?a.thickness||1:1;this.g=a;h==f?this.i(16,1):(SI(this),this.i(this.b,9))}return this}return this.g};g.scale=function(a){return p(a)?(this.W!=a&&(this.W=a,O(this.W,this.EG,this),SI(this),this.i(this.b,9)),this):this.W};g.EG=function(a){U(a,2)&&(SI(this),this.i(this.b,9))};g.Lf=function(){this.i(this.b,9)};
g.Ej=function(a){return p(a)?(a=rd(null===a||isNaN(+a)?0:+a),this.vc!=a&&(this.vc=a,SI(this),this.i(this.b,9)),this):this.vc};g.ls=function(a){return p(a)?(a=kq(a,this.f),this.f!=a&&(this.f=a,this.i(this.b,9)),this):this.f};function SI(a){a.l&&(a.l.length=0);a.fo.length=0;a.ho.length=0;a.v=null}
function TI(a){a:{if(!a.v||S(a,512)){if("allowOverlap"==a.Kl){a=!1;break a}var b=a.scale(),c=[],d=[];if(b){var e,f,h=-1,k=-1,l=-1,n=b.$().get(),q=n.length,r,t,u,w,x,v,A=a.labels().enabled();if(b instanceof Vy){var C=b.ya().get();f=e=0;for(var D=C.length,P,Z=a.Ja().enabled();e=u&&a.Dj()||1<=
u&&a.jh()?k=v:0u&&(k=v)),v++;t<=P&&e=u&&a.Dj()||1<=u&&a.jh()?(l=f,d.push(!0)):0u?(l=f,d.push(!0)):d.push(!1))):d.push(!1),f++)}Z||(d=!1)}else if(b instanceof
fz)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):315v?(v=~v,mb=e,Ja=a.Jl):(mb=d,Ja=a.zj);R=Ja[v];v=mb.Ff(v);q=v.uc();Z=q.value.angle;ka=sd(Z);A=lp(ka,1);ka=mp(ka,1);Nb&&(x=zb(R,0),jp(x,A,ka,a.Fa,a.Ga),x=op(x),b=Zb-(Zb-kp(0,0,x.width,x.height))/2);A*=b;ka*=b;for(x=0;xQa[0]?NaN:0,A=isNaN(Nb)?null:bJ(a,Nb),b=bJ(a,Qa[0]),c=1;cq)mb=e,v=~q,f=dp(ka,b)||dp(ka,bJ(a,Zb[Zb.length-1]));else if(mb=d,v=q,f=!isNaN(Nb)&&(dp(ka,A)||dp(ka,bJ(a,Zb[Nb]))),!f){for(x=Zb.length;x--;)if(h=Zb[x],0>h&&dp(ka,bJ(a,Zb[x])))e.Ff(~h).enabled(!1),Zb.pop();else break;for(x=0;x