Number(vc)&&(d.src='javascript:""');c.ce=Qf(c.Jd).f("IFRAME",d);d=c.ce.style;d.visibility="hidden";d.width=d.height="10px";d.display="none";pc?d.marginTop=d.marginLeft="-10px":(d.position="absolute",d.top=d.left="-10px");if(mc&&!zc("11")){c.Jd.target=c.$k||"";Qf(c.Jd).b.body.appendChild(c.ce);Wc(c.ce,"readystatechange",c.bx,!1,c);try{c.b=!1,c.Jd.submit()}catch(zb){dd(c.ce,"readystatechange",c.bx,!1,c),Dn(c)}}else{Dl(c.ve,"Setting up iframes and cloning form");
Qf(c.Jd).b.body.appendChild(c.ce);var d=c.$k+"_inner",e=pg(c.ce),f;document.baseURI?(f=Da(d),mf("Short HTML snippet, input escaped, safe URL, for performance"),f='',f=Gf(f,null)):(f=Da(d),mf("Short HTML snippet, input escaped, for performance"),f=Gf('',null));if(lc&&!pc){var h=e.documentElement;if(Pf[h.tagName.toUpperCase()])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+
h.tagName+".");h.innerHTML=Ef(f)}else e.write(Ef(f));Wc(e.getElementById(d),"load",c.ns,!1,c);var k=Uf("TEXTAREA",c.Jd);f=0;for(h=k.length;f.");if("A"in Nf)throw Error("Tag name is not allowed for SafeHtml.");y=null;var va;z="";if(x)for(var za in x){if(!Lf.test(za))throw Error('Invalid attribute name "'+za+'".');var sb=x[za];if(null!=sb){E=z;var Nc,Q=za,U=sb;if(U instanceof jf)U=lf(U);else if("style"==Q.toLowerCase()){S=U;if(!A(S))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+
typeof S+" given: "+S);if(!(S instanceof nf)){ba=S;h="";k=void 0;for(k in ba){if(!/^[-_a-zA-Z0-9]+$/.test(k))throw Error("Name allows only [-_a-zA-Z0-9], got: "+k);var Fa=ba[k];if(null!=Fa){if(Fa instanceof jf)Fa=lf(Fa);else if(tf.test(Fa)){n=l=!0;for(p=0;p";else{var hd=Of(I);va+=">"+Ef(hd)+"";y=hd.Am()}var nb=x&&x.dir;nb&&(/^(ltr|rtl|auto)$/i.test(nb)?y=0:y=null);V=Gf(va,y);v=Of(ca,V,Kf("\nLine: "+w.lineNumber+"\n\nBrowser stack:\n"+w.stack+"-> [end]\n\nJS stack traversal:\n"+
kl(void 0)+"-> "))}catch(Wf){v=Kf("Exception trying to expose exception! You win, we lose. "+Wf)}v=Ef(v);f&&f.log(sl,"Error when submitting form: "+v,void 0);dd(e.getElementById(d),"load",c.ns,!1,c);e.close();Dn(c)}}En(c)}function Cn(a,b){var c=Qf(a);Dk(b,function(b,e){q(b)||(b=[b]);ab(b,function(b){b=c.f("INPUT",{type:"hidden",name:e,value:b});a.appendChild(b)})})}g=yn.prototype;g.ve=Bl("goog.net.IframeIo");g.Jd=null;g.ce=null;g.$k=null;g.MN=0;g.yi=!1;g.pw=null;g.Hw=null;g.Zk=null;
g.abort=function(){this.yi&&(Cl(this.ve,"Request aborted"),fd(Fn(this)),this.yi=!1,this.dispatchEvent("abort"),Gn(this))};g.ea=function(){Dl(this.ve,"Disposing iframeIo instance");this.yi&&(Dl(this.ve,"Aborting active request"),this.abort());yn.F.ea.call(this);this.ce&&Hn(this);En(this);delete this.g;this.pw=this.Hw=this.Jd=null;delete An[this.f]};g.Lj=function(){return this.yi};
g.bx=function(){if("complete"==this.ce.readyState){dd(this.ce,"readystatechange",this.bx,!1,this);var a;try{if(a=pg(this.ce),mc&&"about:blank"==a.location&&!navigator.onLine){Dn(this);return}}catch(b){Dn(this);return}In(this,a)}};g.ns=function(){if(!lc||pc||"about:blank"!=(this.ce?pg(Fn(this)):null).location){dd(Fn(this),"load",this.ns,!1,this);try{In(this,this.ce?pg(Fn(this)):null)}catch(a){Dn(this)}}};
function In(a,b){Dl(a.ve,"Iframe loaded");a.yi=!1;var c;try{var d=b.body;a.Hw=d.textContent||d.innerText}catch(e){c=1}c||"function"!=typeof a.g||(d=a.g(b))&&(c=4);(d=a.ve)&&d.log(xl,"Last content: "+a.Hw,void 0);(d=a.ve)&&d.log(xl,"Last uri: "+a.pw,void 0);c?(Dl(a.ve,"Load event occurred but failed"),Dn(a)):(Dl(a.ve,"Load succeeded"),a.dispatchEvent("complete"),a.dispatchEvent("success"),Gn(a))}function Dn(a){a.b||(a.yi=!1,a.dispatchEvent("complete"),a.dispatchEvent("error"),Gn(a),a.b=!0)}
function Gn(a){Cl(a.ve,"Ready for new requests");Hn(a);En(a);a.Jd=null;a.dispatchEvent("ready")}function Hn(a){var b=a.ce;b&&(b.onreadystatechange=null,b.onload=null,b.onerror=null,a.i.push(b));a.Zk&&(da.clearTimeout(a.Zk),a.Zk=null);oc||lc&&!pc?a.Zk=od(a.fC,2E3,a):a.fC();a.ce=null;a.$k=null}g.fC=function(){this.Zk&&(da.clearTimeout(this.Zk),this.Zk=null);for(;this.i.length;){var a=this.i.pop();Cl(this.ve,"Disposing iframe");lg(a)}};function En(a){a.Jd&&a.Jd==Bn&&jg(a.Jd)}
function Fn(a){return a.ce?mc&&!zc("11")?a.ce:pg(a.ce).getElementById(a.$k+"_inner"):null}g.cF=function(){if(this.yi){var a=this.ce?pg(Fn(this)):null;a&&!ic(a,"documentUri")?(dd(Fn(this),"load",this.ns,!1,this),navigator.onLine?(a=this.ve)&&a.log(tl,"Silent Firefox error detected",void 0):(a=this.ve)&&a.log(tl,"Firefox is offline so report offline error instead of silent error",void 0),Dn(this)):od(this.cF,250,this)}};var Jn={};function mh(a){var b=a.Y();if(b){var c=String(la(a));Jn[c]=a;b.setAttribute("data-ac-wrapper-id",c)}}function uh(a){delete Jn[String(la(a))];(a=a.Y())&&a.removeAttribute("data-ac-wrapper-id")}function ek(a,b){for(var c,d=b.Y().parentNode;a&&a!=d;){c=a.getAttribute&&a.getAttribute("data-ac-wrapper-id")||null;if(null!=c)break;a=a.parentNode}return(c=Jn[c||""]||null)&&c.Y()==a?c:null}var zm="svg",ym=null,ym=mc&&!zc("9")?"vml":zm,gh="vml"==ym?Xm.Nc():Lj.Nc();
function Em(a,b,c){return"vml"==ym?new vn(a,b,c):new Hm(a,b,c)}var wm="//export.anychart.com";function rk(a,b){var c;a&&(c=dg("STYLE"),c.type="text/css",c.styleSheet?c.styleSheet.cssText=a:c.appendChild(document.createTextNode(String(a))),kg(Vf("head",void 0,b)[0],c))}da.acgraph=da.acgraph||{};da.acgraph.fontSize="10px";da.acgraph.fontColor="#000";da.acgraph.textDirection="ltr";da.acgraph.fontFamily="Verdana";function qh(a,b,c,d){return new Dh(a,b,c,d)}function rh(a,b,c){return new Ah(a,b,c)}
function Yh(){return new Xh}function sh(a,b,c,d){return new yh(a,b,c,d)}function th(){return new Eh}function ai(a,b,c,d,e){return new Ei(a,b,c,d,e)}function $h(a,b,c,d){a="vml"==ym?new rn(a,b):new qj(a,b);d&&a.style(d);c&&a.text(c);return a}function Ue(a,b,c,d){return new wh(a,b,c,d)}function Qe(a){return new Pe(a)}function ph(a,b,c,d){return"vml"==ym?new Im(null,a,b,c,d):new nh(null,a,b,c,d)}var Kn=void 0;
function Yj(){return m(Kn)?Kn:mc&&zc("9")&&!zc("10")?Kn="":Kn=be||null===be&&Vf("base",void 0,void 0).length?window.location.origin+window.location.pathname+window.location.search:""}F("acgraph.create",Em);F("acgraph.type",function(){return ym});F("acgraph.server",function(a){m(a)&&(wm=a);return wm});F("acgraph.StageType.SVG",zm);F("acgraph.StageType.VML","vml");F("acgraph.rect",qh);F("acgraph.circle",rh);F("acgraph.ellipse",sh);F("acgraph.path",th);F("acgraph.text",$h);F("acgraph.layer",Yh);
F("acgraph.image",ai);F("acgraph.hatchFill",Ue);F("acgraph.patternFill",Qe);F("acgraph.clip",ph);F("acgraph.useAbsoluteReferences",function(a){if(m(a))be=a;else return!!Yj()});F("acgraph.updateReferences",function(){var a=Kn;Kn=void 0;if(m(a)&&Yj()!=a){var b=gh,c;for(c in Jn)if(Jn.hasOwnProperty(c)){var a=Jn[c],d=a.ka();d&&(L(a,dh)&&(d.bc()?a.Aa(512):a.Pb(512)||b.Fx(a)),L(a,oh)&&(d.bc()?a.Aa(24):(a.Pb(8)||Xj(b,a),a.Pb(16)||bk(b,a))))}}});F("anychart.VERSION","7.14.4.1448");F("anychart.DEVELOP",!0);F("anychart.DEFAULT_THEME","defaultTheme");F("anychart.PERFORMANCE_MONITORING",!1);function Ln(a){a=String(a).toLowerCase();switch(a){case "byspot":case "spot":case "sp":return"bySpot";case "single":case "s":return"single"}return"byX"}function Mn(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 Nn(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 On(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 Pn(a,b){a=On(a,b);return"auto"==a&&m(b)?b:a}
function Qn(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 Rn(a){a=String(a).toLowerCase();switch(a){case "horizontal":case "h":case "horz":case "horiz":return"horizontal"}return"vertical"}
function Sn(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 Tn(a){a=String(a).toLowerCase();switch(a){case "radial":case "r":case "rad":return"radial"}return"circuit"}
function Un(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 Vn(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 Wn={RP:"circle",VQ:"square",iR:"triangleUp",hQ:"diamond",fR:"triangleDown",hR:"triangleRight",gR:"triangleLeft",UP:"cross",$F:"diagonalCross",XQ:"star4",YQ:"star5",ZQ:"star6",$Q:"star7",WQ:"star10",uQ:"pentagon",eR:"trapezium",pQ:"line",lR:"vline",pP:"arrowhead",tP:"arrowUp",sP:"arrowRight",qP:"arrowDown",rP:"arrowLeft"};
function Xn(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 Yn(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 Zn;case "line":return $n;case "ellipse":return ao;case "bar":return bo;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 co(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 eo(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 Zn="x",$n="line",ao="ellipse",bo="bar";function fo(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 Jd="animationstart",Hd="animationend",Yd="zoom",ae="zoomend";function go(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 ho(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 io(a){a=String(a).toLowerCase();switch(a){case "bubble":return"bubble";case "marker":return"marker";case "connector":return"connector"}return"choropleth"}
function jo(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 ko(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 lo(a){a=String(a).toLowerCase();switch(a){case "raw":return"raw";case "selected":return"selected";case "grouped":return"grouped"}return"default"}
function mo(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 no(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 oo(a){A(a)&&(a=a.mode);a=String(a).toLowerCase();switch(a){case "byword":return"byWord";case "bychar":return"byChar"}return"csv"}
function po(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 qo(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 ro(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 so(a){a=String(a).toLowerCase();switch(a){case "italic":case "i":return"italic";case "oblique":case "o":return"oblique"}return"normal"}
function Fo(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 Go(a){a=String(a).toLowerCase();switch(a){case "rtl":case "r":return"rtl"}return"ltr"}function Ho(a){a=String(a).toLowerCase();switch(a){case "nowrap":case "no":case "n":return"noWrap";case "byword":return"byWord";default:return"byLetter"}}
function Io(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 Jo(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 Ko={uP:"average",vF:"bubbleSize",wF:"bubbleSizePercentOfCategory",xF:"bubbleSizePercentOfSeries",yF:"bubbleSizePercentOfTotal",xP:"categoryName",zF:"categoryYAverage",zP:"categoryYMax",AF:"categoryYMedian",CP:"categoryYMin",BF:"categoryYMode",CF:"categoryYPercentOfTotal",FP:"categoryYRangeAverage",DF:"categoryYRangeMax",IP:"categoryYRangeMedian",EF:"categoryYRangeMin",LP:"categoryYRangeMode",FF:"categoryYRangePercentOfTotal",GF:"categoryYRangeSum",HF:"categoryYSum",IF:"close",TP:"count",JF:"dataPlotBubbleMaxSize",
KF:"dataPlotBubbleMinSize",LF:"dataPlotBubbleSizeAverage",MF:"dataPlotBubbleSizeSum",ZP:"dataPlotMaxXSumSeriesName",aQ:"dataPlotMaxYSumSeriesName",$P:"dataPlotMaxXValuePointSeriesName",bQ:"dataPlotMaxYValuePointSeriesName",cQ:"dataPlotMinXSumSeriesName",eQ:"dataPlotMinYSumSeriesName",dQ:"dataPlotMinXValuePointSeriesName",fQ:"dataPlotMinYValuePointSeriesName",NF:"dataPlotPointCount",OF:"dataPlotSeriesCount",PF:"dataPlotXAverage",QF:"dataPlotXMax",RF:"dataPlotXMin",SF:"dataPlotXSum",TF:"dataPlotYAverage",
UF:"dataPlotYMax",VF:"dataPlotYMin",WF:"dataPlotYRangeMax",XF:"dataPlotYRangeMin",YF:"dataPlotYRangeSum",ZF:"dataPlotYSum",bG:"high",cG:"index",dG:"low",qQ:"max",sQ:"min",tQ:"name",OPEN:"open",KQ:"pointsCount",HQ:"pertChartCriticalPathStandardDeviation",IQ:"pertChartProjectDuration",gG:"range",hG:"rangeEnd",iG:"rangeStart",MQ:"seriesAverage",jG:"seriesBubbleMaxSize",kG:"seriesBubbleMinSize",lG:"seriesBubbleSizeAverage",mG:"seriesBubbleSizeMedian",nG:"seriesBubbleSizeMode",oG:"seriesBubbleSizeSum",
pG:"seriesFirstXValue",qG:"seriesFirstYValue",rG:"seriesLastXValue",sG:"seriesLastYValue",NQ:"seriesMax",OQ:"seriesMin",PQ:"seriesName",uG:"seriesPointCount",tG:"seriesPointsCount",QQ:"seriesSum",vG:"seriesXAverage",wG:"seriesXMax",xG:"seriesXMedian",yG:"seriesXMin",zG:"seriesXMode",AG:"seriesXSum",BG:"seriesYAverage",CG:"seriesYMax",DG:"seriesYMedian",EG:"seriesYMin",FG:"seriesYMode",RQ:"seriesYRangeAverage",GG:"seriesYRangeMax",SQ:"seriesYRangeMedian",HG:"seriesYRangeMin",TQ:"seriesYRangeMode",
IG:"seriesYRangeSum",JG:"seriesYSum",cR:"sum",KG:"value",fG:"percentValue",MG:"xPercentOfSeries",NG:"xPercentOfTotal",OG:"xValue",PG:"yPercentOfCategory",QG:"yPercentOfSeries",RG:"yPercentOfTotal",SG:"yValue",oR:"xScalesMin",nR:"xScalesMax",qR:"yScalesMin",pR:"yScalesMax",OP:"catYSumArr_",DP:"catYMinArr_",AP:"catYMaxArr_",yP:"catYAvgArr_",BP:"catYMedianArr_",EP:"catYModeArr_",NP:"catYRangeSumArr_",KP:"catYRangeMinArr_",HP:"catYRangeMaxArr_",GP:"catYRangeAvgArr_",JP:"catYRangeMedianArr_",MP:"catYRangeModeArr_"},
Lo={},Mo;for(Mo in Ko)Ko.hasOwnProperty(Mo)&&(Lo[Mo]=Ko[Mo].toLowerCase());function No(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",Zn);F("anychart.enums.BulletMarkerType.BAR",bo);
F("anychart.enums.BulletMarkerType.ELLIPSE",ao);F("anychart.enums.BulletMarkerType.LINE",$n);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",Jd);F("anychart.enums.EventType.ANIMATION_END",Hd);F("anychart.enums.EventType.ZOOM_START","zoomstart");F("anychart.enums.EventType.ZOOM",Yd);F("anychart.enums.EventType.ZOOM_END",ae);F("anychart.enums.EventType.LEGEND_ITEM_MOUSE_OUT","legenditemmouseout");F("anychart.enums.EventType.LEGEND_ITEM_MOUSE_OVER","legenditemmouseover");F("anychart.enums.EventType.LEGEND_ITEM_MOUSE_MOVE","legenditemmousemove");
F("anychart.enums.EventType.LEGEND_ITEM_MOUSE_DOWN","legenditemmousedown");F("anychart.enums.EventType.LEGEND_ITEM_MOUSE_UP","legenditemmouseup");F("anychart.enums.EventType.LEGEND_ITEM_CLICK","legenditemclick");F("anychart.enums.EventType.LEGEND_ITEM_DBLCLICK","legenditemdblclick");F("anychart.enums.EventType.DRAG_START","dragstart");F("anychart.enums.EventType.DRAG","drag");F("anychart.enums.EventType.DRAG_END","dragend");F("anychart.enums.EventType.SCROLL_CHANGE","scrollchange");
F("anychart.enums.EventType.SPLITTER_CHANGE","splitterchange");F("anychart.enums.EventType.SIGNAL","signal");F("anychart.enums.EventType.ROW_SELECT","rowSelect");F("anychart.enums.EventType.ROW_CLICK","rowClick");F("anychart.enums.EventType.ROW_DBL_CLICK","rowDblClick");F("anychart.enums.EventType.ROW_MOUSE_OVER","rowMouseOver");F("anychart.enums.EventType.ROW_MOUSE_OUT","rowMouseOut");F("anychart.enums.EventType.ROW_MOUSE_MOVE","rowMouseMove");F("anychart.enums.EventType.ROW_MOUSE_DOWN","rowMouseDown");
F("anychart.enums.EventType.ROW_MOUSE_UP","rowMouseUp");F("anychart.enums.EventType.CONNECTOR_SELECT","connectorselect");F("anychart.enums.EventType.CONNECTOR_CLICK","connectorclick");F("anychart.enums.EventType.CONNECTOR_DBL_CLICK","connectordblclick");F("anychart.enums.EventType.CONNECTOR_MOUSE_OVER","connectormouseover");F("anychart.enums.EventType.CONNECTOR_MOUSE_OUT","connectormouseout");F("anychart.enums.EventType.CONNECTOR_MOUSE_MOVE","connectormousemove");
F("anychart.enums.EventType.CONNECTOR_MOUSE_DOWN","connectormousedown");F("anychart.enums.EventType.CONNECTOR_MOUSE_UP","connectormouseup");F("anychart.enums.EventType.ROW_COLLAPSE_EXPAND","rowcollapseexpand");F("anychart.enums.EventType.BEFORE_CREATE_CONNECTOR","beforeCreateConnector");F("anychart.enums.EventType.TREE_ITEM_CREATE","treeItemCreate");F("anychart.enums.EventType.TREE_ITEM_MOVE","treeItemMove");F("anychart.enums.EventType.TREE_ITEM_REMOVE","treeItemRemove");
F("anychart.enums.EventType.TREE_ITEM_UPDATE","treeItemUpdate");F("anychart.enums.ScaleStackMode.NONE","none");F("anychart.enums.ScaleStackMode.VALUE","value");F("anychart.enums.ScaleStackMode.PERCENT","percent");F("anychart.enums.ScaleComparisonMode.NONE","none");F("anychart.enums.ScaleComparisonMode.VALUE","value");F("anychart.enums.ScaleComparisonMode.PERCENT","percent");F("anychart.enums.ScaleCompareWithMode.SERIES_START","seriesStart");F("anychart.enums.ScaleCompareWithMode.FIRST_VISIBLE","firstVisible");
F("anychart.enums.ScatterTicksMode.LINEAR","linear");F("anychart.enums.ScatterTicksMode.LOGARITHMIC","logarithmic");F("anychart.enums.SparklineSeriesType.AREA","area");F("anychart.enums.SparklineSeriesType.LINE","line");F("anychart.enums.SparklineSeriesType.COLUMN","column");F("anychart.enums.SparklineSeriesType.WIN_LOSS","winLoss");F("anychart.enums.LinearGaugePointerType.BAR","bar");F("anychart.enums.LinearGaugePointerType.RANGE_BAR","rangeBar");
F("anychart.enums.LinearGaugePointerType.THERMOMETER","thermometer");F("anychart.enums.LinearGaugePointerType.MARKER","marker");F("anychart.enums.LinearGaugePointerType.TANK","tank");F("anychart.enums.LinearGaugePointerType.LED","led");F("anychart.enums.GanttDataFields.ACTUAL","actual");F("anychart.enums.GanttDataFields.ACTUAL_START","actualStart");F("anychart.enums.GanttDataFields.ACTUAL_END","actualEnd");F("anychart.enums.GanttDataFields.BASELINE_START","baselineStart");
F("anychart.enums.GanttDataFields.BASELINE_END","baselineEnd");F("anychart.enums.GanttDataFields.CHILDREN","children");F("anychart.enums.GanttDataFields.PROGRESS","progress");F("anychart.enums.GanttDataFields.PROGRESS_VALUE","progressValue");F("anychart.enums.GanttDataFields.MILESTONE","milestone");F("anychart.enums.GanttDataFields.NAME","name");F("anychart.enums.GanttDataFields.COLLAPSED","collapsed");F("anychart.enums.GanttDataFields.ROW_HEIGHT","rowHeight");
F("anychart.enums.GanttDataFields.ID","id");F("anychart.enums.GanttDataFields.PERIODS","periods");F("anychart.enums.GanttDataFields.PARENT","parent");F("anychart.enums.GanttDataFields.START","start");F("anychart.enums.GanttDataFields.END","end");F("anychart.enums.GanttDataFields.FILL","fill");F("anychart.enums.GanttDataFields.STROKE","stroke");F("anychart.enums.GanttDataFields.HOVER_FILL","hoverFill");F("anychart.enums.GanttDataFields.HOVER_STROKE","hoverStroke");
F("anychart.enums.GanttDataFields.CONNECT_TO","connectTo");F("anychart.enums.GanttDataFields.CONNECTOR","connector");F("anychart.enums.GanttDataFields.CONNECTOR_TYPE","connectorType");F("anychart.enums.GanttDataFields.START_MARKER","startMarker");F("anychart.enums.GanttDataFields.END_MARKER","endMarker");F("anychart.enums.GanttDataFields.LABEL","label");F("anychart.enums.GanttRangeAnchor.FIRST_DATE","firstDate");F("anychart.enums.GanttRangeAnchor.FIRST_VISIBLE_DATE","firstVisibleDate");
F("anychart.enums.GanttRangeAnchor.LAST_DATE","lastDate");F("anychart.enums.GanttRangeAnchor.LAST_VISIBLE_DATE","lastVisibleDate");F("anychart.enums.ConnectorType.FINISH_START","finishstart");F("anychart.enums.ConnectorType.FINISH_FINISH","finishfinish");F("anychart.enums.ConnectorType.START_FINISH","startfinish");F("anychart.enums.ConnectorType.START_START","startstart");F("anychart.enums.ColumnFormats.DIRECT_NUMBERING","directNumbering");F("anychart.enums.ColumnFormats.TEXT","text");
F("anychart.enums.ColumnFormats.SHORT_TEXT","shortText");F("anychart.enums.ColumnFormats.PERCENT","percent");F("anychart.enums.ColumnFormats.DATE_COMMON_LOG","dateCommonLog");F("anychart.enums.ColumnFormats.DATE_ISO_8601","dateIso8601");F("anychart.enums.ColumnFormats.DATE_US_SHORT","dateUsShort");F("anychart.enums.ColumnFormats.DATE_DMY_DOTS","dateDmyDots");F("anychart.enums.ColumnFormats.FINANCIAL","financial");F("anychart.enums.GanttDateTimeMarkers.START","start");
F("anychart.enums.GanttDateTimeMarkers.END","end");F("anychart.enums.GanttDateTimeMarkers.CURRENT","current");F("anychart.enums.DataField.DEPENDS_ON","dependsOn");F("anychart.enums.DataField.OPTIMISTIC","optimistic");F("anychart.enums.DataField.PESSIMISTIC","pessimistic");F("anychart.enums.DataField.MOST_LIKELY","mostLikely");F("anychart.enums.DataField.EXPECTED","expected");F("anychart.enums.DataField.FROM","from");F("anychart.enums.DataField.TO","to");F("anychart.enums.DataField.ID","id");
F("anychart.enums.DataField.NAME","name");F("anychart.enums.Interval.YEARS","year");F("anychart.enums.Interval.MONTHS","month");F("anychart.enums.Interval.DAYS","day");F("anychart.enums.Interval.HOURS","hour");F("anychart.enums.Interval.MINUTES","minute");F("anychart.enums.Interval.SECONDS","second");F("anychart.enums.Interval.YEAR","year");F("anychart.enums.Interval.SEMESTER","semester");F("anychart.enums.Interval.QUARTER","quarter");F("anychart.enums.Interval.MONTH","month");
F("anychart.enums.Interval.THIRD_OF_MONTH","thirdofmonth");F("anychart.enums.Interval.WEEK","week");F("anychart.enums.Interval.DAY","day");F("anychart.enums.Interval.HOUR","hour");F("anychart.enums.Interval.MINUTE","minute");F("anychart.enums.Interval.SECOND","second");F("anychart.enums.Interval.MILLISECOND","millisecond");F("anychart.enums.ErrorMode.NONE","none");F("anychart.enums.ErrorMode.X","x");F("anychart.enums.ErrorMode.VALUE","value");F("anychart.enums.ErrorMode.BOTH","both");
F("anychart.enums.ScaleTypes.LINEAR","linear");F("anychart.enums.ScaleTypes.LOG","log");F("anychart.enums.ScaleTypes.DATE_TIME","dateTime");F("anychart.enums.ScaleTypes.ORDINAL","ordinal");F("anychart.enums.ScatterScaleTypes.LINEAR","linear");F("anychart.enums.ScatterScaleTypes.LOG","log");F("anychart.enums.ScatterScaleTypes.DATE_TIME","dateTime");F("anychart.enums.GaugeScaleTypes.LINEAR","linear");F("anychart.enums.GaugeScaleTypes.LOG","log");F("anychart.enums.AggregationType.AVERAGE","average");
F("anychart.enums.AggregationType.FIRST","first");F("anychart.enums.AggregationType.FIRST_VALUE","firstValue");F("anychart.enums.AggregationType.LAST","last");F("anychart.enums.AggregationType.LAST_VALUE","lastValue");F("anychart.enums.AggregationType.LIST","list");F("anychart.enums.AggregationType.MAX","max");F("anychart.enums.AggregationType.MIN","min");F("anychart.enums.AggregationType.SUM","sum");F("anychart.enums.AggregationType.WEIGHTED_AVERAGE","weightedAverage");
F("anychart.enums.TooltipDisplayMode.UNION","union");F("anychart.enums.TooltipDisplayMode.SEPARATED","separated");F("anychart.enums.TooltipDisplayMode.SINGLE","single");F("anychart.enums.TooltipPositionMode.FLOAT","float");F("anychart.enums.TooltipPositionMode.POINT","point");F("anychart.enums.TooltipPositionMode.CHART","chart");F("anychart.enums.CrosshairDisplayMode.FLOAT","float");F("anychart.enums.CrosshairDisplayMode.STICKY","sticky");F("anychart.enums.StockLabelsOverlapMode.NO_OVERLAP","noOverlap");
F("anychart.enums.StockLabelsOverlapMode.ALLOW_OVERLAP","allowOverlap");F("anychart.enums.StockLabelsOverlapMode.ALLOW_MAJOR_OVERLAP","allowMajorOverlap");F("anychart.enums.StockLabelsOverlapMode.ALLOW_MINOR_OVERLAP","allowMinorOverlap");F("anychart.enums.StockRangeType.UNIT","Unit");F("anychart.enums.StockRangeType.YTD","YTD");F("anychart.enums.StockRangeType.QTD","QTD");F("anychart.enums.StockRangeType.MTD","MTD");F("anychart.enums.StockRangeType.MAX","Max");
F("anychart.enums.StockRangeAnchor.FIRST_DATE","firstDate");F("anychart.enums.StockRangeAnchor.FIRST_VISIBLE_DATE","firstVisibleDate");F("anychart.enums.StockRangeAnchor.LAST_VISIBLE_DATE","lastVisibleDate");F("anychart.enums.StockRangeAnchor.LAST_DATE","lastDate");F("anychart.enums.TableSearchMode.EXACT_OR_PREV","exactOrPrev");F("anychart.enums.TableSearchMode.EXACT","exact");F("anychart.enums.TableSearchMode.EXACT_OR_NEXT","exactOrNext");F("anychart.enums.TableSearchMode.NEAREST","nearest");
F("anychart.enums.ChartScrollerPosition.AFTER_AXES","afterAxes");F("anychart.enums.ChartScrollerPosition.BEFORE_AXES","beforeAxes");F("anychart.enums.LabelsDisplayMode.ALWAYS_SHOW","alwaysShow");F("anychart.enums.LabelsDisplayMode.DROP","drop");F("anychart.enums.LabelsDisplayMode.CLIP","clip");F("anychart.enums.StepDirection.CENTER","center");F("anychart.enums.StepDirection.FORWARD","forward");F("anychart.enums.StepDirection.BACKWARD","backward");F("anychart.enums.TokenType.UNKNOWN","");
F("anychart.enums.TokenType.NUMBER","number");F("anychart.enums.TokenType.STRING","string");F("anychart.enums.TokenType.DATE_TIME","datetime");F("anychart.enums.TokenType.PERCENT","percent");F("anychart.enums.StringToken.AXIS_NAME","%AxisName");F("anychart.enums.StringToken.AXIS_SCALE_MAX","%AxisScaleMax");F("anychart.enums.StringToken.AXIS_SCALE_MIN","%AxisScaleMin");F("anychart.enums.StringToken.BUBBLE_SIZE","%BubbleSize");F("anychart.enums.StringToken.BUBBLE_SIZE_PERCENT_OF_CATEGORY","%BubbleSizePercentOfCategory");
F("anychart.enums.StringToken.BUBBLE_SIZE_PERCENT_OF_SERIES","%BubbleSizePercentOfSeries");F("anychart.enums.StringToken.BUBBLE_SIZE_PERCENT_OF_TOTAL","%BubbleSizePercentOfTotal");F("anychart.enums.StringToken.CATEGORY_NAME","%CategoryName");F("anychart.enums.StringToken.CATEGORY_Y_AVERAGE","%CategoryYAverage");F("anychart.enums.StringToken.CATEGORY_Y_MEDIAN","%CategoryYMedian");F("anychart.enums.StringToken.CATEGORY_Y_MODE","%CategoryYMode");
F("anychart.enums.StringToken.CATEGORY_Y_PERCENT_OF_TOTAL","%CategoryYPercentOfTotal");F("anychart.enums.StringToken.CATEGORY_Y_RANGE_AVERAGE","%CategoryYRangeAverage");F("anychart.enums.StringToken.CATEGORY_Y_RANGE_PERCENT_OF_TOTAL","%CategoryYRangePercentOfTotal");F("anychart.enums.StringToken.CATEGORY_Y_RANGE_MAX","%CategoryYRangeMax");F("anychart.enums.StringToken.CATEGORY_Y_RANGE_MIN","%CategoryYRangeMin");F("anychart.enums.StringToken.CATEGORY_Y_RANGE_MEDIAN","%CategoryYRangeMedian");
F("anychart.enums.StringToken.CATEGORY_Y_RANGE_MODE","%CategoryYRangeMode");F("anychart.enums.StringToken.CATEGORY_Y_RANGE_SUM","%CategoryYRangeSum");F("anychart.enums.StringToken.CATEGORY_Y_SUM","%CategoryYSum");F("anychart.enums.StringToken.CLOSE","%Close");F("anychart.enums.StringToken.DATA_PLOT_BUBBLE_MAX_SIZE","%DataPlotBubbleMaxSize");F("anychart.enums.StringToken.DATA_PLOT_BUBBLE_MIN_SIZE","%DataPlotBubbleMinSize");F("anychart.enums.StringToken.DATA_PLOT_BUBBLE_SIZE_AVERAGE","%DataPlotBubbleSizeAverage");
F("anychart.enums.StringToken.DATA_PLOT_BUBBLE_SIZE_SUM","%DataPlotBubbleSizeSum");F("anychart.enums.StringToken.DATA_PLOT_MAX_Y_SUM_SERIES_NAME","%DataPlotMaxYSumSeriesName");F("anychart.enums.StringToken.DATA_PLOT_MAX_Y_VALUE_POINT_NAME","%DataPlotMaxYValuePointName");F("anychart.enums.StringToken.DATA_PLOT_MAX_Y_VALUE_POINT_SERIES_NAME","%DataPlotMaxYValuePointSeriesName");F("anychart.enums.StringToken.DATA_PLOT_MIN_Y_SUM_SERIES_NAME","%DataPlotMinYSumSeriesName");
F("anychart.enums.StringToken.DATA_PLOT_MIN_Y_VALUE_POINT_NAME","%DataPlotMinYValuePointName");F("anychart.enums.StringToken.DATA_PLOT_MIN_Y_VALUE_POINT_SERIES_NAME","%DataPlotMinYValuePointSeriesName");F("anychart.enums.StringToken.DATA_PLOT_POINT_COUNT","%DataPlotPointCount");F("anychart.enums.StringToken.DATA_PLOT_SERIES_COUNT","%DataPlotSeriesCount");F("anychart.enums.StringToken.DATA_PLOT_X_AVERAGE","%DataPlotXAverage");F("anychart.enums.StringToken.DATA_PLOT_X_MAX","%DataPlotXMax");
F("anychart.enums.StringToken.DATA_PLOT_X_MIN","%DataPlotXMin");F("anychart.enums.StringToken.DATA_PLOT_X_SUM","%DataPlotXSum");F("anychart.enums.StringToken.DATA_PLOT_Y_AVERAGE","%DataPlotYAverage");F("anychart.enums.StringToken.DATA_PLOT_Y_MAX","%DataPlotYMax");F("anychart.enums.StringToken.DATA_PLOT_Y_MIN","%DataPlotYMin");F("anychart.enums.StringToken.DATA_PLOT_Y_RANGE_MAX","%DataPlotYRangeMax");F("anychart.enums.StringToken.DATA_PLOT_Y_RANGE_MIN","%DataPlotYRangeMin");
F("anychart.enums.StringToken.DATA_PLOT_Y_RANGE_SUM","%DataPlotYRangeSum");F("anychart.enums.StringToken.DATA_PLOT_Y_SUM","%DataPlotYSum");F("anychart.enums.StringToken.HIGH","%High");F("anychart.enums.StringToken.INDEX","%Index");F("anychart.enums.StringToken.LOW","%Low");F("anychart.enums.StringToken.NAME","%Name");F("anychart.enums.StringToken.OPEN","%Open");F("anychart.enums.StringToken.PERT_CHART_CRITICAL_PATH_STANDARD_DEVIATION","%PertChartCriticalPathStandardDeviation");
F("anychart.enums.StringToken.PERT_CHART_PROJECT_DURATION","%PertChartProjectDuration");F("anychart.enums.StringToken.RANGE","%Range");F("anychart.enums.StringToken.RANGE_END","%RangeEnd");F("anychart.enums.StringToken.RANGE_START","%RangeStart");F("anychart.enums.StringToken.SERIES_BUBBLE_MAX_SIZE","%SeriesBubbleMaxSize");F("anychart.enums.StringToken.SERIES_BUBBLE_MIN_SIZE","%SeriesBubbleMinSize");F("anychart.enums.StringToken.SERIES_BUBBLE_SIZE_AVERAGE","%SeriesBubbleSizeAverage");
F("anychart.enums.StringToken.SERIES_BUBBLE_SIZE_MEDIAN","%SeriesBubbleSizeMedian");F("anychart.enums.StringToken.SERIES_BUBBLE_SIZE_MODE","%SeriesBubbleSizeMode");F("anychart.enums.StringToken.SERIES_BUBBLE_SIZE_SUM","%SeriesBubbleSizeSum");F("anychart.enums.StringToken.SERIES_FIRST_X_VALUE","%SeriesFirstXValue");F("anychart.enums.StringToken.SERIES_FIRST_Y_VALUE","%SeriesFirstYValue");F("anychart.enums.StringToken.SERIES_LAST_X_VALUE","%SeriesLastXValue");
F("anychart.enums.StringToken.SERIES_LAST_Y_VALUE","%SeriesLastYValue");F("anychart.enums.StringToken.SERIES_MIN","%SeriesMin");F("anychart.enums.StringToken.SERIES_MAX","%SeriesMax");F("anychart.enums.StringToken.SERIES_NAME","%SeriesName");F("anychart.enums.StringToken.SERIES_POINT_COUNT","%SeriesPointCount");F("anychart.enums.StringToken.SERIES_X_AVERAGE","%SeriesXAverage");F("anychart.enums.StringToken.SERIES_X_AXIS_NAME","%SeriesXAxisName");F("anychart.enums.StringToken.SERIES_X_MAX","%SeriesXMax");
F("anychart.enums.StringToken.SERIES_X_MEDIAN","%SeriesXMedian");F("anychart.enums.StringToken.SERIES_X_MIN","%SeriesXMin");F("anychart.enums.StringToken.SERIES_X_MODE","%SeriesXMode");F("anychart.enums.StringToken.SERIES_X_SUM","%SeriesXSum");F("anychart.enums.StringToken.SERIES_Y_AVERAGE","%SeriesYAverage");F("anychart.enums.StringToken.SERIES_Y_AXIS_NAME","%SeriesYAxisName");F("anychart.enums.StringToken.SERIES_Y_MAX","%SeriesYMax");F("anychart.enums.StringToken.SERIES_Y_MEDIAN","%SeriesYMedian");
F("anychart.enums.StringToken.SERIES_Y_MIN","%SeriesYMin");F("anychart.enums.StringToken.SERIES_Y_MODE","%SeriesYMode");F("anychart.enums.StringToken.SERIES_Y_RANGE_MAX","%SeriesYRangeMax");F("anychart.enums.StringToken.SERIES_Y_RANGE_MIN","%SeriesYRangeMin");F("anychart.enums.StringToken.SERIES_Y_RANGE_SUM","%SeriesYRangeSum");F("anychart.enums.StringToken.SERIES_Y_SUM","%SeriesYSum");F("anychart.enums.StringToken.VALUE","%Value");F("anychart.enums.StringToken.PERCENT_VALUE","%PercentValue");
F("anychart.enums.StringToken.X_PERCENT_OF_SERIES","%XPercentOfSeries");F("anychart.enums.StringToken.X_PERCENT_OF_TOTAL","%XPercentOfTotal");F("anychart.enums.StringToken.X_VALUE","%XValue");F("anychart.enums.StringToken.Y_PERCENT_OF_CATEGORY","%YPercentOfCategory");F("anychart.enums.StringToken.Y_PERCENT_OF_SERIES","%YPercentOfSeries");F("anychart.enums.StringToken.Y_PERCENT_OF_TOTAL","%YPercentOfTotal");F("anychart.enums.StringToken.Y_VALUE","%YValue");
F("anychart.enums.StringToken.RESOURCE_INDEX","resourceIndex");F("anychart.enums.StringToken.ACTIVITY_INDEX","activityIndex");F("anychart.enums.StringToken.START","start");F("anychart.enums.StringToken.END","end");F("anychart.enums.StringToken.MINUTES_PER_DAY","minutesPerDay");F("anychart.enums.Statistics.AVERAGE","average");F("anychart.enums.Statistics.BUBBLE_SIZE","bubbleSize");F("anychart.enums.Statistics.BUBBLE_SIZE_PERCENT_OF_CATEGORY","bubbleSizePercentOfCategory");
F("anychart.enums.Statistics.BUBBLE_SIZE_PERCENT_OF_SERIES","bubbleSizePercentOfSeries");F("anychart.enums.Statistics.BUBBLE_SIZE_PERCENT_OF_TOTAL","bubbleSizePercentOfTotal");F("anychart.enums.Statistics.CATEGORY_NAME","categoryName");F("anychart.enums.Statistics.CATEGORY_Y_AVERAGE","categoryYAverage");F("anychart.enums.Statistics.CATEGORY_Y_MAX","categoryYMax");F("anychart.enums.Statistics.CATEGORY_Y_MEDIAN","categoryYMedian");F("anychart.enums.Statistics.CATEGORY_Y_MIN","categoryYMin");
F("anychart.enums.Statistics.CATEGORY_Y_MODE","categoryYMode");F("anychart.enums.Statistics.CATEGORY_Y_PERCENT_OF_TOTAL","categoryYPercentOfTotal");F("anychart.enums.Statistics.CATEGORY_Y_RANGE_AVERAGE","categoryYRangeAverage");F("anychart.enums.Statistics.CATEGORY_Y_RANGE_MAX","categoryYRangeMax");F("anychart.enums.Statistics.CATEGORY_Y_RANGE_MEDIAN","categoryYRangeMedian");F("anychart.enums.Statistics.CATEGORY_Y_RANGE_MIN","categoryYRangeMin");
F("anychart.enums.Statistics.CATEGORY_Y_RANGE_MODE","categoryYRangeMode");F("anychart.enums.Statistics.CATEGORY_Y_RANGE_PERCENT_OF_TOTAL","categoryYRangePercentOfTotal");F("anychart.enums.Statistics.CATEGORY_Y_RANGE_SUM","categoryYRangeSum");F("anychart.enums.Statistics.CATEGORY_Y_SUM","categoryYSum");F("anychart.enums.Statistics.CLOSE","close");F("anychart.enums.Statistics.COUNT","count");F("anychart.enums.Statistics.DATA_PLOT_BUBBLE_MAX_SIZE","dataPlotBubbleMaxSize");
F("anychart.enums.Statistics.DATA_PLOT_BUBBLE_MIN_SIZE","dataPlotBubbleMinSize");F("anychart.enums.Statistics.DATA_PLOT_BUBBLE_SIZE_AVERAGE","dataPlotBubbleSizeAverage");F("anychart.enums.Statistics.DATA_PLOT_BUBBLE_SIZE_SUM","dataPlotBubbleSizeSum");F("anychart.enums.Statistics.DATA_PLOT_MAX_X_SUM_SERIES_NAME","dataPlotMaxXSumSeriesName");F("anychart.enums.Statistics.DATA_PLOT_MAX_Y_SUM_SERIES_NAME","dataPlotMaxYSumSeriesName");
F("anychart.enums.Statistics.DATA_PLOT_MAX_X_VALUE_POINT_SERIES_NAME","dataPlotMaxXValuePointSeriesName");F("anychart.enums.Statistics.DATA_PLOT_MAX_Y_VALUE_POINT_SERIES_NAME","dataPlotMaxYValuePointSeriesName");F("anychart.enums.Statistics.DATA_PLOT_MIN_X_SUM_SERIES_NAME","dataPlotMinXSumSeriesName");F("anychart.enums.Statistics.DATA_PLOT_MIN_Y_SUM_SERIES_NAME","dataPlotMinYSumSeriesName");F("anychart.enums.Statistics.DATA_PLOT_MIN_X_VALUE_POINT_SERIES_NAME","dataPlotMinXValuePointSeriesName");
F("anychart.enums.Statistics.DATA_PLOT_MIN_Y_VALUE_POINT_SERIES_NAME","dataPlotMinYValuePointSeriesName");F("anychart.enums.Statistics.DATA_PLOT_POINT_COUNT","dataPlotPointCount");F("anychart.enums.Statistics.DATA_PLOT_SERIES_COUNT","dataPlotSeriesCount");F("anychart.enums.Statistics.DATA_PLOT_X_AVERAGE","dataPlotXAverage");F("anychart.enums.Statistics.DATA_PLOT_X_MAX","dataPlotXMax");F("anychart.enums.Statistics.DATA_PLOT_X_MIN","dataPlotXMin");F("anychart.enums.Statistics.DATA_PLOT_X_SUM","dataPlotXSum");
F("anychart.enums.Statistics.DATA_PLOT_Y_AVERAGE","dataPlotYAverage");F("anychart.enums.Statistics.DATA_PLOT_Y_MAX","dataPlotYMax");F("anychart.enums.Statistics.DATA_PLOT_Y_MIN","dataPlotYMin");F("anychart.enums.Statistics.DATA_PLOT_Y_RANGE_MAX","dataPlotYRangeMax");F("anychart.enums.Statistics.DATA_PLOT_Y_RANGE_MIN","dataPlotYRangeMin");F("anychart.enums.Statistics.DATA_PLOT_Y_RANGE_SUM","dataPlotYRangeSum");F("anychart.enums.Statistics.DATA_PLOT_Y_SUM","dataPlotYSum");
F("anychart.enums.Statistics.HIGH","high");F("anychart.enums.Statistics.INDEX","index");F("anychart.enums.Statistics.LOW","low");F("anychart.enums.Statistics.NAME","name");F("anychart.enums.Statistics.MAX","max");F("anychart.enums.Statistics.MIN","min");F("anychart.enums.Statistics.OPEN","open");F("anychart.enums.Statistics.PERT_CHART_CRITICAL_PATH_STANDARD_DEVIATION","pertChartCriticalPathStandardDeviation");F("anychart.enums.Statistics.PERT_CHART_PROJECT_DURATION","pertChartProjectDuration");
F("anychart.enums.Statistics.POINTS_COUNT","pointsCount");F("anychart.enums.Statistics.RANGE","range");F("anychart.enums.Statistics.RANGE_END","rangeEnd");F("anychart.enums.Statistics.RANGE_START","rangeStart");F("anychart.enums.Statistics.SERIES_AVERAGE","seriesAverage");F("anychart.enums.Statistics.SERIES_BUBBLE_MAX_SIZE","seriesBubbleMaxSize");F("anychart.enums.Statistics.SERIES_BUBBLE_MIN_SIZE","seriesBubbleMinSize");F("anychart.enums.Statistics.SERIES_BUBBLE_SIZE_AVERAGE","seriesBubbleSizeAverage");
F("anychart.enums.Statistics.SERIES_BUBBLE_SIZE_MEDIAN","seriesBubbleSizeMedian");F("anychart.enums.Statistics.SERIES_BUBBLE_SIZE_MODE","seriesBubbleSizeMode");F("anychart.enums.Statistics.SERIES_BUBBLE_SIZE_SUM","seriesBubbleSizeSum");F("anychart.enums.Statistics.SERIES_FIRST_X_VALUE","seriesFirstXValue");F("anychart.enums.Statistics.SERIES_FIRST_Y_VALUE","seriesFirstYValue");F("anychart.enums.Statistics.SERIES_LAST_X_VALUE","seriesLastXValue");F("anychart.enums.Statistics.SERIES_LAST_Y_VALUE","seriesLastYValue");
F("anychart.enums.Statistics.SERIES_MIN","seriesMin");F("anychart.enums.Statistics.SERIES_MAX","seriesMax");F("anychart.enums.Statistics.SERIES_NAME","seriesName");F("anychart.enums.Statistics.SERIES_POINT_COUNT","seriesPointCount");F("anychart.enums.Statistics.SERIES_POINTS_COUNT","seriesPointsCount");F("anychart.enums.Statistics.SERIES_SUM","seriesSum");F("anychart.enums.Statistics.SERIES_X_AVERAGE","seriesXAverage");F("anychart.enums.Statistics.SERIES_X_MAX","seriesXMax");
F("anychart.enums.Statistics.SERIES_X_MEDIAN","seriesXMedian");F("anychart.enums.Statistics.SERIES_X_MIN","seriesXMin");F("anychart.enums.Statistics.SERIES_X_MODE","seriesXMode");F("anychart.enums.Statistics.SERIES_X_SUM","seriesXSum");F("anychart.enums.Statistics.SERIES_Y_AVERAGE","seriesYAverage");F("anychart.enums.Statistics.SERIES_Y_MAX","seriesYMax");F("anychart.enums.Statistics.SERIES_Y_MEDIAN","seriesYMedian");F("anychart.enums.Statistics.SERIES_Y_MIN","seriesYMin");
F("anychart.enums.Statistics.SERIES_Y_MODE","seriesYMode");F("anychart.enums.Statistics.SERIES_Y_RANGE_AVERAGE","seriesYRangeAverage");F("anychart.enums.Statistics.SERIES_Y_RANGE_MAX","seriesYRangeMax");F("anychart.enums.Statistics.SERIES_Y_RANGE_MEDIAN","seriesYRangeMedian");F("anychart.enums.Statistics.SERIES_Y_RANGE_MIN","seriesYRangeMin");F("anychart.enums.Statistics.SERIES_Y_RANGE_MODE","seriesYRangeMode");F("anychart.enums.Statistics.SERIES_Y_RANGE_SUM","seriesYRangeSum");
F("anychart.enums.Statistics.SERIES_Y_SUM","seriesYSum");F("anychart.enums.Statistics.SUM","sum");F("anychart.enums.Statistics.VALUE","value");F("anychart.enums.Statistics.PERCENT_VALUE","percentValue");F("anychart.enums.Statistics.X_PERCENT_OF_SERIES","xPercentOfSeries");F("anychart.enums.Statistics.X_PERCENT_OF_TOTAL","xPercentOfTotal");F("anychart.enums.Statistics.X_VALUE","xValue");F("anychart.enums.Statistics.Y_PERCENT_OF_CATEGORY","yPercentOfCategory");
F("anychart.enums.Statistics.Y_PERCENT_OF_SERIES","yPercentOfSeries");F("anychart.enums.Statistics.Y_PERCENT_OF_TOTAL","yPercentOfTotal");F("anychart.enums.Statistics.Y_VALUE","yValue");F("anychart.enums.Statistics.X_SCALES_MIN","xScalesMin");F("anychart.enums.Statistics.X_SCALES_MAX","xScalesMax");F("anychart.enums.Statistics.Y_SCALES_MIN","yScalesMin");F("anychart.enums.Statistics.Y_SCALES_MAX","yScalesMax");F("anychart.enums.ChartDataExportMode.RAW","raw");
F("anychart.enums.ChartDataExportMode.SELECTED","selected");F("anychart.enums.ChartDataExportMode.GROUPED","grouped");F("anychart.enums.ChartDataExportMode.DEFAULT","default");F("anychart.enums.MapSeriesType.CHOROPLETH","choropleth");F("anychart.enums.MapSeriesType.BUBBLE","bubble");F("anychart.enums.MapSeriesType.MARKER","marker");F("anychart.enums.MapSeriesType.CONNECTOR","connector");F("anychart.enums.CartesianSeriesType.AREA","area");F("anychart.enums.CartesianSeriesType.BAR","bar");
F("anychart.enums.CartesianSeriesType.BOX","box");F("anychart.enums.CartesianSeriesType.BUBBLE","bubble");F("anychart.enums.CartesianSeriesType.CANDLESTICK","candlestick");F("anychart.enums.CartesianSeriesType.COLUMN","column");F("anychart.enums.CartesianSeriesType.LINE","line");F("anychart.enums.CartesianSeriesType.MARKER","marker");F("anychart.enums.CartesianSeriesType.OHLC","ohlc");F("anychart.enums.CartesianSeriesType.RANGE_AREA","rangeArea");F("anychart.enums.CartesianSeriesType.RANGE_BAR","rangeBar");
F("anychart.enums.CartesianSeriesType.RANGE_COLUMN","rangeColumn");F("anychart.enums.CartesianSeriesType.RANGE_SPLINE_AREA","rangeSplineArea");F("anychart.enums.CartesianSeriesType.RANGE_STEP_AREA","rangeStepArea");F("anychart.enums.CartesianSeriesType.SPLINE","spline");F("anychart.enums.CartesianSeriesType.SPLINE_AREA","splineArea");F("anychart.enums.CartesianSeriesType.STEP_AREA","stepArea");F("anychart.enums.CartesianSeriesType.STEP_LINE","stepLine");
F("anychart.enums.Cartesian3dSeriesType.AREA","area");F("anychart.enums.Cartesian3dSeriesType.BAR","bar");F("anychart.enums.Cartesian3dSeriesType.COLUMN","column");F("anychart.enums.ScatterSeriesType.BUBBLE","bubble");F("anychart.enums.ScatterSeriesType.LINE","line");F("anychart.enums.ScatterSeriesType.MARKER","marker");F("anychart.enums.SparklineSeriesType.AREA","area");F("anychart.enums.SparklineSeriesType.COLUMN","column");F("anychart.enums.SparklineSeriesType.LINE","line");
F("anychart.enums.SparklineSeriesType.WIN_LOSS","winLoss");F("anychart.enums.StockSeriesType.AREA","area");F("anychart.enums.StockSeriesType.CANDLESTICK","candlestick");F("anychart.enums.StockSeriesType.COLUMN","column");F("anychart.enums.StockSeriesType.LINE","line");F("anychart.enums.StockSeriesType.MARKER","marker");F("anychart.enums.StockSeriesType.OHLC","ohlc");F("anychart.enums.StockSeriesType.RANGE_AREA","rangeArea");F("anychart.enums.StockSeriesType.RANGE_COLUMN","rangeColumn");
F("anychart.enums.StockSeriesType.RANGE_SPLINE_AREA","rangeSplineArea");F("anychart.enums.StockSeriesType.RANGE_STEP_AREA","rangeStepArea");F("anychart.enums.StockSeriesType.SPLINE","spline");F("anychart.enums.StockSeriesType.SPLINE_AREA","splineArea");F("anychart.enums.StockSeriesType.STEP_AREA","stepArea");F("anychart.enums.StockSeriesType.STEP_LINE","stepLine");F("anychart.enums.MovingAverageType.SMA","sma");F("anychart.enums.MovingAverageType.EMA","ema");
F("anychart.enums.RadarSeriesType.AREA","area");F("anychart.enums.RadarSeriesType.LINE","line");F("anychart.enums.RadarSeriesType.MARKER","marker");F("anychart.enums.PolarSeriesType.AREA","area");F("anychart.enums.PolarSeriesType.LINE","line");F("anychart.enums.PolarSeriesType.MARKER","marker");F("anychart.enums.PolarSeriesType.POLYGON","polygon");F("anychart.enums.PolarSeriesType.POLYLINE","polyline");F("anychart.enums.PolarSeriesType.COLUMN","column");
F("anychart.enums.PolarSeriesType.RANGE_COLUMN","rangeColumn");F("anychart.enums.MekkoSeriesType.MEKKO","mekko");F("anychart.enums.MilestoneShape.CIRCLE","circle");F("anychart.enums.MilestoneShape.RHOMBUS","rhombus");F("anychart.enums.MilestoneShape.RECTANGLE","rectangle");F("anychart.enums.AnnotationTypes.RAY","ray");F("anychart.enums.AnnotationTypes.LINE","line");F("anychart.enums.AnnotationTypes.INFINITE_LINE","infiniteLine");F("anychart.enums.AnnotationTypes.VERTICAL_LINE","verticalLine");
F("anychart.enums.AnnotationTypes.HORIZONTAL_LINE","horizontalLine");F("anychart.enums.AnnotationTypes.RECTANGLE","rectangle");F("anychart.enums.AnnotationTypes.ELLIPSE","ellipse");F("anychart.enums.AnnotationTypes.TRIANGLE","triangle");F("anychart.enums.AnnotationTypes.TREND_CHANNEL","trendChannel");F("anychart.enums.AnnotationTypes.ANDREWS_PITCHFORK","andrewsPitchfork");F("anychart.enums.AnnotationTypes.FIBONACCI_FAN","fibonacciFan");F("anychart.enums.AnnotationTypes.FIBONACCI_ARC","fibonacciArc");
F("anychart.enums.AnnotationTypes.FIBONACCI_RETRACEMENT","fibonacciRetracement");F("anychart.enums.AnnotationTypes.FIBONACCI_TIMEZONES","fibonacciTimezones");F("anychart.enums.AnnotationTypes.MARKER","marker");F("anychart.enums.A11yMode.CHART_ELEMENTS","chartElements");F("anychart.enums.A11yMode.DATA_TABLE","dataTable");F("anychart.enums.LocaleDateTimeFormat.YEAR","year");F("anychart.enums.LocaleDateTimeFormat.YEAR_SEMESTER","year_semester");F("anychart.enums.LocaleDateTimeFormat.YEAR_QUARTER","year_quarter");
F("anychart.enums.LocaleDateTimeFormat.YEAR_MONTH","year_month");F("anychart.enums.LocaleDateTimeFormat.YEAR_THIRD_OF_MONTH","year_third_of_month");F("anychart.enums.LocaleDateTimeFormat.YEAR_WEEK","year_week");F("anychart.enums.LocaleDateTimeFormat.YEAR_DAY","year_day");F("anychart.enums.LocaleDateTimeFormat.YEAR_HOUR","year_hour");F("anychart.enums.LocaleDateTimeFormat.YEAR_MINUTE","year_minute");F("anychart.enums.LocaleDateTimeFormat.YEAR_SECOND","year_second");
F("anychart.enums.LocaleDateTimeFormat.YEAR_MILLISECOND","year_millisecond");F("anychart.enums.LocaleDateTimeFormat.SEMESTER","semester");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_QUARTER","semester_quarter");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_MONTH","semester_month");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_THIRD_OF_MONTH","semester_third_of_month");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_WEEK","semester_week");
F("anychart.enums.LocaleDateTimeFormat.SEMESTER_DAY","semester_day");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_HOUR","semester_hour");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_MINUTE","semester_minute");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_SECOND","semester_second");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_MILLISECOND","semester_millisecond");F("anychart.enums.LocaleDateTimeFormat.QUARTER","quarter");F("anychart.enums.LocaleDateTimeFormat.QUARTER_MONTH","quarter_month");
F("anychart.enums.LocaleDateTimeFormat.QUARTER_THIRD_OF_MONTH","quarter_third_of_month");F("anychart.enums.LocaleDateTimeFormat.QUARTER_WEEK","quarter_week");F("anychart.enums.LocaleDateTimeFormat.QUARTER_DAY","quarter_day");F("anychart.enums.LocaleDateTimeFormat.QUARTER_HOUR","quarter_hour");F("anychart.enums.LocaleDateTimeFormat.QUARTER_MINUTE","quarter_minute");F("anychart.enums.LocaleDateTimeFormat.QUARTER_SECOND","quarter_second");F("anychart.enums.LocaleDateTimeFormat.QUARTER_MILLISECOND","quarter_millisecond");
F("anychart.enums.LocaleDateTimeFormat.MONTH","month");F("anychart.enums.LocaleDateTimeFormat.MONTH_THIRD_OF_MONTH","month_third_of_month");F("anychart.enums.LocaleDateTimeFormat.MONTH_WEEK","month_week");F("anychart.enums.LocaleDateTimeFormat.MONTH_DAY","month_day");F("anychart.enums.LocaleDateTimeFormat.MONTH_HOUR","month_hour");F("anychart.enums.LocaleDateTimeFormat.MONTH_MINUTE","month_minute");F("anychart.enums.LocaleDateTimeFormat.MONTH_SECOND","month_second");
F("anychart.enums.LocaleDateTimeFormat.MONTH_MILLISECOND","month_millisecond");F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH","third_of_month");F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_WEEK","third_of_month_week");F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_DAY","third_of_month_day");F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_HOUR","third_of_month_hour");F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_MINUTE","third_of_month_minute");
F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_SECOND","third_of_month_second");F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_MILLISECOND","third_of_month_millisecond");F("anychart.enums.LocaleDateTimeFormat.WEEK","week");F("anychart.enums.LocaleDateTimeFormat.WEEK_DAY","week_day");F("anychart.enums.LocaleDateTimeFormat.WEEK_HOUR","week_hour");F("anychart.enums.LocaleDateTimeFormat.WEEK_MINUTE","week_minute");F("anychart.enums.LocaleDateTimeFormat.WEEK_SECOND","week_second");
F("anychart.enums.LocaleDateTimeFormat.WEEK_MILLISECOND","week_millisecond");F("anychart.enums.LocaleDateTimeFormat.DAY","day");F("anychart.enums.LocaleDateTimeFormat.DAY_HOUR","day_hour");F("anychart.enums.LocaleDateTimeFormat.DAY_MINUTE","day_minute");F("anychart.enums.LocaleDateTimeFormat.DAY_SECOND","day_second");F("anychart.enums.LocaleDateTimeFormat.DAY_MILLISECOND","day_millisecond");F("anychart.enums.LocaleDateTimeFormat.HOUR","hour");F("anychart.enums.LocaleDateTimeFormat.HOUR_MINUTE","hour_minute");
F("anychart.enums.LocaleDateTimeFormat.HOUR_SECOND","hour_second");F("anychart.enums.LocaleDateTimeFormat.HOUR_MILLISECOND","hour_millisecond");F("anychart.enums.LocaleDateTimeFormat.MINUTE","minute");F("anychart.enums.LocaleDateTimeFormat.MINUTE_SECOND","minute_second");F("anychart.enums.LocaleDateTimeFormat.MINUTE_MILLISECOND","minute_millisecond");F("anychart.enums.LocaleDateTimeFormat.SECOND","second");F("anychart.enums.LocaleDateTimeFormat.SECOND_MILLISECOND","second_millisecond");
F("anychart.enums.LocaleDateTimeFormat.MILLISECOND","millisecond");F("anychart.enums.IntervalFormatPrefix.NONE","");F("anychart.enums.IntervalFormatPrefix.FULL","full");F("anychart.enums.AvailabilityPeriod.YEAR","year");F("anychart.enums.AvailabilityPeriod.WEEK","week");F("anychart.enums.AvailabilityPeriod.DAY","day");F("anychart.enums.AvailabilityPeriod.NONE","none");F("anychart.enums.TimeTrackingMode.AVAILABILITY_PER_CHART","availabilityPerChart");
F("anychart.enums.TimeTrackingMode.AVAILABILITY_PER_RESOURCE","availabilityPerResource");F("anychart.enums.TimeTrackingMode.ACTIVITY_PER_CHART","activityPerChart");F("anychart.enums.TimeTrackingMode.ACTIVITY_PER_RESOURCE","activityPerResource");F("anychart.enums.ShapeType.PATH","path");F("anychart.enums.ShapeType.CIRCLE","circle");F("anychart.enums.ShapeType.ELLIPSE","ellipse");F("anychart.enums.ShapeType.RECT","rect");F("anychart.enums.FontStyle.NORMAL","normal");
F("anychart.enums.FontStyle.ITALIC","italic");F("anychart.enums.FontStyle.OBLIQUE","oblique");F("anychart.enums.FontVariant.NORMAL","normal");F("anychart.enums.FontVariant.SMALL_CAP","small-caps");F("anychart.enums.TextParsingMode.CSV","csv");F("anychart.enums.TextParsingMode.BY_WORD","byWord");F("anychart.enums.TextParsingMode.BY_CHAR","byChar");F("anychart.enums.HAlign.LEFT","left");F("anychart.enums.HAlign.START","start");F("anychart.enums.HAlign.CENTER","center");
F("anychart.enums.HAlign.END","end");F("anychart.enums.HAlign.RIGHT","right");F("anychart.enums.VAlign.TOP","top");F("anychart.enums.VAlign.MIDDLE","middle");F("anychart.enums.VAlign.BOTTOM","bottom");F("anychart.enums.TextWrap.NO_WRAP","noWrap");F("anychart.enums.TextWrap.BY_LETTER","byLetter");F("anychart.enums.TextWrap.BY_WORD","byWord");F("anychart.enums.TagCloudMode.SPIRAL","spiral");F("anychart.enums.TagCloudMode.RECT","rect");F("anychart.enums.WaterfallDataMode.ABSOLUTE","absolute");
F("anychart.enums.WaterfallDataMode.DIFF","diff");var Oo=-1,Po=-1;function Qo(a,b,c){Ro("error","Error: "+a+"\nDescription: "+So(a,c),b||"")}
function So(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 To(a){switch(a){case 1:return"It is not recommended to use more than 5 ranges in Bullet Chart. Currently there are '"+(void 0)[0]+"' ranges.\nExpert opinion at http://cdn.anychart.com/warning/1.html";case 2:return"It is not recommended to use more than 2 markers in Bullet Chart. Currently there are '"+(void 0)[0]+"' markers.\nExpert opinion at http://cdn.anychart.com/warning/2.html";case 3:return"It is not recommended to use more then 5 - 7 points in Pie Chart. Currently there are '"+(void 0)[0]+
"' points.\nExpert opinion at http://cdn.anychart.com/warning/3.html";default:return"We think we can help you improve your data visualization, please contact us at http://support.anychart.com/."}}function N(a,b,c){Po!=a&&(Po=a,Ro("warn","Warning: "+a+"\nDescription: "+Uo(a,c),b||""))}
function Uo(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 Ro(a,b,c){var d=da.console;d&&(a=d[a]||d.log,"object"!=typeof a&&a.call(d,b,c))};function Vo(a,b){Jb.call(this);this.b=a;this.w=b;this.R=Wo.test(cg().location.hostname);this.u=!(this.w||this.R);this.g=Xo|Yo|Zo|$o}G(Vo,Jb);var Wo=/^(.*\.)?anychart\.(com|stg|dev)$/i,ap=!1,Xo=1,Yo=2,Zo=4,$o=8;g=Vo.prototype;g.O=function(a){return!!(this.g&a)};g.K=function(a){this.g&=~a};g.o=function(a,b){var c=a&~this.g;this.g|=c;!this.$b&&!this.b.bc()&&c&&b&&this.b.ld()};function bp(){return("https:"==cg().location.protocol?"https://":"http://")+"static.anychart.com/logo.png"}
g.enabled=function(a){return m(a)?(this.u!=a&&(this.u=a,(cp(this)||this.w)&&this.o(Xo,!0)),this):this.u};g.text=function(a){return m(a)?(this.Va!=a&&(this.Va=a,cp(this)&&this.o(Zo,!0)),this):this.Va};g.Hq=function(a){return m(a)?(this.aa!=a&&(this.aa=a,cp(this)&&this.o(Yo,!0)),this):this.aa};g.Fq=function(a){return m(a)?(this.I!=a&&(this.I=a,cp(this)&&this.o(Yo,!0)),this):this.I};g.Gq=function(a){return m(a)?(this.N!=a&&(this.N=a,cp(this)&&this.o(Yo,!0)),this):this.N};
g.Yn=function(a){return m(a)?(this.xa!=a&&(this.xa=a,cp(this)&&this.o($o,!0)),this):this.xa};g.ka=function(){return this.b};g.Y=function(){return this.Ab};
g.ld=function(){var a=cp(this);a&&m(this.W)&&!this.W&&this.o(Xo,!1);this.W=a;if(!this.g||this.$b||!this.b||this.b.bc())return this;if(!this.enabled()&&(this.w||a))return this.O(Xo)&&(lg(this.Ab),this.K(Xo)),this;if(!ap){var b="",c=dg("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)));kg(Vf("head",void 0,void 0)[0],c);ap=!0}this.Ab||(this.Ab=dg("DIV","anychart-credits"));this.i||(this.i=dg("A"),this.j=dg("SPAN","anychart-credits-text"),this.f=dg("IMG","anychart-credits-logo"),ig(this.i,this.j),this.Ab.appendChild(this.i));b=this.b.vi();this.O(Xo)&&(b&&b.appendChild(this.Ab),this.K(Xo));this.O(Yo)&&(Xf(this.i,{href:a?this.Hq():"https://www.anychart.com/?utm_source=trial",title:a?this.Fq():"AnyChart - JavaScript Charts designed to be embedded and integrated",
target:"_blank"}),Xf(this.f,{alt:a?this.Gq():"AnyChart - JavaScript Charts"}),this.K(Yo));this.O(Zo)&&(a=a?this.text():"AnyChart Trial Version",qg(this.j,a),this.K(Zo));if(this.O($o)){if(a=cp(this)?this.Yn():bp()){if(this.B=a,b=aj(gh))Wc(b,"complete",this.RD,!1,this),Wc(b,"load",this.rA,!1,this),Wc(b,"error",this.SD,!1,this),this.D&&(Ni(b,a),this.D=!1),Mi(b,a,a),this.D=!0,b.start()}else lg(this.f);this.K($o)}return this};function cp(a){return dp()||a.R}
g.rA=function(a){var b=this.B;a.target.id==b&&(this.$b||(cp(this)?this.Yn():bp())!=b||this.f.parentNode||kg(this.i,this.f),Xf(this.f,{src:b}),this.D=!1)};g.RD=function(a){a.target.id==this.B&&(this.D=!1)};g.SD=function(a){a.target.id==this.B&&lg(this.f)};g.X=function(a){this.b.wc();B(a)?(this.text(a),this.enabled(!0)):ka(a)||null===a?this.enabled(!!a):A(a)&&(this.Hq(a.url),this.text(a.text),this.Fq(a.alt),this.Gq(a.imgAlt),this.Yn(a.logoSrc),this.enabled(a.enabled));this.b.sc()};
g.G=function(){var a={};a.url=this.Hq();a.alt=this.Fq();a.imgAlt=this.Gq();a.text=this.text();a.logoSrc=this.Yn();a.enabled=this.enabled();return a};g.ea=function(){var a=aj(gh);a&&(dd(a,"load",this.rA,!1,this),dd(a,"complete",this.RD,!1,this),dd(a,"error",this.SD,!1,this));lg(this.j);lg(this.f);lg(this.i);lg(this.Ab);this.b=this.Ab=this.i=this.f=this.j=null;Vo.F.ea.call(this)};var ep=Vo.prototype;ep.text=ep.text;ep.url=ep.Hq;ep.alt=ep.Fq;ep.imgAlt=ep.Gq;ep.logoSrc=ep.Yn;ep.enabled=ep.enabled;var fp=da.performance&&D(da.performance.now)?qa(da.performance.now,da.performance):ta;var gp={color:"#fff",opacity:1E-5};function hp(a,b,c){a=ip(a);b=ip(b);var d=(a.opacity+b.opacity)/2;return{color:Re(Um(a.uE,b.uE,m(c)?c:.5)),opacity:d}}function ip(a){var b=a,c=1;q(a)||(B(a)?b=a:(b=a.color||"#000",c=m(a.opacity)?a.opacity:1),a=jp(b).Je,b=Rm(a));return{uE:b,opacity:c}}
function kp(a,b,c,d){b=null==b||isNaN(+b)?7:+b;d=null!=d?ce(d,0,1):NaN;var e,f;a=jp(a||"#000").Je;f=Rm(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?ce(c,0,1):.95):c=null!=c?ce(c,0,1):f;f=1l?l*(1+e):l+e-e*l;r=2*l-t;l=255*Tm(r,t,p+1/3);n=255*Tm(r,t,p);p=255*Tm(r,t,p-1/3)}else l=n=p=255*l;h.push(Re([Math.round(l),Math.round(n),Math.round(p)]))}return h}function lp(a){if(A(a))if(a.color)a=a.color;else return null;if(B(a))try{return Mm(a).Je}catch(b){}return null}
function mp(a,b){if(A(a)&&m(a.keys)){for(var c=dc(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.Je=Re(c),b.type="rgb",b):Lm&&(a=Lm[a.toLowerCase()])?(b.Je=a,b.type="named",b):null}function sp(a,b,c){var d;c?d=Le(a):d=Se(a);B(d)?d={color:d,opacity:b}:A(d)&&(d.opacity=b);return d}var tp={};
function up(a,b){var c;if(!a)return vp;if(q(a)){var d=b+"|"+a.join("|");c=tp[d];if(!c){switch(b){case 2:c=wp;break;case 3:c=xp;break;default:case 1:c=yp}tp[d]=c=ra(zp,a,c,3==b)}}else(c=tp.transparent)||(c=tp.transparent=function(){return gp});return c}function vp(){return"none"}
function zp(a,b,c,d,e,f,h){var k;e=Math.min(e&(Ap|Bp),Bp);if(e!=Cp&&1a++;){if(this.$b)return;this.Gf.Oi();b=nq(this)}b&&this.Gf.Oi();this.$b||(b?(this.Gf.Ic(this.oc),this.ox=setTimeout(this.vs,0)):this.Gf.Pq())};function mq(a){for(var b=a.length,c=Array(b),d=c[0]=-1,e=1;e=d){f="";e=0;a.Cf=-1;a.Df=-1;a.oc=c+1;h=0;break}else return 0=zq(a,b,c,d,e[h],e[h+1]);return f}function zq(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("")}
Lq.prototype.clone=function(){return new Lq(this.j,this.D,this.b,this.i,this.g,this.f)};var Mq="y",Nq="m",Oq="d",Pq="h",Qq="n",Rq="s";Lq.prototype.u=function(a){return new Lq(this.j*a,this.D*a,this.b*a,this.i*a,this.g*a,this.f*a)};Lq.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 Uq(a,b,c){C(a)?(this.b=Vq(a,b||0,c||1),Wq(this,c||1)):A(a)?(this.b=Vq(a.getFullYear(),a.getMonth(),a.getDate()),Wq(this,a.getDate())):(this.b=new Date(ta()),a=this.b.getDate(),this.b.setHours(0),this.b.setMinutes(0),this.b.setSeconds(0),this.b.setMilliseconds(0),Wq(this,a))}function Vq(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b}g=Uq.prototype;g.um=Iq.ht;g.vm=Iq.it;g.clone=function(){var a=new Uq(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.Or=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 Xq(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(Kq(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()),Wq(this,a.getDate()))};
g.Pr=function(a,b){return[this.getFullYear(),Sa(this.getMonth()+1,2),Sa(this.getDate(),2)].join(a?"-":"")+(b?Xq(this):"")};g.Yx=function(a,b){return[this.getUTCFullYear(),Sa(this.getUTCMonth()+1,2),Sa(this.getUTCDate(),2)].join(a?"-":"")+(b?"Z":"")};g.toString=function(){return this.Pr()};function Wq(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(":",Sa(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=er(a);b.D=[c,c];b.b={bR:a,sy:a};b.i=[];return b}b=new cr;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 er(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(Sa(Math.floor(a/60)%100,2),":",Sa(a%60,2));return b.join("")}function xr(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 yr(a,b){this.f=[];this.b=b||Iq;"number"==typeof a?zr(this,a):Ar(this,a)}var Br=[/^\'(?:[^\']|\'\')*(\'|$)/,/^(?:G+|y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/,/^[^\'GyMkSEahKHcLQdmsvVwzZ]+/];function Cr(a){return a.getHours?a.getHours():0}
function Ar(a,b){for(Dr&&(b=b.replace(/\u200f/g,""));b;){for(var c=b,d=0;db)c=a.b.gn[b];else if(8>b)c=a.b.kn[b-4];else if(12>b)c=a.b.et[b-8],c=c.replace("{1}",a.b.gn[b-8]),c=c.replace("{0}",a.b.kn[b-8]);else{zr(a,10);return}Ar(a,c)}function Gr(a,b){var c;c=String(b);var d=a.b||Iq;if(void 0!==d.tt){for(var e=[],f=0;f=h?String.fromCharCode(d.tt+h-48):c.charAt(f))}c=e.join("")}return c}var Dr=!1;
function Hr(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 Fr(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),Gr(a,Sa(c,h));case "M":a:switch(c=d.getMonth(),h){case 5:h=a.b.my[c];break a;case 4:h=a.b.jt[c];break a;case 3:h=a.b.mt[c];break a;default:h=Gr(a,Sa(c+1,h))}return h;case "k":return Hr(e),c=Cr(e)||24,Gr(a,Sa(c,h));case "S":return Gr(a,(e.getTime()%1E3/1E3).toFixed(Math.min(3,h)).substr(2)+(3h?1:0];case "h":return Hr(e),c=Cr(e)%12||12,Gr(a,Sa(c,h));case "K":return Hr(e),c=Cr(e)%12,Gr(a,Sa(c,h));case "H":return Hr(e),c=Cr(e),Gr(a,Sa(c,h));case "c":a:switch(c=d.getDay(),h){case 5:h=a.b.oy[c];break a;case 4:h=a.b.qy[c];break a;case 3:h=a.b.py[c];break a;default:h=Gr(a,Sa(c,1))}return h;case "L":a:switch(c=d.getMonth(),h){case 5:h=a.b.ny[c];break a;case 4:h=a.b.qt[c];break a;case 3:h=a.b.rt[c];break a;default:h=
Gr(a,Sa(c+1,h))}return h;case "Q":return c=Math.floor(d.getMonth()/3),4>h?a.b.nt[c]:a.b.kt[c];case "d":return Gr(a,Sa(d.getDate(),h));case "m":return Hr(e),Gr(a,Sa(e.getMinutes(),h));case "s":return Hr(e),Gr(a,Sa(e.getSeconds(),h));case "v":return h=f||dr(c.getTimezoneOffset()),h.g;case "V":return a=f||dr(c.getTimezoneOffset()),2>=h?a.g:0h?a.D[0h?(h=-(e.f-xr(e,c)),a=[0>h?"-":"+"],h=Math.abs(h),a.push(Sa(Math.floor(h/60)%100,2),Sa(h%60,2)),h=a.join("")):h=Gr(a,er(e.f-xr(e,c))),h;default:return""}}
;function Ir(a){if(da.JSON)try{var b=da.JSON.parse(a);return b}catch(c){}return b=dl(a)};var Jr;function Kr(a,b,c,d,e){if(c)for(var f=0;fb?1:a==b?0:-1}function Or(a,b){return-Lr(a,b)}function Mr(a,b){return isNaN(a)?isNaN(b)?0:1:isNaN(b)?-1:a-b}function Pr(a){for(var b;L(a,dh);){b=a.tag;if(m(b))return b;a=a.parent()}}
function Qr(a,b){if(!a)return!1;for(;L(b,kd)&&b!=a;)b=b.Pe;return b==a}function Nr(a){return A(a)?"o"+la(a):(typeof a).charAt(0)+a}function O(a,b,c){a=C(a)?a:!isNaN(b)&&Rr(a)?b*parseFloat(a)/100:parseFloat(a);return c&&!isNaN(b)?b-a:a}function Rr(a){return B(a)&&xa(a,"%")&&!isNaN(parseFloat(a))}function Sr(a,b){if(null===a)return null;a=m(a)?a:0;b=m(b)?b:0;var c=Rr(a),d=parseFloat(a);return isNaN(d)?b:c?a:d}function P(a){return null==a||ka(a)?NaN:+a}function Tr(a){return B(a)?a:P(a)}
function Ur(a){return C(a)&&!isNaN(a)||B(a)&&""!=Aa(a)?a:null}function Vr(a){return isNaN(P(a))}function Wr(a,b,c){C(a)||(a=parseFloat(a));a=Math.round(a);return!isNaN(a)&&(0c&&(c+=b);c>=b&&(c-=b);return tq(a-c,7)}function cs(a,b,c){c=tq((a-(c||0))%b,7);c>=b&&(c-=b);if(c)0>c&&(c+=b);else return tq(a,7);return tq(a+b-c,7)}
function ds(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=bs(d,b.j,(new Date(0)).getUTCFullYear()),Date.UTC(d,0);if(b.D)return e=bs(e,b.D),Date.UTC(d,e);if(!b.b||b.b%7)return b.b?(f=bs(f,b.b),Date.UTC(d,e,f)):b.i?(h=bs(h,b.i),Date.UTC(d,e,f,h)):b.g?(k=bs(k,b.g),Date.UTC(d,e,f,h,k)):1<=b.f?(l=bs(l,b.f),Date.UTC(d,e,f,h,k,l)):b.f?(n=bs(n,1E3*b.f),Date.UTC(d,e,f,h,k,l,n)):
a;d=es(fs());return bs(c.getTime(),864E5*b.b,Date.UTC(2E3,0,2+(d?d.firstDayOfWeek:0)))}function gs(a,b){var c,d;switch(a){case "year":c=Mq;d=b;break;case "semester":c=Nq;d=6*b;break;case "quarter":c=Nq;d=3*b;break;case "month":c=Nq;d=b;break;case "thirdofmonth":c=Oq;d=10*b;break;case "week":c=Oq;d=7*b;break;case "day":c=Oq;d=b;break;case "hour":c=Pq;d=b;break;case "minute":c=Qq;d=b;break;case "second":c=Rq;d=b;break;case "millisecond":c=Rq;d=b/1E3;break;default:c=Mq,d=b}return new Lq(c,d)}
function hs(a,b){var c=(b&1)/2;return.5<=a%1?Math.ceil(a)-c:Math.floor(a)+c}function is(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 js(a){for(var b=0,c=arguments.length;bb;b++)a.lineTo(c+e*Is[b],d+e*Js[b]);a.lineTo(c+e*Is[0],d+e*Js[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=hs(b,f),k=hs(k,f),c=hs(c,f),d=hs(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=hs(c,f),d=hs(d,f),b=hs(b,f),e=hs(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=hs(e,f),l=hs(l,f),n=hs(n,f),b=hs(b,f),p=hs(p,f),k=hs(k,f),c=hs(c,f),d=hs(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=hs(e,f),l=hs(l,f),n=hs(n,f),b=hs(b,f),p=hs(p,f),k=hs(k,f),c=hs(c,f),d=hs(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=hs(e,f),l=hs(l,f),n=hs(n,f),b=hs(b,f),p=hs(p,f),k=hs(k,f),c=hs(c,
f),d=hs(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=hs(e,f),l=hs(l,f),n=hs(n,f),b=hs(b,f),p=hs(p,f),k=hs(k,f),c=hs(c,f),d=hs(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 gi}}
function Ls(a,b,c,d){var e=new lq;c=!0;A(d)&&(e.Yo(d.rowsSeparator),e.lo(d.columnsSeparator),e.Mo(d.ignoreTrailingSpaces),c=!d.ignoreFirstRow,e.Ko(c));if(a=e.eo(a)){d=dg("table");b&&(e=dg("caption"),ig(e,b),d.appendChild(e));var f,h;c&&(f=dg("thead"),h=dg("tr"),f.appendChild(h));b=dg("tbody");for(e=0;e=a||96<=a&&106>=a||65<=a&&90>=a||(pc||nc)&&!a)return!0;switch(a){case 32:case 43:case 63:case 64:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:return!0;default:return!1}}function Ps(a){if(oc)a=Qs(a);else if(rc&&pc)switch(a){case 93:a=91}return a}
function Qs(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 Rs(a,b){kd.call(this);a&&(this.$r&&Ss(this),this.Do=a,this.Zr=Wc(this.Do,"keypress",this,b),this.Fw=Wc(this.Do,"keydown",this.TM,b,this),this.$r=Wc(this.Do,"keyup",this.WM,b,this))}G(Rs,kd);g=Rs.prototype;g.Do=null;g.Zr=null;g.Fw=null;g.$r=null;g.Ug=-1;g.gl=-1;g.Dt=!1;
var Ts={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},Us={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},Vs=mc||nc||pc&&zc("525"),Ws=rc&&oc;g=Rs.prototype;
g.TM=function(a){(pc||nc)&&(17==this.Ug&&!a.ctrlKey||18==this.Ug&&!a.altKey||rc&&91==this.Ug&&!a.metaKey)&&this.Bs();-1==this.Ug&&(a.ctrlKey&&17!=a.keyCode?this.Ug=17:a.altKey&&18!=a.keyCode?this.Ug=18:a.metaKey&&91!=a.keyCode&&(this.Ug=91));Vs&&!Ns(a.keyCode,this.Ug,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?this.handleEvent(a):(this.gl=Ps(a.keyCode),Ws&&(this.Dt=a.altKey))};g.Bs=function(){this.gl=this.Ug=-1};g.WM=function(a){this.Bs();this.Dt=a.altKey};
g.handleEvent=function(a){var b=a.lf,c,d,e=b.altKey;mc&&"keypress"==a.type?(c=this.gl,d=13!=c&&27!=c?b.keyCode:0):(pc||nc)&&"keypress"==a.type?(c=this.gl,d=0<=b.charCode&&63232>b.charCode&&Os(c)?b.charCode:0):lc&&!pc?(c=this.gl,d=Os(c)?b.keyCode:0):(c=b.keyCode||this.gl,d=b.charCode||0,Ws&&(e=this.Dt),rc&&63==d&&224==c&&(c=191));var f=c=Ps(c);c?63232<=c&&c in Ts?f=Ts[c]:25==c&&a.shiftKey&&(f=9):b.keyIdentifier&&b.keyIdentifier in Us&&(f=Us[b.keyIdentifier]);this.Ug=f;a=new Xs(f,d,0,b);a.altKey=e;
this.dispatchEvent(a)};function Ss(a){a.Zr&&(ed(a.Zr),ed(a.Fw),ed(a.$r),a.Zr=null,a.Fw=null,a.$r=null);a.Do=null;a.Ug=-1;a.gl=-1}g.ea=function(){Rs.F.ea.call(this);Ss(this)};function Xs(a,b,c,d){Fc.call(this,d);this.type="key";this.keyCode=a;this.i=b}G(Xs,Fc);var Ys=da.acgraph;pm.prototype.u=!1;pm.prototype.j=function(a){this.da||(this.da=new Vo(this,this.u),this.da.X(Rp("stageCredits")));return m(a)?(this.da.X(a),this):this.da};var Zs=0,$s=[];function at(a,b){Zs?$s.push(qa(a,b)):a.apply(b)}function bt(){Zs--;if(!Zs)for(var a=$s.slice(0),b=$s.length=0;be;e++){c=e;for(var f=0;8>f;f++)c=c&1?3988292384^c>>>1:c>>>1;d[e]=c}As=d}c=-1;for(d=0;d>>8^As[(c^a.charCodeAt(d++))&255];a=((c^-1)>>>0).toString(16);return b==a}var lt=[],mt=[],nt=[];
function Rp(a){var b;mt.length||(mt.push(da.anychart.themes.defaultTheme||{}),nt.push(mt[0]));for(b=mt.length-1;bc.length?c[0]:c[b]):0}
g.parent=function(a){return m(a)?(this.ca!=a&&(a?(this.ca&&Fv(this.ca,this.tu,this),this.ca=a,R(this.ca,this.tu,this)):(Fv(this.ca,this.tu,this),this.ca=null)),this):this.ca};g.tu=function(a){var b=0,c=0;T(a,1)&&(b|=16,c|=1);T(a,8)&&(b|=4,c|=8);T(a,32768)&&(b|=1,c|=1);this.j=null;this.o(b,c)};function Sw(a,b,c,d,e,f,h){switch(a.J("cornerType")){case "round":b.Kg(e,f,h,h,!1,!0);break;case "roundInner":b.Kg(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.P()?this.P().ka():null,r=p&&!p.bc();r&&p.wc();if(this.O(4)){this.g||(this.g=Yh());k&&this.b?this.b.clear().parent(null):(this.b||(this.b=th()),this.b.parent(this.g),this.b.clear());h?(this.u||(this.u=th()),this.u.parent(this.g),this.u.clear()):this.u&&this.u.clear().parent(null);
if(this.I)for(k=0,l=this.I.length;kd||c>e)return 1;if(bd)return 1}else if(a.R){if(ce)return 1}return 0}
function hx(a){var b=a.ja(),c,d,e;b?(c=b.width,b=b.height,null!=a.Ia?(a.aa=d=O(a.Ia,c),c=!1):(d=0,c=!0),null!=a.ab?(a.W=e=O(a.ab,b),b=!1):(e=0,b=!0)):(Vr(a.Ia)?(c=!0,d=0):(c=!1,a.aa=d=P(a.Ia)),Vr(a.ab)?(b=!0,e=0):(b=!1,a.W=e=P(a.ab)));var f=a.jd();a.g.width(null);a.g.height(null);c?(d+=a.g.Qa().width,a.fa=d,a.aa=f.je(d)):d=a.fa=f.nd(d);a.g.width(a.fa);b?(e+=a.g.Qa().height,a.da=e,a.W=f.ie(e)):e=a.da=f.md(e);a.g.height(a.da);var h=!c&&a.u||!b&&a.R;J(a);if(h){var h=Math.round((a.la+a.na)/2),k=a.na,
l=a.la,n;n=a.i;var p=$h();p.qd("aria-hidden","true");a.hc(p,!0);a.i=n;p.fontSize(a.la);if(0>=gx(a,p.Qa().width,p.Qa().height,d,e))d=a.la;else{p.fontSize(h);for(var r=n=gx(a,p.Qa().width,p.Qa().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=gx(a,p.Qa().width,p.Qa().height,d,e);while(0>r*n);Mb(p);0b?null:b;m(a.width())||a.o(4)}function gy(a,b){a.aa=0>b?null:b;m(a.height())||a.o(4)}g.margin=function(a,b,c,d){this.u||(this.u=new Jx,H(this,this.u),R(this.u,this.CA,this));return m(a)?(this.u.X.apply(this.u,arguments),this):this.u};
g.Hg=function(a,b,c,d){this.Ga||(this.Ga=new dx,H(this,this.Ga),R(this.Ga,this.CA,this));return m(a)?(this.Ga.X.apply(this.Ga,arguments),this):this.Ga};function hy(a,b){if(m(b)){var c=a.J("orientation")!=b;a.Xb.orientation=b;c&&a.o(4);return a}return a.Xb.orientation}g.jK=function(a,b){if(m(a)){if(B(a))if(m(b)){if(a in this.I)this[a](b)}else return this.lb(a);else if(A(a))for(var c in a)if(c in this.I)this[c](a[c]);return this}c={};for(var d in this.w)d in this.I&&(c[d]=this.w[d]);return c};
function iy(a,b){if(m(b)){var c=null==b?"":String(b);a.da!=c&&(a.da=c,a.o(20,9));return a}return a.da}g.o=function(a,b){var c=cy.F.o.call(this,a,b);!c&&this.W&&this.ha(b||0);return c};function jy(a){var b=!1;a.i||(b=!0,a.i=Yh(),a.mj().P(a.i),a.Va=a.i.text(),a.Va.zIndex(.1),a.Va.qd("aria-hidden","true"),H(a,a.i),Yv(a,a.i));return b}
g.$=function(){if(!this.wb())return this;var a=jy(this),b=this.P();J(this);this.O(2)&&(this.i.parent(b),this.K(2));this.O(8)&&(this.i.zIndex(this.zIndex()),this.K(8));this.O(16)&&(this.hc(a),this.K(16));this.O(4)&&(ky(this),this.Va.x(O(this.Hg().J("left"),this.g)),this.Va.y(O(this.Hg().J("top"),this.b)),this.i.Za(this.B.tb,this.B.Ib,this.B.Mb,this.B.Gb,this.B.ub,this.B.vb),this.o(64),this.K(4));this.O(64)&&(a=this.mj(),J(a),a.ja(0,0,this.g,this.b),a.$(),a.ga(!1),this.K(64));this.ga(!1);return this};
g.remove=function(){this.i?this.i.parent(null):this.Va&&this.Va.parent(null)};g.lc=function(){var a=this.ja(),a=a?a.clone():Gq(0,0,0,0);if(!this.enabled())return a;this.za&&!this.O(4)||ky(this);switch(this.J("orientation")){case "top":a.top+=this.za.height;a.height-=this.za.height;break;case "right":a.width-=this.za.width;break;case "bottom":a.height-=this.za.height;break;case "left":a.left+=this.za.width,a.width-=this.za.width}return a};
g.$c=function(){if(!this.enabled())return new K(0,0,0,0);this.za&&!this.O(4)||ky(this);return this.za.clone()};
g.hc=function(a){var b=this.J("text"),c=iy(this),d=this.J("useHtml");if(a||m(b)||m(c)||m(d))a=!b&&m(c)?c:b,d?this.Va.htmlText(a):this.Va.text(a);this.Va.fontSize(this.J("fontSize"));this.Va.fontFamily(this.J("fontFamily"));this.Va.color(this.J("fontColor"));this.Va.dj(this.J("textDirection"));this.Va.Pl(this.J("textWrap"));this.Va.opacity(this.J("fontOpacity"));this.Va.Eh(this.J("fontDecoration"));this.Va.fontStyle(this.J("fontStyle"));this.Va.fontVariant(this.J("fontVariant"));this.Va.fontWeight(this.J("fontWeight"));
this.Va.letterSpacing(this.J("letterSpacing"));this.Va.Nl(this.J("lineHeight"));this.Va.Ol(this.J("textIndent"));this.Va.uh(this.J("vAlign"));this.Va.Of(this.J("hAlign"));this.Va.ig(this.J("textOverflow"));this.Va.ej(this.J("selectable"));this.Va.Vb(this.J("disablePointerEvents"))};
g.Wk=function(){var a=this.lb("rotation");delete this.Xb.rotation;a=m(a)?a:this.J("rotation");if(m(a))return a;switch(this.J("orientation")){case "left":return this.Xb.rotation=-90;case "right":return this.Xb.rotation=90;default:return this.Xb.rotation=0}};
function ky(a){var b=a.Hg(),c=a.margin(),d=a.ja(),e,f,h=a.J("orientation"),k=!(a.Wk()%180);f=!((a.Wk()+90)%180);d?f?(e=d.height,f=d.width):(e=d.width,f=d.height):e=f=void 0;var l=jy(a);if(l||a.O(16))a.hc(l),a.K(16);a.Va.width(null);a.Va.height(null);a.Va.Za(1,0,0,1,0,0);var l=a.Va.Qa(),n=a.Lb("width")?a.lb("width"):a.fa||null;null===n?(a.R=l.width,a.g=b.je(a.R)):(a.g=O(n,e),a.R=b.nd(a.g));d&&e=a.documentMode)?Ag(this.f,wy):Ag(this.f,vy);ym==zm?(Ag(this.ka().vi(),oy),Ag(this.ka().Y(),xy)):(Ag(this.ka().vi(),yy),Ag(this.ka().Y(),zy));this.j()};uy.prototype.j=function(){if(ym==zm){var a;a=this.g;a=a.b?a.b.clone():null;this.ka().Ml(a.width,a.height)}};uy.prototype.el=function(){return!1};function Ay(a,b,c){this.b={values:a||{},Bj:b||null,Qh:c||[],pf:{},Se:{}};this.b.pf["%Value"]="value";this.b.pf["%YValue"]="value";this.b.pf["%Index"]="index"}g=Ay.prototype;g.values=function(a){return m(a)?(this.b.values=a,this):this.b.values};g.Bj=function(a){return m(a)?(this.b.Bj=a,this):this.b.Bj};g.Qh=function(a){return m(a)?(this.b.Qh=a,this):this.b.Qh};g.pf=function(a){return m(a)?(this.b.pf=a,this):this.b.pf};g.Se=function(a){return m(a)?(this.b.Se=a,this):this.b.Se};
g.xk=function(a){var b=this.b.Bj;return b?b.get.apply(b,arguments):void 0};g.XH=function(a){var b=this.b.Bj?this.b.Bj.U(a):void 0;m(b)||(b=(b=this.b.values.series)?b.value.U(a):void 0);return b};g.sg=function(a){var b=void 0;if(a)for(var c=0;cc?d=this.f.gn[c]:8>c?d=this.f.kn[c-4]:(d=this.f.et[c-8],d=d.replace("{1}",this.f.gn[c-8]),d=d.replace("{0}",this.f.kn[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.ft),0<=l&&(f.era=l),!0;case "M":case "L":a:{d=l;if(0>d){a=a.f.jt.concat(a.f.qt).concat(a.f.mt).concat(a.f.rt);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.st),0>d&&(d=Ly(b,c,a.f.ot)),0>d?f=!1:(f.f=d,f=!0),f;case "a":return l=Ly(b,c,a.f.dt),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.kt),0>d&&(d=Ly(b,c,a.f.nt)),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.tt){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={},$y={};function az(a){A(a)||(a=da.anychart.format.locales[String(a)]);return a||null}function es(a){return(a=az(a))&&a.dateTimeLocale||null}function bz(a){return(a=az(a))&&a.numberLocale||null}function cz(a,b){var c=es(a);return c&&c[b||"dateTimeFormat"]||null}
function dz(a){if(!a)return Iq;var b=la(a);b in $y||($y[b]={ft:a.eras,ky:a.eraNames,my:a.narrowMonths,ny:a.standaloneNarrowMonths,jt:a.months,qt:a.standaloneMonths,mt:a.shortMonths,rt:a.standaloneShortMonths,st:a.weekdays,qy:a.standaloneWeekdays,ot:a.shortWeekdays,py:a.standaloneShortWeekdays,eG:a.narrowWeekdays,oy:a.standaloneNarrowWeekdays,nt:a.shortQuarters,kt:a.quarters,dt:a.ampms||a.amPmS,gn:a.dateFormats||[],kn:a.timeFormats||[],et:a.dateTimeFormats||[],ht:a.firstDayOfWeek,LG:a.weekendRange,
it:a.firstWeekCutOffDay||a.firstWeekCutOfDay});return $y[b]}function ez(a){m(a)&&(Ry=ja(a)?a.getTime():P(a));return isNaN(Ry)?(a=new Date,a.setTime(Date.UTC(a.getUTCFullYear(),a.getUTCMonth())),a):new Date(Ry)}function fs(a){m(a)&&(B(a)||A(a)?Sy=a:Sy="default");return Sy}function fz(a){m(a)&&(B(a)?Ty=a:Ty=null);return Ty||cz(Sy)||cz("default")||"yyyy.MM.dd"}function gz(a){m(a)&&(B(a)?Uy=a:Uy=null);return Uy||cz(Sy,"dateFormat")||cz("default","dateFormat")||"yyyy.MM.dd"}
function hz(a){m(a)&&(B(a)?Vy=a:Vy=null);return Vy||cz(Sy,"timeFormat")||cz("default","timeFormat")||"HH:mm:ss"}function iz(a){m(a)&&(Wy=P(a)||0);return Wy}
function jz(a,b,c,d){if(ja(a))return a;if(C(a))return isNaN(a)?null:new Date(a);if(B(a)){if(b=(m(b)?b:Qy)||null){d=es(d)||es(Py)||es("default");var e=la(d),e=b+e,f;e in Yy||(d=dz(d),Yy[e]=new Ey(b,d));f=Yy[e];c=ja(c)?c:ez();(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].Jl&&(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));D(c.setHours)&&(void 0==h.b&&(h.b=c.getHours()),void 0!=h.g&&0h.b&&(h.b+=12),c.setHours(h.b));D(c.setMinutes)&&void 0!=h.D&&c.setMinutes(h.D);D(c.setSeconds)&&void 0!=h.j&&c.setSeconds(h.j);D(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(A(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):tq(a,b).toString();a="";/(e+|e-)/.test(f)&&(b=f.split("e"),f=b[0],a="e"+b[1]);b=f.split(".");if(d){f=b[0];for(h=[];0<(e=f.substr(0,f.length-3)).length;)h.unshift(f.substr(-3)),f=
e;f&&h.unshift(f);b[0]=h.join(d)}d=l?"-":"";c=b.join(c)+a+n;l&&k&&(c=["(",c,")"].join(""),d="");return d+c}F("anychart.format.inputLocale",function(a){m(a)&&(B(a)||A(a)?Py=a:Py="default");return Py});F("anychart.format.inputBaseDate",ez);F("anychart.format.inputDateTimeFormat",function(a){m(a)&&(B(a)?Qy=a:Qy=null);return Qy});F("anychart.format.outputLocale",fs);F("anychart.format.outputTimezone",iz);F("anychart.format.outputDateFormat",gz);F("anychart.format.outputTimeFormat",hz);
F("anychart.format.outputDateTimeFormat",fz);F("anychart.format.parseDateTime",jz);
F("anychart.format.parseNumber",function(a,b){var c=bz(b)||bz(Py)||bz("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(Qa(c.groupsSeparator),"g"),"");var e=c.scale;!0===e&&(e=Oy);if(A(e)&&q(e.factors)&&q(e.suffixes)){a=a.replace(new RegExp(Qa(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.ua()-v+c>l.width&&(h-=d.ua()-v+c-l.width),d.qa()-w+e>l.height&&(k-=d.qa()-w+e-l.height));r||(b.x(h),b.y(k),d=b.Ra(),d.leftf.width+v&&(h-=d.ua()-f.width-v),d.qa()>f.height+w&&(k-=d.qa()-f.height-w));u||(b.x(h),b.y(k),d=b.Ra(),d.lefta.ua()+v&&(h-=d.ua()-v-a.ua()),d.qa()>a.qa()+w&&(k-=
d.qa()-w-a.qa()));b.x(h);b.y(k)}
function Fz(a,b,c,d,e){if(a.ya(3)&&(a.i=e?e.pb():a,Gz(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.qa()?(e=d.Ua(),f=d.ua(),h=d.$a(),k=d.qa(),c+=2):(e=f=d.Ua()+2,h=d.$a(),k=d.qa(),b-=2);else if(b>d.ua())cd.qa()?(e=d.Ua(),f=d.ua(),h=d.qa(),k=d.$a(),c+=2):(e=f=d.ua()-2,h=d.$a(),k=d.qa(),b+=2);else if(c<
d.$a())h=k=d.$a()+2,e=d.ua(),f=d.Ua(),c-=2;else if(c>d.qa())h=k=d.qa()-2,e=d.Ua(),f=d.ua(),c+=2;else break a;a.I=[e,h,f,k,b,c]}dd(document,"mousemove",a.hs,!1,a)}else e&&d.Vb(!0)}}function Mz(a,b,c,d){xz(a);a.i=a;d&&(d.clientX=b,d.clientY=c,iy(a.title(),Iz(a,d)),a.Ad().text(Hz(a,d)));yz(a,a);Cz(a,a,b,c);Jz(a,b,c)}function Iz(a,b){b.values().titleText={value:a.La.J("text"),type:"string"};By(b);var c=a.J("titleFormat");B(c)&&(c=Nz(Oz.Nc(),c));return c.call(b,b)}
function Hz(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=Nz(Oz.Nc(),a));return a.call(b,b)}g.Ad=function(a){this.N||(this.N=new jx,R(this.N,this.bO,this),this.N.ob(this),this.N.width("100%").height("100%"),H(this,this.N));return m(a)?(this.N.X(a),this):this.N};
g.content=function(a){N(405,null,[".content()","the following behaviour",": the method called through the .content()-method should be applied to the .tooltip()-method directly"]);return this.Ad(a)};g.bO=function(a){T(a,8)?(wz(this),this.o(1988,1)):T(a,1)&&this.o(512,1)};function wz(a){a.da=null;a.fa=null}
function uz(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.Ra().Sd(new je(b,c)),e=zz(a).Y();if(e&&!d)return Wc(e,"mouseleave",a.Sr,!1,a),a.I=null,!1;if(Pz(a,b,c))return Wc(document,"mousemove",a.hs,!1,a),e&&(Wc(zz(a).Y(),"mouseenter",a.Zx,!1,a),Wc(zz(a).Y(),"mouseleave",a.$x,!1,a)),!1;a.I=null}if(a.Fm())return vz(a),a.w.Lj()||a.w.start(),!1;a.remove();return!0}g.remove=function(){zz(this).parent(null)};
function xz(a){var b=a.ya(1)&&!$b(a.B);a.title().W=b;a.yh().W=b;a.Yh().W=b;a.jd().W=b}g.Ra=function(){this.fa=null;Bz(this);return new K(this.fa.x+this.J("offsetX"),this.fa.y+this.J("offsetY"),this.da.width,this.da.height)};g.$c=function(){Az(this);return this.da};g.hc=function(){if(this.O(512)){J(this.Ad());for(var a in this.aa){var b=this.J(a);m(b)&&this.Ad().ec(a,b)}this.Ad().wk(this.J("adjustFontSize"));this.Ad().fs(this.J("minFontSize"));this.Ad().cs(this.J("maxFontSize"));this.Ad().ga(!1)}};
g.o=function(a,b){var c=rz.F.o.call(this,a,b);!c&&this.ya(1)&&!$b(this.B)&&this.ha(b||0);return c};function zz(a){if(!a.b){a.b=Yh();H(a,a.b);Yv(a,a.b);var b=a.Yh(),c=a.title(),d=a.yh(),e=a.Ad();b.P(a.b);c.P(a.b);d.P(a.b);e.P(a.b)}return a.b}function Dz(a,b){return m(b)?(a.Sa=b,a):a.Sa}function Ez(a){return Cv&&a.J("allowLeaveStage")&&a.J("allowLeaveChart")}function vz(a){a.w&&a.w.Lj()?a.Wa=!0:(Mb(a.w),a.w=new pd(function(){this.remove();this.Wa&&(this.Wa=!1,vz(this))},a.Fm(),a))}
function Gz(a,b){b=b||[];for(var c in a.B)eb(b,function(a){return String(la(a))==c})||a.B[c].fc(!0)}
function Az(a){if(!a.da){J(a.Ad());a.hc();a.Ad().ga(!1);var b=a.J("width"),c=a.J("height"),d=(a.u||Dz(a)).Ra(),b=O(b,d.width),c=O(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.yh(),r=a.Ad();J(n);J(p);J(r);var t;if(!d||!e){if(n.enabled()){ym==zm?n.ja(null):n.ja(a.u&&a.u.P()?a.u.P().ka().Qa():null);t=n.J("width");var u=null!=n.lb("width");h=n.J("height");var v=null!=n.lb("height");Rr(t)&&(k=t,d?(t=a.jd().nd(b),n.width(t)):n.width(null));Rr(h)&&(l=h,e?(t=a.jd().md(c),
n.height(t)):n.height(null));h=n.$c();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.Ad():null)?u.width():void 0,u=u?u.height():void 0;r.ja(null);w=r.width()||w;u=r.height()||u;Rr(w)&&(k=w,d?(t=a.jd().nd(b),r.width(t)):r.width(null));Rr(u)&&(l=u,e?(t=a.jd().md(c),r.height(t)):r.height(null));w=r.$c();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.ja(new K(0,0,f.width,h.height));r.enabled()&&r.ja(new K(0,0,f.width,w.height));p.enabled()&&(p.ja(n.enabled()||r.enabled()?f:null),h=p.$c(),f.width=b||Math.max(f.width,h.width),e||(f.height+=h.height))}f=a.jd().uF(f);d&&(f.width=b);e&&(f.height=c);f.left=0;f.top=0;a.da=f;n.ga(!1);p.ga(!1);r.ga(!1)}}function Bz(a){Az(a);if(!a.fa){var b=a.J("anchor"),c=a.J("offsetX"),d=a.J("offsetY"),e=a.J("x"),f=a.J("y"),e=new je(e,f);is(e,b,c,d);b=Yr(a.da,b);e.x-=b.x;e.y-=b.y;a.fa=e}}
function Lz(a,b,c,d,e){var f=c,h=d,k,l=a.J("positionMode")||"float",n=a.J("displayMode"),p=(a.Ca()||Dz(a)).Ra(),r=a.Sa.P().ka(),t=r.Qa();k=tm(r);var u=Ez(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.zk(h,!0).value,f=u?h.x+k.x:h.x,h=u?h.y+k.y:h.y):"chart"==l&&(f=a.Ca().Ra(),h="union"==n?a.J("position"):b.J("position"),h=Yr(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.Ra(),a=Zf(window),0>k.left-x+v&&(f-=k.left-x+v),0>k.top-y+u&&(h-=k.top-y+u),k.ua()-x+v>a.width&&(f-=k.ua()-x+v-a.width),k.qa()-y+u>a.height&&(h-=k.qa()-y+u-a.height));r||(b.x(f),b.y(h),k=b.Ra(),k.leftt.width+x&&(f-=k.ua()-t.width-x),k.qa()>t.height+y&&(h-=k.qa()-t.height-y));w||(b.x(f),b.y(h),k=b.Ra(),k.leftp.ua()+
x&&(f-=k.ua()-x-p.ua()),k.qa()>p.qa()+y&&(h-=k.qa()-y-p.qa()));b.x(f);b.y(h)}function Qz(a){var b=null;Dz(a)?b=Dz(a).P():a.Ca()?b=a.Ca().P():a.parent()&&(Dz(a.parent())?b=Dz(a.parent()).P():a.parent().Ca()&&(b=a.parent().Ca().P()));return b}
function yz(a,b){if(b.O(2)){var c;if(Ez(b)||"vml"==ym)c=uy.Nc(),a.g&&a.g.el()&&b.g.P(null),b.g=c,b.g.P(document.body),b.P(c.b),zz(b).parent(b.P()),b.K(2);else{var d=Qz(b);if(d){var e=Rz(b);c=Gs[e];c||(c=new my,Gs[e]=c);b.g=c;zz(b).parent(b.P());d=d.ka().vi();c.P(d);b.P(c.b);b.K(2)}}}}
g.hs=function(a){if(Pz(this,a.clientX,a.clientY))this.g.el()||qy(this.g,!0);else{dd(document,"mousemove",this.hs,!1,this);var b=zz(this).Y();b&&(dd(b,"mouseenter",this.Zx,!1,this),dd(b,"mouseleave",this.$x,!1,this));this.Sr(a)}};function Pz(a,b,c){if(!a.I)return!1;var d=a.I[0],e=a.I[1],f=a.I[2],h=a.I[3],k=a.I[4],l=a.I[5];a=zq(f,h,k,l,b,c);k=zq(k,l,d,e,b,c);return zq(d,e,f,h,b,c)==a&&a==k}
g.Zx=function(){dd(document,"mousemove",this.hs,!1,this);zz(this).Y()&&dd(zz(this).Y(),"mouseenter",this.Zx,!1,this);this.I=null};g.$x=function(a){zz(this).Y()&&dd(zz(this).Y(),"mouseleave",this.$x,!1,this);this.Sr(a)};g.Sr=function(a){if(2==a.lf.buttons)return!0;this.g.el()||qy(this.g,!1);zz(this).Y()&&dd(zz(this).Y(),"mouseleave",this.Sr,!1,this);this.I=null;this.Fm()?(vz(this),this.w.Lj()||this.w.start()):this.fc(!0)};function Rz(a){a=Qz(a).ka();return"stg"+la(a)}
g.parent=function(a){if(m(a)){if(this.ca!=a){var b=String(la(this));a?(this.ca&&Fv(this.ca,this.Kq,this),this.ca=a,this.title().parent(this.ca.title()),this.yh().parent(this.ca.yh()),this.Yh().parent(this.ca.Yh()),this.jd().parent(this.ca.jd()),this.Ad().jd().parent(this.ca.Ad().jd()),this.ca.B[b]=this,R(this.ca,this.Kq,this)):(Fv(this.ca,this.Kq,this),this.title().parent(null),this.yh().parent(null),this.Yh().parent(null),this.jd().parent(null),this.Ad().jd().parent(null),delete this.ca.B[b],this.ca=
null)}return this}return this.ca};g.Kq=function(a){var b=0,c=0;if(T(a,8)||T(a,1))b|=1988,c|=8,wz(this);T(a,32768)&&(b|=1,c|=1);this.j=null;this.o(b,c)};g.lb=function(a){return this.R[a]};g.Lb=function(a){return null!=this.R[a]};g.Kb=function(a){return this.Ka[a]};g.J=Nw;g.Ob=function(a,b){this.R[a]=b};g.ya=function(a){return m(a)?!!(a&this.Xa):!0};g.ee=function(a){m(a)&&(this.j=a);return this.j};g.Yf=Mw;g.Wc=function(){var a=[this.Ka];this.ca&&(a=pb(a,this.ca.Wc()));return a};
g.Mc=function(){var a=[this.R];this.ca&&(a=pb(a,this.ca.Mc()));return a};g.zD=function(a){N(405,null,["isFloating()","positionMode()"]);var b=this.J("positionMode");return m(a)?("float"==b!=a&&this.Ob("positionMode",a?"float":"chart"),this):"float"==b};g.enabled=function(a){return m(a)?(this.R.enabled!=a&&(this.R.enabled=a,this.o(1,32777),this.R.enabled?(this.xa=!1,this.ga(!0)):isNaN(this.Vd)?J(this):this.xa=!0),this):this.J("enabled")};
g.G=function(){var a={};rw(this,this.aa,a);rw(this,this.xp,a);delete a.x;delete a.y;var b=this.title().G();$b(b)||(a.title=b);b=this.yh().G();$b(b)||(a.separator=b);b=this.Yh().G();$b(b)||(a.background=b);b=this.jd().G();$b(b)||(a.padding=b);m(this.na)&&(a.hideDelay=this.na);m(this.zIndex())&&(a.zIndex=this.zIndex());this.Lb("enabled")&&(a.enabled=this.R.enabled);return a};
g.ba=function(a,b){a.content&&this.content(a.content);a.isFloating&&this.zD(a.isFloating);if(b){for(var c in this.aa){var d=a[c];m(d)&&(this.Ka[c]=d)}for(c in this.xp)d=a[c],m(d)&&(this.Ka[c]=d);"enabled"in a&&(this.Ka.enabled=a.enabled)}else qw(this,this.aa,a),qw(this,this.xp,a);this.title().bb(!!b,a.title);this.yh().bb(!!b,a.separator);this.Yh().bb(!!b,a.background);this.jd().bb(!!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.Yf(),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.fa&&(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.wd=v;return"vertical"==a.fa?Gq(0,0,Math.max(0,f),Math.max(0,h)):"horizontal"==a.fa?Gq(0,0,Math.max(0,d),Math.max(0,l)):"verticalexpandable"==a.fa?(w+=u-a.w,x=Math.max(x,t)-a.w,Gq(0,0,Math.max(0,w),Math.max(0,x))):"horizontalexpandable"==a.fa?(w=Math.max(w,p)-a.w,x+=n-a.w,Gq(0,0,Math.max(0,w),Math.max(0,x))):Gq(0,0,0,0)}
function Wz(a){var b=a.ja();b&&0>=b.width&&0>=b.height&&(b=null);var c,d,e=a.margin(),f=a.fm(),h,k,l,n,p=0,r=0,t,u;b?(c=b.width,d=b.height,null!=a.Ia?(l=Math.min(c,O(a.Ia,c),null!=a.dd?O(a.dd,c):c),t=f.nd(e.nd(l))):t=null!=a.dd?f.nd(e.nd(O(a.dd,c))):f.nd(e.nd(c)),null!=a.ab?(n=Math.min(d,O(a.ab,d),null!=a.zc?O(a.zc,d):d),u=f.md(e.md(n))):u=null!=a.zc?f.md(e.md(O(a.zc,d))):f.md(e.md(d))):(C(a.Ia)&&!isNaN(a.Ia)?(l=a.Ia,t=f.nd(a.Ia)):t=C(a.dd)&&!isNaN(a.dd)?f.nd(a.dd):Infinity,C(a.ab)&&!isNaN(a.ab)?
(n=a.ab,u=f.md(a.ab)):u=C(a.zc)&&!isNaN(a.zc)?f.md(a.zc):Infinity);var v,w,x,y=a.op(),z=a.Oh(),E=a.title(),Q=z.Fk(),Q="bottom"==Q||"top"==Q,U=E.J("orientation")||hy(E),U="bottom"==U||"top"==U,S=!(E.Wk()%180),ba=Yx(y);J(y);J(z);J(E);var ca=w=null;do{w&&(ca=w);var V=w=0,I=0,va=0;E.enabled()?(E.ja(null),fy(E,null),gy(E,null),x=E.$c(),U?(x.width>t&&(S?fy(E,t):gy(E,t),x=E.$c()),va=x.width,w+=x.height):(x.height>u&&(S?gy(E,u):fy(E,u),x=E.$c()),I=x.height,V+=x.width)):x=null;y.enabled()?(y.ja(null),v=y.$c(),
ba?w+=v.height:V+=v.width):v=null;h=t-V;k=Xz(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;U&&(I-=x?x.height:0);ba&&(I-=v?v.height:0);z.ja(null);w=Vx(z,1);if("horizontal"==a.fa)za>h&&a.b&&1h&&1I&&a.b&&1=t-x.width?va:za,x=Math.max(Math.min(E.text().length,1),E.margin().nd(I-sb<=x?I-x:sb)),fy(E,x);else if(!S&&va>u){x=0;v&&ba&&(x+=v.height);if("top"==z.Fk()||"bottom"==z.Fk())x+=w.height;za=Tx(z)&&!Q?w.height:0;za=Math.max(a.b&&a.b.length?a.b[0].Ra().height:0,za);x=Math.max(1,E.margin().md(u-
x-za));S?gy(E,x):fy(E,x)}x=E.$c();y.width(h)}else x=E.$c(),y.width(k);v=y.$c();U?V-=x.height:I-=x.width}y.enabled()&&(ba?V-=v.height:I-=v.width);za=I;x=V;z.Fk();Tx(z)&&(Q?x=V-w.height:za=I-w.width);w=a;v=x;var Nc;w.W=[];x=0;V=w.b&&w.b.length;for(I=0;Iza?(x++,w.W[x]=[],w.W[x][0]=w.b[I],v=w.b[I].Ra().Ed()):(v=v+w.w+w.b[I].Ra().Ed(),w.W[x].push(w.b[I])));
break;case "vertical":za=w.b[I].Ra().Dd();I+=1;for(V=w.b.length;Iv?(x++,w.W[x]=[],w.W[x][0]=w.b[I],za=w.b[I].Ra().Dd()):(za=za+w.w+w.b[I].Ra().Dd(),w.W[x].push(w.b[I])));break;case "horizontalexpandable":for(var Fa=w.b[I].Ra().Ed()+w.w,qc=w.b[I].Ra().Dd()+w.w,hd=0,I=I+1;Iza?(hd+=qc,hd+Nc>v?(x++,w.W[x]=[],w.W[x][0]=va,hd=0):w.W[x].push(va),Fa=sb+w.w,qc=Nc+w.w):(Fa+=sb+w.w,qc=Math.max(qc,Nc+
w.w),w.W[x].push(va)));break;case "verticalexpandable":for(Fa=w.b[I].Ra().Ed()+w.w,qc=w.b[I].Ra().Dd()+w.w,hd=0,I+=1;Iv?(hd+=Fa,hd+sb>za?(x++,w.W[x]=[],w.W[x][0]=va,hd=0):w.W[x].push(va),Fa=sb+w.w,qc=Nc+w.w):(Fa=Math.max(Fa,sb+w.w),qc+=Nc+w.w,w.W[x].push(va)))}Lx(w.Oh(),x+1);z.ja(null);w=z.Ra()}while(!oe(ca,w));l||(l=h);n||(n=k);a.za=new K(p,r,l,n);if(a.xb)p=a.Xcb.ua()&&(p=b.ua()-l),rb.qa()&&(r=b.qa()-n));else if(b){p=b.Ua();r=b.$a();switch(a.B){case "left":case "right":switch(a.I){case "center":r+=(d-n)/2;break;case "right":case "bottom":r=b.qa()-n}break;case "top":case "bottom":switch(a.I){case "center":p+=(c-l)/2;break;case "right":case "bottom":p=b.ua()-l}}switch(a.B){case "right":p=b.ua()-
l;break;case "bottom":r=b.qa()-n}}else p=O(e.J("left"),0),r=O(e.J("top"),0);a.za.left=p;a.za.top=r;a.Gd=a.fm().nf(a.margin().nf(a.za));b=a.za.clone();b.left=0;b.top=0;a.nb=a.margin().nf(b);a.od=a.fm().nf(a.nb);y.ga(!1);z.ga(!1);E.ga(!1);a.K(4)}function Yz(a){if(q(a.sb))return a.sb;if(null!=a.da){for(var b,c=[],d=0;dc.width&&(e+=f,f=d=0),n.o(4),J(n).ja(c).x(d).y(e).enabled(!0).ga(!1).$(),
d+=n.Ra().Ed()+a.w,f=Math.max(f,p.Dd()+a.w);break;case "verticalexpandable":for(k=0;kc.height&&(d+=h,h=e=0),n.o(4),J(n).ja(c).x(d).y(e).enabled(!0).ga(!1).$(),e+=l[k].Ra().Dd()+a.w,h=Math.max(h,p.Ed()+a.w)}if(a.title().enabled()&&(c=a.title().J("orientation")||hy(a.title()),"top"!=c&&"bottom"!=c)){d=c=0;if(e=a.g.gb)c=e.ub,d=e.vb;e=a.na.Xf();f=a.La.$c();f.top+=d;f.left+=c;c=f.top+f.height/2-(e.top+e.height/2);c=Math.min(a.Gd.height-e.height,Math.max(c,0));a.na.Za(1,
0,0,1,0,c)}}a.yb=b}g.VM=function(a){return this.dispatchEvent(a.type)};g.tg=function(a){a=Tz.F.tg.call(this,a);var b=Pr(a.domTarget),b=P(b&&b.index);isNaN(b)||(a.itemIndex=b);return a};g.ZM=function(a){var b=dA(this,a);if(b&&this.dispatchEvent(b)){var c=this.b&&this.b[b.itemIndex],b=b.itemSource;c&&(b&&D(b.Lw)&&b.Lw(c,a),c.hb=!0,vx(c,!0),rx(c,!0),ux(c,!0),a&&Vz(this,a))}};g.YM=function(a){var b=dA(this,a);b&&this.dispatchEvent(b)&&a&&Vz(this,a)};
g.BJ=function(a){var b=dA(this,a);if(b&&this.dispatchEvent(b)){var c=this.b&&this.b[b.itemIndex],b=b.itemSource;c&&(b&&D(b.Kw)&&b.Kw(c,a),c.hb=!1,vx(c,!1),rx(c,!1),ux(c,!1),this.pb().fc())}};g.AJ=function(a){if(a.button==fk){var b=dA(this,a);if(b&&this.dispatchEvent(b)){var c=this.b&&this.b[b.itemIndex],b=b.itemSource;c&&b&&D(b.Jw)&&b.Jw.call(b,c,a)}}};g.we=function(a){(a=dA(this,a))&&this.dispatchEvent(a)};
function dA(a,b){var c=P(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.va?a.b.length-1-c:c,e=null,f=NaN,h=a.b[c];if(h&&a.da)for(var k=0;ke?(kb(a.i,c,~e),kb(a.b,b,~e)):(f=!(a.b[e]&b))?a.b[e]|=b:m(d)&&(a.b[e]=d);a.target.enabled()&&a.target.Oa().select(c)&&(a.target.ya(512)||"single"!=a.target.Bc()||(h?sA(a.target,b):m(d)&&!h&&rA(a,NaN)&&sA(a.target,d)),f?a.target.vj(b):m(d)&&a.target.vj(d))}}}
function rA(a,b){var c;if(m(b)){if(isNaN(b))return!tA(a,Bp)&&!(a.f&Bp);c=uA(a,+b)}else c=a.f;return!(c&Bp)}
function vA(a,b,c,d){var e;if(m(c)){var f=a.target.Oa().mc(),h=!0;if(q(c))for(Bb(c),e=c.length;e--;){var k=+c[e];kd?(kb(a.i,c,~d),kb(a.b,b,~d),a.f==Cp&&a.target.vj(b),rA(a,NaN)&&!a.target.ya(512)&&"single"==a.target.Bc()&&sA(a.target,b)):a.b[d]|=b)}}
function zA(a,b){var c=Ap,d;if(m(b)){if(!(b>=a.target.Oa().mc())){if(q(b))for(Bb(b),d=b.length;d--;)yA(a,c,+b[d]);else yA(a,c,+b);a.target.uo()}}else if(a.f&c)if(c==Ap){for(d=a.b.length;d--;)wA(a,c,d)&&(lb(a.b,d,1),lb(a.i,d,1));a.f=Cp}else c==Bp&&(a.b.length=0,a.i.length=0,a.f=Cp);else{for(d=a.b.length;d--;)wA(a,c,d)&&(lb(a.b,d,1),lb(a.i,d,1));a.f=c}}function wA(a,b,c){return!(a.b[c]&=~b)}
function qA(a,b,c){var d=a.i[c];wA(a,b,c)?(lb(a.i,c,1),lb(a.b,c,1),a.target.enabled()&&a.target.Oa().select(d)&&a.f==Cp&&a.target.vj(Cp)):a.target.enabled()&&a.target.Oa().select(d)&&a.f==Cp&&a.target.vj(a.b[c])}function AA(a,b,c){isNaN(c)||(c=wb(a.i,c),0<=c&&qA(a,b,c))}
function BA(a,b,c){var d;if(m(c)){if(q(c))for(Bb(c),d=c.length;d--;)AA(a,b,+c[d]);else if(isNaN(c))for(d=a.i.length;d--;)qA(a,b,d);else AA(a,b,+c);a.target.uo();a.target.ya(512)||"single"!=a.target.Bc()||(b=a.target,a=tA(a,Bp)?Bp:tA(a,Ap)?Ap:Cp,sA(b,a))}else{for(d=a.b.length;d--;)wA(a,b,d)&&(a.target.Oa().select(a.i[d])&&a.target.vj(Cp),lb(a.i,d,1),lb(a.b,d,1));a.target.uo();a.f&=~b;if(Gv(a.target))if(a.target.ya(512))for(b=xA(a.target);b.advance();)c=b.Na(),b.select(c)&&rA(a,c)&&sA(a.target,a.f);
else sA(a.target,a.f)}}function CA(a,b){for(var c=[],d=0,e=a.b.length;da.nearestPointToCursor.distance&&(a.series.Oa().select(a.nearestPointToCursor.index),e=a)});"single"==this.N.J("displayMode")?Kz(this.N,[e],a.originalEvent.clientX,a.originalEvent.clientY,
e.series):Kz(this.N,b,a.originalEvent.clientX,a.originalEvent.clientY,e.series)}}};g.Zs=function(a){var b=this.N,c=a.clientX;a=a.clientY;var d=b.J("displayMode");"single"==d&&(Cz(b,b.i,c,a),Jz(b.i,c,a));if("union"==d)Cz(b,b.i,c,a),Jz(b.i,c,a);else if("separated"==d)for(var e in b.B)if(d=b.B[e])Lz(b,d,c,a),Jz(d,c,a)};
g.contextMenu=function(a){!this.sb&&(this.sb=da.anychart.ui.contextMenu(!!A(a)&&a.fromTheme))&&(H(this,this.sb),this.sb.itemsProvider(this.RL));return m(a)?(this.sb&&this.sb.setup(a),this):this.sb};g.gD=function(){return"https://anychart.com/products/anychart/history"};g.RL=function(a){a.event&&Pr(a.event.domTarget);var b=pp(GA),c=pp(HA);c.href=a.chart.gD()+"?version=7.14.4.1448";b.push(null,IA,JA,c);return pp(b)};
g.LM=function(){var a=[],b,c,d,e,f=this.b;for(d=0;du.Sd||!h)h=t.oa,k=u.index,l=jb(t.Eb,u.index),n=u.Sd}}h={index:k,series:h};h[b]=e?!l:l;l=[];if(!e)for(n=0;nv.ic.Sd&&(w=v));p=w.oa;f=CA(p.state,Bp);l=1==f.length&&f[0]==w.ic.index;n=!l||l&&
(k||a.shiftKey);f=(k||a.shiftKey)&&EA(p.state.Sg(),Bp);!f&&(k||a.shiftKey)||l||p.qf();p.Rm(w.ic.index,a);f=CA(p.state,Bp);if(f.length)for(d.push({oa:p,Eb:[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.oO=function(a,b,c,d,e,f){return this.dispatchEvent(TA(this,"selectmarqueestart",b,c,d,e,f))};g.mO=function(a,b,c,d,e,f){return this.dispatchEvent(TA(this,"selectmarqueechange",b,c,d,e,f))};g.nO=function(a,b,c,d,e,f){a=TA(this,"selectmarqueefinish",b,c,d,e,f);a=this.dispatchEvent(a);this.Xj=!1;return a};function UA(a){a=pb.apply(null,cb(a.b,function(a){return a.data().ti()}));vb(a,a,Nr);return a}
function VA(a){a=UA(a);var b={},c=0,d=1b||h&&d>c?-1:f&&a==b||h&&d==c?0:1});0>d&&(d=~d-1);return a[ce(d,0,a.length)]}
function EB(a){var b=rB(a),c=b.useHtml,d=a.Ih();a.O(1024)&&(oB(a.pg,a.Na()),a.K(1024));b=sB(a.pg,b.format,d,a.Na());a.Vk||(a.Vk=$h(),a.Vk.qd("aria-hidden","true"));c?a.Vk.htmlText(m(b)?String(b):""):a.Vk.text(m(b)?String(b):"");yB(a,function(a,b,c){a=0==c;L(b,MA)||L(b,pB)?this.hc.call(b,this.Vk,a):this.hc(this.Vk,a,b)},!0);return a.Vk}g.clear=function(){this.ql();this.f&&(this.f.parent(null),this.f.ye());this.o(2)};
g.hA=function(a,b){var c=this.u.positionFormatter,d=cB(this.u.anchor)||"leftTop",e=BB(this),f=this.u.offsetX,h=this.u.offsetY,k=0,l=0;b&&(k=b.width,l=b.height);var n=this.vc(),p=dc(c.call(n,n)),p=new je(p.x,p.y),n=n&&n.connectorPoint;this.B&&(this.B.clear(),this.B.Za(1,0,0,1,0,0));n&&(this.B||(this.B=this.f.Da(),this.B.Dj(!0)),this.B.stroke(this.u.connectorStroke),c=dc(c.call(n,n)),this.B.moveTo(p.x,p.y).lineTo(c.x,c.y));c=Yr(new K(0,0,a.width,a.height),d);p.x-=c.x;p.y-=c.y;f=m(f)?O(f,k):0;h=m(h)?
O(h,l):0;e?is(p,d,h,f):is(p,d,f,h);a.left=p.x;a.top=p.y;this.g.x(this.w+p.x).y(this.I+p.y)};function FB(a){var b=a.vc(),c=a.u.positionFormatter,d=dc(c.call(b,b)),d=new je(d.x,d.y),b=b&&b.connectorPoint;a.B&&(a.B.clear(),a.B.Za(1,0,0,1,0,0));b&&(a.B||(a.B=a.f.Da(),a.B.Dj(!0)),a.B.stroke(a.u.connectorStroke),c=dc(c.call(b,b)),a.B.moveTo(d.x,d.y).lineTo(c.x,c.y))}
g.hc=function(a,b,c){var d,e,f=m(c)?function(a){return c[a]}:L(this,pB)?this.lb:MA.prototype.jw;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.dj(f.call(this,"textDirection"));a.Pl(f.call(this,"textWrap"));a.opacity(f.call(this,"fontOpacity"));a.Eh(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.Nl(f.call(this,"lineHeight"));a.Ol(f.call(this,"textIndent"));a.uh(f.call(this,"vAlign"));a.Of(f.call(this,"hAlign"));a.ig(f.call(this,"textOverflow"));a.ej(f.call(this,"selectable"));a.Vb(f.call(this,"disablePointerEvents"))};
g.$=function(){var a=this.pg,b;this.f||(this.f=Yh());this.f.tag=this.na;b=this.Cd("enabled");if(xB(this,1))if(b)this.P()&&!this.f.parent()&&this.f.parent(this.P()),this.K(1);else return this.f&&this.f.parent(null),this.K(4294967295),this;if(!b)return this;xB(this,2)&&(b&&((!this.pg.enabled()||m(this.enabled())&&!this.enabled())&&this.pg.ae()&&(this.P()||this.P(a.ae()),this.P().parent()||this.P().parent(a.P())),this.P()&&this.f.parent(this.P())),this.K(2));this.O(8)&&(this.P()&&this.P().zIndex(a.zIndex()),
this.f.zIndex(this.zIndex()),this.K(8));this.O(1024)&&(oB(a,this.Na()),this.K(1024));if(xB(this,20)){this.u=null;b=rB(this);var c=this.Ih(),d=sB(a,b.format,c,this.Na());this.f.Za(1,0,0,1,0,0);var e,f=b.background;if(L(f,Ow)){if(f.enabled()||this.N&&this.N.enabled())e=f.G()}else e=f;!A(e)||!e||"enabled"in e||(e.enabled=!1);(c=B(e)||ka(e)||e&&e.enabled)||this.N?(this.N||(this.N=new Ow,this.N.zIndex(0),this.N.P(this.f)),this.fa&&this.N.X(L(this.fa,Ow)?this.fa.G():this.fa),this.N.X(e),this.N.$()):f&&
(this.fa=f);this.Xk();var h,k;this.W=yB(this,function(a,b){if(L(b,MA)){var c=b.ja();if(c)return c}});this.W||(a.P()?this.W=a.P().Qa():this.W=Gq(0,0,0,0));this.W&&(h=this.W.width,k=this.W.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.hc(this.g,!0,b);e=null!==b.width;var d=null!==b.height,f=new K(0,0,0,0),l;if(L(b.padding,dx))l=b.padding;else if(A(b.padding)||C(b.padding)||B(b.padding))l=new dx,l.X(b.padding);
var n,p,r;e?(n=Math.ceil(O(b.width,h)),l?(r=l.nd(n),this.w=O(l.J("left"),n)):(this.w=0,r=n),f.width=n,n=!1):(p=this.g.Qa(),n=p.width,l?(f.width=l.je(n),this.w=O(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(O(b.height,k)),l?(t=l.md(p),this.I=O(l.J("top"),p)):(this.I=0,t=p),f.height=p,p=!1):(p=this.g.Qa(),p=p.height,l?(f.height=l.ie(p),this.I=O(l.J("top"),f.height)):(this.I=0,f.height=p),p=!0);m(t)&&this.g.height(t);if(!n&&b.adjustByHeight||!p&&b.adjustByHeight){var u;
"different"==bB(a)?u=DB(this,r,t,b.minFontSize,b.maxFontSize,b.adjustByWidth,b.adjustByHeight):u=yB(this,function(a,b){if(L(b,MA)&&m(b.Xb.fontSize))return b.Xb.fontSize});J(this);this.g.fontSize(u);e?(n=Math.ceil(O(b.width,h)),f.width=n):(p=this.g.Qa(),n=p.width,l?f.width=l.je(n):f.width=n);d?(p=Math.ceil(O(b.height,k)),f.height=p):(p=this.g.Qa(),p=p.height,l?f.height=l.ie(p):f.height=p);this.ga(!1)}this.i=f;this.o(2048);this.K(20)}xB(this,2048)&&(this.hA(this.i,this.W),c&&(this.N.ja(this.i),this.N.$()),
a=Yr(this.i,this.u.anchor),this.f.xl(this.u.rotation,a.x,a.y),this.o(512),this.K(2048));this.O(512)&&(FB(this),this.K(512));xB(this,256)&&(this.f&&this.f.clip(this.u.clip),this.K(256));return this};g.Xk=function(){this.g||(this.g=$h(),this.g.qd("aria-hidden","true"),this.g.zIndex(1),this.f||(this.f=Yh()),this.g.parent(this.f),this.g.Vb(!0));return this.g};
g.G=function(){var a=pB.F.G.call(this),b;m(this.Lb("background"))&&(b=this.xq().G(),$b(b)||(a.background=b));m(this.Lb("padding"))&&(b=this.yq().G(),$b(b)||(a.padding=b));rw(this,this.Fu,a,"Labels factory label text");rw(this,this.em,a,"Labels factory label props");(b=a.adjustFontSize)&&(m(b.width)||m(b.height))||delete a.adjustFontSize;this.Lb("enabled")||delete a.enabled;return a};
g.ba=function(a,b){var c=this.J("enabled");qw(this,this.Fu,a);qw(this,this.em,a);pB.F.ba.call(this,a,b);m(a.enabled)||delete this.b.enabled;this.Ob("enabled","enabled"in a?a.enabled:c);"background"in a&&this.xq(a.background);"padding"in a&&this.yq(a.padding)};g.ea=function(){Nb(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;pB.F.ea.call(this)};var GB=MA.prototype;GB.background=GB.Gu;GB.padding=GB.Dk;GB.enabled=GB.enabled;
GB.getLabel=GB.Td;GB.getLabelsCount=GB.Gw;GB=pB.prototype;GB.getIndex=GB.Na;GB.padding=GB.yq;GB.background=GB.xq;GB.clear=GB.clear;GB.draw=GB.$;function HB(){kd.call(this);this.fa=0;this.N=!1;this.ta="none"}G(HB,Ev);g=HB.prototype;g.ma=6;g.ra=fa;g.hv=function(a){return a};function IB(a,b){var c=1*(b-0);return a.N?1-c:c}function JB(a,b){a.N&&(b=1-b);return b/1+0}g.yw=function(a){return Vr(a)};g.Kk=function(a){return m(a)?(a=!!a,this.N!=a&&(this.N=a,this.ha(2)),this):this.N};g.eL=function(){this.fa||this.rj();this.fa++;return this};g.vo=function(a){return(this.fa=Math.max(this.fa-1,0))?!0:this.Sq(!!a)};g.pm=function(){return!1};g.eD=function(){return 0};
g.nv=!1;g.ip=function(a){return m(a)?(a=this.nv?go(a):"none",this.ta!=a&&(this.ta=a,this.ha(6)),this):this.nv?this.ta:"none"};g.G=function(){var a=HB.F.G.call(this);a.type=this.Sb();a.inverted=this.Kk();return a};g.ba=function(a,b){HB.F.ba.call(this,a,b);this.Kk(a.inverted)};
function KB(a){a=(a+"").toLowerCase();switch(a){case "log":case "logarithmic":return LB();case "lin":case "linear":return MB();case "date":case "datetime":case "dt":return NB();case "ordinal":case "ord":case "discrete":return OB();case "color":case "ordinalcolor":case "discretecolor":return PB();case "linearcolor":return QB();default:return null}}var RB=HB.prototype;RB.inverted=RB.Kk;RB.startAutoCalc=RB.eL;RB.finishAutoCalc=RB.vo;function SB(a){kd.call(this);this.scale=a;this.i=TB;this.f=UB;this.b=VB}G(SB,Ev);g=SB.prototype;g.ma=2;g.Qf=null;g.We=4;g.Ce=null;g.bi=null;
g.fL=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=Sq(a);else{if(B(a))switch(a=mo(a),b=P(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 Lq(a,b,c,d,e,f)}var k;if(k=h&&this.Qf)k=this.Qf,
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.Qf||(h?(this.We=NaN,this.Qf=h):(this.We=4,this.Qf=null),this.bi=this.Ce=null,this.ha(2));return this}return Tq(this.Qf,!1)};g.count=function(a){return m(a)?(this.We!=a&&(this.Qf=null,this.We=isNaN(a)||2>a?4:Math.ceil(+a),this.bi=this.Ce=null,this.ha(2)),this):this.We};
g.set=function(a){if(this.Ce!=a){this.We=NaN;this.Qf=null;this.Ce=cb(a,function(a){return jz(a)});Bb(this.Ce);for(var b=this.Ce[0],c=1,d=1;da||1this.g&&(this.g=c,this.b=!1)}return this};
g.Sq=function(a){var b=this.Sa!=this.i||this.va!=this.g;b&&(this.b=!1,a||this.ha(2));return b};g.transform=function(a){this.Ee();a=P(a);return IB(this,(a-this.min)/this.yg)};g.Ee=function(){this.b||(this.b=!0,this.XA())};
g.XA=function(){isFinite(this.g)?isFinite(this.i)?Wd(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.I?isNaN(this.w)?this.i:Math.min(this.i,this.w):this.min);1E-4>Math.abs(a)&&!this.I&&!this.B&&(this.max+=1E-4);var b,c="percent"!=this.ip();this.I&&(b=c?this.W: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.R: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.Fc=function(a){this.Ee();a=JB(this,a);return a*this.yg+this.min};
g.G=function(){var a=YB.F.G.call(this);a.maximum=this.B?null:this.max;a.minimum=this.I?null:this.min;a.minimumGap=this.$q();a.maximumGap=this.Yq();a.softMinimum=isNaN(this.w)?null:this.w;a.softMaximum=isNaN(this.u)?null:this.u;a.maxTicksCount=this.la;return a};g.ba=function(a,b){YB.F.ba.call(this,a,b);this.$q(a.minimumGap);this.Yq(a.maximumGap);this.fv(a.softMinimum);this.ev(a.softMaximum);this.Zq(a.minimum);this.Xq(a.maximum);this.Nk(a.maxTicksCount)};var ZB=YB.prototype;ZB.maxTicksCount=ZB.Nk;
ZB.minimum=ZB.Zq;ZB.maximum=ZB.Xq;ZB.extendDataRange=ZB.Vf;function $B(){YB.call(this);this.D=this.j=null;YB.call(this)}G($B,YB);g=$B.prototype;g.yw=function(a){return!jz(a)};g.Sb=function(){return"dateTime"};g.ra=function(a){this.j||(this.j=new SB(this),H(this,this.j),R(this.j,this.SA,this));return m(a)?(this.j.X(a),this):this.j};g.Ma=function(a){this.D||(this.D=new SB(this),H(this,this.D),R(this.D,this.SA,this));return m(a)?(this.D.X(a),this):this.D};g.Vf=function(a){for(var b=0;ba.scale.Nk()&&(N(20,null,[c-b,Hs(k)]),k=null,a.We=4);k||(k=WB(a,b,c,!1));d&&(f[0]=b=ds(b,k));b=new Zq(new Date(b));c=new Zq(new Date(c));for(d=0;0>=b.getTime()-c.getTime()&&150>d;b.add(k),d++)h.push(b.getTime());e&&0a.scale.Nk()&&(N(20,null,[l-d,Hs(h)]),h=null,a.We=4);h||(h=WB(a,c,b,!0));c=new Zq(new Date(d));l=new Zq(new Date(l));for(b=0;0>=c.getTime()-l.getTime()&&150>b;c.add(h),b++)e.push(c.getTime());a.bi=e;a.We=k}this.I&&(this.min=f[0]);this.B&&(this.max=f[1]);this.yg=this.max-this.min}};g.SA=function(a){T(a,2)&&(this.b=!1,this.ha(2))};g.G=function(){var a=$B.F.G.call(this);a.ticks=this.ra().G();a.minorTicks=this.Ma().G();return a};
g.ba=function(a,b){$B.F.ba.call(this,a,b);this.ra(a.ticks);this.Ma(a.minorTicks)};function NB(){var a=new $B;a.ba(Rp("defaultScaleSettings.dateTime"));return a}var aC=$B.prototype;F("anychart.scales.dateTime",NB);aC.getType=aC.Sb;aC.ticks=aC.ra;aC.minorTicks=aC.Ma;aC.transform=aC.transform;aC.inverseTransform=aC.Fc;aC.extendDataRange=aC.Vf;aC.softMinimum=aC.fv;aC.softMaximum=aC.ev;aC.minimumGap=aC.$q;aC.maximumGap=aC.Yq;function bC(a){kd.call(this);this.b=a}G(bC,Ev);g=bC.prototype;g.ma=2;g.Id=NaN;g.uc=4;g.$d=6;g.pd=null;g.Od=null;g.Af=0;g.mm="linear";g.qL=function(a){return m(a)?(this.Id!=a&&(a=P(a),0>=a?(this.uc=4,this.$d=6,this.Id=NaN):(this.$d=this.uc=NaN,this.Id=+a),this.Od=this.pd=null,this.ha(2)),this):this.Id};
g.count=function(a,b){return m(a)?(this.uc!=a&&(this.Id=NaN,this.uc=Math.ceil(P(a)),this.$d=Math.ceil(P(b)),2<=this.uc||(this.uc=4),this.$d>=this.uc||(this.$d=this.uc),this.Od=this.pd=null,this.ha(2)),this):[this.uc,this.$d]};g.io=function(a){return m(a)?(a=+a||0,this.Af!=a&&(this.Af=a,this.Od=null,this.pd||this.ha(2)),this):this.Af};g.set=function(a){Gb(this.pd,a)||(this.Id=this.$d=this.uc=NaN,this.pd=ub(a,0),vb(this.pd),Bb(this.pd,Mr),this.Od=null,this.ha(2));return this};
g.get=function(){var a=cC(this);return bb(a,function(a){a=this.transform(a);return 0<=a&&1>=a},this.b)};function cC(a){a.pd?a=a.pd:(a.b.Ee(),a=a.Od);return a||[]}g.mode=function(a){return m(a)?(a=(""+a).toLowerCase(),a="log"==a||"logarithmic"==a?"logarithmic":"linear",this.mm!=a&&(this.Od=null,this.mm=a,this.pd||this.ha(2)),this):this.mm};
function dC(a,b,c,d,e,f){if("logarithmic"==a.mm){f=f||10;a.Od=null;var h=[b,c];if(a.pd)d&&(h[0]=Math.min(b,a.pd[0]||0)),e&&(h[1]=Math.max(c,a.pd[a.pd.length-1]||0));else{b=vq(b,f);c=vq(c,f);var k=[],l=a.Id,n=a.uc,p=a.$d;!isNaN(l)&&(c-b)/l>a.b.Nk()&&(N(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(cs(n,v),cs(n,Math.ceil(Math.pow(10,Math.ceil(u*Math.LOG10E)))),cs(n,Math.ceil(Math.pow(2,
Math.floor(u*Math.LOG2E)))),cs(n,Math.ceil(Math.pow(2,Math.ceil(u*Math.LOG2E)))),cs(n,Math.ceil(v/2)),cs(n,Math.ceil(v/4)),cs(n,Math.ceil(v/8))),n=Math.max(n,1E-7),u=uq(bs(b,n,a.Af))-b,u=u*u,v=uq(cs(c,n,a.Af))-c,v=v*v,u=u+v;if(isNaN(r)||ua.b.Nk()&&(N(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.GH:a.pL,k,l,n=b.length-1,p=a.Id,r=a.uc;isNaN(a.Id)||(l=b[n],k=b[0],f&&(k=vq(k,c),l=vq(l,c)),(l-k)/a.Id>a.b.Nk()&&(N(20,null,[l-k,a.Id]),a.Id=NaN,a.uc=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.Id=p;a.uc=r}}
g.pL=function(a,b,c,d){var e=this.Id;isNaN(e)&&(e=(d-c)/(this.uc-1));e=Math.max(e,1E-7);c=this.Od[this.Od.length-1];b=tq(b,7);for(a=tq(a,7);a<=b;a=tq(a+e,7))c!=a&&this.Od.push(a),c=a};g.GH=function(a,b,c,d,e){var f=this.Id;a=vq(a,e);b=vq(b,e);c=vq(c,e);d=vq(d,e);isNaN(f)&&(f=(d-c)/(this.uc-1));f=Math.max(f,1E-7);c=this.Od[this.Od.length-1];b=tq(b,7);for(a=tq(a,7);a<=b;a=tq(a+f,7))c!=a&&this.Od.push(wq(e,a)),c=a};
g.G=function(){var a=bC.F.G.call(this);a.mode=this.mm;a.base=this.Af;this.pd?a.explicit=this.pd:(this.uc==this.$d?isNaN(this.uc)||(a.count=this.uc):(isNaN(this.uc)||(a.minCount=this.uc),isNaN(this.$d)||(a.maxCount=this.$d)),isNaN(this.Id)||(a.interval=this.Id));return a};g.Jb=function(a,b){var c=arguments[1];return q(c)?(this.set(c),!0):Ev.prototype.Jb.apply(this,arguments)};
g.ba=function(a,b){bC.F.ba.call(this,a,b);this.mode(a.mode);this.io(a.base);this.pd=a.explicit||null;this.uc=a.count||a.minCount||NaN;this.$d=a.count||a.maxCount||NaN;this.Id=a.interval||NaN;this.pd?this.uc=this.$d=this.Id=NaN:this.Id?this.uc=this.$d=NaN:(this.uc=Math.ceil(P(this.uc)),this.$d=Math.ceil(P(this.$d)),2<=this.uc||(this.uc=4),this.$d>=this.uc||(this.$d=this.uc))};var fC=bC.prototype;fC.interval=fC.qL;fC.count=fC.count;fC.base=fC.io;fC.set=fC.set;fC.get=fC.get;fC.mode=fC.mode;function gC(){YB.call(this);this.D=this.j=null;this.nv=!0;this.f=10;this.aa=!0;this.na=this.FD}G(gC,YB);g=gC.prototype;g.lr="none";g.tv="firstVisible";g.Sb=function(){return"linear"};g.ra=function(a){this.j||(this.j=hC(this));return m(a)?(this.j.X(a),this):this.j};g.Ma=function(a){this.D||(this.D=hC(this),J(this.D),this.D.count(5),this.D.ga(!1));return m(a)?(this.D.X(a),this):this.D};g.Vx=function(a){return m(a)?(a=!!a,a!=this.aa&&(this.aa=a,this.I||this.B)&&(this.b=!1,this.ha(4)),this):this.aa};
g.Ee=function(){if(!this.b){gC.F.Ee.call(this);var a=dC(this.ra(),this.min,this.max,this.I&&this.min!=this.w,this.B&&this.max!=this.u,this.f);this.I&&(this.min=a[0]);this.B&&(this.max=a[1]);eC(this.Ma(),cC(this.ra()),this.f,a[2],a[3]);this.yg=this.max-this.min}};g.lL=function(a){T(a,2)&&(this.b=!1,this.ha(2))};function hC(a){var b=new bC(a);H(a,b);R(b,a.lL,a);return b}
g.OL=function(a){if(m(a)){a=go(a);if(this.lr!=a){this.lr=a;switch(this.lr){case "none":this.na=this.FD;break;case "value":this.na=this.rN;break;case "percent":this.na=this.nN}this.ha(6)}return this}return this.lr};g.NL=function(a){return m(a)?(a=ho(a)||Xr(a),this.tv!=a&&(this.tv=a,this.ha(6)),this):this.tv};g.hv=function(a,b){return this.na(a,b)};g.FD=function(a){return a};g.rN=function(a,b){return P(a)-b};g.nN=function(a,b){return(P(a)-b)/(b||1)*100};
g.G=function(){var a=gC.F.G.call(this);a.ticks=this.ra().G();a.minorTicks=this.Ma().G();a.stackMode=this.ip();a.stickToZero=this.Vx();return a};g.ba=function(a,b){gC.F.ba.call(this,a,b);this.ra(a.ticks);this.Ma(a.minorTicks);this.ip(a.stackMode);this.Vx(a.stickToZero)};function MB(){var a=new gC;a.ba(Rp("defaultScaleSettings.linear"));return a}var iC=gC.prototype;F("anychart.scales.linear",MB);iC.transform=iC.transform;iC.inverseTransform=iC.Fc;iC.getType=iC.Sb;iC.ticks=iC.ra;iC.minorTicks=iC.Ma;
iC.stackMode=iC.ip;iC.stickToZero=iC.Vx;iC.softMinimum=iC.fv;iC.softMaximum=iC.ev;iC.minimumGap=iC.$q;iC.maximumGap=iC.Yq;iC.comparisonMode=iC.OL;iC.compareWith=iC.NL;function jC(a){kd.call(this);this.scale=a}G(jC,Ev);g=jC.prototype;g.ma=2;g.uj=NaN;g.lg=null;g.Lk=null;g.Uf=null;g.tj=null;g.se=null;g.Mk=100;g.Wq=function(a){return m(a)?(a=Wr(a,NaN),isNaN(a)||this.uj==a||(this.uj=a,this.Mk=NaN,this.se=this.tj=this.Uf=this.Lk=null,this.ha(2)),this):this.uj};g.Rw=function(a){return m(a)?(a=Wr(a,NaN),isNaN(a)||this.Mk==a||(this.Mk=a,this.uj=NaN,this.se=this.tj=this.Uf=this.Lk=null,this.ha(2)),this):this.Mk};
g.set=function(a){Gb(this.Uf,a)||(this.Uf=rb(a),this.Uf=cb(this.Uf,function(a){return P(a)}),Bb(this.Uf),vb(this.Uf),this.Uf[0]=0,this.se=this.tj=this.Lk=null,this.ha(2));return this};
g.names=function(a){if(m(a))return this.lg!=a&&(this.lg=a,this.ha(2)),this;a=kC(this);var b,c;if(this.lg&&this.lg.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 lC(a){a.Lk=null;a.tj=null;a.se=null}g.G=function(){var a=jC.F.G.call(this);this.Uf?a.explicit=this.Uf:isNaN(this.Mk)?isNaN(this.uj)||(a.interval=this.uj):a.maxCount=this.Mk;this.lg&&(a.names=this.lg);return a};
g.Jb=function(a,b){var c=arguments[1];return q(c)?(this.set(c),!0):Ev.prototype.Jb.apply(this,arguments)};g.ba=function(a,b){jC.F.ba.call(this,a,b);"explicit"in a?this.set(a.explicit):"interval"in a?this.Wq(a.interval):"maxCount"in a&&this.Rw(a.maxCount);this.lg=a.names||null;this.se=this.tj=null};var mC=jC.prototype;mC.interval=mC.Wq;mC.maxCount=mC.Rw;mC.set=mC.set;mC.get=mC.get;mC.names=mC.names;function nC(){this.b=[];this.D=[];this.f=[];this.i=[];this.j=[];this.I=!0;this.B={};this.xa=null;this.w=!0;this.fb=null;HB.call(this)}G(nC,HB);g=nC.prototype;g.Sb=function(){return"ordinal"};g.yw=function(a){return!m(a)};g.ra=function(a){this.fb||(this.fb=new jC(this),H(this,this.fb),R(this.fb,this.oL,this));return m(a)?(this.fb.X(a),this):this.fb};
g.values=function(a,b){if(!m(a))return this.b;if(null===a)this.w||(this.w=!0,this.ha(4));else{this.w=!1;var c=q(a);this.rj();c&&a.length?this.Vf.apply(this,a):this.Vf.apply(this,arguments);this.Sq(!1)}return this};
g.names=function(a){if(m(a)){if(null===a)this.D=[];else if(q(a))this.D=rb(a);else{if(!B(a)||this.D==a)return this;this.D=a}this.g=null;lC(this.ra());this.ha(2);return this}if(q(this.D)){this.g||(this.g=rb(this.D));if(this.g.lengtha.Qj?a.Qj:a.jp}else a.W=a.Tm;if((null!==a.Tm||null!==a.Qj&&a.jp>a.Qj)&&"noOverlap"==a.Xp()){p=[];for(h=0;h=z&&a.jg()||1<=z&&a.hf()?t=E:0z&&(t=E)),E++;x<=S&&h=z&&a.jg()||1<=z&&a.hf()?(u=l,n.push(!0)):0z?(u=l,n.push(!0)):n.push(!1))):n.push(!1),l++)}ba||(n=!1)}else if(L(p,HB))for(h=0;hh&&(h=
d)}if(n&&!a.Bl())for(n=A(p)?p.Fa:!p,r=b.Ma().get(),e=0,f=n.length;ek&&(k=d);return a.mB(h,k)+l}g.iw=function(a){return this.tc()?this.ij().nd(a):this.ij().md(a)};
g.lc=function(){var a=this.ja();if(a){var b=a.clone();if(this.scale()&&this.enabled()){var c=this.Ra(),d=this.ij(),e=a.height-d.md(a.height)+c.height,a=a.width-d.nd(a.width)+c.width;switch(this.xc()){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.Ra=function(){if(!this.xg||this.O(4)){var a=this.ja();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.tc()?(b=a.width,c=a.height):(b=a.height,c=a.width);b=this.iw(b);c=this.Ia?O(this.Ia,c):tC(this,a,b);var d,e,f=this.ij(),h=O(f.J("top"),a.height),k=O(f.J("right"),a.width),l=O(f.J("bottom"),a.height),f=O(f.J("left"),a.width),n,p;switch(this.xc()){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.xg=new K(Math.round(d),Math.round(e),Math.round(n),Math.round(p))}else this.xg=new K(0,0,0,0);this.K(4)}return this.xg};
function sC(a,b,c,d,e){if(!c&&a.scale()&&!L(a.scale(),YB))return null;var f=c?a.Vp:a.Wp;if(m(f[b]))return f[b];var h=m(e)?e:a.Ra();e=m(e)?e:a.eb.Qa();var k=c?a.ra():a.Ma(),l=k.length(),n=a.stroke(),n=!n||ks(n)?0:n.thickness?parseFloat(a.stroke().thickness):1;c=c?a.labels():a.Fa();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,z,f,c),l==k-1&&(v=a.transform(ca,1),0<=v&&1>=v&&b.call(e,v,y,z,f,c))),w=q(p)?p[l]:p,uC(this,d,t,l,c,!0,h,w&&0<=t&&1>=t);this.labels().$()}this.title().ga(!1);this.labels().ga(!1);this.Fa().ga(!1);
this.ra().ga(!1);this.Ma().ga(!1);return this};g.remove=function(){this.La&&this.La.remove();this.eb&&this.eb.parent(null);this.ra().remove();this.Ma().remove();this.wa&&this.wa.remove();this.rb&&this.rb.remove()};
g.G=function(){var a=qC.F.G.call(this);a.title=this.title().G();a.labels=this.labels().G();a.minorLabels=this.Fa().G();a.ticks=this.ra().G();a.minorTicks=this.Ma().G();a.stroke=op(this.stroke());a.staggerMode=this.Bl();a.staggerLines=this.Tx();a.staggerMaxLines=this.Ux();a.width=this.width();this.w&&(a.orientation=this.w);a.drawFirstLabel=this.jg();a.drawLastLabel=this.hf();a.overlapMode=this.Xp();return a};
g.ba=function(a,b){qC.F.ba.call(this,a,b);"title"in a&&this.title(a.title);this.labels().bb(!!b,a.labels);this.Fa().bb(!!b,a.minorLabels);this.ra(a.ticks);this.Ma(a.minorTicks);this.Bl(a.staggerMode);this.Tx(a.staggerLines);this.Ux(a.staggerMaxLines);this.stroke(a.stroke);this.width(a.width);this.xc(a.orientation);this.jg(a.drawFirstLabel);this.hf(a.drawLastLabel);this.Xp(a.overlapMode)};
g.ea=function(){qC.F.ea.call(this);this.Ud&&Fv(this.Ud,this.St,this);delete this.Ud;this.La=this.Wp=this.Vp=null;Nb(this.Ga,this.eb,this.wa,this.rb);this.rb=this.wa=this.xg=this.Nb=this.fb=this.eb=this.Ga=null};var vC=qC.prototype;vC.staggerMode=vC.Bl;vC.staggerLines=vC.Tx;vC.staggerMaxLines=vC.Ux;vC.title=vC.title;vC.labels=vC.labels;vC.minorLabels=vC.Fa;vC.ticks=vC.ra;vC.minorTicks=vC.Ma;vC.stroke=vC.stroke;vC.orientation=vC.xc;vC.scale=vC.scale;vC.width=vC.width;vC.getRemainingBounds=vC.lc;
vC.drawFirstLabel=vC.jg;vC.drawLastLabel=vC.hf;vC.overlapMode=vC.Xp;vC.isHorizontal=vC.tc;vC.padding=vC.ij;vC.getPixelBounds=vC.Ra;function wC(){W.call(this);this.u=this.f=null}G(wC,W);g=wC.prototype;g.ma=W.prototype.ma|8;g.pa=W.prototype.pa|20;g.ac=function(){return this.u};function xC(a,b){return m(b)?(a.i!=b&&(a.i&&Fv(a.i,a.au,a),a.i=b,a.i&&R(a.i,a.au,a),a.o(4,9)),a):a.i?a.i:a.f?a.f.scale():null}g.au=function(a){var b=0;T(a,4)&&(b|=4);T(a,2)&&(b|=1);this.o(4,b|8)};function yC(a,b){return m(b)?(a.b!==b&&(a.b=b,a.o(4,9)),a):a.b}g.Iz=function(){this.o(4,9)};
g.kj=function(a){return m(a)?(this.f!=a&&(this.f&&Fv(this.f,this.Iz,this),this.f=a,R(this.f,this.Iz,this),this.i&&Fv(this.i,this.au,this),this.i=null,this.o(4,9)),this):this.f};g.Hz=function(a,b,c,d){this.I||(this.I=new dx,H(this,this.I));return m(a)?(this.I.X.apply(this.I,arguments),this):this.I};g.Yl=function(){return"horizontal"==this.Wh()};g.Mn=void 0;g.Ln=void 0;
g.$=function(){if(!this.scale())return Qo(2),this;if(!this.wb())return this;if(this.O(8)){var a=this.zIndex();zC(this).zIndex(a);this.K(8)}this.O(2)&&(a=this.P(),zC(this).parent(a),this.K(2));this.O(16)&&(this.Ln(),this.K(16));this.O(4)&&(this.Mn(),this.K(4));return this};
function AC(a){var b=a.scale();if(b){var c=zC(a),b=b.transform(a.b,.5);if(!isNaN(b)&&(c.clear(),0<=b&&1>=b)){var d=c.fh()%2?-.5:0,e=a.ja(),f=a.Hz();a.Yl()?(a=Math.round(e.$a()+e.height-b*e.height),1==b?a-=d:a+=d,c.moveTo(e.Ua(),a),c.lineTo(e.ua(),a)):(a=Math.round(e.Ua()+b*e.width),1==b?a+=d:a-=d,c.moveTo(a,e.$a()),c.lineTo(a,e.qa()));c.clip(f.nf(e))}}else Qo(2)}
function BC(a){var b=a.b,c=a.scale();if(c){var d=zC(a);d.clear();var e=b.Re,f=b.from,h=c.transform(f),k=c.transform(e);h>k&&(e=b.from,f=b.Re);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=ce(b,0,1),f=ce(f,0,1),c=a.ja(),e=a.Hz(),a.Yl()?(a=Math.floor(c.qa()-c.height*f),b=Math.ceil(c.qa()-c.height*b),f=c.Ua(),h=c.ua(),d.moveTo(f,a).lineTo(h,a).lineTo(h,b).lineTo(f,b).close()):(a=c.qa(),h=c.$a(),b=Math.floor(c.Ua()+c.width*b),f=Math.ceil(c.Ua()+
c.width*f),d.moveTo(b,a).lineTo(b,h).lineTo(f,h).lineTo(f,a).close()),d.clip(e.nf(c)))}else Qo(2)}g.remove=function(){zC(this).parent(null)};function zC(a){a.w||(a.w=th(),H(a,a.w));return a.w}g.ba=function(a,b){wC.F.ba.call(this,a,b);"layout"in a&&a.layout&&this.Wh(a.layout);if("axis"in a){var c=a.axis;C(c)?this.u&&this.kj(this.u.Ir(c)):L(c,qC)&&this.kj(c)}};g.ea=function(){this.u=this.f=null;wC.F.ea.call(this)};function CC(){wC.call(this);this.b={from:0,Re:0};this.B="black";var a=!this.g&&"#c1c1c1 0.4"!=this.B;this.B="#c1c1c1 0.4";a&&this.o(16)}G(CC,wC);g=CC.prototype;g.ma=wC.prototype.ma;g.pa=wC.prototype.pa;g.Wh=function(a){return m(a)?(a=Rn(a),this.j!=a&&(this.j=a,this.o(4,9)),this):this.j?this.j:this.kj()?(a=this.kj().xc(),"left"==a||"right"==a?"horizontal":"vertical"):"horizontal"};g.scale=function(a){return xC(this,a)};
g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.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.Re=function(a){return m(a)?(this.b.Re!=a&&(this.b.Re=a,this.o(4,9)),this):this.b.Re};g.Mn=function(){BC(this)};g.Ln=function(){zC(this).stroke(null).fill(this.fill())};g.ea=function(){delete this.g;CC.F.ea.call(this)};
g.G=function(){var a=CC.F.G.call(this);a.from=this.from();a.to=this.Re();this.g&&(a.fill=op(this.g));this.j&&(a.layout=this.j);return a};g.ba=function(a,b){CC.F.ba.call(this,a,b);this.from(a.from);this.Re(a.to);this.fill(a.fill)};var DC=CC.prototype;DC.from=DC.from;DC.to=DC.Re;DC.scale=DC.scale;DC.axis=DC.kj;DC.layout=DC.Wh;DC.fill=DC.fill;DC.isHorizontal=DC.Yl;function EC(a){this.i=a;this.reset()}g=EC.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.Nd(++this.b);var a=this.mc();return!!a&&this.b=this.mc()))return FC(this.i.Zf(this.b),this.g,this.b,a)};g.zm=function(a){return this.get(a)};g.Na=function(){return this.b};g.av=function(){return this.get("x")};g.mc=function(){return this.i.mc()};
g.U=function(a,b){return 1=this.mc()))return FC(this.Zf(a),this.Nd(a),a,b)};g.set=function(a,b,c){var d=this.Nd(a);m(d)&&this.Nd(a,NC(this.Zf(a),d,b,c));return this};g.Oa=function(){IC(this);return new EC(this)};g.kv=function(){return null};
g.rs=function(a){this.f=null;T(a,16)&&this.o(1,16)};g.U=function(a,b,c){this.Jm||(this.Jm=[]);var d=this.Jm[a];d||(this.Jm[a]=d={});return 2a:!(!this.zh||!this.zh[a])};g.ss=function(a,b){function c(c){c in a||(a[c]=b++)}var d;for(d=0;d=c&&0=f&&0=c&&0this.f.length||!this.b)return null;if(m(b))return this.i[a]=b,this.ha(2),this;a>this.b-1&&(a=this.b-1);0>a&&(a=0);var c=this.i[a];return c?c:null};
function gD(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:Re(Um(Rm(c.color),Rm(d.color),e))})}}}}g.G=function(){var a=fD.F.G.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.ha(2);return this}return this.b};g.jF=function(a){return m(a)?(this.g=P(a),this.f={},this.ha(2),this):this.g};g.bB=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=oD(a.ca,b));d||(d=[]);return a.f[c]=d}g.nD=function(a){T(a,2)&&!this.b&&(this.f={})};
function nD(a){var b=a.isWorking;this.j=m(b)?!b:!1;b=No(a.each);switch(b){case "year":var c=a.on,d=a.from,e=a.to;this.u=this.sL;(c=jz(c,"dd.MM",jD))?(this.D=this.Tw,this.b=new Zq(2E3,c.getUTCMonth(),c.getUTCDate()),e=pD(d,e),this.i=e[0],this.f=e[1]):(this.D=this.qE,this.b=null,c=(c=jz(d,"dd.MM",jD))?new Zq(c):kD,this.i=new Zq(2E3,c.getUTCMonth(),c.getUTCDate()),c=(c=jz(e,"dd.MM",jD))?new Zq(c):lD,this.f=new Zq(2E3,c.getUTCMonth(),c.getUTCDate()),this.f.add(mD));break;case "week":qD(this,a.on,a.from,
a.to);break;case "day":qD(this,NaN,a.from,a.to);break;default:c=a.on,d=a.from,e=a.to,this.u=this.ey,(c=jz(c))?(this.D=this.Tw,this.b=new Zq(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),e=pD(d,e),this.i=e[0],this.f=e[1]):(this.D=this.qE,this.b=null,c=(c=jz(d))?new Zq(c):kD,this.i=new Zq(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),c=(c=jz(e))?new Zq(c):lD,this.f=new Zq(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),this.f.add(mD))}"none"==b?this.b?(this.w=this.b.clone(),this.g=this.b.clone(),
this.g.add(mD)):(this.w=this.i.clone(),this.g=this.f.clone()):(this.w=(b=jz(a.starts))?new Zq(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()):kD,(b=jz(a.ends))?(this.g=new Zq(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()),this.g.add(mD)):this.g=lD)}function qD(a,b,c,d){a.u=a.tL;a.D=a.Tw;b=Math.min(Wr(b,NaN,!0),6);a.b=isNaN(b)?null:b;b=pD(c,d);a.i=b[0];a.f=b[1]}g=nD.prototype;g.ey=function(a){return a.getTime()>=this.w.getTime()&&a.getTime()<=this.g.getTime()};
g.tL=function(a){return this.ey(a)&&(null===this.b||(a.Or()+6)%7==this.b)};g.sL=function(a){if(!this.ey(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.ow(b);var d=this.f.clone();d.ow(b);return a>=c.getTime()&&a<=d.getTime()};
g.Tw=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=hp(c.color,b.color,(a-b.offset)/(c.offset-b.offset)):h=b.color:h=c.color;return q(h)?Re(h):h.color};
g.jL=function(a){this.Ee();a=Rm(jp(a).Je);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].Gh)?c[k].Gh:(c[k].start+c[k].end)/2,p=m(c[l].Gh)?c[l].Gh:(c[l].start+c[l].end)/2;e.push(k==l?n:[n,p])}return e};function yD(){HB.call(this);this.u=this.f=null;this.D=[];this.xa=this.i=null;this.I=[]}G(yD,HB);g=yD.prototype;g.Sb=function(){return"ordinalColor"};g.Kk=function(a){return m(a)?(a=!!a,this.N!=a&&(this.N=a,this.rj(),this.ha(2)),this):this.N};
g.zd=function(a){if(m(a))return a?q(a)&&(this.f=rb(a)):this.f=[],this.rj(),this.ha(2),this;if(q(this.f)){this.w||(this.w=rb(this.f));if(this.w.length "+c.start:"< "+c.end;c.name||(c.name=d);this.se.push(d)}}return this.se};g.ws=function(a){return m(a)?(this.D!=a&&(this.D=a,this.xa=Rp("defaultOrdinalColorScale.autoColors")(this.D.length),this.rj(),lC(this.ra()),this.ha(4)),this):this.D};g.Hj=function(){zD(this);this.names();return this.i};g.Lh=function(a){zD(this);var b=null;if(this.i)for(var c=this.i.length;c--;){var d=this.i[c];if(m(d.Gh)&&d.Gh===a||a>=d.start&&a<=d.end&&-1d.length-1?d[d.length-1]:d[c])}}return b};g.mL=function(a){zD(this);a=jp(a).Je;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.ja(),c=c.clone().round(),d=this.Nn();a.Za(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.Qa(),k=e?Math.ceil(O(this.width(),c.width)):h.width;
e&&a.width(k);h=a.Qa();c=f?Math.ceil(O(this.height(),c.height)):h.height;f&&a.height(c);var l=this.ja(),l=l.clone().round();if(this.fq())switch(e=Math.round(l.$a()+l.height-b*l.height),1==b?e-=-.5:e+=-.5,this.I){case "left":f=l.Ua();break;case "right":f=l.ua();break;default:f=l.Ua()+l.width/2}else switch(f=Math.round(l.Ua()+b*l.width),1==b?f+=-.5:f-=-.5,this.I){case "top":e=l.$a();break;case "bottom":e=l.qa();break;default:e=l.$a()+l.height/2}b=new je(f,e);f=P(this.N);f=isNaN(f)?this.fq()?0:-90:f;
e=Fe(fe(f),0,0);h=ve(h,e);e=Yr(Gq(0,0,h.width,h.height),d);b.x-=e.x;b.y-=e.y;e=O(this.offsetX(),k);l=O(this.offsetY(),c);is(b,d,e,l);this.hc(a,!0);a.x(b.x+h.width/2-k/2).y(b.y+h.height/2-c/2).bp(f,"center");this.o(2)}else this.remove(),this.K(2);this.K(4)}this.O(2)&&(a=this.P(),nE(this).parent(a),this.K(2));return this};g.remove=function(){nE(this).parent(null)};function nE(a){a.b||(a.b=$h(),a.b.qd("aria-hidden","true"),H(a,a.b));return a.b}g.ea=function(){Mb(this.b);this.f=this.u=this.b=null;kE.F.ea.call(this)};
g.G=function(){var a=kE.F.G.call(this);a.anchor=this.Nn();a.align=this.eq();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.ba=function(a,b){kE.F.ba.call(this,a,b);this.Nn(a.anchor);this.eq(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.bu(this.u.Ir(c)):L(c,qC)&&this.bu(c)}};function oE(){kE.call(this)}G(oE,kE);g=oE.prototype;g.ma=kE.prototype.ma;g.pa=kE.prototype.pa;g.scale=function(a){return lE(this,a)};g.value=function(a){return mE(this,a)};g.G=function(){var a=oE.F.G.call(this);a.value=this.value();return a};g.ba=function(a,b){oE.F.ba.call(this,a,b);this.value(a.value)};var pE=oE.prototype;pE.value=pE.value;pE.scale=pE.scale;pE.axis=pE.bu;pE.anchor=pE.Nn;pE.align=pE.eq;pE.layout=pE.On;pE.rotation=pE.rotation;pE.offsetX=pE.offsetX;pE.offsetY=pE.offsetY;pE.text=pE.text;
pE.height=pE.height;pE.width=pE.width;pE.isHorizontal=pE.fq;function qE(){W.call(this);this.B=this.b=this.i=this.g=null;this.aa=!1;this.f=null}G(qE,W);g=qE.prototype;g.ma=W.prototype.ma|8;g.pa=W.prototype.pa|80;g.ac=function(){return this.u};g.fu=function(a){return m(a)?(a=Rn(a),this.w!=a&&(this.w=a,this.o(64,9)),this):this.w?this.w:this.f?(a=this.f.xc(),"left"==a||"right"==a?"horizontal":"vertical"):"horizontal"};g.scale=function(a){return m(a)?(this.B!=a&&(this.B=a,R(this.B,this.MI,this),this.o(68,9)),this):this.B?this.B:this.f?this.f.scale():null};
g.MI=function(a){var b=0;T(a,4)&&(b|=4);T(a,2)&&(b|=1);this.o(20,b|8)};g.Pz=function(){this.o(64,9)};g.cu=function(a){return m(a)?(this.f!=a&&(this.f&&Fv(this.f,this.Pz,this),this.f=a,R(this.f,this.Pz,this),this.o(64,9)),this):this.f};g.LI=function(a,b,c,d){this.I||(this.I=new dx,H(this,this.I));return m(a)?(this.I.X.apply(this.I,arguments),this):this.I};g.If=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.W!=k&&(this.W=k,this.o(16,1));return this}return this.W};
g.Ef=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.R!=k&&(this.R=k,this.o(16,1));return this}return this.R};g.stroke=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments);if(this.j!=f){var h=this.j?Xe(this.j):0;this.j=f;var f=16,k=1;h!=(this.j?Xe(this.j):0)&&(f|=68,k|=8);this.o(f,k)}return this}return this.j};g.Jv=function(a){return m(a)?(this.da!=a&&(this.da=a,this.o(64,9)),this):this.da};g.du=function(a){return m(a)?(this.N!=a&&(this.N=a,this.o(64,9)),this):this.N};
g.gq=function(a){return m(a)?(this.aa!=a&&(this.aa=a,this.o(80,9)),this):this.aa};g.Sz=function(a,b){var c=this.ja()||Gq(0,0,0,0),d=Math.round(c.qa()-a*c.height);1==a?d-=b:d+=b;this.b.moveTo(c.Ua(),d);this.b.lineTo(c.ua(),d)};g.Tz=function(a,b){var c=this.ja()||Gq(0,0,0,0),d=Math.round(c.Ua()+a*c.width);1==a?d+=b:d-=b;this.b.moveTo(d,c.qa());this.b.lineTo(d,c.$a())};g.eu=function(){return"horizontal"==this.fu()};
g.Qz=function(a,b,c,d,e){if(!isNaN(b)){c=this.ja()||Gq(0,0,0,0);var f,h;f=Math.round(c.qa()-b*c.height);h=Math.round(c.qa()-a*c.height);1==a?h-=e:h+=e;1==b?f-=e:f+=e;d.moveTo(c.Ua(),f);d.lineTo(c.ua(),f);d.lineTo(c.ua(),h);d.lineTo(c.Ua(),h);d.close()}};g.Rz=function(a,b,c,d,e){if(!isNaN(b)){c=this.ja()||Gq(0,0,0,0);var f,h;f=Math.round(c.Ua()+b*c.width);h=Math.round(c.Ua()+a*c.width);1==a?h+=e:h-=e;1==b?f+=e:f-=e;d.moveTo(f,c.$a());d.lineTo(h,c.$a());d.lineTo(h,c.qa());d.lineTo(f,c.qa());d.close()}};
g.$=function(){var a=this.scale();if(!a)return Qo(2),this;if(!this.wb())return this;if(this.O(8)){var b=this.zIndex();rE(this).zIndex(b);sE(this).zIndex(b);tE(this).zIndex(b);this.K(8)}this.O(2)&&(b=this.P(),rE(this).parent(b),sE(this).parent(b),tE(this).parent(b),this.K(2));this.O(16)&&(tE(this).stroke(this.stroke()),sE(this).fill(this.If()),rE(this).fill(this.Ef()),this.K(16));if(this.O(64)||this.O(4)){var c,d,e,f,b=NaN,h=L(this.scale(),nC),k=(h?a.ra():this.gq()?a.Ma():a.ra()).get();c=this.eu()?
[this.Sz,this.Qz]:[this.Tz,this.Rz];rE(this).clear();sE(this).clear();tE(this).clear();var l=this.ja()||Gq(0,0,0,0);d=this.u&&!1;l=this.LI().nf(l);rE(this).clip(l);sE(this).clip(l);tE(this).clip(l);l=c[1];c=c[0];var n=-tE(this).fh()%2/2;d&&this.eu()&&c.call(this,0,n);for(var p=0,r=k.length;pa.nearestPointToCursor.distance&&(a.series.Oa().select(a.nearestPointToCursor.index),c=a)});var d=c.series;a=this.P();var e=this.ja(),f=this.g.fh()%2?-.5:0,h=this.j.fh()%2?-.5:0,k=d.Sc(),l=d.ke(),d=d.Oa(),n=P(d.U("x")),p=P(d.U("value"));if(this.B&&"none"!=this.B){var r;
this.g.clear();r=ce(n,e.Ua(),e.ua()-1);r=Math.round(r)-f;this.g.moveTo(r,e.$a()).lineTo(r,e.qa())}this.u&&this.u.enabled()&&this.f.enabled()&&(f=this.cm(this.u,k.transform(d.get("x"))),r=this.f.xf()||ms,this.f.text(r.call(f,f)),k=AE(this,this.u,this.f,n,p,k.transform(d.get("x"))),this.f.x(k.x).y(k.y),this.f.P(a).$());this.I&&"none"!=this.I&&(this.j.clear(),k=ce(p,e.$a(),e.qa()-1),k=Math.round(k)-h,this.j.moveTo(e.Ua(),k).lineTo(e.ua(),k));this.w&&this.w.enabled()&&this.i.enabled()&&(e=this.cm(this.w,
l.transform(d.get("value"))),h=this.i.xf()||ms,this.i.text(h.call(e,e)),l=AE(this,this.w,this.i,n,p,l.transform(d.get("value"))),this.i.x(l.x).y(l.y),this.i.P(a).$())}else this.fc()};g.fc=function(){BE(this);CE(this)};function BE(a){a.g.clear();a.f.P(null).remove()}function CE(a){a.j.clear();a.i.P(null).remove()}function DE(a){return m(a.scale().Fc(0))}
g.Bk=function(a){if(this.enabled()){var b=this.P(),c=this.ja(),d=tm(this.P().ka()),e=a.clientX-d.x;a=a.clientY-d.y;if(e>=c.Ua()&&e<=c.ua()&&a>=c.$a()&&a<=c.qa()){var d=this.g.fh()%2?-.5:0,f=this.j.fh()%2?-.5:0,h=c.qa()-c.$a(),k=a-c.$a(),l;l=(e-c.Ua())/(c.ua()-c.Ua());h=(h-k)/h;if(this.u&&DE(this.u)){if(this.B&&"none"!=this.B&&(this.g.clear(),this.u.tc()?(k=ce(EE(this,this.u,l,e),c.Ua(),c.ua()-1),this.g.moveTo(k-d,c.$a()).lineTo(k-d,c.qa())):(k=ce(EE(this,this.u,l,a),c.$a(),c.qa()-1),this.g.moveTo(c.Ua(),
k-f).lineTo(c.ua(),k-f))),this.f.enabled()){var k=this.cm(this.u,l),n=this.f.xf()||ms;this.f.text(n.call(k,k));l=AE(this,this.u,this.f,e,a,l);this.f.x(l.x).y(l.y);this.f.P(b).$()}}else BE(this);this.w&&DE(this.w)?(this.I&&"none"!=this.I&&(this.j.clear(),this.w.tc()?(l=ce(EE(this,this.w,h,e),c.Ua(),c.ua()-1),this.j.moveTo(l-d,c.$a()).lineTo(l-d,c.qa())):(l=ce(EE(this,this.w,h,a),c.$a(),c.qa()-1),this.j.moveTo(c.Ua(),l-f).lineTo(c.ua(),l-f))),this.i.enabled()&&(c=this.cm(this.w,h),d=this.i.xf()||ms,
this.i.text(d.call(c,c)),e=AE(this,this.w,this.i,e,a,h),this.i.x(e.x).y(e.y),this.i.P(b).$())):CE(this)}else this.fc()}};function EE(a,b,c,d){a=a.ja();var e=b.scale(),f="ordinal"==e.Sb();c=e.transform(e.Fc(c),.5);return b.tc()?f?Math.round(a.left+c*a.width):d:f?Math.round(a.top+a.height-c*a.height):d}
function AE(a,b,c,d,e,f){a=a.ja();var h=0,k=0;if(!b)return{x:h,y:k};var l=b.scale(),n=b.Ra(),p="ordinal"==l.Sb();f=l.transform(l.Fc(f),.5);var r=b.enabled(),l=r?n.Ua():a.ua(),t=r?n.$a():a.qa(),u=r?n.ua():a.Ua(),n=r?n.qa():a.$a();switch(b.xc()){case "left":h=FE(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=GE(c)?n-1:n+1;break;case "right":h=FE(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=GE(c)?t-1:t+1}return{x:h,y:k}}function FE(a){a=fx(a);return"leftTop"==a||"leftCenter"==a||"leftBottom"==a}function GE(a){a=fx(a);return"leftTop"==a||"centerTop"==a||"rightTop"==a}
g.cm=function(a,b){if(!a)return null;var c=a.scale(),d=c.Sb(),e=c.Fc(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.ja(),c=a.offsetX;a=a.offsetY;(c<=b.Ua()||c>=b.ua()||a<=b.$a()||a>=b.qa())&&this.fc()};g.remove=function(){this.fc()};g.ea=function(){this.Ca&&(this.Ca.jc("mouseover",this.Bk,!1,this),this.Ca.jc("mousemove",this.Bk,!1,this),this.Ca.jc("mouseout",this.vq,!1,this),this.Ca.jc("pointshover",this.show,!1,this),this.Ca=null);Mb(this.g);this.g=null;Mb(this.j);this.w=this.u=this.j=null;Mb(this.f);this.f=null;Mb(this.i);this.i=null;xE.F.ea.call(this)};
g.G=function(){var a=xE.F.G.call(this);a.displayMode=this.Hv();a.xStroke=op(this.bn());a.yStroke=op(this.en());a.xLabel=this.f.G();a.yLabel=this.i.G();return a};g.ba=function(a,b){xE.F.ba.call(this,a,b);this.Hv(a.displayMode);this.bn(a.xStroke);this.en(a.yStroke);this.$m(a.xLabel);this.dn(a.yLabel)};var HE=xE.prototype;HE.displayMode=HE.Hv;HE.xStroke=HE.bn;HE.yStroke=HE.en;HE.xLabel=HE.$m;HE.yLabel=HE.dn;function IE(a,b){this.Ca=a;this.index=Wr(b,0,!0);this.b={}}g=IE.prototype;g.Na=function(){return this.index};g.ac=function(){return this.Ca};g.get=function(a){return this.Ca.data().get(this.index,a)};g.set=function(a,b){this.Ca.data().set(this.index,a,b);return this};g.vw=function(a){var b=this.ac(),c=DA(b.state,Ap,this.index);return m(a)&&c!=a?(a?b.Yk(this.index):b.he(this.index),this):c};
g.Ht=function(a){var b=this.ac(),c=DA(b.state,Bp,this.index);return m(a)&&c!=a?(a?b.select(this.index):b.qf(this.index),this):c};g.Sv=function(){return this.indexthis.j[u]?v=this.g[u][this.j[u]]:this.g[u].push(v=t.GL());this.j[u]++;this.b[u].push(v);l=bF(this,l,n,p,r,v,!0);e[k]=l}this.nl(this.oa,e,a);return e};
g.Ak=function(a,b){if(q(b))for(var c=0;cb;b=Math.abs(b);var d=(b-a.Vw)/(a.HD-a.Vw);if(isNaN(d)||!isFinite(d))d=.5;b=a.Ww+d*(a.ID-a.Ww);return c?-b:b}g.Ze=function(){return this.ta.J("yValues")};g.ac=function(){return this.Ca};g.Oa=function(){return this.ze||xA(this)};function xA(a){return a.ze=qF(a)}g.Jj=function(){return this.Ca.Sc()};g.ke=function(a){return m(a)?(L(a,HB)||(a=null),this.B!=a&&(this.B&&Fv(this.B,this.lq,this),(this.B=a)&&R(this.B,this.lq,this),this.o(1024,5)),this):this.B||this.qc.ke()};
g.lq=function(a){var b=0;T(a,4)&&(b|=4);T(a,2)?this.o(1024,b|1):this.ha(b)};g.zg=function(a,b){return gF(this,this.Jj().transform(a,b),!0)};g.hg=function(a,b){return gF(this,this.ke().transform(a,b),!1)};g.pl=function(a){return m(a)?(this.ta.X(a),this):this.ta};g.error=function(a){hF(this)||N(12,void 0,[this.Ls()]);this.Xa||(this.Xa=new fF(this),R(this.Xa,this.fO,this));return m(a)?(this.Xa.X(a),this):this.Xa};g.fO=function(a){var b=0;T(a,1)&&(b|=1);T(a,4)&&(b|=4);this.o(1024,b)};g.yo=function(a){return this.error().yo(a)};
g.cJ=function(a){if(a=!a.U("missing")){var b=this.error(),c=b.f.Oa();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)||Rr(f)||!Vr(f);a=m(d)||m(e)||Rr(a)||!Vr(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.fa!=a&&(this.fa=a,this.o(4096,1)),this):this.fa};g.Hm=function(a){this.sb||(this.sb=new jF,R(this.sb,this.hO,this));return m(a)?(this.sb.X(a),this):this.sb};g.hO=function(a){var b=64,c=!1;T(a,8)&&(b|=8,c=!0);this.ha(b,c)};
g.hw=function(a){var b=this.Hm();b.K(b.pa);var c=Yw.prototype.G.call(b);m(b.km())&&(c.iconTextSpacing=b.km());m(b.text())&&(c.text=b.text());m(b.hm())&&(c.iconEnabled=b.hm());m(b.lm())&&(c.iconType=b.lm());m(b.jm())&&(c.iconSize=b.jm());m(b.Zh())&&(c.iconFill=b.Zh());m(b.ai())&&(c.iconStroke=b.ai());m(b.$h())&&(c.iconHatchFill=b.$h());m(b.im())&&(c.iconMarkerType=b.im());m(b.Hk())&&(c.iconMarkerFill=b.Hk());m(b.Ik())&&(c.iconMarkerStroke=b.Ik());m(b.disabled())&&(c.disabled=b.disabled());var b=this.J("color"),
d=rF(this);a=c.text||a;B(a)&&(a=Nz(Oz.Nc(),a));c.text=D(a)?a.call(d,d):this.name();c.disabled="disabled"in c?!!c.disabled:!this.enabled();c.meta=this.U();"marker"!=c.iconType||this.ya(8192)||(c.iconFill=this.u.fill(),c.iconStroke=this.u.stroke());c.iconType=sF(this,c.iconType);c.iconEnabled="iconEnabled"in c?!!c.iconEnabled:!0;c.iconStroke=tF(this,c.iconStroke,2,b);c.iconFill=tF(this,c.iconFill,1,b);c.iconHatchFill=tF(this,c.iconHatchFill,3,Ep(this));this.ya(4194304)&&this.qe().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 sF(a,b){"marker"==b?(a.ya(8192)?b=a.J("type"):a.ya(4194304)?b=a.qe().type():b="square","line"==b&&(b="vline")):D(b)||(b=eo(b));return b}
function tF(a,b,c,d){if(b)D(b)?(a={sourceColor:d},b=b.call(a,a)):b=op(b);else{if(2==c)b="stroke";else if(3==c){if(a.ya(8))return null;b="hatchFill"}else a.ya(8)?(b="stroke",c=2):b="fill";b=up([b],c)(a,Cp,!0)}return b}g.pb=function(a){if(!this.va){this.va=new rz(0);var b=this.Ca,c=b.pb();this.va.ob(this);this.va.parent(c);this.va.Ca(b)}return m(a)?(this.va.X(a),this):this.va};
function uF(a,b,c){if(!a)return vF;var d=la(b)+"|"+a.join("|")+(c?"|"+c.join("|"):"");c=c||a;var e=nF[d];e||(nF[d]=e=function(d,e,k){k=Math.min(k&(Ap|Bp),Bp);return k!=Cp&&1this.j.left+this.j.width)f=e,e=$a(Zr,f),0<=e&&(f=Zr.length,f=Zr[(f-e)%f]),e=f;if(("leftBottom"==e||"centerBottom"==e||"rightBottom"==e)&&p.topthis.j.top+
this.j.height)p=$a(Zr,e),0<=p&&(e=Zr.length,e=Zr[(e-p+4)%e]);e=as(e,a);b.Ah(e)}}else fE(r,f||a),r.yl(k,l);n&&r.$();return r};g.labels=function(a){this.N||(this.N=new MA,this.N.ob(this),R(this.N,this.dJ,this));return m(a)?(!A(a)||"enabled"in a||(a.enabled=!0),this.N.X(a),this):this.N};g.wh=function(a){this.kb||(this.kb=new MA,this.kb.K(4294967295));return m(a)?(!A(a)||"enabled"in a||(a.enabled=!0),this.kb.X(a),this):this.kb};
g.xh=function(a){this.xb||(this.xb=new MA,this.xb.K(4294967295));return m(a)?(!A(a)||"enabled"in a||(a.enabled=!0),this.xb.X(a),this):this.xb};g.dJ=function(a){T(a,1)&&this.o(256,1025)};g.Tn=function(a,b,c){a.U("label",xF(this,[this.labels,this.wh,this.xh],[this.ac().labels,this.ac().Ip,this.ac().Jp],["label","hoverLabel","selectLabel"],this.jx(),!0,null,a,b,c))};
g.qe=function(a){this.u||(this.u=new NA,this.u.ob(this),R(this.u,this.wN,this));return m(a)?(!A(a)||"enabled"in a||(a.enabled=!0),this.u.X(a),this):this.u};g.Vg=function(a){this.nb||(this.nb=new NA,this.nb.K(4294967295));return m(a)?(!A(a)||"enabled"in a||(a.enabled=!0),this.nb.X(a),this):this.nb};g.Ui=function(a){this.yb||(this.yb=new NA,this.yb.K(4294967295));return m(a)?(!A(a)||"enabled"in a||(a.enabled=!0),this.yb.X(a),this):this.yb};g.wN=function(a){T(a,1)&&this.o(128,65)};
g.Kv=function(a,b,c){a.U("marker",xF(this,[this.qe,this.Vg,this.Ui],null,["marker","hoverMarker","selectMarker"],this.kx(),!1,null,a,b,c))};g.Mi=function(a){this.W||(this.W=new NA,this.W.ob(this),R(this.W,this.rO,this));return m(a)?(!A(a)||"enabled"in a||(a.enabled=!0),this.W.X(a),this):this.W};g.Jo=function(a){this.Qb||(this.Qb=new NA);return m(a)?(!A(a)||"enabled"in a||(a.enabled=!0),this.Qb.X(a),this):this.Qb};
g.$o=function(a){this.rc||(this.rc=new NA);return m(a)?(!A(a)||"enabled"in a||(a.enabled=!0),this.rc.X(a),this):this.rc};g.rO=function(a){T(a,1)&&this.o(128,1)};g.Br=function(a,b,c){var d=a.U("outliers");d&&d.length&&xF(this,[this.Mi,this.Jo,this.$o],null,["outlierMarker","hoverOutlierMarker","selectOutlierMarker"],this.lx(),!1,d,a,b,c)};function zF(a,b){return+Yb(a.cc,function(a){return eb(a,function(a){return a==b})})}g.jx=function(){return!1};g.kx=function(){return!1};g.lx=function(){return!1};
g.YD=function(){return!1};g.ml=function(){return!1};g.remove=function(){this.ya(4)?aF(this.Qe,null):this.g&&this.g.remove();this.N&&this.N.ae()&&(this.N.ae().remove(),this.N.o(2));this.u&&(this.u.remove(),this.u.o(2));this.W&&(this.W.remove(),this.W.o(2))};g.Sn=function(a){this.da||(this.da=new kA(this),H(this,this.da),R(this.da,this.eJ,this),L(this.Ca,FA)&&(iA(this.da,this.Ca.yn()),iA(this.da).ha(2)));return m(a)?(this.da.X.apply(this.da,arguments),this):this.da};g.eJ=function(){this.o(32,1)};
g.$=function(){if(!this.wb())return this;J(this);m(this.Xb.color)&&this.O(16768)&&RD(this,this.Xb.color);this.O(32768)&&(oF(this),this.K(32768));if(this.O(4)){this.j=this.Ra();this.Fb=this.I?this.I.nf(this.j):this.j;var a=Math.min(this.j.height,this.j.width);this.Ww=O(this.rf,a);this.ID=O(this.ef,a);this.o(7168)}this.O(512)&&(xA(this),this.mx(),this.o(3104,2049),this.K(512));this.O(1024)&&this.o(24960);var b=[],a=[],c,d,e,f;this.O(1026)&&(this.ya(4)?this.g=this.P():(this.g||(this.g=Yh(),Yv(this,this.g)),
this.g.zIndex(this.zIndex()),this.g.parent(this.P())),this.O(1024)&&this.Qe.qv(),aF(this.Qe,this.g),this.Ue=this.Jr(),this.Pc=this.dD());this.O(1282)&&(c=this.labels(),f=this.wh().enabled()||this.xh().enabled(),wF(this,c,f,this.jx(),ZD,256)&&(f=this.zIndex()+this.ly+(this.ml()?1:0),c.Fe=f,c.o(8),this.ya(ZD)&&b.push(this.Tn),a.push(c)),this.K(256));this.O(1154)&&(c=this.qe(),f=this.Vg().enabled()||this.Ui().enabled(),wF(this,c,f,this.kx(),4194304,128)&&(f=this.zIndex()+1.1E-5+(this.ml()?1:0),c.Fe=
f,this.ya(4194304)&&b.push(this.Kv),a.push(c)),this.K(128));if(this.O(9218)){this.hb||(this.hb=[]);if(this.Pa)for(;this.Pa.length;)c=this.Pa.pop(),c.clear(),c.parent(null),this.hb.push(c);else this.Pa=[];if((c=hF(this)&&"none"!=this.error().mode())&&!(c=this.YD())){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)||Rr(d)||!Vr(d);c=m(f)||m(k)||Rr(c)||!Vr(c)||d}c&&b.push(this.cJ);this.K(8192)}this.O(17410)&&(c=this.Mi(),f=this.Jo().enabled()||this.$o().enabled(),
wF(this,c,f,this.lx(),256,16384)&&(f=this.zIndex()+QE,c.Fe=f,this.ya(256)&&b.push(this.Br),a.push(c)),this.K(16384));c=b.length;if(this.O(1024)){if(f=this.Ze()){k=this.Ze();this.na.length=0;this.ml()?this.na.push(this.pN):(this.na.push(this.qN),YE(this)&&this.na.push(this.sN));this.ya(2)&&this.na.push(this.oN);this.Vi()&&this.na.push(this.mN);YE(this)&&(d=this.ke(),this.Nf=ce(d&&d.transform(0,.5)||0,0,1),d=gF(this,this.Nf,!1),this.J("isVertical")?(h=this.Fb.left,e=h+this.Fb.width):(h=this.Fb.top,
e=h+this.Fb.height),this.Mf=ce(d,h,e));this.su();h=xA(this);for(h.reset();h.advance();)for(e=this.Nr(h.Na()),this.GD(h,k,f),this.ru(h,e),d=0;dx[n]&&(x[n]=E)}else for(n in u)E=P(U.values[n]),Ex[n]&&(x[n]=E);for(n=0;n<=a.i;n++)E=
P(U.f[n]),Ez[n]&&(z[n]=E);U=U.next}if(v)for(n=0;nd)if(d=~d,"exactOrNext"==c)d=d=VF)this.i=-1,this.b.length=0,XF(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 aG(a.b,null,!0),f=0,d=e.next();d&&d.i;)f++,d=e.next();lb(a.b,0,f);if(d=a.b[0])d.b=null}bG(a,new aG(null,a.f,b))}else e=new aG(a.b,a.f,b),a.b=[],bG(a,e),c=VF;a.f.length=0;a.g=a.iE;a.i=-1;a.j=0;PF(a);cG(a.u,c,!0)}}g=YF.prototype;
g.remove=function(a,b){for(var c=new aG(this.b,this.f,$F(this),a,b),d;d=c.next();)d.i=!0;this.j=2;this.B||ZF(this);return this};function dG(a,b){b=Wr(b);for(var c=new aG(a.b,a.f,$F(a)),d=NaN,e;(e=c.next())&&0a.key?(this.g=1==b?this.hE:this.qx,this.f.push(a)):this.f[b-1]=a};g.hE=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.IN,this.b=isNaN(d)?0:Ab(this.g,KF,d),0>this.b&&(this.b=~this.b)):(this.i=this.KN,this.b=isNaN(d)?this.g.length-1:Ab(this.g,LF,d),0>this.b&&(this.b=~this.b-1))}g=aG.prototype;g.Km=function(){return null};
g.IN=function(){var a=this.f,b=this.g[this.b];if(a){if(b){if(0>JF(a,b))return this.f=this.f.next,a;this.b++;return b}this.f=this.f.next;this.i=this.PD;return a}if(b)return this.b++,this.i=this.GN,b;this.next=this.Km;return null};g.KN=function(){var a=this.f,b=this.g[this.b];if(a){if(b){if(0>JF(a,b))return this.f=this.f.next,a;this.b--;return b}this.f=this.f.next;this.i=this.PD;return a}if(b)return this.b--,this.i=this.HN,b;this.next=this.Km;return null};
g.PD=function(){var a=this.f;if(a)return this.f=this.f.next,a;this.next=this.Km;return null};g.GN=function(){var a=this.g[this.b++];if(a)return a;this.next=this.Km;return null};g.HN=function(){var a=this.g[this.b--];if(a)return a;this.next=this.Km;return null};g.DL=function(){var a=this.i();return!a||a.key>this.j?(this.next=this.Km,null):a};g.XN=function(){return this.i()};function eG(a,b){this.i=mo(a);this.f=b||1;this.b=new Date(0);switch(this.i){case "year":return this.I=this.TH,this.next=this.VN,this;case "semester":return this.I=this.QH,this.next=this.SN,this;case "quarter":return this.I=this.OH,this.next=this.QN,this;case "month":return this.I=this.Bt,this.next=this.PN,this;case "thirdofmonth":return this.I=this.RH,this.next=this.TN,this;case "week":return this.I=this.SH,this.next=this.UN,this;default:this.I=this.KH;this.next=this.JN;break;case "hour":this.I=this.LH;
this.next=this.LN;break;case "minute":this.I=this.NH;this.next=this.ON;break;case "second":this.I=this.PH;this.next=this.RN;break;case "millisecond":this.I=this.MH,this.next=this.NN}}g=eG.prototype;g.TH=function(a){this.b.setTime(Date.UTC(bs(this.b.getUTCFullYear(),this.f,a?a.getUTCFullYear():2E3)-this.f,0))};g.QH=function(a){var b=this.f;this.f*=6;this.Bt(a);this.f=b};g.OH=function(a){var b=this.f;this.f*=3;this.Bt(a);this.f=b};
g.Bt=function(a){var b=bs(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.RH=function(a){a=bs(fG(this.b),this.f,a?fG(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.SH=function(a){gG(this,6048E5*this.f,a||new Date(Date.UTC(2E3,0,2)))};g.KH=function(a){gG(this,864E5*this.f,a)};
g.LH=function(a){gG(this,36E5*this.f,a)};g.NH=function(a){gG(this,6E4*this.f,a)};g.PH=function(a){gG(this,1E3*this.f,a)};g.MH=function(a){gG(this,this.f,a)};function gG(a,b,c){a.b.setTime(bs(a.b.getTime(),b,c?c.getTime():Date.UTC(2E3,0))-b)}function fG(a){var b=a.getUTCDate();return 3*(12*a.getUTCFullYear()+a.getUTCMonth())+(10>=b?0:20>=b?1:2)}g.VN=function(){this.b.setUTCFullYear(this.b.getUTCFullYear()+this.f);return this.b.getTime()};
g.SN=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.QN=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.PN=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.TN=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.UN=function(){var a=this.b.getTime()+6048E5*this.f;this.b.setTime(a);return a};g.JN=function(){var a=this.b.getTime()+864E5*this.f;this.b.setTime(a);return a};g.LN=function(){var a=this.b.getTime()+36E5*this.f;this.b.setTime(a);return a};g.ON=function(){var a=this.b.getTime()+6E4*this.f;this.b.setTime(a);return a};g.RN=function(){var a=this.b.getTime()+1E3*this.f;this.b.setTime(a);return a};g.NN=function(){var a=this.b.getTime()+this.f;this.b.setTime(a);return a};g.Kr=function(){return this.f};function hG(a,b,c,d,e){this.B=a;this.xa=d;this.u=new HF(isNaN(b.aE)?-1:b.aE,[]);this.u.next=b.uM;this.I=b.vO;this.R=b.lastIndex-b.OC+1||0;this.N=(this.i=e||null)?this.HL:this.JH;this.W=this.i?this.BM:this.HM;this.f=c;this.reset()}g=hG.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.xa?iG(this.B,a):jG(this.B,a))};
g.U=function(a,b){var c=this.f[this.Na()];c||(c=this.f[this.Na()]={});return 1a?this.b.f&&(b=this.b.f[~a]):b=this.b.values[a]);return b};g.av=function(){return this.g};g.Na=function(){return this.W()};g.mc=function(){return this.R};g.SK=function(){return this.g};g.HM=function(){return this.j};g.BM=function(){return this.i.b()};
g.JH=function(){if(this.b){this.j++;if((this.b=this.b.next)&&this.b!=this.I)return this.D=!0,this.g=this.b.key,!0;this.b=null;this.D=!1;this.j=this.g=NaN}return!1};g.HL=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.I))?(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 kG=hG.prototype;kG.reset=kG.reset;kG.advance=kG.advance;kG.get=kG.get;kG.getKey=kG.SK;
kG.getIndex=kG.Na;kG.meta=kG.U;function lG(a){this.i=a;this.b=WF(a.b);this.g=!0;this.f=UF(this.b);this.j=!1;this.D=[];mG(this)}function mG(a){for(var b=a.b.mc();a.D.lengthb&&(d=a,a=b,b=d);d=WF(this.i.b,c);if(this.j||d!=this.b||this.f.bF!=a||this.f.NC!=b)this.j=!1,this.b=d,this.g=!c,this.f=d.select(a,b),mG(this);return this};lG.prototype.w=function(a,b){var c=m(a)?new eG(a,P(b)):void 0,d=WF(this.i.b,c);this.b=d;this.g=!c;this.f=UF(d);mG(this);return this};lG.prototype.Oa=function(){return new hG(this.i,this.f,this.D,!this.g,null)};
function nG(a,b,c,d,e){this.b=a;this.i=b;this.D=c;this.j=d;this.f=e}g=nG.prototype;g.get=function(a){return this.zm(this.D?iG(this.i,a):jG(this.i,a))};g.zm=function(a){var b;C(a)&&0>a?this.b.f&&(b=this.b.f[~a]):b=this.b.values[a];return b};g.Na=function(){return this.j};g.av=function(){return this.b.key};g.U=function(a,b){return 1e)this.f[a]={YE:e,sE:e};else if(B(e)||!isNaN(e)){if((b=A(c))&&!D(c)&&!("reset"in c&&"considerItem"in c&&"getResult"in c))return this;var f=b?c:Io(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=sG(f,c,h);b in d.w?b=d.w[b]:(c=tG(f,c,h),d.w[b]=
b=d.j.length,d.j.push(c),cG(d,4,!1));this.f[a]={YE:e,sE:b};this.b.ga(!0)}return this};function iG(a,b){return b in a.f?a.f[b].sE:NaN}function jG(a,b){return b in a.f?a.f[b].YE:NaN}var uG=rG.prototype;uG.addField=uG.i;uG.createSelectable=uG.g;function vG(a,b){Jb.call(this);this.g=a;this.D=m(b)?b:NaN;this.clear()}G(vG,Jb);vG.prototype.clear=function(){this.value=void 0};vG.prototype.f=function(){var a=this.value;this.clear();return a};vG.prototype.ea=function(){delete this.value;vG.F.ea.call(this)};function wG(a){vG.call(this,a)}G(wG,vG);wG.prototype.clear=function(){this.value=this.i=0};wG.prototype.b=function(a){a=P(a);isNaN(a)||(this.value+=a,this.i++)};wG.prototype.f=function(){var a=this.i?this.value/this.i:NaN;this.clear();return a};function xG(a,b){this.i=b;vG.call(this,a)}G(xG,vG);xG.prototype.clear=function(){this.i.reset()};xG.prototype.b=function(a,b,c){this.i.considerItem(a,c)};xG.prototype.f=function(){var a=this.i.getResult();this.clear();return a};xG.prototype.ea=function(){delete this.i;xG.F.ea.call(this)};function yG(a,b,c){this.j=b;this.i=c;vG.call(this,a)}G(yG,vG);yG.prototype.clear=function(){this.value=[];this.u=[]};yG.prototype.b=function(a,b,c){this.value.push(a);this.u.push(c)};yG.prototype.f=function(){var a=this.j.call(this.i,this.value,this.u);this.clear();return a};yG.prototype.ea=function(){delete this.j;delete this.i;yG.F.ea.call(this)};function zG(a){vG.call(this,a)}G(zG,vG);zG.prototype.clear=function(){this.value=NaN};zG.prototype.b=function(a){isNaN(this.value)&&(this.value=P(a))};function AG(a){vG.call(this,a)}G(AG,vG);AG.prototype.b=function(a){m(this.value)||(this.value=a)};function BG(a){vG.call(this,a)}G(BG,vG);BG.prototype.clear=function(){this.value=NaN};BG.prototype.b=function(a){a=P(a);isNaN(a)||(this.value=a)};function CG(a){vG.call(this,a)}G(CG,vG);CG.prototype.b=function(a){m(a)&&(this.value=a)};function DG(a){vG.call(this,a)}G(DG,vG);DG.prototype.clear=function(){this.value=[]};DG.prototype.b=function(a){m(a)&&this.value.push(a)};function EG(a){vG.call(this,a)}G(EG,vG);EG.prototype.clear=function(){this.value=NaN};EG.prototype.b=function(a){a=P(a);isNaN(a)||this.value>=a||(this.value=a)};function FG(a){vG.call(this,a)}G(FG,vG);FG.prototype.clear=function(){this.value=NaN};FG.prototype.b=function(a){a=P(a);isNaN(a)||this.value<=a||(this.value=a)};function GG(a){vG.call(this,a)}G(GG,vG);GG.prototype.clear=function(){this.value=0};GG.prototype.b=function(a){a=P(a);isNaN(a)||(this.value+=a)};function HG(a,b){vG.call(this,a,b)}G(HG,vG);HG.prototype.clear=function(){this.value=this.i=0};HG.prototype.b=function(a,b){a=P(a);b=P(b)||0;isNaN(a)||(this.value+=a*b,this.i+=b)};HG.prototype.f=function(){var a=this.i?this.value/this.i:NaN;this.clear();return a};function tG(a,b,c){if(D(a))return new yG(b,a,c);if(A(a))return new xG(b,a);switch(a){case "average":return new wG(b);case "first":return new zG(b);case "firstValue":return new AG(b);case "lastValue":return new CG(b);case "list":return new DG(b);case "max":return new EG(b);case "min":return new FG(b);case "sum":return new GG(b);case "weightedAverage":return new HG(b,c);default:case "last":return new BG(b)}}
function sG(a,b,c){C(b)&&(b=b.toFixed(0));if(A(a))return la(a)+"|"+b+"|"+Nr(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 IG(a,b,c,d,e){kd.call(this);this.i=new YF(this,a,b,c,d,e);this.b={};this.w={};this.g={};this.B=0;this.D=[];this.j=[];this.f=[];this.u=[]}G(IG,Ev);g=IG.prototype;g.ma=16;
g.UK=function(a,b,c){var d=this.i,e=!d.B;e&&(d.B&&N(101),d.B=!0);if(B(a)){var f=new MF(d),h=new lq;A(c)&&(h.Yo(c.rowsSeparator),h.lo(c.columnsSeparator),h.Mo(c.ignoreTrailingSpaces),h.Ko(c.ignoreFirstRow));h.eo(a,f);!0===b&&(b=f.Kr())}else if(q(a)){for(f=c=0;fk){var p=~k;kb(d,n,p);(k=this.co("id",n))?(k=L(k,PG)?k:k[0],kb(e,k,p),k.U("nc",!0),N(1,null,[n])):kb(e,l,p)}else N(2,null,[n])}for(b=0;bk?((k=this.co("id",l))?(k=L(k,PG)?k:k[0],ZG(k,h)):(this.i.push(h),N(3,null,[l])),$G(this,h)):(k=e[k],ZG(k,h),k.U("nc")&&$G(this,h))):(this.i.push(h),$G(this,h));for(b=0;ba?kb(d,e,~a):(a=d[a],q(a.value)?(a=a.value,jb(a,b)||a.push(b)):a.value!=b&&(a.value=[a.value],a.value.push(b)))}else for(e in a.f)aH(a,b,e,d)}
function bH(a,b,c,d){if(c){if(d)for(var e=b.mb();e--;)bH(a,b.Jg(e),c,d);if(d=a.f[c])e={key:b.get(c)},a.D[c]&&(e.key=""+e.key),e=wb(d,e,a.kr),(d=d[e])&&(q(d.value)&&1k||b=d)return[];a=new LC(a);c=[];if(1==b)for(b=0;bf?(kb(d,e,-(f+1)),d=!0):d=!1;b=d||b}b&&this.o(1024,5);return b};
g.sD=function(a){if(!this.R)return!1;q(a)||(a=[a]);for(var b=!1,c=0;c=this.b.OC&&a<=this.b.lastIndex};function iH(a,b){var c;return a.b?a.b.nP?(c=a.b.nP[Nr(b)],isNaN(c)?-1:c):a.b.data.length?(c=Ab(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.Gc.QA("x",b)}
g.vj=function(a){var b=this.Oa();this.ya(512)&&this.Qe.ih(a,b.U("shapes"));this.Vi()&&this.Br(b,a,!0);this.Yb.rp(b,a);this.ya(4194304)&&this.Kv(b,a,!0);this.ya(ZD)&&this.Tn(b,a,!0)};g.uo=fa;function sA(a,b){var c=a.Oa();a.Qe.ih(b,c.U("shapes"));a.Yb.rp(c,b);a.Vi()&&a.Br(c,b,!0)}g.Qc=function(a){return m(a)?(a=null===a?null:Mn(a),a!=this.Ae&&(this.Ae=a),this):this.Ae};g.Bc=function(a){return m(a)?this:this.Ca.kd().Bc()};g.Yk=function(a){m(a)?this.Ur(a):CD(this);return this};
g.he=function(a){if(!tA(this.state,Ap)&&!EA(this.state.Sg(),Ap)||!this.enabled())return this;var b;m(a)?b=a:b=this.state.f==Cp?NaN:void 0;BA(this.state,Ap,b);return this};g.Ur=function(a){if(!this.enabled())return this;if(q(a)){for(var b=CA(this.state,Ap),c=0;cc&&(c=NaN);a.pointIndex=c}return a};g.we=function(a){(a=this.Yg(a))&&this.dispatchEvent(a)};
g.Yg=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.Mi()||isNaN(a.markerIndex)?"pointIndex"in a?c=a.pointIndex:"labelIndex"in a?c=a.labelIndex:"markerIndex"in a&&(c=a.markerIndex):
c=zF(this,a.markerIndex);c=P(c);a.pointIndex=c;var d=qF(this);d.select(c)||d.reset();return{type:b,actualTarget:a.target,series:this,iterator:d,pointIndex:c,target:this,originalEvent:a,point:this.Ff(c)}};
g.Ff=function(a){var b;this.ya(2)?b=new ME(this,a):b=new KE(this,a);var c=this.Ca;c.hd();var d=this.ya(81920),e=d?b.get("high")-b.get("low"):b.get("value");b.Ta("index",a);m(e)&&b.Ta("value",e);var f=b.get("size"),h;C(c.Ta("dataPlotXSum"))&&(h=e/c.Ta("dataPlotXSum"),b.Ta("xPercentOfTotal",100*h));C(this.Ta("seriesXSum"))&&(h=e/this.Ta("seriesXSum"),b.Ta("xPercentOfSeries",100*h));C(this.Ta("seriesBubbleSizeSum"))&&(h=f/this.Ta("seriesBubbleSizeSum"),b.Ta("bubbleSizePercentOfSeries",100*h),h=f/c.Ta("dataPlotBubbleSizeSum"),
b.Ta("bubbleSizePercentOfTotal",100*h),b.Ta("bubbleSize",f));h=d?this.Ta("catYRangeSumArr_"):this.Ta("catYSumArr_");f=b.get("x");h?(b.Ta("categoryName",f),f=h[a],d?(h=e/this.Ta("seriesYRangeSum"),b.Ta("yPercentOfSeries",100*h),h=e/c.Ta("dataPlotYSum"),b.Ta("yPercentOfTotal",100*h),b.Ta("yPercentOfCategory",e/f*100),h=f/c.Ta("dataPlotYSum"),b.Ta("categoryYRangePercentOfTotal",100*h),b.Ta("categoryYRangeSum",f),b.Ta("categoryYRangeMax",this.Ta("catYRangeMaxArr_")[a]),b.Ta("categoryYRangeMin",this.Ta("catYRangeMinArr_")[a]),
b.Ta("categoryYRangeAverage",this.Ta("catYRangeAvgArr_")[a]),b.Ta("categoryYRangeMedian",this.Ta("catYRangeMedianArr_")[a]),b.Ta("categoryYRangeMode",this.Ta("catYRangeModeArr_")[a])):(h=e/this.Ta("seriesYSum"),b.Ta("yPercentOfSeries",100*h),h=e/c.Ta("dataPlotYSum"),b.Ta("yPercentOfTotal",100*h),b.Ta("yPercentOfCategory",e/f*100),h=f/c.Ta("dataPlotYSum"),b.Ta("categoryYPercentOfTotal",100*h),b.Ta("categoryYSum",f),b.Ta("categoryYMax",this.Ta("catYMaxArr_")[a]),b.Ta("categoryYMin",this.Ta("catYMinArr_")[a]),
b.Ta("categoryYAverage",this.Ta("catYAvgArr_")[a]),b.Ta("categoryYMedian",this.Ta("catYMedianArr_")[a]),b.Ta("categoryYMode",this.Ta("catYModeArr_")[a]))):(h=f/this.Ta("seriesXSum"),b.Ta("xPercentOfSeries",100*h),h=e/this.Ta("seriesYSum"),b.Ta("yPercentOfSeries",100*h),h=f/c.Ta("dataPlotXSum"),b.Ta("xPercentOfTotal",100*h),h=e/c.Ta("dataPlotYSum"),b.Ta("yPercentOfTotal",100*h));return b};
g.G=function(){var a=hH.F.G.call(this);if(this.b){for(var b=[],c=this.data(),d=new FF(this);d.advance();){var e=d.U("rawIndex");isNaN(e)?b.push({x:d.get("x")}):b.push(OC(c,e))}a.data=b}else a.data=this.data().G();m(this.Qc())&&(a.selectionMode=this.Qc());return a};g.ba=function(a,b){hH.F.ba.call(this,a,b);"data"in a&&this.data(a.data||null);this.Qc(a.selectionMode)};g.ea=function(){Mb(this.gc);delete this.Gc;this.w=this.b=this.state=this.od=this.gc=null;hH.F.ea.call(this)};var jH=hH.prototype;
jH.data=jH.data;jH.xScale=jH.Sc;jH.hover=jH.Yk;jH.unhover=jH.he;jH.select=jH.select;jH.unselect=jH.qf;jH.selectionMode=jH.Qc;jH.getPoint=jH.Ff;jH.excludePoint=jH.rM;jH.includePoint=jH.sD;jH.keepOnlyPoints=jH.jN;jH.includeAllPoints=jH.fN;jH.getExcludedPoints=jH.FM;function kH(a){W.call(this);this.Xa=this.ta=!1;this.da=this.nb=this.I=this.W=this.R=this.b=this.f=this.g=null;this.B=0;this.u=lH;this.j=new K(0,0,0,0);this.i=new K(0,0,0,0);this.fa=this.aa=this.la=null;this.va=0;this.hb=this.sb=this.kb=!1;this.Ga=this.na=null;this.w="bottom";this.N=!0;this.xb=!!a}G(kH,W);var lH=1E6;g=kH.prototype;g.ma=W.prototype.ma;g.pa=W.prototype.pa|464;g.ci=function(a){return m(a)?(a=!!a,this.ta!=a&&(this.ta=a,this.o(256,9)),this):this.ta};
g.Tj=function(a){this.na||(this.na=new mH(this));return m(a)?(this.na.bb(!1,a),this):this.na};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.Sa!=k&&(this.Sa=k,this.o(16,1));return this}return this.Sa};g.Dx=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.Pa!=k&&(this.Pa=k,this.o(16,1));return this}return this.Pa};g.hx=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments);f!=this.Wa&&(this.Wa=f,this.o(16,1));return this}return this.Wa};
g.height=function(a){return m(a)?(a=Tr(a)||this.ab,a!=this.ab&&(this.ab=a,this.o(4,9)),this):this.ab};g.Wu=function(a){return m(a)?(a=Ur(a),a!==this.Hf&&(this.Hf=a,this.o(4,9)),this):this.Hf};g.Vu=function(a){return m(a)?(a=Ur(a),a!==this.zc&&(this.zc=a,this.o(4,9)),this):this.zc};g.Xn=function(a,b,c,d){this.Ga||(this.Ga=new dx,R(this.Ga,this.LJ,this));return m(a)?(this.Ga.X.apply(this.Ga,arguments),this):this.Ga};g.LJ=function(a){T(a,2)&&this.o(4,9)};
g.Xu=function(a){return m(a)?(a=Un(a),this.w!=a&&(this.w=a,this.o(196,9)),this):this.w};function nH(a){return"bottom"==a.w||"top"==a.w}function oH(a){return nH(a)?"ew-resize":"ns-resize"}g.remove=function(){this.g&&this.g.remove()};function pH(a){return a.enabled()&&(!a.ta||a.N||!!a.B||a.u!=lH)}
g.$=function(){if(!this.wb())return this;this.K(256);if(!pH(this))return this.remove(),this.o(2),this;if(Gv(this))return this;this.g||(this.g=Yh(),this.f=th(),this.f.zIndex(100),this.b=th(),this.b.zIndex(100),this.W=this.g.rect(),this.W.zIndex(1),this.nb=ph(),this.W.clip(this.nb),this.I=this.g.rect(),this.I.zIndex(50),this.da=ph(),this.I.clip(this.da),this.R=this.g.Da(),this.R.zIndex(99),Yv(this,this.g,this.KJ,this.CN),this.D.sa(this.f,"mouseover",this.fF),this.D.sa(this.f,"mouseout",this.eF),this.D.pc(this.f,
"mousedown",this.Um),this.D.pc(this.f,"touchstart",this.Um),this.D.sa(this.b,"mouseover",this.fF),this.D.sa(this.b,"mouseout",this.eF),this.D.pc(this.b,"mousedown",this.Um),this.D.pc(this.b,"touchstart",this.Um),this.D.pc(this.I,"mousedown",this.Um),this.D.pc(this.I,"touchstart",this.Um),this.D.sa(this.W,"click",this.YN));this.O(2)&&(this.g.parent(this.P()),this.K(2));this.O(8)&&(this.g.zIndex(this.zIndex()),this.K(8));this.O(128)&&(this.f.cursor(oH(this)),this.b.cursor(oH(this)),this.I.cursor(oH(this)),
this.o(84),this.K(128));this.O(4)&&(qH(this),this.K(4));if(this.O(64)){var a=(Math.max(Xe(this.Wa),5)-1)/2;if(nH(this)){var b=this.j.top;if(this.Tj().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.Tj().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(this.O(16)){this.W.fe(this.j);this.I.fe(this.j);this.nb.ff(this.j);this.W.fill("none"==this.Sa?gp:this.Sa).stroke(null);
this.I.fill("none"==this.Pa?gp:this.Pa).stroke(null);this.R.stroke(this.Wa).fill(null);rH(this,this.f,this.sb);rH(this,this.b,this.hb);switch(this.w){case "top":var a=this.j,c=a.left+this.B/lH*a.width,d=a.left+this.u/lH*a.width;this.f.Za(1,0,0,1,c,0);this.b.Za(1,0,0,1,d,0);b=Math.min(c,d);c=Math.max(c,d);this.da.ff(b,a.top,c-b,a.height);this.R.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=lH-b;c=lH-c;b=a.top+b/lH*a.height;d=a.top+c/lH*a.height;this.f.Za(1,0,0,1,0,b);this.b.Za(1,0,0,1,0,d);c=Math.min(b,d);b=Math.max(b,d);this.da.ff(a.left,c,a.width,b-c);this.R.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/lH*a.width;d=a.left+this.u/lH*a.width;this.f.Za(1,0,0,1,c,0);this.b.Za(1,0,0,1,d,0);b=Math.min(c,
d);c=Math.max(c,d);this.da.ff(b,a.top,c-b,a.height);this.R.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/lH*a.height,d=a.top+this.u/lH*a.height,this.f.Za(1,0,0,1,0,c),this.b.Za(1,0,0,1,0,d),b=Math.min(c,d),c=Math.max(c,d),this.da.ff(a.left,b,a.width,c-b),this.R.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.Tj().ci()||sH(this);this.K(16)}return this};function tH(a,b,c){b=uH(b);c=uH(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.Ct=function(a){return m(a)?(this.N=!!a,this):this.N};g.lc=function(){var a=this.ja(),a=a?a.clone():Gq(0,0,0,0);pH(this)&&(this.O(4)&&(qH(this),this.K(4)),nH(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 qH(a){var b=a.ja(),c=nH(a)?b.height:b.width,d=O(a.ab,c);null===a.Hf||(d=Math.max(d,O(a.Hf,c)));null===a.zc||(d=Math.min(d,O(a.zc,c)));d=nH(a)?a.Xn().ie(d):a.Xn().je(d);a.i.left=b.left;a.i.top=b.top;nH(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||nH(a)?a.j=a.Xn().nf(a.i):(e=a.Xn(),"left"==a.w?(c=O(e.J("left"),a.i.width),b=O(e.J("top"),a.i.height),d=O(e.J("right"),a.i.width),e=O(e.J("bottom"),
a.i.height)):(c=O(e.J("right"),a.i.width),b=O(e.J("bottom"),a.i.height),d=O(e.J("left"),a.i.width),e=O(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.KJ=function(a){a.i();!Qr(this.g,a.relatedTarget)&&this.rd(a)&&(this.kb=!0,sH(this))};g.CN=function(a){a.i();!Qr(this.g,a.relatedTarget)&&this.rd(a)&&(this.kb=!1,vH(this))};
g.fF=function(a){a=a.target;L(a,Eh)&&(a==this.f?rH(this,this.f,this.sb=!0):a==this.b&&rH(this,this.b,this.hb=!0))};g.eF=function(a){a=a.target;L(a,Eh)&&(a==this.f?rH(this,this.f,this.sb=!1):a==this.b&&rH(this,this.b,this.hb=!1))};g.Um=function(a){if(L(a.b,dh)){var b=a.b,c;b!=this.f||this.la?b!=this.b||this.aa?b!=this.I||this.fa||(this.fa=c=new wH(this,this.I,!1)):this.aa=c=new wH(this,this.b,!0):this.la=c=new wH(this,this.f,!0);c&&(this.D.sa(c,"start",this.JJ),this.D.sa(c,"end",this.IJ),c.Kf(a.vf))}};
g.YN=function(a){var b=tm(this.g.ka());a=nH(this)?a.clientX-b.x:a.clientY-b.y;xH(this,"backgroundClick","scrollerchangestart")&&(yH(this,!1,a),xH(this,"backgroundClick","scrollerchangefinish"))};g.JJ=function(a){var b;this.N&&a.g!=this.fa?(a=oH(this),b="thumbDrag"):(a=oH(this),b="selectedRangeDrag");if(b=xH(this,b,"scrollerchangestart"))this.va++,this.f.cursor(null),this.b.cursor(null),this.I.cursor(null),Ag(document.body,"cursor",a);return b};
g.IJ=function(a){this.va=Math.max(this.va-1,0);vH(this);this.f.cursor(oH(this));this.b.cursor(oH(this));this.I.cursor(oH(this));Ag(document.body,"cursor","");xH(this,this.N&&a.g!=this.fa?"thumbDrag":"selectedRangeDrag","scrollerchangefinish")};function sH(a){a.Xa||(a.g.Tb(a.f),a.g.Tb(a.b),a.Xa=!0)}function vH(a){a.Xa&&a.Tj().ci()&&!a.va&&!a.kb&&(a.g.removeChild(a.f),a.g.removeChild(a.b),a.Xa=!1)}
function rH(a,b,c){a=a.Tj();a.enabled()?c?(c=a.Tr(),a=a.Vr()):(c=a.fill(),a=a.stroke()):(c=gp,a="none");b.fill(c);b.stroke(a)}function uH(a){return ce(Math.round(a*lH),0,lH)}function xH(a,b,c,d,e){return a.dispatchEvent({type:c,startRatio:(m(d)?d:a.B)/lH,endRatio:(m(e)?e:a.u)/lH,source:b})}
function yH(a,b,c){c=zH(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/lH,b="thumbDrag";else if(a.N&&b==a.b)c=a.B/lH,b="thumbDrag";else{var e=(a.u-a.B)/lH/2;c=d-e;d+=e;b=!0===b?"selectedRangeDrag":"backgroundClick"}c=uH(c);d=uH(d);c==d&&(d+=dd&&(e=a.f,a.f=a.b,a.b=e,e=a.la,a.la=a.aa,a.aa=e,e=c,c=d,d=e);c==a.B&&d==a.u||!xH(a,b,"scrollerchange",c,d)||(a.B=c,a.u=d,a.o(16,
1))}function zH(a,b,c){var d=a.j,e=nH(a);a=ka(b)||!a.N?(a.u-a.B)/lH*(e?d.width:d.height)/2:0;return e?ce(c,d.left+a,d.left+d.width-a):ce(c,d.top+a,d.top+d.height-a)}function AH(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/=lH;var d=a.j;return nH(a)?d.left+d.width*c:"left"==a.w?d.top+d.height*c:d.top+d.height*(1-c)}
g.ea=function(){Mb(this.g);this.I=this.W=this.R=this.b=this.f=this.g=null;Mb(this.la);this.la=null;Mb(this.aa);this.aa=null;Mb(this.fa);this.fa=null;Mb(this.na);this.na=null;Mb(this.Ga);this.Ga=null;kH.F.ea.call(this)};g.G=function(){var a=kH.F.G.call(this);a.fill=this.fill();a.selectedFill=this.Dx();a.outlineStroke=this.hx();a.height=this.height();a.minHeight=this.Wu();a.maxHeight=this.Vu();a.orientation=this.Xu();a.autoHide=this.ci();a.allowRangeChange=this.Ct();a.thumbs=this.Tj().G();return a};
g.ba=function(a,b){kH.F.ba.call(this,a,b);this.Xu(a.orientation);this.ci(a.autoHide);this.Ct(a.allowRangeChange);this.fill(a.fill);this.Dx(a.selectedFill);this.hx(a.outlineStroke);this.height(a.height);this.Wu(a.minHeight);this.Vu(a.maxHeight);this.Tj().bb(!!b,a.thumbs)};function wH(a,b,c){Rg.call(this,b.Y());this.f=a;this.w=c?b:null;this.g=void 0;this.xa=qa(function(){this.g=void 0;yH(this.f,this.w||!0,this.aa)},this);this.I=Math.pow(3,2);this.sa("end",this.HJ)}G(wH,Rg);g=wH.prototype;
g.HJ=function(){m(this.g)&&(window.cancelAnimationFrame(this.g),this.xa(0))};g.yj=function(){nH(this.f)?(this.b=AH(this.f,this.w),this.deltaY=0):(this.b=0,this.deltaY=AH(this.f,this.w))};g.Tk=function(a,b){this.aa=nH(this.f)?a:b;m(this.g)||(this.g=window.requestAnimationFrame(this.xa))};g.Po=function(a){return nH(this.f)?zH(this.f,this.w,a):0};g.hl=function(a){return nH(this.f)?0:zH(this.f,this.w,a)};function mH(a){this.b=a}g=mH.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.ci=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=Le.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=Se.apply(null,arguments);f!=this.u&&(this.u=f,this.b.o(16,1));return this}return this.u};
g.Tr=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.D!=k&&(this.D=k,this.b.o(16,1));return this}return this.D};g.Vr=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments);f!=this.j&&(this.j=f,this.b.o(16,1));return this}return this.j};g.G=function(){var a={};a.fill=op(this.fill());a.stroke=op(this.stroke());a.hoverFill=op(this.Tr());a.hoverStroke=op(this.Vr());a.enabled=this.enabled();a.autoHide=this.ci();return a};
g.bb=function(a,b){if(m(b)){var c;ka(b)||null===b?(this.enabled(!!b),c=!0):c=!1;!c&&A(b)&&(this.enabled("enabled"in b?!!b.enabled:!0),this.fill(b.fill),this.stroke(b.stroke),this.Tr(b.hoverFill),this.Vr(b.hoverStroke),this.ci(b.autoHide))}return this};var BH=kH.prototype;BH.fill=BH.fill;BH.selectedFill=BH.Dx;BH.outlineStroke=BH.hx;BH.height=BH.height;BH.minHeight=BH.Wu;BH.maxHeight=BH.Vu;BH.thumbs=BH.Tj;BH.orientation=BH.Xu;BH.allowRangeChange=BH.Ct;BH.autoHide=BH.ci;BH=mH.prototype;BH.enabled=BH.enabled;
BH.autoHide=BH.ci;BH.fill=BH.fill;BH.stroke=BH.stroke;BH.hoverFill=BH.Tr;BH.hoverStroke=BH.Vr;function CH(){qE.call(this)}G(CH,qE);CH.prototype.Sz=function(a,b){var c=this.ja()||Gq(0,0,0,0),d=Math.round(c.qa()-a*c.height);1==a?d-=b:d+=b;var e=c.Ua()+this.kb,f=d-this.nb;this.b.moveTo(c.Ua(),d).lineTo(e,f).lineTo(c.ua()+this.kb,f)};CH.prototype.Tz=function(a,b){var c=this.ja()||Gq(0,0,0,0),d=Math.round(c.Ua()+a*c.width);1==a?d+=b:d-=b;var e=d+this.kb,f=c.qa()-this.nb;this.b.moveTo(d,c.qa()).lineTo(e,f).lineTo(e,c.$a()-this.nb)};
CH.prototype.Qz=function(a,b,c,d,e){if(!isNaN(b)){c=this.ja()||Gq(0,0,0,0);var f,h;f=Math.round(c.qa()-b*c.height);h=Math.round(c.qa()-a*c.height);1==a?h-=e:h+=e;1==b?f-=e:f+=e;d.moveTo(c.Ua(),f).lineTo(c.Ua()+this.kb,f-this.nb).lineTo(c.ua()+this.kb,f-this.nb).lineTo(c.ua()+this.kb,h-this.nb).lineTo(c.Ua()+this.kb,h-this.nb).lineTo(c.Ua(),h).close()}};
CH.prototype.Rz=function(a,b,c,d,e){if(!isNaN(b)){c=this.ja()||Gq(0,0,0,0);var f,h;f=Math.round(c.Ua()+b*c.width);h=Math.round(c.Ua()+a*c.width);1==a?h+=e:h-=e;1==b?f+=e:f-=e;d.moveTo(f+this.kb,c.$a()-this.nb).lineTo(h+this.kb,c.$a()-this.nb).lineTo(h+this.kb,c.qa()-this.nb).lineTo(h,c.qa()).lineTo(f,c.qa()).lineTo(f+this.kb,c.qa()-this.nb).close()}};function DH(){MA.call(this);jb(this.Ox,"autoRotate")||this.Ox.push("autoRotate")}G(DH,MA);DH.prototype.Pd=function(a){return m(a)?(a=P(a),this.ib!=a&&(this.ib=a,this.o(4,9)),this):this.ib};DH.prototype.Qd=function(a){return m(a)?(a=P(a),this.jb!=a&&(this.jb=a,this.o(4,9)),this):this.jb};function EH(a,b){return m(b)?(b=P(b),a.W!=b&&(a.W=b,a.o(4,9)),a):a.W}function FH(a,b){return m(b)?(b=null===b?b:ee(P(b)||0),a.ed!=b&&(a.ed=b,a.o(4,9)),a):a.ed}
DH.prototype.I=function(a){return m(a)?(a=null===a?a:ce(P(a)||0,-360,360),this.aa!=a&&(this.aa=a,this.o(4,9)),this):this.aa};var GH=DH.prototype,HH=dc(MA.prototype.Ck);X(HH,0,"autoRotate",nw,4,9);GH.Ck=HH;ow(DH,DH.prototype.Ck);
DH.prototype.YC=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.Pd(),u=this.Qd(),v=this.I(),w=EH(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)?O(e,w):c?O(e,Math.min(h,k)/2):0,l+=O(d,null!=v?v:360),n+=c,b+=c;d=p+he(l,n);l=r+ie(l,b);f=Yr(new K(0,0,a.width,a.height),f);d-=f.x;l-=f.y;a.left=d;a.top=l;return a};
DH.prototype.Mj=function(a,b,c,d){var e,f,h;L(a,IH)?(h=(a.vc()?a.vc().value.angle:0)||0,e=a.Wk(h),f=a.Cd("anchor"),"auto"==f&&(f=a.Cd("autoRotate")?"center":$r(h)),d=m(d)?d:a.Na()):(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=qB(this,a,b,c,d);b=Yr(a,f);b=Fe(fe(e),b.x,b.y);a=Eq(a)||[];b.transform(a,0,a,0,4);return a};
DH.prototype.mr=function(){return new IH};function IH(){pB.call(this)}G(IH,pB);var JH=IH.prototype,KH=dc(pB.prototype.em);X(KH,0,"autoRotate",nw,16,9);JH.em=KH;ow(IH,IH.prototype.em);IH.prototype.Wk=function(a){var b=this.Cd("rotation");return this.Cd("autoRotate")?0a?b+a+270:b+a+90:b};
IH.prototype.hA=function(a,b){var c=this.u.positionFormatter,d=cB(this.u.anchor)||"leftTop",e=this.u.offsetX||0,f=this.u.offsetY||0,h=this.pg,k=this.vc(),l=dc(c.call(k,k)),c=l.angle,k=l.radius,l=m(l.radiusY)?l.radiusY:k,n=0,p=0,r=h.Pd(),t=h.Qd(),u=h.I(),h=EH(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)?O(f,h):b?O(f,Math.min(v,w)/2):0,c=c+O(e,null!=u?u:360),k=k+f,l=l+f;e=n+he(c,k);f=p+ie(c,l);d=Yr(new K(0,0,a.width,
a.height),d);e-=d.x;f-=d.y;this.w+=e;this.I+=f;a.left=e;a.top=f;this.u.rotation=this.Wk(c);this.g.x(this.w).y(this.I)};function LH(a,b,c,d){Xh.call(this);this.j=a;this.D=b||fa;this.i=m(d)?d:this;this.f=[]}G(LH,Xh);LH.prototype.clear=function(){for(var a;a=this.mb();)this.f.push(this.Ap(a-1));return this};function MH(a){var b=a.f.pop();b?a.D.call(a.i,b):b=a.j.call(a.i);a.Tb(b);return b}LH.prototype.ea=function(){for(var a=this.f.length;a--;)Mb(this.f[a]);this.f=null;delete this.j;delete this.D;this.i=null;LH.F.ea.call(this)};function NH(){W.call(this);this.B=this.I=this.w=this.aa=this.R=null;this.Pa="vertical";this.N=this.Wa=1;this.da=Le("#e0e0e0",this.N);this.fa=Se("#d5d5d5",this.N);this.la=Le("#d5d5d5",this.N);this.na=Se("#656565",this.N);this.f=0;this.g=1;this.j=this.u=null;this.W=!1;this.ta=-1;this.Sa=!0;this.va=5}G(NH,ew);g=NH.prototype;g.ma=ew.prototype.ma;g.pa=ew.prototype.pa|80;function OH(a){return ym===zm?Math.floor(a)+.5:Math.floor(a)}function PH(a,b){m(b)&&(b=Rn(b),b!=a.Pa&&(a.Pa=b,a.o(4,1)))}
g.dr=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments);this.fa!=f&&(this.fa=sp(f,this.N,!1),this.o(16,1));return this}return this.fa||"none"};g.Eq=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.da!=k&&(this.da=sp(k,this.N,!0),this.o(16,1));return this}return this.da||"none"};g.Us=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments);this.na!=f&&(this.na=sp(f,this.N,!1),this.o(16,1));return this}return this.na||"none"};
g.Ts=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.la!=k&&(this.la=sp(k,this.N,!0),this.o(16,1));return this}return this.la||"none"};g.ho=function(a){return m(a)?(a=P(a),this.Xa!=a&&(this.Xa=a,this.o(4,9)),this):this.Xa};g.vv=function(a){return m(a)?(a=P(a),this.va!=a&&(this.va=a,this.o(16,1)),this):this.va};g.Ai=function(a){return m(a)?(ka(a)&&(this.Sa=a),this):this.Sa};
g.Tf=function(a,b){return m(a)?(oe(this.u,a)||(this.u=a.clone(),this.j?QH(this):this.j=this.u.clone(),RH(this),this.o(64,1),SH(this,b||"api")),this):this.u};function TH(a,b){return m(b)?(oe(a.j,b)||(a.j=b.clone(),a.u?QH(a):a.u=a.j.clone(),RH(a),a.o(64,1),SH(a,"api")),a):a.j}function UH(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)),VH(a),a.o(64,1),SH(a,"api")),a):a.f}
function WH(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)),VH(a),a.o(64,1),SH(a,"api")),a):a.g}function XH(a,b){b=+b;if(!isNaN(b)){b=ce(b,0,1);var c=a.g-a.f,d=tq(ce(b+c,0,1),4),c=tq(d-c,4);if(a.f!=c||a.g!=d)a.f=c,a.g=d,VH(a),a.o(64,1),SH(a,"user_action")}}
function YH(a,b){b=+b;var c=isNaN(b)?40:b;if(a.j&&c&&(c+=ZH(a)?a.j.top:a.j.left,c=+c,a.j&&!isNaN(c))){var d=ZH(a);c!=(d?a.j.top:a.j.left)&&(d?a.j.top=c:a.j.left=c,QH(a),RH(a),a.o(64,1),SH(a,"user_action"))}}function $H(a,b){b=+b;var c=isNaN(b)?.05:ce(b,-1,1);c&&XH(a,a.f+c)}g.lv=function(a){return m(a)?(ka(a)&&this.W!=a&&(this.W=a,this.o(4,1)),this):this.W};g.Yw=function(a){return m(a)?(this.N!=a&&(this.N=a,aI(this,this.N)),this):this.N};g.Zw=function(a){return m(a)?(this.Wa=a,this):this.Wa};
function bI(a){a.R||(a.R=Yh(),Yv(a,a.R,a.eB,a.dB,a.xL),H(a,a.R));return a.R}function aI(a,b){a.da=sp(a.da,b,!0);a.fa=sp(a.fa,b,!1);a.la=sp(a.la,b,!0);a.na=sp(a.na,b,!1);a.o(16,1)}g.eB=function(a){a.preventDefault();aI(this,this.Wa);this.rd(a)};g.dB=function(a){a.preventDefault();aI(this,this.N);this.rd(a)};
g.xL=function(a){a.preventDefault();var b=ZH(this),c=this.B.Qa(),d=this.B.Ec(),e=b?a.offsetY:a.offsetX,d=b?tq((e-d.top)/d.height,4):tq((e-d.left)/d.width,4);(b?e<=c.top:e<=c.left)?XH(this,d):(c=+d,isNaN(c)||(c=ce(c,0,1),b=this.g-this.f,c=tq(ce(c-b,0,1),4),b=tq(c+b,4),this.f==c&&this.g==b))||(this.f=c,this.g=b,VH(this),this.o(64,1),SH(this,"user_action"));this.rd(a)};function cI(a){a.aa||(a.aa=qh(),H(a,a.aa));return a.aa}
function dI(a){a.w||(a.w=new Bx,Dx(a.w,16,!1),R(a.w,function(){a.w.$()}),Gx(a.w,function(){TH(a)?YH(a,40):$H(a,.05)}),H(a,a.w));return a.w}function eI(a){a.I||(a.I=new Bx,Dx(a.I,16,!1),R(a.I,function(){a.I.$()}),Gx(a.I,function(){TH(a)?YH(a,-40):$H(a,-.05)}),H(a,a.I));return a.I}function fI(a){a.B||(a.B=qh(),a.B.ob(bI(a)),Wc(a.B,"drag",a.og,!1,a),Wc(a.B,"end",a.GJ,!1,a),Yv(a,a.B,a.eB,a.dB,null,null,null,a.UO),H(a,a.B));return a.B}g.UO=function(a){a.preventDefault();this.rd(a)};
g.og=function(){gI(this,!0)};g.GJ=function(){gI(this,!1)};function gI(a,b){var c=ZH(a),d=a.B.Ec(),e=a.B.Qa(),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=tq((k-h)/d,5),a.g=tq((l-h)/d,5));VH(a);f||a.o(64,1);SH(a)}
function VH(a){if(a.u&&a.j){var b;if(ZH(a)){b=a.u.height;var c=tq((a.g-a.f)*b,1);a.j.top=tq(a.f*b,1)+a.u.top;a.j.height=c}else b=a.u.width,c=tq((a.g-a.f)*b,1),a.j.left=tq(a.f*b,1)+a.u.left,a.j.width=c}}function RH(a){if(a.u&&a.j){var b=ZH(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=tq(c/b,4);a.g=tq(d/b,4)}}
function QH(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=tq(a.height/3,1):e=tq(a.width/3,1));h=d?a.left:a.left+a.width-e;d=d?a.top+a.height-f:a.top;this.w.ja(a);this.w.position({x:h,y:d}).width(e).height(f).$();this.I.ja(a);this.I.position({x:k,y:l}).width(e).height(f).$();this.w.ga(!1);this.I.ga(!1)}this.o(80);this.K(4)}this.O(16)&&(a=Math.min(this.va,Math.min(this.b.width,this.b.height)/2),this.aa.fill(this.da).stroke(this.fa).round(a),
this.B.fill(this.la).stroke(this.na).round(a),this.K(16));this.O(64)&&(0>=this.f&&1<=this.g||this.f==this.g?bI(this).visible(!1):(bI(this).visible(!0),a=ZH(this),e=this.b,this.aa.fe(e),this.W?(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=tq(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:tq(f.left+d,1),d=a?tq(f.top+
d,1):e.top):(l=a?e.left:tq(f.left+this.f*f.width,1),d=a?tq(f.top+this.f*f.height,1):e.top),h=a?e.width:k,a=a?k:e.height,this.B.Ns(OH(l)).Os(OH(d)).cp(Math.round(h)).ap(Math.round(a)).Ec(f),this.B.Za(1,0,0,1,0,0)),this.K(64));this.O(8)&&(bI(this).zIndex(this.zIndex()),this.K(8));c&&b.sc()}return this};function ZH(a){return"horizontal"!=a.Pa.toLowerCase()}g.remove=function(){this.R&&this.R.parent(null)};
function SH(a,b){if(a.Sa){0<=a.ta&&(clearTimeout(a.ta),a.ta=-1);var c=new hI(a);c.startRatio=a.f;c.endRatio=a.g;c.visibleBounds=a.j;c.source=b||"user_action";a.ta=setTimeout(function(){a.dispatchEvent(c);a.ta=-1},0)}}
g.G=function(){var a=NH.F.G.call(this);D(this.dr())?N(8,null,["ScrollBar background stroke"]):a.backgroundStroke=op(this.dr());D(this.Eq())?N(8,null,["ScrollBar background fill"]):a.backgroundFill=op(this.Eq());D(this.Ts())?N(8,null,["ScrollBar slider fill"]):a.sliderFill=op(this.Ts());D(this.Us())?N(8,null,["ScrollBar slider stroke"]):a.sliderStroke=op(this.Us());a.mouseOverOpacity=this.Zw();a.mouseOutOpacity=this.Yw();a.buttonsVisible=this.lv();a.barSize=this.ho();a.cornersRadius=this.vv();return a};
g.ba=function(a,b){NH.F.ba.call(this,a,b);this.Eq(a.backgroundFill);this.dr(a.backgroundStroke);this.Ts(a.sliderFill);this.Us(a.sliderStroke);this.Zw(a.mouseOverOpacity);this.Yw(a.mouseOutOpacity);this.lv(a.buttonsVisible);this.ho(a.barSize);this.vv(a.cornersRadius)};function hI(a){Ob.call(this,"scrollchange",a)}G(hI,Ob);hI.prototype.startRatio=0;hI.prototype.endRatio=0;hI.prototype.visibleBounds=null;hI.prototype.source="";var iI=NH.prototype;iI.barSize=iI.ho;iI.backgroundStroke=iI.dr;
iI.backgroundFill=iI.Eq;iI.sliderStroke=iI.Us;iI.sliderFill=iI.Ts;iI.mouseOutOpacity=iI.Yw;iI.mouseOverOpacity=iI.Zw;iI.cornersRadius=iI.vv;iI.buttonsVisible=iI.lv;function jI(){kd.call(this);this.I=this.N=this.w=this.B=this.fa=this.la=this.g=this.D=this.j=this.u=this.f=this.i=NaN;this.xa=this.R=.01;this.aa=NaN;this.b=!1;this.da=this.W=NaN}G(jI,Ev);jI.prototype.ma=4;function kI(a){return function(b){return nz(b,a)}}
var lI=[144E5,2592E5,26784E5,31536E6,31536E7],mI=[{Te:"day",count:1},{Te:"week",count:1},{Te:"month",count:1},{Te:"year",count:1},{Te:"year",count:10}],nI=[{Te:"hour",count:1},{Te:"day",count:1},{Te:"week",count:1},{Te:"quarter",count:1},{Te:"year",count:1}],oI=[{Te:"minute",count:10},{Te:"hour",count:2},{Te:"day",count:1},{Te:"month",count:1},{Te:"quarter",count:1}];g=jI.prototype;g.bd=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 pI(a){var b=new Date;isNaN(a.W)&&(a.W=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()));isNaN(a.da)&&(a.da=a.W+864E5);return{min:a.W,max:a.da}}function qI(a,b,c){b=Xr(b);c=Xr(c);a.i==b&&a.f==c||isNaN(c)||isNaN(b)||(a.i=b,a.f=c,a.b=!1,rI(a),a.ha(4));return a}function sI(a){rI(a);return a.bd()?pI(a):{min:a.i,max:a.f}}
function tI(a){var b;isNaN(a.u)&&(isNaN(a.B)?isNaN(a.N)?(b=(isNaN(a.w)?isNaN(a.I)?a.g:Math.max(a.g,a.I):a.w)-a.D,b*=a.R,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.I)?(b=a.g-(isNaN(a.B)?isNaN(a.N)?a.D:Math.min(a.D,a.N):a.B),b*=a.xa,a.j=a.g+b):a.j=Math.max(a.I,a.g):a.j=a.w);return a.bd()?pI(a):{min:a.u,max:a.j}}
function rI(a){if(!a.b&&!a.bd()){a.b=!0;var b=tI(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.Xv=function(){if(!this.bd()){var a=tI(this);return qI(this,a.min,a.max)}return this};g.UA=function(a){m(a)&&(a=Xr(a),this.B!=a&&(this.B=a,this.u=NaN,this.b=!1,this.ha(4)));return this.B};
g.TA=function(a){m(a)&&(a=Xr(a),this.w!=a&&(this.w=a,this.j=NaN,this.b=!1,this.ha(4)));return this.w};g.WA=function(a){m(a)&&(a=Xr(a),this.N!=a&&(this.N=a,this.u=NaN,this.b=!1,this.ha(4)));return this.N};g.VA=function(a){m(a)&&(a=Xr(a),this.I!=a&&(this.I=a,this.j=NaN,this.b=!1,this.ha(4)));return this.I};g.Uq=function(a){return m(a)?(a=+a||0,this.R!=a&&(this.R=a,this.u=NaN,this.b=!1,this.ha(4)),this):this.R};
g.Tq=function(a){return m(a)?(a=+a||0,this.xa!=a&&(this.xa=a,this.j=NaN,this.b=!1,this.ha(4)),this):this.xa};g.lw=function(a,b){var c=Xr(a)+6E4*iz(),d=sI(this),e=d.min,d=d.max;if(b.j||b.D){if(c<=e)return uI(this,a,b);if(c>e&&c=d)return uI(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),uI(this,c,b);return[]};
function uI(a,b,c,d,e){b=new Zq(jz(b));var f=sI(a);a=f.min;var f=f.max,h=[],k=!1,l=!1,n;if(d)for(c=c.u(-1);!k||!l;)d=Xr(b),n=b.clone(),n.add(c),b=Xr(n),k?kb(h,d,0):b=Math.abs(a-b)&&(b=(this.i+this.f)/2,a=b-3E4,b+=3E4);qI(this,a,b)}return this};
g.jy=function(a){var b;this.bd()?b=!0:(b=tI(this),b=this.i<=b.min);(b=!b)||(this.bd()?b=!0:(b=tI(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,tI(this),athis.j){if(athis.j)return qI(this,this.u,this.j),this;athis.j&&qI(this,a-(b-this.j),this.j)}else qI(this,a,b);return this};
g.Lf=function(a,b,c){var d;rI(this);if(B(a)){if(0===b)return this;a=gs(mo(a,"day"),b||1);switch(ko(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 Zq(jz(d));b=Xr(c);c.add(a);a=Xr(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=tI(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 II(a,b){var c=wb(a.b,b);return 0<=c?c:~c}g.data=function(a){return m(a)?(this.B!=a&&(L(a,UG)||L(a,OG))&&(this.B&&Fv(this.B,this.Lz,this),this.B=a,R(this.B,this.Lz,this),this.fa=this.B.Bo(),this.fa.rF(this.JI),this.xa&&this.xa.scale().reset(),this.o(64,2)),this):this.B};
g.cf=function(a){return m(a)?(this.w!=a&&(this.w=a,this.o(256,2)),this):this.w};g.vd=function(a){return m(a)?(isNaN(a)||(this.f=a,this.w=0,this.g=NaN,this.o(256,2)),this):this.f};function JI(a,b){return m(b)?(isNaN(b)||(a.g=b,a.f=NaN,a.o(256,2)),a):a.g}function KI(a,b){return m(b)?(a.j!=b&&(a.j=b,a.o(256,2)),a):a.j}function LI(a,b){return m(b)?(a.ta!=b&&(a.ta=b,a.o(128,2)),a):a.ta}g.VL=function(a){return m(a)?(this.da!=a&&(this.da=a,this.o(256,2)),this):this.da};
function MI(a){a.N||(a.N=new NH,PH(a.N,"vertical"),a.N.sa("scrollchange",function(b){var c=b.startRatio;b=b.endRatio;var d=a.b[a.b.length-1];J(a);c?1==b?JI(a,a.b.length):(b=Math.round(c*d),c=II(a,b),b-=c?a.b[c-1]:0,a.vd(c).cf(b)):a.vd(0).cf(0);a.ga(!0)}));return a.N}function NI(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)JI(a,a.b.length-1);else{var c=II(a,b),d=b-(c?a.b[c-1]:0);a.vd(c).cf(d)}a.ga(!0)}}
g.G=function(){var a=zI.F.G.call(this);a.isResourceChart=this.D;a.treeData=this.data().G();a.verticalOffset=this.cf();isNaN(this.vd())?isNaN(JI(this))||(a.endIndex=JI(this)):a.startIndex=this.vd();return a};g.ba=function(a,b){zI.F.ba.call(this,a,b);this.D=a.isResourceChart;"treeData"in a&&this.data(VG(a.treeData));this.cf(a.verticalOffset);"startIndex"in a?this.vd(a.startIndex):"endIndex"in a&&JI(this,a.endIndex)};function OI(a,b){kd.call(this);this.b=a;var c=ng(this.b)?this.b:this.b?this.b.body:null;this.j=!!c&&"rtl"==Fg(c,"direction");this.i=Wc(this.b,oc?"DOMMouseScroll":"mousewheel",this,b)}G(OI,kd);
OI.prototype.handleEvent=function(a){var b=0,c=0,d=a.lf;"mousewheel"==d.type?(a=PI(-d.wheelDelta),m(d.wheelDeltaX)?(b=PI(-d.wheelDeltaX),c=PI(-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=ce(b,-this.g,this.g));C(this.D)&&(c=ce(c,-this.D,this.D));this.j&&(b=-b);b=new QI(a,d,b,c);this.dispatchEvent(b)};function PI(a){return pc&&(rc||tc)&&a%40?a:a/40}OI.prototype.ea=function(){OI.F.ea.call(this);ed(this.i);this.i=null};
function QI(a,b,c,d){Fc.call(this,b);this.type="mousewheel";this.detail=a;this.B=c;this.deltaY=d}G(QI,Fc);function RI(a,b){W.call(this);this.w=this.nk=null;this.j=this;this.yb=!0;this.f=null;a&&L(a,zI)?(this.f=a,this.yb=!1):SI(this,b);this.b=null;this.kb=1;this.Qi=this.nh=this.jk=this.oh=this.Uh=this.lh=this.kh=this.kk=this.Nf=this.da=this.Vh=this.tf=null;this.xb=45;this.qB=this.Wa=0;this.uf=this.gi=this.rf=this.sf=null;this.sb=[];this.rc=-1;this.Pa=null;this.di=this.li=0;this.B=this.Cc=!1;this.I=null;this.altKey=!1;this.Sa=null;this.cc=this.Fb=0;this.aa=!0;this.hb=!1;this.N=this.nb=null;this.jv=!1;Zv(this,
this,this.mD,this.jJ,this.iJ,this.mD,this.UM)}G(RI,ew);g=RI.prototype;g.pa=ew.prototype.pa|208;function TI(a){var b=a.U("actualStart");a=a.U("actualEnd");return m(b)&&(!isNaN(b)&&!m(a)||b==a)}
function UI(a,b,c,d){a.nb||(a.nb=new pz);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.U("minPeriodDate"),type:"datetime"},f.maxPeriodDate={value:b.U("maxPeriodDate"),type:"datetime"},f.period={value:c,type:""},f.periodIndex={value:null!=d&&0a||a>h)return null;d=wb(this.sb,a);var h=(this.rc=d=0<=d?d:~d)?this.sb[d-1]:0,f=f+h,k=f+(this.sb[d]-h-this.kb);e.item=b[c+d];e.startY=f;e.endY=k;e.hoveredIndex=this.rc;e.index=c+d;e.itemHeightMouseRatio=(a-h)/(this.sb[d]-h)}return e}return null};g.Rv=function(a){return m(a)?(this.hb!=a&&(this.hb=a,this.o(128,1)),this):this.hb};
function WI(a){a.da||(a.da=Yh(),Yv(a,a.da,null,null,null,null,a.lD),H(a,a.da));return a.da}function XI(a){a.kh||(a.kh=Yh(),a.kh.zIndex(30),H(a,a.kh));return a.kh}function YI(a){a.oh||(a.oh=Yh(),a.oh.zIndex(35),H(a,a.oh));return a.oh}function ZI(a){a.lh||(a.lh=Yh(),a.lh.zIndex(40),H(a,a.lh));return a.lh}function $I(a){a.Uh||(a.Uh=Yh(),a.Uh.zIndex(45),H(a,a.Uh));return a.Uh}function aJ(a){a.nh||(a.nh=Yh(),a.nh.zIndex(50),H(a,a.nh));return a.nh}
function bJ(a){a.Qi||(a.Qi=Yh(),a.Qi.zIndex(60),H(a,a.Qi));return a.Qi}function cJ(a){a.sf||(a.sf=XI(a).Da(),a.sf.stroke(null).zIndex(1),H(a,a.sf));return a.sf}function dJ(a){a.rf||(a.rf=XI(a).Da(),a.rf.stroke(null).zIndex(1),H(a,a.rf));return a.rf}function eJ(a){a.gi||(a.gi=XI(a).Da(),a.gi.stroke(null).fill(a.mh).zIndex(2),H(a,a.gi));return a.gi}function fJ(a){a.uf||(a.uf=XI(a).Da(),a.uf.stroke(null).fill(a.Ni).zIndex(3),H(a,a.uf));return a.uf}
function gJ(a){a.tf||(a.tf=XI(a).Da(),a.tf.stroke(a.Bb).zIndex(4),H(a,a.tf));return a.tf}function hJ(a){a.jk||(a.jk=$I(a).Da(),H(a,a.jk));return a.jk}function iJ(a){a.Vh||(a.Vh=XI(a).Da(),a.Vh.zIndex(40),H(a,a.Vh));return a.Vh}g.Cs=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.Ki!=k&&(this.Ki=k,this.Ii=this.Li=null,this.o(16,1));return this}return this.Ki};g.wu=function(a,b,c,d,e,f,h){N(405,null,["cellFill()","rowFill()"]);return this.Cs(a,b,c,d,e,f,h)};
g.pq=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.Li!=k&&(this.Li=k,this.o(16,1));return this}return this.Li};g.pv=function(a,b,c,d,e,f,h){N(405,null,["cellOddFill()","rowOddFill()"]);return this.pq(a,b,c,d,e,f,h)};g.oq=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.Ii!=k&&(this.Ii=k,this.o(16,1));return this}return this.Ii};g.ov=function(a,b,c,d,e,f,h){N(405,null,["cellEvenFill()","rowEvenFill()"]);return this.oq(a,b,c,d,e,f,h)};
g.vx=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.mh!=k&&(this.mh=k);return this}return this.mh};g.xx=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.Ni!=k&&(this.Ni=k,this.o(16,1));return this}return this.Ni};g.$l=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.Mf!=k&&(this.Mf=k,this.o(16,1));return this}return this.Mf};g.Pv=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.ik!=k&&(this.ik=k,this.o(16,1));return this}return this.ik};
g.Qv=function(a){if(m(a)){var b=Se.apply(null,arguments);this.Th!=b&&(this.Th=b,this.o(16,1));return this}return this.Th};g.Ov=function(a){if(m(a)){var b=Se.apply(null,arguments);this.hk!=b&&(this.hk=b,this.o(16,1));return this}return this.hk};g.iC=function(a){L(a.b,dh)&&!this.w&&(this.w=new jJ(this.da,this),H(this,this.w),this.w.sa("drag",this.og,!1,this),this.w.sa("end",this.gJ,!1,this),this.w.Kf(a.vf))};
g.og=function(a){this.B=!0;if(this.hb&&(this.aa=!1,VI(this.j),this.pb().fc(),a=this.Kh(a))){var b=a.item,c=a.itemHeightMouseRatio,d=a.startY,e=a.endY;this.I&&b&&b!=this.I&&!XG(b,this.I)?.2>c||.8c?d:e,void 0,"auto"):TI(b)?kJ(this.j,void 0,void 0,"not-allowed"):kJ(this.j,d,e,"auto"):kJ(this.j,void 0,void 0,"not-allowed");this.EH(a)}this.pb().fc();this.jv=!0};
g.gJ=function(a){if(this.hb){a=this.Kh(a);this.FH(a);if(a){var b=a.item,c=a.hoveredIndex,c=this.f.vd()+c,d=this.f.i;a=a.itemHeightMouseRatio;this.I&&b&&b!=this.I&&!TI(b)&&!XG(b,this.I)&&(.2>a||.8a?a=d[c-1]:(a=b,b=d[c+1]),a&&b?(c=a.U("depth"),d=b.U("depth"),c==d?(c=b.getParent()||b.hh(),a=c.yc(b),b=this.I.getParent()||this.I.hh(),b==c&&b.yc(this.I)c,d=UH(k),k=WH(k),l=d||1!=k?0k||!d&&!l&&1!=k||1==k&&l&&0!=d:!1);e&&(e=0>b,n=UH(h),h=WH(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.Vn(b,c)};g.FN=function(a){T(a,2)&&this.ha(1)};
g.kJ=function(){this.pb().$()};g.uu=fa;g.vu=fa;g.am=function(a){return m(a)?(AI(this.f,a),this):AI(this.f)};function SI(a,b){a.f=new zI(b);H(a,a.f);R(a.f,a.FN,a)}
function mJ(a,b){b&&a.o(64);if(a.wb()){var c=a.P(),d=c?c.ka():null,e=d&&!d.bc();e&&d.wc();var f,h;WI(a).mb()||(a.Nf=a.da.rect(),H(a,a.Nf),a.Nf.fill(a.Mf).stroke(null).zIndex(10),a.kk=a.da.rect(),H(a,a.kk),a.kk.fill(gp).stroke(null).zIndex(20),a.da.Tb(XI(a)).Tb(YI(a)).Tb(ZI(a)).Tb($I(a)).Tb(aJ(a)).Tb(bJ(a)),a.yb&&(f=MI(a.f),R(f.P(bJ(a)),function(a){T(a,8)?this.o(4,1):f.$()},a),H(a,f)),h=a.Nh(),R(h.P(bJ(a)),function(a){T(a,1)&&h.$()},h),H(a,h),a.da.pc("mousedown",a.iC,!1,a),a.da.pc("touchstart",a.iC,
!1,a),a.tD());a.O(2)&&(a.da.parent(c),a.K(2));a.O(4)&&(a.b=a.Ra(),a.da.clip(a.b),a.Nf.fe(a.b),a.kk.fe(a.b),a.Wa=a.b.width,c=a.b.top+a.xb+.5,iJ(a).clear().moveTo(a.b.left,c).lineTo(a.b.left+a.Wa,c),a.yb&&(f=MI(a.f),c=f.ho(),f.Ba(a.b.left+a.b.width-c-1,a.b.top+a.Ie()+c+1,c,a.b.height-a.Ie()-2*c-2)),h=a.Nh(),c=h.ho(),h.Ba(a.b.left+c,a.b.top+a.b.height-c-1,a.b.width-2*c,c),a.Cc=!0,a.vu(),a.K(4));a.O(64)&&(a.pb().fc(),a.Cc=!0,a.$D(),a.K(64));if(a.O(16)){a.Nf.fill(a.Mf);cJ(a).fill(a.Li||a.Ki);dJ(a).fill(a.Ii||
a.Ki);fJ(a).fill(a.Ni);var k;B(a.Bb)?k=a.Bb:A(a.Bb)&&a.Bb.color&&(k=a.Bb.color);k&&iJ(a).stroke(k);gJ(a).stroke(a.Bb);hJ(a).fill(a.ik).stroke(a.Th);a.uu();a.K(16)}a.O(8)&&(WI(a).zIndex(a.zIndex()),a.K(8));a.O(128)&&(a.Cc=!0,a.K(128));a.Sx();a.Cc&&(lJ(a),a.ZD(),a.Cc=!1);e&&d.sc();a.yb&&(nJ(a),oJ(a))}}g.tD=fa;
function VI(a,b,c,d){var e=!1,f=!1;if(m(b)&&m(c)&&m(d)){if(a.li!=c||a.di!=d)a.rc=b,a.li=c,a.di=d,e=0<=a.rc}else 0<=a.rc&&(a.rc=-1,a.li=NaN,a.di=NaN),f=!0;e?eJ(a).clear().fill(a.mh).moveTo(a.b.left,a.li).lineTo(a.b.left+a.b.width,a.li).lineTo(a.b.left+a.b.width,a.di).lineTo(a.b.left,a.di).close():f&&eJ(a).clear()}
function kJ(a,b,c,d){var e=hJ(a);m(b)?m(c)?e.clear().moveTo(a.b.left,b).lineTo(a.b.left+a.Wa,b).lineTo(a.b.left+a.Wa,c).lineTo(a.b.left,c).close().stroke(a.Th):e.clear().moveTo(a.b.left,b).lineTo(a.b.left+a.Wa,b).stroke(a.hk):e.clear();m(d)&&Ag(da.document.body,"cursor",d)}function nJ(a){if(!a.nk){var b=WI(a).Y();b&&(a.nk=new OI(b),Wc(a.nk,"mousewheel",a.ND,!1,a),Wc(window,"unload",function(){dd(a.nk,"mousewheel",a.ND,!1,this)}));Wc(document,"mousemove",a.hC,!1,a)}}
g.hC=function(a){var b=this.P();if(b){var c=tm(b.ka()),b=this.b.top+c.y+this.xb+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.cc=this.Fb=0;if(fe)this.Fb=f-c;if(hd)this.cc=h-b;var k=this;this.B&&!this.Sa&&(this.Sa=setInterval(function(){k.Xw(a)},100))}};
function oJ(a){a.j.hn||(a.j.hn=new pJ(a.j,document),H(a,a.j.hn),Wc(a.j.hn,"key",function(a){18==a.keyCode&&(this.altKey=!0);(46==a.keyCode||a.metaKey&&8==a.keyCode)&&this.bC(a)},!1,a.j))}g.bC=function(){};g.$D=fa;g.ZD=fa;g.remove=function(){this.da&&this.da.parent(null)};g.Ds=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments),h=ls(f);if(this.Bb!=f||h!=this.kb)this.Bb=f,this.kb=h,this.yb||LI(this.f,h),this.o(80,1);return this}return this.Bb||"none"};g.Sx=fa;
g.Es=function(a){this.Pa&&this.f.data()&&(J(this.f.data()),this.Pa.U("selected",!1),this.Pa=null,this.f.data().ga(!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&&L(a,UG)&&this.f.data(a),this):b};
g.$=function(){this.b&&!this.b.height&&this.b.height||(this.b=this.Ra());var a=LI(KI(this.f,this.b.height-this.xb-1),this.kb);if(!Gv(a)){if(a.O(64)){a.va=0;a.u=NaN;a.I=NaN;J(a.B);for(var b=0,c=a.B.mb();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=HI(a,0,a.g),ba.na.length){var e=new sJ;H(a,e);e.stroke(a.fa);e.P(aJ(a));R(e,function(){e.$()},e);e.sa("splitterchange",qa(a.VO,a,b-1));e.sa("dblclick",qa(a.WO,a,b-1));a.na.push(e)}}
g.vB=function(a,b){var c,d,e=!1;c=P(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var f=this.g[c];f||(f=new EJ(this),f.X(this.VB()),R(f,this.ML,this),H(this,f),e=!0);if(m(d))return f.X(L(d,EJ)?d.G():d),f.enabled()&&f.P(ZI(this)),this.g[c]=f,DJ(this),this.o(528,1),this;e&&(d=c?1==c?170:90:90,e=c?1==c?"Name":"Column #"+c:"#",J(f),f.P(ZI(this)).width(d).height("100%"),f.title().text(e),f.ga(!0),this.g[c]=f,DJ(this),this.o(528,1));return f};
g.VO=function(a,b){var c=b.target;c.b||(c.b=c.Ra());this.Hr(this.EO,this,a,(new K(tq(c.b.left,1),tq(c.b.top,1),tq(Math.min(c.B,c.b.width-c.w),1),tq(c.b.height,1))).width+20)};g.WO=function(a,b){this.Hr(this.WL,this,a,b)};g.EO=function(a,b,c,d){c==b&&a.width(d)};
g.WL=function(a,b,c,d){c==b&&(b=a.title(),c=b.height(),d.offsetY-this.b.topthis.Wa&&(this.W=0);this.W=ce(this.W,0,Math.abs(this.b.width-this.Wa));c=-this.W;f=0;for(h=e.length;fd&&(d=lI.length-1);e=xI(a,mI[d]);f=xI(a,nI[d],mI[d]);a=xI(a,oI[d],nI[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.ga(!1);k.$()}this.labels().ga(!1);this.labels().$()}this.O(8)&&this.K(8);e&&d.sc()}return this};g.remove=function(){VJ(this).parent(null)};
g.G=function(){var a=TJ.F.G.call(this);a.tileFill=op(this.w);a.tilesSeparationStroke=op(this.g);a.labels=this.labels().G();return a};g.ba=function(a,b){TJ.F.ba.call(this,a);this.gF(a.tileFill);this.hF(a.tilesSeparationStroke);this.labels().bb(!!b,a.labels)};var WJ=SJ.prototype;WJ.backgroundFill=WJ.Nz;WJ.levelsSeparationStroke=WJ.DD;WJ.topLevel=WJ.pp;WJ.midLevel=WJ.Uo;WJ.lowLevel=WJ.Qo;WJ=TJ.prototype;WJ.tileFill=WJ.gF;WJ.labels=WJ.labels;WJ.tilesSeparationStroke=WJ.hF;function XJ(a,b){RI.call(this,a,b);this.Ld=this.fa=this.la=this.ta=this.na=this.Qb=this.W=this.wd=this.Pc=this.Oc=null;this.Ti=void 0;this.R=null;this.lk=void 0;this.mk=NaN;this.Fi=this.Gd=!1;this.oe=this.ef=this.df=this.ze=this.Ue=this.Ae=null;this.jn=this.ln=this.qc=!1;this.Xa=this.gc=null;this.$i=[];this.Wi=0;this.si=[];this.Ei=[];this.gd=[];this.mi=null;this.g=new jI;R(this.g,this.gK,this);H(this,this.g);var c=this.f;m(this)&&c.xa!=this&&(c.xa=this,c.o(256,2))}G(XJ,RI);g=XJ.prototype;
g.pa=RI.prototype.pa|512;g.gK=function(a){T(a,4)&&this.o(512,1)};g.Em=function(a){this.va||(this.va=new SJ,this.va.scale(this.g),this.va.zIndex(80),H(this,this.va),R(this.va,this.dN,this));return m(a)?(this.va.X(a),this):this.va};g.dN=function(a){T(a,1)&&this.o(512,1)};g.xB=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments);this.Wd!=f&&(this.Wd=f,this.o(16,1));return this}return this.Wd||"none"};
g.DC=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.ck!=k&&(this.ck=k,this.o(16,1));return this}return this.ck||"none"};g.EC=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments);this.dk!=f&&(this.dk=f,this.o(16,1));return this}return this.dk||"none"};g.FC=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.fk!=k&&(this.fk=k,this.o(16,1));return this}return this.fk||"none"};
g.GC=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments);this.gk!=f&&(this.gk=f,this.o(16,1));return this}return this.gk||"none"};g.AC=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.rh!=k&&(this.rh=k,this.o(16,1));return this}return this.rh||"none"};g.BC=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments);this.sh!=f&&(this.sh=f,this.o(16,1));return this}return this.sh||"none"};
g.uC=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.ph!=k&&(this.ph=k,this.o(16,1));return this}return this.ph||"none"};g.vC=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments);this.qh!=f&&(this.qh=f,this.o(16,1));return this}return this.qh||"none"};g.cB=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.Wj!=k&&(this.Wj=k,this.o(128,1));return this}return this.Wj||"none"};
g.fB=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments);this.Xj!=f&&(this.Xj=f,this.o(128,1));return this}return this.Xj||"none"};g.hB=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.Zj!=k&&(this.Zj=k,this.o(128,1));return this}return this.Zj||"none"};g.iB=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments);this.Cl!=f&&(this.Cl=f,this.o(128,1));return this}return this.Cl||"none"};
g.cE=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.Hl!=k&&(this.Hl=k,this.o(128,1));return this}return this.Hl||"none"};g.dE=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments);this.Il!=f&&(this.Il=f,this.o(128,1));return this}return this.Il||"none"};g.KD=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.Bi!=k&&(this.Bi=k,this.o(128,1));return this}return this.Bi||"none"};
g.LD=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments);this.Di!=f&&(this.Di=f,this.o(128,1));return this}return this.Di||"none"};g.WD=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.pk!=k&&(this.pk=k,this.o(128,1));return this}return this.pk||"none"};g.XD=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments);this.Gl!=f&&(this.Gl=f,this.o(128,1));return this}return this.Gl||"none"};
g.wB=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.Dl!=k&&(this.Dl=k,this.o(128,1));return this}return this.Dl||"none"};g.yB=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments);this.bk!=f&&(this.bk=f,this.o(64,1));return this}return this.bk||"none"};g.BE=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.Xc!=k&&(this.Xc=k,this.o(128,1));return this}return this.Xc||"none"};
g.CE=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments);this.fd!=f&&(this.fd=f,this.o(128,1));return this}return this.fd||"none"};g.LO=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments);this.Ri!=f&&(this.Ri=f,this.o(128,1));return this}return this.Ri||"none"};g.zA=function(a){if(m(a)){var b=Se.apply(null,arguments),c=ls(this.od),d=ls(b);if(this.od!=b||d!=c)this.od=b,this.o(16,1);return this}return this.od};g.XB=function(a){return m(a)?(this.cM=a,this):this.cM||{}};
g.ZB=function(a){return m(a)?(this.sM=a,this):this.sM||{}};g.$B=function(a){return m(a)?(this.zM=a,this):this.zM||{}};g.ED=function(a,b){var c,d;c=P(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.si[c];e||(e=new MJ(this.g),e.X(this.XB()),this.si[c]=e,H(this,e),R(e,this.dx,this),this.o(512,1));return m(d)?(e.X(d),this):e};
g.jE=function(a,b){var c,d;c=P(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.Ei[c];e||(e=new OJ(this.g),e.X(this.ZB()),this.Ei[c]=e,H(this,e),R(e,this.dx,this),this.o(512,1));return m(d)?(e.X(d),this):e};g.dF=function(a,b){var c,d;c=P(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.gd[c];e||(e=new QJ(this.g),e.X(this.$B()),this.gd[c]=e,H(this,e),R(e,this.dx,this),this.o(512,1));return m(d)?(e.X(d),this):e};g.dx=function(){this.o(512,1)};
g.BA=function(a){N(405,null,["minimumGap()","scale().minimumGap()"]);return m(a)?(this.g.Uq(a),this):this.g.Uq()};g.AA=function(a){N(405,null,["maximumGap()","scale().maximumGap()"]);return m(a)?(this.g.Tq(a),this):this.g.Tq()};g.labels=function(a){this.Oc||(this.Oc=new MA,this.Oc.ob(this));if(m(a)){var b=!0;L(a,MA)?this.Oc.X(a.G()):A(a)?this.Oc.X(a):ks(a)?this.Oc.enabled(!1):b=!1;b&&this.o(64,1);return this}return this.Oc};
g.Xh=function(a){this.Pc||(this.Pc=new NA,this.Pc.ob(this));if(m(a)){var b=!0;L(a,NA)?this.Pc.X(a.G()):A(a)?this.Pc.X(a):ks(a)?this.Pc.enabled(!1):b=!1;b&&this.o(64,1);return this}return this.Pc};g.gB=function(a){return m(a)&&this.Gd!=a?(this.Gd=a,this.o(64,1),this):this.Gd};function YJ(a){a.wd||(a.wd=aJ(a).Da(),a.wd.zIndex(6),a.wd.stroke(a.od),H(a,a.wd));return a.wd}
function ZJ(a){a.W||(a.W=new $J($I(a)),a.W.zIndex(0).cursor("ew-resize"),a.D.sa(a.W,"mousedown",function(a){a.stopPropagation()}),a.W.pc("mousedown",a.gM,!1,a),H(a,a.W));return a.W}function aK(a){a.Qb||(a.Qb=new $J($I(a)),a.Qb.zIndex(10),a.D.sa(a.Qb,"mousedown",function(a){a.stopPropagation()}),a.Qb.pc("mousedown",a.lM,!1,a),H(a,a.Qb));return a.Qb}
function bK(a){a.na||(a.na=new $J($I(a)),a.na.zIndex(20).cursor("col-resize"),a.na.b=ZJ(a),a.D.sa(a.na,"mousedown",function(a){a.stopPropagation()}),a.na.pc("mousedown",a.eM,!1,a),H(a,a.na));return a.na}function cK(a){a.ta||(a.ta=new $J($I(a)),a.ta.zIndex(30).cursor("col-resize"),a.ta.b=ZJ(a),a.D.sa(a.ta,"mousedown",function(a){a.stopPropagation()}),a.ta.pc("mousedown",a.oM,!1,a),H(a,a.ta));return a.ta}
function dK(a){a.la||(a.la=new $J($I(a)),a.la.zIndex(40).cursor("move"),a.D.sa(a.la,"mousedown",function(a){a.stopPropagation()}),a.la.pc("mousedown",a.qM,!1,a),H(a,a.la));return a.la}function eK(a){a.fa||(a.fa=new $J($I(a)),a.fa.zIndex(50).cursor("move"),a.D.sa(a.fa,"mousedown",function(a){a.stopPropagation()}),a.fa.pc("mousedown",a.dM,!1,a),H(a,a.fa));return a.fa}g.JC=function(a){return m(a)?(this.fn=a,this):this.fn};g.IC=function(a){return m(a)?(this.sn=a,this):this.sn};
g.HC=function(a){return m(a)?(this.rn=a,this):this.rn};g.KC=function(a){return m(a)?(this.yp=a,this):this.yp};g.yC=function(a){return m(a)?(this.pn=a,this):this.pn};g.xC=function(a){return m(a)?(this.nn=a,this):this.nn};g.wC=function(a){return m(a)?(this.mn=a,this):this.mn};g.zC=function(a){return m(a)?(this.qn=a,this):this.qn};g.CC=function(a){return m(a)?(this.pe=a,this):this.pe};function fK(a){a.Ld||(a.Ld=$I(a).Da(),a.Ld.stroke(a.Wd).zIndex(60),H(a,a.Ld));return a.Ld}
function gK(a,b){ZJ(a).bd()||ZJ(a).clear().Za(1,0,0,1,0,0);aK(a).bd()||aK(a).clear().Za(1,0,0,1,0,0);cK(a).bd()||cK(a).clear().Za(1,0,0,1,0,0);bK(a).bd()||bK(a).clear().Za(1,0,0,1,0,0);eK(a).bd()||eK(a).clear().Za(1,0,0,1,0,0);dK(a).bd()||dK(a).clear().Za(1,0,0,1,0,0);fK(a).bd()||fK(a).clear();b||(a.pb().enabled(a.Gc),a.Gc=void 0)}g.gM=function(a){this.Ae=new hK(ZJ(this));H(this,this.Ae);this.Ae.sa("start",this.hM,!1,this);this.Ae.sa("drag",this.iM,!1,this);this.Ae.sa("end",this.jM,!1,this);this.Ae.Kf(a.vf)};
g.lM=function(a){this.Ue=new iK(aK(this));H(this,this.Ue);this.Ue.sa("start",this.mM,!1,this);this.Ue.sa("drag",this.nM,!1,this);this.Ue.sa("end",this.kM,!1,this);this.Ue.Kf(a.vf)};g.eM=function(a){this.ze=new jK(bK(this),!0);H(this,this.ze);this.ze.sa("start",this.fM,!1,this);this.ze.sa("drag",this.MC,!1,this);this.ze.sa("end",this.LC,!1,this);this.ze.Kf(a.vf)};
g.oM=function(a){this.df=new jK(cK(this),!1);H(this,this.df);this.df.sa("start",this.pM,!1,this);this.df.sa("drag",this.MC,!1,this);this.df.sa("end",this.LC,!1,this);this.df.Kf(a.vf)};g.qM=function(a){this.ef=new kK(0,dK(this),!0);H(this,this.ef);this.ef.sa("start",this.sC,!1,this);this.ef.sa("drag",this.tC,!1,this);this.ef.sa("end",this.rC,!1,this);this.ef.Kf(a.vf)};
g.dM=function(a){this.oe=new kK(0,eK(this),!1);H(this,this.oe);this.oe.sa("start",this.sC,!1,this);this.oe.sa("drag",this.tC,!1,this);this.oe.sa("end",this.rC,!1,this);this.oe.Kf(a.vf)};g.hM=function(){this.w&&(this.w.$f=!1);this.Gc=this.pb().enabled();this.pb().fc();this.pb().enabled(!1);VI(this.j);aK(this).clear();bK(this).clear();cK(this).clear();dK(this).clear();eK(this).clear();Ag(da.document.body,"cursor","ew-resize")};g.iM=function(){this.B=!0;this.aa=!1;this.jn=!0};
g.jM=function(a){if(this.B){this.w&&(this.w.$f=!0);var b=ZJ(this).Qa();gK(this);var c=a.target.element;a=c.item;var d=this.f.data();J(d);b=wI(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.U("actualStart",b);m(a.get("actualEnd"))&&(a.set("actualEnd",b),a.U("actualEnd",b));break;case 5:c=c.gg;e=a.Ve("periods",c,"start");e=a.Ve("periods",c,"end")+(b-e);isNaN(e)||(a.set("periods",c,"start",
b),a.Ph("periods",c,"start",b),a.set("periods",c,"end",e),a.Ph("periods",c,"end",e));break;case 3:e=a.U("baselineStart");c=a.U("baselineEnd");e=b-e;isNaN(c+e)||(a.set("baselineStart",b),a.U("baselineStart",b));a.set("baselineEnd",c+e);a.U("baselineEnd",c+e);break;default:c=C(a.U("actualStart"))?a.U("actualStart"):a.U("autoStart"),c=(C(a.U("actualEnd"))?a.U("actualEnd"):a.U("autoEnd"))+(b-c),isNaN(c)||(a.set("actualStart",b),a.U("actualStart",b),a.set("actualEnd",c),a.U("actualEnd",c))}}d.ga(!0);qJ(this);
this.jn=this.B=!1;clearInterval(this.Sa);this.Sa=null}Ag(da.document.body,"cursor","")};g.mM=function(){this.w&&(this.w.$f=!1);this.ln=!0;this.Gc=this.pb().enabled();this.pb().fc();this.pb().enabled(!1);bK(this).clear();cK(this).clear();dK(this).clear();eK(this).clear();ZJ(this).clear()};g.nM=function(){this.B=!0;this.aa=!1};
g.kM=function(a){if(this.B){this.w&&(this.w.$f=!0);gK(this);a=a.target;var b=a.element;isNaN(a.Ic)||b.item.set("progressValue",tq(100*a.Ic,2)+"%");this.B=!1;clearInterval(this.Sa);this.Sa=null;this.ln=!1}};g.pM=function(){this.w&&(this.w.$f=!1);this.Gc=this.pb().enabled();this.pb().fc();this.pb().enabled(!1);aK(this).clear();bK(this).clear();cK(this).clear();dK(this).clear();eK(this).clear();Ag(da.document.body,"cursor","col-resize");this.W.cursor("col-resize")};
g.fM=function(){this.w&&(this.w.$f=!1);this.Gc=this.pb().enabled();this.pb().fc();this.pb().enabled(!1);aK(this).clear();bK(this).clear();cK(this).clear();dK(this).clear();eK(this).clear();Ag(da.document.body,"cursor","col-resize");this.W.cursor("col-resize")};
function lK(a,b,c){if(a.gc){var d=a.gc.f?a.na:a.ta,e=d.item,f=d.gg,h=d.Ba;switch(d.type){case 3:d=a.gc.f?e.U("baselineEnd"):e.U("baselineStart");break;case 5:d=a.gc.f?e.Ve("periods",f,"end"):e.Ve("periods",f,"start");break;default:d=a.gc.f?C(e.U("actualEnd"))?e.U("actualEnd"):e.U("autoEnd"):C(e.U("actualStart"))?e.U("actualStart"):e.U("autoStart")}e=tm(a.P().ka()).x;b=c?0>c?a.b.left:a.b.left+a.b.width:b.clientX-e;c=vI(a.g,d);c=a.b.left+a.b.width*c;a.W.clear().moveTo(c,h.top).lineTo(b,h.top).lineTo(b,
h.top+h.height).lineTo(c,h.top+h.height).close()}}function mK(a,b,c,d){if(a.Xa&&a.B){var e=a.Xa.f?a.la:a.fa,f=e.index,e=e.gg,h=tm(a.P().ka()),k=h.x,h=h.y;c||d?(c=a.Xa.g-k,b=a.Xa.w-h):(c=b.clientX-k,b=b.clientY-h);e=nK(a,f,e);d=ls(a.Wd)%2&&ym===zm?.5:0;f=a.Xa.f?e.left:e.left+e.width;e=e.top+e.height/2+d;fK(a).clear().moveTo(f,e).lineTo(c,b)}}g.MC=function(a){this.B=!0;this.aa=!1;this.gc=a.target;lK(this,a)};
g.LC=function(a){if(this.B){this.w&&(this.w.$f=!0);var b=this.W.Qa();gK(this);a=a.target.element;var c=a.item,d=a.gg,e=this.f.data();J(e);var f=(b.left+b.width-this.b.left)/this.b.width,b=wI(this.g,(b.left-this.b.left)/this.b.width),f=wI(this.g,f);if(!isNaN(b)&&!isNaN(f))switch(a.type){case 5:c.set("periods",d,"start",b);c.Ph("periods",d,"start",b);c.set("periods",d,"end",f);c.Ph("periods",d,"end",f);break;case 3:c.set("baselineStart",b);c.U("baselineStart",b);c.set("baselineEnd",f);c.U("baselineEnd",
f);break;default:c.set("actualStart",b),c.U("actualStart",b),c.set("actualEnd",f),c.U("actualEnd",f)}e.ga(!0);qJ(this);this.gc=null;this.B=!1;clearInterval(this.Sa);this.Sa=null}Ag(da.document.body,"cursor","");this.W.cursor("ew-resize")};g.sC=function(a){this.w&&(this.w.$f=!1);VI(this.j);this.Xa=a.target;gK(this);this.Gc=this.pb().enabled();this.pb().fc();this.pb().enabled(!1)};g.tC=function(a){this.qc=this.B=!0;this.aa=!1;this.Xa.g=a.clientX;this.Xa.w=a.clientY};
g.rC=function(){this.B&&(this.w&&(this.w.$f=!0),this.pb().enabled(this.Gc),this.Gc=void 0,fK(this).clear(),this.B=!1,clearInterval(this.Sa),this.Sa=null)};
function oK(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 pK(a,b){if(b&&b.originalEvent){var c=b.originalEvent,d=L(c,dk)?c.target:c.domTarget;if(d&&L(d,rJ)&&6==d.type){var c=oK(a,c),e;for(e in d.U)c[e]=d.U[e];return c}}return null}
g.iz=function(a){if(a&&a.originalEvent){var b=a.originalEvent,c=b.domTarget;if(this.hb)if(c&&L(c,rJ)){var d=a.item,e=d.get("id");m(this.lk)||(this.lk=e);var f=a.period,h=a.periodIndex;m(h)&&isNaN(this.mk)&&(this.mk=h);this.lk!=e&&this.mk!=h&&(gK(this,!0),this.lk=e,m(h)&&(this.mk=h));if(c.Ye&&!this.B){b=c.Ye;ZJ(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.W.item=d;this.W.type=c.type;f&&(this.W.ll=f);
m(h)&&(this.W.gg=h);if(!d||1!=c.type&&0!=c.type&&2!=c.type)aK(this).clear();else{var e=m(d.get("progressValue"))?parseFloat(d.get("progressValue"))/100:tq(d.U("autoProgress"),2),e=b.left+(e||0)*b.width,k=b.top+b.height;aK(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.Qb.Ba=b;this.Qb.item=d}k=b.left+b.width;d&&4!=c.type?(cK(this).clear().moveTo(k+1,b.top).lineTo(k+1-this.pe,b.top).lineTo(k+1-this.pe,b.top+b.height).lineTo(k+1,b.top+b.height).close(),
bK(this).clear().moveTo(b.left-1,b.top).lineTo(b.left-1+this.pe,b.top).lineTo(b.left-1+this.pe,b.top+b.height).lineTo(b.left-1,b.top+b.height).close(),this.ta.Ba=b,this.ta.item=d,this.ta.type=c.type,this.na.Ba=b,this.na.item=d,this.na.type=c.type,f&&(this.ta.ll=f,this.na.ll=f),m(h)&&(this.ta.gg=h,this.na.gg=h)):(bK(this).clear(),cK(this).clear());if(d&&3!=c.type){var e=b.top+b.height/2,l=this.nn/2;Ks(this.pn).call(null,eK(this),k+l+this.mn,e+this.qn,l);k=this.sn/2;Ks(this.fn).call(null,dK(this),b.left-
k+this.rn,e+this.yp,k);this.fa.item=d;this.fa.type=c.type;this.fa.index=a.hoveredIndex+this.f.vd();this.la.item=d;this.la.type=c.type;this.la.index=a.hoveredIndex+this.f.vd();f&&(this.la.ll=f,this.fa.ll=f);m(h)&&(this.la.gg=h,this.fa.gg=h)}else eK(this).clear(),dK(this).clear()}else this.qc&&d&&(e=this.Xa.f?this.la:this.fa,k=e.item,l=e.index,3!=c.type&&6!=c.type?(f?(b={item:k,period:e.ll,index:l,periodIndex:e.gg},d={item:d,period:f,index:a.hoveredIndex+this.f.vd(),periodIndex:h}):(b={item:k,index:l},
d={item:d,index:a.hoveredIndex+this.f.vd()}),f=a.originalEvent.clientX-tm(this.P().ka()).x,h=c.Ye,f=.5>(f-h.left)/h.width,f=this.Xa.f?f?"startstart":"startfinish":f?"finishstart":"finishfinish",fK(this).clear(),qK(this,b,d,f,void 0,this.Ld)):mK(this,b))}else c==ZJ(this)||c==aK(this)||c==cK(this)||c==bK(this)||c==eK(this)||c==dK(this)||this.B?this.qc&&mK(this,b):gK(this,!0);if(d=pK(this,a))this.j.dispatchEvent(d),this.mi=c.U;else if(this.mi){if(a&&a.originalEvent){a={type:"connectormouseout",actualTarget:a.originalEvent.target,
target:this,originalEvent:a.originalEvent};for(var n in this.mi)a[n]=this.mi[n];d=a}else d=null;this.j.dispatchEvent(d);this.mi=null}}};g.wx=function(a){this.hb&&(this.I=a.item)};g.hz=function(a){a&&(a=pK(this,a))&&this.j.dispatchEvent(a)};
g.jz=function(a){if(this.hb&&this.qc){if(a){var b=a.item,c=a.periodIndex,d=a.originalEvent,e=d.domTarget;if(L(e,rJ)&&3!=e.type){var d=d.clientX-tm(this.P().ka()).x,e=e.Ye,f=this.Xa.f?this.la:this.fa,e=.5>(d-e.left)/e.width;d=f.item;e=this.Xa.f?e?"startstart":"startfinish":e?"finishstart":"finishfinish";f=f.gg;e=e||"finishstart";L(d,PG)||L(d,RG)||(d=this.f.data().Zo("id",d),d=d.length?d[0]:null);if(d&&(L(b,PG)||L(b,RG)||(b=this.f.data().Zo("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=dc(h),l={},l.connectTo=p.connectTo,l.connectorType=p.connectorType||"finishstart",fc(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=dc(h),l={},l.connectTo=d.get("connectTo"),l.connectorType=d.get("connectorType")||"finishstart",fc(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().ga(!0)}}}this.qc=!1}(a=pK(this,a))&&this.j.dispatchEvent(a);this.Xa=null;this.aa=!0};g.Xw=function(a){if(this.B&&!this.ln&&(this.Fb||this.cc)){var b=0,c=0;this.Fb&&(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.Xh().add({value:{x:l,y:n}}).size(k/2).X(h)}}}}}
function nK(a,b,c){var d=a.b.top+a.Ie()+1,e=a.f.b,f=a.f.vd(),h=a.f.i,k=a.f.cf(),h=h[b];b=(b?e[b-1]:0)-((f?e[f-1]:0)+k)+d;d=BI(a.f,h);e=C(h.U("actualStart"))?h.U("actualStart"):h.U("autoStart");f=C(h.U("actualEnd"))?h.U("actualEnd"):h.U("autoEnd");e=a.f.D?h.Ve("periods",c,"start"):e;c=a.f.D?h.Ve("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=vI(a.g,e)*a.b.width+a.b.left-f;c=vI(a.g,c)*a.b.width+a.b.left+f;a.f.D||(h.get("baselineStart")&&h.get("baselineEnd")?
d=a.Gd?2.7*d/2:.65*d:h.mb()&&(d*=1-.7+.4));return new K(e,b,c-e,d)}
function qK(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=nK(a,h,b.periodIndex),u=nK(a,k,c.periodIndex);if(t&&u){c=e&&e.fill?Le(e.fill):a.Dl;e=e&&e.stroke?Se(e.stroke):a.bk;b=!!f;var v,w,x,y,z;f=f||null;var E=b?f:null,Q,U,S=ls(e)%2&&ym===zm?.5:0;switch((d+"").toLowerCase()){case "finishfinish":v=Math.round(t.left+t.width)+S;w=Math.round(t.top+t.height/2)+S;x=Math.round(u.left+u.width)+S;y=Math.round(u.top+u.height/2)+S;z="left";t.top==
u.top?(f=vK(a,v,w,x,y,f),v>x&&(z="right")):(t=Math.max(v+9,x+9),f=vK(a,v,w,t,w,f),f=vK(a,t,w,t,y,f),f=vK(a,t,y,x,y,f));E=wK(a,x,y,z,E);break;case "startfinish":v=Math.round(t.left)+S;w=Math.round(t.top+t.height/2)+S;x=Math.round(u.left+u.width)+S;y=Math.round(u.top+u.height/2)+S;z="left";v-5-5-4>x?(t=x+9,f=vK(a,v,w,t,w,f),f=vK(a,t,w,t,y,f),f=vK(a,t,y,x,y,f)):(U=u.top>=t.top,t=v-5,Q=x+9,u=Math.round(U?u.top:u.top+u.height)+S,f=vK(a,v,w,t,w,f),f=vK(a,t,w,t,u,f),f=vK(a,t,u,Q,u,f),f=vK(a,Q,u,Q,y,f),f=
vK(a,Q,y,x,y,f));E=wK(a,x,y,z,E);break;case "startstart":v=Math.round(t.left)+S;w=Math.round(t.top+t.height/2)+S;x=Math.round(u.left)+S;y=Math.round(u.top+u.height/2)+S;z="right";t.top==u.top?(f=vK(a,v,w,x,y,f),v>x&&(z="left")):(t=Math.min(v-4-5,x-4-5),f=vK(a,v,w,t,w,f),f=vK(a,t,w,t,y,f),f=vK(a,t,y,x,y,f));E=wK(a,x,y,z,E);break;default:v=Math.round(t.left+t.width)+S,w=Math.round(t.top+t.height/2)+S,x=Math.round(u.left)+S,x>=v?(x=Math.min(x+5,Math.round(u.left+u.width/2)+S),u.top>t.top?(y=Math.round(u.top)+
S,f=vK(a,v,w,x,w,f),f=vK(a,x,w,x,y,f),E=wK(a,x,y,"bottom",E)):u.topt.top?u.top:u.top+u.height)+S,t=v+5,Q=x-5-4,f=vK(a,v,w,t,w,f),f=vK(a,t,w,t,u,f),f=vK(a,t,u,Q,u,f),f=vK(a,Q,u,Q,y,f),f=vK(a,Q,y,x,y,f),E=wK(a,x,y,"right",E))}d={fromItemIndex:h,toItemIndex:k,
connType:d,fromItem:r,toItem:p};h=!!a.R&&a.R.fromItemIndex==d.fromItemIndex&&a.R.toItemIndex==d.toItemIndex&&a.R.connType==d.connType;a.f.D&&(d.fromPeriodIndex=l,d.toPeriodIndex=n,a.R&&(h&=a.R.fromPeriodIndex==d.fromPeriodIndex&&a.R.toPeriodIndex==d.toPeriodIndex));f&&!b&&(f.stroke(e),f.tag=void 0,f.type=6,f.Ye=null,f.cursor(a.hb?"pointer":"default"),d.path=f,f.U=d,f.stroke(h?a.Ri:e));E&&!b&&(E.fill(c).stroke(e),E.tag=void 0,E.type=6,E.Ye=null,E.cursor(a.hb?"pointer":"default"),d.arrow=E,E.U=d,E.stroke(h?
a.Ri:e))}}function vK(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=sK(a),f.zIndex(60).moveTo(b,c).lineTo(d,e))}return f}
function wK(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=sK(a));f.zIndex(70).moveTo(b,c).lineTo(h,k).lineTo(l,n).lineTo(b,c)}return f}
function qJ(a){var b=a.g.bd(),c=sI(a.g),d=a.f.u,e=a.f.I;J(a.g);var f=a.g,h,k;h=Xr(d);k=Xr(e);if(f.D!=h||f.g!=k)f.D=h,f.g=k,f.u=NaN,f.j=NaN,f.b=!1,rI(f),f.ha(4);a.g.la=d;a.g.fa=e;!b||isNaN(d)||isNaN(e)||(d=tI(a.g),a.g.Lf(d.min,d.min+Math.round((d.max-d.min)/10)));!b&&(b=c.min,d=c.max-b)&&(c=sI(a.g),b=c.min,a.g.Lf(b,b+d));a.g.ga(!0)}g.tD=function(){aJ(this).zIndex(34);this.Xh().P(ZI(this));this.labels().P(ZI(this));this.Em().P(WI(this));qJ(this)};
g.vu=function(){this.Em().Ba().set(this.b.left,this.b.top,this.b.width,this.Ie());this.Fi=!0};g.uu=function(){YJ(this).stroke(this.od);fK(this).stroke(this.Wd);ZJ(this).fill(this.ck).stroke(this.dk);aK(this).fill(this.fk).stroke(this.gk);bK(this).fill(this.rh).stroke(this.sh);cK(this).fill(this.rh).stroke(this.sh);dK(this).fill(this.ph).stroke(this.qh);eK(this).fill(this.ph).stroke(this.qh)};
g.Sx=function(){this.O(512)&&(this.Fi=this.Cc=!0,this.K(512));if(this.Fi){this.Em().o(64);this.va.$();var a,b=[];this.va.Qo().enabled()?a=this.va.Qo():this.va.Uo().enabled()?a=this.va.Uo():this.va.pp().enabled()&&(a=this.va.pp());a&&(b=a.lw());a=b;if(a.length)for(var b=YJ(this).clear(),c=0,d=a.length-1;cE){var U=this.b.left+this.b.width*E,S=.7*u;tK(this,new K(U,t+(u-S)/2,this.b.left+this.b.width*Q-U,S),x,5)}}}uK(this,l,f,n);f=p+this.kb}else for(var ba=this.b.top+this.Ie()+1-this.f.cf(),ca=this.f.i,V=this.f.vd();V<=JI(this.f);V++){var I=ca[V];if(!I)break;var va=BI(this.f,I),za=ba+va,sb=I.get("baselineStart"),Nc=I.get("baselineEnd");if(m(sb)&&m(Nc)){var Fa=I,
qc=ba,hd=va,nb=C(Fa.U("actualStart"))?Fa.U("actualStart"):Fa.U("autoStart"),zb=C(Fa.U("actualEnd"))?Fa.U("actualEnd"):Fa.U("autoEnd"),Wf=Fa.U("baselineStart"),Yg=Fa.U("baselineEnd"),Ul=vI(this.g,nb),pf=vI(this.g,zb),Na=vI(this.g,Wf),Od=vI(this.g,Yg);if(0Ul||0Na){var Tb=this.b,Db=Tb.left+Tb.width*Ul,me=Tb.left+Tb.width*pf,Hf=qc+hd*(1-.7)/2,qb=.7*hd/2,Vi=Tb.left+Tb.width*Na,Zg=Tb.left+Tb.width*Od,Vl=Hf+qb;if(this.Gd)var Wl=Hf,Hf=Vl,Vl=Wl;var fr=tK(this,new K(Db,Hf,me-Db,qb),Fa,1,"actual");
tK(this,new K(Vi,Vl,Zg-Vi,qb),Fa,3,"baseline");var to=1*qb,uo=Hf+(qb-to)/2,vo=m(Fa.get("progressValue"))?parseFloat(Fa.get("progressValue"))/100:tq(Fa.U("autoProgress"),2);vo&&(tK(this,new K(Db,uo,vo*(me-Db),to),Fa,2,"progress").Ye=fr.Ye)}}else if(I.mb()){var $d=I,gr=ba,gv=va,iB=C($d.U("actualStart"))?$d.U("actualStart"):$d.U("autoStart"),jB=C($d.U("actualEnd"))?$d.U("actualEnd"):$d.U("autoEnd"),hv=vI(this.g,iB),wo=vI(this.g,jB);if(0hv){var Wi=this.b.left+this.b.width*hv,iv=this.b.left+this.b.width*
wo,hr=gr+gv*(1-.7)/2,Xl=.4*gv,ir=tK(this,new K(Wi,hr,iv-Wi,Xl),$d,0,"actual"),jv=1*Xl,mk=hr+(Xl-jv)/2,jr=m($d.get("progressValue"))?parseFloat($d.get("progressValue"))/100:tq($d.U("autoProgress"),2);jr&&(tK(this,new K(Wi,mk,jr*(iv-Wi),jv),$d,2,"progress").Ye=ir.Ye)}}else if(TI(I)){var $g=I,kr=ba,xo=va,lr=$g.get("actualStart"),Yl=vI(this.g,lr);if(0<=Yl&&1>=Yl){var ah=$g.get("milestone"),Xi=ah&&m(ah.stroke)?Se(ah.stroke):this.Di,kv=(ks(Xi)?0:B(Xi)?1:Xi.thickness?Xi.thickness:1)%2&&ym===zm?.5:0,Yi=Math.round(.7*
xo/2),Zl=Math.round(this.b.left+this.b.width*Yl)+kv,$l=Math.round(kr+xo/2)+kv,Zi=sK(this);Zi.tag=$g.get("id");Zi.type=4;var mr=Zl-Yi,am=$l-Yi,yo=Zl+Yi,zo=$l+Yi,bm=Yi+Yi;Zi.zIndex(20).moveTo(mr,$l).lineTo(Zl,am).lineTo(yo,$l).lineTo(Zl,zo).close();var nr=new K(mr,am,bm,bm);Zi.Ye=nr;J(this.f.data());$g.U("relBounds",nr);this.f.data().ga(!1);var Je=ah?ah.label:void 0,bh=void 0;Je&&m(Je.value)?bh=Je.value+"":bh=$g.get("name")||"";if(bh){var If=Je&&Je.position?Je.position:this.labels().J("position"),If=
On(If),kB={value:Yr(nr,If)},Ke={value:bh},or=this.labels().add(Ke,kB);Je&&or.X(Je);J(this.f.data());$g.U("labelBounds",this.labels().measure(or));this.f.data().ga(!1)}var cm=$g==this.Pa;if(ah){var dm;cm?(dm=this.Xc,Xi=this.fd):dm=m(ah.fill)?Le(ah.fill):this.Bi;Zi.fill(dm).stroke(Xi)}else Zi.fill(cm?this.Xc:this.Bi).stroke(cm?this.fd:this.Di)}}else{var Jf=I,pr=ba,Ao=va,Bo=C(Jf.U("actualStart"))?Jf.U("actualStart"):Jf.U("autoStart"),lv=C(Jf.U("actualEnd"))?Jf.U("actualEnd"):Jf.U("autoEnd"),qr=vI(this.g,
Bo),mv=vI(this.g,lv);if(0qr){var em=this.b.left+this.b.width*qr,rr=this.b.left+this.b.width*mv,fm=.7*Ao,sr=pr+(Ao-fm)/2,nv=tK(this,new K(em,sr,rr-em,fm),Jf,1,"actual"),tr=1*fm,ur=sr+(fm-tr)/2,vr=parseFloat(Jf.get("progressValue"));vr&&(tK(this,new K(em,ur,vr*(rr-em)/100,tr),Jf,2,"progress").Ye=nv.Ye)}}uK(this,I,ba,va);ba=za+this.kb}this.labels().$();this.Xh().$();for(var Co=this.f.W,Do=Co.length,$i,lB=this.f.D?this.f.R:this.f.aa;Do--;){$i=Co[Do];var ch=$i.to;A(ch)||(ch=lB[ch]);m(ch)?($i.to=
ch,qK(this,$i.from,ch,$i.type,$i.connSettings)):lb(Co,Do,1)}for(var gm=this.Wi,mB=this.$i.length;gmc.w||(c.D=Math.min(c.D,a),c.i=a,c.g=Math.max(c.g,b),c.f=b,c.ha(4)));else if(this.qc||this.B&&this.I||!this.B)c=this.g,a&&!c.bd()&&(b=tI(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),qI(c,c.i+a,c.f+a));Jv(this,this.g,this.f)};g.scale=function(a){return m(a)?(this.g.X(a),this):this.g};
g.G=function(){var a=XJ.F.G.call(this);a.scale=this.g.G();a.labels=this.labels().G();a.markers=this.Xh().G();a.header=this.Em().G();a.columnStroke=op(this.od);a.baselineAbove=this.Gd;a.baseFill=op(this.Wj);a.baseStroke=op(this.Xj);a.baselineFill=op(this.Zj);a.baselineStroke=op(this.Cl);a.milestoneFill=op(this.Bi);a.milestoneStroke=op(this.Di);a.parentFill=op(this.pk);a.parentStroke=op(this.Gl);a.progressFill=op(this.Hl);a.progressStroke=op(this.Il);a.connectorFill=op(this.Dl);a.connectorStroke=op(this.bk);
a.selectedElementFill=op(this.Xc);a.selectedElementStroke=op(this.fd);a.selectedConnectorStroke=op(this.Ri);a.connectorPreviewStroke=op(this.Wd);a.editPreviewFill=op(this.ck);a.editPreviewStroke=op(this.dk);a.editProgressFill=op(this.fk);a.editProgressStroke=op(this.gk);a.editIntervalThumbFill=op(this.rh);a.editIntervalThumbStroke=op(this.sh);a.editConnectorThumbFill=op(this.ph);a.editConnectorThumbStroke=op(this.qh);a.editStartConnectorMarkerType=this.fn;a.editStartConnectorMarkerSize=this.sn;a.editStartConnectorMarkerHorizontalOffset=
this.rn;a.editStartConnectorMarkerVerticalOffset=this.yp;a.editFinishConnectorMarkerType=this.pn;a.editFinishConnectorMarkerSize=this.nn;a.editFinishConnectorMarkerHorizontalOffset=this.mn;a.editFinishConnectorMarkerVerticalOffset=this.qn;a.editIntervalWidth=this.pe;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=FK(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=de(c-Math.PI/2,2*Math.PI),"top"==DK(a)||"left"==DK(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 GK(a,b){var c,d;a.i.hd();b=parseFloat(b);c=EK(a);var e=a.J("position"),f=a.J("length");d=DK(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=FK(a,e,h,d,c);return[d[0],d[1],d[0]+Math.cos(e)*f,d[1]+Math.sin(e)*f,e]}
function HK(a,b){var c=GK(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(){EK(this);this.b.clear();this.b.stroke(this.J("stroke"));if(!this.wb())return this;this.O(8)&&(this.b.zIndex(this.zIndex()),this.K(8));this.O(2)&&(this.b.parent(this.P()),this.K(2));return this};g.Az=function(a){a=GK(this,a);this.b.moveTo(a[0],a[1]);this.b.lineTo(a[2],a[3])};
g.Jb=function(a,b){return ka(b)||null===b?(a?this.Ka.enabled=!!b:this.enabled(!!b),!0):!1};g.ba=function(a,b){if(b){for(var c in this.Zp){var d=a[c];m(d)&&(this.Ka[c]=d)}"enabled"in a&&(this.Ka.enabled=a.enabled);"zIndex"in a&&(this.Ka.zIndex=a.zIndex)}else qw(this,this.Zp,a),AK.F.ba.call(this,a)};
g.G=function(){var a={},b;this.Lb("zIndex")&&(b=this.lb("zIndex"));m(b)||(b=this.Kb("zIndex"));m(b)&&(a.zIndex=b);var c;this.Lb("enabled")&&(c=this.lb("enabled"));m(c)||(c=this.Kb("enabled"));a.enabled=m(c)?c:null;rw(this,this.Zp,a,"Map axis ticks props");return a};function IK(){W.call(this);this.Tt=[];this.Ut=[];this.Ka={};this.f={};this.j=this.ca=null;this.Hb=980}G(IK,W);g=IK.prototype;g.pa=W.prototype.pa|976;g.ma=W.prototype.ma|32768;g.eb=null;g.wa=null;g.fb=null;g.rb=null;g.Nb=null;g.za=null;g.Tt=null;g.Ut=null;g.lb=function(a){return this.f[a]};g.Lb=function(a){return m(this.f[a])};g.Kb=function(a){return this.Ka[a]};g.J=Nw;g.Ob=function(a,b){this.f[a]=b};g.ya=function(){return!0};g.ee=function(a){m(a)&&(this.j=a);return this.j};g.Yf=Mw;
g.Wc=function(){var a=[this.Ka];this.ca&&(a=pb(a,this.ca.Wc()));return a};g.Mc=function(){var a=[this.f];this.ca&&(a=pb(a,this.ca.Mc()));return a};g.parent=function(a){return m(a)?(this.ca!=a&&(this.ca&&Fv(this.ca,this.Cz,this),(this.ca=a)&&R(this.ca,this.Cz,this)),this):this.ca};g.Cz=function(a){var b=0,c=0;T(a,1)&&(b|=16,c|=1);T(a,8)&&(b|=this.Hb,c|=8);T(a,32768)&&(b|=1,c|=9);this.j=null;this.o(b,c)};var JK=IK.prototype,KK={};X(KK,1,"stroke",vw,16,1);X(KK,0,"overlapMode",co,980,9);
X(KK,0,"drawFirstLabel",nw,980,9);X(KK,0,"drawLastLabel",nw,980,9);JK.$p=KK;ow(IK,IK.prototype.$p);g=IK.prototype;g.enabled=function(a){return m(a)?(this.f.enabled!=a&&(a=this.f.enabled=a,this.o(1,this.Jh()),a?(this.xa=!1,this.ga(!0)):isNaN(this.Vd)?J(this):this.xa=!0),this):this.J("enabled")};g.title=function(a){this.La||(this.La=new cy,this.La.ob(this),this.La.parent(this.parent().title()),R(this.La,this.xI,this),H(this,this.La));return m(a)?(this.La.X(a),this):this.La};
g.xI=function(a){var b=0,c=0;T(a,8)?(b=this.Hb,c=9):T(a,1)&&(b=64,c=1);this.o(b,c)};g.labels=function(a){this.wa||(this.wa=new MA,this.wa.ob(this),R(this.wa,this.uI,this),H(this,this.wa));return m(a)?(!A(a)||"enabled"in a||(a.enabled=!0),this.wa.X(a),this):this.wa};g.uI=function(a){var b=0,c=0;T(a,8)?(b=this.Hb,c=9):T(a,1)&&(b=384,c=1);this.Db();this.o(b,c)};
g.Fa=function(a){this.rb||(this.rb=new MA,this.rb.ob(this),R(this.rb,this.vI,this),H(this,this.rb));return m(a)?(!A(a)||"enabled"in a||(a.enabled=!0),this.rb.X(a),this):this.rb};g.vI=function(a){var b=0,c=0;T(a,8)?(b=this.Hb,c=9):T(a,1)&&(b=384,c=1);this.Db();this.o(b,c)};function LK(a){var b=new AK;DK(b,a.w);b.ob(a);R(b,a.wI,a);H(a,b);return b}g.Hd=function(a){this.fb||(this.fb=LK(this),this.fb.parent(this.parent().Hd()));return m(a)?(this.fb.X(a),this):this.fb};
g.Ma=function(a){this.Nb||(this.Nb=LK(this),this.Nb.parent(this.parent().Ma()));return m(a)?(this.Nb.X(a),this):this.Nb};g.wI=function(a){var b=0,c=0;T(a,8)?(b=this.Hb,c=9):T(a,1)&&(b=384,c=1);this.Db();this.o(b,c)};g.scale=function(a){return m(a)?(this.Ud!=a&&(this.Ud&&Fv(this.Ud,this.Dz,this),(this.Ud=a)&&R(this.Ud,this.Dz,this),this.Db(),oB(this.labels()),oB(this.Fa()),this.Hd().Sm(this.Ud),this.Ma().Sm(this.Ud),this.o(this.Hb,9)),this):this.Ud};
g.Dz=function(a){T(a,2)&&(this.Db(),oB(this.labels()),oB(this.Fa()),this.o(this.Hb,9))};g.xc=function(a){return m(a)?(this.w=a,this):this.w};g.tc=function(){return"top"==this.w||"bottom"==this.w};g.Vj=function(a){this.b&&this.b.Za(a.tb,a.Mb,a.Ib,a.Gb,a.ub,a.vb)};
function MK(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.tc()?0=V&&va||1<=V&&za?E=I:0V&&(E=I)),I++;U<=Fa&&x=V&&va||1<=V&&za?(t=y,r.push(!0)):0V?(t=y,r.push(!0)):r.push(!1))):r.push(!1),y++)}qc||(r=!1)}p||(n=!1);this.u={labels:n,Fa:r};this.K(512)}l=this.u}A(l)?(p=l.labels,r=l.Fa):(p=!l,r=!l);z=(this.tc()?this.scale().Yj():this.scale().$j()).get();n=l=0;for(E=z.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 Qo(2),this;if(!this.wb())return this;var b=eL(this,!0),c=eL(this,!1);this.b||(this.b=Yh(),gL(this).parent(this.b),fL(this).parent(this.b),b.parent(this.b).zIndex(1),c.parent(this.b).zIndex(0));if(this.O(8)){var d=this.zIndex();this.b.zIndex(d);this.K(8)}this.O(2)&&(d=this.P(),this.b.parent(d),this.K(2));this.O(16)&&(b.stroke(this.J("stroke")),c.stroke(this.J("minorStroke")),fL(this).fill(this.J("oddFill")),gL(this).fill(this.J("evenFill")),this.K(16));if(this.O(64)||
this.O(4)){var e,f,h,k,l,d=NaN,n,p,r,t=a.precision();"horizontal"==dL(this)?(h=a.bj(),k=a.$j(),t=t[0],a=a.cg(),e=[this.QI,this.NI]):(h=a.aj(),k=a.Yj(),t=t[1],a=a.bg(),e=[this.RI,this.OI]);h=h.get();k=k.get();gL(this).clear();fL(this).clear();b.clear();c.clear();var u=e[0],v=e[1];n=-b.fh()%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 nL(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,z=f*(u*v+x*p*l*t),E=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=E*h-p*z;if(!l)break;E=(y*E-w*p)/l;w=(w*h-y*z)/l;c-=E;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[ge(a),ge(b)]};function qL(){this.f=45*Math.PI/180;this.b=1/Math.tan(this.f)}G(qL,mL);qL.prototype.forward=function(a,b){a=fe(a);b=fe(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]};qL.prototype.ad=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[ge(a),ge(d)]};function rL(){}G(rL,mL);rL.prototype.forward=function(a,b){a=fe(a);b=fe(b);var c=Math.sqrt(8/(3*Math.PI));a=c*a*(1-Math.abs(b)/Math.PI);return[a,c*b]};rL.prototype.ad=function(a,b){var c=Math.sqrt(8/(3*Math.PI)),d=b/c;a/=c*(1-Math.abs(d)/Math.PI);return[ge(a),ge(d)]};function sL(){}G(sL,mL);sL.prototype.forward=function(a,b){a=fe(a);b=fe(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]};sL.prototype.ad=function(a,b){var c=Math.sqrt(Math.PI*(4+Math.PI))/2;a=a*c/(1+nL(1-b*b*(4+Math.PI)/(4*Math.PI)));return[ge(a),ge(b*c/2)]};function tL(){}G(tL,mL);tL.prototype.forward=function(a,b){a=fe(a);b=fe(b);return[a,b]};tL.prototype.ad=function(a,b){return[ge(a),ge(b)]};function uL(){}G(uL,mL);uL.prototype.forward=function(a,b){a=fe(a);b=fe(b);var c=Math.cos(fe(35)),d=Math.tan(b/2);a=a*c*nL(1-d*d);return[a,(1+c)*d]};uL.prototype.ad=function(a,b){var c=Math.cos(fe(35)),d=b/(1+c);a=a?a/(c*nL(1-d*d)):0;b=2*Math.atan(d);return[ge(a),ge(b)]};function vL(a,b){this.scale=a;this.b=b}G(vL,mL);vL.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]};vL.prototype.ad=function(a,b){var c=Bq(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 wL(){this.b=2;this.f=new vL(function(a){return Math.sqrt(2/(1+a))},function(a){return 2*Math.asin(a/2)})}G(wL,mL);wL.prototype.forward=function(a,b){a=fe(a);b=fe(b);var c=this.f.forward(a/2,b);c[0]*=this.b;a=c[0];b=c[1];return[a,b]};wL.prototype.ad=function(a,b){var c=this.f.ad(a/this.b,b);c[0]*=2;a=c[0];b=c[1];return[ge(a),ge(b)]};function xL(){}G(xL,mL);xL.prototype.forward=function(a,b){a=fe(a);b=fe(b);b=Math.log(Math.tan(Math.PI/4+b/2));return[a,b]};xL.prototype.ad=function(a,b){b=2*Math.atan(Math.exp(b))-Math.PI/2;return[ge(a),ge(b)]};function yL(){this.b=new vL(function(){return 1},Math.asin)}G(yL,mL);yL.prototype.forward=function(a,b){a=fe(a);b=fe(b);var c=this.b.forward(a,b);a=c[0];b=c[1];return[a,b]};yL.prototype.ad=function(a,b){var c=this.b.ad(a,b);a=c[0];b=c[1];return[ge(a),ge(b)]};function zL(a){this.f=a;this.b=window.proj4}G(zL,mL);zL.prototype.forward=function(a,b){return this.b(this.f).forward([a,b])};zL.prototype.ad=function(a,b){return this.b(this.f).inverse([a,b])};function AL(){}G(AL,mL);var BL=[[.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]];
AL.prototype.forward=function(a,b){if(isNaN(a)||isNaN(b))return[NaN,NaN];a=fe(a);b=fe(b);var c,d=Math.min(18,36*Math.abs(b)/Math.PI),e=Math.floor(d),d=d-e,f=(c=BL[e])[0],h=c[1],k=(c=BL[++e])[0],l=c[1],e=(c=BL[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=tq(ge(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)}bM(this)||(f=d,d=e,e=f);var f=this.j.length,n=null==
this.dc,p=null==this.Ia,r=null!=this.dc?O(this.length(),b):d*f,t=null!=this.Ia?O(this.width(),c):e,d=e=0,u=!1,v=!1,h=this.title();h.enabled()&&(h.P()||h.P(this.P()),J(h),h.ja(a),hy(h,this.Fg()),bM(this)?(e=h.$c().height,d=h.$c().width):(e=h.$c().width,d=h.$c().height),u=h.J("orientation")||hy(h),"top"==u||"bottom"==u?(u=bM(this),v=!bM(this)):(u=!bM(this),v=bM(this)),h.ga(!1));var w,x,y=this.sq(),l=O(y.J("top"),a.height),k=O(y.J("right"),a.width),z=O(y.J("bottom"),a.height),y=O(y.J("left"),a.width),
E=this.margin(),Q=O(E.J("top"),a.height),U=O(E.J("right"),a.width),S=O(E.J("bottom"),a.height),E=O(E.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+z+l+S+Q>b?(b-(z+l+S+Q)-(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.qq();var ba;bM(this)?(r+k+y+U+E>b&&(r=b-(k+y+U+E)),"left"==c||"top"==c?ba=y+E:"right"==c||"bottom"==c?ba=b-r-k-U:"center"==c&&(ba=(b-r)/2)):(r+z+l+S+Q>b&&(r=b-(z+l+S+Q)),"left"==c||"top"==c?ba=l+Q:"right"==c||"bottom"==c?ba=b-r-z-S:"center"==c&&(ba=(b-r)/2));var ca,V;switch(this.Fg()){case "top":x=a.top+l+Q;w=a.left+ba;V=t;ca=r;this.N=new K(w,x,this.i,this.g);break;case "right":x=a.top+ba;w=a.left+a.width-t-k-U;V=r;ca=t;this.N=new K(w,x,this.g,this.i);break;case "bottom":x=a.top+
a.height-t-z-S;w=a.left+ba;V=t;ca=r;this.N=new K(w,x,this.i,this.g);break;case "left":x=a.top+ba,w=a.left+y+E,V=r,ca=t,this.N=new K(w,x,this.g,this.i)}if(h.enabled())switch(u=h.J("orientation")||hy(h),u){case "top":this.N.left=w;this.N.top=x+(bM(this)?e:d);break;case "left":this.N.left=w+(bM(this)?d:e),this.N.top=x}this.Tf=new K(Math.round(w),Math.round(x),Math.round(ca),Math.round(V));this.R=new K(this.Tf.left-y,this.Tf.top-l,this.Tf.width+y+k,this.Tf.height+l+z);this.W=new K(this.R.left-E,this.R.top-
Q,this.R.width+E+U,this.R.height+Q+S)}else this.W=new K(0,0,0,0);this.o(this.Hb);this.K(4)}return this.W};function aM(a,b){if(null===a.i||null===a.g)return{value:{x:0,y:0}};var c,d,e=a.N;switch(a.Fg()){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 cM(a,b,c,d){var e=b.Na(),f=b.be(),h=xA(f);h.select(e);d=m(d)?d:uA(f.state,e);b.state=d;var k=f.Oa(),l=!!(d&Bp),n=!l&&!!(d&Ap),p=f.labels();b=k.get("label");l?(l=k.get("selectLabel"),k=f.xh()):n?(l=k.get("hoverLabel"),k=f.wh()):k=l=null;n=NL(f);n.j=f.Ff(e);c.Ih(n);tB(c,p);uB(c,k);c.yl(b,l);oB(p);e=!!(d&Bp);d=!e&&!!(d&Ap);e=e?a.tq():d?a.rq():a.labels();d=hB(a.labels());d.enabled=a.labels().enabled();b=hB(e);b.enabled=null===e.enabled()?d.enabled:e.enabled();c.yl(d,c.state("pointState")?fc(c.state("pointState"),
b):b);e=aM(a,c.Na());e.connectorPoint={value:WL(f)};c.vc(e);bM(a)?(c.width(a.i),c.height(a.g)):(c.width(a.g),c.height(a.i));switch(a.Fg()){case "top":c.anchor("centerbottom");break;case "right":c.anchor("leftcenter");break;case "bottom":c.anchor("centertop");break;case "left":c.anchor("rightcenter")}h.U("shapes")&&(a=h.U("fill"),h=h.U("stroke"),c.xq().enabled(!0).fill(a).stroke(h));return c}
function dM(a){var b=a.labels();b.P()||b.P(a.P());b.ja(a.ja());b.clear();for(var c=0,d=a.j.length;cb?"inside"==a.position()?0:c:c:c);return c};
g.Pt=function(a,b,c,d,e){c=a.top+a.height+c/2-d;var f=this.scale();if(L(f,sD))this.eb.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(L(f,yD)){d=f.Hj();for(var f=f.zd(),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.xc()){case "top":f=a.top+k;e=a.left+r;u=c;t=d;break;case "right":f=a.top+r;e=a.left+a.width-c-l;u=d;t=c;break;case "bottom":f=a.top+a.height-c-n;e=a.left+r;u=c;t=d;break;case "left":f=a.top+r,e=a.left+h,u=d,t=c}this.xg=new K(Math.round(e),Math.round(f),Math.round(t),Math.round(u))}else this.xg=new K(0,0,0,0);this.K(4)}return this.xg};
g.iw=function(a){return O(this.dc,a)};
g.mB=function(a,b){var c=this.ra(),d=this.Ma(),e=this.Ej(c),f=this.Ej(d),h=iM(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.R)+(!e||ks(e)?0:e.thickness?parseFloat(e.thickness):1))};
function jM(a,b){var c=a.scale(),d=a.j,e=d.Sf()||(d.dw?d.dw():void 0),f=a.b&&a.b.enabled(),d=d&&d.enabled()&&e==c;if(a.enabled()&&f&&c&&d&&(c=a.eb.Qa(),f=ce(a.scale().transform(b,.5),0,1),!isNaN(f))){var h,k,l;switch(a.xc()){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).vc({value:{x:h,
y:k}}).ga(!1).$();a.b.ae().visible(!0)}}function kM(a){a.scale()&&a.b&&a.b.ae().visible(!1)}g.scale=function(a){var b=this.Ud||lM(this);m(a)&&b&&b!=a&&b.Sb()!=a.Sb()&&(this.eb&&(this.eb.ye(),this.eb.parent(null),this.eb=null),this.g&&(this.g.length=0));return gM.F.scale.call(this,a)||lM(this)};function lM(a){a.na||(a.na=QB(),a.na.zd("#fff","#000"));return a.na}
g.$=function(){if(!this.wb())return this;this.O(1024)&&(this.b&&(this.b.P(this.P()),this.b.zIndex(this.zIndex()+1),this.b.$(),this.b.ae().visible(!1)),this.K(1024));this.O(2)&&this.b&&this.b.P(this.P());if(this.O(8)&&this.b){var a=this.zIndex();this.b.zIndex(a+1)}return gM.F.$.call(this)};
g.XM=function(a){var b=this.scale(),c=this.j,d=c.Sf()||c.dw();if(this.enabled()&&b&&c&&c.enabled()&&d==b){var d=this.eb.Qa(),e,f;this.tc()?(e=a.clientX,f=d.left+tm(this.P().ka()).x,d=(e-f)/d.width):(e=a.clientY,f=d.top+tm(this.P().ka()).y,d=(d.height-(e-f))/d.height);d=b.Fc(d);a.metaKey||a.shiftKey||!c.map||c.map.qf();if(L(b,yD))d=b.Lh(d),b&&c&&(e=this.da[d.sourceIndex],b=c.ac(),b=b.kd(),"single"==b.Bc()?this.Hc={oa:c,Eb:e}:this.Hc=[{oa:c,Eb:e,Gm:e[e.length-1],ic:{index:e[e.length-1],Sd:0}}]);else if(L(b,
sD)){a=xA(c);e=Infinity;for(var h=NaN,k=b.Zq(),l=b.Xq();a.advance();){f=a.get(c.Yb?c.Yb.jh:c.zs[1]);f=ce(f,k,l);var n=Math.abs(d-f);e>n&&(e=n,h=f)}e=[];a=xA(c);for(d=h;a.advance();)f=a.get(c.Yb?c.Yb.jh:c.zs[1]),f=ce(f,k,l),f==d&&e.push(a.Na());b&&c&&(b=c.ac(),b=b.kd(),"single"==b.Bc()?this.Hc={oa:c,Eb:e}:this.Hc=[{oa:c,Eb:e,Gm:e[e.length-1],ic:{index:e[e.length-1],Sd:0}}])}}};
g.cA=function(a){var b=this.scale(),c=this.j,d=c.Sf()||c.dw();if(this.enabled()&&b&&c&&c.enabled()&&d==b){var d=this.eb.Qa(),e,f;this.tc()?(e=a.clientX,f=d.left+tm(this.P().ka()).x,d=(e-f)/d.width):(e=a.clientY,f=d.top+tm(this.P().ka()).y,d=(d.height-(e-f))/d.height);var h,d=b.Fc(d);if(L(b,yD))a=b.Lh(d),h=this.da[a.sourceIndex],b=c.ac(),f=b.kd(),"single"==f.Bc()?this.Hc={oa:c,Eb:h}:this.Hc=[{oa:c,Eb:h,Gm:h[h.length-1],ic:{index:h[h.length-1],Sd:0}}];else if(L(b,sD)&&c){f=xA(c);h=Infinity;for(var k=
NaN,l=b.Zq(),n=b.Xq();f.advance();){e=f.get(c.Yb?c.Yb.jh:c.zs[1]);e=ce(e,l,n);var p=Math.abs(d-e);h>p&&(h=p,k=e)}h=[];f=xA(c);for(d=k;f.advance();)e=f.get(c.Yb?c.Yb.jh:c.zs[1]),e=ce(e,l,n),e==d&&h.push(f.Na());b&&c&&(b=c.ac(),f=b.kd(),"single"==f.Bc()?(this.Hc&&!fb(h,function(a){return jb(this.Hc.Eb,a)},this)&&b.dispatchEvent(OA(b,"hovered",a,[{oa:c,Eb:[],ic:{index:this.Hc.Eb[this.Hc.Eb.length-1],Sd:0}}],!1)),this.Hc={oa:c,Eb:h}):this.Hc=[{oa:c,Eb:h,Gm:h[h.length-1],ic:{index:h[h.length-1],Sd:0}}])}jM(this,
d)}};g.pJ=function(){kM(this);var a=this.j;a&&(this.f=a)};g.remove=function(){gM.F.remove.call(this);this.b&&this.b.remove()};g.G=function(){var a=gM.F.G.call(this);a.marker=this.Pw().G();a.colorLineSize=this.jr();a.length=this.length();a.align=this.uq();return a};g.ba=function(a,b){gM.F.ba.call(this,a,b);this.Pw(a.marker);this.jr(a.colorLineSize);this.length(a.length);this.uq(a.align)};var mM=gM.prototype;mM.marker=mM.Pw;mM.colorLineSize=mM.jr;mM.length=mM.length;mM.align=mM.uq;function nM(){xE.call(this)}G(nM,xE);g=nM.prototype;
g.show=function(a){var b=[];ab(a.seriesStatus,function(a){a.series.enabled()&&a.points.length&&b.push(a)},this);if(b.length){var c=b[0];ab(b,function(a){c.nearestPointToCursor.distance>a.nearestPointToCursor.distance&&(c=a)});a=this.gy();var d=this.hy(),e=this.bn(),f=this.en(),h=this.$m(),k=this.dn(),l=c.series,n=l.Oa();n.select(c.nearestPointToCursor.point.index);var p=P(n.U("x")),n=P(n.U("value"));if(isNaN(p)||isNaN(n))n=XL(l).value,p=n.x,n=n.y;var l=this.Ca.scale(),n=l.Fc(p,n),p=n[0],n=n[1],r=
l.zg(p),l=l.hg(n);0r?(e&&"none"!=e&&oM(this,a,this.g,p),h.enabled()&&pM(this,a,h,p)):BE(this);0l?(f&&"none"!=f&&oM(this,d,this.j,n),k.enabled()&&pM(this,d,k,n)):CE(this)}else this.fc()};
g.update=function(a,b){if(this.enabled()){var c,d;m(a)?c=parseFloat(a):c=m(this.R)?this.R:0;m(b)?d=parseFloat(b):d=m(this.W)?this.W:0;c=this.Ca.mw(c,d);var e=this.Ca.Fc(c.x,c.y);c=e["long"];d=e.lat;var f=this.Ca.scale(),h=f.zg(e.x),e=f.hg(e.y),f=this.gy(),k=this.hy(),l=this.bn(),n=this.en(),p=this.$m(),r=this.dn();0h&&0e?(f&&DE(f)?(l&&"none"!=l&&oM(this,f,this.g,c),p.enabled()&&pM(this,f,p,c)):BE(this),k&&DE(k)?n&&"none"!=n&&(oM(this,k,this.j,d),r.enabled()&&pM(this,k,r,d)):CE(this)):
this.fc()}};g.Bk=function(a){this.R=a.clientX;this.W=a.clientY;this.update(a.clientX,a.clientY)};g.vq=function(a){if(!Qr(this.Ca,a.relatedTarget)){this.R=a.clientX;this.W=a.clientY;a=this.Ca.mw(a.clientX,a.clientY);var b=this.Ca.Fc(a.x,a.y),c=this.Ca.scale();a=c.zg(b.x);b=c.hg(b.y);(0>a||1b||1=a&&(" "===a||"\n"===a||"\t"===a||"\r"===a||"\f"===a)}function yM(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"