Number(rc)&&
(d.src='javascript:""');c.ae=Lf(c.Hd).f("IFRAME",d);d=c.ae.style;d.visibility="hidden";d.width=d.height="10px";d.display="none";lc?d.marginTop=d.marginLeft="-10px":(d.position="absolute",d.top=d.left="-10px");if(ic&&!vc("11")){c.Hd.target=c.Zk||"";Lf(c.Hd).b.body.appendChild(c.ae);Sc(c.ae,"readystatechange",c.Xw,!1,c);try{c.b=!1,c.Hd.submit()}catch(xb){$c(c.ae,"readystatechange",c.Xw,!1,c),hn(c)}}else{Lf(c.Hd).b.body.appendChild(c.ae);var d=c.Zk+"_inner",e=kg(c.ae),f;document.baseURI?(f=Ba(d),hf("Short HTML snippet, input escaped, safe URL, for performance"),
f='',f=Cf(f,null)):(f=Ba(d),hf("Short HTML snippet, input escaped, for performance"),f=Cf('',null));hc&&!lc?e.documentElement.innerHTML=Af(f):e.write(Af(f));Sc(e.getElementById(d),"load",c.ms,!1,c);var h=Pf("TEXTAREA",c.Hd);f=0;for(var k=h.length;f.");if("A"in Jf)throw Error("Tag name is not allowed for SafeHtml.");y=null;var va;A="";if(x)for(var za in x){if(!Ef.test(za))throw Error('Invalid attribute name "'+za+'".');var sb=x[za];if(null!=sb){D=A;var Nc,P=za,R=sb;if(R instanceof
ef)R=gf(R);else if("style"==P.toLowerCase()){T=R;if(!z(T))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof T+" given: "+T);if(!(T instanceof jf)){Z=T;f="";k=void 0;for(k in Z){if(!/^[-_a-zA-Z0-9]+$/.test(k))throw Error("Name allows only [-_a-zA-Z0-9], got: "+k);var Ia=Z[k];if(null!=Ia){if(Ia instanceof ef)Ia=gf(Ia);else if(nf.test(Ia)){l=h=!0;for(n=0;n";else{var hd=Kf(I);va+=">"+Af(hd)+"";y=hd.Am()}var nb=x&&x.dir;nb&&(/^(ltr|rtl|auto)$/i.test(nb)?y=0:y=null);V=Cf(va,y);v=Kf(aa,V,Df("\nLine: "+w.lineNumber+"\n\nBrowser stack:\n"+w.stack+"-> [end]\n\nJS stack traversal:\n"+gl(void 0)+"-> "))}catch(Uf){v=Df("Exception trying to expose exception! You win, we lose. "+Uf)}Af(v);$c(e.getElementById(d),"load",c.ms,!1,c);
e.close();hn(c)}}jn(c)}function gn(a,b){var c=Lf(a);zk(b,function(b,e){q(b)||(b=[b]);Xa(b,function(b){b=c.f("INPUT",{type:"hidden",name:e,value:b});a.appendChild(b)})})}g=cn.prototype;g.Hd=null;g.ae=null;g.Zk=null;g.IN=0;g.oi=!1;g.gD=null;g.AD=null;g.Yk=null;g.abort=function(){this.oi&&(bd(kn(this)),this.oi=!1,this.dispatchEvent("abort"),ln(this))};g.da=function(){this.oi&&this.abort();cn.F.da.call(this);this.ae&&mn(this);jn(this);delete this.g;this.gD=this.AD=this.Hd=null;delete en[this.f]};
g.Ij=function(){return this.oi};g.Xw=function(){if("complete"==this.ae.readyState){$c(this.ae,"readystatechange",this.Xw,!1,this);var a;try{if(a=kg(this.ae),ic&&"about:blank"==a.location&&!navigator.onLine){hn(this);return}}catch(b){hn(this);return}nn(this,a)}};g.ms=function(){if(!hc||lc||"about:blank"!=(this.ae?kg(kn(this)):null).location){$c(kn(this),"load",this.ms,!1,this);try{nn(this,this.ae?kg(kn(this)):null)}catch(a){hn(this)}}};
function nn(a,b){a.oi=!1;var c;try{var d=b.body;a.AD=d.textContent||d.innerText}catch(e){c=1}c||"function"!=typeof a.g||(d=a.g(b))&&(c=4);c?hn(a):(a.dispatchEvent("complete"),a.dispatchEvent("success"),ln(a))}function hn(a){a.b||(a.oi=!1,a.dispatchEvent("complete"),a.dispatchEvent("error"),ln(a),a.b=!0)}function ln(a){mn(a);jn(a);a.Hd=null;a.dispatchEvent("ready")}
function mn(a){var b=a.ae;b&&(b.onreadystatechange=null,b.onload=null,b.onerror=null,a.i.push(b));a.Yk&&(ca.clearTimeout(a.Yk),a.Yk=null);kc||hc&&!lc?a.Yk=kd(a.bC,2E3,a):a.bC();a.ae=null;a.Zk=null}g.bC=function(){this.Yk&&(ca.clearTimeout(this.Yk),this.Yk=null);for(;this.i.length;){var a=this.i.pop();gg(a)}};function jn(a){a.Hd&&a.Hd==fn&&eg(a.Hd)}function kn(a){return a.ae?ic&&!vc("11")?a.ae:kg(a.ae).getElementById(a.Zk+"_inner"):null}
g.$E=function(){if(this.oi){var a=this.ae?kg(kn(this)):null;a&&!ec(a,"documentUri")?($c(kn(this),"load",this.ms,!1,this),hn(this)):kd(this.$E,250,this)}};var on={};function ih(a){var b=a.X();if(b){var c=String(ka(a));on[c]=a;b.setAttribute("data-ac-wrapper-id",c)}}function qh(a){delete on[String(ka(a))];(a=a.X())&&a.removeAttribute("data-ac-wrapper-id")}function ak(a,b){for(var c,d=b.X().parentNode;a&&a!=d;){c=a.getAttribute&&a.getAttribute("data-ac-wrapper-id")||null;if(null!=c)break;a=a.parentNode}return(c=on[c||""]||null)&&c.X()==a?c:null}var Rl="svg",Ql=null,Ql=ic&&!vc("9")?"vml":Rl,bh="vml"==Ql?Cm.Mc():Hj.Mc();
function jm(a,b,c){return"vml"==Ql?new $m(a,b,c):new mm(a,b,c)}var Ol="//export.anychart.com";function nk(a,b){var c;a&&(c=Zf("STYLE"),c.type="text/css",c.styleSheet?c.styleSheet.cssText=a:c.appendChild(document.createTextNode(String(a))),fg(Qf("head",void 0,b)[0],c))}ca.acgraph=ca.acgraph||{};ca.acgraph.fontSize="10px";ca.acgraph.fontColor="#000";ca.acgraph.textDirection="ltr";ca.acgraph.fontFamily="Verdana";function mh(a,b,c,d){return new zh(a,b,c,d)}function nh(a,b,c){return new wh(a,b,c)}
function Uh(){return new Th}function oh(a,b,c,d){return new uh(a,b,c,d)}function ph(){return new Ah}function Xh(a,b,c,d,e){return new Ai(a,b,c,d,e)}function Wh(a,b,c,d){a="vml"==Ql?new Wm(a,b):new mj(a,b);d&&a.style(d);c&&a.text(c);return a}function Qe(a,b,c,d){return new sh(a,b,c,d)}function Me(a){return new Le(a)}function lh(a,b,c,d){return"vml"==Ql?new nm(null,a,b,c,d):new jh(null,a,b,c,d)}var pn=void 0;
function Uj(){return m(pn)?pn:ic&&vc("9")&&!vc("10")?pn="":pn=Xd||null===Xd&&Qf("base",void 0,void 0).length?window.location.origin+window.location.pathname+window.location.search:""}F("acgraph.create",jm);F("acgraph.type",function(){return Ql});F("acgraph.server",function(a){m(a)&&(Ol=a);return Ol});F("acgraph.StageType.SVG",Rl);F("acgraph.StageType.VML","vml");F("acgraph.rect",mh);F("acgraph.circle",nh);F("acgraph.ellipse",oh);F("acgraph.path",ph);F("acgraph.text",Wh);F("acgraph.layer",Uh);
F("acgraph.image",Xh);F("acgraph.hatchFill",Qe);F("acgraph.patternFill",Me);F("acgraph.clip",lh);F("acgraph.useAbsoluteReferences",function(a){if(m(a))Xd=a;else return!!Uj()});F("acgraph.updateReferences",function(){var a=pn;pn=void 0;if(m(a)&&Uj()!=a){var b=bh,c;for(c in on)if(on.hasOwnProperty(c)){var a=on[c],d=a.ja();d&&(a instanceof Tg&&(d.ac()?a.ya(512):a.Pb(512)||b.Ax(a)),a instanceof kh&&(d.ac()?a.ya(24):(a.Pb(8)||Tj(b,a),a.Pb(16)||Xj(b,a))))}}});F("anychart.VERSION","7.14.3.1436");F("anychart.DEVELOP",!1);F("anychart.DEFAULT_THEME","defaultTheme");F("anychart.PERFORMANCE_MONITORING",!1);function qn(a){a=String(a).toLowerCase();switch(a){case "byspot":case "spot":case "sp":return"bySpot";case "single":case "s":return"single"}return"byX"}function rn(a){a=String(a).toLowerCase();switch(a){case "singleselect":case "single":case "single_select":case "s":case "ss":return"singleSelect";case "multiselect":case "multi_select":case "multi":case "m":case "ms":return"multiSelect";case "drill":case "drilldown":case "drill_down":case "d":return"drillDown"}return"none"}
function sn(a,b){a=String(a).toLowerCase();switch(a){case "default":case "def":case "d":return"default";case "crosshair":case "cross":return"crosshair";case "pointer":case "point":return"pointer";case "move":return"move";case "text":return"text";case "wait":return"wait";case "help":return"help";case "n-resize":case "north":case "n":return"n-resize";case "ne-resize":case "northeast":case "ne":return"ne-resize";case "e-resize":case "east":case "e":return"e-resize";case "se-resize":case "southeast":case "se":return"se-resize";
case "s-resize":case "south":case "s":return"s-resize";case "sw-resize":case "southwest":case "sw":return"sw-resize";case "w-resize":case "west":case "w":return"w-resize";case "nw-resize":case "northwest":case "nw":return"nw-resize"}return b||"default"}
function tn(a,b){a=String(a).toLowerCase();switch(a){case "lefttop":case "topleft":case "lt":case "tl":return"leftTop";case "leftcenter":case "centerleft":case "left":case "lc":case "cl":case "l":return"leftCenter";case "leftbottom":case "bottomleft":case "lb":case "bl":return"leftBottom";case "centertop":case "topcenter":case "top":case "ct":case "tc":case "t":return"centerTop";case "centercenter":case "center":case "c":return"center";case "centerbottom":case "bottomcenter":case "bottom":case "cb":case "bc":case "b":return"centerBottom";
case "righttop":case "topright":case "tr":case "rt":return"rightTop";case "rightcenter":case "centerright":case "right":case "rc":case "cr":case "r":return"rightCenter";case "rightbottom":case "bottomright":case "rb":case "br":return"rightBottom";case "auto":case "null":return"auto"}return m(b)?b:"leftTop"}function un(a,b){a=tn(a,b);return"auto"==a&&m(b)?b:a}
function vn(a,b){a=String(a).toLowerCase();switch(a){case "left":return"left";case "right":return"right";case "center":case "middle":return"center";case "top":return"top";case "bottom":return"bottom"}return b||"center"}function wn(a){a=String(a).toLowerCase();switch(a){case "horizontal":case "h":case "horz":case "horiz":return"horizontal"}return"vertical"}
function xn(a,b){a=String(a).toLowerCase();switch(a){case "vertical":case "v":case "vert":return"vertical";case "horizontal":case "h":case "horz":case "horiz":return"horizontal";case "verticalexpandable":case "vexpandable":case "evertical":case "ve":case "vertical_expandable":return"verticalexpandable";case "horizontalexpandable":case "expandable":case "hexpandable":case "ehorizontal":case "he":case "horizontal_expandable":return"horizontalexpandable"}return b||"vertical"}
function yn(a){a=String(a).toLowerCase();switch(a){case "radial":case "r":case "rad":return"radial"}return"circuit"}
function zn(a,b){a=String(a).toLowerCase();switch(a){case "centertop":case "topcenter":case "top":case "t":case "up":case "u":return"top";case "rightcenter":case "centerright":case "right":case "r":return"right";case "bottomcenter":case "centerbottom":case "bottom":case "b":case "down":case "d":return"bottom";case "leftcenter":case "centerleft":case "left":case "l":return"left"}return b||"top"}
function An(a){a=String(a).toLowerCase();switch(a){case "desc":case "d":case "backward":case "b":case "reversed":case "reverse":case "r":return"desc";case "none":case "null":case "no":case "nosort":return"none"}return"asc"}
var Bn={PP:"circle",TQ:"square",gR:"triangleUp",fQ:"diamond",dR:"triangleDown",fR:"triangleRight",eR:"triangleLeft",SP:"cross",XF:"diagonalCross",VQ:"star4",WQ:"star5",XQ:"star6",YQ:"star7",UQ:"star10",sQ:"pentagon",cR:"trapezium",nQ:"line",jR:"vline",nP:"arrowhead",rP:"arrowUp",qP:"arrowRight",oP:"arrowDown",pP:"arrowLeft"};
function Cn(a,b){a=String(a).toLowerCase();switch(a){case "line":return"line";case "vline":return"vline";case "star4":return"star4";case "star5":return"star5";case "star6":return"star6";case "star7":return"star7";case "star10":return"star10";case "diamond":return"diamond";case "triangleup":return"triangleUp";case "triangledown":return"triangleDown";case "triangleleft":return"triangleLeft";case "triangleright":return"triangleRight";case "cross":return"cross";case "diagonalcross":return"diagonalCross";
case "circle":return"circle";case "square":return"square";case "trapezoid":case "trapezium":return"trapezium";case "pentagon":return"pentagon";case "arrow":case "arrowhead":return"arrowhead";case "arrowup":case "up":return"arrowUp";case "arrowdown":case "down":return"arrowDown";case "arrowright":case "right":return"arrowRight";case "arrowleft":case "left":return"arrowLeft"}return b||"star5"}
function Dn(a){a=String(a).toLowerCase();switch(a){case "star4":return"star4";case "star5":return"star5";case "star6":return"star6";case "star7":return"star7";case "star10":return"star10";case "diamond":return"diamond";case "triangleup":return"triangleUp";case "triangledown":return"triangleDown";case "triangleleft":return"triangleLeft";case "triangleright":return"triangleRight";case "cross":return"cross";case "diagonalcross":return"diagonalCross";case "circle":return"circle";case "square":return"square";
case "x":return En;case "line":return Fn;case "ellipse":return Gn;case "bar":return Hn;case "trapezoid":case "trapezium":return"trapezium";case "pentagon":return"pentagon";case "arrow":case "arrowhead":return"arrowhead";case "vline":return"vline";case "arrowup":case "up":return"arrowUp";case "arrowdown":case "down":return"arrowDown";case "arrowright":case "right":return"arrowRight";case "arrowleft":case "left":return"arrowLeft"}return null}
function In(a,b,c){a=String(a).toLowerCase();switch(a){case "no":case "false":case "nooverlap":case "none":case "null":case "forbid":case "0":return"noOverlap";case "yes":case "allow":case "overlap":case "allowoverlap":case "true":case "1":return"allowOverlap";case "autowidth":if(c)return"autoWidth"}return b||"allowOverlap"}
function Jn(a){a=String(a).toLowerCase();switch(a){case "area":return"area";case "bar":return"bar";case "bubble":return"bubble";case "candlestick":return"candlestick";case "column":return"column";case "line":return"line";case "marker":return"marker";case "ohlc":return"ohlc";case "rangearea":return"rangearea";case "rangebar":return"rangebar";case "rangecolumn":return"rangecolumn";case "rangesplinearea":return"rangesplinearea";case "rangesteparea":return"rangesteparea";case "spline":return"spline";
case "splinearea":return"splinearea";case "stepline":return"stepline";case "steparea":return"steparea";case "circle":return"circle";case "star4":return"star4";case "star5":return"star5";case "star6":return"star6";case "star7":return"star7";case "star10":return"star10";case "diamond":return"diamond";case "triangleup":return"triangleup";case "triangledown":return"triangledown";case "cross":return"cross";case "diagonalcross":return"diagonalcross";case "trapezoid":case "trapezium":return"trapezium";case "pentagon":return"pentagon";
case "arrow":case "arrowhead":return"arrowhead";case "vline":return"vline";case "rf":case "risingfalling":return"risingfalling"}return"square"}var En="x",Fn="line",Gn="ellipse",Hn="bar";function Kn(a,b){a=String(a).toLowerCase();switch(a){case "inside":case "in":case "i":case "inner":return"inside";case "outside":case "out":case "o":case "outer":return"outside";case "middle":case "mid":case "m":case "center":case "c":return"center"}return b||"inside"}
var Fd="animationstart",Dd="animationend",Ud="zoom",Wd="zoomend";function Ln(a){a=String(a).toLowerCase();switch(a){case "value":case "values":case "val":case "v":case "true":case "yes":case "y":case "t":case "1":return"value";case "percent":case "ratio":case "relative":case "p":case "r":return"percent"}return"none"}
function Mn(a){a=String(a).toLowerCase();switch(a){case "series":case "datastart":case "seriesstart":return"seriesStart";case "firstvisible":case "first":case "default":return"firstVisible"}return null}function Nn(a){a=String(a).toLowerCase();switch(a){case "bubble":return"bubble";case "marker":return"marker";case "connector":return"connector"}return"choropleth"}
function On(a){switch(String(a).toLowerCase()){case "bonne":return"bonne";case "eckert1":return"eckert1";case "eckert3":return"eckert3";case "fahey":return"fahey";case "hammeraitoff":case "hammer-aitoff":case "hammer":return"hammer";case "aitoff":return"aitoff";case "mercator":return"mercator";case "orthographic":return"orthographic";case "robinson":return"robinson";case "wagner":case "wagner6":return"wagner6";case "undefined":case "null":case "none":case "wsg84":case "base":case "+proj=longlat +datum=WGS84 +no_defs":return"wsg84";
case "equirectangular":return"equirectangular";case "august":return"august"}return a}function Pn(a){a=String(a).toLowerCase();switch(a){case "firstdate":case "fd":return"firstDate";case "firstvisibledate":case "fvd":return"firstVisibleDate";case "lastvisibledate":case "lvd":return"lastVisibleDate";case "lastdate":case "ld":return"lastDate"}return m(void 0)?void 0:"firstVisibleDate"}
function Qn(a){a=String(a).toLowerCase();switch(a){case "raw":return"raw";case "grouped":return"grouped"}return"specific"}
function Rn(a,b,c){a=String(a).toLowerCase();switch(a){case "years":case "year":case "yyyy":case "yy":case "y":return"year";case "semesters":case "semester":case "sem":return"semester";case "quarters":case "quarter":case "q":return"quarter";case "months":case "month":case "mm":case "m":return"month";case "thirdofmonths":case "thirdofmonth":case "decades":case "decade":case "tom":case "dec":return"thirdofmonth";case "weeks":case "week":case "w":return"week";case "days":case "day":case "dd":case "d":return"day";
case "hours":case "hour":case "hh":case "h":return c?"day":"hour";case "minutes":case "minute":case "min":case "n":return c?"day":"minute";case "seconds":case "second":case "secs":case "sec":case "s":return c?"day":"second";case "milliseconds":case "millisecond":case "millis":case "milli":case "ms":return c?"day":"millisecond"}return m(b)?b:"year"}
function Sn(a){a=String(a).toLowerCase();switch(a){case "false":case "null":case "none":return"none";case "x":return"x";case "y":case "value":return"value"}return"both"}function Tn(a){z(a)&&(a=a.mode);a=String(a).toLowerCase();switch(a){case "byword":return"byWord";case "bychar":return"byChar"}return"csv"}
function Un(a){a=String(a).toLowerCase();switch(a){case "left":case "l":return"left";case "right":case "r":return"right";case "center":case "middle":case "c":case "m":return"center";case "end":case "e":return"end"}return"start"}function Vn(a){a=String(a).toLowerCase();switch(a){case "bottom":case "b":return"bottom";case "center":case "middle":case "c":case "m":return"middle"}return"top"}
function Wn(a){a=String(a).toLowerCase();switch(a){case "blink":case "b":return"blink";case "line-through":case "line_through":case "linethrough":case "line":case "l":return"line-through";case "overline":case "over":case "o":return"overline";case "underline":case "under":case "u":return"underline"}return"none"}function Xn(a){a=String(a).toLowerCase();switch(a){case "italic":case "i":return"italic";case "oblique":case "o":return"oblique"}return"normal"}
function Yn(a){a=String(a).toLowerCase();switch(a){case "small-caps":case "small_caps":case "smallcaps":case "small":case "caps":case "sc":case "s":case "c":return"small-caps"}return"normal"}function Zn(a){a=String(a).toLowerCase();switch(a){case "rtl":case "r":return"rtl"}return"ltr"}function $n(a){a=String(a).toLowerCase();switch(a){case "nowrap":case "no":case "n":return"noWrap";case "byword":return"byWord";default:return"byLetter"}}
function ao(a){a=String(a).toLowerCase();switch(a){case "first":case "open":return"first";case "last":case "close":return"last";case "max":case "high":case "maximum":case "highest":return"max";case "min":case "low":case "minimum":case "lowest":return"min";case "average":case "avg":return"average";case "weightedaverage":case "weightedavg":case "wavg":case "weights":case "weighted":return"weightedAverage";case "firstvalue":case "firstval":case "openvalue":case "openval":return"firstValue";case "lastvalue":case "lastval":case "closevalue":case "closeval":case "fill":case "hoverfill":case "risingfill":case "hoverrisingfill":case "fallingfill":case "hoverfallingfill":case "stroke":case "hoverstroke":case "lowstroke":case "hoverlowstroke":case "highstroke":case "hoverhighstroke":case "risingstroke":case "hoverrisingstroke":case "fallingstroke":case "hoverfallingstroke":case "hatchfill":case "hoverhatchfill":case "risinghatchfill":case "hoverrisinghatchfill":case "fallinghatchfill":case "hoverfallinghatchfill":case "marker":case "hovermarker":return"lastValue";
case "sum":case "add":return"sum";case "list":case "group":case "array":return"list";default:return"last"}}function bo(a){if(!a)return"exact";a=String(a).toLowerCase();switch(a){default:return"exact";case "exactornext":case "next":case "n":return"exactOrNext";case "exactorprev":case "prev":case "p":return"exactOrPrev";case "nearest":case "near":case "closest":case "close":case "c":return"nearest"}}
var co={sP:"average",sF:"bubbleSize",tF:"bubbleSizePercentOfCategory",uF:"bubbleSizePercentOfSeries",vF:"bubbleSizePercentOfTotal",vP:"categoryName",wF:"categoryYAverage",xP:"categoryYMax",xF:"categoryYMedian",AP:"categoryYMin",yF:"categoryYMode",zF:"categoryYPercentOfTotal",DP:"categoryYRangeAverage",AF:"categoryYRangeMax",GP:"categoryYRangeMedian",BF:"categoryYRangeMin",JP:"categoryYRangeMode",CF:"categoryYRangePercentOfTotal",DF:"categoryYRangeSum",EF:"categoryYSum",FF:"close",RP:"count",GF:"dataPlotBubbleMaxSize",
HF:"dataPlotBubbleMinSize",IF:"dataPlotBubbleSizeAverage",JF:"dataPlotBubbleSizeSum",XP:"dataPlotMaxXSumSeriesName",ZP:"dataPlotMaxYSumSeriesName",YP:"dataPlotMaxXValuePointSeriesName",$P:"dataPlotMaxYValuePointSeriesName",aQ:"dataPlotMinXSumSeriesName",cQ:"dataPlotMinYSumSeriesName",bQ:"dataPlotMinXValuePointSeriesName",dQ:"dataPlotMinYValuePointSeriesName",KF:"dataPlotPointCount",LF:"dataPlotSeriesCount",MF:"dataPlotXAverage",NF:"dataPlotXMax",OF:"dataPlotXMin",PF:"dataPlotXSum",QF:"dataPlotYAverage",
RF:"dataPlotYMax",SF:"dataPlotYMin",TF:"dataPlotYRangeMax",UF:"dataPlotYRangeMin",VF:"dataPlotYRangeSum",WF:"dataPlotYSum",ZF:"high",$F:"index",aG:"low",oQ:"max",qQ:"min",rQ:"name",OPEN:"open",IQ:"pointsCount",FQ:"pertChartCriticalPathStandardDeviation",GQ:"pertChartProjectDuration",dG:"range",eG:"rangeEnd",fG:"rangeStart",KQ:"seriesAverage",gG:"seriesBubbleMaxSize",hG:"seriesBubbleMinSize",iG:"seriesBubbleSizeAverage",jG:"seriesBubbleSizeMedian",kG:"seriesBubbleSizeMode",lG:"seriesBubbleSizeSum",
mG:"seriesFirstXValue",nG:"seriesFirstYValue",oG:"seriesLastXValue",pG:"seriesLastYValue",LQ:"seriesMax",MQ:"seriesMin",NQ:"seriesName",rG:"seriesPointCount",qG:"seriesPointsCount",OQ:"seriesSum",sG:"seriesXAverage",tG:"seriesXMax",uG:"seriesXMedian",vG:"seriesXMin",wG:"seriesXMode",xG:"seriesXSum",yG:"seriesYAverage",zG:"seriesYMax",AG:"seriesYMedian",BG:"seriesYMin",CG:"seriesYMode",PQ:"seriesYRangeAverage",DG:"seriesYRangeMax",QQ:"seriesYRangeMedian",EG:"seriesYRangeMin",RQ:"seriesYRangeMode",
FG:"seriesYRangeSum",GG:"seriesYSum",aR:"sum",HG:"value",cG:"percentValue",JG:"xPercentOfSeries",KG:"xPercentOfTotal",LG:"xValue",MG:"yPercentOfCategory",NG:"yPercentOfSeries",OG:"yPercentOfTotal",PG:"yValue",mR:"xScalesMin",lR:"xScalesMax",oR:"yScalesMin",nR:"yScalesMax",MP:"catYSumArr_",BP:"catYMinArr_",yP:"catYMaxArr_",wP:"catYAvgArr_",zP:"catYMedianArr_",CP:"catYModeArr_",LP:"catYRangeSumArr_",IP:"catYRangeMinArr_",FP:"catYRangeMaxArr_",EP:"catYRangeAvgArr_",HP:"catYRangeMedianArr_",KP:"catYRangeModeArr_"},
eo={},fo;for(fo in co)co.hasOwnProperty(fo)&&(eo[fo]=co[fo].toLowerCase());function go(a){a=String(a).toLowerCase();switch(a){case "y":case "year":return"year";case "w":case "week":return"week";case "d":case "day":return"day"}return"none"}F("anychart.enums.RadialGridLayout.CIRCUIT","circuit");F("anychart.enums.RadialGridLayout.RADIAL","radial");F("anychart.enums.HoverMode.BY_SPOT","bySpot");F("anychart.enums.HoverMode.BY_X","byX");F("anychart.enums.SelectionMode.NONE","none");
F("anychart.enums.SelectionMode.SINGLE_SELECT","singleSelect");F("anychart.enums.SelectionMode.MULTI_SELECT","multiSelect");F("anychart.enums.SelectionMode.DRILL_DOWN","drillDown");F("anychart.enums.Anchor.LEFT_TOP","leftTop");F("anychart.enums.Anchor.LEFT_CENTER","leftCenter");F("anychart.enums.Anchor.LEFT_BOTTOM","leftBottom");F("anychart.enums.Anchor.CENTER_TOP","centerTop");F("anychart.enums.Anchor.CENTER","center");F("anychart.enums.Anchor.CENTER_BOTTOM","centerBottom");
F("anychart.enums.Anchor.RIGHT_TOP","rightTop");F("anychart.enums.Anchor.RIGHT_CENTER","rightCenter");F("anychart.enums.Anchor.RIGHT_BOTTOM","rightBottom");F("anychart.enums.Anchor.AUTO","auto");F("anychart.enums.Cursor.DEFAULT","default");F("anychart.enums.Cursor.CROSSHAIR","crosshair");F("anychart.enums.Cursor.POINTER","pointer");F("anychart.enums.Cursor.MOVE","move");F("anychart.enums.Cursor.TEXT","text");F("anychart.enums.Cursor.WAIT","wait");F("anychart.enums.Cursor.HELP","help");
F("anychart.enums.Cursor.N_RESIZE","n-resize");F("anychart.enums.Cursor.NE_RESIZE","ne-resize");F("anychart.enums.Cursor.E_RESIZE","e-resize");F("anychart.enums.Cursor.SE_RESIZE","se-resize");F("anychart.enums.Cursor.S_RESIZE","s-resize");F("anychart.enums.Cursor.SW_RESIZE","sw-resize");F("anychart.enums.Cursor.W_RESIZE","w-resize");F("anychart.enums.Cursor.NW_RESIZE","nw-resize");F("anychart.enums.Position.LEFT_TOP","leftTop");F("anychart.enums.Position.LEFT_CENTER","leftCenter");
F("anychart.enums.Position.LEFT_BOTTOM","leftBottom");F("anychart.enums.Position.CENTER_TOP","centerTop");F("anychart.enums.Position.CENTER","center");F("anychart.enums.Position.CENTER_BOTTOM","centerBottom");F("anychart.enums.Position.RIGHT_TOP","rightTop");F("anychart.enums.Position.RIGHT_CENTER","rightCenter");F("anychart.enums.Position.RIGHT_BOTTOM","rightBottom");F("anychart.enums.Align.CENTER","center");F("anychart.enums.Align.LEFT","left");F("anychart.enums.Align.RIGHT","right");
F("anychart.enums.Align.TOP","top");F("anychart.enums.Align.BOTTOM","bottom");F("anychart.enums.Orientation.LEFT","left");F("anychart.enums.Orientation.RIGHT","right");F("anychart.enums.Orientation.TOP","top");F("anychart.enums.Orientation.BOTTOM","bottom");F("anychart.enums.Layout.HORIZONTAL","horizontal");F("anychart.enums.Layout.VERTICAL","vertical");F("anychart.enums.LegendLayout.HORIZONTAL","horizontal");F("anychart.enums.LegendLayout.VERTICAL","vertical");
F("anychart.enums.LegendLayout.HORIZONTAL_EXPANDABLE","horizontalexpandable");F("anychart.enums.LegendLayout.VERTICAL_EXPANDABLE","verticalexpandable");F("anychart.enums.LegendPositionMode.INSIDE","inside");F("anychart.enums.LegendPositionMode.OUTSIDE","outside");F("anychart.enums.Sort.NONE","none");F("anychart.enums.Sort.ASC","asc");F("anychart.enums.Sort.DESC","desc");F("anychart.enums.BulletMarkerType.X",En);F("anychart.enums.BulletMarkerType.BAR",Hn);
F("anychart.enums.BulletMarkerType.ELLIPSE",Gn);F("anychart.enums.BulletMarkerType.LINE",Fn);F("anychart.enums.MarkerType.CIRCLE","circle");F("anychart.enums.MarkerType.SQUARE","square");F("anychart.enums.MarkerType.TRIANGLE_UP","triangleUp");F("anychart.enums.MarkerType.DIAMOND","diamond");F("anychart.enums.MarkerType.TRIANGLE_DOWN","triangleDown");F("anychart.enums.MarkerType.TRIANGLE_LEFT","triangleLeft");F("anychart.enums.MarkerType.TRIANGLE_RIGHT","triangleRight");
F("anychart.enums.MarkerType.CROSS","cross");F("anychart.enums.MarkerType.DIAGONAL_CROSS","diagonalCross");F("anychart.enums.MarkerType.STAR4","star4");F("anychart.enums.MarkerType.STAR5","star5");F("anychart.enums.MarkerType.STAR6","star6");F("anychart.enums.MarkerType.STAR7","star7");F("anychart.enums.MarkerType.STAR10","star10");F("anychart.enums.MarkerType.PENTAGON","pentagon");F("anychart.enums.MarkerType.TRAPEZIUM","trapezium");F("anychart.enums.MarkerType.LINE","line");
F("anychart.enums.MapAsTableMode.VALUE","value");F("anychart.enums.MapAsTableMode.RANGE","range");F("anychart.enums.MapAsTableMode.OHLC","ohlc");F("anychart.enums.MapProjections.BONNE","bonne");F("anychart.enums.MapProjections.AITOFF","aitoff");F("anychart.enums.MapProjections.AUGUST","august");F("anychart.enums.MapProjections.ECKERT1","eckert1");F("anychart.enums.MapProjections.ECKERT3","eckert3");F("anychart.enums.MapProjections.EQUIRECTANGULAR","equirectangular");
F("anychart.enums.MapProjections.FAHEY","fahey");F("anychart.enums.MapProjections.HAMMER","hammer");F("anychart.enums.MapProjections.MERCATOR","mercator");F("anychart.enums.MapProjections.ORTHOGRAPHIC","orthographic");F("anychart.enums.MapProjections.ROBINSON","robinson");F("anychart.enums.MapProjections.WAGNER6","wagner6");F("anychart.enums.MapProjections.WSG84","wsg84");F("anychart.enums.MapGridZIndex.UNDER_MAP",5);F("anychart.enums.MapGridZIndex.OVER_MAP",45);
F("anychart.enums.MapUnboundRegionsMode.AS_IS","asis");F("anychart.enums.MapUnboundRegionsMode.HIDE","hide");F("anychart.enums.MapPointMiddlePositionMode.ABSOLUTE","absolute");F("anychart.enums.MapPointMiddlePositionMode.RELATIVE","relative");F("anychart.enums.MapPointOutsidePositionMode.RELATIVE","relative");F("anychart.enums.MapPointOutsidePositionMode.ABSOLUTE","absolute");F("anychart.enums.MapPointOutsidePositionMode.OFFSET","offset");F("anychart.enums.TreeFillingMethod.AS_TREE","asTree");
F("anychart.enums.TreeFillingMethod.AS_TABLE","asTable");F("anychart.enums.LabelsOverlapMode.ALLOW_OVERLAP","allowOverlap");F("anychart.enums.LabelsOverlapMode.NO_OVERLAP","noOverlap");F("anychart.enums.BackgroundCornersType.NONE","none");F("anychart.enums.BackgroundCornersType.ROUND","round");F("anychart.enums.BackgroundCornersType.CUT","cut");F("anychart.enums.BackgroundCornersType.ROUND_INNER","roundInner");F("anychart.enums.LegendItemIconType.AREA","area");
F("anychart.enums.LegendItemIconType.BAR","bar");F("anychart.enums.LegendItemIconType.BUBBLE","bubble");F("anychart.enums.LegendItemIconType.CANDLESTICK","candlestick");F("anychart.enums.LegendItemIconType.COLUMN","column");F("anychart.enums.LegendItemIconType.LINE","line");F("anychart.enums.LegendItemIconType.MARKER","marker");F("anychart.enums.LegendItemIconType.OHLC","ohlc");F("anychart.enums.LegendItemIconType.RANGE_AREA","rangearea");F("anychart.enums.LegendItemIconType.RANGE_BAR","rangebar");
F("anychart.enums.LegendItemIconType.RANGE_COLUMN","rangecolumn");F("anychart.enums.LegendItemIconType.RANGE_SPLINE_AREA","rangesplinearea");F("anychart.enums.LegendItemIconType.RANGE_STEP_AREA","rangesteparea");F("anychart.enums.LegendItemIconType.SPLINE","spline");F("anychart.enums.LegendItemIconType.SPLINE_AREA","splinearea");F("anychart.enums.LegendItemIconType.STEP_LINE","stepline");F("anychart.enums.LegendItemIconType.STEP_AREA","steparea");F("anychart.enums.LegendItemIconType.CIRCLE","circle");
F("anychart.enums.LegendItemIconType.SQUARE","square");F("anychart.enums.LegendItemsSourceMode.DEFAULT","default");F("anychart.enums.LegendItemsSourceMode.CATEGORIES","categories");F("anychart.enums.SidePosition.INSIDE","inside");F("anychart.enums.SidePosition.OUTSIDE","outside");F("anychart.enums.PyramidLabelsPosition.INSIDE","inside");F("anychart.enums.PyramidLabelsPosition.OUTSIDE_LEFT","outsideLeft");F("anychart.enums.PyramidLabelsPosition.OUTSIDE_LEFT_IN_COLUMN","outsideLeftInColumn");
F("anychart.enums.PyramidLabelsPosition.OUTSIDE_RIGHT","outsideRight");F("anychart.enums.PyramidLabelsPosition.OUTSIDE_RIGHT_IN_COLUMN","outsideRightInColumn");F("anychart.enums.GaugeSidePosition.INSIDE","inside");F("anychart.enums.GaugeSidePosition.CENTER","center");F("anychart.enums.GaugeSidePosition.OUTSIDE","outside");F("anychart.enums.EventType.POINT_MOUSE_OUT","pointmouseout");F("anychart.enums.EventType.POINT_MOUSE_OVER","pointmouseover");F("anychart.enums.EventType.POINT_MOUSE_DOWN","pointmousedown");
F("anychart.enums.EventType.POINT_MOUSE_UP","pointmouseup");F("anychart.enums.EventType.POINT_MOUSE_MOVE","pointmousemove");F("anychart.enums.EventType.POINT_CLICK","pointclick");F("anychart.enums.EventType.POINT_DBLCLICK","pointdblclick");F("anychart.enums.EventType.POINT_HOVER","pointhover");F("anychart.enums.EventType.POINTS_SELECT","pointsselect");F("anychart.enums.EventType.POINTS_HOVER","pointshover");F("anychart.enums.EventType.DRILL_CHANGE","drillchange");
F("anychart.enums.EventType.CHART_DRAW","chartdraw");F("anychart.enums.EventType.ANIMATION_START",Fd);F("anychart.enums.EventType.ANIMATION_END",Dd);F("anychart.enums.EventType.ZOOM_START","zoomstart");F("anychart.enums.EventType.ZOOM",Ud);F("anychart.enums.EventType.ZOOM_END",Wd);F("anychart.enums.EventType.LEGEND_ITEM_MOUSE_OUT","legenditemmouseout");F("anychart.enums.EventType.LEGEND_ITEM_MOUSE_OVER","legenditemmouseover");F("anychart.enums.EventType.LEGEND_ITEM_MOUSE_MOVE","legenditemmousemove");
F("anychart.enums.EventType.LEGEND_ITEM_MOUSE_DOWN","legenditemmousedown");F("anychart.enums.EventType.LEGEND_ITEM_MOUSE_UP","legenditemmouseup");F("anychart.enums.EventType.LEGEND_ITEM_CLICK","legenditemclick");F("anychart.enums.EventType.LEGEND_ITEM_DBLCLICK","legenditemdblclick");F("anychart.enums.EventType.DRAG_START","dragstart");F("anychart.enums.EventType.DRAG","drag");F("anychart.enums.EventType.DRAG_END","dragend");F("anychart.enums.EventType.SCROLL_CHANGE","scrollchange");
F("anychart.enums.EventType.SPLITTER_CHANGE","splitterchange");F("anychart.enums.EventType.SIGNAL","signal");F("anychart.enums.EventType.ROW_SELECT","rowSelect");F("anychart.enums.EventType.ROW_CLICK","rowClick");F("anychart.enums.EventType.ROW_DBL_CLICK","rowDblClick");F("anychart.enums.EventType.ROW_MOUSE_OVER","rowMouseOver");F("anychart.enums.EventType.ROW_MOUSE_OUT","rowMouseOut");F("anychart.enums.EventType.ROW_MOUSE_MOVE","rowMouseMove");F("anychart.enums.EventType.ROW_MOUSE_DOWN","rowMouseDown");
F("anychart.enums.EventType.ROW_MOUSE_UP","rowMouseUp");F("anychart.enums.EventType.CONNECTOR_SELECT","connectorselect");F("anychart.enums.EventType.CONNECTOR_CLICK","connectorclick");F("anychart.enums.EventType.CONNECTOR_DBL_CLICK","connectordblclick");F("anychart.enums.EventType.CONNECTOR_MOUSE_OVER","connectormouseover");F("anychart.enums.EventType.CONNECTOR_MOUSE_OUT","connectormouseout");F("anychart.enums.EventType.CONNECTOR_MOUSE_MOVE","connectormousemove");
F("anychart.enums.EventType.CONNECTOR_MOUSE_DOWN","connectormousedown");F("anychart.enums.EventType.CONNECTOR_MOUSE_UP","connectormouseup");F("anychart.enums.EventType.ROW_COLLAPSE_EXPAND","rowcollapseexpand");F("anychart.enums.EventType.BEFORE_CREATE_CONNECTOR","beforeCreateConnector");F("anychart.enums.EventType.TREE_ITEM_CREATE","treeItemCreate");F("anychart.enums.EventType.TREE_ITEM_MOVE","treeItemMove");F("anychart.enums.EventType.TREE_ITEM_REMOVE","treeItemRemove");
F("anychart.enums.EventType.TREE_ITEM_UPDATE","treeItemUpdate");F("anychart.enums.ScaleStackMode.NONE","none");F("anychart.enums.ScaleStackMode.VALUE","value");F("anychart.enums.ScaleStackMode.PERCENT","percent");F("anychart.enums.ScaleComparisonMode.NONE","none");F("anychart.enums.ScaleComparisonMode.VALUE","value");F("anychart.enums.ScaleComparisonMode.PERCENT","percent");F("anychart.enums.ScaleCompareWithMode.SERIES_START","seriesStart");F("anychart.enums.ScaleCompareWithMode.FIRST_VISIBLE","firstVisible");
F("anychart.enums.ScatterTicksMode.LINEAR","linear");F("anychart.enums.ScatterTicksMode.LOGARITHMIC","logarithmic");F("anychart.enums.SparklineSeriesType.AREA","area");F("anychart.enums.SparklineSeriesType.LINE","line");F("anychart.enums.SparklineSeriesType.COLUMN","column");F("anychart.enums.SparklineSeriesType.WIN_LOSS","winLoss");F("anychart.enums.LinearGaugePointerType.BAR","bar");F("anychart.enums.LinearGaugePointerType.RANGE_BAR","rangeBar");
F("anychart.enums.LinearGaugePointerType.THERMOMETER","thermometer");F("anychart.enums.LinearGaugePointerType.MARKER","marker");F("anychart.enums.LinearGaugePointerType.TANK","tank");F("anychart.enums.LinearGaugePointerType.LED","led");F("anychart.enums.GanttDataFields.ACTUAL","actual");F("anychart.enums.GanttDataFields.ACTUAL_START","actualStart");F("anychart.enums.GanttDataFields.ACTUAL_END","actualEnd");F("anychart.enums.GanttDataFields.BASELINE_START","baselineStart");
F("anychart.enums.GanttDataFields.BASELINE_END","baselineEnd");F("anychart.enums.GanttDataFields.CHILDREN","children");F("anychart.enums.GanttDataFields.PROGRESS","progress");F("anychart.enums.GanttDataFields.PROGRESS_VALUE","progressValue");F("anychart.enums.GanttDataFields.MILESTONE","milestone");F("anychart.enums.GanttDataFields.NAME","name");F("anychart.enums.GanttDataFields.COLLAPSED","collapsed");F("anychart.enums.GanttDataFields.ROW_HEIGHT","rowHeight");
F("anychart.enums.GanttDataFields.ID","id");F("anychart.enums.GanttDataFields.PERIODS","periods");F("anychart.enums.GanttDataFields.PARENT","parent");F("anychart.enums.GanttDataFields.START","start");F("anychart.enums.GanttDataFields.END","end");F("anychart.enums.GanttDataFields.FILL","fill");F("anychart.enums.GanttDataFields.STROKE","stroke");F("anychart.enums.GanttDataFields.HOVER_FILL","hoverFill");F("anychart.enums.GanttDataFields.HOVER_STROKE","hoverStroke");
F("anychart.enums.GanttDataFields.CONNECT_TO","connectTo");F("anychart.enums.GanttDataFields.CONNECTOR","connector");F("anychart.enums.GanttDataFields.CONNECTOR_TYPE","connectorType");F("anychart.enums.GanttDataFields.START_MARKER","startMarker");F("anychart.enums.GanttDataFields.END_MARKER","endMarker");F("anychart.enums.GanttDataFields.LABEL","label");F("anychart.enums.GanttRangeAnchor.FIRST_DATE","firstDate");F("anychart.enums.GanttRangeAnchor.FIRST_VISIBLE_DATE","firstVisibleDate");
F("anychart.enums.GanttRangeAnchor.LAST_DATE","lastDate");F("anychart.enums.GanttRangeAnchor.LAST_VISIBLE_DATE","lastVisibleDate");F("anychart.enums.ConnectorType.FINISH_START","finishstart");F("anychart.enums.ConnectorType.FINISH_FINISH","finishfinish");F("anychart.enums.ConnectorType.START_FINISH","startfinish");F("anychart.enums.ConnectorType.START_START","startstart");F("anychart.enums.ColumnFormats.DIRECT_NUMBERING","directNumbering");F("anychart.enums.ColumnFormats.TEXT","text");
F("anychart.enums.ColumnFormats.SHORT_TEXT","shortText");F("anychart.enums.ColumnFormats.PERCENT","percent");F("anychart.enums.ColumnFormats.DATE_COMMON_LOG","dateCommonLog");F("anychart.enums.ColumnFormats.DATE_ISO_8601","dateIso8601");F("anychart.enums.ColumnFormats.DATE_US_SHORT","dateUsShort");F("anychart.enums.ColumnFormats.DATE_DMY_DOTS","dateDmyDots");F("anychart.enums.ColumnFormats.FINANCIAL","financial");F("anychart.enums.GanttDateTimeMarkers.START","start");
F("anychart.enums.GanttDateTimeMarkers.END","end");F("anychart.enums.GanttDateTimeMarkers.CURRENT","current");F("anychart.enums.DataField.DEPENDS_ON","dependsOn");F("anychart.enums.DataField.OPTIMISTIC","optimistic");F("anychart.enums.DataField.PESSIMISTIC","pessimistic");F("anychart.enums.DataField.MOST_LIKELY","mostLikely");F("anychart.enums.DataField.EXPECTED","expected");F("anychart.enums.DataField.FROM","from");F("anychart.enums.DataField.TO","to");F("anychart.enums.DataField.ID","id");
F("anychart.enums.DataField.NAME","name");F("anychart.enums.Interval.YEARS","year");F("anychart.enums.Interval.MONTHS","month");F("anychart.enums.Interval.DAYS","day");F("anychart.enums.Interval.HOURS","hour");F("anychart.enums.Interval.MINUTES","minute");F("anychart.enums.Interval.SECONDS","second");F("anychart.enums.Interval.YEAR","year");F("anychart.enums.Interval.SEMESTER","semester");F("anychart.enums.Interval.QUARTER","quarter");F("anychart.enums.Interval.MONTH","month");
F("anychart.enums.Interval.THIRD_OF_MONTH","thirdofmonth");F("anychart.enums.Interval.WEEK","week");F("anychart.enums.Interval.DAY","day");F("anychart.enums.Interval.HOUR","hour");F("anychart.enums.Interval.MINUTE","minute");F("anychart.enums.Interval.SECOND","second");F("anychart.enums.Interval.MILLISECOND","millisecond");F("anychart.enums.ErrorMode.NONE","none");F("anychart.enums.ErrorMode.X","x");F("anychart.enums.ErrorMode.VALUE","value");F("anychart.enums.ErrorMode.BOTH","both");
F("anychart.enums.ScaleTypes.LINEAR","linear");F("anychart.enums.ScaleTypes.LOG","log");F("anychart.enums.ScaleTypes.DATE_TIME","dateTime");F("anychart.enums.ScaleTypes.ORDINAL","ordinal");F("anychart.enums.ScatterScaleTypes.LINEAR","linear");F("anychart.enums.ScatterScaleTypes.LOG","log");F("anychart.enums.ScatterScaleTypes.DATE_TIME","dateTime");F("anychart.enums.GaugeScaleTypes.LINEAR","linear");F("anychart.enums.GaugeScaleTypes.LOG","log");F("anychart.enums.AggregationType.AVERAGE","average");
F("anychart.enums.AggregationType.FIRST","first");F("anychart.enums.AggregationType.FIRST_VALUE","firstValue");F("anychart.enums.AggregationType.LAST","last");F("anychart.enums.AggregationType.LAST_VALUE","lastValue");F("anychart.enums.AggregationType.LIST","list");F("anychart.enums.AggregationType.MAX","max");F("anychart.enums.AggregationType.MIN","min");F("anychart.enums.AggregationType.SUM","sum");F("anychart.enums.AggregationType.WEIGHTED_AVERAGE","weightedAverage");
F("anychart.enums.TooltipDisplayMode.UNION","union");F("anychart.enums.TooltipDisplayMode.SEPARATED","separated");F("anychart.enums.TooltipDisplayMode.SINGLE","single");F("anychart.enums.TooltipPositionMode.FLOAT","float");F("anychart.enums.TooltipPositionMode.POINT","point");F("anychart.enums.TooltipPositionMode.CHART","chart");F("anychart.enums.CrosshairDisplayMode.FLOAT","float");F("anychart.enums.CrosshairDisplayMode.STICKY","sticky");F("anychart.enums.StockLabelsOverlapMode.NO_OVERLAP","noOverlap");
F("anychart.enums.StockLabelsOverlapMode.ALLOW_OVERLAP","allowOverlap");F("anychart.enums.StockLabelsOverlapMode.ALLOW_MAJOR_OVERLAP","allowMajorOverlap");F("anychart.enums.StockLabelsOverlapMode.ALLOW_MINOR_OVERLAP","allowMinorOverlap");F("anychart.enums.StockRangeType.UNIT","Unit");F("anychart.enums.StockRangeType.YTD","YTD");F("anychart.enums.StockRangeType.QTD","QTD");F("anychart.enums.StockRangeType.MTD","MTD");F("anychart.enums.StockRangeType.MAX","Max");
F("anychart.enums.StockRangeAnchor.FIRST_DATE","firstDate");F("anychart.enums.StockRangeAnchor.FIRST_VISIBLE_DATE","firstVisibleDate");F("anychart.enums.StockRangeAnchor.LAST_VISIBLE_DATE","lastVisibleDate");F("anychart.enums.StockRangeAnchor.LAST_DATE","lastDate");F("anychart.enums.TableSearchMode.EXACT_OR_PREV","exactOrPrev");F("anychart.enums.TableSearchMode.EXACT","exact");F("anychart.enums.TableSearchMode.EXACT_OR_NEXT","exactOrNext");F("anychart.enums.TableSearchMode.NEAREST","nearest");
F("anychart.enums.ChartScrollerPosition.AFTER_AXES","afterAxes");F("anychart.enums.ChartScrollerPosition.BEFORE_AXES","beforeAxes");F("anychart.enums.LabelsDisplayMode.ALWAYS_SHOW","alwaysShow");F("anychart.enums.LabelsDisplayMode.DROP","drop");F("anychart.enums.LabelsDisplayMode.CLIP","clip");F("anychart.enums.StepDirection.CENTER","center");F("anychart.enums.StepDirection.FORWARD","forward");F("anychart.enums.StepDirection.BACKWARD","backward");F("anychart.enums.TokenType.UNKNOWN","");
F("anychart.enums.TokenType.NUMBER","number");F("anychart.enums.TokenType.STRING","string");F("anychart.enums.TokenType.DATE_TIME","datetime");F("anychart.enums.TokenType.PERCENT","percent");F("anychart.enums.StringToken.AXIS_NAME","%AxisName");F("anychart.enums.StringToken.AXIS_SCALE_MAX","%AxisScaleMax");F("anychart.enums.StringToken.AXIS_SCALE_MIN","%AxisScaleMin");F("anychart.enums.StringToken.BUBBLE_SIZE","%BubbleSize");F("anychart.enums.StringToken.BUBBLE_SIZE_PERCENT_OF_CATEGORY","%BubbleSizePercentOfCategory");
F("anychart.enums.StringToken.BUBBLE_SIZE_PERCENT_OF_SERIES","%BubbleSizePercentOfSeries");F("anychart.enums.StringToken.BUBBLE_SIZE_PERCENT_OF_TOTAL","%BubbleSizePercentOfTotal");F("anychart.enums.StringToken.CATEGORY_NAME","%CategoryName");F("anychart.enums.StringToken.CATEGORY_Y_AVERAGE","%CategoryYAverage");F("anychart.enums.StringToken.CATEGORY_Y_MEDIAN","%CategoryYMedian");F("anychart.enums.StringToken.CATEGORY_Y_MODE","%CategoryYMode");
F("anychart.enums.StringToken.CATEGORY_Y_PERCENT_OF_TOTAL","%CategoryYPercentOfTotal");F("anychart.enums.StringToken.CATEGORY_Y_RANGE_AVERAGE","%CategoryYRangeAverage");F("anychart.enums.StringToken.CATEGORY_Y_RANGE_PERCENT_OF_TOTAL","%CategoryYRangePercentOfTotal");F("anychart.enums.StringToken.CATEGORY_Y_RANGE_MAX","%CategoryYRangeMax");F("anychart.enums.StringToken.CATEGORY_Y_RANGE_MIN","%CategoryYRangeMin");F("anychart.enums.StringToken.CATEGORY_Y_RANGE_MEDIAN","%CategoryYRangeMedian");
F("anychart.enums.StringToken.CATEGORY_Y_RANGE_MODE","%CategoryYRangeMode");F("anychart.enums.StringToken.CATEGORY_Y_RANGE_SUM","%CategoryYRangeSum");F("anychart.enums.StringToken.CATEGORY_Y_SUM","%CategoryYSum");F("anychart.enums.StringToken.CLOSE","%Close");F("anychart.enums.StringToken.DATA_PLOT_BUBBLE_MAX_SIZE","%DataPlotBubbleMaxSize");F("anychart.enums.StringToken.DATA_PLOT_BUBBLE_MIN_SIZE","%DataPlotBubbleMinSize");F("anychart.enums.StringToken.DATA_PLOT_BUBBLE_SIZE_AVERAGE","%DataPlotBubbleSizeAverage");
F("anychart.enums.StringToken.DATA_PLOT_BUBBLE_SIZE_SUM","%DataPlotBubbleSizeSum");F("anychart.enums.StringToken.DATA_PLOT_MAX_Y_SUM_SERIES_NAME","%DataPlotMaxYSumSeriesName");F("anychart.enums.StringToken.DATA_PLOT_MAX_Y_VALUE_POINT_NAME","%DataPlotMaxYValuePointName");F("anychart.enums.StringToken.DATA_PLOT_MAX_Y_VALUE_POINT_SERIES_NAME","%DataPlotMaxYValuePointSeriesName");F("anychart.enums.StringToken.DATA_PLOT_MIN_Y_SUM_SERIES_NAME","%DataPlotMinYSumSeriesName");
F("anychart.enums.StringToken.DATA_PLOT_MIN_Y_VALUE_POINT_NAME","%DataPlotMinYValuePointName");F("anychart.enums.StringToken.DATA_PLOT_MIN_Y_VALUE_POINT_SERIES_NAME","%DataPlotMinYValuePointSeriesName");F("anychart.enums.StringToken.DATA_PLOT_POINT_COUNT","%DataPlotPointCount");F("anychart.enums.StringToken.DATA_PLOT_SERIES_COUNT","%DataPlotSeriesCount");F("anychart.enums.StringToken.DATA_PLOT_X_AVERAGE","%DataPlotXAverage");F("anychart.enums.StringToken.DATA_PLOT_X_MAX","%DataPlotXMax");
F("anychart.enums.StringToken.DATA_PLOT_X_MIN","%DataPlotXMin");F("anychart.enums.StringToken.DATA_PLOT_X_SUM","%DataPlotXSum");F("anychart.enums.StringToken.DATA_PLOT_Y_AVERAGE","%DataPlotYAverage");F("anychart.enums.StringToken.DATA_PLOT_Y_MAX","%DataPlotYMax");F("anychart.enums.StringToken.DATA_PLOT_Y_MIN","%DataPlotYMin");F("anychart.enums.StringToken.DATA_PLOT_Y_RANGE_MAX","%DataPlotYRangeMax");F("anychart.enums.StringToken.DATA_PLOT_Y_RANGE_MIN","%DataPlotYRangeMin");
F("anychart.enums.StringToken.DATA_PLOT_Y_RANGE_SUM","%DataPlotYRangeSum");F("anychart.enums.StringToken.DATA_PLOT_Y_SUM","%DataPlotYSum");F("anychart.enums.StringToken.HIGH","%High");F("anychart.enums.StringToken.INDEX","%Index");F("anychart.enums.StringToken.LOW","%Low");F("anychart.enums.StringToken.NAME","%Name");F("anychart.enums.StringToken.OPEN","%Open");F("anychart.enums.StringToken.PERT_CHART_CRITICAL_PATH_STANDARD_DEVIATION","%PertChartCriticalPathStandardDeviation");
F("anychart.enums.StringToken.PERT_CHART_PROJECT_DURATION","%PertChartProjectDuration");F("anychart.enums.StringToken.RANGE","%Range");F("anychart.enums.StringToken.RANGE_END","%RangeEnd");F("anychart.enums.StringToken.RANGE_START","%RangeStart");F("anychart.enums.StringToken.SERIES_BUBBLE_MAX_SIZE","%SeriesBubbleMaxSize");F("anychart.enums.StringToken.SERIES_BUBBLE_MIN_SIZE","%SeriesBubbleMinSize");F("anychart.enums.StringToken.SERIES_BUBBLE_SIZE_AVERAGE","%SeriesBubbleSizeAverage");
F("anychart.enums.StringToken.SERIES_BUBBLE_SIZE_MEDIAN","%SeriesBubbleSizeMedian");F("anychart.enums.StringToken.SERIES_BUBBLE_SIZE_MODE","%SeriesBubbleSizeMode");F("anychart.enums.StringToken.SERIES_BUBBLE_SIZE_SUM","%SeriesBubbleSizeSum");F("anychart.enums.StringToken.SERIES_FIRST_X_VALUE","%SeriesFirstXValue");F("anychart.enums.StringToken.SERIES_FIRST_Y_VALUE","%SeriesFirstYValue");F("anychart.enums.StringToken.SERIES_LAST_X_VALUE","%SeriesLastXValue");
F("anychart.enums.StringToken.SERIES_LAST_Y_VALUE","%SeriesLastYValue");F("anychart.enums.StringToken.SERIES_MIN","%SeriesMin");F("anychart.enums.StringToken.SERIES_MAX","%SeriesMax");F("anychart.enums.StringToken.SERIES_NAME","%SeriesName");F("anychart.enums.StringToken.SERIES_POINT_COUNT","%SeriesPointCount");F("anychart.enums.StringToken.SERIES_X_AVERAGE","%SeriesXAverage");F("anychart.enums.StringToken.SERIES_X_AXIS_NAME","%SeriesXAxisName");F("anychart.enums.StringToken.SERIES_X_MAX","%SeriesXMax");
F("anychart.enums.StringToken.SERIES_X_MEDIAN","%SeriesXMedian");F("anychart.enums.StringToken.SERIES_X_MIN","%SeriesXMin");F("anychart.enums.StringToken.SERIES_X_MODE","%SeriesXMode");F("anychart.enums.StringToken.SERIES_X_SUM","%SeriesXSum");F("anychart.enums.StringToken.SERIES_Y_AVERAGE","%SeriesYAverage");F("anychart.enums.StringToken.SERIES_Y_AXIS_NAME","%SeriesYAxisName");F("anychart.enums.StringToken.SERIES_Y_MAX","%SeriesYMax");F("anychart.enums.StringToken.SERIES_Y_MEDIAN","%SeriesYMedian");
F("anychart.enums.StringToken.SERIES_Y_MIN","%SeriesYMin");F("anychart.enums.StringToken.SERIES_Y_MODE","%SeriesYMode");F("anychart.enums.StringToken.SERIES_Y_RANGE_MAX","%SeriesYRangeMax");F("anychart.enums.StringToken.SERIES_Y_RANGE_MIN","%SeriesYRangeMin");F("anychart.enums.StringToken.SERIES_Y_RANGE_SUM","%SeriesYRangeSum");F("anychart.enums.StringToken.SERIES_Y_SUM","%SeriesYSum");F("anychart.enums.StringToken.VALUE","%Value");F("anychart.enums.StringToken.PERCENT_VALUE","%PercentValue");
F("anychart.enums.StringToken.X_PERCENT_OF_SERIES","%XPercentOfSeries");F("anychart.enums.StringToken.X_PERCENT_OF_TOTAL","%XPercentOfTotal");F("anychart.enums.StringToken.X_VALUE","%XValue");F("anychart.enums.StringToken.Y_PERCENT_OF_CATEGORY","%YPercentOfCategory");F("anychart.enums.StringToken.Y_PERCENT_OF_SERIES","%YPercentOfSeries");F("anychart.enums.StringToken.Y_PERCENT_OF_TOTAL","%YPercentOfTotal");F("anychart.enums.StringToken.Y_VALUE","%YValue");
F("anychart.enums.StringToken.RESOURCE_INDEX","resourceIndex");F("anychart.enums.StringToken.ACTIVITY_INDEX","activityIndex");F("anychart.enums.StringToken.START","start");F("anychart.enums.StringToken.END","end");F("anychart.enums.StringToken.MINUTES_PER_DAY","minutesPerDay");F("anychart.enums.Statistics.AVERAGE","average");F("anychart.enums.Statistics.BUBBLE_SIZE","bubbleSize");F("anychart.enums.Statistics.BUBBLE_SIZE_PERCENT_OF_CATEGORY","bubbleSizePercentOfCategory");
F("anychart.enums.Statistics.BUBBLE_SIZE_PERCENT_OF_SERIES","bubbleSizePercentOfSeries");F("anychart.enums.Statistics.BUBBLE_SIZE_PERCENT_OF_TOTAL","bubbleSizePercentOfTotal");F("anychart.enums.Statistics.CATEGORY_NAME","categoryName");F("anychart.enums.Statistics.CATEGORY_Y_AVERAGE","categoryYAverage");F("anychart.enums.Statistics.CATEGORY_Y_MAX","categoryYMax");F("anychart.enums.Statistics.CATEGORY_Y_MEDIAN","categoryYMedian");F("anychart.enums.Statistics.CATEGORY_Y_MIN","categoryYMin");
F("anychart.enums.Statistics.CATEGORY_Y_MODE","categoryYMode");F("anychart.enums.Statistics.CATEGORY_Y_PERCENT_OF_TOTAL","categoryYPercentOfTotal");F("anychart.enums.Statistics.CATEGORY_Y_RANGE_AVERAGE","categoryYRangeAverage");F("anychart.enums.Statistics.CATEGORY_Y_RANGE_MAX","categoryYRangeMax");F("anychart.enums.Statistics.CATEGORY_Y_RANGE_MEDIAN","categoryYRangeMedian");F("anychart.enums.Statistics.CATEGORY_Y_RANGE_MIN","categoryYRangeMin");
F("anychart.enums.Statistics.CATEGORY_Y_RANGE_MODE","categoryYRangeMode");F("anychart.enums.Statistics.CATEGORY_Y_RANGE_PERCENT_OF_TOTAL","categoryYRangePercentOfTotal");F("anychart.enums.Statistics.CATEGORY_Y_RANGE_SUM","categoryYRangeSum");F("anychart.enums.Statistics.CATEGORY_Y_SUM","categoryYSum");F("anychart.enums.Statistics.CLOSE","close");F("anychart.enums.Statistics.COUNT","count");F("anychart.enums.Statistics.DATA_PLOT_BUBBLE_MAX_SIZE","dataPlotBubbleMaxSize");
F("anychart.enums.Statistics.DATA_PLOT_BUBBLE_MIN_SIZE","dataPlotBubbleMinSize");F("anychart.enums.Statistics.DATA_PLOT_BUBBLE_SIZE_AVERAGE","dataPlotBubbleSizeAverage");F("anychart.enums.Statistics.DATA_PLOT_BUBBLE_SIZE_SUM","dataPlotBubbleSizeSum");F("anychart.enums.Statistics.DATA_PLOT_MAX_X_SUM_SERIES_NAME","dataPlotMaxXSumSeriesName");F("anychart.enums.Statistics.DATA_PLOT_MAX_Y_SUM_SERIES_NAME","dataPlotMaxYSumSeriesName");
F("anychart.enums.Statistics.DATA_PLOT_MAX_X_VALUE_POINT_SERIES_NAME","dataPlotMaxXValuePointSeriesName");F("anychart.enums.Statistics.DATA_PLOT_MAX_Y_VALUE_POINT_SERIES_NAME","dataPlotMaxYValuePointSeriesName");F("anychart.enums.Statistics.DATA_PLOT_MIN_X_SUM_SERIES_NAME","dataPlotMinXSumSeriesName");F("anychart.enums.Statistics.DATA_PLOT_MIN_Y_SUM_SERIES_NAME","dataPlotMinYSumSeriesName");F("anychart.enums.Statistics.DATA_PLOT_MIN_X_VALUE_POINT_SERIES_NAME","dataPlotMinXValuePointSeriesName");
F("anychart.enums.Statistics.DATA_PLOT_MIN_Y_VALUE_POINT_SERIES_NAME","dataPlotMinYValuePointSeriesName");F("anychart.enums.Statistics.DATA_PLOT_POINT_COUNT","dataPlotPointCount");F("anychart.enums.Statistics.DATA_PLOT_SERIES_COUNT","dataPlotSeriesCount");F("anychart.enums.Statistics.DATA_PLOT_X_AVERAGE","dataPlotXAverage");F("anychart.enums.Statistics.DATA_PLOT_X_MAX","dataPlotXMax");F("anychart.enums.Statistics.DATA_PLOT_X_MIN","dataPlotXMin");F("anychart.enums.Statistics.DATA_PLOT_X_SUM","dataPlotXSum");
F("anychart.enums.Statistics.DATA_PLOT_Y_AVERAGE","dataPlotYAverage");F("anychart.enums.Statistics.DATA_PLOT_Y_MAX","dataPlotYMax");F("anychart.enums.Statistics.DATA_PLOT_Y_MIN","dataPlotYMin");F("anychart.enums.Statistics.DATA_PLOT_Y_RANGE_MAX","dataPlotYRangeMax");F("anychart.enums.Statistics.DATA_PLOT_Y_RANGE_MIN","dataPlotYRangeMin");F("anychart.enums.Statistics.DATA_PLOT_Y_RANGE_SUM","dataPlotYRangeSum");F("anychart.enums.Statistics.DATA_PLOT_Y_SUM","dataPlotYSum");
F("anychart.enums.Statistics.HIGH","high");F("anychart.enums.Statistics.INDEX","index");F("anychart.enums.Statistics.LOW","low");F("anychart.enums.Statistics.NAME","name");F("anychart.enums.Statistics.MAX","max");F("anychart.enums.Statistics.MIN","min");F("anychart.enums.Statistics.OPEN","open");F("anychart.enums.Statistics.PERT_CHART_CRITICAL_PATH_STANDARD_DEVIATION","pertChartCriticalPathStandardDeviation");F("anychart.enums.Statistics.PERT_CHART_PROJECT_DURATION","pertChartProjectDuration");
F("anychart.enums.Statistics.POINTS_COUNT","pointsCount");F("anychart.enums.Statistics.RANGE","range");F("anychart.enums.Statistics.RANGE_END","rangeEnd");F("anychart.enums.Statistics.RANGE_START","rangeStart");F("anychart.enums.Statistics.SERIES_AVERAGE","seriesAverage");F("anychart.enums.Statistics.SERIES_BUBBLE_MAX_SIZE","seriesBubbleMaxSize");F("anychart.enums.Statistics.SERIES_BUBBLE_MIN_SIZE","seriesBubbleMinSize");F("anychart.enums.Statistics.SERIES_BUBBLE_SIZE_AVERAGE","seriesBubbleSizeAverage");
F("anychart.enums.Statistics.SERIES_BUBBLE_SIZE_MEDIAN","seriesBubbleSizeMedian");F("anychart.enums.Statistics.SERIES_BUBBLE_SIZE_MODE","seriesBubbleSizeMode");F("anychart.enums.Statistics.SERIES_BUBBLE_SIZE_SUM","seriesBubbleSizeSum");F("anychart.enums.Statistics.SERIES_FIRST_X_VALUE","seriesFirstXValue");F("anychart.enums.Statistics.SERIES_FIRST_Y_VALUE","seriesFirstYValue");F("anychart.enums.Statistics.SERIES_LAST_X_VALUE","seriesLastXValue");F("anychart.enums.Statistics.SERIES_LAST_Y_VALUE","seriesLastYValue");
F("anychart.enums.Statistics.SERIES_MIN","seriesMin");F("anychart.enums.Statistics.SERIES_MAX","seriesMax");F("anychart.enums.Statistics.SERIES_NAME","seriesName");F("anychart.enums.Statistics.SERIES_POINT_COUNT","seriesPointCount");F("anychart.enums.Statistics.SERIES_POINTS_COUNT","seriesPointsCount");F("anychart.enums.Statistics.SERIES_SUM","seriesSum");F("anychart.enums.Statistics.SERIES_X_AVERAGE","seriesXAverage");F("anychart.enums.Statistics.SERIES_X_MAX","seriesXMax");
F("anychart.enums.Statistics.SERIES_X_MEDIAN","seriesXMedian");F("anychart.enums.Statistics.SERIES_X_MIN","seriesXMin");F("anychart.enums.Statistics.SERIES_X_MODE","seriesXMode");F("anychart.enums.Statistics.SERIES_X_SUM","seriesXSum");F("anychart.enums.Statistics.SERIES_Y_AVERAGE","seriesYAverage");F("anychart.enums.Statistics.SERIES_Y_MAX","seriesYMax");F("anychart.enums.Statistics.SERIES_Y_MEDIAN","seriesYMedian");F("anychart.enums.Statistics.SERIES_Y_MIN","seriesYMin");
F("anychart.enums.Statistics.SERIES_Y_MODE","seriesYMode");F("anychart.enums.Statistics.SERIES_Y_RANGE_AVERAGE","seriesYRangeAverage");F("anychart.enums.Statistics.SERIES_Y_RANGE_MAX","seriesYRangeMax");F("anychart.enums.Statistics.SERIES_Y_RANGE_MEDIAN","seriesYRangeMedian");F("anychart.enums.Statistics.SERIES_Y_RANGE_MIN","seriesYRangeMin");F("anychart.enums.Statistics.SERIES_Y_RANGE_MODE","seriesYRangeMode");F("anychart.enums.Statistics.SERIES_Y_RANGE_SUM","seriesYRangeSum");
F("anychart.enums.Statistics.SERIES_Y_SUM","seriesYSum");F("anychart.enums.Statistics.SUM","sum");F("anychart.enums.Statistics.VALUE","value");F("anychart.enums.Statistics.PERCENT_VALUE","percentValue");F("anychart.enums.Statistics.X_PERCENT_OF_SERIES","xPercentOfSeries");F("anychart.enums.Statistics.X_PERCENT_OF_TOTAL","xPercentOfTotal");F("anychart.enums.Statistics.X_VALUE","xValue");F("anychart.enums.Statistics.Y_PERCENT_OF_CATEGORY","yPercentOfCategory");
F("anychart.enums.Statistics.Y_PERCENT_OF_SERIES","yPercentOfSeries");F("anychart.enums.Statistics.Y_PERCENT_OF_TOTAL","yPercentOfTotal");F("anychart.enums.Statistics.Y_VALUE","yValue");F("anychart.enums.Statistics.X_SCALES_MIN","xScalesMin");F("anychart.enums.Statistics.X_SCALES_MAX","xScalesMax");F("anychart.enums.Statistics.Y_SCALES_MIN","yScalesMin");F("anychart.enums.Statistics.Y_SCALES_MAX","yScalesMax");F("anychart.enums.ChartDataExportMode.RAW","raw");
F("anychart.enums.ChartDataExportMode.SPECIFIC","specific");F("anychart.enums.ChartDataExportMode.GROUPED","grouped");F("anychart.enums.MapSeriesType.CHOROPLETH","choropleth");F("anychart.enums.MapSeriesType.BUBBLE","bubble");F("anychart.enums.MapSeriesType.MARKER","marker");F("anychart.enums.MapSeriesType.CONNECTOR","connector");F("anychart.enums.CartesianSeriesType.AREA","area");F("anychart.enums.CartesianSeriesType.BAR","bar");F("anychart.enums.CartesianSeriesType.BOX","box");
F("anychart.enums.CartesianSeriesType.BUBBLE","bubble");F("anychart.enums.CartesianSeriesType.CANDLESTICK","candlestick");F("anychart.enums.CartesianSeriesType.COLUMN","column");F("anychart.enums.CartesianSeriesType.LINE","line");F("anychart.enums.CartesianSeriesType.MARKER","marker");F("anychart.enums.CartesianSeriesType.OHLC","ohlc");F("anychart.enums.CartesianSeriesType.RANGE_AREA","rangeArea");F("anychart.enums.CartesianSeriesType.RANGE_BAR","rangeBar");
F("anychart.enums.CartesianSeriesType.RANGE_COLUMN","rangeColumn");F("anychart.enums.CartesianSeriesType.RANGE_SPLINE_AREA","rangeSplineArea");F("anychart.enums.CartesianSeriesType.RANGE_STEP_AREA","rangeStepArea");F("anychart.enums.CartesianSeriesType.SPLINE","spline");F("anychart.enums.CartesianSeriesType.SPLINE_AREA","splineArea");F("anychart.enums.CartesianSeriesType.STEP_AREA","stepArea");F("anychart.enums.CartesianSeriesType.STEP_LINE","stepLine");
F("anychart.enums.Cartesian3dSeriesType.AREA","area");F("anychart.enums.Cartesian3dSeriesType.BAR","bar");F("anychart.enums.Cartesian3dSeriesType.COLUMN","column");F("anychart.enums.ScatterSeriesType.BUBBLE","bubble");F("anychart.enums.ScatterSeriesType.LINE","line");F("anychart.enums.ScatterSeriesType.MARKER","marker");F("anychart.enums.SparklineSeriesType.AREA","area");F("anychart.enums.SparklineSeriesType.COLUMN","column");F("anychart.enums.SparklineSeriesType.LINE","line");
F("anychart.enums.SparklineSeriesType.WIN_LOSS","winLoss");F("anychart.enums.StockSeriesType.AREA","area");F("anychart.enums.StockSeriesType.CANDLESTICK","candlestick");F("anychart.enums.StockSeriesType.COLUMN","column");F("anychart.enums.StockSeriesType.LINE","line");F("anychart.enums.StockSeriesType.MARKER","marker");F("anychart.enums.StockSeriesType.OHLC","ohlc");F("anychart.enums.StockSeriesType.RANGE_AREA","rangeArea");F("anychart.enums.StockSeriesType.RANGE_COLUMN","rangeColumn");
F("anychart.enums.StockSeriesType.RANGE_SPLINE_AREA","rangeSplineArea");F("anychart.enums.StockSeriesType.RANGE_STEP_AREA","rangeStepArea");F("anychart.enums.StockSeriesType.SPLINE","spline");F("anychart.enums.StockSeriesType.SPLINE_AREA","splineArea");F("anychart.enums.StockSeriesType.STEP_AREA","stepArea");F("anychart.enums.StockSeriesType.STEP_LINE","stepLine");F("anychart.enums.MovingAverageType.SMA","sma");F("anychart.enums.MovingAverageType.EMA","ema");
F("anychart.enums.RadarSeriesType.AREA","area");F("anychart.enums.RadarSeriesType.LINE","line");F("anychart.enums.RadarSeriesType.MARKER","marker");F("anychart.enums.PolarSeriesType.AREA","area");F("anychart.enums.PolarSeriesType.LINE","line");F("anychart.enums.PolarSeriesType.MARKER","marker");F("anychart.enums.PolarSeriesType.POLYGON","polygon");F("anychart.enums.PolarSeriesType.POLYLINE","polyline");F("anychart.enums.PolarSeriesType.COLUMN","column");
F("anychart.enums.PolarSeriesType.RANGE_COLUMN","rangeColumn");F("anychart.enums.MekkoSeriesType.MEKKO","mekko");F("anychart.enums.MilestoneShape.CIRCLE","circle");F("anychart.enums.MilestoneShape.RHOMBUS","rhombus");F("anychart.enums.MilestoneShape.RECTANGLE","rectangle");F("anychart.enums.AnnotationTypes.RAY","ray");F("anychart.enums.AnnotationTypes.LINE","line");F("anychart.enums.AnnotationTypes.INFINITE_LINE","infiniteLine");F("anychart.enums.AnnotationTypes.VERTICAL_LINE","verticalLine");
F("anychart.enums.AnnotationTypes.HORIZONTAL_LINE","horizontalLine");F("anychart.enums.AnnotationTypes.RECTANGLE","rectangle");F("anychart.enums.AnnotationTypes.ELLIPSE","ellipse");F("anychart.enums.AnnotationTypes.TRIANGLE","triangle");F("anychart.enums.AnnotationTypes.TREND_CHANNEL","trendChannel");F("anychart.enums.AnnotationTypes.ANDREWS_PITCHFORK","andrewsPitchfork");F("anychart.enums.AnnotationTypes.FIBONACCI_FAN","fibonacciFan");F("anychart.enums.AnnotationTypes.FIBONACCI_ARC","fibonacciArc");
F("anychart.enums.AnnotationTypes.FIBONACCI_RETRACEMENT","fibonacciRetracement");F("anychart.enums.AnnotationTypes.FIBONACCI_TIMEZONES","fibonacciTimezones");F("anychart.enums.AnnotationTypes.MARKER","marker");F("anychart.enums.A11yMode.CHART_ELEMENTS","chartElements");F("anychart.enums.A11yMode.DATA_TABLE","dataTable");F("anychart.enums.LocaleDateTimeFormat.YEAR","year");F("anychart.enums.LocaleDateTimeFormat.YEAR_SEMESTER","year_semester");F("anychart.enums.LocaleDateTimeFormat.YEAR_QUARTER","year_quarter");
F("anychart.enums.LocaleDateTimeFormat.YEAR_MONTH","year_month");F("anychart.enums.LocaleDateTimeFormat.YEAR_THIRD_OF_MONTH","year_third_of_month");F("anychart.enums.LocaleDateTimeFormat.YEAR_WEEK","year_week");F("anychart.enums.LocaleDateTimeFormat.YEAR_DAY","year_day");F("anychart.enums.LocaleDateTimeFormat.YEAR_HOUR","year_hour");F("anychart.enums.LocaleDateTimeFormat.YEAR_MINUTE","year_minute");F("anychart.enums.LocaleDateTimeFormat.YEAR_SECOND","year_second");
F("anychart.enums.LocaleDateTimeFormat.YEAR_MILLISECOND","year_millisecond");F("anychart.enums.LocaleDateTimeFormat.SEMESTER","semester");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_QUARTER","semester_quarter");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_MONTH","semester_month");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_THIRD_OF_MONTH","semester_third_of_month");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_WEEK","semester_week");
F("anychart.enums.LocaleDateTimeFormat.SEMESTER_DAY","semester_day");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_HOUR","semester_hour");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_MINUTE","semester_minute");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_SECOND","semester_second");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_MILLISECOND","semester_millisecond");F("anychart.enums.LocaleDateTimeFormat.QUARTER","quarter");F("anychart.enums.LocaleDateTimeFormat.QUARTER_MONTH","quarter_month");
F("anychart.enums.LocaleDateTimeFormat.QUARTER_THIRD_OF_MONTH","quarter_third_of_month");F("anychart.enums.LocaleDateTimeFormat.QUARTER_WEEK","quarter_week");F("anychart.enums.LocaleDateTimeFormat.QUARTER_DAY","quarter_day");F("anychart.enums.LocaleDateTimeFormat.QUARTER_HOUR","quarter_hour");F("anychart.enums.LocaleDateTimeFormat.QUARTER_MINUTE","quarter_minute");F("anychart.enums.LocaleDateTimeFormat.QUARTER_SECOND","quarter_second");F("anychart.enums.LocaleDateTimeFormat.QUARTER_MILLISECOND","quarter_millisecond");
F("anychart.enums.LocaleDateTimeFormat.MONTH","month");F("anychart.enums.LocaleDateTimeFormat.MONTH_THIRD_OF_MONTH","month_third_of_month");F("anychart.enums.LocaleDateTimeFormat.MONTH_WEEK","month_week");F("anychart.enums.LocaleDateTimeFormat.MONTH_DAY","month_day");F("anychart.enums.LocaleDateTimeFormat.MONTH_HOUR","month_hour");F("anychart.enums.LocaleDateTimeFormat.MONTH_MINUTE","month_minute");F("anychart.enums.LocaleDateTimeFormat.MONTH_SECOND","month_second");
F("anychart.enums.LocaleDateTimeFormat.MONTH_MILLISECOND","month_millisecond");F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH","third_of_month");F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_WEEK","third_of_month_week");F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_DAY","third_of_month_day");F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_HOUR","third_of_month_hour");F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_MINUTE","third_of_month_minute");
F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_SECOND","third_of_month_second");F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_MILLISECOND","third_of_month_millisecond");F("anychart.enums.LocaleDateTimeFormat.WEEK","week");F("anychart.enums.LocaleDateTimeFormat.WEEK_DAY","week_day");F("anychart.enums.LocaleDateTimeFormat.WEEK_HOUR","week_hour");F("anychart.enums.LocaleDateTimeFormat.WEEK_MINUTE","week_minute");F("anychart.enums.LocaleDateTimeFormat.WEEK_SECOND","week_second");
F("anychart.enums.LocaleDateTimeFormat.WEEK_MILLISECOND","week_millisecond");F("anychart.enums.LocaleDateTimeFormat.DAY","day");F("anychart.enums.LocaleDateTimeFormat.DAY_HOUR","day_hour");F("anychart.enums.LocaleDateTimeFormat.DAY_MINUTE","day_minute");F("anychart.enums.LocaleDateTimeFormat.DAY_SECOND","day_second");F("anychart.enums.LocaleDateTimeFormat.DAY_MILLISECOND","day_millisecond");F("anychart.enums.LocaleDateTimeFormat.HOUR","hour");F("anychart.enums.LocaleDateTimeFormat.HOUR_MINUTE","hour_minute");
F("anychart.enums.LocaleDateTimeFormat.HOUR_SECOND","hour_second");F("anychart.enums.LocaleDateTimeFormat.HOUR_MILLISECOND","hour_millisecond");F("anychart.enums.LocaleDateTimeFormat.MINUTE","minute");F("anychart.enums.LocaleDateTimeFormat.MINUTE_SECOND","minute_second");F("anychart.enums.LocaleDateTimeFormat.MINUTE_MILLISECOND","minute_millisecond");F("anychart.enums.LocaleDateTimeFormat.SECOND","second");F("anychart.enums.LocaleDateTimeFormat.SECOND_MILLISECOND","second_millisecond");
F("anychart.enums.LocaleDateTimeFormat.MILLISECOND","millisecond");F("anychart.enums.IntervalFormatPrefix.NONE","");F("anychart.enums.IntervalFormatPrefix.FULL","full");F("anychart.enums.AvailabilityPeriod.YEAR","year");F("anychart.enums.AvailabilityPeriod.WEEK","week");F("anychart.enums.AvailabilityPeriod.DAY","day");F("anychart.enums.AvailabilityPeriod.NONE","none");F("anychart.enums.TimeTrackingMode.AVAILABILITY_PER_CHART","availabilityPerChart");
F("anychart.enums.TimeTrackingMode.AVAILABILITY_PER_RESOURCE","availabilityPerResource");F("anychart.enums.TimeTrackingMode.ACTIVITY_PER_CHART","activityPerChart");F("anychart.enums.TimeTrackingMode.ACTIVITY_PER_RESOURCE","activityPerResource");F("anychart.enums.ShapeType.PATH","path");F("anychart.enums.ShapeType.CIRCLE","circle");F("anychart.enums.ShapeType.ELLIPSE","ellipse");F("anychart.enums.ShapeType.RECT","rect");F("anychart.enums.FontStyle.NORMAL","normal");
F("anychart.enums.FontStyle.ITALIC","italic");F("anychart.enums.FontStyle.OBLIQUE","oblique");F("anychart.enums.FontVariant.NORMAL","normal");F("anychart.enums.FontVariant.SMALL_CAP","small-caps");F("anychart.enums.TextParsingMode.CSV","csv");F("anychart.enums.TextParsingMode.BY_WORD","byWord");F("anychart.enums.TextParsingMode.BY_CHAR","byChar");F("anychart.enums.HAlign.LEFT","left");F("anychart.enums.HAlign.START","start");F("anychart.enums.HAlign.CENTER","center");
F("anychart.enums.HAlign.END","end");F("anychart.enums.HAlign.RIGHT","right");F("anychart.enums.VAlign.TOP","top");F("anychart.enums.VAlign.MIDDLE","middle");F("anychart.enums.VAlign.BOTTOM","bottom");F("anychart.enums.TextWrap.NO_WRAP","noWrap");F("anychart.enums.TextWrap.BY_LETTER","byLetter");F("anychart.enums.TextWrap.BY_WORD","byWord");F("anychart.enums.TagCloudMode.SPIRAL","spiral");F("anychart.enums.TagCloudMode.RECT","rect");F("anychart.enums.WaterfallDataMode.ABSOLUTE","absolute");
F("anychart.enums.WaterfallDataMode.DIFF","diff");var ho=-1;function io(a,b,c){jo("error","Error: "+a+"\nDescription: "+ko(a,c),b||"")}
function ko(a,b){switch(a){case 1:return"Container is not set or can not be properly recognized. Use container() method to set it.";case 2:return"Scale is not set. Use scale() method to set it.";case 3:return"Table.contents() accepts only an Array of Arrays as it's first argument.";case 4:return'Feature "'+b[0]+'" is not supported in this module. See modules list for details.';case 5:return b[0]+" should be only "+b[1]+" type"+(b[2]?" ("+b[2]+").":".");case 7:return"Empty config passed to anychart.fromJson() or anychart.fromXml() method.";
case 8:return"Bullet and Sparkline charts do not support Legend. Please use anychart.ui.Legend component for a group of charts instead.";case 51:return"Stock chart itself doesn't support legend - stock plots do. So use stock.plot().legend() instead.";case 9:return"Bullet and Sparkline charts do not support Credits.";case 10:return"Invalid GeoJSON object:";case 100:return"Double quotes in separator are not allowed.";case 101:return"CSV parsing failed.";case 200:return"Cannot create a computer on the table with the mapping of another table.";
case 201:return'Cannot create computed field "'+b[0]+'" - field name should be unique for the table';case 202:return'Cannot create output field "'+b[0]+'" on the computer - field with this name already exists';case 300:var c=b[2],d=[],e;for(e in c)d.push(e+" ("+c[e]+")");return['Series "',b[0],'" of type "',b[1],'" cannot be drawn, because it requires ',c.length," shapes with the following names: ",d.join(", ")].join("");default:return"Unknown error occurred. Please, contact support team at http://support.anychart.com/.\nWe will be very grateful for your report."}}
function lo(a,b,c,d){d&&ho!=a&&(ho=a,jo("warn","Warning: "+a+"\nDescription: "+mo(a,c),b||""))}
function mo(a,b){switch(a){case 1:return"Data item with ID='"+b[0]+"' already exists in the tree and will be used as the parent for all related data items.";case 2:return"Data item with ID='"+b[0]+"' is not unique. First met object will be used.";case 3:return"One of the data items was looking for the parent with ID='"+b[0]+"', but did not find it. Please check the data.\nPLEASE NOTE: this data item will be added as the root to avoid loss of information.";case 4:return"Data item {ID='"+b[0]+"', PARENT='"+
b[1]+"'} belongs to a cycle and will not be added to the tree.";case 5:return"Can not set value for the '"+b[0]+"' field to an array row if it is not mapped.";case 6:return"Setting complex value to the default '"+b[0]+"' field changes row behaviour.";case 7:return"Can not set value for the '"+b[0]+"' field to a row that is not an object or an array.";case 8:return"We can not serialize '"+b[0]+"' function, please reset it manually.";case 9:return"Data grid incorrect method '"+b[0]+"()' usage: You use not standalone data grid. Perform all operations on data grid using the controller, but not directly. In current case, use '"+
b[1]+"()' instead. "+b[2];case 404:return b[0]+" with id='"+b[1]+"' is not found in data tree. Please check what you are looking for.";case 11:return"Can not fit gantt chart timeline to task with id '"+b[0]+"' because both fields 'actualStart' and 'actualEnd' must be correctly specified in data item.";case 12:return'Series type "'+b[0]+'" does not support error settings - only Area, Bar, Column, Line, Marker, Spline, SplineArea, StepLine and StepLineArea do.';case 13:return"Toolbar container is not specified. Please set a container using toolbar.container() method.";
case 14:return"Target chart has not method "+b[0]+"(). PLease make sure that you use correct instance of chart.";case 15:return"No chart is assigned for toolbar. Please set a target chart using toolbar.target() method.";case 405:return(b[3]||"Method")+" "+b[0]+" is deprecated. Use "+b[1]+" instead"+(b[2]?b[2]+".":".");case 19:return"The projection that used cannot work correctly without Proj4. Please include Proj4 binary (https://cdnjs.cloudflare.com/ajax/libs/proj4js/2.3.15/proj4.js) into your page, or use another projection";
case 17:return"Incorrect arguments passed to treeDataItem.set() method. You try to set a value by path in complex structure, but path contains errors (It can be not string and not numeric values, or invalid path in existing structure, or incorrect number of path's elements etc). Please, see the documentation for treeDataItem.set() method and carefully check your data.";case 101:return"Table is already in transaction mode. Calling startTransaction() multiple times does nothing.";case 201:return"Wrong mapping passed to "+
b[0]+' series - required "'+b[1]+"' field is missing.";case 406:return'Could not parse date time value "'+b[0]+'".'+(b[1]?"Symbols parsed: "+b[1]:"");case 500:return"Scale is immutable for this type of axis marker and scale will not be set.";case 501:return"Layout is immutable for this type of axis marker and layout will not be set.";case 18:return"There should be only one root in tree map data. First node has been taken as root.";case 301:return'Feature with id "'+b[0]+'" not found';case 20:var c=
b[1];return"Current scale ticks settings resulted in too many ticks: trying to generate about "+b[0]/c+" ticks with interval "+c;case 21:return"Data item with ID='"+b[0]+"' already exists. You should use another key.";case 22:return"Area "+b[0]+" not represented on screen.";default:return"Unknown error. Please, contact support team at http://support.anychart.com/.\nWe will be very grateful for your report!"}}
function jo(a,b,c){var d=ca.console;d&&(a=d[a]||d.log,"object"!=typeof a&&a.call(d,b,c))};function no(a,b){Fb.call(this);this.f=a;this.w=b;this.P=oo.test(Yf().location.hostname);this.u=!(this.w||this.P);this.b=po|qo|ro|Eo}G(no,Fb);var oo=/^(.*\.)?anychart\.(com|stg|dev)$/i,Fo=!1,po=1,qo=2,ro=4,Eo=8;g=no.prototype;g.K=function(a){this.b&=~a};g.o=function(a,b){var c=a&~this.b;this.b|=c;!this.Zb&&!this.f.ac()&&c&&b&&this.f.jd()};function Go(){return("https:"==Yf().location.protocol?"https://":"http://")+"static.anychart.com/logo.png"}
g.enabled=function(a){return m(a)?(this.u!=a&&(this.u=a,(Ho(this)||this.w)&&this.o(po,!0)),this):this.u};g.text=function(a){return m(a)?(this.Ta!=a&&(this.Ta=a,Ho(this)&&this.o(ro,!0)),this):this.Ta};g.Iq=function(a){return m(a)?(this.Y!=a&&(this.Y=a,Ho(this)&&this.o(qo,!0)),this):this.Y};g.Gq=function(a){return m(a)?(this.G!=a&&(this.G=a,Ho(this)&&this.o(qo,!0)),this):this.G};g.Hq=function(a){return m(a)?(this.N!=a&&(this.N=a,Ho(this)&&this.o(qo,!0)),this):this.N};
g.Xn=function(a){return m(a)?(this.va!=a&&(this.va=a,Ho(this)&&this.o(Eo,!0)),this):this.va};g.ja=function(){return this.f};g.X=function(){return this.zb};
g.jd=function(){var a=Ho(this);a&&m(this.U)&&!this.U&&this.o(po,!1);this.U=a;if(!this.b||this.Zb||!this.f||this.f.ac())return this;if(!this.enabled()&&(this.w||a))return this.b&po&&(gg(this.zb),this.K(po)),this;if(!Fo){var b="",c=Zf("STYLE");c.type="text/css";b+='.anychart-credits{position:absolute;overflow:hidden;right:9px;bottom:6px;height:10px;}.anychart-credits a {text-decoration:none;}.anychart-credits-logo{border:none;margin-right:2px;height:10px;width:10px;display:inline-block;vertical-align:top;}.anychart-credits-text{font-size:10px;line-height:9px;display:inline-block;vertical-align:top;text-decoration:none;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;color:#929292;height:10px;}';c.styleSheet?
c.styleSheet.cssText=b:c.appendChild(document.createTextNode(String(b)));fg(Qf("head",void 0,void 0)[0],c);Fo=!0}this.zb||(this.zb=Zf("DIV","anychart-credits"));this.g||(this.g=Zf("A"),this.j=Zf("SPAN","anychart-credits-text"),this.i=Zf("IMG","anychart-credits-logo"),dg(this.g,this.j),this.zb.appendChild(this.g));b=this.f.Bj();this.b&po&&(b&&b.appendChild(this.zb),this.K(po));this.b&qo&&(Rf(this.g,{href:a?this.Iq():"https://www.anychart.com/?utm_source=trial",title:a?this.Gq():"AnyChart - JavaScript Charts designed to be embedded and integrated",
target:"_blank"}),Rf(this.i,{alt:a?this.Hq():"AnyChart - JavaScript Charts"}),this.K(qo));this.b&ro&&(a=a?this.text():"AnyChart Trial Version",lg(this.j,a),this.K(ro));if(this.b&Eo){if(a=Ho(this)?this.Xn():Go()){if(this.B=a,b=Ri(bh))Sc(b,"complete",this.PD,!1,this),Sc(b,"load",this.lA,!1,this),Sc(b,"error",this.QD,!1,this),this.D&&(Ji(b,a),this.D=!1),Ii(b,a,a),this.D=!0,b.start()}else gg(this.i);this.K(Eo)}return this};function Ho(a){return Io()||a.P}
g.lA=function(a){var b=this.B;a.target.id==b&&(this.Zb||(Ho(this)?this.Xn():Go())!=b||this.i.parentNode||fg(this.g,this.i),Rf(this.i,{src:b}),this.D=!1)};g.PD=function(a){a.target.id==this.B&&(this.D=!1)};g.QD=function(a){a.target.id==this.B&&gg(this.i)};g.W=function(a){this.f.vc();B(a)?(this.text(a),this.enabled(!0)):ja(a)||null===a?this.enabled(!!a):z(a)&&(this.Iq(a.url),this.text(a.text),this.Gq(a.alt),this.Hq(a.imgAlt),this.Xn(a.logoSrc),this.enabled(a.enabled));this.f.qc()};
g.I=function(){var a={};a.url=this.Iq();a.alt=this.Gq();a.imgAlt=this.Hq();a.text=this.text();a.logoSrc=this.Xn();a.enabled=this.enabled();return a};g.da=function(){var a=Ri(bh);a&&($c(a,"load",this.lA,!1,this),$c(a,"complete",this.PD,!1,this),$c(a,"error",this.QD,!1,this));gg(this.j);gg(this.i);gg(this.g);gg(this.zb);this.f=this.zb=this.g=this.i=this.j=null;no.F.da.call(this)};var Jo=no.prototype;Jo.text=Jo.text;Jo.url=Jo.Iq;Jo.alt=Jo.Gq;Jo.imgAlt=Jo.Hq;Jo.logoSrc=Jo.Xn;Jo.enabled=Jo.enabled;ca.performance&&E(ca.performance.now)&&pa(ca.performance.now,ca.performance);var Ko={color:"#fff",opacity:1E-5};function Lo(a,b,c){a=Mo(a);b=Mo(b);var d=(a.opacity+b.opacity)/2;return{color:Ne(zm(a.sE,b.sE,m(c)?c:.5)),opacity:d}}function Mo(a){var b=a,c=1;q(a)||(B(a)?b=a:(b=a.color||"#000",c=m(a.opacity)?a.opacity:1),a=No(b).Ge,b=wm(a));return{sE:b,opacity:c}}
function Oo(a,b,c,d){b=null==b||isNaN(+b)?7:+b;d=null!=d?Yd(d,0,1):NaN;var e,f;a=No(a||"#000").Ge;f=wm(a);a=f[0]/255;e=f[1]/255;f=f[2]/255;var h=Math.max(a,e,f),k=Math.min(a,e,f),l=0,n=0,p=.5*(h+k);h!=k&&(h==a?l=60*(e-f)/(h-k):h==e?l=60*(f-a)/(h-k)+120:h==f&&(l=60*(a-e)/(h-k)+240),n=0=p?(h-k)/(2*p):(h-k)/(2-2*p));f=[Math.round(l+360)%360,n,p];a=f[0];e=f[1];f=f[2];isNaN(d)?(d=f,c=null!=c?Yd(c,0,1):.95):c=null!=c?Yd(c,0,1):f;f=1l?l*(1+e):l+e-e*l;r=2*l-t;l=255*ym(r,t,p+1/3);n=255*ym(r,t,p);p=255*ym(r,t,p-1/3)}else l=n=p=255*l;h.push(Ne([Math.round(l),Math.round(n),Math.round(p)]))}return h}function Po(a){if(z(a))if(a.color)a=a.color;else return null;if(B(a))try{return rm(a).Ge}catch(b){}return null}
function Qo(a,b){if(z(a)&&m(a.keys)){for(var c=$b(a),d=c.keys,e=[],f=0,h=d.length;f=c&&0<=e&&255>=e&&0<=d&&255>=d){c=[c,e,d];break a}}c=[]}return c.length?(b.Ge=Ne(c),b.type="rgb",b):qm&&(a=qm[a.toLowerCase()])?(b.Ge=a,b.type="named",b):null}function Wo(a,b,c){var d;c?d=Fe(a):d=Oe(a);B(d)?d={color:d,opacity:b}:z(d)&&(d.opacity=b);return d}var Xo={};
function Yo(a,b){var c;if(!a)return Zo;if(q(a)){var d=b+"|"+a.join("|");c=Xo[d];if(!c){switch(b){case 2:c=$o;break;case 3:c=ap;break;default:case 1:c=bp}Xo[d]=c=qa(cp,a,c,3==b)}}else(c=Xo.transparent)||(c=Xo.transparent=function(){return Ko});return c}function Zo(){return"none"}
function cp(a,b,c,d,e,f,h){var k;e=Math.min(e&(dp|ep),ep);if(e!=fp&&1a++;){if(this.Zb)return;this.zf.Ii();b=Rp(this)}b&&this.zf.Ii();this.Zb||(b?(this.zf.Gc(this.nc),this.jx=setTimeout(this.ts,0)):this.zf.Oq())};function Qp(a){for(var b=a.length,c=Array(b),d=c[0]=-1,e=1;e=d){f="";e=0;a.vf=-1;a.wf=-1;a.nc=c+1;h=0;break}else return 0=cq(a,b,c,d,e[h],e[h+1]);return f}function cq(a,b,c,d,e,f){return(a=(b-d)*e+(c-a)*f+(a*d-c*b))?0c&&0c&&d.push("-");d.push("P");(a.j||b)&&d.push(Math.abs(a.j)+"Y");(a.D||b)&&d.push(Math.abs(a.D)+"M");(a.b||b)&&d.push(Math.abs(a.b)+"D");if(a.i||a.g||a.f||b)d.push("T"),(a.i||b)&&d.push(Math.abs(a.i)+"H"),(a.g||b)&&d.push(Math.abs(a.g)+"M"),(a.f||b)&&d.push(Math.abs(a.f)+"S");return d.join("")}
oq.prototype.clone=function(){return new oq(this.j,this.D,this.b,this.i,this.g,this.f)};var pq="y",qq="m",rq="d",sq="h",tq="n",uq="s";oq.prototype.u=function(a){return new oq(this.j*a,this.D*a,this.b*a,this.i*a,this.g*a,this.f*a)};oq.prototype.add=function(a){this.j+=a.j;this.D+=a.D;this.b+=a.b;this.i+=a.i;this.g+=a.g;this.f+=a.f};
function xq(a,b,c){C(a)?(this.b=yq(a,b||0,c||1),zq(this,c||1)):z(a)?(this.b=yq(a.getFullYear(),a.getMonth(),a.getDate()),zq(this,a.getDate())):(this.b=new Date(sa()),a=this.b.getDate(),this.b.setHours(0),this.b.setMinutes(0),this.b.setSeconds(0),this.b.setMilliseconds(0),zq(this,a))}function yq(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b}g=xq.prototype;g.um=lq.et;g.vm=lq.ft;g.clone=function(){var a=new xq(this.b);a.um=this.um;a.vm=this.vm;return a};
g.getFullYear=function(){return this.b.getFullYear()};g.getMonth=function(){return this.b.getMonth()};g.getDate=function(){return this.b.getDate()};g.getTime=function(){return this.b.getTime()};g.getDay=function(){return this.b.getDay()};g.getUTCFullYear=function(){return this.b.getUTCFullYear()};g.getUTCMonth=function(){return this.b.getUTCMonth()};g.getUTCDate=function(){return this.b.getUTCDate()};g.Nr=function(){return this.b.getDay()};g.getUTCHours=function(){return this.b.getUTCHours()};
g.getUTCMinutes=function(){return this.b.getUTCMinutes()};g.getTimezoneOffset=function(){return this.b.getTimezoneOffset()};function Aq(a){if(a=a.getTimezoneOffset()){var b=Math.abs(a)/60,c=Math.floor(b),b=60*(b-c);a=(0b&&(b+=12);var d=Math.min(nq(c,b),this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(d)}a.b&&(b=new Date(this.getFullYear(),this.getMonth(),this.getDate(),12),a=new Date(b.getTime()+864E5*a.b),this.setDate(1),this.setFullYear(a.getFullYear()),this.setMonth(a.getMonth()),this.setDate(a.getDate()),zq(this,a.getDate()))};
g.Or=function(a,b){return[this.getFullYear(),Qa(this.getMonth()+1,2),Qa(this.getDate(),2)].join(a?"-":"")+(b?Aq(this):"")};g.Sx=function(a,b){return[this.getUTCFullYear(),Qa(this.getUTCMonth()+1,2),Qa(this.getUTCDate(),2)].join(a?"-":"")+(b?"Z":"")};g.toString=function(){return this.Or()};function zq(a,b){if(a.getDate()!=b){var c=a.getDate()c?"-":"+"];c=Math.abs(c);d.push(Math.floor(c/60)%100);(c%=60)&&d.push(":",Qa(c,2));c=d.join("")}else c="Etc/GMT";b.g=c;(c=a)?(d=["UTC",0>c?"+":"-"],c=Math.abs(c),d.push(Math.floor(c/60)%100),(c%=60)&&d.push(":",c),c=d.join("")):c="UTC";a=Iq(a);b.D=[c,c];b.b={$Q:a,ly:a};b.i=[];return b}b=new Gq;b.g=a.id;b.f=-a.std_offset;b.D=a.names;b.b=a.names_ext;b.i=a.transitions;return b}
function Iq(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(Qa(Math.floor(a/60)%100,2),":",Qa(a%60,2));return b.join("")}function Jq(a,b){for(var c=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate(),b.getUTCHours(),b.getUTCMinutes())/36E5,d=0;d=a.i[d];)d+=2;return d?a.i[d-1]:0};function Kq(a,b){this.f=[];this.b=b||lq;"number"==typeof a?Lq(this,a):Mq(this,a)}var Nq=[/^\'(?:[^\']|\'\')*(\'|$)/,/^(?:G+|y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/,/^[^\'GyMkSEahKHcLQdmsvVwzZ]+/];function Oq(a){return a.getHours?a.getHours():0}
function Mq(a,b){for(Pq&&(b=b.replace(/\u200f/g,""));b;){for(var c=b,d=0;db)c=a.b.hn[b];else if(8>b)c=a.b.ln[b-4];else if(12>b)c=a.b.ct[b-8],c=c.replace("{1}",a.b.hn[b-8]),c=c.replace("{0}",a.b.ln[b-8]);else{Lq(a,10);return}Mq(a,c)}function Sq(a,b){var c;c=String(b);var d=a.b||lq;if(void 0!==d.rt){for(var e=[],f=0;f=h?String.fromCharCode(d.rt+h-48):c.charAt(f))}c=e.join("")}return c}var Pq=!1;
function Tq(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("The date to format has no time (probably a goog.date.Date). Use Date or goog.date.DateTime, or use a pattern without time fields.");}
function Rq(a,b,c,d,e,f){var h=b.length;switch(b.charAt(0)){case "G":return c=0c&&(c=-c),2==h&&(c%=100),Sq(a,Qa(c,h));case "M":a:switch(c=d.getMonth(),h){case 5:h=a.b.gy[c];break a;case 4:h=a.b.ht[c];break a;case 3:h=a.b.jt[c];break a;default:h=Sq(a,Qa(c+1,h))}return h;case "k":return Tq(e),c=Oq(e)||24,Sq(a,Qa(c,h));case "S":return Sq(a,(e.getTime()%1E3/1E3).toFixed(Math.min(3,h)).substr(2)+(3h?1:0];case "h":return Tq(e),c=Oq(e)%12||12,Sq(a,Qa(c,h));case "K":return Tq(e),c=Oq(e)%12,Sq(a,Qa(c,h));case "H":return Tq(e),c=Oq(e),Sq(a,Qa(c,h));case "c":a:switch(c=d.getDay(),h){case 5:h=a.b.iy[c];break a;case 4:h=a.b.ky[c];break a;case 3:h=a.b.jy[c];break a;default:h=Sq(a,Qa(c,1))}return h;case "L":a:switch(c=d.getMonth(),h){case 5:h=a.b.hy[c];break a;case 4:h=a.b.ot[c];break a;case 3:h=a.b.pt[c];break a;default:h=
Sq(a,Qa(c+1,h))}return h;case "Q":return c=Math.floor(d.getMonth()/3),4>h?a.b.kt[c]:a.b.it[c];case "d":return Sq(a,Qa(d.getDate(),h));case "m":return Tq(e),Sq(a,Qa(e.getMinutes(),h));case "s":return Tq(e),Sq(a,Qa(e.getSeconds(),h));case "v":return h=f||Hq(c.getTimezoneOffset()),h.g;case "V":return a=f||Hq(c.getTimezoneOffset()),2>=h?a.g:0h?a.D[0h?(h=-(e.f-Jq(e,c)),a=[0>h?"-":"+"],h=Math.abs(h),a.push(Qa(Math.floor(h/60)%100,2),Qa(h%60,2)),h=a.join("")):h=Sq(a,Iq(e.f-Jq(e,c))),h;default:return""}}
;function Uq(a){if(ca.JSON)try{var b=ca.JSON.parse(a);return b}catch(c){}return b=$k(a)};var Vq;function Wq(a,b,c,d,e){if(c)for(var f=0;fb?1:a==b?0:-1}function $q(a,b){return-Xq(a,b)}function Yq(a,b){return isNaN(a)?isNaN(b)?0:1:isNaN(b)?-1:a-b}function ar(a){for(var b;a instanceof Tg;){b=a.tag;if(m(b))return b;a=a.parent()}}
function tr(a,b){if(!a)return!1;for(;b instanceof fd&&b!=a;)b=b.ag;return b==a}function Zq(a){return z(a)?"o"+ka(a):(typeof a).charAt(0)+a}function M(a,b,c){a=C(a)?a:!isNaN(b)&&ur(a)?b*parseFloat(a)/100:parseFloat(a);return c&&!isNaN(b)?b-a:a}function ur(a){return B(a)&&ua(a,"%")&&!isNaN(parseFloat(a))}function vr(a,b){if(null===a)return null;a=m(a)?a:0;b=m(b)?b:0;var c=ur(a),d=parseFloat(a);return isNaN(d)?b:c?a:d}function N(a){return null==a||ja(a)?NaN:+a}function wr(a){return B(a)?a:N(a)}
function xr(a){return C(a)&&!isNaN(a)||B(a)&&""!=xa(a)?a:null}function yr(a){return isNaN(N(a))}function zr(a,b,c){C(a)||(a=parseFloat(a));a=Math.round(a);return!isNaN(a)&&(0c&&(c+=b);c>=b&&(c-=b);return Xp(a-c,7)}function Gr(a,b,c){c=Xp((a-(c||0))%b,7);c>=b&&(c-=b);if(c)0>c&&(c+=b);else return Xp(a,7);return Xp(a+b-c,7)}
function Hr(a,b){var c=new Date(a),d=c.getUTCFullYear(),e=c.getUTCMonth(),f=c.getUTCDate(),h=c.getUTCHours(),k=c.getUTCMinutes(),l=c.getUTCSeconds(),n=c.getUTCMilliseconds();if(b.j)return d=Fr(d,b.j,(new Date(0)).getUTCFullYear()),Date.UTC(d,0);if(b.D)return e=Fr(e,b.D),Date.UTC(d,e);if(!b.b||b.b%7)return b.b?(f=Fr(f,b.b),Date.UTC(d,e,f)):b.i?(h=Fr(h,b.i),Date.UTC(d,e,f,h)):b.g?(k=Fr(k,b.g),Date.UTC(d,e,f,h,k)):1<=b.f?(l=Fr(l,b.f),Date.UTC(d,e,f,h,k,l)):b.f?(n=Fr(n,1E3*b.f),Date.UTC(d,e,f,h,k,l,n)):
a;d=Ir(Jr());return Fr(c.getTime(),864E5*b.b,Date.UTC(2E3,0,2+(d?d.firstDayOfWeek:0)))}function Kr(a,b){var c,d;switch(a){case "year":c=pq;d=b;break;case "semester":c=qq;d=6*b;break;case "quarter":c=qq;d=3*b;break;case "month":c=qq;d=b;break;case "thirdofmonth":c=rq;d=10*b;break;case "week":c=rq;d=7*b;break;case "day":c=rq;d=b;break;case "hour":c=sq;d=b;break;case "minute":c=tq;d=b;break;case "second":c=uq;d=b;break;case "millisecond":c=uq;d=b/1E3;break;default:c=pq,d=b}return new oq(c,d)}
function Lr(a,b){var c=(b&1)/2;return.5<=a%1?Math.ceil(a)-c:Math.floor(a)+c}function Mr(a,b,c,d){switch(b){case "leftTop":case "leftCenter":case "centerTop":case "center":a.x+=c;a.y+=d;break;case "leftBottom":case "centerBottom":a.x+=c;a.y-=d;break;case "rightCenter":case "rightTop":a.x-=c;a.y+=d;break;case "rightBottom":a.x-=c,a.y-=d}}function Nr(a){for(var b=0,c=arguments.length;bb;b++)a.lineTo(c+e*js[b],d+e*ks[b]);a.lineTo(c+e*js[0],d+e*ks[0]);a.close();return a};case "square":return function(a,c,d,e,f){var b=c-e,k=d-e;c+=e;d+=e;m(f)&&(f=f||0,b=Lr(b,f),k=Lr(k,f),c=Lr(c,f),d=Lr(d,f));a.moveTo(b,
k).lineTo(c,k).lineTo(c,d).lineTo(b,d).lineTo(b,k).close();return a};case "vline":case "line":return function(a,c,d,e,f){f=f||0;e*=2;var b=e/2;c-=b/2;d-=e/2;b=c+b;e=d+e;m(f)&&(f=f||0,c=Lr(c,f),d=Lr(d,f),b=Lr(b,f),e=Lr(e,f));a.moveTo(c,d).lineTo(b,d).lineTo(b,e).lineTo(c,e).lineTo(c,d).close();return a};case "arrowup":return function(a,c,d,e,f){var b=e/2,k=b/2;e=c+b;var l=c-b,n=d+b,b=d-b,p=c+k,k=c-k;m(f)&&(f=f||0,e=Lr(e,f),l=Lr(l,f),n=Lr(n,f),b=Lr(b,f),p=Lr(p,f),k=Lr(k,f),c=Lr(c,f),d=Lr(d,f));a.moveTo(c,
b);a.lineTo(e,d,p,d,p,n,k,n,k,d,l,d);a.close();return a};case "arrowdown":return function(a,c,d,e,f){var b=e/2,k=b/2;e=c+b;var l=c-b,n=d+b,b=d-b,p=c+k,k=c-k;m(f)&&(f=f||0,e=Lr(e,f),l=Lr(l,f),n=Lr(n,f),b=Lr(b,f),p=Lr(p,f),k=Lr(k,f),c=Lr(c,f),d=Lr(d,f));a.moveTo(c,n);a.lineTo(e,d,p,d,p,b,k,b,k,d,l,d);a.close();return a};case "arrowleft":return function(a,c,d,e,f){var b=e/2,k=b/2;e=c+b;var l=c-b,n=d+b,b=d-b,p=d+k,k=d-k;m(f)&&(f=f||0,e=Lr(e,f),l=Lr(l,f),n=Lr(n,f),b=Lr(b,f),p=Lr(p,f),k=Lr(k,f),c=Lr(c,
f),d=Lr(d,f));a.moveTo(l,d);a.lineTo(c,n,c,p,e,p,e,k,c,k,c,b);a.close();return a};case "arrowright":return function(a,c,d,e,f){var b=e/2,k=b/2;e=c+b;var l=c-b,n=d+b,b=d-b,p=d+k,k=d-k;m(f)&&(f=f||0,e=Lr(e,f),l=Lr(l,f),n=Lr(n,f),b=Lr(b,f),p=Lr(p,f),k=Lr(k,f),c=Lr(c,f),d=Lr(d,f));a.moveTo(e,d);a.lineTo(c,n,c,p,l,p,l,k,c,k,c,b);a.close();return a};default:return ci}}
function ms(a,b,c,d){var e=new Pp;c=!0;z(d)&&(e.Xo(d.rowsSeparator),e.ko(d.columnsSeparator),e.Lo(d.ignoreTrailingSpaces),c=!d.ignoreFirstRow,e.Jo(c));if(a=e.co(a)){d=Zf("table");b&&(e=Zf("caption"),dg(e,b),d.appendChild(e));var f,h;c&&(f=Zf("thead"),h=Zf("tr"),f.appendChild(h));b=Zf("tbody");for(e=0;e=a||96<=a&&106>=a||65<=a&&90>=a||(lc||jc)&&!a)return!0;switch(a){case 32:case 43:case 63:case 64:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:return!0;default:return!1}}function qs(a){if(kc)a=rs(a);else if(mc&&lc)switch(a){case 93:a=91}return a}
function rs(a){switch(a){case 61:return 187;case 59:return 186;case 173:return 189;case 224:return 91;case 0:return 224;default:return a}};function ss(a,b){fd.call(this);a&&(this.Zr&&ts(this),this.Co=a,this.Yr=Sc(this.Co,"keypress",this,b),this.Bw=Sc(this.Co,"keydown",this.PM,b,this),this.Zr=Sc(this.Co,"keyup",this.SM,b,this))}G(ss,fd);g=ss.prototype;g.Co=null;g.Yr=null;g.Bw=null;g.Zr=null;g.Rg=-1;g.fl=-1;g.Bt=!1;
var us={3:13,12:144,63232:38,63233:40,63234:37,63235:39,63236:112,63237:113,63238:114,63239:115,63240:116,63241:117,63242:118,63243:119,63244:120,63245:121,63246:122,63247:123,63248:44,63272:46,63273:36,63275:35,63276:33,63277:34,63289:144,63302:45},vs={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},ws=ic||jc||lc&&vc("525"),xs=mc&&kc;g=ss.prototype;
g.PM=function(a){(lc||jc)&&(17==this.Rg&&!a.ctrlKey||18==this.Rg&&!a.altKey||mc&&91==this.Rg&&!a.metaKey)&&this.zs();-1==this.Rg&&(a.ctrlKey&&17!=a.keyCode?this.Rg=17:a.altKey&&18!=a.keyCode?this.Rg=18:a.metaKey&&91!=a.keyCode&&(this.Rg=91));ws&&!os(a.keyCode,this.Rg,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?this.handleEvent(a):(this.fl=qs(a.keyCode),xs&&(this.Bt=a.altKey))};g.zs=function(){this.fl=this.Rg=-1};g.SM=function(a){this.zs();this.Bt=a.altKey};
g.handleEvent=function(a){var b=a.ef,c,d,e=b.altKey;ic&&"keypress"==a.type?(c=this.fl,d=13!=c&&27!=c?b.keyCode:0):(lc||jc)&&"keypress"==a.type?(c=this.fl,d=0<=b.charCode&&63232>b.charCode&&ps(c)?b.charCode:0):hc&&!lc?(c=this.fl,d=ps(c)?b.keyCode:0):(c=b.keyCode||this.fl,d=b.charCode||0,xs&&(e=this.Bt),mc&&63==d&&224==c&&(c=191));var f=c=qs(c);c?63232<=c&&c in us?f=us[c]:25==c&&a.shiftKey&&(f=9):b.keyIdentifier&&b.keyIdentifier in vs&&(f=vs[b.keyIdentifier]);this.Rg=f;a=new ys(f,d,0,b);a.altKey=e;
this.dispatchEvent(a)};function ts(a){a.Yr&&(ad(a.Yr),ad(a.Bw),ad(a.Zr),a.Yr=null,a.Bw=null,a.Zr=null);a.Co=null;a.Rg=-1;a.fl=-1}g.da=function(){ss.F.da.call(this);ts(this)};function ys(a,b,c,d){Bc.call(this,d);this.type="key";this.keyCode=a;this.i=b}G(ys,Bc);var zs=ca.acgraph;Hl.prototype.u=!1;Hl.prototype.j=function(a){this.ba||(this.ba=new no(this,this.u),this.ba.W(up("stageCredits")));return m(a)?(this.ba.W(a),this):this.ba};var As=0,Bs=[];function Cs(a,b){As?Bs.push(pa(a,b)):a.apply(b)}function Ds(){As--;if(!As)for(var a=Bs.slice(0),b=Bs.length=0;be;e++){c=e;for(var f=0;8>f;f++)c=c&1?3988292384^c>>>1:c>>>1;d[e]=c}bs=d}c=-1;for(d=0;d>>8^bs[(c^a.charCodeAt(d++))&255];a=((c^-1)>>>0).toString(16);return b==a}var Ns=[],Os=[],Ps=[];
function up(a){var b;Os.length||(Os.push(ca.anychart.themes.defaultTheme||{}),Ps.push(Os[0]));for(b=Os.length-1;bc.length?c[0]:c[b]):0}
g.parent=function(a){return m(a)?(this.ca!=a&&(a?(this.ca&&gv(this.ca,this.ru,this),this.ca=a,O(this.ca,this.ru,this)):(gv(this.ca,this.ru,this),this.ca=null)),this):this.ca};g.ru=function(a){var b=0,c=0;S(a,1)&&(b|=16,c|=1);S(a,8)&&(b|=4,c|=8);S(a,32768)&&(b|=1,c|=1);this.j=null;this.o(b,c)};function tw(a,b,c,d,e,f,h){switch(a.J("cornerType")){case "round":b.Hg(e,f,h,h,!1,!0);break;case "roundInner":b.Hg(e,f,h,h,!1,!1);break;case "cut":b.lineTo(e,f);break;default:b.lineTo(c,d).lineTo(e,f)}}
g.$=function(){if(!this.wb())return this;var a=this.J("fill")||"none",b=this.J("stroke"),c=this.J("topStroke"),d=this.J("rightStroke"),e=this.J("bottomStroke"),f=this.J("leftStroke"),h=!!(c||d||e||f),k=c&&d&&e&&f,l,n,p=this.O()?this.O().ja():null,r=p&&!p.ac();r&&p.vc();if(Q(this,4)){this.g||(this.g=Uh());k&&this.b?this.b.clear().parent(null):(this.b||(this.b=ph()),this.b.parent(this.g),this.b.clear());h?(this.u||(this.u=ph()),this.u.parent(this.g),this.u.clear()):this.u&&this.u.clear().parent(null);
if(this.G)for(k=0,l=this.G.length;kd||c>e)return 1;if(bd)return 1}else if(a.P){if(ce)return 1}return 0}
function Jw(a){var b=a.ia(),c,d,e;b?(c=b.width,b=b.height,null!=a.Ga?(a.Y=d=M(a.Ga,c),c=!1):(d=0,c=!0),null!=a.Za?(a.U=e=M(a.Za,b),b=!1):(e=0,b=!0)):(yr(a.Ga)?(c=!0,d=0):(c=!1,a.Y=d=N(a.Ga)),yr(a.Za)?(b=!0,e=0):(b=!1,a.U=e=N(a.Za)));var f=a.nd();a.g.width(null);a.g.height(null);c?(d+=a.g.Pa().width,a.ga=d,a.Y=f.he(d)):d=a.ga=f.ld(d);a.g.width(a.ga);b?(e+=a.g.Pa().height,a.ba=e,a.U=f.fe(e)):e=a.ba=f.kd(e);a.g.height(a.ba);var h=!c&&a.u||!b&&a.P;J(a);if(h){var h=Math.round((a.ka+a.ma)/2),k=a.ma,l=a.ka,
n;n=a.i;var p=Wh();p.pd("aria-hidden","true");a.fc(p,!0);a.i=n;p.fontSize(a.ka);if(0>=Iw(a,p.Pa().width,p.Pa().height,d,e))d=a.ka;else{p.fontSize(h);for(var r=n=Iw(a,p.Pa().width,p.Pa().height,d,e);k!=l;){if(0>n)k=Math.min(h+1,l),h+=Math.floor((l-h)/2);else if(0=r*n)break}if(n){do h+=r,p.fontSize(h),n=Iw(a,p.Pa().width,p.Pa().height,d,e);while(0>r*n);Ib(p);0b?null:b;m(a.width())||a.o(4)}function Ix(a,b){a.U=0>b?null:b;m(a.height())||a.o(4)}g.margin=function(a,b,c,d){this.u||(this.u=new kx,H(this,this.u),O(this.u,this.wA,this));return m(a)?(this.u.W.apply(this.u,arguments),this):this.u};
g.Eg=function(a,b,c,d){this.Ea||(this.Ea=new Fw,H(this,this.Ea),O(this.Ea,this.wA,this));return m(a)?(this.Ea.W.apply(this.Ea,arguments),this):this.Ea};function Jx(a,b){if(m(b)){var c=a.J("orientation")!=b;a.Vb.orientation=b;c&&a.o(4);return a}return a.Vb.orientation}g.gK=function(a,b){if(m(a)){if(B(a))if(m(b)){if(a in this.G)this[a](b)}else return this.kb(a);else if(z(a))for(var c in a)if(c in this.G)this[c](a[c]);return this}c={};for(var d in this.w)d in this.G&&(c[d]=this.w[d]);return c};
function Kx(a,b){if(m(b)){var c=null==b?"":String(b);a.Y!=c&&(a.Y=c,a.o(20,9));return a}return a.Y}g.o=function(a,b){var c=Ex.F.o.call(this,a,b);!c&&this.Ua&&this.ea(b||0);return c};function Lx(a){var b=!1;a.i||(b=!0,a.i=Uh(),a.gj().O(a.i),a.Ta=a.i.text(),a.Ta.zIndex(.1),a.Ta.pd("aria-hidden","true"),H(a,a.i),zv(a,a.i));return b}
g.$=function(){if(!this.wb())return this;var a=Lx(this),b=this.O();J(this);Q(this,2)&&(this.i.parent(b),this.K(2));Q(this,8)&&(this.i.zIndex(this.zIndex()),this.K(8));Q(this,16)&&(this.fc(a),this.K(16));Q(this,4)&&(Mx(this),this.Ta.x(M(this.Eg().J("left"),this.g)),this.Ta.y(M(this.Eg().J("top"),this.b)),this.i.Xa(this.B.rb,this.B.Hb,this.B.Lb,this.B.Eb,this.B.sb,this.B.tb),this.o(64),this.K(4));Q(this,64)&&(a=this.gj(),J(a),a.ia(0,0,this.g,this.b),a.$(),a.fa(!1),this.K(64));this.fa(!1);return this};
g.remove=function(){this.i?this.i.parent(null):this.Ta&&this.Ta.parent(null)};g.lc=function(){var a=this.ia(),a=a?a.clone():jq(0,0,0,0);if(!this.enabled())return a;this.xa&&!Q(this,4)||Mx(this);switch(this.J("orientation")){case "top":a.top+=this.xa.height;a.height-=this.xa.height;break;case "right":a.width-=this.xa.width;break;case "bottom":a.height-=this.xa.height;break;case "left":a.left+=this.xa.width,a.width-=this.xa.width}return a};
g.Zc=function(){if(!this.enabled())return new K(0,0,0,0);this.xa&&!Q(this,4)||Mx(this);return this.xa.clone()};
g.fc=function(a){var b=this.J("text"),c=Kx(this),d=this.J("useHtml");if(a||m(b)||m(c)||m(d))a=!b&&m(c)?c:b,d?this.Ta.htmlText(a):this.Ta.text(a);this.Ta.fontSize(this.J("fontSize"));this.Ta.fontFamily(this.J("fontFamily"));this.Ta.color(this.J("fontColor"));this.Ta.Yi(this.J("textDirection"));this.Ta.Ol(this.J("textWrap"));this.Ta.opacity(this.J("fontOpacity"));this.Ta.zh(this.J("fontDecoration"));this.Ta.fontStyle(this.J("fontStyle"));this.Ta.fontVariant(this.J("fontVariant"));this.Ta.fontWeight(this.J("fontWeight"));
this.Ta.letterSpacing(this.J("letterSpacing"));this.Ta.Ml(this.J("lineHeight"));this.Ta.Nl(this.J("textIndent"));this.Ta.qh(this.J("vAlign"));this.Ta.Gf(this.J("hAlign"));this.Ta.dg(this.J("textOverflow"));this.Ta.Zi(this.J("selectable"));this.Ta.Tb(this.J("disablePointerEvents"))};
function Nx(a){var b=a.kb("rotation");delete a.Vb.rotation;b=m(b)?b:a.J("rotation");if(m(b))return b;switch(a.J("orientation")){case "left":return a.Vb.rotation=-90;case "right":return a.Vb.rotation=90;default:return a.Vb.rotation=0}}
function Mx(a){var b=a.Eg(),c=a.margin(),d=a.ia(),e,f,h=a.J("orientation"),k=!(Nx(a)%180);f=!((Nx(a)+90)%180);d?f?(e=d.height,f=d.width):(e=d.width,f=d.height):e=f=void 0;var l=Lx(a);if(l||Q(a,16))a.fc(l),a.K(16);a.Ta.width(null);a.Ta.height(null);a.Ta.Xa(1,0,0,1,0,0);var l=a.Ta.Pa(),n=a.Kb("width")?a.kb("width"):a.ba||null;null===n?(a.P=l.width,a.g=b.he(a.P)):(a.g=M(n,e),a.P=b.ld(a.g));d&&e=a.documentMode)?vg(this.f,Zx):vg(this.f,Yx);vg(this.ja().Bj(),Rx);vg(this.ja().X(),$x);this.j()};Xx.prototype.j=function(){var a;a=this.g;a=a.b?a.b.clone():null;this.ja().Ll(a.width,a.height)};Xx.prototype.dl=function(){return!1};function ay(a,b,c){this.b={values:a||{},xj:b||null,Lh:c||[],gf:{},Oe:{}};this.b.gf["%Value"]="value";this.b.gf["%YValue"]="value";this.b.gf["%Index"]="index"}g=ay.prototype;g.values=function(a){return m(a)?(this.b.values=a,this):this.b.values};g.xj=function(a){return m(a)?(this.b.xj=a,this):this.b.xj};g.Lh=function(a){return m(a)?(this.b.Lh=a,this):this.b.Lh};g.gf=function(a){return m(a)?(this.b.gf=a,this):this.b.gf};g.Oe=function(a){return m(a)?(this.b.Oe=a,this):this.b.Oe};
g.uk=function(a){var b=this.b.xj;return b?b.get.apply(b,arguments):void 0};g.UH=function(a){var b=this.b.xj?this.b.xj.R(a):void 0;m(b)||(b=(b=this.b.values.series)?b.value.R(a):void 0);return b};g.og=function(a){var b=void 0;if(a)for(var c=0;cc?d=this.f.hn[c]:8>c?d=this.f.ln[c-4]:(d=this.f.ct[c-8],d=d.replace("{1}",this.f.hn[c-8]),d=d.replace("{0}",this.f.ln[c-8]));fy(this,d)}else fy(this,a)}
function fy(a,b){for(var c=!1,d="",e=0;e=a.count)return!1;var b="MydhHmsSDkK".indexOf(a.text.charAt(0));return 0a.count}function iy(a,b){var c=a.substring(b[0]).match(/^\s+/);c&&(b[0]+=c[0].length)}
function jy(a,b,c,d,e,f){iy(b,c);var h=c[0],k=d.text.charAt(0),l=-1;if(hy(d))if(0b.length)return!1;l=ky(a,b.substring(0,h+e),c)}else l=ky(a,b,c);switch(k){case "G":return l=ly(b,c,a.f.dt),0<=l&&(f.era=l),!0;case "M":case "L":a:{d=l;if(0>d){a=a.f.ht.concat(a.f.ot).concat(a.f.jt).concat(a.f.pt);d=ly(b,c,a);if(0>d){f=!1;break a}f.month=d%12}else f.month=d-1;f=!0}return f;case "E":return d=ly(b,c,a.f.qt),0>d&&(d=ly(b,c,a.f.mt)),0>d?f=!1:(f.f=d,f=!0),f;case "a":return l=ly(b,c,a.f.bt),0<=l&&
(f.g=l),!0;case "y":a:{var n;if(0>l){n=b.charAt(c[0]);if("+"!=n&&"-"!=n){f=!1;break a}c[0]++;l=ky(a,b,c);if(0>l){f=!1;break a}"-"==n&&(l=-l)}n||2!=c[0]-h||2!=d.count?f.year=l:(b=l,c=(new Date).getFullYear()-80,a=c%100,f.w=b==a,b+=100*Math.floor(c/100)+(bl?(d=ly(b,c,a.f.it),0>d&&(d=ly(b,c,a.f.kt)),0>d?f=!1:(f.month=3*d,f.day=1,f=!0)):f=!1,f;case "d":return 0<=l&&(f.day=l),!0;case "S":return b=c[0]-h,f.u=3>b?l*Math.pow(10,3-b):Math.round(l/Math.pow(10,
b-3)),!0;case "h":12==l&&(l=0);case "K":case "H":case "k":return 0<=l&&(f.b=l),!0;case "m":return 0<=l&&(f.D=l),!0;case "s":return 0<=l&&(f.j=l),!0;case "z":case "Z":case "v":b.indexOf("GMT",c[0])==c[0]&&(c[0]+=3);a:if(c[0]>=b.length)f.i=0,f=!0;else{d=1;switch(b.charAt(c[0])){case "-":d=-1;case "+":c[0]++}h=c[0];l=ky(a,b,c);if(0>l)f=!1;else{if(c[0]l){f=!1;break a}n+=l}else n=l,n=24>n&&2>=c[0]-h?60*n:n%100+n/100*60;f.i=-(n*d);f=!0}}return f;
default:return!1}}function ky(a,b,c){if(a.f.rt){for(var d=[],e=c[0];e=f?String.fromCharCode(f+48):b.charAt(e))}b=d.join("")}else b=b.substring(c[0]);a=b.match(/^\d+/);if(!a)return-1;c[0]+=a[0].length;return parseInt(a[0],10)}function ly(a,b,c){var d=0,e=-1;a=a.substring(b[0]).toLowerCase();for(var f=0;fd&&!a.indexOf(c[f].toLowerCase())&&(e=f,d=h)}0<=e&&(b[0]+=d);return e}function my(){};F("anychart.format.locales.default.dateTimeLocale",{eras:["BC","AD"],eraNames:["Before Christ","Anno Domini"],narrowMonths:"JFMAMJJASOND".split(""),standaloneNarrowMonths:"JFMAMJJASOND".split(""),months:"January February March April May June July August September October November December".split(" "),standaloneMonths:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),standaloneShortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),
weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),standaloneWeekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),shortWeekdays:"Sun Mon Tue Wed Thu Fri Sat".split(" "),standaloneShortWeekdays:"Sun Mon Tue Wed Thu Fri Sat".split(" "),narrowWeekdays:"SMTWTFS".split(""),standaloneNarrowWeekdays:"SMTWTFS".split(""),shortQuarters:["Q1","Q2","Q3","Q4"],quarters:["1st quarter","2nd quarter","3rd quarter","4th quarter"],ampms:["AM","PM"],firstDayOfWeek:0,
weekendRange:[5,6],firstWeekCutOffDay:3,dateFormat:"y MMM d",timeFormat:"HH:mm:ss",dateTimeFormat:"y MMM d 'at' HH:mm:ss",formats:{full_year:"yyyy",full_year_semester:"MMM yyyy",full_year_quarter:"MMM yyyy",full_year_month:"MMM yyyy",full_year_third_of_month:"dd MMM yyyy",full_year_week:"dd MMM yyyy",full_year_day:"dd MMM yyyy",full_year_hour:"HH dd MMM yyyy",full_year_minute:"dd MMM yyyy, HH:mm",full_year_second:"dd MMM yyyy, HH:mm:ss",full_year_millisecond:"dd MMM yyyy, HH:mm:ss.SSS",timeline_year:["yyyy",
"yy"],timeline_year_semester:["MMMM yyyy","MMM ''yyyy","MMM ''yy","MM ''yy"],timeline_year_quarter:["MMMM yyyy","MMM ''yyyy","MMM ''yy","MM ''yy"],timeline_year_month:["MMMM yyyy","MMM ''yyyy","MMM ''yy","MM ''yy"],timeline_year_third_of_month:"EEEE, dd MMMM yyyy;EE, dd MMM yyyy;EE, dd MMM yy;dd MMM yyyy;dd MMMM yy;MM.dd.yyyy;MM.dd.yy".split(";"),timeline_year_week:"EEEE, dd MMMM yyyy;EE, dd MMM yyyy;EE, dd MMM yy;dd MMM yyyy;dd MMMM yy;MM.dd.yyyy;MM.dd.yy".split(";"),timeline_year_day:"EEEE, dd MMMM yyyy;EE, dd MMM yyyy;EE, dd MMM yy;dd MMM yyyy;dd MMMM yy;MM.dd.yyyy;MM.dd.yy".split(";"),
timeline_semester:["MMMM","MMM","MM"],timeline_semester_quarter:["MMMM","MMM","MM"],timeline_semester_month:["MMMM","MMM","MM"],timeline_semester_third_of_month:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),timeline_semester_week:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),timeline_semester_day:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),timeline_quarter:["MMMM","MMM","MM"],timeline_quarter_month:["MMMM",
"MMM","MM"],timeline_quarter_third_of_month:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),timeline_quarter_week:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),timeline_quarter_day:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),timeline_month:["MMMM","MMM","MM"],timeline_month_third_of_month:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),timeline_month_week:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),
timeline_month_day:"EEEE, dd MMMM;EE, dd MMM;EE, dd MMM;dd MMM;dd MMMM;MM.dd;MM.dd".split(";"),timeline_third_of_month:["dd"],timeline_third_of_month_week:["dd"],timeline_third_of_month_day:["EEEE, dd","EE, dd","dd"],timeline_week:["dd"],timeline_week_day:["EEEE, dd","EE, dd","dd"],timeline_day:["EEEE, dd","EEEE","EE, dd","EE","dd"],year:"yyyy",year_semester:"yyyy MMM",year_quarter:"yyyy MMM",year_month:"yyyy MMM",year_third_of_month:"MMM dd",year_week:"MMM dd",year_day:"MMM dd",year_hour:"MMM-dd HH",
year_minute:"dd HH:mm",year_second:"HH:mm:ss",year_millisecond:"HH:mm:ss.SSS",semester:"MMM",semester_quarter:"MMM",semester_month:"MMM",semester_third_of_month:"dd",semester_week:"dd",semester_day:"dd",semester_hour:"HH",semester_minute:"HH:mm",semester_second:"HH:mm:ss",semester_millisecond:"SSS",quarter:"MMM",quarter_month:"MMM",quarter_third_of_month:"dd",quarter_week:"dd",quarter_day:"dd",quarter_hour:"HH",quarter_minute:"HH:mm",quarter_second:"HH:mm:ss",quarter_millisecond:"SSS",month:"MMM",
month_third_of_month:"dd",month_week:"dd",month_day:"dd",month_hour:"HH",month_minute:"HH:mm",month_second:"HH:mm:ss",month_millisecond:"SSS",third_of_month:"dd",third_of_month_week:"dd",third_of_month_day:"dd",third_of_month_hour:"HH",third_of_month_minute:"HH:mm",third_of_month_second:"HH:mm:ss",third_of_month_millisecond:"SSS",week:"dd",week_day:"dd",week_hour:"HH",week_minute:"HH:mm",week_second:"HH:mm:ss",week_millisecond:"SSS",day:"dd",day_hour:"HH",day_minute:"HH:mm",day_second:"HH:mm:ss",
day_millisecond:"SSS",hour:"HH",hour_minute:"HH:mm",hour_second:"HH:mm:ss",hour_millisecond:"SSS",minute:"HH:mm",minute_second:"HH:mm:ss",minute_millisecond:"SSS",second:"HH:mm:ss",second_millisecond:"SSS",millisecond:"SSS",timelineHeader_year:"yyyy",timelineHeader_year_month:"MMMM, yyyy",timelineHeader_year_week:"dd MMM yy",timelineHeader_year_quarter:"MMM yyyy",timelineHeader_year_day:"dd MMM yy",timelineHeader_quarter_month:"MMMM",timelineHeader_month_week:"dd-MMM",timelineHeader_week_day:"d MMM, EEE",
timelineHeader_day_hour:"HH:mm",timelineHeader_hour_minute:"H:mm"}});F("anychart.format.locales.default.numberLocale",{decimalsCount:1,decimalPoint:".",groupsSeparator:"",scale:!1,zeroFillDecimals:!1,scaleSuffixSeparator:"",useBracketsForNegative:!1});F("anychart.format.locales.default.messages",{});
var ny=/^([-]?\d+\.?\d*)(.*?)?$/,oy={factors:[1E15,1E12,1E9,1E6,1E3,1E3,1,.001,1E-6,1E-9],suffixes:"P T G M K k m u n".split(" ")},py="default",qy=null,ry=NaN,sy="default",ty=null,uy=null,vy=null,wy=0,xy={},yy={},zy={},Ay={};function By(a){z(a)||(a=ca.anychart.format.locales[String(a)]);return a||null}function Ir(a){return(a=By(a))&&a.dateTimeLocale||null}function Cy(a){return(a=By(a))&&a.numberLocale||null}function Dy(a,b){var c=Ir(a);return c&&c[b||"dateTimeFormat"]||null}
function Ey(a){if(!a)return lq;var b=ka(a);b in Ay||(Ay[b]={dt:a.eras,dy:a.eraNames,gy:a.narrowMonths,hy:a.standaloneNarrowMonths,ht:a.months,ot:a.standaloneMonths,jt:a.shortMonths,pt:a.standaloneShortMonths,qt:a.weekdays,ky:a.standaloneWeekdays,mt:a.shortWeekdays,jy:a.standaloneShortWeekdays,bG:a.narrowWeekdays,iy:a.standaloneNarrowWeekdays,kt:a.shortQuarters,it:a.quarters,bt:a.ampms||a.amPmS,hn:a.dateFormats||[],ln:a.timeFormats||[],ct:a.dateTimeFormats||[],et:a.firstDayOfWeek,IG:a.weekendRange,
ft:a.firstWeekCutOffDay||a.firstWeekCutOfDay});return Ay[b]}function Fy(a){m(a)&&(ry=ia(a)?a.getTime():N(a));return isNaN(ry)?(a=new Date,a.setTime(Date.UTC(a.getUTCFullYear(),a.getUTCMonth())),a):new Date(ry)}function Jr(a){m(a)&&(B(a)||z(a)?sy=a:sy="default");return sy}function Gy(a){m(a)&&(B(a)?ty=a:ty=null);return ty||Dy(sy)||Dy("default")||"yyyy.MM.dd"}function Hy(a){m(a)&&(B(a)?uy=a:uy=null);return uy||Dy(sy,"dateFormat")||Dy("default","dateFormat")||"yyyy.MM.dd"}
function Iy(a){m(a)&&(B(a)?vy=a:vy=null);return vy||Dy(sy,"timeFormat")||Dy("default","timeFormat")||"HH:mm:ss"}function Jy(a){m(a)&&(wy=N(a)||0);return wy}
function Ky(a,b,c,d){if(ia(a))return a;if(C(a))return isNaN(a)?null:new Date(a);if(B(a)){if(b=(m(b)?b:qy)||null){d=Ir(d)||Ir(py)||Ir("default");var e=ka(d),e=b+e,f;e in yy||(d=Ey(d),yy[e]=new ey(b,d));f=yy[e];c=ia(c)?c:Fy();(b=-1==b.replace(/'.+?'/g,"").search(/z+/i))&&c.setTime(c.getTime()+6E4*c.getTimezoneOffset());d=a.length;a:{for(var h=new my,e=[0],k=-1,l=0,n=0,p=0;pk&&f.b[p].Il&&(k=p,n=l=0),0<=k){var r=f.b[p].count;if(p==k&&(r-=n,n++,0==r)){a=0;break a}jy(f,
a,e,f.b[p],r,h)||(p=k-1,e[0]=l)}else{if(k=-1,!jy(f,a,e,f.b[p],0,h)){a=0;break a}}else{k=-1;if(" "==f.b[p].text.charAt(0)){if(r=e[0],iy(a,e),e[0]>r)continue}else if(a.indexOf(f.b[p].text,e[0])==e[0]){e[0]+=f.b[p].text.length;continue}a=0;break a}b:{void 0!=h.era&&void 0!=h.year&&!h.era&&0f?
f:a));E(c.setHours)&&(void 0==h.b&&(h.b=c.getHours()),void 0!=h.g&&0h.b&&(h.b+=12),c.setHours(h.b));E(c.setMinutes)&&void 0!=h.D&&c.setMinutes(h.D);E(c.setSeconds)&&void 0!=h.j&&c.setSeconds(h.j);E(c.setMilliseconds)&&void 0!=h.u&&c.setMilliseconds(h.u);void 0!=h.i&&c.setTime(c.getTime()+6E4*(h.i-c.getTimezoneOffset()));h.w&&(a=new Date,a.setFullYear(a.getFullYear()-80),c.getTime()a)&&(a=-a);n="";if(z(e)&&q(e.factors)&&q(e.suffixes)){var p=1,r=e.factors;e=e.suffixes;for(var t=Math.min(r.length,e.length),u=0;u=p||1>=p&&a>.1*p){n=e[u];break}n?n=h+n:p=1;a/=p}f=f?a.toFixed(b):Xp(a,b).toString();a="";/(e+|e-)/.test(f)&&(b=f.split("e"),f=b[0],a="e"+b[1]);b=f.split(".");if(d){f=b[0];for(h=[];0<(e=f.substr(0,f.length-3)).length;)h.unshift(f.substr(-3)),f=
e;f&&h.unshift(f);b[0]=h.join(d)}d=l?"-":"";c=b.join(c)+a+n;l&&k&&(c=["(",c,")"].join(""),d="");return d+c}F("anychart.format.inputLocale",function(a){m(a)&&(B(a)||z(a)?py=a:py="default");return py});F("anychart.format.inputBaseDate",Fy);F("anychart.format.inputDateTimeFormat",function(a){m(a)&&(B(a)?qy=a:qy=null);return qy});F("anychart.format.outputLocale",Jr);F("anychart.format.outputTimezone",Jy);F("anychart.format.outputDateFormat",Hy);F("anychart.format.outputTimeFormat",Iy);
F("anychart.format.outputDateTimeFormat",Gy);F("anychart.format.parseDateTime",Ky);
F("anychart.format.parseNumber",function(a,b){var c=Cy(b)||Cy(py)||Cy("default"),d=1;if(B(a)){c.useBracketsForNegative&&"("==a.charAt(0)&&")"==a.charAt(a.length-1)&&(d=-1,a=a.substring(1,a.length-1));a=a.replace(c.decimalPoint,".");a=a.replace(new RegExp(Oa(c.groupsSeparator),"g"),"");var e=c.scale;!0===e&&(e=oy);if(z(e)&&q(e.factors)&&q(e.suffixes)){a=a.replace(new RegExp(Oa(c.scaleSuffixSeparator),"g"),"");var f=a.match(ny);if(!f)return NaN;var h=1;a=+f[1];if(f=f[2])for(var k=e.factors,e=e.suffixes,
l=Math.min(k.length,e.length),n=0;nd.left-v+c&&(h-=d.left-v+c),0>d.top-w+e&&(k-=d.top-w+e),d.sa()-v+c>l.width&&(h-=d.sa()-v+c-l.width),d.pa()-w+e>l.height&&(k-=d.pa()-w+e-l.height));r||(b.x(h),b.y(k),d=b.Na(),d.leftf.width+v&&(h-=d.sa()-f.width-v),d.pa()>f.height+w&&(k-=d.pa()-f.height-w));u||(b.x(h),b.y(k),d=b.Na(),d.lefta.sa()+v&&(h-=d.sa()-v-a.sa()),d.pa()>a.pa()+w&&(k-=
d.pa()-w-a.pa()));b.x(h);b.y(k)}
function ez(a,b,c,d,e){if(a.wa(3)&&(a.i=e?e.qb():a,fz(a,[a.i]),a.i.enabled())){for(var f={clientX:{value:c,type:"number"},clientY:{value:d,type:"number"},formattedValues:{value:[],type:""},points:{value:[],type:""}},h=[],k=0;kd.pa()?(e=d.Sa(),f=d.sa(),h=d.Ya(),k=d.pa(),c+=2):(e=f=d.Sa()+2,h=d.Ya(),k=d.pa(),b-=2);else if(b>d.sa())cd.pa()?(e=d.Sa(),f=d.sa(),h=d.pa(),k=d.Ya(),c+=2):(e=f=d.sa()-2,h=d.Ya(),k=d.pa(),b+=2);else if(c<
d.Ya())h=k=d.Ya()+2,e=d.sa(),f=d.Sa(),c-=2;else if(c>d.pa())h=k=d.pa()-2,e=d.Sa(),f=d.sa(),c+=2;else break a;a.N=[e,h,f,k,b,c]}$c(document,"mousemove",a.gs,!1,a)}else e&&d.Tb(!0)}}function lz(a,b,c,d){Xy(a);a.i=a;d&&(d.clientX=b,d.clientY=c,Kx(a.title(),hz(a,d)),a.yd().text(gz(a,d)));Yy(a,a);bz(a,a,b,c);iz(a,b,c)}function hz(a,b){b.values().titleText={value:a.Ja.J("text"),type:"string"};by(b);var c=a.J("titleFormat");B(c)&&(c=mz(nz.Mc(),c));return c.call(b,b)}
function gz(a,b,c){b.values().valuePrefix={value:a.J("valuePrefix")||"",type:"string"};b.values().valuePostfix={value:a.J("valuePostfix")||"",type:"string"};by(b);a=c?a.J("unionFormat"):a.J("format");B(a)&&(a=mz(nz.Mc(),a));return a.call(b,b)}g.yd=function(a){this.P||(this.P=new Lw,O(this.P,this.YN,this),this.P.ub(this),this.P.width("100%").height("100%"),H(this,this.P));return m(a)?(this.P.W(a),this):this.P};
g.content=function(a){lo(405,null,[".content()","the following behaviour",": the method called through the .content()-method should be applied to the .tooltip()-method directly"],!0);return this.yd(a)};g.YN=function(a){S(a,8)?(this.Y=this.G=null,this.o(1988,1)):S(a,1)&&this.o(512,1)};
function Vy(a,b,c){if(b)return a.w&&a.w.stop(),a.remove(),!0;if(a.J("selectable")&&c){b=c.originalEvent.clientX;c=c.originalEvent.clientY;var d=a.Na().Pd(new fe(b,c)),e=Zy(a).X();if(e&&!d)return Sc(e,"mouseleave",a.Rr,!1,a),a.N=null,!1;if(oz(a,b,c))return Sc(document,"mousemove",a.gs,!1,a),e&&(Sc(Zy(a).X(),"mouseenter",a.Tx,!1,a),Sc(Zy(a).X(),"mouseleave",a.Ux,!1,a)),!1;a.N=null}if(a.Fm())return Wy(a),a.w.Ij()||a.w.start(),!1;a.remove();return!0}g.remove=function(){Zy(this).parent(null)};
function Xy(a){var b=a.wa(1)&&!Wb(a.B);a.title().Ua=b;a.uh().Va=b;a.Sh().Oa=b}g.Na=function(){this.Y=this.G=null;az(this);return new K(this.Y.x+this.J("offsetX"),this.Y.y+this.J("offsetY"),this.G.width,this.G.height)};g.Zc=function(){$y(this);return this.G};g.fc=function(){if(Q(this,512)){J(this.yd());for(var a in this.ba){var b=this.J(a);m(b)&&this.yd().cc(a,b)}this.yd().tk(this.J("adjustFontSize"));this.yd().es(this.J("minFontSize"));this.yd().bs(this.J("maxFontSize"));this.yd().fa(!1)}};
g.o=function(a,b){var c=Sy.F.o.call(this,a,b);!c&&this.wa(1)&&!Wb(this.B)&&this.ea(b||0);return c};function Zy(a){if(!a.b){a.b=Uh();H(a,a.b);zv(a,a.b);var b=a.Sh(),c=a.title(),d=a.uh(),e=a.yd();b.O(a.b);c.O(a.b);d.O(a.b);e.O(a.b)}return a.b}function cz(a,b){return m(b)?(a.ta=b,a):a.ta}function dz(a){return Wu&&a.J("allowLeaveStage")&&a.J("allowLeaveChart")}function Wy(a){a.w&&a.w.Ij()?a.bb=!0:(Ib(a.w),a.w=new ld(function(){this.remove();this.bb&&(this.bb=!1,Wy(this))},a.Fm(),a))}
function fz(a,b){b=b||[];for(var c in a.B)ab(b,function(a){return String(ka(a))==c})||a.B[c].dc(!0)}
function $y(a){if(!a.G){J(a.yd());a.fc();a.yd().fa(!1);var b=a.J("width"),c=a.J("height"),d=(a.u||cz(a)).Na(),b=M(b,d.width),c=M(c,d.height),d=!isNaN(b),e=!isNaN(c),f=new K(0,0,0,0),h,k=null,l=null,n=a.title(),p=a.uh(),r=a.yd(),t;if(!d||!e){if(n.enabled()){n.ia(null);t=n.J("width");var u=null!=n.kb("width");h=n.J("height");var v=null!=n.kb("height");ur(t)&&(k=t,d?(t=a.nd().ld(b),n.width(t)):n.width(null));ur(h)&&(l=h,e?(t=a.nd().kd(c),n.height(t)):n.height(null));h=n.Zc();f.width=b||Math.max(f.width,
h.width);u?n.width(k):delete n.w.width;v?n.height(l):delete n.w.height;l=k=null;e||(f.height+=h.height)}if(r.enabled()){var w=(u=a.ca?a.ca.yd():null)?u.width():void 0,u=u?u.height():void 0;r.ia(null);w=r.width()||w;u=r.height()||u;ur(w)&&(k=w,d?(t=a.nd().ld(b),r.width(t)):r.width(null));ur(u)&&(l=u,e?(t=a.nd().kd(c),r.height(t)):r.height(null));w=r.Zc();f.width=b||Math.max(f.width,w.width);k&&r.width(k);l&&r.height(l);e||(f.height+=w.height)}n.enabled()&&n.ia(new K(0,0,f.width,h.height));r.enabled()&&
r.ia(new K(0,0,f.width,w.height));p.enabled()&&(p.ia(n.enabled()||r.enabled()?f:null),h=p.Zc(),f.width=b||Math.max(f.width,h.width),e||(f.height+=h.height))}f=a.nd().rF(f);d&&(f.width=b);e&&(f.height=c);f.left=0;f.top=0;a.G=f}}function az(a){$y(a);if(!a.Y){var b=a.J("anchor"),c=a.J("offsetX"),d=a.J("offsetY"),e=a.J("x"),f=a.J("y"),e=new fe(e,f);Mr(e,b,c,d);b=Br(a.G,b);e.x-=b.x;e.y-=b.y;a.Y=e}}
function kz(a,b,c,d,e){var f=c,h=d,k,l=a.J("positionMode")||"float",n=a.J("displayMode"),p=(a.Aa()||cz(a)).Na(),r=a.ta.O().ja(),t=r.Pa();k=Ll(r);var u=dz(b),r=b.J("allowLeaveStage"),v=b.J("allowLeaveScreen"),w=b.J("allowLeaveChart"),x=b.J("offsetX"),y=b.J("offsetY");"float"==l?(f=u?c:c-k.x,h=u?d:d-k.y):"point"==l?(h="union"==n?a.J("position"):b.J("position"),h=e.wk(h,!0).value,f=u?h.x+k.x:h.x,h=u?h.y+k.y:h.y):"chart"==l&&(f=a.Aa().Na(),h="union"==n?a.J("position"):b.J("position"),h=Br(f,h),f=h.x+
(u?k.x:0),h=h.y+(u?k.y:0));v||(b.x(f),b.y(h),v=u?0:k.x,u=u?0:k.y,k=b.Na(),a=Tf(window),0>k.left-x+v&&(f-=k.left-x+v),0>k.top-y+u&&(h-=k.top-y+u),k.sa()-x+v>a.width&&(f-=k.sa()-x+v-a.width),k.pa()-y+u>a.height&&(h-=k.pa()-y+u-a.height));r||(b.x(f),b.y(h),k=b.Na(),k.leftt.width+x&&(f-=k.sa()-t.width-x),k.pa()>t.height+y&&(h-=k.pa()-t.height-y));w||(b.x(f),b.y(h),k=b.Na(),k.leftp.sa()+
x&&(f-=k.sa()-x-p.sa()),k.pa()>p.pa()+y&&(h-=k.pa()-y-p.pa()));b.x(f);b.y(h)}function pz(a){var b=null;cz(a)?b=cz(a).O():a.Aa()?b=a.Aa().O():a.parent()&&(cz(a.parent())?b=cz(a.parent()).O():a.parent().Aa()&&(b=a.parent().Aa().O()));return b}
function Yy(a,b){if(Q(b,2)){var c;if(dz(b))c=Xx.Mc(),a.g&&a.g.dl()&&b.g.O(null),b.g=c,b.g.O(document.body),b.O(c.b),Zy(b).parent(b.O()),b.K(2);else{var d=pz(b);if(d){var e=qz(b);c=hs[e];c||(c=new Px,hs[e]=c);b.g=c;Zy(b).parent(b.O());d=d.ja().Bj();c.O(d);b.O(c.b);b.K(2)}}}}g.gs=function(a){if(oz(this,a.clientX,a.clientY))this.g.dl()||Tx(this.g,!0);else{$c(document,"mousemove",this.gs,!1,this);var b=Zy(this).X();b&&($c(b,"mouseenter",this.Tx,!1,this),$c(b,"mouseleave",this.Ux,!1,this));this.Rr(a)}};
function oz(a,b,c){if(!a.N)return!1;var d=a.N[0],e=a.N[1],f=a.N[2],h=a.N[3],k=a.N[4],l=a.N[5];a=cq(f,h,k,l,b,c);k=cq(k,l,d,e,b,c);return cq(d,e,f,h,b,c)==a&&a==k}g.Tx=function(){$c(document,"mousemove",this.gs,!1,this);Zy(this).X()&&$c(Zy(this).X(),"mouseenter",this.Tx,!1,this);this.N=null};g.Ux=function(a){Zy(this).X()&&$c(Zy(this).X(),"mouseleave",this.Ux,!1,this);this.Rr(a)};
g.Rr=function(a){if(2==a.ef.buttons)return!0;this.g.dl()||Tx(this.g,!1);Zy(this).X()&&$c(Zy(this).X(),"mouseleave",this.Rr,!1,this);this.N=null;this.Fm()?(Wy(this),this.w.Ij()||this.w.start()):this.dc(!0)};function qz(a){a=pz(a).ja();return"stg"+ka(a)}
g.parent=function(a){if(m(a)){if(this.ca!=a){var b=String(ka(this));a?(this.ca&&gv(this.ca,this.Lq,this),this.ca=a,this.title().parent(this.ca.title()),this.uh().parent(this.ca.uh()),this.Sh().parent(this.ca.Sh()),this.nd().parent(this.ca.nd()),this.yd().nd().parent(this.ca.yd().nd()),this.ca.B[b]=this,O(this.ca,this.Lq,this)):(gv(this.ca,this.Lq,this),this.title().parent(null),this.uh().parent(null),this.Sh().parent(null),this.nd().parent(null),this.yd().nd().parent(null),delete this.ca.B[b],this.ca=
null)}return this}return this.ca};g.Lq=function(a){var b=0,c=0;if(S(a,8)||S(a,1))b|=1988,c|=8;S(a,32768)&&(b|=1,c|=1);this.j=null;this.o(b,c)};g.kb=function(a){return this.U[a]};g.Kb=function(a){return null!=this.U[a]};g.Jb=function(a){return this.Ia[a]};g.J=ow;g.Nb=function(a,b){this.U[a]=b};g.wa=function(a){return m(a)?!!(a&this.ib):!0};g.ce=function(a){m(a)&&(this.j=a);return this.j};g.Rf=nw;g.Vc=function(){var a=[this.Ia];this.ca&&(a=kb(a,this.ca.Vc()));return a};
g.Lc=function(){var a=[this.U];this.ca&&(a=kb(a,this.ca.Lc()));return a};g.wD=function(a){lo(405,null,["isFloating()","positionMode()"],!0);var b=this.J("positionMode");return m(a)?("float"==b!=a&&this.Nb("positionMode",a?"float":"chart"),this):"float"==b};g.enabled=function(a){return m(a)?(this.U.enabled!=a&&(this.U.enabled=a,this.o(1,32777),this.U.enabled?(this.va=!1,this.fa(!0)):isNaN(this.Sd)?J(this):this.va=!0),this):this.J("enabled")};
g.I=function(){var a={};Tv(this,this.ba,a);Tv(this,this.vp,a);delete a.x;delete a.y;var b=this.title().I();Wb(b)||(a.title=b);b=this.uh().I();Wb(b)||(a.separator=b);b=this.Sh().I();Wb(b)||(a.background=b);b=this.nd().I();Wb(b)||(a.padding=b);m(this.ka)&&(a.hideDelay=this.ka);m(this.zIndex())&&(a.zIndex=this.zIndex());this.Kb("enabled")&&(a.enabled=this.U.enabled);return a};
g.aa=function(a,b){a.content&&this.content(a.content);a.isFloating&&this.wD(a.isFloating);if(b){for(var c in this.ba){var d=a[c];m(d)&&(this.Ia[c]=d)}for(c in this.vp)d=a[c],m(d)&&(this.Ia[c]=d);"enabled"in a&&(this.Ia.enabled=a.enabled)}else Sv(this,this.ba,a),Sv(this,this.vp,a);this.title().$a(!!b,a.title);this.uh().$a(!!b,a.separator);this.Sh().$a(!!b,a.background);this.nd().$a(!!b,a.padding);this.Fm(a.hideDelay);c=a.contentInternal;if(!(c&&"anchor"in a&&"position"in a)){var e,f;c&&(e=c.position,
f=c.anchor);if(!e||!f){for(var d=this.Rf(),h=0;hb?(w=Math.max(w,p),x+=n,r++,p=e+a.w,n=k+a.w):(p+=e+a.w,n=Math.max(n,k+a.w)):"verticalexpandable"==a.ga&&(t+k>c?(x=Math.max(x,t),w+=u,v++,u=e+a.w,t=k+a.w):(t+=k+a.w,u=Math.max(u,e+a.w))));!d||0>f?f=d=0:d-=a.w;
!h||0>l?l=h=0:h-=a.w;a.vd=v;return"vertical"==a.ga?jq(0,0,Math.max(0,f),Math.max(0,h)):"horizontal"==a.ga?jq(0,0,Math.max(0,d),Math.max(0,l)):"verticalexpandable"==a.ga?(w+=u-a.w,x=Math.max(x,t)-a.w,jq(0,0,Math.max(0,w),Math.max(0,x))):"horizontalexpandable"==a.ga?(w=Math.max(w,p)-a.w,x+=n-a.w,jq(0,0,Math.max(0,w),Math.max(0,x))):jq(0,0,0,0)}
function vz(a){var b=a.ia();b&&0>=b.width&&0>=b.height&&(b=null);var c,d,e=a.margin(),f=a.dm(),h,k,l,n,p=0,r=0,t,u;b?(c=b.width,d=b.height,null!=a.Ga?(l=Math.min(c,M(a.Ga,c),null!=a.cd?M(a.cd,c):c),t=f.ld(e.ld(l))):t=null!=a.cd?f.ld(e.ld(M(a.cd,c))):f.ld(e.ld(c)),null!=a.Za?(n=Math.min(d,M(a.Za,d),null!=a.yc?M(a.yc,d):d),u=f.kd(e.kd(n))):u=null!=a.yc?f.kd(e.kd(M(a.yc,d))):f.kd(e.kd(d))):(C(a.Ga)&&!isNaN(a.Ga)?(l=a.Ga,t=f.ld(a.Ga)):t=C(a.cd)&&!isNaN(a.cd)?f.ld(a.cd):Infinity,C(a.Za)&&!isNaN(a.Za)?
(n=a.Za,u=f.kd(a.Za)):u=C(a.yc)&&!isNaN(a.yc)?f.kd(a.yc):Infinity);var v,w,x,y=a.np(),A=a.Jh(),D=a.title(),P=A.Ck(),P="bottom"==P||"top"==P,R=D.J("orientation")||Jx(D),R="bottom"==R||"top"==R,T=!(Nx(D)%180),Z=zx(y);J(y);J(A);J(D);var aa=w=null;do{w&&(aa=w);var V=w=0,I=0,va=0;D.enabled()?(D.ia(null),Hx(D,null),Ix(D,null),x=D.Zc(),R?(x.width>t&&(T?Hx(D,t):Ix(D,t),x=D.Zc()),va=x.width,w+=x.height):(x.height>u&&(T?Ix(D,u):Hx(D,u),x=D.Zc()),I=x.height,V+=x.width)):x=null;y.enabled()?(y.ia(null),v=y.Zc(),
Z?w+=v.height:V+=v.width):v=null;h=t-V;k=wz(a,h,u-w);var za=k.width;k=k.height;w+=k;V+=za;I=Math.max(I,k);va=Math.max(va,za);V=Math.max(va,V);va=Math.max(I,w);I=u;R&&(I-=x?x.height:0);Z&&(I-=v?v.height:0);A.ia(null);w=wx(A,1);if("horizontal"==a.ga)za>h&&a.b&&1h&&1I&&a.b&&1=t-x.width?va:za,x=Math.max(Math.min(D.text().length,1),D.margin().ld(I-sb<=x?I-x:sb)),Hx(D,x);else if(!T&&va>u){x=0;v&&Z&&(x+=v.height);if("top"==A.Ck()||"bottom"==A.Ck())x+=w.height;za=ux(A)&&!P?w.height:0;za=Math.max(a.b&&a.b.length?a.b[0].Na().height:0,za);x=Math.max(1,D.margin().kd(u-
x-za));T?Ix(D,x):Hx(D,x)}x=D.Zc();y.width(h)}else x=D.Zc(),y.width(k);v=y.Zc();R?V-=x.height:I-=x.width}y.enabled()&&(Z?V-=v.height:I-=v.width);za=I;x=V;A.Ck();ux(A)&&(P?x=V-w.height:za=I-w.width);w=a;v=x;var Nc;w.U=[];x=0;V=w.b&&w.b.length;for(I=0;Iza?(x++,w.U[x]=[],w.U[x][0]=w.b[I],v=w.b[I].Na().Cd()):(v=v+w.w+w.b[I].Na().Cd(),w.U[x].push(w.b[I])));
break;case "vertical":za=w.b[I].Na().Bd();I+=1;for(V=w.b.length;Iv?(x++,w.U[x]=[],w.U[x][0]=w.b[I],za=w.b[I].Na().Bd()):(za=za+w.w+w.b[I].Na().Bd(),w.U[x].push(w.b[I])));break;case "horizontalexpandable":for(var Ia=w.b[I].Na().Cd()+w.w,pc=w.b[I].Na().Bd()+w.w,hd=0,I=I+1;Iza?(hd+=pc,hd+Nc>v?(x++,w.U[x]=[],w.U[x][0]=va,hd=0):w.U[x].push(va),Ia=sb+w.w,pc=Nc+w.w):(Ia+=sb+w.w,pc=Math.max(pc,Nc+
w.w),w.U[x].push(va)));break;case "verticalexpandable":for(Ia=w.b[I].Na().Cd()+w.w,pc=w.b[I].Na().Bd()+w.w,hd=0,I+=1;Iv?(hd+=Ia,hd+sb>za?(x++,w.U[x]=[],w.U[x][0]=va,hd=0):w.U[x].push(va),Ia=sb+w.w,pc=Nc+w.w):(Ia=Math.max(Ia,sb+w.w),pc+=Nc+w.w,w.U[x].push(va)))}mx(w.Jh(),x+1);A.ia(null);w=A.Na()}while(!je(aa,w));l||(l=h);n||(n=k);a.xa=new K(p,r,l,n);if(a.vb)p=a.Wcb.sa()&&(p=b.sa()-l),rb.pa()&&(r=b.pa()-n));else if(b){p=b.Sa();r=b.Ya();switch(a.B){case "left":case "right":switch(a.G){case "center":r+=(d-n)/2;break;case "right":case "bottom":r=b.pa()-n}break;case "top":case "bottom":switch(a.G){case "center":p+=(c-l)/2;break;case "right":case "bottom":p=b.sa()-l}}switch(a.B){case "right":p=b.sa()-
l;break;case "bottom":r=b.pa()-n}}else p=M(e.J("left"),0),r=M(e.J("top"),0);a.xa.left=p;a.xa.top=r;a.Ed=a.dm().ff(a.margin().ff(a.xa));b=a.xa.clone();b.left=0;b.top=0;a.mb=a.margin().ff(b);a.md=a.dm().ff(a.mb);y.fa(!1);A.fa(!1);D.fa(!1);a.K(4)}function xz(a){if(q(a.ob))return a.ob;if(null!=a.ba){for(var b,c=[],d=0;dc.width&&(e+=f,f=d=0),n.o(4),J(n).ia(c).x(d).y(e).enabled(!0).fa(!1).$(),
d+=n.Na().Cd()+a.w,f=Math.max(f,p.Bd()+a.w);break;case "verticalexpandable":for(k=0;kc.height&&(d+=h,h=e=0),n.o(4),J(n).ia(c).x(d).y(e).enabled(!0).fa(!1).$(),e+=l[k].Na().Bd()+a.w,h=Math.max(h,p.Cd()+a.w)}if(a.title().enabled()&&(c=a.title().J("orientation")||Jx(a.title()),"top"!=c&&"bottom"!=c)){d=c=0;if(e=a.g.fb)c=e.sb,d=e.tb;e=a.ma.Qf();f=a.Ja.Zc();f.top+=d;f.left+=c;c=f.top+f.height/2-(e.top+e.height/2);c=Math.min(a.Ed.height-e.height,Math.max(c,0));a.ma.Xa(1,
0,0,1,0,c)}}a.xb=b}g.RM=function(a){return this.dispatchEvent(a.type)};g.pg=function(a){a=sz.F.pg.call(this,a);var b=ar(a.domTarget),b=N(b&&b.index);isNaN(b)||(a.itemIndex=b);return a};g.VM=function(a){var b=Dz(this,a);if(b&&this.dispatchEvent(b)){var c=this.b&&this.b[b.itemIndex],b=b.itemSource;c&&(b&&E(b.Gw)&&b.Gw(c,a),c.bb=!0,Xw(c,!0),Tw(c,!0),Ww(c,!0),a&&uz(this,a))}};g.UM=function(a){var b=Dz(this,a);b&&this.dispatchEvent(b)&&a&&uz(this,a)};
g.yJ=function(a){var b=Dz(this,a);if(b&&this.dispatchEvent(b)){var c=this.b&&this.b[b.itemIndex],b=b.itemSource;c&&(b&&E(b.Fw)&&b.Fw(c,a),c.bb=!1,Xw(c,!1),Tw(c,!1),Ww(c,!1),this.qb().dc())}};g.xJ=function(a){if(a.button==bk){var b=Dz(this,a);if(b&&this.dispatchEvent(b)){var c=this.b&&this.b[b.itemIndex],b=b.itemSource;c&&b&&E(b.Ew)&&b.Ew.call(b,c,a)}}};g.ue=function(a){(a=Dz(this,a))&&this.dispatchEvent(a)};
function Dz(a,b){var c=N(b.itemIndex);if(isNaN(c))return null;var d=b.type;switch(d){case "mouseout":d="legenditemmouseout";break;case "mouseover":d="legenditemmouseover";break;case "mousemove":d="legenditemmousemove";break;case "mousedown":d="legenditemmousedown";break;case "mouseup":d="legenditemmouseup";break;case "click":d="legenditemclick";break;case "dblclick":d="legenditemdblclick";break;default:return null}var c=a.ta?a.b.length-1-c:c,e=null,f=NaN,h=a.b[c];if(h&&a.ba)for(var k=0;ke?(gb(a.i,c,~e),gb(a.b,b,~e)):(f=!(a.b[e]&b))?a.b[e]|=b:m(d)&&(a.b[e]=d);a.target.enabled()&&a.target.Qa().select(c)&&(a.target.wa(512)||"single"!=a.target.Ac()||(h?Sz(a.target,b):m(d)&&!h&&Rz(a,NaN)&&Sz(a.target,d)),f?a.target.rj(b):m(d)&&a.target.rj(d))}}}
function Rz(a,b){var c;if(m(b)){if(isNaN(b))return!Tz(a,ep)&&!(a.f&ep);c=Uz(a,+b)}else c=a.f;return!(c&ep)}
function Vz(a,b,c,d){var e;if(m(c)){var f=a.target.Qa().gc(),h=!0;if(q(c))for(wb(c),e=c.length;e--;){var k=+c[e];kd?(gb(a.i,c,~d),gb(a.b,b,~d),a.f==fp&&a.target.rj(b),Rz(a,NaN)&&!a.target.wa(512)&&"single"==a.target.Ac()&&Sz(a.target,b)):a.b[d]|=b)}}
function Zz(a,b){var c=dp,d;if(m(b)){if(!(b>=a.target.Qa().gc())){if(q(b))for(wb(b),d=b.length;d--;)Yz(a,c,+b[d]);else Yz(a,c,+b);a.target.so()}}else if(a.f&c)if(c==dp){for(d=a.b.length;d--;)Wz(a,c,d)&&(hb(a.b,d,1),hb(a.i,d,1));a.f=fp}else c==ep&&(a.b.length=0,a.i.length=0,a.f=fp);else{for(d=a.b.length;d--;)Wz(a,c,d)&&(hb(a.b,d,1),hb(a.i,d,1));a.f=c}}function Wz(a,b,c){return!(a.b[c]&=~b)}
function Qz(a,b,c){var d=a.i[c];Wz(a,b,c)?(hb(a.i,c,1),hb(a.b,c,1),a.target.enabled()&&a.target.Qa().select(d)&&a.f==fp&&a.target.rj(fp)):a.target.enabled()&&a.target.Qa().select(d)&&a.f==fp&&a.target.rj(a.b[c])}function $z(a,b,c){isNaN(c)||(c=rb(a.i,c),0<=c&&Qz(a,b,c))}
function aA(a,b,c){var d;if(m(c)){if(q(c))for(wb(c),d=c.length;d--;)$z(a,b,+c[d]);else if(isNaN(c))for(d=a.i.length;d--;)Qz(a,b,d);else $z(a,b,+c);a.target.so();a.target.wa(512)||"single"!=a.target.Ac()||(b=a.target,a=Tz(a,ep)?ep:Tz(a,dp)?dp:fp,Sz(b,a))}else{for(d=a.b.length;d--;)Wz(a,b,d)&&(a.target.Qa().select(a.i[d])&&a.target.rj(fp),hb(a.i,d,1),hb(a.b,d,1));a.target.so();a.f&=~b;if(hv(a.target))if(a.target.wa(512))for(b=Xz(a.target);b.advance();)c=b.La(),b.select(c)&&Rz(a,c)&&Sz(a.target,a.f);
else Sz(a.target,a.f)}}function bA(a,b){for(var c=[],d=0,e=a.b.length;da.nearestPointToCursor.distance&&(a.series.Qa().select(a.nearestPointToCursor.index),e=a)});"single"==this.N.J("displayMode")?jz(this.N,[e],a.originalEvent.clientX,a.originalEvent.clientY,
e.series):jz(this.N,b,a.originalEvent.clientX,a.originalEvent.clientY,e.series)}}};g.Xs=function(a){var b=this.N,c=a.clientX;a=a.clientY;var d=b.J("displayMode");"single"==d&&(bz(b,b.i,c,a),iz(b.i,c,a));if("union"==d)bz(b,b.i,c,a),iz(b.i,c,a);else if("separated"==d)for(var e in b.B)if(d=b.B[e])kz(b,d,c,a),iz(d,c,a)};
g.contextMenu=function(a){!this.ob&&(this.ob=ca.anychart.ui.contextMenu(!!z(a)&&a.fromTheme))&&(H(this,this.ob),this.ob.itemsProvider(this.OL));return m(a)?(this.ob&&this.ob.setup(a),this):this.ob};g.OL=function(a){a.event&&ar(a.event.domTarget);a=To(fA);return To(a)};g.HM=function(){var a=[],b,c,d,e,f=this.b;for(d=0;du.Pd||!h)h=t.na,k=u.index,l=fb(t.Cb,u.index),n=u.Pd}}h={index:k,series:h};h[b]=e?!l:l;l=[];if(!e)for(n=0;nv.ic.Pd&&(w=v));p=w.na;f=bA(p.state,ep);l=1==f.length&&f[0]==
w.ic.index;n=!l||l&&(k||a.shiftKey);f=(k||a.shiftKey)&&dA(p.state.Pg(),ep);!f&&(k||a.shiftKey)||l||p.hf();p.Rm(w.ic.index,a);f=bA(p.state,ep);if(f.length)for(d.push({na:p,Cb:[w.ic.index],ic:w.ic}),e=this.b,h=0;he?c+e:c,l=0>f?d+f:d;return{type:b,offsetX:h.offsetX,offsetY:h.offsetY,clientX:h.clientX,clientY:h.clientY,screenX:h.screenX,screenY:h.screenY,button:h.button,actionButton:h.actionButton,keyCode:h.keyCode,charCode:h.charCode,ctrlKey:h.ctrlKey,altKey:h.altKey,shiftKey:h.shiftKey,metaKey:h.metaKey,platformModifierKey:h.platformModifierKey,clientStartX:c+a.x,clientStartY:d+a.y,clientLeft:k+a.x,clientTop:l+a.y,startX:c,startY:d,left:k,top:l,width:Math.abs(e),
height:Math.abs(f)}}g.kO=function(a,b,c,d,e,f){return this.dispatchEvent(pA(this,"selectmarqueestart",b,c,d,e,f))};g.iO=function(a,b,c,d,e,f){return this.dispatchEvent(pA(this,"selectmarqueechange",b,c,d,e,f))};g.jO=function(a,b,c,d,e,f){a=pA(this,"selectmarqueefinish",b,c,d,e,f);a=this.dispatchEvent(a);this.Uj=!1;return a};
function qA(a,b,c){var d,e,f=a.length;for(d=0;db||h&&d>c?-1:f&&a==b||h&&d==c?0:1});0>d&&(d=~d-1);return a[Yd(d,0,a.length)]}
function TA(a){var b=GA(a),c=b.useHtml,d=a.Dh();Q(a,1024)&&(DA(a.lg,a.La()),a.K(1024));b=HA(a.lg,b.format,d,a.La());a.Uk||(a.Uk=Wh(),a.Uk.pd("aria-hidden","true"));c?a.Uk.htmlText(m(b)?String(b):""):a.Uk.text(m(b)?String(b):"");NA(a,function(a,b,c){a=0==c;b instanceof iA||b instanceof EA?this.fc.call(b,this.Uk,a):this.fc(this.Uk,a,b)},!0);return a.Uk}g.clear=function(){this.pl();this.f&&(this.f.parent(null),this.f.we());this.o(2)};
g.bA=function(a,b){var c=this.u.positionFormatter,d=xA(this.u.anchor)||"leftTop",e=QA(this),f=this.u.offsetX,h=this.u.offsetY,k=0,l=0;b&&(k=b.width,l=b.height);var n=this.uc(),p=$b(c.call(n,n)),p=new fe(p.x,p.y),n=n&&n.connectorPoint;this.B&&(this.B.clear(),this.B.Xa(1,0,0,1,0,0));n&&(this.B||(this.B=this.f.Ba(),this.B.zj(!0)),this.B.stroke(this.u.connectorStroke),c=$b(c.call(n,n)),this.B.moveTo(p.x,p.y).lineTo(c.x,c.y));c=Br(new K(0,0,a.width,a.height),d);p.x-=c.x;p.y-=c.y;f=m(f)?M(f,k):0;h=m(h)?
M(h,l):0;e?Mr(p,d,h,f):Mr(p,d,f,h);a.left=p.x;a.top=p.y;this.g.x(this.w+p.x).y(this.G+p.y)};function UA(a){var b=a.uc(),c=a.u.positionFormatter,d=$b(c.call(b,b)),d=new fe(d.x,d.y),b=b&&b.connectorPoint;a.B&&(a.B.clear(),a.B.Xa(1,0,0,1,0,0));b&&(a.B||(a.B=a.f.Ba(),a.B.zj(!0)),a.B.stroke(a.u.connectorStroke),c=$b(c.call(b,b)),a.B.moveTo(d.x,d.y).lineTo(c.x,c.y))}
g.fc=function(a,b,c){var d,e,f=m(c)?function(a){return c[a]}:this instanceof EA?this.kb:iA.prototype.gw;d=f.call(this,"text");e=f.call(this,"useHtml");if(b||m(d)||m(e))e?a.htmlText(d):a.text(d);a.fontSize(f.call(this,"fontSize"));a.fontFamily(f.call(this,"fontFamily"));a.color(f.call(this,"fontColor"));a.Yi(f.call(this,"textDirection"));a.Ol(f.call(this,"textWrap"));a.opacity(f.call(this,"fontOpacity"));a.zh(f.call(this,"fontDecoration"));a.fontStyle(f.call(this,"fontStyle"));a.fontVariant(f.call(this,
"fontVariant"));a.fontWeight(f.call(this,"fontWeight"));a.letterSpacing(f.call(this,"letterSpacing"));a.Ml(f.call(this,"lineHeight"));a.Nl(f.call(this,"textIndent"));a.qh(f.call(this,"vAlign"));a.Gf(f.call(this,"hAlign"));a.dg(f.call(this,"textOverflow"));a.Zi(f.call(this,"selectable"));a.Tb(f.call(this,"disablePointerEvents"))};
g.$=function(){var a=this.lg,b;this.f||(this.f=Uh());this.f.tag=this.ma;b=this.Ad("enabled");if(MA(this,1))if(b)this.O()&&!this.f.parent()&&this.f.parent(this.O()),this.K(1);else return this.f&&this.f.parent(null),this.K(4294967295),this;if(!b)return this;MA(this,2)&&(b&&((!this.lg.enabled()||m(this.enabled())&&!this.enabled())&&this.lg.Zd()&&(this.O()||this.O(a.Zd()),this.O().parent()||this.O().parent(a.O())),this.O()&&this.f.parent(this.O())),this.K(2));Q(this,8)&&(this.O()&&this.O().zIndex(a.zIndex()),
this.f.zIndex(this.zIndex()),this.K(8));Q(this,1024)&&(DA(a,this.La()),this.K(1024));if(MA(this,20)){this.u=null;b=GA(this);var c=this.Dh(),d=HA(a,b.format,c,this.La());this.f.Xa(1,0,0,1,0,0);var e,f=b.background;if(f instanceof pw){if(f.enabled()||this.N&&this.N.enabled())e=f.I()}else e=f;!z(e)||!e||"enabled"in e||(e.enabled=!1);(c=B(e)||ja(e)||e&&e.enabled)||this.N?(this.N||(this.N=new pw,this.N.zIndex(0),this.N.O(this.f)),this.ga&&this.N.W(this.ga instanceof pw?this.ga.I():this.ga),this.N.W(e),
this.N.$()):f&&(this.ga=f);this.Wk();var h,k;this.U=NA(this,function(a,b){if(b instanceof iA){var c=b.ia();if(c)return c}});this.U||(a.O()?this.U=a.O().Pa():this.U=jq(0,0,0,0));this.U&&(h=this.U.width,k=this.U.height);e=this.u.useHtml;this.g.width(null);this.g.height(null);e?this.g.htmlText(m(d)?String(d):""):this.g.text(m(d)?String(d):"");this.fc(this.g,!0,b);e=null!==b.width;var d=null!==b.height,f=new K(0,0,0,0),l;if(b.padding instanceof Fw)l=b.padding;else if(z(b.padding)||C(b.padding)||B(b.padding))l=
new Fw,l.W(b.padding);var n,p,r;e?(n=Math.ceil(M(b.width,h)),l?(r=l.ld(n),this.w=M(l.J("left"),n)):(this.w=0,r=n),f.width=n,n=!1):(p=this.g.Pa(),n=p.width,l?(f.width=l.he(n),this.w=M(l.J("left"),f.width)):(this.w=0,f.width=n),n=!0);m(r)&&this.g.width(r);var t;d?(p=Math.ceil(M(b.height,k)),l?(t=l.kd(p),this.G=M(l.J("top"),p)):(this.G=0,t=p),f.height=p,p=!1):(p=this.g.Pa(),p=p.height,l?(f.height=l.fe(p),this.G=M(l.J("top"),f.height)):(this.G=0,f.height=p),p=!0);m(t)&&this.g.height(t);if(!n&&b.adjustByHeight||
!p&&b.adjustByHeight){var u;"different"==wA(a)?u=SA(this,r,t,b.minFontSize,b.maxFontSize,b.adjustByWidth,b.adjustByHeight):u=NA(this,function(a,b){if(b instanceof iA&&m(b.Vb.fontSize))return b.Vb.fontSize});J(this);this.g.fontSize(u);e?(n=Math.ceil(M(b.width,h)),f.width=n):(p=this.g.Pa(),n=p.width,l?f.width=l.he(n):f.width=n);d?(p=Math.ceil(M(b.height,k)),f.height=p):(p=this.g.Pa(),p=p.height,l?f.height=l.fe(p):f.height=p);this.fa(!1)}this.i=f;this.o(2048);this.K(20)}MA(this,2048)&&(this.bA(this.i,
this.U),c&&(this.N.ia(this.i),this.N.$()),a=Br(this.i,this.u.anchor),this.f.wl(this.u.rotation,a.x,a.y),this.o(512),this.K(2048));Q(this,512)&&(UA(this),this.K(512));MA(this,256)&&(this.f&&this.f.clip(this.u.clip),this.K(256));return this};g.Wk=function(){this.g||(this.g=Wh(),this.g.pd("aria-hidden","true"),this.g.zIndex(1),this.f||(this.f=Uh()),this.g.parent(this.f),this.g.Tb(!0));return this.g};
g.I=function(){var a=EA.F.I.call(this),b;m(this.Kb("background"))&&(b=this.xq().I(),Wb(b)||(a.background=b));m(this.Kb("padding"))&&(b=this.yq().I(),Wb(b)||(a.padding=b));Tv(this,this.Du,a,"Labels factory label text");Tv(this,this.cm,a,"Labels factory label props");(b=a.adjustFontSize)&&(m(b.width)||m(b.height))||delete a.adjustFontSize;this.Kb("enabled")||delete a.enabled;return a};
g.aa=function(a,b){var c=this.J("enabled");Sv(this,this.Du,a);Sv(this,this.cm,a);EA.F.aa.call(this,a,b);m(a.enabled)||delete this.b.enabled;this.Nb("enabled","enabled"in a?a.enabled:c);"background"in a&&this.xq(a.background);"padding"in a&&this.yq(a.padding)};g.da=function(){Jb(this.b.background,this.b.padding,this.N,this.g,this.f);this.g=this.N=null;this.b.background=null;this.b.padding=null;EA.F.da.call(this)};var VA=iA.prototype;VA.background=VA.Eu;VA.padding=VA.Ak;VA.enabled=VA.enabled;
VA.getLabel=VA.Qd;VA.getLabelsCount=VA.Cw;VA=EA.prototype;VA.getIndex=VA.La;VA.padding=VA.yq;VA.background=VA.xq;VA.clear=VA.clear;VA.draw=VA.$;function WA(){fd.call(this);this.ga=0;this.N=!1;this.ra="none"}G(WA,Yu);g=WA.prototype;g.la=6;g.jb=ea;g.fv=function(a){return a};function cB(a,b){var c=1*(b-0);return a.N?1-c:c}function dB(a,b){a.N&&(b=1-b);return b/1+0}g.uw=function(a){return yr(a)};g.Jk=function(a){return m(a)?(a=!!a,this.N!=a&&(this.N=a,this.ea(2)),this):this.N};g.bL=function(){this.ga||this.nj();this.ga++;return this};g.uo=function(a){return(this.ga=Math.max(this.ga-1,0))?!0:this.Rq(!!a)};g.pm=function(){return!1};g.bD=function(){return 0};
g.lv=!1;g.hp=function(a){return m(a)?(a=this.lv?Ln(a):"none",this.ra!=a&&(this.ra=a,this.ea(6)),this):this.lv?this.ra:"none"};g.I=function(){var a=WA.F.I.call(this);a.type=this.Ob();a.inverted=this.Jk();return a};g.aa=function(a,b){WA.F.aa.call(this,a,b);this.Jk(a.inverted)};
function eB(a){a=(a+"").toLowerCase();switch(a){case "log":case "logarithmic":return fB();case "lin":case "linear":return gB();case "date":case "datetime":case "dt":return hB();case "ordinal":case "ord":case "discrete":return iB();case "color":case "ordinalcolor":case "discretecolor":return jB();case "linearcolor":return kB();default:return null}}var lB=WA.prototype;lB.inverted=lB.Jk;lB.startAutoCalc=lB.bL;lB.finishAutoCalc=lB.uo;function mB(a){fd.call(this);this.scale=a;this.i=nB;this.f=oB;this.b=pB}G(mB,Yu);g=mB.prototype;g.la=2;g.Jf=null;g.Se=4;g.Ae=null;g.Xh=null;
g.cL=function(a,b,c,d,e,f){if(m(a)){var h;if(null===a)h=null;else if(B(a)&&1==arguments.length)h=vq(a);else{if(B(a))switch(a=Rn(a),b=N(b)||1,a){case "year":a="y";break;case "semester":a="m";b*=6;break;case "quarter":a="m";b*=4;break;case "month":a="m";break;case "thirdofmonth":a="d";b*=10;break;case "week":a="d";b*=7;break;case "day":a="d";break;case "hour":a="h";break;case "minute":a="n";break;case "second":a="s";break;case "millisecond":a="t"}h=new oq(a,b,c,d,e,f)}var k;if(k=h&&this.Jf)k=this.Jf,
k=h.j==k.j&&h.D==k.D&&h.b==k.b&&h.i==k.i&&h.g==k.g&&h.f==k.f;k||!h&&!this.Jf||(h?(this.Se=NaN,this.Jf=h):(this.Se=4,this.Jf=null),this.Xh=this.Ae=null,this.ea(2));return this}return wq(this.Jf,!1)};g.count=function(a){return m(a)?(this.Se!=a&&(this.Jf=null,this.Se=isNaN(a)||2>a?4:Math.ceil(+a),this.Xh=this.Ae=null,this.ea(2)),this):this.Se};
g.set=function(a){if(this.Ae!=a){this.Se=NaN;this.Jf=null;this.Ae=Za(a,function(a){return Ky(a)});wb(this.Ae);for(var b=this.Ae[0],c=1,d=1;da||1this.g&&(this.g=c,this.b=!1)}return this};
g.Rq=function(a){var b=this.Ma!=this.i||this.ta!=this.g;b&&(this.b=!1,a||this.ea(2));return b};g.transform=function(a){this.Ce();a=N(a);return cB(this,(a-this.min)/this.ug)};g.Ce=function(){this.b||(this.b=!0,this.TA())};
g.TA=function(){isFinite(this.g)?isFinite(this.i)?Sd(this.i,this.g,1E-10)&&(this.i-=.5,this.g+=.5):this.i=this.g-1:isFinite(this.i)?this.g=this.i+1:(this.i=0,this.g=1);var a=(this.B?isNaN(this.u)?this.g:Math.max(this.g,this.u):this.max)-(this.G?isNaN(this.w)?this.i:Math.min(this.i,this.w):this.min);1E-4>Math.abs(a)&&!this.G&&!this.B&&(this.max+=1E-4);var b,c="percent"!=this.hp();this.G&&(b=c?this.U:0,this.min=this.i-a*b,isNaN(this.w)||(this.min=0this.min&&0<=this.i&&this.min!=this.w&&(this.min=0));this.B&&(b=c?this.P:0,this.max=this.g+a*b,isNaN(this.u)||(this.max=0this.max&&0<=this.g&&this.max!=this.u&&(this.max=0))};g.Dc=function(a){this.Ce();a=dB(this,a);return a*this.ug+this.min};
g.I=function(){var a=sB.F.I.call(this);a.maximum=this.B?null:this.max;a.minimum=this.G?null:this.min;a.minimumGap=this.Zq();a.maximumGap=this.Xq();a.softMinimum=isNaN(this.w)?null:this.w;a.softMaximum=isNaN(this.u)?null:this.u;a.maxTicksCount=this.ka;return a};g.aa=function(a,b){sB.F.aa.call(this,a,b);this.Zq(a.minimumGap);this.Xq(a.maximumGap);this.dv(a.softMinimum);this.cv(a.softMaximum);this.Yq(a.minimum);this.Wq(a.maximum);this.Mk(a.maxTicksCount)};var tB=sB.prototype;tB.maxTicksCount=tB.Mk;
tB.minimum=tB.Yq;tB.maximum=tB.Wq;tB.extendDataRange=tB.Of;function uB(){sB.call(this);this.D=this.j=null;sB.call(this)}G(uB,sB);g=uB.prototype;g.uw=function(a){return!Ky(a)};g.Ob=function(){return"dateTime"};g.jb=function(a){this.j||(this.j=new mB(this),H(this,this.j),O(this.j,this.OA,this));return m(a)?(this.j.W(a),this):this.j};g.Ka=function(a){this.D||(this.D=new mB(this),H(this,this.D),O(this.D,this.OA,this));return m(a)?(this.D.W(a),this):this.D};g.Of=function(a){for(var b=0;ba.scale.Mk()&&(lo(20,null,[c-b,is(k)]),k=null,a.Se=4);k||(k=qB(a,b,c,!1));d&&(f[0]=b=Hr(b,k));b=new Cq(new Date(b));c=new Cq(new Date(c));for(d=0;0>=b.getTime()-c.getTime()&&150>d;b.add(k),d++)h.push(b.getTime());e&&0a.scale.Mk()&&(lo(20,null,[l-d,is(h)]),h=null,a.Se=4);h||(h=qB(a,c,b,!0));c=new Cq(new Date(d));l=new Cq(new Date(l));for(b=0;0>=c.getTime()-l.getTime()&&150>b;c.add(h),b++)e.push(c.getTime());a.Xh=e;a.Se=k}this.G&&(this.min=f[0]);this.B&&(this.max=f[1]);this.ug=this.max-this.min}};g.OA=function(a){S(a,2)&&(this.b=!1,this.ea(2))};g.I=function(){var a=uB.F.I.call(this);a.ticks=this.jb().I();a.minorTicks=this.Ka().I();return a};
g.aa=function(a,b){uB.F.aa.call(this,a,b);this.jb(a.ticks);this.Ka(a.minorTicks)};function hB(){var a=new uB;a.aa(up("defaultScaleSettings.dateTime"));return a}var vB=uB.prototype;F("anychart.scales.dateTime",hB);vB.getType=vB.Ob;vB.ticks=vB.jb;vB.minorTicks=vB.Ka;vB.transform=vB.transform;vB.inverseTransform=vB.Dc;vB.extendDataRange=vB.Of;vB.softMinimum=vB.dv;vB.softMaximum=vB.cv;vB.minimumGap=vB.Zq;vB.maximumGap=vB.Xq;function wB(a){fd.call(this);this.b=a}G(wB,Yu);g=wB.prototype;g.la=2;g.Gd=NaN;g.sc=4;g.Yd=6;g.od=null;g.Ld=null;g.tf=0;g.mm="linear";g.nL=function(a){return m(a)?(this.Gd!=a&&(a=N(a),0>=a?(this.sc=4,this.Yd=6,this.Gd=NaN):(this.Yd=this.sc=NaN,this.Gd=+a),this.Ld=this.od=null,this.ea(2)),this):this.Gd};
g.count=function(a,b){return m(a)?(this.sc!=a&&(this.Gd=NaN,this.sc=Math.ceil(N(a)),this.Yd=Math.ceil(N(b)),2<=this.sc||(this.sc=4),this.Yd>=this.sc||(this.Yd=this.sc),this.Ld=this.od=null,this.ea(2)),this):[this.sc,this.Yd]};g.ho=function(a){return m(a)?(a=+a||0,this.tf!=a&&(this.tf=a,this.Ld=null,this.od||this.ea(2)),this):this.tf};g.set=function(a){Bb(this.od,a)||(this.Gd=this.Yd=this.sc=NaN,this.od=ob(a,0),pb(this.od),wb(this.od,Yq),this.Ld=null,this.ea(2));return this};
g.get=function(){var a=xB(this);return Ya(a,function(a){a=this.transform(a);return 0<=a&&1>=a},this.b)};function xB(a){a.od?a=a.od:(a.b.Ce(),a=a.Ld);return a||[]}g.mode=function(a){return m(a)?(a=(""+a).toLowerCase(),a="log"==a||"logarithmic"==a?"logarithmic":"linear",this.mm!=a&&(this.Ld=null,this.mm=a,this.od||this.ea(2)),this):this.mm};
function yB(a,b,c,d,e,f){if("logarithmic"==a.mm){f=f||10;a.Ld=null;var h=[b,c];if(a.od)d&&(h[0]=Math.min(b,a.od[0]||0)),e&&(h[1]=Math.max(c,a.od[a.od.length-1]||0));else{b=Zp(b,f);c=Zp(c,f);var k=[],l=a.Gd,n=a.sc,p=a.Yd;!isNaN(l)&&(c-b)/l>a.b.Mk()&&(lo(20,null,[c-b,l]),l=NaN,n=4,p=6);if(isNaN(l))for(var r=NaN,t=n;t<=p;t++){var n=(c-b)/(t-1),u=Math.log(n),v=Math.ceil(Math.pow(10,Math.floor(u*Math.LOG10E))),n=Math.min(Gr(n,v),Gr(n,Math.ceil(Math.pow(10,Math.ceil(u*Math.LOG10E)))),Gr(n,Math.ceil(Math.pow(2,
Math.floor(u*Math.LOG2E)))),Gr(n,Math.ceil(Math.pow(2,Math.ceil(u*Math.LOG2E)))),Gr(n,Math.ceil(v/2)),Gr(n,Math.ceil(v/4)),Gr(n,Math.ceil(v/8))),n=Math.max(n,1E-7),u=Yp(Fr(b,n,a.tf))-b,u=u*u,v=Yp(Gr(c,n,a.tf))-c,v=v*v,u=u+v;if(isNaN(r)||ua.b.Mk()&&(lo(20,null,[c-b,k]),k=NaN,r=4,l=6);if(isNaN(k))for(p=NaN,n=r;n<=l;n++){var r=(c-b)/(n-1),t=Math.log(r),u=Math.pow(10,Math.floor(t*Math.LOG10E)),v=Math.pow(10,Math.ceil(t*Math.LOG10E)),w=rb.length)){c=c||10;var f="logarithmic"==a.mm,h=f?a.DH:a.mL,k,l,n=b.length-1,p=a.Gd,r=a.sc;isNaN(a.Gd)||(l=b[n],k=b[0],f&&(k=Zp(k,c),l=Zp(l,c)),(l-k)/a.Gd>a.b.Mk()&&(lo(20,null,[l-k,a.Gd]),a.Gd=NaN,a.sc=4));m(d)?(k=b[0],l=b[1],h.call(a,k,l,d,l,c),k=1):k=0;m(e)&&n--;for(d=k;d<=n-1;d++)k=b[d],l=b[d+1],h.call(a,k,l,k,l,c);m(e)&&(k=b[n],l=b[n+1],h.call(a,k,l,k,e,c));a.Gd=p;a.sc=r}}
g.mL=function(a,b,c,d){var e=this.Gd;isNaN(e)&&(e=(d-c)/(this.sc-1));e=Math.max(e,1E-7);c=this.Ld[this.Ld.length-1];b=Xp(b,7);for(a=Xp(a,7);a<=b;a=Xp(a+e,7))c!=a&&this.Ld.push(a),c=a};g.DH=function(a,b,c,d,e){var f=this.Gd;a=Zp(a,e);b=Zp(b,e);c=Zp(c,e);d=Zp(d,e);isNaN(f)&&(f=(d-c)/(this.sc-1));f=Math.max(f,1E-7);c=this.Ld[this.Ld.length-1];b=Xp(b,7);for(a=Xp(a,7);a<=b;a=Xp(a+f,7))c!=a&&this.Ld.push($p(e,a)),c=a};
g.I=function(){var a=wB.F.I.call(this);a.mode=this.mm;a.base=this.tf;this.od?a.explicit=this.od:(this.sc==this.Yd?isNaN(this.sc)||(a.count=this.sc):(isNaN(this.sc)||(a.minCount=this.sc),isNaN(this.Yd)||(a.maxCount=this.Yd)),isNaN(this.Gd)||(a.interval=this.Gd));return a};g.Ib=function(a,b){var c=arguments[1];return q(c)?(this.set(c),!0):Yu.prototype.Ib.apply(this,arguments)};
g.aa=function(a,b){wB.F.aa.call(this,a,b);this.mode(a.mode);this.ho(a.base);this.od=a.explicit||null;this.sc=a.count||a.minCount||NaN;this.Yd=a.count||a.maxCount||NaN;this.Gd=a.interval||NaN;this.od?this.sc=this.Yd=this.Gd=NaN:this.Gd?this.sc=this.Yd=NaN:(this.sc=Math.ceil(N(this.sc)),this.Yd=Math.ceil(N(this.Yd)),2<=this.sc||(this.sc=4),this.Yd>=this.sc||(this.Yd=this.sc))};var AB=wB.prototype;AB.interval=AB.nL;AB.count=AB.count;AB.base=AB.ho;AB.set=AB.set;AB.get=AB.get;AB.mode=AB.mode;function BB(){sB.call(this);this.D=this.j=null;this.lv=!0;this.f=10;this.Y=!0;this.ma=this.DD}G(BB,sB);g=BB.prototype;g.kr="none";g.rv="firstVisible";g.Ob=function(){return"linear"};g.jb=function(a){this.j||(this.j=CB(this));return m(a)?(this.j.W(a),this):this.j};g.Ka=function(a){this.D||(this.D=CB(this),J(this.D),this.D.count(5),this.D.fa(!1));return m(a)?(this.D.W(a),this):this.D};g.Px=function(a){return m(a)?(a=!!a,a!=this.Y&&(this.Y=a,this.G||this.B)&&(this.b=!1,this.ea(4)),this):this.Y};
g.Ce=function(){if(!this.b){BB.F.Ce.call(this);var a=yB(this.jb(),this.min,this.max,this.G&&this.min!=this.w,this.B&&this.max!=this.u,this.f);this.G&&(this.min=a[0]);this.B&&(this.max=a[1]);zB(this.Ka(),xB(this.jb()),this.f,a[2],a[3]);this.ug=this.max-this.min}};g.iL=function(a){S(a,2)&&(this.b=!1,this.ea(2))};function CB(a){var b=new wB(a);H(a,b);O(b,a.iL,a);return b}
g.LL=function(a){if(m(a)){a=Ln(a);if(this.kr!=a){this.kr=a;switch(this.kr){case "none":this.ma=this.DD;break;case "value":this.ma=this.nN;break;case "percent":this.ma=this.jN}this.ea(6)}return this}return this.kr};g.KL=function(a){return m(a)?(a=Mn(a)||Ar(a),this.rv!=a&&(this.rv=a,this.ea(6)),this):this.rv};g.fv=function(a,b){return this.ma(a,b)};g.DD=function(a){return a};g.nN=function(a,b){return N(a)-b};g.jN=function(a,b){return(N(a)-b)/(b||1)*100};
g.I=function(){var a=BB.F.I.call(this);a.ticks=this.jb().I();a.minorTicks=this.Ka().I();a.stackMode=this.hp();a.stickToZero=this.Px();return a};g.aa=function(a,b){BB.F.aa.call(this,a,b);this.jb(a.ticks);this.Ka(a.minorTicks);this.hp(a.stackMode);this.Px(a.stickToZero)};function gB(){var a=new BB;a.aa(up("defaultScaleSettings.linear"));return a}var DB=BB.prototype;F("anychart.scales.linear",gB);DB.transform=DB.transform;DB.inverseTransform=DB.Dc;DB.getType=DB.Ob;DB.ticks=DB.jb;DB.minorTicks=DB.Ka;
DB.stackMode=DB.hp;DB.stickToZero=DB.Px;DB.softMinimum=DB.dv;DB.softMaximum=DB.cv;DB.minimumGap=DB.Zq;DB.maximumGap=DB.Xq;DB.comparisonMode=DB.LL;DB.compareWith=DB.KL;function EB(a){fd.call(this);this.scale=a}G(EB,Yu);g=EB.prototype;g.la=2;g.qj=NaN;g.hg=null;g.Kk=null;g.Nf=null;g.pj=null;g.re=null;g.Lk=100;g.Vq=function(a){return m(a)?(a=zr(a,NaN),isNaN(a)||this.qj==a||(this.qj=a,this.Lk=NaN,this.re=this.pj=this.Nf=this.Kk=null,this.ea(2)),this):this.qj};g.Mw=function(a){return m(a)?(a=zr(a,NaN),isNaN(a)||this.Lk==a||(this.Lk=a,this.qj=NaN,this.re=this.pj=this.Nf=this.Kk=null,this.ea(2)),this):this.Lk};
g.set=function(a){Bb(this.Nf,a)||(this.Nf=lb(a),this.Nf=Za(this.Nf,function(a){return N(a)}),wb(this.Nf),pb(this.Nf),this.Nf[0]=0,this.re=this.pj=this.Kk=null,this.ea(2));return this};
g.names=function(a){if(m(a))return this.hg!=a&&(this.hg=a,this.ea(2)),this;a=FB(this);var b,c;if(this.hg&&this.hg.lengthf&&0>h||1b&&0>a||1=d?(l=d-1,f=!0):l--;e.push(k==l?c[k]:[c[k],c[l]])}return e};function GB(a){a.Kk=null;a.pj=null;a.re=null}g.I=function(){var a=EB.F.I.call(this);this.Nf?a.explicit=this.Nf:isNaN(this.Lk)?isNaN(this.qj)||(a.interval=this.qj):a.maxCount=this.Lk;this.hg&&(a.names=this.hg);return a};
g.Ib=function(a,b){var c=arguments[1];return q(c)?(this.set(c),!0):Yu.prototype.Ib.apply(this,arguments)};g.aa=function(a,b){EB.F.aa.call(this,a,b);"explicit"in a?this.set(a.explicit):"interval"in a?this.Vq(a.interval):"maxCount"in a&&this.Mw(a.maxCount);this.hg=a.names||null;this.re=this.pj=null};var HB=EB.prototype;HB.interval=HB.Vq;HB.maxCount=HB.Mw;HB.set=HB.set;HB.get=HB.get;HB.names=HB.names;function IB(){this.b=[];this.D=[];this.f=[];this.i=[];this.j=[];this.G=!0;this.B={};this.va=null;this.w=!0;this.eb=null;WA.call(this)}G(IB,WA);g=IB.prototype;g.Ob=function(){return"ordinal"};g.uw=function(a){return!m(a)};g.jb=function(a){this.eb||(this.eb=new EB(this),H(this,this.eb),O(this.eb,this.lL,this));return m(a)?(this.eb.W(a),this):this.eb};
g.values=function(a,b){if(!m(a))return this.b;if(null===a)this.w||(this.w=!0,this.ea(4));else{this.w=!1;var c=q(a);this.nj();c&&a.length?this.Of.apply(this,a):this.Of.apply(this,arguments);this.Rq(!1)}return this};
g.names=function(a){if(m(a)){if(null===a)this.D=[];else if(q(a))this.D=lb(a);else{if(!B(a)||this.D==a)return this;this.D=a}this.g=null;GB(this.jb());this.ea(2);return this}if(q(this.D)){this.g||(this.g=lb(this.D));if(this.g.lengtha.Nj?a.Nj:a.ip}else a.U=a.Tm;if((null!==a.Tm||null!==a.Nj&&a.ip>a.Nj)&&"noOverlap"==a.Wp()){p=[];for(h=0;h=A&&a.eg()||1<=A&&a.bf()?t=D:0A&&(t=D)),D++;x<=T&&h=A&&a.eg()||1<=A&&a.bf()?(u=l,n.push(!0)):0A?(u=l,n.push(!0)):n.push(!1))):n.push(!1),l++)}Z||(n=!1)}else if(p instanceof WA)for(h=0;hh&&(h=d)}if(n&&!a.Al())for(n=z(p)?p.Da:!p,r=b.Ka().get(),e=0,f=n.length;ek&&(k=d);return a.iB(h,k)+l}g.fw=function(a){return this.rc()?this.cj().ld(a):this.cj().kd(a)};
g.lc=function(){var a=this.ia();if(a){var b=a.clone();if(this.scale()&&this.enabled()){var c=this.Na(),d=this.cj(),e=a.height-d.kd(a.height)+c.height,a=a.width-d.ld(a.width)+c.width;switch(this.wc()){case "top":b.height-=e;b.top+=e;break;case "right":b.width-=a;break;case "bottom":b.height-=e;break;case "left":b.width-=a,b.left+=a}}return b}return new K(0,0,0,0)};
g.Na=function(){if(!this.tg||Q(this,4)){var a=this.ia();if(a){var b,c;a.top=Math.round(a.top);a.left=Math.round(a.left);a.width=Math.round(a.width);a.height=Math.round(a.height);this.rc()?(b=a.width,c=a.height):(b=a.height,c=a.width);b=this.fw(b);c=this.Ga?M(this.Ga,c):OB(this,a,b);var d,e,f=this.cj(),h=M(f.J("top"),a.height),k=M(f.J("right"),a.width),l=M(f.J("bottom"),a.height),f=M(f.J("left"),a.width),n,p;switch(this.wc()){case "top":e=a.top+h;d=a.left+f;p=c;n=b;break;case "right":e=a.top+h;d=a.left+
a.width-c-k;p=b;n=c;break;case "bottom":e=a.top+a.height-c-l;d=a.left+f;p=c;n=b;break;case "left":e=a.top+h,d=a.left+f,p=b,n=c}this.tg=new K(Math.round(d),Math.round(e),Math.round(n),Math.round(p))}else this.tg=new K(0,0,0,0);this.K(4)}return this.tg};
function NB(a,b,c,d,e){if(!c&&a.scale()&&!(a.scale()instanceof sB))return null;var f=c?a.Tp:a.Vp;if(m(f[b]))return f[b];var h=m(e)?e:a.Na();e=m(e)?e:a.cb.Pa();var k=c?a.oe():a.Ka(),l=k.length(),n=a.stroke(),n=!n||Or(n)?0:n.thickness?parseFloat(a.stroke().thickness):1;c=c?a.labels():a.Da();var p,r,t=a.scale();d=d[b];q(d)?(t=(t.transform(d[0],0)+t.transform(d[1],1))/2,d=d[0]):t=t.transform(d,.5);if(0>t||1=v&&b.call(e,v,y,A,f,c),l==k-1&&(v=a.transform(aa,1),0<=v&&1>=v&&b.call(e,v,y,A,f,c))),w=q(p)?p[l]:p,PB(this,d,t,l,c,!0,h,w&&0<=t&&1>=t);this.labels().$()}this.title().fa(!1);this.labels().fa(!1);
this.Da().fa(!1);this.oe().fa(!1);this.Ka().fa(!1);return this};g.remove=function(){this.Ja&&this.Ja.remove();this.cb&&this.cb.parent(null);this.oe().remove();this.Ka().remove();this.ua&&this.ua.remove();this.pb&&this.pb.remove()};
g.I=function(){var a=LB.F.I.call(this);a.title=this.title().I();a.labels=this.labels().I();a.minorLabels=this.Da().I();a.ticks=this.oe().I();a.minorTicks=this.Ka().I();a.stroke=So(this.stroke());a.staggerMode=this.Al();a.staggerLines=this.Nx();a.staggerMaxLines=this.Ox();a.width=this.width();this.w&&(a.orientation=this.w);a.drawFirstLabel=this.eg();a.drawLastLabel=this.bf();a.overlapMode=this.Wp();return a};
g.aa=function(a,b){LB.F.aa.call(this,a,b);"title"in a&&this.title(a.title);this.labels().$a(!!b,a.labels);this.Da().$a(!!b,a.minorLabels);this.oe(a.ticks);this.Ka(a.minorTicks);this.Al(a.staggerMode);this.Nx(a.staggerLines);this.Ox(a.staggerMaxLines);this.stroke(a.stroke);this.width(a.width);this.wc(a.orientation);this.eg(a.drawFirstLabel);this.bf(a.drawLastLabel);this.Wp(a.overlapMode)};
g.da=function(){LB.F.da.call(this);this.Rd&&gv(this.Rd,this.Qt,this);delete this.Rd;this.Ja=this.Vp=this.Tp=null;Jb(this.Ea,this.cb,this.ua,this.pb);this.pb=this.ua=this.tg=this.Mb=this.eb=this.cb=this.Ea=null};var QB=LB.prototype;QB.staggerMode=QB.Al;QB.staggerLines=QB.Nx;QB.staggerMaxLines=QB.Ox;QB.title=QB.title;QB.labels=QB.labels;QB.minorLabels=QB.Da;QB.ticks=QB.oe;QB.minorTicks=QB.Ka;QB.stroke=QB.stroke;QB.orientation=QB.wc;QB.scale=QB.scale;QB.width=QB.width;QB.getRemainingBounds=QB.lc;
QB.drawFirstLabel=QB.eg;QB.drawLastLabel=QB.bf;QB.overlapMode=QB.Wp;QB.isHorizontal=QB.rc;QB.padding=QB.cj;QB.getPixelBounds=QB.Na;function RB(){U.call(this);this.u=this.f=null}G(RB,U);g=RB.prototype;g.la=U.prototype.la|8;g.oa=U.prototype.oa|20;g.$b=function(){return this.u};function SB(a,b){return m(b)?(a.i!=b&&(a.i&&gv(a.i,a.Zt,a),a.i=b,a.i&&O(a.i,a.Zt,a),a.o(4,9)),a):a.i?a.i:a.f?a.f.scale():null}g.Zt=function(a){var b=0;S(a,4)&&(b|=4);S(a,2)&&(b|=1);this.o(4,b|8)};function TB(a,b){return m(b)?(a.b!==b&&(a.b=b,a.o(4,9)),a):a.b}g.Cz=function(){this.o(4,9)};
g.ej=function(a){return m(a)?(this.f!=a&&(this.f&&gv(this.f,this.Cz,this),this.f=a,O(this.f,this.Cz,this),this.i&&gv(this.i,this.Zt,this),this.i=null,this.o(4,9)),this):this.f};g.Bz=function(a,b,c,d){this.G||(this.G=new Fw,H(this,this.G));return m(a)?(this.G.W.apply(this.G,arguments),this):this.G};g.Wl=function(){return"horizontal"==this.Qh()};g.Mn=void 0;g.Ln=void 0;
g.$=function(){if(!this.scale())return io(2),this;if(!this.wb())return this;if(Q(this,8)){var a=this.zIndex();UB(this).zIndex(a);this.K(8)}Q(this,2)&&(a=this.O(),UB(this).parent(a),this.K(2));Q(this,16)&&(this.Ln(),this.K(16));Q(this,4)&&(this.Mn(),this.K(4));return this};
function VB(a){var b=a.scale();if(b){var c=UB(a),b=b.transform(a.b,.5);if(!isNaN(b)&&(c.clear(),0<=b&&1>=b)){var d=c.ah()%2?-.5:0,e=a.ia(),f=a.Bz();a.Wl()?(a=Math.round(e.Ya()+e.height-b*e.height),1==b?a-=d:a+=d,c.moveTo(e.Sa(),a),c.lineTo(e.sa(),a)):(a=Math.round(e.Sa()+b*e.width),1==b?a+=d:a-=d,c.moveTo(a,e.Ya()),c.lineTo(a,e.pa()));c.clip(f.ff(e))}}else io(2)}
function WB(a){var b=a.b,c=a.scale();if(c){var d=UB(a);d.clear();var e=b.Ne,f=b.from,h=c.transform(f),k=c.transform(e);h>k&&(e=b.from,f=b.Ne);f=c.transform(f,0);c=c.transform(e,1);b=Math.min(c,f);f=Math.max(c,f);!isNaN(b)&&!isNaN(f)&&0<=f&&1>=b&&(b=Yd(b,0,1),f=Yd(f,0,1),c=a.ia(),e=a.Bz(),a.Wl()?(a=Math.floor(c.pa()-c.height*f),b=Math.ceil(c.pa()-c.height*b),f=c.Sa(),h=c.sa(),d.moveTo(f,a).lineTo(h,a).lineTo(h,b).lineTo(f,b).close()):(a=c.pa(),h=c.Ya(),b=Math.floor(c.Sa()+c.width*b),f=Math.ceil(c.Sa()+
c.width*f),d.moveTo(b,a).lineTo(b,h).lineTo(f,h).lineTo(f,a).close()),d.clip(e.ff(c)))}else io(2)}g.remove=function(){UB(this).parent(null)};function UB(a){a.w||(a.w=ph(),H(a,a.w));return a.w}g.aa=function(a,b){RB.F.aa.call(this,a,b);"layout"in a&&a.layout&&this.Qh(a.layout);if("axis"in a){var c=a.axis;C(c)?this.u&&this.ej(this.u.Hr(c)):c instanceof LB&&this.ej(c)}};g.da=function(){this.u=this.f=null;RB.F.da.call(this)};function XB(){RB.call(this);this.b={from:0,Ne:0};this.B="black";var a=!this.g&&"#c1c1c1 0.4"!=this.B;this.B="#c1c1c1 0.4";a&&this.o(16)}G(XB,RB);g=XB.prototype;g.la=RB.prototype.la;g.oa=RB.prototype.oa;g.Qh=function(a){return m(a)?(a=wn(a),this.j!=a&&(this.j=a,this.o(4,9)),this):this.j?this.j:this.ej()?(a=this.ej().wc(),"left"==a||"right"==a?"horizontal":"vertical"):"horizontal"};g.scale=function(a){return SB(this,a)};
g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Fe.apply(null,arguments);k!=this.g&&(this.g=k,this.o(16,1));return this}return this.g||this.B};g.from=function(a){return m(a)?(this.b.from!=a&&(this.b.from=a,this.o(4,9)),this):this.b.from};g.Ne=function(a){return m(a)?(this.b.Ne!=a&&(this.b.Ne=a,this.o(4,9)),this):this.b.Ne};g.Mn=function(){WB(this)};g.Ln=function(){UB(this).stroke(null).fill(this.fill())};g.da=function(){delete this.g;XB.F.da.call(this)};
g.I=function(){var a=XB.F.I.call(this);a.from=this.from();a.to=this.Ne();this.g&&(a.fill=So(this.g));this.j&&(a.layout=this.j);return a};g.aa=function(a,b){XB.F.aa.call(this,a,b);this.from(a.from);this.Ne(a.to);this.fill(a.fill)};var YB=XB.prototype;YB.from=YB.from;YB.to=YB.Ne;YB.scale=YB.scale;YB.axis=YB.ej;YB.layout=YB.Qh;YB.fill=YB.fill;YB.isHorizontal=YB.Wl;function ZB(a){this.i=a;this.reset()}g=ZB.prototype;g.select=function(a){this.b=a-1;return this.advance()};g.reset=function(){this.b=-1;this.g=void 0;return this};g.advance=function(){this.g=this.i.Hc(++this.b);var a=this.gc();return!!a&&this.b=this.gc()))return $B(this.i.Sf(this.b),this.g,this.b,a)};g.zm=function(a){return this.get(a)};g.La=function(){return this.b};g.Zu=function(){return this.get("x")};g.gc=function(){return this.i.gc()};
g.R=function(a,b){return 1=this.gc()))return $B(this.Sf(a),this.Hc(a),a,b)};g.set=function(a,b,c){var d=this.Hc(a);m(d)&&this.Hc(a,hC(this.Sf(a),d,b,c));return this};g.Qa=function(){cC(this);return new ZB(this)};g.iv=function(){return null};
g.qs=function(a){this.f=null;S(a,16)&&this.o(1,16)};g.R=function(a,b,c){this.Jm||(this.Jm=[]);var d=this.Jm[a];d||(this.Jm[a]=d={});return 2a:!(!this.kj||!this.kj[a])};g.Dm=function(){return this.UE};g.R=function(){throw Error("Wrong usage of the data Set");};g.Vk=function(){return[this]};function sC(a,b){return new fC(a,b)}var tC=fC.prototype;F("anychart.data.set",sC);tC.data=tC.data;tC.mapAs=tC.Fg;tC.row=tC.Hc;tC.append=tC.OK;tC.insert=tC.cN;tC.remove=tC.remove;tC.getRowsCount=tC.gc;function uC(){fd.call(this);this.f=null;this.f=lb(up("palette.items"));this.ea(2)}G(uC,Yu);g=uC.prototype;g.la=2;g.$K=function(a,b){lo(405,null,["colorAt()","itemAt()"],!0);return this.Gk(a,b)};g.Gk=function(a,b){this.f||(this.f=[]);var c=this.f.length;a>=c&&0=f&&0=c&&0this.f.length||!this.b)return null;if(m(b))return this.i[a]=b,this.ea(2),this;a>this.b-1&&(a=this.b-1);0>a&&(a=0);var c=this.i[a];return c?c:null};
function BC(a){if(a.f&&a.b){var b=[],c=q(a.f)?a.f:a.f.keys;if(q(c)&&c.length){isNaN(a.b)&&(a.b=c.length);for(var d=1/(c.length-1),e,f=0;f=b[h].offset&&(c=b[h]),e<=b[h].offset&&null==d&&
(d=b[h]);c||(c=b[0]);d||(d=b[b.length-1]);d.offset==c.offset?a.i[f]={color:c.color}:(e=1-(e-c.offset)/(d.offset-c.offset),a.i[f]={color:Ne(zm(wm(c.color),wm(d.color),e))})}}}}g.I=function(){var a=AC.F.I.call(this);a.type="range";for(var b=[],c=0;ca&&(c=b,b=a,a=c),c=[b,a])):c=null;this.j=!1;this.b=c;this.f={};this.ea(2);return this}return this.b};g.gF=function(a){return m(a)?(this.g=N(a),this.f={},this.ea(2),this):this.g};g.YA=function(a){if(m(a)){this.i=q(a)?a.slice():[];for(a=this.D.length=0;aa.b[1])&&d.push([b.getTime(),b.getTime()+864E5-6E4]));!d&&a.ca&&(d=JC(a.ca,b));d||(d=[]);return a.f[c]=d}g.kD=function(a){S(a,2)&&!this.b&&(this.f={})};
function IC(a){var b=a.isWorking;this.j=m(b)?!b:!1;b=go(a.each);switch(b){case "year":var c=a.on,d=a.from,e=a.to;this.u=this.pL;(c=Ky(c,"dd.MM",EC))?(this.D=this.Ow,this.b=new Cq(2E3,c.getUTCMonth(),c.getUTCDate()),e=KC(d,e),this.i=e[0],this.f=e[1]):(this.D=this.oE,this.b=null,c=(c=Ky(d,"dd.MM",EC))?new Cq(c):FC,this.i=new Cq(2E3,c.getUTCMonth(),c.getUTCDate()),c=(c=Ky(e,"dd.MM",EC))?new Cq(c):GC,this.f=new Cq(2E3,c.getUTCMonth(),c.getUTCDate()),this.f.add(HC));break;case "week":LC(this,a.on,a.from,
a.to);break;case "day":LC(this,NaN,a.from,a.to);break;default:c=a.on,d=a.from,e=a.to,this.u=this.Yx,(c=Ky(c))?(this.D=this.Ow,this.b=new Cq(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),e=KC(d,e),this.i=e[0],this.f=e[1]):(this.D=this.oE,this.b=null,c=(c=Ky(d))?new Cq(c):FC,this.i=new Cq(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),c=(c=Ky(e))?new Cq(c):GC,this.f=new Cq(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),this.f.add(HC))}"none"==b?this.b?(this.w=this.b.clone(),this.g=this.b.clone(),
this.g.add(HC)):(this.w=this.i.clone(),this.g=this.f.clone()):(this.w=(b=Ky(a.starts))?new Cq(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()):FC,(b=Ky(a.ends))?(this.g=new Cq(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()),this.g.add(HC)):this.g=GC)}function LC(a,b,c,d){a.u=a.qL;a.D=a.Ow;b=Math.min(zr(b,NaN,!0),6);a.b=isNaN(b)?null:b;b=KC(c,d);a.i=b[0];a.f=b[1]}g=IC.prototype;g.Yx=function(a){return a.getTime()>=this.w.getTime()&&a.getTime()<=this.g.getTime()};
g.qL=function(a){return this.Yx(a)&&(null===this.b||(a.Nr()+6)%7==this.b)};g.pL=function(a){if(!this.Yx(a))return!1;if(this.b)return a.getUTCMonth()==this.b.getUTCMonth()&&a.getUTCDate()==this.b.getUTCDate();var b=a.getUTCFullYear();a=a.getTime();var c=this.i.clone();c.lw(b);var d=this.f.clone();d.lw(b);return a>=c.getTime()&&a<=d.getTime()};
g.Ow=function(a,b){for(var c=this.i,d=b.getTime()+36E5*c[0]+6E4*c[1],c=this.f,e=b.getTime()+36E5*c[0]+6E4*c[1],f=[],h=0;(c=a[h])&&c[1]e)this.j||f.push([d,e]);else{this.j?(c[0]=f.offset?b=f:c=f}var h;b?c?h=Lo(c.color,b.color,(a-b.offset)/(c.offset-b.offset)):h=b.color:h=c.color;return q(h)?Ne(h):h.color};
g.gL=function(a){this.Ce();a=wm(No(a).Ge);var b,c,d,e,f,h,k;h=0;for(k=this.f.length;h=d?(l=d-1,f=!0):l--;var n=m(c[k].Bh)?c[k].Bh:(c[k].start+c[k].end)/2,p=m(c[l].Bh)?c[l].Bh:(c[l].start+c[l].end)/2;e.push(k==l?n:[n,p])}return e};function TC(){WA.call(this);this.u=this.f=null;this.D=[];this.va=this.i=null;this.G=[]}G(TC,WA);g=TC.prototype;g.Ob=function(){return"ordinalColor"};g.Jk=function(a){return m(a)?(a=!!a,this.N!=a&&(this.N=a,this.nj(),this.ea(2)),this):this.N};
g.Yh=function(a){if(m(a))return a?q(a)&&(this.f=lb(a)):this.f=[],this.nj(),this.ea(2),this;if(q(this.f)){this.w||(this.w=lb(this.f));if(this.w.length "+c.start:"< "+c.end;c.name||(c.name=d);this.re.push(d)}}return this.re};g.us=function(a){return m(a)?(this.D!=a&&(this.D=a,this.va=up("defaultOrdinalColorScale.autoColors")(this.D.length),this.nj(),GB(this.jb()),this.ea(4)),this):this.D};g.Ej=function(){UC(this);this.names();return this.i};g.Gh=function(a){UC(this);var b=null;if(this.i)for(var c=this.i.length;c--;){var d=this.i[c];if(m(d.Bh)&&d.Bh===a||a>=d.start&&a<=d.end&&-1d.length-1?d[d.length-1]:d[c])}}return b};g.jL=function(a){UC(this);a=No(a).Ge;for(var b=NaN,c=0,d=this.i.length;cb.start?1:a.startb.start?a.sourceIndex>b.sourceIndex?b.end=a.start:(a.start=b.end,a.start>=a.end&&(a.enabled=!1)):a.startb.sourceIndex?(b.start=a.end,b.start>=b.end&&(b.enabled=!1)):a.end=b.start:a.sourceIndex>b.sourceIndex?(b.start=a.end,b.start>=b.end&&(b.enabled=!1)):(a.end=b.start,a.start>=a.end&&(a.enabled=!1)));return c});e=[];b=0;for(c=h.length;b=b){var c=this.ia(),c=c.clone().round(),d=this.Nn();a.Xa(1,0,0,1,0,0);a.width(null);a.height(null);a.x(0);a.y(0);var e=null!==this.width(),f=null!==this.height(),h=a.Pa(),k=e?Math.ceil(M(this.width(),c.width)):h.width;
e&&a.width(k);h=a.Pa();c=f?Math.ceil(M(this.height(),c.height)):h.height;f&&a.height(c);var l=this.ia(),l=l.clone().round();if(this.eq())switch(e=Math.round(l.Ya()+l.height-b*l.height),1==b?e-=-.5:e+=-.5,this.G){case "left":f=l.Sa();break;case "right":f=l.sa();break;default:f=l.Sa()+l.width/2}else switch(f=Math.round(l.Sa()+b*l.width),1==b?f+=-.5:f-=-.5,this.G){case "top":e=l.Ya();break;case "bottom":e=l.pa();break;default:e=l.Ya()+l.height/2}b=new fe(f,e);f=N(this.N);f=isNaN(f)?this.eq()?0:-90:f;
e=Be(be(f),0,0);h=re(h,e);e=Br(jq(0,0,h.width,h.height),d);b.x-=e.x;b.y-=e.y;e=M(this.offsetX(),k);l=M(this.offsetY(),c);Mr(b,d,e,l);this.fc(a,!0);a.x(b.x+h.width/2-k/2).y(b.y+h.height/2-c/2).ap(f,"center");this.o(2)}else this.remove(),this.K(2);this.K(4)}Q(this,2)&&(a=this.O(),JD(this).parent(a),this.K(2));return this};g.remove=function(){JD(this).parent(null)};function JD(a){a.b||(a.b=Wh(),a.b.pd("aria-hidden","true"),H(a,a.b));return a.b}g.da=function(){Ib(this.b);this.f=this.u=this.b=null;GD.F.da.call(this)};
g.I=function(){var a=GD.F.I.call(this);a.anchor=this.Nn();a.align=this.cq();this.w&&(a.layout=this.w);a.rotation=this.rotation();a.offsetX=this.offsetX();a.offsetY=this.offsetY();a.text=this.text();a.height=this.height();a.width=this.width();return a};
g.aa=function(a,b){GD.F.aa.call(this,a,b);this.Nn(a.anchor);this.cq(a.align);"layout"in a&&a.layout&&this.On(a.layout);this.rotation(a.rotation);this.offsetX(a.offsetX);this.offsetY(a.offsetY);this.text(a.text);this.height(a.height);this.width(a.width);if("axis"in a){var c=a.axis;C(c)?this.u&&this.$t(this.u.Hr(c)):c instanceof LB&&this.$t(c)}};function KD(){GD.call(this)}G(KD,GD);g=KD.prototype;g.la=GD.prototype.la;g.oa=GD.prototype.oa;g.scale=function(a){return HD(this,a)};g.value=function(a){return ID(this,a)};g.I=function(){var a=KD.F.I.call(this);a.value=this.value();return a};g.aa=function(a,b){KD.F.aa.call(this,a,b);this.value(a.value)};var LD=KD.prototype;LD.value=LD.value;LD.scale=LD.scale;LD.axis=LD.$t;LD.anchor=LD.Nn;LD.align=LD.cq;LD.layout=LD.On;LD.rotation=LD.rotation;LD.offsetX=LD.offsetX;LD.offsetY=LD.offsetY;LD.text=LD.text;
LD.height=LD.height;LD.width=LD.width;LD.isHorizontal=LD.eq;function MD(){U.call(this);this.B=this.b=this.i=this.g=null;this.Y=!1;this.f=null}G(MD,U);g=MD.prototype;g.la=U.prototype.la|8;g.oa=U.prototype.oa|80;g.$b=function(){return this.u};g.du=function(a){return m(a)?(a=wn(a),this.w!=a&&(this.w=a,this.o(64,9)),this):this.w?this.w:this.f?(a=this.f.wc(),"left"==a||"right"==a?"horizontal":"vertical"):"horizontal"};g.scale=function(a){return m(a)?(this.B!=a&&(this.B=a,O(this.B,this.JI,this),this.o(68,9)),this):this.B?this.B:this.f?this.f.scale():null};
g.JI=function(a){var b=0;S(a,4)&&(b|=4);S(a,2)&&(b|=1);this.o(20,b|8)};g.Jz=function(){this.o(64,9)};g.au=function(a){return m(a)?(this.f!=a&&(this.f&&gv(this.f,this.Jz,this),this.f=a,O(this.f,this.Jz,this),this.o(64,9)),this):this.f};g.II=function(a,b,c,d){this.G||(this.G=new Fw,H(this,this.G));return m(a)?(this.G.W.apply(this.G,arguments),this):this.G};g.Af=function(a,b,c,d,e,f,h){if(m(a)){var k=Fe.apply(null,arguments);this.U!=k&&(this.U=k,this.o(16,1));return this}return this.U};
g.xf=function(a,b,c,d,e,f,h){if(m(a)){var k=Fe.apply(null,arguments);this.P!=k&&(this.P=k,this.o(16,1));return this}return this.P};g.stroke=function(a,b,c,d,e){if(m(a)){var f=Oe.apply(null,arguments);if(this.j!=f){var h=this.j?Te(this.j):0;this.j=f;var f=16,k=1;h!=(this.j?Te(this.j):0)&&(f|=68,k|=8);this.o(f,k)}return this}return this.j};g.Hv=function(a){return m(a)?(this.ba!=a&&(this.ba=a,this.o(64,9)),this):this.ba};g.bu=function(a){return m(a)?(this.N!=a&&(this.N=a,this.o(64,9)),this):this.N};
g.fq=function(a){return m(a)?(this.Y!=a&&(this.Y=a,this.o(80,9)),this):this.Y};g.Mz=function(a,b){var c=this.ia()||jq(0,0,0,0),d=Math.round(c.pa()-a*c.height);1==a?d-=b:d+=b;this.b.moveTo(c.Sa(),d);this.b.lineTo(c.sa(),d)};g.Nz=function(a,b){var c=this.ia()||jq(0,0,0,0),d=Math.round(c.Sa()+a*c.width);1==a?d+=b:d-=b;this.b.moveTo(d,c.pa());this.b.lineTo(d,c.Ya())};g.cu=function(){return"horizontal"==this.du()};
g.Kz=function(a,b,c,d,e){if(!isNaN(b)){c=this.ia()||jq(0,0,0,0);var f,h;f=Math.round(c.pa()-b*c.height);h=Math.round(c.pa()-a*c.height);1==a?h-=e:h+=e;1==b?f-=e:f+=e;d.moveTo(c.Sa(),f);d.lineTo(c.sa(),f);d.lineTo(c.sa(),h);d.lineTo(c.Sa(),h);d.close()}};g.Lz=function(a,b,c,d,e){if(!isNaN(b)){c=this.ia()||jq(0,0,0,0);var f,h;f=Math.round(c.Sa()+b*c.width);h=Math.round(c.Sa()+a*c.width);1==a?h+=e:h-=e;1==b?f+=e:f-=e;d.moveTo(f,c.Ya());d.lineTo(h,c.Ya());d.lineTo(h,c.pa());d.lineTo(f,c.pa());d.close()}};
g.$=function(){var a=this.scale();if(!a)return io(2),this;if(!this.wb())return this;if(Q(this,8)){var b=this.zIndex();ND(this).zIndex(b);OD(this).zIndex(b);PD(this).zIndex(b);this.K(8)}Q(this,2)&&(b=this.O(),ND(this).parent(b),OD(this).parent(b),PD(this).parent(b),this.K(2));Q(this,16)&&(PD(this).stroke(this.stroke()),OD(this).fill(this.Af()),ND(this).fill(this.xf()),this.K(16));if(Q(this,64)||Q(this,4)){var c,d,e,f,b=NaN,h=this.scale()instanceof IB,k=(h?a.jb():this.fq()?a.Ka():a.jb()).get();c=this.cu()?
[this.Mz,this.Kz]:[this.Nz,this.Lz];ND(this).clear();OD(this).clear();PD(this).clear();var l=this.ia()||jq(0,0,0,0);d=this.u&&!1;l=this.II().ff(l);ND(this).clip(l);OD(this).clip(l);PD(this).clip(l);l=c[1];c=c[0];var n=-PD(this).ah()%2/2;d&&this.cu()&&c.call(this,0,n);for(var p=0,r=k.length;pa.nearestPointToCursor.distance&&(a.series.Qa().select(a.nearestPointToCursor.index),c=a)});var d=c.series;a=this.O();var e=this.ia(),f=this.g.ah()%2?-.5:0,h=this.j.ah()%2?-.5:0,k=d.Rc(),l=d.ie(),d=d.Qa(),n=N(d.R("x")),p=N(d.R("value"));if(this.B&&"none"!=this.B){var r;
this.g.clear();r=Yd(n,e.Sa(),e.sa()-1);r=Math.round(r)-f;this.g.moveTo(r,e.Ya()).lineTo(r,e.pa())}this.u&&this.u.enabled()&&this.f.enabled()&&(f=this.am(this.u,k.transform(d.get("x"))),r=this.f.qf()||Qr,this.f.text(r.call(f,f)),k=WD(this,this.u,this.f,n,p,k.transform(d.get("x"))),this.f.x(k.x).y(k.y),this.f.O(a).$());this.G&&"none"!=this.G&&(this.j.clear(),k=Yd(p,e.Ya(),e.pa()-1),k=Math.round(k)-h,this.j.moveTo(e.Sa(),k).lineTo(e.sa(),k));this.w&&this.w.enabled()&&this.i.enabled()&&(e=this.am(this.w,
l.transform(d.get("value"))),h=this.i.qf()||Qr,this.i.text(h.call(e,e)),l=WD(this,this.w,this.i,n,p,l.transform(d.get("value"))),this.i.x(l.x).y(l.y),this.i.O(a).$())}else this.dc()};g.dc=function(){XD(this);YD(this)};function XD(a){a.g.clear();a.f.O(null).remove()}function YD(a){a.j.clear();a.i.O(null).remove()}function ZD(a){return m(a.scale().Dc(0))}
g.yk=function(a){if(this.enabled()){var b=this.O(),c=this.ia(),d=Ll(this.O().ja()),e=a.clientX-d.x;a=a.clientY-d.y;if(e>=c.Sa()&&e<=c.sa()&&a>=c.Ya()&&a<=c.pa()){var d=this.g.ah()%2?-.5:0,f=this.j.ah()%2?-.5:0,h=c.pa()-c.Ya(),k=a-c.Ya(),l;l=(e-c.Sa())/(c.sa()-c.Sa());h=(h-k)/h;if(this.u&&ZD(this.u)){if(this.B&&"none"!=this.B&&(this.g.clear(),this.u.rc()?(k=Yd($D(this,this.u,l,e),c.Sa(),c.sa()-1),this.g.moveTo(k-d,c.Ya()).lineTo(k-d,c.pa())):(k=Yd($D(this,this.u,l,a),c.Ya(),c.pa()-1),this.g.moveTo(c.Sa(),
k-f).lineTo(c.sa(),k-f))),this.f.enabled()){var k=this.am(this.u,l),n=this.f.qf()||Qr;this.f.text(n.call(k,k));l=WD(this,this.u,this.f,e,a,l);this.f.x(l.x).y(l.y);this.f.O(b).$()}}else XD(this);this.w&&ZD(this.w)?(this.G&&"none"!=this.G&&(this.j.clear(),this.w.rc()?(l=Yd($D(this,this.w,h,e),c.Sa(),c.sa()-1),this.j.moveTo(l-d,c.Ya()).lineTo(l-d,c.pa())):(l=Yd($D(this,this.w,h,a),c.Ya(),c.pa()-1),this.j.moveTo(c.Sa(),l-f).lineTo(c.sa(),l-f))),this.i.enabled()&&(c=this.am(this.w,h),d=this.i.qf()||Qr,
this.i.text(d.call(c,c)),e=WD(this,this.w,this.i,e,a,h),this.i.x(e.x).y(e.y),this.i.O(b).$())):YD(this)}else this.dc()}};function $D(a,b,c,d){a=a.ia();var e=b.scale(),f="ordinal"==e.Ob();c=e.transform(e.Dc(c),.5);return b.rc()?f?Math.round(a.left+c*a.width):d:f?Math.round(a.top+a.height-c*a.height):d}
function WD(a,b,c,d,e,f){a=a.ia();var h=0,k=0;if(!b)return{x:h,y:k};var l=b.scale(),n=b.Na(),p="ordinal"==l.Ob();f=l.transform(l.Dc(f),.5);var r=b.enabled(),l=r?n.Sa():a.sa(),t=r?n.Ya():a.pa(),u=r?n.sa():a.Sa(),n=r?n.pa():a.Ya();switch(b.wc()){case "left":h=aE(c)?u-1:u+1;k=p?Math.round(a.top+a.height-f*a.height):e;break;case "top":h=p?Math.round(a.left+f*a.width):d;k=bE(c)?n-1:n+1;break;case "right":h=aE(c)?l-1:l+1;k=p?Math.round(a.top+a.height-f*a.height):e;break;case "bottom":h=p?Math.round(a.left+
f*a.width):d,k=bE(c)?t-1:t+1}return{x:h,y:k}}function aE(a){a=Hw(a);return"leftTop"==a||"leftCenter"==a||"leftBottom"==a}function bE(a){a=Hw(a);return"leftTop"==a||"centerTop"==a||"rightTop"==a}
g.am=function(a,b){if(!a)return null;var c=a.scale(),d=c.Ob(),e=c.Dc(b),f;switch(d){case "linear":f=+parseFloat(e).toFixed();break;case "log":f=+e.toFixed(1);break;case "ordinal":f=String(e);break;case "dateTime":var h=new Date(e),d=h.getMonth()+1;f=h.getDate();h=h.getFullYear();f=(10>d?"0"+d:""+d)+"-"+(10>f?"0"+f:""+f)+"-"+h}return{value:f,rawValue:e,max:c.max?c.max:null,min:c.min?c.min:null,scale:c}};
g.vq=function(a){var b=this.ia(),c=a.offsetX;a=a.offsetY;(c<=b.Sa()||c>=b.sa()||a<=b.Ya()||a>=b.pa())&&this.dc()};g.remove=function(){this.dc()};g.da=function(){this.Aa&&(this.Aa.jc("mouseover",this.yk,!1,this),this.Aa.jc("mousemove",this.yk,!1,this),this.Aa.jc("mouseout",this.vq,!1,this),this.Aa.jc("pointshover",this.show,!1,this),this.Aa=null);Ib(this.g);this.g=null;Ib(this.j);this.w=this.u=this.j=null;Ib(this.f);this.f=null;Ib(this.i);this.i=null;TD.F.da.call(this)};
g.I=function(){var a=TD.F.I.call(this);a.displayMode=this.Fv();a.xStroke=So(this.bn());a.yStroke=So(this.en());a.xLabel=this.f.I();a.yLabel=this.i.I();return a};g.aa=function(a,b){TD.F.aa.call(this,a,b);this.Fv(a.displayMode);this.bn(a.xStroke);this.en(a.yStroke);this.$m(a.xLabel);this.dn(a.yLabel)};var cE=TD.prototype;cE.displayMode=cE.Fv;cE.xStroke=cE.bn;cE.yStroke=cE.en;cE.xLabel=cE.$m;cE.yLabel=cE.dn;function dE(a,b){this.Aa=a;this.index=zr(b,0,!0);this.b={}}g=dE.prototype;g.La=function(){return this.index};g.$b=function(){return this.Aa};g.get=function(a){return this.Aa.data().get(this.index,a)};g.set=function(a,b){this.Aa.data().set(this.index,a,b);return this};g.rw=function(a){var b=this.$b(),c=cA(b.state,dp,this.index);return m(a)&&c!=a?(a?b.Xk(this.index):b.ee(this.index),this):c};
g.Ft=function(a){var b=this.$b(),c=cA(b.state,ep,this.index);return m(a)&&c!=a?(a?b.select(this.index):b.hf(this.index),this):c};g.Qv=function(){return this.indexthis.j[u]?v=this.g[u][this.j[u]]:this.g[u].push(v=t.DL());this.j[u]++;this.b[u].push(v);l=xE(this,l,n,p,r,v,!0);e[k]=l}this.ml(this.na,e,a);return e};
g.xk=function(a,b){if(q(b))for(var c=0;cb;b=Math.abs(b);var d=(b-a.Qw)/(a.FD-a.Qw);if(isNaN(d)||!isFinite(d))d=.5;b=a.Rw+d*(a.GD-a.Rw);return c?-b:b}function vD(a){return a.ra.J("yValues")}g.$b=function(){return this.Aa};g.Qa=function(){return this.xe||Xz(this)};function Xz(a){return a.xe=ME(a)}g.Gj=function(){return this.Aa.Rc()};g.ie=function(a){return m(a)?(a instanceof WA||(a=null),this.B!=a&&(this.B&&gv(this.B,this.kq,this),(this.B=a)&&O(this.B,this.kq,this),this.o(1024,5)),this):this.B||this.hc.ie()};
g.kq=function(a){var b=0;S(a,4)&&(b|=4);S(a,2)?this.o(1024,b|1):this.ea(b)};g.vg=function(a,b){return CE(this,this.Gj().transform(a,b),!0)};g.cg=function(a,b){return CE(this,this.ie().transform(a,b),!1)};g.ol=function(a){return m(a)?(this.ra.W(a),this):this.ra};g.error=function(a){DE(this)||lo(12,void 0,[this.Js()]);this.Ua||(this.Ua=new BE(this),O(this.Ua,this.bO,this));return m(a)?(this.Ua.W(a),this):this.Ua};g.bO=function(a){var b=0;S(a,1)&&(b|=1);S(a,4)&&(b|=4);this.o(1024,b)};g.xo=function(a){return this.error().xo(a)};
g.$I=function(a){if(a=!a.R("missing")){var b=this.error(),c=b.f.Qa();a=c.get("xError")||b.Zm();var d=c.get("xLowerError")||b.an(),e=c.get("xUpperError")||b.cn(),f=c.get("valueError")||b.Wm(),h=c.get("valueLowerError")||b.Xm(),b=c.get("valueUpperError")||b.Ym(),f=m(h)||m(b)||ur(f)||!yr(f);a=m(d)||m(e)||ur(a)||!yr(a)||f}if(a)switch(a=this.error(),d=a.mode(),e=this.J("isVertical"),d){case "x":a.$(!0,e);break;case "value":a.$(!1,e);break;case "both":a.$(!0,e),a.$(!1,e)}};
g.clip=function(a){return m(a)?(null===a&&(a=!1),this.ga!=a&&(this.ga=a,this.o(4096,1)),this):this.ga};g.Hm=function(a){this.ob||(this.ob=new FE,O(this.ob,this.dO,this));return m(a)?(this.ob.W(a),this):this.ob};g.dO=function(a){var b=64,c=!1;S(a,8)&&(b|=8,c=!0);this.ea(b,c)};
g.ew=function(a){var b=this.Hm();b.K(b.oa);var c=zw.prototype.I.call(b);m(b.im())&&(c.iconTextSpacing=b.im());m(b.text())&&(c.text=b.text());m(b.fm())&&(c.iconEnabled=b.fm());m(b.jm())&&(c.iconType=b.jm());m(b.hm())&&(c.iconSize=b.hm());m(b.Uh())&&(c.iconFill=b.Uh());m(b.Wh())&&(c.iconStroke=b.Wh());m(b.Vh())&&(c.iconHatchFill=b.Vh());m(b.gm())&&(c.iconMarkerType=b.gm());m(b.Ek())&&(c.iconMarkerFill=b.Ek());m(b.Fk())&&(c.iconMarkerStroke=b.Fk());m(b.disabled())&&(c.disabled=b.disabled());var b=this.J("color"),
d=NE(this);a=c.text||a;B(a)&&(a=mz(nz.Mc(),a));c.text=E(a)?a.call(d,d):this.name();c.disabled="disabled"in c?!!c.disabled:!this.enabled();c.meta=this.R();"marker"!=c.iconType||this.wa(8192)||(c.iconFill=this.u.fill(),c.iconStroke=this.u.stroke());c.iconType=OE(this,c.iconType);c.iconEnabled="iconEnabled"in c?!!c.iconEnabled:!0;c.iconStroke=PE(this,c.iconStroke,2,b);c.iconFill=PE(this,c.iconFill,1,b);c.iconHatchFill=PE(this,c.iconHatchFill,3,hp(this));this.wa(4194304)&&this.pe().enabled()?(c.iconMarkerType=
c.iconMarkerType||this.u.type(),c.iconMarkerFill=c.iconMarkerFill||this.u.fill(),c.iconMarkerStroke=c.iconMarkerStroke||this.u.stroke()):(c.iconMarkerType=null,c.iconMarkerFill=null,c.iconMarkerStroke=null);return c};function OE(a,b){"marker"==b?(a.wa(8192)?b=a.J("type"):a.wa(4194304)?b=a.pe().type():b="square","line"==b&&(b="vline")):E(b)||(b=Jn(b));return b}
function PE(a,b,c,d){if(b)E(b)?(a={sourceColor:d},b=b.call(a,a)):b=So(b);else{if(2==c)b="stroke";else if(3==c){if(a.wa(8))return null;b="hatchFill"}else a.wa(8)?(b="stroke",c=2):b="fill";b=Yo([b],c)(a,fp,!0)}return b}g.qb=function(a){if(!this.Oa){this.Oa=new Sy(0);var b=this.Aa,c=b.qb();this.Oa.parent(c);this.Oa.Aa(b)}return m(a)?(this.Oa.W(a),this):this.Oa};
function QE(a,b,c){if(!a)return RE;var d=ka(b)+"|"+a.join("|")+(c?"|"+c.join("|"):"");c=c||a;var e=JE[d];e||(JE[d]=e=function(d,e,k){k=Math.min(k&(dp|ep),ep);return k!=fp&&1this.j.left+this.j.width)f=e,e=Wa(Cr,f),0<=e&&(f=Cr.length,f=Cr[(f-e)%f]),e=f;if(("leftBottom"==e||"centerBottom"==e||"rightBottom"==e)&&p.topthis.j.top+
this.j.height)p=Wa(Cr,e),0<=p&&(e=Cr.length,e=Cr[(e-p+4)%e]);e=Er(e,a);b.vh(e)}}else BD(r,f||a),r.xl(k,l);n&&r.$();return r};g.labels=function(a){this.N||(this.N=new iA,this.N.ub(this),O(this.N,this.aJ,this));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.N.W(a),this):this.N};g.sh=function(a){this.ib||(this.ib=new iA,this.ib.K(4294967295));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.ib.W(a),this):this.ib};
g.th=function(a){this.vb||(this.vb=new iA,this.vb.K(4294967295));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.vb.W(a),this):this.vb};g.aJ=function(a){S(a,1)&&this.o(256,1025)};g.Sn=function(a,b,c){a.R("label",TE(this,[this.labels,this.sh,this.th],[this.$b().labels,this.$b().Gp,this.$b().Hp],["label","hoverLabel","selectLabel"],this.dx(),!0,null,a,b,c))};
g.pe=function(a){this.u||(this.u=new jA,this.u.ub(this),O(this.u,this.sN,this));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.u.W(a),this):this.u};g.Sg=function(a){this.mb||(this.mb=new jA,this.mb.K(4294967295));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.mb.W(a),this):this.mb};g.Ni=function(a){this.xb||(this.xb=new jA,this.xb.K(4294967295));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.xb.W(a),this):this.xb};g.sN=function(a){S(a,1)&&this.o(128,65)};
g.Iv=function(a,b,c){a.R("marker",TE(this,[this.pe,this.Sg,this.Ni],null,["marker","hoverMarker","selectMarker"],this.ex(),!1,null,a,b,c))};g.Gi=function(a){this.U||(this.U=new jA,this.U.ub(this),O(this.U,this.nO,this));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.U.W(a),this):this.U};g.Io=function(a){this.Gb||(this.Gb=new jA);return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.Gb.W(a),this):this.Gb};
g.Zo=function(a){this.pc||(this.pc=new jA);return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.pc.W(a),this):this.pc};g.nO=function(a){S(a,1)&&this.o(128,1)};g.Ar=function(a,b,c){var d=a.R("outliers");d&&d.length&&TE(this,[this.Gi,this.Io,this.Zo],null,["outlierMarker","hoverOutlierMarker","selectOutlierMarker"],this.gx(),!1,d,a,b,c)};function VE(a,b){return+Ub(a.Xb,function(a){return ab(a,function(a){return a==b})})}g.dx=function(){return!1};g.ex=function(){return!1};g.gx=function(){return!1};
g.WD=function(){return!1};g.ll=function(){return!1};g.remove=function(){this.wa(4)?wE(this.Me,null):this.g&&this.g.remove();this.N&&this.N.Zd()&&(this.N.Zd().remove(),this.N.o(2));this.u&&(this.u.remove(),this.u.o(2));this.U&&(this.U.remove(),this.U.o(2))};g.zg=function(a){this.ba||(this.ba=new Kz(this),H(this,this.ba),O(this.ba,this.bJ,this),this.Aa instanceof eA&&(Iz(this.ba,this.Aa.zg()),Iz(this.ba).ea(2)));return m(a)?(this.ba.W.apply(this.ba,arguments),this):this.ba};
g.bJ=function(){this.o(32,1)};
g.$=function(){if(!this.wb())return this;J(this);m(this.Vb.color)&&Q(this,16768)&&lD(this,this.Vb.color);Q(this,32768)&&(KE(this),this.K(32768));if(Q(this,4)){this.j=this.Na();this.Db=this.G?this.G.ff(this.j):this.j;var a=Math.min(this.j.height,this.j.width);this.Rw=M(this.jf,a);this.GD=M(this.Ze,a);this.o(7168)}Q(this,512)&&(Xz(this),this.hx(),this.o(3104,2049),this.K(512));Q(this,1024)&&this.o(24960);var b=[],a=[],c,d,e,f;Q(this,1026)&&(this.wa(4)?this.g=this.O():(this.g||(this.g=Uh(),zv(this,this.g)),
this.g.zIndex(this.zIndex()),this.g.parent(this.O())),Q(this,1024)&&this.Me.ov(),wE(this.Me,this.g),this.Qe=this.Ir(),this.Oc=this.aD());Q(this,1282)&&(c=this.labels(),f=this.sh().enabled()||this.th().enabled(),SE(this,c,f,this.dx(),tD,256)&&(f=this.zIndex()+this.ey+(this.ll()?1:0),c.De=f,c.o(8),this.wa(tD)&&b.push(this.Sn),a.push(c)),this.K(256));Q(this,1154)&&(c=this.pe(),f=this.Sg().enabled()||this.Ni().enabled(),SE(this,c,f,this.ex(),4194304,128)&&(f=this.zIndex()+1.1E-5+(this.ll()?1:0),c.De=
f,this.wa(4194304)&&b.push(this.Iv),a.push(c)),this.K(128));if(Q(this,9218)){this.bb||(this.bb=[]);if(this.ta)for(;this.ta.length;)c=this.ta.pop(),c.clear(),c.parent(null),this.bb.push(c);else this.ta=[];if((c=DE(this)&&"none"!=this.error().mode())&&!(c=this.WD())){var h=this.error();c=h.Zm();f=h.an();var k=h.cn();d=h.Wm();e=h.Xm();h=h.Ym();d=m(e)||m(h)||ur(d)||!yr(d);c=m(f)||m(k)||ur(c)||!yr(c)||d}c&&b.push(this.$I);this.K(8192)}Q(this,17410)&&(c=this.Gi(),f=this.Io().enabled()||this.Zo().enabled(),
SE(this,c,f,this.gx(),256,16384)&&(f=this.zIndex()+lE,c.De=f,this.wa(256)&&b.push(this.Ar),a.push(c)),this.K(16384));c=b.length;if(Q(this,1024)){if(f=vD(this)){k=vD(this);this.ma.length=0;this.ll()?this.ma.push(this.lN):(this.ma.push(this.mN),tE(this)&&this.ma.push(this.oN));this.wa(2)&&this.ma.push(this.kN);this.Oi()&&this.ma.push(this.iN);tE(this)&&(d=this.ie(),this.Ff=Yd(d&&d.transform(0,.5)||0,0,1),d=CE(this,this.Ff,!1),this.J("isVertical")?(h=this.Db.left,e=h+this.Db.width):(h=this.Db.top,e=
h+this.Db.height),this.Ef=Yd(d,h,e));this.qu();h=Xz(this);for(h.reset();h.advance();)for(e=this.Mr(h.La()),this.ED(h,k,f),this.pu(h,e),d=0;dx[n]&&(x[n]=D)}else for(n in u)D=N(R.values[n]),Dx[n]&&(x[n]=D);for(n=0;n<=a.i;n++)D=N(R.f[n]),
DA[n]&&(A[n]=D);R=R.next}if(v)for(n=0;nd)if(d=~d,"exactOrNext"==c)d=d=qF)this.i=-1,this.b.length=0,sF(this,a,b,this.D,!1);else{if(this.f&2){this.i=-1;var c=a.length?a[0]:null;if(c){var d=this.b.length?this.b[0]:null,e=c.key;if(d&&!(d.key>=e)){for(var f=0,h;(h=d.next)&&h.keya.j){d&&(c|=1);if(a.j){for(var c=c|2,e=new wF(a.b,null,!0),f=0,d=e.next();d&&d.i;)f++,d=e.next();hb(a.b,0,f);if(d=a.b[0])d.b=null}xF(a,new wF(null,a.f,b))}else e=new wF(a.b,a.f,b),a.b=[],xF(a,e),c=qF;a.f.length=0;a.g=a.gE;a.i=-1;a.j=0;kF(a);yF(a.u,c,!0)}}g=tF.prototype;
g.remove=function(a,b){for(var c=new wF(this.b,this.f,vF(this),a,b),d;d=c.next();)d.i=!0;this.j=2;this.B||uF(this);return this};function zF(a,b){b=zr(b);for(var c=new wF(a.b,a.f,vF(a)),d=NaN,e;(e=c.next())&&0a.key?(this.g=1==b?this.fE:this.lx,this.f.push(a)):this.f[b-1]=a};g.fE=function(a){var b=this.f.length,c=this.f[b-1];c.key>a.key?this.f.push(a):c.keya?~a:a];c?(this.i=this.EN,this.b=isNaN(d)?0:vb(this.g,fF,d),0>this.b&&(this.b=~this.b)):(this.i=this.GN,this.b=isNaN(d)?this.g.length-1:vb(this.g,gF,d),0>this.b&&(this.b=~this.b-1))}g=wF.prototype;g.Km=function(){return null};
g.EN=function(){var a=this.f,b=this.g[this.b];if(a){if(b){if(0>eF(a,b))return this.f=this.f.next,a;this.b++;return b}this.f=this.f.next;this.i=this.ND;return a}if(b)return this.b++,this.i=this.CN,b;this.next=this.Km;return null};g.GN=function(){var a=this.f,b=this.g[this.b];if(a){if(b){if(0>eF(a,b))return this.f=this.f.next,a;this.b--;return b}this.f=this.f.next;this.i=this.ND;return a}if(b)return this.b--,this.i=this.DN,b;this.next=this.Km;return null};
g.ND=function(){var a=this.f;if(a)return this.f=this.f.next,a;this.next=this.Km;return null};g.CN=function(){var a=this.g[this.b++];if(a)return a;this.next=this.Km;return null};g.DN=function(){var a=this.g[this.b--];if(a)return a;this.next=this.Km;return null};g.AL=function(){var a=this.i();return!a||a.key>this.j?(this.next=this.Km,null):a};g.TN=function(){return this.i()};function AF(a,b){this.i=Rn(a);this.f=b||1;this.b=new Date(0);switch(this.i){case "year":return this.G=this.QH,this.next=this.RN,this;case "semester":return this.G=this.NH,this.next=this.ON,this;case "quarter":return this.G=this.LH,this.next=this.MN,this;case "month":return this.G=this.zt,this.next=this.LN,this;case "thirdofmonth":return this.G=this.OH,this.next=this.PN,this;case "week":return this.G=this.PH,this.next=this.QN,this;default:this.G=this.HH;this.next=this.FN;break;case "hour":this.G=this.IH;
this.next=this.HN;break;case "minute":this.G=this.KH;this.next=this.KN;break;case "second":this.G=this.MH;this.next=this.NN;break;case "millisecond":this.G=this.JH,this.next=this.JN}}g=AF.prototype;g.QH=function(a){this.b.setTime(Date.UTC(Fr(this.b.getUTCFullYear(),this.f,a?a.getUTCFullYear():2E3)-this.f,0))};g.NH=function(a){var b=this.f;this.f*=6;this.zt(a);this.f=b};g.LH=function(a){var b=this.f;this.f*=3;this.zt(a);this.f=b};
g.zt=function(a){var b=Fr(this.b.getUTCMonth()+12*this.b.getUTCFullYear(),this.f,a?a.getUTCMonth()+12*a.getUTCFullYear():24E3)-this.f;a=Math.floor(b/12);b%=12;0>b&&(b+=12);this.b.setTime(Date.UTC(a,b))};g.OH=function(a){a=Fr(BF(this.b),this.f,a?BF(a):72E3)-this.f;var b=Math.floor(a/36);a%=36;var c=Math.floor(a/3);0>c&&(c+=12);a%=3;0>a&&(a+=3);this.b.setTime(Date.UTC(b,c,1+10*a))};g.PH=function(a){CF(this,6048E5*this.f,a||new Date(Date.UTC(2E3,0,2)))};g.HH=function(a){CF(this,864E5*this.f,a)};
g.IH=function(a){CF(this,36E5*this.f,a)};g.KH=function(a){CF(this,6E4*this.f,a)};g.MH=function(a){CF(this,1E3*this.f,a)};g.JH=function(a){CF(this,this.f,a)};function CF(a,b,c){a.b.setTime(Fr(a.b.getTime(),b,c?c.getTime():Date.UTC(2E3,0))-b)}function BF(a){var b=a.getUTCDate();return 3*(12*a.getUTCFullYear()+a.getUTCMonth())+(10>=b?0:20>=b?1:2)}g.RN=function(){this.b.setUTCFullYear(this.b.getUTCFullYear()+this.f);return this.b.getTime()};
g.ON=function(){var a=this.b.getUTCMonth()+6*this.f,b=this.b.getUTCFullYear()+Math.floor(a/12),a=a%12;0>a&&(a+=12);this.b.setUTCFullYear(b);this.b.setUTCMonth(a);return this.b.getTime()};g.MN=function(){var a=this.b.getUTCMonth()+3*this.f,b=this.b.getUTCFullYear()+Math.floor(a/12),a=a%12;0>a&&(a+=12);this.b.setUTCFullYear(b);this.b.setUTCMonth(a);return this.b.getTime()};
g.LN=function(){var a=this.b.getUTCMonth()+this.f,b=this.b.getUTCFullYear()+Math.floor(a/12),a=a%12;0>a&&(a+=12);this.b.setUTCFullYear(b);this.b.setUTCMonth(a);return this.b.getTime()};g.PN=function(){var a,b=this.b.getUTCDate();a=3*(12*this.b.getUTCFullYear()+this.b.getUTCMonth())+(10>=b?0:20>=b?1:2)+this.f;b=Math.floor(a/36);a%=36;var c=Math.floor(a/3);0>c&&(c+=12);a%=3;0>a&&(a+=3);this.b.setTime(Date.UTC(b,c,1+10*a));return this.b.getTime()};
g.QN=function(){var a=this.b.getTime()+6048E5*this.f;this.b.setTime(a);return a};g.FN=function(){var a=this.b.getTime()+864E5*this.f;this.b.setTime(a);return a};g.HN=function(){var a=this.b.getTime()+36E5*this.f;this.b.setTime(a);return a};g.KN=function(){var a=this.b.getTime()+6E4*this.f;this.b.setTime(a);return a};g.NN=function(){var a=this.b.getTime()+1E3*this.f;this.b.setTime(a);return a};g.JN=function(){var a=this.b.getTime()+this.f;this.b.setTime(a);return a};g.Jr=function(){return this.f};function DF(a,b,c,d,e){this.B=a;this.va=d;this.u=new cF(isNaN(b.ZD)?-1:b.ZD,[]);this.u.next=b.rM;this.G=b.rO;this.P=b.lastIndex-b.KC+1||0;this.N=(this.i=e||null)?this.EL:this.GH;this.U=this.i?this.yM:this.EM;this.f=c;this.reset()}g=DF.prototype;g.reset=function(){this.i&&this.i.reset();this.b=this.u;this.j=this.i?this.i.b():this.u.key;this.D=!1;this.g=NaN;this.w=!0;return this};g.advance=function(){return this.N()};g.get=function(a){return this.zm(this.va?EF(this.B,a):FF(this.B,a))};
g.R=function(a,b){var c=this.f[this.La()];c||(c=this.f[this.La()]={});return 1a?this.b.f&&(b=this.b.f[~a]):b=this.b.values[a]);return b};g.Zu=function(){return this.g};g.La=function(){return this.U()};g.gc=function(){return this.P};g.PK=function(){return this.g};g.EM=function(){return this.j};g.yM=function(){return this.i.b()};
g.GH=function(){if(this.b){this.j++;if((this.b=this.b.next)&&this.b!=this.G)return this.D=!0,this.g=this.b.key,!0;this.b=null;this.D=!1;this.j=this.g=NaN}return!1};g.EL=function(){if(this.i.advance())return this.w&&(this.b=this.b.next),(this.w=!(!this.b||this.b.key!=this.i.f()||this.b==this.G))?(this.D=!0,this.g=this.b.key):(this.D=!1,this.g=this.i.f()),!0;this.b=null;this.g=NaN;return this.D=!1};var GF=DF.prototype;GF.reset=GF.reset;GF.advance=GF.advance;GF.get=GF.get;GF.getKey=GF.PK;
GF.getIndex=GF.La;GF.meta=GF.R;function HF(a){this.i=a;this.b=rF(a.b);this.g=!0;this.f=pF(this.b);this.j=!1;this.D=[];IF(this)}function IF(a){for(var b=a.b.gc();a.D.lengthb&&(d=a,a=b,b=d);d=rF(this.i.b,c);if(this.j||d!=this.b||this.f.ZE!=a||this.f.JC!=b)this.j=!1,this.b=d,this.g=!c,this.f=d.select(a,b),IF(this);return this};HF.prototype.w=function(a,b){var c=m(a)?new AF(a,N(b)):void 0,d=rF(this.i.b,c);this.b=d;this.g=!c;this.f=pF(d);IF(this);return this};HF.prototype.Qa=function(){return new DF(this.i,this.f,this.D,!this.g,null)};
function JF(a,b,c,d,e){this.Hc=a;this.b=b;this.g=c;this.D=d;this.f=e}g=JF.prototype;g.get=function(a){return this.zm(this.g?EF(this.b,a):FF(this.b,a))};g.zm=function(a){var b;C(a)&&0>a?this.Hc.f&&(b=this.Hc.f[~a]):b=this.Hc.values[a];return b};g.La=function(){return this.D};g.Zu=function(){return this.Hc.key};g.R=function(a,b){return 1e)this.f[a]={VE:e,qE:e};else if(B(e)||!isNaN(e)){if((b=z(c))&&!E(c)&&!("reset"in c&&"considerItem"in c&&"getResult"in c))return this;var f=b?c:ao(m(c)?c:a);b=d;"weightedAverage"==f&&(C(d)?b=Math.round(d):B(d)?(b=this.b.g[d]||NaN,isNaN(b)&&(b=d)):b=NaN,C(b)&&isNaN(b)&&(f="average"));J(this.b);d=this.b;c=e;var h=b;b=OF(f,c,h);b in d.w?b=d.w[b]:(c=PF(f,c,h),d.w[b]=
b=d.j.length,d.j.push(c),yF(d,4,!1));this.f[a]={VE:e,qE:b};this.b.fa(!0)}return this};function EF(a,b){return b in a.f?a.f[b].qE:NaN}function FF(a,b){return b in a.f?a.f[b].VE:NaN}var QF=NF.prototype;QF.addField=QF.i;QF.createSelectable=QF.g;function RF(a,b){Fb.call(this);this.g=a;this.D=m(b)?b:NaN;this.clear()}G(RF,Fb);RF.prototype.clear=function(){this.value=void 0};RF.prototype.f=function(){var a=this.value;this.clear();return a};RF.prototype.da=function(){delete this.value;RF.F.da.call(this)};function SF(a){RF.call(this,a)}G(SF,RF);SF.prototype.clear=function(){this.value=this.i=0};SF.prototype.b=function(a){a=N(a);isNaN(a)||(this.value+=a,this.i++)};SF.prototype.f=function(){var a=this.i?this.value/this.i:NaN;this.clear();return a};function TF(a,b){this.i=b;RF.call(this,a)}G(TF,RF);TF.prototype.clear=function(){this.i.reset()};TF.prototype.b=function(a,b,c){this.i.considerItem(a,c)};TF.prototype.f=function(){var a=this.i.getResult();this.clear();return a};TF.prototype.da=function(){delete this.i;TF.F.da.call(this)};function UF(a,b,c){this.j=b;this.i=c;RF.call(this,a)}G(UF,RF);UF.prototype.clear=function(){this.value=[];this.u=[]};UF.prototype.b=function(a,b,c){this.value.push(a);this.u.push(c)};UF.prototype.f=function(){var a=this.j.call(this.i,this.value,this.u);this.clear();return a};UF.prototype.da=function(){delete this.j;delete this.i;UF.F.da.call(this)};function VF(a){RF.call(this,a)}G(VF,RF);VF.prototype.clear=function(){this.value=NaN};VF.prototype.b=function(a){isNaN(this.value)&&(this.value=N(a))};function WF(a){RF.call(this,a)}G(WF,RF);WF.prototype.b=function(a){m(this.value)||(this.value=a)};function XF(a){RF.call(this,a)}G(XF,RF);XF.prototype.clear=function(){this.value=NaN};XF.prototype.b=function(a){a=N(a);isNaN(a)||(this.value=a)};function YF(a){RF.call(this,a)}G(YF,RF);YF.prototype.b=function(a){m(a)&&(this.value=a)};function ZF(a){RF.call(this,a)}G(ZF,RF);ZF.prototype.clear=function(){this.value=[]};ZF.prototype.b=function(a){m(a)&&this.value.push(a)};function $F(a){RF.call(this,a)}G($F,RF);$F.prototype.clear=function(){this.value=NaN};$F.prototype.b=function(a){a=N(a);isNaN(a)||this.value>=a||(this.value=a)};function aG(a){RF.call(this,a)}G(aG,RF);aG.prototype.clear=function(){this.value=NaN};aG.prototype.b=function(a){a=N(a);isNaN(a)||this.value<=a||(this.value=a)};function bG(a){RF.call(this,a)}G(bG,RF);bG.prototype.clear=function(){this.value=0};bG.prototype.b=function(a){a=N(a);isNaN(a)||(this.value+=a)};function cG(a,b){RF.call(this,a,b)}G(cG,RF);cG.prototype.clear=function(){this.value=this.i=0};cG.prototype.b=function(a,b){a=N(a);b=N(b)||0;isNaN(a)||(this.value+=a*b,this.i+=b)};cG.prototype.f=function(){var a=this.i?this.value/this.i:NaN;this.clear();return a};function PF(a,b,c){if(E(a))return new UF(b,a,c);if(z(a))return new TF(b,a);switch(a){case "average":return new SF(b);case "first":return new VF(b);case "firstValue":return new WF(b);case "lastValue":return new YF(b);case "list":return new ZF(b);case "max":return new $F(b);case "min":return new aG(b);case "sum":return new bG(b);case "weightedAverage":return new cG(b,c);default:case "last":return new XF(b)}}
function OF(a,b,c){C(b)&&(b=b.toFixed(0));if(z(a))return ka(a)+"|"+b+"|"+Zq(c);switch(a){case "average":return"a"+b;case "first":return"f"+b;case "firstValue":return"o"+b;case "lastValue":return"c"+b;case "list":return"g"+b;case "max":return"x"+b;case "min":return"n"+b;case "sum":return"s"+b;case "weightedAverage":return C(c)&&(c=c.toFixed(0)),"w"+b+":"+String(c);default:case "last":return"l"+b}};function dG(a,b,c,d,e){fd.call(this);this.i=new tF(this,a,b,c,d,e);this.b={};this.w={};this.g={};this.B=0;this.D=[];this.j=[];this.f=[];this.u=[]}G(dG,Yu);g=dG.prototype;g.la=16;
g.RK=function(a,b,c){var d=this.i,e=!d.B;e&&(d.B&&lo(101),d.B=!0);if(B(a)){var f=new hF(d),h=new Pp;z(c)&&(h.Xo(c.rowsSeparator),h.ko(c.columnsSeparator),h.Lo(c.ignoreTrailingSpaces),h.Jo(c.ignoreFirstRow));h.co(a,f);!0===b&&(b=f.Jr())}else if(q(a)){for(f=c=0;fk){var p=~k;gb(d,n,p);(k=this.bo("id",n))?(k=k instanceof kG?k:k[0],gb(e,k,p),k.R("nc",!0),lo(1,null,[n])):gb(e,l,p)}else lo(2,null,[n])}for(b=0;bk?((k=this.bo("id",l))?(k=k instanceof kG?k:k[0],uG(k,h)):(this.i.push(h),lo(3,null,[l])),vG(this,h)):(k=e[k],uG(k,h),k.R("nc")&&vG(this,h))):(this.i.push(h),vG(this,h));f.length&&this.ea(16);
this.fa(!0);break;default:J(this);b=0;for(d=a.length;ba?gb(d,e,~a):(a=d[a],q(a.value)?(a=a.value,fb(a,b)||a.push(b)):a.value!=b&&(a.value=[a.value],a.value.push(b)))}else for(e in a.f)wG(a,b,e,d)}
function xG(a,b,c,d){if(c){if(d)for(var e=b.lb();e--;)xG(a,b.Gg(e),c,d);if(d=a.f[c])e={key:b.get(c)},a.D[c]&&(e.key=""+e.key),e=rb(d,e,a.jr),(d=d[e])&&(q(d.value)&&1k||b=d)return[];a=new fC(a);c=[];if(1==b)for(b=0;bf?(gb(d,e,-(f+1)),d=!0):d=!1;b=d||b}b&&this.o(1024,5);return b};
g.pD=function(a){if(!this.P)return!1;q(a)||(a=[a]);for(var b=!1,c=0;c=this.b.KC&&a<=this.b.lastIndex};function EG(a,b){var c;return a.b?a.b.lP?(c=a.b.lP[Zq(b)],isNaN(c)?-1:c):a.b.data.length?(c=vb(a.b.data,function(a){return b-a.data.x}),0>c&&(c=~c,0b-a.b.data[c-1].data.x&&c--)),c):-1:a.Ec.KA("x",b)}
g.rj=function(a){var b=this.Qa();this.wa(512)&&this.Me.eh(a,b.R("shapes"));this.Oi()&&this.Ar(b,a,!0);this.Wb.qp(b,a);this.wa(4194304)&&this.Iv(b,a,!0);this.wa(tD)&&this.Sn(b,a,!0)};g.so=ea;function Sz(a,b){var c=a.Qa();a.Me.eh(b,c.R("shapes"));a.Wb.qp(c,b);a.Oi()&&a.Ar(c,b,!0)}g.Pc=function(a){return m(a)?(a=null===a?null:rn(a),a!=this.ye&&(this.ye=a),this):this.ye};g.Ac=function(a){return m(a)?this:this.Aa.hd().Ac()};g.Xk=function(a){m(a)?this.Tr(a):XC(this);return this};
g.ee=function(a){if(!Tz(this.state,dp)&&!dA(this.state.Pg(),dp)||!this.enabled())return this;var b;m(a)?b=a:b=this.state.f==fp?NaN:void 0;aA(this.state,dp,b);return this};g.Tr=function(a){if(!this.enabled())return this;if(q(a)){for(var b=bA(this.state,dp),c=0;cc&&(c=NaN);a.pointIndex=c}return a};g.ue=function(a){(a=this.Vg(a))&&this.dispatchEvent(a)};
g.Vg=function(a){var b=a.type;switch(b){case "mouseout":b="pointmouseout";break;case "mouseover":b="pointmouseover";break;case "mousemove":b="pointmousemove";break;case "mousedown":b="pointmousedown";break;case "mouseup":b="pointmouseup";break;case "click":case "touchstart":b="pointclick";break;case "dblclick":b="pointdblclick";break;default:return null}var c;a.target!=this.Gi()||isNaN(a.markerIndex)?"pointIndex"in a?c=a.pointIndex:"labelIndex"in a?c=a.labelIndex:"markerIndex"in a&&(c=a.markerIndex):
c=VE(this,a.markerIndex);c=N(c);a.pointIndex=c;var d=ME(this);d.select(c)||d.reset();return{type:b,actualTarget:a.target,series:this,iterator:d,pointIndex:c,target:this,originalEvent:a,point:this.yf(c)}};
g.yf=function(a){var b;this.wa(2)?b=new hE(this,a):b=new fE(this,a);var c=this.Aa;c.gd();var d=this.wa(81920),e=d?b.get("high")-b.get("low"):b.get("value");b.Ra("index",a);m(e)&&b.Ra("value",e);var f=b.get("size"),h;C(c.Ra("dataPlotXSum"))&&(h=e/c.Ra("dataPlotXSum"),b.Ra("xPercentOfTotal",100*h));C(this.Ra("seriesXSum"))&&(h=e/this.Ra("seriesXSum"),b.Ra("xPercentOfSeries",100*h));C(this.Ra("seriesBubbleSizeSum"))&&(h=f/this.Ra("seriesBubbleSizeSum"),b.Ra("bubbleSizePercentOfSeries",100*h),h=f/c.Ra("dataPlotBubbleSizeSum"),
b.Ra("bubbleSizePercentOfTotal",100*h),b.Ra("bubbleSize",f));h=d?this.Ra("catYRangeSumArr_"):this.Ra("catYSumArr_");f=b.get("x");h?(b.Ra("categoryName",f),f=h[a],d?(h=e/this.Ra("seriesYRangeSum"),b.Ra("yPercentOfSeries",100*h),h=e/c.Ra("dataPlotYSum"),b.Ra("yPercentOfTotal",100*h),b.Ra("yPercentOfCategory",e/f*100),h=f/c.Ra("dataPlotYSum"),b.Ra("categoryYRangePercentOfTotal",100*h),b.Ra("categoryYRangeSum",f),b.Ra("categoryYRangeMax",this.Ra("catYRangeMaxArr_")[a]),b.Ra("categoryYRangeMin",this.Ra("catYRangeMinArr_")[a]),
b.Ra("categoryYRangeAverage",this.Ra("catYRangeAvgArr_")[a]),b.Ra("categoryYRangeMedian",this.Ra("catYRangeMedianArr_")[a]),b.Ra("categoryYRangeMode",this.Ra("catYRangeModeArr_")[a])):(h=e/this.Ra("seriesYSum"),b.Ra("yPercentOfSeries",100*h),h=e/c.Ra("dataPlotYSum"),b.Ra("yPercentOfTotal",100*h),b.Ra("yPercentOfCategory",e/f*100),h=f/c.Ra("dataPlotYSum"),b.Ra("categoryYPercentOfTotal",100*h),b.Ra("categoryYSum",f),b.Ra("categoryYMax",this.Ra("catYMaxArr_")[a]),b.Ra("categoryYMin",this.Ra("catYMinArr_")[a]),
b.Ra("categoryYAverage",this.Ra("catYAvgArr_")[a]),b.Ra("categoryYMedian",this.Ra("catYMedianArr_")[a]),b.Ra("categoryYMode",this.Ra("catYModeArr_")[a]))):(h=f/this.Ra("seriesXSum"),b.Ra("xPercentOfSeries",100*h),h=e/this.Ra("seriesYSum"),b.Ra("yPercentOfSeries",100*h),h=f/c.Ra("dataPlotXSum"),b.Ra("xPercentOfTotal",100*h),h=e/c.Ra("dataPlotYSum"),b.Ra("yPercentOfTotal",100*h));return b};
g.I=function(){var a=DG.F.I.call(this);if(this.b){for(var b=[],c=this.data(),d=new aF(this);d.advance();){var e=d.R("rawIndex");isNaN(e)?b.push({x:d.get("x")}):b.push(iC(c,e))}a.data=b}else a.data=this.data().I();m(this.Pc())&&(a.selectionMode=this.Pc());return a};g.aa=function(a,b){DG.F.aa.call(this,a,b);"data"in a&&this.data(a.data||null);this.Pc(a.selectionMode)};g.da=function(){Ib(this.ec);delete this.Ec;this.w=this.b=this.state=this.md=this.ec=null;DG.F.da.call(this)};var FG=DG.prototype;
FG.data=FG.data;FG.xScale=FG.Rc;FG.hover=FG.Xk;FG.unhover=FG.ee;FG.select=FG.select;FG.unselect=FG.hf;FG.selectionMode=FG.Pc;FG.getPoint=FG.yf;FG.excludePoint=FG.oM;FG.includePoint=FG.pD;FG.keepOnlyPoints=FG.fN;FG.includeAllPoints=FG.bN;FG.getExcludedPoints=FG.CM;function GG(a){U.call(this);this.bb=this.ra=!1;this.ba=this.ob=this.G=this.U=this.P=this.b=this.f=this.g=null;this.B=0;this.u=HG;this.j=new K(0,0,0,0);this.i=new K(0,0,0,0);this.ga=this.Y=this.ka=null;this.Ma=0;this.ib=this.vb=this.mb=!1;this.Ea=this.ma=null;this.w="bottom";this.N=!0;this.xb=!!a}G(GG,U);var HG=1E6;g=GG.prototype;g.la=U.prototype.la;g.oa=U.prototype.oa|464;g.Zh=function(a){return m(a)?(a=!!a,this.ra!=a&&(this.ra=a,this.o(256,9)),this):this.ra};
g.Qj=function(a){this.ma||(this.ma=new IG(this));return m(a)?(this.ma.$a(!1,a),this):this.ma};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Fe.apply(null,arguments);this.Oa!=k&&(this.Oa=k,this.o(16,1));return this}return this.Oa};g.yx=function(a,b,c,d,e,f,h){if(m(a)){var k=Fe.apply(null,arguments);this.Va!=k&&(this.Va=k,this.o(16,1));return this}return this.Va};g.ax=function(a,b,c,d,e){if(m(a)){var f=Oe.apply(null,arguments);f!=this.Ua&&(this.Ua=f,this.o(16,1));return this}return this.Ua};
g.height=function(a){return m(a)?(a=wr(a)||this.Za,a!=this.Za&&(this.Za=a,this.o(4,9)),this):this.Za};g.Uu=function(a){return m(a)?(a=xr(a),a!==this.ta&&(this.ta=a,this.o(4,9)),this):this.ta};g.Tu=function(a){return m(a)?(a=xr(a),a!==this.yc&&(this.yc=a,this.o(4,9)),this):this.yc};g.Wn=function(a,b,c,d){this.Ea||(this.Ea=new Fw,O(this.Ea,this.IJ,this));return m(a)?(this.Ea.W.apply(this.Ea,arguments),this):this.Ea};g.IJ=function(a){S(a,2)&&this.o(4,9)};
g.Vu=function(a){return m(a)?(a=zn(a),this.w!=a&&(this.w=a,this.o(196,9)),this):this.w};function JG(a){return"bottom"==a.w||"top"==a.w}function KG(a){return JG(a)?"ew-resize":"ns-resize"}g.remove=function(){this.g&&this.g.remove()};function LG(a){return a.enabled()&&(!a.ra||a.N||!!a.B||a.u!=HG)}
g.$=function(){if(!this.wb())return this;this.K(256);if(!LG(this))return this.remove(),this.o(2),this;if(hv(this))return this;this.g||(this.g=Uh(),this.f=ph(),this.f.zIndex(100),this.b=ph(),this.b.zIndex(100),this.U=this.g.rect(),this.U.zIndex(1),this.ob=lh(),this.U.clip(this.ob),this.G=this.g.rect(),this.G.zIndex(50),this.ba=lh(),this.G.clip(this.ba),this.P=this.g.Ba(),this.P.zIndex(99),zv(this,this.g,this.HJ,this.yN),this.D.qa(this.f,"mouseover",this.cF),this.D.qa(this.f,"mouseout",this.bF),this.D.oc(this.f,
"mousedown",this.Um),this.D.oc(this.f,"touchstart",this.Um),this.D.qa(this.b,"mouseover",this.cF),this.D.qa(this.b,"mouseout",this.bF),this.D.oc(this.b,"mousedown",this.Um),this.D.oc(this.b,"touchstart",this.Um),this.D.oc(this.G,"mousedown",this.Um),this.D.oc(this.G,"touchstart",this.Um),this.D.qa(this.U,"click",this.UN));Q(this,2)&&(this.g.parent(this.O()),this.K(2));Q(this,8)&&(this.g.zIndex(this.zIndex()),this.K(8));Q(this,128)&&(this.f.cursor(KG(this)),this.b.cursor(KG(this)),this.G.cursor(KG(this)),
this.o(84),this.K(128));Q(this,4)&&(MG(this),this.K(4));if(Q(this,64)){var a=(Math.max(Te(this.Ua),5)-1)/2;if(JG(this)){var b=this.j.top;if(this.Qj().enabled())a=b+this.j.height/2,this.f.clear().moveTo(-4,a-6).lineTo(-2,a-8).lineTo(2,a-8).lineTo(4,a-6).lineTo(4,a+6).lineTo(2,a+8).lineTo(-2,a+8).lineTo(-4,a+6).close().moveTo(-1,a-5).lineTo(-1,a+5).moveTo(1,a-5).lineTo(1,a+5),this.b.clear().moveTo(-4,a-6).lineTo(-2,a-8).lineTo(2,a-8).lineTo(4,a-6).lineTo(4,a+6).lineTo(2,a+8).lineTo(-2,a+8).lineTo(-4,
a+6).close().moveTo(-1,a-5).lineTo(-1,a+5).moveTo(1,a-5).lineTo(1,a+5);else{var c=b+this.j.height;this.f.clear().moveTo(-a,b).lineTo(a,b).lineTo(a,c).lineTo(-a,c).close();this.b.clear().moveTo(-a,b).lineTo(a,b).lineTo(a,c).lineTo(-a,c).close()}}else b=this.j.left,this.Qj().enabled()?(a=b+this.j.width/2,this.f.clear().moveTo(a-6,-4).lineTo(a-8,-2).lineTo(a-8,2).lineTo(a-6,4).lineTo(a+6,4).lineTo(a+8,2).lineTo(a+8,-2).lineTo(a+6,-4).close().moveTo(a-5,-1).lineTo(a+5,-1).moveTo(a-5,1).lineTo(a+5,1),
this.b.clear().moveTo(a-6,-4).lineTo(a-8,-2).lineTo(a-8,2).lineTo(a-6,4).lineTo(a+6,4).lineTo(a+8,2).lineTo(a+8,-2).lineTo(a+6,-4).close().moveTo(a-5,-1).lineTo(a+5,-1).moveTo(a-5,1).lineTo(a+5,1)):(c=b+this.j.height,this.f.clear().moveTo(b,-a).lineTo(b,a).lineTo(c,a).lineTo(c,-a).close(),this.b.clear().moveTo(b,-a).lineTo(b,a).lineTo(c,a).lineTo(c,-a).close());this.o(16);this.K(64)}if(Q(this,16)){this.U.de(this.j);this.G.de(this.j);this.ob.$e(this.j);this.U.fill("none"==this.Oa?Ko:this.Oa).stroke(null);
this.G.fill("none"==this.Va?Ko:this.Va).stroke(null);this.P.stroke(this.Ua).fill(null);NG(this,this.f,this.vb);NG(this,this.b,this.ib);switch(this.w){case "top":var a=this.j,c=a.left+this.B/HG*a.width,d=a.left+this.u/HG*a.width;this.f.Xa(1,0,0,1,c,0);this.b.Xa(1,0,0,1,d,0);b=Math.min(c,d);c=Math.max(c,d);this.ba.$e(b,a.top,c-b,a.height);this.P.clear().moveTo(a.left,a.top+a.height).lineTo(b,a.top+a.height).lineTo(b,a.top).lineTo(c,a.top).lineTo(c,a.top+a.height).lineTo(a.left+a.width,a.top+a.height);
break;case "right":a=this.j;b=this.B;c=this.u;b=HG-b;c=HG-c;b=a.top+b/HG*a.height;d=a.top+c/HG*a.height;this.f.Xa(1,0,0,1,0,b);this.b.Xa(1,0,0,1,0,d);c=Math.min(b,d);b=Math.max(b,d);this.ba.$e(a.left,c,a.width,b-c);this.P.clear().moveTo(a.left,a.top).lineTo(a.left,c).lineTo(a.left+a.width,c).lineTo(a.left+a.width,b).lineTo(a.left,b).lineTo(a.left,a.top+a.height);break;case "bottom":a=this.j;c=a.left+this.B/HG*a.width;d=a.left+this.u/HG*a.width;this.f.Xa(1,0,0,1,c,0);this.b.Xa(1,0,0,1,d,0);b=Math.min(c,
d);c=Math.max(c,d);this.ba.$e(b,a.top,c-b,a.height);this.P.clear().moveTo(a.left,a.top).lineTo(b,a.top).lineTo(b,a.top+a.height).lineTo(c,a.top+a.height).lineTo(c,a.top).lineTo(a.left+a.width,a.top);break;case "left":a=this.j,c=a.top+this.B/HG*a.height,d=a.top+this.u/HG*a.height,this.f.Xa(1,0,0,1,0,c),this.b.Xa(1,0,0,1,0,d),b=Math.min(c,d),c=Math.max(c,d),this.ba.$e(a.left,b,a.width,c-b),this.P.clear().moveTo(a.left+a.width,a.top).lineTo(a.left+a.width,b).lineTo(a.left,b).lineTo(a.left,c).lineTo(a.left+
a.width,c).lineTo(a.left+a.width,a.top+a.height)}this.Qj().Zh()||OG(this);this.K(16)}return this};function PG(a,b,c){b=QG(b);c=QG(c);if(b>c){var d=b;b=c;c=d}if(b!=a.B||c!=a.u)a.B=b,a.u=c,a.o(16,1)}g.At=function(a){return m(a)?(this.N=!!a,this):this.N};g.lc=function(){var a=this.ia(),a=a?a.clone():jq(0,0,0,0);LG(this)&&(Q(this,4)&&(MG(this),this.K(4)),JG(this)?(a.height-=this.i.height,"top"==this.w&&(a.top+=this.i.height)):(a.width-=this.i.width,"left"==this.w&&(a.left+=this.i.width)));return a};
function MG(a){var b=a.ia(),c=JG(a)?b.height:b.width,d=M(a.Za,c);null===a.ta||(d=Math.max(d,M(a.ta,c)));null===a.yc||(d=Math.min(d,M(a.yc,c)));d=JG(a)?a.Wn().fe(d):a.Wn().he(d);a.i.left=b.left;a.i.top=b.top;JG(a)?(a.i.width=b.width,a.i.height=d,"bottom"==a.w&&(a.i.top+=b.height-d)):(a.i.width=d,a.i.height=b.height,"right"==a.w&&(a.i.left+=b.width-d));var e;a.xb||JG(a)?a.j=a.Wn().ff(a.i):(e=a.Wn(),"left"==a.w?(c=M(e.J("left"),a.i.width),b=M(e.J("top"),a.i.height),d=M(e.J("right"),a.i.width),e=M(e.J("bottom"),
a.i.height)):(c=M(e.J("right"),a.i.width),b=M(e.J("bottom"),a.i.height),d=M(e.J("left"),a.i.width),e=M(e.J("top"),a.i.height)),a.j.left=a.i.left+e,a.j.top=a.i.top+c,a.j.width=a.i.width-e-b,a.j.height=a.i.height-c-d);a.o(80)}g.HJ=function(a){a.i();!tr(this.g,a.relatedTarget)&&this.qd(a)&&(this.mb=!0,OG(this))};g.yN=function(a){a.i();!tr(this.g,a.relatedTarget)&&this.qd(a)&&(this.mb=!1,RG(this))};
g.cF=function(a){a=a.target;a instanceof Ah&&(a==this.f?NG(this,this.f,this.vb=!0):a==this.b&&NG(this,this.b,this.ib=!0))};g.bF=function(a){a=a.target;a instanceof Ah&&(a==this.f?NG(this,this.f,this.vb=!1):a==this.b&&NG(this,this.b,this.ib=!1))};
g.Um=function(a){if(a.b instanceof Tg){var b=a.b,c;b!=this.f||this.ka?b!=this.b||this.Y?b!=this.G||this.ga||(this.ga=c=new SG(this,this.G,!1)):this.Y=c=new SG(this,this.b,!0):this.ka=c=new SG(this,this.f,!0);c&&(this.D.qa(c,"start",this.GJ),this.D.qa(c,"end",this.FJ),c.Cf(a.nf))}};g.UN=function(a){var b=Ll(this.g.ja());a=JG(this)?a.clientX-b.x:a.clientY-b.y;TG(this,"backgroundClick","scrollerchangestart")&&(UG(this,!1,a),TG(this,"backgroundClick","scrollerchangefinish"))};
g.GJ=function(a){var b;this.N&&a.g!=this.ga?(a=KG(this),b="thumbDrag"):(a=KG(this),b="selectedRangeDrag");if(b=TG(this,b,"scrollerchangestart"))this.Ma++,this.f.cursor(null),this.b.cursor(null),this.G.cursor(null),vg(document.body,"cursor",a);return b};g.FJ=function(a){this.Ma=Math.max(this.Ma-1,0);RG(this);this.f.cursor(KG(this));this.b.cursor(KG(this));this.G.cursor(KG(this));vg(document.body,"cursor","");TG(this,this.N&&a.g!=this.ga?"thumbDrag":"selectedRangeDrag","scrollerchangefinish")};
function OG(a){a.bb||(a.g.Rb(a.f),a.g.Rb(a.b),a.bb=!0)}function RG(a){a.bb&&a.Qj().Zh()&&!a.Ma&&!a.mb&&(a.g.removeChild(a.f),a.g.removeChild(a.b),a.bb=!1)}function NG(a,b,c){a=a.Qj();a.enabled()?c?(c=a.Sr(),a=a.Ur()):(c=a.fill(),a=a.stroke()):(c=Ko,a="none");b.fill(c);b.stroke(a)}function QG(a){return Yd(Math.round(a*HG),0,HG)}function TG(a,b,c,d,e){return a.dispatchEvent({type:c,startRatio:(m(d)?d:a.B)/HG,endRatio:(m(e)?e:a.u)/HG,source:b})}
function UG(a,b,c){c=VG(a,b,c);var d=a.j;switch(a.w){case "right":d=(d.top+d.height-c)/d.height;break;case "left":d=(c-d.top)/d.height;break;default:d=(c-d.left)/d.width}if(a.N&&b==a.f)c=d,d=a.u/HG,b="thumbDrag";else if(a.N&&b==a.b)c=a.B/HG,b="thumbDrag";else{var e=(a.u-a.B)/HG/2;c=d-e;d+=e;b=!0===b?"selectedRangeDrag":"backgroundClick"}c=QG(c);d=QG(d);c==d&&(d+=dd&&(e=a.f,a.f=a.b,a.b=e,e=a.ka,a.ka=a.Y,a.Y=e,e=c,c=d,d=e);c==a.B&&d==a.u||!TG(a,b,"scrollerchange",c,d)||(a.B=c,a.u=d,a.o(16,
1))}function VG(a,b,c){var d=a.j,e=JG(a);a=ja(b)||!a.N?(a.u-a.B)/HG*(e?d.width:d.height)/2:0;return e?Yd(c,d.left+a,d.left+d.width-a):Yd(c,d.top+a,d.top+d.height-a)}function WG(a,b){var c;c=a.N&&b==a.f?a.B:a.N&&b==a.b?a.u:(a.B+a.u)/2;c/=HG;var d=a.j;return JG(a)?d.left+d.width*c:"left"==a.w?d.top+d.height*c:d.top+d.height*(1-c)}
g.da=function(){Ib(this.g);this.G=this.U=this.P=this.b=this.f=this.g=null;Ib(this.ka);this.ka=null;Ib(this.Y);this.Y=null;Ib(this.ga);this.ga=null;Ib(this.ma);this.ma=null;Ib(this.Ea);this.Ea=null;GG.F.da.call(this)};g.I=function(){var a=GG.F.I.call(this);a.fill=this.fill();a.selectedFill=this.yx();a.outlineStroke=this.ax();a.height=this.height();a.minHeight=this.Uu();a.maxHeight=this.Tu();a.orientation=this.Vu();a.autoHide=this.Zh();a.allowRangeChange=this.At();a.thumbs=this.Qj().I();return a};
g.aa=function(a,b){GG.F.aa.call(this,a,b);this.Vu(a.orientation);this.Zh(a.autoHide);this.At(a.allowRangeChange);this.fill(a.fill);this.yx(a.selectedFill);this.ax(a.outlineStroke);this.height(a.height);this.Uu(a.minHeight);this.Tu(a.maxHeight);this.Qj().$a(!!b,a.thumbs)};function SG(a,b,c){Mg.call(this,b.X());this.f=a;this.w=c?b:null;this.g=void 0;this.va=pa(function(){this.g=void 0;UG(this.f,this.w||!0,this.Y)},this);this.G=Math.pow(3,2);this.qa("end",this.EJ)}G(SG,Mg);g=SG.prototype;
g.EJ=function(){m(this.g)&&(window.cancelAnimationFrame(this.g),this.va(0))};g.uj=function(){JG(this.f)?(this.b=WG(this.f,this.w),this.deltaY=0):(this.b=0,this.deltaY=WG(this.f,this.w))};g.Sk=function(a,b){this.Y=JG(this.f)?a:b;m(this.g)||(this.g=window.requestAnimationFrame(this.va))};g.Oo=function(a){return JG(this.f)?VG(this.f,this.w,a):0};g.gl=function(a){return JG(this.f)?0:VG(this.f,this.w,a)};function IG(a){this.b=a}g=IG.prototype;
g.enabled=function(a){return m(a)?(a=!!a,this.i!=a&&(this.i=a,this.b.o(16,1)),this):this.i};g.Zh=function(a){return m(a)?(a=!!a,this.f!=a&&(this.f=a,this.b.o(16,1)),this):this.f};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Fe.apply(null,arguments);this.g!=k&&(this.g=k,this.b.o(16,1));return this}return this.g};g.stroke=function(a,b,c,d,e){if(m(a)){var f=Oe.apply(null,arguments);f!=this.u&&(this.u=f,this.b.o(16,1));return this}return this.u};
g.Sr=function(a,b,c,d,e,f,h){if(m(a)){var k=Fe.apply(null,arguments);this.D!=k&&(this.D=k,this.b.o(16,1));return this}return this.D};g.Ur=function(a,b,c,d,e){if(m(a)){var f=Oe.apply(null,arguments);f!=this.j&&(this.j=f,this.b.o(16,1));return this}return this.j};g.I=function(){var a={};a.fill=So(this.fill());a.stroke=So(this.stroke());a.hoverFill=So(this.Sr());a.hoverStroke=So(this.Ur());a.enabled=this.enabled();a.autoHide=this.Zh();return a};
g.$a=function(a,b){if(m(b)){var c;ja(b)||null===b?(this.enabled(!!b),c=!0):c=!1;!c&&z(b)&&(this.enabled("enabled"in b?!!b.enabled:!0),this.fill(b.fill),this.stroke(b.stroke),this.Sr(b.hoverFill),this.Ur(b.hoverStroke),this.Zh(b.autoHide))}return this};var XG=GG.prototype;XG.fill=XG.fill;XG.selectedFill=XG.yx;XG.outlineStroke=XG.ax;XG.height=XG.height;XG.minHeight=XG.Uu;XG.maxHeight=XG.Tu;XG.thumbs=XG.Qj;XG.orientation=XG.Vu;XG.allowRangeChange=XG.At;XG.autoHide=XG.Zh;XG=IG.prototype;XG.enabled=XG.enabled;
XG.autoHide=XG.Zh;XG.fill=XG.fill;XG.stroke=XG.stroke;XG.hoverFill=XG.Sr;XG.hoverStroke=XG.Ur;function YG(){MD.call(this)}G(YG,MD);YG.prototype.Mz=function(a,b){var c=this.ia()||jq(0,0,0,0),d=Math.round(c.pa()-a*c.height);1==a?d-=b:d+=b;var e=c.Sa()+this.ib,f=d-this.mb;this.b.moveTo(c.Sa(),d).lineTo(e,f).lineTo(c.sa()+this.ib,f)};YG.prototype.Nz=function(a,b){var c=this.ia()||jq(0,0,0,0),d=Math.round(c.Sa()+a*c.width);1==a?d+=b:d-=b;var e=d+this.ib,f=c.pa()-this.mb;this.b.moveTo(d,c.pa()).lineTo(e,f).lineTo(e,c.Ya()-this.mb)};
YG.prototype.Kz=function(a,b,c,d,e){if(!isNaN(b)){c=this.ia()||jq(0,0,0,0);var f,h;f=Math.round(c.pa()-b*c.height);h=Math.round(c.pa()-a*c.height);1==a?h-=e:h+=e;1==b?f-=e:f+=e;d.moveTo(c.Sa(),f).lineTo(c.Sa()+this.ib,f-this.mb).lineTo(c.sa()+this.ib,f-this.mb).lineTo(c.sa()+this.ib,h-this.mb).lineTo(c.Sa()+this.ib,h-this.mb).lineTo(c.Sa(),h).close()}};
YG.prototype.Lz=function(a,b,c,d,e){if(!isNaN(b)){c=this.ia()||jq(0,0,0,0);var f,h;f=Math.round(c.Sa()+b*c.width);h=Math.round(c.Sa()+a*c.width);1==a?h+=e:h-=e;1==b?f+=e:f-=e;d.moveTo(f+this.ib,c.Ya()-this.mb).lineTo(h+this.ib,c.Ya()-this.mb).lineTo(h+this.ib,c.pa()-this.mb).lineTo(h,c.pa()).lineTo(f,c.pa()).lineTo(f+this.ib,c.pa()-this.mb).close()}};function ZG(){iA.call(this);fb(this.Jx,"autoRotate")||this.Jx.push("autoRotate")}G(ZG,iA);ZG.prototype.Md=function(a){return m(a)?(a=N(a),this.gb!=a&&(this.gb=a,this.o(4,9)),this):this.gb};ZG.prototype.Nd=function(a){return m(a)?(a=N(a),this.hb!=a&&(this.hb=a,this.o(4,9)),this):this.hb};function $G(a,b){return m(b)?(b=N(b),a.U!=b&&(a.U=b,a.o(4,9)),a):a.U}function aH(a,b){return m(b)?(b=null===b?b:ae(N(b)||0),a.dd!=b&&(a.dd=b,a.o(4,9)),a):a.dd}
ZG.prototype.G=function(a){return m(a)?(a=null===a?a:Yd(N(a)||0,-360,360),this.Y!=a&&(this.Y=a,this.o(4,9)),this):this.Y};var bH=ZG.prototype,cH=$b(iA.prototype.zk);W(cH,0,"autoRotate",Pv,4,9);bH.zk=cH;Qv(ZG,ZG.prototype.zk);
ZG.prototype.UC=function(a,b,c,d,e,f){var h,k;c&&(h=c.width,k=c.height);var l=b.angle,n=b.radius;b=m(b.radiusY)?b.radiusY:n;var p=0,r=0,t=this.Md(),u=this.Nd(),v=this.G(),w=$G(this);if(c||!isNaN(t)&&!isNaN(u))p=c.left,r=c.top,p=isNaN(t)?p+h/2:t,r=isNaN(u)?r+k/2:u,c=m(w)&&!isNaN(w)?M(e,w):c?M(e,Math.min(h,k)/2):0,l+=M(d,null!=v?v:360),n+=c,b+=c;d=p+de(l,n);l=r+ee(l,b);f=Br(new K(0,0,a.width,a.height),f);d-=f.x;l-=f.y;a.left=d;a.top=l;return a};
ZG.prototype.Jj=function(a,b,c,d){var e,f,h;a instanceof dH?(h=(a.uc()?a.uc().value.angle:0)||0,e=eH(a,h),f=a.Ad("anchor"),"auto"==f&&(f=a.Ad("autoRotate")?"center":Dr(h)),d=m(d)?d:a.La()):(e=(m(c)&&m(c.rotation)?c.rotation:this.J("rotation"))||0,f=(m(c)&&m(c.autoRotate)?c.autoRotate:this.J("autoRotate"))||!1,h=(b?b.value.angle:0)||0,e=f?0h?e+h+270:e+h+90:e,f=m(c)&&c.anchor||this.J("anchor"));a=FA(this,a,b,c,d);b=Br(a,f);b=Be(be(e),b.x,b.y);a=hq(a)||[];b.transform(a,0,a,0,4);return a};
ZG.prototype.lr=function(){return new dH};function dH(){EA.call(this)}G(dH,EA);var fH=dH.prototype,gH=$b(EA.prototype.cm);W(gH,0,"autoRotate",Pv,16,9);fH.cm=gH;Qv(dH,dH.prototype.cm);function eH(a,b){var c=a.Ad("rotation");return a.Ad("autoRotate")?0b?c+b+270:c+b+90:c}
dH.prototype.bA=function(a,b){var c=this.u.positionFormatter,d=xA(this.u.anchor)||"leftTop",e=this.u.offsetX||0,f=this.u.offsetY||0,h=this.lg,k=this.uc(),l=$b(c.call(k,k)),c=l.angle,k=l.radius,l=m(l.radiusY)?l.radiusY:k,n=0,p=0,r=h.Md(),t=h.Nd(),u=h.G(),h=$G(h);if(b||!isNaN(r)&&!isNaN(t))var n=b.left,p=b.top,v=b.width,w=b.height,n=isNaN(r)?n+v/2:r,p=isNaN(t)?p+w/2:t,f=m(h)&&!isNaN(h)?M(f,h):b?M(f,Math.min(v,w)/2):0,c=c+M(e,null!=u?u:360),k=k+f,l=l+f;e=n+de(c,k);f=p+ee(c,l);d=Br(new K(0,0,a.width,
a.height),d);e-=d.x;f-=d.y;this.w+=e;this.G+=f;a.left=e;a.top=f;this.u.rotation=eH(this,c);this.g.x(this.w).y(this.G)};function hH(a,b,c,d){Th.call(this);this.j=a;this.D=b||ea;this.i=m(d)?d:this;this.b=[]}G(hH,Th);hH.prototype.clear=function(){for(var a;a=this.lb();)this.b.push(this.yp(a-1));return this};function iH(a){var b=a.b.pop();b?a.D.call(a.i,b):b=a.j.call(a.i);a.Rb(b);return b}hH.prototype.da=function(){for(var a=this.b.length;a--;)Ib(this.b[a]);this.b=null;delete this.j;delete this.D;this.i=null;hH.F.da.call(this)};function jH(){U.call(this);this.B=this.G=this.w=this.Y=this.P=null;this.Oa="vertical";this.N=this.Va=1;this.ba=Fe("#e0e0e0",this.N);this.ga=Oe("#d5d5d5",this.N);this.ka=Fe("#d5d5d5",this.N);this.ma=Oe("#656565",this.N);this.f=0;this.g=1;this.j=this.u=null;this.U=!1;this.ra=-1;this.Ma=!0;this.ta=5}G(jH,Gv);g=jH.prototype;g.la=Gv.prototype.la;g.oa=Gv.prototype.oa|80;function kH(a){return Ql===Rl?Math.floor(a)+.5:Math.floor(a)}function lH(a,b){m(b)&&(b=wn(b),b!=a.Oa&&(a.Oa=b,a.o(4,1)))}
g.cr=function(a,b,c,d,e){if(m(a)){var f=Oe.apply(null,arguments);this.ga!=f&&(this.ga=Wo(f,this.N,!1),this.o(16,1));return this}return this.ga||"none"};g.Fq=function(a,b,c,d,e,f,h){if(m(a)){var k=Fe.apply(null,arguments);this.ba!=k&&(this.ba=Wo(k,this.N,!0),this.o(16,1));return this}return this.ba||"none"};g.Ss=function(a,b,c,d,e){if(m(a)){var f=Oe.apply(null,arguments);this.ma!=f&&(this.ma=Wo(f,this.N,!1),this.o(16,1));return this}return this.ma||"none"};
g.Rs=function(a,b,c,d,e,f,h){if(m(a)){var k=Fe.apply(null,arguments);this.ka!=k&&(this.ka=Wo(k,this.N,!0),this.o(16,1));return this}return this.ka||"none"};g.fo=function(a){return m(a)?(a=N(a),this.Ua!=a&&(this.Ua=a,this.o(4,9)),this):this.Ua};g.tv=function(a){return m(a)?(a=N(a),this.ta!=a&&(this.ta=a,this.o(16,1)),this):this.ta};g.si=function(a){return m(a)?(ja(a)&&(this.Ma=a),this):this.Ma};
g.Mf=function(a,b){return m(a)?(je(this.u,a)||(this.u=a.clone(),this.j?mH(this):this.j=this.u.clone(),nH(this),this.o(64,1),oH(this,b||"api")),this):this.u};function pH(a,b){return m(b)?(je(a.j,b)||(a.j=b.clone(),a.u?mH(a):a.u=a.j.clone(),nH(a),a.o(64,1),oH(a,"api")),a):a.j}function qH(a){var b;return m(b)?(b=+b,!isNaN(b)&&a.f!=b&&0<=b&&1>b&&(b==a.g?(a.g=1,a.f=b):(a.f=Math.min(b,a.g),a.g=Math.max(b,a.g)),rH(a),a.o(64,1),oH(a,"api")),a):a.f}
function sH(a){var b;return m(b)?(b=+b,!isNaN(b)&&a.g!=b&&0=b&&(b==a.f?(a.f=0,a.g=b):(a.g=Math.max(b,a.f),a.f=Math.min(b,a.f)),rH(a),a.o(64,1),oH(a,"api")),a):a.g}function tH(a,b){b=+b;if(!isNaN(b)){b=Yd(b,0,1);var c=a.g-a.f,d=Xp(Yd(b+c,0,1),4),c=Xp(d-c,4);if(a.f!=c||a.g!=d)a.f=c,a.g=d,rH(a),a.o(64,1),oH(a,"user_action")}}
function uH(a,b){b=+b;var c=isNaN(b)?40:b;if(a.j&&c&&(c+=vH(a)?a.j.top:a.j.left,c=+c,a.j&&!isNaN(c))){var d=vH(a);c!=(d?a.j.top:a.j.left)&&(d?a.j.top=c:a.j.left=c,mH(a),nH(a),a.o(64,1),oH(a,"user_action"))}}function wH(a,b){b=+b;var c=isNaN(b)?.05:Yd(b,-1,1);c&&tH(a,a.f+c)}g.jv=function(a){return m(a)?(ja(a)&&this.U!=a&&(this.U=a,this.o(4,1)),this):this.U};g.Tw=function(a){return m(a)?(this.N!=a&&(this.N=a,xH(this,this.N)),this):this.N};g.Uw=function(a){return m(a)?(this.Va=a,this):this.Va};
function yH(a){a.P||(a.P=Uh(),zv(a,a.P,a.aB,a.$A,a.uL),H(a,a.P));return a.P}function xH(a,b){a.ba=Wo(a.ba,b,!0);a.ga=Wo(a.ga,b,!1);a.ka=Wo(a.ka,b,!0);a.ma=Wo(a.ma,b,!1);a.o(16,1)}g.aB=function(a){a.preventDefault();xH(this,this.Va);this.qd(a)};g.$A=function(a){a.preventDefault();xH(this,this.N);this.qd(a)};
g.uL=function(a){a.preventDefault();var b=vH(this),c=this.B.Pa(),d=this.B.Cc(),e=b?a.offsetY:a.offsetX,d=b?Xp((e-d.top)/d.height,4):Xp((e-d.left)/d.width,4);(b?e<=c.top:e<=c.left)?tH(this,d):(c=+d,isNaN(c)||(c=Yd(c,0,1),b=this.g-this.f,c=Xp(Yd(c-b,0,1),4),b=Xp(c+b,4),this.f==c&&this.g==b))||(this.f=c,this.g=b,rH(this),this.o(64,1),oH(this,"user_action"));this.qd(a)};function zH(a){a.Y||(a.Y=mh(),H(a,a.Y));return a.Y}
function AH(a){a.w||(a.w=new cx,ex(a.w,16,!1),O(a.w,function(){a.w.$()}),hx(a.w,function(){pH(a)?uH(a,40):wH(a,.05)}),H(a,a.w));return a.w}function BH(a){a.G||(a.G=new cx,ex(a.G,16,!1),O(a.G,function(){a.G.$()}),hx(a.G,function(){pH(a)?uH(a,-40):wH(a,-.05)}),H(a,a.G));return a.G}function CH(a){a.B||(a.B=mh(),a.B.ub(yH(a)),Sc(a.B,"drag",a.kg,!1,a),Sc(a.B,"end",a.DJ,!1,a),zv(a,a.B,a.aB,a.$A,null,null,null,a.SO),H(a,a.B));return a.B}g.SO=function(a){a.preventDefault();this.qd(a)};
g.kg=function(){DH(this,!0)};g.DJ=function(){DH(this,!1)};function DH(a,b){var c=vH(a),d=a.B.Cc(),e=a.B.Pa(),f=!!b,h=c?d.top:d.left,d=c?d.height:d.width,k=c?e.top:e.left,l=k+(c?e.height:e.width);10>=(c?e.height:e.width)?(c=a.g-a.f,a.f=(k-h)*(1-c)/(d-10),a.g=Math.min(a.f+c,1)):(a.f=Xp((k-h)/d,5),a.g=Xp((l-h)/d,5));rH(a);f||a.o(64,1);oH(a)}
function rH(a){if(a.u&&a.j){var b;if(vH(a)){b=a.u.height;var c=Xp((a.g-a.f)*b,1);a.j.top=Xp(a.f*b,1)+a.u.top;a.j.height=c}else b=a.u.width,c=Xp((a.g-a.f)*b,1),a.j.left=Xp(a.f*b,1)+a.u.left,a.j.width=c}}function nH(a){if(a.u&&a.j){var b=vH(a),c=b?a.j.top-a.u.top:a.j.left-a.u.left,d=b?c+a.j.height:c+a.j.width,b=b?a.u.height:a.u.width;a.f=Xp(c/b,4);a.g=Xp(d/b,4)}}
function mH(a){var b=a.j;a=a.u;b.width>a.width&&(b.width=a.width);b.height>a.height&&(b.height=a.height);b.top+b.height>a.top+a.height&&(b.top-=b.top+b.height-(a.top+a.height));b.left+b.width>a.left+a.width&&(b.left-=b.left+b.width-(a.left+a.width));b.top(d?a.height:a.width)/(d?a.width:a.height);e=f=d?a.width:a.height;k=a.left;l=a.top;h&&(d?f=Xp(a.height/3,1):e=Xp(a.width/3,1));h=d?a.left:a.left+a.width-e;d=d?a.top+a.height-f:a.top;this.w.ia(a);this.w.position({x:h,y:d}).width(e).height(f).$();this.G.ia(a);this.G.position({x:k,y:l}).width(e).height(f).$();this.w.fa(!1);this.G.fa(!1)}this.o(80);this.K(4)}Q(this,16)&&(a=Math.min(this.ta,Math.min(this.b.width,this.b.height)/2),this.Y.fill(this.ba).stroke(this.ga).round(a),
this.B.fill(this.ka).stroke(this.ma).round(a),this.K(16));Q(this,64)&&(0>=this.f&&1<=this.g||this.f==this.g?yH(this).visible(!1):(yH(this).visible(!0),a=vH(this),e=this.b,this.Y.de(e),this.U?(l=this.w.width(),d=this.w.height(),f=a?e.left:e.left+l+1,k=a?e.top+d+1:e.top,l=a?e.width:e.width-2*(l+1),d=a?e.height-2*(d+1):e.height,f=new K(f,k,l,d)):f=e.clone(),l=a?f.height:f.width,k=d=Xp(l*(this.g-this.f),1),h=!1,10>d&&(h=!0,k=10),h?(d=this.f*(l-k)/(1+this.f-this.g),l=a?e.left:Xp(f.left+d,1),d=a?Xp(f.top+
d,1):e.top):(l=a?e.left:Xp(f.left+this.f*f.width,1),d=a?Xp(f.top+this.f*f.height,1):e.top),h=a?e.width:k,a=a?k:e.height,this.B.Ls(kH(l)).Ms(kH(d)).bp(Math.round(h)).$o(Math.round(a)).Cc(f),this.B.Xa(1,0,0,1,0,0)),this.K(64));Q(this,8)&&(yH(this).zIndex(this.zIndex()),this.K(8));c&&b.qc()}return this};function vH(a){return"horizontal"!=a.Oa.toLowerCase()}g.remove=function(){this.P&&this.P.parent(null)};
function oH(a,b){if(a.Ma){0<=a.ra&&(clearTimeout(a.ra),a.ra=-1);var c=new EH(a);c.startRatio=a.f;c.endRatio=a.g;c.visibleBounds=a.j;c.source=b||"user_action";a.ra=setTimeout(function(){a.dispatchEvent(c);a.ra=-1},0)}}
g.I=function(){var a=jH.F.I.call(this);E(this.cr())?lo(8,null,["ScrollBar background stroke"]):a.backgroundStroke=So(this.cr());E(this.Fq())?lo(8,null,["ScrollBar background fill"]):a.backgroundFill=So(this.Fq());E(this.Rs())?lo(8,null,["ScrollBar slider fill"]):a.sliderFill=So(this.Rs());E(this.Ss())?lo(8,null,["ScrollBar slider stroke"]):a.sliderStroke=So(this.Ss());a.mouseOverOpacity=this.Uw();a.mouseOutOpacity=this.Tw();a.buttonsVisible=this.jv();a.barSize=this.fo();a.cornersRadius=this.tv();
return a};g.aa=function(a,b){jH.F.aa.call(this,a,b);this.Fq(a.backgroundFill);this.cr(a.backgroundStroke);this.Rs(a.sliderFill);this.Ss(a.sliderStroke);this.Uw(a.mouseOverOpacity);this.Tw(a.mouseOutOpacity);this.jv(a.buttonsVisible);this.fo(a.barSize);this.tv(a.cornersRadius)};function EH(a){Kb.call(this,"scrollchange",a)}G(EH,Kb);EH.prototype.startRatio=0;EH.prototype.endRatio=0;EH.prototype.visibleBounds=null;EH.prototype.source="";var FH=jH.prototype;FH.barSize=FH.fo;FH.backgroundStroke=FH.cr;
FH.backgroundFill=FH.Fq;FH.sliderStroke=FH.Ss;FH.sliderFill=FH.Rs;FH.mouseOutOpacity=FH.Tw;FH.mouseOverOpacity=FH.Uw;FH.cornersRadius=FH.tv;FH.buttonsVisible=FH.jv;function GH(){fd.call(this);this.G=this.N=this.w=this.B=this.ga=this.ka=this.g=this.D=this.j=this.u=this.f=this.i=NaN;this.va=this.P=.01;this.Y=NaN;this.b=!1;this.ba=this.U=NaN}G(GH,Yu);GH.prototype.la=4;function HH(a){return function(b){return Oy(b,a)}}
var IH=[144E5,2592E5,26784E5,31536E6,31536E7],JH=[{Pe:"day",count:1},{Pe:"week",count:1},{Pe:"month",count:1},{Pe:"year",count:1},{Pe:"year",count:10}],KH=[{Pe:"hour",count:1},{Pe:"day",count:1},{Pe:"week",count:1},{Pe:"quarter",count:1},{Pe:"year",count:1}],LH=[{Pe:"minute",count:10},{Pe:"hour",count:2},{Pe:"day",count:1},{Pe:"month",count:1},{Pe:"quarter",count:1}];g=GH.prototype;g.ad=function(){return isNaN(this.i)&&isNaN(this.f)&&isNaN(this.D)&&isNaN(this.g)};
g.reset=function(){this.g=this.D=this.j=this.u=this.f=this.i=NaN;this.b=!1};function MH(a){var b=new Date;isNaN(a.U)&&(a.U=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()));isNaN(a.ba)&&(a.ba=a.U+864E5);return{min:a.U,max:a.ba}}function NH(a,b,c){b=Ar(b);c=Ar(c);a.i==b&&a.f==c||isNaN(c)||isNaN(b)||(a.i=b,a.f=c,a.b=!1,OH(a),a.ea(4));return a}function PH(a){OH(a);return a.ad()?MH(a):{min:a.i,max:a.f}}
function QH(a){var b;isNaN(a.u)&&(isNaN(a.B)?isNaN(a.N)?(b=(isNaN(a.w)?isNaN(a.G)?a.g:Math.max(a.g,a.G):a.w)-a.D,b*=a.P,a.u=a.D-b):a.u=Math.min(a.N,a.D):a.u=a.B);isNaN(a.j)&&(isNaN(a.w)?isNaN(a.G)?(b=a.g-(isNaN(a.B)?isNaN(a.N)?a.D:Math.min(a.D,a.N):a.B),b*=a.va,a.j=a.g+b):a.j=Math.max(a.G,a.g):a.j=a.w);return a.ad()?MH(a):{min:a.u,max:a.j}}
function OH(a){if(!a.b&&!a.ad()){a.b=!0;var b=QH(a),c=b.min,b=b.max;isNaN(c)?isNaN(a.i)||(a.D=a.i):isNaN(a.i)?a.i=c:a.i=Math.max(a.i,c);isNaN(b)?isNaN(a.f)||(a.g=a.f):isNaN(a.f)?a.f=b:a.f=Math.min(a.f,b);if(a.i>a.f){var d=a.i-a.f;a.i=Math.max(a.f,c);a.f=Math.min(a.i+d,b)}}}g.Vv=function(){if(!this.ad()){var a=QH(this);return NH(this,a.min,a.max)}return this};g.QA=function(a){m(a)&&(a=Ar(a),this.B!=a&&(this.B=a,this.u=NaN,this.b=!1,this.ea(4)));return this.B};
g.PA=function(a){m(a)&&(a=Ar(a),this.w!=a&&(this.w=a,this.j=NaN,this.b=!1,this.ea(4)));return this.w};g.SA=function(a){m(a)&&(a=Ar(a),this.N!=a&&(this.N=a,this.u=NaN,this.b=!1,this.ea(4)));return this.N};g.RA=function(a){m(a)&&(a=Ar(a),this.G!=a&&(this.G=a,this.j=NaN,this.b=!1,this.ea(4)));return this.G};g.Tq=function(a){return m(a)?(a=+a||0,this.P!=a&&(this.P=a,this.u=NaN,this.b=!1,this.ea(4)),this):this.P};
g.Sq=function(a){return m(a)?(a=+a||0,this.va!=a&&(this.va=a,this.j=NaN,this.b=!1,this.ea(4)),this):this.va};g.iw=function(a,b){var c=Ar(a)+6E4*Jy(),d=PH(this),e=d.min,d=d.max;if(b.j||b.D){if(c<=e)return RH(this,a,b);if(c>e&&c=d)return RH(this,a,b,!0)}else return d=864E5*b.b+36E5*b.i+6E4*b.g+1E3*b.f,c<=e?(e=Math.floor((e-c)/d)*d,c+=e):(e=Math.ceil((c-e)/d)*d,c-=e),RH(this,c,b);return[]};
function RH(a,b,c,d,e){b=new Cq(Ky(b));var f=PH(a);a=f.min;var f=f.max,h=[],k=!1,l=!1,n;if(d)for(c=c.u(-1);!k||!l;)d=Ar(b),n=b.clone(),n.add(c),b=Ar(n),k?gb(h,d,0):b=Math.abs(a-b)&&(b=(this.i+this.f)/2,a=b-3E4,b+=3E4);NH(this,a,b)}return this};
g.by=function(a){var b;this.ad()?b=!0:(b=QH(this),b=this.i<=b.min);(b=!b)||(this.ad()?b=!0:(b=QH(this),b=this.f>=b.max),b=!b);if(b)if(b=Math.round((this.f-this.i)*((a||1.25)-1)/2),a=this.i-b,b=this.f+b,QH(this),athis.j){if(athis.j)return NH(this,this.u,this.j),this;athis.j&&NH(this,a-(b-this.j),this.j)}else NH(this,a,b);return this};
g.Df=function(a,b,c){var d;OH(this);if(B(a)){if(0===b)return this;a=Kr(Rn(a,"day"),b||1);switch(Pn(c)){case "firstDate":d=this.D;break;case "lastDate":d=this.g;a=a.u(-1);break;case "lastVisibleDate":d=this.f;a=a.u(-1);break;case "firstVisibleDate":d=this.i}c=new Cq(Ky(d));b=Ar(c);c.add(a);a=Ar(c);c=Math.min(b,a);d=Math.max(b,a);b=d-c}else c=a,d=b,m(b)?b-=a:(b=this.f-this.i,d=a+b);a=QH(this);b=Math.min(a.max-a.min,b);d>a.max&&(d=a.max,c=d-b);cc&&(b-=c,c+=b,b=c-b);return a.b[c]-(a.b[b-1]||0)}function eI(a,b){var c=rb(a.b,b);return 0<=c?c:~c}g.data=function(a){return m(a)?(this.B!=a&&(a instanceof pG||a instanceof jG)&&(this.B&&gv(this.B,this.Fz,this),this.B=a,O(this.B,this.Fz,this),this.ga=this.B.Ao(),this.ga.oF(this.GI),this.va&&this.va.scale().reset(),this.o(64,2)),this):this.B};
g.Xe=function(a){return m(a)?(this.w!=a&&(this.w=a,this.o(256,2)),this):this.w};g.ud=function(a){return m(a)?(isNaN(a)||(this.f=a,this.w=0,this.g=NaN,this.o(256,2)),this):this.f};function fI(a,b){return m(b)?(isNaN(b)||(a.g=b,a.f=NaN,a.o(256,2)),a):a.g}function gI(a,b){return m(b)?(a.j!=b&&(a.j=b,a.o(256,2)),a):a.j}function hI(a,b){return m(b)?(a.ra!=b&&(a.ra=b,a.o(128,2)),a):a.ra}g.SL=function(a){return m(a)?(this.ba!=a&&(this.ba=a,this.o(256,2)),this):this.ba};
function iI(a){a.N||(a.N=new jH,lH(a.N,"vertical"),a.N.qa("scrollchange",function(b){var c=b.startRatio;b=b.endRatio;var d=a.b[a.b.length-1];J(a);c?1==b?fI(a,a.b.length):(b=Math.round(c*d),c=eI(a,b),b-=c?a.b[c-1]:0,a.ud(c).Xe(b)):a.ud(0).Xe(0);a.fa(!0)}));return a.N}function jI(a,b){if(a.b.length){b=Math.max(b,0);var c=a.b[a.b.length-1];J(a);if(b>c-a.j)fI(a,a.b.length-1);else{var c=eI(a,b),d=b-(c?a.b[c-1]:0);a.ud(c).Xe(d)}a.fa(!0)}}
g.I=function(){var a=WH.F.I.call(this);a.isResourceChart=this.D;a.treeData=this.data().I();a.verticalOffset=this.Xe();isNaN(this.ud())?isNaN(fI(this))||(a.endIndex=fI(this)):a.startIndex=this.ud();return a};g.aa=function(a,b){WH.F.aa.call(this,a,b);this.D=a.isResourceChart;"treeData"in a&&this.data(qG(a.treeData));this.Xe(a.verticalOffset);"startIndex"in a?this.ud(a.startIndex):"endIndex"in a&&fI(this,a.endIndex)};function kI(a,b){fd.call(this);this.b=a;var c=ig(this.b)?this.b:this.b?this.b.body:null;this.j=!!c&&"rtl"==Ag(c,"direction");this.i=Sc(this.b,kc?"DOMMouseScroll":"mousewheel",this,b)}G(kI,fd);
kI.prototype.handleEvent=function(a){var b=0,c=0,d=a.ef;"mousewheel"==d.type?(a=lI(-d.wheelDelta),m(d.wheelDeltaX)?(b=lI(-d.wheelDeltaX),c=lI(-d.wheelDeltaY)):c=a):(a=d.detail,100a&&(a=-3),m(d.axis)&&d.axis===d.HORIZONTAL_AXIS?b=a:c=a);C(this.g)&&(b=Yd(b,-this.g,this.g));C(this.D)&&(c=Yd(c,-this.D,this.D));this.j&&(b=-b);b=new mI(a,d,b,c);this.dispatchEvent(b)};function lI(a){return lc&&(mc||oc)&&a%40?a:a/40}kI.prototype.da=function(){kI.F.da.call(this);ad(this.i);this.i=null};
function mI(a,b,c,d){Bc.call(this,b);this.type="mousewheel";this.detail=a;this.B=c;this.deltaY=d}G(mI,Bc);function nI(a,b){U.call(this);this.w=this.kk=null;this.j=this;this.xb=!0;this.f=null;a&&a instanceof WH?(this.f=a,this.xb=!1):oI(this,b);this.b=null;this.ib=1;this.Ji=this.jh=this.gk=this.kh=this.Oh=this.hh=this.gh=this.hk=this.Ff=this.ba=this.Ph=this.lf=null;this.vb=45;this.mB=this.Va=0;this.mf=this.ci=this.jf=this.kf=null;this.ob=[];this.pc=-1;this.Oa=null;this.$h=this.hi=0;this.B=this.tc=!1;this.G=null;this.altKey=!1;this.Ma=null;this.Xb=this.Db=0;this.Y=!0;this.bb=!1;this.N=this.mb=null;this.hv=
!1;Av(this,this,this.jD,this.gJ,this.fJ,this.jD,this.QM)}G(nI,Gv);g=nI.prototype;g.oa=Gv.prototype.oa|208;function pI(a){var b=a.R("actualStart");a=a.R("actualEnd");return m(b)&&(!isNaN(b)&&!m(a)||b==a)}
function qI(a,b,c,d){a.mb||(a.mb=new Qy);var e=a.f.D,f={item:{value:b,type:""},name:{value:b.get("name"),type:"string"},id:{value:b.get("id"),type:"string"}};e?(f.minPeriodDate={value:b.R("minPeriodDate"),type:"datetime"},f.maxPeriodDate={value:b.R("maxPeriodDate"),type:"datetime"},f.period={value:c,type:""},f.periodIndex={value:null!=d&&0a||a>h)return null;d=rb(this.ob,a);var h=(this.pc=d=0<=d?d:~d)?this.ob[d-1]:0,f=f+h,k=f+(this.ob[d]-h-this.ib);e.item=b[c+d];e.startY=f;e.endY=k;e.hoveredIndex=this.pc;e.index=c+d;e.itemHeightMouseRatio=(a-h)/(this.ob[d]-h)}return e}return null};g.Pv=function(a){return m(a)?(this.bb!=a&&(this.bb=a,this.o(128,1)),this):this.bb};
function sI(a){a.ba||(a.ba=Uh(),zv(a,a.ba,null,null,null,null,a.iD),H(a,a.ba));return a.ba}function tI(a){a.gh||(a.gh=Uh(),a.gh.zIndex(30),H(a,a.gh));return a.gh}function uI(a){a.kh||(a.kh=Uh(),a.kh.zIndex(35),H(a,a.kh));return a.kh}function vI(a){a.hh||(a.hh=Uh(),a.hh.zIndex(40),H(a,a.hh));return a.hh}function wI(a){a.Oh||(a.Oh=Uh(),a.Oh.zIndex(45),H(a,a.Oh));return a.Oh}function xI(a){a.jh||(a.jh=Uh(),a.jh.zIndex(50),H(a,a.jh));return a.jh}
function yI(a){a.Ji||(a.Ji=Uh(),a.Ji.zIndex(60),H(a,a.Ji));return a.Ji}function zI(a){a.kf||(a.kf=tI(a).Ba(),a.kf.stroke(null).zIndex(1),H(a,a.kf));return a.kf}function AI(a){a.jf||(a.jf=tI(a).Ba(),a.jf.stroke(null).zIndex(1),H(a,a.jf));return a.jf}function BI(a){a.ci||(a.ci=tI(a).Ba(),a.ci.stroke(null).fill(a.ih).zIndex(2),H(a,a.ci));return a.ci}function CI(a){a.mf||(a.mf=tI(a).Ba(),a.mf.stroke(null).fill(a.Hi).zIndex(3),H(a,a.mf));return a.mf}
function DI(a){a.lf||(a.lf=tI(a).Ba(),a.lf.stroke(a.Ab).zIndex(4),H(a,a.lf));return a.lf}function EI(a){a.gk||(a.gk=wI(a).Ba(),H(a,a.gk));return a.gk}function FI(a){a.Ph||(a.Ph=tI(a).Ba(),a.Ph.zIndex(40),H(a,a.Ph));return a.Ph}g.As=function(a,b,c,d,e,f,h){if(m(a)){var k=Fe.apply(null,arguments);this.Ei!=k&&(this.Ei=k,this.Ci=this.Fi=null,this.o(16,1));return this}return this.Ei};g.uu=function(a,b,c,d,e,f,h){lo(405,null,["cellFill()","rowFill()"],!0);return this.As(a,b,c,d,e,f,h)};
g.oq=function(a,b,c,d,e,f,h){if(m(a)){var k=Fe.apply(null,arguments);this.Fi!=k&&(this.Fi=k,this.o(16,1));return this}return this.Fi};g.nv=function(a,b,c,d,e,f,h){lo(405,null,["cellOddFill()","rowOddFill()"],!0);return this.oq(a,b,c,d,e,f,h)};g.nq=function(a,b,c,d,e,f,h){if(m(a)){var k=Fe.apply(null,arguments);this.Ci!=k&&(this.Ci=k,this.o(16,1));return this}return this.Ci};g.mv=function(a,b,c,d,e,f,h){lo(405,null,["cellEvenFill()","rowEvenFill()"],!0);return this.nq(a,b,c,d,e,f,h)};
g.ox=function(a,b,c,d,e,f,h){if(m(a)){var k=Fe.apply(null,arguments);this.ih!=k&&(this.ih=k);return this}return this.ih};g.qx=function(a,b,c,d,e,f,h){if(m(a)){var k=Fe.apply(null,arguments);this.Hi!=k&&(this.Hi=k,this.o(16,1));return this}return this.Hi};g.Yl=function(a,b,c,d,e,f,h){if(m(a)){var k=Fe.apply(null,arguments);this.Ef!=k&&(this.Ef=k,this.o(16,1));return this}return this.Ef};g.Nv=function(a,b,c,d,e,f,h){if(m(a)){var k=Fe.apply(null,arguments);this.fk!=k&&(this.fk=k,this.o(16,1));return this}return this.fk};
g.Ov=function(a){if(m(a)){var b=Oe.apply(null,arguments);this.Nh!=b&&(this.Nh=b,this.o(16,1));return this}return this.Nh};g.Mv=function(a){if(m(a)){var b=Oe.apply(null,arguments);this.ek!=b&&(this.ek=b,this.o(16,1));return this}return this.ek};g.eC=function(a){a.b instanceof Tg&&!this.w&&(this.w=new GI(this.ba,this),H(this,this.w),this.w.qa("drag",this.kg,!1,this),this.w.qa("end",this.dJ,!1,this),this.w.Cf(a.nf))};
g.kg=function(a){this.B=!0;if(this.bb&&(this.Y=!1,rI(this.j),this.qb().dc(),a=this.Fh(a))){var b=a.item,c=a.itemHeightMouseRatio,d=a.startY,e=a.endY;this.G&&b&&b!=this.G&&!sG(b,this.G)?.2>c||.8c?d:e,void 0,"auto"):pI(b)?HI(this.j,void 0,void 0,"not-allowed"):HI(this.j,d,e,"auto"):HI(this.j,void 0,void 0,"not-allowed");this.BH(a)}this.qb().dc();this.hv=!0};
g.dJ=function(a){if(this.bb){a=this.Fh(a);this.CH(a);if(a){var b=a.item,c=a.hoveredIndex,c=this.f.ud()+c,d=this.f.i;a=a.itemHeightMouseRatio;this.G&&b&&b!=this.G&&!pI(b)&&!sG(b,this.G)&&(.2>a||.8a?a=d[c-1]:(a=b,b=d[c+1]),a&&b?(c=a.R("depth"),d=b.R("depth"),c==d?(c=b.getParent()||b.dh(),a=c.xc(b),b=this.G.getParent()||this.G.dh(),b==c&&b.xc(this.G)c,d=qH(k),k=sH(k),l=d||1!=k?0k||!d&&!l&&1!=k||1==k&&l&&0!=d:!1);e&&(e=0>b,n=qH(h),h=sH(h),n=e?n||1!=h?0h||1==h&&0!=n||!n&&f:f:n||1!=h?0h||!n&&1!=h:!1);if(l||n)a.preventDefault(),this.Un(b,c)};g.BN=function(a){S(a,2)&&this.ea(1)};
g.hJ=function(){this.qb().$()};g.su=ea;g.tu=ea;g.Zl=function(a){return m(a)?(XH(this.f,a),this):XH(this.f)};function oI(a,b){a.f=new WH(b);H(a,a.f);O(a.f,a.BN,a)}
function JI(a,b){b&&a.o(64);if(a.wb()){var c=a.O(),d=c?c.ja():null,e=d&&!d.ac();e&&d.vc();var f,h;sI(a).lb()||(a.Ff=a.ba.rect(),H(a,a.Ff),a.Ff.fill(a.Ef).stroke(null).zIndex(10),a.hk=a.ba.rect(),H(a,a.hk),a.hk.fill(Ko).stroke(null).zIndex(20),a.ba.Rb(tI(a)).Rb(uI(a)).Rb(vI(a)).Rb(wI(a)).Rb(xI(a)).Rb(yI(a)),a.xb&&(f=iI(a.f),O(f.O(yI(a)),function(a){S(a,8)?this.o(4,1):f.$()},a),H(a,f)),h=a.Ih(),O(h.O(yI(a)),function(a){S(a,1)&&h.$()},h),H(a,h),a.ba.oc("mousedown",a.eC,!1,a),a.ba.oc("touchstart",a.eC,
!1,a),a.qD());Q(a,2)&&(a.ba.parent(c),a.K(2));Q(a,4)&&(a.b=a.Na(),a.ba.clip(a.b),a.Ff.de(a.b),a.hk.de(a.b),a.Va=a.b.width,c=a.b.top+a.vb+.5,FI(a).clear().moveTo(a.b.left,c).lineTo(a.b.left+a.Va,c),a.xb&&(f=iI(a.f),c=f.fo(),f.za(a.b.left+a.b.width-c-1,a.b.top+a.Fe()+c+1,c,a.b.height-a.Fe()-2*c-2)),h=a.Ih(),c=h.fo(),h.za(a.b.left+c,a.b.top+a.b.height-c-1,a.b.width-2*c,c),a.tc=!0,a.tu(),a.K(4));Q(a,64)&&(a.qb().dc(),a.tc=!0,a.YD(),a.K(64));if(Q(a,16)){a.Ff.fill(a.Ef);zI(a).fill(a.Fi||a.Ei);AI(a).fill(a.Ci||
a.Ei);CI(a).fill(a.Hi);var k;B(a.Ab)?k=a.Ab:z(a.Ab)&&a.Ab.color&&(k=a.Ab.color);k&&FI(a).stroke(k);DI(a).stroke(a.Ab);EI(a).fill(a.fk).stroke(a.Nh);a.su();a.K(16)}Q(a,8)&&(sI(a).zIndex(a.zIndex()),a.K(8));Q(a,128)&&(a.tc=!0,a.K(128));a.Mx();a.tc&&(II(a),a.XD(),a.tc=!1);e&&d.qc();a.xb&&(KI(a),LI(a))}}g.qD=ea;
function rI(a,b,c,d){var e=!1,f=!1;if(m(b)&&m(c)&&m(d)){if(a.hi!=c||a.$h!=d)a.pc=b,a.hi=c,a.$h=d,e=0<=a.pc}else 0<=a.pc&&(a.pc=-1,a.hi=NaN,a.$h=NaN),f=!0;e?BI(a).clear().fill(a.ih).moveTo(a.b.left,a.hi).lineTo(a.b.left+a.b.width,a.hi).lineTo(a.b.left+a.b.width,a.$h).lineTo(a.b.left,a.$h).close():f&&BI(a).clear()}
function HI(a,b,c,d){var e=EI(a);m(b)?m(c)?e.clear().moveTo(a.b.left,b).lineTo(a.b.left+a.Va,b).lineTo(a.b.left+a.Va,c).lineTo(a.b.left,c).close().stroke(a.Nh):e.clear().moveTo(a.b.left,b).lineTo(a.b.left+a.Va,b).stroke(a.ek):e.clear();m(d)&&vg(ca.document.body,"cursor",d)}function KI(a){if(!a.kk){var b=sI(a).X();b&&(a.kk=new kI(b),Sc(a.kk,"mousewheel",a.LD,!1,a),Sc(window,"unload",function(){$c(a.kk,"mousewheel",a.LD,!1,this)}));Sc(document,"mousemove",a.dC,!1,a)}}
g.dC=function(a){var b=this.O();if(b){var c=Ll(b.ja()),b=this.b.top+c.y+this.vb+10,d=c.y+this.b.height-10-10,c=c.x+this.b.left+10,e=c+this.b.width-10-10,f=a.clientX,h=a.clientY;this.Xb=this.Db=0;if(fe)this.Db=f-c;if(hd)this.Xb=h-b;var k=this;this.B&&!this.Ma&&(this.Ma=setInterval(function(){k.Sw(a)},100))}};
function LI(a){a.j.jn||(a.j.jn=new MI(a.j,document),H(a,a.j.jn),Sc(a.j.jn,"key",function(a){18==a.keyCode&&(this.altKey=!0);(46==a.keyCode||a.metaKey&&8==a.keyCode)&&this.YB(a)},!1,a.j))}g.YB=function(){};g.YD=ea;g.XD=ea;g.remove=function(){this.ba&&this.ba.parent(null)};g.Bs=function(a,b,c,d,e){if(m(a)){var f=Oe.apply(null,arguments),h=Pr(f);if(this.Ab!=f||h!=this.ib)this.Ab=f,this.ib=h,this.xb||hI(this.f,h),this.o(80,1);return this}return this.Ab||"none"};g.Mx=ea;
g.Cs=function(a){this.Oa&&this.f.data()&&(J(this.f.data()),this.Oa.R("selected",!1),this.Oa=null,this.f.data().fa(!1),this.j==this&&this.dispatchEvent({type:"rowSelect",actualTarget:a?a.target:this,target:this,originalEvent:a,item:null}),this.o(64,1))};g.data=function(a){var b=this.f.data();return m(a)?(a!=b&&a instanceof pG&&this.f.data(a),this):b};
g.$=function(){this.b&&!this.b.height&&this.b.height||(this.b=this.Na());var a=hI(gI(this.f,this.b.height-this.vb-1),this.ib);if(!hv(a)){if(Q(a,64)){a.ta=0;a.u=NaN;a.G=NaN;J(a.B);for(var b=0,c=a.B.lb();b=b?(a.f=0,a.w=0,a.g=a.i.length-1):(isNaN(a.f)&&isNaN(a.g)&&(a.f=0),isNaN(a.f)?(b=dI(a,0,a.g),ba.ma.length){var e=new PI;H(a,e);e.stroke(a.ga);e.O(xI(a));O(e,function(){e.$()},e);e.qa("splitterchange",pa(a.TO,a,b-1));e.qa("dblclick",pa(a.UO,a,b-1));a.ma.push(e)}}
g.rB=function(a,b){var c,d,e=!1;c=N(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var f=this.g[c];f||(f=new aJ(this),f.W(this.RB()),O(f,this.JL,this),H(this,f),e=!0);if(m(d))return f.W(d instanceof aJ?d.I():d),f.enabled()&&f.O(vI(this)),this.g[c]=f,$I(this),this.o(528,1),this;e&&(d=c?1==c?170:90:90,e=c?1==c?"Name":"Column #"+c:"#",J(f),f.O(vI(this)).width(d).height("100%"),f.title().text(e),f.fa(!0),this.g[c]=f,$I(this),this.o(528,1));return f};
g.TO=function(a,b){var c=b.target;c.b||(c.b=c.Na());this.Gr(this.AO,this,a,(new K(Xp(c.b.left,1),Xp(c.b.top,1),Xp(Math.min(c.B,c.b.width-c.w),1),Xp(c.b.height,1))).width+20)};g.UO=function(a,b){this.Gr(this.TL,this,a,b)};g.AO=function(a,b,c,d){c==b&&a.width(d)};
g.TL=function(a,b,c,d){c==b&&(b=a.title(),c=b.height(),d.offsetY-this.b.topthis.Va&&(this.U=0);this.U=Yd(this.U,0,Math.abs(this.b.width-this.Va));c=-this.U;f=0;for(h=e.length;fd&&(d=IH.length-1);e=UH(a,JH[d]);f=UH(a,KH[d],JH[d]);a=UH(a,LH[d],KH[d]);f=[e,f,a];a=0;for(d=this.f.length;a=k)k=t;else var l=this.b.left,u=this.b.width,k=t+(k-h)/2,k=kl+u?Math.max(l+u-h,t):k;k=this.labels().add(f,{value:{x:k,y:this.b.top}});J(k);k.clip(new K(n+r/2,this.b.top,p-n-r,this.b.height));k.height(this.b.height);k.fa(!1);k.$()}this.labels().fa(!1);this.labels().$()}Q(this,8)&&this.K(8);e&&d.qc()}return this};g.remove=function(){rJ(this).parent(null)};
g.I=function(){var a=pJ.F.I.call(this);a.tileFill=So(this.w);a.tilesSeparationStroke=So(this.g);a.labels=this.labels().I();return a};g.aa=function(a,b){pJ.F.aa.call(this,a);this.dF(a.tileFill);this.eF(a.tilesSeparationStroke);this.labels().$a(!!b,a.labels)};var sJ=oJ.prototype;sJ.backgroundFill=sJ.Hz;sJ.levelsSeparationStroke=sJ.BD;sJ.topLevel=sJ.op;sJ.midLevel=sJ.To;sJ.lowLevel=sJ.Po;sJ=pJ.prototype;sJ.tileFill=sJ.dF;sJ.labels=sJ.labels;sJ.tilesSeparationStroke=sJ.eF;function tJ(a,b){nI.call(this,a,b);this.Jd=this.ga=this.ka=this.ra=this.ma=this.Gb=this.U=this.vd=this.Oc=this.Nc=null;this.Mi=void 0;this.P=null;this.ik=void 0;this.jk=NaN;this.zi=this.Ed=!1;this.ke=this.Ze=this.Ye=this.xe=this.Qe=this.ye=null;this.kn=this.mn=this.hc=!1;this.Ua=this.ec=null;this.Ti=[];this.Qi=0;this.li=[];this.yi=[];this.fd=[];this.ii=null;this.g=new GH;O(this.g,this.dK,this);H(this,this.g);var c=this.f;m(this)&&c.va!=this&&(c.va=this,c.o(256,2))}G(tJ,nI);g=tJ.prototype;
g.oa=nI.prototype.oa|512;g.dK=function(a){S(a,4)&&this.o(512,1)};g.Em=function(a){this.ta||(this.ta=new oJ,this.ta.scale(this.g),this.ta.zIndex(80),H(this,this.ta),O(this.ta,this.$M,this));return m(a)?(this.ta.W(a),this):this.ta};g.$M=function(a){S(a,1)&&this.o(512,1)};g.tB=function(a,b,c,d,e){if(m(a)){var f=Oe.apply(null,arguments);this.Td!=f&&(this.Td=f,this.o(16,1));return this}return this.Td||"none"};
g.zC=function(a,b,c,d,e,f,h){if(m(a)){var k=Fe.apply(null,arguments);this.$j!=k&&(this.$j=k,this.o(16,1));return this}return this.$j||"none"};g.AC=function(a,b,c,d,e){if(m(a)){var f=Oe.apply(null,arguments);this.ak!=f&&(this.ak=f,this.o(16,1));return this}return this.ak||"none"};g.BC=function(a,b,c,d,e,f,h){if(m(a)){var k=Fe.apply(null,arguments);this.ck!=k&&(this.ck=k,this.o(16,1));return this}return this.ck||"none"};
g.CC=function(a,b,c,d,e){if(m(a)){var f=Oe.apply(null,arguments);this.dk!=f&&(this.dk=f,this.o(16,1));return this}return this.dk||"none"};g.wC=function(a,b,c,d,e,f,h){if(m(a)){var k=Fe.apply(null,arguments);this.nh!=k&&(this.nh=k,this.o(16,1));return this}return this.nh||"none"};g.xC=function(a,b,c,d,e){if(m(a)){var f=Oe.apply(null,arguments);this.oh!=f&&(this.oh=f,this.o(16,1));return this}return this.oh||"none"};
g.qC=function(a,b,c,d,e,f,h){if(m(a)){var k=Fe.apply(null,arguments);this.lh!=k&&(this.lh=k,this.o(16,1));return this}return this.lh||"none"};g.rC=function(a,b,c,d,e){if(m(a)){var f=Oe.apply(null,arguments);this.mh!=f&&(this.mh=f,this.o(16,1));return this}return this.mh||"none"};g.ZA=function(a,b,c,d,e,f,h){if(m(a)){var k=Fe.apply(null,arguments);this.Tj!=k&&(this.Tj=k,this.o(128,1));return this}return this.Tj||"none"};
g.bB=function(a,b,c,d,e){if(m(a)){var f=Oe.apply(null,arguments);this.Uj!=f&&(this.Uj=f,this.o(128,1));return this}return this.Uj||"none"};g.dB=function(a,b,c,d,e,f,h){if(m(a)){var k=Fe.apply(null,arguments);this.Wj!=k&&(this.Wj=k,this.o(128,1));return this}return this.Wj||"none"};g.eB=function(a,b,c,d,e){if(m(a)){var f=Oe.apply(null,arguments);this.Bl!=f&&(this.Bl=f,this.o(128,1));return this}return this.Bl||"none"};
g.aE=function(a,b,c,d,e,f,h){if(m(a)){var k=Fe.apply(null,arguments);this.Gl!=k&&(this.Gl=k,this.o(128,1));return this}return this.Gl||"none"};g.bE=function(a,b,c,d,e){if(m(a)){var f=Oe.apply(null,arguments);this.Hl!=f&&(this.Hl=f,this.o(128,1));return this}return this.Hl||"none"};g.ID=function(a,b,c,d,e,f,h){if(m(a)){var k=Fe.apply(null,arguments);this.ti!=k&&(this.ti=k,this.o(128,1));return this}return this.ti||"none"};
g.JD=function(a,b,c,d,e){if(m(a)){var f=Oe.apply(null,arguments);this.wi!=f&&(this.wi=f,this.o(128,1));return this}return this.wi||"none"};g.UD=function(a,b,c,d,e,f,h){if(m(a)){var k=Fe.apply(null,arguments);this.lk!=k&&(this.lk=k,this.o(128,1));return this}return this.lk||"none"};g.VD=function(a,b,c,d,e){if(m(a)){var f=Oe.apply(null,arguments);this.Fl!=f&&(this.Fl=f,this.o(128,1));return this}return this.Fl||"none"};
g.sB=function(a,b,c,d,e,f,h){if(m(a)){var k=Fe.apply(null,arguments);this.Cl!=k&&(this.Cl=k,this.o(128,1));return this}return this.Cl||"none"};g.uB=function(a,b,c,d,e){if(m(a)){var f=Oe.apply(null,arguments);this.Zj!=f&&(this.Zj=f,this.o(64,1));return this}return this.Zj||"none"};g.xE=function(a,b,c,d,e,f,h){if(m(a)){var k=Fe.apply(null,arguments);this.Wc!=k&&(this.Wc=k,this.o(128,1));return this}return this.Wc||"none"};
g.yE=function(a,b,c,d,e){if(m(a)){var f=Oe.apply(null,arguments);this.ed!=f&&(this.ed=f,this.o(128,1));return this}return this.ed||"none"};g.JO=function(a,b,c,d,e){if(m(a)){var f=Oe.apply(null,arguments);this.Ki!=f&&(this.Ki=f,this.o(128,1));return this}return this.Ki||"none"};g.tA=function(a){if(m(a)){var b=Oe.apply(null,arguments),c=Pr(this.md),d=Pr(b);if(this.md!=b||d!=c)this.md=b,this.o(16,1);return this}return this.md};g.TB=function(a){return m(a)?(this.$L=a,this):this.$L||{}};
g.VB=function(a){return m(a)?(this.pM=a,this):this.pM||{}};g.WB=function(a){return m(a)?(this.wM=a,this):this.wM||{}};g.CD=function(a,b){var c,d;c=N(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.li[c];e||(e=new iJ(this.g),e.W(this.TB()),this.li[c]=e,H(this,e),O(e,this.Yw,this),this.o(512,1));return m(d)?(e.W(d),this):e};
g.hE=function(a,b){var c,d;c=N(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.yi[c];e||(e=new kJ(this.g),e.W(this.VB()),this.yi[c]=e,H(this,e),O(e,this.Yw,this),this.o(512,1));return m(d)?(e.W(d),this):e};g.aF=function(a,b){var c,d;c=N(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.fd[c];e||(e=new mJ(this.g),e.W(this.WB()),this.fd[c]=e,H(this,e),O(e,this.Yw,this),this.o(512,1));return m(d)?(e.W(d),this):e};g.Yw=function(){this.o(512,1)};
g.vA=function(a){lo(405,null,["minimumGap()","scale().minimumGap()"],!0);return m(a)?(this.g.Tq(a),this):this.g.Tq()};g.uA=function(a){lo(405,null,["maximumGap()","scale().maximumGap()"],!0);return m(a)?(this.g.Sq(a),this):this.g.Sq()};g.labels=function(a){this.Nc||(this.Nc=new iA,this.Nc.ub(this));if(m(a)){var b=!0;a instanceof iA?this.Nc.W(a.I()):z(a)?this.Nc.W(a):Or(a)?this.Nc.enabled(!1):b=!1;b&&this.o(64,1);return this}return this.Nc};
g.Rh=function(a){this.Oc||(this.Oc=new jA,this.Oc.ub(this));if(m(a)){var b=!0;a instanceof jA?this.Oc.W(a.I()):z(a)?this.Oc.W(a):Or(a)?this.Oc.enabled(!1):b=!1;b&&this.o(64,1);return this}return this.Oc};g.cB=function(a){return m(a)&&this.Ed!=a?(this.Ed=a,this.o(64,1),this):this.Ed};function uJ(a){a.vd||(a.vd=xI(a).Ba(),a.vd.zIndex(6),a.vd.stroke(a.md),H(a,a.vd));return a.vd}
function vJ(a){a.U||(a.U=new wJ(wI(a)),a.U.zIndex(0).cursor("ew-resize"),a.D.qa(a.U,"mousedown",function(a){a.stopPropagation()}),a.U.oc("mousedown",a.dM,!1,a),H(a,a.U));return a.U}function xJ(a){a.Gb||(a.Gb=new wJ(wI(a)),a.Gb.zIndex(10),a.D.qa(a.Gb,"mousedown",function(a){a.stopPropagation()}),a.Gb.oc("mousedown",a.iM,!1,a),H(a,a.Gb));return a.Gb}
function yJ(a){a.ma||(a.ma=new wJ(wI(a)),a.ma.zIndex(20).cursor("col-resize"),a.ma.b=vJ(a),a.D.qa(a.ma,"mousedown",function(a){a.stopPropagation()}),a.ma.oc("mousedown",a.bM,!1,a),H(a,a.ma));return a.ma}function zJ(a){a.ra||(a.ra=new wJ(wI(a)),a.ra.zIndex(30).cursor("col-resize"),a.ra.b=vJ(a),a.D.qa(a.ra,"mousedown",function(a){a.stopPropagation()}),a.ra.oc("mousedown",a.lM,!1,a),H(a,a.ra));return a.ra}
function AJ(a){a.ka||(a.ka=new wJ(wI(a)),a.ka.zIndex(40).cursor("move"),a.D.qa(a.ka,"mousedown",function(a){a.stopPropagation()}),a.ka.oc("mousedown",a.nM,!1,a),H(a,a.ka));return a.ka}function BJ(a){a.ga||(a.ga=new wJ(wI(a)),a.ga.zIndex(50).cursor("move"),a.D.qa(a.ga,"mousedown",function(a){a.stopPropagation()}),a.ga.oc("mousedown",a.aM,!1,a),H(a,a.ga));return a.ga}g.FC=function(a){return m(a)?(this.gn=a,this):this.gn};g.EC=function(a){return m(a)?(this.tn=a,this):this.tn};
g.DC=function(a){return m(a)?(this.sn=a,this):this.sn};g.GC=function(a){return m(a)?(this.wp=a,this):this.wp};g.uC=function(a){return m(a)?(this.qn=a,this):this.qn};g.tC=function(a){return m(a)?(this.pn=a,this):this.pn};g.sC=function(a){return m(a)?(this.nn=a,this):this.nn};g.vC=function(a){return m(a)?(this.rn=a,this):this.rn};g.yC=function(a){return m(a)?(this.me=a,this):this.me};function CJ(a){a.Jd||(a.Jd=wI(a).Ba(),a.Jd.stroke(a.Td).zIndex(60),H(a,a.Jd));return a.Jd}
function DJ(a,b){vJ(a).ad()||vJ(a).clear().Xa(1,0,0,1,0,0);xJ(a).ad()||xJ(a).clear().Xa(1,0,0,1,0,0);zJ(a).ad()||zJ(a).clear().Xa(1,0,0,1,0,0);yJ(a).ad()||yJ(a).clear().Xa(1,0,0,1,0,0);BJ(a).ad()||BJ(a).clear().Xa(1,0,0,1,0,0);AJ(a).ad()||AJ(a).clear().Xa(1,0,0,1,0,0);CJ(a).ad()||CJ(a).clear();b||(a.qb().enabled(a.Ec),a.Ec=void 0)}g.dM=function(a){this.ye=new EJ(vJ(this));H(this,this.ye);this.ye.qa("start",this.eM,!1,this);this.ye.qa("drag",this.fM,!1,this);this.ye.qa("end",this.gM,!1,this);this.ye.Cf(a.nf)};
g.iM=function(a){this.Qe=new FJ(xJ(this));H(this,this.Qe);this.Qe.qa("start",this.jM,!1,this);this.Qe.qa("drag",this.kM,!1,this);this.Qe.qa("end",this.hM,!1,this);this.Qe.Cf(a.nf)};g.bM=function(a){this.xe=new GJ(yJ(this),!0);H(this,this.xe);this.xe.qa("start",this.cM,!1,this);this.xe.qa("drag",this.IC,!1,this);this.xe.qa("end",this.HC,!1,this);this.xe.Cf(a.nf)};
g.lM=function(a){this.Ye=new GJ(zJ(this),!1);H(this,this.Ye);this.Ye.qa("start",this.mM,!1,this);this.Ye.qa("drag",this.IC,!1,this);this.Ye.qa("end",this.HC,!1,this);this.Ye.Cf(a.nf)};g.nM=function(a){this.Ze=new HJ(0,AJ(this),!0);H(this,this.Ze);this.Ze.qa("start",this.oC,!1,this);this.Ze.qa("drag",this.pC,!1,this);this.Ze.qa("end",this.nC,!1,this);this.Ze.Cf(a.nf)};
g.aM=function(a){this.ke=new HJ(0,BJ(this),!1);H(this,this.ke);this.ke.qa("start",this.oC,!1,this);this.ke.qa("drag",this.pC,!1,this);this.ke.qa("end",this.nC,!1,this);this.ke.Cf(a.nf)};g.eM=function(){this.w&&(this.w.Tf=!1);this.Ec=this.qb().enabled();this.qb().dc();this.qb().enabled(!1);rI(this.j);xJ(this).clear();yJ(this).clear();zJ(this).clear();AJ(this).clear();BJ(this).clear();vg(ca.document.body,"cursor","ew-resize")};g.fM=function(){this.B=!0;this.Y=!1;this.kn=!0};
g.gM=function(a){if(this.B){this.w&&(this.w.Tf=!0);var b=vJ(this).Pa();DJ(this);var c=a.target.element;a=c.item;var d=this.f.data();J(d);b=TH(this.g,4==c.type?(b.left+b.width/2-this.b.left)/this.b.width:(b.left-this.b.left)/this.b.width);if(!isNaN(b)){var e;switch(c.type){case 4:a.set("actualStart",b);a.R("actualStart",b);m(a.get("actualEnd"))&&(a.set("actualEnd",b),a.R("actualEnd",b));break;case 5:c=c.bg;e=a.Re("periods",c,"start");e=a.Re("periods",c,"end")+(b-e);isNaN(e)||(a.set("periods",c,"start",
b),a.Kh("periods",c,"start",b),a.set("periods",c,"end",e),a.Kh("periods",c,"end",e));break;case 3:e=a.R("baselineStart");c=a.R("baselineEnd");e=b-e;isNaN(c+e)||(a.set("baselineStart",b),a.R("baselineStart",b));a.set("baselineEnd",c+e);a.R("baselineEnd",c+e);break;default:c=C(a.R("actualStart"))?a.R("actualStart"):a.R("autoStart"),c=(C(a.R("actualEnd"))?a.R("actualEnd"):a.R("autoEnd"))+(b-c),isNaN(c)||(a.set("actualStart",b),a.R("actualStart",b),a.set("actualEnd",c),a.R("actualEnd",c))}}d.fa(!0);NI(this);
this.kn=this.B=!1;clearInterval(this.Ma);this.Ma=null}vg(ca.document.body,"cursor","")};g.jM=function(){this.w&&(this.w.Tf=!1);this.mn=!0;this.Ec=this.qb().enabled();this.qb().dc();this.qb().enabled(!1);yJ(this).clear();zJ(this).clear();AJ(this).clear();BJ(this).clear();vJ(this).clear()};g.kM=function(){this.B=!0;this.Y=!1};
g.hM=function(a){if(this.B){this.w&&(this.w.Tf=!0);DJ(this);a=a.target;var b=a.element;isNaN(a.Gc)||b.item.set("progressValue",Xp(100*a.Gc,2)+"%");this.B=!1;clearInterval(this.Ma);this.Ma=null;this.mn=!1}};g.mM=function(){this.w&&(this.w.Tf=!1);this.Ec=this.qb().enabled();this.qb().dc();this.qb().enabled(!1);xJ(this).clear();yJ(this).clear();zJ(this).clear();AJ(this).clear();BJ(this).clear();vg(ca.document.body,"cursor","col-resize");this.U.cursor("col-resize")};
g.cM=function(){this.w&&(this.w.Tf=!1);this.Ec=this.qb().enabled();this.qb().dc();this.qb().enabled(!1);xJ(this).clear();yJ(this).clear();zJ(this).clear();AJ(this).clear();BJ(this).clear();vg(ca.document.body,"cursor","col-resize");this.U.cursor("col-resize")};
function IJ(a,b,c){if(a.ec){var d=a.ec.f?a.ma:a.ra,e=d.item,f=d.bg,h=d.za;switch(d.type){case 3:d=a.ec.f?e.R("baselineEnd"):e.R("baselineStart");break;case 5:d=a.ec.f?e.Re("periods",f,"end"):e.Re("periods",f,"start");break;default:d=a.ec.f?C(e.R("actualEnd"))?e.R("actualEnd"):e.R("autoEnd"):C(e.R("actualStart"))?e.R("actualStart"):e.R("autoStart")}e=Ll(a.O().ja()).x;b=c?0>c?a.b.left:a.b.left+a.b.width:b.clientX-e;c=SH(a.g,d);c=a.b.left+a.b.width*c;a.U.clear().moveTo(c,h.top).lineTo(b,h.top).lineTo(b,
h.top+h.height).lineTo(c,h.top+h.height).close()}}function JJ(a,b,c,d){if(a.Ua&&a.B){var e=a.Ua.f?a.ka:a.ga,f=e.index,e=e.bg,h=Ll(a.O().ja()),k=h.x,h=h.y;c||d?(c=a.Ua.g-k,b=a.Ua.w-h):(c=b.clientX-k,b=b.clientY-h);e=KJ(a,f,e);d=Pr(a.Td)%2&&Ql===Rl?.5:0;f=a.Ua.f?e.left:e.left+e.width;e=e.top+e.height/2+d;CJ(a).clear().moveTo(f,e).lineTo(c,b)}}g.IC=function(a){this.B=!0;this.Y=!1;this.ec=a.target;IJ(this,a)};
g.HC=function(a){if(this.B){this.w&&(this.w.Tf=!0);var b=this.U.Pa();DJ(this);a=a.target.element;var c=a.item,d=a.bg,e=this.f.data();J(e);var f=(b.left+b.width-this.b.left)/this.b.width,b=TH(this.g,(b.left-this.b.left)/this.b.width),f=TH(this.g,f);if(!isNaN(b)&&!isNaN(f))switch(a.type){case 5:c.set("periods",d,"start",b);c.Kh("periods",d,"start",b);c.set("periods",d,"end",f);c.Kh("periods",d,"end",f);break;case 3:c.set("baselineStart",b);c.R("baselineStart",b);c.set("baselineEnd",f);c.R("baselineEnd",
f);break;default:c.set("actualStart",b),c.R("actualStart",b),c.set("actualEnd",f),c.R("actualEnd",f)}e.fa(!0);NI(this);this.ec=null;this.B=!1;clearInterval(this.Ma);this.Ma=null}vg(ca.document.body,"cursor","");this.U.cursor("ew-resize")};g.oC=function(a){this.w&&(this.w.Tf=!1);rI(this.j);this.Ua=a.target;DJ(this);this.Ec=this.qb().enabled();this.qb().dc();this.qb().enabled(!1)};g.pC=function(a){this.hc=this.B=!0;this.Y=!1;this.Ua.g=a.clientX;this.Ua.w=a.clientY};
g.nC=function(){this.B&&(this.w&&(this.w.Tf=!0),this.qb().enabled(this.Ec),this.Ec=void 0,CJ(this).clear(),this.B=!1,clearInterval(this.Ma),this.Ma=null)};
function LJ(a,b){var c=b.type;switch(c){case "mouseout":c="connectormouseout";break;case "mouseover":c="connectormouseover";break;case "mousemove":case "touchmove":c="connectormousemove";break;case "mousedown":case "touchstart":c="connectormousedown";break;case "mouseup":case "touchend":c="connectormouseup";break;case "click":c="connectorclick";break;case "dblclick":c="connectordblclick"}return{type:c,actualTarget:b.target,target:a,originalEvent:b}}
function MJ(a,b){if(b&&b.originalEvent){var c=b.originalEvent,d=c instanceof Zj?c.target:c.domTarget;if(d&&d instanceof OI&&6==d.type){var c=LJ(a,c),e;for(e in d.R)c[e]=d.R[e];return c}}return null}
g.cz=function(a){if(a&&a.originalEvent){var b=a.originalEvent,c=b.domTarget;if(this.bb)if(c&&c instanceof OI){var d=a.item,e=d.get("id");m(this.ik)||(this.ik=e);var f=a.period,h=a.periodIndex;m(h)&&isNaN(this.jk)&&(this.jk=h);this.ik!=e&&this.jk!=h&&(DJ(this,!0),this.ik=e,m(h)&&(this.jk=h));if(c.u&&!this.B){b=c.u;vJ(this).clear().moveTo(b.left,b.top).lineTo(b.left+b.width,b.top).lineTo(b.left+b.width,b.top+b.height).lineTo(b.left,b.top+b.height).close();this.U.item=d;this.U.type=c.type;f&&(this.U.kl=
f);m(h)&&(this.U.bg=h);if(!d||1!=c.type&&0!=c.type&&2!=c.type)xJ(this).clear();else{var e=m(d.get("progressValue"))?parseFloat(d.get("progressValue"))/100:Xp(d.R("autoProgress"),2),e=b.left+(e||0)*b.width,k=b.top+b.height;xJ(this).clear().moveTo(e,k-5).lineTo(e+5,k).lineTo(e+5,k+5).lineTo(e-5,k+5).lineTo(e-5,k).close();this.Gb.za=b;this.Gb.item=d}k=b.left+b.width;d&&4!=c.type?(zJ(this).clear().moveTo(k+1,b.top).lineTo(k+1-this.me,b.top).lineTo(k+1-this.me,b.top+b.height).lineTo(k+1,b.top+b.height).close(),
yJ(this).clear().moveTo(b.left-1,b.top).lineTo(b.left-1+this.me,b.top).lineTo(b.left-1+this.me,b.top+b.height).lineTo(b.left-1,b.top+b.height).close(),this.ra.za=b,this.ra.item=d,this.ra.type=c.type,this.ma.za=b,this.ma.item=d,this.ma.type=c.type,f&&(this.ra.kl=f,this.ma.kl=f),m(h)&&(this.ra.bg=h,this.ma.bg=h)):(yJ(this).clear(),zJ(this).clear());if(d&&3!=c.type){var e=b.top+b.height/2,l=this.pn/2;ls(this.qn).call(null,BJ(this),k+l+this.nn,e+this.rn,l);k=this.tn/2;ls(this.gn).call(null,AJ(this),b.left-
k+this.sn,e+this.wp,k);this.ga.item=d;this.ga.type=c.type;this.ga.index=a.hoveredIndex+this.f.ud();this.ka.item=d;this.ka.type=c.type;this.ka.index=a.hoveredIndex+this.f.ud();f&&(this.ka.kl=f,this.ga.kl=f);m(h)&&(this.ka.bg=h,this.ga.bg=h)}else BJ(this).clear(),AJ(this).clear()}else this.hc&&d&&(e=this.Ua.f?this.ka:this.ga,k=e.item,l=e.index,3!=c.type&&6!=c.type?(f?(b={item:k,period:e.kl,index:l,periodIndex:e.bg},d={item:d,period:f,index:a.hoveredIndex+this.f.ud(),periodIndex:h}):(b={item:k,index:l},
d={item:d,index:a.hoveredIndex+this.f.ud()}),f=a.originalEvent.clientX-Ll(this.O().ja()).x,h=c.u,f=.5>(f-h.left)/h.width,f=this.Ua.f?f?"startstart":"startfinish":f?"finishstart":"finishfinish",CJ(this).clear(),NJ(this,b,d,f,void 0,this.Jd)):JJ(this,b))}else c==vJ(this)||c==xJ(this)||c==zJ(this)||c==yJ(this)||c==BJ(this)||c==AJ(this)||this.B?this.hc&&JJ(this,b):DJ(this,!0);if(d=MJ(this,a))this.j.dispatchEvent(d),this.ii=c.R;else if(this.ii){if(a&&a.originalEvent){a={type:"connectormouseout",actualTarget:a.originalEvent.target,
target:this,originalEvent:a.originalEvent};for(var n in this.ii)a[n]=this.ii[n];d=a}else d=null;this.j.dispatchEvent(d);this.ii=null}}};g.px=function(a){this.bb&&(this.G=a.item)};g.bz=function(a){a&&(a=MJ(this,a))&&this.j.dispatchEvent(a)};
g.dz=function(a){if(this.bb&&this.hc){if(a){var b=a.item,c=a.periodIndex,d=a.originalEvent,e=d.domTarget;if(e instanceof OI&&3!=e.type){var d=d.clientX-Ll(this.O().ja()).x,e=e.u,f=this.Ua.f?this.ka:this.ga,e=.5>(d-e.left)/e.width;d=f.item;e=this.Ua.f?e?"startstart":"startfinish":e?"finishstart":"finishfinish";f=f.bg;e=e||"finishstart";d instanceof kG||d instanceof mG||(d=this.f.data().Yo("id",d),d=d.length?d[0]:null);if(d&&(b instanceof kG||b instanceof mG||(b=this.f.data().Yo("id",b),b=b.length?
b[0]:null),b)){J(this.f.data());var h,k,l,n;n=!1;if(this.f.D){var p=d.get("periods")[f],r=b.get("periods")[c];m(p)&&m(r)&&(h=p.connector,k={},k.connectTo=r.id,k.connectorType=e,h?q(h)?h=h.length:(n=$b(h),l={},l.connectTo=p.connectTo,l.connectorType=p.connectorType||"finishstart",bc(l,n),h=1,n=!0):(h=p.connectTo,m(h)?(l={},l.connectTo=h,l.connectorType=p.connectorType||"finishstart",h=1,n=!0):h=0),c={type:"beforeCreateConnector",target:b,source:d,connectorType:e,targetPeriod:r,targetPeriodIndex:c,
sourcePeriod:p,sourcePeriodIndex:f},this.j.dispatchEvent(c)&&(n&&d.set("periods",f,"connector",[l]),d.set("periods",f,"connector",h,k)))}else h=d.get("connector"),k={},k.connectTo=b.get("id"),k.connectorType=e,h?q(h)?h=h.length:(n=$b(h),l={},l.connectTo=d.get("connectTo"),l.connectorType=d.get("connectorType")||"finishstart",bc(l,n),h=1,n=!0):(h=d.get("connectTo"),m(h)?(l={},l.connectTo=h,l.connectorType=d.get("connectorType")||"finishstart",h=1,n=!0):h=0),c={type:"beforeCreateConnector",target:b,
source:d,connectorType:e},this.j.dispatchEvent(c)&&(n&&d.set("connector",[l]),d.set("connector",h,k));this.f.data().fa(!0)}}}this.hc=!1}(a=MJ(this,a))&&this.j.dispatchEvent(a);this.Ua=null;this.Y=!0};g.Sw=function(a){if(this.B&&!this.mn&&(this.Db||this.Xb)){var b=0,c=0;this.Db&&(b=0=l){var k=.7*d,l=Math.round(a.b.left+a.b.width*l),n=Math.round(c+(d-k)/2);a.Rh().add({value:{x:l,y:n}}).size(k/2).W(h)}}}}}
function KJ(a,b,c){var d=a.b.top+a.Fe()+1,e=a.f.b,f=a.f.ud(),h=a.f.i,k=a.f.Xe(),h=h[b];b=(b?e[b-1]:0)-((f?e[f-1]:0)+k)+d;d=YH(a.f,h);e=C(h.R("actualStart"))?h.R("actualStart"):h.R("autoStart");f=C(h.R("actualEnd"))?h.R("actualEnd"):h.R("autoEnd");e=a.f.D?h.Re("periods",c,"start"):e;c=a.f.D?h.Re("periods",c,"end"):f;f=0;if(isNaN(c)||e==c)c=e,f=.7*d/2;if(isNaN(c)||isNaN(e))return null;e=SH(a.g,e)*a.b.width+a.b.left-f;c=SH(a.g,c)*a.b.width+a.b.left+f;a.f.D||(h.get("baselineStart")&&h.get("baselineEnd")?
d=a.Ed?2.7*d/2:.65*d:h.lb()&&(d*=1-.7+.4));return new K(e,b,c-e,d)}
function NJ(a,b,c,d,e,f){d=d||"finishstart";var h=b.index,k=c.index,l=b.periodIndex,n=c.periodIndex,p=a.f.i,r=p[h],p=p[k],t=KJ(a,h,b.periodIndex),u=KJ(a,k,c.periodIndex);if(t&&u){c=e&&e.fill?Fe(e.fill):a.Cl;e=e&&e.stroke?Oe(e.stroke):a.Zj;b=!!f;var v,w,x,y,A;f=f||null;var D=b?f:null,P,R,T=Pr(e)%2&&Ql===Rl?.5:0;switch((d+"").toLowerCase()){case "finishfinish":v=Math.round(t.left+t.width)+T;w=Math.round(t.top+t.height/2)+T;x=Math.round(u.left+u.width)+T;y=Math.round(u.top+u.height/2)+T;A="left";t.top==
u.top?(f=SJ(a,v,w,x,y,f),v>x&&(A="right")):(t=Math.max(v+9,x+9),f=SJ(a,v,w,t,w,f),f=SJ(a,t,w,t,y,f),f=SJ(a,t,y,x,y,f));D=TJ(a,x,y,A,D);break;case "startfinish":v=Math.round(t.left)+T;w=Math.round(t.top+t.height/2)+T;x=Math.round(u.left+u.width)+T;y=Math.round(u.top+u.height/2)+T;A="left";v-5-5-4>x?(t=x+9,f=SJ(a,v,w,t,w,f),f=SJ(a,t,w,t,y,f),f=SJ(a,t,y,x,y,f)):(R=u.top>=t.top,t=v-5,P=x+9,u=Math.round(R?u.top:u.top+u.height)+T,f=SJ(a,v,w,t,w,f),f=SJ(a,t,w,t,u,f),f=SJ(a,t,u,P,u,f),f=SJ(a,P,u,P,y,f),f=
SJ(a,P,y,x,y,f));D=TJ(a,x,y,A,D);break;case "startstart":v=Math.round(t.left)+T;w=Math.round(t.top+t.height/2)+T;x=Math.round(u.left)+T;y=Math.round(u.top+u.height/2)+T;A="right";t.top==u.top?(f=SJ(a,v,w,x,y,f),v>x&&(A="left")):(t=Math.min(v-4-5,x-4-5),f=SJ(a,v,w,t,w,f),f=SJ(a,t,w,t,y,f),f=SJ(a,t,y,x,y,f));D=TJ(a,x,y,A,D);break;default:v=Math.round(t.left+t.width)+T,w=Math.round(t.top+t.height/2)+T,x=Math.round(u.left)+T,x>=v?(x=Math.min(x+5,Math.round(u.left+u.width/2)+T),u.top>t.top?(y=Math.round(u.top)+
T,f=SJ(a,v,w,x,w,f),f=SJ(a,x,w,x,y,f),D=TJ(a,x,y,"bottom",D)):u.topt.top?u.top:u.top+u.height)+T,t=v+5,P=x-5-4,f=SJ(a,v,w,t,w,f),f=SJ(a,t,w,t,u,f),f=SJ(a,t,u,P,u,f),f=SJ(a,P,u,P,y,f),f=SJ(a,P,y,x,y,f),D=TJ(a,x,y,"right",D))}d={fromItemIndex:h,toItemIndex:k,
connType:d,fromItem:r,toItem:p};h=!!a.P&&a.P.fromItemIndex==d.fromItemIndex&&a.P.toItemIndex==d.toItemIndex&&a.P.connType==d.connType;a.f.D&&(d.fromPeriodIndex=l,d.toPeriodIndex=n,a.P&&(h&=a.P.fromPeriodIndex==d.fromPeriodIndex&&a.P.toPeriodIndex==d.toPeriodIndex));f&&!b&&(f.stroke(e),f.tag=void 0,f.type=6,f.u=null,f.cursor(a.bb?"pointer":"default"),d.path=f,f.R=d,f.stroke(h?a.Ki:e));D&&!b&&(D.fill(c).stroke(e),D.tag=void 0,D.type=6,D.u=null,D.cursor(a.bb?"pointer":"default"),d.arrow=D,D.R=d,D.stroke(h?
a.Ki:e))}}function SJ(a,b,c,d,e,f){if(f)try{f.lineTo(d,e)}catch(n){f.moveTo(b,c).lineTo(d,e)}else{var h=Math.max(b,d),k=Math.min(c,e),l=Math.max(c,e);Math.min(b,d)a.b.left&&ka.b.top&&(f=PJ(a),f.zIndex(60).moveTo(b,c).lineTo(d,e))}return f}
function TJ(a,b,c,d,e){var f=e||null;if(b>=a.b.left&&b<=a.b.left+a.b.width&&c>=a.b.top&&c<=a.b.top+a.b.height){var h=0,k=0,l=0,n=0;switch(d){case "left":b+=1;h=b+4;k=c-4;l=h;n=c+4;break;case "top":c+=1;h=b-4;k=c+4;l=b+4;n=k;break;case "right":--b;h=b-4;k=c-4;l=h;n=c+4;break;case "bottom":--c,h=b-4,k=c-4,l=b+4,n=k}e||(f=PJ(a));f.zIndex(70).moveTo(b,c).lineTo(h,k).lineTo(l,n).lineTo(b,c)}return f}
function NI(a){var b=a.g.ad(),c=PH(a.g),d=a.f.u,e=a.f.G;J(a.g);var f=a.g,h,k;h=Ar(d);k=Ar(e);if(f.D!=h||f.g!=k)f.D=h,f.g=k,f.u=NaN,f.j=NaN,f.b=!1,OH(f),f.ea(4);a.g.ka=d;a.g.ga=e;!b||isNaN(d)||isNaN(e)||(d=QH(a.g),a.g.Df(d.min,d.min+Math.round((d.max-d.min)/10)));!b&&(b=c.min,d=c.max-b)&&(c=PH(a.g),b=c.min,a.g.Df(b,b+d));a.g.fa(!0)}g.qD=function(){xI(this).zIndex(34);this.Rh().O(vI(this));this.labels().O(vI(this));this.Em().O(sI(this));NI(this)};
g.tu=function(){this.Em().za().set(this.b.left,this.b.top,this.b.width,this.Fe());this.zi=!0};g.su=function(){uJ(this).stroke(this.md);CJ(this).stroke(this.Td);vJ(this).fill(this.$j).stroke(this.ak);xJ(this).fill(this.ck).stroke(this.dk);yJ(this).fill(this.nh).stroke(this.oh);zJ(this).fill(this.nh).stroke(this.oh);AJ(this).fill(this.lh).stroke(this.mh);BJ(this).fill(this.lh).stroke(this.mh)};
g.Mx=function(){Q(this,512)&&(this.zi=this.tc=!0,this.K(512));if(this.zi){this.Em().o(64);this.ta.$();var a,b=[];this.ta.Po().enabled()?a=this.ta.Po():this.ta.To().enabled()?a=this.ta.To():this.ta.op().enabled()&&(a=this.ta.op());a&&(b=a.iw());a=b;if(a.length)for(var b=uJ(this).clear(),c=0,d=a.length-1;cD){var R=this.b.left+this.b.width*D,T=.7*u;QJ(this,new K(R,t+(u-T)/2,this.b.left+this.b.width*P-R,T),x,5)}}}RJ(this,l,f,n);f=p+this.ib}else for(var Z=this.b.top+this.Fe()+1-this.f.Xe(),aa=this.f.i,V=this.f.ud();V<=fI(this.f);V++){var I=aa[V];if(!I)break;var va=YH(this.f,I),za=Z+va,sb=I.get("baselineStart"),Nc=I.get("baselineEnd");if(m(sb)&&m(Nc)){var Ia=I,pc=
Z,hd=va,nb=C(Ia.R("actualStart"))?Ia.R("actualStart"):Ia.R("autoStart"),xb=C(Ia.R("actualEnd"))?Ia.R("actualEnd"):Ia.R("autoEnd"),Uf=Ia.R("baselineStart"),Wg=Ia.R("baselineEnd"),Vl=SH(this.g,nb),of=SH(this.g,xb),Na=SH(this.g,Uf),Md=SH(this.g,Wg);if(0Vl||0Na){var Sb=this.b,Db=Sb.left+Sb.width*Vl,le=Sb.left+Sb.width*of,Gf=pc+hd*(1-.7)/2,qb=.7*hd/2,Ui=Sb.left+Sb.width*Na,Xg=Sb.left+Sb.width*Md,Wl=Gf+qb;if(this.Ed)var Xl=Gf,Gf=Wl,Wl=Xl;var br=QJ(this,new K(Db,Gf,le-Db,qb),Ia,1,"actual");
QJ(this,new K(Ui,Wl,Xg-Ui,qb),Ia,3,"baseline");var so=1*qb,to=Gf+(qb-so)/2,uo=m(Ia.get("progressValue"))?parseFloat(Ia.get("progressValue"))/100:Xp(Ia.R("autoProgress"),2);uo&&(QJ(this,new K(Db,to,uo*(le-Db),so),Ia,2,"progress").u=br.u)}}else if(I.lb()){var Zd=I,cr=Z,Zu=va,XA=C(Zd.R("actualStart"))?Zd.R("actualStart"):Zd.R("autoStart"),YA=C(Zd.R("actualEnd"))?Zd.R("actualEnd"):Zd.R("autoEnd"),$u=SH(this.g,XA),vo=SH(this.g,YA);if(0$u){var Vi=this.b.left+this.b.width*$u,av=this.b.left+this.b.width*
vo,dr=cr+Zu*(1-.7)/2,Yl=.4*Zu,er=QJ(this,new K(Vi,dr,av-Vi,Yl),Zd,0,"actual"),bv=1*Yl,mk=dr+(Yl-bv)/2,fr=m(Zd.get("progressValue"))?parseFloat(Zd.get("progressValue"))/100:Xp(Zd.R("autoProgress"),2);fr&&(QJ(this,new K(Vi,mk,fr*(av-Vi),bv),Zd,2,"progress").u=er.u)}}else if(pI(I)){var Yg=I,gr=Z,wo=va,hr=Yg.get("actualStart"),Zl=SH(this.g,hr);if(0<=Zl&&1>=Zl){var Zg=Yg.get("milestone"),Wi=Zg&&m(Zg.stroke)?Oe(Zg.stroke):this.wi,cv=(Or(Wi)?0:B(Wi)?1:Wi.thickness?Wi.thickness:1)%2&&Ql===Rl?.5:0,Xi=Math.round(.7*
wo/2),$l=Math.round(this.b.left+this.b.width*Zl)+cv,am=Math.round(gr+wo/2)+cv,Yi=PJ(this);Yi.tag=Yg.get("id");Yi.type=4;var ir=$l-Xi,bm=am-Xi,xo=$l+Xi,yo=am+Xi,cm=Xi+Xi;Yi.zIndex(20).moveTo(ir,am).lineTo($l,bm).lineTo(xo,am).lineTo($l,yo).close();var jr=new K(ir,bm,cm,cm);Yi.u=jr;J(this.f.data());Yg.R("relBounds",jr);this.f.data().fa(!1);var He=Zg?Zg.label:void 0,$g=void 0;He&&m(He.value)?$g=He.value+"":$g=Yg.get("name")||"";if($g){var Hf=He&&He.position?He.position:this.labels().J("position"),Hf=
tn(Hf),ZA={value:Br(jr,Hf)},Ie={value:$g},kr=this.labels().add(Ie,ZA);He&&kr.W(He);J(this.f.data());Yg.R("labelBounds",this.labels().measure(kr));this.f.data().fa(!1)}var dm=Yg==this.Oa;if(Zg){var em;dm?(em=this.Wc,Wi=this.ed):em=m(Zg.fill)?Fe(Zg.fill):this.ti;Yi.fill(em).stroke(Wi)}else Yi.fill(dm?this.Wc:this.ti).stroke(dm?this.ed:this.wi)}}else{var If=I,lr=Z,zo=va,Ao=C(If.R("actualStart"))?If.R("actualStart"):If.R("autoStart"),dv=C(If.R("actualEnd"))?If.R("actualEnd"):If.R("autoEnd"),mr=SH(this.g,
Ao),ev=SH(this.g,dv);if(0mr){var fm=this.b.left+this.b.width*mr,nr=this.b.left+this.b.width*ev,gm=.7*zo,or=lr+(zo-gm)/2,fv=QJ(this,new K(fm,or,nr-fm,gm),If,1,"actual"),pr=1*gm,qr=or+(gm-pr)/2,rr=parseFloat(If.get("progressValue"));rr&&(QJ(this,new K(fm,qr,rr*(nr-fm)/100,pr),If,2,"progress").u=fv.u)}}RJ(this,I,Z,va);Z=za+this.ib}this.labels().$();this.Rh().$();for(var Bo=this.f.U,Co=Bo.length,Zi,$A=this.f.D?this.f.P:this.f.Y;Co--;){Zi=Bo[Co];var ah=Zi.to;z(ah)||(ah=$A[ah]);m(ah)?(Zi.to=ah,NJ(this,
Zi.from,ah,Zi.type,Zi.connSettings)):hb(Bo,Co,1)}for(var hm=this.Qi,aB=this.Ti.length;hmc.w||(c.D=Math.min(c.D,a),c.i=a,c.g=Math.max(c.g,b),c.f=b,c.ea(4)));else if(this.hc||this.B&&this.G||!this.B)c=this.g,a&&!c.ad()&&(b=QH(c),a=Math.round((c.f-c.i)*a),a=0<=
a?Math.min(b.max-c.f,a):Math.max(b.min-c.i,a),NH(c,c.i+a,c.f+a));kv(this,this.g,this.f)};g.scale=function(a){return m(a)?(this.g.W(a),this):this.g};
g.I=function(){var a=tJ.F.I.call(this);a.scale=this.g.I();a.labels=this.labels().I();a.markers=this.Rh().I();a.header=this.Em().I();a.columnStroke=So(this.md);a.baselineAbove=this.Ed;a.baseFill=So(this.Tj);a.baseStroke=So(this.Uj);a.baselineFill=So(this.Wj);a.baselineStroke=So(this.Bl);a.milestoneFill=So(this.ti);a.milestoneStroke=So(this.wi);a.parentFill=So(this.lk);a.parentStroke=So(this.Fl);a.progressFill=So(this.Gl);a.progressStroke=So(this.Hl);a.connectorFill=So(this.Cl);a.connectorStroke=So(this.Zj);
a.selectedElementFill=So(this.Wc);a.selectedElementStroke=So(this.ed);a.selectedConnectorStroke=So(this.Ki);a.connectorPreviewStroke=So(this.Td);a.editPreviewFill=So(this.$j);a.editPreviewStroke=So(this.ak);a.editProgressFill=So(this.ck);a.editProgressStroke=So(this.dk);a.editIntervalThumbFill=So(this.nh);a.editIntervalThumbStroke=So(this.oh);a.editConnectorThumbFill=So(this.lh);a.editConnectorThumbStroke=So(this.mh);a.editStartConnectorMarkerType=this.gn;a.editStartConnectorMarkerSize=this.tn;a.editStartConnectorMarkerHorizontalOffset=
this.sn;a.editStartConnectorMarkerVerticalOffset=this.wp;a.editFinishConnectorMarkerType=this.qn;a.editFinishConnectorMarkerSize=this.pn;a.editFinishConnectorMarkerHorizontalOffset=this.nn;a.editFinishConnectorMarkerVerticalOffset=this.rn;a.editIntervalWidth=this.me;var b,c=[];for(b=0;b=e[1])&&(b=c+.5*Math.PI):d[0]>e[0]&&(d[1]<=e[1]||d[1]>=e[1])&&(b=c+.5*Math.PI);break;case "center":b=bK(a,"outside",c,d,e);d[0]+=Math.cos(b)*a.length()/2;d[1]+=Math.sin(b)*a.length()/2;b+=Math.PI;break;default:b=$d(c-Math.PI/2,2*Math.PI),"top"==$J(a)||"left"==$J(a)?d[0]>e[0]&&(d[1]<=e[1]||d[1]>=e[1])&&(b=c-1.5*Math.PI):d[0]<=e[0]&&(d[1]<=e[1]||d[1]>=e[1])&&(b=c-1.5*
Math.PI)}return b}function cK(a,b){var c,d;a.i.gd();b=parseFloat(b);c=aK(a);var e=a.J("position"),f=a.J("length");d=$J(a);"top"==d||"bottom"==d?(d=a.i.transform(b,c,null),c=a.i.transform(b+1,c,null)):(d=a.i.transform(c,b,null),c=a.i.transform(c,b+1,null));var h=Math.atan(-(d[1]-c[1])/(c[0]-d[0]));isNaN(h)&&(h=0);e=bK(a,e,h,d,c);return[d[0],d[1],d[0]+Math.cos(e)*f,d[1]+Math.sin(e)*f,e]}
function dK(a,b){var c=cK(a,b);return new K(Math.min(c[0],c[2]),Math.min(c[1],c[3]),Math.abs(c[0]-c[2]),Math.abs(c[1]-c[3]))}g.remove=function(){this.b&&this.b.parent(null)};g.$=function(){aK(this);this.b.clear();this.b.stroke(this.J("stroke"));if(!this.wb())return this;Q(this,8)&&(this.b.zIndex(this.zIndex()),this.K(8));Q(this,2)&&(this.b.parent(this.O()),this.K(2));return this};g.uz=function(a){a=cK(this,a);this.b.moveTo(a[0],a[1]);this.b.lineTo(a[2],a[3])};
g.Ib=function(a,b){return ja(b)||null===b?(a?this.Ia.enabled=!!b:this.enabled(!!b),!0):!1};g.aa=function(a,b){if(b){for(var c in this.Yp){var d=a[c];m(d)&&(this.Ia[c]=d)}"enabled"in a&&(this.Ia.enabled=a.enabled);"zIndex"in a&&(this.Ia.zIndex=a.zIndex)}else Sv(this,this.Yp,a),XJ.F.aa.call(this,a)};
g.I=function(){var a={},b;this.Kb("zIndex")&&(b=this.kb("zIndex"));m(b)||(b=this.Jb("zIndex"));m(b)&&(a.zIndex=b);var c;this.Kb("enabled")&&(c=this.kb("enabled"));m(c)||(c=this.Jb("enabled"));a.enabled=m(c)?c:null;Tv(this,this.Yp,a,"Map axis ticks props");return a};function eK(){U.call(this);this.Rt=[];this.St=[];this.Ia={};this.f={};this.j=this.ca=null;this.Fb=980}G(eK,U);g=eK.prototype;g.oa=U.prototype.oa|976;g.la=U.prototype.la|32768;g.cb=null;g.ua=null;g.eb=null;g.pb=null;g.Mb=null;g.xa=null;g.Rt=null;g.St=null;g.kb=function(a){return this.f[a]};g.Kb=function(a){return m(this.f[a])};g.Jb=function(a){return this.Ia[a]};g.J=ow;g.Nb=function(a,b){this.f[a]=b};g.wa=function(){return!0};g.ce=function(a){m(a)&&(this.j=a);return this.j};g.Rf=nw;
g.Vc=function(){var a=[this.Ia];this.ca&&(a=kb(a,this.ca.Vc()));return a};g.Lc=function(){var a=[this.f];this.ca&&(a=kb(a,this.ca.Lc()));return a};g.parent=function(a){return m(a)?(this.ca!=a&&(this.ca&&gv(this.ca,this.wz,this),(this.ca=a)&&O(this.ca,this.wz,this)),this):this.ca};g.wz=function(a){var b=0,c=0;S(a,1)&&(b|=16,c|=1);S(a,8)&&(b|=this.Fb,c|=8);S(a,32768)&&(b|=1,c|=9);this.j=null;this.o(b,c)};var fK=eK.prototype,gK={};W(gK,1,"stroke",Xv,16,1);W(gK,0,"overlapMode",In,980,9);
W(gK,0,"drawFirstLabel",Pv,980,9);W(gK,0,"drawLastLabel",Pv,980,9);fK.Zp=gK;Qv(eK,eK.prototype.Zp);g=eK.prototype;g.enabled=function(a){return m(a)?(this.f.enabled!=a&&(a=this.f.enabled=a,this.o(1,this.Eh()),a?(this.va=!1,this.fa(!0)):isNaN(this.Sd)?J(this):this.va=!0),this):this.J("enabled")};g.title=function(a){this.Ja||(this.Ja=new Ex,this.Ja.ub(this),this.Ja.parent(this.parent().title()),O(this.Ja,this.uI,this),H(this,this.Ja));return m(a)?(this.Ja.W(a),this):this.Ja};
g.uI=function(a){var b=0,c=0;S(a,8)?(b=this.Fb,c=9):S(a,1)&&(b=64,c=1);this.o(b,c)};g.labels=function(a){this.ua||(this.ua=new iA,this.ua.ub(this),O(this.ua,this.rI,this),H(this,this.ua));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.ua.W(a),this):this.ua};g.rI=function(a){var b=0,c=0;S(a,8)?(b=this.Fb,c=9):S(a,1)&&(b=384,c=1);this.Bb();this.o(b,c)};
g.Da=function(a){this.pb||(this.pb=new iA,this.pb.ub(this),O(this.pb,this.sI,this),H(this,this.pb));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.pb.W(a),this):this.pb};g.sI=function(a){var b=0,c=0;S(a,8)?(b=this.Fb,c=9):S(a,1)&&(b=384,c=1);this.Bb();this.o(b,c)};function hK(a){var b=new XJ;$J(b,a.w);b.ub(a);O(b,a.tI,a);H(a,b);return b}g.Fd=function(a){this.eb||(this.eb=hK(this),this.eb.parent(this.parent().Fd()));return m(a)?(this.eb.W(a),this):this.eb};
g.Ka=function(a){this.Mb||(this.Mb=hK(this),this.Mb.parent(this.parent().Ka()));return m(a)?(this.Mb.W(a),this):this.Mb};g.tI=function(a){var b=0,c=0;S(a,8)?(b=this.Fb,c=9):S(a,1)&&(b=384,c=1);this.Bb();this.o(b,c)};g.scale=function(a){return m(a)?(this.Rd!=a&&(this.Rd&&gv(this.Rd,this.xz,this),(this.Rd=a)&&O(this.Rd,this.xz,this),this.Bb(),DA(this.labels()),DA(this.Da()),this.Fd().Sm(this.Rd),this.Ka().Sm(this.Rd),this.o(this.Fb,9)),this):this.Rd};
g.xz=function(a){S(a,2)&&(this.Bb(),DA(this.labels()),DA(this.Da()),this.o(this.Fb,9))};g.wc=function(a){return m(a)?(this.w=a,this):this.w};g.rc=function(){return"top"==this.w||"bottom"==this.w};g.Sj=function(a){this.b&&this.b.Xa(a.rb,a.Lb,a.Hb,a.Eb,a.sb,a.tb)};
function iK(a,b,c){var d,e;c=parseFloat(c);var f;f=Math.abs(c)%1;d=Math.floor(Math.abs(c));e=Math.floor(60*f);f=Math.floor(60*f%1*60);d+="°";if(f||!f&&e)e+="",1==e.length&&(e="0"+e),d+=e+"'";e=a.rc()?0=V&&va||1<=V&&za?D=I:0V&&(D=I)),I++;R<=Ia&&x=V&&va||1<=V&&za?(t=y,r.push(!0)):0V?(t=y,r.push(!0)):r.push(!1))):r.push(!1),y++)}pc||(r=!1)}p||(n=!1);this.u={labels:n,Da:r};this.K(512)}l=this.u}z(l)?(p=l.labels,r=l.Da):(p=!l,r=!l);A=(this.rc()?this.scale().Vj():this.scale().Xj()).get();n=l=0;for(D=A.length;lb;)k=c.transform(h,l,null),d.lineTo(k[0],k[1]),l-=f;k=c.transform(h,b,null);d.lineTo(k[0],k[1]);for(l=h;l>e;)k=c.transform(l,b,null),d.lineTo(k[0],k[1]),l-=f;k=c.transform(e,b,null);d.lineTo(k[0],k[1]);for(l=b;lb;)h=c.transform(l,k,null),d.lineTo(h[0],h[1]),l-=f;h=c.transform(b,k,null);d.lineTo(h[0],h[1]);for(l=k;l>e;)h=c.transform(b,l),d.lineTo(h[0],h[1]),l-=f}h=c.transform(b,e,null);d.lineTo(h[0],h[1]);d.close()}};g.remove=function(){this.b&&this.b.parent(null)};
g.$=function(){var a=this.g;if(!a)return io(2),this;if(!this.wb())return this;var b=BK(this,!0),c=BK(this,!1);this.b||(this.b=Uh(),DK(this).parent(this.b),CK(this).parent(this.b),b.parent(this.b).zIndex(1),c.parent(this.b).zIndex(0));if(Q(this,8)){var d=this.zIndex();this.b.zIndex(d);this.K(8)}Q(this,2)&&(d=this.O(),this.b.parent(d),this.K(2));Q(this,16)&&(b.stroke(this.J("stroke")),c.stroke(this.J("minorStroke")),CK(this).fill(this.J("oddFill")),DK(this).fill(this.J("evenFill")),this.K(16));if(Q(this,
64)||Q(this,4)){var e,f,h,k,l,d=NaN,n,p,r,t=a.precision();"horizontal"==AK(this)?(h=a.Vi(),k=a.Xj(),t=t[0],a=a.Xf(),e=[this.MI,this.KI]):(h=a.Ui(),k=a.Vj(),t=t[1],a=a.Wf(),e=[this.NI,this.LI]);h=h.get();k=k.get();DK(this).clear();CK(this).clear();b.clear();c.clear();var u=e[0],v=e[1];n=-b.ah()%2/2;p=0;for(r=h.length;pa?-Math.PI/2:Math.asin(a)};g.acos=function(a){return 1a?Math.PI:Math.acos(a)};function KK(a){return 0Math.PI*Math.PI+1E-6)return[NaN,NaN];var c=a,d=b,e=25,f=0;do{var h=Math.sin(c),k=Math.sin(c/2),l=Math.cos(c/2),n=Math.sin(d),p=Math.cos(d),r=Math.sin(2*d),t=n*n,u=p*p,v=k*k,w=1-u*l*l,x=w?this.acos(p*l)*Math.sqrt(f=1/w):f=0,w=2*x*p*k-a,y=x*n-b,A=f*(u*v+x*p*l*t),D=f*(.5*h*r-2*x*n*k),h=.25*f*(r*k-x*n*u*h),p=f*(t*l+x*v*p),l=D*h-p*A;if(!l)break;D=(y*D-w*p)/l;w=(w*h-y*A)/l;c-=D;d-=w}while((1E-6a?-1:0)*Math.atan2(this.sinh(d)*e,.25-h);b=2*(0b?-1:0)*Math.atan2(f*Math.sin(c),.25+h);return[ce(a),ce(b)]};function NK(){this.f=45*Math.PI/180;this.b=1/Math.tan(this.f)}G(NK,JK);NK.prototype.forward=function(a,b){a=be(a);b=be(b);var c=this.b+this.f-b,d=c?a*Math.cos(b)/c:c;a=c*Math.sin(d);b=this.b-c*Math.cos(d);return[a,b]};NK.prototype.$c=function(a,b){var c=Math.sqrt(a*a+(b=this.b-b)*b),d=this.b+this.f-c;a=c/Math.cos(d)*Math.atan2(a,b);return[ce(a),ce(d)]};function OK(){}G(OK,JK);OK.prototype.forward=function(a,b){a=be(a);b=be(b);var c=Math.sqrt(8/(3*Math.PI));a=c*a*(1-Math.abs(b)/Math.PI);return[a,c*b]};OK.prototype.$c=function(a,b){var c=Math.sqrt(8/(3*Math.PI)),d=b/c;a/=c*(1-Math.abs(d)/Math.PI);return[ce(a),ce(d)]};function PK(){}G(PK,JK);PK.prototype.forward=function(a,b){a=be(a);b=be(b);var c=Math.sqrt(Math.PI*(4+Math.PI));a=2/c*a*(1+Math.sqrt(1-4*b*b/(Math.PI*Math.PI)));return[a,4/c*b]};PK.prototype.$c=function(a,b){var c=Math.sqrt(Math.PI*(4+Math.PI))/2;a=a*c/(1+KK(1-b*b*(4+Math.PI)/(4*Math.PI)));return[ce(a),ce(b*c/2)]};function QK(){}G(QK,JK);QK.prototype.forward=function(a,b){a=be(a);b=be(b);return[a,b]};QK.prototype.$c=function(a,b){return[ce(a),ce(b)]};function RK(){}G(RK,JK);RK.prototype.forward=function(a,b){a=be(a);b=be(b);var c=Math.cos(be(35)),d=Math.tan(b/2);a=a*c*KK(1-d*d);return[a,(1+c)*d]};RK.prototype.$c=function(a,b){var c=Math.cos(be(35)),d=b/(1+c);a=a?a/(c*KK(1-d*d)):0;b=2*Math.atan(d);return[ce(a),ce(b)]};function SK(a,b){this.scale=a;this.b=b}G(SK,JK);SK.prototype.forward=function(a,b){var c=Math.cos(b),d=this.scale(Math.cos(a)*c);a=d*c*Math.sin(a);b=d*Math.sin(b);return[a,b]};SK.prototype.$c=function(a,b){var c=eq(0,0,a,b),d=this.b(c),e=Math.sin(d);a=Math.atan2(a*e,c*Math.cos(d));b=Math.asin(c&&b*e/c);return[a,b]};function TK(){this.b=2;this.f=new SK(function(a){return Math.sqrt(2/(1+a))},function(a){return 2*Math.asin(a/2)})}G(TK,JK);TK.prototype.forward=function(a,b){a=be(a);b=be(b);var c=this.f.forward(a/2,b);c[0]*=this.b;a=c[0];b=c[1];return[a,b]};TK.prototype.$c=function(a,b){var c=this.f.$c(a/this.b,b);c[0]*=2;a=c[0];b=c[1];return[ce(a),ce(b)]};function UK(){}G(UK,JK);UK.prototype.forward=function(a,b){a=be(a);b=be(b);b=Math.log(Math.tan(Math.PI/4+b/2));return[a,b]};UK.prototype.$c=function(a,b){b=2*Math.atan(Math.exp(b))-Math.PI/2;return[ce(a),ce(b)]};function VK(){this.b=new SK(function(){return 1},Math.asin)}G(VK,JK);VK.prototype.forward=function(a,b){a=be(a);b=be(b);var c=this.b.forward(a,b);a=c[0];b=c[1];return[a,b]};VK.prototype.$c=function(a,b){var c=this.b.$c(a,b);a=c[0];b=c[1];return[ce(a),ce(b)]};function WK(a){this.f=a;this.b=window.proj4}G(WK,JK);WK.prototype.forward=function(a,b){return this.b(this.f).forward([a,b])};WK.prototype.$c=function(a,b){return this.b(this.f).inverse([a,b])};function XK(){}G(XK,JK);var YK=[[.9986,-.062],[1,0],[.9986,.062],[.9954,.124],[.99,.186],[.9822,.248],[.973,.31],[.96,.372],[.9427,.434],[.9216,.4958],[.8962,.5571],[.8679,.6176],[.835,.6769],[.7986,.7346],[.7597,.7903],[.7186,.8435],[.6732,.8936],[.6213,.9394],[.5722,.9761],[.5322,1]];
XK.prototype.forward=function(a,b){if(isNaN(a)||isNaN(b))return[NaN,NaN];a=be(a);b=be(b);var c,d=Math.min(18,36*Math.abs(b)/Math.PI),e=Math.floor(d),d=d-e,f=(c=YK[e])[0],h=c[1],k=(c=YK[++e])[0],l=c[1],e=(c=YK[Math.min(19,++e)])[0];c=c[1];b=(0a?b="leftBottom":90==a?b="leftCenter":180>a?b="leftTop":180==a?b="centerTop":270>a?b="rightTop":270==a?b="rightCenter":270=h&&d<=h+a){var p=(d-h)/a,r=f[l+2],t=f[l+3],u=f[l+4],v=f[l+5],w=f[l+6],x=f[l+7],c=u+(r-u)*(1-p),y=v+(t-v)*(1-
p),u=w+(u-w)*(1-p),v=x+(v-x)*(1-p),r=c+(r+(f[l]-r)*(1-p)-c)*(1-p),t=y+(t+(f[l+1]-t)*(1-p)-y)*(1-p),c=u+(c-u)*(1-p),u=v+(y-v)*(1-p),y=c+(r-c)*(1-p),p=u+(t-u)*(1-p),v=Xp(ce(Math.atan(Math.abs(u-t)/Math.abs(c-r))),7);ct?v=180-v:c>r&&u>t||c>r&&uh?p=180-p:e>k&&f>h||e>k&&fe&&(e=k.height);k.width>d&&(d=k.width)}yL(this)||(f=d,d=e,e=f);var f=this.j.length,n=null==
this.bc,p=null==this.Ga,r=null!=this.bc?M(this.length(),b):d*f,t=null!=this.Ga?M(this.width(),c):e,d=e=0,u=!1,v=!1,h=this.title();h.enabled()&&(h.O()||h.O(this.O()),J(h),h.ia(a),Jx(h,this.Cg()),yL(this)?(e=h.Zc().height,d=h.Zc().width):(e=h.Zc().width,d=h.Zc().height),u=h.J("orientation")||Jx(h),"top"==u||"bottom"==u?(u=yL(this),v=!yL(this)):(u=!yL(this),v=yL(this)),h.fa(!1));var w,x,y=this.sq(),l=M(y.J("top"),a.height),k=M(y.J("right"),a.width),A=M(y.J("bottom"),a.height),y=M(y.J("left"),a.width),
D=this.margin(),P=M(D.J("top"),a.height),R=M(D.J("right"),a.width),T=M(D.J("bottom"),a.height),D=M(D.J("left"),a.width);n&&!p?(n=t-(u?e:0),r=Math.min(v?n*f+d:Math.max(n*f,d),b),this.i=(r-(v?d:0))/f,this.g=n):!n&&p?(n=(r-(v?d:0))/f,t=Math.min(u?n+e:Math.max(n,e),c),this.i=n,this.g=t-(u?e:0)):n&&p?(c=Math.min(r,b-(v?d:0))/f,r=Math.max(t,v?e:0),n=Math.max(c,r)*f+A+l+T+P>b?(b-(A+l+T+P)-(v?d:0))/f:Math.max(c,r),r=v?n*f+d:Math.max(n*f,d),t=u?n+e:Math.max(n,e),this.g=this.i=n):(this.i=(r-(v?d:0))/f,this.g=
t-(u?e:0));c=this.pq();var Z;yL(this)?(r+k+y+R+D>b&&(r=b-(k+y+R+D)),"left"==c||"top"==c?Z=y+D:"right"==c||"bottom"==c?Z=b-r-k-R:"center"==c&&(Z=(b-r)/2)):(r+A+l+T+P>b&&(r=b-(A+l+T+P)),"left"==c||"top"==c?Z=l+P:"right"==c||"bottom"==c?Z=b-r-A-T:"center"==c&&(Z=(b-r)/2));var aa,V;switch(this.Cg()){case "top":x=a.top+l+P;w=a.left+Z;V=t;aa=r;this.N=new K(w,x,this.i,this.g);break;case "right":x=a.top+Z;w=a.left+a.width-t-k-R;V=r;aa=t;this.N=new K(w,x,this.g,this.i);break;case "bottom":x=a.top+a.height-
t-A-T;w=a.left+Z;V=t;aa=r;this.N=new K(w,x,this.i,this.g);break;case "left":x=a.top+Z,w=a.left+y+D,V=r,aa=t,this.N=new K(w,x,this.g,this.i)}if(h.enabled())switch(u=h.J("orientation")||Jx(h),u){case "top":this.N.left=w;this.N.top=x+(yL(this)?e:d);break;case "left":this.N.left=w+(yL(this)?d:e),this.N.top=x}this.Mf=new K(Math.round(w),Math.round(x),Math.round(aa),Math.round(V));this.P=new K(this.Mf.left-y,this.Mf.top-l,this.Mf.width+y+k,this.Mf.height+l+A);this.U=new K(this.P.left-D,this.P.top-P,this.P.width+
D+R,this.P.height+P+T)}else this.U=new K(0,0,0,0);this.o(this.Fb);this.K(4)}return this.U};function xL(a,b){if(null===a.i||null===a.g)return{value:{x:0,y:0}};var c,d,e=a.N;switch(a.Cg()){case "top":c=e.left+a.i*b+a.i/2;d=e.top+a.g;break;case "right":c=e.left;d=e.top+a.i*b+a.i/2;break;case "bottom":c=e.left+a.i*b+a.i/2;d=e.top;break;case "left":c=e.left+a.g,d=e.top+a.i*b+a.i/2}return{value:{x:c,y:d}}}
function zL(a,b,c,d){var e=b.La(),f=b.$d(),h=Xz(f);h.select(e);d=m(d)?d:Uz(f.state,e);b.state=d;var k=f.Qa(),l=!!(d&ep),n=!l&&!!(d&dp),p=f.labels();b=k.get("label");l?(l=k.get("selectLabel"),k=f.th()):n?(l=k.get("hoverLabel"),k=f.sh()):k=l=null;n=jL(f);n.j=f.yf(e);c.Dh(n);IA(c,p);JA(c,k);c.xl(b,l);DA(p);e=!!(d&ep);d=!e&&!!(d&dp);e=e?a.tq():d?a.qq():a.labels();d=CA(a.labels());d.enabled=a.labels().enabled();b=CA(e);b.enabled=null===e.enabled()?d.enabled:e.enabled();c.xl(d,c.state("pointState")?bc(c.state("pointState"),
b):b);e=xL(a,c.La());e.connectorPoint={value:sL(f)};c.uc(e);yL(a)?(c.width(a.i),c.height(a.g)):(c.width(a.g),c.height(a.i));switch(a.Cg()){case "top":c.anchor("centerbottom");break;case "right":c.anchor("leftcenter");break;case "bottom":c.anchor("centertop");break;case "left":c.anchor("rightcenter")}h.R("shapes")&&(a=h.R("fill"),h=h.R("stroke"),c.xq().enabled(!0).fill(a).stroke(h));return c}
function AL(a){var b=a.labels();b.O()||b.O(a.O());b.ia(a.ia());b.clear();for(var c=0,d=a.j.length;cb?"inside"==a.position()?0:c:c:c);return c};
g.Nt=function(a,b,c,d,e){c=a.top+a.height+c/2-d;var f=this.scale();if(f instanceof NC)this.cb.moveTo(a.left+b,c).lineTo(a.left-b+a.width,c).lineTo(a.left-b+a.width,c-e).lineTo(a.left+b,c-e).close();else if(f instanceof TC){d=f.Ej();for(var f=f.Yh(),h=a.width/d.length,k=0,l=d.length;kb&&(d=b-(l+h)),"left"==p||"top"==p?r=h:"right"==p||
"bottom"==p?r=b-d-l:"center"==p&&(r=(b-d-l-h)/2)):(d+n+k>b&&(d=b-(n+k)),"left"==p||"top"==p?r=k:"right"==p||"bottom"==p?r=b-d-n:"center"==p&&(r=(b-d-n-k)/2));var t,u;switch(this.wc()){case "top":f=a.top+k;e=a.left+r;u=c;t=d;break;case "right":f=a.top+r;e=a.left+a.width-c-l;u=d;t=c;break;case "bottom":f=a.top+a.height-c-n;e=a.left+r;u=c;t=d;break;case "left":f=a.top+r,e=a.left+h,u=d,t=c}this.tg=new K(Math.round(e),Math.round(f),Math.round(t),Math.round(u))}else this.tg=new K(0,0,0,0);this.K(4)}return this.tg};
g.fw=function(a){return M(this.bc,a)};
g.iB=function(a,b){var c=this.oe(),d=this.Ka(),e=this.Aj(c),f=this.Aj(d),h=FL(this);"outside"==c.position()?"outside"==d.position()?c=Math.max(a+e,b+f):(c="inside"==d.position()?Math.max(a+e,b):Math.max(a+e,b+f),h=Math.max(f,h)):"inside"==c.position()?"outside"==d.position()?(c=Math.max(a,b+f),h=Math.max(e,h)):(c="inside"==d.position()?Math.max(a,b):Math.max(a,b+f),h=Math.max(e,f,h)):"outside"==d.position()?(c=Math.max(a+e,b+f),h=Math.max(e,h)):(c="inside"==d.position()?Math.max(a+e,b):Math.max(a+
e,b+f),h=Math.max(e,f,h));e=this.stroke();return c+h+(Math.round(this.P)+(!e||Or(e)?0:e.thickness?parseFloat(e.thickness):1))};
function GL(a,b){var c=a.scale(),d=a.j,e=d.Lf()||(d.bw?d.bw():void 0),f=a.b&&a.b.enabled(),d=d&&d.enabled()&&e==c;if(a.enabled()&&f&&c&&d&&(c=a.cb.Pa(),f=Yd(a.scale().transform(b,.5),0,1),!isNaN(f))){var h,k,l;switch(a.wc()){case "top":h=c.left+c.width*f;k=c.top+c.height+a.b.size();l=180;break;case "bottom":h=c.left+c.width*f;k=c.top-a.b.size();l=0;break;case "left":h=c.left+c.width+a.b.size();k=c.top+c.height-c.height*f;l=90;break;case "right":h=c.left-a.b.size(),k=c.top+c.height-c.height*f,l=-90}J(a.b).rotation(l).uc({value:{x:h,
y:k}}).fa(!1).$();a.b.Zd().visible(!0)}}function HL(a){a.scale()&&a.b&&a.b.Zd().visible(!1)}g.scale=function(a){var b=this.Rd||IL(this);m(a)&&b&&b!=a&&b.Ob()!=a.Ob()&&(this.cb&&(this.cb.we(),this.cb.parent(null),this.cb=null),this.g&&(this.g.length=0));return DL.F.scale.call(this,a)||IL(this)};function IL(a){a.ma||(a.ma=kB(),a.ma.lm("#fff","#000"));return a.ma}
g.$=function(){if(!this.wb())return this;Q(this,1024)&&(this.b&&(this.b.O(this.O()),this.b.zIndex(this.zIndex()+1),this.b.$(),this.b.Zd().visible(!1)),this.K(1024));Q(this,2)&&this.b&&this.b.O(this.O());if(Q(this,8)&&this.b){var a=this.zIndex();this.b.zIndex(a+1)}return DL.F.$.call(this)};
g.TM=function(a){var b=this.scale(),c=this.j,d=c.Lf()||c.bw();if(this.enabled()&&b&&c&&c.enabled()&&d==b){var d=this.cb.Pa(),e,f;this.rc()?(e=a.clientX,f=d.left+Ll(this.O().ja()).x,d=(e-f)/d.width):(e=a.clientY,f=d.top+Ll(this.O().ja()).y,d=(d.height-(e-f))/d.height);d=b.Dc(d);a.metaKey||a.shiftKey||!c.map||c.map.hf();if(b instanceof TC)d=b.Gh(d),b&&c&&(e=this.ba[d.sourceIndex],b=c.$b(),b=b.hd(),"single"==b.Ac()?this.Fc={na:c,Cb:e}:this.Fc=[{na:c,Cb:e,Gm:e[e.length-1],ic:{index:e[e.length-1],Pd:0}}]);
else if(b instanceof NC){a=Xz(c);e=Infinity;for(var h=NaN,k=b.Yq(),l=b.Wq();a.advance();){f=a.get(c.Wb?c.Wb.fh:c.xs[1]);f=Yd(f,k,l);var n=Math.abs(d-f);e>n&&(e=n,h=f)}e=[];a=Xz(c);for(d=h;a.advance();)f=a.get(c.Wb?c.Wb.fh:c.xs[1]),f=Yd(f,k,l),f==d&&e.push(a.La());b&&c&&(b=c.$b(),b=b.hd(),"single"==b.Ac()?this.Fc={na:c,Cb:e}:this.Fc=[{na:c,Cb:e,Gm:e[e.length-1],ic:{index:e[e.length-1],Pd:0}}])}}};
g.Xz=function(a){var b=this.scale(),c=this.j,d=c.Lf()||c.bw();if(this.enabled()&&b&&c&&c.enabled()&&d==b){var d=this.cb.Pa(),e,f;this.rc()?(e=a.clientX,f=d.left+Ll(this.O().ja()).x,d=(e-f)/d.width):(e=a.clientY,f=d.top+Ll(this.O().ja()).y,d=(d.height-(e-f))/d.height);var h,d=b.Dc(d);if(b instanceof TC)a=b.Gh(d),h=this.ba[a.sourceIndex],b=c.$b(),f=b.hd(),"single"==f.Ac()?this.Fc={na:c,Cb:h}:this.Fc=[{na:c,Cb:h,Gm:h[h.length-1],ic:{index:h[h.length-1],Pd:0}}];else if(b instanceof NC&&c){f=Xz(c);h=Infinity;
for(var k=NaN,l=b.Yq(),n=b.Wq();f.advance();){e=f.get(c.Wb?c.Wb.fh:c.xs[1]);e=Yd(e,l,n);var p=Math.abs(d-e);h>p&&(h=p,k=e)}h=[];f=Xz(c);for(d=k;f.advance();)e=f.get(c.Wb?c.Wb.fh:c.xs[1]),e=Yd(e,l,n),e==d&&h.push(f.La());b&&c&&(b=c.$b(),f=b.hd(),"single"==f.Ac()?(this.Fc&&!bb(h,function(a){return fb(this.Fc.Cb,a)},this)&&b.dispatchEvent(kA(b,"hovered",a,[{na:c,Cb:[],ic:{index:this.Fc.Cb[this.Fc.Cb.length-1],Pd:0}}],!1)),this.Fc={na:c,Cb:h}):this.Fc=[{na:c,Cb:h,Gm:h[h.length-1],ic:{index:h[h.length-
1],Pd:0}}])}GL(this,d)}};g.mJ=function(){HL(this);var a=this.j;a&&(this.f=a)};g.remove=function(){DL.F.remove.call(this);this.b&&this.b.remove()};g.I=function(){var a=DL.F.I.call(this);a.marker=this.Kw().I();a.colorLineSize=this.ir();a.length=this.length();a.align=this.uq();return a};g.aa=function(a,b){DL.F.aa.call(this,a,b);this.Kw(a.marker);this.ir(a.colorLineSize);this.length(a.length);this.uq(a.align)};var JL=DL.prototype;JL.marker=JL.Kw;JL.colorLineSize=JL.ir;JL.length=JL.length;JL.align=JL.uq;function KL(){TD.call(this)}G(KL,TD);g=KL.prototype;
g.show=function(a){var b=[];Xa(a.seriesStatus,function(a){a.series.enabled()&&a.points.length&&b.push(a)},this);if(b.length){var c=b[0];Xa(b,function(a){c.nearestPointToCursor.distance>a.nearestPointToCursor.distance&&(c=a)});a=this.Zx();var d=this.$x(),e=this.bn(),f=this.en(),h=this.$m(),k=this.dn(),l=c.series,n=l.Qa();n.select(c.nearestPointToCursor.point.index);var p=N(n.R("x")),n=N(n.R("value"));if(isNaN(p)||isNaN(n))n=tL(l).value,p=n.x,n=n.y;var l=this.Aa.scale(),n=l.Dc(p,n),p=n[0],n=n[1],r=
l.vg(p),l=l.cg(n);0r?(e&&"none"!=e&&LL(this,a,this.g,p),h.enabled()&&ML(this,a,h,p)):XD(this);0l?(f&&"none"!=f&&LL(this,d,this.j,n),k.enabled()&&ML(this,d,k,n)):YD(this)}else this.dc()};
g.update=function(a,b){if(this.enabled()){var c,d;m(a)?c=parseFloat(a):c=m(this.P)?this.P:0;m(b)?d=parseFloat(b):d=m(this.U)?this.U:0;c=this.Aa.jw(c,d);var e=this.Aa.Dc(c.x,c.y);c=e["long"];d=e.lat;var f=this.Aa.scale(),h=f.vg(e.x),e=f.cg(e.y),f=this.Zx(),k=this.$x(),l=this.bn(),n=this.en(),p=this.$m(),r=this.dn();0h&&0e?(f&&ZD(f)?(l&&"none"!=l&&LL(this,f,this.g,c),p.enabled()&&ML(this,f,p,c)):XD(this),k&&ZD(k)?n&&"none"!=n&&(LL(this,k,this.j,d),r.enabled()&&ML(this,k,r,d)):YD(this)):
this.dc()}};g.yk=function(a){this.P=a.clientX;this.U=a.clientY;this.update(a.clientX,a.clientY)};g.vq=function(a){if(!tr(this.Aa,a.relatedTarget)){this.P=a.clientX;this.U=a.clientY;a=this.Aa.jw(a.clientX,a.clientY);var b=this.Aa.Dc(a.x,a.y),c=this.Aa.scale();a=c.vg(b.x);b=c.cg(b.y);(0>a||1b||1=a&&(" "===a||"\n"===a||"\t"===a||"\r"===a||"\f"===a)}function VL(a){for(;a.ba.f[a.b]||"9"=a.f[a.b];)a.b+=1;if(a.b!==k)for(var l=a.b-1,n=1;l>=k;)c+=n*(a.f[l]-0),--l,n*=10;if(a.b=a.i||"0">a.f[a.b]||"9"=a.f[a.b];)d.push(a.f[a.b]-0),a.b+=1}if(a.b!==h&&a.b+1=a.i||"0">a.f[a.b]||"9"=a.f[a.b];)b*=10,b+=a.f[a.b]-0,a.b+=1}c+=parseFloat("0."+d.join(""));c*=e;b&&(c*=Math.pow(10,f*b));if(h===a.b)return null;YL(a);return c}function $L(a){if(a.b>=a.i)return null;var b;b=a.f[a.b];a.b+=1;if("0"===b)b=0;else if("1"===b)b=1;else return null;YL(a);return b};function aM(){}fa(aM);aM.prototype.Ob=function(){return"svg"};aM.prototype.f=function(a){this.i=B(a)?(new DOMParser).parseFromString(a,"text/xml"):a;this.b={};a=this.i.getElementsByTagName("defs");var b,c,d,e,f;c=0;for(d=a.length;c=Md)&&"Z"!==Na.g?"M"===Na.g?Sb="L":"m"===Na.g?Sb="l":Sb=Na.g:Sb=null;if(null===Sb){of=null;break b}}else Na.b+=1;Na.g=Sb;var Db=null,le=Sb.toUpperCase();"H"===le||"V"===le?Db=[ZL(Na)]:"M"===le||"L"===le||"T"===le?Db=[ZL(Na),ZL(Na)]:"S"===le||"Q"===le?Db=[ZL(Na),ZL(Na),ZL(Na),ZL(Na)]:"C"===
le?Db=[ZL(Na),ZL(Na),ZL(Na),ZL(Na),ZL(Na),ZL(Na)]:"A"===le?Db=[ZL(Na),ZL(Na),ZL(Na),$L(Na),$L(Na),ZL(Na),ZL(Na)]:"Z"===le&&(VL(Na),Db=[]);of=!Db||0<=Db.indexOf(null)?null:{type:Sb,values:Db}}if(of)xb.push(of);else break}pc=xb}else pc=[];Ia=iM(a,jM(pc));f=hM(a,b,Ia,d);break;case "line":var Gf=+b.getAttribute("x1"),qb=+b.getAttribute("x2"),Ui=+b.getAttribute("y1"),Xg=+b.getAttribute("y2");f=hM(a,b,[{type:"M",values:[Gf,Ui]},{type:"L",values:[qb,Xg]}],d);break;case "text":var Wl=dM(b,d),Xl=fM(b),br=
eM(a,b,"element");Xl.id=br.id;var so=b.cloneNode(!0);Wl.ki&&so.setAttribute("transform",Wl.ki.toString());so.removeAttribute("data-ac-wrapper-id");var to=br.id;m(to)?Xl.id=to:m(Xl.id)&&(to=Xl.id);f={type:"text",text:b,cloneNode:so,tx:Wl,id:to,properties:Xl,attrs:br};break;case "image":var uo=dM(b,d),Zd=fM(b),cr=eM(a,b,"element"),Zu=+b.getAttribute("x"),XA=+b.getAttribute("y"),YA=+b.getAttribute("width"),$u=+b.getAttribute("height");Zd.id=cr.id;var vo=b.cloneNode(!0);uo.ki&&vo.setAttribute("transform",
uo.ki.toString());vo.removeAttribute("data-ac-wrapper-id");var Vi=cr.id;m(Vi)?Zd.id=Vi:m(Zd.id)&&(Vi=Zd.id);f={type:"image",sourceNode:b,cloneNode:vo,bounds:jq(Zu,XA,YA,$u),tx:uo,id:Vi,properties:Zd,attrs:cr};break;case "use":f=gM(a,b);break;case "clippath":for(var av=dM(b,d),dr=cM(a,b,!0,av.ki),Yl=[],er=0,bv=dr.length;er