Your IP : 18.117.110.119


Current Path : /usr/local/mgr5/skins/orion/
Upload File :
Current File : //usr/local/mgr5/skins/orion/AnyChartHTML5.js

(function(){function d(a){throw a;}var g=void 0,i=!0,l=null,n=!1;function aa(){return function(a){return a}}function o(){return function(){}}function p(a){return function(b){this[a]=b}}function q(a){return function(){return this[a]}}function u(a){return function(){return a}}var Za=window.anychart.scope,x=x||Za.goog,ha=ha||Za.Event,la=la||Za.EventTarget,z=z||Za.EventType,Ca=Ca||Za.XhrIo;function $a(){this.arguments=[]}$a.prototype.arguments=l;$a.prototype.Tq=function(){return this.arguments[0].Qe!=g&&this.arguments[1].Qe!=g};
$a.prototype.execute=function(a){var b=this.arguments[0];b.execute!=g?b=b.execute(a):"%color"==b&&(b=new ab(a.Hi,a.si,a.di,a.Eq,n));var c=this.arguments[1];c.execute!=g?c=c.execute(a):"%color"==c&&(c=new ab(a.Hi,a.si,a.di,a.Eq,n));if(b.Qe==g||c.Qe==g)return a;var a=this.arguments[2],e=1-a;return new ab(Math.floor((b.Hi*a+c.Hi*e)%256),Math.floor((b.si*a+c.si*e)%256),Math.floor((b.di*a+c.di*e)%256))};
$a.prototype.Zq=function(){if(3!=this.arguments.length)return"Blend function expects 3 arguments, "+this.arguments.length+" passed";if(this.arguments[0].execute==g&&this.arguments[0].Qe==g&&"%color"!=this.arguments[0])return"Blend function requires a color, a function returning a color or a %color variable as it's first argument";if(this.arguments[1].execute==g&&this.arguments[1].Qe==g&&"%color"!=this.arguments[1])return"Blend function requires a color, a function returning a color or a %color variable as it's second argument";
if(this.arguments[2].execute!=g||this.arguments[2].Qe!=g||"%color"==this.arguments[2])return"Blend function requires a number as it's third argument";1<this.arguments[2]&&(this.arguments[2]=1);0>this.arguments[2]&&(this.arguments[2]=0);return l};function bb(){this.arguments=[]}bb.prototype.arguments=l;bb.prototype.Tq=function(){return this.arguments[0].Qe!=g};
bb.prototype.execute=function(a){var b=this.arguments[0];b.execute!=g?b=b.execute(a):"%color"==b&&(b=new ab(a.Hi,a.si,a.di));if(b.Qe==g)return a;a=cb(b);b=100*a.Gh;a.Gh-=0.0070*b*b/100;0>a.Gh&&(a.Gh=0);return db(a.aE,a.Gh,a.WF)};
bb.prototype.Zq=function(){return 1!=this.arguments.length?"DarkColor function expects 1 argument, "+this.arguments.length+" passed":this.arguments[0].execute==g&&this.arguments[0].Qe==g&&"%color"!=this.arguments[0]?"DarkColor function requires a color, a function returning a color or a %color variable as it's argument":l};function fb(){this.arguments=[]}fb.prototype.arguments=l;fb.prototype.Tq=u(i);fb.prototype.execute=function(){return gb(this.arguments[0],this.arguments[1],this.arguments[2])};
fb.prototype.Zq=function(){if(3!=this.arguments.length)return"HSB function expects 3 arguments, "+this.arguments.length+" passed";if(this.arguments[0].execute!=g||this.arguments[0].Qe!=g||"%color"==this.arguments[0])return"HSB function requires a number as it's first argument";if(this.arguments[1].execute!=g||this.arguments[1].Qe!=g||"%color"==this.arguments[1])return"HSB function requires a number as it's second argument";if(this.arguments[2].execute!=g||this.arguments[2].Qe!=g||"%color"==this.arguments[2])return"HSB function requires a number as it's third argument";
this.arguments[0]=Math.round(this.arguments[0]);360<this.arguments[0]?this.arguments[0]=360:0>this.arguments[0]&&(this.arguments[0]=0);for(var a=1;3>a;a++)this.arguments[a]=Math.round(this.arguments[a]),100<this.arguments[a]?this.arguments[a]=100:0>this.arguments[a]&&(this.arguments[a]=0);return l};function hb(){this.arguments=[]}hb.prototype.arguments=l;hb.prototype.Tq=function(){return this.arguments[0].Qe!=g};
hb.prototype.execute=function(a){var b=this.arguments[0];b.execute!=g?b=b.execute(a):"%color"==b&&(b=new ab(a.Hi,a.si,a.di));if(b.Qe==g)return a;a=cb(b);b=100*a.Gh-100;a.Gh+=0.0070*b*b/100;1<a.Gh&&(a.Gh=1);return db(a.aE,a.Gh,a.WF)};
hb.prototype.Zq=function(){return 1!=this.arguments.length?"LightColor function expects 1 argument, "+this.arguments.length+" passed":this.arguments[0].execute==g&&this.arguments[0].Qe==g&&"%color"!=this.arguments[0]?"LightColor function requires a color, a function returning a color or a %color variable as it's argument":l};function ib(){this.arguments=[]}ib.prototype.arguments=l;ib.prototype.Tq=u(i);ib.prototype.execute=function(){return new ab(this.arguments[0],this.arguments[1],this.arguments[2])};
ib.prototype.Zq=function(){if(3!=this.arguments.length)return"RGB function expects 3 arguments, "+this.arguments.length+" passed";if(this.arguments[0].execute!=g||this.arguments[0].Qe!=g||"%color"==this.arguments[0])return"RGB function requires a number as it's first argument";if(this.arguments[1].execute!=g||this.arguments[1].Qe!=g||"%color"==this.arguments[1])return"RGB function requires a number as it's second argument";if(this.arguments[2].execute!=g||this.arguments[2].Qe!=g||"%color"==this.arguments[2])return"RGB function requires a number as it's third argument";
for(var a=0;3>a;a++)this.arguments[a]=Math.round(this.arguments[a]),255<this.arguments[a]?this.arguments[a]=255:0>this.arguments[a]&&(this.arguments[a]=0);return l};function jb(a){switch(a){case kb.blend:return new $a;case kb.lightcolor:return new hb;case kb.darkcolor:return new bb;case kb.rgb:return new ib;case kb.hsb:return new fb;default:d(Error("Unknown color operation identifier passed"))}};function ab(a,b,c,e,f){a!=g&&(this.Hi=a);b!=g&&(this.si=b);c!=g&&(this.di=c);e!=g&&(this.Eq=e);if(e!=g&&(f==g||f))this.Eq/=255}
function gb(a,b,c){b=Number(b/100);c=Number(c/100);if(0==b)return new ab(Math.floor(255*c),Math.floor(255*c),Math.floor(255*c));var e=6*Number(a/360),a=Math.floor(e),f=e-a,e=c*(1-b),b=a&1?c*(1-b*f):c*(1-b*(1-f));switch(a){case 0:return new ab(Math.floor(255*c),Math.floor(255*b),Math.floor(255*e));case 1:return new ab(Math.floor(255*b),Math.floor(255*c),Math.floor(255*e));case 2:return new ab(Math.floor(255*e),Math.floor(255*c),Math.floor(255*b));case 3:return new ab(Math.floor(255*e),Math.floor(255*
b),Math.floor(255*c));case 4:return new ab(Math.floor(255*b),Math.floor(255*e),Math.floor(255*c));default:return new ab(Math.floor(255*c),Math.floor(255*e),Math.floor(255*b))}}
function db(a,b,c){var e=0,f=0,h=0;if(0==b)e=f=h=0;else if(0==c)e=f=h=b;else{e=0.5>=b?b*(1+c):b+c-b*c;b=2*b-e;f=[a+0.3333333333333333,a,a-0.3333333333333333];a=[];for(c=0;3>c;c++)0>f[c]?f[c]+=1:1<f[c]&&(f[c]-=1),a[c]=1>6*f[c]?b+6*(e-b)*f[c]:1>2*f[c]?e:2>3*f[c]?b+6*(e-b)*(0.6666666666666666-f[c]):b;e=Math.max(0,Math.min(1,a[0]));f=Math.max(0,Math.min(1,a[1]));h=Math.max(0,Math.min(1,a[2]))}return new ab(Math.floor(255*e),Math.floor(255*f),Math.floor(255*h))}w=ab.prototype;w.Hi=0;w.si=0;w.di=0;
w.Eq=1;w.Qe=function(){return"rgba("+this.Hi.toString()+", "+this.si.toString()+", "+this.di.toString()+", "+Math.round(255*this.alpha).toString()+")"};function lb(a){return"rgb("+a.Hi.toString()+", "+a.si.toString()+", "+a.di.toString()+")"}function mb(a){return"0x"+(a.Hi<<24|a.si<<16|a.di<<8|a.Eq).toString(16)}w.toString=function(){return"rgb("+this.Hi.toString()+","+this.si.toString()+","+this.di.toString()+")"};
function cb(a){var b=a.Hi/255,c=a.si/255,a=a.di/255,e=Math.min(b,Math.min(c,a)),f=Math.max(b,Math.max(c,a));if(e==f)return new nb(0,(f+e)/2,0);var h=f-e,e=f+e,j=0,j=0.1666*(b==f?6+(c-a)/h:c==f?2+(a-b)/h:4+(b-c)/h);1<=j&&(j-=1);return new nb(j,e/2,1>=e?h/e:h/(2-e))}function nb(a,b,c){this.aE=a;this.Gh=b;this.WF=c}nb.prototype.aE=0;nb.prototype.Gh=0;nb.prototype.WF=0;function ob(a,b){this.La=a;a.execute!=g?(this.Oc=b,this.Zy=i):"%color"==a?this.Zy=i:(this.La.alpha=b,this.Zy=n)}ob.prototype.La=l;
ob.prototype.Oc=1;ob.prototype.Zy=n;ob.prototype.oa=function(a){return this.Zy?(a||(a=new ab),this.La.execute!=g&&(a=this.La.execute(a),a.alpha=this.Oc),a):this.La};function pb(a,b){if(!a)return new ob(new ab(0,0,0),1);var c=new qb(a);try{return new ob(c.parse(),b==g?1:b)}catch(e){return new ob(new ab(0,0,0),1)}}function rb(a){this.input=sb(a);this.yE=a.length}rb.prototype.input="";rb.prototype.yE=0;rb.prototype.rk=0;
var tb={steelblue:4620980,royalblue:267920,cornflowerblue:6591981,lightsteelblue:11584734,mediumslateblue:8087790,slateblue:6970061,darkslateblue:4734347,midnightblue:1644912,navy:128,darkblue:139,mediumblue:205,blue:255,dodgerblue:2003199,deepskyblue:49151,lightskyblue:8900346,skyblue:8900331,lightblue:11393254,powderblue:11591910,azure:15794175,lightcyan:14745599,paleturquoise:11529966,mediumturquoise:4772300,lightseagreen:2142890,darkcyan:35723,teal:32896,cadetblue:6266528,darkturquoise:52945,
aqua:65535,cyan:65535,turquoise:4251856,aquamarine:8388564,mediumaquamarine:6737322,darkseagreen:9419919,mediumseagreen:3978097,seagreen:3050327,darkgreen:25600,green:32768,forestgreen:2263842,limegreen:3329330,lime:65280,chartreuse:8388352,lawngreen:8190976,greenyellow:11403055,yellowgreen:10145074,palegreen:10025880,lightgreen:9498256,springgreen:65407,mediumspringgreen:64154,darkolivegreen:5597999,olivedrab:7048739,olive:8421376,darkkhaki:12433259,darkgoldenrod:12092939,goldenrod:14329120,gold:16766720,
yellow:16776960,khaki:15787660,palegoldenrod:15657130,blanchedalmond:16772045,moccasin:16770229,wheat:16113331,navajowhite:16768685,burlywood:14596231,tan:13808780,rosybrown:12357519,sienna:10506797,saddlebrown:9127187,chocolate:13789470,peru:13468991,sandybrown:16032864,darkred:9109504,maroon:8388608,brown:10824234,firebrick:11674146,indianred:13458524,lightcoral:15761536,salmon:16416882,darksalmon:15308410,lightsalmon:16752762,coral:16744272,tomato:16737095,darkorange:16747520,orange:16753920,orangered:16729344,
crimson:14423100,red:16711680,deeppink:16716947,fuchsia:16711935,magenta:16711935,hotpink:16738740,lightpink:16758465,pink:16761035,palevioletred:14381203,mediumvioletred:13047173,purple:8388736,darkmagenta:9109643,mediumpurple:9662683,blueviolet:9055202,indigo:4915330,darkviolet:9699539,darkorchid:10040012,mediumorchid:12211667,orchid:14315734,violet:15631086,plum:14524637,thistle:14204888,lavender:15132410,ghostwhite:16316671,aliceblue:15792383,mintcream:16121850,honeydew:15794160,lightgoldenrodyellow:16448210,
lemonchiffon:16775885,ornsilk:16775388,lightyellow:16777184,ivory:16777200,floralwhite:16775920,linen:16445670,oldlace:16643558,antiquewhite:16444375,bisque:16770244,peachpuff:16767673,papayawhip:16773077,beige:16119260,seashell:16774638,lavenderblush:16773365,istyrose:16770273,snow:16775930,white:16777215,whitesmoke:16119285,gainsboro:14474460,lightgrey:13882323,silver:12632256,darkgray:11119017,gray:8421504,lightslategray:7833753,slategray:7372944,imgray:6908265,darkslategray:3100495,black:0},kb=
{blend:1,lightcolor:2,darkcolor:3,rgb:4,hsb:5};rb.prototype.df=0;rb.prototype.Ud=l;rb.prototype.Ln=0;
function ub(a){var b=n,c=0,e="",f=n;a.df=0;for(a.Ln=a.rk;!b&&a.rk<a.yE;){var h=a.input.charAt(a.rk),j="a"<=h&&"z">=h,k="0"<=h&&"9">=h,m=k||"a"<=h&&"f">=h,s=" "==h||"\t"==h;switch(c){case 0:s?a.Ln=a.rk+1:(e=h,j||"%"==h?c=1:"0"==h?c=4:k?c=2:"#"==h?(e="0x",c=3):"."==h?(f=i,c=2):"("==h?(a.df=6,a.Ud=h,a.rk++,b=i):")"==h?(a.df=7,a.Ud=h,a.rk++,b=i):","==h?(a.df=5,a.Ud=h,a.rk++,b=i):a.Ln=a.rk+1);break;case 1:j?e+=h:(vb(a,e),b=i);break;case 2:k?e+=h:"."==h?f?(a.df=4,a.Ud=Number(e),isNaN(a.Ud)&&(a.Ud=0),b=
i):(e+=h,f=i):(a.df=4,a.Ud=Number(e),isNaN(a.Ud)&&(a.Ud=0),b=i);break;case 3:m?e+=h:(a.df=3,a.Ud=xb(Number(e)),b=i);break;case 4:"x"==h?(e+=h,c=3):k?(e+=h,c=2):"."==h?(e+=h,f=i,c=2):(a.df=4,a.Ud=0,b=i)}b||a.rk++}if(a.rk<a.yE)return b;switch(c){case 0:return 0!=a.df;case 1:return vb(a,e),i;case 2:return a.df=4,a.Ud=Number(e),isNaN(a.Ud)&&(a.Ud=0),i;case 3:return a.df=3,a.Ud=xb(Number(e)),i;case 4:return a.df=4,a.Ud=0,i}return n}
function vb(a,b){"%color"==b?(a.df=2,a.Ud=b):kb[b]!=g?(a.df=1,a.Ud=kb[b]):(a.df=3,a.Ud=xb(tb[b]!=g?tb[b]:13421772))}function xb(a){var b=a>>8;return new ab((b>>8)%256,b%256,a%256)}function qb(a){this.se=new rb(a)}qb.prototype.se=l;
qb.prototype.parse=function(){for(var a=0,b=[],c;ub(this.se);)switch(a){case 0:switch(this.se.df){case 1:a=1;b.push(jb(this.se.Ud));break;case 3:case 2:a=4;b.push(this.se.Ud);break;default:d(Error("Color parser error: unexpected lexem at "+this.se.Ln+' in "'+this.se.input+'". Function name, color or %Color expected.'))}break;case 1:6!=this.se.df&&d(Error("Color parser error: unexpected left parenthesis at "+this.se.Ln+' in "'+this.se.input+'". Left paren expected.'));a=2;break;case 2:switch(this.se.df){case 1:a=
1;b.push(jb(this.se.Ud));break;case 3:case 2:case 4:a=3;b[b.length-1].arguments.push(this.se.Ud);break;case 7:c=b.pop();a=c.Zq();a!=l&&d(Error(a));c.Tq()&&(c=c.execute());0==b.length?(a=4,b.push(c)):(a=3,b[b.length-1].arguments.push(c));break;default:d(Error("Color parser error: unexpected lexem at "+this.se.Ln+' in "'+this.se.input+'". Function name, color, %Color, number or right paren expected.'))}break;case 3:switch(this.se.df){case 7:c=b.pop();a=c.Zq();a!=l&&d(Error(a));c.Tq()&&(c=c.execute());
0==b.length?(a=4,b.push(c)):(a=3,b[b.length-1].arguments.push(c));break;case 5:a=2;break;default:d(Error("Color parser error: unexpected lexem at "+this.se.Ln+' in "'+this.se.input+'". Expected comma or right paren.'))}break;case 4:d(Error("Color parser error: unexpected lexem at "+this.se.Ln+' in "'+this.se.input+'". End of string expected.'))}4!=a&&d(Error('Color parser error: unexpected end of string in "'+this.se.input+'"'));return b.pop()};function yb(a){for(var a=a.replace(/^\s*/,""),b=/\s/,c=a.length;b.test(a.charAt(--c)););return a.slice(0,c+1)}var zb={};function Ab(a){return Bb((new DOMParser).parseFromString(a,"text/xml"))}
function Bb(a){if(!a)return l;switch(a.nodeType){case 1:var b={},c,e=a.childNodes.length;for(c=0;c<e;c++){var f=Bb(a.childNodes[c]);if(f!=l){var h=a.childNodes[c].nodeName;if("#"==h.charAt(0))b.value=b.value==g||"string"!=typeof b.value?f.value:b.value+f.value;else if(b[h]==g)b[h]=f;else if(b[h]instanceof Array)b[h].push(f);else if("value"!=h||"string"!=typeof b.value)b[h]=[b[h],f]}}e=a.attributes==l?0:a.attributes.length;for(c=0;c<e;c++)f=a.attributes[c],b[f.nodeName]==g&&(b[f.nodeName]=f.nodeValue);
return b;case 3:return a=yb(a.nodeValue),""==a?l:{value:a};case 4:return{value:a.nodeValue};case 9:return Bb(a.documentElement);default:return l}}function B(a,b){return a&&a[b]!=g}function D(a,b){if(!a)return l;var c=a[b];return c==l||c==g?l:c instanceof Array?c[0]:c}function E(a,b,c){a&&(a[b]=c)}function Cb(a,b){a&&a[b]&&delete a[b]}function F(a,b){if(!a||!b)return[];x.qp(a[b])?a[b]instanceof Array||(a[b]=[a[b]]):a[b]=[];return a[b]}
function G(a,b){if(!a)return l;var c=a[b];if(!c)return l;c=c instanceof Array?c[0]:c;return"string"==typeof c?c:c.value==g?l:c.value}function Db(a){if(!a)return NaN;a=yb(a.toString());return"%"==a.charAt(a.length-1)}function Eb(a){return Db(a)?(a=yb(a.toString()),a=a.substr(0,a.length-1),H(a)/100):NaN}function Fb(a){return H(a)/100}function Gb(a,b){return Fb(D(a,b))}function Hb(a){return a==g?n:"1"==a||"true"==a.toString().toLowerCase()}function I(a,b){return Hb(D(a,b))}
function H(a){if(x.Rc(a)){if(!yb(a))return NaN}else{if(x.FJ(a))return a;if(a==l)return NaN}return Number(a)}function J(a,b){return H(D(a,b))}function Ib(a){a=Number(a);1<a?a=1:0>a&&(a=0);return a}function K(a,b){if(!a)return n;var c=D(a,"enabled");return c==l||c==g?b==g||b==l?i:b:Hb(c)}function L(a,b){return K(D(a,b))}function sb(a){return a?a.toString().toLowerCase():""}function N(a,b){return sb(D(a,b))}function Jb(a){return a?a.toString().toLowerCase():""}function O(a,b){return Jb(D(a,b))}
function Kb(a){return a!=g&&"auto"==sb(a)}function Lb(a){return pb(D(a,"color"),g)}function Mb(a){var b;if(a instanceof Function)b=a;else if(a instanceof Array){b=[];for(var c=0,e=a.length;c<e;c++)b[c]=Mb(a[c])}else if(a instanceof Object)for(c in b={},a)b[c]=Mb(a[c]);else b=a;return b}
function Nb(a,b,c,e){if(a==l&&b==l)return l;if(a==l)return b;if(b==l)return a instanceof Array?a[a.length-1]:a;var a=Mb(a),b=Mb(b),f={},f=Ob(a,b);if(c)if("gradient"==c)f.key=0!=F(b,"key").length?b.key:F(a,"key");else{if("format"==c||"text"==c||"save_as_image_item_text"==c||"save_as_pdf_item_text"==c||"print_chart_item_text"==c)return b;if("action"==c)return 0==F(b,"arg").length?Ob(a,b,f):f=Pb(a,b,e),f;f=Pb(a,b,e)}else f=Pb(a,b,e);return f}
function Qb(a,b){if(a==l&&b==l)return l;if(a==l)return b;if(b==l)return a;if(!Rb(a)){var c=Mb(a),e;for(e in b)if(0==F(c,e).length)c[e]=b[e];else if(x.isArray(b[e]))for(var f=0;f<b[e].length;f++)Sb(c[e],b[e][f]);else Sb(c[e],b[e])}return c}function Sb(a,b){var c=D(b,"name");if(Tb(a,c)){var e;a:{c=sb(c);if(!Rb(a))for(e in a)if(B(a[e],"name")&&N(a[e],"name")==c)break a;e=l}a[e]=b}else a.push(b)}
function Ub(a,b,c){if(a==l&&b==l)return l;if(a==l)return b;if(b==l)return a;var a=Mb(a),e;for(e in b)a[e]?e==c?(B(a[e],"name")&&B(b[e],"name")&&Tb(a[e],D(a[e],"name"))==D(b[e],"name")&&delete a[e],a[e]=b[e]):a[e]=Nb(b[e],a[e],e,g):a[e]=b[e];return a}
function Pb(a,b,c){if(b instanceof Function)return b;if(a instanceof Array&&b instanceof Object&&!(b instanceof Array))return Nb(a[a.length-1],b);if(a instanceof Object&&b instanceof Object){var e,f;f={};b instanceof Array&&a instanceof Array&&(f=[]);for(e in a)e!=c?(f[e]=Nb(a[e],b[e],e),delete b[e]):f[e]=b[e];for(e in b)f[e]=b[e]}else f=b;return f}function Ob(a,b,c){c||(c={});for(var e in a)Rb(a[e])&&(c[e]=a[e]);for(e in b)Rb(b[e])&&(c[e]=b[e]);return c}
function Rb(a){return Boolean(a instanceof Function||!(a instanceof Array||a instanceof Object))}function Tb(a,b){return Vb(a,"name",b)}function Vb(a,b,c){c=sb(c);if(!Rb(a))for(var e in a){if(x.isArray(a[e])){var f=Tb(a[e],c);if(f)return f}if(B(a[e],b)&&N(a[e],b)==c)return a[e]}return l}function Wb(a,b,c){var e=a.length;if(b>e)return a.push(c),a;var f=[],h;for(h=0;h<b;h++)f[h]=a[h];f[b]=c;for(h=b+1;h<=e;h++)f[h]=a[h-1];return f}
function Xb(a,b){var c=a.length,e=[],f=[],h;for(h=0;h<c;h++)if(B(a[h],"id")){var j=D(a[h],"id");j==b&&(e.push(h),f.push(j))}c=e.length;for(h=0;h<c;h++)a.splice(e[h],1);return f}function Yb(a,b){Cb(b,"id");Ob(a,b,a);for(var c in b)c==l||c==g||(a[c]="actions"==c||"extra_labels"==c||"extra_markers"==c||"extra_tooltips"==c?b[c]:Nb(a[c],b[c],c))}function Zb(a,b){if(!a)return l;var c=b.length;return!b||0==c?a:$b(a,b,c)}
function $b(a,b,c){var e;if(a instanceof Function)e=a;else if(a instanceof Array){e=[];for(var f=0,h=a.length;f<h;f++)e[f]=$b(a[f],b,c)}else if(a instanceof Object)for(f in e={},a)e[f]=$b(a[f],b,c);else{e=a;for(f=0;f<c;f++)-1!=a.indexOf(b[f][0].toString())&&(e=a.split(b[f][0]).join(b[f][1]))}return e}function ac(){}var bc=l;
function cc(a,b){var c=dc(a,b),e,f,h;if(0==c.length%2){if(f=c[Math.floor(c.length/2)-1],h=c[Math.floor(c.length/2)],f==l||h==l)return NaN}else if(e=c[Math.ceil(c.length/2)-1],e==l)return NaN;return e?e.Ba(bc):(f.Ba(bc)+h.Ba(bc))/2}ac.prototype.qj=function(a,b){var c={},e,f=0,h=0;for(e=0;e<a.length;e++){var j=Number(a[e].Ba(b));j&&(c[j]!=l?c[j]++:c[j]=1,c[j]>h&&(h=c[j],f=j))}return f};
function dc(a,b){bc=b;for(var c=[],e=0,e=0;e<a.length;e++)c.push(a[e]);return c.sort(function(a,b){return Number(a.Ba(bc))-Number(b.Ba(bc))})}function ec(a,b){var c=Math.floor(b);a.setUTCMonth(a.getUTCMonth()+c);b!=c&&fc(a,30*(b-c))}function fc(a,b){var c=Math.floor(b);a.setUTCDate(a.getUTCDate()+c);b!=c&&gc(a,24*(b-c))}function gc(a,b){var c=Math.floor(b);a.setUTCHours(a.getUTCHours()+c);b!=c&&hc(a,60*(b-c))}
function hc(a,b){var c=Math.floor(b);a.setUTCMinutes(a.getUTCMinutes()+c);b!=c&&a.setUTCSeconds(a.getUTCSeconds()+60*(b-c))}function ic(){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function jc(a,b,c){isNaN(a)||(this.Oc=a);b&&(this.La=b);c&&(this.xa=c)}w=jc.prototype;w.xa=NaN;w.qb=q("xa");w.eb=p("xa");w.La=pb(l,1);w.oa=q("La");w.Oc=1;w.f=function(a){B(a,"position")&&(this.xa=Ib(D(a,"position")));B(a,"opacity")&&(this.Oc*=Ib(D(a,"opacity")));B(a,"color")&&(this.La=pb(D(a,"color"),this.Oc))};w.cC=0;w.Yz=function(a){this.cC=lb(this.La.oa(a))};w.toString=function(){return"{ position: "+this.xa+", opacity: "+this.Oc+", calculatedColor: "+this.cC+"}"};
function kc(a){this.Oc=a;this.Ta=[]}w=kc.prototype;w.Oc=1;w.Ta=l;w.cc=0;w.Sc=p("cc");w.vu=0;w.Na=0;w.ub=q("Na");w.ag=p("Na");w.j=l;w.k=q("j");
w.f=function(a){B(a,"type")&&(this.Na="radial"==Jb(D(a,"type"))?1:0);B(a,"angle")&&(this.cc=H(D(a,"angle")));if(B(a,"focal_point")){var b=Number(D(a,"focal_point"));1<b?b=1:-1>b&&(b=-1);this.vu=b}for(var a=F(a,"key"),b=a.length,c=0;c<b;c++){var e=new jc(this.Oc);e.f(a[c]);this.Ta[c]=e}a=this.Ta.length;isNaN(this.Ta[0].qb())&&this.Ta[0].eb(0);isNaN(this.Ta[a-1].qb())&&this.Ta[a-1].eb(1);for(b=1;;){for(;b<a&&!isNaN(this.Ta[b].qb());)b++;if(b==a)break;for(var c=b-1,f=a-1;b<a&&isNaN(this.Ta[b].qb());)b++;
for(var e=this.Ta[c].qb(),f=this.Ta[f].qb(),h=1;h<b-c;h++)this.Ta[h].eb(e+h*(f-e)/(b-c))}};w.toString=function(){for(var a="{ type: "+this.Na+", angle: "+this.cc+", focal_point: "+this.vu+", keys: [",b=[],c=0;c<this.Ta.length;c++)b.push(this.Ta[c].toString());a+=b.join(", ");a=a+"],"+this.j.toString();return a+"}"};w.Yz=function(a,b){this.j=a;for(var c=this.Ta.length,e=0;e<c;e++)this.Ta[e].Yz(b)};function lc(a){this.A=a;this.wn={}}var mc=0;lc.prototype.A=l;lc.prototype.wn=l;
function nc(a,b,c){c||(c=n);var e=b.toString();if(a.wn[e])return a.wn[e];if(0==b.ub()){var f=c,c=oc(a.A,"linearGradient");if(f){var f=b.cc,h=b.k(),j=h.y+h.height/2,k=h.x+h.width,m=h.y+h.height/2,f="rotate("+f+")";c.setAttribute("x1",h.x);c.setAttribute("y1",j);c.setAttribute("x2",k);c.setAttribute("y2",m);c.setAttribute("gradientTransform",f);c.setAttribute("spreadMethod","pad");c.setAttribute("gradientUnits","userSpaceOnUse")}else f=b.cc*Math.PI/180,f-=Math.PI/2,k=Math.tan(f),j=h=0,Math.abs(k)!=
Number.POSITIVE_INFINITY&&(h=k/2,j=1/(2*k)),k=n,0.5>=Math.abs(h)?(j=-0.5,k=0>Math.cos(f)):(h=-0.5,k=0<Math.sin(f)),f={x:0.5+h,y:0.5+j},h={x:0.5-h,y:0.5-j},f=k?{start:h,end:f}:{start:f,end:h},c.setAttribute("x1",f.start.x),c.setAttribute("y1",f.start.y),c.setAttribute("x2",f.end.x),c.setAttribute("y2",f.end.y),c.setAttribute("gradientUnits","objectBoundingBox");pc(a,c,b);b=c}else c||(c=n),c?(c=oc(a.A,"radialGradient"),f=b.cc*Math.PI/180,j=Math.cos(f),k=Math.sin(f),m=b.k(),f=m.x+m.width/2,h=m.y+m.height/
2,r=Math.min(m.width,m.height)/2,m=b.vu,j=f+m*r*j,k=h+m*r*k,c.setAttribute("cx",f),c.setAttribute("cy",h),c.setAttribute("r",r),c.setAttribute("fx",j),c.setAttribute("fy",k),c.setAttribute("gradientUnits","userSpaceOnUse")):(c=oc(a.A,"radialGradient"),f=b.cc*Math.PI/180,j=Math.cos(f),k=Math.sin(f),f=new P(0.5,0.5),h=new P(b.vu*j,b.vu*k),c.setAttribute("cx",f.x),c.setAttribute("cy",f.y),c.setAttribute("fx",(h.x+1)/2),c.setAttribute("fy",(h.y+1)/2),c.setAttribute("gradientUnits","objectBoundingBox")),
c.setAttribute("spreadMethod","pad"),pc(a,c,b),b=c;c="gradient_"+(mc++).toString();b.setAttribute("id",c);c="url(#"+c+")";a.A.$m.appendChild(b);return a.wn[e]=c}function qc(a,b){var c=b.substr(b.indexOf("fill:url(#")+10,b.length-10-2),e="url(#"+c+")",f;for(f in a.wn)if(a.wn[f]==e){delete a.wn[f];var h=c,j=a.A.$m,k=j.childNodes,m=g;for(m in k)k[m]!=g&&k[m].id==h&&j.removeChild(k[m])}}
function pc(a,b,c){for(var e=c.Ta.length,f=0;f<e;f++){var h=c.Ta[f],j=oc(a.A,"stop");j.setAttribute("offset",""+100*h.xa+"%");j.setAttribute("style","stop-color:"+h.cC+";stop-opacity:"+h.Oc);b.appendChild(j)}}lc.prototype.clear=function(){mc=0;this.wn={}};function rc(){}
function sc(a){switch(a){case "backwarddiagonal":return 0;case "forwarddiagonal":return 1;case "horizontal":return 2;case "vertical":return 3;case "dashedbackwarddiagonal":return 4;case "dashedforwarddiagonal":return 6;case "dashedhorizontal":return 7;case "dashedvertical":return 8;case "diagonalcross":return 9;case "diagonalbrick":return 10;case "divot":return 11;case "horizontalbrick":return 12;case "verticalbrick":return 13;case "checkerboard":return 14;case "confetti":return 15;case "plaid":return 16;
case "soliddiamond":return 17;case "zigzag":return 18;case "weave":return 19;case "percent05":return 20;case "percent10":return 21;case "percent20":return 22;case "percent25":return 23;case "percent30":return 24;case "percent40":return 25;case "percent50":return 26;case "percent60":return 27;case "percent70":return 28;case "percent75":return 29;case "percent80":return 30;case "percent90":return 31;case "grid":return 5;default:return 0}}w=rc.prototype;w.na=i;w.isEnabled=q("na");w.Na=0;w.GE=n;
w.ub=q("Na");w.La=pb(l,0.5);w.oa=q("La");w.Oc=0.5;w.Uh=1;w.za=q("Uh");w.Tz=10;w.f=function(a){if(this.na=K(a)){if(B(a,"type")){var b=N(a,"type");this.GE="%hatchtype"==b;this.GE||(this.Na=sc(Jb(b)))}B(a,"opacity")&&(this.Oc=Ib(D(a,"opacity")));B(a,"color")&&(this.La=pb(N(a,"color"),this.Oc));B(a,"thickness")&&(this.Uh=H(D(a,"thickness")));B(a,"pattern_size")&&(this.Tz=Math.floor(Number(D(a,"pattern_size"))))}};w.toString=function(){return"T"+this.Na+"C"+mb(this.La.oa())+"TH"+this.Uh+"PS"+this.Tz};
function tc(a,b,c,e){if(!a.na)return"";a.Na=a.GE?c:a.Na;b=b.kE;c=a.toString();if(b.Ev[c])a=b.Ev[c];else{var f="hatchfill_"+uc++,h=""+a.Tz,j=oc(b.A,"pattern");j.setAttribute("id",f);j.setAttribute("x",0);j.setAttribute("y",0);j.setAttribute("width",h);j.setAttribute("height",h);j.setAttribute("patternUnits","userSpaceOnUse");var h=a.Tz,k,m,s;switch(a.ub()){case 0:k=b.A.ba();s=Q(-1,0,h+1,0,a.za());k.setAttribute("d",s);j.setAttribute("patternTransform","rotate(-45)");j.appendChild(k);vc(a,k,e);break;
case 1:k=b.A.ba();s=Q(-1,0,h+1,0,a.za());k.setAttribute("d",s);j.setAttribute("patternTransform","rotate(45)");j.appendChild(k);vc(a,k,e);break;case 2:k=b.A.ba();s=Q(-1,h/2,h+1,h/2,a.za());k.setAttribute("d",s);j.appendChild(k);vc(a,k,e);break;case 3:k=b.A.ba();s=Q(h/2,-1,h/2,h+1,a.za());k.setAttribute("d",s);j.appendChild(k);vc(a,k,e);break;case 9:k=b.A.ba();s=Q(0,h/2,h,h/2,a.za());s+=Q(h/2,0,h/2,h,a.za());k.setAttribute("d",s);j.setAttribute("patternTransform","rotate(45)");j.appendChild(k);vc(a,
k,e);break;case 5:k=b.A.ba();s=Q(-1,h/2,h+1,h/2,a.za());s+=Q(h/2,-1,h/2,h+1,a.za());k.setAttribute("d",s);j.appendChild(k);vc(a,k,e);break;case 12:wc(b,j,a,h,e);break;case 13:wc(b,j,a,h,e);j.setAttribute("patternTransform","rotate(90)");break;case 10:b.A.ba();wc(b,j,a,h,e);j.setAttribute("patternTransform","rotate(45)");break;case 14:k=xc(b.A,0,0,h/2,h/2);h=xc(b.A,h/2,h/2,h,h);j.appendChild(k);j.appendChild(h);yc(a,k,e);yc(a,h,e);break;case 15:k=h/8;h=new R(0,0,h/4,h/4);S(b.A,0,2*k,h.width,h.height,
a,j,e);S(b.A,k,5*k,h.width,h.height,a,j,e);S(b.A,2*k,0,h.width,h.height,a,j,e);S(b.A,4*k,4*k,h.width,h.height,a,j,e);S(b.A,5*k,k,h.width,h.height,a,j,e);S(b.A,6*k,6*k,h.width,h.height,a,j,e);break;case 16:S(b.A,0,0,h/2,h/2,a,j,e);k=h/8;m=n;for(s=0;2>s;s++){m=n;for(var t=0;4>t;t++){m=!m;for(var v=0;4>v;v++)m&&S(b.A,t*k+s*h/2,v*k+h/2,k,k,a,j,e),m=!m}}break;case 17:k=b.A.ba();s=T(h/2,0);s+=V(0,h/2);s+=V(h/2,h);s+=V(h,h/2);s+=V(h/2,0);k.setAttribute("d",s+" Z");j.appendChild(k);yc(a,k,e);break;case 6:k=
b.A.ba();s=Q(0,0,h/2,h/2,a.za());k.setAttribute("d",s);j.appendChild(k);vc(a,k,e);break;case 4:k=b.A.ba();s=Q(h/2,0,0,h/2,a.za());k.setAttribute("d",s);j.appendChild(k);vc(a,k,e);break;case 7:k=b.A.ba();s=Q(0,0,h/2,0,a.za());s+=Q(h/2,h/2,h,h/2,a.za());k.setAttribute("d",s);j.appendChild(k);vc(a,k,e);break;case 8:k=b.A.ba();s=Q(0,0,0,h/2,a.za());s+=Q(h/2,h/2,h/2,h,a.za());k.setAttribute("d",s);j.appendChild(k);vc(a,k,e);break;case 11:t=0.1*h;m=h*(0.8-0.2)/2;k=b.A.ba();s=T(t+m,t);s+=V(t,t+m/2);s+=V(t+
m,t+m);s+=T(h-t-m,h-t-m);s+=V(h-t,h-t-m/2);s+=V(h-t-m,h-t);k.setAttribute("d",s);j.appendChild(k);vc(a,k,e);break;case 18:k=b.A.ba();s=T(0,0);s+=V(h/2,h/2);s+=V(h,0);s+=T(0,h/2);s+=V(h/2,h);s+=V(h,h/2);k.setAttribute("d",s);j.appendChild(k);vc(a,k,e);break;case 19:k=b.A.ba();s=T(0,0);s+=V(h/2,h/2);s+=V(h,0);s+=T(0,h/2);s+=V(h/2,h);s+=V(h,h/2);s+=T(h/2,h/2);s+=V(3*h/4,3*h/4);s+=T(h,h/2);s+=V(3*h/4,h/4);k.setAttribute("d",s);j.appendChild(k);vc(a,k,e);break;case 20:j.setAttribute("width",8);j.setAttribute("height",
8);S(b.A,0,0,1,1,a,j,e);S(b.A,4,4,1,1,a,j,e);break;case 21:j.setAttribute("width",8);j.setAttribute("height",4);S(b.A,0,0,1,1,a,j,e);S(b.A,4,2,1,1,a,j,e);break;case 22:j.setAttribute("width",4);j.setAttribute("height",4);S(b.A,0,0,1,1,a,j,e);S(b.A,2,2,1,1,a,j,e);break;case 23:j.setAttribute("width",4);j.setAttribute("height",2);S(b.A,0,0,1,1,a,j,e);S(b.A,2,1,1,1,a,j,e);break;case 24:j.setAttribute("width",4);j.setAttribute("height",4);S(b.A,0,0,1,1,a,j,e);S(b.A,2,0,1,1,a,j,e);S(b.A,3,1,1,1,a,j,e);
S(b.A,0,2,1,1,a,j,e);S(b.A,2,2,1,1,a,j,e);S(b.A,1,3,1,1,a,j,e);break;case 25:j.setAttribute("width",4);j.setAttribute("height",8);S(b.A,0,0,1,1,a,j,e);S(b.A,2,0,1,1,a,j,e);S(b.A,3,1,1,1,a,j,e);S(b.A,0,2,1,1,a,j,e);S(b.A,2,2,1,1,a,j,e);S(b.A,1,3,1,1,a,j,e);S(b.A,3,3,1,1,a,j,e);S(b.A,0,4,1,1,a,j,e);S(b.A,2,4,1,1,a,j,e);S(b.A,1,5,1,1,a,j,e);S(b.A,3,5,1,1,a,j,e);S(b.A,0,6,1,1,a,j,e);S(b.A,2,6,1,1,a,j,e);S(b.A,1,7,1,1,a,j,e);S(b.A,3,7,1,1,a,j,e);break;case 26:j.setAttribute("width",2);j.setAttribute("height",
2);S(b.A,0,0,1,1,a,j,e);S(b.A,1,1,1,1,a,j,e);break;case 27:j.setAttribute("width",4);j.setAttribute("height",4);S(b.A,0,0,1,1,a,j,e);S(b.A,2,0,1,1,a,j,e);S(b.A,0,1,1,1,a,j,e);S(b.A,1,1,1,1,a,j,e);S(b.A,3,1,1,1,a,j,e);S(b.A,0,2,1,1,a,j,e);S(b.A,2,2,1,1,a,j,e);S(b.A,1,3,1,1,a,j,e);S(b.A,2,3,1,1,a,j,e);S(b.A,3,3,1,1,a,j,e);break;case 28:j.setAttribute("width",4);j.setAttribute("height",4);S(b.A,0,0,1,1,a,j,e);S(b.A,2,0,1,1,a,j,e);S(b.A,3,0,1,1,a,j,e);S(b.A,0,1,1,1,a,j,e);S(b.A,1,1,1,1,a,j,e);S(b.A,2,
1,1,1,a,j,e);S(b.A,0,2,1,1,a,j,e);S(b.A,2,2,1,1,a,j,e);S(b.A,3,2,1,1,a,j,e);S(b.A,0,3,1,1,a,j,e);S(b.A,1,3,1,1,a,j,e);S(b.A,2,3,1,1,a,j,e);break;case 29:j.setAttribute("width",4);j.setAttribute("height",4);S(b.A,0,0,4,4,a,j,e);zc(b.A,0,0,j);zc(b.A,2,2,j);break;case 30:j.setAttribute("width",8);j.setAttribute("height",4);for(h=0;8>h;h++)for(k=0;4>k;k++)S(b.A,h,k,1,1,a,j,e);zc(b.A,0,0,j);zc(b.A,4,2,j);break;case 31:j.setAttribute("width",8);j.setAttribute("height",8);for(h=0;8>h;h++)for(k=0;8>k;k++)S(b.A,
h,k,1,1,a,j,e);zc(b.A,7,7,j);zc(b.A,4,3,j)}b.A.$m.appendChild(j);f="url(#"+f+")";a=b.Ev[c]=f}return"fill:"+a+";"}function Ac(a){this.A=a;this.Ev={}}var uc=0;Ac.prototype.A=l;Ac.prototype.Ev=l;function wc(a,b,c,e,f){var a=a.A.ba(),h=Q(0,0,0,e/2-1,c.za()),h=h+Q(0,e/2-1,e,e/2-1,c.za()),h=h+Q(e/2,e/2-1,e/2,e-1,c.za()),h=h+Q(0,e-1,e,e-1,c.za());a.setAttribute("d",h);b.appendChild(a);vc(c,a,f)}function S(a,b,c,e,f,h,j,k){a=xc(a,b,c,e,f);yc(h,a,k);j.appendChild(a)}
function zc(a,b,c,e){a=xc(a,b,c,1,1);a.setAttribute("fill","white");a.setAttribute("stroke","none");e.appendChild(a)}function vc(a,b,c){b.setAttribute("fill","none");b.setAttribute("stroke-width",a.za());b.setAttribute("stroke-opacity",a.Oc);b.setAttribute("stroke",lb(a.oa().oa(c)))}function yc(a,b,c){b.setAttribute("fill",lb(a.oa().oa(c)));b.setAttribute("fill-opacity",a.Oc);b.setAttribute("stroke","none")}Ac.prototype.clear=function(){this.ZE=0;this.Ev={}};function Bc(){this.na=i}w=Bc.prototype;w.na=l;w.isEnabled=function(){return Boolean(this.na&&this.jr&&0<this.jr.length)};w.jr=l;w.f=o();w.toString=function(){for(var a=this.jr.length,b="",c=0;c<a;c++){var e=this.jr[c];e&&e.isEnabled()&&(b+=e.toString())}return b};function Cc(a){this.A=a;this.clear()}Cc.prototype.ZE=l;Cc.prototype.cy=l;
function Dc(a,b){var c=b.toString();if(a.cy[c])return a.cy[c];var e;e=a.A;if(b.na){var f=oc(e,"filter"),h=b.jr.length;if(0==h)e=l;else{for(var j=0;j<h;j++){var k=b.jr[j];k&&k.isEnabled()&&k.ZP(f,e)}e=f}}else e=l;if(!e)return"filter:none";f="effect_"+a.ZE++;e.setAttribute("id",f);e.setAttribute("filterUnits","userSpaceOnUse");a.A.$m.appendChild(e);f="url(#"+f+")";return a.cy[c]=f}Cc.prototype.clear=function(){this.ZE=0;this.cy={}};function Ec(a,b){return 0>=a?0:a*Math.round(1E15*Math.cos(b*Math.PI/180))/1E15}function W(a,b){return 0>=a?0:a*Math.round(1E15*Math.sin(b*Math.PI/180))/1E15}function P(a,b){a!=g&&(this.x=Number(a));b!=g&&(this.y=Number(b))}P.prototype.x=0;P.prototype.y=0;P.prototype.la=function(){return new P(this.x,this.y)};function R(a,b,c,e){a!=g&&(this.x=Number(a));b!=g&&(this.y=Number(b));c!=g&&(this.width=Number(c));e!=g&&(this.height=Number(e))}w=R.prototype;w.x=0;w.y=0;w.width=0;w.height=0;w.pb=q("x");
w.lb=q("y");w.Ja=function(){return this.x+this.width};w.ja=function(){return this.y+this.height};w.kh=function(a){a-=this.pb();this.x+=a;this.width-=a};w.lh=function(a){this.width-=this.Ja()-a};w.mh=function(a){a-=this.lb();this.y+=a;this.height-=a};w.jh=function(a){this.height-=this.ja()-a};w.oe=function(){return new P(this.x+this.width/2,this.y+this.height/2)};w.xi=function(a){return!(this.Ja()<a.pb()||this.ja()<a.lb()||this.pb()>a.Ja()||this.lb()>a.ja())};
function Fc(a,b,c){a.x-=b;a.width+=2*b;a.y-=c;a.height+=2*c}w.la=function(){return new R(this.x,this.y,this.width,this.height)};w.toString=function(){return this.x.toFixed(1)+" "+this.y.toFixed(1)+" "+this.width.toFixed(1)+" "+this.height.toFixed(1)};function Gc(){}w=Gc.prototype;w.Qb=0;w.rm=0;w.sin=0;w.cos=1;w.qf=0;w.Se=1;
w.Pc=function(){360<=Math.abs(this.Qb)&&(this.Qb%=360);0>this.Qb&&(this.Qb+=360);this.rm=this.Qb*Math.PI/180;this.sin=Math.sin(this.rm);this.cos=Math.cos(this.rm);this.qf=0>this.sin?-this.sin:this.sin;this.Se=0>this.cos?-this.cos:this.cos};w.OD=function(a){a=a.la();if(!isNaN(this.Qb)&&0!=this.Qb){var b=a.width,c=a.height;a.width=b*this.Se+c*this.qf;a.height=b*this.qf+c*this.Se}return a};function Hc(a,b,c){this.Ap=a==g||a==l?0:a;this.Zi=b==g||b==l?0:b;this.av=c==g||c==l?n:c}w=Hc.prototype;w.Ap=l;
w.Zi=l;w.av=l;function Ic(a,b,c){return a.av?!(a.Zi<b):0==a.Ap?a.Zi<c:a.Ap*b+a.Zi<c}w.y=function(a){return!this.av?this.Ap*a+this.Zi:0};w.x=function(a){return!this.av?0!=this.Ap?(a-this.Zi)/this.Ap:this.Zi:this.Zi};function Jc(a,b){return a.x==b.x?new Hc(0,a.x,i):new Hc((a.y-b.y)/(a.x-b.x),a.y-(a.y-b.y)/(a.x-b.x)*a.x,n)};function Kc(){this.gl=document.createElementNS(this.KG,"svg");this.gl.setAttribute("xmlns",this.KG);this.gl.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink");this.Ps=new R;Lc(this);this.ps=this.la(this.gl);this.ps.setAttribute("id","AnyChart SVG element for text measure");this.ps.setAttribute("width","0");this.ps.setAttribute("height","0");this.$m=oc(this,"defs");this.gl.appendChild(this.$m);this.Hr=new lc(this);this.zw=new Mc(this);this.kE=new Ac(this);this.xk=new Cc(this)}w=Kc.prototype;
w.KG="http://www.w3.org/2000/svg";w.gl=l;w.Uc=q("gl");w.Ps=l;w.PD=function(){Lc(this);return this.Ps};function Lc(a){try{var b=a.gl.getBBox();a.Ps.x=b.x;a.Ps.y=b.y;a.Ps.width=b.width;a.Ps.height=b.height}catch(c){}}w.$m=l;w.ps=l;w.xk=l;w.Hr=l;w.zw=l;w.kE=l;w.ba=function(a){var b=oc(this,"path");a&&b.setAttribute("shape-rendering","crispEdges");return b};function T(a,b){return"M"+a.toString()+","+b.toString()}function V(a,b){return" L"+a.toString()+","+b.toString()}
function Q(a,b,c,e,f){a===c&&(a=c=Math.round(a)+f%2/2);b===e&&(b=e=Math.round(b)+f%2/2);return"M"+a.toString()+","+b.toString()+" L"+c.toString()+","+e.toString()}w.nb=function(a,b,c,e,f,h){5==arguments.length&&(h=a);return 0==a||0==h?"":" A"+a.toString()+","+h.toString()+" 0 "+(b?"1":"0")+" "+(c?"1":"0")+" "+e.toString()+","+f.toString()};function Nc(a,b,c,e){var f=b+e,b=b+e*Math.cos(359.999*Math.PI/180),h=c+e*Math.sin(359.999*Math.PI/180),c=""+T(f,c);return c+=a.nb(e,1,1,b,h,e)}
w.AF=function(a,b,c,e,f,h,j){return f&&7==arguments.length?" Q"+a.toString()+","+b.toString()+" "+c.toString()+","+e.toString()+" T"+h.toString()+","+j.toString():" Q"+a.toString()+","+b.toString()+" "+c.toString()+","+e.toString()};function Oc(a,b,c,e){var c=a+c,e=b+e,f=T(a,b),f=f+V(c,b),f=f+V(c,e),f=f+V(a,e);return f+=V(a,b)}function Pc(a){return Oc(a.x,a.y,a.width,a.height)}function Qc(a){return oc(a,"polyline")}
function Rc(a,b,c){c&&(a=Math.round(10*a)/10,b=Math.round(10*b)/10);return a.toString()+","+b.toString()+" "}var Sc=0;function oc(a,b){return a.gl.ownerDocument.createElementNS(a.KG,b)}function Tc(a){for(;0<a.childNodes.length;)a.removeChild(a.childNodes[0])}function xc(a,b,c,e,f){0>e&&(e=Math.abs(e),b-=e);0>f&&(f=Math.abs(f),c-=f);a=oc(a,"rect");a.setAttribute("x",b);a.setAttribute("y",c);a.setAttribute("width",e);a.setAttribute("height",f);return a}
function Uc(a){a.setAttribute("cursor","pointer")}function Vc(){return"fill:none;"}function Wc(){return"stroke:none;"}function Xc(){return Vc()+Wc()}Kc.prototype.la=function(a){return a.cloneNode(n)};function X(a){la.call(this);this.q=oc(a,"g");this.A=a;this.Jo=[]}x.e(X,la);w=X.prototype;w.Eu=function(){return this.q.getAttribute("id")};w.A=l;w.o=q("A");w.q=l;w.Qa=0;w.ca=0;w.ob=0;w.MK=0;w.NK=0;w.Jo=l;w.Xb=l;w.getParent=q("Xb");w.Im=l;w.appendChild=function(a){a&&this.q.appendChild(a)};
w.removeChild=function(a){if(a&&a.q){var b;b=this.Jo.length;for(var c=0;c<b;c++)this.Jo[c]==a&&this.Jo.splice(c,1);b=this.sF();for(c=0;c<b;c++)this.q.childNodes[c]==a.q&&this.q.removeChild(this.q.childNodes[c])}};w.sF=function(){return this.q.childElementCount};w.Pd=function(a){this.Qa=a;Yc(this)};w.hb=q("Qa");function Zc(a,b){a.Qa+=b;Yc(a)}w.jd=function(a){this.ca=a;Yc(this)};w.$a=q("ca");w.bl=function(a,b,c){this.ob=a;b!=g&&(this.MK=b);c!=g&&(this.NK=c);Yc(this)};w.rj=q("ob");
w.eb=function(a,b){this.Qa=a;this.ca=b;Yc(this)};function Yc(a){a.q.setAttribute("transform","translate("+Number(a.Qa).toString()+","+Number(a.ca).toString()+") rotate("+Number(a.ob)+" "+Number(a.MK).toString()+" "+Number(a.NK).toString()+")")}w.Ni=function(a){this.Im=a;a===i?this.q.setAttribute("visibility","visible"):this.q.setAttribute("visibility","hidden")};w.clear=function(){Tc(this.q)};w.Z=function(a){this.Jo.push(a);this.q.appendChild(a.q);a.Xb=this};
function $c(a){if(a.Xb){var b=$c(a.Xb);return new P(a.Xb.hb()+b.x,a.Xb.$a()+b.y)}return new P(0,0)}w.zx=l;function ad(a,b){if(b){var c=oc(a.A,"clipPath");c.setAttribute("id","anychart_clippath_"+(Sc++).toString());c.setAttribute("clip-rule","nonzero");a.zx=a.A.ba();c.appendChild(a.zx);a.appendChild(c);a.q.setAttribute("clip-path","url(#"+c.getAttribute("id")+")");a.q.setAttribute("clipPathUnits","userSpaceOnUse")}}function bd(a,b){b&&(a.zx||ad(a,b),a.zx.setAttribute("d",Pc(b)))}
function cd(a){X.call(this,a);this.hq=new X(a);this.Jo.push(this.hq);this.q.appendChild(this.hq.q);this.hq.Xb=this}x.e(cd,X);cd.prototype.hq=l;cd.prototype.appendChild=function(a){a&&this.hq.appendChild(a)};cd.prototype.Z=function(a){a&&a.q&&this.hq.Z(a)};cd.prototype.scrollTo=function(a,b){a&&!isNaN(a)&&b&&!isNaN(b)&&this.hq.eb(a,b)};function dd(a,b,c,e){switch(b){case 0:a.x-=c.width+e;break;case 1:a.x+=e;break;case 2:a.x-=c.width/2}}function ed(a){a=sb(a);switch(a){case "left":return 0;case "right":return 1;case "center":return 2;default:return 2}}var fd={};function gd(a,b,c,e){switch(b){case 0:a.y-=c.height+e;break;case 2:a.y+=e;break;case 1:a.y-=c.height/2}}function hd(a){a=sb(a);switch(a){case "top":return 0;default:case "center":return 1;case "bottom":return 2}}
function id(a){a=sb(a);switch(a){default:case "center":return 0;case "centerleft":case "leftcenter":case "left":return 1;case "lefttop":case "topleft":return 2;case "centertop":case "topcenter":case "top":return 3;case "righttop":case "topright":return 4;case "centerright":case "rightcenter":case "right":return 5;case "rightbottom":case "bottomright":return 6;case "centerbottom":case "bottomcenter":case "bottom":return 7;case "leftbottom":case "bottomleft":return 8;case "float":return 9;case "xaxis":return 10}}
function jd(a){a==l||a==g?this.vm(10):this.vm(a)}w=jd.prototype;w.yc=0;w.pb=q("yc");w.kh=p("yc");w.gA=0;w.Ja=q("gA");w.lh=p("gA");w.he=0;w.lb=q("he");w.mh=p("he");w.jx=0;w.ja=q("jx");w.jh=p("jx");w.vm=function(a){this.yc=this.gA=this.he=this.jx=a};
w.f=function(a){B(a,"all")&&this.vm(isNaN(J(a,"all"))?10:J(a,"all"));B(a,"left")&&this.kh(isNaN(J(a,"left"))?10:J(a,"left"));B(a,"right")&&this.lh(isNaN(J(a,"right"))?10:J(a,"right"));B(a,"top")&&this.mh(isNaN(J(a,"top"))?10:J(a,"top"));B(a,"bottom")&&this.jh(isNaN(J(a,"bottom"))?10:J(a,"bottom"))};function kd(a,b){b.x+=a.yc;b.y+=a.he;b.width-=a.yc+a.gA;b.height-=a.he+a.jx};function ld(){}w=ld.prototype;w.Na=0;w.ub=q("Na");w.ag=p("Na");w.I=0;w.fa=0;w.ND=q("fa");w.ka=0;w.S=0;
w.f=function(a){if(B(a,"type"))switch(sb(D(a,"type"))){case "square":this.Na=0;break;case "rounded":this.Na=1;break;case "roundedinner":this.Na=2;break;case "cut":this.Na=3}if(0!=this.Na&&(B(a,"all")&&this.vm(H(D(a,"all"))),B(a,"left_top")&&(this.I=H(D(a,"left_top"))),B(a,"right_top")&&(this.fa=H(D(a,"right_top"))),B(a,"right_bottom")&&(this.S=H(D(a,"right_bottom"))),B(a,"left_bottom")))this.ka=H(D(a,"left_bottom"))};
function md(a,b,c){var e;switch(a.Na){default:case 0:e=T(c.x,c.y);e+=V(c.x+c.width,c.y);e+=V(c.x+c.width,c.y+c.height);e+=V(c.x,c.y+c.height);e+=V(c.x,c.y);e+=" Z";break;case 1:e=T(c.x+a.I,c.y);e+=V(c.x+c.width-a.fa,c.y);e+=b.nb(a.fa,n,i,c.x+c.width,c.y+a.fa);e+=V(c.x+c.width,c.y+c.height-a.S);e+=b.nb(a.S,n,i,c.x+c.width-a.S,c.y+c.height);e+=V(c.x+a.ka,c.y+c.height);e+=b.nb(a.ka,n,i,c.x,c.y+c.height-a.ka);0!=a.I&&(e+=V(c.x,c.y+a.I),e+=b.nb(a.I,n,i,c.x+a.I,c.y));e+=" Z";break;case 2:e=T(c.x+a.I,c.y);
e+=V(c.x+c.width-a.fa,c.y);e+=b.nb(a.fa,n,n,c.x+c.width,c.y+a.fa);e+=V(c.x+c.width,c.y+c.height-a.S);e+=b.nb(a.S,n,n,c.x+c.width-a.S,c.y+c.height);e+=V(c.x+a.ka,c.y+c.height);e+=b.nb(a.ka,n,n,c.x,c.y+c.height-a.ka);0!=a.I&&(e+=V(c.x,c.y+a.I),e+=b.nb(a.I,n,n,c.x+a.I,c.y));e+=" Z";break;case 3:e=T(c.x+a.I,c.y),e+=V(c.x+c.width-a.fa,c.y),e+=V(c.x+c.width,c.y+a.fa),e+=V(c.x+c.width,c.y+c.height-a.S),e+=V(c.x+c.width-a.S,c.y+c.height),e+=V(c.x+a.ka,c.y+c.height),e+=V(c.x,c.y+c.height-a.ka),e+=V(c.x,c.y+
a.I),e+=" Z"}return e}w.vm=function(a){this.I=this.fa=this.S=this.ka=a};w.la=function(a){a||(a=new ld);a.ag(this.Na);a.ka=this.ka;a.S=this.S;a.I=this.I;a.fa=this.fa;return a};function nd(){}w=nd.prototype;w.na=i;w.isEnabled=q("na");w.xf=p("na");w.Na=0;w.be=function(){return 1==this.Na};w.La=pb("#EEEEEE",1);w.oa=q("La");w.Oc=1;w.ib=l;
w.f=function(a){if(this.na=K(a)){if(B(a,"type"))switch(Jb(D(a,"type"))){case "solid":this.Na=0;break;case "gradient":this.Na=1}B(a,"opacity")&&(this.Oc=Ib(D(a,"opacity")));B(a,"color")&&(this.La=pb(D(a,"color"),this.Oc));1==this.Na&&B(a,"gradient")&&(this.ib=new kc(this.Oc),this.ib.f(D(a,"gradient")));if(1==this.Na&&(this.ib==l||this.ib.Ta==l))this.Na=0}};
function od(a,b,c,e,f){if(!a.na)return"";switch(a.Na){case 0:return"fill:"+lb(a.La.oa(e))+";fill-opacity:"+a.Oc+";";case 1:return a.ib.Yz(c,e),"fill:"+nc(b.Hr,a.ib,f)+";"}};function qd(){}w=qd.prototype;w.na=i;w.isEnabled=q("na");w.Na=0;w.be=function(){return 1==this.Na};w.ub=q("Na");w.La=pb(l,1);w.Oc=1;w.Uh=1;w.za=q("Uh");w.Uq=1;w.bv=1;w.ib=l;w.bI=n;w.aI=2;w.$K=2;
w.f=function(a){if(this.na=K(a)){if(B(a,"type"))switch(Jb(D(a,"type"))){case "solid":this.Na=0;break;case "gradient":this.Na=1}B(a,"opacity")&&(this.Oc=Ib(D(a,"opacity")));B(a,"color")&&(this.La=pb(D(a,"color"),this.Oc));1==this.Na&&B(a,"gradient")&&(this.ib=new kc(this.Oc),this.ib.f(D(a,"gradient")));if(1==this.Na&&(this.ib==l||this.ib.Ta==l))this.Na=0;B(a,"thickness")&&(this.Uh=H(D(a,"thickness")));if(B(a,"caps"))switch(Jb(D(a,"caps"))){case "none":this.Uq=0;break;case "square":this.Uq=2;break;
default:this.Uq=1}if(B(a,"joints"))switch(Jb(D(a,"joints"))){default:case "round":this.bv=1;break;case "miter":this.bv=0;break;case "bevel":this.bv=2}B(a,"dashed")&&(this.bI=Hb(D(a,"dashed")));B(a,"dash_length")&&(this.aI=H(D(a,"dash_length")));B(a,"space_length")&&(this.$K=H(D(a,"space_length")))}};
function Y(a,b,c,e,f){if(!a.na)return"";var h="stroke-width:"+a.Uh+";",j;a:switch(a.Uq){case 0:j="butt";break a;case 1:j="round";break a;case 2:j="square"}var k;a:switch(a.bv){case 0:k="miter";break a;case 1:k="round";break a;case 2:k="bevel"}h=h+("stroke-linecap:"+j+";")+("stroke-linejoin:"+k+";")+("stroke-opacity:"+a.Oc+";");switch(a.Na){case 0:h+="stroke:"+lb(a.La.oa(e))+";";break;case 1:a.ib.Yz(c,e),h+="stroke:"+nc(b.Hr,a.ib,f)+";"}a.bI&&(h+="stroke-dasharray: "+a.aI+", "+a.$K+";");return h};function rd(a,b,c){X.call(this,a);this.Sg=b;this.Wg=c;this.appendChild(b);this.appendChild(c)}x.e(rd,X);rd.prototype.Sg=l;rd.prototype.Wg=l;function sd(){}w=sd.prototype;w.hc=l;w.xc=q("hc");function td(a){return a.hc&&a.hc.isEnabled()}w.Bb=l;w.Cb=q("Bb");function ud(a){return a.Bb&&a.Bb.isEnabled()}w.Qc=l;w.Fe=q("Qc");w.na=i;w.isEnabled=q("na");w.xf=p("na");w.We=l;w.Kl=q("We");
w.f=function(a){if(this.na=K(a))if(L(a,"fill")&&(this.Bb=new nd,this.Bb.f(D(a,"fill")),this.Bb.isEnabled()||(this.Bb=n)),L(a,"border")&&(this.hc=new qd,this.hc.f(D(a,"border")),this.hc.isEnabled()||(this.hc=n)),L(a,"hatch_fill")&&(this.Qc=new rc,this.Qc.f(D(a,"hatch_fill")),this.Qc.isEnabled()||(this.Qc=n)),L(a,"effects"))this.We=new Bc,this.We.f(D(a,"effects")),this.We.isEnabled()||(this.We=n)};function vd(){}x.e(vd,sd);w=vd.prototype;w.v=l;w.Ra=q("v");
w.p=function(a){if(!this.na)return l;var b=this.createElement(a),c=this.createElement(a);return this.v=new rd(a,b,c)};w.ga=function(a,b,c){var e=a.o(),f;this.We&&this.We.isEnabled()&&(f=Dc(e.xk,this.We));e=this.Tg(e,b);this.QC(a.Sg,e,a,b,c,f);wd(this,a.Wg,e,a,f)};w.QC=function(a,b,c,e,f,h){var c=c.o(),j="",j=this.Bb&&this.Bb.isEnabled()?j+od(this.Bb,c,e,f):j+Vc(),j=this.hc&&this.hc.isEnabled()?j+Y(this.hc,c,e,f):j+Wc();xd(a,b,j,h)};
function wd(a,b,c,e,f){var h="",h=a.Qc&&a.Qc.isEnabled()?tc(a.Qc,e.o()):Xc();xd(b,c,h,f)}function xd(a,b,c,e){e?a.setAttribute("filter",e):a.removeAttribute("filter");a.setAttribute("d",b);a.setAttribute("style",c)}w.ya=function(a,b){var c=this.Tg(a.o(),b);a.Sg.setAttribute("d",c);a.Wg.setAttribute("d",c)};function yd(){}x.e(yd,vd);w=yd.prototype;w.Mo=l;w.Fa=l;function zd(a,b){a.Fa&&kd(a.Fa,b)}
w.f=function(a){yd.b.f.call(this,a);if(this.isEnabled()&&(B(a,"corners")&&(this.Mo=new ld,this.Mo.f(D(a,"corners"))),B(a,"inside_margin")))this.Fa=new jd,this.Fa.f(D(a,"inside_margin"))};w.createElement=function(a){return a.ba()};w.Tg=function(a,b){if(this.Mo)return md(this.Mo,a,b);var c=T(b.x,b.y),c=c+V(b.x+b.width,b.y),c=c+V(b.x+b.width,b.y+b.height),c=c+V(b.x,b.y+b.height),c=c+V(b.x,b.y);return c+" Z"};var Ad={u:function(a){return a.getTime().toString()},d:function(a){return a.getUTCDate().toString()},dd:function(a){a=a.getUTCDate().toString();return 1==a.length?"0"+a:a},ddd:function(a,b){return b.HA[a.getUTCDay()]},dddd:function(a,b){return b.qB[a.getUTCDay()]},M:function(a){return(a.getUTCMonth()+1).toString()},MM:function(a){a=(a.getUTCMonth()+1).toString();return 1==a.length?"0"+a:a},MMM:function(a,b){return b.TD(a.getUTCMonth())},MMMM:function(a,b){return b.GD(a.getUTCMonth())},y:function(a){return a.getUTCFullYear().toString().substr(3,
1)},yy:function(a){return a.getUTCFullYear().toString().substr(2,2)},yyyy:function(a){return a.getUTCFullYear().toString()},h:function(a){a=a.getUTCHours();return 0==a?"12":12<a?(a-12).toString():a.toString()},hh:function(a){a=a.getUTCHours();if(0==a)return"12";if(12<a)return a=(a-12).toString(),1==a.length?"0"+a:a;a=a.toString();return 1==a.length?"0"+a:a},H:function(a){return a.getUTCHours().toString()},HH:function(a){a=a.getUTCHours().toString();return 1==a.length?"0"+a:a},m:function(a){return a.getUTCMinutes().toString()},
mm:function(a){a=a.getUTCMinutes().toString();return 1==a.length?"0"+a:a},s:function(a){return a.getUTCSeconds().toString()},ss:function(a){a=a.getUTCSeconds().toString();return 1==a.length?"0"+a:a},t:function(a,b){return 12<=a.getUTCHours()?b.GA:b.FA},tt:function(a,b){return 12<=a.getUTCHours()?b.Xz:b.Yw},z:function(a){a=-a.getTimezoneOffset()/60;return 0<=a?"+"+a.toString():a.toString()},zz:function(a){var a=-a.getTimezoneOffset()/60,b=Math.abs(a).toString(),b=1==b.length?"0"+b:b;return 0>a?"-"+
b:"+"+b},zzz:function(a){var b=(-a.getTimezoneOffset()%60).toString(),a=-a.getTimezoneOffset()/60,b=Math.abs(a).toString()+":"+(1==b.length?"0"+b:b),b=4==b.length?"0"+b:b;return 0>a?"-"+b:"+"+b}};function Bd(a,b,c){this.no=a;this.wz=b==g?0:b;this.kD=c===g?"...":c}Bd.prototype.no=l;Bd.prototype.wz=l;Bd.prototype.kD=l;function Cd(a,b){0<a.wz&&b.length>a.wz&&(b=b.substr(0,a.wz),a.kD!=l&&(b+=a.kD));return b}function Dd(a,b,c,e,f){Bd.call(this,a,b,c);this.rD=e?e:[];this.sD=f?f:[""]}x.e(Dd,Bd);
Dd.prototype.ia=function(a,b){for(var c=Number(a.Ba(this.no)),c=new Date(isNaN(c)?0:c),e="",f=this.rD.length,h=0;h<f;h++)e+=this.sD[h]+this.rD[h](c,b);e+=this.sD[f];return Cd(this,e)};Dd.prototype.rD=l;Dd.prototype.sD=l;function Ed(a,b,c){Bd.call(this,a,b,c)}x.e(Ed,Bd);w=Ed.prototype;w.qL=i;w.mL=i;w.$E=1;w.Mh=2;w.mo=",";w.No=".";
function Fd(a,b,c){var e=Number(Math.round(b*Math.pow(10,a.Mh))/Math.pow(10,a.Mh)).toString(),f=e.indexOf(".");-1==f?(b=e,e=""):(b=e.substr(0,f),e=e.substr(f+1,e.length-1));if(a.mL&&e.length<a.Mh)for(;e.length<a.Mh;)e+="0";if(1<a.$E)for(;b.length<a.$E;)b="0"+b;if(a.mo&&3<b.length)for(f=b.length;3<f;f-=3)b=b.substr(0,f-3)+a.mo+b.substr(f-3,b.length-1);e=""!=e?b+a.No+e:b;return Cd(a,c?a.qL?"-"+e:"("+e+")":e)}function Gd(a,b,c,e){Bd.call(this,a,b,c);this.X=e}x.e(Gd,Ed);Gd.prototype.X=l;
Gd.prototype.ia=function(a){var b=a.Ba(this.no),a=Number(b);if(isNaN(b))return b;(b=0>a)&&(a=-a);for(var c=this.X.length-1,e=Math.floor(a/Number(this.X[c].Dq));0==e&&0<c;)e=Math.floor(a/Number(this.X[--c].Dq));return Fd(this,a/Number(this.X[c].Dq),b)+this.X[c].HG};function Hd(a,b,c){Bd.call(this,a,b,c)}x.e(Hd,Ed);Hd.prototype.ia=function(a){var b=a.Ba(this.no),a=Number(b);if(isNaN(b))return b;b=0>a;return Fd(this,b?-a:a,b)};function Id(a,b,c,e){Bd.call(this,a,b,c);this.X=e}x.e(Id,Ed);
Id.prototype.X=l;Id.prototype.ia=function(a){var b=a.Ba(this.no),a=Number(b);if(isNaN(b))return b;b=0>a;return Fd(this,(b?-a:a)/Number(this.X.scale),b)+this.X.HG};function Jd(a,b,c){Bd.call(this,a,b,c)}x.e(Jd,Bd);Jd.prototype.ia=function(a){a=a.Ba(this.no);a=a==g?"":a.toString();return Cd(this,a)};Jd.prototype.no=l;function Kd(a){this.eL=a}Kd.prototype.ia=q("eL");Kd.prototype.eL=l;function Ld(a){this.wu=a;this.Mf=[]}w=Ld.prototype;
w.ia=function(a,b){this.PG=a;this.BC=b;if(0==this.Mf.length){for(var c=this.wu,e=c.length,f=0,h="",j,k,m,s,t=n,v=0;v<e;v++){var y=c.charAt(v);switch(f){case 0:"{"==y?f=1:h+=y;break;case 1:"%"==y?(0<h.length&&this.Mf.push(new Kd(h)),h="%",f=2):(h+="{"+y,f=0);break;case 2:"}"==y?1<h.length?(k=h,h="",f=3):(h="{%}",f=0):h+=y;break;case 3:"{"==y?f=4:(Md(this,k,{}),h=y,f=0);break;case 4:"%"==y?(Md(this,k,{}),h="%",f=2):(j="{"+y,h=y,m="",s={},t="\\"==y,f=5);break;case 5:j+=y;t?(h+=y,t=n):"\\"==y?t=i:":"==
y?(m=h,h="",f=6):"}"==y?(m=h,s[m]="",Md(this,k,s),j=h=m="",f=0):h+=y;break;case 6:j+=y,t?(h+=y,t=n):"\\"==y?t=i:","==y?(f=h,s[m]=f,m=h="",f=5):"}"==y?(f=h,s[m]=f,Md(this,k,s),j=h=m="",f=0):h+=y}}switch(f){case 0:0<h.length&&this.Mf.push(new Kd(h));break;case 1:this.Mf.push(new Kd("{"));break;case 2:this.Mf.push(new Kd("{"+h));break;case 3:Md(this,k,{});break;case 4:Md(this,k,{});this.Mf.push(new Kd("{"));break;case 5:case 6:this.Mf.push(new Kd(j))}}c="";e=this.Mf.length;for(j=0;j<e;j++)c+=this.Mf[j].ia(this.PG,
this.BC);return c};w.wu=l;w.PG=l;w.BC=l;w.Mf=l;
function Md(a,b,c){var e=a.PG.Aa(b),f=[];if(c.enabled!=g&&"true"!=c.enabled.toLowerCase())a.Mf.push(new Jd(b));else switch(e){case 1:a.Mf.push(new Jd(b,c.maxChar,c.maxCharFinalChars));break;case 2:c.scale!=g&&(f=Nd(c.scale));Od(a,b,c,f);break;case 3:if(c.scale!=g&&(f=Nd(c.scale)),0<f.length)Od(a,b,c,f);else{for(var e=c.dateTimeFormat==g?a.BC.vz:c.dateTimeFormat,f=e.length,h=[],j=[],k=0,m="",s="",t=0;t<f;t++){var v=e.charAt(t);switch(k){case 0:"%"==v?(j.push(m),m="",k=1):m+=v;break;case 1:"%"==v?j[j.length-
1]+="%":(m=s=v,k=2);break;case 2:v==s?m+=v:(k=Ad[m],k==g?j[j.length-1]+="%"+m:h.push(k),m=v,k=0)}}switch(k){case 0:j.push(m);break;case 1:j.push("%");break;case 2:k=Ad[m],k==g?j[j.length-1]+="%"+m:(h.push(k),j.push(""))}a.Mf.push(new Dd(b,c.maxChar,c.maxCharFinalChars,h,j))}}}
function Od(a,b,c,e){var f=l,b=f=0==e.length?new Hd(b,c.maxChar,c.maxCharFinalChars):1==e.length?new Id(b,c.maxChar,c.maxCharFinalChars,e[0]):new Gd(b,c.maxChar,c.maxCharFinalChars,e),e=c.useNegativeSign,h=c.trailingZeros,j=c.leadingZeros,k=c.numDecimals,m=c.thousandsSeparator,c=c.decimalSeparator;e!==g&&(b.qL="true"==e.toLowerCase());h!==g&&(b.mL="true"==h.toLowerCase());j!==g&&(b.$E=Number(j));k!==g&&(b.Mh=Number(k));m!==g&&(b.mo=m);c!==g&&(b.No=c);a.Mf.push(f)}
function Nd(a){for(var b=a.length,c=i,e=0,f=[],h="",j=0;j<b;j++){var k=a.charAt(j);"("!=k&&(")"==k?(c?(h=Number(h),f[e]={scale:h,HG:"",Dq:h},0<e&&(f[e].Dq*=f[e-1].Dq)):f[e].HG=h,h="",e++):"|"==k?(c=n,e=0,h=""):h+=k)}return f}function Pd(){this.Vs={}}Pd.prototype.Vs=l;Pd.prototype.get=function(a){return Qd(this,a)?this.Vs[a]:""};function Qd(a,b){return a.Vs[b]!=g}Pd.prototype.add=function(a,b){this.Vs[a]=b};function Rd(a,b,c){a.Vs[b]=Qd(a,b)?a.Vs[b]+c:c}function Sd(a){return mb(a)}
function Td(a){return a&&(1==a.indexOf("%")||0==a.indexOf("%"))}function Ud(a,b){return 0==a.indexOf("%DataPlot")||b.Ql(a)}function Vd(a,b){return b&&(0==a.indexOf("%Threshold")||b.Rr(a))}function Wd(a){return 0==a.indexOf("%Category")}function Xd(a){return a.slice(0,1)+a.slice(2,a.length)};function Mc(a){this.A=a;this.Eb=oc(this.A,"text");this.Eb.setAttribute("visibility","hidden");this.Eb.setAttribute("x","0");this.Eb.setAttribute("y","0");this.XA=this.A.gl.ownerDocument.createTextNode("");this.Eb.appendChild(this.XA);a.ps.appendChild(this.Eb)}Mc.prototype.A=l;Mc.prototype.Eb=l;Mc.prototype.XA=l;
Mc.prototype.measureText=function(a,b){Yd(b,this.Eb);this.XA.nodeValue=a;var c=this.Eb.getBBox();this.XA.nodeValue="";var e=this.Eb;e.removeAttribute("font-family");e.removeAttribute("font-size");e.removeAttribute("font-weight");e.removeAttribute("font-style");e.removeAttribute("font-decoration");e.removeAttribute("fill");e.removeAttribute("stroke");return new R(c.x,c.y,c.width,c.height)};function Zd(a,b,c){X.call(this,a);c&&(this.Gc=c,this.Z(c));b&&(this.iL=b,this.q.appendChild(b))}x.e(Zd,X);
Zd.prototype.iL=l;Zd.prototype.Gr=q("iL");Zd.prototype.Gc=l;Zd.prototype.my=q("Gc");function $d(a,b){X.call(this,a);this.vd=b;this.Z(b)}x.e($d,X);$d.prototype.Gr=function(){return this.vd.Gr()};$d.prototype.my=function(){return this.vd.my()};function ae(){be(this)}w=ae.prototype;w.UH=function(){return new Gc};w.iD=l;w.Cd=l;w.Ia=l;w.ZG=l;w.nq=p("Cd");w.TB=l;w.WE=l;w.UG=l;w.La=l;w.vq=l;w.RF=l;w.hl=l;w.j=l;w.k=q("j");w.Vd=l;
w.OD=function(){var a=this.Vd.la();if(0!=this.ob.Qb){var b=a.width,c=a.height;a.width=b*this.ob.Se+c*this.ob.qf;a.height=b*this.ob.qf+c*this.ob.Se}return a};w.lg=function(){var a=this.Vd.la();a.x=0;a.y=0;return a};w.KE=n;w.ob=l;function ce(a,b){a.ob.Qb=-b;a.ob.Pc()}w.na=i;w.isEnabled=q("na");w.xf=p("na");w.WA=l;w.N=l;w.pd=q("N");
w.f=function(a){if(K(a)){B(a,"background")&&(this.N=new yd,this.N.f(D(a,"background")));ce(this,B(a,"rotation")?J(a,"rotation"):0);B(a,"width")&&(this.Ia=J(a,"width"));B(a,"word_wrap")&&(this.ZG=I(a,"word_wrap"));var b=B(a,"text_align")?"text_align":"multi_line_align";if(B(a,b))switch(sb(D(a,b))){case "left":this.vq=0;break;case "center":this.vq=2;break;case "right":this.vq=1}if(B(a,"font")&&(a=D(a,"font"),B(a,"family")&&(this.iD=sb(D(a,"family"))),B(a,"size")&&(this.Cd=H(D(a,"size"))),B(a,"bold")&&
(this.TB=Hb(D(a,"bold"))),B(a,"italic")&&(this.WE=Hb(D(a,"italic"))),B(a,"underline")&&(this.UG=Hb(D(a,"underline"))),B(a,"color")&&(this.La=pb(D(a,"color"),g)),B(a,"render_as_html")))this.RF=I(a,"render_as_html")}else this.na=n};function be(a){a.RF=n;a.vq=0;a.La=pb(l,1);a.UG=n;a.WE=n;a.TB=n;a.Cd=10;a.iD="Arial";a.ob=a.UH();ce(a,0);a.N=l;a.Ia=l;a.ZG=i}
w.Kb=function(a,b){this.RF&&(b=b.replace(/<.*?>/gi,""));for(var c=b,e=[],f=c.length,h="",j=0;j<f;j++){var k=c.charCodeAt(j);13==k||10==k?(e.push(yb(h)),h=""):j==f-1?(h+=c.charAt(j),e.push(yb(h)),h=""):h+=c.charAt(j)}c=this.WA=e;e=new R;if(this.Ia!==l){if(this.ZG){f=0;for(h=c.length;f<h;f++){for(var h=a,j=c,k=f,m=j[k],m=h.zw.measureText(m,this);m.width>this.Ia;){var s;s=j;var t=k,v=s[t];2<=v.length?(s[t+1]=s[t+1]?v[v.length-1]+s[t+1]:v[v.length-1],s[t]=v.slice(0,-1),s=i):s=n;if(!s)break;m=j[k];m=h.zw.measureText(m,
this)}j=m;h=c.length;e.height+=j.height}}else{f=0;for(h=c.length;f<h;f++)j=a.zw.measureText(c[f],this),e.height+=j.height}e.width=this.Ia}else{f=0;for(h=c.length;f<h;f++)j=a.zw.measureText(c[f],this),e.width=Math.max(e.width,j.width),e.height+=j.height}c=this.hl=e;c.x+=2;c.y+=2;c.width+=4;c.height+=2;e=this.hl.la();this.N&&this.N.isEnabled()&&this.N.Fa&&(c=this.hl,c.x+=this.N.Fa.pb(),c.y+=this.N.Fa.lb(),e.x=c.x,e.y=c.y,e.width+=this.N.Fa.pb()+this.N.Fa.Ja(),e.height+=this.N.Fa.lb()+this.N.Fa.ja());
this.Vd=e;this.j=this.ob.OD(this.Vd)};function Yd(a,b,c){b.setAttribute("font-family",a.iD);b.setAttribute("font-size",a.Cd);a.TB&&b.setAttribute("font-weight","bold");a.WE&&b.setAttribute("font-style","italic");a.UG&&b.setAttribute("text-decoration","underline");b.setAttribute("fill",lb(a.La.oa(c)));b.setAttribute("stroke","none")}
w.Zb=function(a,b,c){var e=oc(a,"text"),f;this.N&&this.N.isEnabled()&&(f=this.N.p(a),this.N.ga(f,this.lg(),b));f||(f=new rd(a,a.ba(),a.ba()));f=new Zd(a,e,f);c!==i&&de(this,a,e,b,g,this.vq);f.Gr().setAttribute("pointer-events","none");if(this.KE&&(!this.N||!this.N.isEnabled()||!(this.N.Cb()&&0<this.N.Cb().Oc)))b=a.ba(),b.setAttribute("d",Pc(this.lg())),b.setAttribute("style","fill:white;fill-opacity:.002;"),f.appendChild(b);this.fD(f);return new $d(a,f)};
w.fD=function(a){a.bl(this.ob.Qb);var b=new P,c=this.ob,e=this.Vd,f=0,h=0,j=0<=c.sin,k=0<=c.cos;switch(j&&k?0:j&&!k?1:!k?2:3){case 0:f=e.height*c.sin;break;case 1:f=e.width*c.Se+e.height*c.qf;h=e.height*c.Se;break;case 2:f=e.width*c.Se;h=e.width*c.qf+e.height*c.Se;break;case 3:f=0,h=e.width*c.qf}b.x+=f;b.y+=h;a.eb(b.x,b.y)};w.update=function(a,b,c,e,f){de(this,a,b.Gr(),c,e,f);this.Dw(b.my(),this.lg(),c)};
function de(a,b,c,e,f,h){Yd(a,c,e);c.setAttribute("x",a.hl.x);c.setAttribute("y",a.hl.y);if(h==g||h==l)h=-1;if(h)switch(h){default:case 0:c.setAttribute("text-anchor","start");break;case 2:c.setAttribute("text-anchor","middle");break;case 1:c.setAttribute("text-anchor","end")}if(!f){for(;0<c.childNodes.length;)c.removeChild(c.childNodes[0]);for(e=0;e<a.WA.length;e++){f=oc(b,"tspan");f.appendChild(b.gl.ownerDocument.createTextNode(a.WA[e]));switch(h){default:case 0:f.setAttribute("x",a.hl.x);break;
case 2:f.setAttribute("x",a.hl.width/2+a.hl.x-3);break;case 1:f.setAttribute("x",a.hl.width)}f.setAttribute("dy","1em");c.appendChild(f)}}}w.Dw=function(a,b,c){this.N&&this.N.isEnabled()&&this.N.ga(a,b,c)};function ee(){ae.apply(this)}x.e(ee,ae);w=ee.prototype;w.v=l;w.Ra=q("v");w.jc=l;w.Dh=q("jc");w.ua=5;w.Y=q("ua");w.ra=1;
w.f=function(a){ee.b.f.call(this,a);var b=B(a,"text")?"text":"format";B(a,b)&&(this.jc=new Ld(G(a,b)));if(B(a,"align"))switch(N(a,"align")){case "near":case "left":case "top":this.ra=0;break;case "far":case "right":case "bottom":this.ra=2;break;case "center":this.ra=1}B(a,"padding")&&(this.ua=J(a,"padding"))};w.Zb=function(a){return this.v=ee.b.Zb.call(this,a)};w.ya=o();function fe(a,b){ae.apply(this);this.$J=a;this.FI=b}x.e(fe,ee);w=fe.prototype;w.dg=l;w.$J=l;w.FI=l;
w.f=function(a){fe.b.f.call(this,a);this.na&&B(a,"actions")&&(this.dg=new ge(this.$J,this.FI),this.dg.f(D(a,"actions")))};w.Zb=function(a){this.KE=i;fe.b.Zb.call(this,a);this.dg&&(this.v.q.setAttribute("cursor","pointer"),this.Ru(this.v));return this.v};w.Ru=function(a){x.w.Ua(a.q,z.vB,this.km,n,this)};w.km=function(){this.dg&&this.dg.execute()};function he(a){ha.call(this,a)}x.e(he,ha);function ie(a,b){ha.call(this,a);this.iB=b}x.e(ie,ha);ie.prototype.iB=l;function je(a,b,c,e){ha.call(this,a);this.g=b;this.hK=c;this.iK=e}x.e(je,ha);je.prototype.ub=q("type");je.prototype.g=l;je.prototype.hK=l;je.prototype.iK=l;function ke(a,b){ha.call(this,a);this.R=b}x.e(ke,ha);ke.prototype.ub=q("type");ke.prototype.R=l;ke.prototype.wd=function(){return this.R.length};ke.prototype.da=function(a){return this.R[a]};
function le(a,b){this.Na=a;this.CF=b;ha.call(this,a)}x.e(le,ha);le.prototype.Na=l;le.prototype.CF=l;le.prototype.la=function(){return new le(this.Na,this.CF)};function me(a,b,c){ha.call(this,a);this.errorCode=b;this.errorMessage=c}x.e(me,ha);me.prototype.errorCode=l;me.prototype.errorMessage=l;me.prototype.toString=function(){return"Error code: "+this.errorCode+" error message: "+this.errorMessage};me.prototype.toString=function(){return"Error message: "+this.errorMessage};function ne(a){d(new oe("anychartError",22,"Feature is not supported.",a))}function oe(a,b,c,e){me.call(this,a,b,c);this.featureName=e}x.e(oe,me);oe.prototype.featureName=l;
oe.prototype.toString=function(){return oe.b.toString.call(this)+" Feature: "+this.featureName+"."};function pe(){}w=pe.prototype;w.g=l;w.q=l;w.Oa=l;w.p=function(a,b,c){this.g=a;this.Oa=b;this.q=c?c.call(b):this.createElement()};w.update=function(a,b){a&&(this.Re(a),this.Yc(a));b===i&&this.Ga()};w.Re=function(){x.qa()};w.Ga=function(){x.qa()};w.Yc=o();function qe(){}x.e(qe,pe);qe.prototype.Re=function(a){var b=this.g.o(),c="",e=this.JD(),f=this.k(),c=c+Y(this.WD(a),b,f,e),c=c+Vc();this.q.setAttribute("style",c)};qe.prototype.k=function(){return this.g.k()};qe.prototype.JD=function(){return this.g.oa().oa()};
function re(){}x.e(re,pe);re.prototype.Re=function(a){var b=this.g.o(),c="",e=this.JD(),f=this.k();this.Je(a)?(c+=od(this.Ar(a),b,f,e),c+=Wc()):c+=Xc();this.q.setAttribute("style",c)};re.prototype.k=function(){return this.g.k()};re.prototype.JD=function(){return this.g.oa().oa()};re.prototype.Je=u(i);function se(){}x.e(se,pe);w=se.prototype;w.ei=l;w.createElement=function(){return this.Oa.createElement()};w.Ga=function(){this.Oa.Ga(this.q)};
w.sh=function(a){var b=this.g.o();this.ei&&(qc(b.Hr,this.ei),this.ei="");this.Re(a)};w.Re=function(a){var b=this.g.o(),c="",e=this.g.oa().oa(),f=this.g.G().k();this.Je(a)?(c+=od(this.Cb(a),b,f,e,i),this.ei=c+=Wc()):c=Xc();this.q.setAttribute("style",c)};w.Yc=o();function te(){}te.prototype.g=l;te.prototype.p=function(a){this.g=a;this.Lc();this.ge()};function ue(a,b){this.F=a;b!=g&&(this.zG=b)}w=ue.prototype;w.F=l;w.ea=q("F");w.zG=0;
w.f=function(a){if(!a)return l;a=Mb(a);if(B(a,"color")){var b=D(a,"color"),c;for(c in a)B(a[c],"color")&&E(a[c],"color",N(a[c],"color").split("%color").join(b))}return a};w.copy=function(a){a||d(Error("Unknown target"));a.F=this.F;a.zG=this.zG;return a};function ve(a,b){ue.call(this,a,b)}x.e(ve,ue);ve.prototype.We=l;ve.prototype.Kl=q("We");ve.prototype.Qp=function(){return Boolean(this.We&&this.We.isEnabled())};
ve.prototype.f=function(a){a=ve.b.f.call(this,a);if(!a)return l;L(a,"effects")&&(this.We=new Bc,this.We.f(D(a,"effects")));return a};function Z(){var a=this.Ub();this.ta=new a(this,0);this.ec=new a(this,1);this.ic=new a(this,2);this.Rb=new a(this,3);this.gc=new a(this,4);this.rc=new a(this,5)}w=Z.prototype;w.ta=l;w.Fg=p("ta");w.ec=l;w.Eg=p("ec");w.ic=l;w.Rb=l;w.gc=l;w.rc=l;
w.f=function(a){if(a)if(a=Mb(a),B(a,"states")){var b=D(a,"states");this.ta.f(this.Hh(a,D(b,"normal")));this.ec.f(this.Hh(a,D(b,"hover")));this.ic.f(this.Hh(a,D(b,"pushed")));this.Rb.f(this.Hh(a,D(b,"selected_normal")));this.gc.f(this.Hh(a,D(b,"selected_hover")));this.rc.f(this.Hh(a,D(b,"missing")))}else this.ta.f(a),this.ec.f(a),this.ic.f(a),this.Rb.f(a),this.gc.f(a),this.rc.f(a)};w.Hh=function(a,b){return!b?a:Nb(a,b,l,"states")};w.p=function(a){var b=this.dc(a);b.p(a);return b};
w.copy=function(a){a||(a=new Z);a.Fg(this.ta.copy());a.Eg(this.ec.copy());var b=this.ic.copy();a.ic=b;b=this.Rb.copy();a.Rb=b;b=this.gc.copy();a.gc=b;b=this.rc.copy();a.rc=b;return a};function we(a){this.Si=a;this.bj={}}we.prototype.Si=l;we.prototype.bj=l;we.prototype.ea=function(a,b){return!this.bj[a]||!this.bj[a][b]?l:this.bj[a][b]};function xe(a,b,c,e,f){var h=F(a.Si,b),j=[],k;c&&j.push(c);e&&(e=sb(e),k=Tb(h,e));ye(j,k,h);return ze(a,j,b,f)}
function Ae(a,b,c){if(!b||a.ea(b,c))return l;var b=sb(b),c=sb(c),e=F(a.Si,b),c=Tb(e,c),f=[];ye(f,c,e);return ze(a,f,b)}function ye(a,b,c){if(b)for(a.push(Mb(b));"anychart_default"!=G(b,"name");)b=!B(b,"parent")||!Tb(c,G(b,"parent"))?Tb(c,"anychart_default"):Tb(c,D(b,"parent")),a.push(Mb(b));else a.push(Tb(c,"anychart_default"))}
function ze(a,b,c,e){var f=b.length;if(e==g||e==l)e=i;if(e)for(e=0;e<b.length;e++){var h=b,j=e,k;k=a;var m=b[e],s=c?c:G(m,"#name#");if(s&&-1!=Be.indexOf(s))k=m;else{var t={};s&&(t["#name#"]=s);t.states={"#name#":"states","#children#":[]};Ce(t.states,"normal");Ce(t.states,"hover");Ce(t.states,"pushed");Ce(t.states,"selected_normal");Ce(t.states,"selected_hover");Ce(t.states,"missing");Ob(m,t,t);t.states.normal=k.Hh(m,"normal");t.states.hover=k.Hh(m,"hover");t.states.pushed=k.Hh(m,"pushed");t.states.selected_normal=
k.Hh(m,"selected_normal");t.states.selected_hover=k.Hh(m,"selected_hover");t.states.missing=k.Hh(m,"missing");k=t}h[j]=k}a=b[f-1];a.inherits=B(a,"name")?sb(D(a,"name")):"";for(e=f-1;0<e;e--)a=Nb(a,b[e-1]),B(b[e-1],"name")&&(a.inherits+=","+sb(D(b[e-1],"name")));return a}we.prototype.Hh=function(a,b){a.states||(a.states={});a.states[b]||(a.states[b]={});return Nb(a,a.states[b],b,"states")};function Ce(a,b){a[b]={"#name#":b,"#children#":[]}}var Be="animation_style,animation,line_axis_marker_style,range_axis_marker_style,custom_label_style,trendline_style,color_range_style,tooltip_style".split(",");
we.prototype.clear=function(){this.Si={};this.bj={}};function De(){}w=De.prototype;w.Eg=o();w.Fg=o();w.md=o();w.dk=o();w.Xk=o();w.kl=o();w.$j=o();w.Ck=o();w.OK=o();w.ek=o();w.fk=o();w.Yk=o();w.ll=o();w.el=o();w.Dk=o();w.Bk=function(){d(new me("anychartError",1,"This method can be used in axes plot only."))};function Ee(){this.zd();this.OF=this.uE=n}x.e(Ee,De);w=Ee.prototype;w.J=l;w.uA=p("J");w.Rm=l;w.PK=p("Rm");w.pm=l;w.Fs=p("pm");w.lk=l;w.JG=u(i);w.ZF=function(a){this.lk=Mb(a)};w.N=l;w.Gc=l;w.OB=l;w.lg=q("j");w.j=l;w.k=q("j");w.Br=q("j");w.Dc=p("j");
w.Rf=l;w.QK=p("Rf");w.jl=l;w.Fy=q("jl");w.Mk=l;w.wy=q("Mk");w.uz=l;w.Bt=l;w.bu=l;w.uo=l;w.f=function(a,b){if(a==l)return l;B(a,"chart_settings")&&this.HC(D(a,"chart_settings"),b);B(a,"data_plot_settings")&&this.wk(D(a,"data_plot_settings"));this.Vx(a,b);this.Kf(a);return a};w.HC=function(a){B(a,"data_plot_background")&&(this.N=new yd,this.N.f(D(a,"data_plot_background")))};w.wk=o();
w.Vx=function(a){if(B(a,"data")&&(a=D(a,"data"),B(a,"attributes"))){this.od={};for(var a=F(D(a,"attributes"),"attribute"),b=a.length,c=0;c<b;c++){var e=a[c];if(B(e,"name")){var f;B(e,"custom_attribute_value")?f=D(e,"custom_attribute_value"):B(e,"value")&&(f=D(e,"value"));f&&E(this.od,"%"+D(e,"name"),f)}}}};w.uE=l;w.A=l;w.o=q("A");w.v=l;w.Ra=q("v");w.Ul=function(a){this.A=a;this.OB=new X(this.A);this.Bt=new X(this.A);this.bu=new X(this.A);this.uo=new X(this.A);this.Mk=new X(this.A);this.uz=new X(this.A)};
w.p=function(a,b,c){this.v=new X(this.A);this.jl=b;this.j=a;this.v.Pd(this.j.x);this.v.jd(this.j.y);c&&this.N&&this.N.isEnabled()&&(this.Gc=this.N.p(this.A),this.Gc.eb(0.5,0.5),this.OB.Z(this.Gc));this.v.Z(this.OB);this.mJ();this.v.Z(this.Bt);this.v.Z(this.bu);this.v.Z(this.uo);this.v.Z(this.Mk);this.v.Z(this.uz);this.jl&&(this.jl.Pd(this.j.x),this.jl.jd(this.j.y));this.uE=i;return this.v};w.mJ=o();w.OF=l;w.$p=o();w.ga=function(){this.Gc&&this.N.ga(this.Gc,this.lg())};w.dj=function(a){this.j=a.la()};
w.jn=function(){this.Gc&&this.N.ya(this.Gc,this.lg())};w.a=l;w.zd=function(){this.a=new Pd;this.tb()};
w.tb=function(){this.a.add("%DataPlotPointCount",0);this.a.add("%DataPlotYSum",0);this.a.add("%DataPlotYMax",-Number.MAX_VALUE);this.a.add("%DataPlotYMin",Number.MIN_VALUE);this.a.add("%DataPlotYAverage",0);this.a.add("%DataPlotBubbleSizeSum",0);this.a.add("%DataPlotBubbleMaxSize",-Number.MAX_VALUE);this.a.add("%DataPlotBubbleMinSize",Number.MAX_VALUE);this.a.add("%DataPlotBubbleSizeAverage",0);this.a.add("%DataPlotMaxYValuePointName","");this.a.add("%DataPlotMinYValuePointName","");this.a.add("%DataPlotMaxYValuePointSeriesName",
"");this.a.add("%DataPlotMinYValuePointSeriesName","");this.a.add("%DataPlotMaxYSumSeriesName","");this.a.add("%DataPlotMinYSumSeriesName","")};w.Ba=function(a){if(this.Ql(a))return this.od[a];Qd(this.a,"%DataPlotBubbleSizeAverage")||this.a.add("%DataPlotBubbleSizeAverage",this.a.get("%DataPlotBubbleSizeSum")/this.a.get("%DataPlotBubblePointCount"));return this.a.get(a)};
w.Aa=function(a){if(this.Ql(a))return 1;switch(a){case "%DataPlotPointCount":case "%DataPlotBubblePointCount":case "%DataPlotYSum":case "%DataPlotYMax":case "%DataPlotYMin":case "%DataPlotYAverage":case "%DataPlotBubbleSizeSum":case "%DataPlotBubbleMaxSize":case "%DataPlotBubbleMinSize":case "%DataPlotBubbleSizeAverage":return 2;case "%DataPlotMaxYValuePointName":case "%DataPlotMinYValuePointName":case "%DataPlotMaxYValuePointSeriesName":case "%DataPlotMinYValuePointSeriesName":case "%DataPlotMaxYSumSeriesName":case "%DataPlotMinYSumSeriesName":return 1}};
w.od=l;w.Ql=function(a){return Boolean(this.od&&this.od[a])};w.al=function(a,b){this.od||(this.od={});this.od[a]=b;if(this.lk&&B(this.lk,"data")){var c=D(this.lk,"data"),e;B(c,"attributes")?e=D(c,"attributes"):(e={},E(c,"attributes",e));B(e,"attribute")?c=F(e,"attribute"):(c=[],E(e,"attribute",c));(e=Tb(c,a))||(e={});x.isArray(e)?e.push(Fe(a,b)):e=Fe(a,b);c.push(e)}};function Fe(a,b){return{"#name#":"attribute","#children#":[b],name:a,value:b}}
w.Va=function(a){if(a==l||a==g)a={};if(this.od)for(var b in this.od)a[b]=this.od[b];a.YSum=this.a.get("%DataPlotYSum");a.YMax=this.a.get("%DataPlotYMax");a.YMin=this.a.get("%DataPlotYMin");a.YAverage=this.a.get("%DataPlotYSum")/this.a.get("%DataPlotYBasedPointsCount");a.BubbleSizeSum=this.a.get("%DataPlotBubbleSizeSum");a.BubbleMaxSize=this.a.get("%DataPlotBubbleSizeMax");a.BubbleMinSize=this.a.get("%DataPlotBubbleSizeMin");a.BubbleSizeAverage=this.a.get("%DataPlotBubbleSizeSum")/this.a.get("%DataPlotBubblePointCount");
a.MaxYValuePointName=this.a.get("%DataPlotMaxYValuePointName");a.MaxYValuePointSeriesName=this.a.get("%DataPlotMaxYValuePointSeriesName");a.MinYValuePointName=this.a.get("%DataPlotMinYValuePointName");a.MinYValuePointSeriesName=this.a.get("%DataPlotMinYValuePointSeriesName");a.MaxYSumSeriesName=this.a.get("%DataPlotMaxYSumSeriesName");a.MinYSumSeriesName=this.a.get("%DataPlotMinYSumSeriesName");a.PointCount=this.a.get("%DataPlotPointCount");return a};
function Ge(a,b,c){var e,f;B(c,"charts")?(c=D(c,"charts"),B(c,"chart")&&(e=D(c,"chart"),f=n)):B(c,"gauges")&&(c=D(c,"gauges"),B(c,"gauge")&&(e=D(c,"gauge"),f=i));if(e){var h,j,k;if(B(e,"template")){var c=a.tq,m=N(e,"template");j=[];k={};for(var s=c.uq[m]?Mb(c.uq[m]):l;s!=l;){j.push(s);k[m]=i;m=sb(D(s,"parent"));if(k[m]!=g)break;s=c.uq[m]?Mb(c.uq[m]):l}c=j}else c=l;if(!f&&c){j=0;for(k=c.length;j<k;j++)if(B(c[j],"chart")){j=D(c[j],"chart");B(j,"plot_type")&&(h=N(j,"plot_type"));break}}B(e,"plot_type")&&
(h=N(e,"plot_type"));var t;if(f)t=He;else switch(h){case "map":ne("Plot type Map");break;case "table":ne("Plot type Table");break;case "polar":t=Ie;break;case "radar":t=Je;break;case "treemap":t=Ke;break;case "pie":case "doughnut":t=Le;break;case "funnel":t=Me;break;default:t=Ne}h||(h="categorizedvertical");if(t){t=new t;t.Fs(h);t.PK(a);t.uA(a.pj());a=t.bp();h=Mb(Oe);f=a.pg();h[a.ur()]=D(h,"chart");h=a.gf(h,f);if(c)for(f=c.length-1;0<=f;f--)h=a.gf(h,c[f]);e=a.gF(h,e);t.JG()&&t.ZF(e);b.ym(t);b.f(e)}}}
;var Oe={chart:{chart_settings:{chart_background:{border:{thickness:"2",color:"#2466B1"},fill:{gradient:{key:[{position:"0",color:"#FFFFFF"},{position:"0.5",color:"#F3F3F3"},{position:"1",color:"#FFFFFF"}],angle:"90"},type:"Gradient"},inside_margin:{all:"15"},corners:{type:"Rounded",all:"10"},effects:{drop_shadow:{enabled:"True",distance:"2",opacity:"0.3"},enabled:"False"}},title:{text:{value:"Chart Title"},background:{border:{gradient:{key:[{position:"0",color:"#DDDDDD"},{position:"1",color:"#D0D0D0"}],
angle:"90"},enabled:"True",type:"Gradient"},fill:{gradient:{key:[{position:"0",color:"#FFFFFF"},{position:"0.5",color:"#F3F3F3"},{position:"1",color:"#FFFFFF"}],angle:"90"},type:"Gradient"},inside_margin:{all:"5"},effects:{drop_shadow:{enabled:"True",distance:"1",opacity:"0.1"},enabled:"True"},enabled:"false"},font:{family:"Tahoma",size:"11",color:"#232323",bold:"True"},align_by:"DataPlot"},subtitle:{text:{value:"Chart Sub-Title"},background:{border:{gradient:{key:[{position:"0",color:"#DDDDDD"},
{position:"1",color:"#D0D0D0"}],angle:"90"},type:"Gradient"},fill:{gradient:{key:[{position:"0",color:"#FFFFFF"},{position:"0.5",color:"#F3F3F3"},{position:"1",color:"#FFFFFF"}],angle:"90"},type:"Gradient"},inside_margin:{all:"10"},effects:{drop_shadow:{enabled:"True",opacity:"0.1",angle:"45",blur_x:"1",blur_y:"1",color:"Black",distance:"1",strength:"1"},enabled:"True"},enabled:"True"},font:{family:"Tahoma",size:"11",color:"#232323",bold:"True"},enabled:"False",align_by:"dataplot"},footer:{text:{value:"\u00a9 2008 AnyChart.Com Flash Charting Solutions"},
background:{border:{gradient:{key:[{position:"0",color:"#DDDDDD"},{position:"1",color:"#D0D0D0"}],angle:"90"},type:"Gradient"},fill:{gradient:{key:[{position:"0",color:"#FFFFFF"},{position:"0.5",color:"#F3F3F3"},{position:"1",color:"#FFFFFF"}],angle:"90"},type:"Gradient"},inside_margin:{all:"10"},effects:{drop_shadow:{enabled:"True",opacity:"0.1",angle:"45",blur_x:"1",blur_y:"1",color:"#000000",distance:"1",strength:"1"},enabled:"True"},enabled:"True"},font:{family:"Tahoma",size:"11",color:"#232323"},
enabled:"false",position:"bottom",align:"far"}}},defaults:{legend:{font:{family:"Verdana",size:"10",bold:"false",color:"rgb(35,35,35)"},format:{value:"{%Icon} {%Name}"},title:{text:{value:"Legend Title"},font:{family:"Verdana",size:"10",bold:"true",color:"rgb(35,35,35)"},background:{inside_margin:{all:"6"},enabled:"false"},padding:"2"},title_separator:{gradient:{key:[{position:"0",color:"#333333",opacity:"0"},{position:"0.5",color:"#333333",opacity:"1"},{position:"1",color:"#333333",opacity:"0"}]},
enabled:"true",type:"Gradient",padding:"7"},background:{border:{gradient:{key:[{position:"0",color:"rgb(221,221,221)"},{position:"1",color:"rgb(208,208,208)"}],angle:"90"},type:"Gradient"},fill:{gradient:{key:[{position:"0",color:"rgb(255,255,255)"},{position:"0.5",color:"rgb(243,243,243)"},{position:"1",color:"rgb(255,255,255)"}],angle:"90"},type:"Gradient"},inside_margin:{all:"5"},effects:{drop_shadow:{enabled:"True",distance:"1",opacity:"0.1"},enabled:"True"},enabled:"true"},rows_separator:{enabled:"true",
padding:"3",type:"Solid",color:"#333333",opacity:"0.05"},columns_separator:{enabled:"true",padding:"3",type:"Solid",color:"#333333",opacity:"0.05"},scroll_bar:{fill:{gradient:{key:[{color:"#94999B",position:"0"},{color:"White",position:"1"}],angle:"0"},enabled:"true",type:"Gradient"},border:{enabled:"true",color:"#707173",opacity:"1"},buttons:{background:{corners:{type:"Square",all:"2"},fill:{gradient:{key:[{color:"#FDFDFD"},{color:"#EBEBEB"}],angle:"90"},enabled:"true",type:"Gradient"},border:{gradient:{key:[{color:"#898B8D"},
{color:"#5D5F60"}],angle:"90"},enabled:"true",type:"Gradient",opacity:"1"},effects:{drop_shadow:{enabled:"true",distance:"5",opacity:"0.2"},enabled:"false"}},arrow:{fill:{color:"#111111"},border:{enabled:"false"}},states:{hover:{background:{fill:{gradient:{key:[{color:"#FDFDFD"},{color:"#F4F4F4"}],angle:"90"},enabled:"true",type:"Gradient"},border:{gradient:{key:[{color:"#009DFF"},{color:"#0056B8"}],angle:"90"},type:"Gradient"}}},pushed:{background:{fill:{gradient:{key:[{color:"#DFF2FF"},{color:"#99D7FF"}],
angle:"90"},enabled:"true",type:"Gradient"},border:{gradient:{key:[{color:"#009DFF"},{color:"#0056B8"}],angle:"90"},type:"Gradient"}}}}},thumb:{background:{corners:{type:"Rounded",all:"0",right_top:"3",right_bottom:"3"},fill:{gradient:{key:[{color:"#FFFFFF"},{color:"#EDEDED"}],angle:"0"},enabled:"true",type:"Gradient"},border:{gradient:{key:[{color:"#ABAEB0"},{color:"#6B6E6F"}],angle:"0"},enabled:"true",type:"Gradient",color:"#494949",opacity:"1"},effects:{drop_shadow:{enabled:"false",distance:"5",
opacity:".2"},enabled:"true"}},states:{hover:{background:{fill:{gradient:{key:[{color:"#FFFFFF"},{color:"#F7F7F7"}],angle:"0"},enabled:"true",type:"gradient",color:"Cyan"},border:{gradient:{key:[{color:"#009DFF"},{color:"#0064C6"}],angle:"0"},type:"Gradient"}}},pushed:{background:{fill:{gradient:{key:[{color:"#D8F0FF",position:"0"},{color:"#ACDEFF",position:"1"}],angle:"0"},enabled:"true",type:"Gradient"},border:{gradient:{key:[{color:"#009DFF"},{color:"#008AEC"}],angle:"0"},type:"Gradient"}}}}},
size:"16",enabled:"true"},position:"right",align:"near",elements_align:"Left",columns_padding:"10",rows_padding:"10"},panel:{margin:{all:"5"},title:{font:{family:"Tahoma",size:"11",color:"#232323",bold:"True"},align:"center"},background:{border:{thickness:"2",color:"#2466B1"},fill:{gradient:{key:[{position:"0",color:"#FFFFFF"},{position:"0.5",color:"#F3F3F3"},{position:"1",color:"#FFFFFF"}],angle:"90"},type:"Gradient"},inside_margin:{all:"5"},corners:{type:"Rounded",all:"10"}}},dashboard:{margin:{all:"5"},
title:{font:{family:"Tahoma",size:"11",color:"#232323",bold:"True"},text:{value:"Dashboard Title"},align:"center"}}}};function Pe(){}w=Pe.prototype;w.pg=u(l);w.gf=function(a,b){var c={"#name#":"template"};Ob(a,b,c);var e=this.ur(),f=D(a,e),h=D(b,e);c[e]={"#name#":e,"#children#":[]};this.Rn(f,h,c[e]);e=Nb(D(a,"defaults"),D(b,"defaults"));e!=l&&(c.defaults=e);return c};w.gF=function(a,b){var c=this.ur(),e={"#name#":c};this.Rn(D(a,c),b,e);this.vt(e,D(a,"defaults"));return e};
w.Rn=function(a,b,c){Ob(a,b,c);var e=D(a,"chart_settings"),f=D(b,"chart_settings"),h=Nb(e,f);h&&(c.chart_settings=h);a=Qb(D(a,"styles"),D(b,"styles"));if(a!=l){c.styles=a;for(var j in c.styles)B(c.styles[j],"name")&&(c.styles[j].name=sb(D(c.styles[j],"name"))),B(c.styles[j],"parent")&&(c.styles[j].name=sb(D(c.styles[j],"parent")))}if(e&&B(e,"controls"))var k=D(e,"controls");if(f&&B(e,"controls"))var m=D(f,"controls");(c=Qb(k,m))&&h&&E(h,"controls",c)};
w.vt=function(a,b){if(a&&b){var c=D(b,"legend"),e=D(a,"chart_settings");if(c&&e&&(B(e,"legend")&&E(e,"legend",Nb(c,D(e,"legend"),"legend")),B(e,"controls"))){for(var e=D(e,"controls"),f=F(e,"legend"),h=f.length,j=0;j<h;j++)f[j]=Nb(c,f[j],"legend");E(e,"legend",f)}}};function Qe(){this.uq={}}Qe.prototype.uq=l;function Re(a,b){for(var c=0,e=b.length;c<e;c++){var f=b[c],h=sb(D(f,"name"));""!=h&&(a.uq[h]=f)}}Qe.prototype.clear=function(){this.uq={}};var Se={gauge:{styles:{label_style:{format:{value:"{%Value}"},position:{anchor:"Top",halign:"Center",valign:"Top",padding:"5"},font:{family:"Verdana",size:"10",color:"rgb(35,35,35)",bold:"True"},background:{border:{gradient:{key:[{position:"0",color:"rgb(221,221,221)"},{position:"1",color:"rgb(208,208,208)"}],angle:"90"},enabled:"True",type:"Gradient"},fill:{gradient:{key:[{position:"0",color:"rgb(255,255,255)"},{position:"0.5",color:"rgb(243,243,243)"},{position:"1",color:"rgb(255,255,255)"}],angle:"90"},
type:"Gradient"},inside_margin:{all:"3"},effects:{drop_shadow:{enabled:"True",distance:"1",opacity:"0.1"},enabled:"True"},enabled:"false"},name:"anychart_default"},tooltip_style:{format:{value:"{%Value}{numDecimals:2}"},position:{anchor:"Float",halign:"Center",valign:"Top",padding:"5"},font:{family:"Verdana",size:"10",color:"rgb(35,35,35)",bold:"True",italic:"False",underline:"False"},background:{border:{gradient:{key:[{position:"0",color:"rgb(221,221,221)",opacity:"1"},{position:"1",color:"rgb(208,208,208)",
opacity:"1"}],angle:"90",type:"Linear",focal_point:"0"},enabled:"True",thickness:"1",type:"Gradient",opacity:"1",color:"rgb(0,0,0)",dashed:"False",dash_length:"5",space_length:"3",caps:"Round",joints:"Round"},fill:{gradient:{key:[{position:"0",color:"rgb(255,255,255)",opacity:"1"},{position:"0.5",color:"rgb(243,243,243)",opacity:"1"},{position:"1",color:"rgb(255,255,255)",opacity:"1"}],angle:"90",type:"Linear",focal_point:"0"},enabled:"True",type:"Gradient",color:"rgb(255,255,255)",opacity:"1",image_mode:"Stretch",
image_url:""},hatch_fill:{enabled:"False",type:"BackwardDiagonal",color:"rgb(0,0,0)",opacity:"1",thickness:"1",pattern_size:"10"},inside_margin:{left:"10",top:"5",right:"10",bottom:"5"},corners:{type:"Square",all:"10"},effects:{drop_shadow:{enabled:"True",opacity:"0.3",angle:"45",color:"Black",distance:"2",blur_x:"2",blur_y:"2"},enabled:"True"},enabled:"True"},name:"anychart_default",enabled:"true"}},circular_template:{styles:{custom_label_style:{label:{format:{value:"Custom label"},align:"Outside",
enabled:"true",padding:"10"},tickmark:{fill:{color:"%Color"},border:{color:"Red"},enabled:"true",shape:"Star5",width:"%AxisSize*.10",length:"%AxisSize*.10",align:"Outside"},name:"anychart_default"},trendline_style:{line:{color:"%Color"},name:"anychart_default",size:"%AxisSize*.1"},color_range_style:{fill:{color:"%Color",opacity:"0.8"},name:"anychart_default",start_size:"5",end_size:"5",align:"Outside",padding:"0"},knob_pointer_style:{knob_background:{border:{enabled:"true",color:"#494949",opacity:"0.5"},
fill:{gradient:{key:[{color:"White"},{color:"Rgb(220,220,220)"}],angle:"45"},enabled:"true",type:"Gradient"},effects:{drop_shadow:{enabled:"true",distance:"1",opacity:"0.3"},enabled:"true"},radius:"80",gear_height:"5"},cap:{inner_stroke:{enabled:"false"},outer_stroke:{enabled:"false"},background:{fill:{gradient:{key:[{color:"White"},{color:"Rgb(220,220,220)"}],angle:"45"},enabled:"true",type:"Gradient"},border:{enabled:"true",color:"#494949",opacity:"0.5"},enabled:"true"},enabled:"true",radius:"40"},
needle:{fill:{color:"#F0673B",type:"Solid"},border:{enabled:"true",type:"Solid",color:"#494949",opacity:"0.3"},radius:"90",base_radius:"0",thickness:"15",point_thickness:"10",point_radius:"4"},name:"anychart_default"},needle_pointer_style:{fill:{color:"%Color",type:"Solid"},border:{enabled:"true",type:"Solid",color:"#494949",opacity:"0.3"},states:{hover:{border:{color:"#999999",opacity:"0.7"},fill:{color:"LightColor(%Color)"}},pushed:{border:{color:"#999999",opacity:"0.7"},fill:{color:"LightColor(%Color)"},
effects:{inner_shadow:{enabled:"true",distance:"2",blur_x:"2",blur_y:"2",opacity:"0.4"},enabled:"true"}}},cap:{background:{fill:{gradient:{key:[{color:"#FFFFFF"},{color:"#777777"}],type:"Radial",focal_point:"-0.5",angle:"45"},type:"Gradient"},border:{enabled:"true",color:"#575757"},enabled:"true"},enabled:"true",radius:"15"},name:"anychart_default",radius:"100",base_radius:"0",point_thickness:"0",thickness:"12",point_radius:"0"},bar_pointer_style:{fill:{type:"Solid",color:"%Color"},border:{type:"Solid",
color:"Blend(DarkColor(%Color),%Color,0.7)"},effects:{enabled:"false"},states:{hover:{fill:{type:"Solid",color:"LightColor(%Color)"},hatch_fill:{enabled:"true",type:"Percent50",color:"%Color"},border:{color:"%Color"}},pushed:{fill:{type:"Solid",color:"%Color"},border:{type:"Solid",color:"Blend(DarkColor(%Color),%Color,0.7)"},hatch_fill:{enabled:"true",type:"Percent50",color:"%Color"},effects:{bevel:{enabled:"false"},drop_shadow:{enabled:"false"},inner_shadow:{enabled:"true",opacity:"0.5",distance:"2"},
enabled:"true"}}},name:"anychart_default",width:"%AxisSize",align:"Center",padding:"0"},range_bar_pointer_style:{fill:{type:"Solid",color:"%Color"},border:{type:"Solid",color:"Blend(DarkColor(%Color),%Color,0.7)"},effects:{enabled:"false"},states:{hover:{fill:{type:"Solid",color:"LightColor(%Color)"},hatch_fill:{enabled:"true",type:"Percent50",color:"%Color"},border:{color:"%Color"}},pushed:{fill:{type:"Solid",color:"%Color"},border:{type:"Solid",color:"Blend(DarkColor(%Color),%Color,0.7)"},hatch_fill:{enabled:"true",
type:"Percent50",color:"%Color"},effects:{bevel:{enabled:"false"},drop_shadow:{enabled:"false"},inner_shadow:{enabled:"true",opacity:"0.5",distance:"2"},enabled:"true"}}},name:"anychart_default",width:"%AxisSize"},marker_pointer_style:{fill:{enabled:"true",color:"%Color"},border:{color:"DarkColor(%Color)"},effects:{bevel:{enabled:"true",distance:"1",highlight_opacity:"0.5",shadow_opacity:"0.5"},enabled:"true"},states:{hover:{fill:{color:"Blend(LightColor(%Color),%Color,0.5)"},hatch_fill:{enabled:"true",
type:"Percent50",color:"LightColor(%Color)"},border:{color:"%Color"}},pushed:{fill:{color:"Blend(LightColor(%Color),%Color,0.5)"},hatch_fill:{enabled:"true",type:"Percent50",color:"LightColor(%Color)"},border:{color:"%Color"},effects:{bevel:{enabled:"false"},inner_shadow:{enabled:"true",distance:"2",color:"Black",blur_x:"3",blur_y:"3",opacity:"0.5"}}}},name:"anychart_default",shape:"Triangle",width:"8",height:"8",align:"Inside",padding:"0"},tooltip_style:{format:{value:"{%Value}{numDecimals:2}"},
position:{anchor:"Float",halign:"Center",valign:"Top",padding:"5"},font:{family:"Verdana",size:"10",color:"rgb(35,35,35)"},background:{border:{gradient:{key:[{position:"0",color:"rgb(221,221,221)",opacity:"1"},{position:"1",color:"rgb(208,208,208)",opacity:"1"}],angle:"90",type:"Linear",focal_point:"0"},enabled:"True",thickness:"1",type:"Gradient",opacity:"1",color:"rgb(0,0,0)",dashed:"False",dash_length:"5",space_length:"3",caps:"Round",joints:"Round"},fill:{gradient:{key:[{position:"0",color:"rgb(255,255,255)",
opacity:"1"},{position:"0.5",color:"rgb(243,243,243)",opacity:"1"},{position:"1",color:"rgb(255,255,255)",opacity:"1"}],angle:"90",type:"Linear",focal_point:"0"},enabled:"True",type:"Gradient",color:"rgb(255,255,255)",opacity:"1",image_mode:"Stretch",image_url:""},hatch_fill:{enabled:"False",type:"BackwardDiagonal",color:"rgb(0,0,0)",opacity:"1",thickness:"1",pattern_size:"10"},inside_margin:{left:"10",top:"5",right:"10",bottom:"5"},corners:{type:"Square",all:"10"},effects:{drop_shadow:{enabled:"True",
opacity:"0.3",angle:"45",color:"Black",distance:"2",blur_x:"2",blur_y:"2"},enabled:"True"},enabled:"True"},name:"anychart_default"},label_style:{format:{value:"{%Value}{numDecimals:2}"},position:{placement_mode:"ByAnchor",anchor:"Center",halign:"Center",valign:"Top",padding:"5"},font:{family:"Verdana",size:"10",color:"rgb(35,35,35)",bold:"true"},background:{border:{gradient:{key:[{color:"rgb(221,221,221)"},{color:"rgb(208,208,208)"}],angle:"90",type:"Linear",focal_point:"0"},enabled:"True",type:"Gradient"},
fill:{gradient:{key:[{color:"rgb(255,255,255)"},{color:"rgb(243,243,243)"},{color:"rgb(255,255,255)"}],angle:"90",type:"Linear",focal_point:"0"},enabled:"True",type:"Gradient",color:"rgb(255,255,255)",opacity:"1",image_mode:"Stretch",image_url:""},inside_margin:{left:"10",top:"5",right:"10",bottom:"5"},effects:{drop_shadow:{enabled:"True",opacity:"0.3",angle:"45",color:"Black",distance:"2",blur_x:"2",blur_y:"2"},enabled:"True"}},name:"anychart_default"}},frame:{inner_stroke:{fill:{gradient:{key:[{color:"White"},
{color:"#B0B0B0"}],angle:"-135"},enabled:"true",type:"Gradient"},border:{enabled:"true",type:"solid",color:"Rgb(190,190,190)"},enabled:"true",thickness:"5"},outer_stroke:{fill:{gradient:{key:[{color:"White"},{color:"#B0B0B0"}],angle:"45"},enabled:"true",type:"Gradient"},border:{enabled:"true",type:"solid",color:"Rgb(190,190,190)"},enabled:"true",thickness:"5"},background:{fill:{gradient:{key:[{color:"White"},{color:"Rgb(220,220,220)"}],angle:"45"},enabled:"true",type:"Gradient"},enabled:"true"},effects:{drop_shadow:{enabled:"true",
distance:"3",opacity:"0.4"},enabled:"true"},enabled:"true",type:"Auto",padding:"10"},axis:{},pointers:{label:{enabled:"false"},tooltip:{enabled:"false"},color:"#F0673B"},defaults:{axis:{scale:{minimum:"0",maximum:"100",major_interval:"10"},scale_bar:{fill:{color:"#75B7E1"},enabled:"true",size:"%AxisSize"},major_tickmark:{fill:{enabled:"true",color:"#494949"},enabled:"true",shape:"Rectangle",width:"2",length:"%AxisSize"},minor_tickmark:{fill:{enabled:"true",color:"#494949"},enabled:"true",shape:"Rectangle",
width:"1",length:"%AxisSize*0.6"},labels:{format:{value:"{%Value}{numDecimals:0}"},enabled:"true",rotate_circular:"False"},scale_line:{enabled:"false",color:"#494949"},radius:"50",size:"4",start_angle:"20",sweep_angle:"320"}},name:"default"},linear_template:{styles:{custom_label_style:{label:{format:{value:"Custom label"},align:"Outside",enabled:"true",padding:"10"},tickmark:{fill:{color:"%Color"},border:{color:"Red"},enabled:"true",shape:"Star5",width:"%AxisSize*.10",length:"%AxisSize*.10",align:"Outside"},
name:"anychart_default"},trendline_style:{line:{color:"%Color"},name:"anychart_default",size:"%AxisSize*.1"},color_range_style:{fill:{color:"%Color",opacity:"0.8"},name:"anychart_default",start_size:"%AxisSize",end_size:"%AxisSize",align:"Center",padding:"0"},tooltip_style:{format:{value:"{%Value}{numDecimals:2}"},position:{anchor:"Float",halign:"Center",valign:"Top",padding:"5"},font:{family:"Verdana",size:"10",color:"rgb(35,35,35)"},background:{border:{gradient:{key:[{position:"0",color:"rgb(221,221,221)",
opacity:"1"},{position:"1",color:"rgb(208,208,208)",opacity:"1"}],angle:"90",type:"Linear",focal_point:"0"},enabled:"True",thickness:"1",type:"Gradient",opacity:"1",color:"rgb(0,0,0)",dashed:"False",dash_length:"5",space_length:"3",caps:"Round",joints:"Round"},fill:{gradient:{key:[{position:"0",color:"rgb(255,255,255)",opacity:"1"},{position:"0.5",color:"rgb(243,243,243)",opacity:"1"},{position:"1",color:"rgb(255,255,255)",opacity:"1"}],angle:"90",type:"Linear",focal_point:"0"},enabled:"True",type:"Gradient",
color:"rgb(255,255,255)",opacity:"1",image_mode:"Stretch",image_url:""},hatch_fill:{enabled:"False",type:"BackwardDiagonal",color:"rgb(0,0,0)",opacity:"1",thickness:"1",pattern_size:"10"},inside_margin:{left:"10",top:"5",right:"10",bottom:"5"},corners:{type:"Square",all:"10"},effects:{drop_shadow:{enabled:"True",opacity:"0.3",angle:"45",color:"Black",distance:"2",blur_x:"2",blur_y:"2"},enabled:"True"},enabled:"True"},name:"anychart_default"},label_style:{format:{value:"{%Value}{numDecimals:2}"},position:{placement_mode:"ByAnchor",
anchor:"Center",halign:"Center",valign:"Top",padding:"5"},font:{family:"Verdana",size:"10",color:"rgb(35,35,35)",bold:"true"},background:{border:{gradient:{key:[{color:"rgb(221,221,221)"},{color:"rgb(208,208,208)"}],angle:"90",type:"Linear",focal_point:"0"},enabled:"True",type:"Gradient"},fill:{gradient:{key:[{color:"rgb(255,255,255)"},{color:"rgb(243,243,243)"},{color:"rgb(255,255,255)"}],angle:"90",type:"Linear",focal_point:"0"},enabled:"True",type:"Gradient",color:"rgb(255,255,255)",opacity:"1",
image_mode:"Stretch",image_url:""},inside_margin:{left:"10",top:"5",right:"10",bottom:"5"},effects:{drop_shadow:{enabled:"True",opacity:"0.3",angle:"45",color:"Black",distance:"2",blur_x:"2",blur_y:"2"},enabled:"True"}},name:"anychart_default"},bar_pointer_style:{fill:{gradient:{key:[{color:"Blend(DarkColor(%Color),%Color,0.5)"},{color:"%Color"},{color:"Blend(DarkColor(%Color),%Color,0.5)"}],angle:"0"},type:"Gradient"},effects:{enabled:"false"},states:{hover:{fill:{gradient:{key:[{color:"Blend(DarkColor(%Color),LightColor(%Color),0.5)"},
{color:"LightColor(%Color)"},{color:"Blend(DarkColor(%Color),LightColor(%Color),0.5)"}],angle:"0"},type:"Gradient"},hatch_fill:{enabled:"true",type:"Percent50",color:"%Color"},border:{color:"%Color"}},pushed:{fill:{gradient:{key:[{color:"Blend(DarkColor(%Color),LightColor(%Color),0.5)"},{color:"LightColor(%Color)"},{color:"Blend(DarkColor(%Color),LightColor(%Color),0.5)"}],angle:"0"},type:"Gradient"},hatch_fill:{enabled:"true",type:"Percent50",color:"%Color"},border:{color:"%Color"},effects:{bevel:{enabled:"false"},
drop_shadow:{enabled:"false"},inner_shadow:{enabled:"true",opacity:"0.5",distance:"2"},enabled:"true"}}},name:"anychart_default",width:"%AxisSize"},tank_pointer_style:{states:{hover:{color:"LightColor(%Color)"},pushed:{color:"DarkColor(%Color)"}},name:"anychart_default",width:"%AxisSize*0.9"},thermometer_pointer_style:{fill:{gradient:{key:[{color:"Blend(DarkColor(%Color),%Color,0.7)"},{color:"%Color"},{color:"Blend(DarkColor(%Color),%Color,0.7)"}],angle:"0"},type:"Gradient"},border:{color:"DarkColor(%Color)"},
effects:{enabled:"false"},states:{hover:{fill:{gradient:{key:[{color:"Blend(DarkColor(%Color),LightColor(%Color),0.5)"},{color:"LightColor(%Color)"},{color:"Blend(DarkColor(%Color),LightColor(%Color),0.5)"}],angle:"0"},type:"Gradient"},hatch_fill:{enabled:"true",type:"Percent50",color:"%Color"},border:{color:"%Color"}},pushed:{fill:{gradient:{key:[{color:"Blend(DarkColor(%Color),LightColor(%Color),0.5)"},{color:"LightColor(%Color)"},{color:"Blend(DarkColor(%Color),LightColor(%Color),0.5)"}],angle:"0"},
type:"Gradient"},hatch_fill:{enabled:"true",type:"Percent50",color:"%Color"},border:{color:"%Color"},effects:{bevel:{enabled:"false"},drop_shadow:{enabled:"false"},inner_shadow:{enabled:"true",opacity:"0.5",distance:"2"},enabled:"true"}}},name:"anychart_default",width:"%AxisSize",bulb_radius:"%AxisSize",bulb_padding:"9"},range_bar_pointer_style:{fill:{gradient:{key:[{color:"Blend(DarkColor(%Color),%Color,0.5)"},{color:"%Color"},{color:"Blend(DarkColor(%Color),%Color,0.5)"}],angle:"0"},type:"Gradient"},
effects:{enabled:"false"},states:{hover:{fill:{gradient:{key:[{color:"Blend(DarkColor(%Color),LightColor(%Color),0.5)"},{color:"LightColor(%Color)"},{color:"Blend(DarkColor(%Color),LightColor(%Color),0.5)"}],angle:"0"},type:"Gradient"},hatch_fill:{enabled:"true",type:"Percent50",color:"%Color"},border:{color:"%Color"}},pushed:{fill:{gradient:{key:[{color:"Blend(DarkColor(%Color),LightColor(%Color),0.5)"},{color:"LightColor(%Color)"},{color:"Blend(DarkColor(%Color),LightColor(%Color),0.5)"}],angle:"0"},
type:"Gradient"},hatch_fill:{enabled:"true",type:"Percent50",color:"%Color"},border:{color:"%Color"},effects:{bevel:{enabled:"false"},drop_shadow:{enabled:"false"},inner_shadow:{enabled:"true",opacity:"0.5",distance:"2"},enabled:"true"}}},name:"anychart_default",width:"%AxisSize"},marker_pointer_style:{fill:{enabled:"true",color:"%Color"},border:{color:"DarkColor(%Color)"},effects:{bevel:{enabled:"true",distance:"1",highlight_opacity:"0.5",shadow_opacity:"0.5"},enabled:"true"},states:{hover:{fill:{color:"Blend(LightColor(%Color),%Color,0.5)"},
hatch_fill:{enabled:"true",type:"Percent50",color:"LightColor(%Color)"},border:{color:"%Color"}},pushed:{fill:{color:"Blend(LightColor(%Color),%Color,0.5)"},hatch_fill:{enabled:"true",type:"Percent50",color:"LightColor(%Color)"},border:{color:"%Color"},effects:{bevel:{enabled:"false"},inner_shadow:{enabled:"true",distance:"2",color:"Black",blur_x:"3",blur_y:"3",opacity:"0.5"}}}},name:"anychart_default",shape:"Triangle",width:"8",height:"8",align:"Inside",padding:"0"}},axis:{},frame:{enabled:"false"},
pointers:{label:{enabled:"false"},tooltip:{enabled:"false"}},defaults:{axis:{scale:{minimum:"0",maximum:"100",major_interval:"20"},scale_bar:{fill:{gradient:{key:[{color:"#E9E9E9"},{color:"#FFFFFF"},{color:"#E9E9E9"}]},enabled:"true",type:"Gradient"},effects:{drop_shadow:{enabled:"true",opacity:"0.4",distance:"1"},enabled:"true"},border:{enabled:"true",color:"#B9B9B9"},enabled:"true",size:"%AxisSize"},scale_line:{enabled:"true",color:"#494949",align:"Inside"},major_tickmark:{border:{enabled:"true",
color:"#494949"},enabled:"true",align:"Inside",width:"1.5",length:"5",shape:"Line"},minor_tickmark:{border:{enabled:"true",color:"#494949"},enabled:"true",align:"Inside",width:"1",length:"2",shape:"Line"},labels:{format:{value:"{%Value}{numDecimals:0}"},enabled:"true",align:"Inside",padding:"5"},position:"50",orientation:"Vertical",size:"10",start_margin:"5",end_margin:"5"}},name:"default"},label_template:{styles:{label_style:{format:{value:"{%Value}{numDecimals:2}"},position:{placement_mode:"ByAnchor",
anchor:"Center",halign:"Center",valign:"Top",padding:"5"},font:{family:"Verdana",size:"10",color:"rgb(35,35,35)",bold:"true"},background:{border:{gradient:{key:[{color:"rgb(221,221,221)"},{color:"rgb(208,208,208)"}],angle:"90",type:"Linear",focal_point:"0"},enabled:"True",type:"Gradient"},fill:{gradient:{key:[{color:"rgb(255,255,255)"},{color:"rgb(243,243,243)"},{color:"rgb(255,255,255)"}],angle:"90",type:"Linear",focal_point:"0"},enabled:"True",type:"Gradient",color:"rgb(255,255,255)",opacity:"1",
image_mode:"Stretch",image_url:""},inside_margin:{left:"10",top:"5",right:"10",bottom:"5"},effects:{drop_shadow:{enabled:"True",opacity:"0.3",angle:"45",color:"Black",distance:"2",blur_x:"2",blur_y:"2"},enabled:"True"}},name:"anychart_default"}},name:"default"},image_template:{styles:{label_style:{format:{value:"{%Value}{numDecimals:2}"},position:{placement_mode:"ByAnchor",anchor:"Center",halign:"Center",valign:"Top",padding:"5"},font:{family:"Verdana",size:"10",color:"rgb(35,35,35)",bold:"true"},
background:{border:{gradient:{key:[{color:"rgb(221,221,221)"},{color:"rgb(208,208,208)"}],angle:"90",type:"Linear",focal_point:"0"},enabled:"True",type:"Gradient"},fill:{gradient:{key:[{color:"rgb(255,255,255)"},{color:"rgb(243,243,243)"},{color:"rgb(255,255,255)"}],angle:"90",type:"Linear",focal_point:"0"},enabled:"True",type:"Gradient",color:"rgb(255,255,255)",opacity:"1",image_mode:"Stretch",image_url:""},inside_margin:{left:"10",top:"5",right:"10",bottom:"5"},effects:{drop_shadow:{enabled:"True",
opacity:"0.3",angle:"45",color:"Black",distance:"2",blur_x:"2",blur_y:"2"},enabled:"True"}},name:"anychart_default"}},name:"default"},indicator_template:{styles:{tooltip_style:{format:{value:"{%Value}{numDecimals:2}"},position:{anchor:"Float",halign:"Center",valign:"Top",padding:"5"},font:{family:"Verdana",size:"10",color:"rgb(35,35,35)"},background:{border:{gradient:{key:[{position:"0",color:"rgb(221,221,221)",opacity:"1"},{position:"1",color:"rgb(208,208,208)",opacity:"1"}],angle:"90",type:"Linear",
focal_point:"0"},enabled:"True",thickness:"1",type:"Gradient",opacity:"1",color:"rgb(0,0,0)",dashed:"False",dash_length:"5",space_length:"3",caps:"Round",joints:"Round"},fill:{gradient:{key:[{position:"0",color:"rgb(255,255,255)",opacity:"1"},{position:"0.5",color:"rgb(243,243,243)",opacity:"1"},{position:"1",color:"rgb(255,255,255)",opacity:"1"}],angle:"90",type:"Linear",focal_point:"0"},enabled:"True",type:"Gradient",color:"rgb(255,255,255)",opacity:"1",image_mode:"Stretch",image_url:""},hatch_fill:{enabled:"False",
type:"BackwardDiagonal",color:"rgb(0,0,0)",opacity:"1",thickness:"1",pattern_size:"10"},inside_margin:{left:"10",top:"5",right:"10",bottom:"5"},corners:{type:"Square",all:"10"},effects:{drop_shadow:{enabled:"True",opacity:"0.3",angle:"45",color:"Black",distance:"2",blur_x:"2",blur_y:"2"},enabled:"True"},enabled:"True"},name:"anychart_default"},label_style:{format:{value:"{%Value}{numDecimals:2}"},position:{placement_mode:"ByAnchor",anchor:"Center",halign:"Center",valign:"Top",padding:"5"},font:{family:"Verdana",
size:"10",color:"rgb(35,35,35)",bold:"true"},background:{border:{gradient:{key:[{color:"rgb(221,221,221)"},{color:"rgb(208,208,208)"}],angle:"90",type:"Linear",focal_point:"0"},enabled:"True",type:"Gradient"},fill:{gradient:{key:[{color:"rgb(255,255,255)"},{color:"rgb(243,243,243)"},{color:"rgb(255,255,255)"}],angle:"90",type:"Linear",focal_point:"0"},enabled:"True",type:"Gradient",color:"rgb(255,255,255)",opacity:"1",image_mode:"Stretch",image_url:""},inside_margin:{left:"10",top:"5",right:"10",
bottom:"5"},effects:{drop_shadow:{enabled:"True",opacity:"0.3",angle:"45",color:"Black",distance:"2",blur_x:"2",blur_y:"2"},enabled:"True"}},name:"anychart_default"},indicator_pointer_style:{fill:{color:"%Color"},border:{color:"Black"},name:"anychart_default",shape:"Rectangle",width:"10",height:"10"}},marker:{color:"Orange",value:"10"},name:"default"}}};function Te(){}x.e(Te,Pe);Te.prototype.ur=u("gauge");Te.prototype.pg=function(){return this.gf(Te.b.pg.call(this),Se)};
Te.prototype.Rn=function(a,b,c){Te.b.Rn.call(this,a,b,c);Ue(a,b,c,"circular_template");Ue(a,b,c,"linear_template");Ue(a,b,c,"label_template");Ue(a,b,c,"image_template");Ue(a,b,c,"indicator_template");B(b,"circular")&&0<F(b,"circular").length&&E(c,"circular",F(b,"circular"));B(b,"linear")&&0<F(b,"linear").length&&E(c,"linear",F(b,"linear"));B(b,"label")&&0<F(b,"label").length&&E(c,"label",F(b,"label"));B(b,"image")&&0<F(b,"image").length&&E(c,"image",F(b,"image"));B(b,"indicator")&&0<F(b,"indicator").length&&
E(c,"indicator",F(b,"indicator"))};function Ue(a,b,c,e){var f=F(a,e),b=F(b,e);c[e]=[];for(var e=c[e],h=f.length,a=0;a<h;a++)B(f[a],"name")&&(f[a].name=N(f[a],"name")),e.push(f[a]);f=b.length;for(a=0;a<f;a++)if(B(b[a],"name")){h=N(b[a],"name");E(b[a],"name",h);for(var j=n,k=0;k<e.length;k++)if(B(e[a],"name")&&G(e[a],"name")==h){j=i;c[k]=b[a];break}j||e.push(b[a])}else e.push(b[a])};function Ve(){this.La=0;this.TG=n}w=Ve.prototype;w.La=l;w.TG=l;w.v=l;w.yk=l;w.F=l;w.fc=l;w.f=function(a,b){B(a,"color")&&(this.La=Lb(a));B(a,"under_pointers")&&(this.TG=I(a,"under_pointers"));Cb(a,"color");var c=xe(b,"label_style",a,B(a,"style")?N(a,"style"):"anychart_default");this.F=new We;this.F.f(c)};w.p=function(a,b){this.v=new X(a);this.yk=b;var c=this.F.ta.Nb();c.Kb(a,c.bg);this.fc=c.Zb(a);this.v.Z(this.fc);return this.v};
w.ga=function(){this.fc&&this.F.ta.Nb().update(this.fc.o(),this.fc,this.yk.x,this.yk.y,this.yk.width,this.yk.height)};w.ya=function(a){if(this.fc){var b=this.F.ta.Nb();this.yk=a;b.update(this.fc.o(),this.fc,this.yk.x,this.yk.y,this.yk.width,this.yk.height)}};function Xe(){ue.call(this)}x.e(Xe,ue);Xe.prototype.Ca=l;Xe.prototype.Nb=q("Ca");Xe.prototype.f=function(a){a=Xe.b.f.call(this,a);this.Ca=new Ye;this.Ca.f(a);return a};function We(){Z.call(this)}x.e(We,Z);We.prototype.Ub=function(){return Xe};function Ze(a){X.call(this,a)}x.e(Ze,X);Ze.prototype.Oa=l;Ze.prototype.update=function(a){this.Oa.update(a)};Ze.prototype.Oi=function(a){this.Oa.Oi(a)};function $e(){}w=$e.prototype;w.na=n;w.isEnabled=q("na");w.xf=p("na");w.F=l;w.ea=q("F");w.lf=p("F");w.yr=function(){x.qa()};w.qb=function(a,b,c){return a.zr(this,b,this.k(a,b,c))};w.k=u(l);w.eb=function(a,b){b&&a&&b.eb(a.x,a.y)};w.WH=function(a){return new Ze(a)};w.Ng=function(a){return!a?n:B(a,"style")?i:B(a,"enabled")?I(a,"enabled")!=this.na:n};
w.tl=function(a){return a&&B(a,"style")};w.Ee=function(a,b){B(a,"enabled")&&(this.na=I(a,"enabled"));af(this,a,b)};w.gi=function(a,b){bf(this,a,b)};w.fi=function(a,b){bf(this,a,b)};function bf(a,b,c){B(b,"enabled")&&(a.na=I(b,"enabled"));B(b,"style")&&cf(a,c,N(b,"style"))}function af(a,b,c){var e=N(b,"style"),b=xe(c,a.Ib(),b,e);a.F=a.Hb();a.F.f(b)}function cf(a,b,c){var e=a.Ib(),f=b.ea(e,c);f?a.F=f:(a.F=a.Hb(),a.F.f(Ae(b,e,c)))}w.ya=function(a,b,c){b.isEnabled()&&this.eb(this.qb(a,b,c),c)};
w.copy=function(a){a.na=this.na;a.F=this.F;return a};function df(a,b){ue.call(this,a,b)}x.e(df,ue);w=df.prototype;w.enabled=i;w.isEnabled=q("enabled");w.padding=5;w.Y=q("padding");w.anchor=0;w.Ef=q("anchor");w.Ly=2;w.Ll=q("Ly");w.vAlign=1;w.Pl=q("vAlign");w.f=function(a){a=df.b.f.call(this,a);this.enabled=K(a);if(B(a,"hatch_type")){var b=G(a,"hatch_type");if(B(a,"hatch_fill")){var c=D(a,"hatch_fill");B(c,"type")&&E(c,"type",N(c,"type").split("%hatchtype").join(b))}}return a};function ef(){}w=ef.prototype;w.g=l;w.q=l;w.v=l;
w.p=function(a,b,c){this.g=a;this.q=b;this.v=c;this.Lc(a,b);this.ge(c)};w.update=function(a){this.q.eb(this.q.qb(this.g,a,this.v),this.v)};w.Oi=function(a){a?this.v.q.setAttribute("visibility","visible"):this.v.q.setAttribute("visibility","hidden")};function ff(){Z.call(this)}x.e(ff,Z);
ff.prototype.p=function(a,b){if(!b.isEnabled()||!this.ta.isEnabled()&&!this.ec.isEnabled()&&!this.ic.isEnabled()&&!this.gc.isEnabled()&&!this.Rb.isEnabled()&&!this.rc.isEnabled())return l;var c=b.WH(a.o()),e=this.dc();e.p(a,b,c);c.Oa=e;b.yr(a).Z(c);return c};function gf(){}x.e(gf,pe);gf.prototype.createElement=function(){return this.Oa.createElement()};gf.prototype.Ga=function(){this.Oa.Ga(this.q)};gf.prototype.Re=function(a){var b=this.g.o(),c="",e=this.g.oa().oa(),f=this.g.k();a.ud()?(c+=Y(a.xc(),b,f,e),c+=Vc()):c+=Xc();this.q.setAttribute("style",c)};gf.prototype.Yc=function(a){this.Oa.Yc(this.q,a)};function hf(){}x.e(hf,se);hf.prototype.Cb=function(a){return a.Cb()};hf.prototype.Je=function(a){return a.Je()};
hf.prototype.Yc=function(a){this.Oa.Yc(this.q,a)};function jf(){}x.e(jf,pe);jf.prototype.createElement=function(){return this.Oa.createElement()};jf.prototype.Ga=function(){this.Oa.Ga(this.q)};jf.prototype.Re=function(a){var b=this.g.o(),c="",e=this.g.oa().oa(),f=this.g.k();a.zc()?(c=a.Je()?c+od(a.Cb(),b,f,e):c+Vc(),c=a.ud()?c+Y(a.xc(),b,f,e):c+Wc()):c+=Xc();this.q.setAttribute("style",c)};jf.prototype.Yc=function(a){this.Oa.Yc(this.q,a)};function kf(){}x.e(kf,pe);kf.prototype.createElement=function(){return this.Oa.createElement()};
kf.prototype.Ga=function(){this.Oa.Ga(this.q)};kf.prototype.Re=function(a){this.q.setAttribute("style",a.jf()?tc(a.Fe(),this.g.o(),this.g.$e,this.g.oa().oa()):Xc())};kf.prototype.Yc=function(a){this.Oa.Yc(this.q,a)};function lf(){}x.e(lf,te);w=lf.prototype;w.gb=l;w.jb=l;w.Lc=function(){var a=this.g.ea();a.im()&&(this.gb=new jf,this.gb.p(this.g,this));a.Jh()&&(this.jb=new kf,this.jb.p(this.g,this))};w.ge=function(){var a=this.Ra();this.gb&&a.appendChild(this.gb.q);this.jb&&a.appendChild(this.jb.q)};
w.Ra=function(){return this.g.Ra()};w.update=function(a,b){this.gb&&this.gb.update(a,b);this.jb&&this.jb.update(a,b)};w.Yc=function(a,b){b.Qp()?a.setAttribute("filter",Dc(this.g.o().xk,b.Kl())):a.removeAttribute("filter")};function mf(a,b){ue.call(this,a,b)}x.e(mf,ve);w=mf.prototype;w.Bb=l;w.Cb=q("Bb");w.hc=l;w.xc=q("hc");w.Qc=l;w.Fe=q("Qc");
w.f=function(a){a=mf.b.f.call(this,a);B(a,"fill")&&(this.Bb=new nd,this.Bb.f(D(a,"fill")));this.Ux(a);B(a,"hatch_fill")&&(this.Qc=new rc,this.Qc.f(D(a,"hatch_fill")));return a};w.Ux=function(a){B(a,"border")&&(this.hc=new qd,this.hc.f(D(a,"border")))};w.Je=function(){return this.Bb&&this.Bb.isEnabled()};w.ud=function(){return this.hc&&this.hc.isEnabled()};w.jf=function(){return this.Qc&&this.Qc.isEnabled()};w.zc=function(){return this.Je()||this.ud()};
w.Ze=function(){return this.Je()&&this.Bb.be()||this.ud()&&this.hc.be()};function nf(){Z.call(this)}x.e(nf,Z);w=nf.prototype;w.Ub=function(){return mf};w.dc=function(){return new lf};w.wv=function(){return this.ta.zc()||this.ec.zc()||this.ic.zc()||this.Rb.zc()||this.gc.zc()||this.rc.zc()};w.Wn=function(){return this.ta.ud()||this.ec.ud()||this.ic.ud()||this.Rb.ud()||this.gc.ud()||this.rc.ud()};w.im=function(){return this.ta.zc()||this.ec.zc()||this.ic.zc()||this.Rb.zc()||this.gc.zc()||this.rc.zc()};
w.Jh=function(){return this.ta.jf()||this.ec.jf()||this.ic.jf()||this.Rb.jf()||this.gc.jf()||this.rc.jf()};w.Ze=function(){return this.ta.Ze()||this.ec.Ze()||this.ic.Ze()||this.Rb.Ze()||this.gc.Ze()||this.rc.Ze()};var of={};function pf(){}x.e(pf,jf);pf.prototype.update=function(a){pf.b.update.call(this,a);qf(this.Oa,this.q,a)};function rf(){}x.e(rf,jf);rf.prototype.update=function(a){rf.b.update.call(this,a);qf(this.Oa,this.q,a)};function sf(){}x.e(sf,ef);w=sf.prototype;w.gb=l;w.jb=l;w.Lc=function(a){var b=this.g.Da.ea();b.wv()&&(this.gb=new pf,this.gb.p(a,this,this.Cl));b.Jh()&&(this.jb=new rf,this.jb.p(a,this,this.Cl))};w.ge=function(a){this.gb&&a.appendChild(this.gb.q);this.jb&&a.appendChild(this.jb.q)};
w.update=function(a){sf.b.update.call(this,a);this.gb&&this.gb.update(a);this.jb&&this.jb.update(a)};w.Cl=function(){return this.g.o().ba()};function qf(a,b,c){var e=c.ng(a.g);e===tf?b.setAttribute("style",Xc()):b.setAttribute("d",a.q.aK.tn(e,a.g.o(),c.rb(),0,0,c.Ka(),c.wb()))}w.Yc=function(a,b){b.Qp()?a.setAttribute("filter",Dc(this.g.o().xk,b.Kl())):a.removeAttribute("filter")};function uf(a,b){ue.call(this,a,b)}x.e(uf,df);w=uf.prototype;w.Na=-1;w.ub=q("Na");w.mu=n;w.Cd=10;w.rb=q("Cd");w.LA=0;
w.Ka=q("Ia");w.KA=0;w.wb=q("ab");w.N=l;w.pd=q("N");w.Kl=function(){return this.N.Kl()};w.j=l;w.k=q("j");w.pe=function(){return this.N&&this.N.isEnabled()};w.Qp=function(){return this.pe()&&Boolean(this.N.We&&this.N.We.isEnabled())};w.Je=function(){return this.pe()&&this.N.Cb()&&this.N.Cb().isEnabled()};w.ud=function(){return this.pe()&&this.N.xc()&&this.N.xc().isEnabled()};w.zc=function(){return this.Je()||this.ud()};w.jf=function(){return this.pe()&&this.N.Fe()&&this.N.Cb().isEnabled()};w.Cb=function(){return this.N.Cb()};
w.Fe=function(){return this.N.Fe()};w.xc=function(){return this.N.xc()};w.ng=function(a){return this.mu?a.ng():this.Na};
w.f=function(a){var a=uf.b.f.call(this,a),b=D(a,"marker");B(a,"marker_type")&&b&&B(b,"type")&&E(b,"type",N(b,"type").split("%markertype").join(G(a,"marker_type")));if(b&&(B(b,"anchor")&&(this.anchor=id(D(b,"anchor"))),B(b,"size")&&(this.Cd=J(b,"size")),B(b,"size_width")&&(this.LA=J(b,"size_width")),B(b,"size_height")&&(this.KA=J(b,"size_height")),B(b,"padding")&&(this.padding=J(b,"padding")),B(b,"h_align")&&(this.Ly=ed(D(b,"h_align"))),B(b,"v_align")&&(this.vAlign=hd(D(b,"v_align"))),B(b,"type")))b=
N(b,"type"),this.mu="%markertype"==b,this.mu||(this.Na=vf(b));0==this.KA&&0==this.LA&&(this.KA=this.LA=this.Cd);10==this.anchor&&(this.vAlign=this.Ly=2);this.N=new sd;this.N.f(a);this.j=new R(0,0,this.LA,this.KA);return a};function wf(){Z.call(this)}x.e(wf,ff);w=wf.prototype;w.Ub=function(){return uf};w.dc=function(){return new sf};w.wv=function(){return this.ta.ud()||this.ec.ud()||this.ic.ud()||this.Rb.ud()||this.gc.ud()||this.rc.ud()};
w.Wn=function(){return this.ta.zc()||this.ec.zc()||this.ic.zc()||this.Rb.zc()||this.gc.zc()||this.rc.zc()};w.im=function(){return this.ta.zc()||this.ec.zc()||this.ic.zc()||this.Rb.zc()||this.gc.zc()||this.rc.zc()};w.Jh=function(){return this.ta.jf()||this.ec.jf()||this.ic.jf()||this.Rb.jf()||this.gc.jf()||this.rc.jf()};w.Ze=function(){return this.ta.Ze()||this.ec.Ze()||this.ic.Ze()||this.Rb.Ze()||this.gc.Ze()||this.rc.Ze()};var tf=-1;function vf(a){switch(a){default:case "none":return tf;case "circle":return 0;case "square":return 1;case "diamond":return 2;case "cross":return 3;case "diagonalcross":return 4;case "hline":return 5;case "vline":return 6;case "star4":return 7;case "star5":return 8;case "star6":return 9;case "star7":return 10;case "star10":return 11;case "triangleup":return 12;case "triangledown":return 13;case "image":return 14}}function xf(){this.Na=tf;this.aK=new yf}x.e(xf,$e);w=xf.prototype;w.Na=0;
w.ub=q("Na");w.aK=l;w.Ib=u("marker_style");w.Hb=function(){return new wf};w.yr=function(a){return a.G().uz};w.gi=function(a,b){xf.b.gi.call(this,a,b);zf(this,a)};w.fi=function(a,b){xf.b.fi.call(this,a,b);zf(this,a)};function zf(a,b){B(b,"type")&&(a.Na=vf(N(b,"type")))}w.k=function(a,b){return b.k()};w.copy=function(a){a||(a=new xf);a.Na=this.Na;return xf.b.copy.call(this,a)};function yf(){}
yf.prototype.tn=function(a,b,c,e,f,h,j){switch(a){default:case tf:return l;case 0:return j=T(e,f+c/2),j+=b.nb(c/2,n,i,e+c/2,f),j+=b.nb(c/2,n,i,e+c,f+c/2),j+=b.nb(c/2,n,i,e+c/2,f+c),j+=b.nb(c/2,n,i,e,f+c/2);case 1:return j||(j=c),h||(h=c),c=e+1,f+=1,e=h-2,j-=2,h=T(c,f),h+=V(c+e,f),h+=V(c+e,f+j),h+=V(c,f+j),h+=V(c,f),h+" Z";case 2:return j=T(e+c/2,f),j+=V(e+c,f+c/2),j+=V(e+c/2,f+c),j+=V(e,f+c/2),j+=V(e+c/2,f);case 3:return j=c/4,h=T(e+c/2-j/2,f),h+=V(e+c/2-j/2,f+c/2-j/2),h+=V(e,f+c/2-j/2),h+=V(e,f+
c/2+j/2),h+=V(e+c/2-j/2,f+c/2+j/2),h+=V(e+c/2-j/2,f+c),h+=V(e+c/2+j/2,f+c),h+=V(e+c/2+j/2,f+c/2+j/2),h+=V(e+c,f+c/2+j/2),h+=V(e+c,f+c/2-j/2),h+=V(e+c/2+j/2,f+c/2-j/2),h+=V(e+c/2+j/2,f),h+=V(e+c/2-j/2,f);case 4:return j=c/4*Math.SQRT2/2,h=T(e+j,f),h+=V(e+c/2,f+c/2-j),h+=V(e+c-j,f),h+=V(e+c,f+j),h+=V(e+c/2+j,f+c/2),h+=V(e+c,f+c-j),h+=V(e+c-j,f+c),h+=V(e+c/2,f+c/2+j),h+=V(e+j,f+c),h+=V(e,f+c-j),h+=V(e+c/2-j,f+c/2),h+=V(e,f+j),h+=V(e+j,f);case 5:return this.SC(b,c,e,f);case 6:return j=T(e+(c-c/4)/2,f),
j+=V(e+(c-c/4)/2+c/4,f),j+=V(e+(c-c/4)/2+c/4,f+c),j+=V(e+(c-c/4)/2,f+c),j+=V(e+(c-c/4)/2,f);case 13:return j=T(e+c/2,f+c),j+=V(e+c,f),j+=V(e,f),j+=V(e+c/2,f+c);case 12:return j=T(e+c/2,f),j+=V(e+c,f+c),j+=V(e,f+c),j+=V(e+c/2,f);case 7:return Af(c,e,f,4);case 8:return Af(c,e,f,5);case 9:return Bf(c,e,f,6);case 10:return Af(c,e,f,7);case 11:return Bf(c,e,f,10)}};
yf.prototype.SC=function(a,b,c,e){a=T(c,e+(b-b/4)/2);a+=V(c+b,e+(b-b/4)/2);a+=V(c+b,e+(b-b/4)/2+b/4);a+=V(c,e+(b-b/4)/2+b/4);return a+=V(c,e+(b-b/4)/2)};function Af(a,b,c,e){for(var f="",a=a/2,h=a/2,j=2*Math.PI/e,k=-Math.PI/2,m=k+j/2,s=0;s<=e;s++)var t=a*Math.cos(k),v=a*Math.sin(k),y=h*Math.cos(m),C=h*Math.sin(m),t=t+a,v=v+a,y=y+a,C=C+a,f=0==s?f+T(b+t,c+v):f+V(b+t,c+v),f=f+V(b+y,c+C),k=k+j,m=m+j;return f}
function Bf(a,b,c,e){var a=a/2,f=2*Math.PI/e,h=[],j,k="";for(j=0;j<=e;j++)h.push(new P(-a*Math.sin(j*f),-a*Math.cos(j*f)));k=h[0];j=h[1];var m=h[2],s=new P;s.x=(k.x-m.x)*(j.y-m.y)/(k.y-m.y)+m.x;s.y=j.y;s=Math.sqrt(Math.pow(s.x,2)+Math.pow(s.y,2));m=[];for(j=0;j<=e;j++)m.push(new P(-s*Math.sin(j*f+f/2),-s*Math.cos(j*f+f/2)));var k=T(b+k.x+a,c+k.y+a),t=0;for(j=0;j<=2*e;j+=2)f=h[t],s=m[t],k+=V(b+f.x+a,c+f.y+a),k+=V(b+s.x+a,c+s.y+a),t++;return k};function Cf(){}x.e(Cf,vd);w=Cf.prototype;w.Uh=0.05;w.za=q("Uh");w.pe=function(){return this.isEnabled()};w.f=function(a){Cf.b.f.call(this,a);this.isEnabled()&&B(a,"thickness")&&(this.Uh=Gb(a,"thickness"))};w.p=function(a){if(!this.isEnabled())return l;var b=new Df(a);b.vi=a.ba();b.Ei=a.ba();b.hx=a.ba();b.ix=a.ba();b.vi&&b.appendChild(b.vi);b.Ei&&b.appendChild(b.Ei);b.hx&&b.appendChild(b.hx);b.ix&&b.appendChild(b.ix);return b};
w.ga=function(a,b){var c=a.o(),e=a.vi,f=l,f=this.xc()&&this.xc().isEnabled()?Y(this.xc(),c,b):Wc(),f=f+Vc();e.setAttribute("d",Ef(this,c,b));e.setAttribute("style",f);c=a.o();e=a.Ei;f=l;f=this.xc()&&this.xc().isEnabled()?Y(this.xc(),c,b):Wc();f+=Vc();e.setAttribute("d",Ff(this,c,b));e.setAttribute("style",f);this.OC(a.o(),a.hx,a.ix,b)};
w.QC=function(a,b,c,e,f,h){var c=c.o(),j="",k=this.Bb.ib?1==this.Bb.ib.ub():l,j=this.Bb&&this.Bb.isEnabled()?j+od(this.Bb,c,e,f,k):j+Vc(),j=this.hc&&this.hc.isEnabled()?j+Y(this.hc,c,e,f,i):j+Wc();xd(a,b,j,h)};w.createElement=function(a){return a.ba()};function Df(a){X.call(this,a)}x.e(Df,X);Df.prototype.vi=l;Df.prototype.Ei=l;Df.prototype.hx=l;Df.prototype.ix=l;function Gf(a){return 105==a||106==a||107==a||108==a}
function Hf(a){switch(a){default:case "none":return-1;case "circle":return 0;case "square":return 1;case "diamond":return 2;case "cross":return 3;case "diagonalcross":return 4;case "hline":return 5;case "vline":return 6;case "star4":return 7;case "star5":return 8;case "star6":return 9;case "star7":return 10;case "star10":return 11;case "triangleup":return 12;case "triangledown":return 13;case "image":return 14;case "rectangle":return 105;case "triangle":return 106;case "trapezoid":return 107;case "pentagon":return 109;
case "line":return 108}}function If(){}x.e(If,yf);
If.prototype.tn=function(a,b,c,e,f,h,j,k){switch(a){case 109:h=Math.min(h,j)/2;j=T(e+h*this.HF[0],f+h*this.IF[0]);for(a=1;5>a;a++)j+=V(e+h*this.HF[a],f+h*this.IF[a]);j+=V(e+h*this.HF[0],f+h*this.IF[0]);return j+" Z";case 105:return Oc(e,f,h,j);case 107:return a=h/3,b=T(e+a,f),b+=V(e+h-a,f),b+=V(e+h,f+j),b+=V(e,f+j),b+=V(e+a,f),b+" Z";case 106:return a=T(e+h/2,f),a+=V(e,f+j),a+=V(e+h,f+j),a+=V(e+h/2,f),a+" Z";case 108:return Q(e+h/2,f,e+h/2,f+j,k);case 5:return this.SC(b,c,e,f,h,j,k);default:return If.b.tn.call(this,
a,b,c,e,f,h,j)}};If.prototype.HF=[1+Math.cos((0.4-0.5)*Math.PI),1+Math.cos((0.8-0.5)*Math.PI),1+Math.cos(0.7*Math.PI),1+Math.cos(1.1*Math.PI),1+Math.cos(1.5*Math.PI)];If.prototype.IF=[1+Math.sin((0.4-0.5)*Math.PI),1+Math.sin((0.8-0.5)*Math.PI),1+Math.sin(0.7*Math.PI),1+Math.sin(1.1*Math.PI),1+Math.sin(1.5*Math.PI)];If.prototype.SC=function(a,b,c,e,f,h,j){return Q(c,e+h/2,c+f,e+h/2,j)};function Jf(a){this.Tb=a;this.padding=0.15;this.type=2}w=Jf.prototype;w.Vc=l;w.Wd=l;w.background=l;w.Ym=l;w.type=l;w.Za=l;w.Tb=l;w.padding=l;w.GB=i;
w.f=function(a){this.padding=0;if(!B(a,"enabled")||I(a,"enabled")){if(B(a,"type"))switch(N(a,"type")){case "circular":this.type=0;break;case "auto":this.type=1;break;case "rectangular":this.type=2;break;case "roundedrectangular":this.type=3}B(a,"auto_fit")&&(this.GB=I(a,"auto_fit"));B(a,"padding")&&(this.padding=Gb(a,"padding"));K(a,"inner_stroke")&&(this.Vc=this.RH(),this.Vc.f(D(a,"inner_stroke")));K(a,"outer_stroke")&&(this.Wd=this.SH(),this.Wd.f(D(a,"outer_stroke")));B(a,"background")&&(this.background=
this.NH(),this.background.f(D(a,"background")));B(a,"corners")&&(this.Ym=new ld,this.Ym.f(D(a,"corners")))}};w.Ec=l;w.PB=l;w.wE=l;w.zF=l;w.Jg=l;w.p=function(a,b){this.Jg=a;this.Za=b;this.Ec=new X(this.Jg);this.Wd&&this.Wd.isEnabled()&&(this.zF=this.Wd.p(this.Jg),this.Ec.Z(this.zF));this.Vc&&this.Vc.isEnabled()&&(this.wE=this.Vc.p(this.Jg),this.Ec.Z(this.wE));this.background&&this.background.isEnabled()&&(this.PB=this.background.p(this.Jg),this.Ec.Z(this.PB));return this.Ec};
w.ga=function(){this.Wd&&this.Wd.isEnabled()&&this.Wd.ga(this.zF,this.Za);this.Vc&&this.Vc.isEnabled()&&this.Vc.ga(this.wE,this.Za);this.background&&this.background.isEnabled()&&this.background.ga(this.PB,this.Za)};w.ya=function(a){this.Za=a;this.ga()};function Kf(a,b){ue.call(this,a,b)}x.e(Kf,df);w=Kf.prototype;w.yw=l;w.sj=q("yw");w.hL=l;w.Dh=q("hL");
w.f=function(a){a=Kf.b.f.call(this,a);if(!this.enabled)return a;this.yw=this.XH();this.yw.f(a);if(!this.yw.isEnabled())return this.enabled=n,a;if(B(a,"position")){var b=D(a,"position");B(b,"anchor")&&(this.anchor=id(D(b,"anchor")));B(b,"halign")&&(this.Ly=ed(D(b,"halign")));B(b,"valign")&&(this.vAlign=hd(D(b,"valign")));B(b,"padding")&&(this.padding=J(b,"padding"))}B(a,"format")&&(this.hL=new Ld(G(a,"format")));return a};w.XH=function(){return new ae};function Lf(){}x.e(Lf,ef);w=Lf.prototype;
w.vd=l;w.Lc=function(a,b){var c=a.bd(b.ea()),e=c.sj();e.KE=i;e.Kb(a.o(),(b.jc?b.jc:c.Dh()).ia(a,this.Kd(a)));this.Zb(a,b,e)};w.Kd=function(a){return a.G?a.G().Kd():l};w.Zb=function(a,b,c){this.vd=c.Zb(a.o(),a.oa().oa(),n)};w.ge=function(a){a.Z(this.vd)};w.update=function(a){if(!a.isEnabled()||!a.sj())this.Oi(n);else{Lf.b.update.call(this,a);var b=a.sj(),c=this.g.o();b.Kb(c,(this.q.jc?this.q.jc:a.Dh()).ia(this.g,this.Kd(this.g)));this.hD(c,b,this.vd,this.g.oa().oa());this.Oi(i)}};
w.hD=function(a,b,c,e){b.update(a,c,e)};w.Oi=function(a){a?this.vd.q.setAttribute("visibility","visible"):this.vd.q.setAttribute("visibility","hidden")};function Mf(){Z.call(this)}x.e(Mf,ff);Mf.prototype.dc=function(){return new Lf};Mf.prototype.Ub=function(){return Kf};function Nf(){}x.e(Nf,$e);w=Nf.prototype;w.jc=l;w.Ib=u("label_style");w.Hb=function(){return new Mf};w.yr=function(a){return a.G().wy(this)};w.tl=function(a){return a&&(B(a,"format")||B(a,"style"))};w.Ee=function(a,b){Nf.b.Ee.call(this,a,b);Of(this,a)};w.gi=function(a,b){Nf.b.gi.call(this,a,b);Of(this,a)};w.fi=function(a,b){Nf.b.fi.call(this,a,b);Of(this,a)};function Of(a,b){B(b,"format")&&(a.jc=new Ld(G(b,"format")))}
w.k=function(a,b,c){b.sj().Kb(c.o(),(this.jc?this.jc:b.Dh()).ia(a,a.Kd?a.Kd():l));return b.sj().k().la()};w.copy=function(a){a||(a=new Nf);a.jc=this.jc;return Nf.b.copy.call(this,a)};function Pf(a,b){ue.call(this,a,b)}x.e(Pf,Kf);Pf.prototype.f=function(a){a=Pf.b.f.call(this,a);9==this.anchor&&2==this.vAlign&&(this.padding+=20);return a};function Qf(){Z.call(this)}x.e(Qf,Mf);Qf.prototype.p=function(a,b){var c=Qf.b.p.call(this,a,b);c&&c.Oi(n);return c};Qf.prototype.Hb=function(){return new Pf};function Rf(){this.II=x.userAgent.Km?this.AM:this.zM}x.e(Rf,Nf);w=Rf.prototype;w.Ib=u("tooltip_style");w.Hb=function(){return new Qf};w.yr=function(a){return a.G().Fy()};function Sf(a,b,c,e,f){if(9==e.Ef()){var h=a.k(c,e,f),j=new P;a.II(b,f,j);c.As(j,e.Ef(),e.Ll(),e.Pl(),h,e.Y());c.Bs(j,e.Ef(),e.Ll(),e.Pl(),h,e.Y());a.eb(j,f)}}w.II=l;
w.zM=function(a,b,c){for(var e=b.o().Uc().parentNode,b=$c(b),f=0,h=0;e!=l;)f+=e.offsetLeft,h+=e.offsetTop,e=e.offsetParent;c.x=a.clientX-(b.x+f);c.y=a.clientY-(b.y+h);return c};w.AM=function(a,b,c){b=$c(b);c.x=a.offsetX-b.x;c.y=a.offsetY-b.y;return c};w.copy=function(a){a||(a=new Rf);return Rf.b.copy.call(this,a)};function Tf(a,b){ue.call(this,a,b)}x.e(Tf,Kf);Tf.prototype.XH=function(){return new Ye};Tf.prototype.KD=function(){return this.yw.KD()};function Uf(){}x.e(Uf,Lf);Uf.prototype.Kd=u(l);Uf.prototype.hD=function(a,b,c,e){b.update(this.g.o(),c,0,0,this.g.n.Hc().k().width,this.g.n.Hc().k().height,e)};function Vf(){Z.call(this)}x.e(Vf,Mf);Vf.prototype.dc=function(){return new Uf};Vf.prototype.Ub=function(){return Tf};function Wf(){this.na=i;this.Cw=n}x.e(Wf,Nf);w=Wf.prototype;w.kc=l;w.Hc=q("kc");w.Cs=p("kc");w.Cw=l;w.Hb=function(){return new Vf};w.yr=function(a){return this.Cw?a.Hc().nz:a.Hc().mz};w.Ee=function(a,b){B(a,"enabled")&&(this.na=I(a,"enabled"));B(a,"under_pointers")&&(this.Cw=I(a,"under_pointers"));af(this,a,b)};w.qb=function(a,b){var c=new P;switch(b.KD()){case Xf:a.sr(b.Ef(),c);break;case Yf:case Zf:c.x=this.kc.k().x,c.y=this.kc.k().y}return c};
w.copy=function(a){a||(a=new Wf);a.Cs(this.kc);a.Cw=this.Cw;return Wf.b.copy.call(this,a)};function $f(){Rf.call(this);this.na=i}x.e($f,Rf);$f.prototype.Ee=function(a,b){B(a,"enabled")&&(this.na=I(a,"enabled"));af(this,a,b)};$f.prototype.yr=function(a){return a.Hc().xe};$f.prototype.copy=function(a){a||(a=new $f);return $f.b.copy.call(this,a)};function ag(){this.y=this.x=0;this.height=this.width=1;this.Za=new R;this.Fa=new jd(0);this.children=[];this.B=[]}w=ag.prototype;w.AD=u(0);w.Ea=l;w.getName=q("Ea");w.EF=l;w.LF=l;w.ym=p("LF");w.x=0;w.y=0;w.width=1;w.height=1;w.children=l;w.of=l;w.sF=function(){return this.children.length};w.Za=l;w.k=q("Za");w.Fa=l;w.B=l;w.XF=l;w.Va=function(a){a=a||{};a.children=[];for(var b=0;b<this.children.length;b++)a.children.push(this.children[b].Va());a.name=this.Ea;return a};
w.f=function(a){this.of=new we(D(a,"styles"));B(a,"name")&&(this.Ea=G(a,"name"));B(a,"parent")&&(this.EF=G(a,"parent"));B(a,"x")&&(this.x=Gb(a,"x"));B(a,"y")&&(this.y=Gb(a,"y"));B(a,"width")&&(this.width=Gb(a,"width"));B(a,"height")&&(this.height=Gb(a,"height"));B(a,"margin")&&this.Fa.f(D(a,"margin"));(this.frame=this.Hx(D(a,"frame")))&&B(a,"frame")&&this.frame.f(D(a,"frame"));if(B(a,"labels"))for(var a=F(D(a,"labels"),"label"),b=a.length,c=0;c<b;c++){var e=new Ve;e.f(a[c],this.of);this.B.push(e)}};
w.jG=o();w.frame=l;w.Jg=l;w.Ec=l;w.xe=l;w.Fx=l;w.RB=l;w.nz=l;w.mz=l;
w.p=function(a,b,c){this.Jg=a;this.Dc(b);this.Ec=new X(this.Jg);this.xe=c;this.frame&&this.Ec.Z(this.frame.p(this.Jg,this.Za));this.Fx=new X(this.Jg);this.RB=new X(this.Jg);this.nz=new X(this.Jg);this.mz=new X(this.Jg);this.Fx.Z(this.RB);this.Ec.Z(this.nz);this.Ec.Z(this.Fx);this.Ec.Z(this.mz);var e,b=0;for(e=this.B.length;b<e;b++){var f=this.B[b];f.TG?this.nz.Z(f.p(a,this.Za)):this.mz.Z(f.p(a,this.Za))}b=0;for(e=this.children.length;b<e;b++)this.Ec.Z(this.children[b].p(this.Jg,this.Za,c));return this.Ec};
w.ga=function(){var a,b;this.frame&&this.frame.ga();a=0;for(b=this.B.length;a<b;a++)this.B[a].ga();a=0;for(b=this.children.length;a<b;a++)this.children[a].ga()};w.ya=function(a){var b;this.Dc(a);this.frame&&this.frame.ya(this.Za);a=0;for(b=this.B.length;a<b;a++)this.B[a].ya(this.Za);a=0;for(b=this.children.length;a<b;a++)this.children[a].ya(this.Za)};
w.Dc=function(a){this.Za.x=a.x+this.x*a.width;this.Za.y=a.y+this.y*a.height;this.Za.width=a.width*this.width;this.Za.height=a.height*this.height;var a=this.Za,b=a.width,c=a.height;a.kh(a.pb()+this.Fa.pb()*b/100);a.lh(a.Ja()-this.Fa.Ja()*b/100);a.mh(a.lb()+this.Fa.lb()*c/100);a.jh(a.ja()-this.Fa.ja()*c/100)};function bg(){ag.call(this);this.Eb=new Ye}x.e(bg,ag);w=bg.prototype;w.Eb=l;w.vd=l;w.f=function(a){bg.b.f.call(this,a);this.Eb.f(a)};
w.p=function(a,b,c){bg.b.p.call(this,a,b,c);this.Eb.Kb(a,this.Eb.bg);this.vd=this.Eb.Zb(a);this.vd.q.setAttribute("id","LabelGaugeTextSprite");this.Ec.Z(this.vd);return this.Ec};w.Dc=function(a){bg.b.Dc.call(this,a);this.Za.x=a.x;this.Za.y=a.y;this.Za.width=a.width;this.Za.height=a.height};w.ga=function(){this.Eb.update(this.vd.o(),this.vd,this.Za.x,this.Za.y,this.Za.width,this.Za.height)};w.ya=function(a){bg.b.ya.call(this,a);this.ga()};w.Hx=u(l);function cg(){}cg.prototype.apply=function(a,b,c){var e=dg(b,"default"),f=B(a,"template")?N(a,"template"):c;if(f){c=[];for(f=dg(b,f);f;)c.push(f),f=B(f,"parent")?dg(b,N(f,"parent")):l;for(b=c.length-1;0<=b;b--)e=eg(e,c[b])}return eg(e,a)};
function eg(a,b){var c=Nb(a,b);a&&fg(a);b&&fg(b);var e=Qb(D(a,"styles"),D(b,"styles"));e&&E(c,"styles",e);if(B(c,"defaults")&&(e=D(c,"defaults"),B(e,"axis"))){e=D(e,"axis");if(B(c,"axis")){var f=gg(e,D(a,"axis")),f=gg(f,D(c,"axis"));E(c,"axis",f)}if(B(c,"extra_axes")){for(var f=[],h=D(c,"extra_axes"),j=F(h,"axis"),k=j.length,m=0;m<k;m++)f.push(gg(e,j[m]));E(h,"axis",f)}}return c}
function gg(a,b){if(b==l&&a!=l)return a;if(b!=l&&a==l)return b;var c=Nb(a,b);E(c,"color_ranges",Ub(D(a,"color_ranges"),D(b,"color_ranges"),"color_range"));E(c,"custom_labels",Ub(D(a,"custom_labels"),D(b,"custom_labels"),"custom_label"));E(c,"trendlines",Ub(D(a,"trendlines"),D(b,"trendlines"),"trendline"));return c}function fg(a){if(B(a,"styles"))for(var a=F(a,"styles"),b=0;b<a.length;b++)B(a[b],"name")&&(a[b].name=N(a[b],"name"))}
function dg(a,b){for(var b=b.toLowerCase(),c=0;c<a.length;c++){var e=a[c];if(B(e,"name")&&N(e,"name")==b)return e}return l};function hg(a,b){ue.call(this,a,b);this.ra=ig;this.ua=0}x.e(hg,mf);w=hg.prototype;w.ra=l;w.ua=l;w.Y=q("ua");w.f=function(a){var b=a=hg.b.f.call(this,a);B(b,"align")&&(this.ra=jg(b));B(b,"padding")&&(this.ua=Gb(b,"padding"));return a};w.kp=function(a){this.Bb&&this.Bb.Ze()&&a.Ne(this.Bb.ib);this.hc&&this.hc.Ze()&&a.Ne(this.hc.ib)};w.kp=function(a){this.Bb&&this.Bb.be()&&a.Ne(this.Bb.ib);this.Ab&&this.Ab.be()&&a.Ne(this.Ab.ib)};function kg(){this.j=new R;this.ys=this.Uo=this.Xr=this.Lj=n;this.La=pb("#F1683C",g)}w=kg.prototype;w.hd=l;w.AK=l;w.kc=l;w.Hc=q("kc");w.Cs=p("kc");w.Lj=n;w.Na=-1;w.Ea=l;w.getName=q("Ea");w.fE=function(){return this.Ea&&""!=this.Ea};w.Uo=n;w.ys=n;w.Fm=i;w.n=l;w.Mj=p("n");w.v=l;w.Ra=q("v");w.o=function(){return this.v.o()};w.od=l;w.dg=l;w.F=l;w.ea=q("F");w.sa=l;w.De=l;w.Ca=l;w.tc=l;w.fc=l;w.xe=l;w.Ha=NaN;w.ia=q("Ha");w.jo=p("Ha");w.qq=l;
function lg(a,b){var c=a.n.O();return!c.mc&&b<c.K?c.K:!c.lc&&b>c.V?c.V:b}w.j=l;w.k=q("j");w.La=l;w.oa=q("La");w.Ki=p("La");w.$e=l;w.jq=p("$e");w.BD=function(){return this.Ib()};w.Va=function(a){a==l&&(a={});a.name=this.Ea;a.value=this.Ha;return a};
w.f=function(a,b,c){a:{var e=B(a,"style")?N(a,"style"):"anychart_default",f=this.Ib(),h=this.BD()?D(a,this.BD()):a,j;if(h)j=xe(b,f,h,e);else{j=b.ea(f,e);if(j!=l){this.F=j;break a}j=Ae(b,f,e)}j?(this.F=this.Hb(),this.F.f(j),h&&(h=this.F,b.bj[f]||(b.bj[f]={}),b.bj[f][e]=h)):this.F=b.ea(f,"anychart_default")}e=this.F;e.ta.kp&&(e.ta.kp(this.kc),e.ec.kp(this.kc),e.ic.kp(this.kc),e.Rb.kp(this.kc),e.gc.kp(this.kc));B(a,"name")&&(this.Ea=D(a,"name"));B(a,"value")&&(this.Ha=J(a,"value"));B(a,"selected")&&
(this.Lj=I(a,"selected"));B(a,"editable")&&(this.Uo=I(a,"editable"));B(a,"use_hand_cursor")&&(this.Fm=I(a,"use_hand_cursor"));B(a,"allow_select")&&(this.ys=I(a,"allow_select"));if(B(a,"attributes")){this.od={};e=F(D(a,"attributes"),"attribute");f=e.length;for(h=0;h<f;h++)if(j=e[h],B(j,"name")){var k;B(j,"custom_attribute_value")?k=D(j,"custom_attribute_value"):B(j,"value")&&(k=D(j,"value"));k&&(this.od["%"+G(j,"name")]=k)}}B(a,"actions")&&(this.dg=new ge(c,this),this.dg.f(D(a,"actions")));B(a,"color")&&
(this.La=Lb(a));B(a,"hatch_type")&&(this.$e=sc(N(a,"hatch_type")));B(a,"label")&&this.Ca.Ee(D(a,"label"),b);B(a,"tooltip")&&this.tc.Ee(D(a,"tooltip"),b);this.Ha&&!isNaN(this.Ha)&&(this.qq=this.Ha.toString())};w.Ru=function(a){this.Fm&&Uc(a.q);x.w.Ua(a.q,z.bi,this.eh,n,this);x.w.Ua(a.q,z.ai,this.Di,n,this);x.w.Ua(a.q,z.ro,this.wN,n,this);x.w.Ua(a.q,z.vB,this.km,n,this);x.w.Ua(a.q,z.$h,this.Up,n,this)};w.hB=function(){this.Xr=i};w.gB=function(){this.Xr=n};
w.eh=function(){this.Xr=i;this.De=this.Lj?"SelectedHover":"Hover";this.sa=this.bd(this.F);this.Oa.update(this.sa,n);this.xe&&(this.xe.update(this.bd(this.tc.ea())),this.xe.Ni(i))};w.Di=function(){this.Xr=n;this.De=this.Lj?"SelectedNormal":"Normal";this.sa=this.bd(this.F);this.Oa.update(this.sa,n);this.xe&&this.xe.Oi(n)};
w.wN=function(){this.dg&&this.dg.execute(this);this.Lj||(this.De="Pushed",this.sa=this.bd(this.F),this.Oa.update(this.sa,n));if(this.Uo){var a=this.v;x.w.bc(a.q,z.bi,this.eh,n,this);x.w.bc(a.q,z.ai,this.Di,n,this);x.w.bc(a.q,z.$h,this.Up,n,this);x.w.Ua(a.q,z.bi,this.hB,n,this);x.w.Ua(a.q,z.ai,this.gB,n,this);this.fc&&(a=this.fc,x.w.bc(a.q,z.bi,this.eh,n,this),x.w.bc(a.q,z.ai,this.Di,n,this),x.w.bc(a.q,z.$h,this.Up,n,this),x.w.Ua(a.q,z.bi,this.hB,n,this),x.w.Ua(a.q,z.ai,this.gB,n,this));x.w.Ua(this.kc.Ec.q,
z.$h,this.bL,n,this);x.w.Ua(this.kc.Ec.q,z.Cq,this.aL,n,this)}};
w.aL=function(){var a=this.v;x.w.Ua(a.q,z.bi,this.eh,n,this);x.w.Ua(a.q,z.ai,this.Di,n,this);x.w.Ua(a.q,z.$h,this.Up,n,this);x.w.bc(a.q,z.bi,this.hB,n,this);x.w.bc(a.q,z.ai,this.gB,n,this);this.fc&&(a=this.fc,x.w.Ua(a.q,z.bi,this.eh,n,this),x.w.Ua(a.q,z.ai,this.Di,n,this),x.w.Ua(a.q,z.$h,this.Up,n,this),x.w.bc(a.q,z.bi,this.hB,n,this),x.w.bc(a.q,z.ai,this.gB,n,this));this.Xr?this.eh(l):this.Di(l);x.w.bc(this.kc.Ec.q,z.$h,this.bL,n,this);x.w.bc(this.kc.Ec.q,z.Cq,this.aL,n,this)};
w.bL=function(a){this.CH(a,a.offsetX,a.offsetY);a={pointerName:this.Ea,pointerValue:this.Ha,gaugeName:this.kc.getName()};mg(this.kc.LF.J,new le("valueChange",a))};w.km=function(a){this.ys&&!this.Lj&&(this.kc.XF&&this.kc.XF.Sx(),this.kc.XF=this,this.Lj=i,this.eh(a))};w.Up=function(a){this.Xr&&this.xe&&Sf(this.tc,a,this,this.bd(this.tc.ea()),this.xe)};w.Sx=function(){this.Lj=n;this.Di(l)};
function ng(a,b){if(b.value!=g){var c=b.value;a.qq=b.value.toString();if(a.n!=l){a.n.mc=n;a.n.lc=n;if(isNaN(a.hd)||a.hd==l)a.hd=a.n.O().V-a.n.O().K,a.AK=a.n.O().K;var e=a.n.O();if(c>e.V)e.K=Math.ceil((c-a.hd)/e.zb)*e.zb,e.V=e.K+a.hd,e.Pc(),a.n.ya();else if(c<a.n.O().K){var f=Math.max(Math.floor((c-a.hd)/e.zb)*e.zb,a.AK);e.K=f;e.V=e.K+a.hd;e.Pc();a.n.ya()}}a.Ha=c}b.color!=g&&(a.La=pb(b.color,g));og(a,a.Ha)}function og(a,b){a.Ha=b;a.tc!=l&&a.xe&&(a.xe.update(a.bd(a.tc.ea())),a.xe.Ni(i));a.ga()}
w.p=function(a){this.v=new X(a);this.Ru(this.v);this.De=(this.Lj=this.ys&&this.Lj)?"SelectedNormal":"Normal";this.sa=this.bd(this.F);this.Oa=this.F.p(this);this.Ca&&(this.fc=this.Ca.ea().p(this,this.Ca))&&this.Ru(this.fc);this.tc&&(this.xe=this.tc.ea().p(this,this.tc));return this.v};w.ga=function(){this.Oa.update(this.sa,i);if(this.Ca){var a=this.Ca,b=this.fc;b&&a&&b.update(this.bd(a.ea()))}};w.bd=function(a){return this.VD(a,this.De)};
w.VD=function(a,b){switch(b){default:case "Normal":return a.ta;case "Hover":return a.ec;case "Pushed":return a.ic;case "SelectedNormal":return a.Rb;case "SelectedHover":return a.gc;case "Missing":return a.rc}};w.ya=function(){this.Oa.update(l,i);this.eq(this.Ca,this.fc)};w.eq=function(a,b){a&&b&&b.update(this.bd(a.ea()))};w.Ba=function(a){return"%Value"==a?this.qq:"%Name"==a?this.Ea:this.od[a]?this.od[a]:""};w.Aa=function(a){return"%Value"==a?2:1};
w.zr=function(a,b,c){if(!a||!b||!c||this.cb&&!this.D.ui)return l;a=new P;this.sr(a,b.Ef());10!=b.Ef()&&(this.As(a,b.Ef(),b.Ll(),b.Pl(),c,b.Y()),this.Bs(a,b.Ef(),b.Ll(),b.Pl(),c,b.Y()));return a};w.As=function(a,b,c,e,f,h){switch(c){case 0:a.x-=f.width+h;break;case 1:a.x+=h;break;case 2:a.x-=f.width/2}};w.Bs=function(a,b,c,e,f,h){switch(e){case 0:a.y-=f.height+h;break;case 2:a.y+=h;break;case 1:a.y-=f.height/2}};
w.sr=function(a,b){switch(a){case 0:b.x=this.j.x+this.j.width/2;b.y=this.j.y+this.j.height/2;break;case 7:b.x=this.j.x+this.j.width/2;b.y=this.j.y+this.j.height;break;case 1:b.x=this.j.x;b.y=this.j.y+this.j.height/2;break;case 5:b.x=this.j.x+this.j.width;b.y=this.j.y+this.j.height/2;break;case 3:b.x=this.j.x+this.j.width/2;b.y=this.j.y;break;case 8:b.x=this.j.x;b.y=this.j.y+this.j.height;break;case 2:b.x=this.j.x;b.y=this.j.y;break;case 6:b.x=this.j.x+this.j.width;b.y=this.j.y+this.j.height;break;
case 4:b.x=this.j.x+this.j.width,b.y=this.j.y}};var ig=2;function jg(a){switch(N(a,"align")){case "inside":return 0;case "outside":return 1;default:return ig}}function pg(a,b,c){var e=G(a,b);return 0==e.indexOf("%")?(a=c,-1!=e.indexOf("*")&&(a*=Number(e.substr(e.indexOf("*")+1))),a):Gb(a,b)}function qg(a){return 0==(""+a).indexOf("%")}function rg(a){a=""+a;return-1==a.indexOf("*")?1:Number(a.substr(a.indexOf("*")+1))};function sg(){tg(this)}w=sg.prototype;w.uI=o();w.MJ=u(n);w.qc=l;w.pc=l;w.Xc=n;w.Mb=q("Xc");w.K=l;w.V=l;w.mc=l;w.lc=l;w.zb=NaN;w.Eh=l;w.Bd=NaN;w.cf=l;w.Gz=l;w.os=l;w.je=l;w.Ik=l;w.Xc=l;w.CD=q("Xc");w.xg=l;w.qj=q("xg");w.Ac=l;w.Ic=l;w.mb=l;w.hf=l;
w.f=function(a){if(B(a,"mode"))switch(O(a,"mode")){default:case "normal":this.xg=0;break;case "stacked":this.xg=1;break;case "percentstacked":this.xg=2;break;case "overlay":this.xg=3;break;case "sortedoverlay":this.xg=4}if(B(a,"minimum")){var b=D(a,"minimum");Kb(b)?this.mc=i:(this.mc=n,this.K=this.kg(b))}else 2==this.xg&&(this.mc=n,this.K=0);B(a,"maximum")?(b=D(a,"maximum"),Kb(b)?this.lc=i:(this.lc=n,this.V=this.kg(b))):2==this.xg&&(this.lc=n,this.V=100);B(a,"major_interval")&&(b=D(a,"major_interval"),
Kb(b)?this.Eh=i:(this.Eh=n,this.zb=H(b)));B(a,"minor_interval")&&(b=D(a,"minor_interval"),Kb(b)?this.cf=i:(this.cf=n,this.Bd=H(b)));B(a,"minimum_offset")&&(this.Gz=Ib(D(a,"minimum_offset")));B(a,"maximum_offset")&&(this.os=Ib(D(a,"maximum_offset")));B(a,"inverted")&&(this.Xc=I(a,"inverted"));B(a,"base_value")&&(a=D(a,"base_value"),Kb(a)?this.Ik=i:(this.Ik=n,this.je=this.kg(a)))};w.kg=function(a){return H(a)};
w.Pc=function(){isNaN(this.qc)&&isNaN(this.pc)&&this.mc&&this.lc&&(this.mc=n,this.K=0,this.lc=n,this.V=1);if(this.lc||this.mc){var a=this.pc-this.qc;this.mc&&(this.K=0>this.qc||0<=this.qc-this.Gz*a?this.qc-this.Gz*a:this.qc);this.lc&&(this.V=0<this.pc||0>=this.pc+this.os*a?this.pc+this.os*a:this.pc);this.V<=this.K&&(this.lc?this.V=this.K+1:this.mc&&(this.K=this.V-1))}};function tg(a){a.K=0;a.V=1;a.je=0;a.Gz=0.1;a.os=0.1;a.Xc=n;a.pc=NaN;a.qc=NaN;a.mc=i;a.lc=i;a.Eh=i;a.cf=i;a.Ik=i;a.xg=0}
w.contains=function(a){var b=this.K,c=this.V,e=a;0==e&&(e=b);0==e&&(e=c);var f=Math.pow(10,Math.max(6,Math.floor(Math.log(Math.abs(e))/Math.log(10))+3));return(a>b||Math.abs(a-b)<=Math.abs(e)/f)&&(a<c||Math.abs(a-c)<=Math.abs(e)/f)};w.fs=function(a){return this.contains(a)};w.xb=function(a,b){var c=b?this.Ic-this.Ac:this.Ic,e=b?0:this.Ac,f=(this.Ic-this.Ac)*((a-this.K)/(this.V-this.K));return this.Xc?c-f:e+f};
w.aB=function(a){a=(this.V-this.K)*((a-this.Ac)/(this.Ic-this.Ac));a=this.Xc?this.V-a:this.K+a;a>this.V?a=this.V:a<this.K&&(a=this.K);return a};w.kb=function(a){a=(this.Ic-this.Ac)*((a-this.K)/(this.V-this.K));return this.Xc?this.Ic-a:this.Ac+a};w.bb=function(a){return(10*this.je+10*a*this.zb)/10};w.tr=function(a){return this.bb(a)};w.og=function(a,b){return(10*a+10*b*this.Bd)/10};function ug(a){a.mb=parseInt((a.V-a.je)/a.zb+0.01);0>a.mb&&(a.mb=0)}
w.mk=function(){ug(this);this.hf=parseInt(this.zb/this.Bd+0.01);0>this.hf&&(this.hf=0)};w.Lg=function(){this.Ik||(this.je=1)};function vg(a,b){if(0==a)return 0;var c=a/b;return b*(c-Math.floor(c))}function wg(a,b,c){a/=b;b=Math.floor(Math.log(a)/Math.LN10);b=Math.pow(10,b);c=c?Math.ceil(a/b):Math.floor(Number(a/b+0.5));5<c?c=10:2<c?c=5:1<c&&(c=2);return c*b}
function xg(a,b){var c=Math.max(a/7,Math.pow(10,-b)),e=Math.floor(Math.log(c)/Math.LN10),e=Math.pow(10,e),c=Math.floor(Number(c/e+0.5));5<c?c=10:2<c?c=5:1<c&&(c=2);return c*e}w.ya=o();function yg(){}function zg(a,b,c){a=new Date(a);switch(b){case 0:b=Math.floor(c);a.setUTCFullYear(a.getUTCFullYear()+b);c!=b&&ec(a,12*(c-b));break;case 1:ec(a,c);break;case 2:fc(a,c);break;case 3:gc(a,c);break;case yg.$O:hc(a,c);break;case 5:a.setUTCSeconds(a.getUTCSeconds()+c)}return a.getTime()}
function Ag(a,b,c){var e=new Date(b),f=c?1:0,h=e.getUTCFullYear(),j=e.getUTCMonth(),k=e.getUTCDate(),m=e.getUTCHours(),s=e.getUTCMinutes(),e=e.getUTCSeconds(),t=1==k,v=0==m,y=0==s,C=0==e;switch(a){default:case 0:return c&&0==j&&t&&v&&y&&C?b:(new Date(Date.UTC(h+f,0))).getTime();case 1:return c&&t&&v&&y&&C?b:(new Date(Date.UTC(h,j+f))).getTime();case 2:return c&&v&&y&&C?b:(new Date(Date.UTC(h,j,k+f))).getTime();case 3:return c&&y&&C?b:(new Date(Date.UTC(h,j,k,m+f))).getTime();case 4:return c&&C?b:
(new Date(Date.UTC(h,j,k,m,s+f))).getTime();case 5:return(new Date(Date.UTC(h,j,k,m,s,e+f))).getTime()}}
function Bg(a,b){var c=a.V-a.K,e;15768E7<c?(c=Cg(a,c,b),a.cf&&(a.Ih=0,1==c?a.Bd=0.25:(xg(c),a.Bd=g)),e=c):31536E6<c?(e=Cg(a,c,b),a.cf&&(a.Ih=1,a.Bd=Math.ceil(c/(3*b)/2592E6),6<a.Bd?a.Bd=12:3<a.Bd&&(a.Bd=6))):7776E6<c?(a.$g=1,c=Math.ceil(c/b/2592E6),a.cf&&(a.Ih=2,a.Bd=7.5*c),e=c):864E6<c?(c=Dg(a,c,b),a.cf&&(a.Ih=2,e=c/4,a.Bd=12<e?12:6<e?6:3<e?3:2<e?2:1),e=c):2592E5<c?(e=Dg(a,c,b),a.cf&&(a.Ih=3,c=Math.ceil(24*(c/(3*b))),a.Bd=6<c?12:3<c?6:1)):36002880<c?(c=Eg(a,c,b),c=12<c?24:6<c?12:2<c?6:1<c?2:1,a.cf&&
(a.Ih=3,a.Bd=1>=c?0.25:6>=c?1:12>=c?2:4),e=c):108E5<c?(e=Eg(a,c,b),a.cf&&(a.Ih=4,a.Bd=Fg(Math.ceil(60*(c/(3*b)))))):599616<c?(c=Gg(a,c,b),c=Fg(c),a.cf&&(a.Ih=4,a.Bd=1>=c?0.25:5>=c?1:5),e=c):179971.2<c?(e=Gg(a,c,b),a.cf&&(a.Ih=5,c=Math.ceil(86400*(c/(3*b))),c=Fg(c),a.Bd=c)):2592E5<c&&(a.$g=5,c=Math.ceil(86400*(c/b)/864E5),c=Fg(c),a.cf&&(a.Ih=5,a.Bd=1>=c?0.25:5>=c?1:5),e=c);return e}function Cg(a,b,c){a.$g=0;return a=Math.ceil(b/c/31536E6)}function Dg(a,b,c){a.$g=2;return a=Math.ceil(b/c/864E5)}
function Eg(a,b,c){a.$g=3;return a=Math.ceil(b/c/864E5)}function Gg(a,b,c){a.$g=4;return a=Math.ceil(1440*(b/c)/864E5)}function Fg(a){return 15<a?30:5<a?15:1<a?5:1};function Hg(a){this.cm=a}w=Hg.prototype;w.cm=l;w.xa=l;w.eb=p("xa");w.qb=q("xa");w.tB=l;w.setYear=p("tB");w.Hz=l;w.setMonth=p("Hz");w.fr=l;w.gp=l;w.sv=l;w.Uv=l;w.bB=l;w.cu=l;w.Bn=l;w.Ri=l;w.Vy=l;function Ig(a,b){for(var c=b.length,e=0;e<c;e++){var f=sb(b[e]);if(a.xa+f.length<=a.Ri.length&&a.Ri.substr(sb(a.xa))==f)return e}return-1}
function Jg(a){var b=a.Ri.charAt(a.xa);for(a.xa++;2>b.length&&a.xa<a.Ri.length&&!isNaN(Number(a.Ri.charAt(a.xa)));)b+=a.Ri.charAt(a.xa),a.xa++;return Math.floor(Number(b))}function Kg(a,b){var c=Math.floor(Number(a.Ri.substr(a.xa,b)));a.xa+=b;return c}function Lg(a,b,c){b=sb(b);c=sb(c);a.Ri.substr(sb(a.xa))==b?(a.Vy=i,a.xa+=b.length):a.Ri.substr(sb(a.xa))==c&&(a.Vy=n,a.xa+=c.length)}w.clear=function(){this.sv=this.Bn=this.gp=this.cu=this.fr=this.Hz=this.tB=-1;this.bB=this.Uv=NaN;this.Vy=i};
var Mg={u:function(a){for(var b="",c=a.qb(),e=a.Ri;c<e.length&&!isNaN(Number(e.charAt(c)));)b+=e.charAt(c),c++;a.eb(c);a.bB=Number(b)},d:function(a){var b=Jg(a);a.fr=b},dd:function(a){var b=Kg(a,2);a.fr=b},ddd:function(a){var b=Ig(a,a.eF.HA[g]);a.cu=b;a.xa+=a.eF.sR[b].length},dddd:function(a){var b=Ig(a,a.eF.qB[g]);a.cu=b;a.xa+=a.eF.IR[b].length},M:function(a){a.setMonth(Jg(a)-1)},MM:function(a){a.setMonth(Kg(a,2)-1)},MMM:function(a){var b=Ig(a,a.cm.TD());a.setMonth(b);a.xa+=a.cm.TD[b].length},MMMM:function(a){var b=
Ig(a,a.cm.GD());a.setMonth(b);a.xa+=a.cm.GD[b].length},y:function(a){a.setYear(2E3+Jg(a))},yy:function(a){a.setYear(2E3+Kg(a,2))},yyyy:function(a){a.setYear(Kg(a,4))},h:function(a){var b=Jg(a);a.Bn=b},hh:function(a){var b=Kg(a,2);a.Bn=b},H:function(a){var b=Jg(a);a.gp=b},HH:function(a){var b=Kg(a,2);a.gp=b},m:function(a){var b=Jg(a);a.sv=b},mm:function(a){var b=Kg(a,2);a.sv=b},s:function(a){var b=Jg(a);a.Uv=b},ss:function(a){var b=Kg(a,2);a.Uv=b},t:function(a){Lg(a,a.cm.FA,a.cm.GA)},tt:function(a){Lg(a,
a.cm.Yw,a.cm.Xz)}};function Ng(){}w=Ng.prototype;w.FB=l;w.Bl=l;w.Dv=l;w.p=function(a){this.FB=[];this.Bl=[];this.Dv=new Hg(a);a=a.vz.split("%");this.Bl=[];this.Bl.push(a[0].length);for(var b=a.length,c=1;c<b;c++){for(var e=(""+a[c]).charAt(0),f=e,h=(""+a[c]).length,j=1;j<h&&(""+a[c]).charAt(j)==e;j++)f+=e;(e=Mg[f])?(this.FB.push(e),this.Bl.push((""+a[c]).substring(j).length)):this.Bl[this.Bl.length-1]+=(""+a[c]).length}};
w.getDate=function(a){this.Dv.clear();this.Dv.Ri=a;var a=this.Dv,b=this.FB,c=this.Bl,e=a.Ri.length,f=b.length;a.xa=c[0];for(var h=0;h<f&&!(b[h](a),a.xa+=c[h+1],a.xa>=e);h++);b=this.Dv;if(isNaN(b.bB)){if(-1==b.gp&&-1!=b.Bn&&(b.Bn=Math.floor(b.Bn%12),b.gp=b.Vy?b.Bn:12+b.Bn),a=new Date(Date.UTC(-1==b.tB?1970:b.tB,-1==b.Hz?0:b.Hz,-1==b.fr?1:b.fr,-1==b.gp?0:b.gp,-1==b.sv?0:b.sv,isNaN(b.Uv)?0:b.Uv)),-1!=b.cu&&-1==b.fr)b=b.cu-a.getDay(),a.setUTCDate(a.getDate()+b+(0>b?7:0))}else a=new Date(1E3*b.bB);return a};function Og(){this.kF="January,February,March,April,May,June,July,August,September,October,November,December".split(",");this.rG="Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(",");this.Yw="AM";this.Xz="PM";this.FA="A";this.GA="P";this.qB="Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(",");this.HA="Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(",");this.vz="%yyyy/%M/%d %h:%m:%s";this.ZA={};this.GF=new Ng}w=Og.prototype;w.kF=l;w.GD=function(a){return this.kF[a]};w.rG=l;w.TD=function(a){return this.rG[a]};
w.Yw=l;w.FA=l;w.Xz=l;w.GA=l;w.qB=l;w.HA=l;w.vz=l;w.GF=l;
w.f=function(a){if(B(a,"months")){var b=D(a,"months");B(b,"names")&&(this.kF=G(b,"names").split(","));B(b,"short_names")&&(this.rG=G(b,"short_names").split(","))}if(B(a,"week_days")&&(b=D(a,"week_days"),B(b,"names")&&(this.qB=G(b,"names").split(",")),B(b,"short_names")))this.HA=G(b,"short_names").split(",");if(B(a,"time")&&(b=D(a,"time"),B(b,"am_string")&&(this.Yw=D(b,"am_string")),B(b,"short_am_string")&&(this.FA=D(b,"short_am_string")),B(b,"pm_string")&&(this.Xz=D(b,"pm_string")),B(b,"short_pm_string")))this.GA=
D(b,"short_pm_string");B(a,"format")&&(this.vz=G(a,"format"))};w.ZA=l;w.p=function(){this.GF.p(this)};function Pg(a,b){if(a.ZA[b])return a.ZA[b];var c=a.GF.getDate(b).getTime();return a.ZA[b]=c}function Qg(){}w=Qg.prototype;w.No=".";w.mo="";w.FE=i;w.f=function(a){B(a,"decimal_separator")&&(this.No=D(a,"decimal_separator").toString());B(a,"thousands_separator")&&(this.mo=D(a,"thousands_separator").toString());this.FE="."==this.No&&""==this.mo};w.clear=function(){this.No=".";this.mo="";this.FE=i};
w.ia=function(a){this.FE||(a=(""+a).split(this.mo).join(""),a=a.split(this.No).join("."));return a=Number(a)};function Rg(a){sg.apply(this);this.n=a;this.pp=n;this.ew()}x.e(Rg,sg);w=Rg.prototype;w.Na=l;w.ub=q("Na");w.n=l;w.pp=l;w.Mx=l;w.f=function(a){Rg.b.f.call(this,a);B(a,"crossing")&&(this.pp=i,this.Mx=D(a,"crossing"))};w.KI=function(a){return a.getName()};function Sg(a){Rg.call(this,a);this.JA=n}x.e(Sg,Rg);w=Sg.prototype;w.ew=function(){this.Na=4};w.QJ=n;w.jK=i;
w.f=function(a){Sg.b.f.call(this,a);B(a,"auto_calculation_mode")&&("smart"==N(a,"auto_calculation_mode")?this.Zu=i:this.Zu=n);B(a,"always_show_zero")&&(I(a,"always_show_zero")?this.JA=i:this.JA=n)};
w.Pc=function(){if(this.mc||this.lc||this.Eh||this.cf){Sg.b.Pc.call(this);if(this.mc||this.lc){0==Number(this.pc-this.qc)&&this.mc&&this.lc&&(this.K=this.qc-0.5,this.V=this.pc+0.5);if(this.V-this.K<Number.MIN_VALUE&&(this.lc&&(this.V+=0.2*(0==this.V?1:Math.abs(this.V))),this.mc))this.K-=0.2*(0==this.K?1:Math.abs(this.K));this.mc&&0<this.K&&0.25>this.K/(this.V-this.K)&&(this.K=0);this.lc&&0>this.V&&0.25>Math.abs(this.V/(this.V-this.K))&&(this.V=0);if(this.JA&&(this.mc&&0<this.K&&(this.K=0),this.lc&&
0>this.V))this.V=0}if(this.Eh&&(this.zb=this.Zu?xg(this.V-this.K,this.Mh):wg(this.V-this.K,7,n),this.n.yn()&&!this.n.st())){this.Lg();ug(this);var a=this.n.B.Et(this.n.D.o());a<=(this.V-this.K)/this.zb&&(this.zb=wg(this.V-this.K,a,i));this.QJ=i}this.cf&&(this.Bd=wg(this.zb,5,i));this.mc&&(this.K-=vg(this.K,this.zb));this.lc&&(a=vg(this.V,this.zb),0!=a&&(this.V+=this.zb-a))}this.jK&&!this.QJ&&this.n.yn()&&Tg(this.n);this.Lg();this.mk()};
w.Lg=function(){this.Ik&&(this.je=Math.ceil(Number(this.K)/Number(this.zb)-1.0E-8)*Number(this.zb))};w.Mh=l;w.Zu=n;w.MJ=q("Zu");w.uI=function(a){a!=l&&(this.Zu=i,this.Mh=a)};w.JA=n;function Ug(a){Rg.call(this,a)}x.e(Ug,Rg);Ug.prototype.ew=function(){this.Na=1};
Ug.prototype.Pc=function(){this.K=this.qc-0.5;this.V=this.pc+0.5;this.Bd=1;this.je=this.K;var a=n;this.Eh?this.n.yn()&&!this.n.st()?(this.zb=1,ug(this),a=this.n.B.Et(this.n.D.o()),this.zb=Math.ceil((this.V-this.K)/a),a=i):this.zb=Math.floor(Number((this.V-this.K-1)/12))+1:(this.zb=Math.floor(Number(this.zb)),0>=this.zb&&(this.zb=1));this.cf&&(this.Bd=this.zb);!a&&this.n.yn()&&Tg(this.n);this.mk()};function Vg(a){Rg.call(this,a)}x.e(Vg,Ug);Vg.prototype.ew=function(){this.Na=3};
Vg.prototype.kg=function(a){return""==""+a?NaN:Pg(this.n.G().Kd(),""+a)};Vg.prototype.KI=function(a){a=a.getName();return Pg(this.n.G().Kd(),""+a)};Vg.prototype.mx=function(){Vg.b.mx.call(this);if(0!=(this.V-this.je)%this.zb){var a=this.bb(this.mb);a>=this.K&&a<=this.V&&this.mb++}};function Wg(a){Rg.call(this,a)}x.e(Wg,Rg);Wg.prototype.ew=function(){this.Na=0};
var Xg=[0,0.301029995663981,0.477121254719662,0.602059991327962,0.698970004336019,0.778151250383644,0.845098040014257,0.903089986991944,0.954242509439325,1];w=Wg.prototype;w.ld=l;w.ze=l;w.nc=10;w.f=function(a){if(a!=l){Wg.b.f.call(this,a);var b=B(a,"logarithmic_base")?"logarithmic_base":"log_base";B(a,b)&&(a=sb(D(a,b)),this.nc="e"==a?Math.E:H(a))}};
w.Pc=function(){isNaN(this.qc)&&isNaN(this.pc)&&this.mc&&this.lc&&(this.mc=n,this.K=1,this.lc=n,this.V=10);Wg.b.Pc.call(this);this.Eh&&(this.zb=1);0>=this.K&&0>=this.V?(this.K=1,this.V=this.nc):0>this.hF?this.hF=this.WQ/this.nc:0==this.hF?this.hF=1:0>=this.V&&(this.V=this.K*this.nc);if(1.0E-20>this.V-this.K&&(this.lc&&(this.V*=2),this.mc))this.K/=2;this.mc&&(this.K=Math.pow(this.nc,Math.floor(Math.log(this.K)/Math.log(this.nc))));this.lc&&(this.V=Math.pow(this.nc,Math.ceil(Math.log(this.V)/Math.log(this.nc))));
this.ld=Math.round(1E3*this.we(this.K))/1E3;this.ze=Math.round(1E3*this.we(this.V))/1E3;this.n.yn()&&Tg(this.n);this.Lg();this.mk()};w.bb=function(a){return this.je+a};w.tr=function(a){return Math.pow(this.nc,this.bb(a))};w.og=function(a,b){return a+Math.floor(Number(b)/9)+Xg[(b+9)%9]};w.xb=function(a,b){var c=(this.Ic-this.Ac)*((a-this.ld)/(this.ze-this.ld)),e=b?this.Ic-this.Ac:this.Ic,f=b?0:this.Ac;return this.Xc?e-c:f+c};
w.aB=function(a){var a=(this.ze-this.ld)*((a-this.Ac)/(this.Ic-this.Ac)),b=this.ze,c=this.ld,a=this.Xc?b-a:c+a;a<this.ld?a=this.ld:a>this.ze&&(a=this.ze);return this.an(a)};w.kb=function(a){a=(this.Ic-this.Ac)*((this.we(a)-this.ld)/(this.ze-this.ld));return this.Xc?this.Ic-a:this.Ac+a};w.Lg=function(){this.Ik&&(this.je=Math.ceil(this.we(this.K)-1.0E-8))};
w.mk=function(){this.mb=parseInt(Math.floor(this.we(this.V)+1.0E-12))-parseInt(this.je);this.bb(this.mb)>this.we(this.V)&&this.mb--;1>this.mb&&(this.mb=1);this.hf=9};w.we=function(a){return 1.0E-20<a?Math.log(a)/Math.log(this.nc):0};w.fs=function(a){return a>=this.ld&&a<=this.ze};w.an=function(a){return Math.pow(this.nc,a)};function Yg(a){Rg.call(this,a);this.Ih=this.$g=0}x.e(Yg,Rg);w=Yg.prototype;w.ew=function(){this.Na=2};w.$g=l;w.Ih=l;
w.f=function(a){Yg.b.f.call(this,a);if(a){var b;B(a,"major_interval_unit")&&(b=Zg(D(a,"major_interval_unit")),-1!=b&&(this.$g=b));B(a,"minor_interval_unit")&&(b=Zg(D(a,"minor_interval_unit")),-1!=b&&(this.Ih=b))}};function Zg(a){switch(Jb(a)){case "year":return 0;case "month":return 1;case "day":return 2;case "hour":return 3;case "minute":return 4;case "second":return 5}return-1}w.kg=function(a){return""===""+a?NaN:Pg(this.n.G().Kd(),""+a)};
w.Pc=function(){Yg.b.Pc.call(this);var a=n;this.Eh&&(this.zb=Bg(this,7),this.n.B&&!this.n.B.Yi&&(this.Lg(),this.mx(),a=this.n.B.Et(this.n.o()),a<=(this.V-this.K)/this.zb&&(this.zb=Bg(this,a)),a=i));this.lc&&(this.V=Ag(this.$g,this.V,i));this.mc&&(this.K=Ag(this.$g,this.K,n));this.Lg();this.mx();this.hf=0;for(var b=this.bb(0),c=this.bb(1),e=this.og(b,0);e<c;)this.hf++,e=this.og(b,this.hf);this.hf=Math.max(0,this.hf);!a&&this.n.B&&this.n.B.Dn(this.n.o())};
w.bb=function(a){return zg(this.je,this.$g,a*this.zb)};w.og=function(a,b){return zg(a,this.Ih,b*this.Bd)};
w.Lg=function(){if(this.Ik){var a=new Date(this.K),b;switch(this.$g){default:case 0:b=new Date(Date.UTC(a.getUTCFullYear(),0));break;case 1:b=new Date(Date.UTC(a.getUTCFullYear(),a.getUTCMonth()));break;case 2:b=new Date(Date.UTC(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate()));break;case 3:b=new Date(Date.UTC(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate(),a.getUTCHours()));break;case 4:b=new Date(Date.UTC(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate(),a.getUTCHours(),a.getUTCMinutes()));
break;case 5:b=a}this.je=b.getTime()<a.getTime()?zg(b.getTime(),this.$g,1):b.getTime()}};w.mx=function(){var a=new Date(this.K),b=new Date(this.V),c=this.zb,e=1,e=b.getUTCFullYear()-a.getUTCFullYear();switch(this.$g){default:case 0:e/=c;break;case 1:e=(b.getUTCMonth()-a.getUTCMonth()+12*e)/c;break;case 2:e=(this.V-this.K)/(864E5*c);break;case 3:e=(this.V-this.K)/(36E5*c);break;case 4:e=(this.V-this.K)/(6E4*c);break;case 5:e=(this.V-this.K)/(1E3*c)}1>e&&(e=1);this.mb=Math.floor(e)};function $g(){Sg.call(this);this.jK=n}x.e($g,Sg);$g.prototype.dF=aa();$g.prototype.an=aa();function ah(){tg(this);this.nc=10}x.e(ah,sg);w=ah.prototype;w.ld=l;w.ze=l;w.nc=10;w.f=function(a){a&&(ah.b.f.call(this,a),B(a,"log_base")&&(a=N(a,"log_base"),this.nc="e"==a?Math.E:H(a)))};
w.Pc=function(){isNaN(this.qc)&&isNaN(this.pc)&&this.mc&&this.lc&&(this.mc=n,this.K=1,this.lc=n,this.V=10);ah.b.Pc.call(this);this.Eh&&(this.zb=1);0>=this.K&&0>=this.V?(this.K=1,this.V=this.nc):0>=this.K?this.K=this.V/this.nc:0>=this.V&&(this.V=this.K*this.nc);if(1.0E-20>this.V-this.K&&(this.lc&&(this.V*=2),this.mc))this.K/=2;this.mc&&(this.K=Math.pow(this.nc,Math.floor(Math.log(this.K)/Math.log(this.nc))));this.lc&&(this.V=Math.pow(this.nc,Math.ceil(Math.log(this.V)/Math.log(this.nc))));this.ld=
Math.round(1E3*this.we(this.K))/1E3;this.ze=Math.round(1E3*this.we(this.V))/1E3;this.Lg();this.mk()};w.mk=function(){this.mb=parseInt(Math.floor(this.we(this.V)+1.0E-12))-parseInt(this.je);this.bb(this.mb)>this.we(this.V)&&this.mb--;1>this.mb&&(this.mb=1);this.hf=9};w.Lg=function(){this.Ik&&(this.je=Math.ceil(this.we(this.K)-1.0E-8))};w.bb=function(a){return this.je+a};w.og=function(a,b){return a+Math.floor(Number(b)/9)+Xg[(b+9)%9]};
w.aB=function(a){var a=(this.ze-this.ld)*((a-this.Ac)/(this.Ic-this.Ac)),b=this.ze,c=this.ld,a=this.Xc?b-a:c+a;a<this.ld?a=this.ld:a>this.ze&&(a=this.ze);return this.an(a)};w.kb=function(a){a=(this.Ic-this.Ac)*((this.we(a)-this.ld)/(this.ze-this.ld));return this.Xc?this.Ic-a:this.Ac+a};w.xb=function(a,b){var c=(this.Ic-this.Ac)*((a-this.ld)/(this.ze-this.ld)),e=b?this.Ic-this.Ac:this.Ic,f=b?0:this.Ac;return this.Xc?e-c:f+c};w.nc=l;w.dF=function(a){return this.we(a)};
w.we=function(a){return 1.0E-20<a?Math.log(a)/Math.log(this.nc):0};w.an=function(a){return Math.pow(this.nc,a)};function bh(){this.N=new sd;this.cl=new If}w=bh.prototype;w.N=l;w.pd=q("N");w.ua=0;w.Y=q("ua");w.na=l;w.isEnabled=q("na");w.ra=ig;w.es=0.05;w.ri=q("es");w.Ia=0.05;w.Ka=q("Ia");w.Sj=p("Ia");w.ab=0.05;w.wb=q("ab");w.wm=p("ab");w.ob=0;w.rj=q("ob");w.bl=p("ob");w.wo=i;w.mf=0;w.Ol=q("mf");w.mq=p("mf");w.cl=l;
w.lj=function(a,b,c,e,f,h,j){var k=new rd(a,a.ba(),a.ba()),m=new R(b,c,f,h),b=this.cl.tn(this.mf,a,e,b,c,f,h,td(this.N)?this.N.xc().za():1),c="",c=ud(this.N)?c+od(this.N.Cb(),a,m,j):c+Vc(),c=td(this.N)?c+Y(this.N.xc(),a,m,j):c+Wc();k.Sg.setAttribute("style",c);c="";c=this.N.Qc&&this.N.Qc.isEnabled()?c+tc(this.background.Fe(),a,l,j):c+Xc();k.Wg.setAttribute("style",c);k.Sg.setAttribute("d",b);k.Wg.setAttribute("d",b);return k};
w.f=function(a,b){this.N.f(a);if(this.N.isEnabled()&&(B(a,"enabled")&&(this.na=I(a,"enabled")),B(a,"padding")&&(this.ua=Gb(a,"padding")),B(a,"length")&&(this.es=pg(a,"length",b)),B(a,"width")&&(this.Ia=pg(a,"width",b)),B(a,"shape")&&(this.mf=Hf(N(a,"shape"))),B(a,"align")&&(this.ra=jg(a)),B(a,"rotation")&&(this.ob=J(a,"rotation")),B(a,"auto_rotate")&&(this.wo=I(a,"auto_rotate")),Gf(this.mf)||(this.es=this.Ia=Math.min(this.Ia,this.es)),108==this.mf))this.N.Bb=l,this.N.Qc=l};function ch(a,b){hg.call(this,a,b)}x.e(ch,hg);function dh(){}x.e(dh,lf);dh.prototype.update=function(a,b){b&&this.$c();eh(this);dh.b.update.call(this,a,b)};
function eh(a){var b=a.g,c=b.ea().ta.Nb(),e=new P(0,0);if(c){e=c.sj();c.qD&&e.nq((c.bz?b.n.rb():1)*c.qD);e.Kb(b.o(),e.bg);var f=b.n.O().kb(isNaN(c.ia())?a.zD():c.ia()),h=new P;a.Ug(h,f,c.ra,c.Y());a.fc||(a.fc=c.sj().Zb(b.o()),b.Ra().Z(a.fc));e=e.update(b.o(),a.fc,0,0,b.n.Hc().k().width,b.n.Hc().k().height,b.oa())}a.fc&&a.fc.eb(h.x+e.x,h.y+e.y)}dh.prototype.Ug=function(a,b,c,e){var f=this.g.n;f instanceof fh?gh(f,f.yd(c,e,0),b,a):f.Hc().Hf()?(a.x=b,a.y=f.qb(c,e,0)):(a.y=b,a.x=f.qb(c,e,0))};
function hh(a,b){ch.call(a,b);this.lw=0.5;this.nu=0.2;this.as=this.Tr=n;this.su=[]}x.e(hh,ch);w=hh.prototype;w.su=l;w.Po=function(a,b){this.su[a]||this.su.push(new nd);this.su[a].f(b)};w.lw=l;w.nu=l;w.as=l;w.Tr=l;w.Ca=l;w.Nb=q("Ca");w.f=function(a){var a=hh.b.f.call(this,a),b;B(a,"start_size")&&(b=G(a,"start_size"),this.lw=(this.as=qg(b))?rg(b):H(b)/100);B(a,"end_size")&&(b=G(a,"end_size"),this.nu=(this.Tr=qg(b))?rg(b):H(b)/100);L(a,"label")&&(this.Ca=new ih,this.Ca.f(D(a,"label")));return a};
function jh(){}x.e(jh,dh);
jh.prototype.$c=function(){var a=this.g,b=a.n,c=b.O(),e=a.bd(),f=a.k(),h=c.kb(a.Pb),a=c.kb(a.Lb);this.Dm=new P;this.Vo=new P;this.pq=new P;this.Wo=new P;var c=(e.as?b.rb():1)*e.lw,j=(e.Tr?b.rb():1)*e.nu;b.zm(kh(b,e.ra,e.Y(),c,i),h,this.Dm);b.zm(kh(b,e.ra,e.Y(),j,i),a,this.Vo);b.zm(kh(b,e.ra,e.Y(),c,n),h,this.pq);b.zm(kh(b,e.ra,e.Y(),j,n),a,this.Wo);f.x=Math.min(this.Dm.x,this.Vo.x,this.pq.x,this.Wo.x);f.y=Math.min(this.Dm.y,this.Vo.y,this.pq.y,this.Wo.y);f.width=Math.max(this.Dm.x,this.Vo.x,this.pq.x,
this.Wo.x)-f.x;f.height=Math.max(this.Dm.y,this.Vo.y,this.pq.y,this.Wo.y)-f.y};jh.prototype.zD=function(){var a=this.g;return(a.Pb+a.Lb)/2};jh.prototype.createElement=function(){return this.g.o().ba()};jh.prototype.Ga=function(a){var b=T(this.Dm.x,this.Dm.y),b=b+V(this.Vo.x,this.Vo.y),b=b+V(this.Wo.x,this.Wo.y),b=b+V(this.pq.x,this.pq.y),b=b+V(this.Dm.x,this.Dm.y);a.setAttribute("d",b)};function lh(){Z.call(this)}x.e(lh,nf);lh.prototype.Ub=function(){return hh};lh.prototype.dc=function(){return new jh};
function mh(){this.U=l}x.e(mh,pe);w=mh.prototype;w.p=function(a,b,c,e){mh.b.p.call(this,a,b,c);this.U=e;this.j=new R};w.Cb=function(a){return a.su[this.U]};w.createElement=function(){return this.Oa.createElement()};w.Ga=function(){var a=this.g,b=a.n,c=b.O(),e=a.bd(),f=(e.as?b.size:1)*e.lw,h=(e.Tr?b.size:1)*e.nu,j=nh(b,e.ra,e.Y(),f,i),k=nh(b,e.ra,e.Y(),h,i),f=nh(b,e.ra,e.Y(),f,n),h=nh(b,e.ra,e.Y(),h,n),m=c.kb(a.Pb),a=c.kb(a.Lb);this.q.setAttribute("d",oh(e.Cb().ib,j,k,f,h,b,m,a,this))};
w.Re=function(a){var b=this.g.o(),c=this.j;this.Cb(a)&&(a=""+od(this.Cb(a),b,c,l,n),this.q.setAttribute("style",a))};w.update=function(a,b){b===i&&this.Ga();a&&(this.Re(a),this.Yc(a))};w.Yc=function(a){this.Oa.Yc(this.q,a)};function ph(){this.dl=[];this.Ir=l}x.e(ph,dh);w=ph.prototype;w.Lc=function(){ph.b.Lc.call(this);this.Ir=this.g.bd().Cb().be()?new X(this.g.o()):l};
w.ge=function(){if(this.Ir){var a=this.Ra();if(this.Ir){for(var b=0,c=this.g.bd().Cb().ib.Ta.length;b<c-1;b++){var e=new mh;e.p(this.g,this,l,b);this.dl.push(e);this.Ir.appendChild(e.q)}a.appendChild(this.Ir.q)}this.gb&&a.appendChild(this.gb.q);this.jb&&a.appendChild(this.jb.q)}else ph.b.ge.call(this)};
w.update=function(a,b){if(this.Ir){for(var c=0,e=this.dl.length;c<e;c++)this.dl[c].update(a,b);b&&this.Ga(this.gb.q);if(a){var c=this.g.o(),e="",f=this.g.oa().oa(),h=this.g.k();a.ud()?(e+=Y(a.xc(),c,h,f),e+=Vc()):e+=Xc();this.gb.q.setAttribute("style",e)}this.jb&&this.jb.update(a,b)}else ph.b.update.call(this,a,b)};w.createElement=function(){return this.g.o().ba()};w.$c=o();
w.Ga=function(a){var b=this.g,c=b.n,e=c.O(),f=b.bd(),h=(f.as?c.size:1)*f.lw,j=(f.Tr?c.size:1)*f.nu,k=nh(c,f.ra,f.Y(),h,i),m=nh(c,f.ra,f.Y(),j,i),h=nh(c,f.ra,f.Y(),h,n),f=nh(c,f.ra,f.Y(),j,n),j=e.kb(b.Pb),e=e.kb(b.Lb),b=b.o(),s=c.Hc().ac,t="",v=1,y=c.O().Mb()?0:1;180>Math.abs(j-e)&&(v=0);if(k==m)var m=s.x+k*Math.cos(j*Math.PI/180),C=s.y+k*Math.sin(j*Math.PI/180),M=s.x+k*Math.cos(e*Math.PI/180),ea=s.y+k*Math.sin(e*Math.PI/180),t=t+T(m,C),t=t+b.nb(k,v,y,M,ea,k);else C=new P,gh(c,k,j,C),t+=T(C.x,C.y),
t+=qh(c,j,e,k,m);f==h?(m=s.x+f*Math.cos(j*Math.PI/180),C=s.y+f*Math.sin(j*Math.PI/180),M=s.x+f*Math.cos(e*Math.PI/180),ea=s.y+f*Math.sin(e*Math.PI/180),t+=V(M,ea),t+=b.nb(f,v,!y,m,C,f)):t+=qh(c,e,j,f,h);a.setAttribute("d",t+" Z")};
function oh(a,b,c,e,f,h,j,k,m){var s=k-j,t=m.U,v=a.Ta[t].qb(),y=a.Ta[t+1].qb(),C=lb(a.Ta[t].oa().oa()),M=lb(a.Ta[t+1].oa().oa()),k=j+s*v,j=j+s*y,s=b+(c-b)*v,b=b+(c-b)*y,c=e+(f-e)*v,e=e+(f-e)*y,y=a.Ta[t].Oc,ea=a.Ta[t+1].Oc,a=(k+j)/2,t=(s+b)/2,f=(c+e)/2,U=new P,ra=new P,wb=new P,pd=new P;gh(h,s,k,U);gh(h,b,j,ra);gh(h,e,j,wb);gh(h,c,k,pd);v=new R;v.x=Math.min(U.x,ra.x,wb.x,pd.x);v.y=Math.min(U.y,ra.y,wb.y,pd.y);v.width=Math.max(U.x,ra.x,wb.x,pd.x)-v.x;v.height=Math.max(U.y,ra.y,wb.y,pd.y)-v.y;U=[];ra=
{};wb={};ra.position="0";ra.opacity=y;ra.color=C;U.push(ra);wb.position="1";wb.opacity=ea;wb.color=M;U.push(wb);C={type:"linear"};C.angle=a+90*(h.O().Mb()?-1:1);C.key=U;M={enabled:i,type:"gradient"};M.gradient=C;m.j=v;m.g.bd().Po(m.U,M);m=""+qh(h,k,a,s,t,i);m+=qh(h,a,k,f,c,n);m+=qh(h,a,j,t,b,i);m+=qh(h,j,a,e,f,n);return m+" Z"}
function qh(a,b,c,e,f,h){h==g&&(h=n);var j="",k,m,s=(f-e)/(c-b),t=new P;if(c>b)for(k=b;k<=c;k++)m=e+s*(k-b),gh(a,m,k,t),j=h&&k==b?j+T(t.x,t.y):j+V(t.x,t.y);else for(k=b;k>=c;k--)m=e+s*(k-b),gh(a,m,k,t),j=h&&k==b?j+T(t.x,t.y):j+V(t.x,t.y);gh(a,f,c,t);return j+=V(t.x,t.y)}function rh(){Z.call(this)}x.e(rh,nf);rh.prototype.Ub=function(){return hh};rh.prototype.dc=function(){return new ph};function sh(){hg.call(this,g,g)}x.e(sh,ch);w=sh.prototype;w.Ca=l;w.Nb=q("Ca");w.Cd=l;w.rb=q("Cd");w.VE=l;
w.f=function(a){a=sh.b.f.call(this,a);if(B(a,"size")){var b=G(a,"size");this.Cd=(this.VE=qg(b))?rg(b):Fb(b)}L(a,"line")&&(this.hc=new qd,this.hc.f(D(a,"line")));B(a,"label")&&(this.Ca=new ih,this.Ca.f(D(a,"label")));this.Qc=this.Bb=l};function th(){}x.e(th,dh);th.prototype.Pb=l;th.prototype.Lb=l;
th.prototype.$c=function(){var a=this.g,b=a.n,c=b.O();this.Pb=new P;this.Lb=new P;var c=c.kb(a.ia()),e=a.bd(),f=(e.VE?b.rb():1)*e.rb();if(b instanceof fh){var h=nh(b,e.ra,e.Y(),f,n);gh(b,nh(b,e.ra,e.Y(),f,i),c,this.Pb);gh(b,h,c,this.Lb)}else b.zm(kh(b,e.ra,e.Y(),f,i),c,this.Pb),b.zm(kh(b,e.ra,e.Y(),f,n),c,this.Lb);a=a.k();a.x=Math.min(this.Pb.x,this.Lb.x);a.y=Math.min(this.Pb.y,this.Lb.y);a.width=Math.max(this.Pb.x,this.Lb.x)-a.x;a.height=Math.max(this.Pb.y,this.Lb.y)-a.y};dh.prototype.zD=function(){return this.g.ia()};
th.prototype.update=function(a,b){b&&this.$c();th.b.update.call(this,a,b)};th.prototype.createElement=function(){return this.g.o().ba()};th.prototype.Ga=function(a){var b=T(this.Pb.x,this.Pb.y),b=b+V(this.Lb.x,this.Lb.y);a.setAttribute("d",b)};function uh(){Z.call(this)}x.e(uh,nf);uh.prototype.Ub=function(){return sh};uh.prototype.dc=function(){return new th};function vh(){hg.call(this,g,g)}x.e(vh,ch);vh.prototype.Ca=l;vh.prototype.Nb=q("Ca");vh.prototype.ph=l;
vh.prototype.f=function(a){a=vh.b.f.call(this,a);B(a,"label")&&(this.Ca=new ih,this.Ca.f(D(a,"label")));B(a,"tickmark")&&(this.ph=new wh,this.ph.f(D(a,"tickmark")));return a};function xh(){}x.e(xh,dh);w=xh.prototype;w.Qs=l;w.Lc=function(){var a=this.g;a.ea().ta.ph&&(this.Qs=new X(a.o()))};w.ge=function(){this.Qs&&this.g.Ra().Z(this.Qs)};w.update=function(){eh(this);this.Qs&&(this.Qs.clear(),this.Qs.Z(this.g.n.lj(this.g.ea().ta.ph,this.g.n.O().kb(this.g.ia()),this.g.oa().oa())))};w.zD=function(){return this.g.ia()};
function yh(){Z.call(this)}x.e(yh,nf);yh.prototype.Ub=function(){return vh};yh.prototype.dc=function(){return new xh};var Yf=0,Zf=1,Xf=2;function Ye(){be(this);this.dp=2;this.zq=1;this.Wz=Yf;this.ua=0;this.SE=n}x.e(Ye,ae);w=Ye.prototype;w.dp=l;w.zq=l;w.Wz=l;w.KD=q("Wz");w.Qa=l;w.Pd=p("Qa");w.ca=l;w.jd=p("ca");w.SE=l;w.xK=NaN;w.Ag=NaN;w.Ms=l;w.ua=l;w.bg=l;
w.f=function(a){Cb(a,"width");Ye.b.f.call(this,a);if(B(a,"position")){var b=D(a,"position");B(b,"halign")&&(this.dp=ed(N(b,"halign")));B(b,"valign")&&(this.zq=hd(N(b,"valign")));if(B(b,"placement_mode")){var c;a:switch(N(b,"placement_mode")){default:case "bypoint":c=Yf;break a;case "byrectangle":c=Zf;break a;case "byanchor":c=Xf}this.Wz=c}B(b,"x")&&(this.Qa=Gb(b,"x"));B(b,"y")&&(this.ca=Gb(b,"y"));B(b,"width")&&(this.xK=Gb(b,"width"));B(b,"height")&&(this.Ag=Gb(b,"height"));B(b,"spread")&&(this.Ms=
I(b,"spread"));B(b,"padding")&&(this.ua=J(b,"padding"))}B(a,"format")&&(this.bg=G(a,"format"))};
w.update=function(a,b,c,e,f,h,j,k){var c=isNaN(this.Qa)?c:(this.SE?this.Qa:this.Qa*f)+c,e=isNaN(this.ca)?e:(this.SE?this.ca:this.ca*h)+e,m=c,s=e,t=this.j.width,v=this.j.height,f=this.xK*f,h=this.Ag*h;isNaN(f)&&(f=this.Vd.width);isNaN(h)&&(h=this.Vd.height);switch(this.Wz){case Yf:case Xf:switch(this.dp){case 2:m-=f/2;c-=t/2;break;case 0:this.Ms?(m-=f+this.ua,c+=-f-this.ua+(f-t)/2):c-=t+this.ua;break;case 1:this.Ms?(m+=this.ua,c+=this.ua+(f-t)/2):c+=this.ua}switch(this.zq){case 0:this.Ms?(s-=h+this.ua,
e+=-h-this.ua+(h-v)/2):e-=v+this.ua;break;case 1:s-=h/2;e-=v/2;break;case 2:this.Ms?(s+=this.ua,e+=this.ua+(h-v)/2):e+=this.ua}break;case Zf:switch(this.dp){case 0:c+=this.ua;break;case 2:c+=(f-t)/2;break;case 1:c+=f-t-this.ua}switch(this.zq){case 0:e+=this.ua;break;case 1:e+=(h-v)/2;break;case 2:e+=h-v-this.ua}}this.Ms&&(this.N&&this.N.isEnabled()&&(this.N.Fa&&(t=this.N.Fa,f+=t.pb()+t.Ja(),h+=t.lb()+t.ja()),t=this.N.xc()?this.N.xc().za():0,this.N.Ra().eb(m-c-t%2/2,s-e-t%2/2)),this.Vd.width=f,this.Vd.height=
h);Ye.b.update.call(this,a,b,j,k);b.eb(c,e);return new P(c,e)};w.fD=function(a){a.bl(this.ob.Qb,this.Vd.width/2,this.Vd.height/2)};function zh(){}w=zh.prototype;w.La=l;w.oa=q("La");w.F=l;w.ea=q("F");w.n=l;w.Mj=p("n");w.Hc=function(){return this.n.Hc()};w.Oa=l;w.v=l;w.Ra=q("v");w.o=function(){return this.v.o()};w.j=l;w.k=q("j");w.f=function(a,b){this.La=B(a,"color")?Lb(a):pb("0xCCCCCC",g);this.F=this.LC(a,b)};w.LC=function(a,b){var c=xe(b,this.Ib(),a,G(a,"style")),e=this.Hb(a);e.f(c);return e};w.p=function(a){this.j=new R;this.v=new X(a);this.Oa=this.F.p(this);return this.v};w.bd=function(){return this.F.ta};
w.ga=function(){this.Oa.update(this.bd(),i)};w.ya=function(){this.Oa.update(l,i)};w.Jc=function(a,b){if(isNaN(b.qc)||a<b.qc)b.qc=a;if(isNaN(b.pc)||a>b.pc)b.pc=a};function ih(){this.ra=ig;this.ua=0;this.Eb=new ae;this.bz=n}w=ih.prototype;w.ra=l;w.ua=l;w.Y=q("ua");w.Eb=l;w.sj=q("Eb");w.qD=l;w.bz=l;w.Ha=NaN;w.ia=q("Ha");
w.f=function(a){B(a,"align")&&(this.ra=jg(a));B(a,"padding")&&(this.ua=Gb(a,"padding"));if(B(a,"font")){var b=D(a,"font");B(b,"size")&&(b=G(b,"size"),Cb(a,"size"),this.qD=(this.bz=qg(b))?rg(b):100*Fb(b))}B(a,"value")&&(this.Ha=J(a,"value"));this.Eb=new Ye;this.Eb.f(a)};function Ah(){}x.e(Ah,zh);w=Ah.prototype;w.Pb=l;w.Lb=l;w.Hb=function(){switch(this.Hc().AD()){case 2:return new lh;case 1:return new rh}};w.Ib=u("color_range_style");
w.f=function(a,b,c){Ah.b.f.call(this,a,b,c);B(a,"start")&&(this.Pb=J(a,"start"));B(a,"end")&&(this.Lb=J(a,"end"))};w.ar=function(a){this.Jc(this.Pb,a);this.Pb=this.Pb>a.V?a.V:this.Pb<a.K?a.K:this.Pb;this.Jc(this.Lb,a);this.Lb=this.Lb>a.V?a.V:this.Lb<a.K?a.K:this.Lb};w.ia=function(){return(this.Pb+this.Lb)/2};function Bh(){}x.e(Bh,zh);w=Bh.prototype;w.Ha=l;w.ia=q("Ha");w.Ib=u("trendline_style");w.Hb=function(){return new uh};
w.f=function(a,b,c){Bh.b.f.call(this,a,b,c);B(a,"value")&&(this.Ha=J(a,"value"));(a=this.bd().xc())&&a.be()&&this.Hc().Ne(a.ib)};w.ar=function(a){this.Jc(this.Ha,a)};function wh(){bh.call(this)}x.e(wh,bh);wh.prototype.sd=l;wh.prototype.Xl=l;wh.prototype.f=function(a){wh.b.f.call(this,a);var b;B(a,"length")&&(b=G(a,"length"),this.es=(this.sd=qg(b))?rg(b):Fb(b));B(a,"width")&&(b=G(a,"width"),this.Ia=(this.Xl=qg(b))?rg(b):Fb(b))};function Ch(){}x.e(Ch,zh);w=Ch.prototype;w.Ha=l;w.ia=q("Ha");w.Ib=u("custom_label_style");
w.Hb=function(){return new yh};w.f=function(a,b){Ch.b.f.call(this,a,b);var c=this.F.ta.ph;c&&Dh(this.Hc(),c.pd());B(a,"value")&&(this.Ha=J(a,"value"))};w.p=function(a){Ch.b.p.call(this,a);return this.v};w.ar=function(a){this.Jc(this.Ha,a)};function Eh(){this.On=[]}w=Eh.prototype;w.n=l;w.Mj=p("n");w.X=l;w.On=l;w.v=l;
w.f=function(a,b,c){var e,f,h;if(B(a,"color_ranges")){f=F(D(a,"color_ranges"),"color_range");e=0;for(h=f.length;e<h;e++)K(f[e])&&Fh(this,new Ah,f[e],b,c)}if(B(a,"trendlines")){f=F(D(a,"trendlines"),"trendline");e=0;for(h=f.length;e<h;e++)K(f[e])&&Fh(this,new Bh,f[e],b,c)}if(B(a,"custom_labels")){f=F(D(a,"custom_labels"),"custom_label");e=0;for(h=f.length;e<h;e++)K(f[e])&&Fh(this,new Ch,f[e],b,c)}};function Fh(a,b,c,e,f){b.Mj(a.n);b.f(c,e,f);b.ar(a.X);a.On.push(b)}
w.p=function(a){this.v=new X(a);for(var b=this.On.length,c=0;c<b;c++)this.v.Z(this.On[c].p(a));return this.v};w.ga=function(){for(var a=this.On.length,b=0;b<a;b++)this.On[b].ga()};w.ya=function(){for(var a=this.On.length,b=0;b<a;b++)this.On[b].ya()};function Gh(a){this.Tb=a}w=Gh.prototype;w.Tb=l;w.Hc=q("Tb");w.Ea=l;w.Oj=p("Ea");w.fE=function(){return this.Ea!=l&&0<this.Ea.length};w.getName=q("Ea");w.gq=l;w.Xo=l;w.enabled=i;w.size=0;w.rb=q("size");w.Iv=l;w.scale=l;w.O=q("scale");w.Nn=l;w.Tn=l;w.He=l;w.Ec=l;w.rv=l;w.jv=l;w.Mk=l;w.bh=l;
w.p=function(a){this.Ec=new X(a);this.gq&&this.Ec.Z(this.gq.p(a));this.Xo&&this.Ec.Z(this.Xo.p(a));this.Tn&&(this.rv=new X(a),this.Ec.Z(this.rv));this.Nn&&(this.jv=new X(a),this.Ec.Z(this.jv));this.He&&this.He.isEnabled()&&(this.Mk=new X(a),this.Ec.Z(this.Mk));this.bh&&this.Ec.Z(this.bh.p(a));return this.Ec};w.Or=o();
w.ga=function(){this.gq&&this.gq.ga();this.Xo&&this.Xo.ga();this.Tn&&this.Tn.isEnabled()&&this.UC();this.Nn&&this.Nn.isEnabled()&&this.TC();if(this.He&&this.He.isEnabled())for(var a=this.scale.mb,a=this.He.Uj?a:a-1,b=this.Ec.o(),c=this.He.Tj?0:1;c<=a;c++){this.il=this.scale.bb(c);var e=this.He;e.Eb.Kb(b,e.jc.ia(e.n,l));e=this.Ug(this.scale.xb(this.il));this.Mk.Z(this.He.ga(b,e))}this.bh&&this.bh.ga()};
w.UC=function(){for(var a=this.scale.dF(this.scale.K),b=this.scale.dF(this.scale.V),c=0;c<=this.scale.mb;c++)for(var e=this.scale.bb(c),f=1;f<this.scale.hf;f++){var h=this.scale.og(e,f);h<a||h>b||this.rv.Z(this.lj(this.Tn,this.scale.xb(h)))}};w.TC=function(){for(var a=0;a<=this.scale.mb;a++)this.jv.Z(this.lj(this.Nn,this.scale.xb(this.scale.bb(a))))};w.Ba=function(a){if("%Value"==a)return this.scale.an(this.il)};w.Aa=function(a){return"%Value"==a?2:4};
w.ya=function(){this.Or();this.jv&&this.jv.clear();this.rv&&this.rv.clear();this.Mk&&this.Mk.clear();this.ga();this.bh&&this.bh.ya()};
w.f=function(a,b){if(a){if(B(a,"enabled")&&(this.enabled=I(a,"enabled")),B(a,"size")&&(this.size=Gb(a,"size")),B(a,"scale")?(this.scale=B(D(a,"scale"),"type")&&"logarithmic"==N(D(a,"scale"),"type")?new ah:new $g,this.scale.f(D(a,"scale"))):this.scale=new $g,this.enabled)B(a,"scale_bar")&&(this.gq=new Hh(this,n),this.gq.f(D(a,"scale_bar"),this.size),Dh(this.Tb,this.gq.pd())),B(a,"scale_line")&&(this.Xo=new Hh(this,i),this.Xo.f(D(a,"scale_line"),this.size),Dh(this.Tb,this.Xo.pd())),B(a,"major_tickmark")&&
(this.Nn=new bh,this.Nn.f(D(a,"major_tickmark"),this.size),Dh(this.Tb,this.Nn.pd())),B(a,"minor_tickmark")&&(this.Tn=new bh,this.Tn.f(D(a,"minor_tickmark"),this.size),Dh(this.Tb,this.Tn.pd())),this.He=this.Yt(this),B(a,"labels")&&this.He.f(D(a,"labels"),this.size),this.bh=new Eh,this.bh.Mj(this),this.bh.X=this.scale,this.bh.f(a,b,this.size)}else this.scale=new $g};w.xx=function(a){Ih(this,a.ia());a.IM&&Ih(this,a.IM())};
function Ih(a,b){if(isNaN(a.scale.qc)||b<a.scale.qc)a.scale.qc=b;if(isNaN(a.scale.pc)||b>a.scale.pc)a.scale.pc=b}function Hh(a,b){this.n=a;this.BI=b;this.N=new sd}w=Hh.prototype;w.n=l;w.BI=n;w.mf=1;w.Ol=q("mf");w.Cd=0.05;w.rb=q("Cd");w.ua=0;w.Y=q("ua");w.ra=ig;w.N=l;w.pd=q("N");w.v=l;w.p=function(a){this.v=new rd(a,a.ba(),a.ba());this.v.q.setAttribute("id","scaleBar");return this.v};
w.ga=function(){var a=this.n.QD(this),b=this.v.o(),c="",c=ud(this.N)?c+od(this.N.Cb(),b,a):c+Vc(),c=td(this.N)?c+Y(this.N.xc(),b,a):c+Wc();this.v.Sg.setAttribute("style",c);c="";c=this.N.Qc&&this.N.Qc.isEnabled()?c+tc(this.N.Fe(),b,a):c+Xc();this.v.Wg.setAttribute("style",c);a=this.n.aJ(b,this);this.v.Sg.setAttribute("d",a);this.v.Wg.setAttribute("d",a)};
w.f=function(a,b){if(this.BI)this.mf=0,ud(this.N)&&this.N.Cb().xf(n),this.N.f({border:a});else{if(B(a,"shape"))switch(N(a,"shape")){case "line":this.mf=0;break;case "bar":this.mf=1}this.N.f(a)}B(a,"size")&&(this.Cd=pg(a,"size",b));B(a,"padding")&&(this.ua=Gb(a,"padding"));B(a,"align")&&(this.ra=jg(a))};function Jh(a){this.Eb=new ae;this.Eb.xf(n);this.n=a}w=Jh.prototype;w.ra=0;w.ua=0.02;w.Y=q("ua");w.Tj=i;w.Uj=i;w.n=l;w.Eb=l;w.sj=q("Eb");w.isEnabled=function(){return this.Eb&&this.Eb.isEnabled()};
w.jc=l;w.f=function(a,b){if(B(a,"font")){var c=D(a,"font");B(c,"size")&&E(c,"size",""+100*pg(c,"size",b))}this.Eb.f(a);B(a,"enabled")&&this.Eb.xf(I(a,"enabled"));B(a,"format")&&(this.jc=new Ld(G(a,"format")));B(a,"align")&&(this.ra=jg(a));B(a,"padding")&&(this.ua=Gb(a,"padding"));B(a,"show_first")&&(this.Tj=I(a,"show_first"));B(a,"show_last")&&(this.Uj=I(a,"show_last"))};w.ga=function(a,b){var c=this.Eb.Zb(a);c.eb(b.x,b.y);return c};function Kh(){ag.call(this);this.hk=[];this.KB={};this.Vk=[];this.MF={};this.Ca=new Wf;this.Ca.Cs(this);this.tc=new $f}x.e(Kh,ag);w=Kh.prototype;w.hk=l;w.KB=l;w.Vk=l;w.MF=l;w.Ca=l;w.tc=l;w.Va=function(a){a=Kh.b.Va.call(this,a);a.pointers=[];for(var b=0;b<this.Vk.length;b++)a.pointers.push(this.Vk[b].Va());return a};function Lh(a,b){a.hk.push(b);b.fE()&&(a.KB[b.getName()]=b)}
w.f=function(a){Kh.b.f.call(this,a);var b,c;b=this.qC(D(a,"axis"),this.of);b.Oj("default");b.f(D(a,"axis"),this.of);Lh(this,b);var e=b;if(B(a,"extra_axes")){var f=F(D(a,"extra_axes"),"axis");for(c=0;c<f.length;c++)b=this.qC(f[c],this.of),b.f(f[c],this.of),B(f[c],"name")&&b.Oj(N(f[c],"name")),Lh(this,b)}if(B(a,"pointers")){c=D(a,"pointers");this.Ca.Ee(D(c,"label"),this.of);this.tc.Ee(D(c,"tooltip"),this.of);a=l;b=-1;var h=f=n,j=i;B(c,"color")&&(a=Lb(c));B(c,"hatch_type")&&(b=sc(N(c,"hatch_type")));
B(c,"editable")&&(f=I(c,"editable"));B(c,"allow_select")&&(h=I(c,"allow_select"));B(c,"use_hand_cursor")&&(j=I(c,"use_hand_cursor"));var k=F(c,"pointer");for(c=0;c<k.length;c++){var m=k[c];if(B(m,"value")||B(m,"start")&&B(m,"end")){var s=this.TH(O(m,"type"));if(s){s.Cs(this);s.Uo=f;s.ys=h;s.Fm=j;var t=this.Ca.copy();s.Ca=t;t=this.tc.copy();s.tc=t;a&&s.Ki(a);s.jq(b);s.f(m,this.of);B(m,"axis")?(m=this.KB[N(m,"axis")])?s.Mj(m):s.Mj(e):s.Mj(e);this.Vk.push(s);s.fE()&&(this.MF[s.getName()]=s);this.xx(s);
s.n.xx(s)}}}}};w.xx=o();w.p=function(a,b,c){Kh.b.p.call(this,a,b,c);b=0;for(c=this.hk.length;b<c;b++)this.RB.Z(this.hk[b].p(this.Jg));b=0;for(c=this.Vk.length;b<c;b++)this.Fx.Z(this.Vk[b].p(a));b=0;for(c=this.hk.length;b<c;b++)this.hk[b].Or();return this.Ec};w.ga=function(){Kh.b.ga.call(this);var a,b;a=0;for(b=this.hk.length;a<b;a++)this.hk[a].ga();a=0;for(b=this.Vk.length;a<b;a++)this.Vk[a].ga()};
w.ya=function(a){Kh.b.ya.call(this,a);var b,a=0;for(b=this.hk.length;a<b;a++)this.hk[a].ya();a=0;for(b=this.Vk.length;a<b;a++)this.Vk[a].ya()};w.jG=function(a,b){b!=l&&(pointer=this.MF[b])&&ng(pointer,a)};function Dh(a,b){b&&(ud(b)&&b.Cb().ib&&a.Ne(b.Cb().ib),td(b)&&b.xc().ib&&a.Ne(b.xc().ib))}w.Ne=o();function Mh(a){Jf.call(this,a)}x.e(Mh,Jf);w=Mh.prototype;w.Np=NaN;w.Uh=NaN;w.xE=NaN;w.xt=function(a){var b=0;this.Vc&&this.Vc.pe()&&(b=this.Vc.za());var c=0;this.Wd&&this.Wd.pe()&&(c=this.Wd.za());this.Np=Math.min(a.width,a.height);this.xE=b;this.Uh=b+c;b=(b+c+this.padding)*this.Np;a.la();a.kh(a.pb()+b);a.lh(a.Ja()-b);a.mh(a.lb()+b);a.jh(a.ja()-b)};w.RH=function(){return new Nh(this)};w.SH=function(){return new Oh(this)};w.NH=function(){return new Ph(this)};
w.ba=function(a,b){var c;c=this.Ym?this.Ym.la():new ld;var e=this.Np/100;c.I*=e;c.ka*=e;c.fa*=e;c.S*=e;return md(c,a,b)};function Qh(a){this.frame=a}x.e(Qh,Cf);Qh.prototype.frame=l;
Qh.prototype.OC=function(a,b,c,e){var f=l,f=l,h=this.zu(a,e);this.Cb()&&this.Cb().isEnabled()?(f=od(this.Cb(),a,e),f+="fill-rule: evenodd"):f=Vc();b.setAttribute("d",h);b.setAttribute("style",f);b.setAttribute("fill-rule","evenodd");this.Fe()&&this.Fe().isEnabled()?(f=tc(this.Fe(),a,e),f+="fill-rule: evenodd"):f=Xc();c.setAttribute("d",h);c.setAttribute("style",f);c.setAttribute("fill-rule","evenodd")};function Rh(a,b){var c=b.la(),e=a.RI();c.x+=e;c.y+=e;c.width-=2*e;c.height-=2*e;return c}
function Sh(a,b){var c=b.la(),e=a.WI();c.x+=e;c.y+=e;c.width-=2*e;c.height-=2*e;return c}function Ef(a,b,c){c=Rh(a,c);return a.frame.ba(b,c,i,i)}function Ff(a,b,c){c=Sh(a,c);return a.frame.ba(b,c,i,i)}Qh.prototype.zu=function(a,b){var c=Rh(this,b),e=Sh(this,b);return this.frame.ba(a,e,i,n)+" "+this.frame.ba(a,c,n,i)};function Nh(a){this.frame=a}x.e(Nh,Qh);Nh.prototype.RI=function(){return-this.frame.padding*this.frame.Np};Nh.prototype.WI=function(){return-(this.frame.xE+this.frame.padding)*this.frame.Np};
function Oh(a){this.frame=a}x.e(Oh,Qh);Oh.prototype.RI=function(){return-(this.frame.xE+this.frame.padding)*this.frame.Np};Oh.prototype.WI=function(){return-(this.frame.Uh+this.frame.padding)*this.frame.Np};function Ph(a){this.kc=a}x.e(Ph,vd);Ph.prototype.kc=l;Ph.prototype.createElement=function(a){return a.ba()};Ph.prototype.Tg=function(a,b){return this.kc.ba(a,b)};function Th(){hg.call(this)}x.e(Th,hg);w=Th.prototype;w.Ia=l;w.Ka=q("Ia");w.sd=l;w.Ns=l;w.f=function(a){a=Th.b.f.call(this,a);if(B(a,"width")){var b=G(a,"width");this.Ia=(this.sd=qg(b))?rg(b):Fb(b)}B(a,"start_from_zero")&&(this.Ns=I(a,"start_from_zero"));return a};function Uh(){}x.e(Uh,lf);Uh.prototype.update=function(a,b){b&&this.g.$c();Uh.b.update.call(this,a,b)};Uh.prototype.createElement=function(){return this.g.o().ba()};Uh.prototype.Ga=function(a){a.setAttribute("d",Pc(this.g.k()))};
function Vh(){Z.call(this)}x.e(Vh,nf);Vh.prototype.Ub=function(){return Th};Vh.prototype.dc=function(){return new Uh};function Wh(a){this.ab=this.Ia=0.1;this.mf=108;this.ra=ig;this.ua=0;a&&(this.N=new sd);this.Xl=this.sd=n;this.ob=0;this.wo=i}w=Wh.prototype;w.ra=l;w.ua=l;w.Y=q("ua");w.Ia=l;w.Ka=q("Ia");w.sd=l;w.ab=l;w.wb=q("ab");w.Xl=l;w.mf=l;w.ob=l;w.rj=q("ob");w.wo=l;w.N=l;w.pd=q("N");
w.f=function(a){B(a,"shape")&&(this.mf=Hf(O(a,"shape")));B(a,"align")&&(this.ra=jg(a));B(a,"padding")&&(this.ua=Gb(a,"padding"));B(a,"rotation")&&(this.ob=J(a,"rotation"));B(a,"auto_rotate")&&(this.wo=I(a,"auto_rotate"));var b;B(a,"width")&&(b=G(a,"width"),this.Ia=(this.sd=qg(b))?rg(b):Fb(b));B(a,"height")&&(b=G(a,"height"),this.ab=(this.Xl=qg(b))?rg(b):Fb(b));Gf(this.mf)||(this.Ia=this.ab=Math.min(this.Ia,this.ab));this.N&&this.N.f(a)};function Xh(){hg.call(this);this.Da=new Wh(n)}x.e(Xh,hg);
Xh.prototype.Da=l;Xh.prototype.f=function(a){a=Xh.b.f.call(this,a);this.Da.f(a);return a};function Yh(){this.cl=new If}x.e(Yh,lf);w=Yh.prototype;w.cl=l;w.Ra=function(){return this.g.td};w.update=function(a,b){this.g.$c();Yh.b.update.call(this,a,b)};w.createElement=function(){return this.g.o().ba()};
w.Ga=function(a){a.setAttribute("d",this.cl.tn(this.g.sa.Da.mf,this.g.o(),Math.min(this.g.k().width,this.g.k().height),this.g.Ip.x,this.g.Ip.y,this.g.k().width,this.g.k().height,this.g.sa.ud()?this.g.sa.xc().za():1))};function Zh(){Z.call(this)}x.e(Zh,nf);Zh.prototype.Ub=function(){return Xh};Zh.prototype.dc=function(){return new Yh};function $h(){hg.call(this);this.Fo=0.15;this.sx=0;this.np=this.sd=i;this.Fo=this.Ia=1}x.e($h,hg);w=$h.prototype;w.Ia=l;w.Ka=q("Ia");w.sd=l;w.Fo=l;w.np=l;w.sx=l;
w.wH=l;w.f=function(a){var a=$h.b.f.call(this,a),b;B(a,"width")&&(b=G(a,"width"),this.Ia=(this.sd=qg(b))?rg(b):H(b)/100);B(a,"bulb_radius")&&(b=G(a,"bulb_radius"),this.Fo=(this.np=qg(b))?rg(b):H(b)/100);B(a,"bulb_padding")&&(this.sx=Gb(a,"bulb_padding"));L(a,"blub")&&(this.wH=new sd,this.wH.f(D(a,"blub")));return a};function ai(){}x.e(ai,lf);
ai.prototype.update=function(a,b){if(b){var c=this.g,e=c.sa,f=(e.sd?c.n.rb():1)*e.Ka(),h=(e.np?c.n.rb():1)*e.Fo,j=kh(c.n,e.ra,e.Y(),f,i),k=kh(c.n,e.ra,e.Y(),f,n),f=c.n.O().kb(c.n.O().K),m=c.n.O().kb(lg(c,c.Ha)),s=c.n.Gj,h=s*h,e=s*e.sx,s=f,t=new R;c.n.Hc().Hf()?(t.y=(j+k)/2-h,t.height=2*h,c.n.O().Mb()?(t.x=m,t.width=s+2*h+e-t.x):(t.x=s-2*h-e,t.width=m-t.x)):(t.x=(j+k)/2-h,t.width=2*h,c.n.O().Mb()?(t.y=m,t.height=s+2*h-t.y):(t.y=s-2*h,t.height=m-t.y));f=c.n.O().Mb()?f+e:f-e;c.kc.Hf()?(e=new P(m,j),
m=new P(m,k),k=new P(f,k),j=new P(f,j)):(e=new P(j,m),m=new P(k,m),k=new P(k,f),j=new P(j,f));f=T(e.x,e.y);f+=V(m.x,m.y);f+=V(k.x,k.y);f+=c.o().nb(h,1,1,j.x,j.y,h);f+=V(j.x,j.y);f+=V(e.x,e.y);c.j.x=Math.min(e.x,m.x,k.x,j.x);c.j.y=Math.min(e.y,m.y,k.y,j.y);c.j.width=Math.max(e.x,m.x,k.x,j.x)-c.j.x;c.j.height=Math.max(e.y,m.y,k.y,j.y)-c.j.y;h=f;c.gL=h}ai.b.update.call(this,a,b)};ai.prototype.createElement=function(){return this.g.o().ba()};ai.prototype.Ga=function(a){a.setAttribute("d",this.g.gL)};
function bi(){Z.call(this)}x.e(bi,nf);bi.prototype.Ub=function(){return $h};bi.prototype.dc=function(){return new ai};function ci(){hg.call(this);this.Ia=0.1;this.sd=n}x.e(ci,hg);w=ci.prototype;w.Ia=l;w.Ka=q("Ia");w.sd=l;w.La="%color";w.VB=l;w.kk=l;w.aj=l;w.SB=l;w.jk=l;w.$i=l;w.hw=l;
w.f=function(a){a=ci.b.f.call(this,a);if(B(a,"width")){var b=G(a,"width");this.Ia=(this.sd=qg(b))?rg(b):Fb(b)}B(a,"color")&&(this.La=N(a,"color"));this.VB=di("0xFFFFFF",0.3);this.SB=di(this.La,1);this.hw=new qd;this.hw.f({thickness:"3",color:"0xFFFFFF",opacity:"0.3"});this.kk=ei(0.3);this.jk=ei(1);this.aj=fi("0xFFFFFF",0.3);this.$i=fi(this.La,1);return a};
function di(a,b){var c="DarkColor("+a+")",e="LightColor("+a+")",f=new nd;f.f({type:"gradient",gradient:{key:[{color:c,position:"0",opacity:b},{color:c,position:"0.05",opacity:b},{color:e,position:"0.85",opacity:b},{color:e,position:"0.85",opacity:b},{color:c,position:"1",opacity:b}]}});return f}
function ei(a){var b=new nd;b.f({type:"gradient",gradient:{key:[{color:"0xFFFFFF",position:"0",opacity:0},{color:"0xFFFFFF",position:"0.2",opacity:Number(160/255)*a},{color:"0xFFFFFF",position:"0.25",opacity:Number(140/255)*a},{color:"0xFFFFFF",position:"0.3",opacity:Number(30/255)*a},{color:"0xFFFFFF",position:"0.35",opacity:0},{color:"0xFFFFFF",position:"1",opacity:0}]}});return b}
function fi(a,b){var c=new nd;c.f({type:"gradient",gradient:{key:[{color:"0xFFFFFF",position:"0",opacity:0.1*b},{color:"DarkColor("+a+")",position:"1",opacity:b}]}});return c}function gi(){ci.call(this)}x.e(gi,ci);gi.prototype.f=function(a){a=gi.b.f.call(this,a);this.SB.ib.Sc(-90);this.VB.ib.Sc(-90);this.jk.ib.Sc(-90);this.kk.ib.Sc(-90);this.$i.ib.Sc(140);this.aj.ib.Sc(140);return a};function hi(){ci.call(this)}x.e(hi,ci);
hi.prototype.f=function(a){a=hi.b.f.call(this,a);this.$i.ib.Sc(50);this.aj.ib.Sc(50);return a};function ii(){}x.e(ii,te);w=ii.prototype;w.Kq=l;w.aj=l;w.kk=l;w.Lq=l;w.Hq=l;w.$i=l;w.jk=l;w.Iq=l;w.Jq=l;
w.Lc=function(){this.Kq=new re;this.Kq.p(this.g,this,this.Dl);this.Kq.Ar=function(a){return a.VB};this.Kq.Ga=function(){this.q.setAttribute("d",this.g.Fu(this.g.Om))};this.Lq=new qe;this.Lq.p(this.g,this,this.Dl);this.Lq.WD=function(a){return a.hw};this.Lq.Ga=function(){this.q.setAttribute("d",this.g.YD(this.g.Om))};this.kk=new re;this.kk.p(this.g,this,this.Dl);this.kk.Ar=function(a){return a.kk};this.kk.Ga=function(){this.q.setAttribute("d",this.g.Fu(this.g.Om))};this.aj=new re;this.aj.p(this.g,
this,this.Dl);this.aj.Ar=function(a){return a.aj};this.aj.Ga=function(){this.q.setAttribute("d",this.g.XD(this.g.Om))};this.Hq=new re;this.Hq.p(this.g,this,this.Dl);this.Hq.Ar=function(a){return a.SB};this.Hq.Ga=function(){this.q.setAttribute("d",this.g.Fu(this.g.rl))};this.Iq=new qe;this.Iq.p(this.g,this,this.Dl);this.Iq.WD=function(a){return a.hw};this.Iq.Ga=function(){this.q.setAttribute("d",this.g.YD(this.g.rl))};this.jk=new re;this.jk.p(this.g,this,this.Dl);this.jk.Ar=function(a){return a.jk};
this.jk.Ga=function(){this.q.setAttribute("d",this.g.Fu(this.g.rl))};this.Jq=new qe;this.Jq.p(this.g,this,this.Dl);this.Jq.WD=function(a){return a.hw};this.Jq.Ga=function(){this.q.setAttribute("d",this.g.JI(this.g.rl))};this.$i=new re;this.$i.p(this.g,this,this.Dl);this.$i.Ar=function(a){return a.$i};this.$i.Ga=function(){this.q.setAttribute("d",this.g.XD(this.g.rl))}};w.Dl=function(){return this.g.o().ba()};w.ge=function(){this.g.n.O().Mb()?(ji(this),ki(this)):(ki(this),ji(this))};
function ki(a){var b=a.g.Ra();b.appendChild(a.Hq.q);b.appendChild(a.Iq.q);b.appendChild(a.Jq.q);b.appendChild(a.jk.q);b.appendChild(a.$i.q)}function ji(a){var b=a.g.Ra();b.appendChild(a.Kq.q);b.appendChild(a.Lq.q);b.appendChild(a.kk.q);b.appendChild(a.aj.q)}w.update=function(a,b){b&&this.g.$c();this.Kq.update(a,b);this.Lq.update(a,b);this.kk.update(a,b);this.aj.update(a,b);this.Hq.update(a,b);this.Iq.update(a,b);this.jk.update(a,b);this.$i.update(a,b);this.Jq.update(a,b)};function li(){}x.e(li,ii);
li.prototype.ge=function(){this.g.n.O().Mb()?(ji(this),ki(this)):(ki(this),ji(this))};function mi(){}x.e(mi,ii);mi.prototype.ge=function(){this.g.n.O().Mb()?(ki(this),ji(this)):(ji(this),ki(this))};function ni(){Z.call(this)}x.e(ni,Z);ni.prototype.Ub=function(){return gi};ni.prototype.dc=function(){return new li};function oi(){Z.call(this)}x.e(oi,Z);oi.prototype.Ub=function(){return hi};oi.prototype.dc=function(){return new mi};function qi(){kg.call(this)}x.e(qi,kg);qi.prototype.p=function(a){qi.b.p.call(this,a);this.hC();return this.v};qi.prototype.hC=o();qi.prototype.CH=function(a,b,c){a=new P(b,c);a=this.n.Hc().Hf()?a.x:a.y;this.Ha=a=this.n.O().aB(a);og(this,this.Ha)};qi.prototype.Ba=function(a){if("%Value"==a)return this.Ha;qi.b.Ba.call(this,a)};function ri(){kg.call(this)}x.e(ri,qi);w=ri.prototype;w.Ib=u("bar_pointer_style");w.Hb=function(){return new Vh};w.p=function(a){ri.b.p.call(this,a);return this.v};
w.$c=function(){var a=this.OI(),b=(this.sa.sd?this.n.rb():1)*this.sa.Ka(),c=kh(this.n,this.sa.ra,this.sa.Y(),b,i),b=kh(this.n,this.sa.ra,this.sa.Y(),b,n),e=this.n.scale.kb(this.bJ()),a=this.n.scale.kb(a);this.n.Hc().Hf()?(this.j.y=Math.min(c,b),this.j.height=Math.max(c,b)-this.j.y,this.j.x=Math.min(e,a),this.j.width=Math.max(e,a)-this.j.x):(this.j.x=Math.min(c,b),this.j.width=Math.max(c,b)-this.j.x,this.j.y=Math.min(e,a),this.j.height=Math.max(e,a)-this.j.y)};w.bJ=function(){return this.sa.Ns?0:this.n.O().K};
w.OI=function(){return lg(this,this.Ha)};function si(){kg.call(this)}x.e(si,ri);w=si.prototype;w.Td=l;w.Ib=u("range_bar_pointer_style");w.f=function(a,b){si.b.f.call(this,a,b);B(a,"start")&&(this.Ha=J(a,"start"));B(a,"end")&&(this.Td=J(a,"end"));this.Uo=n};w.bJ=function(){return lg(this,this.Ha)};w.OI=function(){return lg(this,this.Td)};w.Ba=function(a){if("%Value"==a)return this.Td-this.Ha;if("%StartValue"==a)return this.Ha;if("%EndValue"==a)return this.Td};w.Aa=u(2);
function ti(){kg.call(this)}x.e(ti,qi);w=ti.prototype;w.Ip=l;w.td=l;w.Ib=u("marker_pointer_style");w.Hb=function(){return new Zh};w.p=function(a){this.td=new X(a);ti.b.p.call(this,a);this.v.Z(this.td);return this.v};
w.$c=function(){var a=this.sa.Da,b=this.n.Gj,c=(a.Xl?this.n.rb():1)*a.wb()*b,e=(a.sd?this.n.rb():1)*a.Ka()*b,b=this.kc.Hf(),f=this.n.qb(this.sa.ra,this.sa.Y(),0,n),h=new P;this.n.zm(f,this.n.O().kb(lg(this,this.Ha)),h);h.x-=c/2;h.y-=e/2;this.j.x=-c/2;this.j.y=-e/2;this.j.width=c;this.j.height=e;this.Ip=new P(-c/2,-e/2);f=h.la();if(b){this.td.jd(h.y+e/2);switch(this.sa.ra){case 0:var j=this.td;j.ca-=e/2;Yc(j);break;case 1:j=this.td,j.ca+=e/2,Yc(j)}this.td.Pd(h.x+c/2)}else{this.td.Pd(h.x+c/2);switch(this.sa.ra){case 0:j=
this.td;j.Qa-=c/2;Yc(j);break;case 1:Zc(this.td,c/2)}this.td.jd(h.y+e/2)}c=0;if(a.wo)switch(this.sa.ra){case 0:case ig:c=b?-180:90;break;case 1:c=b?0:-90}this.td.bl(c+a.rj());this.j.x=f.x;this.j.y=f.y};function ui(){kg.call(this)}x.e(ui,qi);ui.prototype.Ib=u("thermometer_pointer_style");ui.prototype.Hb=function(){return new bi};ui.prototype.gL=l;
ui.prototype.hC=function(){var a=this.F.ta;vi(this,this.F.ta);vi(this,this.F.ec);vi(this,this.F.ic);vi(this,this.F.Rb);vi(this,this.F.gc);a=2*(a.np?this.n.rb():1)*a.Fo+a.sx;this.n.O().Mb()?this.kc.mj=Math.max(this.kc.mj,a):this.kc.Wj=Math.max(this.kc.Wj,a)};function vi(a,b){var c=(b.sd?a.n.rb():1)*b.Ka();if((b.np?a.n.rb():1)*b.Fo<c/2)b.Fo=c/2/(b.np?a.n.rb():1)}function wi(){kg.call(this)}x.e(wi,qi);wi.prototype.Ib=u("tank_pointer_style");wi.prototype.Om=l;wi.prototype.rl=l;
wi.prototype.hC=function(){var a=0.1488095238*(this.sa.sd?this.n.rb():1)*this.sa.Ka();this.kc.mj=Math.max(this.kc.mj,a);this.kc.Wj=Math.max(this.kc.Wj,a)};function xi(){kg.call(this)}x.e(xi,wi);w=xi.prototype;w.Hb=function(){return new ni};
w.$c=function(){var a=(this.sa.sd?this.n.rb():1)*this.sa.Ka(),b=kh(this.n,this.sa.ra,this.sa.Y(),a,i),c=this.n.O().kb(this.n.O().K),e=this.n.O().kb(this.n.O().V),f=this.n.O().kb(this.Ha),a=a*this.n.Gj;this.n.O().Mb()?(this.j=new R(f,b,c-f,a),this.rl=new R(f,b,c-f,a),this.Om=new R(e,b,f-e,a)):(this.j=new R(c,b,f-c,a),this.rl=new R(c,b,f-c,a),this.Om=new R(f,b,e-f,a))};
w.Fu=function(a){var b=this.o(),c=0.1488095238*a.height,e=a.height/2,f=a.y+a.height/2+W(e,90),h=T(a.x+Ec(c,90),f),h=h+b.nb(c,1,1,a.x,a.y,e),h=h+V(a.x+a.width,a.y);return h+=b.nb(c,0,1,a.x+a.width,f,e)};w.YD=function(a){var b=0.1488095238*a.height,c=a.height/2,e=a.y+a.height/2+W(c,90),f=T(a.x+a.width+1.5,a.y+1);return f+=this.o().nb(b,1,0,a.x+a.width+1.5,e,c)};w.JI=function(a){var b=0.1488095238*a.height,c=a.height/2,e=a.y+a.height/2+W(c,90),f=T(a.x+1,a.y);return f+=this.o().nb(b,0,0,a.x,e,c)};
w.XD=function(a){var b=T(a.x+a.width-1,a.y);return b+=this.o().nb(0.1488095238*a.height,1,0,a.x+a.width-1+0.1,a.y,a.height/2)};function yi(){kg.call(this)}x.e(yi,wi);w=yi.prototype;w.Hb=function(){return new oi};
w.$c=function(){var a=(this.sa.sd?this.n.rb():1)*this.sa.Ka(),b=kh(this.n,this.sa.ra,this.sa.Y(),a,i),c=this.n.O().kb(this.n.O().K),e=this.n.O().kb(this.n.O().V),f=this.n.O().kb(this.Ha),a=a*this.n.Gj;this.n.O().Mb()?(this.j=new R(b,f,a,c-f),this.rl=new R(b,f,a,c-f),this.Om=new R(b,e,a,f-e)):(this.j=new R(b,c,a,f-c),this.rl=new R(b,c,a,f-c),this.Om=new R(b,f,a,e-f))};
w.Fu=function(a){var b=this.o(),c=T(a.x,a.y),c=c+b.nb(a.width/2,0,1,a.x+a.width,a.y,0.1488095238*a.width),c=c+V(a.x+a.width,a.y+a.height);return c+=b.nb(a.width/2,0,1,a.x,a.y+a.height,0.1488095238*a.width)};w.YD=function(a){var b=T(a.x,a.y);return b+=this.o().nb(a.width/2,1,0,a.x,a.y-0.1,0.1488095238*a.width)};w.JI=function(a){var b=T(a.x,a.y+a.height-1);return b+=this.o().nb(a.width/2,0,0,a.x+a.width,a.y+a.height,0.1488095238*a.width)};
w.XD=function(a){var b=T(a.x,a.y);return b+=this.o().nb(a.width/2,1,0,a.x,a.y-0.1,0.1488095238*a.width)};function zi(){Kh.call(this);this.Py=n;this.mj=this.Wj=0}x.e(zi,Kh);w=zi.prototype;w.Py=n;w.Hf=q("Py");w.Wj=0;w.mj=0;w.p=function(a,b,c){zi.b.p.call(this,a,b,c);return this.Ec};w.f=function(a){B(a,"orientation")&&(this.Py="horizontal"==N(a,"orientation"));zi.b.f.call(this,a)};w.AD=u(2);w.Hx=function(){return new Mh(this)};w.qC=function(){return new Ai(this)};
w.TH=function(a){switch(a){case "bar":return new ri;case "rangebar":return new si;case "marker":return new ti;case "tank":return this.Hf()?new xi:new yi;case "thermometer":return new ui;default:return new ri}};w.Ne=function(a){this.Py&&a&&a.Sc(a.cc+90)};w.Dc=function(a){zi.b.Dc.call(this,a);this.frame.xt(this.Za)};function Ai(a){this.Tb=a}x.e(Ai,Gh);w=Ai.prototype;w.Xp=NaN;w.xa=0.5;w.Wj=0.05;w.mj=0.05;
w.f=function(a,b){Ai.b.f.call(this,a,b);this.Tb.Hf()||(this.scale.Xc=!this.scale.CD());Bi(this,this.Nn);Bi(this,this.Tn);B(a,"position")&&(this.xa=Gb(a,"position"));B(a,"start_margin")&&(this.Wj=Gb(a,"start_margin"));B(a,"end_margin")&&(this.mj=Gb(a,"end_margin"))};function Bi(a,b){if(b)if(a.Tb.Hf()){var c=b.ri();b.es=b.Ka();b.Sj(c)}else 108==b.Ol()&&b.mq(5)}
w.Or=function(){Ai.b.Or.call(this);var a=this.Tb.Hf(),b=this.Tb.k();this.sz=a?b.width:b.height;this.ZJ=a?b.height:b.width;this.Gj=Math.min(b.width,b.height);this.Xp=(a?b.y:b.x)+this.ZJ*this.xa;var c=this.sz,e=this.Wj*c,c=this.mj*c,f=this.Gj,e=Math.max(e,this.Tb.Wj*f),c=Math.max(c,this.Tb.mj*f);this.Jv=this.size*f;a?(e+=b.x,c=b.Ja()-c):(e+=b.y,c=b.ja()-c);a=this.scale;a.Ac=e;a.Ic=c;this.scale.Pc()};w.Jv=NaN;w.Gj=NaN;w.sz=NaN;w.ZJ=NaN;
w.qb=function(a,b,c,e){e==g&&(e=n);var f=this.Gj;switch(a){case 0:return this.Xp-f*(e?b:b+c)-(e?c:0)-this.Jv/2;case 1:return this.Xp+f*b+this.Jv/2;default:return this.Xp-(e?1:f)*c/2+f*b}};
w.QD=function(a){var b=new R,c=this.Tb.k();b.x=c.x;b.y=c.y;var e=this.Gj,f;1==a.Ol()?(f=this.qb(a.ra,a.Y(),a.rb()),a=e*a.rb()):(f=this.qb(a.ra,a.Y(),0),a=0);var e=this.Wj*this.sz,h=this.mj*this.sz,j=this.Gj,e=Math.max(e,this.Tb.Wj*j),h=Math.max(h,this.Tb.mj*j);this.Tb.Hf()?(b.y=f,b.height=a,b.x+=e,b.width=c.width-e-h):(b.x=f,b.width=a,b.y+=e,b.height=c.height-e-h);return b};
w.aJ=function(a,b){var c=this.QD(b),e="";1==b.Ol()?(e+=T(c.x,c.y),e+=V(c.Ja(),c.y),e+=V(c.Ja(),c.ja()),e+=V(c.x,c.ja())):(e+=T(c.x,c.y),e+=V(c.Ja(),c.ja()));return e+" Z"};w.lj=function(a,b,c){var e=this.Ec.o(),f=this.Gj,h=a.ri()*f,f=a.Ka()*f,j=Math.min(h,f),k=0,m=0;this.Tb.Hf()?(m=this.qb(a.ra,a.Y(),f,i),k=b-h/2):(k=this.qb(a.ra,a.Y(),h,i),m=b-f/2);b=a.lj(e,k,m,j,h,f,c);b.bl(b.rj()+a.rj());return b};w.Yt=function(a){return new Jh(a)};
w.Ug=function(a){var b=new P,c=this.He.sj().k();this.Tb.Hf()?(b.x=a-c.width/2,b.y=this.qb(this.He.ra,this.He.Y(),c.height,i)):(b.y=a-c.height/2,b.x=this.qb(this.He.ra,this.He.Y(),c.width,i));return b};w.zm=function(a,b,c){this.Tb.Hf()?(c.x=b,c.y=a):(c.x=a,c.y=b)};function kh(a,b,c,e,f){var h=a.Gj;switch(b){case 0:return a.Xp-h*(c+(f?0:e))-a.Jv/2;case 1:return a.Xp+h*(c+(f?0:e))+a.Jv/2;default:case ig:return a.Xp+h*e*(f?-0.5:0.5)}};function Ci(a){Jf.call(this,a)}x.e(Ci,Jf);w=Ci.prototype;w.RH=function(){return new Di(this)};w.SH=function(){return new Ei(this)};w.NH=function(){return new Fi(this)};w.za=function(){var a=0;this.Vc&&this.Vc.isEnabled()&&(a+=this.Vc.za());this.Wd&&this.Wd.isEnabled()&&(a+=this.Wd.za());return a};
w.xt=function(a){var b=1+this.za()+this.padding,c=this.Tb,e=2*b,f=2*b,b=Math.min(a.width/e,a.height/f),e=e*b,f=f*b;a.x+=(a.width-e)/2;a.y+=(a.height-f)/2;a.width=e;a.height=f;c.xz=2*b;c.qn=b;c.om.x=0.5;c.om.y=0.5};w.ji=function(a,b){var c;c=this.Tb.qn;var e=this.Tb.ac;c=""+Nc(a,e.x,e.y,c+this.padding*c+b*c);return c+" Z"};
w.hy=function(a,b,c){var e="",f=this.Tb.qn,h=this.padding*f,b=f+h+b*f,c=f+h+c*f,j=this.Tb.ac.x,f=this.Tb.ac.y,h=j+b,k=j+b*Math.cos(359.999*Math.PI/180),m=f+b*Math.sin(359.999*Math.PI/180),e=e+T(h,f),e=e+a.nb(b,1,1,k,m,b),b=j+c,j=j+c*Math.cos(359.999*Math.PI/180),k=f+c*Math.sin(359.999*Math.PI/180),e=e+T(j,k),e=e+a.nb(c,1,0,b,f,c);return e+=T(h,f)};function Gi(a){this.frame=a}x.e(Gi,Cf);
Gi.prototype.p=function(a){if(!this.na)return l;var b=this.createElement(a),c=this.createElement(a);return new rd(a,b,c)};Gi.prototype.ga=function(a,b,c){var e=a.o(),f;this.We&&this.We.isEnabled()&&(f=Dc(e.xk,this.We));e=this.Tg(e);this.QC(a.Sg,e,a,b,c,f);wd(this,a.Wg,e,a,f)};Gi.prototype.Tg=function(a){var b="",c,e;this instanceof Di?(c=0,e=this.za()):(c=0,this.frame.Vc.isEnabled()&&(c=this.frame.Vc.za()),e=c+this.za());return b+=this.frame.hy(a,c,e)+" Z"};Gi.prototype.frame=l;
function Di(a){this.frame=a}x.e(Di,Gi);function Ei(a){this.frame=a}x.e(Ei,Gi);function Fi(a){this.GI=a}x.e(Fi,vd);Fi.prototype.GI=l;Fi.prototype.createElement=function(a){return a.ba()};Fi.prototype.Tg=function(a){return this.GI.ji(a,0)+" Z"};function Hi(a){Jf.call(this,a)}x.e(Hi,Ci);Hi.prototype.hy=function(a,b,c){b=""+this.ji(a,b);return b+=this.ji(a,c)};
Hi.prototype.ji=function(a,b){var c="",e=this.Tb,f=e.qn;if(this.GB)f+=this.padding*f+b*f,e=new R(e.ac.x-f,e.ac.y-f,2*f,2*f);else{var h=new jd,j=this.za();h.vm(j-b);j=new R;j.kh(e.Za.x+h.pb()*f);j.mh(e.Za.y+h.lb()*f);j.lh(e.Za.Ja()-h.Ja()*f);j.jh(e.Za.ja()-h.ja()*f);e=j}this.Ym==l?c+=Pc(e):(h=this.Ym.la(),h.ka=h.ka*f/100,h.I=h.I*f/100,h.S=h.S*f/100,h.fa=h.fa*f/100,c+=md(h,a,e));return c};function Ii(a){Jf.call(this,a)}x.e(Ii,Ci);
Ii.prototype.oj=function(a){var b=Math.cos(a),a=Math.sin(a);return 0<=b&&0<=a?0:0>=b&&0<=a?1:0>=b&&0>a?2:3};
Ii.prototype.xt=function(){var a=this.Tb,b=this.za(),c=this.padding,e=a.pv,f=a.nv,h=f-e,j=new jd;j.vm(0);if(320<=h)j.vm(1+c);else{var e=e*Math.PI/180,k=f*Math.PI/180,h=[];h.push(e);h.push(k);var f=[],m=this.oj(e),s=this.oj(k);if(m!=s)switch(m){case 0:1==s?f.push(Math.PI/2):2==s?(f.push(Math.PI/2),f.push(Math.PI)):3==s&&(f.push(Math.PI/2),f.push(Math.PI),f.push(3*Math.PI/2));break;case 1:0==s?(f.push(0),f.push(Math.PI),f.push(3*Math.PI/2)):2==s?f.push(Math.PI):3==s&&(f.push(Math.PI),f.push(3*Math.PI/
2));break;case 2:1==s?(f.push(Math.PI/2),f.push(0),f.push(3*Math.PI/2)):3==s?f.push(3*Math.PI/2):0==s&&(f.push(0),f.push(3*Math.PI/2));break;case 3:0==s?f.push(0):1==s?(f.push(0),f.push(Math.PI/2)):2==s&&(f.push(0),f.push(Math.PI/2),f.push(Math.PI))}else k-e>Math.PI&&(f.push(0),f.push(Math.PI/2),f.push(Math.PI),f.push(3*Math.PI/2));for(e=0;e<h.length;e++){var t=h[e],k=c,m=j,s=Math.cos(t),t=Math.sin(t),s=new R(s,t,0,0);Fc(s,k,k);0>s.pb()?m.kh(Math.min(m.pb(),s.pb())):m.lh(Math.max(m.Ja(),s.pb()));
0>s.Ja()?m.kh(Math.min(m.pb(),s.Ja())):m.lh(Math.max(m.Ja(),s.Ja()));0>s.lb()?m.mh(Math.min(m.lb(),s.lb())):m.jh(Math.max(m.ja(),s.lb()));0>s.ja()?m.mh(Math.min(m.lb(),s.lb())):m.jh(Math.max(m.ja(),s.ja()))}for(e=0;e<f.length;e++)m=f[e],s=c,h=j,k=(1+s)*Math.cos(m),m=(1+s)*Math.sin(m),0>k?h.kh(Math.min(h.pb(),k)):h.lh(Math.max(h.Ja(),k)),0>m?h.mh(Math.min(h.lb(),m)):h.jh(Math.max(h.ja(),m));c+=this.Tb.em;j.kh(Math.max(Math.abs(j.pb()),c));j.lh(Math.max(j.Ja(),c));j.mh(Math.max(Math.abs(j.lb()),c));
j.jh(Math.max(j.ja(),c))}j.kh(j.pb()+b);j.lh(j.Ja()+b);j.mh(j.lb()+b);j.jh(j.ja()+b);b=j.pb()+j.Ja();c=j.lb()+j.ja();f=Math.min(a.Za.width/b,a.Za.height/c);e=b*f;h=c*f;a.Za.x+=(a.Za.width-e)/2;a.Za.y+=(a.Za.height-h)/2;a.Za.width=e;a.Za.height=h;a.xz=2*f;a.qn=f;a.om.x=j.pb()/b;a.om.y=j.lb()/c};function Ji(a){Jf.call(this,a)}x.e(Ji,Ii);
Ji.prototype.ji=function(a,b){var c="",e=this.Tb,f=e.qn,h=new jd,j=this.za();h.vm(j-b);j=new R;j.kh(e.Za.x+h.pb()*f);j.mh(e.Za.y+h.lb()*f);j.lh(e.Za.Ja()-h.Ja()*f);j.jh(e.Za.ja()-h.ja()*f);this.Ym==l?c+=Pc(j):(e=this.Ym.la(),e.ka=e.ka*f/100,e.I=e.I*f/100,e.S=e.S*f/100,e.fa=e.fa*f/100,c+=md(e,a,j));return c};Ji.prototype.hy=function(a,b,c){b=""+this.ji(a,b);return b+=this.ji(a,c)};function Ki(a){Jf.call(this,a)}x.e(Ki,Ii);
Ki.prototype.ji=function(a,b){var c="",e=this.Tb,f=e.qn,h=e.em*f,j=this.padding*f+b*f,k=e.pv,m=e.nv,s=k*Math.PI/180,t=m*Math.PI/180,v=new P;v.x=e.ac.x+f*Math.cos(s);v.y=e.ac.y+f*Math.sin(s);s=new P;s.x=e.ac.x+f*Math.cos(t);s.y=e.ac.y+f*Math.sin(t);t=new R(v.x,v.y,0,0);Fc(t,j,j);v=new R(s.x,s.y,0,0);Fc(v,j,j);s=new R(e.ac.x,e.ac.y,0,0);Fc(s,j+h,j+h);h=new R(e.ac.x,e.ac.y,0,0);Fc(h,f+j,f+j);var y=m-k;320<=y?c+=Nc(a,e.ac.x,e.ac.y,f+j):270<y?(e=90-(360-y)/2,c+=Li(t,k+270+e,90-e,i),c+=Li(h,k,y,n),c+=Li(v,
m,90-e,n)):(c+=Li(t,k+270,90,i),c+=Li(h,k,y,n),c+=Li(v,m,90,n),c+=Li(s,m+45,360-y-90,n));return c};function Li(a,b,c,e){var f="",h=a.x+a.width/2,j=a.y+a.height/2,c=b+c,k=a.height/2,a=a.width/2,m=e;m==g&&(m=i);var e="",s,t,v=b;s=h+Ec(a,v);t=j+W(k,v);e=m?e+T(s,t):e+V(s,t);m=1;c<b&&(m=-m);for(b=0<m?v<c:v>c;b;)s=h+Ec(a,v),t=j+W(k,v),e+=V(s,t),v+=m,b=0<m?v<c:v>c;v=c;s=h+Ec(a,v);t=j+W(k,v);e+=V(s,t);return f+e}Ki.prototype.hy=function(a,b,c){b=""+this.ji(a,b);return b+=this.ji(a,c)};function Mi(a){Jh.call(this,a);this.ih=i;this.gk=n}x.e(Mi,Jh);w=Mi.prototype;w.ih=l;w.gk=l;w.Jk=l;w.f=function(a,b){Mi.b.f.call(this,a,b);B(a,"rotate_circular")&&(this.ih=I(a,"rotate_circular"));B(a,"auto_orientation")&&(this.gk=I(a,"auto_orientation"))};w.Sc=function(a){if(this.ih){var b=this.Eb.ob.Qb,b=!(this.gk&&0<Math.sin(a*Math.PI/180))?b+a+90:b+a-90;ce(this.Eb,-b)}};w.mC=function(a){if(this.ih){var b=this.Eb.ob.Qb,b=!(this.gk&&0<Math.sin(a*Math.PI/180))?b-a-90:b-a+90;ce(this.Eb,-b)}};w.rj=function(a){return this.Sc(a)};
w.qb=function(a,b,c,e){if(a==this.Eb&&this.ih){var f=new P;f.x=this.n.Hc().ac.x;f.y=this.n.Hc().ac.y;a=this.Eb.k().height;e=this.n.yd(c,e,0,i);switch(c){case 0:e-=a/2;break;case 1:e+=a/2}b=b*Math.PI/180;c=Math.round(1E3*Math.cos(b))/1E3;b=Math.round(1E3*Math.sin(b))/1E3;f.x+=e*c;f.y+=e*b;f.x-=this.Eb.k().width/2;f.y-=this.Eb.k().height/2}else{var f=new P,e=this.n.yd(c,e+0.01,0,n),h=b*Math.PI/180,b=Math.round(1E3*Math.cos(h))/1E3,h=Math.round(1E3*Math.sin(h))/1E3,j=a.OD(),a=j.width/2,j=j.height/2;
switch(c){case 1:e+=a*Math.abs(b)+j*Math.abs(h);break;case 0:e-=a*Math.abs(b)+j*Math.abs(h)}f.x=this.n.Hc().ac.x+e*b-a;f.y=this.n.Hc().ac.y+e*h-j}return c=f};w.ga=function(a,b){var c=Mi.b.ga.call(this,a,b),e=this.n.O().xb(this.n.il);this.ih&&(this.Sc(e),this.Eb.fD(c.vd),this.mC(e));return c};function Ni(){}w=Ni.prototype;w.vi=l;w.Ei=l;w.Ao=l;w.F=l;w.p=function(a,b,c){this.F=c;this.g=a;c.Vc&&c.Vc.isEnabled()&&(this.vi=a.o().ba());c.Wd&&c.Wd.isEnabled()&&(this.Ei=a.o().ba());c.pd()&&c.pd().isEnabled()&&(this.Ao=a.o().ba())};w.DB=function(a){this.Ao&&a.appendChild(this.Ao);this.vi&&a.appendChild(this.vi);this.Ei&&a.appendChild(this.Ei)};
w.update=function(){this.Ao&&this.Dw(this.ZB());if(this.vi){var a=Oi(this,this.F.Vc);this.vi&&(this.vi.setAttribute("d",Pi(this,this.g.o())),this.vi.setAttribute("style",this.Bu(this.F.Vc,a)))}this.Ei&&(a=Oi(this,this.F.Wd),this.Ei&&(this.Ei.setAttribute("d",Qi(this,this.g.o())),this.Ei.setAttribute("style",this.Bu(this.F.Wd,a))))};w.Dw=function(a){this.Ao&&(this.Ao.setAttribute("d",this.zu(this.g.o())),this.Ao.setAttribute("style",this.Bu(this.F.pd(),a)))};
w.Bu=function(a,b){var c;c=""+(a.xc()?Y(a.xc(),this.g.o(),b,l,i):"");var e=a.Cb().ib?1==a.Cb().ib.ub():l;c+=a.Cb()?od(a.Cb(),this.g.o(),b,l,e):"";return c+=a.Fe()?tc(a.Fe(),this.g.o()):""};w.ZB=function(){var a=this.g.n,b=a.Hc().ac,a=a.xd((this.F.re?a.size:1)*this.F.ve),c=new R;c.x=b.x-a;c.y=b.y-a;c.width=2*a;c.height=2*a;return c};
function Oi(a,b){var c=new R,e=a.g.n,f=(a.F.re?e.size:1)*a.F.ve,h=e.Hc().ac,e=b==a.F.Vc?e.xd(f+a.F.Vc.za()):e.xd(f+a.F.Vc.za()+a.F.Wd.za());c.x=h.x-e;c.y=h.y-e;c.width=c.height=2*e;return c}w.zu=function(a){var b=this.g.n,c=b.Hc().ac,a=""+Nc(a,c.x,c.y,b.xd((this.F.re?b.size:1)*this.F.ve));return a+" Z"};
function Pi(a,b){var c="",e=a.g.n,f=(a.F.re?e.size:1)*a.F.ve,h=e.Hc().ac,j=e.xd(f),e=e.xd(f+a.F.Vc.za()),k=h.x,h=h.y,f=k+j,m=k+j*Math.cos(359.999*Math.PI/180),s=h+j*Math.sin(359.999*Math.PI/180),c=c+T(f,h),c=c+b.nb(j,1,1,m,s,j),j=k+e,k=k+e*Math.cos(359.999*Math.PI/180),m=h+e*Math.sin(359.999*Math.PI/180),c=c+T(k,m),c=c+b.nb(e,1,0,j,h,e),c=c+T(f,h);return c+" Z"}
function Qi(a,b){var c="",e=a.g.n,f=(a.F.re?e.size:1)*a.F.ve,h=e.Hc().ac,j=e.xd(f+a.F.Vc.za()),e=e.xd(f+a.F.Vc.za()+a.F.Wd.za()),k=h.x,h=h.y,f=k+j,m=k+j*Math.cos(359.999*Math.PI/180),s=h+j*Math.sin(359.999*Math.PI/180),c=c+T(f,h),c=c+b.nb(j,1,1,m,s,j),j=k+e,k=k+e*Math.cos(359.999*Math.PI/180),m=h+e*Math.sin(359.999*Math.PI/180),c=c+T(k,m),c=c+b.nb(e,1,0,j,h,e),c=c+T(f,h);return c+" Z"}function Ri(){}x.e(Ri,vd);w=Ri.prototype;w.Bo=l;w.F=l;w.g=l;
w.p=function(a,b){this.F=b;this.g=a;b.pd()&&b.pd().isEnabled()&&(this.Bo=a.o().ba())};w.DB=function(a){this.Bo&&a.appendChild(this.Bo)};w.update=function(){this.Bo&&this.Dw(this.ZB());this.g.ds.bl(this.g.n.O().kb(lg(this.g,this.g.ia())))};w.Dw=function(a){this.Bo&&(this.Bo.setAttribute("d",this.zu(this.g.o())),this.Bo.setAttribute("style",this.Bu(this.F.pd(),a)))};
w.Bu=function(a,b){var c;c=""+(a.xc()?Y(a.xc(),this.g.o(),b,l,i):"");c+=a.Cb()?od(a.Cb(),this.g.o(),b,l,i):"";return c+=a.Fe()?tc(a.Fe(),this.g.o()):""};w.ZB=function(){var a=this.g.n,b=this.F,a=a.xd((b.re?a.size:1)*b.ve+(b.dz?a.size:1)*b.zC);return new R(-a,-a,2*a,2*a)};
w.zu=function(a){var b="",c=this.g,e=c.n,f=c.sa.ev,h=(f.re?e.size:1)*f.ve,j=f.sM,k=e.xd(h),f=e.xd(h+(f.dz?e.size:1)*f.zC),e=e.Hc().ac,h=360/j;c.ds.Pd(e.x);c.ds.jd(e.y);var c=90-h/2,m=n,e=new P(0,0),s=new P;s.x=e.x+f*Math.cos(c*Math.PI/180);s.y=e.y+f*Math.sin(c*Math.PI/180);var t,v,y;y=s.x;v=s.y;for(var C,M,b=b+T(y,v),ea=0;ea<j;ea++)t=m?k:f,v=c+h*ea,y=v+h,C=e.x+t*Math.cos(y*Math.PI/180),M=e.x+t*Math.sin(y*Math.PI/180),y=e.x+t*Math.cos(v*Math.PI/180),v=e.y+t*Math.sin(v*Math.PI/180),b+=V(y,v),b+=a.nb(t,
0,1,C,M,t),m=!m;b+=V(s.x,s.y);return b+" Z"};function Si(){this.background=new sd;this.ve=0.5;this.dz=this.re=n}w=Si.prototype;w.sM=12;w.zC=0.03;w.ve=l;w.re=l;w.dz=l;w.background=l;w.pd=q("background");w.f=function(a){var b;this.background.f(a);B(a,"radius")&&(b=G(a,"radius"),this.ve=(this.re=qg(b))?rg(b):Fb(b));B(a,"gear_height")&&(b=G(a,"gear_height"),this.dz=qg(b),this.zC=this.re?rg(b):Fb(b))};function Ti(){this.ve=0.1;this.re=n}w=Ti.prototype;w.ve=l;w.re=l;w.Vc=l;w.Wd=l;w.background=l;w.pd=q("background");
w.f=function(a){var b;B(a,"radius")&&(b=G(a,"radius"),this.ve=(this.re=qg(b))?rg(b):Fb(b));L(a,"inner_stroke")&&(this.Vc=new Cf,this.Vc.f(D(a,"inner_stroke")));L(a,"outer_stroke")&&(this.Wd=new Cf,this.Wd.f(D(a,"outer_stroke")));L(a,"background")&&(this.background=new sd,this.background.f(D(a,"background")))};function Ui(a){hg.call(this,a)}x.e(Ui,hg);Ui.prototype.Go=l;Ui.prototype.f=function(a){a=Ui.b.f.call(this,a);L(a,"cap")?(this.Go=new Ti,this.Go.f(D(a,"cap"))):this.Go=l;return a};
function Vi(){}x.e(Vi,lf);w=Vi.prototype;w.Pm=l;w.Lc=function(){Vi.b.Lc.call(this);var a=this.g.sa.Go;a!=l&&(this.Pm=new Ni,this.Pm.p(this.g,this,a))};w.ge=function(){Vi.b.ge.call(this);this.Pm!=l&&this.Pm.DB(this.g.It)};w.createElement=function(){return this.g.o().ba()};w.Ga=function(){var a=this.g;this.gb&&this.gb.q.setAttribute("d",a.yh.ga(a.Ra(),a));this.jb&&this.jb.q.setAttribute("d",a.yh.ga(a.Ra(),a));this.Pm!=l&&this.Pm.update()};w.Yc=o();
function Wi(a){a&&(this.background=new sd);this.$u=this.re=this.gz=this.fz=this.Uu=n}w=Wi.prototype;w.ve=l;w.re=l;w.QB=l;w.Uu=l;w.zK=l;w.gz=l;w.yK=l;w.fz=l;w.YA=l;w.$u=l;
w.f=function(a,b){var c;B(a,"radius")&&(c=G(a,"radius"),this.ve=(this.re=qg(c))?rg(c):Fb(c));B(a,"thickness")&&(c=G(a,"thickness"),this.YA=(this.$u=qg(c))?rg(c):Fb(c));B(a,"base_radius")&&(c=G(a,"base_radius"),this.QB=(this.Uu=qg(c))?rg(c):Fb(c));B(a,"point_thickness")&&(c=G(a,"point_thickness"),this.zK=(this.gz=qg(c))?rg(c):Fb(c));B(a,"point_radius")&&(c=G(a,"point_radius"),this.yK=(this.fz=qg(c))?rg(c):Fb(c));this.background!=l&&this.background.f(a,b)};
function Xi(a){hg.call(this,a);this.Kh=new Wi(n)}x.e(Xi,Ui);Xi.prototype.Kh=l;Xi.prototype.TI=q("Kh");Xi.prototype.f=function(a){a=Xi.b.f.call(this,a);this.Kh.f(a,this.ea());return a};function Yi(){}x.e(Yi,Vi);function Zi(){Z.call(this)}x.e(Zi,nf);Zi.prototype.Ub=function(){return Xi};Zi.prototype.dc=function(){return new Yi};function $i(a){hg.call(this,a);this.Ns=n;this.Ia=0.1;this.Wy=n}x.e($i,Ui);w=$i.prototype;w.Ns=l;w.Ia=l;w.Ka=q("Ia");w.Wy=l;
w.f=function(a){var a=$i.b.f.call(this,a),b;B(a,"width")&&(b=G(a,"width"),this.Ia=(this.Wy=qg(b))?rg(b):Fb(b));B(a,"start_from_zero")&&(this.Ns=I(a,"start_from_zero"));return a};function aj(){}x.e(aj,lf);aj.prototype.update=function(a,b){aj.b.update.call(this,a,b)};aj.prototype.createElement=function(){return this.g.o().ba()};aj.prototype.Ga=function(a){a.setAttribute("d",bj(this.g))};function cj(){Z.call(this)}x.e(cj,nf);cj.prototype.Ub=function(){return $i};cj.prototype.dc=function(){return new aj};
function dj(){hg.call(this,g);this.Da=new Wh(n)}x.e(dj,Ui);dj.prototype.Da=l;dj.prototype.f=function(a){a=dj.b.f.call(this,a);this.Da.f(a);return a};function ej(){this.cl=new If}x.e(ej,Vi);w=ej.prototype;w.cl=l;w.Ra=function(){return this.g.td};w.update=function(a,b){this.g.$c();ej.b.update.call(this,a,b)};w.createElement=function(){return this.g.o().ba()};
w.Ga=function(a){a.setAttribute("d",this.cl.tn(this.g.sa.Da.mf,this.g.o(),Math.min(this.g.k().width,this.g.k().height),this.g.Ip.x,this.g.Ip.y,this.g.k().width,this.g.k().height,this.g.sa.ud()?this.g.sa.xc().za():1));this.Pm!=l&&this.Pm.update()};function fj(){Z.call(this)}x.e(fj,nf);fj.prototype.Ub=function(){return dj};fj.prototype.dc=function(){return new ej};function gj(a){hg.call(this,a)}x.e(gj,Ui);gj.prototype.ev=l;gj.prototype.Kh=l;gj.prototype.TI=q("Kh");
gj.prototype.f=function(a){L(a,"knob_background")?(this.ev=new Si,this.ev.f(D(a,"knob_background"))):this.ev=l;L(a,"needle")?(gj.b.f.call(this,D(a,"needle")),this.Kh=new Wi(i),this.Kh.f(D(a,"needle"),this.ea())):this.Kh=l;return a=gj.b.f.call(this,a)};function hj(){}x.e(hj,Vi);hj.prototype.cs=l;hj.prototype.Lc=function(){hj.b.Lc.call(this);var a=this.g.sa.ev;a!=l&&(this.cs=new Ri,this.cs.p(this.g,a))};hj.prototype.ge=function(){hj.b.ge.call(this);this.cs!=l&&this.cs.DB(this.g.ds)};
hj.prototype.Ga=function(){hj.b.Ga.call(this);this.cs!=l&&this.cs.update()};function ij(){Z.call(this)}x.e(ij,nf);ij.prototype.Ub=function(){return gj};ij.prototype.dc=function(){return new hj};function jj(){}w=jj.prototype;w.gd=l;w.xd=q("gd");w.Gv=l;w.Vz=l;w.Uz=l;w.Hv=l;
w.ga=function(a,b){var c=b.bd(b.ea()),e=c.Kh,f=c.Cb(),c=b.n,h=0,j=new P(0,0),k=new P,m=new P,s=new P,t=new P,v=new P,y=new P;f!=l&&1==f.Na&&0==f.ib.Na&&(f.ib.cc+=h);h*=Math.PI/180;this.gd=c.xd((e.re?c.size:1)*e.ve);this.Gv=c.xd((e.Uu?c.size:1)*e.QB);this.Vz=c.xd((e.$u?c.size:1)*e.YA);this.Uz=c.xd((e.gz?c.size:1)*e.zK);this.Hv=c.xd((e.fz?c.size:1)*e.yK);var e=Math.sin(h),h=Math.cos(h),f=this.Vz/2*e,C=this.Vz/2*h;y.x=j.x+this.Gv*h;y.y=j.y+this.Gv*e;k.x=y.x-f;k.y=y.y+C;m.x=y.x+f;m.y=y.y-C;f=this.Uz/
2*e;C=this.Uz/2*h;y.x=j.x+(this.gd-this.Hv)*h;y.y=j.y+(this.gd-this.Hv)*e;s.x=y.x-f;s.y=y.y+C;t.x=y.x+f;t.y=y.y-C;v.x=j.x+this.gd*h;v.y=j.y+this.gd*e;j=[k,m,t,v,s];y=new R;y.x=Math.min(k.x,m.x,s.x,t.x,v.x);y.y=Math.min(k.y,m.y,s.y,t.y,v.y);y.width=Math.max(k.x,m.x,s.x,t.x,v.x)-y.x;y.height=Math.max(k.y,m.y,s.y,t.y,v.y)-y.y;b.jo(b.ia()>c.O().V?c.O().V:b.ia()<c.O().K?c.O().K:b.ia());a.Pd(c.Tb.ac.x);a.jd(c.Tb.ac.y);a.bl(c.O().kb(b.ia()));c=""+T(j[0].x,j[0].y);c+=V(j[1].x,j[1].y);c+=V(j[2].x,j[2].y);
c+=V(j[3].x,j[3].y);c+=V(j[4].x,j[4].y);c+=V(j[0].x,j[0].y);return c+" Z"};function kj(){kg.call(this)}x.e(kj,kg);kj.prototype.Ba=function(a){if("%Value"==a)return this.Ha;kj.b.Ba.call(this,a)};
function lj(a,b,c,e,f,h,j){var k=new P,m=new P,s=new P,t=new P,v=Math.sin(j*Math.PI/180),j=Math.cos(j*Math.PI/180),y=a.kc.ac,a=y.x+e/2*v,C=y.y-e/2*j,M=y.x-e/2*v,e=y.y+e/2*j;s.x=a+(h-f/2)*j;s.y=C+(h-f/2)*v;m.x=M+(h+f/2)*j;m.y=e+(h+f/2)*v;k.x=a+(h+f/2)*j;k.y=C+(h+f/2)*v;t.x=M+(h-f/2)*j;t.y=e+(h-f/2)*v;switch(b){case 0:c.x=(k.x+t.x)/2;c.y=(k.y+t.y)/2;break;case 7:c.x=(s.x+t.x)/2;c.y=(s.y+t.y)/2;break;case 1:c.x=(k.x+s.x)/2;c.y=(k.y+s.y)/2;break;case 5:c.x=(t.x+m.x)/2;c.y=(t.y+m.y)/2;break;case 3:c.x=
(k.x+m.x)/2;c.y=(k.y+m.y)/2;break;case 8:c.x=s.x;c.y=s.y;break;case 2:c.x=k.x;c.y=k.y;break;case 6:c.x=t.x;c.y=t.y;break;case 4:c.x=m.x,c.y=m.y}}kj.prototype.CH=function(a,b,c){a=new P(b,c);b=$c(this.v);a.x-=b.x;a.y-=b.y;a.x-=this.Hc().ac.x;a.y-=this.Hc().ac.y;for(a=180*Math.atan2(a.y,a.x)/Math.PI;a<this.n.O().Ac;)a+=360;for(;a>this.n.O().Ic;)a-=360;this.Ha=this.n.O().aB(a);og(this,this.Ha)};function mj(){kg.call(this)}x.e(mj,kj);mj.prototype.rn=l;mj.prototype.It=l;
mj.prototype.p=function(a){this.rn=new X(a);this.It=new X(a);mj.b.p.call(this,a)};function nj(){kg.call(this);this.yh=new jj}x.e(nj,mj);w=nj.prototype;w.yh=l;w.Ib=u("needle_pointer_style");w.Hb=function(){return new Zi};w.p=function(a){nj.b.p.call(this,a);this.rn.Z(this.v);this.rn.Z(this.It);return this.rn};
w.sr=function(a,b){var c=this.n.O().kb(lg(this,this.Ha)),e=Math.max(this.yh.Gv,this.yh.Hv,this.yh.xd()),f=Math.min(this.yh.Gv,this.yh.Hv,this.yh.xd()),h=Math.max(this.yh.Uz,this.yh.Vz);lj(this,a,b,h,e-f,(f+e)/2,c)};function oj(){kg.call(this)}x.e(oj,kj);w=oj.prototype;w.wa=l;w.wc=l;w.Vb=l;w.Ma=l;w.Ib=u("bar_pointer_style");w.Hb=function(){return new cj};
function bj(a){var b=a.n,c=b.Hc().ac,e=a.bd(a.ea()),f=(e.Wy?b.size:1)*e.Ka(),h,j;a instanceof pj?(h=lg(a,a.Ha),j=lg(a,a.Td)):(h=e.Ns?0:b.O().K,j=lg(a,a.Ha));a.wa=b.O().kb(h);a.wc=b.O().kb(j);h=Math.abs(a.wa-a.wc);a.Vb=nh(b,e.ra,e.Y(),f,i);a.Ma=nh(b,e.ra,e.Y(),f,n);var k,m;a.wc%360!=a.wa%360?(m=(a.wc+0.5)*Math.PI/180,k=a.wa*Math.PI/180):(b=Math.min(a.wa,a.wc),m=(a.wc-b-0.0010)*Math.PI/180,k=(a.wa-b)*Math.PI/180);b=c.x+a.Vb*Math.cos(k);e=c.y+a.Vb*Math.sin(k);f=c.x+a.Vb*Math.cos(m);j=c.y+a.Vb*Math.sin(m);
var s=c.x+a.Ma*Math.cos(k);k=c.y+a.Ma*Math.sin(k);var t=c.x+a.Ma*Math.cos(m),c=c.y+a.Ma*Math.sin(m);m=1;180>h&&(m=0);h=a.o();var v;v=""+T(b,e);v+=h.nb(a.Vb,m,1,f,j,a.Vb);v+=V(t,c);v+=h.nb(a.Ma,m,n,s,k,a.Ma);v+=V(b,e);return v+" Z"}
w.sr=function(a,b){var c=this.n.Hc().ac,e,f;b.x=c.x;b.y=c.y;switch(a){case 0:e=(this.wa+this.wc)/2;f=(this.Vb+this.Ma)/2;break;case 7:e=(this.wa+this.wc)/2;f=this.Vb;break;case 1:e=this.wa;f=(this.Vb+this.Ma)/2;break;case 5:e=this.hn;f=(this.Vb+this.Ma)/2;break;case 3:e=(this.wa+this.hn)/2;f=this.Ma;break;case 8:e=this.wa;f=this.Vb;break;case 2:e=this.wa;f=this.Ma;break;case 6:e=this.wc;f=this.Vb;break;case 4:e=this.wc,f=this.Ma}b.x+=f*Math.cos(e*Math.PI/180);b.y+=f*Math.sin(e*Math.PI/180)};
function pj(){kg.call(this)}x.e(pj,oj);pj.prototype.Td=l;pj.prototype.Ib=u("range_bar_pointer_style");pj.prototype.f=function(a,b,c){a.value=a.start;pj.b.f.call(this,a,b,c);this.Uo=n;this.Td=J(a,"end")};function qj(){kg.call(this)}x.e(qj,mj);w=qj.prototype;w.Ip=l;w.td=l;w.p=function(a){this.td=new X(a);qj.b.p.call(this,a);this.v.Z(this.td);this.v.Z(this.It);return this.v};
w.sr=function(a,b){var c=this.sa,e=c.Da,f=this.n,h=f.xd((e.sd?f.size:1)*e.Ka()),e=f.xd((e.Xl?f.size:1)*e.wb()),j=f.yd(c.ra,c.Y(),0,n);switch(c.ra){case 0:j-=h/2;break;case 1:j+=h/2}var c=new P,k=f.O().kb(lg(this,this.Ha));gh(f,j,k,c);lj(this,a,b,h,e,j,k)};
w.$c=function(){var a=this.sa,b=a.Da,c=this.n,e=c.xd((b.sd?c.size:1)*b.Ka()),f=c.xd((b.Xl?c.size:1)*b.wb()),h=c.yd(a.ra,a.Y(),0,n);switch(a.ra){case 0:h-=e/2;break;case 1:h+=e/2}var j=new P,k=c.O().kb(this.Ha);gh(c,h,k,j);this.Ip=new P(-e/2,-f/2);this.j.x=j.x;this.j.y=j.y;this.j.width=e;this.j.height=f;c=0;if(b.wo)switch(a.ra){case 0:case ig:c=k+90;break;case 1:c=k-90}this.td.bl(c+b.rj());this.td.Pd(j.x);this.td.jd(j.y)};w.Ib=u("marker_pointer_style");w.Ub=function(){return dj};w.Hb=function(){return new fj};
function rj(){kg.call(this);this.yh=new jj}x.e(rj,mj);w=rj.prototype;w.yh=l;w.ds=l;w.Ib=u("knob_pointer_style");w.Ub=function(){return gj};w.Hb=function(){return new ij};w.p=function(a){this.ds=new X(a);rj.b.p.call(this,a);this.rn.Z(this.ds);this.rn.Z(this.v);this.rn.Z(this.It);return this.rn};function sj(){Kh.call(this);this.om=new P(0.5,0.5);this.ac=new P;this.yz=0;this.pv=72E3;this.nv=-72E3;this.em=0}x.e(sj,Kh);w=sj.prototype;w.xz=l;w.qn=l;w.om=l;w.ac=l;w.yz=l;w.pv=l;w.nv=l;w.em=l;w.p=function(a,b,c){sj.b.p.call(this,a,b,c);return this.Ec};w.f=function(a){sj.b.f.call(this,a);D(a,"pivot_point")&&(a=D(a,"pivot_point"),this.om.x=Fb(a.x),this.om.y=Fb(a.y))};
w.TH=function(a){switch(a){case "bar":return new oj;case "rangebar":return new pj;case "marker":return new qj;case "knob":return new rj;default:return new nj}};w.xx=function(a){tj(this,a,a.ea().ta);tj(this,a,a.ea().ec);tj(this,a,a.ea().ic);tj(this,a,a.ea().Rb);tj(this,a,a.ea().gc)};function tj(a,b,c){b=b.n;c.Go!=l&&(a.em=Math.max(a.em,(c.Go.re?b.size:1)*c.Go.ve));c.TI&&(a.em=Math.max(a.em,(c.Kh.$u?b.size:1)*c.Kh.YA/2),c=(c.Kh.Uu?b.size:1)*c.Kh.QB,0>c&&(a.em=Math.max(-c,a.em)))}
w.Hx=function(a){if(a!=l&&B(a,"type"))switch(O(a,"type")){case "auto":return new Ki(this);case "rectangular":return new Hi(this);case "autorectangular":return new Ji(this)}return new Ci(this)};w.qC=function(a,b){var c=new fh(this);c.f(a,b);this.yz=Math.max(c.ve,this.yz);this.pv=Math.min(c.Vj,this.pv);this.nv=Math.max(c.Vj+c.sq,this.nv);return c};w.AD=u(1);
w.Dc=function(a){sj.b.Dc.call(this,a);this.frame.GB?this.frame.xt(this.Za):(this.xz=a=Math.min(this.Za.width,this.Za.height),this.qn=this.yz*a);this.ac.x=this.Za.x+this.om.x*this.Za.width;this.ac.y=this.Za.y+this.om.y*this.Za.height};function fh(a){this.Tb=a;this.ve=0.6;this.sq=this.Vj=90;this.hn=this.Vj+this.sq}x.e(fh,Gh);w=fh.prototype;w.Yt=function(a){return new Mi(a)};w.rj=function(a){return this.He.rj(a)};w.Ug=function(a){return this.He.qb(this.He.sj(),a,this.He.ra,this.He.Y())};
w.f=function(a,b){fh.b.f.call(this,a,b);B(a,"radius")&&(this.ve=Gb(a,"radius"));B(a,"start_angle")&&(this.Vj=J(a,"start_angle")+90);B(a,"sweep_angle")&&(this.sq=J(a,"sweep_angle"));this.hn=this.Vj+this.sq};w.Or=function(){fh.b.Or.call(this);this.gd=this.Tb.xz*this.ve;this.Iv=this.gd*this.size;var a=this.scale,b=this.hn;a.Ac=this.Vj;a.Ic=b;this.scale.cR=this.sq/10;this.scale.Pc()};function gh(a,b,c,e){a=a.Tb.ac;c=c*Math.PI/180;e.x=a.x+b*Math.cos(c);e.y=a.y+b*Math.sin(c)}
function nh(a,b,c,e,f){switch(b){case 0:return a.gd*(1-c-(f?0:e))-a.Iv/2;case 1:return a.gd*(1+c+(f?0:e))+a.Iv/2;default:return a.gd*(1+(f?-0.5:0.5)*e-c)}}w.yd=function(a,b,c,e){switch(a){case 0:return this.gd*(1-(e?0:c)-b)-(e?c:0)-this.Iv/2;case 1:return this.gd*(1+b)+this.Iv/2;default:return this.gd*(1-(e?0:c/2))-(e?c/2:0)}};
w.lj=function(a,b,c){var e=this.Ec.o(),f=a.Ka()*this.gd,h=a.ri()*this.gd,j=Math.min(f,h),k=this.yd(a.ra,a.Y(),0,n);switch(a.ra){case 0:k-=h/2;break;case 1:k+=h/2}var m=this.Tb.ac,s=m.x+Ec(k,b)-f/2,k=m.y+W(k,b)-h/2,c=a.lj(e,s,k,j,f,h,c);a.wo?c.bl(b-90+a.rj(),s+f/2,k+h/2):c.bl(a.rj());return c};w.QD=function(a){var b=new R,c=this.Tb.ac,e=0,e=0;1==a.Ol()&&(e=this.yd(a.ra,a.Y(),a.rb(),n),e+=this.xd(1)*a.rb());b.x=c.x-e;b.y=c.y-e;b.width=2*e;b.height=2*e;return b};
w.aJ=function(a,b){var c=this.Tb.ac,e=1==b.Ol(),f;if(e){f=this.yd(b.ra,b.Y(),b.rb(),n);var h=f+this.gd*b.rb()}else f=this.yd(b.ra,b.Y(),0,n);var j,k,m;this.hn%360!=this.Vj%360?(k=this.hn*Math.PI/180,j=this.Vj*Math.PI/180):(m=Math.min(this.Vj,this.hn),k=(this.hn-m-0.0010)*Math.PI/180,j=(this.Vj-m)*Math.PI/180);m=c.x+f*Math.cos(j);var s=c.y+f*Math.sin(j),t=c.x+f*Math.cos(k),v=c.y+f*Math.sin(k),y=c.x+h*Math.cos(j);j=c.y+h*Math.sin(j);var C=c.x+h*Math.cos(k),c=c.y+h*Math.sin(k);k=1;180>this.sq&&(k=0);
var M;M=""+T(m,s);M+=a.nb(f,k,1,t,v,f);e&&(M+=V(C,c),M+=a.nb(h,k,n,y,j,h),M+=V(m,s));M+=a.nb(f,k,n,m,s,f);return M+" Z"};w.ve=l;w.gd=l;w.xd=function(a){return this.gd*a};w.Vj=l;w.sq=l;w.wc=l;function uj(){this.cl=new If}x.e(uj,ej);uj.prototype.createElement=function(){return this.g.o().ba()};uj.prototype.Ga=function(a){this.g.$c();var b=this.cl.tn(this.g.sa.Da.mf,this.g.o(),Math.min(this.g.k().width,this.g.k().height),this.g.k().x,this.g.k().y,this.g.k().width,this.g.k().height,this.g.sa.ud()?this.g.sa.xc().za():1);b==l&&(b="M0,0 Z");a.setAttribute("d",b)};uj.prototype.Ra=function(){return this.g.Ra()};function vj(){Z.call(this)}x.e(vj,nf);vj.prototype.Ub=function(){return Xh};
vj.prototype.dc=function(){return new uj};function wj(){ag.call(this)}x.e(wj,ag);w=wj.prototype;w.Bg=l;w.Va=function(a){a=wj.b.Va.call(this,a);this.Bg&&(a.pointer=this.Bg.Va());return a};w.Hx=function(){return new Mh(this)};w.Dc=function(a){wj.b.Dc.call(this,a);this.frame.xt(this.Za)};w.f=function(a){wj.b.f.call(this,a);if(a=D(a,"marker"))this.Bg=new xj,this.Bg.Cs(this),this.Bg.Ca!=l&&this.Bg.Ca.Cs(this),this.Bg.f(a,this.of,this.LF.J)};w.p=function(a,b,c){b=wj.b.p.call(this,a,b,c);this.Bg!=l&&b.Jo[2].Z(this.Bg.p(a));return b};
w.jG=function(a){this.Bg&&ng(this.Bg,a)};w.ga=function(){wj.b.ga.call(this);this.Bg!=l&&this.Bg.ga()};w.ya=function(a,b){b==g&&(b=i);wj.b.ya.call(this,a,b);this.Bg!=l&&this.Bg.ya()};function xj(){kg.call(this);this.ys=i;this.Uo=n;this.Fm=i}x.e(xj,kg);w=xj.prototype;w.Ib=u("indicator_pointer_style");w.BD=u(l);w.Hb=function(){return new vj};w.Ia=0.1;w.ab=0.1;w.Qa=0.5;w.ca=0.5;
w.f=function(a,b,c){B(a,"color")&&(this.La=Lb(a),delete a.color);B(a,"label")&&(this.Ca=new Wf);B(a,"tooltip")&&(this.tc=new $f);xj.b.f.call(this,a,b,c);B(a,"width")&&(this.Ia=Gb(a,"width"));B(a,"height")&&(this.ab=Gb(a,"height"));B(a,"x")&&(this.Qa=Gb(a,"x"));B(a,"y")&&(this.ca=Gb(a,"y"))};
w.$c=function(){var a=this.kc.Za,b=this.sa.Da.mf;this.j.x=a.x+this.Qa*a.width;this.j.y=a.y+this.ca*a.height;this.j.width=a.width*this.Ia;this.j.height=a.height*this.ab;Gf(b)||(a=Math.min(this.j.width,this.j.height),this.j.width=a,this.j.height=a);this.j.x-=this.j.width/2;this.j.y-=this.j.height/2};function He(){}x.e(He,De);w=He.prototype;w.$j=function(a,b,c){var e;a!=l&&(a=a.toLowerCase(),e=this.yu[a]);e==l&&(e=this.Jl[0]);e!=l&&e.jG(c,b)};w.$p=o();w.Fs=o();w.PK=o();w.al=o();w.Kf=o();w.QK=o();w.oI=o();w.zd=o();w.Aa=u(4);w.Ba=u(l);w.clear=o();w.refresh=o();w.J=l;w.uA=p("J");w.bp=function(){return new Te};w.Co=l;w.yu=l;w.Jl=l;w.pJ=l;
w.f=function(a){this.pJ=new cg;this.Co=new ag;this.Jl=[];this.yu={};var b=[],c,e,f,h,j=l,k,m,s,t,v=l;B(a,"circular_default_template")&&(k=N(a,"circular_default_template"));B(a,"linear_default_template")&&(m=N(a,"linear_default_template"));B(a,"label_default_template")&&(s=N(a,"label_default_template"));B(a,"image_default_template")&&(t=N(a,"image_default_template"));B(a,"indicator_default_template")&&(v=N(a,"indicator_default_template"));B(a,"circular")&&(c=F(a,"circular"),b.push(c));B(a,"linear")&&
(e=F(a,"linear"),b.push(e));B(a,"label")&&(f=F(a,"label"),b.push(f));B(a,"image")&&(h=F(a,"image"),b.push(h));B(a,"indicator")&&(j=F(a,"indicator"),b.push(j));var y;if(c){y=F(a,"circular_template");for(b=0;b<c.length;b++)yj(this,"circular",c[b],y,sj,k)}if(e){y=F(a,"linear_template");for(b=0;b<e.length;b++)yj(this,"linear",e[b],y,zi,m)}if(f){y=F(a,"label_template");for(b=0;b<f.length;b++)yj(this,"label",f[b],y,bg,s)}if(h){y=F(a,"image_template");for(b=0;b<h.length;b++)yj(this,"image",h[b],y,l,t)}if(j){y=
F(a,"indicator_template");for(b=0;b<j.length;b++)yj(this,"indicator",j[b],y,wj,v)}for(b=0;b<this.Jl.length;b++)a=l,this.Jl[b].EF!=l&&(a=this.Jl[b].EF,a=this.yu[a]),a?a.children.push(this.Jl[b]):this.Co.children.push(this.Jl[b])};
function yj(a,b,c,e,f,h){f==l&&ne(b+" gauge");b=l;if(B(c,"name")){if(b=G(c,"name"),a.yu[b]!=l)return}else b="___gauge__"+a.Jl.length;f=new f;f.ym(a);var j=l;B(c,"pointers")&&B(D(c,"pointers"),"pointer")&&(j=F(D(c,"pointers"),"pointer"));c=a.pJ.apply(c,e,h);j&&(c.pointers.pointer=j);f.f(c);a.Jl.push(f);a.yu[b.toLowerCase()]=f}w.A=l;w.Ul=p("A");w.j=l;w.k=q("j");w.Dc=p("j");w.Br=q("j");w.v=l;w.Ra=q("v");w.p=function(a,b){this.v=new X(this.A);this.j=a;this.v.Z(this.Co.p(this.A,a,b));return this.v};
w.ga=function(){this.Co.ga()};w.dj=p("j");w.jn=function(){this.Co.ya(this.j)};w.JG=u(n);w.ZF=o();w.Fy=u(l);w.Va=function(a){a==l&&(a={});a.gauges=[];for(var b=0;b<this.Co.sF();b++){var c=this.Co.children[b];c&&a.gauges.push(c.Va())}return a};w.wx=u(n);function zj(){}zj.prototype.Ai=l;function Aj(a,b){b>=a.Ai.length&&(b%=a.Ai.length);return a.Ai[b]}zj.prototype.f=function(){this.Ai=[]};zj.prototype.la=function(a){a==g&&(a=new zj);a.Ai=this.Ai;return a};function Bj(){}function Cj(a,b,c){if(!a.Kc)return l;for(var c=sb(c),a=F(a.Kc,b),b=a.length,e=0;e<b;e++)if(B(a[e],"name")&&N(a[e],"name")==c)return a[e];return l}Bj.prototype.Kc=l;Bj.prototype.f=p("Kc");function Dj(){}x.e(Dj,zj);var Ej={CL:0,BL:1};w=Dj.prototype;w.ib=l;w.Tu=n;w.Ea="";w.Na=0;w.Um="auto";
w.tJ=n;w.f=function(a){Dj.b.f.call(this,a);B(a,"name")&&(this.Ea=N(a,"name"));B(a,"color_count")&&(this.Um=D(a,"color_count"),Kb(this.Um)?this.tJ=i:this.Um=H(this.Um));if(B(a,"type")){var b;a:switch(N(a,"type")){case "colorrange":b=Ej.BL;break a;default:b=Ej.CL}this.Na=b}switch(this.Na){case 1:this.Tu=i;this.Um&&!this.tJ&&(b=new kc(1),b.f(D(a,"gradient")),Fj(this,b,this.Um),this.Tu=n);this.ib=new kc(1);this.ib.f(D(a,"gradient"));break;default:a=F(a,"item");b=a.length;for(var c=0;c<b;c++)this.Ai.push(Lb(a[c]))}};
function Gj(a,b,c){var e=a;if(a.Tu&&!c||a.ib&&c)e=new Dj,e.Ai=[],Fj(e,a.ib,b);return e}function Fj(a,b,c){var e;if(2>c)for(e=0;e<c;e++)b.Ta[e]&&a.Ai.push(b.Ta[e].oa());for(e=0;e<c;e++)a.Ai.push(Hj(b,e/(c-1)))}
function Hj(a,b){for(var c=-1,e=-1,f=1E7,h=-1,j=a.Ta.length,k=0;k<j;k++){var m=a.Ta[k],s=255*m.xa/255;if(s==b)return m.oa();s<b&&s>h&&(c=k,h=s);s>b&&s<f&&(e=k,f=s)}if(-1==c)return-1==e?pb(l,1):a.Ta[e].oa();if(-1==e||h==f)return a.Ta[c].oa();h=255*a.Ta[c].xa/255;f=a.Ta[e];e=1-(b-h)/(255*a.Ta[e].xa/255-h);h=new $a;c=a.Ta[c].oa().oa();f=f.oa().oa();h.arguments[0]=c;h.arguments[1]=f;h.arguments[2]=e;return new ob(h.execute())}
w.la=function(a){a==g&&(a=new Dj);Dj.b.la.call(this,a);a.Ea=this.Ea;a.Um=this.Um;a.ib=this.ib;a.Na=this.Na;a.Tu=this.Tu;return a};function Ij(){}x.e(Ij,zj);Ij.prototype.f=function(a){Ij.b.f.call(this,a);for(var a=F(a,"item"),b=a.length,c=0;c<b;c++)this.Ai.push(sc(N(a[c],"type")))};Ij.prototype.la=function(a){a==g&&(a=new Ij);Ij.b.la.call(this,a);return a};function Jj(){}x.e(Jj,zj);Jj.prototype.f=function(a){Jj.b.f.call(this,a);for(var a=F(a,"item"),b=a.length,c=0;c<b;c++)this.Ai.push(vf(N(a[c],"type")))};
Jj.prototype.la=function(a){a==g&&(a=new Jj);Jj.b.la.call(this,a);return a};function Kj(){this.a=new Pd}w=Kj.prototype;w.Ea=l;w.getName=q("Ea");w.a=l;w.f=function(a){B(a,"name")&&(this.Ea=G(a,"name"),this.a.add("%ThresholdName",this.Ea))};w.Nt=function(){x.qa()};w.Lt=function(){x.qa()};w.sJ=u(n);w.getData=function(){x.qa()};w.zd=function(){this.a=new Pd;this.tb()};w.tb=function(){x.qa()};w.mG=function(){x.qa()};w.Ba=function(a){return this.a.get(a)};w.Rr=u(n);function Lj(a){a=a.split("{").join("");return a.split("}").join("")}
function Mj(){this.La=pb("0#FF0000",1);this.Ea="condition";this.R=[];this.zd()}w=Mj.prototype;w.Hw=l;w.HE=n;w.Iw=l;w.IE=n;w.Jw=l;w.JE=n;w.Ea=l;w.La=l;w.oa=q("La");w.Ya=l;w.Is=p("Ya");w.R=l;w.Mm=l;
w.f=function(a){B(a,"color")&&(this.La=Lb(a));B(a,"name")&&(this.Ea=G(a,"name"));var b;B(a,"value_1")&&(b=G(a,"value_1"),this.HE=Td(b),this.Hw=b);B(a,"value_2")&&(b=G(a,"value_2"),this.IE=Td(b),this.Iw=b);B(a,"value_3")&&(b=G(a,"value_3"),this.JE=Td(b),this.Jw=b);if(B(a,"attributes")){a=F(D(a,"attributes"),"attribute");this.Mm={};for(b=0;b<a.length;b++){var c=a[b];B(c,"name")&&(this.Mm["%Threshold"+G(c,"name")]=G(c,"value"),this.Mm["%Condition"+G(c,"name")]=G(c,"value"))}}this.mG()};
w.nd=function(a){var b=this.HE?a.Ba(Nj(this.Hw)):this.Hw,c=this.IE?a.Ba(Nj(this.Iw)):this.Iw,e=this.JE?a.Ba(Nj(this.Jw)):this.Jw;if(this.zl(isNaN(Number(b))?b:Number(b),isNaN(Number(c))?c:Number(c),isNaN(Number(e))?e:Number(e)))a.Ki(this.La),a.Kg=this,this.R.push(a)};function Nj(a){a=a.split("{").join("");return a.split("}").join("")}w.zl=function(){x.qa()};w.zd=function(){this.a=new Pd;this.tb()};w.tb=function(){this.a.add("%ThresholdConditionName","");this.a.add("%ThresholdName","")};w.Aa=u(1);
w.mG=function(){this.a.add("%Name",this.Ea);this.a.add("%ThresholdConditionName",this.Ea);this.a.add("%ThresholdName",this.Ea)};w.Ba=function(a){return this.Mm&&this.Mm[a]?this.Mm[a]:this.a.get(a)};w.Rr=function(a){return Boolean(this.Mm&&this.Mm[a])};w.Eg=o();w.Fg=o();function Oj(){Mj.apply(this)}x.e(Oj,Mj);Oj.prototype.zl=function(a,b,c){return a>=b&&a<=c};function Pj(){Mj.apply(this)}x.e(Pj,Mj);Pj.prototype.zl=function(a,b,c){return a<b||a>c};function Qj(){Mj.apply(this)}x.e(Qj,Mj);
Qj.prototype.zl=function(a,b){return a==b};function Rj(){Mj.apply(this)}x.e(Rj,Mj);Rj.prototype.zl=function(a,b){return a!=b};function Sj(){Mj.apply(this)}x.e(Sj,Mj);Sj.prototype.zl=function(a,b){return a>b};function Tj(){Mj.apply(this)}x.e(Tj,Mj);Tj.prototype.zl=function(a,b){return a>=b};function Uj(){Mj.apply(this)}x.e(Uj,Mj);Uj.prototype.zl=function(a,b){return a<b};function Vj(){Mj.apply(this)}x.e(Vj,Mj);Vj.prototype.zl=function(a,b){return a<=b};function Wj(){Kj.apply(this)}x.e(Wj,Kj);w=Wj.prototype;
w.Vm=l;w.f=function(a){Wj.b.f.call(this,a);this.Vm=[];for(var a=F(a,"condition"),b=0;b<a.length;b++){var c;c=a[b];if(B(c,"type")){var e=g;switch(N(c,"type")){default:case "lessthan":e=new Uj;break;case "between":e=new Oj;break;case "notbetween":e=new Pj;break;case "equalto":e=new Qj;break;case "notequalto":e=new Rj;break;case "greaterthan":e=new Sj;break;case "greaterthanorequalto":e=new Tj;break;case "lessthanorequalto":e=new Vj}e.Is(this);e.f(c);c=e}else c=l;c&&this.Vm.push(c)}};
w.Nt=function(a){for(var b=0;b<this.Vm.length&&!this.Vm[b].nd(a);b++);};w.Lt=o();w.getData=function(a){for(var b=this.Vm.length,c=0;c<b;c++){var e=this.Vm[c];Xj(a,new Yj(e.oa(),0,-1,i,e))}};w.Aa=u(1);w.Rr=function(a){for(var b in this.Vm)if(this.Vm[b].Rr(a))return i;return n};function Zj(){this.R=[];this.zd()}w=Zj.prototype;w.Pb=l;w.setStart=p("Pb");w.Lb=l;w.setEnd=p("Lb");w.R=l;w.Be=l;w.contains=function(a){return a>=this.Pb&&a<this.Lb};w.a=l;w.zd=function(){this.a=new Pd;this.tb()};
w.tb=function(){this.a.add("%ThresholdRangeMin",0);this.a.add("%ThresholdRangeMax",0);this.a.add("%ThresholdValue",0)};w.mG=function(){this.a.add("%ThresholdRangeMin",this.Pb);this.a.add("%ThresholdRangeMax",this.Lb)};w.Ba=function(a){return"%RangeMin"==a?this.Pb:"%RangeMax"==a?this.Lb:this.a.get(a)};w.Aa=u(2);w.Rr=u(n);w.Eg=o();w.Fg=o();function $j(){Kj.apply(this)}x.e($j,Kj);w=$j.prototype;w.Be=l;w.fe=l;w.ee=l;w.hd=l;w.Wc=l;w.St=l;w.yb=l;
w.f=function(a){$j.b.f.call(this,a);this.fe=Number.MAX_VALUE;this.ee=-Number.MAX_VALUE;this.yb=B(a,"range_count")?J(a,"range_count"):5;this.Be=B(a,"auto_value")?G(a,"auto_value"):"%Value"};w.p=function(){this.fe==Number.MAX_VALUE&&(this.fe=0);this.ee==-Number.MAX_VALUE&&(this.ee=10);this.Wc=[]};w.Lt=function(a){a=ak(a,this.Be);a<this.fe&&(this.fe=a);a>this.ee&&(this.ee=a)};
function bk(a){for(var b=(a.ee-a.fe)/a.yb,c=0;c<a.yb;c++){var e=new Zj;e.setStart(0==c?a.fe+b*c:a.Wc[c-1].Lb);e.setEnd(e.Pb+b);e.Be=a.Be;a.Wc[c]=e}}function ck(a,b){var c=ak(b,a.Be);if(c<a.fe||c>a.ee)return-1;for(var e=0;e<a.yb;e++)if(a.Wc[e]&&a.Wc[e].contains(c))return e;return c==a.Wc[a.yb-1].Lb?a.yb-1:-1}function ak(a,b){var c=a.Ba(Lj(b));if(""==c)return l;c=H(c);return isNaN(c)?l:c}w.sJ=u(i);w.getData=function(a){for(var b=this.Wc.length,c=0;c<b;c++)Xj(a,new Yj(Aj(this.St,c),0,-1,i,this.Wc[c]))};
function dk(a,b){a&&(this.g=a);b&&(this.Ce=b)}dk.prototype.g=l;dk.prototype.zm=p("g");dk.prototype.Ce=l;function ek(){$j.apply(this);this.Nc=[]}x.e(ek,$j);ek.prototype.Nc=l;ek.prototype.Nt=function(a){var b=ck(this,a);-1!=b&&(a.Kg=this.Wc[b],this.Wc[b].R.push(a),a.Ki(Aj(this.St,b)))};ek.prototype.Lt=function(a){var b=ak(a,this.Be);b<this.fe&&(this.fe=b);b>this.ee&&(this.ee=b);isNaN(b)||this.Nc.push(new dk(a,b))};
function fk(a,b,c){a+=0.5*(b-a);if(0==a)return 0;b=Math.floor(Math.log(Math.abs(a))/Math.log(10));b=Math.pow(10,Number(b-1));a/=b;a=c?Math.floor(a):Math.ceil(a);return a*b}function gk(){$j.apply(this)}x.e(gk,$j);
gk.prototype.p=function(){gk.b.p.call(this);if(this.fe!=this.ee){var a=Math.pow(10,Math.log(Math.max(Math.abs(this.fe),Math.abs(this.ee)))/Math.log(10)-1);this.fe=Math.floor(this.fe/a);var b=10*this.fe;this.fe*=a;this.ee=Math.ceil(this.ee/a);this.ee+=Number(this.yb-(10*this.ee-b)%this.yb)/10;this.ee*=a}this.hd=(this.ee-this.fe)/this.yb;bk(this)};
gk.prototype.Nt=function(a){var b=ck(this,a);-1!=b&&(this.Wc[b].R.push(a),a.Kg=this.Wc[b],b=Lj(this.Be),b=a.a.get(b),a.Ki(Aj(this.St,Math.floor((b-this.fe)/this.hd))))};function hk(){ek.apply(this)}x.e(hk,ek);
hk.prototype.p=function(){hk.b.p.call(this);this.Nc.sort(function(a,b){return a.Ce-b.Ce});var a=this.yb;if(0==this.Nc.length)bk(this);else if(a>this.Nc.length&&(this.yb=a=this.Nc.length),2>a)this.yb=a,this.fe=fk(this.fe,this.fe,i),this.ee=fk(this.ee,this.ee,n),bk(this);else{var b=this.Nc.length/a,c=b,e=this.Nc[0].Ce,f=this.Nc[Math.round(c-1)].Ce,h=this.Nc[Math.round(c)].Ce,j=new Zj;j.setStart(fk(e,e,i));e=fk(f,h,i);j.setEnd(e);j.Be=this.Be;this.Wc[0]=j;for(j=1;j<a-1;j++)c+=b,this.Wc[j]=new Zj,this.Wc[j].Be=
this.Be,this.Wc[j].setStart(e),e=fk(this.Nc[Math.round(c-1)].Ce,this.Nc[Math.round(c)].Ce,i),this.Wc[j].setEnd(e);this.Wc[this.yb-1]=new Zj;this.Wc[this.yb-1].setStart(e);this.Wc[this.yb-1].Be=this.Be;this.Wc[this.yb-1].setEnd(fk(this.Nc[this.Nc.length-1].Ce,this.Nc[this.Nc.length-1].Ce,n))}};function ik(){ek.apply(this)}x.e(ik,ek);
ik.prototype.p=function(){ik.b.p.call(this);this.Nc.sort(function(a,b){return a.Ce-b.Ce});if(0==this.Nc.length)bk(this);else{var a=Math.min(this.yb,this.Nc.length);if(4>=a)this.yb=Math.max(this.yb,1),bk(this);else if(a>this.Nc.length-3&&(this.yb=this.Nc.length),4>a)this.yb=Math.max(this.yb,1),bk(this);else{for(var a=[],b=0;b<this.Nc.length;b++)a.push(this.Nc[b].Ce);a=jk(a,this.yb);b=new Zj;b.Be=this.Be;var c=this.Nc[0].Ce;b.setStart(fk(c,c,i));var c=this.Nc[a[0]-1].Ce,e=this.Nc[a[0]].Ce,c=fk(c,e,
i);b.setEnd(c);this.Wc[0]=b;for(var f=1;f<Math.min(this.yb-1,a.length);f++)b=new Zj,b.Be=this.Be,b.setStart(c),c=this.Nc[a[f]-1].Ce,e=this.Nc[a[f]].Ce,c=fk(c,e,i),b.setEnd(c),this.Wc[f]=b;b=new Zj;b.Be=this.Be;b.setStart(c);b.setEnd(fk(this.Nc[this.Nc.length-1].Ce,this.Nc[this.Nc.length-1].Ce,n));this.Wc[this.yb-1]=b}}};
function jk(a,b){for(var c=[],e=[],f=0;f<a.length+1;f++)c.push(Array(b+1)),e.push(Array(b+1));for(f=1;f<=b;f++){c[1][f]=1;e[1][f]=0;for(var h=2;h<=a.length;h++)e[h][f]=Number.POSITIVE_INFINITY}for(var j=0,k=2;k<=a.length;k++){for(var m=0,s=0,t=0,v=1;v<=k;v++)if(f=k-v,h=Number(a[f]),s+=h*h,m+=h,t++,j=s-m*m/t,h=f,0!=h)for(var y=2;y<=b;y++)e[k][y]>=j+e[h][y-1]&&(c[k][y]=f+1,e[k][y]=j+e[h][y-1]);c[k][1]=1;e[k][1]=j}e=[];h=a.length;for(k=b;2<=k;k--)f=c[h][k]-2,0<f&&e.splice(0,0,f),h=Math.max(c[h][k]-1,
0);e.push(a.length-1);return e}function kk(a){this.MG=a;this.Rz={};this.FF=[];this.HB={};this.bx=[]}w=kk.prototype;w.MG=l;w.Rz=l;w.FF=l;w.bx=l;w.HB=l;function lk(a){for(var b=0;b<a.bx.length;b++)a.bx[b].p()}
w.Vg=function(a,b){if(!this.MG)return l;a=sb(a);if(this.Rz[a])return this.Rz[a];var c=Tb(this.MG,a);if(!c)return l;var e;switch(N(c,"type")){default:case "custom":e=new Wj;break;case "equalinterval":case "equalsteps":e=new gk;break;case "quantiles":case "equaldistribution":e=new hk;break;case "optimal":case "absolutedeviation":e=new ik}if(!e)return l;var f=a;e.f(c);if(e.sJ()){var h=new Dj,j;B(c,"palette")&&(c=D(c,"palette"),j=b?Cj(b,"palette",c):l);j||(j=Cj(b,"palette","default"));h.f(j);c=Gj(h,e.yb,
i);e.St=c;this.bx.push(e);this.HB[f]=e}this.FF.push(e);return this.Rz[a]=e};function mk(){Ee.apply(this);this.ut=n;this.ui=i;this.$=[];this.Gi={};this.iq={};this.Ky={};this.l=[];this.Sp=[];this.VJ=new nk(this)}x.e(mk,Ee);w=mk.prototype;w.jj=0;w.un=q("jj");w.l=l;w.Sp=l;function ok(a){return a.l?a.l.length:0}function pk(a,b){return a.l?a.l[b]:l}w.Kd=u(l);w.Ky=l;w.Ey=aa();
w.ny=function(a,b,c,e){var f=qk(this,c);if(f)return f;f=this.Xt(c);if(f==l)return l;f.ym(this);f.uA(this.J);rk(f,b);f.Fl(b);a=D(a,f.Vf());f.Fl(a);rk(f,a);f.f(a,e);f.gr(a,e);f.bn(a,e);this.Ky[this.Ey(this.Ey(c))]=f;this.ui||f.qE();return f};function qk(a,b){var c=a.Ey(b);return a.Ky[c]?a.Ky[c]:l}function sk(a,b,c,e){var f=l;B(c,b)&&(f=Cj(e,b,D(c,b)));f==l&&(f=Cj(e,b,"default"));a=new a;a.f(f);return a}
function tk(a,b,c,e,f,h){if(B(f,b)){if(b=Cj(h,b,D(f,b)),b!=l)return a=new a,a.f(b),a}else return e.$w?c:l;return l}w.Ui=l;w.VJ=l;Ee.prototype.oI=function(a,b,c,e,f){b.oa()||b.Ki(a.oa());a=xc(c.o(),e,f,a.Ka(),a.wb());e="stroke:none;";e=b.oa()?e+("fill:"+lb(b.oa().oa())+";"):e+"fill:none;";a.setAttribute("style",e);c.appendChild(a)};w=mk.prototype;w.oA=l;
w.wk=function(a){mk.b.wk.call(this,a);B(a,"default_series_type")&&(this.jj=this.un(sb(D(a,"default_series_type"))));B(a,"ignore_missing")&&(this.ui=I(a,"ignore_missing"));B(a,"interactivity")&&(a=D(a,"interactivity"),B(a,"allow_multiple_select")&&(this.ut=I(a,"allow_multiple_select")))};w.Xx=o();w.rH=function(a,b){return b};w.vF=function(a){this.ui||a.Db().rJ(a);if(a.Db().wp&&a.Db().Ht()){uk(a.Db(),a);for(var b=0;b<a.wd();b++)a.da(b).ho(b)}a.wh(this)};
w.wx=function(a){if(!B(a,"data"))return i;a=D(a,"data");return!B(a,"series")?i:0==F(a,"series").length};
w.Vx=function(a,b){mk.b.Vx.call(this,a);this.Ui=new kk(D(a,"thresholds"));var c=new Bj;B(a,"palettes")&&c.f(D(a,"palettes"));var e=D(a,"data"),f=D(a,"data_plot_settings"),h=F(e,"series"),j=h.length,k=sk(Dj,"palette",e,c),m=sk(Jj,"marker_palette",e,c),s=sk(Ij,"hatch_palette",e,c),k=k?Gj(k,j):l,t=l;B(e,"threshold")&&(t=this.Ui.Vg(N(e,"threshold"),c));for(var v=0;v<j;v++){var y=h[v];if(!B(y,"visible")||I(y,"visible")){var C=B(y,"type")?this.un(N(y,"type")):this.jj,M=this.ny(f,e,C,b);if(M!=l){C=M.Sf(C);
C.ho(v);C.Oj("Series "+v.toString());vk(C,y);C.Sa=M;wk(C,M.Te);rk(C,y);C.lf(M.ea());C.gr(y,b);xk(C,M);C.Fl(y);B(y,"color")?C.Ki(Lb(y)):C.Ki(Aj(k,v));B(y,"hatch_type")?C.jq(sc(N(y,"hatch_type"))):C.jq(Aj(s,v));C.te=B(y,"marker_type")?vf(N(y,"marker_type")):Aj(m,v);B(y,"threshold")?C.Is(this.Ui.Vg(N(y,"threshold"),c)):C.Is(t);M.Rh(C);C.bn(y,b);C.f(y);this.Xx(C,y);var ea=tk(Dj,"palette",k,M,y,c),U=tk(Jj,"marker_palette",m,M,y,c),ra=tk(Ij,"hatch_palette",m,M,y,c);E(y,"point",this.rH(C,F(y,"point")));
for(var wb=C.AB(),y=F(y,"point"),pd=y.length,ea=ea?Gj(ea,pd):l,pi=0;pi<pd;pi++){var eb=y[pi],$=C.Id();$.Sa=M;$.lf(C.ea());$.gr(eb,b);wk($,C.Te);rk($,eb);xk($,C);$.Fl(eb);$.ho(pi);$.l=C;$.Oj(pi.toString());vk($,eb);$.f(eb,this.A);if(!$.cb||M.zH())if(this.ui||M.EH($),C.Rh($),$.bn(eb,b),$.Ki(C.oa()),$.jq(C.$e),$.te=C.ng(),B(eb,"color")?$.Ki(Lb(eb)):$.Ki(ea?Aj(ea,$.Wp):C.oa()),B(eb,"hatch_type")?$.jq(sc(N(eb,"hatch_type"))):$.jq(ra?Aj(ra,$.Wp):C.$e),$.te=B(eb,"marker_type")?vf(N(eb,"marker_type")):U?
Aj(U,$.Wp):C.ng(),B(eb,"threshold")?$.Is(this.Ui.Vg(N(eb,"threshold"),c)):$.Is(C.Vg()),C.md($,$.U),$.cb||C.nd($),wb&&(!$.cb||!this.ui))$.Ya!=l&&$.Vg().Lt($),this.$.push($)}this.vF(C);C.hm()&&this.Sp.push(C);this.l.push(C)}}}this.Ui&&lk(this.Ui);this.uF()};w.Aa=function(a){return"%DataPlotSeriesCount"==a?2:mk.b.Aa.call(this,a)};w.uF=function(){this.a.add("%DataPlotSeriesCount",this.l.length)};w.bp=u(l);w.ui=i;w.ut=n;w.um=l;w.Kj=l;
w.Jj=function(a,b){this.ut?(this.um==l&&(this.um=[]),-1==this.um.indexOf(a)&&this.um.push(a),this.J.dispatchEvent(new ke("multiplePointsSelect",this.Kj))):this.Kj!=a&&(this.Kj!=l&&this.Kj.Sx(b),this.Kj=a);b&&this.Kj.update()};w.p=function(a,b,c){mk.b.p.call(this,a,b,c);a=0;for(b=this.$.length;a<b;a++)this.bu.appendChild(this.$[a].p(this.A).q);return this.v};
w.$p=function(){if(this.uE&&!this.OF&&(this.OF=i,this.Kj&&this.Kj.Te&&this.Kj.Te.execute(this.Kj),this.um))for(var a=this.um.length,b=0;b<a;b++)this.um[b].Te&&this.um[b].Te.execute(this.um[b])};w.$=l;w.ga=function(){mk.b.ga.call(this);var a,b;a=0;for(b=this.Sp.length;a<b;a++)this.Sp[a].zg();a=0;for(b=this.$.length;a<b;a++){var c=this.$[a];c.Ya&&c.Ya.Nt(c);this.$[a].update()}};w.jn=function(){mk.b.jn.call(this);this.eA()};
w.eA=function(){var a,b;a=0;for(b=this.Sp.length;a<b;a++)this.Sp[a].jm();a=0;for(b=this.$.length;a<b;a++)this.$[a].ya()};w.Va=function(a){a=mk.b.Va.call(this,a);a.Series=[];for(var b=0,c=ok(this),e=0;e<c;e++)a.Series.push(this.l[e].Va()),b+=this.l[e].wd();a.SeriesCount=c;a.PointCount=b;return a};w.md=function(a,b){if(a&&b){var c=yk(this,a);if(c)if(b=zk(b),c=Ak(c),x.isArray(b))for(var e=b.length,f=0;f<e;f++)c.push(b[f]),this.Gi[Bk(a,b)]=b;else x.Jn(b)&&(c.push(b),this.Gi[Bk(a,b)]=b)}};
w.dk=function(a,b,c){if(a&&!(b==l||b==g||!c)){var e=yk(this,a);if(e){var c=zk(c),f=Ak(e),f=Wb(f,b,c);this.Gi[Bk(a,c)]=c;E(e,"point",f)}}};w.Xk=function(a,b){var c=yk(this,a);if(c)for(var c=Xb(Ak(c),b),e=c.length,f=0;f<e;f++){var h=Bk(a,c[f]);this.Gi[h]&&delete this.Gi[h]}};w.kl=function(a,b,c){var e;if(!a||!b)e=l;else if(e=Bk(a,b),this.Gi[e])e=this.Gi[e];else{var f=yk(this,a),f=F(f,"point"),f=Vb(f,"id",b);e=this.Gi[e]=f}e&&(c=zk(c),Yb(e,c),this.Gi[g]=Bk(a,b))};w.$j=o();
w.Ck=function(a,b,c){var e=Ck(this,a,b);e&&(c?e.Eg():e.Fg(),this.Gi[g]=Bk(a,b))};w.OK=function(a,b,c){var e=Ck(this,a,b);e&&(c?e.select(i):e.Sx(i),this.Gi[g]=Bk(a,b))};function Ck(a,b,c){a=Dk(a,b);if(!a)return l;for(var b=a.wd(),e=0;e<b;e++){var f=a.da(e);if(f.Eu()&&f.Eu()==c)return f}return l}w.ek=function(a){if(a){var a=zk(a),b=Ek(this);if(x.isArray(a))for(var c=a.length,e=0;e<c;e++)b.push(a[e]),Fk(this,a[e]);else x.Jn(a)&&(b.push(a),Fk(this,a));Gk(this,b)}};
w.fk=function(a,b){if(!(a==l||a==g||!b)){var b=zk(b),c=Ek(this);Wb(c,a,b);Gk(this,c);Fk(this,b)}};w.Yk=function(a){if(!(a==l||a==g)){var b=Ek(this);Xb(b,a);Gk(this,b);this.iq[a]&&delete this.iq[a]}};w.ll=function(a,b){if(a&&b){var b=zk(b),c=yk(this,a);c&&(Yb(c,b),Fk(this,b,a))}};w.el=function(a,b){if(a&&!(b==l||b==g)){var c=yk(this,a);c&&(E(c,"visible",sb(b)),Fk(this,c,a))}};w.Dk=function(a,b){if(a&&!(b==l||b==g)){var c=Dk(this,a);c&&(b?c.Eg(i):c.Fg(i))}};
function Dk(a,b){for(var c=ok(a),e=0;e<c;e++){var f=pk(a,e);if(f.Eu()&&f.Eu()==b)return f}return l}w.clear=function(){E(D(this.lk,"data"),"series",[])};w.refresh=function(){this.Rm.Zk(this.lk)};w.iq=l;function yk(a,b){if(!b)return l;if(a.iq[b])return a.iq[b];var c=Ek(a),e=Vb(c,"id",b);Gk(a,c);Fk(a,e,b);return e}function Fk(a,b,c){c?a.iq[c]=b:B(b,"id")&&(a.iq[D(b,"id")]=b)}
function Ek(a){var b,c;B(a.lk,"data")?b=D(a.lk,"data"):(b={},E(a.lk,"data",b));B(b,"series")?c=F(b,"series"):E(b,"series",[]);return c}function Ak(a){if(B(a,"point"))return F(a,"point");var b=[];E(a,"point",b);return b}function Gk(a,b){E(D(a.lk,"data"),"series",b)}w.Gi=l;function Bk(a,b){var c,e;c=x.Jn(a)?G(a,"id"):a;x.Jn(b)?c=G(b,"id"):e=b;return!a||!b?l:"series:"+c+":point:"+e}function zk(a){if(x.Rc(a))return Ab(a);if(x.Jn(a))return a};var Hk={chart:{palettes:{hatch_palette:{item:[{type:"backwardDiagonal"},{type:"forwardDiagonal"},{type:"horizontal"},{type:"vertical"},{type:"dashedBackwardDiagonal"},{type:"grid"},{type:"dashedForwardDiagonal"},{type:"dashedHorizontal"},{type:"dashedVertical"},{type:"diagonalCross"},{type:"diagonalBrick"},{type:"divot"},{type:"horizontalBrick"},{type:"verticalBrick"},{type:"checkerboard"},{type:"confetti"},{type:"plaid"},{type:"solidDiamond"},{type:"zigzag"},{type:"weave"},{type:"percent05"},{type:"percent10"},
{type:"percent20"},{type:"percent25"},{type:"percent30"},{type:"percent40"},{type:"percent50"},{type:"percent60"},{type:"percent70"},{type:"percent75"},{type:"percent80"},{type:"percent90"}],name:"default"},marker_palette:{item:[{type:"Circle"},{type:"Square"},{type:"Diamond"},{type:"Star4"},{type:"Star5"},{type:"Star7"},{type:"TriangleUp"},{type:"TriangleDown"},{type:"Cross"},{type:"DiagonalCross"},{type:"HLine"},{type:"VLine"},{type:"Star6"},{type:"Star10"}],name:"default"},palette:{item:[{color:"#1D8BD1"},
{color:"#F1683C"},{color:"#2AD62A"},{color:"#DBDC25"},{color:"#8FBC8B"},{color:"#D2B48C"},{color:"#FAF0E6"},{color:"#20B2AA"},{color:"#B0C4DE"},{color:"#DDA0DD"},{color:"#9C9AFF"},{color:"#9C3063"},{color:"#FFFFCE"},{color:"#CEFFFF"},{color:"#630063"},{color:"#FF8284"},{color:"#0065CE"},{color:"#CECFFF"},{color:"#000084"},{color:"#FF00FF"},{color:"#FFFF00"},{color:"#00FFFF"},{color:"#840084"},{color:"#840000"},{color:"#008284"},{color:"#0000FF"},{color:"#00CFFF"},{color:"#CEFFFF"},{color:"#CEFFCE"},
{color:"#FFFF9C"},{color:"#9CCFFF"},{color:"#FF9ACE"},{color:"#CE9AFF"},{color:"#FFCF9C"},{color:"#3165FF"},{color:"#31CFCE"},{color:"#9CCF00"},{color:"#FFCF00"},{color:"#FF9A00"},{color:"#FF6500"}],name:"default"}},styles:{animation_style:[{name:"anychart_default",enabled:"true",interpolation_type:"Cubic"},{name:"defaultLabel",enabled:"True",start_time:"1.2",duration:"0.5",interpolation_type:"Cubic"},{name:"defaultMarker",enabled:"True",start_time:"1.2",duration:"0.5",type:"Appear",interpolation_type:"Cubic"},
{name:"defaultScaleYBottom",enabled:"True",start_time:"0.2",type:"ScaleYBottom",duration:"1",interpolation_type:"Cubic"},{name:"defaultSideYBottom",enabled:"True",start_time:"0.2",type:"SideFromBottom",duration:"1",interpolation_type:"Cubic"},{name:"defaultScaleYCenter",enabled:"True",start_time:"0.2",type:"ScaleYCenter",duration:"1",interpolation_type:"Cubic"},{name:"defaultScaleXYCenter",enabled:"True",start_time:"0.2",type:"ScaleXYCenter",duration:"1",interpolation_type:"Cubic"},{name:"defaultPie",
enabled:"True",start_time:"0.2",type:"OutSide",duration:"2",show_mode:"Smoothed",smoothed_delay:"0.5",interpolation_type:"Cubic"},{name:"defaultChart",enabled:"False",type:"Appear",interpolation_type:"Cubic",start_time:"0",duration:"0.5"}],marker_style:{marker:{type:"%MarkerType",size:"6",anchor:"top"},fill:{color:"LightColor(%Color)"},border:{color:"DarkColor(%Color)",thickness:"1"},effects:{drop_shadow:{enabled:"false",distance:"1.5",opacity:"0.15"}},states:{hover:{marker:{size:"10"},fill:{color:"LightColor(%Color)"},
effects:{glow:{enabled:"true",blur_x:"2",blur_y:"2",opacity:"0.8"}}},missing:{fill:{type:"Solid",color:"White",opacity:"0"},border:{thickness:"1",color:"White",opacity:"1"}}},name:"anychart_default"},label_style:[{format:{value:"{%Value}"},position:{anchor:"Top",halign:"Center",valign:"Top",padding:"5"},font:{family:"Verdana",size:"10",color:"rgb(35,35,35)",bold:"True"},background:{border:{gradient:{key:[{position:"0",color:"rgb(221,221,221)"},{position:"1",color:"rgb(208,208,208)"}],angle:"90"},
enabled:"True",type:"Gradient"},fill:{gradient:{key:[{position:"0",color:"rgb(255,255,255)"},{position:"0.5",color:"rgb(243,243,243)"},{position:"1",color:"rgb(255,255,255)"}],angle:"90"},type:"Gradient"},inside_margin:{all:"3"},effects:{drop_shadow:{enabled:"True",distance:"1",opacity:"0.1"},enabled:"True"},enabled:"false"},name:"anychart_default"},{format:{value:"{%Value}"},position:{anchor:"Top",halign:"Center",valign:"Top",padding:"5"},font:{family:"Verdana",size:"10",color:"DarkColor(%Color)",
bold:"True"},background:{border:{gradient:{key:[{position:"0",color:"DarkColor(%Color)"},{position:"1",color:"DarkColor(%Color)"}],angle:"90"},enabled:"True",type:"Gradient"},fill:{gradient:{key:[{position:"0",color:"rgb(255,255,255)"},{position:"0.5",color:"rgb(243,243,243)"},{position:"1",color:"rgb(255,255,255)"}],angle:"90"},enabled:"true",type:"Gradient"},inside_margin:{all:"3"},effects:{drop_shadow:{enabled:"True",distance:"1",opacity:"0.1"},enabled:"True"},enabled:"true"},name:"Default01"},
{font:{bold:"false"},name:"Default02",parent:"Default01"},{font:{color:"rgb(35,35,35)"},name:"Default03",parent:"Default01"},{font:{color:"rgb(35,35,35)",bold:"false"},name:"Default04",parent:"Default01"},{font:{color:"White",bold:"false"},background:{border:{enabled:"false"},fill:{enabled:"true",type:"Solid",color:"DarkColor(%Color)",opacity:"0.7"},effects:{enabled:"false"},inside_margin:{top:"1",bottom:"2"},corners:{type:"Rounded",all:"2"},enabled:"true"},name:"Default05"}],tooltip_style:[{format:{value:"{%Value}{numDecimals:2}"},
position:{anchor:"Float",halign:"Center",valign:"Top",padding:"5"},font:{family:"Verdana",size:"10",color:"rgb(35,35,35)",bold:"True",italic:"False",underline:"False"},background:{border:{gradient:{key:[{position:"0",color:"rgb(221,221,221)",opacity:"1"},{position:"1",color:"rgb(208,208,208)",opacity:"1"}],angle:"90",type:"Linear",focal_point:"0"},enabled:"True",thickness:"1",type:"Gradient",opacity:"1",color:"rgb(0,0,0)",dashed:"False",dash_length:"5",space_length:"3",caps:"Round",joints:"Round"},
fill:{gradient:{key:[{position:"0",color:"rgb(255,255,255)",opacity:"1"},{position:"0.5",color:"rgb(243,243,243)",opacity:"1"},{position:"1",color:"rgb(255,255,255)",opacity:"1"}],angle:"90",type:"Linear",focal_point:"0"},enabled:"True",type:"Gradient",color:"rgb(255,255,255)",opacity:"1",image_mode:"Stretch",image_url:""},hatch_fill:{enabled:"False",type:"BackwardDiagonal",color:"rgb(0,0,0)",opacity:"1",thickness:"1",pattern_size:"10"},inside_margin:{left:"10",top:"5",right:"10",bottom:"5"},corners:{type:"Square",
all:"10"},effects:{drop_shadow:{enabled:"True",opacity:"0.3",angle:"45",color:"Black",distance:"2",blur_x:"2",blur_y:"2"},enabled:"True"},enabled:"True"},name:"anychart_default",enabled:"true"},{background:{enabled:"false"},name:"Default01",enabled:"true"},{position:{halign:"Center",valign:"Top",padding:"5"},font:{color:"#575757"},background:{fill:{gradient:{key:[{position:"0",color:"#FFFFFF"},{position:"0.5",color:"#E4E5F0"}],angle:"90"},type:"gradient"},inside_margin:{left:"4",right:"4",top:"3",
bottom:"3"},border:{color:"#767676"},effects:{drop_shadow:{enabled:"true",distance:"2"}}},name:"Default02",enabled:"true"}]},data_plot_settings:{},chart_settings:{data_plot_background:{border:{color:"#B7B7B7"},fill:{color:"#FFFFFF"},effects:{drop_shadow:{enabled:"True",distance:"2",opacity:"0.2"}}}}},defaults:{color_swatch:{labels:{format:{value:"{%Value}{numDecimals:2}"},font:{family:"Verdana",size:"10",bold:"false",color:"#232323"},padding:"0"},background:{border:{gradient:{key:[{position:"0",color:"rgb(221,221,221)"},
{position:"1",color:"rgb(208,208,208)"}],angle:"90"},type:"Gradient"},fill:{gradient:{key:[{position:"0",color:"#FFFFFF"},{position:"0.5",color:"rgb(243,243,243)"},{position:"1",color:"#FFFFFF"}],angle:"90"},type:"Gradient"},inside_margin:{all:"5"},effects:{drop_shadow:{enabled:"True",distance:"1",opacity:"0.1"},enabled:"True"},enabled:"true"},tickmark:{thickness:"1",size:"4",color:"#232323"},range_item:{background:{fill:{color:"%Color"},states:{hover:{fill:{color:"LightColor(%Color)"}}}}},title:{text:{value:"Color Swatch"},
enabled:"false"},title_separator:{gradient:{key:[{position:"0",color:"#333333",opacity:"0"},{position:"0.5",color:"#333333",opacity:"1"},{position:"1",color:"#333333",opacity:"0"}]},enabled:"true",type:"Gradient"},orientation:"Horizontal",position:"bottom",align:"near",inside_dataplot:"false",align_by:"dataplot",padding:"5"}}};function Ik(){}x.e(Ik,Pe);w=Ik.prototype;w.ur=u("chart");w.pg=function(){return this.gf(Ik.b.pg.call(this),Hk)};w.gf=function(a,b){var c=Ik.b.gf.call(this,a,b),e=this.ur(),f=D(D(a,e),"data"),h=D(D(b,e),"data");if(f!=l||h!=l)(f=Ub(f,h,"series"))&&E(D(c,e),"data",f);return c};
w.gF=function(a,b){var c=Ik.b.gF.call(this,a,b),e=D(D(a,this.ur()),"data"),f=D(b,"data");if(f)if(e){var h=Nb(e,f,"data","series");E(c,"data",h);var f=F(f,"series"),j=f.length,k=[];E(h,"series",k);for(h=0;h<j;h++){var m=f[h];if(B(m,"name")){var s=Tb(F(e,"series"),D(m,"name"));s&&(k[h]=Nb(s,m,"series","point"))}else k[h]=m}}else c.data=f;return c};
w.Rn=function(a,b,c){Ik.b.Rn.call(this,a,b,c);var e=Nb(D(a,"data_plot_settings"),D(b,"data_plot_settings"));e!=l&&(c.data_plot_settings=e);var f,e=Qb(D(a,"palettes"),D(b,"palettes"));if(e!=l)for(f in c.palettes=e,c.palettes)B(c.palettes[f],"name")&&(c.palettes[f].name=sb(D(c.palettes[f],"name")));a=Qb(D(a,"thresholds"),D(b,"thresholds"));if(a!=l)for(f in c.thresholds=a,c.thresholds)B(c.thresholds[f],"name")&&(c.thresholds[f].name=sb(D(c.thresholds[f],"name")))};
w.vt=function(a,b){Ik.b.vt.call(this,a,b);if(a&&b&&B(b,"color_swatch")){var c=D(b,"color_swatch");if(B(a,"chart_settings")){var e=D(a,"chart_settings");B(e,"controls")&&(e=D(e,"controls"),B(e,"color_swatch")&&E(e,"color_swatch",Nb(c,D(e,"color_swatch"),"color_swatch")))}}};var Jk={chart:{styles:{line_axis_marker_style:{label:{font:{family:"Tahoma",size:"11",bold:"True"},format:{value:"{%Value}"},background:{border:{gradient:{key:[{position:"0",color:"rgb(221,221,221)"},{position:"1",color:"rgb(208,208,208)"}],angle:"90"},enabled:"True",type:"Gradient"},fill:{gradient:{key:[{position:"0",color:"rgb(255,255,255)"},{position:"0.5",color:"rgb(243,243,243)"},{position:"1",color:"rgb(255,255,255)"}],angle:"90"},type:"Gradient"},inside_margin:{all:"5"},effects:{drop_shadow:{enabled:"True",
distance:"1",opacity:"0.1"},enabled:"True"},enabled:"false"},enabled:"False",position:"BeforeAxisLabels",align:"Near",text_align:"Left"},name:"anychart_default",thickness:"1",color:"#DC0A0A",caps:"Square",joints:"miter",dash_length:"10",space_length:"10"},range_axis_marker_style:{label:{format:{value:"{%Minimum} - {%Maximum}"},font:{family:"Tahoma",size:"11",color:"rgb(34,34,34)"},background:{border:{gradient:{key:[{position:"0",color:"rgb(221,221,221)"},{position:"1",color:"rgb(208,208,208)"}],angle:"90"},
enabled:"True",type:"Gradient"},fill:{gradient:{key:[{position:"0",color:"rgb(255,255,255)"},{position:"0.5",color:"rgb(243,243,243)"},{position:"1",color:"rgb(255,255,255)"}],angle:"90"},type:"Gradient"},inside_margin:{all:"5"},effects:{drop_shadow:{enabled:"True",distance:"1",opacity:"0.1"},enabled:"True"},enabled:"false"},enabled:"False",position:"BeforeAxisLabels",text_align:"Left"},fill:{color:"%Color",opacity:".4"},minimum_line:{color:"DarkColor(%Color)"},maximum_line:{color:"DarkColor(%Color)"},
name:"anychart_default",color:"Green"}},chart_settings:{axes:{scroll_bar_settings:{vert_scroll_bar:{fill:{gradient:{key:[{color:"#94999B",position:"1"},{color:"#E7E7E7",position:"0.7"},{color:"#E7E7E7",position:"0"}],angle:"0"},enabled:"true",type:"Solid",color:"#FEFEFE"},border:{enabled:"true",color:"#707173",opacity:"1"},effects:{inner_shadow:{enabled:"true",angle:"180",blur_x:"15",blur_y:"0",distance:"7",color:"#777777"},enabled:"true"},buttons:{background:{corners:{type:"Square",all:"2"},fill:{gradient:{key:[{color:"#FDFDFD"},
{color:"#EBEBEB"}],angle:"90"},enabled:"true",type:"Gradient"},border:{gradient:{key:[{color:"#898B8D"},{color:"#5D5F60"}],angle:"90"},enabled:"true",type:"Gradient",opacity:"1"},effects:{drop_shadow:{enabled:"true",distance:"5",opacity:"0.2"},enabled:"false"}},arrow:{fill:{color:"#111111"},border:{enabled:"false"}},states:{hover:{background:{fill:{gradient:{key:[{color:"#FDFDFD"},{color:"#F4F4F4"}],angle:"90"},enabled:"true",type:"Gradient"},border:{gradient:{key:[{color:"#009DFF"},{color:"#0056B8"}],
angle:"90"},type:"Gradient"}}},pushed:{background:{fill:{gradient:{key:[{color:"#DFF2FF"},{color:"#99D7FF"}],angle:"90"},enabled:"true",type:"Gradient"},border:{gradient:{key:[{color:"#009DFF"},{color:"#0056B8"}],angle:"90"},type:"Gradient"}}}}},thumb:{background:{corners:{type:"Rounded",all:"0",left_top:"3",left_bottom:"3"},fill:{gradient:{key:[{color:"#FFFFFF"},{color:"#EDEDED"}],angle:"0"},enabled:"true",type:"Gradient"},border:{gradient:{key:[{color:"#ABAEB0"},{color:"#6B6E6F"}],angle:"0"},enabled:"true",
type:"Gradient",color:"#494949",opacity:"1"},effects:{drop_shadow:{enabled:"false",distance:"5",opacity:".2"},enabled:"true"}},states:{hover:{background:{fill:{gradient:{key:[{color:"#FFFFFF"},{color:"#F7F7F7"}],angle:"0"},enabled:"true",type:"gradient",color:"Cyan"},border:{gradient:{key:[{color:"#009DFF"},{color:"#0064C6"}],angle:"0"},type:"Gradient"}}},pushed:{background:{fill:{gradient:{key:[{color:"#D8F0FF",position:"0"},{color:"#ACDEFF",position:"1"}],angle:"0"},enabled:"true",type:"Gradient"},
border:{gradient:{key:[{color:"#009DFF"},{color:"#008AEC"}],angle:"0"},type:"Gradient"}}}}},size:"16"},horz_scroll_bar:{fill:{gradient:{key:[{color:"#94999B",position:"0"},{color:"#E7E7E7",position:"0.7"},{color:"#E7E7E7",position:"1"}],angle:"90"},enabled:"true",type:"Solid",color:"#FEFEFE"},border:{enabled:"true",color:"#707173",opacity:"1"},effects:{inner_shadow:{enabled:"true",blur_x:"0",blur_y:"15",distance:"7",color:"#555555"},enabled:"true"},buttons:{background:{corners:{type:"Square",all:"2"},
fill:{gradient:{key:[{color:"#FDFDFD"},{color:"#EBEBEB"}],angle:"90"},enabled:"true",type:"Gradient"},border:{gradient:{key:[{color:"#898B8D"},{color:"#5D5F60"}],angle:"90"},enabled:"true",type:"Gradient",opacity:"1"},effects:{drop_shadow:{enabled:"true",distance:"5",opacity:"0.2"},enabled:"false"}},arrow:{fill:{color:"#111111"},border:{enabled:"false"}},states:{hover:{background:{fill:{gradient:{key:[{color:"#FDFDFD"},{color:"#F4F4F4"}],angle:"90"},enabled:"true",type:"Gradient"},border:{gradient:{key:[{color:"#009DFF"},
{color:"#0056B8"}],angle:"90"},type:"Gradient"}}},pushed:{background:{fill:{gradient:{key:[{color:"#DFF2FF"},{color:"#99D7FF"}],angle:"90"},enabled:"true",type:"Gradient"},border:{gradient:{key:[{color:"#009DFF"},{color:"#0056B8"}],angle:"90"},type:"Gradient"}}}}},thumb:{background:{corners:{type:"Rounded",all:"0",left_bottom:"3",right_bottom:"3"},fill:{gradient:{key:[{color:"#FFFFFF"},{color:"#EDEDED"}],angle:"90"},enabled:"true",type:"Gradient"},border:{gradient:{key:[{color:"#ABAEB0"},{color:"#6B6E6F"}],
angle:"90"},enabled:"true",type:"Gradient",color:"#494949",opacity:"1"},effects:{drop_shadow:{enabled:"false",distance:"5",opacity:".2"},enabled:"true"}},states:{hover:{background:{fill:{gradient:{key:[{color:"#FFFFFF"},{color:"#F7F7F7"}],angle:"90"},enabled:"true",type:"gradient",color:"Cyan"},border:{gradient:{key:[{color:"#009DFF"},{color:"#0064C6"}],angle:"90"},type:"Gradient"}}},pushed:{background:{fill:{gradient:{key:[{color:"#D8F0FF",position:"0"},{color:"#ACDEFF",position:"1"}],angle:"90"},
enabled:"true",type:"Gradient"},border:{gradient:{key:[{color:"#009DFF"},{color:"#008AEC"}],angle:"90"},type:"Gradient"}}}}},size:"16"}},x_axis:{major_grid:{enabled:"true",interlaced:"false"},minor_grid:{enabled:"true",interlaced:"false"},title:{text:{value:"X-Axis"}}},y_axis:{major_grid:{enabled:"true"},minor_grid:{enabled:"true"},title:{text:{value:"Y-Axis"}}},z_axis:{enabled:"false"}},data_plot_background:{effects:{enabled:"False"},x_axis_plane:{fill:{},border:{}},y_axis_plane:{fill:{},border:{}}}}},
defaults:{axis:{line:{enabled:"True",color:"#474747"},zero_line:{enabled:"True",color:"#FF0000",opacity:"0.3"},major_grid:{line:{enabled:"true",color:"#C1C1C1",dash_length:"1",space_length:"5"},interlaced_fills:{even:{fill:{enabled:"true",color:"#F5F5F5",opacity:"0.5"}},odd:{fill:{enabled:"true",color:"#FFFFFF",opacity:"0.5"}}},enabled:"false",interlaced:"true"},minor_grid:{line:{enabled:"true",color:"#EEEEEE",dash_length:"1",space_length:"10"},interlaced_fills:{even:{fill:{enabled:"True",color:"#F5F5F5",
opacity:"0.5"}},odd:{fill:{enabled:"True",color:"#FFFFFF",opacity:"0.5"}}},enabled:"false",interlaced:"false"},major_tickmark:{enabled:"true",size:"5",color:"#313131"},minor_tickmark:{enabled:"true",size:"2",color:"#3C3C3C"},title:{text:{value:"Axis title"},font:{family:"Tahoma",size:"11",color:"rgb(34,34,34)",bold:"True"},background:{border:{gradient:{key:[{position:"0",color:"#DDDDDD"},{position:"1",color:"#D0D0D0"}],angle:"90"},enabled:"True",type:"Gradient"},fill:{gradient:{key:[{position:"0",
color:"#FFFFFF"},{position:"0.5",color:"#F3F3F3"},{position:"1",color:"#FFFFFF"}],angle:"90"},type:"Gradient"},inside_margin:{all:"5"},effects:{drop_shadow:{enabled:"True",distance:"1",opacity:"0.1"},enabled:"True"},enabled:"false"},enabled:"True",text_align:"Center",align:"Center"},labels:{format:{value:"{%Value}{numDecimals:2}"},background:{border:{gradient:{key:[{position:"0",color:"#DDDDDD"},{position:"1",color:"#D0D0D0"}],angle:"90"},enabled:"True",type:"Gradient"},fill:{gradient:{key:[{position:"0",
color:"#FFFFFF"},{position:"0.5",color:"#F3F3F3"},{position:"1",color:"#FFFFFF"}],angle:"90"},type:"Gradient"},inside_margin:{all:"5"},effects:{drop_shadow:{enabled:"True",distance:"1",opacity:"0.1"},enabled:"True"},enabled:"false"},font:{family:"Tahoma",size:"11",color:"rgb(34,34,34)"},enabled:"true",align:"inside",position:"outside",display_mode:"normal",multi_line_align:"center",rotation:"0",allow_overlap:"false",show_first_label:"true",show_last_label:"true",show_cross_label:"true"},zoom:{enabled:"false"},
enabled:"true"}}};var Kk={chart:{styles:{bar_style:[{border:{type:"Solid",color:"DarkColor(%Color)"},fill:{gradient:{key:[{position:"0",color:"%Color",opacity:"1"},{position:"1",color:"Blend(DarkColor(%Color),%Color,0.7)",opacity:"1"}],angle:"90"},type:"Gradient",color:"%Color",opacity:"0.9"},effects:{bevel:{enabled:"true",distance:"1"},enabled:"True"},states:{hover:{border:{type:"Solid",color:"DarkColor(White)"},fill:{gradient:{key:[{position:"0",color:"White",opacity:"1"},{position:"1",color:"Blend(DarkColor(White),%White,0.7)",
opacity:"1"}],angle:"90"},type:"Gradient",color:"White",opacity:"0.9"}},pushed:{border:{type:"Solid",color:"DarkColor(White)"},fill:{gradient:{key:[{position:"0",color:"White",opacity:"1"},{position:"1",color:"Blend(DarkColor(White),White,0.7)",opacity:"1"}],angle:"90"},type:"Gradient",color:"White",opacity:"0.9"},effects:{bevel:{enabled:"true",distance:"2",angle:"225"}}},selected_normal:{border:{thickness:"2",color:"DarkColor(%Color)"},hatch_fill:{enabled:"true",thickness:"3",type:"ForwardDiagonal",
opacity:"0.3"}},selected_hover:{fill:{gradient:{key:[{position:"0",color:"White",opacity:"1"},{position:"1",color:"Blend(DarkColor(White),White,0.7)",opacity:"1"}],angle:"90"},type:"Gradient",color:"White",opacity:"0.9"},border:{thickness:"2",color:"DarkColor(White)"},hatch_fill:{enabled:"true",thickness:"3",type:"ForwardDiagonal",color:"DarkColor(White)",opacity:"0.3"}},missing:{border:{type:"Solid",color:"DarkColor(White)",thickness:"1",opacity:"0.4"},fill:{gradient:{key:[{position:"0",color:"White",
opacity:"1"},{position:"1",color:"Blend(DarkColor(White),White,0.7)",opacity:"1"}],angle:"90"},type:"Gradient",opacity:"0.3"},hatch_fill:{type:"Checkerboard",pattern_size:"20",enabled:"true",opacity:"0.1"},effects:{bevel:{enabled:"false",distance:"1",angle:"225"}}}},name:"anychart_default"},{fill:{color:"%Color"},name:"AquaLight"},{fill:{color:"%Color"},name:"AquaDark"},{effects:{bevel:{enabled:"false"},drop_shadow:{enabled:"false"}},fill:{color:"%Color"},border:{color:"DarkColor(%Color)",type:"solid",
thickness:"1"},states:{normal:{fill:{color:"%Color",opacity:"1"}},hover:{fill:{color:"White",opacity:"0.8"}},pushed:{fill:{color:"Blend(White,Black,0.9)",opacity:"1"},effects:{bevel:{enabled:"true",distance:"2",angle:"225",shadow_opacity:"0.1"}}},selected_normal:{hatch_fill:{enabled:"true",thickness:"3",type:"ForwardDiagonal",opacity:"0.3"},fill:{color:"%Color",opacity:"1"}},selected_hover:{fill:{color:"White",opacity:".8"},hatch_fill:{enabled:"true",thickness:"3",type:"ForwardDiagonal",color:"Black",
opacity:"0.3"}},missing:{fill:{color:"White",opacity:"0.3"},hatch_fill:{type:"Checkerboard",pattern_size:"20",enabled:"true",opacity:"0.1"},effects:{bevel:{enabled:"false",distance:"1",angle:"225"}}}},name:"cylinder"},{fill:{type:"solid",color:"%color"},name:"plastic"},{name:"silver",parent:"cylinder"}]},data_plot_settings:{bar_series:{animation:{enabled:"True",style:"defaultScaleYBottom"},label_settings:{animation:{enabled:"true",style:"defaultLabel"},enabled:"false"},marker_settings:{marker:{anchor:"CenterTop",
valign:"Center",halign:"Center"},animation:{enabled:"true",style:"defaultMarker"},enabled:"false"},tooltip_settings:{},group_padding:"0.5",point_padding:"0.2"},range_bar_series:{bar_style:{},animation:{style:"defaultScaleYCenter"},start_point:{tooltip_settings:{format:{value:"{%YRangeStart}"},position:{anchor:"centerBottom",valign:"bottom"},enabled:"False"},marker_settings:{animation:{style:"defaultMarker"}},label_settings:{animation:{style:"defaultLabel"}}},end_point:{tooltip_settings:{format:{value:"{%YRangeEnd}"},
position:{anchor:"centerTop",valign:"top"},enabled:"False"},marker_settings:{animation:{style:"defaultMarker"}},label_settings:{animation:{style:"defaultLabel"}}},group_padding:"0.5",point_padding:"0.2"}}}};var Lk={chart:{styles:{bubble_style:[{border:{type:"Solid",thickness:"1",color:"DarkColor(%Color)"},fill:{gradient:{key:[{position:"0",color:"%Color",opacity:"0.9"},{position:"1",color:"Blend(DarkColor(%Color),%Color,0.7)",opacity:"1"}],angle:"90"},type:"Gradient",color:"%Color",opacity:"1"},effects:{bevel:{enabled:"false",distance:"1"}},states:{hover:{border:{type:"Solid",color:"DarkColor(White)"},fill:{gradient:{key:[{position:"0",color:"White",opacity:"1"},{position:"1",color:"Blend(DarkColor(White),White,0.7)",
opacity:"1"}],angle:"90"},type:"Gradient",opacity:"0.9"}},pushed:{border:{type:"Solid",color:"DarkColor(White)"},fill:{gradient:{key:[{position:"0",color:"White",opacity:"1"},{position:"1",color:"Blend(DarkColor(White),White,0.7)",opacity:"1"}],angle:"90"},type:"Gradient",opacity:"0.9"},effects:{bevel:{enabled:"true",distance:"2",angle:"225"}}},selected_normal:{border:{thickness:"2",color:"DarkColor(%Color)"},hatch_fill:{enabled:"true",thickness:"2",type:"ForwardDiagonal",opacity:"0.3",pattern_size:"6",
color:"Black"}},selected_hover:{fill:{gradient:{key:[{position:"0",color:"White",opacity:"1"},{position:"1",color:"Blend(DarkColor(White),White,0.7)",opacity:"1"}],angle:"90"},type:"Gradient",opacity:"0.9"},border:{thickness:"2",color:"DarkColor(White)"},hatch_fill:{enabled:"true",thickness:"2",type:"ForwardDiagonal",color:"DarkColor(White)",opacity:"0.3",pattern_size:"6"}},missing:{border:{type:"Solid",color:"DarkColor(White)",thickness:"1",opacity:"0.4"},fill:{gradient:{key:[{position:"0",color:"White",
opacity:"1"},{position:"1",color:"Blend(DarkColor(White),White,0.7)",opacity:"1"}],angle:"90"},type:"Gradient",opacity:"0.3"},hatch_fill:{type:"Checkerboard",pattern_size:"20",enabled:"true",opacity:"0.1"},effects:{bevel:{enabled:"false",distance:"1",angle:"225"}}}},name:"anychart_default"},{border:{type:"Solid",thickness:"1",color:"DarkColor(%Color)"},fill:{type:"Solid",color:"%Color",opacity:"0.9"},effects:{bevel:{enabled:"false",distance:"1"}},states:{hover:{border:{type:"Solid",color:"%Color",
thickness:"2"},fill:{type:"Solid",color:"LightColor(%Color)",opacity:"0.9"}},pushed:{border:{type:"Solid",color:"DarkColor(%Color)",thickness:"2"},fill:{type:"Solid",color:"Blend(%Color,Dark,0.9)",opacity:"0.9"}},selected_normal:{border:{thickness:"2",color:"DarkColor(%Color)"},hatch_fill:{enabled:"true",thickness:"2",type:"ForwardDiagonal",opacity:"0.3",pattern_size:"6"}},selected_hover:{border:{type:"Solid",color:"DarkColor(%Color)",thickness:"2"},hatch_fill:{enabled:"true",thickness:"2",type:"ForwardDiagonal",
color:"DarkColor(%Color)",opacity:"0.7",pattern_size:"6"},fill:{type:"Solid",color:"LightColor(%Color)",opacity:"0.9"}},missing:{border:{type:"Solid",color:"DarkColor(White)",thickness:"1",opacity:"0.4"},fill:{gradient:{key:[{position:"0",color:"White",opacity:"1"},{position:"1",color:"Blend(DarkColor(White),White,0.7)",opacity:"1"}],angle:"90"},type:"Gradient",opacity:"0.3"},hatch_fill:{type:"Checkerboard",pattern_size:"20",enabled:"true",opacity:"0.1"},effects:{bevel:{enabled:"false",distance:"1",
angle:"225"}}}},name:"Flat"},{border:{type:"Solid",thickness:"1",color:"DarkColor(%Color)"},fill:{type:"Solid",color:"%Color",opacity:"0.5"},effects:{bevel:{enabled:"false",distance:"1"}},states:{hover:{border:{type:"Solid",color:"%Color",thickness:"2"},fill:{type:"Solid",color:"LightColor(%Color)",opacity:"0.5"}},pushed:{border:{type:"Solid",color:"DarkColor(%Color)",thickness:"2"},fill:{type:"Solid",color:"Blend(%Color,Dark,0.9)",opacity:"0.5"}},selected_normal:{border:{thickness:"2",color:"DarkColor(%Color)"},
hatch_fill:{enabled:"true",thickness:"2",type:"ForwardDiagonal",opacity:"0.3",pattern_size:"6"}},selected_hover:{border:{type:"Solid",color:"DarkColor(%Color)",thickness:"2"},hatch_fill:{enabled:"true",thickness:"2",type:"ForwardDiagonal",color:"DarkColor(%Color)",opacity:"0.7",pattern_size:"6"},fill:{type:"Solid",color:"LightColor(%Color)",opacity:"0.5"}},missing:{border:{type:"Solid",color:"DarkColor(White)",thickness:"1",opacity:"0.4"},fill:{gradient:{key:[{position:"0",color:"White",opacity:"1"},
{position:"1",color:"Blend(DarkColor(White),White,0.7)",opacity:"1"}],angle:"90"},type:"Gradient",opacity:"0.3"},hatch_fill:{type:"Checkerboard",pattern_size:"20",enabled:"true",opacity:"0.1"},effects:{bevel:{enabled:"false",distance:"1",angle:"225"}}}},name:"Transparent"},{effects:{bevel:{enabled:"false"},drop_shadow:{enabled:"false"}},states:{normal:{fill:{color:"%Color",opacity:"1"}},hover:{fill:{color:"White",opacity:"0.8"}},pushed:{fill:{color:"Blend(White,Black,0.7)",opacity:"1"},effects:{bevel:{enabled:"true",
distance:"2",angle:"225"}}},selected_normal:{hatch_fill:{enabled:"true",thickness:"3",type:"ForwardDiagonal",opacity:"0.2"}},selected_hover:{fill:{color:"White",opacity:"0.8"},hatch_fill:{enabled:"true",thickness:"3",type:"ForwardDiagonal",color:"DarkColor(White)",opacity:"0.2"}},missing:{fill:{color:"White",opacity:"0.3"},hatch_fill:{type:"Checkerboard",pattern_size:"20",enabled:"true",opacity:"0.1"},effects:{bevel:{enabled:"false",distance:"1",angle:"225"}}}},name:"Aqua","final":"true"}]},data_plot_settings:{bubble_series:{animation:{style:"defaultScaleXYCenter"},
label_settings:{animation:{style:"defaultLabel"},enabled:"False"},marker_settings:{animation:{style:"defaultMarker"},marker:{anchor:"Center",v_align:"Center",h_align:"Center"},enabled:"false"},tooltip_settings:{}}}}};var Mk={chart:{styles:{line_style:{line:{thickness:"2",color:"%Color"},states:{hover:{line:{thickness:"3",color:"LightColor(%Color)"},effects:{glow:{enabled:"true"}}},missing:{line:{thickness:"3",color:"%Color",opacity:"0.2"}}},name:"anychart_default"},area_style:[{line:{enabled:"True",color:"DarkColor(%Color)"},fill:{color:"%Color",opacity:"1"},states:{hover:{fill:{type:"solid",color:"LightColor(%Color)",opacity:"1"}},pushed:{fill:{type:"solid",color:"Blend(LightColor(%Color),Black,0.7)",opacity:"1"}},
selected_normal:{fill:{type:"solid",color:"Blend(LightColor(%Color),Black,0.9)",opacity:"1"},hatch_fill:{type:"ForwardDiagonal",enabled:"True",thickness:"3",opacity:"0.3",pattern_size:"6"}},selected_hover:{fill:{type:"solid",color:"Blend(LightColor(%Color),Black,0.95)",opacity:"1"},hatch_fill:{type:"ForwardDiagonal",enabled:"True",thickness:"3",opacity:"0.2",pattern_size:"6"}}},name:"anychart_default"},{line:{enabled:"True",type:"Solid",color:"DarkColor(%Color)"},fill:{gradient:{key:[{position:"0",
color:"%Color",opacity:"1"},{position:"1",color:"Blend(DarkColor(%Color),%Color,0.7)",opacity:"1"}],angle:"90"},type:"Gradient",color:"%Color",opacity:"0.9"},effects:{bevel:{enabled:"true",distance:"1"}},states:{hover:{line:{enabled:"True",type:"Solid",color:"DarkColor(White)"},fill:{gradient:{key:[{position:"0",color:"White",opacity:"1"},{position:"1",color:"Blend(DarkColor(White),%White,0.7)",opacity:"1"}],angle:"90"},type:"Gradient",opacity:"0.9"}},pushed:{line:{enabled:"True",type:"Solid",color:"DarkColor(White)"},
fill:{gradient:{key:[{position:"0",color:"White",opacity:"1"},{position:"1",color:"Blend(DarkColor(White),White,0.7)",opacity:"1"}],angle:"90"},type:"Gradient",opacity:"0.9"},effects:{bevel:{enabled:"true",distance:"2",angle:"225"}}},selected_normal:{line:{enabled:"True",thickness:"2",color:"DarkColor(%Color)"},hatch_fill:{enabled:"true",thickness:"3",type:"ForwardDiagonal",opacity:"0.3"}},selected_hover:{fill:{gradient:{key:[{position:"0",color:"White",opacity:"1"},{position:"1",color:"Blend(DarkColor(White),White,0.7)",
opacity:"1"}],angle:"90"},type:"Gradient",opacity:"0.9"},line:{enabled:"True",thickness:"2",color:"DarkColor(White)"},hatch_fill:{enabled:"true",thickness:"3",type:"ForwardDiagonal",color:"DarkColor(White)",opacity:"0.3"}},missing:{line:{enabled:"True",type:"Solid",color:"DarkColor(White)",thickness:"1",opacity:"0.4"},fill:{gradient:{key:[{position:"0",color:"White",opacity:"1"},{position:"1",color:"Blend(DarkColor(White),White,0.7)",opacity:"1"}],angle:"90"},type:"Gradient",opacity:"0.3"},hatch_fill:{type:"Checkerboard",
pattern_size:"20",enabled:"true",opacity:"0.1"},effects:{bevel:{enabled:"false",distance:"1",angle:"225"}}}},name:"Dark"},{line:{enabled:"True",color:"DarkColor(%Color)"},fill:{color:"%Color",opacity:"0.5"},states:{hover:{fill:{type:"solid",color:"LightColor(%Color)",opacity:"0.5"}},pushed:{fill:{type:"solid",color:"Blend(LightColor(%Color),Black,0.7)",opacity:"0.5"}},selected_normal:{fill:{type:"solid",color:"Blend(LightColor(%Color),Black,0.9)",opacity:"0.5"},hatch_fill:{type:"ForwardDiagonal",
enabled:"True",thickness:"3",opacity:"0.3",pattern_size:"6"}},selected_hover:{fill:{type:"solid",color:"Blend(LightColor(%Color),Black,0.95)",opacity:"0.5"},hatch_fill:{type:"ForwardDiagonal",enabled:"True",thickness:"3",opacity:"0.2",pattern_size:"6"}}},name:"Transparent"}],range_area_style:{start_line:{color:"DarkColor(%Color)",thickness:"2"},end_line:{color:"DarkColor(%Color)",thickness:"2"},fill:{type:"Solid",color:"%Color"},states:{hover:{start_line:{color:"%Color",thickness:"2"},end_line:{color:"%Color",
thickness:"2"},fill:{type:"Solid",color:"LightColor(%Color)"}}},name:"anychart_default"}},data_plot_settings:{line_series:{animation:{style:"defaultScaleYCenter"},marker_settings:{animation:{style:"defaultMarker"},fill:{gradient:{key:[{position:"0",color:"LightColor(%Color)",opacity:"1"},{position:"0.7",color:"%Color",opacity:"1"},{position:"1",color:"LightColor(%Color)",opacity:"1"}],angle:"45",type:"radial",focal_point:"-0.7"},type:"gradient",opacity:"1"},states:{missing:{marker:{type:"None"},fill:{opacity:"0"},
border:{thickness:"1",color:"%Color",opacity:"0.3"}}},enabled:"true"},effects:{drop_shadow:{enabled:"true",distance:"1.5",opacity:"0.25"}},tooltip_settings:{enabled:"False"},label_settings:{animation:{style:"defaultLabel"},enabled:"False"}},area_series:{animation:{style:"defaultScaleYBottom"},tooltip_settings:{enabled:"False"},label_settings:{animation:{style:"defaultLabel"},enabled:"False"},marker_settings:{animation:{style:"defaultMarker"},enabled:"False"}},range_area_series:{animation:{style:"defaultScaleYCenter"},
start_point:{tooltip_settings:{format:{value:"{%YRangeStart}"},position:{anchor:"centerBottom",valign:"bottom"},enabled:"False"},marker_settings:{animation:{style:"defaultMarker"},marker:{anchor:"centerBottom"},enabled:"False"},label_settings:{animation:{style:"defaultLabel"},format:{value:"{%YRangeStart}"},position:{anchor:"centerBottom",valign:"bottom"},enabled:"False"}},end_point:{tooltip_settings:{format:{value:"{%YRangeEnd}"},position:{anchor:"centerTop",valign:"top"},enabled:"False"},marker_settings:{animation:{style:"defaultMarker"},
marker:{anchor:"centerTop"},enabled:"False"},label_settings:{animation:{style:"defaultLabel"},format:{value:"{%YRangeEnd}"},position:{anchor:"centerTop",valign:"top"},enabled:"False"}}}}}};var Nk={chart:{styles:{ohlc_style:{line:{thickness:"6"},up:{line:{color:"LightColor(%Color)"}},down:{line:{color:"DarkColor(%Color)"}},name:"anychart_default"},candlestick_style:{fill:{type:"solid",color:"%Color"},border:{},line:{color:"Black",thickness:"2"},up:{fill:{color:"LightColor(%Color)"}},down:{fill:{color:"DarkColor(%Color)"}},name:"anychart_default"}},data_plot_settings:{ohlc_series:{label_settings:{},tooltip_settings:{},marker_settings:{},group_padding:"0.5",point_padding:"0.2"},candlestick_series:{label_settings:{},
tooltip_settings:{},marker_settings:{},group_padding:"0.5",point_padding:"0.2"}}}};var Ok={chart:{styles:{},data_plot_settings:{marker_series:{animation:{style:"defaultScaleXYCenter"},label_settings:{animation:{style:"defaultLabel"},enabled:"False"},tooltip_settings:{}}}}};var Pk={chart:{styles:{heat_map_style:{border:{type:"Solid",thickness:"1",color:"DarkColor(%Color)"},fill:{type:"Solid",color:"%Color"},name:"anychart_default"}},data_plot_settings:{heat_map:{label_settings:{},tooltip_settings:{},marker_settings:{}}}}};function Qk(){}x.e(Qk,Ik);Qk.prototype.pg=function(){var a=this.gf(Qk.b.pg.call(this),Jk),a=this.gf(a,Nk),a=this.gf(a,Mk),a=this.gf(a,Lk),a=this.gf(a,Ok),a=this.gf(a,Pk);return a=this.gf(a,Kk)};
Qk.prototype.Rn=function(a,b,c){Qk.b.Rn.call(this,a,b,c);var e=l,f=l,h;if(B(a,"chart_settings")&&B(h=D(a,"chart_settings"),"axes")&&B(h=D(h,"axes"),"extra"))e=D(h,"extra");if(B(b,"chart_settings")&&B(h=D(b,"chart_settings"),"axes")&&B(h=D(h,"axes"),"extra"))f=D(h,"extra");a=Qb(e,f);a!=l&&(D(D(c,"chart_settings"),"axes").extra=a)};
Qk.prototype.vt=function(a,b){Qk.b.vt.call(this,a,b);if(!(a==l||b==l)){var c=D(b,"axis"),e=l;if(c!=l&&B(a,"chart_settings")&&B(e=D(a,"chart_settings"),"axes"))if(e=D(e,"axes"),B(e,"x_axis")&&(e.x_axis=Nb(c,D(e,"x_axis"),"x_axis")),B(e,"y_axis")&&(e.y_axis=Nb(c,D(e,"y_axis"),"y_axis")),B(e,"extra")){e=D(e,"extra");e.x_axis instanceof Array||(e.x_axis=e.x_axis?[e.x_axis]:[]);var f=e.x_axis,h=f.length,j;for(j=0;j<h;j++)f[j]=Nb(c,f[j],"x_axis"),B(f[j],"name")&&(f[j].name=sb(D(f[j],"name")));e.y_axis instanceof
Array||(e.y_axis=e.y_axis?[e.y_axis]:[]);f=e.y_axis;h=f.length;for(j=0;j<h;j++)f[j]=Nb(c,f[j],"y_axis"),B(f[j],"name")&&(f[j].name=sb(D(f[j],"name")))}}};function Rk(a){this.aa=a}w=Rk.prototype;w.aa=l;w.tw=function(){x.qa()};w.vw=function(){x.qa()};w.uw=function(){x.qa()};w.Vv=function(){x.qa()};w.aw=function(){x.qa()};function Sk(a){this.aa=a}x.e(Sk,Rk);Sk.prototype.Am=function(a,b,c,e){e.x=this.aa.k().x+b-a/2;e.width=a;e.height=c};function Tk(a){this.aa=a}x.e(Tk,Sk);w=Tk.prototype;w.Vv=function(a,b,c,e){this.Am(a,b,c,e);e.y=this.aa.k().ja()-c};w.aw=function(a,b,c,e){this.Am(a,b,c,e);e.y=this.aa.k().ja()};
w.tw=function(a,b,c,e,f){a=a.ba();b+=this.aa.k().x;a.setAttribute("d",Q(b,this.aa.k().ja()+c-e,b,this.aa.k().ja()+c,f));return a};w.vw=function(a,b,c,e,f){a=a.ba();b+=this.aa.k().x;a.setAttribute("d",Q(b,this.aa.k().ja()+c,b,this.aa.k().ja()+c+e,f));return a};w.uw=function(a,b,c,e,f){a=a.ba();b+=this.aa.k().x;a.setAttribute("d",Q(b,this.aa.k().y-c,b,this.aa.k().y-c+e,f));return a};function Uk(a){this.aa=a}x.e(Uk,Sk);w=Uk.prototype;w.Vv=function(a,b,c,e){this.Am(a,b,c,e);e.y=this.aa.k().y};
w.aw=function(a,b,c,e){this.Am(a,b,c,e);e.y=this.aa.k().y-c};w.tw=function(a,b,c,e,f){a=a.ba();b+=this.aa.k().x;a.setAttribute("d",Q(b,this.aa.k().y,b,this.aa.k().y+e,f));return a};w.vw=function(a,b,c,e,f){a=a.ba();b+=this.aa.k().x;a.setAttribute("d",Q(b,this.aa.k().y-e-c,b,this.aa.k().y-c,f));return a};w.uw=function(a,b,c,e,f){a=a.ba();b+=this.aa.k().x;a.setAttribute("d",Q(b,this.aa.k().ja()+c-e,b,this.aa.k().ja()+c,f));return a};function Vk(a){this.aa=a}x.e(Vk,Rk);
Vk.prototype.Am=function(a,b,c,e){b=this.aa.k().ja()-b;e.y=b-a/2;e.height=a;e.width=c};function Wk(a){this.aa=a}x.e(Wk,Vk);w=Wk.prototype;w.Vv=function(a,b,c,e){this.Am(a,b,c,e);e.x=this.aa.k().x};w.aw=function(a,b,c,e){this.Am(a,b,c,e);e.x=this.aa.k().x-c};w.tw=function(a,b,c,e,f){b=this.aa.k().ja()-b;a=a.ba();a.setAttribute("d",Q(this.aa.k().x,b,this.aa.k().x+e,b,f));return a};w.vw=function(a,b,c,e,f){b=this.aa.k().ja()-b;a=a.ba();a.setAttribute("d",Q(this.aa.k().x-e-c,b,this.aa.k().x-c,b,f));return a};
w.uw=function(a,b,c,e,f){b=this.aa.k().ja()-b;a=a.ba();a.setAttribute("d",Q(this.aa.k().Ja()-e,b,this.aa.k().Ja(),b,f));return a};function Xk(a){this.aa=a}x.e(Xk,Vk);w=Xk.prototype;w.Vv=function(a,b,c,e){this.Am(a,b,c,e);e.x=this.aa.k().Ja()-c};w.aw=function(a,b,c,e){this.Am(a,b,c,e);e.x=this.aa.k().Ja()};w.tw=function(a,b,c,e,f){b=this.aa.k().ja()-b;a=a.ba();a.setAttribute("d",Q(this.aa.k().Ja()-e,b,this.aa.k().Ja(),b,f));return a};
w.vw=function(a,b,c,e,f){b=this.aa.k().ja()-b;a=a.ba();a.setAttribute("d",Q(this.aa.k().Ja()+c,b,this.aa.k().Ja()+e+c,b,f));return a};w.uw=function(a,b,c,e,f){b=this.aa.k().ja()-b;a=a.ba();a.setAttribute("d",Q(this.aa.k().x,b,this.aa.k().x+e,b,f));return a};function Yk(a){this.aa=a}w=Yk.prototype;w.aa=l;w.ww=function(){x.qa()};w.xw=function(){x.qa()};w.RA=function(){x.qa()};w.Ne=function(){x.qa()};w.Qj=function(){x.qa()};w.bw=function(){x.qa()};w.iG=function(){x.qa()};function Zk(a){this.aa=a}x.e(Zk,Yk);w=Zk.prototype;w.Ne=o();w.bw=function(a,b,c){c.x=this.aa.k().x+b-a/2;c.width=a;c.y=this.aa.k().y;c.height=this.aa.k().height};w.iG=function(a,b,c){c.x=this.aa.k().x+a;c.width=b-a;c.y=this.aa.k().y;c.height=this.aa.k().height};
w.Qj=function(a,b,c,e,f){f.y=this.aa.k().y;f.x=this.aa.k().x+b;f.width=c-b;f.height=a};w.xw=function(a,b,c){a=a.ba();b+=this.aa.k().x;a.setAttribute("d",Q(b,this.aa.k().y+0.5,b,this.aa.k().ja(),c));return a};w.RA=function(a,b){return xc(a,b.x,b.y,b.width,b.height)};function $k(a){this.aa=a}x.e($k,Zk);$k.prototype.Qj=function(a,b,c,e,f){$k.b.Qj.call(this,a,b,c,e,f);f.y+=this.aa.k().ja()+e-a/2};$k.prototype.ww=function(a,b,c,e,f){a=a.ba();e=this.aa.k().ja()+e;a.setAttribute("d",Q(b+0.5,e,c,e,f));return a};
function al(a){this.aa=a}x.e(al,Zk);al.prototype.Qj=function(a,b,c,e,f){al.b.Qj.call(this,a,b,c,e,f);f.y+=this.aa.k().y-e-a/2};al.prototype.ww=function(a,b,c,e,f){a=a.ba();e=this.aa.k().y-e;a.setAttribute("d",Q(b,e,c+1,e,f));return a};al.prototype.Ne=function(a){a.Sc(-a.cc)};function bl(a){this.aa=a}x.e(bl,Yk);w=bl.prototype;w.bw=function(a,b,c){c.y=this.aa.k().ja()-b-a/2;c.height=a;c.x=this.aa.k().x;c.width=this.aa.k().width};
w.iG=function(a,b,c){a=this.aa.k().ja()-a;b=this.aa.k().ja()-b;c.y=Math.min(a,b);c.height=Math.max(a,b)-c.y;c.x=this.aa.k().x;c.width=this.aa.k().width};w.Qj=function(a,b,c,e,f){f.x=this.aa.k().x;f.y=b;f.height=c-b;f.width=a};w.xw=function(a,b,c){b=this.aa.k().ja()-b;a=a.ba();a.setAttribute("d",Q(this.aa.k().x+0.5,b,this.aa.k().Ja(),b,c));return a};w.RA=function(a,b){return xc(a,b.x,b.y,b.width,b.height)};function cl(a){this.aa=a}x.e(cl,bl);
cl.prototype.Qj=function(a,b,c,e,f){cl.b.Qj.call(this,a,b,c,e,f);f.x+=this.aa.k().x-e-a/2};cl.prototype.ww=function(a,b,c,e,f){a=a.ba();e=this.aa.k().x-e;a.setAttribute("d",Q(e,b+1,e,c,f));return a};cl.prototype.Ne=function(a){a.Sc(180-(a.cc-90))};function dl(a){this.aa=a}x.e(dl,bl);dl.prototype.Qj=function(a,b,c,e,f){dl.b.Qj.call(this,a,b,c,e,f);f.x+=this.aa.k().Ja()+e-a/2};dl.prototype.ww=function(a,b,c,e,f){a=a.ba();e=this.aa.k().Ja()+e;a.setAttribute("d",Q(e,b+0.5,e,c,f));return a};
dl.prototype.Ne=function(a){a.Sc(-(a.cc+90))};function el(){}w=el.prototype;w.Ay=function(){x.qa()};w.HD=function(){x.qa()};w.By=function(){x.qa()};w.py=function(){x.qa()};w.DD=function(){x.qa()};w.ED=function(){x.qa()};function fl(){}x.e(fl,el);w=fl.prototype;w.Ay=aa();w.py=function(a){switch(a){case 7:return 3;case 3:return 7;case 8:return 2;case 2:return 8;case 6:return 4;case 4:return 6;default:return a}};w.HD=aa();w.By=function(a,b){return b};w.DD=aa();w.ED=function(a,b){switch(b){case 0:return 2;case 2:return 0;default:return b}};
function gl(){}x.e(gl,fl);function hl(){}x.e(hl,fl);function il(){}x.e(il,el);w=il.prototype;w.Ay=function(a){switch(a){case 7:return 1;case 1:return 3;case 5:return 7;case 3:return 5;case 8:return 2;case 2:return 4;case 6:return 8;case 4:return 6;default:return a}};w.py=function(a){switch(a){case 7:return 5;case 1:return 3;case 5:return 7;case 3:return 1;case 8:return 4;case 4:return 8;default:return a}};w.HD=function(a,b){switch(b){case 0:return 1;case 2:return 0;default:return 2}};
w.By=function(a){switch(a){case 0:return 0;case 1:return 2;default:return 1}};w.DD=function(a,b){switch(b){case 0:return 0;case 2:return 1;default:return 2}};w.ED=function(a,b){return this.By(a,b)};function jl(){}x.e(jl,il);function kl(){}x.e(kl,il);function ll(a){this.aa=a}ll.prototype.aa=l;ll.prototype.Rj=function(){x.qa()};ll.prototype.lG=function(){x.qa()};function ml(a){this.aa=a}x.e(ml,ll);ml.prototype.lG=o();ml.prototype.Rj=function(a,b){switch(a.ra){case 0:b.x=this.aa.k().x;break;case 1:b.x=this.aa.k().x+(this.aa.k().width-a.Vd.width)/2;break;case 2:b.x=this.aa.k().Ja()-a.Vd.width}};function nl(a){this.aa=a}x.e(nl,ml);nl.prototype.Rj=function(a,b){nl.b.Rj.call(this,a,b);b.y=this.aa.k().ja()+a.Tf()+a.Y()};function ol(a){this.aa=a}
x.e(ol,ml);ol.prototype.Rj=function(a,b){ol.b.Rj.call(this,a,b);b.y=this.aa.k().lb()-a.Tf()-a.Y()-a.Vd.height};function pl(a){this.aa=a}x.e(pl,ll);pl.prototype.lG=function(a){ce(a,a.ob.Qb+90)};pl.prototype.Rj=function(a,b){switch(a.ra){case 0:b.y=this.aa.k().ja()-a.k().height;break;case 1:b.y=this.aa.k().lb()+(this.aa.k().height-a.k().height)/2;break;case 2:b.y=this.aa.k().lb()}};function ql(a){this.aa=a}x.e(ql,pl);
ql.prototype.Rj=function(a,b){ql.b.Rj.call(this,a,b);b.x=this.aa.k().x-a.Tf()-a.Y()-a.k().width};function rl(a){this.aa=a}x.e(rl,pl);rl.prototype.Rj=function(a,b){rl.b.Rj.call(this,a,b);b.x=this.aa.k().Ja()+a.Tf()+a.Y()};function sl(a,b){this.n=a;this.C=b;ae.apply(this)}x.e(sl,ae);w=sl.prototype;w.UH=function(){return new tl(this.C)};w.n=l;w.ua=5;w.Y=q("ua");w.ra=0;w.mp=n;w.tf=q("mp");w.C=l;w.Tj=i;w.Uj=i;w.jc=l;w.Yi=n;w.il=NaN;w.gJ=q("il");w.Mh=l;
w.f=function(a){sl.b.f.call(this,a);if(this.na){if(B(a,"format")&&(this.jc=new Ld(G(a,"format")),this.n.O().MJ())){var b=this.jc;b.ia(this.n);var c=l,e;for(e in b.Mf)if("%Value"==b.Mf[e].no){c=b.Mf[e];break}this.Mh=c!=l&&c.Mh!=g?c.Mh:2;this.n.O().uI(this.Mh)}B(a,"padding")&&(this.ua=J(a,"padding"));if(B(a,"align"))switch(O(a,"align")){case "inside":this.ra=0;break;case "outside":this.ra=1;break;case "center":this.ra=2}B(a,"position")&&(this.mp="inside"==N(a,"position"));B(a,"show_first_label")&&(this.Tj=
I(a,"show_first_label"));B(a,"show_last_label")&&(this.Uj=I(a,"show_last_label"));B(a,"allow_overlap")&&(this.Yi=I(a,"allow_overlap"))}};w.Nd=l;w.fm=l;w.Kb=function(a,b){this.ob.Pc();sl.b.Kb.call(this,a,b)};
w.Dn=function(a){this.fm=new R;this.Nd=new R;for(var b=this.C.C.n.O(),c=b.mb,e=0;e<=c;e++){this.il=b.tr(e);var f=this.jc.ia(this.n,this.n.Kd());this.Kb(a,f);var f=this.j,h=this.Vd;f.width>this.Nd.width&&(this.Nd.width=f.width,this.fm.width=h.width);f.height>this.Nd.height&&(this.Nd.height=f.height,this.fm.height=h.height)}};w.Et=function(a){this.Dn(a);a=this.C.ap(this.fm,this.Nd,this.ob);a=Math.ceil(a);return 1>a?1:a};w.kd=0;w.rd=q("kd");w.Aw=0;
w.XB=function(){this.kd=this.C.qg(this.Nd);this.Aw=this.kd+this.ua};w.qy=function(a,b){var c=new P,e=this.C.C.n.O(),f=e.bb(b);this.il=e.tr(b);this.Kb(a,this.jc.ia(this.n,this.n.Kd()));this.C.Oe(this,c,this.j,this.Vd,e.xb(f));ul(this,c,this.j,this.Vd,this.ob);e=this.j.la();e.x=c.x;e.y=c.y;return e};w.Ke=0;w.Tf=q("Ke");w.Li=p("Ke");
w.To=function(a){var b=new P,c=this.C.C.n.O(),e=!this.Yi,f=e&&this.C.Wr(c.Mb()),h=f?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY,j;this.ob.Qr||(j=this.C.az(this.fm,this.ob));var k=this.Tj?0:1,m=c.mb;for(this.Uj||m--;k<=m;k++){var s=c.bb(k);this.il=c.tr(k);if(!c.fs(s))break;var t=this.jc.ia(this.n,this.n.Kd());this.Kb(a.o(),t);var t=this.j,v=this.Vd;this.C.Oe(this,b,t,v,c.xb(s));if(e){if(this.C.ez(f,this.ob,b,h,j,t,v))continue;h=this.C.ry(f,this.ob,b,j,t,v)}ul(this,b,t,v,this.ob);s=this.Zb(a.o());
s.eb(b.x,b.y);a.Z(s)}};function ul(a,b,c,e,f){a.ob.$M?(b.x+=c.width*f.sI,b.y+=c.height*f.tI):(b.x+=e.width*f.sI+e.height*f.qM,b.y+=e.width*f.rM+e.height*f.tI)}function vl(a,b){sl.call(this,a,b)}x.e(vl,sl);w=vl.prototype;w.mi=l;w.Dn=function(a){this.Nd=new R;this.mi=new R;for(var b=this.n.O(),c=b.mb,e=0;e<=c;e++){b.bb(e);this.il=b.tr(e);var f=this.jc.ia(this.n,this.n.Kd());this.Kb(a,f);f=0==e%2?this.Nd:this.mi;this.j.width>f.width&&(f.width=this.j.width);this.j.height>f.height&&(f.height=this.j.height)}};
w.Et=function(a){this.Dn(a);var a=this.C.ap(this.Nd,this.Nd,this.ob),b=this.C.ap(this.mi,this.mi,this.ob);1>a&&(a=1);1>b&&(b=1);return a+b};w.XB=function(){this.kd=this.C.qg(this.Nd)+this.C.qg(this.mi)+this.ua;this.Aw=this.kd+this.ua};
w.To=function(a){for(var b=new P,c=this.C.C.n.O(),e=!this.Yi,f=e&&this.C.Wr(c.Mb()),h=f?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY,j=h,k=this.C.qg(this.Nd),m=this.C.qg(this.mi),s,t,v=0;v<=c.mb;v++){var y=0==v%2,C=c.bb(v);this.il=c.tr(v);s=this.jc.ia(this.n,this.n.Kd());this.Kb(a.o(),s);y?(t=k,s=0):(t=m,s=k);var M=this.j;this.C.Mi(this,b,M,c.xb(C),s,t);if(e)if(y){if(this.C.$r(f,b,M,h))continue;h=this.C.Er(f,b,M)}else{if(this.C.$r(f,b,M,j))continue;j=this.C.Er(f,b,M)}y=this.Zb(a.o());y.eb(b.x,
b.y);a.Z(y)}};w.f=function(a){vl.b.f.call(this,a);ce(this,0)};function tl(a){this.jB=a}x.e(tl,Gc);tl.prototype.Pc=function(){tl.b.Pc.call(this);this.to=this.tan=Math.tan(this.rm);0>this.to&&(this.to=-this.to);this.$M=0==this.rm%180;this.Qr=0==this.rm%90;var a=0,a=90>this.rm?0:180>this.rm?1:270>this.rm?2:3;this.sI=this.jB.ty(a,this);this.qM=this.jB.sy(a,this);this.rM=this.jB.vy(a,this);this.tI=this.jB.uy(a,this)};function wl(a){this.C=a}w=wl.prototype;w.C=l;w.ap=function(){x.qa()};w.qg=function(){x.qa()};w.Oe=function(){x.qa()};w.ry=function(){x.qa()};w.az=function(){x.qa()};w.ez=function(){x.qa()};w.ty=function(){x.qa()};w.sy=function(){x.qa()};w.vy=function(){x.qa()};w.uy=function(){x.qa()};w.Wr=function(){x.qa()};w.EB=function(){x.qa()};w.Mi=function(){x.qa()};w.$r=function(){x.qa()};w.Er=function(){x.qa()};function xl(a){this.C=a}x.e(xl,wl);w=xl.prototype;w.qg=function(a){return a.height};
w.ap=function(a,b,c){var e=this.C.k().width,f=0;return f=0!=c.Qb%90?a.width*c.to<a.height?Number(e*c.Se/a.width):Number(e*c.qf/a.height):0!=c.Qb%180?e/a.height:e/b.width};w.Wr=aa();w.az=function(a,b){return a.width*b.to<a.height};w.vy=u(0);w.uy=u(0);w.Oe=function(a,b,c,e,f){b.x=this.C.k().x+f;b.y=0};w.ez=function(a,b,c,e,f,h,j){return a?b.Qr?c.x+h.width>e:c.x+(f?j.width/b.Se:j.height/b.qf)>e:Math.round(c.x)<e};w.ry=function(a,b,c,e,f,h){return a?c.x:c.x+(b.Qr?f.width:e?h.width/b.Se:h.height/b.qf)};
w.EB=function(a,b,c){var e=b,f=c;this.C.n.O().Mb()&&(e=c,f=b);0>e.x&&(a.x+=-e.x,a.width+=e.x);f.x+f.width>this.C.k().x+this.C.k().width&&(a.width-=f.x+f.width-this.C.k().width-this.C.k().x)};w.Mi=function(a,b,c,e){b.x=e-c.x-c.width/2+this.C.k().x;b.y=0};w.$r=function(a,b,c,e){return a?b.x+c.width>e:b.x<e};w.Er=function(a,b,c){return a?b.x:b.x+c.width};function yl(a){this.C=a}x.e(yl,xl);yl.prototype.ty=function(a,b){return 0==b.Qb%180?-0.5:0==b.Qb%90?0:1==a||3==a?-b.Se:0};
yl.prototype.sy=function(a,b){return 0==b.Qb%180?0:0==b.Qb%90?-0.5:0==a||2==a?-b.qf:0};yl.prototype.Oe=function(a,b,c,e,f){yl.b.Oe.call(this,a,b,c,e,f);b.y+=this.C.k().ja()+a.Tf();switch(a.ra){case 2:b.y+=(a.rd()-c.height)/2;break;case 1:b.y+=a.rd()-c.height}};yl.prototype.Mi=function(a,b,c,e,f,h){yl.b.Mi.call(this,a,b,c,e,f,h);b.y+=this.C.k().ja()+a.Tf()+f;switch(a.ra){case 2:b.y+=(h-c.height)/2;break;case 1:b.y+=h-c.height}};function zl(a){this.C=a}x.e(zl,xl);
zl.prototype.ty=function(a,b){return 0==b.Qb%180?-0.5:0==b.Qb%90?0:0==a||2==a?-b.Se:0};zl.prototype.sy=function(a,b){return 0==b.Qb%180?0:0==b.Qb%90?-0.5:1==a||3==a?-b.qf:0};zl.prototype.Oe=function(a,b,c,e,f){zl.b.Oe.call(this,a,b,c,e,f);b.y+=this.C.k().y-a.Tf()-c.height;switch(a.ra){case 2:b.y-=(a.rd()-c.height)/2;break;case 1:b.y-=a.rd()-c.height}};
zl.prototype.Mi=function(a,b,c,e,f,h){zl.b.Mi.call(this,a,b,c,e,f,h);b.y+=this.C.k().y-a.Tf()-c.height-f;switch(a.ra){case 2:b.y-=(h-c.height)/2;break;case 1:b.y-=h-c.height}};function Al(a){this.C=a}x.e(Al,wl);w=Al.prototype;w.qg=function(a){return a.width};w.ap=function(a,b,c){var e=this.C.k().height,f=0;return f=c&&0!=c.Qb%90?a.width/c.to<a.height?Number(e*c.qf/a.width):Number(e*c.Se/a.height):c&&0!=c.Qb%180?e/a.width:e/b.height};w.Wr=function(a){return!a};
w.az=function(a,b){return a.width/b.to<a.height};w.ty=u(0);w.sy=u(0);w.Oe=function(a,b,c,e,f){b.y=this.C.k().ja()-f;b.x=0};w.ez=function(a,b,c,e,f,h,j){return a?b.Qr?c.y+h.height>e:c.y+(f?j.width/b.qf:j.height/b.Se)>e:Math.round(c.y)<e};w.ry=function(a,b,c,e,f,h){return a?c.y:c.y+(b.Qr?f.height:e?h.width/b.qf:h.height/b.Se)};
w.EB=function(a,b,c){var e=c,f=b;this.C.n.O().Mb()&&(e=b,f=c);0>e.y&&(a.y+=-e.y,a.height+=e.y);f.y+f.height>this.C.k().y+this.C.k().height&&(a.height-=f.y+f.height-this.C.k().height-this.C.k().y)};w.Mi=function(a,b,c,e){b.y=this.C.k().ja()-e-c.height/2;b.x=0};w.$r=function(a,b,c,e){return a?b.y+c.height>e:b.y<e};w.Er=function(a,b,c){return a?b.y:b.y+c.height};function Bl(a){this.C=a}x.e(Bl,Al);Bl.prototype.vy=function(a,b){return 0==b.Qb%180?0:0==b.Qb%90?-0.5:0==a||2==a?-b.qf:0};
Bl.prototype.uy=function(a,b){return 0==b.Qb%180?-0.5:0==b.Qb%90?0:1==a||3==a?-b.Se:0};Bl.prototype.Oe=function(a,b,c,e,f){Bl.b.Oe.call(this,a,b,c,e,f);b.x+=this.C.k().x-a.Tf()-c.width;switch(a.ra){case 2:b.x-=(a.rd()-c.width)/2;break;case 1:b.x-=a.rd()-c.width}};Bl.prototype.Mi=function(a,b,c,e,f,h){Bl.b.Mi.call(this,a,b,c,e,f,h);b.x+=this.C.k().x-a.Tf()-c.width-f;switch(a.align){case 2:b.x-=(h-c.width)/2;break;case 1:b.x-=h-c.width}};function Cl(a){this.C=a}x.e(Cl,Al);
Cl.prototype.vy=function(a,b){return 0==b.Qb%180?0:0==b.Qb%90?-0.5:1==a||3==a?-b.qf:0};Cl.prototype.uy=function(a,b){return 0==b.Qb%180?-0.5:0==b.Qb%90?0:0==a||2==a?-b.Se:0};Cl.prototype.Oe=function(a,b,c,e,f){Cl.b.Oe.call(this,a,b,c,e,f);b.x+=this.C.k().Ja()+a.Tf();switch(a.align){case 2:b.x+=(a.rd()-c.width)/2;break;case 1:b.x+=a.rd()-c.width}};
Cl.prototype.Mi=function(a,b,c,e,f,h){Cl.b.Mi.call(this,a,b,c,e,f,h);b.x+=this.C.k().Ja()+a.Tf()+f;switch(a.align){case 2:b.x+=(h-c.width)/2;break;case 1:b.x+=h-c.width}};function Dl(a){this.C=a}w=Dl.prototype;w.C=l;w.$f=function(){x.qa()};w.Zf=function(){x.qa()};w.Pj=function(){x.qa()};w.Wv=function(){x.qa()};function El(a,b,c,e,f){if(e==l||e==g)e=i;if(f==l||f==g)f=n;var h=new P,j=new P;a.$f(b,h);a.Zf(c,j);f&&(a=h,h=j,j=a);e=e?T(h.x,h.y):V(h.x,h.y);return e+=V(j.x,j.y)}function Fl(a){this.C=a}x.e(Fl,Dl);Fl.prototype.$f=function(a,b){b.x=a+this.C.k().x;b.y=this.C.k().y};Fl.prototype.Zf=function(a,b){b.x=a+this.C.k().x;b.y=this.C.k().ja()};
Fl.prototype.Pj=function(a,b,c,e,f){f.x=this.C.k().x+a-e.width/2;f.y=0};function Gl(a){this.C=a}x.e(Gl,Dl);Gl.prototype.$f=function(a,b){b.x=this.C.k().x;b.y=this.C.n.O().Ic-a+this.C.k().y};Gl.prototype.Zf=function(a,b){b.x=this.C.k().Ja();b.y=this.C.n.O().Ic-a+this.C.k().y};Gl.prototype.Pj=function(a,b,c,e,f){f.y=this.C.k().ja()-a-e.height/2;f.x=0};function Hl(a){this.C=a}x.e(Hl,Gl);Hl.prototype.Pj=function(a,b,c,e,f){Hl.b.Pj.call(this,a,b,c,e,f);f.x+=this.C.k().pb()-c-e.width-b};
Hl.prototype.Wv=function(a,b,c,e,f,h){var j=this.C.k(),a=new P(j.x,j.ja()-a),b=new P(j.Ja(),j.ja()-b),k=Math.atan2(b.y-a.y,b.x-a.x),j=e*Math.cos(k),e=e*Math.sin(k);switch(c){case 0:h.x=a.x+j;h.y=a.y+e-f.height/2;break;case 1:h.y=(a.y+b.y)/2-f.height/2;h.x=(a.x+b.x)/2-f.width/2;break;case 2:h.x=b.x-j-f.width,h.y=b.y-f.height/2-e}};function Il(a){this.C=a}x.e(Il,Gl);Il.prototype.Pj=function(a,b,c,e,f){Il.b.Pj.call(this,a,b,c,e,f);f.x+=this.C.k().Ja()+c+b};
Il.prototype.Wv=function(a,b,c,e,f,h){var a=new P(this.C.k().Ja(),this.C.k().ja()-a),b=new P(this.C.k().x,this.C.k().ja()-b),j=Math.atan2(b.y-a.y,b.x-a.x),k=e*Math.cos(j),e=e*Math.sin(j);switch(c){case 0:h.x=a.x-k-f.width;h.y=a.y+e-f.height/2;break;case 1:h.y=(a.y+b.y)/2-f.height/2;h.x=(a.x+b.x)/2-f.width/2;break;case 2:h.x=b.x+k,h.y=b.y-f.height/2-e}h.x+=this.C.k().x};Il.prototype.$f=function(a,b){Il.b.Zf.call(this,a,b)};Il.prototype.Zf=function(a,b){Il.b.$f.call(this,a,b)};
function Jl(a){this.C=a}x.e(Jl,Fl);Jl.prototype.Pj=function(a,b,c,e,f){Jl.b.Pj.call(this,a,b,c,e,f);f.y+=this.C.k().lb()-c-e.height-b};Jl.prototype.Wv=function(a,b,c,e,f,h){var j=new P(a,this.C.k().y),b=new P(b,this.C.k().ja()),k=Math.atan2(b.y-j.y,b.x-j.x),m=e*Math.cos(k),e=e*Math.sin(k);switch(c){case 0:h.y=j.y+e;h.x=a+m-f.width/2;break;case 1:h.y=(j.y+b.y)/2-f.height/2;h.x=(j.x+b.x)/2-f.width/2;break;case 2:h.y=b.y-f.height-e,h.x=b.x-f.width/2-m}};function Kl(a){this.C=a}x.e(Kl,Fl);
Kl.prototype.Pj=function(a,b,c,e,f){Kl.b.Pj.call(this,a,b,c,e,f);f.y+=this.C.k().ja()+c+b};Kl.prototype.Wv=function(a,b,c,e,f,h){var j=new P(a,this.C.k().ja()),b=new P(b,this.C.k().y),k=Math.atan2(b.y-j.y,b.x-j.x),m=e*Math.cos(k),e=e*Math.sin(k);switch(c){case 0:h.y=j.y-f.height+e;h.x=a+m-f.width/2;break;case 1:h.y=(j.y+b.y)/2-f.height/2;h.x=(j.x+b.x)/2-f.width/2;break;case 2:h.y=b.y-e,h.x=b.x-f.width/2-m}h.x+=this.C.k().x};Kl.prototype.$f=function(a,b){Kl.b.Zf.call(this,a,b)};
Kl.prototype.Zf=function(a,b){Kl.b.$f.call(this,a,b)};function Ll(){}Ll.wC=function(a){switch(a.qb()){case 0:return new Ml(a);case 1:return new Nl(a);case 2:return new Ol(a);case 3:return new Pl(a)}return l};function Ql(a){this.n=a}w=Ql.prototype;w.j=l;w.k=q("j");w.n=l;w.Rs=l;w.$d=l;w.Ci=l;w.Ss=l;w.xj=l;w.Pn=l;w.kq=p("j");w.vo=function(){x.qa()};w.$D=function(){x.qa()};w.ZD=function(){x.qa()};w.fw=function(){x.qa()};w.dG=function(){x.qa()};w.Li=function(){x.qa()};w.$f=function(){x.qa()};w.Zf=function(){x.qa()};w.rd=function(){x.qa()};
function Rl(a){this.n=a}x.e(Rl,Ql);w=Rl.prototype;w.fw=function(a,b){b.x=this.j.x+a};w.dG=function(a,b){b.x=a};w.kq=function(a){Rl.b.kq.call(this,a);var b=this.n.O(),a=a.width;b.Ac=0;b.Ic=a};w.$f=function(a,b){b.x=a;b.y=this.j.y};w.Zf=function(a,b){b.x=a;b.y=this.j.ja()};w.$D=function(){return this.j.pb()};w.ZD=function(){return this.j.Ja()};w.rd=function(a){return a.height};function Sl(a){this.n=a}x.e(Sl,Ql);w=Sl.prototype;
w.kq=function(a){Sl.b.kq.call(this,a);var b=this.n.O(),a=a.height;b.Ac=0;b.Ic=a};w.fw=function(a,b){b.y=this.j.ja()-a};w.dG=function(a,b){b.y=this.j.height-a};w.$f=function(a,b){b.y=a;b.x=this.j.x};w.Zf=function(a,b){b.y=a;b.x=this.j.Ja()};w.$D=function(){return this.j.y};w.ZD=function(){return this.j.ja()};w.rd=function(a){return a.width};function Ol(a){this.n=a;this.Rs=new Uk(this);this.$d=new al(this);this.Ci=new hl;this.Ss=new ol(this);this.xj=new zl(this);this.Pn=new Jl(this)}x.e(Ol,Rl);
Ol.prototype.vo=function(a,b){a.height-=b;a.y+=b};Ol.prototype.Li=function(a,b,c){c.y=this.j.y-a-b.height;c.x-=b.width/2};function Pl(a){this.n=a;this.Rs=new Tk(this);this.$d=new $k(this);this.Ci=new gl;this.Ss=new nl(this);this.xj=new yl(this);this.Pn=new Kl(this)}x.e(Pl,Rl);Pl.prototype.vo=function(a,b){a.height-=b};Pl.prototype.$f=function(a,b){Rl.prototype.Zf.call(this,a,b)};Pl.prototype.Zf=function(a,b){Rl.prototype.$f.call(this,a,b)};
Pl.prototype.Li=function(a,b,c){c.y=this.j.ja()+a;c.x-=b.width/2};function Ml(a){this.n=a;this.Rs=new Wk(this);this.$d=new cl(this);this.Ci=new jl;this.Ss=new ql(this);this.xj=new Bl(this);this.Pn=new Hl(this)}x.e(Ml,Sl);Ml.prototype.vo=function(a,b){a.width-=b;a.x+=b};Ml.prototype.Li=function(a,b,c){c.x=this.j.x-a-b.width;c.y-=b.height/2};function Nl(a){this.n=a;this.Rs=new Xk(this);this.$d=new dl(this);this.Ci=new kl;this.Ss=new rl(this);this.xj=new Cl(this);this.Pn=new Il(this)}x.e(Nl,Sl);
Nl.prototype.vo=function(a,b){a.width-=b};Nl.prototype.Li=function(a,b,c){c.x=this.j.Ja()+a;c.y-=b.height/2};Nl.prototype.$f=function(a,b){Sl.prototype.Zf.call(this,a,b)};Nl.prototype.Zf=function(a,b){Sl.prototype.$f.call(this,a,b)};function Tl(a,b){ue.call(this,a,b)}x.e(Tl,ue);Tl.prototype.Ca=l;Tl.prototype.Nb=q("Ca");Tl.prototype.f=function(a){L(a,"label")&&(this.Ca=new Ul,this.Ca.f(D(a,"label")));return a};function Vl(a,b){ue.call(this,a,b)}x.e(Vl,Tl);Vl.prototype.Ab=l;Vl.prototype.f=function(a){a=Vl.b.f.call(this,a);this.Ab=new qd;this.Ab.f(a);return a};function Wl(){Z.call(this)}x.e(Wl,Z);Wl.prototype.Ub=function(){return Vl};function Xl(a,b){ue.call(this,b,g)}x.e(Xl,Tl);w=Xl.prototype;w.Fz=l;w.Cz=l;w.Bb=l;w.Cb=q("Bb");
w.Qc=l;w.Fe=q("Qc");w.f=function(a){a=Xl.b.f.call(this,a);L(a,"minimum_line")&&(this.Fz=new qd,this.Fz.f(D(a,"minimum_line")));L(a,"maximum_line")&&(this.Cz=new qd,this.Cz.f(D(a,"maximum_line")));L(a,"fill")&&(this.Bb=new nd,this.Bb.f(D(a,"fill")));L(a,"hatch_fill")&&(this.Qc=new rc,this.Qc.f(D(a,"hatch_fill")));return a};function Yl(){Z.call(this)}x.e(Yl,Z);Yl.prototype.Ub=function(){return Xl};function Zl(a){this.n=a;this.Im=this.BB=this.Gl=i;this.a=new Pd}w=Zl.prototype;w.n=l;w.bh=l;w.F=l;w.Gl=l;w.BB=l;w.Im=l;w.v=l;w.f=function(a,b){B(a,"visible")&&(this.Im=I(a,"visible"));B(a,"display_under_data")&&(this.Gl=I(a,"display_under_data"));B(a,"affects_scale_range")&&(this.BB=I(a,"affects_scale_range"));this.LC(a,b)};w.LC=function(a,b){var c=xe(b,this.Ib(),a,G(a,"style"));this.F=this.Hb();this.F.f(c)};w.Hb=function(){x.qa()};w.Ib=function(){x.qa()};
w.ia=function(a){"{"==a.charAt(0)&&(a=a.substr(1,a.length-2));var b;if(this.n.EE()){b=Number(a);if(!isNaN(b))return b-1;if(this.n.cE(a))return this.n.Ye(a).U}b=this.n.O().kg(a);return!isNaN(b)?b:this.n.Ba(a)};w.ar=function(a){var b=this.n.O();if(isNaN(b.qc)||a<b.qc)b.qc=a;if(isNaN(b.pc)||a>b.pc)b.pc=a};w.p=function(a){this.v=new X(a);this.Gl?this.n.G().Bt.Z(this.v):this.n.G().uo.Z(this.v);var b=this.Nb();b&&b.p(a,this)};w.Nb=function(){return this.F.ta.Nb()};
w.Ba=function(a){return Ud(a,this.n.G())?this.n.G().Ba(a):0==a.indexOf("%Axis")?this.n.Ba(a):this.a.get(a)};w.Aa=function(a){return Ud(a,this.n.G())?this.n.G().Aa(a):0==a.indexOf("%Axis")?this.n.Aa(a):4};w.ga=function(){this.v.clear()};
w.$x=function(a,b,c,e){if(b.tg()){var f=this.n.O().xb(c),e=0;switch(b.qb()){case $l:e=this.n;c=e.Xg?e.Ke+e.Xd:e.Ke+e.nm;e=c+=e.qm;break;case am:e=this.n;c=e.Xg?e.Ke+e.Xd:e.Ke+e.nm;c+=e.qm;e=c+=e.mv;break;case bm:e=this.n,c=e.Xg?e.Ke+e.Xd:e.Ke+e.nm,c=e.B!=l?c+Math.max(e.Nk,cm(e)):c+e.Nk,c+=e.mv,e=c+=e.qm}this.n.C.Pn.Pj(f,b.Y(),e,b.k(),b.Fv);b.ga(a,this.bh.Ra())}else{c=this.n.O().xb(c);e=this.n.O().xb(e);switch(b.qb()){case dm:f=0;break;case em:f=1;break;case fm:f=2}this.n.C.Pn.Wv(c,e,f,b.Y(),b.k(),
b.Fv);b.ga(a,this.v)}};var bm=0,$l=1,am=2,dm=3,em=4,fm=5,gm={AL:bm,xL:$l,zL:am,cP:dm,tO:em,JO:fm};function Ul(){Zl.call(this);this.Eb=new ae;this.Fv=new P;this.uj=i;this.ua=5;this.xa=bm}x.e(Ul,Zl);w=Ul.prototype;w.xa=l;w.qb=q("xa");w.ua=l;w.Y=q("ua");w.Fv=l;w.uj=l;w.tg=q("uj");w.Eb=l;w.jc=l;w.k=function(){return this.Eb.k()};
w.f=function(a){this.Eb.f(a);B(a,"padding")&&(this.ua=J(a,"padding"));B(a,"format")&&(this.jc=new Ld(G(a,"format")));if(B(a,"position"))switch(O(a,"position")){case "beforeaxislabels":this.xa=bm;this.uj=i;break;case "afteraxislabels":this.xa=$l;this.uj=i;break;case "axis":this.xa=am;this.uj=i;break;case "near":this.xa=dm;this.uj=n;break;case "center":this.xa=em;this.uj=n;break;case "far":this.xa=fm,this.uj=n}};w.p=function(a,b){this.Eb.Kb(a,this.jc.ia(b))};
w.ga=function(a,b){var c=this.Eb.Zb(a);c.eb(this.Fv.x,this.Fv.y);b.Z(c)};function hm(a){Zl.call(this,a)}x.e(hm,Zl);w=hm.prototype;w.Ha=l;w.zf=l;w.Td=l;w.OA=l;w.NA=l;w.qq=l;w.f=function(a,b){hm.b.f.call(this,a,b);B(a,"value")&&(this.OA=this.NA=this.qq=G(a,"value"));B(a,"start_value")&&(this.OA=G(a,"start_value"));B(a,"end_value")&&(this.NA=G(a,"end_value"))};w.Hb=function(){return new Wl};w.Ib=u("line_axis_marker_style");
w.p=function(a){this.OA&&(this.zf=this.ia(this.OA));this.NA&&(this.Td=this.ia(this.NA));this.qq&&(this.Ha=this.ia(this.qq));this.BB&&!this.n.EE()&&(isNaN(this.zf)||this.ar(this.zf),isNaN(this.Td)||this.ar(this.Td));hm.b.p.call(this,a)};w.ga=function(a){if(this.Im){hm.b.ga.call(this,a);var b=this.F.ta,c=this.n.O(),e=Y(b.Ab,a),e=e+Vc(),c=El(this.n.C.Pn,c.xb(this.zf),c.xb(this.Td)),f=a.ba();f.setAttribute("d",c);f.setAttribute("style",e);this.v.appendChild(f);b.Nb()&&this.$x(a,b.Nb(),this.zf,this.Td)}};
w.Ba=function(a){"%Value"==a&&!Qd(this.a,a)&&this.a.add(a,(this.zf+this.Td)/2);("%StartValue"==a||"%Start"==a)&&!Qd(this.a,a)&&this.a.add(this.zf);("%EndValue"==a||"%End"==a)&&!Qd(this.a,a)&&this.a.add(this.zf);return hm.b.Ba.call(this,a)};w.Aa=function(a){switch(a){case "%Value":case "%Start":case "%StartValue":case "%End":case "%EndValue":return 2}};function im(a){Zl.call(this,a)}x.e(im,Zl);w=im.prototype;w.K=l;w.V=l;w.Pp=l;w.Op=l;w.Kp=l;w.Jp=l;w.FG=l;w.CG=l;w.EG=l;w.DG=l;w.BG=l;w.AG=l;
w.f=function(a,b){im.b.f.call(this,a,b);B(a,"minimum")&&(this.FG=G(a,"minimum"));B(a,"minimum_start")&&(this.EG=G(a,"minimum_start"));B(a,"minimum_end")&&(this.DG=G(a,"minimum_end"));B(a,"maximum")&&(this.CG=G(a,"maximum"));B(a,"maximum_start")&&(this.BG=G(a,"maximum_start"));B(a,"maximum_end")&&(this.AG=G(a,"maximum_end"))};w.Hb=function(){return new Yl};w.Ib=u("range_axis_marker_style");
w.p=function(a){this.FG&&(this.Pp=this.Op=this.K=this.ia(this.FG));this.EG&&(this.Pp=this.ia(this.EG));this.DG&&(this.Op=this.ia(this.DG));this.CG&&(this.Kp=this.Jp=this.V=this.ia(this.CG));this.BG&&(this.Kp=this.ia(this.BG));this.AG&&(this.Jp=this.ia(this.AG));im.b.p.call(this,a)};
w.ga=function(a){if(this.Im){im.b.ga.call(this,a);var b=this.F.ta,c=this.n.O(),e=this.n.C.Pn,f,h=c.xb(this.Pp),j=c.xb(this.Op),k=c.xb(this.Kp),c=c.xb(this.Jp);f=new R;var m=new P,s=new P,t=new P,v=new P;e.$f(h,m);e.$f(k,t);e.Zf(j,s);e.Zf(c,v);f.x=Math.min(m.x,t.x,s.x,v.x);f.y=Math.min(m.y,t.y,s.y,v.y);f.width=Math.max(m.x,t.x,s.x,v.x)-f.x;f.height=Math.max(m.y,t.y,s.y,v.y)-f.y;h=El(e,h,j,i);j=El(e,k,c,n,i);b.Cb()&&(f=od(b.Cb(),a,f),f+=Wc(),m=a.ba(),m.setAttribute("d",h+j),m.setAttribute("style",f),
this.v.appendChild(m));b.Fz&&(f=Y(b.Fz,a),f+=Vc(),m=a.ba(),m.setAttribute("d",h),m.setAttribute("style",f),this.v.appendChild(m));b.Cz&&(f=Y(b.Cz,a),f+=Vc(),m=a.ba(),m.setAttribute("d",El(e,k,c,i)),m.setAttribute("style",f),this.v.appendChild(m));b.Fe()&&(f=tc(b.Fe(),a),e=a.ba(),e.setAttribute("d",h+j),e.setAttribute("style",f),this.v.appendChild(e));b.Nb()&&this.$x(a,b.Nb(),(this.Pp+this.Kp)/2,(this.Op+this.Jp)/2)}};
w.Ba=function(a){Qd(this.a,a)||("%Value"==a&&this.a.add(a,(this.Pp+this.Op+this.Kp+this.Jp)/4),("%MinValue"==a||"%Min"==a)&&this.a.add(a,(this.Pp+this.Op)/2),("%MaxValue"==a||"%Max"==a)&&this.a.add(a,(this.Kp+this.Jp)/2),("%MinStartValue"==a||"%MinStart"==a)&&this.a.add(a,this.Pp),("%MaxStartValue"==a||"%MaxStart"==a)&&this.a.add(a,this.Kp),("%MinEndValue"==a||"%MinEnd"==a)&&this.a.add(a,this.Op),("%MaxEndValue"==a||"%MaxEnd"==a)&&this.a.add(a,this.Jp));return im.b.Ba.call(this,a)};
w.Aa=function(a){switch(a){case "%Value":case "%MinValue":case "%Min":case "%MaxValue":case "%Max":case "%MinStartValue":case "%MinStart":case "%MaxStartValue":case "%MaxStart":case "%MinEndValue":case "%MinEnd":case "%MaxEndValue":case "%MaxEnd":return 2}return im.b.Aa.call(this,a)};function jm(){this.Xw=this.gx=this.At=0}w=jm.prototype;w.n=l;w.Mj=p("n");w.v=l;w.Ra=q("v");w.WK=p("v");w.Ie=l;w.At=l;w.gx=l;w.Xw=l;
w.f=function(a,b){this.Ie=[];var c,e,f,h,j;if(B(a,"lines")){c=D(a,"lines");if(!B(c,"line"))return;j=km(c);h=F(c,"line");c=0;for(e=h.length;c<e;c++)f=new hm(this.n),f.Gl=j,f.f(h[c],b),f.bh=this,this.Ie.push(f)}if(B(a,"ranges")&&(c=D(a,"ranges"),B(c,"range"))){j=km(c);h=F(c,"range");c=0;for(e=h.length;c<e;c++)f=new im(this.n),f.Gl=j,f.f(h[c],b),f.bh=this,this.Ie.push(f)}};function km(a){return B(a,"display_under_data")?I(a,"display_under_data"):i}
w.p=function(a){for(var b=this.Ie.length,c=0;c<b;c++){var e=this.Ie[c];e.p(a);if((e=e.Nb())&&e.tg()){var f=gm,h=this.n.C.xj;switch(e.qb()){case f.xL:e=h.qg(e.k())+e.Y();this.At=Math.max(e,this.At);break;case f.AL:e=h.qg(e.k())+e.Y();this.Xw=Math.max(e,this.Xw);break;case f.zL:e=h.qg(e.k())+e.Y(),this.gx=Math.max(e,this.gx)}}}};w.ga=function(a){for(var b=this.Ie.length,c=0;c<b;c++)this.Ie[c].ga(a)};function lm(){}w=lm.prototype;w.na=i;w.isEnabled=q("na");w.Gk=i;w.en=i;w.Wb=l;w.qd=q("Wb");w.rg=function(){return this.Wb!=l};w.zh=l;w.Sl=function(){return this.zh!=l};w.nj=l;w.Jr=function(){return this.nj!=l};w.Nh=l;w.zn=function(){return this.Nh!=l};w.Bj=l;w.fp=function(){return this.Bj!=l};
w.f=function(a){B(a,"enabled")&&(this.na=I(a,"enabled"));B(a,"interlaced")&&(this.Gk=I(a,"interlaced"));B(a,"draw_last_line")&&(this.en=I(a,"draw_last_line"));K(D(a,"line"))&&(this.Wb=new qd,this.Wb.f(D(a,"line")));if(this.Gk&&B(a,"interlaced_fills")){a=D(a,"interlaced_fills");if(B(a,"even")){var b=D(a,"even");B(b,"fill")&&K(D(b,"fill"))&&(this.zh=new nd,this.zh.f(D(b,"fill")));B(b,"hatch_fill")&&K(D(b,"hatch_fill"))&&(this.nj=new rc,this.nj.f(D(b,"hatch_fill")))}if(B(a,"odd")&&(a=D(a,"odd"),B(a,
"fill")&&K(D(a,"fill"))&&(this.Nh=new nd,this.Nh.f(D(a,"fill"))),B(a,"hatch_fill")&&K(D(a,"hatch_fill"))))this.Bj=new rc,this.Bj.f(D(a,"hatch_fill"))}};function mm(){this.Ab=new qd;this.Ab.Uq=0}w=mm.prototype;w.Ab=l;w.Cd=10;w.rb=q("Cd");w.mp=n;w.tf=q("mp");w.Qz=i;w.tg=q("Qz");w.xF=n;w.j=l;
w.f=function(a){this.Ab.f(a);B(a,"size")&&(this.Cd=J(a,"size"));B(a,"inside")&&(this.mp=I(a,"inside"));B(a,"outside")&&(this.Qz=I(a,"outside"));B(a,"opposite")&&(this.xF=I(a,"opposite"));!this.mp&&!this.Qz&&!this.xF?this.Ab=l:this.j=new R};
w.ga=function(a,b,c,e,f,h){var j=this.Ab.za(),k,m;this.mp&&(b&&f.Vv(j,c,e,this.Cd,this.j),k=h||Y(this.Ab,a.o(),this.j),k!=l&&0<k.length&&(m=f.tw(a.o(),c,e,this.Cd,this.Ab.za()),m.setAttribute("style",k),a.appendChild(m)));this.Qz&&(b&&f.aw(j,c,e,this.Cd,this.j),k=h||Y(this.Ab,a.o(),this.j),k!=l&&0<k.length&&(m=f.vw(a.o(),c,e,this.Cd,this.Ab.za()),m.setAttribute("style",k),a.appendChild(m)));this.xF&&(b&&x.qa(),k=h||Y(this.Ab,a.o(),this.j),k!=l&&0<k.length&&(m=f.uw(a.o(),c,e,this.Cd,this.Ab.za()),
m.setAttribute("style",k),a.appendChild(m)))};function nm(a,b){ee.apply(this);this.n=a;this.C=b;this.xa=new P;this.C.Ss.lG(this)}x.e(nm,ee);w=nm.prototype;w.Ke=0;w.Tf=q("Ke");w.Li=p("Ke");w.kd=0;w.rd=q("kd");w.xa=l;w.C=l;w.n=l;w.Dh=q("jc");w.f=function(a){var b=this.ob.Qb;nm.b.f.call(this,a);ce(this,-b-this.ob.Qb)};w.p=function(a){this.Kb(a,this.jc.ia(this.n,this.n.Kd()));return this.kd=this.C.xj.qg(this.k())+this.ua};function om(){this.R=[];this.a=new Pd;this.tb();this.xn=new R;this.cL=new ac}w=om.prototype;w.na=i;w.isEnabled=q("na");w.xf=p("na");w.ub=u(0);w.o=function(){return this.D.o()};w.xa=NaN;w.qb=q("xa");w.eb=p("xa");w.Ea=l;w.getName=function(){return this.Wa?this.Wa.Dh().ia(this):this.Ea};w.Oj=p("Ea");w.D=l;w.G=q("D");w.ym=p("D");w.xC=l;w.Vl=l;w.R=l;w.nn=0;w.$A=0;w.kd=0;w.rd=q("kd");w.Xd=0;w.Pr=0;w.nm=0;w.hs=0;w.Nk=0;w.mv=0;w.Ie=l;w.C=l;w.X=l;w.O=q("X");w.wC=function(a){this.C=a.wC(this)};w.Wf=l;
w.GJ=q("Wf");w.EE=u(n);w.Xg=l;w.ua=0;w.Ke=0;w.Li=p("Ke");w.iy=0;w.ed=l;w.fd=l;w.Xf=l;w.uf=l;w.Wb=l;w.Jm=l;w.Wa=l;w.B=l;w.op=n;w.cL=l;w.qm=0;w.Yp=l;w.Kd=function(){return this.D.Kd()};w.kg=function(a){return this.X.kg(a)};w.Jc=function(a){var b=this.X;if(isNaN(b.qc)||a<b.qc)b.qc=a;if(isNaN(b.pc)||a>b.pc)b.pc=a};w.transform=function(a,b,c,e){isNaN(e)&&(e=0);this.C.fw(this.X.kb(b)+e,c)};w.Kf=o();w.jC=o();w.OJ=u(n);
w.f=function(a,b){this.Ke=this.nn=0;this.iy=this.ua=10;B(a,"enabled")&&(this.na=I(a,"enabled"));if(this.na){L(a,"zoom")&&ne("Zoom");var c=D(a,"major_grid");K(c)&&(this.ed=new lm,this.ed.f(c),pm(this,this.ed));c=D(a,"minor_grid");K(c)&&(this.fd=new lm,this.fd.f(c),pm(this,this.fd));this.nm=this.Pr=this.Xd=0;c=D(a,"major_tickmark");if(K(c)&&(this.Xf=new mm,this.Xf.f(c),this.Xf.Ab!=l&&(this.Xf.Ab.be()&&this.C.$d.Ne(this.Xf.Ab.ib),this.Xf.tg()&&(this.Xd+=this.Xf.rb(),this.nm=this.Xf.rb()),this.Xf.tf()&&
!this.Xg)))this.Xd+=this.Xf.rb(),this.Pr=this.Xf.rb();c=D(a,"minor_tickmark");if(K(c)&&(this.uf=new mm,this.uf.f(c),this.uf.Ab!=l))if(this.uf.Ab.be()&&this.C.$d.Ne(this.uf.Ab.ib),c=0,this.uf.tg()&&(c+=this.uf.rb(),this.uf.rb()>this.nm&&(this.nm=this.uf.rb())),this.uf.tf()&&!this.Xg&&(c+=this.uf.rb(),this.uf.rb()>this.Pr&&(this.Pr=this.uf.rb())),c>this.Xd)this.Xd=c;c=D(a,"line");K(c)&&(this.Wb=new qd,this.Wb.f(c),this.Wb.be()&&(this.cF=new R,this.C.$d.Ne(this.Wb.ib)));c=D(a,"zero_line");K(c)&&(this.Jm=
new qd,this.Jm.f(c),this.Jm.be()&&(this.$G=new R,this.C.$d.Ne(this.Jm.ib)));this.nn=this.Xd;this.iy+=this.Pr;this.Xg||(this.nn+=this.ua);c=D(a,"title");K(c)&&(this.Wa=new nm(this,this.C),this.Wa.f(c));c=D(a,"labels");K(c)&&(this.B=this.Ix(c))&&this.B.f(c);L(a,"axis_markers")&&(this.Ie=new jm,this.Ie.Mj(this),this.Ie.f(D(a,"axis_markers"),b),this.Ie.WK(this.Vp));this.kd=this.nn}};function qm(a){return 3==a.X.ub()||2==a.X.ub()}w.Ix=function(){x.qa()};
function pm(a,b){b.Sl()&&b.zh.be()&&a.C.$d.Ne(b.zh.ib);b.zn()&&b.Nh.be()&&a.C.$d.Ne(b.Nh.ib);b.rg()&&b.qd().be()&&a.C.$d.Ne(b.qd().ib)}w.a=l;w.tb=function(){this.a.add("%AxisName","");this.a.add("%AxisValue",0);this.a.add("%AxisMax",-Number.MAX_VALUE);this.a.add("%AxisMin",Number.MAX_VALUE);this.a.add("%AxisBubbleSizeMin",Number.MAX_VALUE);this.a.add("%AxisBubbleSizeMax",-Number.MAX_VALUE)};
w.Ba=function(a){if(("%AxisValue"==a||"%Value"==a)&&this.B)return this.B.gJ();if(Ud(a,this.G()))return this.G().Ba(a);"%AxisScaleMax"==a&&this.a.add("%AxisScaleMax",this.X.V);"%AxisScaleMin"==a&&this.a.add("%AxisScaleMin",this.X.K);Qd(this.a,"%AxisRange")||this.a.add("%AxisRange",this.a.get("%AxisMax")-this.a.get("%AxisMin"));Qd(this.a,"%AxisAverage")||this.a.add("%AxisAverage",this.a.get("%AxisSum")/this.R.length);Qd(this.a,"%AxisMedian")||this.a.add("%AxisMedian",cc(this.R,this.Vl?"%XValue":"%YValue"));
Qd(this.a,"%AxisMode")||this.a.add("%AxisMode",this.cL.qj(this.R,this.Vl?"%XValue":"%YValue"));return this.a.get(a)};w.Aa=function(a){if(qm(this)&&"%Value"==a)return 3;switch(a){default:return 1;case "%Value":case "%AxisValue":case "%AxisSum":case "%AxisMax":case "%AxisMin":case "%AxisRange":case "%AxisScaleMax":case "%AxisScaleMin":case "%AxisAverage":case "%AxisBubbleSizeSum":case "%AxisBubbleSizeMin":case "%AxisBubbleSizeMax":case "%AxisMode":case "%AxisMedian":return 2}};
function rm(a){a.hs=0;a.Nk=0;a.mv=0;a.Ie!=l&&(a.Ie.p(a.D.o()),a.mv=a.Ie.At,a.hs=a.Ie.Xw+a.Ie.At,a.Nk=a.Ie.gx)}function cm(a){return a.B&&!a.B.tf()?a.B.Aw:0}function sm(a,b){a.na&&(a.C.kq(b),a.X.Pc(),a.B&&a.B.XB())}function tm(a,b){a.na&&!a.X.pp&&(a.B?a.C.vo(b,Math.max(cm(a),a.Nk)):a.C.vo(b,a.Nk))}w.Dc=function(a){this.C.kq(a);this.X.Pc();um(this)};w.TK=function(a,b){vm(this,a,b,this.X.mb)};
function vm(a,b,c,e){if(a.na&&a.B!=l){var f=a.B.qy(a.D.o(),0),e=a.B.qy(a.D.o(),e);a.C.kq(c);f&&e&&(f.x>b.width?f=e:e.x>b.width&&(e=f),f.y>b.height?f=e:e.y>b.height&&(e=f),a.C.xj.EB(b,f,e))}}w.yn=function(){return this.B&&this.B.isEnabled()};w.st=function(){return this.B.Yi};function Tg(a){a.B.Dn(a.D.o())}w.ly=l;w.fh=l;w.Vp=l;w.rA=function(a,b,c){this.ly=a;this.Vp=b;this.fh=c};function wm(a,b,c){if(a.X.pp){var b=a.xC.O().kb(H(a.O().Mx)),e=new P;a.xC.C.dG(b,e);b=0!=e.x?e.x:e.y;b=-b+c}return b}
w.cF=l;w.$G=l;function xm(a){if(a.na&&a.Wb!=l){var b=wm(a,a.Ke,0),c=a.C.$D(),e=a.C.ZD();a.Wb.be()&&a.C.$d.Qj(a.Wb.za(),c,e,b,a.cF);var f=Y(a.Wb,a.D.o(),a.cF);f&&(b=a.C.$d.ww(a.ly.o(),c,e,b,a.Wb.za()),b.setAttribute("style",f),a.ly.appendChild(b))}}
w.VC=function(){if(this.na&&!(this.Jm==l||!this.X.contains(0)||0==this.X.K)){var a=this.X.kb(0);this.Jm.be()&&this.C.$d.bw(this.Jm.za(),a,this.$G);var b=Y(this.Jm,this.fh.o(),this.$G);b&&(a=this.C.$d.xw(this.fh.o(),a,this.Jm.za()),a.setAttribute("style",b),this.fh.appendChild(a))}};function um(a){a.na&&a.Wa&&(a.Wa.p(a.fh.o()),a.$A=a.Wa.rd())}
w.by=function(){if(this.na&&this.Wa){var a=this.Xg?this.Xd:this.nm,b=this.Ke;this.B&&this.B.isEnabled()?a+=Math.max(this.Nk,cm(this)):b+=this.Nk;b+=this.qm+this.hs;this.Wa.Li(wm(this,b+a,a));a=this.Wa;b=this.ly;a.C.Ss.Rj(a,a.xa);var c=a.Zb(b.o());c.eb(a.xa.x,a.xa.y);b.Z(c)}};w.To=function(){if(this.na&&this.B!=l){if(this.B.tf())this.B.Li(this.Ke-this.Pr-2*this.B.Y()-this.B.Aw);else{var a=this.Xg?this.Xd:this.nm,b=this.Ke,a=a+this.B.Y(),b=b+this.qm,b=b+this.mv;this.B.Li(wm(this,b+a,a))}this.B.To(this.Vp)}};
function ym(a){a.na&&(a.uf!=l&&a.uf.Ab!=l&&a.UC(),a.Xf!=l&&a.Xf.Ab!=l&&a.TC())}w.TC=function(){var a=this.Xf.Ab.be(),b=l;a||(b=Y(this.Xf.Ab,this.Vp.o()));var c=wm(this,this.Ke,0),e=this.X.mb,f=0;this.op&&(e--,f=0.5);for(var h=0;h<=e;h++){var j=this.X.bb(h)+f;j>=this.X.K&&j<=this.X.V&&this.Xf.ga(this.Vp,a,this.X.xb(j),c,this.C.Rs,b)}};
w.UC=function(){var a=this.uf.Ab.be(),b=l;a||(b=Y(this.uf.Ab,this.Vp.o()));var c=wm(this,this.Ke,0),e=0;this.op&&(e=0.5);var f=this.O().mb-1,h=n;this.O().bb(f)<this.O().V&&(f++,h=i);for(var j=this.O().hf,k=0;k<=f;k++)for(var m=this.O().bb(k),s=1;s<j;s++)if(!(0!=e&&k+1==this.X.mb&&s==this.X.hf)){var t=this.O().og(m,s)+e;if(h&&!this.X.fs(t))break;this.uf.ga(this.Vp,a,this.X.xb(t),c,this.C.Rs,b)}};
function zm(a){if(a.na&&a.ed&&a.ed.rg()){var b=a.ed.qd().be(),c=l;b||(c=Y(a.ed.qd(),a.fh.o()));var e=a.X.mb,f=0;a.op&&(e--,f=0.5);for(var h=0;h<=e;h++){var j=a.X.xb(a.X.bb(h)+f);b&&(a.C.$d.bw(a.ed.qd().za(),j,a.xn),c=Y(a.ed.qd(),a.fh.o(),a.xn));c&&(j=a.C.$d.xw(a.fh.o(),j,a.ed.qd().za()),j.setAttribute("style",c),a.fh.appendChild(j))}}}
function Am(a){if(a.na&&a.fd&&a.fd.rg()){var b=a.fd.qd().be(),c=l;b||(c=Y(a.fd.qd(),a.fh.o()));var e=a.X.mb-1,f=n;a.X.bb(e)<a.O().V&&(e++,f=i);var h=0;a.op&&(h=0.5);for(var j=0;j<=e;j++)for(var k=a.X.bb(j),m=1;m<a.X.hf;m++)if(!(0!=h&&j+1==a.X.mb&&m==a.X.hf)){var s=a.X.og(k,m)+h;if(f&&!a.X.fs(s))break;s=a.X.xb(s);b&&(a.C.$d.bw(a.fd.qd().za(),s,a.xn),c=c=Y(a.fd.qd(),a.fh.o(),a.xn));c&&(s=a.C.$d.xw(a.fh.o(),s,a.fd.qd().za()),s.setAttribute("style",c),a.fh.appendChild(s))}}}
function Bm(a){if(a.na){var b,c;if(a.fd!=l&&(b=a.fd.Sl()!=l||a.fd.Jr()!=l,c=a.fd.zn()!=l||a.fd.fp()!=l,b||c)){var e=n,f=0;a.op&&(f=0.5);for(var h=0;h<a.X.mb;h++)for(var j=a.X.bb(h),k=0;k<a.X.hf;k++)if(!(0!=f&&h+1==a.X.mb&&k==a.X.hf)){if(e&&c||!e&&b){var m=a.X.og(j,k)+f,s=a.X.og(j,k+1)+f;Cm(a,m,s,a.fd,e)}e=!e}}if(a.ed!=l&&(b=a.ed.Sl()!=l||a.ed.Jr()!=l,c=a.ed.zn()!=l||a.ed.fp()!=l,b||c)){e=n;f=a.X.mb;h=0;a.op&&(f--,h=0.5);for(j=0;j<f;j++){if(e&&c||!e&&b)k=a.X.bb(j)+h,m=a.X.bb(j+1)+h,Cm(a,k,m,a.ed,e);
e=!e}}}}function Cm(a,b,c,e,f){b=a.X.xb(b);c=a.X.xb(c);a.C.$d.iG(b,c,a.xn);f?(b=e.Nh,e=e.Bj):(b=e.zh,e=e.nj);c=a.fh;f=l;if(b!=l&&(f=od(b,c.o(),a.xn)))b=a.C.$d.RA(c.o(),a.xn),b.setAttribute("style",f),c.appendChild(b);if(e!=l&&(f=tc(e,c.o())))b=a.C.$d.RA(c.o(),a.xn),b.setAttribute("style",f),c.appendChild(b)}
w.Va=function(a){if(a==g||a==l)a={};a.Key=this.Ea;a.Name=this.a.get("%AxisName");a.Sum=this.a.get("%AxisSum");a.Max=this.a.get("%AxisMax");a.Min=this.a.get("%AxisMin");a.BubbleSizeMax=this.a.get("%AxisBubbleMax");a.BubbleSizeMin=this.a.get("%AxisBubbleMin");a.BubbleSizeSum=this.a.get("%AxisBubbleSum");a.Average=this.a.get("%AxisAverage");a.Median=this.a.get("%AxisMedian");a.Mode=this.a.get("%AxisMode");return a};function Dm(){om.apply(this)}x.e(Dm,om);Dm.prototype.ub=u(1);Dm.prototype.OJ=u(i);
Dm.prototype.VH=function(a){switch(Jb(D(a,"type"))){default:case "linear":a=new Sg(this);break;case "logarithmic":a=new Wg(this);break;case "datetime":a=new Yg(this)}return a};Dm.prototype.Ix=function(a){return B(a,"display_mode")&&"stager"==N(a,"display_mode")?new vl(this,this.C.xj):new sl(this,this.C.xj)};function Em(a){this.D=a;this.R=[];this.zd()}w=Em.prototype;w.Ea=l;w.Oj=p("Ea");w.getName=q("Ea");w.U=NaN;w.ho=p("U");w.La=0;w.D=l;w.G=q("D");w.R=l;w.nd=function(a){a.$q(this);this.yH();this.R.push(a)};w.a=l;w.zd=function(){this.a=new Pd;this.tb()};
w.tb=function(){this.a.add("%CategoryName","");this.a.add("%Name","");this.a.add("%CategoryIndex","");this.a.add("%CategoryPointCount",0);this.a.add("%CategoryYSum",0);this.a.add("%CategoryYMax",0);this.a.add("%CategoryYMin",0);this.a.add("%CategoryYRangeMax",-Number.MAX_VALUE);this.a.add("%CategoryYRangeMin",Number.MAX_VALUE);this.a.add("%CategoryYRangeSum",0);this.a.add("%CategoryYPercentOfTotal",0);this.a.add("%CategoryYAverage",0)};
w.Aa=function(a){if(Ud(a,this.G()))return this.G().Aa(a);switch(a){case "%CategoryPointCount":case "%CategoryYSum":case "%CategoryYMax":case "%CategoryYMin":case "%CategoryYRangeMax":case "%CategoryYRangeMin":case "%CategoryYRangeSum":case "%CategoryYPercentOfTotal":case "%CategoryYAverage":return 2;default:case "%CategoryName":case "%Name":return 1}};w.yH=function(){this.a.add("%CategoryName",this.Ea);this.a.add("%Name",this.Ea);this.a.add("%CategoryIndex",this.U)};
w.Ba=function(a){if(Ud(a,this.G()))return this.G().a.get(a);Qd(this.a,"%CategoryYPercentOfTotal")||this.a.add("%CategoryYPercentOfTotal",100*(this.a.get("%CategoryYSum")/this.G().Ba("%DataPlotYSum")));Qd(this.a,"%CategoryYAverage")||this.a.add("%CategoryYAverage",this.a.get("%CategoryYSum")/this.a.get("%CategoryPointCount"));return this.a.get(a)};
w.Va=function(a){if(a==l||a==g)a={};a.Name=this.Ea;a.XSum=this.a.get("%CategoryXSum");a.YSum=this.a.get("%CategoryYSum");a.BubbleSizeSum=this.a.get("%CategoryBubbleSizeSum");a.YRangeMax=this.a.get("%CategoryRangeMax");a.YRangeMin=this.a.get("%CategoryRangeMin");a.YRangeSum=this.a.get("%CategoryRangeSum");a.YPercentOfTotal=this.a.get("%CategoryYPercentOfTotal");a.YMedian=this.a.get("%CategoryYMedian");a.YMode=this.a.get("%CategoryYMode");a.YAverage=this.a.get("%CategoryYAverage");return a};
w.Eg=function(){for(var a=this.R.length,b=0;b<a;b++)this.R[b].Eg()};w.Fg=function(){for(var a=this.R.length,b=0;b<a;b++)this.R[b].Fg()};function Fm(a){Em.call(this,a)}x.e(Fm,Em);Fm.prototype.n=l;Fm.prototype.Mj=p("n");function Gm(){this.ex={}}w=Gm.prototype;w.cp=NaN;w.SK=p("cp");w.Zp=NaN;w.UK=p("Zp");w.Rp=0;w.gG=p("Rp");w.ex=l;w.Rt=NaN;w.BH=NaN;w.Pc=function(a){this.BH=a;this.Rt=a/(this.cp+this.Rp+this.Zp*(this.Rp-1))};w.Tf=function(a){return this.Rt*(a*(1+this.Zp)+0.5+this.cp/2)-this.BH/2};
w.SL=function(a){var b=this.Rp;if(1!=a.ub()||0==a.O().qj())return this.Rp++,b;if(this.ex[a.getName()]!=l)return this.ex[a.getName()];this.ex[a.getName()]=b;this.Rp++;return b};function Hm(a){this.Yu=a;this.Cg=[];this.yg=[];this.R=[]}w=Hm.prototype;w.Yu=n;w.Ph=0;w.Lh=0;w.Cg=l;w.yg=l;w.R=l;w.Iu=function(a){return 0>a?this.Lh:this.Ph};
w.md=function(a,b){var c=i;if(0==b&&0<this.R.length){for(var c=this.R.length-1,e=this.R[c];0==e.vb&&0<c;)c--,e=this.R[c];c=0<=e.vb}this.R.push(a);e=0<b;0==b&&(e=c);if(e)return 0<this.Cg.length&&a.cw(this.Cg[this.Cg.length-1]),this.Cg.push(a),this.Ph+=b;0<this.yg.length&&a.cw(this.yg[this.yg.length-1]);this.yg.push(a);return this.Lh+=b};w.hG=function(){var a;for(a=0;a<this.Cg.length;a++)this.Cg[a].Hs(this.Ph);for(a=0;a<this.yg.length;a++)this.yg[a].Hs(this.Lh)};
w.UD=function(a){return this.Yu?100:0<a?this.Ph:this.Lh};function Im(a,b,c,e,f){Em.call(this,a);this.U=b;this.Ea=c;this.Vl=e;this.n=f;this.yf={};this.Fj=[]}x.e(Im,Fm);w=Im.prototype;w.Vl=i;w.ne=l;w.pA=p("ne");w.yf=l;w.Fj=l;w.fx=l;w.yo=l;w.yt=l;w.Ch=function(a,b,c){this.yf[a]==l&&(this.yf[a]={});this.yf[a][b]==l&&(this.yf[a][b]=new Hm(c),c&&this.Fj.push(this.yf[a][b]));return this.yf[a][b]};w.Kf=function(){for(var a=0;a<this.Fj.length;a++)this.Fj[a].hG()};function Jm(){om.call(this);this.rf=[];this.Qf={};this.Qt=[]}x.e(Jm,om);w=Jm.prototype;w.Qf=l;w.rf=l;w.Qt=l;w.EE=u(i);w.VC=o();w.Kf=function(){for(var a=0;a<this.rf.length;a++)this.rf[a].Kf()};w.Dc=function(a){Jm.b.Dc.call(this,a);for(var a=this.X.kb(this.X.K+1)-this.X.kb(this.X.K),b=0;b<this.Qt.length;b++)this.Qt[b].Pc(a)};w.Ix=u(l);w.TK=function(a,b){vm(this,a,b,this.X.mb-1)};w.vr=function(a){return this.rf[a]};w.Ye=function(a,b){return!this.cE(a)?Km(this,a,b):this.Qf[a]};
w.cE=function(a){return this.Qf[a]!=g};w.HK=function(a){this.D.er.push(a)};w.f=function(a,b){Jm.b.f.call(this,a,b);B(a,"tickmarks_placement")&&(this.op="center"==O(a,"tickmarks_placement"))};function Km(a,b,c){var e=new Im(a.D,a.rf.length,b,a.Vl,a);a.Vl?(a.D.vL.push(e),a.HK(e)):a.D.wL.push(e);if(a.B!=l){var f=a.B;f.xq=e;var h=f.jc.ia(f.n,f.n.Kd());f.xq.fx=h;f.Kb(c,f.xq.fx);c=f.j.la();f.xq.yo=c;c=f.Vd.la();f.xq.yt=c;f.xq=l}a.Jc(e.U);a.rf.push(e);return a.Qf[b]=e}
w.Ix=function(a){return B(a,"display_mode")&&"stager"==N(a,"display_mode")?new Lm(this,this.C.xj):new Mm(this,this.C.xj)};w.VH=function(a){return!a||!B(a,"type")||"datetime"!=O(a,"type")?new Ug(this):new Vg(this)};function Nm(){Jm.call(this);this.nC={}}x.e(Nm,Jm);Nm.prototype.nC={};Nm.prototype.ub=u(2);Nm.prototype.jC=function(a){if(a.Fn()){var b=this.nC[a.ok];b==l&&(b=new Gm,b.SK(a.Db().cp),b.UK(a.Db().Zp),this.nC[a.ok]=b,this.Qt.push(b));a.pA(b);a.GH()?(a.Ko=0,b.gG(1)):(b=b.SL(a.Xa),a.Ko=b)}};
Nm.prototype.transform=function(a,b,c,e){a.l.Fn()?(isNaN(e)&&(e=0),b=this.X.kb(b)+e,a=a.l,b+=a.ne.Tf(a.Ko),this.C.fw(b,c)):Nm.b.transform.call(this,a,b,c,e)};function Om(){Jm.call(this)}x.e(Om,Jm);Om.prototype.ub=u(3);Om.prototype.jC=function(a,b){var c=Km(this,a.getName(),b);a.Yb=c;var e=new Gm;e.SK(a.Db().cp);e.UK(a.Db().Zp);c.pA(e);c=a.Xa;1==c.ub()&&0!=c.O().qj()&&(a.LJ=i,e.gG(1));this.Qt.push(e)};
Om.prototype.transform=function(a,b,c,e){isNaN(e)&&(e=0);b=this.X.kb(b)+e;b+=a.Ye().ne.Tf(a.Ko);this.C.fw(b,c)};Om.prototype.HK=o();function Mm(a,b){sl.call(this,a,b)}x.e(Mm,sl);w=Mm.prototype;w.xq=l;w.gJ=function(){return this.n.O().KI(this.xq)};w.Dn=function(){this.fm=new R;this.Nd=new R;for(var a=this.n.O(),b=a.mb,c=0;c<=b;c++){var e=this.n.vr(a.bb(c)+0.5);if(e){var f=e.yo,e=e.yt;f.width>this.Nd.width&&(this.Nd.width=f.width,this.fm.width=e.width);f.height>this.Nd.height&&(this.Nd.height=f.height,this.fm.height=e.height)}}};
w.To=function(a){var b=new P,c=this.C.C.n.O(),e=!this.Yi,f=e&&this.C.Wr(c.Mb()),h=f?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY,j;this.ob.Qr||(j=this.C.az(this.fm,this.ob));for(var k=0;k<c.mb;k++){var m=c.bb(k),s=this.n.vr(m+0.5);if(s){var t=s.yo,v=s.yt;this.C.Oe(this,b,t,v,c.xb(m+0.5));if(e){if(this.C.ez(f,this.ob,b,h,j,t,v))continue;h=this.C.ry(f,this.ob,b,j,t,v)}ul(this,b,t,v,this.ob);this.Kb(a.o(),s.fx);m=this.Zb(a.o());m.eb(b.x,b.y);a.Z(m)}}};
w.qy=function(a,b){var c=new P,e=this.n.O().bb(b)+0.5,f=this.n.vr(e);if(!f)return l;this.C.Oe(this,c,f.yo,f.yt,this.n.O().xb(e));ul(this,c,f.yo,f.yt,this.ob);e=f.yo.la();e.x=c.x;e.y=c.y;return e};function Lm(a,b){sl.call(this,a,b)}x.e(Lm,Mm);w=Lm.prototype;w.Dn=function(){this.Nd=new R;this.mi=new R;for(var a=this.n.O(),b=a.mb,c=0;c<=b;c++){var e=this.n.vr(a.bb(c)+0.5);if(e){var e=e.yo,f=0==c%2?this.Nd:this.mi;e.width>f.width&&(f.width=e.width);e.height>f.height&&(f.height=e.height)}}};
w.Et=function(a){this.Dn(a);var a=this.C.ap(this.Nd,this.Nd,this.ob),b=this.C.ap(this.mi,this.mi,this.ob),a=Math.ceil(a+b);return 1>a?1:a};w.XB=function(){this.kd=this.C.qg(this.Nd)+this.C.qg(this.mi)+this.ua;this.Aw=this.kd+this.ua};w.f=function(a){Lm.b.f.call(this,a);ce(this,0)};
w.To=function(a){for(var b=new P,c=!this.Yi,e=this.n.O(),f=c&&this.C.Wr(e.Mb()),h=f?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY,j=h,k=this.C.qg(this.Nd),m=this.C.qg(this.mi),s,t,v,y=0;y<e.mb;y++){var C=e.bb(y),M=this.n.vr(C+0.5);if(M){(v=0==y%2)?(t=k,s=0):(t=m,s=k);var ea=this.j;this.C.Mi(this,b,ea,e.xb(C+0.5),s,t);if(c)if(v){if(this.C.$r(f,b,ea,h))continue;h=this.C.Er(f,b,ea)}else{if(this.C.$r(f,b,ea,j))continue;j=this.C.Er(f,b,ea)}this.Kb(a.o(),M.fx);s=this.Zb(a.o());s.eb(b.x,b.y);a.Z(s)}}};function Pm(a){switch(a){case "cylinder":return 1;case "pyramid":return 2;case "cone":return 3;default:return 0}}function Qm(a,b){ue.call(this,a,b)}x.e(Qm,mf);Qm.prototype.Mo=l;Qm.prototype.f=function(a){a=Qm.b.f.call(this,a);B(a,"corners")&&(this.Mo=new ld,this.Mo.f(D(a,"corners")))};function Rm(a,b){ue.call(this,a,b)}x.e(Rm,mf);Rm.prototype.f=function(a){var a=Rm.b.f.call(this,a),b=D(a,"fill");this.Po(D(D(a,"fill"),"color"),B(b,"opacity")?D(b,"opacity"):1)};
Rm.prototype.Po=function(a,b){var c={},e={},f=[],h={},j={},k={};h.position="0";h.opacity=b;h.color="DarkColor("+a+")";f.push(h);j.position=0.41;j.opacity=b;j.color="LightColor("+a+")";f.push(j);k.position=1;k.opacity=b;k.color="DarkColor("+a+")";f.push(k);e.type="linear";e.key=f;e.angle=90;c.enabled=i;c.type="gradient";c.gradient=e;this.Bb=new nd;this.Bb.f(c);this.Ab=new qd;this.Ab.f(c)};function Sm(a,b){ue.call(this,a,b)}x.e(Sm,mf);
Sm.prototype.f=function(a){var a=Sm.b.f.call(this,a),b=D(a,"fill");this.Po(D(D(a,"fill"),"color"),B(b,"opacity")?D(b,"opacity"):1)};
Sm.prototype.Po=function(a,b){var c={},e={},f=[],h={},j={},k={};h.position="0";h.opacity=b;h.color="DarkColor("+a+")";f.push(h);j.position=0.41;j.opacity=b;j.color="LightColor("+a+")";f.push(j);k.position=1;k.opacity=b;k.color="DarkColor("+a+")";f.push(k);e.type="linear";e.key=f;e.angle="0";c.enabled=i;c.type="gradient";c.gradient=e;this.Bb=new nd;this.Bb.f(c);this.Ab=new qd;this.Ab.f(c)};function Tm(){this.I=new P;this.S=new P}x.e(Tm,lf);w=Tm.prototype;w.I=l;w.S=l;w.NJ=l;w.zf=l;w.Td=l;
w.$c=function(){var a=this.g.l;this.zf=isNaN(this.g.Ig)?a.ml:this.g.Ig;this.Td=this.g.vb;var b=this.g.Db().xD(this.g)/2,c;if(c=this.g.Ye()!=l){c=this.g.Ye();var e=a.Xa.getName();c=c.yf&&c.yf[e]&&c.yf[e][a.ub()]}this.NJ=c;a.Sb.transform(this.g,this.g.hb(),this.I,-b);a.Xa.transform(this.g,this.zf,this.I);a.Sb.transform(this.g,this.g.hb(),this.S,b);a.Xa.transform(this.g,this.Td,this.S);this.g.k().x=Math.min(this.I.x,this.S.x);this.g.k().y=Math.min(this.I.y,this.S.y);this.g.k().width=Math.max(this.I.x,
this.S.x)-this.g.k().x;this.g.k().height=Math.max(this.I.y,this.S.y)-this.g.k().y};w.sr=function(){x.qa()};function Um(){}x.e(Um,jf);Um.prototype.Ga=function(){var a=this.g.k();this.q.setAttribute("d",Pc(a))};function Vm(){}x.e(Vm,kf);Vm.prototype.Ga=function(){var a=this.g.k();this.q.setAttribute("d",Pc(a))};function Wm(){Tm.call(this)}x.e(Wm,Tm);Wm.prototype.Lc=function(){var a=this.g.ea();a.im()&&(this.gb=new Um,this.gb.p(this.g,this));a.Jh()&&(this.jb=new Vm,this.jb.p(this.g,this))};
Wm.prototype.update=function(a,b){b===i&&this.$c();Wm.b.update.call(this,a,b)};Wm.prototype.createElement=function(){return this.g.o().ba()};
Wm.prototype.Lf=function(a,b){if(this.I.x>this.S.x){var c=this.I.x;this.I.x=this.S.x;this.S.x=c}0>this.I.y&&(this.I.y=0);this.I.y>this.S.y&&(c=this.I.y,this.I.y=this.S.y,this.S.y=c);switch(b){case 0:a.x=(this.I.x+this.S.x)/2;a.y=(this.I.y+this.S.y)/2;break;case 1:a.x=this.I.x;a.y=(this.I.y+this.S.y)/2;break;case 5:a.x=this.S.x;a.y=(this.I.y+this.S.y)/2;break;case 7:a.x=(this.I.x+this.S.x)/2;a.y=this.S.y;break;case 3:a.x=(this.I.x+this.S.x)/2;a.y=this.I.y;break;case 2:a.x=this.I.x;a.y=this.I.y;break;
case 4:a.x=this.S.x;a.y=this.I.y;break;case 8:a.x=this.I.x;a.y=this.S.y;break;case 6:a.x=this.S.x,a.y=this.S.y}};function Xm(){}x.e(Xm,jf);Xm.prototype.Ga=function(){this.q.setAttribute("d",this.Oa.Tg(this.g.o()))};function Ym(){}x.e(Ym,kf);Ym.prototype.Ga=function(){this.q.setAttribute("d",this.Oa.Tg(this.g.o()))};function Zm(){Tm.call(this);this.fa=new P;this.ka=new P}x.e(Zm,Tm);w=Zm.prototype;w.fa=l;w.ka=l;
w.Lc=function(){var a=this.g.ea();a.im()&&(this.gb=new Xm,this.gb.p(this.g,this));a.Jh()&&(this.jb=new Ym,this.jb.p(this.g,this))};w.$c=function(){Zm.b.$c.call(this);this.NJ?this.sE(this.Mb(),this.g.k(),this.zf,this.Td):this.rE(this.Mb(),this.g.k())};w.update=function(a,b){b===i&&this.$c();Zm.b.update.call(this,a,b)};w.createElement=function(){return this.g.o().ba()};
w.Tg=function(){var a=T(this.ka.x,this.ka.y),a=a+V(this.I.x,this.I.y),a=a+V(this.fa.x,this.fa.y),a=a+V(this.S.x,this.S.y);return a+" Z"};w.rE=function(){x.qa()};w.sE=function(){x.qa()};w.Mb=u(n);
w.Lf=function(a,b){switch(b){case 0:a.x=(this.I.x+this.fa.x+this.S.x+this.ka.x)/4;a.y=(this.I.y+this.fa.y+this.S.y+this.ka.y)/4;break;case 1:a.x=(this.I.x+this.ka.x)/2;a.y=(this.I.y+this.fa.y+this.S.y+this.ka.y)/4;break;case 5:a.x=(this.fa.x+this.S.x)/2;a.y=(this.I.y+this.fa.y+this.S.y+this.ka.y)/4;break;case 7:a.x=(this.I.x+this.fa.x+this.S.x+this.ka.x)/4;a.y=(this.S.y+this.ka.y)/2;break;case 3:a.x=(this.I.x+this.fa.x+this.S.x+this.ka.x)/4;a.y=(this.I.y+this.fa.y)/2;break;case 2:a.x=this.I.x;a.y=
this.I.y;break;case 4:a.x=this.fa.x;a.y=this.fa.y;break;case 8:a.x=this.ka.x;a.y=this.ka.y;break;case 6:a.x=this.S.x,a.y=this.S.y}};function $m(){Zm.call(this)}x.e($m,Zm);$m.prototype.CD=function(){return this.I.x>this.S.x};$m.prototype.rE=function(a,b){this.fa.x=this.S.x=b.Ja();this.S.y=a?b.ja():b.y+b.height/2;this.fa.y=a?b.lb():b.y+b.height/2;this.I.x=this.ka.x=b.pb();this.ka.y=!a?b.ja():b.y+b.height/2;this.I.y=!a?b.lb():b.y+b.height/2};
$m.prototype.sE=function(a,b,c,e){var f=this.g.l,f=this.g.Ye().Ch(f.Xa.getName(),f.ub(),2==f.Xa.O().xg).UD(this.g.$a()),c=b.height*(f-c)/f,e=b.height*(f-e)/f;this.S.x=this.fa.x=b.Ja();this.ka.x=this.I.x=b.pb();this.fa.y=b.y+(!a?(b.height-e)/2:(b.height-c)/2);this.S.y=b.y+(!a?(b.height+e)/2:(b.height+c)/2);this.I.y=b.y+(a?(b.height-e)/2:(b.height-c)/2);this.ka.y=b.y+(a?(b.height+e)/2:(b.height+c)/2)};function an(){Zm.call(this)}x.e(an,Zm);an.prototype.CD=function(){return this.I.y<this.S.y};
an.prototype.rE=function(a,b){this.fa.y=this.I.y=b.lb();this.S.y=this.ka.y=b.ja();this.fa.x=a?b.Ja():b.x+b.width/2;this.I.x=a?b.pb():b.x+b.width/2;this.ka.x=a?b.x+b.width/2:b.pb();this.S.x=a?b.x+b.width/2:b.Ja()};
an.prototype.sE=function(a,b,c,e){var f=this.g.l,f=this.g.Ye().Ch(f.Xa.getName(),f.ub(),2==f.Xa.O().xg).UD(this.g.$a()),c=b.width*(f-c)/f,e=b.width*(f-e)/f;this.ka.y=this.S.y=b.ja();this.I.y=this.fa.y=b.lb();this.S.x=b.x+(!a?(b.width+c)/2:(b.width+e)/2);this.ka.x=b.x+(!a?(b.width-c)/2:(b.width-e)/2);this.fa.x=b.x+(a?(b.width+c)/2:(b.width+e)/2);this.I.x=b.x+(a?(b.width-c)/2:(b.width-e)/2)};function bn(){Z.call(this)}x.e(bn,nf);bn.prototype.Ub=function(){return Qm};function cn(){Z.call(this)}
x.e(cn,bn);cn.prototype.Ub=function(){return Rm};function dn(){Z.call(this)}x.e(dn,bn);dn.prototype.Ub=function(){return Sm};bn.prototype.dc=function(a){switch(a.Ol()){default:case 0:return new Wm;case 2:case 3:return a.l.G().Hf()?new $m:new an;case 1:return new Wm}};function en(){Tm.call(this)}x.e(en,Wm);en.prototype.createElement=function(){return this.g.o().ba()};en.prototype.$c=function(){this.g.$c()};en.prototype.update=function(a,b){b===i&&this.$c();en.b.update.call(this,a,b)};
function fn(){Z.call(this)}x.e(fn,nf);fn.prototype.Ub=function(){return Qm};fn.prototype.dc=function(){return new en};function gn(a){this.J=a;this.vj=n}gn.prototype.J=l;gn.prototype.vj=l;function hn(a){gn.call(this,a)}x.e(hn,gn);hn.prototype.WG=l;hn.prototype.pL=l;hn.prototype.f=function(a){if(this.vj=B(a,"url")){this.WG=new Ld(G(a,"url"));var b="_blank";B(a,"target")&&(b=G(a,"target"));B(a,"url_target")&&(b=G(a,"url_target"));this.pL=new Ld(b)}};hn.prototype.execute=function(a){switch(this.pL.ia(a)){default:case "_blank":window.open(this.WG.ia(a));break;case "_self":window.location.href=this.WG.ia(a)}return n};
function jn(a){gn.call(this,a)}x.e(jn,gn);jn.prototype.HI=l;jn.prototype.ax=l;jn.prototype.f=function(a){B(a,"function")&&(this.vj=i,this.HI=new Ld(D(a,"function")));if(this.vj&&B(a,"arg")){this.ax=[];for(var a=F(a,"arg"),b=a.length,c=0;c<b;c++)this.ax.push(new Ld(Rb(a[c])?a[c]:D(a[c],"value")))}};jn.prototype.execute=function(a){var b=this.HI.ia(a),c,e=this.ax.length,f="";for(c=0;c<e;c++)f+='"'+this.ax[c].ia(a)+'"',1<e&&c!=e-1&&(f+=", ");eval(b+".call(null,"+f+");");return n};
function kn(a){gn.call(this,a)}x.e(kn,gn);kn.prototype.jw=l;kn.prototype.Ij=l;kn.prototype.vG=l;kn.prototype.f=function(a){if(this.vj=B(a,"source")&&B(a,"source_mode")){var b;a:switch(O(a,"source_mode")){case "externaldata":b=0;break a;case "internaldata":b=1;break a;default:b=l}this.vG=b;this.jw=new Ld(G(a,"source"));if(B(a,"replace")){a=F(a,"replace");b=a.length;this.Ij=[];for(var c=0;c<b;c++){var e=a[c];this.Ij.push([G(e,"token"),new Ld(G(e,"value"))])}}}};
function ln(a,b){if(!a.Ij)return l;for(var c=[],e=a.Ij.length,f=0;f<e;f++)c.push([a.Ij[f][0],a.Ij[f][1].ia(b)]);return c}function mn(a){gn.call(this,a)}x.e(mn,kn);mn.prototype.execute=function(a){if(0==this.vG)this.J.Pi(this.jw.ia(a),ln(this,a),n);else{var b=this.J,c=this.jw.ia(a),a=ln(this,a);b.Ij=a?a:l;b.vv=n;b.Zk(b.Xq[c])}return n};function nn(a){gn.call(this,a)}x.e(nn,kn);nn.prototype.sL=l;
nn.prototype.f=function(a){nn.b.f.call(this,a);if(this.vj=this.vj&&(B(a,"view")||B(a,"view_id")))this.sL=new Ld(B(a,"view_id")?G(a,"view_id"):G(a,"view"))};nn.prototype.execute=function(a){var b=this.sL.ia(a);if(0==this.vG)this.J.oq(b,this.jw.ia(a),ln(this,a));else{var c=this.J,e=this.jw.ia(a),a=ln(this,a),e=c.Xq[e],b=on(c,b);e&&b&&(a&&(e=Zb(e,a)),b.fb.v.clear(),b.Zk(e))}return n};function ge(a,b){this.J=a;this.uD=b}w=ge.prototype;w.J=l;w.uD=l;w.dg=l;
w.f=function(a){this.dg=[];for(var a=F(a,"action"),b=a.length,c=0;c<b;c++){var e;a:{e=a[c];var f=l;if(B(e,"type")){switch(O(e,"type")){case "navigatetourl":f=new hn(this.J);break;case "call":f=new jn(this.J);break;case "updatechart":f=new mn(this.J);break;case "updateview":f=new nn(this.J);break;case "scroll":ne("Action scroll");break;case "zoom":ne("Action zoom");break;case "scrollview":ne("Action scrollView");break;case "zoomView":ne("Action zoomView");break;default:e=l;break a}f.f(e);f.vj||(f=
l)}e=f}e&&this.dg.push(e)}};w.execute=function(a){a&&(this.uD=a);for(var a=this.dg.length,b=n,c=0;c<a;c++)b=b||this.dg[c].execute(this.uD);return b};function pn(){}w=pn.prototype;w.Pz=l;w.Sk=l;w.Il=l;w.DI=l;w.Ty=l;w.p=function(a,b){this.clear();this.Il=a;this.DI=b};function qn(a,b,c){a.cb(b)||(a.Pz++,a.Sk.push(c))}function rn(a,b){if(b.length==a.Sk.length)return[];a.Ty=[];if(0==a.Pz)for(var c=b.length,e=0;e<c;e++)sn(a,b[e],1);else if(1==a.Pz)for(var c=b.length,e=H(a.Il.call(b[a.Sk[0]])),f=0;f<c;f++)sn(a,b[f],e);else tn(a,b);return a.Ty}w.clear=function(){this.Pz=0;this.Sk=[];this.Ty=[]};
function tn(a,b){a.Sk.sort(function(a,b){return a-b});var c,e=a.Sk.length,f=a.Sk[0],h=a.Sk[e-1];for(c=0;c<e-1;c++){var j=a.Sk[c],k=a.Sk[c+1];1<k-j&&un(a,b,j,k)}0<f&&vn(a,b,f);h<b.length-1&&wn(a,b,h)}function un(a,b,c,e){for(var f=H(a.Il.call(b[c])),h=(H(a.Il.call(b[e]))-f)/(e-c),j=c+1;j<e;j++)sn(a,b[j],f+(j-c)*h)}function vn(a,b,c){for(var e=H(a.Il.call(b[c])),f=H(a.Il.call(b[c+1]))-e,h=c-1;0<=h;h--)sn(a,b[h],e-f*(c-h))}
function wn(a,b,c){for(var e=H(a.Il.call(b[c])),f=H(a.Il.call(b[c-1])),e=f-e,h=c+1;h<b.length;h++)sn(a,b[h],f-e*(h-c+1))}function sn(a,b,c){a.DI.call(b,c);a.Ty.push(b)}w.cb=function(a){return isNaN(H(this.Il.call(a)))};function xn(){}x.e(xn,Nf);xn.prototype.Vu=l;xn.prototype.cG=p("Vu");xn.prototype.Ng=function(a){return xn.b.Ng.call(this,a)||B(a,"format")};xn.prototype.copy=function(a){a||(a=new xn);return xn.b.copy.call(this,a)};function yn(){xf.apply(this)}x.e(yn,xf);yn.prototype.Ng=function(a){return yn.b.Ng.call(this,a)||B(a,"type")};yn.prototype.copy=function(a){a||(a=new yn);return yn.b.copy.call(this,a)};function zn(){Rf.apply(this)}x.e(zn,Rf);
zn.prototype.Ng=function(a){return zn.b.Ng.call(this,a)||B(a,"format")};zn.prototype.copy=function(a){a||(a=new zn);return zn.b.copy.call(this,a)};function An(){}w=An.prototype;w.vp=i;w.In=i;w.Fm=i;function xk(a,b){a.vp=b.vp;a.In=b.In;a.Fm=b.Fm}w.Fl=function(a){B(a,"allow_select")&&(this.vp=I(a,"allow_select"));B(a,"hoverable")&&(this.In=I(a,"hoverable"));B(a,"use_hand_cursor")&&(this.Fm=I(a,"use_hand_cursor"))};w.F=l;w.ea=q("F");w.lf=p("F");w.Ca=l;w.Nb=q("Ca");w.Da=l;w.tc=l;w.eC=i;w.ki=l;w.li=l;w.Ah=l;w.bn=function(a,b){this.Qo(a,b);this.xh(a,b);this.Ro(a,b);this.IC(a,b);this.JC(a,b);this.KC(a,b)};w.Qo=function(){x.qa()};w.xh=function(){x.qa()};
w.Ro=function(){x.qa()};w.IC=function(a,b){if(B(a,"extra_labels")){this.ki=[];for(var c=F(D(a,"extra_labels"),"label"),e=c.length,f=0;f<e;f++){var h=this.Sa.dr();h.Ee(c[f],b);this.ki.push(h)}}};w.JC=function(a,b){if(B(a,"extra_markers")){this.li=[];for(var c=F(D(a,"extra_markers"),"marker"),e=c.length,f=0;f<e;f++){var h=this.Sa.Cl();h.Ee(c[f],b);this.li.push(h)}}};
w.KC=function(a,b){if(B(a,"extra_tooltips")){this.Ah=[];for(var c=F(D(a,"extra_tooltips"),"tooltip"),e=c.length,f=0;f<e;f++){var h=new zn;h.Ee(c[f],b);this.Ah.push(h)}}};w.Rh=function(a){a.Ca=this.Ca;a.Da=this.Da;a.tc=this.tc;a.ki=this.ki;a.li=this.li;a.Ah=this.Ah};w.f=o();w.Te=l;function wk(a,b){b&&(a.Te=b)}function rk(a,b){b&&B(b,"actions")&&(a.Te=new ge(a.pj()),a.Te.f(D(b,"actions")))}function Bn(){this.zd()}x.e(Bn,An);w=Bn.prototype;w.Cn=l;w.Eu=q("Cn");w.U=l;w.ho=p("U");w.Ea=l;w.Oj=p("Ea");
w.getName=q("Ea");w.od=l;w.La=l;w.Ki=p("La");w.oa=q("La");w.$e=l;w.jq=p("$e");w.te=l;w.ng=q("te");w.Sa=l;w.Db=q("Sa");w.pj=function(){return this.Sa.pj()};w.G=function(){return this.Sa.G()};w.Kd=function(){return this.G().Kd()};w.Ya=l;w.Is=p("Ya");w.Vg=q("Ya");
w.f=function(a,b){Bn.b.f.call(this,a,b);B(a,"id")&&(this.Cn=G(a,"id"));if(B(a,"attributes")){this.od={};for(var c=F(D(a,"attributes"),"attribute"),e=c.length,f=0;f<e;f++){var h=c[f];if(B(h,"name")){var j;B(h,"custom_attribute_value")?j=D(h,"custom_attribute_value"):B(h,"value")&&(j=D(h,"value"));j&&E(this.od,"%"+D(h,"name"),j)}}}};function vk(a,b){B(b,"name")&&(a.Ea=G(b,"name"))}w.gr=function(a,b){if(B(a,"style")){var c=G(a,"style"),e=this.Db().Ib();if(c=Ae(b,e,c))this.F=this.Db().Hb(),this.F.f(c)}};
w.a=l;w.Ql=function(a){return Boolean(this.od&&this.od[a])};w.zd=function(){this.a=new Pd;this.tb()};w.tb=function(){x.qa()};w.Va=function(a){if(a==l||a==g)a={};a.Name=this.Ea;var b;var c=this.od;if(c){b={};for(var e in c)c.hasOwnProperty(e)&&(b[/^%(.*)$/.exec(e)[1]]=c[e])}a.Attributes=b;a.Color=this.La.oa().Qe();a.HatchType=this.$e;a.MarkerType=this.te;this.Cn&&(a.ID=this.Cn);return a};function Cn(){this.zd()}x.e(Cn,Bn);w=Cn.prototype;
w.f=function(a,b){Cn.b.f.call(this,a,b);this.Wp=this.U;B(a,"selected")&&(this.Yg=I(a,"selected"))};w.cb=n;w.l=l;w.Wp=0;w.j=l;w.k=q("j");w.Kg=l;w.v=l;w.Ra=q("v");w.o=function(){return this.v.o()};w.Oa=l;
w.p=function(a){this.j||(this.j=new R);this.v=new X(a);if(this.cb)this.vp=this.In=n,this.sa=this.F.rc,this.De="Missing";else if(this.vp&&this.Yg){if(!this.G().ut&&(a=this.G().Kj))a.Yg=n,a.sa=a.ea().ta;this.sa=this.F.Rb;this.De="SelectedNormal";this.G().Jj(this,n)}else this.sa=this.F.ta,this.De="Normal";this.tE();this.oE();Dn(this,this.v);return this.v};w.tE=function(){this.Oa=this.F.p(this)};w.Fk=o();w.update=function(){this.Oa.update(this.sa,i);this.Em()};w.ya=function(){this.Oa.update(l,i);this.Rv()};
w.sa=l;w.De=l;w.bd=function(a){return this.VD(a,this.De)};w.VD=function(a,b){switch(b){default:case "Normal":return a.ta;case "Hover":return a.ec;case "Pushed":return a.ic;case "SelectedNormal":return a.Rb;case "SelectedHover":return a.gc;case "Missing":return a.rc}};w.ME=n;function Dn(a,b){b!=l&&(x.w.Ua(b.q,z.bi,a.eh,n,a),x.w.Ua(b.q,z.ai,a.Di,n,a),x.w.Ua(b.q,z.ro,a.BN,n,a),x.w.Ua(b.q,z.vB,a.km,n,a),x.w.Ua(b.q,z.$h,a.Up,n,a),a.Fm&&Uc(b.q))}
w.eh=function(a,b){this.In&&(this.Yg?(this.sa=this.F.gc,this.De="SelectedHover"):(this.sa=this.F.ec,this.De="Hover"),this.update());this.VG(a);this.ME=i;b!=i&&En(this,a,"pointMouseOver")};w.Di=function(a,b){this.ME=n;this.In&&(this.Yg?(this.sa=this.F.Rb,this.De="SelectedNormal"):(this.sa=this.F.ta,this.De="Normal"),this.update());this.Oy();b!=i&&En(this,a,"pointMouseOut")};w.Up=function(a){this.ME&&this.lF(a)};
w.BN=function(a){var b=n;this.Te&&(b=this.Te.execute(this));!b&&this.vp&&!this.Yg&&(this.sa=this.F.ic,this.De="Pushed",this.update(),this.Em());En(this,a,"pointMouseDown")};
w.km=function(a,b){this.vp&&(this.G().ut?(this.Yg=!this.Yg,this.In?this.eh(a,i):(this.Yg?(this.sa=this.F.Rb,this.De="SelectedNormal"):(this.sa=this.F.gc,this.De="SelectedHover"),this.update(),this.Em()),this.Yg?En(this,a,"pointSelect"):En(this,a,"pointDeselect"),this.G().Jj(this,i)):this.Yg||(this.Yg=i,this.G().Jj(this,i),En(this,a,"pointSelect"),this.In?this.eh(a,i):(this.sa=this.F.Rb,this.De="SelectedNormal")));this.update();this.Em();b||(En(this,a,"pointMouseUp"),En(this,a,"pointClick"))};
function En(a,b,c){var e=NaN,f=NaN;b&&(e=b.clientX,f=b.clientY);a.Db().pj().dispatchEvent(new je(c,a,e,f))}w.Yg=n;w.Sx=function(a){this.Yg=n;this.sa=this.F.ta;this.De="Normal";a!=g&&a&&this.update();En(this,l,"pointDeselect")};w.select=function(a){this.Yg=i;this.sa=this.F.Rb;this.De="SelectedNormal";a!=g&&a&&this.update();En(this,l,"pointSelect")};w.Eg=function(){this.eC=n;this.eh(l,i);this.eC=i};w.Fg=function(){this.Di(l,i)};
w.Qo=function(a,b){this.Ca&&(B(a,"label")&&this.Ca.tl(D(a,"label"))&&(this.Ca=this.Ca.copy(),this.Ca.fi(D(a,"label"),b)),this.nk(this.Ca))};w.xh=function(a,b){this.Da&&(B(a,"marker")&&this.Da.tl(D(a,"marker"))&&(this.Da=this.Da.copy(),this.Da.fi(D(a,"marker"),b)),this.nk(this.Da))};w.Ro=function(a,b){this.tc&&this.tc.tl(D(a,"tooltip"))&&(this.tc=this.tc.copy(),this.tc.fi(D(a,"tooltip"),b));this.nk(this.tc)};w.IC=function(a,b){Cn.b.IC.call(this,a,b);if(this.ki)for(var c=0;c<this.ki.length;c++)this.nk(this.ki[c])};
w.JC=function(a,b){Cn.b.JC.call(this,a,b);if(this.li)for(var c=0;c<this.li.length;c++)this.nk(this.li[c])};w.KC=function(a,b){Cn.b.KC.call(this,a,b);if(this.Ah)for(var c=0;c<this.Ah.length;c++)this.nk(this.Ah[c])};w.fc=l;w.td=l;w.xe=l;w.kn=l;w.ln=l;w.ni=l;
w.oE=function(){this.fc=Fn(this,this.Ca,i);if(this.ki){this.kn=[];for(var a=this.ki.length,b=0;b<a;b++)this.kn[b]=Fn(this,this.ki[b],i)}this.td=Fn(this,this.Da,i);if(this.li){this.ln=[];a=this.li.length;for(b=0;b<a;b++)this.ln[b]=Fn(this,this.li[b],i)}this.xe=Fn(this,this.tc,n);if(this.Ah){this.ni=[];a=this.Ah.length;for(b=0;b<a;b++)this.ni[b]=Fn(this,this.Ah[b],n)}};function Fn(a,b,c){return b?((b=b.ea().p(a,b))&&c&&!a.rc&&Dn(a,b),b):l}
w.Em=function(){this.Vi(this.Ca,this.fc);if(this.kn)for(var a=this.kn.length,b=0;b<a;b++)this.Vi(this.ki[b],this.kn[b]);this.Vi(this.Da,this.td);if(this.ln){a=this.ln.length;for(b=0;b<a;b++)this.Vi(this.li[b],this.ln[b])}};w.VG=function(a){if(this.eC){var b=this.tc,c=this.xe;this.Vi(b,c);Gn(this,a,b,c);if(this.ni){b=this.ni.length;for(c=0;c<b;c++)this.Vi(this.Ah[c],this.ni[c]),Gn(this,a,this.Ah[c],this.ni[c])}}};w.Oy=function(){Hn(this.xe);if(this.ni)for(var a=this.ni.length,b=0;b<a;b++)Hn(this.ni[b])};
w.lF=function(a){Gn(this,a,this.tc,this.xe);if(this.ni)for(var b=this.ni.length,c=0;c<b;c++)Gn(this,a,this.Ah[c],this.ni[c])};w.Vi=function(a,b){b&&b.update(this.bd(a.ea()))};function Gn(a,b,c,e){e&&Sf(c,b,a,a.bd(c.ea()),e)}function Hn(a){a&&(a.eb(0,0),a.Oi(n))}w.Rv=function(){this.dA(this.Ca,this.fc);if(this.kn)for(var a=this.kn.length,b=0;b<a;b++)this.dA(this.ki[b],this.kn[b]);this.td&&this.eq(this.Da,this.td);if(this.ln){a=this.ln.length;for(b=0;b<a;b++)this.eq(this.li[b],this.ln[b])}this.Oy()};
w.dA=function(a,b){b&&this.eq(a,b)};w.eq=function(a,b){a&&b&&a.ya(this,this.bd(a.ea()),b)};w.nk=o();w.zr=function(a,b,c){if(!a||!b||!c||this.cb&&!this.G().ui)return l;a=new P;this.Lf(a,b.Ef(),c,b.Y());10!=b.Ef()&&(this.As(a,b.Ef(),b.Ll(),b.Pl(),c,b.Y()),this.Bs(a,b.Ef(),b.Ll(),b.Pl(),c,b.Y()));return a};
w.Lf=function(a,b){if(this.j!=l)switch(b){default:case 0:a.x=this.j.x+this.j.width/2;a.y=this.j.y+this.j.height/2;break;case 7:a.x=this.j.x+this.j.width/2;a.y=this.j.y+this.j.height;break;case 1:a.x=this.j.x;a.y=this.j.y+this.j.height/2;break;case 5:a.x=this.j.x+this.j.width;a.y=this.j.y+this.j.height/2;break;case 3:a.x=this.j.x+this.j.width/2;a.y=this.j.y;break;case 8:a.x=this.j.x;a.y=this.j.y+this.j.height;break;case 2:a.x=this.j.x;a.y=this.j.y;break;case 6:a.x=this.j.x+this.j.width;a.y=this.j.y+
this.j.height;break;case 4:a.x=this.j.x+this.j.width,a.y=this.j.y}};w.As=function(a,b,c,e,f,h){switch(c){case 0:a.x-=f.width+h;break;case 1:a.x+=h;break;default:case 2:a.x-=f.width/2}};w.Bs=function(a,b,c,e,f,h){switch(e){case 0:a.y-=f.height+h;break;case 2:a.y+=h;break;default:case 1:a.y-=f.height/2}};w.tb=function(){this.a.add("%Index",0);this.a.add("%Name","");this.a.add("%Color","0xFFFFFF")};w.le=function(){this.a.add("%Index",this.U);this.a.add("%Name",this.Ea);this.La&&this.a.add("%Color",Sd(this.La.oa()))};
w.Ba=function(a){return this.Ql(a)?this.od[a]:0==a.indexOf("%Series")||this.l.Ql(a)?this.l.Uf(a):Ud(a,this.G())?this.G().Ba(a):this.Kg&&(0==a.indexOf("%Threshold")||this.Kg.Rr(a))?"%ConditionValue1"==a?this.Kg.HE?this.Ba(Nj(this.Kg.Hw)):this.Kg.Hw:"%ConditionValue2"==a?this.Kg.IE?this.Ba(Nj(this.Kg.Iw)):this.Kg.Iw:"%ConditionValue3"==a?this.Kg.JE?this.Ba(Nj(this.Kg.Jw)):this.Kg.Jw:this.Kg.Ba(a):Vd(a,this.Ya)?this.Ya.Ba(a):this.a.get(a)};
w.Aa=function(a){if(this.Ql(a))return 1;if(0==a.indexOf("%Series")||this.l.Ql(a))return this.l.Aa(a);if(Ud(a,this.G()))return this.G().Aa(a);if(Vd(a,this.Ya))return this.Ya.Aa(a);switch(a){case "%Index":return 2;case "%Name":case "%Color":case "%text":return 1;default:return 4}};w.Va=function(a){a=Cn.b.Va.call(this,a);a.SeriesPointCount=this.l.wd();a.Index=this.U;return a};function In(){this.zd();this.R=[]}x.e(In,Bn);w=In.prototype;w.R=l;w.wd=function(){return this.R?this.R.length:0};w.da=function(a){return this.R[a]};
w.Id=function(){x.qa()};w.md=function(a,b){this.R[b]=a};w.Na=NaN;w.ub=q("Na");w.ag=p("Na");w.Qo=function(a,b){this.Ca&&this.Ca.Ng(D(a,"label"))&&(this.Ca=this.Ca.copy(),this.Ca.gi(D(a,"label"),b))};w.xh=function(a,b){this.Da&&this.Da.Ng(D(a,"marker"))&&(this.Da=this.Da.copy(),this.Da.gi(D(a,"marker"),b))};w.Ro=function(a,b){this.tc&&this.tc.Ng(D(a,"tooltip"))&&(this.tc=this.tc.copy(),this.tc.gi(D(a,"tooltip"),b))};w.f=function(a,b){In.b.f.call(this,a,b)};
w.Eg=function(){for(var a=this.wd(),b=0;b<a;b++)this.da(b).Eg()};w.Fg=function(){for(var a=this.wd(),b=0;b<a;b++)this.da(b).Fg()};w.tb=function(){this.a.add("%SeriesPointCount",0);this.a.add("%Name","");this.a.add("%SeriesName","")};w.Aa=function(a){if(this.Ql(a))return 1;if(Ud(a,this.G()))return this.G().Aa(a);switch(a){default:return 1;case "%SeriesPointCount":return 2}};w.nd=function(a){a.le()};w.wh=function(a){Rd(a.a,"%DataPlotPointCount",this.R.length);this.vh()};
w.vh=function(){this.a.add("%SeriesName",this.Ea);this.a.add("%Name",this.Ea);this.a.add("%SeriesPointCount",this.R.length)};w.Uf=function(a){return this.od&&this.od[a]?this.od[a]:this.a.get(a)};w.Ba=function(a){return Ud(a,this.G())?this.G().Ba(a):this.Uf(a)};w.hm=u(n);w.zg=o();w.jm=o();w.AB=u(i);w.Va=function(a){a=In.b.Va.call(this,a);a.Points=[];for(var b=this.R.length,c=0;c<b;c++)this.R[c]&&a.Points.push(this.R[c].Va());return a};function Jn(){this.Sa=this}x.e(Jn,An);Jn.prototype.D=l;
Jn.prototype.ym=p("D");Jn.prototype.G=q("D");An.prototype.J=l;An.prototype.uA=p("J");An.prototype.pj=q("J");w=Jn.prototype;w.Qy=u(n);w.$w=n;w.cp=0.1;w.Zp=0.1;w.Ib=function(){x.qa()};w.Hb=function(){x.qa()};
w.f=function(a,b){Jn.b.f.call(this,a,b);B(a,"apply_palettes_to")&&(this.$w="points"==sb(D(a,"apply_palettes_to")));B(a,"group_padding")&&(this.cp=J(a,"group_padding"));B(a,"point_padding")&&(this.Zp=J(a,"point_padding"));if((this.Ht()||this.rx())&&B(a,"sort"))switch(O(a,"sort")){case "asc":this.wp=i;this.iw=n;break;case "desc":this.iw=this.wp=i;break;default:case "none":this.wp=n}};
w.gr=function(a,b){var c=this.Ib();if(c){var e,f;B(a,"style")&&(e=N(a,"style"));B(a,c)&&(f=D(a,c),B(f,"parent")&&(e=D(f,"parent")));c=xe(b,c,f,e);c.name=e;this.F=this.Hb(c);this.F.f(c)}};w.Fl=function(a){Jn.b.Fl.call(this,a);B(a,"interactivity")&&Jn.b.Fl.call(this,D(a,"interactivity"))};w.iw=n;w.wp=n;w.Ht=u(n);w.rx=u(n);function uk(a,b){!a.rx()&&a.wp&&a.Ht()&&a.gD(b,a.iw)}w.gD=o();w.yI=u(l);w.dr=function(){return new xn};w.Cl=function(){return new yn};
w.Qo=function(a,b){(this.Ca=this.dr())&&(a&&B(a,"label_settings")?this.Ca.Ee(D(a,"label_settings"),b):this.Ca.lf(new Z))};w.xh=function(a,b){(this.Da=this.Cl())&&(a&&B(a,"marker_settings")?this.Da.Ee(D(a,"marker_settings"),b):this.Da.lf(new Z))};w.Ro=function(a,b){(this.tc=new zn)&&(a&&B(a,"tooltip_settings")?this.tc.Ee(D(a,"tooltip_settings"),b):this.tc.lf(new Z))};w.zH=u(i);function Kn(){Jn.apply(this)}x.e(Kn,Jn);Kn.prototype.Qw=l;
Kn.prototype.qE=function(){this.Qw=new pn;this.Qw.p(Ln.prototype.$a,Ln.prototype.jd)};Kn.prototype.EH=function(a){qn(this.Qw,a,a.U)};Jn.prototype.rJ=function(a){for(var a=rn(this.Qw,a.R),b=a.length,c=0;c<b;c++)a[c].Fk();this.Qw.clear()};function Mn(){Kn.apply(this)}x.e(Mn,Kn);Mn.prototype.ts=0.05;Mn.prototype.RE=i;Mn.prototype.f=function(a,b){Mn.b.f.call(this,a,b);B(a,"scatter_point_width")&&(this.ts=D(a,"scatter_point_width"),this.ts=(this.RE=Db(this.ts))?Eb(this.ts):zb.tQ(this.ts))};function Nn(){Cn.apply(this)}x.e(Nn,Cn);w=Nn.prototype;w.Qa=NaN;w.hb=q("Qa");w.Yb=l;w.Ye=q("Yb");w.Jd=l;w.Ko=0;w.ne=l;w.Mc=n;w.Jk=n;
w.f=function(a,b){this.ej(a);Nn.b.f.call(this,a);this.Tx(a,b);this.cb||this.Pg(a);!this.cb&&this.Jd&&(this.Jd.nd(this),this.Jd!=this.Yb&&this.Yb.nd(this));this.l.Sb.R.push(this);this.l.Xa.R.push(this)};
w.Tx=function(a,b){var c=this.l.Sb;B(a,"x")&&(this.Qa=c.kg(D(a,"x")));this.Mc=0==c.qb()||1==c.qb();var e=c.ub();if(1==e)B(a,"name")&&isNaN(this.Qa)&&(this.Qa=c.kg(D(a,"name"))),this.l.Sb.Jc(this.Qa);else if(2==e)this.Jd=this.Yb=c.Ye(this.Ea,b),this.Qa=this.Yb.U,this.ne=this.l.ne,this.U=this.Wp=this.Yb.U;else if(3==e){this.Yb=this.l.Ye();var e=this.Sa.G(),f=this.Ea;if(e.Px[f])c=e.Px[f];else{var h=new Fm(e);h.Mj(c);h.ho(e.er.length);h.Oj(f);e.er.push(h);c=e.Px[f]=h}this.Jd=c;this.Qa=this.l.Ye().U;this.l.LJ?
this.Ko=0:(this.Ye().ne.gG(this.Ye().ne.Rp+1),this.Ko=this.U);this.ne=this.Ye().ne}else d(Error("Unknown argument axis type"))};w.Pg=function(){x.qa()};function On(a,b){return a.l.Xa.kg(b)}w.ej=function(){x.qa()};w.Fk=function(){Nn.b.Fk.call(this);this.Jd&&this.Jd.nd(this);this.Jd!=l&&this.Yb!=l&&this.Jd!=this.Yb&&this.Yb.nd(this)};w.Lf=function(a,b,c,e){var f=this.l.Sb;10==b?(f.transform(this,this.hb(),a),f.C.Li(e,c,a)):(b=this.Jk?f.C.Ci.py(b):f.C.Ci.Ay(b),Nn.b.Lf.call(this,a,b,c,e))};
w.As=function(a,b,c,e,f,h){if(9!=b)var j=this.l.Sb,c=this.Jk?j.C.Ci.DD(c,e):j.C.Ci.HD(c,e);Nn.b.As.call(this,a,b,c,e,f,h)};w.Bs=function(a,b,c,e,f,h){if(9!=b)var j=this.l.Sb,e=this.Jk?j.C.Ci.ED(c,e):j.C.Ci.By(c,e);Nn.b.Bs.call(this,a,b,c,e,f,h)};w.nk=function(a){if(10==a.ea().ta.Ef()){var b=this.l.Sb;b.Yp||(b.Yp=[]);b.Yp.push([a,this])}};w.dA=function(a,b){b&&a&&a.ea()&&a.ea().ta&&10==a.ea().ta.Ef()&&this.G().wy(a).Z(b);Nn.b.dA.call(this,a,b)};w.$q=o();
w.tb=function(){Nn.b.tb.call(this);this.a.add("%XValue",0);this.a.add("%XPercentOfSeries",0);this.a.add("%XPercentOfTotal",0)};w.Aa=function(a){if(Wd(a)&&this.Jd)return this.Jd.Aa(a);if(0==a.indexOf("%YAxis"))return this.l.Xa.Aa(Xd(a));if(0==a.indexOf("%XAxis"))return this.l.Sb.Aa(Xd(a));if(qm(this.l.Sb)&&("%XValue"==a||"%Name"==a))return 3;switch(a){case "%XValue":case "%XPercentOfSeries":case "%XPercentOfTotal":return 2}return Nn.b.Aa.call(this,a)};
w.le=function(){Nn.b.le.call(this);this.Qa&&this.a.add("%XValue",this.Qa)};w.Ba=function(a){Qd(this.a,"%XPercentOfSeries")||this.a.add("%XPercentOfSeries",100*(this.Qa/this.l.Uf("%SeriesXSum")));Qd(this.a,"%XPercentOfTotal")||this.a.add("%XPercentOfTotal",100*(this.Qa/this.G().Ba("%DataPlotXSum")));return Wd(a)&&this.Jd?this.Jd.Ba(a):0==a.indexOf("%YAxis")?this.l.Xa.Ba(Xd(a)):0==a.indexOf("%XAxis")?this.l.Sb.Ba(Xd(a)):Nn.b.Ba.call(this,a)};
w.Va=function(a){a=Nn.b.Va.call(this,a);a.XValue=this.Qa;a.XPercentOfSeries=this.a.get("%XPercentOfSeries");a.XPercentOfTotal=this.a.get("%XPercentOfTotal");a.XPercentOfCategory=this.a.get("%XPercentOfCategory");a.Category=this.Jd?this.Jd.getName():l;return a};function Pn(){In.call(this)}x.e(Pn,In);w=Pn.prototype;w.Sb=l;w.Xa=l;w.Yb=l;w.Ye=q("Yb");w.Ko=l;w.LJ=n;w.ok=NaN;w.Fn=u(i);w.GH=u(n);w.ne=l;w.pA=p("ne");
w.tb=function(){Pn.b.tb.call(this);this.a.add("%SeriesFirstXValue",0);this.a.add("%SeriesLastXValue",0);this.a.add("%SeriesXSum",0);this.a.add("%SeriesXMax",-Number.MAX_VALUE);this.a.add("%SeriesXMin",Number.MAX_VALUE);this.a.add("%SeriesXAverage",0);this.a.add("%SeriesYAxisName","");this.a.add("%SeriesXAxisName","")};
w.Aa=function(a){switch(a){case "%SeriesFirstXValue":case "%SeriesLastXValue":case "%SeriesXSum":case "%SeriesXMin":case "%SeriesXMax":case "%SeriesXAverage":return qm(this.Sb)?3:2;case "%SeriesYAxisName":case "%SeriesXAxisName":return 1}return Pn.b.Aa.call(this,a)};
w.wh=function(a){Pn.b.wh.call(this,a);a=a.a;Rd(a,"%DataPlotXSum",this.a.get("%SeriesXSum"));this.a.get("%SeriesXMax")>a.get("%DataPlotXMax")&&a.add("%DataPlotXMax",this.a.get("%SeriesXMax"));this.a.get("%SeriesXMin")<a.get("%DataPlotXMin")&&a.add("%DataPlotXMin",this.a.get("%SeriesXMin"));this.Mt()};
w.nd=function(a){Pn.b.nd.call(this,a);var a=a.hb(),b=Number(this.a.get("%SeriesXMax")),c=Number(this.a.get("%SeriesXMin"));Rd(this.a,"%SeriesXSum",a);a>b&&this.a.add("%SeriesXMax",a);a<c&&this.a.add("%SeriesXMin",a)};
w.Mt=function(){var a=this.Sb.a;Rd(a,"%AxisPointCount",this.R.length);Rd(a,"%AxisSum",this.a.get("%SeriesXSum"));this.a.get("%SeriesXMax")>a.get("%AxisMax")&&a.add("%AxisMax",this.a.get("%SeriesXMax"));this.a.get("%SeriesXMin")<a.get("%AxisMin")&&a.add("%AxisMin",this.a.get("%SeriesXMin"));a=this.Sb;a.a.add("%AxisName",a.getName())};
w.vh=function(){Pn.b.vh.call(this);this.a.add("%SeriesYAxisName",this.Xa.getName());this.a.add("%SeriesXAxisName",this.Sb.getName());0<this.R.length&&this.da(0)&&this.a.add("%SeriesFirstXValue",this.da(0).hb());0<this.R.length&&this.da(this.R.length-1)&&this.a.add("%SeriesLastXValue",this.da(this.R.length-1).hb());this.a.add("%SeriesXAverage",this.a.get("%SeriesXSum")/this.R.length)};
w.Va=function(a){a=Pn.b.Va.call(this,a);a.StartMarkerType=a.EndMarkerType=this.te;a.FirstXValue=this.a.get("%SeriesFirstXValue");a.LastXValue=this.a.get("%SeriesLastXValue");a.XSum=this.a.get("%SeriesXSum");a.XMax=this.a.get("%SeriesXMax");a.XMin=this.a.get("%SeriesXMin");a.XAverage=this.a.get("%SeriesXAverage");a.XMedian=this.a.get("%SeriesXMedian");a.XMode=this.a.get("%SeriesXMode");this.Xa&&(a.YAxis=this.Xa.getName());this.Sb&&(a.XAxis=this.Sb.getName());return a};
function Qn(){Pn.apply(this)}x.e(Qn,Pn);w=Qn.prototype;w.tb=function(){Qn.b.tb.call(this);this.a.add("%SeriesLastYValue",0);this.a.add("%SeriesYSum",0);this.a.add("%Value",0);this.a.add("%SeriesValue",0);this.a.add("%SeriesYMax",-Number.MAX_VALUE);this.a.add("%SeriesYMin",Number.MAX_VALUE);this.a.add("%SeriesYAverage",0);this.a.add("%MaxYValuePointName","");this.a.add("%MinYValuePointName","")};
w.Aa=function(a){if(Ud(a,this.G()))return this.G().Aa(a);switch(a){case "%SeriesLastYValue":case "%SeriesFirstYValue":case "%SeriesYSum":case "%Value":case "%SeriesValue":case "%SeriesYMax":case "%SeriesYMin":case "%SeriesYAverage":return qm(this.Xa)?3:2;case "%MaxYValuePointName":case "%MinYValuePointName":return 1}return Qn.b.Aa.call(this,a)};
w.wh=function(a){Qn.b.wh.call(this,a);a=a.a;Rd(a,"%DataPlotYSum",this.a.get("%SeriesYSum"));Rd(a,"%YBasedPointsCount",this.R.length);this.a.get("%SeriesYMax")>a.get("%DataPlotYMax")&&(a.add("%DataPlotYMax",this.a.get("%SeriesYMax")),a.add("%DataPlotMaxYValuePointName",this.a.get("%SeriesMaxYValuePointName")),a.add("%DataPlotMaxYValuePointSeriesName",this.Ea));this.a.get("%SeriesYMin")<a.get("%DataPlotYMin")&&(a.add("%DataPlotYMin",this.a.get("%SeriesYMin")),a.add("%DataPlotMinYValuePointName",this.a.get("%SeriesMinYValuePointName")),
a.add("%DataPlotMinYValuePointSeriesName",this.Ea));this.a.get("%SeriesYSum")>a.get("%DataPlotMaxYSumSeries")&&(a.add("%DataPlotMaxYSumSeries",this.a.get("%SeriesYSum")),a.add("%DataPlotMaxYSumSeriesName",this.Ea));this.a.get("%SeriesYSum")>a.get("%DataPlotMinYSumSeries")&&(a.add("%DataPlotMinYSumSeries",this.a.get("%SeriesYSum")),a.add("%DataPlotMinYSumSeriesName",this.Ea))};
w.nd=function(a){Qn.b.nd.call(this,a);Rd(this.a,"%SeriesYSum",a.$a());Rd(this.a,"%Value",a.$a());Rd(this.a,"%SeriesValue",a.$a());a.$a()>this.a.get("%SeriesYMax")&&(this.a.add("%SeriesYMax",a.$a()),this.a.add("%SeriesMaxYValuePointName",a.getName()));a.$a()<this.a.get("%SeriesYMin")&&(this.a.add("%SeriesYMin",a.$a()),this.a.add("%SeriesMinYValuePointName",a.getName()))};
w.Mt=function(){Qn.b.Mt.call(this);var a=this.Xa.a;Rd(a,"%AxisPointCount",this.R.length);Rd(a,"%AxisSum",this.a.get("%SeriesYSum"));this.a.get("%SeriesYMax")>a.get("%AxisMax")&&a.add("%AxisMax",this.a.get("%SeriesYMax"));this.a.get("%SeriesYMin")<a.get("%AxisMin")&&a.add("%AxisMin",this.a.get("%SeriesYMin"));a=this.Xa;a.a.add("%AxisName",a.getName())};
w.vh=function(){Qn.b.vh.call(this);this.a.add("%SeriesYAverage",this.a.get("%SeriesYSum")/this.R.length);this.R&&this.da(0)&&this.a.add("%SeriesFirstYValue",this.da(0).$a());this.R&&this.da(this.R.length-1)&&this.a.add("%SeriesLastYValue",this.da(this.R.length-1).$a())};
w.Va=function(a){a=Qn.b.Va.call(this,a);a.FirstYValue=this.a.get("%SeriesFirstYValue");a.LastYValue=this.a.get("%SeriesLastYValue");a.YSum=this.a.get("%SeriesYSum");a.YMax=this.a.get("%SeriesYMax");a.YMin=this.a.get("%SeriesYMin");a.YAverage=this.a.get("%SeriesYAverage");a.YMedian=this.a.get("%SeriesYMedian");a.YMode=this.a.get("%SeriesYMode");return a};function Rn(){Nn.apply(this)}x.e(Rn,Nn);w=Rn.prototype;w.ca=l;w.$a=q("ca");
w.ej=function(a){B(a,"y")?1==this.l.Xa.ub()&&(this.cb=isNaN(On(this,D(a,"y")))):this.cb=i};w.Pg=function(a){1==this.l.Xa.ub()?(this.ca=On(this,D(a,"y")),(this.cb=isNaN(this.ca))||this.l.Xa.Jc(this.ca)):(this.Pw=this.Xa.Ye(G(a,"y")),this.y=this.Pw.index,this.cb||this.Pw.nd(this));Rn.b.Pg.call(this,a)};w.Fk=function(){this.l.Xa.Jc(this.ca);Rn.b.Fk.call(this)};w.tb=function(){Rn.b.tb.call(this);this.a.add("%Value",0);this.a.add("%YValue",0)};
w.Aa=function(a){switch(a){case "%Value":case "%YValue":return qm(this.l.Xa)?3:2;case "%YPercentOfSeries":case "%YPercentOfTotal":case "%YPercentOfCategory":return 2}return Rn.b.Aa.call(this,a)};w.$q=function(a){a=a.a;Rd(a,"%CategoryYSum",this.ca);Rd(a,"%CategoryPointCount",1);this.ca>a.get("%CategoryYMax")&&a.add("%CategoryYMax",this.ca);this.ca<a.get("%CategoryYMin")&&a.add("%CategoryYMin",this.ca)};
w.le=function(){Rn.b.le.call(this);this.ca&&this.a.add("%YValue",this.ca);this.ca&&this.a.add("%Value",this.ca)};w.Ba=function(a){Qd(this.a,"%YPercentOfSeries")||this.a.add("%YPercentOfSeries",100*(this.$a()/this.l.Uf("%SeriesYSum")));Qd(this.a,"%YPercentOfTotal")||this.a.add("%YPercentOfTotal",100*(this.$a()/this.G().Ba("%DataPlotYSum")));!Qd(this.a,"%YPercentOfCategory")&&this.Jd&&this.a.add("%YPercentOfCategory",100*(this.$a()/this.Jd.Ba("%CategoryYSum")));return Rn.b.Ba.call(this,a)};
w.Va=function(a){a=Rn.b.Va.call(this,a);a.YValue=this.ca;a.YPercentOfSeries=this.a.get("%YPercentOfSeries");a.YPercentOfTotal=this.a.get("%YPercentOfTotal");a.YPercentOfCategory=this.a.get("%YPercentOfCategory");return a};function Sn(){Nn.apply(this)}x.e(Sn,Rn);w=Sn.prototype;w.Od=l;w.cw=p("Od");w.vb=NaN;
w.Pg=function(a){var b=this.l.Xa;if(1==b.ub()){this.ca=On(this,D(a,"y"));if(this.Yb!=l)switch(b.O().qj()){case 1:this.vb=this.Yb.Ch(b.getName(),this.l.ub(),n).md(this,this.ca);b.Jc(this.vb);break;case 2:this.vb=this.Yb.Ch(b.getName(),this.l.ub(),i).md(this,this.ca);break;default:this.vb=this.ca}else this.vb=this.ca,b.Jc(this.vb);this.cb=isNaN(this.ca);this.Jk=b.O().Mb()&&0<=this.ca||!b.O().Mb()&&0>this.ca;this.cb||b.Jc(this.vb)}else Sn.b.Pg.call(this,a)};
w.Fk=function(){var a=this.l.Xa;if(this.Yb!=l)switch(a.O().qj()){case 1:this.vb=this.Yb.Ch(a.getName(),this.l.ub(),n).md(this,this.ca);a.Jc(this.vb);break;case 2:this.vb=this.Yb.Ch(a.getName(),this.l.ub(),i).md(this,this.ca);break;default:this.vb=this.ca}else this.vb=this.ca,a.Jc(this.vb);this.Jk=a.O().Mb()&&0<=this.ca||!a.O().Mb()&&0>this.ca;Sn.b.Fk.call(this,this)};w.Hs=function(a){this.vb*=100/a};function Tn(){Nn.apply(this)}x.e(Tn,Sn);Tn.prototype.Ig=NaN;
Tn.prototype.Pg=function(a){var b=this.l.Xa;if(1==b.ub()){this.ca=On(this,D(a,"y"));if(this.Yb!=l)switch(b.O().qj()){case 1:a=this.Yb.Ch(b.getName(),this.l.ub(),n);this.Ig=a.Iu(this.ca);this.vb=a.md(this,this.ca);b.Jc(this.Ig);b.Jc(this.vb);break;case 2:a=this.Yb.Ch(b.getName(),this.l.ub(),i);this.Ig=a.Iu(this.ca);this.vb=a.md(this,this.ca);break;default:this.Ig=NaN,this.vb=this.ca,b.Jc(this.vb)}else this.Ig=NaN,this.vb=this.ca,b.Jc(this.vb);this.cb=isNaN(this.ca);this.Jk=b.O().Mb()&&0<=this.ca||
!b.O().Mb()&&0>this.ca}else Tn.b.Pg.call(this,a),this.Ig=NaN,this.vb=this.ca};
Tn.prototype.Fk=function(){var a=this.l.Xa;if(this.Yb!=l){var b;switch(a.O().qj()){case 1:b=this.Yb.Ch(a.getName(),this.l.ub(),n);this.Ig=b.Iu(this.ca);this.vb=b.md(this,this.ca);a.Jc(this.Ig);a.Jc(this.vb);break;case 2:b=this.Yb.Ch(a.getName(),this.l.ub(),i);this.Ig=b.Iu(this.ca);this.vb=b.md(this,this.ca);break;default:this.Ig=NaN,this.vb=this.ca,a.Jc(this.vb)}}else this.Ig=NaN,this.vb=this.ca,a.Jc(this.vb);this.Jk=a.O().Mb()&&0<=this.ca||!a.O().Mb()&&0>this.ca};
Tn.prototype.Hs=function(a){this.Ig*=0==a?0:100/a;this.vb*=0==a?0:100/a};function Un(){Nn.apply(this)}x.e(Un,Nn);w=Un.prototype;w.Pb=l;w.Lb=l;w.hd=l;w.ej=function(a){!B(a,"start")||!B(a,"end")?this.cb=i:this.l.Xa.OJ()&&(this.cb=(this.cb=isNaN(On(this,D(a,"start"))))||isNaN(On(this,D(a,"end"))))};
w.Pg=function(a){B(a,"start")&&(this.Pb=On(this,D(a,"start")));B(a,"end")&&(this.Lb=On(this,D(a,"end")));a=this.l.Xa;this.Jk=a.O().Mb()&&this.Pb<this.Lb||!a.O().Mb()&&this.Pb>this.Lb;this.cb||(this.hd=this.Lb-this.Pb,a.Jc(this.Pb),a.Jc(this.Lb))};w.Fk=function(){this.hd=this.Lb-this.Pb;var a=this.l.Xa;a.Jc(this.Pb);a.Jc(this.Lb);Un.b.Fk.call(this)};w.Uw=l;w.Vw=l;w.Ww=l;w.oE=function(){Un.b.oE.call(this);this.Uw=Fn(this,this.Ed,i);this.Vw=Fn(this,this.Fd,i);this.Ww=Fn(this,this.Gd,n)};
w.Em=function(){Un.b.Em.call(this);this.Vi(this.Ed,this.Uw);this.Vi(this.Fd,this.Vw)};w.VG=function(a){Un.b.VG.call(this,a);var b=this.Gd,c=this.Ww;this.Vi(b,c);Gn(this,a,b,c)};w.Oy=function(){Un.b.Oy.call(this);Hn(this.Ww)};w.lF=function(a){Un.b.lF.call(this,a);Gn(this,a,this.Gd,this.Ww)};w.Rv=function(){Un.b.Rv.call(this);this.Uw&&this.eq(this.Ed,this.Uw);this.Vw&&this.eq(this.Fd,this.Vw)};w.Ed=l;w.Fd=l;w.Gd=l;
w.bn=function(a,b){B(a,"start_point")&&(this.Qo(D(a,"start_point"),b),this.xh(D(a,"start_point"),b),this.Ro(D(a,"start_point"),b));B(a,"end_point")&&(this.gu(D(a,"end_point"),b),this.hu(D(a,"end_point"),b),this.iu(D(a,"end_point"),b))};w.gu=function(a,b){this.Ed&&(B(a,"label")&&this.Ed.tl(D(a,"label"))&&(this.Ed=this.Ed.copy(),this.Ed.fi(D(a,"label"),b)),this.nk(this.Ed))};w.hu=function(a,b){this.Fd&&(B(a,"marker")&&this.Fd.tl(D(a,"marker"))&&(this.Fd=this.Fd.copy(),this.Fd.fi(D(a,"marker"),b)),this.nk(this.Fd))};
w.iu=function(a,b){this.Gd&&B(a,"tooltip")&&this.Gd.tl(D(a,"tooltip"))&&(this.Gd=this.Gd.copy(),this.Gd.fi(D(a,"tooltip"),b));this.nk(this.Gd)};w.tb=function(){Un.b.tb.call(this);this.a.add("%RangeStart",0);this.a.add("%YRangeStart",0);this.a.add("%RangeEnd",0);this.a.add("%YRangeEnd",0);this.a.add("%Range",0);this.a.add("%YRange",0)};
w.Aa=function(a){switch(a){case "%RangeStart":case "%YRangeStart":case "%RangeEnd":case "%YRangeEnd":return qm(this.l.Xa)?3:2;case "%Range":case "%YRange":case "%Value":return 2}return Un.b.Aa.call(this,a)};w.$q=function(a){Un.b.$q.call(this,a);a=a.a;Rd(a,"%CategoryYRangeSum",this.hd);this.hd>a.get("%CategoryYRangeMax")&&a.add("%CategoryYRangeMax",this.hd);this.hd<a.get("%CategoryYRangeMin")&&a.add("%CategoryYRangeMin",this.hd)};
w.le=function(){Un.b.le.call(this);this.a.add("%RangeStart",this.Pb);this.a.add("%YRangeStart",this.Pb);this.a.add("%RangeEnd",this.Lb);this.a.add("%YRangeEnd",this.Lb);this.a.add("%Range",this.hd);this.a.add("%YRange",this.hd);this.a.add("%Value",this.hd)};w.Va=function(a){a=Un.b.Va.call(this,a);a.YRangeStart=this.Pb;a.YRangeEnd=this.Lb;a.YRange=this.hd;a.StartValue=this.Pb;a.EndValue=this.Lb;a.StartMarkerType=this.te;a.EndMarkerType=this.te;return a};function Vn(){Pn.apply(this)}x.e(Vn,Pn);w=Vn.prototype;
w.Ed=l;w.Fd=l;w.Gd=l;w.bn=function(a,b){this.Qo(D(a,"start_point"),b);this.xh(D(a,"start_point"),b);this.Ro(D(a,"start_point"),b);this.gu(D(a,"end_point"),b);this.hu(D(a,"end_point"),b);this.iu(D(a,"end_point"),b)};w.gu=function(a,b){this.Ed&&this.Ed.Ng(D(a,"label"))&&(this.Ed=this.Ed.copy(),this.Ed.gi(D(a,"label"),b))};w.hu=function(a,b){this.Fd&&this.Fd.Ng(D(a,"marker"))&&(this.Fd=this.Fd.copy(),this.Fd.gi(D(a,"marker"),b))};
w.iu=function(a,b){this.Gd&&this.Gd.Ng(D(a,"tooltip"))&&(this.Gd=this.Gd.copy(),this.Gd.gi(D(a,"tooltip"),b))};w.Rh=function(a){Vn.b.Rh.call(this,a);a.Ed=this.Ed;a.Fd=this.Fd;a.Gd=this.Gd};w.tb=function(){Vn.b.tb.call(this);this.a.add("%SeriesYRangeMax",-Number.MAX_VALUE);this.a.add("%SeriesYRangeMin",Number.MAX_VALUE);this.a.add("%SeriesYRangeSum",0)};
w.Aa=function(a){switch(a){case "%SeriesYRangeMax":case "%SeriesYRangeMin":case "%SeriesYRangeSum":return qm(this.Xa)?3:2}return Vn.b.Aa.call(this,a)};w.wh=function(a){var b=a.a;Rd(b,"%DataPlotYRangeSum",this.a.get("%SeriesYRangeSum"));this.a.get("%SeriesYRangeMax")>b.get("%DataPlotYRangeMax")&&b.add("%DataPlotYRangeMax",this.a.get("%SeriesYRangeMax"));this.a.get("%SeriesYRangeMin")<b.get("%DataPlotYRangeMin")&&b.add("%DataPlotYRangeMin",this.a.get("%SeriesYRangeMin"));Vn.b.wh.call(this,a)};
w.nd=function(a){Vn.b.nd.call(this,a);Rd(this.a,"%SeriesYRangeSum",a.hd);a.hd>this.a.get("%SeriesYRangeMax")&&this.a.add("%SeriesYRangeMax",a.hd);a.hd<this.a.get("%SeriesYRangeMin")&&this.a.add("%SeriesYRangeMin",a.hd)};w.vh=function(){Vn.b.vh.call(this)};w.Va=function(a){a=Vn.b.Va.call(this,a);a.YRangeSum=this.a.get("%SeriesRangeSum");a.YRangeMax=this.a.get("%SeriesRangeMax");a.YRangeMin=this.a.get("%SeriesRangeMin");return a};function Wn(){Mn.apply(this)}x.e(Wn,Mn);w=Wn.prototype;w.Ed=l;w.Fd=l;
w.Gd=l;w.bn=function(a,b){this.Qo(D(a,"start_point"),b);this.xh(D(a,"start_point"),b);this.Ro(D(a,"start_point"),b);this.gu(D(a,"end_point"),b);this.hu(D(a,"end_point"),b);this.iu(D(a,"end_point"),b)};w.gu=function(a,b){(this.Ed=this.dr())&&(a&&B(a,"label_settings")?this.Ed.Ee(D(a,"label_settings"),b):this.Ed.lf(new Z))};w.hu=function(a,b){(this.Fd=this.Cl())&&(a&&B(a,"marker_settings")?this.Fd.Ee(D(a,"marker_settings"),b):this.Fd.lf(new Z))};
Jn.prototype.iu=function(a,b){(this.Gd=new zn)&&(a&&B(a,"tooltip_settings")?this.Gd.Ee(D(a,"tooltip_settings"),b):this.Gd.lf(new Z))};Jn.prototype.Rh=function(a){Jn.b.Rh.call(this,a);a.Ed=this.Ed;a.Fd=this.Fd;a.Gd=this.Gd};Wn.prototype.qE=o();function Xn(){Nn.apply(this)}x.e(Xn,Tn);Xn.prototype.Bm=0;Xn.prototype.Ol=q("Bm");Xn.prototype.mq=p("Bm");function Yn(){Pn.apply(this)}x.e(Yn,Qn);w=Yn.prototype;w.ml=NaN;w.Bm=0;w.mq=p("Bm");w.hm=u(i);w.f=function(a,b){Yn.b.f.call(this,a,b);Zn(this,a)};w.zg=function(){this.ml=0<this.Xa.O().K?this.Xa.O().K:0};w.Id=function(){var a=new Xn;a.mq(this.Bm);return a};function $n(){Kn.apply(this)}x.e($n,Mn);w=$n.prototype;w.Bm=0;w.mq=p("Bm");w.Ur=n;w.uu=NaN;
w.f=function(a,b){$n.b.f.call(this,a,b);B(a,"point_width")&&(this.Ur=i,this.uu=J(a,"point_width"));Zn(this,a)};function Zn(a,b){B(b,"shape_type")&&a.mq(Pm(N(b,"shape_type")))}w.xD=function(a){return this.D.jz?(this.RE?this.D.k().width:1)*this.ts:this.Ur?this.uu:a.ne.Rt};w.Sf=function(){var a=new Yn;a.ag(0);a.ok=0;a.mq(this.Bm);return a};w.Vf=u("bar_series");w.Ib=u("bar_style");w.Hb=function(){switch(this.Bm){case 3:return this.D.Mc?new cn:new dn;default:return new bn}};
Xn.prototype.Lf=function(a,b,c,e){b=this.Jk?this.l.Sb.C.Ci.py(b):this.l.Sb.C.Ci.Ay(b);10==b?Xn.b.Lf.call(this,a,b,c,e):this.Oa.Lf(a,b,c,e)};function ao(){Un.apply(this)}x.e(ao,Un);ao.prototype.Ol=u(0);ao.prototype.p=function(a){ao.b.p.call(this,a);return this.v};
ao.prototype.$c=function(){var a=new P,b=new P,c=this.l,e=this.Db().xD(this)/2;c.Sb.transform(this,this.hb(),a,-e);c.Xa.transform(this,this.Pb,a);c.Sb.transform(this,this.hb(),b,e);c.Xa.transform(this,this.Lb,b);c=Math.min(a.x,b.x);e=Math.min(a.y,b.y);this.j=new R(c,e,Math.max(a.x,b.x)-c,Math.max(a.y,b.y)-e)};function bo(){Vn.apply(this);this.Ur=n}x.e(bo,Vn);bo.prototype.Id=function(){return new ao};function co(){Wn.apply(this)}x.e(co,Wn);w=co.prototype;w.Ur=l;w.uu=l;
w.f=function(a){co.b.f.call(this,a);B(a,"point_width")&&(this.Ur=i);this.uu=J(a,"point_width")};w.xD=function(a){return this.Ur?this.uu:a.ne.Rt};w.Hb=function(){return new fn};w.Sf=function(){var a=new bo;a.ag(1);a.ok=1;return a};w.Vf=u("range_bar_series");w.Ib=u("bar_style");function eo(){}x.e(eo,jf);eo.prototype.Ga=function(){fo(this.g,this.q)};function go(){}x.e(go,kf);go.prototype.Ga=function(){fo(this.g,this.q)};function ho(){}x.e(ho,lf);ho.prototype.Lc=function(){var a=this.g.ea();a.im()&&(this.gb=new eo,this.gb.p(this.g,this));a.Jh()&&(this.jb=new go,this.jb.p(this.g,this))};ho.prototype.createElement=function(){var a=oc(this.g.o(),"circle");a.setAttribute("cx",g);a.setAttribute("cy",g);a.setAttribute("r",g);return a};ho.prototype.Ga=function(){fo(this.g,this.q)};
function io(){Z.call(this)}x.e(io,nf);io.prototype.dc=function(){return new ho};function jo(){Sn.apply(this);this.Sd=new P}x.e(jo,Sn);w=jo.prototype;w.uh=l;w.Yo=q("uh");w.gd=l;w.xd=q("gd");w.fC=l;w.gC=l;w.ij=l;w.Sd=l;w.oe=q("Sd");
w.$c=function(){this.l.Sb.transform(this,this.Qa,this.Sd);this.l.Xa.transform(this,this.vb,this.Sd);this.fC=this.Sd.x;this.gC=this.Sd.y;this.gd=this.Db().Yo(this.uh)/2;this.ij=0;this.j=new R(this.fC-this.gd,this.gC-this.gd,2*this.gd,2*this.gd);this.j.x+=this.ij;this.j.y+=this.ij;this.j.width-=2*this.ij;this.j.height-=2*this.ij;this.sa.xc()&&this.sa.xc().isEnabled()&&(this.ij=this.sa.xc().za()/2)};
function fo(a,b){a.$c();b.setAttribute("cx",a.fC);b.setAttribute("cy",a.gC);b.setAttribute("r",Math.abs(a.gd-a.ij));a.j.x-=a.ij;a.j.y-=a.ij;a.j.width+=2*a.ij;a.j.height+=2*a.ij}w.Pg=function(a){jo.b.Pg.call(this,a);this.uh=J(a,"size");if(isNaN(this.uh))this.cb=i;else if(a=this.Db(),this.uh>a.Dz&&(a.Dz=this.uh),this.uh<a.qv)a.qv=this.uh};w.ej=function(a){jo.b.ej.call(this,a);this.cb=this.cb||!B(a,"size")||isNaN(J(a,"size"));this.Db().kI&&0>J(a,"size")&&(this.cb=i)};
w.tb=function(){jo.b.tb.call(this);this.a.add("%BubbleSize",0)};w.Aa=function(a){switch(a){case "%BubbleSize":case "%BubbleSizePercentOfSeries":case "%BubbleSizePercentOfTotal":case "%BubbleSizePercentOfCategory":return 2}return jo.b.Aa.call(this,a)};w.le=function(){jo.b.le.call(this);this.a.add("%BubbleSize",this.uh)};
w.Ba=function(a){Qd(this.a,"%BubbleSizePercentOfSeries")||this.a.add("%BubbleSizePercentOfSeries",100*(this.uh/this.l.Uf("%SeriesBubbleSizeSum")));Qd(this.a,"%BubbleSizePercentOfTotal")||this.a.add("%BubbleSizePercentOfTotal",100*(this.uh/this.G().Ba("%DataPlotBubbleSizeSum")));!Qd(this.a,"%BubbleSizePercentOfCategory")&&this.Jd&&this.a.add("%BubbleSizePercentOfCategory",100*(this.uh/0));return jo.b.Ba.call(this,a)};
w.Va=function(a){a=jo.b.Va.call(this,a);a.BubbleSize=this.uh;a.BubbleSizePercentOfSeries=this.a.get("%BubbleSizePercentOfSeries");a.BubbleSizePercentOfTotal=this.a.get("%BubbleSizePercentOfTotal");a.BubbleSizePercentOfCategory=this.a.get("%BubbleSizePercentOfCategory");return a};function ko(){Qn.apply(this)}x.e(ko,Qn);w=ko.prototype;w.Fn=u(n);w.Id=function(){return new jo};
w.tb=function(){ko.b.tb.call(this);this.a.add("%SeriesBubbleSizeSum",0);this.a.add("%SeriesBubbleMaxSize",-Number.MAX_VALUE);this.a.add("%SeriesBubbleMinSize",Number.MAX_VALUE)};w.Aa=function(a){switch(a){case "%SeriesBubbleSizeSum":case "%SeriesBubbleMaxSize":case "%SeriesBubbleMinSize":case "%SeriesBubbleSizeAverage":case "%SeriesBubbleSizeMedian":case "%SeriesBubbleSizeMode":return 2}return ko.b.Aa.call(this,a)};
w.wh=function(a){ko.b.wh.call(this,a);a=a.a;Rd(a,"%DataPlotBubbleSizeSum",this.a.get("%SeriesBubbleSizeSum"));Rd(a,"%DataPlotBubblePointCount",this.R.length);this.a.get("%SeriesBubbleMaxSize")>a.get("%DataPlotBubbleMaxSize")&&a.add("%DataPlotBubbleMaxSize",this.a.get("%SeriesBubbleMaxSize"));this.a.get("%SeriesBubbleMinSize")<a.get("%DataPlotBubbleMinSize")&&a.add("%DataPlotBubbleMinSize",this.a.get("%SeriesBubbleMinSize"))};
w.nd=function(a){ko.b.nd.call(this,a);Rd(this.a,"%SeriesBubbleSizeSum",a.Yo());a.Yo()>this.a.get("%SeriesBubbleMaxSize")&&this.a.add("%SeriesBubbleMaxSize",a.Yo());a.Yo()<this.a.get("%SeriesBubbleMinSize")&&this.a.add("%SeriesBubbleMinSize",a.Yo())};w.Mt=function(){lo(this,this.Sb.a);lo(this,this.Xa.a);ko.b.Mt.call(this)};
function lo(a,b){Rd(b,"%AxisBubbleSizeSum",a.a.get("%SeriesBubbleSizeSum"));a.a.get("%SeriesBubbleMaxSize")>b.get("%AxisBubbleMax")&&b.add("%AxisBubbleSizeMax",a.a.get("%SeriesBubbleMaxSize"));a.a.get("%SeriesBubbleMinSize")<b.get("%AxisBubbleSizeMin")&&b.add("%AxisBubbleSizeMin",a.a.get("%SeriesBubbleMinSize"))}w.vh=function(){ko.b.vh.call(this);this.a.add("%SeriesBubbleSizeAverage",this.Uf("%SeriesBubbleSizeSum")/this.R.length)};
w.Va=function(a){a=ko.b.Va.call(this,a);a.BubbleSizeSum=this.a.get("%SeriesBubbleSizeSum");a.BubbleMaxSize=this.a.get("%SeriesBubbleSizeMax");a.BubbleMinSize=this.a.get("%SeriesBubbleSizeMin");a.BubbleSizeAverage=this.a.get("%SeriesBubbleSizeAverage");a.BubbleSizeMedian=this.a.get("%SeriesBubbleSizeMedian");a.BubbleSizeMode=this.a.get("%SeriesBubbleSizeMode");return a};function mo(){Mn.apply(this)}x.e(mo,Mn);w=mo.prototype;w.QE=n;w.sl=0;w.qv=Number.MAX_VALUE;w.Dz=-Number.MAX_VALUE;w.OE=i;w.Qn=0.2;
w.PE=i;w.Sn=0.01;w.kI=i;w.Yo=function(a){var b=Math.min(this.G().k().width,this.G().k().height);if(0<this.sl)return this.QE?a*this.sl*b:a*this.sl;var c=this.PE?b*this.Sn:this.Sn,b=this.OE?b*this.Qn:this.Qn;return isNaN(a)||this.qv==this.Dz?b:c+(a-this.qv)/(this.Dz-this.qv)*(b-c)};
w.f=function(a){if(a&&(mo.b.f.call(this,a),B(a,"maximum_bubble_size")&&(this.Qn=D(a,"maximum_bubble_size"),Db(this.Qn)?(this.OE=i,this.Qn=Eb(this.Qn)):(this.OE=n,this.Qn=H(this.Qn))),B(a,"minimum_bubble_size")&&(this.Sn=D(a,"minimum_bubble_size"),Db(this.Sn)?(this.PE=i,this.Sn=Eb(this.Sn)):(this.PE=n,this.Sn=H(this.Sn))),B(a,"bubble_size_multiplier")&&(this.sl=D(a,"bubble_size_multiplier"),Db(this.sl)?(this.QE=i,this.sl=Eb(this.sl)):(this.QE=n,this.sl=H(this.sl))),B(a,"display_negative_bubbles")))this.kI=
I(a,"display_negative_bubbles")};w.Hb=function(){return new io};w.Sf=function(){var a=new ko;a.type=12;a.VL=12;return a};w.Vf=u("bubble_series");w.Ib=u("bubble_style");function no(){}x.e(no,pe);no.prototype.createElement=function(){return this.Oa.createElement()};no.prototype.Re=function(a){var b=this.g.o();oo(a)?(a=Y(a.Ab,b,this.g.k(),this.g.oa().oa()),a+=Vc()):a=Xc();this.q.setAttribute("style",a)};no.prototype.Yc=function(a){this.Oa.Yc(this.q,a)};function po(){}x.e(po,te);w=po.prototype;w.ef=l;w.Lc=function(){this.g.ea().Wn()&&(this.ef=new no,this.ef.p(this.g,this))};w.ge=function(){this.ef&&this.g.Ra().appendChild(this.ef.q)};
w.update=function(a,b){this.ef&&this.ef.update(a,b)};w.Yc=function(a,b){b.Qp()?a.setAttribute("filter",Dc(this.g.o().xk,b.Kl())):a.removeAttribute("filter")};function qo(a,b){ue.call(this,a,b)}x.e(qo,ve);qo.prototype.Ab=l;function oo(a){return a.Ab&&a.Ab.isEnabled()}qo.prototype.f=function(a){if(!a)return a;a=qo.b.f.call(this,a);B(a,"line")&&K(D(a,"line"))&&(this.Ab=new qd,this.Ab.f(D(a,"line")));return a};function ro(){Z.call(this)}x.e(ro,Z);ro.prototype.Ub=function(){return qo};
ro.prototype.dc=function(){return new po};ro.prototype.Wn=function(){return oo(this.ta)||oo(this.ec)||oo(this.ic)||oo(this.Rb)||oo(this.gc)||oo(this.rc)};function so(){}x.e(so,no);so.prototype.Ga=function(){this.g.Zd();this.g.Yl&&this.q.setAttribute("points",this.Oa.Tg())};function to(){}x.e(to,po);to.prototype.Lc=function(){this.g.ea().Wn()&&(this.ef=new so,this.ef.p(this.g,this))};to.prototype.createElement=function(){return Qc(this.g.o())};to.prototype.Tg=function(){for(var a=this.g.$,b=a.length,c=Rc(a[0].x,a[0].y),e=1;e<b;e++)c+=Rc(a[e].x,a[e].y);return c};function uo(){Z.call(this)}x.e(uo,ro);uo.prototype.dc=function(){return new to};function vo(){Nn.apply(this);this.ma=new P}x.e(vo,Sn);w=vo.prototype;w.KJ=n;w.gm=i;w.qe=n;w.Ge=n;w.Yl=n;w.$=l;w.ma=l;w.p=function(a){vo.b.p.call(this,a);return this.v};w.Zd=function(){this.sp||this.jp();this.j=new R(this.ma.x,this.ma.y,0,0);this.Yl&&this.gg()};
w.jp=function(){this.KJ||(this.qe=0<this.U&&this.l.da(this.U-1)&&(!this.l.da(this.U-1).cb||!this.G().ui),this.Ge=this.U<this.l.wd()-1&&this.l.da(this.U+1)&&(!this.l.da(this.U+1).cb||!this.G().ui),this.Yl=this.qe||this.Ge,this.KJ=i);this.Bw();this.l.Xa.transform(this,this.vb,this.ma)};w.Bw=function(){this.l.Sb.transform(this,this.Qa,this.ma)};
w.gg=function(){this.$=[];var a,b;this.qe&&(a=this.l.da(this.U-1),a=a.ma,b=new P,b.x=(a.x+this.ma.x)/2,b.y=(a.y+this.ma.y)/2,this.$.push(b));this.$.push(this.ma);this.Ge&&(a=this.l.da(this.U+1),a.jp(),a.gm=n,a=a.ma,b=new P,b.x=(a.x+this.ma.x)/2,b.y=(a.y+this.ma.y)/2,this.$.push(b))};function wo(){Pn.apply(this)}x.e(wo,Qn);wo.prototype.Id=function(){return new vo};wo.prototype.Fn=u(n);wo.prototype.hm=u(i);function xo(){Kn.apply(this)}x.e(xo,Mn);w=xo.prototype;w.Js=n;
w.f=function(a){xo.b.f.call(this,a);B(a,"shift_step_line")&&(this.Js=I(a,"shift_step_line"))};w.Sf=function(a){var b;switch(a){case 5:b=new yo;break;case 4:b=new zo;break;default:case 2:b=new wo}b.ag(a);b.ok=2;return b};w.Hb=function(){return new uo};w.Vf=u("line_series");w.Ib=u("line_style");function yo(){Pn.apply(this)}x.e(yo,wo);yo.prototype.Id=function(){return new Ao};function Ao(){vo.call(this)}x.e(Ao,vo);
Ao.prototype.gg=function(){this.$=[];var a,b;this.qe&&(a=this.l.da(this.U-1).ma,b=this.Mc?new P(this.ma.x,(a.y+this.ma.y)/2):new P((a.x+this.ma.x)/2,this.ma.y),this.$.push(b));this.$.push(this.ma);this.Ge&&(this.l.da(this.U+1).jp(),this.l.da(this.U+1).gm=n,a=this.l.da(this.U+1).ma,b=this.Mc?new P(a.x,this.ma.y):new P(this.ma.x,a.y),this.$.push(b),b=this.Mc?new P(a.x,(a.y+this.ma.y)/2):new P((a.x+this.ma.x)/2,a.y),this.$.push(b))};
Ao.prototype.Bw=function(){Ao.b.Bw.call(this);if(this.Yb&&this.Db().Js){var a=this.l.Sb,b=a.O().kb(1)-a.O().kb(0.5);a.transform(this,this.Qa,this.ma,-b)}};function zo(){Pn.apply(this)}x.e(zo,wo);zo.prototype.Id=function(){return new Bo};function Bo(){vo.call(this)}x.e(Bo,vo);
Bo.prototype.gg=function(){this.$=[];var a,b;this.qe&&(a=this.l.da(this.U-1).ma,b=this.Mc?new P(a.x,(a.y+this.ma.y)/2):new P((a.x+this.ma.x)/2,a.y),this.$.push(b),b=this.Mc?new P(a.x,this.ma.y):new P(this.ma.x,a.y),this.$.push(b));this.$.push(this.ma);this.Ge&&(this.l.da(this.U+1).jp(),this.l.da(this.U+1).mF=n,a=this.l.da(this.U+1).ma,b=this.Mc?new P(this.ma.x,(a.y+this.ma.y)/2):new P((a.x+this.ma.x)/2,this.ma.y),this.$.push(b))};
Bo.prototype.Bw=function(){Bo.b.Bw.call(this);if(this.Yb&&this.Db().Js){var a=this.l.Sb,b=a.O().kb(1)-a.O().kb(0.5);a.transform(this,this.Qa,this.ma,-b)}};function Co(){}x.e(Co,gf);Co.prototype.createElement=function(){return this.Oa.Kx()};Co.prototype.Ga=function(){var a=this.Oa;this.q.setAttribute("points",a.g.dJ(a.g.o()))};function Do(){}x.e(Do,hf);Do.prototype.createElement=function(){return this.Oa.Jx()};Do.prototype.Ga=function(){this.q.setAttribute("d",this.Oa.g.$I())};function Eo(){}x.e(Eo,hf);Eo.prototype.createElement=function(){return this.Oa.$t()};Eo.prototype.Ga=function(){var a=this.Oa;this.q.setAttribute("d",a.g.SD(a.g.o()))};
function Fo(){}x.e(Fo,kf);Fo.prototype.createElement=function(){return this.Oa.$t()};Fo.prototype.Ga=function(){var a=this.Oa;this.q.setAttribute("d",a.g.SD(a.g.o()))};function Go(){}x.e(Go,te);w=Go.prototype;w.oo=l;w.Tv=l;w.gb=l;w.jb=l;w.Lc=function(){var a=this.g.ea();a.Wn()&&(this.oo=new Co,this.oo.p(this.g,this));a.wv()&&(this.gb=new Eo,this.gb.p(this.g,this),this.Tv=new Do,this.Tv.p(this.g,this));a.Jh()&&(this.jb=new Fo,this.jb.p(this.g,this))};
w.ge=function(){this.gb&&(this.g.Ra().appendChild(this.gb.q),this.g.Ra().appendChild(this.Tv.q));this.oo&&this.g.Ra().appendChild(this.oo.q);this.jb&&this.g.Ra().appendChild(this.jb.q)};w.Kx=function(){return this.g.Kx(this.g.o())};w.Jx=function(){return this.g.Jx(this.g.o())};w.$t=function(){return this.g.$t(this.g.o())};w.update=function(a,b){this.gb&&(this.gb.update(a,b),this.Tv.update(a,b));this.oo&&this.oo.update(a,b);this.jb&&this.jb.update(a,b)};
w.Yc=function(a,b){b.Qp()?a.setAttribute("filter",Dc(this.g.o().xk,b.Kl())):a.removeAttribute("filter")};function Ho(a,b){ue.call(this,a,b)}x.e(Ho,mf);Ho.prototype.Ux=function(a){B(a,"line")&&(this.hc=new qd,this.hc.f(D(a,"line")))};function Io(){Z.call(this)}x.e(Io,nf);Io.prototype.Ub=function(){return Ho};Io.prototype.dc=function(){return new Go};function Jo(){}x.e(Jo,gf);Jo.prototype.update=function(a,b){Jo.b.update.call(this,a,b)};Jo.prototype.Re=function(a){Ko(a)&&Jo.b.Re.call(this,a)};
Jo.prototype.Ga=function(){for(var a=this.Oa.g,b="",c=a.nf.length,e=0;e<c;e++)b+=Rc(a.nf[e].x,a.nf[e].y);this.q.setAttribute("points",b)};function Lo(){}x.e(Lo,Go);w=Lo.prototype;w.Ct=l;w.Lc=function(){Lo.b.Lc.call(this);if(Ko(this.g.ea().ta)||Ko(this.g.ea().ec)||Ko(this.g.ea().ic)||Ko(this.g.ea().Rb)||Ko(this.g.ea().gc)||Ko(this.g.ea().rc))this.Ct=new Jo,this.Ct.p(this.g,this,this.rC)};
w.ge=function(){this.gb&&(this.g.Ra().appendChild(this.gb.q),this.g.Ra().appendChild(this.Tv.q));this.oo&&this.g.Ra().appendChild(this.oo.q);this.Ct&&this.g.Ra().appendChild(this.Ct.q);this.jb&&this.g.Ra().appendChild(this.jb.q)};w.rC=function(){return this.g.rC(this.g.o())};w.update=function(a,b){Lo.b.update.call(this,a,b);a&&Ko(a)&&this.Ct.update(a,b)};function Mo(a,b){ue.call(this,a,b)}x.e(Mo,Ho);Mo.prototype.ey=l;function Ko(a){return a.ey&&a.ey.isEnabled()}
Mo.prototype.Ux=function(a){K(D(a,"start_line"))&&(this.hc=new qd,this.hc.f(D(a,"start_line")));K(D(a,"end_line"))&&(this.ey=new qd,this.ey.f(D(a,"end_line")))};function No(){Z.call(this)}x.e(No,nf);No.prototype.Ub=function(){return Mo};No.prototype.dc=function(){return new Lo};function Oo(){Kn.apply(this)}x.e(Oo,Mn);Oo.prototype.Hb=function(){return new Io};Oo.prototype.Vf=u("area_series");Oo.prototype.Ib=u("area_style");Oo.prototype.Sf=function(a){var b;switch(a){case 9:b=new Po;break;case 8:b=new Qo;break;case 6:b=new Ro;break;default:b=new Ro}b.ag(a);b.ok=2;return b};function Ro(){Pn.apply(this)}x.e(Ro,wo);w=Ro.prototype;w.nF=n;w.Zv=p("nF");w.Iz=q("nF");w.hm=u(i);w.ml=NaN;w.I=l;w.S=l;
w.Dt=function(){this.I=new P(Number.MAX_VALUE,Number.MAX_VALUE);this.S=new P(-Number.MAX_VALUE,-Number.MAX_VALUE);for(var a=this.wd(),b=0;b<a;b++){var c=this.da(b);c&&!c.cb&&(c.Yv(i),c.$v(i),c.Zd(),this.Dy(c),c.Od==l?(this.I.x=Math.min(c.Fb.x,c.vc.x,this.I.x),this.I.y=Math.min(c.Fb.y,c.vc.y,this.I.y),this.S.x=Math.max(c.Fb.x,c.vc.x,this.S.x),this.S.y=Math.max(c.Fb.y,c.vc.y,this.S.y)):this.Dy(c.Od))}this.nF=n};
w.Dy=function(a){for(var a=a.$,b=0;b<a.length;b++)this.I.x=Math.min(a[b].x,this.I.x),this.I.y=Math.min(a[b].y,this.I.y),this.S.x=Math.max(a[b].x,this.S.x),this.S.y=Math.max(a[b].y,this.S.y)};w.zg=function(){Ro.b.zg.call(this);this.ml=0<this.Xa.O().K?this.Xa.O().K:0;this.Dt()};w.jm=function(){this.Dt()};w.Id=function(){return new So};function So(){vo.call(this)}x.e(So,vo);w=So.prototype;w.vc=l;w.Fb=l;w.Pk=i;w.Yv=p("Pk");w.Rk=i;w.$v=p("Rk");w.gm=l;w.mF=q("gm");w.Xv=p("gm");
w.p=function(a){if(!this.cb)return this.l.Zv(this.F.Ze()),So.b.p.call(this,a),this.v};w.Gf=function(){this.jp();this.Rk=n};w.jp=function(){this.Rk&&(So.b.jp.call(this),this.Yl&&!this.Od&&(this.vc=new P,this.Fb=new P,this.l.Xa.transform(this,this.l.ml,this.vc),this.l.Xa.transform(this,this.l.ml,this.Fb)))};
w.gg=function(){if(this.Pk){this.$=[];var a,b;this.qe?(a=this.l.da(this.U-1).ma,b=new P,b.x=(a.x+this.ma.x)/2,b.y=(a.y+this.ma.y)/2,this.Od==l&&(this.Mc?this.vc.y=b.y:this.vc.x=b.x),this.$.push(b)):this.Od==l&&(this.Mc?this.vc.y=this.ma.y:this.vc.x=this.ma.x);this.$.push(this.ma);this.Ge?(this.l.da(this.U+1).Gf(),this.l.da(this.U+1).Xv(n),a=this.l.da(this.U+1).ma,b=new P,b.x=(a.x+this.ma.x)/2,b.y=(a.y+this.ma.y)/2,this.$.push(b),this.Od==l&&(this.Mc?this.Fb.y=b.y:this.Fb.x=b.x)):this.Od==l&&(this.Mc?
this.Fb.y=this.ma.y:this.Fb.x=this.ma.x)}this.Pk=n};w.Kx=function(a){return Qc(a)};w.dJ=function(){for(var a=this.$.length,b=Rc(this.$[0].x,this.$[0].y),c=0;c<a;c++)b+=Rc(this.$[c].x,this.$[c].y);return b};w.Jx=function(a){return a.ba()};
w.$I=function(){if(!this.Fb)return"M 0 0";var a=this.$[this.$.length-1],b;this.Mc?(b=T(this.Fb.x,a.y-1),b+=V(this.Fb.x+(a.x-this.Fb.x),a.y-1),b+=V(this.Fb.x+(a.x-this.Fb.x),a.y+1),b+=V(this.Fb.x,a.y+1),b+=V(this.Fb.x,a.y)):(b=T(a.x-1,a.y),b+=V(a.x+1,a.y),b+=V(a.x+1,a.y+(this.Fb.y-a.y)),b+=V(a.x-1,a.y+(this.Fb.y-a.y)),b+=V(a.x-1,a.y));return b};w.$t=function(a){return a.ba()};
w.SD=function(){for(var a=this.$.length,b=T(this.$[0].x,this.$[0].y),c=1;c<a;c++)b+=V(this.$[c].x,this.$[c].y);if(this.Od){for(var a=this.Od,c="",e=a.$.length-1;0<=e;e--)c+=V(a.$[e].x,a.$[e].y);a=c}else a=""+V(this.Fb.x,this.Fb.y),a+=V(this.vc.x,this.vc.y);return b+a+" Z"};function Po(){Pn.apply(this)}x.e(Po,Ro);Po.prototype.Id=function(){return new To};function To(){vo.call(this)}x.e(To,So);
To.prototype.gg=function(){this.$=[];var a,b;this.qe?(a=this.l.da(this.U-1).ma,b=this.Mc?new P(this.ma.x,(a.y+this.ma.y)/2):new P((a.x+this.ma.x)/2,this.ma.y),this.$.push(b),this.Od==l&&(this.Mc?this.vc.y=b.y:this.vc.x=b.x)):this.Od==l&&(this.Mc?this.vc.y=this.ma.y:this.vc.x=this.ma.x);this.$.push(this.ma);this.Ge?(this.l.da(this.U+1).Gf(),this.l.da(this.U+1).Xv(n),a=this.l.da(this.U+1).ma,b=this.Mc?new P(a.x,this.ma.y):new P(this.ma.x,a.y),this.$.push(b),b=this.Mc?new P(a.x,(a.y+this.ma.y)/2):new P((a.x+
this.ma.x)/2,a.y),this.$.push(b),this.Od==l&&(this.Mc?this.Fb.y=b.y:this.Fb.x=b.x)):this.Od==l&&(this.Mc?this.Fb.y=this.ma.y:this.Fb.x=this.ma.x)};function Qo(){Pn.apply(this)}x.e(Qo,Ro);Qo.prototype.Id=function(){return new Uo};function Uo(){vo.call(this)}x.e(Uo,So);
Uo.prototype.gg=function(){this.$=[];var a,b;this.qe?(a=this.l.da(this.U-1).ma,b=this.Mc?new P(a.x,(a.y+this.ma.y)/2):new P((a.x+this.ma.x)/2,a.y),this.$.push(b),this.Od==l&&(this.Mc?this.vc.y=b.y:this.vc.x=b.x),b=this.Mc?new P(a.x,this.ma.y):new P(this.ma.x,a.y),this.$.push(b)):this.Od==l&&(this.Mc?this.vc.y=this.ma.y:this.vc.x=this.ma.x);this.$.push(this.ma);this.Ge?(this.l.da(this.U+1).Gf(),this.l.da(this.U+1).Xv(n),a=this.l.da(this.U+1).ma,b=this.Mc?new P(this.ma.x,(a.y+this.ma.y)/2):new P((a.x+
this.ma.x)/2,this.ma.y),this.$.push(b),this.Od==l&&(this.Mc?this.Fb.y=b.y:this.Fb.x=b.x)):this.Od==l&&(this.Mc?this.Fb.y=this.ma.y:this.Fb.x=this.ma.x)};function Vo(){Un.apply(this);this.gm=i;this.Ge=this.qe=this.xp=n;this.oh=new P;this.Qg=new P;this.Rk=this.Pk=i}x.e(Vo,Un);w=Vo.prototype;w.gm=l;w.mF=q("gm");w.Xv=p("gm");w.xp=l;w.oh=l;w.Qg=l;w.Pk=l;w.Yv=p("Pk");w.Rk=l;w.$v=p("Rk");w.xJ=l;w.nf=l;w.sf=l;w.qe=l;w.Ge=l;
w.Gf=function(){if(this.Rk){var a=this.l;this.xp||(this.qe=0<this.U&&this.l.da(this.U-1)&&!this.l.da(this.U-1).cb,this.Ge=this.U<this.l.wd()-1&&this.l.da(this.U+1)&&!this.l.da(this.U+1).cb,this.xJ=this.qe||this.Ge,this.xp=i);a.Sb.transform(this,this.hb(),this.oh);a.Xa.transform(this,this.Pb,this.oh);a.Sb.transform(this,this.hb(),this.Qg);a.Xa.transform(this,this.Lb,this.Qg);var a=Math.min(this.oh.x,this.Qg.x),b=Math.min(this.oh.y,this.Qg.y);this.j=new R(a,b,Math.max(this.oh.x,this.Qg.x)-a,Math.max(this.oh.y,
this.Qg.y)-b)}this.Rk=n};
w.gg=function(){if(this.Pk){this.nf=[];this.sf=[];var a=this.l,b,c;this.qe&&(b=a.da(this.U-1).oh,c=new P,c.x=(b.x+this.oh.x)/2,c.y=(b.y+this.oh.y)/2,this.nf.push(c));this.nf.push(this.oh);this.Ge&&(a.da(this.U+1).Gf(),a.da(this.U+1).Xv(n),b=a.da(this.U+1).oh,c=new P,c.x=(b.x+this.oh.x)/2,c.y=(b.y+this.oh.y)/2,this.nf.push(c),b=a.da(this.U+1).Qg,c=new P,c.x=(b.x+this.Qg.x)/2,c.y=(b.y+this.Qg.y)/2,this.sf.push(c));this.sf.push(this.Qg);this.qe&&(b=a.da(this.U-1).Qg,c=new P,c.x=(b.x+this.Qg.x)/2,c.y=
(b.y+this.Qg.y)/2,this.sf.push(c))}this.Pk=n};w.$t=function(a){return a.ba()};w.SD=function(){var a,b=T(this.nf[0].x,this.nf[0].y);for(a=1;a<this.nf.length;a++)b+=V(this.nf[a].x,this.nf[a].y);for(a=0;a<this.sf.length;a++)b+=V(this.sf[a].x,this.sf[a].y);return b};w.Kx=function(a){return Qc(a)};w.dJ=function(){for(var a=Rc(this.sf[0].x,this.sf[0].y),b=1;b<this.sf.length;b++)a+=Rc(this.sf[b].x,this.sf[b].y);return a};w.rC=function(a){return Qc(a)};w.Jx=function(a){return a.ba()};
w.$I=function(){var a=this.nf[this.nf.length-1],b=this.sf[0],c;this.Mc?(c=T(a.x,a.y),c+=V(a.x,a.y+0.1),c+=V(b.x,a.y+0.1),c+=V(b.x,b.y-0.1)):(c=T(a.x,a.y),c+=V(a.x+0.1,a.y),c+=V(a.x+0.1,b.y),c+=V(b.x-0.1,b.y));return c};function Wo(){Vn.apply(this);this.Vn=i}x.e(Wo,Vn);w=Wo.prototype;w.Vn=l;w.Iz=q("Vn");w.Zv=p("Vn");w.v=l;w.Ra=q("v");w.hm=u(i);w.Fn=u(n);w.Id=function(){return new Vo};
w.Dt=function(){if(this.Vn)for(var a=new P(Number.MAX_VALUE,Number.MAX_VALUE),b=new P(-Number.MAX_VALUE,-Number.MAX_VALUE),c=0;c<this.R.length;c++){var e=this.R[c];if(!e.cb){e.Yv(i);e.$v(i);e.mF()&&e.Gf();e.xJ&&e.gg();for(var f=0;f<e.nf.length;f++)a.x=Math.min(e.nf[f].x,a.x),a.y=Math.min(e.nf[f].y,a.y),b.x=Math.max(e.nf[f].x,b.x),b.y=Math.max(e.nf[f].y,b.y);for(f=0;f<e.sf.length;f++)a.x=Math.min(e.sf[f].x,a.x),a.y=Math.min(e.sf[f].y,a.y),b.x=Math.max(e.sf[f].x,b.x),b.y=Math.max(e.sf[f].y,b.y)}}};
w.zg=function(){Wo.b.zg.call(this);this.Dt()};w.jm=function(){this.Dt()};function Xo(){Wn.apply(this)}x.e(Xo,Wn);Xo.prototype.Sf=function(a){var b;switch(a){default:case 10:b=new Wo;break;case 11:b=new Wo}b.type=a;b.VL=10;return b};Xo.prototype.Hb=function(){return new No};Xo.prototype.Vf=u("range_area_series");Xo.prototype.Ib=u("range_area_style");function Yo(){}x.e(Yo,pe);w=Yo.prototype;w.dI=l;w.SI=l;w.oL=l;w.p=function(a,b,c,e,f,h){Yo.b.p.call(this,a,b,c);this.dI=e;this.SI=f;this.oL=h};w.Re=function(a){var b="",c=this.g.o();this.dI.call(this.Oa,a)?(a=this.SI.call(this.Oa,a),b+=Y(a,c,this.g.k(),this.g.oa().oa()),b+=Vc()):b+=Xc();this.q.setAttribute("style",b)};w.Ga=function(){this.oL.call(this.Oa,this.q)};w.Yc=function(a){this.Oa.Yc(this.q,a)};function Zo(){}x.e(Zo,pe);
Zo.prototype.Re=function(a){var b=this.g.Fh;if(a.zc(b))var c=this.g.o(),e="",f=this.g.oa().oa(),h=this.g.k(),a=a.yD(b),e=a.Je()?e+od(a.Cb(),c,h,f):e+Vc(),e=a.ud()?e+Y(a.xc(),c,h,f):e+Wc();else e+=Xc();this.q.setAttribute("style",e)};Zo.prototype.Ga=function(){$o(this.Oa,this.q)};Zo.prototype.Yc=function(a){this.Oa.Yc(this.q,a)};function ap(){}x.e(ap,pe);
ap.prototype.Re=function(a){var b=this.g.Fh,c;bp(a,b)&&(a=a.yD(b),c=a.jf()?tc(a.Fe(),this.g.o(),this.g.$e,this.g.oa().oa()):Xc());this.q.setAttribute("style",c)};ap.prototype.Ga=function(){$o(this.Oa,this.q)};ap.prototype.Yc=function(a){this.Oa.Yc(this.q,a)};function cp(a,b){ue.call(this,a,b)}x.e(cp,ue);w=cp.prototype;w.kw=l;w.Fr=q("kw");w.Oz=function(){return this.kw&&this.kw.isEnabled()};w.Yn=l;w.Cr=q("Yn");w.Nz=function(){return this.Yn&&this.Yn.isEnabled()};w.Tm=l;w.wr=q("Tm");
w.Lz=function(){return this.Tm&&this.Tm.isEnabled()};w.f=function(a){a=cp.b.f.call(this,a);if(K(D(a,"line"))){var b=D(a,"line");this.kw=new qd;this.Yn=new qd;this.Tm=new qd;this.kw.f(b);this.Yn.f(b);this.Tm.f(b)}K(D(a,"open_line"))&&(this.Yn||(this.Yn=new qd),this.Yn.f(D(a,"open_line")));K(D(a,"close_line"))&&(this.Tm||(this.Tm=new qd),this.Tm.f(D(a,"close_line")))};function dp(a,b){ue.call(this,a,b);this.Nf=new cp;this.Df=new cp}x.e(dp,ve);w=dp.prototype;w.Nf=l;w.Df=l;
function ep(a,b){return b?a.Nf.Oz():a.Df.Oz()}function fp(a,b){return b?a.Nf.Nz():a.Df.Nz()}function gp(a,b){return b?a.Nf.Lz():a.Df.Lz()}w.Fr=function(a){return a?this.Nf.Fr():this.Df.Fr()};w.Cr=function(a){return a?this.Nf.Cr():this.Df.Cr()};w.wr=function(a){return a?this.Nf.wr():this.Df.wr()};w.f=function(a){if(!a)return a;var b=Nb(a,D(a,"up"),"up"),c=Nb(a,D(a,"down"),"down");this.Nf.f(b);this.Df.f(c);return a};function hp(){}x.e(hp,te);w=hp.prototype;w.Os=l;w.rs=l;w.br=l;
w.Lc=function(){var a=this.g.Fh,b=this.g.ea();if(ep(b.ta,a)||ep(b.ec,a)||ep(b.ic,a)||ep(b.Rb,a)||ep(b.gc,a)||ep(b.rc,a))this.Os=new Yo,this.Os.p(this.g,this,this.bM,this.Oz,this.Fr,this.gO);if(fp(b.ta,a)||fp(b.ec,a)||fp(b.ic,a)||fp(b.Rb,a)||fp(b.gc,a)||fp(b.rc,a))this.rs=new Yo,this.rs.p(this.g,this,this.$L,this.Nz,this.Cr,this.fO);if(gp(b.ta,a)||gp(b.ec,a)||gp(b.ic,a)||gp(b.Rb,a)||gp(b.gc,a)||gp(b.rc,a))this.br=new Yo,this.br.p(this.g,this,this.YL,this.Lz,this.wr,this.dO)};
w.ge=function(){var a=this.g.Ra();this.Os&&a.appendChild(this.Os.q);this.rs&&a.appendChild(this.rs.q);this.br&&a.appendChild(this.br.q)};w.update=function(a,b){b&&this.g.Pq();this.Os&&this.Os.update(a,b);this.rs&&this.rs.update(a,b);this.br&&this.br.update(a,b)};w.Yc=function(a,b){b.Qp()?a.setAttribute("filter",Dc(this.g.o().xk,b.Kl())):a.removeAttribute("filter")};w.bM=function(){return Qc(this.g.o())};
w.gO=function(a){var b=this.g,c=Rc(b.sg.x,b.sg.y,b.ak),c=c+Rc(b.ug.x,b.ug.y,b.ak);a.setAttribute("points",c)};w.Oz=function(a){return ep(a,this.g.Fh)};w.Fr=function(a){return a.Fr(this.g.Fh)};w.$L=function(){return Qc(this.g.o())};w.fO=function(a){var b=this.g,c=Rc(b.ue.x,b.ue.y,b.ak),c=c+Rc(b.xl.x,b.xl.y,b.ak);a.setAttribute("points",c)};w.Nz=function(a){return fp(a,this.g.Fh)};w.Cr=function(a){return a.Cr(this.g.Fh)};w.YL=function(){return Qc(this.g.o())};
w.dO=function(a){var b=this.g,c=Rc(b.me.x,b.me.y,b.ak),c=c+Rc(b.vl.x,b.vl.y,b.ak);a.setAttribute("points",c)};w.Lz=function(a){return gp(a,this.g.Fh)};w.wr=function(a){return a.wr(this.g.Fh)};w.yD=function(a){return a?this.Nf:this.Df};function ip(){Z.call(this)}x.e(ip,Z);ip.prototype.dc=function(){return new hp};ip.prototype.Ub=function(){return dp};function jp(){ue.call(this)}x.e(jp,ue);w=jp.prototype;w.Bb=l;w.Cb=q("Bb");w.Je=function(){return this.Bb&&this.Bb.isEnabled()};w.hc=l;w.xc=q("hc");
w.ud=function(){return this.hc&&this.hc.isEnabled()};w.Qc=l;w.Fe=q("Qc");w.jf=function(){return this.Qc&&this.Qc.isEnabled()};w.Wb=l;w.qd=q("Wb");w.Mz=function(){return this.Wb&&this.Wb.isEnabled()};
w.f=function(a){if(!a)return a;a=jp.b.f.call(this,a);if(B(a,"hatch_type")){var b=D(a,"hatch_type");if(B(a,"hatch_fill")){var c=D(a,"hatch_fill");B(c,"type")&&(c.type=G(c,"type").replace("%hatchtype",b))}}K(D(a,"fill"))&&(this.Bb=new nd,this.Bb.f(D(a,"fill")));K(D(a,"border"))&&(this.hc=new qd,this.hc.f(D(a,"border")));K(D(a,"hatch_fill"))&&(this.Qc=new rc,this.Qc.f(D(a,"hatch_fill")));K(D(a,"line"))&&(this.Wb=new qd,this.Wb.f(D(a,"line")));return a};
function kp(a,b){ue.call(this,a,b);this.Nf=new jp;this.Df=new jp}x.e(kp,ve);w=kp.prototype;w.Nf=l;w.Df=l;w.zc=function(a){a=a?this.Nf:this.Df;return a.Je()||a.ud()};function bp(a,b){return b?a.Nf.jf():a.Df.jf()}function lp(a,b){return b?a.Nf.Mz():a.Df.Mz()}w.qd=function(a){return a?this.Nf.qd():this.Df.qd()};w.yD=function(a){return a?this.Nf:this.Df};w.f=function(a){if(!a)return a;var b=Nb(a,D(a,"up"),"up"),c=Nb(a,D(a,"down"),"down");this.Nf.f(b);this.Df.f(c);return a};function mp(){}x.e(mp,te);
w=mp.prototype;w.gb=l;w.jb=l;w.ef=l;w.Lc=function(){var a=this.g.ea(),b=this.g.Fh;a.wv(b)&&(this.gb=new Zo,this.gb.p(this.g,this,this.QH));a.Jh(b)&&(this.jb=new ap,this.jb.p(this.g,this,this.QH));if(lp(a.ta,b)||lp(a.ec,b)||lp(a.ic,b)||lp(a.Rb,b)||lp(a.gc,b)||lp(a.rc,b))this.ef=new Yo,this.ef.p(this.g,this,this.ZL,this.Mz,this.qd,this.eO)};w.ge=function(){var a=this.g.Ra();this.ef&&a.appendChild(this.ef.q);this.gb&&a.appendChild(this.gb.q);this.jb&&a.appendChild(this.jb.q)};
w.update=function(a,b){b&&this.g.Pq();this.gb&&this.gb.update(a,b);this.jb&&this.jb.update(a,b);this.ef&&this.ef.update(a,b)};w.Yc=function(a,b){b.Qp()?a.setAttribute("filter",Dc(this.g.o().xk,b.Kl())):a.removeAttribute("filter")};w.QH=function(){return oc(this.g.o(),"rect")};function $o(a,b){var c=new R(a.g.Oh.x,a.g.Oh.y,a.g.Oh.width,a.g.Oh.height);b.setAttribute("x",c.x);b.setAttribute("y",c.y);b.setAttribute("width",c.width);b.setAttribute("height",c.height)}w.ZL=function(){return Qc(this.g.o())};
w.eO=function(a){var b=this.g,c=Rc(b.sg.x,b.sg.y,b.ak),c=c+Rc(b.ug.x,b.ug.y,b.ak);a.setAttribute("points",c)};w.Mz=function(a){return lp(a,this.g.Fh)};w.qd=function(a){return a.qd(this.g.Fh)};function np(){Z.call(this)}x.e(np,Z);np.prototype.Ub=function(){return kp};np.prototype.dc=function(){return new mp};np.prototype.wv=function(a){return this.ta.zc(a)||this.ec.zc(a)||this.ic.zc(a)||this.Rb.zc(a)||this.gc.zc(a)||this.rc.zc(a)};
np.prototype.Jh=function(a){return bp(this.ta,a)||bp(this.ec,a)||bp(this.ic,a)||bp(this.Rb,a)||bp(this.gc,a)||bp(this.rc,a)};function op(){Nn.apply(this)}x.e(op,Nn);w=op.prototype;w.Cj=l;w.PM=q("Cj");w.PN=p("Cj");w.fj=l;w.EM=q("fj");w.MN=p("fj");w.Tl=l;w.KM=q("Tl");w.NN=p("Tl");w.Mn=l;w.LM=q("Mn");w.ON=p("Mn");w.Fh=l;w.sg=l;w.ug=l;w.ej=function(a){this.Tl=pp(this,a,"high","h");this.Mn=pp(this,a,"low","l");this.Cj=pp(this,a,"open","o");this.fj=pp(this,a,"close","c");this.cb=isNaN(this.Tl)||isNaN(this.Mn)||isNaN(this.Cj)||isNaN(this.fj)};
w.Pg=function(){if(!this.cb){this.Fh=this.fj>this.Cj;var a=this.l.Xa;a.Jc(this.Tl);a.Jc(this.Mn);a.Jc(this.Cj);a.Jc(this.fj)}};function pp(a,b,c,e){return B(b,c)?On(a,D(b,c)):B(b,e)?On(a,D(b,e)):NaN}w.Pq=function(){this.sg=new P;this.ug=new P;var a=this.l;a.Xa.transform(this,this.Tl,this.sg);a.Xa.transform(this,this.Mn,this.ug);a.Sb.transform(this,this.hb(),this.sg);a.Sb.transform(this,this.hb(),this.ug)};w.Ka=function(){return this.ne.Rt/2};w.p=function(a){op.b.p.call(this,a);return this.v};
w.ji=function(){op.b.ji.call(this);x.qa()};w.tb=function(){op.b.tb.call(this);this.a.add("%High",0);this.a.add("%Hight",0);this.a.add("%Low",0);this.a.add("%Open",0);this.a.add("%Close",0)};w.Aa=function(a){switch(a){case "%High":case "%Hight":case "%Low":case "%Open":case "%Close":return 2}return op.b.Aa.call(this,a)};w.le=function(){op.b.le.call(this);this.a.add("%High",this.Tl);this.a.add("%Hight",this.Tl);this.a.add("%Low",this.Mn);this.a.add("%Open",this.Cj);this.a.add("%Close",this.fj)};
w.Va=function(a){a=op.b.Va.call(this,a);a.High=this.Tl;a.Low=this.Mn;a.Open=this.Cj;a.Close=this.fj;return a};function qp(){Pn.apply(this)}x.e(qp,Pn);qp.prototype.Fn=u(i);qp.prototype.GH=u(i);qp.prototype.hm=u(i);function rp(){Mn.apply(this)}x.e(rp,Mn);w=rp.prototype;w.Qu=l;w.iv=l;w.zv=l;w.Pt=l;
w.qE=function(){this.Qu=new pn;this.iv=new pn;this.zv=new pn;this.Pt=new pn;this.Qu.p(op.prototype.KM,op.prototype.NN);this.iv.p(op.prototype.LM,op.prototype.ON);this.zv.p(op.prototype.PM,op.prototype.PN);this.Pt.p(op.prototype.EM,op.prototype.MN)};w.EH=function(a){qn(this.Qu,a,a.U);qn(this.iv,a,a.U);qn(this.zv,a,a.U);qn(this.Pt,a,a.U)};w.rJ=function(a){rn(this.Qu,a.R);rn(this.iv,a.R);rn(this.zv,a.R);rn(this.Pt,a.R);this.Qu.clear();this.iv.clear();this.zv.clear();this.Pt.clear()};
function sp(){op.apply(this);this.ak=i}x.e(sp,op);w=sp.prototype;w.ue=l;w.me=l;w.xl=l;w.vl=l;w.ak=l;w.p=function(a){sp.b.p.call(this,a);return this.v};
w.Pq=function(){sp.b.Pq.call(this);this.ue=new P;this.me=new P;this.xl=new P;this.vl=new P;var a=this.Ka(),b=this.l;b.Xa.transform(this,this.Cj,this.ue);b.Xa.transform(this,this.Cj,this.xl);b.Xa.transform(this,this.fj,this.me);b.Xa.transform(this,this.fj,this.vl);b.Sb.transform(this,this.Qa,this.ue,-a);b.Sb.transform(this,this.Qa,this.xl);b.Sb.transform(this,this.Qa,this.me,a);b.Sb.transform(this,this.Qa,this.vl);a=Math.min(this.ue.x,this.me.x,this.sg.x,this.ug.x,this.xl.x,this.vl.x);b=Math.min(this.ue.y,
this.me.y,this.sg.y,this.ug.y,this.xl.y,this.vl.y);this.j=new R(a,b,Math.max(this.ue.x,this.me.x,this.sg.x,this.ug.x,this.xl.x,this.vl.x)-a,Math.max(this.ue.y,this.me.y,this.sg.y,this.ug.y,this.xl.y,this.vl.y)-b)};function tp(){qp.apply(this)}x.e(tp,qp);tp.prototype.Id=function(){return new sp};function up(){rp.apply(this)}x.e(up,rp);up.prototype.Sf=function(a){var b=new tp;b.ag(a);b.ok=a;return b};up.prototype.Vf=u("ohlc_series");up.prototype.Ib=u("ohlc_style");up.prototype.Hb=function(){return new ip};
function vp(){op.apply(this);this.ak=i}x.e(vp,op);w=vp.prototype;w.ue=l;w.me=l;w.Oh=l;w.ak=l;w.Sg=l;w.Wg=l;
w.Pq=function(){vp.b.Pq.call(this);this.Oh=new R;this.ue=new P;this.me=new P;var a=this.l,b=this.Ka();a.Xa.transform(this,this.Cj,this.ue);a.Xa.transform(this,this.fj,this.me);a.Sb.transform(this,this.hb(),this.ue,-b);a.Sb.transform(this,this.hb(),this.me,b);this.Oh.x=Math.min(this.ue.x,this.me.x);this.Oh.y=Math.min(this.ue.y,this.me.y);this.Oh.width=Math.max(this.ue.x,this.me.x)-this.Oh.x;this.Oh.height=Math.max(this.ue.y,this.me.y)-this.Oh.y;0==this.Oh.height&&(this.Oh.height=1);a=Math.min(this.ue.x,
this.me.x,this.sg.x,this.ug.x);b=Math.min(this.ue.y,this.me.y,this.sg.y,this.ug.y);this.j=new R(a,b,Math.max(this.ue.x,this.me.x,this.sg.x,this.ug.x)-a,Math.max(this.ue.y,this.me.y,this.sg.y,this.ug.y)-b)};function wp(){qp.apply(this)}x.e(wp,qp);wp.prototype.Id=function(){return new vp};function xp(){rp.apply(this)}x.e(xp,rp);xp.prototype.Sf=function(a){var b=new wp;b.ag(a);b.ok=a;return b};xp.prototype.Vf=u("candlestick_series");xp.prototype.Ib=u("candlestick_style");xp.prototype.Hb=function(){return new np};function yp(){yn.apply(this)}x.e(yp,yn);yp.prototype.Ee=function(a,b){var c=this.Ib();if(B(a,"style")||B(a,c))if(B(a,"style")&&!B(a,c))cf(this,b,D(a,"style"));else{var e,f;B(a,"style")&&(e=D(a,"style"));B(a,c)&&(f=D(a,c),B(f,"parent")&&(e=D(f,"parent")));c=xe(b,c,f,e);E(c,"name",e);this.F=new wf;this.F.f(c)}else this.F=new wf,e=F(b.Si,c),this.F.f(Tb(e,"anychart_default")),e=this.F,b.bj[c]||(b.bj[c]={}),b.bj[c].anychart_default=e};function zp(){Sn.apply(this)}x.e(zp,Sn);w=zp.prototype;w.Uk=l;
w.xh=function(a,b){if(B(a,"style"))if(B(a,"marker"))E(a,"marker",D(a,"style"));else{var c={};E(c,"style",D(a,"style"));E(c,"#name#","marker");E(a,"marker",c)}this.Da.tl(D(a,"marker"))&&(this.Da=this.Da.copy(),this.Da.fi(D(a,"marker"),b),this.F=this.Da.ea());this.Da.xf(i)};w.p=function(a){zp.b.p.call(this,a);return this.v};w.tE=o();w.Ft=function(){this.Uk=new P;this.l.Sb.transform(this,this.Qa,this.Uk);this.l.Xa.transform(this,this.vb,this.Uk)};w.update=function(){this.Ft();this.Em()};
w.ya=function(){this.Ft();this.Rv()};w.Lf=function(a){a.x=this.Uk.x;a.y=this.Uk.y};function Ap(){Qn.apply(this)}x.e(Ap,Qn);Ap.prototype.Fn=u(n);Ap.prototype.Id=function(){return new zp};Ap.prototype.xh=function(a,b){if(B(a,"style"))if(B(a,"marker"))E(a,"marker",D(a,"style"));else{var c={};E(c,"style",D(a,"style"));E(c,"#name#","marker");E(a,"marker",c)}this.Da.Ng(D(a,"marker"))&&(this.Da=this.Da.copy(),this.Da.gi(D(a,"marker"),b),this.F=this.Da.ea());this.Da.xf(i)};function Bp(){Mn.apply(this)}
x.e(Bp,Mn);w=Bp.prototype;w.xh=function(a,b){this.Da||(this.Da=this.Cl());a?this.Da.Ee(a,b):this.Da.lf(new Z);this.Da.xf(i);this.F=this.Da.ea()};w.Sf=function(){var a=new Ap;a.ag(18);return a};w.Vf=u("marker_series");w.Ib=u(l);w.Ub=u(l);w.Cl=function(){return new yp};function Cp(){}x.e(Cp,jf);Cp.prototype.Ga=function(){this.Oa.Vi(this.q)};function Dp(){}x.e(Dp,kf);Dp.prototype.Ga=function(){this.Oa.Vi(this.q)};function Ep(){}x.e(Ep,lf);Ep.prototype.Lc=function(){var a=this.g.ea();a.im()&&(this.gb=new Cp,this.gb.p(this.g,this));a.Jh()&&(this.jb=new Dp,this.jb.p(this.g,this))};Ep.prototype.update=function(a,b){b&&this.g.$c();Ep.b.update.call(this,a,b)};Ep.prototype.createElement=function(){return this.g.o().ba()};Ep.prototype.Vi=function(a){a.setAttribute("d",Pc(this.g.k()))};
function Fp(){Z.call(this)}x.e(Fp,nf);Fp.prototype.dc=function(){return new Ep};function Gp(){Nn.apply(this);this.I=new P;this.S=new P}x.e(Gp,Rn);w=Gp.prototype;w.I=l;w.S=l;w.VF=l;w.Tx=function(a,b){var c=this.l.Sb,e=this.l.Xa,f=G(a,"column"),h=G(a,"row");this.Mc=0===c.qb()||1===c.qb();this.Yb=c.Ye(f,b);this.Pw=e.Ye(h,b);this.IH=this.Yb.U;this.VF=this.Pw.U;this.ne=this.l.ne;this.Wp=this.Yb.U;this.cb||this.Yb.nd(this)};w.ej=function(a){B(a,"y")&&(this.cb=isNaN(On(this,D(a,"y"))));this.cb=this.cb||!B(a,"column")||!B(a,"row")};w.Pg=function(a){B(a,"y")&&(this.ca=J(a,"y"))};
w.p=function(a){return Gp.b.p.call(this,a)};w.$c=function(){var a=this.l.Sb,b=this.l.Xa;a.transform(this,this.IH-0.5,this.I);a.transform(this,this.IH+0.5,this.S);b.transform(this,this.VF-0.5,this.I);b.transform(this,this.VF+0.5,this.S);a=Math.min(this.I.x,this.S.x);b=Math.min(this.I.y,this.S.y);this.j=new R(a,b,Math.max(this.I.x,this.S.x)-a,Math.max(this.I.y,this.S.y)-b)};w.tb=function(){this.a.add("%Column",0);this.a.add("%Row",0)};
w.Aa=function(a){switch(a){case "%Column":case "%Row":return 2}return Gp.b.Aa.call(this,a)};w.le=function(){this.a.add("%Column",this.Yb.getName());this.a.add("%Row",this.Pw.getName());Gp.b.le.call(this)};function Hp(){Pn.apply(this)}x.e(Hp,Qn);Hp.prototype.Id=function(){return new Gp};Hp.prototype.Fn=u(n);function Ip(){Kn.apply(this)}x.e(Ip,Mn);Ip.prototype.Sf=function(){var a=new Hp;a.ag(23);a.ok=23;return a};Ip.prototype.Vf=u("heat_map");Ip.prototype.Ib=u("heat_map_style");Ip.prototype.Hb=function(){return new Fp};function Jp(){}x.e(Jp,so);
Jp.prototype.Ga=function(){this.g.Zd();for(var a=this.g.$,b=this.g.l.xG,c=0;c<a.length;c++){var e=b,f=a[c].x,h=a[c].y;switch(e.mw){case 3:if(e.Yh==f&&e.Zh==h)break;var j=e,k=e.Xh,m=e.Yh,s=e.Zh,t=f,v=new P;v.x=k+(m-k)*j.SA;v.y=s;k=new P;k.x=t-(t-m)*j.SA;k.y=s;t=new P;t.x=m;t.y=s;j.l.W.push([v,k,t]);j.U++;e.Xh=e.Yh;e.ol=e.Zh;e.Yh=f;e.Zh=h;break;case 2:if(e.Yh==f&&e.Zh==h)break;e.Xh=e.Yh;e.ol=e.Zh;e.Yh=f;e.Zh=h;e.mw=3;break;case 1:if(e.Xh==f&&e.ol==h)break;j=e;m=e.ol;s=new P;s.x=f-(f-e.Xh)*j.SA;s.y=
m;j.l.W.push(s);j.U++;e.Yh=f;e.Zh=h;e.mw=2;break;case 0:e.Xh=f,e.ol=h,e.mw=1}}this.g.l.wd()-1==this.g.U&&(a=new P,a.x=b.Xh+(b.Yh-b.Xh)*b.SA,a.y=b.Zh,b.l.W.push(a));this.q.setAttribute("d",this.Oa.Tg())};function Kp(){}x.e(Kp,to);Kp.prototype.Lc=function(){this.g.ea().Wn()&&(this.ef=new Jp,this.ef.p(this.g,this))};Kp.prototype.createElement=function(){return this.g.o().ba()};
Kp.prototype.Tg=function(){var a=this.g.o(),b=this.g.$,c=b.length,e=this.g.l.W,f,h,j;j=this.g.U;2==c?(j==this.g.l.wd()-1?(f=new P,f.x=e[2*j-1].x,f.y=e[2*j-1].y,c=T(b[0].x,b[0].y)):(c=T(b[0].x,b[0].y),f=new P,f.x=e[j].x,f.y=e[j].y),c+=a.AF(f.x,f.y,b[1].x,b[1].y)):(f=e[2*j-1][0],h=e[2*j-1][1],e=e[2*j-1][2],c=T(b[0].x,b[0].y),c+=a.AF(f.x,f.y,e.x,e.y),c+=a.AF(h.x,h.y,b[2].x,b[2].y));return c};function Lp(){Z.call(this)}x.e(Lp,ro);Lp.prototype.dc=function(){return new Kp};function Mp(){Pn.apply(this);this.W=[];this.xG=new Np(this)}x.e(Mp,wo);Mp.prototype.W=l;Mp.prototype.xG=l;Mp.prototype.zg=o();Mp.prototype.jm=function(){this.W=[];var a=this.xG;a.mw=0;a.U=0};function Np(a){this.mw=0;this.SA=0.5;this.U=0;this.l=a}function Op(){Kn.apply(this)}x.e(Op,xo);Op.prototype.Sf=function(a){var b;switch(a){case 3:b=new Mp}b.ag(a);b.ok=3;return b};Op.prototype.Hb=function(){return new Lp};function Ne(){mk.call(this);this.jj=0;this.ie=[];this.Pf=[];this.wt={};this.cg=[];this.Kw={};this.vL=[];this.wL=[];this.er=[];this.Px={}}x.e(Ne,mk);w=Ne.prototype;w.Fs=function(a){Ne.b.Fs.call(this,a);"heatmap"==a&&(this.jj=23);this.Mc=-1!=a.indexOf("horizontal");this.jz="scatter"==a};w.jz=l;w.zo=l;w.oJ=l;w.Br=q("oJ");w.Mc=l;w.Hf=q("Mc");w.eE=n;w.iE=n;w.jE=n;w.bE=n;w.ie=l;w.Pf=l;w.cg=l;w.wt=l;w.Kw=l;w.Av=l;w.Bv=l;w.dx=l;w.cx=l;w.Kd=function(){return this.J.Kd()};w.vL=l;w.wL=l;w.er=l;w.Px=l;w.bp=function(){return new Qk};
w.Ey=function(a){switch(a){case 2:case 5:case 4:return 2;case 6:case 7:case 9:case 8:return 6;default:return a}};w.Xt=function(a){switch(a){case 0:return new $n;case 1:return new co;case 12:return new mo;case 3:return new Op;case 2:case 5:case 4:return new xo;case 6:case 7:case 9:case 8:return new Oo;case 10:case 11:return new Xo;case 13:return new up;case 14:return new xp;case 18:return new Bp;case 23:return new Ip}return l};
w.un=function(a){if("heatmap"==this.pm)return 23;if(a==l)return this.jj;switch(a){case "bubble":return 12;case "bar":return 0;case "rangebar":return 1;case "rangearea":return 10;case "candlestick":return 14;case "ohlc":return 13;case "line":return 2;case "steplineforward":return 4;case "steplinebackward":return 5;case "spline":return 3;case "area":return 6;case "splinearea":return 7;case "stepareaforward":case "steplineforwardarea":return 8;case "stepareabackward":case "steplinebackwardarea":return 9;
case "rangesplinearea":return 11;case "marker":return 18;default:return this.jj}};w.HC=function(a,b){Ne.b.HC.call(this,a,b);this.bE=this.jE=this.iE=this.eE=n;var c=D(a,"axes");Pp(this,D(c,"x_axis"),i,b,"x_axis");Pp(this,D(c,"y_axis"),i,b,"y_axis");if(B(c,"extra")){var e=D(c,"extra");if(B(e,"x_axis"))for(var f=F(e,"x_axis"),c=0;c<f.length;c++)Pp(this,f[c],n,b,"x_axis");if(B(e,"y_axis")){e=F(e,"y_axis");for(c=0;c<e.length;c++)Pp(this,e[c],n,b,"y_axis")}}};
function Pp(a,b,c,e,f){if(!(!c&&!B(b,"name")||"x_axis"!=f&&"y_axis"!=f)){var h=B(b,"scale")&&"linear"==N(D(b,"scale"),"type"),j="heatmap"==a.pm,k="categorizedbyserieshorizontal"==a.pm||"categorizedbyseriesvertical"==a.pm,m="categorizedhorizontal"==a.pm||"categorizedbyserieshorizontal"==a.pm,f="x_axis"==f,h=!j&&(a.jz||!f||h)?new Dm:!j&&k?new Om:new Nm;h.ym(a);j=l;if(B(b,"position")&&(j=O(b,"position"),"bottom"==j||"right"==j))E(b,"position","opposite"),j="opposite";k="opposite"==j||j==l&&!c;j=f&&(a.jz||
!m)||!f&&m;m&&j&&(k=!k);h.Vl=f;h.X=h.VH(D(b,"scale"));B(b,"scale")&&h.X.f(D(b,"scale"));var s=h.O().pp;h.Xg=s;j?k?(h.eb(2),!s&&!a.jE&&(h.Xg=i,a.jE=i)):(h.eb(3),!s&&!a.bE&&(h.Xg=i,a.bE=i)):k?(h.eb(1),!s&&!a.iE&&(h.Xg=i,a.iE=i)):(h.eb(0),!s&&!a.eE&&(h.Xg=i,a.eE=i));k=a.wt.primary;s=a.Kw.primary;s=!c&&(f?k:s).qb()!=h.qb();h.Wf=s;h.rA(a.dx,j?a.Av:a.Bv,a.cx);h.wC(Ll);h.f(b,e);b=c?"primary":N(b,"name");h.Oj(b);m&&f&&(h.O().Xc=!h.O().Mb());m&&!f&&1==k.qb()&&(h.O().Xc=!h.O().Mb());f?(a.wt[b]=h,a.Pf.push(h)):
(a.Kw[b]=h,a.cg.push(h));a.ie.push(h)}}function Qp(a,b){return b!=l&&a.wt[b]?a.wt[b]:Qp(a,"primary")}function Rp(a,b){return b!=l&&a.Kw[b]?a.Kw[b]:Rp(a,"primary")}w.Xx=function(a,b){var c=Qp(this,B(b,"x_axis")?N(b,"x_axis"):l),e=Rp(this,B(b,"y_axis")?N(b,"y_axis"):l);a.Sb=c;a.Xa=e;c.jC(a,this.A)};w.Kf=function(){for(var a=0;a<this.ie.length;a++)this.ie[a].Kf(this.$)};
w.uF=function(){Ne.b.uF.call(this);var a,b=[],c,e;c=0;for(e=this.$.length;c<e;c++)this.$[c]&&(a=this.$[c].l.ub(),2==a||3==a||4==a||13==a||5==a||(b.push(this.$[c]),delete this.$[c]));c=0;for(e=this.$.length;c<e;c++)this.$[c]&&b.push(this.$[c]);this.$=b};w.lg=q("zo");w.wy=function(a){return a.ea()&&a.ea().ta&&10==a.ea().ta.Ef()?this.Hf()?this.Bv:this.Av:Ne.b.wy.call(this,a)};w.mJ=function(){this.v.Z(this.cx)};
w.Ul=function(a){Ne.b.Ul.call(this,a);this.Av=new X(a);this.Bv=new X(a);this.dx=new X(a);this.cx=new X(a)};
w.p=function(a,b,c){a.la();var e,f,h=this.ie.length;for(e=0;e<h;e++){f=this.ie[e];var j=f.O();if(j.pp){var k=f.Vl?Rp(this):Qp(this);f.xC=k;k=k.O().kg(j.Mx);j.Mx=k}if((isNaN(f.X.qc)||isNaN(f.X.pc))&&!f.Vl&&"primary"!=f.getName())j=Rp(this),f.Jc(j.O().qc),f.Jc(j.O().pc)}e=this.ie.length;b=Ne.b.p.call(this,a,b,c);a=a.la();b.Z(this.Av);b.Z(this.Bv);b.Z(this.dx);for(c=0;c<e;c++)if(h=this.ie[c],rm(h),h.qm=0,h.Yp)for(f=0;f<h.Yp.length;f++)j=h.Yp[f][0],h.qm=Math.max(h.qm,h.C.rd(j.k(h.Yp[f][1],j.ea().ta,h.D.Ra()))+
j.ea().ta.Y());Sp(this,a);Tp(this);for(c=0;c<e;c++)h=this.ie[c],rm(h);return b};function Tp(a){bd(a.bu,a.zo);bd(a.uz,a.zo);bd(a.Mk,a.zo)}w.ga=function(){Up(this);Ne.b.ga.call(this)};
function Up(a){var b,c;b=0;for(c=a.cg.length;b<c;b++)Bm(a.cg[b]);b=0;for(c=a.Pf.length;b<c;b++)Bm(a.Pf[b]);b=0;for(c=a.cg.length;b<c;b++)Am(a.cg[b]);b=0;for(c=a.Pf.length;b<c;b++)Am(a.Pf[b]);for(b=0;b<a.cg.length;b++)zm(a.cg[b]);b=0;for(c=a.Pf.length;b<c;b++)zm(a.Pf[b]);b=0;for(c=a.cg.length;b<c;b++)ym(a.cg[b]),a.cg[b].To();b=0;for(c=a.Pf.length;b<c;b++)ym(a.Pf[b]),a.Pf[b].To();for(b=0;b<a.cg.length;b++)xm(a.cg[b]),a.cg[b].VC();b=0;for(c=a.Pf.length;b<c;b++)xm(a.Pf[b]),a.Pf[b].VC();b=0;for(c=a.ie.length;b<
c;b++){a.ie[b].by();var e=a.ie[b];e.na&&e.Ie&&e.Ie.ga(a.o())}}
function Sp(a,b){var c,e=0,f=a.ie.length,b=b.la(),h=b.la();h.x=0;h.y=0;h.width*=0.75;h.height*=0.75;for(e=0;e<f;e++)c=a.ie[e],sm(c,h),um(c);h.width/=0.75;h.height/=0.75;for(var j=h.la(),e=0;e<f;e++)c=a.ie[e],c.na&&!c.X.pp&&c.C.vo(h,c.nn+c.$A+c.qm+c.hs);c=h.la();for(e=0;e<f;e++)tm(a.ie[e],h);for(e=0;e<f;e++){var k=a.ie[e];sm(k,h);k.kd=k.na&&k.B?k.hs+k.nn+k.$A+Math.max(cm(k),k.Nk):k.hs+k.nn+k.$A+k.Nk}h=c;for(e=0;e<f;e++)tm(a.ie[e],h);for(var k=h.x-j.x,m=h.y-j.y,s=j.width-h.width-k,t=j.height-h.height-
m,e=0;e<f;e++){c=a.ie[e];var v=j.la();c.TK(v,h);c=v.x-j.x;var y=v.y-j.y,C=j.width-v.width-c,v=j.height-v.height-y;c>k&&(k=c);C>s&&(s=C);y>m&&(m=y);v>t&&(t=v)}h.x=j.x+k;h.y=j.y+m;h.width=j.width-k-s;h.height=j.height-m-t;for(e=0;e<f;e++)a.ie[e].Dc(h);for(e=s=m=k=j=0;e<f;e++){c=a.ie[e];t=0;switch(c.qb()){case 0:t=j;j+=c.rd();break;case 1:t=k;k+=c.rd();break;case 2:t=m;m+=c.rd();break;case 3:t=s,s+=c.rd()}c.Xg||(t+=c.iy);c.Li(t);c.Dc(h)}a.zo=h;b.x+=h.x;b.y+=h.y;b.width=h.width;b.height=h.height;a.oJ=
b}w.dj=function(a){a.la();a=a.la();Sp(this,a);Ne.b.dj.call(this,a)};w.jn=function(){this.dx.clear();this.Av.clear();this.Bv.clear();this.cx.clear();Ne.b.jn.call(this);Up(this);Tp(this)};
w.tb=function(){Ne.b.tb.call(this);this.a.add("%DataPlotXMax",-Number.MAX_VALUE);this.a.add("%DataPlotXMin",Number.MAX_VALUE);this.a.add("%DataPlotXSum",0);this.a.add("%DataPlotXAverage",0);this.a.add("%DataPlotYRangeMin",Number.MAX_VALUE);this.a.add("%DataPlotYRangeMax",-Number.MAX_VALUE);this.a.add("%DataPlotYRangeSum",0)};
w.Aa=function(a){switch(a){case "%DataPlotXMax":case "%DataPlotXMin":case "%DataPlotXSum":case "%DataPlotXAverage":case "%DataPlotYAverage":case "%DataPlotYRangeMin":case "%DataPlotYRangeMax":case "%DataPlotYRangeSum":return 2}return Ne.b.Aa.call(this,a)};
w.Ba=function(a){Qd(this.a,"%DataPlotXAverage")||this.a.add("%DataPlotXAverage",this.a.get("%DataPlotXSum")/this.a.get("%DataPlotPointCount"));Qd(this.a,"%DataPlotYAverage")||this.a.add("%DataPlotYAverage",this.a.get("%DataPlotYSum")/this.a.get("%DataPlotPointCount"));return Ne.b.Ba.call(this,a)};
w.Va=function(a){a=Ne.b.Va.call(this,a);a.YRangeMax=this.a.get("%DataPlotRangeMax");a.YRangeMin=this.a.get("%DataPlotRangeMin");a.YRangeSum=this.a.get("%DataPlotRangeSum");a.XSum=this.a.get("%DataPlotXSum");a.XMax=this.a.get("%DataPlotXMax");a.XMin=this.a.get("%DataPlotXMin");a.XAverage=this.a.get("%DataPlotXSum")/this.a.get("%DataPlotPointCount");a.Categories=[];var b,c=this.er.length;for(b=0;b<c;b++){var e=this.er[b];e&&a.Categories.push(e.Va())}a.XAxes={};a.YAxes={};var e=this.Pf.length,f=this.cg.length;
for(b=0;b<e;b++)c=this.Pf[b],a.XAxes[c.getName()]=c.Va();for(b=0;b<f;b++)c=this.cg[b],a.YAxes[c.getName()]=c.Va();return a};w.Bk=function(a,b){var c,e;for(e in this.Qf)if(c=this.Qf[e],c.getName==a)break;c&&(b?c.Eg():c.Fg())};function Vp(a,b){ue.call(this,a,b)}x.e(Vp,mf);w=Vp.prototype;w.Ab=l;w.yF=l;w.vE=l;w.Po=function(a,b){var c={},e={},f=[],h={},j={},k={};h.position="0";h.opacity=b;h.color="LightColor("+a+")";f.push(h);j.position=0.95;j.opacity=b;j.color="DarkColor("+a+")";f.push(j);k.position=1;k.opacity=b;k.color="DarkColor("+a+")";f.push(k);e.type="radial";e.angle=-145;e.focal_point="0.5";e.key=f;c.enabled=i;c.type="gradient";c.gradient=e;this.Bb=new nd;this.Bb.f(c);this.Ab=new qd;this.Ab.f(c);this.Ab.Oc=0};
w.f=function(a){var a=Vp.b.f.call(this,a),b=D(a,"fill"),b=B(b,"opacity")?D(b,"opacity"):1;this.Po(D(D(a,"fill"),"color"),b);var c={},e={},f=[],h={},j={},k={};h.position="0";h.opacity="0";h.color="Black";f.push(h);j.position=0.95;j.opacity="0";j.color="Black";f.push(j);k.position=1;k.opacity=100/255*b;k.color="Black";f.push(k);e.type="radial";e.angle="0";e.focal_point="0";e.key=f;c.enabled=i;c.type="gradient";c.gradient=e;this.yF=new nd;this.yF.f(c);this.vE=new nd;return a};function Wp(){}x.e(Wp,pe);
w=Wp.prototype;w.ei=l;w.Ga=function(){this.q.setAttribute("d",this.g.Ml())};w.createElement=function(){return this.Oa.createElement()};w.sh=function(a){var b=this.g.o();this.ei&&-1==this.ei.indexOf("fill:none")&&qc(b.Hr,this.ei);this.ei="";this.Re(a)};w.Re=function(a){var b=this.g.o(),c="",e=this.g.oa().oa(),f=this.g.k();this.ei=c+=od(a.Cb(),b,f,e,i);this.q.setAttribute("style",c)};w.Yc=o();function Xp(){}x.e(Xp,jf);Xp.prototype.Ga=function(){this.q.setAttribute("d",this.g.Ml())};function Yp(){}x.e(Yp,kf);Yp.prototype.Ga=function(){this.q.setAttribute("d",this.g.Ml())};function Zp(){}x.e(Zp,lf);Zp.prototype.Lc=function(){var a=this.g.ea();a.im()&&(this.gb=new Xp,this.gb.p(this.g,this));a.Jh()&&(this.jb=new Yp,this.jb.p(this.g,this))};Zp.prototype.createElement=function(){return this.g.o().ba()};
Zp.prototype.update=function(a,b){b&&this.g.Zd();this.gb&&this.gb.update(a,b);this.jb&&this.jb.update(a,b)};Zp.prototype.sh=o();function $p(){}x.e($p,Wp);function aq(){}x.e(aq,Wp);aq.prototype.Re=function(a){var b=this.g.o(),c="",e=this.g.oa().oa(),f=this.g.k();this.ei=c+=od(a.yF,b,f,e,i);this.q.setAttribute("style",c)};function bq(){}x.e(bq,Wp);
bq.prototype.Re=function(a){var b=this.g.o(),c="",e=this.g.oa().oa(),f=this.g.k(),h=this.g.l,j=h.Vb,k=h.Ma,h=h.U;if(0<j){var j=j/k,k={},m={},s=[],t={},v={},y={};t.position=j;t.opacity=100/255;t.color="Black";s.push(t);v.position=0==h?j+0.1:j+0.05;v.opacity="0";v.color="Black";s.push(v);y.position=1;y.opacity="0";y.color="Black";s.push(y);m.type="radial";m.angle="0";m.focal_point="0";m.key=s;k.enabled=i;k.type="gradient";k.gradient=m;a.vE.f(k);c+=od(a.vE,b,f,e,i)}else c+="fill:none;";this.ei=c;this.q.setAttribute("style",
c)};function cq(){}x.e(cq,te);w=cq.prototype;w.Ra=function(){return this.g.Ra()};w.Sm=l;w.Zn=l;w.En=l;w.Lc=function(){this.Sm=new $p;this.Sm.p(this.g,this);this.Zn=new aq;this.Zn.p(this.g,this);this.En=new bq;this.En.p(this.g,this)};w.ge=function(){var a=this.Ra();this.Sm&&a.appendChild(this.Sm.q);this.Zn&&a.appendChild(this.Zn.q);this.En&&a.appendChild(this.En.q)};w.createElement=function(){return this.g.o().ba()};
w.update=function(a,b){b&&this.g.Zd();this.Sm&&this.Sm.update(a,b);this.Zn&&this.Zn.update(a,b);this.En&&this.En.update(a,b)};w.sh=function(a){this.Sm&&this.Sm.sh(a);this.Zn&&this.Zn.sh(a);this.En&&this.En.sh(a)};function dq(){ue.call(this,g,g)}x.e(dq,Vp);function eq(){Z.call(this)}x.e(eq,nf);eq.prototype.p=function(a){return eq.b.p.call(this,a)};eq.prototype.dc=function(){return new cq};eq.prototype.Ub=function(){return dq};function fq(){Z.call(this)}x.e(fq,nf);fq.prototype.dc=function(){return new Zp};
fq.prototype.Ub=function(){return mf};function gq(){}x.e(gq,se);gq.prototype.Cb=function(a){return a.wD};gq.prototype.Je=u(i);gq.prototype.Ga=function(){var a;a=this.g;var b="";if(a.Bh){for(var c=0;c<a.Bh.ri();c++)b+=a.Bh.ga(c);a=b+" Z"}else a=l;a!=l&&" Z"!=a&&""!=a?this.q.setAttribute("d",a):this.q.removeAttribute("d")};function hq(){}x.e(hq,se);hq.prototype.Cb=function(a){return a.NB};hq.prototype.Je=u(i);
hq.prototype.Ga=function(){if(this.g.ik){var a;a=this.g;var b="";if(a.ik){for(var c=0;c<a.ik.ri();c++)b+=a.ik.ga(c);a=b+" Z"}else a=l;a!=l&&" Z"!=a?this.q.setAttribute("d",a):this.q.removeAttribute("d")}};function iq(){}x.e(iq,se);iq.prototype.Cb=function(a){return a.RG};iq.prototype.Je=u(i);
iq.prototype.Ga=function(){var a;a=this.g;var b=a.l.Ma,c=a.l.Dj,e=a.l.Vb,f=a.l.lp,h=a.wa%360*Math.PI/180,j=a.wc%360*Math.PI/180;a.wa%360==a.wc%360&&(j=h=0);var k=a.oe(),m=k.x+e*Math.cos(h),s=k.y+f*Math.sin(h),t=k.x+e*Math.cos(j),v=k.y+f*Math.sin(j),y=k.x+b*Math.cos(h),h=k.y+c*Math.sin(h),C=k.x+b*Math.cos(j),j=k.y+c*Math.sin(j),M=k=n;180<=a.Ti&&(k=!k,M=!M);if(a.rh!=l){var ea=a.rh.o(),U;U=""+T(m,s);U+=ea.nb(e,k,i,t,v,f);U+=V(C,j);U+=ea.nb(b,M,n,y,h,c);U+=V(m,s);y==C&&h==j&&a.wa%360==a.wc%360&&(U=""+
T(m,s),U+=ea.nb(e,1,1,t,v-0.0010,f),U+=T(y,h),U+=ea.nb(b,1,0,C,j+0.0010,c),U+=V(m,s));a=U+" Z"}else a=l;a!=l&&" Z"!=a&&""!=a?this.q.setAttribute("d",a):this.q.removeAttribute("d")};function jq(){}x.e(jq,se);jq.prototype.Cb=function(a){return a.uG};jq.prototype.Je=u(i);
jq.prototype.Ga=function(){if(this.g.Bh!=l){var a;a=this.g;for(var b=a.oe(),c="",e=a.l.Ma,f=a.l.Dj,h=0.03*a.G().Ma,j,k,m,s=0;s<a.Bh.ri();s++){var t=a.Bh.Ob[s]-0.275,v=a.Bh.$o(s)+0.275;for(j=t;j<=v;j++)k=h/2*Math.abs(Math.sin(j*Math.PI/180)),m=h/2*Math.abs(Math.sin(j*Math.PI/180)),c=j==t?c+T(b.x+Ec(e-k,j),b.y+W(f-m,j)):c+V(b.x+Ec(e-k,j),b.y+W(f-m,j));k=h/2*Math.abs(Math.sin(v*Math.PI/180));m=h/2*Math.abs(Math.sin(v*Math.PI/180));c+=V(b.x+Ec(e-k,v),b.y+W(f-m,v));for(j=v;j>=t;j--)k=h/2*Math.abs(Math.sin(j*
Math.PI/180)),m=h/2*Math.abs(Math.sin(j*Math.PI/180)),c+=V(b.x+Ec(e+k,j),b.y+W(f+m,j));k=h/2*Math.abs(Math.sin(t*Math.PI/180));m=h/2*Math.abs(Math.sin(t*Math.PI/180));c+=V(b.x+Ec(e-k,t),b.y+W(f-m,t));c+=" Z"}a=c;a!=l&&" Z"!=a&&""!=a?this.q.setAttribute("d",a):this.q.removeAttribute("d")}};function kq(){}x.e(kq,se);kq.prototype.Cb=function(a){return a.yG};kq.prototype.Je=u(i);kq.prototype.Ga=function(){var a=this.g.Qi!=l?lq(this.g,this.g.wa):l;a!=l&&" Z"!=a&&""!=a?this.q.setAttribute("d",a):this.q.removeAttribute("d")};
function mq(){}x.e(mq,se);mq.prototype.Cb=function(a){return a.aD};mq.prototype.Je=u(i);mq.prototype.Ga=function(){var a=this.g.ii!=l?lq(this.g,this.g.wc):l;a!=l&&" Z"!=a&&""!=a?this.q.setAttribute("d",a):this.q.removeAttribute("d")};function nq(){}x.e(nq,te);w=nq.prototype;w.qi=l;w.ci=l;w.Qi=l;w.ii=l;w.rh=l;w.Ls=l;
w.Lc=function(){this.qi=new gq;this.qi.p(this.g,this);this.ci=new hq;this.ci.p(this.g,this);this.Qi=new kq;this.Qi.p(this.g,this);this.ii=new mq;this.ii.p(this.g,this);this.rh=new iq;this.rh.p(this.g,this);this.Ls=new jq;this.Ls.p(this.g,this);this.Ls.q.setAttribute("filter","url(#smileBlur)")};
w.ge=function(){var a=this.g;if(a.rh){var b=new X(a.o());b.appendChild(this.rh.q);var c=new X(a.o());c.appendChild(this.Ls.q);a.rh.appendChild(b.q);a.rh.appendChild(c.q)}a.qi&&a.qi.appendChild(this.qi.q);a.ci&&a.ci.appendChild(this.ci.q);a.Qi&&a.Qi.appendChild(this.Qi.q);a.ii&&a.ii.appendChild(this.ii.q)};w.update=function(a,b){b&&this.g.Zd();this.rh.update(a,b);this.Ls.update(a,b);this.qi&&this.qi.update(a,b);this.ci&&this.ci.update(a,b);this.Qi.update(a,b);this.ii.update(a,b)};
w.sh=function(a){this.rh.sh(a);this.Ls.sh(a);this.qi&&this.qi.sh(a);this.ci&&this.ci.sh(a);this.Qi.sh(a);this.ii.sh(a)};w.Ga=o();w.createElement=function(){return this.g.o().ba()};function oq(a,b){ue.call(this,a,b)}x.e(oq,mf);w=oq.prototype;w.wD=l;w.NB=l;w.yG=l;w.aD=l;w.RG=l;w.uG=l;
w.f=function(a){var a=oq.b.f.call(this,a),b=D(D(a,"fill"),"color"),c=[],e={},f={},h={},j={};e.position="0";e.opacity="1";e.color=b;c.push(e);f.position=1;f.opacity="1";f.color="Blend("+b+", DarkColor("+b+"),0.7)";c.push(f);h.type="linear";h.angle="-50";h.key=c;j.enabled=i;j.type="gradient";j.gradient=h;this.RG=new nd;this.RG.f(j);var c=[],e={},f={},h={},j={},k={},c=[];e.position="0";e.opacity=1;e.color=b;c.push(e);f.position=0.19;f.opacity=1;f.color="Blend(DarkColor("+b+"),LightColor("+b+"),0.3)";
c.push(f);h.position=1;h.opacity=1;h.color="Blend("+b+",DarkColor("+b+"),0.3)";c.push(h);j.type="linear";j.angle="45";j.key=c;k.enabled=i;k.type="gradient";k.gradient=j;this.wD=new nd;this.wD.f(k);var c=[],e={},f={},h={},j={},k={},m={};e.position=0;e.opacity=0.29;e.color="white";c.push(e);f.position=0.28;f.opacity=0.8;f.color="white";c.push(f);h.position=0.72;h.opacity=0.16;h.color="white";c.push(h);j.position=1;j.opacity="0";j.color="white";c.push(j);k.type="linear";k.angle="0";k.key=c;m.enabled=
i;m.type="gradient";m.gradient=k;this.uG=new nd;this.uG.f(m);c={enabled:i,type:"solid"};c.color="Blend("+b+", DarkColor("+b+"), 0.35)";this.NB=new nd;this.NB.f(c);this.yG=new nd;this.yG.f(c);this.aD=new nd;this.aD.f(c);return a};function pq(){Z.call(this)}x.e(pq,nf);pq.prototype.p=function(a){return pq.b.p.call(this,a)};pq.prototype.dc=function(){return new nq};pq.prototype.Ub=function(){return oq};function qq(a){this.Ob=[];this.$b=[];this.dl=[];this.A=a}w=qq.prototype;w.Ob=l;w.$b=l;w.$o=function(a){return this.$b[a]};w.g=l;w.dl=l;w.ri=function(){return this.dl.length};w.bf=l;w.A=l;w.p=function(){x.qa()};w.ga=function(){x.qa()};w.ri=function(){return this.dl.length};w.Ra=function(a){return this.dl[a]};function rq(a,b){var c=a.Ob[b],e=a.$b[b];e<c&&(e+=360);return(c+e)/2}w.isEnabled=function(){x.qa()};w.oj=function(a,b){return 0<=a&&0<=b?1:0>=a&&0<=b?2:0>=a&&0>b?3:4};
function sq(a){qq.call(this,a)}x.e(sq,qq);
sq.prototype.p=function(a){this.g=a;var b=a.wa,a=a.$o(),c=Math.sin(b*Math.PI/180),e=Math.sin(a*Math.PI/180),f=Math.cos(b*Math.PI/180),h=Math.cos(a*Math.PI/180),c=this.oj(f,c),e=this.oj(h,e);if(1==c)switch(e){case 1:f<=h&&(this.Ob.push(180),this.$b.push(360));break;case 3:this.Ob.push(180);this.$b.push(a);break;case 4:this.Ob.push(180),this.$b.push(a),this.bf=i}else if(2==c)switch(e){case 1:this.Ob.push(180);this.$b.push(360);this.bf=i;break;case 2:f<=h&&(this.Ob.push(180),this.$b.push(360),this.bf=
i);break;case 3:this.Ob.push(180);this.$b.push(a);break;case 4:this.Ob.push(180),this.$b.push(a),this.bf=i}else if(3==c)switch(e){case 1:case 2:this.Ob.push(b);this.$b.push(360);this.bf=i;break;case 3:f>=h?(this.Ob.push(b),this.$b.push(360),this.bf=i,this.Ob.push(180)):this.Ob.push(b);this.$b.push(a);break;case 4:this.Ob.push(b),this.$b.push(a),this.bf=i}else if(4==c)switch(e){case 1:case 2:this.Ob.push(b);this.$b.push(360);break;case 3:this.Ob.push(b);this.$b.push(360);this.Ob.push(180);this.$b.push(a);
break;case 4:f>=h?(this.Ob.push(b),this.$b.push(360),this.Ob.push(180),this.$b.push(a),this.bf=i):(this.Ob.push(b),this.$b.push(a))}b=this.Ob.length;for(f=0;f<b;f++)a=this.g.ci,this.dl.push(a)};
sq.prototype.ga=function(a){var b=this.Ra(a),c=this.g.l.Vb,e=this.g.l.lp,f=this.g.oe(),h=this.g.G().Ma*this.g.G().Xi,j=this.Ob[a]*Math.PI/180,k=this.$b[a]*Math.PI/180,a=f.x+c*Math.cos(j),j=f.y+e*Math.sin(j),m=f.x+c*Math.cos(k),f=f.y+e*Math.sin(k),k=n,s=i;180<this.Ti&&(k=!k,s=!s);var b=b.o(),t;t=""+T(a,j);t+=b.nb(c,k,s,m,f,e);t+=V(m,f+h);t+=b.nb(c,0,0,a,j+h,e);return t+=V(a,j)};
sq.prototype.isEnabled=function(a,b){var a=a*(Math.PI/180),b=b*(Math.PI/180),c=Math.cos(a),e=Math.cos(b),f=this.oj(c,Math.sin(a)),h=this.oj(e,Math.sin(b));return 3==f||4==f?i:1==f?3==h||4==h?i:1==h?c<=e:n:2==f?2==h?c<=e:i:n};function tq(a){qq.call(this,a)}x.e(tq,qq);
tq.prototype.p=function(a){this.g=a;var b=a.wa,a=a.$o(),c=Math.sin(b*Math.PI/180),e=Math.sin(a*Math.PI/180),f=Math.cos(b*Math.PI/180),h=Math.cos(a*Math.PI/180),c=this.oj(f,c),e=this.oj(h,e);if(1==c)switch(e){case 1:f>=h?(this.Ob.push(b),this.$b.push(a)):(this.Ob.push(b),this.$b.push(180),this.Ob.push(360),this.$b.push(a),this.bf=i);break;case 2:this.Ob.push(b);this.$b.push(a);this.bf=i;break;case 3:case 4:this.Ob.push(b),this.$b.push(180),this.bf=i}else if(2==c)switch(e){case 1:this.Ob.push(b);this.$b.push(180);
this.Ob.push(360);this.$b.push(a);break;case 2:f>=h?(this.Ob.push(b),this.$b.push(a)):(this.Ob.push(b),this.$b.push(180),this.Ob.push(360),this.$b.push(a),this.bf=i);break;case 3:case 4:this.Ob.push(b),this.$b.push(180)}else if(3==c)switch(e){case 1:this.Ob.push(360);this.$b.push(a);break;case 2:this.Ob.push(360);this.$b.push(a);this.bf=i;break;case 3:f>=h&&(this.Ob.push(0),this.$b.push(180),this.bf=i)}else if(4==c)switch(e){case 1:this.Ob.push(360);this.$b.push(a);break;case 2:this.Ob.push(360);
this.$b.push(a);this.bf=i;break;case 3:this.Ob.push(360);this.$b.push(180);this.bf=i;break;case 4:f>=h&&(this.Ob.push(0),this.$b.push(180),this.bf=i)}b=this.Ob.length;for(f=0;f<b;f++)a=this.g.qi,this.dl.push(a)};
tq.prototype.ga=function(a){var b=this.Ra(a),c=this.g.l.Ma,e=this.g.l.Dj,f=this.g.oe(),h=this.g.G().Ma*this.g.G().Xi,j=this.Ob[a]*Math.PI/180,k=this.$b[a]*Math.PI/180,a=f.x+c*Math.cos(j),j=f.y+e*Math.sin(j),m=f.x+c*Math.cos(k),f=f.y+e*Math.sin(k),k=n,s=i;180<this.Ti&&(k=!k,s=!s);var b=b.o(),t;t=""+T(a,j);t+=b.nb(c,k,s,m,f,e);t+=V(m,f+h);t+=b.nb(c,0,0,a,j+h,e);return t+=V(a,j)};
tq.prototype.isEnabled=function(a,b){if(a==b)return n;var a=a*(Math.PI/180),b=b*(Math.PI/180),c=Math.cos(a),e=Math.cos(b),f=this.oj(c,Math.sin(a)),h=this.oj(e,Math.sin(b));return 1==f||2==f?i:3==f?1==h||2==h?i:3==h?c>=e:n:4==f?4==h?c>=e:i:n};function Ln(){this.zd()}x.e(Ln,Cn);w=Ln.prototype;w.ca=NaN;w.$a=q("ca");w.jd=p("ca");w.ia=q("ca");w.f=function(a,b){Ln.b.f.call(this,a,b);B(a,"value")?this.ca=D(a,"value"):B(a,"y")&&(this.ca=D(a,"y"));this.ca=H(this.ca)};w.tb=function(){Ln.b.tb.call(this);this.a.add("%Value",0);this.a.add("%YValue",0)};w.Aa=function(a){switch(a){case "%Value":case "%YValue":case "%YPercentOfSeries":case "%YPercentOfTotal":return 2}return Ln.b.Aa.call(this,a)};
w.le=function(){Ln.b.le.call(this);this.ca&&(this.a.add("%Value",this.ca),this.a.add("%YValue",this.ca))};w.Ba=function(a){Qd(this.a,"%YPercentOfSeries")||this.a.add("%YPercentOfSeries",100*(this.ca/this.l.Uf("%SeriesYSum")));Qd(this.a,"%YPercentOfTotal")||this.a.add("%YPercentOfTotal",100*(this.ca/this.G().Ba("%DataPlotYSum")));return Ln.b.Ba.call(this,a)};
w.Va=function(a){a=Ln.b.Va.call(this,a);a.YValue=this.a.get("%YValue");a.YPercentOfSeries=this.a.get("%YPercentOfSeries");a.YPercentOfTotal=this.a.get("%YPercentOfTotal");return a};function uq(){In.call(this)}x.e(uq,In);w=uq.prototype;
w.tb=function(){uq.b.tb.call(this);this.a.add("%SeriesYSum",0);this.a.add("%SeriesYMax",0);this.a.add("%SeriesYMin",0);this.a.add("%SeriesYBasedPointsCount",0);this.a.add("%SeriesFirstYValue",0);this.a.add("%SeriesLastYValue",0);this.a.add("%SeriesYAverage",0);this.a.add("%SeriesMaxYValuePointName","");this.a.add("%SeriesMinYValuePointName","")};
w.Aa=function(a){switch(a){case "%SeriesYSum":case "%SeriesYMax":case "%SeriesYMin":case "%SeriesYBasedPointsCount":case "%SeriesFirstYValue":case "%SeriesLastYValue":case "%SeriesYAverage":return 2;case "%SeriesMaxYValuePointName":case "%SeriesMinYValuePointName":return 1}return uq.b.Aa.call(this,a)};
w.vh=function(){uq.b.vh.call(this);var a=this.a.get("%SeriesYSum");this.a.add("%SeriesValue",a);this.a.add("%SeriesYValue",a);var b=this.wd();this.a.add("%SeriesYAverage",a/b);0>=b||(this.da(0)&&this.a.add("%SeriesFirstYValue",this.da(0).$a()),this.da(b-1)&&this.a.add("%SeriesLastYValue",this.da(b-1).$a()))};
w.wh=function(a){uq.b.wh.call(this,a);a=a.a;Rd(a,"%DataPlotYSum",this.a.get("%SeriesYSum"));Rd(a,"%DataPlotYBasedPointsCount",this.wd());this.a.get("%SeriesYMax")>a.get("%DataPlotYMax")&&(a.add("%DataPlotYMax",this.a.get("%SeriesYMax")),a.add("%DataPlotMaxYValuePointName",this.a.get("%SeriesMaxYValuePointName")),a.add("%DataPlotMaxYValuePointSeriesName",this.Ea));this.a.get("%SeriesYMin")<a.get("%DataPlotYMin")&&(a.add("%DataPlotYMin",this.a.get("%SeriesYMin")),a.add("%DataPlotMinYValuePointName",
this.a.get("%SeriesMinYValuePointName")),a.add("%DataPlotMinYValuePointSeriesName",this.Ea));this.a.get("%SeriesYSum")>a.get("%DataPlotMaxYSumSeries")&&(a.add("%DataPlotMaxYSumSeries",this.a.get("%SeriesYSum")),a.add("%DataPlotMaxYSumSeriesName",this.Ea));this.a.get("%SeriesYSum")<a.get("%DataPlotMinYSumSeries")&&(a.add("%DataPlotMinYSumSeries",this.a.get("%SeriesYSum")),a.add("%DataPlotMinYSumSeriesName",this.Ea))};
w.nd=function(a){uq.b.nd.call(this,a);var b=a.$a(),c=Number(this.a.get("%SeriesYMax")),e=Number(this.a.get("%SeriesYMin"));Rd(this.a,"%SeriesYSum",b);b>c&&(this.a.add("%SeriesYMax",b),this.a.add("%SeriesMaxYValuePointName",a.getName()));b<e&&(this.a.add("%SeriesYMin",b),this.a.add("%SeriesMinYValuePointName",a.getName()))};
w.Va=function(a){a=uq.b.Va.call(this,a);a.FirstYValue=this.Uf("%SeriesFirstYValue");a.LastYValue=this.Uf("%SeriesLastYValue");a.YSum=this.Uf["%SeriesYSum"];a.YMax=this.Uf["%SeriesYMax"];a.YMin=this.Uf["%SeriesYMin"];a.YAverage=this.Uf("%SeriesYAverage");a.YMedian=this.Uf("%SeriesYMedian");a.YMode=this.Uf("%SeriesYMode");return a};function vq(){}x.e(vq,Lf);vq.prototype.update=function(a){this.g.l.tj&&!this.g.G().uc[this.g.Bp].isEnabled()?this.Oi(n):vq.b.update.call(this,a)};vq.prototype.hD=function(a,b,c,e){b.update(a,c,e,n,b.vq)};function wq(){Z.call(this)}x.e(wq,Mf);wq.prototype.dc=function(){return new vq};function xq(){}x.e(xq,xn);w=xq.prototype;w.Vu=l;w.cG=p("Vu");w.Hb=function(){return new wq};w.qb=function(a,b,c){return this.Vu?xq.b.qb.call(this,a,b,c):a.Ug(this,b,this.k(a,b,c))};w.copy=function(a){a=xq.b.copy.call(this,a);a.cG(this.Vu);return a};function yq(a,b,c,e){this.cc=a;this.ab=b.height;this.Ia=b.width;this.g=c;this.na=i;this.U=e}w=yq.prototype;w.cc=NaN;w.Sc=p("cc");w.ab=NaN;w.wb=q("ab");w.wm=p("ab");w.Ia=NaN;w.Ka=q("Ia");w.Sj=p("Ia");w.g=l;w.zm=p("g");w.na=n;w.isEnabled=q("na");w.xf=p("na");
w.U=NaN;w.ho=p("U");function zq(a,b,c){this.D=c;this.Nr=Aq(a.cc,-90,270,90);a.cc=this.Nr;this.yc=90<=this.Nr&&270>this.Nr;this.B=[];this.B.push(a);this.Lk=[];this.Lk.push(a.cc);this.Kk=[];this.Kk.push(a.ab);this.au=this.Wh=a.ab;this.yc?(this.hg=this.El=Bq(c,a,n).y+this.Wh/2,this.jg=this.hg-this.Wh):(this.jg=this.El=Bq(c,a,n).y-this.Wh/2,this.hg=this.jg+this.Wh);this.qk=b;this.vg=Number.MAX_VALUE;this.wg=-Number.MAX_VALUE;Cq(this,0)}w=zq.prototype;w.yc=n;w.qk=NaN;w.B=l;w.Lk=l;w.Kk=l;w.jg=NaN;
w.hg=NaN;w.vg=NaN;w.wg=NaN;w.XC=NaN;w.El=NaN;w.au=NaN;w.Wh=NaN;w.D=l;w.Nr=NaN;
function Cq(a,b){var c=a.B[b],e=c.cc,f,h=0;a.yc?(c.Sc(Math.max(90.01,Aq(a.Lk[b]-a.qk,-90,270,90))),f=Bq(a.D,c,n).y-c.wb()/2+a.Kk[b],h=a.vg,a.vg=Math.min(h,f),c.Sc(Math.min(270,Aq(a.Lk[b]+a.qk,90,450,270))),f=Bq(a.D,c,n).y-c.wb()/2+a.Kk[b],a.wg<f&&(a.wg=f,a.XC=b)):(c.Sc(Math.max(-90,Aq(a.Lk[b]-a.qk,-270,90,-90))),f=Bq(a.D,c,n).y+c.wb()/2-a.Kk[b],h=a.wg,a.wg=Math.max(h,f),c.Sc(Math.min(90,Aq(a.Lk[b]+a.qk,-90,270,90))),f=Bq(a.D,c,n).y+c.wb()/2-a.Kk[b],a.vg>f&&(a.vg=f,a.XC=b));c.Sc(e)}
w.Ot=function(a){return a.yc!=this.yc?n:this.yc?this.jg<=a.hg:this.hg>=a.jg};
function Dq(a,b){for(var c=b.B.length,e=0;e<c;e++){var f=b.B[e];f.Sc(b.Lk[e]);a.B.push(f);a.Lk.push(f.cc);a.Wh+=f.wb();a.Kk.push(a.Wh);a.El=a.yc?a.El+(Bq(a.D,f,n).y+f.ab/2+a.au):a.El+(Bq(a.D,f,n).y-f.ab/2-a.au);a.au+=f.wb();Cq(a,a.B.length-1)}a.yc?(a.hg=a.El/a.B.length,a.wg<=a.vg)?(a.hg>a.vg&&(a.hg=a.vg),a.hg<a.wg&&(a.hg=a.wg),a.jg=a.hg-a.Wh):(a.hg=a.vg,a.jg=a.wg-a.Wh):(a.jg=a.El/a.B.length,a.wg<=a.vg)?(a.jg>a.vg&&(a.jg=a.vg),a.jg<a.wg&&(a.jg=a.wg),a.hg=a.jg+a.Wh):(a.jg=a.wg,a.hg=a.vg+a.Wh)}
function Eq(a){var b,c=a.B.length,e;e=a.wg<=a.vg?1:1-(a.wg-a.vg)/a.Kk[a.XC];if(a.yc)for(b=0;b<c;b++)a.B[b].cc=Fq(a,180-Gq(a.D,a.hg-a.Kk[b]*e+a.B[b].ab/2),a.Lk[b]);else for(b=0;b<c;b++)a.B[b].cc=Fq(a,Gq(a.D,a.jg+a.Kk[b]*e-a.B[b].ab/2),a.Lk[b])}w.cM=88*Math.PI/180;function Fq(a,b,c){var e=b,b=b*Math.PI/180,c=c*Math.PI/180;return 0>Math.cos(b)*Math.cos(c)||Math.abs(Math.cos(b))<Math.cos(a.cM)?0<Math.sin(c)?90-2*(0<Math.cos(c)?1:-1):270+2*(0<Math.cos(c)?1:-1):e}
function Aq(a,b,c,e){for(;a<b;)a+=360;for(;a>=c;)a-=360;if(a==b||a==e)a+=0.01;return a};function Hq(){this.zd();this.Sz={}}x.e(Hq,Ln);w=Hq.prototype;w.wa=NaN;w.wc=NaN;w.$o=q("wc");w.Ti=NaN;w.Sd=l;w.Gn=n;w.ej=function(){isNaN(this.ca)&&(this.cb=i,this.ca=0)};w.f=function(a,b){Hq.b.f.call(this,a,b);this.ej();B(a,"exploded")&&(this.Gn=I(a,"exploded"));this.Gn&&(this.Sa.dE=i,this.G().mr=this)};w.p=function(a){Hq.b.p.call(this,a);this.Ak()&&(this.Cf=a.ba(),this.v.appendChild(this.Cf));return this.v};w.update=function(){this.Zd();Hq.b.update.call(this);this.PC(this.Ra().o())};
w.Zd=function(){var a=this.oe();this.j.x=a.x-this.l.Ma;this.j.y=a.y-this.l.Ma;this.j.width=this.j.height=2*this.l.Ma};w.oe=function(){this.Sd==l&&(this.Sd=new P);this.Sd.x=this.G().oe().x;this.Sd.y=this.G().oe().y;if(this.Gn){var a=this.G().zk(),b=(this.wa+this.wc)/2,b=b*(Math.PI/180);this.Sd.x+=a*Math.cos(b);this.Sd.y+=a*Math.sin(b)}return this.Sd};
w.YB=function(){this.wa=0==this.U?this.l.wa:this.l.da(this.U-1).$o();var a=this.l.IG;this.Ti=0==a?360/this.l.R.length:360*this.ia()/a;this.wc=this.wa+this.Ti};w.km=function(a){var b=this.G();b.Jb.ou&&(b.Jb.EJ||(b.mr&&b.mr!=this&&(b.mr.Gn=n,b.mr.Zd()),b.mr=this),this.Gn=!this.Gn);Hq.b.km.call(this,a)};w.Sz=l;w.Ml=function(){var a=this.j.toString()+" "+this.Gn.toString();if(this.Sz[a])return this.Sz[a];var b=this.vC();return this.Sz[a]=b};
w.vC=function(){var a;a=1<=this.l.Vb?this.l.Vb-1:this.l.Vb;var b=this.l.Ma,c,e,f;this.wc%360!=this.wa%360?(e=(this.wc+0.5)*Math.PI/180,c=this.wa*Math.PI/180):(f=Math.min(this.wa,this.wc),e=(this.wc-f)*Math.PI/180,c=(this.wa-f)*Math.PI/180);var h=this.oe();f=h.x+a*Math.cos(c);var j=h.y+a*Math.sin(c),k=h.x+b*Math.cos(c);c=h.y+b*Math.sin(c);var m=h.x+a*Math.cos(e),s=h.y+a*Math.sin(e),t=h.x+b*Math.cos(e);e=h.y+b*Math.sin(e);var v=h=n,y=i;180<this.Ti&&(v=h=i);var C=this.o();k==t&&(e-=1.0E-4,y=n);f==m&&
(j+=1.0E-4);var M=T(f,j),M=M+T(k,c),M=M+C.nb(b,h,i,t,e),M=M+(y?V(m,s):T(m,s)),M=M+C.nb(a,v,n,f,j);return M+" Z"};w.Cf=l;w.Ut=l;w.Ak=function(){return this.fc&&this.Db().Ak()};w.UF=function(){if(this.Ak()){var a=this.Au(this.o());a?(this.Cf.setAttribute("d",a),this.Cf.setAttribute("visibility","visible")):this.Cf.setAttribute("visibility","hidden")}};w.PC=function(a){if(this.Ak()){var b=this.Au(a);b!=l?this.Cf.setAttribute("d",b):this.Cf.removeAttribute("d");this.qA(a,this.Cf)}};
w.qA=function(a,b){var c=Y(this.Db().Vt,a,this.Ut),c=c+Vc();b.setAttribute("style",c)};w.Au=function(a){if(this.l.tj&&this.fc&&this.CJ&&this.Db().tj&&this.G().uc[this.Bp].isEnabled()){var b=this.G(),c=new P,e=new P,f=new P,c=this.oe().la(),h=b.uc[this.Bp].cc,j=this.Db().HJ?b.Ma*this.Db().hj:this.Db().hj,e=Bq(b,b.uc[this.Bp],n).la(),f=Bq(b,b.uc[this.Bp],n).la();e.x=90<h%360&&270>h%360?e.x+j:e.x-j;return this.nI(a,c,e,f)}};
w.nI=function(a,b,c,e){var a=this.l.Ma,f=(this.wa+this.wc)/2;b.x+=Ec(a,f);b.y+=W(a,f);return Iq(this,b,c,e)};function Iq(a,b,c,e){var f="";a.Db().Vt!=l&&(a.Ut=new R(Math.min(b.x,c.x,e.x),Math.min(b.y,c.y,e.y),Math.max(b.x,c.x,e.x)-Math.min(b.x,c.x,e.x),Math.max(b.y,c.y,e.y)-Math.min(b.y,c.y,e.y)),f+=T(b.x,b.y),f+=V(c.x,c.y),f+=V(e.x,e.y));return f}w.Bp=NaN;w.CJ=i;function Jq(a,b){b==g&&(b=i);a.Nb().na=b;a.CJ=b}w.Ug=function(a,b,c){return this.l.tj?Bq(this.G(),this.G().uc[this.Bp],i):this.zr(a,b,c)};
w.Lf=function(a,b){var c,e,f=this.l.Vb,h=this.l.Ma;switch(b){case 0:c=this.wa+this.Ti/2;e=(f+h)/2;break;case 7:c=this.wa+this.Ti/2;e=f;break;case 1:c=this.wa;e=(f+h)/2;break;case 5:c=this.wc;e=(f+h)/2;break;case 3:c=this.wa+this.Ti/2;e=h;break;case 8:c=this.wa;e=f;break;case 2:c=this.wa;e=h;break;case 6:c=this.wc;e=f;break;case 4:c=this.wc,e=h}f=this.oe();c*=Math.PI/180;a.x=f.x+e*Math.cos(c);a.y=f.y+e*Math.sin(c)};w.ya=function(){Hq.b.ya.call(this);this.Em();this.UF();this.Oa.sh(this.sa)};w.$q=o();
w.tb=function(){Hq.b.tb.call(this);this.a.add("%YValue",0)};w.Aa=function(a){if(Wd(a)&&this.Jd)return this.Jd.Aa(a);switch(a){case "%YValue":case "%Value":case "%YPercentOfSeries":case "%YPercentOfTotal":case "%YPercentOfCategory":return 2}return Hq.b.Aa.call(this,a)};w.le=function(){Hq.b.le.call(this);this.ca&&(this.a.add("%YValue",this.ca),this.a.add("%Value",this.ca))};
w.Ba=function(a){if(Wd(a)&&this.Jd)return this.Jd.Ba(a);Qd(this.a,"%YPercentOfSeries")||this.a.add("%YPercentOfSeries",100*(this.ca/this.l.Uf("%SeriesYSum")));Qd(this.a,"%YPercentOfTotal")||this.a.add("%YPercentOfTotal",100*(this.ca/this.G().Ba("%DataPlotYSum")));!Qd(this.a,"%YPercentOfCategory")&&this.Jd&&this.a.add("%YPercentOfCategory",100*(this.ca/this.Jd().Ba("%CategoryYSum")));return Hq.b.Ba.call(this,a)};function Kq(){In.call(this);this.tj=n}x.e(Kq,In);w=Kq.prototype;w.tj=l;w.wa=0;w.Vb=0;
w.Ma=0;w.hm=u(i);w.IG=0;w.Id=function(){return new Hq};w.vA=function(){this.Vb=Lq(this.Sa.G(),this.U,i);this.Ma=Lq(this.Sa.G(),this.U,n)};w.md=function(a,b){Kq.b.md.call(this,a,b);this.IG+=a.ia()};w.f=function(a,b){Kq.b.f.call(this,a,b);B(a,"start_angle")&&(this.wa=J(a,"start_angle"));this.wa+=this.Sa.wa};w.zg=function(){this.vA()};w.jm=function(){this.vA()};
w.tb=function(){Kq.b.tb.call(this);this.a.add("%SeriesLastYValue",0);this.a.add("%SeriesYSum",0);this.a.add("%SeriesYMax",-Number.MAX_VALUE);this.a.add("%SeriesYMin",Number.MAX_VALUE);this.a.add("%SeriesYAverage",0);this.a.add("%MaxYValuePointName","");this.a.add("%MinYValuePointName","")};
w.Aa=function(a){if(Ud(a,this.G()))return this.G().Aa(a);switch(a){case "%SeriesLastYValue":case "%SeriesFirstYValue":case "%SeriesYSum":case "%SeriesYMax":case "%SeriesYMin":case "%SeriesYAverage":return 2;case "%MaxYValuePointName":case "%MinYValuePointName":return 1}return Kq.b.Aa.call(this,a)};
w.wh=function(a){Kq.b.wh.call(this,a);a=a.a;Rd(a,"%DataPlotYSum",this.a.get("%SeriesYSum"));Rd(a,"%YBasedPointsCount",this.R.length);this.a.get("%SeriesYMax")>a.get("%DataPlotYMax")&&(a.add("%DataPlotYMax",this.a.get("%SeriesYMax")),a.add("%DataPlotMaxYValuePointName",this.a.get("%SeriesMaxYValuePointName")),a.add("%DataPlotMaxYValuePointSeriesName",this.Ea));this.a.get("%SeriesYMin")<a.get("%DataPlotYMin")&&(a.add("%DataPlotYMin",this.a.get("%SeriesYMin")),a.add("%DataPlotMinYValuePointName",this.a.get("%SeriesMinYValuePointName")),
a.add("%DataPlotMinYValuePointSeriesName",this.Ea));this.a.get("%SeriesYSum")>a.get("%DataPlotMaxYSumSeries")&&(a.add("%DataPlotMaxYSumSeries",this.a.get("%SeriesYSum")),a.add("%DataPlotMaxYSumSeriesName",this.Ea));this.a.get("%SeriesYSum")>a.get("%DataPlotMinYSumSeries")&&(a.add("%DataPlotMinYSumSeries",this.a.get("%SeriesYSum")),a.add("%DataPlotMinYSumSeriesName",this.Ea))};
w.nd=function(a){Kq.b.nd.call(this,a);Rd(this.a,"%SeriesYSum",a.$a());a.$a()>this.a.get("%SeriesYMax")&&(this.a.add("%SeriesYMax",a.$a()),this.a.add("%SeriesMaxYValuePointName",a.getName()));a.$a()<this.a.get("%SeriesYMin")&&(this.a.add("%SeriesYMin",a.$a()),this.a.add("%SeriesMinYValuePointName",a.getName()))};
w.vh=function(){Kq.b.vh.call(this);this.a.add("%SeriesYAverage",this.a.get("%SeriesYSum")/this.R.length);this.R&&this.da(0)&&this.a.add("%SeriesFirstYValue",this.da(0).$a());this.R&&this.da(this.R.length-1)&&this.a.add("%SeriesLastYValue",this.da(this.R.length-1).$a())};function Mq(){Hq.call(this)}x.e(Mq,Hq);w=Mq.prototype;w.Qi=l;w.ii=l;w.rh=l;w.qi=l;w.ci=l;w.Bh=l;w.ik=l;w.aH=0.0010;w.KH=n;
w.p=function(a){this.Qi=new X(a);this.ii=new X(a);this.rh=new X(a);this.qi=new X(a);this.ci=new X(a);Mq.b.p.call(this,a);this.Bh=new tq(a);this.ik=new sq(a);return this.v};w.oe=function(a){a||(a=new P);a.x=this.G().oe().x;a.y=this.G().oe().y;if(this.Gn){var b=this.G().zk()*this.G().th,c=(this.wa+this.wc)/2;a.x+=Ec(this.G().zk(),c);a.y+=W(b,c)}return a};
w.Zd=function(){var a=this.oe(),b=this.G().Ma*this.G().Xi;this.lL=new R(a.x-this.l.Ma,a.y-this.l.Dj,2*this.l.Ma,2*this.l.Dj);this.j=this.lL.la();this.j.height+=b};
w.YB=function(){Mq.b.YB.call(this);if(!this.cb){this.G().uk.SG.Z(this.rh);var a=this.Qi,b=this.l.U;this.G().uk.nh.push({s:Math.sin((this.wa+this.aH)*Math.PI/180),c:a,i:b});a=this.ii;b=this.l.U;this.G().uk.nh.push({s:Math.sin((this.wc-this.aH)*Math.PI/180),c:a,i:b});this.cb||(Dn(this,this.Qi),Dn(this,this.ii),Dn(this,this.rh));if(this.Bh.isEnabled(this.wa,this.wc)){this.Bh.p(this);this.G().uk.rr.push({d:this.Bh,i:this.l.U});for(a=0;a<this.Bh.ri();a++)Dn(this,this.Bh.Ra(a))}if(this.ik.isEnabled(this.wa,
this.wc)){this.ik.p(this);this.G().uk.Gq.push({d:this.ik,i:this.l.U});for(a=0;a<this.ik.ri();a++)Dn(this,this.ik.Ra(a))}}};function lq(a,b){if(NaN==b)return"";var c=a.oe(),e="",f=a.l.Ma,h=a.l.Dj,j=a.l.lp,k=a.G().Ma*a.G().Xi,j=new P(c.x+Ec(a.l.Vb,b),c.y+W(j,b)),c=new P(c.x+Ec(f,b),c.y+W(h,b)),f=new P(c.x,c.y+k),k=new P(j.x,j.y+k),e=e+T(j.x,j.y),e=e+V(c.x,c.y),e=e+V(f.x,f.y),e=e+V(k.x,k.y),e=e+V(j.x,j.y);return e+" Z"}
w.nI=function(a,b,c,e){var a=this.l.Ma,f=this.l.Dj,h=(this.wa+this.wc)/2;b.y+=this.G().Ma*this.G().Xi/2;b.x+=Ec(a,h);b.y+=W(f,h);this.KH||(0>Math.sin(h*Math.PI/180)?this.G().uk.MB.appendChild(this.Cf):this.G().uk.vD.appendChild(this.Cf),this.KH=i);return Iq(this,b,c,e)};
w.Lf=function(a,b){this.oe(a);var c=this.l.Ma,e=this.l.Dj,f=this.l.Vb,h=this.l.lp,j,k,m;switch(b){case 0:j=this.wa+this.Ti/2;k=(f+c)/2;m=(h+e)/2;break;case 7:j=this.wa+this.Ti/2;k=f;m=h;break;case 1:j=this.wa;k=(f+c)/2;m=(h+e)/2;break;case 5:j=this.wc;k=(f+c)/2;m=(h+e)/2;break;case 3:j=this.wa+this.Ti/2;k=c;m=e;break;case 8:j=this.wa;k=f;m=h;break;case 2:j=this.wa;k=c;m=e;break;case 6:j=this.wc;k=f;m=h;break;case 4:j=this.wc,k=c,m=e}a.x+=Ec(k,j);a.y+=W(m,j)};function Nq(){Kq.call(this)}x.e(Nq,Kq);
Nq.prototype.Dj=l;Nq.prototype.lp=l;Nq.prototype.Id=function(){return new Mq};Nq.prototype.vA=function(){Nq.b.vA.call(this);this.Dj=this.Ma*this.G().th;this.lp=this.Vb*this.G().th};function Oq(){Kn.apply(this);this.$w=i}x.e(Oq,Kn);w=Oq.prototype;w.zI=0.1;w.zk=q("zI");w.dE=n;w.EJ=i;w.ou=i;w.sm=1;w.yd=q("sm");w.Vb=0.3;w.wa=0;w.mH=n;w.st=q("mH");w.tj=n;w.NE=n;w.XE=20;w.RJ=n;w.ZK=n;w.Vt=l;w.Dx=n;w.HJ=n;w.hj=5;w.Ak=function(){return this.Vt&&this.Dx};
w.Sf=function(){var a=this.D.Md?new Nq:new Kq;a.ag(16);return a};w.Vf=u("pie_series");w.Ib=u("pie_style");w.Hb=function(a){return this.D.Md?new pq:B(a,"name")&&"aqua"==N(a,"name")?new eq:new fq};w.dr=function(a){if(a==l||a==g)a=n;var b=new xq;b.cG(a);return b};
w.f=function(a,b){Oq.b.f.call(this,a,b);B(a,"radius")&&(this.sm=J(a,"radius")/100);B(a,"inner_radius")&&(this.Vb=J(a,"inner_radius")/100);B(a,"explode_on_click")&&(this.ou=I(a,"explode_on_click"));B(a,"explode")&&(this.zI=J(a,"explode")/100);B(a,"allow_multiple_expand")&&(this.EJ=I(a,"allow_multiple_expand"));B(a,"start_angle")&&(this.wa=J(a,"start_angle"));if(B(a,"label_settings")){var c=D(a,"label_settings");B(c,"mode")&&(this.RJ=i,this.tj="outside"==N(c,"mode"));B(c,"smart_labels")&&(this.ZK=I(c,
"smart_labels"));if(this.tj&&(B(c,"allow_overlap")&&(this.mH=I(c,"allow_overlap")),B(c,"position")&&(c=D(c,"position"),B(c,"padding")&&(c=D(c,"padding"),this.XE=(this.NE=Db(c))?Eb(c):H(c))),c=D(a,"connector"),K(c)))this.Dx=i,this.Vt=new qd,this.Vt.f(c),B(c,"padding")&&(c=D(c,"padding"),Db(c)?(this.HJ=i,this.hj=Eb(c)):this.hj=H(c))}};w.rx=u(i);w.Ht=u(n);w.gD=function(a,b){b?a.sort(function(a,b){return b.$a()-a.$a()}):a.sort(function(a,b){return a.$a()-b.$a()})};
w.yI=function(a,b){a=a.slice();b?a.sort(function(a,b){return J(b,"y")-J(a,"y")}):a.sort(function(a,b){return J(a,"y")-J(b,"y")});return a};var Pq={chart:{styles:{pie_style:[{fill:{type:"solid",color:"%color",opacity:"1"},border:{type:"solid",color:"DarkColor(%color)"},states:{hover:{fill:{color:"Blend(White,%Color,0.3)"}}},name:"anychart_default"},{fill:{color:"%Color"},states:{hover:{fill:{color:"Blend(White,%Color,0.9)"}},pushed:{color:"rgb(200,200,200)"},selected_hover:{fill:{color:"Blend(White,%Color,0.3)"}},selected_normal:{fill:{color:"Blend(White,%Color,0.3)"}}},name:"aqua"}]},data_plot_settings:{pie_series:{animation:{style:"defaultPie"},
label_settings:{position:{padding:"20"},animation:{style:"defaultLabel"}},marker_settings:{animation:{style:"defaultMarker"}},connector:{enabled:"true"},tooltip_settings:{},style:"Aqua"}},chart_settings:{data_plot_background:{enabled:"false"}}}};function Qq(){}x.e(Qq,Ik);Qq.prototype.pg=function(){return this.gf(Qq.b.pg.call(this),Pq)};function Rq(a){this.A=a.o();this.rr=[];this.Gq=[];this.nh=[];this.SG=new X(this.A);this.sG=new X(this.A);this.vD=new X(this.A);this.MB=new X(this.A);a.appendChild(this.MB.q);a.appendChild(this.sG.q);a.appendChild(this.SG.q);a.appendChild(this.vD.q)}w=Rq.prototype;w.SG=l;w.sG=l;w.vD=l;w.MB=l;w.rr=l;w.Gq=l;w.nh=l;w.A=l;w.YK=n;
function Sq(a){if(!a.YK){var b,c,e,f,h=a.rr.length;for(b=0;b<h;b++)if(a.rr[b]){var j=a.rr[b].d;c=a.rr[b].i;f=j.ri();for(e=0;e<f;e++)a.nh.push({c:j.Ra(e),s:j.bf?1:Math.sin(rq(j,e)*Math.PI/180),i:c})}h=a.Gq.length;for(b=0;b<h;b++)if(a.Gq[b]){j=a.Gq[b].d;c=a.Gq[b].i;f=j.ri();for(e=0;e<f;e++)a.nh.push({c:j.Ra(e),s:j.bf?-1:Math.sin(rq(j,e)*Math.PI/180),i:c})}h=a.nh.length;for(b=0;b<h;b++)a.nh[b].s=0<=a.nh[b].s?a.nh[b].s+2*a.nh[b].i:a.nh[b].s-2*a.nh[b].i;a.nh.sort(function(a,b){return a.s-b.s});for(b=0;b<
h;b++)a.sG.appendChild(a.nh[b].c.q);a.YK=i}}function Le(){mk.call(this);this.Sd=new P;this.Md=this.Yy=n;this.Qf={};this.rf=[]}x.e(Le,mk);w=Le.prototype;w.Jb=l;w.UE=n;w.Yy=n;w.LH=l;w.Md=n;w.Xi=0.2;w.th=0.45;w.uk=l;w.Qf=l;w.rf=l;w.OH=function(a){if(!this.Qf[a]){var b=new Em(this);b.Oj(a);b.ho(this.rf.length);this.rf.push(b);this.Qf[a]=b}return this.Qf[a]};w.Ma=NaN;w.Vb=NaN;w.Sd=l;w.oe=q("Sd");w.Dj=NaN;w.lp=NaN;w.mr=l;w.zk=function(){return this.Ma*this.Cu()};w.Cu=function(){return this.Jb.zk()};
w.qk=-10;w.Cp=NaN;w.uc=l;w.Fs=function(a){Le.b.Fs.call(this,a);"doughnut"==a&&(this.Yy=i)};w.bp=function(){return new Qq};w.Xt=function(){return new Oq};w.ny=function(a,b,c,e){return this.Jb?this.Jb:this.Jb=Le.b.ny.call(this,a,b,c,e)};w.Xx=o();w.Kf=o();w.rH=function(a,b){return this.Jb.rx()&&this.Jb.wp?this.Jb.yI(b,this.Jb.iw):b};w.wk=function(a){B(a,"enable_3d_mode")&&(this.Md=I(a,"enable_3d_mode"))};w.un=u(16);w.jj=16;
function Lq(a,b,c){b=(a.Yy?a.Ma-a.Vb:a.Ma)*(c?b:b+1)/ok(a);return a.Yy?a.Vb+b:b}w.zk=function(){return this.Ma*this.Jb.zk()};w.Cu=function(){return this.Jb.zk()};w.ga=function(){Le.b.ga.call(this);this.uk&&Sq(this.uk)};w.dj=function(a){this.j=this.Md?Tq(this,a):Uq(this,a);Le.b.dj.call(this,a);this.Jb.tj&&Vq(this,a)};w.lg=function(){return new R(0,0,this.j.width,this.j.height)};
w.p=function(a,b,c){this.LH=new X(this.o());this.uo.Z(this.LH);var e=ok(this);if(this.Md){this.uk=new Rq(this.bu);var f=this.o(),h=f.$m,j=oc(f,"filter");j.setAttribute("id","smileBlur");f=oc(f,"feGaussianBlur");f.setAttribute("in","SourceGraphic");f.setAttribute("stdDeviation","1.1");j.appendChild(f);h.appendChild(j)}Le.b.p.call(this,a,b,c);for(b=0;b<e;b++){h=this.l[b].wd();for(c=0;c<h;c++)pk(this,b).da(c).YB()}this.UE=1==e;this.j=this.Md?Tq(this,a):Uq(this,a);this.j=a.la();this.UE||(this.Jb.ou=n);
this.Jb.tj&&(this.l[e-1].tj=i,Vq(this,a));return this.v};function Uq(a,b){var c=b,b=b.la(),e=Math.min(b.width,b.height);b.x+=(b.width-e)/2;b.y+=(b.height-e)/2;b.width=b.height=e;e/=2;a.Sd.x=c.width/2;a.Sd.y=c.height/2;if(!(0>=ok(a)))return a.UE&&(a.Jb.dE||a.Jb.ou)?(c=e/(a.Jb.yd()+a.Jb.zk()),a.Ma=c*a.Jb.yd(),a.Vb=c*a.Jb.Vb):(a.Ma=a.Jb.yd()*e,a.Vb=a.Jb.Vb*e),b}
function Tq(a,b){var c=b,b=b.la(),e=Math.min(b.width/2,b.height/(2*a.th+a.Xi));b.x=b.x+b.width/2-e;b.y=b.y+b.height/2-e*(a.th+a.Xi/2);b.width=2*e;b.height=2*e*a.th+e*a.Xi;a.Sd.x=c.width/2;a.Sd.y=c.height/2-e*a.Xi/2;c=ok(a);0<c&&(1==c&&(a.Jb.dE||a.Jb.ou)?(e/=a.Jb.yd()+a.Jb.zk(),a.Ma=e*a.Jb.yd(),a.Vb=e*a.Jb.Vb):(a.Ma=a.Jb.yd()*e,a.Vb=a.Jb.Vb*e),a.Dj=a.Ma*a.th,a.lp=a.Vb*a.th);return b}
function Vq(a,b){var c=a.Jb.NE?a.Jb.XE*a.Ma:a.Jb.XE,e=a.Jb.Dx?a.Jb.hj:0;a.uc=[];for(var f=a.l.length-1,h=0;h<pk(a,f).wd();h++){var j=pk(a,f).da(h);if(j.fc!=l){var k=(j.wa+j.$o())*Math.PI/360;j.Nb().ea().ta.padding=c;j.Nb().ea().ec.padding=c;j.Nb().ea().ic.padding=c;j.Nb().ea().Rb.padding=c;j.Nb().ea().gc.padding=c;j.Nb().ea().rc.padding=c;var m=j.Nb().k(j,j.Nb().ea().ta,j.Ra());a.Ma=Math.min(a.Ma,Math.abs((b.width-2*(m.width+e))/(2*(1+a.Cu()+c/a.Ma)*Math.cos(k))));a.Ma=a.Md?Math.min(a.Ma,Math.abs((b.height*
a.th-2*m.height)/(2*(1+a.Cu()+c/a.Ma)*a.th*Math.sin(k)))/a.th):Math.min(a.Ma,Math.abs((b.height-2*m.height)/(2*(1+a.Cu()+c/a.Ma)*Math.sin(k))));a.uc.push(new yq((j.wa+j.$o())/2,m,j,a.uc.length));j.Bp=a.uc.length-1;-10==a.qk&&(a.qk=Math.acos(1/(1+c/a.Ma)))}}a.Cp=c+a.Ma;a.Vb=a.Ma*a.Jb.Vb;if(a.Jb.RJ)if(a.Jb.ZK)if(Wq(a),!a.Jb.st()&&0<a.uc.length){for(var s in a.uc)c=a.uc[s],Xq(c,n);e=Xq(a.uc[a.uc.length-1]);for(s in a.uc){c=a.uc[s];if(f=c!=e)h=a,j=c,f=e,k=Bq(h,j,i),j=new R(k.x,k.y,j.Ia,j.ab),h=Bq(h,f,
i),f=!j.xi(new R(h.x,h.y,f.Ia,f.ab));f&&(e=Xq(c))}}else for(s in a.uc)c=a.uc[s],Xq(c);else{if(a.iC()){s=a.uc.length-1;for(e=0;e<=s;e++)if(c=a.uc[e],j=e==s?a.uc[0]:a.uc[e+1],f=Bq(a,c,i),h=Bq(a,j,i),f=new R(f.x,f.y,c.Ka(),c.wb()),h=new R(h.x,h.y,j.Ka(),j.Ka()),f.xi(h)||!(c.cc>j.cc)){j=Math.ceil(c.cc-180*a.qk/Math.PI);for(k=c.cc;k>j;k--)if(c.Sc(k),m=Bq(a,c,i),f.x=m.x,f.y=m.y,!f.xi(h)){c.Sc(k);break}}if(a.Ot()){s=a.uc.length-1;for(e=0;e<=s;e++)if(c=a.uc[e],j=0==e?a.uc[s]:a.uc[e-1],f=Bq(a,c,i),h=Bq(a,
j,i),f=new R(f.x,f.y,c.Ka(),c.wb()),h=new R(h.x,h.y,j.Ka(),j.wb()),f.xi(h)||!(c.cc>j.cc)){j=Math.ceil(c.cc+180*a.qk/Math.PI);for(k=c.cc;k<j;k++)if(c.Sc(k),m=Bq(a,c,i),f.x=m.x,f.y=m.y,!f.xi(h)){c.Sc(k);break}}a.Ot()}}for(s=0;s<a.uc.length;s++)c=a.uc[s],c.isEnabled()&&!Yq(a,c)?a.Jb.st()?(c.xf(i),Jq(c.g,i)):(c.xf(n),Jq(c.g,n)):(c.xf(i),Jq(c.g,i))}}
function Bq(a,b,c){var e=b.g.oe();if(a.Md){var f=a.Ma*a.th,h=a.Cp-a.Ma;e.x+=(a.Ma+h)*Math.cos(b.cc*Math.PI/180);e.y+=(f+h)*Math.sin(b.cc*Math.PI/180);e.y+=a.Ma*a.Xi/2}else e.x+=a.Cp*Math.cos(b.cc*Math.PI/180),e.y+=a.Cp*Math.sin(b.cc*Math.PI/180);f=new R(0,0,b.Ka(),b.wb());a.Jb.Dx&&(e.x=90<b.cc&&270>b.cc?e.x-a.Jb.hj:e.x+a.Jb.hj);c&&(0>Math.cos(b.cc*Math.PI/180)&&dd(e,0,f,0),gd(e,1,f,0));return e}
function Gq(a,b){var b=b-a.oe().y,c;if(a.Md){c=a.Ma*a.th;var e=a.Cp-a.Ma,b=b-a.Ma*a.Xi/2;c=180*Math.asin(b/(c+e))/Math.PI}else c=180*Math.asin(b/a.Cp)/Math.PI;return isNaN(c)?0<b?90.01:-89.99:c}
function Wq(a){var b=[],c,e=a.uc.length;for(c=0;c<e;c++)b.push(new zq(a.uc[c],180*Math.acos(a.Ma/a.Cp)/Math.PI,a));b.sort(function(a,b){return a.Nr-b.Nr});a=[];e=b.length;for(c=0;c<e;c++){for(var f=b[c],h=a.pop();h!=l;)if(h.Ot(f))Dq(h,f),f=h,h=a.pop();else{a.push(h);break}a.push(f)}e=a.length;for(c=0;c<e;c++)Eq(a[c])}function Xq(a,b){if(b==l||b==g)b=i;a.xf(b);Jq(a.g,b);return b?a:l}w.iC=function(){for(var a=this.uc.length,b=0;b<a;b++)if(!Yq(this,this.uc[b]))return i;return n};
function Yq(a,b){for(var c=Bq(a,b,i),c=new R(c.x,c.y,b.width,b.height),e=0;e<a.uc.length;e++)if(e!=b.U){var f=a.uc[e];if(f.isEnabled()){var h=Bq(a,f,i);if(c.xi(new R(h.x,h.y,f.width,f.height)))return n}}return i};function Zq(){this.Dg=this.Ve=-1;this.Zx=1;this.Wi=this.ti=5}w=Zq.prototype;w.Ve=l;w.Dg=l;w.Zx=l;w.ti=l;w.Yr=n;w.Wi=l;w.Zr=n;
w.f=function(a){B(a,"columns")&&(this.Ve=J(a,"columns"));B(a,"rows")&&(this.Dg=J(a,"rows"));if(B(a,"direction")){var b;a:switch(N(a,"direction")){default:case "vertical":b=0;break a;case "horizontal":b=1}this.Zx=b}B(a,"vertical_padding")&&(b=D(a,"vertical_padding"),Db(b)?(this.Wi=Eb(b),this.Zr=i):this.Wi=H(b));B(a,"horizontal_padding")&&(b=D(a,"horizontal_padding"),Db(b)?(this.ti=Eb(b),this.Yr=i):this.ti=H(b))};
w.p=function(a){-1==this.Ve&&-1!=this.Dg&&(this.Ve=Math.ceil(a.length/this.Dg));-1==this.Ve&&-1==this.Dg&&(this.Ve=4,4>=a.length&&(this.Ve=a.length));this.Dg=Math.ceil(a.length/this.Ve)};
w.wA=function(a,b){var c=0,e=0,f=0,h=0;this.Yr&&(this.ti*=b.width);this.Zr&&(this.Wi*=b.height);for(var j=b.width-this.ti*(this.Ve-1),k=b.height-this.Wi*(this.Dg-1),m,s=0;s<a.length;s++)if(m=a[s],m.wA(new R(b.x+f,b.y+h,j/this.Ve,k/this.Dg)),1==this.Zx&&(e++,f+=m.Cc.width+this.ti,e>this.Ve-1&&(f=e=0,h+=m.Cc.height+this.Wi,c++)),0==this.Zx)c++,h+=m.Cc.height+this.Wi,c>this.Dg-1&&(h=c=0,f+=m.Cc.width+this.ti,e++)};function $q(){mk.call(this);this.Md=n;this.fv=new Zq}x.e($q,mk);w=$q.prototype;w.Md=l;w.fv=l;w.wk=function(a){$q.b.wk.call(this,a);B(a,"enable_3d_mode")&&(this.Md=n);D(a,"multiple_series_layout")&&this.fv.f(D(a,"multiple_series_layout"))};w.p=function(a,b,c){a.la();b=$q.b.p.call(this,a,b,c);a=a.la();a.x=0;a.y=0;this.N&&zd(this.N,a);this.fv.p(this.l);this.fv.wA(this.l,a);return b};w.dj=function(a){a.la();var b=a.la();b.x=0;b.y=0;this.N&&zd(this.N,b);this.fv.wA(this.l,b);$q.b.dj.call(this,a)};
w.tb=function(){$q.b.tb.call(this);this.a.add("%DataPlotMaxYValuePointName","");this.a.add("%DataMaxYValuePointSeriesName","");this.a.add("%DataPlotMinYValuePointName","");this.a.add("%DataPlotMinYValuePointSeriesName","");this.a.add("%DataPlotMaxYSumSeriesName","");this.a.add("%DataPlotMinYSumSeriesName","");this.a.add("%DataPlotMaxYSumSeries",0);this.a.add("%DataPlotMinYSumSeries",0)};
w.Aa=function(a){switch(a){case "%DataPlotMaxYValuePointName":case "%DataMaxYValuePointSeriesName":case "%DataPlotMinYValuePointName":case "%DataPlotMinYValuePointSeriesName":case "%DataPlotMaxYSumSeriesName":case "%DataPlotMinYSumSeriesName":return 1;case "%DataPlotMaxYSumSeries":case "%DataPlotMinYSumSeries":return 2}return $q.b.Aa.call(this,a)};
w.vF=function(a){$q.b.vF.call(this,a);for(var b=a.wd(),c=n,e=0,f,h,j=0;j<b;j++)f=a.da(j),h=f.ia(),f.Mg=h,0==h&&e++;e==b&&(c=i);if(c)for(j=0;j<b;j++)a.da(j).Mg=1};var ar={chart:{styles:{funnel_style:{border:{type:"Solid",color:"DarkColor(%Color)"},fill:{gradient:{key:[{position:"0",color:"%Color",opacity:"1"},{position:"1",color:"Blend(DarkColor(%Color),%Color,0.7)",opacity:"1"}],angle:"90"},type:"Gradient",color:"%Color",opacity:"0.9"},effects:{bevel:{enabled:"true",distance:"1"},enabled:"True"},states:{hover:{border:{type:"Solid",color:"DarkColor(White)"},fill:{gradient:{key:[{position:"0",color:"White",opacity:"1"},{position:"1",color:"Blend(DarkColor(White),%White,0.7)",
opacity:"1"}],angle:"90"},type:"Gradient",color:"White",opacity:"0.9"}},pushed:{border:{type:"Solid",color:"DarkColor(White)"},fill:{gradient:{key:[{position:"0",color:"White",opacity:"1"},{position:"1",color:"Blend(DarkColor(White),White,0.7)",opacity:"1"}],angle:"90"},type:"Gradient",color:"White",opacity:"0.9"},effects:{bevel:{enabled:"true",distance:"2",angle:"225"}}},selected_normal:{border:{thickness:"2",color:"DarkColor(%Color)"},hatch_fill:{enabled:"true",thickness:"3",type:"ForwardDiagonal",
opacity:"0.3"}},selected_hover:{fill:{gradient:{key:[{position:"0",color:"White",opacity:"1"},{position:"1",color:"Blend(DarkColor(White),White,0.7)",opacity:"1"}],angle:"90"},type:"Gradient",color:"White",opacity:"0.9"},border:{thickness:"2",color:"DarkColor(White)"},hatch_fill:{enabled:"true",thickness:"3",type:"ForwardDiagonal",color:"DarkColor(White)",opacity:"0.3"}},missing:{border:{type:"Solid",color:"DarkColor(White)",thickness:"1",opacity:"0.4"},fill:{gradient:{key:[{position:"0",color:"White",
opacity:"1"},{position:"1",color:"Blend(DarkColor(White),White,0.7)",opacity:"1"}],angle:"90"},type:"Gradient",opacity:"0.3"},hatch_fill:{type:"Checkerboard",pattern_size:"20",enabled:"true",opacity:"0.1"},effects:{bevel:{enabled:"false",distance:"1",angle:"225"}}}},name:"anychart_default"}},chart_settings:{data_plot_background:{inside_margin:{all:"0"}}},data_plot_settings:{funnel_series:{label_settings:{},marker_settings:{},tooltip_settings:{},apply_palettes_to:"points",neck_height:"0.2",min_width:"0.2",
mode:"circular",padding:"0.02",min_point_size:"0.02"}}}};function br(){}x.e(br,Ik);br.prototype.pg=function(){return this.gf(br.b.pg.call(this),ar)};function cr(){this.ka=new P;this.I=new P;this.S=new P;this.fa=new P;this.j=new R}w=cr.prototype;w.j=l;w.ka=l;w.I=l;w.S=l;w.fa=l;w.ND=q("fa");w.po=l;w.Nm=l;w.k=q("j");w.ND=q("fa");w.lq=function(a,b,c){var e=a.l.wb(),f=a.l.Cc.x,h=a.l.Cc.y;this.I.x=b?f+c/2-a.ke/2*c:f+c/2-a.ye/2*c;this.fa.x=b?f+c/2+a.ke/2*c:f+c/2+a.ye/2*c;this.ka.x=b?f+c/2-a.ye/2*c:f+c/2-a.ke/2*c;this.S.x=b?f+c/2+a.ye/2*c:f+c/2+a.ke/2*c;this.I.y=this.fa.y=b?h+e-a.Ue*e:h+a.Qd*e;this.ka.y=this.S.y=b?h+e-a.Qd*e:h+a.Ue*e};
w.Ew=function(a){this.ka.x-=a;this.I.x-=a;this.S.x-=a;this.fa.x-=a};
w.Lf=function(a,b){switch(a){case 0:b.x=(this.fa.x+this.I.x)/2;b.y=(this.ka.y+this.I.y)/2;break;case 1:b.x=(this.I.x+this.ka.x)/2;b.y=(this.I.y+this.ka.y)/2;break;case 5:b.x=(this.fa.x+this.S.x)/2;b.y=(this.fa.y+this.S.y)/2;break;case 7:b.x=(this.fa.x+this.I.x)/2;b.y=this.S.y;break;case 3:b.x=(this.fa.x+this.I.x)/2;b.y=this.fa.y;break;case 2:b.x=this.I.x;b.y=this.I.y;break;case 4:b.x=this.fa.x;b.y=this.fa.y;break;case 8:b.x=this.ka.x;b.y=this.ka.y;break;case 6:b.x=this.S.x,b.y=this.S.y}};function dr(){cr.call(this);this.ce=new P;this.Le=new P;this.Og=new P;this.eg=new P;this.yl=new P;this.ul=new P;this.Qm=new P;this.Ho=new P;this.Gg=0}x.e(dr,cr);w=dr.prototype;w.ce=l;w.Le=l;w.Og=l;w.eg=l;w.yl=l;w.ul=l;w.Qm=l;w.Ho=l;w.tx=l;w.Gg=l;w.lL=l;
w.Lf=function(a,b,c){switch(a){case 0:b.x=(this.fa.x+this.I.x)/2;b.y=(this.Og.y+this.eg.y)/2;break;case 1:b.x=(this.I.x+this.ka.x)/2;b.y=(this.I.y+this.ka.y)/2;this.I.y!=this.ce.y&&(b.x=b.y<=this.ce.y?c?this.I.x:this.I.x+(this.ce.x-this.I.x)*(b.y-this.I.y)/(this.ce.y-this.I.y):c?this.ce.x-(this.ce.x-this.ka.x)/(this.ka.y-this.ce.y)*(b.y-this.ce.y):this.ka.x);break;case 5:b.x=(this.fa.x+this.S.x)/2;b.y=(this.fa.y+this.S.y)/2;this.fa.y!=this.Le.y&&(b.x=b.y<=this.ce.y?c?this.fa.x:this.fa.x-(this.fa.x-
this.Le.x)/(this.Le.y-this.fa.y)*(b.y-this.fa.y):c?this.Le.x+(this.S.x-this.Le.x)/(this.S.y-this.Le.y)*(b.y-this.Le.y):this.S.x);break;case 7:b.x=(this.fa.x+this.I.x)/2;b.y=this.eg.y;break;case 3:b.x=(this.fa.x+this.I.x)/2;b.y=this.Og.y;break;case 2:b.x=this.I.x;b.y=this.I.y;break;case 4:b.x=this.fa.x;b.y=this.fa.y;break;case 8:b.x=this.ka.x;b.y=this.eg.y;break;case 6:b.x=this.S.x,b.y=this.S.y}};
w.lq=function(a,b,c){var e=a.l.wb(),f=a.l.Cc.x,h=a.l.Cc.y,j=a.l.Gg,k=a.l.Cc.width,m=a.l.Cc.height,s=a.Sa.uv,t=a.Sa.CM*c,v=a.Sa.jD,c=e*v;0==j?c>k&&(c=k,e=k/v,h=(m-e)/2):c>j&&(c=j,e=j/v,h=(m-e)/2);this.Gg=c-k;j=a.Sa.Cm*e;a.Md||(j=0);this.Nm=a.ke*j;this.po=a.ye*j;this.tx=a.Vq*j;this.ul.x=this.eg.x=this.Ho.x=this.Qm.x=this.yl.x=this.Og.x=f+k/2;!b&&0==s&&0==t?(this.ul.y=h+e-a.Qd*e,this.Ho.y=h+e-a.Io*e,this.yl.y=h+e-a.Ue*e,this.eg.y=this.ul.y+2*this.Nm,this.Qm.y=this.Ho.y+2*this.tx,this.Og.y=this.yl.y+
2*this.po):(this.eg.y=b?h+a.Ue*e:h+e-a.Qd*e,this.Qm.y=b?h+a.Io*e:h+e-a.Io*e,this.Og.y=b?h+a.Qd*e:h+e-a.Ue*e,this.ul.y=this.eg.y-2*this.Nm,this.Ho.y=this.Qm.y-2*this.tx,this.yl.y=this.Og.y-2*this.po);this.ka.y=this.S.y=this.eg.y-this.Nm;this.ce.y=this.Le.y=this.Qm.y-this.tx;this.I.y=this.fa.y=this.Og.y-this.po;this.ka.x=f+k/2-a.ke*c/2;this.ce.x=f+k/2-a.Vq*c/2;this.I.x=f+k/2-a.ye*c/2;this.S.x=f+k/2+a.ke*c/2;this.Le.x=f+k/2+a.Vq*c/2;this.fa.x=f+k/2+a.ye*c/2};
w.Ew=function(a){this.ka.x-=a;this.ce.x-=a;this.I.x-=a;this.S.x-=a;this.Le.x-=a;this.fa.x-=a;this.Og.x-=a;this.eg.x-=a;this.yl.x-=a;this.ul.x-=a;this.Ho.x-=a;this.Qm.x-=a};function er(){dr.call(this)}x.e(er,dr);
er.prototype.lq=function(a,b,c){var e=a.l.wb(),f=a.l.Cc.x,h=a.l.Cc.y;this.Nm=a.ke*a.Sa.Cm*e;this.po=a.ye*a.Sa.Cm*e;a.Md||(this.po=this.Nm=0);this.eg.x=this.ul.x=this.yl.x=this.Og.x=f+c/2;this.eg.y=b?h+e-a.Ue*e:h+a.Ue*e;this.Og.y=b?h+e-a.Qd*e:h+a.Qd*e;this.ul.y=this.eg.y-2*this.Nm;this.yl.y=this.Og.y-2*this.po;this.ka.x=f+c/2-a.ke*c/2;this.S.x=f+c/2+a.ke*c/2;this.I.x=f+c/2-a.ye*c/2;this.fa.x=f+c/2+a.ye*c/2;this.ka.y=this.S.y=this.eg.y-this.Nm;this.I.y=this.fa.y=this.Og.y-this.po};
er.prototype.Lf=function(a,b){switch(a){case 0:b.x=(this.fa.x+this.I.x)/2;b.y=(this.ka.y+this.I.y)/2;break;case 1:b.x=(this.I.x+this.ka.x)/2;b.y=(this.I.y+this.ka.y)/2;break;case 5:b.x=(this.fa.x+this.S.x)/2;b.y=(this.fa.y+this.S.y)/2;break;case 7:b.x=(this.fa.x+this.I.x)/2;b.y=this.S.y;break;case 3:b.x=(this.fa.x+this.I.x)/2;b.y=this.fa.y;break;case 2:b.x=this.I.x;b.y=this.I.y;break;case 4:b.x=this.fa.x;b.y=this.fa.y;break;case 8:b.x=this.ka.x;b.y=this.ka.y;break;case 6:b.x=this.S.x,b.y=this.S.y}};function fr(){}x.e(fr,jf);fr.prototype.Ga=function(){this.Oa.Ga(this.q)};function gr(){}x.e(gr,kf);gr.prototype.Ga=function(){this.Oa.Ga(this.q)};function hr(){}x.e(hr,lf);w=hr.prototype;w.Lc=function(){var a=this.g.ea();a.im()&&(this.gb=new fr,this.gb.p(this.g,this));a.Jh()&&(this.jb=new gr,this.jb.p(this.g,this))};w.createElement=function(){var a=this.g.o().ba();a.setAttribute("d",this.Ml());return a};w.Ml=function(){return this.g.Ml()};
w.update=function(a,b){b&&this.g.Dc();hr.b.update.call(this,a,b)};w.Ga=function(a){a.setAttribute("d",this.Ml())};function ir(){Z.call(this)}x.e(ir,nf);ir.prototype.dc=function(){return new hr};ir.prototype.Ub=function(){return mf};function jr(a){switch(a){default:case "outsideleft":return 1;case "outsideleftincolumn":return 0;case "outsiderightincolumn":return 2;case "outsideright":return 3;case "inside":return 4}}function kr(){}x.e(kr,xn);kr.prototype.qb=function(a,b,c){return a.Ug(b,this,this.k(a,b,c))};function lr(){this.zd()}x.e(lr,Ln);w=lr.prototype;w.ke=l;w.ye=l;w.Ue=l;w.Qd=l;w.W=l;w.Ag=l;w.Ju=function(a){return 1-a*(this.l.R.length-1)};w.Mg=l;w.p=function(a){lr.b.p.call(this,a)};w.update=function(){lr.b.update.call(this);this.PC(this.o())};w.ya=function(){lr.b.ya.call(this);this.UF()};w.UF=function(){if(this.Ak()){var a=this.o();this.Cf.setAttribute("d",this.Au(a));this.Db().Wm.be()&&this.qA(a,this.Cf)}};w.Cf=l;w.Ut=l;
w.PC=function(a){this.Ak()&&(this.Cf=a.ba(),this.Cf.setAttribute("d",this.Au(a)),this.qA(a,this.Cf),this.v.appendChild(this.Cf))};w.qA=function(a,b){b.setAttribute("style",Y(this.Db().Wm,a,this.Ut))};
w.Au=function(){var a=this.Db(),b=a.Dp,c=a.Wm,e=a.hj;if(4==b)return"";var f=new P,a=new P,h=new P,j=new R,k=new P,k=this.bd(this.Ca.ea()),j=this.Ca.k(this,k,this.fc),k=this.Ug(k,this.Ca,j);switch(b){case 1:case 0:f.x=(this.W.I.x+this.W.ka.x)/2;f.y=(this.W.I.y+this.W.ka.y)/2;a.x=k.x+j.width;a.y=k.y+j.height/2;h.y=a.y;h.x=a.x+e;break;case 3:case 2:f.x=(this.W.fa.x+this.W.S.x)/2,f.y=(this.W.fa.y+this.W.S.y)/2,a.x=k.x,a.y=k.y+j.height/2,h.y=a.y,h.x=a.x-e}c.be()&&(this.Ut=new R(Math.min(f.x,a.x),Math.min(f.y,
a.y),Math.max(f.x,a.x)-Math.min(f.x,a.x),Math.max(f.y,a.y)-Math.min(f.y,a.y)));b=T(f.x,f.y);b+=V(h.x,h.y);return b+=V(a.x,a.y)};w.Ak=function(){return this.fc&&this.Db().Ak()};w.Dc=function(){var a=this.l.wb();this.j.x=Math.min(this.W.I.x,this.W.ka.x);this.j.y=Math.min(this.W.I.y,this.W.ka.y);this.j.width=Math.max(this.W.fa.x-this.W.I.x,this.W.S.x-this.W.ka.x);this.j.height=this.Ag*a};w.kG=function(){this.ke=this.Ue;this.ye=this.Qd};
w.VK=function(a,b,c,e,f){this.Ag=a?1/(this.l.R.length-1):this.Mg<b?b/e:this.Mg/e;this.Ag*=this.Ju(c,f);this.Ue=this.l.Jf;this.l.Jf-=this.Ag;this.Qd=this.l.Jf;this.l.Jf-=c};
w.Ug=function(a,b,c){var e=this.Sa.Dp,f=new P;if(4==e)return this.zr(b,a,c);1==e?(f.x=(this.W.I.x+this.W.ka.x)/2,f.y=(this.W.I.y+this.W.ka.y)/2,gd(f,0,c,a.Y()),gd(f,1,c,a.Y())):3==e?(f.x=(this.W.fa.x+this.W.S.x)/2,f.y=(this.W.fa.y+this.W.S.y)/2,gd(f,1,c,a.Y()),gd(f,1,c,a.Y())):2==e&&this.Ca!=l?(f.x=this.l.Cc.x+this.l.Ka()-this.Ca.k(this,this.Ca.ea().ta,b).width,f.y=(this.W.fa.y+this.W.S.y)/2,gd(f,1,c,a.Y())):0==e&&this.Ca!=l&&(f.x=this.l.Cc.x,f.y=(this.W.fa.y+this.W.S.y)/2,gd(f,1,c,a.Y()));return f};
function mr(){In.call(this)}x.e(mr,uq);w=mr.prototype;w.Cc=l;w.wA=p("Cc");w.Jf=1;w.Qv=l;w.Aq=l;w.Gg=0;w.wb=function(){return this.Cc.height};w.Ka=function(){return this.Cc.width};
w.sA=function(){for(var a=new P,b=new R,c=this.Ka(),e=this.wb(),f=c/(2*e),h,j=this.R.length,k,m,s=0;s<j;s++)if(h=this.R[s],h.Ca.isEnabled()&&!h.cb&&(k=(h.W.S.x+h.W.ND.x)/2,b=h.Nb().k(h,h.Nb().ea().ta,this.Nb().Ra()),a=h.Ug(h.Nb().ea().ta,h.Nb(),b),m=h.Nb().ea().ta.Y(),h=(h.Ue+h.Qd)*e/2,a.x-b.width<this.Cc.x||a.x+b.width>this.Ka()||k+b.width>this.Ka()))f=Math.min(f,(c-b.width-m)/(e+h));this.Gg=2*e*f};
function nr(a){for(var b=a.Sa.Dp,c=a.Sa.Mb(),e,f=0;f<a.R.length;f++)switch(e=a.R[f],b){case 1:e.W.lq(e,c,a.Gg);e.W.Ew((a.Gg-a.Ka())/2);break;case 3:e.W.lq(e,c,a.Gg);e.W.Ew((a.Ka()-a.Gg)/2);break;case 0:e.W.lq(e,c,a.Gg);e.W.Ew((a.Gg-a.Ka())/2);break;case 2:e.W.lq(e,c,a.Gg),e.W.Ew((a.Ka()-a.Gg)/2)}}w.hm=u(i);w.zg=function(){this.sA();nr(this)};w.jm=function(){this.sA();nr(this)};function or(){Jn.apply(this);this.Cm=0.09;this.ua=0.02;this.Ez=0.01;this.Dp=1;this.Zm=this.Xc=n;this.hj=5;this.jD=0.6}
x.e(or,Kn);w=or.prototype;w.Cm=l;w.ua=l;w.Y=q("ua");w.Ez=l;w.Wm=l;w.Ak=function(){return this.Wm&&this.Wm.isEnabled()};w.Wm=l;w.hj=l;w.Dp=l;w.Xc=l;w.Mb=q("Xc");w.Zm=l;w.jD=l;w.zH=u(n);
w.f=function(a,b){or.b.f.call(this,a,b);B(a,"depth_3d")&&(this.Cm=Ib(D(a,"depth_3d")));B(a,"padding")&&(this.ua=Ib(D(a,"padding")));B(a,"min_point_size")&&(this.Ez=Ib(D(a,"min_point_size")));B(a,"fit_aspect")&&(this.jD=J(a,"fit_aspect"));B(a,"inverted")&&(this.Xc=I(a,"inverted"));B(a,"data_is_width")&&(this.Zm=I(a,"data_is_width"));if(B(a,"label_settings")){var c=D(a,"label_settings");B(c,"placement_mode")&&(this.Dp=jr(O(c,"placement_mode")))}L(a,"connector")&&(c=D(a,"connector"),this.Wm=new qd,this.Wm.f(c),
B(c,"padding")&&(this.hj=J(c,"padding")))};w.dr=function(){return new kr};function pr(){this.W=new dr;this.zd()}x.e(pr,lr);w=pr.prototype;w.Io=l;w.Vq=l;w.Md=l;w.Dc=function(){var a=this.Sa.uv,b=this.l.wb();this.j.x=Math.min(this.W.ce.x,this.W.I.x,this.W.ka.x);this.j.width=this.Ue<a&&this.Qd<a?this.W.fa.x-this.W.ka.x:Math.max(this.W.fa.x-this.W.I.x,this.W.S.x-this.W.ka.x);this.j.y=Math.min(this.W.ka.y,this.W.ce.y,this.W.I.y);this.j.height=b*this.Ag};
w.kG=function(){if(this.Sa.Zm){if(this.U!=this.l.R.length-1){var a=this.U,b=this.Sa.ql;this.ke=(this.Mg-this.l.a.get("%SeriesYMin"))/(this.LN.a.get("%SeriesYMax")-this.LN.a.get("%SeriesYMin"))*(1-b)+b;this.ke<b&&(this.ke=b);this.l.da(a+1)!=l?(this.ye=this.l.da(a+1).Mg-this.l.a.get("%SeriesYMin")/(this.l.a.get("%SeriesYMax")-this.l.a.get("%SeriesYMin"))*(1-b)+b,this.ye<b&&(this.ye=b)):this.ye=(this.Mg-this.l.a.get("%SeriesYMin"))/(this.l.a.get("%SeriesYMax")-this.l.a.get("%SeriesYMin"))*(1-b)+b}}else{var a=
this.Sa.uv,b=this.Sa.ql,c=b*(1-a)/(1-b),e=this.Sa.Mb();this.ke=e?(this.Ue-a+c)/(1-a+c):(this.Qd-a+c)/(1-a+c);this.ye=e?(this.Qd-a+c)/(1-a+c):(this.Ue-a+c)/(1-a+c);this.Io=this.Qd;this.Vq=e?this.ye:this.ke;this.Qd<a&&this.Ue<a?this.Vq=this.ye=this.ke=b:this.Qd<a&&(this.Io=a,this.Vq=b,e?this.ye=b:this.ke=b)}};w.Ju=function(a,b){var c=this.Sa.Zm,e=this.Sa.ql,f=this.Sa.Mb();this.l.a.get("%SeriesYSum");return 0==this.Sa.ql&&!c?1-a*(this.l.Aq-1):f?1-a*(this.l.Aq-1)-2*e*b:1-a*(this.l.Aq-1)-2*b};
w.Ug=function(a,b,c){var e=this.Sa.Dp,f=new P,h=this.Sa.Mb();if(4==e)return this.zr(b,a,c);1==e&&(f.x=(this.W.I.x+this.W.ka.x)/2,f.y=(this.W.I.y+this.W.ka.y)/2,this.Io!=this.Qd&&(f.x=f.y>=this.W.Le.y?h?(this.W.ce.x+this.W.ka.x)/2:this.W.ce.x:h?this.W.ce.x:(this.W.ce.x+this.W.I.x)/2),dd(f,0,c,a.Y()),gd(f,1,c,a.Y()));3==e&&(f.x=(this.W.fa.x+this.W.S.x)/2,f.y=(this.W.fa.y+this.W.S.y)/2,this.Io!=this.Qd&&(f.x=f.y>=this.W.Le.y?h?(this.W.Le.x+this.W.S.x)/2:this.W.Le.x:h?this.W.Le.x:(this.W.Le.x+this.W.fa.x)/
2),dd(f,1,c,a.Y()),gd(f,1,c,a.Y()));2==e&&this.Ca!=l&&(f.x=this.l.Cc.x+this.l.Ka()-this.Ca.k(this,this.Ca.ea().ta,b).width,f.y=(this.W.fa.y+this.pM.S.y)/2,gd(f,1,c,a.Y()));0==e&&this.Ca!=l&&(f.x=this.l.Cc.x,f.y=(this.W.fa.y+this.W.S.y)/2,gd(f,1,c,a.Y()));return f};w.Lf=function(a,b){this.W.Lf(b,a,this.Sa.Mb())};function qr(){pr.call(this);this.Md=n}x.e(qr,pr);qr.prototype.p=function(a){qr.b.p.call(this,a);return this.v};qr.prototype.Ml=function(){return this.vC()};
qr.prototype.vC=function(){var a=T(this.W.I.x,this.W.I.y),a=a+V(this.W.ce.x,this.W.ce.y),a=a+V(this.W.ka.x,this.W.ka.y),a=a+V(this.W.S.x,this.W.S.y),a=a+V(this.W.Le.x,this.W.Le.y),a=a+V(this.W.fa.x,this.W.fa.y),a=a+V(this.W.I.x,this.W.I.y);return a+" Z"};qr.prototype.Ju=function(a){return 1-a*(this.l.Aq-1)};function rr(){pr.call(this);this.Md=i}x.e(rr,pr);function sr(){pr.call(this);this.Md=n;this.pM=new er}x.e(sr,pr);w=sr.prototype;w.ql=l;
w.VK=function(a,b,c,e,f){this.ql=this.l.a.get("%SeriesYMin")/this.l.a.get("%SeriesYMax");f=this.l.da(0);a=this.l.da(this.U-1);f=this.Sa.Mb()?f.Mg/this.l.a.get("%SeriesYMax")*this.Sa.Cm:0;this.Md||(f=0);this.Ag=1/(this.l.R.length-1);this.Ag*=this.Ju(c,f);this.Ue=this.l.Jf;this.l.Jf-=this.Ag;this.Qd=this.l.Jf;this.l.Jf-=c;this.Qd-=2*f;this.Ue-=2*f;this.U==this.l.R.length-1&&(this.Qd=this.Ue=a.Qd,this.Ag=0)};
w.Ju=function(a,b){var c=this.l.da(0),e=this.l.da(this.l.R.length-1),b=this.Sa.Mb()?c.Mg/this.l.a.get("%SeriesYMax")*this.Sa.Cm:e.Mg/this.l.a.get("%SeriesYMax")*this.Sa.Cm;this.Md||(b=0);return 1-a*(this.l.R.length-2)-2*b};w.kG=function(){var a=this.l.da(this.U+1);this.ke=this.Mg/this.l.a.get("%SeriesYMax");this.ye=a!=l?a.Mg/this.l.a.get("%SeriesYMax"):this.ke};
w.Dc=function(){var a=this.l.wb();this.j.x=Math.min(this.W.I.x,this.W.ka.x);this.j.width=Math.max(this.W.fa.x-this.W.I.x,this.W.S.x-this.W.ka.x);this.j.y=Math.min(this.W.ka.y,this.W.I.y);this.j.height=a*this.Ag};
w.Ug=function(a,b,c){var e=this.Sa.Dp,f=new P,h=this.Sa.Mb();if(4==e)return this.zr(b,a,c);1==e&&(f.x=(this.W.I.x+this.W.ka.x)/2,f.y=(this.W.I.y+this.W.ka.y)/2,dd(f,0,c,a.Y()),gd(f,1,c,a.Y()),f.x<this.l.Cc.x&&(f.x=this.l.Cc.x));3==e&&(f.x=(this.W.fa.x+this.W.S.x)/2,f.y=(this.W.fa.y+this.W.S.y)/2,dd(f,1,c,a.Y()),gd(f,1,c,a.Y()),f.x+this.Ca.k(this,this.Ca.ea().ta,b).width>this.l.Cc.x+this.l.Ka()&&(f.x=this.l.Cc.x+this.l.Ka()-this.Ca.k(this,this.Ca.ea().ta,b).width));2==e&&this.Ca!=l&&(f.x=this.l.Cc.x+
this.l.Ka()-this.Ca.k(this,this.Ca.ea().ta,b).width,f.y=(this.W.fa.y+this.W.S.y)/2,fd(f,1,c,a.Y()));0==e&&this.Ca!=l&&(f.x=this.l.Cc.x,f.y=(this.W.fa.y+this.W.S.y)/2,gd(f,1,c,a.Y()));this.U==this.l.R.length-1&&(f.y=h?f.y-c.height/2:f.y+c.height/2);return f};function tr(){sr.call(this);this.Md=i}x.e(tr,sr);function ur(){In.call(this)}x.e(ur,mr);
ur.prototype.sA=function(){for(var a=new X(this.G().o()),b=new P,c=new R,e=this.Ka(),f=this.wb(),b=this.Sa.uv*f,c=this.Sa.ql*e,h=b-(f-b)*c/(e-c),j=e/(f-h)/2,k,m,s,t=0;t<this.R.length;t++)if(k=this.R[t],k.Nb().isEnabled()&&!k.cb)if(m=(k.W.S.x+k.W.fa.x)/2,c=k.Nb().k(k,k.Nb().ea().ta,a),b=k.Ug(k.Nb().ea().ta,l,c),s=k.Nb().ea().ta.Y(),k=(k.Ue+k.Qd)*f/2-h,this.G().Md){if(b.x-c.width<this.Cc.x||b.x+c.width>this.Ka()||m+c.width>this.Ka())j=Math.min(j,(e-c.width-s)/(f-h+k))}else j=Math.min(j,(e-c.width-s)/
(f-h+k));this.Gg=2*(f-h)*j};ur.prototype.f=function(a,b){ur.b.f.call(this,a,b)};function vr(){or.call(this)}x.e(vr,or);w=vr.prototype;w.ql=l;w.CM=q("ql");w.uv=l;w.xg=l;w.qj=q("xg");w.Sf=function(){var a;a=this.D.Md?this.Zm?new wr:new xr:this.Zm?new yr:new zr;a.ag(19);return a};w.Vf=u("funnel_series");w.Ib=u("funnel_style");
w.f=function(a,b){vr.b.f.call(this,a,b);B(a,"min_width")&&(this.ql=Ib(D(a,"min_width")));B(a,"neck_height")&&(this.uv=Ib(D(a,"neck_height")));if(B(a,"mode"))switch(O(a,"mode")){case "square":this.xg=Ar;break;case "circular":this.xg=Br}};w.Hb=function(){return new ir};function zr(){In.call(this)}x.e(zr,ur);zr.prototype.Id=function(){return new qr};
zr.prototype.zg=function(){this.Jf=1;for(var a,b=this.Sa.Zm,c=this.Sa.Ez*this.a.get("%SeriesYSum"),e=this.Aq=this.Qv=0;e<this.R.length;e++)a=this.R[e],this.Aq++,e==this.R.length-1&&b?this.Aq--:this.Qv=a.Mg<c?this.Qv+c:this.Qv+a.Mg;a=this.Sa.Y();for(var b=this.Sa.Zm,c=this.Sa.Mb(),e=this.Sa.Ez*this.a.get("%SeriesYSum"),f=this.Sa.Cm,h=0;h<this.R.length;h++){var j=this.R[h];j.VK(b,e,a,this.Qv,f);j.kG();j.W.lq(j,c,this.Ka())}zr.b.zg.call(this)};function xr(){In.call(this)}x.e(xr,ur);xr.prototype.Id=function(){return new rr};
xr.prototype.AB=u(n);function yr(){In.call(this)}x.e(yr,ur);yr.prototype.TA=l;yr.prototype.Id=function(){return new sr};yr.prototype.zg=o();
yr.prototype.sA=function(){var a=new R,b,c;this.TA=this.Cc.Ka();for(var e=0;e<this.R.length;e++)c=this.R[e],c.Nb().isEnabled()&&!c.cb&&(a=c.Nb().k(c,c.Nb().ea().ta,c.Ra()),c.Ug(c.Nb().ea().ta,l,a),b=c.Nb().ea().ta.Y(),c=(c.ke+c.ye)/2*this.Cc.Ka(),b+a.width+c/2+this.Cc.Ka()/2>this.Cc.Ka()&&(this.TA=Math.max(this.TA,b+a.width+c/2+this.Cc.Ka()/2)));this.Gg=Math.ceil(this.Cc.Ka()-(this.TA-this.Cc.Ka()))};function wr(){In.call(this)}x.e(wr,yr);wr.prototype.Id=function(){return new tr};
wr.prototype.zg=o();wr.prototype.jm=o();wr.prototype.AB=u(n);function Me(){$q.call(this);this.jj=19}x.e(Me,$q);w=Me.prototype;w.bp=function(){return new br};w.wx=function(a){return!B(a,"data")?i:!B(D(a,"data"),"series")};w.Xt=function(a){switch(a){case 19:return new vr}return l};w.un=function(a){switch(Jb(a)){case "funnel":return 19;case "pyramid":return 22;case "cone":return 21;default:return this.jj}};w.Xx=o();w.Kf=o();w.lg=function(){return new R(0,0,this.j.width,this.j.height)};var Ar=0,Br=1;function Cr(a,b,c,e,f){a!=l&&a!=g&&(this.index=a);b&&(this.data=b);c&&(this.of=c);e&&(this.Cv=e);f&&(this.Xj=f)}w=Cr.prototype;w.data=l;w.of=l;w.Cv=l;w.index=l;w.Xj=l;w.copy=function(a){if(a==l||a==g)a=new Cr;a.index=this.index;a.data=this.data;a.of=this.of;a.Cv=this.Cv;a.Xj=this.Xj;return a};function Dr(){this.zd()}x.e(Dr,Cn);w=Dr.prototype;w.Xb=l;w.getParent=q("Xb");w.xm=p("Xb");w.Ha=l;w.ia=q("Ha");w.jo=p("Ha");w.bt=l;w.XK=p("bt");w.qo=l;w.oG=p("qo");w.An=l;w.bG=p("An");w.Ka=function(){return this.j.width};
w.Sj=function(a){this.j.width=a};w.wb=function(){return this.j.height};w.wm=function(a){this.j.height=a};w.hb=function(){return this.j.x};w.Pd=function(a){this.j.x=a};w.$a=function(){return this.j.y};w.jd=function(a){this.j.y=a};w.Im=l;w.Ni=function(a){this.Im=a;this.v&&this.v.Ni(a);this.fc&&this.fc.Oi(a);this.td&&this.td.Oi(a);this.xe&&this.xe.Oi(a)};w.le=function(){Dr.b.le.call(this);this.a.add("%Value",this.Ha);this.a.add("%YValue",this.Ha)};
w.Aa=function(a){return"%Value"==a||"%YValue"==a?2:Dr.b.Aa.call(this,a)};function Er(){this.zd()}x.e(Er,Dr);Er.prototype.f=function(a,b){Er.b.f.call(this,a,b);this.Ha=B(a,"y")?J(a,"y"):B(a,"value")?J(a,"value"):0;if(0>this.Ha||isNaN(this.Ha))this.Ha=0};
Er.prototype.vk=function(a){this.l=this.Xb;this.U=a.index;this.Ea=this.U.toString();vk(this,a.data);this.Sa=this.Xb.Db();wk(this,this.Xb.Te);rk(this,a.data);xk(this,this.Xb);this.Fl(a.data);this.lf(this.Xb.ea());this.gr(a.data,a.of);this.f(a.data);this.Xb.Rh(this);this.bn(a.data,a.of);this.La=B(a.data,"color")?Lb(a.data):this.Xb.oa();this.$e=B(a.data,"hatch_type")?J(a.data,"hatch_type"):this.Xb.$e;this.te=this.Xb.ng();this.Ya=this.Xb.Vg();B(a.data,"threshold")&&(this.Ya=this.G().Ui.Vg(N(a.data,"threshold"),
a.Cv));this.Xb.nd(this);this.Ya&&this.Ya.Lt(this);0<=this.Ha&&this.G().$.push(this)};Er.prototype.createElement=function(a){return a.ba()};Er.prototype.Ml=function(){return Pc(this.j)};function Fr(){this.zd()}x.e(Fr,Dr);w=Fr.prototype;w.vk=function(){this.l=this.Xb;this.U=this.Xb.index;this.Ea=this.Xb.getName();this.La=this.Xb.oa();this.$e=this.Xb.$e;this.te=this.Xb.ng();this.Ya=this.Xb.Vg();this.lf(this.Xb.ea());this.Sa=this.Xb.Db();xk(this,this.Xb);wk(this,this.Xb.Te);this.Xb.nd(this)};
w.p=function(a){Fr.b.p.call(this,a);if(this.F.ta.pe()||this.F.ic.pe()||this.F.ec.pe()||this.F.Rb.pe()||this.F.gc.pe()||this.F.rc.pe())this.Gc=(this.F.ta.pe()?this.F.ta.pd():this.F.ic.pe()?this.F.ic.pd():this.F.ec.pe()?this.F.ec.pd():this.F.Rb.pe()?this.F.Rb.pd():this.F.gc.pe()?this.F.gc.pd():this.F.rc.pe()?this.F.rc.pd():l).p(this.o()),this.v.Z(this.Gc);this.Nu=Gr(this).Zb(a,this.La,this.$e);this.v.Z(this.Nu);return this.v};w.update=function(){Fr.b.update.call(this);Hr(this);Ir(this)};
w.ya=function(){Fr.b.ya.call(this);Hr(this);Ir(this)};function Gr(a){if(Jr(a.F.ta)||Jr(a.F.ic)||Jr(a.F.ec)||Jr(a.F.Rb)||Jr(a.F.gc)||Jr(a.F.rc)){var b=Jr(a.F.ta)?a.F.ta.getHeader():Jr(a.F.ic)?a.F.ic.getHeader():Jr(a.F.ec)?a.F.ec.getHeader():Jr(a.F.Rb)?a.F.Rb.getHeader():Jr(a.F.gc)?a.F.gc.getHeader():Jr(a.F.rc)?a.F.rc.getHeader():l;b.Kb(a.o(),b.Dh().ia(a));a.iJ=b.k();return b}}
function Hr(a){if(a.Nu)if(Jr(a.sa)){var b=a.sa.getHeader();b.Kb(a.o(),b.Dh().ia(a));b.update(a.Nu,a.j);if((b=b.pd())&&b.isEnabled()){var c=new R(0,0,a.j.width,Math.min(Kr(a),a.j.height));b.ga(a.Nu.my(),c)}}else a.Nu.Ni(n)}function Kr(a){if(!Jr(a.sa))return 0;var b=a.sa.getHeader();if(b.wb())return b.wb();Gr(a);return a.iJ?a.iJ.height:0}function Ir(a){a.Gc&&a.sa.pe()&&a.sa.pd().ga(a.Gc,a.j,a.La)}
w.km=function(a){Fr.b.km.call(this,a);if(this.Db().$C){var a=this.G(),b=this.Xb;b==a.sk?b!=a.hA&&Lr(a,b.getParent()):Lr(a,b);a.eA()}};function Mr(){In.call(this);this.j=new R;this.ir=i}x.e(Mr,In);w=Mr.prototype;w.Xb=l;w.getParent=q("Xb");w.xm=p("Xb");w.Ha=NaN;w.ia=q("Ha");w.jo=p("Ha");w.bt=l;w.XK=p("bt");w.qo=l;w.oG=p("qo");w.An=l;w.bG=p("An");w.j=l;w.Us=l;w.Ts=l;w.Ka=function(){return this.j.width};w.Sj=function(a){this.j.width=a};w.wb=function(){return this.j.height};
w.wm=function(a){this.j.height=a};w.hb=function(){return this.j.x};w.Pd=function(a){this.j.x=a};w.$a=function(){return this.j.y};w.jd=function(a){this.j.y=a};w.Im=l;w.Ni=function(a){var b=this.wd();this.Qh&&this.Qh.Ni(a);for(var c=0;c<b;c++)this.da(c).Ni(a)};w.Qh=l;function Nr(a){a.Qh&&a.Qh.jo(a.Ha)}w.ir=l;w.Gs=p("R");w.wi=l;w.Fi=l;
w.vk=function(a){this.U=a.index;this.Ea=this.U.toString();var b=a.data;vk(this,b);this.La=B(b,"color")?Lb(b):pb("0xCCCCCC",g);this.$e=B(b,"hatch_type")?sc(O(b,"hatch_type")):0;this.te=0;this.Xb&&(this.Sa=this.Xb.Db(),this.Te=this.Xb.Te,rk(this,b),xk(this,this.Sa),this.Fl(b),this.F=this.Xb.ea(),this.gr(b,a.of));B(b,"threshold")&&(this.Ya=this.G().Ui.Vg(N(b,"threshold"),a.Cv));this.Ya?a.Xj=this.Ya:this.Ya=a.Xj;this.bn(b,a.of);this.f(b,a.of);this.wi=this.F.ta.wi;this.Fi=this.F.ta.Fi;var c=this.G();c.l&&
this&&c.l.push(this);this.ir&&(this.Qh=new Fr,this.Qh.xm(this),b=Mb(b),a.data={"#name#":"point"},this.Qh.vk(a),a.data=b,this.G().$.push(this.Qh))};w.zg=function(){this.lx()};w.jm=function(){this.lx()};
w.lx=function(){if(0!=this.Ha){var a=this.j.width,b=this.j.height,c=this.j.x,e=this.j.y;if(this.ir){this.Fi&&(a-=this.Fi.pb()+this.Fi.Ja(),b-=this.Fi.ja()+this.Fi.lb(),c+=this.Fi.pb(),e+=this.Fi.lb());this.Qh.k().height=b;this.Qh.k().width=a;this.Qh.k().x=c;this.Qh.k().y=e;var f=Kr(this.Qh),b=b-f,e=e+f;this.wi&&(a-=this.wi.pb()+this.wi.pb(),b-=this.wi.ja()+this.wi.lb(),c+=this.wi.pb(),e+=this.wi.lb())}var h,f=this.R.length,j=n;if(1>=a){j=i;for(h=0;h<f;h++)this.R[h].k().width=0}if(1>=b){j=i;for(h=
0;h<f;h++)this.R[h].k().height=0}if(!j){this.Us=a;this.Ts=b;var j=0,k,j=a*b/this.Ha;for(h=0;h<f;h++)this.R[h].XK(this.R[h].ia()*j);var m=j=0,s=this.Us>this.Ts;h=Number.MAX_VALUE;for(var t,v=0,y=0;m<f;){k=m;t=s;for(var C=0,M=0,ea=M=g,U=g,ra=g,ra=j;ra<=k;ra++)C+=this.R[ra].bt;t?(ea=this.Ts/C,M=C/this.Ts):(M=this.Us/C,ea=C/this.Us);for(ra=j;ra<=k;ra++)U=this.R[ra],t?(U.bG(ea*U.bt),U.oG(M)):(U.oG(M*U.bt),U.bG(ea));U=this.R[k];t=M=Math.max(U.An/U.qo,U.qo/U.An);if(t>h){C=t=0;for(h=j;h<m;h++)k=this.R[h],
k.Pd(c+v+t),k.jd(e+y+C),s?C+=k.wb():t+=k.Ka();s?v+=this.R[j].Ka():y+=this.R[j].wb();this.Us=a-v;this.Ts=b-y;s=this.Us>this.Ts;m=j=m;h=Number.MAX_VALUE}else{for(h=j;h<=m;h++)k=this.R[h],k.Sj(1>k.qo||isNaN(k.qo)?1:k.qo),k.wm(1>k.An||isNaN(k.An)?1:k.An);h=t;m++}}b=a=0;for(h=j;h<m;h++)k=this.R[h],k.Pd(c+v+a),k.jd(e+y+b),s?b+=k.wb():a+=k.Ka();for(h=0;h<f;h++)k=this.R[h],k.lx&&k.lx()}}};function Or(){this.Sa=this;this.$w=i;this.dy=Pr;this.wp=this.$C=i}x.e(Or,Jn);w=Or.prototype;w.dy=l;w.$C=l;w.iw=i;
w.Ht=u(i);w.gD=function(a,b){b?a.sort(function(a,b){return b.ia()-a.ia()}):a.sort(function(a,b){return a.ia()-b.ia()})};w.Vf=u("tree_map");w.Ib=u("tree_map_style");w.Hb=function(){switch(this.dy){case Qr:return new Rr;case Sr:return new Tr;default:case Pr:return new Ur}};w.dr=function(){return new Vr};
w.f=function(a,b){Or.b.f.call(this,a,b);B(a,"enable_drilldown")&&(this.$C=D(a,"enable_drilldown"));if(B(a,"label_settings")){var c=D(a,"label_settings");if(B(c,"drawing_mode")){a:switch(O(c,"drawing_mode")){case "displayall":c=Qr;break a;case "hide":c=Sr;break a;default:case "crop":c=Pr}this.dy=c}}};function Wr(){this.Af=[]}Wr.prototype.cI=l;Wr.prototype.getData=q("cI");Wr.prototype.setData=p("cI");Wr.prototype.Af=l;function Xr(){}w=Xr.prototype;w.zE=l;w.Lv=l;w.NF=l;w.Mr=l;w.iA=l;w.tv=l;w.QA=l;
w.f=function(a){var b;a:switch(O(a,"input_mode")){case "byparent":b=1;break a;case "bylevel":b=2;break a;default:case "bytree":b=0}this.zE=b;switch(this.zE){case 2:this.Mr=0;this.Lv=F(a,"point");this.NF=this.Lv.length;break;case 1:var c=F(a,"point");b=c.length;this.tv={};this.QA=[];var e,f;for(f=0;f<b;f++){var h=c[f];e=new Wr;e.setData(h);this.QA.push(e);B(h,"id")&&(this.tv[G(h,"id")]=e)}this.iA=new Wr;this.iA.setData(a);for(f=0;f<b;f++){e=this.QA[f];a=e.getData();if(B(a,"parent")&&(a=G(a,"parent"),
this.tv[a])){this.tv[a].Af.push(e);continue}this.iA.Af.push(e)}b=this.QA;if(b!=l){e=b.length;for(f=0;f<e;f++)b[f]=l,delete b[f]}b=this.tv;if(b!=l)for(var j in b)b[j]=l,delete b[j]}};
function Yr(a,b,c,e,f,h){if(!b)return l;if(h==l||h==g)h=i;var j=b.Af,k=j.length;c.data=b.getData();if(0<k||f){b=new Mr;b.xm(e);var m=b;m.ir=h;f?(m.Sa=f,wk(m,f.Te),xk(m,f),m.lf(f.ea()),f.Rh(m)):e&&e.Rh(m);e=c.Xj;m.vk(c);f=[];m.Gs(f);m.jo(0);for(h=0;h<k;h++){var s=j[h];c.index=h;c.data=s.getData();s=Yr(a,s,c,m);if(0!=s.ia()){var t=s.ia();m.Ha+=t;f.push(s)}}c.Xj=e;uk(m.Db(),m.R);Nr(m)}else b=new Er,b.xm(e),b.vk(c);return b}function Zr(a,b){return a.Mr<a.NF?$r(a.Lv[a.Mr])<=b?l:a.Lv[a.Mr++]:l}
function $r(a){return!B(a,"level")?0:J(a,"level")}function as(a,b,c){var e,f=$r(b.data);if(a.Mr>=a.NF?0:$r(a.Lv[a.Mr])>f){e=new Mr;e.xm(c);var h=e;h.Sa=c.Db();wk(h,c.Db().Te);xk(h,c.Db());h.lf(c.Db().ea());c.Db().Rh(h);h.vk(b);c=[];h.Gs(c);h.jo(0);var j=0;do{b.index=j++;b.data=Zr(a,f);if(!b.data)break;var k=as(a,b,h),m=k.ia();h.Ha+=m;c.push(k)}while(1);uk(h.Db(),h.R);Nr(h)}else e=new Er,e.xm(c),e.vk(b);return e}
function bs(a,b,c,e,f){if(!b)return l;if(f==l||f==g)f=i;var h,j=F(b.data,"point"),k=j.length;if(0<k||e){h=new Mr;h.xm(c);var m=h;m.ir=f;e?(m.Sa=e,wk(m,e.Te),xk(m,e),m.lf(e.ea()),e.Rh(m)):c&&c.Rh(m);c=b.Xj;m.vk(b);e=[];m.Gs(e);m.jo(0);for(f=0;f<k;f++){b.index=f;b.data=j[f];var s=bs(a,b,m),t=s.ia();m.Ha+=t;e.push(s)}b.Xj=c;uk(m.Db(),m.R);Nr(m)}else h=new Er,h.xm(c),h.vk(b);return h};function cs(){}x.e(cs,Lf);cs.prototype.Lc=function(a,b){cs.b.Lc.call(this,a,b);this.vd&&ad(this.vd,a.k())};cs.prototype.update=function(a){cs.b.update.call(this,a);this.Ws(a)};cs.prototype.Ws=function(){this.vd&&bd(this.vd,new R(this.g.k().x-this.vd.getParent().hb(),this.g.k().y-this.vd.getParent().$a(),this.g.k().width,this.g.k().height))};function ds(){}x.e(ds,Lf);ds.prototype.update=function(a){ds.b.update.call(this,a);this.Ws(a)};
ds.prototype.Ws=function(a){var b=new R(this.g.k().x-this.vd.getParent().hb(),this.g.k().y-this.vd.getParent().$a(),this.g.k().width,this.g.k().height),a=this.g.Nb().k(this.g,a,this.vd);b.x<=a.x&&b.Ja()>=a.Ja()&&b.y<=a.y&&b.ja()>=a.ja()?this.vd.Ni(i):this.vd.Ni(n)};function es(){Z.call(this)}x.e(es,Mf);es.prototype.PA=l;es.prototype.p=function(a,b){switch(a.Db().dy){case Qr:this.PA=Lf;break;case Sr:this.PA=ds;break;default:case Pr:this.PA=cs}return es.b.p.call(this,a,b)};es.prototype.dc=function(){return new this.PA};var Qr=0,Pr=1,Sr=2;function fs(){ae.apply(this)}x.e(fs,ee);fs.prototype.ab=l;fs.prototype.wb=q("ab");fs.prototype.f=function(a){fs.b.f.call(this,a);B(a,"height")&&(this.ab=J(a,"height"))};fs.prototype.update=function(a,b,c,e){fs.b.update.call(this,a.o(),a,c,e);var f;switch(this.ra){case 0:f=b.x;break;case 1:f=b.x+(b.width-this.j.width)/2;break;case 2:f=b.x+(b.width-this.j.width)}a.eb(f,b.y)};function gs(){ae.apply(this)}x.e(gs,fs);
gs.prototype.Zb=function(a,b,c){a=gs.b.Zb.call(this,a,b,c);ad(a,new R);return a};gs.prototype.update=function(a,b,c,e){gs.b.update.call(this,a,b,c,e);bd(a,new R(0,0,b.width,b.height))};function hs(){ae.apply(this)}x.e(hs,fs);hs.prototype.update=function(a,b,c,e){hs.b.update.call(this,a,b,c,e);b.width>=this.j.width&&b.height>=this.j.height?a.Gr().setAttribute("visibility","visible"):a.Gr().setAttribute("visibility","hidden")};function is(a){X.call(this,a)}x.e(is,Ze);is.prototype.Ws=function(a){this.Oa.Ws(a)};
function Vr(){}x.e(Vr,xn);Vr.prototype.Hb=function(){return new es};Vr.prototype.ya=function(a,b,c){Vr.b.ya.call(this,a,b,c);c.Ws(b)};Vr.prototype.WH=function(a){return new is(a)};function js(a,b){ue.call(this,a,b)}x.e(js,mf);w=js.prototype;w.N=l;w.pd=q("N");w.pe=function(){return this.N&&this.N.isEnabled()};w.wi=l;w.Fi=l;w.Ou=l;w.getHeader=q("Ou");
w.f=function(a){a=js.b.f.call(this,a);if(!B(a,"branch"))return a;var b=D(a,"branch");L(b,"background")&&(this.N=new yd,this.N.f(D(b,"background")));L(b,"inside_margin")&&(this.wi=new jd,this.wi.f(D(b,"inside_margin")));L(b,"outside_margin")&&(this.Fi=new jd,this.Fi.f(D(b,"outside_margin")));L(b,"header")&&(this.Ou=this.sC(),this.Ou.f(D(b,"header")));return a};w.sC=function(){return new fs};function Jr(a){return a.Ou&&a.Ou.isEnabled()}function ks(a,b){ue.call(this,a,b)}x.e(ks,js);ks.prototype.sC=function(){return new gs};
function ls(a,b){ue.call(this,a,b)}x.e(ls,js);ls.prototype.sC=function(){return new hs};function ms(){}x.e(ms,lf);ms.prototype.createElement=function(){return this.g.o().ba()};ms.prototype.Ga=function(a){a.setAttribute("d",Pc(this.g.k()))};function Rr(){Z.call(this)}x.e(Rr,nf);Rr.prototype.Ub=function(){return js};Rr.prototype.dc=function(){return new ms};function Ur(){Z.call(this)}x.e(Ur,Rr);Ur.prototype.Ub=function(){return ks};function Tr(){Z.call(this)}x.e(Tr,Rr);Tr.prototype.Ub=function(){return ls};var ns={chart:{styles:{tree_map_style:{branch:{background:{border:{enabled:"true"},fill:{enabled:"true"},enabled:"false"},inside_margin:{all:"0",top:"-1"},outside_margin:{all:"0"},header:{text:{value:"{%Name}"},background:{inside_margin:{all:"0",left:"6",top:"2"},enabled:"true"},enabled:"true",align:"Near"}},states:{normal:{branch:{header:{background:{fill:{gradient:{key:[{color:"#FDFDFD"},{color:"#EBEBEB"}],angle:"90"},enabled:"true",type:"Gradient"},border:{gradient:{key:[{color:"#898B8D"},{color:"#5D5F60"}],
angle:"90"},enabled:"true",type:"Gradient",opacity:"1"}},enabled:"true",align:"Near"}},fill:{enabled:"true",type:"Solid",color:"%Color",opacity:"1"},border:{enabled:"true",type:"Solid",color:"#898B8D",opacity:"1"}},hover:{branch:{header:{font:{underline:"true"},background:{fill:{gradient:{key:[{color:"#DFF2FF"},{color:"#99D7FF"}],angle:"90"},enabled:"true",type:"Gradient"},border:{gradient:{key:[{color:"#009DFF"},{color:"#0056B8"}],angle:"90"},type:"Gradient"}}}},fill:{enabled:"true",type:"Solid",
color:"%Color",opacity:"1"},border:{enabled:"true",type:"Solid",color:"#898B8D",opacity:"1"},hatch_fill:{enabled:"true",color:"White",type:"Percent50",opacity:"0.6"}},pushed:{branch:{header:{font:{underline:"true"},background:{fill:{gradient:{key:[{color:"#DFF2FF"},{color:"#99D7FF"}],angle:"90"},enabled:"true",type:"Gradient"},border:{gradient:{key:[{color:"#009DFF"},{color:"#0056B8"}],angle:"90"},type:"Gradient"}}}},fill:{enabled:"true",type:"Solid",color:"%Color",opacity:"1"},border:{enabled:"true",
type:"Solid",color:"#898B8D",opacity:"1"},hatch_fill:{enabled:"true",color:"Gray",type:"Percent50",opacity:"0.6"}},selected_normal:{branch:{header:{background:{fill:{gradient:{key:[{color:"#FDFDFD"},{color:"#EBEBEB"}],angle:"90"},enabled:"true",type:"Gradient"},border:{gradient:{key:[{color:"#898B8D"},{color:"#5D5F60"}],angle:"90"},enabled:"true",type:"Gradient",opacity:"1"}},enabled:"true",align:"Near"}},fill:{enabled:"true",type:"Solid",color:"%Color",opacity:"1"},border:{enabled:"true",type:"Solid",
color:"#898B8D",opacity:"1"},hatch_fill:{enabled:"true",color:"Gray",type:"Percent50",opacity:"0.7"}},selected_hover:{branch:{header:{font:{underline:"true"},background:{fill:{gradient:{key:[{color:"#DFF2FF"},{color:"#99D7FF"}],angle:"90"},enabled:"true",type:"Gradient"},border:{gradient:{key:[{color:"#009DFF"},{color:"#0056B8"}],angle:"90"},type:"Gradient"}}}},fill:{enabled:"true",type:"Solid",color:"%Color",opacity:"1"},border:{enabled:"true",type:"Solid",color:"#898B8D",opacity:"1"},hatch_fill:{enabled:"true",
color:"Gray",type:"Percent50",opacity:"0.5"},color:"%Color"}},name:"anychart_default"}},data_plot_settings:{tree_map:{label_settings:{position:{anchor:"Center",valign:"Center",halign:"Center"},font:{bold:"false"},format:{value:"{%Name}"},enabled:"false"},tooltip_settings:{format:{value:"{%Name} - {%YValue}{numDecimals:0}"},enabled:"false"},interactivity:{use_hand_cursor:"false",allow_select:"true"},marker_settings:{},enable_drilldown:"true"}}}};function os(){}x.e(os,Ik);os.prototype.pg=function(){return this.gf(os.b.pg.call(this),ns)};function Ke(){mk.call(this)}x.e(Ke,mk);w=Ke.prototype;w.hA=l;w.sk=l;w.bp=function(){return new os};w.Db=function(){return qk(this,23)};w.Xt=function(){return new Or};
w.Vx=function(a,b){var c=D(a,"data"),e=new Bj;B(a,"palettes")&&e.f(D(a,"palettes"));this.Ui=new kk(D(a,"thresholds"));var f=this.ny(D(a,"data_plot_settings"),c,23,b),e=new Cr(0,c,b,e,l),h=new Xr;h.f(c);var j;a:switch(h.zE){case 2:if(0<F(e.data,"point").length&&f){c=new Mr;c.ir=n;c.xm(l);c.Sa=f;wk(c,f.Te);xk(c,f);c.lf(f.ea());f.Rh(c);f=e.Xj;c.vk(e);c.Gs([]);c.jo(0);j=0;do{e.index=j++;e.data=Zr(h,-Number.MAX_VALUE);if(!e.data)break;var k=as(h,e,c),m=k.ia();c.Ha+=m;c.R.push(k)}while(1);e.Xj=f;uk(c.Db(),
c.R);Nr(c)}else c=l;j=c;break a;case 1:j=Yr(h,h.iA,e,l,f,n);break a;case 0:j=bs(h,e,l,f,n)}this.hA=j;Lr(this,this.hA);lk(this.Ui)};w.Kf=o();function Lr(a,b){a.sk&&a.sk.Ni(n);a.sk=b;a.Sp[0]=a.sk;a.sk.Ni(i)}w.p=function(a,b,c){Ke.b.p.call(this,a,b,c);ps(this);bd(this.v,this.lg());return this.v};w.lg=function(){return new R(0,0,this.j.width,this.j.height)};w.eA=function(){ps(this);Ke.b.eA.call(this);bd(this.v,this.lg())};
function ps(a){a.hA&&(a.sk.Pd(0),a.sk.jd(0),a.sk.Sj(1>a.j.width?1:a.j.width-1),a.sk.wm(1>a.j.height?1:a.j.height-1))}w.wx=function(a){return!a||!B(a,"data")||!B(D(a,"data"),"point")};var qs={chart:{chart_settings:{data_plot_background:{enabled:"false"},axes:{x_axis:{line:{enabled:"true",thickness:"1",color:"#C0C0C0"},major_grid:{line:{enabled:"true",color:"#C0C0C0",thickness:"1"},interlaced_fills:{even:{fill:{enabled:"true",color:"#F5F5F5",opacity:"0.5"},hatch_fill:{enabled:"false"}},odd:{fill:{enabled:"true",color:"#FFFFFF",opacity:"0.5"},hatch_fill:{enabled:"false"}}},enabled:"true",draw_last_line:"true",interlaced:"false"},major_tickmark:{enabled:"true",size:"4",inside:"false",
outside:"true",thickness:"1",color:"#333333"},minor_grid:[{line:{enabled:"true",thickness:"1",color:"#333333"},interlaced_fills:{even:{fill:{enabled:"true",color:"White"},hatch_fill:{enabled:"false"}},odd:{fill:{enabled:"true",color:"White"},hatch_fill:{enabled:"false"}}},enabled:"false",draw_last_line:"true",interlaced:"false"},{enabled:"false"}],labels:{format:{value:"{%Value}"},font:{family:"Tahoma",size:"11",bold:"True"},background:{border:{gradient:{key:[{position:"0",color:"rgb(221,221,221)"},
{position:"1",color:"rgb(208,208,208)"}],angle:"90"},enabled:"True",type:"Gradient"},fill:{gradient:{key:[{position:"0",color:"rgb(255,255,255)"},{position:"0.5",color:"rgb(243,243,243)"},{position:"1",color:"rgb(255,255,255)"}],angle:"90"},type:"Gradient"},inside_margin:{left:"2",right:"2",top:"0",bottom:"0"},effects:{drop_shadow:{enabled:"true",distance:"1",opacity:"0.1"},enabled:"true"},enabled:"false"},enabled:"true",padding:"0",allow_overlap:"true",position:"Outside",show_first_label:"true",
show_last_label:"true",relative_rotation:"false"},enabled:"true"},y_axis:{line:{enabled:"true",color:"#333333",thickness:"1"},major_grid:{line:{enabled:"true",thickness:"1",color:"#DDDDDD"},interlaced_fills:{even:{fill:{enabled:"true",color:"White"},hatch_fill:{enabled:"false"}},odd:{fill:{enabled:"true",color:"Rgb(250,250,250)"},hatch_fill:{enabled:"false"}}},enabled:"true",draw_last_line:"false",draw_first_line:"false",interlaced:"false"},major_tickmark:{enabled:"true",size:"4",inside:"true",outside:"false",
thickness:"1",color:"#333333"},minor_grid:{line:{enabled:"true",thickness:"1",color:"#DDDDDD"},interlaced_fills:{even:{fill:{enabled:"true",color:"White"},hatch_fill:{enabled:"false"}},odd:{fill:{enabled:"true",color:"White"},hatch_fill:{enabled:"false"}}},enabled:"false",draw_last_line:"true",interlaced:"false"},minor_tickmark:{enabled:"false",size:"2",inside:"true",outside:"false",thickness:"1",color:"#333333",pixel_hinting:"true"},scale:{},labels:{format:{value:"{%Value}{numDecimals:3,trailingZeros:false}"},
font:{family:"Tahoma",size:"11",bold:"false"},background:{border:{enabled:"true",type:"Solid",color:"#999999"},fill:{type:"Solid",color:"#FFFFFF"},inside_margin:{left:"2",top:"0",right:"2",bottom:"0"},enabled:"false"},enabled:"true",padding:"5",allow_overlap:"false",position:"Outside",show_first_label:"true",show_last_label:"true",relative_rotation:"false"},enabled:"true",display_under_data:"false"},display_under_data:"false"}},data_plot_settings:{radar:{background:{fill:{enabled:"true",type:"Solid",
color:"#FFFFFF",opacity:"1"},border:{enabled:"false"},enabled:"true"},start_angle:"0"},polar:{background:{fill:{enabled:"true",type:"Solid",color:"#FFFFFF",opacity:"1"},border:{enabled:"false"},enabled:"true"}},area_series:{area_style:{fill:{opacity:"0.5"}},animation:{type:"ScaleXYCenter"}},line_series:{animation:{type:"ScaleXYCenter"}}}}};var rs={chart:{styles:{line_style:{line:{thickness:"2",color:"%Color"},states:{hover:{line:{thickness:"3",color:"LightColor(%Color)"},effects:{glow:{enabled:"true"}}},missing:{line:{thickness:"3",color:"%Color",opacity:"0.2"}}},name:"anychart_default"},area_style:[{line:{enabled:"True",color:"DarkColor(%Color)"},fill:{color:"%Color",opacity:"1"},states:{hover:{fill:{type:"solid",color:"LightColor(%Color)",opacity:"1"}},pushed:{fill:{type:"solid",color:"Blend(LightColor(%Color),Black,0.7)",opacity:"1"}},
selected_normal:{fill:{type:"solid",color:"Blend(LightColor(%Color),Black,0.9)",opacity:"1"},hatch_fill:{type:"ForwardDiagonal",enabled:"True",thickness:"3",opacity:"0.3",pattern_size:"6"}},selected_hover:{fill:{type:"solid",color:"Blend(LightColor(%Color),Black,0.95)",opacity:"1"},hatch_fill:{type:"ForwardDiagonal",enabled:"True",thickness:"3",opacity:"0.2",pattern_size:"6"}}},name:"anychart_default"},{line:{enabled:"True",type:"Solid",color:"DarkColor(%Color)"},fill:{gradient:{key:[{position:"0",
color:"%Color",opacity:"1"},{position:"1",color:"Blend(DarkColor(%Color),%Color,0.7)",opacity:"1"}],angle:"90"},type:"Gradient",color:"%Color",opacity:"0.9"},effects:{bevel:{enabled:"true",distance:"1"}},states:{hover:{line:{enabled:"True",type:"Solid",color:"DarkColor(White)"},fill:{gradient:{key:[{position:"0",color:"White",opacity:"1"},{position:"1",color:"Blend(DarkColor(White),%White,0.7)",opacity:"1"}],angle:"90"},type:"Gradient",opacity:"0.9"}},pushed:{line:{enabled:"True",type:"Solid",color:"DarkColor(White)"},
fill:{gradient:{key:[{position:"0",color:"White",opacity:"1"},{position:"1",color:"Blend(DarkColor(White),White,0.7)",opacity:"1"}],angle:"90"},type:"Gradient",opacity:"0.9"},effects:{bevel:{enabled:"true",distance:"2",angle:"225"}}},selected_normal:{line:{enabled:"True",thickness:"2",color:"DarkColor(%Color)"},hatch_fill:{enabled:"true",thickness:"3",type:"ForwardDiagonal",opacity:"0.3"}},selected_hover:{fill:{gradient:{key:[{position:"0",color:"White",opacity:"1"},{position:"1",color:"Blend(DarkColor(White),White,0.7)",
opacity:"1"}],angle:"90"},type:"Gradient",opacity:"0.9"},line:{enabled:"True",thickness:"2",color:"DarkColor(White)"},hatch_fill:{enabled:"true",thickness:"3",type:"ForwardDiagonal",color:"DarkColor(White)",opacity:"0.3"}},missing:{line:{enabled:"True",type:"Solid",color:"DarkColor(White)",thickness:"1",opacity:"0.4"},fill:{gradient:{key:[{position:"0",color:"White",opacity:"1"},{position:"1",color:"Blend(DarkColor(White),White,0.7)",opacity:"1"}],angle:"90"},type:"Gradient",opacity:"0.3"},hatch_fill:{type:"Checkerboard",
pattern_size:"20",enabled:"true",opacity:"0.1"},effects:{bevel:{enabled:"false",distance:"1",angle:"225"}}}},name:"Dark"},{line:{enabled:"True",color:"DarkColor(%Color)"},fill:{color:"%Color",opacity:"0.5"},states:{hover:{fill:{type:"solid",color:"LightColor(%Color)",opacity:"0.5"}},pushed:{fill:{type:"solid",color:"Blend(LightColor(%Color),Black,0.7)",opacity:"0.5"}},selected_normal:{fill:{type:"solid",color:"Blend(LightColor(%Color),Black,0.9)",opacity:"0.5"},hatch_fill:{type:"ForwardDiagonal",
enabled:"True",thickness:"3",opacity:"0.3",pattern_size:"6"}},selected_hover:{fill:{type:"solid",color:"Blend(LightColor(%Color),Black,0.95)",opacity:"0.5"},hatch_fill:{type:"ForwardDiagonal",enabled:"True",thickness:"3",opacity:"0.2",pattern_size:"6"}}},name:"Transparent"}]},data_plot_settings:{line_series:{animation:{style:"defaultScaleYCenter"},marker_settings:{animation:{style:"defaultMarker"},fill:{gradient:{key:[{position:"0",color:"LightColor(%Color)",opacity:"1"},{position:"0.7",color:"%Color",
opacity:"1"},{position:"1",color:"LightColor(%Color)",opacity:"1"}],angle:"45",type:"radial",focal_point:"-0.7"},type:"gradient",opacity:"1"},states:{missing:{marker:{type:"None"},fill:{opacity:"0"},border:{thickness:"1",color:"%Color",opacity:"0.3"}}},enabled:"true"},effects:{drop_shadow:{enabled:"true",distance:"1.5",opacity:"0.25"}},tooltip_settings:{enabled:"False"},label_settings:{animation:{style:"defaultLabel"},enabled:"False"}},area_series:{animation:{style:"defaultScaleYBottom"},tooltip_settings:{enabled:"False"},
label_settings:{animation:{style:"defaultLabel"},enabled:"False"},marker_settings:{animation:{style:"defaultMarker"},enabled:"False"}}}}};var ss={chart:{styles:{},data_plot_settings:{marker_series:{animation:{style:"defaultScaleXYCenter"},label_settings:{animation:{style:"defaultLabel"},enabled:"False"},tooltip_settings:{}}}}};function ts(){}x.e(ts,Ik);ts.prototype.pg=function(){var a=this.gf(ts.b.pg.call(this),qs),a=this.gf(a,ss);return this.gf(a,rs)};function us(a){this.D=a}x.e(us,vd);us.prototype.D=l;us.prototype.createElement=function(a){return a.ba()};
us.prototype.Tg=function(a,b){if(this.D.fn)return Nc(a,b.x+b.width/2,b.y+b.height/2,Math.min(b.width,b.height)/2);var c=td(this)?this.hc.za():0;b.x+=c;b.y+=c;b.width-=c+c;b.height-=c+c;var e=this.D.wa,f=vs(this.D),c=Math.min(b.width,b.height)/2+c,h=f.mb,j=f.xb(f.bb(0))+e,k;k=T(Ec(c,j)+this.D.va.x,W(c,j)+this.D.va.y);for(var m=0;m<=h;m++)f.bb(m),j=f.xb(f.bb(m+1))+e,k+=V(Ec(c,j)+this.D.va.x,W(c,j)+this.D.va.y);return k+" Z"};function ws(){tg(this)}x.e(ws,sg);ws.prototype.f=function(a){ws.b.f.call(this,a);this.Xc=n};
ws.prototype.Pc=function(){if(this.mc||this.lc||this.Eh||this.cf){ws.b.Pc.call(this);if(this.mc||this.lc){0==this.pc-this.qc&&this.mc&&this.lc&&(this.K=this.qc-0.5,this.V=this.pc+0.5);if(this.V-this.K<Number.MIN_VALUE&&(this.lc&&(this.V+=0.2*(0==this.V?1:Math.abs(this.V))),this.mc))this.K-=0.2*(0==this.K?1:Math.abs(this.K));this.mc&&0<this.K&&0.25>this.K/(this.V-this.K)&&(this.K=0);this.lc&&0>this.V&&0.25>Math.abs(this.V/(this.V-this.K))&&(this.V=0)}this.Eh&&(this.zb=wg(this.V-this.K,7,n));this.cf&&
(this.Bd=wg(this.zb,5,i));this.mc&&(this.K-=vg(this.K,this.zb));if(this.lc){var a=vg(this.V,this.zb);0!=a&&(this.V+=this.zb-a)}}this.Lg();this.mk()};ws.prototype.Lg=function(){this.Ik&&(this.je=Math.ceil(Number(this.K)/Number(this.zb)-1.0E-8)*Number(this.zb))};ws.prototype.xb=function(a,b){return Math.ceil((b?0:this.Ac)+(this.Ic-this.Ac)*((a-this.K)/(this.V-this.K)))};
function xs(){tg(this);this.nc=10;this.iF=[0,0.301029995663981,0.477121254719662,0.602059991327962,0.698970004336019,0.778151250383644,0.845098040014257,0.903089986991944,0.954242509439325,1]}x.e(xs,sg);w=xs.prototype;w.ld=NaN;w.ze=NaN;w.nc=NaN;w.iF=l;w.f=function(a){xs.b.f.call(this,a);if(a){var b;B(a,"logarithmic_base")?b="logarithmic_base":B(a,"log_base")&&(b="log_base");b&&(this.nc="e"==Jb(a)?Math.E:J(a,b))}};
w.Pc=function(){isNaN(this.qc)&&isNaN(this.pc)&&this.mc&&this.lc&&(this.mc=n,this.K=1,this.lc=n,this.V=10);xs.b.Pc.call(this);this.Eh&&(this.zb=1);0>=this.K&&0>=this.V?(this.K=1,this.V=this.nc):0>=this.K?this.K=this.V/this.nc:0>=this.V&&(this.V=this.K*this.nc);if(1.0E-20>this.V-this.K&&(this.lc&&(this.V*=2),this.mc))this.K/=2;this.mc&&(this.K=Math.pow(this.nc,Math.floor(Math.log(this.K)/Math.log(this.nc))));this.lc&&(this.V=Math.pow(this.nc,Math.ceil(Math.log(this.V)/Math.log(this.nc))));this.ld=
Math.round(1E3*this.we(this.K))/1E3;this.ze=Math.round(1E3*this.we(this.V))/1E3;this.Lg();this.mk()};w.mk=function(){this.mb=parseInt(Math.floor(this.we(this.V)+1.0E-12))-parseInt(this.je);this.fs(this.bb(this.mb))||this.mb--;1>this.mb&&(this.mb=1)};w.Lg=function(){this.Ik&&(this.je=Math.ceil(this.we(this.K)-1.0E-8))};w.we=function(a){return 1.0E-20<a?Math.log(a)/Math.log(this.nc):0};w.kb=function(a){a=(this.Ic-this.Ac)*((this.we(a)-this.ld)/(this.ze-this.ld));return this.Xc?this.Ic-a:this.Ac+a};
w.xb=function(a,b){var c=(this.Ic-this.Ac)*((a-this.ld)/(this.ze-this.ld)),e=b?this.Ic-this.Ac:this.Ic,f=b?0:this.Ac;return this.Xc?e-c:f+c};w.bb=function(a){return this.je+a};w.og=function(a,b){console.log(a+Math.floor(Number(b)/9)+this.iF[(b+9)%9]);return a+Math.floor(Number(b)/9)+this.iF[(b+9)%9]};w.we=function(a){return 1.0E-20<a?Math.log(a)/Math.log(this.nc):0};w.fs=function(a){return a>=this.ld&&a<=this.ze};w.an=function(a){return Math.pow(this.nc,a)};function ys(){tg(this)}x.e(ys,sg);
ys.prototype.kg=function(a){return""+a};ys.prototype.Pc=function(){this.K=this.qc;this.V=this.pc+1;this.Bd=1;this.je=this.K;this.Eh&&(this.zb=1);this.zb=parseInt(this.zb);0>=this.zb&&(this.zb=1);this.cf&&(this.Bd=this.zb);this.mk()};function zs(){this.na=i;this.Gk=n;this.en=i}w=zs.prototype;w.na=l;w.isEnabled=q("na");w.Gk=l;w.en=l;w.Wb=l;w.qd=q("Wb");w.rg=function(){return this.Wb&&this.Wb.isEnabled()};w.zh=l;w.Sl=function(){return this.zh&&this.zh.isEnabled()};w.nj=l;w.Jr=function(){return this.nj&&this.nj.isEnabled()};w.Nh=l;w.zn=function(){return this.Nh&&this.Nh.isEnabled()};w.Bj=l;w.fp=function(){return this.Bj&&this.Bj.isEnabled()};
w.f=function(a){if(this.na=L(a,"enabled"))if(B(a,"draw_last_line")&&(this.en=I(a,"draw_last_line")),B(a,"interlaced")&&(this.Gk=I(a,"interlaced")),L(a,"line")&&(this.Wb=new qd,this.Wb.f(D(a,"line"))),this.Gk&&B(a,"interlaced_fills")){a=D(a,"interlaced_fills");if(B(a,"even")){var b=D(a,"even");L(b,"fill")&&(this.zh=new nd,this.zh.f(D(b,"fill")));L(b,"hatch_fill")&&(this.nj=new rc,this.nj.f(D(b,"hatch_fill")))}if(B(a,"odd")&&(a=D(a,"odd"),L(a,"fill")&&(this.Nh=new nd,this.Nh.f(D(a,"fill"))),L(a,"hatch_fill")))this.Bj=
new rc,this.Bj.f(D(a,"hatch_fill"))}};function As(){}x.e(As,qd);w=As.prototype;w.uj=l;w.tg=q("uj");w.tp=l;w.tf=q("tp");w.Cd=l;w.rb=q("Cd");w.f=function(a){As.b.f.call(this,a);if(this.na&&(B(a,"size")&&(this.Cd=J(a,"size")),B(a,"inside")&&(this.tp=I(a,"inside")),B(a,"outside")))this.uj=I(a,"outside")};function Bs(a){be(this);this.n=a;this.kd=0;this.ua=5;this.Uj=this.Tj=i;this.Yi=n}x.e(Bs,ae);w=Bs.prototype;w.tp=l;w.tf=q("tp");w.n=l;w.jc=l;w.Tj=l;w.Uj=l;w.Yi=l;w.kd=l;w.ua=l;w.Y=q("ua");w.fL=l;
w.f=function(a){Bs.b.f.call(this,a);if(this.na&&(B(a,"format")&&(this.jc=new Ld(G(a,"format"))),B(a,"padding")&&(this.ua=J(a,"padding")),B(a,"allow_overlap")&&(this.Yi=I(a,"allow_overlap")),B(a,"position")&&(this.tp="inside"==O(a,"position")),B(a,"show_first_label")&&(this.Tj=I(a,"show_first_label")),B(a,"show_last_label")))this.Uj=I(a,"show_last_label")};w.Kb=function(a,b){this.fL=this.n.O().bb(b);Bs.b.Kb.call(this,a,this.jc.ia(this,l))};w.Aa=function(a){return this.n.Aa(a)};
w.Ba=function(a){return this.n.tD(a,this.fL)};function Cs(a){Bs.call(this,a);this.ih=i;this.gk=n;this.zt=0}x.e(Cs,Bs);w=Cs.prototype;w.ih=l;w.gk=l;w.zt=l;w.yC=l;w.f=function(a){E(a,"rotation","0");switch(O(a,"circular_labels_style")){default:case "horizontal":this.gk=this.ih=n;break;case "circular":this.gk=this.ih=i;break;case "radial":this.gk=this.ih=i,this.zt=90}Cs.b.f.call(this,a)};w.Kb=function(a,b){this.yC=b;Cs.b.Kb.call(this,a,b)};
w.qb=function(a){if(this.ih){var b=a+this.n.G().wa,c=this.n.G().o(),a=this.n.va.la(),e=Ds(this.n)&&this.n.ff.tf()?this.n.ff.rb():0,f=Ds(this.n)&&this.n.ff.tg()?this.n.ff.rb():0,h=Math.min(this.n.k().width,this.n.k().height)/2,j=b*Math.PI/180,k=Math.round(1E3*Math.cos(j))/1E3,j=Math.round(1E3*Math.sin(j))/1E3,m;this.mC();this.Kb(c,this.yC);m=this.k().height;this.Sc(-b);this.Kb(c,this.yC);b=this.k();h=this.tp?h-(this.ua+m/2+e):h+(this.ua+m/2+f);a.x+=h*k;a.y+=h*j;a.x-=b.width/2;a.y-=b.height/2}else{var k=
(a+this.n.G().wa)*Math.PI/180,a=Math.min(this.n.k().height,this.n.k().width)/2,e=m=0,f=this.Vd.width,s=this.Vd.height,h=Math.round(100*Math.cos(k))/100,k=Math.round(100*Math.sin(k))/100,b=-f/2,c=-s/2,j=0,t=Math.abs(s)/(2/Math.sqrt(2)*Math.sqrt(Math.pow(f,2)+Math.pow(s,2))),t=Math.round(100*t)/100;if(Ds(this.n)){var v=this.n.ff.rb();this.n.ff.tf()&&(m+=v);this.n.ff.tg()&&(e+=v)}Math.abs(k)<t?0!=h&&(j+=f/(2*Math.abs(h))):0!=k&&(j+=s/(2*Math.abs(k)));this.tp?a-=this.ua+j+m:(m=Math.pow(a+this.ua+e,2),
m=(a+this.ua+j+e)*Math.abs(h)-Math.sqrt(Math.pow(a+this.ua,2)-m+m*Math.pow(h,2)),0<h?(m=f/2-m,m<f/2&&m>-f/2&&(b+=m)):(m=f/2-m,m<f/2&&m>-f/2&&(b-=m)),a+=this.ua+j+e);a=new P(this.n.va.x+a*h+b,this.n.va.y+a*k+c)}return a};w.Sc=function(a){this.ih&&ce(this,!(this.gk&&0<Math.sin(a*Math.PI/180))?-this.zt+a+90:-this.zt+a-90)};w.mC=function(){this.ih&&ce(this,this.zt)};function Es(a){this.D=a;this.R=[];this.zd()}w=Es.prototype;w.Ea=l;w.Oj=p("Ea");w.getName=q("Ea");w.U=NaN;w.ho=p("U");w.La=0;w.D=l;w.G=q("D");w.R=l;w.a=l;w.zd=function(){this.a=new Pd;this.tb()};
w.tb=function(){this.a.add("%CategoryName","");this.a.add("%Name","");this.a.add("%CategoryIndex","");this.a.add("%CategoryPointCount",0);this.a.add("%CategoryYSum",0);this.a.add("%CategoryYMax",0);this.a.add("%CategoryYMin",0);this.a.add("%CategoryYRangeMax",-Number.MAX_VALUE);this.a.add("%CategoryYRangeMin",Number.MAX_VALUE);this.a.add("%CategoryYRangeSum",0);this.a.add("%CategoryYPercentOfTotal",0);this.a.add("%CategoryYAverage",0)};
w.Aa=function(a){if(Ud(a,this.G()))return this.G().Aa(a);switch(a){case "%CategoryPointCount":case "%CategoryYSum":case "%CategoryYMax":case "%CategoryYMin":case "%CategoryYRangeMax":case "%CategoryYRangeMin":case "%CategoryYRangeSum":case "%CategoryYPercentOfTotal":case "%CategoryYAverage":return 2;default:case "%CategoryName":case "%Name":return 1}};w.yH=function(){this.a.add("%CategoryName",this.Ea);this.a.add("%Name",this.Ea);this.a.add("%CategoryIndex",this.U)};
w.Ba=function(a){if(Ud(a,this.G()))return this.G().a.get(a);Qd(this.a,"%CategoryYPercentOfTotal")||this.a.add("%CategoryYPercentOfTotal",100*(this.a.get("%CategoryYSum")/this.G().Ba("%DataPlotYSum")));Qd(this.a,"%CategoryYAverage")||this.a.add("%CategoryYAverage",this.a.get("%CategoryYSum")/this.a.get("%CategoryPointCount"));return this.a.get(a)};w.Eg=function(){for(var a=this.R.length,b=0;b<a;b++)this.R[b].Eg()};w.Fg=function(){for(var a=this.R.length,b=0;b<a;b++)this.R[b].Fg()};
w.Va=function(a){if(a==l||a==g)a={};a.Name=this.Ea;a.XSum=this.a.get("%CategoryXSum");a.YSum=this.a.get("%CategoryYSum");a.BubbleSizeSum=this.a.get("%CategoryBubbleSizeSum");a.YRangeMax=this.a.get("%CategoryRangeMax");a.YRangeMin=this.a.get("%CategoryRangeMin");a.YRangeSum=this.a.get("%CategoryRangeSum");a.YPercentOfTotal=this.a.get("%CategoryYPercentOfTotal");a.YMedian=this.a.get("%CategoryYMedian");a.YMode=this.a.get("%CategoryYMode");a.YAverage=this.a.get("%CategoryYAverage");return a};
function Fs(a){this.Yu=a;this.Cg=[];this.yg=[];this.R=[]}w=Fs.prototype;w.Yu=n;w.Ph=0;w.Lh=0;w.Cg=l;w.yg=l;w.R=l;w.Iu=function(a){return 0>a?this.Lh:this.Ph};w.md=function(a,b){var c=i;if(0==b&&0<this.R.length){for(var c=this.R.length-1,e=this.R[c];0==e.vb&&0<c;)c--,e=this.R[c];c=0<=e.vb}this.R.push(a);e=0<b;0==b&&(e=c);if(e)return 0<this.Cg.length&&a.cw(this.Cg[this.Cg.length-1]),this.Cg.push(a),this.Ph+=b;0<this.yg.length&&a.cw(this.yg[this.yg.length-1]);this.yg.push(a);return this.Lh+=b};
w.hG=function(){var a;for(a=0;a<this.Cg.length;a++)this.Cg[a].Hs(this.Ph);for(a=0;a<this.yg.length;a++)this.yg[a].Hs(this.Lh)};w.UD=function(a){return this.Yu?100:0<a?this.Ph:this.Lh};function Gs(a,b,c,e){Es.call(this,a);this.U=b;this.Ea=c;this.n=e;this.yf={};this.Fj=[]}x.e(Gs,Es);w=Gs.prototype;w.ne=l;w.pA=p("ne");w.yf=l;w.Fj=l;w.Ch=function(a,b){this.yf==l&&(this.yf={});this.yf[a]==l&&(this.yf[a]=new Fs(b),b&&this.Fj.push(this.yf[a]));return this.yf[a]};
w.Kf=function(){if(this.Fj!=l){for(var a=0,b=this.Fj.length;a<b;a++)this.Fj[a].hG();this.Fj=l}};function Hs(a){this.D=a;this.va=new P}w=Hs.prototype;w.D=l;w.G=q("D");w.na=l;w.isEnabled=q("na");w.ed=l;function Is(a){return a.ed&&a.ed.isEnabled()}w.fd=l;function Js(a){return a.fd&&a.fd.isEnabled()}w.ff=l;function Ds(a){return a.ff&&a.ff.isEnabled()}w.Ok=l;function Ks(a){return a.Ok&&a.Ok.isEnabled()}w.NM=q("Ok");w.B=l;w.yn=function(){return this.B&&this.B.isEnabled()};w.Wb=l;w.rg=function(){return this.Wb&&this.Wb.isEnabled()};w.qd=q("Wb");w.pH=l;w.IB=l;w.LB=l;w.JB=l;w.qH=l;w.Gp=l;w.X=l;w.O=q("X");
w.j=l;w.k=q("j");w.va=l;
w.f=function(a){this.na=I(a,"enabled");this.X=this.Zt(B(a,"scale")?O(D(a,"scale"),"type"):l);L(a,"scale")&&this.X.f(D(a,"scale"));if(this.na&&(L(a,"major_grid")&&(this.ed=new zs,this.ed.f(D(a,"major_grid"))),L(a,"minor_grid")&&(this.fd=new zs,this.fd.f(D(a,"minor_grid"))),L(a,"major_tickmark")&&(this.ff=new As,this.ff.f(D(a,"major_tickmark"))),L(a,"minor_tickmark")&&(this.Ok=new As,this.Ok.f(D(a,"minor_tickmark"))),L(a,"labels")&&(this.B=this.Yt(),this.B.f(D(a,"labels"))),L(a,"line")))this.Wb=new qd,
this.Wb.f(D(a,"line"))};w.Zt=function(){return new ws};w.Yt=function(){return new Bs(this)};w.Kf=o();w.p=function(a){this.rg()&&(this.Gp=a.ba(),this.qH.appendChild(this.Gp))};w.rA=function(a,b,c,e,f){this.pH=a;this.IB=b;this.LB=c;this.JB=e;this.qH=f};
w.Zd=function(a){this.j=a.la();var b;b=this.D;var c=0;Is(b.Yd)&&b.Yd.ed.rg()&&b.Yd.ed.en&&(c=Math.max(c,b.Yd.ed.qd().za()));Js(b.Yd)&&b.Yd.fd.rg()&&b.Yd.fd.en&&(c=Math.max(c,b.Yd.fd.qd().za()));c/=2;b.oc.rg()&&(c+=b.oc.qd().za());b=c;a.x+=b;a.y+=b;a.width-=b+b;a.height-=b+b;this.kx()};w.kx=function(){this.va.x=this.j.x+this.j.width/2;this.va.y=this.j.y+this.j.height/2};
function Ls(a,b,c,e,f,h,j){h=Math.abs(f*h/2);f=Math.abs(f*j/2);return new R(Math.min(a,c)-h,Math.min(b,e)-f,Math.abs(c-a)+h+h,Math.abs(e-b)+f+f)}w.ga=function(){this.rg()&&this.qI();(Is(this)||Js(this)||Ds(this)||Ks(this))&&Ms(this)};
function Ms(a){a.UA=[];var b=a.X.mb,c=a.X.hf-1,e=i,f,h,j,k;for(f=0;f<=b;f++){h=a.X.bb(f);j=a.X.xb(h);k=a.X.xb(a.X.bb(f+1));Is(a)&&(e=!e,a.X.bb(f+1)>a.X.V&&(k=j),a.RC(a.ed,j,k,e,f==b&&a.ed.en||f!=b));Ds(a)&&a.lj(j,a.ff);if(f!=b&&(Js(a)||Ks(a))){var m=i,s,t,v;for(v=0;v<=c;v++)s=a.X.xb(a.X.og(h,v)),t=a.X.xb(a.X.og(h,v+1)),Js(a)&&(m=!m,a.RC(a.fd,s,t,m,v==c&&a.fd.en||v!=c,j,k,i)),Ks(a)&&a.lj(s,a.Ok)}a.oF(f)&&a.ay(f)}for(f=a.UA.length-1;0<=f;f--)a.pH.appendChild(a.UA[f])}
w.ay=function(a){this.B.Kb(this.D.o(),a);var a=this.X.xb(this.X.bb(a)),b=new P,c=new P;this.Oe(b,a,c);(this.B.Yi||!this.Ot(b,a,c))&&this.xI(b.x,b.y,a)};function Ns(a,b,c,e,f){var h=b.ba();h.setAttribute("d",c);b=od(e,b,f,l,n)+Wc();h.setAttribute("style",b);a.UA.push(h)}function Os(a,b,c,e){var f=b.ba();f.setAttribute("d",c);f.setAttribute("style",tc(e,b,l,l));a.UA.push(f)}w.oF=function(a){return this.B&&this.B.isEnabled()&&(0==a?this.B.Tj:i)&&(a==this.X.mb?this.B.Uj:i)};
w.ya=function(){this.rg()&&this.Ys();(Is(this)||Js(this)||Ds(this)||Ks(this))&&Ms(this)};w.tD=function(a,b){return"%Value"==a?b:""};w.Aa=u(2);function Ps(a){Hs.call(this,a)}x.e(Ps,Hs);w=Ps.prototype;w.fg=l;w.Hg=l;w.Hp=l;w.Zt=function(a){return a!=g&&"logarithmic"==a?new xs:new ws};w.Zd=function(a){Ps.b.Zd.call(this,a);var a=this.X,b=Math.min(this.j.height,this.j.width)/2;a.Ac=0;a.Ic=b;this.X.Pc()};function Qs(a){Rs(a);return Ls(a.Hp.x,a.Hp.y,a.va.x,a.va.y,a.Wb.za(),a.Hg,a.fg)}
function Rs(a){var b=Math.min(a.j.height,a.j.width);a.Hp.x=b*a.fg/2+a.va.x;a.Hp.y=b*a.Hg/2+a.va.y}w.xI=function(a,b){var c=this.B.Zb(this.D.o(),l);c.eb(a,b);this.JB.Z(c)};w.Ot=function(a,b,c){for(var b=Ss(this.B.Vd,this.B.ob.Qb),e=0;4>e;e++)b[e].x+=c.x,b[e].y+=c.y;a=new R(a.x,a.y,this.B.k().width,this.B.k().height);if(this.TJ&&this.SJ&&this.TJ.xi(a)&&this.xi(this.SJ,b))return i;this.TJ=a;this.SJ=[Jc(b[0],b[1]),Jc(b[1],b[2]),Jc(b[2],b[3]),Jc(b[3],b[0])];return n};
w.xi=function(a,b){for(var c,e,f,h=0;2>h;h++){c=a[h];e=a[h+2];var j=Ic(c,b[0].x,b[0].y),k=Ic(e,b[0].x,b[0].y),m=j;f=n;for(var s=1;4>s;s++)if((j&&k||!j&&!k)&&m==j)j=Ic(c,b[s].x,b[s].y),k=Ic(e,b[s].x,b[s].y);else{f=i;break}if(!f)return n}return f};
w.Oe=function(a,b,c){var e=this.B.Y();if(Ds(this)&&(this.ff.tf()&&this.B.tf()||this.ff.tg()&&!this.B.tf()))e+=this.ff.rb();var f=e*this.Hg,h=e*this.fg,e=new P(b*this.fg+this.va.x,b*this.Hg+this.va.y);0==b?(b=Math.min(this.j.height,this.j.width)/2,b=Jc(new P(b*this.fg+this.va.x,b*this.Hg+this.va.y),this.va)):b=Jc(e,this.va);this.B.tf()?(e.x-=f,e.y+=h):(e.x+=f,e.y-=h);f=Ss(this.B.Vd,this.B.ob.Qb);(h=this.B.tf()?0<this.Hg*this.fg?Ts(b,f,this.Hg,this.fg):Ts(b,f,-this.Hg,-this.fg):0>=this.Hg*this.fg?Ts(b,
f,this.Hg,this.fg):Ts(b,f,-this.Hg,-this.fg))||(h=new P);c.x=e.x-h.x;c.y=e.y-h.y;a.x=Math.min(f[0].x,f[1].x,f[2].x,f[3].x)+c.x;a.y=Math.min(f[0].y,f[1].y,f[2].y,f[3].y)+c.y};function Ss(a,b){var c=new P,e=[],f=a.width,h=a.height;e[0]=new P(c.x,c.y);e[1]=new P(b,f);e[2]=new P(b+180*Math.atan2(h,f)/Math.PI,Math.sqrt(f*f+h*h));e[3]=new P(b+90,h);for(f=1;4>f;f++){var h=e[f].y,j=e[f].x;e[f].x=Ec(h,j)+c.x;e[f].y=W(h,j)+c.y}return e}
function Ts(a,b,c,e){var c=0==c?0<e:0>c,e=[],f;f=c?-Number.MAX_VALUE:Number.MAX_VALUE;for(var h=0;4>h;h++){var j;j=a;var k=b[h];if(j.av)j=k.x-j.Zi;else if(0==j.Ap)j=k.y-j.Zi*(k.y<j.Zi?-1:1);else{var m=Math.abs(k.x-j.x(k.y)),s=Math.abs(k.y-j.y(k.x)),t=Math.sqrt(m*m+s*s);j=0==t?0:m*s/t*(Ic(j,k.x,k.y)?1:-1)}if(1>Math.abs(j-f))e.push(h);else if(c&&j>f||!c&&j<f)e=[h],f=j}return 0==e.length?l:1==e.length?b[e[0]]:new P((b[e[0]].x+b[e[1]].x)/2,(b[e[0]].y+b[e[1]].y)/2)}
w.qI=function(){this.Hp=new P;this.Gp.setAttribute("style",Y(this.Wb,this.D.o(),Qs(this)));this.Ys()};w.Ys=function(){Rs(this);this.Gp.setAttribute("d",T(this.va.x,this.va.y)+V(this.Hp.x,this.Hp.y))};w.lj=function(a,b){var c=a*this.fg+this.va.x,e=a*this.Hg+this.va.y,f=b.rb(),h=f*this.Hg,j=f*this.fg,f=this.D.o(),k,m;b.tf()?(k=c+h,m=e-j):(k=c,m=e);b.tg()&&(c-=h,e+=j);h=f.ba();h.setAttribute("d",T(k,m)+V(c,e));h.setAttribute("style",Y(b,f,Ls(k,m,c,e,b.za(),this.fg,this.Hg),l,n));this.LB.appendChild(h)};
w.RC=function(a,b,c,e,f){var h=this.D.o(),j=new R(this.va.x-c,this.va.y-c,c+c,c+c),k=this.Du(h,this.va.x,this.va.y,b,c);a.rg()&&f&&(f=h.ba(),f.setAttribute("style",Y(a.qd(),h,j,l,n)+Vc()),f.setAttribute("d",k),this.IB.appendChild(f));if(a.Gk&&b!=c&&!e&&(a.Sl()||a.Jr())||e&&(a.zn()||a.fp()))e?(a.fp()&&Os(this,h,k,a.Bj),a.zn()&&Ns(this,h,k,a.Nh,j)):(a.Jr()&&Os(this,h,k,a.nj),a.Sl()&&Ns(this,h,k,a.zh,j))};
w.Du=function(a,b,c,e,f){if(this.D.fn)return Nc(a,b,c,f)+Nc(a,b,c,e);var a=this.D.wa,f=vs(this.D),h=f.mb,j=0,k,m;k=f.bb(j);k=f.xb(k)+a;f.bb(j+1);k=T(Ec(e,k)+b,W(e,k)+c);for(j=0;j<h;j++)f.bb(j),m=f.bb(j+1),m=f.xb(m)+a,k+=V(Ec(e,m)+b,W(e,m)+c);return k};w.tD=function(a,b){return this.X.an?this.X.an(b):b};function Us(a){Hs.call(this,a)}x.e(Us,Hs);w=Us.prototype;w.Xh=l;w.ol=l;w.Yh=l;w.Zh=l;w.p=function(a){Us.b.p.call(this,a);a=this.X;a.Ac=0;a.Ic=360;this.X.Pc()};
w.f=function(a){Us.b.f.call(this,a);this.rg()&&(this.Wb.Uq=0,this.Wb.bv=0)};w.Zt=function(){var a=Us.b.Zt.call(this);a.os=0;return a};w.Yt=function(){return new Cs(this)};w.Zd=function(a){Us.b.Zd.call(this,a);this.X.Pc()};w.qI=function(){var a=Math.min(this.j.height,this.j.width)/2,b=this.Wb.za()/2,a=Y(this.Wb,this.D.o(),new R(this.va.x-a+b,this.va.y-a+b,a+a-b-b,a+a-b-b),l),a=a+Vc();this.Gp.setAttribute("style",a);this.Ys()};
w.Ys=function(){var a=this.va.x,b=this.va.y,c=Math.min(this.j.height,this.j.width)/2,e=this.Wb.za()/2,f=this.D.wa,c=c-e,e=this.X.mb,h=this.X.hf,j=Is(this)&&this.ed.Gk,k=Js(this)&&this.fd.Gk,m=this.D.o(),s="";if(j)for(j=0;j<e;j++){var t=this.X.bb(j),v=this.X.xb(t),y=this.X.xb(this.X.bb(j+1));if(k)for(v=0;v<h;v++)var y=this.X.xb(this.X.og(t,v)),C=this.X.xb(this.X.og(t,v+1)),s=s+T(a+Ec(c,y+f),b+W(c,y+f)),s=s+m.nb(c,n,i,a+Ec(c,C+f),b+W(c,C+f));else s+=T(a+Ec(c,v+f),b+W(c,v+f)),s+=m.nb(c,n,i,a+Ec(c,y+
f),b+W(c,y+f))}else s=Nc(m,a,b,c);this.Gp.setAttribute("d",s)};
w.RC=function(a,b,c,e,f){var h=this.va.x,j=this.va.y,k=Math.min(this.j.height,this.j.width)/2,m=this.D.k(),s=this.D.o();this.rg()&&(k-=this.Wb.za());var t=k,v=b+this.D.wa;this.Xh=h+Ec(t,v);this.ol=j+W(t,v);b==c?(this.Yh=this.Xh,this.Zh=this.ol):(v=c+this.D.wa,this.Yh=h+Ec(t,v),this.Zh=j+W(t,v));a.rg()&&f&&(t=s.ba(),f=T(h,j),f+=V(this.Xh,this.ol),t.setAttribute("d",f),t.setAttribute("style",Y(a.qd(),s,l,l,n)),this.IB.appendChild(t));if(a.Gk&&b!=c&&!e&&(a.Sl()||a.Sl())||e&&(a.zn()||a.fp()))f=this.Du(s,
h,j,k),e?(a.fp()&&Os(this,s,f,a.Bj),a.zn()&&Ns(this,s,f,a.Nh,m)):(a.Jr()&&Os(this,s,f,a.nj),a.Sl()&&Ns(this,s,f,a.zh,m))};w.Du=function(a,b,c,e){var f=T(b,c),f=f+V(this.Xh,this.ol),f=f+a.nb(e,n,i,this.Yh,this.Zh),f=f+V(b,c);return f+" Z"};
w.lj=function(a,b){var c=Math.min(this.j.height,this.j.width)/2,e=b.tf()?c-b.rb():c,f=b.tg()?c+b.rb():c,h=a+this.D.wa,j=W(1,h),k=Ec(1,h),c=Ec(e,h)+this.va.x,e=W(e,h)+this.va.y,m=Ec(f,h)+this.va.x,f=W(f,h)+this.va.y,j=Ls(c,e,m,f,b.za(),j,k),k=this.D.o(),h=k.ba();h.setAttribute("d",T(c,e)+V(m,f));h.setAttribute("style",Y(b,k,j,l,n));this.LB.appendChild(h)};w.Oe=function(a,b){var c=this.B.qb(b);a.x=c.x;a.y=c.y};w.xI=function(a,b){var c=this.B.Zb(this.D.o(),l);c.eb(a,b);this.JB.Z(c)};
w.oF=function(a){return a==this.X.mb?n:Us.b.oF.call(this,a)};function Vs(a){Hs.call(this,a);this.rf=[];this.Qf={}}x.e(Vs,Us);w=Vs.prototype;w.rf=l;w.Qf=l;w.Zt=function(){var a=new ys;a.os=0;return a};w.Kf=function(){for(var a=0,b=this.rf.length;a<b;a++)this.rf[a].Kf()};w.OH=function(a){var b=new Gs(this.D,this.rf.length,a,this);this.D.uL.push(b);this.rf.push(b);return this.Qf[a]=b};w.Ye=function(a){var b=this.Qf[a];b||(b=this.OH(a));return b};w.vr=function(a){return this.rf[a]};
w.cE=function(a){return this.Qf[a]!=l};w.Ys=function(){if(this.D.fn)Vs.b.Ys.call(this);else{var a=Math.min(this.j.height,this.j.width)/2,b=this.Wb.za()/2,c=this.D.wa,a=a-b,b=this.X.mb,e;e=T(Ec(a,this.X.xb(this.X.bb(0))+c)+this.va.x,W(a,this.X.xb(this.X.bb(0))+c)+this.va.y);for(var f=0;f<=b;f++){var h=this.X.xb(this.X.bb(f))+c;e+=V(Ec(a,h)+this.va.x,W(a,h)+this.va.y)}this.Gp.setAttribute("d",e)}};
w.Du=function(a,b,c,e){if(this.D.fn)return Vs.b.Du.call(this,a,b,c,e);a=T(b,c);a+=V(this.Xh,this.ol);a+=V(this.Yh,this.Zh);return a+=V(b,c)};w.tD=function(a,b){return"%Value"==a?this.rf[b].getName():""};w.Aa=u(1);function Ws(){this.zd()}x.e(Ws,Ln);w=Ws.prototype;w.Qa=NaN;w.hb=q("Qa");w.Pd=p("Qa");w.vb=NaN;w.Pk=l;w.Yv=p("Pk");w.Rk=l;w.$v=p("Rk");w.Od=l;w.cw=p("Od");w.f=function(a){this.ej(a);Ws.b.f.call(this,a);this.Tx(a);this.Pg(a);this.G().nd(this);this.kC()};w.Tx=function(a){"polar"==this.G().pm?this.Qa=Number(vs(this.G()).kg(D(a,"x"))):(this.Yb=this.G().oc.Ye(this.Ea),this.Qa=this.Yb.U,this.ne=this.Yb.ne,this.U=this.Wp=this.Yb.U)};
w.Pg=function(a){this.ca=this.G().Yd.O().kg(D(a,"y"));!this.cb&&this.Yb?(a=this.G().Yd,this.vb=1==a.O().qj()?this.Yb.Ch(this.l.ub(),n).md(this,this.ca):2==a.O().qj()?this.Yb.Ch(this.l.ub(),i).md(this,this.ca):this.ca):this.vb=this.ca};w.kC=function(){this.G().kC(this.vb)};w.ej=function(a){this.cb=!B(a,"y")||isNaN(J(a,"y"))||""==G(a,"y").replace(/^\s+|\s+$/g,"")};w.$q=o();w.Hs=function(a){this.vb=0!=a?this.vb*(100/a):0};w.tb=function(){Ws.b.tb.call(this);this.a.add("%XValue",0)};
w.Aa=function(a){return"%XValue"==a?2:Ws.b.Aa.call(this,a)};w.le=function(){Ws.b.le.call(this);this.a.add("%XValue",this.Qa)};function Xs(){In.call(this)}x.e(Xs,uq);function Ys(a){this.va=a}w=Ys.prototype;w.va=l;w.Yf=l;w.yd=q("Yf");w.sc=l;w.hb=function(){return this.Yf*Math.cos(this.sc*Math.PI/180)+this.va.x};w.$a=function(){return this.Yf*Math.sin(this.sc*Math.PI/180)+this.va.y};function Zs(a,b){return 0==b?0==a?NaN:0<a?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:a/b};function $s(){}x.e($s,no);$s.prototype.Ga=function(){this.q.setAttribute("d",this.g.LD())};function at(){}x.e(at,po);at.prototype.createElement=function(){return this.g.o().ba()};at.prototype.Lc=function(){this.g.ea().Wn()&&(this.ef=new $s,this.ef.p(this.g,this))};function bt(){Z.call(this)}x.e(bt,ro);bt.prototype.dc=function(){return new at};function ct(){this.zd();this.ma=new P;this.Yl=this.xp=n;this.Fb=new P;this.vc=new P}x.e(ct,Ws);w=ct.prototype;w.vc=l;w.Fb=l;w.qe=l;w.Ge=l;w.xp=l;w.Yl=l;w.$=l;w.ma=l;w.p=function(a){ct.b.p.call(this,a);if(!this.l.Iz())return this.cb?this.l.Zv(this.Hn(this.F.rc)):this.l.Zv(this.Hn(this.F.ta)||this.Hn(this.F.ec)||this.Hn(this.F.ic)||this.Hn(this.F.Rb)||this.Hn(this.F.gc)),this.v};
w.Gf=function(){if(!this.xp){var a=i,b=this.l.wd();this.l.bN&&(a=this.l.Xy);this.qe=0==this.U?a&&!this.l.da(b-1).cb:0<this.U&&this.l.da(this.U-1)&&(!this.l.da(this.U-1).cb||!this.G().ui);this.Ge=this.U==b-1?a&&this.l.da(0)&&!this.l.da(0).cb:this.U<b-1&&this.l.da(this.U+1)!=l&&(!this.l.da(this.U+1).cb||!this.G().ui);this.Yl=this.qe||this.Ge;this.xp=i}this.G().transform(this.Qa,this.vb,this.ma)};w.gg=o();w.Zd=function(){this.Gf();this.j=new R(this.ma.x,this.ma.y,0,0);this.Yl&&this.gg()};
w.Hn=function(a){return a.Ab&&a.Ab.isEnabled()&&1==a.Ab.ub()};w.update=function(){this.Zd();ct.b.update.call(this)};w.ya=function(){this.Zd();ct.b.ya.call(this)};function dt(){In.call(this);this.Vn=n;this.Xy=i}x.e(dt,Xs);w=dt.prototype;w.Xy=l;w.bN=q("Xy");w.Vn=l;w.Iz=q("Vn");w.Zv=p("Vn");w.ml=l;w.K=l;w.V=l;w.hm=u(i);w.dm=l;w.tm=l;w.f=function(a){dt.b.f.call(this,a);this.eI(a)};w.eI=function(a){B(a,"close_contour")&&(this.Xy=I(a,"close_contour"))};w.Id=function(){return this.G().Fw?new et:new ft};
function gt(a){if(a.Iz()){a.dm=new P(Number.MAX_VALUE,Number.MAX_VALUE);a.tm=new P(-Number.MAX_VALUE,-Number.MAX_VALUE);for(var b,c=0,e=a.R.length;c<e;c++)b=a.R[c],b!=l&&!b.cb&&(b.Yv(i),b.$v(i),b.Gf(),b.Yl&&b.gg(),a.Dy(b),a.dm.x=Math.min(b.Fb.x,b.vc.x,a.dm.x),a.dm.y=Math.min(b.Fb.y,b.vc.y,a.dm.y),a.tm.x=Math.max(b.Fb.x,b.vc.x,a.tm.x),a.tm.y=Math.max(b.Fb.y,b.vc.y,a.tm.y))}}
w.Dy=function(a){for(var a=a.$,b=0,c=a.length;b<c;b++)this.dm.x=Math.min(a[b].hb(),this.dm.x),this.dm.y=Math.min(a[b].$a(),this.dm.y),this.tm.x=Math.max(a[b].hb(),this.tm.x),this.tm.y=Math.max(a[b].$a(),this.tm.y)};w.jm=function(){gt(this)};w.zg=function(){this.ml=this.G().Yd.O().K;gt(this)};function ht(){Jn.apply(this);this.Js=n}x.e(ht,Kn);w=ht.prototype;w.Js=l;w.f=function(a){ht.b.f.call(this,a);B(a,"shift_step_line")&&(this.Js=I(a,"shift_step_line"))};w.Sf=function(){var a=new dt;a.ag(2);return a};
w.Hb=function(){return new bt};w.Vf=u("line_series");w.Ib=u("line_style");function et(){ct.call(this)}x.e(et,ct);
et.prototype.gg=function(){this.$=[];var a=new Ys(this.G().va),b=new Ys(a.va),c=new P,e=this.G(),f=this.l.wd(),h=0==this.U?f:this.U;this.qe&&(this.l.da(h-1).Gf(),e.transform(this.l.da(h-1).hb(),this.l.da(h-1).$a(),c),c.x-=a.va.x,c.y-=a.va.y,a.Yf=Math.sqrt(c.x*c.x+c.y*c.y),h=vs(e).kb(this.l.da(h-1).hb())+e.wa,a.sc=h,e.transform(this.Qa,this.ca,c),c.x-=a.va.x,c.y-=a.va.y,b.Yf=Math.sqrt(c.x*c.x+c.y*c.y),h=vs(e).kb(this.Qa)+e.wa,b.sc=h,this.$.push(this.Nl(a,b)));this.$.push(b);h=this.U==f-1?-1:this.U;
this.Ge&&(this.l.da(h+1).Gf(),e.transform(this.l.da(h+1).hb(),this.l.da(h+1).$a(),c),c.x-=a.va.x,c.y-=a.va.y,a.Yf=Math.sqrt(c.x*c.x+c.y*c.y),f=vs(e).kb(this.l.da(h+1).hb())+e.wa,a.sc=f,e.transform(this.Qa,this.ca,c),c.x-=a.va.x,c.y-=a.va.y,b.Yf=Math.sqrt(c.x*c.x+c.y*c.y),c=vs(e).kb(this.Qa)+e.wa,b.sc=c,this.$.push(this.Nl(b,a)))};
et.prototype.Nl=function(a,b){var c=new Ys(this.G().va),e=b.sc;b.sc<a.sc&&(e+=360);if(e==a.sc)return c.sc=e,c.Yf=(a.yd()+b.yd())/2,c;c.sc=(e+a.sc)/2;c.Yf=(b.yd()-a.yd())*(c.sc-a.sc)/(e-a.sc)+a.yd();return c};et.prototype.LD=function(){var a,b,c;a=T(this.$[0].hb(),this.$[0].$a());b=1;for(c=this.$.length;b<c;b++)a+=it(this.$[b-1],this.$[b]);return a};
function it(a,b){var c=b.yd()-a.yd(),e=b.sc-a.sc+360-360*Math.floor((b.sc-a.sc+360)/360),f=new Ys(a.va),h,j="";f.sc=a.sc;for(h=Math.min(Math.max(500/Math.min(f.hb(),f.$a()),0.1),5);b.sc+360-f.sc-360*Math.floor((b.sc+360-f.sc)/360)>=h;)f.Yf=c*(f.sc-a.sc)/e+a.yd(),j+=V(f.hb(),f.$a()),f.sc+=h;return j+=V(b.hb(),b.$a())}function ft(){ct.call(this)}x.e(ft,ct);
ft.prototype.gg=function(){this.$=[];var a=this.l.wd(),b=0==this.U?a:this.U;this.qe&&(this.l.da(b-1).Gf(),this.$.push(this.Nl(this.l.da(b-1),this)));this.$.push(this.ma);b=this.U==a-1?-1:this.U;this.Ge&&(this.l.da(b+1).Gf(),this.$.push(this.Nl(this,this.l.da(b+1))))};
ft.prototype.Nl=function(a,b){var c=new P,e=new P;this.G().transform((a.hb()+b.hb())/2,Math.max(a.vb,b.vb),e);c.x=e.x;c.y=e.y;var e=c.x,f=c.y,h=a.ma.x,j=a.ma.y,k=b.ma.x,m=b.ma.y,s=this.G().va.x,t=this.G().va.y;if(h==k&&j==m)return c;if(k==h)return c.x=k,c.y=(c.x-s)/(e-s)*(f-t)+t,c;c.x=s==e?s:(j-t+s*(f-t)/(e-s)-h*(m-j)/(k-h))/((f-t)/(e-s)-(m-j)/(k-h));c.y=(c.x-h)/(k-h)*(m-j)+j;return c};
ft.prototype.LD=function(){var a,b;b=T(this.$[0].x,this.$[0].y);for(a=1;a<this.$.length;a++)b+=V(this.$[a].x,this.$[a].y);return b};function jt(){}x.e(jt,gf);jt.prototype.Ga=function(){this.q.setAttribute("d",this.Oa.g.LD())};function kt(){}x.e(kt,lf);w=kt.prototype;w.Lc=function(){var a=this.g.ea();a.Wn()&&(this.ow=new jt,this.ow.p(this.g,this));a.im()&&(this.gb=new hf,this.gb.p(this.g,this));a.Jh()&&(this.jb=new kf,this.jb.p(this.g,this))};w.ge=function(){var a=this.Ra();this.gb&&a.appendChild(this.gb.q);this.ow&&a.appendChild(this.ow.q);this.jb&&a.appendChild(this.jb.q)};
w.update=function(a,b){kt.b.update.call(this,a,b);this.ow&&this.ow.update(a,b)};w.createElement=function(){return this.g.o().ba()};w.Ga=function(a){a.setAttribute("d",this.g.XI())};function lt(a){ue.call(this,a,g)}x.e(lt,mf);lt.prototype.Ux=function(a){B(a,"line")&&(this.hc=new qd,this.hc.f(D(a,"line")))};function mt(){Z.call(this)}x.e(mt,nf);mt.prototype.Ub=function(){return lt};mt.prototype.dc=function(){return new kt};function nt(){dt.call(this)}x.e(nt,dt);nt.prototype.eI=o();nt.prototype.Id=function(){return this.G().Fw?new ot:new pt};function qt(){Jn.apply(this)}x.e(qt,Kn);qt.prototype.Sf=function(){var a=new nt;a.ag(6);return a};qt.prototype.Hb=function(){return new mt};qt.prototype.Vf=u("area_series");qt.prototype.Ib=u("area_style");function ot(){ct.call(this)}x.e(ot,et);w=ot.prototype;w.Mv=l;w.Nv=l;
w.gg=function(){var a=this.G(),b=new Ys(a.va),c=new Ys(a.va),e=new P,f=this.l.ml,h=0==this.U?this.l.wd():this.U;this.$=[];this.Mv=new Ys(a.va);this.Nv=new Ys(a.va);this.qe?(this.l.da(h-1).Gf(),a.transform(this.l.da(h-1).hb(),f,this.vc),a.transform(this.l.da(h-1).hb(),this.l.da(h-1).$a(),e),e.x-=b.va.x,e.y-=b.va.y,b.Yf=Math.sqrt(e.x*e.x+e.y*e.y),h=vs(a).kb(this.l.da(h-1).hb())+a.wa,b.sc=h,a.transform(this.Qa,this.ca,e),e.x-=b.va.x,e.y-=b.va.y,c.Yf=Math.sqrt(e.x*e.x+e.y*e.y),h=vs(a).kb(this.Qa)+a.wa,
c.sc=h,this.$.push(this.Nl(b,c))):a.transform(this.Qa,f,this.vc);this.Nv.Yf=Math.sqrt(Math.pow(this.vc.x-b.va.x,2)+Math.pow(this.vc.y-b.va.y,2));this.Nv.sc=vs(a).kb(this.vc.x)+a.wa;this.$.push(c);h=this.U==this.l.wd()-1?-1:this.U;this.Ge?(this.l.da(h+1).Gf(),a.transform(this.l.da(h+1).hb(),f,this.Fb),a.transform(this.l.da(h+1).hb(),this.l.da(h+1).$a(),e),e.x-=b.va.x,e.y-=b.va.y,b.Yf=Math.sqrt(e.x*e.x+e.y*e.y),f=vs(a).kb(this.l.da(h+1).hb())+a.wa,b.sc=f,a.transform(this.Qa,this.ca,e),e.x-=b.va.x,e.y-=
b.va.y,c.Yf=Math.sqrt(e.x*e.x+e.y*e.y),e=vs(a).kb(this.Qa)+a.wa,c.sc=e,this.$.push(this.Nl(c,b))):a.transform(this.Qa,f,this.Fb);this.Mv.Yf=Math.sqrt(Math.pow(this.Fb.x-b.va.x,2)+Math.pow(this.Fb.y-b.va.y,2));this.Mv.sc=vs(a).kb(this.Fb.x)+a.wa};w.Hn=function(a){return a&&a.Ze()};
w.XI=function(){var a,b,c;b=T(this.$[0].hb(),this.$[0].$a());a=1;for(c=this.$.length;a<c;a++)b+=it(this.$[a-1],this.$[a]);if(this.Od==l)b+=V(this.Mv.hb(),this.Mv.$a()),b+=V(this.Nv.hb(),this.Nv.$a());else{a=b;b=this.Od;c="";if(b.$)for(var e=b.$.length-1;1<=e;e--)c+=it(b.$[e],b.$[e-1]);b=a+c}return b};function pt(){ct.call(this)}x.e(pt,ft);
pt.prototype.gg=function(){var a=this.l.ml,b=this.G(),c=0==this.U?this.l.wd():this.U;this.$=[];this.qe?(this.l.da(c-1).Gf(),b.transform(this.l.da(c-1).hb(),a,this.vc),this.$.push(this.Nl(this.l.da(c-1),this))):b.transform(this.Qa,a,this.vc);this.$.push(this.ma);c=this.U==this.l.wd()-1?-1:this.U;this.Ge?(this.l.da(c+1).Gf(),b.transform(this.l.da(c+1).hb(),a,this.Fb),this.$.push(this.Nl(this,this.l.da(c+1)))):b.transform(this.Qa,a,this.Fb)};pt.prototype.Hn=function(a){return a&&a.Ze()};
pt.prototype.XI=function(){var a,b,c;b=T(this.$[0].x,this.$[0].y);a=1;for(c=this.$.length;a<c;a++)b+=V(this.$[a].x,this.$[a].y);if(this.Od){a=this.Od;c="";if(a.$)for(var e=a.$.length-1;0<=e;e--)c+=V(a.$[e].x,a.$[e].y);b+=c}else b+=V(this.Fb.x,this.Fb.y),b+=V(this.vc.x,this.vc.y);return b};function rt(){this.zd()}x.e(rt,Ws);w=rt.prototype;w.Uk=l;w.tE=o();w.xh=function(a,b){if(B(a,"style"))if(B(a,"marker"))E(a,"marker",D(a,"style"));else{var c={};E(c,"style",D(a,"style"));E(c,"#name#","marker");E(a,"marker",c)}this.Da.tl(D(a,"marker"))&&(this.Da=this.Da.copy(),this.Da.fi(D(a,"marker"),b),this.F=this.Da.ea());this.Da.xf(i)};w.Ft=function(){this.Uk=new P;this.G().transform(this.Qa,this.ca,this.Uk)};w.update=function(){this.Ft();this.Em()};w.ya=function(){this.Ft();this.Rv()};
w.Lf=function(a){a.x=this.Uk.x;a.y=this.Uk.y};function st(){In.call(this)}x.e(st,Xs);st.prototype.Id=function(){return new rt};st.prototype.xh=function(a,b){if(B(a,"style"))if(B(a,"marker"))E(a,"marker",D(a,"style"));else{var c={};E(c,"style",D(a,"style"));E(c,"#name#","marker");E(a,"marker",c)}this.Da.Ng(D(a,"marker"))&&(this.Da=this.Da.copy(),this.Da.gi(D(a,"marker"),b),this.F=this.Da.ea());this.Da.xf(i)};function tt(){Jn.apply(this)}x.e(tt,Kn);tt.prototype.Vf=u("marker_series");
tt.prototype.Sf=function(){return new st};tt.prototype.Ib=u(l);tt.prototype.xh=function(a,b){this.Da||(this.Da=this.Cl());a?this.Da.Ee(a,b):this.Da.lf(new Z);this.Da.xf(i);this.F=this.Da.ea()};function ut(){mk.call(this);this.Wu=n;this.Xu=i;this.wa=-90;this.sm=0.7;this.uL=[];this.fn=i;this.Fw=n;this.Gl=i;this.va=new P}x.e(ut,mk);w=ut.prototype;w.Gl=l;w.oc=l;function vs(a){return a.oc.O()}w.wa=l;w.Wu=l;w.Xu=l;w.sm=l;w.fn=l;w.Fw=l;w.Yd=l;w.uL=l;w.xo=l;w.TF=l;w.va=l;w.Fq=l;w.bq=l;w.us=l;w.bp=function(){return new ts};w.Xt=function(a){switch(a){default:case 2:return new ht;case 6:return new qt;case 18:return new tt}};
w.un=function(a){switch(a){case "line":return 2;case "area":return 6;case "marker":return 18;default:return this.jj}};w.f=function(a,b){if(B(a,"chart_settings")){var c=D(a,"chart_settings");B(c,"axes")&&(c=D(c,"axes"),this.Yd=new Ps(this),this.Yd.f(D(c,"y_axis")),this.oc=this.YH(),this.oc.f(D(c,"x_axis")))}ut.b.f.call(this,a,b);this.oc.Kf();var c=this.Yd,e=c.D.wa*Math.PI/180;c.fg=Math.round(1E15*Math.cos(e))/1E15;c.Hg=Math.round(1E15*Math.sin(e))/1E15;this.Yd.Kf()};
w.Wx=function(a){B(a,"start_angle")&&(this.wa=-90+J(a,"start_angle"));B(a,"fixed_radius")&&(this.Wu=I(a,"fixed_radius"));this.Wu&&B(a,"radius")&&(this.sm=(this.Xu=Db(D(a,"radius")))?Eb(D(a,"radius")):J(a,"radius"));B(a,"use_polar_coords")&&(this.Fw=I(a,"use_polar_coords"));B(a,"display_data_mode")&&(this.Gl="aboveaxes"==O(a,"display_data_mode"))};function vt(a,b){B(b,"background")&&(a.bq=new us(a),a.bq.f(D(b,"background")))}w.Kf=o();w.YH=function(){return new Us(this)};
w.nd=function(a){var b=this.oc.O();if(isNaN(b.qc)||a.hb()<b.qc){var c=a.hb();b.qc=c}if(isNaN(b.pc)||a.hb()>b.pc)a=a.hb(),b.pc=a};w.kC=function(a){var b=this.Yd.O();if(isNaN(b.qc)||a<b.qc)b.qc=a;if(isNaN(b.pc)||a>b.pc)b.pc=a};
w.p=function(a,b,c){ut.b.p.call(this,a,b,c);this.bq&&this.bq.isEnabled()&&(this.us=this.bq.p(this.o()),this.Bt.Z(this.us));this.xo=new X(this.o());var b=new X(this.o()),c=new X(this.o()),e=new X(this.o()),f=new X(this.o()),h=new X(this.o());this.xo.Z(f);this.xo.Z(h);this.Bt.Z(this.xo);this.Gl?(this.xo.Z(b),this.xo.Z(e),this.xo.Z(c)):(this.uo.Z(b),this.uo.Z(e),this.uo.Z(c));this.TF=[e,c,f,h];this.oc.rA(f,h,e,c,b);this.oc.p(this.o());this.Yd.rA(f,h,e,c,b);this.Yd.p(this.o());this.Fq=this.Nq(a);this.oc.Zd(this.Fq);
this.Yd.Zd(this.Fq);this.kx();bd(this.v,new R(0,0,this.j.width,this.j.height));return this.v};w.kx=function(){this.va.x=this.j.width/2;this.va.y=this.j.height/2};
w.Nq=function(a){a=a.la();a.x=0;a.y=0;var b=a.width/2,c=a.height/2,e=Math.min(b,c),f=e;if(this.Wu)return f=this.Xu?e*this.sm:this.sm,wt(a,e-f),a;if(!this.oc)return a;var h=this.wa,j=0;Ds(this.oc)&&this.oc.ff.tg()&&(j=this.oc.ff.rb(),f=Math.min(f,e-j));if(this.oc.yn()){var k=this.oc.B;if(!k.tf()){var m=this.oc.O(),s=k.Tj?0:1,t=m.mb,v,y;k.Uj||t--;for("radar"==this.pm&&t--;s<=t;s++)k.Sc&&k.Sc(-(m.bb(s)+this.wa)),k.Kb(this.o(),s),v=k.k(),y=m.xb(m.bb(s))+h,f=Math.min(f,(b-v.width-k.Y()-j)/Math.abs(Ec(1,
y)),(c-v.height-k.Y()-j)/Math.abs(W(1,y)))}}Ks(this.oc)&&this.oc.Ok.tg()&&(f=Math.min(f,e-this.oc.Ok.rb()));e>f&&wt(a,e-f);return a};function wt(a,b){a.x+=b;a.width-=2*b;a.y+=b;a.height-=2*b}w.transform=function(a,b,c){a=this.oc.O().kb(a)+this.wa;b=this.Yd.O().kb(b);c.x=Ec(b,a)+this.va.x;c.y=W(b,a)+this.va.y};w.ga=function(){ut.b.ga.call(this);this.us&&this.bq.ga(this.us,this.Nq(this.j),l);this.Yd.ga();this.oc.ga()};
w.dj=function(a){ut.b.dj.call(this,a);this.Fq=this.Nq(a);this.oc.Zd(this.Fq);this.Yd.Zd(this.Fq);this.kx()};w.jn=function(){ut.b.jn.call(this);this.us&&this.bq.ya(this.us,this.Nq(this.j));for(var a=0,b=this.TF.length;a<b;a++)this.TF[a].clear();this.Yd.ya();this.oc.ya();bd(this.v,new R(0,0,this.j.width,this.j.height))};function Ie(){ut.call(this);this.Fw=i}x.e(Ie,ut);Ie.prototype.wk=function(a){Ie.b.wk.call(this,a);B(a,"polar")&&(a=D(a,"polar"),vt(this,a),this.Wx(a))};
function Je(){ut.call(this);this.fn=n}x.e(Je,ut);Je.prototype.YH=function(){return new Vs(this)};Je.prototype.Wx=function(a){Je.b.Wx.call(this,a);B(a,"drawing_style")&&(this.fn="circle"==O(a,"drawing_style"))};Je.prototype.wk=function(a){Je.b.wk.call(this,a);B(a,"radar")&&(a=D(a,"radar"),vt(this,a),this.Wx(a))};
Je.prototype.Nq=function(a){if(this.fn)return Je.b.Nq.call(this,a);var a=a.la(),b=a.width/2,c=a.height/2,e=Math.min(b,c),f;a.x=0;a.y=0;if(this.Wu)return f=this.Xu?e*this.sm:this.sm,wt(a,e-f),a;if(!this.oc)return a;f=Number.MAX_VALUE;var h=this.wa,j=vs(this).mb,k=0,m,s,t;Ds(this.oc)&&this.oc.ff.tg()&&(k=this.oc.ff.rb());for(t=0;t<j;t++)s=vs(this).xb(vs(this).bb(t))+h,m=Zs(b,Math.abs(Ec(1,s))),f=Math.min(f,m-k),m=Zs(c,Math.abs(W(1,s))),f=Math.min(f,m-k);f=Math.max(f,e);if(this.oc.yn()&&!this.oc.B.tf()){var j=
j-(this.oc.B.Uj?0:1),v=this.oc.B,y;for(t=this.oc.B.Tj?0:1;t<j;t++)v.Kb(this.o(),t),y=v.k(),s=vs(this).xb(vs(this).bb(t))+h,m=Zs(b-y.width-v.Y()-k,Math.abs(Ec(1,s))),f=Math.min(f,m),m=Zs(c-y.height-v.Y()-k,Math.abs(W(1,s))),f=Math.min(f,m)}this.oc.Ok&&this.oc.NM.tg()&&(f=Math.min(f,e-this.oc.Ok.rb()));f=Math.min(f,e-k);e>f&&wt(a,e-f);return a};function xt(a){switch(a){default:case "near":return 0;case "center":return 1;case "far":return 2;case "spread":return 3}}function yt(a){switch(a){default:case "right":return 1;case "left":return 0;case "top":return 2;case "bottom":return 3;case "float":return 4;case "fixed":return 5}}function zt(){this.Fa=new jd(0)}w=zt.prototype;w.Fa=l;w.xa=1;w.qb=q("xa");w.ra=0;w.Su=n;w.nH=0;w.Ef=q("nH");w.Ia=l;w.Sj=p("Ia");w.$l=n;w.wj=n;w.ab=l;w.wm=p("ab");w.Zl=n;w.zi=n;w.ti=0;w.Yr=n;w.JF=l;w.Wi=0;w.Zr=n;
w.KF=l;w.ns=l;w.ks=l;w.dp=-1;w.Ll=q("dp");w.zq=-1;w.Pl=q("zq");w.oD=NaN;w.pD=NaN;w.Tc=i;w.BE=n;
w.f=function(a){B(a,"position")&&(this.xa=yt(O(a,"position")));B(a,"align")&&(this.ra=xt(O(a,"align")));B(a,"inside_dataplot")&&(this.Su=I(a,"inside_dataplot"));B(a,"anchor")&&(this.nH=id(O(a,"anchor")));var b;B(a,"width")&&(b=D(a,"width"),this.Ia=(this.$l=Db(b))?Eb(b):H(b),this.wj=i);B(a,"height")&&(b=D(a,"height"),this.ab=(this.Zl=Db(b))?Eb(b):H(b),this.zi=i);B(a,"horizontal_padding")&&(b=D(a,"horizontal_padding"),this.ti=(this.Yr=Db(b))?Eb(b):H(b));B(a,"vertical_padding")&&(b=D(a,"vertical_padding"),
this.Wi=(this.Zr=Db(b))?Eb(b):H(b));B(a,"halign")&&(this.dp=ed(O(a,"halign")));B(a,"valign")&&(this.zq=hd(O(a,"valign")));if(this.Su)this.BE=this.Tc=i;else if(B(a,"align_by"))this.Tc="chart"!=O(a,"align_by"),this.BE=i;else if(4==this.xa||5==this.xa)this.Tc=n;if(4!=this.xa&&5!=this.xa){B(a,"padding")||E(a,"padding",10);b=J(a,"padding");if(this.Su)switch(this.xa){case 0:this.Fa.kh(b);break;case 1:this.Fa.lh(b);break;case 2:this.Fa.mh(b);break;case 3:this.margin.jh(b)}else switch(this.xa){case 0:this.Fa.lh(b);
break;case 1:this.Fa.kh(b);break;case 2:this.Fa.jh(b);break;case 3:this.Fa.mh(b)}B(a,"margin")&&this.Fa.f(B(a,"margin"))}};
w.Dc=function(a,b,c){a.width=l;a.height=l;c=this.Tc?c:b;if(4!=this.xa&&5!=this.xa&&!this.Su)switch(this.xa){case 0:case 1:this.Ia&&(a.width=this.$l?b.width*this.Ia:this.Ia);this.ab&&(a.height=this.Zl?c.height*this.ab:this.ab);break;case 2:case 3:if(this.Ia&&(a.width=this.$l?c.width*this.Ia:this.Ia),this.ab)a.height=this.Zl?b.height*this.ab:this.ab}else if(this.Ia&&(a.width=this.$l?c.width*this.Ia:this.Ia),this.ab)a.height=this.Zl?c.height*this.ab:this.ab;this.JF=this.Yr?c.width*this.ti:this.ti;this.KF=
this.Zr?c.height*this.Wi:this.Wi};function At(){this.Pa=new zt;this.j=new R;this.Gb=new R;this.eD=new la}w=At.prototype;w.j=l;w.k=q("j");w.Gb=l;w.N=l;w.Gc=l;w.Pa=l;w.v=l;w.Ra=q("v");w.o=function(){return this.D.o()};w.J=l;w.D=l;w.Kv=l;w.p=function(a){this.v=new X(a);this.N&&this.N.isEnabled()&&(this.Gc=this.N.p(a),this.v.Z(this.Gc));x.w.Ua(this.v.q,z.ro,this.EN,n,this);return this.v};w.nE=function(a,b,c){this.J=a;this.D=b;this.Kv=c;this.am=new cd(this.D.o())};
w.f=function(a){this.Pa.f(a);B(a,"background")&&(a=D(a,"background"),K(a)&&(this.N=new yd,this.N.f(a)))};w.Dc=function(a,b){this.Pa.Dc(this.j,a,b);this.Al();this.fo()};function Bt(a){var b=a.j.width;Ct(a)&&(b-=Dt(a));return b}w.Zo=function(){var a=this.j.height;Ct(this)&&(a-=Et(this));return a};w.xy=function(){var a=this.Pa.ks;Ct(this)&&(a-=Et(this));return a};
w.Al=function(){this.j.width+=Ft(this);this.j.height+=Gt(this);if(Ct(this)&&(this.Pa.wj||(this.j.width+=Dt(this)),!this.Pa.zi))this.j.height+=Et(this)};w.fo=function(){this.Gb.x=0;this.Gb.y=0;this.Gb.width=this.j.width-Ft(this);this.Gb.height=this.j.height-Gt(this);Ct(this)&&kd(this.N.Fa,this.Gb)};w.ga=function(){Ht(this);this.OC()};function Ht(a){a.v.Pd(a.j.x+a.Pa.Fa.pb());a.v.jd(a.j.y+a.Pa.Fa.lb())}w.OC=function(){this.Gc&&this.N.ga(this.Gc,this.lg())};w.eD=l;
w.addEventListener=function(a,b,c,e){this.eD.addEventListener(z.ro,b,c,e)};w.EN=function(a){a.target=this;this.eD.dispatchEvent(a)};function Ct(a){return a.N&&a.N.Fa}function Dt(a){return a.N.Fa.pb()+a.N.Fa.Ja()}function Et(a){return a.N.Fa.lb()+a.N.Fa.ja()}function Ft(a){return a.Pa.Fa.pb()+a.Pa.Fa.Ja()}function Gt(a){return a.Pa.Fa.lb()+a.Pa.Fa.ja()}w.lg=function(){return new R(0,0,this.j.width-Ft(this),this.j.height-Gt(this))};w.ya=function(){Ht(this);this.N&&this.N.ya(this.Gc,this.lg())};
function It(){ee.apply(this)}x.e(It,ee);w=It.prototype;w.kd=l;w.rd=q("kd");w.bK=l;w.bo=l;w.zs=l;w.f=function(a){a&&(It.b.f.call(this,D(a,"title")),B(a,"title_separator")&&(this.bo=new qd,this.bo.f(D(a,"title_separator"))))};w.Kb=function(a,b){It.b.Kb.call(this,a,this.jc.ia(b));this.kd=this.j.height+this.ua;this.bK=this.j.width;this.bo&&(this.kd+=this.bo.za())};
w.Zb=function(a,b){It.b.Zb.call(this,a);var c=new X(a),e=this.ua,f;switch(this.ra){case 0:f=b.x;break;case 1:f=b.x+(b.width-this.j.width)/2;break;case 2:f=b.Ja()-this.j.width}this.v.Pd(f);this.v.jd(e);c.Z(this.v);if(this.bo){e+=this.j.height+this.bo.za()/2+2;this.zs=new R(b.x,e,b.width,this.bo.za()/2);e=Y(this.bo,a,this.zs);f=a.ba(i);var h=T(this.zs.pb(),this.zs.y),h=h+V(this.zs.Ja(),this.zs.y);f.setAttribute("d",h);f.setAttribute("style",e);c.appendChild(f)}return c};
function Jt(){At.apply(this)}x.e(Jt,At);w=Jt.prototype;w.Wa=l;w.qh=l;w.rF=l;w.f=function(a,b){Jt.b.f.call(this,a,b);L(a,"title")&&(this.Wa=new It,this.Wa.f(a),this.Wa.Kb(this.D.o(),this.D))};w.xy=function(){var a=Jt.b.xy.call(this);this.Wa&&(a-=this.Wa.rd());return a};w.Zo=function(){var a=Jt.b.Zo.call(this);this.Wa&&(a-=this.Wa.rd());return a};w.Al=function(){if(this.Wa&&(this.Pa.wj||(this.j.width=Math.max(this.j.width,this.Wa.bK)),!this.Pa.zi))this.j.height+=this.Wa.rd();Jt.b.Al.call(this)};
w.fo=function(){Jt.b.fo.call(this);this.rF=this.Gb.la();if(this.Wa){var a=this.Wa,b=this.Gb;b.y+=a.kd;b.height-=a.kd}};w.ga=function(){Jt.b.ga.call(this);this.Wa&&(this.qh=this.Wa.Zb(this.v.o(),this.rF),this.v.Z(this.qh))};w.ya=function(){Jt.b.ya.call(this);this.Wa&&(this.v.removeChild(this.qh),this.qh=this.Wa.Zb(this.v.o(),this.rF),this.v.Z(this.qh))};function Kt(){}Kt.prototype.Ae=function(){x.qa()};Kt.prototype.oi=function(){x.qa()};function Lt(){this.controls=[]}x.e(Lt,Kt);Lt.prototype.controls=l;Lt.prototype.Ae=function(a){this.controls.push(a)};Lt.prototype.oi=function(a,b){for(var c=this.controls.length,e=0;e<c;e++)this.controls[e].Pa.ns=b.width,this.controls[e].Pa.ks=b.height,this.controls[e].Dc(b,a),Mt(this.controls[e],this.controls[e].Pa.Tc?a:b);return i};
function Mt(a,b){var c=a.Pa,e,f,h=new P(b.x,b.y);switch(c.Ef()){case 0:e=2;f=1;h.x+=b.width/2;h.y+=b.height/2;break;case 7:e=2;f=0;h.x+=b.width/2;h.y+=b.height;break;case 1:f=e=1;h.y+=b.height/2;break;case 5:e=0;f=1;h.x+=b.width;h.y+=b.height/2;break;case 3:f=e=2;h.x+=b.width/2;break;case 8:e=1;f=0;h.y+=b.height;break;case 2:e=1;f=2;break;case 6:f=e=0;h.x+=b.width;h.y+=b.height;break;case 4:e=0,f=2,h.x+=b.width}e=-1==c.Ll()?e:c.Ll();f=-1==c.Pl()?f:c.Pl();var j=a.k().width,k=a.k().height;switch(e){case 0:h.x-=
j+c.JF;break;case 2:h.x-=j/2;break;case 1:h.x+=c.JF}switch(f){case 0:h.y-=k+c.KF;break;case 1:h.y-=k/2;break;case 2:h.y+=c.KF}a.k().x=h.x;a.k().y=h.y}function Nt(){Lt.apply(this)}x.e(Nt,Lt);function Ot(){Lt.apply(this)}x.e(Ot,Lt);w=Ot.prototype;w.DJ=n;w.J=l;w.ig=l;w.tF=l;w.Jf=l;w.Ae=function(a){this.J=a.Kv;a.addEventListener(z.ro,this.qN,n,this);Ot.b.Ae.call(this,a)};
w.oi=function(a,b){if(!this.J)return i;if(this.DJ)for(var c=this.J.k(),e=this.controls.length,f=0;f<e;f++)this.controls[f].Pa.ns=b.width,this.controls[f].Pa.ks=b.height,this.controls[f].Dc(b,a),isNaN(this.controls[f].Pa.oD&&!isNaN(this.controls[f].Pa.pD))?Mt(this.controls[f],this.controls[f].Pa.Tc?a:b):(this.controls[f].k().x=this.controls[f].Pa.oD*c.width,this.controls[f].k().y=this.controls[f].Pa.pD*c.height);else Ot.b.oi.call(this,a,b),this.DJ=i;return i};
w.qN=function(a){this.ig=a.target;this.tF=a.clientX;this.Jf=a.clientY;x.w.Ua(this.ig.o().Uc(),z.$h,this.fK,n,this);x.w.Ua(this.ig.o().Uc(),z.Cq,this.dL,n,this)};w.fK=function(a){if(this.ig){var b=this.J.k(),c=this.ig.k(),a=new P(a.clientX-this.tF+c.x,a.clientY-this.Jf+c.y);a.x<b.pb()?a.x=b.pb():a.x+c.width>b.Ja()&&(a.x=b.Ja()-c.width);a.y<b.lb()?a.y=b.lb():a.y+c.height>b.ja()&&(a.y=b.ja()-c.height);this.ig.Ra().eb(a.x,a.y)}};
w.dL=function(a){x.w.bc(this.ig.o().Uc(),z.$h,this.fK,n,this);x.w.bc(this.ig.o().Uc(),z.Cq,this.dL,n,this);this.tF=a.clientX;this.Jf=a.clientY;var a=this.ig.Ra().hb(),b=this.ig.Ra().$a();this.ig.k().x=a;this.ig.k().y=b;this.ig.Pa.oD=a/this.J.k().width;this.ig.Pa.pD=b/this.J.k().height;this.ig=l};function Pt(){this.controls=[];this.Tc=i;this.CE=n}Pt.prototype.controls=l;Pt.prototype.Tc=l;Pt.prototype.CE=l;Pt.prototype.Ae=function(a){a.Pa.Tc||(this.Tc=n);this.controls.push(a)};function Qt(a){if(!a.CE&&!a.Tc){a.CE=i;for(var b=a.controls.length,c=0;c<b;c++)a.controls[c].Pa.Tc=n}}function Rt(a){this.Wf=a;this.Un=new Pt;this.wl=new Pt;this.mn=new Pt}w=Rt.prototype;w.Un=l;w.wl=l;w.mn=l;w.Wf=l;w.GJ=q("Wf");w.Hd=l;
w.Ae=function(a){switch(a.Pa.ra){case 0:this.Un.Ae(a);break;case 1:this.wl.Ae(a);break;case 2:this.mn.Ae(a);break;case 3:this.GG(a.Pa),this.wl.Ae(a)}};w.GG=function(){x.qa()};w.nr=function(){x.qa()};w.tu=function(){x.qa()};function St(a,b,c){Qt(a.Un);Qt(a.wl);Qt(a.mn);var e=a.eG(b,c),f=a.$F(b,c),b=a.aG(b,c);a.nr(a.Un.controls,e);a.nr(a.mn.controls,b);a.tu(a.wl.controls,f);return Math.max(e,f,b)}w.eG=u(0);w.$F=u(0);w.aG=u(0);w.$k=function(){x.qa()};function Tt(a){Rt.call(this,a)}x.e(Tt,Rt);w=Tt.prototype;
w.nr=function(a,b){for(var c=0;c<a.length;c++){var e=a[c];this.Wf?e.k().y=this.Hd.ja()-b:e.k().y=this.Hd.lb()+b-e.k().height}};w.tu=function(a,b){for(var c=this.Wf?this.Hd.ja()-b:this.Hd.lb()+b,e=0;e<a.length;e++){var f=a[e];this.Wf?(f.k().y=c,c+=f.k().height):(f.k().y=c-f.k().height,c-=f.k().height)}};w.GG=function(a){a.wj=i;a.$l=i;a.Sj(1)};
w.eG=function(a,b){for(var c=0,e=(this.Un.Tc?b:a).x,f=this.Un.controls,h=0;h<f.length;h++){var j=f[h];j.k().x=e;this.$k(j.Pa,a,b);j.Dc(a,b);e+=j.k().width;c=Math.max(c,j.k().height)}return c};w.$F=function(a,b){for(var c=0,e=this.wl.Tc?b:a,e=e.x+e.width/2,f=this.wl.controls,h=0;h<f.length;h++){var j=f[h];this.$k(j.Pa,a,b);j.Dc(a,b);j.k().x=e-j.k().width/2;c+=j.k().height}return c};
w.aG=function(a,b){for(var c=0,e=(this.mn.Tc?b:a).Ja(),f=this.mn.controls,h=0;h<f.length;h++){var j=f[h];this.$k(j.Pa,a,b);j.Dc(a,b);j.k().x=e-j.k().width;e-=j.k().width;c=Math.max(c,j.k().height)}return c};w.$k=function(a,b,c){a.ns=a.Tc?c.width:b.width;a.ks=0.5*b.height};function Ut(a){Rt.call(this,a)}x.e(Ut,Tt);Ut.prototype.nr=function(a){for(var b=0;b<a.length;b++){var c=a[b];this.Wf?c.k().y=this.Hd.ja()-c.k().height:c.k().y=this.Hd.lb()}};
Ut.prototype.tu=function(a){for(var b=this.Wf?this.Hd.ja():this.Hd.lb(),c=0;c<a.length;c++){var e=a[c];this.Wf?(e.k().y=b-e.k().height,b-=e.k().height):(e.k().y=b,b+=e.k().height)}};Ut.prototype.$k=function(a,b,c){a.ns=a.Tc?c.width:b.width;a.ks=b.height};function Vt(a){Rt.call(this,a)}x.e(Vt,Rt);w=Vt.prototype;w.nr=function(a,b){for(var c=0;c<a.length;c++){var e=a[c];this.Wf?e.k().x=this.Hd.Ja()-b:e.k().x=this.Hd.pb()+b-e.k().width}};
w.tu=function(a,b){for(var c=this.Wf?this.Hd.Ja()-b:this.Hd.pb()+b,e=0;e<a.length;e++){var f=a[e];this.Wf?(f.k().x=c,c+=f.k().width):(f.k().x=c-f.k().width,c-=f.k().width)}};w.GG=function(a){a.zi=i;a.Zl=i;a.wm(1)};w.eG=function(a,b){var c=0,e=(this.Un.Tc?b:a).lb(),f=this.Un.controls,h,j;for(h=0;h<f.length;h++)j=f[h],j.k().y=e,this.$k(j.Pa,a,b),j.Dc(a,b),e+=j.k().height,c=Math.max(c,j.k().width);return c};
w.$F=function(a,b){for(var c=0,e=this.wl.Tc?b:a,e=e.y+e.height/2,f=this.wl.controls,h=0;h<f.length;h++){var j=f[h];this.$k(j.Pa,a,b);j.Dc(a,b);j.k().y=e-j.k().height/2;c+=j.k().width}return c};w.aG=function(a,b){var c=0,e=(this.mn.Tc?b:a).ja(),f=this.mn.controls,h,j;for(h=0;h<f.length;h++)j=f[h],this.$k(j.Pa,a,b),j.Dc(a,b),j.k().y=e-j.k().height,e-=j.k().height,c=Math.max(c,j.k().width);return c};w.$k=function(a,b,c){a.ks=a.Tc?c.height:b.height;a.ns=0.5*b.width};function Wt(a){Rt.call(this,a)}
x.e(Wt,Vt);Wt.prototype.nr=function(a){for(var b=0;b<a.length;b++){var c=a[b];this.Wf?c.k().x=this.Hd.Ja()-c.k().width:c.k().x=this.Hd.pb()}};Wt.prototype.tu=function(a){for(var b=this.GJ?this.Hd.Ja():this.Hd.pb(),c=0;c<a.length;c++){var e=a[c];this.Wf?(e.k().x=b-e.k().width,b-=e.k().width):(e.k().x=b,b+=e.k().width)}};Wt.prototype.$k=function(a,b,c){a.maxHeight=a.Tc?c.height:b.height;a.maxWidth=b.width};function Xt(){}x.e(Xt,Kt);w=Xt.prototype;w.Ep=l;w.fq=l;w.yq=l;w.Do=l;
w.Ae=function(a){switch(a.Pa.qb()){case 0:this.Ep.Ae(a);break;case 1:this.fq.Ae(a);break;case 2:this.yq.Ae(a);break;case 3:this.Do.Ae(a)}};function Yt(){this.Ep=new Wt(n);this.fq=new Wt(i);this.yq=new Ut(n);this.Do=new Ut(i)}x.e(Yt,Xt);Yt.prototype.oi=function(a,b){this.Ep.Hd=a;this.fq.Hd=a;this.yq.Hd=a;this.Do.Hd=a;St(this.Ep,b,a);St(this.fq,b,a);St(this.yq,b,a);St(this.Do,b,a);return i};
function Zt(){this.DC=this.GC=this.FC=this.EC=i;this.Ep=new Vt(n);this.fq=new Vt(i);this.yq=new Tt(n);this.Do=new Tt(i)}x.e(Zt,Xt);w=Zt.prototype;w.EC=l;w.FC=l;w.GC=l;w.DC=l;w.Fa=l;w.Ae=function(a){if(!a.Pa.BE)switch(a.Pa.qb()){case 0:a.Pa.Tc=this.EC;break;case 1:a.Pa.Tc=this.FC;break;case 2:a.Pa.Tc=this.GC;break;case 3:a.Pa.Tc=this.DC}Zt.b.Ae.call(this,a)};
w.oi=function(a,b){var c=new jd;this.Es(c,a,b);var e=c.pb()==this.Fa.pb()&&c.Ja()==this.Fa.Ja()&&c.lb()==this.Fa.lb()&&c.ja()==this.Fa.ja();this.Fa=c;return e};w.Sh=function(a,b){this.Fa=new jd;this.Es(this.Fa,a,b);this.Lx(a)};w.Lx=function(a){kd(this.Fa,a)};w.Es=function(a,b,c){this.Ep.Hd=c;this.fq.Hd=c;this.yq.Hd=c;this.Do.Hd=c;a.mh(St(this.yq,c,b));a.jh(St(this.Do,c,b));a.kh(St(this.Ep,c,b));a.lh(St(this.fq,c,b))};function Yj(a,b,c,e,f){a&&(this.La=a);b&&(this.$e=b);c!=l&&c!=g&&(this.te=c);e&&(this.kJ=e);f&&(this.lo=f)}w=Yj.prototype;w.La=l;w.oa=q("La");w.Ki=p("La");w.$e=l;w.te=l;w.ng=q("te");w.kJ=l;w.Qy=q("kJ");w.lo=l;w.eo=0;w.un=q("eo");function nk(a){this.D=a}nk.prototype.D=l;
function $t(a,b,c){for(var b=B(b,"series")?G(b,"series"):l,e=ok(a.D),f=0;f<e;f++){var h=pk(a.D,f);if(!b||h.getName()==b){var j;j=h.Da.ea().ta.mu?-1==h.Da.ub()?h.ng():h.Da.ub():h.Da.ea().ta.ub();j=new Yj(h.oa(),h.$e,j,h.Db().Qy(),h);j.eo=h.ub();Xj(c,j)}}}function au(a,b,c){for(var b=B(b,"threshold")?N(b,"threshold"):l,a=a.D.Ui.FF,e=a.length,f=0;f<e;f++){var h=a[f];(!b||b==h.getName().toLowerCase())&&h.getData(c)}}function bu(){this.te=tf}w=bu.prototype;w.Ia=20;w.Ka=q("Ia");w.ab=10;w.wb=q("ab");
w.La=l;w.oa=q("La");w.tz=n;w.te=l;w.ng=q("te");w.kv=l;w.lv=l;w.f=function(a){if(a&&(B(a,"width")&&(this.Ia=D(a,"width")),B(a,"height")&&(this.ab=D(a,"height")),B(a,"color")&&"%color"!=G(a,"color")&&(this.color=Lb(a)),B(a,"marker")))if(a=D(a,"marker"),B(a,"enabled")&&(this.tz=I(a,"enabled")),B(a,"type")&&"%markertype"!=N(a,"type")&&(this.te=vf(O(a,"type"))),B(a,"color")&&(this.kv=Lb(a)),B(a,"size"))this.lv=J(a,"size")};
w.copy=function(a){a&&(a=new bu);a.Ia=this.Ia;a.ab=this.ab;a.tz=this.tz;a.te=this.te;a.lv=this.lv;a.kv=this.kv;a.La=this.La;return a};function cu(a){this.te=tf;this.D=a;this.kz=n;this.$y=i}x.e(cu,bu);w=cu.prototype;w.kz=l;w.D=l;w.$y=l;w.eo=l;w.un=q("eo");w.f=function(a){cu.b.f.call(this,a);B(a,"type")&&(this.kz="box"==O(a,"type"));B(a,"series_type")&&(a=O(a,"series_type"),"%SeriesType"!=a&&(this.$y=n),this.eo=a)};
w.copy=function(a){a||(a=new cu(this.D));cu.b.copy.call(this,a);a.kz=this.kz;a.$y=this.$y;a.eo=this.eo;return a};function du(){}x.e(du,qd);du.prototype.ua=1;du.prototype.Y=q("ua");du.prototype.f=function(a){du.b.f.call(this,a);B(a,"padding")&&(this.ua=J(a,"padding"))};function eu(a){X.call(this,a);this.Gb=new R}x.e(eu,X);eu.prototype.Gb=l;eu.prototype.lo=l;function fu(a){this.D=a;this.pr=this.qr=NaN}w=fu.prototype;w.bg=l;w.ep=l;w.Fp=l;w.gv=l;w.Lr=l;w.fA=l;w.xs=l;w.Kr=l;w.Ld=l;w.D=l;w.ym=p("D");
w.qr=l;w.pr=l;w.f=function(a){B(a,"format")?gu(this,G(a,"format")):B(a,"text")&&gu(this,G(a,"text"));this.Ld&&(this.Ld=this.Ld.copy(),B(a,"icon")&&this.Ld.f(D(a,"icon")))};function hu(a){var b="fill:"+lb(a.oa())+";fill-opacity:1; stroke-thickness:1; stroke-opacity:1;stroke:",a="darkcolor("+lb(a.oa())+")",a=pb(a,g);return b+a}
function gu(a,b){a.ep=n;a.Lr=n;var c=b.indexOf("{%Icon}");a.Kr=-1!=c;if(a.Kr){if(0<c&&(a.ep=i,a.bF=b.substring(0,c),a.gv=new Ld(a.bF)),c<b.length-7)a.Lr=i,a.KN=b.substring(c+7),a.fA=new Ld(a.KN)}else a.ep=i,a.bF=b,a.gv=new Ld(a.bF)}w.copy=function(a){a||(a=new fu);a.Ld=this.Ld;a.Kr=this.Kr;a.ep=this.ep;a.gv=this.gv;a.Fp=this.Fp;a.Lr=this.Lr;a.xs=this.xs;a.fA=this.fA;a.bg=this.bg;a.D=this.D;a.qr=this.qr;a.pr=this.pr;return a};
function iu(){At.apply(this);this.jA=this.Cx=2;this.gn=this.ao=0;this.wu="{%Icon} {%Name}";this.gj=this.Cx;this.Ji=this.jA}x.e(iu,Jt);w=iu.prototype;w.Cx=l;w.jA=l;w.gn=l;w.$z=l;w.wu=l;w.Bf=l;w.Me=l;w.gj=l;w.Ji=l;w.vs=l;w.am=l;w.co=l;w.hv=l;w.lJ=l;w.nl=l;w.BJ=n;w.Nx=l;w.Lu=l;w.du=l;w.ao=l;
w.f=function(a,b){iu.b.f.call(this,a,b);a=Mb(a);B(a,"width")&&delete a.width;B(a,"height")&&delete a.height;B(a,"columns_padding")&&(this.Cx=J(a,"columns_padding"));B(a,"rows_padding")&&(this.jA=J(a,"rows_padding"));B(a,"elements_align")&&(this.gn=ed(O(a,"elements_align")));B(a,"format")&&(this.wu=G(a,"format"));L(a,"columns_separator")&&(this.Bf=new du,this.Bf.f(D(a,"columns_separator")));L(a,"rows_separator")&&(this.Me=new du,this.Me.f(D(a,"rows_separator")));B(a,"ignore_auto_item")&&(this.lJ=I(a,
"ignore_auto_item"));var c=a;this.Lu=[];this.hv=[];var e=this.du=new fu(this.D);e.bg=new ae;e.bg.f(c);e.bg.N=l;e.f(c);if(e.D&&(e.Ld=new cu(e.D),B(c,"icon")&&e.Ld.f(D(c,"icon")),B(c,"fixed_item_width")&&(e.qr=J(c,"fixed_item_width")),B(c,"fixed_item_height")))e.pr=J(c,"fixed_item_height");this.lJ||(this.hv.push({"#name#":"item","#children#":[],source:"auto"}),this.Lu.push(this.du));if(B(c,"items"))for(var c=F(D(c,"items"),"item"),e=c.length,f=0;f<e;f++){var h=c[f],j=this.du.copy();j.f(h);this.Lu.push(j);
this.hv.push(h)}this.gj=this.Cx;this.Ji=this.jA;this.Bf&&(this.gj+=this.Bf.Y());this.Me&&(this.Ji+=this.Me.Y());this.$z=this.gn};w.p=function(a){iu.b.p.call(this,a);this.co=new X(this.am.o());this.am.Z(this.co);return this.v};
w.Sy=function(){if(!this.BJ){this.nl=[];for(var a=this.hv.length,b=0;b<a;b++){this.Nx=this.Lu[b];this.Nx.ym(this.D);var c=this.hv[b];if(B(c,"source")){var e=this.D.VJ,f=c;switch(O(c,"source")){case "series":$t(e,f,this);break;case "points":c=B(f,"name")?G(f,"name"):l;f=B(f,"series")?G(f,"series"):l;for(e.D.oA=0;e.D.oA<e.D.l.length;){var h;h=e.D;var j=h.l[h.oA];h.oA++;h=j;if(!(f&&h.getName()!=f))for(var j=h.R.length,k=0;k<j;k++){var m=h.da(k);if(m&&(!c||c==m.getName())){m.Vg()&&m.Vg().Nt(m);var s;
s=m.Da.ea().ta.mu?-1==m.Da.ub?m.ng():m.Da.ub():h.Da.ea().ta.ng();m=new Yj(m.oa(),m.$e,s,m.Db().Qy(),m);m.eo=h.ub();Xj(this,m)}}}break;case "thresholds":au(e,f,this);break;case "auto":$t(e,f,this),au(e,f,this)}}else Xj(this,new Yj(l,0,-1,i,l))}this.Lu=this.Nx=this.du=l;this.BJ=i}};w.fo=function(){iu.b.fo.call(this)};w.ga=function(){iu.b.ga.call(this);this.am.eb(this.Gb.x,this.Gb.y);this.MC();this.v.Z(this.am)};
w.ya=function(){iu.b.ya.call(this);this.am.eb(this.Gb.x,this.Gb.y);this.co&&this.co.clear();this.MC()};
function Xj(a,b){b.lo||(b.lo=a.D);var c=a.Nx,e=new eu(c.D.o());c.ep&&(c.bg.Kb(c.D.o(),c.gv.ia(b.lo)),c.Fp=c.bg.k(),e.Gb.width+=c.Fp.width,e.Gb.height=Math.max(c.Fp.height,e.Gb.height));c.Lr&&(c.bg.Kb(c.D.o(),c.fA.ia(b.lo)),c.xs=c.bg.k(),e.Gb.width+=c.xs.width,e.Gb.height=Math.max(c.xs.height,e.Gb.height));c.Kr&&(e.Gb.width+=c.Ld.Ka(),e.Gb.height=Math.max(c.Ld.wb(),e.Gb.height));var f=0,h,j;c.ep&&(h=(e.Gb.height-c.Fp.height)/2,j=c.bg.Zb(c.D.o(),b.oa()),j.eb(f,h),e.Z(j),f+=c.Fp.width);if(c.Kr){j=new X(c.D.o());
h=(e.Gb.height-c.Ld.wb())/2;c.D.oI(c.Ld,b,j,0,0);e.Z(j);if(b.Qy()&&c.Ld.tz){var k=c.Ld.ng()==tf?b.ng():c.Ld.ng();if(k!=tf){var m=c.Ld.lv?c.Ld.lv:0.5*Math.min(c.Ld.Ia,c.Ld.ab),s=new of.bP(c.D.o()),t=c.Ld.kv?c.Ld.kv:b.oa(),v=c.D.o().ba(),k=yf.tn(k,c.D.o(),m,0,0);v.setAttribute("style",hu(t));v.setAttribute("d",k);s.appendChild(v);s.Pd((c.Ld.Ka()-m)/2);s.jd((c.Ld.wb()-m)/2);e.Z(s)}}j.Pd(f);j.jd(h);f+=c.Ld.Ka()}c.Lr&&(h=(e.Gb.height-c.xs.height)/2,j=c.bg.Zb(c.D.o(),b.oa()),j.eb(f,h),e.Z(j));e.lo=b.lo;
isNaN(c.qr)||(e.Gb.width=c.qr);isNaN(c.pr)||(e.Gb.height=c.pr);a.nl.push(e);a.am.Z(e)}function ju(){iu.call(this);this.Ve=1}x.e(ju,iu);w=ju.prototype;w.Ve=l;w.bs=l;w.Lo=l;w.rq=l;w.Tt=l;w.Bx=l;w.yc=l;w.he=l;w.f=function(a,b){ju.b.f.call(this,a,b);B(a,"columns")&&(this.Ve=J(a,"columns"))};w.Sy=function(){ju.b.Sy.call(this);this.pE()};
w.pE=function(){var a=this.nl.length;this.bs=Math.ceil(a/this.Ve);this.Ve=Math.ceil(a/this.bs);this.Tt=[];this.Bx=[];for(var b=this.Lo=this.rq=0,c=0,e=0;e<a;e++){var f=this.nl[e],b=Math.max(b,f.Gb.width),c=c+f.Gb.height;e==this.bs-1||e==this.nl.length-1||0==(e+1)%this.bs?(this.Bx.push(b),this.Tt.length+1==this.Ve||(b+=this.gj),this.Tt.push(b),this.rq+=b,this.Lo=Math.max(c,this.Lo),c=b=0):c+=this.Ji}};
w.Al=function(){this.Sy();this.he=this.yc=0;this.gn=this.$z;this.ao=0;this.Pa.zi||(this.j.height=this.Lo);var a=this.xy();this.Pa.zi?this.Zo():this.j.height>a&&(this.j.height=a);this.vs=this.Lo;if(this.Pa.wj)if(this.yc=0,a=Bt(this)-this.ao,this.rq<a)switch(this.$z){case 2:this.yc=(a-this.rq)/2;break;case 1:this.yc=a-this.rq}else this.gn=0;else this.j.width=this.rq+this.ao;ju.b.Al.call(this)};
w.MC=function(){if(this.Bf)var a=new R(0,0,this.Bf.za(),this.Lo);if(this.Me)var b=new R(0,0,0,this.Me.za());var c=this.am.o(),e,f,h,j,k=this.yc,m=this.he,s=this.nl.length,t=0,v=this.gj/2,y=v;this.Bf&&(v+=this.Bf.Y()/2,y-=this.Bf.Y()/2);for(var C=0;C<s;C++){e=this.nl[C];e.Pd(k);e.jd(m);switch(this.gn){case 2:Zc(e,(this.Bx[t]-e.Gb.width)/2);break;case 1:Zc(e,this.Bx[t]-e.Gb.width)}if(C==this.bs-1||C==this.nl.length-1||0==(C+1)%this.bs)k+=this.Tt[t],m=0,this.Bf&&t+1!=this.Ve&&(h=k-this.gj/2,a&&(a.x=
h-this.Bf.za()/2),e=c.ba(),f=T(h,0),f+=V(h,this.Lo),h=Y(this.Bf,c,a),e.setAttribute("d",f),e.setAttribute("style",h),this.co.appendChild(e)),t++;else if(m+=e.Gb.height+this.Ji,this.Me){j=m-this.Ji/2;h=k;var M=this.Tt[t]-v;0<t&&(h-=y,M+=y);t+1==this.Ve&&(M+=v);b&&(b.width=M,b.x=h,b.y=j-this.Me.za()/2);e=c.ba();f=T(h,j);f+=V(h+M,j);h=Y(this.Me,c,b);e.setAttribute("d",f);e.setAttribute("style",h);this.co.appendChild(e)}}};function ku(){this.Kn=[];this.ca=this.ab=this.Ia=0}w=ku.prototype;w.Kn=l;
w.Ia=l;w.Ka=q("Ia");w.Sj=p("Ia");w.ab=l;w.wb=q("ab");w.wm=p("ab");w.ca=l;w.jd=p("ca");w.$a=q("ca");function lu(a,b){for(var c=a.Kn.length,e=0;e<c;e++)Zc(a.Kn[e],b)}function mu(){iu.call(this)}x.e(mu,iu);w=mu.prototype;w.yj=l;w.Dg=l;w.Al=function(){this.Sy();this.gn=this.$z;this.pE();mu.b.Al.call(this)};
w.pE=function(){var a;this.Pa.wj?a=Bt(this):(a=this.Pa.ns,Ct(this)&&(a-=Dt(this)));var b=this.Pa.zi?this.Zo():this.xy();nu(this,a);this.Pa.wj||(this.j.width=this.yj+this.ao);this.Pa.zi||(this.j.height=Math.min(this.vs,b));if(this.vs>b&&(nu(this,a-this.ao),this.Pa.wj||(this.j.width=this.yj+this.ao),!this.Pa.zi))this.j.height=Math.min(this.vs,b)};
function nu(a,b){a.yj=0;a.Dg=[];var c=a.nl.length,e=a.vs=0,f=0,h=n,j=new ku;j.jd(f);for(var k=0;k<c;k++){var m=a.nl[k];if(h=e+m.Gb.width>b)j.Sj(e-a.gj),a.yj=Math.max(j.Ka(),a.yj),a.Dg.push(j),f+=j.wb()+a.Ji,e=0,j=new ku,j.jd(f);m.Pd(e);m.jd(f);j.wm(Math.max(j.wb(),m.Gb.height));e+=m.Gb.width+a.gj;j.Kn.push(m)}j.Sj(e-a.gj);a.Dg.push(j);a.yj=Math.max(j.Ka(),a.yj);f+=j.wb();a.vs=f}
w.MC=function(){if(this.Bf)var a=new R(0,0,this.Bf.za(),0);if(this.Me)var b=new R(0,0,this.yj,this.Me.za());for(var c,e,f,h=this.am.o(),j=this.Dg.length,k=0;k<j;k++){var m=this.Dg[k],s=m.Kn.length,t=0;if(0==this.ao)if(3==this.Pa.ra){var v=m;c=Bt(this);if(!(v.Ia>=c)){var y=v.Kn.length;c/=y;for(e=0;e<y;e++){var C=v.Kn[e];C.Pd(c*e+(c-C.Gb.width)/2)}}}else switch(this.gn){case 2:t=(Bt(this)-this.yj)/2;lu(m,(Bt(this)-m.Ka())/2);break;case 1:t=Bt(this)-this.yj,lu(m,Bt(this)-m.Ka())}if(this.Bf){v=m.$a();
y=m.wb();0==k&&0<j?(y+=this.Ji/2,this.Me&&(y-=this.Me.Y()/2)):0<k&&k==j-1?(c=this.Ji/2,this.Me&&(c-=this.Me.Y()/2),y+=c,v-=c):(c=this.Ji,this.Me&&(c-=this.Me.Y()),y+=c,v-=c/2);for(C=0;C<s;C++)C<s-1&&(c=m.Kn[C],f=c.hb()+c.Gb.width+this.gj/2,a.x=f-this.Bf.YA/2,a.y=v,a.height=y,c=h.ba(),e=T(f,v),e+=V(f,v+y),f=Y(this.Bf,h,a),c.setAttribute("d",e),c.setAttribute("style",f),this.co.appendChild(c))}this.Me&&k<j-1&&(m=m.$a()+m.wb()+this.Ji/2,b.y=m-this.Me.za()/2,c=h.ba(),e=T(t,m),e+=V(t+this.yj,m),f=Y(this.Me,
h,b),c.setAttribute("d",e),c.setAttribute("style",f),this.co.appendChild(c))}};function ou(){be(this);this.ua=5;this.a=new Pd}x.e(ou,ae);w=ou.prototype;w.Gx=l;w.ua=l;w.Y=q("ua");w.jc=l;w.Ya=l;w.fc=l;w.A=l;w.ad=l;function pu(a){return a.ad[a.ad.length-1]}w.YE=l;w.js=l;w.is=l;w.qw=l;w.pw=l;w.ms=l;w.ls=l;w.sw=l;w.rw=l;w.Az=l;w.Bz=l;w.fF=l;w.ov=l;w.zf=l;w.Td=l;w.Ha=l;w.f=function(a){ou.b.f.call(this,a);B(a,"format")&&(this.jc=new Ld(G(a,"format")));B(a,"padding")&&(this.ua=J(a,"padding"))};
w.p=function(a){this.ad=[];this.YE=[];this.A=a;this.ov=this.fF=this.Bz=this.Az=this.sw=this.rw=this.ms=this.ls=this.qw=this.pw=this.js=this.is=0;this.Ya=this.Gx.Vg();this.Gx.Pe?qu(this,this.WM):qu(this,this.VM)};
function qu(a,b){var c=a.Ya.yb,e;if(a.Gx.Mb())for(e=c-1;0<=e;e--)b.call(a,e);else for(e=0;e<=c;e++)b.call(a,e);c=a.Ya.yb;for(e=0;e<c;e++)a.Az=Math.max(a.Az,a.ad[e].width+a.ad[e+1].width),a.fF=Math.max(a.fF,a.ad[e].height+a.ad[e+1].height);if(2<c)for(e=0;e<=c-2;e++)a.Bz=Math.max(a.Bz,a.ad[e].width+a.ad[e+1].width),a.ov=Math.max(a.ov,a.ad[e].height+a.ad[e+1].height)}w.WM=function(a){this.zf=this.Ya.Wc[a].Pb;this.Td=this.Ya.Wc[a].Lb;this.Ha=this.zf+(this.Td-this.zf)/2;ru(this);su(this,0==a%2)};
w.VM=function(a){this.zf=this.Td=this.Ha=a!=this.Ya.yb?this.Ya.Wc[a].Pb:this.Ya.Wc[a-1].Lb;ru(this);su(this,0==a%2)};function su(a,b){var c=a.jc.ia(a);a.Kb(a.A,c);a.ad.push(a.k());a.YE.push(c);b?(a.qw+=a.k().width,a.pw+=a.k().height,a.js=Math.max(a.js,a.k().width),a.is=Math.max(a.is,a.k().height)):(a.sw+=a.k().width,a.rw+=a.k().height,a.ms=Math.max(a.ms,a.k().width),a.ls=Math.max(a.ls,a.k().height))}w.$x=function(a,b,c){this.Kb(this.A,this.YE[c]);this.fc=this.Zb(this.A);this.fc.eb(b.x,b.y);a.Z(this.fc)};
w.a=l;function ru(a){a.a.add("%RangeMin",a.zf);a.a.add("%RangeMax",a.Td);a.a.add("%Value",a.Ha)}w.Ba=function(a){return Vd(a)?this.Ya.Ba(a):this.a.get(a)};w.Aa=function(a){if(Vd(a))return this.Ya.Aa(a);switch(a){case "%RangeMin":case "%RangeMax":case "%Value":return 2}return 4};function tu(a){X.call(this,a);Uc(this.q);this.j=new R;x.w.Ua(this.q,z.bi,this.eh,n,this);x.w.Ua(this.q,z.ai,this.Di,n,this)}x.e(tu,X);w=tu.prototype;w.F=l;w.lf=p("F");w.j=l;w.k=q("j");w.Ax=l;w.R=l;w.Gs=p("R");w.sa=l;w.Sg=l;
w.Wg=l;w.eh=function(){this.sa=this.F.ec;for(var a=this.R.length,b=0;b<a;b++)this.R[b].Eg();this.update()};w.Di=function(){this.sa=this.F.ta;for(var a=this.R.length,b=0;b<a;b++)this.R[b].Fg();this.update()};w.ga=function(){this.sa=this.F.ta;this.Sg=xc(this.A);this.Wg=xc(this.A);this.q.appendChild(this.Sg);this.q.appendChild(this.Wg);this.update()};
w.update=function(){var a;this.sa.zc()?(a="",a=this.sa.Je()?a+od(this.sa.Cb(),this.A,this.j,this.Ax.oa()):a+Vc(),a=this.sa.ud()?a+Y(this.sa.xc(),this.A,this.j,this.Ax.oa()):a+Wc()):a=Xc();this.Sg.setAttribute("style",a);this.Ga(this.Sg);a=this.sa.jf()?tc(this.sa.Fe(),this.A,l,this.Ax):a+Wc();this.Wg.setAttribute("style",a);this.Ga(this.Wg)};w.Ga=function(a){a.setAttribute("x",this.j.x);a.setAttribute("y",this.j.y);a.setAttribute("width",this.j.width);a.setAttribute("height",this.j.height)};
function uu(){At.apply(this);this.Pe=n;this.Yj=5;this.Aj=this.If=this.Xn=this.Xd=0;this.Bi=2;this.Xc=this.hz=this.iz=n;this.Uy=1;this.TE=n}x.e(uu,Jt);w=uu.prototype;w.wf=l;w.vf=l;w.qG=l;w.pG=l;w.aF=l;w.QG=l;w.QF=l;w.Wt=l;w.B=l;w.Bi=l;w.Aj=l;w.If=l;w.ph=l;w.Pe=l;w.Yj=l;w.Xn=l;w.Xd=l;w.Xc=l;w.Mb=q("Xc");w.Uy=l;w.Ya=l;w.Vg=q("Ya");w.iz=l;w.hz=l;w.fu=l;w.eu=l;w.Hj=l;w.yc=l;w.he=l;w.pz=l;w.oz=l;w.qz=l;
w.f=function(a,b){uu.b.f.call(this,a,b);if(B(a,"range_item")){var c=D(a,"range_item");B(c,"width")&&(this.qG=J(c,"width"));B(c,"height")&&(this.pG=J(c,"height"));L(c,"background")&&(this.QF=new nf,this.QF.f(D(c,"background")))}if(B(a,"labels")&&(c=D(a,"labels"),K(c))){var e;a:switch(O(c,"position")){case "normal":e=0;break a;default:case "combined":e=2;break a;case "opposite":e=1}this.Bi=e;this.B=new ou;this.B.f(c);this.B.Gx=this}L(a,"tickmark")&&(c=D(a,"tickmark"),this.ph=new qd,this.ph.f(c),B(c,
"size")&&(this.Yj=J(c,"size")));B(a,"tickmarks_placement")&&(this.Pe="center"==O(a,"tickmarks_placement"));B(a,"inverted")&&(this.Xc=I(a,"inverted"));D(a,"interval")&&(this.Uy=J(a,"interval"));B(a,"threshold")&&(this.Ya=this.D.Ui.HB[N(a,"threshold")])};w.p=function(a){uu.b.p.call(this,a);this.Wt=new X(a);return this.v};
w.fo=function(){if(this.Ya){var a=this.D.o();if(!this.TE){this.B&&this.B.p(a);this.Hj=[];var b,c=this.Ya.yb-1;if(this.Xc)for(b=c;0<=b;b--)vu(this,a,b);else for(b=0;b<=c;b++)vu(this,a,b);this.Xn=this.Xd=0;if(this.ph&&this.ph.isEnabled())switch(this.Bi){case 2:this.Xd=2*this.Yj;this.Xn=this.Yj;break;case 0:this.Xn=this.Xd=this.Yj;break;case 1:this.Xd=this.Yj}this.$B();this.TE=i}this.QG=this.aF=0;!this.Pa.wj&&!this.iz?(this.wf=this.bC(),this.j.width=this.Qq()):this.Pa.wj&&!this.iz?(this.wf=this.ox(),
0>this.wf&&(this.wf=0,this.j.width=this.Qq())):!this.Pa.wj&&this.iz?(this.wf=this.qG,this.j.width=this.Qq()):(a=this.ox(),this.wf=Math.min(a,this.qG),a=this.Qq(),b=Bt(this),a<b&&(this.aF=(b-a)/2));!this.Pa.zi&&!this.hz?(this.vf=this.aC(),this.j.height=this.Oq()):this.Pa.zi&&!this.hz?(this.vf=this.nx(),0>this.vf&&(this.vf=0,this.j.height=this.Oq())):!this.Pa.zi&&this.hz?(this.vf=this.pG,this.j.height=this.Oq()):(a=this.nx(),this.vf=Math.min(a,this.pG),a=this.Oq(),b=this.Zo(),a<b&&(this.QG=(b-a)/2));
uu.b.fo.call(this)}else this.j.width=0,this.j.height=0,uu.b.fo.call(this,this)};w.TE=l;function vu(a,b,c){b=new tu(b);b.lf(a.QF);b.Ax=Aj(a.Ya.St,c);b.Gs(a.Ya.Wc[c].R);a.Hj.push(b)}w.ga=function(){uu.b.ga.call(this);wu(this,i);this.v.Z(this.Wt)};w.ay=function(a,b,c,e){this.Oe(a,b,c,e);this.iC(c,a,e)||this.B.$x(this.Wt,a,c)};function xu(a,b,c,e){var f=a.v.o().ba();f.setAttribute("style",Y(a.ph,a.v.o(),b));f.setAttribute("d",a.cJ(b,c,e));a.Wt.appendChild(f)}w.ya=function(){uu.b.ya.call(this);wu(this)};
function wu(a,b){if(a.Ya){a.Wt.clear();var c=new P,e=0;a.xv();for(var f=a.Hj.length,h=0;h<f;h++)a.dw(a.Hj[h].k(),h),b?a.Hj[h].ga():a.Hj[h].update(),0==h%a.Uy&&(a.ph&&xu(a,a.Hj[h].k(),h,e),a.B&&a.B.isEnabled()&&a.ay(c,a.Hj[h].k(),h,e),a.v.Z(a.Hj[h])),e++;!a.Pe&&0==f%a.Uy&&(a.ph&&a.ph.isEnabled()&&xu(a,a.Hj[f-1].k(),f,e),a.B&&a.B.isEnabled()&&a.ay(c,a.Hj[f-1].k(),f,e))}}
w.iC=function(a,b,c){a=this.B.ad[a].la();a.x=b.x;a.y=b.y;if(2==this.Bi)if(0==c%2){if(this.oz){if(this.oz.xi(a))return i}else this.oz=a;this.oz=a}else{if(this.qz){if(this.qz.xi(a))return i}else this.qz=a;this.qz=a}else{if(this.pz){if(this.pz.xi(a))return i}else this.pz=a;this.pz=a}return n};w.xv=function(){this.yc=this.Gb.pb()+this.aF;this.he=this.Gb.lb()+this.QG};w.dw=function(a){a.width=this.wf;a.height=this.vf};w.$B=o();w.bC=u(NaN);w.Qq=u(NaN);w.ox=u(NaN);w.aC=u(NaN);w.Oq=u(NaN);w.nx=u(NaN);
function yu(a,b){return 0==a.Bi||2==a.Bi&&0==b%2}function zu(){uu.call(this);this.fu=20;this.eu=10}x.e(zu,uu);w=zu.prototype;w.xv=function(){zu.b.xv.call(this);this.he+=this.Aj+this.Xn;if(this.B)if(this.Pe){var a=this.B.ad[0].width;a>this.wf&&(this.yc+=(a-this.wf)/2)}else this.yc+=this.B.ad[0].width/2};w.dw=function(a,b){zu.b.dw.call(this,a,b);a.x=this.yc+this.wf*b;a.y=this.he};w.aC=q("eu");w.nx=function(){return this.Zo()-this.Xd-this.If};w.Oq=function(){return this.vf+this.Xd+this.If};
w.bC=function(){if(!this.B||!this.B.isEnabled())return this.fu;switch(this.Bi){case 2:return!this.Pe&&1<this.Ya.yb||this.Pe&&2<this.Ya.yb?0.25*this.B.Bz:this.fu;case 0:case 1:return this.B.Az/2}return NaN};w.Qq=function(){var a=this.wf*this.Ya.yb;this.B&&this.B.isEnabled()&&(this.Pe?(this.B.ad[0].width>this.wf&&(a+=(this.B.ad[0].width-this.wf)/2),pu(this.B).width>this.wf&&(a+=(pu(this.B).width-this.wf)/2)):a+=this.B.ad[0].width/2+pu(this.B).width/2);return a};
w.ox=function(){var a=Bt(this);if(this.B&&this.B.isEnabled()){if(this.Pe){var b=n,b=2==this.Bi?this.B.qw<=a&&this.B.sw<=a:this.B.qw+this.B.sw<=a,c=this.B.ad[0].width,e=pu(this.B).width,f=this.Ya.yb;if(b){b=a/this.Ya.yb;if(b>=c&&b>=e)return b;b=(2*a-c)/(2*f-1);if(b<=c&&b>=e)return b;b=(2*a-e)/(2*f-1);if(b>=c&&b<=e)return b;b=(2*a-c-e)/(2*(f-1));if(b<=c&&b<=e)return b}return(2*a-c-e)/(2*(f-1))}a-=this.B.ad[0].width/2+pu(this.B).width/2}return a/this.Ya.yb};
w.Oe=function(a,b,c,e){var f=this.B.ad[c];a.x=this.Pe?b.x+(b.width-f.width)/2:(c==this.Ya.yb?b.Ja():b.pb())-f.width/2;b=this.B.Y()+this.Xn;a.y=yu(this,e)?this.he-b-f.height:this.he+this.vf+b};
w.$B=function(){this.Aj=this.If=0;if(this.B&&this.B.isEnabled())switch(this.Bi){case 2:this.If=this.Aj=this.B.is+this.B.Y();if(1<this.Ya.yb&&this.Pe||0<this.Ya.yb&&!this.Pe)this.If+=this.B.ls+this.B.Y();break;case 0:this.Aj=this.If=Math.max(this.B.is,this.B.ls)+this.B.Y();break;case 1:this.If=Math.max(this.B.is,this.B.ls)}};w.cJ=function(a,b,c){a=this.Pe?a.x+(a.width-0)/2:(b==this.Ya.yb?a.Ja():a.pb())-0;c=yu(this,c)?this.he-this.Yj:this.he+this.vf;b=T(a,c);return b+=V(a,c+this.Yj)};
function Au(){uu.call(this);this.fu=10;this.eu=20}x.e(Au,uu);w=Au.prototype;w.xv=function(){Au.b.xv.call(this);this.yc+=this.Aj+this.Xn;if(this.B)if(this.Pe){var a=this.B.ad[0].height;a>this.vf&&(this.he+=(a-this.vf)/2)}else this.he+=this.B.ad[0].height/2};w.dw=function(a,b){Au.b.dw.call(this,a,b);a.x=this.yc;a.y=this.he+this.vf*b};
w.aC=function(){if(!this.B||!this.B.isEnabled())return this.eu;switch(this.Bi){case 2:return!this.Pe&&1<this.Ya.yb||this.Pe&&2<this.Ya.yb?0.25*this.B.ov:this.eu;case 0:case 1:return this.B.ov/2}return NaN};w.nx=function(){var a=this.vf*this.Ya.yb;this.B&&this.B.isEnabled()&&(this.Pe?(this.B.ad[0].height>this.vf&&(a+=(this.B.ad[0].height-this.vf)/2),pu(this.B).height>this.vf&&(a+=(pu(this.B).height-this.vf)/2)):a+=this.B.ad[0].height/2+pu(this.B).height/2);return a};
w.Oq=function(){var a=this.Zo();if(this.B&&this.B.isEnabled()){if(this.Pe){var b=n,b=2==this.Bi?this.B.pw<=a&&this.B.rw<=a:this.B.pw+this.B.rw<=a,c=this.B.ad[0].height,e=pu(this.B).height,f=this.Ya.yb;if(b){b=a/this.Ya.yb;if(b>=c&&b>=e)return b;b=(2*a-c)/(2*f-1);if(b<=c&&b>=e)return b;b=(2*a-e)/(2*f-1);if(b>=c&&b<=e)return b;b=(2*a-c-e)/(2*(f-1));if(b<=c&&b<=e)return b}return(2*a-c-e)/(2*(f-1))}a-=this.B.ad[0].height/2+pu(this.B).height/2}return a/this.Ya.yb};w.bC=q("fu");
w.Qq=function(){return Bt(this)-this.If-this.Xd};w.ox=function(){return this.wf+this.If+this.Xd};w.Oe=function(a,b,c,e){var f=this.B.qy(c);a.y=this.Pe?b.y+(b.height-f.height)/2:(c==this.Ya.yb?b.ja():b.lb())-f.height/2;b=this.B.Y()+this.Xn;a.x=yu(this,e)?this.yc-b-f.width:this.yc+this.wf+b};
w.$B=function(){this.Aj=this.If=0;if(this.B&&this.B.isEnabled())switch(this.Bi){case 2:this.Aj=this.B.js+this.B.Y();this.If=this.Aj+this.B.ms+this.B.Y();break;case 0:this.Aj=this.If=Math.max(this.B.js,this.B.ms)+this.B.Y();break;case 1:this.If=Math.max(this.B.js,this.B.ms)+this.B.Y()}};w.cJ=function(a,b,c){a=this.Pe?a.y+(a.height-0)/2:(b==this.Ya.yb?a.ja():a.lb())-0;c=yu(this,c)?this.yc-this.Yj:this.yc+this.wf;b=T(c,a);return b+=V(c+this.Yj,a)};function Bu(){At.call(this)}x.e(Bu,At);w=Bu.prototype;w.Wa=l;w.qh=l;w.nE=function(a,b,c){Bu.b.nE.call(this,a,b,c);this.Wa=new fe(a,b)};w.f=function(a,b){var c=xe(b,"label_style",a,B(a,"style")?D(a,"style"):l,n);Bu.b.f.call(this,c,b);this.Wa.f(c);this.Wa.N=l};w.p=function(a){Bu.b.p.call(this,a);this.Wa.Kb(a,this.Wa.Dh().ia(this.D));this.qh=this.Wa.Zb(a);this.Wa.Ru(this.v);return this.v};
w.Al=function(){this.Wa.Kb(this.D.o(),this.Wa.Dh().ia(this.D));var a=this.Wa.k();this.j.width||(this.j.width=a.width,2==this.Wa.vq&&(this.j.width+=this.Wa.Y()));this.j.height||(this.j.height=a.height);Bu.b.Al.call(this)};w.ga=function(){Bu.b.ga.call(this);this.v.Z(this.qh);this.by()};w.by=function(){this.qh.eb(this.Gb.x,this.Gb.y)};w.ya=function(){Bu.b.ya.call(this);this.by()};function Cu(){}Cu.prototype.create=function(a,b){if(!b)return l;switch(b){case "legend":var c;a:if(B(a,"elements_layout")&&"horizontal"!=N(a,"elements_layout"))c=new ju;else{if(B(a,"position")&&(c=N(a,"position"),"float"==c||"fixed"==c||"left"==c||"right"==c)){c=new ju;break a}c=new mu}return c;case "color_swatch":a:switch(N(a,"orientation")){default:case "vertical":c=new Au;break a;case "horizontal":c=new zu}return c;case "image":return l;case "label":return new Bu}return new ju};
function Du(a,b,c){this.Xm=[];this.J=a;this.D=b;this.Kv=c;this.MH=new Cu;this.nD=new Ot;this.mD=new Nt;this.AE=new Yt;this.lm=new Zt}w=Du.prototype;w.v=l;w.Ra=q("v");w.Xm=l;w.D=l;w.J=l;w.Kv=l;w.MH=l;w.AE=l;w.lm=l;w.nD=l;w.mD=l;w.f=function(a){B(a,"align_left_by")&&(this.lm.EC="chart"!=O(a,"align_left_by"));B(a,"align_right_by")&&(this.lm.FC="chart"!=O(a,"align_right_by"));B(a,"align_top_by")&&(this.lm.GC="chart"!=O(a,"align_top_by"));B(a,"align_bottom_by")&&(this.lm.DC="chart"!=O(a,"align_bottom_by"))};
w.ju=function(a,b,c){c=this.MH.create(a,c);c!=l&&(c.nE(this.J,this.D,this.Kv),c.f(a,b),4==c.Pa.qb()?this.nD.Ae(c):5==c.Pa.qb()?this.mD.Ae(c):c.Pa.Su?this.AE.Ae(c):this.lm.Ae(c),this.Xm.push(c))};w.p=function(a){this.v=new X(a);for(var b=this.Xm.length,c=0;c<b;c++)this.v.Z(this.Xm[c].p(a))};w.ga=function(){for(var a=this.Xm.length,b=0;b<a;b++)this.Xm[b].ga()};w.ya=function(){for(var a=this.Xm.length,b=0;b<a;b++)this.Xm[b].ya()};w.Sh=function(a,b){this.lm.Sh(a,b)};w.Lx=function(a){this.lm.Lx(a)};
w.oi=function(a,b,c){return this.lm.oi(a,b)?(this.AE.oi(a,b),this.nD.oi(a,c),this.mD.oi(a,c),i):n};function Eu(a,b){fe.call(this,a,b)}x.e(Eu,fe);w=Eu.prototype;w.xa=2;w.Tc=n;function Fu(a,b){var c=a.k(),e=a.Y(),f=c.width+e,e=c.height+e;switch(a.xa){case 0:a.v.Pd(b.x);b.x+=f;b.width-=f;break;case 1:a.v.Pd(b.Ja()-c.width);b.width-=f;break;case 2:a.v.jd(b.y);b.y+=e;b.height-=e;break;case 3:a.v.jd(b.ja()-c.height),b.height-=e}}
w.eb=function(a,b){var c=this.Tc?b:a;switch(this.xa){case 2:case 3:var e=0;switch(this.ra){case 0:e=c.x;break;case 1:e=c.x+(c.width-this.k().width)/2;break;case 2:e=c.Ja()-this.k().width}e<c.x&&(e=c.x);this.v.Pd(e);break;case 0:case 1:e=0;switch(this.ra){case 0:e=c.y;break;case 1:e=c.y+(c.height-this.k().height)/2;break;case 2:e=c.ja()-this.k().height}e<c.y&&(e=c.y);this.v.jd(e)}};
w.f=function(a){Eu.b.f.call(this,a);if(B(a,"position"))switch(sb(D(a,"position"))){case "left":this.xa=0;ce(this,this.ob.Qb+90);break;case "right":this.xa=1;ce(this,this.ob.Qb-90);break;case "top":this.xa=2;break;case "bottom":this.xa=3}B(a,"align_by")&&(this.Tc="dataplot"==N(a,"align_by"))};w.Zb=function(a,b){this.Kb(a,this.jc.ia(b));return Eu.b.Zb.call(this,a)};w.Ba=function(a){return this.D?this.D.Ba(a):""};w.Aa=function(a){return this.D?this.D.Aa(a):1};
function Gu(a,b){this.J=a;this.Rm=b;this.sp=n}w=Gu.prototype;w.J=l;w.Rm=l;w.A=l;w.Ul=p("A");w.Wa=l;w.ko=l;w.pn=l;w.N=l;w.Gc=l;w.D=l;w.ym=p("D");w.G=q("D");w.v=l;w.j=l;w.k=q("j");w.Fa=l;w.Es=p("Fa");w.Rf=l;w.Si=l;w.yx=function(){this.Si&&this.Si.clear()};w.uJ=u(n);w.Rl=n;w.sp=l;w.LE=q("sp");function Hu(a,b,c){return K(D(b,c))?(a=new Eu(a.J,a.D),a.f(D(b,c)),a):l}
w.f=function(a){this.Rl=n;if(a)if(!this.D||this.D.wx(a))this.Rm.Ks(),Iu(this,a);else{if(this.Rl=i,this.Si=new we(D(a,"styles")),this.Rf=new Du(this.J,this.D,this),this.D&&(this.D.Ul(this.A),this.D.QK(this.Rf),this.D.f(a,this.Si),this.D.JG()&&this.D.ZF(a)),B(a,"chart_settings")){var b=D(a,"chart_settings");Iu(this,a);this.Wa=Hu(this,b,"title");this.ko=Hu(this,b,"subtitle");this.pn=Hu(this,b,"footer");B(b,"controls")&&this.Rf.f(D(b,"controls"));L(b,"legend")&&this.Rf.ju(D(b,"legend"),this.Si,"legend");
if(B(b,"controls")){var a=D(b,"controls"),c;for(c in a)if(b=a[c],b instanceof Array)for(var e=b.length,f=0;f<e;f++)this.ju(b[f],c);else b instanceof Object&&this.ju(b,c)}}}else this.Rm.Ks()};w.ju=function(a,b){K(a)&&this.Rf.ju(a,this.Si,b)};function Iu(a,b){if(B(b,"chart_settings")){var c=D(b,"chart_settings");K(D(c,"chart_background"))&&(a.N=new yd,a.N.f(D(c,"chart_background")))}}
w.ae=function(a,b){this.sp=i;this.v=a;this.Fa&&kd(this.Fa,b);var c=b.la(),e,f=c.la();this.N&&(this.Gc=this.N.p(this.A),this.v.Z(this.Gc),this.zo=c.la(),zd(this.N,c));this.j=c.la();if(!this.Rl)return this.v;(e=this.Wa)&&this.v.Z(e.Zb(this.A,this.D));(e=this.ko)&&this.v.Z(e.Zb(this.A,this.D));(e=this.pn)&&this.v.Z(e.Zb(this.A,this.D));c=Ju(this,c);e=c.la();this.D.Dc(c);this.Rf.p(this.A,this.v);this.D&&(this.Rf.Sh(c,e),this.D.p(c,this.Rm.Fy(),i),Ku(this,e,f),this.v.Z(this.D.Ra()));Lu(this,e,this.D.Br());
this.v.Z(this.Rf.Ra());return this.v};function Ku(a,b,c){for(var e=a.Rf.oi(a.D.Br(),b,c),f=0;!e;){f++;if(10==f)break;e=b.la();a.Rf.Lx(e);a.D.dj(e);e=a.Rf.oi(a.D.Br(),b,c)}}function Lu(a,b,c){a.pn&&a.pn.eb(b,c);a.Wa&&a.Wa.eb(b,c);a.ko&&a.ko.eb(b,c)}w.ga=function(){this.Gc&&this.N.ga(this.Gc,this.zo);this.D&&this.Rl?(this.D.ga(),this.Rf.ga(),this.J.pB&&(this.oB=new X(this.v.o()),this.Nw=new ae,this.v.Z(this.oB),Mu(this))):this.Rl||this.Rm.Ks()};
function Ju(a,b){a.pn&&Fu(a.pn,b);a.Wa&&Fu(a.Wa,b);a.ko&&Fu(a.ko,b);return b}w.ya=function(a){var a=a.la(),b,c,e;this.Fa&&kd(this.Fa,a);this.N&&this.N.ya(this.Gc,a);if(this.Rl&&(this.D&&(e=a.la(),this.N&&zd(this.N,a),b=a.la(),b=Ju(this,b),c=b.la(),this.D.Dc(b),this.Rf.Sh(b,c),this.D.dj(b),Ku(this,c,e),this.D.jn(b),this.Rf.ya(),Lu(this,a,this.D.Br())),this.j=a.la(),this.J.pB))this.oB.clear(),Mu(this)};w.fG=function(){this.Rl=n};w.$p=function(){this.Rl&&this.D&&this.D.$p()};w.oB=l;w.Nw=l;
function Mu(a){a.Nw.f({font:{family:"Verdana",size:a.j.width/12.4}});a.Nw.Kb(a.v.o(),a.J.pB);var b=a.Nw.Zb(a.v.o(),pb("red",g)),c=a.Nw.k();b.eb(a.j.width/2-c.width/2+a.j.x,a.j.height/2-c.height/2+a.j.y);b.q.setAttribute("opacity",0.15);a.oB.Z(b)}w.Va=function(a){if(a==l||a==g)a={};this.Wa&&(a.Title=this.Wa.Dh().ia(this.D));this.ko&&(a.SubTitle=this.ko.Dh().ia(this.D));this.pn&&(a.Footer=this.pn.Dh().ia(this.D));this.Rl&&this.D&&this.D.Va(a);return a};function Nu(a){this.tk=a;this.Qa=0;this.px=NaN;this.IJ=i;this.ca=0;this.qx=NaN;this.JJ=i;this.Ia=1;this.$l=i;this.Sq=NaN;this.ab=1;this.Zl=i;this.Rq=NaN;this.Fa=new jd(5)}w=Nu.prototype;w.Fa=l;w.j=l;w.v=l;w.A=l;w.Ul=p("A");w.Qa=l;w.hb=function(a){return isNaN(this.px)?a.x+(this.IJ?a.width*this.Qa:this.Qa):this.px};w.IJ=l;w.px=l;w.ca=l;w.$a=function(a){return isNaN(this.qx)?a.y+(this.JJ?a.height*this.ca:this.ca):this.qx};w.JJ=l;w.qx=l;w.Ia=l;
w.Ka=function(a){return isNaN(this.Sq)?this.$l?a.width*this.Ia:this.Ia:this.Sq};w.$l=l;w.Sq=l;w.ab=l;w.wb=function(a){return isNaN(this.Rq)?this.Zl?a.height*this.ab:this.ab:this.Rq};w.Zl=l;w.Rq=l;w.tk=l;w.f=function(a){var b;B(a,"margin")&&(this.Fa=new jd,this.Fa.f(D(a,"margin")));B(a,"x")&&(b=D(a,"x"),this.Qa=Db(b)?Eb(b):H(b));B(a,"y")&&(b=D(a,"y"),this.ca=Db(b)?Eb(b):H(b));B(a,"width")&&(b=D(a,"width"),this.Ia=Db(b)?Eb(b):H(b));B(a,"height")&&(b=D(a,"height"),this.ab=Db(b)?Eb(b):H(b))};
w.ae=function(a,b){this.v||(this.v=new X(a));this.Sh(b);return this.v};w.ga=o();w.ya=function(a){this.Sh(a)};w.Sh=function(a){this.eb(a)};w.eb=function(a){this.j=a.la();this.j.x=this.hb(a);this.j.y=this.$a(a);this.j.width=this.Ka(a);this.j.height=this.wb(a);this.v.eb(this.j.x,this.j.y);this.j.x=0;this.j.y=0;this.Fa&&kd(this.Fa,this.j)};function Ou(a){Nu.call(this,a);this.Hm=new Pu(a.pj(),this)}x.e(Ou,Nu);w=Ou.prototype;w.Hm=l;w.Ea=l;w.getName=q("Ea");w.Jt=l;
w.f=function(a){Ou.b.f.call(this,a);this.tk.Gm.push(this.Hm);if(B(a,"name")){var b=this.Ea=G(a,"name"),c=this.Hm;b&&c&&(this.tk.Mw[b]=c)}B(a,"source")&&(b=G(a,"source"),c=n,B(a,"source_mode")&&(a=O(a,"source_mode"),c="external"===a||"externaldata"===a),c?this.Hm.Ow=b:this.Jt=b)};
w.ae=function(a,b){Ou.b.ae.call(this,a,b);this.Jt&&(this.Hm.Kc=this.tk.pj().Xq[this.Jt],this.Hm.Wq=this.tk.pj().vx[this.Jt]);this.Jt=l;this.Hm.ae(a,this.v,new R(0,0,this.j.width,this.j.height));if(this.Fa){Zc(this.v,this.Fa.pb());var c=this.v;c.ca+=this.Fa.lb();Yc(c)}c=this.Hm;c.Kc?c.Zk(c.Kc):c.Ow?c.Pi(c.Ow):c.dv?c.dv=c.dv:Qu(c,c.J.XG);return this.v};w.ya=function(a){Ou.b.ya.call(this,a);this.Fa&&(Zc(this.v,this.Fa.pb()),a=this.v,a.ca+=this.Fa.lb(),Yc(a));this.Hm.ya(new R(0,0,this.j.width,this.j.height))};
function Ru(a){Nu.call(this,a);this.Af=[]}x.e(Ru,Nu);w=Ru.prototype;w.Af=l;w.lC=l;w.Ex=l;w.f=function(a){Ru.b.f.call(this,a);for(var b in a){var c=a[b];if(!Rb(c)&&(Boolean(c instanceof Object&&!(c instanceof Function||c instanceof Array))&&Su(this,c,b),x.isArray(c)))for(var e=c.length,f=0;f<e;f++)Su(this,c[f],b)}};function Su(a,b,c){if(c="hbox"===c?new Tu(a.tk):"vbox"===c?new Uu(a.tk):"view"===c&&B(b,"type")?"panel"==N(b,"type")?new Vu(a.tk):new Ou(a.tk):l)c.f(b),a.Af.push(c)}
w.ae=function(a,b){this.lC=new X(a);this.Ex=new X(a);Ru.b.ae.call(this,a,b);this.v.Z(this.Ex);this.v.Z(this.lC);for(var c=this.Af.length,e=0;e<c;e++)this.lC.Z(this.Af[e].ae(a,this.j));return this.v};w.ga=function(){for(var a=this.Af.length,b=0;b<a;b++)this.Af[b].ga()};w.ya=function(a){Ru.b.ya.call(this,a);for(var a=this.Af.length,b=0;b<a;b++)this.Af[b].ya(this.j)};function Wu(a){fe.call(this,a,this)}x.e(Wu,fe);w=Wu.prototype;w.kd=l;w.rd=q("kd");
w.Kb=function(a){Wu.b.Kb.call(this,a,this.jc.ia());this.kd=this.ua+this.j.height};w.Zb=function(a,b){var c=Wu.b.Zb.call(this,a);this.eb(c,b);return c};w.eb=function(a,b){var c;switch(this.ra){case 0:c=b.x;break;case 2:c=b.x+b.width-this.j.width;break;case 1:c=b.x+(b.width-this.j.width)/2}a.eb(c,b.y)};w.Ba=u("");w.Aa=u(1);function Vu(a){Ru.call(this,a)}x.e(Vu,Ru);w=Vu.prototype;w.Wa=l;w.qh=l;w.N=l;w.Gc=l;w.BF=l;w.pC=l;w.f=function(a){a=Xu(Mb(Oe.defaults.panel),a);Yu(this,a)};
function Yu(a,b){Vu.b.f.call(a,b);if(L(b,"title")){var c=D(b,"title");B(c,"text")&&(a.Wa=new Wu(a.tk.pj()),a.Wa.f(c))}B(b,"background")&&(a.N=new yd,a.N.f(D(b,"background")))}function Xu(a,b){var c=Mb(b);Ob(a,b,c);for(var e in a){var f=a[e];Rb(f)||(c[e]=c[e]?Nb(f,c[e],e):f)}return c}w.ae=function(a,b){this.Wa&&this.Wa.Kb(a);Vu.b.ae.call(this,a,b);this.N&&this.N.isEnabled()&&(this.Gc=this.N.p(a),this.Ex.Z(this.Gc));this.Wa&&(this.qh=this.Wa.Zb(a,this.pC),this.Ex.Z(this.qh));return this.v};
w.ga=function(){Vu.b.ga.call(this);this.Gc&&this.N.ga(this.Gc,this.BF)};w.ya=function(a){Vu.b.ya.call(this,a);this.qh&&this.Wa.eb(this.qh,this.pC);this.Gc&&this.N.ya(this.Gc,this.BF)};w.Sh=function(a){Vu.b.Sh.call(this,a);this.BF=this.j.la();this.N&&this.N.isEnabled()&&zd(this.N,this.j);this.pC=this.j.la();this.Wa&&(this.j.y+=this.Wa.rd(),this.j.height-=this.Wa.rd())};function Tu(a){Ru.call(this,a)}x.e(Tu,Ru);Tu.prototype.ae=function(a,b){Tu.b.ae.call(this,a,b);return this.v};
Tu.prototype.Sh=function(a){Tu.b.Sh.call(this,a);for(var b=this.j.x,c=this.Af.length,e=0;e<c;e++){var f=this.Af[e];f.px=b;f.Sq=NaN;f.Sq=f.Ka(a);b+=f.Sq}};function Uu(a){Ru.call(this,a)}x.e(Uu,Ru);Uu.prototype.ae=function(a,b){Uu.b.ae.call(this,a,b);return this.v};Uu.prototype.Sh=function(a){Uu.b.Sh.call(this,a);for(var b=this.j.y,c=this.Af.length,e=0;e<c;e++){var f=this.Af[e];f.qx=b;f.Rq=NaN;f.Rq=f.wb(a);b+=f.Rq}};function Zu(a){Ru.call(this,this);this.J=a;this.Mw={};this.Gm=[]}x.e(Zu,Vu);w=Zu.prototype;
w.J=l;w.pj=q("J");w.Mw=l;w.Gm=l;w.sp=n;w.LE=u(i);w.uJ=u(i);w.Ku=l;w.Es=p("Ku");w.Ra=q("v");w.k=q("j");w.f=function(a){var b=Mb(D(D(Oe,"defaults"),"dashboard")),c=Mb(D(D(Oe,"defaults"),"panel")),a=Xu(Nb(c,b),a);Yu(this,a)};w.ae=function(a,b){this.v=a;var c=b.la();this.Ku&&kd(this.Ku,c);Zu.b.ae.call(this,this.A,c);this.sp=i;return this.v};w.$p=function(){$u(this)};
function $u(a){if(a.sp){var b,c=a.Gm.length;for(b=0;b<c;b++){var e=a.Gm[b];if(e.fb&&!e.fb.LE())return}for(b=0;b<c;b++)a.Gm[b].fb&&a.Gm[b].fb.LE()&&a.Gm[b].fb.$p()}}w.ya=function(a){a=a.la();this.Ku&&kd(this.Ku,a);Zu.b.ya.call(this,a)};function av(a,b){var c;a instanceof av?(this.Ds(b==l?a.Ek:b),bv(this,a.RD()),cv(this,a.fJ()),dv(this,a.NI()),ev(this,a.MD()),fv(this,a.Hu()),gv(this,a.YI().la()),hv(this,a.QI())):a&&(c=x.uri.L.split(""+a))?(this.Ds(!!b),bv(this,c[1]||"",i),cv(this,c[2]||"",i),dv(this,c[3]||"",i),ev(this,c[4]),fv(this,c[5]||"",i),gv(this,c[6]||"",i),hv(this,c[7]||"",i)):(this.Ds(!!b),this.Wk=new iv(l,this,this.Ek))}w=av.prototype;w.$n="";w.Gw="";w.So="";w.Ov=l;w.Ej="";w.xu="";w.fN=n;w.Ek=n;
w.toString=function(){if(this.cj)return this.cj;var a=[];this.$n&&a.push(jv(this.$n,kv),":");this.So&&(a.push("//"),this.Gw&&a.push(jv(this.Gw,kv),"@"),a.push(x.Rc(this.So)?encodeURIComponent(this.So):l),this.Ov!=l&&a.push(":",""+this.MD()));this.Ej&&(this.So&&"/"!=this.Ej.charAt(0)&&a.push("/"),a.push(jv(this.Ej,"/"==this.Ej.charAt(0)?lv:mv)));var b=""+this.Wk;b&&a.push("?",b);this.xu&&a.push("#",jv(this.xu,nv));return this.cj=a.join("")};
w.la=function(){var a=this.$n,b=this.Gw,c=this.So,e=this.Ov,f=this.Ej,h=this.Wk.la(),j=this.xu,k=new av(l,this.Ek);a&&bv(k,a);b&&cv(k,b);c&&dv(k,c);e&&ev(k,e);f&&fv(k,f);h&&gv(k,h);j&&hv(k,j);return k};w.RD=q("$n");function bv(a,b,c){ov(a);delete a.cj;a.$n=c?b?decodeURIComponent(b):"":b;a.$n&&(a.$n=a.$n.replace(/:$/,""))}w.fJ=q("Gw");function cv(a,b,c){ov(a);delete a.cj;a.Gw=c?b?decodeURIComponent(b):"":b}w.NI=q("So");function dv(a,b,c){ov(a);delete a.cj;a.So=c?b?decodeURIComponent(b):"":b}w.MD=q("Ov");
function ev(a,b){ov(a);delete a.cj;b?(b=Number(b),(isNaN(b)||0>b)&&d(Error("Bad port number "+b)),a.Ov=b):a.Ov=l}w.Hu=q("Ej");function fv(a,b,c){ov(a);delete a.cj;a.Ej=c?b?decodeURIComponent(b):"":b}function gv(a,b,c){ov(a);delete a.cj;b instanceof iv?(a.Wk=b,a.Wk.$s=a,a.Wk.Ds(a.Ek)):(c||(b=jv(b,pv)),a.Wk=new iv(b,a,a.Ek))}w.YI=q("Wk");w.QI=q("xu");function hv(a,b,c){ov(a);delete a.cj;a.xu=c?b?decodeURIComponent(b):"":b}
w.nN=function(){ov(this);var a=x.P.ZI();ov(this);delete this.cj;this.Wk.set("zx",a);return this};function ov(a){a.fN&&d(Error("Tried to modify a read-only Uri"))}w.Ds=function(a){this.Ek=a;this.Wk&&this.Wk.Ds(a);return this};var qv=/^[a-zA-Z0-9\-_.!~*'():\/;?]*$/;function jv(a,b){var c=l;x.Rc(a)&&(c=a,qv.test(c)||(c=encodeURI(a)),0<=c.search(b)&&(c=c.replace(b,rv)));return c}function rv(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}
var kv=/[#\/\?@]/g,mv=/[\#\?:]/g,lv=/[\#\?]/g,pv=/[\#\?@]/g,nv=/#/g;function iv(a,b,c){this.Hl=a||l;this.$s=b||l;this.Ek=!!c}function sv(a){if(!a.Ad&&(a.Ad=new ya,a.Bc=0,a.Hl))for(var b=a.Hl.split("&"),c=0;c<b.length;c++){var e=b[c].indexOf("="),f=l,h=l;0<=e?(f=b[c].substring(0,e),h=b[c].substring(e+1)):f=b[c];f=x.P.fB(f);f=tv(a,f);a.add(f,h?x.P.fB(h):"")}}w=iv.prototype;w.Ad=l;w.Bc=l;w.sn=function(){sv(this);return this.Bc};
w.add=function(a,b){sv(this);uv(this);a=tv(this,a);if(this.pk(a)){var c=this.Ad.get(a);x.isArray(c)?c.push(b):this.Ad.set(a,[c,b])}else this.Ad.set(a,b);this.Bc++;return this};w.remove=function(a){sv(this);a=tv(this,a);if(this.Ad.pk(a)){uv(this);var b=this.Ad.get(a);x.isArray(b)?this.Bc-=b.length:this.Bc--;return this.Ad.remove(a)}return n};w.clear=function(){uv(this);this.Ad&&this.Ad.clear();this.Bc=0};w.yi=function(){sv(this);return 0==this.Bc};w.pk=function(a){sv(this);a=tv(this,a);return this.Ad.pk(a)};
w.cr=function(a){var b=this.Ff();return x.T.contains(b,a)};w.mg=function(){sv(this);for(var a=this.Ad.Ff(),b=this.Ad.mg(),c=[],e=0;e<b.length;e++){var f=a[e];if(x.isArray(f))for(var h=0;h<f.length;h++)c.push(b[e]);else c.push(b[e])}return c};w.Ff=function(a){sv(this);if(a)if(a=tv(this,a),this.pk(a)){var b=this.Ad.get(a);if(x.isArray(b))return b;a=[];a.push(b)}else a=[];else for(var b=this.Ad.Ff(),a=[],c=0;c<b.length;c++){var e=b[c];x.isArray(e)?x.T.extend(a,e):a.push(e)}return a};
w.set=function(a,b){sv(this);uv(this);a=tv(this,a);if(this.pk(a)){var c=this.Ad.get(a);x.isArray(c)?this.Bc-=c.length:this.Bc--}this.Ad.set(a,b);this.Bc++;return this};w.get=function(a,b){sv(this);a=tv(this,a);if(this.pk(a)){var c=this.Ad.get(a);return x.isArray(c)?c[0]:c}return b};
w.toString=function(){if(this.Hl)return this.Hl;if(!this.Ad)return"";for(var a=[],b=0,c=this.Ad.mg(),e=0;e<c.length;e++){var f=c[e],h=x.P.at(f),f=this.Ad.get(f);if(x.isArray(f))for(var j=0;j<f.length;j++)0<b&&a.push("&"),a.push(h),""!==f[j]&&a.push("=",x.P.at(f[j])),b++;else 0<b&&a.push("&"),a.push(h),""!==f&&a.push("=",x.P.at(f)),b++}return this.Hl=a.join("")};function uv(a){delete a.CC;delete a.Hl;a.$s&&delete a.$s.cj}
w.la=function(){var a=new iv;this.CC&&(a.CC=this.CC);this.Hl&&(a.Hl=this.Hl);this.Ad&&(a.Ad=this.Ad.la());return a};function tv(a,b){var c=""+b;a.Ek&&(c=c.toLowerCase());return c}w.Ds=function(a){a&&!this.Ek&&(sv(this),uv(this),x.Dd.forEach(this.Ad,function(a,c){var e=c.toLowerCase();c!=e&&(this.remove(c),this.add(e,a))},this));this.Ek=a};w.extend=function(a){for(var b=0;b<arguments.length;b++)x.Dd.forEach(arguments[b],function(a,b){this.add(b,a)},this)};function vv(){this.dh=[];this.qs={}}w=vv.prototype;w.dh=l;w.qs=l;w.Tk=l;w.Tp=l;function wv(a,b){if(xv[b]!=g?0:a.qs[b]==g){var c=new yv;c.p(b,n);zv(a,c)}}function Av(a,b){if(xv[b]!=g?0:a.qs[b]==g){var c=new Bv;c.p(b,i);zv(a,c)}}function zv(a,b){a.dh.push(b);a.qs[b.Hu()]=b;b.Tk=function(){a.tN.call(a,this)};b.Tp=function(b){a.sN.call(a,this,b)}}w.tN=function(a){delete this.qs[a.Hu()];a=this.dh.indexOf(a);-1!=a&&this.dh.splice(a,1);this.Tk&&0==this.dh.length&&this.Tk()};
w.sN=function(a,b){this.nw();this.Tp&&this.Tp(a,b)};w.load=function(){for(var a=0;a<this.dh.length;a++){var b=this.dh[a];b.bm.send(b.$s,"GET",l,"anychart.com")}};w.nw=function(){for(var a=0;a<this.dh.length;a++)this.dh[a].nw();this.dh=[];this.qs={}};var xv={};function Cv(){this.WB=i;this.bm=new Ca;this.bm.YG=i;x.w.Ua(this.bm,"complete",this.vN,l,this);this.Tp&&x.w.Ua(this.bm,["error","abort"],this.Tp,l,this)}w=Cv.prototype;w.bm=l;w.WB=i;w.Ej=l;w.$s=l;w.Hu=q("Ej");
w.p=function(a,b){this.Ej=a;this.WB=b;this.WB||(a=-1!=a.indexOf("?")?a+"&":a+"?",a+="XMLCallDate="+(new Date).getTime().toString());this.$s=new av(a)};w.nw=function(){this.bm.abort()};w.getData=function(){x.qa()};w.vN=function(){var a=this.getData();xv[this.Ej]=a;this.Tk&&this.Tk.call(this,a)};w.Tk=l;w.Tp=l;function yv(){Cv.apply(this)}x.e(yv,Cv);yv.prototype.getData=function(){return this.bm.Fc?this.bm.Fc.responseText:""};function Bv(){Cv.apply(this)}x.e(Bv,Cv);
Bv.prototype.getData=function(){var a;var b=this.bm;try{a=b.Fc?b.Fc.responseXML:l}catch(c){a=l}return a};function Dv(a){la.call(this);this.J=a;this.nG()}x.e(Dv,la);Dv.prototype.J=l;Dv.prototype.pj=q("J");Dv.prototype.mB=l;function Ev(a){Dv.call(this,a);Fv(this)}x.e(Ev,Dv);w=Ev.prototype;w.nG=function(){this.mB=2};w.A=l;w.v=l;w.Ra=q("v");w.ux=l;w.j=l;w.k=q("j");w.jl=l;w.Fy=q("jl");
w.ae=function(a,b,c){this.A=a;this.j=c.la();this.v=new X(a);this.ux=new X(a);this.jl=new X(a);this.v.Z(this.ux);this.v.Z(this.jl);this.Lp||(this.Lp=new X(a),this.Mp=new ae,this.v.Z(this.Lp));b.Z?b.Z(this.v):b.appendChild(this.v.q);Qu(this,this.J.XG)};w.kf=l;function Fv(a){a.kf=new vv;a.kf.Tp=function(b,c){a.RN.call(a,c.message)}}w.rp=n;w.refresh=function(){this.cd||(this.rp=i,this.fb.G().refresh())};w.yx=function(){!this.cd&&this.fb&&this.fb.yx()};w.md=function(a,b){this.cd||this.fb.G().md(a,b)};
w.dk=function(a,b,c){this.cd||this.fb.G().dk(a,b,c)};w.Xk=function(a,b){this.cd||this.fb.G().Xk(a,b)};w.kl=function(a,b,c){this.cd||this.fb.G().kl(a,b,c)};w.$j=function(a,b,c){this.cd||this.fb.G().$j(a,b,c)};w.Ck=function(a,b,c){this.cd||this.fb.G().Ck(a,b,c)};w.Jj=function(a,b,c){this.cd||this.fb.G().OK(a,b,c)};w.ek=function(a){this.cd||this.fb.G().ek(a)};w.fk=function(a,b){this.cd||this.fb.G().fk(a,b)};w.Yk=function(a){this.cd||this.fb.G().Yk(a)};w.ll=function(a,b){this.cd||this.fb.G().ll(a,b)};
w.el=function(a,b){this.cd||this.fb.G().el(a,b)};w.Dk=function(a,b){this.cd||this.fb.G().Dk(a,b)};w.Bk=function(a,b){this.cd||this.fb.G().Bk(a,b)};w.al=function(a,b){this.cd||this.fb.G().al(a,b)};w.Ij=l;w.vv=i;w.Ow=l;w.Pi=function(a,b,c){this.Ij=b;this.vv=c!=l&&c!=g?c:i;this.Ow=a;this.kf.nw();wv(this.kf,a);if(0==this.kf.dh.length)this.Th(xv[a]);else{var e=this;Gv(this);this.kf.Tk=function(){e.zN.call(e)};this.kf.load()}};w.zN=function(){this.Th(xv[this.Ow])};w.dv=l;
w.io=function(a){this.dv=a;this.kf.nw();wv(this.kf,a);if(0==this.kf.dh.length)this.Nj(xv[a]);else{var b=this;Gv(this);this.kf.Tk=function(){b.uN.call(b)};this.kf.load()}};w.uN=function(){this.Nj(xv[this.dv])};w.Kc=l;w.Th=function(a){this.Zk(Ab(a))};w.Nj=function(a){this.Zk(eval("("+a+")"))};w.Zk=function(a){this.Ij&&(a=Zb(a,this.Ij));this.Kc=a;Qu(this,this.J.nJ);try{this.Pv()}catch(b){mg(this.J,b),Qu(this,b.toString())}};w.Wq=l;
w.Pv=function(){if(!this.Kc)return this.Ks(),n;if(this.Wq){var a=1==this.Wq?"chart":"gauge";if(!B(this.Kc,a+"s")){var b=this.Kc,c={},e={};E(c,a+"s",e);E(e,a,b);this.Kc=c}}return i};function Hv(a){a.PH(a.Kc);0==a.kf.dh.length?a.sK():(Qu(a,a.J.XJ),a.kf.Tk=function(){a.sK.call(a)},a.kf.load())}w.sK=function(){Iv(this);var a=this.j.la();this.v.eb(a.x,a.y);this.fb.ae(this.ux,a);this.fb.uJ()?this.fb.$p():1==this.mB&&$u(this.J.fb);this.jI();this.fb.ga();this.iI()};w.tq=l;w.Lp=l;w.Mp=l;w.Ox=l;
function Qu(a,b,c,e){c!==i&&be(a.Mp);Iv(a);a.Ox=b;a.Mp.f({format:b,rotation:e});a.Mp.Kb(a.A,b);a.Lp.Z(a.Mp.Zb(a.A));b=a.Mp.k();a.Lp.eb(a.j.x+(a.j.width-b.width)/2,a.j.y+(a.j.height-b.height)/2)}function Iv(a){a.Lp&&a.Lp.clear();a.Ox=l}w.Ks=function(){var a=this.J.qF,b=a&&B(a,"text")?G(a,"text"):this.J.mK;this.Mp.f(this.J.qF);Qu(this,b,i,D(a,"rotation"))};function Gv(a,b){b||(b=a.J.WJ);Qu(a,b)}w.RN=function(a){Qu(this,"Error: "+a)};w.fb=l;w.clear=function(){this.fb=l;this.v!=l&&this.v.clear()};
w.ya=function(a){this.j=a;this.Ox&&Qu(this,this.Ox,i);this.fb&&this.fb.ya(a)};function Pu(a,b){this.AC=b;this.tq=a.tq;Ev.call(this,a)}x.e(Pu,Ev);w=Pu.prototype;w.nG=function(){this.mB=1};w.AC=l;w.WK=p("v");w.Ra=q("v");w.ae=function(a,b,c){Pu.b.ae.call(this,a,b,c)};w.Pv=function(){Pu.b.Pv.call(this)&&Hv(this)};w.PH=function(){this.cd=n;this.fb=new Gu(this.J,this);this.fb.Ul(this.A);Ge(this,this.fb,this.Kc)};w.Ks=function(){this.fb.fG();Pu.b.Ks.call(this)};
w.jI=function(){this.rp||mg(this.J,new ie("dashboardViewRefresh",this.AC.getName()))};w.iI=function(){this.gy()};w.gy=function(){var a=this.J,b=this.AC.getName();this.rp?mg(a,new ie("dashboardViewRefresh",b)):mg(a,new ie("dashboardViewDraw",b));this.rp=n;a.WC++};function Jv(){Ev.call(this,this);this.tq=new Qe;this.Fa=new jd(20);this.Xq={};this.vx={};this.vv=n}x.e(Jv,Ev);w=Jv.prototype;w.nG=function(){this.mB=0};w.ae=function(a,b,c){Jv.b.ae.call(this,a,b,c)};w.VA=l;
function Kv(a){a.VA=l;if(B(a.Kc,"templates")){var b=D(a.Kc,"templates");B(b,"path")&&(a.VA=G(b,"path"),Av(a.kf,a.VA));Re(a.tq,F(b,"template"))}0==a.kf.dh.length?Hv(a):(Qu(a,a.J.YJ),a.kf.Tk=function(){a.yN.call(a)},a.kf.load())}w.yN=function(){var a=Bb(xv[this.VA]);Re(this.tq,F(a,"template"));Hv(this)};
w.Zk=function(a){B(a,"anychart")&&(a=D(a,"anychart"));if(this.vv){var b=this.A;Tc(b.$m);b.Hr.clear();b.kE.clear();b.xk.clear();this.Xq={};this.vx={};this.tq.clear();this.ux.clear();this.jl.clear();Iv(this);if(this.cd)for(var c in this.Mw)this.Mw[c].yx();else this.yx()}Jv.b.Zk.call(this,a);this.vv=i};w.Fa=l;w.Mq=l;w.qF=l;
w.Pv=function(){if(Jv.b.Pv.call(this)){if(this.Mq=B(this.Kc,"margin")&&!this.Mq?D(this.Kc,"margin"):Nb(this.Mq,D(this.Kc,"margin"),"margin"))E(this.Kc,"margin",this.Mq),this.Fa.f(this.Mq);this.Qx=new Og;this.oK=new Qg;if(B(this.Kc,"settings")){var a=D(this.Kc,"settings");if(B(a,"locale")){var b=D(a,"locale");B(b,"date_time_format")&&this.Qx.f(D(b,"date_time_format"));B(b,"number_format")&&this.oK.f(D(b,"number_format"))}B(a,"no_data")&&(a=D(a,"no_data"),B(a,"label")&&(this.qF=D(a,"label")))}this.Qx.p();
B(this.Kc,"gauges")&&(Lv(this,F(D(this.Kc,"gauges"),"gauge"),2),this.Wq=2);B(this.Kc,"charts")&&(Lv(this,F(D(this.Kc,"charts"),"chart"),1),this.Wq=1);Kv(this)}};w.cd=l;w.PH=function(){B(this.Kc,"dashboard")&&B(D(this.Kc,"dashboard"),"view")?(this.cd=i,this.WC=0,this.fb=new Zu(this),this.fb.Es(this.Fa),this.fb.Ul(this.A),this.fb.f(D(D(this.Kc,"dashboard"),"view"))):(this.cd=n,this.fb=new Gu(this,this),this.fb.Es(this.Fa),this.fb.Ul(this.A),Ge(this,this.fb,this.Kc))};w.Xq=l;w.vx=l;
function Lv(a,b,c){for(var e=b.length,f=0;f<e;f++){var h=b[f];if(h&&B(h,"name")){var j=a,k=D(h,"name"),m=c;j.Xq[k]=h;j.vx[k]=m}}}w.jI=function(){this.rp||mg(this,new he("anychartRender"))};w.iI=function(){this.fb&&(this.cd?(0==this.fb.Gm.length||this.fb.Gm.length<=this.WC)&&this.gy():this.gy())};w.gy=function(){this.rp?mg(this,new he("anychartRefresh")):mg(this,new he("anychartDraw"));this.rp=n};w.WC=l;function mg(a,b){x.w.dispatchEvent(a,b)}w.Qx=l;w.Kd=q("Qx");w.oK=l;w.Va=function(){return this.fb.Va()};
w.oq=function(a,b){if(this.cd){var c=on(this,a);c&&c.Pi(b)}};function on(a,b){if(!a.cd)return l;var c=a.fb.Mw[b];return!c||!c.fb||!c.fb.G()?l:c}w.nt=function(a,b,c){(a=on(this,a))&&a.al(b,c)};w.et=function(a,b){var c=on(this,a);c&&c.ek(b)};w.lt=function(a,b){var c=on(this,a);c&&c.Yk(b)};w.ft=function(a,b,c){(a=on(this,a))&&a.fk(b,c)};w.qt=function(a,b,c){(a=on(this,a))&&a.ll(b,c)};w.ot=function(a,b,c){(a=on(this,a))&&a.el(b,c)};w.ct=function(a,b,c){(a=on(this,a))&&a.md(b,c)};
w.dt=function(a,b,c,e){(a=on(this,a))&&a.dk(b,c,e)};w.kt=function(a,b,c){(a=on(this,a))&&a.Xk(b,c)};w.pt=function(a,b,c,e){(a=on(this,a))&&a.kl(b,c,e)};w.jt=function(a){(a=on(this,a))&&a.refresh()};w.it=function(a,b,c){(a=on(this,a))&&a.Dk(b,c)};w.ht=function(a,b,c,e){var f=on(this,a);f&&f.Ck(a,b,c,e)};w.gt=function(a,b,c){(a=on(this,a))&&a.Bk(b,c)};w.mt=function(a,b,c,e){(a=on(this,a))&&a.Jj(b,c,e)};w.Zs=function(a,b,c,e){(a=on(this,a))&&a.$j(b,c,e)};
w.Xs=function(a,b){if(b instanceof Document)b=Bb(b);else if("string"==typeof b&&"<"==b.charAt(0))b=Ab(b);else if(!(b instanceof Object))return;for(var c=b,e=0,f=this.Kc,h=a.length,j;e<h;){j=a.charAt(e);var k,m;switch(j){case "/":e++;break;case "[":j=a.substring(e,a.indexOf("]",e));e+=j.length+1;if(!x.isArray(f))continue;j=j.substring(1);f=f[j];break;case "(":j=a.substring(e,a.indexOf(")",e));e+=j.length+1;j=j.substring(1);k=j.split("=");j=k[0];var s=k[1];k=l;for(m in f)f[m][j]!=g&&f[m][j]==s&&(k==
l?k=f[m]:(x.isArray(k)||(k=[k]),k.push(f[m])));f=k;break;default:if("."==j&&e<a.length-1&&"."==a.charAt(e+1)){k=Mv(a,e);e=k[1];f=k=f.bQ(k[0].substr(2));break}k=Mv(a,e);e=k[1];j=k[0];f=x.isArray(f)?f[0][j]:f[j]}}f!=l&&(c=zk(c),Ob(f,c,f),c.text&&(f.text=c.text),c.format&&(f.text=c.format));this.Zk(this.Kc)};
function Mv(a,b){for(var c=a.charAt(b),e="",f=i,h=a.length;b<h&&f;)e+=c,b++,c=a.charAt(b),f=a.charAt(b),f="["==f||"]"==f||"("==f||")"==f||"/"==f?n:!("."==f&&b<a.length-1&&"."==a.charAt(b+1));return[e,b]}w.pB=l;w.XG=l;w.nJ=l;w.WJ=l;w.XJ=l;w.YJ=l;w.mK=l;w.fG=p("mK");function Nv(){}x.Rg("anychart.render.svg.SVGRenderer",Nv);w=Nv.prototype;w.A=l;w.J=l;w.ha=l;w.Gt=u(i);
w.ip=function(a){if(x.userAgent.bk){var b=document.getElementsByTagName("head")[0],c=document.createElement("meta");c.name="anychart.com";c.content="IE=Edge";c["http-equiv"]="X-UA-Compatible";b.appendChild(c)}this.Eo()&&(this.ha=a,this.A=new Kc,this.J=new Jv,this.J.XG=this.ha.messages.waitingForData,this.J.fG(this.ha.messages.noData),this.J.YJ=this.ha.messages.loadingTemplates,this.J.XJ=this.ha.messages.loadingResources,this.J.WJ=this.ha.messages.loadingConfig,this.J.nJ=this.ha.messages.init,this.ha.watermark&&
(this.J.pB=this.ha.watermark),x.w.Ua(this.J,"anychartDraw",this.pI,n,this),x.w.Ua(this.J,"anychartRender",this.JK,n,this),x.w.Ua(this.J,"valueChange",this.rL,n,this),x.w.Ua(this.J,"anychartError",this.vI,n,this),x.w.Ua(this.J,"anychartRefresh",this.DK,n,this),x.w.Ua(this.J,"dashboardViewDraw",this.rI,n,this),x.w.Ua(this.J,"dashboardViewRender",this.KK,n,this),x.w.Ua(this.J,"dashboardViewRefresh",this.EK,n,this),x.w.Ua(this.A.Uc(),z.Sw,this.cA,n,this),x.w.Ua(window,z.Sw,this.cA,n,this),x.w.Ua(this.A.Uc(),
z.$h,this.eK,n,this),x.w.Ua(this.A.Uc(),z.ro,this.dK,n,this),x.w.Ua(this.A.Uc(),z.Cq,this.gK,n,this),x.w.Ua(this.J,"pointClick",this.gh,n,this),x.w.Ua(this.J,"pointMouseOver",this.gh,n,this),x.w.Ua(this.J,"pointMouseOut",this.gh,n,this),x.w.Ua(this.J,"pointMouseDown",this.gh,n,this),x.w.Ua(this.J,"pointMouseUp",this.gh,n,this),x.w.Ua(this.J,"pointSelect",this.gh,n,this),x.w.Ua(this.J,"pointDeselect",this.gh,n,this),this.ha.visible||this.Pu())};w.qK=o();w.rK=o();
w.Uc=function(a){var b=new XMLSerializer,c=this.A.Uc(),c=b.serializeToString(c);if(a){var a="",e,f,h,j,k,m,b=0,c=c.replace(/\r\n/g,"\n");f="";for(h=0;h<c.length;h++)j=c.charCodeAt(h),128>j?f+=String.fromCharCode(j):(127<j&&2048>j?f+=String.fromCharCode(j>>6|192):(f+=String.fromCharCode(j>>12|224),f+=String.fromCharCode(j>>6&63|128)),f+=String.fromCharCode(j&63|128));for(c=f;b<c.length;)e=c.charCodeAt(b++),f=c.charCodeAt(b++),h=c.charCodeAt(b++),j=e>>2,e=(e&3)<<4|f>>4,k=(f&15)<<2|h>>6,m=h&63,isNaN(f)?
k=m=64:isNaN(h)&&(m=64),a=a+ic().charAt(j)+ic().charAt(e)+ic().charAt(k)+ic().charAt(m)}else a=c;return a};w.show=function(){this.A.Uc().setAttribute("visibility","visible")};w.Pu=function(){this.A.Uc().setAttribute("visibility","hidden")};function Ov(){window.console&&window.console.log("Feature not supported yet")}w.Eo=function(){return window.SVGAngle!=g};
w.write=function(a){if(this.Eo()){var b=this.A.Uc();b.setAttribute("width",this.ha.width);b.setAttribute("height",this.ha.height);a.appendChild(b);document.body.appendChild(this.A.ps);this.j=this.PD();this.J.ae(this.A,this.A.Uc(),this.j);return i}};
w.PD=function(){var a,b,c=this.A.Uc();a=c.clientWidth;b=c.clientHeight;a||(a=/^([0-9]+\%?)/.exec(this.ha.width)[1],a=Db(a)?c.parentNode.clientWidth*Eb(a):a);b||(b=/^([0-9]+\%?)/.exec(this.ha.height)[1],b=Db(b)?c.parentNode.clientHeight*Eb(b):b);return new R(0,0,a,b)};w.eB=o();w.nq=function(a,b){this.A.Uc().setAttribute("width",a);this.A.Uc().setAttribute("height",b);this.ya(a,b)};
w.remove=function(){this.A.Uc().parentNode&&(this.A.Uc().parentNode.removeChild(this.A.Uc()),x.w.bc(this.J,"anychartDraw",this.pI,n,this),x.w.bc(this.J,"anychartRender",this.JK,n,this),x.w.bc(this.J,"valueChange",this.rL,n,this),x.w.bc(this.J,"anychartError",this.vI,n,this),x.w.bc(this.J,"anychartRefresh",this.DK,n,this),x.w.bc(this.J,"dashboardViewDraw",this.rI,n,this),x.w.bc(this.J,"dashboardViewRender",this.KK,n,this),x.w.bc(this.J,"dashboardViewRefresh",this.EK,n,this),x.w.bc(this.A.Uc(),z.Sw,
this.cA,n,this),x.w.bc(window,z.Sw,this.cA,n,this),x.w.bc(this.A.Uc(),z.$h,this.eK,n,this),x.w.bc(this.A.Uc(),z.ro,this.dK,n,this),x.w.bc(this.A.Uc(),z.Cq,this.gK,n,this),x.w.bc(this.J,"pointClick",this.gh,n,this),x.w.bc(this.J,"pointMouseOver",this.gh,n,this),x.w.bc(this.J,"pointMouseOut",this.gh,n,this),x.w.bc(this.J,"pointMouseDown",this.gh,n,this),x.w.bc(this.J,"pointMouseUp",this.gh,n,this),x.w.bc(this.J,"pointSelect",this.gh,n,this),x.w.bc(this.J,"pointDeselect",this.gh,n,this))};
w.clear=function(){var a=this.J;a.cd||a.fb.G().clear()};w.refresh=function(){this.J.refresh()};w.Xs=function(a,b){this.J.Xs(a,b)};w.tA=function(a){Gv(this.J,a)};w.oy=function(){return this.J.Va()};w.pI=function(){this.ha.enabledChartEvents&&this.ha.dispatchEvent({type:"draw"})};w.JK=function(){this.ha.enabledChartEvents&&this.ha.dispatchEvent({type:"render"})};w.DK=function(){this.ha.enabledChartEvents&&this.ha.dispatchEvent({type:"refresh"})};
w.vI=function(a){this.ha.enabledChartEvents&&this.ha.dispatchEvent({type:"error",errorCode:a.errorCode,errorMessage:a.errorMessage})};w.rL=function(a){this.ha.enabledChartEvents&&this.ha.dispatchEvent({type:"valueChange",params:a.CF})};w.rI=function(a){this.ha.enabledChartEvents&&this.ha.dispatchEvent({type:"drawView",view:a.iB})};w.KK=function(a){this.ha.enabledChartEvents&&this.ha.dispatchEvent({type:"renderView",view:a.iB})};
w.EK=function(a){this.ha.enabledChartEvents&&this.ha.dispatchEvent({type:"refreshView",view:a.iB})};w.cA=function(){var a=this.PD();if(this.j.width!=a.width||this.j.height!=a.height)this.j=a.la(),this.ya(this.j.width,this.j.height),this.ha.enabledChartEvents&&this.ha.dispatchEvent({type:"resize"})};w.eK=function(a){this.ha.enabledChartMouseEvents&&this.ha.dispatchEvent({type:"chartMouseMove",mouseX:a.clientX,mouseY:a.clientY})};
w.dK=function(a){this.ha.enabledChartMouseEvents&&this.ha.dispatchEvent({type:"chartMouseDown",mouseX:a.clientX,mouseY:a.clientY})};w.gK=function(a){this.ha.enabledChartMouseEvents&&this.ha.dispatchEvent({type:"chartMouseUp",mouseX:a.clientX,mouseY:a.clientY})};w.gh=function(a){if(a.g){var b=a.g,c=b.Va();c.Series=b.l.Va();b=c}this.ha.dispatchEvent({type:a.ub(),data:b,mouseX:a.hK,mouseY:a.iK})};w.ya=function(a,b){if(this.J&&a&&!(0>a||!b||0>b||!this.J))this.j.width=a,this.j.height=b,this.J.ya(this.j)};
w.Pi=function(a){this.J.Pi(a)};w.Th=function(a){this.J.Th(a)};w.Nj=function(a){this.J.Zk(a)};w.io=function(a){this.J.io(a)};w.gw=function(a){this.J.Th(a)};w.BA=function(a){this.J.Pi(a)};w.oq=function(a,b){this.J.oq(a,b,l)};w.xA=function(a,b){var c=this.J;c.cd&&(c=on(c,a))&&c.Th(b)};w.md=function(a,b){this.J.md(a,b)};w.dk=function(a,b,c){this.J.dk(a,b,c)};w.Xk=function(a,b){this.J.Xk(a,b)};w.kl=function(a,b,c){this.J.kl(a,b,c)};w.$j=function(a,b,c){2==this.J.Wq?this.J.$j(a,b,c):Ov()};
w.Ck=function(a,b,c){this.J.Ck(a,b,c)};w.Jj=function(a,b,c){this.J.Jj(a,b,c)};w.dB=function(){Ov()};w.MA=function(){Ov()};w.ek=function(a){this.J.ek(a)};w.fk=function(a,b){this.J.fk(a,b)};w.Yk=function(a){this.J.Yk(a)};w.ll=function(a,b){this.J.ll(a,b)};w.el=function(a,b){this.J.el(a,b)};w.Dk=function(a,b){this.J.Dk(a,b)};w.Bk=function(a,b){this.J.Bk(a,b)};w.IA=function(){Ov()};w.al=function(a,b){this.J.al(a,b)};w.nt=function(a,b,c){this.J.nt(a,b,c)};w.et=function(a,b){this.J.et(a,b)};
w.lt=function(a,b){this.J.lt(a,b)};w.ft=function(a,b,c){this.J.ft(a,b,c)};w.qt=function(a,b,c){this.J.qt(a,b,c)};w.ot=function(a,b,c){this.J.ot(a,b,c)};w.ct=function(a,b,c){this.J.ct(a,b,c)};w.dt=function(a,b,c,e){this.J.dt(a,b,c,e)};w.kt=function(a,b,c){this.J.kt(a,b,c)};w.pt=function(a,b,c,e){this.J.pt(a,b,c,e)};w.nB=function(a){(a=on(this.J,a))&&(a.cd||a.fb.G().clear())};w.jt=function(a){this.J.jt(a)};w.it=function(a,b,c){this.J.it(a,b,c)};w.ht=function(a,b,c,e){this.J.ht(a,b,c,e)};
w.gt=function(a,b,c){this.J.gt(a,b,c)};w.mt=function(a,b,c,e){this.J.mt(a,b,c,e)};w.Zs=function(a,b,c,e){this.J.Zs(a,b,c,e)};w.Dr=function(){Ov()};w.Cy=function(){Ov()};w.Zz=function(){Ov()};w.kA=function(){Ov()};w.lA=function(){Ov()};w.mA=function(){Ov()};w.nA=function(){Ov()};w.scrollTo=function(){Ov()};w.kB=function(){Ov()};w.lB=function(){Ov()};w.Iy=function(){Ov()};w.Jy=function(){Ov()};w.Gy=function(){Ov()};w.Hy=function(){Ov()};w.CA=function(){Ov()};w.DA=function(){Ov()};w.EA=function(){Ov()};
w.yA=function(){Ov()};w.zA=function(){Ov()};w.AA=function(){Ov()};w.Zw=function(){Ov()};})()