/* Highmaps JS v10.3.0 (2022-10-31) (c) 2011-2021 Torstein Honsi License: www.highcharts.com/license */ (function(Z,J){"object"===typeof module&&module.exports?(J["default"]=J,module.exports=Z.document?J(Z):J):"function"===typeof define&&define.amd?define("highcharts/highmaps",function(){return J(Z)}):(Z.Highcharts&&Z.Highcharts.error(16,!0),Z.Highcharts=J(Z))})("undefined"!==typeof window?window:this,function(Z){function J(b,K,e,D){b.hasOwnProperty(K)||(b[K]=D.apply(null,e),"function"===typeof CustomEvent&&Z.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:K,module:b[K]}})))}var e= {};J(e,"Core/Globals.js",[],function(){var b;(function(b){b.SVG_NS="http://www.w3.org/2000/svg";b.product="Highcharts";b.version="10.3.0";b.win="undefined"!==typeof Z?Z:{};b.doc=b.win.document;b.svg=b.doc&&b.doc.createElementNS&&!!b.doc.createElementNS(b.SVG_NS,"svg").createSVGRect;b.userAgent=b.win.navigator&&b.win.navigator.userAgent||"";b.isChrome=-1!==b.userAgent.indexOf("Chrome");b.isFirefox=-1!==b.userAgent.indexOf("Firefox");b.isMS=/(edge|msie|trident)/i.test(b.userAgent)&&!b.win.opera;b.isSafari= !b.isChrome&&-1!==b.userAgent.indexOf("Safari");b.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(b.userAgent);b.isWebKit=-1!==b.userAgent.indexOf("AppleWebKit");b.deg2rad=2*Math.PI/360;b.hasBidiBug=b.isFirefox&&4>parseInt(b.userAgent.split("Firefox/")[1],10);b.hasTouch=!!b.win.TouchEvent;b.marginNames=["plotTop","marginRight","marginBottom","plotLeft"];b.noop=function(){};b.supportsPassiveEvents=function(){var e=!1;if(!b.isMS){var K=Object.defineProperty({},"passive",{get:function(){e=!0}}); b.win.addEventListener&&b.win.removeEventListener&&(b.win.addEventListener("testPassive",b.noop,K),b.win.removeEventListener("testPassive",b.noop,K))}return e}();b.charts=[];b.dateFormats={};b.seriesTypes={};b.symbolSizes={};b.chartCount=0})(b||(b={}));"";return b});J(e,"Core/Utilities.js",[e["Core/Globals.js"]],function(b){function e(c,g,h,H){var A=g?"Highcharts error":"Highcharts warning";32===c&&(c=""+A+": Deprecated member");var a=m(c),G=a?""+A+" #"+c+": www.highcharts.com/errors/"+c+"/":c.toString(); if("undefined"!==typeof H){var n="";a&&(G+="?");y(H,function(c,g){n+="\n - ".concat(g,": ").concat(c);a&&(G+=encodeURI(g)+"="+encodeURI(c))});G+=n}u(b,"displayError",{chart:h,code:c,message:G,params:H},function(){if(g)throw Error(G);q.console&&-1===e.messages.indexOf(G)&&console.warn(G)});e.messages.push(G)}function t(c,g){var A={};y(c,function(H,h){if(F(c[h],!0)&&!c.nodeType&&g[h])H=t(c[h],g[h]),Object.keys(H).length&&(A[h]=H);else if(F(c[h])||c[h]!==g[h]||h in c&&!(h in g))A[h]=c[h]});return A} function D(c,g){return parseInt(c,g||10)}function z(c){return"string"===typeof c}function v(c){c=Object.prototype.toString.call(c);return"[object Array]"===c||"[object Array Iterator]"===c}function F(c,g){return!!c&&"object"===typeof c&&(!g||!v(c))}function w(c){return F(c)&&"number"===typeof c.nodeType}function r(c){var g=c&&c.constructor;return!(!F(c,!0)||w(c)||!g||!g.name||"Object"===g.name)}function m(c){return"number"===typeof c&&!isNaN(c)&&Infinity>c&&-Infinity=g-1&&(g=Math.floor(h)),Math.max(0,g-(H(c,"padding-left",!0)||0)-(H(c,"padding-right",!0)||0));if("height"===g)return Math.max(0,Math.min(c.offsetHeight,c.scrollHeight)-(H(c,"padding-top",!0)||0)-(H(c, "padding-bottom",!0)||0));q.getComputedStyle||e(27,!0);if(c=q.getComputedStyle(c,void 0)){var A=c.getPropertyValue(g);f(h,"opacity"!==g)&&(A=D(A))}return A}function y(c,g,h){for(var H in c)Object.hasOwnProperty.call(c,H)&&g.call(h||c[H],c[H],H,c)}function I(c,g,h){function H(g,H){var h=c.removeEventListener||b.removeEventListenerPolyfill;h&&h.call(c,g,H,!1)}function a(h){var A;if(c.nodeName){if(g){var a={};a[g]=!0}else a=h;y(a,function(c,g){if(h[g])for(A=h[g].length;A--;)H(g,h[g][A].fn)})}}var A= "function"===typeof c&&c.prototype||c;if(Object.hasOwnProperty.call(A,"hcEvents")){var n=A.hcEvents;g?(A=n[g]||[],h?(n[g]=A.filter(function(c){return h!==c.fn}),H(g,h)):(a(n),n[g]=[])):(a(n),delete A.hcEvents)}}function u(c,g,h,H){h=h||{};if(x.createEvent&&(c.dispatchEvent||c.fireEvent&&c!==b)){var a=x.createEvent("Events");a.initEvent(g,!0,!0);h=d(a,h);c.dispatchEvent?c.dispatchEvent(h):c.fireEvent(g,h)}else if(c.hcEvents){h.target||d(h,{preventDefault:function(){h.defaultPrevented=!0},target:c, type:g});a=[];for(var A=c,n=!1;A.hcEvents;)Object.hasOwnProperty.call(A,"hcEvents")&&A.hcEvents[g]&&(a.length&&(n=!0),a.unshift.apply(a,A.hcEvents[g])),A=Object.getPrototypeOf(A);n&&a.sort(function(c,g){return c.order-g.order});a.forEach(function(g){!1===g.fn.call(c,h)&&h.preventDefault()})}H&&!h.defaultPrevented&&H.call(c,h)}var h=b.charts,x=b.doc,q=b.win;(e||(e={})).messages=[];Math.easeInOutSine=function(c){return-.5*(Math.cos(Math.PI*c)-1)};var n=Array.prototype.find?function(c,g){return c.find(g)}: function(c,g){var h,H=c.length;for(h=0;hh&&(h=c[g]);return h},arrayMin:function(c){for(var g=c.length,h=c[0];g--;)c[g]g?c=h&&(g=[1/h])));for(H=0;H=c||!a&&d<=(g[H]+(g[H+1]||g[H]))/2);H++);return n=E(n*h,-Math.round(Math.log(.001)/Math.LN10))},objectEach:y,offset:function(c){var g=x.documentElement;c=c.parentElement||c.parentNode?c.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:c.top+(q.pageYOffset||g.scrollTop)-(g.clientTop||0),left:c.left+(q.pageXOffset||g.scrollLeft)- (g.clientLeft||0),width:c.width,height:c.height}},pad:function(c,g,h){return Array((g||2)+1-String(c).replace("-","").length).join(h||"0")+c},pick:f,pInt:D,relativeLength:function(c,g,h){return/%$/.test(c)?g*parseFloat(c)/100+(h||0):parseFloat(c)},removeEvent:I,splat:function(c){return v(c)?c:[c]},stableSort:function(c,g){var h=c.length,H,a;for(a=0;a>16,(m&65280)>>8,m&255,1]:4===r&&(w=[(m&3840)>>4|(m&3840)>>8,(m&240)>>4|m&240,(m&15)<<4|m&15,1])}if(!w)for(m=e.parsers.length;m--&&!w;){var l=e.parsers[m];(r=l.regex.exec(b))&&(w=l.parse(r))}}w&&(this.rgba=w)};e.prototype.get=function(b){var w=this.input,r=this.rgba;if("object"===typeof w&&"undefined"!==typeof this.stops){var m=D(w);m.stops=[].slice.call(m.stops);this.stops.forEach(function(l,a){m.stops[a]=[m.stops[a][0],l.get(b)]});return m}return r&& K(r[0])?"rgb"===b||!b&&1===r[3]?"rgb("+r[0]+","+r[1]+","+r[2]+")":"a"===b?"".concat(r[3]):"rgba("+r.join(",")+")":w};e.prototype.brighten=function(b){var w=this.rgba;if(this.stops)this.stops.forEach(function(m){m.brighten(b)});else if(K(b)&&0!==b)for(var r=0;3>r;r++)w[r]+=z(255*b),0>w[r]&&(w[r]=0),255h?"AM":"PM",P:12>h?"am":"pm",S:m(u.getSeconds()),L:m(Math.floor(d%1E3),3)},b.dateFormats);r(u, function(c,g){for(;-1!==a.indexOf("%"+g);)a=a.replace("%"+g,"function"===typeof c?c.call(k,d):c)});return f?a.substr(0,1).toUpperCase()+a.substr(1):a};p.prototype.resolveDTLFormat=function(d){return F(d,!0)?d:(d=a(d),{main:d[0],from:d[1],to:d[2]})};p.prototype.getTimeTicks=function(a,f,k,p){var u=this,h=[],x={},q=new u.Date(f),n=a.unitRange,g=a.count||1,C;p=l(p,1);if(K(f)){u.set("Milliseconds",q,n>=d.second?0:g*Math.floor(u.get("Milliseconds",q)/g));n>=d.second&&u.set("Seconds",q,n>=d.minute?0:g* Math.floor(u.get("Seconds",q)/g));n>=d.minute&&u.set("Minutes",q,n>=d.hour?0:g*Math.floor(u.get("Minutes",q)/g));n>=d.hour&&u.set("Hours",q,n>=d.day?0:g*Math.floor(u.get("Hours",q)/g));n>=d.day&&u.set("Date",q,n>=d.month?1:Math.max(1,g*Math.floor(u.get("Date",q)/g)));if(n>=d.month){u.set("Month",q,n>=d.year?0:g*Math.floor(u.get("Month",q)/g));var c=u.get("FullYear",q)}n>=d.year&&u.set("FullYear",q,c-c%g);n===d.week&&(c=u.get("Day",q),u.set("Date",q,u.get("Date",q)-c+p+(c4*d.month||u.getTimezoneOffset(f)!==u.getTimezoneOffset(k));f=q.getTime();for(q=1;fh.length&&h.forEach(function(c){0===c%18E5&&"000000000"===u.dateFormat("%H%M%S%L", c)&&(x[c]="day")})}h.info=v(a,{higherRanks:x,totalRange:n*g});return h};p.prototype.getDateFormat=function(a,f,k,p){var u=this.dateFormat("%m-%d %H:%M:%S.%L",f),h={millisecond:15,second:12,minute:9,hour:6,day:3},x="millisecond";for(q in d){if(a===d.week&&+this.dateFormat("%w",f)===k&&"00:00:00.000"===u.substr(6)){var q="week";break}if(d[q]>a){q=x;break}if(h[q]&&u.substr(h[q])!=="01-01 00:00:00.000".substr(h[q]))break;"week"!==q&&(x=q)}return this.resolveDTLFormat(p[q]).main};return p}();"";return e}); J(e,"Core/Defaults.js",[e["Core/Chart/ChartDefaults.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Color/Palettes.js"],e["Core/Time.js"],e["Core/Utilities.js"]],function(b,e,t,D,z,v){e=e.parse;var K=v.merge,w={colors:D.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "), weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:b,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{}, labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#cccccc"},shadow:!1,itemCheckboxStyle:{position:"absolute", width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:t.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y", month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:t.isTouchDevice?25:10,headerFormat:'{point.key}
',pointFormat:'\u25cf {series.name}: {point.y}
',backgroundColor:e("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0, href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}};w.chart.styledMode=!1;"";var r=new z(K(w.global,w.time));b={defaultOptions:w,defaultTime:r,getOptions:function(){return w},setOptions:function(m){K(!0,w,m);if(m.time||m.global)t.time?t.time.update(K(w.global,w.time,m.global,m.time)):t.time=r;return w}};"";return b});J(e,"Core/Animation/Fx.js",[e["Core/Color/Color.js"], e["Core/Globals.js"],e["Core/Utilities.js"]],function(b,e,t){var K=b.parse,z=e.win,v=t.isNumber,F=t.objectEach;return function(){function b(b,m,l){this.pos=NaN;this.options=m;this.elem=b;this.prop=l}b.prototype.dSetter=function(){var b=this.paths,m=b&&b[0];b=b&&b[1];var l=this.now||0,a=[];if(1!==l&&m&&b)if(m.length===b.length&&1>l)for(var d=0;d=f+this.startTime){this.now= this.end;this.pos=1;this.update();var p=k[this.prop]=!0;F(k,function(a){!0!==a&&(p=!1)});p&&d&&d.call(a);b=!1}else this.pos=l.easing((m-this.startTime)/f),this.now=this.start+(this.end-this.start)*this.pos,this.update(),b=!0;return b};b.prototype.initPath=function(b,m,l){function a(a,h){for(;a.lengthp[1]){var B=l+ +p[1];0<=B?(p[0]=(+p[0]).toExponential(B).split("e")[0],l=B):(p[0]=p[0].split(".")[0]||0,b=20>l?(p[0]*Math.pow(10,p[1])).toFixed(l):0,p[1]=0)}B=(Math.abs(p[1]?p[0]:b)+Math.pow(10,-Math.max(l,k)-1)).toFixed(l); k=String(r(B));var y=3b?"-":"")+(y?k.substr(0,y)+d:"");b=0>+p[1]&&!E?"0":b+k.substr(y).replace(/(\d{3})(?=\d)/g,"$1"+d);l&&(b+=a+B.slice(-l));p[1]&&0!==+b&&(b+="e"+p[1]);return b}var K=b.defaultOptions,z=b.defaultTime,v=e.getNestedProperty,F=e.isNumber,w=e.pick,r=e.pInt;return{dateFormat:function(b,l,a){return z.dateFormat(b,l,a)},format:function(b,l,a){var d="{",f=!1,k=/f$/,p=/\.([0-9])/,E=K.lang,B=a&&a.time||z;a=a&&a.numberFormatter|| t;for(var y=[];b;){var m=b.indexOf(d);if(-1===m)break;var u=b.slice(0,m);if(f){u=u.split(":");d=v(u.shift()||"",l);if(u.length&&"number"===typeof d)if(u=u.join(":"),k.test(u)){var h=parseInt((u.match(p)||["","-1"])[1],10);null!==d&&(d=a(d,h,E.decimalPoint,-1a){D(b,d);for(B=k=0;B<=a;)B+=b[k].size,k++;E=b.splice(k-1,b.length)}D(b,f);for(b=b.map(function(a){return{size:a.size,targets:[a.target],align:t(a.align,.5)}});p;){for(k=b.length;k--;)a=b[k],d=(Math.min.apply(0,a.targets)+Math.max.apply(0,a.targets))/2,a.pos=e(d-a.size* a.align,0,r-a.size);k=b.length;for(p=!1;k--;)0b[k].pos&&(b[k-1].size+=b[k].size,b[k-1].targets=b[k-1].targets.concat(b[k].targets),b[k-1].align=.5,b[k-1].pos+b[k-1].size>r&&(b[k-1].pos=r-b[k-1].size),b.splice(k,1),p=!0)}l.push.apply(l,E);k=0;b.some(function(a){var d=0;return(a.targets||[]).some(function(){l[k].pos=a.pos+d;if("undefined"!==typeof m&&Math.abs(l[k].pos-l[k].target)>m)return l.slice(0,k+1).forEach(function(a){return delete a.pos}),l.reducedLen=(l.reducedLen|| r)-.1*r,l.reducedLen>.1*r&&v(l,r,m),!0;d+=l[k].size;k++;return!1})});D(l,f);return l}b.distribute=v})(z||(z={}));return z});J(e,"Core/Renderer/SVG/SVGElement.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(b,e,t,D){var z=b.animate,v=b.animObject,K=b.stop,w=t.deg2rad,r=t.doc,m=t.svg,l=t.SVG_NS,a=t.win,d=D.addEvent,f=D.attr,k=D.createElement,p=D.css,E=D.defined,B=D.erase,y=D.extend,I=D.fireEvent,u=D.isArray,h=D.isFunction, x=D.isString,q=D.merge,n=D.objectEach,g=D.pick,C=D.pInt,c=D.syncTimeout,A=D.uniqueKey;b=function(){function G(){this.element=void 0;this.onEvents={};this.opacity=1;this.renderer=void 0;this.SVG_NS=l;this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}G.prototype._defaultGetter=function(c){c=g(this[c+"Value"],this[c],this.element?this.element.getAttribute(c):null,0);/^[\-0-9\.]+$/.test(c)&&(c=parseFloat(c));return c};G.prototype._defaultSetter=function(c, g,a){a.setAttribute(g,c)};G.prototype.add=function(c){var g=this.renderer,a=this.element;c&&(this.parentGroup=c);this.parentInverted=c&&c.inverted;"undefined"!==typeof this.textStr&&"text"===this.element.nodeName&&g.buildText(this);this.added=!0;if(!c||c.handleZ||this.zIndex)var h=this.zIndexSetter();h||(c?c.element:g.box).appendChild(a);if(this.onAdd)this.onAdd();return this};G.prototype.addClass=function(c,g){var a=g?"":this.attr("class")||"";c=(c||"").split(/ /g).reduce(function(c,g){-1===a.indexOf(g)&& c.push(g);return c},a?[a]:[]).join(" ");c!==a&&this.attr("class",c);return this};G.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)};G.prototype.align=function(c,a,h){var d={},H=this.renderer,n=H.alignedObjects,f,q,k;if(c){if(this.alignOptions=c,this.alignByTranslate=a,!h||x(h))this.alignTo=f=h||"renderer",B(n,this),n.push(this),h=void 0}else c=this.alignOptions,a=this.alignByTranslate,f=this.alignTo;h=g(h,H[f],"scrollablePlotBox"===f?H.plotBox:void 0, H);f=c.align;var A=c.verticalAlign;H=(h.x||0)+(c.x||0);n=(h.y||0)+(c.y||0);"right"===f?q=1:"center"===f&&(q=2);q&&(H+=(h.width-(c.width||0))/q);d[a?"translateX":"x"]=Math.round(H);"bottom"===A?k=1:"middle"===A&&(k=2);k&&(n+=(h.height-(c.height||0))/k);d[a?"translateY":"y"]=Math.round(n);this[this.placed?"animate":"attr"](d);this.placed=!0;this.alignAttr=d;return this};G.prototype.alignSetter=function(c){var g={left:"start",center:"middle",right:"end"};g[c]&&(this.alignValue=c,this.element.setAttribute("text-anchor", g[c]))};G.prototype.animate=function(a,h,d){var H=this,f=v(g(h,this.renderer.globalAnimation,!0));h=f.defer;g(r.hidden,r.msHidden,r.webkitHidden,!1)&&(f.duration=0);0!==f.duration?(d&&(f.complete=d),c(function(){H.element&&z(H,a,f)},h)):(this.attr(a,void 0,d||f.complete),n(a,function(c,g){f.step&&f.step.call(this,c,{prop:g,pos:1,elem:this})},this));return this};G.prototype.applyTextOutline=function(c){var g=this.element;-1!==c.indexOf("contrast")&&(c=c.replace(/contrast/g,this.renderer.getContrast(g.style.fill))); var a=c.split(" ");c=a[a.length-1];if((a=a[0])&&"none"!==a&&t.svg){this.fakeTS=!0;a=a.replace(/(^[\d\.]+)(.*?)$/g,function(c,g,a){return 2*Number(g)+a});this.removeTextOutline();var h=r.createElementNS(l,"tspan");f(h,{"class":"highcharts-text-outline",fill:c,stroke:c,"stroke-width":a,"stroke-linejoin":"round"});c=g.querySelector("textPath")||g;[].forEach.call(c.childNodes,function(c){var g=c.cloneNode(!0);g.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(c){return g.removeAttribute(c)}); h.appendChild(g)});var d=0;[].forEach.call(c.querySelectorAll("text tspan"),function(c){d+=Number(c.getAttribute("dy"))});a=r.createElementNS(l,"tspan");a.textContent="\u200b";f(a,{x:Number(g.getAttribute("x")),dy:-d});h.appendChild(a);c.insertBefore(h,c.firstChild)}};G.prototype.attr=function(c,g,a,h){var d=this.element,f=this.symbolCustomAttribs,H,q=this,k,A;if("string"===typeof c&&"undefined"!==typeof g){var C=c;c={};c[C]=g}"string"===typeof c?q=(this[c+"Getter"]||this._defaultGetter).call(this, c,d):(n(c,function(g,a){k=!1;h||K(this,a);this.symbolName&&-1!==f.indexOf(a)&&(H||(this.symbolAttr(c),H=!0),k=!0);!this.rotation||"x"!==a&&"y"!==a||(this.doTransform=!0);k||(A=this[a+"Setter"]||this._defaultSetter,A.call(this,g,a,d),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(a)&&this.updateShadows(a,g,A))},this),this.afterSetters());a&&a.call(this);return q};G.prototype.clip=function(c){return this.attr("clip-path",c?"url("+this.renderer.url+"#"+c.id+ ")":"none")};G.prototype.crisp=function(c,g){g=g||c.strokeWidth||0;var a=Math.round(g)%2/2;c.x=Math.floor(c.x||this.x||0)+a;c.y=Math.floor(c.y||this.y||0)+a;c.width=Math.floor((c.width||this.width||0)-2*a);c.height=Math.floor((c.height||this.height||0)-2*a);E(c.strokeWidth)&&(c.strokeWidth=g);return c};G.prototype.complexColor=function(c,g,a){var h=this.renderer,d,f,H,k,C,x,p,G,l,b,y=[],B;I(this.renderer,"complexColor",{args:arguments},function(){c.radialGradient?f="radialGradient":c.linearGradient&& (f="linearGradient");if(f){H=c[f];C=h.gradients;x=c.stops;l=a.radialReference;u(H)&&(c[f]=H={x1:H[0],y1:H[1],x2:H[2],y2:H[3],gradientUnits:"userSpaceOnUse"});"radialGradient"===f&&l&&!E(H.gradientUnits)&&(k=H,H=q(H,h.getRadialAttr(l,k),{gradientUnits:"userSpaceOnUse"}));n(H,function(c,g){"id"!==g&&y.push(g,c)});n(x,function(c){y.push(c)});y=y.join(",");if(C[y])b=C[y].attr("id");else{H.id=b=A();var P=C[y]=h.createElement(f).attr(H).add(h.defs);P.radAttr=k;P.stops=[];x.forEach(function(c){0===c[1].indexOf("rgba")? (d=e.parse(c[1]),p=d.get("rgb"),G=d.get("a")):(p=c[1],G=1);c=h.createElement("stop").attr({offset:c[0],"stop-color":p,"stop-opacity":G}).add(P);P.stops.push(c)})}B="url("+h.url+"#"+b+")";a.setAttribute(g,B);a.gradient=y;c.toString=function(){return B}}})};G.prototype.css=function(c){var g=this.styles,a={},h=this.element,d=!g;c.color&&(c.fill=c.color);g&&n(c,function(c,h){g&&g[h]!==c&&(a[h]=c,d=!0)});if(d){g&&(c=y(g,a));if(null===c.width||"auto"===c.width)delete this.textWidth;else if("text"===h.nodeName.toLowerCase()&& c.width)var f=this.textWidth=C(c.width);this.styles=c;f&&!m&&this.renderer.forExport&&delete c.width;var H=q(c);h.namespaceURI===this.SVG_NS&&["textOutline","textOverflow","width"].forEach(function(c){return H&&delete H[c]});p(h,H);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),c.textOutline&&this.applyTextOutline(c.textOutline))}return this};G.prototype.dashstyleSetter=function(c){var a=this["stroke-width"];"inherit"===a&&(a=1);if(c=c&&c.toLowerCase()){var h=c.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(c=h.length;c--;)h[c]=""+C(h[c])*g(a,NaN);c=h.join(",").replace(/NaN/g,"none");this.element.setAttribute("stroke-dasharray",c)}};G.prototype.destroy=function(){var c=this,g=c.element||{},a=c.renderer,h=g.ownerSVGElement,d=a.isSVG&&"SPAN"===g.nodeName&&c.parentGroup||void 0;g.onclick=g.onmouseout= g.onmouseover=g.onmousemove=g.point=null;K(c);if(c.clipPath&&h){var f=c.clipPath;[].forEach.call(h.querySelectorAll("[clip-path],[CLIP-PATH]"),function(c){-1H.width)H={x:0,y:0,width:0,height:0}}else H=this.htmlGetBBox(); if(n.isSVG&&(n=H.width,c=H.height,x&&(H.height=c={"11px,17":14,"13px,20":16}[""+(u||"")+",".concat(Math.round(c))]||c),a)){x=Number(f.getAttribute("y")||0)-H.y;d={right:1,center:.5}[d||0]||0;q=a*w;u=(a-90)*w;var B=n*Math.cos(q);a=n*Math.sin(q);b=Math.cos(u);q=Math.sin(u);n=H.x+d*(n-B)+x*b;u=n+B;b=u-c*b;B=b-B;x=H.y+x-d*a+x*q;d=x+a;c=d-c*q;a=c-a;H.x=Math.min(n,u,b,B);H.y=Math.min(x,d,c,a);H.width=Math.max(n,u,b,B)-H.x;H.height=Math.max(x,d,c,a)-H.y}if(l&&(""===k||0]*>/g,"").replace(/</g,"<").replace(/>/g, ">")};G.prototype.toFront=function(){var c=this.element;c.parentNode.appendChild(c);return this};G.prototype.translate=function(c,g){return this.attr({translateX:c,translateY:g})};G.prototype.updateShadows=function(c,g,a){var h=this.shadows;if(h)for(var d=h.length;d--;)a.call(h[d],"height"===c?Math.max(g-(h[d].cutHeight||0),0):"d"===c?this.d:g,c,h[d])};G.prototype.updateTransform=function(){var c=this.scaleX,a=this.scaleY,h=this.inverted,d=this.rotation,f=this.matrix,n=this.element,q=this.translateX|| 0,k=this.translateY||0;h&&(q+=this.width,k+=this.height);q=["translate("+q+","+k+")"];E(f)&&q.push("matrix("+f.join(",")+")");h?q.push("rotate(90) scale(-1,1)"):d&&q.push("rotate("+d+" "+g(this.rotationOriginX,n.getAttribute("x"),0)+" "+g(this.rotationOriginY,n.getAttribute("y")||0)+")");(E(c)||E(a))&&q.push("scale("+g(c,1)+" "+g(a,1)+")");q.length&&!(this.text||this).textPath&&n.setAttribute("transform",q.join(" "))};G.prototype.visibilitySetter=function(c,g,a){"inherit"===c?a.removeAttribute(g): this[g]!==c&&a.setAttribute(g,c);this[g]=c};G.prototype.xGetter=function(c){"circle"===this.element.nodeName&&("x"===c?c="cx":"y"===c&&(c="cy"));return this._defaultGetter(c)};G.prototype.zIndexSetter=function(c,g){var a=this.renderer,h=this.parentGroup,d=(h||a).element||a.box,f=this.element;a=d===a.box;var n=!1;var q=this.added;var k;E(c)?(f.setAttribute("data-z-index",c),c=+c,this[g]===c&&(q=!1)):E(this[g])&&f.removeAttribute("data-z-index");this[g]=c;if(q){(c=this.zIndex)&&h&&(h.handleZ=!0);g= d.childNodes;for(k=g.length-1;0<=k&&!n;k--){h=g[k];q=h.getAttribute("data-z-index");var A=!E(q);if(h!==f)if(0>c&&A&&!a&&!k)d.insertBefore(f,g[k]),n=!0;else if(C(q)<=c||A&&(!E(c)||0<=c))d.insertBefore(f,g[k+1]||null),n=!0}n||(d.insertBefore(f,g[a?3:0]||null),n=!0)}return n};return G}();b.prototype["stroke-widthSetter"]=b.prototype.strokeSetter;b.prototype.yGetter=b.prototype.xGetter;b.prototype.matrixSetter=b.prototype.rotationOriginXSetter=b.prototype.rotationOriginYSetter=b.prototype.rotationSetter= b.prototype.scaleXSetter=b.prototype.scaleYSetter=b.prototype.translateXSetter=b.prototype.translateYSetter=b.prototype.verticalAlignSetter=function(c,g){this[g]=c;this.doTransform=!0};"";return b});J(e,"Core/Renderer/RendererRegistry.js",[e["Core/Globals.js"]],function(b){var e;(function(e){e.rendererTypes={};var t;e.getRendererType=function(b){void 0===b&&(b=t);return e.rendererTypes[b]||e.rendererTypes[t]};e.registerRendererType=function(K,v,F){e.rendererTypes[K]=v;if(!t||F)t=K,b.Renderer=v}})(e|| (e={}));return e});J(e,"Core/Renderer/SVG/SVGLabel.js",[e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(b,e){var t=this&&this.__extends||function(){var b=function(l,a){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,f){a.__proto__=f}||function(a,f){for(var d in f)f.hasOwnProperty(d)&&(a[d]=f[d])};return b(l,a)};return function(l,a){function d(){this.constructor=l}b(l,a);l.prototype=null===a?Object.create(a):(d.prototype=a.prototype,new d)}}(),K=e.defined, z=e.extend,v=e.isNumber,F=e.merge,w=e.pick,r=e.removeEvent;return function(m){function l(a,d,f,k,p,b,B,y,I,u){var h=m.call(this)||this;h.paddingLeftSetter=h.paddingSetter;h.paddingRightSetter=h.paddingSetter;h.init(a,"g");h.textStr=d;h.x=f;h.y=k;h.anchorX=b;h.anchorY=B;h.baseline=I;h.className=u;h.addClass("button"===u?"highcharts-no-tooltip":"highcharts-label");u&&h.addClass("highcharts-"+u);h.text=a.text(void 0,0,0,y).attr({zIndex:1});var x;"string"===typeof p&&((x=/^url\((.*?)\)$/.test(p))||h.renderer.symbols[p])&& (h.symbolKey=p);h.bBox=l.emptyBBox;h.padding=3;h.baselineOffset=0;h.needsBox=a.styledMode||x;h.deferredAttr={};h.alignFactor=0;return h}t(l,m);l.prototype.alignSetter=function(a){a={left:0,center:.5,right:1}[a];a!==this.alignFactor&&(this.alignFactor=a,this.bBox&&v(this.xSetting)&&this.attr({x:this.xSetting}))};l.prototype.anchorXSetter=function(a,d){this.anchorX=a;this.boxAttr(d,Math.round(a)-this.getCrispAdjust()-this.xSetting)};l.prototype.anchorYSetter=function(a,d){this.anchorY=a;this.boxAttr(d, a-this.ySetting)};l.prototype.boxAttr=function(a,d){this.box?this.box.attr(a,d):this.deferredAttr[a]=d};l.prototype.css=function(a){if(a){var d={};a=F(a);l.textProps.forEach(function(f){"undefined"!==typeof a[f]&&(d[f]=a[f],delete a[f])});this.text.css(d);var f="width"in d;"fontSize"in d||"fontWeight"in d?this.updateTextPadding():f&&this.updateBoxSize()}return b.prototype.css.call(this,a)};l.prototype.destroy=function(){r(this.element,"mouseenter");r(this.element,"mouseleave");this.text&&this.text.destroy(); this.box&&(this.box=this.box.destroy());b.prototype.destroy.call(this)};l.prototype.fillSetter=function(a,d){a&&(this.needsBox=!0);this.fill=a;this.boxAttr(d,a)};l.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var a=this.padding,d=w(this.paddingLeft,a);return{width:this.width,height:this.height,x:this.bBox.x-d,y:this.bBox.y-a}};l.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]? parseInt(this["stroke-width"],10):0)%2/2};l.prototype.heightSetter=function(a){this.heightSetting=a};l.prototype.onAdd=function(){var a=this.textStr;this.text.add(this);this.attr({text:K(a)?a:"",x:this.x,y:this.y});this.box&&K(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})};l.prototype.paddingSetter=function(a,d){v(a)?a!==this[d]&&(this[d]=a,this.updateTextPadding()):this[d]=void 0};l.prototype.rSetter=function(a,d){this.boxAttr(d,a)};l.prototype.shadow=function(a){a&&!this.renderer.styledMode&& (this.updateBoxSize(),this.box&&this.box.shadow(a));return this};l.prototype.strokeSetter=function(a,d){this.stroke=a;this.boxAttr(d,a)};l.prototype["stroke-widthSetter"]=function(a,d){a&&(this.needsBox=!0);this["stroke-width"]=a;this.boxAttr(d,a)};l.prototype["text-alignSetter"]=function(a){this.textAlign=a};l.prototype.textSetter=function(a){"undefined"!==typeof a&&this.text.attr({text:a});this.updateTextPadding()};l.prototype.updateBoxSize=function(){var a=this.text,d=a.element.style,f={},k=this.padding, p=this.bBox=v(this.widthSetting)&&v(this.heightSetting)&&!this.textAlign||!K(a.textStr)?l.emptyBBox:a.getBBox();this.width=this.getPaddedWidth();this.height=(this.heightSetting||p.height||0)+2*k;d=this.renderer.fontMetrics(d&&d.fontSize,a);this.baselineOffset=k+Math.min((this.text.firstLineMetrics||d).b,p.height||Infinity);this.heightSetting&&(this.baselineOffset+=(this.heightSetting-d.h)/2);this.needsBox&&!a.textPath&&(this.box||(a=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect(), a.addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),a.add(this)),a=this.getCrispAdjust(),f.x=a,f.y=(this.baseline?-this.baselineOffset:0)+a,f.width=Math.round(this.width),f.height=Math.round(this.height),this.box.attr(z(f,this.deferredAttr)),this.deferredAttr={})};l.prototype.updateTextPadding=function(){var a=this.text;if(!a.textPath){this.updateBoxSize();var d=this.baseline?0:this.baselineOffset,f=w(this.paddingLeft,this.padding); K(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(f+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width));if(f!==a.x||d!==a.y)a.attr("x",f),a.hasBoxWidthChanged&&(this.bBox=a.getBBox(!0)),"undefined"!==typeof d&&a.attr("y",d);a.x=f;a.y=d}};l.prototype.widthSetter=function(a){this.widthSetting=v(a)?a:void 0};l.prototype.getPaddedWidth=function(){var a=this.padding,d=w(this.paddingLeft,a);a=w(this.paddingRight,a);return(this.widthSetting||this.bBox.width|| 0)+d+a};l.prototype.xSetter=function(a){this.x=a;this.alignFactor&&(a-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0);this.xSetting=Math.round(a);this.attr("translateX",this.xSetting)};l.prototype.ySetter=function(a){this.ySetting=this.y=Math.round(a);this.attr("translateY",this.ySetting)};l.emptyBBox={width:0,height:0,x:0,y:0};l.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" ");return l}(b)}); J(e,"Core/Renderer/SVG/Symbols.js",[e["Core/Utilities.js"]],function(b){function e(b,e,m,l,a){var d=[];if(a){var f=a.start||0,k=F(a.r,m);m=F(a.r,l||m);var p=(a.end||0)-.001;l=a.innerR;var E=F(a.open,.001>Math.abs((a.end||0)-f-2*Math.PI)),B=Math.cos(f),y=Math.sin(f),I=Math.cos(p),u=Math.sin(p);f=F(a.longArc,.001>p-f-Math.PI?0:1);d.push(["M",b+k*B,e+m*y],["A",k,m,0,f,F(a.clockwise,1),b+k*I,e+m*u]);z(l)&&d.push(E?["M",b+l*I,e+l*u]:["L",b+l*I,e+l*u],["A",l,l,0,f,z(a.clockwise)?1-a.clockwise:0,b+l*B,e+ l*y]);E||d.push(["Z"])}return d}function t(b,e,m,l,a){return a&&a.r?D(b,e,m,l,a):[["M",b,e],["L",b+m,e],["L",b+m,e+l],["L",b,e+l],["Z"]]}function D(b,e,m,l,a){a=a&&a.r||0;return[["M",b+a,e],["L",b+m-a,e],["C",b+m,e,b+m,e,b+m,e+a],["L",b+m,e+l-a],["C",b+m,e+l,b+m,e+l,b+m-a,e+l],["L",b+a,e+l],["C",b,e+l,b,e+l,b,e+l-a],["L",b,e+a],["C",b,e,b,e,b+a,e]]}var z=b.defined,v=b.isNumber,F=b.pick;return{arc:e,callout:function(b,e,m,l,a){var d=Math.min(a&&a.r||0,m,l),f=d+6,k=a&&a.anchorX;a=a&&a.anchorY||0;var p= D(b,e,m,l,{r:d});if(!v(k))return p;b+k>=m?a>e+f&&a=b+k?a>e+f&&al&&k>b+f&&ka&&k>b+f&&k/g,u=[l,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(u!==d.textCache){d.textCache=u;delete d.actualWidth;for(u=y.length;u--;)k.removeChild(y[u]);e||this.ellipsis||this.width||d.textPath||-1!==l.indexOf(" ")&&(!this.noWrap||I.test(l))?""!==l&&(p&&p.appendChild(k),l=new b(l),this.modifyTree(l.nodes), l.addToDOM(k),this.modifyDOM(),this.ellipsis&&-1!==(k.textContent||"").indexOf("\u2026")&&d.attr("title",this.unescapeEntities(d.textStr||"",["<",">"])),p&&p.removeChild(k)):k.appendChild(K.createTextNode(this.unescapeEntities(l)));m(this.textOutline)&&d.applyTextOutline&&d.applyTextOutline(this.textOutline)}};d.prototype.modifyDOM=function(){var a=this,d=this.svgElement,b=F(d.element,"x");d.firstLineMetrics=void 0;for(var l;l=d.element.firstChild;)if(/^[\s\u200B]*$/.test(l.textContent||" "))d.element.removeChild(l); else break;[].forEach.call(d.element.querySelectorAll("tspan.highcharts-br"),function(f,h){f.nextSibling&&f.previousSibling&&(0===h&&1===f.previousSibling.nodeType&&(d.firstLineMetrics=d.renderer.fontMetrics(void 0,f.previousSibling)),F(f,{dy:a.getLineHeight(f.nextSibling),x:b}))});var e=this.width||0;if(e){var y=function(f,h){var k=f.textContent||"",q=k.replace(/([^\^])-/g,"$1- ").split(" "),n=!a.noWrap&&(1e){for(;q<=n;)g=Math.ceil((q+n)/2),b&&(C=y(b,g)),A=c(g,C&&C.length-1),q===n?q=n+1:A>e?n=g-1:q=g;0===n? a.textContent="":d&&n===d.length-1||(a.textContent=C||y(d||b,g))}b&&b.splice(0,g);f.actualWidth=A;f.rotation=h};d.prototype.unescapeEntities=function(a,d){l(this.renderer.escapes,function(f,k){d&&-1!==d.indexOf(f)||(a=a.toString().replace(new RegExp(f,"g"),k))});return a};return d}()});J(e,"Core/Renderer/SVG/SVGRenderer.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGLabel.js"], e["Core/Renderer/SVG/Symbols.js"],e["Core/Renderer/SVG/TextBuilder.js"],e["Core/Utilities.js"]],function(b,e,t,D,z,v,F,w,r){var m=t.charts,l=t.deg2rad,a=t.doc,d=t.isFirefox,f=t.isMS,k=t.isWebKit,p=t.noop,E=t.SVG_NS,B=t.symbolSizes,y=t.win,I=r.addEvent,u=r.attr,h=r.createElement,x=r.css,q=r.defined,n=r.destroyObjectProperties,g=r.extend,C=r.isArray,c=r.isNumber,A=r.isObject,G=r.isString,H=r.merge,O=r.pick,Q=r.pInt,K=r.uniqueKey,Y;t=function(){function p(c,a,g,h,d,n,f){this.width=this.url=this.style= this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0;this.init(c,a,g,h,d,n,f)}p.prototype.init=function(c,g,h,n,f,q,C){var k=this.createElement("svg").attr({version:"1.1","class":"highcharts-root"}),b=k.element;C||k.css(this.getStyle(n));c.appendChild(b);u(c,"dir","ltr");-1===c.innerHTML.indexOf("xmlns")&&u(b,"xmlns",this.SVG_NS);this.isSVG=!0;this.box=b;this.boxWrapper=k;this.alignedObjects= [];this.url=this.getReferenceURL();this.createElement("desc").add().element.appendChild(a.createTextNode("Created with Highcharts 10.3.0"));this.defs=this.createElement("defs").add();this.allowHTML=q;this.forExport=f;this.styledMode=C;this.gradients={};this.cache={};this.cacheKeys=[];this.imgCount=0;this.setSize(g,h,!1);var A;d&&c.getBoundingClientRect&&(g=function(){x(c,{left:0,top:0});A=c.getBoundingClientRect();x(c,{left:Math.ceil(A.left)-A.left+"px",top:Math.ceil(A.top)-A.top+"px"})},g(),this.unSubPixelFix= I(y,"resize",g))};p.prototype.definition=function(c){return(new b([c])).addToDOM(this.defs.element)};p.prototype.getReferenceURL=function(){if((d||k)&&a.getElementsByTagName("base").length){if(!q(Y)){var c=K();c=(new b([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:c},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#".concat(c,")"),fill:"rgba(0,0,0,0.001)"}}]}])).addToDOM(a.body); x(c,{position:"fixed",top:0,left:0,zIndex:9E5});var g=a.elementFromPoint(6,6);Y="hitme"===(g&&g.id);a.body.removeChild(c)}if(Y)return y.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""};p.prototype.getStyle=function(c){return this.style=g({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},c)};p.prototype.setStyle=function(c){this.boxWrapper.css(this.getStyle(c))};p.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width}; p.prototype.destroy=function(){var c=this.defs;this.box=null;this.boxWrapper=this.boxWrapper.destroy();n(this.gradients||{});this.gradients=null;c&&(this.defs=c.destroy());this.unSubPixelFix&&this.unSubPixelFix();return this.alignedObjects=null};p.prototype.createElement=function(c){var a=new this.Element;a.init(this,c);return a};p.prototype.getRadialAttr=function(c,a){return{cx:c[0]-c[2]/2+(a.cx||0)*c[2],cy:c[1]-c[2]/2+(a.cy||0)*c[2],r:(a.r||0)*c[2]}};p.prototype.buildText=function(c){(new w(c)).buildSVG()}; p.prototype.getContrast=function(c){c=e.parse(c).rgba.map(function(c){c/=255;return.03928>=c?c/12.92:Math.pow((c+.055)/1.055,2.4)});c=.2126*c[0]+.7152*c[1]+.0722*c[2];return 1.05/(c+.05)>(c+.05)/.05?"#FFFFFF":"#000000"};p.prototype.button=function(c,a,h,d,n,q,C,k,p,x){void 0===n&&(n={});var l=this.label(c,a,h,p,void 0,void 0,x,void 0,"button"),u=this.styledMode;c=n.states||{};var G=0;n=H(n);delete n.states;var P=H({color:"#333333",cursor:"pointer",fontWeight:"normal"},n.style);delete n.style;var e= b.filterUserAttributes(n);l.attr(H({padding:8,r:2},e));if(!u){e=H({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1},e);q=H(e,{fill:"#e6e6e6"},b.filterUserAttributes(q||c.hover||{}));var E=q.style;delete q.style;C=H(e,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},b.filterUserAttributes(C||c.select||{}));var y=C.style;delete C.style;k=H(e,{style:{color:"#cccccc"}},b.filterUserAttributes(k||c.disabled||{}));var B=k.style;delete k.style}I(l.element,f?"mouseover":"mouseenter",function(){3!== G&&l.setState(1)});I(l.element,f?"mouseout":"mouseleave",function(){3!==G&&l.setState(G)});l.setState=function(c){1!==c&&(l.state=G=c);l.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][c||0]);u||(l.attr([e,q,C,k][c||0]),c=[P,E,y,B][c||0],A(c)&&l.css(c))};u||(l.attr(e).css(g({cursor:"default"},P)),x&&l.text.css({pointerEvents:"none"}));return l.on("touchstart",function(c){return c.stopPropagation()}).on("click", function(c){3!==G&&d.call(l,c)})};p.prototype.crispLine=function(c,a,g){void 0===g&&(g="round");var h=c[0],d=c[1];q(h[1])&&h[1]===d[1]&&(h[1]=d[1]=Math[g](h[1])-a%2/2);q(h[2])&&h[2]===d[2]&&(h[2]=d[2]=Math[g](h[2])+a%2/2);return c};p.prototype.path=function(c){var a=this.styledMode?{}:{fill:"none"};C(c)?a.d=c:A(c)&&g(a,c);return this.createElement("path").attr(a)};p.prototype.circle=function(c,a,g){c=A(c)?c:"undefined"===typeof c?{}:{x:c,y:a,r:g};a=this.createElement("circle");a.xSetter=a.ySetter= function(c,a,g){g.setAttribute("c"+a,c)};return a.attr(c)};p.prototype.arc=function(c,a,g,h,d,n){A(c)?(h=c,a=h.y,g=h.r,c=h.x):h={innerR:h,start:d,end:n};c=this.symbol("arc",c,a,g,g,h);c.r=g;return c};p.prototype.rect=function(c,a,g,h,d,n){d=A(c)?c.r:d;var f=this.createElement("rect");c=A(c)?c:"undefined"===typeof c?{}:{x:c,y:a,width:Math.max(g,0),height:Math.max(h,0)};this.styledMode||("undefined"!==typeof n&&(c["stroke-width"]=n,c=f.crisp(c)),c.fill="none");d&&(c.r=d);f.rSetter=function(c,a,g){f.r= c;u(g,{rx:c,ry:c})};f.rGetter=function(){return f.r||0};return f.attr(c)};p.prototype.setSize=function(c,a,g){this.width=c;this.height=a;this.boxWrapper.animate({width:c,height:a},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:O(g,!0)?void 0:0});this.alignElements()};p.prototype.g=function(c){var a=this.createElement("g");return c?a.attr({"class":"highcharts-"+c}):a};p.prototype.image=function(a,g,h,d,n,f){var q={preserveAspectRatio:"none"},C=function(c, a){c.setAttributeNS?c.setAttributeNS("http://www.w3.org/1999/xlink","href",a):c.setAttribute("hc-svg-href",a)};c(g)&&(q.x=g);c(h)&&(q.y=h);c(d)&&(q.width=d);c(n)&&(q.height=n);var k=this.createElement("image").attr(q);g=function(c){C(k.element,a);f.call(k,c)};f?(C(k.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),h=new y.Image,I(h,"load",g),h.src=a,h.complete&&g({})):C(k.element,a);return k};p.prototype.symbol=function(c,d,n,f,C,k){var b=this,A=/^url\((.*?)\)$/, p=A.test(c),l=!p&&(this.symbols[c]?c:"circle"),G=l&&this.symbols[l],P;if(G){"number"===typeof d&&(P=G.call(this.symbols,Math.round(d||0),Math.round(n||0),f||0,C||0,k));var H=this.path(P);b.styledMode||H.attr("fill","none");g(H,{symbolName:l||void 0,x:d,y:n,width:f,height:C});k&&g(H,k)}else if(p){var e=c.match(A)[1];var E=H=this.image(e);E.imgwidth=O(B[e]&&B[e].width,k&&k.width);E.imgheight=O(B[e]&&B[e].height,k&&k.height);var y=function(c){return c.attr({width:c.width,height:c.height})};["width", "height"].forEach(function(c){E[c+"Setter"]=function(c,a){this[a]=c;c=this.alignByTranslate;var g=this.element,h=this.width,d=this.height,n=this.imgwidth,f=this.imgheight,C=this["img"+a];if(q(C)){var b=1;k&&"within"===k.backgroundSize&&h&&d?(b=Math.min(h/n,d/f),C=Math.round(C*b),u(g,{width:Math.round(n*b),height:Math.round(f*b)})):g&&g.setAttribute(a,C);c||this.translate(((h||0)-C*b)/2,((d||0)-C*b)/2)}}});q(d)&&E.attr({x:d,y:n});E.isImg=!0;q(E.imgwidth)&&q(E.imgheight)?y(E):(E.attr({width:0,height:0}), h("img",{onload:function(){var c=m[b.chartIndex];0===this.width&&(x(this,{position:"absolute",top:"-999em"}),a.body.appendChild(this));B[e]={width:this.width,height:this.height};E.imgwidth=this.width;E.imgheight=this.height;E.element&&y(E);this.parentNode&&this.parentNode.removeChild(this);b.imgCount--;if(!b.imgCount&&c&&!c.hasLoaded)c.onload()},src:e}),this.imgCount++)}return H};p.prototype.clipRect=function(c,a,g,h){var d=K()+"-",n=this.createElement("clipPath").attr({id:d}).add(this.defs);c=this.rect(c, a,g,h,0).add(n);c.id=d;c.clipPath=n;c.count=0;return c};p.prototype.text=function(c,a,g,h){var d={};if(h&&(this.allowHTML||!this.forExport))return this.html(c,a,g);d.x=Math.round(a||0);g&&(d.y=Math.round(g));q(c)&&(d.text=c);c=this.createElement("text").attr(d);if(!h||this.forExport&&!this.allowHTML)c.xSetter=function(c,a,g){for(var h=g.getElementsByTagName("tspan"),d=g.getAttribute(a),n=0,f;nc?c+3:Math.round(1.2*c);return{h:a,b:Math.round(.8*a),f:c}};p.prototype.rotCorr=function(c,a,g){var h=c;a&&g&&(h=Math.max(h*Math.cos(a*l),4));return{x:-c/3*Math.sin(a*l),y:h}};p.prototype.pathToSegments=function(a){for(var g=[],h=[],d={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},n=0;n":">","'":"'",'"':"""},symbols:F, draw:p});D.registerRendererType("svg",t,!0);"";return t});J(e,"Core/Renderer/HTML/HTMLElement.js",[e["Core/Globals.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(b,e,t){var K=this&&this.__extends||function(){var a=function(d,f){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,d){a.__proto__=d}||function(a,d){for(var f in d)d.hasOwnProperty(f)&&(a[f]=d[f])};return a(d,f)};return function(d,f){function k(){this.constructor=d}a(d,f);d.prototype=null===f? Object.create(f):(k.prototype=f.prototype,new k)}}(),z=b.isFirefox,v=b.isMS,F=b.isWebKit,w=b.win,r=t.css,m=t.defined,l=t.extend,a=t.pick,d=t.pInt;return function(f){function k(){return null!==f&&f.apply(this,arguments)||this}K(k,f);k.compose=function(a){if(-1===k.composedClasses.indexOf(a)){k.composedClasses.push(a);var d=k.prototype,f=a.prototype;f.getSpanCorrection=d.getSpanCorrection;f.htmlCss=d.htmlCss;f.htmlGetBBox=d.htmlGetBBox;f.htmlUpdateTransform=d.htmlUpdateTransform;f.setSpanRotation=d.setSpanRotation}return a}; k.prototype.getSpanCorrection=function(a,d,f){this.xCorr=-a*f;this.yCorr=-d};k.prototype.htmlCss=function(d){var f="SPAN"===this.element.tagName&&d&&"width"in d,k=a(f&&d.width,void 0);if(f){delete d.width;this.textWidth=k;var b=!0}d&&"ellipsis"===d.textOverflow&&(d.whiteSpace="nowrap",d.overflow="hidden");this.styles=l(this.styles,d);r(this.element,d);b&&this.htmlUpdateTransform();return this};k.prototype.htmlGetBBox=function(){var a=this.element;return{x:a.offsetLeft,y:a.offsetTop,width:a.offsetWidth, height:a.offsetHeight}};k.prototype.htmlUpdateTransform=function(){if(this.added){var a=this.renderer,f=this.element,k=this.translateX||0,b=this.translateY||0,l=this.x||0,u=this.y||0,h=this.textAlign||"left",x={left:0,center:.5,right:1}[h],q=this.styles;q=q&&q.whiteSpace;r(f,{marginLeft:k,marginTop:b});!a.styledMode&&this.shadows&&this.shadows.forEach(function(c){r(c,{marginLeft:k+1,marginTop:b+1})});this.inverted&&[].forEach.call(f.childNodes,function(c){a.invertChild(c,f)});if("SPAN"===f.tagName){var n= this.rotation,g=this.textWidth&&d(this.textWidth),C=[n,h,f.innerHTML,this.textWidth,this.textAlign].join(),c=void 0;c=!1;if(g!==this.oldTextWidth){if(this.textPxLength)var A=this.textPxLength;else r(f,{width:"",whiteSpace:q||"nowrap"}),A=f.offsetWidth;(g>this.oldTextWidth||A>g)&&(/[ \-]/.test(f.textContent||f.innerText)||"ellipsis"===f.style.textOverflow)&&(r(f,{width:A>g||n?g+"px":"auto",display:"block",whiteSpace:q||"normal"}),this.oldTextWidth=g,c=!0)}this.hasBoxWidthChanged=c;C!==this.cTT&&(c= a.fontMetrics(f.style.fontSize,f).b,!m(n)||n===(this.oldRotation||0)&&h===this.oldAlign||this.setSpanRotation(n,x,c),this.getSpanCorrection(!m(n)&&this.textPxLength||f.offsetWidth,c,x,n,h));r(f,{left:l+(this.xCorr||0)+"px",top:u+(this.yCorr||0)+"px"});this.cTT=C;this.oldRotation=n;this.oldAlign=h}}else this.alignOnAdd=!0};k.prototype.setSpanRotation=function(a,d,f){var k={},b=v&&!/Edge/.test(w.navigator.userAgent)?"-ms-transform":F?"-webkit-transform":z?"MozTransform":w.opera?"-o-transform":void 0; b&&(k[b]=k.transform="rotate("+a+"deg)",k[b+(z?"Origin":"-origin")]=k.transformOrigin=100*d+"% "+f+"px",r(this.element,k))};k.composedClasses=[];return k}(e)});J(e,"Core/Renderer/HTML/HTMLRenderer.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"]],function(b,e,t,D){var K=this&&this.__extends||function(){var b=function(l,a){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,f){a.__proto__=f}||function(a, f){for(var d in f)f.hasOwnProperty(d)&&(a[d]=f[d])};return b(l,a)};return function(l,a){function d(){this.constructor=l}b(l,a);l.prototype=null===a?Object.create(a):(d.prototype=a.prototype,new d)}}(),v=D.attr,F=D.createElement,w=D.extend,r=D.pick;return function(m){function l(){return null!==m&&m.apply(this,arguments)||this}K(l,m);l.compose=function(a){-1===l.composedClasses.indexOf(a)&&(l.composedClasses.push(a),a.prototype.html=l.prototype.html);return a};l.prototype.html=function(a,d,f){var k= this.createElement("span"),l=k.element,E=k.renderer,m=E.isSVG,y=function(a,d){["opacity","visibility"].forEach(function(h){a[h+"Setter"]=function(f,q,n){var g=a.div?a.div.style:d;e.prototype[h+"Setter"].call(this,f,q,n);g&&(g[q]=f)}});a.addedSetters=!0};k.textSetter=function(a){a!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,b.setElementHTML(this.element,r(a,"")),this.textStr=a,k.doTransform=!0)};m&&y(k,k.element.style);k.xSetter=k.ySetter=k.alignSetter=k.rotationSetter=function(a,d){"align"=== d?k.alignValue=k.textAlign=a:k[d]=a;k.doTransform=!0};k.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)};k.attr({text:a,x:Math.round(d),y:Math.round(f)}).css({position:"absolute"});E.styledMode||k.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize});l.style.whiteSpace="nowrap";k.css=k.htmlCss;m&&(k.add=function(a){var d=E.box.parentNode,h=[];if(this.parentGroup=a){var f=a.div;if(!f){for(;a;)h.push(a),a=a.parentGroup;h.reverse().forEach(function(a){function n(g, h){a[h]=g;"translateX"===h?c.left=g+"px":c.top=g+"px";a.doTransform=!0}var g=v(a.element,"class"),q=a.styles||{};f=a.div=a.div||F("div",g?{className:g}:void 0,{position:"absolute",left:(a.translateX||0)+"px",top:(a.translateY||0)+"px",display:a.display,opacity:a.opacity,cursor:q.cursor,pointerEvents:q.pointerEvents,visibility:a.visibility},f||d);var c=f.style;w(a,{classSetter:function(c){return function(a){this.element.setAttribute("class",a);c.className=a}}(f),on:function(){h[0].div&&k.on.apply({element:h[0].div, onEvents:a.onEvents},arguments);return a},translateXSetter:n,translateYSetter:n});a.addedSetters||y(a)})}}else f=d;f.appendChild(l);k.added=!0;k.alignOnAdd&&k.htmlUpdateTransform();return k});return k};l.composedClasses=[];return l}(t)});J(e,"Core/Axis/AxisDefaults.js",[],function(){var b;(function(b){b.defaultXAxisOptions={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1}, minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:"#666666",cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2, minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:"#666666"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6", gridLineWidth:void 0,tickColor:"#ccd6eb"};b.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){var b=this.axis.chart.numberFormatter;return b(this.total||0,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0}; b.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}};b.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}};b.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}};b.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}})(b||(b={}));return b});J(e,"Core/Foundation.js",[e["Core/Utilities.js"]],function(b){var e=b.addEvent,t=b.isFunction,D=b.objectEach,z=b.removeEvent,v;(function(b){b.registerEventOptions=function(b,r){b.eventOptions= b.eventOptions||{};D(r.events,function(m,l){b.eventOptions[l]!==m&&(b.eventOptions[l]&&(z(b,l,b.eventOptions[l]),delete b.eventOptions[l]),t(m)&&(b.eventOptions[l]=m,e(b,l,m)))})}})(v||(v={}));return v});J(e,"Core/Axis/Tick.js",[e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(b,e,t){var K=e.deg2rad,z=t.clamp,v=t.correctFloat,F=t.defined,w=t.destroyObjectProperties,r=t.extend,m=t.fireEvent,l=t.isNumber,a=t.merge,d=t.objectEach,f=t.pick;e=function(){function k(a,d, f,b,k){this.isNewLabel=this.isNew=!0;this.axis=a;this.pos=d;this.type=f||"";this.parameters=k||{};this.tickmarkOffset=this.parameters.tickmarkOffset;this.options=this.parameters.options;m(this,"init");f||b||this.addLabel()}k.prototype.addLabel=function(){var a=this,d=a.axis,k=d.options,e=d.chart,I=d.categories,u=d.logarithmic,h=d.names,x=a.pos,q=f(a.options&&a.options.labels,k.labels),n=d.tickPositions,g=x===n[0],C=x===n[n.length-1],c=(!q.step||1===q.step)&&1===d.tickInterval;n=n.info;var A=a.label, G;I=this.parameters.category||(I?f(I[x],h[x],x):x);u&&l(I)&&(I=v(u.lin2log(I)));if(d.dateTime)if(n){var H=e.time.resolveDTLFormat(k.dateTimeLabelFormats[!k.grid&&n.higherRanks[x]||n.unitName]);var O=H.main}else l(I)&&(O=d.dateTime.getXDateFormat(I,k.dateTimeLabelFormats||{}));a.isFirst=g;a.isLast=C;var Q={axis:d,chart:e,dateTimeLabelFormat:O,isFirst:g,isLast:C,pos:x,tick:a,tickPositionInfo:n,value:I};m(this,"labelFormat",Q);var w=function(c){return q.formatter?q.formatter.call(c,c):q.format?(c.text= d.defaultLabelFormatter.call(c,c),b.format(q.format,c,e)):d.defaultLabelFormatter.call(c,c)};k=w.call(Q,Q);var t=H&&H.list;a.shortenLabel=t?function(){for(G=0;Gq&&b-n*gu&&(p=Math.round((l-b)/Math.cos(q*K)));else if(l=b+(1-n)*g,b-n*gu&&(A=u-a.x+A*n,G=-1),A=Math.min(C,A),AA||d.autoRotation&&(x.styles||{}).width)p=A;p&&(this.shortenLabel?this.shortenLabel():(c.width=Math.floor(p)+"px",(k.style||{}).textOverflow||(c.textOverflow="ellipsis"),x.css(c)))};k.prototype.moveLabel=function(a,f){var k=this,b=k.label,l=k.axis,u=l.reversed,h=!1;b&&b.textStr===a?(k.movedLabel= b,h=!0,delete k.label):d(l.ticks,function(d){h||d.isNew||d===k||!d.label||d.label.textStr!==a||(k.movedLabel=d.label,h=!0,d.labelPos=k.movedLabel.xy,delete d.label)});if(!h&&(k.labelPos||b)){var x=k.labelPos||b.xy;b=l.horiz?u?0:l.width+l.left:x.x;l=l.horiz?x.y:u?l.width+l.left:0;k.movedLabel=k.createLabel({x:b,y:l},a,f);k.movedLabel&&k.movedLabel.attr({opacity:0})}};k.prototype.render=function(a,d,k){var b=this.axis,l=b.horiz,u=this.pos,h=f(this.tickmarkOffset,b.tickmarkOffset);u=this.getPosition(l, u,h,d);h=u.x;var x=u.y;b=l&&h===b.pos+b.len||!l&&x===b.pos?-1:1;l=f(k,this.label&&this.label.newOpacity,1);k=f(k,1);this.isActive=!0;this.renderGridLine(d,k,b);this.renderMark(u,k,b);this.renderLabel(u,d,l,a);this.isNew=!1;m(this,"afterRender")};k.prototype.renderGridLine=function(a,d,k){var b=this.axis,l=b.options,u={},h=this.pos,x=this.type,q=f(this.tickmarkOffset,b.tickmarkOffset),n=b.chart.renderer,g=this.gridLine,C=l.gridLineWidth,c=l.gridLineColor,A=l.gridLineDashStyle;"minor"===this.type&& (C=l.minorGridLineWidth,c=l.minorGridLineColor,A=l.minorGridLineDashStyle);g||(b.chart.styledMode||(u.stroke=c,u["stroke-width"]=C||0,u.dashstyle=A),x||(u.zIndex=1),a&&(d=0),this.gridLine=g=n.path().attr(u).addClass("highcharts-"+(x?x+"-":"")+"grid-line").add(b.gridGroup));if(g&&(k=b.getPlotLinePath({value:h+q,lineWidth:g.strokeWidth()*k,force:"pass",old:a})))g[a||this.isNew?"attr":"animate"]({d:k,opacity:d})};k.prototype.renderMark=function(a,d,k){var b=this.axis,l=b.options,u=b.chart.renderer,h= this.type,x=b.tickSize(h?h+"Tick":"tick"),q=a.x;a=a.y;var n=f(l["minor"!==h?"tickWidth":"minorTickWidth"],!h&&b.isXAxis?1:0);l=l["minor"!==h?"tickColor":"minorTickColor"];var g=this.mark,C=!g;x&&(b.opposite&&(x[0]=-x[0]),g||(this.mark=g=u.path().addClass("highcharts-"+(h?h+"-":"")+"tick").add(b.axisGroup),b.chart.styledMode||g.attr({stroke:l,"stroke-width":n})),g[C?"attr":"animate"]({d:this.getMarkPath(q,a,x[0],g.strokeWidth()*k,b.horiz,u),opacity:d}))};k.prototype.renderLabel=function(a,d,b,k){var p= this.axis,u=p.horiz,h=p.options,x=this.label,q=h.labels,n=q.step;p=f(this.tickmarkOffset,p.tickmarkOffset);var g=a.x;a=a.y;var C=!0;x&&l(g)&&(x.xy=a=this.getLabelPosition(g,a,x,u,q,p,k,n),this.isFirst&&!this.isLast&&!h.showFirstLabel||this.isLast&&!this.isFirst&&!h.showLastLabel?C=!1:!u||q.step||q.rotation||d||0===b||this.handleOverflow(a),n&&k%n&&(C=!1),C&&l(a.y)?(a.opacity=b,x[this.isNewLabel?"attr":"animate"](a).show(!0),this.isNewLabel=!1):(x.hide(),this.isNewLabel=!0))};k.prototype.replaceMovedLabel= function(){var a=this.label,d=this.axis,f=d.reversed;if(a&&!this.isNew){var b=d.horiz?f?d.left:d.width+d.left:a.xy.x;f=d.horiz?a.xy.y:f?d.width+d.top:d.top;a.animate({x:b,y:f,opacity:0},void 0,a.destroy);delete this.label}d.isDirty=!0;this.label=this.movedLabel;delete this.movedLabel};return k}();"";return e});J(e,"Core/Axis/Axis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/AxisDefaults.js"],e["Core/Color/Color.js"],e["Core/Defaults.js"],e["Core/Foundation.js"],e["Core/Globals.js"], e["Core/Axis/Tick.js"],e["Core/Utilities.js"]],function(b,e,t,D,z,v,F,w){var r=b.animObject,m=D.defaultOptions,l=z.registerEventOptions,a=v.deg2rad,d=w.arrayMax,f=w.arrayMin,k=w.clamp,p=w.correctFloat,E=w.defined,B=w.destroyObjectProperties,y=w.erase,I=w.error,u=w.extend,h=w.fireEvent,x=w.isArray,q=w.isNumber,n=w.isString,g=w.merge,C=w.normalizeTickInterval,c=w.objectEach,A=w.pick,G=w.relativeLength,H=w.removeEvent,O=w.splat,Q=w.syncTimeout,K=function(c,a){return C(a,void 0,void 0,A(c.options.allowDecimals, .5>a||void 0!==c.tickAmount),!!c.tickAmount)};b=function(){function b(c,a){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset= this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.bottom=this.alternateBands=void 0;this.init(c,a)}b.prototype.init=function(c,a){var g=a.isX;this.chart=c;this.horiz=c.inverted&&!this.isZAxis?!g:g;this.isXAxis=g;this.coll=this.coll||(g?"xAxis":"yAxis");h(this, "init",{userOptions:a});this.opposite=A(a.opposite,this.opposite);this.side=A(a.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3);this.setOptions(a);var d=this.options,f=d.labels,b=d.type;this.userOptions=a;this.minPixelPadding=0;this.reversed=A(d.reversed,this.reversed);this.visible=d.visible;this.zoomEnabled=d.zoomEnabled;this.hasNames="category"===b||!0===d.categories;this.categories=d.categories||(this.hasNames?[]:void 0);this.names||(this.names=[],this.names.keys={});this.plotLinesAndBandsGroups= {};this.positiveValuesOnly=!!this.logarithmic;this.isLinked=E(d.linkedTo);this.ticks={};this.labelEdge=[];this.minorTicks={};this.plotLinesAndBands=[];this.alternateBands={};this.len=0;this.minRange=this.userMinRange=d.minRange||d.maxZoom;this.range=d.range;this.offset=d.offset||0;this.min=this.max=null;a=A(d.crosshair,O(c.options.tooltip.crosshairs)[g?0:1]);this.crosshair=!0===a?{}:a;-1===c.axes.indexOf(this)&&(g?c.axes.splice(c.xAxis.length,0,this):c.axes.push(this),c[this.coll].push(this));this.series= this.series||[];c.inverted&&!this.isZAxis&&g&&"undefined"===typeof this.reversed&&(this.reversed=!0);this.labelRotation=q(f.rotation)?f.rotation:void 0;l(this,d);h(this,"afterInit")};b.prototype.setOptions=function(c){this.options=g(e.defaultXAxisOptions,"yAxis"===this.coll&&e.defaultYAxisOptions,[e.defaultTopAxisOptions,e.defaultRightAxisOptions,e.defaultBottomAxisOptions,e.defaultLeftAxisOptions][this.side],g(m[this.coll],c));h(this,"afterSetOptions",{userOptions:c})};b.prototype.defaultLabelFormatter= function(c){var a=this.axis;c=this.chart.numberFormatter;var g=q(this.value)?this.value:NaN,d=a.chart.time,h=this.dateTimeLabelFormat,f=m.lang,b=f.numericSymbols;f=f.numericSymbolMagnitude||1E3;var n=a.logarithmic?Math.abs(g):a.tickInterval,k=b&&b.length;if(a.categories)var C="".concat(this.value);else if(h)C=d.dateFormat(h,g);else if(k&&1E3<=n)for(;k--&&"undefined"===typeof C;)a=Math.pow(f,k+1),n>=a&&0===10*g%a&&null!==b[k]&&0!==g&&(C=c(g/a,-1)+b[k]);"undefined"===typeof C&&(C=1E4<=Math.abs(g)?c(g, -1):c(g,-1,void 0,""));return C};b.prototype.getSeriesExtremes=function(){var c=this,a=c.chart,g;h(this,"getSeriesExtremes",null,function(){c.hasVisibleSeries=!1;c.dataMin=c.dataMax=c.threshold=null;c.softThreshold=!c.isXAxis;c.stacking&&c.stacking.buildStacks();c.series.forEach(function(d){if(d.visible||!a.options.chart.ignoreHiddenSeries){var h=d.options,f=h.threshold;c.hasVisibleSeries=!0;c.positiveValuesOnly&&0>=f&&(f=null);if(c.isXAxis){if(h=d.xData,h.length){h=c.logarithmic?h.filter(c.validatePositiveValue): h;g=d.getXExtremes(h);var b=g.min;var n=g.max;q(b)||b instanceof Date||(h=h.filter(q),g=d.getXExtremes(h),b=g.min,n=g.max);h.length&&(c.dataMin=Math.min(A(c.dataMin,b),b),c.dataMax=Math.max(A(c.dataMax,n),n))}}else if(d=d.applyExtremes(),q(d.dataMin)&&(b=d.dataMin,c.dataMin=Math.min(A(c.dataMin,b),b)),q(d.dataMax)&&(n=d.dataMax,c.dataMax=Math.max(A(c.dataMax,n),n)),E(f)&&(c.threshold=f),!h.softThreshold||c.positiveValuesOnly)c.softThreshold=!1}})});h(this,"afterGetSeriesExtremes")};b.prototype.translate= function(c,a,g,d,h,f){var b=this.linkedParent||this,n=d&&b.old?b.old.min:b.min;if(!q(n))return NaN;var k=b.minPixelPadding;h=(b.isOrdinal||b.brokenAxis&&b.brokenAxis.hasBreaks||b.logarithmic&&h)&&b.lin2val;var C=1,l=0;d=d&&b.old?b.old.transA:b.transA;d||(d=b.transA);g&&(C*=-1,l=b.len);b.reversed&&(C*=-1,l-=C*(b.sector||b.len));a?(f=(c*C+l-k)/d+n,h&&(f=b.lin2val(f))):(h&&(c=b.val2lin(c)),c=C*(c-n)*d,f=(b.isRadial?c:p(c))+l+C*k+(q(f)?d*f:0));return f};b.prototype.toPixels=function(c,a){return this.translate(c, !1,!this.horiz,void 0,!0)+(a?0:this.pos)};b.prototype.toValue=function(c,a){return this.translate(c-(a?0:this.pos),!0,!this.horiz,void 0,!0)};b.prototype.getPlotLinePath=function(c){function a(c,a,g){if("pass"!==e&&cg)e?c=k(c,a,g):E=!0;return c}var g=this,d=g.chart,b=g.left,f=g.top,n=c.old,C=c.value,l=c.lineWidth,x=n&&d.oldChartHeight||d.chartHeight,G=n&&d.oldChartWidth||d.chartWidth,u=g.transB,p=c.translatedValue,e=c.force,H,P,m,y,E;c={value:C,lineWidth:l,old:n,force:e,acrossPanes:c.acrossPanes, translatedValue:p};h(this,"getPlotLinePath",c,function(c){p=A(p,g.translate(C,void 0,void 0,n));p=k(p,-1E5,1E5);H=m=Math.round(p+u);P=y=Math.round(x-p-u);q(p)?g.horiz?(P=f,y=x-g.bottom,H=m=a(H,b,b+g.width)):(H=b,m=G-g.right,P=y=a(P,f,f+g.height)):(E=!0,e=!1);c.path=E&&!e?null:d.renderer.crispLine([["M",H,P],["L",m,y]],l||1)});return c.path};b.prototype.getLinearTickPositions=function(c,a,g){var d=p(Math.floor(a/c)*c);g=p(Math.ceil(g/c)*c);var h=[],b;p(d+c)===d&&(b=20);if(this.single)return[a];for(a= d;a<=g;){h.push(a);a=p(a+c,b);if(a===f)break;var f=a}return h};b.prototype.getMinorTickInterval=function(){var c=this.options;return!0===c.minorTicks?A(c.minorTickInterval,"auto"):!1===c.minorTicks?null:c.minorTickInterval};b.prototype.getMinorTickPositions=function(){var c=this.options,a=this.tickPositions,g=this.minorTickInterval,d=this.pointRangePadding||0,h=this.min-d;d=this.max+d;var b=d-h,f=[];if(b&&b/g=this.minRange;var x=this.minRange;var G=(x-h+g)/2;G=[g-G,A(c.min,g-G)];q&&(G[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin);g=d(G);h=[g+x,A(c.max,g+x)];q&&(h[2]=a?a.log2lin(this.dataMax):this.dataMax);h=f(h);h-g=u)m=u,x=0;else if(this.dataMax<=u){var y=u;l=0}this.min=A(e,m,this.dataMin);this.max=A(H,y,this.dataMax)}g&&(this.positiveValuesOnly&&!c&&0>=Math.min(this.min,A(this.dataMin,this.min))&&I(10,1,a),this.min=p(g.log2lin(this.min),16),this.max=p(g.log2lin(this.max),16));this.range&&E(this.max)&&(this.userMin=this.min=e=Math.max(this.dataMin,this.minFromRange()),this.userMax=H=this.max,this.range=null); h(this,"foundExtremes");this.beforePadding&&this.beforePadding();this.adjustForMinRange();!(k||this.axisPointRange||this.stacking&&this.stacking.usePercentage||f)&&E(this.min)&&E(this.max)&&(a=this.max-this.min)&&(!E(e)&&x&&(this.min-=a*x),!E(H)&&l&&(this.max+=a*l));q(this.userMin)||(q(d.softMin)&&d.softMinthis.max&&(this.max=H=d.softMax),q(d.ceiling)&&(this.max=Math.min(this.max, d.ceiling)));C&&E(this.dataMin)&&(u=u||0,!E(e)&&this.min=u?this.min=this.options.minRange?Math.min(u,this.max-this.minRange):u:!E(H)&&this.max>u&&this.dataMax<=u&&(this.max=this.options.minRange?Math.max(u,this.min+this.minRange):u));q(this.min)&&q(this.max)&&!this.chart.polar&&this.min>this.max&&(E(this.options.min)?this.max=this.min:E(this.options.max)&&(this.min=this.max));this.tickInterval=this.min===this.max||"undefined"===typeof this.min||"undefined"===typeof this.max?1:f&& this.linkedParent&&!G&&n===this.linkedParent.options.tickPixelInterval?G=this.linkedParent.tickInterval:A(G,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,k?1:(this.max-this.min)*n/Math.max(this.len,n));if(b&&!c){var P=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);this.series.forEach(function(c){c.forceCrop=c.forceCropping&&c.forceCropping();c.processData(P)});h(this,"postProcessData",{hasExtremesChanged:P})}this.setAxisTranslation();h(this,"initialAxisTranslation"); this.pointRange&&!G&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval));c=A(d.minTickInterval,this.dateTime&&!this.series.some(function(c){return c.noSharedTooltip})?this.closestPointRange:0);!G&&this.tickIntervalMath.max(2*this.len,200)))if(this.dateTime)f=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,c.units),this.min,this.max,c.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0);else if(this.logarithmic)f=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else for(d=c=this.tickInterval;d<=2*c;)if(f=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&& f.length>this.tickAmount)this.tickInterval=K(this,d*=1.1);else break;else f=[this.min,this.max],I(19,!1,this.chart);f.length>this.len&&(f=[f[0],f[f.length-1]],f[0]===f[1]&&(f.length=1));g&&(this.tickPositions=f,(k=g.apply(this,[this.min,this.max]))&&(f=k))}this.tickPositions=f;this.paddedTicks=f.slice(0);this.trimTicks(f,n,b);!this.isLinked&&q(this.min)&&q(this.max)&&(this.single&&2>f.length&&!this.categories&&!this.series.some(function(c){return c.is("heatmap")&&"between"===c.options.pointPlacement})&& (this.min-=.5,this.max+=.5),a||k||this.adjustTickAmount());h(this,"afterSetTickPositions")};b.prototype.trimTicks=function(c,a,g){var d=c[0],f=c[c.length-1],b=!this.isOrdinal&&this.minPointOffset||0;h(this,"trimTicks");if(!this.isLinked){if(a&&-Infinity!==d)this.min=d;else for(;this.min-b>c[0];)c.shift();if(g)this.max=f;else for(;this.max+bg&&(this.finalTickAmt=g,g=5);this.tickAmount=g};b.prototype.adjustTickAmount=function(){var c=this,a=c.finalTickAmt,g=c.max,d=c.min,h=c.options,f=c.tickPositions,b=c.tickAmount,n=c.thresholdAlignment,k=f&&f.length,C=A(c.threshold,c.softThreshold?0:null);var l=c.tickInterval;if(q(n)){var x=.5>n?Math.ceil(n* (b-1)):Math.floor(n*(b-1));h.reversed&&(x=b-1-x)}if(c.hasData()&&q(d)&&q(g)){n=function(){c.transA*=(k-1)/(b-1);c.min=h.startOnTick?f[0]:Math.min(d,f[0]);c.max=h.endOnTick?f[f.length-1]:Math.max(g,f[f.length-1])};if(q(x)&&q(c.threshold)){for(;f[x]!==C||f.length!==b||f[0]>d||f[f.length-1]c.threshold?f.unshift(p(f[0]-l)):f.push(p(f[f.length-1]+l));if(l>8*c.tickInterval)break;l*=2}n()}else if(k=a&&0k&&(a=k)),E(f)&&(hk&&(h=k))),g.displayBtn="undefined"!==typeof a||"undefined"!==typeof h,g.setExtremes(a,h,!1,void 0,{trigger:"zoom"});c.zoomed= !0});return c.zoomed};b.prototype.setAxisSize=function(){var c=this.chart,a=this.options,g=a.offsets||[0,0,0,0],d=this.horiz,h=this.width=Math.round(G(A(a.width,c.plotWidth-g[3]+g[1]),c.plotWidth)),f=this.height=Math.round(G(A(a.height,c.plotHeight-g[0]+g[2]),c.plotHeight)),b=this.top=Math.round(G(A(a.top,c.plotTop+g[0]),c.plotHeight,c.plotTop));a=this.left=Math.round(G(A(a.left,c.plotLeft+g[3]),c.plotWidth,c.plotLeft));this.bottom=c.chartHeight-f-b;this.right=c.chartWidth-h-a;this.len=Math.max(d? h:f,0);this.pos=d?a:b};b.prototype.getExtremes=function(){var c=this.logarithmic;return{min:c?p(c.lin2log(this.min)):this.min,max:c?p(c.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}};b.prototype.getThreshold=function(c){var a=this.logarithmic,g=a?a.lin2log(this.min):this.min;a=a?a.lin2log(this.max):this.max;null===c||-Infinity===c?c=g:Infinity===c?c=a:g>c?c=g:aa?c.align="right":195a&&(c.align="left")});return c.align};b.prototype.tickSize=function(c){var a=this.options,g=A(a["tick"===c?"tickWidth":"minorTickWidth"],"tick"===c&&this.isXAxis&&!this.categories?1:0),d=a["tick"===c?"tickLength":"minorTickLength"];if(g&&d){"inside"===a[c+"Position"]&&(d=-d);var f=[d,g]}c={tickSize:f};h(this,"afterTickSize",c);return c.tickSize};b.prototype.labelMetrics= function(){var c=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[c]&&this.ticks[c].label)};b.prototype.unsquish=function(){var c=this.options.labels,g=this.horiz,d=this.tickInterval,h=this.len/(((this.categories?1:0)+this.max-this.min)/d),f=c.rotation,b=this.labelMetrics(),n=Math.max(this.max-this.min,0),k=function(c){var a=c/(h||1);a=1n&&Infinity!==c&&Infinity!==h&&n&&(a=Math.ceil(n/d));return p(a* d)},C=d,l=Number.MAX_VALUE;if(g){if(!c.staggerLines)if(q(f))var x=[f];else h=H)if(g=k(Math.abs(b.h/Math.sin(a*H))),G=g+Math.abs(H/360),Gd.step)return d.rotation?0:(this.staggerLines||1)*this.len/h;if(!g){c=d.style.width;if(void 0!==c)return parseInt(String(c),10);if(f)return f-a.spacing[3]}return.33*a.chartWidth};b.prototype.renderUnsquish=function(){var c=this.chart,a=c.renderer,g=this.tickPositions,d=this.ticks,h=this.options.labels,f=h.style,b=this.horiz,k=this.getSlotWidth(),C=Math.max(1,Math.round(k-2*h.padding)),l={},q=this.labelMetrics(),A=f.textOverflow, x=0;n(h.rotation)||(l.rotation=h.rotation||0);g.forEach(function(c){c=d[c];c.movedLabel&&c.replaceMovedLabel();c&&c.label&&c.label.textPxLength>x&&(x=c.label.textPxLength)});this.maxLabelLength=x;if(this.autoRotation)x>C&&x>q.h?l.rotation=this.labelRotation:this.labelRotation=0;else if(k){var G=C;if(!A){var u="clip";for(C=g.length;!b&&C--;){var e=g[C];if(e=d[e].label)e.styles&&"ellipsis"===e.styles.textOverflow?e.css({textOverflow:"clip"}):e.textPxLength>k&&e.css({width:k+"px"}),e.getBBox().height> this.len/g.length-(q.h-q.f)&&(e.specificTextOverflow="ellipsis")}}}l.rotation&&(G=x>.5*c.chartHeight?.33*c.chartHeight:x,A||(u="ellipsis"));if(this.labelAlign=h.align||this.autoLabelAlign(this.labelRotation))l.align=this.labelAlign;g.forEach(function(c){var a=(c=d[c])&&c.label,g=f.width,h={};a&&(a.attr(l),c.shortenLabel?c.shortenLabel():G&&!g&&"nowrap"!==f.whiteSpace&&(G=this.min&&c<=this.max||this.grid&&this.grid.isColumn)d[c]||(d[c]=new F(this,c)),g&&d[c].isNew&&d[c].render(a,!0,-1),d[c].render(a)};b.prototype.render=function(){var a=this,g=a.chart,d=a.logarithmic,f=a.options,b=a.isLinked,n=a.tickPositions,k=a.axisTitle,C=a.ticks,l=a.minorTicks,A=a.alternateBands,x=f.stackLabels, G=f.alternateGridColor,u=a.tickmarkOffset,e=a.axisLine,p=a.showAxis,H=r(g.renderer.globalAnimation),m,y;a.labelEdge.length=0;a.overlap=!1;[C,l,A].forEach(function(a){c(a,function(c){c.isActive=!1})});if(a.hasData()||b){var E=a.chart.hasRendered&&a.old&&q(a.old.min);a.minorTickInterval&&!a.categories&&a.getMinorTickPositions().forEach(function(c){a.renderMinorTick(c,E)});n.length&&(n.forEach(function(c,g){a.renderTick(c,g,E)}),u&&(0===a.min||a.single)&&(C[-1]||(C[-1]=new F(a,-1,null,!0)),C[-1].render(-1))); G&&n.forEach(function(c,h){y="undefined"!==typeof n[h+1]?n[h+1]+u:a.max-u;0===h%2&&cd&&(!b||e<=f)&&"undefined"!==typeof e&&m.push(e);e>f&&(h=!0);e=q}}}else d=this.lin2log(d),f=this.lin2log(f),a=b?k.getMinorTickInterval():e.tickInterval,a=D("auto"===a?null:a,this.minorAutoInterval,e.tickPixelInterval/(b?5:1)*(f-d)/((b?l/k.tickPositions.length:l)||1)),a=t(a),m=k.getLinearTickPositions(a,d,f).map(this.log2lin),b||(this.minorAutoInterval=a/5);b||(k.tickInterval=a);return m}; b.prototype.lin2log=function(a){return Math.pow(10,a)};b.prototype.log2lin=function(a){return Math.log(a)/Math.LN10};return b}();b.Additions=m})(z||(z={}));return z});J(e,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[e["Core/Utilities.js"]],function(b){var e=b.erase,t=b.extend,D=b.isNumber,z;(function(b){var v=[],w;b.compose=function(b,l){w||(w=b);-1===v.indexOf(l)&&(v.push(l),t(l.prototype,r.prototype));return l};var r=function(){function b(){}b.prototype.getPlotBandPath=function(b,a,d){void 0=== d&&(d=this.options);var f=this.getPlotLinePath({value:a,force:!0,acrossPanes:d.acrossPanes}),k=[],l=this.horiz;a=!D(this.min)||!D(this.max)||bthis.max&&a>this.max;b=this.getPlotLinePath({value:b,force:!0,acrossPanes:d.acrossPanes});d=1;if(b&&f){if(a){var e=b.toString()===f.toString();d=0}for(a=0;aG-f?G:G-f);else if(x)c[a]= Math.max(C,k+f+d>g?k:k+f);else return!1},r=function(a,g,d,h,f){var n;fg-b?n=!1:c[a]=fg-h/2?g-h-2:f-d/2;return n},B=function(c){var a=u;u=x;x=a;p=c},I=function(){!1!==E.apply(0,u)?!1!==r.apply(0,x)||p||(B(!0),I()):p?c.x=c.y=0:(B(!0),I())};(g.inverted||1a})&&(a=a.map(function(c){var a=b(c.anchorX,c.anchorY,c.point.isHeader,c.boxWidth,!1);return d(c,{target:a.y,x:a.x})}));g.cleanSplit();w(a,ea);var J=S,da=S;a.forEach(function(c){var a=c.x,d=c.boxWidth;c=c.isHeader;c||(g.outside&& S+ada&&(da=S+a))});a.forEach(function(c){var a=c.x,d=c.anchorX,h=c.pos,b=c.point.isHeader;h={visibility:"undefined"===typeof h?"hidden":"inherit",x:a,y:h+N,anchorX:d,anchorY:c.anchorY};if(g.outside&&ah[0]?Math.max(Math.abs(h[0]),b.width-h[0]):Math.max(Math.abs(h[0]),b.width);g.height=0>h[1]?Math.max(Math.abs(h[1]),b.height-Math.abs(h[1])):Math.max(Math.abs(h[1]),b.height);this.tracker?this.tracker.attr(g):(this.tracker=d.renderer.rect(g).addClass("highcharts-tracker").add(d), a.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}else this.tracker&&this.tracker.destroy()};h.prototype.styledModeFormat=function(a){return a.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')};h.prototype.tooltipFooterHeaderFormatter=function(a,d){var h=a.series,g=h.tooltipOptions,b=h.xAxis,c=b&&b.dateTime;b={isFooter:d,labelConfig:a};var k=g.xDateFormat,l=g[d?"footerFormat":"headerFormat"]; f(this,"headerFormatter",b,function(d){c&&!k&&p(a.key)&&(k=c.getXDateFormat(a.key,g.dateTimeLabelFormats));c&&k&&(a.point&&a.point.tooltipDateKeys||["key"]).forEach(function(c){l=l.replace("{point."+c+"}","{point."+c+":"+k+"}")});h.chart.styledMode&&(l=this.styledModeFormat(l));d.text=v(l,{point:a,series:h},this.chart)});return b.text};h.prototype.update=function(a){this.destroy();B(!0,this.chart.options.tooltip.userOptions,a);this.init(this.chart,B(!0,this.options,a))};h.prototype.updatePosition= function(a){var d=this.chart,h=this.options,g=d.pointer,b=this.getLabel();g=g.getChartPosition();var c=(h.positioner||this.getPosition).call(this,b.width,b.height,a),f=a.plotX+d.plotLeft;a=a.plotY+d.plotTop;if(this.outside){h=h.borderWidth+2*this.distance;this.renderer.setSize(b.width+h,b.height+h,!1);if(1!==g.scaleX||1!==g.scaleY)m(this.container,{transform:"scale(".concat(g.scaleX,", ").concat(g.scaleY,")")}),f*=g.scaleX,a*=g.scaleY;f+=g.left-c.x;a+=g.top-c.y}this.move(Math.round(c.x),Math.round(c.y|| 0),f,a)};return h}();"";return b});J(e,"Core/Series/Point.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Defaults.js"],e["Core/FormatUtilities.js"],e["Core/Utilities.js"]],function(b,e,t,D,z){var v=e.animObject,F=t.defaultOptions,w=D.format,r=z.addEvent,m=z.defined,l=z.erase,a=z.extend,d=z.fireEvent,f=z.getNestedProperty,k=z.isArray,p=z.isFunction,E=z.isNumber,B=z.isObject,y=z.merge,I=z.objectEach,u=z.pick,h=z.syncTimeout,x=z.removeEvent,q=z.uniqueKey;e=function(){function n(){this.colorIndex= this.category=void 0;this.formatPrefix="point";this.id=void 0;this.isNull=!1;this.percentage=this.options=this.name=void 0;this.selected=!1;this.total=this.shapeArgs=this.series=void 0;this.visible=!0;this.x=void 0}n.prototype.animateBeforeDestroy=function(){var g=this,d={x:g.startXPos,opacity:0},c=g.getGraphicalProps();c.singular.forEach(function(c){g[c]=g[c].animate("dataLabel"===c?{x:g[c].startXPos,y:g[c].startYPos,opacity:0}:d)});c.plural.forEach(function(c){g[c].forEach(function(c){c.element&& c.animate(a({x:g.startXPos},c.startYPos?{x:c.startXPos,y:c.startYPos}:{}))})})};n.prototype.applyOptions=function(g,d){var c=this.series,h=c.options.pointValKey||c.pointValKey;g=n.prototype.optionsToObject.call(this,g);a(this,g);this.options=this.options?a(this.options,g):g;g.group&&delete this.group;g.dataLabels&&delete this.dataLabels;h&&(this.y=n.prototype.getNestedProperty.call(this,h));this.formatPrefix=(this.isNull=this.isValid&&!this.isValid())?"null":"point";this.selected&&(this.state="select"); "name"in this&&"undefined"===typeof d&&c.xAxis&&c.xAxis.hasNames&&(this.x=c.xAxis.nameToX(this));"undefined"===typeof this.x&&c?this.x="undefined"===typeof d?c.autoIncrement():d:E(g.x)&&c.options.relativeXValue&&(this.x=c.autoIncrement(g.x));return this};n.prototype.destroy=function(){function a(){if(d.graphic||d.graphics||d.dataLabel||d.dataLabels)x(d),d.destroyElements();for(n in d)d[n]=null}var d=this,c=d.series,b=c.chart;c=c.options.dataSorting;var f=b.hoverPoints,k=v(d.series.chart.renderer.globalAnimation), n;d.legendItem&&b.legend.destroyItem(d);f&&(d.setState(),l(f,d),f.length||(b.hoverPoints=null));if(d===b.hoverPoint)d.onMouseOut();c&&c.enabled?(this.animateBeforeDestroy(),h(a,k.duration)):a();b.pointCount--};n.prototype.destroyElements=function(a){var g=this;a=g.getGraphicalProps(a);a.singular.forEach(function(c){g[c]=g[c].destroy()});a.plural.forEach(function(c){g[c].forEach(function(c){c.element&&c.destroy()});delete g[c]})};n.prototype.firePointEvent=function(a,h,c){var g=this,b=this.series.options; (b.point.events[a]||g.options&&g.options.events&&g.options.events[a])&&g.importEvents();"click"===a&&b.allowPointSelect&&(c=function(c){g.select&&g.select(null,c.ctrlKey||c.metaKey||c.shiftKey)});d(g,a,h,c)};n.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+("undefined"!==typeof this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className? " "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")};n.prototype.getGraphicalProps=function(a){var g=this,c=[],d={singular:[],plural:[]},h;a=a||{graphic:1,dataLabel:1};a.graphic&&c.push("graphic","shadowGroup");a.dataLabel&&c.push("dataLabel","dataLabelPath","dataLabelUpper","connector");for(h=c.length;h--;){var b=c[h];g[b]&&d.singular.push(b)}["graphic","dataLabel","connector"].forEach(function(c){var h=c+"s";a[c]&&g[h]&&d.plural.push(h)}); return d};n.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}};n.prototype.getNestedProperty=function(a){if(a)return 0===a.indexOf("custom.")?f(a,this.options):this[a]};n.prototype.getZone=function(){var a=this.series,d=a.zones;a=a.zoneAxis||"y";var c,h=0;for(c=d[h];this[a]>=c.value;)c=d[++h];this.nonZonedColor||(this.nonZonedColor= this.color);this.color=c&&c.color&&!this.options.color?c.color:this.nonZonedColor;return c};n.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType};n.prototype.init=function(a,h,c){this.series=a;this.applyOptions(h,c);this.id=m(this.id)?this.id:q();this.resolveColor();a.chart.pointCount++;d(this,"afterInit");return this};n.prototype.isValid=function(){return null!==this.x&&E(this.y)};n.prototype.optionsToObject=function(a){var g= this.series,c=g.options.keys,d=c||g.pointArrayMap||["y"],h=d.length,b={},f=0,l=0;if(E(a)||null===a)b[d[0]]=a;else if(k(a))for(!c&&a.length>h&&(g=typeof a[0],"string"===g?b.name=a[0]:"number"===g&&(b.x=a[0]),f++);lb+f&&(m=b+f),yg+c&&(y=g+c),this.hasDragged=Math.sqrt(Math.pow(k-m,2)+Math.pow(l-y,2)),10a.options.findNearestPointBy.indexOf("y");a=a.searchPoint(b, g);if((g=p(a,!0)&&a.series)&&!(g=!p(h,!0))){g=h.distX-a.distX;var c=h.dist-a.dist,f=(a.series.group&&a.series.group.zIndex)-(h.series.group&&h.series.group.zIndex);g=0<(0!==g&&d?g:0!==c?c:0!==f?f:h.series.index>a.series.index?-1:1)}g&&(h=a)});return h};b.prototype.getChartCoordinatesFromPoint=function(a,d){var h=a.series,b=h.xAxis;h=h.yAxis;var g=a.shapeArgs;if(b&&h){var f=y(a.clientX,a.plotX),c=a.plotY||0;a.isNode&&g&&k(g.x)&&k(g.y)&&(f=g.x,c=g.y);return d?{chartX:h.len+h.pos-c,chartY:b.len+b.pos- f}:{chartX:f+b.pos,chartY:c+h.pos}}if(g&&g.x&&g.y)return{chartX:g.x,chartY:g.y}};b.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var a=this.chart.container,d=B(a);this.chartPosition={left:d.left,top:d.top,scaleX:1,scaleY:1};var b=a.offsetWidth;a=a.offsetHeight;2p.max&&(b=p.max-E,t=!0);t?(I-=.8*(I-c[n][0]),"number"===typeof w&&(w-=.8*(w-c[n][1])),d()):c[n]=[I,w];A||(k[n]=B-q,k[C]=E);k=A?1/r:r;g[C]=E;g[n]=b;f[A?a?"scaleY":"scaleX":"scale"+e]=r;f["translate"+ e]=k*q+(I-k*x)};b.prototype.reset=function(a,d){var b=this.chart,h=b.hoverSeries,g=b.hoverPoint,f=b.hoverPoints,c=b.tooltip,k=c&&c.shared?f:g;a&&k&&I(k).forEach(function(c){c.series.isCartesian&&"undefined"===typeof c.plotX&&(a=!1)});if(a)c&&k&&I(k).length&&(c.refresh(k),c.shared&&f?f.forEach(function(a){a.setState(a.state,!0);a.series.isCartesian&&(a.series.xAxis.crosshair&&a.series.xAxis.drawCrosshair(null,a),a.series.yAxis.crosshair&&a.series.yAxis.drawCrosshair(null,a))}):g&&(g.setState(g.state, !0),b.axes.forEach(function(a){a.crosshair&&g.series[a.coll]===a&&a.drawCrosshair(null,g)})));else{if(g)g.onMouseOut();f&&f.forEach(function(a){a.setState()});if(h)h.onMouseOut();c&&c.hide(d);this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove());b.axes.forEach(function(a){a.hideCrosshair()});this.hoverX=b.hoverPoints=b.hoverPoint=null}};b.prototype.runPointActions=function(a,f){var h=this.chart,k=h.tooltip&&h.tooltip.options.enabled?h.tooltip:void 0,g=k?k.shared:!1,l=f||h.hoverPoint,c= l&&l.series||h.hoverSeries;f=this.getHoverData(l,c,h.series,(!a||"touchmove"!==a.type)&&(!!f||c&&c.directTouch&&this.isDirectTouch),g,a);l=f.hoverPoint;c=f.hoverSeries;var e=f.hoverPoints;f=c&&c.tooltipOptions.followPointer&&!c.tooltipOptions.split;var u=g&&c&&!c.noSharedTooltip;if(l&&(l!==h.hoverPoint||k&&k.isHidden)){(h.hoverPoints||[]).forEach(function(a){-1===e.indexOf(a)&&a.setState()});if(h.hoverSeries!==c)c.onMouseOver();this.applyInactiveState(e);(e||[]).forEach(function(a){a.setState("hover")}); h.hoverPoint&&h.hoverPoint.firePointEvent("mouseOut");if(!l.series)return;h.hoverPoints=e;h.hoverPoint=l;l.firePointEvent("mouseOver",void 0,function(){k&&l&&k.refresh(u?e:l,a)})}else f&&k&&!k.isHidden&&(g=k.getAnchor([{}],a),h.isInsidePlot(g[0],g[1],{visiblePlotOnly:!0})&&k.updatePosition({plotX:g[0],plotY:g[1]}));this.unDocMouseMove||(this.unDocMouseMove=w(h.container.ownerDocument,"mousemove",function(a){var c=v[b.hoverChartIndex];if(c)c.pointer.onDocumentMouseMove(a)}),this.eventsToUnbind.push(this.unDocMouseMove)); h.axes.forEach(function(c){var g=y((c.crosshair||{}).snap,!0),b;g&&((b=h.hoverPoint)&&b.series[c.coll]===c||(b=d(e,function(a){return a.series&&a.series[c.coll]===c})));b||!g?c.drawCrosshair(a,b):c.hideCrosshair()})};b.prototype.scaleGroups=function(a,d){var b=this.chart;b.series.forEach(function(h){var g=a||h.getPlotBox();h.group&&(h.xAxis&&h.xAxis.zoomEnabled||b.mapView)&&(h.group.attr(g),h.markerGroup&&(h.markerGroup.attr(g),h.markerGroup.clip(d?b.clipRect:null)),h.dataLabelsGroup&&h.dataLabelsGroup.attr(g))}); b.clipRect.attr(d||b.clipBox)};b.prototype.setDOMEvents=function(){var a=this,d=this.chart.container,f=d.ownerDocument;d.onmousedown=this.onContainerMouseDown.bind(this);d.onmousemove=this.onContainerMouseMove.bind(this);d.onclick=this.onContainerClick.bind(this);this.eventsToUnbind.push(w(d,"mouseenter",this.onContainerMouseEnter.bind(this)));this.eventsToUnbind.push(w(d,"mouseleave",this.onContainerMouseLeave.bind(this)));b.unbindDocumentMouseUp||(b.unbindDocumentMouseUp=w(f,"mouseup",this.onDocumentMouseUp.bind(this))); for(var k=this.chart.renderTo.parentElement;k&&"BODY"!==k.tagName;)this.eventsToUnbind.push(w(k,"scroll",function(){delete a.chartPosition})),k=k.parentElement;e.hasTouch&&(this.eventsToUnbind.push(w(d,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(w(d,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),b.unbindDocumentTouchEnd||(b.unbindDocumentTouchEnd=w(f,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))};b.prototype.setHoverChartIndex= function(){var a=this.chart,d=e.charts[y(b.hoverChartIndex,-1)];if(d&&d!==a)d.pointer.onContainerMouseLeave({relatedTarget:a.container});d&&d.mouseIsDown||(b.hoverChartIndex=a.index)};b.prototype.touch=function(a,d){var b=this.chart,h;this.setHoverChartIndex();if(1===a.touches.length)if(a=this.normalize(a),(h=b.isInsidePlot(a.chartX-b.plotLeft,a.chartY-b.plotTop,{visiblePlotOnly:!0}))&&!b.openMenu){d&&this.runPointActions(a);if("touchmove"===a.type){d=this.pinchDown;var g=d[0]?4<=Math.sqrt(Math.pow(d[0].chartX- a.chartX,2)+Math.pow(d[0].chartY-a.chartY,2)):!1}y(g,!0)&&this.pinch(a)}else d&&this.reset();else 2===a.touches.length&&this.pinch(a)};b.prototype.touchSelect=function(a){return!(!this.chart.options.chart.zooming.singleTouch||!a.touches||1!==a.touches.length)};b.prototype.zoomOption=function(a){var d=this.chart,b=d.options.chart;d=d.inverted;var h=b.zooming.type||"";/touch/.test(a.type)&&(h=y(b.zooming.pinchType,h));this.zoomX=a=/x/.test(h);this.zoomY=b=/y/.test(h);this.zoomHor=a&&!d||b&&d;this.zoomVert= b&&!d||a&&d;this.hasZoom=a||b};return b}();"";return b});J(e,"Core/MSPointer.js",[e["Core/Globals.js"],e["Core/Pointer.js"],e["Core/Utilities.js"]],function(b,e,t){function D(){var a=[];a.item=function(a){return this[a]};d(p,function(d){a.push({pageX:d.pageX,pageY:d.pageY,target:d.target})});return a}function z(a,d,b,f){var h=F[e.hoverChartIndex||NaN];"touch"!==a.pointerType&&a.pointerType!==a.MSPOINTER_TYPE_TOUCH||!h||(h=h.pointer,f(a),h[d]({type:b,target:a.currentTarget,preventDefault:r,touches:D()}))} var v=this&&this.__extends||function(){var a=function(d,b){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,d){a.__proto__=d}||function(a,d){for(var b in d)d.hasOwnProperty(b)&&(a[b]=d[b])};return a(d,b)};return function(d,b){function f(){this.constructor=d}a(d,b);d.prototype=null===b?Object.create(b):(f.prototype=b.prototype,new f)}}(),F=b.charts,w=b.doc,r=b.noop,m=b.win,l=t.addEvent,a=t.css,d=t.objectEach,f=t.pick,k=t.removeEvent,p={},E=!!m.PointerEvent;return function(d){function e(){return null!== d&&d.apply(this,arguments)||this}v(e,d);e.isRequired=function(){return!(b.hasTouch||!m.PointerEvent&&!m.MSPointerEvent)};e.prototype.batchMSEvents=function(a){a(this.chart.container,E?"pointerdown":"MSPointerDown",this.onContainerPointerDown);a(this.chart.container,E?"pointermove":"MSPointerMove",this.onContainerPointerMove);a(w,E?"pointerup":"MSPointerUp",this.onDocumentPointerUp)};e.prototype.destroy=function(){this.batchMSEvents(k);d.prototype.destroy.call(this)};e.prototype.init=function(b,f){d.prototype.init.call(this, b,f);this.hasZoom&&a(b.container,{"-ms-touch-action":"none","touch-action":"none"})};e.prototype.onContainerPointerDown=function(a){z(a,"onContainerTouchStart","touchstart",function(a){p[a.pointerId]={pageX:a.pageX,pageY:a.pageY,target:a.currentTarget}})};e.prototype.onContainerPointerMove=function(a){z(a,"onContainerTouchMove","touchmove",function(a){p[a.pointerId]={pageX:a.pageX,pageY:a.pageY};p[a.pointerId].target||(p[a.pointerId].target=a.currentTarget)})};e.prototype.onDocumentPointerUp=function(a){z(a, "onDocumentTouchEnd","touchend",function(a){delete p[a.pointerId]})};e.prototype.setDOMEvents=function(){var a=this.chart.tooltip;d.prototype.setDOMEvents.call(this);(this.hasZoom||f(a&&a.options.followTouchMove,!0))&&this.batchMSEvents(l)};return e}(e)});J(e,"Core/Legend/Legend.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Series/Point.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Utilities.js"]],function(b,e,t,D,z,v){var F=b.animObject, w=b.setAnimation,r=e.format,m=t.marginNames,l=z.distribute,a=v.addEvent,d=v.createElement,f=v.css,k=v.defined,p=v.discardElement,E=v.find,B=v.fireEvent,y=v.isNumber,I=v.merge,u=v.pick,h=v.relativeLength,x=v.stableSort,q=v.syncTimeout;b=function(){function b(a,d){this.allItems=[];this.contentGroup=this.box=void 0;this.display=!1;this.group=void 0;this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop= this.itemMarginBottom=this.itemHeight=this.initialItemY=0;this.options=void 0;this.padding=0;this.pages=[];this.proximate=!1;this.scrollGroup=void 0;this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0;this.chart=a;this.init(a,d)}b.prototype.init=function(d,b){this.chart=d;this.setOptions(b);b.enabled&&(this.render(),a(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=a(this.chart,"render",function(){this.legend.proximatePositions(); this.legend.positionItems()}):this.unchartrender&&this.unchartrender())};b.prototype.setOptions=function(a){var d=u(a.padding,8);this.options=a;this.chart.styledMode||(this.itemStyle=a.itemStyle,this.itemHiddenStyle=I(this.itemStyle,a.itemHiddenStyle));this.itemMarginTop=a.itemMarginTop||0;this.itemMarginBottom=a.itemMarginBottom||0;this.padding=d;this.initialItemY=d-5;this.symbolWidth=u(a.symbolWidth,16);this.pages=[];this.proximate="proximate"===a.layout&&!this.chart.inverted;this.baseline=void 0}; b.prototype.update=function(a,d){var c=this.chart;this.setOptions(I(!0,this.options,a));this.destroy();c.isDirtyLegend=c.isDirtyBox=!0;u(d,!0)&&c.redraw();B(this,"afterUpdate")};b.prototype.colorizeItem=function(a,d){var c=a.legendItem||{},b=c.group,g=c.label,h=c.line;c=c.symbol;if(b)b[d?"removeClass":"addClass"]("highcharts-legend-item-hidden");if(!this.chart.styledMode){var f=this.options;b=this.itemHiddenStyle.color;f=d?f.itemStyle.color:b;var k=d?a.color||b:b,l=a.options&&a.options.marker,n={fill:k}; g&&g.css({fill:f,color:f});h&&h.attr({stroke:k});c&&(l&&c.isMarker&&(n=a.pointAttribs(),d||(n.stroke=n.fill=b)),c.attr(n))}B(this,"afterColorizeItem",{item:a,visible:d})};b.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this);this.chart.isResizing||this.positionCheckboxes()};b.prototype.positionItem=function(a){var d=this,c=a.legendItem||{},b=c.group,g=c.x;g=void 0===g?0:g;c=c.y;c=void 0===c?0:c;var h=this.options,f=h.symbolPadding,l=!h.rtl;h=a.checkbox;b&&b.element&&(f= {translateX:l?g:this.legendWidth-g-2*f-4,translateY:c},b[k(b.translateY)?"animate":"attr"](f,void 0,function(){B(d,"afterPositionItem",{item:a})}));h&&(h.x=g,h.y=c)};b.prototype.destroyItem=function(a){for(var d=a.checkbox,c=a.legendItem||{},b=0,g=["group","label","line","symbol"];bb-6&&k1.5*b?c.height:b))};b.prototype.layoutItem=function(a){var d=this.options,c=this.padding,b="horizontal"===d.layout,g=a.itemHeight,h=this.itemMarginBottom,f=this.itemMarginTop,k=b?u(d.itemDistance,20):0,l=this.maxLegendWidth;d=d.alignColumns&&this.totalItemWidth>l?this.maxItemWidth:a.itemWidth;var n=a.legendItem|| {};b&&this.itemX-c+d>l&&(this.itemX=c,this.lastLineHeight&&(this.itemY+=f+this.lastLineHeight+h),this.lastLineHeight=0);this.lastItemY=f+this.itemY+h;this.lastLineHeight=Math.max(g,this.lastLineHeight);n.x=this.itemX;n.y=this.itemY;b?this.itemX+=d:(this.itemY+=f+g+h,this.lastLineHeight=g);this.offsetWidth=this.widthOption||Math.max((b?this.itemX-c-(a.checkbox?0:k):d)+c,this.offsetWidth)};b.prototype.getAllItems=function(){var a=[];this.chart.series.forEach(function(d){var c=d&&d.options;d&&u(c.showInLegend, k(c.linkedTo)?!1:void 0,!0)&&(a=a.concat((d.legendItem||{}).labels||("point"===c.legendType?d.data:d)))});B(this,"afterGetAllItems",{allItems:a});return a};b.prototype.getAlignment=function(){var a=this.options;return this.proximate?a.align.charAt(0)+"tv":a.floating?"":a.align.charAt(0)+a.verticalAlign.charAt(0)+a.layout.charAt(0)};b.prototype.adjustMargins=function(a,d){var c=this.chart,b=this.options,g=this.getAlignment();g&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(h, f){h.test(g)&&!k(a[f])&&(c[m[f]]=Math.max(c[m[f]],c.legend[(f+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][f]*b[f%2?"x":"y"]+u(b.margin,12)+d[f]+(c.titleOffset[f]||0)))})};b.prototype.proximatePositions=function(){var a=this.chart,d=[],c="left"===this.options.align;this.allItems.forEach(function(b){var g;var h=c;if(b.yAxis){b.xAxis.options.reversed&&(h=!h);b.points&&(g=E(h?b.points:b.points.slice(0).reverse(),function(a){return y(a.plotY)}));h=this.itemMarginTop+b.legendItem.label.getBBox().height+ this.itemMarginBottom;var f=b.yAxis.top-a.plotTop;b.visible?(g=g?g.plotY:b.yAxis.height,g+=f-.3*h):g=f+b.yAxis.height;d.push({target:g,size:h,item:b})}},this);for(var b,h=0,f=l(d,a.plotHeight);hh&&!1!==n.enabled? (this.clipHeight=x=Math.max(h-20-this.titleHeight-k,0),this.currentPage=u(this.currentPage,1),this.fullHeight=a,m.forEach(function(a,c){r=a.legendItem||{};a=r.y||0;var d=Math.round(r.label.getBBox().height),b=q.length;if(!b||a-q[b-1]>x&&(B||a)!==q[b-1])q.push(B||a),b++;r.pageIx=b-1;B&&((m[c-1].legendItem||{}).pageIx=b-1);c===m.length-1&&a+d-q[b-1]>x&&d<=x&&(q.push(a),r.pageIx=b);a!==B&&(B=a)}),w||(w=d.clipRect=b.clipRect(0,k,9999,0),d.contentGroup.clip(w)),y(x),I||(this.nav=I=b.g().attr({zIndex:1}).add(this.group), this.up=b.symbol("triangle",0,0,p,p).add(I),E("upTracker").on("click",function(){d.scroll(-1,e)}),this.pager=b.text("",15,10).addClass("highcharts-legend-navigation"),!c.styledMode&&n.style&&this.pager.css(n.style),this.pager.add(I),this.down=b.symbol("triangle-down",0,0,p,p).add(I),E("downTracker").on("click",function(){d.scroll(1,e)})),d.scroll(0),a=h):I&&(y(),this.nav=I.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0);return a};b.prototype.scroll=function(a,d){var c=this,b=this.chart, g=this.pages,h=g.length,f=this.clipHeight,k=this.options.navigation,l=this.pager,n=this.padding,e=this.currentPage+a;e>h&&(e=h);0=Math.max(l+h,u.pos)&&k<=Math.min(l+h+g.width,u.pos+u.len)||(a.isInsidePlot=!1)}!d.ignoreY&&a.isInsidePlot&&(b=d.axis&&!d.axis.isXAxis&&d.axis||n&&(b?n.xAxis:n.yAxis)||{pos:f,len:Infinity},d=d.paneCoordinates? b.pos+c:f+c,d>=Math.max(e+f,b.pos)&&d<=Math.min(e+f+g.height,b.pos+b.len)||(a.isInsidePlot=!1));M(this,"afterIsInsidePlot",a);return a.isInsidePlot};b.prototype.redraw=function(a){M(this,"beforeRedraw");var c=this.hasCartesianSeries?this.axes:this.colorAxis||[],d=this.series,b=this.pointer,g=this.legend,h=this.userOptions.legend,f=this.renderer,k=f.isHidden(),l=[],e=this.isDirtyBox,n=this.isDirtyLegend;this.setResponsive&&this.setResponsive(!1);B(this.hasRendered?a:!1,this);k&&this.temporaryDisplay(); this.layOutTitles();for(a=d.length;a--;){var u=d[a];if(u.options.stacking||u.options.centerInCategory){var p=!0;if(u.isDirty){var q=!0;break}}}if(q)for(a=d.length;a--;)u=d[a],u.options.stacking&&(u.isDirty=!0);d.forEach(function(a){a.isDirty&&("point"===a.options.legendType?("function"===typeof a.updateTotals&&a.updateTotals(),n=!0):h&&(h.labelFormatter||h.labelFormat)&&(n=!0));a.isDirtyData&&M(a,"updatedData")});n&&g&&g.options.enabled&&(g.render(),this.isDirtyLegend=!1);p&&this.getStacks();c.forEach(function(a){a.updateNames(); a.setScale()});this.getMargins();c.forEach(function(a){a.isDirty&&(e=!0)});c.forEach(function(a){var c=a.min+","+a.max;a.extKey!==c&&(a.extKey=c,l.push(function(){M(a,"afterSetExtremes",ba(a.eventArgs,a.getExtremes()));delete a.eventArgs}));(e||p)&&a.redraw()});e&&this.drawChartBox();M(this,"predraw");d.forEach(function(a){(e||a.isDirty)&&a.visible&&a.redraw();a.isDirtyData=!1});b&&b.reset(!0);f.draw();M(this,"redraw");M(this,"render");k&&this.temporaryDisplay(!0);l.forEach(function(a){a.call()})}; b.prototype.get=function(a){function c(c){return c.id===a||c.options&&c.options.id===a}for(var d=this.series,b=J(this.axes,c)||J(this.series,c),g=0;!b&&gc.pointCount))}; b.prototype.pan=function(a,c){var d=this,b=d.hoverPoints;c="object"===typeof c?c:{enabled:c,type:"x"};var g=d.options.chart;g&&g.panning&&(g.panning=c);var f=c.type,h;M(this,"pan",{originalEvent:a},function(){b&&b.forEach(function(a){a.setState()});var c=d.xAxis;"xy"===f?c=c.concat(d.yAxis):"y"===f&&(c=d.yAxis);var g={};c.forEach(function(c){if(c.options.panningEnabled&&!c.options.isInternal){var b=c.horiz,k=a[b?"chartX":"chartY"];b=b?"mouseDownX":"mouseDownY";var l=d[b],e=c.minPointOffset||0,n=c.reversed&& !d.inverted||!c.reversed&&d.inverted?-1:1,u=c.getExtremes(),p=c.toValue(l-k,!0)+e*n,q=c.toValue(l+c.len-k,!0)-(e*n||c.isXAxis&&c.pointRangePadding||0),m=q=n&&p<=q&&(c.setExtremes(l,p,!1,!1,{trigger:"pan"}),!d.resetZoomButton&&l!==n&&p!==q&&f.match("y")&&(d.showResetZoom(),c.displayBtn= !1),h=!0),g[b]=k)}});S(g,function(a,c){d[c]=a});h&&d.redraw(!1);K(d.container,{cursor:"move"})})};return b}();ba(b.prototype,{callbacks:[],collectionsWithInit:{xAxis:[b.prototype.addAxis,[!0]],yAxis:[b.prototype.addAxis,[!1]],series:[b.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "), propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")});"";return b});J(e,"Core/Legend/LegendSymbol.js",[e["Core/Utilities.js"]],function(b){var e=b.merge,t=b.pick,D;(function(b){b.drawLineMarker=function(b){var v=this.legendItem=this.legendItem||{},w=this.options,r=b.symbolWidth,m=b.symbolHeight,l=m/2,a=this.chart.renderer,d=v.group;b=b.baseline-Math.round(.3*b.fontMetrics.b);var f={},k=w.marker;this.chart.styledMode|| (f={"stroke-width":w.lineWidth||0},w.dashStyle&&(f.dashstyle=w.dashStyle));v.line=a.path([["M",0,b],["L",r,b]]).addClass("highcharts-graph").attr(f).add(d);k&&!1!==k.enabled&&r&&(w=Math.min(t(k.radius,l),l),0===this.symbol.indexOf("url")&&(k=e(k,{width:m,height:m}),w=0),v.symbol=v=a.symbol(this.symbol,r/2-w,b-w,2*w,2*w,k).addClass("highcharts-point").add(d),v.isMarker=!0)};b.drawRectangle=function(b,e){e=e.legendItem||{};var w=b.symbolHeight,r=b.options.squareSymbol;e.symbol=this.chart.renderer.rect(r? (b.symbolWidth-w)/2:0,b.baseline-w+1,r?w:b.symbolWidth,w,t(b.options.symbolRadius,w/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.group)}})(D||(D={}));return D});J(e,"Core/Series/SeriesDefaults.js",[],function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1E3},events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc", lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var b=this.series.chart.numberFormatter;return"number"!==typeof this.y?"":b(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}}, select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1E3,findNearestPointBy:"x"}});J(e,"Core/Series/Series.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Defaults.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Series/Point.js"],e["Core/Series/SeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(b,e,t,D,z,v,F,w,r,m){var l= b.animObject,a=b.setAnimation,d=e.defaultOptions,f=t.registerEventOptions,k=D.hasTouch,p=D.svg,E=D.win,B=w.seriesTypes,y=m.addEvent,I=m.arrayMax,u=m.arrayMin,h=m.clamp,x=m.cleanRecursively,q=m.correctFloat,n=m.defined,g=m.erase,C=m.error,c=m.extend,A=m.find,G=m.fireEvent,H=m.getNestedProperty,O=m.isArray,K=m.isNumber,T=m.isString,Y=m.merge,P=m.objectEach,L=m.pick,ba=m.removeEvent,J=m.splat,M=m.syncTimeout;b=function(){function b(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions= this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}b.prototype.init=function(a,d){G(this,"init",{options:d});var b=this,g=a.series;this.eventsToUnbind=[];b.chart=a;b.options=b.setOptions(d);d=b.options;b.linkedSeries=[];b.bindAxes();c(b,{name:d.name,state:"",visible:!1!==d.visible,selected:!0===d.selected});f(this,d);var h=d.events;if(h&&h.click||d.point&&d.point.events&&d.point.events.click|| d.allowPointSelect)a.runTrackerClick=!0;b.getColor();b.getSymbol();b.parallelArrays.forEach(function(a){b[a+"Data"]||(b[a+"Data"]=[])});b.isCartesian&&(a.hasCartesianSeries=!0);var k;g.length&&(k=g[g.length-1]);b._i=L(k&&k._i,-1)+1;b.opacity=b.options.opacity;a.orderSeries(this.insert(g));d.dataSorting&&d.dataSorting.enabled?b.setDataSortingOptions():b.points||b.data||b.setData(d.data,!1);G(this,"afterInit")};b.prototype.is=function(a){return B[a]&&this instanceof B[a]};b.prototype.insert=function(a){var c= this.options.index,d;if(K(c)){for(d=a.length;d--;)if(c>=L(a[d].options.index,a[d]._i)){a.splice(d+1,0,this);break}-1===d&&a.unshift(this);d+=1}else a.push(this);return L(d,a.length-1)};b.prototype.bindAxes=function(){var a=this,c=a.options,d=a.chart,b;G(this,"bindAxes",null,function(){(a.axisTypes||[]).forEach(function(g){var f=0;d[g].forEach(function(d){b=d.options;if(c[g]===f&&!b.isInternal||"undefined"!==typeof c[g]&&c[g]===b.id||"undefined"===typeof c[g]&&0===b.index)a.insert(d.series),a[g]=d, d.isDirty=!0;b.isInternal||f++});a[g]||a.optionalAxis===g||C(18,!0,d)})});G(this,"afterBindAxes")};b.prototype.updateParallelArrays=function(a,c){var d=a.series,b=arguments,g=K(c)?function(b){var g="y"===b&&d.toYData?d.toYData(a):a[b];d[b+"Data"][c]=g}:function(a){Array.prototype[c].apply(d[a+"Data"],Array.prototype.slice.call(b,2))};d.parallelArrays.forEach(g)};b.prototype.hasData=function(){return this.visible&&"undefined"!==typeof this.dataMax&&"undefined"!==typeof this.dataMin||this.visible&& this.yData&&0=this.cropStart?l-this.cropStart:l);!k&&K(l)&&g[l]&&g[l].touched&&(l=void 0);return l};b.prototype.updateData=function(a,c){var d=this.options,b=d.dataSorting,g=this.points,f=[],h=this.requireSorting,k=a.length===g.length,l,e,u,p=!0;this.xIncrement=null;a.forEach(function(a,c){var e=n(a)&&this.pointClass.prototype.optionsToObject.call({series:this}, a)||{},p=e.x;if(e.id||K(p)){if(e=this.findPointIndex(e,u),-1===e||"undefined"===typeof e?f.push(a):g[e]&&a!==d.data[e]?(g[e].update(a,!1,null,!1),g[e].touched=!0,h&&(u=e+1)):g[e]&&(g[e].touched=!0),!k||c!==e||b&&b.enabled||this.hasDerivedData)l=!0}else f.push(a)},this);if(l)for(a=g.length;a--;)(e=g[a])&&!e.touched&&e.remove&&e.remove(!1,c);else!k||b&&b.enabled?p=!1:(a.forEach(function(a,c){a!==g[c].y&&g[c].update&&g[c].update(a,!1,null,!1)}),f.length=0);g.forEach(function(a){a&&(a.touched=!1)});if(!p)return!1; f.forEach(function(a){this.addPoint(a,!1,null,null,!1)},this);null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=I(this.xData),this.autoIncrement());return!0};b.prototype.setData=function(a,c,d,b){void 0===c&&(c=!0);var g=this,f=g.points,h=f&&f.length||0,k=g.options,l=g.chart,e=k.dataSorting,n=g.xAxis,u=k.turboThreshold,p=this.xData,q=this.yData,m=g.pointArrayMap;m=m&&m.length;var A=k.keys,G,y=0,E=1,x=null;if(!l.options.chart.allowMutatingData){k.data&&delete g.options.data;g.userOptions.data&& delete g.userOptions.data;var B=Y(!0,a)}a=B||a||[];B=a.length;e&&e.enabled&&(a=this.sortData(a));l.options.chart.allowMutatingData&&!1!==b&&B&&h&&!g.cropped&&!g.hasGroupedData&&g.visible&&!g.boosted&&(G=this.updateData(a,d));if(!G){g.xIncrement=null;g.colorCounter=0;this.parallelArrays.forEach(function(a){g[a+"Data"].length=0});if(u&&B>u)if(x=g.getFirstValidPoint(a),K(x))for(d=0;da?1:0}).forEach(function(a, c){a.x=c},this);c.linkedSeries&&c.linkedSeries.forEach(function(c){var d=c.options,g=d.data;d.dataSorting&&d.dataSorting.enabled||!g||(g.forEach(function(d,f){g[f]=b(c,d);a[f]&&(g[f].x=a[f].x,g[f].index=f)}),c.setData(g,!1))});return a};b.prototype.getProcessedData=function(a){var c=this.xAxis,d=this.options,b=d.cropThreshold,g=a||this.getExtremesFromAll||d.getExtremesFromAll,f=this.isCartesian;a=c&&c.val2lin;d=!(!c||!c.logarithmic);var h=0,k=this.xData,l=this.yData,e=this.requireSorting;var n=!1; var u=k.length;if(c){n=c.getExtremes();var p=n.min;var q=n.max;n=!(!c.categories||c.names.length)}if(f&&this.sorted&&!g&&(!b||u>b||this.forceCrop))if(k[u-1]q)k=[],l=[];else if(this.yData&&(k[0]q)){var m=this.cropData(this.xData,this.yData,p,q);k=m.xData;l=m.yData;h=m.start;m=!0}for(b=k.length||1;--b;)if(c=d?a(k[b])-a(k[b-1]):k[b]-k[b-1],0c&&e&&!n&&(C(15,!1,this.chart),e=!1);return{xData:k,yData:l,cropped:m,cropStart:h,closestPointRange:A}}; b.prototype.processData=function(a){var c=this.xAxis;if(this.isCartesian&&!this.isDirty&&!c.isDirty&&!this.yAxis.isDirty&&!a)return!1;a=this.getProcessedData();this.cropped=a.cropped;this.cropStart=a.cropStart;this.processedXData=a.xData;this.processedYData=a.yData;this.closestPointRange=this.basePointRange=a.closestPointRange;G(this,"afterProcessData")};b.prototype.cropData=function(a,c,d,b,g){var f=a.length,h,k=0,l=f;g=L(g,this.cropShoulder);for(h=0;h=d){k=Math.max(0,h-g);break}for(d= h;db){l=d+g;break}return{xData:a.slice(k,l),yData:c.slice(k,l),start:k,end:l}};b.prototype.generatePoints=function(){var a=this.options,d=this.processedData||a.data,b=this.processedXData,g=this.processedYData,f=this.pointClass,h=b.length,k=this.cropStart||0,l=this.hasGroupedData,e=a.keys,n=[];a=a.dataGrouping&&a.dataGrouping.groupAll?k:0;var u,p,q=this.data;if(!q&&!l){var m=[];m.length=d.length;q=this.data=m}e&&l&&(this.options.keys=!1);for(p=0;p=l&&(g[k-h]||m)<=e;if(A&&m)if(A= q.length)for(;A--;)K(q[A])&&(f[n++]=q[A]);else f[n++]=q}a={activeYData:f,dataMin:u(f),dataMax:I(f)};G(this,"afterGetExtremes",{dataExtremes:a});return a};b.prototype.applyExtremes=function(){var a=this.getExtremes();this.dataMin=a.dataMin;this.dataMax=a.dataMax;return a};b.prototype.getFirstValidPoint=function(a){for(var c=a.length,d=0,b=null;null===b&&d=w&&(w=null),x.total=x.stackTotal=H.total,x.percentage=H.total&&x.y/H.total*100,x.stackY=I,this.irregularWidths||H.setOffset(this.pointXOffset||0,this.barW||0));x.yBottom=n(w)?h(f.translate(w,0,1,0,1),-1E5,1E5):null;this.dataModify&&(I=this.dataModify.modifyValue(I, C));x.plotY=void 0;K(I)&&(H=f.translate(I,!1,!0,!1,!0),"undefined"!==typeof H&&(x.plotY=h(H,-1E5,1E5)));x.isInside=this.isPointInside(x);x.clientX=u?q(d.translate(B,0,0,0,1,e)):y;x.negative=x[A]<(a[A+"Threshold"]||p||0);x.category=L(b&&b[x.x],x.x);if(!x.isNull&&!1!==x.visible){"undefined"!==typeof z&&(E=Math.min(E,Math.abs(y-z)));var z=y}x.zone=this.zones.length?x.getZone():void 0;!x.graphic&&this.group&&g&&(x.isNew=!0)}this.closestPointRangePx=E;G(this,"afterTranslate")};b.prototype.getValidPoints= function(a,c,d){var b=this.chart;return(a||this.points||[]).filter(function(a){return c&&!b.isInsidePlot(a.plotX,a.plotY,{inverted:b.inverted})?!1:!1!==a.visible&&(d||!a.isNull)})};b.prototype.getClipBox=function(){var a=this.chart,c=this.xAxis,d=this.yAxis,b=Y(a.clipBox);c&&c.len!==a.plotSizeX&&(b.width=c.len);d&&d.len!==a.plotSizeY&&(b.height=d.len);return b};b.prototype.getSharedClipKey=function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0)};b.prototype.setClip= function(){var a=this.chart,c=this.group,d=this.markerGroup,b=a.sharedClips;a=a.renderer;var g=this.getClipBox(),f=this.getSharedClipKey(),h=b[f];h?h.animate(g):b[f]=h=a.clipRect(g);c&&c.clip(!1===this.options.clip?void 0:h);d&&d.clip()};b.prototype.animate=function(a){var c=this.chart,d=this.group,b=this.markerGroup,g=c.inverted,f=l(this.options.animation),h=[this.getSharedClipKey(),f.duration,f.easing,f.defer].join(),k=c.sharedClips[h],e=c.sharedClips[h+"m"];if(a&&d)f=this.getClipBox(),k?k.attr("height", f.height):(f.width=0,g&&(f.x=c.plotHeight),k=c.renderer.clipRect(f),c.sharedClips[h]=k,e=c.renderer.clipRect({x:g?(c.plotSizeX||0)+99:-99,y:g?-c.plotLeft:-c.plotTop,width:99,height:g?c.chartWidth:c.chartHeight}),c.sharedClips[h+"m"]=e),d.clip(k),b&&b.clip(e);else if(k&&!k.hasClass("highcharts-animating")){c=this.getClipBox();var n=f.step;b&&b.element.childNodes.length&&(f.step=function(a,c){n&&n.apply(c,arguments);e&&e.element&&e.attr(c.prop,"width"===c.prop?a+99:a)});k.addClass("highcharts-animating").animate(c, f)}};b.prototype.afterAnimate=function(){var a=this;this.setClip();P(this.chart.sharedClips,function(c,d,b){c&&!a.chart.container.querySelector('[clip-path="url(#'.concat(c.id,')"]'))&&(c.destroy(),delete b[d])});this.finishedAnimating=!0;G(this,"afterAnimate")};b.prototype.drawPoints=function(a){void 0===a&&(a=this.points);var c=this.chart,d=this.options.marker,b=this[this.specialGroup]||this.markerGroup,g=this.xAxis,f=L(d.enabled,!g||g.isRadial?!0:null,this.closestPointRangePx>=d.enabledThreshold* d.radius),h,k;if(!1!==d.enabled||this._hasPointMarkers)for(h=0;hH.max;a.resetZones&&0===u&&(u=void 0)});this.clips=g}else a.visible&&(f&&f.show(),k&&k.show())}; b.prototype.invertGroups=function(a){function c(){["group","markerGroup"].forEach(function(c){d[c]&&(b.renderer.isVML&&d[c].attr({width:d.yAxis.len,height:d.xAxis.len}),d[c].width=d.yAxis.len,d[c].height=d.xAxis.len,d[c].invert(d.isRadialSeries?!1:a))})}var d=this,b=d.chart;d.xAxis&&(d.eventsToUnbind.push(y(b,"resize",c)),c(),d.invertGroups=c)};b.prototype.plotGroup=function(a,c,d,b,g){var f=this[a],h=!f;d={visibility:d,zIndex:b||.1};"undefined"===typeof this.opacity||this.chart.styledMode||"inactive"=== this.state||(d.opacity=this.opacity);h&&(this[a]=f=this.chart.renderer.g().add(g));f.addClass("highcharts-"+c+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(n(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(f.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0);f.attr(d)[h?"attr":"animate"](this.getPlotBox());return f};b.prototype.getPlotBox=function(){var a=this.chart,c=this.xAxis,d=this.yAxis;a.inverted&&(c=d,d=this.xAxis); return{translateX:c?c.left:a.plotLeft,translateY:d?d.top:a.plotTop,scaleX:1,scaleY:1}};b.prototype.removeEvents=function(a){a||ba(this);this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(a){a()}),this.eventsToUnbind.length=0)};b.prototype.render=function(){var a=this,c=a.chart,d=a.options,b=l(d.animation),g=a.visible?"inherit":"hidden",f=d.zIndex,h=a.hasRendered,k=c.seriesGroup,e=c.inverted;c=!a.finishedAnimating&&c.renderer.isSVG?b.duration:0;G(this,"render");var n=a.plotGroup("group", "series",g,f,k);a.markerGroup=a.plotGroup("markerGroup","markers",g,f,k);!1!==d.clip&&a.setClip();a.animate&&c&&a.animate(!0);n.inverted=L(a.invertible,a.isCartesian)?e:!1;a.drawGraph&&(a.drawGraph(),a.applyZones());a.visible&&a.drawPoints();a.drawDataLabels&&a.drawDataLabels();a.redrawPoints&&a.redrawPoints();a.drawTracker&&!1!==a.options.enableMouseTracking&&a.drawTracker();a.invertGroups(e);a.animate&&c&&a.animate();h||(c&&b.defer&&(c+=b.defer),a.animationTimeout=M(function(){a.afterAnimate()}, c||0));a.isDirty=!1;a.hasRendered=!0;G(a,"afterRender")};b.prototype.redraw=function(){var a=this.chart,c=this.isDirty||this.isDirtyData,d=this.group,b=this.xAxis,g=this.yAxis;d&&(a.inverted&&d.attr({width:a.plotWidth,height:a.plotHeight}),d.animate({translateX:L(b&&b.left,a.plotLeft),translateY:L(g&&g.top,a.plotTop)}));this.translate();this.render();c&&delete this.kdTree};b.prototype.searchPoint=function(a,c){var d=this.xAxis,b=this.yAxis,g=this.chart.inverted;return this.searchKDTree({clientX:g? d.len-a.chartY+d.pos:a.chartX-d.pos,plotY:g?b.len-a.chartX+b.pos:a.chartY-b.pos},c,a)};b.prototype.buildKDTree=function(a){function c(a,b,g){var f=a&&a.length;if(f){var h=d.kdAxisArray[b%g];a.sort(function(a,c){return a[h]-c[h]});f=Math.floor(f/2);return{point:a[f],left:c(a.slice(0,f),b+1,g),right:c(a.slice(f+1),b+1,g)}}}this.buildingKdTree=!0;var d=this,b=-1p?"left":"right";q=0>p?"right":"left";c[m]&&(m=b(a,c[m],d+1,l),u=m[k]q;)m--;this.updateParallelArrays(p,"splice",m,0,0);this.updateParallelArrays(p,m);l&&p.name&&(l[q]=p.name);e.splice(m,0,a);if(u||this.processedData)this.data.splice(m, 0,null),this.processData();"point"===f.legendType&&this.generatePoints();d&&(h[0]&&h[0].remove?h[0].remove(!1):(h.shift(),this.updateParallelArrays(p,"shift"),e.shift()));!1!==g&&G(this,"addPoint",{point:p});this.isDirtyData=this.isDirty=!0;c&&k.redraw(b)};b.prototype.removePoint=function(c,d,b){var g=this,f=g.data,h=f[c],k=g.points,l=g.chart,e=function(){k&&k.length===f.length&&k.splice(c,1);f.splice(c,1);g.options.data.splice(c,1);g.updateParallelArrays(h||{series:g},"splice",c,1);h&&h.destroy(); g.isDirty=!0;g.isDirtyData=!0;d&&l.redraw()};a(b,l);d=L(d,!0);h?h.firePointEvent("remove",null,e):e()};b.prototype.remove=function(a,c,d,b){function g(){f.destroy(b);h.isDirtyLegend=h.isDirtyBox=!0;h.linkSeries();L(a,!0)&&h.redraw(c)}var f=this,h=f.chart;!1!==d?G(f,"remove",null,g):g()};b.prototype.update=function(a,d){a=x(a,this.userOptions);G(this,"update",{options:a});var b=this,g=b.chart,f=b.userOptions,h=b.initialType||b.type,k=g.options.plotOptions,l=B[h].prototype,e=b.finishedAnimating&&{animation:!1}, n={},p=["eventOptions","navigatorSeries","baseSeries"],u=a.type||f.type||g.options.chart.type,q=!(this.hasDerivedData||u&&u!==this.type||"undefined"!==typeof a.pointStart||"undefined"!==typeof a.pointInterval||"undefined"!==typeof a.relativeXValue||a.joinBy||a.mapData||b.hasOptionChanged("dataGrouping")||b.hasOptionChanged("pointStart")||b.hasOptionChanged("pointInterval")||b.hasOptionChanged("pointIntervalUnit")||b.hasOptionChanged("keys"));u=u||h;q&&(p.push("data","isDirtyData","points","processedData", "processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX"),!1!==a.visible&&p.push("area","graph"),b.parallelArrays.forEach(function(a){p.push(a+"Data")}),a.data&&(a.dataSorting&&c(b.options.dataSorting,a.dataSorting),this.setData(a.data,!1)));a=Y(f,e,{index:"undefined"===typeof f.index?b.index:f.index,pointStart:L(k&&k.series&&k.series.pointStart,f.pointStart,b.xData[0])},!q&&{data:b.options.data}, a);q&&a.data&&(a.data=b.options.data);p=["group","markerGroup","dataLabelsGroup","transformGroup","shadowGroup"].concat(p);p.forEach(function(a){p[a]=b[a];delete b[a]});k=!1;if(B[u]){if(k=u!==b.type,b.remove(!1,!1,!1,!0),k)if(Object.setPrototypeOf)Object.setPrototypeOf(b,B[u].prototype);else{e=Object.hasOwnProperty.call(b,"hcEvents")&&b.hcEvents;for(m in l)b[m]=void 0;c(b,B[u].prototype);e?b.hcEvents=e:delete b.hcEvents}}else C(17,!0,g,{missingModuleFor:u});p.forEach(function(a){b[a]=p[a]});b.init(g, a);if(q&&this.points){a=b.options;if(!1===a.visible)n.graphic=1,n.dataLabel=1;else if(!b._hasPointLabels){l=a.marker;var m=a.dataLabels;!l||!1!==l.enabled&&(f.marker&&f.marker.symbol)===l.symbol||(n.graphic=1);m&&!1===m.enabled&&(n.dataLabel=1)}f=0;for(l=this.points;fk&&e.shadow));m&&(m.startX=l.xMap,m.isArea=l.isArea)})};w.prototype.getGraphPath=function(b,e,l){var a=this,d=a.options,f=[],k=[],p,m=d.step;b=b||a.points;var B=b.reversed;B&&b.reverse();(m={right:1, center:2}[m]||m&&3)&&B&&(m=4-m);b=this.getValidPoints(b,!1,!(d.connectNulls&&!e&&!l));b.forEach(function(y,B){var u=y.plotX,h=y.plotY,x=b[B-1];(y.leftCliff||x&&x.rightCliff)&&!l&&(p=!0);y.isNull&&!z(e)&&0b&&B>d?(B=Math.max(b,d),y=2*d-B):Bl&&y>d?(y=Math.max(l,d),B=2*d-y):y=Math.abs(b)&&.5a.closestPointRange*a.xAxis.transA;c=a.borderWidth=u(f.borderWidth,c?0:1);var h=a.xAxis,e=a.yAxis,l=f.threshold,q=a.translatedThreshold=e.getThreshold(l),p=u(f.minPointLength,5),m=a.getColumnMetrics(),x=m.width,B=a.pointXOffset=m.offset, E=a.dataMin,r=a.dataMax,I=a.barW=Math.max(x,1+2*c);b.inverted&&(q-=.5);f.pointPadding&&(I=Math.ceil(I));v.prototype.translate.apply(a);a.points.forEach(function(c){var g=u(c.yBottom,q),n=999+Math.abs(g),A=c.plotX||0;n=d(c.plotY,-n,e.len+n);var C=Math.min(n,g),G=Math.max(n,g)-C,H=x,v=A+B,w=I;p&&Math.abs(G)p?g-p:q-(A?p:0));k(c.options.pointWidth)&&(H=w= Math.ceil(c.options.pointWidth),v-=Math.round((H-x)/2));f.centerInCategory&&(v=a.adjustForMissingColumns(v,H,c,m));c.barX=v;c.pointWidth=H;c.tooltipPos=b.inverted?[d(e.len+e.pos-b.plotLeft-n,e.pos-b.plotLeft,e.len+e.pos-b.plotLeft),h.len+h.pos-b.plotTop-v-w/2,G]:[h.left-b.plotLeft+v+w/2,d(n+e.pos-b.plotTop,e.pos-b.plotTop,e.len+e.pos-b.plotTop),G];c.shapeType=a.pointClass.prototype.shapeType||"rect";c.shapeArgs=a.crispCol.apply(a,c.isNull?[v,q,w,0]:[v,C,w,G])})};e.prototype.drawGraph=function(){this.group[this.dense? "addClass":"removeClass"]("highcharts-dense-data")};e.prototype.pointAttribs=function(a,b){var d=this.options,c=this.pointAttrToOptions||{},g=c.stroke||"borderColor",f=c["stroke-width"]||"borderWidth",h=a&&a.color||this.color,k=a&&a[g]||d[g]||h;c=a&&a.options.dashStyle||d.dashStyle;var e=a&&a[f]||d[f]||this[f]||0,n=u(a&&a.opacity,d.opacity,1);if(a&&this.zones.length){var p=a.getZone();h=a.options.color||p&&(p.color||a.nonZonedColor)||this.color;p&&(k=p.borderColor||k,c=p.dashStyle||c,e=p.borderWidth|| e)}b&&a&&(a=I(d.states[b],a.options.states&&a.options.states[b]||{}),b=a.brightness,h=a.color||"undefined"!==typeof b&&l(h).brighten(a.brightness).get()||h,k=a[g]||k,e=a[f]||e,c=a.dashStyle||c,n=u(a.opacity,n));g={fill:h,stroke:k,"stroke-width":e,opacity:n};c&&(g.dashstyle=c);return g};e.prototype.drawPoints=function(a){void 0===a&&(a=this.points);var b=this,d=this.chart,c=b.options,f=d.renderer,h=c.animationLimit||250,k;a.forEach(function(a){var g=a.graphic,e=!!g,l=g&&d.pointCount"===b&&a>d||"<"===b&&a="===b&&a>=d||"<="===b&&a<=d||"=="===b&&a==d||"==="===b&&a===d?!0:!1):!0}function p(b){void 0===b&&(b=this.points);var h=this,g=h.chart,k=h.options,c=h.hasRendered||0,l=g.renderer,p=g.options.chart,q=p.backgroundColor;p=p.plotBackgroundColor;var x=l.getContrast(m(p)&&p||m(q)&&q||"#000000"),y=k.dataLabels,B;q=y.animation;q=y.defer?K(g,q,h):{defer:0,duration:0};y=u(u(g.options.plotOptions&&g.options.plotOptions.series&&g.options.plotOptions.series.dataLabels, g.options.plotOptions&&g.options.plotOptions[h.type]&&g.options.plotOptions[h.type].dataLabels),y);w(this,"drawDataLabels");if(r(y)||y.enabled||h._hasPointLabels){var E=h.plotGroup("dataLabelsGroup","data-labels",c?"inherit":"hidden",y.zIndex||6);E.attr({opacity:+c});!c&&(c=h.dataLabelsGroup)&&(h.visible&&E.show(),c[k.animation?"animate":"attr"]({opacity:1},q));b.forEach(function(c){B=f(u(y,c.dlOptions||c.options&&c.options.dataLabels));B.forEach(function(b,f){var n=b.enabled&&(!c.isNull||c.dataLabelOnNull)&& e(c,b),u=c.connectors?c.connectors[f]:c.connector,p=c.dataLabels?c.dataLabels[f]:c.dataLabel,q=!p,m=d(b.distance,c.labelDistance);if(n){var y=c.getLabelConfig();var A=d(b[c.formatPrefix+"Format"],b.format);y=v(A)?z(A,y,g):(b[c.formatPrefix+"Formatter"]||b.formatter).call(y,b);A=b.style;var B=b.rotation;g.styledMode||(A.color=d(b.color,A.color,h.color,"#000000"),"contrast"===A.color?(c.contrastColor=l.getContrast(c.color||h.color),A.color=!v(m)&&b.inside||0>m||k.stacking?c.contrastColor:x):delete c.contrastColor, k.cursor&&(A.cursor=k.cursor));var r={r:b.borderRadius||0,rotation:B,padding:b.padding,zIndex:1};g.styledMode||(r.fill=b.backgroundColor,r.stroke=b.borderColor,r["stroke-width"]=b.borderWidth);a(r,function(a,c){"undefined"===typeof a&&delete r[c]})}!p||n&&v(y)&&!!p.div===!!b.useHTML&&(p.rotation&&b.rotation||p.rotation===b.rotation)||(q=!0,c.dataLabel=p=c.dataLabel&&c.dataLabel.destroy(),c.dataLabels&&(1===c.dataLabels.length?delete c.dataLabels:delete c.dataLabels[f]),f||delete c.dataLabel,u&&(c.connector= c.connector.destroy(),c.connectors&&(1===c.connectors.length?delete c.connectors:delete c.connectors[f])));n&&v(y)?(p?r.text=y:(c.dataLabels=c.dataLabels||[],p=c.dataLabels[f]=B?l.text(y,0,0,b.useHTML).addClass("highcharts-data-label"):l.label(y,0,0,b.shape,null,null,b.useHTML,null,"data-label"),f||(c.dataLabel=p),p.addClass(" highcharts-data-label-color-"+c.colorIndex+" "+(b.className||"")+(b.useHTML?" highcharts-tracker":""))),p.options=b,p.attr(r),g.styledMode||p.css(A).shadow(b.shadow),(f=b[c.formatPrefix+ "TextPath"]||b.textPath)&&!b.useHTML&&(p.setTextPath(c.getDataLabelPath&&c.getDataLabelPath(p)||c.graphic,f),c.dataLabelPath&&!f.enabled&&(c.dataLabelPath=c.dataLabelPath.destroy())),p.added||p.add(E),h.alignDataLabel(c,p,b,null,q)):p&&p.hide()})})}w(this,"afterDrawDataLabels")}function I(a,b,d,f,c,h){var g=this.chart,k=b.align,e=b.verticalAlign,l=a.box?0:a.padding||0,n=b.x;n=void 0===n?0:n;var u=b.y;u=void 0===u?0:u;var p=(d.x||0)+l;if(0>p){"right"===k&&0<=n?(b.align="left",b.inside=!0):n-=p;var q= !0}p=(d.x||0)+f.width-l;p>g.plotWidth&&("left"===k&&0>=n?(b.align="right",b.inside=!0):n+=g.plotWidth-p,q=!0);p=d.y+l;0>p&&("bottom"===e&&0<=u?(b.verticalAlign="top",b.inside=!0):u-=p,q=!0);p=(d.y||0)+f.height-l;p>g.plotHeight&&("top"===e&&0>=u?(b.verticalAlign="bottom",b.inside=!0):u+=g.plotHeight-p,q=!0);q&&(b.x=n,b.y=u,a.placed=!h,a.align(b,void 0,c));return q}function u(a,b){var d=[],f;if(r(a)&&!r(b))d=a.map(function(a){return l(a,b)});else if(r(b)&&!r(a))d=b.map(function(c){return l(a,c)});else if(r(a)|| r(b))for(f=Math.max(a.length,b.length);f--;)d[f]=l(a[f],b[f]);else d=l(a,b);return d}function h(a,b,d,f,c){var g=this.chart,h=g.inverted,k=this.xAxis,e=k.reversed,l=h?b.height/2:b.width/2;a=(a=a.pointWidth)?a/2:0;b.startXPos=h?c.x:e?-l-a:k.width-l+a;b.startYPos=h?e?this.yAxis.height-l+a:-l-a:c.y;f?"hidden"===b.visibility&&(b.show(),b.attr({opacity:0}).animate({opacity:1})):b.attr({opacity:1}).animate({opacity:0},void 0,b.hide);g.hasRendered&&(d&&b.attr({x:b.startXPos,y:b.startYPos}),b.placed=!0)} var x=[];b.compose=function(a){if(-1===x.indexOf(a)){var b=a.prototype;x.push(a);b.alignDataLabel=k;b.drawDataLabels=p;b.justifyDataLabel=I;b.setDataLabelStartPos=h}}})(k||(k={}));"";return k});J(e,"Series/Column/ColumnDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,t){var K=e.series,z=t.merge,v=t.pick,F;(function(e){function r(b,a,d,f,k){var e=this.chart.inverted,l=b.series,m=(l.xAxis?l.xAxis.len:this.chart.plotSizeX)||0;l=(l.yAxis? l.yAxis.len:this.chart.plotSizeY)||0;var y=b.dlBox||b.shapeArgs,r=v(b.below,b.plotY>v(this.translatedThreshold,l)),u=v(d.inside,!!this.options.stacking);y&&(f=z(y),0>f.y&&(f.height+=f.y,f.y=0),y=f.y+f.height-l,0\u25cf {series.name}
',pointFormat:"x: {point.x}
y: {point.y}
"}}});J(e,"Series/Scatter/ScatterSeries.js",[e["Series/Scatter/ScatterSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,t){var K=this&&this.__extends||function(){var b=function(e,a){b=Object.setPrototypeOf|| {__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d])};return b(e,a)};return function(e,a){function d(){this.constructor=e}b(e,a);e.prototype=null===a?Object.create(a):(d.prototype=a.prototype,new d)}}(),z=e.seriesTypes,v=z.column,F=z.line;z=t.addEvent;var w=t.extend,r=t.merge;t=function(e){function l(){var a=null!==e&&e.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;return a}K(l,e);l.prototype.applyJitter= function(){var a=this,b=this.options.jitter,f=this.points.length;b&&this.points.forEach(function(d,e){["x","y"].forEach(function(k,l){var p="plot"+k.toUpperCase();if(b[k]&&!d.isNull){var m=a[k+"Axis"];var u=b[k]*m.transA;if(m&&!m.isLog){var h=Math.max(0,d[p]-u);m=Math.min(m.len,d[p]+u);l=1E4*Math.sin(e+l*f);d[p]=h+(m-h)*(l-Math.floor(l));"x"===k&&(d.clientX=d.plotX)}}})})};l.prototype.drawGraph=function(){this.options.lineWidth?e.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())}; l.defaultOptions=r(F.defaultOptions,b);return l}(F);w(t.prototype,{drawTracker:v.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1});z(t,"afterTranslate",function(){this.applyJitter()});e.registerSeriesType("scatter",t);return t});J(e,"Series/CenteredUtilities.js",[e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],function(b,e,t){var K=b.deg2rad,z=t.fireEvent,v=t.isNumber,F=t.pick, w=t.relativeLength,r;(function(b){b.getCenter=function(){var b=this.options,a=this.chart,d=2*(b.slicedOffset||0),f=a.plotWidth-2*d,k=a.plotHeight-2*d,p=b.center,m=Math.min(f,k),B=b.thickness,y=b.size,r=b.innerSize||0;"string"===typeof y&&(y=parseFloat(y));"string"===typeof r&&(r=parseFloat(r));b=[F(p[0],"50%"),F(p[1],"50%"),F(y&&0>y?void 0:b.size,"100%"),F(r&&0>r?void 0:b.innerSize||0,"0%")];!a.angular||this instanceof e||(b[3]=0);for(p=0;4>p;++p)y=b[p],a=2>p||2===p&&/%$/.test(y),b[p]=w(y,[f,k,m, b[2]][p])+(a?d:0);b[3]>b[2]&&(b[3]=b[2]);v(B)&&2*Bb&&360>a-b?a:b+360;return{start:K*(b+-90),end:K*(a+-90)}}})(r||(r={}));"";return r});J(e,"Series/Pie/PiePoint.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(b,e,t){var K=this&&this.__extends||function(){var b=function(a,d){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d])};return b(a,d)};return function(a,d){function f(){this.constructor=a}b(a,d);a.prototype=null===d?Object.create(d):(f.prototype=d.prototype,new f)}}(),z=b.setAnimation,v=t.addEvent,F=t.defined;b=t.extend;var w=t.isNumber,r=t.pick,m=t.relativeLength;e=function(b){function a(){var a=null!==b&&b.apply(this,arguments)||this;a.labelDistance=void 0;a.options=void 0;a.series=void 0;return a}K(a,b);a.prototype.getConnectorPath= function(){var a=this.labelPosition,b=this.series.options.dataLabels,k=this.connectorShapes,e=b.connectorShape;k[e]&&(e=k[e]);return e.call(this,{x:a.final.x,y:a.final.y,alignment:a.alignment},a.connectorPosition,b)};a.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}};a.prototype.haloPath=function(a){var b=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(b.x,b.y,b.r+a,b.r+a,{innerR:b.r-1,start:b.start, end:b.end})};a.prototype.init=function(){var a=this;b.prototype.init.apply(this,arguments);this.name=r(this.name,"Slice");var f=function(b){a.slice("select"===b.type)};v(this,"select",f);v(this,"unselect",f);return this};a.prototype.isValid=function(){return w(this.y)&&0<=this.y};a.prototype.setVisible=function(a,b){var d=this,f=this.series,e=f.chart,l=f.options.ignoreHiddenPoint;b=r(b,l);a!==this.visible&&(this.visible=this.options.visible=a="undefined"===typeof a?!this.visible:a,f.options.data[f.data.indexOf(this)]= this.options,["graphic","dataLabel","connector","shadowGroup"].forEach(function(b){if(d[b])d[b][a?"show":"hide"](a)}),this.legendItem&&e.legend.colorizeItem(this,a),a||"hover"!==this.state||this.setState(""),l&&(f.isDirty=!0),b&&e.redraw())};a.prototype.slice=function(a,b,k){var d=this.series;z(k,d.chart);r(b,!0);this.sliced=this.options.sliced=F(a)?a:!this.sliced;d.options.data[d.data.indexOf(this)]=this.options;this.graphic&&this.graphic.animate(this.getTranslate());this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())}; return a}(e);b(e.prototype,{connectorShapes:{fixedOffset:function(b,a,d){var f=a.breakAt;a=a.touchingSliceAt;return[["M",b.x,b.y],d.softConnector?["C",b.x+("left"===b.alignment?-5:5),b.y,2*f.x-a.x,2*f.y-a.y,f.x,f.y]:["L",f.x,f.y],["L",a.x,a.y]]},straight:function(b,a){a=a.touchingSliceAt;return[["M",b.x,b.y],["L",a.x,a.y]]},crookedLine:function(b,a,d){a=a.touchingSliceAt;var f=this.series,k=f.center[0],e=f.chart.plotWidth,l=f.chart.plotLeft;f=b.alignment;var B=this.shapeArgs.r;d=m(d.crookDistance, 1);e="left"===f?k+B+(e+l-k-B)*(1-d):l+(k-B)*d;d=["L",e,b.y];k=!0;if("left"===f?e>b.x||ea.x)k=!1;b=[["M",b.x,b.y]];k&&b.push(d);b.push(["L",a.x,a.y]);return b}}});return e});J(e,"Series/Pie/PieSeriesDefaults.js",[],function(){"";return{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0}, fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}});J(e,"Series/Pie/PieSeries.js",[e["Series/CenteredUtilities.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Series/Pie/PiePoint.js"],e["Series/Pie/PieSeriesDefaults.js"],e["Core/Series/Series.js"], e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Utilities.js"]],function(b,e,t,D,z,v,F,w,r,m){var l=this&&this.__extends||function(){var a=function(b,d){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d])};return a(b,d)};return function(b,d){function f(){this.constructor=b}a(b,d);b.prototype=null===d?Object.create(d):(f.prototype=d.prototype,new f)}}(),a=b.getStartAndEndRadians; t=t.noop;var d=m.clamp,f=m.extend,k=m.fireEvent,p=m.merge,E=m.pick,B=m.relativeLength;m=function(b){function f(){var a=null!==b&&b.apply(this,arguments)||this;a.center=void 0;a.data=void 0;a.maxLabelDistance=void 0;a.options=void 0;a.points=void 0;return a}l(f,b);f.prototype.animate=function(a){var b=this,d=b.points,f=b.startAngleRad;a||d.forEach(function(a){var d=a.graphic,h=a.shapeArgs;d&&h&&(d.attr({r:E(a.startR,b.center&&b.center[3]/2),start:f,end:f}),d.animate({r:h.r,start:h.start,end:h.end}, b.options.animation))})};f.prototype.drawEmpty=function(){var a=this.startAngleRad,b=this.endAngleRad,d=this.options;if(0===this.total&&this.center){var f=this.center[0];var e=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(f,e,this.center[1]/2,0,a,b).addClass("highcharts-empty-series").add(this.group));this.graph.attr({d:r.arc(f,e,this.center[2]/2,0,{start:a,end:b,innerR:this.center[3]/2})});this.chart.styledMode||this.graph.attr({"stroke-width":d.borderWidth,fill:d.fillColor||"none", stroke:d.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())};f.prototype.drawPoints=function(){var a=this.chart.renderer;this.points.forEach(function(b){b.graphic&&b.hasNewShapeType()&&(b.graphic=b.graphic.destroy());b.graphic||(b.graphic=a[b.shapeType](b.shapeArgs).add(b.series.group),b.delayedRendering=!0)})};f.prototype.generatePoints=function(){b.prototype.generatePoints.call(this);this.updateTotals()};f.prototype.getX=function(a,b,f){var h=this.center,e=this.radii?this.radii[f.index]|| 0:h[2]/2;a=Math.asin(d((a-h[1])/(e+f.labelDistance),-1,1));return h[0]+(b?-1:1)*Math.cos(a)*(e+f.labelDistance)+(01.5*Math.PI?t-=2*Math.PI:t<-Math.PI/2&&(t+=2*Math.PI);r.slicedTranslation={translateX:Math.round(Math.cos(t)* f),translateY:Math.round(Math.sin(t)*f)};I=Math.cos(t)*b[2]/2;var w=Math.sin(t)*b[2]/2;r.tooltipPos=[b[0]+.7*I,b[1]+.7*w];r.half=t<-Math.PI/2||t>Math.PI/2?1:0;r.angle=t;v=Math.min(e,r.labelDistance/5);r.labelPosition={natural:{x:b[0]+I+Math.cos(t)*r.labelDistance,y:b[1]+w+Math.sin(t)*r.labelDistance},"final":{},alignment:0>r.labelDistance?"center":r.half?"right":"left",connectorPosition:{breakAt:{x:b[0]+I+Math.cos(t)*v,y:b[1]+w+Math.sin(t)*v},touchingSliceAt:{x:b[0]+I,y:b[1]+w}}}}k(this,"afterTranslate")}; f.prototype.updateTotals=function(){var a=this.points,b=a.length,d=this.options.ignoreHiddenPoint,f,e=0;for(f=0;fm&&(a.dataLabel.css({width:Math.round(.7*m)+"px"}),a.dataLabel.shortened=!0)):(a.dataLabel=a.dataLabel.destroy(),a.dataLabels&&1===a.dataLabels.length&&delete a.dataLabels))}),v.forEach(function(a,f){var h=a.length,n=[],m;if(h){b.sortByAngle(a,f-.5);if(0p-g&&0===f&&(q=Math.round(U+aa-p+g),t[1]=Math.max(q,t[1])),0>W-R/2?t[0]=Math.max(Math.round(-W+R/2),t[0]):W+R/2>c&&(t[2]=Math.max(Math.round(W+R/2-c),t[2])),J.sideOverflow=q)}}}),0===r(t)||this.verifyDataLabelOverflow(t))&&(this.placeDataLabels(),this.points.forEach(function(c){N=a(k,c.options.dataLabels);if(D=d(N.connectorWidth,1)){var f;F=c.connector;if((J=c.dataLabel)&&J._pos&&c.visible&&0b.bottom-2?f:d,b.half,b)},justify:function(a,b,d){return d[0]+(a.half?-1:1)*(b+a.labelDistance)},alignToPlotEdges:function(a, b,d,f){a=a.getBBox().width;return b?a+f:d-a-f},alignToConnectors:function(a,b,d,f){var g=0,h;a.forEach(function(a){h=a.dataLabel.getBBox().width;h>g&&(g=h)});return b?g+f:d-g-f}};e.compose=function(a){b.compose(w);-1===t.indexOf(a)&&(t.push(a),a=a.prototype,a.dataLabelPositioners=u,a.alignDataLabel=v,a.drawDataLabels=k,a.placeDataLabels=p,a.verifyDataLabelOverflow=y)}})(k||(k={}));return k});J(e,"Extensions/OverlappingDataLabels.js",[e["Core/Chart/Chart.js"],e["Core/Utilities.js"]],function(b,e){function t(b, e){var a=!1;if(b){var d=b.newOpacity;b.oldOpacity!==d&&(b.alignAttr&&b.placed?(b[d?"removeClass":"addClass"]("highcharts-data-label-hidden"),a=!0,b.alignAttr.opacity=d,b[b.isOld?"animate":"attr"](b.alignAttr,null,function(){e.styledMode||b.css({pointerEvents:d?"auto":"none"})}),z(e,"afterHideOverlappingLabel")):b.attr({opacity:d}));b.isOld=!0}return a}var K=e.addEvent,z=e.fireEvent,v=e.isArray,F=e.isNumber,w=e.objectEach,r=e.pick;K(b,"render",function(){var b=this,e=[];(this.labelCollectors||[]).forEach(function(a){e= e.concat(a())});(this.yAxis||[]).forEach(function(a){a.stacking&&a.options.stackLabels&&!a.options.stackLabels.allowOverlap&&w(a.stacking.stacks,function(a){w(a,function(a){a.label&&e.push(a.label)})})});(this.series||[]).forEach(function(a){var d=a.options.dataLabels;a.visible&&(!1!==d.enabled||a._hasPointLabels)&&(d=function(a){return a.forEach(function(a){a.visible&&(v(a.dataLabels)?a.dataLabels:a.dataLabel?[a.dataLabel]:[]).forEach(function(d){var f=d.options;d.labelrank=r(f.labelrank,a.labelrank, a.shapeArgs&&a.shapeArgs.height);f.allowOverlap?(d.oldOpacity=d.opacity,d.newOpacity=1,t(d,b)):e.push(d)})})},d(a.nodes||[]),d(a.points))});this.hideOverlappingLabels(e)});b.prototype.hideOverlappingLabels=function(b){var e=this,a=b.length,d=e.renderer,f,k,p,m=!1;var B=function(a){var b,f=a.box?0:a.padding||0,e=b=0,k;if(a&&(!a.alignAttr||a.placed)){var g=a.alignAttr||{x:a.attr("x"),y:a.attr("y")};var l=a.parentGroup;a.width||(b=a.getBBox(),a.width=b.width,a.height=b.height,b=d.fontMetrics(null,a.element).h); var c=a.width-2*f;(k={left:"0",center:"0.5",right:"1"}[a.alignValue])?e=+k*c:F(a.x)&&Math.round(a.x)!==a.translateX&&(e=a.x-a.translateX);return{x:g.x+(l.translateX||0)+f-(e||0),y:g.y+(l.translateY||0)+f-b,width:a.width-2*f,height:a.height-2*f}}};for(k=0;k=y.x+y.width||r.x+r.width<=y.x||r.y>=y.y+y.height||r.y+r.height<=y.y||((B.labelrank=w(d.minWidth,0)&&this.chartHeight>=w(d.minHeight,0)}).call(this)&&b.push(a._id)};a.prototype.setResponsive=function(a,b){var d=this,f=this.options.responsive,e=this.currentResponsive,k=[];!b&&f&&f.rules&&f.rules.forEach(function(a){"undefined"===typeof a._id&&(a._id=m());d.matchResponsiveRule(a, k)},this);b=v.apply(void 0,k.map(function(a){return t((f||{}).rules||[],function(b){return b._id===a})}).map(function(a){return a&&a.chartOptions}));b.isResponsiveOptions=!0;k=k.toString()||void 0;k!==(e&&e.ruleIds)&&(e&&this.update(e.undoOptions,a,!0),k?(e=this.currentOptions(b),e.isResponsiveOptions=!0,this.currentResponsive={ruleIds:k,mergedOptions:b,undoOptions:e},this.update(b,a,!0)):this.currentResponsive=void 0)};return a}()})(l||(l={}));"";"";return l});J(e,"masters/highcharts.src.js",[e["Core/Globals.js"], e["Core/Utilities.js"],e["Core/Defaults.js"],e["Core/Animation/Fx.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/FormatUtilities.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Renderer/HTML/HTMLElement.js"],e["Core/Renderer/HTML/HTMLRenderer.js"],e["Core/Axis/Axis.js"],e["Core/Axis/DateTimeAxis.js"],e["Core/Axis/LogarithmicAxis.js"],e["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"], e["Core/Axis/Tick.js"],e["Core/Tooltip.js"],e["Core/Series/Point.js"],e["Core/Pointer.js"],e["Core/MSPointer.js"],e["Core/Legend/Legend.js"],e["Core/Chart/Chart.js"],e["Core/Axis/Stacking/StackingAxis.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Series/Column/ColumnSeries.js"],e["Series/Column/ColumnDataLabel.js"],e["Series/Pie/PieSeries.js"],e["Series/Pie/PieDataLabel.js"],e["Core/Series/DataLabel.js"],e["Core/Responsive.js"],e["Core/Color/Color.js"], e["Core/Time.js"]],function(b,e,t,D,z,v,F,w,r,m,l,a,d,f,k,p,E,B,y,I,u,h,x,q,n,g,C,c,A,G,H,O,Q,T,J){b.animate=z.animate;b.animObject=z.animObject;b.getDeferredAnimation=z.getDeferredAnimation;b.setAnimation=z.setAnimation;b.stop=z.stop;b.timers=D.timers;b.AST=v;b.Axis=d;b.Chart=x;b.chart=x.chart;b.Fx=D;b.Legend=h;b.PlotLineOrBand=p;b.Point=y;b.Pointer=u.isRequired()?u:I;b.Series=g;b.StackItem=n;b.SVGElement=r;b.SVGRenderer=m;b.Tick=E;b.Time=J;b.Tooltip=B;b.Color=T;b.color=T.parse;a.compose(m);l.compose(r); b.defaultOptions=t.defaultOptions;b.getOptions=t.getOptions;b.time=t.defaultTime;b.setOptions=t.setOptions;b.dateFormat=F.dateFormat;b.format=F.format;b.numberFormat=F.numberFormat;b.addEvent=e.addEvent;b.arrayMax=e.arrayMax;b.arrayMin=e.arrayMin;b.attr=e.attr;b.clearTimeout=e.clearTimeout;b.correctFloat=e.correctFloat;b.createElement=e.createElement;b.css=e.css;b.defined=e.defined;b.destroyObjectProperties=e.destroyObjectProperties;b.discardElement=e.discardElement;b.distribute=w.distribute;b.erase= e.erase;b.error=e.error;b.extend=e.extend;b.extendClass=e.extendClass;b.find=e.find;b.fireEvent=e.fireEvent;b.getMagnitude=e.getMagnitude;b.getStyle=e.getStyle;b.inArray=e.inArray;b.isArray=e.isArray;b.isClass=e.isClass;b.isDOMElement=e.isDOMElement;b.isFunction=e.isFunction;b.isNumber=e.isNumber;b.isObject=e.isObject;b.isString=e.isString;b.keys=e.keys;b.merge=e.merge;b.normalizeTickInterval=e.normalizeTickInterval;b.objectEach=e.objectEach;b.offset=e.offset;b.pad=e.pad;b.pick=e.pick;b.pInt=e.pInt; b.relativeLength=e.relativeLength;b.removeEvent=e.removeEvent;b.seriesType=C.seriesType;b.splat=e.splat;b.stableSort=e.stableSort;b.syncTimeout=e.syncTimeout;b.timeUnits=e.timeUnits;b.uniqueKey=e.uniqueKey;b.useSerialIds=e.useSerialIds;b.wrap=e.wrap;A.compose(c);O.compose(g);f.compose(d);k.compose(d);H.compose(G);p.compose(d);Q.compose(x);q.compose(d,x,g);return b});J(e,"Core/Axis/Color/ColorAxisComposition.js",[e["Core/Color/Color.js"],e["Core/Utilities.js"]],function(b,e){var t=b.parse,D=e.addEvent, z=e.extend,v=e.merge,F=e.pick,w=e.splat,r;(function(b){function e(){var a=this,b=this.options;this.colorAxis=[];b.colorAxis&&(b.colorAxis=w(b.colorAxis),b.colorAxis.forEach(function(b,d){b.index=d;new x(a,b)}))}function a(a){var b=this,d=function(c){c=a.allItems.indexOf(c);-1!==c&&(b.destroyItem(a.allItems[c]),a.allItems.splice(c,1))},f=[],c,h;(this.chart.colorAxis||[]).forEach(function(a){(c=a.options)&&c.showInLegend&&(c.dataClasses&&c.visible?f=f.concat(a.getDataClassLegendSymbols()):c.visible&& f.push(a),a.series.forEach(function(a){if(!a.options.showInLegend||c.dataClasses)"point"===a.options.legendType?a.points.forEach(function(a){d(a)}):d(a)}))});for(h=f.length;h--;)a.allItems.unshift(f[h])}function d(a){a.visible&&a.item.legendColor&&a.item.legendItem.symbol.attr({fill:a.item.legendColor})}function f(){var a=this.chart.colorAxis;a&&a.forEach(function(a,b,d){a.update({},d)})}function k(){(this.chart.colorAxis&&this.chart.colorAxis.length||this.colorAttribs)&&this.translateColors()}function p(){var a= this.axisTypes;a?-1===a.indexOf("colorAxis")&&a.push("colorAxis"):this.axisTypes=["colorAxis"]}function m(a){var b=this,d=a?"show":"hide";b.visible=b.options.visible=!!a;["graphic","dataLabel"].forEach(function(a){if(b[a])b[a][d]()});this.series.buildKDTree()}function r(){var a=this,b=this.options.nullColor,d=this.colorAxis,f=this.colorKey;(this.data.length?this.data:this.points).forEach(function(c){var g=c.getNestedProperty(f);(g=c.options.color||(c.isNull||null===c.value?b:d&&"undefined"!==typeof g? d.toColor(g,c):c.color||a.color))&&c.color!==g&&(c.color=g,"point"===a.options.legendType&&c.legendItem&&c.legendItem.label&&a.chart.legend.colorizeItem(c,c.visible))})}function y(a){var b=a.prototype.createAxis;a.prototype.createAxis=function(a,d){if("colorAxis"!==a)return b.apply(this,arguments);var c=new x(this,v(d.axis,{index:this[a].length,isX:!1}));this.isDirtyLegend=!0;this.axes.forEach(function(a){a.series=[]});this.series.forEach(function(a){a.bindAxes();a.isDirtyData=!0});F(d.redraw,!0)&& this.redraw(d.animation);return c}}function I(){this.elem.attr("fill",t(this.start).tweenTo(t(this.end),this.pos),void 0,!0)}function u(){this.elem.attr("stroke",t(this.start).tweenTo(t(this.end),this.pos),void 0,!0)}var h=[],x;b.compose=function(b,l,g,B,c){x||(x=b);-1===h.indexOf(l)&&(h.push(l),b=l.prototype,b.collectionsWithUpdate.push("colorAxis"),b.collectionsWithInit.colorAxis=[b.addColorAxis],D(l,"afterGetAxes",e),y(l));-1===h.indexOf(g)&&(h.push(g),l=g.prototype,l.fillSetter=I,l.strokeSetter= u);-1===h.indexOf(B)&&(h.push(B),D(B,"afterGetAllItems",a),D(B,"afterColorizeItem",d),D(B,"afterUpdate",f));-1===h.indexOf(c)&&(h.push(c),z(c.prototype,{optionalAxis:"colorAxis",translateColors:r}),z(c.prototype.pointClass.prototype,{setVisible:m}),D(c,"afterTranslate",k),D(c,"bindAxes",p))};b.pointSetVisible=m})(r||(r={}));return r});J(e,"Core/Axis/Color/ColorAxisDefaults.js",[],function(){return{lineWidth:0,minPadding:0,maxPadding:0,gridLineWidth:1,tickPixelInterval:72,startOnTick:!0,endOnTick:!0, offset:0,marker:{animation:{duration:50},width:.01,color:"#999999"},labels:{overflow:"justify",rotation:0},minColor:"#e6ebf5",maxColor:"#003399",tickLength:5,showInLegend:!0}});J(e,"Core/Axis/Color/ColorAxis.js",[e["Core/Axis/Axis.js"],e["Core/Color/Color.js"],e["Core/Axis/Color/ColorAxisComposition.js"],e["Core/Axis/Color/ColorAxisDefaults.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,t,D,z,v,F,w){var r=this&&this.__extends|| function(){var a=function(b,d){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d])};return a(b,d)};return function(b,d){function f(){this.constructor=b}a(b,d);b.prototype=null===d?Object.create(d):(f.prototype=d.prototype,new f)}}(),m=e.parse,l=F.series,a=w.extend,d=w.isNumber,f=w.merge,k=w.pick;e=function(b){function e(a,d){var f=b.call(this,a,d)||this;f.beforePadding=!1;f.chart=void 0;f.coll="colorAxis"; f.dataClasses=void 0;f.name="";f.options=void 0;f.stops=void 0;f.visible=!0;f.init(a,d);return f}r(e,b);e.compose=function(a,b,d,f){t.compose(e,a,b,d,f)};e.prototype.init=function(a,d){var k=a.options.legend||{},l=d.layout?"vertical"!==d.layout:"vertical"!==k.layout,h=d.visible;k=f(e.defaultColorAxisOptions,d,{showEmpty:!1,title:null,visible:k.enabled&&!1!==h});this.coll="colorAxis";this.side=d.side||l?2:1;this.reversed=d.reversed||!l;this.opposite=!l;b.prototype.init.call(this,a,k);this.userOptions.visible= h;d.dataClasses&&this.initDataClasses(d);this.initStops();this.horiz=l;this.zoomEnabled=!1};e.prototype.initDataClasses=function(a){var b=this.chart,d=this.legendItem=this.legendItem||{},e=a.dataClasses.length,h=this.options,k,l=0,p=b.options.chart.colorCount;this.dataClasses=k=[];d.labels=[];(a.dataClasses||[]).forEach(function(a,d){a=f(a);k.push(a);if(b.styledMode||!a.color)"category"===h.dataClassColor?(b.styledMode||(d=b.options.colors,p=d.length,a.color=d[l]),a.colorIndex=l,l++,l===p&&(l=0)): a.color=m(h.minColor).tweenTo(m(h.maxColor),2>e?.5:d/(e-1))})};e.prototype.hasData=function(){return!!(this.tickPositions||[]).length};e.prototype.setTickPositions=function(){if(!this.dataClasses)return b.prototype.setTickPositions.call(this)};e.prototype.initStops=function(){this.stops=this.options.stops||[[0,this.options.minColor],[1,this.options.maxColor]];this.stops.forEach(function(a){a.color=m(a[1])})};e.prototype.setOptions=function(a){b.prototype.setOptions.call(this,a);this.options.crosshair= this.options.marker};e.prototype.setAxisSize=function(){var a=this.legendItem&&this.legendItem.symbol,b=this.chart,d=b.options.legend||{},f,h;a?(this.left=d=a.attr("x"),this.top=f=a.attr("y"),this.width=h=a.attr("width"),this.height=a=a.attr("height"),this.right=b.chartWidth-d-h,this.bottom=b.chartHeight-f-a,this.len=this.horiz?h:a,this.pos=this.horiz?d:f):this.len=(this.horiz?d.symbolWidth:d.symbolHeight)||e.defaultLegendLength};e.prototype.normalizedValue=function(a){this.logarithmic&&(a=this.logarithmic.log2lin(a)); return 1-(this.max-a)/(this.max-this.min||1)};e.prototype.toColor=function(a,b){var d=this.dataClasses,f=this.stops,h;if(d)for(h=d.length;h--;){var e=d[h];var k=e.from;f=e.to;if(("undefined"===typeof k||a>=k)&&("undefined"===typeof f||a<=f)){var l=e.color;b&&(b.dataClass=h,b.colorIndex=e.colorIndex);break}}else{a=this.normalizedValue(a);for(h=f.length;h--&&!(a>f[h][0]););k=f[h]||f[h+1];f=f[h+1]||k;a=1-(f[0]-a)/(f[0]-k[0]||1);l=k.color.tweenTo(f.color,a)}return l};e.prototype.getOffset=function(){var a= this.legendItem&&this.legendItem.group,d=this.chart.axisOffset[this.side];if(a){this.axisParent=a;b.prototype.getOffset.call(this);var f=this.chart.legend;f.allItems.forEach(function(a){a instanceof e&&a.drawLegendSymbol(f,a)});f.render();this.chart.getMargins(!0);this.added||(this.added=!0,this.labelLeft=0,this.labelRight=this.width);this.chart.axisOffset[this.side]=d}};e.prototype.setLegendColor=function(){var a=this.reversed,b=a?1:0;a=a?0:1;b=this.horiz?[b,0,a,0]:[0,a,0,b];this.legendColor={linearGradient:{x1:b[0], y1:b[1],x2:b[2],y2:b[3]},stops:this.stops}};e.prototype.drawLegendSymbol=function(a,b){b=b.legendItem||{};var d=a.padding,f=a.options,h=k(f.itemDistance,10),l=this.horiz,p=k(f.symbolWidth,l?e.defaultLegendLength:12),n=k(f.symbolHeight,l?12:e.defaultLegendLength);f=k(f.labelPadding,l?16:30);this.setLegendColor();b.symbol||(b.symbol=this.chart.renderer.rect(0,a.baseline-11,p,n).attr({zIndex:1}).add(b.group));b.labelWidth=p+d+(l?h:this.options.labels.x+this.maxLabelLength);b.labelHeight=n+d+(l?f:0)}; e.prototype.setState=function(a){this.series.forEach(function(b){b.setState(a)})};e.prototype.setVisible=function(){};e.prototype.getSeriesExtremes=function(){var a=this.series,b=a.length,d;this.dataMin=Infinity;for(this.dataMax=-Infinity;b--;){var f=a[b];var h=f.colorKey=k(f.options.colorKey,f.colorKey,f.pointValKey,f.zoneAxis,"y");var e=f.pointArrayMap;var p=f[h+"Min"]&&f[h+"Max"];if(f[h+"Data"])var n=f[h+"Data"];else if(e){n=[];e=e.indexOf(h);var g=f.yData;if(0<=e&&g)for(d=0;dk+l&&(p=k+l+2);d.plotX=p;d.plotY=this.len-p;b.prototype.drawCrosshair.call(this,a,d);d.plotX=e;d.plotY=h;this.cross&&!this.cross.addedToColorAxis&&f.group&&(this.cross.addClass("highcharts-coloraxis-marker").add(f.group),this.cross.addedToColorAxis=!0,this.chart.styledMode||"object"!==typeof this.crosshair||this.cross.attr({fill:this.crosshair.color}))}};e.prototype.getPlotLinePath=function(a){var f=this.left,e=a.translatedValue,k=this.top;return d(e)?this.horiz?[["M",e-4,k-6],["L",e+ 4,k-6],["L",e,k],["Z"]]:[["M",f,e],["L",f-6,e+6],["L",f-6,e-6],["Z"]]:b.prototype.getPlotLinePath.call(this,a)};e.prototype.update=function(a,d){var f=this.chart.legend;this.series.forEach(function(a){a.isDirtyData=!0});(a.dataClasses&&f.allItems||this.dataClasses)&&this.destroyItems();b.prototype.update.call(this,a,d);this.legendItem&&this.legendItem.label&&(this.setLegendColor(),f.colorizeItem(this,!0))};e.prototype.destroyItems=function(){var a=this.chart,b=this.legendItem||{};if(b.label)a.legend.destroyItem(this); else if(b.labels){var d=0;for(b=b.labels;d=a.x+a.width||b.x+b.width<=a.x||b.y>=a.y+a.height||b.y+b.height<=a.y)){var f=-b.y-b.height+ a.y-5;a=a.y+a.height-b.y+5;d.navButtonsGroup.attr({translateY:"bottom"===(p.buttonOptions&&p.buttonOptions.verticalAlign)?f:a})}}},e.hasLoaded||F(e,"render",b));this.updateEvents(p)};z.prototype.updateEvents=function(b){var d=this.chart;a(b.enableDoubleClickZoom,b.enabled)||b.enableDoubleClickZoomTo?this.unbindDblClick=this.unbindDblClick||F(d.container,"dblclick",function(a){d.pointer.onContainerDblClick(a)}):this.unbindDblClick&&(this.unbindDblClick=this.unbindDblClick());a(b.enableMouseWheelZoom, b.enabled)?this.unbindMouseWheel=this.unbindMouseWheel||F(d.container,void 0!==v.onwheel?"wheel":void 0!==v.onmousewheel?"mousewheel":"DOMMouseScroll",function(a){d.pointer.inClass(a.target,"highcharts-no-mousewheel")||(d.pointer.onContainerMouseWheel(a),D(a));return!1}):this.unbindMouseWheel&&(this.unbindMouseWheel=this.unbindMouseWheel())};w(b.prototype,{fitToBox:function(a,b){[["x","width"],["y","height"]].forEach(function(d){var f=d[0];d=d[1];a[f]+a[d]>b[f]+b[d]&&(a[d]>b[d]?(a[d]=b[d],a[f]=b[f]): a[f]=b[f]+b[d]-a[d]);a[d]>b[d]&&(a[d]=b[d]);a[f]F&&e.isInsidePlot(b.chartX-e.plotLeft,b.chartY-e.plotTop)&&e.mapView&&e.mapView.zoomBy((e.options.mapNavigation.mouseWheelSensitivity-1)*-l,void 0,[b.chartX,b.chartY],1>Math.abs(l)?!1:void 0)}});e(b.prototype,"zoomOption",function(b){var e=this.chart.options.mapNavigation; z(e.enableTouchZoom,e.enabled)&&(this.chart.options.chart.zooming.pinchType="xy");b.apply(this,[].slice.call(arguments,1))});e(b.prototype,"pinchTranslate",function(b,e,l,a,d,f,k){b.call(this,e,l,a,d,f,k);"map"===this.chart.options.chart.type&&this.hasZoom&&(b=a.scaleX>a.scaleY,this.pinchTranslateDirection(!b,e,l,a,d,f,k,b?a.scaleX:a.scaleY))})});J(e,"Series/ColorMapComposition.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e){var t=b.seriesTypes.column.prototype,D=e.addEvent, z=e.defined,v;(function(b){function e(b){this.moveToTopOnHover&&this.graphic&&this.graphic.attr({zIndex:b&&"hover"===b.state?1:0})}var r=[];b.pointMembers={dataLabelOnNull:!0,moveToTopOnHover:!0,isValid:function(){return null!==this.value&&Infinity!==this.value&&-Infinity!==this.value&&(void 0===this.value||!isNaN(this.value))}};b.seriesMembers={colorKey:"value",axisTypes:["xAxis","yAxis","colorAxis"],parallelArrays:["x","y","value"],pointArrayMap:["value"],trackerGroups:["group","markerGroup","dataLabelsGroup"], colorAttribs:function(b){var e={};!z(b.color)||b.state&&"normal"!==b.state||(e[this.colorProp||"fill"]=b.color);return e},pointAttribs:t.pointAttribs};b.compose=function(b){var l=b.prototype.pointClass;-1===r.indexOf(l)&&(r.push(l),D(l,"afterSetState",e));return b}})(v||(v={}));return v});J(e,"Maps/MapSymbols.js",[e["Core/Renderer/SVG/SVGRenderer.js"]],function(b){function e(b,e,z,v,F,w,r,m){return[["M",b+F,e],["L",b+z-w,e],["C",b+z-w/2,e,b+z,e+w/2,b+z,e+w],["L",b+z,e+v-r],["C",b+z,e+v-r/2,b+z-r/ 2,e+v,b+z-r,e+v],["L",b+m,e+v],["C",b+m/2,e+v,b,e+v-m/2,b,e+v-m],["L",b,e+F],["C",b,e+F/2,b+F/2,e,b+F,e],["Z"]]}b=b.prototype.symbols;b.bottombutton=function(b,D,z,v,F){F=F&&F.r||0;return e(b-1,D-1,z,v,0,0,F,F)};b.topbutton=function(b,D,z,v,F){F=F&&F.r||0;return e(b-1,D-1,z,v,F,F,0,0)};return b});J(e,"Core/Chart/MapChart.js",[e["Core/Chart/Chart.js"],e["Core/Defaults.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"]],function(b,e,t,D){var z=this&&this.__extends||function(){var b=function(e, l){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d])};return b(e,l)};return function(e,l){function a(){this.constructor=e}b(e,l);e.prototype=null===l?Object.create(l):(a.prototype=l.prototype,new a)}}(),v=e.getOptions,F=D.merge,w=D.pick;b=function(b){function e(){return null!==b&&b.apply(this,arguments)||this}z(e,b);e.prototype.init=function(e,a){var d=v().credits;e=F({chart:{panning:{enabled:!0,type:"xy"}, type:"map"},credits:{mapText:w(d.mapText,' \u00a9 {geojson.copyrightShort}'),mapTextFull:w(d.mapTextFull,"{geojson.copyright}")},mapView:{},tooltip:{followTouchMove:!1}},e);b.prototype.init.call(this,e,a)};return e}(b);(function(b){b.maps={};b.mapChart=function(e,l,a){return new b(e,l,a)};b.splitPath=function(b){"string"===typeof b&&(b=b.replace(/([A-Za-z])/g," $1 ").replace(/^\s*/,"").replace(/\s*$/,""),b=b.split(/[ ,;]+/).map(function(b){return/[A-za-z]/.test(b)? b:parseFloat(b)}));return t.prototype.pathToSegments(b)}})(b||(b={}));return b});J(e,"Maps/MapUtilities.js",[],function(){return{boundsFromPath:function(b){var e=-Number.MAX_VALUE,t=Number.MAX_VALUE,D=-Number.MAX_VALUE,z=Number.MAX_VALUE,v;b.forEach(function(b){var w=b[b.length-2];b=b[b.length-1];"number"===typeof w&&"number"===typeof b&&(t=Math.min(t,w),e=Math.max(e,w),z=Math.min(z,b),D=Math.max(D,b),v=!0)});if(v)return{x1:t,y1:z,x2:e,y2:D}},pointInPolygon:function(b,e){var t,D=!1,z=b.x,v=b.y;b= 0;for(t=e.length-1;bv;var w=e[t][1]>v;F!==w&&z<(e[t][0]-e[b][0])*(v-e[b][1])/(e[t][1]-e[b][1])+e[b][0]&&(D=!D)}return D}}});J(e,"Series/Map/MapPoint.js",[e["Series/ColorMapComposition.js"],e["Maps/MapUtilities.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,t,D){var z=this&&this.__extends||function(){var b=function(e,a){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var d in b)b.hasOwnProperty(d)&& (a[d]=b[d])};return b(e,a)};return function(e,a){function d(){this.constructor=e}b(e,a);e.prototype=null===a?Object.create(a):(d.prototype=a.prototype,new d)}}(),v=e.boundsFromPath,F=D.extend,w=D.isNumber,r=D.pick;e=function(b){function e(){var a=null!==b&&b.apply(this,arguments)||this;a.options=void 0;a.path=void 0;a.series=void 0;return a}z(e,b);e.getProjectedPath=function(a,b){a.projectedPath||(b&&a.geometry?(b.hasCoordinates=!0,a.projectedPath=b.path(a.geometry)):a.projectedPath=a.path);return a.projectedPath|| []};e.prototype.applyOptions=function(a,d){var f=this.series;a=b.prototype.applyOptions.call(this,a,d);d=f.joinBy;f.mapData&&f.mapMap&&(d=b.prototype.getNestedProperty.call(a,d[1]),(f="undefined"!==typeof d&&f.mapMap[d])?F(a,f):a.value=a.value||null);return a};e.prototype.getProjectedBounds=function(a){a=e.getProjectedPath(this,a);a=v(a);var b=this.properties;if(a){var f=b&&b["hc-middle-x"];b=b&&b["hc-middle-y"];a.midX=a.x1+(a.x2-a.x1)*r(this.middleX,w(f)?f:.5);f=r(this.middleY,w(b)?b:.5);this.geometry|| (f=1-f);a.midY=a.y2-(a.y2-a.y1)*f;return a}};e.prototype.onMouseOver=function(a){D.clearTimeout(this.colorInterval);if(!this.isNull&&this.visible||this.series.options.nullInteraction)b.prototype.onMouseOver.call(this,a);else this.series.onMouseOut(a)};e.prototype.setVisible=function(a){var b=a?"show":"hide";this.visible=this.options.visible=!!a;if(this.dataLabel)this.dataLabel[b]();this.graphic&&this.graphic.attr(this.series.pointAttribs(this))};e.prototype.zoomTo=function(){var a=this.series.chart; a.mapView&&this.bounds&&(a.mapView.fitToBounds(this.bounds,void 0,!1),this.series.isDirty=!0,a.redraw())};return e}(t.seriesTypes.scatter.prototype.pointClass);F(e.prototype,{dataLabelOnNull:b.pointMembers.dataLabelOnNull,moveToTopOnHover:b.pointMembers.moveToTopOnHover,isValid:b.pointMembers.isValid});return e});J(e,"Maps/MapViewOptionsDefault.js",[],function(){return{center:[0,0],maxZoom:void 0,padding:0,projection:{name:void 0,parallels:void 0,rotation:void 0},zoom:void 0}});J(e,"Maps/MapViewInsetsOptionsDefault.js", [],function(){return{borderColor:"#cccccc",borderWidth:1,center:[0,0],padding:"10%",relativeTo:"mapBoundingBox",units:"percent"}});J(e,"Extensions/GeoJSON.js",[e["Core/Chart/Chart.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(b,e,t,D){function z(a,b){b||(b=Object.keys(a.objects)[0]);b=a.objects[b];if(b["hc-decoded-geojson"])return b["hc-decoded-geojson"];var d=a.arcs;if(a.transform){var e=a.transform,l=e.scale,m=e.translate;d=a.arcs.map(function(a){var b= 0,d=0;return a.map(function(a){a=a.slice();a[0]=(b+=a[0])*l[0]+m[0];a[1]=(d+=a[1])*l[1]+m[1];return a})})}var r=function(a){return"number"===typeof a[0]?a.reduce(function(a,b,f){var e=0>b?d[~b]:d[b];0>b?(e=e.slice(0,0===f?e.length:e.length-1),e.reverse()):f&&(e=e.slice(1));return a.concat(e)},[]):a.map(r)};e=b.geometries.map(function(a){return{type:"Feature",properties:a.properties,geometry:{type:a.type,coordinates:a.coordinates||r(a.arcs)}}});a={type:"FeatureCollection",copyright:a.copyright,copyrightShort:a.copyrightShort, copyrightUrl:a.copyrightUrl,features:e,"hc-recommended-mapview":b["hc-recommended-mapview"],bbox:a.bbox,title:a.title};return b["hc-decoded-geojson"]=a}function v(a,b,f){void 0===b&&(b="map");var d=[];a="Topology"===a.type?z(a):a;a.features.forEach(function(a){var f=a.geometry||{},e=f.type;f=f.coordinates;a=a.properties;var k;"map"!==b&&"mapbubble"!==b||"Polygon"!==e&&"MultiPolygon"!==e?"mapline"!==b||"LineString"!==e&&"MultiLineString"!==e?"mappoint"===b&&"Point"===e&&f.length&&(k={geometry:{coordinates:f, type:e}}):f.length&&(k={geometry:{coordinates:f,type:e}}):f.length&&(k={geometry:{coordinates:f,type:e}});k&&(e=a&&(a.name||a.NAME),d.push(m(k,{name:"string"===typeof e?e:void 0,properties:a})))});f&&a.copyrightShort&&(f.chart.mapCredits=F(f.chart.options.credits.mapText,{geojson:a}),f.chart.mapCreditsFull=F(f.chart.options.credits.mapTextFull,{geojson:a}));return d}var F=e.format,w=t.win,r=D.error,m=D.extend,l=D.merge;e=D.wrap;"";b.prototype.transformFromLatLon=function(a,b){var d=this.options.chart.proj4|| w.proj4;if(d){var e=b.jsonmarginX;e=void 0===e?0:e;var l=b.jsonmarginY;l=void 0===l?0:l;var m=b.jsonres;m=void 0===m?1:m;var v=b.scale;v=void 0===v?1:v;var y=b.xoffset;y=void 0===y?0:y;var t=b.xpan;t=void 0===t?0:t;var u=b.yoffset;u=void 0===u?0:u;var h=b.ypan;h=void 0===h?0:h;a=d(b.crs,[a.lon,a.lat]);d=b.cosAngle||b.rotation&&Math.cos(b.rotation);var x=b.sinAngle||b.rotation&&Math.sin(b.rotation);b=b.rotation?[a[0]*d+a[1]*x,-a[0]*x+a[1]*d]:a;return{x:((b[0]-y)*v+t)*m+e,y:-(((u-b[1])*v+h)*m-l)}}r(21, !1,this)};b.prototype.transformToLatLon=function(a,b){var d=this.options.chart.proj4||w.proj4;if(!d)r(21,!1,this);else if(null!==a.y){var e=b.jsonmarginX,l=b.jsonmarginY,m=b.jsonres;m=void 0===m?1:m;var v=b.scale;v=void 0===v?1:v;var y=b.xoffset,t=b.xpan,u=b.yoffset,h=b.ypan;a={x:((a.x-(void 0===e?0:e))/m-(void 0===t?0:t))/v+(void 0===y?0:y),y:((a.y-(void 0===l?0:l))/m+(void 0===h?0:h))/v+(void 0===u?0:u)};e=b.cosAngle||b.rotation&&Math.cos(b.rotation);l=b.sinAngle||b.rotation&&Math.sin(b.rotation); b=d(b.crs,"WGS84",b.rotation?{x:a.x*e+a.y*-l,y:a.x*l+a.y*e}:a);return{lat:b.y,lon:b.x}}};b.prototype.fromPointToLatLon=function(a){return this.mapView&&this.mapView.projectedUnitsToLonLat(a)};b.prototype.fromLatLonToPoint=function(a){return this.mapView&&this.mapView.lonLatToProjectedUnits(a)};e(b.prototype,"addCredits",function(a,b){b=l(!0,this.options.credits,b);this.mapCredits&&(b.href=null);a.call(this,b);this.credits&&this.mapCreditsFull&&this.credits.attr({title:this.mapCreditsFull})});t.geojson= v;return{geojson:v,topo2geo:z}});J(e,"Core/Geometry/PolygonClip.js",[],function(){var b=function(b,e,v){return(e[0]-b[0])*(v[1]-b[1])>(e[1]-b[1])*(v[0]-b[0])},e=function(b,e,v,t){var w=[b[0]-e[0],b[1]-e[1]],r=[v[0]-t[0],v[1]-t[1]];b=b[0]*e[1]-b[1]*e[0];v=v[0]*t[1]-v[1]*t[0];t=1/(w[0]*r[1]-w[1]*r[0]);w=[(b*r[0]-v*w[0])*t,(b*r[1]-v*w[1])*t];w.isIntersection=!0;return w},t;(function(t){t.clipLineString=function(b,e){var v=[];b=t.clipPolygon(b,e,!1);for(e=1;eMath.abs(z)&&(z=1e-10*(b(z)||1));this.n=z;this.c=v*Math.pow(Math.tan((t+w)/2),z)/z}D.prototype.forward=function(b){var v=b[0]*e,z=this.c,w=this.n,r=this.projectedBounds;b=b[1]*e;0< z?b<-t+.000001&&(b=-t+.000001):b>t-.000001&&(b=t-.000001);var m=z/Math.pow(Math.tan((t+b)/2),w);b=m*Math.sin(w*v)*63.78137;v=63.78137*(z-m*Math.cos(w*v));z=[b,v];r&&(br.x2||vr.y2)&&(z.outside=!0);return z};D.prototype.inverse=function(z){var v=z[0]/63.78137,D=this.c,w=this.n;z=D-z[1]/63.78137;var r=b(w)*Math.sqrt(v*v+z*z),m=Math.atan2(v,Math.abs(z))*b(z);0>z*w&&(m-=Math.PI*b(v)*b(z));return[m/w/e,(2*Math.atan(Math.pow(D/r,1/w))-t)/e]};return D}()});J(e,"Maps/Projections/EqualEarth.js", [],function(){var b=Math.sqrt(3)/2;return function(){function e(){this.bounds={x1:-200.37508342789243,x2:200.37508342789243,y1:-97.52595454902263,y2:97.52595454902263}}e.prototype.forward=function(e){var t=Math.PI/180,z=Math.asin(b*Math.sin(e[1]*t)),v=z*z,F=v*v*v;return[e[0]*t*Math.cos(z)*74.03120656864502/(b*(1.340264+3*-.081106*v+F*(7*.000893+.034164*v))),74.03120656864502*z*(1.340264+-.081106*v+F*(.000893+.003796*v))]};e.prototype.inverse=function(e){var t=e[0]/74.03120656864502;e=e[1]/74.03120656864502; var z=180/Math.PI,v=e,F;for(F=0;12>F;++F){var w=v*v;var r=w*w*w;var m=v*(1.340264+-.081106*w+r*(.000893+.003796*w))-e;w=1.340264+3*-.081106*w+r*(7*.000893+.034164*w);v-=m/=w;if(1e-9>Math.abs(m))break}w=v*v;return[z*b*t*(1.340264+3*-.081106*w+w*w*w*(7*.000893+.034164*w))/Math.cos(v),z*Math.asin(Math.sin(v)/b)]};return e}()});J(e,"Maps/Projections/Miller.js",[],function(){var b=Math.PI/4,e=Math.PI/180;return function(){function t(){this.bounds={x1:-200.37508342789243,x2:200.37508342789243,y1:-146.91480769173063, y2:146.91480769173063}}t.prototype.forward=function(t){return[t[0]*e*63.78137,79.7267125*Math.log(Math.tan(b+.4*t[1]*e))]};t.prototype.inverse=function(t){return[t[0]/63.78137/e,2.5*(Math.atan(Math.exp(t[1]/63.78137*.8))-b)/e]};return t}()});J(e,"Maps/Projections/Orthographic.js",[],function(){var b=Math.PI/180;return function(){function e(){this.antimeridianCutting=!1;this.bounds={x1:-63.78460826781007,x2:63.78460826781007,y1:-63.78460826781007,y2:63.78460826781007}}e.prototype.forward=function(e){var t= e[0];e=e[1]*b;e=[Math.cos(e)*Math.sin(t*b)*63.78460826781007,63.78460826781007*Math.sin(e)];if(-90>t||90b&&(b+=360);180n;n+=a){var g=l((1-n)*x)/l(x),t=l(n*x)/l(x),c=g*e(y)*e(v)+t*e(u)*e(h),A=g*e(y)*l(v)+t*e(u)*l(h);g=g*l(y)+t*l(u);g=d(g,m(c*c+A*A));c=d(A,c);q.push([c/r,g/r])}f&&q.push(b);return q};b.insertGreatCircles=function(a){for(var d=a.length-1;d--;)if(10=d!==a[b]>=d)return f=f[e]+(d-f[b])/(a[b]-f[b])*(a[e]-f[e]),b?[f,d]:[d,f]},r=a[0];if(b=m(a,0,b.x1))r=b,a[1]=b;else if(b=m(a,0,f))r=b,a[1]=b;if(b=m(a,1,e))r=b;else if(b=m(a,1,l))r=b;return r};b.prototype.getRotator=function(a){var b=a[0]*r,f=(a[1]||0)*r;a=(a[2]|| 0)*r;var e=Math.cos(f),l=Math.sin(f),m=Math.cos(a),v=Math.sin(a);if(0!==b||0!==f||0!==a)return{forward:function(a){var d=a[0]*r+b,f=a[1]*r,h=Math.cos(f);a=Math.cos(d)*h;d=Math.sin(d)*h;f=Math.sin(f);h=f*e+a*l;return[Math.atan2(d*m-h*v,a*e-f*l)/r,Math.asin(h*m+d*v)/r]},inverse:function(a){var d=a[0]*r,f=a[1]*r,h=Math.cos(f);a=Math.cos(d)*h;d=Math.sin(d)*h;f=Math.sin(f);h=f*m-d*v;return[(Math.atan2(d*m+f*v,a*e+h*l)-b)/r,Math.asin(h*e-a*l)/r]}}};b.prototype.forward=function(a){return a};b.prototype.inverse= function(a){return a};b.prototype.cutOnAntimeridian=function(a,d){var f=[],e=[a];a.forEach(function(b,e){var g=a[e-1];if(!e){if(!d)return;g=a[a.length-1]}var h=g[0],c=b[0];(-90>h||90c||90h?1:-1,previousLonLat:g,lonLat:b}))});if(f.length)if(d){if(1===f.length%2){var l=f.slice().sort(function(a,b){return Math.abs(b.lat)-Math.abs(a.lat)})[0];w(f,l)}for(var r=f.length-2;0<=r;){var v= f[r].i,t=m(180+.000001*f[r].direction),z=m(180-.000001*f[r].direction);v=a.splice.apply(a,D([v,f[r+1].i-v],b.greatCircle([t,f[r].lat],[t,f[r+1].lat],!0),!1));v.push.apply(v,b.greatCircle([z,f[r+1].lat],[z,f[r].lat],!0));e.push(v);r-=2}if(l)for(t=0;tu?-1:1)*this.maxLatitude;var h=m(180+.000001*r),x=m(180-.000001*r);u=b.greatCircle([h,u],[h,t],!0);for(h+=120*r;-180h;h+=120*r)u.push([h,t]);u.push.apply(u,b.greatCircle([x, t],[x,l.lat],!0));z.splice.apply(z,D([v,0],u,!1));break}}}else for(r=f.length;r--;)v=f[r].i,v=a.splice(v,a.length,[m(180+.000001*f[r].direction),f[r].lat]),v.unshift([m(180-.000001*f[r].direction),f[r].lat]),e.push(v);return e};b.prototype.path=function(a){var d=this,f=this.bounds,e=this.def,l=this.rotator,m=[],r="Polygon"===a.type||"MultiPolygon"===a.type,t=this.hasGeoProjection,w=!e||!1!==e.antimeridianCutting,u=w?l:void 0,h=w?e||this:this,x;f&&(x=[[f.x1,f.y1],[f.x2,f.y1],[f.x2,f.y2],[f.x1,f.y2]]); var q=function(a){a=a.map(function(a){if(w){u&&(a=u.forward(a));var b=a[0];.000001>Math.abs(b-180)&&(b=180>b?179.999999:180.000001);a=[b,a[1]]}return a});var e=[a];t&&(b.insertGreatCircles(a),w&&(e=d.cutOnAntimeridian(a,r)));e.forEach(function(a){if(!(2>a.length)){var c=!1,d=!1,e=function(a){c?m.push(["L",a[0],a[1]]):(m.push(["M",a[0],a[1]]),c=!0)},g=!1,k=!1,l=a.map(function(a){a=h.forward(a);a.outside?g=!0:k=!0;Infinity===a[1]?a[1]=1E10:-Infinity===a[1]&&(a[1]=-1E10);return a});if(w){r&&l.push(l[0]); if(g){if(!k)return;if(x)if(r)l=v(l,x);else if(f){z(l,x).forEach(function(a){c=!1;a.forEach(e)});return}}l.forEach(e)}else for(var n=0;nb+h&&n>b&&(a[0]+=Math.min(m-h-b,n-b)/k);l-qg+e&&q>g&&(a[1]-=Math.min(l-e-g,q-g)/k);this.center=this.projection.inverse(a);this.insets.forEach(function(a){a.options.field&& (a.hitZone=a.getHitZone(),a.playingField=a.getField())});this.render()}p(this,"afterSetView");d&&this.redraw(f)};a.prototype.projectedUnitsToPixels=function(a){var b=this.getScale(),c=this.projection.forward(this.center),d=this.playingField;return{x:d.x+d.width/2-b*(c[0]-a.x),y:d.y+d.height/2+b*(c[1]-a.y)}};a.prototype.pixelsToLonLat=function(a){return this.projectedUnitsToLonLat(this.pixelsToProjectedUnits(a))};a.prototype.pixelsToProjectedUnits=function(a){var b=a.x;a=a.y;var c=this.getScale(), d=this.projection.forward(this.center),f=this.playingField;return{x:d[0]+(b-(f.x+f.width/2))/c,y:d[1]-(a-(f.y+f.height/2))/c}};a.prototype.setUpEvents=function(){var a=this,b=this.chart,d,e,g,h=function(c){var f=b.pointer.pinchDown,h=a.projection,l=b.mouseDownX,m=b.mouseDownY;1===f.length&&(l=f[0].chartX,m=f[0].chartY);if("number"===typeof l&&"number"===typeof m){var n=""+l+",".concat(m),p=c.originalEvent;f=p.chartX;p=p.chartY;n!==e&&(e=n,d=a.projection.forward(a.center),g=(a.projection.options.rotation|| [0,0]).slice());n=(n=h.def&&h.def.bounds)&&q(n,a.playingField)||-Infinity;"Orthographic"===h.options.name&&(a.minZoom||Infinity)<1.1*n?(h=440/(a.getScale()*Math.min(b.plotWidth,b.plotHeight)),g&&(l=(l-f)*h-g[0],m=k(-g[1]-(m-p)*h,-80,80),f=a.zoom,a.update({projection:{rotation:[-l,-m]}},!1),a.zoom=f,b.redraw(!1))):(h=a.getScale(),m=a.projection.inverse([d[0]+(l-f)/h,d[1]-(m-p)/h]),a.setView(m,void 0,!0,!1));c.preventDefault()}};f(b,"pan",h);f(b,"touchpan",h);f(b,"selection",function(c){if(c.resetSelection)a.zoomBy(); else{var d=c.x-b.plotLeft,f=c.y-b.plotTop,e=a.pixelsToProjectedUnits({x:d,y:f}),g=e.y;e=e.x;d=a.pixelsToProjectedUnits({x:d+c.width,y:f+c.height});a.fitToBounds({x1:e,y1:g,x2:d.x,y2:d.y},void 0,!0,c.originalEvent.touches?!1:void 0);/^touch/.test(c.originalEvent.type)||b.showResetZoom();c.preventDefault()}})};a.prototype.render=function(){this.group||(this.group=this.chart.renderer.g("map-view").attr({zIndex:4}).add())};a.prototype.update=function(a,b,d){void 0===b&&(b=!0);var c=a.projection;c=c&& v.toString(c)!==v.toString(this.options.projection);var f=!1;u(!0,this.userOptions,a);u(!0,this.options,a);"insets"in a&&(this.insets.forEach(function(a){return a.destroy()}),this.insets.length=0,f=!0);if(c||f)this.chart.series.forEach(function(a){var b=a.transformGroups;a.clearBounds&&a.clearBounds();a.isDirty=!0;a.isDirtyData=!0;if(f&&b)for(;1=b.x1&&a.x<=b.x2&&a.y>=b.y1&&a.y<=b.y2&&c&&d(a,c))};c.prototype.render=function(){var a=this.chart,b=this.mapView,c=this.options,d=c.borderPath||c.field;if(d&&b.group){var f=!0;this.border||(this.border=a.renderer.path().addClass("highcharts-mapview-inset-border").add(b.group),f=!1);a.styledMode||this.border.attr({stroke:c.borderColor,"stroke-width":c.borderWidth});var e=Math.round(this.border.strokeWidth())%2/2,g="mapBoundingBox"===c.relativeTo&&b.getMapBBox()|| b.playingField;b=(d.coordinates||[]).reduce(function(b,d){return d.reduce(function(b,d,f){var h=d[0];d=d[1];"percent"===c.units&&(h=a.plotLeft+x(""+h+"%",g.width,g.x),d=a.plotTop+x(""+d+"%",g.height,g.y));h=Math.floor(h)+e;d=Math.floor(d)+e;b.push(0===f?["M",h,d]:["L",h,d]);return b},b)},[]);this.border[f?"animate":"attr"]({d:b})}};c.prototype.destroy=function(){this.border&&(this.border=this.border.destroy());this.eventsToUnbind.forEach(function(a){return a()})};c.prototype.setUpEvents=function(){}; return c}(n);f(D,"afterInit",function(){this.mapView=new n(this,this.options.mapView)});return n});J(e,"Series/Map/MapSeries.js",[e["Core/Animation/AnimationUtilities.js"],e["Series/ColorMapComposition.js"],e["Series/CenteredUtilities.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Chart/MapChart.js"],e["Series/Map/MapPoint.js"],e["Maps/MapView.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"]],function(b, e,t,D,z,v,F,w,r,m,l,a){var d=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return a(b,c)};return function(b,c){function d(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}(),f=b.animObject;b=D.noop;var k=v.splitPath;v=m.seriesTypes;var p=v.column,E=v.scatter;v=a.extend;var B=a.find,y=a.fireEvent, I=a.getNestedProperty,u=a.isArray,h=a.isNumber,x=a.isObject,q=a.merge,n=a.objectEach,g=a.pick,C=a.splat;a=function(a){function b(){var b=null!==a&&a.apply(this,arguments)||this;b.chart=void 0;b.data=void 0;b.group=void 0;b.joinBy=void 0;b.options=void 0;b.points=void 0;b.processedData=[];return b}d(b,a);b.prototype.animate=function(a){var b=this.chart,c=this.group,d=f(this.options.animation);b.renderer.isSVG&&(a?c.attr({translateX:b.plotLeft+b.plotWidth/2,translateY:b.plotTop+b.plotHeight/2,scaleX:.001, scaleY:.001}):c.animate({translateX:b.plotLeft,translateY:b.plotTop,scaleX:1,scaleY:1},d))};b.prototype.animateDrilldown=function(a){var b=this.chart,c=this.group;b.renderer.isSVG&&(a?c.attr({translateX:b.plotLeft+b.plotWidth/2,translateY:b.plotTop+b.plotHeight/2,scaleX:.1,scaleY:.1,opacity:.01}):(c.animate({translateX:b.plotLeft,translateY:b.plotTop,scaleX:1,scaleY:1,opacity:1},this.chart.options.drilldown.animation),b.drilldown&&b.drilldown.fadeInGroup(this.dataLabelsGroup)))};b.prototype.animateDrillupFrom= function(){var a=this.chart;a.renderer.isSVG&&this.group.animate({translateX:a.plotLeft+a.plotWidth/2,translateY:a.plotTop+a.plotHeight/2,scaleX:.1,scaleY:.1,opacity:.01})};b.prototype.animateDrillupTo=function(a){p.prototype.animateDrillupTo.call(this,a)};b.prototype.clearBounds=function(){this.points.forEach(function(a){delete a.bounds;delete a.insetIndex;delete a.projectedPath});delete this.bounds};b.prototype.doFullTranslate=function(){return!(!(this.isDirtyData||this.chart.isResizing||this.chart.renderer.isVML)&& this.hasRendered)};b.prototype.drawMapDataLabels=function(){r.prototype.drawDataLabels.call(this);this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)};b.prototype.drawPoints=function(){var a=this,b=this,c=this.chart,d=this.group,f=this.transformGroups,e=void 0===f?[]:f,h=c.mapView,k=c.renderer;h&&(this.transformGroups=e,e[0]||(e[0]=k.g().add(d)),h.insets.forEach(function(a,b){e[b+1]||e.push(k.g().add(d))}),this.doFullTranslate()&&(this.points.forEach(function(b){var d=b.graphic,f= b.shapeArgs;b.group=e["number"===typeof b.insetIndex?b.insetIndex+1:0];d&&d.parentGroup!==b.group&&d.add(b.group);f&&c.hasRendered&&!c.styledMode&&(f.fill=a.pointAttribs(b,b.state).fill)}),p.prototype.drawPoints.apply(this),this.points.forEach(function(d){var f=d.graphic;if(f){var e=f.animate,h="";d.name&&(h+="highcharts-name-"+d.name.replace(/ /g,"-").toLowerCase());d.properties&&d.properties["hc-key"]&&(h+=" highcharts-key-"+d.properties["hc-key"].toString().toLowerCase());h&&f.addClass(h);c.styledMode&& f.css(a.pointAttribs(d,d.selected&&"select"||void 0));f.animate=function(a,d,h){var k=!1;if(a["stroke-width"]){var l=g(b.getStrokeWidth(b.options),1)/(c.mapView&&c.mapView.getScale()||1);"inherit"===f["stroke-width"]&&(f["stroke-width"]=l);"inherit"===a["stroke-width"]&&(a["stroke-width"]=l,k=!0)}return e.call(f,a,d,k?function(){f.attr({"stroke-width":"inherit"});h&&h.apply(this,arguments)}:h)}}})),e.forEach(function(b,d){var f=(0===d?h:h.insets[d-1]).getSVGTransform(),e=g(a.getStrokeWidth(a.options), 1),l=f.scaleX,m=0f.length&&"string"===typeof c[0]&&(p[e]["hc-key"]=c[0],++g);for(var k=0;k"},turboThreshold:0,allAreas:!0,borderColor:"#cccccc",borderWidth:1,joinBy:"hc-key",states:{hover:{halo:null,brightness:.2},normal:{animation:!0},select:{color:"#cccccc"}}});return b}(E);v(a.prototype,{type:"map",axisTypes:e.seriesMembers.axisTypes,colorAttribs:e.seriesMembers.colorAttribs,colorKey:e.seriesMembers.colorKey, directTouch:!0,drawDataLabels:b,drawGraph:b,drawLegendSymbol:z.drawRectangle,forceDL:!0,getCenter:t.getCenter,getExtremesFromAll:!0,getSymbol:b,isCartesian:!1,parallelArrays:e.seriesMembers.parallelArrays,pointArrayMap:e.seriesMembers.pointArrayMap,pointClass:F,preserveAspectRatio:!0,searchPoint:b,trackerGroups:e.seriesMembers.trackerGroups,useMapGeometry:!0});e.compose(a);m.registerSeriesType("map",a);"";return a});J(e,"Series/MapLine/MapLineSeries.js",[e["Series/Map/MapSeries.js"],e["Core/Series/SeriesRegistry.js"], e["Core/Utilities.js"]],function(b,e,t){var D=this&&this.__extends||function(){var b=function(e,m){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,a){b.__proto__=a}||function(b,a){for(var d in a)a.hasOwnProperty(d)&&(b[d]=a[d])};return b(e,m)};return function(e,m){function l(){this.constructor=e}b(e,m);e.prototype=null===m?Object.create(m):(l.prototype=m.prototype,new l)}}(),z=e.series,v=t.extend,F=t.merge;t=function(e){function r(){var b=null!==e&&e.apply(this,arguments)||this; b.data=void 0;b.options=void 0;b.points=void 0;return b}D(r,e);r.prototype.pointAttribs=function(e,l){e=b.prototype.pointAttribs.call(this,e,l);e.fill=this.options.fillColor;return e};r.defaultOptions=F(b.defaultOptions,{lineWidth:1,fillColor:"none"});return r}(b);v(t.prototype,{type:"mapline",colorProp:"stroke",drawLegendSymbol:z.prototype.drawLegendSymbol,pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"}});e.registerSeriesType("mapline",t);"";return t});J(e,"Series/MapPoint/MapPointPoint.js", [e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e){var t=this&&this.__extends||function(){var b=function(e,t){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,e){b.__proto__=e}||function(b,e){for(var m in e)e.hasOwnProperty(m)&&(b[m]=e[m])};return b(e,t)};return function(e,t){function v(){this.constructor=e}b(e,t);e.prototype=null===t?Object.create(t):(v.prototype=t.prototype,new v)}}(),D=e.isNumber;return function(b){function e(){var e=null!==b&&b.apply(this, arguments)||this;e.options=void 0;e.series=void 0;return e}t(e,b);e.prototype.isValid=function(){return!!(this.options.geometry||D(this.x)&&D(this.y)||D(this.options.lon)&&D(this.options.lat))};return e}(b.seriesTypes.scatter.prototype.pointClass)});J(e,"Series/MapPoint/MapPointSeries.js",[e["Core/Globals.js"],e["Series/MapPoint/MapPointPoint.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,t,D){var z=this&&this.__extends||function(){var b=function(a,d){b=Object.setPrototypeOf|| {__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d])};return b(a,d)};return function(a,d){function f(){this.constructor=a}b(a,d);a.prototype=null===d?Object.create(d):(f.prototype=d.prototype,new f)}}();b=b.noop;var v=t.seriesTypes.scatter,F=D.extend,w=D.fireEvent,r=D.isNumber,m=D.merge;D=function(b){function a(){var a=null!==b&&b.apply(this,arguments)||this;a.chart=void 0;a.data=void 0;a.options=void 0;a.points=void 0;return a} z(a,b);a.prototype.drawDataLabels=function(){b.prototype.drawDataLabels.call(this);this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)};a.prototype.projectPoint=function(a){var b=this.chart.mapView;if(b){var d=a.geometry,e=a.lon;a=a.lat;d=d&&"Point"===d.type&&d.coordinates;r(e)&&r(a)&&(d=[e,a]);if(d)return b.lonLatToProjectedUnits({lon:d[0],lat:d[1]})}};a.prototype.translate=function(){var a=this,b=this.chart.mapView;this.processedXData||this.processData();this.generatePoints();this.getProjectedBounds&& this.isDirtyData&&(delete this.bounds,this.getProjectedBounds());if(b){var e=b.projection.hasCoordinates;this.points.forEach(function(d){var f=d.x;f=void 0===f?void 0:f;var k=d.y;k=void 0===k?void 0:k;var l=a.projectPoint(d.options);l?(f=l.x,k=l.y):d.bounds&&(f=d.bounds.midX,k=d.bounds.midY);r(f)&&r(k)?(f=b.projectedUnitsToPixels({x:f,y:k}),d.plotX=f.x,d.plotY=e?f.y:a.chart.plotHeight-f.y):d.y=d.plotX=d.plotY=void 0;d.isInside=a.isPointInside(d);d.zone=a.zones.length?d.getZone():void 0})}w(this,"afterTranslate")}; a.defaultOptions=m(v.defaultOptions,{dataLabels:{crop:!1,defer:!1,enabled:!0,formatter:function(){return this.point.name},overflow:!1,style:{color:"#000000"}}});return a}(v);F(D.prototype,{type:"mappoint",axisTypes:["colorAxis"],forceDL:!0,isCartesian:!1,pointClass:e,searchPoint:b,useMapGeometry:!0});t.registerSeriesType("mappoint",D);"";return D});J(e,"Series/Bubble/BubbleLegendDefaults.js",[],function(){return{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0, connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:"10px",color:"#000000"},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0}});J(e,"Series/Bubble/BubbleLegendItem.js",[e["Core/Color/Color.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Utilities.js"]], function(b,e,t,D){var z=b.parse,v=t.noop,F=D.arrayMax,w=D.arrayMin,r=D.isNumber,m=D.merge,l=D.pick,a=D.stableSort;b=function(){function b(a,b){this.options=this.symbols=this.visible=this.selected=this.ranges=this.movementX=this.maxLabel=this.legend=this.fontMetrics=this.chart=void 0;this.setState=v;this.init(a,b)}b.prototype.init=function(a,b){this.options=a;this.visible=!0;this.chart=b.chart;this.legend=b};b.prototype.addToLegend=function(a){a.splice(this.options.legendIndex,0,this)};b.prototype.drawLegendSymbol= function(b){var d=this.chart,e=l(b.options.itemDistance,20),f=this.legendItem||{},m=this.options,t=m.ranges,v=m.connectorDistance;this.fontMetrics=d.renderer.fontMetrics(m.labels.style.fontSize);t&&t.length&&r(t[0].value)?(a(t,function(a,b){return b.value-a.value}),this.ranges=t,this.setOptions(),this.render(),b=this.getMaxLabelSize(),t=this.ranges[0].radius,d=2*t,v=v-t+b.width,v=0=d&&this.renderRange(l)}a.symbol.add(a.label);a.label.add(a.group);this.hideOverlappingLabels()};b.prototype.renderRange=function(a){var b=this.options,d=b.labels,e=this.chart,f=e.series[b.seriesIndex], l=e.renderer,m=this.symbols;e=m.labels;var u=a.center,h=Math.abs(a.radius),r=b.connectorDistance||0,q=d.align,n=b.connectorWidth,g=this.ranges[0].radius||0,t=u-h-b.borderWidth/2+n/2,c=this.fontMetrics;c=c.f/2-(c.h-c.f)/2;var v=l.styledMode;r=this.legend.options.rtl||"left"===q?-r:r;"center"===q&&(r=0,b.connectorDistance=0,a.labelAttribs.align="center");q=t+b.labels.y;var w=g+r+b.labels.x;m.bubbleItems.push(l.circle(g,u+((t%1?1:.5)-(n%2?0:.5)),h).attr(v?{}:a.bubbleAttribs).addClass((v?"highcharts-color-"+ f.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(b.className||"")).add(this.legendItem.symbol));m.connectors.push(l.path(l.crispLine([["M",g,t],["L",g+r,t]],b.connectorWidth)).attr(v?{}:a.connectorAttribs).addClass((v?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(b.connectorClassName||"")).add(this.legendItem.symbol));a=l.text(this.formatLabel(a),w,q+c).attr(v?{}:a.labelAttribs).css(v?{}:d.style).addClass("highcharts-bubble-legend-labels "+(b.labels.className|| "")).add(this.legendItem.symbol);e.push(a);a.placed=!0;a.alignAttr={x:w,y:q+c}};b.prototype.getMaxLabelSize=function(){var a,b;this.symbols.labels.forEach(function(d){b=d.getBBox(!0);a=a?b.width>a.width?b:a:b});return a||{}};b.prototype.formatLabel=function(a){var b=this.options,d=b.labels.formatter;b=b.labels.format;var f=this.chart.numberFormatter;return b?e.format(b,a):d?d.call(a):f(a.value,1)};b.prototype.hideOverlappingLabels=function(){var a=this.chart,b=this.symbols;!this.options.labels.allowOverlap&& b&&(a.hideOverlappingLabels(b.labels),b.labels.forEach(function(a,d){a.newOpacity?a.newOpacity!==a.oldOpacity&&b.connectors[d].show():b.connectors[d].hide()}))};b.prototype.getRanges=function(){var a=this.legend.bubbleLegend,b=a.options.ranges,d,e=Number.MAX_VALUE,t=-Number.MAX_VALUE;a.chart.series.forEach(function(a){a.isBubble&&!a.ignoreSeries&&(d=a.zData.filter(r),d.length&&(e=l(a.options.zMin,Math.min(e,Math.max(w(d),!1===a.options.displayNegative?a.options.zThreshold:-Number.MAX_VALUE))),t=l(a.options.zMax, Math.max(t,F(d)))))});var v=e===t?[{value:t}]:[{value:e},{value:(e+t)/2},{value:t,autoRanges:!0}];b.length&&b[0].radius&&v.reverse();v.forEach(function(a,d){b&&b[d]&&(v[d]=m(b[d],a))});return v};b.prototype.predictBubbleSizes=function(){var a=this.chart,b=this.fontMetrics,d=a.legend.options,e=d.floating,l=(d="horizontal"===d.layout)?a.legend.lastLineHeight:0,m=a.plotSizeX,r=a.plotSizeY,u=a.series[this.options.seriesIndex],h=u.getPxExtremes();a=Math.ceil(h.minPxSize);h=Math.ceil(h.maxPxSize);var t= Math.min(r,m);u=u.options.maxSize;if(e||!/%$/.test(u))b=h;else if(u=parseFloat(u),b=(t+l-b.h/2)*u/100/(u/100+1),d&&r-b>=m||!d&&m-b>=r)b=h;return[a,Math.ceil(b)]};b.prototype.updateRanges=function(a,b){var d=this.legend.options.bubbleLegend;d.minSize=a;d.maxSize=b;d.ranges=this.getRanges()};b.prototype.correctSizes=function(){var a=this.legend,b=this.chart.series[this.options.seriesIndex].getPxExtremes();1k.height&&(k.height=a[f].itemHeight);k.step=e}}return b}function w(a){var b=this.bubbleLegend,d=this.options,f=d.bubbleLegend,k=v(this.chart);b&&b.ranges&&b.ranges.length&&(f.ranges.length&& (f.autoRanges=!!f.ranges[0].autoRanges),this.destroyItem(b));0<=k&&d.enabled&&f.enabled&&(f.seriesIndex=k,this.bubbleLegend=new e(f,this),this.bubbleLegend.addToLegend(a.allItems))}function r(){var a=this.chart,b=this.visible,d=this.chart.legend;d&&d.bubbleLegend&&(this.visible=!b,this.ignoreSeries=b,a=0<=v(a),d.bubbleLegend.visible!==a&&(d.update({bubbleLegend:{enabled:a}}),d.bubbleLegend.visible=a),this.visible=b)}function m(a,b){var d=a.options.rtl,e,f,k,h,l=0;a.allItems.forEach(function(a,m){h= a.legendItem||{};if(h.group){e=h.group.translateX||0;f=h.y||0;if((k=a.movementX)||d&&a.ranges)k=d?e-a.options.maxSize/2:e+k,h.group.attr({translateX:k});m>b[l].step&&l++;h.group.attr({translateY:Math.round(f+b[l].height/2)});h.y=f+b[l].height/2}})}var l=t.setOptions,a=D.addEvent,d=D.objectEach,f=D.wrap,k=[];return{compose:function(d,e,m){-1===k.indexOf(d)&&(k.push(d),l({legend:{bubbleLegend:b}}),f(d.prototype,"drawChartBox",z));-1===k.indexOf(e)&&(k.push(e),a(e,"afterGetAllItems",w));-1===k.indexOf(m)&& (k.push(m),a(m,"legendItemClick",r))}}});J(e,"Series/Bubble/BubblePoint.js",[e["Core/Series/Point.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,t){var D=this&&this.__extends||function(){var b=function(e,t){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,e){b.__proto__=e}||function(b,e){for(var m in e)e.hasOwnProperty(m)&&(b[m]=e[m])};return b(e,t)};return function(e,t){function v(){this.constructor=e}b(e,t);e.prototype=null===t?Object.create(t):(v.prototype= t.prototype,new v)}}();t=t.extend;e=function(e){function t(){var b=null!==e&&e.apply(this,arguments)||this;b.options=void 0;b.series=void 0;return b}D(t,e);t.prototype.haloPath=function(e){return b.prototype.haloPath.call(this,0===e?0:(this.marker?this.marker.radius||0:0)+e)};return t}(e.seriesTypes.scatter.prototype.pointClass);t(e.prototype,{ttBelow:!1});return e});J(e,"Series/Bubble/BubbleSeries.js",[e["Series/Bubble/BubbleLegendComposition.js"],e["Series/Bubble/BubblePoint.js"],e["Core/Color/Color.js"], e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,t,D,z,v){function F(){var a=this,b=this.len,d=this.chart,e=this.isXAxis,f=e?"xData":"yData",g=this.min,k=this.max-g,c=0,l=b,m=b/k,p;this.series.forEach(function(b){if(b.bubblePadding&&(b.visible||!d.options.chart.ignoreHiddenSeries)){p=a.allowZoomOutside=!0;var h=b[f];e&&((b.onPoint||b).getRadii(0,0,b),b.onPoint&&(b.radii=b.onPoint.radii));if(0=d/2?(f.marker=p(f.marker,{radius:c,width:2*c,height:2*c}),f.dlBox={x:f.plotX-c,y:f.plotY-c,width:2*c,height:2*c}):(f.shapeArgs=f.dlBox=void 0,f.plotY=0,f.marker={width:0,height:0})}}; h.prototype.getPxExtremes=function(){var a=Math.min(this.chart.plotWidth,this.chart.plotHeight),b=function(b){if("string"===typeof b){var d=/%$/.test(b);b=parseInt(b,10)}return d?a*b/100:b},d=b(y(this.options.minSize,8));b=Math.max(b(y(this.options.maxSize,"20%")),d);return{minPxSize:d,maxPxSize:b}};h.prototype.getZExtremes=function(){var a=this.options,b=(this.zData||[]).filter(E);if(b.length){var e=y(a.zMin,k(f(b),!1===a.displayNegative?a.zThreshold||0:-Number.MAX_VALUE,Number.MAX_VALUE));a=y(a.zMax, d(b));if(E(e)&&E(a))return{zMin:e,zMax:a}}};h.defaultOptions=B(a.defaultOptions,{dataLabels:{formatter:function(){var a=this.series.chart.numberFormatter,b=this.point.z;return E(b)?a(b,-1):""},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:!1,states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0, zThreshold:0,zoneAxis:"z"});return h}(a);p(v.prototype,{alignDataLabel:D.alignDataLabel,applyZones:t,bubblePadding:!0,buildKDTree:t,directTouch:!0,isBubble:!0,pointArrayMap:["y","z"],pointClass:e,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"});l(v,"updatedData",function(a){delete a.target.chart.bubbleZExtremes});l(v,"remove",function(a){delete a.target.chart.bubbleZExtremes});z.registerSeriesType("bubble",v);"";"";return v});J(e,"Series/MapBubble/MapBubblePoint.js", [e["Series/Bubble/BubblePoint.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,t){var D=this&&this.__extends||function(){var b=function(e,t){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,e){b.__proto__=e}||function(b,e){for(var m in e)e.hasOwnProperty(m)&&(b[m]=e[m])};return b(e,t)};return function(e,t){function v(){this.constructor=e}b(e,t);e.prototype=null===t?Object.create(t):(v.prototype=t.prototype,new v)}}();e=e.seriesTypes.map.prototype.pointClass.prototype; t=t.extend;b=function(b){function e(){return null!==b&&b.apply(this,arguments)||this}D(e,b);e.prototype.isValid=function(){return"number"===typeof this.z};return e}(b);t(b.prototype,{applyOptions:e.applyOptions,getProjectedBounds:e.getProjectedBounds});return b});J(e,"Series/MapBubble/MapBubbleSeries.js",[e["Series/Bubble/BubbleSeries.js"],e["Series/MapBubble/MapBubblePoint.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e,t,D){var z=this&&this.__extends||function(){var b= function(e,a){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d])};return b(e,a)};return function(e,a){function d(){this.constructor=e}b(e,a);e.prototype=null===a?Object.create(a):(d.prototype=a.prototype,new d)}}(),v=t.seriesTypes,F=v.map.prototype,w=v.mappoint.prototype;v=D.extend;var r=D.merge;D=function(e){function l(){var a=null!==e&&e.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points= void 0;return a}z(l,e);l.prototype.searchPoint=function(a,b){return this.searchKDTree({clientX:a.chartX-this.chart.plotLeft,plotY:a.chartY-this.chart.plotTop},b,a)};l.prototype.translate=function(){w.translate.call(this);this.getRadii();this.translateBubble()};l.defaultOptions=r(b.defaultOptions,{lineWidth:0,animationLimit:500,joinBy:"hc-key",tooltip:{pointFormat:"{point.name}: {point.z}"}});return l}(b);v(D.prototype,{type:"mapbubble",axisTypes:["colorAxis"],getProjectedBounds:F.getProjectedBounds, isCartesian:!1,pointArrayMap:["z"],pointClass:e,processData:F.processData,projectPoint:w.projectPoint,setData:F.setData,setOptions:F.setOptions,updateData:F.updateData,useMapGeometry:!0,xyFromShape:!0});t.registerSeriesType("mapbubble",D);"";return D});J(e,"Series/Heatmap/HeatmapPoint.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(b,e){var t=this&&this.__extends||function(){var b=function(e,m){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,a){b.__proto__= a}||function(b,a){for(var d in a)a.hasOwnProperty(d)&&(b[d]=a[d])};return b(e,m)};return function(e,m){function l(){this.constructor=e}b(e,m);e.prototype=null===m?Object.create(m):(l.prototype=m.prototype,new l)}}(),D=e.clamp,z=e.defined,v=e.extend,F=e.pick;b=function(b){function e(){var e=null!==b&&b.apply(this,arguments)||this;e.options=void 0;e.series=void 0;e.value=void 0;e.x=void 0;e.y=void 0;return e}t(e,b);e.prototype.applyOptions=function(e,l){e=b.prototype.applyOptions.call(this,e,l);e.formatPrefix= e.isNull||null===e.value?"null":"point";return e};e.prototype.getCellAttributes=function(){var b=this.series,e=b.options,a=(e.colsize||1)/2,d=(e.rowsize||1)/2,f=b.xAxis,k=b.yAxis,p=this.options.marker||b.options.marker;b=b.pointPlacementToXValue();var t=F(this.pointPadding,e.pointPadding,0),r={x1:D(Math.round(f.len-f.translate(this.x-a,!1,!0,!1,!0,-b)),-f.len,2*f.len),x2:D(Math.round(f.len-f.translate(this.x+a,!1,!0,!1,!0,-b)),-f.len,2*f.len),y1:D(Math.round(k.translate(this.y-d,!1,!0,!1,!0)),-k.len, 2*k.len),y2:D(Math.round(k.translate(this.y+d,!1,!0,!1,!0)),-k.len,2*k.len)};[["width","x"],["height","y"]].forEach(function(a){var b=a[0];a=a[1];var d=a+"1",e=a+"2",f=Math.abs(r[d]-r[e]),k=p&&p.lineWidth||0,l=Math.abs(r[d]+r[e])/2;b=p&&p[b];z(b)&&b"}, states:{hover:{halo:!1,brightness:.2}}});return l}(a);f(v.prototype,{axisTypes:e.seriesMembers.axisTypes,colorKey:e.seriesMembers.colorKey,directTouch:!0,getExtremesFromAll:!0,parallelArrays:e.seriesMembers.parallelArrays,pointArrayMap:["y","value"],pointClass:t,trackerGroups:e.seriesMembers.trackerGroups,alignDataLabel:l.prototype.alignDataLabel,colorAttribs:e.seriesMembers.colorAttribs,drawLegendSymbol:D.drawRectangle,getSymbol:r.prototype.getSymbol});e.compose(v);z.registerSeriesType("heatmap", v);"";"";return v});J(e,"masters/modules/map.src.js",[e["Core/Globals.js"],e["Core/Axis/Color/ColorAxis.js"],e["Series/MapBubble/MapBubbleSeries.js"],e["Core/Chart/MapChart.js"],e["Maps/MapView.js"],e["Maps/Projection.js"]],function(b,e,t,D,z,v){b.ColorAxis=e;b.MapChart=D;b.mapChart=b.Map=D.mapChart;b.MapView=z;b.maps=D.maps;b.Projection=v;e.compose(b.Chart,b.Fx,b.Legend,b.Series);t.compose(b.Axis,b.Chart,b.Legend,b.Series)});J(e,"masters/highmaps.src.js",[e["masters/highcharts.src.js"]],function(b){b.product= "Highmaps";return b});e["masters/highmaps.src.js"]._modules=e;return e["masters/highmaps.src.js"]}); //# sourceMappingURL=highmaps.js.map