/*
 FusionCharts JavaScript Library
 Copyright FusionCharts Technologies LLP
 License Information at <http://www.fusioncharts.com/license>

 @author FusionCharts Technologies LLP
 @version fusioncharts/3.2.3-release.4749
*/
(function(){var F=FusionCharts(["private","modules.renderer.highcharts-lib"]);if(F!==void 0){var h="",Q="0",m=".",la=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,e=/msie/i.test(navigator.userAgent)&&!window.opera,I=/\s+/g,b=/^#?/,g=/^rgba/i,y=/[#\s]/ig,p=/\{br\}/ig,B=Math.abs,C=Math.pow,ba=Object.prototype.toString,ra=function(b,h){return!b&&b!==!1&&b!==0?h:b},Oa=function(){var b,g,t;g=0;for(t=arguments.length;g<t;g+=1)if((b=arguments[g])||
!(b!==!1&&b!==0))return b;return h},x=function(){var b,h,t;h=0;for(t=arguments.length;h<t;h+=1)if((b=arguments[h])||!(b!==!1&&b!==0))return b},M=function(){var b,h,t;h=0;for(t=arguments.length;h<t;h+=1)if((b=arguments[h])||!(b!==!1&&b!==0))if(!isNaN(b=Number(b)))return b},Xa=function(b,h){b=!b&&b!==!1&&b!==0?NaN:Number(b);return isNaN(b)?null:h?B(b):b},tb=function(b){return typeof b==="string"?b.replace(p,"<br />"):h},pb=function(b,h){var t,g;if(h instanceof Array)for(t=0;t<h.length;t+=1)typeof h[t]!==
"object"?b[t]=h[t]:(typeof b[t]!=="object"&&(b[t]=h[t]instanceof Array?[]:{}),pb(b[t],h[t]));else for(t in h)typeof h[t]==="object"?(g=ba.call(h[t]),g==="[object Object]"?(typeof b[t]!=="object"&&(b[t]={}),pb(b[t],h[t])):g==="[object Array]"?(b[t]instanceof Array||(b[t]=[]),pb(b[t],h[t])):b[t]=h[t]):b[t]=h[t];return b},Eb=function(b,h){if(typeof b!=="object"&&typeof h!=="object")return null;typeof h!=="object"&&(h=b,b=void 0);typeof b!=="object"&&(b=h instanceof Array?[]:{});pb(b,h);return b},ub=
function(b,h){b=Number(b);b=isNaN(b)?100:b;h!==void 0&&(b=b*h/100);return b%101},G=function(b,h,t){var b=b.split(","),g;t!==void 0&&(t=M(t.split(",")[0]));b[0]=ub(b[0],t);for(g=1;g<h;g+=1)b[g]=b[0]*ub(b[g],t)/100;return b.join(",")},T=function(b,e,t){var p=0,ka=0,V=0;t&&t.match(g)&&(t=t.split(","),p=t[0].slice(t[0].indexOf("(")+1),ka=t[1],V=t[2],!e&&e!==0&&(e=parseInt(t[3].slice(0,t[3].indexOf(")"))*100,10)));if(b)if(b.match(g))t=b.split(","),p=t[0].slice(t[0].indexOf("(")+1),ka=t[1],V=t[2];else{b=
b.replace(y,h).split(",")[0];switch(b.length){case 3:b=b[0]+b[0]+b[1]+b[1]+b[2]+b[2];break;case 6:break;default:b=(b+"FFFFFF").slice(0,6)}p=parseInt(b.slice(0,2),16);ka=parseInt(b.slice(2,4),16);V=parseInt(b.slice(4,6),16)}!e&&e!=0&&(e=100);typeof e==="string"&&(e=e.split(",")[0]);e=parseInt(e,10)/100;return"rgba("+p+","+ka+","+V+","+e+")"},R=function(b,g){g=g<0||g>100?100:g;g/=100;var b=b.replace(y,h),t=parseInt(b,16),e=Math.floor(t/65536),p=Math.floor((t-e*65536)/256);return("000000"+(e*g<<16|p*
g<<8|(t-e*65536-p*256)*g).toString(16)).slice(-6)},Ya=function(b,g){g=g<0||g>100?100:g;g/=100;var b=b.replace(y,h),t=parseInt(b,16),e=Math.floor(t/65536),p=Math.floor((t-e*65536)/256);return("000000"+(256-(256-e)*g<<16|256-(256-p)*g<<8|256-(256-(t-e*65536-p*256))*g).toString(16)).slice(-6)},cb={circle:"circle",triangle:"triangle",square:"square",diamond:"diamond",poly:"poly_"},Ma,yb=function(){function b(E){var h;if(E&&E.offsetWidth&&E.offsetHeight){if(E.appendChild)return E.appendChild(h=document.createElement("span")),
h.className="_SmartLabel_Container",h}else if((E=document.getElementsByTagName("body")[0])&&E.appendChild)return h=document.createElement("span"),h.className="_SmartLabel_Container",x+=1,E.appendChild(h),h}function h(b,E,g){g.innerHTML=b;var t,e,p,bb=g.offsetWidth;t=E;e=Math.ceil(E/z);if(bb<E)return b.length-1;if(e>b.length)t=E-bb,e=b.length;for(;t>0;)if(g.innerHTML=b.substr(0,e),t=E-g.offsetWidth,p=Math.floor(t/z))e+=p;else return e;for(e+=p;t<0;)if(g.innerHTML=b.substr(0,e),t=E-g.offsetWidth,p=
Math.floor(t/z))e+=p;else break;return e}function g(E,h,t){if(!(typeof E==="undefined"||typeof E==="object"))this.id=E,typeof h==="string"&&(h=document.getElementById(h)),this.parentContainer=h,this.container=b(h,E),this.showNoEllipses=!t,this.init=!0,this.style={}}var p={font:"font",fontFamily:"font-family","font-family":"font-family",fontWeight:"font-weight","font-weight":"font-weight",fontSize:"font-size","font-size":"font-size",lineHeight:"line-height","line-height":"line-height",textDecoration:"text-decoration",
"text-decoration":"text-decoration",color:"color",whiteSpace:"white-space","white-space":"white-space",padding:"padding",margin:"margin",background:"background",backgroundColor:"background-color","background-color":"background-color",backgroundImage:"background-image","background-image":"background-image",backgroundPosition:"background-position","background-position":"background-position",backgroundPositionLeft:"background-position-left","background-position-left":"background-position-left",backgroundPositionTop:"background-position-top",
"background-position-top":"background-position-top",backgroundRepeat:"background-repeat","background-repeat":"background-repeat",border:"border",borderColor:"border-color","border-color":"border-color",borderStyle:"border-style","border-style":"border-style",borderThickness:"border-thickness","border-thickness":"border-thickness",borderTop:"border-top","border-top":"border-top",borderTopColor:"border-top-color","border-top-color":"border-top-color",borderTopStyle:"border-top-style","border-top-style":"border-top-style",
borderTopThickness:"border-top-thickness","border-top-thickness":"border-top-thickness",borderRight:"border-right","border-right":"border-right",borderRightColor:"border-right-color","border-right-color":"border-right-color",borderRightStyle:"border-right-style","border-right-style":"border-right-style",borderRightThickness:"border-right-thickness","border-right-thickness":"border-right-thickness",borderBottom:"border-bottom","border-bottom":"border-bottom",borderBottomColor:"border-bottom-color",
"border-bottom-color":"border-bottom-color",borderBottomStyle:"border-bottom-style","border-bottom-style":"border-bottom-style",borderBottomThickness:"border-bottom-thickness","border-bottom-thickness":"border-bottom-thickness",borderLeft:"border-left","border-left":"border-left",borderLeftColor:"border-left-color","border-left-color":"border-left-color",borderLeftStyle:"border-left-style","border-left-Style":"border-left-style",borderLeftThickness:"border-left-thickness","border-left-thickness":"border-left-thickness"};
Ma=function(){var b=document.createElement("span"),E,h={lineHeight:!0,"line-height":!0},g=function(){return M(parseInt(b.style.fontSize,10),10)*1.4+"px"};b.innerHTML="fy";E=window.getComputedStyle?function(){return window.getComputedStyle(b,null).getPropertyValue("line-height")}:b.currentStyle?function(){return b.currentStyle.lineHeight}:g;return function(t){var bb,gb="";for(bb in t)!h[bb]&&p[bb]&&(gb+=p[bb]+" : "+t[bb]+";");e&&!la?b.style.setAttribute("cssText",gb):b.setAttribute("style",gb);bb=
E();parseFloat(bb)||(bb=g());return t.lineHeight=bb}}();var m={position:"absolute",top:"-9999em",whiteSpace:"nowrap"},V=0,E=/\b_SmartLabel\b/,bb=/\b_SmartLabelBR\b/,gb=/(\<[^\<\>]+?\>)|(&(?:[a-z]+|#[0-9]+);|.)/ig,B=RegExp("<span[^>]+?_SmartLabel[^>]+?>(.*?)</span>","ig"),aa=/<[^>][^<]*[^>]+>/i,C=0,W=0,z=0,y=0,x=0,ia,G,F;document.getElementsByClassName?(ia="getElementsByClassName",G="_SmartLabel",F=!0):(ia="getElementsByTagName",G="span",F=!1);g.prototype={dispose:function(){var b=this.container,E;
if(this.init){if(b&&(E=b.parentNode))E.removeChild(b),delete this.container;delete this.id;delete this.style;delete this.parentContainer;delete this.showNoEllipses}},useEllipsesOnOverflow:function(b){if(this.init)this.showNoEllipses=!b},getSmartText:function(g,t,e,p){if(!this.init)return!1;if(!this.container)this.container=b(this.parentContainer),this.setStyle();var z={text:g,maxWidth:t,maxHeight:e,width:null,height:null,oriTextWidth:null,oriTextHeight:null,oriText:g,isTruncated:!1},m=!1,ea,ka,x,
M,Na=-1,R=-1,Q=-1,I=this.container,T=[],ba=this.showNoEllipses?"":"...",ra=function(f){for(var f=f.replace(/^\s\s*/,""),d=/\s/,k=f.length;d.test(f.charAt(k-=1)););return f.slice(0,k+1)};if(I){I.innerHTML=g;z.oriTextWidth=x=I.offsetWidth;z.oriTextHeight=m=I.offsetHeight;if(m<=e&&x<=t)return z.width=z.oriTextWidth=x,z.height=z.oriTextHeight=m,z;if(C>e)return z.text="",z.width=z.oriTextWidth=0,z.height=z.oriTextHeight=0,z;g=ra(g).replace(/(\s+)/g," ");m=aa.test(g);i=0;x=this.showNoEllipses?t:t-V;if(m){M=
g.replace(gb,"$2");g=g.replace(gb,'$1<span class="_SmartLabel">$2</span>');g=g.replace(/(\<br\s*\/*\>)/g,"<span class='_SmartLabel _SmartLabelBR'>$1</span>");I.innerHTML=g;for(var m=I[ia](G),d,ra=[],k=-1,l=-1,Na=0,R=m.length;Na<R;Na+=1)if(g=m[Na],F||E.test(g.className))if(d=g.innerHTML,d!=""){if(d==" ")l=ra.length;else if(d=="-")k=ra.length;ra.push({spaceIdx:l,dashIdx:k,elem:g});T.push(d)}delete m;i=0;m=ra.length;W=ra[0].elem.offsetWidth;if(W>t)return z.text="",z.width=z.oriTextWidth=z.height=z.oriTextHeight=
0,z;else W>x&&!this.showNoEllipses&&(x=t-2*y,x>W?ba="..":(x=t-y,x>W?ba=".":(x=0,ba="")));if(p)for(;i<m;i+=1)g=ra[i].elem,p=g.offsetLeft+g.offsetWidth,p>x&&(ka||(ka=i),I.offsetWidth>t&&(ea=i,i=m));else for(;i<m;i+=1)if(g=ra[i].elem,Na=g.offsetHeight+g.offsetTop,p=g.offsetLeft+g.offsetWidth,T=null,p>x){if(ka||(ka=i),p>t)R=ra[i].spaceIdx,Na=ra[i].dashIdx,R>Q?(ra[R].elem.innerHTML="<br/>",Q=R):Na>Q?(ra[Na].elem.innerHTML=Na===i?"<br/>-":"-<br/>",Q=Na):g.parentNode.insertBefore(T=document.createElement("br"),
g),g.offsetHeight+g.offsetTop>e?(T?T.parentNode.removeChild(T):Q===Na?ra[Na].elem.innerHTML="-":ra[R].elem.innerHTML=" ",ea=i,i=m):ka=null}else Na>e&&(ea=i,i=m);if(ea<m){z.isTruncated=!0;ka=ka?ka:ea;for(i=m-1;i>=ka;i-=1)g=ra[i].elem,g.parentNode.removeChild(g);for(;i>=0;i-=1)g=ra[i].elem,bb.test(g.className)?g.parentNode.removeChild(g):i=0}z.text=I.innerHTML.replace(B,"$1");if(z.isTruncated)z.text+=ba,z.text='<span title="'+M+'">'+z.text+"</span>"}else{T=g.split("");m=T.length;ea="";ka=[];I.innerHTML=
T[0];W=I.offsetWidth;if(x>W)ka=g.substr(0,h(g,x,I)).split(""),i=ka.length-1;else if(W>t)return z.text="",z.width=z.oriTextWidth=z.height=z.oriTextHeight=0,z;else this.showNoEllipses||(x=t-2*y,x>W?ba="..":(x=t-y,x>W?ba=".":(x=0,ba="")));if(p)for(;i<m;i+=1){if(ka[i]=T[i],I.innerHTML=M=ka.join(""),I.offsetWidth>x&&(ea||(ea=M.substr(0,M.length-1)),I.offsetWidth>t))return I.innerHTML=z.text='<span title="'+z.oriText+'">'+ra(ea)+ba+"</span>",z.width=I.offsetWidth,z.height=I.offsetHeight,z}else for(;i<m;i+=
1)if(ka[i]=T[i],I.innerHTML=M=ka.join(""),I.offsetWidth>x&&(ea||(ea=M.substr(0,M.length-1)),I.offsetWidth>t))if(R=g.substr(0,ka.length).lastIndexOf(" "),Na=g.substr(0,ka.length).lastIndexOf("-"),R>Q?(ka.splice(R,1,"<br/>"),Q=R,p=R+1):Na>Q?(Na===ka.length-1?ka.splice(Na,1,"<br/>-"):ka.splice(Na,1,"-<br/>"),Q=Na,p=Na+1):(ka.splice(ka.length-1,1,"<br/>"+T[i]),p=i),I.innerHTML=M=ka.join(""),I.offsetHeight>e)return z.text=I.innerHTML="<span title='"+z.oriText+"'>"+ra(ea)+ba+"</span>",z.width=I.offsetWidth,
z.height=I.offsetHeight,z;else ea=null,Na=h(g.substr(p),x,I),ka.length<p+Na&&(ka=ka.concat(g.substr(ka.length,p+Na-ka.length).split("")),i=ka.length-1);z.text=I.innerHTML=M;z.width=I.offsetWidth;z.height=I.offsetHeight;return z}z.height=I.offsetHeight;z.width=I.offsetWidth}else z.error=Error("Body Tag Missing!");return z},setStyle:function(b){if(!this.init)return!1;var g;if(b!==this.style||this.styleNotSet){if(b){if(this.style&&this.container)for(g in this.style)b[g]||(this.container.style[g]="");
delete this.style;this.style=b}if(this.container){b=this.container;g=this.style;for(var E in g)b.style[E]=g[E];for(E in m)b.style[E]=m[E];this.container.innerHTML="WgI";z=Math.ceil(this.container.offsetWidth/3);C=this.container.offsetHeight;this.container.innerHTML="...";V=this.container.offsetWidth;this.container.innerHTML=".";y=this.container.offsetWidth;this.styleNotSet=!1}else this.styleNotSet=!0}},getTextSize:function(g,E,h){if(!this.init)return!1;if(!this.container)this.container=b(this.parentContainer),
this.setStyle();var t={text:g,width:null,height:null,oriTextWidth:null,oriTextHeight:null,isTruncated:!1},e=this.container;if(e&&(e.innerHTML=g,t.oriTextWidth=e.offsetWidth,t.oriTextHeight=e.offsetHeight,t.width=Math.min(t.oriTextWidth,E),t.height=Math.min(t.oriTextHeight,h),t.width<t.oriTextWidth||t.height<t.oriTextHeight))t.isTruncated=!0;return t},getOriSize:function(g){if(!this.init)return!1;if(!this.container)this.container=b(this.parentContainer),this.setStyle();var E={text:g,width:null,height:null},
h=this.container;if(h)h.innerHTML=g,E.width=h.offsetWidth,E.height=h.offsetHeight;return E}};return g.prototype.constructor=g}(),Y=function(){var b={top:{align:"center",verticalAlign:"top",textAlign:"center"},right:{align:"right",verticalAlign:"middle",textAlign:"left"},bottom:{align:"center",verticalAlign:"bottom",textAlign:"center"},left:{align:"left",verticalAlign:"middle",textAlign:"right"}},g=/([^\,^\s]+)\)$/g,h=function(b,g){var h;if(/^(bar|bar3d)$/.test(b))this.isBar=!0,this.yPos="bottom",
this.yOppPos="top",this.xPos="left",this.xOppPos="right";h=parseInt(g.labelstep,10);this.labelStep=h>1?h:1;this.showLabel=M(g.showlabels,g.shownames,1);this.is3D=/3d$/.test(b)};h.prototype={isBar:!1,yPos:"left",yOppPos:"right",xPos:"bottom",xOppPos:"top",addAxisGridLine:function(h,t,e,E,p,gb,m,aa){var y=e===""?!1:!0,B=E>0||gb.match(g)[1]>0?!0:!1;if(y||B){B||(gb="rgba(0,0,0,0)",E=0.1);t={isGrid:!0,width:E,dashStyle:p,color:gb,value:t,zIndex:m===void 0?2:m};if(y)aa=h.opposite?aa?this.xOppPos:this.yOppPos:
aa?this.xPos:this.yPos,aa=b[aa],t.label={text:e,style:h.labels.style,textAlign:aa.textAlign,align:aa.align,verticalAlign:aa.verticalAlign,rotation:0,x:0,y:0};h.plotLines.push(t)}},addAxisAltGrid:function(b,g){if(!this.is3D){var h=M(b._lastValue,b.min),E=x(b._altGrid,!1);E&&b.plotBands.push({isGrid:!0,color:b.alternateGridColor,to:g,from:h,zIndex:1});b._lastValue=g;b._altGrid=!E}},addXaxisCat:function(g,h,t,E){t%this.labelStep===0&&(t=g.opposite?this.xOppPos:this.xPos,t=b[t],h={isGrid:!0,width:0.1,
color:"rgba(0,0,0,0)",value:h,label:{text:E,style:g.labels.style,textAlign:t.textAlign,align:t.align,verticalAlign:t.verticalAlign,rotation:0,x:0,y:0}},g.plotLines.push(h))},addVline:function(b,g,h,E){var t=E._FCconf,e=t.isBar,E=E.chart.plotBorderWidth,p=E%2,m=t.divlineStyle,y=tb(g.label),B=Boolean(M(g.showlabelborder,t.showVLineLabelBorder,1)),z=Boolean(M(g.showlabelbackground,1)),ob=x(g.labelhalign,e?"left":"center"),C=x(g.labelvalign,e?"middle":"bottom").toLowerCase(),I=M(g.labelposition,0),G=
M(g.lineposition,0.5),R=M(g.alpha,t.vLineAlpha,80),Q=x(g.color,t.vLineColor,"333333").replace(/^#?/,"#"),F=x(g.labelbgcolor,t.vLineLabelBgColor,"333333").replace(/^#?/,"#"),ba=Q,ra=M(g.thickness,t.vLineThickness,1),sb=ra*0.5,Y=Boolean(Number(x(g.dashed,0))),la=M(g.dashlen,5),Oa=M(g.dashgap,2),ta=t.smartLabel,Ea=parseInt(m.fontSize,10)+2,Ma=0,Xa=M(g.rotatelabel,t.rotateVLineLabels)?270:0,G=G<0||G>1?0.5:G,I=I<0||I>1?0:I;ta.setStyle(m);ta=ta.getOriSize(y);Q=T(Q,R);if(e){switch(C){case "top":Ea-=ta.height+
sb+2;break;case "middle":Ea-=ta.height*0.5+1;break;default:Ea+=sb}g.labelhalign||(Ma-=ta.width*I)}else{switch(C){case "top":Ea-=ta.height+2+(E||1)*(1-I)+I;break;case "middle":Ea-=ta.height*0.5+E*(1-I*2);break;default:Ea+=(E-p)*I}switch(ob){case "left":Ma+=ra;break;case "right":Ma-=ra+1}}b.plotLines.push({isVline:!0,color:Q,width:ra,value:h-1+G,zIndex:!t.is3d&&g.showontop==="1"?5:3,dashStyle:Y?hb(la,Oa,ra):void 0,label:{text:y,align:e?"left":"center",offsetScale:I,rotation:Xa,y:Ea,x:Ma,textAlign:ob,
style:{color:ba,fontSize:m.fontSize,fontFamily:m.fontFamily,lineHeight:m.lineHeight,border:B?"1px solid":void 0,borderColor:B?ba:void 0,backgroundColor:z?F:void 0,backgroundOpacity:z?x(g.labelbgalpha,t.vLineLabelBgAlpha)/100:0}}})}};return h.prototype.constructor=h}(),vb=function(){function b(g,h,t){var e;if(h<=0)return String(Math.round(g));if(isNaN(h))return g=g.toString(),g.length>12&&g.indexOf(m)!=-1&&(h=12-g.split(m)[0].length,e=C(10,h),g=String(Math.round(g*e)/e)),g;e=C(10,h);g=String(Math.round(g*
e)/e);if(t==1){g.indexOf(m)==-1&&(g+=".0");t=g.split(m);h-=t[1].length;for(t=1;t<=h;t++)g+=Q}return g}function g(b,t,e){var p=Number(b);if(isNaN(p))return h;var y=h,B=!1,C=h,z=h,ea=C=0,C=0,ea=b.length;b.indexOf(m)!=-1&&(y=b.substring(b.indexOf(m)+1,b.length),ea=b.indexOf(m));p<0&&(B=!0,C=1);C=b.substring(C,ea);if(C.length>3){b=C.length;for(p=0;p<=b;p++)z=p>2&&(p-1)%3==0?C.charAt(b-p)+e+z:C.charAt(b-p)+z}else z=C;y!=h&&(z=z+t+y);B==!0&&(z="-"+z);return z}var t={formatnumber:"1",formatnumberscale:"1",
defaultnumberscale:h,numberscaleunit:["K","M"],numberscalevalue:[1E3,1E3],numberprefix:h,numbersuffix:h,decimals:h,forcedecimals:Q,yaxisvaluedecimals:"2",decimalseparator:m,thousandseparator:",",indecimalseparator:h,inthousandseparator:h,sformatnumber:"1",sformatnumberscale:Q,sdefaultnumberscale:h,snumberscaleunit:["K","M"],snumberscalevalue:[1E3,1E3],snumberprefix:h,snumbersuffix:h,sdecimals:"2",sforcedecimals:Q,syaxisvaluedecimals:"2",xFormatNumber:Q,xFormatNumberScale:Q,xDefaultNumberScale:h,xNumberScaleUnit:["K",
"M"],xNumberScaleValue:[1E3,1E3],xNumberPrefix:h,xNumberSuffix:h},e={mscombidy2d:{formatnumberscale:"1"}},p=function(b,g){var h,p,m,y,C=g.name,z=e[C];typeof z!=="object"&&(z=t);ra(b.numberscaleunit)&&(h=b.numberscaleunit.split(","));ra(b.snumberscaleunit)&&(p=b.snumberscaleunit.split(","));ra(b.numberscalevalue)&&(m=b.numberscalevalue.split(","));ra(b.snumberscalevalue)&&(y=b.snumberscalevalue.split(","));g||(g={});var B=M(b.scalerecursively,0),ob=M(b.maxscalerecursion,-1),V=ra(b.scaleseparator," ");
if(!ob||ob==0)ob=-1;this.paramLabels=h={formatnumber:x(b.formatnumber,g.formatnumber,z.formatnumber,t.formatnumber),formatnumberscale:x(b.formatnumberscale,g.formatnumberscale,z.formatnumberscale,t.formatnumberscale),defaultnumberscale:Oa(b.defaultnumberscale,g.defaultnumberscale,z.defaultnumberscale,t.defaultnumberscale),numberscaleunit:x(h,g.numberscaleunit,z.numberscaleunit,t.numberscaleunit),numberscalevalue:x(m,g.numberscalevalue,z.numberscalevalue,t.numberscalevalue),numberprefix:Oa(b.numberprefix,
g.numberprefix,z.numberprefix,t.numberprefix),numbersuffix:Oa(b.numbersuffix,g.numbersuffix,z.numbersuffix,t.numbersuffix),decimalprecision:parseInt(x(b.decimals,b.decimalprecision,g.decimals,z.decimals,t.decimals,g.decimalprecision,z.decimalprecision,t.decimalprecision),10),forcedecimals:x(b.forcedecimals,g.forcedecimals,z.forcedecimals,t.forcedecimals),decimalseparator:x(b.decimalseparator,g.decimalseparator,z.decimalseparator,t.decimalseparator),thousandseparator:x(b.thousandseparator,g.thousandseparator,
z.thousandseparator,t.thousandseparator),indecimalseparator:Oa(b.indecimalseparator,g.indecimalseparator,z.indecimalseparator,t.indecimalseparator),inthousandseparator:Oa(b.inthousandseparator,g.inthousandseparator,z.inthousandseparator,t.inthousandseparator),scalerecursively:B,maxscalerecursion:ob,scaleseparator:V};if(!g.useScaleRecursively||(h.numberscalevalue&&h.numberscalevalue.length)!=(h.numberscaleunit&&h.numberscaleunit.length))h.scalerecursively=B=0;B&&(h.numberscalevalue.push(1),h.numberscaleunit.unshift(this.paramLabels.defaultnumberscale));
this.param1=m={formatnumber:h.formatnumber,formatnumberscale:h.formatnumberscale,defaultnumberscale:h.defaultnumberscale,numberscaleunit:h.numberscaleunit,numberscalevalue:h.numberscalevalue,numberprefix:h.numberprefix,numbersuffix:h.numbersuffix,decimalprecision:parseInt(x(b.yaxisvaluedecimals,h.decimalprecision)),forcedecimals:x(b.forceyaxisvaluedecimals,h.forcedecimals),decimalseparator:h.decimalseparator,thousandseparator:h.thousandseparator,indecimalseparator:h.indecimalseparator,inthousandseparator:h.inthousandseparator,
scalerecursively:B,maxscalerecursion:ob,scaleseparator:V};this.paramX={formatnumber:x(b.xformatnumber,h.formatnumber),formatnumberscale:x(b.xformatnumberscale,h.formatnumberscale),defaultnumberscale:Oa(b.xdefaultnumberscale,h.defaultnumberscale),numberscaleunit:x(b.xnumberscaleunit,h.numberscaleunit),numberscalevalue:x(b.xnumberscalevalue,h.numberscalevalue),numberprefix:x(b.xnumberprefix,h.numberprefix),numbersuffix:x(b.xnumbersuffix,h.numbersuffix),decimalprecision:parseInt(x(b.xaxisvaluedecimals,
b.xaxisvaluesdecimals,h.decimalprecision)),forcedecimals:x(b.forcexaxisvaluedecimals,0),decimalseparator:h.decimalseparator,thousandseparator:h.thousandseparator,indecimalseparator:h.indecimalseparator,inthousandseparator:h.inthousandseparator,scalerecursively:B,maxscalerecursion:ob,scaleseparator:V};this.param2={formatnumber:x(b.sformatnumber,g.sformatnumber,t.sformatnumber),formatnumberscale:x(b.sformatnumberscale,g.sformatnumberscale,t.sformatnumberscale),defaultnumberscale:Oa(b.sdefaultnumberscale,
g.sdefaultnumberscale,t.sdefaultnumberscale),numberscaleunit:x(p,g.snumberscaleunit,t.snumberscaleunit),numberscalevalue:x(y,g.snumberscalevalue,t.snumberscalevalue),numberprefix:Oa(b.snumberprefix,g.snumberprefix,t.snumberprefix),numbersuffix:Oa(b.snumbersuffix,g.snumbersuffix,t.snumbersuffix),decimalprecision:parseInt(x(b.syaxisvaluedecimals,b.sdecimals,g.sdecimals,t.sdecimals),10),forcedecimals:x(b.forcesyaxisvaluedecimals,b.sforcedecimals,g.sforcedecimals,t.sforcedecimals),decimalseparator:x(b.decimalseparator,
g.decimalseparator,t.decimalseparator),thousandseparator:x(b.thousandseparator,g.thousandseparator,t.thousandseparator),indecimalseparator:x(b.indecimalseparator,g.indecimalseparator,t.indecimalseparator),inthousandseparator:x(b.inthousandseparator,g.inthousandseparator,t.inthousandseparator),scalerecursively:B,maxscalerecursion:ob,scaleseparator:V};this.paramScale={formatnumber:x(b.tickformatnumber,h.formatnumber),formatnumberscale:x(b.tickformatnumberscale,h.formatnumberscale),defaultnumberscale:Oa(b.tickdefaultnumberscale,
h.defaultnumberscale),numberscaleunit:x(b.ticknumberscaleunit,h.numberscaleunit),numberscalevalue:x(b.ticknumberscalevalue,h.numberscalevalue),numberprefix:x(b.ticknumberprefix,h.numberprefix),numbersuffix:x(b.ticknumbersuffix,h.numbersuffix),decimalprecision:parseInt(x(b.tickvaluedecimals,h.decimalprecision,"2")),forcedecimals:x(b.forcetickvaluedecimals,h.forcedecimals,0),decimalseparator:h.decimalseparator,thousandseparator:h.thousandseparator,indecimalseparator:h.indecimalseparator,inthousandseparator:h.inthousandseparator,
scalerecursively:B,maxscalerecursion:ob,scaleseparator:V};if(/^(bubble|scatter|selectscatter)$/.test(C))m.formatnumber=x(b.yformatnumber,m.formatnumber),m.formatnumberscale=x(b.yformatnumberscale,m.formatnumberscale),m.defaultnumberscale=Oa(b.ydefaultnumberscale,m.defaultnumberscale),m.numberscaleunit=x(b.ynumberscaleunit,m.numberscaleunit),m.numberscalevalue=x(b.ynumberscalevalue,m.numberscalevalue),m.numberprefix=x(b.ynumberprefix,m.numberprefix),m.numbersuffix=x(b.ynumbersuffix,m.numbersuffix),
h.formatnumber=x(b.yformatnumber,h.formatnumber),h.formatnumberscale=x(b.yformatnumberscale,h.formatnumberscale),h.defaultnumberscale=Oa(b.ydefaultnumberscale,h.defaultnumberscale),h.numberscaleunit=x(b.ynumberscaleunit,h.numberscaleunit),h.numberscalevalue=x(b.ynumberscalevalue,h.numberscalevalue),h.numberprefix=x(b.ynumberprefix,h.numberprefix),h.numbersuffix=x(b.ynumbersuffix,h.numbersuffix);if(/^(mscombidy2d|mscombidy3d)$/.test(C))this.param2.formatnumberscale=M(b.sformatnumberscale,"1");if(/^(pie2d|pie3d|doughnut2d|doughnut3d|marimekko|pareto2d|pareto3d)$/.test(C))h.decimalprecision=
x(b.decimals,"2")};p.prototype={percentValue:function(h){var t=isNaN(this.paramLabels.decimalprecision)?"2":this.paramLabels.decimalprecision;return g(b(h,t,this.paramLabels.forcedecimals),this.paramLabels.decimalseparator,this.paramLabels.thousandseparator)+"%"},getCleanValue:function(b,g){var t=b,e=this.paramLabels.indecimalseparator,p=this.paramLabels.inthousandseparator;t+=h;ra(p)&&(p=p.replace(/(\W)/ig,"\\$1"),t=t.toString().replace(RegExp(p,"g"),h));ra(e)&&(t=t.replace(e,m));b=!isNaN(t=parseFloat(t))&&
isFinite(t)?t:NaN;return isNaN(b)?null:g?B(b):b},dataLabels:function(b,g){return y(b,g?this.param2:this.paramLabels)},yAxis:function(b){return y(b,this.param1)},xAxis:function(b){return y(b,this.paramX)},sYAxis:function(b){return y(b,this.param2)},scale:function(b){return y(b,this.paramScale)}};p.prototype.constructor=p;var y=function(t,e){if(t!==null){var t=Number(t),p=t+h,m;m=e.formatnumberscale==1?e.defaultnumberscale:h;var y;y=(y=p.split(".")[1])?y.length:e.forcedecimals?"2":h;if(e.formatnumberscale==
1){var C,p=t;C=e.numberscalevalue;m=e.numberscaleunit;var B={},z=e.defaultnumberscale,ea=0,V=[],ka=[];if(e.scalerecursively){for(ea=0;ea<C.length;ea++)if(Math.abs(Number(p))>=C[ea]&&ea<C.length-1)z=p%C[ea],p=(p-z)/C[ea],z!=0&&(V.push(z),ka.push(m[ea]));else{V.push(p);ka.push(m[ea]);break}V.reverse();ka.reverse();B.value=V;B.scale=ka}else{if(C.length===m.length)for(ea=0;ea<C.length;ea++)if(C[ea]&&Math.abs(Number(p))>=C[ea])z=m[ea]||h,p=Number(p)/C[ea];else break;B.value=p;B.scale=z}C=B;t=p=C.value;
m=C.scale}if(e.scalerecursively&&e.formatnumberscale!=0){y=C.value;C=C.scale;m=e.maxscalerecursion==-1?y.length:Math.min(y.length,e.maxscalerecursion);if(e.formatnumber==1){p="";for(V=0;V<m;V++)B=V==0?y[V]:Math.abs(y[V]),ea=String(B),V==m-1&&(ea=b(B,e.decimals,e.forcedecimals)),p=p+g(ea,e.decimalseparator,e.thousandseparator)+C[V]+(V<m-1?e.scaleseparator:"")}else{p="";for(V=0;V<m;V++)p=p+String(V==0?y[V]:Math.abs(y[V]))+C[V]+(V<m-1?e.scaleseparator:"")}p=(e.numberprefix||h)+p+(e.numbersuffix||h);
delete y;delete C}else e.formatnumber==1&&(p=b(t,x(e.decimalprecision,y),e.forcedecimals),p=g(p,e.decimalseparator,e.thousandseparator)),p=(e.numberprefix||h)+p+m+(e.numbersuffix||h);return p}};return p}(),ta=function(){var b=function(b,h,e,p,m){b=Math.abs(h-b);h=b/(e+1);g(b/(e+1))>g(p)&&(m&&Number(h)/Number(p)<(p>1?2:0.5)&&(p/=10),h=(Math.floor(h/p)+1)*p,b=h*(e+1));return b},g=function(b){var b=Math.abs(b),b=String(b),g=0,h=b.indexOf(m);h!=-1&&(g=b.length-h-1);return g};return function(t,e,p,m,C,
y,B,x){var I,t=isNaN(t)==!0||t==void 0?0.1:t,e=isNaN(e)==!0||e==void 0?0:e;t==e&&t==0&&(t=0.1);var y=typeof y===void 0?!0:y,M=Math.max(Math.floor(Math.log(Math.abs(e))/Math.LN10),Math.floor(Math.log(Math.abs(t))/Math.LN10));I=Math.pow(10,M);Math.abs(t)/I<2&&Math.abs(e)/I<2&&(M--,I=Math.pow(10,M));M=Math.pow(10,Math.floor(Math.log(t-e)/Math.LN10));t-e>0&&I/M>=10&&(I=M);var M=(Math.floor(t/I)+1)*I,G;e<0?G=-1*(Math.floor(Math.abs(e/I))+1)*I:y?G=0:(G=Math.floor(Math.abs(e/I)-1)*I,G=G<0?0:G);(typeof C===
void 0||C)&&t<=0&&(M=0);C=p==null||p==void 0||p==h?!1:!0;y=m==null||m==void 0||m==h||isNaN(Number(m))?!1:!0;t=C==!1||C==!0&&Number(p)<t?M:Number(p);e=y==!1||y==!0&&Number(m)>e?G:Number(m);m=Math.abs(t-e);if(y==!1&&C==!1&&x==!0)if(t>0&&e<0)for(var x=!1,p=I>10?I/10:I,C=b(e,t,B,p,!1)-(B+1)*p,z,R,Q,T;x==!1;){if(C+=(B+1)*p,!(g(C/(B+1))>g(p)))if(z=C-m,y=C/(B+1),G=Math.min(Math.abs(e),t),M=G==Math.abs(e)?-1:1,B==0)x=!0;else for(T=1;T<=Math.floor((B+1)/2);T++)R=y*T,!(R-G>z)&&R>G&&(Q=C-R,Q/y==Math.floor(Q/
y)&&R/y==Math.floor(R/y)&&(m=C,t=M==-1?Q:R,e=M==-1?-R:-Q,x=!0))}else x=b(e,t,B,I,!0),z=x-m,m=x,t>0?t+=z:e-=z;else if(x==!0&&B>0){x=0;for(p=1;;){z=B+x*p;z=z==0?1:z;if(!(g(m/(z+1))>g(I)))break;x=p==-1||x>B?++x:x;if(x>25){z=0;break}p=x<=B?p*-1:1}B=z}return{Max:t,Min:e,Range:m,interval:I,divGap:(t-e)/(B+1)}}}(),Ea=function(){var b=function(b,g){this.title.y=b.offsetHeight/2;if(g!==void 0)this.title.text=g};b.prototype={chart:{events:{},margin:[0,0,0,0]},credits:{href:"http://www.fusioncharts.com?BS=FCHSEvalMark",
text:"FusionCharts",enabled:!0},legend:{enabled:!1},title:{text:"Chart Placeholder",style:{fontFamily:"Verdana",fontSize:"10px",color:"#666666"}},plotOptions:{series:{}},series:[],exporting:{enabled:!1}};return b.prototype.constructor=b}(),wb={"true":{"true":"bottom","false":"top"},"false":{"true":"top","false":"bottom"}},lb=function(){var g=/^s$/i,e=function(){return{x:this.category,y:this.y,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},t=function(b){var g;
g={series:{},chart:this.chart,id:this.id,label:this.label,options:this.options,svgElm:this.svgElm,toolText:b,getLabelConfig:e,tooltipPos:[]};return{mouseover:function(b){var h=this.chart.plotTop;g.tooltipPos[0]=(b.layerX||b.x||b.offsetX||b.originalEvent&&b.originalEvent.layerX)-this.chart.plotLeft+20;g.tooltipPos[1]=(b.layerY||b.y||b.offsetY||b.originalEvent&&b.originalEvent.layerY)-h-15;this.chart.tooltip.refresh(g)},mousemove:function(b){var h=this.chart.plotTop;g.tooltipPos[0]=(b.layerX||b.x||
b.offsetX||b.originalEvent&&b.originalEvent.layerX)-this.chart.plotLeft+20;g.tooltipPos[1]=(b.layerY||b.y||b.offsetY||b.originalEvent&&b.originalEvent.layerY)-h-15;this.chart.tooltip.refresh(g)},mouseout:function(){this.chart.tooltip.hide()}}};return function(e,p,m,C,y,B){var I,G=m.trendStyle,R,W,z,F,ba,ra,sb,ya,Y,ta,la,Oa,Ea,Ma=parseInt(G.fontSize,10)/2+2;if(m.showTrendlines!=Q){I=0;for(W=e.length;I<W;I+=1)if(e[I].line){R=0;for(z=e[I].line.length;R<z;R+=1)if(F=e[I].line[R],Ea=F.allowdrag=="1",la=
M(F.startvalue,F.value,0),Oa=M(F.endvalue,la),Y=B?p:C&&F.parentyaxis&&g.test(F.parentyaxis)?p[1]:p[0],ra=Y.max,ba=Y.min,ra>=la&&ra>=Oa&&ba<=la&&ba<=Oa){ba=F.parentyaxis&&g.test(F.parentyaxis)?x(F.valueonleft,m.trendlineValuesOnOpp)!=="1":x(F.valueonright,m.trendlineValuesOnOpp)==="1";ra=Boolean(M(F.istrendzone,B?1:0));if(sb=m.showTrendlinesLabels?tb(x(F.displayvalue,m.numberFormatter[B?"xAxis":"dataLabels"](la))):h){if(ba={text:sb,textAlign:y?"center":ba?"left":"right",align:y?ra?"center":la<Oa?"right":
"left":ba?"right":"left",verticalAlign:y?"bottom":ra?"middle":wb[la>Oa][ba],rotation:0,x:0,y:y?Ma:2,style:Eb(G)},sb=x(F.color,m.trendlineColor),F.alwaysVisible=ra,sb)ba.style.color=sb.replace(b,"#")}else ba=void 0;ya=x(F.tooltext);sb=ya!==void 0?t(ya):{};if(Ea)sb.drag=function(){};ta=M(F.thickness,m.trendlineThickness,1);ra?Y.plotBands.push({isTrend:!0,color:T(x(F.color,m.trendlineColor),x(F.alpha,m.trendlineAlpha,40)),from:la,to:Oa,label:ba,zIndex:!m.is3d&&x(F.showontop,m.showTrendlinesOnTop)===
"1"?5:3,events:sb,tooltext:ya,alwaysVisible:F.alwaysVisible,dragable:Ea}):Y.plotLines.push({isTrend:!0,color:T(x(F.color,m.trendlineColor,m.trendlineColor),x(F.alpha,m.trendlineAlpha,99)),value:la,to:Oa,width:ta,dashStyle:x(F.dashed,m.trendlinesAreDashed)=="1"?hb(M(F.dashlen,m.trendlinesDashLen),M(F.dashgap,m.trendlinesDashGap),ta):void 0,label:ba,zIndex:!m.is3d&&x(F.showontop,m.showTrendlinesOnTop)==="1"?5:3,events:sb,tooltext:ya,dragable:Ea})}}}}}(),hb=function(b,g,h,e){if(e||e===void 0)return h=
h?h:1,M(b,5)/h+","+M(g,3)/h},Kb=function(){},Sb=function(b,g,h){var e,p=Sb[b];if(!p)p=function(){},p.prototype=h instanceof Kb?h:new Kb,p.prototype.constructor=p,p=Sb[b]=new p;if(h)p.base=h;p.name=b;for(e in g)switch(typeof g[e]){case "object":if(g[e]instanceof Kb){p[e]=g[e][e];break}default:p[e]=g[e];break;case "undefined":delete p[e]}return this instanceof Sb?(b=function(){},b.prototype=p,b.prototype.constructor=b,new b):p};F.extend(F.hcLib,{BLANKSTRINGPLACEHOLDER:"#BLANK#",BLANKSTRING:h,COLOR_BLACK:"000000",
COLOR_WHITE:"FFFFFF",COLOR_TRANSPARENT:"rgba(0,0,0,0)",HASHSTRING:"#",BREAKSTRING:"<br />",STRINGSTRING:"string",OBJECTSTRING:"object",COMMASTRING:",",ZEROSTRING:Q,SAMPLESTRING:"Ay0",TESTSTR:"Ag",ONESTRING:"1",DECIMALSTRING:m,STRINGUNDEFINED:"undefined",POSITION_TOP:"top",POSITION_RIGHT:"right",POSITION_BOTTOM:"bottom",POSITION_LEFT:"left",POSITION_CENTER:"center",POSITION_MIDDLE:"middle",FC_CONFIG_STRING:"_FCconf",HUNDREDSTRING:"100",PXSTRING:"px",COMMASPACE:", ",regex:{stripWhitespace:I,dropHash:b,
startsRGBA:g,cleanColorCode:y,breakPlaceholder:p,hexcode:/^#?[0-9a-f]{6}/i},extend2:Eb,pluck:x,pluckNumber:M,getFirstDefinedValue:function(){var b,g,e;g=0;for(e=arguments.length;g<e;g+=1)if((b=arguments[g])||!(b!==!1&&b!==0&&b!=h))return b},pluckFontSize:function(){var b,g,h;g=0;for(h=arguments.length;g<h;g+=1)if((b=arguments[g])||!(b!==!1&&b!==0))if(!isNaN(b=Number(b)))return b<1?1:b;return 1},getValidValue:ra,getDefinedColor:function(b,g){return!b&&b!=0&&b!=!1?g:b},getFirstValue:Oa,getFirstColor:function(g){g=
g.split(",")[0];g=g.replace(I,h);g==h&&(g="000000");return g.replace(b,"#")},getColorCodeString:function(b,g){var h="",e,p,m=0,C=g.split(",");for(p=C.length;m<p;m+=1)e=C[m].split("-"),h+=e.length===2?e[0].indexOf("dark")!=="-1"?Ya(b,100-parseInt(e[1],10))+",":R(b,100-parseInt(e[1],10))+",":C[m]+",";return h.substring(0,h.length-1)},pluckColor:function(g){if(ra(g))return g=g.split(",")[0],g=g.replace(I,h),g==h&&(g="000000"),g.replace(b,"#")},getFirstAlpha:function(b){b=parseInt(b,10);if(isNaN(b)||
b>100||b<0)b=100;return b},parsePointValue:Xa,parseUnsafeString:tb,toPrecision:function(b,g){var h=C(10,g);return Math.round(b*h)/h},stubFN:function(){},falseFN:function(){return!1},hasSVG:la,getLinkAction:function(b,g){return function(){var e,p,m,C,y;C=window;y=Oa(this.link,h);y=x(y,this.options&&this.options.chart&&this.options.chart.link||h,this.series&&this.series.chart&&this.series.chart.options&&this.series.chart.options.chart&&this.series.chart.options.chart.link||h);if(y!==void 0)switch(y=
C.decodeURIComponent(y).replace(/^\s+/,h).replace(/\s+$/,h),y.search(/^[a-z]*\s*[\-\:]\s*/i)!==-1&&(e=y.split(/\s*[\-\:]\s*/)[0].toUpperCase()),e){case "J":y=y.replace(/^j\s*\-/i,"j-");e=y.indexOf("-",2);if(e===-1)try{eval(y.slice(2))}catch(B){}else try{C[y.substr(2,e-2).replace(/\s/g,h)](y.slice(e+1))}catch(I){}break;case "JAVASCRIPT":y=y.replace(/^JAVASCRIPT\s*\:/i,"javascript:");try{eval(y.slice(11))}catch(M){}break;case "N":y.replace(/^n\s*\-/i,"n-");C.open(y.slice(2));break;case "F":y=y.replace(/^f\s*\-/i,
"f-");e=y.indexOf("-",2);e!==-1?(p=y.substr(2,e-2))&&C.frames[p]?C.frames[p].location=y.slice(e+1):C.open(y.slice(e+1),p):C.open(y.slice(2));break;case "P":y=y.replace(/p\s*\-/i,"p-");e=y.indexOf("-",2);p=y.indexOf(",",2);e===-1&&(e=1);m=y.slice(e+1);C.open(m,y.substr(2,p-2),y.substr(p+1,e-p-1)).focus();break;case "NEWCHART":e=y.indexOf("-",9);C=y.substring(9,e).toUpperCase();if(C=="XMLURL")p=y.substring(e+1,y.length);else if(C=="JSONURL")p=y.substring(e+1,y.length);else if(C=="XML"||C=="JSON"){y=
y.substring(e+1,y.length);C={chart:{}};FcJSON=b;y=y.toLowerCase();if(FcJSON.linkeddata)for(e=0;e<FcJSON.linkeddata.length;e+=1)if(FcJSON.linkeddata[e].id.toLowerCase()===y)C=FcJSON.linkeddata[e].linkedchart;p=C;C="JSON"}F.raiseEvent("LinkedChartInvoked",{linkType:C,data:p},g);break;default:C.location.href=y}}},graphics:{parseAlpha:G,convertColor:T,getDarkColor:R,getLightColor:Ya,mapSymbolName:function(b){var g=cb.circle,b=Xa(b);b>=3&&(g=cb.poly+b);return g},getColumnColor:function(b,g,h,e,p,m,y,C,
B){var I,x;I=b.split(",");x=g.split(",");m=m.split(",");y=y.split(",");B?C={FCcolor:{color:I[0],alpha:x[0]}}:p?(b=I[0],x=x[0],C={FCcolor:{color:R(b,75)+","+Ya(b,25)+","+R(b,80)+","+Ya(b,65)+","+R(b,80),alpha:x+","+x+","+x+","+x+","+x,ratio:"0,10,13,57,20",angle:C?"-180":"0"}},m=[R(b,70)]):(g=G(g,I.length),C={FCcolor:{color:b,alpha:g,ratio:h,angle:C?180-e:e}});return[C,{FCcolor:{color:m[0],alpha:y[0]}}]},getAngle:function(b,g,h){b=Math.atan(g/b)*180/Math.PI;h==2?b=180-b:h==3?b+=180:h==4&&(b=360-b);
return b},parseColor:function(g){return g.replace(y,h).replace(b,"#")}},setImageDisplayMode:function(b,g,h,e,p,m,y,C){var B=C.width*(e/100),e=C.height*(e/100),C={},I,x=m-p*2;I=y-p*2;var M=function(b,g,h,e,m,C){var y={};switch(b){case "top":y.y=p;break;case "bottom":y.y=C-e-p;break;case "middle":y.y=(C-e)/2}switch(g){case "left":y.x=p;break;case "right":y.x=m-h-p;break;case "middle":y.x=(m-h)/2}return y};switch(b){case "center":C.width=B;C.height=e;C.y=y/2-e/2;C.x=m/2-B/2;break;case "stretch":C.width=
m-p*2;C.height=y-p*2;C.y=p;C.x=p;break;case "tile":C.width=B;C.height=e;C.tileInfo={};C.tileInfo.xCount=b=Math.ceil(x/B);C.tileInfo.yCount=I=Math.ceil(I/e);alignObj=M(g,h,B*b,e*I,m,y);C.y=alignObj.y;C.x=alignObj.x;break;case "fit":b=B/e>x/I?x/B:I/e;C.width=B*b;C.height=e*b;alignObj=M(g,h,C.width,C.height,m,y);C.y=alignObj.y;C.x=alignObj.x;break;case "fill":b=B/e>x/I?I/e:x/B;C.width=B*b;C.height=e*b;alignObj=M(g,h,C.width,C.height,m,y);C.y=alignObj.y;C.x=alignObj.x;break;default:alignObj=M(g,h,B,e,
m,y),C.width=B,C.height=e,C.y=alignObj.y,C.x=alignObj.x}return C},SmartLabelManager:yb,setLineHeight:Ma,NumberFormatter:vb,getAxisLimits:ta,createTrendLine:lb,getDashStyle:hb,axisLabelAdder:Y,chartAPI:Sb,createDialog:Ea,defaultPaletteOptions:{bgColor:["CBCBCB,E9E9E9","CFD4BE,F3F5DD","C5DADD,EDFBFE","A86402,FDC16D","FF7CA0,FFD1DD"],bgAngle:[270,270,270,270,270],bgRatio:["0,100","0,100","0,100","0,100","0,100"],bgAlpha:["50,50","60,50","40,20","20,10","30,30"],canvasBgColor:["FFFFFF","FFFFFF","FFFFFF",
"FFFFFF","FFFFFF"],canvasBgAngle:[0,0,0,0,0],canvasBgAlpha:["100","100","100","100","100"],canvasBgRatio:[h,h,h,h,h],canvasBorderColor:["545454","545454","415D6F","845001","68001B"],canvasBorderAlpha:[100,100,100,90,100],showShadow:[0,1,1,1,1],divLineColor:["717170","7B7D6D","92CDD6","965B01","68001B"],divLineAlpha:[40,45,65,40,30],altHGridColor:["EEEEEE","D8DCC5","99C4CD","DEC49C","FEC1D0"],altHGridAlpha:[50,35,10,20,15],altVGridColor:["767575","D8DCC5","99C4CD","DEC49C","FEC1D0"],altVGridAlpha:[10,
20,10,15,10],anchorBgColor:["FFFFFF","FFFFFF","FFFFFF","FFFFFF","FFFFFF"],toolTipBgColor:["FFFFFF","FFFFFF","FFFFFF","FFFFFF","FFFFFF"],toolTipBorderColor:["545454","545454","415D6F","845001","68001B"],baseFontColor:["555555","60634E","025B6A","A15E01","68001B"],borderColor:["767575","545454","415D6F","845001","68001B"],borderAlpha:[50,50,50,50,50],legendBgColor:["FFFFFF","FFFFFF","FFFFFF","FFFFFF","FFFFFF"],legendBorderColor:["545454","545454","415D6F","845001","D55979"],plotGradientColor:["FFFFFF",
"FFFFFF","FFFFFF","FFFFFF","FFFFFF"],plotBorderColor:["333333","8A8A8A","FFFFFF","FFFFFF","FFFFFF"],plotFillColor:["767575","D8DCC5","99C4CD","DEC49C","FEC1D0"],bgColor3D:["FFFFFF","FFFFFF","FFFFFF","FFFFFF","FFFFFF"],bgAlpha3D:["100","100","100","100","100"],bgAngle3D:[90,90,90,90,90],bgRatio3D:[h,h,h,h,h],canvasBgColor3D:["DDE3D5","D8D8D7","EEDFCA","CFD2D8","FEE8E0"],canvasBaseColor3D:["ACBB99","BCBCBD","C8A06C","96A4AF","FAC7BC"],divLineColor3D:["ACBB99","A4A4A4","BE9B6B","7C8995","D49B8B"],divLineAlpha3D:[100,
100,100,100,100],legendBgColor3D:["F0F3ED","F3F3F3","F7F0E8","EEF0F2","FEF8F5"],legendBorderColor3D:["C6CFB8","C8C8C8","DFC29C","CFD5DA","FAD1C7"],toolTipbgColor3D:["FFFFFF","FFFFFF","FFFFFF","FFFFFF","FFFFFF"],toolTipBorderColor3D:["49563A","666666","49351D","576373","681C09"],baseFontColor3D:["49563A","4A4A4A","49351D","48505A","681C09"],anchorBgColor3D:["FFFFFF","FFFFFF","FFFFFF","FFFFFF","FFFFFF"]}})}})();
(function(F){F.fn.drag=function(b,h,e){var m=typeof b=="string"?b:"",C=F.isFunction(b)?b:F.isFunction(h)?h:null;m.indexOf("drag")!==0&&(m="drag"+m);e=(b==C?h:e)||{};return C?this.bind(m,e,C):this.trigger(m)};var h=F.event,Q="ontouchstart"in document.documentElement,m=Q?"touchstart":"mousedown",la=Q?"touchmove touchend":"mousemove mouseup",e=function(b,h){if(!h.touchXY||!b.originalEvent)return b;var e=b.originalEvent.changedTouches||b.originalEvent.touches;e&&e.length&&F.extend(b,e[0]);return b},I=
h.special,b=I.drag={defaults:{which:1,distance:0,not:":input",handle:null,relative:!1,drop:!1,click:!1,touchXY:!0},datakey:"dragdata",livekey:"livedrag",add:function(g){var e=F.data(this,b.datakey),p=g.data||{};e.related+=1;if(!e.live&&g.selector)e.live=!0,h.add(this,"draginit."+b.livekey,b.delegate);F.each(b.defaults,function(b){p[b]!==void 0&&(e[b]=p[b])})},remove:function(){F.data(this,b.datakey).related-=1},setup:function(){if(!F.data(this,b.datakey)){var g=F.extend({related:0},b.defaults);F.data(this,
b.datakey,g);h.add(this,m,b.init,g);this.attachEvent&&this.attachEvent("ondragstart",b.dontstart)}},teardown:function(){F.data(this,b.datakey).related||(F.removeData(this,b.datakey),h.remove(this,m,b.init),h.remove(this,"draginit",b.delegate),b.textselect(!0),this.detachEvent&&this.detachEvent("ondragstart",b.dontstart))},init:function(g){var e=g.data,p;if((p=g.originalEvent?g.originalEvent.changedTouches||g.originalEvent.touches:[])&&p.length){if(p.length>1)return}else if(e.which>0&&g.which!=e.which)return;
if(!F(g.target).is(e.not)&&(!e.handle||F(g.target).closest(e.handle,g.currentTarget).length))if(e.propagates=1,e.interactions=[b.interaction(this,e)],e.target=g.target,e.pageX=g.pageX,e.pageY=g.pageY,e.dragging=null,p=b.hijack(g,"draginit",e),e.propagates){if((p=b.flatten(p))&&p.length)e.interactions=[],F.each(p,function(){e.interactions.push(b.interaction(this,e))});e.propagates=e.interactions.length;e.drop!==!1&&I.drop&&I.drop.handler(g,e);b.textselect(!1);h.add(document,la,b.handler,e);if(!Q)return!1}},
interaction:function(g,e){return{drag:g,callback:new b.callback,droppable:[],offset:F(g)[e.relative?"position":"offset"]()||{top:0,left:0}}},handler:function(g){var m=g.data;if(!m.dragging&&(g.type==="mousemove"||g.type==="touchmove")){if(Math.pow(g.pageX-m.pageX,2)+Math.pow(g.pageY-m.pageY,2)<Math.pow(m.distance,2))return;g.target=m.target;b.hijack(g,"dragstart",m);if(m.propagates)m.dragging=!0}switch(g.type){case "touchmove":m.dragging&&(g.preventDefault(),e(g,m));case "mousemove":if(m.dragging){b.hijack(g,
"drag",m);if(m.propagates){m.drop!==!1&&I.drop&&I.drop.handler(g,m);break}g.type="mouseup"}case "mouseup":case "touchend":if(h.remove(document,la,b.handler),m.dragging&&(m.drop!==!1&&I.drop&&I.drop.handler(g,m),b.hijack(g,"dragend",m)),b.textselect(!0),m.click===!1&&m.dragging)jQuery.event.triggered=!0,setTimeout(function(){jQuery.event.triggered=!1},20),m.dragging=!1}},delegate:function(g){var e=[],p,m=F.data(this,"events")||{};F.each(m.live||[],function(m,B){if(B.preType.indexOf("drag")===0&&(p=
F(g.target).closest(B.selector,g.currentTarget)[0]))h.add(p,B.origType+"."+b.livekey,B.origHandler,B.data),F.inArray(p,e)<0&&e.push(p)});if(!e.length)return!1;return F(e).bind("dragend."+b.livekey,function(){h.remove(this,"."+b.livekey)})},hijack:function(g,e,p,m,C){if(p){var I={event:g.originalEvent,type:g.type},Q=e.indexOf("drop")?"drag":"drop",la,x=m||0,M,Xa,m=!isNaN(m)?m:p.interactions.length;g.type=e;g.sourceEvent=I.event;g.originalEvent=null;p.results=[];do if((M=p.interactions[x])&&!(e!=="dragend"&&
M.cancelled)){Xa=b.properties(g,p,M);M.results=[];F(C||M[Q]||p.droppable).each(function(m,C){la=(Xa.target=C)?h.handle.call(C,g,Xa):null;if(la===!1){if(Q=="drag")M.cancelled=!0,p.propagates-=1;e=="drop"&&(M[Q][m]=null)}else e=="dropinit"&&M.droppable.push(b.element(la)||C);if(e=="dragstart")M.proxy=F(b.element(la)||M.drag)[0];M.results.push(la);delete g.result;if(e!=="dropinit")return la});p.results[x]=b.flatten(M.results);if(e=="dropinit")M.droppable=b.flatten(M.droppable);e=="dragstart"&&!M.cancelled&&
Xa.update()}while(++x<m);g.type=I.type;g.originalEvent=I.event;return b.flatten(p.results)}},properties:function(g,e,h){var m=h.callback;m.drag=h.drag;m.proxy=h.proxy||h.drag;m.startX=e.pageX;m.startY=e.pageY;m.deltaX=g.pageX-e.pageX;m.deltaY=g.pageY-e.pageY;m.originalX=h.offset.left;m.originalY=h.offset.top;m.offsetX=g.pageX-(e.pageX-m.originalX);m.offsetY=g.pageY-(e.pageY-m.originalY);m.drop=b.flatten((h.drop||[]).slice());m.available=b.flatten((h.droppable||[]).slice());return m},element:function(b){if(b&&
(b.jquery||b.nodeType==1))return b},flatten:function(g){return F.map(g,function(g){return g&&g.jquery?F.makeArray(g):g&&g.length?b.flatten(g):g})},textselect:function(g){F(document)[g?"unbind":"bind"]("selectstart",b.dontstart).attr("unselectable",g?"off":"on").css("MozUserSelect",g?"":"none")},dontstart:function(){return!1},callback:function(){}};b.callback.prototype={update:function(){I.drop&&this.available.length&&F.each(this.available,function(b){I.drop.locate(this,b)})}};I.draginit=I.dragstart=
I.dragend=b})(jQuery);
(function(F){function h(h){var Q=h||window.event,e=[].slice.call(arguments,1),I=0,b=0,g=0,h=F.event.fix(Q);h.type="wheelchange";h.wheelDelta&&(I=h.wheelDelta/120);h.detail&&(I=-h.detail/3);g=I;Q.axis!==void 0&&Q.axis===Q.HORIZONTAL_AXIS&&(g=0,b=-1*I);Q.wheelDeltaY!==void 0&&(g=Q.wheelDeltaY/120);Q.wheelDeltaX!==void 0&&(b=-1*Q.wheelDeltaX/120);e.unshift(h,I,b,g);return F.event.handle.apply(this,e)}var Q=["DOMMouseScroll","mousewheel"];F.event.special.wheelchange={setup:function(){if(this.addEventListener)for(var m=Q.length;m;)this.addEventListener(Q[--m],
h,!1);else this.onmousewheel=h},teardown:function(){if(this.removeEventListener)for(var m=Q.length;m;)this.removeEventListener(Q[--m],h,!1);else this.onmousewheel=null}};F.fn.extend({wheelchange:function(h){return h?this.bind("wheelchange",h):this.trigger("wheelchange")},unwheelchange:function(h){return this.unbind("wheelchange",h)}})})(jQuery);
(function(){var F=FusionCharts(["private","modules.renderer.highcharts-interface"]);if(F!==void 0){var h=F.hcLib,Q=F.renderer.getRenderer("javascript"),m=h.hasModule,la=h.loadModule,e=h.moduleCmdQueue,I=h.executeWaitingCommands,b=h.moduleDependencies,g=h.getDependentModuleName,y=h.eventList={loaded:"FC_Loaded",dataloaded:"FC_DataLoaded",rendered:"FC_Rendered",drawcomplete:"FC_DrawComplete",resized:"FC_Resized",dataxmlinvalid:"FC_DataXMLInvalid",nodatatodisplay:"FC_NoDataToDisplay"};h.raiseEvent=function(b,
g,e,h){var m=y[b];F.raiseEvent(b,g,e);m&&typeof window[m]==="function"&&setTimeout(function(){window[m].apply(window,h)},0)};b.charts=F.extend(b.charts||{},{column2d:0,column3d:0,pie2d:0,pie3d:0,line:0,bar2d:0,area2d:0,doughnut2d:0,doughnut3d:0,pareto2d:0,pareto3d:0,mscolumn2d:0,mscolumn3d:0,msline:0,msarea:0,msbar2d:0,msbar3d:0,stackedcolumn2d:0,marimekko:0,stackedcolumn3d:0,stackedarea2d:0,stackedcolumn2dline:0,stackedcolumn3dline:0,stackedbar2d:0,stackedbar3d:0,msstackedcolumn2d:0,mscombi2d:0,
mscombi3d:0,mscolumnline3d:0,mscombidy2d:0,mscolumn3dlinedy:0,stackedcolumn3dlinedy:0,msstackedcolumn2dlinedy:0,scatter:0,bubble:0,ssgrid:0,scrollcolumn2d:0,scrollcolumn3d:0,scrollline2d:0,scrollarea2d:0,scrollstackedcolumn2d:0,scrollcombi2d:0,scrollcombidy2d:0,zoomline:0});b.powercharts=F.extend(b.powercharts||{},{spline:0,splinearea:0,msspline:0,mssplinearea:0,multiaxisline:0,multilevelpie:0,waterfall2d:0,msstepline:0,inversemsline:0,inversemscolumn2d:0,inversemsarea:0,errorbar2d:0,horizontalerrorbar2d:0,
errorscatter:0,errorline:0,logmsline:0,logmscolumn2d:0,radar:0,dragnode:0,candlestick:0,selectscatter:0,dragcolumn2d:0,dragline:0,dragarea:0,kagi:0});b.widgets=F.extend(b.widgets||{},{angulargauge:0,bulb:0,cylinder:0,drawingpad:0,funnel:0,hbullet:0,hled:0,hlineargauge:0,vlineargauge:0,pyramid:0,realtimearea:0,realtimecolumn:0,realtimeline:0,realtimelinedy:0,realtimestackedarea:0,realtimestackedcolumn:0,sparkcolumn:0,sparkline:0,sparkwinloss:0,thermometer:0,vbullet:0,vled:0});b.maps=F.extend(b.maps||
{},{});F.extend(Q,{render:function(b,B){var C=this.chartType(),I=this.jsVars,y=g(C);y.length?h.chartAPI[C]?(this.__state.lastRenderedSrc=this.src,delete I.waitingModule,F.hcLib.createChart(this,b,C,B),h.raiseEvent("rendered",{},I.fcObj,[I.fcObj.id])):m(y)?(F.raiseError(this,11112822001,"run","HC-interface~renderer.render","Chart runtimes not loaded even when resource is present"),F.hcLib.createChart(this,b,"stub",void 0,I.msgStore.ChartNotSupported)):(e[y[y.length-1]].push({cmd:"render",obj:this,
args:arguments}),I.waitingModule||(F.hcLib.createChart(this,b,"stub",void 0,I.msgStore.LoadingText),Q.load.apply(this))):F.hcLib.createChart(this,b,"stub",void 0,I.msgStore.ChartNotSupported)},update:function(b){var g=this.ref,e=this.jsVars;b.error===void 0?(delete e.stallLoad,delete e.loadError,this.isActive()&&(this.src!==this.__state.lastRenderedSrc?this.render():F.hcLib.createChart(this,e.container,e.type))):(this.isActive()&&typeof g.showChartMessage==="function"&&g.showChartMessage("InvalidXMLText"),
delete e.loadError)},resize:function(b){var g=this.ref,e,h=this.jsVars;if(g&&g.resize){if(h.isResizing)h.isResizing=clearTimeout(h.isResizing);h.isResizing=setTimeout(function(){e=F.normalizeCSSDimension(b.width,b.height,g);if(b.width!==void 0)g.style.width=e.width;if(b.height!==void 0)g.style.height=e.height;g.resize();delete h.isResizing},0)}},dispose:function(){var b,g=this.jsVars,e=g.hcObj||{};g.instanceAPI.dispose&&g.instanceAPI.dispose();(b=this.ref)&&b.parentNode&&b.parentNode.removeChild(b);
return e&&e.destroy&&e.destroy()},load:function(){var b=this,e=b.jsVars,m=b.chartType(),y=F.hcLib.chartAPI[m],m=g(m),Q=m[m.length-1];if(y||!m||m&&m.length===0)delete e.waitingModule;else if(!e.waitingModule)e.waitingModule=!0,la(m,function(){delete e.waitingModule;I(h.moduleCmdQueue[Q]||[])},function(g){F.raiseError(b,"11171116151","run","HC-interface~renderer.load","Unable to load required modules and resources: "+g)},b),e.moduleLoadRequested=!0},config:function(b){var g,e=this.jsVars,h=e.msgStore,
e=e.cfgStore;for(g in b)h[g]?h[g]=b[g]:e[g.toLowerCase()]=b[g]}})}})();
(function(){function F(a,c,j,u,b,f,A){var $=[L],f=V(typeof f.color==="string"?f.color:f.color.FCcolor.color),d,k,g;g=A.box.tagName&&A.box.tagName.toLowerCase()==="div";A=f.replace(Y,"");d=cb(A,40);f=Ya(A,60).replace(Y,Ea);A={FCcolor:{color:A+","+A+","+d+","+A+","+A,ratio:"0,30,30,30,10",angle:0,alpha:"100,100,100,100,100"}};switch(b){case "column":case "column3d":d=parseInt(j*25)/100;k=parseInt(d*50)/100;b=parseInt(u*30)/100;g=parseInt(u*60)/100;$=$.concat([a,c+u,N,a,c+b,a+d,c+b,a+d,c+u,a+d+k,c+u,
a+d+k,c,a+d+d+k,c,a+d+d+k,c+u,a+d+d+k+k,c+u,a+d+d+k+k,c+g,a+j,c+g,a+j,c+u,"Z"]);A.FCcolor.angle=270;break;case "bar":case "bar3d":d=j*0.3;k=j*0.6;b=u/4;g=b/2;$=$.concat([a,c,N,a+k,c,a+k,c+b,a,c+b,a,c+b+g,a+j,c+b+g,a+j,c+b+g+b,a,c+2*b+g,a,c+2*(b+g),a+d,c+2*(b+g),a+d,c+u,a,c+u,"Z"]);break;case "area":case "area3d":b=u*0.6;g=u*0.2;u*=0.8;$=$.concat([a,c+u,N,a,c+b,a+j*0.3,c+g,a+j*0.6,c+b,a+j,c+g,a+j,c+u,"Z"]);A.FCcolor.angle=270;break;case "pie":case "pie3d":d=j/2;k=j*0.7;b=u/2;$=g?$.concat([a+d,c+b,
N,a+k,c,"at",a,c,a+j,c+u,a+k,c,a,c+b,N,a+d,c+b,L,a+d,c+b,N,a,c+b,"at",a,c,a+j,c+u,a,c+b,a+k,c+u,N,a+d,c+b,L,a+d,c+b,N,a+k,c+u,"at",a,c,a+j,c+u,a+k,c+u,a+k,c,"Z"]):$.concat([a+d,c+b,N,a+k,c,"A",d,b,0,0,0,a,c+b,N,a+d,c+b,L,a+d,c+b,N,a,c+b,"A",d,b,0,0,0,a+k,c+u,N,a+d,c+b,L,a+d,c+b,N,a+k,c+u,"A",d+1,b+1,0,0,0,a+k,c,"Z"]);break;default:$=$.concat([a,c,N,a+j,c,a+j,c+u,a,c+u,"Z"]),A.FCcolor.angle=270,A.FCcolor.ratio="0,70,30"}return{path:$,color:A,strokeWidth:0.5,strokeColor:f}}function h(a,c){var j;a||
(a={});for(j in c)a[j]=c[j];return a}function Q(a,c){return parseInt(a,c||10)}function m(a){return typeof a==="string"}function la(a){return typeof a==="object"}function e(a){return typeof a==="number"}function I(a,c){for(var j=a.length;j--;)if(a[j]===c){a.splice(j,1);break}}function b(a){return a!==fa&&a!==null}function g(a,c,j){var u,K;if(m(c))b(j)?a.setAttribute(c,j):a&&a.getAttribute&&(K=a.getAttribute(c));else if(b(c)&&la(c))for(u in c)a.setAttribute(u,c[u]);return K}function y(a){if(!a||a.constructor!==
Array)a=[a];return a}function p(){var a=arguments,c,j,b=a.length;for(c=0;c<b;c++)if(j=a[c],typeof j!=="undefined"&&j!==null)return j}function B(a,c){if(Fb&&c&&c.opacity!==fa)c.filter="alpha(opacity="+c.opacity*100+")";h(a.style,c)}function C(a,c,j,b,K){a=aa.createElement(a);c&&h(a,c);K&&B(a,{padding:0,border:Ca,margin:0});j&&B(a,j);b&&b.appendChild(a);return a}function ba(a,c){var j=function(){};j.prototype=new a;h(j.prototype,c);return j}function ra(a,c,j,b){var K=f.lang,d=isNaN(c=ya(c))?2:c,c=j===
void 0?K.decimalPoint:j,b=b===void 0?K.thousandsSep:b,K=a<0?"-":"",j=String(Q(a=ya(+a||0).toFixed(d))),A=j.length>3?j.length%3:0;return K+(A?j.substr(0,A)+b:"")+j.substr(A).replace(/(\d{3})(?=\d)/g,"$1"+b)+(d?c+ya(a-j).toFixed(d).slice(2):"")}function Oa(a){for(var c={left:a.offsetLeft,top:a.offsetTop},a=a.offsetParent;a;)c.left+=a.offsetLeft,c.top+=a.offsetTop,a!==aa.body&&a!==aa.documentElement&&(c.left-=a.scrollLeft,c.top-=a.scrollTop),a=a.offsetParent;return c}function x(){this.symbol=this.color=
0}function M(a,c){X=p(a,c.animation)}function Xa(){var a=f.global.useUTC;mc=a?Date.UTC:function(a,j,b,K,d,f){return(new Date(a,j,p(b,1),p(K,0),p(d,0),p(f,0))).getTime()};Nb=a?"getUTCMinutes":"getMinutes";Sa=a?"getUTCHours":"getHours";Pb=a?"getUTCDay":"getDay";ic=a?"getUTCDate":"getDate";nc=a?"getUTCMonth":"getMonth";oc=a?"getUTCFullYear":"getFullYear";Dc=a?"setUTCMinutes":"setMinutes";Ec=a?"setUTCHours":"setHours";Ba=a?"setUTCDate":"setDate";Fc=a?"setUTCMonth":"setMonth";O=a?"setUTCFullYear":"setFullYear"}
function tb(a){l||(l=C(o));a&&l.appendChild(a);l.innerHTML=""}function pb(){}function Eb(a,c){function j(a,c){function j(a,c){this.pos=a;this.minor=c;this.isNew=!0;c||this.addLabel()}function u(a){if(a)this.options=a,this.id=a.id;return this}function K(a,c,j){this.isNegative=c;this.options=a;this.x=j;this.alignOptions={align:a.align||(Ra?c?"left":"right":"center"),verticalAlign:a.verticalAlign||(Ra?"middle":c?"bottom":"top"),y:p(a.y,Ra?4:c?14:-6),x:p(a.x,Ra?c?-6:6:0)};this.textAlign=a.textAlign||
(Ra?c?"right":"left":"center")}function d(){var a=[],j=[],u;x=Wa=null;nb=[];P(eb,function(d){u=!1;P(["xAxis","yAxis"],function(a){if(d.isCartesian&&(a==="xAxis"&&Da||a==="yAxis"&&!Da)&&(d.options[a]===c.index||d.options[a]===fa&&c.index===0))d[a]=m,nb.push(d),u=!0});!d.visible&&wa.ignoreHiddenSeries&&(u=!1);if(u){var f,$,A,ja,k;if(!Da){f=d.options.stacking;oa=f==="percent";if(f)ja=d.type+p(d.options.stack,""),k="-"+ja,d.stackKey=ja,$=a[ja]||[],a[ja]=$,A=j[k]||[],j[k]=A;oa&&(x=0,Wa=99)}d.isCartesian&&
(P(d.data,function(a){var j=a.x,u=a.y,d=u<0,g=d?A:$,e=d?k:ja;x===null&&(x=Wa=a[Fa]);Da?j>Wa?Wa=j:j<x&&(x=j):b(u)&&(f&&(g[j]=b(g[j])?g[j]+u:u),u=g?g[j]:u,a=p(a.low,u),oa||(u>Wa?Wa=u:a<x&&(x=a)),f&&(n[e]||(n[e]={}),n[e][j]||(n[e][j]=new K(c.stackLabels,d,j)),n[e][j].setTotal(u)))}),/(area|column|bar)/.test(d.type)&&!Da&&(x>=0?(x=0,Yb=!0):Wa<0&&(Wa=0,R=!0)))}})}function $(a,j){var b,u;Db=j?1:W.pow(10,qb(W.log(a)/W.LN10));b=a/Db;if(!j&&(j=[1,2,2.5,5,10],c.allowDecimals===!1||v))Db===1?j=[1,2,5,10]:Db<=
0.1&&(j=[1/Db]);for(u=0;u<j.length;u++)if(a=j[u],b<=(j[u]+(j[u+1]||j[u]))/2)break;a*=Db;return a}function A(a){var c;c=a;Db=p(Db,W.pow(10,qb(W.log(Z)/W.LN10)));Db<1&&(c=z(1/Db)*10,c=z(a*c)/c);return c}function ja(){var j,u,K,d,g=c.tickInterval,e=c.tickPixelInterval;j=c.maxZoom||(Da&&!b(c.min)&&!b(c.max)?db(a.smallestInterval*5,Wa-x):null);mb=va?$a:Ua;F?(K=a[Da?"xAxis":"yAxis"][c.linkedTo],d=K.getExtremes(),B=p(d.min,d.dataMin),Ha=p(d.max,d.dataMax)):(B=p(U,c.min,x),Ha=p(Ia,c.max,Wa));v&&(B=W.log(B)/
W.LN10,Ha=W.log(Ha)/W.LN10);Ha-B<j&&(d=(j-Ha+B)/2,B=ia(B-d,p(c.min,B-d),x),Ha=db(B+j,p(c.max,B+j),Wa));if(!sa&&!oa&&!F&&b(B)&&b(Ha)){j=Ha-B||1;if(!b(c.min)&&!b(U)&&Qa&&(x<0||!Yb))B-=j*Qa;if(!b(c.max)&&!b(Ia)&&G&&(Wa>0||!R))Ha+=j*G}Z=B===Ha?1:F&&!g&&e===K.options.tickPixelInterval?K.tickInterval:p(g,sa?1:(Ha-B)*e/mb);!w&&!b(c.tickInterval)&&(Z=$(Z));m.tickInterval=Z;ha=c.minorTickInterval==="auto"&&Z?Z/5:c.minorTickInterval;if(w){E=[];var g=f.global.useUTC,s=1E3/k,l=6E4/k,pa=36E5/k,e=864E5/k;j=6048E5/
k;d=2592E6/k;var h=31556952E3/k,za=[["second",s,[1,2,5,10,15,30]],["minute",l,[1,2,5,10,15,30]],["hour",pa,[1,2,3,4,6,8,12]],["day",e,[1,2]],["week",j,[1,2]],["month",d,[1,2,3,4,6]],["year",h,null]],q=za[6],o=q[1],n=q[2];for(K=0;K<za.length;K++)if(q=za[K],o=q[1],n=q[2],za[K+1]&&Z<=(o*n[n.length-1]+za[K+1][1])/2)break;o===h&&Z<5*o&&(n=[1,2,5]);za=$(Z/o,n);n=new Date(B*k);n.setMilliseconds(0);o>=s&&n.setSeconds(o>=l?0:za*qb(n.getSeconds()/za));if(o>=l)n[Dc](o>=pa?0:za*qb(n[Nb]()/za));if(o>=pa)n[Ec](o>=
e?0:za*qb(n[Sa]()/za));if(o>=e)n[Ba](o>=d?1:za*qb(n[ic]()/za));o>=d&&(n[Fc](o>=h?0:za*qb(n[nc]()/za)),u=n[oc]());o>=h&&(u-=u%za,n[O](u));if(o===j)n[Ba](n[ic]()-n[Pb]()+c.startOfWeek);K=1;u=n[oc]();s=n.getTime()/k;l=n[nc]();for(pa=n[ic]();s<Ha&&K<$a;)E.push(s),o===h?s=mc(u+K*za,0)/k:o===d?s=mc(u,l+K*za)/k:!g&&(o===e||o===j)?s=mc(u,l,pa+K*za*(o===e?1:7)):s+=o*za,K++;E.push(s);xa=c.dateTimeLabelFormats[q[0]]}else{K=A(qb(B/Z)*Z);u=A(Na(Ha/Z)*Z);E=[];for(K=A(K);K<=u;)E.push(K),K=A(K+Z)}if(!F){if(sa||Da&&
a.hasColumn){u=(sa?1:Z)*0.5;if(sa||!b(p(c.min,U)))B-=u;if(sa||!b(p(c.max,Ia)))Ha+=u}u=E[0];K=E[E.length-1];c.startOnTick?B=u:B>u&&E.shift();c.endOnTick?Ha=K:Ha<K&&E.pop();Qb||(Qb={x:0,y:0});if(!w&&E.length>Qb[Fa])Qb[Fa]=E.length}}function g(){var a,c;xb=B;zb=Ha;d();ja();C=t;t=mb/(Ha-B||1);if(!Da)for(a in n)for(c in n[a])n[a][c].cum=0;if(!m.isDirty)m.isDirty=B!==xb||Ha!==zb}function e(a){a=(new u(a)).render();Ub.push(a);return a}function l(){var K=c.title,d=c.stackLabels,f=c.alternateGridColor,$=c.lineWidth,
A,ja,k=a.hasRendered,g=k&&b(xb)&&!isNaN(xb);A=T(c.showAlways,nb.length&&b(B)&&b(Ha));mb=va?$a:Ua;t=mb/(Ha-B||1);D=va?Ga:Y;if(A||F){if(ha&&!sa)for(A=B+(E[0]-B)%ha;A<=Ha;A+=ha)ua[A]||(ua[A]=new j(A,!0)),g&&ua[A].isNew&&ua[A].render(null,!0),ua[A].isActive=!0,ua[A].render();P(E,function(a,c){if(!F||a>=B&&a<=Ha)g&&ga[a].isNew&&ga[a].render(c,!0),ga[a].isActive=!0,ga[a].render(c)});f&&P(E,function(a,c){if(c%2===0&&a<Ha)ec[a]||(ec[a]=new u),ec[a].options={from:a,to:E[c+1]!==fa?E[c+1]:Ha,color:f},ec[a].render(),
ec[a].isActive=!0});k||P((c.plotLines||[]).concat(c.plotBands||[]),function(a){Ub.push((new u(a)).render())})}P([ga,ua,ec],function(a){for(var c in a)a[c].isActive?a[c].isActive=!1:(a[c].destroy(),delete a[c])});$&&(A=Ga+(za?$a:0)+X,ja=Ta-Y-(za?Ua:0)+X,A=Aa.crispLine([L,va?Ga:A,va?ja:La,N,va?fb-ea:A,va?ja:Ta-Y],$),J?J.animate({d:A}):J=Aa.path(A).attr({stroke:c.lineColor,"stroke-width":$,zIndex:7}).add());m.axisTitle&&(A=va?Ga:La,$=Q(K.style.fontSize||12),A={low:A+(va?0:mb),middle:A+mb/2,high:A+(va?
mb:0)}[K.align],$=(va?La+Ua:Ga)+(va?1:-1)*(za?-1:1)*Tb+(o===2?$:0),m.axisTitle[k?"animate":"attr"]({x:va?A:$+(za?$a:0)+X+(K.x||0),y:va?$-(za?Ua:0)+X:A+(K.y||0)}));if(d&&d.enabled){var e,s,d=m.stackTotalGroup;if(!d)m.stackTotalGroup=d=Aa.g("stack-labels").attr({visibility:q,zIndex:6}).translate(Ga,La).add();for(e in n)for(s in K=n[e],K)K[s].render(d)}e=c.scroll;s=m.scroller;if(e&&e.enabled&&(va?(K=Ga+X-2,d=Ta-Y-(!za?0:Ua)+X+e.padding-1):(K=Ga+(za?$a:0),d=Ta-Y),!s))s=m.scroller=Aa.scroller(K,d,mb+4,
e.height,va,{size:e.buttonWidth,padding:e.buttonPadding},!1).attr({fill:e.color}).setScrollRatio(e.scrollRatio).setScrollPosition(e.startPercent).callback(function(){m.scroll.apply(m,arguments)}).add(Ca);m.isDirty=!1}function pa(a){for(var c=Ub.length;c--;)Ub[c].id===a&&Ub[c].destroy()}var Da=c.isX,za=c.opposite,va=Ra?!Da:Da,o=va?za?0:2:za?1:3,n={},c=ca(Da?pc:uc,[Hc,Ic,Gc,Jc][o],c),m=this,r=c.type,w=r==="datetime",v=r==="logarithmic",X=c.offset||0,Fa=Da?"x":"y",mb,t,C,D=va?Ga:Y,Lb,Hb,Ca,y,J,x,Wa,
nb,U,Ia,Ha=null,B=null,xb,zb,Qa=c.minPadding,G=c.maxPadding,F=b(c.linkedTo),Yb,R,oa,r=c.events,qa,Ub=[],Z,ha,Db,E,ga={},ua={},ec={},fc,ba,Tb,xa,sa=c.categories,V=c.labels.formatter||function(){var a=this.value;return xa?s(xa,a):Z%1E6===0?a/1E6+"M":Z%1E3===0?a/1E3+"k":!sa&&a>=1E3?ra(a,0):a},aa=va&&c.labels.staggerLines,$b=c.reversed,Ka=sa&&c.tickmarkPlacement==="between"?0.5:0;j.prototype={addLabel:function(){var a=this.pos,j=c.labels,u=!(a===B&&!p(c.showFirstLabel,1)||a===Ha&&!p(c.showLastLabel,0)),
K=sa&&va&&sa.length&&!j.step&&!j.staggerLines&&!j.rotation&&$a/sa.length||!va&&$a/2,d=this.label,a=V.call({isFirst:a===E[0],isLast:a===E[E.length-1],dateTimeLabelFormat:xa,value:sa&&sa[a]?sa[a]:a}),K=K&&{width:ia(1,z(K-2*(j.padding||10)))+S},K=h(K,j.style);d===fa?this.label=b(a)&&u&&j.enabled?Aa.text(a,0,0).attr({align:j.align,rotation:j.rotation}).css(K).add(Ca):null:d&&d.attr({text:a}).css(K)},getLabelSize:function(){var a=this.label;return a?(this.labelBBox=a.getBBox())[va?"height":"width"]:0},
render:function(a,j){var u=!this.minor,K=this.label,d=this.pos,A=c.labels,f=this.gridLine,$=u?c.gridLineWidth:c.minorGridLineWidth,ja=u?c.gridLineColor:c.minorGridLineColor,k=u?c.gridLineDashStyle:c.minorGridLineDashStyle,g=this.mark,e=u?c.tickLength:c.minorTickLength,s=u?c.tickWidth:c.minorTickWidth||0,l=u?c.tickColor:c.minorTickColor,pa=u?c.tickPosition:c.minorTickPosition,u=A.step,h=j&&Ab||Ta,Da;Da=va?Lb(d+Ka,null,null,j)+D:Ga+X+(za?(j&&Pa||fb)-ea-Ga:0);h=va?h-Y+X-(za?Ua:0):h-Lb(d+Ka,null,null,
j)-D;if($){d=Hb(d+Ka,$,j);if(f===fa){f={stroke:ja,"stroke-width":$};if(k)f.dashstyle=k;this.gridLine=f=$?Aa.path(d).attr(f).add(y):null}f&&d&&f.animate({d:d})}if(s)pa==="inside"&&(e=-e),za&&(e=-e),$=Aa.crispLine([L,Da,h,N,Da+(va?0:-e),h+(va?e:0)],s),g?g.animate({d:$}):this.mark=Aa.path($).attr({stroke:l,"stroke-width":s}).add(Ca);if(K&&!isNaN(Da)){Da=Da+A.x-(Ka&&va?Ka*t*($b?-1:1):0);h=h+A.y-(Ka&&!va?Ka*t*($b?1:-1):0);b(A.y)||(h+=Q(K.styles.lineHeight)*0.9-K.getBBox().height/2);aa&&(h+=a/(u||1)%aa*
16);if(u)K[a%u?"hide":"show"]();K[this.isNew?"attr":"animate"]({x:Da,y:h})}this.isNew=!1},destroy:function(){for(var a in this)this[a]&&this[a].destroy&&this[a].destroy()}};u.prototype={render:function(){var c=this,j=c.options,u=j.label,K=c.label,d=j.width,f=j.to,A,$=j.from,ja=j.dashStyle,k=c.svgElem,g=[],e,s,l=j.color;s=j.zIndex;var pa=j.events;c.chart=a;d===0&&u&&b(u.text)&&(d=1,l=ka);if(d){if(g=Hb([j.value,T(j.to,j.value)],d),j={stroke:l,"stroke-width":d},ja)j.dashstyle=ja}else if(b($)&&b(f))$=
ia($,B),f=db(f,Ha),A=Hb(f),(g=Hb($))&&A?(this.options.alwaysVisible&&(va?A[1]=A[4]+=g[1]===A[1]&&g[4]===A[4]:A[2]=A[5]+=g[2]===A[2]&&g[5]===A[5]),g.push(A[4],A[5],A[1],A[2])):g=null,j={fill:l};else return;if(b(s))j.zIndex=s;if(k)g?k.animate({d:g},null,k.onGetPath):(k.hide(),k.onGetPath=function(){k.show()});else if(g&&g.length&&(c.svgElem=k=Aa.path(g).attr(j).add(),pa))for(e in ja=function(a){k.on(a,function(j){pa[a].apply(c,[j])})},pa)ja(e);if(u&&b(u.text)&&g&&g.length&&$a>0&&Ua>0){u=ca({align:va&&
A&&"center",x:va?!A&&4:10,verticalAlign:!va&&A&&"middle",y:va?A?16:10:A?6:-4,rotation:va&&!A&&90},u);if(!K)c.label=K=Aa.text(u.text,0,0).attr({align:u.textAlign||u.align,rotation:u.rotation,zIndex:s}).css(u.style).add();e=[g[1],g[4],p(g[6],g[1])];s=[g[2],g[5],p(g[7],g[2])];g=db.apply(W,e);A=db.apply(W,s);e=ia.apply(W,e)-g;s=ia.apply(W,s)-A;u.offsetScale!==void 0&&(u.offsetScaleIndex!==void 0?(ja=(Da?a.yAxis:a.xAxis)[u.offsetScaleIndex],va?A+=ja.translate(u.offsetScale,0,1):g=ja.translate(u.offsetScale,
0,1)+g):va?A+=Ua*u.offsetScale:g+=$a*u.offsetScale);K.align(u,!1,{x:g,y:A,width:e,height:s});K.textBound();K.show()}else K&&K.hide();return c},destroy:function(){for(var a in this)this[a]&&this[a].destroy&&this[a].destroy(),delete this[a];I(Ub,this)}};K.prototype={setTotal:function(a){this.cum=this.total=a},render:function(c){var j=this.options.formatter.call(this);this.label?this.label.attr({text:j,visibility:da}):this.label=a.renderer.text(j,0,0).css(this.options.style).attr({align:this.textAlign,
rotation:this.options.rotation,visibility:da}).add(c)},setOffset:function(c,j){var u=this.isNegative,b=m.translate(this.total),K=m.translate(0),K=ya(b-K),d=a.xAxis[0].translate(this.x)+c,A=a.plotHeight,u={x:Ra?u?b:b-K:d,y:Ra?A-d-j:u?A-b-K:A-b,width:Ra?K:j,height:Ra?j:K};this.label&&this.label.align(this.alignOptions,null,u).attr({visibility:q})}};Lb=function(a,c,j,u,b,K){var d=1,A=0,f=u?C:t,u=u?xb:B;f||(f=t);j&&(d*=-1,A=mb);$b&&(d*=-1,A-=d*mb);K?c?(a/=f,v&&b&&(a=W.pow(10,a))):(v&&b&&(a=W.log(a)/W.LN10),
a*=f):c?($b&&(a=mb-a),a=a/f+u,v&&b&&(a=W.pow(10,a))):(v&&b&&(a=W.log(a)/W.LN10),a=d*(a-u)*f+A);return a};Hb=function(a,c,j){var u,b,K,d,A=j&&Ab||Ta,f=j&&Pa||fb,$;a instanceof Array||(a=[a,a]);K=Lb(a[0],null,null,j);d=Lb(a[1],null,null,j);a=z(K+D);u=z(d+D);j=z(A-K-D);b=z(A-d-D);if(isNaN(K)||isNaN(d))$=!0;else if(va){if(j=La,b=A-Y,a<Ga||a>Ga+$a)$=!0}else if(a=Ga,u=f-ea,j<La||j>La+Ua)$=!0;return $?null:Aa.crispLine([L,a,j,N,u,b],c||0)};Ra&&Da&&$b===fa&&($b=!0);h(m,{addPlotBand:e,addPlotLine:e,adjustTickAmount:function(){if(Qb&&
!w&&!sa&&!F){var a=fc,c=E.length;fc=Qb[Fa];if(c<fc){for(;E.length<fc;)E.push(A(E[E.length-1]+Z));t*=(c-1)/(fc-1);Ha=E[E.length-1]}if(b(a)&&fc!==a)m.isDirty=!0}},categories:sa,getExtremes:function(){return{min:B,max:Ha,dataMin:x,dataMax:Wa,userMin:U,userMax:Ia}},getPlotLinePath:Hb,getThreshold:function(a){B>a?a=B:Ha<a&&(a=Ha);return Lb(a,0,1)},isXAxis:Da,options:c,plotLinesAndBands:Ub,getOffset:function(){var a=T(c.showAlways,nb.length&&b(B)&&b(Ha)),u=0,K=0,d=c.title,A=c.labels,f=[-1,1,1,-1][o],$;
Ca||(Ca=Aa.g("axis").attr({zIndex:7}).add(),y=Aa.g("grid").attr({zIndex:1}).add());ba=0;if(a||F)P(E,function(a){ga[a]?ga[a].addLabel():ga[a]=new j(a);if(o===0||o===2||{1:"left",3:"right"}[o]===A.align)ba=ia(ga[a].getLabelSize(),ba)}),aa&&(ba+=(aa-1)*16);else for($ in ga)ga[$].destroy(),delete ga[$];if(d&&d.text){if(!m.axisTitle)m.axisTitle=Aa.text(d.text,0,0).attr({zIndex:7,rotation:d.rotation||0,align:d.textAlign||{low:"left",middle:"center",high:"right"}[d.align]}).css(d.style).add();u=m.axisTitle.getBBox()[va?
"height":"width"];K=p(d.margin,va?5:10)}X=f*(c.offset||ta[o]);Tb=ba+(o!==2&&ba&&f*c.labels[va?"y":"x"])+K;ta[o]=ia(ta[o],Tb+u+f*X)},render:l,setCategories:function(c,j){m.categories=sa=c;P(nb,function(a){a.translate();a.setTooltipPoints(!0)});m.isDirty=!0;p(j,!0)&&a.redraw()},setExtremes:function(c,j,u,b){u=p(u,!0);na(m,"setExtremes",{min:c,max:j},function(){U=c;Ia=j;u&&a.redraw(b)})},setScale:g,setTickPositions:ja,translate:Lb,redraw:function(){Ob.resetTracker&&Ob.resetTracker();l();P(Ub,function(a){a.render()});
P(nb,function(a){a.isDirty=!0})},removePlotBand:pa,removePlotLine:pa,reversed:$b,stacks:n,scroll:function(c,j,u){var b=this.options,K=b.scroll,b=b.min,d=K.vxLength,A=K.viewPortMin,c=(K.viewPortMax-A-d)*c+A,K=c+d,f;u===void 0&&(u=!0);Ob.resetTracker&&(u?Ob.resetTracker():a.tooltip&&a.tooltip.hide());U=c;Ia=K;M(p(j,!1),a);Zb&&(Mb||(Qb=null,this.setScale()),P(Ub,function(a){a.render()}),f=t*(c-b),P(nb,function(a){a.scroll(f,0,u)}));na(a,"scroll")}});for(qa in r)ma(m,qa,r[qa]);g()}function u(){var c=
{};return{add:function(j,u,b,K){c[j]||(u=Aa.text(u,0,0).css(a.toolbar.itemStyle).align({align:"right",x:-ea-20,y:La+30}).on("click",K).attr({align:"right",zIndex:20}).add(),c[j]=u)},remove:function(a){tb(c[a].element);c[a]=null}}}function K(a){function c(){var a=this.points||y(this),j=a[0].series.xAxis,u=this.x,j=j&&j.options.type==="datetime",b=m(u)||j,K;K=b?['<span style="font-size: 10px">'+(j?s("%A, %b %e, %Y",u):u)+"</span>"]:[];P(a,function(a){K.push(a.point.tooltipFormatter(b))});return K.join("<br/>")}
function j(a,c){pa=g?a:(2*pa+a)/3;h=g?c:(h+c)/2;va.translate(pa,h);Rb=ya(a-pa)>1||ya(c-h)>1?function(){j(a,c)}:null}function u(){if(!g){var a=U.hoverPoints;va.hide();P(A,function(a){a&&a.hide()});a&&P(a,function(a){a.setState()});U.hoverPoints=null;g=!0}}var b,K=a.borderWidth,d=a.crosshairs,A=[],f=a.style,$=a.shared,ja=Q(f.padding),k=K+ja,g=!0,e,l,pa=0,h=0,za=!1;f.padding=0;var va=Aa.g("tooltip").attr({zIndex:8}).add(),Da=Aa.rect(k,k,0,0,a.borderRadius,K).attr({fill:a.backgroundColor,"stroke-width":K}).add(va).shadow(a.shadow,
void 0,a.shadow),o=Aa.text("",ja+k,Q(f.fontSize)+ja+k).attr({zIndex:1}).css(f).add(va);va.hide();return{shared:$,refresh:function(K,f){var s,pa,h,n=0,m={},r=[];h=K.tooltipPos;s=a.formatter||c;m=U.hoverPoints;if(za)u();else if($?(m&&P(m,function(a){a.setState()}),U.hoverPoints=K,P(K,function(a){a.setState(Qa);n+=a.plotY;r.push(a.getLabelConfig())}),pa=K[0].plotX,n=z(n)/K.length,m={x:K[0].category},m.points=r,K=K[0]):m=K.getLabelConfig(),m=s.call(m),b=K.series,pa=$?pa:K.plotX,n=$?n:K.plotY,s=z(h?h[0]:
Ra?$a-n:pa),pa=z(h?h[1]:Ra?Ua-pa:n),h=$||!K.series.isCartesian||ib(s,pa),m===!1||!h?u():(g&&!f&&(va.show(),g=!1),o.attr({text:m}),h=o.getBBox(),e=h.width+2*ja,l=h.height+2*ja,Da.attr({width:e,height:l,stroke:a.borderColor||K.color||b.color||"#606060"}),h=s-e+Ga-25,pa=pa-l+La+10,h<7&&(h=Ga+s+15),pa<5?pa=5:pa+l>Ta&&(pa=Ta-l-5),j(z(h-k),z(pa-k))),d){d=y(d);for(s=d.length;s--;)if(pa=K.series[s?"yAxis":"xAxis"],d[s]&&pa)if(pa=pa.getPlotLinePath(K[s?"y":"x"],1),A[s])A[s].attr({d:pa,visibility:q});else{h=
{"stroke-width":d[s].width||1,stroke:d[s].color||"#C0C0C0",zIndex:2};if(d[s].dashStyle)h.dashstyle=d[s].dashStyle;A[s]=Aa.path(pa).attr(h).add()}}},hide:u,move:j,block:function(a){(za=Boolean(a))&&u()},visible:function(){return g}}}function ja(a,c){function j(a){var c,u=dc&&aa.width/aa.documentElement.clientWidth-1,b,K,d,a=a||Va.event;if(!a.target)a.target=a.srcElement;c=a.touches?a.touches.item(0):a;if(a.type!=="mousemove"||Va.opera||u)Ib=Oa(Ka),b=Ib.left,K=Ib.top;Fb?(d=a.x,c=a.y):c.layerX===fa?
(d=c.pageX-b,c=c.pageY-K):(d=a.layerX,c=a.layerY);u&&(d+=z((u+1)*b-b),c+=z((u+1)*K-K));return h(a,{chartX:d,chartY:c})}function u(a){var c={xAxis:[],yAxis:[]};P(rb,function(j){var u=j.translate,b=j.isXAxis;c[b?"xAxis":"yAxis"].push({axis:j,value:u((Ra?!b:b)?a.chartX-Ga:Ua-a.chartY+La,!0)})});return c}function b(){var c=a.hoverSeries,j=a.hoverPoint;if(j)j.onMouseOut();if(c)c.onMouseOut();gb&&gb.hide();cc=null}function d(){if(ja){var c={xAxis:[],yAxis:[]},j=ja.getBBox(),u=j.x-Ga,b=j.y-La;c.selectionLeft=
u;c.selectionTop=b;c.selectionWidth=j.width;c.selectionHeight=j.height;$&&(P(rb,function(a){var K=a.translate,d=a.isXAxis,A=Ra?!d:d,f=K(A?u:Ua-b-j.height,!0,0,0,1),K=K(A?u+j.width:Ua-b,!0,0,0,1);c[d?"xAxis":"yAxis"].push({axis:a,min:db(f,K),max:ia(f,K)})}),na(a,"selection",c,vc));ja=ja.destroy()}a.mouseIsDown=pb=$=!1;Z(aa,Za?"touchend":"mouseup",d)}var A,f,$,ja,k=wa.zoomType,e=/x/.test(k),s=/y/.test(k),pa=e&&!Ra||s&&Ra,l=s&&!Ra||e&&Ra;Bb=function(){Vb?(Vb.translate(Ga,La),Ra&&Vb.attr({width:a.plotWidth,
height:a.plotHeight}).invert()):a.trackerGroup=Vb=Aa.g("tracker").attr({zIndex:9}).add()};Bb();if(c.enabled)a.tooltip=gb=K(c);(function(){var K=!0;Ka.onmousedown=function(c){c=j(c);!Za&&c.preventDefault&&c.preventDefault();a.mouseIsDown=pb=!0;A=c.chartX;f=c.chartY;ma(aa,Za?"touchend":"mouseup",d)};var k=function(u){if(!u||!(u.touches&&u.touches.length>1)){u=j(u);if(!Za)u.returnValue=!1;var d=u.chartX,k=u.chartY,h=!ib(d-Ga,k-La);Za&&u.type==="touchstart"&&(g(u.target,"isTracker")?a.runTrackerClick||
u.preventDefault():!ac&&!h&&u.preventDefault());h&&(K||b(),d<Ga?d=Ga:d>Ga+$a&&(d=Ga+$a),k<La?k=La:k>La+Ua&&(k=La+Ua));if(pb&&u.type!=="touchstart"){if($=Math.sqrt(Math.pow(A-d,2)+Math.pow(f-k,2)),$>10){if(Zb&&(e||s)&&ib(A-Ga,f-La))ja||(ja=Aa.rect(Ga,La,pa?1:$a,l?1:Ua,0).attr({fill:"rgba(69,114,167,0.25)",zIndex:7}).add());ja&&pa&&(d-=A,ja.attr({width:ya(d),x:(d>0?0:d)+A}));ja&&l&&(k-=f,ja.attr({height:ya(k),y:(k>0?0:k)+f}))}}else if(!h){var za,k=a.hoverPoint,d=a.hoverSeries,va,Da,o=fb,q=Ra?u.chartY:
u.chartX-Ga;if(gb&&c.shared){za=[];va=eb.length;for(Da=0;Da<va;Da++)if(eb[Da].visible&&eb[Da].tooltipPoints.length)u=eb[Da].tooltipPoints[q],u._dist=ya(q-u.plotX),o=db(o,u._dist),za.push(u);for(va=za.length;va--;)za[va]._dist>o&&za.splice(va,1);if(za.length&&za[0].plotX!==cc)gb.refresh(za),cc=za[0].plotX}if(d&&d.tracker&&(u=d.tooltipPoints[q+((Ra?d.yShift:d.xShift)||0)])&&u!==k)u.onMouseOver()}return(K=h)||!Zb}};Ka.onmousemove=k;ma(Ka,"mouseleave",b);Ka.ontouchstart=function(a){if(e||s)Ka.onmousedown(a);
k(a)};Ka.ontouchmove=k;Ka.ontouchend=function(){$&&b()};Ka.onclick=function(c){var b=a.hoverPoint,c=j(c);c.cancelBubble=!0;if(!$)if(b&&g(c.target,"isTracker")){var K=b.plotX,d=b.plotY;h(b,{pageX:Ib.left+Ga+(Ra?$a-d:K),pageY:Ib.top+La+(Ra?Ua-K:d)});na(b.series,"click",h(c,{point:b}));b.firePointEvent("click",c)}else h(c,u(c)),na(a,"click",c);$=!1}})();Xb=setInterval(function(){Rb&&Rb()},32);h(this,{zoomX:e,zoomY:s,resetTracker:b})}function A(a){var c=a.type||wa.type||wa.defaultSeriesType,j=oa[c],u=
U.hasRendered;if(u)if(Ra&&c==="column")j=oa.bar;else if(!Ra&&c==="bar")j=oa.column;c=new j;c.init(U,a);!u&&c.inverted&&(Ra=!0);if(c.isCartesian)Zb=c.isCartesian;eb.push(c);return c}function $(){wa.alignTicks!==!1&&P(rb,function(a){a.adjustTickAmount()});Qb=null}function e(a){var c=U.isDirtyLegend,j,u=U.isDirtyBox,b=eb.length,K=b,d=U.clipRect;for(M(a,U);K--;)if(a=eb[K],a.isDirty&&a.options.stacking){j=!0;break}if(j)for(K=b;K--;)if(a=eb[K],a.options.stacking)a.isDirty=!0;P(eb,function(a){a.isDirty&&
(a.cleanData(),a.getSegments(),a.options.legendType==="point"&&(c=!0))});if(c&&Gb.renderLegend)Gb.renderLegend(),U.isDirtyLegend=!1;Zb&&(Mb||(Qb=null,P(rb,function(a){a.setScale()})),$(),jc(),P(rb,function(a){if(a.isDirty||u)a.redraw(),u=!0}));u&&(wc(),Bb(),d&&(qa(d),d.animate({width:U.plotSizeX,height:U.plotSizeY})));P(eb,function(a){a.isDirty&&a.visible&&(!a.isCartesian||a.xAxis)&&a.redraw()});Ob&&Ob.resetTracker&&Ob.resetTracker();na(U,"redraw")}function l(){var c=a.xAxis||{},u=a.yAxis||{},b,c=
y(c);P(c,function(a,c){a.index=c;a.isX=!0});u=y(u);P(u,function(a,c){a.index=c});rb=c.concat(u);U.xAxis=[];U.yAxis=[];rb=sa(rb,function(a){b=new j(U,a);U[b.isXAxis?"xAxis":"yAxis"].push(b);return b});$()}function va(c,j){ba=ca(a.title,c);Tb=ca(a.subtitle,j);P([["title",c,ba],["subtitle",j,Tb]],function(a){var c=a[0],j=U[c],u=a[1],a=a[2];j&&u&&(j.destroy(),j=null);a&&a.text&&!j&&(U[c]=Aa.text(a.text,0,0).attr({align:a.align,"class":"highcharts-"+c,zIndex:1}).css(a.style).add().align(a,!1,ua))})}function za(){xa=
wa.renderTo;Ea=v+d++;m(xa)&&(xa=aa.getElementById(xa));xa.innerHTML="";xa.offsetWidth||(V=xa.cloneNode(0),B(V,{position:w,top:"-9999px",display:""}),aa.body.appendChild(V));Ja=(V||xa).offsetWidth;Ma=(V||xa).offsetHeight;U.chartWidth=fb=wa.width||Ja||600;U.chartHeight=Ta=wa.height||Ma||400;U.container=Ka=C(o,{className:"highcharts-container"+(wa.className?" "+wa.className:""),id:Ea},h({position:r,overflow:da,width:fb+S,height:Ta+S,textAlign:"left"},wa.style),V||xa);U.renderer=Aa=wa.forExport?new qc(Ka,
fb,Ta,!0):new Wb(Ka,fb,Ta);Aa.lighting3D=U.options.chart.use3DLighting;Aa.smartLabel=rc.smartLabel;var a,c;hc&&Ka.getBoundingClientRect&&(a=function(){B(Ka,{left:0,top:0});c=Ka.getBoundingClientRect();B(Ka,{left:-(c.left-Q(c.left))+S,top:-(c.top-Q(c.top))+S})},a(),ma(Va,"resize",a),ma(U,"destroy",function(){Z(Va,"resize",a)}))}function n(){function a(){var j=wa.width||xa.offsetWidth,u=wa.height||xa.offsetHeight;if(j&&u){if(j!==Ja||u!==Ma)clearTimeout(c),c=setTimeout(function(){xc(j,u,!1)},100);Ja=
j;Ma=u}}var c;ma(Va,"resize",a);ma(U,"destroy",function(){Z(Va,"resize",a)})}function mb(){var a=this.options.chart.canvasBaseColor3D,c=this.options.chart.canvasBaseDepth,j=this.options.chart.canvasBgDepth,u=this.options.chart.canvasBgColor,b=this.renderer,K=this.options.chart.defaultSeriesType,d=this.xDepth,A=this.yDepth;if(this.options.chart.showCanvasBase)this.base3D=K==="bar3d"?b.rect3d(this.plotLeft-d-c,this.plotTop+A,c,this.plotHeight,d,A,0,"canvasBase3D"):b.rect3d(this.plotLeft-d,this.plotTop+
this.plotHeight+A,this.plotWidth,c,d,A,0,"canvasBase3D"),this.base3D.attr({fill:a,lighting3D:this.options.chart.use3DLighting}).add();if(this.options.chart.showCanvasBg)ab.depth3D=K==="bar3d"?b.path(["M",this.plotLeft,this.plotTop,"L",this.plotLeft+j*1.2,this.plotTop-j,this.plotLeft+this.plotWidth-j,this.plotTop-j,this.plotLeft+this.plotWidth,this.plotTop,"Z"]).attr({fill:u}).add():b.path(["M",this.plotLeft+this.plotWidth,this.plotTop,"L",this.plotLeft+this.plotWidth+j,this.plotTop+j*1.2,this.plotLeft+
this.plotWidth+j,this.plotTop+this.plotHeight-j,this.plotLeft+this.plotWidth,this.plotTop+this.plotHeight,"Z"]).attr({fill:u}).add()}function t(){var c=a.labels,j=a.credits,b,K={},d;va();Gb=U.legend=new Bc(U);jc();P(rb,function(a){a.setTickPositions(!0)});$();jc();wc();Zb&&P(rb,function(a){a.render()});if(!U.seriesGroup)U.seriesGroup=Aa.g("series-group").attr({zIndex:3}).add();P(eb,function(c){c.translate();c.setTooltipPoints();a.chart.is3D?(d=c.type,K[d]||(K[d]=[]),K[d].push(c)):c.render()});if(a.chart.is3D)U.xDepth=
R(a.chart.xDepth,10),U.yDepth=R(a.chart.yDepth,10),mb.call(U),lc(U,K);c.items&&P(c.items,function(){var a=h(c.style,this.style),j=Q(a.left)+Ga,u=Q(a.top)+La;delete a.left;delete a.top;a=Aa.text(this.html,j,u).attr({zIndex:R(this.zIndex,2),align:T(this.textAlign,"left")}).css(a).add();this.vAlign==="bottom"&&a.attr({y:u-a.getBBox().height});this.vAlign==="middle"&&a.attr({y:u-a.getBBox().height/2})});if(!U.toolbar)U.toolbar=u(U);if(j.enabled&&!U.credits)b=j.href,Aa.text(j.text,0,0).on("click",function(){if(b)location.href=
b}).attr({align:j.position.align,zIndex:8}).css(j.style).add().align(j.position);Bb();if(a.buttons)for(var A in a.buttons)U.addButton(a.buttons[A]);if(a.subCharts&&a.subCharts.length&&!Aa.forExport)U.subCharts=[],P(a.subCharts,function(c){var j=c.chart;j.renderTo=C(o,null,{position:"relative",background:"transparent",left:j.left+S,top:(Fb&&!Cb?j.top:j.top-Ta)+S,width:j.width+S,height:j.height+S},Ka);h(c,{instanceAPI:a.instanceAPI});U.subCharts.push(new Eb(c))});U.hasRendered=!0;V&&(xa.appendChild(Ka),
tb(V))}function Hb(){var a=eb.length,c=Ka&&Ka.parentNode;U.subCharts&&U.subCharts.length&&P(U.subCharts,function(a){a.destroy&&a.destroy()});na(U,"destroy");Z(Va,"unload",Hb);Z(U);for(P(rb,function(a){Z(a)});a--;)eb[a].destroy();if(Ka)Ka.innerHTML="",Z(Ka),c&&c.removeChild(Ka),Ka=null;if(Aa)Aa.alignedObjects=null;clearInterval(Xb);for(a in U)delete U[a]}function Wa(){!Cb&&Va==Va.top&&aa.readyState!=="complete"?aa.attachEvent("onreadystatechange",function(){aa.detachEvent("onreadystatechange",Wa);
aa.readyState==="complete"&&Wa()}):(rc.hcInstance=U,za(),yc(),zc(),P(a.series||[],function(a){A(a)}),U.inverted=Ra=p(Ra,a.chart.inverted),l(),U.render=t,U.tracker=Ob=new ja(U,a.tooltip),t(),a.chart&&a.chart.precallbacks&&P(a.chart.precallbacks,function(a){a.call(rc)}),na(U,"load"),c&&c.apply(U,[U]),P(U.callbacks,function(a){a.apply(U,[U,rc])}))}pc=ca(pc,f.xAxis);uc=ca(uc,f.yAxis);f.xAxis=f.yAxis=null;var a=ca(f,a),wa=a.chart,J=wa.margin,J=la(J)?J:[J,J,J,J],nb=p(wa.marginTop,J[0]),Ha=p(wa.marginRight,
J[1]),G=p(wa.marginBottom,J[2]),xb=p(wa.marginLeft,J[3]),Yb=wa.spacingTop,Db=wa.spacingRight,E=wa.spacingBottom,ga=wa.spacingLeft,ua,ba,Tb,La,ea,Y,Ga,ta,xa,V,Ka,Ea,Ja,Ma,fb,Ta,Pa,Ab,sc,ab,kc,rc=a.instanceAPI,kb,bc,Xa,bb,Ya,cb,U=this,ac=(J=wa.events)&&!!J.click,gc,ib,gb,pb,jb,yb,vb,Ua,$a,Ob,Vb,Bb,Gb,ub,Jb,Ib,Zb=wa.showAxes,Mb=0,rb=[],Qb,eb=[],Ra,Aa,Rb,Xb,cc,wc,jc,yc,zc,xc,vc,Ac,Bc=function(a){function c(a){var j=a.pageX+Fa.dragOffsetX,a=a.pageY+Fa.dragOffsetY;if(j<Fa.movementBoundaryOrigin)j=Fa.movementBoundaryOrigin;
else if(j>Fa.movementBoundaryX)j=Fa.movementBoundaryX;if(a<Fa.movementBoundaryOrigin)a=Fa.movementBoundaryOrigin;else if(a>Fa.movementBoundaryY)a=Fa.movementBoundaryY;Fa.translate(j,a)}function j(a,c){var u=a.legendItem,b=a.legendLine,K=a.legendSymbol,d=pa.color,f=c?A.itemStyle.color:d,k=c?a.color:d,ja=a.customSymbol,d=c?a.pointAttr[Ia]:{stroke:d,fill:d};u&&u.css({fill:f});b&&b.attr({stroke:k,"stroke-width":2,"stroke-opacity":1});K&&(K.attr(d),K.attr({r:Na($/(b?4:2)),"stroke-width":1,"stroke-opacity":1,
"fill-opacity":1}));ja&&ja.attr(c?ja.symbolAttr:d)}function u(a,c,j){var b=a.legendItem,K=a.legendLine,d=a.legendSymbol,A=a.checkbox,f=a.customSymbol,$=a.legendLabelHeight;b&&b.align({x:c,y:j,height:$,verticalAlign:"middle"},!0,{height:a.legendItemHeight});K&&K.translate(c,j);d&&d.attr({x:c+p,y:j+fa});f&&a.customSymbol.translate(c,j);if(A)A.x=c,A.y=j}function b(){P(k,function(a){var c=a.checkbox,j=zb.alignAttr;c&&B(c,{left:j.translateX+a.legendItemWidth+c.x-40+S,top:j.translateY+c.y-11+S})})}function K(a){var c,
b,d,k=a.legendItem,g=a.series||a;c=g.options;if(!k){d=/^(bar|pie|area|column|column3d|bar3d|floatedcolumn|radar|funnel|pyramid)$/.test(g.type);a.legendItem=k=Aa.text(A.labelFormatter.call(a),0,0).css(a.visible?e:pa).on("mouseover",function(){a.setState(Qa);k.css(s)}).on("mouseout",function(){k.css(a.visible?e:pa);a.setState()}).on("click",function(){var c=function(){a.setVisible(void 0,!1)};if(zb.dragActive)return delete zb.dragActive,!1;a.firePointEvent?a.firePointEvent("legendItemClick",null,c):
na(a,"legendItemClick",null,c)}).attr({zIndex:2}).add(zb);if(!d&&c&&c.lineWidth){var h={"stroke-width":c.lineWidth,zIndex:2};if(c.dashStyle)h.dashstyle=c.dashStyle;a.legendLine=Aa.path([L,v,fa,N,v+$,fa]).attr(h).add(zb)}d?(d=F(v,X,$,$,g.type,a,Aa),a.customSymbol=Aa.path(d.path).attr({"stroke-width":d.strokeWidth,zIndex:3}).add(zb),a.customSymbol.symbolAttr={stroke:d.strokeColor,fill:d.color}):c&&c.marker&&c.marker.enabled&&(b=Aa.symbol(a.symbol,p,fa,$/2).attr({zIndex:3}).add(zb));a.legendSymbol=b;
j(a,a.visible);if(b=b||a.customSymbol)b.css(A.symbolStyle).on("click",function(){na(k.element,"click")});if(c&&c.showCheckbox)a.checkbox=C("input",{type:"checkbox",checked:a.selected,defaultChecked:a.selected},A.itemCheckboxStyle,Ka),ma(a.checkbox,"click",function(c){na(a,"checkboxClick",{checked:c.target.checked},function(){a.select()})})}c=k.getBBox();b=a.legendItemWidth=A.itemWidth||$+ja+c.width+va;nb=a.legendItemHeight=ia(c.height,z);a.legendLabelHeight=c.height;a.symbolSize=$;a.lineHeight=z;
if(f)if(z&&Lb){for(;t[da]===!0;)da+=1;wa=qb(da/Lb);Hb=da%Lb;wa>D&&(J+=z*(wa-D),D=wa);Wa=m+Hb*b;t[da]=!0;y=nb/z;Ha=da;for(x=0;x<y;x+=1,Ha+=Lb)t[Ha]=!0}else if(Wa-m+b>(G||fb-2*l-m))Wa=m,J+=nb;O=J;u(a,Wa,J);f?Wa+=b:J+=nb;M=G||ia(f?Wa-m:b,M)}function d(){var j=xb*0.5;Wa=m;J=o;O=M=0;if(!zb){var u,$,ja;r&&r.enabled?(Fa=Aa.g("legend-box").attr({zIndex:10}).add(),u=za+j,$=E=G-r.scrollBarWidth-r.scrollBarPadding,ja=I-za-xb,u=Aa.clipRect(0,u,$,ja),mb=Aa.g("legend-container").attr({zIndex:1}).clip(u).add(Fa),
zb=Aa.g("legend").add(mb),Aa.scroller($+za-j,j,10,ja+1,!1,!1,!1,Fa).attr({zIndex:3,fill:A.legendScrollBgColor}).setScrollRatio((ja+l)/A.totalHeight).callback(function(a){zb.translate(0,(ja-A.totalHeight)*a)}).add(Fa)):mb=Fa=zb=Aa.g("legend").attr({zIndex:10}).add();A.legendAllowDrag&&(Fa.css({cursor:"move"}),ma(Fa.element,"dragstart dragend",function(a){Fa.movementBoundaryOrigin=xb||0;Fa.movementBoundaryX=fb-G-Fa.movementBoundaryOrigin;Fa.movementBoundaryY=Ta-I-Fa.movementBoundaryOrigin;Fa.dragOffsetX=
Fa.attr("translateX")-a.pageX;Fa.dragOffsetY=Fa.attr("translateY")-a.pageY;Fa.dragActive=!0;gb&&gb.block(a.type==="dragstart")}),ma(Fa.element,"drag",c))}A.title&&A.title.text!==wb&&(w=Aa.text(A.title.text,0,0).css(A.title.style).attr({zIndex:2,align:"center"}).add(zb),j=w.getBBox(),w.align({align:"center",verticalAlign:"top",y:J},!1,{x:0,y:0,width:E,height:j.height}),J+=(j.height||0)+q);k=[];P(Z,function(a){var c=a.options;c.showInLegend&&(c.legendType==="point"?P(a.data,function(a){a.showInLegend&&
(k=k.concat(a))}):k=k.concat(a))});k.sort(function(a,c){return(a.options.legendIndex||0)-(c.options.legendIndex||0)});Pb&&k.reverse();P(k,K);ub=G||M;Jb=O-o+nb;if(xb||Sa)U?ub>0&&Jb>0&&U.animate(U.crisp(null,null,null,ub,I)):U=Aa.rect(0,0,ub,I,A.borderRadius,xb||0).attr({stroke:A.borderColor,"stroke-width":xb||0,fill:Sa||Ca}).add(Fa).shadow(A.shadow,void 0,A.shadow),U[k.length?"show":"hide"]();j=["left","right","top","bottom"];for(u=4;u--;)$=j[u],g[$]&&g[$]!=="auto"&&(A[u<2?"align":"verticalAlign"]=
$,A[u<2?"x":"y"]=Q(g[$])*(u%2?-1:1));if(!f)A.y=(a.options.chart.marginTop-a.options.chart.marginBottom)/2;Fa.align(h(A,{width:ub,height:I}),!0,ua);Mb||b()}var A=a.options.legend;if(A.enabled){var f=A.layout==="horizontal",$=A.symbolWidth,ja=A.symbolPadding,k,g=A.style,e=A.itemStyle,s=A.itemHoverStyle,pa=A.itemHiddenStyle,l=A.padding||4,za=l*0.5,va=20,Da=Q(e.fontSize)||10,o=Da+l,q=A.title.padding,n=A.textPadding,m=n+l+$+2*ja+A.initialItemX,r=A.scroll,w,v=-n-ja-$,X=-Da+ja,p=-n-ja-$/2,fa=-Da+ja+$/2,
mb,Fa,t=[],da=0,D=0,z=A.rowHeight,Lb=A.legendNumColumns,wa,Hb,y,Ha,x,I=A.height,Wa,J,O,nb=0,U,xb=A.borderWidth,Sa=A.backgroundColor,zb,M,G=A.width,E=G,Z=a.series,Pb=A.reversed;d();ma(a,"endResize",b);return{colorizeItem:j,destroyItem:function(a){var c=a.checkbox;P(["legendItem","legendLine","legendSymbol"],function(c){a[c]&&a[c].destroy()});c&&tb(a.checkbox)},renderLegend:d}}};ib=function(a,c){return a>=0&&a<=$a&&c>=0&&c<=Ua};Ac=function(){U.stepZoom&&Ya?(Ya(void 0,void 0,0),U.stepZoom.resetButton&&
U.stepZoom.resetButton.hide(),U.stepZoom.zoButton&&U.stepZoom.zoButton.hide()):(na(U,"selection",{resetSelection:!0},vc),U.toolbar.remove("zoom"))};Ya=function(a,c,j){var Da;var u=U.stepZoom,b=u.zoomHistory,K=u.currentZoomLevelIndex,d,A=u.pixelsPerPoint,f=U.series,$=f.length,k=u.maxIndex,ja,g,e,s;if(j<K)K=u.currentZoomLevelIndex=j||0,b.splice(K+1,b.length),b=b[K],A=b.stepping,j=b.seriesStart,c=b.perPointPixelDistance,g=b.scrollRatio,a=u.scrollPosition=b.scrollPosition,u.scrollablePXLength=b.scrollablePXLength;
else{a>c&&(j=a,a=c,c=j);d=U.plotWidth;j=c-a;c=d/j;A=c<A?Math.ceil(A/c):1;c=d/(j-j%A);j=a%A;ja=k-k%A;e=(ja-j)*c;g=d/e;s=e-d;a=s>0?(a-j)*c/(e-d):0;u.scrollPosition=a;u.scrollablePXLength=s;if((d=b[K])&&d.stepping===A&&d.seriesStart===j&&d.seriesEnd===ja&&d.seriesEnd===c)return;b[u.currentZoomLevelIndex=K+=1]={seriesStart:j,seriesEnd:ja,stepping:A,perPointPixelDistance:c,visiblePointDistance:A*c,seriesConf:[],scrollRatio:g,scrollPosition:a,scrollablePXLength:s}}d=[];for(var pa,h,l,K=0;K<=k;K+=1){ja=
K-j;b=ja*c;e=b+u.xDisplacement;ja=(s=ja<0||ja%A!==0)?"hide":"show";if(l=u.catLabelArr[K])l[ja](),l.attr({x:e});for(e=0;e<$;e+=1)if(pa=f[e],l=pa.data[K],l.plotX=b,Da=d[e]||(d[e]={path:[],addMove:!0,addLine:!1,lastMovePoint:[],connectNullData:pa.options.connectNullData}),pa=Da,h=pa.path,l.graphic&&(l.graphic.attr({x:b}),l.graphic[ja]()),l.dataLabel&&l.dataLabel.attr&&(l.dataLabel.attr({x:b}),l.dataLabel[ja]()),l.tracker&&l.tracker.attr&&(l.tracker.attr({x:b}),l.tracker[ja]()),!s)if(l&&l.plotY){if(pa.addLine)h.push(L,
pa.lastMovePoint[0],pa.lastMovePoint[1],N),pa.addLine=!1;pa.addMove?(pa.addLine=!0,pa.addMove=!1,pa.lastMovePoint[0]=b,pa.lastMovePoint[1]=l.plotY):h.push(b,l.plotY)}else if(!pa.connectNullData)pa.addMove=!0}for(e=0;e<$;e+=1)pa=d[e]||(d[e]={path:[L],isLastMoveComand:!0}),h=pa.path,f[e].graphLine.attr({d:h});u.scroller.setScrollRatio(g);u.scroller.setScrollPosition(a)};var Cc=function(a){var c=U.stepZoom,j=c.zoomHistory[c.currentZoomLevelIndex],u=j.perPointPixelDistance,b=a.selectionWidth,c=c.maxIndex,
a=j.scrollablePXLength*j.scrollPosition+a.selectionLeft,b=a+b,a=Math.floor(a/u),b=Math.ceil(b/u);b>c&&(b=c);b>a&&Ya(a,b)};vc=function(a){var c=f.lang,j=U.pointCount<100;if(U.stepZoom&&Ya){Cc(a);U.stepZoom.zoButton?U.stepZoom.zoButton.show():U.stepZoom.zoButton=U.addButton({onclick:function(){Ya(void 0,void 0,U.stepZoom.currentZoomLevelIndex-1);U.stepZoom.resetButton[U.stepZoom.currentZoomLevelIndex>1?"show":"hide"]();U.stepZoom.currentZoomLevelIndex==0&&U.stepZoom.zoButton.hide()},tooltip:"Zoom out one level",
symbol:"zoomOutIcon",paddingRight:7});if(!U.stepZoom.resetButton)U.stepZoom.resetButton=U.addButton({onclick:Ac,tooltip:"Reset Zoom",symbol:"resetIcon",symbolFill:"none",hoverSymbolFill:"none"});U.stepZoom.resetButton[U.stepZoom.currentZoomLevelIndex>1?"show":"hide"]()}else U.toolbar.add("zoom",c.resetZoom,c.resetZoomTitle,Ac),!a||a.resetSelection?P(rb,function(a){a.setExtremes(null,null,!1,j)}):P(a.xAxis.concat(a.yAxis),function(a){var c=a.axis;U.tracker[c.isXAxis?"zoomX":"zoomY"]&&c.setExtremes(a.min,
a.max,!1,j)}),e()};jc=function(){var c=a.legend,j=p(c.margin,10),u=c.x,K=c.y,d=c.align,A=c.verticalAlign,f;yc();if((U.title||U.subtitle)&&!b(nb))(f=ia(U.title&&!ba.floating&&!ba.verticalAlign&&ba.y||0,U.subtitle&&!Tb.floating&&!Tb.verticalAlign&&Tb.y||0))&&(La=ia(La,f+p(ba.margin,15)+Yb));c.enabled&&!c.floating&&(d==="right"?b(Ha)||(ea=ia(ea,ub-u+j+Db)):d==="left"?b(xb)||(Ga=ia(Ga,ub+u+j+ga)):A==="top"?b(nb)||(La=ia(La,Jb+K+j+Yb)):A==="bottom"&&(b(G)||(Y=ia(Y,Jb-K+j+E))));Zb&&P(rb,function(a){a.getOffset()});
b(xb)||(Ga+=ta[3]);b(nb)||(La+=ta[0]);b(G)||(Y+=ta[2]);b(Ha)||(ea+=ta[1]);zc()};xc=function(a,c,j){var u=U.title,b=U.subtitle;Mb+=1;M(j,U);Ab=Ta;Pa=fb;U.chartWidth=fb=z(a);U.chartHeight=Ta=z(c);B(Ka,{width:fb+S,height:Ta+S});Aa.setSize(fb,Ta,j);$a=fb-Ga-ea;Ua=Ta-La-Y;Qb=null;P(rb,function(a){a.isDirty=!0;a.setScale()});P(eb,function(a){a.isDirty=!0});U.isDirtyLegend=!0;U.isDirtyBox=!0;jc();u&&u.align(null,null,ua);b&&b.align(null,null,ua);e(j);Ab=null;na(U,"resize");setTimeout(function(){na(U,"endResize",
null,function(){Mb-=1})},X&&X.duration||500)};zc=function(){U.plotLeft=Ga=z(Ga);U.plotTop=La=z(La);U.plotWidth=$a=z(fb-Ga-ea);U.plotHeight=Ua=z(Ta-La-Y);U.plotSizeX=Ra?Ua:$a;U.plotSizeY=Ra?$a:Ua;ua={x:ga,y:Yb,width:fb-ga-Db,height:Ta-Yb-E}};yc=function(){La=p(nb,Yb);ea=p(Ha,Db);Y=p(G,E);Ga=p(xb,ga);ta=[0,0,0,0]};wc=function(){var a=wa.borderWidth||0,c=wa.backgroundColor,j=wa.plotBackgroundColor,u=wa.plotBackgroundImage,b=wa.bgSWF,K=wa.bgSWFAlpha/100,d=wa.bgImageDisplayMode,A=wa.bgImageVAlign,f=wa.bgImageHAlign,
$=wa.bgImageScale,ja=wa.logoURL,k=wa.logoAlpha/100,g=wa.logoPosition,e=wa.logoLink,s=wa.logoScale,pa=wa.logoLeftMargin,l=wa.logoTopMargin,h,za,va={x:Ga,y:La,width:$a,height:Ua};h=a+(wa.shadow?8:0);za=h%2;if(a||c)sc?sc.animate(sc.crisp(null,null,null,fb-h,Ta-h)):sc=Aa.rect(h/2,h/2,fb-h+za,Ta-h+za,wa.borderRadius,a).attr({stroke:wa.borderColor,"stroke-width":a,fill:c||Ca}).add().shadow(wa.shadow,void 0,wa.shadow);c=Aa.clipRect(a,a,fb-a*2,Ta-a*2);if(b&&!kb){var Da=new Image,o,n=1,m=1,r,w;bc||(bc=Aa.g("group").attr({visibility:da}).clip(c).add());
Da.onload=function(){o=lb(d,A,f,$,a,fb,Ta,Da);kb=[];if(o.tileInfo){n=o.tileInfo.xCount;m=r=o.tileInfo.yCount;w=o.y;for(delete o.tileInfo;n;r-=1){if(r==0)r=m,n-=1,o.x+=o.width,o.y=w;kb[void 0]=Aa.image(b).attr(o).css({opacity:K}).add(bc.attr({visibility:q}));o.y+=o.height}}else kb[0]=Aa.image(b).attr(o).css({opacity:K}).add(bc.attr({visibility:q}))};Da.src=b}j&&(ab?ab.animate(va):ab=Aa.rect(Ga,La,$a,Ua,R(wa.plotBorderRadius,0)).attr({fill:j}).add().shadow(wa.plotShadow,void 0,wa.plotShadow));u&&(kc?
kc.animate(va):kc=Aa.image(u,Ga,La,$a,Ua).add());if(wa.plotBorderWidth)j=wa.plotBorderWidth,u=j*0.5,u={x:Ga-u,y:La-u,width:$a+j,height:Ua+j,r:R(wa.plotBorderRadius,0)},cb?cb.animate(cb.crisp(null,u.x,u.y,u.width,u.height)):cb=Aa.rect(u.x,u.y,u.width,u.height,u.r,j).attr({stroke:wa.plotBorderColor,"stroke-width":j,"stroke-linejoin":"round",zIndex:2}).add();if(ja&&!Xa){var v=new Image,X,p,Fa,fa;switch(g){case "tr":p=hb;Fa=Kb;break;case "bl":p=Sb;Fa=ob;break;case "br":p=Sb;Fa=Kb;break;case "cc":Fa=p=
sb;break;default:p=hb,Fa=ob}bb||(bb=Aa.g("group").attr({visibility:da,zIndex:7}).clip(c).add());e&&(fa=Aa.rect(0,0,1,1,0).attr({isTracker:!0,stroke:D,fill:D,"stroke-width":0,visibility:q,zIndex:10}).css({cursor:"pointer",_cursor:"hand"}).on("mouseover",function(){U.tooltip&&U.tooltip.hide()}).on("click",function(){wa.events.click.call({link:e})}).add());v.onload=function(){X=lb("none",p,Fa,s,a,fb,Ta,v);Xa=Aa.image(ja).attr(X).translate(pa,l).css({opacity:k}).add(bb.attr({visibility:q}));if(e)X.r=
0,fa.attr(X)};v.src=ja}U.isDirtyBox=!1};ma(Va,"unload",Hb);wa.reflow!==!1&&ma(U,"load",n);if(J)for(gc in J)ma(U,gc,J[gc]);U.options=a;U.series=eb;U.addSeries=function(a,c,j){var u;a&&(M(j,U),c=p(c,!0),na(U,"addSeries",{options:a},function(){u=A(a);u.isDirty=!0;U.isDirtyLegend=!0;c&&U.redraw()}));return u};U.animation=p(wa.animation,!0);U.destroy=Hb;U.get=function(a){var c,j,u;for(c=0;c<rb.length;c++)if(rb[c].options.id===a)return rb[c];for(c=0;c<eb.length;c++)if(eb[c].options.id===a)return eb[c];
for(c=0;c<eb.length;c++){u=eb[c].data;for(j=0;j<u.length;j++)if(u[j].id===a)return u[j]}return null};U.getSelectedPoints=function(){var a=[];P(eb,function(c){a=a.concat(ha(c.data,function(a){return a.selected}))});return a};U.getSelectedSeries=function(){return ha(eb,function(a){return a.selected})};U.hideLoading=function(){tc(jb,{opacity:0},{duration:a.loading.hideDuration,complete:function(){B(jb,{display:Ca})}});vb=!1};U.isInsidePlot=ib;U.redraw=e;U.setSize=xc;U.setTitle=va;U.showLoading=function(c){var j=
a.loading,u=j.labelStyle;jb||(jb=C(o,{className:"highcharts-loading"},h(j.style,{left:0,top:0,width:fb+S,height:Ta+S,zIndex:22,display:Ca}),Ka),h(u,{top:Ta/2-3+S}),yb=C("span",null,u,jb));yb.innerHTML=c||a.lang.loading;vb||(B(jb,{opacity:0,display:""}),tc(jb,{opacity:j.style.opacity},{duration:j.showDuration}),vb=!0)};U.pointCount=0;U.counters=new x;Wa()}function ub(a,c,j,u,b,d){var A=W.atan((c-u)/(a-j)),f=[];A<0&&(A=2*W.PI+A);if(u>c){if(j>=a&&A>W.PI||j<a&&A>W.PI)A-=W.PI}else if(j>=a&&A<W.PI&&A!=
0||j<a&&A<W.PI)A+=W.PI;typeof d=="undefined"?(j=a+b*Ja(A),b=c+b*Pa(A)):(b=ya(b)/2,d=ya(d)/2,j=a+(b=a<j?b:-b),b=c+b*W.tan(A),ya(c-b)>ya(d)&&(b=c+(d=c<u?d:-d),j=a+d/W.tan(A)));f.push(L);f.push(j+10*Ja(A+0.79));f.push(b+10*Pa(A+0.79));f.push(N);f.push(j);f.push(b);f.push(j+10*Ja(A-0.79));f.push(b+10*Pa(A-0.79));return f}var G=FusionCharts(["private","modules.renderer.highcharts-src"]);if(G!==void 0){var G=G.hcLib,T=G.pluck,R=G.pluckNumber,Ya=G.graphics.getDarkColor,cb=G.graphics.getLightColor,Ma=G.graphics.convertColor,
yb=G.graphics.getAngle,Y=G.regex.dropHash,vb=G.regex.startsRGBA,ta=G.regex.hexcode,Ea=G.HASHSTRING,wb=G.BLANKSTRING,lb=G.setImageDisplayMode,hb=G.POSITION_TOP,Kb=G.POSITION_RIGHT,Sb=G.POSITION_BOTTOM,ob=G.POSITION_LEFT,sb=G.POSITION_MIDDLE,t=G.getValidValue,ea=G.toPrecision,ka=G.COLOR_TRANSPARENT,V=G.getFirstColor,E=G.COMMASTRING,bb={column3d:function(a,c){var j,u,b=0,d,A,f,k=[];j=0;for(u=a.length;j<u;j+=1)b=ia(a[j].data.length,b);if(b>0){A=a[0];c=A.chart;A.initGroup();f=c.column3DStacked=T(A.options.stacking,
c.options.plotOptions.column3d&&c.options.plotOptions.column3d.stacking,c.options.plotOptions.series.stacking)!==void 0?!0:!1;for(j=0;j<b;j+=1){d=0;for(u=a.length;d<u;d+=1)A=a[d],(A=A.data[j])&&A.y!==null&&(A.y<0&&f?k.push(d):a[d].drawNthPoint(j));if(f)for(u=k.length-1;u>=0;u-=1)a[k.pop()].drawNthPoint(j)}d=0;for(u=a.length;d<u;d+=1)a[d].render()}},bar3d:function(a,c){var j,u,b=0,d,A,f=[];j=0;for(u=a.length;j<u;j+=1)b=ia(a[j].data.length,b);if(b>0){d=a[0];c=d.chart;d.initGroup();A=c.column3DStacked=
T(d.options.stacking,c.options.plotOptions.column3d&&c.options.plotOptions.column3d.stacking,c.options.plotOptions.series.stacking)!==void 0?!0:!1;for(j=b-1;j>=0;j-=1){b=0;for(u=a.length;b<u;b+=1)d=a[b],(d=d.data[j])&&d.y!==null&&(d.y<=0&&A?f.push(b):a[b].drawNthPoint(j));if(A)for(u=f.length-1;u>=0;u-=1)a[f.pop()].drawNthPoint(j)}b=0;for(u=a.length;b<u;b+=1)a[b].render()}},common:function(){}},gb={column3d:!0,bar3d:!0,area3d:!0,line3d:!0},lc=function(a,c,j){var u=0,b=0,d=0,A=0,f=0,k,g=a.xDepth,e=
a.yDepth,s=a.options.chart.series2D3Dshift,l=0,h=0;if(c.column3d)u=c.column3d.length;if(c.bar3d)A=c.bar3d.length;if(c.area3d)b=c.area3d.length;if(c.line3d)d=c.line3d.length;f=j?(u?1:0)+(A?1:0)+(b?1:0)+(d?1:0):(u?1:0)+(A?1:0)+b+d;a.num3dSeriesType=f;h=l=0;u=e/f;g/=f;for(k in c)if(gb[k]){b=c[k];d=k==="column3d"||k==="bar3d"||j?!1:!0;l+=g;h+=u;f=0;for(A=b.length;f<A;f+=1)e=b[f],e.depthXDisplacement=-l,e.depthYDisplacement=h,d?(l+=e.xDepth=g,h+=e.yDepth=u):(e.xDepth=g,e.yDepth=u);f=bb[k]?bb[k]:bb.common;
f(b,a);delete c[k]}for(k in c){u=a.plotLeft-l;g=s?a.plotTop+h:a.plotTop;f=0;for(j=c[k].length;f<j;f+=1)c[k][f].options.zIndex=4,c[k][f].render(),c[k][f].group.translate(u,g)}},aa=document,Va=window,W=Math,z=W.round,qb=W.floor,Na=W.ceil,ia=W.max,db=W.min,ya=W.abs,Ja=W.cos,Pa=W.sin,ib=W.PI,Bb=ib/180,Mb=W.atan2,Ib=ib/2,Rb=ib*1.5,Jb=ib*2,jb=navigator.userAgent,Fb=/msie/i.test(jb)&&!Va.opera,Gb=aa.documentMode===8,dc=/AppleWebKit/.test(jb),hc=/Firefox/.test(jb),Cb=!!aa.createElementNS&&!!aa.createElementNS("http://www.w3.org/2000/svg",
"svg").createSVGRect,Wb,Za=aa.documentElement.ontouchstart!==void 0,Xb={},d=0,k=1,l,f,s,X,n,fa,o="div",w="absolute",r="relative",da="hidden",v="highcharts-",q=Fb&&!Cb?"visible":"",S="px",Ca="none",L="M",N="L",D="rgba(192,192,192,"+(Cb?1.0E-6:0.0020)+")",Ia="",Qa="hover",mc,Nb,Sa,Pb,ic,nc,oc,Dc,Ec,Ba,Fc,O,J=Va.HighchartsAdapter,ga=J||{},P=ga.each,ha=ga.grep,sa=ga.map,ca=ga.merge,ma=ga.addEvent,Z=ga.removeEvent,na=ga.fireEvent,tc=ga.animate,qa=ga.stop,oa=G.seriesTypes={};s=function(a,c,j){function u(a){return a.toString().replace(/^([0-9])$/,
"0$1")}if(!b(c)||isNaN(c))return"Invalid date";var a=p(a,"%Y-%m-%d %H:%M:%S"),c=new Date(c*k),d,ja=c[Sa](),A=c[Pb](),$=c[ic](),g=c[nc](),e=c[oc](),s=f.lang,l=s.weekdays,s=s.months,c={a:l[A].substr(0,3),A:l[A],d:u($),e:$,b:s[g].substr(0,3),B:s[g],m:u(g+1),y:e.toString().substr(2,2),Y:e,H:u(ja),I:u(ja%12||12),l:ja%12||12,M:u(c[Nb]()),p:ja<12?"AM":"PM",P:ja<12?"am":"pm",S:u(c.getSeconds())};for(d in c)a=a.replace("%"+d,c[d]);return j?a.substr(0,1).toUpperCase()+a.substr(1):a};x.prototype={wrapColor:function(a){if(this.color>=
a)this.color=0},wrapSymbol:function(a){if(this.symbol>=a)this.symbol=0}};J&&J.init&&J.init();if(!J&&Va.jQuery){var ua=jQuery,P=G.each=function(a,c){for(var j=0,u=a.length;j<u;j++)if(c.call(a[j],a[j],j,a)===!1)return j},ha=ua.grep,sa=function(a,c){for(var j=[],u=0,b=a.length;u<b;u++)j[u]=c.call(a[u],a[u],u,a);return j},ca=G.merge=function(){var a=arguments;return ua.extend(!0,null,a[0],a[1],a[2],a[3])},ma=function(a,c,j,u){ua(a).bind(c,u,j)},Z=function(a,c,j){var u=aa.removeEventListener?"removeEventListener":
"detachEvent";aa[u]&&!a[u]&&(a[u]=function(){});ua(a).unbind(c,j)},na=function(a,c,j,u){var b=ua.Event(c),d="detached"+c;h(b,j);a[c]&&(a[d]=a[c],a[c]=null);ua(a).trigger(b);a[d]&&(a[c]=a[d],a[d]=null);u&&!b.isDefaultPrevented()&&u(b)},tc=function(a,c,j){var u=ua(a);if(c.d)a.toD=c.d,c.d=1;u.stop();u.animate(c,j)},qa=function(a){ua(a).stop()};ua.extend(ua.easing,{easeOutQuad:function(a,c,j,u,b){return-u*(c/=b)*(c-2)+j}});var J=jQuery.fx,ga=J.step,kc=J.prototype.cur;P([[ga,"_default"],[ga,"width"],[ga,
"height"],[J.prototype,"cur"]],function(a){var c,j=a[0],u=a[1],b=j[u],d;b&&(j[u]=function(a){u==="cur"&&(a=this);d=a.elem;return c=d.attr?d.attr(a.prop,a.now):b.apply(this,arguments)})});ga.d=function(a){var c=a.elem;if(!a.started){var j=n.init(c,c.d,c.toD);a.start=j[0];a.end=j[1];a.started=!0}c.attr("d",n.step(a.start,a.end,a.pos,c.toD))};ua.fx.prototype.cur=function(){var a=this.elem;return a.attr?a.attr(this.prop):kc.apply(this,arguments)}}n={init:function(a,c,j){var c=c||"",u=a.shift,b=c.indexOf("C")>
-1,d=b?7:3,A,c=c.split(" "),j=[].concat(j),f,k,g=function(a){for(A=a.length;A--;)a[A]===L&&a.splice(A+1,0,a[A+1],a[A+2],a[A+1],a[A+2])};b&&(g(c),g(j));a.isArea&&(f=c.splice(c.length-6,6),k=j.splice(j.length-6,6));if(u)j=[].concat(j).splice(0,d).concat(j),a.shift=!1;if(c.length)for(a=j.length;c.length<a;)u=[].concat(c).splice(c.length-d,d),b&&(u[d-6]=u[d-2],u[d-5]=u[d-1]),c=c.concat(u);f&&(c=c.concat(f),j=j.concat(k));return[c,j]},step:function(a,c,j,u){var b=[],d=a.length;if(j===1)b=u;else if(d===
c.length&&j<1)for(;d--;)u=parseFloat(a[d]),b[d]=isNaN(u)?a[d]:j*parseFloat(c[d]-u)+u;else b=c;return b}};J={enabled:!0,align:"center",x:0,y:15,style:{color:"#666",fontSize:"11px",lineHeight:"14px"}};f={colors:["#4572A7","#AA4643","#89A54E","#80699B","#3D96AE","#DB843D","#92A8CD","#A47D7C","#B5CA92"],symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:["January","February","March","April","May","June","July","August","September","October","November","December"],
weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],decimalPoint:".",resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:","},global:{useUTC:!0},chart:{borderColor:"#4572A7",borderRadius:5,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacingTop:10,spacingRight:10,spacingBottom:15,spacingLeft:10,style:{fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif',fontSize:"12px"},backgroundColor:"#FFFFFF",plotBorderColor:"#C0C0C0"},
title:{text:"Chart title",align:"center",y:15,style:{color:"#3E576F",fontSize:"16px"}},subtitle:{text:"",align:"center",y:30,style:{color:"#6D869F"}},plotOptions:{line:{allowPointSelect:!1,showCheckbox:!1,animation:{duration:1E3},events:{},lineWidth:2,shadow:!0,marker:{enabled:!0,lineWidth:0,radius:4,lineColor:"#FFFFFF",states:{hover:{},select:{fillColor:"#FFFFFF",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:ca(J,{enabled:!1,y:-6,formatter:function(){return this.y}}),showInLegend:!0,
states:{hover:{marker:{}},select:{marker:{}}},stickyTracking:!0}},labels:{style:{position:w,color:"#3E576F"}},legend:{enabled:!0,align:"center",layout:"horizontal",labelFormatter:function(){return this.name},borderWidth:1,borderColor:"#909090",borderRadius:5,shadow:!1,style:{padding:"5px"},itemStyle:{cursor:"pointer",color:"#3E576F"},itemHoverStyle:{cursor:"pointer"},itemHiddenStyle:{color:"#C0C0C0"},itemCheckboxStyle:{position:w,width:"13px",height:"13px"},symbolWidth:16,symbolPadding:5,verticalAlign:"bottom",
x:0,y:0},loading:{hideDuration:100,labelStyle:{position:r,fontFamily:"Verdana",fontSize:"10px",color:"#ffffff"},showDuration:100,style:{position:w,backgroundColor:"black",opacity:0.2,textAlign:"center"}},tooltip:{enabled:!0,backgroundColor:"rgba(255, 255, 255, .85)",borderWidth:2,borderRadius:5,shadow:!0,snap:Za?25:10,style:{color:"#333333",fontSize:"12px",padding:"5px",whiteSpace:"nowrap"}},toolbar:{itemStyle:{color:"#4572A7",cursor:"pointer"}},credits:{enabled:!0,text:"Highcharts.com",href:"http://www.highcharts.com",
position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#909090",fontSize:"10px"}}};var pc={dateTimeLabelFormats:{second:"%H:%M:%S",minute:"%H:%M",hour:"%H:%M",day:"%e. %b",week:"%e. %b",month:"%b '%y",year:"%Y"},endOnTick:!1,gridLineColor:"#C0C0C0",labels:J,lineColor:"#C0D0E0",lineWidth:1,max:null,min:null,minPadding:0.01,maxPadding:0.01,minorGridLineColor:"#E0E0E0",minorGridLineWidth:1,minorTickColor:"#A0A0A0",minorTickLength:2,minorTickPosition:"outside",startOfWeek:1,
startOnTick:!1,tickColor:"#C0D0E0",tickLength:5,tickmarkPlacement:"between",tickPixelInterval:100,tickPosition:"outside",tickWidth:1,title:{align:"middle",style:{color:"#6D869F",fontWeight:"bold"}},type:"linear"},uc=ca(pc,{endOnTick:!0,gridLineWidth:1,tickPixelInterval:72,showLastLabel:!0,labels:{align:"right",x:-8,y:3},lineWidth:0,maxPadding:0.05,minPadding:0.05,startOnTick:!0,tickWidth:0,title:{rotation:270,text:"Y-values"},stackLabels:{enabled:!1,formatter:function(){return this.total},style:J.style}}),
Jc={labels:{align:"right",x:-8,y:null},title:{rotation:270}},Ic={labels:{align:"left",x:8,y:null},title:{rotation:90}},Gc={labels:{align:"center",x:0,y:14},title:{rotation:0}},Hc=ca(Gc,{labels:{y:-5}}),xa=G.defaultPlotOptions=f.plotOptions,J=xa.line;xa.spline=ca(J);xa.scatter=ca(J,{lineWidth:0,states:{hover:{lineWidth:0}}});xa.area=ca(J,{});xa.areaspline=ca(xa.area);xa.column=ca(J,{borderColor:"#FFFFFF",borderWidth:1,borderRadius:0,groupPadding:0.2,marker:null,pointPadding:0.1,minPointLength:0,states:{hover:{brightness:0.1,
shadow:!1},select:{color:"#C0C0C0",borderColor:"#000000",shadow:!1}},dataLabels:{y:null,verticalAlign:null}});xa.bar=ca(xa.column,{dataLabels:{align:"left",x:5,y:0}});xa.pie=ca(J,{borderColor:"#FFFFFF",borderWidth:1,center:["50%","50%"],colorByPoint:!0,dataLabels:{distance:30,enabled:!0,formatter:function(){return this.point.name},y:5},legendType:"point",marker:null,size:"75%",showInLegend:!1,slicedOffset:10,states:{hover:{brightness:0.1,shadow:!1}}});Xa();var Ab=function(a){var c=[],j;(function(a){(j=
/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/.exec(a))?c=[Q(j[1]),Q(j[2]),Q(j[3]),parseFloat(j[4])]:(j=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(a))&&(c=[Q(j[1],16),Q(j[2],16),Q(j[3],16),1])})(a);return{get:function(j){return c&&!isNaN(c[0])?j==="rgb"?"rgb("+c[0]+","+c[1]+","+c[2]+")":j==="hex"?"#"+("000000"+(c[0]<<16|c[1]<<8|c[2]).toString(16)).slice(-6):j==="a"?c[3]:"rgba("+c.join(",")+")":a},brighten:function(a){if(e(a)&&a!==0){var j;
for(j=0;j<3;j++)c[j]+=Q(a*255),c[j]<0&&(c[j]=0),c[j]>255&&(c[j]=255)}return this},setOpacity:function(a){c[3]=a;return this}}};pb.prototype={init:function(a,c){this.element=aa.createElementNS("http://www.w3.org/2000/svg",c);this.renderer=a},animate:function(a,c,j){if(c=p(c,X,!0)){c=ca(c);if(j)c.complete=j;tc(this,a,c)}else this.attr(a),j&&j()},attr:function(a,c){var j,u,d,f,A,k=this.element,e=k.nodeName,s=this.renderer,l,h=this.shadows,o,q=this;m(a)&&b(c)&&(j=a,a={},a[j]=c);if(m(a))j=a,e==="circle"?
j={x:"cx",y:"cy"}[j]||j:j==="strokeWidth"&&(j="stroke-width"),q=g(k,j)||this[j]||0,j!=="d"&&j!=="visibility"&&(q=parseFloat(q));else for(j in a){l=!1;u=a[j];if(j==="d")u&&u.join&&(u=u.join(" ")),/(NaN| {2}|^$)/.test(u)&&(u="M 0 0"),this.d=u;else if(j==="x"&&e==="text"){for(d=0;d<k.childNodes.length;d++)f=k.childNodes[d],g(f,"x")===g(k,"x")&&g(f,"x",u);this.rotation&&g(k,"transform","rotate("+this.rotation+" "+u+" "+Q(a.y||g(k,"y"))+")")}else if(j==="fill")u=s.color(u,k,j);else if(e==="circle"&&(j===
"x"||j==="y"))j={x:"cx",y:"cy"}[j]||j;else if(j==="translateX"||j==="translateY"||j==="rotation"||j==="verticalAlign")this[j]=u,this.updateTransform(),l=!0;else if(j==="stroke")u=s.color(u,k,j);else if(j==="dashstyle")if(j="stroke-dasharray",u=u&&u.toLowerCase(),u==="solid")u=Ca;else{if(u){u=u.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,
"").split(",");for(d=u.length;d--;)u[d]=parseFloat(u[d])*a["stroke-width"];u=u.join(",")}}else j==="isTracker"?this[j]=u:j==="width"?u=Q(u):j==="align"&&(j="text-anchor",u={left:"start",center:"middle",right:"end"}[u]);j==="strokeWidth"&&(j="stroke-width");dc&&j==="stroke-width"&&u===0&&(u=1.0E-6);this.symbolName&&/^(x|y|r|start|end|innerR)/.test(j)&&(o||(this.symbolAttr(a),o=!0),l=!0);if(h&&(j==="opacity"||j==="stroke-opacity")){A=0.06*u;d=0;for(f=h.length;d<f;)g(h[d],j,(d+=1)*A)}if(h&&/^(width|height|visibility|x|y|d)$/.test(j))for(d=
h.length;d--;)g(h[d],j,u);if((j==="width"||j==="height")&&e==="rect"&&u<0)u=0;j==="text"?(this.textStr=u,this.added&&s.buildText(this)):l||g(k,j,u)}return q},symbolAttr:function(a){var c=this;P(["x","y","r","start","end","width","height","innerR","startAngle"],function(j){c[j]=p(a[j],c[j])});c.attr({d:c.renderer.symbols[c.symbolName](z(c.x*2)/2,z(c.y*2)/2,c.r,{start:c.start,end:c.end,width:c.width,height:c.height,innerR:c.innerR,startAngle:c.startAngle})})},clip:function(a){return this.attr("clip-path",
"url('"+this.renderer.url+"#"+a.id+"')")},crisp:function(a,c,j,b,d){var f,A={},k={},g,a=a||this.strokeWidth||0;g=a%2/2;k.x=qb(c||this.x||0)+g;k.y=qb(j||this.y||0)+g;k.width=qb((b||this.width||0)-2*g);k.height=qb((d||this.height||0)-2*g);k.strokeWidth=a;if(k.width===0&&b!==0)k.width=1;for(f in k)this[f]!==k[f]&&(this[f]=A[f]=k[f]);return A},css:function(a){var c=this.element,c=a&&a.width&&c.nodeName==="text",j,b="",d=function(a,c){return"-"+c.toLowerCase()};if(a&&a.color)a.fill=a.color;this.styles=
a=h(this.styles,a);if(Fb&&!Cb)c&&delete a.width,B(this.element,a);else{for(j in a)b+=j.replace(/([A-Z])/g,d)+":"+a[j]+";";this.attr({style:b})}c&&this.added&&this.renderer.buildText(this);return this},on:function(a,c){var j=c;Za&&a==="click"&&(a="touchstart",j=function(a){a.preventDefault();c()});this.element["on"+a]=j;return this},translate:function(a,c){return this.attr({translateX:a,translateY:c})},invert:function(){this.inverted=!0;this.updateTransform();return this},updateTransform:function(){var a=
this.translateX||0,c=this.translateY||0,j=this.inverted,b=this.rotation,d=[],f=this.shadows;j&&(a+=this.attr("width"),c+=this.attr("height"));(a||c)&&d.push("translate("+a+","+c+")");j?d.push("rotate(90) scale(-1,1)"):b&&d.push("rotate("+b+" "+this.x+" "+this.y+")");if(d.length&&(a=d.join(" "),g(this.element,"transform",a),f)){c=0;for(j=f.length;c<j;c+=1)g(f[c],"transform",a)}},rotate:function(a,c,j){this.x=c;this.y=j;return this.attr({translateX:c,translateY:j,rotation:a})},toFront:function(){var a=
this.element;a.parentNode.appendChild(a);return this},align:function(a,c,j){a?(this.alignOptions=a,this.alignByTranslate=c,j||this.renderer.alignedObjects.push(this)):(a=this.alignOptions,c=this.alignByTranslate);var j=p(j,this.renderer),b=a.align,d=a.verticalAlign,f=(j.x||0)+(a.x||0),A=(j.y||0)+(a.y||0),k={};/^(right|center)$/.test(b)&&(f+=(j.width-(a.width||0))/{right:1,center:2}[b]);k[c?"translateX":"x"]=z(f);/^(bottom|middle)$/.test(d)&&(A+=(j.height-(a.height||0))/({bottom:1,middle:2}[d]||1));
k[c?"translateY":"y"]=z(A);this[this.placed?"animate":"attr"](k);this.placed=!0;this.alignAttr=k;return this},getBBox:function(){var a,c,j,b=this.rotation,d=b*Bb;try{a=h({},this.element.getBBox())}catch(f){a={width:0,height:0}}c=a.width;j=a.height;if(b)a.width=ya(j*Pa(d))+ya(c*Ja(d)),a.height=ya(j*Ja(d))+ya(c*Pa(d));return a},show:function(){return this.attr({visibility:q})},hide:function(){return this.attr({visibility:da})},add:function(a){var c=this.renderer,j=a||c,u=j.element||c.box,d=u.childNodes,
f=this.element,A=g(f,"zIndex");this.parentInverted=a&&a.inverted;this.textStr!==void 0&&c.buildText(this);if(A)j.handleZ=!0,A=Q(A);if(j.handleZ)for(j=0;j<d.length;j++)if(a=d[j],c=g(a,"zIndex"),a!==f&&(Q(c)>A||!b(A)&&b(c)))return u.insertBefore(f,a),this;u.appendChild(f);this.added=!0;return this},destroy:function(){var a=this.element||{},c=this.shadows,j=a.parentNode,b;a.onclick=a.onmouseout=a.onmouseover=a.onmousemove=null;qa(this);j&&j.removeChild(a);c&&P(c,function(a){(j=a.parentNode)&&j.removeChild(a)});
this.renderer.alignedObjects&&I(this.renderer.alignedObjects,this);for(b in this)delete this[b];return null},empty:function(){for(var a=this.element,c=a.childNodes,j=c.length;j--;)a.removeChild(c[j])},shadow:function(a,c,j){j||(j={});var b=[],d,f=this.element,A=j.color||"rgb(0,0,0)",k="translate"+(!this.parentInverted!=!j.inverted?"(-1,-1)":"(1,1)"),e=Q(this.attr("stroke-width")||1,10)+6,j=T(j.opacity,1)*0.06;if(a){for(a=1;a<=3;a++)d=f.cloneNode(0),g(d,{isShadow:"true",stroke:A,"stroke-opacity":j*
a,"stroke-width":e-2*a,transform:k,fill:Ca}),c?c.element.appendChild(d):f.parentNode.insertBefore(d,f),b.push(d);this.shadows=b}return this},textBound:function(){var a=this.renderer,c=this.textBoundWrapper,j=this.styles,b,d,f,A;if(this.element.nodeName!=="text"||!j||!j.backgroundColor&&!j.borderColor||!this.textStr||this.rotation%90!==0)return this.textBoundWrapper&&this.textBoundWrapper.destroy(),this;b=this.getBBox();f=b.width+4;A=b.height+4;d=b.x;b=b.y;this.rotation===270&&(d=this.attr("x")-f/
2-2,b=this.attr("y")-A+4);if(!c)c=this.textBoundWrapper=a.rect(0,0,0,0,0,1),this.element.parentNode.insertBefore(c.element,this.element);c.attr({fill:j.backgroundColor||Ca,stroke:j.borderColor||wb,"fill-opacity":T(j.backgroundOpacity,1),"stroke-opacity":T(j.borderOpacity,1)});c.attr(c.crisp(1,d-1.5,b-1.5,f,A))}};var qc=function(){this.init.apply(this,arguments)};qc.prototype={Element:pb,type:"SVG",init:function(a,c,j,b){var d=location,f;f=this.createElement("svg").attr({xmlns:"http://www.w3.org/2000/svg",
version:"1.1"});a.appendChild(f.element);this.box=f.element;this.boxWrapper=f;this.alignedObjects=[];this.url=Fb?"":d.href.replace(/#.*?$/,"").replace(/\'/g,"\\'");this.defs=this.createElement("defs").add();this.forExport=b;this.setSize(c,j,!1)},createElement:function(a){var c=new this.Element;c.init(this,a);return c},buildText:function(a){for(var c=a.element,j=p(a.textStr,"").toString().replace(/<(b|strong)>/g,'<span style="font-weight:bold">').replace(/<(i|em)>/g,'<span style="font-style:italic">').replace(/<a/g,
"<span").replace(/<\/(b|strong|i|em|a)>/g,"</span>").split(/<br.*?>/g),b=c.childNodes,d=/style="([^"]+)"/,f=/href="([^"]+)"/,A=g(c,"x"),k=a._dx,e=a.styles,s=hc&&e&&e.HcDirection==="rtl"&&!this.forExport&&Q(jb.split("Firefox/")[1])<4,l,h=e&&Q(e.width),o=e&&e.lineHeight,q,n=b.length;n--;)c.removeChild(b[n]);h&&!a.added&&this.box.appendChild(c);b=/title="([^"]+)"/;b.test(j[0])&&g(c,"title",j[0].match(b)[1]);P(j,function(j,b){var u,e=0,pa,j=j.replace(/<span/g,"|||<span").replace(/<\/span>/g,"</span>|||");
u=j.split("|||");P(u,function(j){if(j!==""||u.length===1){var m={},r=aa.createElementNS("http://www.w3.org/2000/svg","tspan");d.test(j)&&g(r,"style",j.match(d)[1].replace(/(;| |^)color([ :])/,"$1fill$2"));f.test(j)&&(g(r,"onclick",'location.href="'+j.match(f)[1]+'"'),B(r,{cursor:"pointer"}));j=(j.replace(/<(.|\n)*?>/g,"")||" ").replace(/&lt;/g,"<").replace(/&gt;/g,">");if(s){l=[];for(n=j.length;n--;)l.push(j.charAt(n));j=l.join("")}var w=aa.createTextNode(j);r.appendChild(w);e?m.dx=k:m.x=A;if(!e){if(b){!Cb&&
a.renderer.forExport&&B(r,{display:"block"});pa=Va.getComputedStyle&&Q(Va.getComputedStyle(q,null).getPropertyValue("line-height"));if(!pa||isNaN(pa))pa=o||q.offsetHeight||18;g(r,"dy",pa)}q=r}g(r,m);c.appendChild(r);e++;if(h)for(var j=j.replace(/-/g,"- ").split(" "),v=[];j.length||v.length;)w=c.getBBox().width,m=w>h,!m||j.length===1?(j=v,v=[],j.length&&(r=aa.createElementNS("http://www.w3.org/2000/svg","tspan"),g(r,{dy:o||16,x:A}),c.appendChild(r),w>h&&(h=w))):(r.removeChild(r.firstChild),v.unshift(j.pop())),
j.length&&r.appendChild(aa.createTextNode(j.join(" ").replace(/- /g,"-")))}})})},crispLine:function(a,c){a[1]===a[4]&&(a[1]=a[4]=z(a[1])+c%2/2);a[2]===a[5]&&(a[2]=a[5]=z(a[2])+c%2/2);return a},path:function(a){return this.createElement("path").attr({d:a,fill:Ca})},circle:function(a,c,j){a=la(a)?a:{x:a,y:c,r:j};return this.createElement("circle").attr(a)},arc:function(a,c,j,b,d,f){if(la(a))c=a.y,j=a.r,b=a.innerR,d=a.start,f=a.end,a=a.x;return this.symbol("arc",a||0,c||0,j||0,{innerR:b||0,start:d||
0,end:f||0})},rect:function(a,c,j,b,d,f){if(la(a))c=a.y,j=a.width,b=a.height,d=a.r,f=a.strokeWidth,a=a.x;d=this.createElement("rect").attr({rx:d,ry:d,fill:Ca});return d.attr(d.crisp(f,a,c,ia(j,0),ia(b,0)))},rect3d:function(){var a={x:{drawTop:!0,drawRight:!0,drawFront:!0,drawShadow:!0},y:{drawTop:!0,drawRight:!0,drawFront:!0,drawShadow:!0},width:{drawTop:!0,drawRight:!0,drawFront:!0,drawShadow:!0},height:{drawRight:!0,drawFront:!0,drawShadow:!0},strokeWidth:!0,"stroke-width":!0,stroke:!0,x3D:{drawTop:!0,
drawRight:!0,drawShadow:!0},y3D:{drawTop:!0,drawRight:!0,drawShadow:!0},fill:!0},c=function(c,j){var d,f,k,e=this,g,s,l=this._3dAttr;m(c)&&b(j)&&(d=c,c={},c[d]=j);if(m(c))e=a[c]?this._3dAttr[c]:this._attr(c);else for(d in c)if(f=c[d],a[d]){k=a[d];l[d]=f;if(d==="stroke"||d==="stroke-width"||d==="strokeWidth")this.frontRect.attr(d,f),this.topRect.attr(d,f),this.rightRect.attr(d,f);if(d==="fill")f&&f.linearGradient&&f.stops&&f.stops[0]&&(f=f.stops[0][1]),vb.test(f)?(s=Ab(f),g=s.get("hex"),s=s.get("a")*
100):f&&f.FCcolor?(g=f.FCcolor.color.split(E)[0],s=f.FCcolor.alpha.split(E)[0]):ta.test(f)&&(g=f.replace(Y,Ea),s=100),l.color=g,l.alpha=s,l.lighting3D===!1?(l.frontColor=Ma(l.color,l.alpha),l.rightColor=Ma(Ya(l.color,60),l.alpha),l.topColor=Ma(Ya(l.color,75),l.alpha)):(l.frontColor={FCcolor:{color:Ya(l.color,65)+E+cb(l.color,55),alpha:s+E+s,angle:270}},l.rightColor={FCcolor:{color:Ya(l.color,35)+E+Ya(l.color,75),alpha:s+E+s,angle:yb(l.x3D,l.height+l.y3D,3)}},l.topColor={FCcolor:{color:Ya(l.color,
85)+E+cb(l.color,35),alpha:s+E+s,angle:yb(l.width+l.x3D,l.y3D,4)}}),this.topRect.attr({fill:l.topColor}),this.rightRect.attr({fill:l.rightColor}),this.frontRect.attr({fill:l.frontColor});if(k.drawTop){if(l.lighting3D!==!1&&l.topColor.FCcolor)l.topColor.FCcolor.angle=yb(l.width+l.x3D,l.y3D,4);this.topRect.attr({d:["M",l.x,l.y,"L",l.x+l.width,l.y,l.x+l.width+l.x3D,l.y-l.y3D,l.x+l.x3D,l.y-l.y3D,"Z"],fill:l.topColor})}if(k.drawRight){if(l.lighting3D!==!1&&l.rightColor.FCcolor)l.rightColor.FCcolor.angle=
yb(l.x3D,l.height+l.y3D,3);this.rightRect.attr({d:["M",l.x+l.width,l.y,"L",l.x+l.width+l.x3D,l.y-l.y3D,l.x+l.width+l.x3D,l.y-l.y3D+l.height,l.x+l.width,l.y+l.height,"Z"],fill:l.rightRect})}k.drawFront&&this.frontRect.attr(d,f);k.drawShadow&&this.shadowElement.attr({d:["M",l.x+l.x3D,l.y-l.y3D,"L",l.x+l.x3D+l.width,l.y-l.y3D,l.x+l.x3D+l.width,l.y-l.y3D+l.height]})}else this._attr(d,f);return e},j=function(){var a=this.shadowElement;j&&a.shadow.apply(a,arguments)};return function(a,b,d,f,k,l,g,e){if(la(a))b=
a.y,d=a.width,f=a.height,g=a.strokeWidth,k=a.x3D,l=a.y3D,a=a.x;var k=R(k,10),l=R(l,10),s={x:a,y:b,width:d,height:f,r:0},h=["M",a,b,"L",a+d,b,a+d+k,b-l,a+k,b-l,"Z"],o=["M",a+d,b,"L",a+d+k,b-l,a+d+k,b-l+f,a+d,b+f,"Z"],q=["M",a+k,b-l,"L",a+k+d,b-l,a+k+d,b-l+f],e=this.g(e);e.shadowElement=this.path(q).add(e);e.frontRect=this.rect(s).attr({"stroke-width":g}).add(e);e.topRect=this.path(h).attr({"stroke-width":g}).add(e);e.rightRect=this.path(o).attr({"stroke-width":g}).add(e);e._attr=e.attr;e.attr=c;e.shadow=
j;e._3dAttr={y:b,width:d,height:f,x:a,strokeWidth:g,x3D:k,y3D:l,lighting3D:this.lighting3D};return e}}(),getArcPath:function(a,c,j,b,d,f,A,k,l,e){return["A",A,k,0,e,l,d,f]},scroller:function(){var a=Za?"touchstart":"mousedown",c=function(a){var c=a.type==="dragend",j=a.data;j.dragActive=!c;if(c){if(j.onChange)j.onChange(j.scrollPosition,!1,!0);if(j.onEnd)j.onEnd(j.scrollPosition,!1,!0)}else j.dragInitPos=j.scrollPosition,j.dragStartX=a.pageX,j.dragStartY=a.pageY;Za&&j.anchor.attr("height",j.anchor.attr("height")*
(c?0.625:1.6))},j=function(a){var c=a.data;c.group.setScrollPosition(c.dragInitPos+(c.horiz?a.pageX-c.dragStartX:a.pageY-c.dragStartY)/c.zoneLength)},u=function(a,c){if(!arguments.length)return this;h(this.config,{onChange:a,onEnd:c});return this},d=function(a,c){var j=this.config;j.zoneLength=j.trackLength-j.trackLength*(j.scrollRatio=a);this.elements.anchor.attr({width:this.config.trackLength*a});j.scrollDelta=a>=1?1:0.1;return this.setScrollPosition(void 0,void 0,c)},f=function(a,c,j){var u=this.config,
d=u.horiz,f=u.anchor,A=Fb&&!Cb&&!d;b(a)?(a<=0?a=1.0E-8:a>1&&(a=1),u.scrollPosition=a):a=u.scrollPosition;d=(d?a:1-a)*u.zoneLength;d===0&&(d=1.0E-8);A?f.translate(void 0,-d):f.translate(d);if(!j&&u.onChange)u.onChange(a,c,!0);return this},A=function(a){var c=this.renderer,j=this.config,b,u,d;if(la(a)&&"fill"in a){b=a.fill;u=j.flat;d=!j.horiz&&Fb&&!Cb?180:90;var f={base:b,light:Ea+cb(b,15),dark:Ea+Ya(b,u?50:30)};f.darkFill=u?f.dark:{FCcolor:{color:f.dark+E+b,alpha:"100",angle:d}};f.lightFill=u?f.base:
{FCcolor:{color:b+E+f.light,alpha:"100",angle:d}};b=f;u={fill:b.dark};d={fill:b.lightFill};j.buttons&&(this.elements.start.attr(d),this.elements.end.attr(d),this.elements.startArrow.attr(u),this.elements.endArrow.attr(u));this.elements.track.attr(d);this.elements.anchor.attr({fill:b.darkFill,stroke:b.dark,"stroke-width":0.2});delete a.fill}return c.Element.prototype.attr.apply(this,arguments)};return function(b,k,l,e,g,s,o,q){g||(l+=e,e=l-e,l-=e);var n=this.g("scroller").attr({translateX:b,translateY:k,
width:l,height:e}),b=n.config={},k=n.elements={},m,r=!s?0:s.size||e,w=r*0.25,v=e*0.25,X=r+(s&&s.padding||0),p=l-2*X;k.track=this.rect(X,0,p,e,0);k.anchor=this.rect(X,o?0:v*0.5,p,o?e:e-v,o?0:db(w,v));if(s)k.start=this.rect(0,0,r,e,0),k.startArrow=this.path([L,w,0,N,0,v,w,v*2,w,0]).translate(r*0.4,v),k.end=this.rect(l-r,0,r,e,0),k.endArrow=this.path([L,0,0,N,w,v,0,v*2,0,0]).translate(l-r*0.6,v);g||n.attr({width:e,height:l}).invert();for(m in k)k[m].add(n);h(b,{group:n,anchor:k.anchor,width:l,horiz:g,
flat:o,buttons:!!s,scrollRatio:1,trackOffset:X,trackLength:p,zoneLength:p,scrollPosition:0,scrollDelta:0.1});h(n,{attr:A,setScrollRatio:d,setScrollPosition:f,callback:u});ma(k.anchor.element,"dragstart dragend",c,b);ma(k.anchor.element,"drag",j,b);s&&(ma([n.elements.start.element,n.elements.startArrow.element],a,function(){n.setScrollPosition(n.config.scrollPosition-n.config.scrollDelta)},b),ma([n.elements.end.element,n.elements.endArrow.element],a,function(){n.setScrollPosition(n.config.scrollPosition+
n.config.scrollDelta)},b));q&&ma(q.element,"wheelchange",function(a,c){n.setScrollPosition(n.config.scrollPosition-c*0.5);a.preventDefault()});return n}}(),setSize:function(a,c,j){var b=this.alignedObjects,d=b.length;this.width=a;this.height=c;for(this.boxWrapper[p(j,!0)?"animate":"attr"]({width:a,height:c});d--;)b[d].align()},g:function(a){return this.createElement("g").attr(b(a)&&{"class":v+a})},image:function(a,c,j,b,d){var f={preserveAspectRatio:Ca};arguments.length>1&&h(f,{x:c,y:j,width:b,height:d});
f=this.createElement("image").attr(f);f.element.setAttributeNS?f.element.setAttributeNS("http://www.w3.org/1999/xlink","href",a):f.element.setAttribute("hc-svg-href",a);return f},symbol:function(a,c,j,b,d){if(la(a))c=a.x,j=a.y,b=a.radius,d=a.options,a=a.symbol;var f;if(/^poly\_\d+$/.test(a))f=R(parseInt(a.split("_")[1],10),3),a="poly",typeof d!=="object"&&(d={}),d.innerR=f;var A;f=(f=this.symbols[a])&&f(z(c),z(j),b,d);var k=/^url\((.*?)\)$/,l;if(f)A=this.path(f),h(A,{symbolName:a,x:c,y:j,r:b}),d&&
h(A,d);else if(k.test(a)){var e=function(a,c){a.attr({width:c[0],height:c[1]}).translate(-z(c[0]/2),-z(c[1]/2))};l=a.match(k)[1];a=Xb[l];A=this.image(l).attr({x:c,y:j});a?e(A,a):(A.attr({width:0,height:0}),C("img",{onload:function(){e(A,Xb[l]=[this.width,this.height])},src:l}))}else A=this.circle(c,j,b);return A},symbols:{poly:function(a,c,j,b){var d=b.innerR,f=2*W.PI/d,k,l=typeof b.startAngle!=="undefined"?b.startAngle:W.PI/2;if(d>2){b=[L,a+j*Ja(-l),c+j*Pa(-l),N];for(k=1;k<d;k++)b.push(a+j*Ja(-(l+
k*f))),b.push(c+j*Pa(-(l+k*f)));b.push("Z")}else b=[L,a,c,"Z"];return b},square:function(a,c,j){j*=0.707;return[L,a-j,c-j,N,a+j,c-j,a+j,c+j,a-j,c+j,"Z"]},triangle:function(a,c,j){return[L,a,c-1.33*j,N,a+j,c+0.67*j,a-j,c+0.67*j,"Z"]},"triangle-down":function(a,c,j){return[L,a,c+1.33*j,N,a-j,c-0.67*j,a+j,c-0.67*j,"Z"]},diamond:function(a,c,j){return[L,a,c-j,N,a+j,c,a,c+j,a-j,c,"Z"]},arc:function(a,c,j,b){var d=b.start,f=b.end-1.0E-6,k=b.innerR,l=Ja(d),e=Pa(d),g=Ja(f),f=Pa(f),b=b.end-d<ib?0:1;return[L,
a+j*l,c+j*e,"A",j,j,0,b,1,a+j*g,c+j*f,N,a+k*g,c+k*f,"A",k,k,0,b,0,a+k*l,c+k*e,"Z"]}},clipRect:function(a,c,j,b){var f=v+d++,k=this.createElement("clipPath").attr({id:f}).add(this.defs),a=this.rect(a,c,j,b,0).add(k);a.id=f;return a},color:function(a,c,j){var b,f=/^rgba/;if(a&&a.linearGradient){var k=this,j="linearGradient",A=a[j],c=v+d++,l,e,s;l=k.createElement(j).attr({id:c,gradientUnits:"userSpaceOnUse",x1:A[0],y1:A[1],x2:A[2],y2:A[3]}).add(k.defs);P(a.stops,function(a){f.test(a[1])?(b=Ab(a[1]),
e=b.get("rgb"),s=b.get("a")):(e=a[1],s=1);k.createElement("stop").attr({offset:a[0],"stop-color":e,"stop-opacity":s}).add(l)});return"url('"+this.url+"#"+c+"')"}else if(a&&a.FCcolor){var h=a.FCcolor.element,k=this;if(h&&h.parentNode&&!k.forExport)return a.FCcolor.url;var h=T(a.FCcolor.color,"000000"),o=T(a.FCcolor.alpha,"100")+"",n,q,m,r=0,w=100,X=T(a.FCcolor.ratio,"0");n=R(a.FCcolor.angle,"0");h=h.replace(/\s+/ig,"").replace(/\,+$/ig,"").split(",");o=o.replace(/\s+/ig,"").replace(/\,+$/ig,"").split(",");
X=X.replace(/\s+/ig,"").replace(/\,+$/ig,"").split(",");n%=360;n<0&&(n=360+n);if(a.FCcolor.radialGradient){c=v+d++;l=k.createElement("radialGradient").attr({id:c,gradientUnits:T(a.FCcolor.gradientUnits,"userSpaceOnUse"),cx:a.FCcolor.cx,cy:a.FCcolor.cy,r:a.FCcolor.r}).add(k.defs);for(n=0;n<h.length&&r<100;n+=1)q=h[n].replace(/^#?/,"#"),w=m=R(o[n],w),j=R(X[n],n!==0?(100-r)/(h.length-n):0),r+=j,r>100&&(r=100),k.createElement("stop").attr({offset:r+"%","stop-color":q,"stop-opacity":m/100}).add(l);Fb&&
h.length===1&&k.createElement("stop").attr({offset:r+"%","stop-color":q,"stop-opacity":m/100}).add(l);a.FCcolor.element=l.element;a.FCcolor.url="url('"+this.url+"#"+c+"')";return a.FCcolor.url}else if(h.length===1)return g(c,j+"-opacity",R(o[0],100)/100),h[0].replace(/^#?/,"#");else{var p,fa,t,da,r=0,j="linearGradient",A=a[j],c=v+d++;p=Math.tan(n*Math.PI/180);A=Math.round(50-50*p);p=Math.round(50-50/p);p=p<0?0:p;p=p>100?100:p;A=A<0?0:A;A=A>100?100:A;fa=100-p;t=100-A;n>90&&n<=270&&(da=A,A=t,t=da);
n>180&&n<=360&&(da=p,p=fa,fa=da);l=k.createElement(j).attr({id:c,gradientUnits:T(a.FCcolor.gradientUnits,"objectBoundingBox"),x1:p+"%",y1:A+"%",x2:fa+"%",y2:t+"%"}).add(k.defs);for(n=0;n<h.length&&r<100;n+=1)q=h[n].replace(/^#?/,"#"),w=m=R(o[n],w),j=R(X[n],n!==0?(100-r)/(h.length-n):0),r+=j,r>100&&(r=100),k.createElement("stop").attr({offset:r+"%","stop-color":q,"stop-opacity":m/100}).add(l);Fb&&h.length===1&&k.createElement("stop").attr({offset:r+"%","stop-color":q,"stop-opacity":m/100}).add(l);
a.FCcolor.element=l.element;a.FCcolor.url="url('"+this.url+"#"+c+"')";return a.FCcolor.url}}else return f.test(a)?(b=Ab(a),g(c,j+"-opacity",b.get("a")),b.get("rgb")):a},text:function(a,c,j,b){var d=f.chart.style,c=z(p(c,0)),j=z(p(j,0)),a=this.createElement("text").attr({x:c,y:j,text:a}).css({fontFamily:d.fontFamily,fontSize:d.fontSize});a.x=c;a.y=j;a._dx=p(b,3);return a}};Wb=qc;if(!Cb)ga=ba(pb,{init:function(a,c){var j=["<",c,' filled="f" stroked="f"'],b=["position: ",w,";"];(c==="shape"||c===o)&&
b.push("left:0;top:0;width:10px;height:10px;");Gb&&b.push("visibility: ",c===o?da:q);j.push(' style="',b.join(""),'"/>');if(c)j=c===o||c==="span"||c==="img"?j.join(""):a.prepVML(j),this.element=C(j);this.renderer=a},add:function(a){var c=this.renderer,j=this.element,b=c.box,b=a?a.element||a:b;a&&a.inverted&&c.invertChild(j,b);Gb&&b.gVis===da&&B(j,{visibility:da});b.appendChild(j);this.added=!0;this.alignOnAdd&&this.updateTransform();return this},attr:function(a,c){var j,d,f,k,A,l=this.element||{},
s=l.style,h=l.nodeName,n=this.renderer,o=this.symbolName,r,w=this.shadows,v,p=this;m(a)&&b(c)&&(j=a,a={},a[j]=c);if(m(a))j=a,p=j==="strokeWidth"||j==="stroke-width"?this.strokeweight:this[j];else for(j in a){d=a[j];v=!1;if(o&&/^(x|y|r|start|end|width|height|innerR)/.test(j))r||(this.symbolAttr(a),r=!0),v=!0;else if(j==="d"){d=d||[];this.d=d.join(" ");f=d.length;for(k=[];f--;)k[f]=e(d[f])?z(d[f]*10)-5:d[f]==="Z"?"x":d[f];d=k.join(" ")||"x";l.path=d;if(w)for(f=w.length;f--;)w[f].path=d;v=!0}else if(j===
"zIndex"||j==="visibility"){if(Gb&&j==="visibility"&&h==="DIV"){l.gVis=d;k=l.childNodes;for(f=k.length;f--;)B(k[f],{visibility:d});d===q&&(d=null)}d&&(s[j]=d);v=!0}else if(/^(width|height)$/.test(j))this.updateClipping?(this[j]=d,this.updateClipping()):s[j]=d,v=!0;else if(/^(x|y)$/.test(j))this[j]=d,this.updateClipping?(this[{x:"left",y:"top"}[j]]=d,this.updateClipping()):l.tagName==="SPAN"?this.updateTransform():s[{x:"left",y:"top"}[j]]=d,v=!0;else if(j==="class")l.className=d;else if(j==="stroke")d=
n.color(d,l,j),j="strokecolor";else if(j==="stroke-width"||j==="strokeWidth")l.stroked=d?!0:!1,j="strokeweight",this[j]=d,e(d)&&(d+=S);else if(j==="stroke-linecap"||j==="strokeLinecap")this[j]=d,j="endcap",d=d==="butt"?"flat":d||"flat",f=l.getElementsByTagName("stroke")[0]||C(n.prepVML(["<stroke/>"]),null,null,l),f[j]=d,v=!0;else if(j==="dashstyle")f=l.getElementsByTagName("stroke")[0]||C(n.prepVML(["<stroke/>"]),null,null,l),f[j]=d||"solid",this.dashstyle=d,v=!0;else if(j==="fill")h==="SPAN"?s.color=
d:(l.filled=d!==Ca?!0:!1,d=n.color(d,l,j),j="fillcolor");else if(j==="translateX"||j==="translateY"||j==="rotation"||j==="align")j==="align"&&(j="textAlign"),this[j]=d,this.updateTransform(),v=!0;else if(j==="text")this.bBox=null,l.innerHTML=d,v=!0;if(w&&j==="visibility")for(f=w.length;f--;)w[f].style[j]=d;if(w&&(j==="opacity"||j==="stroke-opacity")){A=6*d;f=0;for(k=w.length;f<k;)g(w[f],j,(f+=1)*A)}v||(Gb?l[j]=d:g(l,j,d))}return p},clip:function(a){var c=this,j=a.members;j.push(c);c.destroyClip=function(){I(j,
c)};return c.css(a.getCSS(c.inverted))},css:function(a){var c=this.element;if(c=a&&c.tagName==="SPAN"&&a.width)delete a.width,this.textWidth=c,this.updateTransform();this.styles=h(this.styles,a);B(this.element,a);return this},destroy:function(){this.destroyClip&&this.destroyClip();pb.prototype.destroy.apply(this)},empty:function(){for(var a=this.element.childNodes,c=a.length,j;c--;)j=a[c],j.parentNode.removeChild(j)},getBBox:function(){var a=this.element,c=this.bBox;if(!c){if(a.nodeName==="text")a.style.position=
w;c=this.bBox={x:a.offsetLeft,y:a.offsetTop,width:a.offsetWidth,height:a.offsetHeight}}return c},on:function(a,c){this.element["on"+a]=function(){var a=Va.event;a.target=a.srcElement;c(a)};return this},updateTransform:function(){if(this.added){var a=this,c=a.element,j=a.translateX||0,d=a.translateY||0,f=a.x||0,k=a.y||0,A=a.textAlign||"left",l={left:0,center:0.5,right:1}[A],e=A&&A!=="left";(j||d)&&a.css({marginLeft:j,marginTop:d});a.inverted&&P(c.childNodes,function(j){a.renderer.invertChild(j,c)});
if(c.tagName==="SPAN"){var g,s,j=a.rotation,h;g=0;var d=1,n=0,o;h=Q(a.textWidth);var q=a.xCorr||0,m=a.yCorr||0,r=[j,A,c.innerHTML,a.textWidth].join(",");if(r!==a.cTT)b(j)&&(g=j*Bb,d=Ja(g),n=Pa(g),B(c,{filter:j?["progid:DXImageTransform.Microsoft.Matrix(M11=",d,", M12=",-n,", M21=",n,", M22=",d,", sizingMethod='auto expand')"].join(""):Ca})),g=c.offsetWidth,s=c.offsetHeight,g>h&&(B(c,{width:h+S,display:"block",whiteSpace:"normal"}),g=h),h=z((Q(c.style.fontSize)||12)*1.2),q=d<0&&-g,m=n<0&&-s,o=d*n<
0,q+=n*h*(o?1-l:l),m-=d*h*(j?o?l:1-l:1),e&&(q-=g*l*(d<0?-1:1),j&&(m-=s*l*(n<0?-1:1)),B(c,{textAlign:A})),a.xCorr=q,a.yCorr=m;B(c,{left:f+q,top:k+m});a.cTT=r}}else this.alignOnAdd=!0},rotate:function(a){var c=this.element;b(a)&&B(c,{rotation:Number(a),left:0,top:0})},shadow:function(a,c,j){j||(j={});var b=[],d=this.element,f=this.renderer,k,l=d.style,e,g=d.path,s=j.color||"black",h=Q(this.attr("stroke-width")||1,10)+6,n=T(j.opacity,1)*0.06,j=!this.parentInverted!=!j.inverted?-1:1;g&&typeof g.value!==
"string"&&(g="x");if(a){for(a=1;a<=3;a++)e=['<shape isShadow="true" strokeweight="',h-2*a,'" filled="false" path="',g,'" coordsize="100,100" style="',l.cssText,'" />'],k=C(f.prepVML(e),null,{left:Q(l.left)+j,top:Q(l.top)+j}),e=['<stroke endcap="round" color="',s,'" opacity="',n*a,'"/>'],C(f.prepVML(e),null,null,k),c?c.element.appendChild(k):d.parentNode.insertBefore(k,d),b.push(k);this.shadows=b}return this},textBound:function(){var a=this.styles;if(this.element.nodeName.toLowerCase()==="span"&&a&&
(a.backgroundColor||a.borderColor)&&this.element.innerHTML=="")return B(this.element,{backgroundColor:wb,borderColor:wb,border:wb}),this;a&&a.backgroundOpacity&&this.attr({opacity:a.backgroundOpacity});return this}}),J=function(){this.init.apply(this,arguments)},J.prototype=ca(qc.prototype,{Element:ga,isIE8:jb.indexOf("MSIE 8.0")>-1,type:"VML",init:function(a,c,j){var b;this.alignedObjects=[];b=this.createElement(o);a.appendChild(b.element);this.box=b.element;this.boxWrapper=b;this.setSize(c,j,!1);
if(!aa.namespaces.hcv)aa.namespaces.add("hcv","urn:schemas-microsoft-com:vml"),aa.createStyleSheet().cssText="hcv\\:fill, hcv\\:path, hcv\\:shape, hcv\\:stroke{ behavior:url(#default#VML); display: inline-block; } "},clipRect:function(a,c,j,b){var d=this.createElement();return h(d,{members:[],left:a,top:c,width:j,height:b,getCSS:function(a){var c=this.top,j=this.left,b=j+this.width,d=c+this.height,c={clip:"rect("+z(a?j:c)+"px,"+z(a?d:b)+"px,"+z(a?b:d)+"px,"+z(a?c:j)+"px)"};!a&&Gb&&h(c,{width:(b<0?
0:b)+S,height:(d<0?0:d)+S});return c},updateClipping:function(){P(d.members,function(a){a.css(d.getCSS(a.inverted))})}})},getArcPath:function(a,c,j,b,d,f,k,l,e){return[e?"WA":"AT",a-k,c-l,a+k,c+l,j,b,d,f]},color:function(a,c,j){var b,d=/^rgba/;if(a&&a.linearGradient){var f,k,l=a.linearGradient,e,g,s,h;P(a.stops,function(a,c){d.test(a[1])?(b=Ab(a[1]),f=b.get("rgb"),k=b.get("a")):(f=a[1],k=1);c?(s=f,h=k):(e=f,g=k)});a=90-W.atan((l[3]-l[1])/(l[2]-l[0]))*180/ib;j=["<",j,' colors="0% ',e,",100% ",s,'" angle="',
a,'" opacity="',h,'" o:opacity2="',g,'" type="gradient" focus="100%" />'];C(this.prepVML(j),null,null,c)}else if(a&&a.FCcolor){var l=T(a.FCcolor.color,"000000"),n=T(a.FCcolor.alpha,"100")+"",o=T(a.FCcolor.ratio,"0"),q=R(a.FCcolor.angle,"0"),m=100,l=l.replace(/\s+/ig,"").replace(/\,+$/ig,"").split(","),n=n.replace(/\s+/ig,"").replace(/\,+$/ig,"").split(","),o=o.replace(/\s+/ig,"").replace(/\,+$/ig,"").split(",");q-=90;q*=-1;q%=360;q<0&&(q=360+q);if(l.length===1)return j=["<",j,' opacity="',R(n[0],
100)/100,'"/>'],C(this.prepVML(j),null,null,c),l[0].replace(/^#?/,"#");else{var r,w,v,p,X=0,fa="",t=!0;e=l[0].replace(/^#?/,"#");g=R(n[0],100)/100;for(r=0;r<l.length&&X<100;r+=1)w=l[r].replace(/^#?/,"#"),m=v=R(n[r],m),p=R(o[r],r!==0?(100-X)/(l.length-r):0),X+=p,X>100&&(X=100),t&&(X>0&&(fa+="0% "+w+","),t=!1),fa+=X+"% "+w+",";X<100&&(fa+="100% "+w+",");s=w;h=v/100;if(a.FCcolor.radialGradient)if(a.FCcolor.gradientUnits!=="objectBoundingBox")return j=["<",j,' opacity="',R(a.FCcolor.defaultAlpha,n[0],
100)/100,'"/>'],C(this.prepVML(j),null,null,c),T(a.FCcolor.defaultColor,l[0],"000000").replace(/^#?/,"#");else j=["<",j,' colors="',fa,'" color="',e,'" color2="',s,'" focusposition="',a.FCcolor.cx+","+a.FCcolor.cy,'" opacity="',h,'" o:opacity2="',g,'" type="gradientTitle" focus="100%" />'];else j=["<",j,' colors="',fa,'" angle="',q,'" color="',e,'" color2="',s,'" opacity="',h,'" o:opacity2="',g,'" type="gradient" focus="100%" />'];C(this.prepVML(j),null,null,c)}}else return d.test(a)&&c.tagName!==
"IMG"?(b=Ab(a),j=["<",j,' opacity="',b.get("a"),'"/>'],C(this.prepVML(j),null,null,c),b.get("rgb")):a},prepVML:function(a){var c=this.isIE8,a=a.join("");c?(a=a.replace("/>",' xmlns="urn:schemas-microsoft-com:vml" />'),a=a.indexOf('style="')===-1?a.replace("/>",' style="display:inline-block;behavior:url(#default#VML);" />'):a.replace('style="','style="display:inline-block;behavior:url(#default#VML);')):a=a.replace("<","<hcv:");return a},text:function(a,c,j,b){var d=f.chart.style,a=this.createElement("span").attr({text:a,
x:z(c),y:z(j)}).css({whiteSpace:"nowrap",fontFamily:d.fontFamily,fontSize:d.fontSize});a._dx=p(b,3);return a},path:function(a){return this.createElement("shape").attr({coordsize:"100 100",d:a})},circle:function(a,c,j){return this.symbol("circle").attr({x:a,y:c,r:ea(j,1)})},g:function(a){var c;a&&(c={className:v+a,"class":v+a});return this.createElement(o).attr(c)},image:function(a,c,j,b,d){var f=this.createElement("img").attr({src:a});arguments.length>1&&f.css({left:c,top:j,width:b,height:d});return f},
rect:function(a,c,j,b,d,f){if(la(a))c=a.y,j=a.width,b=a.height,d=a.r,f=a.strokeWidth,a=a.x;var k=this.symbol("rect");k.r=d;return k.attr(k.crisp(f,a,c,ia(j,0),ia(b,0)))},invertChild:function(a,c){var j=c.style;B(a,{flip:"x",left:Q(j.width)-10,top:Q(j.height)-10,rotation:-90})},symbols:{arc:function(a,c,j,b){var d=b.start,f=b.end,k=Ja(d),l=Pa(d),e=Ja(f),g=Pa(f),s=(b=b.innerR)&&0.1/b||0;if(f-d===0)return["x"];else 2*ib-f+d<0.07/j?(f=d+2*ib-0.0010,e=Ja(f),g=Pa(f)):f-d<s&&(e=Ja(d+s));return["wa",a-j,
c-j,a+j,c+j,a+j*k,c+j*l,a+j*e,c+j*g,"at",a-b,c-b,a+b,c+b,a+b*e,c+b*g,a+b*k,c+b*l,"x","e"]},circle:function(a,c,j){return["wa",a-j,c-j,a+j,c+j,a+j,c,a+j,c,"e"]},rect:function(a,c,j,d){if(!b(d))return[];var f=d.width,d=d.height,k=a+f,l=c+d,j=db(j,f,d);return[L,a+j,c,N,k-j,c,"wa",k-2*j,c,k,c+2*j,k-j,c,k,c+j,N,k,l-j,"wa",k-2*j,l-2*j,k,l,k,l-j,k-j,l,N,a+j,l,"wa",a,l-2*j,a+2*j,l,a+j,l,a,l-j,N,a,c+j,"wa",a,c,a+2*j,c+2*j,a,c+j,a+j,c,"x","e"]}}}),Wb=J;Eb.prototype.callbacks=[];var ac=function(){};ac.prototype=
{init:function(a,c){var j=a.chart.counters,b;this.series=a;this.applyOptions(c);this.pointAttr={};if(a.options.colorByPoint){b=a.chart.options.colors;if(!this.options)this.options={};this.color=this.options.color=this.color||b[j.color++];j.wrapColor(b.length)}a.chart.pointCount++;return this},applyOptions:function(a){var c=this.series;this.config=a;if(e(a)||a===null)this.y=a;else if(la(a)&&!e(a.length))h(this,a),this.options=a;else if(m(a[0]))this.name=a[0],this.y=a[1];else if(e(a[0]))this.x=a[0],
this.y=a[1];if(this.x===fa)this.x=c.autoIncrement()},destroy:function(){var a=this,c=a.series,j;c.chart.pointCount--;if(a===c.chart.hoverPoint)a.onMouseOut();c.chart.hoverPoints=null;Z(a);P(["graphic","tracker","group","dataLabel","connector"],function(c){a[c]&&a[c].destroy()});a.legendItem&&a.series.chart.legend.destroyItem(a);for(j in a)a[j]=null},getLabelConfig:function(){return{x:this.category,y:this.y,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},
select:function(a,c){var j=this,b=j.series.chart;j.selected=a=p(a,!j.selected);j.firePointEvent(a?"select":"unselect");j.setState(a&&"select");c||P(b.getSelectedPoints(),function(a){if(a.selected&&a!==j)a.selected=!1,a.setState(Ia),a.firePointEvent("unselect")})},onMouseOver:function(){var a=this.series.chart,c=a.tooltip,j=a.hoverPoint;if(j&&j!==this)j.onMouseOut();this.firePointEvent("mouseOver");c&&!c.shared&&c.refresh(this);this.link!==void 0&&this.series.tracker&&this.series.tracker.css({cursor:"pointer"});
this.setState(Qa);a.hoverPoint=this},onMouseOut:function(){this.firePointEvent("mouseOut");this.setState();this.series.chart.hoverPoint=null;this.link!==void 0&&this.series.tracker&&this.series.tracker.css({cursor:"auto"})},tooltipFormatter:function(a){var c=this.series;return['<span style="color:'+c.color+'">',this.name||c.name,"</span>: ",!a?"<b>x = "+(this.name||this.x)+",</b> ":"","<b>",!a?"y = ":"",this.y,"</b>"].join("")},update:function(a,c,j){var b=this,d=b.series,f=b.graphic,k=d.chart,c=
p(c,!0);b.firePointEvent("update",{options:a},function(){b.applyOptions(a);la(a)&&(d.getAttribs(),f&&f.attr(b.pointAttr[d.state]));d.isDirty=!0;c&&k.redraw(j)})},remove:function(a,c){var j=this,b=j.series,d=b.chart,f=b.data;M(c,d);a=p(a,!0);j.firePointEvent("remove",null,function(){I(f,j);j.destroy();b.isDirty=!0;a&&d.redraw()})},firePointEvent:function(a,c,j){var b=this,d=this.series.options;(d.point.events[a]||b.options&&b.options.events&&b.options.events[a])&&this.importEvents();a==="click"&&d.allowPointSelect&&
(j=function(a){b.select(null,a.ctrlKey||a.metaKey||a.shiftKey)});na(this,a,c,j)},importEvents:function(){if(!this.hasImportedEvents){var a=ca(this.series.options.point,this.options).events,c;this.events=a;for(c in a)ma(this,c,a[c]);this.hasImportedEvents=!0}},setState:function(a){var c=this.series,j=c.options.states,b=xa[c.type].marker&&c.options.marker,d=b&&!b.enabled,f=(b=b&&b.states[a])&&b.enabled===!1,k=c.stateMarkerGraphic,l=c.chart,e=this.pointAttr,a=a||Ia;if(!(a===this.state||this.selected&&
a!=="select"||j[a]&&j[a].enabled===!1||a&&(f||d&&!b.enabled))){if(this.graphic)this.graphic.attr(e[a]);else{if(a){if(!k)c.stateMarkerGraphic=k=l.renderer.circle(0,0,e[a].r).attr(e[a]).add(c.group);k.translate(this.plotX,this.plotY)}if(k)k[a?"show":"hide"]()}this.state=a}}};var kb=function(){};kb.prototype={isCartesian:!0,type:"line",pointClass:ac,pointAttrToOptions:{stroke:"lineColor","stroke-width":"lineWidth",fill:"fillColor",r:"radius"},init:function(a,c){var j,b;b=a.series.length;this.chart=a;
c=this.setOptions(c);h(this,{index:b,options:c,name:T(c.name)===void 0?"":c.name,state:Ia,pointAttr:{},visible:c.visible!==!1,selected:c.selected===!0});b=c.events;for(j in b)ma(this,j,b[j]);if(b&&b.click||c.point&&c.point.events&&c.point.events.click||c.allowPointSelect)a.runTrackerClick=!0;this.getColor();this.getSymbol();this.setData(c.data,!1)},autoIncrement:function(){var a=this.options,c=this.xIncrement,c=p(c,a.pointStart,0);this.pointInterval=p(this.pointInterval,a.pointInterval,1);this.xIncrement=
c+this.pointInterval;return c},cleanData:function(){var a=this.chart,c=this.data,j,b,d=a.smallestInterval,f,k;c.sort(function(a,c){return a.x-c.x});if(this.options.connectNulls)for(k=c.length-1;k>=0;k--)c[k].y===null&&c[k-1]&&c[k+1]&&c.splice(k,1);for(k=c.length-1;k>=0;k--)if(c[k-1]&&(f=c[k].x-c[k-1].x,f>0&&(b===fa||f<b)))b=f,j=k;if(d===fa||b<d)a.smallestInterval=b;this.closestPoints=j},getSegments:function(){var a=-1,c=[],b=this.data;this.options.connectNullData?(P(b,function(a,d){typeof a.y=="number"&&
c.push(b[d])}),c=[c]):P(b,function(d,f){typeof d.y!="number"?(f>a+1&&c.push(b.slice(a+1,f)),a=f):f==b.length-1&&c.push(b.slice(a+1,f+1))});this.segments=c},setOptions:function(a){var c=this.chart.options.plotOptions;return ca(c[this.type],c.series,a)},getColor:function(){var a=this.chart.options.colors,c=this.chart.counters;this.color=this.options.color||a[c.color++]||"#0000ff";c.wrapColor(a.length)},getSymbol:function(){var a=this.chart.options.symbols,c=this.chart.counters;this.symbol=this.options.marker.symbol||
a[c.symbol++];c.wrapSymbol(a.length)},addPoint:function(a,c,b,d){var f=this.data,k=this.graph,l=this.area,e=this.chart,a=(new this.pointClass).init(this,a);M(d,e);if(k&&b)k.shift=b;if(l)l.shift=b,l.isArea=!0;c=p(c,!0);f.push(a);b&&f[0].remove(!1);this.getAttribs();this.isDirty=!0;c&&e.redraw()},setData:function(a,c){var j=this,d=j.data,f=j.initialColor,k=j.chart,l=d&&d.length||0;j.xIncrement=null;if(b(f))k.counters.color=f;for(a=sa(y(a||[]),function(a){return(new j.pointClass).init(j,a)});l--;)d[l].destroy();
j.data=a;j.cleanData();j.getSegments();j.getAttribs();j.isDirty=!0;k.isDirtyBox=!0;p(c,!0)&&k.redraw(!1)},remove:function(a,c){var b=this,d=b.chart,a=p(a,!0);if(!b.isRemoving)b.isRemoving=!0,na(b,"remove",null,function(){b.destroy();d.isDirtyLegend=d.isDirtyBox=!0;a&&d.redraw(c)});b.isRemoving=!1},translate:function(){for(var a=this.chart,c=this.options.stacking,j=this.xAxis.categories,d=this.yAxis,f=this.data,k=f.length;k--;){var l=f[k],e=l.x,g=l.y,s=l.low,h=d.stacks[(g<0?"-":"")+this.stackKey];
l.plotX=this.xAxis.translate(e);if(c&&h&&h[e]){var e=h[e],h=e.total,n=d.options.min,s=e.cum;e.cum+=g;g=ia(n,s+g);s=ia(n,s);c==="percent"&&(s=h?s*100/h:0,g=h?g*100/h:0);l.percentage=h?l.y*100/h:0;l.stackTotal=h}if(b(s))l.yBottom=d.translate(s,0,1,0,1);if(g!==null)l.plotY=d.translate(g,0,1,0,1);l.clientX=a.inverted?a.plotHeight-l.plotX:l.plotX;l.category=j&&j[l.x]!==fa?j[l.x]:l.x}},setTooltipPoints:function(a){var c=this.chart,b=c.inverted,d=[],f=z((b?c.plotTop:c.plotLeft)+c.plotSizeX),k,l,e=[];if(a)this.tooltipPoints=
null;P(this.segments,function(a){d=d.concat(a)});this.xAxis&&this.xAxis.reversed&&(d=d.reverse());P(d,function(a,c){k=d[c-1]?d[c-1]._high+1:0;for(l=a._high=d[c+1]?qb((a.plotX+(d[c+1]?d[c+1].plotX:f))/2):qb(a.plotX+30);k<=l;)e[b?f-k++:k++]=a});this.tooltipPoints=e},onMouseOver:function(){var a=this.chart,c=a.hoverSeries;if(Za||!a.mouseIsDown){if(c&&c!==this)c.onMouseOut();this.options.events.mouseOver&&na(this,"mouseOver");this.tracker&&this.tracker.toFront();this.setState(Qa);a.hoverSeries=this}},
onMouseOut:function(){var a=this.options,c=this.chart,b=c.tooltip,d=c.hoverPoint;if(d)d.onMouseOut();this&&a.events.mouseOut&&na(this,"mouseOut");b&&!a.stickyTracking&&b.hide();this.setState();c.hoverSeries=null},animate:function(a){var c=this.clipRect,b=this.options.animation;b&&!la(b)&&(b={});if(a){if(!c.isAnimating)c.attr({width:0}),c.isAnimating=!0}else c.animate({width:c.cliprectW},b),this.animate=null},drawPoints:function(){var a,c=this.data,b=this.chart,d=this.options,f,k,l,e,g,s,h;if(this.options.marker.enabled)for(l=
c.length;l--;)if(e=c[l],f=e.plotX,k=e.plotY,h=e.graphic,k!==fa&&!isNaN(k)){var n,o,q;a=[];if(e.errorValue)n=e.errorValue,q=f,g=k,s=d.errorBarWidth,s/=2,a.push(L,q,g,N),o=this.yAxis.translate(n,0,0,0,0,1),n=g-o,o=g+o,a.push(q,n,L,q+s,n,N,q-s,n),d.halfErrorBar===0&&a.push(L,q,g,N,q,o,L,q-s,o,N,q+s,o),e.errorPath=a,(g=e.errorGraph)?(qa(g),g.animate({d:a})):e.errorGraph=b.renderer.path(a).attr({"stroke-width":d.errorBarThickness,stroke:d.errorBarColor}).add(this.group);if(e.vErrorValue)n=e.vErrorValue,
q=f,g=k,s=d.verticalErrorBarWidth,s/=2,a.push(L,q,g,N),o=this.yAxis.translate(n,0,0,0,0,1),n=g-o,o=g+o,a.push(q,n,L,q+s,n,N,q-s,n),d.halfVerticalErrorBar===0&&a.push(L,q,g,N,q,o,L,q-s,o,N,q+s,o),e.vErrorPath=a,(g=e.vErrorGraph)?(qa(g),g.animate({d:a})):e.vErrorGraph=b.renderer.path(a).attr({"stroke-width":d.verticalErrorBarThickness,stroke:d.verticalErrorBarColor}).add(this.group);if(e.hErrorValue)n=e.hErrorValue,q=f,g=k,s=d.horizontalErrorBarWidth,s/=2,a.push(L,q,g,N),n=this.xAxis.translate(n,0,
0,0,0,1),a.push(q+n,g,L,q+n,g+s,N,q+n,g-s),d.halfHorizontalErrorBar===0&&a.push(L,q,g,N,q-n,g,L,q-n,g+s,N,q-n,g-s),e.hErrorPath=a,(g=e.hErrorGraph)?(qa(g),g.animate({d:a})):e.hErrorGraph=b.renderer.path(a).attr({"stroke-width":d.verticalErrorBarThickness,stroke:d.verticalErrorBarColor}).add(this.group);a=e.pointAttr[e.selected?"select":Ia];g=a.r;s=(e.marker&&e.marker.startAngle||90)*Bb;h?h.animate({x:f,y:k,r:g}):e.graphic=b.renderer.symbol(p(e.marker&&e.marker.symbol,this.symbol),f,k,g,{startAngle:s}).attr(a).add(this.group)}},
convertAttribs:function(a,c,b,d){var f=this.pointAttrToOptions,k,l,e={},a=a||{},c=c||{},b=b||{},d=d||{};for(k in f)l=f[k],e[k]=p(a[l],c[k],b[k],d[k]);return e},getAttribs:function(){var a=this,c=xa[a.type].marker?a.options.marker:a.options,j=c.states,d=j[Qa],f,k=a.color,l={stroke:k,fill:k},e=a.data,g=[],s,h=a.pointAttrToOptions,n;a.options.marker?(d.radius=d.radius||c.radius+2,d.lineWidth=d.lineWidth||c.lineWidth+1):d.color=d.color||Ab(d.color||k).brighten(d.brightness).get();g[Ia]=a.convertAttribs(c,
l);P([Qa,"select"],function(c){g[c]=a.convertAttribs(j[c],g[Ia])});a.pointAttr=g;for(k=e.length;k--;){l=e[k];if((c=l.options&&l.options.marker||l.options)&&c.enabled===!1)c.radius=0;f=!1;if(l.options)for(n in h)b(c[h[n]])&&(f=!0);if(f){s=[];j=c.states||{};f=j[Qa]=j[Qa]||{};if(!a.options.marker)f.color=Ab(f.color||l.options.color).brighten(f.brightness||d.brightness).get();s[Ia]=a.convertAttribs(c,g[Ia]);s[Qa]=a.convertAttribs(j[Qa],g[Qa],s[Ia]);s.select=a.convertAttribs(j.select,g.select,s[Ia])}else s=
g;l.pointAttr=s}},destroy:function(){var a=this,c=a.chart,b=/\/5[0-9\.]+ (Safari|Mobile)\//.test(jb),d,f;na(a,"destroy");Z(a);a.legendItem&&a.chart.legend.destroyItem(a);P(a.data,function(a){a.destroy()});a.graphLine&&P(a.graphLine,function(a){a.destroy()});P(["area","graph","dataLabelsGroup","group","tracker"],function(c){a[c]&&(d=b&&c==="group"?"hide":"destroy",a[c][d]())});if(c.hoverSeries===a)c.hoverSeries=null;I(c.series,a);for(f in a)delete a[f]},drawDataLabels:function(){if(this.options.dataLabels.enabled){var a=
this,c,j,d=a.data,f=a.options.dataLabels,k,l=a.dataLabelsGroup,e=a.chart,g=e.renderer,s=e.options.chart,h=e.inverted,n=a.type,o=a.options.stacking,m=/^(column|column3d|bar|bar3d|floatedcolumn)$/.test(n),r=f.verticalAlign===null,w=f.y===null,v=e.plotWidth,X=e.plotHeight,fa=g.smartLabel,L,C,D,N,S,z,Ca,I,y,x=/^(line|area)$/.test(n),B=a.depthYDisplacement||0,J=a.depthXDisplacement||0,O,Ia=f.style.fontSize.replace(/px/,""),Sa=g.box.nodeName=="svg"&&!o?2:0,G,M,Qa=!1,F=s.valuePadding,E=2+F,Z=n=="floatedcolumn",
Pb=e.options.chart.usePerPointLabelColor;fa.setStyle(f.style);if(m)o?(r&&(f=ca(f,{verticalAlign:"middle"})),w&&(f=ca(f,{y:{top:14,middle:4,bottom:-6}[f.verticalAlign]})),f.align="center"):r&&(f=ca(f,{verticalAlign:"top"}));if(!/^(bar|pie|bar3d)$/.test(n))f.rotation=N=s.rotateValues==1?270:void 0;if(/^(column|column3d|bar|bar3d|floatedcolumn)$/.test(n))L=s.placeValuesInside;if(!l)l=a.dataLabelsGroup=g.g("data-labels").attr({visibility:a.visible?q:da,zIndex:6}).translate(e.plotLeft,e.plotTop).add(),
e.options.chart.hasScroll&&l.clip(a.clipRect);e=f.color;e==="auto"&&(e=null);f.style.color=p(e,a.color);P(d,function(e,s){var q=e.barX,$=q&&q+e.barW/2||(e.plotX!=null?e.plotX:-999),r=p(e.plotY,-999),Da=e.dataLabel,da=f.align,P=w?e.y>=0?-6:12:f.y;I=f.formatter.call(e.getLabelConfig());if(I!=null){Z&&(r=R(e.barY,r));Ca=fa.getOriSize(I,void 0,void 0,!1);k=Ca.text;c=(h?v-r:$)+f.x;j=(h?X-$:r)+P;y=void 0;G=t(e.valuePosition,"auto").toLowerCase();if(x)switch(G){case "above":L=0;break;case "below":L=1;break;
default:M=d[s-1],L=(M&&M.plotY)<e.plotY?1:0}Qa=e.y<0;$=Number(Z?e.barY:e.plotY);if(N){da="left";P=Qa?-4-F:P+2-F;D=Ca.width-P;C=Ca.height-P;O=Ca.width;S=R(e.barH,X-$);z=$;if(D<=z){j=z+P;if(Qa){j=r-P+B;da="right";if(L&&S>D||D>X-r)j=r+P+B,da="left";c+=J}L&&!Qa&&e.y!=0&&D<=S&&(da=Qa?"center":"right",j=z-P+B,c+=J)}else D<=S?(da="right",j=z-P+B,c+=J,Qa&&(j=z-P+B)):(j=z+P,y=z,S>z&&Z&&(j=X+B,c+=J,y=S),j<O&&(j=0,da="right"));c+=Ia/2-Sa}else P=Qa?-4-F:P+2-F,C=Ca.width+E,D=Ia-P,O=Ia,S=X-$,z=$,/^(bar|bar3d)$/.test(n)?
(j-=Sa,S=e.barH,z=v-e.barH,Qa?(z=v-$,L&&S>C||C>z&&S>C?(c=z+F+2+J,j+=B):C<z?(c=z-(F+2)+J,j+=B,da="right"):(c=6,da="left")):(z=$,L&&S>C||C>z&&S>C?(c=v-z-(F+2)+J,da="right",j+=B):C<z?c=v-z+(F+2):(c=v-6,j+=B,da="right")),c<0&&(c=6,da="left"),c>v&&(c=v-6,da="right")):(Qa?(z=R(e.barH,$),j=L&&z>D||D>S?r+P+B:r+D+B,c+=J):(S=R(e.barH,X-$),L&&S>=D&&e.y!=0||D>z?(j=r+D+B,c+=J):j=r+P,n=="bubble"&&(j=r-P/2)),j>X&&(j=X),j<0&&(j=O));da=o?"center":da;if(y)Ca=fa.getOriSize(I,y,void 0,!0),k=Ca.text;if(Da)h&&!f.y&&(j=
j+Q(Da.styles.lineHeight)*0.9-Da.getBBox().height/2),Da.attr({text:k}).animate({x:c,y:j});else if(b(k)&&(Da=e.dataLabel=g.text(k,c,j).attr({align:da,rotation:f.rotation,zIndex:1}).css(f.style).add(l),Pb&&e.color&&e.color.FCcolor&&e.color.FCcolor.color&&e.color.FCcolor.color.toString&&Da.css({color:"#"+e.color.FCcolor.color.split(",")[0].replace(Y,wb)}),h&&!f.y&&Da.attr({y:j+Q(Da.styles.lineHeight)*0.9-Da.getBBox().height/2}),m&&a.options.stacking))r=e.barY,da=e.barW,P=e.barH,Da.align(f,null,{x:h?
v-r-P:q+J,y:h?X-q-da+Ia/2+B:r,width:h?P:da,height:h?da:P})}})}},drawGraph:function(){var a=this,c=a.options,b=[],d,f=a.area,k=a.group,l=c.lineColor||a.color,e=c.lineWidth,g=c.dashStyle,s,h=a.chart.renderer,n=a.yAxis.getThreshold(c.threshold||0),o=/^area/.test(a.type),q=[],r=[],m,v=[],w=[],X,fa=0,da=[],t=a.shadowGroup;if(!t&&c.shadow)t=a.shadowGroup=h.g("shadow").add(k),t.floated=!0;P(a.segments,function(d){s=[];P(d,function(b,j){if(a.getPointSpline){s.push.apply(s,a.getPointSpline(d,b,j));var f=a.getPointSpline(d,
b,j);f[0]=="C"?(k=d[j-1],v.push(da.concat(f)),w.push(k.config),fa++,da=["M"].concat(f.slice(f.length-2))):da=f}else{s.push(j?N:L);if(j&&c.step){var k=d[j-1];s.push(b.plotX,k.plotY)}j&&(k=d[j-1],v[fa]=[],c.step?(v[fa].push(L,k.plotX,k.plotY,N,b.plotX,k.plotY),c.drawVerticalJoins&&v[fa].push(b.plotX,b.plotY)):v[fa].push(L,k.plotX,k.plotY,N,b.plotX,b.plotY),w.push(k.config),fa++);s.push(b.plotX,b.plotY)}});d.length>1?b=b.concat(s):q.push(d[0]);if(o){var f=[],k,l=s.length;for(k=0;k<l;k++)f.push(s[k]);
l===3&&f.push(N,s[1],s[2]);if(c.stacking&&a.type!=="areaspline")for(k=d.length-1;k>=0;k--)f.push(d[k].plotX,d[k].yBottom);else f.push(N,d[d.length-1].plotX,n,N,d[0].plotX,n);r=r.concat(f)}});if(o){var D=[];P(v,function(b){var j=[],d,f=b.length;for(d=0;d<f;d++)j.push(b[d]);if(c.stacking&&a.type!=="areaspline")for(d=v.length-1;d>=0;d--);else j.push(N,b[b.length-2],n,N,b[1],n);D.push(j)})}a.graphPath=b;a.singlePoints=q;if(o)d=p(c.fillColor,Ab(a.color).setOpacity(c.fillOpacity||0.75).get()),f?f.animate({d:r}):
a.area=a.chart.renderer.path(r).attr({fill:d}).add(k);var C,S;if(o||a.getPointSpline)if(S=a.graphLine,m={stroke:l,"stroke-width":e,"stroke-linecap":"round",dashstyle:g},S)S.animate({d:s});else{if(e)X=w,a.graphLine=h.path(s).attr(m).add(k).shadow(c.shadow,t,X.shadow)}else{if(!a.graphLine)a.graphLine=[];P(v,function(b,j){C=a.graphLine;(S=C[j])?S.animate({d:b}):e&&(X=w[j],m={stroke:T(X.color,l),"stroke-width":e,"stroke-linecap":"round",dashstyle:T(X.dashStyle,g)},C[j]=h.path(b).attr(m).add(k).shadow(c.shadow,
t,X.shadow))})}},render:function(){var a=this,c=a.chart,b,d,f=a.options,k=f.animation,l=k&&a.animate,k=l?k&&k.duration||500:0,e=a.clipRect,g=c.renderer;if(!e){var s=0,h=0,n=c.plotSizeX,o=c.plotSizeY;c.options.chart.hasScroll||(s=-(c.inverted?c.plotTop:c.plotLeft),h=-(c.inverted?c.plotLeft:c.plotTop),n=c.inverted?c.chartHeight:c.chartWidth,o=c.inverted?c.chartWidth:c.chartHeight);e=a.clipRect=!c.hasRendered&&c.clipRect?c.clipRect:g.clipRect(s,h,n,o);e.cliprectX=s;e.cliprectY=h;e.cliprectW=n;e.cliprectH=
o;if(!c.clipRect)c.clipRect=e}if(!a.group)b=a.group=g.g("series"),c.inverted&&(d=function(){b.attr({width:c.plotWidth,height:c.plotHeight}).invert()},d(),ma(c,"resize",d),ma(a,"destroy",function(){Z(c,"resize",d)})),b.clip(a.clipRect).attr({visibility:a.visible?q:da,zIndex:f.zIndex}).translate(c.plotLeft,c.plotTop).add(c.seriesGroup);a.drawDataLabels();l&&a.animate(!0);a.drawGraph&&a.drawGraph();a.drawPoints();a.options.enableMouseTracking!==!1&&a.drawTracker();l&&a.animate();setTimeout(function(){e.isAnimating=
!1;if((b=a.group)&&e!==c.clipRect&&e.renderer)b.clip(a.clipRect=c.clipRect),e.destroy()},k);a.isDirty=!1},redraw:function(){var a=this.chart,c=this.group;c&&(a.inverted&&c.attr({width:a.plotWidth,height:a.plotHeight}),c.animate({translateX:a.plotLeft,translateY:a.plotTop}));this.translate();this.setTooltipPoints(!0);this.render()},setState:function(a){var c=this.options,b=this.graph,d=c.states,c=c.lineWidth,a=a||Ia;if(this.state!==a)this.state=a,d[a]&&d[a].enabled===!1||(a&&(c=d[a].lineWidth||c+1),
b&&!b.dashstyle&&b.attr({"stroke-width":c},a?0:500))},setVisible:function(a,c){var b=this.chart,d=this.legendItem,f=this.group,k=this.tracker,l=this.dataLabelsGroup,e=this.shadowGroup,g,s=this.data,h=b.options.chart.ignoreHiddenSeries;g=this.visible;g=(this.visible=a=a===fa?!g:a)?"show":"hide";if(f)f[g]();if(e&&e.floated)e[g]();if(k)k[g]();else for(f=s.length;f--;)if(k=s[f],k.tracker)k.tracker[g]();if(l)l[g]();d&&b.legend.colorizeItem(this,a);this.isDirty=!0;this.options.stacking&&P(b.series,function(a){if(a.options.stacking&&
a.visible)a.isDirty=!0});if(h)b.isDirtyBox=!0;c!==!1&&b.redraw();na(this,g)},show:function(){this.setVisible(!0)},hide:function(){this.setVisible(!1)},scroll:function(a,c,b){var d=this.chart,f=this.clipRect,k=d.plotLeft-a,l=d.plotTop-c,e=this.data,g=0,s=e.length;this.group.translate(k,l);this.dataLabelsGroup.translate(k,l);d.trackerGroup.translate(k,l);f.attr({x:a,y:c});if(b===void 0||b){for(;g<s;g+=1)if(b=e[g],b.y!==null)d=b.plotX-a+20,f=b.plotY-c-15,d=d<0?0:d,f=f<0?0:f,b.tooltipPos=[d,f];this.xShift=
z(a);this.yShift=z(c)}},select:function(a){this.selected=a=a===fa?!this.selected:a;if(this.checkbox)this.checkbox.checked=a;na(this,a?"select":"unselect")},drawTracker:function(){var a=this,c=a.options,b=[].concat(a.graphPath),d=b.length,f=a.chart,k=f.options.tooltip.snap,l=a.tracker,e=c.cursor,g=e&&{cursor:e},e=a.singlePoints,s;f.options.chart.hasScroll&&f.trackerGroup.clip(a.clipRect);var h,n,o,r,m=+new Date;P(a.data,function(b){if(h=b.errorValue)n=b.errorPath,(o=b.errorTracker)?o.attr({d:n}):(r=
{series:a,chart:f,id:b.id,label:b.label,options:b.options,svgElm:b.svgElm,toolText:h+"",getLabelConfig:b.getLabelConfig},b.errorTracker=f.renderer.path(n).attr({"stroke-width":c.errorBarThickness,stroke:D,isTracker:m,fill:D,visibility:a.visible?q:da,zIndex:1}).on(Za?"touchstart":"mouseover",function(a,c){return function(b){var d=c.plotLeft,j=c.plotTop;a.tooltipPos=[T(b.layerX,b.x)-d+20,T(b.layerY,b.y)-j-15];c.tooltip.refresh(a)}}(r,f)).on("mousemove",function(a,c){return function(b){var d=c.plotLeft,
j=c.plotTop;a.tooltipPos=[T(b.layerX,b.x)-d+20,T(b.layerY,b.y)-j-15];c.tooltip.refresh(a)}}(r,f)).on("mouseout",function(a){return function(){a.tooltip.hide()}}(f)).css(g).add(b.group||f.trackerGroup))});if(d)for(s=d+1;s--;)b[s]===L&&b.splice(s+1,0,b[s+1]-k,b[s+2],N),(s&&b[s]===L||s===d)&&b.splice(s,0,N,b[s-2]+k,b[s-1]);for(s=0;s<e.length;s++)d=e[s],b.push(L,d.plotX-k,d.plotY,N,d.plotX+k,d.plotY);l?l.attr({d:b}):a.tracker=f.renderer.path(b).attr({isTracker:!0,stroke:D,fill:Ca,"stroke-width":c.lineWidth+
2*k,visibility:a.visible?q:da,zIndex:1}).on(Za?"touchstart":"mouseover",function(){if(f.hoverSeries!==a)a.onMouseOver()}).on("mouseout",function(){if(!c.stickyTracking)a.onMouseOut()}).css(g).add(f.trackerGroup)}};J=ba(kb);oa.line=J;J=ba(kb,{type:"area"});oa.area=J;J=ba(kb,{type:"spline",getPointSpline:function(a,c,b){var d=c.plotX,f=c.plotY,k=a[b-1],l=a[b+1],e,g,s,h;if(b&&b<a.length-1){a=k.plotY;s=l.plotX;var l=l.plotY,n;e=(1.5*d+k.plotX)/2.5;g=(1.5*f+a)/2.5;s=(1.5*d+s)/2.5;h=(1.5*f+l)/2.5;n=(h-
g)*(s-d)/(s-e)+f-h;g+=n;h+=n;g>a&&g>f?(g=ia(a,f),h=2*f-g):g<a&&g<f&&(g=db(a,f),h=2*f-g);h>l&&h>f?(h=ia(l,f),g=2*f-h):h<l&&h<f&&(h=db(l,f),g=2*f-h);c.rightContX=s;c.rightContY=h}b?(c=["C",k.rightContX||k.plotX,k.rightContY||k.plotY,e||d,g||f,d,f],k.rightContX=k.rightContY=null):c=[L,d,f];return c}});oa.spline=J;J=ba(J,{type:"areaspline"});oa.areaspline=J;var Vb=ba(kb,{type:"column",pointAttrToOptions:{stroke:"borderColor","stroke-width":"borderWidth",fill:"color",r:"borderRadius",dashstyle:"dashStyle"},
init:function(){kb.prototype.init.apply(this,arguments);var a=this,c=a.chart;c.hasColumn=!0;c.hasRendered&&P(c.series,function(c){if(c.type===a.type)c.isDirty=!0})},translate:function(){var a=this,c=a.chart,d=a.options,f=d.stacking,k=d.borderWidth,l=0,e=a.xAxis.reversed,g=a.xAxis.categories,s={},n,o;kb.prototype.translate.apply(a);P(c.series,function(c){if(c.type===a.type)c.options.stacking?(n=c.stackKey,s[n]===fa&&(s[n]=l++),o=s[n]):o=l++,c.columnIndex=o});var q=a.data,r=a.closestPoints,c=ya(q[1]?
q[r].plotX-q[r-1].plotX:c.plotSizeX/(g&&g.length||1)),g=c*d.groupPadding,r=(c-2*g)/l,m=d.pointWidth,v=b(m)?(r-m)/2:r*d.pointPadding,w=ia(p(m,r-2*v),1),m=ya(R(d.maxColWidth,50))||1;w>m&&d.groupPadding===0.1&&(g+=(w-m)*l/2,r=w=m);var X=v+(g+((e?l-a.columnIndex:a.columnIndex)||0)*r-c/2)*(e?-1:1),e=R(d.threshold,ia(a.yAxis.options.min,0),0),da=a.yAxis.getThreshold(e),t=p(d.minPointLength,5);P(q,function(c){var l=c.plotY,e=R(c.yBottom,da),g=c.plotX+X,s=Na(db(l,e)),A=Na(ia(l,e)-s),n=a.yAxis.stacks[(c.y<
0?"-":"")+a.stackKey],o;f&&n&&n[c.x]&&n[c.x].setOffset(X,w);ya(A)<t&&(t&&(A=t,s=ya(s-da)>t?e-t:da-(l<=da?t:0)),o=s-3);h(c,{barX:g,barY:s,barW:w,barH:A});c.shapeType="rect";l={x:z(g),y:z(s),width:z(w),height:z(A),r:d.borderRadius};k%2&&(l.y-=1,l.height+=1);c.shapeArgs=l;c.trackerArgs=b(o)&&ca(c.shapeArgs,{height:ia(6,A+3),y:o})})},getSymbol:function(){},drawGraph:function(){},drawPoints:function(){var a=this,c=a.options,b=a.chart.renderer,d,f,k=a.shadowGroup,l,e,g,s,h,n,o=a.yAxis,q=o.reversed&&o.options.min<
0?!0:!1,r=b.box.nodeName.toLowerCase()==="div"?!0:!1,m=a.inverted;P(a.data,function(o){var v=o.plotY;if(v!==fa&&!isNaN(v)&&o.y!==null&&(d=o.graphic,f=o.shapeArgs,d?(qa(d),d.animate(f)):(g=f.y,s=f.width,h=f.height,l=f.r,e=f.x,n=o.pointAttr[o.selected?"select":Ia]["stroke-width"]%2===0?void 0:1,q&&o.color&&o.color.FCcolor&&(o.color.FCcolor.angle+=180),r&&m&&o.color&&o.color.FCcolor&&(o.color.FCcolor.angle+=90),o.graphic=b[o.shapeType](e,g,s,h,l,n).attr(o.pointAttr[o.selected?"select":Ia]).add(a.group).shadow(c.shadow,
k,o.shadow)),o.errorValue)){var w=o.errorGraph,X,p,da=e+s/2,t=[L,da,v,N],C=s*c.errorBarWidthPercent/100/2;X=a.yAxis.translate(o.errorValue,0,0,0,0,1);p=v-X;X=v+X;t.push(da,p,L,da+C,p,N,da-C,p);c.halfErrorBar===0&&t.push(L,da,v,N,da,X,L,da-C,X,N,da+C,X);o.errorPath=t;w?(qa(w),d.animate({d:t})):o.errorGraph=b.path(t).attr({"stroke-width":c.errorBarThickness,stroke:c.errorBarColor}).add(a.group)}})},drawTracker:function(){var a=this,c=a.chart,b=c.renderer,d,f,k=+new Date,l;c.options.chart.hasScroll&&
c.trackerGroup.clip(a.clipRect);P(a.data,function(e){f=e.tracker;var s=e.errorTracker,h=e.errorValue;d=e.trackerArgs||e.shapeArgs||{};delete d.strokeWidth;if(e.y!==null){if(f)f.attr(d);else{if(e.link!==void 0)var n={cursor:"pointer",_cursor:"hand"};e.tracker=b[e.shapeType](d).attr({isTracker:k,fill:D,visibility:a.visible?q:da,zIndex:1}).on(Za?"touchstart":"mouseover",function(b){l=b.relatedTarget||b.fromElement;if(c.hoverSeries!==a&&g(l,"isTracker")!==k)a.onMouseOver();e.onMouseOver()}).on("mouseout",
function(c){if(!a.options.stickyTracking&&(l=c.relatedTarget||c.toElement,g(l,"isTracker")!==k))a.onMouseOut()}).css(n).add(e.group||c.trackerGroup)}if(h)h=e.errorPath,s?s.attr({d:h}):(s={series:a,chart:c,id:e.id,label:e.label,options:e.options,svgElm:e.svgElm,toolText:e.errorValue+"",getLabelConfig:e.getLabelConfig},e.errorTracker=b.path(h).attr({"stroke-width":ia(a.options.errorBarThickness,10),stroke:D,isTracker:k,fill:D,visibility:a.visible?q:da,zIndex:1}).on(Za?"touchstart":"mouseover",function(a,
c){return function(b){var d=c.plotLeft,j=c.plotTop;a.tooltipPos=[T(b.layerX,b.x)-d+20,T(b.layerY,b.y)-j-15];c.tooltip.refresh(a)}}(s,c)).on("mousemove",function(a,c){return function(b){var d=c.plotLeft,j=c.plotTop;a.tooltipPos=[T(b.layerX,b.x)-d+20,T(b.layerY,b.y)-j-15];c.tooltip.refresh(a)}}(s,c)).on("mouseout",function(a){return function(){a.tooltip.hide()}}(c)).css(n).add(e.group||c.trackerGroup))}})},animate:function(a){var c=this,b=c.data;if(!a)P(b,function(a){var b=a.graphic,a=a.shapeArgs;b&&
(b.attr({height:0,y:c.yAxis.getThreshold(c.options.threshold||0)}),b.animate({height:a.height,y:a.y},c.options.animation))}),c.animate=null},remove:function(){var a=this,c=a.chart;c.hasRendered&&P(c.series,function(c){if(c.type===a.type)c.isDirty=!0});kb.prototype.remove.apply(a,arguments)}});oa.column=Vb;J=ba(Vb,{type:"bar",init:function(a){a.inverted=this.inverted=!0;Vb.prototype.init.apply(this,arguments)}});oa.bar=J;J=ba(kb,{type:"scatter",translate:function(){var a=this;kb.prototype.translate.apply(a);
P(a.data,function(c){c.shapeType="circle";c.shapeArgs={x:c.plotX,y:c.plotY,r:a.chart.options.tooltip.snap}})},drawTracker:function(){var a=this,c=a.chart,b;P(a.data,function(d){var f,k,l=c.renderer,e=d.hErrorValue,g=d.vErrorValue;if(e)f=d.hErrorPath,(k=d.hErrorTracker)?k.attr({d:f}):(k={series:a,chart:c,id:d.id,label:d.label,options:d.options,svgElm:d.svgElm,toolText:e+"",getLabelConfig:d.getLabelConfig},d.hErrorTracker=l.path(f).attr({"stroke-width":a.options.verticalErrorBarThickness,stroke:D,isTracker:void 0,
fill:D,visibility:a.visible?q:da,zIndex:1}).on(Za?"touchstart":"mouseover",function(a,c){return function(b){var d=c.plotLeft,j=c.plotTop;a.tooltipPos=[T(b.layerX,b.x)-d+20,T(b.layerY,b.y)-j-15];c.tooltip.refresh(a)}}(k,c)).on("mousemove",function(a,c){return function(b){var d=c.plotLeft,j=c.plotTop;a.tooltipPos=[T(b.layerX,b.x)-d+20,T(b.layerY,b.y)-j-15];c.tooltip.refresh(a)}}(k,c)).on("mouseout",function(a){return function(){a.tooltip.hide()}}(c)).css(s).add(d.group||c.trackerGroup));if(g)f=d.vErrorPath,
(k=d.vErrorTracker)?k.attr({d:f}):(k={series:a,chart:c,id:d.id,label:d.label,options:d.options,svgElm:d.svgElm,toolText:g+"",getLabelConfig:d.getLabelConfig},d.vErrorTracker=l.path(f).attr({"stroke-width":a.options.horizontalErrorBarThickness,stroke:D,isTracker:void 0,fill:D,visibility:a.visible?q:da,zIndex:1}).on(Za?"touchstart":"mouseover",function(a,c){return function(b){var d=c.plotLeft,j=c.plotTop;a.tooltipPos=[T(b.layerX,b.x)-d+20,T(b.layerY,b.y)-j-15];c.tooltip.refresh(a)}}(k,c)).on("mousemove",
function(a,c){return function(b){var d=c.plotLeft,j=c.plotTop;a.tooltipPos=[T(b.layerX,b.x)-d+20,T(b.layerY,b.y)-j-15];c.tooltip.refresh(a)}}(k,c)).on("mouseout",function(a){return function(){a.tooltip.hide()}}(c)).css(s).add(d.group||c.trackerGroup));if(d.link!==void 0)var s={cursor:"pointer",_cursor:"hand"};(b=d.graphic)&&b.attr({isTracker:!0}).on("mouseover",function(){a.onMouseOver();d.onMouseOver()}).on("mouseout",function(){if(!a.options.stickyTracking)a.onMouseOut()}).css(s)})},cleanData:function(){}});
oa.scatter=J;var J=ba(ac,{init:function(){ac.prototype.init.apply(this,arguments);var a=this,c;h(a,{visible:a.visible!==!1,name:p(a.name,"Slice")});!a.link&&!a.doNotSlice&&ma(a,"click",function(){a.series&&a.series.rotationStartInstanceAngle?delete a.series.rotationStartInstanceAngle:a.slice()});return a},setVisible:function(a){var c=this.series.chart,b=this.tracker,d=this.dataLabel,f=this.connector,k=this.shadowGroup,l;l=(this.visible=a=a===fa?!this.visible:a)?"show":"hide";this.group[l]();if(b)b[l]();
if(d)d[l]();if(f)f[l]();if(k)k[l]();this.legendItem&&c.legend.colorizeItem(this,a)},slice:function(a,c,d){var f=this,k=f.series.chart,l=f.slicedTranslation;M(d,k);c=p(c,!0);a=f.sliced=b(a)?a:!f.sliced;c={translateX:a?l[0]:k.plotLeft,translateY:a?l[1]:k.plotTop};f.group.animate(c);f.shadowGroup&&f.shadowGroup.animate(c);c=l[0]-k.plotLeft;k=l[1]-k.plotTop;f.connectorPath&&(f.connectorPath[1]+=a?c:-c,f.connectorPath[2]+=a?k:-k,f.connectorPath[4]+=a?c:-c,f.connectorPath[6]+=a?c:-c,f.connector.animate({d:f.connectorPath}));
f.dataLabel&&(f.dataLabel.animate({x:a?f.dataLabel._x+c:f.dataLabel._x}),f.dataLabelBG&&f.dataLabelBG.animate({x:a?f.dataLabelBG.x+c:f.dataLabelBG.x},void 0,function(){a||f.dataLabel.textBound()}))}}),gc=function(a,c){return Mb(a[1]-this.pageY+c.top,a[0]-this.pageX+c.left)},J=ba(kb,{type:"pie",isCartesian:!1,pointClass:J,pointAttrToOptions:{stroke:"borderColor","stroke-width":"borderWidth",fill:"color"},getColor:function(){this.initialColor=this.chart.counters.color},animate:function(){var a=this;
P(a.data,function(c){var b=c.graphic,c=c.shapeArgs,d=2*ib;b&&(b.attr({start:d,end:d}),b.animate({r:c.r,start:c.start,end:c.end},a.options.animation))});a.animate=null},rotate:function(a){var c=this.data,b=this.options.slicedOffset,d=this.chart.plotLeft,f=this.chart.plotTop,k=R(this.chart.options.chart.startingAngle,0),l;l=(a-k)%360;this.chart.options.chart.startingAngle=R(a,this.chart.options.chart.startingAngle)%360;l=l*ib/180;P(c,function(a){var c=a.graphic,k=a.shadowGroup,e=a.tracker,g=a.shapeArgs,
s={start:g.start+=l,end:g.end+=l},h=a.centerAngle=(s.start+s.end)/2%Jb,n=a.sliced,o=g.r*0.7,q;a.slicedTranslation=sa([Ja(h)*b+d,Pa(h)*b+f],z);q={translateX:a.slicedTranslation[0],translateY:a.slicedTranslation[1]};a.tooltipPos=[g.x+Ja(h)*o,g.y+Pa(h)*o];e&&e.attr(s);c&&(c.attr(s),n&&a.group.attr(q));k&&n&&a.shadowGroup.attr(q)});this.drawDataLabels(!0)},translate:function(){var a=0,c=this,b=c.options,d=-1*(T(this.chart.options.chart.startingAngle,0)%360/360),f=R(b.dataLabels.distance,20),k=b.slicedOffset,
l=k+b.borderWidth,e=b.center,g=c.chart,s=g.plotWidth,h=g.plotHeight,n,o,q,r=c.data,m=2*ib,v,w=db(s,h),X,p,fa,da=b.dataLabels.distance;e.push(b.size,b.innerSize||0);e=sa(e,function(a,c){return(X=/%$/.test(a))?[s,h,w,w][c]*Q(a)/100:a});c.getX=function(a,c){q=W.asin((a-e[1])/(e[2]/2+da));return e[0]+(c?-1:1)*Ja(q)*(e[2]/2+da)};c.center=e;P(r,function(c){a+=c.y});c.labelsRadius=e[2]/2+f;c.quadrantHeight=h/2;c.quadrantWidth=s/2;f=b.dataLabels;b=R(parseInt(f.style.fontSize,10),10)+4;c.maxLabels=Math.floor(c.quadrantHeight/
b);c.labelFontSize=b;c.connectorPadding=R(f.connectorPadding,5);c.isSmartLineSlanted=T(f.isSmartLineSlanted,!0);c.connectorWidth=R(f.connectorWidth,1);c.enableSmartLabels=f.enableSmartLabels;P(r,function(b){v=a?b.y/a:0;n=z(d*m*1E3)/1E3;d+=v;o=z(d*m*1E3)/1E3;b.shapeType="arc";b.shapeArgs={x:e[0],y:e[1],r:e[2]/2,innerR:e[3]/2,start:n,end:o};if(b.color.FCcolor&&b.color.FCcolor.gradientUnits!=="objectBoundingBox")b.color.FCcolor.cx=e[0],b.color.FCcolor.cy=e[1],b.color.FCcolor.r=e[2]/2;b.centerAngle=q=
(o+n)/2%Jb;b.slicedTranslation=sa([Ja(q)*k+g.plotLeft,Pa(q)*k+g.plotTop],z);p=Ja(q)*e[2]/2;c.radiusY=fa=Pa(q)*e[2]/2;b.tooltipPos=[e[0]+p*0.7,e[1]+fa*0.7];b.labelPos=[e[0]+p+Ja(q)*da,e[1]+fa+Pa(q)*da,e[0]+p+Ja(q)*l,e[1]+fa+Pa(q)*l,e[0]+p,e[1]+fa,da<0?"center":q<m/4?"left":"right",q];b.percentage=v*100;b.total=a});this.setTooltipPoints()},render:function(){this.drawPoints();this.options.enableMouseTracking!==!1&&this.drawTracker();this.drawDataLabels();this.options.animation&&this.animate&&this.animate();
this.isDirty=!1},drawPoints:function(){var a=this.chart,c=a.renderer,b,d,f,k=this.options.shadow,l,e;P(this.data,function(g){d=g.graphic;e=g.shapeArgs;f=g.group;l=g.shadowGroup;if(k&&!l)l=g.shadowGroup=c.g("shadow").attr({zIndex:4}).add();if(!f)f=g.group=c.g("point").attr({zIndex:5}).add();b=g.sliced?g.slicedTranslation:[a.plotLeft,a.plotTop];f.translate(b[0],b[1]);l&&l.translate(b[0],b[1]);d?d.animate(e):g.graphic=c.arc(e).attr(h(g.pointAttr[Ia],{"stroke-linejoin":"round"})).add(g.group).shadow(k,
l,g.shadow);g.visible===!1&&g.setVisible(!1)})},drawDataLabels:function(){var a=function(a,c){return a.point.y-c.point.y},c=function(a,c){return a.angle-c.angle},b=["left","left","right","right"],d=[-1,1,1,-1],f=[1,1,-1,-1];return function(k){var l=this.data,e,g,s=this.chart,h=this.options.dataLabels;e=h.placeInside;var n=this.connectorPadding,o=this.connectorWidth,r,m,v=h.distance>0,w,X=this.center[1],p=this.center[0],fa=this.center[2]/2,t=[[],[],[],[]],C,D=s.plotLeft,S=s.plotTop,z,B,Ca,J,I,y,s=
this.labelsRadius,x,O=this.labelFontSize,Ia=O/2,n=[n,n,-n,-n];w=this.maxLabels;var Sa=this.isSmartLineSlanted,Qa=this.enableSmartLabels,F;k||kb.prototype.drawDataLabels.apply(this);if(l.length==1){if(e=l[0],F=e.dataLabel,e.slicedTranslation=[D,S],F)F.attr({visibility:q,align:"center",x:p,y:X+Ia-2}),F.x=p}else if(e){var h=R(this.center[3],0)/2,G=h+(fa-h)/2;P(l,function(a){if(F=a.dataLabel){var c=a.centerAngle;y=X+G*Pa(c)+Ia-2;Ca=p+G*Ja(c);F.x=Ca;F._x=Ca;F.y=y;if(a.sliced){var c=a.slicedTranslation,
b=c[1]-S;Ca+=c[0]-D;y+=b}F.attr({visibility:q,align:"center",x:Ca,y:y});a.dataLabelBG=F.textBound()}})}else{P(l,function(a){if(F=a.dataLabel){var c=a.centerAngle;c<0&&(c=Jb+c);t[c<Ib?1:c<ib?2:c<Rb?3:0].push({point:a,angle:c})}});for(k=l=4;k--;){e=t[k].length-w;if(e>0){t[k].sort(a);x=t[k].splice(0,e);z=0;for(B=x.length;z<B;z+=1)e=x[z].point,e.dataLabel.attr({visibility:da}),e.connector&&e.connector.attr({visibility:da})}t[k].sort(c)}k=ia(t[0].length,t[1].length,t[2].length,t[3].length);x=ia(k*O,s);
t[1].reverse();for(t[3].reverse();l--;){z=t[l];B=z.length;e=B*O-Ia;w=x+Ia;for(k=0;k<B;k+=1,e-=O)m=ya(x*Pa(z[k].angle)),w-m<O?m=w-O:m<e&&(m=e),w=z[k].oriY=m;C=b[l];B=x-B*O+Ia;w=-Ia;for(k=z.length-1;k>=0;k-=1,B+=O){e=z[k].point;g=z[k].angle;r=e.sliced;F=e.dataLabel;m=ya(x*Pa(g));m-w<O?m=w+O:m>B&&(m=B);w=m;J=(m+z[k].oriY)/2;m=p+f[l]*s*Ja(W.asin(J/x));J*=d[l];J+=X;I=X+fa*Pa(g);g=p+fa*Ja(g);Ca=m+n[l];y=J+Ia-2;F.x=Ca;F._x=Ca;F.y=y;if(r){var M=e.slicedTranslation;r=M[0]-D;M=M[1]-S;Ca+=r;m+=r;g+=r;I+=M}F.attr({visibility:q,
align:C,x:Ca,y:y});e.dataLabelBG=F.textBound();if(v&&o&&Qa)r=e.connector,e.connectorPath=m=[L,g,I,N,Sa?m:g,J,Ca,J],r?(r.attr({d:m}),r.attr("visibility",q)):e.connector=r=this.chart.renderer.path(m).attr({"stroke-width":o,stroke:h.connectorColor||"#606060",visibility:q,zIndex:3}).translate(D,S).add()}}}}}(),drawTracker:function(){var a=this,c,b=[a.center[0]+a.chart.plotLeft,a.center[1]+a.chart.plotTop],d,f=a.options.enableRotation,k;f&&(k=function(c){d=Oa(a.chart.container);a.rotationStartInstanceAngle=
gc.call(c,b,d)-a.chart.options.chart.startingAngle*Bb;a.chart.tooltip&&(c.type==="dragstart"?a.chart.tooltip.block(!0):(a.chart.tooltip.block(!1),a.chart.tooltip.refresh(c.data,!0)))});Vb.prototype.drawTracker.apply(this,arguments);P(a.data,function(l){if(l.y===null||!(c=l.tracker)||c.canRotate===!0)return!0;f&&(ma(c.element,"dragstart dragend",k,l),ma(c.element,"drag",function(c){a.rotate((gc.call(c,b,d)-a.rotationStartInstanceAngle)/Bb)}))})},getSymbol:function(){}});oa.pie=J;var ab=G.Highcharts=
{Chart:Eb,dateFormat:s,pathAnim:n,getOptions:function(){return f},numberFormat:ra,Point:ac,Color:Ab,Renderer:Wb,seriesTypes:oa,setOptions:function(a){f=ca(f,a);xa=f.plotOptions;Xa();return f},Series:kb,addEvent:ma,createElement:C,discardElement:tb,css:B,each:P,extend:h,map:sa,merge:ca,pick:p,extendClass:ba,product:"Highcharts",version:"2.1.6",pvt:{},attr:g,FusionChartsModified:"3.2.3"};xa.floatedcolumn=ca(xa.column,{states:{hover:{}}});G=ab.extendClass(oa.column,{type:"floatedcolumn",translate:function(){var a=
this,c=a.chart,d=0,f=a.xAxis.reversed,k=a.xAxis.categories,l={},e,g,s,n;kb.prototype.translate.apply(a);P(c.series,function(c){if(c.type==a.type)c.options.stacking?(e=c.stackKey,l[e]===fa&&(l[e]=d++),n=l[e]):n=d++,c.columnIndex=n});var o=a.options,q=a.data,r=a.closestPoints,k=ya(q[1]?q[r].plotX-q[r-1].plotX:c.plotSizeX/(k?k.length:1)),r=k*o.groupPadding,m=(k-2*r)/d,w=o.pointWidth,v=b(w)?(m-w)/2:m*o.pointPadding,X=ia(p(w,m-2*v),1),da=v+(r+((f?d-a.columnIndex:a.columnIndex)||0)*m-k/2)*(f?-1:1),f=o.threshold||
0,t=a.xAxis,k=a.yAxis,C=t.getExtremes(),L=k.getExtremes(),D=a.yAxis.getThreshold(f),S=p(o.minPointLength,5);P(q,function(d){var j=d.plotY,f=d.yBottom||D,k=d.plotX+da,l=Na(db(j,f)),e=Na(ia(j,f)-l),u,n;d._FCX!==void 0&&(k=t.translate(d._FCX,0,0,0,1));d._FCY!==void 0&&(l=a.yAxis.translate(d._FCY,0,1,0,1));d._FCH!==void 0&&(e=z(d._FCH*Math.abs(c.plotSizeY/(L.max-L.min))*100)/100);n=d._FCW!==void 0?z(d._FCW*Math.abs(c.plotSizeX/(C.max-C.min))*100)/100:X;ya(e)<S&&(S&&(e=S,l=ya(l-D)>S?f-S:D-(j<=D?S:0)),
u=l-3);h(d,{barX:k,barY:l,barW:n,barH:e});d.shapeType="rect";d.shapeArgs={x:k,y:l,width:n,height:e,r:o.borderRadius};g=k+n/2+15;s=l-15;d.tooltipPos=[g<0?0:g,s<0?0:s];d.trackerArgs=b(u)&&ca(d.shapeArgs,{height:ia(6,e+3),y:u})})}});oa.floatedcolumn=G;xa.ssgrid=ca(xa.pie,{states:{hover:{}}});var bc=function(a,c){var b=a.currentSeriesIndex,d=a.series,f=c?b-1:b+1;if(d[f])d[b].hide(),d[f].show(),a.currentSeriesIndex=f,Ob(a)},Ob=function(a){var c=a.series.length,b=a.currentSeriesIndex,d=a.naviigator;d.translate(0,
a.series[b].data.length*a.options.chart.rowHeight);b===0?d.navElePrv.hide():d.navElePrv.show();b===c-1?d.navEleNxt.hide():d.navEleNxt.show()},Bc=function(a){var c=a.renderer,b=a.options.chart,d=b.navButtonRadius,f=d*0.67,k=b.navButtonPadding+f,l=b.width-20,e=b.navButtonHoverColor,g=b.navButtonColor,s,h;if(a.series.length>1){var n=a.naviigator=c.g("navigator").attr({zIndex:4}).add();n.navElePrv=b=c.g("navElePrv").add(n);s=c.path([L,20,k,N,20+d+f,k-f,20+d,k,20+d+f,k+f,"Z"]).attr({fill:g}).add(b);c.circle(20+
d,k,d).attr({fill:ka,cursor:"pointer"}).on("mouseover",function(){s.attr({fill:e,cursor:"pointer"})}).on("mouseout",function(){s.attr({fill:g})}).on("click",function(){bc(a,!0)}).add(b);n.navEleNxt=b=c.g("navEleNxt").add(n);h=c.path([L,l,k,N,l-d-f,k-f,l-d,k,l-d-f,k+f,"Z"]).attr({fill:g,cursor:"pointer"}).add(b);c.circle(l-d,k,d).attr({fill:ka,cursor:"pointer"}).on("mouseover",function(){h.attr({fill:e})}).on("mouseout",function(){h.attr({fill:g})}).on("click",function(){bc(a)}).attr({fill:g}).add(b)}},
G=ab.extendClass(oa.pie,{type:"ssgrid",translate:function(){var a=this.chart.options.chart,c=0,b=a.width,d=a.rowHeight,f=a.colorBoxWidth,k=a.colorBoxHeight,l=a.colorBoxX,e=a.labelX,g=a.valueX;P(this.data,function(a){a.shapeType="rect";a.alternateGradientBox={x:0,y:c,width:b,height:d,r:0};a.rowDivider=[L,0,c,N,b,c];a.colorBoxArgs={x:l,y:c+d/2-k/2,width:f,height:k,r:0};a.labelX=e;a.valueX=g;c+=d});this.options.lastRowDivider=[L,0,c,N,b,c]},drawPoints:function(){var a=this.chart.options.chart,c=this.chart.renderer,
b,d=this.group,f=a.alternateRowColor,k=a.listRowDividerAttr,l=this.options.lastRowDivider,e=a.rowHeight,g=a.textStyle,s=a.lineHeight,h=a.width,n=a.valueColumnPadding,o,q,r,m,w,v,X;P(this.data,function(a,l){b=a.graphic;o=a.rowDivider;q=a.colorBoxArgs;r=a.alternateGradientBox;v=a.valueX;if(!b)a.graphic=c.path(o).attr(k).add(d),l%2==0&&c.rect(r).attr({fill:f,"stroke-width":0}).add(d),a.symbol=c.rect(q).attr({fill:a.color,"stroke-width":0,stroke:"#000000"}).add(d),m=c.text(a.label,a.labelX).css(g).add(d),
w=o[2]+e/2+s-m.getBBox().height/2,m.attr({y:w}),m=c.text(a.displayValue,v).css(g).add(d),X=m.getBBox(),w=o[2]+e/2+s-X.height/2,m.attr({y:w,x:v+(h-v-n-X.width)})});c.path(l).attr(k).add(d)},render:function(){var j;var a,c=this.chart;a=c.renderer;var b=this.options;c.naviigator||Bc(c);if(!this.group)j=this.group=a.g("series"),a=j,a.attr({visibility:this.visible?q:da,zIndex:b.zIndex}).translate(c.plotLeft,c.plotTop).add(c.seriesGroup);this.drawPoints();this.drawDataLabels();if(this.visible)c.currentSeriesIndex=
this.index,c.naviigator&&Ob(c);this.options.animation&&this.animate&&this.animate();this.isDirty=!1},drawDataLabels:function(){},drawTracker:function(){},animate:function(){}});oa.ssgrid=G;var Cc=function(){var a=this.radarAxis,c=a.catLength,b=this.renderer,d,f=this.plotWidth/2,k=this.plotHeight/2,l=a.radius,e=a.xAxis;d=a.yAxis;var g=d.plotLines,s=e.plotLines,h=d.min,n=a.xTrans,o=a.startAngle,q=[],r=[L],m=[],w=g.length,v=a.yTrans,X,p,fa,da,t,C,D=W.PI*2,S=W.PI/2,z=W.PI+S,B=["right","center","left"],
Ca=l+10,J=d.labels,y,x=b.g("axis");x.attr({zIndex:2,width:this.plotWidth,height:this.plotHeight}).translate(this.plotLeft,this.plotTop).add();a.divline=[];for(p=0;p<w;p+=1){m[p]=[L];X=!0;d=c;y=g[p];for(C=y.value;d--;){t=ya(C-h)*v;fa=f+t*Ja(-(o+d*n));da=k+t*Pa(-(o+d*n));m[p].splice(m[p].length,0,fa,da);if(d==0&&y.label)J=y.label,((t=J.text)||t===0)&&b.text(t,fa,da).attr({align:J.textAlign,rotation:J.rotation}).css(J.style).add(x);X&&(m[p].push(N),X=!1)}m[p].push("Z");a.divline[p]=b.path(m[p]).attr({zIndex:2,
stroke:y.color,"stroke-width":y.width}).add(x)}X=!0;for(d=s.length;d--;)if(y=s[d],C=y.value,c=o+C*n,g=c%D,fa=f+l*Ja(-c),da=k+l*Pa(-c),q.splice(q.length,0,L,f,k,N,fa,da),r.splice(r.length,0,fa,da),X&&(r.push(N),X=!1),y.label&&(J=y.label,(t=J.text)||t===0))fa=g>S&&g<z?0:g==S||g==z?1:2,b.text(t,f+Ca*Ja(-c),k+Ca*Pa(-c)).attr({align:B[fa],rotation:J.rotation}).css(J.style).add(x);r.push("Z");a.spikeGraph=b.path(q).attr({zIndex:1,stroke:e.gridLineColor,"stroke-width":T(e.gridLineWidth,1)}).add(x);if(e.showRadarBorder)a.borderGraph=
b.path(r).attr({stroke:e.radarBorderColor,"stroke-width":T(e.radarBorderThickness,2),fill:e.radarFillColor}).add(x)};xa.radar=ca(xa.area,{states:{hover:{}}});G=ab.extendClass(oa.pie,{type:"radar",isCartesian:!1,pointClass:oa.area.prototype.pointClass,pointAttrToOptions:oa.area.prototype.pointAttrToOptions,translate:function(){var a=this.chart,c=this.data,d=c.length,f,k,l,e,g,s,h;if(typeof a.radarAxis==="undefined"){s=a.plotWidth/2;h=a.plotHeight/2;f=a.options;var n=f.xAxis,o=n.max-n.min+1,q=f.yAxis instanceof
Array?f.yAxis[0]:f.yAxis,r=b(f.chart.axisRadius)?f.chart.axisRadius:db(s,h);r<0&&(r=db(s,h));k=q.min;l=ya(q.max-k);e=r/l;f=2*W.PI/o;g=W.PI/2;a.radarAxis={};a.radarAxis.yTrans=e;a.radarAxis.xTrans=f;a.radarAxis.yRange=l;a.radarAxis.startAngle=g;a.radarAxis.yMin=k;a.radarAxis.centerX=s;a.radarAxis.centerY=h;a.radarAxis.radius=r;a.radarAxis.categories=[];a.radarAxis.catLength=o;a.radarAxis.yAxis=q;a.radarAxis.xAxis=n}else s=a.radarAxis.centerX,e=a.radarAxis.yTrans,k=a.radarAxis.yMin,g=a.radarAxis.startAngle,
f=a.radarAxis.xTrans,h=a.radarAxis.centerY;for(;d--;)a=c[d],n=b(a.y)?a.y:k,a.plotX=s+e*ya(n-k)*Ja(-(g+d*f)),a.plotY=h+e*ya(n-k)*Pa(-(g+d*f)),a.clientX=a.plotX},drawGraph:function(){var a=this.options,c=this.chart,b=this.graph,d=[],f=this.group,k=this.color,l=a.lineWidth,e=a.lineColor||k,a=p(a.fillColor,Ab(k).setOpacity(a.fillOpacity||0.5).get()),g,c=c.renderer,k=[];this.data.length>1?(g=[],P(this.data,function(a,c){c<2&&g.push([L,N][c]);g.push(a.plotX,a.plotY)}),g.push("Z"),d=d.concat(g)):k.push(this.segment[0][0]);
this.graphPath=d;this.singlePoints=k;b?b.attr({d:d}):this.graph=c.path(d).attr({stroke:e,fill:a,"stroke-width":l+S}).add(f).shadow()},drawTracker:function(){var a=this,c=a.options.cursor,b=c&&{cursor:c},d;P(a.data,function(c){(d=c.graphic)&&d.attr({isTracker:!0}).on("mouseover",function(){a.onMouseOver();c.onMouseOver()}).on("mouseout",function(){if(!a.options.stickyTracking)a.onMouseOut()}).css(b)})},setVisible:function(a,c){var b=this.chart,d=this.legendItem,f=this.group,k=this.dataLabelsGroup,
l=this.shadowGroup,e,g=this.data,s=b.options.chart.ignoreHiddenSeries;e=this.visible;e=(this.visible=a=a===fa?!e:a)?"show":"hide";if(f)f[e]();if(l&&l.floated)l[e]();for(f=g.length;f--;)if(l=g[f],l.graphic)l.graphic[e]();if(k)k[e]();d&&b.legend.colorizeItem(this,a);this.isDirty=!0;this.options.stacking&&P(b.series,function(a){if(a.options.stacking&&a.visible)a.isDirty=!0});if(s)b.isDirtyBox=!0;c!==!1&&b.redraw();na(this,e)},getColor:oa.area.prototype.getColor,drawDataLabels:oa.area.prototype.drawDataLabels,
animate:function(){},getSymbol:oa.area.prototype.getSymbol,drawPoints:function(){var a,c=this.data,b=this.chart,d,f,k,l,e,g;if(this.options.marker.enabled)for(k=c.length;k--;)if(l=c[k],d=l.plotX,f=l.plotY,g=l.graphic,f!==fa&&!isNaN(f))a=l.pointAttr[l.selected?"select":Ia],e=a.r,g?g.animate({x:d,y:f,r:e}):l.graphic=b.renderer.symbol(p(l.marker&&l.marker.symbol,this.symbol),d,f,e).attr(a).add(b.trackerGroup||this.group)},rotate:function(){},render:function(){var a=this,c=a.chart,b,d=a.options.animation,
f=d&&a.animate,d=f?d&&d.duration||500:0,k,l,e,g,s=c.renderer,h=a.clipRect;if(!h&&(k=-c.plotLeft,l=-c.plotTop,e=c.chartWidth,g=c.chartHeight,h=a.clipRect=!c.hasRendered&&c.clipRect?c.clipRect:s.clipRect(k,l,e,g),h.cliprectX=k,h.cliprectY=l,h.cliprectW=e,h.cliprectH=g,!c.clipRect))c.clipRect=a.clipRect;if(c.drawRadarAxis!==!0)Cc.call(c),c.drawRadarAxis=!0;if(!a.group)b=a.group=s.g("series"),c.inverted&&b.attr({width:c.plotWidth,height:c.plotHeight}).invert(),b.clip(a.clipRect).attr({visibility:a.visible?
q:da,zIndex:3}).translate(c.plotLeft,c.plotTop).add(c.seriesGroup);a.drawDataLabels();f&&a.animate(!0);a.drawGraph&&a.drawGraph();a.drawPoints();a.options.enableMouseTracking!==!1&&a.drawTracker();f&&a.animate();setTimeout(function(){h.isAnimating=!1;if((b=a.group)&&h!==c.clipRect&&h.renderer)b.clip(a.clipRect=c.clipRect),h.destroy()},d);a.isDirty=!1}});oa.radar=G;xa.column3d=ca(xa.column,{states:{hover:{}}});G=ab.extendClass(oa.column,{type:"column3d",initGroup:function(){var a=this.chart,c=a.renderer,
b=this.xDepth,d=this.yDepth,f,k,l,e,g,s=this.yAxis;if(!a.column3DGroups)g=a.column3DGroups=c.g("series-3d"),g.translate(a.plotLeft-b,a.plotTop+d).add(a.seriesGroup);if(s.options.min<0&&s.options.max>=0){f=a.options.chart.zeroPlaneColor;k=a.options.chart.zeroPlaneBorderColor;l=0;e=s.translate(0,0,1);var h=1,n=a.plotSizeX;a.inverted&&(l=h,h=n,n=l,l=a.plotSizeY-e-n,e=0);s.zeroPlane=c.rect3d(l,e,n,h,b,d,1,"zeroPlane").attr({fill:f,stroke:k,"stroke-width":1,zIndex:2}).add(g)}},drawNthPoint:function(a){var c=
this.chart,b=c.column3DGroups,d=c.renderer,f=this.xDepth,k=this.yDepth,l=this.data[a],e,g;e=l.plotY;var s,h,n,o,q,r,m,w;if(e!==fa&&!isNaN(e)){s=l.shapeArgs;h=l.color;w=l.borderColor;o=l.borderWidth;n=l.graphic;e=parseInt(s.x,10);g=parseInt(s.y,10);q=e;r=g;m=parseInt(s.height,10);s=parseInt(s.width,10);if(this.options.enableMouseTracking!==!1){var v=e-f,X=g+k;l.trackerArgs=[L,v,X,N,v,X+m,v+s,X+m,v+s+f,X+m-k,v+s+f,X-k,v+f,X-k,"Z"];this.drawTracker(a)}c.inverted&&(a=m,m=s,s=a,q=c.plotSizeY-g-s,r=c.plotSizeX-
e-m);n?d.attr({x:q,y:r,width:s,height:m,x3D:f,y3D:k,strokeWidth:o,fill:h,stroke:w,zIndex:l.y>=0?3:1}):(l.graphic=d.rect3d(q,r,s,m,f,k,o,"point").attr({fill:h,stroke:w,zIndex:l.y>=0?3:1}).add(b),l.graphic.shadow(this.options.shadow,void 0,l.shadow))}},render:function(){var a=this.options.animation&&this.animate;this.drawDataLabels();a&&this.animate();this.isDirty=!1},animate:function(a){var c=this,b=c.data,d=c.chart,f,k;if(!a)P(b,function(a){var b=a.graphic;b&&(d.inverted?(f=b.attr("width"),k=b.attr("x"),
b.attr({x:d.plotSizeY-c.yAxis.getThreshold(c.options.threshold||0),width:0}),b.animate({x:k,width:f},c.options.animation)):(b.attr({height:0,y:c.yAxis.getThreshold(c.options.threshold||0)}),b.animate({height:a.barH,y:a.barY},c.options.animation)))}),c.animate=null},drawTracker:function(a){var c=this,b=c.chart,d=b.renderer,f,k=+new Date,l=c.options.cursor,l=l&&{cursor:l},e,s=c.data[a];f=s.tracker;b.options.chart.hasScroll&&b.trackerGroup.clip(c.clipRect);a=s.trackerArgs||s.shapeArgs;if(s.y!==null)f?
f.attr(a):(s.link!==void 0&&(l={cursor:"pointer"}),s.tracker=d.path(a).attr({isTracker:k,fill:D,visibility:c.visible?q:da,zIndex:s.y>0?-1:-3}).on(Za?"touchstart":"mouseover",function(a){e=a.relatedTarget||a.fromElement;if(b.hoverSeries!=c&&g(e,"isTracker")!=k)c.onMouseOver();s.onMouseOver()}).on("mouseout",function(a){if(!c.options.stickyTracking&&(e=a.relatedTarget||a.toElement,g(e,"isTracker")!=k))c.onMouseOut()}).css(l).add(b.trackerGroup))},setVisible:function(a,c){var b=this.chart,d=this.legendItem,
f=this.dataLabelsGroup,k,l,e=this.data,g,s=b.options.chart.ignoreHiddenSeries;k=this.visible;k=(this.visible=a=a===fa?!k:a)?"show":"hide";for(l=e.length;l--;){g=e[l];if(g.tracker)g.tracker[k]();if(g.graphic)g.graphic[k]()}if(f)f[k]();d&&b.legend.colorizeItem(this,a);this.isDirty=!0;this.options.stacking&&P(b.series,function(a){if(a.options.stacking&&a.visible)a.isDirty=!0});if(s)b.isDirtyBox=!0;c!==!1&&b.redraw();na(this,k)}});oa.column3d=G;xa.bar3d=ca(xa.bar,{states:{hover:{}}});G=ab.extendClass(G,
{type:"bar3d",init:function(a){a.inverted=this.inverted=!0;oa.column.prototype.init.apply(this,arguments)}});oa.bar3d=G;xa.bubble=ca(xa.scatter,{states:{hover:{}}});G=ab.extendClass(oa.scatter,{type:"bubble",drawPoints:function(){var a,c=this.data,b=this.chart,d,f,k,l,e,g,s=this.chart.plotWidth;d=this.chart.plotHeight;a=this.options.zMax;var h=this.options.bubbleScale,n,s=(s>d?d:s)/8;n=Math.sqrt(a);if(this.options.marker.enabled)for(k=c.length;k--;)if(l=c[k],d=l.plotX,f=l.plotY,g=l.graphic,f!==fa&&
!isNaN(f))a=l.pointAttr[l.selected?"select":Ia],e=Math.sqrt(l.z),e=Math.round(e*s/n)*h,a.r=e,g?g.animate({x:d,y:f,r:e}):l.graphic=b.renderer.symbol(p(l.marker&&l.marker.symbol,this.symbol),d,f,e).attr(a).add(this.group)}});oa.bubble=G;xa.candlestick=ca(xa.column,{states:{hover:{}}});G=ab.extendClass(oa.column,{type:"candlestick",drawPoints:function(){var a=this,c=a.options,d=a.chart.renderer,f,k,l;P(a.data,function(e){if(b(e.plotY))if(f=e.graphic,k=e.shapeArgs,f)f.attr(k);else{l={stroke:e.borderColor,
fill:e.color,"stroke-width":e.borderWidth,"stroke-linecap":"round",dashstyle:e.dashStyle};if(e.bar)e.bar.graphic=d[e.bar.shapeType](e.bar.shapeArgs).attr(l).add(a.group).shadow(c.shadow,void 0,c.shadow);if(k)e.graphic=d[e.shapeType](k).attr(l).add(a.group).shadow(c.shadow,void 0,c.shadow)}})},translate:function(){var a=this,c=a.chart,d=0,f=a.xAxis.reversed,k=a.xAxis.categories,l,e=a.options.plotType;kb.prototype.translate.apply(a);P(c.series,function(c){if(c.type==a.type)c.options.stacking?(b(l)||
(l=d++),c.columnIndex=l):c.columnIndex=d++});for(var g=a.options,s,n=a.data,o=a.closestPoints,k=ya(n[1]?n[o].plotX-n[o-1].plotX:c.plotSizeX/(k&&k.length?k.length:1)),o=k*g.groupPadding,q=(k-2*o)/d,c=g.pointWidth,r=b(c)?(q-c)/2:q*g.pointPadding,c=p(c,q-2*r),o=r+(o+((f?d-a.columnIndex:a.columnIndex)||0)*q-k/2)*(f?-1:1),q=a.yAxis.getThreshold(g.threshold||0),r=g.minPointLength,f=0;f<n.length;f+=1)if(k=n[f],e=="line"){if(f>0)s=n[f-1],s.shapeType="path",s.shapeArgs=[L,s.plotX,s.plotY,N,k.plotX,k.plotY];
k.trackerShapeType="rect";k.trackerArgs={x:k.plotX-3,y:k.plotY-3,width:6,height:6}}else{s=k.plotX+o;var m=k.plotY,w=a.yAxis.getThreshold(k.MY),v=Na(db(m,w)),X=Na(ya(m-w)),fa=c,t=fa/2,da;if(X<(r||5))r&&(X=r,v=q-(m<=q?r:0)),da=v-3;X<1&&(X=1);h(k,{barX:s,barY:v,barW:fa,barH:X});e=="bar"?(k.trackerShapeType="rect",k.shapeType="path",k.shapeArgs=[L,k.plotX,w,N,k.plotX-t,w,L,k.plotX,m,N,k.plotX+t,m],k.trackerArgs={x:s,y:b(da)?da:v,width:fa,height:b(da)?6:X}):(k.shapeType="rect",k.shapeArgs={x:s,y:v,width:fa,
height:X,r:g.borderRadius},k.trackerShapeType="rect",k.trackerArgs=b(da)&&ca(k.shapeArgs,{height:6,y:da}));k.bar={shapeType:"path",shapeArgs:[L,k.plotX,a.yAxis.getThreshold(parseFloat(k.high)),N,k.plotX,a.yAxis.getThreshold(parseFloat(k.low))]}}},drawTracker:function(){var a=this,c=a.chart,b=c.renderer,d,f,k=+new Date,l;P(a.data,function(e){f=e.tracker;d=e.trackerArgs;delete d.strokeWidth;if(e.y!==null)if(f)f.attr(d);else{if(e.link!==void 0)var s={cursor:"pointer",_cursor:"hand"};e.tracker=b[e.trackerShapeType](d).attr({isTracker:k,
fill:D,visibility:a.visible?q:da,zIndex:1}).on(Za?"touchstart":"mouseover",function(b){l=b.relatedTarget||b.fromElement;if(c.hoverSeries!==a&&g(l,"isTracker")!==k)a.onMouseOver();e.onMouseOver()}).on("mouseout",function(c){if(!a.options.stickyTracking&&(l=c.relatedTarget||c.toElement,g(l,"isTracker")!==k))a.onMouseOut()}).css(s).add(e.group||c.trackerGroup)}})}});oa.candlestick=G;var cc={};xa.dragnode=ca(xa.scatter,{states:{hover:{}}});G=ab.extendClass(oa.scatter,{type:"dragnode",drawPoints:function(){var a=
this,c,b=a.data,d=a.chart,f,k,l,e,g,s,h,n,o,r,m,v,w=d.options.connectors,X=d.renderer,t=a.options.dataLabels.style,C,S,D,z,B,Ca,J,y;if(a.options.marker.enabled){for(e=b.length;e--;)if(g=b[e],f=g.options,k=g.plotX,l=g.plotY,h=g.graphic,m=g.marker,r=R(m&&m.height),o=R(m&&m.width),s=R(m&&m.radius),v=T(m&&m.symbol),n=g.id,C=f.imageNode,S=f.imageURL,D=f.imageAlign,Ca=v=="square"?o:s*1.5,z=R(f.imageWidth,Ca),J=v=="square"?r:s*1.5,f=R(f.imageHeight,J),y=T(m&&m.lineWidth),l!==fa&&!isNaN(l)&&(c=g.pointAttr[g.selected?
"select":Ia],c.r*=1,s=c.r,h?h.animate({x:k,y:l,r:s}):(v=p(m&&m.symbol,a.symbol),v=="square"?g.graphic=X.rect(k-o/2,l-r/2,o,r).attr(c).add(a.group):(v=v==="triangle"?"poly_3":v,v=v==="diamond"?"poly_4":v,g.graphic=X.symbol(v,k,l,s).attr(c).add(a.group)),cc[n]=g),C&&S)){switch(D){case "middle":l-=f/2;break;case "bottom":l=J>f?l-f+Ca/2:l-f/2;break;default:l=J>f?l-Ca/2:l-f/2}B||(B=X.g("group").attr({visibility:da}).add());g.imageNodeGraph=X.image(S).attr({width:z,height:f}).translate(k-z/2,l).css({opacity:1}).add(a.group)}var x,
I,O,F,Sa,Qa,M,G,Z,E,Pb,na,Q,ca,oa,qa,Nb,ga;for(e=0;e<w.length;e+=1)Z||(Z=X.g("connectors").attr({visibility:q}).translate(d.plotLeft,d.plotTop).add()),P(w[e].connector,function(c){x=c.from;I=c.to;O=c.label;y=c.conStrength*c.stdThickness;E=c.color;O=c.label;Q=cc[x];ca=cc[I];if(Q&&ca){F=Q.plotY;Sa=Q.plotX;M=ca.plotY;Qa=ca.plotX;oa=Q.marker;qa=ca.marker;Pb=(Sa+Qa)/2;na=(F+M)/2;G=[L,Sa,F,N,Qa,M];a.connector=X.path(G).attr({"stroke-width":y,stroke:E}).add(Z);Nb=[];if(c.arrowAtStart)oa.symbol=="square"?
(s=oa.width,H=oa.height):(s=oa.radius,H=void 0),Nb=Nb.concat(ub(Sa,F,Qa,M,s,H));if(c.arrowAtEnd)qa.symbol=="square"?(s=qa.width,H=qa.height):(s=qa.radius,H=void 0),Nb=Nb.concat(ub(Qa,M,Sa,F,s,H));Nb.length&&X.path(Nb).attr({"stroke-width":y,stroke:E}).add(Z);ga=E&&E.FCcolor&&E.FCcolor.color;g.connectorText=X.text(O,Pb,na).attr({align:"center",rotation:0}).css(t).css({backgroundColor:ga,borderColor:ga}).add(Z).textBound()}})}}});oa.dragnode=G;xa.stepzoom=ca(xa.line,{states:{hover:{}}});var Kc=function(a,
c,b){a<=0.01&&(a=0);var d=this.stepZoom,c=this.series,f=this.plotWidth,k=f/2,l=c.length,a=R(a,d.scrollPosition,0);a*=d.scrollablePXLength;var e,g,s,h,n,o,q=this.plotLeft-a;d.catGroup.attr("translateX",q);this.trackerGroup.attr("translateX",q);d.catClipRect.attr("x",a+d.catLabelClipXDisplacement);this.clipRect&&this.clipRect.attr("x",a);for(e=0;e<l;e+=1)if(g=c[e],g.group&&g.group.attr("translateX",q),g.dataLabelsGroup&&g.dataLabelsGroup.attr("translateX",q),g.clipRect&&g.clipRect.attr("x",a),b){d=
W.min(20,k);h=g.data;s=h.length;for(o=0;o<s;o+=1)n=h[o],n.y!==null&&n.tooltipPos&&(g=n.plotX-a,g>=0&&g<=k?g+=d:g>k&&g<=f&&(g-=d),n.tooltipPos[0]=g)}},G=ab.extendClass(oa.line,{type:"stepzoom",translate:function(){for(var a=this.chart,c=this.options.stacking,d=this.xAxis.categories,f=this.yAxis,k=this.data,l=k.length;l--;){var e=k[l],g=e.x,s=e.y,h=e.low,n=f.stacks[(s<0?"-":"")+this.stackKey];e.plotX=this.xAxis.translate(g);if(c&&n&&n[g]){var g=n[g],n=g.total,o=f.options.min,h=g.cum;g.cum+=s;s=ia(o,
h+s);h=ia(o,h);c==="percent"&&(h=n?h*100/n:0,s=n?s*100/n:0);e.percentage=n?e.y*100/n:0;e.stackTotal=n}if(b(h))e.yBottom=f.translate(h,0,1,0,1);if(s!==null)e.plotY=f.translate(s,0,1,0,1);e.clientX=a.inverted?a.plotHeight-e.plotX:e.plotX;e.category=d&&d[e.x]!==fa?d[e.x]:e.x}},drawPoints:function(){var a,c=this.data,b=this.chart,d,f,k,l,e,g,s,h;a=b.stepZoom.zoomHistory[b.stepZoom.currentZoomLevelIndex];var n=a.perPointPixelDistance,o=a.stepping,q=a.seriesStart,m;if(this.options.marker.enabled)for(k=
c.length;k--;)if(l=c[k],m=k-q,d=l.plotX=m*n,f=l.plotY,h=l.graphic,f!==fa&&!isNaN(f))a=l.pointAttr[l.selected?"select":Ia],s=a.r,e=d+20,g=f-15,e=e<0?0:e,g=g<0?0:g,l.tooltipPos=[e,g],h?h.animate({x:d,y:f,r:s}):l.graphic=b.renderer.symbol(p(l.marker&&l.marker.symbol,this.symbol),d,f,s).attr(a).add(this.group),(m<0||m%o!==0)&&l.graphic.hide()},drawGraph:function(){var a=this.options,c=this.chart,b=[],d=this.group,f=a.lineColor||this.color,k=a.lineWidth,l=a.dashStyle,e=c.renderer,g=this.data,s=a.connectNullData,
c=c.stepZoom.zoomHistory[c.stepZoom.currentZoomLevelIndex],h,n,o=0,q=[],m=!0,r;for(h=c.seriesStart;h<g.length;h+=c.stepping,o+=c.visiblePointDistance)(n=g[h])&&n.plotY?(r&&(b.push(L,q[0],q[1],N),r=!1),m?(r=!0,m=!1,q[0]=o,q[1]=n.plotY):b.push(o,n.plotY)):s||(m=!0);this.graphPath=b;this.singlePoints=[];g=this.graphLine;f={stroke:f,"stroke-width":k,"stroke-linecap":"round",dashstyle:l};g?this.graphLine.animate({d:b}):this.graphLine=e.path(b).attr(f).add(d).shadow(a.shadow,this.shadowGroup)},drawDataLabels:function(){if(this.options.dataLabels.enabled){var a,
c,d=this.data,f=this.options.dataLabels,k=this.dataLabelsGroup,l=this.chart,e=l.renderer,g=l.options.chart,s=f.y===null,h=l.plotHeight,n,o=l.stepZoom.zoomHistory[l.stepZoom.currentZoomLevelIndex],m=o.stepping,r=o.seriesStart,v,w=this.type=="floatedcolumn",X=Q(f.style.fontSize),o=l.stepZoom,o=l.plotLeft-o.scrollPosition*o.scrollablePXLength,fa=g.valuePadding;f.rotation=g.rotateValues==1?270:void 0;if(!k)k=this.dataLabelsGroup=e.g("data-labels").attr({visibility:this.visible?q:da,zIndex:6}).translate(o,
l.plotTop).add(),l.options.chart.hasScroll&&k.clip(this.clipRect);l=f.color;l==="auto"&&(l=null);f.style.color=p(l,this.color);P(d,function(d,j){v=j-r;var l=d.plotX!=null?d.plotX:-999,g=p(d.plotY,-999),o=d.dataLabel,q=f.align,da=(s?d.y>=0?-6:12:f.y)-fa;n=f.formatter.call(d.getLabelConfig());if(n!=null){w&&(g=R(d.barY,g));a=l+f.x;c=g+da;c>h&&(c=h);c<X&&(c=X);if(o)o.attr({text:n}).animate({x:a,y:c});else if(b(n))o=d.dataLabel=e.text(n,a,c).attr({align:q,rotation:f.rotation,zIndex:1}).css(f.style).add(k);
(v<0||v%m!==0)&&o&&o.hide&&o.hide()}})}},drawTracker:function(){var a=this,c=a.chart,b=+new Date,d,f,k=c.renderer,l,e=c.stepZoom.zoomHistory[c.stepZoom.currentZoomLevelIndex],s=e.stepping,h=e.seriesStart,n;c.options.chart.hasScroll&&c.trackerGroup.clip(a.clipRect);P(a.data,function(e,o){if(e.y!==null){n=o-h;if(e.link!==void 0)var q={cursor:"pointer",_cursor:"hand"};d=e.pointAttr[e.selected?"select":Ia];f=d.r+3;e.tracker=k.circle(e.plotX,e.plotY,f).attr({fill:D}).on(Za?"touchstart":"mouseover",function(d){l=
d.relatedTarget||d.fromElement;if(c.hoverSeries!==a&&g(l,"isTracker")!==b)a.onMouseOver();e.onMouseOver()}).on("mouseout",function(c){if(!a.options.stickyTracking&&(l=c.relatedTarget||c.toElement,g(l,"isTracker")!==b))a.onMouseOut()}).css(q).add(c.trackerGroup);(n<0||n%s!==0)&&e.tracker&&e.tracker.hide&&e.tracker.hide()}})},render:function(){var a=this,c=a.chart,d=c.renderer,f=c.options.chart,k=a.data,l;if(!c.stepZoom){var e=k.length-1,g,s,h=f.stepZoom,n=R(h.pixelsperpoint,15),o=R(h.displayStartIndex,
0),m=R(h.displayEndIndex,e),r=c.plotWidth,v=c.plotLeft,w=h.scrollHeight,X=c.plotHeight+c.plotTop+R(h.scrollPadding,0),p,fa;g=m-o;var t=r/g,k=t<n?Math.ceil(n/t):1,t=r/(g-g%k);g=o%k;s=e-e%k;p=(s-g)*t;fa=r/p;l=p-r;p=l>0?(o-g)*t/(p-r):0;f=f.plotBorderWidth;f=d.scroller(v-f,X,r+f+f,w,!0,{size:h.scrollBtnWidth,padding:h.scrollBtnPadding},!1).attr({fill:h.scrollColor}).setScrollRatio(fa).callback(function(a,b,d){Kc.call(c,a,b,d)}).add(c.seriesGroup);c.stepZoom={zoomHistory:[{seriesStart:g,seriesEnd:s,stepping:k,
perPointPixelDistance:t,visiblePointDistance:k*t,seriesConf:[],scrollRatio:fa,scrollPosition:p,scrollablePXLength:l}],currentZoomLevelIndex:0,pixelsPerPoint:n,displayStartIndex:o,displayEndIndex:m,scrollRatio:1,maxIndex:e,scrollPosition:p,scrollablePXLength:l,scroller:f};n=a.xAxis;e=n.categories;l=n.options.labels;var o=0,n=c.stepZoom,C;s=X+w;w=l.align;X=l.rotation;m=l.style;o=R(parseInt(m.lineHeight),12);n.catClipRect=d.clipRect(0,0,r+o,c.chartHeight);n.catGroup=d.g("catGroup").translate(v,s).clip(n.catClipRect).add(c.seriesGroup);
if(e&&e.length>0){r=n.catLabelArr=[];s=e.length;v=l.y||0;l=l.x||0;n.catLabelClipXDisplacement=-(o/2);n.xDisplacement=l;for(o=0;o<s;o+=1)C=e[o],b(C)&&(h=o-g,fa=h*t+l,fa=r[o]=d.text(C,fa,v).attr({align:w,rotation:X}).css(m).add(n.catGroup),(h<0||h%k!==0)&&fa.hide())}f.setScrollPosition(p)}var S,k=a.options;g=(t=(g=k.animation)&&a.animate)?g&&g.duration||500:0;var D=a.clipRect;p=c.stepZoom;p=p.scrollPosition*p.scrollablePXLength;f=c.plotLeft-p;if(!D&&(r=c.plotSizeX,v=c.plotSizeY,D=a.clipRect=!c.hasRendered&&
c.clipRect?c.clipRect:d.clipRect(p,0,r,v),D.cliprectX=p,D.cliprectY=0,D.cliprectW=r,D.cliprectH=v,!c.clipRect))c.clipRect=D;if(!a.group)S=a.group=d.g("series"),S.clip(a.clipRect).attr({visibility:a.visible?q:da,zIndex:k.zIndex}).translate(f,c.plotTop).add(c.seriesGroup);t&&a.animate(!0);a.drawGraph&&a.drawGraph();a.drawPoints();a.drawDataLabels();a.options.enableMouseTracking!==!1&&a.drawTracker();t&&a.animate();setTimeout(function(){D.isAnimating=!1;if((S=a.group)&&D!==c.clipRect&&D.renderer)S.clip(a.clipRect=
c.clipRect),D.destroy()},g);a.isDirty=!1}});oa.stepzoom=G;Eb=ab.Chart;C=ab.createElement;tb=ab.discardElement;B=ab.css;f=ab.setOptions({lang:{downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image",downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",exportButtonTitle:"Export to raster or vector image",printButtonTitle:"Print the chart"}});f.navigation={menuStyle:{border:"1px solid #A0A0A0",background:"#FFFFFF"},menuItemStyle:{fontFamily:"Verdana, Arial",padding:"3px 5px",
background:Ca,color:"#303030",fontSize:Za?"14px":"11px"},menuItemHoverStyle:{background:"#999999",color:"#FFFFFF"},_buttonOptions:{x:11},buttonOptions:{align:"right",backgroundColor:{linearGradient:[0,0,0,15],stops:[[0.4,"#F7F7F7"],[0.6,"#E3E3E3"]]},borderColor:"#B0B0B0",borderRadius:2,borderWidth:1,height:15,hoverBorderColor:"#909090",hoverSymbolFill:"#81A7CF",hoverSymbolStroke:"#4572A5",symbolFill:"#E0E0E0",symbolStroke:"#A0A0A0",symbolX:8,symbolY:7.5,verticalAlign:"top",width:16,y:10}};f.exporting=
{type:"image/png",url:"http://export.highcharts.com/",width:800,enableImages:!1,buttons:{exportButton:{symbol:"exportIcon",x:-10,symbolFill:"#A8BF77",hoverSymbolFill:"#768F3E",_titleKey:"exportButtonTitle",tooltip:"Export Chart",menuItems:[{textKey:"downloadPNG",onclick:function(){this.exportChart()}},{textKey:"downloadJPEG",onclick:function(){this.exportChart({type:"image/jpeg"})}},{textKey:"downloadPDF",onclick:function(){this.exportChart({type:"application/pdf"})}},{textKey:"downloadSVG",onclick:function(){this.exportChart({type:"image/svg+xml"})}}]},
printButton:{symbol:"printIcon",x:-10,symbolFill:"#B5C9DF",hoverSymbolFill:"#779ABF",_titleKey:"printButtonTitle",tooltip:"Print Chart",onclick:function(){this.print()}}}};h(Eb.prototype,{getSVG:function(a){var c=this,b,d,f,k,l,e,g=ca(c.options,a);if(!aa.createElementNS)aa.createElementNS=function(a,c){var b=aa.createElement(c);b.getBBox=function(){return ab.Renderer.prototype.Element.prototype.getBBox.apply({element:b})};return b};a=C(o,null,{position:w,top:"-9999em",width:c.chartWidth+S,height:c.chartHeight+
S},aa.body);h(g.chart,{renderTo:a,forExport:!0});g.exporting.enabled=!1;if(!g.exporting.enableImages)g.chart.plotBackgroundImage=null,g.chart.bgSWF=void 0,g.chart.bgImage=void 0,g.chart.logoURL=void 0;g.series=[];P(c.series,function(a){f=a.options;f.animation=!1;f.showCheckbox=!1;f.visible=a.visible;if(!g.exporting.enableImages&&f&&f.marker&&/^url\(/.test(f.marker.symbol))f.marker.symbol="circle";f.data=[];P(a.data,function(a){k=a.config;l={x:a.x,y:a.y,name:a.name};typeof k=="object"&&a.config&&k.constructor!=
Array&&h(l,k);l.visible=a.visible;f.data.push(l);g.exporting.enableImages||(e=a.config&&a.config.marker)&&/^url\(/.test(e.symbol)&&delete e.symbol});g.series.push(f)});b=new ab.Chart(g);P(["xAxis","yAxis"],function(a){P(c[a],function(c,d){var f=b[a][d],k=c.getExtremes(),l=k.userMin,k=k.userMax;(l!==fa||k!==fa)&&f.setExtremes(l,k,!0,!1)})});d=b.container.innerHTML;g=null;b.destroy();tb(a);d=d.replace(/zIndex="[^"]+"/g,"").replace(/isShadow="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery[0-9]+="[^"]+"/g,
"").replace(/isTracker="[^"]+"/g,"").replace(/url\((\\?[\'\"])[^#]+#/g,"url($1#").replace(/<svg /,'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ').replace(/ href=/g," xlink:href=").replace(/id=([^" >]+)/g,'id="$1"').replace(/class=([^" >]+)/g,'class="$1"').replace(/ transform /g," ").replace(/:(path|rect)/g,"$1").replace(/<img ([^>]*)>/gi,"<image $1 />").replace(/<\/image>/g,"").replace(/<image ([^>]*)([^\/])>/gi,"<image $1$2 />").replace(/width=(\d+)/g,'width="$1"').replace(/height=(\d+)/g,'height="$1"').replace(/hc-svg-href="/g,
'xlink:href="').replace(/style="([^"]+)"/g,function(a){return a.toLowerCase()});d=d.replace(/(url\(#highcharts-[0-9]+)&quot;/g,"$1").replace(/&quot;/g,"'");d.match(/ xmlns="/g).length==2&&(d=d.replace(/xmlns="[^"]+"/,""));return d},exportChart:function(a,c){var b,d=this.getSVG(c),a=ca(this.options.exporting,a);b=C("form",{method:"post",action:a.url},{display:Ca},aa.body);P(["filename","type","width","svg"],function(c){C("input",{type:da,name:c,value:{filename:a.filename||"chart",type:a.type,width:a.width,
svg:d}[c]},null,b)});b.submit();tb(b)},print:function(){var a=this,c=a.container,b=[],d=c.parentNode,f=aa.body,k=f.childNodes;if(!a.isPrinting)a.isPrinting=!0,P(k,function(a,c){if(a.nodeType==1)b[c]=a.style.display,a.style.display=Ca}),f.appendChild(c),Va.print(),setTimeout(function(){d.appendChild(c);P(k,function(a,c){if(a.nodeType==1)a.style.display=b[c]});a.isPrinting=!1},1E3)},contextMenu:function(a,c,b,d,f,k){var l=this,e=l.options.navigation,g=e.menuItemStyle,s=l.chartWidth,n=l.chartHeight,
q="cache-"+a,m=l[q],r=ia(f,k),X,p;if(!m)l[q]=m=C(o,{className:v+a},{position:w,zIndex:1E3,padding:r+S},l.container),X=C(o,null,h({MozBoxShadow:"1px 1px 3px rgba(0,0,0,0.5)",WebkitBoxShadow:"1px 1px 3px rgba(0,0,0,0.5)",boxShadow:"1px 1px 3px rgba(0,0,0,0.5)"},e.menuStyle),m),p=function(){B(m,{display:Ca})},ma(m,"mouseleave",p),P(c,function(a){a&&(C(o,{onmouseover:function(){B(this,e.menuItemHoverStyle)},onmouseout:function(){B(this,g)},innerHTML:a.text||ab.getOptions().lang[a.textKey]},h({cursor:"pointer"},
g),X)[Za?"ontouchstart":"onclick"]=function(){p();a.onclick.apply(l,arguments)})}),l.exportMenuWidth=m.offsetWidth,l.exportMenuHeight=m.offsetHeight;a={display:"block"};b+l.exportMenuWidth>s?a.right=s-b-f-r+S:a.left=b-r+S;d+k+l.exportMenuHeight>n?a.bottom=n-d-r+S:a.top=d+k-r+S;B(m,a)},addButton:function(a){function c(){n.attr(r);s.attr(m);v&&b.tooltip&&b.tooltip.hide()}var b=this,d=b.renderer,f=ca(b.options.navigation.buttonOptions,a),k=f.onclick,l=f.menuItems,e=f.width,g=f.height,s,n,o,a=f.paddingRight,
q=f.borderWidth,m={stroke:f.borderColor},r={stroke:f.symbolStroke,fill:f.symbolFill},v;if(f.enabled===!1)return{};b.options.navigation._buttonOptions.x>0&&(a=0);if(f.x==void 0)f.x=b.options.navigation._buttonOptions.x-e-5-(a||0);b.options.navigation._buttonOptions.x=f.x;s=d.rect(0,0,e,g,f.borderRadius,q).align(f,!0).attr(h({fill:f.backgroundColor,"stroke-width":q,zIndex:19},m)).add();o=d.rect(0,0,e,g,0).align(f).attr({fill:"rgba(255, 255, 255, 0.001)",title:ab.getOptions().lang[f._titleKey],zIndex:21}).css({cursor:"pointer"}).on("mouseover",
function(){n.attr({stroke:f.hoverSymbolStroke,fill:f.hoverSymbolFill});s.attr({stroke:f.hoverBorderColor});v&&b.tooltip&&b.tooltip.refresh(v)}).on("mouseout",c).on("click",c).add();v=f.tooltip?{tooltipPos:[o.attr("x")-15,o.attr("y")+15],series:{},svgElm:o.svgElm,point:{toolText:f.tooltip},getLabelConfig:function(){return this}}:void 0;l&&(k=function(){c();var a=o.getBBox();b.contextMenu("export-menu",l,a.x,a.y,e,g)});o.on("click",function(){k.apply(b,arguments);v&&b.tooltip&&b.tooltip.hide()});n=
d.symbol(f.symbol,f.symbolX,f.symbolY,(f.symbolSize||8)/2).align(f,!0).attr(h(r,{"stroke-width":f.symbolStrokeWidth||1,zIndex:20})).add();return{hide:function(){c();n.hide();o.hide();s.hide()},show:function(){n.show();o.show();s.show()}}}});ab.Renderer.prototype.symbols.exportIcon=function(a,c,b){return[L,a-b,c+b,N,a+b,c+b,a+b,c+b*0.5,a-b,c+b*0.5,"Z",L,a,c+b*0.5,N,a-b*0.5,c-b/3,a-b/6,c-b/3,a-b/6,c-b,a+b/6,c-b,a+b/6,c-b/3,a+b*0.5,c-b/3,"Z"]};ab.Renderer.prototype.symbols.printIcon=function(a,b,d){return[L,
a-d,b+d*0.5,N,a+d,b+d*0.5,a+d,b-d/3,a-d,b-d/3,"Z",L,a-d*0.5,b-d/3,N,a-d*0.5,b-d,a+d*0.5,b-d,a+d*0.5,b-d/3,"Z",L,a-d*0.5,b+d*0.5,N,a-d*0.75,b+d,a+d*0.75,b+d,a+d*0.5,b+d*0.5,"Z"]};Eb.prototype.callbacks.push(function(a){var b,d=a.options.exporting,f=d.buttons;if(d.enabled!==!1)for(b in f)a.addButton(f[b])})}})();
(function(){var F=FusionCharts(["private","modules.renderer.highcharts-base"]);if(F!==void 0){var h=F.hcLib,Q=h.BLANKSTRINGPLACEHOLDER,m=h.BLANKSTRING,la=h.createTrendLine,e=h.pluck,I=h.getValidValue,b=h.pluckNumber,g=h.defaultPaletteOptions,y=h.getFirstValue,p=h.getDefinedColor,B=h.parseUnsafeString,C=h.FC_CONFIG_STRING,ba=h.extend2,ra=h.getDashStyle,Oa=h.toPrecision,x=h.graphics.getColumnColor,M=h.getFirstColor,Xa=h.setLineHeight,tb=h.pluckFontSize,pb=h.getFirstAlpha,Eb=h.graphics.getDarkColor,
ub=h.graphics.getLightColor,G=h.graphics.convertColor,T=h.COLOR_TRANSPARENT,R=h.POSITION_CENTER,Ya=h.POSITION_TOP,cb=h.POSITION_BOTTOM,Ma=h.POSITION_RIGHT,yb=h.POSITION_LEFT,Y=h.chartAPI,vb=h.graphics.mapSymbolName,ta=h.COMMASTRING,Ea=h.ZEROSTRING,wb=h.ONESTRING,lb=h.HUNDREDSTRING,hb=h.PXSTRING,Kb=h.BGRATIOSTRING,Sb=h.COMMASPACE,ob=h.TESTSTR,sb=h.graphics.getAngle,t=h.POSITION_MIDDLE,ea=h.STRINGUNDEFINED,ka=h.axisLabelAdder,V=h.falseFN,E=h.SmartLabelManager,bb=h.NumberFormatter,gb=h.getLinkAction,
lc=h.getAxisLimits,aa=h.HASHSTRING,Va=h.createDialog,W=h.regex.dropHash,z=Math.max,qb=Math.min,Na=h.Highcharts,ia={fontWeight:{1:"bold",0:"normal"},fontStyle:{1:"italic",0:"normal"},textDecoration:{1:"underline",0:"none"}},db={font:function(b,k){k.style.fontFamily=b},size:function(b,k){if(b)k.style.fontSize=tb(b)+hb},color:function(b,k,l){k.style.color=b&&b.replace&&b.replace(W,aa)||m;if(l)k.color=k.style.color},bgcolor:function(b,k){k.style.backgroundColor=b&&b.replace&&b.replace(W,aa)||m},bordercolor:function(b,
k){k.style.border="1px solid";k.style.borderColor=b&&b.replace&&b.replace(W,aa)||m},ishtml:m,leftmargin:function(d,k){k.style.marginLeft=b(d,0)+hb},letterspacing:function(d,k){k.style.letterSpacing=b(d,0)+hb},bold:function(b,k){k.style.fontWeight=ia.fontWeight[b]||""},italic:function(b,k){k.style.fontStyle=ia.fontStyle[b]||""},underline:function(b,k){k.style.textDecoration=ia.textDecoration[b]||""}},ya={chart2D:{bgColor:"bgColor",bgAlpha:"bgAlpha",bgAngle:"bgAngle",bgRatio:"bgRatio",canvasBgColor:"canvasBgColor",
canvasBaseColor:"canvasBaseColor",divLineColor:"divLineColor",legendBgColor:"legendBgColor",legendBorderColor:"legendBorderColor",toolTipbgColor:"toolTipbgColor",toolTipBorderColor:"toolTipBorderColor",baseFontColor:"baseFontColor",anchorBgColor:"anchorBgColor"},chart3D:{bgColor:"bgColor3D",bgAlpha:"bgAlpha3D",bgAngle:"bgAngle3D",bgRatio:"bgRatio3D",canvasBgColor:"canvasBgColor3D",canvasBaseColor:"canvasBaseColor3D",divLineColor:"divLineColor3D",divLineAlpha:"divLineAlpha3D",legendBgColor:"legendBgColor3D",
legendBorderColor:"legendBorderColor3D",toolTipbgColor:"toolTipbgColor3D",toolTipBorderColor:"toolTipBorderColor3D",baseFontColor:"baseFontColor3D",anchorBgColor:"anchorBgColor3D"}},Ja=function(){var b={},k,l=function(){var f,l,e,g,h=0,o;for(f in b)if(h+=1,l=b[f],e=l.jsVars,g=l.ref&&l.ref.parentNode){if(o=g.offsetWidth,g=g.offsetHeight,!e.resizeLocked&&(e._containerOffsetW!==o||e._containerOffsetH!==g))l.ref.resize(),e._containerOffsetW=o,e._containerOffsetH=g}else delete b[f],h-=1;h||(k=clearInterval(k))};
return function(f){var e=f.jsVars,g=f.ref&&f.ref.parentNode||{};e._containerOffsetW=g.offsetWidth;e._containerOffsetH=g.offsetHeight;b[f.id]=f;k||(k=setInterval(l,300))}}(),Pa={getExternalInterfaceMethods:function(){var b=Y[this.jsVars.type],b=b&&b.eiMethods,k="saveAsImage,print,exportChart,getXML,hasRendered,signature,cancelExport,";if(typeof b==="string")k+=b+ta;else if(b!==void 0||b!==null)for(var l in b)k+=l+ta;return k.substr(0,k.length-1)},drawOverlayButton:function(b){var k=this.jsVars,l=k.$overlayButton;
if(b&&b.show){if(!l)l=k.$overlayButton=jQuery("<span>"),l.click(function(){F.raiseEvent("OverlayButtonClick",b,k.fcObj)});l.html(b.message?b.message:"Back");l.css({border:"1px solid #"+(b.borderColor?b.borderColor:"7f8975"),backgroundColor:"#"+(b.bgColor?b.bgColor:"edefec"),fontFamily:b.font?b.font:"Verdana",color:"#"+b.fontColor?b.fontColor:"49563a",fontSize:(b.fontSize?b.fontSize:"10")+hb,padding:(b.padding?b.padding:"3")+hb,fontWeight:parseInt(b.bold,10)===0?"normal":"bold",position:"absolute",
top:"0",right:"1px",_cursor:"hand",cursor:"pointer"});k.hcObj.container.appendChild(l[0])}else l&&l.detach()},print:function(){return this.jsVars.hcObj&&this.jsVars.hcObj.hasRendered&&this.jsVars.hcObj.print()},exportChart:function(b){var k=this.jsVars.hcObj,l={},f;if(k&&k.options&&k.options.exporting&&k.options.exporting.enabled){if(!(b===void 0||b===null))for(f in b)switch(f.toLowerCase()){case "exportfilename":l.filename=b[f];break;case "exportformat":l.type={png:"image/png",jpg:"image/jpeg",pdf:"application/pdf",
svg:"image/svg+xml"}[b[f].toLowerCase()]||"image/png"}k.exportChart(l)}},getSVGString:function(){return this.jsVars&&this.jsVars.hcObj&&this.jsVars.hcObj.getSVG&&this.jsVars.hcObj.getSVG()},resize:function(){var b=this.jsVars,k=b.container,l=b.fcObj,f=b.hcObj;f&&(f&&f.destroy&&f.destroy(),h.createChart(b.fcObj,k,b.type,void 0,void 0,!1),delete b.isResizing,h.raiseEvent("resized",{width:l.width,height:l.height,prevWidth:b.width,prevHeight:b.height},l,[l.id]))},lockResize:function(b){return this.jsVars.resizeLocked=
b===void 0&&!0||b},showChartMessage:function(b){var k=this.jsVars,l=k.hcObj;k.msgStore[b]&&(b=k.msgStore[b]);l&&l.destroy&&l.destroy();h.createChart(k.fcObj,k.container,k.type,void 0,b);return b},signature:function(){return"FusionCharts/3.2.2 (XT)"}};h.createChart=function(b,k,l,f,e,g){var n=b.jsVars,m=n.msgStore,o,w=Y[l],r,p=function(e){var g,s=n.fcObj,o=s.width,m=s.height;g=w&&w.eiMethods;var X=n.$overlayButton;k.jsVars=b.jsVars;n.container=k;n.hcObj=e;n.type=l;n.width=k.offsetWidth;n.height=k.offsetHeight;
n.instanceAPI=r;e.container.style.backgroundColor=n.transparent?"transparent":"#ffffff";if(e.hasRendered){F.extend(k,Pa);if(g&&typeof g!=="string")for(var p in g)k[p]=g[p];g={width:n.width,height:n.height,drawCount:n.drawCount};X&&e.container.appendChild(X[0]);h.raiseEvent("drawcomplete",g,s,[s.id])}f&&(f({success:e.hasRendered,ref:k,id:b.id}),e.hasRendered&&(o=Number((o&&o.match&&o.match(/^\s*(\d*\.?\d*)\%\s*$/)||[])[1]),m=Number((m&&m.match&&m.match(/^\s*(\d*\.?\d*)\%\s*$/)||[])[1]),(o||m)&&s.ref&&
s.ref.parentNode&&Ja(s),h.raiseEvent("loaded",{type:l},s,[s.id])))};b.__state.dataReady=!1;n.instanceAPI&&n.instanceAPI.dispose&&n.instanceAPI.dispose();r=w?new Y(l):new Y("stub");r.chartInstance=b;if(e!==void 0){if(typeof e==="string")e=new Va(k,e),n.hasNativeMessage=!0}else!w||!w.init?(e=new Va(k,m.ChartNotSupported),n.hasNativeMessage=!0):n.message?(e=new Va(k,n.message),n.hasNativeMessage=!0):n.loadError?(e=new Va(k,m.LoadDataErrorText),n.hasNativeMessage=!0):n.stallLoad?(e=new Va(k,m.XMLLoadingText),
n.hasNativeMessage=!0):(e=b.getChartData(FusionChartsDataFormats.JSON,!0),o=e.data,e.error instanceof Error?(e=new Va(k,m.InvalidXMLText),n.hasNativeMessage=!0,h.raiseEvent("dataxmlinvalid",{},n.fcObj,[n.fcObj.id])):(h.raiseEvent("dataloaded",{},n.fcObj,[n.fcObj.id]),e=r.init(k,o,b,p),n.drawCount+=1,e.series.length===0?(e=new Va(k,m.ChartNoDataText),n.hasNativeMessage=!0,h.raiseEvent("nodatatodisplay",{},n.fcObj,[n.fcObj.id])):(b.__state.dataReady=!0,n.hasNativeMessage=!1,delete n.message)));if(!e)e=
new Va(k,"Error rendering chart {0x01}"),n.hasNativeMessage=!0;e.chart=e.chart||{};e.chart.renderTo=k;e.instanceAPI=r;e.credits=e.credits||{};e.credits.enabled=w&&w.creditLabel===!0?!0:!1;if(g===!1)e.chart.animation=!1,(e.plotOptions||(e.plotOptions={}))&&(e.plotOptions.series||(e.plotOptions.series={})),e.plotOptions.series.animation=!1;return r.draw(e,p)};var ib=h.HCstub=function(d,k,e,f){var d=d.chart,g=b(d.charttopmargin,f.charttopmargin,15),h=b(d.chartrightmargin,f.chartrightmargin,15),n=b(d.chartbottommargin,
f.chartbottommargin,15),f=b(d.chartleftmargin,f.chartleftmargin,15),p=g+n,o=f+h;e*=0.7;k*=0.7;p>e&&(g-=(p-e)*g/p,n-=(p-e)*n/p);o>k&&(f-=(o-k)*f/o,h-=(o-k)*h/o);k={_FCconf:{0:{stack:{}},1:{stack:{}},x:{stack:{}},oriCatTmp:[],noWrap:!1,marginLeftExtraSpace:0,marginRightExtraSpace:0,marginBottomExtraSpace:0,marginTopExtraSpace:0,marimekkoTotal:0},chart:{alignTicks:!1,renderTo:m,ignoreHiddenSeries:!1,events:{},reflow:!1,spacingTop:g,spacingRight:h,spacingBottom:n,spacingLeft:f,marginTop:g,marginRight:h,
marginBottom:n,marginLeft:f,borderRadius:0,plotBackgroundColor:"#FFFFFF",style:{}},colors:["AFD8F8","F6BD0F","8BBA00","FF8E46","008E8E","D64646","8E468E","588526","B3AA00","008ED6","9D080D","A186BE","CC6600","FDC689","ABA000","F26D7D","FFF200","0054A6","F7941C","CC3300","006600","663300","6DCFF6"],credits:{href:"http://www.fusioncharts.com?BS=FCHSEvalMark",text:"FusionCharts",enabled:!0},global:{},labels:{items:[]},lang:{},legend:{enabled:!0,symbolWidth:12,borderRadius:1,backgroundColor:"#FFFFFF",
initialItemX:0,title:{text:m,x:0,y:0,padding:2},scroll:{},itemStyle:{}},loading:{},plotOptions:{series:{pointPadding:0,borderColor:"#333333",events:{},animation:d.animation==Ea?!1:{duration:1E3},states:{hover:{enabled:!1},select:{enabled:!1}},dataLabels:{enabled:!0,color:"#555555",style:{},formatter:function(){return this.point.showPercentValues?parseInt(this.percentage*100,10)/100+"%":this.point.displayValue}},point:{events:{}}},area:{states:{hover:{enabled:!1}},marker:{lineWidth:1,radius:3,states:{hover:{enabled:!1},
select:{enabled:!1}}}},radar:{states:{hover:{enabled:!1}},marker:{lineWidth:1,radius:3,states:{hover:{enabled:!1},select:{enabled:!1}}}},areaspline:{states:{hover:{enabled:!1}},marker:{lineWidth:1,radius:3,states:{hover:{enabled:!1},select:{enabled:!1}}}},line:{shadow:!0,states:{hover:{enabled:!1}},marker:{lineWidth:1,radius:3,states:{hover:{enabled:!1},select:{enabled:!1}}}},scatter:{states:{hover:{enabled:!1}},marker:{lineWidth:1,radius:3,states:{hover:{enabled:!1},select:{enabled:!1}}}},bubble:{states:{hover:{enabled:!1}},
marker:{lineWidth:1,radius:3,states:{hover:{enabled:!1},select:{enabled:!1}}}},spline:{states:{hover:{enabled:!1}},marker:{lineWidth:1,radius:3,states:{hover:{enabled:!1},select:{enabled:!1}}}},pie:{size:"80%",allowPointSelect:!0,cursor:"pointer",point:{events:{legendItemClick:d.interactivelegend===Ea?V:function(){this.slice();return!1}}}},column:{},floatedcolumn:{},column3d:{},bar:{},bar3d:{}},point:{},series:[],subtitle:{text:m,style:{}},symbols:[],title:{text:m,style:{}},toolbar:{},tooltip:{borderRadius:1,
style:{},formatter:function(){return this.point.showPercentInToolTip?this.point.toolText+parseInt(this.percentage*100,10)/100+"%":this.point.toolText}},xAxis:{labels:{x:0,style:{},enabled:!1},lineWidth:0,plotLines:[],plotBands:[],title:{style:{},text:m},tickWidth:0,scroll:{enabled:!1}},yAxis:[{startOnTick:!1,endOnTick:!1,title:{style:{},text:m},tickLength:0,labels:{x:0,style:{}},plotBands:[],plotLines:[]},{tickLength:0,gridLineWidth:0,startOnTick:!1,endOnTick:!1,title:{style:{},text:m},labels:{x:0,
style:{},enabled:!1,formatter:function(){return this.value!==Q?this.value:m}},opposite:!0,plotBands:[],plotLines:[]}],exporting:{buttons:{exportButton:{},printButton:{enabled:!1}}}};if(d.palettecolors&&typeof d.palettecolors==="string")k.colors=d.palettecolors.split(ta);return k},Bb=h.axisMinMaxSetter=function(d,k,e,f,g,h,n,m){e=k.stacking100Percent?lc(99,1,100,0,g,h,n,m):lc(b(k.max,e),b(k.min,f),e,f,g,h,n,m);d.min=Number(Oa(e.Min,10));d.max=Number(Oa(e.Max,10));d.tickInterval=Number(Oa(e.divGap,
10));if(e.Range/e.divGap<=2)d.alternateGridColor=T;Y.highValue=k.max;Y.lowValue=k.min;delete k.max;delete k.min},Mb=h.configureAxis=function(d,k,l,f,s,h,n,p,o,w){var r;r=l.min;var t=l.max,v=l.tickInterval,q=w?"xAxis":f.stacking100Percent?"percentValue":o?"sYAxis":"yAxis",S=r,z=1,L,N=l.gridLineColor,D=l.gridLineWidth,y=l.gridLineDashStyle,B=r<0&&t>0?!0:!1,x=!0,I,F=1,M=k[C].axisGridManager;if(w&&!f.catOccupied)f.catOccupied={};if(B&&(!w||!f.catOccupied[0]))w?(x=Boolean(b(d.showvzeroplane,1)),L=b(d.vzeroplanethickness,
1),d=L>0?G(e(d.vzeroplanecolor,N),e(d.vzeroplanealpha,d.vdivlinealpha,g.divLineAlpha[k.chart.paletteIndex])):T):(I=b(d.divlinealpha,g.divLineAlpha[k.chart.paletteIndex]),k.chart.defaultSeriesType==="line"||k.chart.defaultSeriesType==="spline"||k[C].is3d?(x=Boolean(b(d.showzeroplane,1)),L=1):(L=D===1?2:D,F=5,I*=2),L=b(d.zeroplanethickness,L),d=L>0?G(e(d.zeroplanecolor,N),e(d.zeroplanealpha,I)):T),x&&(x=h===1?p[q](0):m,M.addAxisGridLine(l,0,x,L,y,d,F,w));if(s===1&&(!w||!f.catOccupied[r]))x=p[q](r),
M.addAxisGridLine(l,r,x,0.1,void 0,T,1,w);D<=0&&(D=0.1,N=T);for(r=Number(Oa(S+v,10));r<t;r=Number(Oa(r+v,10)),z+=1){B&&S<0&&r>0&&!o&&(M.addAxisAltGrid(l,0),z+=1);if(r!==0&&(!w||!f.catOccupied[r]))x=h===1&&z%n===0?p[q](r):m,M.addAxisGridLine(l,r,x,D,y,N,2,w);S=r;o||M.addAxisAltGrid(l,r)}o||M.addAxisAltGrid(l,t);if(s===1&&z%n===0&&(!w||!f.catOccupied[t]))x=p[q](t),M.addAxisGridLine(l,t,x,0.1,y,T,2,w);l.labels.enabled=!1;l.gridLineWidth=0;l.alternateGridColor=T;l.plotLines.sort(hc)},Ib=h.placeVerticalAxis=
function(d,k,e,f,g,h,n,p,o,w){var r=e[C],t=r.smartLabel,v,q,S,y,L=0,p=r.marginRightExtraSpace,N=r.marginLeftExtraSpace,D={},x={},B={},F=d.plotLines,M=d.plotBands,Sa=k.verticalAxisValuesPadding,G=k.verticalAxisValuesPadding,E=k.verticalAxisNamePadding,Q=k.verticalAxisNameWidth,R=k.rotateVerticalAxisName,T=0,W=0,Ba=0,ba=0,O=0,J=0,ga,P,ha,sa,ca,r=2,ma=function(b,d){var f,e;if(b&&b.label&&I(b.label.text)!==void 0){sa=b.label;if(sa.style&&sa.style!==ha)ha=sa.style,t.setStyle(ha);v=t.getOriSize(b.label.text);
e=(f=v.width)?f+2:0;if(b.isGrid){if(D[d]={width:f,height:v.height,label:sa},Ba<=e)Ba=e,k.lYLblIdx=d}else b.isTrend&&(n&&sa.textAlign===yb||sa.textAlign===Ma?(x[d]={width:f,height:v.height,label:sa},ba=z(ba,e)):(B[d]={width:f,height:v.height,label:sa},O=z(O,e)))}},J=function(b,f){var k,e=f?L:L+b;return e>0?(R?(e<q.height&&(q=t.getSmartText(d.title.text,g,e)),k=q.height):(e<q.width&&(q=t.getSmartText(d.title.text,e,g)),k=q.width),d.title.text=q.text,f?e-k+b:e-k):(d.title.text=m,0)},Z=function(b,d,f){for(var k in b)b[k].label.x=
d,b[k].label.y=f};ga=0;for(P=M.length;ga<P;ga+=1)ma(M[ga],ga);ga=0;for(P=F.length;ga<P;ga+=1)ma(F[ga],ga);if(d.title&&d.title.text!=m)ha=d.title.style,t.setStyle(ha),S=t.getOriSize(ob).height,R?(q=t.getSmartText(d.title.text,g,h),L=q.height,y=S):(d.title.rotation=0,q=t.getSmartText(d.title.text,Q!==void 0?Q:h,g),L=q.width,y=20);O>0&&(W=O+G);o&&(f=b(f.chart.maxlabelwidthpercent,0),f>=1&&f<=100&&(o=f*o/100,Ba>o&&(Ba=o)));T=z(ba,Ba);L>0&&(T+=L+2+E);(function(){if(W+T>h){ca=W+T-h;if(W)if(G>=ca){G-=ca;
return}else ca-=G,G=0;if(Sa+E>=ca)E>=ca?E-=ca:(Sa-=ca-E,E=0);else{ca-=Sa+E;E=Sa=0;if(O>20)if(ba>Ba)if(O-ba>=ca){O-=ca;return}else if(ba-O>=ca){ba-=ca;return}else if(ba>O?(ca-=ba-O,ba=O):(ca-=O-ba,O=ba),2*(ba-Ba)>=ca){O-=ca/2;ba-=ca/2;return}else ca-=2*(ba-Ba),O=ba=Ba;else if(O-20>=ca){O-=ca;return}else ca-=O-20,O=20;if(ba>Ba)if(ba-Ba>=ca){ba-=ca;return}else ca-=ba-Ba,ba=Ba;L-y>=ca?L-=ca:(ca-=L-y,L=y,O>=ca?O=0:(ca-=O,O=0,L>=ca?L=0:(ca-=L,L=0,Ba>=ca&&(Ba-=ca,ba=Ba))))}}})();surplusWidth=function(b,
d){var f,k=0,e=d?O-2:O+b-2;if(O>0){for(ga in B)if(sa=B[ga].label,B[ga].width>e){if(sa.style&&sa.style!==ha)ha=sa.style,t.setStyle(ha);f=t.getSmartText(sa.text,e,g,!0);sa.text=f.text;B[ga].height=f.height;k=Math.max(k,f.width)}else k=Math.max(k,B[ga].width);return d?e-k+b:e-k}else{for(ga in B)B[ga].label.text=m;return 0}}(0,!0);surplusWidth=J(surplusWidth,!0);surplusWidth=function(b){var d=0,f=Math.max(Ba,ba)+b-2;if(f>0){for(ga in D)if(sa=D[ga].label,D[ga].width>f){if(sa.style&&sa.style!==ha)ha=sa.style,
t.setStyle(ha);b=t.getSmartText(sa.text,f,g,!0);sa.text=b.text;D[ga].height=b.height;d=Math.max(d,b.width)}else d=Math.max(d,D[ga].width);for(ga in x)if(sa=x[ga].label,x[ga].width>f){if(sa.style&&sa.style!==ha)ha=sa.style,t.setStyle(ha);b=t.getSmartText(sa.text,f,g,!0);sa.text=b.text;x[ga].height=b.height;d=Math.max(d,b.width)}else d=Math.max(d,x[ga].width);return f-d}else{for(ga in D)D[ga].label.text=m;for(ga in x)x[ga].label.text=m;return 0}}(surplusWidth);surplusWidth=J(surplusWidth);o=k.verticalAxisNamePadding-
E;surplusWidth&&o&&(surplusWidth>o?(E+=o,surplusWidth-=o):(E+=surplusWidth,surplusWidth=0));o=k.verticalAxisValuesPadding-Sa;surplusWidth&&o&&(surplusWidth>o?(Sa+=o,surplusWidth-=o):(Sa+=surplusWidth,surplusWidth=0));o=k.verticalAxisOppValuesPadding-G;surplusWidth&&o&&(surplusWidth>o?(G+=o,surplusWidth-=o):(G+=surplusWidth,surplusWidth=0));O>0&&(W=O+G);T=z(ba,Ba)+Sa;L>0&&(T+=L+E);o=z(ba,Ba);o+=o>0?E:0;L>0?(o+=E+(o>0?2:0),R?L<q.height&&(q=t.getSmartText(d.title.text,g,L)):(L<q.width&&(q=t.getSmartText(d.title.text,
L,g)),d.title.y=-((q.height-S)/2)),d.title.text=q.text,d.title.margin=o+N+(R?q.height-S:q.width/2)):d.title.text=m;S=-(Sa+N+2);p=p+Sa+2;J=z(ba,Ba);d.labels.style&&(r=parseInt(d.labels.style.fontSize,10)*0.35);n?(O>0&&Z(B,S,r),J>0&&(Z(D,p,r),Z(x,p,r))):(O>0&&Z(B,p,r),J>0&&(Z(D,S,r),Z(x,S,r)));w?(e.chart.marginLeft+=n?W:T-w,e.chart.marginRight+=n?T-w:W):(e.chart.marginLeft+=n?W:T,e.chart.marginRight+=n?T:W);return W+T},Rb=h.titleSpaceManager=function(d,k,e,f){var g=k.chart,h=B(g.caption),k=B(g.subcaption),
n=g=b(g.captionpadding,10),p=d[C].smartLabel,o=!1,w=0,r,t,v=0,q=0,S=0,z=0,L=0,N=0,D=d.title,x=d.subtitle;if(h!==m)r=D.style,S=b(parseInt(r.fontHeight,10),parseInt(r.lineHeight,10),12),N=b(parseInt(r.fontSize,10),10);if(k!==m)t=x.style,z=b(parseInt(t.fontHeight,10),parseInt(t.lineHeight,10),12),L=b(parseInt(t.fontSize,10),10);if(S>0||z>0){w=S+z+g;w>f?(v=w-f,o=!0,v<g?g-=v:(v-=g,g=0,z>v?(q=z-v+10,z=0):(v-=z,z=0,S>v&&(q=S-v),S=0))):q=f-w;if(S>0)p.setStyle(r),S+=q,f=p.getSmartText(h,e,S),q=S-f.height,
S=f.height,D.text=f.text,D.y=N;if(z>0)p.setStyle(t),z+=q,e=p.getSmartText(k,e,z),q=z-e.height,z=e.height,x.text=e.text,x.y=L+S;o&&q>0&&(g+=qb(n-g,q));w=S+z+g;d.chart.marginTop+=w}return w},Jb=h.stepYAxisNames=function(b,k,e,f,g,h){for(var n=0,p=f.plotLines,o=[],w,r=f.plotLines.length,k=k[C].smartLabel,t=parseFloat(tb(e.basefontsize,10)),v;n<r;n+=1)e=p[n],e.isGrid&&e.label&&e.label.text&&(o.push(e),e.value===0&&(w=o.length-1));if(r=o.length)if(f.labels.style?k.setStyle(f.labels.style):o[0].label&&
o[0].label.style&&k.setStyle(f.labels.style),n=k.getOriSize("W").height,h||(n+=t*0.4),b/=r-1,b<n){h=Math.ceil(n/b);for(n=b=w;n<r;n+=1){e=o[n];if(n===g){if((n-b)%h&&v)v.label.text="";b=g}if(e&&e.label)(n-b)%h?e.label.text=m:v=e}for(n=b=w;n>=0;n-=1){e=o[n];if(n===g){if((b-n)%h&&v)v.label.text="";b=g}if(e&&e.label)(b-n)%h?e.label.text=m:v=e}}},jb=h.placeHorizontalAxis=function(d,k,e,f,g,h,n){var p=e[C],o,w,r,t,v,q,S,x,L,N,D=0,B=0,y=10,F=1,M=0,G=M=0,E=!1,Q=!1,ba=!1,T=b(f.chart.labelstep,0),W=k.labelDisplay,
ra=k.rotateLabels,Ba=k.horizontalLabelPadding,Y=p.marginBottomExtraSpace;L=e.chart.marginLeft;var O=e.chart.marginRight,J=p.smartLabel,ga=k.catCount,P=k.slantLabels,ha=g/(d.max-d.min),sa=0,ca=0,G={w:0,h:0};if(d.labels.style)q=d.labels.style,J.setStyle(q),x=J.getOriSize("W"),y=x.height,S=x.width+4,N=J.getOriSize("WWW").width+4;var ma,Z,na=[],aa=[],qa=0,oa=0,ua,V,ta=k.horizontalAxisNamePadding;ma=0;var k=k.staggerLines,ka=sa,ia=!1;if(d.title&&d.title.text!=m)q=d.title.style,J.setStyle(q),M=J.getOriSize("W").height,
d.title.rotation=0,t=J.getSmartText(d.title.text,g,h),B=t.height;e.chart.marginLeft!=parseInt(f.chart.chartleftmargin,10)&&(o=!0);e.chart.marginRight!=parseInt(f.chart.chartrightmargin,10)&&(Z=!0);ma=g-n;switch(W){case "none":E=ba=!0;ra&&(D=P?300:270,x=y,y=S,S=x);break;case "rotate":D=P?300:270;x=y;y=S;S=x;E=!0;break;case "stagger":Q=E=!0;f=Math.floor((h-M)/y);f<k&&(k=f);break;default:ra&&(D=P?300:270,x=y,y=S,S=x)}p.isBar&&(E=!0);f=0;n=d.plotLines;if(typeof e._FCconf.isXYPlot===ea&&!p.isBar){for(ua=
n.length;f<ua;f+=1)(w=n[f])&&(w.isGrid?na.push(w):w.isTrend&&aa.push(w));t=d.plotBands;f=0;for(ua=t.length;f<ua;f+=1)(w=t[f])&&aa.push(w);t=na.length-1;ua=na.length;Q&&(k>ua?k=ua:k<2&&(k=2));if(ua){d.scroll&&d.scroll.viewPortMin&&d.scroll.viewPortMax?(x=d.scroll.viewPortMin,r=d.scroll.viewPortMax,Z=o=!1):(x=d.min,r=d.max);f=(na[t].value-na[0].value)*ha;V=f/(ga-1);f=(na[0].value-x)*ha;r=(r-na[t].value)*ha;W==="auto"?V<N&&(D=P?300:270,x=y,y=S,S=x,E=!0):W==="stagger"&&(V*=k);L=(f+L)*2;if((v=n[0].label)&&
v.text)v.style&&J.setStyle(v.style),N=Math.min(V,J.getOriSize(v.text).width+4),N>L&&(qa=(N-L)/2);L=(r+O)*2;if((v=n[t].label)&&v.text)v.style&&J.setStyle(v.style),N=Math.min(V,J.getOriSize(v.text).width+4),N>L&&(oa=(N-L)/2);f=qa+oa;f>0&&(ma>f?(O=(O=oa*g/(oa+g))?O+4:0,e.chart.marginRight+=O,g-=O,O=(O=qa*g/(qa+g))?O+4:0,e.chart.marginLeft+=O,g-=O,ha=g/(d.max-d.min)):qa<oa?ma>=oa&&Z?(O=(O=oa*g/(oa+g))?O+4:0,e.chart.marginRight+=O,g-=O,ha=g/(d.max-d.min)):o&&(O=(O=qa*g/(qa+g))?O+4:0,e.chart.marginLeft+=
O,g-=O,ha=g/(d.max-d.min)):ma>=qa&&o?(O=(O=qa*g/(qa+g))?O+4:0,e.chart.marginLeft+=O,g-=O,ha=g/(d.max-d.min)):Z&&(O=(O=oa*g/(oa+g))?O+4:0,e.chart.marginRight+=O,g-=O,ha=g/(d.max-d.min)),f=(na[t].value-na[0].value)*ha,V=f/(ga-1));!Q&&!ba&&(F=Math.ceil(S/V),T&&(V*=T,F=Math.ceil(S/V)),V*=F);for(r=0;r<ua;r+=1)if(w=na[r],r%F&&w.label)w.label.text=m;else if(w&&w.label&&I(w.label.text)!==void 0){v=w.label;if(v.style&&v.style!==q)q=v.style,J.setStyle(q);if(D&&ba)o=J.getOriSize(v.text),G.w=z(G.w,o.width+4),
G.h=z(G.h,o.height);else if(!ba)o=D||Q?J.getOriSize(v.text):J.getSmartText(v.text,V-4,h,E),G.w=z(G.w,o.width+4),G.h=z(G.h,o.height)}}r=0;for(ua=aa.length;r<ua;r+=1)if((w=aa[r])&&w.label&&I(w.label.text)!==void 0){v=w.label;if(v.style&&v.style!==q)q=v.style,J.setStyle(q);o=J.getOriSize(v.text);v.verticalAlign===cb?sa=z(sa,o.height):ca=z(ca,o.height)}d.scroll&&d.scroll.enabled&&!D&&!ba&&(O=G.w/2,e.chart.marginLeft<O&&(L=O-e.chart.marginLeft,ma>L&&(g-=L,ma-=L,e.chart.marginLeft+=L)),e.chart.marginRight<
O&&(L=O-e.chart.marginRight,ma>L&&(g-=L,ma-=L,e.chart.marginRight+=L)))}else{var T={},la,ra=oa=0,ya=null,Ea=null,ga={},ia=!0,ha=g/(d.max-d.min),W=function(b,f,k){var g,h,s,n,o,r;r=b.plotObj;o=b.labelTextWidth;if(!o){v=r.label;if(v.style&&v.style!==q)q=v.style,J.setStyle(q);o=J.getOriSize(v.text).width+4;b.oriWidth=o;o>la&&(o=la);b.labelTextWidth=o;b.leftEdge=r.value*ha-o/2;b.rightEdge=r.value*ha+o/2;if(k)o=Math.min(o,2*(w.value-d.min)*ha+e.chart.marginLeft),b.labelTextWidth=o}if(typeof f!==ea){k=
f.plotObj;v=k.label;if(v.style&&v.style!==q)q=v.style,J.setStyle(q);f.oriWidth?s=f.oriWidth:(s=J.getOriSize(v.text).width+4,f.oriWidth=s);s>la&&(s=la);f.labelTextWidth=s;f.leftEdge=k.value*ha-s/2;f.rightEdge=k.value*ha+s/2;g=r.value*ha;h=g+o/2;n=k.value*ha;s=n-s/2;if(s<h)if(g+S<n-S)h-=s,g=n-g,b.labelTextWidth=h>g?Math.min(o,g):Math.max(S,o-h/2),f.labelTextWidth=2*(g-b.labelTextWidth/2),b.leftEdge=r.value*ha-b.labelTextWidth/2,b.rightEdge=r.value*ha+b.labelTextWidth/2,f.leftEdge=k.value*ha-f.labelTextWidth/
2,f.rightEdge=k.value*ha+f.labelTextWidth/2;else return f.labelTextWidth=0,k.label.text=m,!1}else if(k)o=Math.min(o,2*(d.max-w.value)*ha+e.chart.marginRight),b.labelTextWidth=o,b.leftEdge=r.value*ha-o/2,b.rightEdge=r.value*ha+o/2;b.nextCat=f;return!0};Q?k>ua?k=ua:k<2&&(k=2):k=1;for(ua=n.length;f<ua;f+=1)if((w=n[f])&&w.label&&typeof w.label.text!==ea)w.isGrid?(qa={plotObj:w},w.isCat&&(t=f%k,T[t]||(T[t]=[]),ya?(Ea=qa,T[t].push(Ea)):(Ea=ya=qa,T[t].push(ya))),na.push(qa)):w.isTrend&&aa.push({plotObj:w});
t=d.plotBands;f=0;for(ua=t.length;f<ua;f+=1)(w=t[f])&&w.isTrend&&w.label&&typeof w.label.text!==ea&&aa.push({plotObj:w});if(na.length)if(!ba&&!D)if(p.distributedColumns){f=0;for(ua=na.length;f<ua;f+=1)if(r=na[f],Z=f%k,w=r.plotObj,w.label&&w.isCat){f-k>=0?(o=na[f-k],Z=o.plotObj.value*ha+o.plotObj._weight*ha/2):(o=null,Z=d.min*ha-L);f+k<ua?(x=na[f+k],x=x.plotObj.value*ha-x.plotObj._weight*ha/2):(x=null,x=d.max*ha+O);v=w.label;if(v.style&&v.style!==q)q=v.style,J.setStyle(q);qa=w.value*ha;ma=qa-w._weight*
ha/2;T=qa+w._weight*ha/2;k>1?(o=ma-Z,Z=T+x,Z=T-ma+Math.min(o,Z)):Z=T-ma;v=w.label;v.style&&v.style!==q&&J.setStyle(v.style);Z<S&&S<J.getOriSize(v.text).width?(w.label.text=m,r.labelTextWidth=0):(r.labelTextWidth=Z,o=J.getSmartText(v.text,Z-4,h,E),Z=o.width+4,r.labelTextWidth=Z,G.h=Math.max(G.h,o.height))}}else{ua=na.length;t=na.length-1;(f=(na[t].plotObj.value-na[0].plotObj.value)*ha)?(la=f*0.1,n=Math.max(f*0.2,f/ua)):n=la=g;for(r in T){f=0;for(N=T[r].length;f<N;){for(qa=f+1;!W(T[r][f],T[r][qa]);)qa+=
1;f=qa}}ya&&(ra=(ya.plotObj.value-d.min)*ha+L-ya.labelTextWidth/2);w=na[0].plotObj;if(!ya||w!==ya.plotObj){v=w.label;if(v.style&&v.style!==q)q=v.style,J.setStyle(q);N=J.getOriSize(v.text).width+4;qa=(w.value-d.min)*ha+L;ya&&(f=ra-qa,N=f<N&&f>S/2?f*2:0);na[0].labelTextWidth=N;N>0&&(x=qa-N/2);x<ra&&(ra=x)}if(Ea)N=Ea.labelTextWidth,oa=(d.max-Ea.plotObj.value)*ha+O-N/2;w=na[t].plotObj;if(!Ea||w!==Ea.plotObj){v=w.label;if(v.style&&v.style!==q)q=v.style,J.setStyle(q);N=J.getOriSize(v.text).width+4;qa=(d.max-
w.value)*ha+O;Ea&&(f=qa-oa,N=f<N&&f>S/2?f*2:0);na[t].labelTextWidth=N;N>0&&(x=qa-N/2);x<oa&&(oa=x)}qa=ra<0?-ra:0;oa=oa<0?-oa:0;f=qa+oa;if(f>0)for(r in ma>f?(O=(O=oa*g/(oa+g))?O+4:0,e.chart.marginRight+=O,g-=O,O=(O=qa*g/(qa+g))?O+4:0,e.chart.marginLeft+=O,g-=O,ha=g/(d.max-d.min)):qa<oa?ma>=oa&&Z?(O=(O=oa*g/(oa+g))?O+4:0,e.chart.marginRight+=O,g-=O,ha=g/(d.max-d.min)):o&&(O=(O=qa*g/(qa+g))?O+4:0,e.chart.marginLeft+=O,g-=O,ha=g/(d.max-d.min)):ma>=qa&&o?(O=(O=qa*g/(qa+g))?O+4:0,e.chart.marginLeft+=O,
g-=O,ha=g/(d.max-d.min)):Z&&(O=(O=oa*g/(oa+g))?O+4:0,e.chart.marginRight+=O,g-=O,ha=g/(d.max-d.min)),O=e.chart.marginRight,L=e.chart.marginLeft,f=(na[t].plotObj.value-na[0].plotObj.value)*ha,la=f*0.1,n=Math.max(f*0.2,f/ua),T){f=0;for(N=T[r].length;f<N;){for(qa=f+1;!W(T[r][f],T[r][qa],!0);)qa+=1;f=qa}r+=1}f=0;for(ua=na.length;f<ua;f+=1)if(r=na[f],Z=f%k,w=r.plotObj,w.label)if(w.isCat)r.labelTextWidth&&(ga[Z]=r);else{x=(o=ga[Z])?o.nextCat:T[Z]?T[Z][0]:null;o=null;if(f>=k){Z=f-k;for(o=na[Z];!o.labelTextWidth;)if(Z>=
k)Z-=k,o=na[Z];else{o=null;break}}Z=o?o.rightEdge:d.min*ha-L;x=x?x.leftEdge:d.max*ha+O;v=w.label;if(v.style&&v.style!==q)q=v.style,J.setStyle(q);N=J.getOriSize(v.text).width+4;ma=w.value*ha-N/2;if(p.isBar&&f==ua-1&&o){if(Z>ma)o.plotObj.label.text=m,o.labelTextWidth=0,Z=o.leftEdge}else if(Z>ma||x<ma+N){w.label.text=m;r.labelTextWidth=0;continue}Z=Math.max(Z,ma);qa=w.value*ha;Z=2*Math.min(qa-Z,x-qa);v=w.label;v.style&&v.style!==q&&J.setStyle(v.style);Z<S&&S<J.getOriSize(v.text).width?(w.label.text=
m,r.labelTextWidth=0):(r.labelTextWidth=Z,o=J.getSmartText(v.text,Z-4,h,E),Z=o.width+4,r.labelTextWidth=Z,r.leftEdge=qa-Z/2,r.rightEdge=qa+Z/2,G.h=Math.max(G.h,o.height))}o=O=Z=L=null;f=0;for(ua=na.length;f<ua;f+=1)if(r=na[f],w=r.plotObj,Z=f%k,w.isCat&&r.labelTextWidth){o=O=null;qa=w.value*ha;if(f>=k){Z=f-k;for(o=na[Z];!o.labelTextWidth;)if(Z>k)Z-=k,o=na[Z];else{o=null;break}}o=o?qa-o.rightEdge:qa-d.min*ha+e.chart.marginLeft;if(f+k<ua){L=f+k;for(O=na[L];!O.labelTextWidth;)if(L+k<ua-1)L+=k,O=na[L];
else{O=null;break}}Z=O?O.leftEdge-qa:d.max*ha+e.chart.marginRight-qa;Z=Math.min(o,Z)*2;Z>n&&(Z=n);if(Z>r.oriWidth)Z=r.oriWidth;r.labelTextWidth=Z;v=w.label;v.style&&v.style!==q&&J.setStyle(v.style);o=J.getSmartText(v.text,Z-4,h,E);r.labelTextWidth=o.width+4;G.h=Math.max(G.h,o.height);r.rightEdge=qa+r.labelTextWidth/2}}else if(D){f=0;for(ua=na.length;f<ua;f+=1)if((w=na[f].plotObj)&&w.label&&w.label.text){v=w.label;if(v.style&&v.style!==q)q=v.style,J.setStyle(q);r=1;if(f+r<ua)for(O=na[r+f].plotObj;O&&
(O.value-w.value)*ha<S;)if(w.isCat){if(O.label){O.label.text=m;r+=1;if(r+f>=ua-1)break;O=n[r+f].plotObj}}else if(O.isCat){w.label.text=m;w=O;f+=r-1;v=w.label;if(v.style&&v.style!==q)q=v.style,J.setStyle(q);break}G.w=Math.max(G.w,J.getOriSize(v.text).width+4)}}r=0;for(ua=aa.length;r<ua;r+=1)if((w=aa[r].plotObj)&&w.label&&I(w.label.text)!==void 0){v=w.label;if(v.style&&v.style!==q)q=v.style,J.setStyle(q);o=J.getOriSize(v.text);v.verticalAlign===cb?sa=z(sa,o.height):ca=z(ca,o.height)}}if(ba){if(ma=y,
D)ma=G.w}else ma=D?G.w:Q?k*y:G.h;ma>0&&(ka+=Ba+ma);B>0&&(ka+=B+ta);G=ca+ka+2;x=0;G>h&&(f=G-h,ta>f?(ta-=f,f=0):(f-=ta,ta=0,Ba>f?(Ba-=f,f=0):(f-=Ba,Ba=0)),ca>f?(ca-=f,f=0):(ca>0&&(f-=ca,ca=0),f>0&&(sa>f?(sa-=f,f=0):(sa>0&&(f-=sa,sa=0),f>0&&((x=B-M)>f?(B-=f,f=0):(f-=x,B=M,f>0&&((x=ma-y)>f?(ma-=f,f=0):(f-=x,ma=y,f>0&&(f-=B+ta,B=0,f>0&&(f-=ma,ma=0,f>0&&(Ba-=f)))))))))));Ba+=Y;var O=p.is3d?-e.chart.xDepth:0,h=ma+Ba,xa,ka=O;L=y*0.5;M=y+Ba;ua=na.length;G=0;if(ia)if(D){V=Ma;xa=P?Ba+8:Ba+4;ua=na.length;for(r=
0;r<ua;r+=1)if((w=na[r].plotObj)&&w.label&&I(w.label.text)!==void 0){v=w.label;if(v.style&&v.style!==q)q=v.style,J.setStyle(q);f=1;o=J.getSmartText(v.text,ma-4,S,E);v.text=o.text;ka=O+L/2;v.y=xa;v.x=ka;v.rotation=D;v.textAlign=V;G+=1}}else{ia=ma;V=R;xa=M;for(r=0;r<ua;r+=F)if((w=na[r].plotObj)&&w.label&&I(w.label.text)!==void 0){v=w.label;if(v.style&&v.style!==q)q=v.style,J.setStyle(q);if(!ba)o=J.getSmartText(v.text,na[r].labelTextWidth-4,ia,E),v.text=o.text,Q&&(xa=M+G%k*y);v.y=xa;v.x=ka;v.rotation=
D;v.textAlign=V;G+=1}}else{D?(ia=V,f=ma-4,V=Ma,xa=P?Ba+8:Ba+4):Q?(ia=y,f=V*k-4,V=R):(ia=ma,f=V-4,V=R,xa=M);for(r=0;r<ua;r+=F)if((w=na[r])&&w.label&&I(w.label.text)!==void 0){v=w.label;if(v.style&&v.style!==q)q=v.style,J.setStyle(q);if(!ba)o=J.getSmartText(v.text,f,ia,E),v.text=o.text,Q&&(xa=M+G%k*y),D&&(ka=O+L/2);v.y=xa;v.x=ka;v.rotation=D;v.textAlign=V;G+=1}}ua=aa.length;for(r=y=D=0;r<ua;r+=1)if((w=aa[r].plotObj?aa[r].plotObj:aa[r])&&w.label&&I(w.label.text)!==void 0){v=w.label;if(v.style&&v.style!==
q)q=v.style,J.setStyle(q);v.verticalAlign===cb?(o=J.getSmartText(v.text,g,sa,!0),y=Math.max(y,o.height),v.text=o.text,v.y=h+J.getOriSize("W").height,v.x=ka):(o=J.getSmartText(v.text,g,ca,!0),D=Math.max(D,o.height),v.text=o.text,v.y=-(ca-J.getOriSize("W").height+Ba+2))}if(B>0)J.setStyle(d.title.style),t=J.getSmartText(d.title.text,g,B),d.title.text=t.text,d.title.margin=h+y+ta;ka=y;if(ma>0)p.horizontalAxisHeight=Ba+ma-Y,ka+=p.horizontalAxisHeight;B>0&&(ka+=B+ta);e.chart.marginBottom+=ka;D>0&&(e.chart.marginTop+=
D,ka+=D);return ka},Fb=function(d,k,l,f,h){var f=d.legend,p=d.chart,n=p.paletteIndex,t=p.is3D?ya.chart3D:ya.chart2D,o=p.useRoundEdges,w=b(k.legendiconscale,1),r=(parseInt(f.itemStyle.fontSize,10)||10)-1,C=d.chart.defaultSeriesType,v=3;if(w<=0||w>5)w=1;f.padding=4;r<=0&&(r=1);h-=8;r*=w;v*=w;r=Math.min(r,h);r<=0&&(v=r=0);f.symbolWidth=r;f.symbolPadding=v;f.textPadding=4;f.legendHeight=h=r+2*v;f.rowHeight=Math.max(parseInt(f.itemStyle.lineHeight,10)||12,h);l?(f.align=Ma,f.verticalAlign="middle",f.layout=
"vertical"):f.x=(p.marginLeft-p.spacingLeft-p.marginRight+p.spacingRight)/2;l=e(k.legendbordercolor,g[t.legendBorderColor][n]);h=b(k.legendborderalpha,100);p=b(k.legendbgalpha,100);f.backgroundColor=G(e(k.legendbgcolor,g[t.legendBgColor][n]),p);f.borderColor=G(l,h);f.borderWidth=b(k.legendborderthickness,!o||k.legendbordercolor?1:0);f.shadow=Boolean(b(k.legendshadow,1));if(f.shadow)f.shadow={enabled:f.shadow,opacity:z(h,p)/100};f.reversed=Boolean(b(k.reverselegend,0));if(/^pie$/.test(C))f.reversed=
!f.reversed;f.style={padding:4};Boolean(b(k.interactivelegend,1))?f.symbolStyle={_cursor:"hand",cursor:"pointer"}:(d.plotOptions.series.events.legendItemClick=V,f.itemStyle.cursor="default",f.itemHoverStyle={cursor:"inherit"});f.borderRadius=o?3:0;f.legendAllowDrag=Boolean(b(k.legendallowdrag,0));f.title.text=B(y(k.legendcaption,m));f.legendScrollBgColor=M(e(k.legendscrollbgcolor,g.altHGridColor[d.chart.paletteIndex]));f.legendScrollBarColor=e(k.legendscrollbarcolor,l);f.legendScrollBtnColor=e(k.legendscrollbtncolor,
l);f.title.style=ba({fontWeight:"bold"},f.itemStyle)},Gb=h.placeLegendBlockRight=function(d,e,g,f,h){Fb(d,e.chart,!0,h,g);var p=0,n=d.series,t,o,w=d[C].smartLabel,r=d.legend,z,v=r.textPadding,q=r.title.padding,x=r.symbolWidth+2*r.symbolPadding,y=f*2,L=0,e=b(e.chart.legendpadding,7),B=2*r.padding,D={width:B,height:B};g-=B;h&&(n=n&&n[0]&&n[0].data);if(typeof n===ea||typeof n.length===ea)return 0;else t=n.length;z=g-x-2-v;z<0&&(z=0);for(w.setStyle(r.itemStyle);p<t;p+=1)if(o=n[p],o.showInLegend!==!1)z===
0?(D.height+=x,o.name=m):(h=w.getSmartText(o.name,z,y),o.name=h.text,D.height+=Math.max(h.height,x),L=Math.max(h.width,L));r.width=L+x+2+v+B;if(r.title.text!==m){w.setStyle(r.title.style);h=w.getSmartText(r.title.text,g,y);r.title.text=h.text;p=h.width+B;if(r.width<p)r.initialItemX=(p-r.width)/2,r.width=p;D.height+=h.height+q}r.height=r.totalHeight=D.height;if(r.height>f)r.height=f,r.scroll.enabled=!0,r.width+=(r.scroll.scrollBarWidth=10)+(r.scroll.scrollBarPadding=2);e=Math.min(r.width+e,g);d.chart.marginRight+=
e;return e},dc=h.placeLegendBlockBottom=function(d,e,g,f,h){Fb(d,e.chart,!1,h,g);var p=0,n=d.series,t=d[C].smartLabel,o=d.legend,w,r,z=o.textPadding,v=o.title.padding,q=o.symbolPadding;r=o.legendHeight;var x=e.chart,y=0,L=f*2,B=o.rowHeight,D=[],I=b(x.minimisewrappinginlegend,0),x=b(parseInt(x.legendnumcolumns,10),0),G=0,F=0,M=0,E=w=0,Q=2*o.padding,e=b(e.chart.legendpadding,7),T={width:Q,height:Q};x<0&&(x=0);g-=Q;t.setStyle(o.itemStyle);w=t.getSmartText(ob).height;e=Math.min(e,f-w-8);f-=e;h&&(n=n&&
n[0]&&n[0].data);if(typeof n===ea||typeof n.length===ea)return 0;else h=n.length;for(t.setStyle(o.itemStyle);p<h;p+=1)n[p].showInLegend!==!1&&(w=t.getOriSize(n[p].name),G=Math.max(G,w.width),F+=w.width,M+=1);w=F/M;w+=r+2+z;G+=r+2+z;x>0&&M<x&&(x=M);x>0&&(E=g/x)>w?E>G&&(E=G):g>G&&(I||w*1.5>G)?(x=Math.floor(g/G),M<x&&(x=M),E=G):g>=2*w?(x=Math.floor(g/w),M<x&&(x=M),E=Math.floor(g/x),E>G&&(E=G)):(x=1,E=g);o.itemWidth=E;r=E-r-2-z;r<0&&(q=r=z=0);o.symbolPadding=q;o.textPadding=z;o.width=E*x+Q;if(o.title.text!==
m){t.setStyle(o.title.style);w=t.getSmartText(o.title.text,g,L);o.title.text=w.text;p=w.width+Q;if(o.width<p)o.initialItemX=(p-o.width)/2,o.width=p;y=w.height+v}t.setStyle(o.itemStyle);v=0;if(o.reversed)for(p=h-1;p>=0;p-=1){if(g=n[p],g.showInLegend!==!1){if(r===0)D[v]=!0,g.name=m;else{w=t.getSmartText(g.name,r,L);for(g.name=w.text;D[v]===!0;)v+=1;g=w.height/B;q=v;for(z=0;z<g;z+=1,q+=x)D[q]=!0}v+=1}}else for(p=0;p<h;p+=1)if(g=n[p],g.showInLegend!==!1){if(r===0)D[v]=!0,g.name=m;else{w=t.getSmartText(g.name,
r,L);for(g.name=w.text;D[v]===!0;)v+=1;g=w.height/B;q=v;for(z=0;z<g;z+=1,q+=x)D[q]=!0}v+=1}T.height+=Math.ceil(D.length/x)*B+y;o.height=o.totalHeight=T.height;o.rowHeight=B;o.legendNumColumns=x;if(o.height>f)o.height=f,o.scroll.enabled=!0,o.width+=(o.scroll.scrollBarWidth=10)+(o.scroll.scrollBarPadding=2);e+=o.height;d.chart.marginBottom+=e;return e},hc=function(b,e){return b.value-e.value},Cb=h.adjustVerticalAxisTitle=function(b,e,g){if(e&&e.text){var f=e.text,h=b[C].smartLabel,m=2*Math.min(b.chart.marginTop,
b.chart.marginBottom)+g,n=g+b.chart.marginTop+b.chart.marginBottom;e.style&&h.setStyle(e.style);f=h.getOriSize(f);if(e.rotation=="0"){if(f.height>m)e.y=(n/2-(g/2+b.chart.marginTop))/2}else if(f.width>m)e.y=n/2-(g/2+b.chart.marginTop)}},Wb=h.adjustVerticalCanvasMargin=function(d,e,g,f){var h=e.chart,m=e=0,n=0,p=b(h.canvastopmargin,0),h=b(h.canvasbottommargin,0),o=p/(p+h),w=d.chart.marginTop,r=d.chart.marginBottom;h>r&&(e+=h-r);p>w&&(e+=p-w);e>g?p>w&&h>r?(m=g*o,n=g*(1-o)):p>w?m=g:n=g:e>0&&(h>r&&(n=
h-r),p>w&&(m=p-w));m&&(d.chart.marginTop+=m);n&&(d.chart.marginBottom+=n,f&&f.title&&(f.title.margin+=n));return m+n},Za=h.adjustHorizontalCanvasMargin=function(d,e,g,f,h){var m=e.chart,e=b(m.canvasleftmargin,0),m=b(m.canvasrightmargin,0),n=e/(e+m),p=0,o=d.chart.marginLeft,w=d.chart.marginRight,r=0,t=0;e>o&&(p+=e-o);m>w&&(p+=m-w);p>g?e>o&&m>w?(r=g*n,t=g*(1-n)):m>w?t=g:r=g:p>0&&(e>o&&(r=e-o),m>w&&(t=m-w));r&&(d.chart.marginLeft+=r,f&&f.title&&(f.title.margin+=r));t&&(d.chart.marginRight+=t,h&&h.title&&
(h.title.margin+=t));return t+r};Y("base",{draw:function(b,e){return new Na.Chart(b,e)},init:function(d,e,g){this.dataObj=e=ba({},e);e.chart=e.chart||e.graph;delete e.graph;if(!e.chart)return{series:[]};this.containerElement=d;this.config={};this.smartLabel=new E(g.id,document.getElementsByTagName("body")[0]||d,b(e.chart.useellipseswhenoverflow,e.chart.useellipsewhenoverflow,1));this.linkClickFN=gb(e,this.chartInstance);this.numberFormatter=new bb(e.chart,this);if(!this.standaloneInit)return new h.createDialog(d,
g.jsVars.msgStore.ChartNotSupported);return this.chart(d.offsetWidth||parseFloat(d.style.width),d.offsetHeight||parseFloat(d.style.height),g)},chart:function(d,k){var l=this.name,f=this.dataObj,h,p,n,x,o,w,r=this.defaultSeriesType,y,v,q=f.chart,S,F,L,N,D;h=ib(f,d,k,this);D=h.chart;N=h.xAxis;y=h[C];h.labels.smartLabel=w=y.smartLabel=this.smartLabel;y.width=d;y.height=k;v=h.plotOptions;y.isDual=this.isDual;y.numberFormatter=this.numberFormatter;y.axisGridManager=new ka(r,q);D.is3D=p=y.is3d=/3d$/.test(r);
D.isBar=n=y.isBar=this.isBar;L=q.useroundedges==1;x=p?ya.chart3D:ya.chart2D;D.events.click=h.plotOptions.series.point.events.click=this.linkClickFN;D.defaultSeriesType=r;var E=q.palette>0&&q.palette<6?q.palette:b(this.paletteIndex,1);E-=1;D.paletteIndex=E;D.usePerPointLabelColor=q.colorlabelsfromplot==wb;D.useRoundEdges=L&&!p&&!this.distributedColumns&&this.defaultSeriesType!=="pie";if(e(q.clickurl)!==void 0)D.link=q.clickurl,D.style.cursor="pointer",h.plotOptions.series.point.events.click=function(){D.events.click.call({link:q.clickurl})};
var Q=e(q.basefont,"Verdana"),T=tb(q.basefontsize,10),R=e(q.basefontcolor,g[x.baseFontColor][E]);S=e(q.outcnvbasefont,Q);var W=tb(q.outcnvbasefontsize,T),V=W+hb,aa=e(q.outcnvbasefontcolor,R).replace(/^#?([a-f0-9]+)/ig,"#$1"),Y;T+=hb;R=R.replace(/^#?([a-f0-9]+)/ig,"#$1");y.trendStyle=y.outCanvasStyle={fontFamily:S,color:aa,fontSize:V};o=Xa(y.trendStyle);y.inCanvasStyle={fontFamily:Q,fontSize:T,color:R};Y=Xa(y.inCanvasStyle);y.divlineStyle={fontFamily:Q,fontSize:T,color:R,lineHeight:Y};N.labels.style=
{fontFamily:S,fontSize:V,lineHeight:o,color:aa};h.yAxis[0].labels.style={fontFamily:S,fontSize:V,lineHeight:o,color:aa};h.yAxis[1].labels.style={fontFamily:S,fontSize:V,lineHeight:o,color:aa};h.legend.itemStyle={fontFamily:S,fontSize:V,lineHeight:o,color:aa};h.plotOptions.series.dataLabels.style={fontFamily:Q,fontSize:T,lineHeight:Y,color:R};h.plotOptions.series.dataLabels.color=h.plotOptions.series.dataLabels.style.color;h.tooltip.style={fontFamily:Q,fontSize:T,lineHeight:Y,color:R};h.title.style=
{fontFamily:S,color:aa,fontSize:W+3+hb,fontWeight:"bold"};Xa(h.title.style);h.subtitle.style={fontFamily:S,color:aa,fontSize:W+b(this.subTitleFontSizeExtender,1)+hb,fontWeight:I(this.subTitleFontWeight,"bold")};Xa(h.subtitle.style);N.title.style={fontFamily:S,color:aa,fontSize:V,fontWeight:"bold"};Q=Xa(N.title.style);h.yAxis[0].title.style={fontFamily:S,color:aa,fontSize:V,lineHeight:Q,fontWeight:"bold"};h.yAxis[1].title.style={fontFamily:S,color:aa,fontSize:V,lineHeight:Q,fontWeight:"bold"};h.orphanStyles=
{defaultStyle:{style:ba({},y.inCanvasStyle)}};this.parseStyles(h);delete h.xAxis.labels.style.backgroundColor;delete h.xAxis.labels.style.borderColor;delete h.yAxis[0].labels.style.backgroundColor;delete h.yAxis[0].labels.style.borderColor;delete h.yAxis[1].labels.style.backgroundColor;delete h.yAxis[1].labels.style.borderColor;y.showTooltip=b(q.showtooltip,this.showtooltip,1);y.tooltipSepChar=e(q.tooltipsepchar,Sb);y.showValues=b(q.showvalues,this.showValues,1);y.seriesNameInToolTip=b(q.seriesnameintooltip,
1);y.showVLineLabelBorder=b(q.showvlinelabelborder,1);y.rotateVLineLabels=b(q.rotatevlinelabels,0);y.vLineColor=e(q.vlinecolor,"333333");y.vLineThickness=e(q.vlinethickness,1);y.vLineAlpha=b(q.vlinealpha,80);y.vLineLabelBgColor=e(q.vlinelabelbgcolor,"ffffff");y.vLineLabelBgAlpha=b(q.vlinelabelbgalpha,p?50:100);y.trendlineColor=e(q.trendlinecolor,"333333");y.trendlineThickness=e(q.trendlinethickness,1);y.trendlineAlpha=b(q.trendlinealpha);y.showTrendlinesOnTop=e(q.showtrendlinesontop,0);y.trendlineValuesOnOpp=
e(q.trendlinevaluesonopp,q.trendlinevaluesonright,0);y.trendlinesAreDashed=b(q.trendlinesaredashed,0);y.trendlinesDashLen=b(q.trendlinedashlen,5);y.trendlinesDashGap=b(q.trendlinedashgap,2);y.showTrendlines=e(q.showtrendlines,"1");y.showTrendlinesLabels=b(q.showtrendlinelabel,this.showTrendlineLabel,1);h.plotOptions.series.connectNullData=b(q.connectnulldata,0);D.backgroundColor={FCcolor:{color:e(q.bgcolor,g[x.bgColor][E]),alpha:e(q.bgalpha,g[x.bgAlpha][E]),angle:e(q.bgangle,g[x.bgAngle][E]),ratio:e(q.bgratio,
g[x.bgRatio][E])}};D.rotateValues=b(q.rotatevalues,0);D.placeValuesInside=b(q.placevaluesinside,0);D.valuePosition=e(q.valueposition,"auto");D.valuePadding=b(q.valuepadding,2);D.borderColor=G(e(q.bordercolor,p?"#666666":g.borderColor[E]),e(q.borderalpha,p?"100":g.borderAlpha[E]));S=b(q.showborder,p?0:1);D.borderWidth=S?b(q.borderthickness,1):0;D.plotBorderColor=G(e(q.canvasbordercolor,g.canvasBorderColor[E]),e(q.canvasborderalpha,g.canvasBorderAlpha[E]));F=Boolean(e(q.canvasborderthickness,L?0:1));
D.plotBorderWidth=p||!F?0:b(q.canvasborderthickness,D.useRoundEdges?1:2);D.bgSWF=e(q.bgimage,q.bgswf);D.bgSWFAlpha=b(q.bgimagealpha,q.bgswfalpha,100);L=e(q.bgimagedisplaymode,"none").toLowerCase();S=I(q.bgimagevalign,m).toLowerCase();V=I(q.bgimagehalign,m).toLowerCase();L=="tile"||L=="fill"||L=="fit"?(S!=Ya&&S!=t&&S!=cb&&(S=t),V!=yb&&V!=t&&V!=Ma&&(V=t)):(S!=Ya&&S!=t&&S!=cb&&(S=Ya),V!=yb&&V!=t&&V!=Ma&&(V=yb));D.bgImageDisplayMode=L;D.bgImageVAlign=S;D.bgImageHAlign=V;D.bgImageScale=b(q.bgimagescale,
100);D.logoURL=I(q.logourl);D.logoPosition=e(q.logoposition,"tl").toLowerCase();D.logoAlpha=b(q.logoalpha,100);D.logoLink=I(q.logolink);D.logoScale=b(q.logoscale,100);D.logoLeftMargin=b(q.logoleftmargin,0);D.logoTopMargin=b(q.logotopmargin,0);T=e(q.divlinecolor,g[x.divLineColor][E]);Q=e(q.divlinealpha,p?g.divLineAlpha3D[E]:g.divLineAlpha[E]);L=b(q.divlinethickness,1);S=Boolean(b(q.divlineisdashed,this.divLineIsDashed,0));V=b(q.divlinedashlen,4);aa=b(q.divlinedashgap,2);h.yAxis[0].gridLineColor=G(T,
Q);h.yAxis[0].gridLineWidth=L;h.yAxis[0].gridLineDashStyle=S?ra(V,aa,L):void 0;h.yAxis[0].alternateGridColor=n?G(e(q.alternatevgridcolor,g.altVGridColor[E]),b(q.showalternatevgridcolor,1)===1?e(q.alternatevgridalpha,g.altVGridAlpha[E]):Ea):G(e(q.alternatehgridcolor,g.altHGridColor[E]),q.showalternatehgridcolor==0?0:e(q.alternatehgridalpha,g.altHGridAlpha[E]));R=b(q.vdivlinethickness,1);W=Boolean(b(q.vdivlineisdashed,0));o=b(q.vdivlinedashlen,4);Y=b(q.vdivlinedashgap,2);N.gridLineColor=G(e(q.vdivlinecolor,
g[x.divLineColor][E]),e(q.vdivlinealpha,g.divLineAlpha[E]));N.gridLineWidth=R;N.gridLineDashStyle=W?ra(o,Y,R):void 0;N.alternateGridColor=G(e(q.alternatevgridcolor,g.altVGridColor[E]),q.showalternatehgridcolor==="1"?e(q.alternatevgridalpha,g.altVGridAlpha[E]):0);var R=e(q.canvasbgcolor,g[x.canvasBgColor][E]),ea,W=e(q.canvasbgalpha,g.canvasBgAlpha[E]);e(q.showcanvasbg,wb)==Ea&&(W="0");h.plotOptions.series.shadow=b(q.showshadow,q.showcolumnshadow,this.defaultPlotShadow,g.showShadow[E]);if(this.inversed)h.yAxis[0].reversed=
!0,h.yAxis[1].reversed=!0;if(this.isStacked)this.distributedColumns?(y.showStackTotal=Boolean(b(q.showsum,1)),o=b(q.usepercentdistribution,1),Y=b(q.showpercentvalues,0),ea=b(q.showpercentintooltip,1),y.showXAxisPercentValues=b(q.showxaxispercentvalues,1)):(y.showStackTotal=Boolean(b(this.showSum,q.showsum,0)),o=b(this.stack100percent,q.stack100percent,0),Y=b(q.showpercentvalues,o),ea=b(q.showpercentintooltip,Y)),y.showPercentValues=Y,y.showPercentInToolTip=ea,o?(y.isValueAbs=!0,v[r].stacking="percent",
y[0].stacking100Percent=!0):v[r].stacking="normal";if(this.isDual){if(q.primaryaxisonleft==="0")h.yAxis[0].opposite=!0,h.yAxis[1].opposite=!1;h.yAxis[0].showAlways=!0;h.yAxis[1].showAlways=!0}if(D.useRoundEdges){h.plotOptions.series.shadow=b(q.showshadow,q.showcolumnshadow,1);h.plotOptions.series.borderRadius=1;h.tooltip.borderRadius=2;D.plotBorderRadius=3;if(!F)D.plotBorderWidth=0;D.plotShadow=h.plotOptions.series.shadow?{enabled:!0,opacity:W/100}:0}h.plotOptions.series.maxColWidth=Math.abs(b(n?
q.maxbarheight:q.maxcolwidth,50))||1;h.title.text=B(q.caption);h.subtitle.text=B(q.subcaption);if(b(q.showtooltip,this.showtooltip)==0)h.tooltip.enabled=!1;r=h.tooltip.style;h.tooltip.backgroundColor=G(e(r.backgroundColor,q.tooltipbgcolor,g.toolTipBgColor[E]),e(q.tooltipbgalpha,100));h.tooltip.borderColor=G(e(r.borderColor,q.tooltipbordercolor,g.toolTipBorderColor[E]),e(q.tooltipborderalpha,100));r.backgroundColor=void 0;r.borderColor=void 0;r.border=void 0;h.tooltip.shadow=q.showtooltipshadow==wb?
{enabled:!0,opacity:b(z(q.tooltipbgalpha,q.tooltipborderalpha),100)/100}:!1;h.tooltip.borderWidth=b(q.tooltipborderthickness,1);if(q.tooltipborderradius)h.tooltip.borderRadius=b(q.tooltipborderradius,1);h.tooltip.style.padding=b(q.tooltippadding,this.tooltippadding,4);if(q.tooltipcolor)r.color=M(q.tooltipcolor);r=b(q.plotspacepercent,20);if(r>80||r<0)r=20;y.plotSpacePercent=h.plotOptions.series.groupPadding=r/200;p?(D.series2D3Dshift=l==="mscombi3d"?!0:Boolean(b(q.use3dlineshift,0)),D.canvasBaseColor3D=
e(q.canvasbasecolor,g.canvasBaseColor3D[E]),D.canvasBaseDepth=b(q.canvasbasedepth,10),D.canvasBgDepth=b(q.canvasbgdepth,3),D.showCanvasBg=Boolean(b(q.showcanvasbg,1)),D.showCanvasBase=Boolean(b(q.showcanvasbase,1)),n?(D.xDepth=5,D.yDepth=5,D.showCanvasBg&&(y.marginTopExtraSpace+=D.canvasBgDepth),y.marginLeftExtraSpace+=D.yDepth+(D.showCanvasBase?D.canvasBaseDepth:0),y.marginBottomExtraSpace+=5):(D.xDepth=10,D.yDepth=10,D.showCanvasBg&&(y.marginRightExtraSpace+=D.canvasBgDepth),y.marginBottomExtraSpace+=
D.yDepth+(D.showCanvasBase?D.canvasBaseDepth:0)),R=R.split(ta)[0],W=W.split(ta)[0],D.use3DLighting=Boolean(b(q.use3dlighting,1)),D.plotBackgroundColor=D.use3DLighting?{FCcolor:{color:Eb(R,85)+ta+ub(R,55),alpha:W+ta+W,ratio:Kb,angle:sb(d-(D.marginLeft+D.marginRight),k-(D.marginTop+D.marginBottom),1)}}:G(R,W),D.canvasBgColor=G(Eb(R,80),W),n=e(q.zeroplanecolor,q.divlinecolor,g[x.divLineColor][E]),x=e(q.zeroplanealpha,q.divlinealpha,g.divLineAlpha[E]),D.zeroPlaneColor=G(n,x),D.zeroPlaneBorderColor=G(e(q.zeroplanebordercolor,
n),b(q.zeroplaneshowborder,1)?x:0)):D.plotBackgroundColor={FCcolor:{color:R,alpha:W,angle:e(q.canvasbgangle,g.canvasBgAngle[E]),ratio:e(q.canvasbgratio,g.canvasBgRatio[E])}};this.parseExportOptions(h);this.preSeriesAddition&&this.preSeriesAddition(h,f,d,k);this.series(f,h,l,d,k);this.postSeriesAddition(h,f,d,k);this.spaceManager(h,f,d,k);l=b(q.drawquadrant,0);if(y.isXYPlot&&l){F=N.min;ea=N.max;var R=h.yAxis[0].min,W=h.yAxis[0].max,ia=b(q.quadrantxval,(F+ea)/2);o=b(q.quadrantyval,(R+W)/2);if(o>=R&&
o<=W&&ia>=F&&ia<=ea){v=G(e(q.quadrantlinecolor,D.plotBorderColor),e(q.quadrantlinealpha,lb));Y=b(q.quadrantlinethickness,D.plotBorderWidth);var la=b(q.quadrantlineisdashed,0),Ba=b(q.quadrantlinedashLen,4),Ja=b(q.quadrantlinedashgap,2);x=I(q.quadrantlabeltl,m);l=I(q.quadrantlabeltr,m);f=I(q.quadrantlabelbl,m);n=I(q.quadrantlabelbr,m);r=b(q.quadrantlabelpadding,3);la=la?ra(Ba,Ja,Y):void 0;N.plotLines.push({color:v,value:ia,width:Y,dashStyle:la,zIndex:3});h.yAxis[0].plotLines.push({color:v,value:o,width:Y,
dashStyle:la,zIndex:3});Y=d-D.marginRight-D.marginLeft;la=k-D.marginTop-D.marginBottom;v=y.inCanvasStyle;Ba=parseInt(v.fontSize,10);F=Y/(ea-F)*(ia-F);ea=Y-F;W=la/(W-R)*(o-R);R=la-W;F-=r;ea-=r;R-=r;W-=r;o=r+Ba+hb;ia=la-r+Ba+hb;la=r+hb;r=Y-r+hb;w.setStyle(v);R>0&&(x!==m&&F>0&&(x=w.getSmartText(x,F,R),h.labels.items.push({html:x.text,zIndex:3,style:{left:la,top:o,fontSize:v.fontSize,lineHeight:v.lineHeight,fontFamily:v.fontFamily,color:v.color}})),l!==m&&ea>0&&(x=w.getSmartText(l,ea,R),h.labels.items.push({html:x.text,
textAlign:Ma,zIndex:3,style:{left:r,top:o,fontSize:v.fontSize,lineHeight:v.lineHeight,fontFamily:v.fontFamily,color:v.color}})));W>0&&(f!==m&&F>0&&(x=w.getSmartText(f,F,W),h.labels.items.push({html:x.text,vAlign:cb,zIndex:3,style:{left:la,top:ia,fontSize:v.fontSize,lineHeight:v.lineHeight,fontFamily:v.fontFamily,color:v.color}})),n!==m&&ea>0&&(x=w.getSmartText(n,ea,W),h.labels.items.push({html:x.text,textAlign:Ma,vAlign:cb,zIndex:3,style:{left:r,top:ia,fontSize:v.fontSize,lineHeight:v.lineHeight,
fontFamily:v.fontFamily,color:v.color}})))}}if(this.hasVDivLine&&(l=b(q.numvdivlines,0)+1,l>1)){y=y.x.catCount-1;w=N.max;l=y/l;f=!0;n=N.min;var O,T=e(q.vdivlinecolor,T),Q=b(q.vdivlinealpha,Q),R=b(q.vdivlinethickness,L),W=b(q.vdivlineisdashed,S);o=b(q.vdivlinedashlen,V);Y=b(q.vdivlinedashgap,aa);(L=b(q.showalternatevgridcolor,0))&&(O=G(e(q.alternatevgridcolor,g.altVGridColor[E]),e(q.alternateVGridAlpha,g.altVGridAlpha[E])));for(E=l;E<y;E+=l,f=!f)f&&L&&N.plotBands.push({color:O,from:n,to:E,zIndex:1}),
N.plotLines.push({width:R,color:G(T,Q),dashStyle:W?ra(o,Y,R):void 0,value:E,zIndex:1}),n=E;f&&L&&N.plotBands.push({color:O,from:n,to:w,zIndex:1})}if(p&&D.xDepth>D.marginLeft)D.marginLeft=D.xDepth;return h},parseExportOptions:function(d){var e=this.dataObj.chart,g=d[C];d.exporting.enabled=!0;d.exporting.buttons.printButton.enabled=e.showprintmenuitem=="1";d.exporting.buttons.exportButton.enabled=e.exportenabled=="1"?e.exportshowmenuitem!="0":!1;d.exporting.url=Boolean(b(e.exportatclient))?I(e.exporturl):
d.exporting.url;d.exporting.filename=e.exportfilename?e.exportfilename:"FusionCharts";d.exporting.width=g.width;if(d.exporting.buttons.exportButton.enabled)d.exporting.buttons.printButton.x=-30},defaultSeriesType:m,paletteIndex:1,creditLabel:!0,placeTitle:Rb,placeLegendBottom:dc,placeLegendRight:Gb,placeHorizontalAxis:jb,placeVerticalAxis:Ib,placeHorizontalCanvasMarginAdjustment:Za,placeVerticalCanvasMarginAdjustment:Wb,placeHorizontalXYSpaceManager:function(d,k,g,f){var h=d[C],m,n,p,o=k.chart,w,
r,t,v,q=h.marginLeftExtraSpace,x=h.marginTopExtraSpace,y=h.marginBottomExtraSpace,z=h.marginRightExtraSpace;p=g-(q+z+d.chart.marginRight+d.chart.marginLeft);var B=f-(y+d.chart.marginBottom+d.chart.marginTop),D=p*0.3,g=B*0.3;m=p-D;f=B-g;w=e(o.legendposition,cb).toLowerCase();d.legend.enabled&&w===Ma&&(m-=Gb(d,k,m/2,B));r=b(o.xaxisnamepadding,5);t=b(o.labelpadding,2);v=o.rotatexaxisname!==Ea;n=h.x;n.verticalAxisNamePadding=r;n.verticalAxisValuesPadding=t;n.rotateVerticalAxisName=v;n.verticalAxisNameWidth=
b(o.xaxisnamewidth);m-=Ib(d.xAxis,n,d,k,B,m,!1,!1,p);m-=Za(d,k,m,d.xAxis);p=m+D;d.legend.enabled&&w!==Ma&&(f-=dc(d,k,p,f/2));f-=Rb(d,k,p,f/2);n=h[0];n.horizontalAxisNamePadding=b(o.yaxisnamepadding,5);n.horizontalLabelPadding=b(o.yaxisvaluespadding,2);n.labelDisplay="auto";n.staggerLines=b(o.staggerlines,2);n.slantLabels=b(o.slantlabels,0);this.xAxisMinMaxSetter(d,k,p);f-=this.placeHorizontalAxis(d.yAxis[0],n,d,k,p,f,D);f-=Wb(d,k,f,d.yAxis[0]);Jb(g+f,d,o,d.xAxis,h.x.lYLblIdx,!0);Cb(d,d.xAxis.title,
f);if(d.legend.enabled&&w===Ma){k=d.legend;h=g+f;if(k.height>h)k.height=h,k.scroll.enabled=!0,h=(k.scroll.scrollBarWidth=10)+(k.scroll.scrollBarPadding=2),k.width+=h,d.chart.marginRight+=h;k.y=20}k=(d.chart.marginLeft-b(d.chart.spacingLeft,0)-(d.chart.marginRight-b(d.chart.spacingRight,0)))/2;h=d.chart.marginLeft-b(d.chart.spacingLeft,0);o=-(d.chart.marginRight-b(d.chart.spacingRight,0));switch(d.title.align){case "left":d.title.x=h;break;case "right":d.title.x=o;break;default:d.title.x=k}switch(d.subtitle.align){case "left":d.subtitle.x=
h;break;case "right":d.subtitle.x=o;break;default:d.subtitle.x=k}d.chart.marginLeft+=q;d.chart.marginTop+=x;d.chart.marginBottom+=y;d.chart.marginRight+=z},placeVerticalXYSpaceManager:function(d,k,g,f){var h=d[C],m,n=!0,p=k.chart,o=!1,w,r,t,v=h.marginLeftExtraSpace,q=h.marginTopExtraSpace,x=h.marginBottomExtraSpace,y=h.marginRightExtraSpace,z=g-(v+y+d.chart.marginRight+d.chart.marginLeft),B=f-(x+d.chart.marginBottom+d.chart.marginTop),g=z*0.3,f=B*0.3,D=z-g,z=B-f,E=e(p.legendposition,cb).toLowerCase();
d.legend.enabled&&E===Ma&&(D-=Gb(d,k,D/2,B));w=b(p.yaxisnamepadding,5);r=b(p.yaxisvaluespadding,2);t=p.rotateyaxisname!==Ea;if(h.isDual)o=!0,m=h[1],m.verticalAxisNamePadding=w,m.verticalAxisValuesPadding=r,m.rotateVerticalAxisName=t,m.verticalAxisNameWidth=b(p.syaxisnamewidth),n=d.yAxis[1].opposite,D-=Ib(d.yAxis[1],m,d,k,B,D/2,n,o);m=h[0];m.verticalAxisNamePadding=w;m.verticalAxisValuesPadding=r;m.rotateVerticalAxisName=t;m.verticalAxisNameWidth=b(o?p.pyaxisnamewidth:p.yaxisnamewidth);D-=Ib(d.yAxis[0],
m,d,k,B,D,!n,o);D-=Za(d,k,D,d.yAxis[0],d.yAxis[1]);n=D+g;d.legend.enabled&&E!==Ma&&(z-=dc(d,k,n,z/2));z-=Rb(d,k,n,z/2);m=h.x;m.horizontalAxisNamePadding=b(p.xaxisnamepadding,5);m.horizontalLabelPadding=b(p.labelpadding,2);m.labelDisplay=e(p.labeldisplay,"auto").toLowerCase();m.rotateLabels=e(p.rotatelabels,"0")=="1";m.staggerLines=b(p.staggerlines,2);m.slantLabels=b(p.slantlabels,p.slantlabel,0);this.xAxisMinMaxSetter(d,k,n);z-=this.placeHorizontalAxis(d.xAxis,m,d,k,n,z,g);z-=Wb(d,k,z,d.xAxis);o&&
(Jb(f+z,d,p,d.yAxis[1],h[1].lYLblIdx),Cb(d,d.yAxis[1].title,z));Jb(f+z,d,p,d.yAxis[0],h[0].lYLblIdx);Cb(d,d.yAxis[0].title,z);if(d.legend.enabled&&E===Ma){k=d.legend;h=f+z;if(k.height>h)k.height=h,k.scroll.enabled=!0,h=(k.scroll.scrollBarWidth=10)+(k.scroll.scrollBarPadding=2),k.width+=h,d.chart.marginRight+=h;k.y=20}k=(d.chart.marginLeft-b(d.chart.spacingLeft,0)-(d.chart.marginRight-b(d.chart.spacingRight,0)))/2;h=d.chart.marginLeft-b(d.chart.spacingLeft,0);p=-(d.chart.marginRight-b(d.chart.spacingRight,
0));switch(d.title.align){case "left":d.title.x=h;break;case "right":d.title.x=p;break;default:d.title.x=k}switch(d.subtitle.align){case "left":d.subtitle.x=h;break;case "right":d.subtitle.x=p;break;default:d.subtitle.x=k}d.chart.marginLeft+=v;d.chart.marginTop+=q;d.chart.marginBottom+=x;d.chart.marginRight+=y},placeVerticalAxisTitle:Cb,spaceManager:function(){return this.placeVerticalXYSpaceManager.apply(this,arguments)},xAxisMinMaxSetter:function(d,e,g){var f=d[C],h=f.x,m=e.chart,n=h.min=b(h.min,
0),p=h.max=b(h.max,h.catCount-1),o,t=0,r=0,x=d.chart.defaultSeriesType,v=/^(column|column3d|bar|bar3d|floatedcolumn|sparkwinloss)$/.test(x);/^(line|area|spline|areaspline)$/.test(x);var x=/^(scatter|bubble|candlestick)$/.test(x),q=d.xAxis,y=q.scroll,z=o=Math.min(b(m.canvaspadding,0),g/2-10);if(h.adjustMinMax){var p=n=!b(m.setadaptivexmin,1),B=b(this.numVDivLines,m.numvdivlines,4),E=m.adjustvdiv!==Ea,D=b(m.showxaxisvalues,m.showxaxisvalue,1),I=b(m.showvlimits,D),D=b(m.showvdivlinevalue,m.showvdivlinevalues,
D);Bb(q,h,m.xaxismaxvalue,m.xaxisminvalue,n,p,B,E);n=q.min;p=q.max;h.requaredAutoNumeicLabels&&(B=b(parseInt(m.xaxisvaluesstep,10),1),Mb(m,d,q,h,I,D,B<1?1:B,f.numberFormatter,!1,!0));q.plotLines.sort(hc)}q.labels.enabled=!1;q.gridLineWidth=0;q.alternateGridColor=T;if((v||f.isScroll)&&!f.hasNoColumn)r=f.isBar?t=0.55:t=0.5;f.is3d&&(z+=b(d.chart.xDepth,0));d=(g-(z+o))/(p-n+(t+r));q.min=n-(t+z/d);q.max=p+(r+o/d);if(y&&y.enabled)t=y.vxLength,r=y.startPercent,d=q.max-q.min,y.viewPortMin=q.min,y.viewPortMax=
q.max,y.scrollRatio=t/d,q.min+=(d-t)*r,q.max=q.min+t;x&&e.vtrendlines&&la(e.vtrendlines,q,f,!1,!0,!0)},postSeriesAddition:function(b){var e=b[C],g=e.isBar,f=e.is3d,h=b.chart.rotateValues&&!g?270:0;if(this.isStacked&&e.showStackTotal){var m,n,p,o=1-e.plotSpacePercent,t,r,x,v,q,y,z,B,E,D=ba({},b.plotOptions.series.dataLabels.style),I=parseFloat(D.fontSize);n=e[0];var G=!n.stacking100Percent;D.color=b.plotOptions.series.dataLabels.color;p=n.stack;for(m in p){n=p[m].length;t=o/n;x=-(o-t)/2;for(r=0;r<
n;r+=1,x+=t){z=p[m][r];y=0;for(q=z.length;y<q;y+=1)B=z[y],v=y,E=v+x,v=(B.n||0)+(B.p||0),B=v<0?B.n:B.p,b.xAxis.plotLines.push({value:E,width:0,isVline:G,isTrend:!G,zIndex:4,label:{align:R,textAlign:!f&&h===270?v<0?Ma:yb:R,offsetScale:G?B:void 0,offsetScaleIndex:0,rotation:h,style:D,verticalAlign:Ya,y:g?0:v<0?h===270?4:I:-4,x:0,text:e.numberFormatter.yAxis(v)}})}}}},styleMapForFont:db,styleApplicationDefinition_font:function(b,e,g){var f,h=!1,m,n,p,o=this.styleMapForFont;switch(e){case "caption":e=
b.title;break;case "datalabels":e=b.xAxis.labels;break;case "datavalues":e=b.plotOptions.series.dataLabels;h=!0;break;case "subcaption":e=b.subtitle;break;case "tooltip":e=b.tooltip;break;case "trendvalues":e={style:b[C].trendStyle};break;case "xaxisname":e=b.xAxis.title;break;case "yaxisname":e=[];m=0;for(n=b.yAxis.length;m<n;m+=1)e.push(b.yAxis[m].title);break;case "yaxisvalues":e=[];m=0;for(n=b.yAxis.length;m<n;m+=1)e.push(b.yAxis[m].labels);break;case "vlinelabels":e={style:b[C].divlineStyle};
break;case "legend":e={style:b.legend.itemStyle};break;default:b.orphanStyles[e]=e={text:"",style:{}}}if(typeof e==="object")if(e instanceof Array){m=0;for(n=e.length;m<n;m+=1){p=e[m];for(f in g)if(b=f.toLowerCase(),typeof o[b]==="function")o[b](g[f],p,h);Xa(p.style)}}else{for(f in g)if(b=f.toLowerCase(),typeof o[b]==="function")o[b](g[f],e,h);Xa(e.style)}},parseStyles:function(b){var e,g,f,h={},m,n=this.dataObj;if(n.styles&&n.styles.definition instanceof Array&&n.styles.application instanceof Array){for(e=
0;e<n.styles.definition.length;e+=1)g=n.styles.definition[e],g.type&&g.name&&this["styleApplicationDefinition_"+g.type.toLowerCase()]&&(h[g.name.toLowerCase()]=g);for(e=0;e<n.styles.application.length;e+=1){g=n.styles.application[e].styles&&n.styles.application[e].styles.split(ta)||[];for(m=0;m<g.length;m+=1)if(f=g[m].toLowerCase(),h[f]&&n.styles.application[e].toobject)this["styleApplicationDefinition_"+h[f].type.toLowerCase()](b,n.styles.application[e].toobject.toLowerCase(),h[f])}}},dispose:function(){this.smartLabel&&
this.smartLabel.dispose()}});Y("stub",{standaloneInit:!0},Y.base);Y("barbase",{spaceManager:function(){return this.placeHorizontalXYSpaceManager.apply(this,arguments)}},Y.base);Y("singleseries",{series:function(b,e,g){var f=b.data||b.dataset&&b.dataset[0]&&b.dataset[0].data;if(f&&f.length>0)e.legend.enabled=!1,g=this.point(g,{data:[],colorByPoint:!0},f,b.chart,e),g instanceof Array?e.series=e.series.concat(g):e.series.push(g),this.configureAxis(e,b),b.trendlines&&la(b.trendlines,e.yAxis,e[C],!1,this.isBar)},
defaultSeriesType:m,configureAxis:function(d,e){var g=d[C],f=e.chart,h,m,n,p,o,t,r,x,v,q,y,z;p=this.numberFormatter;var E;d.xAxis.title.text=B(f.xaxisname);E=b(parseInt(f.yaxisvaluesstep,10),parseInt(f.yaxisvaluestep,10),1);E=E<1?1:E;h=d.yAxis[0];m=g[0];g.isDual?(n=p.getCleanValue(f.pyaxismaxvalue),p=p.getCleanValue(f.pyaxisminvalue),h.title.text=B(f.pyaxisname)):(n=p.getCleanValue(f.yaxismaxvalue),p=p.getCleanValue(f.yaxisminvalue),h.title.text=B(f.yaxisname));r=b(this.isStacked?0:this.setAdaptiveYMin,
f.setadaptiveymin,0);t=o=!r;x=b(g.numdivlines,f.numdivlines,this.numdivlines,4);v=f.adjustdiv!==Ea;q=b(this.showYAxisValues,f.showyaxisvalues,f.showyaxisvalue,1);y=b(f.showlimits,q);z=b(f.showdivlinevalue,f.showdivlinevalues,q);Bb(h,m,n,p,o,t,x,v);Mb(f,d,h,m,y,z,E,g.numberFormatter,!1);if(h.reversed&&h.min>=0)d.plotOptions.series.threshold=h.max;if(g.isDual)n=f.syaxismaxvalue,p=f.syaxisminvalue,r=b(f.setadaptivesymin,r),t=o=!r,y=b(f.showsecondarylimits,y),z=b(f.showdivlinesecondaryvalue,q),h=d.yAxis[1],
m=g[1],Bb(h,m,n,p,o,t,x,v),Mb(f,d,h,m,y,z,E,g.numberFormatter,!0),h.title.text=B(f.syaxisname)},pointValueWatcher:function(d,g,h,f,m,p,n){if(g!==null){d=d[C];h=b(h,0);d[h]||(d[h]={});h=d[h];if(f)this.distributedColumns&&(d.marimekkoTotal+=g),f=h.stack,m=b(m,0),p=b(p,0),n=e(n,ea),f[n]||(f[n]=[]),n=f[n],n[p]||(n[p]=[]),p=n[p],p[m]||(p[m]={}),m=p[m],g>=0?m.p?g=m.p+=g:m.p=g:m.n?g=m.n+=g:m.n=g;h.max=h.max>g?h.max:g;h.min=h.min<g?h.min:g}},getPointStub:function(d,g,h,f){var f=f[C],g=g===null?g:f.numberFormatter.dataLabels(g),
s=I(B(d.tooltext)),p=I(B(d.displayvalue)),h=f.showTooltip?s!==void 0?s:g===null?!1:h!==m?h+f.tooltipSepChar+g:g:m,f=b(d.showvalue,f.showValues)?p!==void 0?p:g:m,d=e(d.link);return{displayValue:f,toolText:h,link:d}}},Y.base);Y("multiseries",{series:function(d,e,g){var f,h,m=e[C],n;e.legend.enabled=Boolean(b(d.chart.showlegend,1));if(d.dataset&&d.dataset.length>0){this.categoryAdder(d,e);f=0;for(h=d.dataset.length;f<h;f+=1)n={data:[]},n=this.point(g,n,d.dataset[f],d.chart,e,m.oriCatTmp.length,f),n instanceof
Array?e.series=e.series.concat(n):e.series.push(n);this.configureAxis(e,d);d.trendlines&&!this.isLog&&la(d.trendlines,e.yAxis,m,!1,this.isBar)}},categoryAdder:function(d,e){var g,f=0,h=e[C],p=h.axisGridManager,n=d.chart,t=e.xAxis,o,h=h.x;if(d.categories&&d.categories[0]&&d.categories[0].category){if(d.categories[0].font)e.xAxis.labels.style.fontFamily=d.categories[0].font;if((g=b(d.categories[0].fontsize))!==void 0)g<1&&(g=1),e.xAxis.labels.style.fontSize=g+hb,Xa(e.xAxis.labels.style);if(d.categories[0].fontcolor)e.xAxis.labels.style.color=
d.categories[0].fontcolor.split(ta)[0].replace(/^\#?/,"#");var w=e[C].oriCatTmp,r=d.categories[0].category;for(g=0;g<r.length;g+=1)r[g].vline?p.addVline(t,r[g],f,e):(o=(o=b(r[g].showlabel,n.showlabels,1))?B(y(d.categories[0].category[g].label,d.categories[0].category[g].name)):m,p.addXaxisCat(t,f,f,o),w[f]=y(B(d.categories[0].category[g].tooltext),o),f+=1)}h.catCount=f},getPointStub:function(d,g,h,f,s,p,n){var t,f=f[C],o,w,g=g===null?g:f.numberFormatter.dataLabels(g,n===1?!0:!1),r,x=I(B(d.tooltext)),
n=f.tooltipSepChar;f.showTooltip?x!==void 0?s=x:g===null?s=!1:(f.seriesNameInToolTip&&(r=y(s&&s.seriesname)),s=r?r+n:m,s+=h?h+n:m,f.showPercentInToolTip?w=!0:s+=g):s=!1;b(d.showvalue,p)?I(d.displayvalue)!==void 0?t=d.displayvalue:f.showPercentValues?o=!0:t=g:t=m;d=e(d.link);return{displayValue:t,toolText:s,link:d,showPercentValues:o,showPercentInToolTip:w}}},Y.singleseries);var Xb=function(b,e){return b-e};Y("xybase",{hideRLine:function(){var b=this.chart.series[this.index+1];b&&b.hide&&b.hide()},
showRLine:function(){var b=this.chart.series[this.index+1];b&&b.show&&b.show()},getRegressionLineSeries:function(b,e,g){var f,h,m,n;n=b.sumXY;var p=b.sumX,o=b.sumY;h=b.xValues;m=b.sumXsqure;f=b.yValues;b=b.sumYsqure;e?(h.sort(Xb),f=h[0],h=h[h.length-1],n=(g*n-p*o)/(g*m-Math.pow(p,2)),m=!isNaN(n)?n*(f-p/g)+o/g:o/g,g=!isNaN(n)?n*(h-p/g)+o/g:o/g,g=[{x:f,y:m},{x:h,y:g}]):(f.sort(Xb),m=f[0],f=f[f.length-1],n=(g*n-p*o)/(g*b-Math.pow(o,2)),h=!isNaN(n)?n*(m-o/g)+p/g:p/g,g=!isNaN(n)?n*(f-o/g)+p/g:p/g,g=[{x:h,
y:m},{x:g,y:f}]);return g},pointValueWatcher:function(b,e,g,f){var h=b[C];if(e!==null)b=h[0],b.max=b.max>e?b.max:e,b.min=b.min<e?b.min:e;if(g!==null)b=h.x,b.max=b.max>g?b.max:g,b.min=b.min<g?b.min:g;f&&(g=g||0,e=e||0,f.sumX+=g,f.sumY+=e,f.sumXY+=g*e,f.sumXsqure+=Math.pow(g,2),f.xValues.push(g),f.sumYsqure+=Math.pow(e,2),f.yValues.push(e))}},Y.multiseries);Y("scrollbase",{postSeriesAddition:function(d,k){d.chart.hasScroll=!0;var h=d.xAxis.scroll,f=d[C],m=f.width,p=f.x.catCount,n=k.chart;f.isScroll=
!0;if(this.isStacked)t=1;else{var t=0,o=0,w,r=d.series,x,v=d.chart.defaultSeriesType;for(w=r.length;o<w;o++)x=e(r[o].type,v),x==="column"&&(t+=1);t<1&&(t=1)}p*=t;m=b(n.numvisibleplot,Math.floor(m/this.avgScrollPointWidth));if(h&&m>=2&&m<p)h.enabled=!0,h.vxLength=m/t,h.startPercent=n.scrolltoend===wb?1:0,h.padding=b(n.scrollpadding,d.chart.plotBorderWidth/2),h.height=b(n.scrollheight,16),h.buttonWidth=b(n.scrollbtnwidth,n.scrollheight,16),h.buttonPadding=b(n.scrollbtnpadding,0),h.color=M(e(n.scrollcolor,
g.altHGridColor[d.chart.paletteIndex])),f.marginBottomExtraSpace+=h.padding+h.height}},Y.multiseries);db=Y.singleseries;jb=Y.multiseries;Y("column2dbase",{point:function(d,h,l,f,s){var t,n,z,o,w,r,E,v,q,S,d=l.length;t=s[C];var I=t.axisGridManager,L=s.xAxis,N=s.chart.paletteIndex,D=t.x,G=s.colors,F=s.colors.length,M=/3d$/.test(s.chart.defaultSeriesType),Q=this.isBar,R=e(f.showplotborder,M?Ea:wb)===wb?M?1:b(f.plotborderthickness,1):0,T=s.chart.useRoundEdges,W=b(f.plotborderalpha,f.plotfillalpha,100),
V=e(f.plotbordercolor,g.plotBorderColor[N]).split(ta)[0],Y=0,aa=Boolean(b(f.use3dlighting,1)),ea=s[C].numberFormatter,Ba=b(f.plotborderdashed,0),ka=b(f.plotborderdashlen,5),O=b(f.plotborderdashgap,4);for(z=n=0;n<d;n+=1)v=l[n],v.vline?I.addVline(L,v,Y,s):(t=ea.getCleanValue(v.value),o=b(v.showlabel,f.showlabels,1),o=B(!o?m:y(v.label,v.name)),I.addXaxisCat(L,Y,Y,o),Y+=1,w=e(v.color,G[z%F])+ta+p(f.plotgradientcolor,g.plotGradientColor[N]),r=e(v.alpha,f.plotfillalpha,lb),E=e(v.ratio,f.plotfillratio),
q=e(360-f.plotfillangle,90),t<0&&(q=360-q),S={opacity:r/100,inverted:Q},w=x(w,r,E,q,T,V,e(v.alpha,W)+m,Q,M),r=b(v.dashed,Ba)?ra(e(v.dashlen,ka),e(v.dashgap,O),R):void 0,h.data.push(ba(this.getPointStub(v,t,o,s),{y:t,shadow:S,color:w[0],borderColor:w[1],borderWidth:R,use3DLighting:aa,dashStyle:r})),this.pointValueWatcher(s,t),z+=1);D.catCount=Y;return h},defaultSeriesType:"column"},db);Y("linebase",{defaultSeriesType:"line",hasVDivLine:!0,defaultPlotShadow:1,point:function(d,h,l,f,p){var t,n,x,o,w,
r,z,v,q,E,I,L,N,D,G,F,Q,R,T,W,V,Y,aa,ea,ka,d=p.chart,Ba=l.length,ia=p.xAxis;t=p[C];var O=t.axisGridManager,J=0,ga=t.x,P=p.chart.paletteIndex,ha=p[C].numberFormatter;G=M(e(f.linecolor,f.palettecolors,g.plotFillColor[P]));F=e(f.linealpha,lb);L=b(f.linethickness,this.lineThickness,4);N=Boolean(b(f.linedashed,0));v=b(f.linedashlen,5);q=b(f.linedashgap,4);h.color={FCcolor:{color:G,alpha:F}};h.lineWidth=L;h.step=this.stepLine;h.drawVerticalJoins=Boolean(b(f.drawverticaljoins,1));h.kagi=this.isKagi;D=b(f.drawanchors,
f.showanchors);for(w=n=0;n<Ba;n+=1)o=l[n],o.vline?O.addVline(ia,o,J,p):(t=ha.getCleanValue(o.value),x=b(o.showlabel,f.showlabels,1),x=B(!x?m:y(o.label,o.name)),O.addXaxisCat(ia,J,J,x),J+=1,E=M(e(o.color,G)),I=e(o.alpha,F),r=e(o.dashed,N)?ra(v,q,L):void 0,z={opacity:I/100},R=b(o.anchorsides,f.anchorsides,0),ka=b(o.anchorstartangle,f.anchorstartangle,0),V=b(o.anchorradius,f.anchorradius,this.anchorRadius,3),W=M(e(o.anchorbordercolor,f.anchorbordercolor,G)),T=b(o.anchorborderthickness,f.anchorborderthickness,
this.anchorBorderThickness,1),Y=M(e(o.anchorbgcolor,f.anchorbgcolor,g.anchorBgColor[P])),aa=e(o.anchoralpha,f.anchoralpha,lb),ea=e(o.anchorbgalpha,f.anchorbgalpha,aa),Q=D===void 0?I!=0:!!D,h.data.push(ba(this.getPointStub(o,t,x,p),{y:t,color:{FCcolor:{color:E,alpha:I}},shadow:z,dashStyle:r,valuePosition:e(o.valueposition,d.valuePosition),marker:{enabled:!!Q,fillColor:{FCcolor:{color:Y,alpha:ea*aa/100+m}},lineColor:{FCcolor:{color:W,alpha:aa}},lineWidth:T,radius:V,startAngle:ka,symbol:vb(R)}})),this.pointValueWatcher(p,
t),w+=1);ga.catCount=J;return h}},db);Y("area2dbase",{defaultSeriesType:"area",hasVDivLine:!0,point:function(d,h,l,f,s){var t,n,x,o,w,r,z,v,q,E,G,L,N,D,F,Q,R,T,W,V,Y,aa,ea,d=s.chart,ka=l.length,ia=s.xAxis;o=s[C];var Ba=s.chart.paletteIndex,la=o.axisGridManager,O=o.x,J=0,ga=s[C].numberFormatter;o=e(f.plotfillcolor,f.areabgcolor,I(f.palettecolors)?s.colors[0]:g.plotFillColor[Ba]).split(ta)[0];aa=ta+p(f.plotgradientcolor,g.plotGradientColor[Ba]);w=e(f.plotfillalpha,f.areaalpha,"90");r=b(f.plotfillangle,
270);z=e(f.plotbordercolor,f.areabordercolor,I(f.palettecolors)?s.colors[0]:g.plotBorderColor[Ba]).split(ta)[0];v=f.showplotborder==Ea?Ea:e(f.plotborderalpha,f.plotfillalpha,f.areaalpha,lb);t=b(f.plotborderangle,270);n=Boolean(b(f.plotborderdashed,0));N=b(f.plotborderdashlen,5);R=b(f.plotborderdashgap,4);T=b(f.plotborderthickness,f.areaborderthickness,1);ea=h.fillColor={FCcolor:{color:o+aa,alpha:w,ratio:Kb,angle:r}};h.lineWidth=T;h.dashStyle=n?ra(N,R,T):void 0;h.lineColor={FCcolor:{color:z,alpha:v,
ratio:lb,angle:t}};R=Boolean(b(f.drawanchors,f.showanchors,1));for(T=n=0;n<ka;n+=1)N=l[n],N.vline?la.addVline(ia,N,J,s):(t=ga.getCleanValue(N.value),x=b(N.showlabel,f.showlabels,1),x=B(!x?m:y(N.label,N.name)),la.addXaxisCat(ia,J,J,x),J+=1,q=b(N.anchorsides,f.anchorsides,0),L=b(N.anchorstartangle,f.anchorstartangle,0),E=b(N.anchorradius,f.anchorradius,3),G=M(e(N.anchorbordercolor,f.anchorbordercolor,z)),W=b(N.anchorborderthickness,f.anchorborderthickness,1),D=M(e(N.anchorbgcolor,f.anchorbgcolor,g.anchorBgColor[Ba])),
F=e(N.anchoralpha,f.anchoralpha,this.anchorAlpha,Ea),Q=e(N.anchorbgalpha,f.anchorbgalpha,F),V=I(N.color),Y=b(N.alpha),V=V!==void 0||Y!==void 0?{FCcolor:{color:V?M(V)+aa:o,alpha:void 0===Y?pb(Y)+m:w,ratio:Kb,angle:r}}:ea,Y={opacity:Math.max(Y,v)/100,inverted:!0},h.data.push(ba(this.getPointStub(N,t,x,s),{y:t,shadow:Y,color:V,valuePosition:e(N.valueposition,d.valuePosition),marker:{enabled:R,fillColor:{FCcolor:{color:D,alpha:Q*F/100+m}},lineColor:{FCcolor:{color:G,alpha:F}},lineWidth:W,radius:E,symbol:vb(q),
startAngle:L}})),this.pointValueWatcher(s,t),T+=1);O.catCount=J;return h}},db);Y("mscolumn2dbase",{point:function(d,h,l,f,s,t,n,y){d=!1;if(l.data){var o,w,r,z,v,q,B,E,L,G,D,F,M,Q,R,T,W=l.data,V=s[C],Y=e(h.type,this.defaultSeriesType),aa=s.plotOptions[Y]&&s.plotOptions[Y].stacking,ea=e(this.isValueAbs,V.isValueAbs,!1),ka=b(l.showvalues,V.showValues),ia=b(h.yAxis,0),la=b(f.use3dlighting,1),O=s[C].numberFormatter,J=s.chart.paletteIndex,ga=b(l.dashed,f.plotborderdashed,0),P=b(l.dashlen,f.plotborderdashlen,
5),ha=b(l.dashgap,f.plotborderdashgap,4);h.name=I(l.seriesname);if(b(l.includeinlegend)===0||h.name===void 0)h.showInLegend=!1;h.color=e(l.color,s.colors[n%s.colors.length]).split(ta)[0].replace(/^#?/g,"#");E=e(f.plotborderthickness,wb);L=s.chart.useRoundEdges;G=this.isBar;D=/3d$/.test(s.chart.defaultSeriesType);F=e(f.plotbordercolor,g.plotBorderColor[J]).split(ta)[0];M=f.showplotborder==Ea?Ea:e(f.plotborderalpha,lb);M=D?f.showplotborder?M:Ea:M;F=D?e(f.plotbordercolor,"#FFFFFF"):F;for(w=0;w<t;w+=
1)(v=W[w])?(o=O.getCleanValue(v.value,ea),o===null?h.data.push({y:null}):(d=!0,Q=V.oriCatTmp[w],r=e(v.color,l.color,s.colors[n%s.colors.length])+ta+p(f.plotgradientcolor,g.plotGradientColor[J]),z=e(v.alpha,l.alpha,f.plotfillalpha,lb),q=e(v.ratio,l.ratio,f.plotfillratio),B=e(360-f.plotfillangle,90),o<0&&(B=360-B),R={opacity:z/100},T=Math.min(z,M)+m,r=x(r,z,q,B,L,F,T,G,D),z=b(v.dashed,ga)?ra(e(v.dashlen,P),e(v.dashgap,ha),E):void 0,h.data.push(ba(this.getPointStub(v,o,Q,s,l,ka,ia),{y:o,shadow:R,color:r[0],
borderColor:r[1],borderWidth:E,use3DLighting:la,dashStyle:z})),this.pointValueWatcher(s,o,ia,aa,w,y,Y))):h.data.push({y:null})}if(!d)h.showInLegend=!1;return h},defaultSeriesType:"column"},jb);Y("mslinebase",{hasVDivLine:!0,point:function(d,h,l,f,p,t,n){d=!1;if(l.data){var x,o,w,r,z,v,q,y,B,E,G,D,F,Q,R,T,W,V,Y,aa,ea,ka,ia,la,ta,O,J,ga,P;x=p.chart;var ha,sa=l.data,ca=p[C],ma=e(h.type,this.defaultSeriesType),Z=p.plotOptions[ma]&&p.plotOptions[ma].stacking,na=e(this.isValueAbs,ca.isValueAbs,!1),ya=b(l.showvalues,
ca.showValues),qa=b(h.yAxis,0),oa=this.numberFormatter;h.name=I(l.seriesname);J=M(e(l.color,f.linecolor,p.colors[n%p.colors.length]));O=e(l.alpha,f.linealpha,lb);n=b(l.linethickness,f.linethickness,2);z=Boolean(b(l.dashed,f.linedashed,0));v=b(l.linedashlen,f.linedashlen,5);q=b(l.linedashgap,f.linedashgap,4);h.color={FCcolor:{color:J,alpha:O}};h.step=this.stepLine;h.drawVerticalJoins=Boolean(b(f.drawverticaljoins,1));h.lineWidth=n;y=b(l.drawanchors,l.showanchors,f.drawanchors,f.showanchors);aa=b(l.anchorsides,
f.anchorsides,0);R=b(l.anchorstartangle,f.anchorstartangle,0);ea=b(l.anchorradius,f.anchorradius,3);ka=M(e(l.anchorbordercolor,f.anchorbordercolor,J));ia=b(l.anchorborderthickness,f.anchorborderthickness,1);la=M(e(l.anchorbgcolor,f.anchorbgcolor,g.anchorBgColor[p.chart.paletteIndex]));ta=e(l.anchoralpha,f.anchoralpha,lb);f=e(l.anchorbgalpha,f.anchorbgalpha,ta);if(b(l.includeinlegend)===0||h.name===void 0||O==0&&y!==1)h.showInLegend=!1;ha=e(l.valueposition,x.valuePosition);h.marker={fillColor:{FCcolor:{color:la,
alpha:f*ta/100+m}},lineColor:{FCcolor:{color:ka,alpha:ta+m}},lineWidth:ia,radius:ea,symbol:vb(aa),startAngle:R};for(o=0;o<t;o+=1)(V=sa[o])?(x=oa.getCleanValue(V.value,na),x===null?h.data.push({y:null}):(d=!0,T=b(V.anchorsides,aa),Q=b(V.anchorradius,ea),D=M(e(V.anchorbordercolor,ka)),F=b(V.anchorborderthickness,ia),G=M(e(V.anchorbgcolor,la)),B=e(V.anchoralpha,ta),E=e(V.anchorbgalpha,f),w=M(e(V.color,J)),r=e(V.alpha,O),P=b(V.dashed,z)?ra(v,q,n):void 0,Y={opacity:r/100},ga=y===void 0?r!=0:!!y,W=ca.oriCatTmp[o],
h.data.push(ba(this.getPointStub(V,x,W,p,l,ya,qa),{y:x,shadow:Y,dashStyle:P,color:{FCcolor:{color:w,alpha:r}},valuePosition:e(V.valueposition,ha),marker:{enabled:ga,fillColor:{FCcolor:{color:G,alpha:E*B/100+m}},lineColor:{FCcolor:{color:D,alpha:B}},lineWidth:F,radius:Q,symbol:vb(T),startAngle:e(V.anchorstartangle,R)}})),this.pointValueWatcher(p,x,qa,Z,o,0,ma))):h.data.push({y:null})}if(!d)h.showInLegend=!1;return h},defaultSeriesType:"line",defaultPlotShadow:1},jb);Y("msareabase",{hasVDivLine:!0,
point:function(d,h,l,f,s,t,n){d=!1;if(l.data){var x,o,w,r,y,v,q,z,B,E,G,D,F,I,Q,R,T,V,W,Y,aa,ea,ka,ia,la;aa=s.chart;var O=l.data,J=s[C],ga=e(h.type,this.defaultSeriesType),P=s.plotOptions[ga]&&s.plotOptions[ga].stacking,ha=e(this.isValueAbs,J.isValueAbs,!1),sa=this.linkClickFN;Y=s.chart.paletteIndex;var ca=b(l.showvalues,J.showValues),ma=b(h.yAxis,0),Z=s[C].numberFormatter;h.name=e(l.seriesname,m);if(b(l.includeinlegend)===0||h.name===void 0)h.showInLegend=!1;r=e(l.color,s.colors[n%s.colors.length]).split(ta)[0].replace(/^#?/g,
"#").split(ta)[0];this.isRadar||(r+=ta+p(f.plotgradientcolor,g.plotGradientColor[Y]));y=e(l.alpha,f.plotfillalpha,f.areaalpha,this.isRadar?"50":"70");v=b(f.plotfillangle,270);q=e(l.plotbordercolor,f.plotbordercolor,f.areabordercolor,this.isRadar?s.colors[n%s.colors.length]:g.plotFillColor[s.chart.paletteIndex]).split(ta)[0];n=e(l.showplotborder,f.showplotborder)==Ea?Ea:e(l.plotborderalpha,f.plotborderalpha,l.plotfillalpha,f.plotfillalpha,"95");z=b(f.plotborderangle,270);R=Boolean(b(l.dashed,f.plotborderdashed,
0));T=b(l.dashlen,f.plotborderdashlen,5);V=b(l.dashgap,f.plotborderdashgap,4);W=e(l.plotborderthickness,f.plotborderthickness,1);h.fillColor={FCcolor:{color:r,alpha:y,ratio:Kb,angle:v}};v=e(l.valueposition,aa.valuePosition);h.color=r;h.lineColor={FCcolor:{color:q,alpha:n,ratio:lb,angle:z}};h.lineWidth=W;h.dashStyle=R?ra(T,V,W):void 0;z=Boolean(b(f.drawanchors,f.showanchors,1));R=b(l.anchorsides,f.anchorsides,0);q=b(l.anchorstartangle,f.anchorstartangle,0);T=b(l.anchorradius,f.anchorradius,3);V=M(e(l.anchorbordercolor,
f.anchorbordercolor,r));W=b(l.anchorborderthickness,f.anchorborderthickness,1);Y=M(e(l.anchorbgcolor,f.anchorbgcolor,g.anchorBgColor[Y]));aa=b(l.anchoralpha,f.anchoralpha,this.anchorAlpha,0);ea=b(l.anchorbgalpha,f.anchorbgalpha,aa);h.marker={fillColor:{FCcolor:{color:Y,alpha:ea*aa/100+m}},lineColor:{FCcolor:{color:V,alpha:aa+m}},lineWidth:W,radius:T,symbol:vb(R),startAngle:q};for(x=0;x<t;x+=1)(w=O[x])?(f=w?Z.getCleanValue(w.value,ha):null,f===null?h.data.push({y:null}):(d=!0,o=J.oriCatTmp[x],B=b(w.anchorsides,
R),E=b(w.anchorradius,T),G=M(e(w.anchorbordercolor,V)),D=b(w.anchorborderthickness,W),F=M(e(w.anchorbgcolor,Y)),I=e(w.anchoralpha,aa),Q=e(w.anchorbgalpha,ea),ka=e(w.color,r),ia=e(w.alpha,y),la={opacity:Math.max(ia,n)/100,inverted:!0},h.data.push(ba(this.getPointStub(w,f,o,s,l,ca,ma),{y:f,shadow:la,color:{FCcolor:{color:ka,alpha:ia}},valuePosition:e(w.valueposition,v),marker:{enabled:z,fillColor:{FCcolor:{color:F,alpha:Q*I/100+m}},lineColor:{FCcolor:{color:G,alpha:I+m}},lineWidth:D,radius:E,symbol:vb(B),
startAngle:e(w.anchorstartangle,q)},events:{click:sa}})),this.pointValueWatcher(s,f,ma,P,x,0,ga))):h.data.push({y:null})}if(!d)h.showInLegend=!1;return h},defaultSeriesType:"area",defaultPlotShadow:0},jb);Y("scatterbase",{showValues:0,defaultPlotShadow:0,point:function(d,h,l,f,p,t,n){if(l.data){var x,o,w,r,z,v,q,y,B,E,F,D,R,Q,T,W,V,aa=!1,ba,ea,d=Y[d];w=b(l.drawline,0);r=b(l.drawprogressioncurve,0);var t=l.data,ia=t.length,ka=b(l.showvalues,p[C].showValues),la=this.numberFormatter,ta=b(l.showregressionline,
f.showregressionline,0);h.zIndex=1;h.name=I(l.seriesname);if(b(l.includeinlegend)===0||h.name===void 0)h.showInLegend=!1;if(w||r){if(r)h.type="spline";o=M(e(l.color,f.linecolor,p.colors[n%p.colors.length]));w=e(l.alpha,f.linealpha,lb);r=b(l.linethickness,f.linethickness,2);z=Boolean(b(l.dashed,f.linedashed,0));v=b(l.linedashlen,f.linedashlen,5);q=b(l.linedashgap,f.linedashgap,4);h.color={FCcolor:{color:o,alpha:w}};h.lineWidth=r;h.dashStyle=z?ra(v,q,r):void 0}w=Boolean(b(l.drawanchors,l.showanchors,
f.drawanchors,f.showanchors,1));r=b(l.anchorsides,f.anchorsides,n+3);z=b(l.anchorradius,f.anchorradius,3);n=M(e(l.anchorbordercolor,l.color,f.anchorbordercolor,o,p.colors[n%p.colors.length]));o=b(l.anchorborderthickness,f.anchorborderthickness,1);v=M(e(l.anchorbgcolor,f.anchorbgcolor,g.anchorBgColor[p.chart.paletteIndex]));q=e(l.anchoralpha,f.anchoralpha,lb);B=e(l.anchorbgalpha,f.anchorbgalpha,q);ba=e(l.anchorstartangle,f.anchorstartangle);h.marker={fillColor:this.getPointColor(v,lb),lineColor:{FCcolor:{color:n,
alpha:q+m}},lineWidth:o,radius:z,symbol:vb(r)};if(ta){h.events={hide:this.hideRLine,show:this.showRLine};var ya={sumX:0,sumY:0,sumXY:0,sumXsqure:0,sumYsqure:0,xValues:[],yValues:[]},O=b(l.showyonx,f.showyonx,1),J=M(e(l.regressionlinecolor,f.regressionlinecolor,n)),ga=b(l.regressionlinethickness,f.regressionlinethickness,o),f=pb(b(l.regressionlinealpha,f.regressionlinealpha,q)),J=G(J,f)}for(x=0;x<ia;x+=1)(y=t[x])?(f=la.getCleanValue(y.y),V=la.getCleanValue(y.x),f===null?h.data.push({y:null,x:V}):(aa=
!0,ea=d.getPointStub(y,f,la.xAxis(V),p,l,ka),E=b(y.anchorsides,r),F=b(y.anchorradius,z),D=M(e(y.anchorbordercolor,n)),R=b(y.anchorborderthickness,o),Q=M(e(y.anchorbgcolor,v)),T=e(y.anchoralpha,q),W=e(y.anchorbgalpha,B),h.data.push({y:f,x:V,displayValue:ea.displayValue,toolText:ea.toolText,link:ea.link,marker:{enabled:w,fillColor:{FCcolor:{color:Q,alpha:W*T/100+m}},lineColor:{FCcolor:{color:D,alpha:T}},lineWidth:R,radius:F,symbol:vb(E),startAngle:e(y.anchorstartangle,ba)}}),this.pointValueWatcher(p,
f,V,ta&&ya))):h.data.push({y:null});ta&&(l=this.getRegressionLineSeries(ya,O,ia),this.pointValueWatcher(p,l[0].y,l[0].x),this.pointValueWatcher(p,l[1].y,l[1].x),p={type:"line",color:J,showInLegend:!1,lineWidth:ga,enableMouseTracking:!1,marker:{enabled:!1},data:l,zIndex:0},h=[h,p])}if(!aa)h.showInLegend=!1;return h},categoryAdder:function(d,h){var l,f=0,p,t=h[C].x,n,x=h.xAxis,o,w;w=d.chart;var r=parseInt(w.labelstep,10),z=b(w.showlabels,1),v=e(w.xaxislabelmode,"categories").toLowerCase(),q=h[C].numberFormatter;
h._FCconf.isXYPlot=!0;r=r>1?r:1;t.catOccupied={};if(v!=="auto"&&d.categories&&d.categories[0]&&d.categories[0].category){w=d.categories[0];if(w.font)h.xAxis.labels.style.fontFamily=w.font;if((p=b(w.fontsize))!==void 0)p<1&&(p=1),h.xAxis.labels.style.fontSize=p+hb,Xa(h.xAxis.labels.style);if(w.fontcolor)h.xAxis.labels.style.color=w.fontcolor.split(ta)[0].replace(/^\#?/,"#");l=e(w.verticallinecolor,g.divLineColor[h.chart.paletteIndex]);p=b(w.verticallinethickness,1);n=b(w.verticallinealpha,g.divLineAlpha[h.chart.paletteIndex]);
var E=b(w.verticallinedashed,0),F=b(w.verticallinedashlen,4),I=b(w.verticallinedashgap,2),N=G(l,n),D,M,Q;for(l=0;l<w.category.length;l+=1)o=w.category[l],n=q.getCleanValue(o.x),n!==null&&!o.vline&&(t.catOccupied[n]=!0,Q=b(o.showlabel,o.showname,z),D=b(o.showverticalline,o.showline,o.sl,0),M=b(o.linedashed,E),o=Q===0||f%r!==0?m:B(y(o.label,o.name)),x.plotLines.push({isGrid:!0,isCat:!0,width:D?p:0,color:N,dashStyle:ra(F,I,p,M),value:n,label:{text:o,style:x.labels.style,align:R,verticalAlign:cb,textAlign:R,
rotation:0,x:0,y:0}}),this.pointValueWatcher(h,null,n),f+=1);if(v==="mixed")t.requaredAutoNumeicLabels=b(this.requaredAutoNumeicLabels,1)}else t.requaredAutoNumeicLabels=b(this.requaredAutoNumeicLabels,1);t.adjustMinMax=!0},getPointColor:function(b,e){var g,f,b=M(b),e=pb(e);g=ub(b,70);f=Eb(b,50);return{FCcolor:{gradientUnits:"objectBoundingBox",cx:0.4,cy:0.4,r:"100%",color:g+ta+f,alpha:e+ta+e,ratio:Kb,radialGradient:!0}}},defaultSeriesType:"scatter"},Y.xybase)}})();
