Number(vc)&&(d.src='javascript:""');c.ae=Qf(c.Hd).f("IFRAME",d);d=c.ae.style;d.visibility="hidden";d.width=d.height="10px";d.display="none";qc?d.marginTop=d.marginLeft="-10px":(d.position="absolute",d.top=d.left="-10px");if(mc&&!zc("11")){c.Hd.target=c.$k||"";Qf(c.Hd).b.body.appendChild(c.ae);Wc(c.ae,"readystatechange",c.$w,!1,c);try{c.b=!1,c.Hd.submit()}catch(xb){dd(c.ae,"readystatechange",c.$w,!1,c),En(c)}}else{El(c.ue,"Setting up iframes and cloning form");
Qf(c.Hd).b.body.appendChild(c.ae);var d=c.$k+"_inner",e=pg(c.ae),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&&!qc){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.Hd);f=0;for(h=k.length;f.");if("A"in Nf)throw Error("Tag name is not allowed for SafeHtml.");y=null;var va;A="";if(x)for(var za in x){if(!Lf.test(za))throw Error('Invalid attribute name "'+za+'".');var sb=x[za];if(null!=sb){D=A;var Nc,P=za,R=sb;if(R instanceof jf)R=lf(R);else if("style"==P.toLowerCase()){T=R;if(!z(T))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+
typeof T+" given: "+T);if(!(T instanceof nf)){ba=T;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.Bm()}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"+
ll(void 0)+"-> "))}catch(Wf){v=Kf("Exception trying to expose exception! You win, we lose. "+Wf)}v=Ef(v);f&&f.log(tl,"Error when submitting form: "+v,void 0);dd(e.getElementById(d),"load",c.ns,!1,c);e.close();En(c)}}Fn(c)}function Dn(a,b){var c=Qf(a);Ek(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=zn.prototype;g.ue=Cl("goog.net.IframeIo");g.Hd=null;g.ae=null;g.$k=null;g.MN=0;g.ri=!1;g.nw=null;g.Fw=null;g.Zk=null;
g.abort=function(){this.ri&&(Dl(this.ue,"Request aborted"),fd(Gn(this)),this.ri=!1,this.dispatchEvent("abort"),Hn(this))};g.da=function(){El(this.ue,"Disposing iframeIo instance");this.ri&&(El(this.ue,"Aborting active request"),this.abort());zn.F.da.call(this);this.ae&&In(this);Fn(this);delete this.g;this.nw=this.Fw=this.Hd=null;delete Bn[this.f]};g.Jj=function(){return this.ri};
g.$w=function(){if("complete"==this.ae.readyState){dd(this.ae,"readystatechange",this.$w,!1,this);var a;try{if(a=pg(this.ae),mc&&"about:blank"==a.location&&!navigator.onLine){En(this);return}}catch(b){En(this);return}Jn(this,a)}};g.ns=function(){if(!lc||qc||"about:blank"!=(this.ae?pg(Gn(this)):null).location){dd(Gn(this),"load",this.ns,!1,this);try{Jn(this,this.ae?pg(Gn(this)):null)}catch(a){En(this)}}};
function Jn(a,b){El(a.ue,"Iframe loaded");a.ri=!1;var c;try{var d=b.body;a.Fw=d.textContent||d.innerText}catch(e){c=1}c||"function"!=typeof a.g||(d=a.g(b))&&(c=4);(d=a.ue)&&d.log(yl,"Last content: "+a.Fw,void 0);(d=a.ue)&&d.log(yl,"Last uri: "+a.nw,void 0);c?(El(a.ue,"Load event occurred but failed"),En(a)):(El(a.ue,"Load succeeded"),a.dispatchEvent("complete"),a.dispatchEvent("success"),Hn(a))}function En(a){a.b||(a.ri=!1,a.dispatchEvent("complete"),a.dispatchEvent("error"),Hn(a),a.b=!0)}
function Hn(a){Dl(a.ue,"Ready for new requests");In(a);Fn(a);a.Hd=null;a.dispatchEvent("ready")}function In(a){var b=a.ae;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&&!qc?a.Zk=od(a.eC,2E3,a):a.eC();a.ae=null;a.$k=null}g.eC=function(){this.Zk&&(da.clearTimeout(this.Zk),this.Zk=null);for(;this.i.length;){var a=this.i.pop();Dl(this.ue,"Disposing iframe");lg(a)}};function Fn(a){a.Hd&&a.Hd==Cn&&jg(a.Hd)}
function Gn(a){return a.ae?mc&&!zc("11")?a.ae:pg(a.ae).getElementById(a.$k+"_inner"):null}g.dF=function(){if(this.ri){var a=this.ae?pg(Gn(this)):null;a&&!ic(a,"documentUri")?(dd(Gn(this),"load",this.ns,!1,this),navigator.onLine?(a=this.ue)&&a.log(ul,"Silent Firefox error detected",void 0):(a=this.ue)&&a.log(ul,"Firefox is offline so report offline error instead of silent error",void 0),En(this)):od(this.dF,250,this)}};var Kn={};function nh(a){var b=a.X();if(b){var c=String(la(a));Kn[c]=a;b.setAttribute("data-ac-wrapper-id",c)}}function vh(a){delete Kn[String(la(a))];(a=a.X())&&a.removeAttribute("data-ac-wrapper-id")}function fk(a,b){for(var c,d=b.X().parentNode;a&&a!=d;){c=a.getAttribute&&a.getAttribute("data-ac-wrapper-id")||null;if(null!=c)break;a=a.parentNode}return(c=Kn[c||""]||null)&&c.X()==a?c:null}var Am="svg",zm=null,zm=mc&&!zc("9")?"vml":Am,gh="vml"==zm?Ym.Mc():Mj.Mc();
function Fm(a,b,c){return"vml"==zm?new wn(a,b,c):new Im(a,b,c)}var xm="//export.anychart.com";function sk(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 rh(a,b,c,d){return new Eh(a,b,c,d)}function sh(a,b,c){return new Bh(a,b,c)}
function Zh(){return new Yh}function th(a,b,c,d){return new zh(a,b,c,d)}function uh(){return new Fh}function bi(a,b,c,d,e){return new Fi(a,b,c,d,e)}function ai(a,b,c,d){a="vml"==zm?new sn(a,b):new rj(a,b);d&&a.style(d);c&&a.text(c);return a}function Ue(a,b,c,d){return new xh(a,b,c,d)}function Qe(a){return new Pe(a)}function qh(a,b,c,d){return"vml"==zm?new Jm(null,a,b,c,d):new oh(null,a,b,c,d)}var Ln=void 0;
function Zj(){return m(Ln)?Ln:mc&&zc("9")&&!zc("10")?Ln="":Ln=be||null===be&&Vf("base",void 0,void 0).length?window.location.origin+window.location.pathname+window.location.search:""}F("acgraph.create",Fm);F("acgraph.type",function(){return zm});F("acgraph.server",function(a){m(a)&&(xm=a);return xm});F("acgraph.StageType.SVG",Am);F("acgraph.StageType.VML","vml");F("acgraph.rect",rh);F("acgraph.circle",sh);F("acgraph.ellipse",th);F("acgraph.path",uh);F("acgraph.text",ai);F("acgraph.layer",Zh);
F("acgraph.image",bi);F("acgraph.hatchFill",Ue);F("acgraph.patternFill",Qe);F("acgraph.clip",qh);F("acgraph.useAbsoluteReferences",function(a){if(m(a))be=a;else return!!Zj()});F("acgraph.updateReferences",function(){var a=Ln;Ln=void 0;if(m(a)&&Zj()!=a){var b=gh,c;for(c in Kn)if(Kn.hasOwnProperty(c)){var a=Kn[c],d=a.ja();d&&(a instanceof dh&&(d.ac()?a.ya(512):a.Pb(512)||b.Dx(a)),a instanceof ph&&(d.ac()?a.ya(24):(a.Pb(8)||Yj(b,a),a.Pb(16)||ck(b,a))))}}});F("anychart.VERSION","7.14.0.1429");F("anychart.DEVELOP",!0);F("anychart.DEFAULT_THEME","defaultTheme");F("anychart.PERFORMANCE_MONITORING",!1);function Mn(a){a=String(a).toLowerCase();switch(a){case "byspot":case "spot":case "sp":return"bySpot";case "single":case "s":return"single"}return"byX"}function Nn(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 On(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 Pn(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 Qn(a,b){a=Pn(a,b);return"auto"==a&&m(b)?b:a}
function Rn(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 Sn(a){a=String(a).toLowerCase();switch(a){case "horizontal":case "h":case "horz":case "horiz":return"horizontal"}return"vertical"}
function Tn(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 Un(a){a=String(a).toLowerCase();switch(a){case "radial":case "r":case "rad":return"radial"}return"circuit"}
function Vn(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 Wn(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 Xn={RP:"circle",VQ:"square",iR:"triangleUp",hQ:"diamond",fR:"triangleDown",hR:"triangleRight",gR:"triangleLeft",UP:"cross",aG:"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 Yn(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 Zn(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 $n;case "line":return ao;case "ellipse":return bo;case "bar":return co;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 eo(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 fo(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 $n="x",ao="line",bo="ellipse",co="bar";function go(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 ho(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 io(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 jo(a){a=String(a).toLowerCase();switch(a){case "bubble":return"bubble";case "marker":return"marker";case "connector":return"connector"}return"choropleth"}
function ko(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 lo(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 mo(a){a=String(a).toLowerCase();switch(a){case "raw":return"raw";case "grouped":return"grouped"}return"specific"}
function no(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 oo(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 po(a){z(a)&&(a=a.mode);a=String(a).toLowerCase();switch(a){case "byword":return"byWord";case "bychar":return"byChar"}return"csv"}
function qo(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 ro(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 so(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 to(a){a=String(a).toLowerCase();switch(a){case "italic":case "i":return"italic";case "oblique":case "o":return"oblique"}return"normal"}
function uo(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 Ho(a){a=String(a).toLowerCase();switch(a){case "rtl":case "r":return"rtl"}return"ltr"}function Io(a){a=String(a).toLowerCase();switch(a){case "nowrap":case "no":case "n":return"noWrap";case "byword":return"byWord";default:return"byLetter"}}
function Jo(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 Ko(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 Lo={uP:"average",wF:"bubbleSize",xF:"bubbleSizePercentOfCategory",yF:"bubbleSizePercentOfSeries",zF:"bubbleSizePercentOfTotal",xP:"categoryName",AF:"categoryYAverage",zP:"categoryYMax",BF:"categoryYMedian",CP:"categoryYMin",CF:"categoryYMode",DF:"categoryYPercentOfTotal",FP:"categoryYRangeAverage",EF:"categoryYRangeMax",IP:"categoryYRangeMedian",FF:"categoryYRangeMin",LP:"categoryYRangeMode",GF:"categoryYRangePercentOfTotal",HF:"categoryYRangeSum",IF:"categoryYSum",JF:"close",TP:"count",KF:"dataPlotBubbleMaxSize",
LF:"dataPlotBubbleMinSize",MF:"dataPlotBubbleSizeAverage",NF:"dataPlotBubbleSizeSum",ZP:"dataPlotMaxXSumSeriesName",aQ:"dataPlotMaxYSumSeriesName",$P:"dataPlotMaxXValuePointSeriesName",bQ:"dataPlotMaxYValuePointSeriesName",cQ:"dataPlotMinXSumSeriesName",eQ:"dataPlotMinYSumSeriesName",dQ:"dataPlotMinXValuePointSeriesName",fQ:"dataPlotMinYValuePointSeriesName",OF:"dataPlotPointCount",PF:"dataPlotSeriesCount",QF:"dataPlotXAverage",RF:"dataPlotXMax",SF:"dataPlotXMin",TF:"dataPlotXSum",UF:"dataPlotYAverage",
VF:"dataPlotYMax",WF:"dataPlotYMin",XF:"dataPlotYRangeMax",YF:"dataPlotYRangeMin",ZF:"dataPlotYRangeSum",$F:"dataPlotYSum",cG:"high",dG:"index",eG:"low",qQ:"max",sQ:"min",tQ:"name",OPEN:"open",KQ:"pointsCount",HQ:"pertChartCriticalPathStandardDeviation",IQ:"pertChartProjectDuration",hG:"range",iG:"rangeEnd",jG:"rangeStart",MQ:"seriesAverage",kG:"seriesBubbleMaxSize",lG:"seriesBubbleMinSize",mG:"seriesBubbleSizeAverage",nG:"seriesBubbleSizeMedian",oG:"seriesBubbleSizeMode",pG:"seriesBubbleSizeSum",
qG:"seriesFirstXValue",rG:"seriesFirstYValue",sG:"seriesLastXValue",tG:"seriesLastYValue",NQ:"seriesMax",OQ:"seriesMin",PQ:"seriesName",vG:"seriesPointCount",uG:"seriesPointsCount",QQ:"seriesSum",wG:"seriesXAverage",xG:"seriesXMax",yG:"seriesXMedian",zG:"seriesXMin",AG:"seriesXMode",BG:"seriesXSum",CG:"seriesYAverage",DG:"seriesYMax",EG:"seriesYMedian",FG:"seriesYMin",GG:"seriesYMode",RQ:"seriesYRangeAverage",HG:"seriesYRangeMax",SQ:"seriesYRangeMedian",IG:"seriesYRangeMin",TQ:"seriesYRangeMode",
JG:"seriesYRangeSum",KG:"seriesYSum",cR:"sum",LG:"value",gG:"percentValue",NG:"xPercentOfSeries",OG:"xPercentOfTotal",PG:"xValue",QG:"yPercentOfCategory",RG:"yPercentOfSeries",SG:"yPercentOfTotal",TG:"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_"},
Mo={},No;for(No in Lo)Lo.hasOwnProperty(No)&&(Mo[No]=Lo[No].toLowerCase());function Oo(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",$n);F("anychart.enums.BulletMarkerType.BAR",co);
F("anychart.enums.BulletMarkerType.ELLIPSE",bo);F("anychart.enums.BulletMarkerType.LINE",ao);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.SPECIFIC","specific");F("anychart.enums.ChartDataExportMode.GROUPED","grouped");F("anychart.enums.MapSeriesType.CHOROPLETH","choropleth");F("anychart.enums.MapSeriesType.BUBBLE","bubble");F("anychart.enums.MapSeriesType.MARKER","marker");F("anychart.enums.MapSeriesType.CONNECTOR","connector");F("anychart.enums.CartesianSeriesType.AREA","area");F("anychart.enums.CartesianSeriesType.BAR","bar");F("anychart.enums.CartesianSeriesType.BOX","box");
F("anychart.enums.CartesianSeriesType.BUBBLE","bubble");F("anychart.enums.CartesianSeriesType.CANDLESTICK","candlestick");F("anychart.enums.CartesianSeriesType.COLUMN","column");F("anychart.enums.CartesianSeriesType.LINE","line");F("anychart.enums.CartesianSeriesType.MARKER","marker");F("anychart.enums.CartesianSeriesType.OHLC","ohlc");F("anychart.enums.CartesianSeriesType.RANGE_AREA","rangeArea");F("anychart.enums.CartesianSeriesType.RANGE_BAR","rangeBar");
F("anychart.enums.CartesianSeriesType.RANGE_COLUMN","rangeColumn");F("anychart.enums.CartesianSeriesType.RANGE_SPLINE_AREA","rangeSplineArea");F("anychart.enums.CartesianSeriesType.RANGE_STEP_AREA","rangeStepArea");F("anychart.enums.CartesianSeriesType.SPLINE","spline");F("anychart.enums.CartesianSeriesType.SPLINE_AREA","splineArea");F("anychart.enums.CartesianSeriesType.STEP_AREA","stepArea");F("anychart.enums.CartesianSeriesType.STEP_LINE","stepLine");
F("anychart.enums.Cartesian3dSeriesType.AREA","area");F("anychart.enums.Cartesian3dSeriesType.BAR","bar");F("anychart.enums.Cartesian3dSeriesType.COLUMN","column");F("anychart.enums.ScatterSeriesType.BUBBLE","bubble");F("anychart.enums.ScatterSeriesType.LINE","line");F("anychart.enums.ScatterSeriesType.MARKER","marker");F("anychart.enums.SparklineSeriesType.AREA","area");F("anychart.enums.SparklineSeriesType.COLUMN","column");F("anychart.enums.SparklineSeriesType.LINE","line");
F("anychart.enums.SparklineSeriesType.WIN_LOSS","winLoss");F("anychart.enums.StockSeriesType.AREA","area");F("anychart.enums.StockSeriesType.CANDLESTICK","candlestick");F("anychart.enums.StockSeriesType.COLUMN","column");F("anychart.enums.StockSeriesType.LINE","line");F("anychart.enums.StockSeriesType.MARKER","marker");F("anychart.enums.StockSeriesType.OHLC","ohlc");F("anychart.enums.StockSeriesType.RANGE_AREA","rangeArea");F("anychart.enums.StockSeriesType.RANGE_COLUMN","rangeColumn");
F("anychart.enums.StockSeriesType.RANGE_SPLINE_AREA","rangeSplineArea");F("anychart.enums.StockSeriesType.RANGE_STEP_AREA","rangeStepArea");F("anychart.enums.StockSeriesType.SPLINE","spline");F("anychart.enums.StockSeriesType.SPLINE_AREA","splineArea");F("anychart.enums.StockSeriesType.STEP_AREA","stepArea");F("anychart.enums.StockSeriesType.STEP_LINE","stepLine");F("anychart.enums.MovingAverageType.SMA","sma");F("anychart.enums.MovingAverageType.EMA","ema");
F("anychart.enums.RadarSeriesType.AREA","area");F("anychart.enums.RadarSeriesType.LINE","line");F("anychart.enums.RadarSeriesType.MARKER","marker");F("anychart.enums.PolarSeriesType.AREA","area");F("anychart.enums.PolarSeriesType.LINE","line");F("anychart.enums.PolarSeriesType.MARKER","marker");F("anychart.enums.PolarSeriesType.POLYGON","polygon");F("anychart.enums.PolarSeriesType.POLYLINE","polyline");F("anychart.enums.PolarSeriesType.COLUMN","column");
F("anychart.enums.PolarSeriesType.RANGE_COLUMN","rangeColumn");F("anychart.enums.MekkoSeriesType.MEKKO","mekko");F("anychart.enums.MilestoneShape.CIRCLE","circle");F("anychart.enums.MilestoneShape.RHOMBUS","rhombus");F("anychart.enums.MilestoneShape.RECTANGLE","rectangle");F("anychart.enums.AnnotationTypes.RAY","ray");F("anychart.enums.AnnotationTypes.LINE","line");F("anychart.enums.AnnotationTypes.INFINITE_LINE","infiniteLine");F("anychart.enums.AnnotationTypes.VERTICAL_LINE","verticalLine");
F("anychart.enums.AnnotationTypes.HORIZONTAL_LINE","horizontalLine");F("anychart.enums.AnnotationTypes.RECTANGLE","rectangle");F("anychart.enums.AnnotationTypes.ELLIPSE","ellipse");F("anychart.enums.AnnotationTypes.TRIANGLE","triangle");F("anychart.enums.AnnotationTypes.TREND_CHANNEL","trendChannel");F("anychart.enums.AnnotationTypes.ANDREWS_PITCHFORK","andrewsPitchfork");F("anychart.enums.AnnotationTypes.FIBONACCI_FAN","fibonacciFan");F("anychart.enums.AnnotationTypes.FIBONACCI_ARC","fibonacciArc");
F("anychart.enums.AnnotationTypes.FIBONACCI_RETRACEMENT","fibonacciRetracement");F("anychart.enums.AnnotationTypes.FIBONACCI_TIMEZONES","fibonacciTimezones");F("anychart.enums.AnnotationTypes.MARKER","marker");F("anychart.enums.A11yMode.CHART_ELEMENTS","chartElements");F("anychart.enums.A11yMode.DATA_TABLE","dataTable");F("anychart.enums.LocaleDateTimeFormat.YEAR","year");F("anychart.enums.LocaleDateTimeFormat.YEAR_SEMESTER","year_semester");F("anychart.enums.LocaleDateTimeFormat.YEAR_QUARTER","year_quarter");
F("anychart.enums.LocaleDateTimeFormat.YEAR_MONTH","year_month");F("anychart.enums.LocaleDateTimeFormat.YEAR_THIRD_OF_MONTH","year_third_of_month");F("anychart.enums.LocaleDateTimeFormat.YEAR_WEEK","year_week");F("anychart.enums.LocaleDateTimeFormat.YEAR_DAY","year_day");F("anychart.enums.LocaleDateTimeFormat.YEAR_HOUR","year_hour");F("anychart.enums.LocaleDateTimeFormat.YEAR_MINUTE","year_minute");F("anychart.enums.LocaleDateTimeFormat.YEAR_SECOND","year_second");
F("anychart.enums.LocaleDateTimeFormat.YEAR_MILLISECOND","year_millisecond");F("anychart.enums.LocaleDateTimeFormat.SEMESTER","semester");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_QUARTER","semester_quarter");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_MONTH","semester_month");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_THIRD_OF_MONTH","semester_third_of_month");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_WEEK","semester_week");
F("anychart.enums.LocaleDateTimeFormat.SEMESTER_DAY","semester_day");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_HOUR","semester_hour");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_MINUTE","semester_minute");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_SECOND","semester_second");F("anychart.enums.LocaleDateTimeFormat.SEMESTER_MILLISECOND","semester_millisecond");F("anychart.enums.LocaleDateTimeFormat.QUARTER","quarter");F("anychart.enums.LocaleDateTimeFormat.QUARTER_MONTH","quarter_month");
F("anychart.enums.LocaleDateTimeFormat.QUARTER_THIRD_OF_MONTH","quarter_third_of_month");F("anychart.enums.LocaleDateTimeFormat.QUARTER_WEEK","quarter_week");F("anychart.enums.LocaleDateTimeFormat.QUARTER_DAY","quarter_day");F("anychart.enums.LocaleDateTimeFormat.QUARTER_HOUR","quarter_hour");F("anychart.enums.LocaleDateTimeFormat.QUARTER_MINUTE","quarter_minute");F("anychart.enums.LocaleDateTimeFormat.QUARTER_SECOND","quarter_second");F("anychart.enums.LocaleDateTimeFormat.QUARTER_MILLISECOND","quarter_millisecond");
F("anychart.enums.LocaleDateTimeFormat.MONTH","month");F("anychart.enums.LocaleDateTimeFormat.MONTH_THIRD_OF_MONTH","month_third_of_month");F("anychart.enums.LocaleDateTimeFormat.MONTH_WEEK","month_week");F("anychart.enums.LocaleDateTimeFormat.MONTH_DAY","month_day");F("anychart.enums.LocaleDateTimeFormat.MONTH_HOUR","month_hour");F("anychart.enums.LocaleDateTimeFormat.MONTH_MINUTE","month_minute");F("anychart.enums.LocaleDateTimeFormat.MONTH_SECOND","month_second");
F("anychart.enums.LocaleDateTimeFormat.MONTH_MILLISECOND","month_millisecond");F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH","third_of_month");F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_WEEK","third_of_month_week");F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_DAY","third_of_month_day");F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_HOUR","third_of_month_hour");F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_MINUTE","third_of_month_minute");
F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_SECOND","third_of_month_second");F("anychart.enums.LocaleDateTimeFormat.THIRD_OF_MONTH_MILLISECOND","third_of_month_millisecond");F("anychart.enums.LocaleDateTimeFormat.WEEK","week");F("anychart.enums.LocaleDateTimeFormat.WEEK_DAY","week_day");F("anychart.enums.LocaleDateTimeFormat.WEEK_HOUR","week_hour");F("anychart.enums.LocaleDateTimeFormat.WEEK_MINUTE","week_minute");F("anychart.enums.LocaleDateTimeFormat.WEEK_SECOND","week_second");
F("anychart.enums.LocaleDateTimeFormat.WEEK_MILLISECOND","week_millisecond");F("anychart.enums.LocaleDateTimeFormat.DAY","day");F("anychart.enums.LocaleDateTimeFormat.DAY_HOUR","day_hour");F("anychart.enums.LocaleDateTimeFormat.DAY_MINUTE","day_minute");F("anychart.enums.LocaleDateTimeFormat.DAY_SECOND","day_second");F("anychart.enums.LocaleDateTimeFormat.DAY_MILLISECOND","day_millisecond");F("anychart.enums.LocaleDateTimeFormat.HOUR","hour");F("anychart.enums.LocaleDateTimeFormat.HOUR_MINUTE","hour_minute");
F("anychart.enums.LocaleDateTimeFormat.HOUR_SECOND","hour_second");F("anychart.enums.LocaleDateTimeFormat.HOUR_MILLISECOND","hour_millisecond");F("anychart.enums.LocaleDateTimeFormat.MINUTE","minute");F("anychart.enums.LocaleDateTimeFormat.MINUTE_SECOND","minute_second");F("anychart.enums.LocaleDateTimeFormat.MINUTE_MILLISECOND","minute_millisecond");F("anychart.enums.LocaleDateTimeFormat.SECOND","second");F("anychart.enums.LocaleDateTimeFormat.SECOND_MILLISECOND","second_millisecond");
F("anychart.enums.LocaleDateTimeFormat.MILLISECOND","millisecond");F("anychart.enums.IntervalFormatPrefix.NONE","");F("anychart.enums.IntervalFormatPrefix.FULL","full");F("anychart.enums.AvailabilityPeriod.YEAR","year");F("anychart.enums.AvailabilityPeriod.WEEK","week");F("anychart.enums.AvailabilityPeriod.DAY","day");F("anychart.enums.AvailabilityPeriod.NONE","none");F("anychart.enums.TimeTrackingMode.AVAILABILITY_PER_CHART","availabilityPerChart");
F("anychart.enums.TimeTrackingMode.AVAILABILITY_PER_RESOURCE","availabilityPerResource");F("anychart.enums.TimeTrackingMode.ACTIVITY_PER_CHART","activityPerChart");F("anychart.enums.TimeTrackingMode.ACTIVITY_PER_RESOURCE","activityPerResource");F("anychart.enums.ShapeType.PATH","path");F("anychart.enums.ShapeType.CIRCLE","circle");F("anychart.enums.ShapeType.ELLIPSE","ellipse");F("anychart.enums.ShapeType.RECT","rect");F("anychart.enums.FontStyle.NORMAL","normal");
F("anychart.enums.FontStyle.ITALIC","italic");F("anychart.enums.FontStyle.OBLIQUE","oblique");F("anychart.enums.FontVariant.NORMAL","normal");F("anychart.enums.FontVariant.SMALL_CAP","small-caps");F("anychart.enums.TextParsingMode.CSV","csv");F("anychart.enums.TextParsingMode.BY_WORD","byWord");F("anychart.enums.TextParsingMode.BY_CHAR","byChar");F("anychart.enums.HAlign.LEFT","left");F("anychart.enums.HAlign.START","start");F("anychart.enums.HAlign.CENTER","center");
F("anychart.enums.HAlign.END","end");F("anychart.enums.HAlign.RIGHT","right");F("anychart.enums.VAlign.TOP","top");F("anychart.enums.VAlign.MIDDLE","middle");F("anychart.enums.VAlign.BOTTOM","bottom");F("anychart.enums.TextWrap.NO_WRAP","noWrap");F("anychart.enums.TextWrap.BY_LETTER","byLetter");F("anychart.enums.TextWrap.BY_WORD","byWord");F("anychart.enums.TagCloudMode.SPIRAL","spiral");F("anychart.enums.TagCloudMode.RECT","rect");F("anychart.enums.WaterfallDataMode.ABSOLUTE","absolute");
F("anychart.enums.WaterfallDataMode.DIFF","diff");var Po=-1,Qo=-1;function Ro(a,b,c){So("error","Error: "+a+"\nDescription: "+To(a,c),b||"")}
function To(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 Uo(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 M(a,b,c){Qo!=a&&(Qo=a,So("warn","Warning: "+a+"\nDescription: "+Vo(a,c),b||""))}
function Vo(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 So(a,b,c){var d=da.console;d&&(a=d[a]||d.log,"object"!=typeof a&&a.call(d,b,c))};function Wo(a,b){Jb.call(this);this.f=a;this.w=b;this.P=Xo.test(cg().location.hostname);this.u=!(this.w||this.P);this.b=Yo|Zo|$o|ap}G(Wo,Jb);var Xo=/^(.*\.)?anychart\.(com|stg|dev)$/i,bp=!1,Yo=1,Zo=2,$o=4,ap=8;g=Wo.prototype;g.K=function(a){this.b&=~a};g.o=function(a,b){var c=a&~this.b;this.b|=c;!this.Zb&&!this.f.ac()&&c&&b&&this.f.jd()};function cp(){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,(dp(this)||this.w)&&this.o(Yo,!0)),this):this.u};g.text=function(a){return m(a)?(this.Ta!=a&&(this.Ta=a,dp(this)&&this.o($o,!0)),this):this.Ta};g.Jq=function(a){return m(a)?(this.Y!=a&&(this.Y=a,dp(this)&&this.o(Zo,!0)),this):this.Y};g.Hq=function(a){return m(a)?(this.G!=a&&(this.G=a,dp(this)&&this.o(Zo,!0)),this):this.G};g.Iq=function(a){return m(a)?(this.N!=a&&(this.N=a,dp(this)&&this.o(Zo,!0)),this):this.N};
g.Yn=function(a){return m(a)?(this.va!=a&&(this.va=a,dp(this)&&this.o(ap,!0)),this):this.va};g.ja=function(){return this.f};g.X=function(){return this.zb};
g.jd=function(){var a=dp(this);a&&m(this.U)&&!this.U&&this.o(Yo,!1);this.U=a;if(!this.b||this.Zb||!this.f||this.f.ac())return this;if(!this.enabled()&&(this.w||a))return this.b&Yo&&(lg(this.zb),this.K(Yo)),this;if(!bp){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);bp=!0}this.zb||(this.zb=dg("DIV","anychart-credits"));this.g||(this.g=dg("A"),this.j=dg("SPAN","anychart-credits-text"),this.i=dg("IMG","anychart-credits-logo"),ig(this.g,this.j),this.zb.appendChild(this.g));b=this.f.Cj();this.b&Yo&&(b&&b.appendChild(this.zb),this.K(Yo));this.b&Zo&&(Xf(this.g,{href:a?this.Jq():"https://www.anychart.com/?utm_source=trial",title:a?this.Hq():"AnyChart - JavaScript Charts designed to be embedded and integrated",
target:"_blank"}),Xf(this.i,{alt:a?this.Iq():"AnyChart - JavaScript Charts"}),this.K(Zo));this.b&$o&&(a=a?this.text():"AnyChart Trial Version",qg(this.j,a),this.K($o));if(this.b&ap){if(a=dp(this)?this.Yn():cp()){if(this.B=a,b=bj(gh))Wc(b,"complete",this.RD,!1,this),Wc(b,"load",this.oA,!1,this),Wc(b,"error",this.SD,!1,this),this.D&&(Oi(b,a),this.D=!1),Ni(b,a,a),this.D=!0,b.start()}else lg(this.i);this.K(ap)}return this};function dp(a){return ep()||a.P}
g.oA=function(a){var b=this.B;a.target.id==b&&(this.Zb||(dp(this)?this.Yn():cp())!=b||this.i.parentNode||kg(this.g,this.i),Xf(this.i,{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.i)};g.W=function(a){this.f.vc();B(a)?(this.text(a),this.enabled(!0)):ka(a)||null===a?this.enabled(!!a):z(a)&&(this.Jq(a.url),this.text(a.text),this.Hq(a.alt),this.Iq(a.imgAlt),this.Yn(a.logoSrc),this.enabled(a.enabled));this.f.qc()};
g.I=function(){var a={};a.url=this.Jq();a.alt=this.Hq();a.imgAlt=this.Iq();a.text=this.text();a.logoSrc=this.Yn();a.enabled=this.enabled();return a};g.da=function(){var a=bj(gh);a&&(dd(a,"load",this.oA,!1,this),dd(a,"complete",this.RD,!1,this),dd(a,"error",this.SD,!1,this));lg(this.j);lg(this.i);lg(this.g);lg(this.zb);this.f=this.zb=this.g=this.i=this.j=null;Wo.F.da.call(this)};var fp=Wo.prototype;fp.text=fp.text;fp.url=fp.Jq;fp.alt=fp.Hq;fp.imgAlt=fp.Iq;fp.logoSrc=fp.Yn;fp.enabled=fp.enabled;var gp=da.performance&&E(da.performance.now)?qa(da.performance.now,da.performance):ta;var hp={color:"#fff",opacity:1E-5};function ip(a,b,c){a=jp(a);b=jp(b);var d=(a.opacity+b.opacity)/2;return{color:Re(Vm(a.uE,b.uE,m(c)?c:.5)),opacity:d}}function jp(a){var b=a,c=1;q(a)||(B(a)?b=a:(b=a.color||"#000",c=m(a.opacity)?a.opacity:1),a=kp(b).He,b=Sm(a));return{uE:b,opacity:c}}
function lp(a,b,c,d){b=null==b||isNaN(+b)?7:+b;d=null!=d?ce(d,0,1):NaN;var e,f;a=kp(a||"#000").He;f=Sm(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*Um(r,t,p+1/3);n=255*Um(r,t,p);p=255*Um(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 mp(a){if(z(a))if(a.color)a=a.color;else return null;if(B(a))try{return Nm(a).He}catch(b){}return null}
function np(a,b){if(z(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.He=Re(c),b.type="rgb",b):Mm&&(a=Mm[a.toLowerCase()])?(b.He=a,b.type="named",b):null}function tp(a,b,c){var d;c?d=Le(a):d=Se(a);B(d)?d={color:d,opacity:b}:z(d)&&(d.opacity=b);return d}var up={};
function vp(a,b){var c;if(!a)return wp;if(q(a)){var d=b+"|"+a.join("|");c=up[d];if(!c){switch(b){case 2:c=xp;break;case 3:c=yp;break;default:case 1:c=zp}up[d]=c=ra(Ap,a,c,3==b)}}else(c=up.transparent)||(c=up.transparent=function(){return hp});return c}function wp(){return"none"}
function Ap(a,b,c,d,e,f,h){var k;e=Math.min(e&(Bp|Cp),Cp);if(e!=Dp&&1a++;){if(this.Zb)return;this.Af.Ji();b=oq(this)}b&&this.Af.Ji();this.Zb||(b?(this.Af.Gc(this.nc),this.mx=setTimeout(this.us,0)):this.Af.Pq())};function nq(a){for(var b=a.length,c=Array(b),d=c[0]=-1,e=1;e=d){f="";e=0;a.wf=-1;a.xf=-1;a.nc=c+1;h=0;break}else return 0=Aq(a,b,c,d,e[h],e[h+1]);return f}function Aq(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("")}
Mq.prototype.clone=function(){return new Mq(this.j,this.D,this.b,this.i,this.g,this.f)};var Nq="y",Oq="m",Pq="d",Qq="h",Rq="n",Sq="s";Mq.prototype.u=function(a){return new Mq(this.j*a,this.D*a,this.b*a,this.i*a,this.g*a,this.f*a)};Mq.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 Vq(a,b,c){C(a)?(this.b=Wq(a,b||0,c||1),Xq(this,c||1)):z(a)?(this.b=Wq(a.getFullYear(),a.getMonth(),a.getDate()),Xq(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),Xq(this,a))}function Wq(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b}g=Vq.prototype;g.vm=Jq.ft;g.wm=Jq.ht;g.clone=function(){var a=new Vq(this.b);a.vm=this.vm;a.wm=this.wm;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 Yq(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(Lq(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()),Xq(this,a.getDate()))};
g.Pr=function(a,b){return[this.getFullYear(),Sa(this.getMonth()+1,2),Sa(this.getDate(),2)].join(a?"-":"")+(b?Yq(this):"")};g.Vx=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 Xq(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=fr(a);b.D=[c,c];b.b={bR:a,oy:a};b.i=[];return b}b=new dr;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 fr(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 yr(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 zr(a,b){this.f=[];this.b=b||Jq;"number"==typeof a?Ar(this,a):Br(this,a)}var Cr=[/^\'(?:[^\']|\'\')*(\'|$)/,/^(?:G+|y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/,/^[^\'GyMkSEahKHcLQdmsvVwzZ]+/];function Dr(a){return a.getHours?a.getHours():0}
function Br(a,b){for(Er&&(b=b.replace(/\u200f/g,""));b;){for(var c=b,d=0;db)c=a.b.jn[b];else if(8>b)c=a.b.mn[b-4];else if(12>b)c=a.b.dt[b-8],c=c.replace("{1}",a.b.jn[b-8]),c=c.replace("{0}",a.b.mn[b-8]);else{Ar(a,10);return}Br(a,c)}function Hr(a,b){var c;c=String(b);var d=a.b||Jq;if(void 0!==d.st){for(var e=[],f=0;f=h?String.fromCharCode(d.st+h-48):c.charAt(f))}c=e.join("")}return c}var Er=!1;
function Ir(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 Gr(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),Hr(a,Sa(c,h));case "M":a:switch(c=d.getMonth(),h){case 5:h=a.b.jy[c];break a;case 4:h=a.b.it[c];break a;case 3:h=a.b.kt[c];break a;default:h=Hr(a,Sa(c+1,h))}return h;case "k":return Ir(e),c=Dr(e)||24,Hr(a,Sa(c,h));case "S":return Hr(a,(e.getTime()%1E3/1E3).toFixed(Math.min(3,h)).substr(2)+(3h?1:0];case "h":return Ir(e),c=Dr(e)%12||12,Hr(a,Sa(c,h));case "K":return Ir(e),c=Dr(e)%12,Hr(a,Sa(c,h));case "H":return Ir(e),c=Dr(e),Hr(a,Sa(c,h));case "c":a:switch(c=d.getDay(),h){case 5:h=a.b.ly[c];break a;case 4:h=a.b.ny[c];break a;case 3:h=a.b.my[c];break a;default:h=Hr(a,Sa(c,1))}return h;case "L":a:switch(c=d.getMonth(),h){case 5:h=a.b.ky[c];break a;case 4:h=a.b.pt[c];break a;case 3:h=a.b.qt[c];break a;default:h=
Hr(a,Sa(c+1,h))}return h;case "Q":return c=Math.floor(d.getMonth()/3),4>h?a.b.mt[c]:a.b.jt[c];case "d":return Hr(a,Sa(d.getDate(),h));case "m":return Ir(e),Hr(a,Sa(e.getMinutes(),h));case "s":return Ir(e),Hr(a,Sa(e.getSeconds(),h));case "v":return h=f||er(c.getTimezoneOffset()),h.g;case "V":return a=f||er(c.getTimezoneOffset()),2>=h?a.g:0h?a.D[0h?(h=-(e.f-yr(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=Hr(a,fr(e.f-yr(e,c))),h;default:return""}}
;function Jr(a){if(da.JSON)try{var b=da.JSON.parse(a);return b}catch(c){}return b=el(a)};var Kr;function Lr(a,b,c,d,e){if(c)for(var f=0;fb?1:a==b?0:-1}function Pr(a,b){return-Mr(a,b)}function Nr(a,b){return isNaN(a)?isNaN(b)?0:1:isNaN(b)?-1:a-b}function Qr(a){for(var b;a instanceof dh;){b=a.tag;if(m(b))return b;a=a.parent()}}
function Rr(a,b){if(!a)return!1;for(;b instanceof kd&&b!=a;)b=b.bg;return b==a}function Or(a){return z(a)?"o"+la(a):(typeof a).charAt(0)+a}function N(a,b,c){a=C(a)?a:!isNaN(b)&&Sr(a)?b*parseFloat(a)/100:parseFloat(a);return c&&!isNaN(b)?b-a:a}function Sr(a){return B(a)&&xa(a,"%")&&!isNaN(parseFloat(a))}function Tr(a,b){if(null===a)return null;a=m(a)?a:0;b=m(b)?b:0;var c=Sr(a),d=parseFloat(a);return isNaN(d)?b:c?a:d}function O(a){return null==a||ka(a)?NaN:+a}function Ur(a){return B(a)?a:O(a)}
function Vr(a){return C(a)&&!isNaN(a)||B(a)&&""!=Aa(a)?a:null}function Wr(a){return isNaN(O(a))}function Xr(a,b,c){C(a)||(a=parseFloat(a));a=Math.round(a);return!isNaN(a)&&(0c&&(c+=b);c>=b&&(c-=b);return uq(a-c,7)}function ds(a,b,c){c=uq((a-(c||0))%b,7);c>=b&&(c-=b);if(c)0>c&&(c+=b);else return uq(a,7);return uq(a+b-c,7)}
function es(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=cs(d,b.j,(new Date(0)).getUTCFullYear()),Date.UTC(d,0);if(b.D)return e=cs(e,b.D),Date.UTC(d,e);if(!b.b||b.b%7)return b.b?(f=cs(f,b.b),Date.UTC(d,e,f)):b.i?(h=cs(h,b.i),Date.UTC(d,e,f,h)):b.g?(k=cs(k,b.g),Date.UTC(d,e,f,h,k)):1<=b.f?(l=cs(l,b.f),Date.UTC(d,e,f,h,k,l)):b.f?(n=cs(n,1E3*b.f),Date.UTC(d,e,f,h,k,l,n)):
a;d=fs(gs());return cs(c.getTime(),864E5*b.b,Date.UTC(2E3,0,2+(d?d.firstDayOfWeek:0)))}function hs(a,b){var c,d;switch(a){case "year":c=Nq;d=b;break;case "semester":c=Oq;d=6*b;break;case "quarter":c=Oq;d=3*b;break;case "month":c=Oq;d=b;break;case "thirdofmonth":c=Pq;d=10*b;break;case "week":c=Pq;d=7*b;break;case "day":c=Pq;d=b;break;case "hour":c=Qq;d=b;break;case "minute":c=Rq;d=b;break;case "second":c=Sq;d=b;break;case "millisecond":c=Sq;d=b/1E3;break;default:c=Nq,d=b}return new Mq(c,d)}
function is(a,b){var c=(b&1)/2;return.5<=a%1?Math.ceil(a)-c:Math.floor(a)+c}function js(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 ks(a){for(var b=0,c=arguments.length;bb;b++)a.lineTo(c+e*Hs[b],d+e*Is[b]);a.lineTo(c+e*Hs[0],d+e*Is[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=is(b,f),k=is(k,f),c=is(c,f),d=is(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=is(c,f),d=is(d,f),b=is(b,f),e=is(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=is(e,f),l=is(l,f),n=is(n,f),b=is(b,f),p=is(p,f),k=is(k,f),c=is(c,f),d=is(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=is(e,f),l=is(l,f),n=is(n,f),b=is(b,f),p=is(p,f),k=is(k,f),c=is(c,f),d=is(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=is(e,f),l=is(l,f),n=is(n,f),b=is(b,f),p=is(p,f),k=is(k,f),c=is(c,
f),d=is(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=is(e,f),l=is(l,f),n=is(n,f),b=is(b,f),p=is(p,f),k=is(k,f),c=is(c,f),d=is(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 hi}}
function Ks(a,b,c,d){var e=new mq;c=!0;z(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||(qc||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 Os(a){if(oc)a=Ps(a);else if(rc&&qc)switch(a){case 93:a=91}return a}
function Ps(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 Qs(a,b){kd.call(this);a&&(this.$r&&Rs(this),this.Do=a,this.Zr=Wc(this.Do,"keypress",this,b),this.Dw=Wc(this.Do,"keydown",this.TM,b,this),this.$r=Wc(this.Do,"keyup",this.WM,b,this))}G(Qs,kd);g=Qs.prototype;g.Do=null;g.Zr=null;g.Dw=null;g.$r=null;g.Sg=-1;g.gl=-1;g.Ct=!1;
var Ss={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},Ts={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},Us=mc||nc||qc&&zc("525"),Vs=rc&&oc;g=Qs.prototype;
g.TM=function(a){(qc||nc)&&(17==this.Sg&&!a.ctrlKey||18==this.Sg&&!a.altKey||rc&&91==this.Sg&&!a.metaKey)&&this.As();-1==this.Sg&&(a.ctrlKey&&17!=a.keyCode?this.Sg=17:a.altKey&&18!=a.keyCode?this.Sg=18:a.metaKey&&91!=a.keyCode&&(this.Sg=91));Us&&!Ms(a.keyCode,this.Sg,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?this.handleEvent(a):(this.gl=Os(a.keyCode),Vs&&(this.Ct=a.altKey))};g.As=function(){this.gl=this.Sg=-1};g.WM=function(a){this.As();this.Ct=a.altKey};
g.handleEvent=function(a){var b=a.ff,c,d,e=b.altKey;mc&&"keypress"==a.type?(c=this.gl,d=13!=c&&27!=c?b.keyCode:0):(qc||nc)&&"keypress"==a.type?(c=this.gl,d=0<=b.charCode&&63232>b.charCode&&Ns(c)?b.charCode:0):lc&&!qc?(c=this.gl,d=Ns(c)?b.keyCode:0):(c=b.keyCode||this.gl,d=b.charCode||0,Vs&&(e=this.Ct),rc&&63==d&&224==c&&(c=191));var f=c=Os(c);c?63232<=c&&c in Ss?f=Ss[c]:25==c&&a.shiftKey&&(f=9):b.keyIdentifier&&b.keyIdentifier in Ts&&(f=Ts[b.keyIdentifier]);this.Sg=f;a=new Ws(f,d,0,b);a.altKey=e;
this.dispatchEvent(a)};function Rs(a){a.Zr&&(ed(a.Zr),ed(a.Dw),ed(a.$r),a.Zr=null,a.Dw=null,a.$r=null);a.Do=null;a.Sg=-1;a.gl=-1}g.da=function(){Qs.F.da.call(this);Rs(this)};function Ws(a,b,c,d){Fc.call(this,d);this.type="key";this.keyCode=a;this.i=b}G(Ws,Fc);var Xs=da.acgraph;qm.prototype.u=!1;qm.prototype.j=function(a){this.ca||(this.ca=new Wo(this,this.u),this.ca.W(Sp("stageCredits")));return m(a)?(this.ca.W(a),this):this.ca};var Ys=0,Zs=[];function $s(a,b){Ys?Zs.push(qa(a,b)):a.apply(b)}function at(){Ys--;if(!Ys)for(var a=Zs.slice(0),b=Zs.length=0;be;e++){c=e;for(var f=0;8>f;f++)c=c&1?3988292384^c>>>1:c>>>1;d[e]=c}zs=d}c=-1;for(d=0;d>>8^zs[(c^a.charCodeAt(d++))&255];a=((c^-1)>>>0).toString(16);return b==a}var kt=[],lt=[],mt=[];
function Sp(a){var b;lt.length||(lt.push(da.anychart.themes.defaultTheme||{}),mt.push(lt[0]));for(b=lt.length-1;bc.length?c[0]:c[b]):0}
g.parent=function(a){return m(a)?(this.ba!=a&&(a?(this.ba&&Ev(this.ba,this.su,this),this.ba=a,Q(this.ba,this.su,this)):(Ev(this.ba,this.su,this),this.ba=null)),this):this.ba};g.su=function(a){var b=0,c=0;U(a,1)&&(b|=16,c|=1);U(a,8)&&(b|=4,c|=8);U(a,32768)&&(b|=1,c|=1);this.j=null;this.o(b,c)};function Rw(a,b,c,d,e,f,h){switch(a.J("cornerType")){case "round":b.Ig(e,f,h,h,!1,!0);break;case "roundInner":b.Ig(e,f,h,h,!1,!1);break;case "cut":b.lineTo(e,f);break;default:b.lineTo(c,d).lineTo(e,f)}}
g.$=function(){if(!this.wb())return this;var a=this.J("fill")||"none",b=this.J("stroke"),c=this.J("topStroke"),d=this.J("rightStroke"),e=this.J("bottomStroke"),f=this.J("leftStroke"),h=!!(c||d||e||f),k=c&&d&&e&&f,l,n,p=this.O()?this.O().ja():null,r=p&&!p.ac();r&&p.vc();if(S(this,4)){this.g||(this.g=Zh());k&&this.b?this.b.clear().parent(null):(this.b||(this.b=uh()),this.b.parent(this.g),this.b.clear());h?(this.u||(this.u=uh()),this.u.parent(this.g),this.u.clear()):this.u&&this.u.clear().parent(null);
if(this.G)for(k=0,l=this.G.length;kd||c>e)return 1;if(bd)return 1}else if(a.P){if(ce)return 1}return 0}
function gx(a){var b=a.ia(),c,d,e;b?(c=b.width,b=b.height,null!=a.Ga?(a.Y=d=N(a.Ga,c),c=!1):(d=0,c=!0),null!=a.Za?(a.U=e=N(a.Za,b),b=!1):(e=0,b=!0)):(Wr(a.Ga)?(c=!0,d=0):(c=!1,a.Y=d=O(a.Ga)),Wr(a.Za)?(b=!0,e=0):(b=!1,a.U=e=O(a.Za)));var f=a.nd();a.g.width(null);a.g.height(null);c?(d+=a.g.Pa().width,a.ea=d,a.Y=f.he(d)):d=a.ea=f.ld(d);a.g.width(a.ea);b?(e+=a.g.Pa().height,a.ca=e,a.U=f.fe(e)):e=a.ca=f.kd(e);a.g.height(a.ca);var h=!c&&a.u||!b&&a.P;J(a);if(h){var h=Math.round((a.ka+a.ma)/2),k=a.ma,l=a.ka,
n;n=a.i;var p=ai();p.pd("aria-hidden","true");a.fc(p,!0);a.i=n;p.fontSize(a.ka);if(0>=fx(a,p.Pa().width,p.Pa().height,d,e))d=a.ka;else{p.fontSize(h);for(var r=n=fx(a,p.Pa().width,p.Pa().height,d,e);k!=l;){if(0>n)k=Math.min(h+1,l),h+=Math.floor((l-h)/2);else if(0=r*n)break}if(n){do h+=r,p.fontSize(h),n=fx(a,p.Pa().width,p.Pa().height,d,e);while(0>r*n);Mb(p);0b?null:b;m(a.width())||a.o(4)}function fy(a,b){a.U=0>b?null:b;m(a.height())||a.o(4)}g.margin=function(a,b,c,d){this.u||(this.u=new Ix,H(this,this.u),Q(this.u,this.zA,this));return m(a)?(this.u.W.apply(this.u,arguments),this):this.u};
g.Fg=function(a,b,c,d){this.Ea||(this.Ea=new cx,H(this,this.Ea),Q(this.Ea,this.zA,this));return m(a)?(this.Ea.W.apply(this.Ea,arguments),this):this.Ea};function gy(a,b){if(m(b)){var c=a.J("orientation")!=b;a.Vb.orientation=b;c&&a.o(4);return a}return a.Vb.orientation}g.kK=function(a,b){if(m(a)){if(B(a))if(m(b)){if(a in this.G)this[a](b)}else return this.kb(a);else if(z(a))for(var c in a)if(c in this.G)this[c](a[c]);return this}c={};for(var d in this.w)d in this.G&&(c[d]=this.w[d]);return c};
function hy(a,b){if(m(b)){var c=null==b?"":String(b);a.Y!=c&&(a.Y=c,a.o(20,9));return a}return a.Y}g.o=function(a,b){var c=by.F.o.call(this,a,b);!c&&this.Ua&&this.fa(b||0);return c};function iy(a){var b=!1;a.i||(b=!0,a.i=Zh(),a.hj().O(a.i),a.Ta=a.i.text(),a.Ta.zIndex(.1),a.Ta.pd("aria-hidden","true"),H(a,a.i),Xv(a,a.i));return b}
g.$=function(){if(!this.wb())return this;var a=iy(this),b=this.O();J(this);S(this,2)&&(this.i.parent(b),this.K(2));S(this,8)&&(this.i.zIndex(this.zIndex()),this.K(8));S(this,16)&&(this.fc(a),this.K(16));S(this,4)&&(jy(this),this.Ta.x(N(this.Fg().J("left"),this.g)),this.Ta.y(N(this.Fg().J("top"),this.b)),this.i.Xa(this.B.rb,this.B.Hb,this.B.Lb,this.B.Eb,this.B.sb,this.B.tb),this.o(64),this.K(4));S(this,64)&&(a=this.hj(),J(a),a.ia(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.Ta&&this.Ta.parent(null)};g.lc=function(){var a=this.ia(),a=a?a.clone():Hq(0,0,0,0);if(!this.enabled())return a;this.xa&&!S(this,4)||jy(this);switch(this.J("orientation")){case "top":a.top+=this.xa.height;a.height-=this.xa.height;break;case "right":a.width-=this.xa.width;break;case "bottom":a.height-=this.xa.height;break;case "left":a.left+=this.xa.width,a.width-=this.xa.width}return a};
g.Zc=function(){if(!this.enabled())return new K(0,0,0,0);this.xa&&!S(this,4)||jy(this);return this.xa.clone()};
g.fc=function(a){var b=this.J("text"),c=hy(this),d=this.J("useHtml");if(a||m(b)||m(c)||m(d))a=!b&&m(c)?c:b,d?this.Ta.htmlText(a):this.Ta.text(a);this.Ta.fontSize(this.J("fontSize"));this.Ta.fontFamily(this.J("fontFamily"));this.Ta.color(this.J("fontColor"));this.Ta.Zi(this.J("textDirection"));this.Ta.Pl(this.J("textWrap"));this.Ta.opacity(this.J("fontOpacity"));this.Ta.Ah(this.J("fontDecoration"));this.Ta.fontStyle(this.J("fontStyle"));this.Ta.fontVariant(this.J("fontVariant"));this.Ta.fontWeight(this.J("fontWeight"));
this.Ta.letterSpacing(this.J("letterSpacing"));this.Ta.Nl(this.J("lineHeight"));this.Ta.Ol(this.J("textIndent"));this.Ta.rh(this.J("vAlign"));this.Ta.Hf(this.J("hAlign"));this.Ta.eg(this.J("textOverflow"));this.Ta.$i(this.J("selectable"));this.Ta.Tb(this.J("disablePointerEvents"))};
function ky(a){var b=a.kb("rotation");delete a.Vb.rotation;b=m(b)?b:a.J("rotation");if(m(b))return b;switch(a.J("orientation")){case "left":return a.Vb.rotation=-90;case "right":return a.Vb.rotation=90;default:return a.Vb.rotation=0}}
function jy(a){var b=a.Fg(),c=a.margin(),d=a.ia(),e,f,h=a.J("orientation"),k=!(ky(a)%180);f=!((ky(a)+90)%180);d?f?(e=d.height,f=d.width):(e=d.width,f=d.height):e=f=void 0;var l=iy(a);if(l||S(a,16))a.fc(l),a.K(16);a.Ta.width(null);a.Ta.height(null);a.Ta.Xa(1,0,0,1,0,0);var l=a.Ta.Pa(),n=a.Kb("width")?a.kb("width"):a.ca||null;null===n?(a.P=l.width,a.g=b.he(a.P)):(a.g=N(n,e),a.P=b.ld(a.g));d&&e=a.documentMode)?Ag(this.f,wy):Ag(this.f,vy);Ag(this.ja().Cj(),oy);Ag(this.ja().X(),xy);this.j()};uy.prototype.j=function(){var a;a=this.g;a=a.b?a.b.clone():null;this.ja().Ml(a.width,a.height)};uy.prototype.el=function(){return!1};function yy(a,b,c){this.b={values:a||{},yj:b||null,Mh:c||[],hf:{},Pe:{}};this.b.hf["%Value"]="value";this.b.hf["%YValue"]="value";this.b.hf["%Index"]="index"}g=yy.prototype;g.values=function(a){return m(a)?(this.b.values=a,this):this.b.values};g.yj=function(a){return m(a)?(this.b.yj=a,this):this.b.yj};g.Mh=function(a){return m(a)?(this.b.Mh=a,this):this.b.Mh};g.hf=function(a){return m(a)?(this.b.hf=a,this):this.b.hf};g.Pe=function(a){return m(a)?(this.b.Pe=a,this):this.b.Pe};
g.vk=function(a){var b=this.b.yj;return b?b.get.apply(b,arguments):void 0};g.YH=function(a){var b=this.b.yj?this.b.yj.R(a):void 0;m(b)||(b=(b=this.b.values.series)?b.value.R(a):void 0);return b};g.pg=function(a){var b=void 0;if(a)for(var c=0;cc?d=this.f.jn[c]:8>c?d=this.f.mn[c-4]:(d=this.f.dt[c-8],d=d.replace("{1}",this.f.jn[c-8]),d=d.replace("{0}",this.f.mn[c-8]));Dy(this,d)}else Dy(this,a)}
function Dy(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 Gy(a,b){var c=a.substring(b[0]).match(/^\s+/);c&&(b[0]+=c[0].length)}
function Hy(a,b,c,d,e,f){Gy(b,c);var h=c[0],k=d.text.charAt(0),l=-1;if(Fy(d))if(0b.length)return!1;l=Iy(a,b.substring(0,h+e),c)}else l=Iy(a,b,c);switch(k){case "G":return l=Jy(b,c,a.f.et),0<=l&&(f.era=l),!0;case "M":case "L":a:{d=l;if(0>d){a=a.f.it.concat(a.f.pt).concat(a.f.kt).concat(a.f.qt);d=Jy(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=Jy(b,c,a.f.rt),0>d&&(d=Jy(b,c,a.f.nt)),0>d?f=!1:(f.f=d,f=!0),f;case "a":return l=Jy(b,c,a.f.ct),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=Iy(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=Jy(b,c,a.f.jt),0>d&&(d=Jy(b,c,a.f.mt)),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=Iy(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 Iy(a,b,c){if(a.f.st){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 Jy(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 Ky(){};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 Ly=/^([-]?\d+\.?\d*)(.*?)?$/,My={factors:[1E15,1E12,1E9,1E6,1E3,1E3,1,.001,1E-6,1E-9],suffixes:"P T G M K k m u n".split(" ")},Ny="default",Oy=null,Py=NaN,Qy="default",Ry=null,Sy=null,Ty=null,Uy=0,Vy={},Wy={},Xy={},Yy={};function Zy(a){z(a)||(a=da.anychart.format.locales[String(a)]);return a||null}function fs(a){return(a=Zy(a))&&a.dateTimeLocale||null}function $y(a){return(a=Zy(a))&&a.numberLocale||null}function az(a,b){var c=fs(a);return c&&c[b||"dateTimeFormat"]||null}
function bz(a){if(!a)return Jq;var b=la(a);b in Yy||(Yy[b]={et:a.eras,hy:a.eraNames,jy:a.narrowMonths,ky:a.standaloneNarrowMonths,it:a.months,pt:a.standaloneMonths,kt:a.shortMonths,qt:a.standaloneShortMonths,rt:a.weekdays,ny:a.standaloneWeekdays,nt:a.shortWeekdays,my:a.standaloneShortWeekdays,fG:a.narrowWeekdays,ly:a.standaloneNarrowWeekdays,mt:a.shortQuarters,jt:a.quarters,ct:a.ampms||a.amPmS,jn:a.dateFormats||[],mn:a.timeFormats||[],dt:a.dateTimeFormats||[],ft:a.firstDayOfWeek,MG:a.weekendRange,
ht:a.firstWeekCutOffDay||a.firstWeekCutOfDay});return Yy[b]}function cz(a){m(a)&&(Py=ja(a)?a.getTime():O(a));return isNaN(Py)?(a=new Date,a.setTime(Date.UTC(a.getUTCFullYear(),a.getUTCMonth())),a):new Date(Py)}function gs(a){m(a)&&(B(a)||z(a)?Qy=a:Qy="default");return Qy}function dz(a){m(a)&&(B(a)?Ry=a:Ry=null);return Ry||az(Qy)||az("default")||"yyyy.MM.dd"}function ez(a){m(a)&&(B(a)?Sy=a:Sy=null);return Sy||az(Qy,"dateFormat")||az("default","dateFormat")||"yyyy.MM.dd"}
function fz(a){m(a)&&(B(a)?Ty=a:Ty=null);return Ty||az(Qy,"timeFormat")||az("default","timeFormat")||"HH:mm:ss"}function gz(a){m(a)&&(Uy=O(a)||0);return Uy}
function hz(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:Oy)||null){d=fs(d)||fs(Ny)||fs("default");var e=la(d),e=b+e,f;e in Wy||(d=bz(d),Wy[e]=new Cy(b,d));f=Wy[e];c=ja(c)?c:cz();(b=-1==b.replace(/'.+?'/g,"").search(/z+/i)?6E4*c.getTimezoneOffset():0)&&c.setTime(c.getTime()+b);d=a.length;a:{for(var h=new Ky,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}Hy(f,
a,e,f.b[p],r,h)||(p=k-1,e[0]=l)}else{if(k=-1,!Hy(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],Gy(a,e),e[0]>r)continue}else if(a.indexOf(f.b[p].text,e[0])==e[0]){e[0]+=f.b[p].text.length;continue}a=0;break a}b:{void 0!=h.era&&void 0!=h.year&&!h.era&&0f?
f:a));E(c.setHours)&&(void 0==h.b&&(h.b=c.getHours()),void 0!=h.g&&0h.b&&(h.b+=12),c.setHours(h.b));E(c.setMinutes)&&void 0!=h.D&&c.setMinutes(h.D);E(c.setSeconds)&&void 0!=h.j&&c.setSeconds(h.j);E(c.setMilliseconds)&&void 0!=h.u&&c.setMilliseconds(h.u);void 0!=h.i&&c.setTime(c.getTime()+6E4*(h.i-c.getTimezoneOffset()));h.w&&(a=new Date,a.setFullYear(a.getFullYear()-80),c.getTime()a)&&(a=-a);n="";if(z(e)&&q(e.factors)&&q(e.suffixes)){var p=1,r=e.factors;e=e.suffixes;for(var t=Math.min(r.length,e.length),u=0;u=p||1>=p&&a>.1*p){n=e[u];break}n?n=h+n:p=1;a/=p}f=f?a.toFixed(b):uq(a,b).toString();a="";/(e+|e-)/.test(f)&&(b=f.split("e"),f=b[0],a="e"+b[1]);b=f.split(".");if(d){f=b[0];for(h=[];0<(e=f.substr(0,f.length-3)).length;)h.unshift(f.substr(-3)),f=
e;f&&h.unshift(f);b[0]=h.join(d)}d=l?"-":"";c=b.join(c)+a+n;l&&k&&(c=["(",c,")"].join(""),d="");return d+c}F("anychart.format.inputLocale",function(a){m(a)&&(B(a)||z(a)?Ny=a:Ny="default");return Ny});F("anychart.format.inputBaseDate",cz);F("anychart.format.inputDateTimeFormat",function(a){m(a)&&(B(a)?Oy=a:Oy=null);return Oy});F("anychart.format.outputLocale",gs);F("anychart.format.outputTimezone",gz);F("anychart.format.outputDateFormat",ez);F("anychart.format.outputTimeFormat",fz);
F("anychart.format.outputDateTimeFormat",dz);F("anychart.format.parseDateTime",hz);
F("anychart.format.parseNumber",function(a,b){var c=$y(b)||$y(Ny)||$y("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=My);if(z(e)&&q(e.factors)&&q(e.suffixes)){a=a.replace(new RegExp(Qa(c.scaleSuffixSeparator),"g"),"");var f=a.match(Ly);if(!f)return NaN;var h=1;a=+f[1];if(f=f[2])for(var k=e.factors,e=e.suffixes,
l=Math.min(k.length,e.length),n=0;nd.left-v+c&&(h-=d.left-v+c),0>d.top-w+e&&(k-=d.top-w+e),d.sa()-v+c>l.width&&(h-=d.sa()-v+c-l.width),d.pa()-w+e>l.height&&(k-=d.pa()-w+e-l.height));r||(b.x(h),b.y(k),d=b.Na(),d.leftf.width+v&&(h-=d.sa()-f.width-v),d.pa()>f.height+w&&(k-=d.pa()-f.height-w));u||(b.x(h),b.y(k),d=b.Na(),d.lefta.sa()+v&&(h-=d.sa()-v-a.sa()),d.pa()>a.pa()+w&&(k-=
d.pa()-w-a.pa()));b.x(h);b.y(k)}
function Cz(a,b,c,d,e){if(a.wa(3)&&(a.i=e?e.qb():a,Dz(a,[a.i]),a.i.enabled())){for(var f={clientX:{value:c,type:"number"},clientY:{value:d,type:"number"},formattedValues:{value:[],type:""},points:{value:[],type:""}},h=[],k=0;kd.pa()?(e=d.Sa(),f=d.sa(),h=d.Ya(),k=d.pa(),c+=2):(e=f=d.Sa()+2,h=d.Ya(),k=d.pa(),b-=2);else if(b>d.sa())cd.pa()?(e=d.Sa(),f=d.sa(),h=d.pa(),k=d.Ya(),c+=2):(e=f=d.sa()-2,h=d.Ya(),k=d.pa(),b+=2);else if(c<
d.Ya())h=k=d.Ya()+2,e=d.sa(),f=d.Sa(),c-=2;else if(c>d.pa())h=k=d.pa()-2,e=d.Sa(),f=d.sa(),c+=2;else break a;a.N=[e,h,f,k,b,c]}dd(document,"mousemove",a.hs,!1,a)}else e&&d.Tb(!0)}}function Jz(a,b,c,d){uz(a);a.i=a;d&&(d.clientX=b,d.clientY=c,hy(a.title(),Fz(a,d)),a.yd().text(Ez(a,d)));vz(a,a);zz(a,a,b,c);Gz(a,b,c)}function Fz(a,b){b.values().titleText={value:a.Ja.J("text"),type:"string"};zy(b);var c=a.J("titleFormat");B(c)&&(c=Kz(Lz.Mc(),c));return c.call(b,b)}
function Ez(a,b,c){b.values().valuePrefix={value:a.J("valuePrefix")||"",type:"string"};b.values().valuePostfix={value:a.J("valuePostfix")||"",type:"string"};zy(b);a=c?a.J("unionFormat"):a.J("format");B(a)&&(a=Kz(Lz.Mc(),a));return a.call(b,b)}g.yd=function(a){this.P||(this.P=new ix,Q(this.P,this.bO,this),this.P.ub(this),this.P.width("100%").height("100%"),H(this,this.P));return m(a)?(this.P.W(a),this):this.P};
g.content=function(a){M(405,null,[".content()","the following behaviour",": the method called through the .content()-method should be applied to the .tooltip()-method directly"]);return this.yd(a)};g.bO=function(a){U(a,8)?(this.Y=this.G=null,this.o(1988,1)):U(a,1)&&this.o(512,1)};
function sz(a,b,c){if(b)return a.w&&a.w.stop(),a.remove(),!0;if(a.J("selectable")&&c){b=c.originalEvent.clientX;c=c.originalEvent.clientY;var d=a.Na().Pd(new je(b,c)),e=wz(a).X();if(e&&!d)return Wc(e,"mouseleave",a.Sr,!1,a),a.N=null,!1;if(Mz(a,b,c))return Wc(document,"mousemove",a.hs,!1,a),e&&(Wc(wz(a).X(),"mouseenter",a.Wx,!1,a),Wc(wz(a).X(),"mouseleave",a.Xx,!1,a)),!1;a.N=null}if(a.Gm())return tz(a),a.w.Jj()||a.w.start(),!1;a.remove();return!0}g.remove=function(){wz(this).parent(null)};
function uz(a){var b=a.wa(1)&&!$b(a.B);a.title().Ua=b;a.vh().Va=b;a.Th().Oa=b}g.Na=function(){this.Y=this.G=null;yz(this);return new K(this.Y.x+this.J("offsetX"),this.Y.y+this.J("offsetY"),this.G.width,this.G.height)};g.Zc=function(){xz(this);return this.G};g.fc=function(){if(S(this,512)){J(this.yd());for(var a in this.ca){var b=this.J(a);m(b)&&this.yd().cc(a,b)}this.yd().uk(this.J("adjustFontSize"));this.yd().fs(this.J("minFontSize"));this.yd().cs(this.J("maxFontSize"));this.yd().ga(!1)}};
g.o=function(a,b){var c=pz.F.o.call(this,a,b);!c&&this.wa(1)&&!$b(this.B)&&this.fa(b||0);return c};function wz(a){if(!a.b){a.b=Zh();H(a,a.b);Xv(a,a.b);var b=a.Th(),c=a.title(),d=a.vh(),e=a.yd();b.O(a.b);c.O(a.b);d.O(a.b);e.O(a.b)}return a.b}function Az(a,b){return m(b)?(a.ta=b,a):a.ta}function Bz(a){return Bv&&a.J("allowLeaveStage")&&a.J("allowLeaveChart")}function tz(a){a.w&&a.w.Jj()?a.bb=!0:(Mb(a.w),a.w=new pd(function(){this.remove();this.bb&&(this.bb=!1,tz(this))},a.Gm(),a))}
function Dz(a,b){b=b||[];for(var c in a.B)eb(b,function(a){return String(la(a))==c})||a.B[c].dc(!0)}
function xz(a){if(!a.G){J(a.yd());a.fc();a.yd().ga(!1);var b=a.J("width"),c=a.J("height"),d=(a.u||Az(a)).Na(),b=N(b,d.width),c=N(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.vh(),r=a.yd(),t;if(!d||!e){if(n.enabled()){n.ia(null);t=n.J("width");var u=null!=n.kb("width");h=n.J("height");var v=null!=n.kb("height");Sr(t)&&(k=t,d?(t=a.nd().ld(b),n.width(t)):n.width(null));Sr(h)&&(l=h,e?(t=a.nd().kd(c),n.height(t)):n.height(null));h=n.Zc();f.width=b||Math.max(f.width,
h.width);u?n.width(k):delete n.w.width;v?n.height(l):delete n.w.height;l=k=null;e||(f.height+=h.height)}if(r.enabled()){var w=(u=a.ba?a.ba.yd():null)?u.width():void 0,u=u?u.height():void 0;r.ia(null);w=r.width()||w;u=r.height()||u;Sr(w)&&(k=w,d?(t=a.nd().ld(b),r.width(t)):r.width(null));Sr(u)&&(l=u,e?(t=a.nd().kd(c),r.height(t)):r.height(null));w=r.Zc();f.width=b||Math.max(f.width,w.width);k&&r.width(k);l&&r.height(l);e||(f.height+=w.height)}n.enabled()&&n.ia(new K(0,0,f.width,h.height));r.enabled()&&
r.ia(new K(0,0,f.width,w.height));p.enabled()&&(p.ia(n.enabled()||r.enabled()?f:null),h=p.Zc(),f.width=b||Math.max(f.width,h.width),e||(f.height+=h.height))}f=a.nd().vF(f);d&&(f.width=b);e&&(f.height=c);f.left=0;f.top=0;a.G=f}}function yz(a){xz(a);if(!a.Y){var b=a.J("anchor"),c=a.J("offsetX"),d=a.J("offsetY"),e=a.J("x"),f=a.J("y"),e=new je(e,f);js(e,b,c,d);b=Zr(a.G,b);e.x-=b.x;e.y-=b.y;a.Y=e}}
function Iz(a,b,c,d,e){var f=c,h=d,k,l=a.J("positionMode")||"float",n=a.J("displayMode"),p=(a.Aa()||Az(a)).Na(),r=a.ta.O().ja(),t=r.Pa();k=um(r);var u=Bz(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.xk(h,!0).value,f=u?h.x+k.x:h.x,h=u?h.y+k.y:h.y):"chart"==l&&(f=a.Aa().Na(),h="union"==n?a.J("position"):b.J("position"),h=Zr(f,h),f=h.x+
(u?k.x:0),h=h.y+(u?k.y:0));v||(b.x(f),b.y(h),v=u?0:k.x,u=u?0:k.y,k=b.Na(),a=Zf(window),0>k.left-x+v&&(f-=k.left-x+v),0>k.top-y+u&&(h-=k.top-y+u),k.sa()-x+v>a.width&&(f-=k.sa()-x+v-a.width),k.pa()-y+u>a.height&&(h-=k.pa()-y+u-a.height));r||(b.x(f),b.y(h),k=b.Na(),k.leftt.width+x&&(f-=k.sa()-t.width-x),k.pa()>t.height+y&&(h-=k.pa()-t.height-y));w||(b.x(f),b.y(h),k=b.Na(),k.leftp.sa()+
x&&(f-=k.sa()-x-p.sa()),k.pa()>p.pa()+y&&(h-=k.pa()-y-p.pa()));b.x(f);b.y(h)}function Nz(a){var b=null;Az(a)?b=Az(a).O():a.Aa()?b=a.Aa().O():a.parent()&&(Az(a.parent())?b=Az(a.parent()).O():a.parent().Aa()&&(b=a.parent().Aa().O()));return b}
function vz(a,b){if(S(b,2)){var c;if(Bz(b))c=uy.Mc(),a.g&&a.g.el()&&b.g.O(null),b.g=c,b.g.O(document.body),b.O(c.b),wz(b).parent(b.O()),b.K(2);else{var d=Nz(b);if(d){var e=Oz(b);c=Fs[e];c||(c=new my,Fs[e]=c);b.g=c;wz(b).parent(b.O());d=d.ja().Cj();c.O(d);b.O(c.b);b.K(2)}}}}g.hs=function(a){if(Mz(this,a.clientX,a.clientY))this.g.el()||qy(this.g,!0);else{dd(document,"mousemove",this.hs,!1,this);var b=wz(this).X();b&&(dd(b,"mouseenter",this.Wx,!1,this),dd(b,"mouseleave",this.Xx,!1,this));this.Sr(a)}};
function Mz(a,b,c){if(!a.N)return!1;var d=a.N[0],e=a.N[1],f=a.N[2],h=a.N[3],k=a.N[4],l=a.N[5];a=Aq(f,h,k,l,b,c);k=Aq(k,l,d,e,b,c);return Aq(d,e,f,h,b,c)==a&&a==k}g.Wx=function(){dd(document,"mousemove",this.hs,!1,this);wz(this).X()&&dd(wz(this).X(),"mouseenter",this.Wx,!1,this);this.N=null};g.Xx=function(a){wz(this).X()&&dd(wz(this).X(),"mouseleave",this.Xx,!1,this);this.Sr(a)};
g.Sr=function(a){if(2==a.ff.buttons)return!0;this.g.el()||qy(this.g,!1);wz(this).X()&&dd(wz(this).X(),"mouseleave",this.Sr,!1,this);this.N=null;this.Gm()?(tz(this),this.w.Jj()||this.w.start()):this.dc(!0)};function Oz(a){a=Nz(a).ja();return"stg"+la(a)}
g.parent=function(a){if(m(a)){if(this.ba!=a){var b=String(la(this));a?(this.ba&&Ev(this.ba,this.Mq,this),this.ba=a,this.title().parent(this.ba.title()),this.vh().parent(this.ba.vh()),this.Th().parent(this.ba.Th()),this.nd().parent(this.ba.nd()),this.yd().nd().parent(this.ba.yd().nd()),this.ba.B[b]=this,Q(this.ba,this.Mq,this)):(Ev(this.ba,this.Mq,this),this.title().parent(null),this.vh().parent(null),this.Th().parent(null),this.nd().parent(null),this.yd().nd().parent(null),delete this.ba.B[b],this.ba=
null)}return this}return this.ba};g.Mq=function(a){var b=0,c=0;if(U(a,8)||U(a,1))b|=1988,c|=8;U(a,32768)&&(b|=1,c|=1);this.j=null;this.o(b,c)};g.kb=function(a){return this.U[a]};g.Kb=function(a){return null!=this.U[a]};g.Jb=function(a){return this.Ia[a]};g.J=Mw;g.Nb=function(a,b){this.U[a]=b};g.wa=function(a){return m(a)?!!(a&this.ib):!0};g.ce=function(a){m(a)&&(this.j=a);return this.j};g.Sf=Lw;g.Vc=function(){var a=[this.Ia];this.ba&&(a=pb(a,this.ba.Vc()));return a};
g.Lc=function(){var a=[this.U];this.ba&&(a=pb(a,this.ba.Lc()));return a};g.zD=function(a){M(405,null,["isFloating()","positionMode()"]);var b=this.J("positionMode");return m(a)?("float"==b!=a&&this.Nb("positionMode",a?"float":"chart"),this):"float"==b};g.enabled=function(a){return m(a)?(this.U.enabled!=a&&(this.U.enabled=a,this.o(1,32777),this.U.enabled?(this.va=!1,this.ga(!0)):isNaN(this.Sd)?J(this):this.va=!0),this):this.J("enabled")};
g.I=function(){var a={};qw(this,this.ca,a);qw(this,this.wp,a);delete a.x;delete a.y;var b=this.title().I();$b(b)||(a.title=b);b=this.vh().I();$b(b)||(a.separator=b);b=this.Th().I();$b(b)||(a.background=b);b=this.nd().I();$b(b)||(a.padding=b);m(this.ka)&&(a.hideDelay=this.ka);m(this.zIndex())&&(a.zIndex=this.zIndex());this.Kb("enabled")&&(a.enabled=this.U.enabled);return a};
g.aa=function(a,b){a.content&&this.content(a.content);a.isFloating&&this.zD(a.isFloating);if(b){for(var c in this.ca){var d=a[c];m(d)&&(this.Ia[c]=d)}for(c in this.wp)d=a[c],m(d)&&(this.Ia[c]=d);"enabled"in a&&(this.Ia.enabled=a.enabled)}else pw(this,this.ca,a),pw(this,this.wp,a);this.title().$a(!!b,a.title);this.vh().$a(!!b,a.separator);this.Th().$a(!!b,a.background);this.nd().$a(!!b,a.padding);this.Gm(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.Sf(),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.ea&&(t+k>c?(x=Math.max(x,t),w+=u,v++,u=e+a.w,t=k+a.w):(t+=k+a.w,u=Math.max(u,e+a.w))));!d||0>f?f=d=0:d-=a.w;
!h||0>l?l=h=0:h-=a.w;a.vd=v;return"vertical"==a.ea?Hq(0,0,Math.max(0,f),Math.max(0,h)):"horizontal"==a.ea?Hq(0,0,Math.max(0,d),Math.max(0,l)):"verticalexpandable"==a.ea?(w+=u-a.w,x=Math.max(x,t)-a.w,Hq(0,0,Math.max(0,w),Math.max(0,x))):"horizontalexpandable"==a.ea?(w=Math.max(w,p)-a.w,x+=n-a.w,Hq(0,0,Math.max(0,w),Math.max(0,x))):Hq(0,0,0,0)}
function Tz(a){var b=a.ia();b&&0>=b.width&&0>=b.height&&(b=null);var c,d,e=a.margin(),f=a.em(),h,k,l,n,p=0,r=0,t,u;b?(c=b.width,d=b.height,null!=a.Ga?(l=Math.min(c,N(a.Ga,c),null!=a.cd?N(a.cd,c):c),t=f.ld(e.ld(l))):t=null!=a.cd?f.ld(e.ld(N(a.cd,c))):f.ld(e.ld(c)),null!=a.Za?(n=Math.min(d,N(a.Za,d),null!=a.yc?N(a.yc,d):d),u=f.kd(e.kd(n))):u=null!=a.yc?f.kd(e.kd(N(a.yc,d))):f.kd(e.kd(d))):(C(a.Ga)&&!isNaN(a.Ga)?(l=a.Ga,t=f.ld(a.Ga)):t=C(a.cd)&&!isNaN(a.cd)?f.ld(a.cd):Infinity,C(a.Za)&&!isNaN(a.Za)?
(n=a.Za,u=f.kd(a.Za)):u=C(a.yc)&&!isNaN(a.yc)?f.kd(a.yc):Infinity);var v,w,x,y=a.op(),A=a.Kh(),D=a.title(),P=A.Dk(),P="bottom"==P||"top"==P,R=D.J("orientation")||gy(D),R="bottom"==R||"top"==R,T=!(ky(D)%180),ba=Xx(y);J(y);J(A);J(D);var ca=w=null;do{w&&(ca=w);var V=w=0,I=0,va=0;D.enabled()?(D.ia(null),ey(D,null),fy(D,null),x=D.Zc(),R?(x.width>t&&(T?ey(D,t):fy(D,t),x=D.Zc()),va=x.width,w+=x.height):(x.height>u&&(T?fy(D,u):ey(D,u),x=D.Zc()),I=x.height,V+=x.width)):x=null;y.enabled()?(y.ia(null),v=y.Zc(),
ba?w+=v.height:V+=v.width):v=null;h=t-V;k=Uz(a,h,u-w);var za=k.width;k=k.height;w+=k;V+=za;I=Math.max(I,k);va=Math.max(va,za);V=Math.max(va,V);va=Math.max(I,w);I=u;R&&(I-=x?x.height:0);ba&&(I-=v?v.height:0);A.ia(null);w=Ux(A,1);if("horizontal"==a.ea)za>h&&a.b&&1h&&1I&&a.b&&1=t-x.width?va:za,x=Math.max(Math.min(D.text().length,1),D.margin().ld(I-sb<=x?I-x:sb)),ey(D,x);else if(!T&&va>u){x=0;v&&ba&&(x+=v.height);if("top"==A.Dk()||"bottom"==A.Dk())x+=w.height;za=Sx(A)&&!P?w.height:0;za=Math.max(a.b&&a.b.length?a.b[0].Na().height:0,za);x=Math.max(1,D.margin().kd(u-
x-za));T?fy(D,x):ey(D,x)}x=D.Zc();y.width(h)}else x=D.Zc(),y.width(k);v=y.Zc();R?V-=x.height:I-=x.width}y.enabled()&&(ba?V-=v.height:I-=v.width);za=I;x=V;A.Dk();Sx(A)&&(P?x=V-w.height:za=I-w.width);w=a;v=x;var Nc;w.U=[];x=0;V=w.b&&w.b.length;for(I=0;Iza?(x++,w.U[x]=[],w.U[x][0]=w.b[I],v=w.b[I].Na().Cd()):(v=v+w.w+w.b[I].Na().Cd(),w.U[x].push(w.b[I])));
break;case "vertical":za=w.b[I].Na().Bd();I+=1;for(V=w.b.length;Iv?(x++,w.U[x]=[],w.U[x][0]=w.b[I],za=w.b[I].Na().Bd()):(za=za+w.w+w.b[I].Na().Bd(),w.U[x].push(w.b[I])));break;case "horizontalexpandable":for(var Fa=w.b[I].Na().Cd()+w.w,pc=w.b[I].Na().Bd()+w.w,hd=0,I=I+1;Iza?(hd+=pc,hd+Nc>v?(x++,w.U[x]=[],w.U[x][0]=va,hd=0):w.U[x].push(va),Fa=sb+w.w,pc=Nc+w.w):(Fa+=sb+w.w,pc=Math.max(pc,Nc+
w.w),w.U[x].push(va)));break;case "verticalexpandable":for(Fa=w.b[I].Na().Cd()+w.w,pc=w.b[I].Na().Bd()+w.w,hd=0,I+=1;Iv?(hd+=Fa,hd+sb>za?(x++,w.U[x]=[],w.U[x][0]=va,hd=0):w.U[x].push(va),Fa=sb+w.w,pc=Nc+w.w):(Fa=Math.max(Fa,sb+w.w),pc+=Nc+w.w,w.U[x].push(va)))}Kx(w.Kh(),x+1);A.ia(null);w=A.Na()}while(!oe(ca,w));l||(l=h);n||(n=k);a.xa=new K(p,r,l,n);if(a.vb)p=a.Wcb.sa()&&(p=b.sa()-l),rb.pa()&&(r=b.pa()-n));else if(b){p=b.Sa();r=b.Ya();switch(a.B){case "left":case "right":switch(a.G){case "center":r+=(d-n)/2;break;case "right":case "bottom":r=b.pa()-n}break;case "top":case "bottom":switch(a.G){case "center":p+=(c-l)/2;break;case "right":case "bottom":p=b.sa()-l}}switch(a.B){case "right":p=b.sa()-
l;break;case "bottom":r=b.pa()-n}}else p=N(e.J("left"),0),r=N(e.J("top"),0);a.xa.left=p;a.xa.top=r;a.Ed=a.em().gf(a.margin().gf(a.xa));b=a.xa.clone();b.left=0;b.top=0;a.mb=a.margin().gf(b);a.md=a.em().gf(a.mb);y.ga(!1);A.ga(!1);D.ga(!1);a.K(4)}function Vz(a){if(q(a.ob))return a.ob;if(null!=a.ca){for(var b,c=[],d=0;dc.width&&(e+=f,f=d=0),n.o(4),J(n).ia(c).x(d).y(e).enabled(!0).ga(!1).$(),
d+=n.Na().Cd()+a.w,f=Math.max(f,p.Bd()+a.w);break;case "verticalexpandable":for(k=0;kc.height&&(d+=h,h=e=0),n.o(4),J(n).ia(c).x(d).y(e).enabled(!0).ga(!1).$(),e+=l[k].Na().Bd()+a.w,h=Math.max(h,p.Cd()+a.w)}if(a.title().enabled()&&(c=a.title().J("orientation")||gy(a.title()),"top"!=c&&"bottom"!=c)){d=c=0;if(e=a.g.fb)c=e.sb,d=e.tb;e=a.ma.Rf();f=a.Ja.Zc();f.top+=d;f.left+=c;c=f.top+f.height/2-(e.top+e.height/2);c=Math.min(a.Ed.height-e.height,Math.max(c,0));a.ma.Xa(1,
0,0,1,0,c)}}a.xb=b}g.VM=function(a){return this.dispatchEvent(a.type)};g.qg=function(a){a=Qz.F.qg.call(this,a);var b=Qr(a.domTarget),b=O(b&&b.index);isNaN(b)||(a.itemIndex=b);return a};g.ZM=function(a){var b=aA(this,a);if(b&&this.dispatchEvent(b)){var c=this.b&&this.b[b.itemIndex],b=b.itemSource;c&&(b&&E(b.Jw)&&b.Jw(c,a),c.bb=!0,ux(c,!0),qx(c,!0),tx(c,!0),a&&Sz(this,a))}};g.YM=function(a){var b=aA(this,a);b&&this.dispatchEvent(b)&&a&&Sz(this,a)};
g.CJ=function(a){var b=aA(this,a);if(b&&this.dispatchEvent(b)){var c=this.b&&this.b[b.itemIndex],b=b.itemSource;c&&(b&&E(b.Iw)&&b.Iw(c,a),c.bb=!1,ux(c,!1),qx(c,!1),tx(c,!1),this.qb().dc())}};g.BJ=function(a){if(a.button==gk){var b=aA(this,a);if(b&&this.dispatchEvent(b)){var c=this.b&&this.b[b.itemIndex],b=b.itemSource;c&&b&&E(b.Hw)&&b.Hw.call(b,c,a)}}};g.ve=function(a){(a=aA(this,a))&&this.dispatchEvent(a)};
function aA(a,b){var c=O(b.itemIndex);if(isNaN(c))return null;var d=b.type;switch(d){case "mouseout":d="legenditemmouseout";break;case "mouseover":d="legenditemmouseover";break;case "mousemove":d="legenditemmousemove";break;case "mousedown":d="legenditemmousedown";break;case "mouseup":d="legenditemmouseup";break;case "click":d="legenditemclick";break;case "dblclick":d="legenditemdblclick";break;default:return null}var c=a.ta?a.b.length-1-c:c,e=null,f=NaN,h=a.b[c];if(h&&a.ca)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.Qa().select(c)&&(a.target.wa(512)||"single"!=a.target.Ac()||(h?pA(a.target,b):m(d)&&!h&&oA(a,NaN)&&pA(a.target,d)),f?a.target.sj(b):m(d)&&a.target.sj(d))}}}
function oA(a,b){var c;if(m(b)){if(isNaN(b))return!qA(a,Cp)&&!(a.f&Cp);c=rA(a,+b)}else c=a.f;return!(c&Cp)}
function sA(a,b,c,d){var e;if(m(c)){var f=a.target.Qa().gc(),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==Dp&&a.target.sj(b),oA(a,NaN)&&!a.target.wa(512)&&"single"==a.target.Ac()&&pA(a.target,b)):a.b[d]|=b)}}
function wA(a,b){var c=Bp,d;if(m(b)){if(!(b>=a.target.Qa().gc())){if(q(b))for(Bb(b),d=b.length;d--;)vA(a,c,+b[d]);else vA(a,c,+b);a.target.uo()}}else if(a.f&c)if(c==Bp){for(d=a.b.length;d--;)tA(a,c,d)&&(lb(a.b,d,1),lb(a.i,d,1));a.f=Dp}else c==Cp&&(a.b.length=0,a.i.length=0,a.f=Dp);else{for(d=a.b.length;d--;)tA(a,c,d)&&(lb(a.b,d,1),lb(a.i,d,1));a.f=c}}function tA(a,b,c){return!(a.b[c]&=~b)}
function nA(a,b,c){var d=a.i[c];tA(a,b,c)?(lb(a.i,c,1),lb(a.b,c,1),a.target.enabled()&&a.target.Qa().select(d)&&a.f==Dp&&a.target.sj(Dp)):a.target.enabled()&&a.target.Qa().select(d)&&a.f==Dp&&a.target.sj(a.b[c])}function xA(a,b,c){isNaN(c)||(c=wb(a.i,c),0<=c&&nA(a,b,c))}
function yA(a,b,c){var d;if(m(c)){if(q(c))for(Bb(c),d=c.length;d--;)xA(a,b,+c[d]);else if(isNaN(c))for(d=a.i.length;d--;)nA(a,b,d);else xA(a,b,+c);a.target.uo();a.target.wa(512)||"single"!=a.target.Ac()||(b=a.target,a=qA(a,Cp)?Cp:qA(a,Bp)?Bp:Dp,pA(b,a))}else{for(d=a.b.length;d--;)tA(a,b,d)&&(a.target.Qa().select(a.i[d])&&a.target.sj(Dp),lb(a.i,d,1),lb(a.b,d,1));a.target.uo();a.f&=~b;if(Fv(a.target))if(a.target.wa(512))for(b=uA(a.target);b.advance();)c=b.La(),b.select(c)&&oA(a,c)&&pA(a.target,a.f);
else pA(a.target,a.f)}}function zA(a,b){for(var c=[],d=0,e=a.b.length;da.nearestPointToCursor.distance&&(a.series.Qa().select(a.nearestPointToCursor.index),e=a)});"single"==this.N.J("displayMode")?Hz(this.N,[e],a.originalEvent.clientX,a.originalEvent.clientY,
e.series):Hz(this.N,b,a.originalEvent.clientX,a.originalEvent.clientY,e.series)}}};g.Ys=function(a){var b=this.N,c=a.clientX;a=a.clientY;var d=b.J("displayMode");"single"==d&&(zz(b,b.i,c,a),Gz(b.i,c,a));if("union"==d)zz(b,b.i,c,a),Gz(b.i,c,a);else if("separated"==d)for(var e in b.B)if(d=b.B[e])Iz(b,d,c,a),Gz(d,c,a)};
g.contextMenu=function(a){!this.ob&&(this.ob=da.anychart.ui.contextMenu(!!z(a)&&a.fromTheme))&&(H(this,this.ob),this.ob.itemsProvider(this.SL));return m(a)?(this.ob&&this.ob.setup(a),this):this.ob};g.gD=function(){return"https://anychart.com/products/anychart/history"};g.SL=function(a){a.event&&Qr(a.event.domTarget);var b=qp(DA),c=qp(EA);c.href=a.chart.gD()+"?version=7.14.0.1429";b.push(null,FA,GA,c);return qp(b)};
g.LM=function(){var a=[],b,c,d,e,f=this.b;for(d=0;du.Pd||!h)h=t.na,k=u.index,l=jb(t.Cb,u.index),n=u.Pd}}h={index:k,series:h};h[b]=e?!l:l;l=[];if(!e)for(n=0;nv.ic.Pd&&(w=v));p=w.na;f=zA(p.state,Cp);l=1==f.length&&f[0]==
w.ic.index;n=!l||l&&(k||a.shiftKey);f=(k||a.shiftKey)&&BA(p.state.Qg(),Cp);!f&&(k||a.shiftKey)||l||p.jf();p.Sm(w.ic.index,a);f=zA(p.state,Cp);if(f.length)for(d.push({na:p,Cb:[w.ic.index],ic:w.ic}),e=this.b,h=0;he?c+e:c,l=0>f?d+f:d;return{type:b,offsetX:h.offsetX,offsetY:h.offsetY,clientX:h.clientX,clientY:h.clientY,screenX:h.screenX,screenY:h.screenY,button:h.button,actionButton:h.actionButton,keyCode:h.keyCode,charCode:h.charCode,ctrlKey:h.ctrlKey,altKey:h.altKey,shiftKey:h.shiftKey,metaKey:h.metaKey,platformModifierKey:h.platformModifierKey,clientStartX:c+a.x,clientStartY:d+a.y,clientLeft:k+a.x,clientTop:l+a.y,startX:c,startY:d,left:k,top:l,width:Math.abs(e),
height:Math.abs(f)}}g.oO=function(a,b,c,d,e,f){return this.dispatchEvent(QA(this,"selectmarqueestart",b,c,d,e,f))};g.mO=function(a,b,c,d,e,f){return this.dispatchEvent(QA(this,"selectmarqueechange",b,c,d,e,f))};g.nO=function(a,b,c,d,e,f){a=QA(this,"selectmarqueefinish",b,c,d,e,f);a=this.dispatchEvent(a);this.Vj=!1;return a};
function RA(a,b,c){var d,e,f=a.length;for(d=0;db||h&&d>c?-1:f&&a==b||h&&d==c?0:1});0>d&&(d=~d-1);return a[ce(d,0,a.length)]}
function zB(a){var b=gB(a),c=b.useHtml,d=a.Eh();S(a,1024)&&(dB(a.mg,a.La()),a.K(1024));b=hB(a.mg,b.format,d,a.La());a.Vk||(a.Vk=ai(),a.Vk.pd("aria-hidden","true"));c?a.Vk.htmlText(m(b)?String(b):""):a.Vk.text(m(b)?String(b):"");tB(a,function(a,b,c){a=0==c;b instanceof JA||b instanceof eB?this.fc.call(b,this.Vk,a):this.fc(this.Vk,a,b)},!0);return a.Vk}g.clear=function(){this.ql();this.f&&(this.f.parent(null),this.f.xe());this.o(2)};
g.eA=function(a,b){var c=this.u.positionFormatter,d=YA(this.u.anchor)||"leftTop",e=wB(this),f=this.u.offsetX,h=this.u.offsetY,k=0,l=0;b&&(k=b.width,l=b.height);var n=this.uc(),p=dc(c.call(n,n)),p=new je(p.x,p.y),n=n&&n.connectorPoint;this.B&&(this.B.clear(),this.B.Xa(1,0,0,1,0,0));n&&(this.B||(this.B=this.f.Ba(),this.B.Aj(!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=Zr(new K(0,0,a.width,a.height),d);p.x-=c.x;p.y-=c.y;f=m(f)?N(f,k):0;h=m(h)?
N(h,l):0;e?js(p,d,h,f):js(p,d,f,h);a.left=p.x;a.top=p.y;this.g.x(this.w+p.x).y(this.G+p.y)};function AB(a){var b=a.uc(),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.Xa(1,0,0,1,0,0));b&&(a.B||(a.B=a.f.Ba(),a.B.Aj(!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.fc=function(a,b,c){var d,e,f=m(c)?function(a){return c[a]}:this instanceof eB?this.kb:JA.prototype.hw;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.Zi(f.call(this,"textDirection"));a.Pl(f.call(this,"textWrap"));a.opacity(f.call(this,"fontOpacity"));a.Ah(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.rh(f.call(this,"vAlign"));a.Hf(f.call(this,"hAlign"));a.eg(f.call(this,"textOverflow"));a.$i(f.call(this,"selectable"));a.Tb(f.call(this,"disablePointerEvents"))};
g.$=function(){var a=this.mg,b;this.f||(this.f=Zh());this.f.tag=this.ma;b=this.Ad("enabled");if(sB(this,1))if(b)this.O()&&!this.f.parent()&&this.f.parent(this.O()),this.K(1);else return this.f&&this.f.parent(null),this.K(4294967295),this;if(!b)return this;sB(this,2)&&(b&&((!this.mg.enabled()||m(this.enabled())&&!this.enabled())&&this.mg.Zd()&&(this.O()||this.O(a.Zd()),this.O().parent()||this.O().parent(a.O())),this.O()&&this.f.parent(this.O())),this.K(2));S(this,8)&&(this.O()&&this.O().zIndex(a.zIndex()),
this.f.zIndex(this.zIndex()),this.K(8));S(this,1024)&&(dB(a,this.La()),this.K(1024));if(sB(this,20)){this.u=null;b=gB(this);var c=this.Eh(),d=hB(a,b.format,c,this.La());this.f.Xa(1,0,0,1,0,0);var e,f=b.background;if(f instanceof Nw){if(f.enabled()||this.N&&this.N.enabled())e=f.I()}else e=f;!z(e)||!e||"enabled"in e||(e.enabled=!1);(c=B(e)||ka(e)||e&&e.enabled)||this.N?(this.N||(this.N=new Nw,this.N.zIndex(0),this.N.O(this.f)),this.ea&&this.N.W(this.ea instanceof Nw?this.ea.I():this.ea),this.N.W(e),
this.N.$()):f&&(this.ea=f);this.Xk();var h,k;this.U=tB(this,function(a,b){if(b instanceof JA){var c=b.ia();if(c)return c}});this.U||(a.O()?this.U=a.O().Pa():this.U=Hq(0,0,0,0));this.U&&(h=this.U.width,k=this.U.height);e=this.u.useHtml;this.g.width(null);this.g.height(null);e?this.g.htmlText(m(d)?String(d):""):this.g.text(m(d)?String(d):"");this.fc(this.g,!0,b);e=null!==b.width;var d=null!==b.height,f=new K(0,0,0,0),l;if(b.padding instanceof cx)l=b.padding;else if(z(b.padding)||C(b.padding)||B(b.padding))l=
new cx,l.W(b.padding);var n,p,r;e?(n=Math.ceil(N(b.width,h)),l?(r=l.ld(n),this.w=N(l.J("left"),n)):(this.w=0,r=n),f.width=n,n=!1):(p=this.g.Pa(),n=p.width,l?(f.width=l.he(n),this.w=N(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(N(b.height,k)),l?(t=l.kd(p),this.G=N(l.J("top"),p)):(this.G=0,t=p),f.height=p,p=!1):(p=this.g.Pa(),p=p.height,l?(f.height=l.fe(p),this.G=N(l.J("top"),f.height)):(this.G=0,f.height=p),p=!0);m(t)&&this.g.height(t);if(!n&&b.adjustByHeight||
!p&&b.adjustByHeight){var u;"different"==XA(a)?u=yB(this,r,t,b.minFontSize,b.maxFontSize,b.adjustByWidth,b.adjustByHeight):u=tB(this,function(a,b){if(b instanceof JA&&m(b.Vb.fontSize))return b.Vb.fontSize});J(this);this.g.fontSize(u);e?(n=Math.ceil(N(b.width,h)),f.width=n):(p=this.g.Pa(),n=p.width,l?f.width=l.he(n):f.width=n);d?(p=Math.ceil(N(b.height,k)),f.height=p):(p=this.g.Pa(),p=p.height,l?f.height=l.fe(p):f.height=p);this.ga(!1)}this.i=f;this.o(2048);this.K(20)}sB(this,2048)&&(this.eA(this.i,
this.U),c&&(this.N.ia(this.i),this.N.$()),a=Zr(this.i,this.u.anchor),this.f.xl(this.u.rotation,a.x,a.y),this.o(512),this.K(2048));S(this,512)&&(AB(this),this.K(512));sB(this,256)&&(this.f&&this.f.clip(this.u.clip),this.K(256));return this};g.Xk=function(){this.g||(this.g=ai(),this.g.pd("aria-hidden","true"),this.g.zIndex(1),this.f||(this.f=Zh()),this.g.parent(this.f),this.g.Tb(!0));return this.g};
g.I=function(){var a=eB.F.I.call(this),b;m(this.Kb("background"))&&(b=this.yq().I(),$b(b)||(a.background=b));m(this.Kb("padding"))&&(b=this.zq().I(),$b(b)||(a.padding=b));qw(this,this.Eu,a,"Labels factory label text");qw(this,this.dm,a,"Labels factory label props");(b=a.adjustFontSize)&&(m(b.width)||m(b.height))||delete a.adjustFontSize;this.Kb("enabled")||delete a.enabled;return a};
g.aa=function(a,b){var c=this.J("enabled");pw(this,this.Eu,a);pw(this,this.dm,a);eB.F.aa.call(this,a,b);m(a.enabled)||delete this.b.enabled;this.Nb("enabled","enabled"in a?a.enabled:c);"background"in a&&this.yq(a.background);"padding"in a&&this.zq(a.padding)};g.da=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;eB.F.da.call(this)};var BB=JA.prototype;BB.background=BB.Fu;BB.padding=BB.Bk;BB.enabled=BB.enabled;
BB.getLabel=BB.Qd;BB.getLabelsCount=BB.Ew;BB=eB.prototype;BB.getIndex=BB.La;BB.padding=BB.zq;BB.background=BB.yq;BB.clear=BB.clear;BB.draw=BB.$;function CB(){kd.call(this);this.ea=0;this.N=!1;this.ra="none"}G(CB,Dv);g=CB.prototype;g.la=6;g.jb=fa;g.gv=function(a){return a};function DB(a,b){var c=1*(b-0);return a.N?1-c:c}function EB(a,b){a.N&&(b=1-b);return b/1+0}g.ww=function(a){return Wr(a)};g.Kk=function(a){return m(a)?(a=!!a,this.N!=a&&(this.N=a,this.fa(2)),this):this.N};g.fL=function(){this.ea||this.oj();this.ea++;return this};g.vo=function(a){return(this.ea=Math.max(this.ea-1,0))?!0:this.Sq(!!a)};g.qm=function(){return!1};g.eD=function(){return 0};
g.mv=!1;g.ip=function(a){return m(a)?(a=this.mv?ho(a):"none",this.ra!=a&&(this.ra=a,this.fa(6)),this):this.mv?this.ra:"none"};g.I=function(){var a=CB.F.I.call(this);a.type=this.Ob();a.inverted=this.Kk();return a};g.aa=function(a,b){CB.F.aa.call(this,a,b);this.Kk(a.inverted)};
function FB(a){a=(a+"").toLowerCase();switch(a){case "log":case "logarithmic":return GB();case "lin":case "linear":return HB();case "date":case "datetime":case "dt":return IB();case "ordinal":case "ord":case "discrete":return JB();case "color":case "ordinalcolor":case "discretecolor":return KB();case "linearcolor":return LB();default:return null}}var MB=CB.prototype;MB.inverted=MB.Kk;MB.startAutoCalc=MB.fL;MB.finishAutoCalc=MB.vo;function NB(a){kd.call(this);this.scale=a;this.i=OB;this.f=PB;this.b=QB}G(NB,Dv);g=NB.prototype;g.la=2;g.Kf=null;g.Te=4;g.Be=null;g.Yh=null;
g.gL=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=Tq(a);else{if(B(a))switch(a=no(a),b=O(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 Mq(a,b,c,d,e,f)}var k;if(k=h&&this.Kf)k=this.Kf,
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.Kf||(h?(this.Te=NaN,this.Kf=h):(this.Te=4,this.Kf=null),this.Yh=this.Be=null,this.fa(2));return this}return Uq(this.Kf,!1)};g.count=function(a){return m(a)?(this.Te!=a&&(this.Kf=null,this.Te=isNaN(a)||2>a?4:Math.ceil(+a),this.Yh=this.Be=null,this.fa(2)),this):this.Te};
g.set=function(a){if(this.Be!=a){this.Te=NaN;this.Kf=null;this.Be=cb(a,function(a){return hz(a)});Bb(this.Be);for(var b=this.Be[0],c=1,d=1;da||1this.g&&(this.g=c,this.b=!1)}return this};
g.Sq=function(a){var b=this.Ma!=this.i||this.ta!=this.g;b&&(this.b=!1,a||this.fa(2));return b};g.transform=function(a){this.De();a=O(a);return DB(this,(a-this.min)/this.vg)};g.De=function(){this.b||(this.b=!0,this.WA())};
g.WA=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.G?isNaN(this.w)?this.i:Math.min(this.i,this.w):this.min);1E-4>Math.abs(a)&&!this.G&&!this.B&&(this.max+=1E-4);var b,c="percent"!=this.ip();this.G&&(b=c?this.U:0,this.min=this.i-a*b,isNaN(this.w)||(this.min=0this.min&&0<=this.i&&this.min!=this.w&&(this.min=0));this.B&&(b=c?this.P:0,this.max=this.g+a*b,isNaN(this.u)||(this.max=0this.max&&0<=this.g&&this.max!=this.u&&(this.max=0))};g.Dc=function(a){this.De();a=EB(this,a);return a*this.vg+this.min};
g.I=function(){var a=TB.F.I.call(this);a.maximum=this.B?null:this.max;a.minimum=this.G?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.ka;return a};g.aa=function(a,b){TB.F.aa.call(this,a,b);this.$q(a.minimumGap);this.Yq(a.maximumGap);this.ev(a.softMinimum);this.dv(a.softMaximum);this.Zq(a.minimum);this.Xq(a.maximum);this.Nk(a.maxTicksCount)};var UB=TB.prototype;UB.maxTicksCount=UB.Nk;
UB.minimum=UB.Zq;UB.maximum=UB.Xq;UB.extendDataRange=UB.Pf;function VB(){TB.call(this);this.D=this.j=null;TB.call(this)}G(VB,TB);g=VB.prototype;g.ww=function(a){return!hz(a)};g.Ob=function(){return"dateTime"};g.jb=function(a){this.j||(this.j=new NB(this),H(this,this.j),Q(this.j,this.RA,this));return m(a)?(this.j.W(a),this):this.j};g.Ka=function(a){this.D||(this.D=new NB(this),H(this,this.D),Q(this.D,this.RA,this));return m(a)?(this.D.W(a),this):this.D};g.Pf=function(a){for(var b=0;ba.scale.Nk()&&(M(20,null,[c-b,Gs(k)]),k=null,a.Te=4);k||(k=RB(a,b,c,!1));d&&(f[0]=b=es(b,k));b=new $q(new Date(b));c=new $q(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()&&(M(20,null,[l-d,Gs(h)]),h=null,a.Te=4);h||(h=RB(a,c,b,!0));c=new $q(new Date(d));l=new $q(new Date(l));for(b=0;0>=c.getTime()-l.getTime()&&150>b;c.add(h),b++)e.push(c.getTime());a.Yh=e;a.Te=k}this.G&&(this.min=f[0]);this.B&&(this.max=f[1]);this.vg=this.max-this.min}};g.RA=function(a){U(a,2)&&(this.b=!1,this.fa(2))};g.I=function(){var a=VB.F.I.call(this);a.ticks=this.jb().I();a.minorTicks=this.Ka().I();return a};
g.aa=function(a,b){VB.F.aa.call(this,a,b);this.jb(a.ticks);this.Ka(a.minorTicks)};function IB(){var a=new VB;a.aa(Sp("defaultScaleSettings.dateTime"));return a}var WB=VB.prototype;F("anychart.scales.dateTime",IB);WB.getType=WB.Ob;WB.ticks=WB.jb;WB.minorTicks=WB.Ka;WB.transform=WB.transform;WB.inverseTransform=WB.Dc;WB.extendDataRange=WB.Pf;WB.softMinimum=WB.ev;WB.softMaximum=WB.dv;WB.minimumGap=WB.$q;WB.maximumGap=WB.Yq;function XB(a){kd.call(this);this.b=a}G(XB,Dv);g=XB.prototype;g.la=2;g.Gd=NaN;g.sc=4;g.Yd=6;g.od=null;g.Ld=null;g.uf=0;g.nm="linear";g.rL=function(a){return m(a)?(this.Gd!=a&&(a=O(a),0>=a?(this.sc=4,this.Yd=6,this.Gd=NaN):(this.Yd=this.sc=NaN,this.Gd=+a),this.Ld=this.od=null,this.fa(2)),this):this.Gd};
g.count=function(a,b){return m(a)?(this.sc!=a&&(this.Gd=NaN,this.sc=Math.ceil(O(a)),this.Yd=Math.ceil(O(b)),2<=this.sc||(this.sc=4),this.Yd>=this.sc||(this.Yd=this.sc),this.Ld=this.od=null,this.fa(2)),this):[this.sc,this.Yd]};g.io=function(a){return m(a)?(a=+a||0,this.uf!=a&&(this.uf=a,this.Ld=null,this.od||this.fa(2)),this):this.uf};g.set=function(a){Gb(this.od,a)||(this.Gd=this.Yd=this.sc=NaN,this.od=ub(a,0),vb(this.od),Bb(this.od,Nr),this.Ld=null,this.fa(2));return this};
g.get=function(){var a=YB(this);return bb(a,function(a){a=this.transform(a);return 0<=a&&1>=a},this.b)};function YB(a){a.od?a=a.od:(a.b.De(),a=a.Ld);return a||[]}g.mode=function(a){return m(a)?(a=(""+a).toLowerCase(),a="log"==a||"logarithmic"==a?"logarithmic":"linear",this.nm!=a&&(this.Ld=null,this.nm=a,this.od||this.fa(2)),this):this.nm};
function ZB(a,b,c,d,e,f){if("logarithmic"==a.nm){f=f||10;a.Ld=null;var h=[b,c];if(a.od)d&&(h[0]=Math.min(b,a.od[0]||0)),e&&(h[1]=Math.max(c,a.od[a.od.length-1]||0));else{b=wq(b,f);c=wq(c,f);var k=[],l=a.Gd,n=a.sc,p=a.Yd;!isNaN(l)&&(c-b)/l>a.b.Nk()&&(M(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(ds(n,v),ds(n,Math.ceil(Math.pow(10,Math.ceil(u*Math.LOG10E)))),ds(n,Math.ceil(Math.pow(2,
Math.floor(u*Math.LOG2E)))),ds(n,Math.ceil(Math.pow(2,Math.ceil(u*Math.LOG2E)))),ds(n,Math.ceil(v/2)),ds(n,Math.ceil(v/4)),ds(n,Math.ceil(v/8))),n=Math.max(n,1E-7),u=vq(cs(b,n,a.uf))-b,u=u*u,v=vq(ds(c,n,a.uf))-c,v=v*v,u=u+v;if(isNaN(r)||ua.b.Nk()&&(M(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.nm,h=f?a.HH:a.qL,k,l,n=b.length-1,p=a.Gd,r=a.sc;isNaN(a.Gd)||(l=b[n],k=b[0],f&&(k=wq(k,c),l=wq(l,c)),(l-k)/a.Gd>a.b.Nk()&&(M(20,null,[l-k,a.Gd]),a.Gd=NaN,a.sc=4));m(d)?(k=b[0],l=b[1],h.call(a,k,l,d,l,c),k=1):k=0;m(e)&&n--;for(d=k;d<=n-1;d++)k=b[d],l=b[d+1],h.call(a,k,l,k,l,c);m(e)&&(k=b[n],l=b[n+1],h.call(a,k,l,k,e,c));a.Gd=p;a.sc=r}}
g.qL=function(a,b,c,d){var e=this.Gd;isNaN(e)&&(e=(d-c)/(this.sc-1));e=Math.max(e,1E-7);c=this.Ld[this.Ld.length-1];b=uq(b,7);for(a=uq(a,7);a<=b;a=uq(a+e,7))c!=a&&this.Ld.push(a),c=a};g.HH=function(a,b,c,d,e){var f=this.Gd;a=wq(a,e);b=wq(b,e);c=wq(c,e);d=wq(d,e);isNaN(f)&&(f=(d-c)/(this.sc-1));f=Math.max(f,1E-7);c=this.Ld[this.Ld.length-1];b=uq(b,7);for(a=uq(a,7);a<=b;a=uq(a+f,7))c!=a&&this.Ld.push(xq(e,a)),c=a};
g.I=function(){var a=XB.F.I.call(this);a.mode=this.nm;a.base=this.uf;this.od?a.explicit=this.od:(this.sc==this.Yd?isNaN(this.sc)||(a.count=this.sc):(isNaN(this.sc)||(a.minCount=this.sc),isNaN(this.Yd)||(a.maxCount=this.Yd)),isNaN(this.Gd)||(a.interval=this.Gd));return a};g.Ib=function(a,b){var c=arguments[1];return q(c)?(this.set(c),!0):Dv.prototype.Ib.apply(this,arguments)};
g.aa=function(a,b){XB.F.aa.call(this,a,b);this.mode(a.mode);this.io(a.base);this.od=a.explicit||null;this.sc=a.count||a.minCount||NaN;this.Yd=a.count||a.maxCount||NaN;this.Gd=a.interval||NaN;this.od?this.sc=this.Yd=this.Gd=NaN:this.Gd?this.sc=this.Yd=NaN:(this.sc=Math.ceil(O(this.sc)),this.Yd=Math.ceil(O(this.Yd)),2<=this.sc||(this.sc=4),this.Yd>=this.sc||(this.Yd=this.sc))};var aC=XB.prototype;aC.interval=aC.rL;aC.count=aC.count;aC.base=aC.io;aC.set=aC.set;aC.get=aC.get;aC.mode=aC.mode;function bC(){TB.call(this);this.D=this.j=null;this.mv=!0;this.f=10;this.Y=!0;this.ma=this.FD}G(bC,TB);g=bC.prototype;g.lr="none";g.sv="firstVisible";g.Ob=function(){return"linear"};g.jb=function(a){this.j||(this.j=cC(this));return m(a)?(this.j.W(a),this):this.j};g.Ka=function(a){this.D||(this.D=cC(this),J(this.D),this.D.count(5),this.D.ga(!1));return m(a)?(this.D.W(a),this):this.D};g.Sx=function(a){return m(a)?(a=!!a,a!=this.Y&&(this.Y=a,this.G||this.B)&&(this.b=!1,this.fa(4)),this):this.Y};
g.De=function(){if(!this.b){bC.F.De.call(this);var a=ZB(this.jb(),this.min,this.max,this.G&&this.min!=this.w,this.B&&this.max!=this.u,this.f);this.G&&(this.min=a[0]);this.B&&(this.max=a[1]);$B(this.Ka(),YB(this.jb()),this.f,a[2],a[3]);this.vg=this.max-this.min}};g.mL=function(a){U(a,2)&&(this.b=!1,this.fa(2))};function cC(a){var b=new XB(a);H(a,b);Q(b,a.mL,a);return b}
g.PL=function(a){if(m(a)){a=ho(a);if(this.lr!=a){this.lr=a;switch(this.lr){case "none":this.ma=this.FD;break;case "value":this.ma=this.rN;break;case "percent":this.ma=this.nN}this.fa(6)}return this}return this.lr};g.OL=function(a){return m(a)?(a=io(a)||Yr(a),this.sv!=a&&(this.sv=a,this.fa(6)),this):this.sv};g.gv=function(a,b){return this.ma(a,b)};g.FD=function(a){return a};g.rN=function(a,b){return O(a)-b};g.nN=function(a,b){return(O(a)-b)/(b||1)*100};
g.I=function(){var a=bC.F.I.call(this);a.ticks=this.jb().I();a.minorTicks=this.Ka().I();a.stackMode=this.ip();a.stickToZero=this.Sx();return a};g.aa=function(a,b){bC.F.aa.call(this,a,b);this.jb(a.ticks);this.Ka(a.minorTicks);this.ip(a.stackMode);this.Sx(a.stickToZero)};function HB(){var a=new bC;a.aa(Sp("defaultScaleSettings.linear"));return a}var dC=bC.prototype;F("anychart.scales.linear",HB);dC.transform=dC.transform;dC.inverseTransform=dC.Dc;dC.getType=dC.Ob;dC.ticks=dC.jb;dC.minorTicks=dC.Ka;
dC.stackMode=dC.ip;dC.stickToZero=dC.Sx;dC.softMinimum=dC.ev;dC.softMaximum=dC.dv;dC.minimumGap=dC.$q;dC.maximumGap=dC.Yq;dC.comparisonMode=dC.PL;dC.compareWith=dC.OL;function eC(a){kd.call(this);this.scale=a}G(eC,Dv);g=eC.prototype;g.la=2;g.rj=NaN;g.ig=null;g.Lk=null;g.Of=null;g.qj=null;g.re=null;g.Mk=100;g.Wq=function(a){return m(a)?(a=Xr(a,NaN),isNaN(a)||this.rj==a||(this.rj=a,this.Mk=NaN,this.re=this.qj=this.Of=this.Lk=null,this.fa(2)),this):this.rj};g.Pw=function(a){return m(a)?(a=Xr(a,NaN),isNaN(a)||this.Mk==a||(this.Mk=a,this.rj=NaN,this.re=this.qj=this.Of=this.Lk=null,this.fa(2)),this):this.Mk};
g.set=function(a){Gb(this.Of,a)||(this.Of=rb(a),this.Of=cb(this.Of,function(a){return O(a)}),Bb(this.Of),vb(this.Of),this.Of[0]=0,this.re=this.qj=this.Lk=null,this.fa(2));return this};
g.names=function(a){if(m(a))return this.ig!=a&&(this.ig=a,this.fa(2)),this;a=fC(this);var b,c;if(this.ig&&this.ig.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 gC(a){a.Lk=null;a.qj=null;a.re=null}g.I=function(){var a=eC.F.I.call(this);this.Of?a.explicit=this.Of:isNaN(this.Mk)?isNaN(this.rj)||(a.interval=this.rj):a.maxCount=this.Mk;this.ig&&(a.names=this.ig);return a};
g.Ib=function(a,b){var c=arguments[1];return q(c)?(this.set(c),!0):Dv.prototype.Ib.apply(this,arguments)};g.aa=function(a,b){eC.F.aa.call(this,a,b);"explicit"in a?this.set(a.explicit):"interval"in a?this.Wq(a.interval):"maxCount"in a&&this.Pw(a.maxCount);this.ig=a.names||null;this.re=this.qj=null};var hC=eC.prototype;hC.interval=hC.Wq;hC.maxCount=hC.Pw;hC.set=hC.set;hC.get=hC.get;hC.names=hC.names;function iC(){this.b=[];this.D=[];this.f=[];this.i=[];this.j=[];this.G=!0;this.B={};this.va=null;this.w=!0;this.eb=null;CB.call(this)}G(iC,CB);g=iC.prototype;g.Ob=function(){return"ordinal"};g.ww=function(a){return!m(a)};g.jb=function(a){this.eb||(this.eb=new eC(this),H(this,this.eb),Q(this.eb,this.pL,this));return m(a)?(this.eb.W(a),this):this.eb};
g.values=function(a,b){if(!m(a))return this.b;if(null===a)this.w||(this.w=!0,this.fa(4));else{this.w=!1;var c=q(a);this.oj();c&&a.length?this.Pf.apply(this,a):this.Pf.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;gC(this.jb());this.fa(2);return this}if(q(this.D)){this.g||(this.g=rb(this.D));if(this.g.lengtha.Oj?a.Oj:a.jp}else a.U=a.Um;if((null!==a.Um||null!==a.Oj&&a.jp>a.Oj)&&"noOverlap"==a.Xp()){p=[];for(h=0;h=A&&a.fg()||1<=A&&a.cf()?t=D:0A&&(t=D)),D++;x<=T&&h=A&&a.fg()||1<=A&&a.cf()?(u=l,n.push(!0)):0A?(u=l,n.push(!0)):n.push(!1))):n.push(!1),l++)}ba||(n=!1)}else if(p instanceof CB)for(h=0;hh&&(h=d)}if(n&&!a.Bl())for(n=z(p)?p.Da:!p,r=b.Ka().get(),e=0,f=n.length;ek&&(k=d);return a.lB(h,k)+l}g.gw=function(a){return this.rc()?this.dj().ld(a):this.dj().kd(a)};
g.lc=function(){var a=this.ia();if(a){var b=a.clone();if(this.scale()&&this.enabled()){var c=this.Na(),d=this.dj(),e=a.height-d.kd(a.height)+c.height,a=a.width-d.ld(a.width)+c.width;switch(this.wc()){case "top":b.height-=e;b.top+=e;break;case "right":b.width-=a;break;case "bottom":b.height-=e;break;case "left":b.width-=a,b.left+=a}}return b}return new K(0,0,0,0)};
g.Na=function(){if(!this.ug||S(this,4)){var a=this.ia();if(a){var b,c;a.top=Math.round(a.top);a.left=Math.round(a.left);a.width=Math.round(a.width);a.height=Math.round(a.height);this.rc()?(b=a.width,c=a.height):(b=a.height,c=a.width);b=this.gw(b);c=this.Ga?N(this.Ga,c):oC(this,a,b);var d,e,f=this.dj(),h=N(f.J("top"),a.height),k=N(f.J("right"),a.width),l=N(f.J("bottom"),a.height),f=N(f.J("left"),a.width),n,p;switch(this.wc()){case "top":e=a.top+h;d=a.left+f;p=c;n=b;break;case "right":e=a.top+h;d=a.left+
a.width-c-k;p=b;n=c;break;case "bottom":e=a.top+a.height-c-l;d=a.left+f;p=c;n=b;break;case "left":e=a.top+h,d=a.left+f,p=b,n=c}this.ug=new K(Math.round(d),Math.round(e),Math.round(n),Math.round(p))}else this.ug=new K(0,0,0,0);this.K(4)}return this.ug};
function nC(a,b,c,d,e){if(!c&&a.scale()&&!(a.scale()instanceof TB))return null;var f=c?a.Vp:a.Wp;if(m(f[b]))return f[b];var h=m(e)?e:a.Na();e=m(e)?e:a.cb.Pa();var k=c?a.oe():a.Ka(),l=k.length(),n=a.stroke(),n=!n||ls(n)?0:n.thickness?parseFloat(a.stroke().thickness):1;c=c?a.labels():a.Da();var p,r,t=a.scale();d=d[b];q(d)?(t=(t.transform(d[0],0)+t.transform(d[1],1))/2,d=d[0]):t=t.transform(d,.5);if(0>t||1=v&&b.call(e,v,y,A,f,c),l==k-1&&(v=a.transform(ca,1),0<=v&&1>=v&&b.call(e,v,y,A,f,c))),w=q(p)?p[l]:p,pC(this,d,t,l,c,!0,h,w&&0<=t&&1>=t);this.labels().$()}this.title().ga(!1);this.labels().ga(!1);
this.Da().ga(!1);this.oe().ga(!1);this.Ka().ga(!1);return this};g.remove=function(){this.Ja&&this.Ja.remove();this.cb&&this.cb.parent(null);this.oe().remove();this.Ka().remove();this.ua&&this.ua.remove();this.pb&&this.pb.remove()};
g.I=function(){var a=lC.F.I.call(this);a.title=this.title().I();a.labels=this.labels().I();a.minorLabels=this.Da().I();a.ticks=this.oe().I();a.minorTicks=this.Ka().I();a.stroke=pp(this.stroke());a.staggerMode=this.Bl();a.staggerLines=this.Qx();a.staggerMaxLines=this.Rx();a.width=this.width();this.w&&(a.orientation=this.w);a.drawFirstLabel=this.fg();a.drawLastLabel=this.cf();a.overlapMode=this.Xp();return a};
g.aa=function(a,b){lC.F.aa.call(this,a,b);"title"in a&&this.title(a.title);this.labels().$a(!!b,a.labels);this.Da().$a(!!b,a.minorLabels);this.oe(a.ticks);this.Ka(a.minorTicks);this.Bl(a.staggerMode);this.Qx(a.staggerLines);this.Rx(a.staggerMaxLines);this.stroke(a.stroke);this.width(a.width);this.wc(a.orientation);this.fg(a.drawFirstLabel);this.cf(a.drawLastLabel);this.Xp(a.overlapMode)};
g.da=function(){lC.F.da.call(this);this.Rd&&Ev(this.Rd,this.Rt,this);delete this.Rd;this.Ja=this.Wp=this.Vp=null;Nb(this.Ea,this.cb,this.ua,this.pb);this.pb=this.ua=this.ug=this.Mb=this.eb=this.cb=this.Ea=null};var qC=lC.prototype;qC.staggerMode=qC.Bl;qC.staggerLines=qC.Qx;qC.staggerMaxLines=qC.Rx;qC.title=qC.title;qC.labels=qC.labels;qC.minorLabels=qC.Da;qC.ticks=qC.oe;qC.minorTicks=qC.Ka;qC.stroke=qC.stroke;qC.orientation=qC.wc;qC.scale=qC.scale;qC.width=qC.width;qC.getRemainingBounds=qC.lc;
qC.drawFirstLabel=qC.fg;qC.drawLastLabel=qC.cf;qC.overlapMode=qC.Xp;qC.isHorizontal=qC.rc;qC.padding=qC.dj;qC.getPixelBounds=qC.Na;function rC(){W.call(this);this.u=this.f=null}G(rC,W);g=rC.prototype;g.la=W.prototype.la|8;g.oa=W.prototype.oa|20;g.$b=function(){return this.u};function sC(a,b){return m(b)?(a.i!=b&&(a.i&&Ev(a.i,a.$t,a),a.i=b,a.i&&Q(a.i,a.$t,a),a.o(4,9)),a):a.i?a.i:a.f?a.f.scale():null}g.$t=function(a){var b=0;U(a,4)&&(b|=4);U(a,2)&&(b|=1);this.o(4,b|8)};function tC(a,b){return m(b)?(a.b!==b&&(a.b=b,a.o(4,9)),a):a.b}g.Fz=function(){this.o(4,9)};
g.fj=function(a){return m(a)?(this.f!=a&&(this.f&&Ev(this.f,this.Fz,this),this.f=a,Q(this.f,this.Fz,this),this.i&&Ev(this.i,this.$t,this),this.i=null,this.o(4,9)),this):this.f};g.Ez=function(a,b,c,d){this.G||(this.G=new cx,H(this,this.G));return m(a)?(this.G.W.apply(this.G,arguments),this):this.G};g.Xl=function(){return"horizontal"==this.Rh()};g.Nn=void 0;g.Mn=void 0;
g.$=function(){if(!this.scale())return Ro(2),this;if(!this.wb())return this;if(S(this,8)){var a=this.zIndex();uC(this).zIndex(a);this.K(8)}S(this,2)&&(a=this.O(),uC(this).parent(a),this.K(2));S(this,16)&&(this.Mn(),this.K(16));S(this,4)&&(this.Nn(),this.K(4));return this};
function vC(a){var b=a.scale();if(b){var c=uC(a),b=b.transform(a.b,.5);if(!isNaN(b)&&(c.clear(),0<=b&&1>=b)){var d=c.bh()%2?-.5:0,e=a.ia(),f=a.Ez();a.Xl()?(a=Math.round(e.Ya()+e.height-b*e.height),1==b?a-=d:a+=d,c.moveTo(e.Sa(),a),c.lineTo(e.sa(),a)):(a=Math.round(e.Sa()+b*e.width),1==b?a+=d:a-=d,c.moveTo(a,e.Ya()),c.lineTo(a,e.pa()));c.clip(f.gf(e))}}else Ro(2)}
function wC(a){var b=a.b,c=a.scale();if(c){var d=uC(a);d.clear();var e=b.Oe,f=b.from,h=c.transform(f),k=c.transform(e);h>k&&(e=b.from,f=b.Oe);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.ia(),e=a.Ez(),a.Xl()?(a=Math.floor(c.pa()-c.height*f),b=Math.ceil(c.pa()-c.height*b),f=c.Sa(),h=c.sa(),d.moveTo(f,a).lineTo(h,a).lineTo(h,b).lineTo(f,b).close()):(a=c.pa(),h=c.Ya(),b=Math.floor(c.Sa()+c.width*b),f=Math.ceil(c.Sa()+
c.width*f),d.moveTo(b,a).lineTo(b,h).lineTo(f,h).lineTo(f,a).close()),d.clip(e.gf(c)))}else Ro(2)}g.remove=function(){uC(this).parent(null)};function uC(a){a.w||(a.w=uh(),H(a,a.w));return a.w}g.aa=function(a,b){rC.F.aa.call(this,a,b);"layout"in a&&a.layout&&this.Rh(a.layout);if("axis"in a){var c=a.axis;C(c)?this.u&&this.fj(this.u.Ir(c)):c instanceof lC&&this.fj(c)}};g.da=function(){this.u=this.f=null;rC.F.da.call(this)};function xC(){rC.call(this);this.b={from:0,Oe:0};this.B="black";var a=!this.g&&"#c1c1c1 0.4"!=this.B;this.B="#c1c1c1 0.4";a&&this.o(16)}G(xC,rC);g=xC.prototype;g.la=rC.prototype.la;g.oa=rC.prototype.oa;g.Rh=function(a){return m(a)?(a=Sn(a),this.j!=a&&(this.j=a,this.o(4,9)),this):this.j?this.j:this.fj()?(a=this.fj().wc(),"left"==a||"right"==a?"horizontal":"vertical"):"horizontal"};g.scale=function(a){return sC(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.Oe=function(a){return m(a)?(this.b.Oe!=a&&(this.b.Oe=a,this.o(4,9)),this):this.b.Oe};g.Nn=function(){wC(this)};g.Mn=function(){uC(this).stroke(null).fill(this.fill())};g.da=function(){delete this.g;xC.F.da.call(this)};
g.I=function(){var a=xC.F.I.call(this);a.from=this.from();a.to=this.Oe();this.g&&(a.fill=pp(this.g));this.j&&(a.layout=this.j);return a};g.aa=function(a,b){xC.F.aa.call(this,a,b);this.from(a.from);this.Oe(a.to);this.fill(a.fill)};var yC=xC.prototype;yC.from=yC.from;yC.to=yC.Oe;yC.scale=yC.scale;yC.axis=yC.fj;yC.layout=yC.Rh;yC.fill=yC.fill;yC.isHorizontal=yC.Xl;function zC(a){this.i=a;this.reset()}g=zC.prototype;g.select=function(a){this.b=a-1;return this.advance()};g.reset=function(){this.b=-1;this.g=void 0;return this};g.advance=function(){this.g=this.i.Hc(++this.b);var a=this.gc();return!!a&&this.b=this.gc()))return AC(this.i.Tf(this.b),this.g,this.b,a)};g.Am=function(a){return this.get(a)};g.La=function(){return this.b};g.$u=function(){return this.get("x")};g.gc=function(){return this.i.gc()};
g.R=function(a,b){return 1=this.gc()))return AC(this.Tf(a),this.Hc(a),a,b)};g.set=function(a,b,c){var d=this.Hc(a);m(d)&&this.Hc(a,IC(this.Tf(a),d,b,c));return this};g.Qa=function(){DC(this);return new zC(this)};g.jv=function(){return null};
g.rs=function(a){this.f=null;U(a,16)&&this.o(1,16)};g.R=function(a,b,c){this.Km||(this.Km=[]);var d=this.Km[a];d||(this.Km[a]=d={});return 2a:!(!this.lj||!this.lj[a])};g.Em=function(){return this.YE};g.R=function(){throw Error("Wrong usage of the data Set");};g.Wk=function(){return[this]};function TC(a,b){return new GC(a,b)}var UC=GC.prototype;F("anychart.data.set",TC);UC.data=UC.data;UC.mapAs=UC.Gg;UC.row=UC.Hc;UC.append=UC.SK;UC.insert=UC.gN;UC.remove=UC.remove;UC.getRowsCount=UC.gc;function VC(){kd.call(this);this.f=null;this.f=rb(Sp("palette.items"));this.fa(2)}G(VC,Dv);g=VC.prototype;g.la=2;g.dL=function(a,b){M(405,null,["colorAt()","itemAt()"]);return this.Hk(a,b)};g.Hk=function(a,b){this.f||(this.f=[]);var c=this.f.length;a>=c&&0=f&&0=c&&0this.f.length||!this.b)return null;if(m(b))return this.i[a]=b,this.fa(2),this;a>this.b-1&&(a=this.b-1);0>a&&(a=0);var c=this.i[a];return c?c:null};
function bD(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(Vm(Sm(c.color),Sm(d.color),e))})}}}}g.I=function(){var a=aD.F.I.call(this);a.type="range";for(var b=[],c=0;ca&&(c=b,b=a,a=c),c=[b,a])):c=null;this.j=!1;this.b=c;this.f={};this.fa(2);return this}return this.b};g.kF=function(a){return m(a)?(this.g=O(a),this.f={},this.fa(2),this):this.g};g.aB=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.ba&&(d=jD(a.ba,b));d||(d=[]);return a.f[c]=d}g.nD=function(a){U(a,2)&&!this.b&&(this.f={})};
function iD(a){var b=a.isWorking;this.j=m(b)?!b:!1;b=Oo(a.each);switch(b){case "year":var c=a.on,d=a.from,e=a.to;this.u=this.tL;(c=hz(c,"dd.MM",eD))?(this.D=this.Rw,this.b=new $q(2E3,c.getUTCMonth(),c.getUTCDate()),e=kD(d,e),this.i=e[0],this.f=e[1]):(this.D=this.qE,this.b=null,c=(c=hz(d,"dd.MM",eD))?new $q(c):fD,this.i=new $q(2E3,c.getUTCMonth(),c.getUTCDate()),c=(c=hz(e,"dd.MM",eD))?new $q(c):gD,this.f=new $q(2E3,c.getUTCMonth(),c.getUTCDate()),this.f.add(hD));break;case "week":lD(this,a.on,a.from,
a.to);break;case "day":lD(this,NaN,a.from,a.to);break;default:c=a.on,d=a.from,e=a.to,this.u=this.ay,(c=hz(c))?(this.D=this.Rw,this.b=new $q(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),e=kD(d,e),this.i=e[0],this.f=e[1]):(this.D=this.qE,this.b=null,c=(c=hz(d))?new $q(c):fD,this.i=new $q(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),c=(c=hz(e))?new $q(c):gD,this.f=new $q(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),this.f.add(hD))}"none"==b?this.b?(this.w=this.b.clone(),this.g=this.b.clone(),
this.g.add(hD)):(this.w=this.i.clone(),this.g=this.f.clone()):(this.w=(b=hz(a.starts))?new $q(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()):fD,(b=hz(a.ends))?(this.g=new $q(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()),this.g.add(hD)):this.g=gD)}function lD(a,b,c,d){a.u=a.uL;a.D=a.Rw;b=Math.min(Xr(b,NaN,!0),6);a.b=isNaN(b)?null:b;b=kD(c,d);a.i=b[0];a.f=b[1]}g=iD.prototype;g.ay=function(a){return a.getTime()>=this.w.getTime()&&a.getTime()<=this.g.getTime()};
g.uL=function(a){return this.ay(a)&&(null===this.b||(a.Or()+6)%7==this.b)};g.tL=function(a){if(!this.ay(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.mw(b);var d=this.f.clone();d.mw(b);return a>=c.getTime()&&a<=d.getTime()};
g.Rw=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=ip(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.kL=function(a){this.De();a=Sm(kp(a).He);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].Ch)?c[k].Ch:(c[k].start+c[k].end)/2,p=m(c[l].Ch)?c[l].Ch:(c[l].start+c[l].end)/2;e.push(k==l?n:[n,p])}return e};function tD(){CB.call(this);this.u=this.f=null;this.D=[];this.va=this.i=null;this.G=[]}G(tD,CB);g=tD.prototype;g.Ob=function(){return"ordinalColor"};g.Kk=function(a){return m(a)?(a=!!a,this.N!=a&&(this.N=a,this.oj(),this.fa(2)),this):this.N};
g.Zh=function(a){if(m(a))return a?q(a)&&(this.f=rb(a)):this.f=[],this.oj(),this.fa(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.re.push(d)}}return this.re};g.vs=function(a){return m(a)?(this.D!=a&&(this.D=a,this.va=Sp("defaultOrdinalColorScale.autoColors")(this.D.length),this.oj(),gC(this.jb()),this.fa(4)),this):this.D};g.Fj=function(){uD(this);this.names();return this.i};g.Hh=function(a){uD(this);var b=null;if(this.i)for(var c=this.i.length;c--;){var d=this.i[c];if(m(d.Ch)&&d.Ch===a||a>=d.start&&a<=d.end&&-1d.length-1?d[d.length-1]:d[c])}}return b};g.nL=function(a){uD(this);a=kp(a).He;for(var b=NaN,c=0,d=this.i.length;cb.start?1:a.startb.start?a.sourceIndex>b.sourceIndex?b.end=a.start:(a.start=b.end,a.start>=a.end&&(a.enabled=!1)):a.startb.sourceIndex?(b.start=a.end,b.start>=b.end&&(b.enabled=!1)):a.end=b.start:a.sourceIndex>b.sourceIndex?(b.start=a.end,b.start>=b.end&&(b.enabled=!1)):(a.end=b.start,a.start>=a.end&&(a.enabled=!1)));return c});e=[];b=0;for(c=h.length;b=b){var c=this.ia(),c=c.clone().round(),d=this.On();a.Xa(1,0,0,1,0,0);a.width(null);a.height(null);a.x(0);a.y(0);var e=null!==this.width(),f=null!==this.height(),h=a.Pa(),k=e?Math.ceil(N(this.width(),c.width)):h.width;
e&&a.width(k);h=a.Pa();c=f?Math.ceil(N(this.height(),c.height)):h.height;f&&a.height(c);var l=this.ia(),l=l.clone().round();if(this.fq())switch(e=Math.round(l.Ya()+l.height-b*l.height),1==b?e-=-.5:e+=-.5,this.G){case "left":f=l.Sa();break;case "right":f=l.sa();break;default:f=l.Sa()+l.width/2}else switch(f=Math.round(l.Sa()+b*l.width),1==b?f+=-.5:f-=-.5,this.G){case "top":e=l.Ya();break;case "bottom":e=l.pa();break;default:e=l.Ya()+l.height/2}b=new je(f,e);f=O(this.N);f=isNaN(f)?this.fq()?0:-90:f;
e=Fe(fe(f),0,0);h=ve(h,e);e=Zr(Hq(0,0,h.width,h.height),d);b.x-=e.x;b.y-=e.y;e=N(this.offsetX(),k);l=N(this.offsetY(),c);js(b,d,e,l);this.fc(a,!0);a.x(b.x+h.width/2-k/2).y(b.y+h.height/2-c/2).bp(f,"center");this.o(2)}else this.remove(),this.K(2);this.K(4)}S(this,2)&&(a=this.O(),jE(this).parent(a),this.K(2));return this};g.remove=function(){jE(this).parent(null)};function jE(a){a.b||(a.b=ai(),a.b.pd("aria-hidden","true"),H(a,a.b));return a.b}g.da=function(){Mb(this.b);this.f=this.u=this.b=null;gE.F.da.call(this)};
g.I=function(){var a=gE.F.I.call(this);a.anchor=this.On();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.aa=function(a,b){gE.F.aa.call(this,a,b);this.On(a.anchor);this.eq(a.align);"layout"in a&&a.layout&&this.Pn(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.au(this.u.Ir(c)):c instanceof lC&&this.au(c)}};function kE(){gE.call(this)}G(kE,gE);g=kE.prototype;g.la=gE.prototype.la;g.oa=gE.prototype.oa;g.scale=function(a){return hE(this,a)};g.value=function(a){return iE(this,a)};g.I=function(){var a=kE.F.I.call(this);a.value=this.value();return a};g.aa=function(a,b){kE.F.aa.call(this,a,b);this.value(a.value)};var lE=kE.prototype;lE.value=lE.value;lE.scale=lE.scale;lE.axis=lE.au;lE.anchor=lE.On;lE.align=lE.eq;lE.layout=lE.Pn;lE.rotation=lE.rotation;lE.offsetX=lE.offsetX;lE.offsetY=lE.offsetY;lE.text=lE.text;
lE.height=lE.height;lE.width=lE.width;lE.isHorizontal=lE.fq;function mE(){W.call(this);this.B=this.b=this.i=this.g=null;this.Y=!1;this.f=null}G(mE,W);g=mE.prototype;g.la=W.prototype.la|8;g.oa=W.prototype.oa|80;g.$b=function(){return this.u};g.eu=function(a){return m(a)?(a=Sn(a),this.w!=a&&(this.w=a,this.o(64,9)),this):this.w?this.w:this.f?(a=this.f.wc(),"left"==a||"right"==a?"horizontal":"vertical"):"horizontal"};g.scale=function(a){return m(a)?(this.B!=a&&(this.B=a,Q(this.B,this.NI,this),this.o(68,9)),this):this.B?this.B:this.f?this.f.scale():null};
g.NI=function(a){var b=0;U(a,4)&&(b|=4);U(a,2)&&(b|=1);this.o(20,b|8)};g.Mz=function(){this.o(64,9)};g.bu=function(a){return m(a)?(this.f!=a&&(this.f&&Ev(this.f,this.Mz,this),this.f=a,Q(this.f,this.Mz,this),this.o(64,9)),this):this.f};g.MI=function(a,b,c,d){this.G||(this.G=new cx,H(this,this.G));return m(a)?(this.G.W.apply(this.G,arguments),this):this.G};g.Bf=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.U!=k&&(this.U=k,this.o(16,1));return this}return this.U};
g.yf=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.P!=k&&(this.P=k,this.o(16,1));return this}return this.P};g.stroke=function(a,b,c,d,e){if(m(a)){var f=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.Iv=function(a){return m(a)?(this.ca!=a&&(this.ca=a,this.o(64,9)),this):this.ca};g.cu=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.Y!=a&&(this.Y=a,this.o(80,9)),this):this.Y};g.Pz=function(a,b){var c=this.ia()||Hq(0,0,0,0),d=Math.round(c.pa()-a*c.height);1==a?d-=b:d+=b;this.b.moveTo(c.Sa(),d);this.b.lineTo(c.sa(),d)};g.Qz=function(a,b){var c=this.ia()||Hq(0,0,0,0),d=Math.round(c.Sa()+a*c.width);1==a?d+=b:d-=b;this.b.moveTo(d,c.pa());this.b.lineTo(d,c.Ya())};g.du=function(){return"horizontal"==this.eu()};
g.Nz=function(a,b,c,d,e){if(!isNaN(b)){c=this.ia()||Hq(0,0,0,0);var f,h;f=Math.round(c.pa()-b*c.height);h=Math.round(c.pa()-a*c.height);1==a?h-=e:h+=e;1==b?f-=e:f+=e;d.moveTo(c.Sa(),f);d.lineTo(c.sa(),f);d.lineTo(c.sa(),h);d.lineTo(c.Sa(),h);d.close()}};g.Oz=function(a,b,c,d,e){if(!isNaN(b)){c=this.ia()||Hq(0,0,0,0);var f,h;f=Math.round(c.Sa()+b*c.width);h=Math.round(c.Sa()+a*c.width);1==a?h+=e:h-=e;1==b?f+=e:f-=e;d.moveTo(f,c.Ya());d.lineTo(h,c.Ya());d.lineTo(h,c.pa());d.lineTo(f,c.pa());d.close()}};
g.$=function(){var a=this.scale();if(!a)return Ro(2),this;if(!this.wb())return this;if(S(this,8)){var b=this.zIndex();nE(this).zIndex(b);oE(this).zIndex(b);pE(this).zIndex(b);this.K(8)}S(this,2)&&(b=this.O(),nE(this).parent(b),oE(this).parent(b),pE(this).parent(b),this.K(2));S(this,16)&&(pE(this).stroke(this.stroke()),oE(this).fill(this.Bf()),nE(this).fill(this.yf()),this.K(16));if(S(this,64)||S(this,4)){var c,d,e,f,b=NaN,h=this.scale()instanceof iC,k=(h?a.jb():this.gq()?a.Ka():a.jb()).get();c=this.du()?
[this.Pz,this.Nz]:[this.Qz,this.Oz];nE(this).clear();oE(this).clear();pE(this).clear();var l=this.ia()||Hq(0,0,0,0);d=this.u&&!1;l=this.MI().gf(l);nE(this).clip(l);oE(this).clip(l);pE(this).clip(l);l=c[1];c=c[0];var n=-pE(this).bh()%2/2;d&&this.du()&&c.call(this,0,n);for(var p=0,r=k.length;pa.nearestPointToCursor.distance&&(a.series.Qa().select(a.nearestPointToCursor.index),c=a)});var d=c.series;a=this.O();var e=this.ia(),f=this.g.bh()%2?-.5:0,h=this.j.bh()%2?-.5:0,k=d.Rc(),l=d.ie(),d=d.Qa(),n=O(d.R("x")),p=O(d.R("value"));if(this.B&&"none"!=this.B){var r;
this.g.clear();r=ce(n,e.Sa(),e.sa()-1);r=Math.round(r)-f;this.g.moveTo(r,e.Ya()).lineTo(r,e.pa())}this.u&&this.u.enabled()&&this.f.enabled()&&(f=this.bm(this.u,k.transform(d.get("x"))),r=this.f.rf()||ns,this.f.text(r.call(f,f)),k=wE(this,this.u,this.f,n,p,k.transform(d.get("x"))),this.f.x(k.x).y(k.y),this.f.O(a).$());this.G&&"none"!=this.G&&(this.j.clear(),k=ce(p,e.Ya(),e.pa()-1),k=Math.round(k)-h,this.j.moveTo(e.Sa(),k).lineTo(e.sa(),k));this.w&&this.w.enabled()&&this.i.enabled()&&(e=this.bm(this.w,
l.transform(d.get("value"))),h=this.i.rf()||ns,this.i.text(h.call(e,e)),l=wE(this,this.w,this.i,n,p,l.transform(d.get("value"))),this.i.x(l.x).y(l.y),this.i.O(a).$())}else this.dc()};g.dc=function(){xE(this);yE(this)};function xE(a){a.g.clear();a.f.O(null).remove()}function yE(a){a.j.clear();a.i.O(null).remove()}function zE(a){return m(a.scale().Dc(0))}
g.zk=function(a){if(this.enabled()){var b=this.O(),c=this.ia(),d=um(this.O().ja()),e=a.clientX-d.x;a=a.clientY-d.y;if(e>=c.Sa()&&e<=c.sa()&&a>=c.Ya()&&a<=c.pa()){var d=this.g.bh()%2?-.5:0,f=this.j.bh()%2?-.5:0,h=c.pa()-c.Ya(),k=a-c.Ya(),l;l=(e-c.Sa())/(c.sa()-c.Sa());h=(h-k)/h;if(this.u&&zE(this.u)){if(this.B&&"none"!=this.B&&(this.g.clear(),this.u.rc()?(k=ce(AE(this,this.u,l,e),c.Sa(),c.sa()-1),this.g.moveTo(k-d,c.Ya()).lineTo(k-d,c.pa())):(k=ce(AE(this,this.u,l,a),c.Ya(),c.pa()-1),this.g.moveTo(c.Sa(),
k-f).lineTo(c.sa(),k-f))),this.f.enabled()){var k=this.bm(this.u,l),n=this.f.rf()||ns;this.f.text(n.call(k,k));l=wE(this,this.u,this.f,e,a,l);this.f.x(l.x).y(l.y);this.f.O(b).$()}}else xE(this);this.w&&zE(this.w)?(this.G&&"none"!=this.G&&(this.j.clear(),this.w.rc()?(l=ce(AE(this,this.w,h,e),c.Sa(),c.sa()-1),this.j.moveTo(l-d,c.Ya()).lineTo(l-d,c.pa())):(l=ce(AE(this,this.w,h,a),c.Ya(),c.pa()-1),this.j.moveTo(c.Sa(),l-f).lineTo(c.sa(),l-f))),this.i.enabled()&&(c=this.bm(this.w,h),d=this.i.rf()||ns,
this.i.text(d.call(c,c)),e=wE(this,this.w,this.i,e,a,h),this.i.x(e.x).y(e.y),this.i.O(b).$())):yE(this)}else this.dc()}};function AE(a,b,c,d){a=a.ia();var e=b.scale(),f="ordinal"==e.Ob();c=e.transform(e.Dc(c),.5);return b.rc()?f?Math.round(a.left+c*a.width):d:f?Math.round(a.top+a.height-c*a.height):d}
function wE(a,b,c,d,e,f){a=a.ia();var h=0,k=0;if(!b)return{x:h,y:k};var l=b.scale(),n=b.Na(),p="ordinal"==l.Ob();f=l.transform(l.Dc(f),.5);var r=b.enabled(),l=r?n.Sa():a.sa(),t=r?n.Ya():a.pa(),u=r?n.sa():a.Sa(),n=r?n.pa():a.Ya();switch(b.wc()){case "left":h=BE(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=CE(c)?n-1:n+1;break;case "right":h=BE(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=CE(c)?t-1:t+1}return{x:h,y:k}}function BE(a){a=ex(a);return"leftTop"==a||"leftCenter"==a||"leftBottom"==a}function CE(a){a=ex(a);return"leftTop"==a||"centerTop"==a||"rightTop"==a}
g.bm=function(a,b){if(!a)return null;var c=a.scale(),d=c.Ob(),e=c.Dc(b),f;switch(d){case "linear":f=+parseFloat(e).toFixed();break;case "log":f=+e.toFixed(1);break;case "ordinal":f=String(e);break;case "dateTime":var h=new Date(e),d=h.getMonth()+1;f=h.getDate();h=h.getFullYear();f=(10>d?"0"+d:""+d)+"-"+(10>f?"0"+f:""+f)+"-"+h}return{value:f,rawValue:e,max:c.max?c.max:null,min:c.min?c.min:null,scale:c}};
g.wq=function(a){var b=this.ia(),c=a.offsetX;a=a.offsetY;(c<=b.Sa()||c>=b.sa()||a<=b.Ya()||a>=b.pa())&&this.dc()};g.remove=function(){this.dc()};g.da=function(){this.Aa&&(this.Aa.jc("mouseover",this.zk,!1,this),this.Aa.jc("mousemove",this.zk,!1,this),this.Aa.jc("mouseout",this.wq,!1,this),this.Aa.jc("pointshover",this.show,!1,this),this.Aa=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;tE.F.da.call(this)};
g.I=function(){var a=tE.F.I.call(this);a.displayMode=this.Gv();a.xStroke=pp(this.cn());a.yStroke=pp(this.fn());a.xLabel=this.f.I();a.yLabel=this.i.I();return a};g.aa=function(a,b){tE.F.aa.call(this,a,b);this.Gv(a.displayMode);this.cn(a.xStroke);this.fn(a.yStroke);this.an(a.xLabel);this.en(a.yLabel)};var DE=tE.prototype;DE.displayMode=DE.Gv;DE.xStroke=DE.cn;DE.yStroke=DE.fn;DE.xLabel=DE.an;DE.yLabel=DE.en;function EE(a,b){this.Aa=a;this.index=Xr(b,0,!0);this.b={}}g=EE.prototype;g.La=function(){return this.index};g.$b=function(){return this.Aa};g.get=function(a){return this.Aa.data().get(this.index,a)};g.set=function(a,b){this.Aa.data().set(this.index,a,b);return this};g.tw=function(a){var b=this.$b(),c=AA(b.state,Bp,this.index);return m(a)&&c!=a?(a?b.Yk(this.index):b.ee(this.index),this):c};
g.Gt=function(a){var b=this.$b(),c=AA(b.state,Cp,this.index);return m(a)&&c!=a?(a?b.select(this.index):b.jf(this.index),this):c};g.Rv=function(){return this.indexthis.j[u]?v=this.g[u][this.j[u]]:this.g[u].push(v=t.HL());this.j[u]++;this.b[u].push(v);l=YE(this,l,n,p,r,v,!0);e[k]=l}this.nl(this.na,e,a);return e};
g.yk=function(a,b){if(q(b))for(var c=0;cb;b=Math.abs(b);var d=(b-a.Tw)/(a.HD-a.Tw);if(isNaN(d)||!isFinite(d))d=.5;b=a.Uw+d*(a.ID-a.Uw);return c?-b:b}function WD(a){return a.ra.J("yValues")}g.$b=function(){return this.Aa};g.Qa=function(){return this.ye||uA(this)};function uA(a){return a.ye=mF(a)}g.Hj=function(){return this.Aa.Rc()};g.ie=function(a){return m(a)?(a instanceof CB||(a=null),this.B!=a&&(this.B&&Ev(this.B,this.lq,this),(this.B=a)&&Q(this.B,this.lq,this),this.o(1024,5)),this):this.B||this.hc.ie()};
g.lq=function(a){var b=0;U(a,4)&&(b|=4);U(a,2)?this.o(1024,b|1):this.fa(b)};g.wg=function(a,b){return cF(this,this.Hj().transform(a,b),!0)};g.dg=function(a,b){return cF(this,this.ie().transform(a,b),!1)};g.pl=function(a){return m(a)?(this.ra.W(a),this):this.ra};g.error=function(a){dF(this)||M(12,void 0,[this.Ks()]);this.Ua||(this.Ua=new bF(this),Q(this.Ua,this.fO,this));return m(a)?(this.Ua.W(a),this):this.Ua};g.fO=function(a){var b=0;U(a,1)&&(b|=1);U(a,4)&&(b|=4);this.o(1024,b)};g.yo=function(a){return this.error().yo(a)};
g.dJ=function(a){if(a=!a.R("missing")){var b=this.error(),c=b.f.Qa();a=c.get("xError")||b.$m();var d=c.get("xLowerError")||b.bn(),e=c.get("xUpperError")||b.dn(),f=c.get("valueError")||b.Xm(),h=c.get("valueLowerError")||b.Ym(),b=c.get("valueUpperError")||b.Zm(),f=m(h)||m(b)||Sr(f)||!Wr(f);a=m(d)||m(e)||Sr(a)||!Wr(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.ea!=a&&(this.ea=a,this.o(4096,1)),this):this.ea};g.Im=function(a){this.ob||(this.ob=new fF,Q(this.ob,this.hO,this));return m(a)?(this.ob.W(a),this):this.ob};g.hO=function(a){var b=64,c=!1;U(a,8)&&(b|=8,c=!0);this.fa(b,c)};
g.fw=function(a){var b=this.Im();b.K(b.oa);var c=Xw.prototype.I.call(b);m(b.jm())&&(c.iconTextSpacing=b.jm());m(b.text())&&(c.text=b.text());m(b.gm())&&(c.iconEnabled=b.gm());m(b.km())&&(c.iconType=b.km());m(b.im())&&(c.iconSize=b.im());m(b.Vh())&&(c.iconFill=b.Vh());m(b.Xh())&&(c.iconStroke=b.Xh());m(b.Wh())&&(c.iconHatchFill=b.Wh());m(b.hm())&&(c.iconMarkerType=b.hm());m(b.Fk())&&(c.iconMarkerFill=b.Fk());m(b.Gk())&&(c.iconMarkerStroke=b.Gk());m(b.disabled())&&(c.disabled=b.disabled());var b=this.J("color"),
d=nF(this);a=c.text||a;B(a)&&(a=Kz(Lz.Mc(),a));c.text=E(a)?a.call(d,d):this.name();c.disabled="disabled"in c?!!c.disabled:!this.enabled();c.meta=this.R();"marker"!=c.iconType||this.wa(8192)||(c.iconFill=this.u.fill(),c.iconStroke=this.u.stroke());c.iconType=oF(this,c.iconType);c.iconEnabled="iconEnabled"in c?!!c.iconEnabled:!0;c.iconStroke=pF(this,c.iconStroke,2,b);c.iconFill=pF(this,c.iconFill,1,b);c.iconHatchFill=pF(this,c.iconHatchFill,3,Fp(this));this.wa(4194304)&&this.pe().enabled()?(c.iconMarkerType=
c.iconMarkerType||this.u.type(),c.iconMarkerFill=c.iconMarkerFill||this.u.fill(),c.iconMarkerStroke=c.iconMarkerStroke||this.u.stroke()):(c.iconMarkerType=null,c.iconMarkerFill=null,c.iconMarkerStroke=null);return c};function oF(a,b){"marker"==b?(a.wa(8192)?b=a.J("type"):a.wa(4194304)?b=a.pe().type():b="square","line"==b&&(b="vline")):E(b)||(b=fo(b));return b}
function pF(a,b,c,d){if(b)E(b)?(a={sourceColor:d},b=b.call(a,a)):b=pp(b);else{if(2==c)b="stroke";else if(3==c){if(a.wa(8))return null;b="hatchFill"}else a.wa(8)?(b="stroke",c=2):b="fill";b=vp([b],c)(a,Dp,!0)}return b}g.qb=function(a){if(!this.Oa){this.Oa=new pz(0);var b=this.Aa,c=b.qb();this.Oa.parent(c);this.Oa.Aa(b)}return m(a)?(this.Oa.W(a),this):this.Oa};
function qF(a,b,c){if(!a)return rF;var d=la(b)+"|"+a.join("|")+(c?"|"+c.join("|"):"");c=c||a;var e=jF[d];e||(jF[d]=e=function(d,e,k){k=Math.min(k&(Bp|Cp),Cp);return k!=Dp&&1this.j.left+this.j.width)f=e,e=$a($r,f),0<=e&&(f=$r.length,f=$r[(f-e)%f]),e=f;if(("leftBottom"==e||"centerBottom"==e||"rightBottom"==e)&&p.topthis.j.top+
this.j.height)p=$a($r,e),0<=p&&(e=$r.length,e=$r[(e-p+4)%e]);e=bs(e,a);b.wh(e)}}else bE(r,f||a),r.yl(k,l);n&&r.$();return r};g.labels=function(a){this.N||(this.N=new JA,this.N.ub(this),Q(this.N,this.eJ,this));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.N.W(a),this):this.N};g.th=function(a){this.ib||(this.ib=new JA,this.ib.K(4294967295));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.ib.W(a),this):this.ib};
g.uh=function(a){this.vb||(this.vb=new JA,this.vb.K(4294967295));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.vb.W(a),this):this.vb};g.eJ=function(a){U(a,1)&&this.o(256,1025)};g.Tn=function(a,b,c){a.R("label",tF(this,[this.labels,this.th,this.uh],[this.$b().labels,this.$b().Hp,this.$b().Ip],["label","hoverLabel","selectLabel"],this.hx(),!0,null,a,b,c))};
g.pe=function(a){this.u||(this.u=new KA,this.u.ub(this),Q(this.u,this.wN,this));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.u.W(a),this):this.u};g.Tg=function(a){this.mb||(this.mb=new KA,this.mb.K(4294967295));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.mb.W(a),this):this.mb};g.Oi=function(a){this.xb||(this.xb=new KA,this.xb.K(4294967295));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.xb.W(a),this):this.xb};g.wN=function(a){U(a,1)&&this.o(128,65)};
g.Jv=function(a,b,c){a.R("marker",tF(this,[this.pe,this.Tg,this.Oi],null,["marker","hoverMarker","selectMarker"],this.ix(),!1,null,a,b,c))};g.Hi=function(a){this.U||(this.U=new KA,this.U.ub(this),Q(this.U,this.rO,this));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.U.W(a),this):this.U};g.Jo=function(a){this.Gb||(this.Gb=new KA);return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.Gb.W(a),this):this.Gb};
g.$o=function(a){this.pc||(this.pc=new KA);return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.pc.W(a),this):this.pc};g.rO=function(a){U(a,1)&&this.o(128,1)};g.Br=function(a,b,c){var d=a.R("outliers");d&&d.length&&tF(this,[this.Hi,this.Jo,this.$o],null,["outlierMarker","hoverOutlierMarker","selectOutlierMarker"],this.jx(),!1,d,a,b,c)};function vF(a,b){return+Yb(a.Xb,function(a){return eb(a,function(a){return a==b})})}g.hx=function(){return!1};g.ix=function(){return!1};g.jx=function(){return!1};
g.YD=function(){return!1};g.ml=function(){return!1};g.remove=function(){this.wa(4)?XE(this.Ne,null):this.g&&this.g.remove();this.N&&this.N.Zd()&&(this.N.Zd().remove(),this.N.o(2));this.u&&(this.u.remove(),this.u.o(2));this.U&&(this.U.remove(),this.U.o(2))};g.Ag=function(a){this.ca||(this.ca=new hA(this),H(this,this.ca),Q(this.ca,this.fJ,this),this.Aa instanceof CA&&(fA(this.ca,this.Aa.Ag()),fA(this.ca).fa(2)));return m(a)?(this.ca.W.apply(this.ca,arguments),this):this.ca};
g.fJ=function(){this.o(32,1)};
g.$=function(){if(!this.wb())return this;J(this);m(this.Vb.color)&&S(this,16768)&&MD(this,this.Vb.color);S(this,32768)&&(kF(this),this.K(32768));if(S(this,4)){this.j=this.Na();this.Db=this.G?this.G.gf(this.j):this.j;var a=Math.min(this.j.height,this.j.width);this.Uw=N(this.kf,a);this.ID=N(this.$e,a);this.o(7168)}S(this,512)&&(this.kx(),this.o(3104,2049),this.K(512));S(this,1024)&&this.o(24960);var b=[],a=[],c,d,e,f;S(this,1026)&&(this.wa(4)?this.g=this.O():(this.g||(this.g=Zh(),Xv(this,this.g)),this.g.zIndex(this.zIndex()),
this.g.parent(this.O())),S(this,1024)&&this.Ne.pv(),XE(this.Ne,this.g),this.Re=this.Jr(),this.Oc=this.dD());S(this,1282)&&(c=this.labels(),f=this.th().enabled()||this.uh().enabled(),sF(this,c,f,this.hx(),UD,256)&&(f=this.zIndex()+this.iy+(this.ml()?1:0),c.Ee=f,c.o(8),this.wa(UD)&&b.push(this.Tn),a.push(c)),this.K(256));S(this,1154)&&(c=this.pe(),f=this.Tg().enabled()||this.Oi().enabled(),sF(this,c,f,this.ix(),4194304,128)&&(f=this.zIndex()+1.1E-5+(this.ml()?1:0),c.Ee=f,this.wa(4194304)&&b.push(this.Jv),
a.push(c)),this.K(128));if(S(this,9218)){this.bb||(this.bb=[]);if(this.ta)for(;this.ta.length;)c=this.ta.pop(),c.clear(),c.parent(null),this.bb.push(c);else this.ta=[];if((c=dF(this)&&"none"!=this.error().mode())&&!(c=this.YD())){var h=this.error();c=h.$m();f=h.bn();var k=h.dn();d=h.Xm();e=h.Ym();h=h.Zm();d=m(e)||m(h)||Sr(d)||!Wr(d);c=m(f)||m(k)||Sr(c)||!Wr(c)||d}c&&b.push(this.dJ);this.K(8192)}S(this,17410)&&(c=this.Hi(),f=this.Jo().enabled()||this.$o().enabled(),sF(this,c,f,this.jx(),256,16384)&&
(f=this.zIndex()+ME,c.Ee=f,this.wa(256)&&b.push(this.Br),a.push(c)),this.K(16384));c=b.length;if(S(this,1024)){if(f=WD(this)){k=WD(this);this.ma.length=0;this.ml()?this.ma.push(this.pN):(this.ma.push(this.qN),UE(this)&&this.ma.push(this.sN));this.wa(2)&&this.ma.push(this.oN);this.Qi()&&this.ma.push(this.mN);UE(this)&&(d=this.ie(),this.Gf=ce(d&&d.transform(0,.5)||0,0,1),d=cF(this,this.Gf,!1),this.J("isVertical")?(h=this.Db.left,e=h+this.Db.width):(h=this.Db.top,e=h+this.Db.height),this.Ff=ce(d,h,e));
this.ru();h=uA(this);for(h.reset();h.advance();)for(e=this.Nr(h.La()),this.GD(h,k,f),this.qu(h,e),d=0;dx[n]&&(x[n]=D)}else for(n in u)D=O(R.values[n]),Dx[n]&&(x[n]=D);for(n=0;n<=a.i;n++)D=
O(R.f[n]),DA[n]&&(A[n]=D);R=R.next}if(v)for(n=0;nd)if(d=~d,"exactOrNext"==c)d=d=RF)this.i=-1,this.b.length=0,TF(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 XF(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}YF(a,new XF(null,a.f,b))}else e=new XF(a.b,a.f,b),a.b=[],YF(a,e),c=RF;a.f.length=0;a.g=a.iE;a.i=-1;a.j=0;LF(a);ZF(a.u,c,!0)}}g=UF.prototype;
g.remove=function(a,b){for(var c=new XF(this.b,this.f,WF(this),a,b),d;d=c.next();)d.i=!0;this.j=2;this.B||VF(this);return this};function $F(a,b){b=Xr(b);for(var c=new XF(a.b,a.f,WF(a)),d=NaN,e;(e=c.next())&&0a.key?(this.g=1==b?this.hE:this.ox,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,GF,d),0>this.b&&(this.b=~this.b)):(this.i=this.KN,this.b=isNaN(d)?this.g.length-1:Ab(this.g,HF,d),0>this.b&&(this.b=~this.b-1))}g=XF.prototype;g.Lm=function(){return null};
g.IN=function(){var a=this.f,b=this.g[this.b];if(a){if(b){if(0>FF(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.Lm;return null};g.KN=function(){var a=this.f,b=this.g[this.b];if(a){if(b){if(0>FF(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.Lm;return null};
g.PD=function(){var a=this.f;if(a)return this.f=this.f.next,a;this.next=this.Lm;return null};g.GN=function(){var a=this.g[this.b++];if(a)return a;this.next=this.Lm;return null};g.HN=function(){var a=this.g[this.b--];if(a)return a;this.next=this.Lm;return null};g.EL=function(){var a=this.i();return!a||a.key>this.j?(this.next=this.Lm,null):a};g.XN=function(){return this.i()};function aG(a,b){this.i=no(a);this.f=b||1;this.b=new Date(0);switch(this.i){case "year":return this.G=this.UH,this.next=this.VN,this;case "semester":return this.G=this.RH,this.next=this.SN,this;case "quarter":return this.G=this.PH,this.next=this.QN,this;case "month":return this.G=this.At,this.next=this.PN,this;case "thirdofmonth":return this.G=this.SH,this.next=this.TN,this;case "week":return this.G=this.TH,this.next=this.UN,this;default:this.G=this.LH;this.next=this.JN;break;case "hour":this.G=this.MH;
this.next=this.LN;break;case "minute":this.G=this.OH;this.next=this.ON;break;case "second":this.G=this.QH;this.next=this.RN;break;case "millisecond":this.G=this.NH,this.next=this.NN}}g=aG.prototype;g.UH=function(a){this.b.setTime(Date.UTC(cs(this.b.getUTCFullYear(),this.f,a?a.getUTCFullYear():2E3)-this.f,0))};g.RH=function(a){var b=this.f;this.f*=6;this.At(a);this.f=b};g.PH=function(a){var b=this.f;this.f*=3;this.At(a);this.f=b};
g.At=function(a){var b=cs(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.SH=function(a){a=cs(bG(this.b),this.f,a?bG(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.TH=function(a){cG(this,6048E5*this.f,a||new Date(Date.UTC(2E3,0,2)))};g.LH=function(a){cG(this,864E5*this.f,a)};
g.MH=function(a){cG(this,36E5*this.f,a)};g.OH=function(a){cG(this,6E4*this.f,a)};g.QH=function(a){cG(this,1E3*this.f,a)};g.NH=function(a){cG(this,this.f,a)};function cG(a,b,c){a.b.setTime(cs(a.b.getTime(),b,c?c.getTime():Date.UTC(2E3,0))-b)}function bG(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 dG(a,b,c,d,e){this.B=a;this.va=d;this.u=new DF(isNaN(b.aE)?-1:b.aE,[]);this.u.next=b.vM;this.G=b.vO;this.P=b.lastIndex-b.NC+1||0;this.N=(this.i=e||null)?this.IL:this.KH;this.U=this.i?this.CM:this.IM;this.f=c;this.reset()}g=dG.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.Am(this.va?eG(this.B,a):fG(this.B,a))};
g.R=function(a,b){var c=this.f[this.La()];c||(c=this.f[this.La()]={});return 1a?this.b.f&&(b=this.b.f[~a]):b=this.b.values[a]);return b};g.$u=function(){return this.g};g.La=function(){return this.U()};g.gc=function(){return this.P};g.TK=function(){return this.g};g.IM=function(){return this.j};g.CM=function(){return this.i.b()};
g.KH=function(){if(this.b){this.j++;if((this.b=this.b.next)&&this.b!=this.G)return this.D=!0,this.g=this.b.key,!0;this.b=null;this.D=!1;this.j=this.g=NaN}return!1};g.IL=function(){if(this.i.advance())return this.w&&(this.b=this.b.next),(this.w=!(!this.b||this.b.key!=this.i.f()||this.b==this.G))?(this.D=!0,this.g=this.b.key):(this.D=!1,this.g=this.i.f()),!0;this.b=null;this.g=NaN;return this.D=!1};var gG=dG.prototype;gG.reset=gG.reset;gG.advance=gG.advance;gG.get=gG.get;gG.getKey=gG.TK;
gG.getIndex=gG.La;gG.meta=gG.R;function hG(a){this.i=a;this.b=SF(a.b);this.g=!0;this.f=QF(this.b);this.j=!1;this.D=[];iG(this)}function iG(a){for(var b=a.b.gc();a.D.lengthb&&(d=a,a=b,b=d);d=SF(this.i.b,c);if(this.j||d!=this.b||this.f.cF!=a||this.f.MC!=b)this.j=!1,this.b=d,this.g=!c,this.f=d.select(a,b),iG(this);return this};hG.prototype.w=function(a,b){var c=m(a)?new aG(a,O(b)):void 0,d=SF(this.i.b,c);this.b=d;this.g=!c;this.f=QF(d);iG(this);return this};hG.prototype.Qa=function(){return new dG(this.i,this.f,this.D,!this.g,null)};
function jG(a,b,c,d,e){this.Hc=a;this.b=b;this.g=c;this.D=d;this.f=e}g=jG.prototype;g.get=function(a){return this.Am(this.g?eG(this.b,a):fG(this.b,a))};g.Am=function(a){var b;C(a)&&0>a?this.Hc.f&&(b=this.Hc.f[~a]):b=this.Hc.values[a];return b};g.La=function(){return this.D};g.$u=function(){return this.Hc.key};g.R=function(a,b){return 1e)this.f[a]={ZE:e,sE:e};else if(B(e)||!isNaN(e)){if((b=z(c))&&!E(c)&&!("reset"in c&&"considerItem"in c&&"getResult"in c))return this;var f=b?c:Jo(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=oG(f,c,h);b in d.w?b=d.w[b]:(c=pG(f,c,h),d.w[b]=
b=d.j.length,d.j.push(c),ZF(d,4,!1));this.f[a]={ZE:e,sE:b};this.b.ga(!0)}return this};function eG(a,b){return b in a.f?a.f[b].sE:NaN}function fG(a,b){return b in a.f?a.f[b].ZE:NaN}var qG=nG.prototype;qG.addField=qG.i;qG.createSelectable=qG.g;function rG(a,b){Jb.call(this);this.g=a;this.D=m(b)?b:NaN;this.clear()}G(rG,Jb);rG.prototype.clear=function(){this.value=void 0};rG.prototype.f=function(){var a=this.value;this.clear();return a};rG.prototype.da=function(){delete this.value;rG.F.da.call(this)};function sG(a){rG.call(this,a)}G(sG,rG);sG.prototype.clear=function(){this.value=this.i=0};sG.prototype.b=function(a){a=O(a);isNaN(a)||(this.value+=a,this.i++)};sG.prototype.f=function(){var a=this.i?this.value/this.i:NaN;this.clear();return a};function tG(a,b){this.i=b;rG.call(this,a)}G(tG,rG);tG.prototype.clear=function(){this.i.reset()};tG.prototype.b=function(a,b,c){this.i.considerItem(a,c)};tG.prototype.f=function(){var a=this.i.getResult();this.clear();return a};tG.prototype.da=function(){delete this.i;tG.F.da.call(this)};function uG(a,b,c){this.j=b;this.i=c;rG.call(this,a)}G(uG,rG);uG.prototype.clear=function(){this.value=[];this.u=[]};uG.prototype.b=function(a,b,c){this.value.push(a);this.u.push(c)};uG.prototype.f=function(){var a=this.j.call(this.i,this.value,this.u);this.clear();return a};uG.prototype.da=function(){delete this.j;delete this.i;uG.F.da.call(this)};function vG(a){rG.call(this,a)}G(vG,rG);vG.prototype.clear=function(){this.value=NaN};vG.prototype.b=function(a){isNaN(this.value)&&(this.value=O(a))};function wG(a){rG.call(this,a)}G(wG,rG);wG.prototype.b=function(a){m(this.value)||(this.value=a)};function xG(a){rG.call(this,a)}G(xG,rG);xG.prototype.clear=function(){this.value=NaN};xG.prototype.b=function(a){a=O(a);isNaN(a)||(this.value=a)};function yG(a){rG.call(this,a)}G(yG,rG);yG.prototype.b=function(a){m(a)&&(this.value=a)};function zG(a){rG.call(this,a)}G(zG,rG);zG.prototype.clear=function(){this.value=[]};zG.prototype.b=function(a){m(a)&&this.value.push(a)};function AG(a){rG.call(this,a)}G(AG,rG);AG.prototype.clear=function(){this.value=NaN};AG.prototype.b=function(a){a=O(a);isNaN(a)||this.value>=a||(this.value=a)};function BG(a){rG.call(this,a)}G(BG,rG);BG.prototype.clear=function(){this.value=NaN};BG.prototype.b=function(a){a=O(a);isNaN(a)||this.value<=a||(this.value=a)};function CG(a){rG.call(this,a)}G(CG,rG);CG.prototype.clear=function(){this.value=0};CG.prototype.b=function(a){a=O(a);isNaN(a)||(this.value+=a)};function DG(a,b){rG.call(this,a,b)}G(DG,rG);DG.prototype.clear=function(){this.value=this.i=0};DG.prototype.b=function(a,b){a=O(a);b=O(b)||0;isNaN(a)||(this.value+=a*b,this.i+=b)};DG.prototype.f=function(){var a=this.i?this.value/this.i:NaN;this.clear();return a};function pG(a,b,c){if(E(a))return new uG(b,a,c);if(z(a))return new tG(b,a);switch(a){case "average":return new sG(b);case "first":return new vG(b);case "firstValue":return new wG(b);case "lastValue":return new yG(b);case "list":return new zG(b);case "max":return new AG(b);case "min":return new BG(b);case "sum":return new CG(b);case "weightedAverage":return new DG(b,c);default:case "last":return new xG(b)}}
function oG(a,b,c){C(b)&&(b=b.toFixed(0));if(z(a))return la(a)+"|"+b+"|"+Or(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 EG(a,b,c,d,e){kd.call(this);this.i=new UF(this,a,b,c,d,e);this.b={};this.w={};this.g={};this.B=0;this.D=[];this.j=[];this.f=[];this.u=[]}G(EG,Dv);g=EG.prototype;g.la=16;
g.VK=function(a,b,c){var d=this.i,e=!d.B;e&&(d.B&&M(101),d.B=!0);if(B(a)){var f=new IF(d),h=new mq;z(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=k instanceof LG?k:k[0],kb(e,k,p),k.R("nc",!0),M(1,null,[n])):kb(e,l,p)}else M(2,null,[n])}for(b=0;bk?((k=this.co("id",l))?(k=k instanceof LG?k:k[0],VG(k,h)):(this.i.push(h),M(3,null,[l])),WG(this,h)):(k=e[k],VG(k,h),k.R("nc")&&WG(this,h))):(this.i.push(h),WG(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)XG(a,b,e,d)}
function YG(a,b,c,d){if(c){if(d)for(var e=b.lb();e--;)YG(a,b.Hg(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 GC(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.P)return!1;q(a)||(a=[a]);for(var b=!1,c=0;c=this.b.NC&&a<=this.b.lastIndex};function eH(a,b){var c;return a.b?a.b.nP?(c=a.b.nP[Or(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.Ec.NA("x",b)}
g.sj=function(a){var b=this.Qa();this.wa(512)&&this.Ne.fh(a,b.R("shapes"));this.Qi()&&this.Br(b,a,!0);this.Wb.rp(b,a);this.wa(4194304)&&this.Jv(b,a,!0);this.wa(UD)&&this.Tn(b,a,!0)};g.uo=fa;function pA(a,b){var c=a.Qa();a.Ne.fh(b,c.R("shapes"));a.Wb.rp(c,b);a.Qi()&&a.Br(c,b,!0)}g.Pc=function(a){return m(a)?(a=null===a?null:Nn(a),a!=this.ze&&(this.ze=a),this):this.ze};g.Ac=function(a){return m(a)?this:this.Aa.hd().Ac()};g.Yk=function(a){m(a)?this.Ur(a):xD(this);return this};
g.ee=function(a){if(!qA(this.state,Bp)&&!BA(this.state.Qg(),Bp)||!this.enabled())return this;var b;m(a)?b=a:b=this.state.f==Dp?NaN:void 0;yA(this.state,Bp,b);return this};g.Ur=function(a){if(!this.enabled())return this;if(q(a)){for(var b=zA(this.state,Bp),c=0;cc&&(c=NaN);a.pointIndex=c}return a};g.ve=function(a){(a=this.Wg(a))&&this.dispatchEvent(a)};
g.Wg=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.Hi()||isNaN(a.markerIndex)?"pointIndex"in a?c=a.pointIndex:"labelIndex"in a?c=a.labelIndex:"markerIndex"in a&&(c=a.markerIndex):
c=vF(this,a.markerIndex);c=O(c);a.pointIndex=c;var d=mF(this);d.select(c)||d.reset();return{type:b,actualTarget:a.target,series:this,iterator:d,pointIndex:c,target:this,originalEvent:a,point:this.zf(c)}};
g.zf=function(a){var b;this.wa(2)?b=new IE(this,a):b=new GE(this,a);var c=this.Aa;c.gd();var d=this.wa(81920),e=d?b.get("high")-b.get("low"):b.get("value");b.Ra("index",a);m(e)&&b.Ra("value",e);var f=b.get("size"),h;C(c.Ra("dataPlotXSum"))&&(h=e/c.Ra("dataPlotXSum"),b.Ra("xPercentOfTotal",100*h));C(this.Ra("seriesXSum"))&&(h=e/this.Ra("seriesXSum"),b.Ra("xPercentOfSeries",100*h));C(this.Ra("seriesBubbleSizeSum"))&&(h=f/this.Ra("seriesBubbleSizeSum"),b.Ra("bubbleSizePercentOfSeries",100*h),h=f/c.Ra("dataPlotBubbleSizeSum"),
b.Ra("bubbleSizePercentOfTotal",100*h),b.Ra("bubbleSize",f));h=d?this.Ra("catYRangeSumArr_"):this.Ra("catYSumArr_");f=b.get("x");h?(b.Ra("categoryName",f),f=h[a],d?(h=e/this.Ra("seriesYRangeSum"),b.Ra("yPercentOfSeries",100*h),h=e/c.Ra("dataPlotYSum"),b.Ra("yPercentOfTotal",100*h),b.Ra("yPercentOfCategory",e/f*100),h=f/c.Ra("dataPlotYSum"),b.Ra("categoryYRangePercentOfTotal",100*h),b.Ra("categoryYRangeSum",f),b.Ra("categoryYRangeMax",this.Ra("catYRangeMaxArr_")[a]),b.Ra("categoryYRangeMin",this.Ra("catYRangeMinArr_")[a]),
b.Ra("categoryYRangeAverage",this.Ra("catYRangeAvgArr_")[a]),b.Ra("categoryYRangeMedian",this.Ra("catYRangeMedianArr_")[a]),b.Ra("categoryYRangeMode",this.Ra("catYRangeModeArr_")[a])):(h=e/this.Ra("seriesYSum"),b.Ra("yPercentOfSeries",100*h),h=e/c.Ra("dataPlotYSum"),b.Ra("yPercentOfTotal",100*h),b.Ra("yPercentOfCategory",e/f*100),h=f/c.Ra("dataPlotYSum"),b.Ra("categoryYPercentOfTotal",100*h),b.Ra("categoryYSum",f),b.Ra("categoryYMax",this.Ra("catYMaxArr_")[a]),b.Ra("categoryYMin",this.Ra("catYMinArr_")[a]),
b.Ra("categoryYAverage",this.Ra("catYAvgArr_")[a]),b.Ra("categoryYMedian",this.Ra("catYMedianArr_")[a]),b.Ra("categoryYMode",this.Ra("catYModeArr_")[a]))):(h=f/this.Ra("seriesXSum"),b.Ra("xPercentOfSeries",100*h),h=e/this.Ra("seriesYSum"),b.Ra("yPercentOfSeries",100*h),h=f/c.Ra("dataPlotXSum"),b.Ra("xPercentOfTotal",100*h),h=e/c.Ra("dataPlotYSum"),b.Ra("yPercentOfTotal",100*h));return b};
g.I=function(){var a=dH.F.I.call(this);if(this.b){for(var b=[],c=this.data(),d=new BF(this);d.advance();){var e=d.R("rawIndex");isNaN(e)?b.push({x:d.get("x")}):b.push(JC(c,e))}a.data=b}else a.data=this.data().I();m(this.Pc())&&(a.selectionMode=this.Pc());return a};g.aa=function(a,b){dH.F.aa.call(this,a,b);"data"in a&&this.data(a.data||null);this.Pc(a.selectionMode)};g.da=function(){Mb(this.ec);delete this.Ec;this.w=this.b=this.state=this.md=this.ec=null;dH.F.da.call(this)};var fH=dH.prototype;
fH.data=fH.data;fH.xScale=fH.Rc;fH.hover=fH.Yk;fH.unhover=fH.ee;fH.select=fH.select;fH.unselect=fH.jf;fH.selectionMode=fH.Pc;fH.getPoint=fH.zf;fH.excludePoint=fH.sM;fH.includePoint=fH.sD;fH.keepOnlyPoints=fH.jN;fH.includeAllPoints=fH.fN;fH.getExcludedPoints=fH.GM;function gH(a){W.call(this);this.bb=this.ra=!1;this.ca=this.ob=this.G=this.U=this.P=this.b=this.f=this.g=null;this.B=0;this.u=hH;this.j=new K(0,0,0,0);this.i=new K(0,0,0,0);this.ea=this.Y=this.ka=null;this.Ma=0;this.ib=this.vb=this.mb=!1;this.Ea=this.ma=null;this.w="bottom";this.N=!0;this.xb=!!a}G(gH,W);var hH=1E6;g=gH.prototype;g.la=W.prototype.la;g.oa=W.prototype.oa|464;g.$h=function(a){return m(a)?(a=!!a,this.ra!=a&&(this.ra=a,this.o(256,9)),this):this.ra};
g.Rj=function(a){this.ma||(this.ma=new iH(this));return m(a)?(this.ma.$a(!1,a),this):this.ma};g.fill=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.Oa!=k&&(this.Oa=k,this.o(16,1));return this}return this.Oa};g.Bx=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.Va!=k&&(this.Va=k,this.o(16,1));return this}return this.Va};g.ex=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments);f!=this.Ua&&(this.Ua=f,this.o(16,1));return this}return this.Ua};
g.height=function(a){return m(a)?(a=Ur(a)||this.Za,a!=this.Za&&(this.Za=a,this.o(4,9)),this):this.Za};g.Vu=function(a){return m(a)?(a=Vr(a),a!==this.ta&&(this.ta=a,this.o(4,9)),this):this.ta};g.Uu=function(a){return m(a)?(a=Vr(a),a!==this.yc&&(this.yc=a,this.o(4,9)),this):this.yc};g.Xn=function(a,b,c,d){this.Ea||(this.Ea=new cx,Q(this.Ea,this.MJ,this));return m(a)?(this.Ea.W.apply(this.Ea,arguments),this):this.Ea};g.MJ=function(a){U(a,2)&&this.o(4,9)};
g.Wu=function(a){return m(a)?(a=Vn(a),this.w!=a&&(this.w=a,this.o(196,9)),this):this.w};function jH(a){return"bottom"==a.w||"top"==a.w}function kH(a){return jH(a)?"ew-resize":"ns-resize"}g.remove=function(){this.g&&this.g.remove()};function lH(a){return a.enabled()&&(!a.ra||a.N||!!a.B||a.u!=hH)}
g.$=function(){if(!this.wb())return this;this.K(256);if(!lH(this))return this.remove(),this.o(2),this;if(Fv(this))return this;this.g||(this.g=Zh(),this.f=uh(),this.f.zIndex(100),this.b=uh(),this.b.zIndex(100),this.U=this.g.rect(),this.U.zIndex(1),this.ob=qh(),this.U.clip(this.ob),this.G=this.g.rect(),this.G.zIndex(50),this.ca=qh(),this.G.clip(this.ca),this.P=this.g.Ba(),this.P.zIndex(99),Xv(this,this.g,this.LJ,this.CN),this.D.qa(this.f,"mouseover",this.gF),this.D.qa(this.f,"mouseout",this.fF),this.D.oc(this.f,
"mousedown",this.Vm),this.D.oc(this.f,"touchstart",this.Vm),this.D.qa(this.b,"mouseover",this.gF),this.D.qa(this.b,"mouseout",this.fF),this.D.oc(this.b,"mousedown",this.Vm),this.D.oc(this.b,"touchstart",this.Vm),this.D.oc(this.G,"mousedown",this.Vm),this.D.oc(this.G,"touchstart",this.Vm),this.D.qa(this.U,"click",this.YN));S(this,2)&&(this.g.parent(this.O()),this.K(2));S(this,8)&&(this.g.zIndex(this.zIndex()),this.K(8));S(this,128)&&(this.f.cursor(kH(this)),this.b.cursor(kH(this)),this.G.cursor(kH(this)),
this.o(84),this.K(128));S(this,4)&&(mH(this),this.K(4));if(S(this,64)){var a=(Math.max(Xe(this.Ua),5)-1)/2;if(jH(this)){var b=this.j.top;if(this.Rj().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.Rj().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(S(this,16)){this.U.de(this.j);this.G.de(this.j);this.ob.af(this.j);this.U.fill("none"==this.Oa?hp:this.Oa).stroke(null);
this.G.fill("none"==this.Va?hp:this.Va).stroke(null);this.P.stroke(this.Ua).fill(null);nH(this,this.f,this.vb);nH(this,this.b,this.ib);switch(this.w){case "top":var a=this.j,c=a.left+this.B/hH*a.width,d=a.left+this.u/hH*a.width;this.f.Xa(1,0,0,1,c,0);this.b.Xa(1,0,0,1,d,0);b=Math.min(c,d);c=Math.max(c,d);this.ca.af(b,a.top,c-b,a.height);this.P.clear().moveTo(a.left,a.top+a.height).lineTo(b,a.top+a.height).lineTo(b,a.top).lineTo(c,a.top).lineTo(c,a.top+a.height).lineTo(a.left+a.width,a.top+a.height);
break;case "right":a=this.j;b=this.B;c=this.u;b=hH-b;c=hH-c;b=a.top+b/hH*a.height;d=a.top+c/hH*a.height;this.f.Xa(1,0,0,1,0,b);this.b.Xa(1,0,0,1,0,d);c=Math.min(b,d);b=Math.max(b,d);this.ca.af(a.left,c,a.width,b-c);this.P.clear().moveTo(a.left,a.top).lineTo(a.left,c).lineTo(a.left+a.width,c).lineTo(a.left+a.width,b).lineTo(a.left,b).lineTo(a.left,a.top+a.height);break;case "bottom":a=this.j;c=a.left+this.B/hH*a.width;d=a.left+this.u/hH*a.width;this.f.Xa(1,0,0,1,c,0);this.b.Xa(1,0,0,1,d,0);b=Math.min(c,
d);c=Math.max(c,d);this.ca.af(b,a.top,c-b,a.height);this.P.clear().moveTo(a.left,a.top).lineTo(b,a.top).lineTo(b,a.top+a.height).lineTo(c,a.top+a.height).lineTo(c,a.top).lineTo(a.left+a.width,a.top);break;case "left":a=this.j,c=a.top+this.B/hH*a.height,d=a.top+this.u/hH*a.height,this.f.Xa(1,0,0,1,0,c),this.b.Xa(1,0,0,1,0,d),b=Math.min(c,d),c=Math.max(c,d),this.ca.af(a.left,b,a.width,c-b),this.P.clear().moveTo(a.left+a.width,a.top).lineTo(a.left+a.width,b).lineTo(a.left,b).lineTo(a.left,c).lineTo(a.left+
a.width,c).lineTo(a.left+a.width,a.top+a.height)}this.Rj().$h()||oH(this);this.K(16)}return this};function pH(a,b,c){b=qH(b);c=qH(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.Bt=function(a){return m(a)?(this.N=!!a,this):this.N};g.lc=function(){var a=this.ia(),a=a?a.clone():Hq(0,0,0,0);lH(this)&&(S(this,4)&&(mH(this),this.K(4)),jH(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 mH(a){var b=a.ia(),c=jH(a)?b.height:b.width,d=N(a.Za,c);null===a.ta||(d=Math.max(d,N(a.ta,c)));null===a.yc||(d=Math.min(d,N(a.yc,c)));d=jH(a)?a.Xn().fe(d):a.Xn().he(d);a.i.left=b.left;a.i.top=b.top;jH(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||jH(a)?a.j=a.Xn().gf(a.i):(e=a.Xn(),"left"==a.w?(c=N(e.J("left"),a.i.width),b=N(e.J("top"),a.i.height),d=N(e.J("right"),a.i.width),e=N(e.J("bottom"),
a.i.height)):(c=N(e.J("right"),a.i.width),b=N(e.J("bottom"),a.i.height),d=N(e.J("left"),a.i.width),e=N(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.LJ=function(a){a.i();!Rr(this.g,a.relatedTarget)&&this.qd(a)&&(this.mb=!0,oH(this))};g.CN=function(a){a.i();!Rr(this.g,a.relatedTarget)&&this.qd(a)&&(this.mb=!1,rH(this))};
g.gF=function(a){a=a.target;a instanceof Fh&&(a==this.f?nH(this,this.f,this.vb=!0):a==this.b&&nH(this,this.b,this.ib=!0))};g.fF=function(a){a=a.target;a instanceof Fh&&(a==this.f?nH(this,this.f,this.vb=!1):a==this.b&&nH(this,this.b,this.ib=!1))};
g.Vm=function(a){if(a.b instanceof dh){var b=a.b,c;b!=this.f||this.ka?b!=this.b||this.Y?b!=this.G||this.ea||(this.ea=c=new sH(this,this.G,!1)):this.Y=c=new sH(this,this.b,!0):this.ka=c=new sH(this,this.f,!0);c&&(this.D.qa(c,"start",this.KJ),this.D.qa(c,"end",this.JJ),c.Df(a.pf))}};g.YN=function(a){var b=um(this.g.ja());a=jH(this)?a.clientX-b.x:a.clientY-b.y;tH(this,"backgroundClick","scrollerchangestart")&&(uH(this,!1,a),tH(this,"backgroundClick","scrollerchangefinish"))};
g.KJ=function(a){var b;this.N&&a.g!=this.ea?(a=kH(this),b="thumbDrag"):(a=kH(this),b="selectedRangeDrag");if(b=tH(this,b,"scrollerchangestart"))this.Ma++,this.f.cursor(null),this.b.cursor(null),this.G.cursor(null),Ag(document.body,"cursor",a);return b};g.JJ=function(a){this.Ma=Math.max(this.Ma-1,0);rH(this);this.f.cursor(kH(this));this.b.cursor(kH(this));this.G.cursor(kH(this));Ag(document.body,"cursor","");tH(this,this.N&&a.g!=this.ea?"thumbDrag":"selectedRangeDrag","scrollerchangefinish")};
function oH(a){a.bb||(a.g.Rb(a.f),a.g.Rb(a.b),a.bb=!0)}function rH(a){a.bb&&a.Rj().$h()&&!a.Ma&&!a.mb&&(a.g.removeChild(a.f),a.g.removeChild(a.b),a.bb=!1)}function nH(a,b,c){a=a.Rj();a.enabled()?c?(c=a.Tr(),a=a.Vr()):(c=a.fill(),a=a.stroke()):(c=hp,a="none");b.fill(c);b.stroke(a)}function qH(a){return ce(Math.round(a*hH),0,hH)}function tH(a,b,c,d,e){return a.dispatchEvent({type:c,startRatio:(m(d)?d:a.B)/hH,endRatio:(m(e)?e:a.u)/hH,source:b})}
function uH(a,b,c){c=vH(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/hH,b="thumbDrag";else if(a.N&&b==a.b)c=a.B/hH,b="thumbDrag";else{var e=(a.u-a.B)/hH/2;c=d-e;d+=e;b=!0===b?"selectedRangeDrag":"backgroundClick"}c=qH(c);d=qH(d);c==d&&(d+=dd&&(e=a.f,a.f=a.b,a.b=e,e=a.ka,a.ka=a.Y,a.Y=e,e=c,c=d,d=e);c==a.B&&d==a.u||!tH(a,b,"scrollerchange",c,d)||(a.B=c,a.u=d,a.o(16,
1))}function vH(a,b,c){var d=a.j,e=jH(a);a=ka(b)||!a.N?(a.u-a.B)/hH*(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 wH(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/=hH;var d=a.j;return jH(a)?d.left+d.width*c:"left"==a.w?d.top+d.height*c:d.top+d.height*(1-c)}
g.da=function(){Mb(this.g);this.G=this.U=this.P=this.b=this.f=this.g=null;Mb(this.ka);this.ka=null;Mb(this.Y);this.Y=null;Mb(this.ea);this.ea=null;Mb(this.ma);this.ma=null;Mb(this.Ea);this.Ea=null;gH.F.da.call(this)};g.I=function(){var a=gH.F.I.call(this);a.fill=this.fill();a.selectedFill=this.Bx();a.outlineStroke=this.ex();a.height=this.height();a.minHeight=this.Vu();a.maxHeight=this.Uu();a.orientation=this.Wu();a.autoHide=this.$h();a.allowRangeChange=this.Bt();a.thumbs=this.Rj().I();return a};
g.aa=function(a,b){gH.F.aa.call(this,a,b);this.Wu(a.orientation);this.$h(a.autoHide);this.Bt(a.allowRangeChange);this.fill(a.fill);this.Bx(a.selectedFill);this.ex(a.outlineStroke);this.height(a.height);this.Vu(a.minHeight);this.Uu(a.maxHeight);this.Rj().$a(!!b,a.thumbs)};function sH(a,b,c){Rg.call(this,b.X());this.f=a;this.w=c?b:null;this.g=void 0;this.va=qa(function(){this.g=void 0;uH(this.f,this.w||!0,this.Y)},this);this.G=Math.pow(3,2);this.qa("end",this.IJ)}G(sH,Rg);g=sH.prototype;
g.IJ=function(){m(this.g)&&(window.cancelAnimationFrame(this.g),this.va(0))};g.vj=function(){jH(this.f)?(this.b=wH(this.f,this.w),this.deltaY=0):(this.b=0,this.deltaY=wH(this.f,this.w))};g.Tk=function(a,b){this.Y=jH(this.f)?a:b;m(this.g)||(this.g=window.requestAnimationFrame(this.va))};g.Po=function(a){return jH(this.f)?vH(this.f,this.w,a):0};g.hl=function(a){return jH(this.f)?0:vH(this.f,this.w,a)};function iH(a){this.b=a}g=iH.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.$h=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.I=function(){var a={};a.fill=pp(this.fill());a.stroke=pp(this.stroke());a.hoverFill=pp(this.Tr());a.hoverStroke=pp(this.Vr());a.enabled=this.enabled();a.autoHide=this.$h();return a};
g.$a=function(a,b){if(m(b)){var c;ka(b)||null===b?(this.enabled(!!b),c=!0):c=!1;!c&&z(b)&&(this.enabled("enabled"in b?!!b.enabled:!0),this.fill(b.fill),this.stroke(b.stroke),this.Tr(b.hoverFill),this.Vr(b.hoverStroke),this.$h(b.autoHide))}return this};var xH=gH.prototype;xH.fill=xH.fill;xH.selectedFill=xH.Bx;xH.outlineStroke=xH.ex;xH.height=xH.height;xH.minHeight=xH.Vu;xH.maxHeight=xH.Uu;xH.thumbs=xH.Rj;xH.orientation=xH.Wu;xH.allowRangeChange=xH.Bt;xH.autoHide=xH.$h;xH=iH.prototype;xH.enabled=xH.enabled;
xH.autoHide=xH.$h;xH.fill=xH.fill;xH.stroke=xH.stroke;xH.hoverFill=xH.Tr;xH.hoverStroke=xH.Vr;function yH(){mE.call(this)}G(yH,mE);yH.prototype.Pz=function(a,b){var c=this.ia()||Hq(0,0,0,0),d=Math.round(c.pa()-a*c.height);1==a?d-=b:d+=b;var e=c.Sa()+this.ib,f=d-this.mb;this.b.moveTo(c.Sa(),d).lineTo(e,f).lineTo(c.sa()+this.ib,f)};yH.prototype.Qz=function(a,b){var c=this.ia()||Hq(0,0,0,0),d=Math.round(c.Sa()+a*c.width);1==a?d+=b:d-=b;var e=d+this.ib,f=c.pa()-this.mb;this.b.moveTo(d,c.pa()).lineTo(e,f).lineTo(e,c.Ya()-this.mb)};
yH.prototype.Nz=function(a,b,c,d,e){if(!isNaN(b)){c=this.ia()||Hq(0,0,0,0);var f,h;f=Math.round(c.pa()-b*c.height);h=Math.round(c.pa()-a*c.height);1==a?h-=e:h+=e;1==b?f-=e:f+=e;d.moveTo(c.Sa(),f).lineTo(c.Sa()+this.ib,f-this.mb).lineTo(c.sa()+this.ib,f-this.mb).lineTo(c.sa()+this.ib,h-this.mb).lineTo(c.Sa()+this.ib,h-this.mb).lineTo(c.Sa(),h).close()}};
yH.prototype.Oz=function(a,b,c,d,e){if(!isNaN(b)){c=this.ia()||Hq(0,0,0,0);var f,h;f=Math.round(c.Sa()+b*c.width);h=Math.round(c.Sa()+a*c.width);1==a?h+=e:h-=e;1==b?f+=e:f-=e;d.moveTo(f+this.ib,c.Ya()-this.mb).lineTo(h+this.ib,c.Ya()-this.mb).lineTo(h+this.ib,c.pa()-this.mb).lineTo(h,c.pa()).lineTo(f,c.pa()).lineTo(f+this.ib,c.pa()-this.mb).close()}};function zH(){JA.call(this);jb(this.Mx,"autoRotate")||this.Mx.push("autoRotate")}G(zH,JA);zH.prototype.Md=function(a){return m(a)?(a=O(a),this.gb!=a&&(this.gb=a,this.o(4,9)),this):this.gb};zH.prototype.Nd=function(a){return m(a)?(a=O(a),this.hb!=a&&(this.hb=a,this.o(4,9)),this):this.hb};function AH(a,b){return m(b)?(b=O(b),a.U!=b&&(a.U=b,a.o(4,9)),a):a.U}function BH(a,b){return m(b)?(b=null===b?b:ee(O(b)||0),a.dd!=b&&(a.dd=b,a.o(4,9)),a):a.dd}
zH.prototype.G=function(a){return m(a)?(a=null===a?a:ce(O(a)||0,-360,360),this.Y!=a&&(this.Y=a,this.o(4,9)),this):this.Y};var CH=zH.prototype,DH=dc(JA.prototype.Ak);X(DH,0,"autoRotate",mw,4,9);CH.Ak=DH;nw(zH,zH.prototype.Ak);
zH.prototype.XC=function(a,b,c,d,e,f){var h,k;c&&(h=c.width,k=c.height);var l=b.angle,n=b.radius;b=m(b.radiusY)?b.radiusY:n;var p=0,r=0,t=this.Md(),u=this.Nd(),v=this.G(),w=AH(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)?N(e,w):c?N(e,Math.min(h,k)/2):0,l+=N(d,null!=v?v:360),n+=c,b+=c;d=p+he(l,n);l=r+ie(l,b);f=Zr(new K(0,0,a.width,a.height),f);d-=f.x;l-=f.y;a.left=d;a.top=l;return a};
zH.prototype.Kj=function(a,b,c,d){var e,f,h;a instanceof EH?(h=(a.uc()?a.uc().value.angle:0)||0,e=FH(a,h),f=a.Ad("anchor"),"auto"==f&&(f=a.Ad("autoRotate")?"center":as(h)),d=m(d)?d:a.La()):(e=(m(c)&&m(c.rotation)?c.rotation:this.J("rotation"))||0,f=(m(c)&&m(c.autoRotate)?c.autoRotate:this.J("autoRotate"))||!1,h=(b?b.value.angle:0)||0,e=f?0h?e+h+270:e+h+90:e,f=m(c)&&c.anchor||this.J("anchor"));a=fB(this,a,b,c,d);b=Zr(a,f);b=Fe(fe(e),b.x,b.y);a=Fq(a)||[];b.transform(a,0,a,0,4);return a};
zH.prototype.mr=function(){return new EH};function EH(){eB.call(this)}G(EH,eB);var GH=EH.prototype,HH=dc(eB.prototype.dm);X(HH,0,"autoRotate",mw,16,9);GH.dm=HH;nw(EH,EH.prototype.dm);function FH(a,b){var c=a.Ad("rotation");return a.Ad("autoRotate")?0b?c+b+270:c+b+90:c}
EH.prototype.eA=function(a,b){var c=this.u.positionFormatter,d=YA(this.u.anchor)||"leftTop",e=this.u.offsetX||0,f=this.u.offsetY||0,h=this.mg,k=this.uc(),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.Md(),t=h.Nd(),u=h.G(),h=AH(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)?N(f,h):b?N(f,Math.min(v,w)/2):0,c=c+N(e,null!=u?u:360),k=k+f,l=l+f;e=n+he(c,k);f=p+ie(c,l);d=Zr(new K(0,0,a.width,
a.height),d);e-=d.x;f-=d.y;this.w+=e;this.G+=f;a.left=e;a.top=f;this.u.rotation=FH(this,c);this.g.x(this.w).y(this.G)};function IH(a,b,c,d){Yh.call(this);this.j=a;this.D=b||fa;this.i=m(d)?d:this;this.b=[]}G(IH,Yh);IH.prototype.clear=function(){for(var a;a=this.lb();)this.b.push(this.zp(a-1));return this};function JH(a){var b=a.b.pop();b?a.D.call(a.i,b):b=a.j.call(a.i);a.Rb(b);return b}IH.prototype.da=function(){for(var a=this.b.length;a--;)Mb(this.b[a]);this.b=null;delete this.j;delete this.D;this.i=null;IH.F.da.call(this)};function KH(){W.call(this);this.B=this.G=this.w=this.Y=this.P=null;this.Oa="vertical";this.N=this.Va=1;this.ca=Le("#e0e0e0",this.N);this.ea=Se("#d5d5d5",this.N);this.ka=Le("#d5d5d5",this.N);this.ma=Se("#656565",this.N);this.f=0;this.g=1;this.j=this.u=null;this.U=!1;this.ra=-1;this.Ma=!0;this.ta=5}G(KH,dw);g=KH.prototype;g.la=dw.prototype.la;g.oa=dw.prototype.oa|80;function LH(a){return zm===Am?Math.floor(a)+.5:Math.floor(a)}function MH(a,b){m(b)&&(b=Sn(b),b!=a.Oa&&(a.Oa=b,a.o(4,1)))}
g.dr=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments);this.ea!=f&&(this.ea=tp(f,this.N,!1),this.o(16,1));return this}return this.ea||"none"};g.Gq=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.ca!=k&&(this.ca=tp(k,this.N,!0),this.o(16,1));return this}return this.ca||"none"};g.Ts=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments);this.ma!=f&&(this.ma=tp(f,this.N,!1),this.o(16,1));return this}return this.ma||"none"};
g.Ss=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.ka!=k&&(this.ka=tp(k,this.N,!0),this.o(16,1));return this}return this.ka||"none"};g.ho=function(a){return m(a)?(a=O(a),this.Ua!=a&&(this.Ua=a,this.o(4,9)),this):this.Ua};g.uv=function(a){return m(a)?(a=O(a),this.ta!=a&&(this.ta=a,this.o(16,1)),this):this.ta};g.ti=function(a){return m(a)?(ka(a)&&(this.Ma=a),this):this.Ma};
g.Nf=function(a,b){return m(a)?(oe(this.u,a)||(this.u=a.clone(),this.j?NH(this):this.j=this.u.clone(),OH(this),this.o(64,1),PH(this,b||"api")),this):this.u};function QH(a,b){return m(b)?(oe(a.j,b)||(a.j=b.clone(),a.u?NH(a):a.u=a.j.clone(),OH(a),a.o(64,1),PH(a,"api")),a):a.j}function RH(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)),SH(a),a.o(64,1),PH(a,"api")),a):a.f}
function TH(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)),SH(a),a.o(64,1),PH(a,"api")),a):a.g}function UH(a,b){b=+b;if(!isNaN(b)){b=ce(b,0,1);var c=a.g-a.f,d=uq(ce(b+c,0,1),4),c=uq(d-c,4);if(a.f!=c||a.g!=d)a.f=c,a.g=d,SH(a),a.o(64,1),PH(a,"user_action")}}
function VH(a,b){b=+b;var c=isNaN(b)?40:b;if(a.j&&c&&(c+=WH(a)?a.j.top:a.j.left,c=+c,a.j&&!isNaN(c))){var d=WH(a);c!=(d?a.j.top:a.j.left)&&(d?a.j.top=c:a.j.left=c,NH(a),OH(a),a.o(64,1),PH(a,"user_action"))}}function XH(a,b){b=+b;var c=isNaN(b)?.05:ce(b,-1,1);c&&UH(a,a.f+c)}g.kv=function(a){return m(a)?(ka(a)&&this.U!=a&&(this.U=a,this.o(4,1)),this):this.U};g.Ww=function(a){return m(a)?(this.N!=a&&(this.N=a,YH(this,this.N)),this):this.N};g.Xw=function(a){return m(a)?(this.Va=a,this):this.Va};
function ZH(a){a.P||(a.P=Zh(),Xv(a,a.P,a.dB,a.cB,a.yL),H(a,a.P));return a.P}function YH(a,b){a.ca=tp(a.ca,b,!0);a.ea=tp(a.ea,b,!1);a.ka=tp(a.ka,b,!0);a.ma=tp(a.ma,b,!1);a.o(16,1)}g.dB=function(a){a.preventDefault();YH(this,this.Va);this.qd(a)};g.cB=function(a){a.preventDefault();YH(this,this.N);this.qd(a)};
g.yL=function(a){a.preventDefault();var b=WH(this),c=this.B.Pa(),d=this.B.Cc(),e=b?a.offsetY:a.offsetX,d=b?uq((e-d.top)/d.height,4):uq((e-d.left)/d.width,4);(b?e<=c.top:e<=c.left)?UH(this,d):(c=+d,isNaN(c)||(c=ce(c,0,1),b=this.g-this.f,c=uq(ce(c-b,0,1),4),b=uq(c+b,4),this.f==c&&this.g==b))||(this.f=c,this.g=b,SH(this),this.o(64,1),PH(this,"user_action"));this.qd(a)};function $H(a){a.Y||(a.Y=rh(),H(a,a.Y));return a.Y}
function aI(a){a.w||(a.w=new Ax,Cx(a.w,16,!1),Q(a.w,function(){a.w.$()}),Fx(a.w,function(){QH(a)?VH(a,40):XH(a,.05)}),H(a,a.w));return a.w}function bI(a){a.G||(a.G=new Ax,Cx(a.G,16,!1),Q(a.G,function(){a.G.$()}),Fx(a.G,function(){QH(a)?VH(a,-40):XH(a,-.05)}),H(a,a.G));return a.G}function cI(a){a.B||(a.B=rh(),a.B.ub(ZH(a)),Wc(a.B,"drag",a.lg,!1,a),Wc(a.B,"end",a.HJ,!1,a),Xv(a,a.B,a.dB,a.cB,null,null,null,a.UO),H(a,a.B));return a.B}g.UO=function(a){a.preventDefault();this.qd(a)};
g.lg=function(){dI(this,!0)};g.HJ=function(){dI(this,!1)};function dI(a,b){var c=WH(a),d=a.B.Cc(),e=a.B.Pa(),f=!!b,h=c?d.top:d.left,d=c?d.height:d.width,k=c?e.top:e.left,l=k+(c?e.height:e.width);10>=(c?e.height:e.width)?(c=a.g-a.f,a.f=(k-h)*(1-c)/(d-10),a.g=Math.min(a.f+c,1)):(a.f=uq((k-h)/d,5),a.g=uq((l-h)/d,5));SH(a);f||a.o(64,1);PH(a)}
function SH(a){if(a.u&&a.j){var b;if(WH(a)){b=a.u.height;var c=uq((a.g-a.f)*b,1);a.j.top=uq(a.f*b,1)+a.u.top;a.j.height=c}else b=a.u.width,c=uq((a.g-a.f)*b,1),a.j.left=uq(a.f*b,1)+a.u.left,a.j.width=c}}function OH(a){if(a.u&&a.j){var b=WH(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=uq(c/b,4);a.g=uq(d/b,4)}}
function NH(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=uq(a.height/3,1):e=uq(a.width/3,1));h=d?a.left:a.left+a.width-e;d=d?a.top+a.height-f:a.top;this.w.ia(a);this.w.position({x:h,y:d}).width(e).height(f).$();this.G.ia(a);this.G.position({x:k,y:l}).width(e).height(f).$();this.w.ga(!1);this.G.ga(!1)}this.o(80);this.K(4)}S(this,16)&&(a=Math.min(this.ta,Math.min(this.b.width,this.b.height)/2),this.Y.fill(this.ca).stroke(this.ea).round(a),
this.B.fill(this.ka).stroke(this.ma).round(a),this.K(16));S(this,64)&&(0>=this.f&&1<=this.g||this.f==this.g?ZH(this).visible(!1):(ZH(this).visible(!0),a=WH(this),e=this.b,this.Y.de(e),this.U?(l=this.w.width(),d=this.w.height(),f=a?e.left:e.left+l+1,k=a?e.top+d+1:e.top,l=a?e.width:e.width-2*(l+1),d=a?e.height-2*(d+1):e.height,f=new K(f,k,l,d)):f=e.clone(),l=a?f.height:f.width,k=d=uq(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:uq(f.left+d,1),d=a?uq(f.top+
d,1):e.top):(l=a?e.left:uq(f.left+this.f*f.width,1),d=a?uq(f.top+this.f*f.height,1):e.top),h=a?e.width:k,a=a?k:e.height,this.B.Ms(LH(l)).Ns(LH(d)).cp(Math.round(h)).ap(Math.round(a)).Cc(f),this.B.Xa(1,0,0,1,0,0)),this.K(64));S(this,8)&&(ZH(this).zIndex(this.zIndex()),this.K(8));c&&b.qc()}return this};function WH(a){return"horizontal"!=a.Oa.toLowerCase()}g.remove=function(){this.P&&this.P.parent(null)};
function PH(a,b){if(a.Ma){0<=a.ra&&(clearTimeout(a.ra),a.ra=-1);var c=new eI(a);c.startRatio=a.f;c.endRatio=a.g;c.visibleBounds=a.j;c.source=b||"user_action";a.ra=setTimeout(function(){a.dispatchEvent(c);a.ra=-1},0)}}
g.I=function(){var a=KH.F.I.call(this);E(this.dr())?M(8,null,["ScrollBar background stroke"]):a.backgroundStroke=pp(this.dr());E(this.Gq())?M(8,null,["ScrollBar background fill"]):a.backgroundFill=pp(this.Gq());E(this.Ss())?M(8,null,["ScrollBar slider fill"]):a.sliderFill=pp(this.Ss());E(this.Ts())?M(8,null,["ScrollBar slider stroke"]):a.sliderStroke=pp(this.Ts());a.mouseOverOpacity=this.Xw();a.mouseOutOpacity=this.Ww();a.buttonsVisible=this.kv();a.barSize=this.ho();a.cornersRadius=this.uv();return a};
g.aa=function(a,b){KH.F.aa.call(this,a,b);this.Gq(a.backgroundFill);this.dr(a.backgroundStroke);this.Ss(a.sliderFill);this.Ts(a.sliderStroke);this.Xw(a.mouseOverOpacity);this.Ww(a.mouseOutOpacity);this.kv(a.buttonsVisible);this.ho(a.barSize);this.uv(a.cornersRadius)};function eI(a){Ob.call(this,"scrollchange",a)}G(eI,Ob);eI.prototype.startRatio=0;eI.prototype.endRatio=0;eI.prototype.visibleBounds=null;eI.prototype.source="";var fI=KH.prototype;fI.barSize=fI.ho;fI.backgroundStroke=fI.dr;
fI.backgroundFill=fI.Gq;fI.sliderStroke=fI.Ts;fI.sliderFill=fI.Ss;fI.mouseOutOpacity=fI.Ww;fI.mouseOverOpacity=fI.Xw;fI.cornersRadius=fI.uv;fI.buttonsVisible=fI.kv;function gI(){kd.call(this);this.G=this.N=this.w=this.B=this.ea=this.ka=this.g=this.D=this.j=this.u=this.f=this.i=NaN;this.va=this.P=.01;this.Y=NaN;this.b=!1;this.ca=this.U=NaN}G(gI,Dv);gI.prototype.la=4;function hI(a){return function(b){return lz(b,a)}}
var iI=[144E5,2592E5,26784E5,31536E6,31536E7],jI=[{Qe:"day",count:1},{Qe:"week",count:1},{Qe:"month",count:1},{Qe:"year",count:1},{Qe:"year",count:10}],kI=[{Qe:"hour",count:1},{Qe:"day",count:1},{Qe:"week",count:1},{Qe:"quarter",count:1},{Qe:"year",count:1}],lI=[{Qe:"minute",count:10},{Qe:"hour",count:2},{Qe:"day",count:1},{Qe:"month",count:1},{Qe:"quarter",count:1}];g=gI.prototype;g.ad=function(){return isNaN(this.i)&&isNaN(this.f)&&isNaN(this.D)&&isNaN(this.g)};
g.reset=function(){this.g=this.D=this.j=this.u=this.f=this.i=NaN;this.b=!1};function mI(a){var b=new Date;isNaN(a.U)&&(a.U=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()));isNaN(a.ca)&&(a.ca=a.U+864E5);return{min:a.U,max:a.ca}}function nI(a,b,c){b=Yr(b);c=Yr(c);a.i==b&&a.f==c||isNaN(c)||isNaN(b)||(a.i=b,a.f=c,a.b=!1,oI(a),a.fa(4));return a}function pI(a){oI(a);return a.ad()?mI(a):{min:a.i,max:a.f}}
function qI(a){var b;isNaN(a.u)&&(isNaN(a.B)?isNaN(a.N)?(b=(isNaN(a.w)?isNaN(a.G)?a.g:Math.max(a.g,a.G):a.w)-a.D,b*=a.P,a.u=a.D-b):a.u=Math.min(a.N,a.D):a.u=a.B);isNaN(a.j)&&(isNaN(a.w)?isNaN(a.G)?(b=a.g-(isNaN(a.B)?isNaN(a.N)?a.D:Math.min(a.D,a.N):a.B),b*=a.va,a.j=a.g+b):a.j=Math.max(a.G,a.g):a.j=a.w);return a.ad()?mI(a):{min:a.u,max:a.j}}
function oI(a){if(!a.b&&!a.ad()){a.b=!0;var b=qI(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.Wv=function(){if(!this.ad()){var a=qI(this);return nI(this,a.min,a.max)}return this};g.TA=function(a){m(a)&&(a=Yr(a),this.B!=a&&(this.B=a,this.u=NaN,this.b=!1,this.fa(4)));return this.B};
g.SA=function(a){m(a)&&(a=Yr(a),this.w!=a&&(this.w=a,this.j=NaN,this.b=!1,this.fa(4)));return this.w};g.VA=function(a){m(a)&&(a=Yr(a),this.N!=a&&(this.N=a,this.u=NaN,this.b=!1,this.fa(4)));return this.N};g.UA=function(a){m(a)&&(a=Yr(a),this.G!=a&&(this.G=a,this.j=NaN,this.b=!1,this.fa(4)));return this.G};g.Uq=function(a){return m(a)?(a=+a||0,this.P!=a&&(this.P=a,this.u=NaN,this.b=!1,this.fa(4)),this):this.P};
g.Tq=function(a){return m(a)?(a=+a||0,this.va!=a&&(this.va=a,this.j=NaN,this.b=!1,this.fa(4)),this):this.va};g.jw=function(a,b){var c=Yr(a)+6E4*gz(),d=pI(this),e=d.min,d=d.max;if(b.j||b.D){if(c<=e)return rI(this,a,b);if(c>e&&c=d)return rI(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),rI(this,c,b);return[]};
function rI(a,b,c,d,e){b=new $q(hz(b));var f=pI(a);a=f.min;var f=f.max,h=[],k=!1,l=!1,n;if(d)for(c=c.u(-1);!k||!l;)d=Yr(b),n=b.clone(),n.add(c),b=Yr(n),k?kb(h,d,0):b=Math.abs(a-b)&&(b=(this.i+this.f)/2,a=b-3E4,b+=3E4);nI(this,a,b)}return this};
g.gy=function(a){var b;this.ad()?b=!0:(b=qI(this),b=this.i<=b.min);(b=!b)||(this.ad()?b=!0:(b=qI(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,qI(this),athis.j){if(athis.j)return nI(this,this.u,this.j),this;athis.j&&nI(this,a-(b-this.j),this.j)}else nI(this,a,b);return this};
g.Ef=function(a,b,c){var d;oI(this);if(B(a)){if(0===b)return this;a=hs(no(a,"day"),b||1);switch(lo(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 $q(hz(d));b=Yr(c);c.add(a);a=Yr(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=qI(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 FI(a,b){var c=wb(a.b,b);return 0<=c?c:~c}g.data=function(a){return m(a)?(this.B!=a&&(a instanceof QG||a instanceof KG)&&(this.B&&Ev(this.B,this.Iz,this),this.B=a,Q(this.B,this.Iz,this),this.ea=this.B.Bo(),this.ea.sF(this.KI),this.va&&this.va.scale().reset(),this.o(64,2)),this):this.B};
g.Ye=function(a){return m(a)?(this.w!=a&&(this.w=a,this.o(256,2)),this):this.w};g.ud=function(a){return m(a)?(isNaN(a)||(this.f=a,this.w=0,this.g=NaN,this.o(256,2)),this):this.f};function GI(a,b){return m(b)?(isNaN(b)||(a.g=b,a.f=NaN,a.o(256,2)),a):a.g}function HI(a,b){return m(b)?(a.j!=b&&(a.j=b,a.o(256,2)),a):a.j}function II(a,b){return m(b)?(a.ra!=b&&(a.ra=b,a.o(128,2)),a):a.ra}g.WL=function(a){return m(a)?(this.ca!=a&&(this.ca=a,this.o(256,2)),this):this.ca};
function JI(a){a.N||(a.N=new KH,MH(a.N,"vertical"),a.N.qa("scrollchange",function(b){var c=b.startRatio;b=b.endRatio;var d=a.b[a.b.length-1];J(a);c?1==b?GI(a,a.b.length):(b=Math.round(c*d),c=FI(a,b),b-=c?a.b[c-1]:0,a.ud(c).Ye(b)):a.ud(0).Ye(0);a.ga(!0)}));return a.N}function KI(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)GI(a,a.b.length-1);else{var c=FI(a,b),d=b-(c?a.b[c-1]:0);a.ud(c).Ye(d)}a.ga(!0)}}
g.I=function(){var a=wI.F.I.call(this);a.isResourceChart=this.D;a.treeData=this.data().I();a.verticalOffset=this.Ye();isNaN(this.ud())?isNaN(GI(this))||(a.endIndex=GI(this)):a.startIndex=this.ud();return a};g.aa=function(a,b){wI.F.aa.call(this,a,b);this.D=a.isResourceChart;"treeData"in a&&this.data(RG(a.treeData));this.Ye(a.verticalOffset);"startIndex"in a?this.ud(a.startIndex):"endIndex"in a&&GI(this,a.endIndex)};function LI(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(LI,kd);
LI.prototype.handleEvent=function(a){var b=0,c=0,d=a.ff;"mousewheel"==d.type?(a=MI(-d.wheelDelta),m(d.wheelDeltaX)?(b=MI(-d.wheelDeltaX),c=MI(-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 NI(a,d,b,c);this.dispatchEvent(b)};function MI(a){return qc&&(rc||tc)&&a%40?a:a/40}LI.prototype.da=function(){LI.F.da.call(this);ed(this.i);this.i=null};
function NI(a,b,c,d){Fc.call(this,b);this.type="mousewheel";this.detail=a;this.B=c;this.deltaY=d}G(NI,Fc);function OI(a,b){W.call(this);this.w=this.lk=null;this.j=this;this.xb=!0;this.f=null;a&&a instanceof wI?(this.f=a,this.xb=!1):PI(this,b);this.b=null;this.ib=1;this.Ki=this.kh=this.hk=this.lh=this.Ph=this.ih=this.hh=this.ik=this.Gf=this.ca=this.Qh=this.mf=null;this.vb=45;this.pB=this.Va=0;this.nf=this.di=this.kf=this.lf=null;this.ob=[];this.pc=-1;this.Oa=null;this.ai=this.ii=0;this.B=this.tc=!1;this.G=null;this.altKey=!1;this.Ma=null;this.Xb=this.Db=0;this.Y=!0;this.bb=!1;this.N=this.mb=null;this.iv=
!1;Yv(this,this,this.mD,this.kJ,this.jJ,this.mD,this.UM)}G(OI,dw);g=OI.prototype;g.oa=dw.prototype.oa|208;function QI(a){var b=a.R("actualStart");a=a.R("actualEnd");return m(b)&&(!isNaN(b)&&!m(a)||b==a)}
function RI(a,b,c,d){a.mb||(a.mb=new nz);var e=a.f.D,f={item:{value:b,type:""},name:{value:b.get("name"),type:"string"},id:{value:b.get("id"),type:"string"}};e?(f.minPeriodDate={value:b.R("minPeriodDate"),type:"datetime"},f.maxPeriodDate={value:b.R("maxPeriodDate"),type:"datetime"},f.period={value:c,type:""},f.periodIndex={value:null!=d&&0a||a>h)return null;d=wb(this.ob,a);var h=(this.pc=d=0<=d?d:~d)?this.ob[d-1]:0,f=f+h,k=f+(this.ob[d]-h-this.ib);e.item=b[c+d];e.startY=f;e.endY=k;e.hoveredIndex=this.pc;e.index=c+d;e.itemHeightMouseRatio=(a-h)/(this.ob[d]-h)}return e}return null};g.Qv=function(a){return m(a)?(this.bb!=a&&(this.bb=a,this.o(128,1)),this):this.bb};
function TI(a){a.ca||(a.ca=Zh(),Xv(a,a.ca,null,null,null,null,a.lD),H(a,a.ca));return a.ca}function UI(a){a.hh||(a.hh=Zh(),a.hh.zIndex(30),H(a,a.hh));return a.hh}function VI(a){a.lh||(a.lh=Zh(),a.lh.zIndex(35),H(a,a.lh));return a.lh}function WI(a){a.ih||(a.ih=Zh(),a.ih.zIndex(40),H(a,a.ih));return a.ih}function XI(a){a.Ph||(a.Ph=Zh(),a.Ph.zIndex(45),H(a,a.Ph));return a.Ph}function YI(a){a.kh||(a.kh=Zh(),a.kh.zIndex(50),H(a,a.kh));return a.kh}
function ZI(a){a.Ki||(a.Ki=Zh(),a.Ki.zIndex(60),H(a,a.Ki));return a.Ki}function $I(a){a.lf||(a.lf=UI(a).Ba(),a.lf.stroke(null).zIndex(1),H(a,a.lf));return a.lf}function aJ(a){a.kf||(a.kf=UI(a).Ba(),a.kf.stroke(null).zIndex(1),H(a,a.kf));return a.kf}function bJ(a){a.di||(a.di=UI(a).Ba(),a.di.stroke(null).fill(a.jh).zIndex(2),H(a,a.di));return a.di}function cJ(a){a.nf||(a.nf=UI(a).Ba(),a.nf.stroke(null).fill(a.Ii).zIndex(3),H(a,a.nf));return a.nf}
function dJ(a){a.mf||(a.mf=UI(a).Ba(),a.mf.stroke(a.Ab).zIndex(4),H(a,a.mf));return a.mf}function eJ(a){a.hk||(a.hk=XI(a).Ba(),H(a,a.hk));return a.hk}function fJ(a){a.Qh||(a.Qh=UI(a).Ba(),a.Qh.zIndex(40),H(a,a.Qh));return a.Qh}g.Bs=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.Fi!=k&&(this.Fi=k,this.Di=this.Gi=null,this.o(16,1));return this}return this.Fi};g.vu=function(a,b,c,d,e,f,h){M(405,null,["cellFill()","rowFill()"]);return this.Bs(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.Gi!=k&&(this.Gi=k,this.o(16,1));return this}return this.Gi};g.ov=function(a,b,c,d,e,f,h){M(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.Di!=k&&(this.Di=k,this.o(16,1));return this}return this.Di};g.nv=function(a,b,c,d,e,f,h){M(405,null,["cellEvenFill()","rowEvenFill()"]);return this.oq(a,b,c,d,e,f,h)};
g.sx=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.jh!=k&&(this.jh=k);return this}return this.jh};g.vx=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.Zl=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.Ff!=k&&(this.Ff=k,this.o(16,1));return this}return this.Ff};g.Ov=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.gk!=k&&(this.gk=k,this.o(16,1));return this}return this.gk};
g.Pv=function(a){if(m(a)){var b=Se.apply(null,arguments);this.Oh!=b&&(this.Oh=b,this.o(16,1));return this}return this.Oh};g.Nv=function(a){if(m(a)){var b=Se.apply(null,arguments);this.fk!=b&&(this.fk=b,this.o(16,1));return this}return this.fk};g.hC=function(a){a.b instanceof dh&&!this.w&&(this.w=new gJ(this.ca,this),H(this,this.w),this.w.qa("drag",this.lg,!1,this),this.w.qa("end",this.hJ,!1,this),this.w.Df(a.pf))};
g.lg=function(a){this.B=!0;if(this.bb&&(this.Y=!1,SI(this.j),this.qb().dc(),a=this.Gh(a))){var b=a.item,c=a.itemHeightMouseRatio,d=a.startY,e=a.endY;this.G&&b&&b!=this.G&&!TG(b,this.G)?.2>c||.8c?d:e,void 0,"auto"):QI(b)?hJ(this.j,void 0,void 0,"not-allowed"):hJ(this.j,d,e,"auto"):hJ(this.j,void 0,void 0,"not-allowed");this.FH(a)}this.qb().dc();this.iv=!0};
g.hJ=function(a){if(this.bb){a=this.Gh(a);this.GH(a);if(a){var b=a.item,c=a.hoveredIndex,c=this.f.ud()+c,d=this.f.i;a=a.itemHeightMouseRatio;this.G&&b&&b!=this.G&&!QI(b)&&!TG(b,this.G)&&(.2>a||.8a?a=d[c-1]:(a=b,b=d[c+1]),a&&b?(c=a.R("depth"),d=b.R("depth"),c==d?(c=b.getParent()||b.eh(),a=c.xc(b),b=this.G.getParent()||this.G.eh(),b==c&&b.xc(this.G)c,d=RH(k),k=TH(k),l=d||1!=k?0k||!d&&!l&&1!=k||1==k&&l&&0!=d:!1);e&&(e=0>b,n=RH(h),h=TH(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){U(a,2)&&this.fa(1)};
g.lJ=function(){this.qb().$()};g.tu=fa;g.uu=fa;g.$l=function(a){return m(a)?(xI(this.f,a),this):xI(this.f)};function PI(a,b){a.f=new wI(b);H(a,a.f);Q(a.f,a.FN,a)}
function jJ(a,b){b&&a.o(64);if(a.wb()){var c=a.O(),d=c?c.ja():null,e=d&&!d.ac();e&&d.vc();var f,h;TI(a).lb()||(a.Gf=a.ca.rect(),H(a,a.Gf),a.Gf.fill(a.Ff).stroke(null).zIndex(10),a.ik=a.ca.rect(),H(a,a.ik),a.ik.fill(hp).stroke(null).zIndex(20),a.ca.Rb(UI(a)).Rb(VI(a)).Rb(WI(a)).Rb(XI(a)).Rb(YI(a)).Rb(ZI(a)),a.xb&&(f=JI(a.f),Q(f.O(ZI(a)),function(a){U(a,8)?this.o(4,1):f.$()},a),H(a,f)),h=a.Jh(),Q(h.O(ZI(a)),function(a){U(a,1)&&h.$()},h),H(a,h),a.ca.oc("mousedown",a.hC,!1,a),a.ca.oc("touchstart",a.hC,
!1,a),a.tD());S(a,2)&&(a.ca.parent(c),a.K(2));S(a,4)&&(a.b=a.Na(),a.ca.clip(a.b),a.Gf.de(a.b),a.ik.de(a.b),a.Va=a.b.width,c=a.b.top+a.vb+.5,fJ(a).clear().moveTo(a.b.left,c).lineTo(a.b.left+a.Va,c),a.xb&&(f=JI(a.f),c=f.ho(),f.za(a.b.left+a.b.width-c-1,a.b.top+a.Ge()+c+1,c,a.b.height-a.Ge()-2*c-2)),h=a.Jh(),c=h.ho(),h.za(a.b.left+c,a.b.top+a.b.height-c-1,a.b.width-2*c,c),a.tc=!0,a.uu(),a.K(4));S(a,64)&&(a.qb().dc(),a.tc=!0,a.$D(),a.K(64));if(S(a,16)){a.Gf.fill(a.Ff);$I(a).fill(a.Gi||a.Fi);aJ(a).fill(a.Di||
a.Fi);cJ(a).fill(a.Ii);var k;B(a.Ab)?k=a.Ab:z(a.Ab)&&a.Ab.color&&(k=a.Ab.color);k&&fJ(a).stroke(k);dJ(a).stroke(a.Ab);eJ(a).fill(a.gk).stroke(a.Oh);a.tu();a.K(16)}S(a,8)&&(TI(a).zIndex(a.zIndex()),a.K(8));S(a,128)&&(a.tc=!0,a.K(128));a.Px();a.tc&&(iJ(a),a.ZD(),a.tc=!1);e&&d.qc();a.xb&&(kJ(a),lJ(a))}}g.tD=fa;
function SI(a,b,c,d){var e=!1,f=!1;if(m(b)&&m(c)&&m(d)){if(a.ii!=c||a.ai!=d)a.pc=b,a.ii=c,a.ai=d,e=0<=a.pc}else 0<=a.pc&&(a.pc=-1,a.ii=NaN,a.ai=NaN),f=!0;e?bJ(a).clear().fill(a.jh).moveTo(a.b.left,a.ii).lineTo(a.b.left+a.b.width,a.ii).lineTo(a.b.left+a.b.width,a.ai).lineTo(a.b.left,a.ai).close():f&&bJ(a).clear()}
function hJ(a,b,c,d){var e=eJ(a);m(b)?m(c)?e.clear().moveTo(a.b.left,b).lineTo(a.b.left+a.Va,b).lineTo(a.b.left+a.Va,c).lineTo(a.b.left,c).close().stroke(a.Oh):e.clear().moveTo(a.b.left,b).lineTo(a.b.left+a.Va,b).stroke(a.fk):e.clear();m(d)&&Ag(da.document.body,"cursor",d)}function kJ(a){if(!a.lk){var b=TI(a).X();b&&(a.lk=new LI(b),Wc(a.lk,"mousewheel",a.ND,!1,a),Wc(window,"unload",function(){dd(a.lk,"mousewheel",a.ND,!1,this)}));Wc(document,"mousemove",a.gC,!1,a)}}
g.gC=function(a){var b=this.O();if(b){var c=um(b.ja()),b=this.b.top+c.y+this.vb+10,d=c.y+this.b.height-10-10,c=c.x+this.b.left+10,e=c+this.b.width-10-10,f=a.clientX,h=a.clientY;this.Xb=this.Db=0;if(fe)this.Db=f-c;if(hd)this.Xb=h-b;var k=this;this.B&&!this.Ma&&(this.Ma=setInterval(function(){k.Vw(a)},100))}};
function lJ(a){a.j.kn||(a.j.kn=new mJ(a.j,document),H(a,a.j.kn),Wc(a.j.kn,"key",function(a){18==a.keyCode&&(this.altKey=!0);(46==a.keyCode||a.metaKey&&8==a.keyCode)&&this.aC(a)},!1,a.j))}g.aC=function(){};g.$D=fa;g.ZD=fa;g.remove=function(){this.ca&&this.ca.parent(null)};g.Cs=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments),h=ms(f);if(this.Ab!=f||h!=this.ib)this.Ab=f,this.ib=h,this.xb||II(this.f,h),this.o(80,1);return this}return this.Ab||"none"};g.Px=fa;
g.Ds=function(a){this.Oa&&this.f.data()&&(J(this.f.data()),this.Oa.R("selected",!1),this.Oa=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&&a instanceof QG&&this.f.data(a),this):b};
g.$=function(){this.b&&!this.b.height&&this.b.height||(this.b=this.Na());var a=II(HI(this.f,this.b.height-this.vb-1),this.ib);if(!Fv(a)){if(S(a,64)){a.ta=0;a.u=NaN;a.G=NaN;J(a.B);for(var b=0,c=a.B.lb();b=b?(a.f=0,a.w=0,a.g=a.i.length-1):(isNaN(a.f)&&isNaN(a.g)&&(a.f=0),isNaN(a.f)?(b=EI(a,0,a.g),ba.ma.length){var e=new pJ;H(a,e);e.stroke(a.ea);e.O(YI(a));Q(e,function(){e.$()},e);e.qa("splitterchange",qa(a.VO,a,b-1));e.qa("dblclick",qa(a.WO,a,b-1));a.ma.push(e)}}
g.uB=function(a,b){var c,d,e=!1;c=O(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var f=this.g[c];f||(f=new BJ(this),f.W(this.UB()),Q(f,this.NL,this),H(this,f),e=!0);if(m(d))return f.W(d instanceof BJ?d.I():d),f.enabled()&&f.O(WI(this)),this.g[c]=f,AJ(this),this.o(528,1),this;e&&(d=c?1==c?170:90:90,e=c?1==c?"Name":"Column #"+c:"#",J(f),f.O(WI(this)).width(d).height("100%"),f.title().text(e),f.ga(!0),this.g[c]=f,AJ(this),this.o(528,1));return f};
g.VO=function(a,b){var c=b.target;c.b||(c.b=c.Na());this.Hr(this.EO,this,a,(new K(uq(c.b.left,1),uq(c.b.top,1),uq(Math.min(c.B,c.b.width-c.w),1),uq(c.b.height,1))).width+20)};g.WO=function(a,b){this.Hr(this.XL,this,a,b)};g.EO=function(a,b,c,d){c==b&&a.width(d)};
g.XL=function(a,b,c,d){c==b&&(b=a.title(),c=b.height(),d.offsetY-this.b.topthis.Va&&(this.U=0);this.U=ce(this.U,0,Math.abs(this.b.width-this.Va));c=-this.U;f=0;for(h=e.length;fd&&(d=iI.length-1);e=uI(a,jI[d]);f=uI(a,kI[d],jI[d]);a=uI(a,lI[d],kI[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().$()}S(this,8)&&this.K(8);e&&d.qc()}return this};g.remove=function(){SJ(this).parent(null)};
g.I=function(){var a=QJ.F.I.call(this);a.tileFill=pp(this.w);a.tilesSeparationStroke=pp(this.g);a.labels=this.labels().I();return a};g.aa=function(a,b){QJ.F.aa.call(this,a);this.hF(a.tileFill);this.iF(a.tilesSeparationStroke);this.labels().$a(!!b,a.labels)};var TJ=PJ.prototype;TJ.backgroundFill=TJ.Kz;TJ.levelsSeparationStroke=TJ.DD;TJ.topLevel=TJ.pp;TJ.midLevel=TJ.Uo;TJ.lowLevel=TJ.Qo;TJ=QJ.prototype;TJ.tileFill=TJ.hF;TJ.labels=TJ.labels;TJ.tilesSeparationStroke=TJ.iF;function UJ(a,b){OI.call(this,a,b);this.Jd=this.ea=this.ka=this.ra=this.ma=this.Gb=this.U=this.vd=this.Oc=this.Nc=null;this.Ni=void 0;this.P=null;this.jk=void 0;this.kk=NaN;this.Ai=this.Ed=!1;this.ke=this.$e=this.Ze=this.ye=this.Re=this.ze=null;this.ln=this.nn=this.hc=!1;this.Ua=this.ec=null;this.Ui=[];this.Ri=0;this.mi=[];this.zi=[];this.fd=[];this.ji=null;this.g=new gI;Q(this.g,this.hK,this);H(this,this.g);var c=this.f;m(this)&&c.va!=this&&(c.va=this,c.o(256,2))}G(UJ,OI);g=UJ.prototype;
g.oa=OI.prototype.oa|512;g.hK=function(a){U(a,4)&&this.o(512,1)};g.Fm=function(a){this.ta||(this.ta=new PJ,this.ta.scale(this.g),this.ta.zIndex(80),H(this,this.ta),Q(this.ta,this.dN,this));return m(a)?(this.ta.W(a),this):this.ta};g.dN=function(a){U(a,1)&&this.o(512,1)};g.wB=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments);this.Td!=f&&(this.Td=f,this.o(16,1));return this}return this.Td||"none"};
g.CC=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.ak!=k&&(this.ak=k,this.o(16,1));return this}return this.ak||"none"};g.DC=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments);this.bk!=f&&(this.bk=f,this.o(16,1));return this}return this.bk||"none"};g.EC=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.dk!=k&&(this.dk=k,this.o(16,1));return this}return this.dk||"none"};
g.FC=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments);this.ek!=f&&(this.ek=f,this.o(16,1));return this}return this.ek||"none"};g.zC=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.oh!=k&&(this.oh=k,this.o(16,1));return this}return this.oh||"none"};g.AC=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments);this.ph!=f&&(this.ph=f,this.o(16,1));return this}return this.ph||"none"};
g.tC=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.mh!=k&&(this.mh=k,this.o(16,1));return this}return this.mh||"none"};g.uC=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments);this.nh!=f&&(this.nh=f,this.o(16,1));return this}return this.nh||"none"};g.bB=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.Uj!=k&&(this.Uj=k,this.o(128,1));return this}return this.Uj||"none"};
g.eB=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments);this.Vj!=f&&(this.Vj=f,this.o(128,1));return this}return this.Vj||"none"};g.gB=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.Xj!=k&&(this.Xj=k,this.o(128,1));return this}return this.Xj||"none"};g.hB=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.vi!=k&&(this.vi=k,this.o(128,1));return this}return this.vi||"none"};
g.LD=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments);this.yi!=f&&(this.yi=f,this.o(128,1));return this}return this.yi||"none"};g.WD=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.mk!=k&&(this.mk=k,this.o(128,1));return this}return this.mk||"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.vB=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.xB=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments);this.$j!=f&&(this.$j=f,this.o(64,1));return this}return this.$j||"none"};g.BE=function(a,b,c,d,e,f,h){if(m(a)){var k=Le.apply(null,arguments);this.Wc!=k&&(this.Wc=k,this.o(128,1));return this}return this.Wc||"none"};
g.CE=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments);this.ed!=f&&(this.ed=f,this.o(128,1));return this}return this.ed||"none"};g.LO=function(a,b,c,d,e){if(m(a)){var f=Se.apply(null,arguments);this.Li!=f&&(this.Li=f,this.o(128,1));return this}return this.Li||"none"};g.wA=function(a){if(m(a)){var b=Se.apply(null,arguments),c=ms(this.md),d=ms(b);if(this.md!=b||d!=c)this.md=b,this.o(16,1);return this}return this.md};g.WB=function(a){return m(a)?(this.dM=a,this):this.dM||{}};
g.YB=function(a){return m(a)?(this.tM=a,this):this.tM||{}};g.ZB=function(a){return m(a)?(this.AM=a,this):this.AM||{}};g.ED=function(a,b){var c,d;c=O(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.mi[c];e||(e=new JJ(this.g),e.W(this.WB()),this.mi[c]=e,H(this,e),Q(e,this.ax,this),this.o(512,1));return m(d)?(e.W(d),this):e};
g.jE=function(a,b){var c,d;c=O(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.zi[c];e||(e=new LJ(this.g),e.W(this.YB()),this.zi[c]=e,H(this,e),Q(e,this.ax,this),this.o(512,1));return m(d)?(e.W(d),this):e};g.eF=function(a,b){var c,d;c=O(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.fd[c];e||(e=new NJ(this.g),e.W(this.ZB()),this.fd[c]=e,H(this,e),Q(e,this.ax,this),this.o(512,1));return m(d)?(e.W(d),this):e};g.ax=function(){this.o(512,1)};
g.yA=function(a){M(405,null,["minimumGap()","scale().minimumGap()"]);return m(a)?(this.g.Uq(a),this):this.g.Uq()};g.xA=function(a){M(405,null,["maximumGap()","scale().maximumGap()"]);return m(a)?(this.g.Tq(a),this):this.g.Tq()};g.labels=function(a){this.Nc||(this.Nc=new JA,this.Nc.ub(this));if(m(a)){var b=!0;a instanceof JA?this.Nc.W(a.I()):z(a)?this.Nc.W(a):ls(a)?this.Nc.enabled(!1):b=!1;b&&this.o(64,1);return this}return this.Nc};
g.Sh=function(a){this.Oc||(this.Oc=new KA,this.Oc.ub(this));if(m(a)){var b=!0;a instanceof KA?this.Oc.W(a.I()):z(a)?this.Oc.W(a):ls(a)?this.Oc.enabled(!1):b=!1;b&&this.o(64,1);return this}return this.Oc};g.fB=function(a){return m(a)&&this.Ed!=a?(this.Ed=a,this.o(64,1),this):this.Ed};function VJ(a){a.vd||(a.vd=YI(a).Ba(),a.vd.zIndex(6),a.vd.stroke(a.md),H(a,a.vd));return a.vd}
function WJ(a){a.U||(a.U=new XJ(XI(a)),a.U.zIndex(0).cursor("ew-resize"),a.D.qa(a.U,"mousedown",function(a){a.stopPropagation()}),a.U.oc("mousedown",a.hM,!1,a),H(a,a.U));return a.U}function YJ(a){a.Gb||(a.Gb=new XJ(XI(a)),a.Gb.zIndex(10),a.D.qa(a.Gb,"mousedown",function(a){a.stopPropagation()}),a.Gb.oc("mousedown",a.mM,!1,a),H(a,a.Gb));return a.Gb}
function ZJ(a){a.ma||(a.ma=new XJ(XI(a)),a.ma.zIndex(20).cursor("col-resize"),a.ma.b=WJ(a),a.D.qa(a.ma,"mousedown",function(a){a.stopPropagation()}),a.ma.oc("mousedown",a.fM,!1,a),H(a,a.ma));return a.ma}function $J(a){a.ra||(a.ra=new XJ(XI(a)),a.ra.zIndex(30).cursor("col-resize"),a.ra.b=WJ(a),a.D.qa(a.ra,"mousedown",function(a){a.stopPropagation()}),a.ra.oc("mousedown",a.pM,!1,a),H(a,a.ra));return a.ra}
function aK(a){a.ka||(a.ka=new XJ(XI(a)),a.ka.zIndex(40).cursor("move"),a.D.qa(a.ka,"mousedown",function(a){a.stopPropagation()}),a.ka.oc("mousedown",a.rM,!1,a),H(a,a.ka));return a.ka}function bK(a){a.ea||(a.ea=new XJ(XI(a)),a.ea.zIndex(50).cursor("move"),a.D.qa(a.ea,"mousedown",function(a){a.stopPropagation()}),a.ea.oc("mousedown",a.eM,!1,a),H(a,a.ea));return a.ea}g.IC=function(a){return m(a)?(this.hn=a,this):this.hn};g.HC=function(a){return m(a)?(this.un=a,this):this.un};
g.GC=function(a){return m(a)?(this.tn=a,this):this.tn};g.JC=function(a){return m(a)?(this.xp=a,this):this.xp};g.xC=function(a){return m(a)?(this.rn=a,this):this.rn};g.wC=function(a){return m(a)?(this.qn=a,this):this.qn};g.vC=function(a){return m(a)?(this.pn=a,this):this.pn};g.yC=function(a){return m(a)?(this.sn=a,this):this.sn};g.BC=function(a){return m(a)?(this.me=a,this):this.me};function cK(a){a.Jd||(a.Jd=XI(a).Ba(),a.Jd.stroke(a.Td).zIndex(60),H(a,a.Jd));return a.Jd}
function dK(a,b){WJ(a).ad()||WJ(a).clear().Xa(1,0,0,1,0,0);YJ(a).ad()||YJ(a).clear().Xa(1,0,0,1,0,0);$J(a).ad()||$J(a).clear().Xa(1,0,0,1,0,0);ZJ(a).ad()||ZJ(a).clear().Xa(1,0,0,1,0,0);bK(a).ad()||bK(a).clear().Xa(1,0,0,1,0,0);aK(a).ad()||aK(a).clear().Xa(1,0,0,1,0,0);cK(a).ad()||cK(a).clear();b||(a.qb().enabled(a.Ec),a.Ec=void 0)}g.hM=function(a){this.ze=new eK(WJ(this));H(this,this.ze);this.ze.qa("start",this.iM,!1,this);this.ze.qa("drag",this.jM,!1,this);this.ze.qa("end",this.kM,!1,this);this.ze.Df(a.pf)};
g.mM=function(a){this.Re=new fK(YJ(this));H(this,this.Re);this.Re.qa("start",this.nM,!1,this);this.Re.qa("drag",this.oM,!1,this);this.Re.qa("end",this.lM,!1,this);this.Re.Df(a.pf)};g.fM=function(a){this.ye=new gK(ZJ(this),!0);H(this,this.ye);this.ye.qa("start",this.gM,!1,this);this.ye.qa("drag",this.LC,!1,this);this.ye.qa("end",this.KC,!1,this);this.ye.Df(a.pf)};
g.pM=function(a){this.Ze=new gK($J(this),!1);H(this,this.Ze);this.Ze.qa("start",this.qM,!1,this);this.Ze.qa("drag",this.LC,!1,this);this.Ze.qa("end",this.KC,!1,this);this.Ze.Df(a.pf)};g.rM=function(a){this.$e=new hK(0,aK(this),!0);H(this,this.$e);this.$e.qa("start",this.rC,!1,this);this.$e.qa("drag",this.sC,!1,this);this.$e.qa("end",this.qC,!1,this);this.$e.Df(a.pf)};
g.eM=function(a){this.ke=new hK(0,bK(this),!1);H(this,this.ke);this.ke.qa("start",this.rC,!1,this);this.ke.qa("drag",this.sC,!1,this);this.ke.qa("end",this.qC,!1,this);this.ke.Df(a.pf)};g.iM=function(){this.w&&(this.w.Uf=!1);this.Ec=this.qb().enabled();this.qb().dc();this.qb().enabled(!1);SI(this.j);YJ(this).clear();ZJ(this).clear();$J(this).clear();aK(this).clear();bK(this).clear();Ag(da.document.body,"cursor","ew-resize")};g.jM=function(){this.B=!0;this.Y=!1;this.ln=!0};
g.kM=function(a){if(this.B){this.w&&(this.w.Uf=!0);var b=WJ(this).Pa();dK(this);var c=a.target.element;a=c.item;var d=this.f.data();J(d);b=tI(this.g,4==c.type?(b.left+b.width/2-this.b.left)/this.b.width:(b.left-this.b.left)/this.b.width);if(!isNaN(b)){var e;switch(c.type){case 4:a.set("actualStart",b);a.R("actualStart",b);m(a.get("actualEnd"))&&(a.set("actualEnd",b),a.R("actualEnd",b));break;case 5:c=c.cg;e=a.Se("periods",c,"start");e=a.Se("periods",c,"end")+(b-e);isNaN(e)||(a.set("periods",c,"start",
b),a.Lh("periods",c,"start",b),a.set("periods",c,"end",e),a.Lh("periods",c,"end",e));break;case 3:e=a.R("baselineStart");c=a.R("baselineEnd");e=b-e;isNaN(c+e)||(a.set("baselineStart",b),a.R("baselineStart",b));a.set("baselineEnd",c+e);a.R("baselineEnd",c+e);break;default:c=C(a.R("actualStart"))?a.R("actualStart"):a.R("autoStart"),c=(C(a.R("actualEnd"))?a.R("actualEnd"):a.R("autoEnd"))+(b-c),isNaN(c)||(a.set("actualStart",b),a.R("actualStart",b),a.set("actualEnd",c),a.R("actualEnd",c))}}d.ga(!0);nJ(this);
this.ln=this.B=!1;clearInterval(this.Ma);this.Ma=null}Ag(da.document.body,"cursor","")};g.nM=function(){this.w&&(this.w.Uf=!1);this.nn=!0;this.Ec=this.qb().enabled();this.qb().dc();this.qb().enabled(!1);ZJ(this).clear();$J(this).clear();aK(this).clear();bK(this).clear();WJ(this).clear()};g.oM=function(){this.B=!0;this.Y=!1};
g.lM=function(a){if(this.B){this.w&&(this.w.Uf=!0);dK(this);a=a.target;var b=a.element;isNaN(a.Gc)||b.item.set("progressValue",uq(100*a.Gc,2)+"%");this.B=!1;clearInterval(this.Ma);this.Ma=null;this.nn=!1}};g.qM=function(){this.w&&(this.w.Uf=!1);this.Ec=this.qb().enabled();this.qb().dc();this.qb().enabled(!1);YJ(this).clear();ZJ(this).clear();$J(this).clear();aK(this).clear();bK(this).clear();Ag(da.document.body,"cursor","col-resize");this.U.cursor("col-resize")};
g.gM=function(){this.w&&(this.w.Uf=!1);this.Ec=this.qb().enabled();this.qb().dc();this.qb().enabled(!1);YJ(this).clear();ZJ(this).clear();$J(this).clear();aK(this).clear();bK(this).clear();Ag(da.document.body,"cursor","col-resize");this.U.cursor("col-resize")};
function iK(a,b,c){if(a.ec){var d=a.ec.f?a.ma:a.ra,e=d.item,f=d.cg,h=d.za;switch(d.type){case 3:d=a.ec.f?e.R("baselineEnd"):e.R("baselineStart");break;case 5:d=a.ec.f?e.Se("periods",f,"end"):e.Se("periods",f,"start");break;default:d=a.ec.f?C(e.R("actualEnd"))?e.R("actualEnd"):e.R("autoEnd"):C(e.R("actualStart"))?e.R("actualStart"):e.R("autoStart")}e=um(a.O().ja()).x;b=c?0>c?a.b.left:a.b.left+a.b.width:b.clientX-e;c=sI(a.g,d);c=a.b.left+a.b.width*c;a.U.clear().moveTo(c,h.top).lineTo(b,h.top).lineTo(b,
h.top+h.height).lineTo(c,h.top+h.height).close()}}function jK(a,b,c,d){if(a.Ua&&a.B){var e=a.Ua.f?a.ka:a.ea,f=e.index,e=e.cg,h=um(a.O().ja()),k=h.x,h=h.y;c||d?(c=a.Ua.g-k,b=a.Ua.w-h):(c=b.clientX-k,b=b.clientY-h);e=kK(a,f,e);d=ms(a.Td)%2&&zm===Am?.5:0;f=a.Ua.f?e.left:e.left+e.width;e=e.top+e.height/2+d;cK(a).clear().moveTo(f,e).lineTo(c,b)}}g.LC=function(a){this.B=!0;this.Y=!1;this.ec=a.target;iK(this,a)};
g.KC=function(a){if(this.B){this.w&&(this.w.Uf=!0);var b=this.U.Pa();dK(this);a=a.target.element;var c=a.item,d=a.cg,e=this.f.data();J(e);var f=(b.left+b.width-this.b.left)/this.b.width,b=tI(this.g,(b.left-this.b.left)/this.b.width),f=tI(this.g,f);if(!isNaN(b)&&!isNaN(f))switch(a.type){case 5:c.set("periods",d,"start",b);c.Lh("periods",d,"start",b);c.set("periods",d,"end",f);c.Lh("periods",d,"end",f);break;case 3:c.set("baselineStart",b);c.R("baselineStart",b);c.set("baselineEnd",f);c.R("baselineEnd",
f);break;default:c.set("actualStart",b),c.R("actualStart",b),c.set("actualEnd",f),c.R("actualEnd",f)}e.ga(!0);nJ(this);this.ec=null;this.B=!1;clearInterval(this.Ma);this.Ma=null}Ag(da.document.body,"cursor","");this.U.cursor("ew-resize")};g.rC=function(a){this.w&&(this.w.Uf=!1);SI(this.j);this.Ua=a.target;dK(this);this.Ec=this.qb().enabled();this.qb().dc();this.qb().enabled(!1)};g.sC=function(a){this.hc=this.B=!0;this.Y=!1;this.Ua.g=a.clientX;this.Ua.w=a.clientY};
g.qC=function(){this.B&&(this.w&&(this.w.Uf=!0),this.qb().enabled(this.Ec),this.Ec=void 0,cK(this).clear(),this.B=!1,clearInterval(this.Ma),this.Ma=null)};
function lK(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 mK(a,b){if(b&&b.originalEvent){var c=b.originalEvent,d=c instanceof ek?c.target:c.domTarget;if(d&&d instanceof oJ&&6==d.type){var c=lK(a,c),e;for(e in d.R)c[e]=d.R[e];return c}}return null}
g.fz=function(a){if(a&&a.originalEvent){var b=a.originalEvent,c=b.domTarget;if(this.bb)if(c&&c instanceof oJ){var d=a.item,e=d.get("id");m(this.jk)||(this.jk=e);var f=a.period,h=a.periodIndex;m(h)&&isNaN(this.kk)&&(this.kk=h);this.jk!=e&&this.kk!=h&&(dK(this,!0),this.jk=e,m(h)&&(this.kk=h));if(c.u&&!this.B){b=c.u;WJ(this).clear().moveTo(b.left,b.top).lineTo(b.left+b.width,b.top).lineTo(b.left+b.width,b.top+b.height).lineTo(b.left,b.top+b.height).close();this.U.item=d;this.U.type=c.type;f&&(this.U.ll=
f);m(h)&&(this.U.cg=h);if(!d||1!=c.type&&0!=c.type&&2!=c.type)YJ(this).clear();else{var e=m(d.get("progressValue"))?parseFloat(d.get("progressValue"))/100:uq(d.R("autoProgress"),2),e=b.left+(e||0)*b.width,k=b.top+b.height;YJ(this).clear().moveTo(e,k-5).lineTo(e+5,k).lineTo(e+5,k+5).lineTo(e-5,k+5).lineTo(e-5,k).close();this.Gb.za=b;this.Gb.item=d}k=b.left+b.width;d&&4!=c.type?($J(this).clear().moveTo(k+1,b.top).lineTo(k+1-this.me,b.top).lineTo(k+1-this.me,b.top+b.height).lineTo(k+1,b.top+b.height).close(),
ZJ(this).clear().moveTo(b.left-1,b.top).lineTo(b.left-1+this.me,b.top).lineTo(b.left-1+this.me,b.top+b.height).lineTo(b.left-1,b.top+b.height).close(),this.ra.za=b,this.ra.item=d,this.ra.type=c.type,this.ma.za=b,this.ma.item=d,this.ma.type=c.type,f&&(this.ra.ll=f,this.ma.ll=f),m(h)&&(this.ra.cg=h,this.ma.cg=h)):(ZJ(this).clear(),$J(this).clear());if(d&&3!=c.type){var e=b.top+b.height/2,l=this.qn/2;Js(this.rn).call(null,bK(this),k+l+this.pn,e+this.sn,l);k=this.un/2;Js(this.hn).call(null,aK(this),b.left-
k+this.tn,e+this.xp,k);this.ea.item=d;this.ea.type=c.type;this.ea.index=a.hoveredIndex+this.f.ud();this.ka.item=d;this.ka.type=c.type;this.ka.index=a.hoveredIndex+this.f.ud();f&&(this.ka.ll=f,this.ea.ll=f);m(h)&&(this.ka.cg=h,this.ea.cg=h)}else bK(this).clear(),aK(this).clear()}else this.hc&&d&&(e=this.Ua.f?this.ka:this.ea,k=e.item,l=e.index,3!=c.type&&6!=c.type?(f?(b={item:k,period:e.ll,index:l,periodIndex:e.cg},d={item:d,period:f,index:a.hoveredIndex+this.f.ud(),periodIndex:h}):(b={item:k,index:l},
d={item:d,index:a.hoveredIndex+this.f.ud()}),f=a.originalEvent.clientX-um(this.O().ja()).x,h=c.u,f=.5>(f-h.left)/h.width,f=this.Ua.f?f?"startstart":"startfinish":f?"finishstart":"finishfinish",cK(this).clear(),nK(this,b,d,f,void 0,this.Jd)):jK(this,b))}else c==WJ(this)||c==YJ(this)||c==$J(this)||c==ZJ(this)||c==bK(this)||c==aK(this)||this.B?this.hc&&jK(this,b):dK(this,!0);if(d=mK(this,a))this.j.dispatchEvent(d),this.ji=c.R;else if(this.ji){if(a&&a.originalEvent){a={type:"connectormouseout",actualTarget:a.originalEvent.target,
target:this,originalEvent:a.originalEvent};for(var n in this.ji)a[n]=this.ji[n];d=a}else d=null;this.j.dispatchEvent(d);this.ji=null}}};g.ux=function(a){this.bb&&(this.G=a.item)};g.ez=function(a){a&&(a=mK(this,a))&&this.j.dispatchEvent(a)};
g.gz=function(a){if(this.bb&&this.hc){if(a){var b=a.item,c=a.periodIndex,d=a.originalEvent,e=d.domTarget;if(e instanceof oJ&&3!=e.type){var d=d.clientX-um(this.O().ja()).x,e=e.u,f=this.Ua.f?this.ka:this.ea,e=.5>(d-e.left)/e.width;d=f.item;e=this.Ua.f?e?"startstart":"startfinish":e?"finishstart":"finishfinish";f=f.cg;e=e||"finishstart";d instanceof LG||d instanceof NG||(d=this.f.data().Zo("id",d),d=d.length?d[0]:null);if(d&&(b instanceof LG||b instanceof NG||(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.hc=!1}(a=mK(this,a))&&this.j.dispatchEvent(a);this.Ua=null;this.Y=!0};g.Vw=function(a){if(this.B&&!this.nn&&(this.Db||this.Xb)){var b=0,c=0;this.Db&&(b=0=l){var k=.7*d,l=Math.round(a.b.left+a.b.width*l),n=Math.round(c+(d-k)/2);a.Sh().add({value:{x:l,y:n}}).size(k/2).W(h)}}}}}
function kK(a,b,c){var d=a.b.top+a.Ge()+1,e=a.f.b,f=a.f.ud(),h=a.f.i,k=a.f.Ye(),h=h[b];b=(b?e[b-1]:0)-((f?e[f-1]:0)+k)+d;d=yI(a.f,h);e=C(h.R("actualStart"))?h.R("actualStart"):h.R("autoStart");f=C(h.R("actualEnd"))?h.R("actualEnd"):h.R("autoEnd");e=a.f.D?h.Se("periods",c,"start"):e;c=a.f.D?h.Se("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=sI(a.g,e)*a.b.width+a.b.left-f;c=sI(a.g,c)*a.b.width+a.b.left+f;a.f.D||(h.get("baselineStart")&&h.get("baselineEnd")?
d=a.Ed?2.7*d/2:.65*d:h.lb()&&(d*=1-.7+.4));return new K(e,b,c-e,d)}
function nK(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=kK(a,h,b.periodIndex),u=kK(a,k,c.periodIndex);if(t&&u){c=e&&e.fill?Le(e.fill):a.Dl;e=e&&e.stroke?Se(e.stroke):a.$j;b=!!f;var v,w,x,y,A;f=f||null;var D=b?f:null,P,R,T=ms(e)%2&&zm===Am?.5:0;switch((d+"").toLowerCase()){case "finishfinish":v=Math.round(t.left+t.width)+T;w=Math.round(t.top+t.height/2)+T;x=Math.round(u.left+u.width)+T;y=Math.round(u.top+u.height/2)+T;A="left";t.top==
u.top?(f=sK(a,v,w,x,y,f),v>x&&(A="right")):(t=Math.max(v+9,x+9),f=sK(a,v,w,t,w,f),f=sK(a,t,w,t,y,f),f=sK(a,t,y,x,y,f));D=tK(a,x,y,A,D);break;case "startfinish":v=Math.round(t.left)+T;w=Math.round(t.top+t.height/2)+T;x=Math.round(u.left+u.width)+T;y=Math.round(u.top+u.height/2)+T;A="left";v-5-5-4>x?(t=x+9,f=sK(a,v,w,t,w,f),f=sK(a,t,w,t,y,f),f=sK(a,t,y,x,y,f)):(R=u.top>=t.top,t=v-5,P=x+9,u=Math.round(R?u.top:u.top+u.height)+T,f=sK(a,v,w,t,w,f),f=sK(a,t,w,t,u,f),f=sK(a,t,u,P,u,f),f=sK(a,P,u,P,y,f),f=
sK(a,P,y,x,y,f));D=tK(a,x,y,A,D);break;case "startstart":v=Math.round(t.left)+T;w=Math.round(t.top+t.height/2)+T;x=Math.round(u.left)+T;y=Math.round(u.top+u.height/2)+T;A="right";t.top==u.top?(f=sK(a,v,w,x,y,f),v>x&&(A="left")):(t=Math.min(v-4-5,x-4-5),f=sK(a,v,w,t,w,f),f=sK(a,t,w,t,y,f),f=sK(a,t,y,x,y,f));D=tK(a,x,y,A,D);break;default:v=Math.round(t.left+t.width)+T,w=Math.round(t.top+t.height/2)+T,x=Math.round(u.left)+T,x>=v?(x=Math.min(x+5,Math.round(u.left+u.width/2)+T),u.top>t.top?(y=Math.round(u.top)+
T,f=sK(a,v,w,x,w,f),f=sK(a,x,w,x,y,f),D=tK(a,x,y,"bottom",D)):u.topt.top?u.top:u.top+u.height)+T,t=v+5,P=x-5-4,f=sK(a,v,w,t,w,f),f=sK(a,t,w,t,u,f),f=sK(a,t,u,P,u,f),f=sK(a,P,u,P,y,f),f=sK(a,P,y,x,y,f),D=tK(a,x,y,"right",D))}d={fromItemIndex:h,toItemIndex:k,
connType:d,fromItem:r,toItem:p};h=!!a.P&&a.P.fromItemIndex==d.fromItemIndex&&a.P.toItemIndex==d.toItemIndex&&a.P.connType==d.connType;a.f.D&&(d.fromPeriodIndex=l,d.toPeriodIndex=n,a.P&&(h&=a.P.fromPeriodIndex==d.fromPeriodIndex&&a.P.toPeriodIndex==d.toPeriodIndex));f&&!b&&(f.stroke(e),f.tag=void 0,f.type=6,f.u=null,f.cursor(a.bb?"pointer":"default"),d.path=f,f.R=d,f.stroke(h?a.Li:e));D&&!b&&(D.fill(c).stroke(e),D.tag=void 0,D.type=6,D.u=null,D.cursor(a.bb?"pointer":"default"),d.arrow=D,D.R=d,D.stroke(h?
a.Li:e))}}function sK(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=pK(a),f.zIndex(60).moveTo(b,c).lineTo(d,e))}return f}
function tK(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=pK(a));f.zIndex(70).moveTo(b,c).lineTo(h,k).lineTo(l,n).lineTo(b,c)}return f}
function nJ(a){var b=a.g.ad(),c=pI(a.g),d=a.f.u,e=a.f.G;J(a.g);var f=a.g,h,k;h=Yr(d);k=Yr(e);if(f.D!=h||f.g!=k)f.D=h,f.g=k,f.u=NaN,f.j=NaN,f.b=!1,oI(f),f.fa(4);a.g.ka=d;a.g.ea=e;!b||isNaN(d)||isNaN(e)||(d=qI(a.g),a.g.Ef(d.min,d.min+Math.round((d.max-d.min)/10)));!b&&(b=c.min,d=c.max-b)&&(c=pI(a.g),b=c.min,a.g.Ef(b,b+d));a.g.ga(!0)}g.tD=function(){YI(this).zIndex(34);this.Sh().O(WI(this));this.labels().O(WI(this));this.Fm().O(TI(this));nJ(this)};
g.uu=function(){this.Fm().za().set(this.b.left,this.b.top,this.b.width,this.Ge());this.Ai=!0};g.tu=function(){VJ(this).stroke(this.md);cK(this).stroke(this.Td);WJ(this).fill(this.ak).stroke(this.bk);YJ(this).fill(this.dk).stroke(this.ek);ZJ(this).fill(this.oh).stroke(this.ph);$J(this).fill(this.oh).stroke(this.ph);aK(this).fill(this.mh).stroke(this.nh);bK(this).fill(this.mh).stroke(this.nh)};
g.Px=function(){S(this,512)&&(this.Ai=this.tc=!0,this.K(512));if(this.Ai){this.Fm().o(64);this.ta.$();var a,b=[];this.ta.Qo().enabled()?a=this.ta.Qo():this.ta.Uo().enabled()?a=this.ta.Uo():this.ta.pp().enabled()&&(a=this.ta.pp());a&&(b=a.jw());a=b;if(a.length)for(var b=VJ(this).clear(),c=0,d=a.length-1;cD){var R=this.b.left+this.b.width*D,T=.7*u;qK(this,new K(R,t+(u-T)/2,this.b.left+this.b.width*P-R,T),x,5)}}}rK(this,l,f,n);f=p+this.ib}else for(var ba=this.b.top+this.Ge()+1-this.f.Ye(),ca=this.f.i,V=this.f.ud();V<=GI(this.f);V++){var I=ca[V];if(!I)break;var va=yI(this.f,I),za=ba+va,sb=I.get("baselineStart"),Nc=I.get("baselineEnd");if(m(sb)&&m(Nc)){var Fa=I,
pc=ba,hd=va,nb=C(Fa.R("actualStart"))?Fa.R("actualStart"):Fa.R("autoStart"),xb=C(Fa.R("actualEnd"))?Fa.R("actualEnd"):Fa.R("autoEnd"),Wf=Fa.R("baselineStart"),Yg=Fa.R("baselineEnd"),Xl=sI(this.g,nb),pf=sI(this.g,xb),Na=sI(this.g,Wf),Nd=sI(this.g,Yg);if(0Xl||0Na){var Sb=this.b,Db=Sb.left+Sb.width*Xl,me=Sb.left+Sb.width*pf,Hf=pc+hd*(1-.7)/2,qb=.7*hd/2,Vi=Sb.left+Sb.width*Na,Zg=Sb.left+Sb.width*Nd,Yl=Hf+qb;if(this.Ed)var Zl=Hf,Hf=Yl,Yl=Zl;var gr=qK(this,new K(Db,Hf,me-Db,qb),Fa,1,"actual");
qK(this,new K(Vi,Yl,Zg-Vi,qb),Fa,3,"baseline");var vo=1*qb,wo=Hf+(qb-vo)/2,xo=m(Fa.get("progressValue"))?parseFloat(Fa.get("progressValue"))/100:uq(Fa.R("autoProgress"),2);xo&&(qK(this,new K(Db,wo,xo*(me-Db),vo),Fa,2,"progress").u=gr.u)}}else if(I.lb()){var $d=I,hr=ba,iv=va,kB=C($d.R("actualStart"))?$d.R("actualStart"):$d.R("autoStart"),lB=C($d.R("actualEnd"))?$d.R("actualEnd"):$d.R("autoEnd"),jv=sI(this.g,kB),yo=sI(this.g,lB);if(0jv){var Wi=this.b.left+this.b.width*jv,kv=this.b.left+this.b.width*
yo,ir=hr+iv*(1-.7)/2,$l=.4*iv,jr=qK(this,new K(Wi,ir,kv-Wi,$l),$d,0,"actual"),lv=1*$l,nk=ir+($l-lv)/2,kr=m($d.get("progressValue"))?parseFloat($d.get("progressValue"))/100:uq($d.R("autoProgress"),2);kr&&(qK(this,new K(Wi,nk,kr*(kv-Wi),lv),$d,2,"progress").u=jr.u)}}else if(QI(I)){var $g=I,lr=ba,zo=va,mr=$g.get("actualStart"),am=sI(this.g,mr);if(0<=am&&1>=am){var ah=$g.get("milestone"),Xi=ah&&m(ah.stroke)?Se(ah.stroke):this.yi,mv=(ls(Xi)?0:B(Xi)?1:Xi.thickness?Xi.thickness:1)%2&&zm===Am?.5:0,Yi=Math.round(.7*
zo/2),bm=Math.round(this.b.left+this.b.width*am)+mv,cm=Math.round(lr+zo/2)+mv,Zi=pK(this);Zi.tag=$g.get("id");Zi.type=4;var nr=bm-Yi,dm=cm-Yi,Ao=bm+Yi,Bo=cm+Yi,em=Yi+Yi;Zi.zIndex(20).moveTo(nr,cm).lineTo(bm,dm).lineTo(Ao,cm).lineTo(bm,Bo).close();var or=new K(nr,dm,em,em);Zi.u=or;J(this.f.data());$g.R("relBounds",or);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=
Pn(If),mB={value:Zr(or,If)},Ke={value:bh},pr=this.labels().add(Ke,mB);Je&&pr.W(Je);J(this.f.data());$g.R("labelBounds",this.labels().measure(pr));this.f.data().ga(!1)}var fm=$g==this.Oa;if(ah){var gm;fm?(gm=this.Wc,Xi=this.ed):gm=m(ah.fill)?Le(ah.fill):this.vi;Zi.fill(gm).stroke(Xi)}else Zi.fill(fm?this.Wc:this.vi).stroke(fm?this.ed:this.yi)}}else{var Jf=I,qr=ba,Co=va,Do=C(Jf.R("actualStart"))?Jf.R("actualStart"):Jf.R("autoStart"),nv=C(Jf.R("actualEnd"))?Jf.R("actualEnd"):Jf.R("autoEnd"),rr=sI(this.g,
Do),ov=sI(this.g,nv);if(0rr){var hm=this.b.left+this.b.width*rr,sr=this.b.left+this.b.width*ov,im=.7*Co,tr=qr+(Co-im)/2,pv=qK(this,new K(hm,tr,sr-hm,im),Jf,1,"actual"),ur=1*im,vr=tr+(im-ur)/2,wr=parseFloat(Jf.get("progressValue"));wr&&(qK(this,new K(hm,vr,wr*(sr-hm)/100,ur),Jf,2,"progress").u=pv.u)}}rK(this,I,ba,va);ba=za+this.ib}this.labels().$();this.Sh().$();for(var Eo=this.f.U,Fo=Eo.length,$i,nB=this.f.D?this.f.P:this.f.Y;Fo--;){$i=Eo[Fo];var ch=$i.to;z(ch)||(ch=nB[ch]);m(ch)?($i.to=ch,
nK(this,$i.from,ch,$i.type,$i.connSettings)):lb(Eo,Fo,1)}for(var jm=this.Ri,oB=this.Ui.length;jmc.w||(c.D=Math.min(c.D,a),c.i=a,c.g=Math.max(c.g,b),c.f=b,c.fa(4)));else if(this.hc||this.B&&this.G||!this.B)c=this.g,a&&!c.ad()&&(b=qI(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),nI(c,c.i+a,c.f+a));Iv(this,this.g,this.f)};g.scale=function(a){return m(a)?(this.g.W(a),this):this.g};
g.I=function(){var a=UJ.F.I.call(this);a.scale=this.g.I();a.labels=this.labels().I();a.markers=this.Sh().I();a.header=this.Fm().I();a.columnStroke=pp(this.md);a.baselineAbove=this.Ed;a.baseFill=pp(this.Uj);a.baseStroke=pp(this.Vj);a.baselineFill=pp(this.Xj);a.baselineStroke=pp(this.Cl);a.milestoneFill=pp(this.vi);a.milestoneStroke=pp(this.yi);a.parentFill=pp(this.mk);a.parentStroke=pp(this.Gl);a.progressFill=pp(this.Hl);a.progressStroke=pp(this.Il);a.connectorFill=pp(this.Dl);a.connectorStroke=pp(this.$j);
a.selectedElementFill=pp(this.Wc);a.selectedElementStroke=pp(this.ed);a.selectedConnectorStroke=pp(this.Li);a.connectorPreviewStroke=pp(this.Td);a.editPreviewFill=pp(this.ak);a.editPreviewStroke=pp(this.bk);a.editProgressFill=pp(this.dk);a.editProgressStroke=pp(this.ek);a.editIntervalThumbFill=pp(this.oh);a.editIntervalThumbStroke=pp(this.ph);a.editConnectorThumbFill=pp(this.mh);a.editConnectorThumbStroke=pp(this.nh);a.editStartConnectorMarkerType=this.hn;a.editStartConnectorMarkerSize=this.un;a.editStartConnectorMarkerHorizontalOffset=
this.tn;a.editStartConnectorMarkerVerticalOffset=this.xp;a.editFinishConnectorMarkerType=this.rn;a.editFinishConnectorMarkerSize=this.qn;a.editFinishConnectorMarkerHorizontalOffset=this.pn;a.editFinishConnectorMarkerVerticalOffset=this.sn;a.editIntervalWidth=this.me;var b,c=[];for(b=0;b=e[1])&&(b=c+.5*Math.PI):d[0]>e[0]&&(d[1]<=e[1]||d[1]>=e[1])&&(b=c+.5*Math.PI);break;case "center":b=CK(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"==AK(a)||"left"==AK(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 DK(a,b){var c,d;a.i.gd();b=parseFloat(b);c=BK(a);var e=a.J("position"),f=a.J("length");d=AK(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=CK(a,e,h,d,c);return[d[0],d[1],d[0]+Math.cos(e)*f,d[1]+Math.sin(e)*f,e]}
function EK(a,b){var c=DK(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(){BK(this);this.b.clear();this.b.stroke(this.J("stroke"));if(!this.wb())return this;S(this,8)&&(this.b.zIndex(this.zIndex()),this.K(8));S(this,2)&&(this.b.parent(this.O()),this.K(2));return this};g.xz=function(a){a=DK(this,a);this.b.moveTo(a[0],a[1]);this.b.lineTo(a[2],a[3])};
g.Ib=function(a,b){return ka(b)||null===b?(a?this.Ia.enabled=!!b:this.enabled(!!b),!0):!1};g.aa=function(a,b){if(b){for(var c in this.Zp){var d=a[c];m(d)&&(this.Ia[c]=d)}"enabled"in a&&(this.Ia.enabled=a.enabled);"zIndex"in a&&(this.Ia.zIndex=a.zIndex)}else pw(this,this.Zp,a),xK.F.aa.call(this,a)};
g.I=function(){var a={},b;this.Kb("zIndex")&&(b=this.kb("zIndex"));m(b)||(b=this.Jb("zIndex"));m(b)&&(a.zIndex=b);var c;this.Kb("enabled")&&(c=this.kb("enabled"));m(c)||(c=this.Jb("enabled"));a.enabled=m(c)?c:null;qw(this,this.Zp,a,"Map axis ticks props");return a};function FK(){W.call(this);this.St=[];this.Tt=[];this.Ia={};this.f={};this.j=this.ba=null;this.Fb=980}G(FK,W);g=FK.prototype;g.oa=W.prototype.oa|976;g.la=W.prototype.la|32768;g.cb=null;g.ua=null;g.eb=null;g.pb=null;g.Mb=null;g.xa=null;g.St=null;g.Tt=null;g.kb=function(a){return this.f[a]};g.Kb=function(a){return m(this.f[a])};g.Jb=function(a){return this.Ia[a]};g.J=Mw;g.Nb=function(a,b){this.f[a]=b};g.wa=function(){return!0};g.ce=function(a){m(a)&&(this.j=a);return this.j};g.Sf=Lw;
g.Vc=function(){var a=[this.Ia];this.ba&&(a=pb(a,this.ba.Vc()));return a};g.Lc=function(){var a=[this.f];this.ba&&(a=pb(a,this.ba.Lc()));return a};g.parent=function(a){return m(a)?(this.ba!=a&&(this.ba&&Ev(this.ba,this.zz,this),(this.ba=a)&&Q(this.ba,this.zz,this)),this):this.ba};g.zz=function(a){var b=0,c=0;U(a,1)&&(b|=16,c|=1);U(a,8)&&(b|=this.Fb,c|=8);U(a,32768)&&(b|=1,c|=9);this.j=null;this.o(b,c)};var GK=FK.prototype,HK={};X(HK,1,"stroke",uw,16,1);X(HK,0,"overlapMode",eo,980,9);
X(HK,0,"drawFirstLabel",mw,980,9);X(HK,0,"drawLastLabel",mw,980,9);GK.$p=HK;nw(FK,FK.prototype.$p);g=FK.prototype;g.enabled=function(a){return m(a)?(this.f.enabled!=a&&(a=this.f.enabled=a,this.o(1,this.Fh()),a?(this.va=!1,this.ga(!0)):isNaN(this.Sd)?J(this):this.va=!0),this):this.J("enabled")};g.title=function(a){this.Ja||(this.Ja=new by,this.Ja.ub(this),this.Ja.parent(this.parent().title()),Q(this.Ja,this.yI,this),H(this,this.Ja));return m(a)?(this.Ja.W(a),this):this.Ja};
g.yI=function(a){var b=0,c=0;U(a,8)?(b=this.Fb,c=9):U(a,1)&&(b=64,c=1);this.o(b,c)};g.labels=function(a){this.ua||(this.ua=new JA,this.ua.ub(this),Q(this.ua,this.vI,this),H(this,this.ua));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.ua.W(a),this):this.ua};g.vI=function(a){var b=0,c=0;U(a,8)?(b=this.Fb,c=9):U(a,1)&&(b=384,c=1);this.Bb();this.o(b,c)};
g.Da=function(a){this.pb||(this.pb=new JA,this.pb.ub(this),Q(this.pb,this.wI,this),H(this,this.pb));return m(a)?(!z(a)||"enabled"in a||(a.enabled=!0),this.pb.W(a),this):this.pb};g.wI=function(a){var b=0,c=0;U(a,8)?(b=this.Fb,c=9):U(a,1)&&(b=384,c=1);this.Bb();this.o(b,c)};function IK(a){var b=new xK;AK(b,a.w);b.ub(a);Q(b,a.xI,a);H(a,b);return b}g.Fd=function(a){this.eb||(this.eb=IK(this),this.eb.parent(this.parent().Fd()));return m(a)?(this.eb.W(a),this):this.eb};
g.Ka=function(a){this.Mb||(this.Mb=IK(this),this.Mb.parent(this.parent().Ka()));return m(a)?(this.Mb.W(a),this):this.Mb};g.xI=function(a){var b=0,c=0;U(a,8)?(b=this.Fb,c=9):U(a,1)&&(b=384,c=1);this.Bb();this.o(b,c)};g.scale=function(a){return m(a)?(this.Rd!=a&&(this.Rd&&Ev(this.Rd,this.Az,this),(this.Rd=a)&&Q(this.Rd,this.Az,this),this.Bb(),dB(this.labels()),dB(this.Da()),this.Fd().Tm(this.Rd),this.Ka().Tm(this.Rd),this.o(this.Fb,9)),this):this.Rd};
g.Az=function(a){U(a,2)&&(this.Bb(),dB(this.labels()),dB(this.Da()),this.o(this.Fb,9))};g.wc=function(a){return m(a)?(this.w=a,this):this.w};g.rc=function(){return"top"==this.w||"bottom"==this.w};g.Tj=function(a){this.b&&this.b.Xa(a.rb,a.Lb,a.Hb,a.Eb,a.sb,a.tb)};
function JK(a,b,c){var d,e;c=parseFloat(c);var f;f=Math.abs(c)%1;d=Math.floor(Math.abs(c));e=Math.floor(60*f);f=Math.floor(60*f%1*60);d+="°";if(f||!f&&e)e+="",1==e.length&&(e="0"+e),d+=e+"'";e=a.rc()?0=V&&va||1<=V&&za?D=I:0V&&(D=I)),I++;R<=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++)}pc||(r=!1)}p||(n=!1);this.u={labels:n,Da:r};this.K(512)}l=this.u}z(l)?(p=l.labels,r=l.Da):(p=!l,r=!l);A=(this.rc()?this.scale().Wj():this.scale().Yj()).get();n=l=0;for(D=A.length;lb;)k=c.transform(h,l,null),d.lineTo(k[0],k[1]),l-=f;k=c.transform(h,b,null);d.lineTo(k[0],k[1]);for(l=h;l>e;)k=c.transform(l,b,null),d.lineTo(k[0],k[1]),l-=f;k=c.transform(e,b,null);d.lineTo(k[0],k[1]);for(l=b;lb;)h=c.transform(l,k,null),d.lineTo(h[0],h[1]),l-=f;h=c.transform(b,k,null);d.lineTo(h[0],h[1]);for(l=k;l>e;)h=c.transform(b,l),d.lineTo(h[0],h[1]),l-=f}h=c.transform(b,e,null);d.lineTo(h[0],h[1]);d.close()}};g.remove=function(){this.b&&this.b.parent(null)};
g.$=function(){var a=this.g;if(!a)return Ro(2),this;if(!this.wb())return this;var b=bL(this,!0),c=bL(this,!1);this.b||(this.b=Zh(),dL(this).parent(this.b),cL(this).parent(this.b),b.parent(this.b).zIndex(1),c.parent(this.b).zIndex(0));if(S(this,8)){var d=this.zIndex();this.b.zIndex(d);this.K(8)}S(this,2)&&(d=this.O(),this.b.parent(d),this.K(2));S(this,16)&&(b.stroke(this.J("stroke")),c.stroke(this.J("minorStroke")),cL(this).fill(this.J("oddFill")),dL(this).fill(this.J("evenFill")),this.K(16));if(S(this,
64)||S(this,4)){var e,f,h,k,l,d=NaN,n,p,r,t=a.precision();"horizontal"==aL(this)?(h=a.Wi(),k=a.Yj(),t=t[0],a=a.Yf(),e=[this.RI,this.OI]):(h=a.Vi(),k=a.Wj(),t=t[1],a=a.Xf(),e=[this.SI,this.QI]);h=h.get();k=k.get();dL(this).clear();cL(this).clear();b.clear();c.clear();var u=e[0],v=e[1];n=-b.bh()%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 kL(a){return 0Math.PI*Math.PI+1E-6)return[NaN,NaN];var c=a,d=b,e=25,f=0;do{var h=Math.sin(c),k=Math.sin(c/2),l=Math.cos(c/2),n=Math.sin(d),p=Math.cos(d),r=Math.sin(2*d),t=n*n,u=p*p,v=k*k,w=1-u*l*l,x=w?this.acos(p*l)*Math.sqrt(f=1/w):f=0,w=2*x*p*k-a,y=x*n-b,A=f*(u*v+x*p*l*t),D=f*(.5*h*r-2*x*n*k),h=.25*f*(r*k-x*n*u*h),p=f*(t*l+x*v*p),l=D*h-p*A;if(!l)break;D=(y*D-w*p)/l;w=(w*h-y*A)/l;c-=D;d-=w}while((1E-6a?-1:0)*Math.atan2(this.sinh(d)*e,.25-h);b=2*(0b?-1:0)*Math.atan2(f*Math.sin(c),.25+h);return[ge(a),ge(b)]};function nL(){this.f=45*Math.PI/180;this.b=1/Math.tan(this.f)}G(nL,jL);nL.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]};nL.prototype.$c=function(a,b){var c=Math.sqrt(a*a+(b=this.b-b)*b),d=this.b+this.f-c;a=c/Math.cos(d)*Math.atan2(a,b);return[ge(a),ge(d)]};function oL(){}G(oL,jL);oL.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]};oL.prototype.$c=function(a,b){var c=Math.sqrt(8/(3*Math.PI)),d=b/c;a/=c*(1-Math.abs(d)/Math.PI);return[ge(a),ge(d)]};function pL(){}G(pL,jL);pL.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]};pL.prototype.$c=function(a,b){var c=Math.sqrt(Math.PI*(4+Math.PI))/2;a=a*c/(1+kL(1-b*b*(4+Math.PI)/(4*Math.PI)));return[ge(a),ge(b*c/2)]};function qL(){}G(qL,jL);qL.prototype.forward=function(a,b){a=fe(a);b=fe(b);return[a,b]};qL.prototype.$c=function(a,b){return[ge(a),ge(b)]};function rL(){}G(rL,jL);rL.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*kL(1-d*d);return[a,(1+c)*d]};rL.prototype.$c=function(a,b){var c=Math.cos(fe(35)),d=b/(1+c);a=a?a/(c*kL(1-d*d)):0;b=2*Math.atan(d);return[ge(a),ge(b)]};function sL(a,b){this.scale=a;this.b=b}G(sL,jL);sL.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]};sL.prototype.$c=function(a,b){var c=Cq(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 tL(){this.b=2;this.f=new sL(function(a){return Math.sqrt(2/(1+a))},function(a){return 2*Math.asin(a/2)})}G(tL,jL);tL.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]};tL.prototype.$c=function(a,b){var c=this.f.$c(a/this.b,b);c[0]*=2;a=c[0];b=c[1];return[ge(a),ge(b)]};function uL(){}G(uL,jL);uL.prototype.forward=function(a,b){a=fe(a);b=fe(b);b=Math.log(Math.tan(Math.PI/4+b/2));return[a,b]};uL.prototype.$c=function(a,b){b=2*Math.atan(Math.exp(b))-Math.PI/2;return[ge(a),ge(b)]};function vL(){this.b=new sL(function(){return 1},Math.asin)}G(vL,jL);vL.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]};vL.prototype.$c=function(a,b){var c=this.b.$c(a,b);a=c[0];b=c[1];return[ge(a),ge(b)]};function wL(a){this.f=a;this.b=window.proj4}G(wL,jL);wL.prototype.forward=function(a,b){return this.b(this.f).forward([a,b])};wL.prototype.$c=function(a,b){return this.b(this.f).inverse([a,b])};function xL(){}G(xL,jL);var yL=[[.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]];
xL.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=yL[e])[0],h=c[1],k=(c=yL[++e])[0],l=c[1],e=(c=yL[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=uq(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)}ZL(this)||(f=d,d=e,e=f);var f=this.j.length,n=null==
this.bc,p=null==this.Ga,r=null!=this.bc?N(this.length(),b):d*f,t=null!=this.Ga?N(this.width(),c):e,d=e=0,u=!1,v=!1,h=this.title();h.enabled()&&(h.O()||h.O(this.O()),J(h),h.ia(a),gy(h,this.Dg()),ZL(this)?(e=h.Zc().height,d=h.Zc().width):(e=h.Zc().width,d=h.Zc().height),u=h.J("orientation")||gy(h),"top"==u||"bottom"==u?(u=ZL(this),v=!ZL(this)):(u=!ZL(this),v=ZL(this)),h.ga(!1));var w,x,y=this.tq(),l=N(y.J("top"),a.height),k=N(y.J("right"),a.width),A=N(y.J("bottom"),a.height),y=N(y.J("left"),a.width),
D=this.margin(),P=N(D.J("top"),a.height),R=N(D.J("right"),a.width),T=N(D.J("bottom"),a.height),D=N(D.J("left"),a.width);n&&!p?(n=t-(u?e:0),r=Math.min(v?n*f+d:Math.max(n*f,d),b),this.i=(r-(v?d:0))/f,this.g=n):!n&&p?(n=(r-(v?d:0))/f,t=Math.min(u?n+e:Math.max(n,e),c),this.i=n,this.g=t-(u?e:0)):n&&p?(c=Math.min(r,b-(v?d:0))/f,r=Math.max(t,v?e:0),n=Math.max(c,r)*f+A+l+T+P>b?(b-(A+l+T+P)-(v?d:0))/f:Math.max(c,r),r=v?n*f+d:Math.max(n*f,d),t=u?n+e:Math.max(n,e),this.g=this.i=n):(this.i=(r-(v?d:0))/f,this.g=
t-(u?e:0));c=this.qq();var ba;ZL(this)?(r+k+y+R+D>b&&(r=b-(k+y+R+D)),"left"==c||"top"==c?ba=y+D:"right"==c||"bottom"==c?ba=b-r-k-R:"center"==c&&(ba=(b-r)/2)):(r+A+l+T+P>b&&(r=b-(A+l+T+P)),"left"==c||"top"==c?ba=l+P:"right"==c||"bottom"==c?ba=b-r-A-T:"center"==c&&(ba=(b-r)/2));var ca,V;switch(this.Dg()){case "top":x=a.top+l+P;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-R;V=r;ca=t;this.N=new K(w,x,this.g,this.i);break;case "bottom":x=a.top+
a.height-t-A-T;w=a.left+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+D,V=r,ca=t,this.N=new K(w,x,this.g,this.i)}if(h.enabled())switch(u=h.J("orientation")||gy(h),u){case "top":this.N.left=w;this.N.top=x+(ZL(this)?e:d);break;case "left":this.N.left=w+(ZL(this)?d:e),this.N.top=x}this.Nf=new K(Math.round(w),Math.round(x),Math.round(ca),Math.round(V));this.P=new K(this.Nf.left-y,this.Nf.top-l,this.Nf.width+y+k,this.Nf.height+l+A);this.U=new K(this.P.left-D,this.P.top-
P,this.P.width+D+R,this.P.height+P+T)}else this.U=new K(0,0,0,0);this.o(this.Fb);this.K(4)}return this.U};function YL(a,b){if(null===a.i||null===a.g)return{value:{x:0,y:0}};var c,d,e=a.N;switch(a.Dg()){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 $L(a,b,c,d){var e=b.La(),f=b.$d(),h=uA(f);h.select(e);d=m(d)?d:rA(f.state,e);b.state=d;var k=f.Qa(),l=!!(d&Cp),n=!l&&!!(d&Bp),p=f.labels();b=k.get("label");l?(l=k.get("selectLabel"),k=f.uh()):n?(l=k.get("hoverLabel"),k=f.th()):k=l=null;n=KL(f);n.j=f.zf(e);c.Eh(n);iB(c,p);jB(c,k);c.yl(b,l);dB(p);e=!!(d&Cp);d=!e&&!!(d&Bp);e=e?a.uq():d?a.rq():a.labels();d=cB(a.labels());d.enabled=a.labels().enabled();b=cB(e);b.enabled=null===e.enabled()?d.enabled:e.enabled();c.yl(d,c.state("pointState")?fc(c.state("pointState"),
b):b);e=YL(a,c.La());e.connectorPoint={value:TL(f)};c.uc(e);ZL(a)?(c.width(a.i),c.height(a.g)):(c.width(a.g),c.height(a.i));switch(a.Dg()){case "top":c.anchor("centerbottom");break;case "right":c.anchor("leftcenter");break;case "bottom":c.anchor("centertop");break;case "left":c.anchor("rightcenter")}h.R("shapes")&&(a=h.R("fill"),h=h.R("stroke"),c.yq().enabled(!0).fill(a).stroke(h));return c}
function aM(a){var b=a.labels();b.O()||b.O(a.O());b.ia(a.ia());b.clear();for(var c=0,d=a.j.length;cb?"inside"==a.position()?0:c:c:c);return c};
g.Ot=function(a,b,c,d,e){c=a.top+a.height+c/2-d;var f=this.scale();if(f instanceof nD)this.cb.moveTo(a.left+b,c).lineTo(a.left-b+a.width,c).lineTo(a.left-b+a.width,c-e).lineTo(a.left+b,c-e).close();else if(f instanceof tD){d=f.Fj();for(var f=f.Zh(),h=a.width/d.length,k=0,l=d.length;kb&&(d=b-(l+h)),"left"==p||"top"==p?r=h:"right"==p||
"bottom"==p?r=b-d-l:"center"==p&&(r=(b-d-l-h)/2)):(d+n+k>b&&(d=b-(n+k)),"left"==p||"top"==p?r=k:"right"==p||"bottom"==p?r=b-d-n:"center"==p&&(r=(b-d-n-k)/2));var t,u;switch(this.wc()){case "top":f=a.top+k;e=a.left+r;u=c;t=d;break;case "right":f=a.top+r;e=a.left+a.width-c-l;u=d;t=c;break;case "bottom":f=a.top+a.height-c-n;e=a.left+r;u=c;t=d;break;case "left":f=a.top+r,e=a.left+h,u=d,t=c}this.ug=new K(Math.round(e),Math.round(f),Math.round(t),Math.round(u))}else this.ug=new K(0,0,0,0);this.K(4)}return this.ug};
g.gw=function(a){return N(this.bc,a)};
g.lB=function(a,b){var c=this.oe(),d=this.Ka(),e=this.Bj(c),f=this.Bj(d),h=fM(this);"outside"==c.position()?"outside"==d.position()?c=Math.max(a+e,b+f):(c="inside"==d.position()?Math.max(a+e,b):Math.max(a+e,b+f),h=Math.max(f,h)):"inside"==c.position()?"outside"==d.position()?(c=Math.max(a,b+f),h=Math.max(e,h)):(c="inside"==d.position()?Math.max(a,b):Math.max(a,b+f),h=Math.max(e,f,h)):"outside"==d.position()?(c=Math.max(a+e,b+f),h=Math.max(e,h)):(c="inside"==d.position()?Math.max(a+e,b):Math.max(a+
e,b+f),h=Math.max(e,f,h));e=this.stroke();return c+h+(Math.round(this.P)+(!e||ls(e)?0:e.thickness?parseFloat(e.thickness):1))};
function gM(a,b){var c=a.scale(),d=a.j,e=d.Mf()||(d.cw?d.cw():void 0),f=a.b&&a.b.enabled(),d=d&&d.enabled()&&e==c;if(a.enabled()&&f&&c&&d&&(c=a.cb.Pa(),f=ce(a.scale().transform(b,.5),0,1),!isNaN(f))){var h,k,l;switch(a.wc()){case "top":h=c.left+c.width*f;k=c.top+c.height+a.b.size();l=180;break;case "bottom":h=c.left+c.width*f;k=c.top-a.b.size();l=0;break;case "left":h=c.left+c.width+a.b.size();k=c.top+c.height-c.height*f;l=90;break;case "right":h=c.left-a.b.size(),k=c.top+c.height-c.height*f,l=-90}J(a.b).rotation(l).uc({value:{x:h,
y:k}}).ga(!1).$();a.b.Zd().visible(!0)}}function hM(a){a.scale()&&a.b&&a.b.Zd().visible(!1)}g.scale=function(a){var b=this.Rd||iM(this);m(a)&&b&&b!=a&&b.Ob()!=a.Ob()&&(this.cb&&(this.cb.xe(),this.cb.parent(null),this.cb=null),this.g&&(this.g.length=0));return dM.F.scale.call(this,a)||iM(this)};function iM(a){a.ma||(a.ma=LB(),a.ma.mm("#fff","#000"));return a.ma}
g.$=function(){if(!this.wb())return this;S(this,1024)&&(this.b&&(this.b.O(this.O()),this.b.zIndex(this.zIndex()+1),this.b.$(),this.b.Zd().visible(!1)),this.K(1024));S(this,2)&&this.b&&this.b.O(this.O());if(S(this,8)&&this.b){var a=this.zIndex();this.b.zIndex(a+1)}return dM.F.$.call(this)};
g.XM=function(a){var b=this.scale(),c=this.j,d=c.Mf()||c.cw();if(this.enabled()&&b&&c&&c.enabled()&&d==b){var d=this.cb.Pa(),e,f;this.rc()?(e=a.clientX,f=d.left+um(this.O().ja()).x,d=(e-f)/d.width):(e=a.clientY,f=d.top+um(this.O().ja()).y,d=(d.height-(e-f))/d.height);d=b.Dc(d);a.metaKey||a.shiftKey||!c.map||c.map.jf();if(b instanceof tD)d=b.Hh(d),b&&c&&(e=this.ca[d.sourceIndex],b=c.$b(),b=b.hd(),"single"==b.Ac()?this.Fc={na:c,Cb:e}:this.Fc=[{na:c,Cb:e,Hm:e[e.length-1],ic:{index:e[e.length-1],Pd:0}}]);
else if(b instanceof nD){a=uA(c);e=Infinity;for(var h=NaN,k=b.Zq(),l=b.Xq();a.advance();){f=a.get(c.Wb?c.Wb.gh:c.ys[1]);f=ce(f,k,l);var n=Math.abs(d-f);e>n&&(e=n,h=f)}e=[];a=uA(c);for(d=h;a.advance();)f=a.get(c.Wb?c.Wb.gh:c.ys[1]),f=ce(f,k,l),f==d&&e.push(a.La());b&&c&&(b=c.$b(),b=b.hd(),"single"==b.Ac()?this.Fc={na:c,Cb:e}:this.Fc=[{na:c,Cb:e,Hm:e[e.length-1],ic:{index:e[e.length-1],Pd:0}}])}}};
g.$z=function(a){var b=this.scale(),c=this.j,d=c.Mf()||c.cw();if(this.enabled()&&b&&c&&c.enabled()&&d==b){var d=this.cb.Pa(),e,f;this.rc()?(e=a.clientX,f=d.left+um(this.O().ja()).x,d=(e-f)/d.width):(e=a.clientY,f=d.top+um(this.O().ja()).y,d=(d.height-(e-f))/d.height);var h,d=b.Dc(d);if(b instanceof tD)a=b.Hh(d),h=this.ca[a.sourceIndex],b=c.$b(),f=b.hd(),"single"==f.Ac()?this.Fc={na:c,Cb:h}:this.Fc=[{na:c,Cb:h,Hm:h[h.length-1],ic:{index:h[h.length-1],Pd:0}}];else if(b instanceof nD&&c){f=uA(c);h=Infinity;
for(var k=NaN,l=b.Zq(),n=b.Xq();f.advance();){e=f.get(c.Wb?c.Wb.gh:c.ys[1]);e=ce(e,l,n);var p=Math.abs(d-e);h>p&&(h=p,k=e)}h=[];f=uA(c);for(d=k;f.advance();)e=f.get(c.Wb?c.Wb.gh:c.ys[1]),e=ce(e,l,n),e==d&&h.push(f.La());b&&c&&(b=c.$b(),f=b.hd(),"single"==f.Ac()?(this.Fc&&!fb(h,function(a){return jb(this.Fc.Cb,a)},this)&&b.dispatchEvent(LA(b,"hovered",a,[{na:c,Cb:[],ic:{index:this.Fc.Cb[this.Fc.Cb.length-1],Pd:0}}],!1)),this.Fc={na:c,Cb:h}):this.Fc=[{na:c,Cb:h,Hm:h[h.length-1],ic:{index:h[h.length-
1],Pd:0}}])}gM(this,d)}};g.qJ=function(){hM(this);var a=this.j;a&&(this.f=a)};g.remove=function(){dM.F.remove.call(this);this.b&&this.b.remove()};g.I=function(){var a=dM.F.I.call(this);a.marker=this.Nw().I();a.colorLineSize=this.jr();a.length=this.length();a.align=this.vq();return a};g.aa=function(a,b){dM.F.aa.call(this,a,b);this.Nw(a.marker);this.jr(a.colorLineSize);this.length(a.length);this.vq(a.align)};var jM=dM.prototype;jM.marker=jM.Nw;jM.colorLineSize=jM.jr;jM.length=jM.length;jM.align=jM.vq;function kM(){tE.call(this)}G(kM,tE);g=kM.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.by();var d=this.dy(),e=this.cn(),f=this.fn(),h=this.an(),k=this.en(),l=c.series,n=l.Qa();n.select(c.nearestPointToCursor.point.index);var p=O(n.R("x")),n=O(n.R("value"));if(isNaN(p)||isNaN(n))n=UL(l).value,p=n.x,n=n.y;var l=this.Aa.scale(),n=l.Dc(p,n),p=n[0],n=n[1],r=
l.wg(p),l=l.dg(n);0r?(e&&"none"!=e&&lM(this,a,this.g,p),h.enabled()&&mM(this,a,h,p)):xE(this);0l?(f&&"none"!=f&&lM(this,d,this.j,n),k.enabled()&&mM(this,d,k,n)):yE(this)}else this.dc()};
g.update=function(a,b){if(this.enabled()){var c,d;m(a)?c=parseFloat(a):c=m(this.P)?this.P:0;m(b)?d=parseFloat(b):d=m(this.U)?this.U:0;c=this.Aa.kw(c,d);var e=this.Aa.Dc(c.x,c.y);c=e["long"];d=e.lat;var f=this.Aa.scale(),h=f.wg(e.x),e=f.dg(e.y),f=this.by(),k=this.dy(),l=this.cn(),n=this.fn(),p=this.an(),r=this.en();0h&&0e?(f&&zE(f)?(l&&"none"!=l&&lM(this,f,this.g,c),p.enabled()&&mM(this,f,p,c)):xE(this),k&&zE(k)?n&&"none"!=n&&(lM(this,k,this.j,d),r.enabled()&&mM(this,k,r,d)):yE(this)):
this.dc()}};g.zk=function(a){this.P=a.clientX;this.U=a.clientY;this.update(a.clientX,a.clientY)};g.wq=function(a){if(!Rr(this.Aa,a.relatedTarget)){this.P=a.clientX;this.U=a.clientY;a=this.Aa.kw(a.clientX,a.clientY);var b=this.Aa.Dc(a.x,a.y),c=this.Aa.scale();a=c.wg(b.x);b=c.dg(b.y);(0>a||1b||1=a&&(" "===a||"\n"===a||"\t"===a||"\r"===a||"\f"===a)}function vM(a){for(;a.ba.f[a.b]||"9"=a.f[a.b];)a.b+=1;if(a.b!==k)for(var l=a.b-1,n=1;l>=k;)c+=n*(a.f[l]-0),--l,n*=10;if(a.b=a.i||"0">a.f[a.b]||"9"=a.f[a.b];)d.push(a.f[a.b]-0),a.b+=1}if(a.b!==h&&a.b+1=a.i||"0">a.f[a.b]||"9"=a.f[a.b];)b*=10,b+=a.f[a.b]-0,a.b+=1}c+=parseFloat("0."+d.join(""));c*=e;b&&(c*=Math.pow(10,f*b));if(h===a.b)return null;yM(a);return c}function AM(a){if(a.b>=a.i)return null;var b;b=a.f[a.b];a.b+=1;if("0"===b)b=0;else if("1"===b)b=1;else return null;yM(a);return b};function BM(){}ga(BM);BM.prototype.Ob=function(){return"svg"};BM.prototype.f=function(a){this.i=B(a)?(new DOMParser).parseFromString(a,"text/xml"):a;this.b={};a=this.i.getElementsByTagName("defs");var b,c,d,e,f;c=0;for(d=a.length;c