1(window.webpackJsonp=window.webpackJsonp||[]).push([[96],{454:function(t,e,i){var o;!function(n,s){t.exports?(s.default=s,t.exports=n.document?s(n):s):void 0===(o=function(){return s(n)}.call(e,i,e,t))||(t.exports=o)}("undefined"!=typeof window?window:this,(function(t){function e(t,e,i,o){t.hasOwnProperty(e)||(t[e]=o.apply(null,i))}var i={};return e(i,"Core/Globals.js",[],(function(){var e=void 0!==t?t:"undefined"!=typeof window?window:{},i=e.document,o=e.navigator&&e.navigator.userAgent||"",n=i&&i.createElementNS&&!!i.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,s=/(edge|msie|trident)/i.test(o)&&!e.opera,r=-1!==o.indexOf("Firefox"),a=-1!==o.indexOf("Chrome"),h=r&&4>parseInt(o.split("Firefox/")[1],10);return{product:"Highcharts",version:"8.2.2",deg2rad:2*Math.PI/360,doc:i,hasBidiBug:h,hasTouch:!!e.TouchEvent,isMS:s,isWebKit:-1!==o.indexOf("AppleWebKit"),isFirefox:r,isChrome:a,isSafari:!a&&-1!==o.indexOf("Safari"),isTouchDevice:/(Mobile|Android|Windows Phone)/.test(o),SVG_NS:"http://www.w3.org/2000/svg",chartCount:0,seriesTypes:{},symbolSizes:{},svg:n,win:e,marginNames:["plotTop","marginRight","marginBottom","plotLeft"],noop:function(){},charts:[],dateFormats:{}}})),e(i,"Core/Utilities.js",[i["Core/Globals.js"]],(function(t){function e(t,i,o,n){var s=i?"Highcharts error":"Highcharts warning";32===t&&(t=s+": Deprecated member");var r=g(t),a=r?s+" #"+t+": www.highcharts.com/errors/"+t+"/":t.toString();if(s=function(){if(i)throw Error(a);l.console&&-1===e.messages.indexOf(a)&&console.log(a)},void 0!==n){var h="";r&&(a+="?"),H(n,(function(t,e){h+="\n - "+e+": "+t,r&&(a+=encodeURI(e)+"="+encodeURI(t))})),a+=h}o?K(o,"displayError",{code:t,message:a,params:n},s):s(),e.messages.push(a)}function i(){var t,e=arguments,i={},n=function(t,e){return"object"!=typeof t&&(t={}),H(e,(function(i,s){!o(i,!0)||f(i)||u(i)?t[s]=e[s]:t[s]=n(t[s]||{},i)})),t};!0===e[0]&&(i=e[1],e=Array.prototype.slice.call(e,2));var s=e.length;for(t=0;t<s;t++)i=n(i,e[t]);return i}function o(t,e){return!(!t||"object"!=typeof t||e&&p(t))}function n(t,e,i){var o;return d(e)?y(i)?t.setAttribute(e,i):t&&t.getAttribute&&((o=t.getAttribute(e))||"class"!==e||(o=t.getAttribute(e+"Name"))):H(e,(function(e,i){t.setAttribute(i,e)})),o}function s(){for(var t=arguments,e=t.length,i=0;i<e;i++){var o=t[i];if(null!=o)return o}}function r(t,e){if(!t)return e;var i=t.split(".").reverse();if(1===i.length)return e[t];for(t=i.pop();void 0!==t&&null!=e;)e=e[t],t=i.pop();return e}t.timers=[];var a=t.charts,h=t.doc,l=t.win;(e||(e={})).messages=[],t.error=e,t.merge=i;var c=t.pInt=function(t,e){return parseInt(t,e||10)},d=t.isString=function(t){return"string"==typeof t},p=t.isArray=function(t){return"[object Array]"===(t=Object.prototype.toString.call(t))||"[object Array Iterator]"===t};t.isObject=o;var u=t.isDOMElement=function(t){return o(t)&&"number"==typeof t.nodeType},f=t.isClass=function(t){var e=t&&t.constructor;return!(!o(t,!0)||u(t)||!e||!e.name||"Object"===e.name)},g=t.isNumber=function(t){return"number"==typeof t&&!isNaN(t)&&1/0>t&&-1/0<t},m=t.erase=function(t,e){for(var i=t.length;i--;)if(t[i]===e){t.splice(i,1);break}},y=t.defined=function(t){return null!=t};t.attr=n;var v=t.splat=function(t){return p(t)?t:[t]},x=t.syncTimeout=function(t,e,i){return 0<e?setTimeout(t,e,i):(t.call(0,i),-1)},b=t.clearTimeout=function(t){y(t)&&clearTimeout(t)},w=t.extend=function(t,e){var i;for(i in t||(t={}),e)t[i]=e[i];return t};t.pick=s;var C=t.css=function(e,i){t.isMS&&!t.svg&&i&&void 0!==i.opacity&&(i.filter="alpha(opacity="+100*i.opacity+")"),w(e.style,i)},S=t.createElement=function(t,e,i,o,n){return t=h.createElement(t),e&&w(t,e),n&&C(t,{padding:"0",border:"none",margin:"0"}),i&&C(t,i),o&&o.appendChild(t),t},k=t.extendClass=function(t,e){var i=function(){};return i.prototype=new t,w(i.prototype,e),i},A=t.pad=function(t,e,i){return Array((e||2)+1-String(t).replace("-","").length).join(i||"0")+t},M=t.relativeLength=function(t,e,i){return/%$/.test(t)?e*parseFloat(t)/100+(i||0):parseFloat(t)},P=t.wrap=function(t,e,i){var o=t[e];t[e]=function(){var t=Array.prototype.slice.call(arguments),e=arguments,n=this;return n.proceed=function(){o.apply(n,arguments.length?arguments:e)},t.unshift(o),t=i.apply(this,t),n.proceed=null,t}},T=t.format=function(e,i,o){var n="{",s=!1,a=[],h=/f$/,l=/\.([0-9])/,c=t.defaultOptions.lang,d=o&&o.time||t.time;for(o=o&&o.numberFormatter||F;e;){var p=e.indexOf(n);if(-1===p)break;var u=e.slice(0,p);if(s){if(n=r((u=u.split(":")).shift()||"",i),u.length&&"number"==typeof n)if(u=u.join(":"),h.test(u)){var f=parseInt((u.match(l)||["","-1"])[1],10);null!==n&&(n=o(n,f,c.decimalPoint,-1<u.indexOf(",")?c.thousandsSep:""))}else n=d.dateFormat(u,n);a.push(n)}else a.push(u);e=e.slice(p+1),n=(s=!s)?"}":"{"}return a.push(e),a.join("")},E=t.getMagnitude=function(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))}
1,L=t.normalizeTickInterval=function(t,e,i,o,n){var r=t,a=t/(i=s(i,1));for(e||(e=n?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===o&&(1===i?e=e.filter((function(t){return 0==t%1})):.1>=i&&(e=[1/i]))),o=0;o<e.length&&(r=e[o],!(n&&r*i>=t||!n&&a<=(e[o]+(e[o+1]||e[o]))/2));o++);return B(r*i,-Math.round(Math.log(.001)/Math.LN10))},D=t.stableSort=function(t,e){var i,o,n=t.length;for(o=0;o<n;o++)t[o].safeI=o;for(t.sort((function(t,o){return 0===(i=e(t,o))?t.safeI-o.safeI:i})),o=0;o<n;o++)delete t[o].safeI},O=t.arrayMin=function(t){for(var e=t.length,i=t[0];e--;)t[e]<i&&(i=t[e]);return i},I=t.arrayMax=function(t){for(var e=t.length,i=t[0];e--;)t[e]>i&&(i=t[e]);return i},N=t.destroyObjectProperties=function(t,e){H(t,(function(i,o){i&&i!==e&&i.destroy&&i.destroy(),delete t[o]}))},j=t.discardElement=function(e){var i=t.garbageBin;i||(i=S("div")),e&&i.appendChild(e),i.innerHTML=""},B=t.correctFloat=function(t,e){return parseFloat(t.toPrecision(e||14))},R=t.timeUnits={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},F=t.numberFormat=function(e,i,o,n){e=+e||0,i=+i;var r=t.defaultOptions.lang,a=(e.toString().split(".")[1]||"").split("e")[0].length,h=e.toString().split("e");if(-1===i)i=Math.min(a,20);else if(g(i)){if(i&&h[1]&&0>h[1]){var l=i+ +h[1];0<=l?(h[0]=(+h[0]).toExponential(l).split("e")[0],i=l):(h[0]=h[0].split(".")[0]||0,e=20>i?(h[0]*Math.pow(10,h[1])).toFixed(i):0,h[1]=0)}}else i=2;var d=(Math.abs(h[1]?h[0]:e)+Math.pow(10,-Math.max(i,a)-1)).toFixed(i);return l=3<(a=String(c(d))).length?a.length%3:0,o=s(o,r.decimalPoint),n=s(n,r.thousandsSep),e=(0>e?"-":"")+(l?a.substr(0,l)+n:""),e+=a.substr(l).replace(/(\d{3})(?=\d)/g,"$1"+n),i&&(e+=o+d.slice(-i)),h[1]&&0!=+e&&(e+="e"+h[1]),e};Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};var z=t.getStyle=function(i,o,n){return"width"===o?(o=Math.min(i.offsetWidth,i.scrollWidth),(n=i.getBoundingClientRect&&i.getBoundingClientRect().width)<o&&n>=o-1&&(o=Math.floor(n)),Math.max(0,o-t.getStyle(i,"padding-left")-t.getStyle(i,"padding-right"))):"height"===o?Math.max(0,Math.min(i.offsetHeight,i.scrollHeight)-t.getStyle(i,"padding-top")-t.getStyle(i,"padding-bottom")):(l.getComputedStyle||e(27,!0),(i=l.getComputedStyle(i,void 0))&&(i=i.getPropertyValue(o),s(n,"opacity"!==o)&&(i=c(i))),i)},G=t.inArray=function(t,i,o){return e(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),i.indexOf(t,o)},X=t.find=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){var i,o=t.length;for(i=0;i<o;i++)if(e(t[i],i))return t[i]};t.keys=function(t){return e(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t)};var Y=t.offset=function(t){var e=h.documentElement;return{top:(t=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0}).top+(l.pageYOffset||e.scrollTop)-(e.clientTop||0),left:t.left+(l.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}},H=t.objectEach=function(t,e,i){for(var o in t)Object.hasOwnProperty.call(t,o)&&e.call(i||t[o],t[o],o,t)};H({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},(function(i,o){t[o]=function(t){var n;return e(32,!1,void 0,((n={})["Highcharts."+o]="use Array."+i,n)),Array.prototype[i].apply(t,[].slice.call(arguments,1))}}));var W,U=t.addEvent=function(e,i,o,n){void 0===n&&(n={});var s=e.addEventListener||t.addEventListenerPolyfill,r="function"==typeof e&&e.prototype?e.prototype.protoEvents=e.prototype.protoEvents||{}:e.hcEvents=e.hcEvents||{};return t.Point&&e instanceof t.Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0),s&&s.call(e,i,o,!1),r[i]||(r[i]=[]),r[i].push({fn:o,order:"number"==typeof n.order?n.order:1/0}),r[i].sort((function(t,e){return t.order-e.order})),function(){V(e,i,o)}},V=t.removeEvent=function(e,i,o){function n(i,o){var n=e.removeEventListener||t.removeEventListenerPolyfill;n&&n.call(e,i,o,!1)}function s(t){var o;if(e.nodeName){if(i){var s={};s[i]=!0}else s=t;H(s,(function(e,i){if(t[i])for(o=t[i].length;o--;)n(i,t[i][o].fn)}))}}var r;["protoEvents","hcEvents"].forEach((function(t,a){var h=(a=a?e:e.prototype)&&a[t];h&&(i?(r=h[i]||[],o?(h[i]=r.filter((function(t){return o!==t.fn})),n(i,o)):(s(h),h[i]=[])):(s(h),a[t]={}))}))}
1,K=t.fireEvent=function(t,e,i,o){var n;if(i=i||{},h.createEvent&&(t.dispatchEvent||t.fireEvent)){var s=h.createEvent("Events");s.initEvent(e,!0,!0),w(s,i),t.dispatchEvent?t.dispatchEvent(s):t.fireEvent(e,s)}else i.target||w(i,{preventDefault:function(){i.defaultPrevented=!0},target:t,type:e}),function(e,o){void 0===e&&(e=[]),void 0===o&&(o=[]);var s=0,r=0,a=e.length+o.length;for(n=0;n<a;n++)!1===(e[s]?o[r]?e[s].order<=o[r].order?e[s++]:o[r++]:e[s++]:o[r++]).fn.call(t,i)&&i.preventDefault()}(t.protoEvents&&t.protoEvents[e],t.hcEvents&&t.hcEvents[e]);o&&!i.defaultPrevented&&o.call(t,i)},_=t.uniqueKey=function(){var t=Math.random().toString(36).substring(2,9)+"-",e=0;return function(){return"highcharts-"+(W?"":t)+e++}}(),q=t.useSerialIds=function(t){return W=s(t,W)},Z=t.isFunction=function(t){return"function"==typeof t},$=t.getOptions=function(){return t.defaultOptions},J=t.setOptions=function(e){return t.defaultOptions=i(!0,t.defaultOptions,e),(e.time||e.global)&&t.time.update(i(t.defaultOptions.global,t.defaultOptions.time,e.global,e.time)),t.defaultOptions};return l.jQuery&&(l.jQuery.fn.highcharts=function(){var e=[].slice.call(arguments);if(this[0])return e[0]?(new(t[d(e[0])?e.shift():"Chart"])(this[0],e[0],e[1]),this):a[n(this[0],"data-highcharts-chart")]}),{addEvent:U,arrayMax:I,arrayMin:O,attr:n,clamp:function(t,e,i){return t>e?t<i?t:i:e},clearTimeout:b,correctFloat:B,createElement:S,css:C,defined:y,destroyObjectProperties:N,discardElement:j,erase:m,error:e,extend:w,extendClass:k,find:X,fireEvent:K,format:T,getMagnitude:E,getNestedProperty:r,getOptions:$,getStyle:z,inArray:G,isArray:p,isClass:f,isDOMElement:u,isFunction:Z,isNumber:g,isObject:o,isString:d,merge:i,normalizeTickInterval:L,numberFormat:F,objectEach:H,offset:Y,pad:A,pick:s,pInt:c,relativeLength:M,removeEvent:V,setOptions:J,splat:v,stableSort:D,syncTimeout:x,timeUnits:R,uniqueKey:_,useSerialIds:q,wrap:P}})),e(i,"Core/Color/Color.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.isNumber,o=e.merge,n=e.pInt;return e=function(){function e(i){return this.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(t){return[n(t[1]),n(t[2]),n(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(t){return[n(t[1]),n(t[2]),n(t[3]),1]}}],this.rgba=[],t.Color!==e?new t.Color(i):this instanceof e?void this.init(i):new e(i)}return e.parse=function(t){return new e(t)},e.prototype.init=function(t){var i,o;if((this.input=t=e.names[t&&t.toLowerCase?t.toLowerCase():""]||t)&&t.stops)this.stops=t.stops.map((function(t){return new e(t[1])}));else{if(t&&t.charAt&&"#"===t.charAt()){var n=t.length;t=parseInt(t.substr(1),16),7===n?i=[(16711680&t)>>16,(65280&t)>>8,255&t,1]:4===n&&(i=[(3840&t)>>4|(3840&t)>>8,(240&t)>>4|240&t,(15&t)<<4|15&t,1])}if(!i)for(o=this.parsers.length;o--&&!i;){var s=this.parsers[o];(n=s.regex.exec(t))&&(i=s.parse(n))}}this.rgba=i||[]},e.prototype.get=function(t){var e=this.input,n=this.rgba;if(void 0!==this.stops){var s=o(e);s.stops=[].concat(s.stops),this.stops.forEach((function(e,i){s.stops[i]=[s.stops[i][0],e.get(t)]}))}else s=n&&i(n[0])?"rgb"===t||!t&&1===n[3]?"rgb("+n[0]+","+n[1]+","+n[2]+")":"a"===t?n[3]:"rgba("+n.join(",")+")":e;return s},e.prototype.brighten=function(t){var e,o=this.rgba;if(this.stops)this.stops.forEach((function(e){e.brighten(t)}));else if(i(t)&&0!==t)for(e=0;3>e;e++)o[e]+=n(255*t),0>o[e]&&(o[e]=0),255<o[e]&&(o[e]=255);return this},e.prototype.setOpacity=function(t){return this.rgba[3]=t,this},e.prototype.tweenTo=function(t,e){var i=this.rgba,o=t.rgba;return o.length&&i&&i.length?e=((t=1!==o[3]||1!==i[3])?"rgba(":"rgb(")+Math.round(o[0]+(i[0]-o[0])*(1-e))+","+Math.round(o[1]+(i[1]-o[1])*(1-e))+","+Math.round(o[2]+(i[2]-o[2])*(1-e))+(t?","+(o[3]+(i[3]-o[3])*(1-e)):"")+")":e=t.input||"none",e},e.names={white:"#ffffff",black:"#000000"},e}(),t.Color=e,t.color=e.parse,e})),e(i,"Core/Animation/Fx.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e){var i=t.win,o=e.isNumber,n=e.objectEach;return e=function(){function e(t,e,i){this.pos=NaN,this.options=e,this.elem=t,this.prop=i}return e.prototype.dSetter=function(){var t=this.paths,e=t&&t[0];
1t=t&&t[1];var i=[],o=this.now||0;if(1!==o&&e&&t)if(e.length===t.length&&1>o)for(var n=0;n<t.length;n++){for(var s=e[n],r=t[n],a=[],h=0;h<r.length;h++){var l=s[h],c=r[h];a[h]="number"==typeof l&&"number"==typeof c&&("A"!==r[0]||4!==h&&5!==h)?l+o*(c-l):c}i.push(a)}else i=t;else i=this.toD||[];this.elem.attr("d",i,void 0,!0)},e.prototype.update=function(){var t=this.elem,e=this.prop,i=this.now,o=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,i,null,!0):t.style[e]=i+this.unit,o&&o.call(t,i,this)},e.prototype.run=function(e,o,n){var s=this,r=s.options,a=function(t){return!a.stopped&&s.step(t)},h=i.requestAnimationFrame||function(t){setTimeout(t,13)},l=function(){for(var e=0;e<t.timers.length;e++)t.timers[e]()||t.timers.splice(e--,1);t.timers.length&&h(l)};e!==o||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=e,this.end=o,this.unit=n,this.now=this.start,this.pos=0,a.elem=this.elem,a.prop=this.prop,a()&&1===t.timers.push(a)&&h(l)):(delete r.curAnim[this.prop],r.complete&&0===Object.keys(r.curAnim).length&&r.complete.call(this.elem))},e.prototype.step=function(t){var e=+new Date,i=this.options,o=this.elem,s=i.complete,r=i.duration,a=i.curAnim;if(o.attr&&!o.element)t=!1;else if(t||e>=r+this.startTime){this.now=this.end,this.pos=1,this.update();var h=a[this.prop]=!0;n(a,(function(t){!0!==t&&(h=!1)})),h&&s&&s.call(o),t=!1}else this.pos=i.easing((e-this.startTime)/r),this.now=this.start+(this.end-this.start)*this.pos,this.update(),t=!0;return t},e.prototype.initPath=function(t,e,i){function n(t,e){for(;t.length<p;){var i=t[0],o=e[p-t.length];o&&"M"===i[0]&&(t[0]="C"===o[0]?["C",i[1],i[2],i[1],i[2],i[1],i[2]]:["L",i[1],i[2]]),t.unshift(i),h&&t.push(t[t.length-1])}}function s(t,e){for(;t.length<p;)if("C"===(e=t[t.length/l-1].slice())[0]&&(e[1]=e[5],e[2]=e[6]),h){var i=t[t.length/l].slice();t.splice(t.length/2,0,e,i)}else t.push(e)}var r=t.startX,a=t.endX;e=e&&e.slice(),i=i.slice();var h=t.isArea,l=h?2:1;if(!e)return[i,i];if(r&&a){for(t=0;t<r.length;t++){if(r[t]===a[0]){var c=t;break}if(r[0]===a[a.length-r.length+t]){c=t;var d=!0;break}if(r[r.length-1]===a[a.length-r.length+t]){c=r.length-t;break}}void 0===c&&(e=[])}if(e.length&&o(c)){var p=i.length+c*l;d?(n(e,i),s(i,e)):(n(i,e),s(e,i))}return[e,i]},e.prototype.fillSetter=function(){e.prototype.strokeSetter.apply(this,arguments)},e.prototype.strokeSetter=function(){this.elem.attr(this.prop,t.color(this.start).tweenTo(t.color(this.end),this.pos),null,!0)},e}(),t.Fx=e})),e(i,"Core/Animation/AnimationUtilities.js",[i["Core/Animation/Fx.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,i){var o=i.defined,n=i.getStyle,s=i.isArray,r=i.isNumber,a=i.isObject,h=i.merge,l=i.objectEach,c=i.pick;i=e.setAnimation=function(t,e){e.renderer.globalAnimation=c(t,e.options.chart.animation,!0)};var d=e.animObject=function(t){return a(t)?e.merge({duration:500,defer:0},t):{duration:t?500:0,defer:0}},p=e.getDeferredAnimation=function(t,e,i){var n=d(e),s=0,r=0;return(i?[i]:t.series).forEach((function(t){t=d(t.options.animation),s=e&&o(e.defer)?n.defer:Math.max(s,t.duration+t.defer),r=Math.min(n.duration,t.duration)})),t.renderer.forExport&&(s=0),{defer:Math.max(0,s-r),duration:Math.min(s,r)}},u=e.animate=function(e,i,o){var c,d,p,u="";if(!a(o)){var g=arguments;o={duration:g[2],easing:g[3],complete:g[4]}}r(o.duration)||(o.duration=400),o.easing="function"==typeof o.easing?o.easing:Math[o.easing]||Math.easeInOutSine,o.curAnim=h(i),l(i,(function(r,a){f(e,a),p=new t(e,o,a),d=null,"d"===a&&s(i.d)?(p.paths=p.initPath(e,e.pathArray,i.d),p.toD=i.d,c=0,d=1):e.attr?c=e.attr(a):(c=parseFloat(n(e,a))||0,"opacity"!==a&&(u="px")),d||(d=r),d&&d.match&&d.match("px")&&(d=d.replace(/px/g,"")),p.run(c,d,u)}))},f=e.stop=function(t,i){for(var o=e.timers.length;o--;)e.timers[o].elem!==t||i&&i!==e.timers[o].prop||(e.timers[o].stopped=!0)};return{animate:u,animObject:d,getDeferredAnimation:p,setAnimation:i,stop:f}})),e(i,"Core/Renderer/SVG/SVGElement.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,
1i,o){var n=t.animate,s=t.animObject,r=t.stop,a=i.deg2rad,h=i.doc,l=i.hasTouch,c=i.isFirefox,d=i.noop,p=i.svg,u=i.SVG_NS,f=i.win,g=o.attr,m=o.createElement,y=o.css,v=o.defined,x=o.erase,b=o.extend,w=o.fireEvent,C=o.isArray,S=o.isFunction,k=o.isNumber,A=o.isString,M=o.merge,P=o.objectEach,T=o.pick,E=o.pInt,L=o.syncTimeout,D=o.uniqueKey;return(t=function(){function t(){this.height=this.element=void 0,this.opacity=1,this.renderer=void 0,this.SVG_NS=u,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" "),this.width=void 0}return t.prototype._defaultGetter=function(t){return t=T(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0),/^[\-0-9\.]+$/.test(t)&&(t=parseFloat(t)),t},t.prototype._defaultSetter=function(t,e,i){i.setAttribute(e,t)},t.prototype.add=function(t){var e=this.renderer,i=this.element;if(t&&(this.parentGroup=t),this.parentInverted=t&&t.inverted,void 0!==this.textStr&&"text"===this.element.nodeName&&e.buildText(this),this.added=!0,!t||t.handleZ||this.zIndex)var o=this.zIndexSetter();return o||(t?t.element:e.box).appendChild(i),this.onAdd&&this.onAdd(),this},t.prototype.addClass=function(t,e){var i=e?"":this.attr("class")||"";return(t=(t||"").split(/ /g).reduce((function(t,e){return-1===i.indexOf(e)&&t.push(e),t}),i?[i]:[]).join(" "))!==i&&this.attr("class",t),this},t.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},t.prototype.align=function(t,e,i){var o,n,s,r={},a=this.renderer,h=a.alignedObjects;t?(this.alignOptions=t,this.alignByTranslate=e,(!i||A(i))&&(this.alignTo=o=i||"renderer",x(h,this),h.push(this),i=void 0)):(t=this.alignOptions,e=this.alignByTranslate,o=this.alignTo),i=T(i,a[o],a),o=t.align,a=t.verticalAlign,h=(i.x||0)+(t.x||0);var l=(i.y||0)+(t.y||0);return"right"===o?n=1:"center"===o&&(n=2),n&&(h+=(i.width-(t.width||0))/n),r[e?"translateX":"x"]=Math.round(h),"bottom"===a?s=1:"middle"===a&&(s=2),s&&(l+=(i.height-(t.height||0))/s),r[e?"translateY":"y"]=Math.round(l),this[this.placed?"animate":"attr"](r),this.placed=!0,this.alignAttr=r,this},t.prototype.alignSetter=function(t){var e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))},t.prototype.animate=function(t,e,i){var o=this,r=s(T(e,this.renderer.globalAnimation,!0));return e=r.defer,T(h.hidden,h.msHidden,h.webkitHidden,!1)&&(r.duration=0),0!==r.duration?(i&&(r.complete=i),L((function(){o.element&&n(o,t,r)}),e)):(this.attr(t,void 0,i),P(t,(function(t,e){r.step&&r.step.call(this,t,{prop:e,pos:1})}),this)),this},t.prototype.applyTextOutline=function(t){var e,o=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(o.style.fill)));var n=(t=t.split(" "))[t.length-1];if((e=t[0])&&"none"!==e&&i.svg){this.fakeTS=!0,t=[].slice.call(o.getElementsByTagName("tspan")),this.ySetter=this.xSetter,e=e.replace(/(^[\d\.]+)(.*?)$/g,(function(t,e,i){return 2*e+i})),this.removeTextOutline(t);var s=!!o.textContent&&/^[\u0591-\u065F\u066A-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC]/.test(o.textContent),r=o.firstChild;t.forEach((function(t,i){0===i&&(t.setAttribute("x",o.getAttribute("x")),i=o.getAttribute("y"),t.setAttribute("y",i||0),null===i&&o.setAttribute("y",0)),i=t.cloneNode(!0),g(s&&!c?t:i,{class:"highcharts-text-outline",fill:n,stroke:n,"stroke-width":e,"stroke-linejoin":"round"}),o.insertBefore(i,r)})),s&&c&&t[0]&&((t=t[0].cloneNode(!0)).textContent=" ",o.insertBefore(t,r))}},t.prototype.attr=function(t,e,i,o){var n,s,a,h=this.element,l=this,c=this.symbolCustomAttribs;if("string"==typeof t&&void 0!==e){var d=t;(t={})[d]=e}return"string"==typeof t?l=(this[t+"Getter"]||this._defaultGetter).call(this,t,h):(P(t,(function(e,i){s=!1,o||r(this,i),this.symbolName&&-1!==c.indexOf(i)&&(n||(this.symbolAttr(t),n=!0),s=!0),!this.rotation||"x"!==i&&"y"!==i||(this.doTransform=!0),s||((a=this[i+"Setter"]||this._defaultSetter).call(this,e,i,h),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(i)&&this.updateShadows(i,e,a))}),this),this.afterSetters()),i&&i.call(this),l},t.prototype.clip=function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},t.prototype.crisp=function(t,e){e=e||t.strokeWidth||0;var i=Math.round(e)%2/2;return t.x=Math.floor(t.x||this.x||0)+i,t.y=Math.floor(t.y||this.y||0)+i,t.width=Math.floor((t.width||this.width||0)-2*i),t.height=Math.floor((t.height||this.height||0)-2*i),v(t.strokeWidth)&&(t.strokeWidth=e),t},t.prototype.complexColor=function(t,i,o){var n,s,r,a,h,l,c,d,p,u,f,g=this.renderer,m=[];w(this.renderer,"complexColor",{args:arguments},(function(){if(t.radialGradient?s="radialGradient":t.linearGradient&&(s="linearGradient"),s){if(r=t[s],h=g.gradients,l=t.stops,p=o.radialReference,C(r)&&(t[s]=r={x1:r[0],y1:r[1],x2:r[2],y2:r[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===s&&p&&!v(r.gradientUnits)&&(a=r,r=M(r,g.getRadialAttr(p,a),{gradientUnits:"userSpaceOnUse"})),P(r,(function(t,e){"id"!==e&&m.push(e,t)})),P(l,(function(t){m.push(t)})),m=m.join(","),h[m])u=h[m].attr("id");else{r.id=u=D();var y=h[m]=g.createElement(s).attr(r).add(g.defs);y.radAttr=a,y.stops=[],l.forEach((function(t){0===t[1].indexOf("rgba")?(n=e.parse(t[1]),c=n.get("rgb"),d=n.get("a")):(c=t[1],d=1),t=g.createElement("stop").attr({offset:t[0],"stop-color":c,"stop-opacity":d}).add(y),y.stops.push(t)}))}f="url("+g.url+"#"+u+")",o.setAttribute(i,f),o.gradient=m,t.toString=function(){return f}}}))},t.prototype.css=function(t){var e=this.styles,i={},o=this.element,n="",s=!e,r=["textOutline","textOverflow","width"];if(t&&t.color&&(t.fill=t.color),e&&P(t,(function(t,o){e&&e[o]!==t&&(i[o]=t,s=!0)})),s){if(e&&(t=b(e,i)),t)if(null===t.width||"auto"===t.width)delete this.textWidth;else if("text"===o.nodeName.toLowerCase()&&t.width)var a=this.textWidth=E(t.width);if(this.styles=t,a&&!p&&this.renderer.forExport&&delete t.width,o.namespaceURI===this.SVG_NS){var h=function(t,e){return"-"+e.toLowerCase()};P(t,(function(t,e){-1===r.indexOf(e)&&(n+=e.replace(/([A-Z])/g,h)+":"+t+";")})),n&&g(o,"style",n)}else y(o,t);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t&&t.textOutline&&this.applyTextOutline(t.textOutline))}return this},t.prototype.dashstyleSetter=function(t){var e=this["stroke-width"];if("inherit"===e&&(e=1),t=t&&t.toLowerCase()){var i=t.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(t=i.length;t--;)i[t]=""+E(i[t])*T(e,NaN);t=i.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},t.prototype.destroy=function(){var t=this,e=t.element||{},i=t.renderer,o=i.isSVG&&"SPAN"===e.nodeName&&t.parentGroup||void 0,n=e.ownerSVGElement;if(e.onclick=e.onmouseout=e.onmouseover=e.onmousemove=e.point=null,r(t),t.clipPath&&n){var s=t.clipPath;[].forEach.call(n.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(t){-1<t.getAttribute("clip-path").indexOf(s.element.i
1d)&&t.removeAttribute("clip-path")})),t.clipPath=s.destroy()}if(t.stops){for(n=0;n<t.stops.length;n++)t.stops[n].destroy();t.stops.length=0,t.stops=void 0}for(t.safeRemoveChild(e),i.styledMode||t.destroyShadows();o&&o.div&&0===o.div.childNodes.length;)e=o.parentGroup,t.safeRemoveChild(o.div),delete o.div,o=e;t.alignTo&&x(i.alignedObjects,t),P(t,(function(e,i){t[i]&&t[i].parentGroup===t&&t[i].destroy&&t[i].destroy(),delete t[i]}))},t.prototype.destroyShadows=function(){(this.shadows||[]).forEach((function(t){this.safeRemoveChild(t)}),this),this.shadows=void 0},t.prototype.destroyTextPath=function(t,e){var i=t.getElementsByTagName("text")[0];if(i){if(i.removeAttribute("dx"),i.removeAttribute("dy"),e.element.setAttribute("id",""),this.textPathWrapper&&i.getElementsByTagName("textPath").length){for(t=this.textPathWrapper.element.childNodes;t.length;)i.appendChild(t[0]);i.removeChild(this.textPathWrapper.element)}}else(t.getAttribute("dx")||t.getAttribute("dy"))&&(t.removeAttribute("dx"),t.removeAttribute("dy"));this.textPathWrapper&&(this.textPathWrapper=this.textPathWrapper.destroy())},t.prototype.dSetter=function(t,e,i){C(t)&&("string"==typeof t[0]&&(t=this.renderer.pathToSegments(t)),this.pathArray=t,t=t.reduce((function(t,e,i){return e&&e.join?(i?t+" ":"")+e.join(" "):(e||"").toString()}),"")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),this[e]!==t&&(i.setAttribute(e,t),this[e]=t)},t.prototype.fadeOut=function(t){var e=this;e.animate({opacity:0}
1,{duration:T(t,150),complete:function(){e.attr({y:-9999}).hide()}})},t.prototype.fillSetter=function(t,e,i){"string"==typeof t?i.setAttribute(e,t):t&&this.complexColor(t,e,i)},t.prototype.getBBox=function(e,i){var o,n=this.renderer,s=this.element,r=this.styles,h=this.textStr,l=n.cache,c=n.cacheKeys,d=s.namespaceURI===this.SVG_NS;i=T(i,this.rotation,0);var p=n.styledMode?s&&t.prototype.getStyle.call(s,"font-size"):r&&r.fontSize;if(v(h)){var u=h.toString();-1===u.indexOf("<")&&(u=u.replace(/[0-9]/g,"0")),u+=["",i,p,this.textWidth,r&&r.textOverflow,r&&r.fontWeight].join()}if(u&&!e&&(o=l[u]),!o){if(d||n.forExport){try{var f=this.fakeTS&&function(t){[].forEach.call(s.querySelectorAll(".highcharts-text-outline"),(function(e){e.style.display=t}))};S(f)&&f("none"),o=s.getBBox?b({},s.getBBox()):{width:s.offsetWidth,height:s.offsetHeight},S(f)&&f("")}catch(t){}(!o||0>o.width)&&(o={width:0,height:0})}else o=this.htmlGetBBox();if(n.isSVG&&(e=o.width,n=o.height,d&&(o.height=n={"11px,17":14,"13px,20":16}[r&&r.fontSize+","+Math.round(n)]||n),i&&(r=i*a,o.width=Math.abs(n*Math.sin(r))+Math.abs(e*Math.cos(r)),o.height=Math.abs(n*Math.cos(r))+Math.abs(e*Math.sin(r)))),u&&0<o.height){for(;250<c.length;)delete l[c.shift()];l[u]||c.push(u),l[u]=o}}return o},t.prototype.getStyle=function(t){return f.getComputedStyle(this.element||this,"").getPropertyValue(t)},t.prototype.hasClass=function(t){return-1!==(""+this.attr("class")).split(" ").indexOf(t)},t.prototype.hide=function(t){return t?this.attr({y:-9999}):this.attr({visibility:"hidden"}),this},t.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}},t.prototype.init=function(t,e){this.element="span"===e?m(e):h.createElementNS(this.SVG_NS,e),this.renderer=t,w(this,"afterInit")},t.prototype.invert=function(t){return this.inverted=t,this.updateTransform(),this},t.prototype.on=function(t,e){var i,o,n,s=this.element;return l&&"click"===t?(s.ontouchstart=function(t){i=t.touches[0].clientX,o=t.touches[0].clientY},s.ontouchend=function(t){i&&4<=Math.sqrt(Math.pow(i-t.changedTouches[0].clientX,2)+Math.pow(o-t.changedTouches[0].clientY,2))||e.call(s,t),n=!0,!1!==t.cancelable&&t.preventDefault()},s.onclick=function(t){n||e.call(s,t)}):s["on"+t]=e,this},t.prototype.opacitySetter=function(t,e,i){this.opacity=t=Number(Number(t).toFixed(3)),i.setAttribute(e,t)},t.prototype.removeClass=function(t){return this.attr("class",(""+this.attr("class")).replace(A(t)?new RegExp("(^| )"+t+"( |$)"):t," ").replace(/ +/g," ").trim())},t.prototype.removeTextOutline=function(t){for(var e,i=t.length;i--;)"highcharts-text-outline"===(e=t[i]).getAttribute("class")&&x(t,this.element.removeChild(e))},t.prototype.safeRemoveChild=function(t){var e=t.parentNode;e&&e.removeChild(t)},t.prototype.setRadialReference=function(t){var e=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=t,e&&e.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this},t.prototype.setTextPath=function(t,e){var i=this.element,o={textAnchor:"text-anchor"},n=!1,s=this.textPathWrapper,r=!s,a=(e=M(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},e)).attributes;if(t&&e&&e.enabled){s&&null===s.element.parentNode?(r=!0,s=s.destroy()):s&&this.removeTextOutline.call(s.parentGroup,[].slice.call(i.getElementsByTagName("tspan"))),this.options&&this.options.padding&&(a.dx=-this.options.padding),s||(this.textPathWrapper=s=this.renderer.createElement("textPath"),n=!0);var h=s.element;if((e=t.element.getAttribute("id"))||t.element.setAttribute("id",e=D()),r)for(t=i.getElementsByTagName("tspan");t.length;)t[0].setAttribute("y",0),k(a.dx)&&t[0].setAttribute("x",-a.dx),h.appendChild(t[0]);n&&s&&s.add({element:this.text?this.text.element:i}),h.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+e),v(a.dy)&&(h.parentNode.setAttribute("dy",a.dy),delete a.dy),v(a.dx)&&(h.parentNode.setAttribute("dx",a.dx),delete a.dx),P(a,(function(t,e){h.setAttribute(o[e]||e,t)})),i.removeAttribute("transform"),this.removeTextOutline.call(s,[].slice.call(i.getElementsByTagName("tspan"))),this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0}),this.applyTextOutline=this.updateTransform=d}else s&&(delete this.updateTransform,delete this.applyTextOutline,this.destroyTextPath(i,t),this.updateTransform(),this.options&&this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this}
1,t.prototype.shadow=function(t,e,i){var o,n=[],s=this.element,r=!1,a=this.oldShadowOptions,h={color:"#000000",offsetX:1,offsetY:1,opacity:.15,width:3};if(!0===t?o=h:"object"==typeof t&&(o=b(h,t)),o&&(o&&a&&P(o,(function(t,e){t!==a[e]&&(r=!0)})),r&&this.destroyShadows(),this.oldShadowOptions=o),o){if(!this.shadows){var l=o.opacity/o.width,c=this.parentInverted?"translate(-1,-1)":"translate("+o.offsetX+", "+o.offsetY+")";for(h=1;h<=o.width;h++){var d=s.cloneNode(!1),p=2*o.width+1-2*h;g(d,{stroke:t.color||"#000000","stroke-opacity":l*h,"stroke-width":p,transform:c,fill:"none"}),d.setAttribute("class",(d.getAttribute("class")||"")+" highcharts-shadow"),i&&(g(d,"height",Math.max(g(d,"height")-p,0)),d.cutHeight=p),e?e.element.appendChild(d):s.parentNode&&s.parentNode.insertBefore(d,s),n.push(d)}this.shadows=n}}else this.destroyShadows();return this},t.prototype.show=function(t){return this.attr({visibility:t?"inherit":"visible"})},t.prototype.strokeSetter=function(e,i,o){this[i]=e,this.stroke&&this["stroke-width"]?(t.prototype.fillSetter.call(this,this.stroke,"stroke",o),o.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===i&&0===e&&this.hasStroke?(o.removeAttribute("stroke"),this.hasStroke=!1):this.renderer.styledMode&&this["stroke-width"]&&(o.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0)},t.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var t=this.getStyle("stroke-width"),e=0;if(t.indexOf("px")===t.length-2)e=E(t);else if(""!==t){var i=h.createElementNS(u,"rect");g(i,{width:t,"stroke-width":0}),this.element.parentNode.appendChild(i),e=i.getBBox().width,i.parentNode.removeChild(i)}return e},t.prototype.symbolAttr=function(t){var e=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach((function(i){e[i]=T(t[i],e[i])})),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})},t.prototype.textSetter=function(t){t!==this.textStr&&(delete this.textPxLength,this.textStr=t,this.added&&this.renderer.buildText(this))},t.prototype.titleSetter=function(t){var e=this.element.getElementsByTagName("title")[0];e||(e=h.createElementNS(this.SVG_NS,"title"),this.element.appendChild(e)),e.firstChild&&e.removeChild(e.firstChild),e.appendChild(h.createTextNode(String(T(t,"")).replace(/<[^>]*>/g,"").replace(/</g,"<").replace(/>/g,">")))},t.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},t.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},t.prototype.updateShadows=function(t,e,i){var o=this.shadows;if(o)for(var n=o.length;n--;)i.call(o[n],"height"===t?Math.max(e-(o[n].cutHeight||0),0):"d"===t?this.d:e,t,o[n])},t.prototype.updateTransform=function(){var t=this.translateX||0,e=this.translateY||0,i=this.scaleX,o=this.scaleY,n=this.inverted,s=this.rotation,r=this.matrix,a=this.element;n&&(t+=this.width,e+=this.height),t=["translate("+t+","+e+")"],v(r)&&t.push("matrix("+r.join(",")+")"),n?t.push("rotate(90) scale(-1,1)"):s&&t.push("rotate("+s+" "+T(this.rotationOriginX,a.getAttribute("x"),0)+" "+T(this.rotationOriginY,a.getAttribute("y")||0)+")"),(v(i)||v(o))&&t.push("scale("+T(i,1)+" "+T(o,1)+")"),t.length&&a.setAttribute("transform",t.join(" "))},t.prototype.visibilitySetter=function(t,e,i){"inherit"===t?i.removeAttribute(e):this[e]!==t&&i.setAttribute(e,t),this[e]=t},t.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},t.prototype.zIndexSetter=function(t,e){var i=this.renderer,o=this.parentGroup,n=(o||i).element||i.box,s=this.element,r=!1;i=n===i.box;var a,h=this.added;if(v(t)?(s.setAttribute("data-z-index",t),t=+t,this[e]===t&&(h=!1)):v(this[e])&&s.removeAttribute("data-z-index"),this[e]=t,h){for((t=this.zIndex)&&o&&(o.handleZ=!0),a=(e=n.childNodes).length-1;0<=a&&!r;a--){h=(o=e[a]).getAttribute("data-z-index");var l=!v(h);o!==s&&(0>t&&l&&!i&&!a?(n.insertBefore(s,e[a]),r=!0):(E(h)<=t||l&&(!v(t)||0<=t))&&(n.insertBefore(s,e[a+1]||null),r=!0))}r||(n.insertBefore(s,e[i?3:0]||null),r=!0)}return r},t}()).prototype["stroke-widthSetter"]=t.prototype.strokeSetter,t.prototype.yGetter=t.prototype.xGetter,t.prototype.matrixSetter=t.prototype.rotationOriginXSetter=t.prototype.rotationOriginYSetter=t.prototype.rotationSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},i.SVGElement=t,i.SVGElement}
1)),e(i,"Core/Renderer/SVG/SVGLabel.js",[i["Core/Renderer/SVG/SVGElement.js"],i["Core/Utilities.js"]],(function(t,e){var i=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),o=e.defined,n=e.extend,s=e.isNumber,r=e.merge,a=e.removeEvent;return function(e){function h(t,i,o,n,s,r,a,l,c,d){var p=e.call(this)||this;if(p.init(t,"g"),p.textStr=i,p.x=o,p.y=n,p.anchorX=r,p.anchorY=a,p.baseline=c,p.className=d,"button"!==d&&p.addClass("highcharts-label"),d&&p.addClass("highcharts-"+d),p.text=t.text("",0,0,l).attr({zIndex:1}),"string"==typeof s){var u=/^url\((.*?)\)$/.test(s);(p.renderer.symbols[s]||u)&&(p.symbolKey=s)}return p.bBox=h.emptyBBox,p.padding=3,p.paddingLeft=0,p.baselineOffset=0,p.needsBox=t.styledMode||u,p.deferredAttr={},p.alignFactor=0,p}return i(h,e),h.prototype.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==this.alignFactor&&(this.alignFactor=t,this.bBox&&s(this.xSetting)&&this.attr({x:this.xSetting}))},h.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},h.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},h.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},h.prototype.css=function(e){if(e){var i={};e=r(e),h.textProps.forEach((function(t){void 0!==e[t]&&(i[t]=e[t],delete e[t])})),this.text.css(i);var o="fontSize"in i||"fontWeight"in i;("width"in i||o)&&(this.updateBoxSize(),o&&this.updateTextPadding())}return t.prototype.css.call(this,e)},h.prototype.destroy=function(){a(this.element,"mouseenter"),a(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)},h.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},h.prototype.getBBox=function(){var t=this.bBox,e=this.padding;return{width:t.width+2*e,height:t.height+2*e,x:t.x-e,y:t.y-e}},h.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},h.prototype.heightSetter=function(t){this.heightSetting=t},h.prototype.on=function(e,i){var o=this,n=o.text,s=n&&"SPAN"===n.element.tagName?n:void 0;if(s){var r=function(t){("mouseenter"===e||"mouseleave"===e)&&t.relatedTarget instanceof Element&&(o.element.contains(t.relatedTarget)||s.element.contains(t.relatedTarget))||i.call(o.element,t)};s.on(e,r)}return t.prototype.on.call(o,e,r||i),o},h.prototype.onAdd=function(){var t=this.textStr;this.text.add(this),this.attr({text:o(t)?t:"",x:this.x,y:this.y}),this.box&&o(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},h.prototype.paddingSetter=function(t){o(t)&&t!==this.padding&&(this.padding=t,this.updateTextPadding())},h.prototype.paddingLeftSetter=function(t){o(t)&&t!==this.paddingLeft&&(this.paddingLeft=t,this.updateTextPadding())},h.prototype.rSetter=function(t,e){this.boxAttr(e,t)},h.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},h.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},h.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},h.prototype["text-alignSetter"]=function(t){this.textAlign=t},h.prototype.textSetter=function(t){void 0!==t&&this.text.attr({text:t}),this.updateBoxSize(),this.updateTextPadding()},h.prototype.updateBoxSize=function(){var t=this.text.element.style,e={},i=this.padding,r=this.paddingLeft,a=s(this.widthSetting)&&s(this.heightSetting)&&!this.textAlign||!o(this.text.textStr)?h.emptyBBox:this.text.getBBox();this.width=(this.widthSetting||a.width||0)+2*i+r,this.height=(this.heightSetting||a.height||0)+2*i,this.baselineOffset=i+Math.min(this.renderer.fontMetrics(t&&t.fontSize,this.text).b,a.height||1/0),this.needsBox&&(this.box||((t=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect()).addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),t.add(this),t=this.getCrispAdjust(),e.x=t,e.y=(this.baseline?-this.baselineOffset:0)+t),e.width=Math.round(this.width),e.height=Math.round(this.height),this.box.attr(n(e,this.deferredAttr)),this.deferredAttr={}),this.bBox=a},h.prototype.updateTextPadding=function(){var t=this.text,e=this.baseline?0:this.baselineOffset,i=this.paddingLeft+this.padding;o(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(i+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),i===t.x&&e===t.y||
1(t.attr("x",i),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0),this.updateBoxSize()),void 0!==e&&t.attr("y",e)),t.x=i,t.y=e},h.prototype.widthSetter=function(t){this.widthSetting=s(t)?t:void 0},h.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*((this.widthSetting||this.bBox.width)+2*this.padding),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},h.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},h.emptyBBox={width:0,height:0,x:0,y:0},h.textProps="color cursor direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),h}(t)})),e(i,"Core/Renderer/SVG/SVGRenderer.js",[i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Renderer/SVG/SVGLabel.js"],i["Core/Utilities.js"]],(function(t,e,i,o,n){var s=n.addEvent,r=n.attr,a=n.createElement,h=n.css,l=n.defined,c=n.destroyObjectProperties,d=n.extend,p=n.isArray,u=n.isNumber,f=n.isObject,g=n.isString,m=n.merge,y=n.objectEach,v=n.pick,x=n.pInt,b=n.splat,w=n.uniqueKey,C=e.charts,S=e.deg2rad,k=e.doc,A=e.isFirefox,M=e.isMS,P=e.isWebKit;n=e.noop;var T=e.svg,E=e.SVG_NS,L=e.symbolSizes,D=e.win,O=function(){function e(t,e,i,o,n,s,r){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(t,e,i,o,n,s,r)}return e.prototype.init=function(t,e,i,o,n,a,l){var c,d=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"});l||d.css(this.getStyle(o)),o=d.element,t.appendChild(o),r(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&r(o,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=o,this.boxWrapper=d,this.alignedObjects=[],this.url=(A||P)&&k.getElementsByTagName("base").length?D.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20"):"",this.createElement("desc").add().element.appendChild(k.createTextNode("Created with Highcharts 8.2.2")),this.defs=this.createElement("defs").add(),this.allowHTML=a,this.forExport=n,this.styledMode=l,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,i,!1),A&&t.getBoundingClientRect&&((e=function(){h(t,{left:0,top:0}),c=t.getBoundingClientRect(),h(t,{left:Math.ceil(c.left)-c.left+"px",top:Math.ceil(c.top)-c.top+"px"})})(),this.unSubPixelFix=s(D,"resize",e))},e.prototype.definition=function(t){var e=this;return function t(i,o){var n;return b(i).forEach((function(i){var s=e.createElement(i.tagName),r={};y(i,(function(t,e){"tagName"!==e&&"children"!==e&&"textContent"!==e&&(r[e]=t)})),s.attr(r),s.add(o||e.defs),i.textContent&&s.element.appendChild(k.createTextNode(i.textContent)),t(i.children||[],s),n=s})),n}(t)},e.prototype.getStyle=function(t){return this.style=d({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},e.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},e.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},e.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),c(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},e.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},e.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+e.cx*t[2],cy:t[1]-t[2]/2+e.cy*t[2],r:e.r*t[2]}},e.prototype.truncate=function(t,e,i,o,n,s,r){var a,h,l=this,c=t.rotation,d=o?1:0,p=(i||o).length,u=p,f=[],g=function(t){e.firstChild&&e.removeChild(e.firstChild),t&&e.appendChild(k.createTextNode(t))},m=function(s,a){if(void 0===f[a=a||s])if(e.getSubStringLength)try{f[a]=n+e.getSubStringLength(0,o?a+1:a)}catch(t){}else l.getSpanWidth&&(g(r(i||o,s)),f[a]=n+l.getSpanWidth(t,e));return f[a]};t.rotation=0;var y=m(e.textContent.length);if(h=n+y>s){for(;d<=p;)u=Math.ceil((d+p)/2),o&&(a=r(o,u)),y=m(u,a&&a.length-1),d===p?d=p+1:y>s?p=u-1:d=u;0===p?g(""):i&&p===i.length-1||g(a||r(i||o,u))}return o&&o.splice(0,u),t.actualWidth=y,t.rotation=c,h},e.prototype.buildText=function(t){var e,i,o=t.element,n=this,s=n.forExport,a=v(t.textStr,"").toString(),l=-1!==a.indexOf("<"),c=o.childNodes,d=r(o,"x"),p=t.styles,u=t.textWidth,f=p&&p.lineHeight,m=p&&p.textOutline,b=p&&"ellipsis"===p.textOverflow,w=p&&"nowrap"===p.whiteSpace,C=p&&p.fontSize,S=c.length;p=u&&!t.added&&this.box;var A=function(t){var e;return n.styledMode||(e=/(px|em)$/.test(t&&t.style.fontSize)?t.style.fontSize:C||n.style.fontSize||12),f?x(f):n.fontMetrics(e,t.getAttribute("style")?t:o).h},M=function(t,e){return y(n.escapes,(function(i,o){e&&-1!==e.indexOf(i)||(t=t.toString().replace(new RegExp(i,"g"),o))})),t},P=function(t,e){var i=t.indexOf("<");if(-1!==(i=(t=t.substring(i,t.indexOf(">")-i)).indexOf(e+"="))&&(i=i+e.length+1,'"'===(e=t.charAt(i))||"'"===e))return(t=t.substring(i+1)).substring(0,t.indexOf(e))},L=/<br.*?>/g,D=[a,b,w,f,m,C,u].join();if(D!==t.textCache){for(t.textCache=D;S--;)o.removeChild(c[S]);l||m||b||u||-1!==a.indexOf(" ")&&(!w||L.test(a))?(p&&p.appendChild(o),l?a=(a=n.styledMode?a.replace(/<(b|strong)>/g,'<span class="highcharts-strong">').replace(/<(i|em)>/g,'<span class="highcharts-emphasized">'):a.replace(/<(b|strong)>/g,'<span style="font-weight:bold">').replace(/<(i|em)>/g,'<span style="font-style:italic">')).replace(/<a/g,"<span").replace(/<\/(b|strong|i|em|a)>/g,"</span>").split(L):a=[a],(a=a.filter((function(t){return""!==t}
1))).forEach((function(a,l){var c=0,p=0,f=(a=a.replace(/^\s+|\s+$/g,"").replace(/<span/g,"|||<span").replace(/<\/span>/g,"</span>|||")).split("|||");f.forEach((function(a){if(""!==a||1===f.length){var g,m,y={},v=k.createElementNS(n.SVG_NS,"tspan");if((g=P(a,"class"))&&r(v,"class",g),(g=P(a,"style"))&&(g=g.replace(/(;| |^)color([ :])/,"$1fill$2"),r(v,"style",g)),(m=P(a,"href"))&&!s&&-1===m.split(":")[0].toLowerCase().indexOf("javascript")){var x=k.createElementNS(n.SVG_NS,"a");r(x,"href",m),r(v,"class","highcharts-anchor"),x.appendChild(v),n.styledMode||h(v,{cursor:"pointer"})}if(" "!==(a=M(a.replace(/<[a-zA-Z\/](.|\n)*?>/g,"")||" "))){if(v.appendChild(k.createTextNode(a)),c?y.dx=0:l&&null!==d&&(y.x=d),r(v,y),o.appendChild(x||v),!c&&i&&(!T&&s&&h(v,{display:"block"}),r(v,"dy",A(v))),u){var S=a.replace(/([^\^])-/g,"$1- ").split(" ");if(y=!w&&(1<f.length||l||1<S.length),x=0,m=A(v),b)e=n.truncate(t,v,a,void 0,0,Math.max(0,u-parseInt(C||12,10)),(function(t,e){return t.substring(0,e)+"â¦"}));else if(y)for(;S.length;)S.length&&!w&&0<x&&(v=k.createElementNS(E,"tspan"),r(v,{dy:m,x:d}),g&&r(v,"style",g),v.appendChild(k.createTextNode(S.join(" ").replace(/- /g,"-"))),o.appendChild(v)),n.truncate(t,v,null,S,0===x?p:0,u,(function(t,e){return S.slice(0,e).join(" ").replace(/- /g,"-")})),p=t.actualWidth,x++}c++}}})),i=i||o.childNodes.length})),b&&e&&t.attr("title",M(t.textStr||"",["<",">"])),p&&p.removeChild(o),g(m)&&t.applyTextOutline&&t.applyTextOutline(m)):o.appendChild(k.createTextNode(M(a)))}},e.prototype.getContrast=function(e){return(e=t.parse(e).rgba)[0]*=1,e[1]*=1.2,e[2]*=.5,459<e[0]+e[1]+e[2]?"#000000":"#FFFFFF"},e.prototype.button=function(t,e,i,o,n,r,a,h,l,c){var p=this.label(t,e,i,l,void 0,void 0,c,void 0,"button"),u=0,f=this.styledMode;if(t=(n=n?m(n):n)&&n.style||{},n&&n.style&&delete n.style,p.attr(m({padding:8,r:2},n)),!f){var g=(n=m({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontWeight:"normal"}},{style:t},n)).style;delete n.style;var y=(r=m(n,{fill:"#e6e6e6"},r)).style;delete r.style;var v=(a=m(n,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},a)).style;delete a.style;var x=(h=m(n,{style:{color:"#cccccc"}},h)).style;delete h.style}return s(p.element,M?"mouseover":"mouseenter",(function(){3!==u&&p.setState(1)})),s(p.element,M?"mouseout":"mouseleave",(function(){3!==u&&p.setState(u)})),p.setState=function(t){1!==t&&(p.state=u=t),p.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),f||p.attr([n,r,a,h][t||0]).css([g,y,v,x][t||0])},f||p.attr(n).css(d({cursor:"default"},g)),p.on("click",(function(t){3!==u&&o.call(p,t)}))},e.prototype.crispLine=function(t,e,i){void 0===i&&(i="round");var o=t[0],n=t[1];return o[1]===n[1]&&(o[1]=n[1]=Math[i](o[1])-e%2/2),o[2]===n[2]&&(o[2]=n[2]=Math[i](o[2])+e%2/2),t},e.prototype.path=function(t){var e=this.styledMode?{}:{fill:"none"};return p(t)?e.d=t:f(t)&&d(e,t),this.createElement("path").attr(e)},e.prototype.circle=function(t,e,i){return t=f(t)?t:void 0===t?{}:{x:t,y:e,r:i},(e=this.createElement("circle")).xSetter=e.ySetter=function(t,e,i){i.setAttribute("c"+e,t)},e.attr(t)},e.prototype.arc=function(t,e,i,o,n,s){return f(t)?(e=(o=t).y,i=o.r,t=o.x):o={innerR:o,start:n,end:s},(t=this.symbol("arc",t,e,i,i,o)).r=i,t},e.prototype.rect=function(t,e,i,o,n,s){n=f(t)?t.r:n;var a=this.createElement("rect");return t=f(t)?t:void 0===t?{}:{x:t,y:e,width:Math.max(i,0),height:Math.max(o,0)},this.styledMode||(void 0!==s&&(t.strokeWidth=s,t=a.crisp(t)),t.fill="none"),n&&(t.r=n),a.rSetter=function(t,e,i){a.r=t,r(i,{rx:t,ry:t})},a.rGetter=function(){return a.r},a.attr(t)},e.prototype.setSize=function(t,e,i){var o=this.alignedObjects,n=o.length;for(this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:v(i,!0)?void 0:0});n--;)o[n].align()},e.prototype.g=function(t){var e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e}
1,e.prototype.image=function(t,e,i,o,n,r){var a={preserveAspectRatio:"none"},h=function(t,e){t.setAttributeNS?t.setAttributeNS("http://www.w3.org/1999/xlink","href",e):t.setAttribute("hc-svg-href",e)},l=function(e){h(c.element,t),r.call(c,e)};1<arguments.length&&d(a,{x:e,y:i,width:o,height:n});var c=this.createElement("image").attr(a);return r?(h(c.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),a=new D.Image,s(a,"load",l),a.src=t,a.complete&&l({})):h(c.element,t),c},e.prototype.symbol=function(t,e,i,o,n,s){var r,c=this,p=/^url\((.*?)\)$/,u=p.test(t),f=!u&&(this.symbols[t]?t:"circle"),g=f&&this.symbols[f];if(g){"number"==typeof e&&(r=g.call(this.symbols,Math.round(e||0),Math.round(i||0),o||0,n||0,s));var m=this.path(r);c.styledMode||m.attr("fill","none"),d(m,{symbolName:f,x:e,y:i,width:o,height:n}),s&&d(m,s)}else if(u){var y=t.match(p)[1];(m=this.image(y)).imgwidth=v(L[y]&&L[y].width,s&&s.width),m.imgheight=v(L[y]&&L[y].height,s&&s.height);var x=function(){m.attr({width:m.width,height:m.height})};["width","height"].forEach((function(t){m[t+"Setter"]=function(t,e){var i={},o=this["img"+e],n="width"===e?"translateX":"translateY";this[e]=t,l(o)&&(s&&"within"===s.backgroundSize&&this.width&&this.height&&(o=Math.round(o*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(e,o),this.alignByTranslate||(i[n]=((this[e]||0)-o)/2,this.attr(i)))}})),l(e)&&m.attr({x:e,y:i}),m.isImg=!0,l(m.imgwidth)&&l(m.imgheight)?x():(m.attr({width:0,height:0}),a("img",{onload:function(){var t=C[c.chartIndex];0===this.width&&(h(this,{position:"absolute",top:"-999em"}),k.body.appendChild(this)),L[y]={width:this.width,height:this.height},m.imgwidth=this.width,m.imgheight=this.height,m.element&&x(),this.parentNode&&this.parentNode.removeChild(this),c.imgCount--,c.imgCount||!t||t.hasLoaded||t.onload()},src:y}),this.imgCount++)}return m},e.prototype.clipRect=function(t,e,i,o){var n=w()+"-",s=this.createElement("clipPath").attr({id:n}).add(this.defs);return(t=this.rect(t,e,i,o,0).add(s)).id=n,t.clipPath=s,t.count=0,t},e.prototype.text=function(t,e,i,o){var n={};return!o||!this.allowHTML&&this.forExport?(n.x=Math.round(e||0),i&&(n.y=Math.round(i)),l(t)&&(n.text=t),t=this.createElement("text").attr(n),o||(t.xSetter=function(t,e,i){var o,n=i.getElementsByTagName("tspan"),s=i.getAttribute(e);for(o=0;o<n.length;o++){var r=n[o];r.getAttribute(e)===s&&r.setAttribute(e,t)}i.setAttribute(e,t)}),t):this.html(t,e,i)},e.prototype.fontMetrics=function(t,e){return t=!this.styledMode&&/px/.test(t)||!D.getComputedStyle?t||e&&e.style&&e.style.fontSize||this.style&&this.style.fontSize:e&&i.prototype.getStyle.call(e,"font-size"),{h:e=24>(t=/px/.test(t)?x(t):12)?t+3:Math.round(1.2*t),b:Math.round(.8*e),f:t}},e.prototype.rotCorr=function(t,e,i){var o=t;return e&&i&&(o=Math.max(o*Math.cos(e*S),4)),{x:-t/3*Math.sin(e*S),y:o}},e.prototype.pathToSegments=function(t){for(var e=[],i=[],o={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},n=0;n<t.length;n++)g(i[0])&&u(t[n])&&i.length===o[i[0].toUpperCase()]&&t.splice(n,0,i[0].replace("M","L").replace("m","l")),"string"==typeof t[n]&&(i.length&&e.push(i.slice(0)),i.length=0),i.push(t[n]);return e.push(i.slice(0)),e},e.prototype.label=function(t,e,i,n,s,r,a,h,l){return new o(this,t,e,i,n,s,r,a,h,l)},e}();return O.prototype.Element=i,O.prototype.SVG_NS=E,O.prototype.draw=n,O.prototype.escapes={"&":"&","<":"<",">":">","'":"'",'"':"""},O.prototype.symbols={circle:function(t,e,i,o){return this.arc(t+i/2,e+o/2,i/2,o/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},square:function(t,e,i,o){return[["M",t,e],["L",t+i,e],["L",t+i,e+o],["L",t,e+o],["Z"]]},triangle:function(t,e,i,o){return[["M",t+i/2,e],["L",t+i,e+o],["L",t,e+o],["Z"]]},"triangle-down":function(t,e,i,o){return[["M",t,e],["L",t+i,e],["L",t+i/2,e+o],["Z"]]},diamond:function(t,e,i,o){return[["M",t+i/2,e],["L",t+i,e+o/2],["L",t+i/2,e+o],["L",t,e+o/2],["Z"]]},arc:function(t,e,i,o,n){var s=[];if(n){var r=n.start||0,a=n.end||0,h=n.r||i;i=n.r||o||i;var c=.001>Math.abs(a-r-2*Math.PI);a-=.001,o=n.innerR,c=v(n.open,c);var d=Math.cos(r),p=Math.sin(r),u=Math.cos(a),f=Math.sin(a);r=v(n.longArc,.001>a-r-Math.PI?0:1),s.push(["M",t+h*d,e+i*p],["A",h,i,0,r,v(n.clockwise,1),t+h*u,e+i*f]),l(o)&&s.push(c?["M",t+o*u,e+o*f]:["L",t+o*u,e+o*f],["A",o,o,0,r,l(n.clockwise)?1-n.clockwise:0,t+o*d,e+o*p]),c||s.push(["Z"])}return s}
1,callout:function(t,e,i,o,n){var s=Math.min(n&&n.r||0,i,o),r=s+6,a=n&&n.anchorX||0;n=n&&n.anchorY||0;var h=[["M",t+s,e],["L",t+i-s,e],["C",t+i,e,t+i,e,t+i,e+s],["L",t+i,e+o-s],["C",t+i,e+o,t+i,e+o,t+i-s,e+o],["L",t+s,e+o],["C",t,e+o,t,e+o,t,e+o-s],["L",t,e+s],["C",t,e,t,e,t+s,e]];return a&&a>i?n>e+r&&n<e+o-r?h.splice(3,1,["L",t+i,n-6],["L",t+i+6,n],["L",t+i,n+6],["L",t+i,e+o-s]):h.splice(3,1,["L",t+i,o/2],["L",a,n],["L",t+i,o/2],["L",t+i,e+o-s]):a&&0>a?n>e+r&&n<e+o-r?h.splice(7,1,["L",t,n+6],["L",t-6,n],["L",t,n-6],["L",t,e+s]):h.splice(7,1,["L",t,o/2],["L",a,n],["L",t,o/2],["L",t,e+s]):n&&n>o&&a>t+r&&a<t+i-r?h.splice(5,1,["L",a+6,e+o],["L",a,e+o+6],["L",a-6,e+o],["L",t+s,e+o]):n&&0>n&&a>t+r&&a<t+i-r&&h.splice(1,1,["L",a-6,e],["L",a,e-6],["L",a+6,e],["L",i-s,e]),h}},e.SVGRenderer=O,e.Renderer=e.SVGRenderer,e.Renderer})),e(i,"Core/Renderer/HTML/HTMLElement.js",[i["Core/Globals.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Utilities.js"]],(function(t,e,i){var o=i.css,n=i.defined,s=i.extend,r=i.pick,a=i.pInt,h=t.isFirefox;return s(e.prototype,{htmlCss:function(t){var e="SPAN"===this.element.tagName&&t&&"width"in t,i=r(e&&t.width,void 0);if(e){delete t.width,this.textWidth=i;var n=!0}return t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=s(this.styles,t),o(this.element,t),n&&this.htmlUpdateTransform(),this},htmlGetBBox:function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},htmlUpdateTransform:function(){if(this.added){var t=this.renderer,e=this.element,i=this.translateX||0,s=this.translateY||0,r=this.x||0,h=this.y||0,l=this.textAlign||"left",c={left:0,center:.5,right:1}[l],d=this.styles,p=d&&d.whiteSpace;if(o(e,{marginLeft:i,marginTop:s}),!t.styledMode&&this.shadows&&this.shadows.forEach((function(t){o(t,{marginLeft:i+1,marginTop:s+1})})),this.inverted&&[].forEach.call(e.childNodes,(function(i){t.invertChild(i,e)})),"SPAN"===e.tagName){d=this.rotation;var u,f=this.textWidth&&a(this.textWidth),g=[d,l,e.innerHTML,this.textWidth,this.textAlign].join();(u=f!==this.oldTextWidth)&&!(u=f>this.oldTextWidth)&&((u=this.textPxLength)||(o(e,{width:"",whiteSpace:p||"nowrap"}),u=e.offsetWidth),u=u>f),u&&(/[ \-]/.test(e.textContent||e.innerText)||"ellipsis"===e.style.textOverflow)?(o(e,{width:f+"px",display:"block",whiteSpace:p||"normal"}),this.oldTextWidth=f,this.hasBoxWidthChanged=!0):this.hasBoxWidthChanged=!1,g!==this.cTT&&(p=t.fontMetrics(e.style.fontSize,e).b,!n(d)||d===(this.oldRotation||0)&&l===this.oldAlign||this.setSpanRotation(d,c,p),this.getSpanCorrection(!n(d)&&this.textPxLength||e.offsetWidth,p,c,d,l)),o(e,{left:r+(this.xCorr||0)+"px",top:h+(this.yCorr||0)+"px"}),this.cTT=g,this.oldRotation=d,this.oldAlign=l}}else this.alignOnAdd=!0},setSpanRotation:function(t,e,i){var n={},s=this.renderer.getTransformKey();n[s]=n.transform="rotate("+t+"deg)",n[s+(h?"Origin":"-origin")]=n.transformOrigin=100*e+"% "+i+"px",o(this.element,n)},getSpanCorrection:function(t,e,i){this.xCorr=-t*i,this.yCorr=-e}}),e})),e(i,"Core/Renderer/HTML/HTMLRenderer.js",[i["Core/Globals.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Renderer/SVG/SVGRenderer.js"],i["Core/Utilities.js"]],(function(t,e,i,o){var n=t.isFirefox,s=t.isMS,r=t.isWebKit,a=t.win,h=o.attr,l=o.createElement,c=o.extend,d=o.pick;return c(i.prototype,{getTransformKey:function(){return s&&!/Edge/.test(a.navigator.userAgent)?"-ms-transform":r?"-webkit-transform":n?"MozTransform":a.opera?"-o-transform":""},html:function(t,i,o){var n=this.createElement("span"),s=n.element,r=n.renderer,a=r.isSVG,p=function(t,i){["opacity","visibility"].forEach((function(o){t[o+"Setter"]=function(n,s,r){var a=t.div?t.div.style:i;e.prototype[o+"Setter"].call(this,n,s,r),a&&(a[s]=n)}})),t.addedSetters=!0};return n.textSetter=function(t){t!==s.innerHTML&&(delete this.bBox,delete this.oldTextWidth),this.textStr=t,s.innerHTML=d(t,""),n.doTransform=!0},a&&p(n,n.element.style),n.xSetter=n.ySetter=n.alignSetter=n.rotationSetter=function(t,e){"align"===e?n.alignValue=n.textAlign=t:n[e]=t,n.doTransform=!0},n.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},n.attr({text:t,x:Math.round(i),y:Math.round(o)}).css({position:"absolute"}),r.styledMode||n.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),s.style.whiteSpace="nowrap",n.css=n.htmlCss,a&&(n.add=function(t){var e=r.box.parentNode,i=[];if(this.parentGroup=t){var o=t.div;if(!o){for(;t;)i.push(t),t=t.parentGroup;
1i.reverse().forEach((function(t){function s(e,i){t[i]=e,"translateX"===i?a.left=e+"px":a.top=e+"px",t.doTransform=!0}var r=h(t.element,"class"),a=(o=t.div=t.div||l("div",r?{className:r}:void 0,{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px",display:t.display,opacity:t.opacity,pointerEvents:t.styles&&t.styles.pointerEvents},o||e)).style;c(t,{classSetter:function(t){return function(e){this.element.setAttribute("class",e),t.className=e}}(o),on:function(){return i[0].div&&n.on.apply({element:i[0].div},arguments),t},translateXSetter:s,translateYSetter:s}),t.addedSetters||p(t)}))}}else o=e;return o.appendChild(s),n.added=!0,n.alignOnAdd&&n.htmlUpdateTransform(),n}),n}}),i})),e(i,"Core/Axis/Tick.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.clamp,o=e.correctFloat,n=e.defined,s=e.destroyObjectProperties,r=e.extend,a=e.fireEvent,h=e.isNumber,l=e.merge,c=e.objectEach,d=e.pick,p=t.deg2rad;return e=function(){function t(t,e,i,o,n){this.isNewLabel=this.isNew=!0,this.axis=t,this.pos=e,this.type=i||"",this.parameters=n||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,a(this,"init"),i||o||this.addLabel()}return t.prototype.addLabel=function(){var t=this,e=t.axis,i=e.options,s=e.chart,a=e.categories,h=e.logarithmic,l=e.names,c=t.pos,p=d(t.options&&t.options.labels,i.labels),u=e.tickPositions,f=c===u[0],g=c===u[u.length-1];l=this.parameters.category||(a?d(a[c],l[c],c):c);var m,y,v=t.label;if(a=(!p.step||1===p.step)&&1===e.tickInterval,u=u.info,e.dateTime&&u)var x=s.time.resolveDTLFormat(i.dateTimeLabelFormats[!i.grid&&u.higherRanks[c]||u.unitName]),b=x.main;t.isFirst=f,t.isLast=g,t.formatCtx={axis:e,chart:s,isFirst:f,isLast:g,dateTimeLabelFormat:b,tickPositionInfo:u,value:h?o(h.lin2log(l)):l,pos:c},i=e.labelFormatter.call(t.formatCtx,this.formatCtx),(y=x&&x.list)&&(t.shortenLabel=function(){for(m=0;m<y.length;m++)if(v.attr({text:e.labelFormatter.call(r(t.formatCtx,{dateTimeLabelFormat:y[m]}))}),v.getBBox().width<e.getSlotWidth(t)-2*d(p.padding,5))return;v.attr({text:""})}),a&&e._addedPlotLB&&t.moveLabel(i,p),n(v)||t.movedLabel?v&&v.textStr!==i&&!a&&(!v.textWidth||p.style&&p.style.width||v.styles.width||v.css({width:null}),v.attr({text:i}),v.textPxLength=v.getBBox().width):(t.label=v=t.createLabel({x:0,y:0},i,p),t.rotation=0)},t.prototype.createLabel=function(t,e,i){var o=this.axis,s=o.chart;return(t=n(e)&&i.enabled?s.renderer.text(e,t.x,t.y,i.useHTML).add(o.labelGroup):null)&&(s.styledMode||t.css(l(i.style)),t.textPxLength=t.getBBox().width),t},t.prototype.destroy=function(){s(this,this.axis)},t.prototype.getPosition=function(t,e,n,s){var r=this.axis,h=r.chart,l=s&&h.oldChartHeight||h.chartHeight;return(t={x:t?o(r.translate(e+n,null,null,s)+r.transB):r.left+r.offset+(r.opposite?(s&&h.oldChartWidth||h.chartWidth)-r.right-r.left:0),y:t?l-r.bottom+r.offset-(r.opposite?r.height:0):o(l-r.translate(e+n,null,null,s)-r.transB)}).y=i(t.y,-1e5,1e5),a(this,"afterGetPosition",{pos:t}),t},t.prototype.getLabelPosition=function(t,e,i,o,s,r,h,l){var c=this.axis,d=c.transA,u=c.isLinked&&c.linkedParent?c.linkedParent.reversed:c.reversed,f=c.staggerLines,g=c.tickRotCorr||{x:0,y:0},m=s.y,y=o||c.reserveSpaceDefault?0:-c.labelOffset*("center"===c.labelAlign?.5:1),v={};return n(m)||(m=0===c.side?i.rotation?-8:-i.getBBox().height:2===c.side?g.y+8:Math.cos(i.rotation*p)*(g.y-i.getBBox(!1,0).height/2)),t=t+s.x+y+g.x-(r&&o?r*d*(u?-1:1):0),e=e+m-(r&&!o?r*d*(u?1:-1):0),f&&(i=h/(l||1)%f,c.opposite&&(i=f-i-1),e+=c.labelOffset/f*i),v.x=t,v.y=Math.round(e),a(this,"afterGetLabelPosition",{pos:v,tickmarkOffset:r,index:h}),v},t.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},t.prototype.getMarkPath=function(t,e,i,o,n,s){return s.crispLine([["M",t,e],["L",t+(n?0:-i),e+(n?i:0)]],o)},t.prototype.handleOverflow=function(t){var e=this.axis,i=e.options.labels,o=t.x,n=e.chart.chartWidth,s=e.chart.spacing,r=d(e.labelLeft,Math.min(e.pos,s[3]));s=d(e.labelRight,Math.max(e.isRadial?0:e.pos+e.len,n-s[1]));var a,h=this.label,l=this.rotation,c={left:0,center:.5,right:1}[e.labelAlign||h.attr("align")],u=h.getBBox().width,f=e.getSlotWidth(this),g=f,m=1,y={};l||"justify"!==d(i.overflow,"justify")?0>l&&o-c*u<r?a=Math.round(o/Math.cos(l*p)-r):0<l&&o+c*u>s&&(a=Math.round((n-o)/Math.cos(l*p))):(n=o+(1-c)*u,o-c*u<r?g=t.x+g*(1-c)-r:n>s&&(g=s-t.x+g*c,m=-1),(g=Math.min(f,g))<f&&"center"===e.labelAlign&&(t.x+=m*(f-g-c*(f-Math.min(u,g)))),(u>g||e.autoRotation&&(h.styles||{}).width)&&(a=g)),a&&(this.shortenLabel?this.shortenLabel():(y.width=Math.floor(a)+"px",(i.style||{}).textOverflow||(y.textOverflow="ellipsis"),h.css(y)))},t.prototype.moveLabel=function(t,e){var i=this,o=i.label,n=!1,s=i.axis,r=s.reversed;if(o&&o.textStr===t?(i.movedLabel=o,n=!0,delete i.label):c(s.ticks,(function(e){n||e.isNew||e===i||!e.label||e.label.textStr!==t||(i.movedLabel=e.label,n=!0,e.labelPos=i.movedLabel.xy,delete e.label)})),!n&&(i.labelPos||o)){var a=i.labelPos||o.xy;o=s.horiz?r?0:s.width+s.left:a.x,s=s.horiz?a.y:r?s.width+s.left:0,i.movedLabel=i.createLabel({x:o,y:s},t,e),i.movedLabel&&i.movedLabel.attr({opacity:0}
1)}},t.prototype.render=function(t,e,i){var o=this.axis,n=o.horiz,s=this.pos,r=d(this.tickmarkOffset,o.tickmarkOffset);r=(s=this.getPosition(n,s,r,e)).x;var h=s.y;o=n&&r===o.pos+o.len||!n&&h===o.pos?-1:1,i=d(i,1),this.isActive=!0,this.renderGridLine(e,i,o),this.renderMark(s,i,o),this.renderLabel(s,e,i,t),this.isNew=!1,a(this,"afterRender")},t.prototype.renderGridLine=function(t,e,i){var o=this.axis,n=o.options,s=this.gridLine,r={},a=this.pos,h=this.type,l=d(this.tickmarkOffset,o.tickmarkOffset),c=o.chart.renderer,p=h?h+"Grid":"grid",u=n[p+"LineWidth"],f=n[p+"LineColor"];n=n[p+"LineDashStyle"],s||(o.chart.styledMode||(r.stroke=f,r["stroke-width"]=u,n&&(r.dashstyle=n)),h||(r.zIndex=1),t&&(e=0),this.gridLine=s=c.path().attr(r).addClass("highcharts-"+(h?h+"-":"")+"grid-line").add(o.gridGroup)),s&&(i=o.getPlotLinePath({value:a+l,lineWidth:s.strokeWidth()*i,force:"pass",old:t}))&&s[t||this.isNew?"attr":"animate"]({d:i,opacity:e})},t.prototype.renderMark=function(t,e,i){var o=this.axis,n=o.options,s=o.chart.renderer,r=this.type,a=r?r+"Tick":"tick",h=o.tickSize(a),l=this.mark,c=!l,p=t.x;t=t.y;var u=d(n[a+"Width"],!r&&o.isXAxis?1:0);n=n[a+"Color"],h&&(o.opposite&&(h[0]=-h[0]),c&&(this.mark=l=s.path().addClass("highcharts-"+(r?r+"-":"")+"tick").add(o.axisGroup),o.chart.styledMode||l.attr({stroke:n,"stroke-width":u})),l[c?"attr":"animate"]({d:this.getMarkPath(p,t,h[0],l.strokeWidth()*i,o.horiz,s),opacity:e}))},t.prototype.renderLabel=function(t,e,i,o){var n=this.axis,s=n.horiz,r=n.options,a=this.label,l=r.labels,c=l.step;n=d(this.tickmarkOffset,n.tickmarkOffset);var p=!0,u=t.x;t=t.y,a&&h(u)&&(a.xy=t=this.getLabelPosition(u,t,a,s,l,n,o,c),this.isFirst&&!this.isLast&&!d(r.showFirstLabel,1)||this.isLast&&!this.isFirst&&!d(r.showLastLabel,1)?p=!1:!s||l.step||l.rotation||e||0===i||this.handleOverflow(t),c&&o%c&&(p=!1),p&&h(t.y)?(t.opacity=i,a[this.isNewLabel?"attr":"animate"](t),this.isNewLabel=!1):(a.attr("y",-9999),this.isNewLabel=!0))},t.prototype.replaceMovedLabel=function(){var t=this.label,e=this.axis,i=e.reversed;if(t&&!this.isNew){var o=e.horiz?i?e.left:e.width+e.left:t.xy.x;i=e.horiz?t.xy.y:i?e.width+e.top:e.top,t.animate({x:o,y:i,opacity:0},void 0,t.destroy),delete this.label}e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},t}(),t.Tick=e,t.Tick})),e(i,"Core/Time.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.defined,o=e.error,n=e.extend,s=e.isObject,r=e.merge,a=e.objectEach,h=e.pad,l=e.pick,c=e.splat,d=e.timeUnits,p=t.win;return e=function(){function e(t){this.options={},this.variableTimezone=this.useUTC=!1,this.Date=p.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(t)}return e.prototype.get=function(t,e){if(this.variableTimezone||this.timezoneOffset){var i=e.getTime(),o=i-this.getTimezoneOffset(e);return e.setTime(o),t=e["getUTC"+t](),e.setTime(i),t}return this.useUTC?e["getUTC"+t]():e["get"+t]()},e.prototype.set=function(t,e,i){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===t||"Seconds"===t||"Minutes"===t)return e["setUTC"+t](i);var o=this.getTimezoneOffset(e);return o=e.getTime()-o,e.setTime(o),e["setUTC"+t](i),t=this.getTimezoneOffset(e),o=e.getTime()+t,e.setTime(o)}return this.useUTC?e["setUTC"+t](i):e["set"+t](i)},e.prototype.update=function(t){var e=l(t&&t.useUTC,!0);this.options=t=r(!0,this.options||{},t),this.Date=t.Date||p.Date||Date,this.timezoneOffset=(this.useUTC=e)&&t.timezoneOffset,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=!(e&&!t.getTimezoneOffset&&!t.timezone)},e.prototype.makeTime=function(e,i,o,n,s,r){if(this.useUTC){var a=this.Date.UTC.apply(0,arguments),h=this.getTimezoneOffset(a);a+=h;var c=this.getTimezoneOffset(a);h!==c?a+=c-h:h-36e5!==this.getTimezoneOffset(a-36e5)||t.isSafari||(a-=36e5)}else a=new this.Date(e,i,l(o,1),l(n,0),l(s,0),l(r,0)).getTime();return a},e.prototype.timezoneOffsetFunction=function(){var t=this,e=this.options,i=e.moment||p.moment;if(!this.useUTC)return function(t){return 6e4*new Date(t.toString()).getTimezoneOffset()};if(e.timezone){if(i)return function(t){return 6e4*-i.tz(t,e.timezone).utcOffset()};o(25)}return this.useUTC&&e.getTimezoneOffset?function(t){return 6e4*e.getTimezoneOffset(t.valueOf())}:function(){return 6e4*(t.timezoneOffset||0)}},e.prototype.dateFormat=function(e,o,s){var r;if(!i(o)||isNaN(o))return(null===(r=t.defaultOptions.lang)||void 0===r?void 0:r.invali
1dDate)||"";e=l(e,"%Y-%m-%d %H:%M:%S");var c=this;r=new this.Date(o);var d=this.get("Hours",r),p=this.get("Day",r),u=this.get("Date",r),f=this.get("Month",r),g=this.get("FullYear",r),m=t.defaultOptions.lang,y=null==m?void 0:m.weekdays,v=null==m?void 0:m.shortWeekdays;return r=n({a:v?v[p]:y[p].substr(0,3),A:y[p],d:h(u),e:h(u,2," "),w:p,b:m.shortMonths[f],B:m.months[f],m:h(f+1),o:f+1,y:g.toString().substr(2,2),Y:g,H:h(d),k:d,I:h(d%12||12),l:d%12||12,M:h(this.get("Minutes",r)),p:12>d?"AM":"PM",P:12>d?"am":"pm",S:h(r.getSeconds()),L:h(Math.floor(o%1e3),3)},t.dateFormats),a(r,(function(t,i){for(;-1!==e.indexOf("%"+i);)e=e.replace("%"+i,"function"==typeof t?t.call(c,o):t)})),s?e.substr(0,1).toUpperCase()+e.substr(1):e},e.prototype.resolveDTLFormat=function(t){return s(t,!0)?t:{main:(t=c(t))[0],from:t[1],to:t[2]}},e.prototype.getTimeTicks=function(t,e,o,s){var r,a=this,h=[],c={},p=new a.Date(e),u=t.unitRange,f=t.count||1;if(s=l(s,1),i(e)){if(a.set("Milliseconds",p,u>=d.second?0:f*Math.floor(a.get("Milliseconds",p)/f)),u>=d.second&&a.set("Seconds",p,u>=d.minute?0:f*Math.floor(a.get("Seconds",p)/f)),u>=d.minute&&a.set("Minutes",p,u>=d.hour?0:f*Math.floor(a.get("Minutes",p)/f)),u>=d.hour&&a.set("Hours",p,u>=d.day?0:f*Math.floor(a.get("Hours",p)/f)),u>=d.day&&a.set("Date",p,u>=d.month?1:Math.max(1,f*Math.floor(a.get("Date",p)/f))),u>=d.month){a.set("Month",p,u>=d.year?0:f*Math.floor(a.get("Month",p)/f));var g=a.get("FullYear",p)}u>=d.year&&a.set("FullYear",p,g-g%f),u===d.week&&(g=a.get("Day",p),a.set("Date",p,a.get("Date",p)-g+s+(g<s?-7:0))),g=a.get("FullYear",p),s=a.get("Month",p);var m=a.get("Date",p),y=a.get("Hours",p);for(e=p.getTime(),a.variableTimezone&&(r=o-e>4*d.month||a.getTimezoneOffset(e)!==a.getTimezoneOffset(o)),e=p.getTime(),p=1;e<o;)h.push(e),e=u===d.year?a.makeTime(g+p*f,0):u===d.month?a.makeTime(g,s+p*f):!r||u!==d.day&&u!==d.week?r&&u===d.hour&&1<f?a.makeTime(g,s,m,y+p*f):e+u*f:a.makeTime(g,s,m+p*f*(u===d.day?1:7)),p++;h.push(e),u<=d.hour&&1e4>h.length&&h.forEach((function(t){0==t%18e5&&"000000000"===a.dateFormat("%H%M%S%L",t)&&(c[t]="day")}))}return h.info=n(t,{higherRanks:c,totalRange:u*f}),h},e}(),t.Time=e,t.Time})),e(i,"Core/Options.js",[i["Core/Globals.js"],i["Core/Color/Color.js"],i["Core/Time.js"],i["Core/Utilities.js"]],(function(t,e,i,o){var n=t.isTouchDevice,s=t.svg;return e=e.parse,o=o.merge,t.defaultOptions={colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" "),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:{styledMode:!1,borderRadius:0,colorCount:10,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},width:null,height:null,borderColor:"#335cad",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"},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,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:s,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:"",padding:8,snap:n?25:10,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">â</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:e("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"}},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"}},t.time=new i(o(t.defaultOptions.global,t.defaultOptions.time)),t.dateFormat=function(e,i,o){return t.time.dateFormat(e,i,o)},{dateFormat:t.dateFormat,defaultOptions:t.defaultOptions,time:t.time}})),e(i,"Core/Axis/Axis.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Axis/Tick.js"],i["Core/Utilities.js"],i["Core/Options.js"]],(function(t,e,
1i,o,n,s){var r=t.animObject,a=n.addEvent,h=n.arrayMax,l=n.arrayMin,c=n.clamp,d=n.correctFloat,p=n.defined,u=n.destroyObjectProperties,f=n.error,g=n.extend,m=n.fireEvent,y=n.format,v=n.getMagnitude,x=n.isArray,b=n.isFunction,w=n.isNumber,C=n.isString,S=n.merge,k=n.normalizeTickInterval,A=n.objectEach,M=n.pick,P=n.relativeLength,T=n.removeEvent,E=n.splat,L=n.syncTimeout,D=s.defaultOptions,O=i.deg2rad;return t=function(){function t(t,e){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.oldMin=this.oldMax=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.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0,this.init(t,e)}return t.prototype.init=function(t,e){var i=e.isX,o=this;o.chart=t,o.horiz=t.inverted&&!o.isZAxis?!i:i,o.isXAxis=i,o.coll=o.coll||(i?"xAxis":"yAxis"),m(this,"init",{userOptions:e}),o.opposite=e.opposite,o.side=e.side||(o.horiz?o.opposite?0:2:o.opposite?1:3),o.setOptions(e);var n=this.options,s=n.type;o.labelFormatter=n.labels.formatter||o.defaultLabelFormatter,o.userOptions=e,o.minPixelPadding=0,o.reversed=n.reversed,o.visible=!1!==n.visible,o.zoomEnabled=!1!==n.zoomEnabled,o.hasNames="category"===s||!0===n.categories,o.categories=n.categories||o.hasNames,o.names||(o.names=[],o.names.keys={}),o.plotLinesAndBandsGroups={},o.positiveValuesOnly=!!o.logarithmic,o.isLinked=p(n.linkedTo),o.ticks={},o.labelEdge=[],o.minorTicks={},o.plotLinesAndBands=[],o.alternateBands={},o.len=0,o.minRange=o.userMinRange=n.minRange||n.maxZoom,o.range=n.range,o.offset=n.offset||0,o.max=null,o.min=null,o.crosshair=M(n.crosshair,E(t.options.tooltip.crosshairs)[i?0:1],!1),e=o.options.events,-1===t.axes.indexOf(o)&&(i?t.axes.splice(t.xAxis.length,0,o):t.axes.push(o),t[o.coll].push(o)),o.series=o.series||[],t.inverted&&!o.isZAxis&&i&&void 0===o.reversed&&(o.reversed=!0),o.labelRotation=o.options.labels.rotation,A(e,(function(t,e){b(t)&&a(o,e,t)})),m(this,"afterInit")},t.prototype.setOptions=function(e){this.options=S(t.defaultOptions,"yAxis"===this.coll&&t.defaultYAxisOptions,[t.defaultTopAxisOptions,t.defaultRightAxisOptions,t.defaultBottomAxisOptions,t.defaultLeftAxisOptions][this.side],S(D[this.coll],e)),m(this,"afterSetOptions",{userOptions:e})},t.prototype.defaultLabelFormatter=function(){var t=this.axis,e=w(this.value)?this.value:NaN,i=t.chart.time,o=t.categories,n=this.dateTimeLabelFormat,s=D.lang,r=s.numericSymbols;s=s.numericSymbolMagnitude||1e3;var a=r&&r.length,h=t.options.labels.format;t=t.logarithmic?Math.abs(e):t.tickInterval;var l=this.chart,c=l.numberFormatter;if(h)var d=y(h,this,l);else if(o)d=""+this.value;else if(n)d=i.dateFormat(n,e);else if(a&&1e3<=t)for(;a--&&void 0===d;)t>=(i=Math.pow(s,a+1))&&0==10*e%i&&null!==r[a]&&0!==e&&(d=c(e/i,-1)+r[a]);return void 0===d&&(d=1e4<=Math.abs(e)?c(e,-1):c(e,-1,void 0,"")),d},t.prototype.getSeriesExtremes=function(){var t,e=this,i=e.chart;m(this,"getSeriesExtremes",null,(function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=null,e.softThreshold=!e.isXAxis,e.stacking&&e.stacking.buildStacks(),e.series.forEach((function(o){if(o.visible||!i.options.chart.ignoreHiddenSeries){var n=o.options,s=n.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=s&&(s=null),e.isXAxis){if((n=o.xData).length){n=e.logarithmic?n.filter(e.validatePositiveValue):n;var r=(t=o.getXExtremes(n)).min,a=t.max;w(r)||r instanceof Date||(n=n.filter(w),r=(t=o.getXExtremes(n)).min,a=t.max),n.length&&(e.dataMin=Math.min(M(e.dataMin,r),r),e.dataMax=Math.max(M(e.dataMax,a),a))}}else o=o.applyExtremes(),w(o.dataMin)&&(r=o.dataMin,e.dataMin=Math.min(M(e.dataMin,r),r)),w(o.dataMax)&&(a=o.dataMax,e.dataMax=Math.max(M(e.dataMax,a),a)),p(s)&&(e.threshold=s),(!n.softThreshold||e.positiveValuesOnly)&&
1(e.softThreshold=!1)}}))})),m(this,"afterGetSeriesExtremes")},t.prototype.translate=function(t,e,i,o,n,s){var r=this.linkedParent||this,a=1,h=0,l=o?r.oldTransA:r.transA;o=o?r.oldMin:r.min;var c=r.minPixelPadding;return n=(r.isOrdinal||r.brokenAxis&&r.brokenAxis.hasBreaks||r.logarithmic&&n)&&r.lin2val,l||(l=r.transA),i&&(a*=-1,h=r.len),r.reversed&&(h-=(a*=-1)*(r.sector||r.len)),e?(t=(t*a+h-c)/l+o,n&&(t=r.lin2val(t))):(n&&(t=r.val2lin(t)),t=w(o)?a*(t-o)*l+h+a*c+(w(s)?l*s:0):void 0),t},t.prototype.toPixels=function(t,e){return this.translate(t,!1,!this.horiz,null,!0)+(e?0:this.pos)},t.prototype.toValue=function(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,null,!0)},t.prototype.getPlotLinePath=function(t){function e(t,e,i){return("pass"!==y&&t<e||t>i)&&(y?t=c(t,e,i):r=!0),t}var i,o,n,s,r,a=this,h=a.chart,l=a.left,d=a.top,p=t.old,u=t.value,f=t.translatedValue,g=t.lineWidth,y=t.force,v=p&&h.oldChartHeight||h.chartHeight,x=p&&h.oldChartWidth||h.chartWidth,b=a.transB;return t={value:u,lineWidth:g,old:p,force:y,acrossPanes:t.acrossPanes,translatedValue:f},m(this,"getPlotLinePath",t,(function(t){f=M(f,a.translate(u,null,null,p)),f=c(f,-1e5,1e5),i=n=Math.round(f+b),o=s=Math.round(v-f-b),w(f)?a.horiz?(o=d,s=v-a.bottom,i=n=e(i,l,l+a.width)):(i=l,n=x-a.right,o=s=e(o,d,d+a.height)):(r=!0,y=!1),t.path=r&&!y?null:h.renderer.crispLine([["M",i,o],["L",n,s]],g||1)})),t.path},t.prototype.getLinearTickPositions=function(t,e,i){var o=d(Math.floor(e/t)*t);i=d(Math.ceil(i/t)*t);var n,s=[];if(d(o+t)===o&&(n=20),this.single)return[e];for(e=o;e<=i&&(s.push(e),(e=d(e+t,n))!==r);)var r=e;return s},t.prototype.getMinorTickInterval=function(){var t=this.options;return!0===t.minorTicks?M(t.minorTickInterval,"auto"):!1===t.minorTicks?null:t.minorTickInterval},t.prototype.getMinorTickPositions=function(){var t=this.options,e=this.tickPositions,i=this.minorTickInterval,o=[],n=this.pointRangePadding||0,s=this.min-n,r=(n=this.max+n)-s;if(r&&r/i<this.len/3){var a=this.logarithmic;if(a)this.paddedTicks.forEach((function(t,e,n){e&&o.push.apply(o,a.getLogTickPositions(i,n[e-1],n[e],!0))}));else if(this.dateTime&&"auto"===this.getMinorTickInterval())o=o.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(i),s,n,t.startOfWeek));else for(t=s+(e[0]-s)%i;t<=n&&t!==o[0];t+=i)o.push(t)}return 0!==o.length&&this.trimTicks(o),o},t.prototype.adjustForMinRange=function(){var t,e,i,o,n=this.options,s=this.min,r=this.max,a=this.logarithmic;if(this.isXAxis&&void 0===this.minRange&&!a&&(p(n.min)||p(n.max)?this.minRange=null:(this.series.forEach((function(n){for(o=n.xData,e=n.xIncrement?1:o.length-1;0<e;e--)i=o[e]-o[e-1],(void 0===t||i<t)&&(t=i)})),this.minRange=Math.min(5*t,this.dataMax-this.dataMin))),r-s<this.minRange){var c=this.dataMax-this.dataMin>=this.minRange,d=this.minRange,u=(d-r+s)/2;u=[s-u,M(n.min,s-u)],c&&(u[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),r=[(s=h(u))+d,M(n.max,s+d)],c&&(r[2]=a?a.log2lin(this.dataMax):this.dataMax),(r=l(r))-s<d&&(u[0]=r-d,u[1]=M(n.min,r-d),s=h(u))}this.min=s,this.max=r},t.prototype.getClosest=function(){var t;return this.categories?t=1:this.series.forEach((function(e){var i=e.closestPointRange,o=e.visible||!e.chart.options.chart.ignoreHiddenSeries;!e.noSharedTooltip&&p(i)&&o&&(t=p(t)?Math.min(t,i):i)})),t},t.prototype.nameToX=function(t){var e=x(this.categories),i=e?this.categories:this.names,o=t.options.x;if(t.series.requireSorting=!1,p(o)||(o=!1===this.options.uniqueNames?t.series.autoIncrement():e?i.indexOf(t.name):M(i.keys[t.name],-1)),-1===o){if(!e)var n=i.length}else n=o;return void 0!==n&&(this.names[n]=t.name,this.names.keys[t.name]=n),n},t.prototype.updateNames=function(){var t=this,e=this.names;0<e.length&&(Object.keys(e.keys).forEach((function(t){delete e.keys[t]})),e.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach((function(e){e.xIncrement=null,e.points&&!e.isDirtyData||(t.max=Math.max(t.max,e.xData.length-1),e.processData(),e.generatePoints()),e.data.forEach((function(i,o){if(i&&i.options&&void 0!==i.name){var n=t.nameToX(i);void 0!==n&&n!==i.x&&(i.x=n,e.xData[o]=n)}}))})))},t.prototype.setAxisTranslation=function(t){var e=this,i=e.max-e.min,o=e.axisPointRange||0,n=0,s=0,r=e.linkedParent,a=!!e.categories,h=e.transA,l=e.isXAxis;if(l||a||o){var c=e.getClosest();
1r?(n=r.minPointOffset,s=r.pointRangePadding):e.series.forEach((function(t){var i=a?1:l?M(t.options.pointRange,c,0):e.axisPointRange||0,r=t.options.pointPlacement;o=Math.max(o,i),e.single&&!a||(t=t.is("xrange")?!l:l,n=Math.max(n,t&&C(r)?0:i/2),s=Math.max(s,t&&"on"===r?0:i))})),r=e.ordinal&&e.ordinal.slope&&c?e.ordinal.slope/c:1,e.minPointOffset=n*=r,e.pointRangePadding=s*=r,e.pointRange=Math.min(o,e.single&&a?1:i),l&&(e.closestPointRange=c)}t&&(e.oldTransA=h),e.translationSlope=e.transA=h=e.staticScale||e.len/(i+s||1),e.transB=e.horiz?e.left:e.bottom,e.minPixelPadding=h*n,m(this,"afterSetAxisTranslation")},t.prototype.minFromRange=function(){return this.max-this.range},t.prototype.setTickInterval=function(t){var e=this,i=e.chart,o=e.logarithmic,n=e.options,s=e.isXAxis,r=e.isLinked,a=n.maxPadding,h=n.minPadding,l=n.tickInterval,c=n.tickPixelInterval,u=e.categories,g=w(e.threshold)?e.threshold:null,y=e.softThreshold;e.dateTime||u||r||this.getTickAmount();var x=M(e.userMin,n.min),b=M(e.userMax,n.max);if(r){e.linkedParent=i[e.coll][n.linkedTo];var C=e.linkedParent.getExtremes();e.min=M(C.min,C.dataMin),e.max=M(C.max,C.dataMax),n.type!==e.linkedParent.options.type&&f(11,1,i)}else{if(y&&p(g))if(e.dataMin>=g)C=g,h=0;else if(e.dataMax<=g){var S=g;a=0}e.min=M(x,C,e.dataMin),e.max=M(b,S,e.dataMax)}o&&(e.positiveValuesOnly&&!t&&0>=Math.min(e.min,M(e.dataMin,e.min))&&f(10,1,i),e.min=d(o.log2lin(e.min),16),e.max=d(o.log2lin(e.max),16)),e.range&&p(e.max)&&(e.userMin=e.min=x=Math.max(e.dataMin,e.minFromRange()),e.userMax=b=e.max,e.range=null),m(e,"foundExtremes"),e.beforePadding&&e.beforePadding(),e.adjustForMinRange(),!(u||e.axisPointRange||e.stacking&&e.stacking.usePercentage||r)&&p(e.min)&&p(e.max)&&(i=e.max-e.min)&&(!p(x)&&h&&(e.min-=i*h),!p(b)&&a&&(e.max+=i*a)),w(e.userMin)||(w(n.softMin)&&n.softMin<e.min&&(e.min=x=n.softMin),w(n.floor)&&(e.min=Math.max(e.min,n.floor))),w(e.userMax)||(w(n.softMax)&&n.softMax>e.max&&(e.max=b=n.softMax),w(n.ceiling)&&(e.max=Math.min(e.max,n.ceiling))),y&&p(e.dataMin)&&(g=g||0,!p(x)&&e.min<g&&e.dataMin>=g?e.min=e.options.minRange?Math.min(g,e.max-e.minRange):g:!p(b)&&e.max>g&&e.dataMax<=g&&(e.max=e.options.minRange?Math.max(g,e.min+e.minRange):g)),e.tickInterval=e.min===e.max||void 0===e.min||void 0===e.max?1:r&&!l&&c===e.linkedParent.options.tickPixelInterval?l=e.linkedParent.tickInterval:M(l,this.tickAmount?(e.max-e.min)/Math.max(this.tickAmount-1,1):void 0,u?1:(e.max-e.min)*c/Math.max(e.len,c)),s&&!t&&e.series.forEach((function(t){t.processData(e.min!==e.oldMin||e.max!==e.oldMax)})),e.setAxisTranslation(!0),m(this,"initialAxisTranslation"),e.pointRange&&!l&&(e.tickInterval=Math.max(e.pointRange,e.tickInterval)),t=M(n.minTickInterval,e.dateTime&&!e.series.some((function(t){return t.noSharedTooltip}))?e.closestPointRange:0),!l&&e.tickInterval<t&&(e.tickInterval=t),e.dateTime||e.logarithmic||l||(e.tickInterval=k(e.tickInterval,void 0,v(e.tickInterval),M(n.allowDecimals,.5>e.tickInterval||void 0!==this.tickAmount),!!this.tickAmount)),this.tickAmount||(e.tickInterval=e.unsquish()),this.setTickPositions()},t.prototype.setTickPositions=function(){var t=this.options,e=t.tickPositions,i=this.getMinorTickInterval(),o=t.tickPositioner,n=this.hasVerticalPanning(),s="colorAxis"===this.coll,r=(s||!n)&&t.startOnTick;n=(s||!n)&&t.endOnTick,this.tickmarkOffset=this.categories&&"between"===t.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===i&&this.tickInterval?this.tickInterval/5:i,this.single=this.min===this.max&&p(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==t.allowDecimals),this.tickPositions=i=e&&e.slice(),!i&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?i=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,t.units),this.min,this.max,t.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max):(i=[this.min,this.max],f(19,!1,this.chart)),i.length>this.len&&((i=[i[0],i.pop()])[0]===i[1]&&(i.length=1)),this.tickPositions=i,o&&(o=o.apply(this,[this.min,this.max])))&&
1(this.tickPositions=i=o),this.paddedTicks=i.slice(0),this.trimTicks(i,r,n),this.isLinked||(this.single&&2>i.length&&!this.categories&&!this.series.some((function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement}))&&(this.min-=.5,this.max+=.5),e||o||this.adjustTickAmount()),m(this,"afterSetTickPositions")},t.prototype.trimTicks=function(t,e,i){var o=t[0],n=t[t.length-1],s=!this.isOrdinal&&this.minPointOffset||0;if(m(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==o)this.min=o;else for(;this.min-s>t[0];)t.shift();if(i)this.max=n;else for(;this.max+s<t[t.length-1];)t.pop();0===t.length&&p(o)&&!this.options.tickPositions&&t.push((n+o)/2)}},t.prototype.alignToOthers=function(){var t,e={},i=this.options;return!1===this.chart.options.chart.alignTicks||!1===i.alignTicks||!1===i.startOnTick||!1===i.endOnTick||this.logarithmic||this.chart[this.coll].forEach((function(i){var o=i.options;o=[i.horiz?o.left:o.top,o.width,o.height,o.pane].join(),i.series.length&&(e[o]?t=!0:e[o]=1)})),t},t.prototype.getTickAmount=function(){var t=this.options,e=t.tickAmount,i=t.tickPixelInterval;!p(t.tickInterval)&&!e&&this.len<i&&!this.isRadial&&!this.logarithmic&&t.startOnTick&&t.endOnTick&&(e=2),!e&&this.alignToOthers()&&(e=Math.ceil(this.len/i)+1),4>e&&(this.finalTickAmt=e,e=5),this.tickAmount=e},t.prototype.adjustTickAmount=function(){var t,e=this.options,i=this.tickInterval,o=this.tickPositions,n=this.tickAmount,s=this.finalTickAmt,r=o&&o.length,a=M(this.threshold,this.softThreshold?0:null);if(this.hasData()){if(r<n){for(t=this.min;o.length<n;)o.length%2||t===a?o.push(d(o[o.length-1]+i)):o.unshift(d(o[0]-i));this.transA*=(r-1)/(n-1),this.min=e.startOnTick?o[0]:Math.min(this.min,o[0]),this.max=e.endOnTick?o[o.length-1]:Math.max(this.max,o[o.length-1])}else r>n&&(this.tickInterval*=2,this.setTickPositions());if(p(s)){for(i=e=o.length;i--;)(3===s&&1==i%2||2>=s&&0<i&&i<e-1)&&o.splice(i,1);this.finalTickAmt=void 0}}},t.prototype.setScale=function(){var t,e=!1,i=!1;this.series.forEach((function(t){var o;e=e||t.isDirtyData||t.isDirty,i=i||(null===(o=t.xAxis)||void 0===o?void 0:o.isDirty)||!1})),this.oldMin=this.min,this.oldMax=this.max,this.oldAxisLength=this.len,this.setAxisSize(),(t=this.len!==this.oldAxisLength)||e||i||this.isLinked||this.forceRedraw||this.userMin!==this.oldUserMin||this.userMax!==this.oldUserMax||this.alignToOthers()?(this.stacking&&this.stacking.resetStacks(),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.oldUserMin=this.userMin,this.oldUserMax=this.userMax,this.isDirty||(this.isDirty=t||this.min!==this.oldMin||this.max!==this.oldMax)):this.stacking&&this.stacking.cleanStacks(),e&&this.panningState&&(this.panningState.isDirty=!0),m(this,"afterSetScale")},t.prototype.setExtremes=function(t,e,i,o,n){var s=this,r=s.chart;i=M(i,!0),s.series.forEach((function(t){delete t.kdTree})),n=g(n,{min:t,max:e}),m(s,"setExtremes",n,(function(){s.userMin=t,s.userMax=e,s.eventArgs=n,i&&r.redraw(o)}))},t.prototype.zoom=function(t,e){var i=this,o=this.dataMin,n=this.dataMax,s=this.options,r=Math.min(o,M(s.min,o)),a=Math.max(n,M(s.max,n));return m(this,"zoom",t={newMin:t,newMax:e},(function(t){var e=t.newMin,s=t.newMax;e===i.min&&s===i.max||(i.allowZoomOutside||(p(o)&&(e<r&&(e=r),e>a&&(e=a)),p(n)&&(s<r&&(s=r),s>a&&(s=a))),i.displayBtn=void 0!==e||void 0!==s,i.setExtremes(e,s,!1,void 0,{trigger:"zoom"})),t.zoomed=!0})),t.zoomed},t.prototype.setAxisSize=function(){var t=this.chart,e=this.options,i=e.offsets||[0,0,0,0],o=this.horiz,n=this.width=Math.round(P(M(e.width,t.plotWidth-i[3]+i[1]),t.plotWidth)),s=this.height=Math.round(P(M(e.height,t.plotHeight-i[0]+i[2]),t.plotHeight)),r=this.top=Math.round(P(M(e.top,t.plotTop+i[0]),t.plotHeight,t.plotTop));e=this.left=Math.round(P(M(e.left,t.plotLeft+i[3]),t.plotWidth,t.plotLeft)),this.bottom=t.chartHeight-s-r,this.right=t.chartWidth-n-e,this.len=Math.max(o?n:s,0),this.pos=o?e:r},t.prototype.getExtremes=function(){var t=this.logarithmic;return{min:t?d(t.lin2log(this.min)):this.min,max:t?d(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},t.prototype.getThreshold=function(t){var e=this.logarithmic,i=e?e.lin2log(this.min):this.min;return e=e?e.lin2log(this.max):this.max,null===t||-1/0===t?t=i:1/0===t?t=e:i>t?t=i:e<t&&(t=e),this.translate(t,0,1,0,1)},t.prototype.autoLabelAlign=function(t){var e=(M(t,0)-90*this.side+720)%360;return m(this,"autoLabelAlign",t={align:"center"},(function(t){15<e&&165>e?t.align="right":195<e&&345>e&&(t.align="left")})),t.align},t.prototype.tickSize=function(t){var e=this.options,i=e["tick"===t?"tickLength":"minorTickLength"],o=M(e["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0);if(o&&i){"inside"===e[t+"Position"]&&(i=-i);var n=[i,o]}return m(this,"afterTickSize",t={tickSize:n}),t.tickSize},t.prototype.labelMetrics=function(){var t=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style&&this.options.labels.style.fontSize,this.ticks[t]&&this.ticks[t].label)},t.prototype.unsquish=function(){var t,e,i,o=this.options.labels,n=this.horiz,s=this.tickInterval,r=s,a=this.len/(((this.categories?1:0)+this.max-this.min)/s),h=o.rotation,l=this.labelMetrics(),c=Number.MAX_VALUE,u=this.max-this.min,f=function(t){var e=t/(a||1);return(e=1<e?Math.ceil(e):1)*s>u&&1/0!==t&&1/0!==a&&u&&(e=Math.ceil(u/s)),d(e*s)};return n?(i=!o.staggerLines&&!o.step&&(p(h)?[h]:a<M(o.autoRotationLimit,80)&&o.autoRotation))&&i.forEac
1h((function(i){if(i===h||i&&-90<=i&&90>=i){var o=(e=f(Math.abs(l.h/Math.sin(O*i))))+Math.abs(i/360);o<c&&(c=o,t=i,r=e)}})):o.step||(r=f(l.h)),this.autoRotation=i,this.labelRotation=M(t,h),r},t.prototype.getSlotWidth=function(t){var e,i=this.chart,o=this.horiz,n=this.options.labels,s=Math.max(this.tickPositions.length-(this.categories?0:1),1),r=i.margin[3];if(t&&w(t.slotWidth))return t.slotWidth;if(o&&n&&2>(n.step||0))return n.rotation?0:(this.staggerLines||1)*this.len/s;if(!o){if(void 0!==(t=null===(e=null==n?void 0:n.style)||void 0===e?void 0:e.width))return parseInt(t,10);if(r)return r-i.spacing[3]}return.33*i.chartWidth},t.prototype.renderUnsquish=function(){var t=this.chart,e=t.renderer,i=this.tickPositions,o=this.ticks,n=this.options.labels,s=n&&n.style||{},r=this.horiz,a=this.getSlotWidth(),h=Math.max(1,Math.round(a-2*(n.padding||5))),l={},c=this.labelMetrics(),d=n.style&&n.style.textOverflow,p=0;if(C(n.rotation)||(l.rotation=n.rotation||0),i.forEach((function(t){(t=o[t]).movedLabel&&t.replaceMovedLabel(),t&&t.label&&t.label.textPxLength>p&&(p=t.label.textPxLength)})),this.maxLabelLength=p,this.autoRotation)p>h&&p>c.h?l.rotation=this.labelRotation:this.labelRotation=0;else if(a){var u=h;if(!d){var f="clip";for(h=i.length;!r&&h--;){var g=i[h];(g=o[g].label)&&(g.styles&&"ellipsis"===g.styles.textOverflow?g.css({textOverflow:"clip"}):g.textPxLength>a&&g.css({width:a+"px"}),g.getBBox().height>this.len/i.length-(c.h-c.f)&&(g.specificTextOverflow="ellipsis"))}}}l.rotation&&(u=p>.5*t.chartHeight?.33*t.chartHeight:p,d||(f="ellipsis")),(this.labelAlign=n.align||this.autoLabelAlign(this.labelRotation))&&(l.align=this.labelAlign),i.forEac
1h((function(t){var e=(t=o[t])&&t.label,i=s.width,n={};e&&(e.attr(l),t.shortenLabel?t.shortenLabel():u&&!i&&"nowrap"!==s.whiteSpace&&(u<e.textPxLength||"SPAN"===e.element.tagName)?(n.width=u+"px",d||(n.textOverflow=e.specificTextOverflow||f),e.css(n)):e.styles&&e.styles.width&&!n.width&&!i&&e.css({width:null}),delete e.specificTextOverflow,t.rotation=l.rotation)}),this),this.tickRotCorr=e.rotCorr(c.b,this.labelRotation||0,0!==this.side)},t.prototype.hasData=function(){return this.series.some((function(t){return t.hasData()}))||this.options.showEmpty&&p(this.min)&&p(this.max)},t.prototype.addTitle=function(t){var e,i=this.chart.renderer,o=this.horiz,n=this.opposite,s=this.options.title,r=this.chart.styledMode;this.axisTitle||((e=s.textAlign)||(e=(o?{low:"left",middle:"center",high:"right"}:{low:n?"right":"left",middle:"center",high:n?"left":"right"})[s.align]),this.axisTitle=i.text(s.text,0,0,s.useHTML).attr({zIndex:7,rotation:s.rotation||0,align:e}).addClass("highcharts-axis-title"),r||this.axisTitle.css(S(s.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),r||s.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[t?"show":"hide"](t)},t.prototype.generateTick=function(t){var e=this.ticks;e[t]?e[t].addLabel():e[t]=new o(this,t)},t.prototype.getOffset=function(){var t,e=this,i=e.chart,o=i.renderer,n=e.options,s=e.tickPositions,r=e.ticks,a=e.horiz,h=e.side,l=i.inverted&&!e.isZAxis?[1,0,3,2][h]:h,c=0,d=0,u=n.title,f=n.labels,g=0,y=i.axisOffset;i=i.clipOffset;var v=[-1,1,1,-1][h],x=n.className,b=e.axisParent,w=e.hasData();if(e.showAxis=t=w||M(n.showEmpty,!0),e.staggerLines=e.horiz&&f.staggerLines,e.axisGroup||(e.gridGroup=o.g("grid").attr({zIndex:n.gridZIndex||1}).addClass("highcharts-"+this.coll.toLowerCase()+"-grid "+(x||"")).add(b),e.axisGroup=o.g("axis").attr({zIndex:n.zIndex||2}).addClass("highcharts-"+this.coll.toLowerCase()+" "+(x||"")).add(b),e.labelGroup=o.g("axis-labels").attr({zIndex:f.zIndex||7}).addClass("highcharts-"+e.coll.toLowerCase()+"-labels "+(x||"")).add(b)),w||e.isLinked?(s.forEach((function(t,i){e.generateTick(t,i)})),e.renderUnsquish(),e.reserveSpaceDefault=0===h||2===h||{1:"left",3:"right"}[h]===e.labelAlign,M(f.reserveSpace,"center"===e.labelAlign||null,e.reserveSpaceDefault)&&s.forEach((function(t){g=Math.max(r[t].getLabelSize(),g)})),e.staggerLines&&(g*=e.staggerLines),e.labelOffset=g*(e.opposite?-1:1)):A(r,(function(t,e){t.destroy(),delete r[e]})),u&&u.text&&!1!==u.enabled&&(e.addTitle(t),t&&!1!==u.reserveSpace)){e.titleOffset=c=e.axisTitle.getBBox()[a?"height":"width"];var C=u.offset;d=p(C)?0:M(u.margin,a?5:10)}e.renderLine(),e.offset=v*M(n.offset,y[h]?y[h]+(n.margin||0):0),e.tickRotCorr=e.tickRotCorr||{x:0,y:0},o=0===h?-e.labelMetrics().h:2===h?e.tickRotCorr.y:0,d=Math.abs(g)+d,g&&(d=d-o+v*(a?M(f.y,e.tickRotCorr.y+8*v):f.x)),e.axisTitleMargin=M(C,d),e.getMaxLabelDimensions&&(e.maxLabelDimensions=e.getMaxLabelDimensions(r,s)),a=this.tickSize("tick"),y[h]=Math.max(y[h],e.axisTitleMargin+c+v*e.offset,d,s&&s.length&&a?a[0]+v*e.offset:0),n=n.offset?0:2*Math.floor(e.axisLine.strokeWidth()/2),i[l]=Math.max(i[l],n),m(this,"afterGetOffset")},t.prototype.getLinePath=function(t){var e=this.chart,i=this.opposite,o=this.offset,n=this.horiz,s=this.left+(i?this.width:0)+o;return o=e.chartHeight-this.bottom-(i?this.height:0)+o,i&&(t*=-1),e.renderer.crispLine([["M",n?this.left:s,n?o:this.top],["L",n?e.chartWidth-this.right:s,n?o:e.chartHeight-this.bottom]],t)},t.prototype.renderLine=function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))},t.prototype.getTitlePosition=function(){var t=this.horiz,e=this.left,i=this.top,o=this.len,n=this.options.title,s=t?e:i,r=this.opposite,a=this.offset,h=n.x||0,l=n.y||0,c=this.axisTitle,d=this.chart.renderer.fontMetrics(n.style&&n.style.fontSize,c);return c=Math.max(c.getBBox(null,0).height-d.h-1,0),o={low:s+(t?0:o),middle:s+o/2,high:s+(t?o:0)}[n.align],e=(t?i+this.height:e)+(t?1:-1)*(r?-1:1)*this.axisTitleMargin+[-c,c,d.f,-c][this.side],t={x:t?o+h:e+(r?this.width:0)+a+h,y:t?e+l-(r?this.height:0)+a:o+l},m(this,"afterGetTitlePosition",{titlePosition:t}),t},t.prototype.renderMinorTick=function(t){var e=this.chart.hasRendered&&w(this.oldMin),i=this.minorTicks;i[t]||(i[t]=new o(this,t,"minor")),e&&i[t].isNew&&i[t].render(null,!0),i[t].render(null,!1,1)},t.prototype.renderTick=function(t,e){var i,n=this.isLinked,s=this.ticks,r=this.chart.hasRendered&&w(this.oldMin);(!n||t>=this.min&&t<=this.max||null!==(i=this.grid)&&void 0!==i&&i.isColumn)&&(s[t]||(s[t]=new o(this,t)),r&&s[t].isNew&&s[t].render(e,!0,-1),s[t].render(e))},t.prototype.render=function(){var t,e,n=this,s=n.chart,a=n.logarithmic,h=n.options,l=n.isLinked,c=n.tickPositions,d=n.axisTitle,p=n.ticks,u=n.minorTicks,f=n.alternateBands,g=h.stackLabels,y=h.alternateGridColor,v=n.tickmarkOffset,x=n.axisLine,b=n.showAxis,C=r(s.renderer.globalAnimation);n.labelEdge.length=0,n.overlap=!1,[p,u,f].forEach((function(t){A(t,(function(t){t.isActive=!1}))})),(n.hasData()||l)&&(n.minorTickInterval&&!n.categories&&n.getMinorTickPositions().forEac
1h((function(t){n.renderMinorTick(t)})),c.length&&(c.forEach((function(t,e){n.renderTick(t,e)})),v&&(0===n.min||n.single)&&(p[-1]||(p[-1]=new o(n,-1,null,!0)),p[-1].render(-1))),y&&c.forEach((function(o,r){e=void 0!==c[r+1]?c[r+1]+v:n.max-v,0==r%2&&o<n.max&&e<=n.max+(s.polar?-v:v)&&(f[o]||(f[o]=new i.PlotLineOrBand(n)),t=o+v,f[o].options={from:a?a.lin2log(t):t,to:a?a.lin2log(e):e,color:y,className:"highcharts-alternate-grid"},f[o].render(),f[o].isActive=!0)})),n._addedPlotLB||((h.plotLines||[]).concat(h.plotBands||[]).forEach((function(t){n.addPlotBandOrLine(t)})),n._addedPlotLB=!0)),[p,u,f].forEach((function(t){var e,i=[],o=C.duration;A(t,(function(t,e){t.isActive||(t.render(e,!1,0),t.isActive=!1,i.push(e))})),L((function(){for(e=i.length;e--;)t[i[e]]&&!t[i[e]].isActive&&(t[i[e]].destroy(),delete t[i[e]])}),t!==f&&s.hasRendered&&o?o:0)})),x&&(x[x.isPlaced?"animate":"attr"]({d:this.getLinePath(x.strokeWidth())}),x.isPlaced=!0,x[b?"show":"hide"](b)),d&&b&&(h=n.getTitlePosition(),w(h.y)?(d[d.isNew?"attr":"animate"](h),d.isNew=!1):(d.attr("y",-9999),d.isNew=!0)),g&&g.enabled&&n.stacking&&n.stacking.renderStackTotals(),n.isDirty=!1,m(this,"afterRender")},t.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach((function(t){t.render()}))),this.series.forEach((function(t){t.isDirty=!0}))},t.prototype.getKeepProps=function(){return this.keepProps||t.keepProps},t.prototype.destroy=function(t){var e,i=this,o=i.plotLinesAndBands;if(m(this,"destroy",{keepEvents:t}),t||T(i),[i.ticks,i.minorTicks,i.alternateBands].forEach((function(t){u(t)})),o)for(t=o.length;t--;)o[t].destroy();for(e in"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach((function(t){i[t]&&(i[t]=i[t].destroy())})),i.plotLinesAndBandsGroups)i.plotLinesAndBandsGroups[e]=i.plotLinesAndBandsGroups[e].destroy();A(i,(function(t,e){-1===i.getKeepProps().indexOf(e)&&delete i[e]}))},t.prototype.drawCrosshair=function(t,i){var o,n=this.crosshair,s=M(n.snap,!0),r=this.cross,a=this.chart;if(m(this,"drawCrosshair",{e:t,point:i}),t||(t=this.cross&&this.cross.e),this.crosshair&&!1!==(p(i)||!s)){if(s?p(i)&&(o=M("colorAxis"!==this.coll?i.crosshairPos:null,this.isXAxis?i.plotX:this.len-i.plotY)):o=t&&(this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos),p(o)){var h={value:i&&(this.isXAxis?i.x:M(i.stackY,i.y)),translatedValue:o};a.polar&&g(h,{isCrosshair:!0,chartX:t&&t.chartX,chartY:t&&t.chartY,point:i}),h=this.getPlotLinePath(h)||null}if(!p(h))return void this.hideCrosshair();s=this.categories&&!this.isRadial,r||(this.cross=r=a.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(s?"category ":"thin ")+n.className).attr({zIndex:M(n.zIndex,2)}).add(),a.styledMode||(r.attr({stroke:n.color||(s?e.parse("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":M(n.width,1)}).css({"pointer-events":"none"}),n.dashStyle&&r.attr({dashstyle:n.dashStyle}))),r.show().attr({d:h}),s&&!n.width&&r.attr({"stroke-width":this.transA}),this.cross.e=t}else this.hideCrosshair();m(this,"afterDrawCrosshair",{e:t,point:i})},t.prototype.hideCrosshair=function(){this.cross&&this.cross.hide(),m(this,"afterHideCrosshair")},t.prototype.hasVerticalPanning=function(){var t,e;return/y/.test((null===(e=null===(t=this.chart.options.chart)||void 0===t?void 0:t.panning)||void 0===e?void 0:e.type)||"")},t.prototype.validatePositiveValue=function(t){return w(t)&&0<t},t.defaultOptions={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,labels:{enabled:!0,indentation:10,x:0,style:{color:"#666666",cursor:"default",fontSize:"11px"}},maxPadding:.01,minorTickLength:2,minorTickPosition:"outside",minPadding:.01,showEmpty:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",style:{color:"#666666"}},type:"linear",minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",tickColor:"#ccd6eb"},t.defaultYAxisOptions={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(){return(0,this.axis.chart.numberFormatter)(this.total,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},t.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},t.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},t.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},t.keepProps="extKey hcEvents names series userMax userMin".split(" "),t}(),i.Axis=t,i.Axis})),e(i,"Core/Axis/DateTimeAxis.js",[i["Core/Axis/Axis.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.addEvent,o=e.getMagnitude,n=e.normalizeTickInterval,s=e.timeUnits,r=function(){function t(t){this.axis=t}return t.prototype.normalizeTimeTickInterval=function(t,e){var i=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];e=i[i.length-1];var r,a=s[e[0]],h=e[1];for(r=0;r<i.length&&(e=i[r],a=s[e[0]],h=e[1],!(i[r+1]&&t<=(a*h[h.length-1]+s[i[r+1][0]])/2));r++);
1return a===s.year&&t<5*a&&(h=[1,2,5]),{unitRange:a,count:t=n(t/a,h,"year"===e[0]?Math.max(o(t/a),1):1),unitName:e[0]}},t}();return(e=function(){function t(){}return t.compose=function(t){t.keepProps.push("dateTime"),t.prototype.getTimeTicks=function(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)},i(t,"init",(function(t){"datetime"!==t.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new r(this))}))},t.AdditionsClass=r,t}()).compose(t),e})),e(i,"Core/Axis/LogarithmicAxis.js",[i["Core/Axis/Axis.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.addEvent,o=e.getMagnitude,n=e.normalizeTickInterval,s=e.pick,r=function(){function t(t){this.axis=t}return t.prototype.getLogTickPositions=function(t,e,i,r){var a=this.axis,h=a.len,l=a.options,c=[];if(r||(this.minorAutoInterval=void 0),.5<=t)t=Math.round(t),c=a.getLinearTickPositions(t,e,i);else if(.08<=t){var d,p;for(l=Math.floor(e),h=.3<t?[1,2,4]:.15<t?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];l<i+1&&!p;l++){var u=h.length;for(d=0;d<u&&!p;d++){var f=this.log2lin(this.lin2log(l)*h[d]);f>e&&(!r||g<=i)&&void 0!==g&&c.push(g),g>i&&(p=!0);var g=f}}}else e=this.lin2log(e),i=this.lin2log(i),t=r?a.getMinorTickInterval():l.tickInterval,t=s("auto"===t?null:t,this.minorAutoInterval,l.tickPixelInterval/(r?5:1)*(i-e)/((r?h/a.tickPositions.length:h)||1)),t=n(t,void 0,o(t)),c=a.getLinearTickPositions(t,e,i).map(this.log2lin),r||(this.minorAutoInterval=t/5);return r||(a.tickInterval=t),c},t.prototype.lin2log=function(t){return Math.pow(10,t)},t.prototype.log2lin=function(t){return Math.log(t)/Math.LN10},t}();return(e=function(){function t(){}return t.compose=function(t){t.keepProps.push("logarithmic");var e=t.prototype,o=r.prototype;e.log2lin=o.log2lin,e.lin2log=o.lin2log,i(t,"init",(function(t){var e=this.logarithmic;"logarithmic"!==t.userOptions.type?this.logarithmic=void 0:(e||(e=this.logarithmic=new r(this)),this.log2lin!==e.log2lin&&(e.log2lin=this.log2lin.bind(this)),this.lin2log!==e.lin2log&&(e.lin2log=this.lin2log.bind(this)))})),i(t,"afterInit",(function(){var t=this.logarithmic;t&&(this.lin2val=function(e){return t.lin2log(e)},this.val2lin=function(e){return t.log2lin(e)})}))},t}()).compose(t),e})),e(i,"Core/Axis/PlotLineOrBand.js",[i["Core/Axis/Axis.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,i){var o=i.arrayMax,n=i.arrayMin,s=i.defined,r=i.destroyObjectProperties,a=i.erase,h=i.extend,l=i.merge,c=i.objectEach,d=i.pick;return i=function(){function t(t,e){this.axis=t,e&&(this.options=e,this.id=e.id)}return t.prototype.render=function(){e.fireEvent(this,"render");var t=this,i=t.axis,o=i.horiz,n=i.logarithmic,r=t.options,a=r.label,h=t.label,p=r.to,u=r.from,f=r.value,g=s(u)&&s(p),m=s(f),y=t.svgElem,v=!y,x=[],b=r.color,w=d(r.zIndex,0),C=r.events;x={class:"highcharts-plot-"+(g?"band ":"line ")+(r.className||"")};var S={},k=i.chart.renderer,A=g?"bands":"lines";if(n&&(u=n.log2lin(u),p=n.log2lin(p),f=n.log2lin(f)),i.chart.styledMode||(m?(x.stroke=b||"#999999",x["stroke-width"]=d(r.width,1),r.dashStyle&&(x.dashstyle=r.dashStyle)):g&&(x.fill=b||"#e6ebf5",r.borderWidth&&(x.stroke=r.borderColor,x["stroke-width"]=r.borderWidth))),S.zIndex=w,A+="-"+w,(n=i.plotLinesAndBandsGroups[A])||(i.plotLinesAndBandsGroups[A]=n=k.g("plot-"+A).attr(S).add()),v&&(t.svgElem=y=k.path().attr(x).add(n)),m)x=i.getPlotLinePath({value:f,lineWidth:y.strokeWidth(),acrossPanes:r.acrossPanes});else{if(!g)return;x=i.getPlotBandPath(u,p,r)}return!t.eventsAdded&&C&&(c(C,(function(e,i){y.on(i,(function(e){C[i].apply(t,[e])}))})),t.eventsAdded=!0),(v||!y.d)&&x&&x.length?y.attr({d:x}):y&&(x?(y.show(!0),y.animate({d:x})):y.d&&(y.hide(),h&&(t.label=h=h.destroy()))),a&&(s(a.text)||s(a.formatter))&&x&&x.length&&0<i.width&&0<i.height&&!x.isFlat?(a=l({align:o&&g&&"center",x:o?!g&&4:10,verticalAlign:!o&&g&&"middle",y:o?g?16:10:g?6:-4,rotation:o&&!g&&90},a),this.renderLabel(a,x,g,w)):h&&h.hide(),t},t.prototype.renderLabel=function(t,e,i,s){var r=this.label,a=this.axis.chart.renderer;r||((r={align:t.textAlign||t.align,rotation:t.rotation,class:"highcharts-plot-"+(i?"band":"line")+"-label "+(t.className||"")}).zIndex=s,s=this.getLabelText(t),this.label=r=a.text(s,0,0,t.useHTML).attr(r).add(),this.axis.chart.styledMode||r.css(t.style)),a=e.xBounds||[e[0][1],e[1][1],i?e[2][1]:e[0][1]],e=e.yBounds||[e[0][2],e[1][2],i?e[2][2]:e[0][2]],i=n(a),s=n(e),r.align(t,!1,{x:i,y:s,width:o(a)-i,height:o(e)-s}),r.show(!0)},t.prototype.getLabelText=function(t){return s(t.formatter)?t.formatter.call(this):t.text},t.prototype.destroy=function(){a(this.axis.plotLinesAndBands,this),delete this.axis,r(this)},t}
1(),h(t.prototype,{getPlotBandPath:function(t,e,i){void 0===i&&(i=this.options);var o=this.getPlotLinePath({value:e,force:!0,acrossPanes:i.acrossPanes});i=this.getPlotLinePath({value:t,force:!0,acrossPanes:i.acrossPanes});var n=[],s=this.horiz,r=1;if(t=t<this.min&&e<this.min||t>this.max&&e>this.max,i&&o){if(t){var a=i.toString()===o.toString();r=0}for(t=0;t<i.length;t+=2){e=i[t];var h=i[t+1],l=o[t],c=o[t+1];"M"!==e[0]&&"L"!==e[0]||"M"!==h[0]&&"L"!==h[0]||"M"!==l[0]&&"L"!==l[0]||"M"!==c[0]&&"L"!==c[0]||(s&&l[1]===e[1]?(l[1]+=r,c[1]+=r):s||l[2]!==e[2]||(l[2]+=r,c[2]+=r),n.push(["M",e[1],e[2]],["L",h[1],h[2]],["L",c[1],c[2]],["L",l[1],l[2]],["Z"])),n.isFlat=a}}return n},addPlotBand:function(t){return this.addPlotBandOrLine(t,"plotBands")},addPlotLine:function(t){return this.addPlotBandOrLine(t,"plotLines")},addPlotBandOrLine:function(t,i){var o=new e.PlotLineOrBand(this,t),n=this.userOptions;if(this.visible&&(o=o.render()),o){if(i){var s=n[i]||[];s.push(t),n[i]=s}this.plotLinesAndBands.push(o),this._addedPlotLB=!0}return o},removePlotBandOrLine:function(t){for(var e=this.plotLinesAndBands,i=this.options,o=this.userOptions,n=e.length;n--;)e[n].id===t&&e[n].destroy();[i.plotLines||[],o.plotLines||[],i.plotBands||[],o.plotBands||[]].forEach((function(e){for(n=e.length;n--;)(e[n]||{}).id===t&&a(e,e[n])}))},removePlotBand:function(t){this.removePlotBandOrLine(t)},removePlotLine:function(t){this.removePlotBandOrLine(t)}}),e.PlotLineOrBand=i,e.PlotLineOrBand})),e(i,"Core/Tooltip.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e){var i=t.doc,o=e.clamp,n=e.css,s=e.defined,r=e.discardElement,a=e.extend,h=e.fireEvent,l=e.format,c=e.isNumber,d=e.isString,p=e.merge,u=e.pick,f=e.splat,g=e.syncTimeout,m=e.timeUnits,y=function(){function y(t,e){this.container=void 0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.now={},this.options={},this.outside=!1,this.chart=t,this.init(t,e)}return y.prototype.applyFilter=function(){var t=this.chart;t.renderer.definition({tagName:"filter",id:"drop-shadow-"+t.index,opacity:.5,children:[{tagName:"feGaussianBlur",in:"SourceAlpha",stdDeviation:1},{tagName:"feOffset",dx:1,dy:1},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",type:"linear",slope:.3}]},{tagName:"feMerge",children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",in:"SourceGraphic"}]}]}),t.renderer.definition({tagName:"style",textContent:".highcharts-tooltip-"+t.index+"{filter:url(#drop-shadow-"+t.index+")}"})},y.prototype.bodyFormatter=function(t){return t.map((function(t){var e=t.series.tooltipOptions;return(e[(t.point.formatPrefix||"point")+"Formatter"]||t.point.tooltipFormatter).call(t.point,e[(t.point.formatPrefix||"point")+"Format"]||"")}))},y.prototype.cleanSplit=function(t){this.chart.series.forEach((function(e){var i=e&&e.tt;i&&(!i.isActive||t?e.tt=i.destroy():i.isActive=!1)}))},y.prototype.defaultFormatter=function(t){var e=this.points||f(this),i=[t.tooltipFooterHeaderFormatter(e[0])];return(i=i.concat(t.bodyFormatter(e))).push(t.tooltipFooterHeaderFormatter(e[0],!0)),i},y.prototype.destroy=function(){this.label&&(this.label=this.label.destroy()),this.split&&this.tt&&(this.cleanSplit(this.chart,!0),this.tt
1=this.tt.destroy()),this.renderer&&(this.renderer=this.renderer.destroy(),r(this.container)),e.clearTimeout(this.hideTimer),e.clearTimeout(this.tooltipTimeout)},y.prototype.getAnchor=function(t,e){var i,o,n=this.chart,s=n.pointer,r=n.inverted,a=n.plotTop,h=n.plotLeft,l=0,c=0;return t=f(t),this.followPointer&&e?(void 0===e.chartX&&(e=s.normalize(e)),t=[e.chartX-h,e.chartY-a]):t[0].tooltipPos?t=t[0].tooltipPos:(t.forEach((function(t){i=t.series.yAxis,o=t.series.xAxis,l+=t.plotX+(!r&&o?o.left-h:0),c+=(t.plotLow?(t.plotLow+t.plotHigh)/2:t.plotY)+(!r&&i?i.top-a:0)})),l/=t.length,c/=t.length,t=[r?n.plotWidth-c:l,this.shared&&!r&&1<t.length&&e?e.chartY-a:r?n.plotHeight-l:c]),t.map(Math.round)},y.prototype.getDateFormat=function(t,e,i,o){var n=this.chart.time,s=n.dateFormat("%m-%d %H:%M:%S.%L",e),r={millisecond:15,second:12,minute:9,hour:6,day:3},a="millisecond";for(h in m){if(t===m.week&&+n.dateFormat("%w",e)===i&&"00:00:00.000"===s.substr(6)){var h="week";break}if(m[h]>t){h=a;break}if(r[h]&&s.substr(r[h])!=="01-01 00:00:00.000".substr(r[h]))break;"week"!==h&&(a=h)}if(h)var l=n.resolveDTLFormat(o[h]).main;return l},y.prototype.getLabel=function(){var e,i,o,r=this,a=this.chart.renderer,h=this.chart.styledMode,l=this.options,c="tooltip"+(s(l.className)?" "+l.className:""),d=(null===(e=l.style)||void 0===e?void 0:e.pointerEvents)||(!this.followPointer&&l.stickOnContact?"auto":"none");e=function(){r.inContact=!0};if(!this.label){if(this.outside&&(this.container=o=t.doc.createElement("div"),o.className="highcharts-tooltip-container",n(o,{position:"absolute",top:"1px",pointerEvents:d,zIndex:3}),t.doc.body.appendChild(o),this.renderer=a=new t.Renderer(o,0,0,null===(i=this.chart.options.chart)||void 0===i?void 0:i.style,void 0,void 0,a.styledMode)),this.split?this.label=a.g(c):(this.label=a.label("",0,0,l.shape||"callout",null,null,l.useHTML,null,c).attr({padding:l.padding,r:l.borderRadius}),h||this.label.attr({fill:l.backgroundColor,"stroke-width":l.borderWidth}).css(l.style).css({pointerEvents:d}).shadow(l.shadow)),h&&(this.applyFilter(),this.label.addClass("highcharts-tooltip-"+this.chart.index)),r.outside&&!r.split){var p=this.label,u=p.xSetter,f=p.ySetter;p.xSetter=function(t){u.call(p,r.distance),o.style.left=t+"px"},p.ySetter=function(t){f.call(p,r.distance),o.style.top=t+"px"}}this.label.on("mouseenter",e).on("mouseleave",(function(){var t=r.chart.hoverSeries;r.inContact=!1,t&&t.onMouseOut&&t.onMouseOut()})).attr({zIndex:8}).add()}return this.label},y.prototype.getPosition=function(t,e,o){var n,s=this.chart,r=this.distance,a={},h=s.inverted&&o.h||0,l=this.outside,c=l?i.documentElement.clientWidth-2*r:s.chartWidth,d=l?Math.max(i.body.scrollHeight,i.documentElement.scrollHeight,i.body.offsetHeight,i.documentElement.offsetHeight,i.documentElement.clientHeight):s.chartHeight,p=s.pointer.getChartPosition(),f=s.containerScaling,g=function(t){return f?t*f.scaleX:t},m=function(t){return f?t*f.scaleY:t},y=function(i){var n="x"===i;return[i,n?c:d,n?t:e].concat(l?[n?g(t):m(e),n?p.left-r+g(o.plotX+s.plotLeft):p.top-r+m(o.plotY+s.plotTop),0,n?c:d]:[n?t:e,n?o.plotX+s.plotLeft:o.plotY+s.plotTop,n?s.plotLeft:s.plotTop,n?s.plotLeft+s.plotWidth:s.plotTop+s.plotHeight])},v=y("y"),x=y("x"),b=!this.followPointer&&u(o.ttBelow,!s.inverted==!!o.negative),w=function(t,e,i,o,n,s,l){var c="y"===t?m(r):g(r),d=(i-o)/2,p=o<n-r,u=n+r+o<e,f=n-c-i+d;if(n=n+c-d,b&&u)a[t]=n;else if(!b&&p)a[t]=f;else if(p)a[t]=Math.min(l-o,0>f-h?f:f-h);else{if(!u)return!1;a[t]=Math.max(s,n+h+i>e?n:n+h)}},C=function(t,e,i,o,n){var s;return n<r||n>e-r?s=!1:a[t]=n<i/2?1:n>e-o/2?e-o-2:n-i/2,s},S=function(t){var e=v;v=x,x=e,n=t},k=function(){!1!==w.apply(0,v)?!1!==C.apply(0,x)||n||(S(!0),k()):n?a.x=a.y=0:(S(!0),k())};return(s.inverted||1<this.len)&&S(),k(),a},y.prototype.getXDateFormat=function(t,e,i){e=e.dateTimeLabelFormats;var o=i&&i.closestPointRange;return(o?this.getDateFormat(o,t.x,i.options.startOfWeek,e):e.day)||e.year},y.prototype.hide=function(t){var i=this;e.clearTimeout(this.hideTimer),t=u(t,this.options.hideDelay,500),this.isHidden||(this.hideTimer=g((function(){i.getLabel().fadeOut(t?void 0:t),i.isHidden=!0}),t))},y.prototype.init=function(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.split=e.split&&!t.inverted&&!t.polar,this.shared=e.shared||this.split,this.outside=u(e.outside,!(!t.scrollablePixelsX&&!t.scrollablePixelsY))},y.prototype.isStickyOnContact=function(){return!(this.followPointer||!this.options.stickOnContact||!this.inContact)},y.prototype.move=function(t,i,o,n){var s=this,r=s.now,h=!1!==s.options.animation&&!s.isHidden&&(1<Math.abs(t-r.x)||1<Math.abs(i-r.y)),l=s.followPointer||1<s.len;a(r,{x:h?(2*r.x+t)/3:t,y:h?(r.y+i)/2:i,anchorX:l?void 0:h?(2*r.anchorX+o)/3:o,anchorY:l?void 0:h?(r.anchorY+n)/2:n}),s.getLabel().attr(r),s.drawTracker(),h&&(e.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout((function(){s&&s.move(t,i,o,n)}),32))},y.prototype.refresh=function(t,i){var o=this.chart,n=this.options,s=t,r={},a=[],l=n.formatter||this.defaultFormatter;r=this.shared;var c=o.styledMode;if(n.enabled){e.clearTimeout(this.hideTimer),this.followPointer=f(s)[0].series.tooltipOptions.followPointer;var d=this.getAnchor(s,i);i=d[0];var p=d[1];!r||s.series&&s.series.noSharedTooltip?r=s.getLabelConfig():(o.pointer.applyInactiveState(s),s.forEac
1h((function(t){t.setState("hover"),a.push(t.getLabelConfig())})),(r={x:s[0].category,y:s[0].y}).points=a,s=s[0]),this.len=a.length,o=l.call(r,this),l=s.series,this.distance=u(l.tooltipOptions.distance,16),!1===o?this.hide():(this.split?this.renderSplit(o,f(t)):(t=this.getLabel(),n.style.width&&!c||t.css({width:this.chart.spacingBox.width+"px"}),t.attr({text:o&&o.join?o.join(""):o}),t.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+u(s.colorIndex,l.colorIndex)),c||t.attr({stroke:n.borderColor||s.color||l.color||"#666666"}),this.updatePosition({plotX:i,plotY:p,negative:s.negative,ttBelow:s.ttBelow,h:d[2]||0})),this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1),h(this,"refresh")}},y.prototype.renderSplit=function(e,i){function n(t,e,i,n,s){return void 0===s&&(s=!0),i?(e=M?0:E,t=o(t-n/2,k.left,k.right-n)):(e-=P,t=o(t=s?t-n-w:t+w,s?t:k.left,k.right)),{x:t,y:e}}var s=this,r=s.chart,h=s.chart,l=h.plotHeight,c=h.plotLeft,p=h.plotTop,f=h.pointer,g=h.renderer,m=h.scrollablePixelsY,y=void 0===m?0:m,v=(m=void 0===(m=h.scrollingContainer)?{scrollLeft:0,scrollTop:0}:m).scrollLeft,x=m.scrollTop,b=h.styledMode,w=s.distance,C=s.options,S=s.options.positioner,k={left:v,right:v+h.chartWidth,top:x,bottom:x+h.chartHeight},A=s.getLabel(),M=!(!r.xAxis[0]||!r.xAxis[0].opposite),P=p+x,T=0,E=l-y;d(e)&&(e=[!1,e]),e=e.slice(0,i.length+1).reduce((function(t,e,r){if(!1!==e&&""!==e){var a=(r=i[r-1]||{isHeader:!0,plotX:i[0].plotX,plotY:l,series:{}}).isHeader,h=a?s:r.series,d=h.tt,f=r.isHeader,m=r.series,v="highcharts-color-"+u(r.colorIndex,m.colorIndex,"none");d||(d={padding:C.padding,r:C.borderRadius},b||(d.fill=C.backgroundColor,d["stroke-width"]=C.borderWidth),d=g.label("",0,0,C[f?"headerShape":"shape"]||"callout",void 0,void 0,C.useHTML).addClass((f?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+v).attr(d).add(A)),d.isActive=!0,d.attr({text:e}),b||d.css(C.style).shadow(C.shadow).attr({stroke:C.borderColor||r.color||m.color||"#333333"}),e=h.tt=d,h=(f=e.getBBox()).width+e.strokeWidth(),a&&(T=f.height,E+=T,M&&(P-=T)),m=void 0===(m=r.plotX)?0:m,v=void 0===(v=r.plotY)?0:v;var L=r.series;if(r.isHeader){m=c+m;var D=p+l/2}else d=L.xAxis,L=L.yAxis,m=d.pos+o(m,-w,d.len+w),L.pos+v>=x+p&&L.pos+v<=x+p+l-y&&(D=L.pos+v);m=o(m,k.left-w,k.right+w),"number"==typeof D?(f=f.height+1,v=S?S.call(s,h,f,r):n(m,D,a,h),t.push({align:S?0:void 0,anchorX:m,anchorY:D,boxWidth:h,point:r,rank:u(v.rank,a?1:0),size:f,target:v.y,tt:e,x:v.x})):e.isActive=!1}return t}),[]),!S&&e.some((function(t){return t.x<k.left}))&&(e=e.map((function(t){var e=n(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return a(t,{target:e.y,x:e.x})}))),s.cleanSplit(),t.distribute(e,E),e.forEach((function(t){var e=t.pos;t.tt.attr({visibility:void 0===e?"hidden":"inherit",x:t.x,y:e+P,anchorX:t.anchorX,anchorY:t.anchorY})})),e=s.container,r=s.renderer,s.outside&&e&&r&&(h=A.getBBox(),r.setSize(h.width+h.x,h.height+h.y,!1),f=f.getChartPosition(),e.style.left=f.left+"px",e.style.top=f.top+"px")},y.prototype.drawTracker=function(){if(this.followPointer||!this.options.stickOnContact)this.tracker&&this.tracker.destroy();else{var t=this.chart,e=this.label,i=t.hoverPoint;if(e&&i){var o={x:0,y:0,width:0,height:0};i=this.getAnchor(i);var n=e.getBBox();i[0]+=t.plotLeft-e.translateX,i[1]+=t.plotTop-e.translateY,o.x=Math.min(0,i[0]),o.y=Math.min(0,i[1]),o.width=0>i[0]?Math.max(Math.abs(i[0]),n.width-i[0]):Math.max(Math.abs(i[0]),n.width),o.height=0>i[1]?Math.max(Math.abs(i[1]),n.height-Math.abs(i[1])):Math.max(Math.abs(i[1]),n.height),this.tracker?this.tracker.attr(o):(this.tracker=e.renderer.rect(o).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}},y.prototype.styledModeFormat=function(t){return t.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},y.prototype.tooltipFooterHeaderFormatter=function(t,e){var i=e?"footer":"header",o=t.series,n=o.tooltipOptions,s=n.xDateFormat,r=o.xAxis,a=r&&"datetime"===r.options.type&&c(t.key),d=n[i+"Format"];return h(this,"headerFormatter",e={isFooter:e,labelConfig:t},(function(e){a&&!s&&(s=this.getXDateFormat(t,n,r)),a&&s&&(t.point&&t.point.tooltipDateKeys||["key"]).forEac
1h((function(t){d=d.replace("{point."+t+"}","{point."+t+":"+s+"}")})),o.chart.styledMode&&(d=this.styledModeFormat(d)),e.text=l(d,{point:t,series:o},this.chart)})),e.text},y.prototype.update=function(t){this.destroy(),p(!0,this.chart.options.tooltip.userOptions,t),this.init(this.chart,p(!0,this.options,t))},y.prototype.updatePosition=function(t){var e=this.chart,i=e.pointer,o=this.getLabel(),s=t.plotX+e.plotLeft,r=t.plotY+e.plotTop;if(i=i.getChartPosition(),t=(this.options.positioner||this.getPosition).call(this,o.width,o.height,t),this.outside){var a=(this.options.borderWidth||0)+2*this.distance;this.renderer.setSize(o.width+a,o.height+a,!1),(e=e.containerScaling)&&(n(this.container,{transform:"scale("+e.scaleX+", "+e.scaleY+")"}),s*=e.scaleX,r*=e.scaleY),s+=i.left-t.x,r+=i.top-t.y}this.move(Math.round(t.x),Math.round(t.y||0),s,r)},y}();return t.Tooltip=y,t.Tooltip})),e(i,"Core/Pointer.js",[i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Tooltip.js"],i["Core/Utilities.js"]],(function(t,e,i,o){var n=t.parse,s=e.charts,r=e.noop,a=o.addEvent,h=o.attr,l=o.css,c=o.defined,d=o.extend,p=o.find,u=o.fireEvent,f=o.isNumber,g=o.isObject,m=o.objectEach,y=o.offset,v=o.pick,x=o.splat;return t=function(){function t(t,e){this.lastValidTouch={},this.pinchDown=[],this.runChartClick=!1,this.chart=t,this.hasDragged=!1,this.options=e,this.unbindContainerMouseLeave=function(){},this.unbindContainerMouseEnter=function(){},this.init(t,e)}return t.prototype.applyInactiveState=function(t){var e,i=[];(t||[]).forEach((function(t){e=t.series,i.push(e),e.linkedParent&&i.push(e.linkedParent),e.linkedSeries&&(i=i.concat(e.linkedSeries)),e.navigatorSeries&&i.push(e.navigatorSeries)})),this.chart.series.forEach((function(t){-1===i.indexOf(t)?t.setState("inactive",!0):t.options.inactiveOtherPoints&&t.setAllPointsToState("inactive")}))},t.prototype.destroy=function(){var t=this;void 0!==t.unDocMouseMove&&t.unDocMouseMove(),this.unbindContainerMouseLeave(),e.chartCount||(e.unbindDocumentMouseUp&&(e.unbindDocumentMouseUp=e.unbindDocumentMouseUp()),e.unbindDocumentTouchEnd&&(e.unbindDocumentTouchEnd=e.unbindDocumentTouchEnd())),clearInterval(t.tooltipTimeout),m(t,(function(e,i){t[i]=void 0}))},t.prototype.drag=function(t){var e=this.chart,i=e.options.chart,o=t.chartX,s=t.chartY,r=this.zoomHor,a=this.zoomVert,h=e.plotLeft,l=e.plotTop,c=e.plotWidth,d=e.plotHeight,p=this.selectionMarker,u=this.mouseDownX||0,f=this.mouseDownY||0,m=g(i.panning)?i.panning&&i.panning.enabled:i.panning,y=i.panKey&&t[i.panKey+"Key"];if((!p||!p.touch)&&(o<h?o=h:o>h+c&&(o=h+c),s<l?s=l:s>l+d&&(s=l+d),this.hasDragged=Math.sqrt(Math.pow(u-o,2)+Math.pow(f-s,2)),10<this.hasDragged)){var v=e.isInsidePlot(u-h,f-l);e.hasCartesianSeries&&(this.zoomX||this.zoomY)&&v&&!y&&!p&&(this.selectionMarker=p=e.renderer.rect(h,l,r?1:c,a?1:d,0).attr({class:"highcharts-selection-marker",zIndex:7}).add(),e.styledMode||p.attr({fill:i.selectionMarkerFill||n("#335cad").setOpacity(.25).get()})),p&&r&&(o-=u,p.attr({width:Math.abs(o),x:(0<o?0:o)+u})),p&&a&&(o=s-f,p.attr({height:Math.abs(o),y:(0<o?0:o)+f})),v&&!p&&m&&e.pan(t,i.panning)}},t.prototype.dragStart=function(t){var e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=this.mouseDownX=t.chartX,e.mouseDownY=this.mouseDownY=t.chartY},t.prototype.drop=function(t){var e=this,i=this.chart,o=this.hasPinched;if(this.selectionMarker){var n,s={originalEvent:t,xAxis:[],yAxis:[]},r=this.selectionMarker,a=r.attr?r.attr("x"):r.x,h=r.attr?r.attr("y"):r.y,p=r.attr?r.attr("width"):r.width,g=r.attr?r.attr("height"):r.height;(this.hasDragged||o)&&(i.axes.forEach((function(i){if(i.zoomEnabled&&c(i.min)&&(o||e[{xAxis:"zoomX",yAxis:"zoomY"}[i.coll]])&&f(a)&&f(h)){var r=i.horiz,l="touchend"===t.type?i.minPixelPadding:0,d=i.toValue((r?a:h)+l);r=i.toValue((r?a+p:h+g)-l),s[i.coll].push({axis:i,min:Math.min(d,r),max:Math.max(d,r)}),n=!0}})),n&&u(i,"selection",s,(function(t){i.zoom(d(t,o?{animation:!1}:null))}))),f(i.index)&&(this.selectionMarker=this.selectionMarker.destroy()),o&&this.scaleGroups()}i&&f(i.index)&&(l(i.container,{cursor:i._cursor}),i.cancelClick=10<this.hasDragged,i.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])}
1,t.prototype.findNearestKDPoint=function(t,e,i){var o,n=this.chart,s=n.hoverPoint;return n=n.tooltip,s&&n&&n.isStickyOnContact()?s:(t.forEach((function(t){var n=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y");if(t=t.searchPoint(i,n),(n=g(t,!0))&&!(n=!g(o,!0))){n=o.distX-t.distX;var s=o.dist-t.dist,r=(t.series.group&&t.series.group.zIndex)-(o.series.group&&o.series.group.zIndex);n=0<(0!==n&&e?n:0!==s?s:0!==r?r:o.series.index>t.series.index?-1:1)}n&&(o=t)})),o)},t.prototype.getChartCoordinatesFromPoint=function(t,e){var i=t.series,o=i.xAxis;i=i.yAxis;var n=v(t.clientX,t.plotX),s=t.shapeArgs;return o&&i?e?{chartX:o.len+o.pos-n,chartY:i.len+i.pos-t.plotY}:{chartX:n+o.pos,chartY:t.plotY+i.pos}:s&&s.x&&s.y?{chartX:s.x,chartY:s.y}:void 0},t.prototype.getChartPosition=function(){return this.chartPosition||(this.chartPosition=y(this.chart.container))},t.prototype.getCoordinates=function(t){var e={xAxis:[],yAxis:[]};return this.chart.axes.forEach((function(i){e[i.isXAxis?"xAxis":"yAxis"].push({axis:i,value:i.toValue(t[i.horiz?"chartX":"chartY"])})})),e},t.prototype.getHoverData=function(t,e,i,o,n,s){var r,a=[];o=!(!o||!t);var h=e&&!e.stickyTracking,l={chartX:s?s.chartX:void 0,chartY:s?s.chartY:void 0,shared:n};return u(this,"beforeGetHoverData",l),h=h?[e]:i.filter((function(t){return l.filter?l.filter(t):t.visible&&!(!n&&t.directTouch)&&v(t.options.enableMouseTracking,!0)&&t.stickyTracking})),e=(r=o||!s?t:this.findNearestKDPoint(h,n,s))&&r.series,r&&(n&&!e.noSharedTooltip?(h=i.filter((function(t){return l.filter?l.filter(t):t.visible&&!(!n&&t.directTouch)&&v(t.options.enableMouseTracking,!0)&&!t.noSharedTooltip}))).forEach((function(t){var e=p(t.points,(function(t){return t.x===r.x&&!t.isNull}));g(e)&&(t.chart.isBoosting&&(e=t.getPoint(e)),a.push(e))})):a.push(r)),u(this,"afterGetHoverData",l={hoverPoint:r}),{hoverPoint:l.hoverPoint,hoverSeries:e,hoverPoints:a}},t.prototype.getPointFromEvent=function(t){t=t.target;for(var e;t&&!e;)e=t.point,t=t.parentNode;return e},t.prototype.onTrackerMouseOut=function(t){t=t.relatedTarget||t.toElement;var e=this.chart.hoverSeries;this.isDirectTouch=!1,!e||!t||e.stickyTracking||this.inClass(t,"highcharts-tooltip")||this.inClass(t,"highcharts-series-"+e.index)&&this.inClass(t,"highcharts-tracker")||e.onMouseOut()},t.prototype.inClass=function(t,e){for(var i;t;){if(i=h(t,"class")){if(-1!==i.indexOf(e))return!0;if(-1!==i.indexOf("highcharts-container"))return!1}t=t.parentNode}},t.prototype.init=function(t,e){this.options=e,this.chart=t,this.runChartClick=e.chart.events&&!!e.chart.events.click,this.pinchDown=[],this.lastValidTouch={},i&&(t.tooltip=new i(t,e.tooltip),this.followTouchMove=v(e.tooltip.followTouchMove,!0)),this.setDOMEvents()},t.prototype.normalize=function(t,e){var i=t.touches,o=i?i.length?i.item(0):v(i.changedTouches,t.changedTouches)[0]:t;return e||(e=this.getChartPosition()),i=o.pageX-e.left,e=o.pageY-e.top,(o=this.chart.containerScaling)&&(i/=o.scaleX,e/=o.scaleY),d(t,{chartX:Math.round(i),chartY:Math.round(e)})},t.prototype.onContainerClick=function(t){var e=this.chart,i=e.hoverPoint;t=this.normalize(t);var o=e.plotLeft,n=e.plotTop;e.cancelClick||(i&&this.inClass(t.target,"highcharts-tracker")?(u(i.series,"click",d(t,{point:i})),e.hoverPoint&&i.firePointEvent("click",t)):(d(t,this.getCoordinates(t)),e.isInsidePlot(t.chartX-o,t.chartY-n)&&u(e,"click",t)))},t.prototype.onContainerMouseDown=function(t){var i=1==(1&(t.buttons||t.button));t=this.normalize(t),e.isFirefox&&0!==t.button&&this.onContainerMouseMove(t),(void 0===t.button||i)&&(this.zoomOption(t),i&&t.preventDefault&&t.preventDefault(),this.dragStart(t))},t.prototype.onContainerMouseLeave=function(t){var i=s[v(e.hoverChartIndex,-1)],o=this.chart.tooltip;t=this.normalize(t),i&&(t.relatedTarget||t.toElement)&&(i.pointer.reset(),i.pointer.chartPosition=void 0),o&&!o.isHidden&&this.reset()},t.prototype.onContainerMouseEnter=function(t){delete this.chartPosition},t.prototype.onContainerMouseMove=function(t){var e=this.chart;t=this.normalize(t),this.setHoverChartIndex(),t.preventDefault||(t.returnValue=!1),"mousedown"===e.mouseIsDown&&this.drag(t),e.openMenu||!this.inClass(t.target,"highcharts-tracker")&&!e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop)||this.runPointActions(t)},t.prototype.onDocumentTouchEnd=function(t){s[e.hoverChartIndex]&&s[e.hoverChartIndex].pointer.drop(t)},t.prototype.onContainerTouchMove=function(t){this.touch(t)},t.prototype.onContainerTouchStart=function(t){this.zoomOption(t),this.touch(t,!0)},t.prototype.onDocumentMouseMove=function(t){var e=this.chart,i=this.chartPosition;t=this.normalize(t,i);var o=e.tooltip;!i||o&&o.isStickyOnContact()||e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop)||this.inClass(t.target,"highcharts-tracker")||this.reset()},t.prototype.onDocumentMouseUp=function(t){var i=s[v(e.hoverChartIndex,-1)];i&&i.pointer.drop(t)},t.prototype.pinch=function(t){var e=this,i=e.chart,o=e.pinchDown,n=t.touches||[],s=n.length,a=e.lastValidTouch,h=e.hasZoom,l=e.selectionMarker,c={},p=1===s&&(e.inClass(t.target,"highcharts-tracker")&&i.runTrackerClick||e.runChartClick),u={};1<s&&(e.initiated=!0),h&&e.initiated&&!p&&!1!==t.cancelable&&t.preventDefault(),[].map.call(n,(function(t){return e.normalize(t)})),"touchstart"===t.type?([].forEach.call(n,(function(t,e){o[e]={chartX:t.chartX,chartY:t.chartY}})),a.x=[o[0].chartX,o[1]&&o[1].chartX],a.y=[o[0].chartY,o[1]&&o[1].chartY],i.axes.forEac
1h((function(t){if(t.zoomEnabled){var e=i.bounds[t.horiz?"h":"v"],o=t.minPixelPadding,n=t.toPixels(Math.min(v(t.options.min,t.dataMin),t.dataMin)),s=t.toPixels(Math.max(v(t.options.max,t.dataMax),t.dataMax)),r=Math.max(n,s);e.min=Math.min(t.pos,Math.min(n,s)-o),e.max=Math.max(t.pos+t.len,r+o)}})),e.res=!0):e.followTouchMove&&1===s?this.runPointActions(e.normalize(t)):o.length&&(l||(e.selectionMarker=l=d({destroy:r,touch:!0},i.plotBox)),e.pinchTranslate(o,n,c,l,u,a),e.hasPinched=h,e.scaleGroups(c,u),e.res&&(e.res=!1,this.reset(!1,0)))},t.prototype.pinchTranslate=function(t,e,i,o,n,s){this.zoomHor&&this.pinchTranslateDirection(!0,t,e,i,o,n,s),this.zoomVert&&this.pinchTranslateDirection(!1,t,e,i,o,n,s)},t.prototype.pinchTranslateDirection=function(t,e,i,o,n,s,r,a){var h,l,c=this.chart,d=t?"x":"y",p=t?"X":"Y",u="chart"+p,f=t?"width":"height",g=c["plot"+(t?"Left":"Top")],m=a||1,y=c.inverted,v=c.bounds[t?"h":"v"],x=1===e.length,b=e[0][u],w=i[0][u],C=!x&&e[1][u],S=!x&&i[1][u];if((i=function(){"number"==typeof S&&20<Math.abs(b-C)&&(m=a||Math.abs(w-S)/Math.abs(b-C)),l=(g-w)/m+b,h=c["plot"+(t?"Width":"Height")]/m})(),(e=l)<v.min){e=v.min;var k=!0}else e+h>v.max&&(e=v.max-h,k=!0);k?(w-=.8*(w-r[d][0]),"number"==typeof S&&(S-=.8*(S-r[d][1])),i()):r[d]=[w,S],y||(s[d]=l-g,s[f]=h),s=y?1/m:m,n[f]=h,n[d]=e,o[y?t?"scaleY":"scaleX":"scale"+p]=m,o["translate"+p]=s*g+(w-s*b)},t.prototype.reset=function(t,e){var i=this.chart,o=i.hoverSeries,n=i.hoverPoint,s=i.hoverPoints,r=i.tooltip,a=r&&r.shared?s:n;t&&a&&x(a).forEach((function(e){e.series.isCartesian&&void 0===e.plotX&&(t=!1)})),t?r&&a&&x(a).length&&(r.refresh(a),r.shared&&s?s.forEach((function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))})):n&&(n.setState(n.state,!0),i.axes.forEach((function(t){t.crosshair&&n.series[t.coll]===t&&t.drawCrosshair(null,n)})))):(n&&n.onMouseOut(),s&&s.forEach((function(t){t.setState()})),o&&o.onMouseOut(),r&&r.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),i.axes.forEach((function(t){t.hideCrosshair()})),this.hoverX=i.hoverPoints=i.hoverPoint=null)},t.prototype.runPointActions=function(t,i){var o=this.chart,n=o.tooltip&&o.tooltip.options.enabled?o.tooltip:void 0,r=!!n&&n.shared,h=i||o.hoverPoint,l=h&&h.series||o.hoverSeries;h=(l=this.getHoverData(h,l,o.series,(!t||"touchmove"!==t.type)&&(!!i||l&&l.directTouch&&this.isDirectTouch),r,t)).hoverPoint;var c=l.hoverPoints;if(i=(l=l.hoverSeries)&&l.tooltipOptions.followPointer,r=r&&l&&!l.noSharedTooltip,h&&(h!==o.hoverPoint||n&&n.isHidden)){if((o.hoverPoints||[]).forEach((function(t){-1===c.indexOf(t)&&t.setState()})),o.hoverSeries!==l&&l.onMouseOver(),this.applyInactiveState(c),(c||[]).forEach((function(t){t.setState("hover")})),o.hoverPoint&&o.hoverPoint.firePointEvent("mouseOut"),!h.series)return;o.hoverPoints=c,o.hoverPoint=h,h.firePointEvent("mouseOver"),n&&n.refresh(r?c:h,t)}else i&&n&&!n.isHidden&&(h=n.getAnchor([{}],t),n.updatePosition({plotX:h[0],plotY:h[1]}));this.unDocMouseMove||(this.unDocMouseMove=a(o.container.ownerDocument,"mousemove",(function(t){var i=s[e.hoverChartIndex];i&&i.pointer.onDocumentMouseMove(t)}))),o.axes.forEach((function(e){var i,n=v((e.crosshair||{}).snap,!0);n&&((i=o.hoverPoint)&&i.series[e.coll]===e||(i=p(c,(function(t){return t.series[e.coll]===e})))),i||!n?e.drawCrosshair(t,i):e.hideCrosshair()}))},t.prototype.scaleGroups=function(t,e){var i,o=this.chart;o.series.forEach((function(n){i=t||n.getPlotBox(),n.xAxis&&n.xAxis.zoomEnabled&&n.group&&(n.group.attr(i),n.markerGroup&&(n.markerGroup.attr(i),n.markerGroup.clip(e?o.clipRect:null)),n.dataLabelsGroup&&n.dataLabelsGroup.attr(i))})),o.clipRect.attr(e||o.clipBox)},t.prototype.setDOMEvents=function(){var t=this.chart.container,i=t.ownerDocument;t.onmousedown=this.onContainerMouseDown.bind(this),t.onmousemove=this.onContainerMouseMove.bind(this),t.onclick=this.onContainerClick.bind(this),this.unbindContainerMouseEnter=a(t,"mouseenter",this.onContainerMouseEnter.bind(this)),this.unbindContainerMouseLeave=a(t,"mouseleave",this.onContainerMouseLeave.bind(this)),e.unbindDocumentMouseUp||(e.unbindDocumentMouseUp=a(i,"mouseup",this.onDocumentMouseUp.bind(this))),e.hasTouch&&(a(t,"touchstart",this.onContainerTouchStart.bind(this)),a(t,"touchmove",this.onContainerTouchMove.bind(this)),e.unbindDocumentTouchEnd||(e.unbindDocumentTouchEnd=a(i,"touchend",this.onDocumentTouchEnd.bind(this))))},t.prototype.setHoverChartIndex=function(){var t=this.chart,i=e.charts[v(e.hoverChartIndex,-1)];i&&i!==t&&i.pointer.onContainerMouseLeave({relatedTarget:!0}),i&&i.mouseIsDown||(e.hoverChartIndex=t.index)},t.prototype.touch=function(t,e){var i=this.chart;if(this.setHoverChartIndex(),1===t.touches.length)if(t=this.normalize(t),i.isInsidePlot(t.chartX-i.plotLeft,t.chartY-i.plotTop)&&!i.openMenu){if(e&&this.runPointActions(t),"touchmove"===t.type)var o=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2));v(o,!0)&&this.pinch(t)}else e&&this.reset();else 2===t.touches.length&&this.pinch(t)},t.prototype.zoomOption=function(t){var e=this.chart,i=e.options.chart,o=i.zoomType||"";e=e.inverted,/touch/.test(t.type)&&(o=v(i.pinchType,o)),this.zoomX=t=/x/.test(o),this.zoomY=o=/y/.test(o),this.zoomHor=t&&!e||o&&e,this.zoomVert=o&&!e||t&&e,this.hasZoom=t||o},t}(),e.Pointer=t})),e(i,"Core/MSPointer.js",[i["Core/Globals.js"],i["Core/Pointer.js"],i["Core/Utilities.js"]],(function(t,e,
1i){function o(){var t=[];return t.item=function(t){return this[t]},d(u,(function(e){t.push({pageX:e.pageX,pageY:e.pageY,target:e.target})})),t}function n(e,i,n,s){"touch"!==e.pointerType&&e.pointerType!==e.MSPOINTER_TYPE_TOUCH||!r[t.hoverChartIndex]||(s(e),(s=r[t.hoverChartIndex].pointer)[i]({type:n,target:e.currentTarget,preventDefault:h,touches:o()}))}var s=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),r=t.charts,a=t.doc,h=t.noop,l=i.addEvent,c=i.css,d=i.objectEach,p=i.removeEvent,u={},f=!!t.win.PointerEvent;return function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.batchMSEvents=function(t){t(this.chart.container,f?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,f?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(a,f?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},e.prototype.destroy=function(){this.batchMSEvents(p),t.prototype.destroy.call(this)},e.prototype.init=function(e,i){t.prototype.init.call(this,e,i),this.hasZoom&&c(e.container,{"-ms-touch-action":"none","touch-action":"none"})},e.prototype.onContainerPointerDown=function(t){n(t,"onContainerTouchStart","touchstart",(function(t){u[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}}))},e.prototype.onContainerPointerMove=function(t){n(t,"onContainerTouchMove","touchmove",(function(t){u[t.pointerId]={pageX:t.pageX,pageY:t.pageY},u[t.pointerId].target||(u[t.pointerId].target=t.currentTarget)}))},e.prototype.onDocumentPointerUp=function(t){n(t,"onDocumentTouchEnd","touchend",(function(t){delete u[t.pointerId]}))},e.prototype.setDOMEvents=function(){t.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(l)},e}(e)})),e(i,"Core/Legend.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,i){var o=t.animObject,n=t.setAnimation,s=i.addEvent,r=i.css,a=i.defined,h=i.discardElement,l=i.find,c=i.fireEvent,d=i.format,p=i.isNumber,u=i.merge,f=i.pick,g=i.relativeLength,m=i.stableSort,y=i.syncTimeout;t=i.wrap,i=e.isFirefox;var v=e.marginNames,x=e.win,b=function(){function t(t,e){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={},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=t,this.init(t,e)}return t.prototype.init=function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),s(this.chart,"endResize",(function(){this.legend.positionCheckboxes()})),this.proximate?this.unchartrender=s(this.chart,"render",(function(){this.legend.proximatePositions(),this.legend.positionItems()})):this.unchartrender&&this.unchartrender())},t.prototype.setOptions=function(t){var e=f(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=u(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop||0,this.itemMarginBottom=t.itemMarginBottom||0,this.padding=e,this.initialItemY=e-5,this.symbolWidth=f(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0},t.prototype.update=function(t,e){var i=this.chart;this.setOptions(u(!0,this.options,t)),this.destroy(),i.isDirtyLegend=i.isDirtyBox=!0,f(e,!0)&&i.redraw(),c(this,"afterUpdate")},t.prototype.colorizeItem=function(t,e){if(t.legendGroup[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var i=this.options,o=t.legendItem,n=t.legendLine,s=t.legendSymbol,r=this.itemHiddenStyle.color;i=e?i.itemStyle.color:r;var a=e&&t.color||r,h=t.options&&t.options.marker,l={fill:a};o&&o.css({fill:i,color:i}),n&&n.attr({stroke:a}),s&&(h&&s.isMarker&&(l=t.pointAttribs(),e||(l.stroke=l.fill=r)),s.attr(l))}c(this,"afterColorizeItem",{item:t,visible:e})}
1,t.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},t.prototype.positionItem=function(t){var e=this,i=this.options,o=i.symbolPadding,n=!i.rtl,s=t._legendItemPos;i=s[0],s=s[1];var r=t.checkbox,h=t.legendGroup;h&&h.element&&(o={translateX:n?i:this.legendWidth-i-2*o-4,translateY:s},n=function(){c(e,"afterPositionItem",{item:t})},a(h.translateY)?h.animate(o,void 0,n):(h.attr(o),n())),r&&(r.x=i,r.y=s)},t.prototype.destroyItem=function(t){var e=t.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach((function(e){t[e]&&(t[e]=t[e].destroy())})),e&&h(t.checkbox)},t.prototype.destroy=function(){function t(t){this[t]&&(this[t]=this[t].destroy())}this.getAllItems().forEach((function(e){["legendItem","legendGroup"].forEach(t,e)})),"clipRect up down pager nav box title group".split(" ").forEach(t,this),this.display=null},t.prototype.positionCheckboxes=function(){var t=this.group&&this.group.alignAttr,e=this.clipHeight||this.legendHeight,i=this.titleHeight;if(t){var o=t.translateY;this.allItems.forEach((function(n){var s=n.checkbox;if(s){var a=o+i+s.y+(this.scrollOffset||0)+3;r(s,{left:t.translateX+n.checkboxOffset+s.x-20+"px",top:a+"px",display:this.proximate||a>o-6&&a<o+e-6?"":"none"})}}),this)}},t.prototype.renderTitle=function(){var t=this.options,e=this.padding,i=t.title,o=0;i.text&&(this.title||(this.title=this.chart.renderer.label(i.text,e-3,e-4,null,null,null,t.useHTML,null,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(i.style),this.title.add(this.group)),i.width||this.title.css({width:this.maxLegendWidth+"px"}),o=(t=this.title.getBBox()).height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:o})),this.titleHeight=o},t.prototype.setText=function(t){var e=this.options;t.legendItem.attr({text:e.labelFormat?d(e.labelFormat,t,this.chart):e.labelFormatter.call(t)})},t.prototype.renderItem=function(t){var e=this.chart,i=e.renderer,o=this.options,n=this.symbolWidth,s=o.symbolPadding,r=this.itemStyle,a=this.itemHiddenStyle,h="horizontal"===o.layout?f(o.itemDistance,20):0,l=!o.rtl,c=t.legendItem,d=!t.series,p=!d&&t.series.drawLegendSymbol?t.series:t,g=p.options;h=n+s+h+((g=this.createCheckboxForItem&&g&&g.showCheckbox)?20:0);var m=o.useHTML,y=t.options.className;c||(t.legendGroup=i.g("legend-item").addClass("highcharts-"+p.type+"-series highcharts-color-"+t.colorIndex+(y?" "+y:"")+(d?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),t.legendItem=c=i.text("",l?n+s:-s,this.baseline||0,m),e.styledMode||c.css(u(t.visible?r:a)),c.attr({align:l?"left":"right",zIndex:2}).add(t.legendGroup),this.baseline||(this.fontMetrics=i.fontMetrics(e.styledMode?12:r.fontSize,c),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,c.attr("y",this.baseline)),this.symbolHeight=o.symbolHeight||this.fontMetrics.f,p.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,c,m)),g&&!t.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t),this.colorizeItem(t,t.visible),!e.styledMode&&r.width||c.css({width:(o.itemWidth||this.widthOption||e.spacingBox.width)-h+"px"}),this.setText(t),e=c.getBBox(),t.itemWidth=t.checkboxOffset=o.itemWidth||t.legendItemWidth||e.width+h,this.maxItemWidth=Math.max(this.maxItemWidth,t.itemWidth),this.totalItemWidth+=t.itemWidth,this.itemHeight=t.itemHeight=Math.round(t.legendItemHeight||e.height||this.symbolHeight)},t.prototype.layoutItem=function(t){var e=this.options,i=this.padding,o="horizontal"===e.layout,n=t.itemHeight,s=this.itemMarginBottom,r=this.itemMarginTop,a=o?f(e.itemDistance,20):0,h=this.maxLegendWidth;e=e.alignColumns&&this.totalItemWidth>h?this.maxItemWidth:t.itemWidth,o&&this.itemX-i+e>h&&(this.itemX=i,this.lastLineHeight&&(this.itemY+=r+this.lastLineHeight+s),this.lastLineHeight=0),this.lastItemY=r+this.itemY+s,this.lastLineHeight=Math.max(n,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],o?this.itemX+=e:(this.itemY+=r+n+s,this.lastLineHeight=n),this.offsetWidth=this.widthOption||Math.max((o?this.itemX-i-(t.checkbox?0:a):e)+i,this.offsetWidth)},t.prototype.getAllItems=function(){var t=[];
1return this.chart.series.forEach((function(e){var i=e&&e.options;e&&f(i.showInLegend,!a(i.linkedTo)&&void 0,!0)&&(t=t.concat(e.legendItems||("point"===i.legendType?e.data:e)))})),c(this,"afterGetAllItems",{allItems:t}),t},t.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},t.prototype.adjustMargins=function(t,e){var i=this.chart,o=this.options,n=this.getAlignment();n&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(s,r){s.test(n)&&!a(t[r])&&(i[v[r]]=Math.max(i[v[r]],i.legend[(r+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][r]*o[r%2?"x":"y"]+f(o.margin,12)+e[r]+(i.titleOffset[r]||0)))}))},t.prototype.proximatePositions=function(){var t=this.chart,i=[],o="left"===this.options.align;this.allItems.forEach((function(e){var n,s=o;if(e.yAxis){e.xAxis.options.reversed&&(s=!s),e.points&&(n=l(s?e.points:e.points.slice(0).reverse(),(function(t){return p(t.plotY)}))),s=this.itemMarginTop+e.legendItem.getBBox().height+this.itemMarginBottom;var r=e.yAxis.top-t.plotTop;e.visible?(n=n?n.plotY:e.yAxis.height,n+=r-.3*s):n=r+e.yAxis.height,i.push({target:n,size:s,item:e})}}),this),e.distribute(i,t.plotHeight),i.forEach((function(e){e.item._legendItemPos[1]=t.plotTop-t.spacing[0]+e.pos}))},t.prototype.render=function(){var t=this.chart,e=t.renderer,i=this.group,o=this.box,n=this.options,s=this.padding;this.itemX=s,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=g(n.width,t.spacingBox.width-s);var r=t.spacingBox.width-2*s-n.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(r/=2),this.maxLegendWidth=this.widthOption||r,i||(this.group=i=e.g("legend").attr({zIndex:7}).add(),this.contentGroup=e.g().attr({zIndex:1}).add(i),this.scrollGroup=e.g().add(this.contentGroup)),this.renderTitle();var a=this.getAllItems();m(a,(function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)})),n.reversed&&a.reverse(),this.allItems=a,this.display=r=!!a.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,a.forEach(this.renderItem,this),a.forEach(this.layoutItem,this),a=(this.widthOption||this.offsetWidth)+s;var h=this.lastItemY+this.lastLineHeight+this.titleHeight;h=this.handleOverflow(h),h+=s,o||(this.box=o=e.rect().addClass("highcharts-legend-box").attr({r:n.borderRadius}).add(i),o.isNew=!0),t.styledMode||o.attr({stroke:n.borderColor,"stroke-width":n.borderWidth||0,fill:n.backgroundColor||"none"}).shadow(n.shadow),0<a&&0<h&&(o[o.isNew?"attr":"animate"](o.crisp.call({},{x:0,y:0,width:a,height:h},o.strokeWidth())),o.isNew=!1),o[r?"show":"hide"](),t.styledMode&&"none"===i.getStyle("display")&&(a=h=0),this.legendWidth=a,this.legendHeight=h,r&&this.align(),this.proximate||this.positionItems(),c(this,"afterRender")},t.prototype.align=function(t){void 0===t&&(t=this.chart.spacingBox);var e=this.chart,i=this.options,o=t.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<e.titleOffset[0]?o+=e.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<e.titleOffset[2]&&(o-=e.titleOffset[2]),o!==t.y&&(t=u(t,{y:o})),this.group.align(u(i,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":i.verticalAlign}),!0,t)},t.prototype.handleOverflow=function(t){var e=this,i=this.chart,o=i.renderer,n=this.options,s=n.y,r=this.padding;s=i.spacingBox.height+("top"===n.verticalAlign?-s:s)-r;var a,h,l=n.maxHeight,c=this.clipRect,d=n.navigation,p=f(d.animation,!0),u=d.arrowSize||12,g=this.nav,m=this.pages,y=this.allItems,v=function(t){"number"==typeof t?c.attr({height:t}):c&&(e.clipRect=c.destroy(),e.contentGroup.clip()),e.contentGroup.div&&(e.contentGroup.div.style.clip=t?"rect("+r+"px,9999px,"+(r+t)+"px,0)":"auto")},x=function(t){return e[t]=o.circle(0,0,1.3*u).translate(u/2,u/2).add(g),i.styledMode||e[t].attr("fill","rgba(0,0,0,0.0001)"),e[t]};return"horizontal"!==n.layout||"middle"===n.verticalAlign||n.floating||(s/=2),l&&(s=Math.min(s,l)),m.length=0,t>s&&!1!==d.enabled?(this.clipHeight=a=Math.max(s-20-this.titleHeight-r,0),this.currentPage=f(this.currentPage,1),this.fullHeight=t,y.forEac
1h((function(t,e){var i=t._legendItemPos[1],o=Math.round(t.legendItem.getBBox().height),n=m.length;(!n||i-m[n-1]>a&&(h||i)!==m[n-1])&&(m.push(h||i),n++),t.pageIx=n-1,h&&(y[e-1].pageIx=n-1),e===y.length-1&&i+o-m[n-1]>a&&i!==h&&(m.push(i),t.pageIx=n),i!==h&&(h=i)})),c||(c=e.clipRect=o.clipRect(0,r,9999,0),e.contentGroup.clip(c)),v(a),g||(this.nav=g=o.g().attr({zIndex:1}).add(this.group),this.up=o.symbol("triangle",0,0,u,u).add(g),x("upTracker").on("click",(function(){e.scroll(-1,p)})),this.pager=o.text("",15,10).addClass("highcharts-legend-navigation"),i.styledMode||this.pager.css(d.style),this.pager.add(g),this.down=o.symbol("triangle-down",0,0,u,u).add(g),x("downTracker").on("click",(function(){e.scroll(1,p)}))),e.scroll(0),t=s):g&&(v(),this.nav=g.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},t.prototype.scroll=function(t,e){var i=this,s=this.chart,r=this.pages,a=r.length,h=this.currentPage+t;t=this.clipHeight;var l=this.options.navigation,d=this.pager,p=this.padding;h>a&&(h=a),0<h&&(void 0!==e&&n(e,s),this.nav.attr({translateX:p,translateY:t+this.padding+7+this.titleHeight,visibility:"visible"}),[this.up,this.upTracker].forEach((function(t){t.attr({class:1===h?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})})),d.attr({text:h+"/"+a}),[this.down,this.downTracker].forEach((function(t){t.attr({x:18+this.pager.getBBox().width,class:h===a?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),this),s.styledMode||(this.up.attr({fill:1===h?l.inactiveColor:l.activeColor}),this.upTracker.css({cursor:1===h?"default":"pointer"}),this.down.attr({fill:h===a?l.inactiveColor:l.activeColor}),this.downTracker.css({cursor:h===a?"default":"pointer"})),this.scrollOffset=-r[h-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=h,this.positionCheckboxes(),e=o(f(e,s.renderer.globalAnimation,!0)),y((function(){c(i,"afterScroll",{currentPage:h})}),e.duration))},t}();return(/Trident\/7\.0/.test(x.navigator&&x.navigator.userAgent)||i)&&t(b.prototype,"positionItem",(function(t,e){var i=this,o=function(){e._legendItemPos&&t.call(i,e)};o(),i.bubbleLegend||setTimeout(o)})),e.Legend=b,e.Legend})),e(i,"Core/Series/Point.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,i){var o=t.animObject,n=i.defined,s=i.erase,r=i.extend,a=i.fireEvent,h=i.format,l=i.getNestedProperty,c=i.isArray,d=i.isNumber,p=i.isObject,u=i.syncTimeout,f=i.pick,g=i.removeEvent,m=i.uniqueKey;return t=function(){function t(){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.series=void 0,this.visible=!0,this.x=void 0}return t.prototype.animateBeforeDestroy=function(){var t,e=this,i={x:e.startXPos,opacity:0},o=e.getGraphicalProps();o.singular.forEach((function(o){t="dataLabel"===o,e[o]=e[o].animate(t?{x:e[o].startXPos,y:e[o].startYPos,opacity:0}:i)})),o.plural.forEach((function(t){e[t].forEach((function(t){t.element&&t.animate(r({x:e.startXPos},t.startYPos?{x:t.startXPos,y:t.startYPos}:{}))}))}))},t.prototype.applyOptions=function(e,i){var o=this.series,n=o.options.pointValKey||o.pointValKey;return e=t.prototype.optionsToObject.call(this,e),r(this,e),this.options=this.options?r(this.options,e):e,e.group&&delete this.group,e.dataLabels&&delete this.dataLabels,n&&(this.y=t.prototype.getNestedProperty.call(this,n)),this.formatPrefix=(this.isNull=f(this.isValid&&!this.isValid(),null===this.x||!d(this.y)))?"null":"point",this.selected&&(this.state="select"),"name"in this&&void 0===i&&o.xAxis&&o.xAxis.hasNames&&(this.x=o.xAxis.nameToX(this)),void 0===this.x&&o&&(this.x=void 0===i?o.autoIncrement(this):i),this},t.prototype.destroy=function(){function t(){for(r in(e.graphic||e.dataLabel||e.dataLabels)&&(g(e),e.destroyElements()),e)e[r]=null}var e=this,i=e.series,n=i.chart;i=i.options.dataSorting;var r,a=n.hoverPoints,h=o(e.series.chart.renderer.globalAnimation);e.legendItem&&n.legend.destroyItem(e),a&&(e.setState(),s(a,e),a.length||(n.hoverPoints=null)),e===n.hoverPoint&&e.onMouseOut(),i&&i.enabled?(this.animateBeforeDestroy(),u(t,h.duration)):t(),n.pointCount--},t.prototype.destroyElements=function(t){var e=this;(t=e.getGraphicalProps(t)).singular.forEach((function(t){e[t]=e[t].destroy()})),t.plural.forEach((function(t){e[t].forEach((function(t){t.element&&t.destroy()})),delete e[t]}))}
1,t.prototype.firePointEvent=function(t,e,i){var o=this,n=this.series.options;(n.point.events[t]||o.options&&o.options.events&&o.options.events[t])&&o.importEvents(),"click"===t&&n.allowPointSelect&&(i=function(t){o.select&&o.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),a(o,t,e,i)},t.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},t.prototype.getGraphicalProps=function(t){var e,i=this,o=[],n={singular:[],plural:[]};for((t=t||{graphic:1,dataLabel:1}).graphic&&o.push("graphic","shadowGroup"),t.dataLabel&&o.push("dataLabel","dataLabelUpper","connector"),e=o.length;e--;){var s=o[e];i[s]&&n.singular.push(s)}return["dataLabel","connector"].forEach((function(e){var o=e+"s";t[e]&&i[o]&&n.plural.push(o)})),n},t.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}},t.prototype.getNestedProperty=function(t){if(t)return 0===t.indexOf("custom.")?l(t,this.options):this[t]},t.prototype.getZone=function(){var t=this.series,e=t.zones;t=t.zoneAxis||"y";var i,o=0;for(i=e[o];this[t]>=i.value;)i=e[++o];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=i&&i.color&&!this.options.color?i.color:this.nonZonedColor,i},t.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},t.prototype.init=function(t,e,i){return this.series=t,this.applyOptions(e,i),this.id=n(this.id)?this.id:m(),this.resolveColor(),t.chart.pointCount++,a(this,"afterInit"),this},t.prototype.optionsToObject=function(e){var i={},o=this.series,n=o.options.keys,s=n||o.pointArrayMap||["y"],r=s.length,a=0,h=0;if(d(e)||null===e)i[s[0]]=e;else if(c(e))for(!n&&e.length>r&&("string"===(o=typeof e[0])?i.name=e[0]:"number"===o&&(i.x=e[0]),a++);h<r;)n&&void 0===e[a]||(0<s[h].indexOf(".")?t.prototype.setNestedProperty(i,e[a],s[h]):i[s[h]]=e[a]),a++,h++;else"object"==typeof e&&(i=e,e.dataLabels&&(o._hasPointLabels=!0),e.marker&&(o._hasPointMarkers=!0));return i},t.prototype.resolveColor=function(){var t=this.series,e=t.chart.options.chart.colorCount,i=t.chart.styledMode;delete this.nonZonedColor,i||this.options.color||(this.color=t.color),t.options.colorByPoint?(i||(e=t.options.colors||t.chart.options.colors,this.color=this.color||e[t.colorCounter],e=e.length),i=t.colorCounter,t.colorCounter++,t.colorCounter===e&&(t.colorCounter=0)):i=t.colorIndex,this.colorIndex=f(this.colorIndex,i)},t.prototype.setNestedProperty=function(t,e,i){return i.split(".").reduce((function(t,i,o,n){return t[i]=n.length-1===o?e:p(t[i],!0)?t[i]:{},t[i]}),t),t},t.prototype.tooltipFormatter=function(t){var e=this.series,i=e.tooltipOptions,o=f(i.valueDecimals,""),n=i.valuePrefix||"",s=i.valueSuffix||"";return e.chart.styledMode&&(t=e.chart.tooltip.styledModeFormat(t)),(e.pointArrayMap||["y"]).forEac
1h((function(e){e="{point."+e,(n||s)&&(t=t.replace(RegExp(e+"}","g"),n+e+"}"+s)),t=t.replace(RegExp(e+"}","g"),e+":,."+o+"f}")})),h(t,{point:this,series:this.series},e.chart)},t}(),e.Point=t})),e(i,"Core/Series/Series.js",[i["Core/Globals.js"],i["Core/Series/Point.js"],i["Core/Utilities.js"]],(function(t,e,i){var o=i.error,n=i.extendClass,s=i.fireEvent,r=i.getOptions,a=i.isObject,h=i.merge,l=i.objectEach;return(i=function(){function t(e,i){var o=h(t.defaultOptions,i);this.chart=e,this._i=e.series.length,e.series.push(this),this.options=o,this.userOptions=h(i)}return t.addSeries=function(e,i){t.seriesTypes[e]=i},t.cleanRecursively=function(e,i){var o={};return l(e,(function(n,s){a(e[s],!0)&&!e.nodeType&&i[s]?(n=t.cleanRecursively(e[s],i[s]),Object.keys(n).length&&(o[s]=n)):(a(e[s])||e[s]!==i[s])&&(o[s]=e[s])})),o},t.getSeries=function(e,i){void 0===i&&(i={});var n=e.options.chart;n=i.type||n.type||n.defaultSeriesType||"";var s=t.seriesTypes[n];return s||o(17,!0,e,{missingModuleFor:n}),new s(e,i)},t.seriesType=function(i,o,s,a,l){var c=r().plotOptions||{},d=t.seriesTypes;return o=o||"",c[i]=h(c[o],s),t.addSeries(i,n(d[o]||function(){},a)),d[i].prototype.type=i,l&&(d[i].prototype.pointClass=n(e,l)),d[i]},t.prototype.update=function(e,i){void 0===i&&(i=!0);var o=this,n=(e=t.cleanRecursively(e,this.userOptions)).type;return void 0!==n&&n!==o.type&&(o=t.getSeries(o.chart,e)),s(o,"update",{newOptions:e}),o.userOptions=h(e),s(o,"afterUpdate",{newOptions:e}),i&&o.chart.redraw(),o},t.defaultOptions={type:"base"},t.seriesTypes={},t}()).prototype.pointClass=e,t.seriesType=i.seriesType,t.seriesTypes=i.seriesTypes,i})),e(i,"Core/Chart/Chart.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/Axis.js"],i["Core/Series/Series.js"],i["Core/Globals.js"],i["Core/Legend.js"],i["Core/MSPointer.js"],i["Core/Options.js"],i["Core/Pointer.js"],i["Core/Time.js"],i["Core/Utilities.js"]],(function(t,e,i,o,n,s,r,a,h,l){var c=t.animate,d=t.animObject,p=t.setAnimation,u=o.charts,f=o.doc,g=o.win,m=r.defaultOptions,y=l.addEvent,v=l.attr,x=l.createElement,b=l.css,w=l.defined,C=l.discardElement,S=l.erase,k=l.error,A=l.extend,M=l.find,P=l.fireEvent,T=l.getStyle,E=l.isArray,L=l.isFunction,D=l.isNumber,O=l.isObject,I=l.isString,N=l.merge,j=l.numberFormat,B=l.objectEach,R=l.pick,F=l.pInt,z=l.relativeLength,G=l.removeEvent,X=l.splat,Y=l.syncTimeout,H=l.uniqueKey,W=o.marginNames,U=function(){function t(t,e,i){this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=this.spacing=this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.legend=this.labelCollectors=this.isResizing=this.index=this.container=this.colorCounter=this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0,this.getArgs(t,e,i)}return t.prototype.getArgs=function(t,e,i){I(t)||t.nodeName?(this.renderTo=t,this.init(e,i)):this.init(t,e)},t.prototype.init=function(t,e){var i,n=t.series,s=t.plotOptions||{};P(this,"init",{args:arguments},(function(){t.series=null;var r=(i=N(m,t)).chart||{};B(i.plotOptions,(function(t,e){O(t)&&(t.tooltip=s[e]&&N(s[e].tooltip)||void 0)})),i.tooltip.userOptions=t.chart&&t.chart.forExport&&t.tooltip.userOptions||t.tooltip,i.series=t.series=n,this.userOptions=t;var a=r.events;this.margin=[],this.spacing=[],this.bounds={h:{},v:{}},this.labelCollectors=[],this.callback=e,this.isResizing=0,this.options=i,this.axes=[],this.series=[],this.time=t.time&&Object.keys(t.time).length?new h(t.time):o.time,this.numberFormatter=r.numberFormatter||j,this.styledMode=r.styledMode,this.hasCartesianSeries=r.showAxes;var l=this;l.index=u.length,u.push(l),o.chartCount++,a&&B(a,(function(t,e){L(t)&&y(l,e,t)})),l.xAxis=[],l.yAxis=[],l.pointCount=l.colorCounter=l.symbolCounter=0,P(l,"afterInit"),l.firstRender()}))},t.prototype.initSeries=function(t){var e=this.options.chart;e=t.type||e.type||e.defaultSeriesType;var o=i.seriesTypes[e];return o||k(17,!0,this,{missingModuleFor:e}),"function"==typeof(e=new o(this,t)).init&&e.init(this,t),e}
1,t.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach((function(t){t.points||t.data||!t.enabledDataSorting||t.setData(t.options.data,!1)}))},t.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort((function(t,e){return t.linkedSeries.length||e.linkedSeries.length?e.linkedSeries.length-t.linkedSeries.length:0}))},t.prototype.orderSeries=function(t){var e=this.series;for(t=t||0;t<e.length;t++)e[t]&&(e[t].index=t,e[t].name=e[t].getName())},t.prototype.isInsidePlot=function(t,e,i){var o=i?e:t;return o={x:o,y:t=i?t:e,isInsidePlot:0<=o&&o<=this.plotWidth&&0<=t&&t<=this.plotHeight},P(this,"afterIsInsidePlot",o),o.isInsidePlot},t.prototype.redraw=function(t){P(this,"beforeRedraw");var e=this,i=e.axes,o=e.series,n=e.pointer,s=e.legend,r=e.userOptions.legend,a=e.isDirtyLegend,h=e.hasCartesianSeries,l=e.isDirtyBox,c=e.renderer,d=c.isHidden(),u=[];for(e.setResponsive&&e.setResponsive(!1),p(!!e.hasRendered&&t,e),d&&e.temporaryDisplay(),e.layOutTitles(),t=o.length;t--;){var f=o[t];if(f.options.stacking){var g=!0;if(f.isDirty){var m=!0;break}}}if(m)for(t=o.length;t--;)(f=o[t]).options.stacking&&(f.isDirty=!0);o.forEach((function(t){t.isDirty&&("point"===t.options.legendType?("function"==typeof t.updateTotals&&t.updateTotals(),a=!0):r&&(r.labelFormatter||r.labelFormat)&&(a=!0)),t.isDirtyData&&P(t,"updatedData")})),a&&s&&s.options.enabled&&(s.render(),e.isDirtyLegend=!1),g&&e.getStacks(),h&&i.forEach((function(t){e.isResizing&&D(t.min)||(t.updateNames(),t.setScale())})),e.getMargins(),h&&(i.forEach((function(t){t.isDirty&&(l=!0)})),i.forEach((function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,u.push((function(){P(t,"afterSetExtremes",A(t.eventArgs,t.getExtremes())),delete t.eventArgs}))),(l||g)&&t.redraw()}))),l&&e.drawChartBox(),P(e,"predraw"),o.forEach((function(t){(l||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1})),n&&n.reset(!0),c.draw(),P(e,"redraw"),P(e,"render"),d&&e.temporaryDisplay(!0),u.forEach((function(t){t.call()}))},t.prototype.get=function(t){function e(e){return e.id===t||e.options&&e.options.id===t}var i,o=this.series,n=M(this.axes,e)||M(this.series,e);for(i=0;!n&&i<o.length;i++)n=M(o[i].points||[],e);return n},t.prototype.getAxes=function(){var t=this,i=this.options,o=i.xAxis=X(i.xAxis||{});i=i.yAxis=X(i.yAxis||{}),P(this,"getAxes"),o.forEach((function(t,e){t.index=e,t.isX=!0})),i.forEach((function(t,e){t.index=e})),o.concat(i).forEach((function(i){new e(t,i)})),P(this,"afterGetAxes")},t.prototype.getSelectedPoints=function(){var t=[];return this.series.forEach((function(e){t=t.concat(e.getPointsCollection().filter((function(t){return R(t.selectedStaging,t.selected)})))})),t},t.prototype.getSelectedSeries=function(){return this.series.filter((function(t){return t.selected}))},t.prototype.setTitle=function(t,e,i){this.applyDescription("title",t),this.applyDescription("subtitle",e),this.applyDescription("caption",void 0),this.layOutTitles(i)},t.prototype.applyDescription=function(t,e){var i=this,o="title"===t?{color:"#333333",fontSize:this.options.isStock?"16px":"18px"}:{color:"#666666"};o=this.options[t]=N(!this.styledMode&&{style:o},this.options[t],e);var n=this[t];n&&e&&(this[t]=n=n.destroy()),o&&!n&&((n=this.renderer.text(o.text,0,0,o.useHTML).attr({align:o.align,class:"highcharts-"+t,zIndex:o.zIndex||4}).add()).update=function(e){i[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[t]](e)},this.styledMode||n.css(o.style),this[t]=n)},t.prototype.layOutTitles=function(t){var e=[0,0,0],i=this.renderer,o=this.spacingBox;["title","subtitle","caption"].forEach((function(t){var n=this[t],s=this.options[t],r=s.verticalAlign||"top";if(t="title"===t?-3:"top"===r?e[0]+2:0,n){if(!this.styledMode)var a=s.style.fontSize;a=i.fontMetrics(a,n).b,n.css({width:(s.width||o.width+(s.widthAdjust||0))+"px"});var h=Math.round(n.getBBox(s.useHTML).height);n.align(A({y:"bottom"===r?a:t+a,height:h},s),!1,"spacingBox"),s.floating||("top"===r?e[0]=Math.ceil(e[0]+h):"bottom"===r&&(e[2]=Math.ceil(e[2]+h)))}}),this),e[0]&&"top"===(this.options.title.verticalAlign||"top")&&(e[0]+=this.options.title.margin),e[2]&&"bottom"===this.options.caption.verticalAlign&&(e[2]+=this.options.caption.margin);var n=!this.titleOffset||this.titleOffset.join(",")!==e.join(",");this.titleOffset=e,P(this,"afterLayOutTitles"),!this.isDirtyBox&&n&&(this.isDirtyBox=this.isDirtyLegend=n,this.hasRendered&&R(t,!0)&&this.isDirtyBox&&this.redraw())},t.prototype.getChartSize=function(){var t=this.options.chart,e=t.width;t=t.height;var i=this.renderTo;w(e)||(this.containerWidth=T(i,"width")),w(t)||(this.containerHeight=T(i,"height")),this.chartWidth=Math.max(0,e||this.containerWidth||600),this.chartHe
1ight=Math.max(0,z(t,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))},t.prototype.temporaryDisplay=function(t){var e=this.renderTo;if(t)for(;e&&e.style;)e.hcOrigStyle&&(b(e,e.hcOrigStyle),delete e.hcOrigStyle),e.hcOrigDetached&&(f.body.removeChild(e),e.hcOrigDetached=!1),e=e.parentNode;else for(;e&&e.style&&(f.body.contains(e)||e.parentNode||(e.hcOrigDetached=!0,f.body.appendChild(e)),("none"===T(e,"display",!1)||e.hcOricDetached)&&(e.hcOrigStyle={display:e.style.display,height:e.style.height,overflow:e.style.overflow},t={display:"block",overflow:"hidden"},e!==this.renderTo&&(t.height=0),b(e,t),e.offsetWidth||e.style.setProperty("display","block","important")),(e=e.parentNode)!==f.body););},t.prototype.setClassName=function(t){this.container.className="highcharts-container "+(t||"")},t.prototype.getContainer=function(){var t,e,i=this.options,n=i.chart,s=this.renderTo,r=H();s||(this.renderTo=s=n.renderTo),I(s)&&(this.renderTo=s=f.getElementById(s)),s||k(13,!0,this);var a=F(v(s,"data-highcharts-chart"));D(a)&&u[a]&&u[a].hasRendered&&u[a].destroy(),v(s,"data-highcharts-chart",this.index),s.innerHTML="",n.skipClone||s.offsetWidth||this.temporaryDisplay(),this.getChartSize(),a=this.chartWidth;var h=this.chartHeight;if(b(s,{overflow:"hidden"}),this.styledMode||(t=A({position:"relative",overflow:"hidden",width:a+"px",height:h+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none"},n.style)),this.container=s=x("div",{id:r},t,s),this._cursor=s.style.cursor,this.renderer=new(o[n.renderer]||o.Renderer)(s,a,h,null,n.forExport,i.exporting&&i.exporting.allowHTML,this.styledMode),p(void 0,this),this.setClassName(n.className),this.styledMode)for(e in i.defs)this.renderer.definition(i.defs[e]);else this.renderer.setStyle(n.style);this.renderer.chartIndex=this.index,P(this,"afterGetContainer")},t.prototype.getMargins=function(t){var e=this.spacing,i=this.margin,o=this.titleOffset;this.resetMargins(),o[0]&&!w(i[0])&&(this.plotTop=Math.max(this.plotTop,o[0]+e[0])),o[2]&&!w(i[2])&&(this.marginBottom=Math.max(this.marginBottom,o[2]+e[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(i,e),P(this,"getMargins"),t||this.getAxisMargins()},t.prototype.getAxisMargins=function(){var t=this,e=t.axisOffset=[0,0,0,0],i=t.colorAxis,o=t.margin,n=function(t){t.forEach((function(t){t.visible&&t.getOffset()}))};t.hasCartesianSeries?n(t.axes):i&&i.length&&n(i),W.forEach((function(i,n){w(o[n])||(t[i]+=e[n])})),t.setChartSize()},t.prototype.reflow=function(t){var e=this,i=e.options.chart,o=e.renderTo,n=w(i.width)&&w(i.height),s=i.width||T(o,"width");i=i.height||T(o,"height"),o=t?t.target:g,n||e.isPrinting||!s||!i||o!==g&&o!==f||(s===e.containerWidth&&i===e.containerHeight||(l.clearTimeout(e.reflowTimeout),e.reflowTimeout=Y((function(){e.container&&e.setSize(void 0,void 0,!1)}),t?100:0)),e.containerWidth=s,e.containerHeight=i)},t.prototype.setReflow=function(t){var e=this;!1===t||this.unbindReflow?!1===t&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=y(g,"resize",(function(t){e.options&&e.reflow(t)})),y(this,"destroy",this.unbindReflow))},t.prototype.setSize=function(t,e,i){var o=this,n=o.renderer;o.isResizing+=1,p(i,o),i=n.globalAnimation,o.oldChartHeight=o.chartHeight,o.oldChartWidth=o.chartWidth,void 0!==t&&(o.options.chart.width=t),void 0!==e&&(o.options.chart.height=e),o.getChartSize(),o.styledMode||(i?c:b)(o.container,{width:o.chartWidth+"px",height:o.chartHeight+"px"},i),o.setChartSize(!0),n.setSize(o.chartWidth,o.chartHeight,i),o.axes.forEach((function(t){t.isDirty=!0,t.setScale()})),o.isDirtyLegend=!0,o.isDirtyBox=!0,o.layOutTitles(),o.getMargins(),o.redraw(i),o.oldChartHeight=null,P(o,"resize"),Y((function(){o&&P(o,"endResize",null,(function(){--o.isResizing}))}),d(i).duration)},t.prototype.setChartSize=function(t){var e,i,o,n,s=this.inverted,r=this.renderer,a=this.chartWidth,h=this.chartHeight,l=this.options.chart,c=this.spacing,d=this.clipOffset;this.plotLeft=e=Math.round(this.plotLeft),this.plotTop=i=Math.round(this.plotTop),this.plotWidth=o=Math.max(0,Math.round(a-e-this.marginRight)),this.plotHeight=n=Math.max(0,Math.round(h-i-this.marginBottom)),this.plotSizeX=s?n:o,this.plotSizeY=s?o:n,this.plotBorderWidth=l.plotBorderWidth||0,this.spacingBox=r.spacingBox={x:c[3],y:c[0],width:a-c[3]-c[1],height:h-c[0]-c[2]},this.plotBox=r.plotBox={x:e,y:i,width:o,height:n},a=2*Math.floor(this.plotBorderWidth/2),s=Math.ceil(Math.max(a,d[3])/2),r=Math.ceil(Math.max(a,d[0])/2),this.clipBox={x:s,y:r,width:Math.floor(this.plotSizeX-Math.max(a,d[1])/2-s),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(a,d[2])/2-r))}
1,t||this.axes.forEach((function(t){t.setAxisSize(),t.setAxisTranslation()})),P(this,"afterSetChartSize",{skipAxes:t})},t.prototype.resetMargins=function(){P(this,"resetMargins");var t=this,e=t.options.chart;["margin","spacing"].forEach((function(i){var o=e[i],n=O(o)?o:[o,o,o,o];["Top","Right","Bottom","Left"].forEach((function(o,s){t[i][s]=R(e[i+o],n[s])}))})),W.forEach((function(e,i){t[e]=R(t.margin[i],t.spacing[i])})),t.axisOffset=[0,0,0,0],t.clipOffset=[0,0,0,0]},t.prototype.drawChartBox=function(){var t,e=this.options.chart,i=this.renderer,o=this.chartWidth,n=this.chartHeight,s=this.chartBackground,r=this.plotBackground,a=this.plotBorder,h=this.styledMode,l=this.plotBGImage,c=e.backgroundColor,d=e.plotBackgroundColor,p=e.plotBackgroundImage,u=this.plotLeft,f=this.plotTop,g=this.plotWidth,m=this.plotHeight,y=this.plotBox,v=this.clipRect,x=this.clipBox,b="animate";if(s||(this.chartBackground=s=i.rect().addClass("highcharts-background").add(),b="attr"),h)var w=t=s.strokeWidth();else t=(w=e.borderWidth||0)+(e.shadow?8:0),c={fill:c||"none"},(w||s["stroke-width"])&&(c.stroke=e.borderColor,c["stroke-width"]=w),s.attr(c).shadow(e.shadow);s[b]({x:t/2,y:t/2,width:o-t-w%2,height:n-t-w%2,r:e.borderRadius}
1),b="animate",r||(b="attr",this.plotBackground=r=i.rect().addClass("highcharts-plot-background").add()),r[b](y),h||(r.attr({fill:d||"none"}).shadow(e.plotShadow),p&&(l?(p!==l.attr("href")&&l.attr("href",p),l.animate(y)):this.plotBGImage=i.image(p,u,f,g,m).add())),v?v.animate({width:x.width,height:x.height}):this.clipRect=i.clipRect(x),b="animate",a||(b="attr",this.plotBorder=a=i.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),h||a.attr({stroke:e.plotBorderColor,"stroke-width":e.plotBorderWidth||0,fill:"none"}),a[b](a.crisp({x:u,y:f,width:g,height:m},-a.strokeWidth())),this.isDirtyBox=!1,P(this,"afterDrawChartBox")},t.prototype.propFromSeries=function(){var t,e,o,n=this,s=n.options.chart,r=n.options.series;["inverted","angular","polar"].forEach((function(a){for(t=i.seriesTypes[s.type||s.defaultSeriesType],o=s[a]||t&&t.prototype[a],e=r&&r.length;!o&&e--;)(t=i.seriesTypes[r[e].type])&&t.prototype[a]&&(o=!0);n[a]=o}))},t.prototype.linkSeries=function(){var t=this,e=t.series;e.forEach((function(t){t.linkedSeries.length=0})),e.forEach((function(e){var i=e.options.linkedTo;I(i)&&(i=":previous"===i?t.series[e.index-1]:t.get(i))&&i.linkedParent!==e&&(i.linkedSeries.push(e),e.linkedParent=i,i.enabledDataSorting&&e.setDataSortingOptions(),e.visible=R(e.options.visible,i.options.visible,e.visible))})),P(this,"afterLinkSeries")},t.prototype.renderSeries=function(){this.series.forEach((function(t){t.translate(),t.render()}))},t.prototype.renderLabels=function(){var t=this,e=t.options.labels;e.items&&e.items.forEach((function(i){var o=A(e.style,i.style),n=F(o.left)+t.plotLeft,s=F(o.top)+t.plotTop+12;delete o.left,delete o.top,t.renderer.text(i.html,n,s).attr({zIndex:2}).css(o).add()}))},t.prototype.render=function(){var t=this.axes,e=this.colorAxis,i=this.renderer,o=this.options,s=0,r=function(t){t.forEach((function(t){t.visible&&t.render()}))};this.setTitle(),this.legend=new n(this,o.legend),this.getStacks&&this.getStacks(),this.getMargins(!0),this.setChartSize(),o=this.plotWidth,t.some((function(t){if(t.horiz&&t.visible&&t.options.labels.enabled&&t.series.length)return s=21,!0}));var a=this.plotHeight=Math.max(this.plotHeight-s,0);t.forEach((function(t){t.setScale()})),this.getAxisMargins();var h=1.1<o/this.plotWidth,l=1.05<a/this.plotHeight;(h||l)&&(t.forEach((function(t){(t.horiz&&h||!t.horiz&&l)&&t.setTickInterval(!0)})),this.getMargins()),this.drawChartBox(),this.hasCartesianSeries?r(t):e&&e.length&&r(e),this.seriesGroup||(this.seriesGroup=i.g("series-group").attr({zIndex:3}).add()),this.renderSeries(),this.renderLabels(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.updateContainerScaling(),this.hasRendered=!0},t.prototype.addCredits=function(t){var e=this,i=N(!0,this.options.credits,t);i.enabled&&!this.credits&&(this.credits=this.renderer.text(i.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",(function(){i.href&&(g.location.href=i.href)})).attr({align:i.position.align,zIndex:8}),e.styledMode||this.credits.css(i.style),this.credits.add().align(i.position),this.credits.update=function(t){e.credits=e.credits.destroy(),e.addCredits(t)})},t.prototype.updateContainerScaling=function(){var t=this.container;if(2<t.offsetWidth&&2<t.offsetHeight&&t.getBoundingClientRect){var e=t.getBoundingClientRect(),i=e.width/t.offsetWidth;t=e.height/t.offsetHeight,1!==i||1!==t?this.containerScaling={scaleX:i,scaleY:t}:delete this.containerScaling}},t.prototype.destroy=function(){var t,e=this,i=e.axes,n=e.series,s=e.container,r=s&&s.parentNode;for(P(e,"destroy"),e.renderer.forExport?S(u,e):u[e.index]=void 0,o.chartCount--,e.renderTo.removeAttribute("data-highcharts-chart"),G(e),t=i.length;t--;)i[t]=i[t].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t=n.length;t--;)n[t]=n[t].destroy();
1"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach((function(t){var i=e[t];i&&i.destroy&&(e[t]=i.destroy())})),s&&(s.innerHTML="",G(s),r&&C(s)),B(e,(function(t,i){delete e[i]}))},t.prototype.firstRender=function(){var t=this,e=t.options;t.isReadyToRender&&!t.isReadyToRender()||(t.getContainer(),t.resetMargins(),t.setChartSize(),t.propFromSeries(),t.getAxes(),(E(e.series)?e.series:[]).forEach((function(e){t.initSeries(e)})),t.linkSeries(),t.setSeriesData(),P(t,"beforeRender"),a&&(t.pointer=o.hasTouch||!g.PointerEvent&&!g.MSPointerEvent?new a(t,e):new s(t,e)),t.render(),t.renderer.imgCount||t.hasLoaded||t.onload(),t.temporaryDisplay(!0))},t.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach((function(t){t&&void 0!==this.index&&t.apply(this,[this])}),this),P(this,"load"),P(this,"render"),w(this.index)&&this.setReflow(this.options.chart.reflow),this.hasLoaded=!0},t}();return U.prototype.callbacks=[],o.chart=function(t,e,i){return new U(t,e,i)},o.Chart=U})),e(i,"Extensions/ScrollablePlotArea.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Chart/Chart.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,i,o){var n=t.stop,s=o.addEvent,r=o.createElement,a=o.pick;s(e,"afterSetChartSize",(function(t){var e=this.options.chart.scrollablePlotArea,o=e&&e.minWidth;if(e=e&&e.minHeight,!this.renderer.forExport){if(o){if(this.scrollablePixelsX=o=Math.max(0,o-this.chartWidth)){this.plotWidth+=o,this.inverted?(this.clipBox.height+=o,this.plotBox.height+=o):(this.clipBox.width+=o,this.plotBox.width+=o);var n={1:{name:"right",value:o}}}}else e&&(this.scrollablePixelsY=o=Math.max(0,e-this.chartHeight))&&(this.plotHeight+=o,this.inverted?(this.clipBox.width+=o,this.plotBox.width+=o):(this.clipBox.height+=o,this.plotBox.height+=o),n={2:{name:"bottom",value:o}});n&&!t.skipAxes&&this.axes.forEach((function(t){n[t.side]?t.getPlotLinePath=function(){var e=n[t.side].name,o=this[e];this[e]=o-n[t.side].value;var s=i.Axis.prototype.getPlotLinePath.apply(this,arguments);return this[e]=o,s}:(t.setAxisSize(),t.setAxisTranslation())}))}})),s(e,"render",(function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()})),e.prototype.setUpScrolling=function(){var t=this,e={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(e.overflowX="auto"),this.scrollablePixelsY&&(e.overflowY="auto"),this.scrollingParent=r("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=r("div",{className:"highcharts-scrolling"},e,this.scrollingParent),s(this.scrollingContainer,"scroll",(function(){t.pointer&&delete t.pointer.chartPosition})),this.innerContainer=r("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},e.prototype.moveFixedElements=function(){var t,e=this.container,i=this.fixedRenderer,o=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" ");this.scrollablePixelsX&&!this.inverted?t=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?t=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(t=".highcharts-yaxis"),o.push(t,t+"-labels"),o.forEach((function(t){[].forEach.call(e.querySelectorAll(t),(function(t){(t.namespaceURI===i.SVG_NS?i.box:i.box.parentNode).appendChild(t),t.style.pointerEvents="auto"}))}))},e.prototype.applyFixed=function(){var t,e,o=!this.fixedDiv,h=this.options.chart.scrollablePlotArea;o?(this.fixedDiv=r("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:2,top:0},null,!0),null===(t=this.scrollingContainer)||void 0===t||t.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=t=new i.Renderer(this.fixedDiv,this.chartWidth,this.chartHe
1ight,null===(e=this.options.chart)||void 0===e?void 0:e.style),this.scrollableMask=t.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":a(h.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),this.moveFixedElements(),s(this,"afterShowResetZoom",this.moveFixedElements),s(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),e=this.chartWidth+(this.scrollablePixelsX||0),t=this.chartHeight+(this.scrollablePixelsY||0),n(this.container),this.container.style.width=e+"px",this.container.style.height=t+"px",this.renderer.boxWrapper.attr({width:e,height:t,viewBox:[0,0,e,t].join(" ")}),this.chartBackground.attr({width:e,height:t}),this.scrollingContainer.style.height=this.chartHeight+"px",o&&(h.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*h.scrollPositionX),h.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*h.scrollPositionY)),t=this.axisOffset,o=this.plotTop-t[0]-1,h=this.plotLeft-t[3]-1,e=this.plotTop+this.plotHeight+t[2]+1,t=this.plotLeft+this.plotWidth+t[1]+1;var l=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),c=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);o=this.scrollablePixelsX?[["M",0,o],["L",this.plotLeft-1,o],["L",this.plotLeft-1,e],["L",0,e],["Z"],["M",l,o],["L",this.chartWidth,o],["L",this.chartWidth,e],["L",l,e],["Z"]]:this.scrollablePixelsY?[["M",h,0],["L",h,this.plotTop-1],["L",t,this.plotTop-1],["L",t,0],["Z"],["M",h,c],["L",h,this.chartHeight],["L",t,this.chartHeight],["L",t,c],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:o})}})),e(i,"Core/Axis/StackingAxis.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Utilities.js"]],(function(t,e){var i=t.getDeferredAnimation,o=e.addEvent,n=e.destroyObjectProperties,s=e.fireEvent,r=e.objectEach,a=e.pick,h=function(){function t(t){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t}return t.prototype.buildStacks=function(){var t,e=this.axis,i=e.series,o=a(e.options.reversedStacks,!0),n=i.length;if(!e.isXAxis){for(this.usePercentage=!1,t=n;t--;){var r=i[o?t:n-t-1];r.setStackedPoints(),r.setGroupedPoints()}for(t=0;t<n;t++)i[t].modifyStacks();s(e,"afterBuildStacks")}},t.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var t=this.stacks=this.oldStacks;r(t,(function(t){r(t,(function(t){t.cumulative=t.total}))}))}},t.prototype.resetStacks=function(){var t=this,e=t.stacks;t.axis.isXAxis||r(e,(function(e){r(e,(function(i,o){i.touched<t.stacksTouched?(i.destroy(),delete e[o]):(i.total=null,i.cumulative=null)}))}))},t.prototype.renderStackTotals=function(){var t=this.axis,e=t.chart,o=e.renderer,n=this.stacks;t=i(e,t.options.stackLabels.animation);var s=this.stackTotalGroup=this.stackTotalGroup||o.g("stack-labels").attr({visibility:"visible",zIndex:6,opacity:0}).add();s.translate(e.plotLeft,e.plotTop),r(n,(function(t){r(t,(function(t){t.render(s)}))})),s.animate({opacity:1},t)},t}();return function(){function t(){}return t.compose=function(e){o(e,"init",t.onInit),o(e,"destroy",t.onDestroy)},t.onDestroy=function(){var t=this.stacking;if(t){var e=t.stacks;r(e,(function(t,i){n(t),e[i]=null})),t&&t.stackTotalGroup&&t.stackTotalGroup.destroy()}},t.onInit=function(){this.stacking||(this.stacking=new h(this))},t}()})),e(i,"Mixins/LegendSymbol.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.merge,o=e.pick;return t.LegendSymbolMixin={drawRectangle:function(t,e){var i=t.symbolHeight,n=t.options.squareSymbol;e.legendSymbol=this.chart.renderer.rect(n?(t.symbolWidth-i)/2:0,t.baseline-i+1,n?i:t.symbolWidth,i,o(t.options.symbolRadius,i/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.legendGroup)},drawLineMarker:function(t){var e=this.options,n=e.marker,s=t.symbolWidth,r=t.symbolHeight,a=r/2,h=this.chart.renderer,l=this.legendGroup;t=t.baseline-Math.round(.3*t.fontMetrics.b);var c={};this.chart.styledMode||(c={"stroke-width":e.lineWidth||0},e.dashStyle&&(c.dashstyle=e.dashStyle)),this.legendLine=h.path([["M",0,t],["L",s,t]]).addClass("highcharts-graph").attr(c).add(l),n&&!1!==n.enabled&&s&&(e=Math.min(o(n.radius,a),a),0===this.symbol.indexOf("url")&&(n=i(n,{width:r,height:r}),e=0),this.legendSymbol=n=h.symbol(this.symbol,s/2-e,t-e,2*e,2*e,n
1).addClass("highcharts-point").add(l),n.isMarker=!0)}}})),e(i,"Core/Series/CartesianSeries.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Series/Series.js"],i["Core/Globals.js"],i["Mixins/LegendSymbol.js"],i["Core/Options.js"],i["Core/Series/Point.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Utilities.js"]],(function(t,e,i,o,n,s,r,a){var h=t.animObject,l=n.defaultOptions,c=a.addEvent,d=a.arrayMax,p=a.arrayMin,u=a.clamp,f=a.correctFloat,g=a.defined,m=a.erase,y=a.error,v=a.extend,x=a.find,b=a.fireEvent,w=a.getNestedProperty,C=a.isArray,S=a.isFunction,k=a.isNumber,A=a.isString,M=a.merge,P=a.objectEach,T=a.pick,E=a.removeEvent,L=a.splat,D=a.syncTimeout,O=e.seriesTypes,I=i.win;return t=e.seriesType("line",void 0,{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 t=this.series.chart.numberFormatter;return"number"!=typeof this.y?"":t(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"},{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,isCartesian:!0,parallelArrays:["x","y"],pointClass:s,requireSorting:!0,sorted:!0,init:function(t,e){b(this,"init",{options:e});var i,o=this,n=t.series;this.eventOptions=this.eventOptions||{},this.eventsToUnbind=[],o.chart=t,o.options=e=o.setOptions(e),o.linkedSeries=[],o.bindAxes(),v(o,{name:e.name,state:"",visible:!1!==e.visible,selected:!0===e.selected});var s=e.events;P(s,(function(t,e){S(t)&&o.eventOptions[e]!==t&&(S(o.eventOptions[e])&&E(o,e,o.eventOptions[e]),o.eventOptions[e]=t,c(o,e,t))})),(s&&s.click||e.point&&e.point.events&&e.point.events.click||e.allowPointSelect)&&(t.runTrackerClick=!0),o.getColor(),o.getSymbol(),o.parallelArrays.forEach((function(t){o[t+"Data"]||(o[t+"Data"]=[])})),o.isCartesian&&(t.hasCartesianSeries=!0),n.length&&(i=n[n.length-1]),o._i=T(i&&i._i,-1)+1,o.opacity=o.options.opacity,t.orderSeries(this.insert(n)),e.dataSorting&&e.dataSorting.enabled?o.setDataSortingOptions():o.points||o.data||o.setData(e.data,!1),b(this,"afterInit")},is:function(t){return O[t]&&this instanceof O[t]},insert:function(t){var e,i=this.options.index;if(k(i)){for(e=t.length;e--;)if(i>=T(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return T(e,t.length-1)},bindAxes:function(){var t,e=this,i=e.options,o=e.chart;b(this,"bindAxes",null,(function(){(e.axisTypes||[]).forEach((function(n){o[n].forEach((function(o){t=o.options,(i[n]===t.index||void 0!==i[n]&&i[n]===t.id||void 0===i[n]&&0===t.index)&&(e.insert(o.series),e[n]=o,o.isDirty=!0)})),e[n]||e.optionalAxis===n||y(18,!0,o)}))})),b(this,"afterBindAxes")},updateParallelArrays:function(t,e){var i=t.series,o=arguments,n=k(e)?function(o){var n="y"===o&&i.toYData?i.toYData(t):t[o];i[o+"Data"][e]=n}:function(t){Array.prototype[e].apply(i[t+"Data"],Array.prototype.slice.call(o,2))};i.parallelArrays.forEach(n)},hasData:function(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&0<this.yData.length},autoIncrement:function(){var t,e=this.options,i=this.xIncrement,o=e.pointIntervalUnit,n=this.chart.time;return i=T(i,e.pointStart,0),this.pointInterval=t=T(this.pointInterval,e.pointInterval,1),o&&(e=new n.Date(i),"day"===o?n.set("Date",e,n.get("Date",e)+t):"month"===o?n.set("Month",e,n.get("Month",e)+t):"year"===o&&n.set("FullYear",e,n.get("FullYear",e)+t),t=e.getTime()-i),this.xIncrement=i+t,i},setDataSortingOptions:function(){var t=this.options;v(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),g(t.pointRange)||(t.pointRange=1)},setOptions:function(t){var e=this.chart,i=e.options,o=i.plotOptions,n=e.userOptions||{};t=M(t),e=e.styledMode;var s={plotOptions:o,userOptions:t};b(this,"setOptions",s);var r=s.plotOptions[this.type],a=n.plotOptions||{};return this.userOptions=s.userOptions,n=M(r,o.series,n.plotOptions&&n.plotOptions[this.type],t),this.tooltipOptions=M(l.tooltip,l.plotOptions.series&&l.plotOptions.series.tooltip,l.plotOptions[this.type].tooltip,i.tooltip.userOptions,o.series&&o.series.tooltip,o[this.type].tooltip,t.tooltip),this.stickyTracking=T(t.stickyTracking,a[this.type]&&a[this.type].stickyTracking,a.series&&a.series.stickyTracking,!(!this.tooltipOptions.shared||this.noSharedTooltip)||n.stickyTracking),null===r.marker&&delete n.marker,this.zoneAxis=n.zoneAxis,i=this.zones=(n.zones||[]).slice(),!n.negativeColor&&!n.negativeFillColor||n.zones||(o={value:n[this.zoneAxis+"Threshold"]||n.threshold||0,className:"highcharts-negative"},e||(o.color=n.negativeColor,o.fillColor=n.negativeFillColor),i.push(o)),i.length&&g(i[i.length-1].value)&&i.push(e?{}:{color:this.color,fillColor:this.fillColor}),b(this,"afterSetOptions",{options:n}),n},getName:function(){return T(this.options.name,"Series "+(this.index+1))}
1,getCyclic:function(t,e,i){var o=this.chart,n=this.userOptions,s=t+"Index",r=t+"Counter",a=i?i.length:T(o.options.chart[t+"Count"],o[t+"Count"]);if(!e){var h=T(n[s],n["_"+s]);g(h)||(o.series.length||(o[r]=0),n["_"+s]=h=o[r]%a,o[r]+=1),i&&(e=i[h])}void 0!==h&&(this[s]=h),this[t]=e},getColor:function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.options.color=null:this.getCyclic("color",this.options.color||l.plotOptions[this.type].color,this.chart.options.colors)},getPointsCollection:function(){return(this.hasGroupedData?this.points:this.data)||[]},getSymbol:function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},findPointIndex:function(t,e){var i,o=t.id,n=t.x,s=this.points,r=this.options.dataSorting;if(o)var a=this.chart.get(o);else if(this.linkedParent||this.enabledDataSorting){var h=r&&r.matchByName?"name":"index";if(!(a=x(s,(function(e){return!e.touched&&e[h]===t[h]}))))return}if(a){var l=a&&a.index;void 0!==l&&(i=!0)}return void 0===l&&k(n)&&(l=this.xData.indexOf(n,e)),-1!==l&&void 0!==l&&this.cropped&&(l=l>=this.cropStart?l-this.cropStart:l),!i&&s[l]&&s[l].touched&&(l=void 0),l},drawLegendSymbol:o.drawLineMarker,updateData:function(t,e){var i,o,n,s=this.options,r=s.dataSorting,a=this.points,h=[],l=this.requireSorting,c=t.length===a.length,p=!0;if(this.xIncrement=null,t.forEach((function(t,e){var o=g(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},d=o.x;o.id||k(d)?(-1===(d=this.findPointIndex(o,n))||void 0===d?h.push(t):a[d]&&t!==s.data[d]?(a[d].update(t,!1,null,!1),a[d].touched=!0,l&&(n=d+1)):a[d]&&(a[d].touched=!0),(!c||e!==d||r&&r.enabled||this.hasDerivedData)&&(i=!0)):h.push(t)}),this),i)for(t=a.length;t--;)(o=a[t])&&!o.touched&&o.remove&&o.remove(!1,e);else!c||r&&r.enabled?p=!1:(t.forEach((function(t,e){a[e].update&&t!==a[e].y&&a[e].update(t,!1,null,!1)})),h.length=0);return a.forEach((function(t){t&&(t.touched=!1)})),!!p&&(h.forEach((function(t){this.addPoint(t,!1,null,null,!1)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=d(this.xData),this.autoIncrement()),!0)},setData:function(t,e,i,o){var n,s=this,r=s.points,a=r&&r.length||0,h=s.options,l=s.chart,c=h.dataSorting,d=null,p=s.xAxis;d=h.turboThreshold;var u,f=this.xData,g=this.yData,m=(n=s.pointArrayMap)&&n.length,v=h.keys,x=0,b=1;if(n=(t=t||[]).length,e=T(e,!0),c&&c.enabled&&(t=this.sortData(t)),!1!==o&&n&&a&&!s.cropped&&!s.hasGroupedData&&s.visible&&!s.isSeriesBoosting&&(u=this.updateData(t,i)),!u){if(s.xIncrement=null,s.colorCounter=0,this.parallelArrays.forEach((function(t){s[t+"Data"].length=0})),d&&n>d)if(d=s.getFirstValidPoint(t),k(d))for(i=0;i<n;i++)f[i]=this.autoIncrement(),g[i]=t[i];else if(C(d))if(m)for(i=0;i<n;i++)o=t[i],f[i]=o[0],g[i]=o.slice(1,m+1);else for(v&&(x=0<=(x=v.indexOf("x"))?x:0,b=0<=(b=v.indexOf("y"))?b:1),i=0;i<n;i++)o=t[i],f[i]=o[x],g[i]=o[b];else y(12,!1,l);else for(i=0;i<n;i++)void 0!==t[i]&&(o={series:s},s.pointClass.prototype.applyOptions.apply(o,[t[i]]),s.updateParallelArrays(o,i));for(g&&A(g[0])&&y(14,!0,l),s.data=[],s.options.data=s.userOptions.data=t,i=a;i--;)r[i]&&r[i].destroy&&r[i].destroy();p&&(p.minRange=p.userMinRange),s.isDirty=l.isDirtyBox=!0,s.isDirtyData=!!r,i=!1}"point"===h.legendType&&(this.processData(),this.generatePoints()),e&&l.redraw(i)},sortData:function(t){var e=this,i=e.options.dataSorting.sortKey||"y",o=function(t,e){return g(e)&&t.pointClass.prototype.optionsToObject.call({series:t},e)||{}};return t.forEach((function(i,n){t[n]=o(e,i),t[n].index=n}),this),t.concat().sort((function(t,e){return t=w(i,t),(e=w(i,e))<t?-1:e>t?1:0})).forEach((function(t,e){t.x=e}),this),e.linkedSeries&&e.linkedSeries.forEach((function(e){var i=e.options,n=i.data;i.dataSorting&&i.dataSorting.enabled||!n||(n.forEach((function(i,s){n[s]=o(e,i),t[s]&&(n[s].x=t[s].x,n[s].index=s)})),e.setData(n,!1))})),t},getProcessedData:function(t){var e=this.xData,i=this.yData,o=e.length,n=0,s=this.xAxis,r=this.options,a=r.cropThreshold,h=t||this.getExtremesFromAll||r.getExtremesFromAll,l=this.isCartesian;t=s&&s.val2lin,r=!(!s||!s.logarithmic);var c=this.requireSorting;if(s)var d=(s=s.getExtremes()).min,p=s.max;if(l&&this.sorted&&!h&&(!a||o>a||this.forceCrop))if(e[o-1]<d||e[0]>p)e=[],i=[];else if(this.yData&&(e[0]<d||e[o-1]>p)){e=(n=this.cropData(this.xData,this.yData,d,p)).xData,i=n.yData,n=n.start;var u=!0}for(a=e.length||1;--a;)if(0<(o=r?t(e[a])-t(e[a-1]):e[a]-e[a-1])&&(void 0===f||o<f))var f=o;else 0>o&&c&&(y(15,!1,this.chart),c=!1);return{xData:e,yData:i,cropped:u,cropStart:n,closestPointRange:f}},processData:function(t){var e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;t=this.getProcessedData(),this.cropped=t.cropped,this.cropStart=t.cropStart,this.processedXData=t.xData,this.processedYData=t.yData,this.closestPointRange=this.basePointRange=t.closestPointRange}
1,cropData:function(t,e,i,o,n){var s,r=t.length,a=0,h=r;for(n=T(n,this.cropShoulder),s=0;s<r;s++)if(t[s]>=i){a=Math.max(0,s-n);break}for(i=s;i<r;i++)if(t[i]>o){h=i+n;break}return{xData:t.slice(a,h),yData:e.slice(a,h),start:a,end:h}},generatePoints:function(){var t,e=this.options,i=e.data,o=this.data,n=this.processedXData,s=this.processedYData,r=this.pointClass,a=n.length,h=this.cropStart||0,l=this.hasGroupedData;e=e.keys;var c,d=[];for(o||l||((o=[]).length=i.length,o=this.data=o),e&&l&&(this.options.keys=!1),c=0;c<a;c++){var p=h+c;if(l){var u=(new r).init(this,[n[c]].concat(L(s[c])));u.dataGroup=this.groupMap[c],u.dataGroup.options&&(u.options=u.dataGroup.options,v(u,u.dataGroup.options),delete u.dataLabels)}else(u=o[p])||void 0===i[p]||(o[p]=u=(new r).init(this,i[p],n[c]));u&&(u.index=p,d[c]=u)}if(this.options.keys=e,o&&(a!==(t=o.length)||l))for(c=0;c<t;c++)c!==h||l||(c+=a),o[c]&&(o[c].destroyElements(),o[c].plotX=void 0);this.data=o,this.points=d,b(this,"afterGeneratePoints")},getXExtremes:function(t){return{min:p(t),max:d(t)}},getExtremes:function(t,e){var i,o=this.xAxis,n=this.yAxis,s=this.processedXData||this.xData,r=[],a=0,h=0,l=0,c=this.requireSorting?this.cropShoulder:0,u=!!n&&n.positiveValuesOnly;for(n=(t=t||this.stackedYData||this.processedYData||[]).length,o&&(h=(l=o.getExtremes()).min,l=l.max),i=0;i<n;i++){var f=s[i],g=t[i],m=(k(g)||C(g))&&(g.length||0<g||!u);if(f=e||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!o||(s[i+c]||f)>=h&&(s[i-c]||f)<=l,m&&f)if(m=g.length)for(;m--;)k(g[m])&&(r[a++]=g[m]);else r[a++]=g}return t={dataMin:p(r),dataMax:d(r)},b(this,"afterGetExtremes",{dataExtremes:t}),t},applyExtremes:function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},getFirstValidPoint:function(t){for(var e=null,i=t.length,o=0;null===e&&o<i;)e=t[o],o++;return e},translate:function(){this.processedXData||this.processData(),this.generatePoints();var t,e,i=this.options,o=i.stacking,n=this.xAxis,s=n.categories,r=this.enabledDataSorting,a=this.yAxis,h=this.points,l=h.length,c=!!this.modifyValue,d=this.pointPlacementToXValue(),p=!!d,m=i.threshold,y=i.startFromThreshold?m:0,v=this.zoneAxis||"y",x=Number.MAX_VALUE;for(t=0;t<l;t++){var w=h[t],S=w.x,A=w.y,M=w.low,P=o&&a.stacking&&a.stacking.stacks[(this.negStacks&&A<(y?0:m)?"-":"")+this.stackKey];if((a.positiveValuesOnly&&!a.validatePositiveValue(A)||n.positiveValuesOnly&&!n.validatePositiveValue(S))&&(w.isNull=!0),w.plotX=e=f(u(n.translate(S,0,0,0,1,d,"flags"===this.type),-1e5,1e5)),o&&this.visible&&P&&P[S]){var E=this.getStackIndicator(E,S,this.index);if(!w.isNull)var L=P[S],D=L.points[E.key]}if(C(D)&&(M=D[0],A=D[1],M===y&&E.key===P[S].base&&(M=T(k(m)&&m,a.min)),a.positiveValuesOnly&&0>=M&&(M=null),w.total=w.stackTotal=L.total,w.percentage=L.total&&w.y/L.total*100,w.stackY=A,this.irregularWidths||L.setOffset(this.pointXOffset||0,this.barW||0)),w.yBottom=g(M)?u(a.translate(M,0,1,0,1),-1e5,1e5):null,c&&(A=this.modifyValue(A,w)),w.plotY="number"==typeof A&&1/0!==A?u(a.translate(A,0,1,0,1),-1e5,1e5):void 0,w.isInside=this.isPointInside(w),w.clientX=p?f(n.translate(S,0,0,0,1,d)):e,w.negative=w[v]<(i[v+"Threshold"]||m||0),w.category=s&&void 0!==s[w.x]?s[w.x]:w.x,!w.isNull&&!1!==w.visible){void 0!==O&&(x=Math.min(x,Math.abs(e-O)));var O=e}w.zone=this.zones.length&&w.getZone(),!w.graphic&&this.group&&r&&(w.isNew=!0)}this.closestPointRangePx=x,b(this,"afterTranslate")},getValidPoints:function(t,e,i){var o=this.chart;return(t||this.points||[]).filter((function(t){return!(e&&!o.isInsidePlot(t.plotX,t.plotY,o.inverted))&&(!1!==t.visible&&(i||!t.isNull))}))},getClipBox:function(t,e){var i=this.options,o=this.chart,n=o.inverted,s=this.xAxis,r=s&&this.yAxis,a=o.options.chart.scrollablePlotArea||{};return t&&!1===i.clip&&r?t=n?{y:-o.chartWidth+r.len+r.pos,height:o.chartWidth,width:o.chartHeight,x:-o.chartHeight+s.len+s.pos}:{y:-r.pos,height:o.chartHeight,width:o.chartWidth,x:-s.pos}:(t=this.clipBox||o.clipBox,e&&(t.width=o.plotSizeX,t.x=(o.scrollablePixelsX||0)*(a.scrollPositionX||0))),e?{width:t.width,x:t.x}:t},setClip:function(t){var e=this.chart,i=this.options,o=e.renderer,n=e.inverted,s=this.clipBox,r=this.getClipBox(t),a=this.sharedCl
1ipKey||["_sharedClip",t&&t.duration,t&&t.easing,r.height,i.xAxis,i.yAxis].join(),h=e[a],l=e[a+"m"];t&&(r.width=0,n&&(r.x=e.plotHeight+(!1!==i.clip?0:e.plotTop))),h?e.hasLoaded||h.attr(r):(t&&(e[a+"m"]=l=o.clipRect(n?e.plotSizeX+99:-99,n?-e.plotLeft:-e.plotTop,99,n?e.chartWidth:e.chartHeight)),e[a]=h=o.clipRect(r),h.count={length:0}),t&&!h.count[this.index]&&(h.count[this.index]=!0,h.count.length+=1),(!1!==i.clip||t)&&(this.group.clip(t||s?h:e.clipRect),this.markerGroup.clip(l),this.sharedClipKey=a),t||(h.count[this.index]&&(delete h.count[this.index],--h.count.length),0===h.count.length&&a&&e[a]&&(s||(e[a]=e[a].destroy()),e[a+"m"]&&(e[a+"m"]=e[a+"m"].destroy())))},animate:function(t){var e=this.chart,i=h(this.options.animation);if(!e.hasRendered)if(t)this.setClip(i);else{var o=this.sharedClipKey;t=e[o];var n=this.getClipBox(i,!0);t&&t.animate(n,i),e[o+"m"]&&e[o+"m"].animate({width:n.width+99,x:n.x-(e.inverted?0:99)},i)}},afterAnimate:function(){this.setClip(),b(this,"afterAnimate"),this.finishedAnimating=!0},drawPoints:function(){var t,e,i=this.points,o=this.chart,n=this.options.marker,s=this[this.specialGroup]||this.markerGroup,r=this.xAxis,a=T(n.enabled,!(r&&!r.isRadial)||null,this.closestPointRangePx>=n.enabledThreshold*n.radius);if(!1!==n.enabled||this._hasPointMarkers)for(t=0;t<i.length;t++){var h=i[t],l=(e=h.graphic)?"animate":"attr",c=h.marker||{},d=!!h.marker;if((a&&void 0===c.enabled||c.enabled)&&!h.isNull&&!1!==h.visible){var p=T(c.symbol,this.symbol),u=this.markerAttribs(h,h.selected&&"select");this.enabledDataSorting&&(h.startXPos=r.reversed?-u.width:r.width);var f=!1!==h.isInside;e?e[f?"show":"hide"](f).animate(u):f&&(0<u.width||h.hasImage)&&(h.graphic=e=o.renderer.symbol(p,u.x,u.y,u.width,u.height,d?c:n).add(s),this.enabledDataSorting&&o.hasRendered&&(e.attr({x:h.startXPos}),l="animate")),e&&"animate"===l&&e[f?"show":"hide"](f).animate(u),e&&!o.styledMode&&e[l](this.pointAttribs(h,h.selected&&"select")),e&&e.addClass(h.getClassName(),!0)}else e&&(h.graphic=e.destroy())}},markerAttribs:function(t,e){var i=this.options,o=i.marker,n=t.marker||{},s=n.symbol||o.symbol,r=T(n.radius,o.radius);return e&&(o=o.states[e],e=n.states&&n.states[e],r=T(e&&e.radius,o&&o.radius,r+(o&&o.radiusPlus||0))),t.hasImage=s&&0===s.indexOf("url"),t.hasImage&&(r=0),t={x:i.crisp?Math.floor(t.plotX)-r:t.plotX-r,y:t.plotY-r},r&&(t.width=t.height=2*r),t},pointAttribs:function(t,e){var i=this.options.marker,o=t&&t.options,n=o&&o.marker||{},s=this.color,r=o&&o.color,a=t&&t.color;o=T(n.lineWidth,i.lineWidth);var h=t&&t.zone&&t.zone.color;return t=1,s=r||h||a||s,r=n.fillColor||i.fillColor||s,s=n.lineColor||i.lineColor||s,e=e||"normal",i=i.states[e],e=n.states&&n.states[e]||{},o=T(e.lineWidth,i.lineWidth,o+T(e.lineWidthPlus,i.lineWidthPlus,0)),r=e.fillColor||i.fillColor||r,{stroke:s=e.lineColor||i.lineColor||s,"stroke-width":o,fill:r,opacity:t=T(e.opacity,i.opacity,t)}},destroy:function(t){var e,i,o,n=this,s=n.chart,h=/AppleWebKit\/533/.test(I.navigator.userAgent),l=n.data||[];for(b(n,"destroy"),this.removeEvents(t),(n.axisTypes||[]).forEach((function(t){(o=n[t])&&o.series&&(m(o.series,n),o.isDirty=o.forceRedraw=!0)})),n.legendItem&&n.chart.legend.destroyItem(n),e=l.length;e--;)(i=l[e])&&i.destroy&&i.destroy();n.points=null,a.clearTimeout(n.animationTimeout),P(n,(function(t,e){t instanceof r&&!t.survive&&t[h&&"group"===e?"hide":"destroy"]()})),s.hoverSeries===n&&(s.hoverSeries=null),m(s.series,n),s.orderSeries(),P(n,(function(e,i){t&&"hcEvents"===i||delete n[i]}))},getGraphPath:function(t,e,i){var o,n,s=this,r=s.options,a=r.step,h=[],l=[];return(o=(t=t||s.points).reversed)&&t.reverse(),(a={right:1,center:2}[a]||a&&3)&&o&&(a=4-a),(t=this.getValidPoints(t,!1,!(r.connectNulls&&!e&&!i))).forEach((function(o,c){var d=o.plotX,p=o.plotY,u=t[c-1];(o.leftCliff||u&&u.rightCliff)&&!i&&(n=!0),o.isNull&&!g(e)&&0<c?n=!r.connectNulls:o.isNull&&!e?n=!0:(0===c||n?c=[["M",o.plotX,o.plotY]]:s.getPointSpline?c=[s.getPointSpline(t,o,c)]:a?(c=1===a?[["L",u.plotX,p]]:2===a?[["L",(u.plotX+d)/2,u.plotY],["L",(u.plotX+d)/2,p]]:[["L",d,u.plotY]]).push(["L",d,p]):c=[["L",d,p]],l.push(o.x),a&&(l.push(o.x),2===a&&l.push(o.x)),h.push.apply(h,c),n=!1)})),h.xMap=l,s.graphPath=h},drawGraph:function(){var t=this,e=this.options,i=(this.gappedPath||this.getGraphPath).call(this),o=this.chart.styledMode,n=[["graph","highcharts-graph"]];o||n[0].push(e.lineColor||this.color||"#cccccc",e.dashStyle),(n=t.getZonesGra
1phs(n)).forEach((function(n,s){var r=n[0],a=t[r],h=a?"animate":"attr";a?(a.endX=t.preventGraphAnimation?null:i.xMap,a.animate({d:i})):i.length&&(t[r]=a=t.chart.renderer.path(i).addClass(n[1]).attr({zIndex:1}).add(t.group)),a&&!o&&(r={stroke:n[2],"stroke-width":e.lineWidth,fill:t.fillGraph&&t.color||"none"},n[3]?r.dashstyle=n[3]:"square"!==e.linecap&&(r["stroke-linecap"]=r["stroke-linejoin"]="round"),a[h](r).shadow(2>s&&e.shadow)),a&&(a.startX=i.xMap,a.isArea=i.isArea)}))},getZonesGraphs:function(t){return this.zones.forEach((function(e,i){i=["zone-graph-"+i,"highcharts-graph highcharts-zone-graph-"+i+" "+(e.className||"")],this.chart.styledMode||i.push(e.color||this.color,e.dashStyle||this.options.dashStyle),t.push(i)}),this),t},applyZones:function(){var t,e,i,o,n,s,r,a,h=this,l=this.chart,c=l.renderer,d=this.zones,p=this.clips||[],f=this.graph,g=this.area,m=Math.max(l.chartWidth,l.chartHeight),y=this[(this.zoneAxis||"y")+"Axis"],v=l.inverted,x=!1;if(d.length&&(f||g)&&y&&void 0!==y.min){var b=y.reversed,w=y.horiz;f&&!this.showLine&&f.hide(),g&&g.hide();var C=y.getExtremes();d.forEach((function(d,S){t=b?w?l.plotWidth:0:w?0:y.toPixels(C.min)||0,t=u(T(e,t),0,m),e=u(Math.round(y.toPixels(T(d.value,C.max),!0)||0),0,m),x&&(t=e=y.toPixels(C.max)),o=Math.abs(t-e),n=Math.min(t,e),s=Math.max(t,e),y.isXAxis?(i={x:v?s:n,y:0,width:o,height:m},w||(i.x=l.plotHeight-i.x)):(i={x:0,y:v?s:n,width:m,height:o},w&&(i.y=l.plotWidth-i.y)),v&&c.isVML&&(i=y.isXAxis?{x:0,y:b?n:s,height:i.width,width:l.chartWidth}:{x:i.y-l.plotLeft-l.spacingBox.x,y:0,width:i.height,height:l.chartHeight}),p[S]?p[S].animate(i):p[S]=c.clipRect(i),r=h["zone-area-"+S],a=h["zone-graph-"+S],f&&a&&a.clip(p[S]),g&&r&&r.clip(p[S]),x=d.value>C.max,h.resetZones&&0===e&&(e=void 0)})),this.clips=p}else h.visible&&(f&&f.show(!0),g&&g.show(!0))},invertGroups:function(t){function e(){["group","markerGroup"].forEach((function(e){i[e]&&(o.renderer.isVML&&i[e].attr({width:i.yAxis.len,height:i.xAxis.len}),i[e].width=i.yAxis.len,i[e].height=i.xAxis.len,i[e].invert(!i.isRadialSeries&&t))}))}var i=this,o=i.chart;i.xAxis&&(i.eventsToUnbind.push(c(o,"resize",e)),e(),i.invertGroups=e)},plotGroup:function(t,e,i,o,n){var s=this[t],r=!s;return i={visibility:i,zIndex:o||.1},void 0===this.opacity||this.chart.styledMode||"inactive"===this.state||(i.opacity=this.opacity),r&&(this[t]=s=this.chart.renderer.g().add(n)),s.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(g(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(s.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),s.attr(i)[r?"attr":"animate"](this.getPlotBox()),s},getPlotBox:function(){var t=this.chart,e=this.xAxis,i=this.yAxis;return t.inverted&&(e=i,i=this.xAxis),{translateX:e?e.left:t.plotLeft,translateY:i?i.top:t.plotTop,scaleX:1,scaleY:1}},removeEvents:function(t){t?this.eventsToUnbind.length&&(this.eventsToUnbind.forEach((function(t){t()})),this.eventsToUnbind.length=0):E(this)},render:function(){var t=this,e=t.chart,i=t.options,o=h(i.animation),n=!t.finishedAnimating&&e.renderer.isSVG&&o.duration,s=t.visible?"inherit":"hidden",r=i.zIndex,a=t.hasRendered,l=e.seriesGroup,c=e.inverted;b(this,"render");var d=t.plotGroup("group","series",s,r,l);t.markerGroup=t.plotGroup("markerGroup","markers",s,r,l),n&&t.animate&&t.animate(!0),d.inverted=!(!t.isCartesian&&!t.invertable)&&c,t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.invertGroups(c),!1===i.clip||t.sharedClipKey||a||d.clip(e.clipRect),n&&t.animate&&t.animate(),a||(n&&o.defer&&(n+=o.defer),t.animationTimeout=D((function(){t.afterAnimate()}),n||0)),t.isDirty=!1,t.hasRendered=!0,b(t,"afterRender")},redraw:function(){var t=this.chart,e=this.isDirty||this.isDirtyData,i=this.group,o=this.xAxis,n=this.yAxis;i&&(t.inverted&&i.attr({width:t.plotWidth,height:t.plotHeight}),i.animate({translateX:T(o&&o.left,t.plotLeft),translateY:T(n&&n.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},kdAxisArray:["clientX","plotY"],searchPoint:function(t,e){var i=this.xAxis,o=this.yAxis,n=this.chart.inverted;return this.searchKDTree({clientX:n?i.len-t.chartY+i.pos:t.chartX-i.pos,plotY:n?o.len-t.chartX+o.pos:t.chartY-o.pos},e,t)},buildKDTree:function(t){this.buildingKdTree=!0;var e=this,i=-1<e.options.findNearestPointBy.indexOf("y")?2:1;delete e.kdTree,D((function(){e.kdTree=function t(i,o,n){var s;if(s=i&&i.length){var r=e.kdAxisArray[o%n];return i.sort((function(t,e){return t[r]-e[r]})),{point:i[s=Math.floor(s/2)],left:t(i.slice(0,s),o+1,n),right:t(i.slice(s+1),o+1,n)}}}(e.getValidPoints(null,!e.directTouch),i,i),e.buildingKdTree=!1}),e.options.kdNow||t&&"touchstart"===t.type?0:1)}
1,searchKDTree:function(t,e,i){var o=this,n=this.kdAxisArray[0],s=this.kdAxisArray[1],r=e?"distX":"dist";if(e=-1<o.options.findNearestPointBy.indexOf("y")?2:1,this.kdTree||this.buildingKdTree||this.buildKDTree(i),this.kdTree)return function t(e,i,a,h){var l=i.point,c=o.kdAxisArray[a%h],d=l,p=g(e[n])&&g(l[n])?Math.pow(e[n]-l[n],2):null,u=g(e[s])&&g(l[s])?Math.pow(e[s]-l[s],2):null;return u=(p||0)+(u||0),l.dist=g(u)?Math.sqrt(u):Number.MAX_VALUE,l.distX=g(p)?Math.sqrt(p):Number.MAX_VALUE,p=0>(c=e[c]-l[c])?"right":"left",i[u=0>c?"left":"right"]&&(d=(u=t(e,i[u],a+1,h))[r]<d[r]?u:l),i[p]&&Math.sqrt(c*c)<d[r]&&(d=(e=t(e,i[p],a+1,h))[r]<d[r]?e:d),d}(t,this.kdTree,e,e)},pointPlacementToXValue:function(){var t=this.options,e=t.pointRange,i=this.xAxis;return"between"===(t=t.pointPlacement)&&(t=i.reversed?-.5:.5),k(t)?t*T(e,i.pointRange):0},isPointInside:function(t){return void 0!==t.plotY&&void 0!==t.plotX&&0<=t.plotY&&t.plotY<=this.yAxis.len&&0<=t.plotX&&t.plotX<=this.xAxis.len}})})),e(i,"Series/LineSeries.js",[i["Core/Series/CartesianSeries.js"],i["Core/Globals.js"]],(function(t,e){return e.Series=t,e.Series})),e(i,"Extensions/Stacking.js",[i["Core/Axis/Axis.js"],i["Core/Chart/Chart.js"],i["Core/Globals.js"],i["Core/Axis/StackingAxis.js"],i["Core/Utilities.js"]],(function(t,e,i,o,n){var s=n.correctFloat,r=n.defined,a=n.destroyObjectProperties,h=n.format,l=n.isNumber,c=n.pick,d=i.Series,p=function(){function t(t,e,i,o,n){var s=t.chart.inverted;this.axis=t,this.isNegative=i,this.options=e=e||{},this.x=o,this.total=null,this.points={},this.hasValidPoints=!1,this.stack=n,this.rightCliff=this.leftCliff=0,this.alignOptions={align:e.align||(s?i?"left":"right":"center"),verticalAlign:e.verticalAlign||(s?"middle":i?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(s?i?"right":"left":"center")}return t.prototype.destroy=function(){a(this,this.axis)},t.prototype.render=function(t){var e=this.axis.chart,i=this.options,o=i.format;o=o?h(o,this,e):i.formatter.call(this),this.label?this.label.attr({text:o,visibility:"hidden"}):(this.label=e.renderer.label(o,null,null,i.shape,null,null,i.useHTML,!1,"stack-labels"),o={r:i.borderRadius||0,text:o,rotation:i.rotation,padding:c(i.padding,5),visibility:"hidden"},e.styledMode||(o.fill=i.backgroundColor,o.stroke=i.borderColor,o["stroke-width"]=i.borderWidth,this.label.css(i.style)),this.label.attr(o),this.label.added||this.label.add(t)),this.label.labelrank=e.plotHeight},t.prototype.setOffset=function(t,e,i,o,n){var s=this.axis,a=s.chart;o=s.translate(s.stacking.usePercentage?100:o||this.total,0,0,0,1),i=s.translate(i||0),i=r(o)&&Math.abs(o-i),t=c(n,a.xAxis[0].translate(this.x))+t,s=r(o)&&this.getStackBox(a,this,t,o,e,i,s),e=this.label,i=this.isNegative,t="justify"===c(this.options.overflow,"justify");var h=this.textAlign;e&&s&&(n=e.getBBox(),o=e.padding,h="left"===h?a.inverted?-o:o:"right"===h?n.width:a.inverted&&"center"===h?n.width/2:a.inverted?i?n.width+o:-o:n.width/2,i=a.inverted?n.height/2:i?-o:n.height,this.alignOptions.x=c(this.options.x,0),this.alignOptions.y=c(this.options.y,0),s.x-=h,s.y-=i,e.align(this.alignOptions,null,s),a.isInsidePlot(e.alignAttr.x+h-this.alignOptions.x,e.alignAttr.y+i-this.alignOptions.y)?e.show():(e.alignAttr.y=-9999,t=!1),t&&d.prototype.justifyDataLabel.call(this.axis,e,this.alignOptions,e.alignAttr,n,s),e.attr({x:e.alignAttr.x,y:e.alignAttr.y}),c(!t&&this.options.crop,!0)&&((a=l(e.x)&&l(e.y)&&a.isInsidePlot(e.x-o+e.width,e.y)&&a.isInsidePlot(e.x+o,e.y))||e.hide()))},t.prototype.getStackBox=function(t,e,i,o,n,s,r){var a=e.axis.reversed,h=t.inverted,l=r.height+r.pos-(h?t.plotLeft:t.plotTop);return e=e.isNegative&&!a||!e.isNegative&&a,{x:h?e?o-r.right:o-s+r.pos-t.plotLeft:i+t.xAxis[0].transB-t.plotLeft,y:h?r.height-i-n:e?l-o-s:l-o,width:h?s:n,height:h?n:s}},t}();return e.prototype.getStacks=function(){var t=this,e=t.inverted;t.yAxis.forEach((function(t){t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)})),t.series.forEach((function(i){var o=i.xAxis&&i.xAxis.options||{};!i.options.stacking||!0!==i.visible&&!1!==t.options.chart.ignoreHiddenSeries||(i.stackKey=[i.type,c(i.options.stack,""),e?o.top:o.left,e?o.height:o.width].join())}))},o.compose(t),d.prototype.setGroupedPoints=function(){this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length&&d.prototype.setStackedPoints.call(this,"group")},d.prototype.setStackedPoints=function(t){var e=t||this.options.stacking;if(e&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var i=this.processedXData,o=this.processedYData,n=[],a=o.length,h=this.options,l=h.threshold,d=c(h.startFromThreshold&&l,0);h=h.stack;var u,f,g="-"+(t=t?this.type+","+e:this.stackKey),m=this.negStacks,y=this.yAxis,v=y.stacking.stacks,x=y.stacking.oldStacks;for(y.stacking.stacksTouched+=1,f=0;f<a;f++){var b=i[f],w=o[f],C=this.getStackIndicator(C,b,this.index),S=C.key,k=(u=m&&w<(d?0:l))?g:t;v[k]||(v[k]={}),v[k][b]||(x[k]&&x[k][b]?(v[k][b]=x[k][b],v[k][b].total=null):v[k][b]=new p(y,y.options.stackLabels,u,b,h)),k=v[k][b],null!==w?(k.points[S]=k.points[this.index]=[c(k.cumulative,d)],r(k.cumulative)||(k.base=S),k.touched=y.stacking.stacksTouched,0<C.index&&!1===this.singleStacks&&(k.points[S][0]=k.points[this.index+","+b+",0"][0])):k.points[S]=k.points[this.index]=null,"percent"===e?(u=u?t:g,m&&v[u]&&v[u][b]?(u=v[u][b],k.total=u.total=Math.max(u.total,k.total)+Math.abs(w)||0):k.total=s(k.total+(Math.abs(w)||0))):"group"===e?null!==w&&(k.total=(k.total||0)+1):k.total=s(k.total+(w||0)),k.cumulative="group"===e?(k.total||1)-1:c(k.cumulative,d)+(w||0),null!==w&&(k.points[S].push(k.cumulative),n[f]=k.cumulative,k.hasValidPoints=!0)}"percent"===e&&(y.stacking.usePercentage=!0),"group"!==e&&(this.stackedYData=n),y.stacking.oldStacks={}}},d.prototype.modifyStacks=function(){var t,e=this,i=e.stackKey,o=e.yAxis.stacking.stacks,n=e.processedXData,s=e.options.stacking;
1e[s+"Stacker"]&&[i,"-"+i].forEach((function(i){for(var r,a,h=n.length;h--;)r=n[h],t=e.getStackIndicator(t,r,e.index,i),(a=(r=o[i]&&o[i][r])&&r.points[t.key])&&e[s+"Stacker"](a,r,h)}))},d.prototype.percentStacker=function(t,e,i){e=e.total?100/e.total:0,t[0]=s(t[0]*e),t[1]=s(t[1]*e),this.stackedYData[i]=t[1]},d.prototype.getStackIndicator=function(t,e,i,o){return!r(t)||t.x!==e||o&&t.key!==o?t={x:e,index:0,key:o}:t.index++,t.key=[i,e,t.index].join(),t},i.StackItem=p,i.StackItem})),e(i,"Core/Dynamics.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/Axis.js"],i["Core/Series/Series.js"],i["Core/Chart/Chart.js"],i["Core/Globals.js"],i["Series/LineSeries.js"],i["Core/Options.js"],i["Core/Series/Point.js"],i["Core/Time.js"],i["Core/Utilities.js"]],(function(t,e,i,o,n,s,r,a,h,l){var c=t.animate,d=t.setAnimation,p=i.seriesTypes,u=r.time,f=l.addEvent,g=l.createElement,m=l.css,y=l.defined,v=l.erase,x=l.error,b=l.extend,w=l.fireEvent,C=l.isArray,S=l.isNumber,k=l.isObject,A=l.isString,M=l.merge,P=l.objectEach,T=l.pick,E=l.relativeLength,L=l.splat;n.cleanRecursively=function(t,e){var i={};return P(t,(function(o,s){k(t[s],!0)&&!t.nodeType&&e[s]?(o=n.cleanRecursively(t[s],e[s]),Object.keys(o).length&&(i[s]=o)):(k(t[s])||t[s]!==e[s])&&(i[s]=t[s])})),i},b(o.prototype,{addSeries:function(t,e,i){var o,n=this;return t&&(e=T(e,!0),w(n,"addSeries",{options:t},(function(){o=n.initSeries(t),n.isDirtyLegend=!0,n.linkSeries(),o.enabledDataSorting&&o.setData(t.data,!1),w(n,"afterAddSeries",{series:o}),e&&n.redraw(i)}))),o},addAxis:function(t,e,i,o){return this.createAxis(e?"xAxis":"yAxis",{axis:t,redraw:i,animation:o})},addColorAxis:function(t,e,i){return this.createAxis("colorAxis",{axis:t,redraw:e,animation:i})},createAxis:function(t,i){var o=this.options,s="colorAxis"===t,r=i.redraw,a=i.animation;i=M(i.axis,{index:this[t].length,isX:"xAxis"===t});var h=s?new n.ColorAxis(this,i):new e(this,i);return o[t]=L(o[t]||{}),o[t].push(i),s&&(this.isDirtyLegend=!0,this.axes.forEach((function(t){t.series=[]})),this.series.forEach((function(t){t.bindAxes(),t.isDirtyData=!0}))),T(r,!0)&&this.redraw(a),h},showLoading:function(t){var e=this,i=e.options,o=e.loadingDiv,n=i.loading,s=function(){o&&m(o,{left:e.plotLeft+"px",top:e.plotTop+"px",width:e.plotWidth+"px",height:e.plotHeight+"px"})};o||(e.loadingDiv=o=g("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e.container),e.loadingSpan=g("span",{className:"highcharts-loading-inner"},null,o),f(e,"redraw",s)),o.className="highcharts-loading",e.loadingSpan.innerHTML=T(t,i.lang.loading,""),e.styledMode||(m(o,b(n.style,{zIndex:10})),m(e.loadingSpan,n.labelStyle),e.loadingShown||(m(o,{opacity:0,display:""}),c(o,{opacity:n.style.opacity||.5},{duration:n.showDuration||0}))),e.loadingShown=!0,s()},hideLoading:function(){var t=this.options,e=this.loadingDiv;e&&(e.className="highcharts-loading highcharts-loading-hidden",this.styledMode||c(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){m(e,{display:"none"})}})),this.loadingShown=!1},propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroun
1dColor 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(" "),collectionsWithUpdate:["xAxis","yAxis","zAxis","series"],update:function(t,e,i,o){var s,r,a,l=this,c={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},d=t.isResponsiveOptions,p=[];if(w(l,"update",{options:t}),d||l.setResponsive(!1,!0),t=n.cleanRecursively(t,l.options),M(!0,l.userOptions,t),s=t.chart){if(M(!0,l.options.chart,s),"className"in s&&l.setClassName(s.className),"reflow"in s&&l.setReflow(s.reflow),"inverted"in s||"polar"in s||"type"in s){l.propFromSeries();var f=!0}"alignTicks"in s&&(f=!0),P(s,(function(t,e){-1!==l.propsRequireUpdateSeries.indexOf("chart."+e)&&(r=!0),-1!==l.propsRequireDirtyBox.indexOf(e)&&(l.isDirtyBox=!0),-1!==l.propsRequireReflow.indexOf(e)&&(d?l.isDirtyBox=!0:a=!0)})),!l.styledMode&&"style"in s&&l.renderer.setStyle(s.style)}!l.styledMode&&t.colors&&(this.options.colors=t.colors),t.time&&(this.time===u&&(this.time=new h(t.time)),M(!0,l.options.time,t.time)),P(t,(function(e,i){l[i]&&"function"==typeof l[i].update?l[i].update(e,!1):"function"==typeof l[c[i]]?l[c[i]](e):"color"!==i&&-1===l.collectionsWithUpdate.indexOf(i)&&M(!0,l.options[i],t[i]),"chart"!==i&&-1!==l.propsRequireUpdateSeries.indexOf(i)&&(r=!0)})),this.collectionsWithUpdate.forEach((function(e){if(t[e]){if("series"===e){var o=[];l[e].forEach((function(t,e){t.options.isInternal||o.push(T(t.options.index,e))}))}L(t[e]).forEach((function(t,n){var s,r=y(t.id);r&&(s=l.get(t.id)),s||(s=l[e][o?o[n]:n])&&r&&y(s.options.id)&&(s=void 0),s&&s.coll===e&&(s.update(t,!1),i&&(s.touched=!0)),!s&&i&&l.collectionsWithInit[e]&&(l.collectionsWithInit[e][0].apply(l,[t].concat(l.collectionsWithInit[e][1]||[]).concat([!1])).touched=!0)})),i&&l[e].forEach((function(t){t.touched||t.options.isInternal?delete t.touched:p.push(t)}))}})),p.forEach((function(t){t.remove&&t.remove(!1)})),f&&l.axes.forEach((function(t){t.update({},!1)})),r&&l.getSeriesOrderByLinks().forEach((function(t){t.chart&&t.update({},!1)}),this),f=s&&s.width,s=s&&s.height,A(s)&&(s=E(s,f||l.chartWidth)),a||S(f)&&f!==l.chartWidth||S(s)&&s!==l.chartHeight?l.setSize(f,s,o):T(e,!0)&&l.redraw(o),w(l,"afterUpdate",{options:t,redraw:e,animation:o})},setSubtitle:function(t,e){this.applyDescription("subtitle",t),this.layOutTitles(e)},setCaption:function(t,e){this.applyDescription("caption",t),this.layOutTitles(e)}}),o.prototype.collectionsWithInit={xAxis:[o.prototype.addAxis,[!0]],yAxis:[o.prototype.addAxis,[!1]],series:[o.prototype.addSeries]},b(a.prototype,{update:function(t,e,i,o){function n(){r.applyOptions(t);var o=h&&r.hasDummyGraphic;o=null===r.y?!o:o,h&&o&&(r.graphic=h.destroy(),delete r.hasDummyGraphic),k(t,!0)&&(h&&h.element&&t&&t.marker&&void 0!==t.marker.symbol&&(r.graphic=h.destroy()),t&&t.dataLabels&&r.dataLabel&&(r.dataLabel=r.dataLabel.destroy()),r.connector&&(r.connector=r.connector.destroy())),s=r.index,a.updateParallelArrays(r,s),c.data[s]=k(c.data[s],!0)||k(t,!0)?r.options:T(t,c.data[s]),a.isDirty=a.isDirtyData=!0,!a.fixedBox&&a.hasCartesianSeries&&(l.isDirtyBox=!0),"point"===c.legendType&&(l.isDirtyLegend=!0),e&&l.redraw(i)}var s,r=this,a=r.series,h=r.graphic,l=a.chart,c=a.options;e=T(e,!0),!1===o?n():r.firePointEvent("update",{options:t},n)},remove:function(t,e){this.series.removePoint(this.series.data.indexOf(this),t,e)}}),b(s.prototype,{addPoint:function(t,e,i,o,n){var s=this.options,r=this.data,a=this.chart,h=this.xAxis;h=h&&h.hasNames&&h.names;var l,c=s.data,d=this.xData;e=T(e,!0);var p={series:this};this.pointClass.prototype.applyOptions.apply(p,[t]);var u=p.x,f=d.length;if(this.requireSorting&&u<d[f-1])for(l=!0;f&&d[f-1]>u;)f--;this.updateParallelArrays(p,"splice",f,0,0),this.updateParallelArrays(p,f),h&&p.name&&(h[u]=p.name),c.splice(f,0,t),l&&(this.data.splice(f,0,null),this.processData()),"point"===s.legendT
1ype&&this.generatePoints(),i&&(r[0]&&r[0].remove?r[0].remove(!1):(r.shift(),this.updateParallelArrays(p,"shift"),c.shift())),!1!==n&&w(this,"addPoint",{point:p}),this.isDirtyData=this.isDirty=!0,e&&a.redraw(o)},removePoint:function(t,e,i){var o=this,n=o.data,s=n[t],r=o.points,a=o.chart,h=function(){r&&r.length===n.length&&r.splice(t,1),n.splice(t,1),o.options.data.splice(t,1),o.updateParallelArrays(s||{series:o},"splice",t,1),s&&s.destroy(),o.isDirty=!0,o.isDirtyData=!0,e&&a.redraw()};d(i,a),e=T(e,!0),s?s.firePointEvent("remove",null,h):h()},remove:function(t,e,i,o){function n(){s.destroy(o),s.remove=null,r.isDirtyLegend=r.isDirtyBox=!0,r.linkSeries(),T(t,!0)&&r.redraw(e)}var s=this,r=s.chart;!1!==i?w(s,"remove",null,n):n()},update:function(t,e){t=n.cleanRecursively(t,this.userOptions),w(this,"update",{options:t});var i,o=this,s=o.chart,r=o.userOptions,a=o.initialType||o.type,h=s.options.plotOptions,l=t.type||r.type||s.options.chart.type,c=!(this.hasDerivedData||l&&l!==this.type||void 0!==t.pointStart||void 0!==t.pointInterval||o.hasOptionChanged("dataGrouping")||o.hasOptionChanged("pointStart")||o.hasOptionChanged("pointInterval")||o.hasOptionChanged("pointIntervalUnit")||o.hasOptionChanged("keys")),d=p[a].prototype,u=["eventOptions","navigatorSeries","baseSeries"],f=o.finishedAnimating&&{animation:!1},g={};for(i in c&&(u.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&u.push("area","graph"),o.parallelArrays.forEach((function(t){u.push(t+"Data")})),t.data&&(t.dataSorting&&b(o.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=M(r,f,{index:void 0===r.index?o.index:r.index,pointStart:T(h&&h.series&&h.series.pointStart,r.pointStart,o.xData[0])},!c&&{data:o.options.data},t),c&&t.data&&(t.data=o.options.data),(u=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(u)).forEach((function(t){u[t]=o[t],delete o[t]})),o.remove(!1,null,!1,!0),d)o[i]=void 0;if(p[l||a]?b(o,p[l||a].prototype):x(17,!0,s,{missingModuleFor:l||a}),u.forEach((function(t){o[t]=u[t]})),o.init(s,t),c&&this.points){var m=o.options;!1===m.visible?(g.graphic=1,g.dataLabel=1):o._hasPointLabels||(t=m.marker,r=m.dataLabels,t&&(!1===t.enabled||"symbol"in t)&&(g.graphic=1),r&&!1===r.enabled&&(g.dataLabel=1)),this.points.forEach((function(t){t&&t.series&&(t.resolveColor(),Object.keys(g).length&&t.destroyElements(g),!1===m.showInLegend&&t.legendItem&&s.legend.destroyItem(t))}),this)}o.initialType=a,s.linkSeries(),w(this,"afterUpdate"),T(e,!0)&&s.redraw(!!c&&void 0)},setName:function(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0},hasOptionChanged:function(t){var e=this.options[t],i=this.chart.options.plotOptions,o=this.userOptions[t];return o?e!==o:e!==T(i&&i[this.type]&&i[this.type][t],i&&i.series&&i.series[t],e)}}),b(e.prototype,{update:function(t,e){var i=this.chart,o=t&&t.events||{};t=M(this.userOptions,t),i.options[this.coll].indexOf&&(i.options[this.coll][i.options[this.coll].indexOf(this.userOptions)]=t),P(i.options[this.coll].events,(function(t,e){void 0===o[e]&&(o[e]=void 0)})),this.destroy(!0),this.init(i,b(t,{events:o})),i.isDirtyBox=!0,T(e,!0)&&i.redraw()},remove:function(t){for(var e=this.chart,i=this.coll,o=this.series,n=o.length;n--;)o[n]&&o[n].remove(!1);v(e.axes,this),v(e[i],this),C(e.options[i])?e.options[i].splice(this.options.index,1):delete e.options[i],e[i].forEach((function(t,e){t.options.index=t.userOptions.index=e})),this.destroy(),e.isDirtyBox=!0,T(t,!0)&&e.redraw()},setTitle:function(t,e){this.update({title:t},e)},setCategories:function(t,e){this.update({categories:t},e)}})})),e(i,"Series/AreaSeries.js",[i["Core/Series/Series.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Mixins/LegendSymbol.js"],i["Core/Utilities.js"]],(function(t,e,i,o,n){var s=e.parse,r=n.objectEach,a=n.pick,h=i.Series;t.seriesType("area","line",{threshold:0},{singleStacks:!1,getStackPoints:function(t){var e,i=[],o=[],n=this.xAxis,s=this.yAxis,h=s.stacking.stacks[this.stackKey],l={},c=this.index,d=s.series,p=d.length,u=a(s.options.reversedStacks,!0)?1:-1;
1if(t=t||this.points,this.options.stacking){for(e=0;e<t.length;e++)t[e].leftNull=t[e].rightNull=void 0,l[t[e].x]=t[e];r(h,(function(t,e){null!==t.total&&o.push(e)})),o.sort((function(t,e){return t-e}));var f=d.map((function(t){return t.visible}));o.forEach((function(t,r){var a,d,g=0;if(l[t]&&!l[t].isNull)i.push(l[t]),[-1,1].forEach((function(i){var n=1===i?"rightNull":"leftNull",s=0,g=h[o[r+i]];if(g)for(e=c;0<=e&&e<p;)(a=g.points[e])||(e===c?l[t][n]=!0:f[e]&&(d=h[t].points[e])&&(s-=d[1]-d[0])),e+=u;l[t][1===i?"rightCliff":"leftCliff"]=s}));else{for(e=c;0<=e&&e<p;){if(a=h[t].points[e]){g=a[1];break}e+=u}g=s.translate(g,0,1,0,1),i.push({isNull:!0,plotX:n.translate(t,0,0,0,1),x:t,plotY:g,yBottom:g})}}))}return i},getGraphPath:function(t){var e,i=h.prototype.getGraphPath,o=this.options,n=o.stacking,s=this.yAxis,r=[],l=[],c=this.index,d=s.stacking.stacks[this.stackKey],p=o.threshold,u=Math.round(s.getThreshold(o.threshold));o=a(o.connectNulls,"percent"===n);var f=function(e,i,o){var a=t[e];e=n&&d[a.x].points[c];var h=a[o+"Null"]||0;if(o=a[o+"Cliff"]||0,a=!0,o||h){var f=(h?e[0]:e[1])+o,g=e[0]+o;a=!!h}else!n&&t[i]&&t[i].isNull&&(f=g=p);void 0!==f&&(l.push({plotX:m,plotY:null===f?u:s.getThreshold(f),isNull:a,isCliff:!0}),r.push({plotX:m,plotY:null===g?u:s.getThreshold(g),doCurve:!1}))};for(t=t||this.points,n&&(t=this.getStackPoints(t)),e=0;e<t.length;e++){n||(t[e].leftCliff=t[e].rightCliff=t[e].leftNull=t[e].rightNull=void 0);var g=t[e].isNull,m=a(t[e].rectPlotX,t[e].plotX),y=n?t[e].yBottom:u;g&&!o||(o||f(e,e-1,"left"),g&&!n&&o||(l.push(t[e]),r.push({x:e,plotX:m,plotY:y})),o||f(e,e+1,"right"))}return e=i.call(this,l,!0,!0),r.reversed=!0,(y=(g=i.call(this,r,!0,!0))[0])&&"M"===y[0]&&(g[0]=["L",y[1],y[2]]),g=e.concat(g),i=i.call(this,l,!1,o),g.xMap=e.xMap,this.areaPath=g,i},drawGraph:function(){this.areaPath=[],h.prototype.drawGraph.apply(this);var t=this,e=this.areaPath,i=this.options,o=[["area","highcharts-area",this.color,i.fillColor]];this.zones.forEach((function(e,n){o.push(["zone-area-"+n,"highcharts-area highcharts-zone-area-"+n+" "+e.className,e.color||t.color,e.fillColor||i.fillColor])})),o.forEach((function(o){var n=o[0],r=t[n],h=r?"animate":"attr",l={};r?(r.endX=t.preventGraphAnimation?null:e.xMap,r.animate({d:e})):(l.zIndex=0,(r=t[n]=t.chart.renderer.path(e).addClass(o[1]).add(t.group)).isArea=!0),t.chart.styledMode||(l.fill=a(o[3],s(o[2]).setOpacity(a(i.fillOpacity,.75)).get())),r[h](l),r.startX=e.xMap,r.shiftUnit=i.step?2:1}))},drawLegendSymbol:o.drawRectangle})})),e(i,"Series/SplineSeries.js",[i["Core/Series/Series.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.pick;t.seriesType("spline","line",{},{getPointSpline:function(t,e,o){var n=e.plotX||0,s=e.plotY||0,r=t[o-1];if(o=t[o+1],r&&!r.isNull&&!1!==r.doCurve&&!e.isCliff&&o&&!o.isNull&&!1!==o.doCurve&&!e.isCliff){t=r.plotY||0;var a=o.plotX||0;o=o.plotY||0;var h=0,l=(1.5*n+(r.plotX||0))/2.5,c=(1.5*s+t)/2.5,d=(1.5*s+o)/2.5;(a=(1.5*n+a)/2.5)!==l&&(h=(d-c)*(a-n)/(a-l)+s-d),d+=h,(c+=h)>t&&c>s?d=2*s-(c=Math.max(t,s)):c<t&&c<s&&(d=2*s-(c=Math.min(t,s))),d>o&&d>s?c=2*s-(d=Math.max(o,s)):d<o&&d<s&&(c=2*s-(d=Math.min(o,s))),e.rightContX=a,e.rightContY=d}return e=["C",i(r.rightContX,r.plotX,0),i(r.rightContY,r.plotY,0),i(l,n,0),i(c,s,0),n,s],r.rightContX=r.rightContY=void 0,e}})})),e(i,"Series/AreaSplineSeries.js",[i["Core/Series/Series.js"],i["Mixins/LegendSymbol.js"],i["Core/Options.js"]],(function(t,e,i){var o=t.seriesTypes.area.prototype;t.seriesType("areaspline","spline",i.defaultOptions.plotOptions.area,{getStackPoints:o.getStackPoints,getGraphPath:o.getGraphPath,drawGraph:o.drawGraph,drawLegendSymbol:e.drawRectangle})})),e(i,"Series/ColumnSeries.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Series/Series.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Mixins/LegendSymbol.js"],i["Series/LineSeries.js"],i["Core/Utilities.js"]],(function(t,e,i,o,n,s,r){var a=t.animObject,h=i.parse;t=o.noop;var l=r.clamp,c=r.defined,d=r.extend,p=r.isArray,u=r.isNumber,f=r.merge,g=r.pick,m=r.objectEach;return e=e.seriesType("column","line",{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"},{cropShoulder:0,directTouch:!0,trackerGroups:["group","dataLabelsGroup"],negStacks:!0,init:function(){s.prototype.init.a
1pply(this,arguments);var t=this,e=t.chart;e.hasRendered&&e.series.forEach((function(e){e.type===t.type&&(e.isDirty=!0)}))},getColumnMetrics:function(){var t=this,e=t.options,i=t.xAxis,o=t.yAxis,n=i.options.reversedStacks;n=i.reversed&&!n||!i.reversed&&n;var s,r={},a=0;!1===e.grouping?a=1:t.chart.series.forEach((function(e){var i=e.yAxis,n=e.options;if(e.type===t.type&&(e.visible||!t.chart.options.chart.ignoreHiddenSeries)&&o.len===i.len&&o.pos===i.pos){if(n.stacking&&"group"!==n.stacking){s=e.stackKey,void 0===r[s]&&(r[s]=a++);var h=r[s]}else!1!==n.grouping&&(h=a++);e.columnIndex=h}}));var h=Math.min(Math.abs(i.transA)*(i.ordinal&&i.ordinal.slope||e.pointRange||i.closestPointRange||i.tickInterval||1),i.len),l=h*e.groupPadding,c=(h-2*l)/(a||1);return e=Math.min(e.maxPointWidth||i.len,g(e.pointWidth,c*(1-2*e.pointPadding))),t.columnMetrics={width:e,offset:(c-e)/2+(l+((t.columnIndex||0)+(n?1:0))*c-h/2)*(n?-1:1),paddedWidth:c,columnCount:a},t.columnMetrics},crispCol:function(t,e,i,o){var n=this.chart,s=this.borderWidth,r=-(s%2?.5:0);return s=s%2?.5:1,n.inverted&&n.renderer.isVML&&(s+=1),this.options.crisp&&(i=Math.round(t+i)+r,i-=t=Math.round(t)+r),o=Math.round(e+o)+s,r=.5>=Math.abs(e)&&.5<o,o-=e=Math.round(e)+s,r&&o&&(--e,o+=1),{x:t,y:e,width:i,height:o}},adjustForMissingColumns:function(t,e,i,o){var n=this,s=this.options.stacking;if(!i.isNull&&1<o.columnCount){var r=0,a=0;m(this.yAxis.stacking&&this.yAxis.stacking.stacks,(function(t){if("number"==typeof i.x&&(t=t[i.x.toString()])){var e=t.points[n.index],o=t.total;s?(e&&(r=a),t.hasValidPoints&&a++):p(e)&&(r=e[1],a=o||0)}})),t=(i.plotX||0)+((a-1)*o.paddedWidth+e)/2-e-r*o.paddedWidth}return t},translate:function(){var t=this,e=t.chart,i=t.options,o=t.dense=2>t.closestPointRange*t.xAxis.transA;o=t.borderWidth=g(i.borderWidth,o?0:1);var n=t.xAxis,r=t.yAxis,a=i.threshold,h=t.translatedThreshold=r.getThreshold(a),d=g(i.minPointLength,5),p=t.getColumnMetrics(),f=p.width,m=t.barW=Math.max(f,1+2*o),y=t.pointXOffset=p.offset,v=t.dataMin,x=t.dataMax;e.inverted&&(h-=.5),i.pointPadding&&(m=Math.ceil(m)),s.prototype.translate.apply(t),t.points.forEach((function(o){var s=g(o.yBottom,h),b=999+Math.abs(s),w=f,C=o.plotX||0;b=l(o.plotY,-b,r.len+b);var S=C+y,k=m,A=Math.min(b,s),M=Math.max(b,s)-A;if(d&&Math.abs(M)<d){M=d;var P=!r.reversed&&!o.negative||r.reversed&&o.negative;u(a)&&u(x)&&o.y===a&&x<=a&&(r.min||0)<a&&v!==x&&(P=!P),A=Math.abs(A-h)>d?s-d:h-(P?d:0)}c(o.options.pointWidth)&&(w=k=Math.ceil(o.options.pointWidth),S-=Math.round((w-f)/2)),i.centerInCategory&&(S=t.adjustForMissingColumns(S,w,o,p)),o.barX=S,o.pointWidth=w,o.tooltipPos=e.inverted?[r.len+r.pos-e.plotLeft-b,n.len+n.pos-e.plotTop-(C||0)-y-k/2,M]:[S+k/2,b+r.pos-e.plotTop,M],o.shapeType=t.pointClass.prototype.shapeType||"rect",o.shapeArgs=t.crispCol.apply(t,o.isNull?[S,h,k,0]:[S,A,k,M])}))},getSymbol:t,drawLegendSymbol:n.drawRectangle,drawGraph:function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},pointAttribs:function(t,e){var i=this.options,o=this.pointAttrToOptions||{},n=o.stroke||"borderColor",s=o["stroke-width"]||"borderWidth",r=t&&t.color||this.color,a=t&&t[n]||i[n]||this.color||r,l=t&&t[s]||i[s]||this[s]||0;o=t&&t.options.dashStyle||i.dashStyle;var c=g(t&&t.opacity,i.opacity,1);if(t&&this.zones.length){var d=t.getZone();r=t.options.color||d&&(d.color||t.nonZonedColor)||this.color,d&&(a=d.borderColor||a,o=d.dashStyle||o,l=d.borderWidth||l)}return e&&t&&(e=(t=f(i.states[e],t.options.states&&t.options.states[e]||{})).brightness,r=t.color||void 0!==e&&h(r).brighten(t.brightness).get()||r,a=t[n]||a,l=t[s]||l,o=t.dashStyle||o,c=g(t.opacity,c)),n={fill:r,stroke:a,"stroke-width":l,opacity:c},o&&(n.dashstyle=o),n},drawPoints:function(){var t,e=this,i=this.chart,o=e.options,n=i.renderer,s=o.animationLimit||250;e.points.forEach((function(r){var a=r.graphic,h=!!a,l=a&&i.pointCount<s?"animate":"attr";u(r.plotY)&&null!==r.y?(t=r.shapeArgs,a&&r.hasNewShapeType()&&(a=a.destroy()),e.enabledDataSorting&&(r.startXPos=e.xAxis.reversed?-(t?t.width:0):e.xAxis.width),a||(r.graphic=a=n[r.shapeType](t).add(r.group||e.group))&&e.enabledDataSorting&&i.hasRendered&&i.pointCount<s&&(a.attr({x:r.startXPos}
1),h=!0,l="animate"),a&&h&&a[l](f(t)),o.borderRadius&&a[l]({r:o.borderRadius}),i.styledMode||a[l](e.pointAttribs(r,r.selected&&"select")).shadow(!1!==r.allowShadow&&o.shadow,null,o.stacking&&!o.borderRadius),a.addClass(r.getClassName(),!0)):a&&(r.graphic=a.destroy())}))},animate:function(t){var e=this,i=this.yAxis,o=e.options,n=this.chart.inverted,s={},r=n?"translateX":"translateY";if(t)s.scaleY=.001,t=l(i.toPixels(o.threshold),i.pos,i.pos+i.len),n?s.translateX=t-i.len:s.translateY=t,e.clipBox&&e.setClip(),e.group.attr(s);else{var h=e.group.attr(r);e.group.animate({scaleY:1},d(a(e.options.animation),{step:function(t,o){e.group&&(s[r]=h+o.pos*(i.pos-h),e.group.attr(s))}}))}},remove:function(){var t=this,e=t.chart;e.hasRendered&&e.series.forEach((function(e){e.type===t.type&&(e.isDirty=!0)})),s.prototype.remove.apply(t,arguments)}})})),e(i,"Series/BarSeries.js",[i["Core/Series/Series.js"]],(function(t){t.seriesType("bar","column",null,{inverted:!0})})),e(i,"Series/ScatterSeries.js",[i["Core/Series/Series.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,i){i=i.addEvent;var o=e.Series;t.seriesType("scatter","line",{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">â</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}},{sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1,drawGraph:function(){(this.options.lineWidth||0===this.options.lineWidth&&this.graph&&this.graph.strokeWidth())&&o.prototype.drawGraph.call(this)},applyJitter:function(){var t=this,e=this.options.jitter,i=this.points.length;e&&this.points.forEach((function(o,n){["x","y"].forEach((function(s,r){var a="plot"+s.toUpperCase();if(e[s]&&!o.isNull){var h=t[s+"Axis"],l=e[s]*h.transA;if(h&&!h.isLog){var c=Math.max(0,o[a]-l);h=Math.min(h.len,o[a]+l),r=1e4*Math.sin(n+r*i),o[a]=c+(h-c)*(r-Math.floor(r)),"x"===s&&(o.clientX=o.plotX)}}}))}))}}),i(o,"afterTranslate",(function(){this.applyJitter&&this.applyJitter()}))})),e(i,"Mixins/CenteredSeries.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.isNumber,o=e.pick,n=e.relativeLength,s=t.deg2rad;return t.CenteredSeriesMixin={getCenter:function(){var e=this.options,i=this.chart,s=2*(e.slicedOffset||0),r=i.plotWidth-2*s,a=i.plotHeight-2*s,h=e.center,l=Math.min(r,a),c=e.size,d=e.innerSize||0;for("string"==typeof c&&(c=parseFloat(c)),"string"==typeof d&&(d=parseFloat(d)),e=[o(h[0],"50%"),o(h[1],"50%"),o(c&&0>c?void 0:e.size,"100%"),o(d&&0>d?void 0:e.innerSize||0,"0%")],!i.angular||this instanceof t.Series||(e[3]=0),h=0;4>h;++h)c=e[h],i=2>h||2===h&&/%$/.test(c),e[h]=n(c,[r,a,l,e[2]][h])+(i?s:0);return e[3]>e[2]&&(e[3]=e[2]),e},getStartAndEndRadians:function(t,e){return t=i(t)?t:0,e=i(e)&&e>t&&360>e-t?e:t+360,{start:s*(t+-90),end:s*(e+-90)}}}})),e(i,"Series/PieSeries.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Series/Series.js"],i["Mixins/CenteredSeries.js"],i["Core/Globals.js"],i["Mixins/LegendSymbol.js"],i["Series/LineSeries.js"],i["Core/Series/Point.js"],i["Core/Renderer/SVG/SVGRenderer.js"],i["Core/Utilities.js"]],(function(t,e,i,o,n,s,r,a,h){var l=t.setAnimation,c=i.getStartAndEndRadians;t=o.noop;var d=h.addEvent,p=h.clamp,u=h.defined,f=h.fireEvent,g=h.isNumber,m=h.merge,y=h.pick,v=h.relativeLength;e.seriesType("pie","line",{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}}},{isCartesian:!1,requireSorting:!1,directTouch:!0,noSharedTooltip:!0,trackerGroups:["group","dataLabelsGroup"],axisTypes:[],pointAttribs:e.seriesTypes.column.prototype.pointAttribs,animate:function(t){var e=this,i=e.points,o=e.startAngleRad;
1t||i.forEach((function(t){var i=t.graphic,n=t.shapeArgs;i&&n&&(i.attr({r:y(t.startR,e.center&&e.center[3]/2),start:o,end:o}),i.animate({r:n.r,start:n.start,end:n.end},e.options.animation))}))},hasData:function(){return!!this.processedXData.length},updateTotals:function(){var t,e=0,i=this.points,o=i.length,n=this.options.ignoreHiddenPoint;for(t=0;t<o;t++){var s=i[t];e+=n&&!s.visible||s.isNull?0:s.y}for(this.total=e,t=0;t<o;t++)(s=i[t]).percentage=0<e&&(s.visible||!n)?s.y/e*100:0,s.total=e},generatePoints:function(){s.prototype.generatePoints.call(this),this.updateTotals()},getX:function(t,e,i){var o=this.center,n=this.radii?this.radii[i.index]:o[2]/2;return t=Math.asin(p((t-o[1])/(n+i.labelDistance),-1,1)),o[0]+(e?-1:1)*Math.cos(t)*(n+i.labelDistance)+(0<i.labelDistance?(e?-1:1)*this.options.dataLabels.padding:0)},translate:function(t){this.generatePoints();var e=0,i=this.options,o=i.slicedOffset,n=o+(i.borderWidth||0),s=c(i.startAngle,i.endAngle),r=this.startAngleRad=s.start;s=(this.endAngleRad=s.end)-r;var a=this.points,h=i.dataLabels.distance;i=i.ignoreHiddenPoint;var l,d=a.length;for(t||(this.center=t=this.getCenter()),l=0;l<d;l++){var p=a[l],u=r+e*s;i&&!p.visible||(e+=p.percentage/100);var g=r+e*s;p.shapeType="arc",p.shapeArgs={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:Math.round(1e3*u)/1e3,end:Math.round(1e3*g)/1e3},p.labelDistance=y(p.options.dataLabels&&p.options.dataLabels.distance,h),p.labelDistance=v(p.labelDistance,p.shapeArgs.r),this.maxLabelDistance=Math.max(this.maxLabelDistance||0,p.labelDistance),(g=(g+u)/2)>1.5*Math.PI?g-=2*Math.PI:g<-Math.PI/2&&(g+=2*Math.PI),p.slicedTranslation={translateX:Math.round(Math.cos(g)*o),translateY:Math.round(Math.sin(g)*o)};var m=Math.cos(g)*t[2]/2,x=Math.sin(g)*t[2]/2;p.tooltipPos=[t[0]+.7*m,t[1]+.7*x],p.half=g<-Math.PI/2||g>Math.PI/2?1:0,p.angle=g,u=Math.min(n,p.labelDistance/5),p.labelPosition={natural:{x:t[0]+m+Math.cos(g)*p.labelDistance,y:t[1]+x+Math.sin(g)*p.labelDistance},final:{},alignment:0>p.labelDistance?"center":p.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+m+Math.cos(g)*u,y:t[1]+x+Math.sin(g)*u},touchingSliceAt:{x:t[0]+m,y:t[1]+x}}}}f(this,"afterTranslate")},drawEmpty:function(){var t=this.startAngleRad,e=this.endAngleRad,i=this.options;if(0===this.total&&this.center){var o=this.center[0],n=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(o,n,this.center[1]/2,0,t,e).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:a.prototype.symbols.arc(o,n,this.center[2]/2,0,{start:t,end:e,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":i.borderWidth,fill:i.fillColor||"none",stroke:i.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())},redrawPoints:function(){var t,e,i,o,n=this,s=n.chart,r=s.renderer,a=n.options.shadow;this.drawEmpty(),!a||n.shadowGroup||s.styledMode||(n.shadowGroup=r.g("shadow").attr({zIndex:-1}).add(n.group)),n.points.forEach((function(h){var l={};if(e=h.graphic,!h.isNull&&e){if(o=h.shapeArgs,t=h.getTranslate(),!s.styledMode){var c=h.shadowGroup;a&&!c&&(c=h.shadowGroup=r.g("shadow").add(n.shadowGroup)),c&&c.attr(t),i=n.pointAttribs(h,h.selected&&"select")}h.delayedRendering?(e.setRadialReference(n.center).attr(o).attr(t),s.styledMode||e.attr(i).attr({"stroke-linejoin":"round"}).shadow(a,c),h.delayedRendering=!1):(e.setRadialReference(n.center),s.styledMode||m(!0,l,i),m(!0,l,o,t),e.animate(l)),e.attr({visibility:h.visible?"inherit":"hidden"}),e.addClass(h.getClassName())}else e&&(h.graphic=e.destroy())}))},drawPoints:function(){var t=this.chart.renderer;this.points.forEach((function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)}))},searchPoint:t,sortByAngle:function(t,e){t.sort((function(t,i){return void 0!==t.angle&&(i.angle-t.angle)*e}))},drawLegendSymbol:n.drawRectangle,getCenter:i.getCenter,getSymbol:t,drawGraph:null},{init:function(){r.prototype.init.apply(this,arguments);var t=this;t.name=y(t.name,"Slice");var e=function(e){t.slice("select"===e.type)};return d(t,"select",e),d(t,"unselect",e),t},isValid:function(){return g(this.y)&&0<=this.y},setVisible:function(t,e){var i=this,o=i.series,n=o.chart,s=o.options.ignoreHiddenPoint;e=y(e,s),t!==i.visible&&(i.visible=i.options.visible=t=void 0===t?!i.visible:t,o.options.data[o.data.indexOf(i)]=i.options,["graphic","dataLabel","connector","shadowGroup"].forEach((function(e){i[e]&&i[e][t?"show":"hide"](!0)})),i.legendItem&&n.legend.colorizeItem(i,t),t||"hover"!==i.state||i.setState(""),s&&(o.isDirty=!0),e&&n.redraw())}
1,slice:function(t,e,i){var o=this.series;l(i,o.chart),y(e,!0),this.sliced=this.options.sliced=u(t)?t:!this.sliced,o.options.data[o.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},getTranslate:function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},haloPath:function(t){var e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end})},connectorShapes:{fixedOffset:function(t,e,i){var o=e.breakAt;return e=e.touchingSliceAt,[["M",t.x,t.y],i.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*o.x-e.x,2*o.y-e.y,o.x,o.y]:["L",o.x,o.y],["L",e.x,e.y]]},straight:function(t,e){return e=e.touchingSliceAt,[["M",t.x,t.y],["L",e.x,e.y]]},crookedLine:function(t,e,i){e=e.touchingSliceAt;var o=this.series,n=o.center[0],s=o.chart.plotWidth,r=o.chart.plotLeft;o=t.alignment;var a=this.shapeArgs.r;return i=v(i.crookDistance,1),i=["L",s="left"===o?n+a+(s+r-n-a)*(1-i):r+(n-a)*i,t.y],n=!0,("left"===o?s>t.x||s<e.x:s<t.x||s>e.x)&&(n=!1),t=[["M",t.x,t.y]],n&&t.push(i),t.push(["L",e.x,e.y]),t}},getConnectorPath:function(){var t=this.labelPosition,e=this.series.options.dataLabels,i=e.connectorShape,o=this.connectorShapes;return o[i]&&(i=o[i]),i.call(this,{x:t.final.x,y:t.final.y,alignment:t.alignment},t.connectorPosition,e)}})})),e(i,"Core/Series/DataLabels.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Globals.js"],i["Core/Series/CartesianSeries.js"],i["Core/Utilities.js"]],(function(t,e,i,o){var n=t.getDeferredAnimation;t=e.noop;var s=e.seriesTypes,r=o.arrayMax,a=o.clamp,h=o.defined,l=o.extend,c=o.fireEvent,d=o.format,p=o.isArray,u=o.merge,f=o.objectEach,g=o.pick,m=o.relativeLength,y=o.splat,v=o.stableSort;e.distribute=function(t,i,o){function n(t,e){return t.target-e.target}var s,r=!0,h=t,l=[],c=0,d=h.reducedLen||i;for(s=t.length;s--;)c+=t[s].size;if(c>d){for(v(t,(function(t,e){return(e.rank||0)-(t.rank||0)})),c=s=0;c<=d;)c+=t[s].size,s++;l=t.splice(s-1,t.length)}for(v(t,n),t=t.map((function(t){return{size:t.size,targets:[t.target],align:g(t.align,.5)}}));r;){for(s=t.length;s--;)r=t[s],c=(Math.min.apply(0,r.targets)+Math.max.apply(0,r.targets))/2,r.pos=a(c-r.size*r.align,0,i-r.size);for(s=t.length,r=!1;s--;)0<s&&t[s-1].pos+t[s-1].size>t[s].pos&&(t[s-1].size+=t[s].size,t[s-1].targets=t[s-1].targets.concat(t[s].targets),t[s-1].align=.5,t[s-1].pos+t[s-1].size>i&&(t[s-1].pos=i-t[s-1].size),t.splice(s,1),r=!0)}h.push.apply(h,l),s=0,t.some((function(t){var n=0;if(t.targets.some((function(){if(h[s].pos=t.pos+n,void 0!==o&&Math.abs(h[s].pos-h[s].target)>o)return h.slice(0,s+1).forEach((function(t){delete t.pos})),h.reducedLen=(h.reducedLen||i)-.1*i,h.reducedLen>.1*i&&e.distribute(h,i,o),!0;n+=h[s].size,s++})))return!0})),v(h,n)},i.prototype.drawDataLabels=function(){function t(t,e){var i,o=[];if(p(t)&&!p(e))o=t.map((function(t){return u(t,e)}));else if(p(e)&&!p(t))o=e.map((function(e){return u(t,e)}));else if(p(t)||p(e))for(i=Math.max(t.length,e.length);i--;)o[i]=u(t[i],e[i]);else o=u(t,e);return o}var e=this,i=e.chart,o=e.options,s=o.dataLabels,r=e.points,a=e.hasRendered||0,l=s.animation;l=s.defer?n(i,l,e):{defer:0,duration:0};var m=i.renderer;if(s=t(t(i.options.plotOptions&&i.options.plotOptions.series&&i.options.plotOptions.series.dataLabels,i.options.plotOptions&&i.options.plotOptions[e.type]&&i.options.plotOptions[e.type].dataLabels),s),c(this,"drawDataLabels"),p(s)||s.enabled||e._hasPointLabels){var v=e.plotGroup("dataLabelsGroup","data-labels",a?"inherit":"hidden",s.zIndex||6);v.attr({opacity:+a}),!a&&(a=e.dataLabelsGroup)&&(e.visible&&v.show(!0),a[o.animation?"animate":"attr"]({opacity:1},l)),r.forEach((function(n){y(t(s,n.dlOptions||n.options&&n.options.dataLabels)).forEach((function(t,s){var r=t.enabled&&(!n.isNull||n.dataLabelOnNull)&&function(t,e){var i=e.filter;return!i||(e=i.operator,t=t[i.property],i=i.value,">"===e&&t>i||"<"===e&&t<i||">="===e&&t>=i||"<="===e&&t<=i||"=="===e&&t==i||"==="===e&&t===i)}(n,t),a=n.dataLabels?n.dataLabels[s]:n.dataLabel,l=n.connectors?n.connectors[s]:n.connector,c=g(t.distance,n.labelDistance),p=!a;if(r){var u=n.getLabelConfig(),y=g(t[n.formatPrefix+"Format"],t.format);u=h(y)?d(y,u,i):(t[n.formatPrefix+"Formatter"]||t.formatter).call(u,t),y=t.style;var x=t.rotation;i.styledMode||(y.color=g(t.color,y.color,e.color,"#000000"),"contrast"===y.color?(n.contrastColor=m.getContrast(n.color||e.color),y.color=!h(c)&&t.inside||0>c||o.stacking?n.contrastColor:"#000000"):delete n.contrastColor,o.cursor&&(y.cursor=o.cursor));var b={r:t.borderRadius||0,rotation:x,padding:t.padding,zIndex:1};i.styledMode||(b.fill=t.backgroundColor,b.stroke=t.borderColor,b["stroke-width"]=t.borderWidth),f(b,(function(t,e){void 0===t&&delete b[e]}))}!a||r&&h(u)?r&&h(u)&&(a?b.text=u:(n.dataLabels=n.dataLabels||[],a=n.dataLabels[s]=x?m.text(u,0,-9999,t.useHTML).addClass("highcharts-data-label"):m.label(u,0,-9999,t.shape,null,null,t.useHTML,null,"data-label"),s||(n.dataLabel=a
1),a.addClass(" highcharts-data-label-color-"+n.colorIndex+" "+(t.className||"")+(t.useHTML?" highcharts-tracker":""))),a.options=t,a.attr(b),i.styledMode||a.css(y).shadow(t.shadow),a.added||a.add(v),t.textPath&&!t.useHTML&&(a.setTextPath(n.getDataLabelPath&&n.getDataLabelPath(a)||n.graphic,t.textPath),n.dataLabelPath&&!t.textPath.enabled&&(n.dataLabelPath=n.dataLabelPath.destroy())),e.alignDataLabel(n,a,t,null,p)):(n.dataLabel=n.dataLabel&&n.dataLabel.destroy(),n.dataLabels&&(1===n.dataLabels.length?delete n.dataLabels:delete n.dataLabels[s]),s||delete n.dataLabel,l&&(n.connector=n.connector.destroy(),n.connectors&&(1===n.connectors.length?delete n.connectors:delete n.connectors[s])))}))}))}c(this,"afterDrawDataLabels")},i.prototype.alignDataLabel=function(t,e,i,o,n){var s=this,r=this.chart,a=this.isCartesian&&r.inverted,h=this.enabledDataSorting,c=g(t.dlBox&&t.dlBox.centerX,t.plotX,-9999),d=g(t.plotY,-9999),p=e.getBBox(),u=i.rotation,f=i.align,m=r.isInsidePlot(c,Math.round(d),a),y="justify"===g(i.overflow,h?"none":"justify"),v=this.visible&&!1!==t.visible&&(t.series.forceDL||h&&!y||m||i.inside&&o&&r.isInsidePlot(c,a?o.x+1:o.y+o.height-1,a)),x=function(i){h&&s.xAxis&&!y&&s.setDataLabelStartPos(t,e,n,m,i)};if(v){var b=r.renderer.fontMetrics(r.styledMode?void 0:i.style.fontSize,e).b;o=l({x:a?this.yAxis.len-d:c,y:Math.round(a?this.xAxis.len-c:d),width:0,height:0},o),l(i,{width:p.width,height:p.height}),u?(y=!1,c=r.renderer.rotCorr(b,u),x(c={x:o.x+(i.x||0)+o.width/2+c.x,y:o.y+(i.y||0)+{top:0,middle:.5,bottom:1}[i.verticalAlign]*o.height}),e[n?"attr":"animate"](c).attr({align:f}),x=180<(x=(u+720)%360)&&360>x,"left"===f?c.y-=x?p.height:0:"center"===f?(c.x-=p.width/2,c.y-=p.height/2):"right"===f&&(c.x-=p.width,c.y-=x?0:p.height),e.placed=!0,e.alignAttr=c):(x(o),e.align(i,null,o),c=e.alignAttr),y&&0<=o.height?this.justifyDataLabel(e,i,c,p,o,n):g(i.crop,!0)&&(v=r.isInsidePlot(c.x,c.y)&&r.isInsidePlot(c.x+p.width,c.y+p.height)),i.shape&&!u&&e[n?"attr":"animate"]({anchorX:a?r.plotWidth-t.plotY:t.plotX,anchorY:a?r.plotHeight-t.plotX:t.plotY})}n&&h&&(e.placed=!1),v||h&&!y||(e.hide(!0),e.placed=!1)},i.prototype.setDataLabelStartPos=function(t,e,i,o,n){var s=this.chart,r=s.inverted,a=this.xAxis,h=a.reversed,l=r?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,a=r?n.x:h?-l-t:a.width-l+t,n=r?h?this.yAxis.height-l+t:-l-t:n.y,e.startXPos=a,e.startYPos=n,o?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0}
1,void 0,e.hide),s.hasRendered&&(i&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)},i.prototype.justifyDataLabel=function(t,e,i,o,n,s){var r=this.chart,a=e.align,h=e.verticalAlign,l=t.box?0:t.padding||0,c=e.x;c=void 0===c?0:c;var d=e.y,p=void 0===d?0:d;if(0>(d=i.x+l)){"right"===a&&0<=c?(e.align="left",e.inside=!0):c-=d;var u=!0}return(d=i.x+o.width-l)>r.plotWidth&&("left"===a&&0>=c?(e.align="right",e.inside=!0):c+=r.plotWidth-d,u=!0),0>(d=i.y+l)&&("bottom"===h&&0<=p?(e.verticalAlign="top",e.inside=!0):p-=d,u=!0),(d=i.y+o.height-l)>r.plotHeight&&("top"===h&&0>=p?(e.verticalAlign="bottom",e.inside=!0):p+=r.plotHeight-d,u=!0),u&&(e.x=c,e.y=p,t.placed=!s,t.align(e,void 0,n)),u},s.pie&&(s.pie.prototype.dataLabelPositioners={radialDistributionY:function(t){return t.top+t.distributeBox.pos},radialDistributionX:function(t,e,i,o){return t.getX(i<e.top+2||i>e.bottom-2?o:i,e.half,e)},justify:function(t,e,i){return i[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,i,o){return t=t.getBBox().width,e?t+o:i-t-o},alignToConnectors:function(t,e,i,o){var n,s=0;return t.forEach((function(t){(n=t.dataLabel.getBBox().width)>s&&(s=n)})),e?s+o:i-s-o}},s.pie.prototype.drawDataLabels=function(){var t,o,n,s,a,l,c,d,p,f,m,y,v=this,x=v.data,b=v.chart,w=v.options.dataLabels||{},C=w.connectorPadding,S=b.plotWidth,k=b.plotHeight,A=b.plotLeft,M=Math.round(b.chartWidth/3),P=v.center,T=P[2]/2,E=P[1],L=[[],[]],D=[0,0,0,0],O=v.dataLabelPositioners;v.visible&&(w.enabled||v._hasPointLabels)&&(x.forEach((function(t){t.dataLabel&&t.visible&&t.dataLabel.shortened&&(t.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.dataLabel.shortened=!1)})),i.prototype.drawDataLabels.apply(v),x.forEach((function(t){t.dataLabel&&(t.visible?(L[t.half].push(t),t.dataLabel._pos=null,!h(w.style.width)&&!h(t.options.dataLabels&&t.options.dataLabels.style&&t.options.dataLabels.style.width)&&t.dataLabel.getBBox().width>M&&(t.dataLabel.css({width:Math.round(.7*M)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))})),L.forEach((function(i,o){var n,r=i.length,u=[];if(r){if(v.sortByAngle(i,o-.5),0<v.maxLabelDistance){var x=Math.max(0,E-T-v.maxLabelDistance),M=Math.min(E+T+v.maxLabelDistance,b.plotHeight);i.forEach((function(t){0<t.labelDistance&&t.dataLabel&&(t.top=Math.max(0,E-T-t.labelDistance),t.bottom=Math.min(E+T+t.labelDistance,b.plotHeight),n=t.dataLabel.getBBox().height||21,t.distributeBox={target:t.labelPosition.natural.y-t.top+n/2,size:n,rank:t.y},u.push(t.distributeBox))})),x=M+n-x,e.distribute(u,x,x/5)}for(m=0;m<r;m++){if(t=i[m],l=t.labelPosition,s=t.dataLabel,f=!1===t.visible?"hidden":"inherit",p=x=l.natural.y,u&&h(t.distributeBox)&&(void 0===t.distributeBox.pos?f="hidden":(c=t.distributeBox.size,p=O.radialDistributionY(t))),delete t.positionIndex,w.justify)d=O.justify(t,T,P);else switch(w.alignTo){case"connectors":d=O.alignToConnectors(i,o,S,A);break;case"plotEdges":d=O.alignToPlotEdges(s,o,S,A);break;default:d=O.radialDistributionX(v,t,p,x)}s._attr={visibility:f,align:l.alignment},y=t.options.dataLabels||{},s._pos={x:d+g(y.x,w.x)+({left:C,right:-C}[l.alignment]||0),y:p+g(y.y,w.y)-10},l.final.x=d,l.final.y=p,g(w.crop,!0)&&(a=s.getBBox().width,x=null,d-a<C&&1===o?(x=Math.round(a-d+C),D[3]=Math.max(x,D[3])):d+a>S-C&&0===o&&(x=Math.round(d+a-S+C),D[1]=Math.max(x,D[1])),0>p-c/2?D[0]=Math.max(Math.round(c/2-p),D[0]):p+c/2>k&&(D[2]=Math.max(Math.round(p+c/2-k),D[2])),s.sideOverflow=x)}}})),0===r(D)||this.verifyDataLabelOverflow(D))&&(this.placeDataLabels(),this.points.forEach((function(t){var e;(y=u(w,t.options.dataLabels),o=g(y.connectorWidth,1))&&(n=t.connector,(s=t.dataLabel)&&s._pos&&t.visible&&0<t.labelDistance?(f=s._attr.visibility,(e=!n)&&(t.connector=n=b.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+t.colorIndex+(t.className?" "+t.className:"")).add(v.dataLabelsGroup),b.styledMode||n.attr({"stroke-width":o,stroke:y.connectorColor||t.color||"#666666"})),n[e?"attr":"animate"]({d:t.getConnectorPath()}),n.attr("visibility",f)):n&&(t.connector=n.destroy()))})))}
1,s.pie.prototype.placeDataLabels=function(){this.points.forEach((function(t){var e,i=t.dataLabel;i&&t.visible&&((e=i._pos)?(i.sideOverflow&&(i._attr.width=Math.max(i.getBBox().width-i.sideOverflow,0),i.css({width:i._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),i.shortened=!0),i.attr(i._attr),i[i.moved?"animate":"attr"](e),i.moved=!0):i&&i.attr({y:-9999})),delete t.distributeBox}),this)},s.pie.prototype.alignDataLabel=t,s.pie.prototype.verifyDataLabelOverflow=function(t){var e=this.center,i=this.options,o=i.center,n=i.minSize||80,s=null!==i.size;if(!s){if(null!==o[0])var r=Math.max(e[2]-Math.max(t[1],t[3]),n);else r=Math.max(e[2]-t[1]-t[3],n),e[0]+=(t[3]-t[1])/2;null!==o[1]?r=a(r,n,e[2]-Math.max(t[0],t[2])):(r=a(r,n,e[2]-t[0]-t[2]),e[1]+=(t[0]-t[2])/2),r<e[2]?(e[2]=r,e[3]=Math.min(m(i.innerSize||0,r),r),this.translate(e),this.drawDataLabels&&this.drawDataLabels()):s=!0}return s}),s.column&&(s.column.prototype.alignDataLabel=function(t,e,o,n,s){var r=this.chart.inverted,a=t.series,h=t.dlBox||t.shapeArgs,l=g(t.below,t.plotY>g(this.translatedThreshold,a.yAxis.len)),c=g(o.inside,!!this.options.stacking);h&&(0>(n=u(h)).y&&(n.height+=n.y,n.y=0),0<(h=n.y+n.height-a.yAxis.len)&&h<n.height&&(n.height-=h),r&&(n={x:a.yAxis.len-n.y-n.height,y:a.xAxis.len-n.x-n.width,width:n.height,height:n.width}),c||(r?(n.x+=l?0:n.width,n.width=0):(n.y+=l?n.height:0,n.height=0))),o.align=g(o.align,!r||c?"center":l?"right":"left"),o.verticalAlign=g(o.verticalAlign,r||c?"middle":l?"top":"bottom"),i.prototype.alignDataLabel.call(this,t,e,o,n,s),o.inside&&t.contrastColor&&e.css({color:t.contrastColor})})})),e(i,"Extensions/OverlappingDataLabels.js",[i["Core/Chart/Chart.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.addEvent,o=e.fireEvent,n=e.isArray,s=e.isNumber,r=e.objectEach,a=e.pick;i(t,"render",(function(){var t=[];(this.labelCollectors||[]).forEach((function(e){t=t.concat(e())})),(this.yAxis||[]).forEach((function(e){e.stacking&&e.options.stackLabels&&!e.options.stackLabels.allowOverlap&&r(e.stacking.stacks,(function(e){r(e,(function(e){t.push(e.label)}))}))})),(this.series||[]).forEach((function(e){var i=e.options.dataLabels;e.visible&&(!1!==i.enabled||e._hasPointLabels)&&(e.nodes||e.points).forEach((function(e){e.visible&&(n(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[]).forEach((function(i){var o=i.options;i.labelrank=a(o.labelrank,e.labelrank,e.shapeArgs&&e.shapeArgs.height),o.allowOverlap||t.push(i)}))}))})),this.hideOverlappingLabels(t)})),t.prototype.hideOverlappingLabels=function(t){var e,i,n,r=this,a=t.length,h=r.renderer,l=!1,c=function(t){var e,i,o=t.box?0:t.padding||0,n=e=0;if(t&&(!t.alignAttr||t.placed)){var r=t.alignAttr||{x:t.attr("x"),y:t.attr("y")},a=t.parentGroup;t.width||(e=t.getBBox(),t.width=e.width,t.height=e.height,e=h.fontMetrics(null,t.element).h);var l=t.width-2*o;return(i={left:"0",center:"0.5",right:"1"}[t.alignValue])?n=+i*l:s(t.x)&&Math.round(t.x)!==t.translateX&&(n=t.x-t.translateX),{x:r.x+(a.translateX||0)+o-(n||0),y:r.y+(a.translateY||0)+o-e,width:t.width-2*o,height:t.height-2*o}}};for(i=0;i<a;i++)(e=t[i])&&(e.oldOpacity=e.opacity,e.newOpacity=1,e.absoluteBox=c(e));for(t.sort((function(t,e){return(e.labelrank||0)-(t.labelrank||0)})),i=0;i<a;i++){var d=(c=t[i])&&c.absoluteBox;for(e=i+1;e<a;++e){var p=(n=t[e])&&n.absoluteBox;!d||!p||c===n||0===c.newOpacity||0===n.newOpacity||p.x>=d.x+d.width||p.x+p.width<=d.x||p.y>=d.y+d.height||p.y+p.height<=d.y||((c.labelrank<n.labelrank?c:n).newOpacity=0)}}t.forEach((function(t){if(t){var e=t.newOpacity;t.oldOpacity!==e&&(t.alignAttr&&t.placed?(t[e?"removeClass":"addClass"]("highcharts-data-label-hidden"),l=!0,t.alignAttr.opacity=e,t[t.isOld?"animate":"attr"](t.alignAttr,null,(function(){r.styledMode||t.css({pointerEvents:e?"auto":"none"}),t.visibility=e?"inherit":"hidden"})),o(r,"afterHideOverlappingLabel")):t.attr({opacity:e})),t.isOld=!0}})),l&&o(r,"afterHideAllOverlappingLabels")}})),e(i,"Core/Interaction.js",[i["Core/Series/Series.js"],i["Core/Chart/Chart.js"],i["Core/Globals.js"],i["Core/Legend.js"],i["Series/LineSeries.js"],i["Core/Options.js"],i["Core/Series/Point.js"],i["Core/Utilities.js"]],(function(t,e,
1i,o,n,s,r,a){t=t.seriesTypes;var h=i.hasTouch,l=i.svg,c=s.defaultOptions,d=a.addEvent,p=a.createElement,u=a.css,f=a.defined,g=a.extend,m=a.fireEvent,y=a.isArray,v=a.isFunction,x=a.isNumber,b=a.isObject,w=a.merge,C=a.objectEach,S=a.pick;i=i.TrackerMixin={drawTrackerPoint:function(){var t,e=this,i=e.chart,o=i.pointer,n=function(t){var e=o.getPointFromEvent(t);void 0!==e&&(o.isDirectTouch=!0,e.onMouseOver(t))};e.points.forEach((function(e){t=y(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[],e.graphic&&(e.graphic.element.point=e),t.forEach((function(t){t.div?t.div.point=e:t.element.point=e}))})),e._hasTracking||(e.trackerGroups.forEach((function(t){e[t]&&(e[t].addClass("highcharts-tracker").on("mouseover",n).on("mouseout",(function(t){o.onTrackerMouseOut(t)})),h&&e[t].on("touchstart",n),!i.styledMode&&e.options.cursor&&e[t].css(u).css({cursor:e.options.cursor}))})),e._hasTracking=!0),m(this,"afterDrawTracker")},drawTrackerGraph:function(){var t=this,e=t.options,i=e.trackByArea,o=[].concat(i?t.areaPath:t.graphPath),n=t.chart,s=n.pointer,r=n.renderer,a=n.options.tooltip.snap,c=t.tracker,d=function(e){n.hoverSeries!==t&&t.onMouseOver()},p="rgba(192,192,192,"+(l?1e-4:.002)+")";c?c.attr({d:o}):t.graph&&(t.tracker=r.path(o).attr({visibility:t.visible?"visible":"hidden",zIndex:2}).addClass(i?"highcharts-tracker-area":"highcharts-tracker-line").add(t.group),n.styledMode||t.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:p,fill:i?p:"none","stroke-width":t.graph.strokeWidth()+(i?0:2*a)}),[t.tracker,t.markerGroup].forEach((function(t){t.addClass("highcharts-tracker").on("mouseover",d).on("mouseout",(function(t){s.onTrackerMouseOut(t)})),e.cursor&&!n.styledMode&&t.css({cursor:e.cursor}),h&&t.on("touchstart",d)}))),m(this,"afterDrawTracker")}},t.column&&(t.column.prototype.drawTracker=i.drawTrackerPoint),t.pie&&(t.pie.prototype.drawTracker=i.drawTrackerPoint),t.scatter&&(t.scatter.prototype.drawTracker=i.drawTrackerPoint),g(o.prototype,{setItemEvents:function(t,e,i){var o=this,n=o.chart.renderer.boxWrapper,s=t instanceof r,a="highcharts-legend-"+(s?"point":"series")+"-active",h=o.chart.styledMode;(i?[e,t.legendSymbol]:[t.legendGroup]).forEach((function(i){i&&i.on("mouseover",(function(){t.visible&&o.allItems.forEach((function(e){t!==e&&e.setState("inactive",!s)})),t.setState("hover"),t.visible&&n.addClass(a),h||e.css(o.options.itemHoverStyle)})).on("mouseout",(function(){o.chart.styledMode||e.css(w(t.visible?o.itemStyle:o.itemHiddenStyle)),o.allItems.forEach((function(e){t!==e&&e.setState("",!s)})),n.removeClass(a),t.setState()})).on("click",(function(e){var i=function(){t.setVisible&&t.setVisible(),o.allItems.forEach((function(e){t!==e&&e.setState(t.visible?"inactive":"",!s)}))};n.removeClass(a),e={browserEvent:e},t.firePointEvent?t.firePointEvent("legendItemClick",e,i):m(t,"legendItemClick",e,i)}))}))},createCheckboxForItem:function(t){t.checkbox=p("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),d(t.checkbox,"click",(function(e){m(t.series||t,"checkboxClick",{checked:e.target.checked,item:t},(function(){t.select()}))}))}}),g(e.prototype,{showResetZoom:function(){function t(){e.zoomOut()}var e=this,i=c.lang,o=e.options.chart.resetZoomButton,n=o.theme,s=n.states,r="chart"===o.relativeTo||"spaceBox"===o.relativeTo?null:"plotBox";m(this,"beforeShowResetZoom",null,(function(){e.resetZoomButton=e.renderer.button(i.resetZoom,null,null,t,n,s&&s.hover).attr({align:o.position.align,title:i.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(o.position,!1,r)})),m(this,"afterShowResetZoom")},zoomOut:function(){m(this,"selection",{resetSelection:!0}
1,this.zoom)},zoom:function(t){var e,i=this,o=i.pointer,n=!1,s=i.inverted?o.mouseDownX:o.mouseDownY;!t||t.resetSelection?(i.axes.forEach((function(t){e=t.zoom()})),o.initiated=!1):t.xAxis.concat(t.yAxis).forEach((function(t){var r=t.axis,a=i.inverted?r.left:r.top,h=i.inverted?a+r.width:a+r.height,l=r.isXAxis,c=!1;(!l&&s>=a&&s<=h||l||!f(s))&&(c=!0),o[l?"zoomX":"zoomY"]&&c&&(e=r.zoom(t.min,t.max),r.displayBtn&&(n=!0))}));var r=i.resetZoomButton;n&&!r?i.showResetZoom():!n&&b(r)&&(i.resetZoomButton=r.destroy()),e&&i.redraw(S(i.options.chart.animation,t&&t.animation,100>i.pointCount))},pan:function(t,e){var i,o=this,n=o.hoverPoints,s=o.options.chart,r=o.options.mapNavigation&&o.options.mapNavigation.enabled;e="object"==typeof e?e:{enabled:e,type:"x"},s&&s.panning&&(s.panning=e);var a=e.type;m(this,"pan",{originalEvent:t},(function(){n&&n.forEach((function(t){t.setState()}));var e=[1];"xy"===a?e=[1,0]:"y"===a&&(e=[0]),e.forEach((function(e){var n=o[e?"xAxis":"yAxis"][0],s=n.horiz,h=t[s?"chartX":"chartY"],l=o[s=s?"mouseDownX":"mouseDownY"],c=(n.pointRange||0)/2,d=n.reversed&&!o.inverted||!n.reversed&&o.inverted?-1:1,p=n.getExtremes(),u=n.toValue(l-h,!0)+c*d,f=(d=n.toValue(l+n.len-h,!0)-c*d)<u;l=f?d:u,u=f?u:d;var g=n.hasVerticalPanning(),m=n.panningState;n.series.forEach((function(t){if(g&&!e&&(!m||m.isDirty)){var i=t.getProcessedData(!0);t=t.getExtremes(i.yData,!0),m||(m={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE}),x(t.dataMin)&&x(t.dataMax)&&(m.startMin=Math.min(t.dataMin,m.startMin),m.startMax=Math.max(t.dataMax,m.startMax))}})),d=Math.min(S(null==m?void 0:m.startMin,p.dataMin),c?p.min:n.toValue(n.toPixels(p.min)-n.minPixelPadding)),c=Math.max(S(null==m?void 0:m.startMax,p.dataMax),c?p.max:n.toValue(n.toPixels(p.max)+n.minPixelPadding)),n.panningState=m,n.isOrdinal||(0<(f=d-l)&&(u+=f,l=d),0<(f=u-c)&&(u=c,l-=f),n.series.length&&l!==p.min&&u!==p.max&&l>=d&&u<=c&&(n.setExtremes(l,u,!1,!1,{trigger:"pan"}),o.resetZoomButton||r||l===d||u===c||!a.match("y")||(o.showResetZoom(),n.displayBtn=!1),i=!0),o[s]=h)})),i&&o.redraw(!1),u(o.container,{cursor:"move"})}))}}),g(r.prototype,{select:function(t,e){var i=this,o=i.series,n=o.chart;this.selectedStaging=t=S(t,!i.selected),i.firePointEvent(t?"select":"unselect",{accumulate:e},(function(){i.selected=i.options.selected=t,o.options.data[o.data.indexOf(i)]=i.options,i.setState(t&&"select"),e||n.getSelectedPoints().forEac
1h((function(t){var e=t.series;t.selected&&t!==i&&(t.selected=t.options.selected=!1,e.options.data[e.data.indexOf(t)]=t.options,t.setState(n.hoverPoints&&e.options.inactiveOtherPoints?"inactive":""),t.firePointEvent("unselect"))}))})),delete this.selectedStaging},onMouseOver:function(t){var e=this.series.chart,i=e.pointer;t=t?i.normalize(t):i.getChartCoordinatesFromPoint(this,e.inverted),i.runPointActions(t,this)},onMouseOut:function(){var t=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t.hoverPoints||[]).forEach((function(t){t.setState()})),t.hoverPoints=t.hoverPoint=null},importEvents:function(){if(!this.hasImportedEvents){var t=this,e=w(t.series.options.point,t.options).events;t.events=e,C(e,(function(e,i){v(e)&&d(t,i,e)})),this.hasImportedEvents=!0}},setState:function(t,e){var i,o=this.series,n=this.state,s=o.options.states[t||"normal"]||{},r=c.plotOptions[o.type].marker&&o.options.marker,a=r&&!1===r.enabled,h=r&&r.states&&r.states[t||"normal"]||{},l=!1===h.enabled,d=o.stateMarkerGraphic,p=this.marker||{},u=o.chart,f=o.halo,y=r&&o.markerAttribs;if(!((t=t||"")===this.state&&!e||this.selected&&"select"!==t||!1===s.enabled||t&&(l||a&&!1===h.enabled)||t&&p.states&&p.states[t]&&!1===p.states[t].enabled)){if(this.state=t,y&&(i=o.markerAttribs(this,t)),this.graphic){if(n&&this.graphic.removeClass("highcharts-point-"+n),t&&this.graphic.addClass("highcharts-point-"+t),!u.styledMode){var v=o.pointAttribs(this,t),x=S(u.options.chart.animation,s.animation);o.options.inactiveOtherPoints&&v.opacity&&((this.dataLabels||[]).forEach((function(t){t&&t.animate({opacity:v.opacity},x)})),this.connector&&this.connector.animate({opacity:v.opacity},x)),this.graphic.animate(v,x)}i&&this.graphic.animate(i,S(u.options.chart.animation,h.animation,r.animation)),d&&d.hide()}else t&&h&&(n=p.symbol||o.symbol,d&&d.currentSymbol!==n&&(d=d.destroy()),i&&(d?d[e?"animate":"attr"]({x:i.x,y:i.y}):n&&(o.stateMarkerGraphic=d=u.renderer.symbol(n,i.x,i.y,i.width,i.height).add(o.markerGroup),d.currentSymbol=n)),!u.styledMode&&d&&d.attr(o.pointAttribs(this,t))),d&&(d[t&&this.isInside?"show":"hide"](),d.element.point=this);t=s.halo,s=(d=this.graphic||d)&&d.visibility||"inherit",t&&t.size&&d&&"hidden"!==s&&!this.isCluster?(f||(o.halo=f=u.renderer.path().add(d.parentGroup)),f.show()[e?"animate":"attr"]({d:this.haloPath(t.size)}),f.attr({class:"highcharts-halo highcharts-color-"+S(this.colorIndex,o.colorIndex)+(this.className?" "+this.className:""),visibility:s,zIndex:-1}),f.point=this,u.styledMode||f.attr(g({fill:this.color||o.color,"fill-opacity":t.opacity},t.attributes))):f&&f.point&&f.point.haloPath&&f.animate({d:f.point.haloPath(0)},null,f.hide),m(this,"afterSetState")}},haloPath:function(t){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-t,this.plotY-t,2*t,2*t)}}),g(n.prototype,{onMouseOver:function(){var t=this.chart,e=t.hoverSeries;t.pointer.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&m(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},onMouseOut:function(){var t=this.options,e=this.chart,i=e.tooltip,o=e.hoverPoint;e.hoverSeries=null,o&&o.onMouseOut(),this&&t.events.mouseOut&&m(this,"mouseOut"),!i||this.stickyTracking||i.shared&&!this.noSharedTooltip||i.hide(),e.series.forEach((function(t){t.setState("",!0)}))},setState:function(t,e){var i=this,o=i.options,n=i.graph,s=o.inactiveOtherPoints,r=o.states,a=o.lineWidth,h=o.opacity,l=S(r[t||"normal"]&&r[t||"normal"].animation,i.chart.options.chart.animation);if(o=0,t=t||"",i.state!==t&&([i.group,i.markerGroup,i.dataLabelsGroup].forEach((function(e){e&&(i.state&&e.removeClass("highcharts-series-"+i.state),t&&e.addClass("highcharts-series-"+t))})),i.state=t,!i.chart.styledMode)){if(r[t]&&!1===r[t].enabled)return;if(t&&(a=r[t].lineWidth||a+(r[t].lineWidthPlus||0),h=S(r[t].opacity,h)),n&&!n.dashstyle)for(r={"stroke-width":a},n.animate(r,l);i["zone-graph-"+o];)i["zone-graph-"+o].attr(r),o+=1;s||[i.group,i.markerGroup,i.dataLabelsGroup,i.labelBySeries].forEach((function(t){t&&t.animate({opacity:h},l)}))}e&&s&&i.points&&i.setAllPointsToState(t)}
1,setAllPointsToState:function(t){this.points.forEach((function(e){e.setState&&e.setState(t)}))},setVisible:function(t,e){var i=this,o=i.chart,n=i.legendItem,s=o.options.chart.ignoreHiddenSeries,r=i.visible,a=(i.visible=t=i.options.visible=i.userOptions.visible=void 0===t?!r:t)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((function(t){i[t]&&i[t][a]()})),o.hoverSeries!==i&&(o.hoverPoint&&o.hoverPoint.series)!==i||i.onMouseOut(),n&&o.legend.colorizeItem(i,t),i.isDirty=!0,i.options.stacking&&o.series.forEach((function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)})),i.linkedSeries.forEach((function(e){e.setVisible(t,!1)})),s&&(o.isDirtyBox=!0),m(i,a),!1!==e&&o.redraw()},show:function(){this.setVisible(!0)},hide:function(){this.setVisible(!1)},select:function(t){this.selected=t=this.options.selected=void 0===t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),m(this,t?"select":"unselect")},drawTracker:i.drawTrackerGraph})})),e(i,"Core/Responsive.js",[i["Core/Chart/Chart.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.find,o=e.isArray,n=e.isObject,s=e.merge,r=e.objectEach,a=e.pick,h=e.splat,l=e.uniqueKey;t.prototype.setResponsive=function(t,e){var o=this.options.responsive,n=[],r=this.currentResponsive;
1!e&&o&&o.rules&&o.rules.forEach((function(t){void 0===t._id&&(t._id=l()),this.matchResponsiveRule(t,n)}),this),(e=s.apply(0,n.map((function(t){return i(o.rules,(function(e){return e._id===t})).chartOptions})))).isResponsiveOptions=!0,(n=n.toString()||void 0)!==(r&&r.ruleIds)&&(r&&this.update(r.undoOptions,t,!0),n?((r=this.currentOptions(e)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:n,mergedOptions:e,undoOptions:r},this.update(e,t,!0)):this.currentResponsive=void 0)},t.prototype.matchResponsiveRule=function(t,e){var i=t.condition;(i.callback||function(){return this.chartWidth<=a(i.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=a(i.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=a(i.minWidth,0)&&this.chartHeight>=a(i.minHeight,0)}).call(this)&&e.push(t._id)},t.prototype.currentOptions=function(t){var e=this,i={};return function t(i,s,a,l){var c;r(i,(function(i,r){if(!l&&-1<e.collectionsWithUpdate.indexOf(r))for(i=h(i),a[r]=[],c=0;c<Math.max(i.length,s[r].length);c++)s[r][c]&&(void 0===i[c]?a[r][c]=s[r][c]:(a[r][c]={},t(i[c],s[r][c],a[r][c],l+1)));else n(i)?(a[r]=o(i)?[]:{},t(i,s[r]||{},a[r],l+1)):a[r]=void 0===s[r]?null:s[r]}))}(t,this.options,i,0),i}})),e(i,"masters/highcharts.src.js",[i["Core/Globals.js"]],(function(t){return t})),i["masters/highcharts.src.js"]._modules=i,i["masters/highcharts.src.js"]}))},602:function(t,e,i){var o,n;!function(s){t.exports?(s.default=s,t.exports=s):(o=[i(454)],void 0===(n=function(t){return s(t),s.Highcharts=t,s}.apply(e,o))||(t.exports=n))}((function(t){function e(t,e,i,o){t.hasOwnProperty(e)||(t[e]=o.apply(null,i))}e(t=t?t._modules:{},"Extensions/Pane.js",[t["Core/Chart/Chart.js"],t["Core/Globals.js"],t["Core/Pointer.js"],t["Core/Utilities.js"],t["Mixins/CenteredSeries.js"]],(function(t,e,i,o,n){function s(t,e,i){return Math.sqrt(Math.pow(t-i[0],2)+Math.pow(e-i[1],2))<=i[2]/2}var r=o.addEvent,a=o.extend,h=o.merge,l=o.pick,c=o.splat;return t.prototype.collectionsWithUpdate.push("pane"),o=function(){function t(t,e){this.options=this.chart=this.center=this.background=void 0,this.coll="pane",this.defaultOptions={center:["50%","50%"],size:"85%",innerSize:"0%",startAngle:0},this.defaultBackgroundOptions={shape:"circle",borderWidth:1,borderColor:"#cccccc",backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,"#ffffff"],[1,"#e6e6e6"]]},from:-Number.MAX_VALUE,innerRadius:0,to:Number.MAX_VALUE,outerRadius:"105%"},this.init(t,e)}return t.prototype.init=function(t,e){this.chart=e,this.background=[],e.pane.push(this),this.setOptions(t)},t.prototype.setOptions=function(t){this.options=h(this.defaultOptions,this.chart.angular?{background:{}}:void 0,t)},t.prototype.render=function(){var t=this.options,e=this.options.background,i=this.chart.renderer;if(this.group||(this.group=i.g("pane-group").attr({zIndex:t.zIndex||0}).add()),this.updateCenter(),e)for(e=c(e),t=Math.max(e.length,this.background.length||0),i=0;i<t;i++)e[i]&&this.axis?this.renderBackground(h(this.defaultBackgroundOptions,e[i]),i):this.background[i]&&(this.background[i]=this.background[i].destroy(),this.background.splice(i,1))},t.prototype.renderBackground=function(t,e){var i="animate",o={class:"highcharts-pane "+(t.className||"")};this.chart.styledMode||a(o,{fill:t.backgroundColor,stroke:t.borderColor,"stroke-width":t.borderWidth}),this.background[e]||(this.background[e]=this.chart.renderer.path().add(this.group),i="attr"),this.background[e][i]({d:this.axis.getPlotBandPath(t.from,t.to,t)}).attr(o)},t.prototype.updateCenter=function(t){this.center=(t||this.axis||{}).center=n.getCenter.call(this)},t.prototype.update=function(t,e){h(!0,this.options,t),h(!0,this.chart.options.pane,t),this.setOptions(this.options),this.render(),this.chart.axes.forEach((function(t){t.pane===this&&(t.pane=null,t.update({},e))}),this)},t}(),t.prototype.getHoverPane=function(t){var e,i=this;return t&&i.pane.forEach((function(o){var n=t.chartX-i.plotLeft,r=t.chartY-i.plotTop;s(i.inverted?r:n,i.inverted?n:r,o.center)&&(e=o)})),e},r(t,"afterIsInsidePlot",(function(t){this.polar&&(t.isInsidePlot=this.pane.some((function(e){return s(t.x,t.y,e.center)})))}
1)),r(i,"beforeGetHoverData",(function(t){var e=this.chart;e.polar&&(e.hoverPane=e.getHoverPane(t),t.filter=function(i){return i.visible&&!(!t.shared&&i.directTouch)&&l(i.options.enableMouseTracking,!0)&&(!e.hoverPane||i.xAxis.pane===e.hoverPane)})})),r(i,"afterGetHoverData",(function(t){var e=this.chart;t.hoverPoint&&t.hoverPoint.plotX&&t.hoverPoint.plotY&&e.hoverPane&&!s(t.hoverPoint.plotX,t.hoverPoint.plotY,e.hoverPane.center)&&(t.hoverPoint=void 0)})),e.Pane=o,e.Pane})),e(t,"Core/Axis/HiddenAxis.js",[],(function(){return function(){function t(){}return t.init=function(t){t.getOffset=function(){},t.redraw=function(){this.isDirty=!1},t.render=function(){this.isDirty=!1},t.createLabelCollector=function(){return function(){}},t.setScale=function(){},t.setCategories=function(){},t.setTitle=function(){},t.isHidden=!0},t}()})),e(t,"Core/Axis/RadialAxis.js",[t["Core/Axis/Axis.js"],t["Core/Axis/Tick.js"],t["Core/Axis/HiddenAxis.js"],t["Core/Utilities.js"]],(function(t,e,i,o){var n=o.addEvent,s=o.correctFloat,r=o.defined,a=o.extend,h=o.fireEvent,l=o.merge,c=o.pick,d=o.relativeLength,p=o.wrap;return(o=function(){function e(){}return e.init=function(e){var i=t.prototype;e.setOptions=function(t){(t=this.options=l(e.constructor.defaultOptions,this.defaultPolarOptions,t)).plotBands||(t.plotBands=[]),h(this,"afterSetOptions")},e.getOffset=function(){i.getOffset.call(this),this.chart.axisOffset[this.side]=0},e.getLinePath=function(t,e,i){t=this.pane.center;var o=this.chart,n=c(e,t[2]/2-this.offset);return void 0===i&&(i=this.horiz?0:this.center&&-this.center[3]/2),i&&(n+=i),this.isCircular||void 0!==e?((e=this.chart.renderer.symbols.arc(this.left+t[0],this.top+t[1],n,n,{start:this.startAngleRad,end:this.endAngleRad,open:!0,innerR:0})).xBounds=[this.left+t[0]],e.yBounds=[this.top+t[1]-n]):(e=this.postTranslate(this.angleRad,n),e=[["M",this.center[0]+o.plotLeft,this.center[1]+o.plotTop],["L",e.x,e.y]]),e},e.setAxisTranslation=function(){i.setAxisTranslation.call(this),this.center&&(this.transA=this.isCircular?(this.endAngleRad-this.startAngleRad)/(this.max-this.min||1):(this.center[2]-this.center[3])/2/(this.max-this.min||1),this.minPixelPadding=this.isXAxis?this.transA*this.minPointOffset:0)},e.beforeSetTickPositions=function(){this.autoConnect=this.isCircular&&void 0===c(this.userMax,this.options.max)&&s(this.endAngleRad-this.startAngleRad)===s(2*Math.PI),!this.isCircular&&this.chart.inverted&&this.max++,this.autoConnect&&(this.max+=(this.categories?1:this.pointRange)||this.closestPointRange||0)},e.setAxisSize=function(){if(i.setAxisSize.call(this),this.isRadial){this.pane.updateCenter(this);var t=this.center=a([],this.pane.center);if(this.isCircular)this.sector=this.endAngleRad-this.startAngleRad;else{var e=this.postTranslate(this.angleRad,t[3]/2);t[0]=e.x-this.chart.plotLeft,t[1]=e.y-this.chart.plotTop}this.len=this.width=this.height=(t[2]-t[3])*c(this.sector,1)/2}},e.getPosition=function(t,e){return t=this.translate(t),this.postTranslate(this.isCircular?t:this.angleRad,c(this.isCircular?e:0>t?0:t,this.center[2]/2)-this.offset)},e.postTranslate=function(t,e){var i=this.chart,o=this.center;return t=this.startAngleRad+t,{x:i.plotLeft+o[0]+Math.cos(t)*e,y:i.plotTop+o[1]+Math.sin(t)*e}},e.getPlotBandPath=function(t,e,i){var o=function(t){if("string"==typeof t){var e=parseInt(t,10);return h.test(t)&&(e=e*r/100),e}return t},n=this.center,s=this.startAngleRad,r=n[2]/2,a=Math.min(this.offset,0),h=/%$/,l=this.isCircular,d=c(o(i.outerRadius),r),p=o(i.innerRadius);if(o=c(o(i.thickness),10),"polygon"===this.options.gridLineInterpolation)a=this.getPlotLinePath({value:t}).concat(this.getPlotLinePath({value:e,reverse:!0}));else{if(t=Math.max(t,this.min),e=Math.min(e,this.max),t=this.translate(t),e=this.translate(e),l||(d=t||0,p=e||0),"circle"!==i.shape&&l)i=s+(t||0),s+=e||0;else{i=-Math.PI/2,s=1.5*Math.PI;var u=!0}d-=a,a=this.chart.renderer.symbols.arc(this.left+n[0],this.top+n[1],d,d,{start:Math.min(i,s),end:Math.max(i,s),innerR:c(p,d-(o-a)),open:u}),l&&(l=(s+i)/2,u=this.left+n[0]+n[2]/2*Math.cos(l),a.xBounds=l>-Math.PI/2&&l<Math.PI/2?[u,this.chart.plotWidth]:[0,u],a.yBounds=[this.top+n[1]+n[2]/2*Math.sin(l)],a.yBounds[0]+=l>-Math.PI&&0>l||l>Math.PI?-10:10)}return a}
1,e.getCrosshairPosition=function(t,e,i){var o=t.value,n=this.pane.center;if(this.isCircular){if(r(o))t.point&&((s=t.point.shapeArgs||{}).start&&(o=this.chart.inverted?this.translate(t.point.rectPlotY,!0):t.point.x));else{var s=t.chartX||0,a=t.chartY||0;o=this.translate(Math.atan2(a-i,s-e)-this.startAngleRad,!0)}s=(t=this.getPosition(o)).x,a=t.y}else r(o)||(s=t.chartX,a=t.chartY),r(s)&&r(a)&&(i=n[1]+this.chart.plotTop,o=this.translate(Math.min(Math.sqrt(Math.pow(s-e,2)+Math.pow(a-i,2)),n[2]/2)-n[3]/2,!0));return[o,s||0,a||0]},e.getPlotLinePath=function(t){var e=this,i=e.pane.center,o=e.chart,n=o.inverted,s=t.value,r=t.reverse,a=e.getPosition(s),h=e.pane.options.background?e.pane.options.background[0]||e.pane.options.background:{},l=h.innerRadius||"0%",c=h.outerRadius||"100%";h=i[0]+o.plotLeft;var p,u=i[1]+o.plotTop,f=a.x,g=a.y,m=e.height;if(a=i[3]/2,t.isCrosshair&&(s=(g=this.getCrosshairPosition(t,h,u))[0],f=g[1],g=g[2]),e.isCircular)s=Math.sqrt(Math.pow(f-h,2)+Math.pow(g-u,2)),r="string"==typeof l?d(l,1):l/s,o="string"==typeof c?d(c,1):c/s,i&&a&&(r<(s=a/s)&&(r=s),o<s&&(o=s)),i=[["M",h+r*(f-h),u-r*(u-g)],["L",f-(1-o)*(f-h),g+(1-o)*(u-g)]];else if((s=e.translate(s))&&(0>s||s>m)&&(s=0),"circle"===e.options.gridLineInterpolation)i=e.getLinePath(0,s,a);else if(i=[],o[n?"yAxis":"xAxis"].forEach((function(t){t.pane===e.pane&&(p=t)})),p)for(h=p.tickPositions,p.autoConnect&&(h=h.concat([h[0]])),r&&(h=h.slice().reverse()),s&&(s+=a),f=0;f<h.length;f++)u=p.getPosition(h[f],s),i.push(f?["L",u.x,u.y]:["M",u.x,u.y]);return i},e.getTitlePosition=function(){var t=this.center,e=this.chart,i=this.options.title;return{x:e.plotLeft+t[0]+(i.x||0),y:e.plotTop+t[1]-{high:.5,middle:.25,low:0}[i.align]*t[2]+(i.y||0)}},e.createLabelCollector=function(){var t=this;return function(){if(t.isRadial&&t.tickPositions&&!0!==t.options.labels.allowOverlap)return t.tickPositions.map((function(e){return t.ticks[e]&&t.ticks[e].label})).filter((function(t){return!!t}))}}},e.compose=function(t,o){n(t,"init",(function(o){var n,s=this.chart,r=s.inverted,a=s.angular,h=s.polar,c=this.isXAxis,d=this.coll,p=a&&c,u=s.options;o=o.userOptions.pane||0,o=this.pane=s.pane&&s.pane[o],"colorAxis"===d?this.isRadial=!1:(a?(p?i.init(this):e.init(this),(n=!c)&&(this.defaultPolarOptions=e.defaultRadialGaugeOptions)):h&&(e.init(this),this.defaultPolarOptions=(n=this.horiz)?e.defaultCircularOptions:l("xAxis"===d?t.defaultOptions:t.defaultYAxisOptions,e.defaultRadialOptions),r&&"yAxis"===d&&(this.defaultPolarOptions.stackLabels=t.defaultYAxisOptions.stackLabels)),a||h?(this.isRadial=!0,u.chart.zoomType=null,this.labelCollector||(this.labelCollector=this.createLabelCollector()),this.labelCollector&&s.labelCollectors.push(this.labelCollector)):this.isRadial=!1,o&&n&&(o.axis=this),this.isCircular=n)})),n(t,"afterInit",(function(){var t=this.chart,e=this.options,i=this.pane,o=i&&i.options;t.angular&&this.isXAxis||!i||!t.angular&&!t.polar||(this.angleRad=(e.angle||0)*Math.PI/180,this.startAngleRad=(o.startAngle-90)*Math.PI/180,this.endAngleRad=(c(o.endAngle,o.startAngle+360)-90)*Math.PI/180,this.offset=e.offset||0)})),n(t,"autoLabelAlign",(function(t){this.isRadial&&(t.align=void 0,t.preventDefault())})),n(t,"destroy",(function(){if(this.chart&&this.chart.labelCollectors){var t=this.labelCollector?this.chart.labelCollectors.indexOf(this.labelCollector):-1;0<=t&&this.chart.labelCollectors.splice(t,1)}})),n(t,"initialAxisTranslation",(function(){this.isRadial&&this.beforeSetTickPositions()})),n(o,"afterGetPosition",(function(t){this.axis.getPosition&&a(t.pos,this.axis.getPosition(this.pos))})),n(o,"afterGetLabelPosition",(function(t){var e=this.axis,i=this.label;if(i){var o=i.getBBox(),n=e.options.labels,s=n.y,r=20,a=n.align,h=(e.translate(this.pos)+e.startAngleRad+Math.PI/2)/Math.PI*180%360,l=Math.round(h),p="end",u=0>l?l+360:l,f=u,g=0,m=0,y=null===n.y?.3*-o.height:0;if(e.isRadial){var v=e.getPosition(this.pos,e.center[2]/2+d(c(n.distance,-25),e.center[2]/2,-e.center[2]/2));"auto"===n.rotation?i.attr({rotation:h}):null===s&&(s=e.chart.renderer.fontMetrics(i.styles&&i.styles.fontSize).b-o.height/2),null===a&&(e.isCircular?(o.width>e.len*e.tickInterval/(e.max-e.min)&&(r=0),a=h>r&&h<180-r?"left":h>180+r&&h<360-r?"right":"center"):a="center",i.attr({align:a})),"auto"===a&&2===e.tickPositions.length&&e.isCircular&&(90<u&&180>u?u=180-u:270<u&&360>=u&&(u=540-u),180<f&&360>=f&&(f=360-f),e.pane.options.startAngle!==l&&e.pane.options.startAngle!==l+360&&e.pane.options.startAngle!==l-360||(p="start"),a=-90<=l&&90>=l||-360<=l&&-270>=l||270<=l&&360>=l?"start"===p?"right":"left":"start"===p?"left":"right",70<f&&110>f&&(a="center"),15>u||180<=u&&195>u?g=.3*o.height:15<=u&&35>=u?g="start"===p?0:.75*o.height:195<=u&&215>=u?g="start"===p?.75*o.height:0:35<u&&90>=u?g="start"===p?.25*-o.height:o.height:215<u&&270>=u&&(g="start"===p?o.height:.25*-o.height),15>f?m="start"===p?.15*-o.height:.15*o.height:165<f&&180>=f&&(m="start"===p?.15*o.height:.15*-o.height),i.attr({align:a}),i.translate(m,g+y)),t.pos.x=v.x+n.x,t.pos.y=v.y+s}}}
1)),p(o.prototype,"getMarkPath",(function(t,e,i,o,n,s,r){var a=this.axis;return a.isRadial?e=["M",e,i,"L",(t=a.getPosition(this.pos,a.center[2]/2+o)).x,t.y]:e=t.call(this,e,i,o,n,s,r),e}))},e.defaultCircularOptions={gridLineWidth:1,labels:{align:null,distance:15,x:0,y:null,style:{textOverflow:"none"}},maxPadding:0,minPadding:0,showLastLabel:!1,tickLength:0},e.defaultRadialGaugeOptions={labels:{align:"center",x:0,y:null},minorGridLineWidth:0,minorTickInterval:"auto",minorTickLength:10,minorTickPosition:"inside",minorTickWidth:1,tickLength:10,tickPosition:"inside",tickWidth:2,title:{rotation:0},zIndex:2},e.defaultRadialOptions={gridLineInterpolation:"circle",gridLineWidth:1,labels:{align:"right",x:-3,y:-2},showLastLabel:!1,title:{x:4,text:null,rotation:90}},e}()).compose(t,e),o})),e(t,"Series/AreaRangeSeries.js",[t["Core/Series/Series.js"],t["Core/Globals.js"],t["Core/Series/Point.js"],t["Core/Utilities.js"]],(function(t,e,i,o){var n=o.defined,s=o.extend,r=o.isArray,a=o.isNumber,h=o.pick,l=t.seriesTypes.area.prototype,c=t.seriesTypes.column.prototype,d=i.prototype,p=e.Series.prototype;t.seriesType("arearange","area",{lineWidth:1,threshold:null,tooltip:{pointFormat:'<span style="color:{series.color}">â</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},trackByArea:!0,dataLabels:{align:void 0,verticalAlign:void 0,xLow:0,xHigh:0,yLow:0,yHigh:0}},{pointArrayMap:["low","high"],pointValKey:"low",deferTranslatePolar:!0,toYData:function(t){return[t.low,t.high]},highToXY:function(t){var e=this.chart,i=this.xAxis.postTranslate(t.rectPlotX,this.yAxis.len-t.plotHigh);t.plotHighX=i.x-e.plotLeft,t.plotHigh=i.y-e.plotTop,t.plotLowX=t.plotX},translate:function(){var t=this,e=t.yAxis,i=!!t.modifyValue;l.translate.apply(t),t.points.forEach((function(o){var n=o.high,s=o.plotY;o.isNull?o.plotY=null:(o.plotLow=s,o.plotHigh=e.translate(i?t.modifyValue(n,o):n,0,1,0,1),i&&(o.yBottom=o.plotHigh))})),this.chart.polar&&this.points.forEach((function(e){t.highToXY(e),e.tooltipPos=[(e.plotHighX+e.plotLowX)/2,(e.plotHigh+e.plotLow)/2]}))},getGraphPath:function(t){var e,i=[],o=[],n=l.getGraphPath,s=this.options,r=this.chart.polar,a=r&&!1!==s.connectEnds,c=s.connectNulls,d=s.step;for(e=(t=t||this.points).length;e--;){var p=t[e],u=r?{plotX:p.rectPlotX,plotY:p.yBottom,doCurve:!1}:{plotX:p.plotX,plotY:p.plotY,doCurve:!1};p.isNull||a||c||t[e+1]&&!t[e+1].isNull||o.push(u);var f={polarPlotY:p.polarPlotY,rectPlotX:p.rectPlotX,yBottom:p.yBottom,plotX:h(p.plotHighX,p.plotX),plotY:p.plotHigh,isNull:p.isNull};o.push(f),i.push(f),p.isNull||a||c||t[e-1]&&!t[e-1].isNull||o.push(u)}return t=n.call(this,t),d&&(!0===d&&(d="left"),s.step={left:"right",center:"center",right:"left"}[d]),i=n.call(this,i),o=n.call(this,o),s.step=d,s=[].concat(t,i),!this.chart.polar&&o[0]&&"M"===o[0][0]&&(o[0]=["L",o[0][1],o[0][2]]),this.graphPath=s,this.areaPath=t.concat(o),s.isArea=!0,s.xMap=t.xMap,this.areaPath.xMap=t.xMap,s},drawDataLabels:function(){var t,e,i=this.points,o=i.length,n=[],a=this.options.dataLabels,h=this.chart.inverted;if(r(a))var l=a[0]||{enabled:!1},c=a[1]||{enabled:!1};else(l=s({},a)).x=a.xHigh,l.y=a.yHigh,(c=s({},a)).x=a.xLow,c.y=a.yLow;if(l.enabled||this._hasPointLabels){for(t=o;t--;)if(e=i[t]){var d=l.inside?e.plotHigh<e.plotLow:e.plotHigh>e.plotLow;e.y=e.high,e._plotY=e.plotY,e.plotY=e.plotHigh,n[t]=e.dataLabel,e.dataLabel=e.dataLabelUpper,e.below=d,h?l.align||(l.align=d?"right":"left"):l.verticalAlign||(l.verticalAlign=d?"top":"bottom")}for(this.options.dataLabels=l,p.drawDataLabels&&p.drawDataLabels.apply(this,arguments),t=o;t--;)(e=i[t])&&(e.dataLabelUpper=e.dataLabel,e.dataLabel=n[t],delete e.dataLabels,e.y=e.low,e.plotY=e._plotY)}if(c.enabled||this._hasPointLabels){for(t=o;t--;)(e=i[t])&&(d=c.inside?e.plotHigh<e.plotLow:e.plotHigh>e.plotLow,e.below=!d,h?c.align||(c.align=d?"left":"right"):c.verticalAlign||(c.verticalAlign=d?"bottom":"top"));this.options.dataLabels=c,p.drawDataLabels&&p.drawDataLabels.apply(this,arguments)}if(l.enabled)for(t=o;t--;)(e=i[t])&&(e.dataLabels=[e.dataLabelUpper,e.dataLabel].filter((function(t){return!!t})));this.options.dataLabels=a},alignDataLabel:function(){c.alignDataLabel.apply(this,arguments)},drawPoints:function(){var t,e=this.points.length;for(p.drawPoints.apply(this,arguments),t=0;t<e;){var i=this.points[t];i.origProps={plotY:i.plotY,plotX:i.plotX,isInside:i.isInside,negative:i.negative,zone
1:i.zone,y:i.y},i.lowerGraphic=i.graphic,i.graphic=i.upperGraphic,i.plotY=i.plotHigh,n(i.plotHighX)&&(i.plotX=i.plotHighX),i.y=i.high,i.negative=i.high<(this.options.threshold||0),i.zone=this.zones.length&&i.getZone(),this.chart.polar||(i.isInside=i.isTopInside=void 0!==i.plotY&&0<=i.plotY&&i.plotY<=this.yAxis.len&&0<=i.plotX&&i.plotX<=this.xAxis.len),t++}for(p.drawPoints.apply(this,arguments),t=0;t<e;)(i=this.points[t]).upperGraphic=i.graphic,i.graphic=i.lowerGraphic,s(i,i.origProps),delete i.origProps,t++},setStackedPoints:e.noop},{setState:function(){var t=this.state,e=this.series,i=e.chart.polar;n(this.plotHigh)||(this.plotHigh=e.yAxis.toPixels(this.high,!0)),n(this.plotLow)||(this.plotLow=this.plotY=e.yAxis.toPixels(this.low,!0)),e.stateMarkerGraphic&&(e.lowerStateMarkerGraphic=e.stateMarkerGraphic,e.stateMarkerGraphic=e.upperStateMarkerGraphic),this.graphic=this.upperGraphic,this.plotY=this.plotHigh,i&&(this.plotX=this.plotHighX),d.setState.apply(this,arguments),this.state=t,this.plotY=this.plotLow,this.graphic=this.lowerGraphic,i&&(this.plotX=this.plotLowX),e.stateMarkerGraphic&&(e.upperStateMarkerGraphic=e.stateMarkerGraphic,e.stateMarkerGraphic=e.lowerStateMarkerGraphic,e.lowerStateMarkerGraphic=void 0),d.setState.apply(this,arguments)},haloPath:function(){var t=this.series.chart.polar,e=[];return this.plotY=this.plotLow,t&&(this.plotX=this.plotLowX),this.isInside&&(e=d.haloPath.apply(this,arguments)),this.plotY=this.plotHigh,t&&(this.plotX=this.plotHighX),this.isTopInside&&(e=e.concat(d.haloPath.apply(this,arguments))),e},destroyElements:function(){return["lowerGraphic","upperGraphic"].forEach((function(t){this[t]&&(this[t]=this[t].destroy())}),this),this.graphic=null,d.destroyElements.apply(this,arguments)},isValid:function(){return a(this.low)&&a(this.high)}})})),e(t,"Series/AreaSplineRangeSeries.js",[t["Core/Series/Series.js"]],(function(t){t.seriesType("areasplinerange","arearange",null,{getPointSpline:t.seriesTypes.spline.prototype.getPointSpline})})),e(t,"Series/ColumnRangeSeries.js",[t["Core/Series/Series.js"],t["Core/Globals.js"],t["Core/Options.js"],t["Core/Utilities.js"]],(function(t,e,i,o){e=e.noop,i=i.defaultOptions;var n=o.clamp,s=o.merge,r=o.pick,a=t.seriesTypes.column.prototype;t.seriesType("columnrange","arearange",s(i.plotOptions.column,i.plotOptions.arearange,{pointRange:null,marker:null,states:{hover:{halo:!1}}}),{translate:function(){var t,e,i=this,o=i.yAxis,s=i.xAxis,h=s.startAngleRad,l=i.chart,c=i.xAxis.isRadial,d=Math.max(l.chartWidth,l.chartHeight)+999;a.translate.apply(i),i.points.forEach((function(a){var p=a.shapeArgs,u=i.options.minPointLength;a.plotHigh=e=n(o.translate(a.high,0,1,0,1),-d,d),a.plotLow=n(a.plotY,-d,d);var f=e,g=r(a.rectPlotY,a.plotY)-e;Math.abs(g)<u?(g+=u-=g,f-=u/2):0>g&&(f-=g*=-1),c?(t=a.barX+h,a.shapeType="arc",a.shapeArgs=i.polarArc(f+g,f,t,t+a.pointWidth)):(p.height=g,p.y=f,a.tooltipPos=l.inverted?[o.len+o.pos-l.plotLeft-f-g/2,s.len+s.pos-l.plotTop-p.x-p.width/2,g]:[s.left-l.plotLeft+p.x+p.width/2,o.pos-l.plotTop+f+g/2,g])}))},directTouch:!0,trackerGroups:["group","dataLabelsGroup"],drawGraph:e,getSymbol:e,crispCol:function(){return a.crispCol.apply(this,arguments)},drawPoints:function(){return a.drawPoints.apply(this,arguments)},drawTracker:function(){return a.drawTracker.apply(this,arguments)},getColumnMetrics:function(){return a.getColumnMetrics.apply(this,arguments)},pointAttribs:function(){return a.pointAttribs.apply(this,arguments)},animate:function(){return a.animate.apply(this,arguments)},polarArc:function(){return a.polarArc.apply(this,arguments)},translate3dPoints:function(){return a.translate3dPoints.apply(this,arguments)},translate3dShapes:function(){return a.translate3dShapes.apply(this,arguments)}},{setState:a.pointClass.prototype.setState})})),e(t,"Series/ColumnPyramidSeries.js",[t["Core/Series/Series.js"],t["Series/ColumnSeries.js"],t["Core/Utilities.js"]],(function(t,e,i){var o=e.prototype,n=i.clamp,s=i.pick;t.seriesType("columnpyramid","column",{},{translate:function(){var t=this,e=t.chart,i=t.options,r=t.dense=2>t.closestPointRange*t.xAxis.transA;r=t.borderWidth=s(i.borderWidth,r?0:1);var a=t.yAxis,h=i.threshold,l=t.translatedThreshold=a.getThreshold(h),c=s(i.minPointLength,5),d=t.getColumnMetrics(),p=d.width,u=t.barW=Math.max(p,1+2*r),f=t.pointXOffset=d.offset;e.inverted&&(l-=.5),i.pointPadding&&(u=Math.ceil(u)),o.translate.apply(t),t.points.forEac
1h((function(o){var r=s(o.yBottom,l),d=999+Math.abs(r),g=n(o.plotY,-d,a.len+d);d=o.plotX+f;var m,y=u/2,v=Math.min(g,r);r=Math.max(g,r)-v,o.barX=d,o.pointWidth=p,o.tooltipPos=e.inverted?[a.len+a.pos-e.plotLeft-g,t.xAxis.len-d-y,r]:[d+y,g+a.pos-e.plotTop,r],g=h+(o.total||o.y),"percent"===i.stacking&&(g=h+(0>o.y)?-100:100),g=a.toPixels(g,!0);var x=(m=e.plotHeight-g-(e.plotHeight-l))?y*(v-g)/m:0,b=m?y*(v+r-g)/m:0;m=d-x+y,x=d+x+y;var w=d+b+y;b=d-b+y;var C=v-c,S=v+r;0>o.y&&(C=v,S=v+r+c),e.inverted&&(b=y*(g-((w=e.plotWidth-v)-r))/(m=g-(e.plotWidth-l)),x=(m=d+y+(x=y*(g-w)/m))-2*x,w=d-b+y,b=d+b+y,C=v,S=v+r-c,0>o.y&&(S=v+r+c)),o.shapeType="path",o.shapeArgs={x:m,y:C,width:x-m,height:r,d:[["M",m,C],["L",x,C],["L",w,S],["L",b,S],["Z"]]}}))}})})),e(t,"Series/GaugeSeries.js",[t["Core/Series/Series.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e,i){var o=i.clamp,n=i.isNumber,s=i.merge,r=i.pick,a=i.pInt,h=e.Series;i=e.TrackerMixin,t.seriesType("gauge","line",{dataLabels:{borderColor:"#cccccc",borderRadius:3,borderWidth:1,crop:!1,defer:!1,enabled:!0,verticalAlign:"top",y:15,zIndex:2},dial:{},pivot:{},tooltip:{headerFormat:""},showInLegend:!1},{angular:!0,directTouch:!0,drawGraph:e.noop,fixedBox:!0,forceDL:!0,noSharedTooltip:!0,trackerGroups:["group","dataLabelsGroup"],translate:function(){var t=this.yAxis,e=this.options,i=t.center;this.generatePoints(),this.points.forEach((function(h){var l=s(e.dial,h.dial),c=a(r(l.radius,"80%"))*i[2]/200,d=a(r(l.baseLength,"70%"))*c/100,p=a(r(l.rearLength,"10%"))*c/100,u=l.baseWidth||3,f=l.topWidth||1,g=e.overshoot,m=t.startAngleRad+t.translate(h.y,null,null,null,!0);(n(g)||!1===e.wrap)&&(g=n(g)?g/180*Math.PI:0,m=o(m,t.startAngleRad-g,t.endAngleRad+g)),m=180*m/Math.PI,h.shapeType="path",h.shapeArgs={d:l.path||[["M",-p,-u/2],["L",d,-u/2],["L",c,-f/2],["L",c,f/2],["L",d,u/2],["L",-p,u/2],["Z"]],translateX:i[0],translateY:i[1],rotation:m},h.plotX=i[0],h.plotY=i[1]}))},drawPoints:function(){var t=this,e=t.chart,i=t.yAxis.center,o=t.pivot,n=t.options,a=n.pivot,h=e.renderer;t.points.forEach((function(i){var o=i.graphic,r=i.shapeArgs,a=r.d,l=s(n.dial,i.dial);o?(o.animate(r),r.d=a):i.graphic=h[i.shapeType](r).attr({rotation:r.rotation,zIndex:1}).addClass("highcharts-dial").add(t.group),e.styledMode||i.graphic[o?"animate":"attr"]({stroke:l.borderColor||"none","stroke-width":l.borderWidth||0,fill:l.backgroundColor||"#000000"})})),o?o.animate({translateX:i[0],translateY:i[1]}):(t.pivot=h.circle(0,0,r(a.radius,5)).attr({zIndex:2}).addClass("highcharts-pivot").translate(i[0],i[1]).add(t.group),e.styledMode||t.pivot.attr({"stroke-width":a.borderWidth||0,stroke:a.borderColor||"#cccccc",fill:a.backgroundColor||"#000000"}))},animate:function(t){var e=this;t||e.points.forEach((function(t){var i=t.graphic;i&&(i.attr({rotation:180*e.yAxis.startAngleRad/Math.PI}),i.animate({rotation:t.shapeArgs.rotation},e.options.animation))}))},render:function(){this.group=this.plotGroup("group","series",this.visible?"visible":"hidden",this.options.zIndex,this.chart.seriesGroup),h.prototype.render.call(this),this.group.clip(this.chart.clipRect)},setData:function(t,e){h.prototype.setData.call(this,t,!1),this.processData(),this.generatePoints(),r(e,!0)&&this.chart.redraw()},hasData:function(){return!!this.points.length},drawTracker:i&&i.drawTrackerPoint},{setState:function(t){this.state=t}})})),e(t,"Series/BoxPlotSeries.js",[t["Core/Series/Series.js"],t["Series/ColumnSeries.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e,i,o){var n=e.prototype;e=i.noop;var s=o.pick;t.seriesType("boxplot","column",{threshold:null,tooltip:{pointFormat:'<span style="color:{point.color}">â</span> <b> {series.name}</b><br/>Maximum: {point.high}<br/>Upper quartile: {point.q3}<br/>Median: {point.median}<br/>Lower quartile: {point.q1}<br/>Minimum: {point.low}<br/>'},whiskerLength:"50%",fillColor:"#ffffff",lineWidth:1,medianWidth:2,whiskerWidth:2},{pointArrayMap:["low","q1","median","q3","high"],toYData:function(t){return[t.low,t.q1,t.median,t.q3,t.high]},pointValKey:"high",pointAttribs:function(){return{}},drawDataLabels:e,translate:function(){var t=this.yAxis,e=this.pointArrayMap;
1n.translate.apply(this),this.points.forEach((function(i){e.forEach((function(e){null!==i[e]&&(i[e+"Plot"]=t.translate(i[e],0,1,0,1))})),i.plotHigh=i.highPlot}))},drawPoints:function(){var t,e,i,o,n,r,a,h,l,c,d,p=this,u=p.options,f=p.chart,g=f.renderer,m=0,y=!1!==p.doQuartiles,v=p.options.whiskerLength;p.points.forEach((function(x){var b=x.graphic,w=b?"animate":"attr",C=x.shapeArgs,S={},k={},A={},M={},P=x.color||p.color;void 0!==x.plotY&&(a=Math.round(C.width),h=Math.floor(C.x),l=h+a,c=Math.round(a/2),t=Math.floor(y?x.q1Plot:x.lowPlot),e=Math.floor(y?x.q3Plot:x.lowPlot),i=Math.floor(x.highPlot),o=Math.floor(x.lowPlot),b||(x.graphic=b=g.g("point").add(p.group),x.stem=g.path().addClass("highcharts-boxplot-stem").add(b),v&&(x.whiskers=g.path().addClass("highcharts-boxplot-whisker").add(b)),y&&(x.box=g.path(void 0).addClass("highcharts-boxplot-box").add(b)),x.medianShape=g.path(void 0).addClass("highcharts-boxplot-median").add(b)),f.styledMode||(k.stroke=x.stemColor||u.stemColor||P,k["stroke-width"]=s(x.stemWidth,u.stemWidth,u.lineWidth),k.dashstyle=x.stemDashStyle||u.stemDashStyle||u.dashStyle,x.stem.attr(k),v&&(A.stroke=x.whiskerColor||u.whiskerColor||P,A["stroke-width"]=s(x.whiskerWidth,u.whiskerWidth,u.lineWidth),A.dashstyle=x.whiskerDashStyle||u.whiskerDashStyle||u.dashStyle,x.whiskers.attr(A)),y&&(S.fill=x.fillColor||u.fillColor||P,S.stroke=u.lineColor||P,S["stroke-width"]=u.lineWidth||0,S.dashstyle=x.boxDashStyle||u.boxDashStyle||u.dashStyle,x.box.attr(S)),M.stroke=x.medianColor||u.medianColor||P,M["stroke-width"]=s(x.medianWidth,u.medianWidth,u.lineWidth),M.dashstyle=x.medianDashStyle||u.medianDashStyle||u.dashStyle,x.medianShape.attr(M)),r=x.stem.strokeWidth()%2/2,b=[["M",m=h+c+r,e],["L",m,i],["M",m,t],["L",m,o]],x.stem[w]({d:b}),y&&(r=x.box.strokeWidth()%2/2,t=Math.floor(t)+r,e=Math.floor(e)+r,b=[["M",h+=r,e],["L",h,t],["L",l+=r,t],["L",l,e],["L",h,e],["Z"]],x.box[w]({d:b})),v&&(r=x.whiskers.strokeWidth()%2/2,i+=r,o+=r,d=/%$/.test(v)?c*parseFloat(v)/100:v/2,b=[["M",m-d,i],["L",m+d,i],["M",m-d,o],["L",m+d,o]],x.whiskers[w]({d:b})),n=Math.round(x.medianPlot),r=x.medianShape.strokeWidth()%2/2,b=[["M",h,n+=r],["L",l,n]],x.medianShape[w]({d:b}))}))},setStackedPoints:e})})),e(t,"Series/ErrorBarSeries.js",[t["Core/Series/Series.js"],t["Core/Globals.js"]],(function(t,e){e=e.noop;var i=t.seriesTypes;t.seriesType("errorbar","boxplot",{color:"#000000",grouping:!1,linkedTo:":previous",tooltip:{pointFormat:'<span style="color:{point.color}">â</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},whiskerWidth:null},{type:"errorbar",pointArrayMap:["low","high"],toYData:function(t){return[t.low,t.high]},pointValKey:"high",doQuartiles:!1,drawDataLabels:i.arearange?function(){var t=this.pointValKey;i.arearange.prototype.drawDataLabels.call(this),this.data.forEach((function(e){e.y=e[t]}))}:e,getColumnMetrics:function(){return this.linkedParent&&this.linkedParent.columnMetrics||i.column.prototype.getColumnMetrics.call(this)}})})),e(t,"Series/WaterfallSeries.js",[t["Core/Axis/Axis.js"],t["Core/Series/Series.js"],t["Core/Chart/Chart.js"],t["Core/Globals.js"],t["Core/Series/Point.js"],t["Extensions/Stacking.js"],t["Core/Utilities.js"]],(function(t,e,i,o,n,s,r){var a,h=e.seriesTypes,l=r.addEvent,c=r.arrayMax,d=r.arrayMin,p=r.correctFloat,u=r.isNumber,f=r.objectEach,g=r.pick,m=o.Series;return function(t){function e(){var t=this.waterfall.stacks;t&&(t.changed=!1,delete t.alreadyChanged)}function i(){var t=this.options.stackLabels;t&&t.enabled&&this.waterfall.stacks&&this.waterfall.renderStackTotals()}function o(){for(var t=this.axes,e=this.series,i=e.length;i--;)e[i].options.stacking&&(t.forEach((function(t){t.isXAxis||(t.waterfall.stacks.changed=!0)})),i=0)}function n(){this.waterfall||(this.waterfall=new r(this))}var r=function(){function t(t){this.axis=t,this.stacks={changed:!1}}return t.prototype.renderStackTotals=function(){var t=this.axis,e=t.waterfall.stacks,i=t.stacking&&t.stacking.stackTotalGroup,o=new s(t,t.options.stackLabels,!1,0,void 0);this.dummyStackItem=o,f(e,(function(t){f(t,(function(t){o.total=t.stackTotal,t.label&&(o.label=t.label),s.prototype.render.call(o,i),t.label=o.label,delete o.label}))})),o.total=null},t}();t.Composition=r,t.compose=function(t,s){l(t,"init",n),l(t,"afterBuildStacks",e),l(t,"afterRe
1nder",i),l(s,"beforeRedraw",o)}}(a||(a={})),e.seriesType("waterfall","column",{dataLabels:{inside:!0},lineWidth:1,lineColor:"#333333",dashStyle:"Dot",borderColor:"#333333",states:{hover:{lineWidthPlus:0}}},{pointValKey:"y",showLine:!0,generatePoints:function(){var t;h.column.prototype.generatePoints.apply(this);var e=0;for(t=this.points.length;e<t;e++){var i=this.points[e],o=this.processedYData[e];(i.isIntermediateSum||i.isSum)&&(i.y=p(o))}},translate:function(){var t,e=this.options,i=this.yAxis,o=g(e.minPointLength,5),n=o/2,s=e.threshold,r=e.stacking,a=i.waterfall.stacks[this.stackKey];h.column.prototype.translate.apply(this);var l=t=s,c=this.points,d=0;for(e=c.length;d<e;d++){var p=c[d],u=this.processedYData[d],f=p.shapeArgs,m=[0,u],y=p.y;if(r){if(a){if(m=a[d],"overlap"===r){var v=m.stackState[m.stateIndex--];v=0<=y?v:v-y,Object.hasOwnProperty.call(m,"absolutePos")&&delete m.absolutePos,Object.hasOwnProperty.call(m,"absoluteNeg")&&delete m.absoluteNeg}else 0<=y?(v=m.threshold+m.posTotal,m.posTotal-=y):(v=m.threshold+m.negTotal,m.negTotal-=y,v-=y),!m.posTotal&&Object.hasOwnProperty.call(m,"absolutePos")&&(m.posTotal=m.absolutePos,delete m.absolutePos),!m.negTotal&&Object.hasOwnProperty.call(m,"absoluteNeg")&&(m.negTotal=m.absoluteNeg,delete m.absoluteNeg);p.isSum||(m.connectorThreshold=m.threshold+m.stackTotal),i.reversed?(u=0<=y?v-y:v+y,y=v):(u=v,y=v-y),p.below=u<=g(s,0),f.y=i.translate(u,0,1,0,1),f.height=Math.abs(f.y-i.translate(y,0,1,0,1))}(y=i.waterfall.dummyStackItem)&&(y.x=d,y.label=a[d].label,y.setOffset(this.pointXOffset||0,this.barW||0,this.stackedYNeg[d],this.stackedYPos[d]))}else v=Math.max(l,l+y)+m[0],f.y=i.translate(v,0,1,0,1),p.isSum?(f.y=i.translate(m[1],0,1,0,1),f.height=Math.min(i.translate(m[0],0,1,0,1),i.len)-f.y):p.isIntermediateSum?(0<=y?(u=m[1]+t,y=t):(u=t,y=m[1]+t),i.reversed&&(u^=y,u^=y^=u),f.y=i.translate(u,0,1,0,1),f.height=Math.abs(f.y-Math.min(i.translate(y,0,1,0,1),i.len)),t+=m[1]):(f.height=0<u?i.translate(l,0,1,0,1)-f.y:i.translate(l,0,1,0,1)-i.translate(l-u,0,1,0,1),l+=u,p.below=l<g(s,0)),0>f.height&&(f.y+=f.height,f.height*=-1);p.plotY=f.y=Math.round(f.y)-this.borderWidth%2/2,f.height=Math.max(Math.round(f.height),.001),p.yBottom=f.y+f.height,f.height<=o&&!p.isNull?(f.height=o,f.y-=n,p.plotY=f.y,p.minPointLengthOffset=0>p.y?-n:n):(p.isNull&&(f.width=0),p.minPointLengthOffset=0),f=p.plotY+(p.negative?f.height:0),this.chart.inverted?p.tooltipPos[0]=i.len-f:p.tooltipPos[1]=f}},processData:function(t){var e,i,o,n,s,r=this.options,a=this.yData,h=r.data,l=a.length,c=r.threshold||0;for(s=i=e=o=n=0;s<l;s++){var d=a[s],u=h&&h[s]?h[s]:{};"sum"===d||u.isSum?a[s]=p(i):"intermediateSum"===d||u.isIntermediateSum?(a[s]=p(e),e=0):(i+=d,e+=d),o=Math.min(i,o),n=Math.max(i,n)}m.prototype.processData.call(this,t),r.stacking||(this.dataMin=o+c,this.dataMax=n)},toYData:function(t){return t.isSum?"sum":t.isIntermediateSum?"intermediateSum":t.y},updateParallelArrays:function(t,e){m.prototype.updateParallelArrays.call(this,t,e),"sum"!==this.yData[0]&&"intermediateSum"!==this.yData[0]||(this.yData[0]=null)},pointAttribs:function(t,e){var i=this.options.upColor;return i&&!t.options.color&&(t.color=0<t.y?i:null),delete(t=h.column.prototype.pointAttribs.call(this,t,e)).dashstyle,t},getGraphPath:function(){return[["M",0,0]]},getCrispPath:function(){var t,e=this.data,i=this.yAxis,o=e.length,n=Math.round(this.graph.strokeWidth())%2/2,s=Math.round(this.borderWidth)%2/2,r=this.xAxis.reversed,a=this.yAxis.reversed,h=this.options.stacking,l=[];for(t=1;t<o;t++){var c=e[t].shapeArgs,d=e[t-1],p=e[t-1].shapeArgs,u=i.waterfall.stacks[this.stackKey],f=0<d.y?-p.height:0;u&&p&&c&&(u=u[t-1],h?(u=u.connectorThreshold,f=Math.round(i.translate(u,0,1,0,1)+(a?f:0))-n):f=p.y+d.minPointLengthOffset+s-n,l.push(["M",(p.x||0)+(r?0:p.width||0),f],["L",(c.x||0)+(r&&c.width||0),f])),!h&&l.length&&p&&(0>d.y&&!a||0<d.y&&a)&&(l[l.length-2][2]+=p.height,l[l.length-1][2]+=p.height)}return l},drawGraph:function(){m.prototype.drawGraph.call(this),this.graph.attr({d:this.getCrispPath()})},setStackedPoints:function(){function t(t,e,i,o){if(b)for(;i<b;i++)m.stackState[i]+=o;
1else m.stackState[0]=t,b=m.stackState.length;m.stackState.push(m.stackState[b-1]+e)}var e,i,o,n=this.options,s=this.yAxis.waterfall.stacks,r=n.threshold,a=r||0,h=a,l=this.stackKey,c=this.xData,d=c.length;this.yAxis.stacking.usePercentage=!1;var p=i=o=a;if(this.visible||!this.chart.options.chart.ignoreHiddenSeries){var u=s.changed;(e=s.alreadyChanged)&&0>e.indexOf(l)&&(u=!0),s[l]||(s[l]={}),e=s[l];for(var f=0;f<d;f++){var g=c[f];e[g]&&!u||(e[g]={negTotal:0,posTotal:0,stackTotal:0,threshold:0,stateIndex:0,stackState:[],label:u&&e[g]?e[g].label:void 0});var m=e[g],y=this.yData[f];0<=y?m.posTotal+=y:m.negTotal+=y;var v=n.data[f];g=m.absolutePos=m.posTotal;var x=m.absoluteNeg=m.negTotal;m.stackTotal=g+x;var b=m.stackState.length;v&&v.isIntermediateSum?(t(o,i,0,o),o=i,i=r,a^=h,a^=h^=a):v&&v.isSum?(t(r,p,b),a=r):(t(a,y,0,p),v&&(p+=y,i+=y)),m.stateIndex++,m.threshold=a,a+=m.stackTotal}s.changed=!1,s.alreadyChanged||(s.alreadyChanged=[]),s.alreadyChanged.push(l)}},getExtremes:function(){var t=this.options.stacking;if(t){var e=this.yAxis;e=e.waterfall.stacks;var i=this.stackedYNeg=[],o=this.stackedYPos=[];return f(e[this.stackKey],"overlap"===t?function(t){i.push(d(t.stackState)),o.push(c(t.stackState))}:function(t){i.push(t.negTotal+t.threshold),o.push(t.posTotal+t.threshold)}),{dataMin:d(i),dataMax:c(o)}}return{dataMin:this.dataMin,dataMax:this.dataMax}}},{getClassName:function(){var t=n.prototype.getClassName.call(this);return this.isSum?t+=" highcharts-sum":this.isIntermediateSum&&(t+=" highcharts-intermediate-sum"),t},isValid:function(){return u(this.y)||this.isSum||!!this.isIntermediateSum}}),a.compose(t,i),a})),e(t,"Series/PolygonSeries.js",[t["Core/Series/Series.js"],t["Core/Globals.js"],t["Mixins/LegendSymbol.js"]],(function(t,e,i){var o=t.seriesTypes,n=e.Series;t.seriesType("polygon","scatter",{marker:{enabled:!1,states:{hover:{enabled:!1}}},stickyTracking:!1,tooltip:{followPointer:!0,pointFormat:""},trackByArea:!0},{type:"polygon",getGraphPath:function(){for(var t=n.prototype.getGraphPath.call(this),e=t.length+1;e--;)(e===t.length||"M"===t[e][0])&&0<e&&t.splice(e,0,["Z"]);return this.areaPath=t},drawGraph:function(){this.options.fillColor=this.color,o.area.prototype.drawGraph.call(this)},drawLegendSymbol:i.drawRectangle,drawTracker:n.prototype.drawTracker,setStackedPoints:e.noop})})),e(t,"Series/Bubble/BubbleLegend.js",[t["Core/Chart/Chart.js"],t["Core/Color/Color.js"],t["Core/Globals.js"],t["Core/Legend.js"],t["Core/Utilities.js"]],(function(t,e,i,o,n){var s=e.parse;e=n.addEvent;var r=n.arrayMax,a=n.arrayMin,h=n.isNumber,l=n.merge,c=n.objectEach,d=n.pick,p=n.setOptions,u=n.stableSort,f=n.wrap,g=i.Series,m=i.noop;return p({legend:{bubbleLegend:{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:10,color:void 0},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}}}),p=function(){function t(t,e){this.options=this.symbols=this.visible=this.ranges=this.movementX=this.maxLabel=this.legendSymbol=this.legendItemWidth=this.legendItemHeight=this.legendItem=this.legendGroup=this.legend=this.fontMetrics=this.chart=void 0,this.setState=m,this.init(t,e)}return t.prototype.init=function(t,e){this.options=t,this.visible=!0,this.chart=e.chart,this.legend=e},t.prototype.addToLegend=function(t){t.splice(this.options.legendIndex,0,this)},t.prototype.drawLegendSymbol=function(t){var e=this.chart,i=this.options,o=d(t.options.itemDistance,20),n=i.ranges,s=i.connectorDistance;this.fontMetrics=e.renderer.fontMetrics(i.labels.style.fontSize.toString()+"px"),n&&n.length&&h(n[0].value)?(u(n,(function(t,e){return e.value-t.value})),this.ranges=n,this.setOptions(),this.render(),e=this.getMaxLabelSize(),t=2*(n=this.ranges[0].radius),s=0<(s=s-n+e.width)?s:0,this.maxLabel=e,this.movementX="left"===i.labels.align?s:0,this.legendItemWidth=t+s+o,this.legendItemHeight=t+this.fontMetrics.h/2):t.options.bubbleLegend.autoRanges=!0},t.prototype.setOptions=function(){var t=this.ranges,e=this.options,i=this.chart.series[e.seriesIndex],o=this.legend.baseline,n={"z-index":e.zIndex,"stroke-width":e.borderWidth},r={"z-index":e.zIndex,"stroke-width":e.connectorWidth},a=this.getLabelStyles(),h=i.options.marker.fillOpacity,c=this.chart.styledMode;t.forEach((function(p,u){c||(n.stroke=d(p.borderColor,e.borderColor,i.color),n.fill=d(p.color,e.color,1!==h?s(i.color).setOpacity(h).get("rgba"):i.color),r.stroke=d(p.connectorColor,e.connectorColor,i.color)),t[u].radius=this.getRangeRadius(p.value),t[u]=l(t[u],{center:t[0].radius-t[u].radius+o}),c||l(!0,t[u],{bubbleStyle:l(!1,n),connectorStyle:l(!1,r),labelStyle:a})}),this)},t.prototype.getLabelStyles=function(){var t=this.options,e={},i="left"===t.labels.align,o=this.legend.options.rtl;return c(t.labels.style,(function(t,i){"color"!==i&&"fontSize"!==i&&"z-index"!==i&&(e[i]=t)})),l(!1,e,{"font-size":t.labels.style.fontSize,fill:d(t.labels.style.color,"#000000"),"z-index":t.zIndex,align:o||i?"right":"left"})},t.prototype.getRangeRadius=function(t){var e=this.options;return this.chart.series[this.options.seriesIndex].getRadius.call(this,e.ranges[e.ranges.length-1].value,e.ranges[0].value,e.minSize,e.maxSize,t)},t.prototype.render=function(){var t=this.chart.renderer,e=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]}),this.legendSymbol=t.g("bubble-legend"),this.legendItem=t.g("bubble-legend-item"),this.legendSymbol.translateX=0,this.legendSymbol.translateY=0,this.ranges.forEac
1h((function(t){t.value>=e&&this.renderRange(t)}),this),this.legendSymbol.add(this.legendItem),this.legendItem.add(this.legendGroup),this.hideOverlappingLabels()},t.prototype.renderRange=function(t){var e=this.options,i=e.labels,o=this.chart.renderer,n=this.symbols,s=n.labels,r=t.center,a=Math.abs(t.radius),h=e.connectorDistance||0,l=i.align,c=i.style.fontSize;h=this.legend.options.rtl||"left"===l?-h:h,i=e.connectorWidth;var d=this.ranges[0].radius||0,p=r-a-e.borderWidth/2+i/2;c=c/2-(this.fontMetrics.h-c)/2;var u=o.styledMode;"center"===l&&(h=0,e.connectorDistance=0,t.labelStyle.align="center"),l=p+e.labels.y;var f=d+h+e.labels.x;n.bubbleItems.push(o.circle(d,r+((p%1?1:.5)-(i%2?0:.5)),a).attr(u?{}:t.bubbleStyle).addClass((u?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-symbol "+(e.className||"")).add(this.legendSymbol)),n.connectors.push(o.path(o.crispLine([["M",d,p],["L",d+h,p]],e.connectorWidth)).attr(u?{}:t.connectorStyle).addClass((u?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(e.connectorClassName||"")).add(this.legendSymbol)),t=o.text(this.formatLabel(t),f,l+c).attr(u?{}:t.labelStyle).addClass("highcharts-bubble-legend-labels "+(e.labels.className||"")).add(this.legendSymbol),s.push(t),t.placed=!0,t.alignAttr={x:f,y:l+c}},t.prototype.getMaxLabelSize=function(){var t,e;return this.symbols.labels.forEach((function(i){e=i.getBBox(!0),t=t?e.width>t.width?e:t:e})),t||{}},t.prototype.formatLabel=function(t){var e=this.options,i=e.labels.formatter;e=e.labels.format;var o=this.chart.numberFormatter;return e?n.format(e,t):i?i.call(t):o(t.value,1)},t.prototype.hideOverlappingLabels=function(){var t=this.chart,e=this.symbols;!this.options.labels.allowOverlap&&e&&(t.hideOverlappingLabels(e.labels),e.labels.forEach((function(t,i){t.newOpacity?t.newOpacity!==t.oldOpacity&&e.connectors[i].show():e.connectors[i].hide()})))},t.prototype.getRanges=function(){var t,e=this.legend.bubbleLegend,i=e.options.ranges,o=Number.MAX_VALUE,n=-Number.MAX_VALUE;e.chart.series.forEach((function(e){e.isBubble&&!e.ignoreSeries&&((t=e.zData.filter(h)).length&&(o=d(e.options.zMin,Math.min(o,Math.max(a(t),!1===e.options.displayNegative?e.options.zThreshold:-Number.MAX_VALUE))),n=d(e.options.zMax,Math.max(n,r(t)))))}));var s=o===n?[{value:n}]:[{value:o},{value:(o+n)/2},{value:n,autoRanges:!0}];return i.length&&i[0].radius&&s.reverse(),s.forEach((function(t,e){i&&i[e]&&(s[e]=l(!1,i[e],t))})),s},t.prototype.predictBubbleSizes=function(){var t=this.chart,e=this.fontMetrics,i=t.legend.options,o="horizontal"===i.layout,n=o?t.legend.lastLineHeight:0,s=t.plotSizeX,r=t.plotSizeY,a=t.series[this.options.seriesIndex];t=Math.ceil(a.minPxSize);var h=Math.ceil(a.maxPxSize);a=a.options.maxSize;var l=Math.min(r,s);return i.floating||!/%$/.test(a)?e=h:(a=parseFloat(a),e=(l+n-e.h/2)*a/100/(a/100+1),(o&&r-e>=s||!o&&s-e>=r)&&(e=h)),[t,Math.ceil(e)]},t.prototype.updateRanges=function(t,e){var i=this.legend.options.bubbleLegend;i.minSize=t,i.maxSize=e,i.ranges=this.getRanges()},t.prototype.correctSizes=function(){var t=this.legend,e=this.chart.series[this.options.seriesIndex];1<Math.abs(Math.ceil(e.maxPxSize)-this.options.maxSize)&&(this.updateRanges(this.options.minSize,e.maxPxSize),t.render())},t}(),e(o,"afterGetAllItems",(function(t){var e=this.bubbleLegend,o=this.options,n=o.bubbleLegend,s=this.chart.getVisibleBubbleSeriesIndex();e&&e.ranges&&e.ranges.length&&(n.ranges.length&&(n.autoRanges=!!n.ranges[0].autoRanges),this.destroyItem(e)),0<=s&&o.enabled&&n.enabled&&(n.seriesIndex=s,this.bubbleLegend=new i.BubbleLegend(n,this),this.bubbleLegend.addToLegend(t.allItems))})),t.prototype.getVisibleBubbleSeriesIndex=function(){for(var t=this.series,e=0;e<t.length;){if(t[e]&&t[e].isBubble&&t[e].visible&&t[e].zData.length)return e;e++}return-1},o.prototype.getLinesHeights=function(){var t,e=this.allItems,i=[],o=e.length,n=0;for(t=0;t<o;t++)if(e[t].legendItemHeight&&(e[t].itemHeight=e[t].legendItemHeight),e[t]===e[o-1]||e[t+1]&&e[t]._legendItemPos[1]!==e[t+1]._legendItemPos[1]){i.push({height:0});for(var s=i[i.length-1];n<=t;n++)e[n].itemHeight>s.height&&(s.height=e[n].itemHeight);s.step=t}return i},o.prototype.retranslateItems=function(t){var e,i,o,n=this.options.rtl,s=0;
1this.allItems.forEach((function(r,a){e=r.legendGroup.translateX,i=r._legendItemPos[1],((o=r.movementX)||n&&r.ranges)&&(o=n?e-r.options.maxSize/2:e+o,r.legendGroup.attr({translateX:o})),a>t[s].step&&s++,r.legendGroup.attr({translateY:Math.round(i+t[s].height/2)}),r._legendItemPos[1]=i+t[s].height/2}))},e(g,"legendItemClick",(function(){var t=this.chart,e=this.visible,i=this.chart.legend;i&&i.bubbleLegend&&(this.visible=!e,this.ignoreSeries=e,t=0<=t.getVisibleBubbleSeriesIndex(),i.bubbleLegend.visible!==t&&(i.update({bubbleLegend:{enabled:t}}),i.bubbleLegend.visible=t),this.visible=e)})),f(t.prototype,"drawChartBox",(function(t,e,i){var o=this.legend,n=0<=this.getVisibleBubbleSeriesIndex();if(o&&o.options.enabled&&o.bubbleLegend&&o.options.bubbleLegend.autoRanges&&n){var s=o.bubbleLegend.options;n=o.bubbleLegend.predictBubbleSizes(),o.bubbleLegend.updateRanges(n[0],n[1]),s.placed||(o.group.placed=!1,o.allItems.forEach((function(t){t.legendGroup.translateY=null}))),o.render(),this.getMargins(),this.axes.forEach((function(t){t.visible&&t.render(),s.placed||(t.setScale(),t.updateNames(),c(t.ticks,(function(t){t.isNew=!0,t.isNewLabel=!0})))})),s.placed=!0,this.getMargins(),t.call(this,e,i),o.bubbleLegend.correctSizes(),o.retranslateItems(o.getLinesHeights())}else t.call(this,e,i),o&&o.options.enabled&&o.bubbleLegend&&(o.render(),o.retranslateItems(o.getLinesHeights()))})),i.BubbleLegend=p,i.BubbleLegend})),e(t,"Series/Bubble/BubbleSeries.js",[t["Core/Axis/Axis.js"],t["Core/Series/Series.js"],t["Core/Color/Color.js"],t["Core/Globals.js"],t["Core/Series/Point.js"],t["Core/Utilities.js"]],(function(t,e,i,o,n,s){var r=i.parse;i=o.noop;var a=s.arrayMax,h=s.arrayMin,l=s.clamp,c=s.extend,d=s.isNumber,p=s.pick,u=s.pInt,f=o.Series,g=e.seriesTypes;e.seriesType("bubble","scatter",{dataLabels:{formatter:function(){return this.point.z},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"},{pointArrayMap:["y","z"],parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",bubblePadding:!0,zoneAxis:"z",directTouch:!0,isBubble:!0,pointAttribs:function(t,e){var i=this.options.marker.fillOpacity;return t=f.prototype.pointAttribs.call(this,t,e),1!==i&&(t.fill=r(t.fill).setOpacity(i).get("rgba")),t},getRadii:function(t,e,i){var o=this.zData,n=this.yData,s=i.minPxSize,r=i.maxPxSize,a=[],h=0;for(i=o.length;h<i;h++){var l=o[h];a.push(this.getRadius(t,e,s,r,l,n[h]))}this.radii=a},getRadius:function(t,e,i,o,n,s){var r=this.options,a="width"!==r.sizeBy,h=r.zThreshold,l=e-t,c=.5;if(null===s||null===n)return null;if(d(n)){if(r.sizeByAbsoluteValue&&(n=Math.abs(n-h),l=Math.max(e-h,Math.abs(t-h)),t=0),n<t)return i/2-1;0<l&&(c=(n-t)/l)}return a&&0<=c&&(c=Math.sqrt(c)),Math.ceil(i+c*(o-i))/2},animate:function(t){!t&&this.points.length<this.options.animationLimit&&this.points.forEach((function(t){var e=t.graphic;e&&e.width&&(this.hasRendered||e.attr({x:t.plotX,y:t.plotY,width:1,height:1}),e.animate(this.markerAttribs(t),this.options.animation))}),this)},hasData:function(){return!!this.processedXData.length},translate:function(){var t,e=this.data,i=this.radii;for(g.scatter.prototype.translate.call(this),t=e.length;t--;){var o=e[t],n=i?i[t]:0;d(n)&&n>=this.minPxSize/2?(o.marker=c(o.marker,{radius:n,width:2*n,height:2*n}),o.dlBox={x:o.plotX-n,y:o.plotY-n,width:2*n,height:2*n}):o.shapeArgs=o.plotY=o.dlBox=void 0}},alignDataLabel:g.column.prototype.alignDataLabel,buildKDTree:i,applyZones:i},{haloPath:function(t){return n.prototype.haloPath.call(this,0===t?0:(this.marker&&this.marker.radius||0)+t)},ttBelow:!1}),t.prototype.beforePadding=function(){var t=this,e=this.len,i=this.chart,o=0,n=e,s=this.isXAxis,r=s?"xData":"yData",c=this.min,f={},g=Math.min(i.plotWidth,i.plotHeight),m=Number.MAX_VALUE,y=-Number.MAX_VALUE,v=this.max-c,x=e/v,b=[];
1this.series.forEach((function(e){var o=e.options;!e.bubblePadding||!e.visible&&i.options.chart.ignoreHiddenSeries||(t.allowZoomOutside=!0,b.push(e),s&&(["minSize","maxSize"].forEach((function(t){var e=o[t],i=/%$/.test(e);e=u(e),f[t]=i?g*e/100:e})),e.minPxSize=f.minSize,e.maxPxSize=Math.max(f.maxSize,f.minSize),(e=e.zData.filter(d)).length&&(m=p(o.zMin,l(h(e),!1===o.displayNegative?o.zThreshold:-Number.MAX_VALUE,m)),y=p(o.zMax,Math.max(y,a(e))))))})),b.forEach((function(e){var i=e[r],a=i.length;if(s&&e.getRadii(m,y,e),0<v)for(;a--;)if(d(i[a])&&t.dataMin<=i[a]&&i[a]<=t.max){var h=e.radii?e.radii[a]:0;o=Math.min((i[a]-c)*x-h,o),n=Math.max((i[a]-c)*x+h,n)}})),b.length&&0<v&&!this.logarithmic&&(n-=e,x*=(e+Math.max(0,o)-Math.min(n,e))/e,[["min","userMin",o],["max","userMax",n]].forEach((function(e){void 0===p(t.options[e[0]],t[e[1]])&&(t[e[0]]+=e[2]/x)})))}})),e(t,"Series/Networkgraph/DraggableNodes.js",[t["Core/Chart/Chart.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e,i){var o=i.addEvent;e.dragNodesMixin={onMouseDown:function(t,e){e=this.chart.pointer.normalize(e),t.fixedPosition={chartX:e.chartX,chartY:e.chartY,plotX:t.plotX,plotY:t.plotY},t.inDragMode=!0},onMouseMove:function(t,e){if(t.fixedPosition&&t.inDragMode){var i=this.chart;e=i.pointer.normalize(e);var o=t.fixedPosition.chartX-e.chartX,n=t.fixedPosition.chartY-e.chartY;e=i.graphLayoutsLookup,(5<Math.abs(o)||5<Math.abs(n))&&(o=t.fixedPosition.plotX-o,n=t.fixedPosition.plotY-n,i.isInsidePlot(o,n)&&(t.plotX=o,t.plotY=n,t.hasDragged=!0,this.redrawHalo(t),e.forEach((function(t){t.restartSimulation()}))))}},onMouseUp:function(t,e){t.fixedPosition&&(t.hasDragged&&(this.layout.enableSimulation?this.layout.start():this.chart.redraw()),t.inDragMode=t.hasDragged=!1,this.options.fixedDraggable||delete t.fixedPosition)},redrawHalo:function(t){t&&this.halo&&this.halo.attr({d:t.haloPath(this.options.states.hover.halo.size)})}},o(t,"load",(function(){var t,e,i,n=this;n.container&&(t=o(n.container,"mousedown",(function(t){var s=n.hoverPoint;s&&s.series&&s.series.hasDraggableNodes&&s.series.options.draggable&&(s.series.onMouseDown(s,t),e=o(n.container,"mousemove",(function(t){return s&&s.series&&s.series.onMouseMove(s,t)})),i=o(n.container.ownerDocument,"mouseup",(function(t){return e(),i(),s&&s.series&&s.series.onMouseUp(s,t)})))}))),o(n,"destroy",(function(){t()}))}))})),e(t,"Series/Networkgraph/Integrations.js",[t["Core/Globals.js"]],(function(t){t.networkgraphIntegrations={verlet:{attractiveForceFunction:function(t,e){return(e-t)/t},repulsiveForceFunction:function(t,e){return(e-t)/t*(e>t?1:0)},barycenter:function(){var t=this.options.gravitationalConstant,e=this.barycenter.xFactor,i=this.barycenter.yFactor;e=(e-(this.box.left+this.box.width)/2)*t,i=(i-(this.box.top+this.box.height)/2)*t,this.nodes.forEach((function(t){t.fixedPosition||(t.plotX-=e/t.mass/t.degree,t.plotY-=i/t.mass/t.degree)}))},repulsive:function(t,e,i){e=e*this.diffTemperature/t.mass/t.degree,t.fixedPosition||(t.plotX+=i.x*e,t.plotY+=i.y*e)},attractive:function(t,e,i){var o=t.getMass(),n=-i.x*e*this.diffTemperature;e=-i.y*e*this.diffTemperature,t.fromNode.fixedPosition||(t.fromNode.plotX-=n*o.fromNode/t.fromNode.degree,t.fromNode.plotY-=e*o.fromNode/t.fromNode.degree),t.toNode.fixedPosition||(t.toNode.plotX+=n*o.toNode/t.toNode.degree,t.toNode.plotY+=e*o.toNode/t.toNode.degree)},integrate:function(t,e){var i=-t.options.friction,o=t.options.maxSpeed,n=(e.plotX+e.dispX-e.prevX)*i;i*=e.plotY+e.dispY-e.prevY;var s=Math.abs,r=s(n)/(n||1);s=s(i)/(i||1),n=r*Math.min(o,Math.abs(n)),i=s*Math.min(o,Math.abs(i)),e.prevX=e.plotX+e.dispX,e.prevY=e.plotY+e.dispY,e.plotX+=n,e.plotY+=i,e.temperature=t.vectorLength({x:n,y:i})},getK:function(t){return Math.pow(t.box.width*t.box.height/t.nodes.length,.5)}},euler:{attractiveForceFunction:function(t,e){return t*t/e},repulsiveForceFunction:function(t,e){return e*e/t},barycenter:function(){var t=this.options.gravitationalConstant,e=this.barycenter.xFactor,i=this.barycenter.yFactor;this.nodes.forEach((function(o){if(!o.fixedPosition){var n=o.getDegree();n*=1+n/2,o.dispX+=(e-o.plotX)*t*n/o.degree,o.dispY+=(i-o.plotY)*t*n/o.degree}}))}
1,repulsive:function(t,e,i,o){t.dispX+=i.x/o*e/t.degree,t.dispY+=i.y/o*e/t.degree},attractive:function(t,e,i,o){var n=t.getMass(),s=i.x/o*e;e*=i.y/o,t.fromNode.fixedPosition||(t.fromNode.dispX-=s*n.fromNode/t.fromNode.degree,t.fromNode.dispY-=e*n.fromNode/t.fromNode.degree),t.toNode.fixedPosition||(t.toNode.dispX+=s*n.toNode/t.toNode.degree,t.toNode.dispY+=e*n.toNode/t.toNode.degree)},integrate:function(t,e){e.dispX+=e.dispX*t.options.friction,e.dispY+=e.dispY*t.options.friction;var i=e.temperature=t.vectorLength({x:e.dispX,y:e.dispY});0!==i&&(e.plotX+=e.dispX/i*Math.min(Math.abs(e.dispX),t.temperature),e.plotY+=e.dispY/i*Math.min(Math.abs(e.dispY),t.temperature))},getK:function(t){return Math.pow(t.box.width*t.box.height/t.nodes.length,.3)}}}})),e(t,"Series/Networkgraph/QuadTree.js",[t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e){e=e.extend;var i=t.QuadTreeNode=function(t){this.box=t,this.boxSize=Math.min(t.width,t.height),this.nodes=[],this.body=this.isInternal=!1,this.isEmpty=!0};e(i.prototype,{insert:function(t,e){this.isInternal?this.nodes[this.getBoxPosition(t)].insert(t,e-1):(this.isEmpty=!1,this.body?e?(this.isInternal=!0,this.divideBox(),!0!==this.body&&(this.nodes[this.getBoxPosition(this.body)].insert(this.body,e-1),this.body=!0),this.nodes[this.getBoxPosition(t)].insert(t,e-1)):((e=new i({top:t.plotX,left:t.plotY,width:.1,height:.1})).body=t,e.isInternal=!1,this.nodes.push(e)):(this.isInternal=!1,this.body=t))},updateMassAndCenter:function(){var t=0,e=0,i=0;this.isInternal?(this.nodes.forEach((function(o){o.isEmpty||(t+=o.mass,e+=o.plotX*o.mass,i+=o.plotY*o.mass)})),e/=t,i/=t):this.body&&(t=this.body.mass,e=this.body.plotX,i=this.body.plotY),this.mass=t,this.plotX=e,this.plotY=i},divideBox:function(){var t=this.box.width/2,e=this.box.height/2;this.nodes[0]=new i({left:this.box.left,top:this.box.top,width:t,height:e}),this.nodes[1]=new i({left:this.box.left+t,top:this.box.top,width:t,height:e}),this.nodes[2]=new i({left:this.box.left+t,top:this.box.top+e,width:t,height:e}),this.nodes[3]=new i({left:this.box.left,top:this.box.top+e,width:t,height:e})},getBoxPosition:function(t){var e=t.plotY<this.box.top+this.box.height/2;return t.plotX<this.box.left+this.box.width/2?e?0:3:e?1:2}}),e((t=t.QuadTree=function(t,e,o,n){this.box={left:t,top:e,width:o,height:n},this.maxDepth=25,this.root=new i(this.box,"0"),this.root.isInternal=!0,this.root.isRoot=!0,this.root.divideBox()}).prototype,{insertNodes:function(t){t.forEach((function(t){this.root.insert(t,this.maxDepth)}),this)},visitNodeRecursive:function(t,e,i){var o;t||(t=this.root),t===this.root&&e&&(o=e(t)),!1!==o&&(t.nodes.forEach((function(t){if(t.isInternal){if(e&&(o=e(t)),!1===o)return;this.visitNodeRecursive(t,e,i)}else t.body&&e&&e(t.body);i&&i(t)}),this),t===this.root&&i&&i(t))},calculateMassAndCenter:function(){this.visitNodeRecursive(null,null,(function(t){t.updateMassAndCenter()}))}})})),e(t,"Series/Networkgraph/Layouts.js",[t["Core/Chart/Chart.js"],t["Core/Animation/AnimationUtilities.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e,i,o){var n=e.setAnimation;e=o.addEvent;var s=o.clamp,r=o.defined,a=o.extend,h=o.isFunction,l=o.pick;i.layouts={"reingold-fruchterman":function(){}},a(i.layouts["reingold-fruchterman"].prototype,{init:function(t){this.options=t,this.nodes=[],this.links=[],this.series=[],this.box={x:0,y:0,width:0,height:0},this.setInitialRendering(!0),this.integration=i.networkgraphIntegrations[t.integration],this.enableSimulation=t.enableSimulation,this.attractiveForce=l(t.attractiveForce,this.integration.attractiveForceFunction),this.repulsiveForce=l(t.repulsiveForce,this.integration.repulsiveForceFunction),this.approximation=t.approximation},updateSimulation:function(t){this.enableSimulation=l(t,this.options.enableSimulation)},start:function(){var t=this.series,e=this.options;this.currentStep=0,this.forces=t[0]&&t[0].forces||[],this.chart=t[0]&&t[0].chart,this.initialRendering&&(this.initPositions(),t.forEach((function(t){t.finishedAnimating=!0,t.render()}))),this.setK(),this.resetSimulation(e),this.enableSimulation&&this.step()},step:function(){var t=this,e=this.series;t.currentStep++,"barnes-hut"===t.approximation&&(t.createQuadTree(),t.quadTree.calculateMassAndCenter()),t.forces.forEac
1h((function(e){t[e+"Forces"](t.temperature)})),t.applyLimits(t.temperature),t.temperature=t.coolDown(t.startTemperature,t.diffTemperature,t.currentStep),t.prevSystemTemperature=t.systemTemperature,t.systemTemperature=t.getSystemTemperature(),t.enableSimulation&&(e.forEach((function(t){t.chart&&t.render()})),t.maxIterations--&&isFinite(t.temperature)&&!t.isStable()?(t.simulation&&i.win.cancelAnimationFrame(t.simulation),t.simulation=i.win.requestAnimationFrame((function(){t.step()}))):t.simulation=!1)},stop:function(){this.simulation&&i.win.cancelAnimationFrame(this.simulation)},setArea:function(t,e,i,o){this.box={left:t,top:e,width:i,height:o}},setK:function(){this.k=this.options.linkLength||this.integration.getK(this)},addElementsToCollection:function(t,e){t.forEach((function(t){-1===e.indexOf(t)&&e.push(t)}))},removeElementFromCollection:function(t,e){-1!==(t=e.indexOf(t))&&e.splice(t,1)},clear:function(){this.nodes.length=0,this.links.length=0,this.series.length=0,this.resetSimulation()},resetSimulation:function(){this.forcedStop=!1,this.systemTemperature=0,this.setMaxIterations(),this.setTemperature(),this.setDiffTemperature()},restartSimulation:function(){this.simulation?this.resetSimulation():(this.setInitialRendering(!1),this.enableSimulation?this.start():this.setMaxIterations(1),this.chart&&this.chart.redraw(),this.setInitialRendering(!0))},setMaxIterations:function(t){this.maxIterations=l(t,this.options.maxIterations)},setTemperature:function(){this.temperature=this.startTemperature=Math.sqrt(this.nodes.length)},setDiffTemperature:function(){this.diffTemperature=this.startTemperature/(this.options.maxIterations+1)},setInitialRendering:function(t){this.initialRendering=t},createQuadTree:function(){this.quadTree=new i.QuadTree(this.box.left,this.box.top,this.box.width,this.box.height),this.quadTree.insertNodes(this.nodes)},initPositions:function(){var t=this.options.initialPositions;h(t)?(t.call(this),this.nodes.forEach((function(t){r(t.prevX)||(t.prevX=t.plotX),r(t.prevY)||(t.prevY=t.plotY),t.dispX=0,t.dispY=0}))):"circle"===t?this.setCircularPositions():this.setRandomPositions()},setCircularPositions:function(){var t=this.box,e=this.nodes,i=2*Math.PI/(e.length+1),o=e.filter((function(t){return 0===t.linksTo.length})),n=[],s={},r=this.options.initialPositionRadius;o.forEach((function(t){n.push(t),function t(e){e.linksFrom.forEach((function(e){s[e.toNode.id]||(s[e.toNode.id]=!0,n.push(e.toNode),t(e.toNode))}))}(t)})),n.length?e.forEach((function(t){-1===n.indexOf(t)&&n.push(t)})):n=e,n.forEach((function(e,o){e.plotX=e.prevX=l(e.plotX,t.width/2+r*Math.cos(o*i)),e.plotY=e.prevY=l(e.plotY,t.height/2+r*Math.sin(o*i)),e.dispX=0,e.dispY=0}))},setRandomPositions:function(){function t(t){return(t=t*t/Math.PI)-Math.floor(t)}var e=this.box,i=this.nodes,o=i.length+1;i.forEach((function(i,n){i.plotX=i.prevX=l(i.plotX,e.width*t(n)),i.plotY=i.prevY=l(i.plotY,e.height*t(o+n)),i.dispX=0,i.dispY=0}))},force:function(t){this.integration[t].apply(this,Array.prototype.slice.call(arguments,1))},barycenterForces:function(){this.getBarycenter(),this.force("barycenter")},getBarycenter:function(){var t=0,e=0,i=0;return this.nodes.forEach((function(o){e+=o.plotX*o.mass,i+=o.plotY*o.mass,t+=o.mass})),this.barycenter={x:e,y:i,xFactor:e/t,yFactor:i/t}},barnesHutApproximation:function(t,e){var i=this.getDistXY(t,e),o=this.vectorLength(i);if(t!==e&&0!==o)if(e.isInternal)if(e.boxSize/o<this.options.theta&&0!==o){var n=this.repulsiveForce(o,this.k);this.force("repulsive",t,n*e.mass,i,o);var s=!1}else s=!0;else n=this.repulsiveForce(o,this.k),this.force("repulsive",t,n*e.mass,i,o);return s},repulsiveForces:function(){var t=this;"barnes-hut"===t.approximation?t.nodes.forEach((function(e){t.quadTree.visitNodeRecursive(null,(function(i){return t.barnesHutApproximation(e,i)}))})):t.nodes.forEach((function(e){t.nodes.forEach((function(i){if(e!==i&&!e.fixedPosition){var o=t.getDistXY(e,i),n=t.vectorLength(o);if(0!==n){var s=t.repulsiveForce(n,t.k);t.force("repulsive",e,s*i.mass,o,n)}}}))}))},attractiveForces:function(){var t,e,i,o=this;o.links.forEach((function(n){n.fromNode&&n.toNode&&(t=o.getDistXY(n.fromNode,n.toNode),0!==(e=o.vectorLength(t))&&(i=o.attractiveForce(e,o.k),o.force("attractive",n,i,t,e)))}))},applyLimits:function(){var t=this;
1t.nodes.forEach((function(e){e.fixedPosition||(t.integration.integrate(t,e),t.applyLimitBox(e,t.box),e.dispX=0,e.dispY=0)}))},applyLimitBox:function(t,e){var i=t.radius;t.plotX=s(t.plotX,e.left+i,e.width-i),t.plotY=s(t.plotY,e.top+i,e.height-i)},coolDown:function(t,e,i){return t-e*i},isStable:function(){return 1e-5>Math.abs(this.systemTemperature-this.prevSystemTemperature)||0>=this.temperature},getSystemTemperature:function(){return this.nodes.reduce((function(t,e){return t+e.temperature}),0)},vectorLength:function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},getDistR:function(t,e){return t=this.getDistXY(t,e),this.vectorLength(t)},getDistXY:function(t,e){var i=t.plotX-e.plotX;return{x:i,y:t=t.plotY-e.plotY,absX:Math.abs(i),absY:Math.abs(t)}}}),e(t,"predraw",(function(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach((function(t){t.stop()}))})),e(t,"render",(function(){function t(t){t.maxIterations--&&isFinite(t.temperature)&&!t.isStable()&&!t.enableSimulation&&(t.beforeStep&&t.beforeStep(),t.step(),i=!1,e=!0)}var e=!1;if(this.graphLayoutsLookup){for(n(!1,this),this.graphLayoutsLookup.forEach((function(t){t.start()}));!i;){var i=!0;this.graphLayoutsLookup.forEach(t)}e&&this.series.forEach((function(t){t&&t.layout&&t.render()}))}})),e(t,"beforePrint",(function(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach((function(t){t.updateSimulation(!1)})),this.redraw())})),e(t,"afterPrint",(function(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach((function(t){t.updateSimulation()})),this.redraw()}))})),e(t,"Series/PackedBubbleSeries.js",[t["Core/Series/Series.js"],t["Core/Chart/Chart.js"],t["Core/Color/Color.js"],t["Core/Globals.js"],t["Core/Series/Point.js"],t["Core/Utilities.js"]],(function(t,e,i,o,n,s){var r=i.parse,a=s.addEvent,h=s.clamp,l=s.defined,c=s.extend;i=s.extendClass;var d=s.fireEvent,p=s.isArray,u=s.isNumber,f=s.merge,g=s.pick,m=o.Series,y=o.layouts["reingold-fruchterman"],v=o.dragNodesMixin;e.prototype.getSelectedParentNodes=function(){var t=[];return this.series.forEach((function(e){e.parentNode&&e.parentNode.selected&&t.push(e.parentNode)})),t},o.networkgraphIntegrations.packedbubble={repulsiveForceFunction:function(t,e,i,o){return Math.min(t,(i.marker.radius+o.marker.radius)/2)},barycenter:function(){var t,e,i=this,o=i.options.gravitationalConstant,n=i.box,s=i.nodes;s.forEach((function(r){i.options.splitSeries&&!r.isParentNode?(t=r.series.parentNode.plotX,e=r.series.parentNode.plotY):(t=n.width/2,e=n.height/2),r.fixedPosition||(r.plotX-=(r.plotX-t)*o/(r.mass*Math.sqrt(s.length)),r.plotY-=(r.plotY-e)*o/(r.mass*Math.sqrt(s.length)))}))},repulsive:function(t,e,i,o){var n=e*this.diffTemperature/t.mass/t.degree;e=i.x*n,i=i.y*n,t.fixedPosition||(t.plotX+=e,t.plotY+=i),o.fixedPosition||(o.plotX-=e,o.plotY-=i)},integrate:o.networkgraphIntegrations.verlet.integrate,getK:o.noop},o.layouts.packedbubble=i(y,{beforeStep:function(){this.options.marker&&this.series.forEach((function(t){t&&t.calculateParentRadius()}))},setCircularPositions:function(){var t,e,i=this,o=i.box,n=i.nodes,s=2*Math.PI/(n.length+1),r=i.options.initialPositionRadius;n.forEach((function(n,a){i.options.splitSeries&&!n.isParentNode?(t=n.series.parentNode.plotX,e=n.series.parentNode.plotY):(t=o.width/2,e=o.height/2),n.plotX=n.prevX=g(n.plotX,t+r*Math.cos(n.index||a*s)),n.plotY=n.prevY=g(n.plotY,e+r*Math.sin(n.index||a*s)),n.dispX=0,n.dispY=0}))},repulsiveForces:function(){var t,e,i,o=this,n=o.options.bubblePadding;o.nodes.forEach((function(s){s.degree=s.mass,s.neighbours=0,o.nodes.forEach((function(r){t=0,s===r||s.fixedPosition||!o.options.seriesInteraction&&s.series!==r.series||(i=o.getDistXY(s,r),0>(e=o.vectorLength(i)-(s.marker.radius+r.marker.radius+n))&&(s.degree+=.01,s.neighbours++,t=o.repulsiveForce(-e/Math.sqrt(s.neighbours),o.k,s,r)),o.force("repulsive",s,t*r.mass,i,r,e))}))}))},applyLimitBox:function(t){if(this.options.splitSeries&&!t.isParentNode&&this.options.parentNodeLimit){var e=this.getDistXY(t,t.series.parentNode),i=t.series.parentNodeRadius-t.marker.radius-this.vectorLength(e);0>i&&i>-2*t.marker.radius&&(t.plotX-=.01*e.x,t.plotY-=.01*e.y)}y.prototype.applyLimitBox.apply(this,arguments)}}),t.seriesType("packedbubble","bubble",{minSize:"10%",maxSize:"50%",sizeBy:"area",zoneAxis:"y",crisp:!1,tooltip:{pointFormat:"Value: {point.value}"},draggable:!0,useSimulation:!0,parentNode:{allowPointSelect:!1},dataLabels:{formatter:function(){return this.point.value},parentNodeFormatter:function(){return this.name},parentNodeTextPath:{enabled:!0},padding:0,style:{transition:"opacity 2000ms"}},layoutAlgorithm:{initialPositions:"circle",initialPositionRadius:20,bubblePadding:5,parentNodeLimit:!1,seriesInteraction:!0,dragBetweenSeries:!1,parentNodeOptions:{maxIterations:400,gravitationalConstant:.03,maxSpeed:50,initialPositionRadius:100,seriesInteraction:!0,marker:{fillColor:null,fillOpacity:1,lineWidth:1,lineColor:null,symbol:"circle"}},enableSimulation:!0,type:"packedbubble",integration:"packedbubble",maxIterations:1e3,splitSeries:!1,maxSpeed:5,gravitationalConstant:.01,friction:-.981}},{hasDraggableNodes:!0,forces:["barycenter","repulsive"],pointArrayMap:["value"],trackerGroups:["group","dataLabelsGroup","parentNodesGroup"],pointV
1alKey:"value",isCartesian:!1,requireSorting:!1,directTouch:!0,axisTypes:[],noSharedTooltip:!0,searchPoint:o.noop,accumulateAllPoints:function(t){var e,i,o=t.chart,n=[];for(e=0;e<o.series.length;e++)if((t=o.series[e]).is("packedbubble")&&t.visible||!o.options.chart.ignoreHiddenSeries)for(i=0;i<t.yData.length;i++)n.push([null,null,t.yData[i],t.index,i,{id:i,marker:{radius:0}}]);return n},init:function(){return m.prototype.init.apply(this,arguments),a(this,"updatedData",(function(){this.chart.series.forEach((function(t){t.type===this.type&&(t.isDirty=!0)}),this)})),this},render:function(){var t=[];m.prototype.render.apply(this,arguments),this.options.dataLabels.allowOverlap||(this.data.forEach((function(e){p(e.dataLabels)&&e.dataLabels.forEach((function(e){t.push(e)}))})),this.options.useSimulation&&this.chart.hideOverlappingLabels(t))},setVisible:function(){var t=this;m.prototype.setVisible.apply(t,arguments),t.parentNodeLayout&&t.graph?t.visible?(t.graph.show(),t.parentNode.dataLabel&&t.parentNode.dataLabel.show()):(t.graph.hide(),t.parentNodeLayout.removeElementFromCollection(t.parentNode,t.parentNodeLayout.nodes),t.parentNode.dataLabel&&t.parentNode.dataLabel.hide()):t.layout&&(t.visible?t.layout.addElementsToCollection(t.points,t.layout.nodes):t.points.forEach((function(e){t.layout.removeElementFromCollection(e,t.layout.nodes)})))},drawDataLabels:function(){var t=this.options.dataLabels.textPath,e=this.points;m.prototype.drawDataLabels.apply(this,arguments),this.parentNode&&(this.parentNode.formatPrefix="parentNode",this.points=[this.parentNode],this.options.dataLabels.textPath=this.options.dataLabels.parentNodeTextPath,m.prototype.drawDataLabels.apply(this,arguments),this.points=e,this.options.dataLabels.textPath=t)},seriesBox:function(){var t,e=this.chart,i=Math.max,o=Math.min,n=[e.plotLeft,e.plotLeft+e.plotWidth,e.plotTop,e.plotTop+e.plotHeight];return this.data.forEach((function(e){l(e.plotX)&&l(e.plotY)&&e.marker.radius&&(t=e.marker.radius,n[0]=o(n[0],e.plotX-t),n[1]=i(n[1],e.plotX+t),n[2]=o(n[2],e.plotY-t),n[3]=i(n[3],e.plotY+t))})),u(n.width/n.height)?n:null},calculateParentRadius:function(){var t=this.seriesBox();this.parentNodeRadius=h(Math.sqrt(2*this.parentNodeMass/Math.PI)+20,20,t?Math.max(Math.sqrt(Math.pow(t.width,2)+Math.pow(t.height,2))/2+20,20):Math.sqrt(2*this.parentNodeMass/Math.PI)+20),this.parentNode&&(this.parentNode.marker.radius=this.parentNode.radius=this.parentNodeRadius)},drawGraph:function(){if(this.layout&&this.layout.options.splitSeries){var t=this.chart,e=this.layout.options.parentNodeOptions.marker;e={fill:e.fillColor||r(this.color).brighten(.4).get(),opacity:e.fillOpacity,stroke:e.lineColor||this.color,"stroke-width":e.lineWidth};var i=this.visible?"inherit":"hidden";this.parentNodesGroup||(this.parentNodesGroup=this.plotGroup("parentNodesGroup","parentNode",i,.1,t.seriesGroup),this.group.attr({zIndex:2})),this.calculateParentRadius(),i=f({x:this.parentNode.plotX-this.parentNodeRadius,y:this.parentNode.plotY-this.parentNodeRadius,width:2*this.parentNodeRadius,height:2*this.parentNodeRadius},e),this.parentNode.graphic||(this.graph=this.parentNode.graphic=t.renderer.symbol(e.symbol).add(this.parentNodesGroup)),this.parentNode.graphic.attr(i)}},createParentNodes:function(){var t,e=this,i=e.chart,o=e.parentNodeLayout,n=e.parentNode,s=e.pointClass;e.parentNodeMass=0,e.points.forEach((function(t){e.parentNodeMass+=Math.PI*Math.pow(t.marker.radius,2)})),e.calculateParentRadius(),o.nodes.forEach((function(i){i.seriesIndex===e.index&&(t=!0)})),o.setArea(0,0,i.plotWidth,i.plotHeight),t||(n||(n=(new s).init(this,{mass:e.parentNodeRadius/2,marker:{radius:e.parentNodeRadius},dataLabels:{inside:!1},dataLabelOnNull:!0,degree:e.parentNodeRadius,isParentNode:!0,seriesIndex:e.index})),e.parentNode&&(n.plotX=e.parentNode.plotX,n.plotY=e.parentNode.plotY),e.parentNode=n,o.addElementsToCollection([e],o.series),o.addElementsToCollection([n],o.nodes))},drawTracker:function(){var t=this.parentNode;if(o.TrackerMixin.drawTrackerPoint.call(this),t){var e=p(t.dataLabels)?t.dataLabels:t.dataLabel?[t.dataLabel]:[];t.graphic&&(t.graphic.element.point=t),e.forEach((function(e){e.div?e.div.point=t:e.element.point=t}))}},addSeriesLayout:function(){var t=this.options.layoutAlgorithm,e=this.chart.graphLayoutsStorage,i=this.chart.graphLayoutsLookup,n=f(t,t.parentNodeOptions,{enableSimulation:this.layout.options.enableSimulation}),s=e[t.type+"-series"];s||(e[t.type+"-series"]=s=new o.layouts[t.type],s.init(n),i.splice(s.index,0,s)),this.parentNodeLayout=s,this.createParentNodes()},addLayout:function(){var t=this.options.layoutAlgorithm,e=this.chart.graphLayoutsStorage,i=this.chart.graphLayoutsLookup,n=this.chart.options.chart;e||(this.chart.graphLayoutsStorage=e={},this.chart.graphLayoutsLookup=i=[]);var s=e[t.type];s||(t.enableSimulation=l(n.forExport)?!n.forExport:t.enableSimulation,e[t.type]=s=new o.layouts[t.type],s.init(t),i.splice(s.index,0,s)),this.layout=s,this.points.forEac
1h((function(t){t.mass=2,t.degree=1,t.collisionNmb=1})),s.setArea(0,0,this.chart.plotWidth,this.chart.plotHeight),s.addElementsToCollection([this],s.series),s.addElementsToCollection(this.points,s.nodes)},deferLayout:function(){var t=this.options.layoutAlgorithm;this.visible&&(this.addLayout(),t.splitSeries&&this.addSeriesLayout())},translate:function(){var t,e=this.chart,i=this.data,o=this.index,n=this.options.useSimulation;if(this.processedXData=this.xData,this.generatePoints(),l(e.allDataPoints)||(e.allDataPoints=this.accumulateAllPoints(this),this.getPointRadius()),n)var s=e.allDataPoints;else s=this.placeBubbles(e.allDataPoints),this.options.draggable=!1;for(t=0;t<s.length;t++)if(s[t][3]===o){var r=i[s[t][4]],a=s[t][2];n||(r.plotX=s[t][0]-e.plotLeft+e.diffX,r.plotY=s[t][1]-e.plotTop+e.diffY),r.marker=c(r.marker,{radius:a,width:2*a,height:2*a}),r.radius=a}n&&this.deferLayout(),d(this,"afterTranslate")},checkOverlap:function(t,e){var i=t[0]-e[0],o=t[1]-e[1];return-.001>Math.sqrt(i*i+o*o)-Math.abs(t[2]+e[2])},positionBubble:function(t,e,i){var o=Math.sqrt,n=Math.asin,s=Math.acos,r=Math.pow,a=Math.abs;return o=o(r(t[0]-e[0],2)+r(t[1]-e[1],2)),s=s((r(o,2)+r(i[2]+e[2],2)-r(i[2]+t[2],2))/(2*(i[2]+e[2])*o)),n=n(a(t[0]-e[0])/o),t=(0>t[1]-e[1]?0:Math.PI)+s+n*(0>(t[0]-e[0])*(t[1]-e[1])?1:-1),[e[0]+(e[2]+i[2])*Math.sin(t),e[1]-(e[2]+i[2])*Math.cos(t),i[2],i[3],i[4]]},placeBubbles:function(t){var e,i=this.checkOverlap,o=this.positionBubble,n=[],s=1,r=0,a=0,h=[];if((t=t.sort((function(t,e){return e[2]-t[2]}))).length){if(n.push([[0,0,t[0][2],t[0][3],t[0][4]]]),1<t.length)for(n.push([[0,0-t[1][2]-t[0][2],t[1][2],t[1][3],t[1][4]]]),e=2;e<t.length;e++)t[e][2]=t[e][2]||1,i(h=o(n[s][r],n[s-1][a],t[e]),n[s][0])?(n.push([]),a=0,n[s+1].push(o(n[s][r],n[s][0],t[e])),s++,r=0):1<s&&n[s-1][a+1]&&i(h,n[s-1][a+1])?(a++,n[s].push(o(n[s][r],n[s-1][a],t[e])),r++):(r++,n[s].push(h));this.chart.stages=n,this.chart.rawPositions=[].concat.apply([],n),this.resizeRadius(),h=this.chart.rawPositions}return h},resizeRadius:function(){var t,e,i,o=this.chart,n=o.rawPositions,s=Math.min,r=Math.max,a=o.plotLeft,h=o.plotTop,l=o.plotHeight,c=o.plotWidth,d=t=Number.POSITIVE_INFINITY,p=e=Number.NEGATIVE_INFINITY;for(i=0;i<n.length;i++){var u=n[i][2];d=s(d,n[i][0]-u),p=r(p,n[i][0]+u),t=s(t,n[i][1]-u),e=r(e,n[i][1]+u)}if(i=[p-d,e-t],s=s.apply([],[(c-a)/i[0],(l-h)/i[1]]),1e-10<Math.abs(s-1)){for(i=0;i<n.length;i++)n[i][2]*=s;this.placeBubbles(n)}else o.diffY=l/2+h-t-(e-t)/2,o.diffX=c/2+a-d-(p-d)/2},calculateZExtremes:function(){var t=this.options.zMin,e=this.options.zMax,i=1/0,o=-1/0;return t&&e?[t,e]:(this.chart.series.forEach((function(t){t.yData.forEach((function(t){l(t)&&(t>o&&(o=t),t<i&&(i=t))}))})),[t=g(t,i),e=g(e,o)])},getPointRadius:function(){var t,e,i,o,n=this,s=n.chart,r=n.options,a=r.useSimulation,l=Math.min(s.plotWidth,s.plotHeight),c={},d=[],p=s.allDataPoints;["minSize","maxSize"].forEach((function(t){var e=parseInt(r[t],10),i=/%$/.test(r[t]);c[t]=i?l*e/100:e*Math.sqrt(p.length)})),s.minRadius=t=c.minSize/Math.sqrt(p.length),s.maxRadius=e=c.maxSize/Math.sqrt(p.length);var u=a?n.calculateZExtremes():[t,e];(p||[]).forEach((function(s,r){i=a?h(s[2],u[0],u[1]):s[2],0===(o=n.getRadius(u[0],u[1],t,e,i))&&(o=null),p[r][2]=o,d.push(o)})),n.radii=d},redrawHalo:v.redrawHalo,onMouseDown:v.onMouseDown,onMouseMove:v.onMouseMove,onMouseUp:function(t){if(t.fixedPosition&&!t.removed){var e,i=this.layout,o=this.parentNodeLayout;o&&i.options.dragBetweenSeries&&o.nodes.forEach((function(o){t&&t.marker&&o!==t.series.parentNode&&(e=i.getDistXY(t,o),0>i.vectorLength(e)-o.marker.radius-t.marker.radius&&(o.series.addPoint(f(t.options,{plotX:t.plotX,plotY:t.plotY}),!1),i.removeElementFromCollection(t,i.nodes),t.remove()))})),v.onMouseUp.apply(this,arguments)}},destroy:function(){this.chart.graphLayoutsLookup&&this.chart.graphLayoutsLookup.forEach((function(t){t.removeElementFromCollection(this,t.series)}),this),this.parentNode&&(this.parentNodeLayout.removeElementFromCollection(this.parentNode,this.parentNodeLayout.nodes),this.parentNode.dataLabel&&(this.parentNode.dataLabel=this.parentNode.dataLabel.destroy())),o.Series.prototype.destroy.apply(this,arguments)},alignDataLabel:o.Series.prototype.alignDataLabel},{destroy:function(){return this.series.layout&&this.series.layout.removeElementFromCollection(this,this.series.layout.nodes),n.prototype.destroy.apply(this,arguments)}
1,firePointEvent:function(t,e,i){var o=this.series.options;if(this.isParentNode&&o.parentNode){var s=o.allowPointSelect;o.allowPointSelect=o.parentNode.allowPointSelect,n.prototype.firePointEvent.apply(this,arguments),o.allowPointSelect=s}else n.prototype.firePointEvent.apply(this,arguments)},select:function(t,i){var o=this.series.chart;this.isParentNode?(o.getSelectedPoints=o.getSelectedParentNodes,n.prototype.select.apply(this,arguments),o.getSelectedPoints=e.prototype.getSelectedPoints):n.prototype.select.apply(this,arguments)}}),a(e,"beforeRedraw",(function(){this.allDataPoints&&delete this.allDataPoints}))})),e(t,"Extensions/Polar.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/Chart/Chart.js"],t["Core/Globals.js"],t["Extensions/Pane.js"],t["Core/Pointer.js"],t["Core/Renderer/SVG/SVGRenderer.js"],t["Core/Utilities.js"]],(function(t,e,i,o,n,s,r){var a=t.animObject,h=r.addEvent,l=r.defined,c=r.find,d=r.isNumber,p=r.pick,u=r.splat,f=r.uniqueKey;t=r.wrap;var g=i.Series,m=i.seriesTypes,y=g.prototype;n=n.prototype,y.searchPointByAngle=function(t){var e=this.chart,i=this.xAxis.pane.center;return this.searchKDTree({clientX:180+-180/Math.PI*Math.atan2(t.chartX-i[0]-e.plotLeft,t.chartY-i[1]-e.plotTop)})},y.getConnectors=function(t,e,i,o){var n=o?1:0,s=0<=e&&e<=t.length-1?e:0>e?t.length-1+e:0;e=0>s-1?t.length-(1+n):s-1,n=s+1>t.length-1?n:s+1;var r=t[e];n=t[n];var a=r.plotX;r=r.plotY;var h=n.plotX,l=n.plotY;a=(1.5*(n=t[s].plotX)+a)/2.5,r=(1.5*(s=t[s].plotY)+r)/2.5,h=(1.5*n+h)/2.5;var c=(1.5*s+l)/2.5;l=Math.sqrt(Math.pow(a-n,2)+Math.pow(r-s,2));var d=Math.sqrt(Math.pow(h-n,2)+Math.pow(c-s,2));return a=Math.atan2(r-s,a-n),c=Math.PI/2+(a+Math.atan2(c-s,h-n))/2,Math.abs(a-c)>Math.PI/2&&(c-=Math.PI),a=n+Math.cos(c)*l,r=s+Math.sin(c)*l,n={rightContX:h=n+Math.cos(Math.PI+c)*d,rightContY:c=s+Math.sin(Math.PI+c)*d,leftContX:a,leftContY:r,plotX:n,plotY:s},i&&(n.prevPointCont=this.getConnectors(t,e,!1,o)),n},y.toXY=function(t){var e=this.chart,i=this.xAxis,o=this.yAxis,n=t.plotX,s=t.plotY,r=t.series,a=e.inverted,h=t.y,l=a?n:o.len-s;a&&r&&!r.isRadialBar&&(t.plotY=s="number"==typeof h&&o.translate(h)||0),t.rectPlotX=n,t.rectPlotY=s,o.center&&(l+=o.center[3]/2),o=a?o.postTranslate(s,l):i.postTranslate(n,l),t.plotX=t.polarPlotX=o.x-e.plotLeft,t.plotY=t.polarPlotY=o.y-e.plotTop,this.kdByAngle?(0>(e=(n/Math.PI*180+i.pane.options.startAngle)%360)&&(e+=360),t.clientX=e):t.clientX=t.plotX},m.spline&&(t(m.spline.prototype,"getPointSpline",(function(t,e,i,o){return this.chart.polar?o?t=["C",(t=this.getConnectors(e,o,!0,this.connectEnds)).prevPointCont.rightContX,t.prevPointCont.rightContY,t.leftContX,t.leftContY,t.plotX,t.plotY]:t=["M",i.plotX,i.plotY]:t=t.call(this,e,i,o),t})),m.areasplinerange&&(m.areasplinerange.prototype.getPointSpline=m.spline.prototype.getPointSpline)),h(g,"afterTranslate",(function(){var t=this.chart;if(t.polar&&this.xAxis){if((this.kdByAngle=t.tooltip&&t.tooltip.shared)?this.searchPoint=this.searchPointByAngle:this.options.findNearestPointBy="xy",!this.preventPostTranslate)for(var e=this.points,o=e.length;o--;)this.toXY(e[o]),!t.hasParallelCoordinates&&!this.yAxis.reversed&&e[o].y<this.yAxis.min&&(e[o].isNull=!0);this.hasClipCircleSetter||(this.hasClipCircleSetter=!!this.eventsToUnbind.push(h(this,"afterRender",(function(){if(t.polar){var e=this.yAxis.pane.center;this.clipCircle?this.clipCircle.animate({x:e[0],y:e[1],r:e[2]/2,innerR:e[3]/2}):this.clipCircle=t.renderer.clipCircle(e[0],e[1],e[2]/2,e[3]/2),this.group.clip(this.clipCircle),this.setClip=i.noop}}))))}}),{order:2}),t(y,"getGraphPath",(function(t,e){var i,o=this;if(this.chart.polar){for(e=e||this.points,i=0;i<e.length;i++)if(!e[i].isNull){var n=i;break}if(!1!==this.options.connectEnds&&void 0!==n){this.connectEnds=!0,e.splice(e.length,0,e[n]);var s=!0}e.forEach((function(t){void 0===t.polarPlotY&&o.toXY(t)}))}return i=t.apply(this,[].slice.call(arguments,1)),s&&e.pop(),i}));var v=function(t,e){var o,n,s,r,h=this,l=this.chart,c=this.options.animation,d=this.group,u=this.markerGroup,f=this.xAxis.center,g=l.plotLeft,m=l.plotTop;if(l.polar){if(h.isRadialBar)e||(h.startAngleRad=p(h.translatedThreshold,h.xAxis.startAngleRad),i.seriesTypes.pie.prototype.animate.call(h,e));else if(l.renderer.isSVG)if(c=a(c),h.is("column")){if(!e){var y=f[3]/2;
1h.points.forEach((function(t){o=t.graphic,s=(n=t.shapeArgs)&&n.r,r=n&&n.innerR,o&&n&&(o.attr({r:y,innerR:y}),o.animate({r:s,innerR:r},h.options.animation))}))}}else e?(t={translateX:f[0]+g,translateY:f[1]+m,scaleX:.001,scaleY:.001},d.attr(t),u&&u.attr(t)):(t={translateX:g,translateY:m,scaleX:1,scaleY:1},d.animate(t,c),u&&u.animate(t,c))}else t.call(this,e)};t(y,"animate",v),m.column&&(g=m.arearange.prototype,(m=m.column.prototype).polarArc=function(t,e,i,o){var n=this.xAxis.center,s=this.yAxis.len,r=n[3]/2;return e=s-e+r,t=s-p(t,s)+r,this.yAxis.reversed&&(0>e&&(e=r),0>t&&(t=r)),{x:n[0],y:n[1],r:e,innerR:t,start:i,end:o}},t(m,"animate",v),t(m,"translate",(function(t){var e=this.options,i=e.stacking,o=this.chart,n=this.xAxis,s=this.yAxis,a=s.reversed,h=s.center,c=n.startAngleRad,p=n.endAngleRad-c;if(this.preventPostTranslate=!0,t.call(this),n.isRadial){n=(t=this.points).length;var u=s.translate(s.min),f=s.translate(s.max);if(e=e.threshold||0,o.inverted&&d(e)){var g=s.translate(e);l(g)&&(0>g?g=0:g>p&&(g=p),this.translatedThreshold=g+c)}for(;n--;){var m=(e=t[n]).barX,y=e.x,v=e.y;if(e.shapeType="arc",o.inverted){if(e.plotY=s.translate(v),i&&s.stacking){if(v=s.stacking.stacks[(0>v?"-":"")+this.stackKey],this.visible&&v&&v[y]&&!e.isNull){var x=v[y].points[this.getStackIndicator(void 0,y,this.index).key],b=s.translate(x[0]);x=s.translate(x[1]),l(b)&&(b=r.clamp(b,0,p))}}else b=g,x=e.plotY;b>x&&(x=[b,b=x][0]),a?x>u?x=u:b<f?b=f:(b>u||x<f)&&(b=x=p):b<u?b=u:x>f?x=f:(x<u||b>f)&&(b=x=0),s.min>s.max&&(b=x=a?p:0),b+=c,x+=c,h&&(e.barX=m+=h[3]/2),y=Math.max(m,0),v=Math.max(m+e.pointWidth,0),e.shapeArgs={x:h&&h[0],y:h&&h[1],r:v,innerR:y,start:b,end:x},e.opacity=b===x?0:void 0,e.plotY=(l(this.translatedThreshold)&&(b<this.translatedThreshold?b:x))-c}else b=m+c,e.shapeArgs=this.polarArc(e.yBottom,e.plotY,b,b+e.pointWidth);this.toXY(e),o.inverted?(m=s.postTranslate(e.rectPlotY,m+e.pointWidth/2),e.tooltipPos=[m.x-o.plotLeft,m.y-o.plotTop]):e.tooltipPos=[e.plotX,e.plotY],h&&(e.ttBelow=e.plotY>h[1])}}})),m.findAlignments=function(t,e){return null===e.align&&(e.align=20<t&&160>t?"left":200<t&&340>t?"right":"center"),null===e.verticalAlign&&(e.verticalAlign=45>t||315<t?"bottom":135<t&&225>t?"top":"middle"),e},g&&(g.findAlignments=m.findAlignments),t(m,"alignDataLabel",(function(t,e,i,o,n,s){var r=this.chart,a=p(o.inside,!!this.options.stacking);r.polar?(t=e.rectPlotX/Math.PI*180,r.inverted?(this.forceDL=r.isInsidePlot(e.plotX,Math.round(e.plotY),!1),a&&e.shapeArgs?(n=e.shapeArgs,n={x:(n=this.yAxis.postTranslate((n.start+n.end)/2-this.xAxis.startAngleRad,e.barX+e.pointWidth/2)).x-r.plotLeft,y:n.y-r.plotTop}):e.tooltipPos&&(n={x:e.tooltipPos[0],y:e.tooltipPos[1]}),o.align=p(o.align,"center"),o.verticalAlign=p(o.verticalAlign,"middle")):this.findAlignments&&(o=this.findAlignments(t,o)),y.alignDataLabel.call(this,e,i,o,n,s),this.isRadialBar&&e.shapeArgs&&e.shapeArgs.start===e.shapeArgs.end&&i.hide(!0)):t.call(this,e,i,o,n,s)}))),t(n,"getCoordinates",(function(t,e){var i=this.chart,o={xAxis:[],yAxis:[]};return i.polar?i.axes.forEach((function(t){var n=t.isXAxis,s=t.center;if("colorAxis"!==t.coll){var r=e.chartX-s[0]-i.plotLeft;s=e.chartY-s[1]-i.plotTop,o[n?"xAxis":"yAxis"].push({axis:t,value:t.translate(n?Math.PI-Math.atan2(r,s):Math.sqrt(Math.pow(r,2)+Math.pow(s,2)),!0)})}})):o=t.call(this,e),o})),s.prototype.clipCircle=function(t,e,i,o){var n=f(),s=this.createElement("clipPath").attr({id:n}).add(this.defs);return(t=o?this.arc(t,e,i,o,0,2*Math.PI).add(s):this.circle(t,e,i).add(s)).id=n,t.clipPath=s,t},h(e,"getAxes",(function(){this.pane||(this.pane=[]),u(this.options.pane).forEach((function(t){new o(t,this)}),this)})),h(e,"afterDrawChartBox",(function(){this.pane.forEach((function(t){t.render()}))})),h(i.Series,"afterInit",(function(){var t=this.chart;t.inverted&&t.polar&&(this.isRadialSeries=!0,this.is("column")&&(this.isRadialBar=!0))})),t(e.prototype,"get",(function(t,e){return c(this.pane,(function(t){return t.options.id===e}))||t.call(this,e)}))})),e(t,"masters/highcharts-more.src.js",[],(function(){}))}))},603:function(t,e,i){var o,n;
1!function(s){t.exports?(s.default=s,t.exports=s):(o=[i(454)],void 0===(n=function(t){return s(t),s.Highcharts=t,s}.apply(e,o))||(t.exports=n))}((function(t){function e(t,e,i,o){t.hasOwnProperty(e)||(t[e]=o.apply(null,i))}e(t=t?t._modules:{},"Extensions/FullScreen.js",[t["Core/Chart/Chart.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e,i){var o=i.addEvent;return i=function(){function t(t){this.chart=t,this.isOpen=!1,t=t.renderTo,this.browserProps||("function"==typeof t.requestFullscreen?this.browserProps={fullscreenChange:"fullscreenchange",requestFullscreen:"requestFullscreen",exitFullscreen:"exitFullscreen"}:t.mozRequestFullScreen?this.browserProps={fullscreenChange:"mozfullscreenchange",requestFullscreen:"mozRequestFullScreen",exitFullscreen:"mozCancelFullScreen"}:t.webkitRequestFullScreen?this.browserProps={fullscreenChange:"webkitfullscreenchange",requestFullscreen:"webkitRequestFullScreen",exitFullscreen:"webkitExitFullscreen"}:t.msRequestFullscreen&&(this.browserProps={fullscreenChange:"MSFullscreenChange",requestFullscreen:"msRequestFullscreen",exitFullscreen:"msExitFullscreen"}))}return t.prototype.close=function(){var t=this.chart;this.isOpen&&this.browserProps&&t.container.ownerDocument instanceof Document&&t.container.ownerDocument[this.browserProps.exitFullscreen](),this.unbindFullscreenEvent&&this.unbindFullscreenEvent(),this.isOpen=!1,this.setButtonText()},t.prototype.open=function(){var t=this,e=t.chart;if(t.browserProps){t.unbindFullscreenEvent=o(e.container.ownerDocument,t.browserProps.fullscreenChange,(function(){t.isOpen?(t.isOpen=!1,t.close()):(t.isOpen=!0,t.setButtonText())}));var i=e.renderTo[t.browserProps.requestFullscreen]();i&&i.catch((function(){alert("Full screen is not supported inside a frame.")})),o(e,"destroy",t.unbindFullscreenEvent)}},t.prototype.setButtonText=function(){var t,e=this.chart,i=e.exportDivElements,o=e.options.exporting,n=null===(t=null==o?void 0:o.buttons)||void 0===t?void 0:t.contextButton.menuItems;t=e.options.lang,null!=o&&o.menuItemDefinitions&&null!=t&&t.exitFullscreen&&t.viewFullscreen&&n&&i&&i.length&&(i[n.indexOf("viewFullscreen")].innerHTML=this.isOpen?t.exitFullscreen:o.menuItemDefinitions.viewFullscreen.text||t.viewFullscreen)},t.prototype.toggle=function(){this.isOpen?this.close():this.open()},t}(),e.Fullscreen=i,o(t,"beforeRender",(function(){this.fullscreen=new e.Fullscreen(this)})),e.Fullscreen})),e(t,"Mixins/Navigation.js",[],(function(){return{initUpdate:function(t){t.navigation||(t.navigation={updates:[],update:function(t,e){this.updates.forEach((function(i){i.update.call(i.context,t,e)}))}})},addUpdate:function(t,e){e.navigation||this.initUpdate(e),e.navigation.updates.push({update:t,context:e})}}})),e(t,"Extensions/Exporting.js",[t["Core/Chart/Chart.js"],t["Mixins/Navigation.js"],t["Core/Globals.js"],t["Core/Options.js"],t["Core/Renderer/SVG/SVGRenderer.js"],t["Core/Utilities.js"]],(function(t,e,i,o,n,s){var r=i.doc,a=i.isTouchDevice,h=i.win;o=o.defaultOptions;var l=s.addEvent,c=s.css,d=s.createElement,p=s.discardElement,u=s.extend,f=s.find,g=s.fireEvent,m=s.isObject,y=s.merge,v=s.objectEach,x=s.pick,b=s.removeEvent,w=s.uniqueKey,C=h.navigator.userAgent,S=i.Renderer.prototype.symbols,k=/Edge\/|Trident\/|MSIE /.test(C),A=/firefox/i.test(C);u(o.lang,{viewFullscreen:"View in full screen",exitFullscreen:"Exit from full screen",printChart:"Print chart",downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image",downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",contextButtonTitle:"Chart context menu"}),o.navigation||(o.navigation={}),y(!0,o.navigation,{buttonOptions:{theme:{},symbolSize:14,symbolX:12.5,symbolY:10.5,align:"right",buttonSpacing:3,height:22,verticalAlign:"top",width:24}}),y(!0,o.navigation,{menuStyle:{border:"1px solid #999999",background:"#ffffff",padding:"5px 0"},menuItemStyle:{padding:"0.5em 1em",color:"#333333",background:"none",fontSize:a?"14px":"11px",transition:"background 250ms, color 250ms"},menuItemHoverStyle:{background:"#335cad",color:"#ffffff"},buttonOptions:{symbolFill:"#666666",symbolStroke:"#666666",symbolStrokeWidth:3,theme:{padding:5}}}),o.exporting={type:"image/png",url:"https://export.highcharts.com/",printMaxWidth:780,scale:2,buttons:{contextButton:{className:"highcharts-contextbutton",menuClassName:"highcharts-contextmenu",symbol
1:"menu",titleKey:"contextButtonTitle",menuItems:"viewFullscreen printChart separator downloadPNG downloadJPEG downloadPDF downloadSVG".split(" ")}},menuItemDefinitions:{viewFullscreen:{textKey:"viewFullscreen",onclick:function(){this.fullscreen.toggle()}},printChart:{textKey:"printChart",onclick:function(){this.print()}},separator:{separator:!0},downloadPNG:{textKey:"downloadPNG",onclick:function(){this.exportChart()}},downloadJPEG:{textKey:"downloadJPEG",onclick:function(){this.exportChart({type:"image/jpeg"})}},downloadPDF:{textKey:"downloadPDF",onclick:function(){this.exportChart({type:"application/pdf"})}},downloadSVG:{textKey:"downloadSVG",onclick:function(){this.exportChart({type:"image/svg+xml"})}}}},i.post=function(t,e,i){var o=d("form",y({method:"post",action:t,enctype:"multipart/form-data"},i),{display:"none"},r.body);v(e,(function(t,e){d("input",{type:"hidden",name:e,value:t},null,o)})),o.submit(),p(o)},i.isSafari&&i.win.matchMedia("print").addListener((function(t){i.printingChart&&(t.matches?i.printingChart.beforePrint():i.printingChart.afterPrint())})),u(t.prototype,{sanitizeSVG:function(t,e){var i=t.indexOf("</svg>")+6,o=t.substr(i);return t=t.substr(0,i),e&&e.exporting&&e.exporting.allowHTML&&o&&(o='<foreignObject x="0" y="0" width="'+e.chart.width+'" height="'+e.chart.height+'"><body xmlns="http://www.w3.org/1999/xhtml">'+o.replace(/(<(?:img|br).*?(?=>))>/g,"$1 />")+"</body></foreignObject>",t=t.replace("</svg>",o+"</svg>")),t=t.replace(/zIndex="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery[0-9]+="[^"]+"/g,"").replace(/url\(("|")(.*?)("|");?\)/g,"url($2)").replace(/url\([^#]+#/g,"url(#").replace(/<svg /,'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ').replace(/ (|NS[0-9]+:)href=/g," xlink:href=").replace(/\n/," ").replace(/(fill|stroke)="rgba\(([ 0-9]+,[ 0-9]+,[ 0-9]+),([ 0-9\.]+)\)"/g,'$1="rgb($2)" $1-opacity="$3"').replace(/ /g,"Â ").replace(/­/g,"Â"),this.ieSanitizeSVG&&(t=this.ieSanitizeSVG(t)),t},getChartHTML:function(){return this.styledMode&&this.inlineStyles(),this.container.innerHTML},getSVG:function(e){var i,o=y(this.options,e);o.plotOptions=y(this.userOptions.plotOptions,e&&e.plotOptions),o.time=y(this.userOptions.time,e&&e.time);var n=d("div",null,{position:"absolute",top:"-9999em",width:this.chartWidth+"px",height:this.chartHeight+"px"},r.body),s=this.renderTo.style.width,a=this.renderTo.style.height;s=o.exporting.sourceWidth||o.chart.width||/px$/.test(s)&&parseInt(s,10)||(o.isGantt?800:600),a=o.exporting.sourceHeight||o.chart.height||/px$/.test(a)&&parseInt(a,10)||400,u(o.chart,{animation:!1,renderTo:n,forExport:!0,renderer:"SVGRenderer",width:s,height:a}),o.exporting.enabled=!1,delete o.data,o.series=[],this.series.forEach((function(t){(i=y(t.userOptions,{animation:!1,enableMouseTracking:!1,showCheckbox:!1,visible:t.visible})).isInternal||o.series.push(i)})),this.axes.forEach((function(t){t.userOptions.internalKey||(t.userOptions.internalKey=w())}));var h=new t(o,this.callback);return e&&["xAxis","yAxis","series"].forEach((function(t){var i={};e[t]&&(i[t]=e[t],h.update(i))})),this.axes.forEach((function(t){var e=f(h.axes,(function(e){return e.options.internalKey===t.userOptions.internalKey})),i=t.getExtremes(),o=i.userMin;i=i.userMax,e&&(void 0!==o&&o!==e.min||void 0!==i&&i!==e.max)&&e.setExtremes(o,i,!0,!1)})),s=h.getChartHTML(),g(this,"getSVG",{chartCopy:h}),s=this.sanitizeSVG(s,o),o=null,h.destroy(),p(n),s},getSVGForExport:function(t,e){var i=this.options.exporting;return this.getSVG(y({chart:{borderRadius:0}}
1,i.chartOptions,e,{exporting:{sourceWidth:t&&t.sourceWidth||i.sourceWidth,sourceHeight:t&&t.sourceHeight||i.sourceHeight}}))},getFilename:function(){var t=this.userOptions.title&&this.userOptions.title.text,e=this.options.exporting.filename;return e?e.replace(/\//g,"-"):("string"==typeof t&&(e=t.toLowerCase().replace(/<\/?[^>]+(>|$)/g,"").replace(/[\s_]+/g,"-").replace(/[^a-z0-9\-]/g,"").replace(/^[\-]+/g,"").replace(/[\-]+/g,"-").substr(0,24).replace(/[\-]+$/g,"")),(!e||5>e.length)&&(e="chart"),e)},exportChart:function(t,e){e=this.getSVGForExport(t,e),t=y(this.options.exporting,t),i.post(t.url,{filename:t.filename?t.filename.replace(/\//g,"-"):this.getFilename(),type:t.type,width:t.width||0,scale:t.scale,svg:e},t.formAttributes)},moveContainers:function(t){(this.fixedDiv?[this.fixedDiv,this.scrollingContainer]:[this.container]).forEach((function(e){t.appendChild(e)}))},beforePrint:function(){var t=r.body,e=this.options.exporting.printMaxWidth,i={childNodes:t.childNodes,origDisplay:[],resetParams:void 0};this.isPrinting=!0,this.pointer.reset(null,0),g(this,"beforePrint"),e&&this.chartWidth>e&&(i.resetParams=[this.options.chart.width,void 0,!1],this.setSize(e,void 0,!1)),[].forEach.call(i.childNodes,(function(t,e){1===t.nodeType&&(i.origDisplay[e]=t.style.display,t.style.display="none")})),this.moveContainers(t),this.printReverseInfo=i},afterPrint:function(){if(this.printReverseInfo){var t=this.printReverseInfo.childNodes,e=this.printReverseInfo.origDisplay,o=this.printReverseInfo.resetParams;this.moveContainers(this.renderTo),[].forEach.call(t,(function(t,i){1===t.nodeType&&(t.style.display=e[i]||"")})),this.isPrinting=!1,o&&this.setSize.apply(this,o),delete this.printReverseInfo,delete i.printingChart,g(this,"afterPrint")}},print:function(){var t=this;t.isPrinting||(i.printingChart=t,i.isSafari||t.beforePrint(),setTimeout((function(){h.focus(),h.print(),i.isSafari||setTimeout((function(){t.afterPrint()}),1e3)}),1))},contextMenu:function(t,e,i,o,n,a,p){var f=this,y=f.options.navigation,v=f.chartWidth,x=f.chartHeight,b="cache-"+t,w=f[b],C=Math.max(n,a);if(!w){f.exportContextMenu=f[b]=w=d("div",{className:t},{position:"absolute",zIndex:1e3,padding:C+"px",pointerEvents:"auto"},f.fixedDiv||f.container);var S=d("ul",{className:"highcharts-menu"},{listStyle:"none",margin:0,padding:0},w);f.styledMode||c(S,u({MozBoxShadow:"3px 3px 10px #888",WebkitBoxShadow:"3px 3px 10px #888",boxShadow:"3px 3px 10px #888"},y.menuStyle)),w.hideMenu=function(){c(w,{display:"none"}),p&&p.setState(0),f.openMenu=!1,c(f.renderTo,{overflow:"hidden"}),s.clearTimeout(w.hideTimer),g(f,"exportMenuHidden")},f.exportEvents.push(l(w,"mouseleave",(function(){w.hideTimer=h.setTimeout(w.hideMenu,500)})),l(w,"mouseenter",(function(){s.clearTimeout(w.hideTimer)})),l(r,"mouseup",(function(e){f.pointer.inClass(e.target,t)||w.hideMenu()})),l(w,"click",(function(){f.openMenu&&w.hideMenu()}))),e.forEach((function(t){if("string"==typeof t&&(t=f.options.exporting.menuItemDefinitions[t]),m(t,!0)){if(t.separator)var e=d("hr",null,null,S);else"viewData"===t.textKey&&f.isDataTableVisible&&(t.textKey="hideData"),e=d("li",{className:"highcharts-menu-item",onclick:function(e){e&&e.stopPropagation(),w.hideMenu(),t.onclick&&t.onclick.apply(f,arguments)},innerHTML:t.text||f.options.lang[t.textKey]},null,S),f.styledMode||(e.onmouseover=function(){c(this,y.menuItemHoverStyle)},e.onmouseout=function(){c(this,y.menuItemStyle)},c(e,u({cursor:"pointer"},y.menuItemStyle)));f.exportDivElements.push(e)}})),f.exportDivElements.push(S,w),f.exportMenuWidth=w.offsetWidth,f.exportMenuHeight=w.offsetHeight}e={display:"block"},i+f.exportMenuWidth>v?e.right=v-i-n-C+"px":e.left=i-C+"px",o+a+f.exportMenuHeight>x&&"top"!==p.alignOptions.verticalAlign?e.bottom=x-o-C+"px":e.top=o+a-C+"px",c(w,e),c(f.renderTo,{overflow:""}),f.openMenu=!0,g(f,"exportMenuShown")},addButton:function(t){var e=this,i=e.renderer,o=y(e.options.navigation.buttonOptions,t),n=o.onclick,s=o.menuItems,r=o.symbolSize||12;if(e.btnCount||(e.btnCount=0),e.exportDivElements||(e.exportDivElements=[],e.exportSVGElements=[]),!1!==o.enabled){var a,h=o.theme,l=h.states,c=l&&l.hover;
1l=l&&l.select,e.styledMode||(h.fill=x(h.fill,"#ffffff"),h.stroke=x(h.stroke,"none")),delete h.states,n?a=function(t){t&&t.stopPropagation(),n.call(e,t)}:s&&(a=function(t){t&&t.stopPropagation(),e.contextMenu(d.menuClassName,s,d.translateX,d.translateY,d.width,d.height,d),d.setState(2)}),o.text&&o.symbol?h.paddingLeft=x(h.paddingLeft,25):o.text||u(h,{width:o.width,height:o.height,padding:0}),e.styledMode||(h["stroke-linecap"]="round",h.fill=x(h.fill,"#ffffff"),h.stroke=x(h.stroke,"none"));var d=i.button(o.text,0,0,a,h,c,l).addClass(t.className).attr({title:x(e.options.lang[o._titleKey||o.titleKey],"")});if(d.menuClassName=t.menuClassName||"highcharts-menu-"+e.btnCount++,o.symbol){var p=i.symbol(o.symbol,o.symbolX-r/2,o.symbolY-r/2,r,r,{width:r,height:r}).addClass("highcharts-button-symbol").attr({zIndex:1}).add(d);e.styledMode||p.attr({stroke:o.symbolStroke,fill:o.symbolFill,"stroke-width":o.symbolStrokeWidth||1})}d.add(e.exportingGroup).align(u(o,{width:d.width,x:x(o.x,e.buttonOffset)}),!0,"spacingBox"),e.buttonOffset+=(d.width+o.buttonSpacing)*("right"===o.align?-1:1),e.exportSVGElements.push(d,p)}},destroyExport:function(t){var e=t?t.target:this;t=e.exportSVGElements;var i,o=e.exportDivElements,n=e.exportEvents;t&&(t.forEach((function(t,o){t&&(t.onclick=t.ontouchstart=null,i="cache-"+t.menuClassName,e[i]&&delete e[i],e.exportSVGElements[o]=t.destroy())})),t.length=0),e.exportingGroup&&(e.exportingGroup.destroy(),delete e.exportingGroup),o&&(o.forEach((function(t,i){s.clearTimeout(t.hideTimer),b(t,"mouseleave"),e.exportDivElements[i]=t.onmouseout=t.onmouseover=t.ontouchstart=t.onclick=null,p(t)})),o.length=0),n&&(n.forEach((function(t){t()})),n.length=0)}}),n.prototype.inlineToAttributes="fill stroke strokeLinecap strokeLinejoin strokeWidth textAnchor x y".split(" "),n.prototype.inlineBlacklist=[/-/,/^(clipPath|cssText|d|height|width)$/,/^font$/,/[lL]ogical(Width|Height)$/,/perspective/,/TapHighlightColor/,/^transition/,/^length$/],n.prototype.unstyledElements=["clipPath","defs","desc"],t.prototype.inlineStyles=function(){function t(t){return t.replace(/([A-Z])/g,(function(t,e){return"-"+e.toLowerCase()}))}var e,i=this.renderer,o=i.inlineToAttributes,n=i.inlineBlacklist,s=i.inlineWhitelist,a=i.unstyledElements,l={};i=r.createElement("iframe"),c(i,{width:"1px",height:"1px",visibility:"hidden"}),r.body.appendChild(i);var d=i.contentWindow.document;d.open(),d.write('<svg xmlns="http://www.w3.org/2000/svg"></svg>'),d.close(),function i(r){function c(e,i){if(p=u=!1,s){for(f=s.length;f--&&!u;)u=s[f].test(i);p=!u}for("transform"===i&&"none"===e&&(p=!0),f=n.length;f--&&!p;)p=n[f].test(i)||"function"==typeof e;p||x[i]===e&&"svg"!==r.nodeName||l[r.nodeName][i]===e||(o&&-1===o.indexOf(i)?g+=t(i)+":"+e+";":e&&r.setAttribute(t(i),e))}var p,u,f,g="";if(1===r.nodeType&&-1===a.indexOf(r.nodeName)){var m=h.getComputedStyle(r,null),x="svg"===r.nodeName?{}:h.getComputedStyle(r.parentNode,null);if(!l[r.nodeName]){e=d.getElementsByTagName("svg")[0];var b=d.createElementNS(r.namespaceURI,r.nodeName);e.appendChild(b),l[r.nodeName]=y(h.getComputedStyle(b,null)),"text"===r.nodeName&&delete l.text.fill,e.removeChild(b)}if(A||k)for(var w in m)c(m[w],w);else v(m,c);g&&(m=r.getAttribute("style"),r.setAttribute("style",(m?m+";":"")+g)),"svg"===r.nodeName&&r.setAttribute("stroke-width","1px"),"text"!==r.nodeName&&[].forEach.call(r.children||r.childNodes,i)}}(this.container.querySelector("svg")),e.parentNode.remove(),i.remove()},S.menu=function(t,e,i,o){return[["M",t,e+2.5],["L",t+i,e+2.5],["M",t,e+o/2+.5],["L",t+i,e+o/2+.5],["M",t,e+o-1.5],["L",t+i,e+o-1.5]]},S.menuball=function(t,e,i,o){return o=o/3-2,[].concat(this.circle(i-o,e,o,o),this.circle(i-o,e+o+4,o,o),this.circle(i-o,e+2*(o+4),o,o))},t.prototype.renderExporting=function(){var t=this,e=t.options.exporting,i=e.buttons,o=t.isDirtyExporting||!t.exportSVGElements;t.buttonOffset=0,t.isDirtyExporting&&t.destroyExport(),o&&!1!==e.enabled&&(t.exportEvents=[],t.exportingGroup=t.exportingGroup||t.renderer.g("exporting-group").attr({zIndex:3}).add(),v(i,(function(e){t.addButton(e)}
1)),t.isDirtyExporting=!1),l(t,"destroy",t.destroyExport)},l(t,"init",(function(){var t=this;t.exporting={update:function(e,i){t.isDirtyExporting=!0,y(!0,t.options.exporting,e),x(i,!0)&&t.redraw()}},e.addUpdate((function(e,i){t.isDirtyExporting=!0,y(!0,t.options.navigation,e),x(i,!0)&&t.redraw()}),t)})),t.prototype.callbacks.push((function(t){t.renderExporting(),l(t,"redraw",t.renderExporting)}))})),e(t,"masters/modules/exporting.src.js",[],(function(){}))}))},604:function(t,e,i){var o,n;!function(s){t.exports?(s.default=s,t.exports=s):(o=[i(454)],void 0===(n=function(t){return s(t),s.Highcharts=t,s}.apply(e,o))||(t.exports=n))}((function(t){function e(t,e,i,o){t.hasOwnProperty(e)||(t[e]=o.apply(null,i))}e(t=t?t._modules:{},"Extensions/Ajax.js",[t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e){var i=e.merge,o=e.objectEach;return t.ajax=function(t){var e=i(!0,{url:!1,type:"get",dataType:"json",success:!1,error:!1,data:!1,headers:{}},t);t={json:"application/json",xml:"application/xml",text:"text/plain",octet:"application/octet-stream"};var n=new XMLHttpRequest;if(!e.url)return!1;n.open(e.type.toUpperCase(),e.url,!0),e.headers["Content-Type"]||n.setRequestHeader("Content-Type",t[e.dataType]||t.text),o(e.headers,(function(t,e){n.setRequestHeader(e,t)})),n.onreadystatechange=function(){if(4===n.readyState){if(200===n.status){var t=n.responseText;if("json"===e.dataType)try{t=JSON.parse(t)}catch(t){return void(e.error&&e.error(n,t))}return e.success&&e.success(t)}e.error&&e.error(n,n.responseText)}};try{e.data=JSON.stringify(e.data)}catch(t){}n.send(e.data||!0)},t.getJSON=function(e,i){t.ajax({url:e,success:i,dataType:"json",headers:{"Content-Type":"text/plain"}})},{ajax:t.ajax,getJSON:t.getJSON}})),e(t,"Extensions/Data.js",[t["Extensions/Ajax.js"],t["Core/Series/Series.js"],t["Core/Chart/Chart.js"],t["Core/Globals.js"],t["Core/Series/Point.js"],t["Core/Utilities.js"]],(function(t,e,i,o,n,s){var r=t.ajax,a=o.doc;t=s.addEvent;var h=s.defined,l=s.extend,c=s.fireEvent,d=s.isNumber,p=s.merge,u=s.objectEach,f=s.pick,g=s.splat,m=e.seriesTypes;e=function(){function t(t,e,i){this.options=this.rawColumns=this.firstRowAsNames=this.chartOptions=this.chart=void 0,this.dateFormats={"YYYY/mm/dd":{regex:/^([0-9]{4})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{1,2})$/,parser:function(t){return t?Date.UTC(+t[1],t[2]-1,+t[3]):NaN}},"dd/mm/YYYY":{regex:/^([0-9]{1,2})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{4})$/,parser:function(t){return t?Date.UTC(+t[3],t[2]-1,+t[1]):NaN},alternative:"mm/dd/YYYY"},"mm/dd/YYYY":{regex:/^([0-9]{1,2})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{4})$/,parser:function(t){return t?Date.UTC(+t[3],t[1]-1,+t[2]):NaN}},"dd/mm/YY":{regex:/^([0-9]{1,2})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{2})$/,parser:function(t){if(!t)return NaN;var e=+t[3];return e=e>(new Date).getFullYear()-2e3?e+1900:e+2e3,Date.UTC(e,t[2]-1,+t[1])},alternative:"mm/dd/YY"},"mm/dd/YY":{regex:/^([0-9]{1,2})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{2})$/,parser:function(t){return t?Date.UTC(+t[3]+2e3,t[1]-1,+t[2]):NaN}}},this.init(t,e,i)}return t.prototype.init=function(t,e,i){var o=t.decimalPoint;if(e&&(this.chartOptions=e),i&&(this.chart=i),"."!==o&&","!==o&&(o=void 0),this.options=t,this.columns=t.columns||this.rowsToColumns(t.rows)||[],this.firstRowAsNames=f(t.firstRowAsNames,this.firstRowAsNames,!0),this.decimalRegex=o&&new RegExp("^(-?[0-9]+)"+o+"([0-9]+)$"),this.rawColumns=[],this.columns.length){this.dataFound();var n=!0}this.hasURLOption(t)&&(clearTimeout(this.liveDataTimeout),n=!1),n||(n=this.fetchLiveData()),n||(n=!!this.parseCSV().length),n||(n=!!this.parseTable().length),n||(n=this.parseGoogleSpreadsheet()),!n&&t.afterComplete&&t.afterComplete()},t.prototype.hasURLOption=function(t){return!(!t||!(t.rowsURL||t.csvURL||t.columnsURL))},t.prototype.getColumnDistribution=function(){var t,e=this.chartOptions,i=this.options,o=[],n=function(t){return(m[t||"line"].prototype.pointArrayMap||[0]).length},s=e&&e.chart&&e.chart.type,r=[],a=[],l=0;i=i&&i.seriesMapping||e&&e.series&&e.series.map((function(){return{x:0}}))||[],(e&&e.series||[]).forEach((function(t){r.push(n(t.type||s))}
1)),i.forEach((function(t){o.push(t.x||0)})),0===o.length&&o.push(0),i.forEach((function(i){var o=new y,c=r[l]||n(s),d=(e&&e.series||[])[l]||{},p=m[d.type||s||"line"].prototype.pointArrayMap,f=p||["y"];for((h(i.x)||d.isCartesian||!p)&&o.addColumnReader(i.x,"x"),u(i,(function(t,e){"x"!==e&&o.addColumnReader(t,e)})),t=0;t<c;t++)o.hasReader(f[t])||o.addColumnReader(void 0,f[t]);a.push(o),l++})),void 0===(i=m[s||"line"].prototype.pointArrayMap)&&(i=["y"]),this.valueCount={global:n(s),xColumns:o,individual:r,seriesBuilders:a,globalPointArrayMap:i}},t.prototype.dataFound=function(){this.options.switchRowsAndColumns&&(this.columns=this.rowsToColumns(this.columns)),this.getColumnDistribution(),this.parseTypes(),!1!==this.parsed()&&this.complete()},t.prototype.parseCSV=function(t){function e(t,e,i,o){function n(e){d=t[e],f=t[e-1],g=t[e+1]}function s(t){l.length<v+1&&l.push([t]),l[v][l[v].length-1]!==t&&l[v].push(t)}function h(){r>y||y>a?(++y,m=""):(!isNaN(parseFloat(m))&&isFinite(m)?(m=parseFloat(m),s("number")):isNaN(Date.parse(m))?s("string"):(m=m.replace(/\//g,"-"),s("date")),p.length<v+1&&p.push([]),i||(p[v][e]=m),m="",++v,++y)}var c=0,d="",f="",g="",m="",y=0,v=0;if(t.trim().length&&"#"!==t.trim()[0]){for(;c<t.length;c++){if(n(c),"#"===d)return void h();if('"'===d)for(n(++c);c<t.length&&('"'!==d||'"'===f||'"'===g);)('"'!==d||'"'===d&&'"'!==f)&&(m+=d),n(++c);else o&&o[d]?o[d](d,m)&&h():d===u?h():m+=d}h()}}var i=this,o=t||this.options,n=o.csv;t=void 0!==o.startRow&&o.startRow?o.startRow:0;var s=o.endRow||Number.MAX_VALUE,r=void 0!==o.startColumn&&o.startColumn?o.startColumn:0,a=o.endColumn||Number.MAX_VALUE,h=0,l=[],d={",":0,";":0,"\t":0},p=this.columns=[];if(n&&o.beforeParse&&(n=o.beforeParse.call(this,n)),n){if(n=n.replace(/\r\n/g,"\n").replace(/\r/g,"\n").split(o.lineDelimiter||"\n"),(!t||0>t)&&(t=0),(!s||s>=n.length)&&(s=n.length-1),o.itemDelimiter)var u=o.itemDelimiter;else u=null,u=function(t){var e,n=0,s=0;return t.some((function(t,e){var i=!1,o="";if(13<e)return!0;for(var r=0;r<t.length;r++){e=t[r];var a=t[r+1],h=t[r-1];if("#"===e)break;if('"'===e)if(i){if('"'!==h&&'"'!==a){for(;" "===a&&r<t.length;)a=t[++r];void 0!==d[a]&&d[a]++,i=!1}}else i=!0;else void 0!==d[e]?(o=o.trim(),isNaN(Date.parse(o))&&!isNaN(o)&&isFinite(o)||d[e]++,o=""):o+=e;","===e&&s++,"."===e&&n++}})),e=d[";"]>d[","]?";":",",o.decimalPoint||(o.decimalPoint=n>s?".":",",i.decimalRegex=new RegExp("^(-?[0-9]+)"+o.decimalPoint+"([0-9]+)$")),e}(n);var f=0;for(h=t;h<=s;h++)"#"===n[h][0]?f++:e(n[h],h-t-f);o.columnTypes&&0!==o.columnTypes.length||!l.length||!l[0].length||"date"!==l[0][1]||o.dateFormat||(o.dateFormat=function(t,e){var n,s=[],r=0,a=!1,h=[],l=[];for((!e||e>t.length)&&(e=t.length);r<e;r++)if(void 0!==t[r]&&t[r]&&t[r].length){var d=t[r].trim().replace(/\//g," ").replace(/\-/g," ").replace(/\./g," ").split(" ");for(s=["","",""],n=0;n<d.length;n++)n<s.length&&(d[n]=parseInt(d[n],10),d[n]&&(l[n]=!l[n]||l[n]<d[n]?d[n]:l[n],void 0!==h[n]?h[n]!==d[n]&&(h[n]=!1):h[n]=d[n],31<d[n]?s[n]=100>d[n]?"YY":"YYYY":12<d[n]&&31>=d[n]?(s[n]="dd",a=!0):s[n].length||(s[n]="mm")))}if(a){for(n=0;n<h.length;n++)!1!==h[n]?12<l[n]&&"YY"!==s[n]&&"YYYY"!==s[n]&&(s[n]="YY"):12<l[n]&&"mm"===s[n]&&(s[n]="dd");return 3===s.length&&"dd"===s[1]&&"dd"===s[2]&&(s[2]="YY"),t=s.join("/"),(o.dateFormats||i.dateFormats)[t]?t:(c("deduceDateFailed"),"YYYY/mm/dd")}return"YYYY/mm/dd"}(p[0])),this.dataFound()}return p},t.prototype.parseTable=function(){var t=this.options,e=t.table,i=this.columns||[],o=t.startRow||0,n=t.endRow||Number.MAX_VALUE,s=t.startColumn||0,r=t.endColumn||Number.MAX_VALUE;return e&&("string"==typeof e&&(e=a.getElementById(e)),[].forEach.call(e.getElementsByTagName("tr"),(function(t,e){e>=o&&e<=n&&[].forEach.call(t.children,(function(t,n){var a=i[n-s],h=1;if(("TD"===t.tagName||"TH"===t.tagName)&&n>=s&&n<=r)for(i[n-s]||(i[n-s]=[]),i[n-s][e-o]=t.innerHTML;e-o>=h&&void 0===a[e-o-h];)a[e-o-h]=null,h++}))})),this.dataFound()),i},t.prototype.fetchLiveData=function(){var t=this,e=this.chart,i=this.options,o=0,n=i.enablePolling,s=1e3*(i.dataRefreshRate||2),a=p(i);return!!this.hasURLOption(i)&&(1e3>s&&(s=1e3),delete i.csvURL,delete i.rowsURL,delete i.columnsURL,function h(l){function c(a,c,d){function p(){n&&e.liveDataURL===a&&(t.liveDataTimeout=setTimeout(h,s))}return a&&0===a.indexOf("http")?(l&&(clearTimeout(t.liveDataTimeout),e.liveDataURL=a),r({url:a,dataType:d||"json",success:function(t){e&&e.series&&c(t),p()},error:function(t,e){return 3>++o&&p(),i.error&&i.error(e,t)}}),!0):(a&&i.error&&i.error("Invalid URL"),!1)}c(a.csvURL,(function(t){e.update({data:{csv:t}})}),"text")||c(a.rowsURL,(function(t){e.update({data:{rows:t}})}))||c(a.columnsURL,(function(t){e.update({data:{columns:t}})}))}(!0),this.hasURLOption(i))},t.prototype.parseGoogleSpreadsheet=function(){var t=this,e=this.options,i=e.googleSpreadsheetKey,o=this.chart,n=e.googleSpreadsheetWorksheet||1,s=e.startRow||0,a=e.endRow||Number.MAX_VALUE,h=e.startColumn||0,l=e.endColumn||Number.MAX_VALUE,c=1e3*(e.dataRefreshRate||2);return 4e3>c&&(c=4e3),i&&(delete e.googleSpreadsheetKey,function t(o){var s=["https://spreadsheets.google.com/feeds/cells",i,n,"public/values?alt=json"].join("/");r({url:s,dataType:"json",success:function(i){o(i),e.enablePolling&&setTimeout((function(){t(o)}),1e3*(e.dataRefreshRate||2))},error:function(t,i){return e.error&&e.error(i,t)}})}((function(e){var i,n=[],r=((e=e.feed.entry)||[]).length,c=0;if(!e||0===e.length)return!1;for(i=0;i<r;i++){var d=e[i];c=Math.max(c,d.gs$cell.col)}for(i=0;i<c;i++)i>=h&&i<=l&&(n[i-h]=[]);for(i=0;i<r;i++){c=(d=e[i]).gs$cell.row-1;var p=d.gs$cell.col-1;if(p>=h&&p<=l&&c>=s&&c<=a){var u=d.gs$cell||d.content;d=null,u.numericValue?d=0<=u.$t.indexOf("/")||0<=u.$t.indexOf("-")?u.$t:0<u.$t.indexOf("%")?100*parseFloat(u.numericValue):parseFloat(u.numericValue):u.$t&&u.$t.length&&(d=u.$t),n[p-h][c-s]=d}}n.forEach((function(t){for(i=0;i<t.length;i++)void 0===t[i]&&(t[i]=null)})),o&&o.series?o.update({data:{columns:n}}):(t.columns=n,t.dataFound())}))),!1},t.prototype.trim=function(t,e){return"string"==typeof t&&(t=t.replace(/^\s+|\s+$/g,""),e&&/^[0-9\s]+$/.test(t)&&(t=t.replace(/\s/g,"")),this.decimalRegex&&(t=t.replace(this.decimalRegex,"$1.$2"))),t},t.prototype.parseTypes=function(){for(var t=this.columns,e=t.length;e--;)this.parseColumn(t[e],e)},t.prototype.parseColumn=function(t,e){var i,o,n=this.rawColumns,s=this.columns,r=t.length,a=this.firstRowAsNames,h=-1!==this.valueCount.xColumns.indexOf(e),l=[],c=this.chartOptions,p=(this.options.columnTypes||[])[e];
1for(c=h&&(c&&c.xAxis&&"category"===g(c.xAxis)[0].type||"string"===p),n[e]||(n[e]=[]);r--;){var u=l[r]||t[r],f=this.trim(u),m=this.trim(u,!0),y=parseFloat(m);void 0===n[e][r]&&(n[e][r]=f),c||0===r&&a?t[r]=""+f:+m===y?(t[r]=y,31536e6<y&&"float"!==p?t.isDatetime=!0:t.isNumeric=!0,void 0!==t[r+1]&&(o=y>t[r+1])):(f&&f.length&&(i=this.parseDate(u)),h&&d(i)&&"float"!==p?(l[r]=u,t[r]=i,t.isDatetime=!0,void 0!==t[r+1]&&((u=i>t[r+1])!==o&&void 0!==o&&(this.alternativeFormat?(this.dateFormat=this.alternativeFormat,r=t.length,this.alternativeFormat=this.dateFormats[this.dateFormat].alternative):t.unsorted=!0),o=u)):(t[r]=""===f?null:f,0!==r&&(t.isDatetime||t.isNumeric)&&(t.mixed=!0)))}if(h&&t.mixed&&(s[e]=n[e]),h&&o&&this.options.sort)for(e=0;e<s.length;e++)s[e].reverse(),a&&s[e].unshift(s[e].pop())},t.prototype.parseDate=function(t){var e,i,o=this.options.parseDate,n=this.options.dateFormat||this.dateFormat;if(o)var s=o(t);else if("string"==typeof t){if(n)(o=this.dateFormats[n])||(o=this.dateFormats["YYYY/mm/dd"]),(i=t.match(o.regex))&&(s=o.parser(i));else for(e in this.dateFormats)if(o=this.dateFormats[e],i=t.match(o.regex)){this.dateFormat=e,this.alternativeFormat=o.alternative,s=o.parser(i);break}i||("object"==typeof(i=Date.parse(t))&&null!==i&&i.getTime?s=i.getTime()-6e4*i.getTimezoneOffset():d(i)&&(s=i-6e4*new Date(i).getTimezoneOffset()))}return s},t.prototype.rowsToColumns=function(t){var e,i;if(t){var o=[],n=t.length;for(e=0;e<n;e++){var s=t[e].length;for(i=0;i<s;i++)o[i]||(o[i]=[]),o[i][e]=t[e][i]}}return o},t.prototype.getData=function(){if(this.columns)return this.rowsToColumns(this.columns).slice(1)},t.prototype.parsed=function(){if(this.options.parsed)return this.options.parsed.call(this,this.columns)},t.prototype.getFreeIndexes=function(t,e){var i,o=[],n=[];for(i=0;i<t;i+=1)o.push(!0);for(t=0;t<e.length;t+=1){var s=e[t].getReferencedColumnIndexes();for(i=0;i<s.length;i+=1)o[s[i]]=!1}for(i=0;i<o.length;i+=1)o[i]&&n.push(i);return n},t.prototype.complete=function(){var t,e,i,o=this.columns,n=this.options,s=[];if(n.complete||n.afterComplete){if(this.firstRowAsNames)for(e=0;e<o.length;e++)o[e].name=o[e].shift();var r=[],a=this.getFreeIndexes(o.length,this.valueCount.seriesBuilders);for(e=0;e<this.valueCount.seriesBuilders.length;e++){var h=this.valueCount.seriesBuilders[e];h.populateColumns(a)&&s.push(h)}for(;0<a.length;){for((h=new y).addColumnReader(0,"x"),-1!==(e=a.indexOf(0))&&a.splice(e,1),e=0;e<this.valueCount.global;e++)h.addColumnReader(void 0,this.valueCount.globalPointArrayMap[e]);h.populateColumns(a)&&s.push(h)}if(0<s.length&&0<s[0].readers.length&&(void 0!==(h=o[s[0].readers[0].columnIndex])&&(h.isDatetime?t="datetime":h.isNumeric||(t="category"))),"category"===t)for(e=0;e<s.length;e++)for(h=s[e],a=0;a<h.readers.length;a++)"x"===h.readers[a].configName&&(h.readers[a].configName="name");for(e=0;e<s.length;e++){for(h=s[e],a=[],i=0;i<o[0].length;i++)a[i]=h.read(o,i);r[e]={data:a},h.name&&(r[e].name=h.name),"category"===t&&(r[e].turboThreshold=0)}o={series:r},t&&(o.xAxis={type:t},"category"===t&&(o.xAxis.uniqueNames=!1)),n.complete&&n.complete(o),n.afterComplete&&n.afterComplete(o)}},t.prototype.update=function(t,e){var i=this.chart;t&&(t.afterComplete=function(t){t&&(t.xAxis&&i.xAxis[0]&&t.xAxis.type===i.xAxis[0].options.type&&delete t.xAxis,i.update(t,e,!0))},p(!0,i.options.data,t),this.init(i.options.data))},t}(),o.data=function(t,e,i){return new o.Data(t,e,i)},t(i,"init",(function(t){var e=this,i=t.args[0]||{},n=t.args[1];i&&i.data&&!e.hasDataDef&&(e.hasDataDef=!0,e.data=new o.Data(l(i.data,{afterComplete:function(t){var o;if(Object.hasOwnProperty.call(i,"series"))if("object"==typeof i.series)for(o=Math.max(i.series.length,t&&t.series?t.series.length:0);o--;){var s=i.series[o]||{};i.series[o]=p(s,t&&t.series?t.series[o]:{})}else delete i.series;i=p(t,i),e.init(i,n)}}),i,e),t.preventDefault())}));var y=function(){function t(){this.readers=[],this.pointIsArray=!0,this.name=void 0}return t.prototype.populateColumns=function(t){var e=!0;return this.readers.forEach((function(e){void 0===e.columnIndex&&(e.columnIndex=t.shift())}
1)),this.readers.forEach((function(t){void 0===t.columnIndex&&(e=!1)})),e},t.prototype.read=function(t,e){var i=this.pointIsArray,o=i?[]:{};if(this.readers.forEach((function(s){var r=t[s.columnIndex][e];i?o.push(r):0<s.configName.indexOf(".")?n.prototype.setNestedProperty(o,r,s.configName):o[s.configName]=r})),void 0===this.name&&2<=this.readers.length){var s=this.getReferencedColumnIndexes();2<=s.length&&(s.shift(),s.sort((function(t,e){return t-e})),this.name=t[s.shift()].name)}return o},t.prototype.addColumnReader=function(t,e){this.readers.push({columnIndex:t,configName:e}),"x"!==e&&"y"!==e&&void 0!==e&&(this.pointIsArray=!1)},t.prototype.getReferencedColumnIndexes=function(){var t,e=[];for(t=0;t<this.readers.length;t+=1){var i=this.readers[t];void 0!==i.columnIndex&&e.push(i.columnIndex)}return e},t.prototype.hasReader=function(t){var e;for(e=0;e<this.readers.length;e+=1){if(this.readers[e].configName===t)return!0}},t}();return o.Data=e,o.Data})),e(t,"masters/modules/data.src.js",[],(function(){}))}))},605:function(t,e,i){var o,n;!function(s){t.exports?(s.default=s,t.exports=s):(o=[i(454)],void 0===(n=function(t){return s(t),s.Highcharts=t,s}.apply(e,o))||(t.exports=n))}((function(t){function e(t,e,i,o){t.hasOwnProperty(e)||(t[e]=o.apply(null,i))}e(t=t?t._modules:{},"Accessibility/Utils/HTMLUtilities.js",[t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e){function i(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/")}var o=t.doc,n=t.win,s=e.merge;return{addClass:function(t,e){t.classList?t.classList.add(e):0>t.className.indexOf(e)&&(t.className+=e)},escapeStringForHTML:i,getElement:function(t){return o.getElementById(t)},getFakeMouseEvent:function(t){if("function"==typeof n.MouseEvent)return new n.MouseEvent(t);if(o.createEvent){var e=o.createEvent("MouseEvent");if(e.initMouseEvent)return e.initMouseEvent(t,!0,!0,n,"click"===t?1:0,0,0,0,0,!1,!1,!1,!1,0,null),e}return{type:t}},removeElement:function(t){t&&t.parentNode&&t.parentNode.removeChild(t)},reverseChildNodes:function(t){for(var e=t.childNodes.length;e--;)t.appendChild(t.childNodes[e])},setElAttrs:function(t,e){Object.keys(e).forEach((function(o){var n=e[o];null===n?t.removeAttribute(o):(n=i(""+n),t.setAttribute(o,n))}))},stripHTMLTagsFromString:function(t){return"string"==typeof t?t.replace(/<\/?[^>]+(>|$)/g,""):t},visuallyHideElement:function(t){s(!0,t.style,{position:"absolute",width:"1px",height:"1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(1px, 1px, 1px, 1px)",marginTop:"-3px","-ms-filter":"progid:DXImageTransform.Microsoft.Alpha(Opacity=1)",filter:"alpha(opacity=1)",opacity:"0.01"})}}})),e(t,"Accessibility/Utils/ChartUtilities.js",[t["Accessibility/Utils/HTMLUtilities.js"],t["Core/Utilities.js"]],(function(t,e){function i(t){var e,i;if(null!==(e=t.points)&&void 0!==e&&e.length)return null===(i=null==(t=r(t.points,(function(t){return!!t.graphic})))?void 0:t.graphic)||void 0===i?void 0:i.element}function o(t){var e=i(t);return e&&e.parentNode||t.graph&&t.graph.element||t.group&&t.group.element}var n=t.stripHTMLTagsFromString,s=e.defined,r=e.find,a=e.fireEvent;return{getChartTitle:function(t){return n(t.options.title.text||t.langFormat("accessibility.defaultChartTitle",{chart:t}))},getAxisDescription:function(t){return n(t&&(t.userOptions&&t.userOptions.accessibility&&t.userOptions.accessibility.description||t.axisTitle&&t.axisTitle.textStr||t.options.id||t.categories&&"categories"||t.dateTime&&"Time"||"values"))},getPointFromXY:function(t,e,i){for(var o,n=t.length;n--;)if(o=r(t[n].points||[],(function(t){return t.x===e&&t.y===i})))return o},getSeriesFirstPointElement:i,getSeriesFromName:function(t,e){return e?(t.series||[]).filter((function(t){return t.name===e})):t.series},getSeriesA11yElement:o,unhideChartElementFromAT:function t(e,i){i.setAttribute("aria-hidden",!1),i!==e.renderTo&&i.parentNode&&(Array.prototype.forEach.call(i.parentNode.childNodes,(function(t){t.hasAttribute("aria-hidden")||t.setAttribute("aria-hidden",!0)})),t(e,i.parentNode))},hideSeriesFromAT:function(t){(t=o(t))&&t.setAttribute("aria-hidden",!0)},scrollToPoint:function(t){var e=t.series.xAxis,i=t.series.yAxis,o=null!=e&&e.scrollbar?e:i;
1if((e=null==o?void 0:o.scrollbar)&&s(e.to)&&s(e.from)){if(i=e.to-e.from,s(o.dataMin)&&s(o.dataMax)){var n=o.toPixels(o.dataMin),r=o.toPixels(o.dataMax);t=(o.toPixels(t["xAxis"===o.coll?"x":"y"]||0)-n)/(r-n)}else t=0;e.updatePosition(t-i/2,t+i/2),a(e,"changed",{from:e.from,to:e.to,trigger:"scrollbar",DOMEvent:null})}}}})),e(t,"Accessibility/KeyboardNavigationHandler.js",[t["Core/Utilities.js"]],(function(t){function e(t,e){this.chart=t,this.keyCodeMap=e.keyCodeMap||[],this.validate=e.validate,this.init=e.init,this.terminate=e.terminate,this.response={success:1,prev:2,next:3,noHandler:4,fail:5}}var i=t.find;return e.prototype={run:function(t){var e=t.which||t.keyCode,o=this.response.noHandler,n=i(this.keyCodeMap,(function(t){return-1<t[0].indexOf(e)}));return n?o=n[1].call(this,e,t):9===e&&(o=this.response[t.shiftKey?"prev":"next"]),o}},e})),e(t,"Accessibility/Utils/DOMElementProvider.js",[t["Core/Globals.js"],t["Accessibility/Utils/HTMLUtilities.js"],t["Core/Utilities.js"]],(function(t,e,i){var o=t.doc,n=e.removeElement;return(t=i.extend)((e=function(){this.elements=[]}).prototype,{createElement:function(){var t=o.createElement.apply(o,arguments);return this.elements.push(t),t},destroyCreatedElements:function(){this.elements.forEach((function(t){n(t)})),this.elements=[]}}),e})),e(t,"Accessibility/Utils/EventProvider.js",[t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e){var i=e.addEvent,o=function(){this.eventRemovers=[]};return(e=e.extend)(o.prototype,{addEvent:function(){var e=i.apply(t,arguments);return this.eventRemovers.push(e),e},removeAddedEvents:function(){this.eventRemovers.forEach((function(t){t()})),this.eventRemovers=[]}}),o})),e(t,"Accessibility/AccessibilityComponent.js",[t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Utils/DOMElementProvider.js"],t["Accessibility/Utils/EventProvider.js"],t["Core/Globals.js"],t["Accessibility/Utils/HTMLUtilities.js"],t["Core/Utilities.js"]],(function(t,e,i,o,n,s){function r(){}var a=t.unhideChartElementFromAT,h=o.doc,l=o.win,c=n.removeElement,d=n.getFakeMouseEvent;t=s.extend;var p=s.fireEvent,u=s.merge;return r.prototype={initBase:function(t){this.chart=t,this.eventProvider=new i,this.domElementProvider=new e,this.keyCodes={left:37,right:39,up:38,down:40,enter:13,space:32,esc:27,tab:9}},addEvent:function(){return this.eventProvider.addEvent.apply(this.eventProvider,arguments)},createElement:function(){return this.domElementProvider.createElement.apply(this.domElementProvider,arguments)},fireEventOnWrappedOrUnwrappedElement:function(t,e){var i=e.type;h.createEvent&&(t.dispatchEvent||t.fireEvent)?t.dispatchEvent?t.dispatchEvent(e):t.fireEvent(i,e):p(t,i,e)},fakeClickEvent:function(t){if(t){var e=d("click");this.fireEventOnWrappedOrUnwrappedElement(t,e)}},addProxyGroup:function(t){this.createOrUpdateProxyContainer();var e=this.createElement("div");return Object.keys(t||{}).forEach((function(i){null!==t[i]&&e.setAttribute(i,t[i])})),this.chart.a11yProxyContainer.appendChild(e),e},createOrUpdateProxyContainer:function(){var t=this.chart,e=t.renderer.box;t.a11yProxyContainer=t.a11yProxyContainer||this.createProxyContainerElement(),e.nextSibling!==t.a11yProxyContainer&&t.container.insertBefore(t.a11yProxyContainer,e.nextSibling)},createProxyContainerElement:function(){var t=h.createElement("div");return t.className="highcharts-a11y-proxy-container",t},createProxyButton:function(t,e,i,o,n){var s=t.element,r=this.createElement("button"),h=u({"aria-label":s.getAttribute("aria-label")},i);return Object.keys(h).forEach((function(t){null!==h[t]&&r.setAttribute(t,h[t])})),r.className="highcharts-a11y-proxy-button",n&&this.addEvent(r,"click",n),this.setProxyButtonStyle(r),this.updateProxyButtonPosition(r,o||t),this.proxyMouseEventsForButton(s,r),e.appendChild(r),h["aria-hidden"]||a(this.chart,r),r},getElementPosition:function(t){var e=t.element;return(t=this.chart.renderTo)&&e&&e.getBoundingClientRect?(e=e.getBoundingClientRect(),t=t.getBoundingClientRect(),{x:e.left-t.left,y:e.top-t.top,width:e.right-e.left,height:e.bottom-e.top}):{x:0,y:0,width:1,height:1}},setProxyButtonStyle:function(t){u(!0,t.style,{"border-width":0,"background-color":"transparent",curs
1or:"pointer",outline:"none",opacity:.001,filter:"alpha(opacity=1)","-ms-filter":"progid:DXImageTransform.Microsoft.Alpha(Opacity=1)",zIndex:999,overflow:"hidden",padding:0,margin:0,display:"block",position:"absolute"})},updateProxyButtonPosition:function(t,e){e=this.getElementPosition(e),u(!0,t.style,{width:(e.width||1)+"px",height:(e.height||1)+"px",left:(e.x||0)+"px",top:(e.y||0)+"px"})},proxyMouseEventsForButton:function(t,e){var i=this;"click touchstart touchend touchcancel touchmove mouseover mouseenter mouseleave mouseout".split(" ").forEach((function(o){var n=0===o.indexOf("touch");i.addEvent(e,o,(function(e){var o=n?i.cloneTouchEvent(e):i.cloneMouseEvent(e);t&&i.fireEventOnWrappedOrUnwrappedElement(t,o),e.stopPropagation(),e.preventDefault()}))}))},cloneMouseEvent:function(t){if("function"==typeof l.MouseEvent)return new l.MouseEvent(t.type,t);if(h.createEvent){var e=h.createEvent("MouseEvent");if(e.initMouseEvent)return e.initMouseEvent(t.type,t.bubbles,t.cancelable,t.view||l,t.detail,t.screenX,t.screenY,t.clientX,t.clientY,t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,t.button,t.relatedTarget),e}return d(t.type)},cloneTouchEvent:function(t){var e=function(t){for(var e=[],i=0;i<t.length;++i){var o=t.item(i);o&&e.push(o)}return e};return"function"==typeof l.TouchEvent?(e=new l.TouchEvent(t.type,{touches:e(t.touches),targetTouches:e(t.targetTouches),changedTouches:e(t.changedTouches),ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,altKey:t.altKey,metaKey:t.metaKey,bubbles:t.bubbles,cancelable:t.cancelable,composed:t.composed,detail:t.detail,view:t.view}),t.defaultPrevented&&e.preventDefault(),e):((e=this.cloneMouseEvent(t)).touches=t.touches,e.changedTouches=t.changedTouches,e.targetTouches=t.targetTouches,e)},destroyBase:function(){c(this.chart.a11yProxyContainer),this.domElementProvider.destroyCreatedElements(),this.eventProvider.removeAddedEvents()}},t(r.prototype,{init:function(){},getKeyboardNavigation:function(){},onChartUpdate:function(){},onChartRender:function(){},destroy:function(){}}),r})),e(t,"Accessibility/KeyboardNavigation.js",[t["Core/Globals.js"],t["Core/Utilities.js"],t["Accessibility/Utils/HTMLUtilities.js"],t["Accessibility/Utils/EventProvider.js"]],(function(t,e,i,o){function n(t,e){this.init(t,e)}var s=t.doc,r=t.win,a=e.addEvent,h=e.fireEvent,l=i.getElement;return a(s,"keydown",(function(e){27===(e.which||e.keyCode)&&t.charts&&t.charts.forEach((function(t){t&&t.dismissPopupContent&&t.dismissPopupContent()}))})),t.Chart.prototype.dismissPopupContent=function(){var t=this;h(this,"dismissPopupContent",{},(function(){t.tooltip&&t.tooltip.hide(0),t.hideExportMenu()}))},n.prototype={init:function(t,e){var i=this,n=this.eventProvider=new o;this.chart=t,this.components=e,this.modules=[],this.currentModuleIx=0,this.update(),n.addEvent(this.tabindexContainer,"keydown",(function(t){return i.onKeydown(t)})),n.addEvent(this.tabindexContainer,"focus",(function(t){return i.onFocus(t)})),["mouseup","touchend"].forEach((function(t){return n.addEvent(s,t,(function(){return i.onMouseUp()}))})),["mousedown","touchstart"].forEach((function(e){return n.addEvent(t.renderTo,e,(function(){i.isClickingChart=!0}))})),n.addEvent(t.renderTo,"mouseover",(function(){i.pointerIsOverChart=!0})),n.addEvent(t.renderTo,"mouseout",(function(){i.pointerIsOverChart=!1})),this.modules.length&&this.modules[0].init(1)},update:function(t){var e=this.chart.options.accessibility;e=e&&e.keyboardNavigation;var i=this.components;this.updateContainerTabindex(),e&&e.enabled&&t&&t.length?(this.modules=t.reduce((function(t,e){return e=i[e].getKeyboardNavigation(),t.concat(e)}),[]),this.updateExitAnchor()):(this.modules=[],this.currentModuleIx=0,this.removeExitAnchor())},onFocus:function(t){var e,i=this.chart;t=t.relatedTarget&&i.container.contains(t.relatedTarget),this.isClickingChart||t||null===(e=this.modules[0])||void 0===e||e.init(1)},onMouseUp:function(){if(delete this.isClickingChart,!this.keyboardReset&&!this.pointerIsOverChart){var t=this.chart,e=this.modules&&this.modules[this.currentModuleIx||0];e&&e.terminate&&e.terminate(),t.focusElement&&t.focusElement.removeFocusBorder(),this.currentModuleIx=0,this.keyboardReset=!0}},onKeydown:function(t){t=t||r.event;var e,i=this.modules&&this.modules.length&&this.modules[this.currentModuleIx];if(this.keyboardReset=!1,i){var o=i.run(t);o===i.response.success?e=!0:o===i.response.prev?e=this.prev():o===i.response.next&&(e=this.next()),e&&(t.preventDefault(),t.stopPropagation())}},prev:function(){return this.move(-1)},next:function(){return this.move(1)},move:function(t){var e=this.modules&&this.modules[this.currentModuleIx];if(e&&e.terminate&&e.terminate(t),this.chart.focusElement&&this.chart.focusElement.removeFocusBorder(),this.currentModuleIx+=t,e=this.modules&&this.modules[this.currentModuleIx]){if(e.validate&&!e.validate())return this.move(t);if(e.init)return e.init(t),!0}return this.currentModuleIx=0,0<t?(this.exiting=!0,this.exitAnchor.focus()):this.tabindexContainer.focus(),!1},updateExitAnchor:function(){var t=l("highcharts-end-of-chart-marker-"+this.chart.index);this.removeExitAnchor(),t?(this.makeElementAnExitAnchor(t),this.exitAnchor=t):this.createExitAnchor()},updateContainerTabindex:function(){var t=this.chart.options.accessibility;t=!((t=t&&t.keyboardNavigation)&&!1===t.enabled);var e=this.chart,i=e.container;e.renderTo.hasAttribute("tabindex")&&(i.removeAttribute("tabindex"),i=e.renderTo),this.tabindexContainer=i;var o=i.getAttribute("tabindex");t&&!o?i.setAttribute("tabindex","0"):t||e.container.removeAttribute("tabindex")},makeElementAnExitAnchor:function(t){var e=this.tabindexContainer.getAttribute("tabindex")||0;t.setAttribute("class","highcharts-exit-anchor"),t.setAttribute("tabindex",e),t.setAttribute("aria-hidden",!1),this.addExitAnchorEventsToEl(t)},createExitAnchor:function(){var t=this.chart,e=this.exitAnchor=s.createElement("div");t.renderTo.appendChild(e),this.makeElementAnExitAnchor(e)},removeExitAnchor:function(){this.exitAnchor&&this.exitAnchor.parentNode&&(this.exitAnchor.parentNode.removeChild(this.exitAnchor),delete this.exitAnchor)},addExitAnchorEventsToEl:function(t){var e=this.chart,i=this;this.eventProvider.addEvent(t,"focus",(function(t){(t=t||r.event).relatedTarget&&e.container.contains(t.relatedTarget)||i.exiting?i.exiting=!1:(i.tabindexContainer.focus(),t.preventDefault(),i.modules&&i.modules.length&&(i.currentModuleIx=i.modules.length-1,(t=i.modules[i.currentModuleIx])&&t.validate&&!t.validate()?i.prev():t&&t.init(-1)))}))},destroy:function(){this.removeExitAnchor(),this.eventProvider.removeAddedEvents(),this.chart.container.removeAttribute("tabindex")}},n})),e(t,"Accessibility/Components/LegendComponent.js",[t["Core/Globals.js"],t["Core/Legend.js"],t["Core/Utilities.js"],t["Accessibility/AccessibilityComponent.js"],t["Accessibility/KeyboardNavigationHandler.js"],t["Accessibility/Utils/HTMLUtilities.js"]],(function(t,e,
1i,o,n,s){function r(t){var e=t.legend&&t.legend.allItems,i=t.options.legend.accessibility||{};return!(!e||!e.length||t.colorAxis&&t.colorAxis.length||!1===i.enabled)}var a=i.addEvent,h=i.extend,l=i.find,c=i.fireEvent,d=s.stripHTMLTagsFromString,p=s.removeElement;return t.Chart.prototype.highlightLegendItem=function(t){var e=this.legend.allItems,i=this.highlightedLegendItemIx;if(e[t]){e[i]&&c(e[i].legendGroup.element,"mouseout");var o=(i=this.legend).allItems[t].pageIx,n=i.currentPage;return void 0!==o&&o+1!==n&&i.scroll(1+o-n),this.setFocusToElement(e[t].legendItem,e[t].a11yProxyElement),c(e[t].legendGroup.element,"mouseover"),!0}return!1},a(e,"afterColorizeItem",(function(t){var e=t.item;this.chart.options.accessibility.enabled&&e&&e.a11yProxyElement&&e.a11yProxyElement.setAttribute("aria-pressed",t.visible?"false":"true")})),(t=function(){}).prototype=new o,h(t.prototype,{init:function(){var t=this;this.proxyElementsList=[],this.recreateProxies(),this.addEvent(e,"afterScroll",(function(){this.chart===t.chart&&(t.updateProxiesPositions(),t.updateLegendItemProxyVisibility(),this.chart.highlightLegendItem(t.highlightedLegendItemIx))})),this.addEvent(e,"afterPositionItem",(function(e){this.chart===t.chart&&this.chart.renderer&&t.updateProxyPositionForItem(e.item)}))},updateLegendItemProxyVisibility:function(){var t=this.chart.legend,e=t.currentPage||1,i=t.clipHeight||0;(t.allItems||[]).forEach((function(o){var n=o.pageIx||0;n=(o._legendItemPos?o._legendItemPos[1]:0)+(o.legendItem?Math.round(o.legendItem.getBBox().height):0)-t.pages[n]>i||n!==e-1,o.a11yProxyElement&&(o.a11yProxyElement.style.visibility=n?"hidden":"visible")}))},onChartRender:function(){r(this.chart)?this.updateProxiesPositions():this.removeProxies()},updateProxiesPositions:function(){for(var t=0,e=this.proxyElementsList;t<e.length;t++){var i=e[t];this.updateProxyButtonPosition(i.element,i.posElement)}},updateProxyPositionForItem:function(t){var e=l(this.proxyElementsList,(function(e){return e.item===t}));e&&this.updateProxyButtonPosition(e.element,e.posElement)},recreateProxies:function(){this.removeProxies(),r(this.chart)&&(this.addLegendProxyGroup(),this.proxyLegendItems(),this.updateLegendItemProxyVisibility())},removeProxies:function(){p(this.legendProxyGroup),this.proxyElementsList=[]},addLegendProxyGroup:function(){var t=this.chart.options.accessibility,e=this.chart.langFormat("accessibility.legend.legendLabel",{});this.legendProxyGroup=this.addProxyGroup({"aria-label":e,role:"all"===t.landmarkVerbosity?"region":null})},proxyLegendItems:function(){var t=this;(this.chart.legend&&this.chart.legend.allItems||[]).forEach((function(e){e.legendItem&&e.legendItem.element&&t.proxyLegendItem(e)}))},proxyLegendItem:function(t){if(t.legendItem&&t.legendGroup){var e=this.chart.langFormat("accessibility.legend.legendItem",{chart:this.chart,itemName:d(t.name)}),i=t.legendGroup.div?t.legendItem:t.legendGroup;t.a11yProxyElement=this.createProxyButton(t.legendItem,this.legendProxyGroup,{tabindex:-1,"aria-pressed":!t.visible,"aria-label":e},i),this.proxyElementsList.push({item:t,element:t.a11yProxyElement,posElement:i})}},getKeyboardNavigation:function(){var t=this.keyCodes,e=this;return new n(this.chart,{keyCodeMap:[[[t.left,t.right,t.up,t.down],function(t){return e.onKbdArrowKey(this,t)}],[[t.enter,t.space],function(){return e.onKbdClick(this)}]],validate:function(){return e.shouldHaveLegendNavigation()},init:function(t){return e.onKbdNavigationInit(t)}})},onKbdArrowKey:function(t,e){var i=this.keyCodes,o=t.response,n=this.chart,s=n.options.accessibility,r=n.legend.allItems.length;return e=e===i.left||e===i.up?-1:1,n.highlightLegendItem(this.highlightedLegendItemIx+e)?(this.highlightedLegendItemIx+=e,o.success):1<r&&s.keyboardNavigation.wrapAround?(t.init(e),o.success):o[0<e?"next":"prev"]},onKbdClick:function(t){var e=this.chart.legend.allItems[this.highlightedLegendItemIx];return e&&e.a11yProxyElement&&c(e.a11yProxyElement,"click"),t.response.success},shouldHaveLegendNavigation:function(){var t=this.chart,e=t.colorAxis&&t.colorAxis.length,i=(t.options.legend||{}).accessibility||{};return!!(t.legend&&t.legend.allItems&&t.legend.display&&!e&&i.enabled&&i.keyboardNavigation&&i.keyboardNavigation.enabled)},onKbdNavigationInit:function(t){var e=this.chart,i=e.legend.allItems.length-1;t=0<t?0:i,e.highlightLegendItem(t),this.highlightedLegendItemIx=t}}),t})),e(t,"Accessibility/Components/MenuComponent.js",[t["Core/Globals.js"],t["Core/Utilities.js"],t["Accessibility/AccessibilityComponent.js"],t["Accessibility/KeyboardNavigationHandler.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Utils/HTMLUtilities.js"]],(function(t,e,
1i,o,n,s){function r(t){return t.exportSVGElements&&t.exportSVGElements[0]}e=e.extend;var a=n.unhideChartElementFromAT,h=s.removeElement,l=s.getFakeMouseEvent;return t.Chart.prototype.showExportMenu=function(){var t=r(this);t&&(t=t.element).onclick&&t.onclick(l("click"))},t.Chart.prototype.hideExportMenu=function(){var t=this.exportDivElements;t&&this.exportContextMenu&&(t.forEach((function(t){"highcharts-menu-item"===t.className&&t.onmouseout&&t.onmouseout(l("mouseout"))})),this.highlightedExportItemIx=0,this.exportContextMenu.hideMenu(),this.container.focus())},t.Chart.prototype.highlightExportItem=function(t){var e=this.exportDivElements&&this.exportDivElements[t],i=this.exportDivElements&&this.exportDivElements[this.highlightedExportItemIx];if(e&&"LI"===e.tagName&&(!e.children||!e.children.length)){var o=!!(this.renderTo.getElementsByTagName("g")[0]||{}).focus;return e.focus&&o&&e.focus(),i&&i.onmouseout&&i.onmouseout(l("mouseout")),e.onmouseover&&e.onmouseover(l("mouseover")),this.highlightedExportItemIx=t,!0}return!1},t.Chart.prototype.highlightLastExportItem=function(){var t;if(this.exportDivElements)for(t=this.exportDivElements.length;t--;)if(this.highlightExportItem(t))return!0;return!1},(t=function(){}).prototype=new i,e(t.prototype,{init:function(){var t=this.chart,e=this;this.addEvent(t,"exportMenuShown",(function(){e.onMenuShown()})),this.addEvent(t,"exportMenuHidden",(function(){e.onMenuHidden()}))},onMenuHidden:function(){var t=this.chart.exportContextMenu;t&&t.setAttribute("aria-hidden","true"),this.isExportMenuShown=!1,this.setExportButtonExpandedState("false")},onMenuShown:function(){var t=this.chart,e=t.exportContextMenu;e&&(this.addAccessibleContextMenuAttribs(),a(t,e)),this.isExportMenuShown=!0,this.setExportButtonExpandedState("true")},setExportButtonExpandedState:function(t){var e=this.exportButtonProxy;e&&e.setAttribute("aria-expanded",t)},onChartRender:function(){var t=this.chart,e=t.options.accessibility;h(this.exportProxyGroup);var i=t.options.exporting,o=r(t);i&&!1!==i.enabled&&i.accessibility&&i.accessibility.enabled&&o&&o.element&&(this.exportProxyGroup=this.addProxyGroup("all"===e.landmarkVerbosity?{"aria-label":t.langFormat("accessibility.exporting.exportRegionLabel",{chart:t}),role:"region"}:{}),e=r(this.chart),this.exportButtonProxy=this.createProxyButton(e,this.exportProxyGroup,{"aria-label":t.langFormat("accessibility.exporting.menuButtonLabel",{chart:t}),"aria-expanded":"false"}))},addAccessibleContextMenuAttribs:function(){var t=this.chart,e=t.exportDivElements;e&&e.length&&(e.forEach((function(t){"LI"!==t.tagName||t.children&&t.children.length?t.setAttribute("aria-hidden","true"):t.setAttribute("tabindex",-1)})),(e=e[0].parentNode).removeAttribute("aria-hidden"),e.setAttribute("aria-label",t.langFormat("accessibility.exporting.chartMenuLabel",{chart:t})))},getKeyboardNavigation:function(){var t=this.keyCodes,e=this.chart,i=this;return new o(e,{keyCodeMap:[[[t.left,t.up],function(){return i.onKbdPrevious(this)}],[[t.right,t.down],function(){return i.onKbdNext(this)}],[[t.enter,t.space],function(){return i.onKbdClick(this)}]],validate:function(){return e.exportChart&&!1!==e.options.exporting.enabled&&!1!==e.options.exporting.accessibility.enabled},init:function(){var t=i.exportButtonProxy,o=e.exportingGroup;o&&t&&e.setFocusToElement(o,t)},terminate:function(){e.hideExportMenu()}})},onKbdPrevious:function(t){var e=this.chart,i=e.options.accessibility;t=t.response;for(var o=e.highlightedExportItemIx||0;o--;)if(e.highlightExportItem(o))return t.success;return i.keyboardNavigation.wrapAround?(e.highlightLastExportItem(),t.success):t.prev},onKbdNext:function(t){var e=this.chart,i=e.options.accessibility;t=t.response;for(var o=(e.highlightedExportItemIx||0)+1;o<e.exportDivElements.length;++o)if(e.highlightExportItem(o))return t.success;return i.keyboardNavigation.wrapAround?(e.highlightExportItem(0),t.success):t.next},onKbdClick:function(t){var e=this.chart,i=e.exportDivElements[e.highlightedExportItemIx],o=r(e).element;return this.isExportMenuShown?this.fakeClickEvent(i):(this.fakeClickEvent(o),e.highlightExportItem(0)),t.response.success}}),t})),e(t,"Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js",[t["Core/Series/Series.js"],t["Core/Series/CartesianSeries.js"],t["Core/Chart/Chart.js"],t["Core/Series/Point.js"],t["Core/Utilities.js"],t["Accessibility/KeyboardNavigationHandler.js"],t["Accessibility/Utils/EventProvider.js"],t["Accessibility/Utils/ChartUtilities.js"]],(function(t,e,
1i,o,n,s,r,a){function h(t){var e=t.index,i=t.series.points,o=i.length;if(i[e]===t)return e;for(;o--;)if(i[o]===t)return o}function l(t){var e=t.chart.options.accessibility.keyboardNavigation.seriesNavigation,i=t.options.accessibility||{},o=i.keyboardNavigation;return o&&!1===o.enabled||!1===i.enabled||!1===t.options.enableMouseTracking||!t.visible||e.pointNavigationEnabledThreshold&&e.pointNavigationEnabledThreshold<=t.points.length}function c(t){var e=t.series.chart.options.accessibility;return t.isNull&&e.keyboardNavigation.seriesNavigation.skipNullPoints||!1===t.visible||l(t.series)}function d(t){return delete t.highlightedPoint,t.series.reduce((function(t,e){return t||e.highlightFirstValidPoint()}),!1)}function p(t,e){this.keyCodes=e,this.chart=t}var u=t.seriesTypes,f=n.defined;t=n.extend;var g=a.getPointFromXY,m=a.getSeriesFromName,y=a.scrollToPoint;return e.prototype.keyboardMoveVertical=!0,["column","pie"].forEach((function(t){u[t]&&(u[t].prototype.keyboardMoveVertical=!1)})),o.prototype.highlight=function(){var t=this.series.chart;return this.isNull?t.tooltip&&t.tooltip.hide(0):this.onMouseOver(),y(this),this.graphic&&t.setFocusToElement(this.graphic),t.highlightedPoint=this,this},i.prototype.highlightAdjacentPoint=function(t){var e=this.series,i=this.highlightedPoint,o=i&&h(i)||0,n=i&&i.series.points,s=this.series&&this.series[this.series.length-1];if(s=s&&s.points&&s.points[s.points.length-1],!e[0]||!e[0].points)return!1;if(i){if(e=e[i.series.index+(t?1:-1)],!(o=n[o+(t?1:-1)])&&e&&(o=e.points[t?0:e.points.length-1]),!o)return!1}else o=t?e[0].points[0]:s;return c(o)?(l(e=o.series)?this.highlightedPoint=t?e.points[e.points.length-1]:e.points[0]:this.highlightedPoint=o,this.highlightAdjacentPoint(t)):o.highlight()},e.prototype.highlightFirstValidPoint=function(){var t=this.chart.highlightedPoint,e=(t&&t.series)===this?h(t):0,i=(t=this.points).length;if(t&&i){for(var o=e;o<i;++o)if(!c(t[o]))return t[o].highlight();for(;0<=e;--e)if(!c(t[e]))return t[e].highlight()}return!1},i.prototype.highlightAdjacentSeries=function(t){var e,i=this.highlightedPoint,o=(e=this.series&&this.series[this.series.length-1])&&e.points&&e.points[e.points.length-1];return this.highlightedPoint?!!(e=this.series[i.series.index+(t?-1:1)])&&(!!(o=function(t,e,i,o){var n=1/0,s=e.points.length,r=function(t){return!(f(t.plotX)&&f(t.plotY))};if(!r(t)){for(;s--;){var a=e.points[s];if(!r(a)&&(a=(t.plotX-a.plotX)*(t.plotX-a.plotX)*(i||1)+(t.plotY-a.plotY)*(t.plotY-a.plotY)*(o||1))<n){n=a;var h=s}}return f(h)?e.points[h]:void 0}}(i,e,4))&&(l(e)?(o.highlight(),(t=this.highlightAdjacentSeries(t))||(i.highlight(),!1)):(o.highlight(),o.series.highlightFirstValidPoint()))):(e=t?this.series&&this.series[0]:e,!!(o=t?e&&e.points&&e.points[0]:o)&&o.highlight())},i.prototype.highlightAdjacentPointVertical=function(t){var e,i=this.highlightedPoint,o=1/0;return!(!f(i.plotX)||!f(i.plotY))&&(this.series.forEach((function(n){l(n)||n.points.forEach((function(s){if(f(s.plotY)&&f(s.plotX)&&s!==i){var r=s.plotY-i.plotY,a=Math.abs(s.plotX-i.plotX);a=Math.abs(r)*Math.abs(r)+a*a*4,n.yAxis&&n.yAxis.reversed&&(r*=-1),!(0>=r&&t||0<=r&&!t||5>a||c(s))&&a<o&&(o=a,e=s)}}))})),!!e&&e.highlight())},t(p.prototype,{init:function(){var t=this,i=this.chart,o=this.eventProvider=new r;o.addEvent(e,"destroy",(function(){return t.onSeriesDestroy(this)})),o.addEvent(i,"afterDrilldown",(function(){d(this),this.focusElement&&this.focusElement.removeFocusBorder()})),o.addEvent(i,"drilldown",(function(e){var i=(e=e.point).series;t.lastDrilledDownPoint={x:e.x,y:e.y,seriesName:i?i.name:""}})),o.addEvent(i,"drillupall",(function(){setTimeout((function(){t.onDrillupAll()}),10)}))},onDrillupAll:function(){var t,e=this.lastDrilledDownPoint,i=this.chart,o=e&&m(i,e.seriesName);e&&o&&f(e.x)&&f(e.y)&&(t=g(o,e.x,e.y)),i.container&&i.container.focus(),t&&t.highlight&&t.highlight(),i.focusElement&&i.focusElement.removeFocusBorder()},getKeyboardNavigationHandler:function(){var t=this,e=this.keyCodes,i=this.chart,o=i.inverted;return new s(i,{keyCodeMap:[[o?[e.up,e.down]:[e.left,e.right],function(e){return t.onKbdSideways(this,e)}],[o?[e.left,e.right]:[e.up,e.down],function(e){return t.onKbdVertical(this,e)}],[[e.enter,e.space],function(){return i.highlightedPoint&&i.highlightedPoint.firePointEvent("click"),this.response.success}]],init:function(e){return t.onHandlerInit(this,e)},terminate:function(){return t.onHandlerTerminate()}})},onKbdSideways:function(t,e){var i=this.keyCodes;return this.attemptHighlightAdjacentPoint(t,e===i.right||e===i.down)},onKbdVertical:function(t,e){var i=this.chart,o=this.keyCodes;return e=e===o.down||e===o.right,(o=i.options.accessibility.keyboardNavigation.seriesNavigation).mode&&"serialize"===o.mode?this.attemptHighlightAdjacentPoint(t,e):(i[i.highlightedPoint&&i.highlightedPoint.series.keyboardMoveVertical?"highlightAdjacentPointVertical":"highlightAdjacentSeries"](e),t.response.success)},onHandlerInit:function(t,e){var i=this.chart;if(0<e)d(i);else{e=i.series.length;for(;e--&&(i.highlightedPoint=i.series[e].points[i.series[e].points.length-1],!i.series[e].highlightFirstValidPoint()););}return t.response.success},onHandlerTerminate:function(){var t,e,i=this.chart,o=i.highlightedPoint;null===(t=i.tooltip)||void 0===t||t.hide(0),null===(e=null==o?void 0:o.onMouseOut)||void 0===e||e.call(o),delete i.highlightedPoint},attemptHighlightAdjacentPoint:function(t,e){var i=this.chart,o=i.options.accessibility.keyboardNavigation.wrapAround;return i.highlightAdjacentPoint(e)?t.response.success:o?t.init(e?1:-1):t.response[e?"next":"prev"]},onSeriesDestroy:function(t){var e=this.chart;e.highlightedPoint&&e.highlightedPoint.series===t&&(delete e.highlightedPoint,e.focusElement&&e.focusElement.removeFocusBorder())},destroy:function(){this.eventProvider.removeAddedEvents()}}),p})),e(t,"Accessibility/Components/AnnotationsA11y.js",[t["Accessibility/Utils/HTMLUtilities.js"]],(function(t){function e(t){return(t.annotations||[]).reduce((function(t,e){var i;return!1!==(null===(i=e.options)||void 0===i?void 0:i.visible)&&(t=t.concat(e.labels)),t}),[])}function i(t){var e,i,o,n,s=null===(i=null===(e=t.options)||void 0===e?void 0:e.accessibility)||void 0===i?void 0:i.description;return s||((null===(n=null===(o=t.graphic)||void 0===o?void 0:o.text)||void 0===n?void 0:n.textStr)||"")}function o(t){var e,o,n=null===(o=null===(e=t.options)||void 0===e?void 0:e.accessibility)||void 0===o?void 0:o.description;if(n)return n;e=t.chart,o=i(t);var s=(n=t.points.filter((function(t){return!!t.graphic})).map((function(t){var e,i,o,n;(i=null===(e=null==t?void 0:t.accessibility)||void 0===e?void 0:e.valueDescription)||(i=(null===(n=null===(o=null==t?void 0:t.graphic)||void 0===o?void 0:o.element)||void 0===n?void 0:n.getAttribute("aria-label"))||"");return((t=(null==t?void 0:t.series.name)||"")?t+", ":"")+"data point "+i})).filter((function(t){return!!t}))).length;return t="accessibility.screenReaderSection.annotations.description"+(1<s?"MultiplePoints":s?"SinglePoint":"NoPoints"),o={annotationText:o,numPoints:s,annotationPoint:n[0],additionalAnnotationPoints:n.slice(1)},e.langFormat(t,o)}function n(t){return e(t).map((function(t){return(t=s(r(o(t))))?"<li>"+t+"</li>":""}))}var s=t.escapeStringForHTML,r=t.stripHTMLTagsFromString;return{getAnnotationsInfoHTML:function(t){var e=t.annotations;return e&&e.length?"<ul>"+n(t).join(" ")+"</ul>":""},getAnnotationLabelDescription:o,getAnnotationListItems:n,getPointAnnotationTexts:function(t){var o=e(t.series.chart).filter((function(e){return-1<e.points.indexOf(t)}));return o.length?o.map((function(t){return""+i(t)})):[]}}})),e(t,"Accessibility/Components/SeriesComponent/SeriesDescriber.js",[t["Accessibility/Components/AnnotationsA11y.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Utils/HTMLUtilities.js"],t["Core/Tooltip.js"],t["Core/Utilities.js"]],(function(t,e,
1i,o,n){function s(t){var e=t.chart.options.accessibility.series.pointDescriptionEnabledThreshold;return!!(!1!==e&&t.points&&t.points.length>=e)}function r(t,e){var i=t.series.chart,o=i.options.accessibility.point||{};return t=t.series.tooltipOptions||{},i=i.options.lang,A(e)?M(e,o.valueDecimals||t.valueDecimals||-1,i.decimalPoint,i.accessibility.thousandsSep||i.thousandsSep):e}function a(t,e){return t.chart.langFormat("accessibility.series."+e+"Description",{name:m(t[e]),series:t})}function h(t){var e=t.series,i=e.chart,n=i.options.accessibility.point||{};if(e.xAxis&&e.xAxis.dateTime)return e=o.prototype.getXDateFormat.call({getDateFormat:o.prototype.getDateFormat,chart:i},t,i.options.tooltip,e.xAxis),n=n.dateFormatter&&n.dateFormatter(t)||n.dateFormat||e,i.time.dateFormat(n,t.x,void 0)}function l(t){var e=h(t),i=(t.series.xAxis||{}).categories&&T(t.category)&&(""+t.category).replace("<br/>"," "),o=t.id&&0>t.id.indexOf("highcharts-"),n="x, "+t.x;return t.name||e||i||(o?t.id:n)}function c(t){var e=t.series,i=e.chart.options.accessibility.point||{},o=e.tooltipOptions||{},n=i.valuePrefix||o.valuePrefix||"";return i=i.valueSuffix||o.valueSuffix||"",o=r(t,t[void 0!==t.value?"value":"y"]),t.isNull?e.chart.langFormat("accessibility.series.nullPointValue",{point:t}):e.pointArrayMap?function(t,e,i){var o=e||"",n=i||"";return t.series.pointArrayMap.reduce((function(e,i){e+=e.length?", ":"";var s=r(t,P(t[i],t.options[i]));return e+(i+": ")+o+s+n}),"")}(t,n,i):n+o+i}function d(t){var e=t.series,i=e.chart,o=i.options.accessibility.point.valueDescriptionFormat,n=(e=P(e.xAxis&&e.xAxis.options.accessibility&&e.xAxis.options.accessibility.enabled,!i.angular))?l(t):"";return t={point:t,index:T(t.index)?t.index+1:"",xDescription:n,value:c(t),separator:e?", ":""},k(o,t,i)}function p(t){var e=t.series,i=e.chart,o=d(t),n=t.options&&t.options.accessibility&&t.options.accessibility.description;n=n?" "+n:"",e=1<i.series.length&&e.name?" "+e.name+".":"",i=t.series.chart;var s=g(t),r={point:t,annotations:s};return i=s.length?i.langFormat("accessibility.series.pointAnnotationsDescription",r):"",t.accessibility=t.accessibility||{},t.accessibility.valueDescription=o,o+n+e+(i?" "+i:"")}function u(t){var e=function(t){var e=t.options.accessibility||{};return!s(t)&&!e.exposeAsGroupOnly}(t),i=function(t){var e=t.chart.options.accessibility.keyboardNavigation.seriesNavigation;return!(!t.points||!(t.points.length<e.pointNavigationEnabledThreshold||!1===e.pointNavigationEnabledThreshold))}(t);(e||i)&&t.points.forEach((function(t){var i;if(!(i=t.graphic&&t.graphic.element)&&(i=t.series&&t.series.is("sunburst"),i=t.isNull&&!i)){var o=t.series,n=function(t){var e=t.index;return t.series&&t.series.data&&T(e)&&S(t.series.data,(function(t){return!!(t&&void 0!==t.index&&t.index>e&&t.graphic&&t.graphic.element)}))||null}(t);o=(i=n&&n.graphic)?i.parentGroup:o.graph||o.group,n=n?{x:P(t.plotX,n.plotX,0),y:P(t.plotY,n.plotY,0)}:{x:P(t.plotX,0),y:P(t.plotY,0)},(n=t.series.chart.renderer.rect(n.x,n.y,1,1)).attr({class:"highcharts-a11y-dummy-point",fill:"none",opacity:0,"fill-opacity":0,"stroke-opacity":0}),o&&o.element?(t.graphic=n,t.hasDummyGraphic=!0,n.add(o),o.element.insertBefore(n.element,i?i.element:null),i=n.element):i=void 0}i&&(i.setAttribute("tabindex","-1"),i.style.outline="0",e?(o=(n=t.series).chart.options.accessibility.point||{},n=n.options.accessibility||{},t=b(C(n.pointDescriptionFormatter&&n.pointDescriptionFormatter(t)||o.descriptionFormatter&&o.descriptionFormatter(t)||p(t))),i.setAttribute("role","img"),i.setAttribute("aria-label",t)):i.setAttribute("aria-hidden",!0))}))}function f(t){var e=t.chart,i=e.types||[],o=function(t){var e=(t.options.accessibility||{}).description;return e&&t.chart.langFormat("accessibility.series.description",{description:e,series:t})||""}(t),n=function(i){return e[i]&&1<e[i].length&&t[i]},s=a(t,"xAxis"),r=a(t,"yAxis"),h={name:t.name||"",ix:t.index+1,numSeries:e.series&&e.series.length,numPoints:t.points&&t.points.length,series:t};return i=1<i.length?"Combination":"",(e.langFormat("accessibility.series.summary."+t.type+i,h)||e.langFormat("accessibility.series.summary.default"+i,h))+(o?" "+o:"")+(n("yAxis")?" "+r:"")+(n("xAxis")?" "+s:"")}var g=t.getPointAnnotationTexts,m=e.getAxisDescription,y=e.getSeriesFirstPointElement,v=e.getSeriesA11yElement,x=e.unhideChartElementFromAT,b
1=i.escapeStringForHTML,w=i.reverseChildNodes,C=i.stripHTMLTagsFromString,S=n.find,k=n.format,A=n.isNumber,M=n.numberFormat,P=n.pick,T=n.defined;return{describeSeries:function(t){var e=t.chart,i=y(t),o=v(t),n=e.is3d&&e.is3d();if(o){o.lastChild!==i||n||w(o),u(t),x(e,o),e=(n=t.chart).options.chart||{},i=1<n.series.length,n=n.options.accessibility.series.describeSingleSeries;var r=(t.options.accessibility||{}).exposeAsGroupOnly;e.options3d&&e.options3d.enabled&&i||!(i||n||r||s(t))?o.setAttribute("aria-label",""):(i=(e=t.chart.options.accessibility).landmarkVerbosity,(t.options.accessibility||{}).exposeAsGroupOnly?o.setAttribute("role","img"):"all"===i&&o.setAttribute("role","region"),o.setAttribute("tabindex","-1"),o.style.outline="0",o.setAttribute("aria-label",b(C(e.series.descriptionFormatter&&e.series.descriptionFormatter(t)||f(t)))))}},defaultPointDescriptionFormatter:p,defaultSeriesDescriptionFormatter:f,getPointA11yTimeDescription:h,getPointXDescription:l,getPointValue:c,getPointValueDescription:d}})),e(t,"Accessibility/Utils/Announcer.js",[t["Core/Globals.js"],t["Accessibility/Utils/DOMElementProvider.js"],t["Accessibility/Utils/HTMLUtilities.js"]],(function(t,e,i){var o=i.visuallyHideElement;return i=function(){function t(t,i){this.chart=t,this.domElementProvider=new e,this.announceRegion=this.addAnnounceRegion(i)}return t.prototype.destroy=function(){this.domElementProvider.destroyCreatedElements()},t.prototype.announce=function(t){var e=this;this.announceRegion.innerHTML=t,this.clearAnnouncementRegionTimer&&clearTimeout(this.clearAnnouncementRegionTimer),this.clearAnnouncementRegionTimer=setTimeout((function(){e.announceRegion.innerHTML="",delete e.clearAnnouncementRegionTimer}),1e3)},t.prototype.addAnnounceRegion=function(t){var e=this.chart.renderTo,i=this.domElementProvider.createElement("div");return i.setAttribute("aria-hidden",!1),i.setAttribute("aria-live",t),o(i),e.insertBefore(i,e.firstChild),i},t}(),t.Announcer=i})),e(t,"Accessibility/Components/SeriesComponent/NewDataAnnouncer.js",[t["Core/Globals.js"],t["Core/Series/CartesianSeries.js"],t["Core/Utilities.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Components/SeriesComponent/SeriesDescriber.js"],t["Accessibility/Utils/Announcer.js"],t["Accessibility/Utils/EventProvider.js"]],(function(t,e,i,o,n,s,r){var a=i.extend,h=i.defined,l=o.getChartTitle,c=n.defaultPointDescriptionFormatter,d=n.defaultSeriesDescriptionFormatter;return a((i=function(t){this.chart=t}).prototype,{init:function(){var t=this.chart,e=t.options.accessibility.announceNewData.interruptUser?"assertive":"polite";this.lastAnnouncementTime=0,this.dirty={allSeries:{}},this.eventProvider=new r,this.announcer=new s(t,e),this.addEventListeners()},destroy:function(){this.eventProvider.removeAddedEvents(),this.announcer.destroy()},addEventListeners:function(){var t=this,i=this.chart,o=this.eventProvider;o.addEvent(i,"afterDrilldown",(function(){t.lastAnnouncementTime=0})),o.addEvent(e,"updatedData",(function(){t.onSeriesUpdatedData(this)})),o.addEvent(i,"afterAddSeries",(function(e){t.onSeriesAdded(e.series)})),o.addEvent(e,"addPoint",(function(e){t.onPointAdded(e.point)})),o.addEvent(i,"redraw",(function(){t.announceDirtyData()}))},onSeriesUpdatedData:function(t){var e=this.chart;t.chart===e&&e.options.accessibility.announceNewData.enabled&&(this.dirty.hasDirty=!0,this.dirty.allSeries[t.name+t.index]=t)},onSeriesAdded:function(t){this.chart.options.accessibility.announceNewData.enabled&&(this.dirty.hasDirty=!0,this.dirty.allSeries[t.name+t.index]=t,this.dirty.newSeries=h(this.dirty.newSeries)?void 0:t)},onPointAdded:function(t){var e=t.series.chart;this.chart===e&&e.options.accessibility.announceNewData.enabled&&(this.dirty.newPoint=h(this.dirty.newPoint)?void 0:t)},announceDirtyData:function(){var t=this;if(this.chart.options.accessibility.announceNewData&&this.dirty.hasDirty){var e=this.dirty.newPoint;e&&(e=function(t){var e=t.series.data.filter((function(e){return t.x===e.x&&t.y===e.y}));return 1===e.length?e[0]:t}(e)),this.queueAnnouncement(Object.keys(this.dirty.allSeries).map((function(e){return t.dirty.allSeries[e]})),this.dirty.newSeries,e),this.dirty={allSeries:{}}}}
1,queueAnnouncement:function(t,e,i){var o=this,n=this.chart.options.accessibility.announceNewData;if(n.enabled){var s=+new Date;n=Math.max(0,n.minAnnounceInterval-(s-this.lastAnnouncementTime)),t=function(t,e){var i=(t||[]).concat(e||[]).reduce((function(t,e){return t[e.name+e.index]=e,t}),{});return Object.keys(i).map((function(t){return i[t]}))}(this.queuedAnnouncement&&this.queuedAnnouncement.series,t),(e=this.buildAnnouncementMessage(t,e,i))&&(this.queuedAnnouncement&&clearTimeout(this.queuedAnnouncementTimer),this.queuedAnnouncement={time:s,message:e,series:t},this.queuedAnnouncementTimer=setTimeout((function(){o&&o.announcer&&(o.lastAnnouncementTime=+new Date,o.announcer.announce(o.queuedAnnouncement.message),delete o.queuedAnnouncement,delete o.queuedAnnouncementTimer)}),n))}},buildAnnouncementMessage:function(e,i,o){var n=this.chart,s=n.options.accessibility.announceNewData;return s.announcementFormatter&&!1!==(e=s.announcementFormatter(e,i,o))?e.length?e:null:(e=t.charts&&1<t.charts.length?"Multiple":"Single",e=i?"newSeriesAnnounce"+e:o?"newPointAnnounce"+e:"newDataAnnounce",s=l(n),n.langFormat("accessibility.announceNewData."+e,{chartTitle:s,seriesDesc:i?d(i):null,pointDesc:o?c(o):null,point:o,series:i}))}}),i})),e(t,"Accessibility/Components/SeriesComponent/ForcedMarkers.js",[t["Core/Series/CartesianSeries.js"],t["Core/Utilities.js"]],(function(t,e){function i(t){n(!0,t,{marker:{enabled:!0,states:{normal:{opacity:0}
1}}})}var o=e.addEvent,n=e.merge;return function(){o(t,"render",(function(){var t=this.options,e=!1!==(this.options.accessibility&&this.options.accessibility.enabled);if((e=this.chart.options.accessibility.enabled&&e)&&(e=this.chart.options.accessibility,e=this.points.length<e.series.pointDescriptionEnabledThreshold||!1===e.series.pointDescriptionEnabledThreshold),e){if(t.marker&&!1===t.marker.enabled&&(this.a11yMarkersForced=!0,i(this.options)),this._hasPointMarkers&&this.points&&this.points.length)for(t=this.points.length;t--;){var o=(e=this.points[t]).options;delete e.hasForcedA11yMarker,o.marker&&(o.marker.enabled?(n(!0,o.marker,{states:{normal:{opacity:o.marker.states&&o.marker.states.normal&&o.marker.states.normal.opacity||1}}}),e.hasForcedA11yMarker=!1):(i(o),e.hasForcedA11yMarker=!0))}}else this.a11yMarkersForced&&(delete this.a11yMarkersForced,(t=this.resetA11yMarkerOptions)&&n(!0,this.options,{marker:{enabled:t.enabled,states:{normal:{opacity:t.states&&t.states.normal&&t.states.normal.opacity}}}}))})),o(t,"afterSetOptions",(function(t){this.resetA11yMarkerOptions=n(t.options.marker||{},this.userOptions.marker||{})})),o(t,"afterRender",(function(){this.chart.styledMode&&(this.markerGroup&&this.markerGroup[this.a11yMarkersForced?"addClass":"removeClass"]("highcharts-a11y-markers-hidden"),this._hasPointMarkers&&this.points&&this.points.length&&this.points.forEach((function(t){t.graphic&&(t.graphic[t.hasForcedA11yMarker?"addClass":"removeClass"]("highcharts-a11y-marker-hidden"),t.graphic[!1===t.hasForcedA11yMarker?"addClass":"removeClass"]("highcharts-a11y-marker-visible"))})))}))}})),e(t,"Accessibility/Components/SeriesComponent/SeriesComponent.js",[t["Core/Globals.js"],t["Core/Utilities.js"],t["Accessibility/AccessibilityComponent.js"],t["Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js"],t["Accessibility/Components/SeriesComponent/NewDataAnnouncer.js"],t["Accessibility/Components/SeriesComponent/ForcedMarkers.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Components/SeriesComponent/SeriesDescriber.js"],t["Core/Tooltip.js"]],(function(t,e,i,o,n,s,r,a,h){e=e.extend;var l=r.hideSeriesFromAT,c=a.describeSeries;return t.SeriesAccessibilityDescriber=a,s(),(t=function(){}).prototype=new i,e(t.prototype,{init:function(){this.newDataAnnouncer=new n(this.chart),this.newDataAnnouncer.init(),this.keyboardNavigation=new o(this.chart,this.keyCodes),this.keyboardNavigation.init(),this.hideTooltipFromATWhenShown(),this.hideSeriesLabelsFromATWhenShown()},hideTooltipFromATWhenShown:function(){var t=this;this.addEvent(h,"refresh",(function(){this.chart===t.chart&&this.label&&this.label.element&&this.label.element.setAttribute("aria-hidden",!0)}))},hideSeriesLabelsFromATWhenShown:function(){this.addEvent(this.chart,"afterDrawSeriesLabels",(function(){this.series.forEach((function(t){t.labelBySeries&&t.labelBySeries.attr("aria-hidden",!0)}))}))},onChartRender:function(){this.chart.series.forEach((function(t){!1!==(t.options.accessibility&&t.options.accessibility.enabled)&&t.visible?c(t):l(t)}))},getKeyboardNavigation:function(){return this.keyboardNavigation.getKeyboardNavigationHandler()},destroy:function(){this.newDataAnnouncer.destroy(),this.keyboardNavigation.destroy()}}),t})),e(t,"Accessibility/Components/ZoomComponent.js",[t["Accessibility/AccessibilityComponent.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Core/Globals.js"],t["Accessibility/Utils/HTMLUtilities.js"],t["Accessibility/KeyboardNavigationHandler.js"],t["Core/Utilities.js"]],(function(t,e,i,o,n,s){var r=e.unhideChartElementFromAT;e=i.noop;var a=o.removeElement,h=o.setElAttrs;o=s.extend;var l=s.pick;return i.Axis.prototype.panStep=function(t,e){var i=e||3,o=((e=this.getExtremes()).max-e.min)/i*t,n=(i=e.max+o)-(o=e.min+o);0>t&&o<e.dataMin?i=(o=e.dataMin)+n:0<t&&i>e.dataMax&&(o=(i=e.dataMax)-n),this.setExtremes(o,i)},e.prototype=new t,o(e.prototype,{init:function(){var t=this,e=this.chart;["afterShowResetZoom","afterDrilldown","drillupall"].forEach((function(i){t.addEvent(e,i,(function(){t.updateProxyOverlays()}))}))},onChartUpdate:function(){var t=this.chart,e=this;t.mapNavButtons&&t.mapNavButtons.forEach((function(i,o){r(t,i.element),e.setMapNavButtonAttrs(i.element,"accessibility.zoom.mapZoom"+(o?"Out":"In"))}))},setMapNavButtonAttrs:function(t,e){var i=this.chart;e=i.langFormat(e,{chart:i}),h(t,{tabindex:-1,role:"button","aria-label":e})},onChartRender:function(){this.updateProxyOverlays()},updateProxyOverlays:function(){var t=this.chart;a(this.drillUpProxyGroup),a(this.resetZoomProxyGroup),t.resetZoomButton&&this.recreateProxyButtonAndGroup(t.resetZoomButton,"resetZoomProxyButton","resetZoomProxyGroup",t.langFormat("accessibility.zoom.resetZoomButton",{chart:t})),t.drillUpButton&&this.recreateProxyButtonAndGroup(t.drillUpButton,"drillUpProxyButton","drillUpProxyGroup",t.langFormat("accessibility.drillUpButton",{chart:t,buttonText:t.getDrilldownBackText()}))}
1,recreateProxyButtonAndGroup:function(t,e,i,o){a(this[i]),this[i]=this.addProxyGroup(),this[e]=this.createProxyButton(t,this[i],{"aria-label":o,tabindex:-1})},getMapZoomNavigation:function(){var t=this.keyCodes,e=this.chart,i=this;return new n(e,{keyCodeMap:[[[t.up,t.down,t.left,t.right],function(t){return i.onMapKbdArrow(this,t)}],[[t.tab],function(t,e){return i.onMapKbdTab(this,e)}],[[t.space,t.enter],function(){return i.onMapKbdClick(this)}]],validate:function(){return!!(e.mapZoom&&e.mapNavButtons&&e.mapNavButtons.length)},init:function(t){return i.onMapNavInit(t)}})},onMapKbdArrow:function(t,e){var i=this.keyCodes;return this.chart[e===i.up||e===i.down?"yAxis":"xAxis"][0].panStep(e===i.left||e===i.up?-1:1),t.response.success},onMapKbdTab:function(t,e){var i=this.chart;t=t.response;var o=(e=e.shiftKey)&&!this.focusedMapNavButtonIx||!e&&this.focusedMapNavButtonIx;return i.mapNavButtons[this.focusedMapNavButtonIx].setState(0),o?(i.mapZoom(),t[e?"prev":"next"]):(this.focusedMapNavButtonIx+=e?-1:1,e=i.mapNavButtons[this.focusedMapNavButtonIx],i.setFocusToElement(e.box,e.element),e.setState(2),t.success)},onMapKbdClick:function(t){return this.fakeClickEvent(this.chart.mapNavButtons[this.focusedMapNavButtonIx].element),t.response.success},onMapNavInit:function(t){var e=this.chart,i=e.mapNavButtons[0],o=e.mapNavButtons[1];i=0<t?i:o,e.setFocusToElement(i.box,i.element),i.setState(2),this.focusedMapNavButtonIx=0<t?0:1},simpleButtonNavigation:function(t,e,i){var o=this.keyCodes,s=this,r=this.chart;return new n(r,{keyCodeMap:[[[o.tab,o.up,o.down,o.left,o.right],function(t,e){return this.response[t===o.tab&&e.shiftKey||t===o.left||t===o.up?"prev":"next"]}],[[o.space,o.enter],function(){var t=i(this,r);return l(t,this.response.success)}]],validate:function(){return r[t]&&r[t].box&&s[e]},init:function(){r.setFocusToElement(r[t].box,s[e])}})},getKeyboardNavigation:function(){return[this.simpleButtonNavigation("resetZoomButton","resetZoomProxyButton",(function(t,e){e.zoomOut()})),this.simpleButtonNavigation("drillUpButton","drillUpProxyButton",(function(t,e){return e.drillUp(),t.response.prev})),this.getMapZoomNavigation()]}}),e})),e(t,"Accessibility/Components/RangeSelectorComponent.js",[t["Accessibility/AccessibilityComponent.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Core/Globals.js"],t["Accessibility/Utils/HTMLUtilities.js"],t["Accessibility/KeyboardNavigationHandler.js"],t["Core/Utilities.js"]],(function(t,e,i,o,n,s){var r=e.unhideChartElementFromAT,a=o.setElAttrs;return e=s.extend,i.Chart.prototype.highlightRangeSelectorButton=function(t){var e=this.rangeSelector.buttons,i=this.highlightedRangeSelectorItemIx;return void 0!==i&&e[i]&&e[i].setState(this.oldRangeSelectorItemState||0),this.highlightedRangeSelectorItemIx=t,!!e[t]&&(this.setFocusToElement(e[t].box,e[t].element),this.oldRangeSelectorItemState=e[t].state,e[t].setState(2),!0)},(i=function(){}).prototype=new t,e(i.prototype,{onChartUpdate:function(){var t=this.chart,e=this,i=t.rangeSelector;i&&(i.buttons&&i.buttons.length&&i.buttons.forEach((function(i){r(t,i.element),e.setRangeButtonAttrs(i)})),i.maxInput&&i.minInput&&["minInput","maxInput"].forEach((function(o,n){(o=i[o])&&(r(t,o),e.setRangeInputAttrs(o,"accessibility.rangeSelector."+(n?"max":"min")+"InputLabel"))})))},setRangeButtonAttrs:function(t){var e=this.chart;e=e.langFormat("accessibility.rangeSelector.buttonText",{chart:e,buttonText:t.text&&t.text.textStr}),a(t.element,{tabindex:-1,role:"button","aria-label":e})},setRangeInputAttrs:function(t,e){var i=this.chart;a(t,{tabindex:-1,role:"textbox","aria-label":i.langFormat(e,{chart:i})})},getRangeSelectorButtonNavigation:function(){var t=this.chart,e=this.keyCodes,i=this;return new n(t,{keyCodeMap:[[[e.left,e.right,e.up,e.down],function(t){return i.onButtonNavKbdArrowKey(this,t)}],[[e.enter,e.space],function(){return i.onButtonNavKbdClick(this)}]],validate:function(){return t.rangeSelector&&t.rangeSelector.buttons&&t.rangeSelector.buttons.length},init:function(e){var i=t.rangeSelector.buttons.length-1;t.highlightRangeSelectorButton(0<e?0:i)}})},onButtonNavKbdArrowKey:function(t,e){var i=t.response,o=this.keyCodes,n=this.chart,s=n.options.accessibility.keyboardNavigation.wrapAround;return e=e===o.left||e===o.up?-1:1,n.highlightRangeSelectorButton(n.highlightedRangeSelectorItemIx+e)?i.success:s?(t.init(e),i.success):i[0<e?"next":"prev"]},onButtonNavKbdClick:function(t){t=t.response;var e=this.chart;return 3!==e.oldRangeSelectorItemState&&this.fakeClickEvent(e.rangeSelector.buttons[e.highlightedRangeSelectorItemIx].element),t.success},getRangeSelectorInputNavigation:function(){var t=this.chart,e=this.keyCodes,i=this;return new n(t,{keyCodeMap:[[[e.tab,e.up,e.down],function(t,o){return i.onInputKbdMove(this,t===e.tab&&o.shiftKey||t===e.up?-1:1)}]],validate:function(){return t.rangeSelector&&t.rangeSelector.inputGroup&&"hidden"
1!==t.rangeSelector.inputGroup.element.getAttribute("visibility")&&!1!==t.options.rangeSelector.inputEnabled&&t.rangeSelector.minInput&&t.rangeSelector.maxInput},init:function(t){i.onInputNavInit(t)},terminate:function(){i.onInputNavTerminate()}})},onInputKbdMove:function(t,e){var i=this.chart;t=t.response;var o=i.highlightedInputRangeIx+=e;return 1<o||0>o?t[0<e?"next":"prev"]:(i.rangeSelector[o?"maxInput":"minInput"].focus(),t.success)},onInputNavInit:function(t){var e=this.chart;t=0<t?0:1,e.highlightedInputRangeIx=t,e.rangeSelector[t?"maxInput":"minInput"].focus()},onInputNavTerminate:function(){var t=this.chart.rangeSelector||{};t.maxInput&&t.hideInput("max"),t.minInput&&t.hideInput("min")},getKeyboardNavigation:function(){return[this.getRangeSelectorButtonNavigation(),this.getRangeSelectorInputNavigation()]}}),i})),e(t,"Accessibility/Components/InfoRegionsComponent.js",[t["Core/Globals.js"],t["Core/Utilities.js"],t["Accessibility/AccessibilityComponent.js"],t["Accessibility/Utils/Announcer.js"],t["Accessibility/Components/AnnotationsA11y.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Utils/HTMLUtilities.js"]],(function(t,e,i,o,n,s,r){function a(t){return t.replace(/<(h[1-7]|p|div|ul|ol|li)>/g,"<$1>").replace(/</(h[1-7]|p|div|ul|ol|li|a|button)>/g,"</$1>").replace(/<(div|a|button) id="([a-zA-Z\-0-9#]*?)">/g,'<$1 id="$2">')}var h=t.doc,l=e.extend,c=e.format,d=e.pick,p=n.getAnnotationsInfoHTML,u=s.unhideChartElementFromAT,f=s.getChartTitle,g=s.getAxisDescription,m=r.addClass,y=r.setElAttrs,v=r.escapeStringForHTML,x=r.stripHTMLTagsFromString,b=r.getElement,w=r.visuallyHideElement;return t.Chart.prototype.getTypeDescription=function(t){var e=t[0],i=this.series&&this.series[0]||{};if(i={numSeries:this.series.length,numPoints:i.points&&i.points.length,chart:this,mapTitle:i.mapTitle},!e)return this.langFormat("accessibility.chartTypes.emptyChart",i);if("map"===e)return i.mapTitle?this.langFormat("accessibility.chartTypes.mapTypeDescription",i):this.langFormat("accessibility.chartTypes.unknownMap",i);if(1<this.types.length)return this.langFormat("accessibility.chartTypes.combinationChart",i);t=t[0],e=this.langFormat("accessibility.seriesTypeDescriptions."+t,i);var o=this.series&&2>this.series.length?"Single":"Multiple";return(this.langFormat("accessibility.chartTypes."+t+o,i)||this.langFormat("accessibility.chartTypes.default"+o,i))+(e?" "+e:"")},(e=function(){}).prototype=new i,l(e.prototype,{init:function(){var t=this.chart,e=this;this.initRegionsDefinitions(),this.addEvent(t,"afterGetTable",(function(t){e.onDataTableCreated(t)})),this.addEvent(t,"afterViewData",(function(t){e.dataTableDiv=t,setTimeout((function(){e.focusDataTable()}),300)})),this.announcer=new o(t,"assertive")},initRegionsDefinitions:function(){var t=this;this.screenReaderSections={before:{element:null,buildContent:function(e){var i=e.options.accessibility.screenReaderSection.beforeChartFormatter;return i?i(e):t.defaultBeforeChartFormatter(e)},insertIntoDOM:function(t,e){e.renderTo.insertBefore(t,e.renderTo.firstChild)},afterInserted:function(){void 0!==t.sonifyButtonId&&t.initSonifyButton(t.sonifyButtonId),void 0!==t.dataTableButtonId&&t.initDataTableButton(t.dataTableButtonId)}},after:{element:null,buildContent:function(e){var i=e.options.accessibility.screenReaderSection.afterChartFormatter;return i?i(e):t.defaultAfterChartFormatter()},insertIntoDOM:function(t,e){e.renderTo.insertBefore(t,e.container.nextSibling)}}}},onChartRender:function(){var t=this;this.linkedDescriptionElement=this.getLinkedDescriptionElement(),this.setLinkedDescriptionAttrs(),Object.keys(this.screenReaderSections).forEach((function(e){t.updateScreenReaderSection(e)}))},getLinkedDescriptionElement:function(){var t=this.chart.options.accessibility.linkedDescription;if(t){if("string"!=typeof t)return t;if(t=c(t,this.chart),1===(t=h.querySelectorAll(t)).length)return t[0]}},setLinkedDescriptionAttrs:function(){var t=this.linkedDescriptionElement;t&&(t.setAttribute("aria-hidden","true"),m(t,"highcharts-linked-description"))},updateScreenReaderSection:function(t){var e=this.chart,i=this.screenReaderSections[t],o=i.buildContent(e),n=i.element=i.element||this.createElement("div"),s=n.firstChild||this.createElement("div");this.setScreenReaderSectionAttribs(n,t),s.innerHTML=o,n.appendChild(s),i.insertIntoDOM(n,e),w(s),u(e,s),i.afterInserted&&i.afterInserted()},setScreenReaderSectionAttribs:function(t,e){var i=this.chart,o=i.langFormat("accessibility.screenReaderSection."+e+"RegionLabel",{chart:i});y(t,{id:"highcharts-screen-reader-region-"+e+"-"+i.index,"aria-label":o}),t.style.position="relative","all"===i.options.accessibility.landmarkVerbosity&&o&&t.setAttribute("role","regi
1on")},defaultBeforeChartFormatter:function(){var e,i=this.chart,o=i.options.accessibility.screenReaderSection.beforeChartFormat,n=this.getAxesDescription(),s=i.sonify&&(null===(e=i.options.sonification)||void 0===e?void 0:e.enabled);e="highcharts-a11y-sonify-data-btn-"+i.index;var r="hc-linkto-highcharts-data-table-"+i.index,h=p(i),l=i.langFormat("accessibility.screenReaderSection.annotations.heading",{chart:i});return n={chartTitle:f(i),typeDescription:this.getTypeDescriptionText(),chartSubtitle:this.getSubtitleText(),chartLongdesc:this.getLongdescText(),xAxisDescription:n.xAxis,yAxisDescription:n.yAxis,playAsSoundButton:s?this.getSonifyButtonText(e):"",viewTableButton:i.getCSV?this.getDataTableButtonText(r):"",annotationsTitle:h?l:"",annotationsList:h},i=t.i18nFormat(o,n,i),this.dataTableButtonId=r,this.sonifyButtonId=e,a(v(i)).replace(/<(\w+)[^>]*?>\s*<\/\1>/g,"")},defaultAfterChartFormatter:function(){var e=this.chart,i=e.options.accessibility.screenReaderSection.afterChartFormat,o={endOfChartMarker:this.getEndOfChartMarkerText()};return e=t.i18nFormat(i,o,e),a(v(e)).replace(/<(\w+)[^>]*?>\s*<\/\1>/g,"")},getLinkedDescription:function(){var t=this.linkedDescriptionElement;return x(t&&t.innerHTML||"")},getLongdescText:function(){var t=this.chart.options,e=t.caption;e=e&&e.text;var i=this.getLinkedDescription();return t.accessibility.description||i||e||""},getTypeDescriptionText:function(){var t=this.chart;return t.types?t.options.accessibility.typeDescription||t.getTypeDescription(t.types):""},getDataTableButtonText:function(t){var e=this.chart;return'<button id="'+t+'">'+(e=e.langFormat("accessibility.table.viewAsDataTableButtonText",{chart:e,chartTitle:f(e)}))+"</button>"},getSonifyButtonText:function(t){var e,i=this.chart;return!1===(null===(e=i.options.sonification)||void 0===e?void 0:e.enabled)?"":'<button id="'+t+'">'+(e=i.langFormat("accessibility.sonification.playAsSoundButtonText",{chart:i,chartTitle:f(i)}))+"</button>"},getSubtitleText:function(){var t=this.chart.options.subtitle;return x(t&&t.text||"")},getEndOfChartMarkerText:function(){var t=this.chart,e=t.langFormat("accessibility.screenReaderSection.endOfChartMarker",{chart:t});return'<div id="highcharts-end-of-chart-marker-'+t.index+'">'+e+"</div>"},onDataTableCreated:function(t){var e=this.chart;e.options.accessibility.enabled&&(this.viewDataTableButton&&this.viewDataTableButton.setAttribute("aria-expanded","true"),t.html=t.html.replace("<table ",'<table tabindex="-1" summary="'+e.langFormat("accessibility.table.tableSummary",{chart:e})+'"'))},focusDataTable:function(){var t=this.dataTableDiv;(t=t&&t.getElementsByTagName("table")[0])&&t.focus&&t.focus()},initSonifyButton:function(t){var e=this,i=this.sonifyButton=b(t),o=this.chart,n=function(t){null==i||i.setAttribute("aria-hidden","true"),null==i||i.setAttribute("aria-label",""),t.preventDefault(),t.stopPropagation(),t=o.langFormat("accessibility.sonification.playAsSoundClickAnnouncement",{chart:o}),e.announcer.announce(t),setTimeout((function(){null==i||i.removeAttribute("aria-hidden"),null==i||i.removeAttribute("aria-label"),o.sonify&&o.sonify()}),1e3)};i&&o&&(y(i,{tabindex:"-1"}),i.onclick=function(t){var e;((null===(e=o.options.accessibility)||void 0===e?void 0:e.screenReaderSection.onPlayAsSoundClick)||n).call(this,t,o)})},initDataTableButton:function(t){var e=this.viewDataTableButton=b(t),i=this.chart;t=t.replace("hc-linkto-",""),e&&(y(e,{tabindex:"-1","aria-expanded":!!b(t)}),e.onclick=i.options.accessibility.screenReaderSection.onViewDataTableClick||function(){i.viewData()})},getAxesDescription:function(){var t=this.chart,e=function(e,i){return 1<(e=t[e]).length||e[0]&&d(e[0].options.accessibility&&e[0].options.accessibility.enabled,i)},i=!!t.types&&0>t.types.indexOf("map"),o=!!t.hasCartesianSeries,n=e("xAxis",!t.angular&&o&&i);return e=e("yAxis",o&&i),i={},n&&(i.xAxis=this.getAxisDescriptionText("xAxis")),e&&(i.yAxis=this.getAxisDescriptionText("yAxis")),i},getAxisDescriptionText:function(t){var e=this,i=this.chart,o=i[t];return i.langFormat("accessibility.axis."+t+"Description"+(1<o.length?"Plural":"Singular"),{chart:i,names:o.map((function(t){return g(t)})),ranges:o.map((function(t){return e.getAxisRangeDescription(t)})),numAxes:o.length})},getAxisRangeDescription:function(t){var e=t.options||{};return e.accessibility&&void 0!==e.accessibility.rangeDescription?e.accessibility.rangeDescription:t.categories?this.getCategoryAxisRangeDesc(t):!t.dateTime||0!==t.min&&0!==t.dataMin?this.getAxisFromToDescription(t):this.getAxisTimeLengthDesc(t)},getCategoryAxisRangeDesc:function(t){var e=this.chart;return t.dataMax&&t.dataMin?e.langFormat("accessibility.axis.rangeCategories",{chart:e,axis:t,numCategories:t.dataMax-t.dataMin+1}):""},getAxisTimeLengthDesc:function(t){var e=this.chart,i={},o="Seconds";i.Seconds=((t.max||0)-(t.min||0))/1e3,i.Minutes=i.Seconds/60,i.Hours=i.Minutes/60,i.Days=i.Hours/24,["Minutes","Hours","Days"].forEach((function(t){2<i[t]&&(o=t)}));var n=i[o].toFixed("Seconds"!==o&&"Minutes"!==o?1:0);return e.langFormat("accessibility.axis.timeRange"+o,{chart:e,axis:t,range:n.replace(".0","")})},getAxisFromToDescription:function(t){var e=this.chart,i=e.options.accessibility.screenReaderSection.axisRangeDateFormat,o=function(o){return t.dateTime?e.time.dateFormat(i,t[o]):t[o]};return e.langFormat("accessibility.axis.rangeFromTo",{chart:e,axis:t,rangeFrom
1:o("min"),rangeTo:o("max")})},destroy:function(){var t;null===(t=this.announcer)||void 0===t||t.destroy()}}),e})),e(t,"Accessibility/Components/ContainerComponent.js",[t["Accessibility/AccessibilityComponent.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Core/Globals.js"],t["Accessibility/Utils/HTMLUtilities.js"],t["Core/Utilities.js"]],(function(t,e,i,o,n){var s=e.unhideChartElementFromAT,r=e.getChartTitle,a=i.doc,h=o.stripHTMLTagsFromString;return e=n.extend,(i=function(){}).prototype=new t,e(i.prototype,{onChartUpdate:function(){this.handleSVGTitleElement(),this.setSVGContainerLabel(),this.setGraphicContainerAttrs(),this.setRenderToAttrs(),this.makeCreditsAccessible()},handleSVGTitleElement:function(){var t=this.chart,e="highcharts-title-"+t.index,i=h(t.langFormat("accessibility.svgContainerTitle",{chartTitle:r(t)}));if(i.length){var o=this.svgTitleElement=this.svgTitleElement||a.createElementNS("http://www.w3.org/2000/svg","title");o.textContent=i,o.id=e,t.renderTo.insertBefore(o,t.renderTo.firstChild)}},setSVGContainerLabel:function(){var t=this.chart,e=h(t.langFormat("accessibility.svgContainerLabel",{chartTitle:r(t)}));t.renderer.box&&e.length&&t.renderer.box.setAttribute("aria-label",e)},setGraphicContainerAttrs:function(){var t=this.chart,e=t.langFormat("accessibility.graphicContainerLabel",{chartTitle:r(t)});e.length&&t.container.setAttribute("aria-label",e)},setRenderToAttrs:function(){var t=this.chart;"disabled"!==t.options.accessibility.landmarkVerbosity?t.renderTo.setAttribute("role","region"):t.renderTo.removeAttribute("role"),t.renderTo.setAttribute("aria-label",t.langFormat("accessibility.chartContainerLabel",{title:r(t),chart:t}))},makeCreditsAccessible:function(){var t=this.chart,e=t.credits;e&&(e.textStr&&e.element.setAttribute("aria-label",h(t.langFormat("accessibility.credits",{creditsStr:e.textStr}))),s(t,e.element))},destroy:function(){this.chart.renderTo.setAttribute("aria-hidden",!0)}}),i})),e(t,"Accessibility/HighContrastMode.js",[t["Core/Globals.js"]],(function(t){var e=t.isMS,i=t.win,o=i.document;return{isHighContrastModeActive:function(){var t=/(Edg)/.test(i.navigator.userAgent);if(i.matchMedia&&t)return i.matchMedia("(-ms-high-contrast: active)").matches;if(e&&i.getComputedStyle){(t=o.createElement("div")).style.backgroundImage="url(data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==)",o.body.appendChild(t);var n=(t.currentStyle||i.getComputedStyle(t)).backgroundImage;return o.body.removeChild(t),"none"===n}return!1},setHighContrastTheme:function(t){t.highContrastModeActive=!0;var e=t.options.accessibility.highContrastTheme;t.update(e,!1),t.series.forEach((function(t){var i=e.plotOptions[t.type]||{};t.update({color:i.color||"windowText",colors:[i.color||"windowText"],borderColor:i.borderColor||"window"}),t.points.forEach((function(t){t.options&&t.options.color&&t.update({color:i.color||"windowText",borderColor:i.borderColor||"window"},!1)}))})),t.redraw()}}})),e(t,"Accessibility/HighContrastTheme.js",[],(function(){return{chart:{backgroundColor:"window"},title:{style:{color:"windowText"}},subtitle:{style:{color:"windowText"}},colorAxis:{minColor:"windowText",maxColor:"windowText",stops:[]},colors:["windowText"],xAxis:{gridLineColor:"windowText",labels:{style:{color:"windowText"}},lineColor:"windowText",minorGridLineColor:"windowText",tickColor:"windowText",title:{style:{color:"windowText"}}},yAxis:{gridLineColor:"windowText",labels:{style:{color:"windowText"}},lineColor:"windowText",minorGridLineColor:"windowText",tickColor:"windowText",title:{style:{color:"windowText"}}},tooltip:{backgroundColor:"window",borderColor:"windowText",style:{color:"windowText"}},plotOptions:{series:{lineColor:"windowText",fillColor:"window",borderColor:"windowText",edgeColor:"windowText",borderWidth:1,dataLabels:{connectorColor:"windowText",color:"windowText",style:{color:"windowText",textOutline:"none"}},marker:{lineColor:"windowText",fillColor:"windowText"}},pie:{color:"window",colors:["window"],borderColor:"windowText",borderWidth:1},boxplot:{fillColor:"window"}
1,candlestick:{lineColor:"windowText",fillColor:"window"},errorbar:{fillColor:"window"}},legend:{backgroundColor:"window",itemStyle:{color:"windowText"},itemHoverStyle:{color:"windowText"},itemHiddenStyle:{color:"#555"},title:{style:{color:"windowText"}}},credits:{style:{color:"windowText"}},labels:{style:{color:"windowText"}},drilldown:{activeAxisLabelStyle:{color:"windowText"},activeDataLabelStyle:{color:"windowText"}},navigation:{buttonOptions:{symbolStroke:"windowText",theme:{fill:"window"}}},rangeSelector:{buttonTheme:{fill:"window",stroke:"windowText",style:{color:"windowText"},states:{hover:{fill:"window",stroke:"windowText",style:{color:"windowText"}},select:{fill:"#444",stroke:"windowText",style:{color:"windowText"}}}},inputBoxBorderColor:"windowText",inputStyle:{backgroundColor:"window",color:"windowText"},labelStyle:{color:"windowText"}},navigator:{handles:{backgroundColor:"window",borderColor:"windowText"},outlineColor:"windowText",maskFill:"transparent",series:{color:"windowText",lineColor:"windowText"},xAxis:{gridLineColor:"windowText"}},scrollbar:{barBackgroundColor:"#444",barBorderColor:"windowText",buttonArrowColor:"windowText",buttonBackgroundColor:"window",buttonBorderColor:"windowText",rifleColor:"windowText",trackBackgroundColor:"window",trackBorderColor:"windowText"}}})),e(t,"Accessibility/Options/Options.js",[],(function(){return{accessibility:{enabled:!0,screenReaderSection:{beforeChartFormat:"<h5>{chartTitle}</h5><div>{typeDescription}</div><div>{chartSubtitle}</div><div>{chartLongdesc}</div><div>{playAsSoundButton}</div><div>{viewTableButton}</div><div>{xAxisDescription}</div><div>{yAxisDescription}</div><div>{annotationsTitle}{annotationsList}</div>",afterChartFormat:"{endOfChartMarker}",axisRangeDateFormat:"%Y-%m-%d %H:%M:%S"},series:{describeSingleSeries:!1,pointDescriptionEnabledThreshold:200},point:{valueDescriptionFormat:"{index}. {xDescription}{separator}{value}."},landmarkVerbosity:"all",linkedDescription:'*[data-highcharts-chart="{index}"] + .highcharts-description',keyboardNavigation:{enabled:!0,focusBorder:{enabled:!0,hideBrowserFocusOutline:!0,style:{color:"#335cad",lineWidth:2,borderRadius:3},margin:2},order:["series","zoom","rangeSelector","legend","chartMenu"],wrapAround:!0,seriesNavigation:{skipNullPoints:!0,pointNavigationEnabledThreshold:!1}},announceNewData:{enabled:!1,minAnnounceInterval:5e3,interruptUser:!1}},legend:{accessibility:{enabled:!0,keyboardNavigation:{enabled:!0}}},exporting:{accessibility:{enabled:!0}}}})),e(t,"Accessibility/Options/LangOptions.js",[],(function(){return{accessibility:{defaultChartTitle:"Chart",chartContainerLabel:"{title}. Highcharts interactive chart.",svgContainerLabel:"Interactive chart",drillUpButton:"{buttonText}",credits:"Chart credits: {creditsStr}",thousandsSep:",",svgContainerTitle:"",graphicContainerLabel:"",screenReaderSection:{beforeRegionLabel:"Chart screen reader information.",afterRegionLabel:"",annotations:{heading:"Chart annotations summary",descriptionSinglePoint:"{annotationText}. Related to {annotationPoint}",descriptionMultiplePoints:"{annotationText}. Related to {annotationPoint}{ Also related to, #each(additionalAnnotationPoints)}",descriptionNoPoints:"{annotationText}"},endOfChartMarker:"End of interactive chart."},sonification:{playAsSoundButtonText:"Play as sound, {chartTitle}",playAsSoundClickAnnouncement:"Play"},legend:{legendLabel:"Toggle series visibility",legendItem:"Hide {itemName}"},zoom:{mapZoomIn:"Zoom chart",mapZoomOut:"Zoom out chart",resetZoomButton:"Reset zoom"},rangeSelector:{minInputLabel:"Select start date.",maxInputLabel:"Select end date.",buttonText:"Select range {buttonText}"},table:{viewAsDataTableButtonText:"View as data table, {chartTitle}",tableSummary:"Table representation of chart."},announceNewData:{newDataAnnounce:"Updated data for chart {chartTitle}",newSeriesAnnounceSingle:"New data series: {seriesDesc}",newPointAnnounceSingle:"New data point: {pointDesc}",newSeriesAnnounceMultiple:"New data series in chart {chartTitle}: {seriesDesc}",newPointAnnounceMultiple:"New data point in chart {chartTitle}: {pointDesc}"},seriesTypeDescriptions:{boxplot:"Box plot charts are typically used to display groups of statistical data. Each data point in the chart can have up to 5 values: minimum, lower quartile, median, upper quartile, and maximum.",arearange:"Arearange charts are line charts displaying a range between a lower and higher value for each point.",areasplinerange:"These
1charts are line charts displaying a range between a lower and higher value for each point.",bubble:"Bubble charts are scatter charts where each data point also has a size value.",columnrange:"Columnrange charts are column charts displaying a range between a lower and higher value for each point.",errorbar:"Errorbar series are used to display the variability of the data.",funnel:"Funnel charts are used to display reduction of data in stages.",pyramid:"Pyramid charts consist of a single pyramid with item heights corresponding to each point value.",waterfall:"A waterfall chart is a column chart where each column contributes towards a total end value."},chartTypes:{emptyChart:"Empty chart",mapTypeDescription:"Map of {mapTitle} with {numSeries} data series.",unknownMap:"Map of unspecified region with {numSeries} data series.",combinationChart:"Combination chart with {numSeries} data series.",defaultSingle:"Chart with {numPoints} data {#plural(numPoints, points, point)}.",defaultMultiple:"Chart with {numSeries} data series.",splineSingle:"Line chart with {numPoints} data {#plural(numPoints, points, point)}.",splineMultiple:"Line chart with {numSeries} lines.",lineSingle:"Line chart with {numPoints} data {#plural(numPoints, points, point)}.",lineMultiple:"Line chart with {numSeries} lines.",columnSingle:"Bar chart with {numPoints} {#plural(numPoints, bars, bar)}.",columnMultiple:"Bar chart with {numSeries} data series.",barSingle:"Bar chart with {numPoints} {#plural(numPoints, bars, bar)}.",barMultiple:"Bar chart with {numSeries} data series.",pieSingle:"Pie chart with {numPoints} {#plural(numPoints, slices, slice)}.",pieMultiple:"Pie chart with {numSeries} pies.",scatterSingle:"Scatter chart with {numPoints} {#plural(numPoints, points, point)}.",scatterMultiple:"Scatter chart with {numSeries} data series.",boxplotSingle:"Boxplot with {numPoints} {#plural(numPoints, boxes, box)}.",boxplotMultiple:"Boxplot with {numSeries} data series.",bubbleSingle:"Bubble chart with {numPoints} {#plural(numPoints, bubbles, bubble)}.",bubbleMultiple:"Bubble chart with {numSeries} data series."},axis:{xAxisDescriptionSingular:"The chart has 1 X axis displaying {names[0]}. {ranges[0]}",xAxisDescriptionPlural:"The chart has {numAxes} X axes displaying {#each(names, -1) }and {names[-1]}.",yAxisDescriptionSingular:"The chart has 1 Y axis displaying {names[0]}. {ranges[0]}",yAxisDescriptionPlural:"The chart has {numAxes} Y axes displaying {#each(names, -1) }and {names[-1]}.",timeRangeDays:"Range: {range} days.",timeRangeHours:"Range: {range} hours.",timeRangeMinutes:"Range: {range} minutes.",timeRangeSeconds:"Range: {range} seconds.",rangeFromTo:"Range: {rangeFrom} to {rangeTo}.",rangeCategories:"Range: {numCategories} categories."},exporting:{chartMenuLabel:"Chart menu",menuButtonLabel:"View chart menu",exportRegionLabel:"Chart menu"},series:{summary:{default:"{name}, series {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.",defaultCombination:"{name}, series {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.",line:"{name}, line {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}
1.",lineCombination:"{name}, series {ix} of {numSeries}. Line with {numPoints} data {#plural(numPoints, points, point)}.",spline:"{name}, line {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.",splineCombination:"{name}, series {ix} of {numSeries}. Line with {numPoints} data {#plural(numPoints, points, point)}.",column:"{name}, bar series {ix} of {numSeries} with {numPoints} {#plural(numPoints, bars, bar)}.",columnCombination:"{name}, series {ix} of {numSeries}. Bar series with {numPoints} {#plural(numPoints, bars, bar)}.",bar:"{name}, bar series {ix} of {numSeries} with {numPoints} {#plural(numPoints, bars, bar)}.",barCombination:"{name}, series {ix} of {numSeries}. Bar series with {numPoints} {#plural(numPoints, bars, bar)}.",pie:"{name}, pie {ix} of {numSeries} with {numPoints} {#plural(numPoints, slices, slice)}.",pieCombination:"{name}, series {ix} of {numSeries}. Pie with {numPoints} {#plural(numPoints, slices, slice)}.",scatter:"{name}, scatter plot {ix} of {numSeries} with {numPoints} {#plural(numPoints, points, point)}.",scatterCombination:"{name}, series {ix} of {numSeries}, scatter plot with {numPoints} {#plural(numPoints, points, point)}.",boxplot:"{name}, boxplot {ix} of {numSeries} with {numPoints} {#plural(numPoints, boxes, box)}.",boxplotCombination:"{name}, series {ix} of {numSeries}. Boxplot with {numPoints} {#plural(numPoints, boxes, box)}.",bubble:"{name}, bubble series {ix} of {numSeries} with {numPoints} {#plural(numPoints, bubbles, bubble)}.",bubbleCombination:"{name}, series {ix} of {numSeries}. Bubble series with {numPoints} {#plural(numPoints, bubbles, bubble)}.",map:"{name}, map {ix} of {numSeries} with {numPoints} {#plural(numPoints, areas, area)}.",mapCombination:"{name}, series {ix} of {numSeries}. Map with {numPoints} {#plural(numPoints, areas, area)}.",mapline:"{name}, line {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.",maplineCombination:"{name}, series {ix} of {numSeries}. Line with {numPoints} data {#plural(numPoints, points, point)}.",mapbubble:"{name}, bubble series {ix} of {numSeries} with {numPoints} {#plural(numPoints, bubbles, bubble)}.",mapbubbleCombination:"{name}, series {ix} of {numSeries}. Bubble series with {numPoints} {#plural(numPoints, bubbles, bubble)}."},description:"{description}",xAxisDescription:"X axis, {name}",yAxisDescription:"Y axis, {name}",nullPointValue:"No value",pointAnnotationsDescription:"{Annotation: #each(annotations). }"}}}})),e(t,"Accessibility/Options/DeprecatedOptions.js",[t["Core/Utilities.js"]],(function(t){function e(t,e,i){for(var o,s=0;s<e.length-1;++s)t=t[o=e[s]]=n(t[o],{});t[e[e.length-1]]=i}function i(t,i,n,s){function r(t,e){return e.reduce((function(t,e){return t[e]}),t)}var a=r(t.options,i),h=r(t.options,n);Object.keys(s).forEach((function(r){var l,c=a[r];void 0!==c&&(e(h,s[r],c),o(32,!1,t,((l={})[i.join(".")+"."+r]=n.join(".")+"."+s[r].join("."),l)))}))}var o=t.error,n=t.pick;return function(t){!function(t){var e=t.options.chart||{},i=t.options.accessibility||{};["description","typeDescription"].forEach((function(n){var s;e[n]&&(i[n]=e[n],o(32,!1,t,((s={})["chart."+n]="use accessibility."+n,s)))}))}(t),function(t){t.axes.forEach((function(e){(e=e.options)&&e.description&&(e.accessibility=e.accessibility||{},e.accessibility.description=e.description,o(32,!1,t,{"axis.description":"use axis.accessibility.description"}))}))}(t),t.series&&function(t){var i={description:["accessibility","description"],exposeElementToA11y:["accessibility","exposeAsGroupOnly"],pointDescriptionFormatter:["accessibility","pointDescriptionFormatter"],skipKeyboardNavigation:["accessibility","keyboardNavigation","enabled"]};
1t.series.forEach((function(n){Object.keys(i).forEach((function(s){var r,a=n.options[s];void 0!==a&&(e(n.options,i[s],"skipKeyboardNavigation"===s?!a:a),o(32,!1,t,((r={})["series."+s]="series."+i[s].join("."),r)))}))}))}(t),i(t,["accessibility"],["accessibility"],{pointDateFormat:["point","dateFormat"],pointDateFormatter:["point","dateFormatter"],pointDescriptionFormatter:["point","descriptionFormatter"],pointDescriptionThreshold:["series","pointDescriptionEnabledThreshold"],pointNavigationThreshold:["keyboardNavigation","seriesNavigation","pointNavigationEnabledThreshold"],pointValueDecimals:["point","valueDecimals"],pointValuePrefix:["point","valuePrefix"],pointValueSuffix:["point","valueSuffix"],screenReaderSectionFormatter:["screenReaderSection","beforeChartFormatter"],describeSingleSeries:["series","describeSingleSeries"],seriesDescriptionFormatter:["series","descriptionFormatter"],onTableAnchorClick:["screenReaderSection","onViewDataTableClick"],axisRangeDateFormat:["screenReaderSection","axisRangeDateFormat"]}),i(t,["accessibility","keyboardNavigation"],["accessibility","keyboardNavigation","seriesNavigation"],{skipNullPoints:["skipNullPoints"],mode:["mode"]}),i(t,["lang","accessibility"],["lang","accessibility"],{legendItem:["legend","legendItem"],legendLabel:["legend","legendLabel"],mapZoomIn:["zoom","mapZoomIn"],mapZoomOut:["zoom","mapZoomOut"],resetZoomButton:["zoom","resetZoomButton"],screenReaderRegionLabel:["screenReaderSection","beforeRegionLabel"],rangeSelectorButton:["rangeSelector","buttonText"],rangeSelectorMaxInput:["rangeSelector","maxInputLabel"],rangeSelectorMinInput:["rangeSelector","minInputLabel"],svgContainerEnd:["screenReaderSection","endOfChartMarker"],viewAsDataTable:["table","viewAsDataTableButtonText"],tableSummary:["table","tableSummary"]})}})),e(t,"Accessibility/A11yI18n.js",[t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e){function i(t,e){var i=t.indexOf("#each("),o=t.indexOf("#plural("),s=t.indexOf("["),r=t.indexOf("]");if(-1<i){s=t.slice(i).indexOf(")")+i;var a=t.substring(0,i);if(o=t.substring(s+1),s=t.substring(i+6,s).split(","),i=Number(s[1]),t="",e=e[s[0]])for(i=0>(i=isNaN(i)?e.length:i)?e.length+i:Math.min(i,e.length),s=0;s<i;++s)t+=a+e[s]+o;return t.length?t:""}if(-1<o){switch(a=t.slice(o).indexOf(")")+o,t=t.substring(o+8,a).split(","),Number(e[t[0]])){case 0:t=n(t[4],t[1]);break;case 1:t=n(t[2],t[1]);break;case 2:t=n(t[3],t[1]);break;default:t=t[1]}return t?e=(e=t).trim&&e.trim()||e.replace(/^\s+|\s+$/g,""):e="",e}return-1<s?(o=t.substring(0,s),t=Number(t.substring(s+1,r)),e=e[o],!isNaN(t)&&e&&(0>t?void 0===(a=e[e.length+t])&&(a=e[0]):void 0===(a=e[t])&&(a=e[e.length-1])),void 0!==a?a:""):"{"+t+"}"}var o=e.format,n=e.pick;t.i18nFormat=function(t,e,n){var s=function(t,e){var i=(t=t.slice(e||0)).indexOf("{"),o=t.indexOf("}");if(-1<i&&o>i)return{statement:t.substring(i+1,o),begin:e+i+1,end:e+o}},r=[],a=0;do{var h=s(t,a),l=t.substring(a,h&&h.begin-1);l.length&&r.push({value:l,type:"constant"}),h&&r.push({value:h.statement,type:"statement"}),a=h?h.end+1:a+1}while(h);return r.forEach((function(t){"statement"===t.type&&(t.value=i(t.value,e))})),o(r.reduce((function(t,e){return t+e.value}),""),e,n)},t.Chart.prototype.langFormat=function(e,i){e=e.split(".");for(var o=this.options.lang,n=0;n<e.length;++n)o=o&&o[e[n]];return"string"==typeof o?t.i18nFormat(o,i,this):""}})),e(t,"Accessibility/FocusBorder.js",[t["Core/Globals.js"],t["Core/Renderer/SVG/SVGElement.js"],t["Core/Renderer/SVG/SVGLabel.js"],t["Core/Utilities.js"]],(function(t,e,i,o){function n(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];t.focusBorderUpdateHooks||(t.focusBorderUpdateHooks={},h.forEach((function(i){var o=t[i+="Setter"]||t._defaultSetter;t.focusBorderUpdateHooks[i]=o,t[i]=function(){var i=o.apply(t,arguments);return t.addFocusBorder.apply(t,e),i}})))}var s=o.addEvent,r=o.extend,a=o.pick,h="x y transform width height r d stroke-width".split(" ");r(e.prototype,{addFocusBorder:function(e,o){this.focusBorder&&this.removeFocusBorder();var s=this.getBBox(),r=a(e,3);s.x+=this.translateX?this.translateX:0,s.y+=this.translateY?this.translateY:0;var h=s.x-r,l=s.y-r,c=s.width+2*r,d=s.height+2*r,p=this instanceof i;if("text"===this.element.nodeName||p){var u=!!this.rotation;if(p)var f={x:u?1:0,y:0};else h=f=0,"middle"===this.attr("text-anchor")?(f=t.isFirefox&&this.rotation?.25:.5,h=t.isFirefox&&!this.rotation?.75:.5):this.rotation?f=.25:h=.75,f={x:f,y:h};h=+this.attr("x")-s.width*f.x-r,l=+this.attr("y")-s.height*f.y-r,p&&u&&(p=c,c=d,d=p,h=+this.attr("x")-s.height*f.x-r,l=+this.attr("y")-s.width*f.y-r)}this.focusBorder=this.renderer.rect(h,l,c,d,parseInt((o&&o.borderRadius||0).toString(),10)).addClass("highcharts-focus-border").attr({zIndex:99}).add(this.parentGroup),this.renderer.styledMode||this.focusBorder.attr({stroke:o&&o.stroke,"stroke-width":o&&o.strokeWidth}),n(this,e,o),function(t){if(!t.focusBorderDestroyHook){var e=t.destroy;t.destroy=function(){var i,o;return null===(o=null===(i=t.focusBorder)||void 0===i?void 0:i.destroy)||void 0===o||o.call(i),e.apply(t,arguments)},t.focusBorderDestroyHook=e}}(this)},removeFocusBorder:function(){!function(t){t.focusBorderUpdateHooks&&(Object.keys(t.focusBorderUpdateHooks).forEac
1h((function(e){var i=t.focusBorderUpdateHooks[e];i===t._defaultSetter?delete t[e]:t[e]=i})),delete t.focusBorderUpdateHooks)}(this),this.focusBorderDestroyHook&&(this.destroy=this.focusBorderDestroyHook,delete this.focusBorderDestroyHook),this.focusBorder&&(this.focusBorder.destroy(),delete this.focusBorder)}}),t.Chart.prototype.renderFocusBorder=function(){var t=this.focusElement,e=this.options.accessibility.keyboardNavigation.focusBorder;t&&(t.removeFocusBorder(),e.enabled&&t.addFocusBorder(e.margin,{stroke:e.style.color,strokeWidth:e.style.lineWidth,borderRadius:e.style.borderRadius}))},t.Chart.prototype.setFocusToElement=function(t,e){var i=this.options.accessibility.keyboardNavigation.focusBorder;(e=e||t.element)&&e.focus&&(e.hcEvents&&e.hcEvents.focusin||s(e,"focusin",(function(){})),e.focus(),i.hideBrowserFocusOutline&&(e.style.outline="none")),this.focusElement&&this.focusElement.removeFocusBorder(),this.focusElement=t,this.renderFocusBorder()}})),e(t,"Accessibility/Accessibility.js",[t["Accessibility/Utils/ChartUtilities.js"],t["Core/Globals.js"],t["Accessibility/KeyboardNavigationHandler.js"],t["Core/Series/CartesianSeries.js"],t["Core/Options.js"],t["Core/Series/Point.js"],t["Core/Utilities.js"],t["Accessibility/AccessibilityComponent.js"],t["Accessibility/KeyboardNavigation.js"],t["Accessibility/Components/LegendComponent.js"],t["Accessibility/Components/MenuComponent.js"],t["Accessibility/Components/SeriesComponent/SeriesComponent.js"],t["Accessibility/Components/ZoomComponent.js"],t["Accessibility/Components/RangeSelectorComponent.js"],t["Accessibility/Components/InfoRegionsComponent.js"],t["Accessibility/Components/ContainerComponent.js"],t["Accessibility/HighContrastMode.js"],t["Accessibility/HighContrastTheme.js"],t["Accessibility/Options/Options.js"],t["Accessibility/Options/LangOptions.js"],t["Accessibility/Options/DeprecatedOptions.js"]],(function(t,e,i,o,n,s,r,a,h,l,c,d,p,u,f,g,m,y,v,x,b){function w(t){this.init(t)}var C=e.doc,S=r.addEvent,k=r.extend,A=r.fireEvent,M=r.merge;M(!0,n.defaultOptions,v,{accessibility:{highContrastTheme:y},lang:x}),e.A11yChartUtilities=t,e.KeyboardNavigationHandler=i,e.AccessibilityComponent=a,w.prototype={init:function(t){this.chart=t,C.addEventListener&&t.renderer.isSVG?(b(t),this.initComponents(),this.keyboardNavigation=new h(t,this.components),this.update()):t.renderTo.setAttribute("aria-hidden",!0)},initComponents:function(){var t=this.chart,e=t.options.accessibility;this.components={container:new g,infoRegions:new f,legend:new l,chartMenu:new c,rangeSelector:new u,series:new d,zoom:new p},e.customComponents&&k(this.components,e.customComponents);var i=this.components;this.getComponentOrder().forEach((function(e){i[e].initBase(t),i[e].init()}))},getComponentOrder:function(){if(!this.components)return[];if(!this.components.series)return Object.keys(this.components);var t=Object.keys(this.components).filter((function(t){return"series"!==t}));return["series"].concat(t)},update:function(){var t=this.components,e=this.chart,i=e.options.accessibility;A(e,"beforeA11yUpdate"),e.types=this.getChartTypes(),this.getComponentOrder().forEach((function(i){t[i].onChartUpdate(),A(e,"afterA11yComponentUpdate",{name:i,component:t[i]})})),this.keyboardNavigation.update(i.keyboardNavigation.order),!e.highContrastModeActive&&m.isHighContrastModeActive()&&m.setHighContrastTheme(e),A(e,"afterA11yUpdate",{accessibility:this})},destroy:function(){var t=this.chart||{},e=this.components;Object.keys(e).forEach((function(t){e[t].destroy(),e[t].destroyBase()})),this.keyboardNavigation&&this.keyboardNavigation.destroy(),t.renderTo&&t.renderTo.setAttribute("aria-hidden",!0),t.focusElement&&t.focusElement.removeFocusBorder()},getChartTypes:function(){var t={};return this.chart.series.forEach((function(e){t[e.type]=1})),Object.keys(t)}},e.Chart.prototype.updateA11yEnabled=function(){var t=this.accessibility,e=this.options.accessibility;e&&e.enabled?t?t.update():this.accessibility=new w(this):t?(t.destroy&&t.destroy(),delete this.accessibility):this.renderTo.setAttribute("aria-hidden",!0)},S(e.Chart,"render",(function(t){this.a11yDirty&&this.renderTo&&(delete this.a11yDirty,this.updateA11yEnabled());var e=this.accessibility;
1e&&e.getComponentOrder().forEach((function(t){e.components[t].onChartRender()}))})),S(e.Chart,"update",(function(t){(t=t.options.accessibility)&&(t.customComponents&&(this.options.accessibility.customComponents=t.customComponents,delete t.customComponents),M(!0,this.options.accessibility,t),this.accessibility&&this.accessibility.destroy&&(this.accessibility.destroy(),delete this.accessibility)),this.a11yDirty=!0})),S(s,"update",(function(){this.series.chart.accessibility&&(this.series.chart.a11yDirty=!0)})),["addSeries","init"].forEach((function(t){S(e.Chart,t,(function(){this.a11yDirty=!0}))})),["update","updatedData","remove"].forEach((function(t){S(o,t,(function(){this.chart.accessibility&&(this.chart.a11yDirty=!0)}))})),["afterDrilldown","drillupall"].forEach((function(t){S(e.Chart,t,(function(){this.accessibility&&this.accessibility.update()}))})),S(e.Chart,"destroy",(function(){this.accessibility&&this.accessibility.destroy()}))})),e(t,"masters/modules/accessibility.src.js",[],(function(){}))}))}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.