function createChartConfig(n,t,i,r,u,f){return{chart:{map:"countries/us/us-all",borderWidth:0},title:{text:t},subtitle:{text:u},exporting:{sourceWidth:600,sourceHeight:500},legend:{title:{text:f},layout:"vertical",borderWidth:0,backgroundColor:"rgba(255,255,255,0.85)",floating:!1,align:"right",verticalAlign:"bottom",y:0,symbolRadius:0,symbolHeight:18},mapNavigation:{enabled:!0},colorAxis:{dataClasses:n[1]},series:[{animation:{duration:1e3},data:n[0],joinBy:["postal-code","code"],dataLabels:{enabled:!0,format:"{point.code}"},name:i,tooltip:{pointFormat:"{point.code}: {point.value}"+r}}]}}(function(n,t){"object"==typeof module&&module.exports?(t["default"]=t,module.exports=n.document?t(n):t):"function"==typeof define&&define.amd?define("highcharts/highmaps",function(){return t(n)}):(n.Highcharts&&n.Highcharts.error(16,!0),n.Highcharts=t(n))})("undefined"!=typeof window?window:this,function(n){function i(n,t,i,r){n.hasOwnProperty(t)||(n[t]=r.apply(null,i))}var t={};return i(t,"Core/Globals.js",[],function(){var i="undefined"!=typeof n?n:"undefined"!=typeof window?window:{},t;return function(n){n.SVG_NS="http://www.w3.org/2000/svg";n.product="Highcharts";n.version="9.1.0";n.win=i;n.doc=n.win.document;n.svg=n.doc&&n.doc.createElementNS&&!!n.doc.createElementNS(n.SVG_NS,"svg").createSVGRect;n.userAgent=n.win.navigator&&n.win.navigator.userAgent||"";n.isChrome=-1!==n.userAgent.indexOf("Chrome");n.isFirefox=-1!==n.userAgent.indexOf("Firefox");n.isMS=/(edge|msie|trident)/i.test(n.userAgent)&&!n.win.opera;n.isSafari=!n.isChrome&&-1!==n.userAgent.indexOf("Safari");n.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(n.userAgent);n.isWebKit=-1!==n.userAgent.indexOf("AppleWebKit");n.deg2rad=Math.PI/180;n.hasBidiBug=n.isFirefox&&4>parseInt(n.userAgent.split("Firefox/")[1],10);n.hasTouch=!!n.win.TouchEvent;n.marginNames=["plotTop","marginRight","marginBottom","plotLeft"];n.noop=function(){};n.supportsPassiveEvents=function(){var i=!1,t;return n.isMS||(t=Object.defineProperty({},"passive",{get:function(){i=!0}}),n.win.addEventListener&&n.win.removeEventListener&&(n.win.addEventListener("testPassive",n.noop,t),n.win.removeEventListener("testPassive",n.noop,t))),i}();n.charts=[];n.dateFormats={};n.seriesTypes={};n.symbolSizes={}}(t||(t={})),t}),i(t,"Core/Utilities.js",[t["Core/Globals.js"]],function(n){function t(n,u,f,e){var c=u?"Highcharts error":"Highcharts warning",s,o,h;32===n&&(n=c+": Deprecated member");s=k(n);o=s?c+" #"+n+": www.highcharts.com/errors/"+n+"/":n.toString();"undefined"!=typeof e&&(h="",s&&(o+="?"),i(e,function(n,t){h+="\n - "+t+": "+n;s&&(o+=encodeURI(t)+"="+encodeURI(n))}),o+=h);rt(Highcharts,"displayError",{chart:f,code:n,message:o,params:e},function(){if(u)throw Error(o);r.console&&-1===t.messages.indexOf(o)&&console.warn(o)});t.messages.push(o)}function p(n,t){var r={};return i(n,function(i,f){u(n[f],!0)&&!n.nodeType&&t[f]?(i=p(n[f],t[f]),Object.keys(i).length&&(r[f]=i)):(u(n[f])||n[f]!==t[f])&&(r[f]=n[f])}),r}function w(n,t){return parseInt(n,t||10)}function c(n){return"string"==typeof n}function l(n){return n=Object.prototype.toString.call(n),"[object Array]"===n||"[object Array Iterator]"===n}function u(n,t){return!!n&&"object"==typeof n&&(!t||!l(n))}function a(n){return u(n)&&"number"==typeof n.nodeType}function b(n){var t=n&&n.constructor;return!(!u(n,!0)||a(n)||!t||!t.name||"Object"===t.name)}function k(n){return"number"==typeof n&&!isNaN(n)&&Infinity>n&&-Infinity<n}function e(n){return"undefined"!=typeof n&&null!==n}function d(n,t,r){var u;return c(t)?e(r)?n.setAttribute(t,r):n&&n.getAttribute&&((u=n.getAttribute(t))||"class"!==t||(u=n.getAttribute(t+"Name"))):i(t,function(t,i){n.setAttribute(i,t)}),u}function f(n,t){var i;n||(n={});for(i in t)n[i]=t[i];return n}function o(){for(var n,i=arguments,r=i.length,t=0;t<r;t++)if(n=i[t],"undefined"!=typeof n&&null!==n)return n}function v(t,i){n.isMS&&!n.svg&&i&&"undefined"!=typeof i.opacity&&(i.filter="alpha(opacity="+100*i.opacity+")");f(t.style,i)}function g(n,t,i,r,u){return n=s.createElement(n),t&&f(n,t),u&&v(n,{padding:"0",border:"none",margin:"0"}),i&&v(n,i),r&&r.appendChild(n),n}function nt(n,t){return parseFloat(n.toPrecision(t||14))}function tt(i,u,f){var e=n.getStyle||tt,s;return"width"===u?(u=Math.min(i.offsetWidth,i.scrollWidth),f=i.getBoundingClientRect&&i.getBoundingClientRect().width,f<u&&f>=u-1&&(u=Math.floor(f)),Math.max(0,u-(e(i,"padding-left",!0)||0)-(e(i,"padding-right",!0)||0))):"height"===u?Math.max(0,Math.min(i.offsetHeight,i.scrollHeight)-(e(i,"padding-top",!0)||0)-(e(i,"padding-bottom",!0)||0)):(r.getComputedStyle||t(27,!0),(i=r.getComputedStyle(i,void 0))&&(s=i.getPropertyValue(u),o(f,"opacity"!==u)&&(s=w(s))),s)}function i(n,t,i){for(var r in n)Object.hasOwnProperty.call(n,r)&&t.call(i||n[r],n[r],r,n)}function it(t,r,u){function o(i,r){var u=t.removeEventListener||n.removeEventListenerPolyfill;u&&u.call(t,i,r,!1)}function s(n){var f,u;t.nodeName&&(r?(u={},u[r]=!0):u=n,i(u,function(t,i){if(n[i])for(f=n[i].length;f--;)o(i,n[i][f].fn)}))}var e="function"==typeof t&&t.prototype||t,f;Object.hasOwnProperty.call(e,"hcEvents")&&(f=e.hcEvents,r?(e=f[r]||[],u?(f[r]=e.filter(function(n){return u!==n.fn}),o(r,u)):(s(f),f[r]=[])):(s(f),delete e.hcEvents))}function rt(t,i,r,u){var e,o,h;if(r=r||{},s.createEvent&&(t.dispatchEvent||t.fireEvent&&t!==n))e=s.createEvent("Events"),e.initEvent(i,!0,!0),r=f(e,r),t.dispatchEvent?t.dispatchEvent(r):t.fireEvent(i,r);else if(t.hcEvents){for(r.target||f(r,{preventDefault:function(){r.defaultPrevented=!0},target:t,type:i}),e=[],o=t,h=!1;o.hcEvents;)Object.hasOwnProperty.call(o,"hcEvents")&&o.hcEvents[i]&&(e.length&&(h=!0),e.unshift.apply(e,o.hcEvents[i])),o=Object.getPrototypeOf(o);h&&e.sort(function(n,t){return n.order-t.order});e.forEach(function(n){!1===n.fn.call(t,r)&&r.preventDefault()})}u&&!r.defaultPrevented&&u.call(t,r)}var et=n.charts,s=n.doc,r=n.win,h,ut,y,ft;return(t||(t={})).messages=[],Math.easeInOutSine=function(n){return-.5*(Math.cos(Math.PI*n)-1)},ut=Array.prototype.find?function(n,t){return n.find(t)}:function(n,t){for(var r=n.length,i=0;i<r;i++)if(t(n[i],i))return n[i]},i({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},function(i,r){n[r]=function(n){var u;return t(32,!1,void 0,(u={},u["Highcharts."+r]="use Array."+i,u)),Array.prototype[i].apply(n,[].slice.call(arguments,1))}}),ft=function(){var n=Math.random().toString(36).substring(2,9)+"-",t=0;return function(){return"highcharts-"+(y?"":n)+t++}}(),r.jQuery&&(r.jQuery.fn.highcharts=function(){var t=[].slice.call(arguments);if(this[0])return t[0]?(new n[c(t[0])?t.shift():"Chart"](this[0],t[0],t[1]),this):et[d(this[0],"data-highcharts-chart")]}),{addEvent:function(t,i,r,u){var f,e;return void 0===u&&(u={}),f="function"==typeof t&&t.prototype||t,Object.hasOwnProperty.call(f,"hcEvents")||(f.hcEvents={}),f=f.hcEvents,n.Point&&t instanceof n.Point&&t.series&&t.series.chart&&(t.series.chart.runTrackerClick=!0),e=t.addEventListener||n.addEventListenerPolyfill,e&&e.call(t,i,r,n.supportsPassiveEvents?{passive:void 0===u.passive?-1!==i.indexOf("touch"):u.passive,capture:!1}:!1),f[i]||(f[i]=[]),f[i].push({fn:r,order:"number"==typeof u.order?u.order:Infinity}),f[i].sort(function(n,t){return n.order-t.order}),function(){it(t,i,r)}},arrayMax:function(n){for(var t=n.length,i=n[0];t--;)n[t]>i&&(i=n[t]);return i},arrayMin:function(n){for(var t=n.length,i=n[0];t--;)n[t]<i&&(i=n[t]);return i},attr:d,clamp:function(n,t,i){return n>t?n<i?n:i:t},cleanRecursively:p,clearTimeout:function(n){e(n)&&clearTimeout(n)},correctFloat:nt,createElement:g,css:v,defined:e,destroyObjectProperties:function(n,t){i(n,function(i,r){i&&i!==t&&i.destroy&&i.destroy();delete n[r]})},discardElement:function(n){h||(h=g("div"));n&&h.appendChild(n);h.innerHTML=""},erase:function(n,t){for(var i=n.length;i--;)if(n[i]===t){n.splice(i,1);break}},error:t,extend:f,extendClass:function(n,t){var i=function(){};return i.prototype=new n,f(i.prototype,t),i},find:ut,fireEvent:rt,getMagnitude:function(n){return Math.pow(10,Math.floor(Math.log(n)/Math.LN10))},getNestedProperty:function(n,t){for(n=n.split(".");n.length&&e(t);){var i=n.shift();if("undefined"==typeof i||"__proto__"===i)return;if(t=t[i],!e(t)||"function"==typeof t||"number"==typeof t.nodeType||t===r)return}return t},getStyle:tt,inArray:function(n,i,r){return t(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),i.indexOf(n,r)},isArray:l,isClass:b,isDOMElement:a,isFunction:function(n){return"function"==typeof n},isNumber:k,isObject:u,isString:c,keys:function(n){return t(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(n)},merge:function(){var t,n=arguments,r={},f=function(n,t){return"object"!=typeof n&&(n={}),i(t,function(i,r){"__proto__"!==r&&"constructor"!==r&&(n[r]=!u(i,!0)||b(i)||a(i)?t[r]:f(n[r]||{},i))}),n},e;for(!0===n[0]&&(r=n[1],n=Array.prototype.slice.call(n,2)),e=n.length,t=0;t<e;t++)r=f(r,n[t]);return r},normalizeTickInterval:function(n,t,i,r,u){var f=n,e;for(i=o(i,1),e=n/i,t||(t=u?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===r&&(1===i?t=t.filter(function(n){return 0==n%1}):.1>=i&&(t=[1/i]))),r=0;r<t.length&&!(f=t[r],u&&f*i>=n||!u&&e<=(t[r]+(t[r+1]||t[r]))/2);r++);return nt(f*i,-Math.round(Math.log(.001)/Math.LN10))},objectEach:i,offset:function(n){var t=s.documentElement;return n=n.parentElement||n.parentNode?n.getBoundingClientRect():{top:0,left:0,width:0,height:0},{top:n.top+(r.pageYOffset||t.scrollTop)-(t.clientTop||0),left:n.left+(r.pageXOffset||t.scrollLeft)-(t.clientLeft||0),width:n.width,height:n.height}},pad:function(n,t,i){return Array((t||2)+1-String(n).replace("-","").length).join(i||"0")+n},pick:o,pInt:w,relativeLength:function(n,t,i){return/%$/.test(n)?t*parseFloat(n)/100+(i||0):parseFloat(n)},removeEvent:it,splat:function(n){return l(n)?n:[n]},stableSort:function(n,t){for(var u=n.length,r,i=0;i<u;i++)n[i].safeI=i;for(n.sort(function(n,i){return r=t(n,i),0===r?n.safeI-i.safeI:r}),i=0;i<u;i++)delete n[i].safeI},syncTimeout:function(n,t,i){return 0<t?setTimeout(n,t,i):(n.call(0,i),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:ft,useSerialIds:function(n){return y=o(n,y)},wrap:function(n,t,i){var r=n[t];n[t]=function(){var n=Array.prototype.slice.call(arguments),u=arguments,t=this;return t.proceed=function(){r.apply(t,arguments.length?arguments:u)},n.unshift(r),n=i.apply(this,n),t.proceed=null,n}}}}),i(t,"Core/Color/Color.js",[t["Core/Globals.js"],t["Core/Utilities.js"]],function(n,t){var r=t.isNumber,u=t.merge,i=t.pInt;return t=function(){function t(r){if(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(n){return[i(n[1]),i(n[2]),i(n[3]),parseFloat(n[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(n){return[i(n[1]),i(n[2]),i(n[3]),1]}}],this.rgba=[],n.Color!==t)return new n.Color(r);if(!(this instanceof t))return new t(r);this.init(r)}return t.parse=function(n){return new t(n)},t.prototype.init=function(n){var i,u,r,f;if((this.input=n=t.names[n&&n.toLowerCase?n.toLowerCase():""]||n)&&n.stops)this.stops=n.stops.map(function(n){return new t(n[1])});else if(n&&n.charAt&&"#"===n.charAt()&&(r=n.length,n=parseInt(n.substr(1),16),7===r?i=[(n&16711680)>>16,(n&65280)>>8,n&255,1]:4===r&&(i=[(n&3840)>>4|(n&3840)>>8,(n&240)>>4|n&240,(n&15)<<4|n&15,1])),!i)for(u=this.parsers.length;u--&&!i;)f=this.parsers[u],(r=f.regex.exec(n))&&(i=f.parse(r));this.rgba=i||[]},t.prototype.get=function(n){var f=this.input,t=this.rgba,i;return"undefined"!=typeof this.stops?(i=u(f),i.stops=[].concat(i.stops),this.stops.forEach(function(t,r){i.stops[r]=[i.stops[r][0],t.get(n)]})):i=t&&r(t[0])?"rgb"===n||!n&&1===t[3]?"rgb("+t[0]+","+t[1]+","+t[2]+")":"a"===n?t[3]:"rgba("+t.join(",")+")":f,i},t.prototype.brighten=function(n){var t,u=this.rgba;if(this.stops)this.stops.forEach(function(t){t.brighten(n)});else if(r(n)&&0!==n)for(t=0;3>t;t++)u[t]+=i(255*n),0>u[t]&&(u[t]=0),255<u[t]&&(u[t]=255);return this},t.prototype.setOpacity=function(n){return this.rgba[3]=n,this},t.prototype.tweenTo=function(n,t){var r=this.rgba,i=n.rgba;return i.length&&r&&r.length?(n=1!==i[3]||1!==r[3],t=(n?"rgba(":"rgb(")+Math.round(i[0]+(r[0]-i[0])*(1-t))+","+Math.round(i[1]+(r[1]-i[1])*(1-t))+","+Math.round(i[2]+(r[2]-i[2])*(1-t))+(n?","+(i[3]+(r[3]-i[3])*(1-t)):"")+")"):t=n.input||"none",t},t.names={white:"#ffffff",black:"#000000"},t}(),n.Color=t,n.color=t.parse,t}),i(t,"Core/Color/Palette.js",[],function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" "),backgroundColor:"#ffffff",neutralColor100:"#000000",neutralColor80:"#333333",neutralColor60:"#666666",neutralColor40:"#999999",neutralColor20:"#cccccc",neutralColor10:"#e6e6e6",neutralColor5:"#f2f2f2",neutralColor3:"#f7f7f7",highlightColor100:"#003399",highlightColor80:"#335cad",highlightColor60:"#6685c2",highlightColor20:"#ccd6eb",highlightColor10:"#e6ebf5",positiveColor:"#06b535",negativeColor:"#f21313"}}),i(t,"Core/Time.js",[t["Core/Globals.js"],t["Core/Utilities.js"]],function(n,t){var f=n.win,e=t.defined,s=t.error,o=t.extend,h=t.isObject,c=t.merge,l=t.objectEach,r=t.pad,u=t.pick,a=t.splat,i=t.timeUnits;return t=function(){function t(n){this.options={};this.variableTimezone=this.useUTC=!1;this.Date=f.Date;this.getTimezoneOffset=this.timezoneOffsetFunction();this.update(n)}return t.prototype.get=function(n,t){if(this.variableTimezone||this.timezoneOffset){var i=t.getTime(),r=i-this.getTimezoneOffset(t);return t.setTime(r),n=t["getUTC"+n](),t.setTime(i),n}return this.useUTC?t["getUTC"+n]():t["get"+n]()},t.prototype.set=function(n,t,i){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===n||"Seconds"===n||"Minutes"===n&&0==this.getTimezoneOffset(t)%36e5)return t["setUTC"+n](i);var r=this.getTimezoneOffset(t);return r=t.getTime()-r,t.setTime(r),t["setUTC"+n](i),n=this.getTimezoneOffset(t),r=t.getTime()+n,t.setTime(r)}return this.useUTC?t["setUTC"+n](i):t["set"+n](i)},t.prototype.update=function(n){var t=u(n&&n.useUTC,!0);this.options=n=c(!0,this.options||{},n);this.Date=n.Date||f.Date||Date;this.timezoneOffset=(this.useUTC=t)&&n.timezoneOffset;this.getTimezoneOffset=this.timezoneOffsetFunction();this.variableTimezone=t&&!(!n.getTimezoneOffset&&!n.timezone)},t.prototype.makeTime=function(t,i,r,f,e,o){var s,h,c;return this.useUTC?(s=this.Date.UTC.apply(0,arguments),h=this.getTimezoneOffset(s),s+=h,c=this.getTimezoneOffset(s),h!==c?s+=c-h:h-36e5!==this.getTimezoneOffset(s-36e5)||n.isSafari||(s-=36e5)):s=new this.Date(t,i,u(r,1),u(f,0),u(e,0),u(o,0)).getTime(),s},t.prototype.timezoneOffsetFunction=function(){var i=this,n=this.options,t=n.moment||f.moment;if(!this.useUTC)return function(n){return 6e4*new Date(n.toString()).getTimezoneOffset()};if(n.timezone){if(t)return function(i){return 6e4*-t.tz(i,n.timezone).utcOffset()};s(25)}return this.useUTC&&n.getTimezoneOffset?function(t){return 6e4*n.getTimezoneOffset(t.valueOf())}:function(){return 6e4*(i.timezoneOffset||0)}},t.prototype.dateFormat=function(t,i,f){if(!e(i)||isNaN(i))return n.defaultOptions.lang&&n.defaultOptions.lang.invalidDate||"";t=u(t,"%Y-%m-%d %H:%M:%S");var k=this,s=new this.Date(i),h=this.get("Hours",s),a=this.get("Day",s),y=this.get("Date",s),v=this.get("Month",s),p=this.get("FullYear",s),c=n.defaultOptions.lang,w=c&&c.weekdays,b=c&&c.shortWeekdays;return s=o({a:b?b[a]:w[a].substr(0,3),A:w[a],d:r(y),e:r(y,2," "),w:a,b:c.shortMonths[v],B:c.months[v],m:r(v+1),o:v+1,y:p.toString().substr(2,2),Y:p,H:r(h),k:h,I:r(h%12||12),l:h%12||12,M:r(this.get("Minutes",s)),p:12>h?"AM":"PM",P:12>h?"am":"pm",S:r(s.getSeconds()),L:r(Math.floor(i%1e3),3)},n.dateFormats),l(s,function(n,r){for(;-1!==t.indexOf("%"+r);)t=t.replace("%"+r,"function"==typeof n?n.call(k,i):n)}),f?t.substr(0,1).toUpperCase()+t.substr(1):t},t.prototype.resolveDTLFormat=function(n){return h(n,!0)?n:(n=a(n),{main:n[0],from:n[1],to:n[2]})},t.prototype.getTimeTicks=function(n,t,r,f){var s=this,v=[],w={},h=new s.Date(t),c=n.unitRange,l=n.count||1,y,a,p,b;if(f=u(f,1),e(t)){for(s.set("Milliseconds",h,c>=i.second?0:l*Math.floor(s.get("Milliseconds",h)/l)),c>=i.second&&s.set("Seconds",h,c>=i.minute?0:l*Math.floor(s.get("Seconds",h)/l)),c>=i.minute&&s.set("Minutes",h,c>=i.hour?0:l*Math.floor(s.get("Minutes",h)/l)),c>=i.hour&&s.set("Hours",h,c>=i.day?0:l*Math.floor(s.get("Hours",h)/l)),c>=i.day&&s.set("Date",h,c>=i.month?1:Math.max(1,l*Math.floor(s.get("Date",h)/l))),c>=i.month&&(s.set("Month",h,c>=i.year?0:l*Math.floor(s.get("Month",h)/l)),a=s.get("FullYear",h)),c>=i.year&&s.set("FullYear",h,a-a%l),c===i.week&&(a=s.get("Day",h),s.set("Date",h,s.get("Date",h)-a+f+(a<f?-7:0))),a=s.get("FullYear",h),f=s.get("Month",h),p=s.get("Date",h),b=s.get("Hours",h),t=h.getTime(),(s.variableTimezone||!s.useUTC)&&e(r)&&(y=r-t>4*i.month||s.getTimezoneOffset(t)!==s.getTimezoneOffset(r)),t=h.getTime(),h=1;t<r;)v.push(t),t=c===i.year?s.makeTime(a+h*l,0):c===i.month?s.makeTime(a,f+h*l):!y||c!==i.day&&c!==i.week?y&&c===i.hour&&1<l?s.makeTime(a,f,p,b+h*l):t+c*l:s.makeTime(a,f,p+h*l*(c===i.day?1:7)),h++;v.push(t);c<=i.hour&&1e4>v.length&&v.forEach(function(n){0==n%18e5&&"000000000"===s.dateFormat("%H%M%S%L",n)&&(w[n]="day")})}return v.info=o(n,{higherRanks:w,totalRange:c*l}),v},t}(),n.Time=t,n.Time}),i(t,"Core/Options.js",[t["Core/Globals.js"],t["Core/Color/Color.js"],t["Core/Color/Palette.js"],t["Core/Time.js"],t["Core/Utilities.js"]],function(n,t,i,r,u){var s=n.isTouchDevice,h=n.svg,e,f,o;return t=t.parse,e=u.merge,f={colors:i.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:{panning:{enabled:!1,type:"x"},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}},zoomBySingleTouch:!1,width:null,height:null,borderColor:i.highlightColor80,backgroundColor:i.backgroundColor,plotBorderColor:i.neutralColor20},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:i.neutralColor80}},legend:{enabled:!0,align:"center",alignColumns:!0,layout:"horizontal",labelFormatter:function(){return this.name},borderColor:i.neutralColor40,borderRadius:0,navigation:{activeColor:i.highlightColor100,inactiveColor:i.neutralColor20},itemStyle:{color:i.neutralColor80,cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:i.neutralColor100},itemHiddenStyle:{color:i.neutralColor20},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:i.backgroundColor,opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:h,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:s?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:t(i.neutralColor3).setOpacity(.85).get(),borderWidth:1,shadow:!0,style:{color:i.neutralColor80,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:i.neutralColor40,fontSize:"9px"},text:"Highcharts.com"}},f.chart.styledMode=!1,o=new r(e(f.global,f.time)),{defaultOptions:f,defaultTime:o,getOptions:function(){return f},setOptions:function(t){return e(!0,f,t),(t.time||t.global)&&(n.time?n.time.update(e(f.global,f.time,t.global,t.time)):n.time=o),f}}}),i(t,"Core/Animation/Fx.js",[t["Core/Color/Color.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],function(n,t,i){var u=n.parse,f=t.win,r=i.isNumber,e=i.objectEach;return function(){function n(n,t,i){this.pos=NaN;this.options=t;this.elem=n;this.prop=i}return n.prototype.dSetter=function(){var n=this.paths,s=n&&n[0],f,i,u,e,o;if(n=n&&n[1],f=this.now||0,i=[],1!==f&&s&&n)if(s.length===n.length&&1>f)for(u=0;u<n.length;u++){for(var l=s[u],h=n[u],c=[],t=0;t<h.length;t++)e=l[t],o=h[t],c[t]=r(e)&&r(o)&&("A"!==h[0]||4!==t&&5!==t)?e+f*(o-e):o;i.push(c)}else i=n;else i=this.toD||[];this.elem.attr("d",i,void 0,!0)},n.prototype.update=function(){var n=this.elem,t=this.prop,i=this.now,r=this.options.step;this[t+"Setter"]?this[t+"Setter"]():n.attr?n.element&&n.attr(t,i,null,!0):n.style[t]=i+this.unit;r&&r.call(n,i,this)},n.prototype.run=function(t,i,r){var o=this,e=o.options,u=function(n){return u.stopped?!1:o.step(n)},s=f.requestAnimationFrame||function(n){setTimeout(n,13)},h=function(){for(var t=0;t<n.timers.length;t++)n.timers[t]()||n.timers.splice(t--,1);n.timers.length&&s(h)};t!==i||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=t,this.end=i,this.unit=r,this.now=this.start,this.pos=0,u.elem=this.elem,u.prop=this.prop,u()&&1===n.timers.push(u)&&s(h)):(delete e.curAnim[this.prop],e.complete&&0===Object.keys(e.curAnim).length&&e.complete.call(this.elem))},n.prototype.step=function(n){var u=+new Date,t=this.options,i=this.elem,f=t.complete,o=t.duration,s=t.curAnim,r;return i.attr&&!i.element?n=!1:n||u>=o+this.startTime?(this.now=this.end,this.pos=1,this.update(),r=s[this.prop]=!0,e(s,function(n){!0!==n&&(r=!1)}),r&&f&&f.call(i),n=!1):(this.pos=t.easing((u-this.startTime)/o),this.now=this.start+(this.end-this.start)*this.pos,this.update(),n=!0),n},n.prototype.initPath=function(n,t,i){function c(n,t){for(;n.length<h;){var i=n[0],r=t[h-n.length];r&&"M"===i[0]&&(n[0]="C"===r[0]?["C",i[1],i[2],i[1],i[2],i[1],i[2]]:["L",i[1],i[2]]);n.unshift(i);o&&(i=n.pop(),n.push(n[n.length-1],i))}}function l(n,t){for(;n.length<h;)if(t=n[Math.floor(n.length/s)-1].slice(),"C"===t[0]&&(t[1]=t[5],t[2]=t[6]),o){var i=n[Math.floor(n.length/s)].slice();n.splice(n.length/2,0,t,i)}else n.push(t)}var u=n.startX,f=n.endX,o,s,e,a,h;if(i=i.slice(),o=n.isArea,s=o?2:1,t=t&&t.slice(),!t)return[i,i];if(u&&f&&f.length){for(n=0;n<u.length;n++)if(u[n]===f[0]){e=n;break}else if(u[0]===f[f.length-u.length+n]){e=n;a=!0;break}else if(u[u.length-1]===f[f.length-u.length+n]){e=u.length-n;break}"undefined"==typeof e&&(t=[])}return t.length&&r(e)&&(h=i.length+e*s,a?(c(t,i),l(i,t)):(c(i,t),l(t,i))),[t,i]},n.prototype.fillSetter=function(){n.prototype.strokeSetter.apply(this,arguments)},n.prototype.strokeSetter=function(){this.elem.attr(this.prop,u(this.start).tweenTo(u(this.end),this.pos),null,!0)},n.timers=[],n}()}),i(t,"Core/Animation/AnimationUtilities.js",[t["Core/Animation/Fx.js"],t["Core/Utilities.js"]],function(n,t){function i(n){return u(n)?f({duration:500,defer:0},n):{duration:n?500:0,defer:0}}function r(t,i){for(var r=n.timers.length;r--;)n.timers[r].elem!==t||i&&i!==n.timers[r].prop||(n.timers[r].stopped=!0)}var e=t.defined,o=t.getStyle,s=t.isArray,h=t.isNumber,u=t.isObject,f=t.merge,c=t.objectEach,l=t.pick;return{animate:function(t,i,e){var v,p="",l,a,y;u(e)||(y=arguments,e={duration:y[2],easing:y[3],complete:y[4]});h(e.duration)||(e.duration=400);e.easing="function"==typeof e.easing?e.easing:Math[e.easing]||Math.easeInOutSine;e.curAnim=f(i);c(i,function(u,f){r(t,f);a=new n(t,e,f);l=void 0;"d"===f&&s(i.d)?(a.paths=a.initPath(t,t.pathArray,i.d),a.toD=i.d,v=0,l=1):t.attr?v=t.attr(f):(v=parseFloat(o(t,f))||0,"opacity"!==f&&(p="px"));l||(l=u);"string"==typeof l&&l.match("px")&&(l=l.replace(/px/g,""));a.run(v,l,p)})},animObject:i,getDeferredAnimation:function(n,t,r){var o=i(t),u=0,f=0;return(r?[r]:n.series).forEach(function(n){n=i(n.options.animation);u=t&&e(t.defer)?o.defer:Math.max(u,n.duration+n.defer);f=Math.min(o.duration,n.duration)}),n.renderer.forExport&&(u=0),{defer:Math.max(0,u-f),duration:Math.min(u,f)}},setAnimation:function(n,t){t.renderer.globalAnimation=l(n,t.options.chart.animation,!0)},stop:r}}),i(t,"Core/Renderer/HTML/AST.js",[t["Core/Globals.js"],t["Core/Utilities.js"]],function(n,t){var r=n.SVG_NS,e=t.attr,o=t.createElement,s=t.discardElement,u=t.error,h=t.isString,f=t.objectEach,c=t.splat,i;i=!1;try{i=!!(new DOMParser).parseFromString("","text/html")}catch(l){}return function(){function t(n){this.nodes="string"==typeof n?this.parseMarkup(n):n}return t.filterUserAttributes=function(n){return f(n,function(i,r){var f=!0;-1===t.allowedAttributes.indexOf(r)&&(f=!1);-1!==["background","dynsrc","href","lowsrc","src"].indexOf(r)&&(f=h(i)&&t.allowedReferences.some(function(n){return 0===i.indexOf(n)}));f||(u("Highcharts warning: Invalid attribute '"+r+"' in config"),delete n[r])}),n},t.setElementHTML=function(n,i){n.innerHTML="";i&&new t(i).addToDOM(n)},t.prototype.addToDOM=function(i){function o(i,s){var h;return c(i).forEach(function(i){var c=i.tagName,a=i.textContent?n.doc.createTextNode(i.textContent):void 0,l,v;c&&("#text"===c?l=a:-1!==t.allowedTags.indexOf(c)?(c=n.doc.createElementNS("svg"===c?r:s.namespaceURI||r,c),v=i.attributes||{},f(i,function(n,t){"tagName"!==t&&"attributes"!==t&&"children"!==t&&"textContent"!==t&&(v[t]=n)}),e(c,t.filterUserAttributes(v)),a&&c.appendChild(a),o(i.children||[],c),l=c):u("Highcharts warning: Invalid tagName '"+c+"' in config"));l&&s.appendChild(l);h=l}),h}return o(this.nodes,i)},t.prototype.parseMarkup=function(n){var u=[],t,r;return i?n=(new DOMParser).parseFromString(n,"text/html"):(t=o("div"),t.innerHTML=n,n={body:t}),r=function(n,t){var i=n.nodeName.toLowerCase(),u={tagName:i},e,f;if("#text"===i){if(i=n.textContent||"",/^[\s]*$/.test(i))return;u.textContent=i}(i=n.attributes)&&(e={},[].forEach.call(i,function(n){e[n.name]=n.value}),u.attributes=e);n.childNodes.length&&(f=[],[].forEach.call(n.childNodes,function(n){r(n,f)}),f.length&&(u.children=f));t.push(u)},[].forEach.call(n.body.childNodes,function(n){return r(n,u)}),t&&s(t),u},t.allowedTags="a b br button caption circle clipPath code dd defs div dl dt em feComponentTransfer feFuncA feFuncB feFuncG feFuncR feGaussianBlur feOffset feMerge feMergeNode filter h1 h2 h3 h4 h5 h6 hr i img li linearGradient marker ol p path pattern pre rect small span stop strong style sub sup svg table text thead tbody tspan td th tr u ul #text".split(" "),t.allowedAttributes="aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-pressed aria-readonly aria-roledescription aria-selected class clip-path color colspan cx cy d dx dy disabled fill height href id in markerHeight markerWidth offset opacity orient padding paddingLeft patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style result rowspan summary target tabindex text-align textAnchor textLength type valign width x x1 x2 y y1 y2 zIndex".split(" "),t.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" "),t}()}),i(t,"Core/FormatUtilities.js",[t["Core/Options.js"],t["Core/Utilities.js"]],function(n,t){function i(n,t,i,u){var c,l;n=+n||0;t=+t;var a=r.lang,h=(n.toString().split(".")[1]||"").split("e")[0].length,e=n.toString().split("e"),v=t;return-1===t?t=Math.min(h,20):o(t)?t&&e[1]&&0>e[1]&&(c=t+ +e[1],0<=c?(e[0]=(+e[0]).toExponential(c).split("e")[0],t=c):(e[0]=e[0].split(".")[0]||0,n=20>t?(e[0]*Math.pow(10,e[1])).toFixed(t):0,e[1]=0)):t=2,c=(Math.abs(e[1]?e[0]:n)+Math.pow(10,-Math.max(t,h)-1)).toFixed(t),h=String(s(c)),l=3<h.length?h.length%3:0,i=f(i,a.decimalPoint),u=f(u,a.thousandsSep),n=(0>n?"-":"")+(l?h.substr(0,l)+u:""),n=0>+e[1]&&!v?"0":n+h.substr(l).replace(/(\d{3})(?=\d)/g,"$1"+u),t&&(n+=i+c.slice(-t)),e[1]&&0!=+n&&(n+="e"+e[1]),n}var r=n.defaultOptions,u=n.defaultTime,e=t.getNestedProperty,o=t.isNumber,f=t.pick,s=t.pInt;return{dateFormat:function(n,t,i){return u.dateFormat(n,t,i)},format:function(n,t,f){var s="{",l=!1,a=r.lang,y=f&&f.time||u,h,c,o,v;for(f=f&&f.numberFormatter||i,h=[];n;){if(c=n.indexOf(s),-1===c)break;o=n.slice(0,c);l?(o=o.split(":"),s=e(o.shift()||"",t),o.length&&"number"==typeof s&&((o=o.join(":"),/f$/.test(o))?(v=parseInt((o.match(/\.([0-9])/)||["","-1"])[1],10),null!==s&&(s=f(s,v,a.decimalPoint,-1<o.indexOf(",")?a.thousandsSep:""))):s=y.dateFormat(o,s)),h.push(s)):h.push(o);n=n.slice(c+1);s=(l=!l)?"}":"{"}return h.push(n),h.join("")},numberFormat:i}}),i(t,"Core/Renderer/SVG/SVGElement.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/Renderer/HTML/AST.js"],t["Core/Color/Color.js"],t["Core/Globals.js"],t["Core/Color/Palette.js"],t["Core/Utilities.js"]],function(n,t,i,r,u,f){var it=n.animate,rt=n.animObject,y=n.stop,ut=r.deg2rad,h=r.doc,ft=r.noop,et=r.svg,l=r.SVG_NS,ot=r.win,st=f.addEvent,c=f.attr,ht=f.createElement,p=f.css,o=f.defined,w=f.erase,v=f.extend,b=f.fireEvent,k=f.isArray,d=f.isFunction,ct=f.isNumber,g=f.isString,nt=f.merge,s=f.objectEach,e=f.pick,a=f.pInt,lt=f.syncTimeout,tt=f.uniqueKey;return n=function(){function n(){this.element=void 0;this.onEvents={};this.opacity=1;this.renderer=void 0;this.SVG_NS=l;this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return n.prototype._defaultGetter=function(n){return n=e(this[n+"Value"],this[n],this.element?this.element.getAttribute(n):null,0),/^[\-0-9\.]+$/.test(n)&&(n=parseFloat(n)),n},n.prototype._defaultSetter=function(n,t,i){i.setAttribute(t,n)},n.prototype.add=function(n){var t=this.renderer,r=this.element,i;return n&&(this.parentGroup=n),this.parentInverted=n&&n.inverted,"undefined"!=typeof this.textStr&&"text"===this.element.nodeName&&t.buildText(this),this.added=!0,(!n||n.handleZ||this.zIndex)&&(i=this.zIndexSetter()),i||(n?n.element:t.box).appendChild(r),this.onAdd&&this.onAdd(),this},n.prototype.addClass=function(n,t){var i=t?"":this.attr("class")||"";return n=(n||"").split(/ /g).reduce(function(n,t){return-1===i.indexOf(t)&&n.push(t),n},i?[i]:[]).join(" "),n!==i&&this.attr("class",n),this},n.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},n.prototype.align=function(n,t,i){var o={},r=this.renderer,f=r.alignedObjects,u,s,h,c;return n?(this.alignOptions=n,this.alignByTranslate=t,!i||g(i))&&(this.alignTo=u=i||"renderer",w(f,this),f.push(this),i=void 0):(n=this.alignOptions,t=this.alignByTranslate,u=this.alignTo),i=e(i,r[u],"scrollablePlotBox"===u?r.plotBox:void 0,r),u=n.align,c=n.verticalAlign,r=(i.x||0)+(n.x||0),f=(i.y||0)+(n.y||0),"right"===u?s=1:"center"===u&&(s=2),s&&(r+=(i.width-(n.width||0))/s),o[t?"translateX":"x"]=Math.round(r),"bottom"===c?h=1:"middle"===c&&(h=2),h&&(f+=(i.height-(n.height||0))/h),o[t?"translateY":"y"]=Math.round(f),this[this.placed?"animate":"attr"](o),this.placed=!0,this.alignAttr=o,this},n.prototype.alignSetter=function(n){var t={left:"start",center:"middle",right:"end"};t[n]&&(this.alignValue=n,this.element.setAttribute("text-anchor",t[n]))},n.prototype.animate=function(n,t,i){var u=this,r=rt(e(t,this.renderer.globalAnimation,!0));return t=r.defer,e(h.hidden,h.msHidden,h.webkitHidden,!1)&&(r.duration=0),0!==r.duration?(i&&(r.complete=i),lt(function(){u.element&&it(u,n,r)},t)):(this.attr(n,void 0,i),s(n,function(n,t){r.step&&r.step.call(this,n,{prop:t,pos:1,elem:this})},this)),this},n.prototype.applyTextOutline=function(n){var i=this.element,t,u,f;-1!==n.indexOf("contrast")&&(n=n.replace(/contrast/g,this.renderer.getContrast(i.style.fill)));t=n.split(" ");n=t[t.length-1];(t=t[0])&&"none"!==t&&r.svg&&(this.fakeTS=!0,this.ySetter=this.xSetter,t=t.replace(/(^[\d\.]+)(.*?)$/g,function(n,t,i){return 2*Number(t)+i}),this.removeTextOutline(),u=h.createElementNS(l,"tspan"),c(u,{"class":"highcharts-text-outline",fill:n,stroke:n,"stroke-width":t,"stroke-linejoin":"round"}),[].forEach.call(i.childNodes,function(n){var t=n.cloneNode(!0);t.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(n){return t.removeAttribute(n)});u.appendChild(t)}),f=h.createElementNS(l,"tspan"),f.textContent="​",["x","y"].forEach(function(n){var t=i.getAttribute(n);t&&f.setAttribute(n,t)}),u.appendChild(f),i.insertBefore(u,i.firstChild))},n.prototype.attr=function(n,t,i,r){var e=this.element,l=this.symbolCustomAttribs,o,h=this,u,f,c;return"string"==typeof n&&"undefined"!=typeof t&&(c=n,n={},n[c]=t),"string"==typeof n?h=(this[n+"Getter"]||this._defaultGetter).call(this,n,e):(s(n,function(t,i){u=!1;r||y(this,i);this.symbolName&&-1!==l.indexOf(i)&&(o||(this.symbolAttr(n),o=!0),u=!0);this.rotation&&("x"===i||"y"===i)&&(this.doTransform=!0);u||(f=this[i+"Setter"]||this._defaultSetter,f.call(this,t,i,e),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(i)&&this.updateShadows(i,t,f))},this),this.afterSetters()),i&&i.call(this),h},n.prototype.clip=function(n){return this.attr("clip-path",n?"url("+this.renderer.url+"#"+n.id+")":"none")},n.prototype.crisp=function(n,t){t=t||n.strokeWidth||0;var i=Math.round(t)%2/2;return n.x=Math.floor(n.x||this.x||0)+i,n.y=Math.floor(n.y||this.y||0)+i,n.width=Math.floor((n.width||this.width||0)-2*i),n.height=Math.floor((n.height||this.height||0)-2*i),o(n.strokeWidth)&&(n.strokeWidth=t),n},n.prototype.complexColor=function(n,t,r){var h=this.renderer,l,e,u,a,c,v,y,p,w,d,f=[],g;b(this.renderer,"complexColor",{args:arguments},function(){if(n.radialGradient?e="radialGradient":n.linearGradient&&(e="linearGradient"),e){if(u=n[e],c=h.gradients,v=n.stops,w=r.radialReference,k(u)&&(n[e]=u={x1:u[0],y1:u[1],x2:u[2],y2:u[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===e&&w&&!o(u.gradientUnits)&&(a=u,u=nt(u,h.getRadialAttr(w,a),{gradientUnits:"userSpaceOnUse"})),s(u,function(n,t){"id"!==t&&f.push(t,n)}),s(v,function(n){f.push(n)}),f=f.join(","),c[f])d=c[f].attr("id");else{u.id=d=tt();var b=c[f]=h.createElement(e).attr(u).add(h.defs);b.radAttr=a;b.stops=[];v.forEach(function(n){0===n[1].indexOf("rgba")?(l=i.parse(n[1]),y=l.get("rgb"),p=l.get("a")):(y=n[1],p=1);n=h.createElement("stop").attr({offset:n[0],"stop-color":y,"stop-opacity":p}).add(b);b.stops.push(n)})}g="url("+h.url+"#"+d+")";r.setAttribute(t,g);r.gradient=f;n.toString=function(){return g}}})},n.prototype.css=function(n){var t=this.styles,u={},i=this.element,h=["textOutline","textOverflow","width"],r="",f=!t,e,o;return n&&n.color&&(n.fill=n.color),t&&s(n,function(n,i){t&&t[i]!==n&&(u[i]=n,f=!0)}),f&&(t&&(n=v(t,u)),n&&(null===n.width||"auto"===n.width?delete this.textWidth:"text"===i.nodeName.toLowerCase()&&n.width&&(e=this.textWidth=a(n.width))),this.styles=n,e&&!et&&this.renderer.forExport&&delete n.width,i.namespaceURI===this.SVG_NS?(o=function(n,t){return"-"+t.toLowerCase()},s(n,function(n,t){-1===h.indexOf(t)&&(r+=t.replace(/([A-Z])/g,o)+":"+n+";")}),r&&c(i,"style",r)):p(i,n),this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),n&&n.textOutline&&this.applyTextOutline(n.textOutline))),this},n.prototype.dashstyleSetter=function(n){var i=this["stroke-width"],t;if("inherit"===i&&(i=1),n=n&&n.toLowerCase()){for(t=n.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(","),n=t.length;n--;)t[n]=""+a(t[n])*e(i,NaN);n=t.join(",").replace(/NaN/g,"none");this.element.setAttribute("stroke-dasharray",n)}},n.prototype.destroy=function(){var n=this,t=n.element||{},u=n.renderer,r=t.ownerSVGElement,i=u.isSVG&&"SPAN"===t.nodeName&&n.parentGroup||void 0,f;if(t.onclick=t.onmouseout=t.onmouseover=t.onmousemove=t.point=null,y(n),n.clipPath&&r&&(f=n.clipPath,[].forEach.call(r.querySelectorAll("[clip-path],[CLIP-PATH]"),function(n){-1<n.getAttribute("clip-path").indexOf(f.element.id)&&n.removeAttribute("clip-path")}),n.clipPath=f.destroy()),n.stops){for(r=0;r<n.stops.length;r++)n.stops[r].destroy();n.stops.length=0;n.stops=void 0}for(n.safeRemoveChild(t),u.styledMode||n.destroyShadows();i&&i.div&&0===i.div.childNodes.length;)t=i.parentGroup,n.safeRemoveChild(i.div),delete i.div,i=t;n.alignTo&&w(u.alignedObjects,n);s(n,function(t,i){n[i]&&n[i].parentGroup===n&&n[i].destroy&&n[i].destroy();delete n[i]})},n.prototype.destroyShadows=function(){(this.shadows||[]).forEach(function(n){this.safeRemoveChild(n)},this);this.shadows=void 0},n.prototype.destroyTextPath=function(n,t){var i=n.getElementsByTagName("text")[0];if(i){if(i.removeAttribute("dx"),i.removeAttribute("dy"),t.element.setAttribute("id",""),this.textPathWrapper&&i.getElementsByTagName("textPath").length){for(n=this.textPathWrapper.element.childNodes;n.length;)i.appendChild(n[0]);i.removeChild(this.textPathWrapper.element)}}else(n.getAttribute("dx")||n.getAttribute("dy"))&&(n.removeAttribute("dx"),n.removeAttribute("dy"));this.textPathWrapper&&(this.textPathWrapper=this.textPathWrapper.destroy())},n.prototype.dSetter=function(n,t,i){k(n)&&("string"==typeof n[0]&&(n=this.renderer.pathToSegments(n)),this.pathArray=n,n=n.reduce(function(n,t,i){return t&&t.join?(i?n+" ":"")+t.join(" "):(t||"").toString()},""));/(NaN| {2}|^$)/.test(n)&&(n="M 0 0");this[t]!==n&&(i.setAttribute(t,n),this[t]=n)},n.prototype.fadeOut=function(n){var t=this;t.animate({opacity:0},{duration:e(n,150),complete:function(){t.attr({y:-9999}).hide()}})},n.prototype.fillSetter=function(n,t,i){"string"==typeof n?i.setAttribute(t,n):n&&this.complexColor(n,t,i)},n.prototype.getBBox=function(t,i){var f=this.renderer,h=this.element,u=this.styles,y=this.textStr,l=f.cache,a=f.cacheKeys,w=h.namespaceURI===this.SVG_NS,b,r,s,c;if(i=e(i,this.rotation,0),b=f.styledMode?h&&n.prototype.getStyle.call(h,"font-size"):u&&u.fontSize,o(y)&&(s=y.toString(),-1===s.indexOf("<")&&(s=s.replace(/[0-9]/g,"0")),s+=["",i,b,this.textWidth,u&&u.textOverflow,u&&u.fontWeight].join()),s&&!t&&(r=l[s]),!r){if(w||f.forExport){try{c=this.fakeTS&&function(n){var t=h.querySelector(".highcharts-text-outline");t&&p(t,{display:n})};d(c)&&c("none");r=h.getBBox?v({},h.getBBox()):{width:h.offsetWidth,height:h.offsetHeight};d(c)&&c("")}catch(k){""}(!r||0>r.width)&&(r={width:0,height:0})}else r=this.htmlGetBBox();if(f.isSVG&&(t=r.width,f=r.height,w&&(r.height=f={"11px,17":14,"13px,20":16}[u&&u.fontSize+","+Math.round(f)]||f),i&&(u=i*ut,r.width=Math.abs(f*Math.sin(u))+Math.abs(t*Math.cos(u)),r.height=Math.abs(f*Math.cos(u))+Math.abs(t*Math.sin(u)))),s&&0<r.height){for(;250<a.length;)delete l[a.shift()];l[s]||a.push(s);l[s]=r}}return r},n.prototype.getStyle=function(n){return ot.getComputedStyle(this.element||this,"").getPropertyValue(n)},n.prototype.hasClass=function(n){return-1!==(""+this.attr("class")).split(" ").indexOf(n)},n.prototype.hide=function(n){return n?this.attr({y:-9999}):this.attr({visibility:"hidden"}),this},n.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}},n.prototype.init=function(n,t){this.element="span"===t?ht(t):h.createElementNS(this.SVG_NS,t);this.renderer=n;b(this,"afterInit")},n.prototype.invert=function(n){return this.inverted=n,this.updateTransform(),this},n.prototype.on=function(n,t){var i=this.onEvents;return i[n]&&i[n](),i[n]=st(this.element,n,t),this},n.prototype.opacitySetter=function(n,t,i){this.opacity=n=Number(Number(n).toFixed(3));i.setAttribute(t,n)},n.prototype.removeClass=function(n){return this.attr("class",(""+this.attr("class")).replace(g(n)?new RegExp("(^| )"+n+"( |$)"):n," ").replace(/ +/g," ").trim())},n.prototype.removeTextOutline=function(){var n=this.element.querySelector("tspan.highcharts-text-outline");n&&this.safeRemoveChild(n)},n.prototype.safeRemoveChild=function(n){var t=n.parentNode;t&&t.removeChild(n)},n.prototype.setRadialReference=function(n){var t=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=n,t&&t.radAttr&&t.animate(this.renderer.getRadialAttr(n,t.radAttr)),this},n.prototype.setTextPath=function(n,i){var l=this.element,h=this.text?this.text.element:l,v={textAnchor:"text-anchor"},a=!1,r=this.textPathWrapper,f=!r,u,e,c;if(i=nt(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},i),u=t.filterUserAttributes(i.attributes),n&&i&&i.enabled){if(r&&null===r.element.parentNode?(f=!0,r=r.destroy()):r&&this.removeTextOutline.call(r.parentGroup),this.options&&this.options.padding&&(u.dx=-this.options.padding),r||(this.textPathWrapper=r=this.renderer.createElement("textPath"),a=!0),e=r.element,(i=n.element.getAttribute("id"))||n.element.setAttribute("id",i=tt()),f)for(h.setAttribute("y",0),ct(u.dx)&&h.setAttribute("x",-u.dx),n=[].slice.call(h.childNodes),f=0;f<n.length;f++)c=n[f],c.nodeType!==Node.TEXT_NODE&&"tspan"!==c.nodeName||e.appendChild(c);a&&r&&r.add({element:h});e.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+i);o(u.dy)&&(e.parentNode.setAttribute("dy",u.dy),delete u.dy);o(u.dx)&&(e.parentNode.setAttribute("dx",u.dx),delete u.dx);s(u,function(n,t){e.setAttribute(v[t]||t,n)});l.removeAttribute("transform");this.removeTextOutline.call(r);this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0});this.applyTextOutline=this.updateTransform=ft}else r&&(delete this.updateTransform,delete this.applyTextOutline,this.destroyTextPath(l,n),this.updateTransform(),this.options&&this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this},n.prototype.shadow=function(n,t,i){var l=[],o=this.element,a=this.oldShadowOptions,e={color:u.neutralColor100,offsetX:1,offsetY:1,opacity:.15,width:3},y=!1,r,p,w,f,h;if(!0===n?r=e:"object"==typeof n&&(r=v(e,n)),r&&(r&&a&&s(r,function(n,t){n!==a[t]&&(y=!0)}),y&&this.destroyShadows(),this.oldShadowOptions=r),r){if(!this.shadows){for(p=r.opacity/r.width,w=this.parentInverted?"translate(-1,-1)":"translate("+r.offsetX+", "+r.offsetY+")",e=1;e<=r.width;e++)f=o.cloneNode(!1),h=2*r.width+1-2*e,c(f,{stroke:n.color||u.neutralColor100,"stroke-opacity":p*e,"stroke-width":h,transform:w,fill:"none"}),f.setAttribute("class",(f.getAttribute("class")||"")+" highcharts-shadow"),i&&(c(f,"height",Math.max(c(f,"height")-h,0)),f.cutHeight=h),t?t.element.appendChild(f):o.parentNode&&o.parentNode.insertBefore(f,o),l.push(f);this.shadows=l}}else this.destroyShadows();return this},n.prototype.show=function(n){return this.attr({visibility:n?"inherit":"visible"})},n.prototype.strokeSetter=function(t,i,r){this[i]=t;this.stroke&&this["stroke-width"]?(n.prototype.fillSetter.call(this,this.stroke,"stroke",r),r.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===i&&0===t&&this.hasStroke?(r.removeAttribute("stroke"),this.hasStroke=!1):this.renderer.styledMode&&this["stroke-width"]&&(r.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0)},n.prototype.strokeWidth=function(){var n,i,t;return this.renderer.styledMode?(n=this.getStyle("stroke-width"),i=0,n.indexOf("px")===n.length-2?i=a(n):""!==n&&(t=h.createElementNS(l,"rect"),c(t,{width:n,"stroke-width":0}),this.element.parentNode.appendChild(t),i=t.getBBox().width,t.parentNode.removeChild(t)),i):this["stroke-width"]||0},n.prototype.symbolAttr=function(n){var t=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach(function(i){t[i]=e(n[i],t[i])});t.attr({d:t.renderer.symbols[t.symbolName](t.x,t.y,t.width,t.height,t)})},n.prototype.textSetter=function(n){n!==this.textStr&&(delete this.textPxLength,this.textStr=n,this.added&&this.renderer.buildText(this))},n.prototype.titleSetter=function(n){var t=this.element,i=t.getElementsByTagName("title")[0]||h.createElementNS(this.SVG_NS,"title");t.insertBefore?t.insertBefore(i,t.firstChild):t.appendChild(i);i.textContent=String(e(n,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,">")},n.prototype.toFront=function(){var n=this.element;return n.parentNode.appendChild(n),this},n.prototype.translate=function(n,t){return this.attr({translateX:n,translateY:t})},n.prototype.updateShadows=function(n,t,i){var r=this.shadows,u;if(r)for(u=r.length;u--;)i.call(r[u],"height"===n?Math.max(t-(r[u].cutHeight||0),0):"d"===n?this.d:t,n,r[u])},n.prototype.updateTransform=function(){var i=this.scaleX,r=this.scaleY,u=this.inverted,f=this.rotation,s=this.matrix,t=this.element,n=this.translateX||0,h=this.translateY||0;u&&(n+=this.width,h+=this.height);n=["translate("+n+","+h+")"];o(s)&&n.push("matrix("+s.join(",")+")");u?n.push("rotate(90) scale(-1,1)"):f&&n.push("rotate("+f+" "+e(this.rotationOriginX,t.getAttribute("x"),0)+" "+e(this.rotationOriginY,t.getAttribute("y")||0)+")");(o(i)||o(r))&&n.push("scale("+e(i,1)+" "+e(r,1)+")");n.length&&t.setAttribute("transform",n.join(" "))},n.prototype.visibilitySetter=function(n,t,i){"inherit"===n?i.removeAttribute(t):this[t]!==n&&i.setAttribute(t,n);this[t]=n},n.prototype.xGetter=function(n){return"circle"===this.element.nodeName&&("x"===n?n="cx":"y"===n&&(n="cy")),this._defaultGetter(n)},n.prototype.zIndexSetter=function(n,t){var u=this.renderer,f=this.parentGroup,h=(f||u).element||u.box,e=this.element,i,s,r,c;if(u=h===u.box,i=!1,s=this.added,o(n)?(e.setAttribute("data-z-index",n),n=+n,this[t]===n&&(s=!1)):o(this[t])&&e.removeAttribute("data-z-index"),this[t]=n,s){for((n=this.zIndex)&&f&&(f.handleZ=!0),t=h.childNodes,r=t.length-1;0<=r&&!i;r--)f=t[r],s=f.getAttribute("data-z-index"),c=!o(s),f!==e&&(0>n&&c&&!u&&!r?(h.insertBefore(e,t[r]),i=!0):(a(s)<=n||c&&(!o(n)||0<=n))&&(h.insertBefore(e,t[r+1]||null),i=!0));i||(h.insertBefore(e,t[u?3:0]||null),i=!0)}return i},n}(),n.prototype["stroke-widthSetter"]=n.prototype.strokeSetter,n.prototype.yGetter=n.prototype.xGetter,n.prototype.matrixSetter=n.prototype.rotationOriginXSetter=n.prototype.rotationOriginYSetter=n.prototype.rotationSetter=n.prototype.scaleXSetter=n.prototype.scaleYSetter=n.prototype.translateXSetter=n.prototype.translateYSetter=n.prototype.verticalAlignSetter=function(n,t){this[t]=n;this.doTransform=!0},n}),i(t,"Core/Renderer/SVG/SVGLabel.js",[t["Core/Renderer/SVG/SVGElement.js"],t["Core/Utilities.js"]],function(n,t){function f(n,t){i(n)?n!==this[t]&&(this[t]=n,this.updateTextPadding()):this[t]=void 0}var o=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),r=t.defined,s=t.extend,i=t.isNumber,h=t.merge,u=t.pick,e=t.removeEvent;return function(t){function c(n,i,r,u,e,o,s,h,l,a){var v=t.call(this)||this,y;return v.paddingSetter=f,v.paddingLeftSetter=f,v.paddingRightSetter=f,v.init(n,"g"),v.textStr=i,v.x=r,v.y=u,v.anchorX=o,v.anchorY=s,v.baseline=l,v.className=a,"button"!==a&&v.addClass("highcharts-label"),a&&v.addClass("highcharts-"+a),v.text=n.text("",0,0,h).attr({zIndex:1}),"string"==typeof e&&(y=/^url\((.*?)\)$/.test(e),(v.renderer.symbols[e]||y)&&(v.symbolKey=e)),v.bBox=c.emptyBBox,v.padding=3,v.baselineOffset=0,v.needsBox=n.styledMode||y,v.deferredAttr={},v.alignFactor=0,v}return o(c,t),c.prototype.alignSetter=function(n){n={left:0,center:.5,right:1}[n];n!==this.alignFactor&&(this.alignFactor=n,this.bBox&&i(this.xSetting)&&this.attr({x:this.xSetting}))},c.prototype.anchorXSetter=function(n,t){this.anchorX=n;this.boxAttr(t,Math.round(n)-this.getCrispAdjust()-this.xSetting)},c.prototype.anchorYSetter=function(n,t){this.anchorY=n;this.boxAttr(t,n-this.ySetting)},c.prototype.boxAttr=function(n,t){this.box?this.box.attr(n,t):this.deferredAttr[n]=t},c.prototype.css=function(t){if(t){var i={},r=void 0;t=h(t);c.textProps.forEach(function(n){"undefined"!=typeof t[n]&&(i[n]=t[n],delete t[n])});this.text.css(i);r="width"in i;"fontSize"in i||"fontWeight"in i?this.updateTextPadding():r&&this.updateBoxSize()}return n.prototype.css.call(this,t)},c.prototype.destroy=function(){e(this.element,"mouseenter");e(this.element,"mouseleave");this.text&&this.text.destroy();this.box&&(this.box=this.box.destroy());n.prototype.destroy.call(this)},c.prototype.fillSetter=function(n,t){n&&(this.needsBox=!0);this.fill=n;this.boxAttr(t,n)},c.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var n=this.padding,t=u(this.paddingLeft,n);return{width:this.width,height:this.height,x:this.bBox.x-t,y:this.bBox.y-n}},c.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},c.prototype.heightSetter=function(n){this.heightSetting=n},c.prototype.on=function(t,i){var r=this,u=r.text,f=u&&"SPAN"===u.element.tagName?u:void 0,e;if(f){e=function(n){("mouseenter"===t||"mouseleave"===t)&&n.relatedTarget instanceof Element&&(r.element.compareDocumentPosition(n.relatedTarget)&Node.DOCUMENT_POSITION_CONTAINED_BY||f.element.compareDocumentPosition(n.relatedTarget)&Node.DOCUMENT_POSITION_CONTAINED_BY)||i.call(r.element,n)};f.on(t,e)}return n.prototype.on.call(r,t,e||i),r},c.prototype.onAdd=function(){var n=this.textStr;this.text.add(this);this.attr({text:r(n)?n:"",x:this.x,y:this.y});this.box&&r(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},c.prototype.rSetter=function(n,t){this.boxAttr(t,n)},c.prototype.shadow=function(n){return n&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(n)),this},c.prototype.strokeSetter=function(n,t){this.stroke=n;this.boxAttr(t,n)},c.prototype["stroke-widthSetter"]=function(n,t){n&&(this.needsBox=!0);this["stroke-width"]=n;this.boxAttr(t,n)},c.prototype["text-alignSetter"]=function(n){this.textAlign=n},c.prototype.textSetter=function(n){"undefined"!=typeof n&&this.text.attr({text:n});this.updateTextPadding()},c.prototype.updateBoxSize=function(){var n=this.text.element.style,t={},u=this.padding,f=this.bBox=i(this.widthSetting)&&i(this.heightSetting)&&!this.textAlign||!r(this.text.textStr)?c.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth();this.height=(this.heightSetting||f.height||0)+2*u;this.baselineOffset=u+Math.min(this.renderer.fontMetrics(n&&n.fontSize,this.text).b,f.height||Infinity);this.needsBox&&(this.box||(n=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect(),n.addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),n.add(this)),n=this.getCrispAdjust(),t.x=n,t.y=(this.baseline?-this.baselineOffset:0)+n,t.width=Math.round(this.width),t.height=Math.round(this.height),this.box.attr(s(t,this.deferredAttr)),this.deferredAttr={})},c.prototype.updateTextPadding=function(){var n=this.text,t,i;this.updateBoxSize();t=this.baseline?0:this.baselineOffset;i=u(this.paddingLeft,this.padding);r(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(i+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width));(i!==n.x||t!==n.y)&&(n.attr("x",i),n.hasBoxWidthChanged&&(this.bBox=n.getBBox(!0)),"undefined"!=typeof t&&n.attr("y",t));n.x=i;n.y=t},c.prototype.widthSetter=function(n){this.widthSetting=i(n)?n:void 0},c.prototype.getPaddedWidth=function(){var n=this.padding,t=u(this.paddingLeft,n);return n=u(this.paddingRight,n),(this.widthSetting||this.bBox.width||0)+t+n},c.prototype.xSetter=function(n){this.x=n;this.alignFactor&&(n-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0);this.xSetting=Math.round(n);this.attr("translateX",this.xSetting)},c.prototype.ySetter=function(n){this.ySetting=this.y=Math.round(n);this.attr("translateY",this.ySetting)},c.emptyBBox={width:0,height:0,x:0,y:0},c.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),c}(n)}),i(t,"Core/Renderer/SVG/TextBuilder.js",[t["Core/Globals.js"],t["Core/Utilities.js"],t["Core/Renderer/HTML/AST.js"]],function(n,t,i){var r=n.doc,e=n.SVG_NS,u=t.attr,f=t.isString,o=t.objectEach,s=t.pick;return function(){function n(n){var t=n.styles;this.renderer=n.renderer;this.svgElement=n;this.width=n.textWidth;this.textLineHeight=t&&t.lineHeight;this.textOutline=t&&t.textOutline;this.ellipsis=!(!t||"ellipsis"!==t.textOverflow);this.noWrap=!(!t||"nowrap"!==t.whiteSpace);this.fontSize=t&&t.fontSize}return n.prototype.buildSVG=function(){var n=this.svgElement,u=n.element,e=n.renderer,t=s(n.textStr,"").toString(),a=-1!==t.indexOf("<"),h=u.childNodes,c=h.length,l,o;if(e=this.width&&!n.added&&e.box,l=/<br.*?>/g,o=[t,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join(),o!==n.textCache){for(n.textCache=o,delete n.actualWidth;c--;)u.removeChild(h[c]);a||this.ellipsis||this.width||-1!==t.indexOf(" ")&&(!this.noWrap||l.test(t))?""!==t&&(e&&e.appendChild(u),t=new i(t),this.modifyTree(t.nodes),t.addToDOM(n.element),this.modifyDOM(),this.ellipsis&&-1!==(u.textContent||"").indexOf("…")&&n.attr("title",this.unescapeEntities(n.textStr||"",["&lt;","&gt;"])),e&&e.removeChild(u)):u.appendChild(r.createTextNode(this.unescapeEntities(t)));f(this.textOutline)&&n.applyTextOutline&&n.applyTextOutline(this.textOutline)}},n.prototype.modifyDOM=function(){var n=this,t=this.svgElement,o=u(t.element,"x"),i,s,f;[].forEach.call(t.element.querySelectorAll("tspan.highcharts-br"),function(t){t.nextSibling&&t.previousSibling&&u(t,{dy:n.getLineHeight(t.nextSibling),x:o})});i=this.width||0;i&&(s=function(f,s){var h=f.textContent||"",c=h.replace(/([^\^])-/g,"$1- ").split(" "),l=!n.noWrap&&(1<c.length||1<t.element.childNodes.length),y=n.getLineHeight(s),a=0,v=t.actualWidth;if(n.ellipsis)h&&n.truncate(f,h,void 0,0,Math.max(0,i-parseInt(n.fontSize||12,10)),function(n,t){return n.substring(0,t)+"…"});else if(l){for(h=[],l=[];s.firstChild&&s.firstChild!==f;)l.push(s.firstChild),s.removeChild(s.firstChild);for(;c.length;)c.length&&!n.noWrap&&0<a&&(h.push(f.textContent||""),f.textContent=c.join(" ").replace(/- /g,"-")),n.truncate(f,void 0,c,0===a?v||0:0,i,function(n,t){return c.slice(0,t).join(" ").replace(/- /g,"-")}),v=t.actualWidth,a++;l.forEach(function(n){s.insertBefore(n,f)});h.forEach(function(n){s.insertBefore(r.createTextNode(n),f);n=r.createElementNS(e,"tspan");n.textContent="​";u(n,{dy:y,x:o});s.insertBefore(n,f)})}},f=function(n){[].slice.call(n.childNodes).forEach(function(i){i.nodeType===Node.TEXT_NODE?s(i,n):(-1!==i.className.baseVal.indexOf("highcharts-br")&&(t.actualWidth=0),f(i))})},f(t.element))},n.prototype.getLineHeight=function(n){var t;return n=n.nodeType===Node.TEXT_NODE?n.parentElement:n,this.renderer.styledMode||(t=n&&/(px|em)$/.test(n.style.fontSize)?n.style.fontSize:this.fontSize||this.renderer.style.fontSize||12),this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(t,n||this.svgElement.element).h},n.prototype.modifyTree=function(n){var i=this,t=function(r,u){var o=r.tagName,s=i.renderer.styledMode,e=r.attributes||{};"b"===o||"strong"===o?s?e["class"]="highcharts-strong":e.style="font-weight:bold;"+(e.style||""):("i"===o||"em"===o)&&(s?e["class"]="highcharts-emphasized":e.style="font-style:italic;"+(e.style||""));f(e.style)&&(e.style=e.style.replace(/(;| |^)color([ :])/,"$1fill$2"));"br"===o&&(e["class"]="highcharts-br",r.textContent="​",(u=n[u+1])&&u.textContent&&(u.textContent=u.textContent.replace(/^ +/gm,"")));"#text"!==o&&"a"!==o&&(r.tagName="tspan");r.attributes=e;r.children&&r.children.filter(function(n){return"#text"!==n.tagName}).forEach(t)};for(n.forEach(t);n[0]&&"tspan"===n[0].tagName&&!n[0].children;)n.splice(0,1)},n.prototype.truncate=function(n,t,i,r,u,f){var s=this.svgElement,v=s.renderer,p=s.rotation,l=[],h=i?1:0,e=(t||i||"").length,o=e,a,y=function(u,e){e=e||u;var o=n.parentNode;if(o&&"undefined"==typeof l[e])if(o.getSubStringLength)try{l[e]=r+o.getSubStringLength(0,i?e+1:e)}catch(h){""}else v.getSpanWidth&&(n.textContent=f(t||i,u),l[e]=r+v.getSpanWidth(s,n));return l[e]},c;if(s.rotation=0,c=y(n.textContent.length),r+c>u){for(;h<=e;)o=Math.ceil((h+e)/2),i&&(a=f(i,o)),c=y(o,a&&a.length-1),h===e?h=e+1:c>u?e=o-1:h=o;0===e?n.textContent="":t&&e===t.length-1||(n.textContent=a||f(t||i,o))}i&&i.splice(0,o);s.actualWidth=c;s.rotation=p},n.prototype.unescapeEntities=function(n,t){return o(this.renderer.escapes,function(i,r){t&&-1!==t.indexOf(i)||(n=n.toString().replace(new RegExp(i,"g"),r))}),n},n}()}),i(t,"Core/Renderer/SVG/SVGRenderer.js",[t["Core/Color/Color.js"],t["Core/Globals.js"],t["Core/Color/Palette.js"],t["Core/Renderer/SVG/SVGElement.js"],t["Core/Renderer/SVG/SVGLabel.js"],t["Core/Renderer/HTML/AST.js"],t["Core/Renderer/SVG/TextBuilder.js"],t["Core/Utilities.js"]],function(n,t,i,r,u,f,e,o){var p=o.addEvent,d=o.attr,et=o.createElement,w=o.css,s=o.defined,ot=o.destroyObjectProperties,c=o.extend,st=o.isArray,tt=o.isNumber,v=o.isObject,ht=o.isString,l=o.merge,h=o.pick,ct=o.pInt,it=o.uniqueKey,lt=t.charts,rt=t.deg2rad,a=t.doc,ut=t.isFirefox,ft=t.isMS,at=t.isWebKit,b=t.noop,vt=t.SVG_NS,y=t.symbolSizes,k=t.win,g,nt;return o=function(){function t(n,t,i,r,u,f,e){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(n,t,i,r,u,f,e)}return t.prototype.init=function(n,t,i,r,u,f,e){var s=this.createElement("svg").attr({version:"1.1","class":"highcharts-root"}),o;e||s.css(this.getStyle(r));r=s.element;n.appendChild(r);d(n,"dir","ltr");-1===n.innerHTML.indexOf("xmlns")&&d(r,"xmlns",this.SVG_NS);this.isSVG=!0;this.box=r;this.boxWrapper=s;this.alignedObjects=[];this.url=this.getReferenceURL();this.createElement("desc").add().element.appendChild(a.createTextNode("Created with Highcharts 9.1.0"));this.defs=this.createElement("defs").add();this.allowHTML=f;this.forExport=u;this.styledMode=e;this.gradients={};this.cache={};this.cacheKeys=[];this.imgCount=0;this.setSize(t,i,!1);ut&&n.getBoundingClientRect&&(t=function(){w(n,{left:0,top:0});o=n.getBoundingClientRect();w(n,{left:Math.ceil(o.left)-o.left+"px",top:Math.ceil(o.top)-o.top+"px"})},t(),this.unSubPixelFix=p(k,"resize",t))},t.prototype.definition=function(n){return new f([n]).addToDOM(this.defs.element)},t.prototype.getReferenceURL=function(){var n,t;return(ut||at)&&a.getElementsByTagName("base").length&&(s(g)||(n=it(),n=new f([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:n},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+n+")",fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(a.body),w(n,{position:"fixed",top:0,left:0,zIndex:9e5}),t=a.elementFromPoint(6,6),g="hitme"===(t&&t.id),a.body.removeChild(n)),g)?k.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20"):""},t.prototype.getStyle=function(n){return this.style=c({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},n)},t.prototype.setStyle=function(n){this.boxWrapper.css(this.getStyle(n))},t.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},t.prototype.destroy=function(){var n=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),ot(this.gradients||{}),this.gradients=null,n&&(this.defs=n.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},t.prototype.createElement=function(n){var t=new this.Element;return t.init(this,n),t},t.prototype.getRadialAttr=function(n,t){return{cx:n[0]-n[2]/2+(t.cx||0)*n[2],cy:n[1]-n[2]/2+(t.cy||0)*n[2],r:(t.r||0)*n[2]}},t.prototype.buildText=function(n){new e(n).buildSVG()},t.prototype.getContrast=function(t){return t=n.parse(t).rgba,t[0]*=1,t[1]*=1.2,t[2]*=.5,459<t[0]+t[1]+t[2]?"#000000":"#FFFFFF"},t.prototype.button=function(n,t,r,u,e,o,s,h,a,v){var w=this.label(n,t,r,a,void 0,void 0,v,void 0,"button"),b=0,k=this.styledMode,y=e?l(e):{},d,g,nt,tt;n=y&&y.style||{};y=f.filterUserAttributes(y);w.attr(l({padding:8,r:2},y));k||(y=l({fill:i.neutralColor3,stroke:i.neutralColor20,"stroke-width":1,style:{color:i.neutralColor80,cursor:"pointer",fontWeight:"normal"}},{style:n},y),d=y.style,delete y.style,o=l(y,{fill:i.neutralColor10},f.filterUserAttributes(o||{})),g=o.style,delete o.style,s=l(y,{fill:i.highlightColor10,style:{color:i.neutralColor100,fontWeight:"bold"}},f.filterUserAttributes(s||{})),nt=s.style,delete s.style,h=l(y,{style:{color:i.neutralColor20}},f.filterUserAttributes(h||{})),tt=h.style,delete h.style);p(w.element,ft?"mouseover":"mouseenter",function(){3!==b&&w.setState(1)});p(w.element,ft?"mouseout":"mouseleave",function(){3!==b&&w.setState(b)});w.setState=function(n){1!==n&&(w.state=b=n);w.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][n||0]);k||w.attr([y,o,s,h][n||0]).css([d,g,nt,tt][n||0])};k||w.attr(y).css(c({cursor:"default"},d));return w.on("touchstart",function(n){return n.stopPropagation()}).on("click",function(n){3!==b&&u.call(w,n)})},t.prototype.crispLine=function(n,t,i){void 0===i&&(i="round");var r=n[0],u=n[1];return r[1]===u[1]&&(r[1]=u[1]=Math[i](r[1])-t%2/2),r[2]===u[2]&&(r[2]=u[2]=Math[i](r[2])+t%2/2),n},t.prototype.path=function(n){var t=this.styledMode?{}:{fill:"none"};return st(n)?t.d=n:v(n)&&c(t,n),this.createElement("path").attr(t)},t.prototype.circle=function(n,t,i){return n=v(n)?n:"undefined"==typeof n?{}:{x:n,y:t,r:i},t=this.createElement("circle"),t.xSetter=t.ySetter=function(n,t,i){i.setAttribute("c"+t,n)},t.attr(n)},t.prototype.arc=function(n,t,i,r,u,f){return v(n)?(r=n,t=r.y,i=r.r,n=r.x):r={innerR:r,start:u,end:f},n=this.symbol("arc",n,t,i,i,r),n.r=i,n},t.prototype.rect=function(n,t,i,r,u,f){u=v(n)?n.r:u;var e=this.createElement("rect");return n=v(n)?n:"undefined"==typeof n?{}:{x:n,y:t,width:Math.max(i,0),height:Math.max(r,0)},this.styledMode||("undefined"!=typeof f&&(n["stroke-width"]=f,n=e.crisp(n)),n.fill="none"),u&&(n.r=u),e.rSetter=function(n,t,i){e.r=n;d(i,{rx:n,ry:n})},e.rGetter=function(){return e.r||0},e.attr(n)},t.prototype.setSize=function(n,t,i){this.width=n;this.height=t;this.boxWrapper.animate({width:n,height:t},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:h(i,!0)?void 0:0});this.alignElements()},t.prototype.g=function(n){var t=this.createElement("g");return n?t.attr({"class":"highcharts-"+n}):t},t.prototype.image=function(n,t,i,r,u,f){var e={preserveAspectRatio:"none"},s=function(n,t){n.setAttributeNS?n.setAttributeNS("http://www.w3.org/1999/xlink","href",t):n.setAttribute("hc-svg-href",t)},h=function(t){s(o.element,n);f.call(o,t)},o;return 1<arguments.length&&c(e,{x:t,y:i,width:r,height:u}),o=this.createElement("image").attr(e),f?(s(o.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),e=new k.Image,p(e,"load",h),e.src=n,e.complete&&h({})):s(o.element,n),o},t.prototype.symbol=function(n,t,i,r,u,f){var l=this,b=/^url\((.*?)\)$/,k=b.test(n),v=!k&&(this.symbols[n]?n:"circle"),d=v&&this.symbols[v],g,e,o,p;return d?("number"==typeof t&&(g=d.call(this.symbols,Math.round(t||0),Math.round(i||0),r||0,u||0,f)),e=this.path(g),l.styledMode||e.attr("fill","none"),c(e,{symbolName:v,x:t,y:i,width:r,height:u}),f&&c(e,f)):k&&(o=n.match(b)[1],e=this.image(o),e.imgwidth=h(y[o]&&y[o].width,f&&f.width),e.imgheight=h(y[o]&&y[o].height,f&&f.height),p=function(){e.attr({width:e.width,height:e.height})},["width","height"].forEach(function(n){e[n+"Setter"]=function(n,t){var i=this["img"+t];this[t]=n;s(i)&&(f&&"within"===f.backgroundSize&&this.width&&this.height&&(i=Math.round(i*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(t,i),this.alignByTranslate||(n=((this[t]||0)-i)/2,this.attr("width"===t?{translateX:n}:{translateY:n})))}}),s(t)&&e.attr({x:t,y:i}),e.isImg=!0,s(e.imgwidth)&&s(e.imgheight)?p():(e.attr({width:0,height:0}),et("img",{onload:function(){var n=lt[l.chartIndex];0===this.width&&(w(this,{position:"absolute",top:"-999em"}),a.body.appendChild(this));y[o]={width:this.width,height:this.height};e.imgwidth=this.width;e.imgheight=this.height;e.element&&p();this.parentNode&&this.parentNode.removeChild(this);l.imgCount--;l.imgCount||!n||n.hasLoaded||n.onload()},src:o}),this.imgCount++)),e},t.prototype.clipRect=function(n,t,i,r){var u=it()+"-",f=this.createElement("clipPath").attr({id:u}).add(this.defs);return n=this.rect(n,t,i,r,0).add(f),n.id=u,n.clipPath=f,n.count=0,n},t.prototype.text=function(n,t,i,r){var u={};return r&&(this.allowHTML||!this.forExport)?this.html(n,t,i):(u.x=Math.round(t||0),i&&(u.y=Math.round(i)),s(n)&&(u.text=n),n=this.createElement("text").attr(u),r||(n.xSetter=function(n,t,i){for(var f=i.getElementsByTagName("tspan"),e=i.getAttribute(t),u,r=0;r<f.length;r++)u=f[r],u.getAttribute(t)===e&&u.setAttribute(t,n);i.setAttribute(t,n)}),n)},t.prototype.fontMetrics=function(n,t){return n=!this.styledMode&&/px/.test(n)||!k.getComputedStyle?n||t&&t.style&&t.style.fontSize||this.style&&this.style.fontSize:t&&r.prototype.getStyle.call(t,"font-size"),n=/px/.test(n)?ct(n):12,t=24>n?n+3:Math.round(1.2*n),{h:t,b:Math.round(.8*t),f:n}},t.prototype.rotCorr=function(n,t,i){var r=n;return t&&i&&(r=Math.max(r*Math.cos(t*rt),4)),{x:-n/3*Math.sin(t*rt),y:r}},t.prototype.pathToSegments=function(n){for(var r=[],t=[],u={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},i=0;i<n.length;i++)ht(t[0])&&tt(n[i])&&t.length===u[t[0].toUpperCase()]&&n.splice(i,0,t[0].replace("M","L").replace("m","l")),"string"==typeof n[i]&&(t.length&&r.push(t.slice(0)),t.length=0),t.push(n[i]);return r.push(t.slice(0)),r},t.prototype.label=function(n,t,i,r,f,e,o,s,h){return new u(this,n,t,i,r,f,e,o,s,h)},t.prototype.alignElements=function(){this.alignedObjects.forEach(function(n){return n.align()})},t}(),o.prototype.Element=r,o.prototype.SVG_NS=vt,o.prototype.draw=b,o.prototype.escapes={"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},nt=function(n,t,i,r,u){return u=u&&u.r||0,[["M",n+u,t],["L",n+i-u,t],["C",n+i,t,n+i,t,n+i,t+u],["L",n+i,t+r-u],["C",n+i,t+r,n+i,t+r,n+i-u,t+r],["L",n+u,t+r],["C",n,t+r,n,t+r,n,t+r-u],["L",n,t+u],["C",n,t,n,t,n+u,t]]},b=function(n,t,i,r,u){return u&&u.r?nt(n,t,i,r,u):[["M",n,t],["L",n+i,t],["L",n+i,t+r],["L",n,t+r],["Z"]]},o.prototype.symbols={circle:function(n,t,i,r){return this.arc(n+i/2,t+r/2,i/2,r/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},rect:b,square:b,triangle:function(n,t,i,r){return[["M",n+i/2,t],["L",n+i,t+r],["L",n,t+r],["Z"]]},"triangle-down":function(n,t,i,r){return[["M",n,t],["L",n+i,t],["L",n+i/2,t+r],["Z"]]},diamond:function(n,t,i,r){return[["M",n+i/2,t],["L",n+i,t+r/2],["L",n+i/2,t+r],["L",n,t+r/2],["Z"]]},arc:function(n,t,i,r,u){var e=[],f,o,c;if(u){f=u.start||0;o=h(u.r,i);i=h(u.r,r||i);c=(u.end||0)-.001;r=u.innerR;var v=h(u.open,.001>Math.abs((u.end||0)-f-2*Math.PI)),y=Math.cos(f),p=Math.sin(f),l=Math.cos(c),a=Math.sin(c);f=h(u.longArc,.001>c-f-Math.PI?0:1);e.push(["M",n+o*y,t+i*p],["A",o,i,0,f,h(u.clockwise,1),n+o*l,t+i*a]);s(r)&&e.push(v?["M",n+r*l,t+r*a]:["L",n+r*l,t+r*a],["A",r,r,0,f,s(u.clockwise)?1-u.clockwise:0,n+r*y,t+r*p]);v||e.push(["Z"])}return e},callout:function(n,t,i,r,u){var o=Math.min(u&&u.r||0,i,r),s=o+6,f=u&&u.anchorX,e;return(u=u&&u.anchorY||0,e=nt(n,t,i,r,{r:o}),!tt(f))?e:(n+f>=i?u>t+s&&u<t+r-s?e.splice(3,1,["L",n+i,u-6],["L",n+i+6,u],["L",n+i,u+6],["L",n+i,t+r-o]):e.splice(3,1,["L",n+i,r/2],["L",f,u],["L",n+i,r/2],["L",n+i,t+r-o]):0>=n+f?u>t+s&&u<t+r-s?e.splice(7,1,["L",n,u+6],["L",n-6,u],["L",n,u-6],["L",n,t+o]):e.splice(7,1,["L",n,r/2],["L",f,u],["L",n,r/2],["L",n,t+o]):u&&u>r&&f>n+s&&f<n+i-s?e.splice(5,1,["L",f+6,t+r],["L",f,t+r+6],["L",f-6,t+r],["L",n+o,t+r]):u&&0>u&&f>n+s&&f<n+i-s&&e.splice(1,1,["L",f-6,t],["L",f,t-6],["L",f+6,t],["L",i-o,t]),e)}},t.SVGRenderer=o,t.Renderer=t.SVGRenderer,t.Renderer}),i(t,"Core/Renderer/HTML/HTMLElement.js",[t["Core/Globals.js"],t["Core/Renderer/SVG/SVGElement.js"],t["Core/Utilities.js"]],function(n,t,i){var u=n.isFirefox,s=n.isMS,h=n.isWebKit,f=n.win,r=i.css,e=i.defined,o=i.extend,c=i.pick,l=i.pInt;return o(t.prototype,{htmlCss:function(n){var t="SPAN"===this.element.tagName&&n&&"width"in n,u=c(t&&n.width,void 0),i;return t&&(delete n.width,this.textWidth=u,i=!0),n&&"ellipsis"===n.textOverflow&&(n.whiteSpace="nowrap",n.overflow="hidden"),this.styles=o(this.styles,n),r(this.element,n),i&&this.htmlUpdateTransform(),this},htmlGetBBox:function(){var n=this.element;return{x:n.offsetLeft,y:n.offsetTop,width:n.offsetWidth,height:n.offsetHeight}},htmlUpdateTransform:function(){var i,t,h,u;if(this.added){var s=this.renderer,n=this.element,c=this.translateX||0,a=this.translateY||0,y=this.x||0,p=this.y||0,f=this.textAlign||"left",v={left:0,center:.5,right:1}[f],o=this.styles;o=o&&o.whiteSpace;r(n,{marginLeft:c,marginTop:a});!s.styledMode&&this.shadows&&this.shadows.forEach(function(n){r(n,{marginLeft:c+1,marginTop:a+1})});this.inverted&&[].forEach.call(n.childNodes,function(t){s.invertChild(t,n)});"SPAN"===n.tagName&&(i=this.rotation,t=void 0,t=this.textWidth&&l(this.textWidth),h=[i,f,n.innerHTML,this.textWidth,this.textAlign].join(),!(u=t!==this.oldTextWidth)||(u=t>this.oldTextWidth)||((u=this.textPxLength)||(r(n,{width:"",whiteSpace:o||"nowrap"}),u=n.offsetWidth),u=u>t),u&&(/[ \-]/.test(n.textContent||n.innerText)||"ellipsis"===n.style.textOverflow)?(r(n,{width:t+"px",display:"block",whiteSpace:o||"normal"}),this.oldTextWidth=t,this.hasBoxWidthChanged=!0):this.hasBoxWidthChanged=!1,h!==this.cTT&&(t=s.fontMetrics(n.style.fontSize,n).b,!e(i)||i===(this.oldRotation||0)&&f===this.oldAlign||this.setSpanRotation(i,v,t),this.getSpanCorrection(!e(i)&&this.textPxLength||n.offsetWidth,t,v,i,f)),r(n,{left:y+(this.xCorr||0)+"px",top:p+(this.yCorr||0)+"px"}),this.cTT=h,this.oldRotation=i,this.oldAlign=f)}else this.alignOnAdd=!0},setSpanRotation:function(n,t,i){var e={},o=s&&!/Edge/.test(f.navigator.userAgent)?"-ms-transform":h?"-webkit-transform":u?"MozTransform":f.opera?"-o-transform":void 0;o&&(e[o]=e.transform="rotate("+n+"deg)",e[o+(u?"Origin":"-origin")]=e.transformOrigin=100*t+"% "+i+"px",r(this.element,e))},getSpanCorrection:function(n,t,i){this.xCorr=-n*i;this.yCorr=-t}}),t}),i(t,"Core/Renderer/HTML/HTMLRenderer.js",[t["Core/Renderer/HTML/AST.js"],t["Core/Renderer/SVG/SVGElement.js"],t["Core/Renderer/SVG/SVGRenderer.js"],t["Core/Utilities.js"]],function(n,t,i,r){var f=r.attr,e=r.createElement,u=r.extend,o=r.pick;return u(i.prototype,{html:function(i,r,s){var h=this.createElement("span"),l=h.element,c=h.renderer,a=c.isSVG,v=function(n,i){["opacity","visibility"].forEach(function(r){n[r+"Setter"]=function(u,f,e){var o=n.div?n.div.style:i;t.prototype[r+"Setter"].call(this,u,f,e);o&&(o[f]=u)}});n.addedSetters=!0};return h.textSetter=function(t){t!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,n.setElementHTML(this.element,o(t,"")),this.textStr=t,h.doTransform=!0)},a&&v(h,h.element.style),h.xSetter=h.ySetter=h.alignSetter=h.rotationSetter=function(n,t){"align"===t?h.alignValue=h.textAlign=n:h[t]=n;h.doTransform=!0},h.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},h.attr({text:i,x:Math.round(r),y:Math.round(s)}).css({position:"absolute"}),c.styledMode||h.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),l.style.whiteSpace="nowrap",h.css=h.htmlCss,a&&(h.add=function(n){var r=c.box.parentNode,i=[],t;if(this.parentGroup=n){if(t=n.div,!t){for(;n;)i.push(n),n=n.parentGroup;i.reverse().forEach(function(n){function s(t,i){n[i]=t;"translateX"===i?o.left=t+"px":o.top=t+"px";n.doTransform=!0}var c=f(n.element,"class"),l=n.styles||{},o;t=n.div=n.div||e("div",c?{className:c}:void 0,{position:"absolute",left:(n.translateX||0)+"px",top:(n.translateY||0)+"px",display:n.display,opacity:n.opacity,cursor:l.cursor,pointerEvents:l.pointerEvents},t||r);o=t.style;u(n,{classSetter:function(n){return function(t){this.element.setAttribute("class",t);n.className=t}}(t),on:function(){return i[0].div&&h.on.apply({element:i[0].div,onEvents:h.onEvents},arguments),n},translateXSetter:s,translateYSetter:s});n.addedSetters||v(n)})}}else t=r;return t.appendChild(l),h.added=!0,h.alignOnAdd&&h.htmlUpdateTransform(),h}),h}}),i}),i(t,"Core/Axis/Tick.js",[t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],function(n,t,i){var f=t.deg2rad,h=i.clamp,e=i.correctFloat,o=i.defined,c=i.destroyObjectProperties,l=i.extend,u=i.fireEvent,s=i.isNumber,a=i.merge,v=i.objectEach,r=i.pick;return i=function(){function t(n,t,i,r,f){this.isNewLabel=this.isNew=!0;this.axis=n;this.pos=t;this.type=i||"";this.parameters=f||{};this.tickmarkOffset=this.parameters.tickmarkOffset;this.options=this.parameters.options;u(this,"init");i||r||this.addLabel()}return t.prototype.addLabel=function(){var t=this,i=t.axis,a=i.options,k=i.chart,y=i.categories,nt=i.logarithmic,ft=i.names,v=t.pos,h=r(t.options&&t.options.labels,a.labels),c=i.tickPositions,tt=v===c[0],it=v===c[c.length-1],f=t.label,rt=(!h.step||1===h.step)&&1===i.tickInterval,w,d,b,ut,p,g;c=c.info;y=this.parameters.category||(y?r(y[v],ft[v],v):v);nt&&s(y)&&(y=e(nt.lin2log(y)));i.dateTime&&c&&(b=k.time.resolveDTLFormat(a.dateTimeLabelFormats[!a.grid&&c.higherRanks[v]||c.unitName]),ut=b.main);t.isFirst=tt;t.isLast=it;p={axis:i,chart:k,dateTimeLabelFormat:ut,isFirst:tt,isLast:it,pos:v,tick:t,tickPositionInfo:c,value:y};u(this,"labelFormat",p);g=function(t){return h.formatter?h.formatter.call(t,t):h.format?(t.text=i.defaultLabelFormatter.call(t),n.format(h.format,t,k)):i.defaultLabelFormatter.call(t,t)};a=g.call(p,p);(d=b&&b.list)&&(t.shortenLabel=function(){for(w=0;w<d.length;w++)if(l(p,{dateTimeLabelFormat:d[w]}),f.attr({text:g.call(p,p)}),f.getBBox().width<i.getSlotWidth(t)-2*h.padding)return;f.attr({text:""})});rt&&i._addedPlotLB&&t.moveLabel(a,h);o(f)||t.movedLabel?f&&f.textStr!==a&&!rt&&(!f.textWidth||h.style.width||f.styles.width||f.css({width:null}),f.attr({text:a}),f.textPxLength=f.getBBox().width):(t.label=f=t.createLabel({x:0,y:0},a,h),t.rotation=0)},t.prototype.createLabel=function(n,t,i){var r=this.axis,u=r.chart;return(n=o(t)&&i.enabled?u.renderer.text(t,n.x,n.y,i.useHTML).add(r.labelGroup):null)&&(u.styledMode||n.css(a(i.style)),n.textPxLength=n.getBBox().width),n},t.prototype.destroy=function(){c(this,this.axis)},t.prototype.getPosition=function(n,t,i,r){var f=this.axis,o=f.chart,s=r&&o.oldChartHeight||o.chartHeight;return n={x:n?e(f.translate(t+i,null,null,r)+f.transB):f.left+f.offset+(f.opposite?(r&&o.oldChartWidth||o.chartWidth)-f.right-f.left:0),y:n?s-f.bottom+f.offset-(f.opposite?f.height:0):e(s-f.translate(t+i,null,null,r)-f.transB)},n.y=h(n.y,-1e5,1e5),u(this,"afterGetPosition",{pos:n}),n},t.prototype.getLabelPosition=function(n,t,i,r,e,s,h,c){var l=this.axis,w=l.transA,b=l.isLinked&&l.linkedParent?l.linkedParent.reversed:l.reversed,a=l.staggerLines,y=l.tickRotCorr||{x:0,y:0},p=e.y,k=r||l.reserveSpaceDefault?0:-l.labelOffset*("center"===l.labelAlign?.5:1),v={};return o(p)||(p=0===l.side?i.rotation?-8:-i.getBBox().height:2===l.side?y.y+8:Math.cos(i.rotation*f)*(y.y-i.getBBox(!1,0).height/2)),n=n+e.x+k+y.x-(s&&r?s*w*(b?-1:1):0),t=t+p-(s&&!r?s*w*(b?1:-1):0),a&&(i=h/(c||1)%a,l.opposite&&(i=a-i-1),t+=l.labelOffset/a*i),v.x=n,v.y=Math.round(t),u(this,"afterGetLabelPosition",{pos:v,tickmarkOffset:s,index:h}),v},t.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},t.prototype.getMarkPath=function(n,t,i,r,u,f){return f.crispLine([["M",n,t],["L",n+(u?0:-i),t+(u?i:0)]],r)},t.prototype.handleOverflow=function(n){var t=this.axis,w=t.options.labels,e=n.x,a=t.chart.chartWidth,o=t.chart.spacing,v=r(t.labelLeft,Math.min(t.pos,o[3]));o=r(t.labelRight,Math.max(t.isRadial?0:t.pos+t.len,a-o[1]));var y=this.label,h=this.rotation,u={left:0,center:.5,right:1}[t.labelAlign||y.attr("align")],s=y.getBBox().width,c=t.getSlotWidth(this),i=c,b=1,l,p={};h||"justify"!==w.overflow?0>h&&e-u*s<v?l=Math.round(e/Math.cos(h*f)-v):0<h&&e+u*s>o&&(l=Math.round((a-e)/Math.cos(h*f))):(a=e+(1-u)*s,e-u*s<v?i=n.x+i*(1-u)-v:a>o&&(i=o-n.x+i*u,b=-1),i=Math.min(c,i),i<c&&"center"===t.labelAlign&&(n.x+=b*(c-i-u*(c-Math.min(s,i)))),s>i||t.autoRotation&&(y.styles||{}).width)&&(l=i);l&&(this.shortenLabel?this.shortenLabel():(p.width=Math.floor(l)+"px",(w.style||{}).textOverflow||(p.textOverflow="ellipsis"),y.css(p)))},t.prototype.moveLabel=function(n,t){var i=this,u=i.label,f=!1,r=i.axis,o=r.reversed,e;u&&u.textStr===n?(i.movedLabel=u,f=!0,delete i.label):v(r.ticks,function(t){f||t.isNew||t===i||!t.label||t.label.textStr!==n||(i.movedLabel=t.label,f=!0,t.labelPos=i.movedLabel.xy,delete t.label)});!f&&(i.labelPos||u)&&(e=i.labelPos||u.xy,u=r.horiz?o?0:r.width+r.left:e.x,r=r.horiz?e.y:o?r.width+r.left:0,i.movedLabel=i.createLabel({x:u,y:r},n,t),i.movedLabel&&i.movedLabel.attr({opacity:0}))},t.prototype.render=function(n,t,i){var f=this.axis,o=f.horiz,e=this.pos,s=r(this.tickmarkOffset,f.tickmarkOffset),h;e=this.getPosition(o,e,s,t);s=e.x;h=e.y;f=o&&s===f.pos+f.len||!o&&h===f.pos?-1:1;o=r(i,this.label&&this.label.newOpacity,1);i=r(i,1);this.isActive=!0;this.renderGridLine(t,i,f);this.renderMark(e,i,f);this.renderLabel(e,t,o,n);this.isNew=!1;u(this,"afterRender")},t.prototype.renderGridLine=function(n,t,i){var u=this.axis,f=u.options,e=this.gridLine,o={},a=this.pos,s=this.type,v=r(this.tickmarkOffset,u.tickmarkOffset),y=u.chart.renderer,h=f.gridLineWidth,c=f.gridLineColor,l=f.gridLineDashStyle;"minor"===this.type&&(h=f.minorGridLineWidth,c=f.minorGridLineColor,l=f.minorGridLineDashStyle);e||(u.chart.styledMode||(o.stroke=c,o["stroke-width"]=h||0,o.dashstyle=l),s||(o.zIndex=1),n&&(t=0),this.gridLine=e=y.path().attr(o).addClass("highcharts-"+(s?s+"-":"")+"grid-line").add(u.gridGroup));e&&(i=u.getPlotLinePath({value:a+v,lineWidth:e.strokeWidth()*i,force:"pass",old:n}))&&e[n||this.isNew?"attr":"animate"]({d:i,opacity:t})},t.prototype.renderMark=function(n,t,i){var u=this.axis,o=u.options,h=u.chart.renderer,f=this.type,s=u.tickSize(f?f+"Tick":"tick"),e=this.mark,c=!e,a=n.x,l;n=n.y;l=r(o["minor"!==f?"tickWidth":"minorTickWidth"],!f&&u.isXAxis?1:0);o=o["minor"!==f?"tickColor":"minorTickColor"];s&&(u.opposite&&(s[0]=-s[0]),c&&(this.mark=e=h.path().addClass("highcharts-"+(f?f+"-":"")+"tick").add(u.axisGroup),u.chart.styledMode||e.attr({stroke:o,"stroke-width":l})),e[c?"attr":"animate"]({d:this.getMarkPath(a,n,s[0],e.strokeWidth()*i,u.horiz,h),opacity:t}))},t.prototype.renderLabel=function(n,t,i,u){var f=this.axis,v=f.horiz,c=f.options,e=this.label,o=c.labels,l=o.step,h,a;f=r(this.tickmarkOffset,f.tickmarkOffset);h=!0;a=n.x;n=n.y;e&&s(a)&&(e.xy=n=this.getLabelPosition(a,n,e,v,o,f,u,l),this.isFirst&&!this.isLast&&!c.showFirstLabel||this.isLast&&!this.isFirst&&!c.showLastLabel?h=!1:!v||o.step||o.rotation||t||0===i||this.handleOverflow(n),l&&u%l&&(h=!1),h&&s(n.y)?(n.opacity=i,e[this.isNewLabel?"attr":"animate"](n),this.isNewLabel=!1):(e.attr("y",-9999),this.isNewLabel=!0))},t.prototype.replaceMovedLabel=function(){var t=this.label,n=this.axis,i=n.reversed,r;t&&!this.isNew&&(r=n.horiz?i?n.left:n.width+n.left:t.xy.x,i=n.horiz?t.xy.y:i?n.width+n.top:n.top,t.animate({x:r,y:i,opacity:0},void 0,t.destroy),delete this.label);n.isDirty=!0;this.label=this.movedLabel;delete this.movedLabel},t}(),t.Tick=i,t.Tick}),i(t,"Core/Axis/Axis.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/Color/Color.js"],t["Core/Globals.js"],t["Core/Color/Palette.js"],t["Core/Options.js"],t["Core/Axis/Tick.js"],t["Core/Utilities.js"]],function(n,t,i,r,u,f,e){var it=n.animObject,b=u.defaultOptions,rt=e.addEvent,k=e.arrayMax,ut=e.arrayMin,d=e.clamp,l=e.correctFloat,s=e.defined,ft=e.destroyObjectProperties,g=e.erase,p=e.error,w=e.extend,c=e.fireEvent,et=e.getMagnitude,ot=e.isArray,st=e.isFunction,h=e.isNumber,nt=e.isString,v=e.merge,ht=e.normalizeTickInterval,a=e.objectEach,o=e.pick,y=e.relativeLength,ct=e.removeEvent,lt=e.splat,at=e.syncTimeout,tt;return tt=i.deg2rad,n=function(){function n(n,t){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0;this.init(n,t)}return n.prototype.init=function(n,t){var u=t.isX,i=this;i.chart=n;i.horiz=n.inverted&&!i.isZAxis?!u:u;i.isXAxis=u;i.coll=i.coll||(u?"xAxis":"yAxis");c(this,"init",{userOptions:t});i.opposite=o(t.opposite,i.opposite);i.side=o(t.side,i.side,i.horiz?i.opposite?0:2:i.opposite?1:3);i.setOptions(t);var r=this.options,f=r.labels,e=r.type;i.userOptions=t;i.minPixelPadding=0;i.reversed=o(r.reversed,i.reversed);i.visible=r.visible;i.zoomEnabled=r.zoomEnabled;i.hasNames="category"===e||!0===r.categories;i.categories=r.categories||i.hasNames;i.names||(i.names=[],i.names.keys={});i.plotLinesAndBandsGroups={};i.positiveValuesOnly=!!i.logarithmic;i.isLinked=s(r.linkedTo);i.ticks={};i.labelEdge=[];i.minorTicks={};i.plotLinesAndBands=[];i.alternateBands={};i.len=0;i.minRange=i.userMinRange=r.minRange||r.maxZoom;i.range=r.range;i.offset=r.offset||0;i.max=null;i.min=null;t=o(r.crosshair,lt(n.options.tooltip.crosshairs)[u?0:1]);i.crosshair=!0===t?{}:t;t=i.options.events;-1===n.axes.indexOf(i)&&(u?n.axes.splice(n.xAxis.length,0,i):n.axes.push(i),n[i.coll].push(i));i.series=i.series||[];n.inverted&&!i.isZAxis&&u&&"undefined"==typeof i.reversed&&(i.reversed=!0);i.labelRotation=h(f.rotation)?f.rotation:void 0;a(t,function(n,t){st(n)&&rt(i,t,n)});c(this,"afterInit")},n.prototype.setOptions=function(t){this.options=v(n.defaultOptions,"yAxis"===this.coll&&n.defaultYAxisOptions,[n.defaultTopAxisOptions,n.defaultRightAxisOptions,n.defaultBottomAxisOptions,n.defaultLeftAxisOptions][this.side],v(b[this.coll],t));c(this,"afterSetOptions",{userOptions:t})},n.prototype.defaultLabelFormatter=function(){var n=this.axis,t=h(this.value)?this.value:NaN,c=n.chart.time,o=this.dateTimeLabelFormat,u=b.lang,f=u.numericSymbols,i;u=u.numericSymbolMagnitude||1e3;var r=f&&f.length,s=n.logarithmic?Math.abs(t):n.tickInterval,e=this.chart.numberFormatter;if(n.categories)i=""+this.value;else if(o)i=c.dateFormat(o,t);else if(r&&1e3<=s)for(;r--&&"undefined"==typeof i;)n=Math.pow(u,r+1),s>=n&&0==10*t%n&&null!==f[r]&&0!==t&&(i=e(t/n,-1)+f[r]);return"undefined"==typeof i&&(i=1e4<=Math.abs(t)?e(t,-1):e(t,-1,void 0,"")),i},n.prototype.getSeriesExtremes=function(){var n=this,i=n.chart,t;c(this,"getSeriesExtremes",null,function(){n.hasVisibleSeries=!1;n.dataMin=n.dataMax=n.threshold=null;n.softThreshold=!n.isXAxis;n.stacking&&n.stacking.buildStacks();n.series.forEach(function(r){var u,c,f,e;(r.visible||!i.options.chart.ignoreHiddenSeries)&&(u=r.options,c=u.threshold,n.hasVisibleSeries=!0,n.positiveValuesOnly&&0>=c&&(c=null),n.isXAxis?(u=r.xData,u.length)&&(u=n.logarithmic?u.filter(n.validatePositiveValue):u,t=r.getXExtremes(u),f=t.min,e=t.max,h(f)||f instanceof Date||(u=u.filter(h),t=r.getXExtremes(u),f=t.min,e=t.max),u.length&&(n.dataMin=Math.min(o(n.dataMin,f),f),n.dataMax=Math.max(o(n.dataMax,e),e))):(r=r.applyExtremes(),h(r.dataMin)&&(f=r.dataMin,n.dataMin=Math.min(o(n.dataMin,f),f)),h(r.dataMax)&&(e=r.dataMax,n.dataMax=Math.max(o(n.dataMax,e),e)),s(c)&&(n.threshold=c),!u.softThreshold||n.positiveValuesOnly)&&(n.softThreshold=!1))})});c(this,"afterGetSeriesExtremes")},n.prototype.translate=function(n,t,i,r,u,f){var e=this.linkedParent||this,o=1,c=0,s=r&&e.old?e.old.transA:e.transA,l;return r=r&&e.old?e.old.min:e.min,l=e.minPixelPadding,u=(e.isOrdinal||e.brokenAxis&&e.brokenAxis.hasBreaks||e.logarithmic&&u)&&e.lin2val,s||(s=e.transA),i&&(o*=-1,c=e.len),e.reversed&&(o*=-1,c-=o*(e.sector||e.len)),t?(n=(n*o+c-l)/s+r,u&&(n=e.lin2val(n))):(u&&(n=e.val2lin(n)),n=h(r)?o*(n-r)*s+c+o*l+(h(f)?s*f:0):void 0),n},n.prototype.toPixels=function(n,t){return this.translate(n,!1,!this.horiz,null,!0)+(t?0:this.pos)},n.prototype.toValue=function(n,t){return this.translate(n-(t?0:this.pos),!0,!this.horiz,null,!0)},n.prototype.getPlotLinePath=function(n){function w(n,t,i){return("pass"!==u&&n<t||n>i)&&(u?n=d(n,t,i):p=!0),n}var t=this,r=t.chart,v=t.left,y=t.top,s=n.old,b=n.value,i=n.translatedValue,k=n.lineWidth,u=n.force,f,e,l,a,g=s&&r.oldChartHeight||r.chartHeight,tt=s&&r.oldChartWidth||r.chartWidth,p,nt=t.transB;return n={value:b,lineWidth:k,old:s,force:u,acrossPanes:n.acrossPanes,translatedValue:i},c(this,"getPlotLinePath",n,function(n){i=o(i,t.translate(b,null,null,s));i=d(i,-1e5,1e5);f=l=Math.round(i+nt);e=a=Math.round(g-i-nt);h(i)?t.horiz?(e=y,a=g-t.bottom,f=l=w(f,v,v+t.width)):(f=v,l=tt-t.right,e=a=w(e,y,y+t.height)):(p=!0,u=!1);n.path=p&&!u?null:r.renderer.crispLine([["M",f,e],["L",l,a]],k||1)}),n.path},n.prototype.getLinearTickPositions=function(n,t,i){var r=l(Math.floor(t/n)*n),u,f,e;if(i=l(Math.ceil(i/n)*n),u=[],l(r+n)===r&&(f=20),this.single)return[t];for(t=r;t<=i;){if(u.push(t),t=l(t+n,f),t===e)break;e=t}return u},n.prototype.getMinorTickInterval=function(){var n=this.options;return!0===n.minorTicks?o(n.minorTickInterval,"auto"):!1===n.minorTicks?null:n.minorTickInterval},n.prototype.getMinorTickPositions=function(){var t=this.options,o=this.tickPositions,r=this.minorTickInterval,n=[],i=this.pointRangePadding||0,u=this.min-i,f,e;if(i=this.max+i,f=i-u,f&&f/r<this.len/3)if(e=this.logarithmic,e)this.paddedTicks.forEach(function(t,i,u){i&&n.push.apply(n,e.getLogTickPositions(r,u[i-1],u[i],!0))});else if(this.dateTime&&"auto"===this.getMinorTickInterval())n=n.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(r),u,i,t.startOfWeek));else for(t=u+(o[0]-u)%r;t<=i&&t!==n[0];t+=r)n.push(t);return 0!==n.length&&this.trimTicks(n),n},n.prototype.adjustForMinRange=function(){var u=this.options,n=this.min,t=this.max,c=this.logarithmic,h=0,f,l,e,a;if(this.isXAxis&&"undefined"==typeof this.minRange&&!c&&(s(u.min)||s(u.max)?this.minRange=null:(this.series.forEach(function(n){if(e=n.xData,a=n.xIncrement?1:e.length-1,1<e.length)for(f=a;0<f;f--)(l=e[f]-e[f-1],!h||l<h)&&(h=l)}),this.minRange=Math.min(5*h,this.dataMax-this.dataMin))),t-n<this.minRange){var v=this.dataMax-this.dataMin>=this.minRange,r=this.minRange,i=(r-t+n)/2;i=[n-i,o(u.min,n-i)];v&&(i[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin);n=k(i);t=[n+r,o(u.max,n+r)];v&&(t[2]=c?c.log2lin(this.dataMax):this.dataMax);t=ut(t);t-n<r&&(i[0]=t-r,i[1]=o(u.min,t-r),n=k(i))}this.min=n;this.max=t},n.prototype.getClosest=function(){var n;return this.categories?n=1:this.series.forEach(function(t){var i=t.closestPointRange,r=t.visible||!t.chart.options.chart.ignoreHiddenSeries;!t.noSharedTooltip&&s(i)&&r&&(n=s(n)?Math.min(n,i):i)}),n},n.prototype.nameToX=function(n){var r=ot(this.categories),u=r?this.categories:this.names,i=n.options.x,t;return n.series.requireSorting=!1,s(i)||(i=this.options.uniqueNames?r?u.indexOf(n.name):o(u.keys[n.name],-1):n.series.autoIncrement()),-1===i?r||(t=u.length):t=i,"undefined"!=typeof t&&(this.names[t]=n.name,this.names.keys[n.name]=t),t},n.prototype.updateNames=function(){var t=this,n=this.names;0<n.length&&(Object.keys(n.keys).forEach(function(t){delete n.keys[t]}),n.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(function(n){n.xIncrement=null;(!n.points||n.isDirtyData)&&(t.max=Math.max(t.max,n.xData.length-1),n.processData(),n.generatePoints());n.data.forEach(function(i,r){if(i&&i.options&&"undefined"!=typeof i.name){var u=t.nameToX(i);"undefined"!=typeof u&&u!==i.x&&(i.x=u,n.xData[r]=u)}})}))},n.prototype.setAxisTranslation=function(){var n=this,h=n.max-n.min,e=n.axisPointRange||0,i=0,r=0,t=n.linkedParent,s=!!n.categories,l=n.transA,u=n.isXAxis,f;(u||s||e)&&(f=n.getClosest(),t?(i=t.minPointOffset,r=t.pointRangePadding):n.series.forEach(function(t){var h=s?1:u?o(t.options.pointRange,f,0):n.axisPointRange||0,c=t.options.pointPlacement;e=Math.max(e,h);(!n.single||s)&&(t=t.is("xrange")?!u:u,i=Math.max(i,t&&nt(c)?0:h/2),r=Math.max(r,t&&"on"===c?0:h))}),t=n.ordinal&&n.ordinal.slope&&f?n.ordinal.slope/f:1,n.minPointOffset=i*=t,n.pointRangePadding=r*=t,n.pointRange=Math.min(e,n.single&&s?1:h),u&&(n.closestPointRange=f));n.translationSlope=n.transA=l=n.staticScale||n.len/(h+r||1);n.transB=n.horiz?n.left:n.bottom;n.minPixelPadding=l*i;c(this,"afterSetAxisTranslation")},n.prototype.minFromRange=function(){return this.max-this.range},n.prototype.setTickInterval=function(n){var t=this,f=t.chart,w=t.logarithmic,i=t.options,it=t.isXAxis,y=t.isLinked,b=i.maxPadding,k=i.minPadding,e=i.tickInterval,d=i.tickPixelInterval,g=t.categories,r=h(t.threshold)?t.threshold:null,nt=t.softThreshold,a,v,u,tt;t.dateTime||g||y||this.getTickAmount();a=o(t.userMin,i.min);v=o(t.userMax,i.max);y?(t.linkedParent=f[t.coll][i.linkedTo],u=t.linkedParent.getExtremes(),t.min=o(u.min,u.dataMin),t.max=o(u.max,u.dataMax),i.type!==t.linkedParent.options.type&&p(11,1,f)):(nt&&s(r)&&(t.dataMin>=r?(u=r,k=0):t.dataMax<=r&&(tt=r,b=0)),t.min=o(a,u,t.dataMin),t.max=o(v,tt,t.dataMax));w&&(t.positiveValuesOnly&&!n&&0>=Math.min(t.min,o(t.dataMin,t.min))&&p(10,1,f),t.min=l(w.log2lin(t.min),16),t.max=l(w.log2lin(t.max),16));t.range&&s(t.max)&&(t.userMin=t.min=a=Math.max(t.dataMin,t.minFromRange()),t.userMax=v=t.max,t.range=null);c(t,"foundExtremes");t.beforePadding&&t.beforePadding();t.adjustForMinRange();!(g||t.axisPointRange||t.stacking&&t.stacking.usePercentage||y)&&s(t.min)&&s(t.max)&&(f=t.max-t.min)&&(!s(a)&&k&&(t.min-=f*k),!s(v)&&b&&(t.max+=f*b));h(t.userMin)||(h(i.softMin)&&i.softMin<t.min&&(t.min=a=i.softMin),h(i.floor)&&(t.min=Math.max(t.min,i.floor)));h(t.userMax)||(h(i.softMax)&&i.softMax>t.max&&(t.max=v=i.softMax),h(i.ceiling)&&(t.max=Math.min(t.max,i.ceiling)));nt&&s(t.dataMin)&&(r=r||0,!s(a)&&t.min<r&&t.dataMin>=r?t.min=t.options.minRange?Math.min(r,t.max-t.minRange):r:!s(v)&&t.max>r&&t.dataMax<=r&&(t.max=t.options.minRange?Math.max(r,t.min+t.minRange):r));h(t.min)&&h(t.max)&&!this.chart.polar&&t.min>t.max&&(s(t.options.min)?t.max=t.min:s(t.options.max)&&(t.min=t.max));t.tickInterval=t.min===t.max||"undefined"==typeof t.min||"undefined"==typeof t.max?1:y&&t.linkedParent&&!e&&d===t.linkedParent.options.tickPixelInterval?e=t.linkedParent.tickInterval:o(e,this.tickAmount?(t.max-t.min)/Math.max(this.tickAmount-1,1):void 0,g?1:(t.max-t.min)*d/Math.max(t.len,d));it&&!n&&t.series.forEach(function(n){n.processData(t.min!==(t.old&&t.old.min)||t.max!==(t.old&&t.old.max))});t.setAxisTranslation();c(this,"initialAxisTranslation");t.pointRange&&!e&&(t.tickInterval=Math.max(t.pointRange,t.tickInterval));n=o(i.minTickInterval,t.dateTime&&!t.series.some(function(n){return n.noSharedTooltip})?t.closestPointRange:0);!e&&t.tickInterval<n&&(t.tickInterval=n);t.dateTime||t.logarithmic||e||(t.tickInterval=ht(t.tickInterval,void 0,et(t.tickInterval),o(i.allowDecimals,.5>t.tickInterval||void 0!==this.tickAmount),!!this.tickAmount));this.tickAmount||(t.tickInterval=t.unsquish());this.setTickPositions()},n.prototype.setTickPositions=function(){var t=this.options,u=t.tickPositions,n=this.getMinorTickInterval(),i=t.tickPositioner,r=this.hasVerticalPanning(),f="colorAxis"===this.coll,e=(f||!r)&&t.startOnTick;r=(f||!r)&&t.endOnTick;this.tickmarkOffset=this.categories&&"between"===t.tickmarkPlacement&&1===this.tickInterval?.5:0;this.minorTickInterval="auto"===n&&this.tickInterval?this.tickInterval/5:n;this.single=this.min===this.max&&s(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==t.allowDecimals);this.tickPositions=n=u&&u.slice();!n&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?n=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):(n=[this.min,this.max],p(19,!1,this.chart)),n.length>this.len&&(n=[n[0],n.pop()],n[0]===n[1]&&(n.length=1)),this.tickPositions=n,i&&(i=i.apply(this,[this.min,this.max])))&&(this.tickPositions=n=i);this.paddedTicks=n.slice(0);this.trimTicks(n,e,r);this.isLinked||(this.single&&2>n.length&&!this.categories&&!this.series.some(function(n){return n.is("heatmap")&&"between"===n.options.pointPlacement})&&(this.min-=.5,this.max+=.5),u||i||this.adjustTickAmount());c(this,"afterSetTickPositions")},n.prototype.trimTicks=function(n,t,i){var r=n[0],u=n[n.length-1],f=!this.isOrdinal&&this.minPointOffset||0;if(c(this,"trimTicks"),!this.isLinked){if(t&&-Infinity!==r)this.min=r;else for(;this.min-f>n[0];)n.shift();if(i)this.max=u;else for(;this.max+f<n[n.length-1];)n.pop();0===n.length&&s(r)&&!this.options.tickPositions&&n.push((u+r)/2)}},n.prototype.alignToOthers=function(){var t={},i,n=this.options;return!1!==this.chart.options.chart.alignTicks&&n.alignTicks&&!1!==n.startOnTick&&!1!==n.endOnTick&&!this.logarithmic&&this.chart[this.coll].forEach(function(n){var r=n.options;r=[n.horiz?r.left:r.top,r.width,r.height,r.pane].join();n.series.length&&(t[r]?i=!0:t[r]=1)}),i},n.prototype.getTickAmount=function(){var t=this.options,n=t.tickAmount,i=t.tickPixelInterval;!s(t.tickInterval)&&!n&&this.len<i&&!this.isRadial&&!this.logarithmic&&t.startOnTick&&t.endOnTick&&(n=2);!n&&this.alignToOthers()&&(n=Math.ceil(this.len/i)+1);4>n&&(this.finalTickAmt=n,n=5);this.tickAmount=n},n.prototype.adjustTickAmount=function(){var i=this.options,t=this.tickInterval,n=this.tickPositions,r=this.tickAmount,u=this.finalTickAmt,f=n&&n.length,e=o(this.threshold,this.softThreshold?0:null);if(this.hasData()&&h(this.min)&&h(this.max)){if(f<r){for(;n.length<r;)n.length%2||this.min===e?n.push(l(n[n.length-1]+t)):n.unshift(l(n[0]-t));this.transA*=(f-1)/(r-1);this.min=i.startOnTick?n[0]:Math.min(this.min,n[0]);this.max=i.endOnTick?n[n.length-1]:Math.max(this.max,n[n.length-1])}else f>r&&(this.tickInterval*=2,this.setTickPositions());if(s(u)){for(t=i=n.length;t--;)(3===u&&1==t%2||2>=u&&0<t&&t<i-1)&&n.splice(t,1);this.finalTickAmt=void 0}}},n.prototype.setScale=function(){var i,n=!1,t=!1;this.series.forEach(function(i){n=n||i.isDirtyData||i.isDirty;t=t||i.xAxis&&i.xAxis.isDirty||!1});this.setAxisSize();(i=this.len!==(this.old&&this.old.len))||n||t||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(this.stacking&&this.stacking.resetStacks(),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=i||this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max))):this.stacking&&this.stacking.cleanStacks();n&&this.panningState&&(this.panningState.isDirty=!0);c(this,"afterSetScale")},n.prototype.setExtremes=function(n,t,i,r,u){var f=this,e=f.chart;i=o(i,!0);f.series.forEach(function(n){delete n.kdTree});u=w(u,{min:n,max:t});c(f,"setExtremes",u,function(){f.userMin=n;f.userMax=t;f.eventArgs=u;i&&e.redraw(r)})},n.prototype.zoom=function(n,t){var i=this,f=this.dataMin,e=this.dataMax,h=this.options,r=Math.min(f,o(h.min,f)),u=Math.max(e,o(h.max,e));return n={newMin:n,newMax:t},c(this,"zoom",n,function(n){var t=n.newMin,o=n.newMax;(t!==i.min||o!==i.max)&&(i.allowZoomOutside||(s(f)&&(t<r&&(t=r),t>u&&(t=u)),s(e)&&(o<r&&(o=r),o>u&&(o=u))),i.displayBtn="undefined"!=typeof t||"undefined"!=typeof o,i.setExtremes(t,o,!1,void 0,{trigger:"zoom"}));n.zoomed=!0}),n.zoomed},n.prototype.setAxisSize=function(){var n=this.chart,t=this.options,i=t.offsets||[0,0,0,0],r=this.horiz,u=this.width=Math.round(y(o(t.width,n.plotWidth-i[3]+i[1]),n.plotWidth)),f=this.height=Math.round(y(o(t.height,n.plotHeight-i[0]+i[2]),n.plotHeight)),e=this.top=Math.round(y(o(t.top,n.plotTop+i[0]),n.plotHeight,n.plotTop));t=this.left=Math.round(y(o(t.left,n.plotLeft+i[3]),n.plotWidth,n.plotLeft));this.bottom=n.chartHeight-f-e;this.right=n.chartWidth-u-t;this.len=Math.max(r?u:f,0);this.pos=r?t:e},n.prototype.getExtremes=function(){var n=this.logarithmic;return{min:n?l(n.lin2log(this.min)):this.min,max:n?l(n.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},n.prototype.getThreshold=function(n){var t=this.logarithmic,i=t?t.lin2log(this.min):this.min;return t=t?t.lin2log(this.max):this.max,null===n||-Infinity===n?n=i:Infinity===n?n=t:i>n?n=i:t<n&&(n=t),this.translate(n,0,1,0,1)},n.prototype.autoLabelAlign=function(n){var t=(o(n,0)-90*this.side+720)%360;return n={align:"center"},c(this,"autoLabelAlign",n,function(n){15<t&&165>t?n.align="right":195<t&&345>t&&(n.align="left")}),n.align},n.prototype.tickSize=function(n){var i=this.options,t=i["tick"===n?"tickLength":"minorTickLength"],r=o(i["tick"===n?"tickWidth":"minorTickWidth"],"tick"===n&&this.isXAxis&&!this.categories?1:0),u;return r&&t&&("inside"===i[n+"Position"]&&(t=-t),u=[t,r]),n={tickSize:u},c(this,"afterTickSize",n),n.tickSize},n.prototype.labelMetrics=function(){var n=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[n]&&this.ticks[n].label)},n.prototype.unsquish=function(){var n=this.options.labels,p=this.horiz,t=this.tickInterval,u=t,f=this.len/(((this.categories?1:0)+this.max-this.min)/t),c,i=n.rotation,a=this.labelMetrics(),e,v=Number.MAX_VALUE,s=Math.max(this.max-this.min,0),y=function(n){var i=n/(f||1);return i=1<i?Math.ceil(i):1,i*t>s&&Infinity!==n&&Infinity!==f&&s&&(i=Math.ceil(s/t)),l(i*t)},r;return p?(n.staggerLines||n.step||(h(i)?r=[i]:f<n.autoRotationLimit&&(r=n.autoRotation)),r&&r.forEach(function(n){if(n===i||n&&-90<=n&&90>=n){e=y(Math.abs(a.h/Math.sin(tt*n)));var t=e+Math.abs(n/360);t<v&&(v=t,c=n,u=e)}})):n.step||(u=y(a.h)),this.autoRotation=r,this.labelRotation=o(c,h(i)?i:0),u},n.prototype.getSlotWidth=function(n){var t=this.chart,r=this.horiz,i=this.options.labels,f=Math.max(this.tickPositions.length-(this.categories?0:1),1),u=t.margin[3];if(n&&h(n.slotWidth))return n.slotWidth;if(r&&2>i.step)return i.rotation?0:(this.staggerLines||1)*this.len/f;if(!r){if(n=i.style.width,void 0!==n)return parseInt(String(n),10);if(u)return u-t.spacing[3]}return.33*t.chartWidth},n.prototype.renderUnsquish=function(){var h=this.chart,y=h.renderer,r=this.tickPositions,c=this.ticks,u=this.options.labels,l=u.style,p=this.horiz,o=this.getSlotWidth(),f=Math.max(1,Math.round(o-2*u.padding)),i={},s=this.labelMetrics(),a=l.textOverflow,t=0,e,v,n;if(nt(u.rotation)||(i.rotation=u.rotation||0),r.forEach(function(n){n=c[n];n.movedLabel&&n.replaceMovedLabel();n&&n.label&&n.label.textPxLength>t&&(t=n.label.textPxLength)}),this.maxLabelLength=t,this.autoRotation)t>f&&t>s.h?i.rotation=this.labelRotation:this.labelRotation=0;else if(o&&(e=f,!a))for(v="clip",f=r.length;!p&&f--;)n=r[f],(n=c[n].label)&&(n.styles&&"ellipsis"===n.styles.textOverflow?n.css({textOverflow:"clip"}):n.textPxLength>o&&n.css({width:o+"px"}),n.getBBox().height>this.len/r.length-(s.h-s.f)&&(n.specificTextOverflow="ellipsis"));i.rotation&&(e=t>.5*h.chartHeight?.33*h.chartHeight:t,a||(v="ellipsis"));(this.labelAlign=u.align||this.autoLabelAlign(this.labelRotation))&&(i.align=this.labelAlign);r.forEach(function(n){var t=(n=c[n])&&n.label,u=l.width,r={};t&&(t.attr(i),n.shortenLabel?n.shortenLabel():e&&!u&&"nowrap"!==l.whiteSpace&&(e<t.textPxLength||"SPAN"===t.element.tagName)?(r.width=e+"px",a||(r.textOverflow=t.specificTextOverflow||v),t.css(r)):t.styles&&t.styles.width&&!r.width&&!u&&t.css({width:null}),delete t.specificTextOverflow,n.rotation=i.rotation)},this);this.tickRotCorr=y.rotCorr(s.b,this.labelRotation||0,0!==this.side)},n.prototype.hasData=function(){return this.series.some(function(n){return n.hasData()})||this.options.showEmpty&&s(this.min)&&s(this.max)},n.prototype.addTitle=function(n){var f=this.chart.renderer,e=this.horiz,r=this.opposite,t=this.options.title,i,u=this.chart.styledMode;this.axisTitle||((i=t.textAlign)||(i=(e?{low:"left",middle:"center",high:"right"}:{low:r?"right":"left",middle:"center",high:r?"left":"right"})[t.align]),this.axisTitle=f.text(t.text||"",0,0,t.useHTML).attr({zIndex:7,rotation:t.rotation,align:i}).addClass("highcharts-axis-title"),u||this.axisTitle.css(v(t.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0);u||t.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"});this.axisTitle[n?"show":"hide"](n)},n.prototype.generateTick=function(n){var t=this.ticks;t[n]?t[n].addLabel():t[n]=new f(this,n)},n.prototype.getOffset=function(){var g=this,n=this,u=n.chart,rt=u.renderer,i=n.options,l=n.tickPositions,p=n.ticks,e=n.horiz,t=n.side,nt=u.inverted&&!n.isZAxis?[1,0,3,2][t]:t,k,tt=0,f=0,r=i.title,v=i.labels,h=0,w=u.axisOffset,b,d;u=u.clipOffset;var y=[-1,1,1,-1][t],ut=i.className,ft=n.axisParent,it=n.hasData();n.showAxis=k=it||i.showEmpty;n.staggerLines=n.horiz&&v.staggerLines||void 0;n.axisGroup||(b=function(n,t,i){return rt.g(n).attr({zIndex:i}).addClass("highcharts-"+g.coll.toLowerCase()+t+" "+(g.isRadial?"highcharts-radial-axis"+t+" ":"")+(ut||"")).add(ft)},n.gridGroup=b("grid","-grid",i.gridZIndex),n.axisGroup=b("axis","",i.zIndex),n.labelGroup=b("axis-labels","-labels",v.zIndex));it||n.isLinked?(l.forEach(function(t,i){n.generateTick(t,i)}),n.renderUnsquish(),n.reserveSpaceDefault=0===t||2===t||{1:"left",3:"right"}[t]===n.labelAlign,o(v.reserveSpace,"center"===n.labelAlign?!0:null,n.reserveSpaceDefault)&&l.forEach(function(n){h=Math.max(p[n].getLabelSize(),h)}),n.staggerLines&&(h*=n.staggerLines),n.labelOffset=h*(n.opposite?-1:1)):a(p,function(n,t){n.destroy();delete p[t]});r&&r.text&&!1!==r.enabled&&(n.addTitle(k),k&&!1!==r.reserveSpace)&&(n.titleOffset=tt=n.axisTitle.getBBox()[e?"height":"width"],d=r.offset,f=s(d)?0:o(r.margin,e?5:10));n.renderLine();n.offset=y*o(i.offset,w[t]?w[t]+(i.margin||0):0);n.tickRotCorr=n.tickRotCorr||{x:0,y:0};r=0===t?-n.labelMetrics().h:2===t?n.tickRotCorr.y:0;f=Math.abs(h)+f;h&&(f=f-r+y*(e?o(v.y,n.tickRotCorr.y+8*y):v.x));n.axisTitleMargin=o(d,f);n.getMaxLabelDimensions&&(n.maxLabelDimensions=n.getMaxLabelDimensions(p,l));e=this.tickSize("tick");w[t]=Math.max(w[t],(n.axisTitleMargin||0)+tt+y*n.offset,f,l&&l.length&&e?e[0]+y*n.offset:0);i=i.offset?0:2*Math.floor(n.axisLine.strokeWidth()/2);u[nt]=Math.max(u[nt],i);c(this,"afterGetOffset")},n.prototype.getLinePath=function(n){var i=this.chart,u=this.opposite,t=this.offset,r=this.horiz,f=this.left+(u?this.width:0)+t;return t=i.chartHeight-this.bottom-(u?this.height:0)+t,u&&(n*=-1),i.renderer.crispLine([["M",r?this.left:f,r?t:this.top],["L",r?i.chartWidth-this.right:f,r?t:i.chartHeight-this.bottom]],n)},n.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}))},n.prototype.getTitlePosition=function(){var n=this.horiz,r=this.left,o=this.top,t=this.len,u=this.options.title,f=n?r:o,e=this.opposite,s=this.offset,h=u.x,l=u.y,i=this.axisTitle,a=this.chart.renderer.fontMetrics(u.style.fontSize,i);return i=Math.max(i.getBBox(null,0).height-a.h-1,0),t={low:f+(n?0:t),middle:f+t/2,high:f+(n?t:0)}[u.align],r=(n?o+this.height:r)+(n?1:-1)*(e?-1:1)*this.axisTitleMargin+[-i,i,a.f,-i][this.side],n={x:n?t+h:r+(e?this.width:0)+s+h,y:n?r+l-(e?this.height:0)+s:t+l},c(this,"afterGetTitlePosition",{titlePosition:n}),n},n.prototype.renderMinorTick=function(n){var i=this.chart.hasRendered&&this.old,t=this.minorTicks;t[n]||(t[n]=new f(this,n,"minor"));i&&t[n].isNew&&t[n].render(null,!0);t[n].render(null,!1,1)},n.prototype.renderTick=function(n,t){var i=this.ticks,r=this.chart.hasRendered&&this.old;(!this.isLinked||n>=this.min&&n<=this.max||this.grid&&this.grid.isColumn)&&(i[n]||(i[n]=new f(this,n)),r&&i[n].isNew&&i[n].render(t,!0,-1),i[n].render(t))},n.prototype.render=function(){var n=this,p=n.chart,v=n.logarithmic,r=n.options,nt=n.isLinked,s=n.tickPositions,u=n.axisTitle,l=n.ticks,k=n.minorTicks,t=n.alternateBands,d=r.stackLabels,g=r.alternateGridColor,e=n.tickmarkOffset,o=n.axisLine,w=n.showAxis,tt=it(p.renderer.globalAnimation),b,y;n.labelEdge.length=0;n.overlap=!1;[l,k,t].forEach(function(n){a(n,function(n){n.isActive=!1})});(n.hasData()||nt)&&(n.minorTickInterval&&!n.categories&&n.getMinorTickPositions().forEach(function(t){n.renderMinorTick(t)}),s.length&&(s.forEach(function(t,i){n.renderTick(t,i)}),e&&(0===n.min||n.single)&&(l[-1]||(l[-1]=new f(n,-1,null,!0)),l[-1].render(-1))),g&&s.forEach(function(r,u){y="undefined"!=typeof s[u+1]?s[u+1]+e:n.max-e;0==u%2&&r<n.max&&y<=n.max+(p.polar?-e:e)&&(t[r]||(t[r]=new i.PlotLineOrBand(n)),b=r+e,t[r].options={from:v?v.lin2log(b):b,to:v?v.lin2log(y):y,color:g,className:"highcharts-alternate-grid"},t[r].render(),t[r].isActive=!0)}),n._addedPlotLB||(n._addedPlotLB=!0,(r.plotLines||[]).concat(r.plotBands||[]).forEach(function(t){n.addPlotBandOrLine(t)})));[l,k,t].forEach(function(n){var i,r=[],u=tt.duration;a(n,function(n,t){n.isActive||(n.render(t,!1,0),n.isActive=!1,r.push(t))});at(function(){for(i=r.length;i--;)n[r[i]]&&!n[r[i]].isActive&&(n[r[i]].destroy(),delete n[r[i]])},n!==t&&p.hasRendered&&u?u:0)});o&&(o[o.isPlaced?"animate":"attr"]({d:this.getLinePath(o.strokeWidth())}),o.isPlaced=!0,o[w?"show":"hide"](w));u&&w&&(r=n.getTitlePosition(),h(r.y)?(u[u.isNew?"attr":"animate"](r),u.isNew=!1):(u.attr("y",-9999),u.isNew=!0));d&&d.enabled&&n.stacking&&n.stacking.renderStackTotals();n.old={len:n.len,max:n.max,min:n.min,transA:n.transA,userMax:n.userMax,userMin:n.userMin};n.isDirty=!1;c(this,"afterRender")},n.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(n){n.render()}));this.series.forEach(function(n){n.isDirty=!0})},n.prototype.getKeepProps=function(){return this.keepProps||n.keepProps},n.prototype.destroy=function(n){var t=this,i=t.plotLinesAndBands,r;if(c(this,"destroy",{keepEvents:n}),n||ct(t),[t.ticks,t.minorTicks,t.alternateBands].forEach(function(n){ft(n)}),i)for(n=i.length;n--;)i[n].destroy();"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach(function(n){t[n]&&(t[n]=t[n].destroy())});for(r in t.plotLinesAndBandsGroups)t.plotLinesAndBandsGroups[r]=t.plotLinesAndBandsGroups[r].destroy();a(t,function(n,i){-1===t.getKeepProps().indexOf(i)&&delete t[i]})},n.prototype.drawCrosshair=function(n,i){var u=this.crosshair,f=o(u&&u.snap,!0),l,e=this.cross,a=this.chart,h;if(c(this,"drawCrosshair",{e:n,point:i}),n||(n=this.cross&&this.cross.e),u&&!1!==(s(i)||!f)){if(f?s(i)&&(l=o("colorAxis"!==this.coll?i.crosshairPos:null,this.isXAxis?i.plotX:this.len-i.plotY)):l=n&&(this.horiz?n.chartX-this.pos:this.len-n.chartY+this.pos),s(l)&&(h={value:i&&(this.isXAxis?i.x:o(i.stackY,i.y)),translatedValue:l},a.polar&&w(h,{isCrosshair:!0,chartX:n&&n.chartX,chartY:n&&n.chartY,point:i}),h=this.getPlotLinePath(h)||null),!s(h)){this.hideCrosshair();return}f=this.categories&&!this.isRadial;e||(this.cross=e=a.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(f?"category ":"thin ")+(u.className||"")).attr({zIndex:o(u.zIndex,2)}).add(),a.styledMode||(e.attr({stroke:u.color||(f?t.parse(r.highlightColor20).setOpacity(.25).get():r.neutralColor20),"stroke-width":o(u.width,1)}).css({"pointer-events":"none"}),u.dashStyle&&e.attr({dashstyle:u.dashStyle})));e.show().attr({d:h});f&&!u.width&&e.attr({"stroke-width":this.transA});this.cross.e=n}else this.hideCrosshair();c(this,"afterDrawCrosshair",{e:n,point:i})},n.prototype.hideCrosshair=function(){this.cross&&this.cross.hide();c(this,"afterHideCrosshair")},n.prototype.hasVerticalPanning=function(){var n=this.chart.options.chart.panning;return!!(n&&n.enabled&&/y/.test(n.type))},n.prototype.validatePositiveValue=function(n){return h(n)&&0<n},n.prototype.update=function(n,t){var i=this.chart,r=n&&n.events||{};n=v(this.userOptions,n);a(i.options[this.coll].events,function(n,t){"undefined"==typeof r[t]&&(r[t]=void 0)});this.destroy(!0);this.init(i,w(n,{events:r}));i.isDirtyBox=!0;o(t,!0)&&i.redraw()},n.prototype.remove=function(n){for(var t=this.chart,u=this.coll,i=this.series,r=i.length;r--;)i[r]&&i[r].remove(!1);g(t.axes,this);g(t[u],this);t[u].forEach(function(n,t){n.options.index=n.userOptions.index=t});this.destroy();t.isDirtyBox=!0;o(n,!0)&&t.redraw()},n.prototype.setTitle=function(n,t){this.update({title:n},t)},n.prototype.setCategories=function(n,t){this.update({categories:n},t)},n.defaultOptions={alignTicks:!0,allowDecimals:void 0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:r.neutralColor60,cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:r.neutralColor60}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:r.neutralColor5,minorGridLineWidth:1,minorTickColor:r.neutralColor40,lineColor:r.highlightColor20,lineWidth:1,gridLineColor:r.neutralColor10,gridLineWidth:void 0,tickColor:r.highlightColor20},n.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){var n=this.axis.chart.numberFormatter;return n(this.total,-1)},style:{color:r.neutralColor100,fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},n.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},n.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},n.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},n.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},n.keepProps="extKey hcEvents names series userMax userMin".split(" "),n}(),i.Axis=n,i.Axis}),i(t,"Core/Axis/DateTimeAxis.js",[t["Core/Axis/Axis.js"],t["Core/Utilities.js"]],function(n,t){var u=t.addEvent,f=t.getMagnitude,e=t.normalizeTickInterval,i=t.timeUnits,r=function(){function n(n){this.axis=n}return n.prototype.normalizeTimeTickInterval=function(n,t){var u=t||[["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]],r,o,s;for(t=u[u.length-1],r=i[t[0]],o=t[1],s=0;s<u.length&&!(t=u[s],r=i[t[0]],o=t[1],u[s+1]&&n<=(r*o[o.length-1]+i[u[s+1][0]])/2);s++);return r===i.year&&n<5*r&&(o=[1,2,5]),n=e(n/r,o,"year"===t[0]?Math.max(f(n/r),1):1),{unitRange:r,count:n,unitName:t[0]}},n}();return t=function(){function n(){}return n.compose=function(n){n.keepProps.push("dateTime");n.prototype.getTimeTicks=function(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)};u(n,"init",function(n){"datetime"!==n.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new r(this))})},n.AdditionsClass=r,n}(),t.compose(n),t}),i(t,"Core/Axis/LogarithmicAxis.js",[t["Core/Axis/Axis.js"],t["Core/Utilities.js"]],function(n,t){var i=t.addEvent,r=t.getMagnitude,u=t.normalizeTickInterval,f=t.pick,e=function(){function n(n){this.axis=n}return n.prototype.getLogTickPositions=function(n,t,i,e){var s=this.axis,h=s.len,o=s.options,c=[],l,a,v,p,y;if(e||(this.minorAutoInterval=void 0),.5<=n)n=Math.round(n),c=s.getLinearTickPositions(n,t,i);else if(.08<=n)for(l=Math.floor(t),v=o=void 0,h=.3<n?[1,2,4]:.15<n?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];l<i+1&&!v;l++)for(p=h.length,a=0;a<p&&!v;a++)y=this.log2lin(this.lin2log(l)*h[a]),y>t&&(!e||o<=i)&&"undefined"!=typeof o&&c.push(o),o>i&&(v=!0),o=y;else t=this.lin2log(t),i=this.lin2log(i),n=e?s.getMinorTickInterval():o.tickInterval,n=f("auto"===n?null:n,this.minorAutoInterval,o.tickPixelInterval/(e?5:1)*(i-t)/((e?h/s.tickPositions.length:h)||1)),n=u(n,void 0,r(n)),c=s.getLinearTickPositions(n,t,i).map(this.log2lin),e||(this.minorAutoInterval=n/5);return e||(s.tickInterval=n),c},n.prototype.lin2log=function(n){return Math.pow(10,n)},n.prototype.log2lin=function(n){return Math.log(n)/Math.LN10},n}();return t=function(){function n(){}return n.compose=function(n){n.keepProps.push("logarithmic");i(n,"init",function(n){var t=this.logarithmic;"logarithmic"!==n.userOptions.type?this.logarithmic=void 0:t||(this.logarithmic=new e(this))});i(n,"afterInit",function(){var n=this.logarithmic;n&&(this.lin2val=function(t){return n.lin2log(t)},this.val2lin=function(t){return n.log2lin(t)})})},n}(),t.compose(n),t}),i(t,"Core/Axis/PlotLineOrBand.js",[t["Core/Axis/Axis.js"],t["Core/Globals.js"],t["Core/Color/Palette.js"],t["Core/Utilities.js"]],function(n,t,i,r){var f=r.arrayMax,e=r.arrayMin,u=r.defined,c=r.destroyObjectProperties,o=r.erase,l=r.extend,a=r.fireEvent,s=r.isNumber,v=r.merge,y=r.objectEach,h=r.pick;return r=function(){function n(n,t){this.axis=n;t&&(this.options=t,this.id=t.id)}return n.prototype.render=function(){a(this,"render");var e=this,o=e.axis,l=o.horiz,s=o.logarithmic,t=e.options,c=t.label,p=e.label,w=t.to,b=t.from,k=t.value,r=u(b)&&u(w),tt=u(k),f=e.svgElem,it=!f,n=[],rt=t.color,g=h(t.zIndex,0),nt=t.events;n={"class":"highcharts-plot-"+(r?"band ":"line ")+(t.className||"")};var ut={},ft=o.chart.renderer,d=r?"bands":"lines";if(s&&(b=s.log2lin(b),w=s.log2lin(w),k=s.log2lin(k)),o.chart.styledMode||(tt?(n.stroke=rt||i.neutralColor40,n["stroke-width"]=h(t.width,1),t.dashStyle&&(n.dashstyle=t.dashStyle)):r&&(n.fill=rt||i.highlightColor10,t.borderWidth&&(n.stroke=t.borderColor,n["stroke-width"]=t.borderWidth))),ut.zIndex=g,d+="-"+g,(s=o.plotLinesAndBandsGroups[d])||(o.plotLinesAndBandsGroups[d]=s=ft.g("plot-"+d).attr(ut).add()),it&&(e.svgElem=f=ft.path().attr(n).add(s)),tt)n=o.getPlotLinePath({value:k,lineWidth:f.strokeWidth(),acrossPanes:t.acrossPanes});else if(r)n=o.getPlotBandPath(b,w,t);else return;return!e.eventsAdded&&nt&&(y(nt,function(n,t){f.on(t,function(n){nt[t].apply(e,[n])})}),e.eventsAdded=!0),(it||!f.d)&&n&&n.length?f.attr({d:n}):f&&(n?(f.show(!0),f.animate({d:n})):f.d&&(f.hide(),p&&(e.label=p=p.destroy()))),c&&(u(c.text)||u(c.formatter))&&n&&n.length&&0<o.width&&0<o.height&&!n.isFlat?(c=v({align:l&&r&&"center",x:l?!r&&4:10,verticalAlign:!l&&r&&"middle",y:l?r?16:10:r?6:-4,rotation:l&&!r&&90},c),this.renderLabel(c,n,r,g)):p&&p.hide(),e},n.prototype.renderLabel=function(n,t,i,r){var u=this.label,o=this.axis.chart.renderer;u||(u={align:n.textAlign||n.align,rotation:n.rotation,"class":"highcharts-plot-"+(i?"band":"line")+"-label "+(n.className||"")},u.zIndex=r,r=this.getLabelText(n),this.label=u=o.text(r,0,0,n.useHTML).attr(u).add(),this.axis.chart.styledMode||u.css(n.style));o=t.xBounds||[t[0][1],t[1][1],i?t[2][1]:t[0][1]];t=t.yBounds||[t[0][2],t[1][2],i?t[2][2]:t[0][2]];i=e(o);r=e(t);u.align(n,!1,{x:i,y:r,width:f(o)-i,height:f(t)-r});u.show(!0)},n.prototype.getLabelText=function(n){return u(n.formatter)?n.formatter.call(this):n.text},n.prototype.destroy=function(){o(this.axis.plotLinesAndBands,this);delete this.axis;c(this)},n}(),l(n.prototype,{getPlotBandPath:function(n,t,i){var f,l;void 0===i&&(i=this.options);f=this.getPlotLinePath({value:t,force:!0,acrossPanes:i.acrossPanes});i=this.getPlotLinePath({value:n,force:!0,acrossPanes:i.acrossPanes});var h=[],c=this.horiz,e=1;if(n=!s(this.min)||!s(this.max)||n<this.min&&t<this.min||n>this.max&&t>this.max,i&&f)for(n&&(l=i.toString()===f.toString(),e=0),n=0;n<i.length;n+=2){t=i[n];var o=i[n+1],r=f[n],u=f[n+1];"M"!==t[0]&&"L"!==t[0]||"M"!==o[0]&&"L"!==o[0]||"M"!==r[0]&&"L"!==r[0]||"M"!==u[0]&&"L"!==u[0]||(c&&r[1]===t[1]?(r[1]+=e,u[1]+=e):c||r[2]!==t[2]||(r[2]+=e,u[2]+=e),h.push(["M",t[1],t[2]],["L",o[1],o[2]],["L",u[1],u[2]],["L",r[1],r[2]],["Z"]));h.isFlat=l}return h},addPlotBand:function(n){return this.addPlotBandOrLine(n,"plotBands")},addPlotLine:function(n){return this.addPlotBandOrLine(n,"plotLines")},addPlotBandOrLine:function(n,i){var e=this,r=new t.PlotLineOrBand(this,n),u=this.userOptions,f;return this.visible&&(r=r.render()),r&&(this._addedPlotLB||(this._addedPlotLB=!0,(u.plotLines||[]).concat(u.plotBands||[]).forEach(function(n){e.addPlotBandOrLine(n)})),i&&(f=u[i]||[],f.push(n),u[i]=f),this.plotLinesAndBands.push(r)),r},removePlotBandOrLine:function(n){for(var i=this.plotLinesAndBands,r=this.options,u=this.userOptions,t=i.length;t--;)i[t].id===n&&i[t].destroy();[r.plotLines||[],u.plotLines||[],r.plotBands||[],u.plotBands||[]].forEach(function(i){for(t=i.length;t--;)(i[t]||{}).id===n&&o(i,i[t])})},removePlotBand:function(n){this.removePlotBandOrLine(n)},removePlotLine:function(n){this.removePlotBandOrLine(n)}}),t.PlotLineOrBand=r,t.PlotLineOrBand}),i(t,"Core/Tooltip.js",[t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Core/Color/Palette.js"],t["Core/Utilities.js"]],function(n,t,i,r){var v=n.format,u=t.doc,e=r.clamp,h=r.css,y=r.defined,p=r.discardElement,c=r.extend,l=r.fireEvent,w=r.isArray,b=r.isNumber,k=r.isString,a=r.merge,f=r.pick,o=r.splat,d=r.syncTimeout,s=r.timeUnits;return n=function(){function n(n,t){this.container=void 0;this.crosshairs=[];this.distance=0;this.isHidden=!0;this.isSticky=!1;this.now={};this.options={};this.outside=!1;this.chart=n;this.init(n,t)}return n.prototype.applyFilter=function(){var n=this.chart;n.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+n.index,opacity:.5},children:[{tagName:"feGaussianBlur",attributes:{"in":"SourceAlpha",stdDeviation:1}},{tagName:"feOffset",attributes:{dx:1,dy:1}},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"linear",slope:.3}}]},{tagName:"feMerge",children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",attributes:{"in":"SourceGraphic"}}]}]});n.renderer.definition({tagName:"style",textContent:".highcharts-tooltip-"+n.index+"{filter:url(#drop-shadow-"+n.index+")}"})},n.prototype.bodyFormatter=function(n){return n.map(function(n){var t=n.series.tooltipOptions;return(t[(n.point.formatPrefix||"point")+"Formatter"]||n.point.tooltipFormatter).call(n.point,t[(n.point.formatPrefix||"point")+"Format"]||"")})},n.prototype.cleanSplit=function(n){this.chart.series.forEach(function(t){var i=t&&t.tt;i&&(!i.isActive||n?t.tt=i.destroy():i.isActive=!1)})},n.prototype.defaultFormatter=function(n){var i=this.points||o(this),t=[n.tooltipFooterHeaderFormatter(i[0])];return t=t.concat(n.bodyFormatter(i)),t.push(n.tooltipFooterHeaderFormatter(i[0],!0)),t},n.prototype.destroy=function(){this.label&&(this.label=this.label.destroy());this.split&&this.tt&&(this.cleanSplit(this.chart,!0),this.tt=this.tt.destroy());this.renderer&&(this.renderer=this.renderer.destroy(),p(this.container));r.clearTimeout(this.hideTimer);r.clearTimeout(this.tooltipTimeout)},n.prototype.getAnchor=function(n,t){var i=this.chart,r=i.pointer,h=i.inverted,c=i.plotTop,l=i.plotLeft,u=0,f=0,e,s;return n=o(n),this.followPointer&&t?("undefined"==typeof t.chartX&&(t=r.normalize(t)),r=[t.chartX-l,t.chartY-c]):n[0].tooltipPos?r=n[0].tooltipPos:(n.forEach(function(n){e=n.series.yAxis;s=n.series.xAxis;u+=n.plotX||0;f+=n.plotLow?(n.plotLow+(n.plotHigh||0))/2:n.plotY||0;s&&e&&(h?(u+=c+i.plotHeight-s.len-s.pos,f+=l+i.plotWidth-e.len-e.pos):(u+=s.pos-l,f+=e.pos-c))}),u/=n.length,f/=n.length,r=[h?i.plotWidth-f:u,h?i.plotHeight-u:f],this.shared&&1<n.length&&t&&(h?r[0]=t.chartX-l:r[1]=t.chartY-c)),r.map(Math.round)},n.prototype.getDateFormat=function(n,t,i,r){var f=this.chart.time,o=f.dateFormat("%m-%d %H:%M:%S.%L",t),e={millisecond:15,second:12,minute:9,hour:6,day:3},h="millisecond",u,c;for(u in s){if(n===s.week&&+f.dateFormat("%w",t)===i&&"00:00:00.000"===o.substr(6)){u="week";break}if(s[u]>n){u=h;break}if(e[u]&&o.substr(e[u])!=="01-01 00:00:00.000".substr(e[u]))break;"week"!==u&&(h=u)}return u&&(c=f.resolveDTLFormat(r[u]).main),c},n.prototype.getLabel=function(){var i=this,f=this.chart.renderer,o=this.chart.styledMode,n=this.options,s="tooltip"+(y(n.className)?" "+n.className:""),c=n.style&&n.style.pointerEvents||(!this.followPointer&&n.stickOnContact?"auto":"none"),r,l=function(){i.inContact=!0},a=function(){var n=i.chart.hoverSeries;i.inContact=!1;n&&n.onMouseOut&&n.onMouseOut()},e;if(!this.label){if(this.outside&&(e=this.chart.options.chart.style,this.container=r=t.doc.createElement("div"),r.className="highcharts-tooltip-container",h(r,{position:"absolute",top:"1px",pointerEvents:c,zIndex:Math.max(this.options.style&&this.options.style.zIndex||0,(e&&e.zIndex||0)+3)}),t.doc.body.appendChild(r),this.renderer=f=new t.Renderer(r,0,0,e,void 0,void 0,f.styledMode)),this.split?this.label=f.g(s):(this.label=f.label("",0,0,n.shape||"callout",null,null,n.useHTML,null,s).attr({padding:n.padding,r:n.borderRadius}),o||this.label.attr({fill:n.backgroundColor,"stroke-width":n.borderWidth}).css(n.style).css({pointerEvents:c}).shadow(n.shadow)),o&&(this.applyFilter(),this.label.addClass("highcharts-tooltip-"+this.chart.index)),i.outside&&!i.split){var u=this.label,v=u.xSetter,p=u.ySetter;u.xSetter=function(n){v.call(u,i.distance);r.style.left=n+"px"};u.ySetter=function(n){p.call(u,i.distance);r.style.top=n+"px"}}this.label.on("mouseenter",l).on("mouseleave",a).attr({zIndex:8}).add()}return this.label},n.prototype.getPosition=function(n,t,i){var r=this.chart,e=this.distance,o={},h=r.inverted&&i.h||0,l,c=this.outside,w=c?u.documentElement.clientWidth-2*e:r.chartWidth,b=c?Math.max(u.body.scrollHeight,u.documentElement.scrollHeight,u.body.offsetHeight,u.documentElement.offsetHeight,u.documentElement.clientHeight):r.chartHeight,s=r.pointer.getChartPosition(),k=function(u){var f="x"===u;return[u,f?w:b,f?n:t].concat(c?[f?n*s.scaleX:t*s.scaleY,f?s.left-e+(i.plotX+r.plotLeft)*s.scaleX:s.top-e+(i.plotY+r.plotTop)*s.scaleY,0,f?w:b]:[f?n:t,f?i.plotX+r.plotLeft:i.plotY+r.plotTop,f?r.plotLeft:r.plotTop,f?r.plotLeft+r.plotWidth:r.plotTop+r.plotHeight])},a=k("y"),v=k("x"),d=!this.followPointer&&f(i.ttBelow,!r.inverted==!!i.negative),g=function(n,t,i,r,u,f,l){var v=c?"y"===n?e*s.scaleY:e*s.scaleX:e,y=(i-r)/2,p=r<u-e,w=u+e+r<t,a=u-v-i+y;if(u=u+v-y,d&&w)o[n]=u;else if(!d&&p)o[n]=a;else if(p)o[n]=Math.min(l-r,0>a-h?a:a-h);else if(w)o[n]=Math.max(f,u+h+i>t?u:u+h);else return!1},nt=function(n,t,i,r,u){var f;return u<e||u>t-e?f=!1:o[n]=u<i/2?1:u>t-r/2?t-r-2:u-i/2,f},y=function(n){var t=a;a=v;v=t;l=n},p=function(){!1!==g.apply(0,a)?!1!==nt.apply(0,v)||l||(y(!0),p()):l?o.x=o.y=0:(y(!0),p())};return(r.inverted||1<this.len)&&y(),p(),o},n.prototype.getXDateFormat=function(n,t,i){t=t.dateTimeLabelFormats;var r=i&&i.closestPointRange;return(r?this.getDateFormat(r,n.x,i.options.startOfWeek,t):t.day)||t.year},n.prototype.hide=function(n){var t=this;r.clearTimeout(this.hideTimer);n=f(n,this.options.hideDelay,500);this.isHidden||(this.hideTimer=d(function(){t.getLabel().fadeOut(n?void 0:n);t.isHidden=!0},n))},n.prototype.init=function(n,t){this.chart=n;this.options=t;this.crosshairs=[];this.now={x:0,y:0};this.isHidden=!0;this.split=t.split&&!n.inverted&&!n.polar;this.shared=t.shared||this.split;this.outside=f(t.outside,!(!n.scrollablePixelsX&&!n.scrollablePixelsY))},n.prototype.isStickyOnContact=function(){return!(this.followPointer||!this.options.stickOnContact||!this.inContact)},n.prototype.move=function(n,t,i,u){var f=this,e=f.now,o=!1!==f.options.animation&&!f.isHidden&&(1<Math.abs(n-e.x)||1<Math.abs(t-e.y)),s=f.followPointer||1<f.len;c(e,{x:o?(2*e.x+n)/3:n,y:o?(e.y+t)/2:t,anchorX:s?void 0:o?(2*e.anchorX+i)/3:i,anchorY:s?void 0:o?(e.anchorY+u)/2:u});f.getLabel().attr(e);f.drawTracker();o&&(r.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){f&&f.move(n,t,i,u)},32))},n.prototype.refresh=function(n,t){var c=this.chart,a=this.options,s=o(n),u=s[0],e={},v=[],h=a.formatter||this.defaultFormatter,y;if(e=this.shared,y=c.styledMode,a.enabled){r.clearTimeout(this.hideTimer);this.followPointer=!this.split&&u.series.tooltipOptions.followPointer;var p=this.getAnchor(n,t),b=p[0],k=p[1];if(!e||!w(n)&&n.series&&n.series.noSharedTooltip?e=u.getLabelConfig():(c.pointer.applyInactiveState(s),s.forEach(function(n){n.setState("hover");v.push(n.getLabelConfig())}),e={x:u.category,y:u.y},e.points=v),this.len=v.length,n=h.call(e,this),h=u.series,this.distance=f(h.tooltipOptions.distance,16),!1===n)this.hide();else{if(this.split)this.renderSplit(n,s);else if(s=b,e=k,t&&c.pointer.isDirectTouch&&(s=t.chartX-c.plotLeft,e=t.chartY-c.plotTop),c.polar||!1===h.options.clip||h.shouldShowTooltip(s,e))t=this.getLabel(),a.style.width&&!y||t.css({width:this.chart.spacingBox.width+"px"}),t.attr({text:n&&n.join?n.join(""):n}),t.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+f(u.colorIndex,h.colorIndex)),y||t.attr({stroke:a.borderColor||u.color||h.color||i.neutralColor60}),this.updatePosition({plotX:b,plotY:k,negative:u.negative,ttBelow:u.ttBelow,h:p[2]||0});else{this.hide();return}this.isHidden&&this.label&&this.label.attr({opacity:1}).show();this.isHidden=!1}l(this,"refresh")}},n.prototype.renderSplit=function(n,r){function et(n,t,i,r,u){return void 0===u&&(u=!0),i?(t=ct?0:ft,n=e(n-r/2,l.left,l.right-r-(o.outside?a:0))):(t-=rt,n=u?n-r-b:n+b,n=e(n,u?n:l.left,l.right)),{x:n,y:t}}var o=this,y=o.chart,s=o.chart,lt=s.chartWidth,at=s.chartHeight,nt=s.plotHeight,vt=s.plotLeft,tt=s.plotTop,yt=s.pointer,p=s.scrollablePixelsY,ot,h,it,a,w,g;p=void 0===p?0:p;ot=s.scrollablePixelsX;h=s.scrollingContainer;h=void 0===h?{scrollLeft:0,scrollTop:0}:h;it=h.scrollLeft;h=h.scrollTop;var st=s.styledMode,b=o.distance,v=o.options,d=o.options.positioner,l=o.outside&&"number"!=typeof ot?u.documentElement.getBoundingClientRect():{left:it,right:it+lt,top:h,bottom:h+at},ht=o.getLabel(),pt=this.renderer||y.renderer,ct=!(!y.xAxis[0]||!y.xAxis[0].opposite);y=yt.getChartPosition();a=y.left;y=y.top;var rt=tt+h,ut=0,ft=nt-p;k(n)&&(n=[!1,n]);n=n.slice(0,r.length+1).reduce(function(n,t,u){var p,y,w,k,g;if(!1!==t&&""!==t){u=r[u-1]||{isHeader:!0,plotX:r[0].plotX,plotY:nt,series:{}};p=u.isHeader;y=p?o:u.series;t=t.toString();var s=y.tt,a=u.isHeader,h=u.series,c="highcharts-color-"+f(u.colorIndex,h.colorIndex,"none");s||(s={padding:v.padding,r:v.borderRadius},st||(s.fill=v.backgroundColor,s["stroke-width"]=v.borderWidth),s=pt.label("",0,0,v[a?"headerShape":"shape"]||"callout",void 0,void 0,v.useHTML).addClass((a?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+c).attr(s).add(ht));s.isActive=!0;s.attr({text:t});st||s.css(v.style).shadow(v.shadow).attr({stroke:v.borderColor||u.color||h.color||i.neutralColor80});y=y.tt=s;a=y.getBBox();t=a.width+y.strokeWidth();p&&(ut=a.height,ft+=ut,ct&&(rt-=ut));h=u.plotX;h=void 0===h?0:h;c=u.plotY;c=void 0===c?0:c;s=u.series;u.isHeader?(h=vt+h,w=tt+nt/2):(k=s.xAxis,g=s.yAxis,h=k.pos+e(h,-b,k.len+b),s.shouldShowTooltip(0,g.pos-tt+c,{ignoreX:!0})&&(w=g.pos+c));h=e(h,l.left-b,l.right+b);"number"==typeof w?(a=a.height+1,c=d?d.call(o,t,a,u):et(h,w,p,t),n.push({align:d?0:void 0,anchorX:h,anchorY:w,boxWidth:t,point:u,rank:f(c.rank,p?1:0),size:a,target:c.y,tt:y,x:c.x})):y.isActive=!1}return n},[]);!d&&n.some(function(n){var t=(o.outside?a:0)+n.anchorX;return t<l.left&&t+n.boxWidth<l.right?!0:t<a-l.left+n.boxWidth&&l.right-t>t})&&(n=n.map(function(n){var t=et(n.anchorX,n.anchorY,n.point.isHeader,n.boxWidth,!1);return c(n,{target:t.y,x:t.x})}));o.cleanSplit();t.distribute(n,ft);w=a;g=a;n.forEach(function(n){var t=n.x,i=n.boxWidth;n=n.isHeader;n||(o.outside&&a+t<w&&(w=a+t),!n&&o.outside&&w+i>g&&(g=a+t))});n.forEach(function(n){var u=n.x,r=n.anchorX,t=n.pos,f=n.point.isHeader,i;t={visibility:"undefined"==typeof t?"hidden":"inherit",x:u,y:t+rt,anchorX:r,anchorY:n.anchorY};o.outside&&u<r&&(i=a-w,0<i&&(f||(t.x=u+i,t.anchorX=r+i),f&&(t.x=(g-w)/2,t.anchorX=r+i)));n.tt.attr(t)});n=o.container;p=o.renderer;o.outside&&n&&p&&(s=ht.getBBox(),p.setSize(s.width+s.x,s.height+s.y,!1),n.style.left=w+"px",n.style.top=y+"px")},n.prototype.drawTracker=function(){var t,r;if(this.followPointer||!this.options.stickOnContact)this.tracker&&this.tracker.destroy();else{var u=this.chart,i=this.label,n=u.hoverPoint;i&&n&&(t={x:0,y:0,width:0,height:0},n=this.getAnchor(n),r=i.getBBox(),n[0]+=u.plotLeft-i.translateX,n[1]+=u.plotTop-i.translateY,t.x=Math.min(0,n[0]),t.y=Math.min(0,n[1]),t.width=0>n[0]?Math.max(Math.abs(n[0]),r.width-n[0]):Math.max(Math.abs(n[0]),r.width),t.height=0>n[1]?Math.max(Math.abs(n[1]),r.height-Math.abs(n[1])):Math.max(Math.abs(n[1]),r.height),this.tracker?this.tracker.attr(t):(this.tracker=i.renderer.rect(t).addClass("highcharts-tracker").add(i),u.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"})))}},n.prototype.styledModeFormat=function(n){return n.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},n.prototype.tooltipFooterHeaderFormatter=function(n,t){var s=t?"footer":"header",r=n.series,f=r.tooltipOptions,u=f.xDateFormat,e=r.xAxis,o=e&&"datetime"===e.options.type&&b(n.key),i=f[s+"Format"];return t={isFooter:t,labelConfig:n},l(this,"headerFormatter",t,function(t){o&&!u&&(u=this.getXDateFormat(n,f,e));o&&u&&(n.point&&n.point.tooltipDateKeys||["key"]).forEach(function(n){i=i.replace("{point."+n+"}","{point."+n+":"+u+"}")});r.chart.styledMode&&(i=this.styledModeFormat(i));t.text=v(i,{point:n,series:r},this.chart)}),t.text},n.prototype.update=function(n){this.destroy();a(!0,this.chart.options.tooltip.userOptions,n);this.init(this.chart,a(!0,this.options,n))},n.prototype.updatePosition=function(n){var i=this.chart,t=i.pointer,r=this.getLabel(),u=n.plotX+i.plotLeft,f;i=n.plotY+i.plotTop;t=t.getChartPosition();n=(this.options.positioner||this.getPosition).call(this,r.width,r.height,n);this.outside&&(f=(this.options.borderWidth||0)+2*this.distance,this.renderer.setSize(r.width+f,r.height+f,!1),(1!==t.scaleX||1!==t.scaleY)&&(h(this.container,{transform:"scale("+t.scaleX+", "+t.scaleY+")"}),u*=t.scaleX,i*=t.scaleY),u+=t.left-n.x,i+=t.top-n.y);this.move(Math.round(n.x),Math.round(n.y||0),u,i)},n}(),t.Tooltip=n,t.Tooltip}),i(t,"Core/Pointer.js",[t["Core/Color/Color.js"],t["Core/Globals.js"],t["Core/Color/Palette.js"],t["Core/Tooltip.js"],t["Core/Utilities.js"]],function(n,t,i,r,u){var y=n.parse,s=t.charts,p=t.noop,e=u.addEvent,w=u.attr,b=u.css,k=u.defined,h=u.extend,a=u.find,c=u.fireEvent,o=u.isNumber,l=u.isObject,d=u.objectEach,g=u.offset,f=u.pick,v=u.splat;return n=function(){function n(n,t){this.lastValidTouch={};this.pinchDown=[];this.runChartClick=!1;this.eventsToUnbind=[];this.chart=n;this.hasDragged=!1;this.options=t;this.init(n,t)}return n.prototype.applyInactiveState=function(n){var i=[],t;(n||[]).forEach(function(n){t=n.series;i.push(t);t.linkedParent&&i.push(t.linkedParent);t.linkedSeries&&(i=i.concat(t.linkedSeries));t.navigatorSeries&&i.push(t.navigatorSeries)});this.chart.series.forEach(function(n){-1===i.indexOf(n)?n.setState("inactive",!0):n.options.inactiveOtherPoints&&n.setAllPointsToState("inactive")})},n.prototype.destroy=function(){var n=this;this.eventsToUnbind.forEach(function(n){return n()});this.eventsToUnbind=[];t.chartCount||(t.unbindDocumentMouseUp&&(t.unbindDocumentMouseUp=t.unbindDocumentMouseUp()),t.unbindDocumentTouchEnd&&(t.unbindDocumentTouchEnd=t.unbindDocumentTouchEnd()));clearInterval(n.tooltipTimeout);d(n,function(t,i){n[i]=void 0})},n.prototype.drag=function(n){var r=this.chart,f=r.options.chart,t=n.chartX,e=n.chartY,w=this.zoomHor,b=this.zoomVert,o=r.plotLeft,s=r.plotTop,a=r.plotWidth,v=r.plotHeight,u=this.selectionMarker,h=this.mouseDownX||0,c=this.mouseDownY||0,k=l(f.panning)?f.panning&&f.panning.enabled:f.panning,d=f.panKey&&n[f.panKey+"Key"],p;u&&u.touch||(t<o?t=o:t>o+a&&(t=o+a),e<s?e=s:e>s+v&&(e=s+v),this.hasDragged=Math.sqrt(Math.pow(h-t,2)+Math.pow(c-e,2)),10<this.hasDragged)&&(p=r.isInsidePlot(h-o,c-s,{visiblePlotOnly:!0}),r.hasCartesianSeries&&(this.zoomX||this.zoomY)&&p&&!d&&!u&&(this.selectionMarker=u=r.renderer.rect(o,s,w?1:a,b?1:v,0).attr({"class":"highcharts-selection-marker",zIndex:7}).add(),r.styledMode||u.attr({fill:f.selectionMarkerFill||y(i.highlightColor80).setOpacity(.25).get()})),u&&w&&(t-=h,u.attr({width:Math.abs(t),x:(0<t?0:t)+h})),u&&b&&(t=e-c,u.attr({height:Math.abs(t),y:(0<t?0:t)+c})),p&&!u&&k&&r.pan(n,f.panning))},n.prototype.dragStart=function(n){var t=this.chart;t.mouseIsDown=n.type;t.cancelClick=!1;t.mouseDownX=this.mouseDownX=n.chartX;t.mouseDownY=this.mouseDownY=n.chartY},n.prototype.drop=function(n){var l=this,i=this.chart,r=this.hasPinched;if(this.selectionMarker){var e={originalEvent:n,xAxis:[],yAxis:[]},t=this.selectionMarker,u=t.attr?t.attr("x"):t.x,f=t.attr?t.attr("y"):t.y,a=t.attr?t.attr("width"):t.width,v=t.attr?t.attr("height"):t.height,s;(this.hasDragged||r)&&(i.axes.forEach(function(t){if(t.zoomEnabled&&k(t.min)&&(r||l[{xAxis:"zoomX",yAxis:"zoomY"}[t.coll]])&&o(u)&&o(f)){var i=t.horiz,h="touchend"===n.type?t.minPixelPadding:0,c=t.toValue((i?u:f)+h);i=t.toValue((i?u+a:f+v)-h);e[t.coll].push({axis:t,min:Math.min(c,i),max:Math.max(c,i)});s=!0}}),s&&c(i,"selection",e,function(n){i.zoom(h(n,r?{animation:!1}:null))}));o(i.index)&&(this.selectionMarker=this.selectionMarker.destroy());r&&this.scaleGroups()}i&&o(i.index)&&(b(i.container,{cursor:i._cursor}),i.cancelClick=10<this.hasDragged,i.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},n.prototype.findNearestKDPoint=function(n,t,i){var u=this.chart,f=u.hoverPoint,r;return(u=u.tooltip,f&&u&&u.isStickyOnContact())?f:(n.forEach(function(n){var u=!(n.noSharedTooltip&&t)&&0>n.options.findNearestPointBy.indexOf("y"),f,e;n=n.searchPoint(i,u);!(u=l(n,!0)&&n.series)||(u=!l(r,!0))||(u=r.distX-n.distX,f=r.dist-n.dist,e=(n.series.group&&n.series.group.zIndex)-(r.series.group&&r.series.group.zIndex),u=0<(0!==u&&t?u:0!==f?f:0!==e?e:r.series.index>n.series.index?-1:1));u&&(r=n)}),r)},n.prototype.getChartCoordinatesFromPoint=function(n,t){var r=n.series,u=r.xAxis,i,e,s;return(r=r.yAxis,i=n.shapeArgs,u&&r)?(e=f(n.clientX,n.plotX),s=n.plotY||0,n.isNode&&i&&o(i.x)&&o(i.y)&&(e=i.x,s=i.y),t?{chartX:r.len+r.pos-s,chartY:u.len+u.pos-e}:{chartX:e+u.pos,chartY:s+r.pos}):i&&i.x&&i.y?{chartX:i.x,chartY:i.y}:void 0},n.prototype.getChartPosition=function(){var n,t,i;return this.chartPosition?this.chartPosition:(n=this.chart.container,t=g(n),this.chartPosition={left:t.left,top:t.top,scaleX:1,scaleY:1},i=n.offsetWidth,n=n.offsetHeight,2<i&&2<n&&(this.chartPosition.scaleX=t.width/i,this.chartPosition.scaleY=t.height/n),this.chartPosition)},n.prototype.getCoordinates=function(n){var t={xAxis:[],yAxis:[]};return this.chart.axes.forEach(function(i){t[i.isXAxis?"xAxis":"yAxis"].push({axis:i,value:i.toValue(n[i.horiz?"chartX":"chartY"])})}),t},n.prototype.getHoverData=function(n,t,i,r,u,e){var s,v=[],h,o;return r=!(!r||!n),h=t&&!t.stickyTracking,o={chartX:e?e.chartX:void 0,chartY:e?e.chartY:void 0,shared:u},c(this,"beforeGetHoverData",o),h=h?[t]:i.filter(function(n){return o.filter?o.filter(n):n.visible&&!(!u&&n.directTouch)&&f(n.options.enableMouseTracking,!0)&&n.stickyTracking}),t=(s=r||!e?n:this.findNearestKDPoint(h,u,e))&&s.series,s&&(u&&!t.noSharedTooltip?(h=i.filter(function(n){return o.filter?o.filter(n):n.visible&&!(!u&&n.directTouch)&&f(n.options.enableMouseTracking,!0)&&!n.noSharedTooltip}),h.forEach(function(n){var t=a(n.points,function(n){return n.x===s.x&&!n.isNull});l(t)&&(n.chart.isBoosting&&(t=n.getPoint(t)),v.push(t))})):v.push(s)),o={hoverPoint:s},c(this,"afterGetHoverData",o),{hoverPoint:o.hoverPoint,hoverSeries:t,hoverPoints:v}},n.prototype.getPointFromEvent=function(n){n=n.target;for(var t;n&&!t;)t=n.point,n=n.parentNode;return t},n.prototype.onTrackerMouseOut=function(n){n=n.relatedTarget||n.toElement;var t=this.chart.hoverSeries;this.isDirectTouch=!1;!t||!n||t.stickyTracking||this.inClass(n,"highcharts-tooltip")||this.inClass(n,"highcharts-series-"+t.index)&&this.inClass(n,"highcharts-tracker")||t.onMouseOut()},n.prototype.inClass=function(n,t){for(var i;n;){if(i=w(n,"class")){if(-1!==i.indexOf(t))return!0;if(-1!==i.indexOf("highcharts-container"))return!1}n=n.parentNode}},n.prototype.init=function(n,t){this.options=t;this.chart=n;this.runChartClick=!(!t.chart.events||!t.chart.events.click);this.pinchDown=[];this.lastValidTouch={};r&&(n.tooltip=new r(n,t.tooltip),this.followTouchMove=f(t.tooltip.followTouchMove,!0));this.setDOMEvents()},n.prototype.normalize=function(n,t){var i=n.touches,r=i?i.length?i.item(0):f(i.changedTouches,n.changedTouches)[0]:n;return t||(t=this.getChartPosition()),i=r.pageX-t.left,r=r.pageY-t.top,i/=t.scaleX,r/=t.scaleY,h(n,{chartX:Math.round(i),chartY:Math.round(r)})},n.prototype.onContainerClick=function(n){var t=this.chart,i=t.hoverPoint,r,u;n=this.normalize(n);r=t.plotLeft;u=t.plotTop;t.cancelClick||(i&&this.inClass(n.target,"highcharts-tracker")?(c(i.series,"click",h(n,{point:i})),t.hoverPoint&&i.firePointEvent("click",n)):(h(n,this.getCoordinates(n)),t.isInsidePlot(n.chartX-r,n.chartY-u,{visiblePlotOnly:!0})&&c(t,"click",n)))},n.prototype.onContainerMouseDown=function(n){var i=1==((n.buttons||n.button)&1);if(n=this.normalize(n),t.isFirefox&&0!==n.button)this.onContainerMouseMove(n);("undefined"==typeof n.button||i)&&(this.zoomOption(n),i&&n.preventDefault&&n.preventDefault(),this.dragStart(n))},n.prototype.onContainerMouseLeave=function(n){var i=s[f(t.hoverChartIndex,-1)],r=this.chart.tooltip;n=this.normalize(n);i&&(n.relatedTarget||n.toElement)&&(i.pointer.reset(),i.pointer.chartPosition=void 0);r&&!r.isHidden&&this.reset()},n.prototype.onContainerMouseEnter=function(){delete this.chartPosition},n.prototype.onContainerMouseMove=function(n){var t=this.chart;n=this.normalize(n);this.setHoverChartIndex();n.preventDefault||(n.returnValue=!1);("mousedown"===t.mouseIsDown||this.touchSelect(n))&&this.drag(n);!t.openMenu&&(this.inClass(n.target,"highcharts-tracker")||t.isInsidePlot(n.chartX-t.plotLeft,n.chartY-t.plotTop,{visiblePlotOnly:!0}))&&this.runPointActions(n)},n.prototype.onDocumentTouchEnd=function(n){s[t.hoverChartIndex]&&s[t.hoverChartIndex].pointer.drop(n)},n.prototype.onContainerTouchMove=function(n){if(this.touchSelect(n))this.onContainerMouseMove(n);else this.touch(n)},n.prototype.onContainerTouchStart=function(n){if(this.touchSelect(n))this.onContainerMouseDown(n);else this.zoomOption(n),this.touch(n,!0)},n.prototype.onDocumentMouseMove=function(n){var t=this.chart,r=this.chartPosition,i;n=this.normalize(n,r);i=t.tooltip;!r||i&&i.isStickyOnContact()||t.isInsidePlot(n.chartX-t.plotLeft,n.chartY-t.plotTop,{visiblePlotOnly:!0})||this.inClass(n.target,"highcharts-tracker")||this.reset()},n.prototype.onDocumentMouseUp=function(n){var i=s[f(t.hoverChartIndex,-1)];i&&i.pointer.drop(n)},n.prototype.pinch=function(n){var t=this,r=t.chart,i=t.pinchDown,u=n.touches||[],e=u.length,o=t.lastValidTouch,c=t.hasZoom,s=t.selectionMarker,l={},v=1===e&&(t.inClass(n.target,"highcharts-tracker")&&r.runTrackerClick||t.runChartClick),a={};1<e&&(t.initiated=!0);c&&t.initiated&&!v&&!1!==n.cancelable&&n.preventDefault();[].map.call(u,function(n){return t.normalize(n)});"touchstart"===n.type?([].forEach.call(u,function(n,t){i[t]={chartX:n.chartX,chartY:n.chartY}}),o.x=[i[0].chartX,i[1]&&i[1].chartX],o.y=[i[0].chartY,i[1]&&i[1].chartY],r.axes.forEach(function(n){if(n.zoomEnabled){var t=r.bounds[n.horiz?"h":"v"],i=n.minPixelPadding,u=n.toPixels(Math.min(f(n.options.min,n.dataMin),n.dataMin)),e=n.toPixels(Math.max(f(n.options.max,n.dataMax),n.dataMax)),o=Math.max(u,e);t.min=Math.min(n.pos,Math.min(u,e)-i);t.max=Math.max(n.pos+n.len,o+i)}}),t.res=!0):t.followTouchMove&&1===e?this.runPointActions(t.normalize(n)):i.length&&(s||(t.selectionMarker=s=h({destroy:p,touch:!0},r.plotBox)),t.pinchTranslate(i,u,l,s,a,o),t.hasPinched=c,t.scaleGroups(l,a),t.res&&(t.res=!1,this.reset(!1,0)))},n.prototype.pinchTranslate=function(n,t,i,r,u,f){this.zoomHor&&this.pinchTranslateDirection(!0,n,t,i,r,u,f);this.zoomVert&&this.pinchTranslateDirection(!1,n,t,i,r,u,f)},n.prototype.pinchTranslateDirection=function(n,t,i,r,u,f,e,o){var v=this.chart,l=n?"x":"y",b=n?"X":"Y",y="chart"+b,tt=n?"width":"height",k=v["plot"+(n?"Left":"Top")],a,d,s=o||1,g=v.inverted,p=v.bounds[n?"h":"v"],it=1===t.length,w=t[0][y],h=i[0][y],rt=!it&&t[1][y],c=!it&&i[1][y],nt;i=function(){"number"==typeof c&&20<Math.abs(w-rt)&&(s=o||Math.abs(h-c)/Math.abs(w-rt));d=(k-h)/s+w;a=v["plot"+(n?"Width":"Height")]/s};i();t=d;t<p.min?(t=p.min,nt=!0):t+a>p.max&&(t=p.max-a,nt=!0);nt?(h-=.8*(h-e[l][0]),"number"==typeof c&&(c-=.8*(c-e[l][1])),i()):e[l]=[h,c];g||(f[l]=d-k,f[tt]=a);f=g?1/s:s;u[tt]=a;u[l]=t;r[g?n?"scaleY":"scaleX":"scale"+b]=s;r["translate"+b]=f*k+(h-f*w)},n.prototype.reset=function(n,t){var i=this.chart,o=i.hoverSeries,r=i.hoverPoint,f=i.hoverPoints,u=i.tooltip,e=u&&u.shared?f:r;n&&e&&v(e).forEach(function(t){t.series.isCartesian&&"undefined"==typeof t.plotX&&(n=!1)});n?u&&e&&v(e).length&&(u.refresh(e),u.shared&&f?f.forEach(function(n){n.setState(n.state,!0);n.series.isCartesian&&(n.series.xAxis.crosshair&&n.series.xAxis.drawCrosshair(null,n),n.series.yAxis.crosshair&&n.series.yAxis.drawCrosshair(null,n))}):r&&(r.setState(r.state,!0),i.axes.forEach(function(n){n.crosshair&&r.series[n.coll]===n&&n.drawCrosshair(null,r)}))):(r&&r.onMouseOut(),f&&f.forEach(function(n){n.setState()}),o&&o.onMouseOut(),u&&u.hide(t),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),i.axes.forEach(function(n){n.hideCrosshair()}),this.hoverX=i.hoverPoints=i.hoverPoint=null)},n.prototype.runPointActions=function(n,i){var r=this.chart,h=r.tooltip&&r.tooltip.options.enabled?r.tooltip:void 0,l=h?h.shared:!1,u=i||r.hoverPoint,o=u&&u.series||r.hoverSeries,c;if(o=this.getHoverData(u,o,r.series,(!n||"touchmove"!==n.type)&&(!!i||o&&o.directTouch&&this.isDirectTouch),l,n),u=o.hoverPoint,c=o.hoverPoints,i=(o=o.hoverSeries)&&o.tooltipOptions.followPointer&&!o.tooltipOptions.split,l=l&&o&&!o.noSharedTooltip,u&&(u!==r.hoverPoint||h&&h.isHidden)){if((r.hoverPoints||[]).forEach(function(n){-1===c.indexOf(n)&&n.setState()}),r.hoverSeries!==o&&o.onMouseOver(),this.applyInactiveState(c),(c||[]).forEach(function(n){n.setState("hover")}),r.hoverPoint&&r.hoverPoint.firePointEvent("mouseOut"),!u.series)return;r.hoverPoints=c;r.hoverPoint=u;u.firePointEvent("mouseOver");h&&h.refresh(l?c:u,n)}else i&&h&&!h.isHidden&&(u=h.getAnchor([{}],n),r.isInsidePlot(u[0],u[1],{visiblePlotOnly:!0})&&h.updatePosition({plotX:u[0],plotY:u[1]}));this.unDocMouseMove||(this.unDocMouseMove=e(r.container.ownerDocument,"mousemove",function(n){var i=s[t.hoverChartIndex];if(i)i.pointer.onDocumentMouseMove(n)}),this.eventsToUnbind.push(this.unDocMouseMove));r.axes.forEach(function(t){var u=f((t.crosshair||{}).snap,!0),i;u&&((i=r.hoverPoint)&&i.series[t.coll]===t||(i=a(c,function(n){return n.series[t.coll]===t})));i||!u?t.drawCrosshair(n,i):t.hideCrosshair()})},n.prototype.scaleGroups=function(n,t){var i=this.chart,r;i.series.forEach(function(u){r=n||u.getPlotBox();u.xAxis&&u.xAxis.zoomEnabled&&u.group&&(u.group.attr(r),u.markerGroup&&(u.markerGroup.attr(r),u.markerGroup.clip(t?i.clipRect:null)),u.dataLabelsGroup&&u.dataLabelsGroup.attr(r))});i.clipRect.attr(t||i.clipBox)},n.prototype.setDOMEvents=function(){var u=this,n=this.chart.container,r=n.ownerDocument,i;for(n.onmousedown=this.onContainerMouseDown.bind(this),n.onmousemove=this.onContainerMouseMove.bind(this),n.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(e(n,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(e(n,"mouseleave",this.onContainerMouseLeave.bind(this))),t.unbindDocumentMouseUp||(t.unbindDocumentMouseUp=e(r,"mouseup",this.onDocumentMouseUp.bind(this))),i=this.chart.renderTo.parentElement;i&&"BODY"!==i.tagName;)this.eventsToUnbind.push(e(i,"scroll",function(){delete u.chartPosition})),i=i.parentElement;t.hasTouch&&(this.eventsToUnbind.push(e(n,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(e(n,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),t.unbindDocumentTouchEnd||(t.unbindDocumentTouchEnd=e(r,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},n.prototype.setHoverChartIndex=function(){var i=this.chart,n=t.charts[f(t.hoverChartIndex,-1)];if(n&&n!==i)n.pointer.onContainerMouseLeave({relatedTarget:!0});n&&n.mouseIsDown||(t.hoverChartIndex=i.index)},n.prototype.touch=function(n,t){var i=this.chart,u,r;this.setHoverChartIndex();1===n.touches.length?(n=this.normalize(n),(u=i.isInsidePlot(n.chartX-i.plotLeft,n.chartY-i.plotTop,{visiblePlotOnly:!0}))&&!i.openMenu)?(t&&this.runPointActions(n),"touchmove"===n.type&&(t=this.pinchDown,r=t[0]?4<=Math.sqrt(Math.pow(t[0].chartX-n.chartX,2)+Math.pow(t[0].chartY-n.chartY,2)):!1),f(r,!0)&&this.pinch(n)):t&&this.reset():2===n.touches.length&&this.pinch(n)},n.prototype.touchSelect=function(n){return!(!this.chart.options.chart.zoomBySingleTouch||!n.touches||1!==n.touches.length)},n.prototype.zoomOption=function(n){var i=this.chart,r=i.options.chart,t=r.zoomType||"";i=i.inverted;/touch/.test(n.type)&&(t=f(r.pinchType,t));this.zoomX=n=/x/.test(t);this.zoomY=t=/y/.test(t);this.zoomHor=n&&!i||t&&i;this.zoomVert=t&&!i||n&&i;this.hasZoom=n||t},n}(),t.Pointer=n}),i(t,"Core/MSPointer.js",[t["Core/Globals.js"],t["Core/Pointer.js"],t["Core/Utilities.js"]],function(n,t,i){function o(){var n=[];return n.item=function(n){return this[n]},v(r,function(t){n.push({pageX:t.pageX,pageY:t.pageY,target:t.target})}),n}function u(t,i,r,u){("touch"===t.pointerType||t.pointerType===t.MSPOINTER_TYPE_TOUCH)&&e[n.hoverChartIndex]&&(u(t),u=e[n.hoverChartIndex].pointer,u[i]({type:r,target:t.currentTarget,preventDefault:c,touches:o()}))}var s=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),e=n.charts,h=n.doc,c=n.noop,l=i.addEvent,a=i.css,v=i.objectEach,y=i.removeEvent,r={},f=!!n.win.PointerEvent;return function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return s(t,n),t.prototype.batchMSEvents=function(n){n(this.chart.container,f?"pointerdown":"MSPointerDown",this.onContainerPointerDown);n(this.chart.container,f?"pointermove":"MSPointerMove",this.onContainerPointerMove);n(h,f?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},t.prototype.destroy=function(){this.batchMSEvents(y);n.prototype.destroy.call(this)},t.prototype.init=function(t,i){n.prototype.init.call(this,t,i);this.hasZoom&&a(t.container,{"-ms-touch-action":"none","touch-action":"none"})},t.prototype.onContainerPointerDown=function(n){u(n,"onContainerTouchStart","touchstart",function(n){r[n.pointerId]={pageX:n.pageX,pageY:n.pageY,target:n.currentTarget}})},t.prototype.onContainerPointerMove=function(n){u(n,"onContainerTouchMove","touchmove",function(n){r[n.pointerId]={pageX:n.pageX,pageY:n.pageY};r[n.pointerId].target||(r[n.pointerId].target=n.currentTarget)})},t.prototype.onDocumentPointerUp=function(n){u(n,"onDocumentTouchEnd","touchend",function(n){delete r[n.pointerId]})},t.prototype.setDOMEvents=function(){n.prototype.setDOMEvents.call(this);(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(l)},t}(t)}),i(t,"Core/Series/Point.js",[t["Core/Renderer/HTML/AST.js"],t["Core/Animation/AnimationUtilities.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Core/Options.js"],t["Core/Utilities.js"]],function(n,t,i,r,u,f){var l=t.animObject,a=i.format,v=u.defaultOptions,y=f.addEvent,p=f.defined,w=f.erase,o=f.extend,h=f.fireEvent,b=f.getNestedProperty,k=f.isArray,d=f.isFunction,c=f.isNumber,s=f.isObject,g=f.merge,nt=f.objectEach,e=f.pick,tt=f.syncTimeout,it=f.removeEvent,rt=f.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 n=this,r={x:n.startXPos,opacity:0},t,i=n.getGraphicalProps();i.singular.forEach(function(i){t="dataLabel"===i;n[i]=n[i].animate(t?{x:n[i].startXPos,y:n[i].startYPos,opacity:0}:r)});i.plural.forEach(function(t){n[t].forEach(function(t){t.element&&t.animate(o({x:n.startXPos},t.startYPos?{x:t.startXPos,y:t.startYPos}:{}))})})},t.prototype.applyOptions=function(n,i){var r=this.series,u=r.options.pointValKey||r.pointValKey;return n=t.prototype.optionsToObject.call(this,n),o(this,n),this.options=this.options?o(this.options,n):n,n.group&&delete this.group,n.dataLabels&&delete this.dataLabels,u&&(this.y=t.prototype.getNestedProperty.call(this,u)),this.formatPrefix=(this.isNull=e(this.isValid&&!this.isValid(),null===this.x||!c(this.y)))?"null":"point",this.selected&&(this.state="select"),"name"in this&&"undefined"==typeof i&&r.xAxis&&r.xAxis.hasNames&&(this.x=r.xAxis.nameToX(this)),"undefined"==typeof this.x&&r&&(this.x="undefined"==typeof i?r.autoIncrement(this):i),this},t.prototype.destroy=function(){function u(){(n.graphic||n.dataLabel||n.dataLabels)&&(it(n),n.destroyElements());for(e in n)n[e]=null}var n=this,t=n.series,i=t.chart,r,f,e;t=t.options.dataSorting;r=i.hoverPoints;f=l(n.series.chart.renderer.globalAnimation);n.legendItem&&i.legend.destroyItem(n);r&&(n.setState(),w(r,n),r.length||(i.hoverPoints=null));n===i.hoverPoint&&n.onMouseOut();t&&t.enabled?(this.animateBeforeDestroy(),tt(u,f.duration)):u();i.pointCount--},t.prototype.destroyElements=function(n){var t=this;n=t.getGraphicalProps(n);n.singular.forEach(function(n){t[n]=t[n].destroy()});n.plural.forEach(function(n){t[n].forEach(function(n){n.element&&n.destroy()});delete t[n]})},t.prototype.firePointEvent=function(n,t,i){var r=this,u=this.series.options;(u.point.events[n]||r.options&&r.options.events&&r.options.events[n])&&r.importEvents();"click"===n&&u.allowPointSelect&&(i=function(n){r.select&&r.select(null,n.ctrlKey||n.metaKey||n.shiftKey)});h(r,n,t,i)},t.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+("undefined"!=typeof this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},t.prototype.getGraphicalProps=function(n){var f=this,t=[],i,r={singular:[],plural:[]},u;for(n=n||{graphic:1,dataLabel:1},n.graphic&&t.push("graphic","upperGraphic","shadowGroup"),n.dataLabel&&t.push("dataLabel","dataLabelUpper","connector"),i=t.length;i--;)u=t[i],f[u]&&r.singular.push(u);return["dataLabel","connector"].forEach(function(t){var i=t+"s";n[t]&&f[i]&&r.plural.push(i)}),r},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(n){if(n)return 0===n.indexOf("custom.")?b(n,this.options):this[n]},t.prototype.getZone=function(){var t=this.series,r=t.zones,i,n;for(t=t.zoneAxis||"y",i=0,n=r[i];this[t]>=n.value;)n=r[++i];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=n&&n.color&&!this.options.color?n.color:this.nonZonedColor,n},t.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},t.prototype.init=function(n,t,i){return this.series=n,this.applyOptions(t,i),this.id=p(this.id)?this.id:rt(),this.resolveColor(),n.chart.pointCount++,h(this,"afterInit"),this},t.prototype.optionsToObject=function(n){var i={},r=this.series,o=r.options.keys,u=o||r.pointArrayMap||["y"],s=u.length,f=0,e=0;if(c(n)||null===n)i[u[0]]=n;else if(k(n))for(!o&&n.length>s&&(r=typeof n[0],"string"===r?i.name=n[0]:"number"===r&&(i.x=n[0]),f++);e<s;)o&&"undefined"==typeof n[f]||(0<u[e].indexOf(".")?t.prototype.setNestedProperty(i,n[f],u[e]):i[u[e]]=n[f]),f++,e++;else"object"==typeof n&&(i=n,n.dataLabels&&(r._hasPointLabels=!0),n.marker&&(r._hasPointMarkers=!0));return i},t.prototype.resolveColor=function(){var n=this.series,t=n.chart.options.chart.colorCount,i=n.chart.styledMode,r;delete this.nonZonedColor;n.options.colorByPoint?(i||(t=n.options.colors||n.chart.options.colors,r=t[n.colorCounter],t=t.length),i=n.colorCounter,n.colorCounter++,n.colorCounter===t&&(n.colorCounter=0)):(i||(r=n.color),i=n.colorIndex);this.colorIndex=e(this.options.colorIndex,i);this.color=e(this.options.color,r)},t.prototype.setNestedProperty=function(n,t,i){return i.split(".").reduce(function(n,i,r,u){return n[i]=u.length-1===r?t:s(n[i],!0)?n[i]:{},n[i]},n),n},t.prototype.tooltipFormatter=function(n){var t=this.series,i=t.tooltipOptions,f=e(i.valueDecimals,""),r=i.valuePrefix||"",u=i.valueSuffix||"";return t.chart.styledMode&&(n=t.chart.tooltip.styledModeFormat(n)),(t.pointArrayMap||["y"]).forEach(function(t){t="{point."+t;(r||u)&&(n=n.replace(RegExp(t+"}","g"),r+t+"}"+u));n=n.replace(RegExp(t+"}","g"),t+":,."+f+"f}")}),a(n,{point:this,series:this.series},t.chart)},t.prototype.update=function(n,t,i,r){function a(){u.applyOptions(n);var r=o&&u.hasDummyGraphic;r=null===u.y?!r:r;o&&r&&(u.graphic=o.destroy(),delete u.hasDummyGraphic);s(n,!0)&&(o&&o.element&&n&&n.marker&&"undefined"!=typeof n.marker.symbol&&(u.graphic=o.destroy()),n&&n.dataLabels&&u.dataLabel&&(u.dataLabel=u.dataLabel.destroy()),u.connector&&(u.connector=u.connector.destroy()));h=u.index;f.updateParallelArrays(u,h);c.data[h]=s(c.data[h],!0)||s(n,!0)?u.options:e(n,c.data[h]);f.isDirty=f.isDirtyData=!0;!f.fixedBox&&f.hasCartesianSeries&&(l.isDirtyBox=!0);"point"===c.legendType&&(l.isDirtyLegend=!0);t&&l.redraw(i)}var u=this,f=u.series,o=u.graphic,h,l=f.chart,c=f.options;t=e(t,!0);!1===r?a():u.firePointEvent("update",{options:n},a)},t.prototype.remove=function(n,t){this.series.removePoint(this.series.data.indexOf(this),n,t)},t.prototype.select=function(n,t){var i=this,r=i.series,u=r.chart;this.selectedStaging=n=e(n,!i.selected);i.firePointEvent(n?"select":"unselect",{accumulate:t},function(){i.selected=i.options.selected=n;r.options.data[r.data.indexOf(i)]=i.options;i.setState(n&&"select");t||u.getSelectedPoints().forEach(function(n){var t=n.series;n.selected&&n!==i&&(n.selected=n.options.selected=!1,t.options.data[t.data.indexOf(n)]=n.options,n.setState(u.hoverPoints&&t.options.inactiveOtherPoints?"inactive":""),n.firePointEvent("unselect"))})});delete this.selectedStaging},t.prototype.onMouseOver=function(n){var i=this.series.chart,t=i.pointer;n=n?t.normalize(n):t.getChartCoordinatesFromPoint(this,i.inverted);t.runPointActions(n,this)},t.prototype.onMouseOut=function(){var n=this.series.chart;this.firePointEvent("mouseOut");this.series.options.inactiveOtherPoints||(n.hoverPoints||[]).forEach(function(n){n.setState()});n.hoverPoints=n.hoverPoint=null},t.prototype.importEvents=function(){if(!this.hasImportedEvents){var n=this,t=g(n.series.options.point,n.options).events;n.events=t;nt(t,function(t,i){d(t)&&y(n,i,t)});this.hasImportedEvents=!0}},t.prototype.setState=function(t,i){var u=this.series,a=this.state,l=u.options.states[t||"normal"]||{},y=v.plotOptions[u.type].marker&&u.options.marker,g=y&&!1===y.enabled,b=y&&y.states&&y.states[t||"normal"]||{},nt=!1===b.enabled,r=u.stateMarkerGraphic,k=this.marker||{},p=u.chart,s=u.halo,f,tt=y&&u.markerAttribs,w,d;t=t||"";t===this.state&&!i||this.selected&&"select"!==t||!1===l.enabled||t&&(nt||g&&!1===b.enabled)||t&&k.states&&k.states[t]&&!1===k.states[t].enabled||(this.state=t,tt&&(f=u.markerAttribs(this,t)),this.graphic&&!this.hasDummyGraphic?(a&&this.graphic.removeClass("highcharts-point-"+a),t&&this.graphic.addClass("highcharts-point-"+t),p.styledMode||(w=u.pointAttribs(this,t),d=e(p.options.chart.animation,l.animation),u.options.inactiveOtherPoints&&c(w.opacity)&&((this.dataLabels||[]).forEach(function(n){n&&n.animate({opacity:w.opacity},d)}),this.connector&&this.connector.animate({opacity:w.opacity},d)),this.graphic.animate(w,d)),f&&this.graphic.animate(f,e(p.options.chart.animation,b.animation,y.animation)),r&&r.hide()):(t&&b&&(a=k.symbol||u.symbol,r&&r.currentSymbol!==a&&(r=r.destroy()),f&&(r?r[i?"animate":"attr"]({x:f.x,y:f.y}):a&&(u.stateMarkerGraphic=r=p.renderer.symbol(a,f.x,f.y,f.width,f.height).add(u.markerGroup),r.currentSymbol=a)),!p.styledMode&&r&&r.attr(u.pointAttribs(this,t))),r&&(r[t&&this.isInside?"show":"hide"](),r.element.point=this)),l=l.halo,f=(r=this.graphic||r)&&r.visibility||"inherit",l&&l.size&&r&&"hidden"!==f&&!this.isCluster?(s||(u.halo=s=p.renderer.path().add(r.parentGroup)),s.show()[i?"animate":"attr"]({d:this.haloPath(l.size)}),s.attr({"class":"highcharts-halo highcharts-color-"+e(this.colorIndex,u.colorIndex)+(this.className?" "+this.className:""),visibility:f,zIndex:-1}),s.point=this,p.styledMode||s.attr(o({fill:this.color||u.color,"fill-opacity":l.opacity},n.filterUserAttributes(l.attributes||{})))):s&&s.point&&s.point.haloPath&&s.animate({d:s.point.haloPath(0)},null,s.hide),h(this,"afterSetState",{state:t}))},t.prototype.haloPath=function(n){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-n,this.plotY-n,2*n,2*n)},t}(),r.Point=t}),i(t,"Core/Legend.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Core/Series/Point.js"],t["Core/Utilities.js"]],function(n,t,i,r,u){var a=n.animObject,v=n.setAnimation,y=t.format,s,l;n=i.isFirefox;s=i.marginNames;t=i.win;var h=u.addEvent,p=u.createElement,w=u.css,c=u.defined,b=u.discardElement,k=u.find,e=u.fireEvent,d=u.isNumber,o=u.merge,f=u.pick,g=u.relativeLength,nt=u.stableSort,tt=u.syncTimeout;return u=u.wrap,l=function(){function n(n,t){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=n;this.init(n,t)}return n.prototype.init=function(n,t){this.chart=n;this.setOptions(t);t.enabled&&(this.render(),h(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=h(this.chart,"render",function(){this.legend.proximatePositions();this.legend.positionItems()}):this.unchartrender&&this.unchartrender())},n.prototype.setOptions=function(n){var t=f(n.padding,8);this.options=n;this.chart.styledMode||(this.itemStyle=n.itemStyle,this.itemHiddenStyle=o(this.itemStyle,n.itemHiddenStyle));this.itemMarginTop=n.itemMarginTop||0;this.itemMarginBottom=n.itemMarginBottom||0;this.padding=t;this.initialItemY=t-5;this.symbolWidth=f(n.symbolWidth,16);this.pages=[];this.proximate="proximate"===n.layout&&!this.chart.inverted;this.baseline=void 0},n.prototype.update=function(n,t){var i=this.chart;this.setOptions(o(!0,this.options,n));this.destroy();i.isDirtyLegend=i.isDirtyBox=!0;f(t,!0)&&i.redraw();e(this,"afterUpdate")},n.prototype.colorizeItem=function(n,t){if(n.legendGroup[t?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var i=this.options,o=n.legendItem,s=n.legendLine,f=n.legendSymbol,r=this.itemHiddenStyle.color;i=t?i.itemStyle.color:r;var h=t?n.color||r:r,c=n.options&&n.options.marker,u={fill:h};o&&o.css({fill:i,color:i});s&&s.attr({stroke:h});f&&(c&&f.isMarker&&(u=n.pointAttribs(),t||(u.stroke=u.fill=r)),f.attr(u))}e(this,"afterColorizeItem",{item:n,visible:t})},n.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this);this.chart.isResizing||this.positionCheckboxes()},n.prototype.positionItem=function(n){var s=this,t=this.options,u=t.symbolPadding,f=!t.rtl,r=n._legendItemPos,o,i;t=r[0];r=r[1];o=n.checkbox;i=n.legendGroup;i&&i.element&&(u={translateX:f?t:this.legendWidth-t-2*u-4,translateY:r},f=function(){e(s,"afterPositionItem",{item:n})},c(i.translateY)?i.animate(u,void 0,f):(i.attr(u),f()));o&&(o.x=t,o.y=r)},n.prototype.destroyItem=function(n){var t=n.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach(function(t){n[t]&&(n[t]=n[t].destroy())});t&&b(n.checkbox)},n.prototype.destroy=function(){function n(n){this[n]&&(this[n]=this[n].destroy())}this.getAllItems().forEach(function(t){["legendItem","legendGroup"].forEach(n,t)});"clipRect up down pager nav box title group".split(" ").forEach(n,this);this.display=null},n.prototype.positionCheckboxes=function(){var t=this.group&&this.group.alignAttr,i=this.clipHeight||this.legendHeight,r=this.titleHeight,n;t&&(n=t.translateY,this.allItems.forEach(function(u){var f=u.checkbox,e;f&&(e=n+r+f.y+(this.scrollOffset||0)+3,w(f,{left:t.translateX+u.checkboxOffset+f.x-20+"px",top:e+"px",display:this.proximate||e>n-6&&e<n+i-6?"":"none"}))},this))},n.prototype.renderTitle=function(){var n=this.options,r=this.padding,t=n.title,i=0;t.text&&(this.title||(this.title=this.chart.renderer.label(t.text,r-3,r-4,null,null,null,n.useHTML,null,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(t.style),this.title.add(this.group)),t.width||this.title.css({width:this.maxLegendWidth+"px"}),n=this.title.getBBox(),i=n.height,this.offsetWidth=n.width,this.contentGroup.attr({translateY:i}));this.titleHeight=i},n.prototype.setText=function(n){var t=this.options;n.legendItem.attr({text:t.labelFormat?y(t.labelFormat,n,this.chart):t.labelFormatter.call(n)})},n.prototype.renderItem=function(n){var r=this.chart,s=r.renderer,t=this.options,p=this.symbolWidth,e=t.symbolPadding||0,h=this.itemStyle,k=this.itemHiddenStyle,w="horizontal"===t.layout?f(t.itemDistance,20):0,c=!t.rtl,i=n.legendItem,b=!n.series,l=!b&&n.series.drawLegendSymbol?n.series:n,u=l.options,a=this.createCheckboxForItem&&u&&u.showCheckbox,v,y;u=p+e+w+(a?20:0);v=t.useHTML;y=n.options.className;i||(n.legendGroup=s.g("legend-item").addClass("highcharts-"+l.type+"-series highcharts-color-"+n.colorIndex+(y?" "+y:"")+(b?" highcharts-series-"+n.index:"")).attr({zIndex:1}).add(this.scrollGroup),n.legendItem=i=s.text("",c?p+e:-e,this.baseline||0,v),r.styledMode||i.css(o(n.visible?h:k)),i.attr({align:c?"left":"right",zIndex:2}).add(n.legendGroup),this.baseline||(this.fontMetrics=s.fontMetrics(r.styledMode?12:h.fontSize,i),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,i.attr("y",this.baseline),this.symbolHeight=t.symbolHeight||this.fontMetrics.f,t.squareSymbol&&(this.symbolWidth=f(t.symbolWidth,Math.max(this.symbolHeight,16)),u=this.symbolWidth+e+w+(a?20:0),c&&i.attr("x",this.symbolWidth+e))),l.drawLegendSymbol(this,n),this.setItemEvents&&this.setItemEvents(n,i,v));a&&!n.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(n);this.colorizeItem(n,n.visible);!r.styledMode&&h.width||i.css({width:(t.itemWidth||this.widthOption||r.spacingBox.width)-u+"px"});this.setText(n);r=i.getBBox();n.itemWidth=n.checkboxOffset=t.itemWidth||n.legendItemWidth||r.width+u;this.maxItemWidth=Math.max(this.maxItemWidth,n.itemWidth);this.totalItemWidth+=n.itemWidth;this.itemHeight=n.itemHeight=Math.round(n.legendItemHeight||r.height||this.symbolHeight)},n.prototype.layoutItem=function(n){var t=this.options,i=this.padding,r="horizontal"===t.layout,u=n.itemHeight,e=this.itemMarginBottom,o=this.itemMarginTop,h=r?f(t.itemDistance,20):0,s=this.maxLegendWidth;t=t.alignColumns&&this.totalItemWidth>s?this.maxItemWidth:n.itemWidth;r&&this.itemX-i+t>s&&(this.itemX=i,this.lastLineHeight&&(this.itemY+=o+this.lastLineHeight+e),this.lastLineHeight=0);this.lastItemY=o+this.itemY+e;this.lastLineHeight=Math.max(u,this.lastLineHeight);n._legendItemPos=[this.itemX,this.itemY];r?this.itemX+=t:(this.itemY+=o+u+e,this.lastLineHeight=u);this.offsetWidth=this.widthOption||Math.max((r?this.itemX-i-(n.checkbox?0:h):t)+i,this.offsetWidth)},n.prototype.getAllItems=function(){var n=[];return this.chart.series.forEach(function(t){var i=t&&t.options;t&&f(i.showInLegend,c(i.linkedTo)?!1:void 0,!0)&&(n=n.concat(t.legendItems||("point"===i.legendType?t.data:t)))}),e(this,"afterGetAllItems",{allItems:n}),n},n.prototype.getAlignment=function(){var n=this.options;return this.proximate?n.align.charAt(0)+"tv":n.floating?"":n.align.charAt(0)+n.verticalAlign.charAt(0)+n.layout.charAt(0)},n.prototype.adjustMargins=function(n,t){var i=this.chart,r=this.options,u=this.getAlignment();u&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(e,o){e.test(u)&&!c(n[o])&&(i[s[o]]=Math.max(i[s[o]],i.legend[(o+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][o]*r[o%2?"x":"y"]+f(r.margin,12)+t[o]+(i.titleOffset[o]||0)))})},n.prototype.proximatePositions=function(){var n=this.chart,t=[],r="left"===this.options.align;this.allItems.forEach(function(i){var u,f=r,e;i.yAxis&&(i.xAxis.options.reversed&&(f=!f),i.points&&(u=k(f?i.points:i.points.slice(0).reverse(),function(n){return d(n.plotY)})),f=this.itemMarginTop+i.legendItem.getBBox().height+this.itemMarginBottom,e=i.yAxis.top-n.plotTop,i.visible?(u=u?u.plotY:i.yAxis.height,u+=e-.3*f):u=e+i.yAxis.height,t.push({target:u,size:f,item:i}))},this);i.distribute(t,n.plotHeight);t.forEach(function(t){t.item._legendItemPos[1]=n.plotTop-n.spacing[0]+t.pos})},n.prototype.render=function(){var f=this.chart,h=f.renderer,o=this.group,t=this.box,i=this.options,s=this.padding,u,n,r;this.itemX=s;this.itemY=this.initialItemY;this.lastItemY=this.offsetWidth=0;this.widthOption=g(i.width,f.spacingBox.width-s);u=f.spacingBox.width-2*s-i.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(u/=2);this.maxLegendWidth=this.widthOption||u;o||(this.group=o=h.g("legend").attr({zIndex:7}).add(),this.contentGroup=h.g().attr({zIndex:1}).add(o),this.scrollGroup=h.g().add(this.contentGroup));this.renderTitle();n=this.getAllItems();nt(n,function(n,t){return(n.options&&n.options.legendIndex||0)-(t.options&&t.options.legendIndex||0)});i.reversed&&n.reverse();this.allItems=n;this.display=u=!!n.length;this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0;n.forEach(this.renderItem,this);n.forEach(this.layoutItem,this);n=(this.widthOption||this.offsetWidth)+s;r=this.lastItemY+this.lastLineHeight+this.titleHeight;r=this.handleOverflow(r);r+=s;t||(this.box=t=h.rect().addClass("highcharts-legend-box").attr({r:i.borderRadius}).add(o),t.isNew=!0);f.styledMode||t.attr({stroke:i.borderColor,"stroke-width":i.borderWidth||0,fill:i.backgroundColor||"none"}).shadow(i.shadow);0<n&&0<r&&(t[t.isNew?"attr":"animate"](t.crisp.call({},{x:0,y:0,width:n,height:r},t.strokeWidth())),t.isNew=!1);t[u?"show":"hide"]();f.styledMode&&"none"===o.getStyle("display")&&(n=r=0);this.legendWidth=n;this.legendHeight=r;u&&this.align();this.proximate||this.positionItems();e(this,"afterRender")},n.prototype.align=function(n){void 0===n&&(n=this.chart.spacingBox);var t=this.chart,r=this.options,i=n.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<t.titleOffset[0]?i+=t.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<t.titleOffset[2]&&(i-=t.titleOffset[2]);i!==n.y&&(n=o(n,{y:i}));this.group.align(o(r,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":r.verticalAlign}),!0,n)},n.prototype.handleOverflow=function(n){var t=this,a=this.chart,s=a.renderer,u=this.options,i=u.y,l=this.padding;i=a.spacingBox.height+("top"===u.verticalAlign?-i:i)-l;var w=u.maxHeight,v,h=this.clipRect,y=u.navigation,b=f(y.animation,!0),e=y.arrowSize||12,r=this.nav,o=this.pages,c,p=this.allItems,k=function(n){"number"==typeof n?h.attr({height:n}):h&&(t.clipRect=h.destroy(),t.contentGroup.clip());t.contentGroup.div&&(t.contentGroup.div.style.clip=n?"rect("+l+"px,9999px,"+(l+n)+"px,0)":"auto")},d=function(n){return t[n]=s.circle(0,0,1.3*e).translate(e/2,e/2).add(r),a.styledMode||t[n].attr("fill","rgba(0,0,0,0.0001)"),t[n]};return"horizontal"!==u.layout||"middle"===u.verticalAlign||u.floating||(i/=2),w&&(i=Math.min(i,w)),o.length=0,n&&0<i&&n>i&&!1!==y.enabled?(this.clipHeight=v=Math.max(i-20-this.titleHeight-l,0),this.currentPage=f(this.currentPage,1),this.fullHeight=n,p.forEach(function(n,t){var i=n._legendItemPos[1],u=Math.round(n.legendItem.getBBox().height),r=o.length;(!r||i-o[r-1]>v&&(c||i)!==o[r-1])&&(o.push(c||i),r++);n.pageIx=r-1;c&&(p[t-1].pageIx=r-1);t===p.length-1&&i+u-o[r-1]>v&&i!==c&&(o.push(i),n.pageIx=r);i!==c&&(c=i)}),h||(h=t.clipRect=s.clipRect(0,l,9999,0),t.contentGroup.clip(h)),k(v),r||(this.nav=r=s.g().attr({zIndex:1}).add(this.group),this.up=s.symbol("triangle",0,0,e,e).add(r),d("upTracker").on("click",function(){t.scroll(-1,b)}),this.pager=s.text("",15,10).addClass("highcharts-legend-navigation"),a.styledMode||this.pager.css(y.style),this.pager.add(r),this.down=s.symbol("triangle-down",0,0,e,e).add(r),d("downTracker").on("click",function(){t.scroll(1,b)})),t.scroll(0),n=i):r&&(k(),this.nav=r.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),n},n.prototype.scroll=function(n,t){var h=this,o=this.chart,s=this.pages,r=s.length,i=this.currentPage+n;n=this.clipHeight;var u=this.options.navigation,c=this.pager,l=this.padding;i>r&&(i=r);0<i&&("undefined"!=typeof t&&v(t,o),this.nav.attr({translateX:l,translateY:n+this.padding+7+this.titleHeight,visibility:"visible"}),[this.up,this.upTracker].forEach(function(n){n.attr({"class":1===i?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),c.attr({text:i+"/"+r}),[this.down,this.downTracker].forEach(function(n){n.attr({x:18+this.pager.getBBox().width,"class":i===r?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),o.styledMode||(this.up.attr({fill:1===i?u.inactiveColor:u.activeColor}),this.upTracker.css({cursor:1===i?"default":"pointer"}),this.down.attr({fill:i===r?u.inactiveColor:u.activeColor}),this.downTracker.css({cursor:i===r?"default":"pointer"})),this.scrollOffset=-s[i-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=i,this.positionCheckboxes(),t=a(f(t,o.renderer.globalAnimation,!0)),tt(function(){e(h,"afterScroll",{currentPage:i})},t.duration))},n.prototype.setItemEvents=function(n,t,i){var u=this,s=u.chart.renderer.boxWrapper,f=n instanceof r,h="highcharts-legend-"+(f?"point":"series")+"-active",c=u.chart.styledMode;(i?[t,n.legendSymbol]:[n.legendGroup]).forEach(function(i){if(i)i.on("mouseover",function(){n.visible&&u.allItems.forEach(function(t){n!==t&&t.setState("inactive",!f)});n.setState("hover");n.visible&&s.addClass(h);c||t.css(u.options.itemHoverStyle)}).on("mouseout",function(){u.chart.styledMode||t.css(o(n.visible?u.itemStyle:u.itemHiddenStyle));u.allItems.forEach(function(t){n!==t&&t.setState("",!f)});s.removeClass(h);n.setState()}).on("click",function(t){var i=function(){n.setVisible&&n.setVisible();u.allItems.forEach(function(t){n!==t&&t.setState(n.visible?"inactive":"",!f)})};s.removeClass(h);t={browserEvent:t};n.firePointEvent?n.firePointEvent("legendItemClick",t,i):e(n,"legendItemClick",t,i)})})},n.prototype.createCheckboxForItem=function(n){n.checkbox=p("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:n.selected,defaultChecked:n.selected},this.options.itemCheckboxStyle,this.chart.container);h(n.checkbox,"click",function(t){e(n.series||n,"checkboxClick",{checked:t.target.checked,item:n},function(){n.select()})})},n}(),(/Trident\/7\.0/.test(t.navigator&&t.navigator.userAgent)||n)&&u(l.prototype,"positionItem",function(n,t){var i=this,r=function(){t._legendItemPos&&n.call(i,t)};r();i.bubbleLegend||setTimeout(r)}),i.Legend=l,i.Legend}),i(t,"Core/Series/SeriesRegistry.js",[t["Core/Globals.js"],t["Core/Options.js"],t["Core/Series/Point.js"],t["Core/Utilities.js"]],function(n,t,i,r){var f=t.defaultOptions,o=r.error,e=r.extendClass,s=r.merge,u;return function(t){function r(n,r){var e=f.plotOptions||{},u=r.defaultOptions;r.prototype.pointClass||(r.prototype.pointClass=i);r.prototype.type=n;u&&(e[n]=u);t.seriesTypes[n]=r}t.seriesTypes=n.seriesTypes;t.getSeries=function(n,i){var r,u;return void 0===i&&(i={}),r=n.options.chart,r=i.type||r.type||r.defaultSeriesType||"",u=t.seriesTypes[r],t||o(17,!0,n,{missingModuleFor:r}),r=new u,"function"==typeof r.init&&r.init(n,i),r};t.registerSeriesType=r;t.seriesType=function(n,u,o,h,c){var l=f.plotOptions||{};return u=u||"",l[n]=s(l[u],o),r(n,e(t.seriesTypes[u]||function(){},h)),t.seriesTypes[n].prototype.type=n,c&&(t.seriesTypes[n].prototype.pointClass=e(i,c)),t.seriesTypes[n]}}(u||(u={})),n.seriesType=u.seriesType,u}),i(t,"Core/Chart/Chart.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/Axis/Axis.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Core/Legend.js"],t["Core/MSPointer.js"],t["Core/Options.js"],t["Core/Color/Palette.js"],t["Core/Pointer.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Time.js"],t["Core/Utilities.js"],t["Core/Renderer/HTML/AST.js"]],function(n,t,i,r,u,f,e,o,s,h,c,l,a){var ot=n.animate,ti=n.animObject,st=n.setAnimation,ii=i.numberFormat,k=r.charts,g=r.doc,nt=r.win,pt=e.defaultOptions,ri=e.defaultTime,ht=h.seriesTypes,ft=l.addEvent,wt=l.attr,ui=l.cleanRecursively,ct=l.createElement,w=l.css,p=l.defined,fi=l.discardElement,ei=l.erase,bt=l.error,tt=l.extend,lt=l.find,v=l.fireEvent,it=l.getStyle,oi=l.isArray,si=l.isFunction,rt=l.isNumber,at=l.isObject,et=l.isString,b=l.merge,ut=l.objectEach,y=l.pick,vt=l.pInt,kt=l.relativeLength,dt=l.removeEvent,yt=l.splat,gt=l.syncTimeout,hi=l.uniqueKey,ni=r.marginNames,d=function(){function n(n,t,i){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.sharedClips={};this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=this.spacing=void 0;this.getArgs(n,t,i)}return n.prototype.getArgs=function(n,t,i){et(n)||n.nodeName?(this.renderTo=n,this.init(t,i)):this.init(n,t)},n.prototype.init=function(n,t){var i=n.plotOptions||{};v(this,"init",{args:arguments},function(){var f=b(pt,n),e=f.chart,o,u;ut(f.plotOptions,function(n,t){at(n)&&(n.tooltip=i[t]&&b(i[t].tooltip)||void 0)});f.tooltip.userOptions=n.chart&&n.chart.forExport&&n.tooltip.userOptions||n.tooltip;this.userOptions=n;o=e.events;this.margin=[];this.spacing=[];this.bounds={h:{},v:{}};this.labelCollectors=[];this.callback=t;this.isResizing=0;this.options=f;this.axes=[];this.series=[];this.time=n.time&&Object.keys(n.time).length?new c(n.time):r.time;this.numberFormatter=e.numberFormatter||ii;this.styledMode=e.styledMode;this.hasCartesianSeries=e.showAxes;u=this;u.index=k.length;k.push(u);r.chartCount++;o&&ut(o,function(n,t){si(n)&&ft(u,t,n)});u.xAxis=[];u.yAxis=[];u.pointCount=u.colorCounter=u.symbolCounter=0;v(u,"afterInit");u.firstRender()})},n.prototype.initSeries=function(n){var t=this.options.chart,i;return t=n.type||t.type||t.defaultSeriesType,i=ht[t],i||bt(17,!0,this,{missingModuleFor:t}),t=new i,"function"==typeof t.init&&t.init(this,n),t},n.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach(function(n){n.points||n.data||!n.enabledDataSorting||n.setData(n.options.data,!1)})},n.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort(function(n,t){return n.linkedSeries.length||t.linkedSeries.length?t.linkedSeries.length-n.linkedSeries.length:0})},n.prototype.orderSeries=function(n){var t=this.series;for(n=n||0;n<t.length;n++)t[n]&&(t[n].index=n,t[n].name=t[n].getName())},n.prototype.isInsidePlot=function(n,t,i){var l,e,o;void 0===i&&(i={});var f=this.inverted,s=this.plotBox,h=this.plotLeft,c=this.plotTop,r=this.scrollablePlotBox,u=this.scrollingContainer;return u=void 0===u?{scrollLeft:0,scrollTop:0}:u,l=u.scrollLeft,u=u.scrollTop,e=i.series,s=i.visiblePlotOnly&&r||s,r=i.inverted?t:n,t=i.inverted?n:t,n={x:r,y:t,isInsidePlot:!0},i.ignoreX||(o=e&&(f?e.yAxis:e.xAxis)||{pos:h,len:Infinity},r=i.paneCoordinates?o.pos+r:h+r,r>=Math.max(l+h,o.pos)&&r<=Math.min(l+h+s.width,o.pos+o.len)||(n.isInsidePlot=!1)),!i.ignoreY&&n.isInsidePlot&&(f=e&&(f?e.xAxis:e.yAxis)||{pos:c,len:Infinity},i=i.paneCoordinates?f.pos+t:c+t,i>=Math.max(u+c,f.pos)&&i<=Math.min(u+c+s.height,f.pos+f.len)||(n.isInsidePlot=!1)),v(this,"afterIsInsidePlot",n),n.isInsidePlot},n.prototype.redraw=function(n){var t,s,y;v(this,"beforeRedraw");var u=this.hasCartesianSeries?this.axes:this.colorAxis||[],i=this.series,h=this.pointer,f=this.legend,e=this.userOptions.legend,o=this.isDirtyLegend,r=this.isDirtyBox,c=this.renderer,l=c.isHidden(),a=[];for(this.setResponsive&&this.setResponsive(!1),st(this.hasRendered?n:!1,this),l&&this.temporaryDisplay(),this.layOutTitles(),n=i.length;n--;)if(t=i[n],(t.options.stacking||t.options.centerInCategory)&&(s=!0,t.isDirty)){y=!0;break}if(y)for(n=i.length;n--;)t=i[n],t.options.stacking&&(t.isDirty=!0);i.forEach(function(n){n.isDirty&&("point"===n.options.legendType?("function"==typeof n.updateTotals&&n.updateTotals(),o=!0):e&&(e.labelFormatter||e.labelFormat)&&(o=!0));n.isDirtyData&&v(n,"updatedData")});o&&f&&f.options.enabled&&(f.render(),this.isDirtyLegend=!1);s&&this.getStacks();u.forEach(function(n){n.updateNames();n.setScale()});this.getMargins();u.forEach(function(n){n.isDirty&&(r=!0)});u.forEach(function(n){var t=n.min+","+n.max;n.extKey!==t&&(n.extKey=t,a.push(function(){v(n,"afterSetExtremes",tt(n.eventArgs,n.getExtremes()));delete n.eventArgs}));(r||s)&&n.redraw()});r&&this.drawChartBox();v(this,"predraw");i.forEach(function(n){(r||n.isDirty)&&n.visible&&n.redraw();n.isDirtyData=!1});h&&h.reset(!0);c.draw();v(this,"redraw");v(this,"render");l&&this.temporaryDisplay(!0);a.forEach(function(n){n.call()})},n.prototype.get=function(n){function i(t){return t.id===n||t.options&&t.options.id===n}for(var u=this.series,r=lt(this.axes,i)||lt(this.series,i),t=0;!r&&t<u.length;t++)r=lt(u[t].points||[],i);return r},n.prototype.getAxes=function(){var r=this,n=this.options,i=n.xAxis=yt(n.xAxis||{});n=n.yAxis=yt(n.yAxis||{});v(this,"getAxes");i.forEach(function(n,t){n.index=t;n.isX=!0});n.forEach(function(n,t){n.index=t});i.concat(n).forEach(function(n){new t(r,n)});v(this,"afterGetAxes")},n.prototype.getSelectedPoints=function(){var n=[];return this.series.forEach(function(t){n=n.concat(t.getPointsCollection().filter(function(n){return y(n.selectedStaging,n.selected)}))}),n},n.prototype.getSelectedSeries=function(){return this.series.filter(function(n){return n.selected})},n.prototype.setTitle=function(n,t,i){this.applyDescription("title",n);this.applyDescription("subtitle",t);this.applyDescription("caption",void 0);this.layOutTitles(i)},n.prototype.applyDescription=function(n,t){var u=this,r="title"===n?{color:o.neutralColor80,fontSize:this.options.isStock?"16px":"18px"}:{color:o.neutralColor60},i;r=this.options[n]=b(!this.styledMode&&{style:r},this.options[n],t);i=this[n];i&&t&&(this[n]=i=i.destroy());r&&!i&&(i=this.renderer.text(r.text,0,0,r.useHTML).attr({align:r.align,"class":"highcharts-"+n,zIndex:r.zIndex||4}).add(),i.update=function(t){u[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[n]](t)},this.styledMode||i.css(r.style),this[n]=i)},n.prototype.layOutTitles=function(n){var t=[0,0,0],r=this.renderer,u=this.spacingBox,i;["title","subtitle","caption"].forEach(function(n){var f=this[n],i=this.options[n],o=i.verticalAlign||"top",e,s;n="title"===n?-3:"top"===o?t[0]+2:0;f&&(this.styledMode||(e=i.style.fontSize),e=r.fontMetrics(e,f).b,f.css({width:(i.width||u.width+(i.widthAdjust||0))+"px"}),s=Math.round(f.getBBox(i.useHTML).height),f.align(tt({y:"bottom"===o?e:n+e,height:s},i),!1,"spacingBox"),i.floating||("top"===o?t[0]=Math.ceil(t[0]+s):"bottom"===o&&(t[2]=Math.ceil(t[2]+s))))},this);t[0]&&"top"===(this.options.title.verticalAlign||"top")&&(t[0]+=this.options.title.margin);t[2]&&"bottom"===this.options.caption.verticalAlign&&(t[2]+=this.options.caption.margin);i=!this.titleOffset||this.titleOffset.join(",")!==t.join(",");this.titleOffset=t;v(this,"afterLayOutTitles");!this.isDirtyBox&&i&&(this.isDirtyBox=this.isDirtyLegend=i,this.hasRendered&&y(n,!0)&&this.isDirtyBox&&this.redraw())},n.prototype.getChartSize=function(){var n=this.options.chart,i=n.width,t;n=n.height;t=this.renderTo;p(i)||(this.containerWidth=it(t,"width"));p(n)||(this.containerHeight=it(t,"height"));this.chartWidth=Math.max(0,i||this.containerWidth||600);this.chartHeight=Math.max(0,kt(n,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))},n.prototype.temporaryDisplay=function(n){var t=this.renderTo;if(n)for(;t&&t.style;)t.hcOrigStyle&&(w(t,t.hcOrigStyle),delete t.hcOrigStyle),t.hcOrigDetached&&(g.body.removeChild(t),t.hcOrigDetached=!1),t=t.parentNode;else for(;t&&t.style;)if(g.body.contains(t)||t.parentNode||(t.hcOrigDetached=!0,g.body.appendChild(t)),("none"===it(t,"display",!1)||t.hcOricDetached)&&(t.hcOrigStyle={display:t.style.display,height:t.style.height,overflow:t.style.overflow},n={display:"block",overflow:"hidden"},t!==this.renderTo&&(n.height=0),w(t,n),t.offsetWidth||t.style.setProperty("display","block","important")),t=t.parentNode,t===g.body)break},n.prototype.setClassName=function(n){this.container.className="highcharts-container "+(n||"")},n.prototype.getContainer=function(){var u=this.options,i=u.chart,n=this.renderTo,s=hi(),e,o,t,f;if(n||(this.renderTo=n=i.renderTo),et(n)&&(this.renderTo=n=g.getElementById(n)),n||bt(13,!0,this),t=vt(wt(n,"data-highcharts-chart")),rt(t)&&k[t]&&k[t].hasRendered&&k[t].destroy(),wt(n,"data-highcharts-chart",this.index),n.innerHTML="",i.skipClone||n.offsetWidth||this.temporaryDisplay(),this.getChartSize(),t=this.chartWidth,f=this.chartHeight,w(n,{overflow:"hidden"}),this.styledMode||(e=tt({position:"relative",overflow:"hidden",width:t+"px",height:f+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},i.style||{})),this.container=n=ct("div",{id:s},e,n),this._cursor=n.style.cursor,this.renderer=new(r[i.renderer]||r.Renderer)(n,t,f,null,i.forExport,u.exporting&&u.exporting.allowHTML,this.styledMode),st(void 0,this),this.setClassName(i.className),this.styledMode)for(o in u.defs)this.renderer.definition(u.defs[o]);else this.renderer.setStyle(i.style);this.renderer.chartIndex=this.index;v(this,"afterGetContainer")},n.prototype.getMargins=function(n){var i=this.spacing,r=this.margin,t=this.titleOffset;this.resetMargins();t[0]&&!p(r[0])&&(this.plotTop=Math.max(this.plotTop,t[0]+i[0]));t[2]&&!p(r[2])&&(this.marginBottom=Math.max(this.marginBottom,t[2]+i[2]));this.legend&&this.legend.display&&this.legend.adjustMargins(r,i);v(this,"getMargins");n||this.getAxisMargins()},n.prototype.getAxisMargins=function(){var n=this,r=n.axisOffset=[0,0,0,0],t=n.colorAxis,u=n.margin,i=function(n){n.forEach(function(n){n.visible&&n.getOffset()})};n.hasCartesianSeries?i(n.axes):t&&t.length&&i(t);ni.forEach(function(t,i){p(u[i])||(n[t]+=r[i])});n.setChartSize()},n.prototype.reflow=function(n){var t=this,i=t.options.chart,r=t.renderTo,f=p(i.width)&&p(i.height),u=i.width||it(r,"width");i=i.height||it(r,"height");r=n?n.target:nt;delete t.pointer.chartPosition;!f&&!t.isPrinting&&u&&i&&(r===nt||r===g)&&((u!==t.containerWidth||i!==t.containerHeight)&&(l.clearTimeout(t.reflowTimeout),t.reflowTimeout=gt(function(){t.container&&t.setSize(void 0,void 0,!1)},n?100:0)),t.containerWidth=u,t.containerHeight=i)},n.prototype.setReflow=function(n){var t=this;!1===n||this.unbindReflow?!1===n&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=ft(nt,"resize",function(n){t.options&&t.reflow(n)}),ft(this,"destroy",this.unbindReflow))},n.prototype.setSize=function(n,t,i){var r=this,u=r.renderer;r.isResizing+=1;st(i,r);i=u.globalAnimation;r.oldChartHeight=r.chartHeight;r.oldChartWidth=r.chartWidth;"undefined"!=typeof n&&(r.options.chart.width=n);"undefined"!=typeof t&&(r.options.chart.height=t);r.getChartSize();r.styledMode||(i?ot:w)(r.container,{width:r.chartWidth+"px",height:r.chartHeight+"px"},i);r.setChartSize(!0);u.setSize(r.chartWidth,r.chartHeight,i);r.axes.forEach(function(n){n.isDirty=!0;n.setScale()});r.isDirtyLegend=!0;r.isDirtyBox=!0;r.layOutTitles();r.getMargins();r.redraw(i);r.oldChartHeight=null;v(r,"resize");gt(function(){r&&v(r,"endResize",null,function(){--r.isResizing})},ti(i).duration)},n.prototype.setChartSize=function(n){var r=this.inverted,s=this.renderer,u=this.chartWidth,t=this.chartHeight,l=this.options.chart,i=this.spacing,f=this.clipOffset,h,c,e,o;this.plotLeft=h=Math.round(this.plotLeft);this.plotTop=c=Math.round(this.plotTop);this.plotWidth=e=Math.max(0,Math.round(u-h-this.marginRight));this.plotHeight=o=Math.max(0,Math.round(t-c-this.marginBottom));this.plotSizeX=r?o:e;this.plotSizeY=r?e:o;this.plotBorderWidth=l.plotBorderWidth||0;this.spacingBox=s.spacingBox={x:i[3],y:i[0],width:u-i[3]-i[1],height:t-i[0]-i[2]};this.plotBox=s.plotBox={x:h,y:c,width:e,height:o};t=2*Math.floor(this.plotBorderWidth/2);r=Math.ceil(Math.max(t,f[3])/2);u=Math.ceil(Math.max(t,f[0])/2);this.clipBox={x:r,y:u,width:Math.floor(this.plotSizeX-Math.max(t,f[1])/2-r),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(t,f[2])/2-u))};n||(this.axes.forEach(function(n){n.setAxisSize();n.setAxisTranslation()}),s.alignElements());v(this,"afterSetChartSize",{skipAxes:n})},n.prototype.resetMargins=function(){v(this,"resetMargins");var n=this,t=n.options.chart;["margin","spacing"].forEach(function(i){var r=t[i],u=at(r)?r:[r,r,r,r];["Top","Right","Bottom","Left"].forEach(function(r,f){n[i][f]=y(t[i+r],u[f])})});ni.forEach(function(t,i){n[t]=y(n.margin[i],n.spacing[i])});n.axisOffset=[0,0,0,0];n.clipOffset=[0,0,0,0]},n.prototype.drawChartBox=function(){var n=this.options.chart,e=this.renderer,g=this.chartWidth,nt=this.chartHeight,r=this.chartBackground,s=this.plotBackground,u=this.plotBorder,l=this.styledMode,h=this.plotBGImage,o=n.backgroundColor,tt=n.plotBackgroundColor,c=n.plotBackgroundImage,f,y=this.plotLeft,p=this.plotTop,w=this.plotWidth,b=this.plotHeight,k=this.plotBox,d=this.clipRect,a=this.clipBox,t="animate",i;r||(this.chartBackground=r=e.rect().addClass("highcharts-background").add(),t="attr");l?i=f=r.strokeWidth():(i=n.borderWidth||0,f=i+(n.shadow?8:0),o={fill:o||"none"},(i||r["stroke-width"])&&(o.stroke=n.borderColor,o["stroke-width"]=i),r.attr(o).shadow(n.shadow));r[t]({x:f/2,y:f/2,width:g-f-i%2,height:nt-f-i%2,r:n.borderRadius});t="animate";s||(t="attr",this.plotBackground=s=e.rect().addClass("highcharts-plot-background").add());s[t](k);l||(s.attr({fill:tt||"none"}).shadow(n.plotShadow),c&&(h?(c!==h.attr("href")&&h.attr("href",c),h.animate(k)):this.plotBGImage=e.image(c,y,p,w,b).add()));d?d.animate({width:a.width,height:a.height}):this.clipRect=e.clipRect(a);t="animate";u||(t="attr",this.plotBorder=u=e.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add());l||u.attr({stroke:n.plotBorderColor,"stroke-width":n.plotBorderWidth||0,fill:"none"});u[t](u.crisp({x:y,y:p,width:w,height:b},-u.strokeWidth()));this.isDirtyBox=!1;v(this,"afterDrawChartBox")},n.prototype.propFromSeries=function(){var i=this,r=i.options.chart,n,u=i.options.series,f,t;["inverted","angular","polar"].forEach(function(e){for(n=ht[r.type||r.defaultSeriesType],t=r[e]||n&&n.prototype[e],f=u&&u.length;!t&&f--;)(n=ht[u[f].type])&&n.prototype[e]&&(t=!0);i[e]=t})},n.prototype.linkSeries=function(){var n=this,t=n.series;t.forEach(function(n){n.linkedSeries.length=0});t.forEach(function(t){var i=t.options.linkedTo;et(i)&&(i=":previous"===i?n.series[t.index-1]:n.get(i))&&i.linkedParent!==t&&(i.linkedSeries.push(t),t.linkedParent=i,i.enabledDataSorting&&t.setDataSortingOptions(),t.visible=y(t.options.visible,i.options.visible,t.visible))});v(this,"afterLinkSeries")},n.prototype.renderSeries=function(){this.series.forEach(function(n){n.translate();n.render()})},n.prototype.renderLabels=function(){var n=this,t=n.options.labels;t.items&&t.items.forEach(function(i){var r=tt(t.style,i.style),u=vt(r.left)+n.plotLeft,f=vt(r.top)+n.plotTop+12;delete r.left;delete r.top;n.renderer.text(i.html,u,f).attr({zIndex:2}).css(r).add()})},n.prototype.render=function(){var n=this.axes,t=this.colorAxis,h=this.renderer,i=this.options,e=0,o=function(n){n.forEach(function(n){n.visible&&n.render()})},s,r,f;this.setTitle();this.legend=new u(this,i.legend);this.getStacks&&this.getStacks();this.getMargins(!0);this.setChartSize();i=this.plotWidth;n.some(function(n){if(n.horiz&&n.visible&&n.options.labels.enabled&&n.series.length)return e=21,!0});s=this.plotHeight=Math.max(this.plotHeight-e,0);n.forEach(function(n){n.setScale()});this.getAxisMargins();r=1.1<i/this.plotWidth;f=1.05<s/this.plotHeight;(r||f)&&(n.forEach(function(n){(n.horiz&&r||!n.horiz&&f)&&n.setTickInterval(!0)}),this.getMargins());this.drawChartBox();this.hasCartesianSeries?o(n):t&&t.length&&o(t);this.seriesGroup||(this.seriesGroup=h.g("series-group").attr({zIndex:3}).add());this.renderSeries();this.renderLabels();this.addCredits();this.setResponsive&&this.setResponsive();this.hasRendered=!0},n.prototype.addCredits=function(n){var i=this,t=b(!0,this.options.credits,n);t.enabled&&!this.credits&&(this.credits=this.renderer.text(t.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){t.href&&(nt.location.href=t.href)}).attr({align:t.position.align,zIndex:8}),i.styledMode||this.credits.css(t.style),this.credits.add().align(t.position),this.credits.update=function(n){i.credits=i.credits.destroy();i.addCredits(n)})},n.prototype.destroy=function(){var n=this,u=n.axes,f=n.series,i=n.container,t,e=i&&i.parentNode;for(v(n,"destroy"),n.renderer.forExport?ei(k,n):k[n.index]=void 0,r.chartCount--,n.renderTo.removeAttribute("data-highcharts-chart"),dt(n),t=u.length;t--;)u[t]=u[t].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t=f.length;t--;)f[t]=f[t].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach(function(t){var i=n[t];i&&i.destroy&&(n[t]=i.destroy())});i&&(i.innerHTML="",dt(i),e&&fi(i));ut(n,function(t,i){delete n[i]})},n.prototype.firstRender=function(){var n=this,t=n.options;(!n.isReadyToRender||n.isReadyToRender())&&(n.getContainer(),n.resetMargins(),n.setChartSize(),n.propFromSeries(),n.getAxes(),(oi(t.series)?t.series:[]).forEach(function(t){n.initSeries(t)}),n.linkSeries(),n.setSeriesData(),v(n,"beforeRender"),s&&(n.pointer=r.hasTouch||!nt.PointerEvent&&!nt.MSPointerEvent?new s(n,t):new f(n,t)),n.render(),n.pointer.getChartPosition(),n.renderer.imgCount||n.hasLoaded||n.onload(),n.temporaryDisplay(!0))},n.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach(function(n){n&&"undefined"!=typeof this.index&&n.apply(this,[this])},this);v(this,"load");v(this,"render");p(this.index)&&this.setReflow(this.options.chart.reflow);this.hasLoaded=!0},n.prototype.addSeries=function(n,t,i){var u,r=this;return n&&(t=y(t,!0),v(r,"addSeries",{options:n},function(){u=r.initSeries(n);r.isDirtyLegend=!0;r.linkSeries();u.enabledDataSorting&&u.setData(n.data,!1);v(r,"afterAddSeries",{series:u});t&&r.redraw(i)})),u},n.prototype.addAxis=function(n,t,i,r){return this.createAxis(t?"xAxis":"yAxis",{axis:n,redraw:i,animation:r})},n.prototype.addColorAxis=function(n,t,i){return this.createAxis("colorAxis",{axis:n,redraw:t,animation:i})},n.prototype.createAxis=function(n,i){var u="colorAxis"===n,f=i.redraw,e=i.animation;return n=b(i.axis,{index:this[n].length,isX:"xAxis"===n}),n=u?new r.ColorAxis(this,n):new t(this,n),u&&(this.isDirtyLegend=!0,this.axes.forEach(function(n){n.series=[]}),this.series.forEach(function(n){n.bindAxes();n.isDirtyData=!0})),y(f,!0)&&this.redraw(e),n},n.prototype.showLoading=function(n){var t=this,f=t.options,i=t.loadingDiv,r=t.loadingSpan,u=f.loading,e=function(){i&&w(i,{left:t.plotLeft+"px",top:t.plotTop+"px",width:t.plotWidth+"px",height:t.plotHeight+"px"})};i||(t.loadingDiv=i=ct("div",{className:"highcharts-loading highcharts-loading-hidden"},null,t.container));r||(t.loadingSpan=r=ct("span",{className:"highcharts-loading-inner"},null,i),ft(t,"redraw",e));i.className="highcharts-loading";a.setElementHTML(r,y(n,f.lang.loading,""));t.styledMode||(w(i,tt(u.style,{zIndex:10})),w(r,u.labelStyle),t.loadingShown||(w(i,{opacity:0,display:""}),ot(i,{opacity:u.style.opacity||.5},{duration:u.showDuration||0})));t.loadingShown=!0;e()},n.prototype.hideLoading=function(){var t=this.options,n=this.loadingDiv;n&&(n.className="highcharts-loading highcharts-loading-hidden",this.styledMode||ot(n,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){w(n,{display:"none"})}}));this.loadingShown=!1},n.prototype.update=function(n,t,i,r){var u=this,s={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},f,o,h,l=n.isResponsiveOptions,a=[],e;v(u,"update",{options:n});l||u.setResponsive(!1,!0);n=ui(n,u.options);u.userOptions=b(u.userOptions,n);(f=n.chart)&&(b(!0,u.options.chart,f),"className"in f&&u.setClassName(f.className),"reflow"in f&&u.setReflow(f.reflow),("inverted"in f||"polar"in f||"type"in f)&&(u.propFromSeries(),e=!0),"alignTicks"in f&&(e=!0),ut(f,function(n,t){-1!==u.propsRequireUpdateSeries.indexOf("chart."+t)&&(o=!0);-1!==u.propsRequireDirtyBox.indexOf(t)&&(u.isDirtyBox=!0);-1!==u.propsRequireReflow.indexOf(t)&&(l?u.isDirtyBox=!0:h=!0)}),!u.styledMode&&"style"in f&&u.renderer.setStyle(f.style));!u.styledMode&&n.colors&&(this.options.colors=n.colors);n.time&&(this.time===ri&&(this.time=new c(n.time)),b(!0,u.options.time,n.time));ut(n,function(t,i){u[i]&&"function"==typeof u[i].update?u[i].update(t,!1):"function"==typeof u[s[i]]?u[s[i]](t):"colors"!==i&&-1===u.collectionsWithUpdate.indexOf(i)&&b(!0,u.options[i],n[i]);"chart"!==i&&-1!==u.propsRequireUpdateSeries.indexOf(i)&&(o=!0)});this.collectionsWithUpdate.forEach(function(t){if(n[t]){var r=[];u[t].forEach(function(n,t){n.options.isInternal||r.push(y(n.options.index,t))});yt(n[t]).forEach(function(n,f){var o=p(n.id),e;o&&(e=u.get(n.id));!e&&u[t]&&(e=u[t][r?r[f]:f])&&o&&p(e.options.id)&&(e=void 0);e&&e.coll===t&&(e.update(n,!1),i&&(e.touched=!0));!e&&i&&u.collectionsWithInit[t]&&(u.collectionsWithInit[t][0].apply(u,[n].concat(u.collectionsWithInit[t][1]||[]).concat([!1])).touched=!0)});i&&u[t].forEach(function(n){n.touched||n.options.isInternal?delete n.touched:a.push(n)})}});a.forEach(function(n){n.chart&&n.remove(!1)});e&&u.axes.forEach(function(n){n.update({},!1)});o&&u.getSeriesOrderByLinks().forEach(function(n){n.chart&&n.update({},!1)},this);e=f&&f.width;f=f&&f.height;et(f)&&(f=kt(f,e||u.chartWidth));h||rt(e)&&e!==u.chartWidth||rt(f)&&f!==u.chartHeight?u.setSize(e,f,r):y(t,!0)&&u.redraw(r);v(u,"afterUpdate",{options:n,redraw:t,animation:r})},n.prototype.setSubtitle=function(n,t){this.applyDescription("subtitle",n);this.layOutTitles(t)},n.prototype.setCaption=function(n,t){this.applyDescription("caption",n);this.layOutTitles(t)},n.prototype.showResetZoom=function(){function f(){t.zoomOut()}var t=this,i=pt.lang,n=t.options.chart.resetZoomButton,r=n.theme,u=r.states,e="chart"===n.relativeTo||"spacingBox"===n.relativeTo?null:"scrollablePlotBox";v(this,"beforeShowResetZoom",null,function(){t.resetZoomButton=t.renderer.button(i.resetZoom,null,null,f,r,u&&u.hover).attr({align:n.position.align,title:i.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(n.position,!1,e)});v(this,"afterShowResetZoom")},n.prototype.zoomOut=function(){v(this,"selection",{resetSelection:!0},this.zoom)},n.prototype.zoom=function(n){var t=this,u,i=t.pointer,f=!1,e=t.inverted?i.mouseDownX:i.mouseDownY,r;!n||n.resetSelection?(t.axes.forEach(function(n){u=n.zoom()}),i.initiated=!1):n.xAxis.concat(n.yAxis).forEach(function(n){var r=n.axis,o=t.inverted?r.left:r.top,c=t.inverted?o+r.width:o+r.height,s=r.isXAxis,h=!1;(!s&&e>=o&&e<=c||s||!p(e))&&(h=!0);i[s?"zoomX":"zoomY"]&&h&&(u=r.zoom(n.min,n.max),r.displayBtn&&(f=!0))});r=t.resetZoomButton;f&&!r?t.showResetZoom():!f&&at(r)&&(t.resetZoomButton=r.destroy());u&&t.redraw(y(t.options.chart.animation,n&&n.animation,100>t.pointCount))},n.prototype.pan=function(n,t){var i=this,f=i.hoverPoints,u=i.options.chart,o=i.options.mapNavigation&&i.options.mapNavigation.enabled,e,r;t="object"==typeof t?t:{enabled:t,type:"x"};u&&u.panning&&(u.panning=t);r=t.type;v(this,"pan",{originalEvent:n},function(){f&&f.forEach(function(n){n.setState()});var t=[1];"xy"===r?t=[1,0]:"y"===r&&(t=[0]);t.forEach(function(t){var u=i[t?"xAxis":"yAxis"][0],v=u.horiz,p=n[v?"chartX":"chartY"],w,s;v=v?"mouseDownX":"mouseDownY";var c=i[v],l=(u.pointRange||0)/2,f=u.reversed&&!i.inverted||!u.reversed&&i.inverted?-1:1,a=u.getExtremes(),h=u.toValue(c-p,!0)+l*f;f=u.toValue(c+u.len-p,!0)-l*f;w=f<h;c=w?f:h;h=w?h:f;f=u.hasVerticalPanning();s=u.panningState;!f||t||s&&!s.isDirty||u.series.forEach(function(n){var t=n.getProcessedData(!0);t=n.getExtremes(t.yData,!0);s||(s={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE});rt(t.dataMin)&&rt(t.dataMax)&&(s.startMin=Math.min(y(n.options.threshold,Infinity),t.dataMin,s.startMin),s.startMax=Math.max(y(n.options.threshold,-Infinity),t.dataMax,s.startMax))});t=Math.min(y(s&&s.startMin,a.dataMin),l?a.min:u.toValue(u.toPixels(a.min)-u.minPixelPadding));l=Math.max(y(s&&s.startMax,a.dataMax),l?a.max:u.toValue(u.toPixels(a.max)+u.minPixelPadding));u.panningState=s;u.isOrdinal||(f=t-c,0<f&&(h+=f,c=t),f=h-l,0<f&&(h=l,c-=f),u.series.length&&c!==a.min&&h!==a.max&&c>=t&&h<=l&&(u.setExtremes(c,h,!1,!1,{trigger:"pan"}),i.resetZoomButton||o||c===t||h===l||!r.match("y")||(i.showResetZoom(),u.displayBtn=!1),e=!0),i[v]=p)});e&&i.redraw(!1);w(i.container,{cursor:"move"})})},n}();return tt(d.prototype,{callbacks:[],collectionsWithInit:{xAxis:[d.prototype.addAxis,[!0]],yAxis:[d.prototype.addAxis,[!1]],series:[d.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","zAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")}),r.chart=function(n,t,i){return new d(n,t,i)},r.Chart=d,d}),i(t,"Mixins/LegendSymbol.js",[t["Core/Globals.js"],t["Core/Utilities.js"]],function(n,t){var r=t.merge,i=t.pick;return n.LegendSymbolMixin={drawRectangle:function(n,t){var r=n.symbolHeight,u=n.options.squareSymbol;t.legendSymbol=this.chart.renderer.rect(u?(n.symbolWidth-r)/2:0,n.baseline-r+1,u?r:n.symbolWidth,r,i(n.options.symbolRadius,r/2)).addClass("highcharts-point").attr({zIndex:3}).add(t.legendGroup)},drawLineMarker:function(n){var t=this.options,u=t.marker,e=n.symbolWidth,o=n.symbolHeight,s=o/2,h=this.chart.renderer,c=this.legendGroup,f;n=n.baseline-Math.round(.3*n.fontMetrics.b);f={};this.chart.styledMode||(f={"stroke-width":t.lineWidth||0},t.dashStyle&&(f.dashstyle=t.dashStyle));this.legendLine=h.path([["M",0,n],["L",e,n]]).addClass("highcharts-graph").attr(f).add(c);u&&!1!==u.enabled&&e&&(t=Math.min(i(u.radius,s),s),0===this.symbol.indexOf("url")&&(u=r(u,{width:o,height:o}),t=0),this.legendSymbol=u=h.symbol(this.symbol,e/2-t,n-t,2*t,2*t,u).addClass("highcharts-point").add(c),u.isMarker=!0)}}}),i(t,"Core/Series/Series.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/Globals.js"],t["Mixins/LegendSymbol.js"],t["Core/Options.js"],t["Core/Color/Palette.js"],t["Core/Series/Point.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Renderer/SVG/SVGElement.js"],t["Core/Utilities.js"]],function(n,t,i,r,u,f,e,o,s){var tt=n.animObject,ct=n.setAnimation,lt=t.hasTouch,at=t.svg,vt=t.win,p=r.defaultOptions,v=e.seriesTypes,it=s.addEvent,d=s.arrayMax,rt=s.arrayMin,w=s.clamp,yt=s.cleanRecursively,ut=s.correctFloat,l=s.defined,ft=s.erase,b=s.error,y=s.extend,pt=s.find,c=s.fireEvent,et=s.getNestedProperty,g=s.isArray,ot=s.isFunction,a=s.isNumber,wt=s.isString,k=s.merge,nt=s.objectEach,h=s.pick,st=s.removeEvent,bt=s.splat,ht=s.syncTimeout;return n=function(){function n(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}return n.prototype.init=function(n,t){var i,u,f,r;c(this,"init",{options:t});i=this;u=n.series;this.eventOptions=this.eventOptions||{};this.eventsToUnbind=[];i.chart=n;i.options=i.setOptions(t);r=i.options;i.linkedSeries=[];i.bindAxes();y(i,{name:r.name,state:"",visible:!1!==r.visible,selected:!0===r.selected});t=r.events;nt(t,function(n,t){ot(n)&&i.eventOptions[t]!==n&&(ot(i.eventOptions[t])&&st(i,t,i.eventOptions[t]),i.eventOptions[t]=n,it(i,t,n))});(t&&t.click||r.point&&r.point.events&&r.point.events.click||r.allowPointSelect)&&(n.runTrackerClick=!0);i.getColor();i.getSymbol();i.parallelArrays.forEach(function(n){i[n+"Data"]||(i[n+"Data"]=[])});i.isCartesian&&(n.hasCartesianSeries=!0);u.length&&(f=u[u.length-1]);i._i=h(f&&f._i,-1)+1;i.opacity=i.options.opacity;n.orderSeries(this.insert(u));r.dataSorting&&r.dataSorting.enabled?i.setDataSortingOptions():i.points||i.data||i.setData(r.data,!1);c(this,"afterInit")},n.prototype.is=function(n){return v[n]&&this instanceof v[n]},n.prototype.insert=function(n){var i=this.options.index,t;if(a(i)){for(t=n.length;t--;)if(i>=h(n[t].options.index,n[t]._i)){n.splice(t+1,0,this);break}-1===t&&n.unshift(this);t+=1}else n.push(this);return h(t,n.length-1)},n.prototype.bindAxes=function(){var n=this,i=n.options,r=n.chart,t;c(this,"bindAxes",null,function(){(n.axisTypes||[]).forEach(function(u){var f=0;r[u].forEach(function(r){t=r.options;(i[u]!==f||t.isInternal)&&("undefined"==typeof i[u]||i[u]!==t.id)&&("undefined"!=typeof i[u]||0!==t.index)||(n.insert(r.series),n[u]=r,r.isDirty=!0);t.isInternal||f++});n[u]||n.optionalAxis===u||b(18,!0,r)})});c(this,"afterBindAxes")},n.prototype.updateParallelArrays=function(n,t){var i=n.series,r=arguments,u=a(t)?function(r){var u="y"===r&&i.toYData?i.toYData(n):n[r];i[r+"Data"][t]=u}:function(n){Array.prototype[t].apply(i[n+"Data"],Array.prototype.slice.call(r,2))};i.parallelArrays.forEach(u)},n.prototype.hasData=function(){return this.visible&&"undefined"!=typeof this.dataMax&&"undefined"!=typeof this.dataMin||this.visible&&this.yData&&0<this.yData.length},n.prototype.autoIncrement=function(){var n=this.options,i=this.xIncrement,r,u=n.pointIntervalUnit,t=this.chart.time;return i=h(i,n.pointStart,0),this.pointInterval=r=h(this.pointInterval,n.pointInterval,1),u&&(n=new t.Date(i),"day"===u?t.set("Date",n,t.get("Date",n)+r):"month"===u?t.set("Month",n,t.get("Month",n)+r):"year"===u&&t.set("FullYear",n,t.get("FullYear",n)+r),r=n.getTime()-i),this.xIncrement=i+r,i},n.prototype.setDataSortingOptions=function(){var n=this.options;y(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1});l(n.pointRange)||(n.pointRange=1)},n.prototype.setOptions=function(n){var u=this.chart,r=u.options,i=r.plotOptions,t=u.userOptions||{},e,o,f;return n=k(n),u=u.styledMode,e={plotOptions:i,userOptions:n},c(this,"setOptions",e),o=e.plotOptions[this.type],f=t.plotOptions||{},this.userOptions=e.userOptions,t=k(o,i.series,t.plotOptions&&t.plotOptions[this.type],n),this.tooltipOptions=k(p.tooltip,p.plotOptions.series&&p.plotOptions.series.tooltip,p.plotOptions[this.type].tooltip,r.tooltip.userOptions,i.series&&i.series.tooltip,i[this.type].tooltip,n.tooltip),this.stickyTracking=h(n.stickyTracking,f[this.type]&&f[this.type].stickyTracking,f.series&&f.series.stickyTracking,this.tooltipOptions.shared&&!this.noSharedTooltip?!0:t.stickyTracking),null===o.marker&&delete t.marker,this.zoneAxis=t.zoneAxis,r=this.zones=(t.zones||[]).slice(),(t.negativeColor||t.negativeFillColor)&&!t.zones&&(i={value:t[this.zoneAxis+"Threshold"]||t.threshold||0,className:"highcharts-negative"},u||(i.color=t.negativeColor,i.fillColor=t.negativeFillColor),r.push(i)),r.length&&l(r[r.length-1].value)&&r.push(u?{}:{color:this.color,fillColor:this.fillColor}),c(this,"afterSetOptions",{options:t}),t},n.prototype.getName=function(){return h(this.options.name,"Series "+(this.index+1))},n.prototype.getCyclic=function(n,t,i){var r=this.chart,e=this.userOptions,f=n+"Index",o=n+"Counter",s=i?i.length:h(r.options.chart[n+"Count"],r[n+"Count"]),u;t||(u=h(e[f],e["_"+f]),l(u)||(r.series.length||(r[o]=0),e["_"+f]=u=r[o]%s,r[o]+=1),i&&(t=i[u]));"undefined"!=typeof u&&(this[f]=u);this[n]=t},n.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color=u.neutralColor20:this.getCyclic("color",this.options.color||p.plotOptions[this.type].color,this.chart.options.colors)},n.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]},n.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},n.prototype.findPointIndex=function(n,t){var e=n.id,o=n.x,u=this.points,s,h=this.options.dataSorting,r,f,i;if(e)r=this.chart.get(e);else if((this.linkedParent||this.enabledDataSorting)&&(f=h&&h.matchByName?"name":"index",r=pt(u,function(t){return!t.touched&&t[f]===n[f]}),!r))return;return r&&(i=r&&r.index,"undefined"!=typeof i&&(s=!0)),"undefined"==typeof i&&a(o)&&(i=this.xData.indexOf(o,t)),-1!==i&&"undefined"!=typeof i&&this.cropped&&(i=i>=this.cropStart?i-this.cropStart:i),!s&&u[i]&&u[i].touched&&(i=void 0),i},n.prototype.updateData=function(n,t){var e=this.options,r=e.dataSorting,i=this.points,u=[],o,f,s,v=this.requireSorting,h=n.length===i.length,c=!0;if(this.xIncrement=null,n.forEach(function(n,t){var c=l(n)&&this.pointClass.prototype.optionsToObject.call({series:this},n)||{},f=c.x;c.id||a(f)?(f=this.findPointIndex(c,s),-1===f||"undefined"==typeof f?u.push(n):i[f]&&n!==e.data[f]?(i[f].update(n,!1,null,!1),i[f].touched=!0,v&&(s=f+1)):i[f]&&(i[f].touched=!0),!h||t!==f||r&&r.enabled||this.hasDerivedData)&&(o=!0):u.push(n)},this),o)for(n=i.length;n--;)(f=i[n])&&!f.touched&&f.remove&&f.remove(!1,t);else!h||r&&r.enabled?c=!1:(n.forEach(function(n,t){i[t].update&&n!==i[t].y&&i[t].update(n,!1,null,!1)}),u.length=0);return(i.forEach(function(n){n&&(n.touched=!1)}),!c)?!1:(u.forEach(function(n){this.addPoint(n,!1,null,null,!1)},this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=d(this.xData),this.autoIncrement()),!0)},n.prototype.setData=function(n,t,i,r){var u=this,e=u.points,d=e&&e.length||0,f,v=u.options,y=u.chart,nt=v.dataSorting,o=null,p=u.xAxis;o=v.turboThreshold;var w=this.xData,s=this.yData,tt=(f=u.pointArrayMap)&&f.length,k=v.keys,c=0,l=1,it;if(n=n||[],f=n.length,t=h(t,!0),nt&&nt.enabled&&(n=this.sortData(n)),!1!==r&&f&&d&&!u.cropped&&!u.hasGroupedData&&u.visible&&!u.isSeriesBoosting&&(it=this.updateData(n,i)),!it){if(u.xIncrement=null,u.colorCounter=0,this.parallelArrays.forEach(function(n){u[n+"Data"].length=0}),o&&f>o)if(o=u.getFirstValidPoint(n),a(o))for(i=0;i<f;i++)w[i]=this.autoIncrement(),s[i]=n[i];else if(g(o))if(tt)for(i=0;i<f;i++)r=n[i],w[i]=r[0],s[i]=r.slice(1,tt+1);else for(k&&(c=k.indexOf("x"),l=k.indexOf("y"),c=0<=c?c:0,l=0<=l?l:1),i=0;i<f;i++)r=n[i],w[i]=r[c],s[i]=r[l];else b(12,!1,y);else for(i=0;i<f;i++)"undefined"!=typeof n[i]&&(r={series:u},u.pointClass.prototype.applyOptions.apply(r,[n[i]]),u.updateParallelArrays(r,i));for(s&&wt(s[0])&&b(14,!0,y),u.data=[],u.options.data=u.userOptions.data=n,i=d;i--;)e[i]&&e[i].destroy&&e[i].destroy();p&&(p.minRange=p.userMinRange);u.isDirty=y.isDirtyBox=!0;u.isDirtyData=!!e;i=!1}"point"===v.legendType&&(this.processData(),this.generatePoints());t&&y.redraw(i)},n.prototype.sortData=function(n){var t=this,i=t.options.dataSorting.sortKey||"y",r=function(n,t){return l(t)&&n.pointClass.prototype.optionsToObject.call({series:n},t)||{}};return n.forEach(function(i,u){n[u]=r(t,i);n[u].index=u},this),n.concat().sort(function(n,t){return n=et(i,n),t=et(i,t),t<n?-1:t>n?1:0}).forEach(function(n,t){n.x=t},this),t.linkedSeries&&t.linkedSeries.forEach(function(t){var u=t.options,i=u.data;u.dataSorting&&u.dataSorting.enabled||!i||(i.forEach(function(u,f){i[f]=r(t,u);n[f]&&(i[f].x=n[f].x,i[f].index=f)}),t.setData(i,!1))}),n},n.prototype.getProcessedData=function(n){var t=this.xData,c=this.yData,r=t.length,f=0,i=this.xAxis,e=this.options,u=e.cropThreshold,v=n||this.getExtremesFromAll||e.getExtremesFromAll,y=this.isCartesian,l,o,s,a,h;for(n=i&&i.val2lin,e=!(!i||!i.logarithmic),l=this.requireSorting,i&&(i=i.getExtremes(),o=i.min,s=i.max),y&&this.sorted&&!v&&(!u||r>u||this.forceCrop)&&(t[r-1]<o||t[0]>s?(t=[],c=[]):this.yData&&(t[0]<o||t[r-1]>s)&&(f=this.cropData(this.xData,this.yData,o,s),t=f.xData,c=f.yData,f=f.start,a=!0)),u=t.length||1;--u;)(r=e?n(t[u])-n(t[u-1]):t[u]-t[u-1],0<r&&("undefined"==typeof h||r<h))?h=r:0>r&&l&&(b(15,!1,this.chart),l=!1);return{xData:t,yData:c,cropped:a,cropStart:f,closestPointRange:h}},n.prototype.processData=function(n){var t=this.xAxis;if(this.isCartesian&&!this.isDirty&&!t.isDirty&&!this.yAxis.isDirty&&!n)return!1;n=this.getProcessedData();this.cropped=n.cropped;this.cropStart=n.cropStart;this.processedXData=n.xData;this.processedYData=n.yData;this.closestPointRange=this.basePointRange=n.closestPointRange},n.prototype.cropData=function(n,t,i,r,u){var s=n.length,e=0,o=s,f;for(u=h(u,this.cropShoulder),f=0;f<s;f++)if(n[f]>=i){e=Math.max(0,f-u);break}for(i=f;i<s;i++)if(n[i]>r){o=i+u;break}return{xData:n.slice(e,o),yData:t.slice(e,o),start:e,end:o}},n.prototype.generatePoints=function(){var r=this.options,e=r.data,t=this.data,l,o=this.processedXData,w=this.processedYData,a=this.pointClass,s=o.length,h=this.cropStart||0,u=this.hasGroupedData,v=r.keys,p=[],n,f,i;for(r=r.dataGrouping&&r.dataGrouping.groupAll?h:0,t||u||(t=[],t.length=e.length,t=this.data=t),v&&u&&(this.options.keys=!1),n=0;n<s;n++)f=h+n,u?(i=(new a).init(this,[o[n]].concat(bt(w[n]))),i.dataGroup=this.groupMap[r+n],i.dataGroup.options&&(i.options=i.dataGroup.options,y(i,i.dataGroup.options),delete i.dataLabels)):(i=t[f])||"undefined"==typeof e[f]||(t[f]=i=(new a).init(this,e[f],o[n])),i&&(i.index=u?r+n:f,p[n]=i);if(this.options.keys=v,t&&(s!==(l=t.length)||u))for(n=0;n<l;n++)n!==h||u||(n+=s),t[n]&&(t[n].destroyElements(),t[n].plotX=void 0);this.data=t;this.points=p;c(this,"afterGeneratePoints")},n.prototype.getXExtremes=function(n){return{min:rt(n),max:d(n)}},n.prototype.getExtremes=function(n,t){var h=this.xAxis,e=this.yAxis,l=this.processedXData||this.xData,o=[],v=0,y=0,u=0,p=this.requireSorting?this.cropShoulder:0,w=e?e.positiveValuesOnly:!1,r;for(n=n||this.stackedYData||this.processedYData||[],e=n.length,h&&(u=h.getExtremes(),y=u.min,u=u.max),r=0;r<e;r++){var s=l[r],i=n[r],f=(a(i)||g(i))&&(i.length||0<i||!w);if(s=t||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!h||(l[r+p]||s)>=y&&(l[r-p]||s)<=u,f&&s)if(f=i.length)for(;f--;)a(i[f])&&(o[v++]=i[f]);else o[v++]=i}return n={dataMin:rt(o),dataMax:d(o)},c(this,"afterGetExtremes",{dataExtremes:n}),n},n.prototype.applyExtremes=function(){var n=this.getExtremes();return this.dataMin=n.dataMin,this.dataMax=n.dataMax,n},n.prototype.getFirstValidPoint=function(n){for(var t=null,r=n.length,i=0;null===t&&i<r;)t=n[i],i++;return t},n.prototype.translate=function(){var k,it;this.processedXData||this.processData();this.generatePoints();for(var s=this.options,rt=s.stacking,e=this.xAxis,d=e.categories,st=this.enabledDataSorting,i=this.yAxis,ft=this.points,ht=ft.length,ct=!!this.modifyValue,nt=this.pointPlacementToXValue(),lt=!!nt,o=s.threshold,et=s.startFromThreshold?o:0,y,ot=this.zoneAxis||"y",tt=Number.MAX_VALUE,v=0;v<ht;v++){var n=ft[v],r=n.x,t=n.y,u=n.low,p=rt&&i.stacking&&i.stacking.stacks[(this.negStacks&&t<(et?0:o)?"-":"")+this.stackKey],f=void 0,b=void 0;(i.positiveValuesOnly&&!i.validatePositiveValue(t)||e.positiveValuesOnly&&!e.validatePositiveValue(r))&&(n.isNull=!0);n.plotX=y=ut(w(e.translate(r,0,0,0,1,nt,"flags"===this.type),-1e5,1e5));rt&&this.visible&&p&&p[r]&&(k=this.getStackIndicator(k,r,this.index),n.isNull||(f=p[r],b=f.points[k.key]));g(b)&&(u=b[0],t=b[1],u===et&&k.key===p[r].base&&(u=h(a(o)&&o,i.min)),i.positiveValuesOnly&&0>=u&&(u=null),n.total=n.stackTotal=f.total,n.percentage=f.total&&n.y/f.total*100,n.stackY=t,this.irregularWidths||f.setOffset(this.pointXOffset||0,this.barW||0));n.yBottom=l(u)?w(i.translate(u,0,1,0,1),-1e5,1e5):null;ct&&(t=this.modifyValue(t,n));n.plotY=void 0;a(t)&&(t=i.translate(t,!1,!0,!1,!0),"undefined"!=typeof t&&(n.plotY=w(t,-1e5,1e5)));n.isInside=this.isPointInside(n);n.clientX=lt?ut(e.translate(r,0,0,0,1,nt)):y;n.negative=n[ot]<(s[ot+"Threshold"]||o||0);n.category=d&&"undefined"!=typeof d[n.x]?d[n.x]:n.x;n.isNull||!1===n.visible||("undefined"!=typeof it&&(tt=Math.min(tt,Math.abs(y-it))),it=y);n.zone=this.zones.length&&n.getZone();!n.graphic&&this.group&&st&&(n.isNew=!0)}this.closestPointRangePx=tt;c(this,"afterTranslate")},n.prototype.getValidPoints=function(n,t,i){var r=this.chart;return(n||this.points||[]).filter(function(n){return t&&!r.isInsidePlot(n.plotX,n.plotY,{inverted:r.inverted})?!1:!1!==n.visible&&(i||!n.isNull)})},n.prototype.getClipBox=function(n,t){var f=this.options,i=this.chart,e=i.inverted,r=this.xAxis,u=r&&this.yAxis,o=i.options.chart.scrollablePlotArea||{};return n&&!1===f.clip&&u?n=e?{y:-i.chartWidth+u.len+u.pos,height:i.chartWidth,width:i.chartHeight,x:-i.chartHeight+r.len+r.pos}:{y:-u.pos,height:i.chartHeight,width:i.chartWidth,x:-r.pos}:(n=this.clipBox||i.clipBox,t&&(n.width=i.plotSizeX,n.x=(i.scrollablePixelsX||0)*(o.scrollPositionX||0))),t?{width:n.width,x:n.x}:n},n.prototype.getSharedClipKey=function(n){if(this.sharedClipKey)return this.sharedClipKey;var t=[n&&n.duration,n&&n.easing,n&&n.defer,this.getClipBox(n).height,this.options.xAxis,this.options.yAxis].join();return(!1!==this.options.clip||n)&&(this.sharedClipKey=t),t},n.prototype.setClip=function(n){var t=this.chart,o=this.options,s=t.renderer,u=t.inverted,h=this.clipBox,f=this.getClipBox(n),r=this.getSharedClipKey(n),i=t.sharedClips[r],e=t.sharedClips[r+"m"];n&&(f.width=0,u&&(f.x=t.plotHeight+(!1!==o.clip?0:t.plotTop)));i?t.hasLoaded||i.attr(f):(n&&(t.sharedClips[r+"m"]=e=s.clipRect(u?(t.plotSizeX||0)+99:-99,u?-t.plotLeft:-t.plotTop,99,u?t.chartWidth:t.chartHeight)),t.sharedClips[r]=i=s.clipRect(f),i.count={length:0});n&&!i.count[this.index]&&(i.count[this.index]=!0,i.count.length+=1);(!1!==o.clip||n)&&(this.group.clip(n||h?i:t.clipRect),this.markerGroup.clip(e));n||(i.count[this.index]&&(delete i.count[this.index],--i.count.length),0===i.count.length&&(h||(t.sharedClips[r]=i.destroy()),e&&(t.sharedClips[r+"m"]=e.destroy())))},n.prototype.animate=function(n){var u=this.chart,i=tt(this.options.animation),t=this.sharedClipKey,r;n?this.setClip(i):t&&(n=u.sharedClips[t],t=u.sharedClips[t+"m"],r=this.getClipBox(i,!0),n&&n.animate(r,i),t&&t.animate({width:r.width+99,x:r.x-(u.inverted?0:99)},i))},n.prototype.afterAnimate=function(){this.setClip();c(this,"afterAnimate");this.finishedAnimating=!0},n.prototype.drawPoints=function(){var l=this.points,s=this.chart,f,t,u=this.options.marker,v=this[this.specialGroup]||this.markerGroup,e=this.xAxis,y=h(u.enabled,!e||e.isRadial?!0:null,this.closestPointRangePx>=u.enabledThreshold*u.radius),a,i,r;if(!1!==u.enabled||this._hasPointMarkers)for(f=0;f<l.length;f++){var n=l[f],c=(t=n.graphic)?"animate":"attr",o=n.marker||{},p=!!n.marker;(y&&"undefined"==typeof o.enabled||o.enabled)&&!n.isNull&&!1!==n.visible?(a=h(o.symbol,this.symbol),i=this.markerAttribs(n,n.selected&&"select"),this.enabledDataSorting&&(n.startXPos=e.reversed?-(i.width||0):e.width),r=!1!==n.isInside,t?t[r?"show":"hide"](r).animate(i):r&&(0<(i.width||0)||n.hasImage)&&(n.graphic=t=s.renderer.symbol(a,i.x,i.y,i.width,i.height,p?o:u).add(v),this.enabledDataSorting&&s.hasRendered&&(t.attr({x:n.startXPos}),c="animate")),t&&"animate"===c&&t[r?"show":"hide"](r).animate(i),t&&!s.styledMode&&t[c](this.pointAttribs(n,n.selected&&"select")),t&&t.addClass(n.getClassName(),!0)):t&&(n.graphic=t.destroy())}},n.prototype.markerAttribs=function(n,t){var f=this.options,i=f.marker,u=n.marker||{},e=u.symbol||i.symbol,r=h(u.radius,i.radius);return t&&(i=i.states[t],t=u.states&&u.states[t],r=h(t&&t.radius,i&&i.radius,r+(i&&i.radiusPlus||0))),n.hasImage=e&&0===e.indexOf("url"),n.hasImage&&(r=0),n={x:f.crisp?Math.floor(n.plotX-r):n.plotX-r,y:n.plotY-r},r&&(n.width=n.height=2*r),n},n.prototype.pointAttribs=function(n,t){var i=this.options.marker,r=n&&n.options,f=r&&r.marker||{},u=this.color,e=r&&r.color,s=n&&n.color,o;return r=h(f.lineWidth,i.lineWidth),o=n&&n.zone&&n.zone.color,n=1,u=e||o||s||u,e=f.fillColor||i.fillColor||u,u=f.lineColor||i.lineColor||u,t=t||"normal",i=i.states[t],t=f.states&&f.states[t]||{},r=h(t.lineWidth,i.lineWidth,r+h(t.lineWidthPlus,i.lineWidthPlus,0)),e=t.fillColor||i.fillColor||e,u=t.lineColor||i.lineColor||u,n=h(t.opacity,i.opacity,n),{stroke:u,"stroke-width":r,fill:e,opacity:n}},n.prototype.destroy=function(n){var t=this,r=t.chart,l=/AppleWebKit\/533/.test(vt.navigator.userAgent),e,u,h=t.data||[],f,i;for(c(t,"destroy"),this.removeEvents(n),(t.axisTypes||[]).forEach(function(n){(i=t[n])&&i.series&&(ft(i.series,t),i.isDirty=i.forceRedraw=!0)}),t.legendItem&&t.chart.legend.destroyItem(t),u=h.length;u--;)(f=h[u])&&f.destroy&&f.destroy();t.clips&&t.clips.forEach(function(n){return n.destroy()});s.clearTimeout(t.animationTimeout);nt(t,function(n,t){n instanceof o&&!n.survive&&(e=l&&"group"===t?"hide":"destroy",n[e]())});r.hoverSeries===t&&(r.hoverSeries=void 0);ft(r.series,t);r.orderSeries();nt(t,function(i,r){n&&"hcEvents"===r||delete t[r]})},n.prototype.applyZones=function(){var l=this,t=this.chart,nt=t.renderer,tt=this.zones,u,r,f=this.clips||[],n,e=this.graph,o=this.area,a=Math.max(t.chartWidth,t.chartHeight),i=this[(this.zoneAxis||"y")+"Axis"],p=t.inverted,b,v,y,it=!1,k,d,g,s,c;tt.length&&(e||o)&&i&&"undefined"!=typeof i.min?(g=i.reversed,s=i.horiz,e&&!this.showLine&&e.hide(),o&&o.hide(),c=i.getExtremes(),tt.forEach(function(tt,rt){u=g?s?t.plotWidth:0:s?0:i.toPixels(c.min)||0;u=w(h(r,u),0,a);r=w(Math.round(i.toPixels(h(tt.value,c.max),!0)||0),0,a);it&&(u=r=i.toPixels(c.max));b=Math.abs(u-r);v=Math.min(u,r);y=Math.max(u,r);i.isXAxis?(n={x:p?y:v,y:0,width:b,height:a},s||(n.x=t.plotHeight-n.x)):(n={x:0,y:p?y:v,width:a,height:b},s&&(n.y=t.plotWidth-n.y));p&&nt.isVML&&(n=i.isXAxis?{x:0,y:g?v:y,height:n.width,width:t.chartWidth}:{x:n.y-t.plotLeft-t.spacingBox.x,y:0,width:n.height,height:t.chartHeight});f[rt]?f[rt].animate(n):f[rt]=nt.clipRect(n);k=l["zone-area-"+rt];d=l["zone-graph-"+rt];e&&d&&d.clip(f[rt]);o&&k&&k.clip(f[rt]);it=tt.value>c.max;l.resetZones&&0===r&&(r=void 0)}),this.clips=f):l.visible&&(e&&e.show(!0),o&&o.show(!0))},n.prototype.invertGroups=function(n){function i(){["group","markerGroup"].forEach(function(i){t[i]&&(r.renderer.isVML&&t[i].attr({width:t.yAxis.len,height:t.xAxis.len}),t[i].width=t.yAxis.len,t[i].height=t.xAxis.len,t[i].invert(t.isRadialSeries?!1:n))})}var t=this,r=t.chart;t.xAxis&&(t.eventsToUnbind.push(it(r,"resize",i)),i(),t.invertGroups=i)},n.prototype.plotGroup=function(n,t,i,r,u){var f=this[n],e=!f;return i={visibility:i,zIndex:r||.1},"undefined"==typeof this.opacity||this.chart.styledMode||"inactive"===this.state||(i.opacity=this.opacity),e&&(this[n]=f=this.chart.renderer.g().add(u)),f.addClass("highcharts-"+t+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(l(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(f.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),f.attr(i)[e?"attr":"animate"](this.getPlotBox()),f},n.prototype.getPlotBox=function(){var t=this.chart,i=this.xAxis,n=this.yAxis;return t.inverted&&(i=n,n=this.xAxis),{translateX:i?i.left:t.plotLeft,translateY:n?n.top:t.plotTop,scaleX:1,scaleY:1}},n.prototype.removeEvents=function(n){n||st(this);this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(n){n()}),this.eventsToUnbind.length=0)},n.prototype.render=function(){var n=this,i=n.chart,r=n.options,u=tt(r.animation),t=!n.finishedAnimating&&i.renderer.isSVG&&u.duration,e=n.visible?"inherit":"hidden",o=r.zIndex,s=n.hasRendered,l=i.seriesGroup,a=i.inverted,f;c(this,"render");f=n.plotGroup("group","series",e,o,l);n.markerGroup=n.plotGroup("markerGroup","markers",e,o,l);t&&n.animate&&n.animate(!0);f.inverted=h(n.invertible,n.isCartesian)?a:!1;n.drawGraph&&(n.drawGraph(),n.applyZones());n.visible&&n.drawPoints();n.drawDataLabels&&n.drawDataLabels();n.redrawPoints&&n.redrawPoints();n.drawTracker&&!1!==n.options.enableMouseTracking&&n.drawTracker();n.invertGroups(a);!1===r.clip||n.sharedClipKey||s||f.clip(i.clipRect);t&&n.animate&&n.animate();s||(t&&u.defer&&(t+=u.defer),n.animationTimeout=ht(function(){n.afterAnimate()},t||0));n.isDirty=!1;n.hasRendered=!0;c(n,"afterRender")},n.prototype.redraw=function(){var n=this.chart,u=this.isDirty||this.isDirtyData,t=this.group,i=this.xAxis,r=this.yAxis;t&&(n.inverted&&t.attr({width:n.plotWidth,height:n.plotHeight}),t.animate({translateX:h(i&&i.left,n.plotLeft),translateY:h(r&&r.top,n.plotTop)}));this.translate();this.render();u&&delete this.kdTree},n.prototype.searchPoint=function(n,t){var i=this.xAxis,r=this.yAxis,u=this.chart.inverted;return this.searchKDTree({clientX:u?i.len-n.chartY+i.pos:n.chartX-i.pos,plotY:u?r.len-n.chartX+r.pos:n.chartY-r.pos},t,n)},n.prototype.buildKDTree=function(n){function i(n,r,u){var f,e;if(f=n&&n.length)return e=t.kdAxisArray[r%u],n.sort(function(n,t){return n[e]-t[e]}),f=Math.floor(f/2),{point:n[f],left:i(n.slice(0,f),r+1,u),right:i(n.slice(f+1),r+1,u)}}this.buildingKdTree=!0;var t=this,r=-1<t.options.findNearestPointBy.indexOf("y")?2:1;delete t.kdTree;ht(function(){t.kdTree=i(t.getValidPoints(null,!t.directTouch),r,r);t.buildingKdTree=!1},t.options.kdNow||n&&"touchstart"===n.type?0:1)},n.prototype.searchKDTree=function(n,t,i){function e(n,t,i,s){var c=t.point,a=o.kdAxisArray[i%s],v=c,y=l(n[u])&&l(c[u])?Math.pow(n[u]-c[u],2):null,h=l(n[f])&&l(c[f])?Math.pow(n[f]-c[f],2):null;return h=(y||0)+(h||0),c.dist=l(h)?Math.sqrt(h):Number.MAX_VALUE,c.distX=l(y)?Math.sqrt(y):Number.MAX_VALUE,a=n[a]-c[a],h=0>a?"left":"right",y=0>a?"right":"left",t[h]&&(h=e(n,t[h],i+1,s),v=h[r]<v[r]?h:c),t[y]&&Math.sqrt(a*a)<v[r]&&(n=e(n,t[y],i+1,s),v=n[r]<v[r]?n:v),v}var o=this,u=this.kdAxisArray[0],f=this.kdAxisArray[1],r=t?"distX":"dist";return t=-1<o.options.findNearestPointBy.indexOf("y")?2:1,this.kdTree||this.buildingKdTree||this.buildKDTree(i),this.kdTree?e(n,this.kdTree,t,t):void 0},n.prototype.pointPlacementToXValue=function(){var n=this.options,i=n.pointRange,t=this.xAxis;return n=n.pointPlacement,"between"===n&&(n=t.reversed?-.5:.5),a(n)?n*(i||t.pointRange):0},n.prototype.isPointInside=function(n){return"undefined"!=typeof n.plotY&&"undefined"!=typeof n.plotX&&0<=n.plotY&&n.plotY<=this.yAxis.len&&0<=n.plotX&&n.plotX<=this.xAxis.len},n.prototype.drawTracker=function(){var n=this,r=n.options,i=r.trackByArea,u=[].concat(i?n.areaPath:n.graphPath),t=n.chart,s=t.pointer,h=t.renderer,l=t.options.tooltip.snap,f=n.tracker,e=function(){t.hoverSeries!==n&&n.onMouseOver()},o="rgba(192,192,192,"+(at?.0001:.002)+")";f?f.attr({d:u}):n.graph&&(n.tracker=h.path(u).attr({visibility:n.visible?"visible":"hidden",zIndex:2}).addClass(i?"highcharts-tracker-area":"highcharts-tracker-line").add(n.group),t.styledMode||n.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:o,fill:i?o:"none","stroke-width":n.graph.strokeWidth()+(i?0:2*l)}),[n.tracker,n.markerGroup,n.dataLabelsGroup].forEach(function(n){if(n&&(n.addClass("highcharts-tracker").on("mouseover",e).on("mouseout",function(n){s.onTrackerMouseOut(n)}),r.cursor&&!t.styledMode&&n.css({cursor:r.cursor}),lt))n.on("touchstart",e)}));c(this,"afterDrawTracker")},n.prototype.addPoint=function(n,t,i,r,u){var y=this.options,s=this.data,w=this.chart,o=this.xAxis,v,l,p,f,a,e;if(o=o&&o.hasNames&&o.names,v=y.data,l=this.xData,t=h(t,!0),f={series:this},this.pointClass.prototype.applyOptions.apply(f,[n]),a=f.x,e=l.length,this.requireSorting&&a<l[e-1])for(p=!0;e&&l[e-1]>a;)e--;this.updateParallelArrays(f,"splice",e,0,0);this.updateParallelArrays(f,e);o&&f.name&&(o[a]=f.name);v.splice(e,0,n);p&&(this.data.splice(e,0,null),this.processData());"point"===y.legendType&&this.generatePoints();i&&(s[0]&&s[0].remove?s[0].remove(!1):(s.shift(),this.updateParallelArrays(f,"shift"),v.shift()));!1!==u&&c(this,"addPoint",{point:f});this.isDirtyData=this.isDirty=!0;t&&w.redraw(r)},n.prototype.removePoint=function(n,t,i){var r=this,f=r.data,u=f[n],e=r.points,o=r.chart,s=function(){e&&e.length===f.length&&e.splice(n,1);f.splice(n,1);r.options.data.splice(n,1);r.updateParallelArrays(u||{series:r},"splice",n,1);u&&u.destroy();r.isDirty=!0;r.isDirtyData=!0;t&&o.redraw()};ct(i,o);t=h(t,!0);u?u.firePointEvent("remove",null,s):s()},n.prototype.remove=function(n,t,i,r){function e(){f.destroy(r);u.isDirtyLegend=u.isDirtyBox=!0;u.linkSeries();h(n,!0)&&u.redraw(t)}var f=this,u=f.chart;!1!==i?c(f,"remove",null,e):e()},n.prototype.update=function(n,t){var a;n=yt(n,this.userOptions);c(this,"update",{options:n});var i=this,e=i.chart,u=i.userOptions,p=i.initialType||i.type,o=e.options.plotOptions,r=n.type||u.type||e.options.chart.type,l=!(this.hasDerivedData||r&&r!==this.type||"undefined"!=typeof n.pointStart||"undefined"!=typeof n.pointInterval||i.hasOptionChanged("dataGrouping")||i.hasOptionChanged("pointStart")||i.hasOptionChanged("pointInterval")||i.hasOptionChanged("pointIntervalUnit")||i.hasOptionChanged("keys")),d=v[p].prototype,w,f=["eventOptions","navigatorSeries","baseSeries"],g=i.finishedAnimating&&{animation:!1},s={};if(r=r||p,l&&(f.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),!1!==n.visible&&f.push("area","graph"),i.parallelArrays.forEach(function(n){f.push(n+"Data")}),n.data&&(n.dataSorting&&y(i.options.dataSorting,n.dataSorting),this.setData(n.data,!1))),n=k(u,g,{index:"undefined"==typeof u.index?i.index:u.index,pointStart:h(o&&o.series&&o.series.pointStart,u.pointStart,i.xData[0])},!l&&{data:i.options.data},n),l&&n.data&&(n.data=i.options.data),f=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(f),f.forEach(function(n){f[n]=i[n];delete i[n]}),u=!1,v[r]){if(u=r!==i.type,i.remove(!1,!1,!1,!0),u)if(Object.setPrototypeOf)Object.setPrototypeOf(i,v[r].prototype);else{o=Object.hasOwnProperty.call(i,"hcEvents")&&i.hcEvents;for(w in d)i[w]=void 0;y(i,v[r].prototype);o?i.hcEvents=o:delete i.hcEvents}}else b(17,!0,e,{missingModuleFor:r});f.forEach(function(n){i[n]=f[n]});i.init(e,n);l&&this.points&&(a=i.options,!1===a.visible?(s.graphic=1,s.dataLabel=1):i._hasPointLabels||(n=a.marker,r=a.dataLabels,n&&(!1===n.enabled||"symbol"in n)&&(s.graphic=1),r&&!1===r.enabled&&(s.dataLabel=1)),this.points.forEach(function(n){n&&n.series&&(n.resolveColor(),Object.keys(s).length&&n.destroyElements(s),!1===a.showInLegend&&n.legendItem&&e.legend.destroyItem(n))},this));i.initialType=p;e.linkSeries();u&&i.linkedSeries.length&&(i.isDirtyData=!0);c(this,"afterUpdate");h(t,!0)&&e.redraw(l?void 0:!1)},n.prototype.setName=function(n){this.name=this.options.name=this.userOptions.name=n;this.chart.isDirtyLegend=!0},n.prototype.hasOptionChanged=function(n){var i=this.options[n],t=this.chart.options.plotOptions,r=this.userOptions[n];return r?i!==r:i!==h(t&&t[this.type]&&t[this.type][n],t&&t.series&&t.series[n],i)},n.prototype.onMouseOver=function(){var n=this.chart,t=n.hoverSeries;n.pointer.setHoverChartIndex();t&&t!==this&&t.onMouseOut();this.options.events.mouseOver&&c(this,"mouseOver");this.setState("hover");n.hoverSeries=this},n.prototype.onMouseOut=function(){var r=this.options,n=this.chart,t=n.tooltip,i=n.hoverPoint;n.hoverSeries=null;i&&i.onMouseOut();this&&r.events.mouseOut&&c(this,"mouseOut");!t||this.stickyTracking||t.shared&&!this.noSharedTooltip||t.hide();n.series.forEach(function(n){n.setState("",!0)})},n.prototype.setState=function(n,t){var i=this,u=i.options,f=i.graph,c=u.inactiveOtherPoints,r=u.states,e=u.lineWidth,o=u.opacity,s=h(r[n||"normal"]&&r[n||"normal"].animation,i.chart.options.chart.animation);if(u=0,n=n||"",i.state!==n&&([i.group,i.markerGroup,i.dataLabelsGroup].forEach(function(t){t&&(i.state&&t.removeClass("highcharts-series-"+i.state),n&&t.addClass("highcharts-series-"+n))}),i.state=n,!i.chart.styledMode)){if(r[n]&&!1===r[n].enabled)return;if(n&&(e=r[n].lineWidth||e+(r[n].lineWidthPlus||0),o=h(r[n].opacity,o)),f&&!f.dashstyle)for(r={"stroke-width":e},f.animate(r,s);i["zone-graph-"+u];)i["zone-graph-"+u].animate(r,s),u+=1;c||[i.group,i.markerGroup,i.dataLabelsGroup,i.labelBySeries].forEach(function(n){n&&n.animate({opacity:o},s)})}t&&c&&i.points&&i.setAllPointsToState(n||void 0)},n.prototype.setAllPointsToState=function(n){this.points.forEach(function(t){t.setState&&t.setState(n)})},n.prototype.setVisible=function(n,t){var i=this,r=i.chart,f=i.legendItem,e=r.options.chart.ignoreHiddenSeries,o=i.visible,u=(i.visible=n=i.options.visible=i.userOptions.visible="undefined"==typeof n?!o:n)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(function(n){i[n]&&i[n][u]()});(r.hoverSeries===i||(r.hoverPoint&&r.hoverPoint.series)===i)&&i.onMouseOut();f&&r.legend.colorizeItem(i,n);i.isDirty=!0;i.options.stacking&&r.series.forEach(function(n){n.options.stacking&&n.visible&&(n.isDirty=!0)});i.linkedSeries.forEach(function(t){t.setVisible(n,!1)});e&&(r.isDirtyBox=!0);c(i,u);!1!==t&&r.redraw()},n.prototype.show=function(){this.setVisible(!0)},n.prototype.hide=function(){this.setVisible(!1)},n.prototype.select=function(n){this.selected=n=this.options.selected="undefined"==typeof n?!this.selected:n;this.checkbox&&(this.checkbox.checked=n);c(this,n?"select":"unselect")},n.prototype.shouldShowTooltip=function(n,t,i){return void 0===i&&(i={}),i.series=this,i.visiblePlotOnly=!0,this.chart.isInsidePlot(n,t,i)},n.defaultOptions={lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:u.backgroundColor,lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:u.neutralColor20,lineColor:u.neutralColor100,lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var n=this.series.chart.numberFormatter;return"number"!=typeof this.y?"":n(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"},n}(),y(n.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:i.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:f,requireSorting:!0,sorted:!0}),e.series=n,n}),i(t,"Extensions/ScrollablePlotArea.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/Axis/Axis.js"],t["Core/Chart/Chart.js"],t["Core/Series/Series.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],function(n,t,i,r,u,f){var h=n.stop,e=f.addEvent,o=f.createElement,s=f.merge,c=f.pick;e(i,"afterSetChartSize",function(n){var i=this.options.chart.scrollablePlotArea,t=i&&i.minWidth,r;i=i&&i.minHeight;this.renderer.forExport||(t?(this.scrollablePixelsX=t=Math.max(0,t-this.chartWidth))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=s(this.plotBox),this.plotBox.width=this.plotWidth+=t,this.inverted?this.clipBox.height+=t:this.clipBox.width+=t,r={1:{name:"right",value:t}}):i&&(this.scrollablePixelsY=t=Math.max(0,i-this.chartHeight))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=s(this.plotBox),this.plotBox.height=this.plotHeight+=t,this.inverted?this.clipBox.width+=t:this.clipBox.height+=t,r={2:{name:"bottom",value:t}}),r&&!n.skipAxes&&this.axes.forEach(function(n){r[n.side]?n.getPlotLinePath=function(){var t=r[n.side].name,i=this[t],f;return this[t]=i-r[n.side].value,f=u.Axis.prototype.getPlotLinePath.apply(this,arguments),this[t]=i,f}:(n.setAxisSize(),n.setAxisTranslation())}))});e(i,"render",function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()});i.prototype.setUpScrolling=function(){var t=this,n={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(n.overflowX="auto");this.scrollablePixelsY&&(n.overflowY="auto");this.scrollingParent=o("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo);this.scrollingContainer=o("div",{className:"highcharts-scrolling"},n,this.scrollingParent);e(this.scrollingContainer,"scroll",function(){t.pointer&&delete t.pointer.chartPosition});this.innerContainer=o("div",{className:"highcharts-inner-container"},null,this.scrollingContainer);this.innerContainer.appendChild(this.container);this.setUpScrolling=null};i.prototype.moveFixedElements=function(){var r=this.container,t=this.fixedRenderer,i=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" "),n;this.scrollablePixelsX&&!this.inverted?n=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted?n=".highcharts-xaxis":this.scrollablePixelsY&&!this.inverted?n=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(n=".highcharts-yaxis");n&&i.push(n+":not(.highcharts-radial-axis)",n+"-labels:not(.highcharts-radial-axis-labels)");i.forEach(function(n){[].forEach.call(r.querySelectorAll(n),function(n){(n.namespaceURI===t.SVG_NS?t.box:t.box.parentNode).appendChild(n);n.style.pointerEvents="auto"})})};i.prototype.applyFixed=function(){var i=!this.fixedDiv,n=this.options.chart,r=n.scrollablePlotArea,t,f,s;i?(this.fixedDiv=o("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(n.style&&n.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=n=new u.Renderer(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=n.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":c(r.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),e(this,"afterShowResetZoom",this.moveFixedElements),e(this,"afterDrilldown",this.moveFixedElements),e(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight);(this.scrollableDirty||i)&&(this.scrollableDirty=!1,this.moveFixedElements());n=this.chartWidth+(this.scrollablePixelsX||0);t=this.chartHeight+(this.scrollablePixelsY||0);h(this.container);this.container.style.width=n+"px";this.container.style.height=t+"px";this.renderer.boxWrapper.attr({width:n,height:t,viewBox:[0,0,n,t].join(" ")});this.chartBackground.attr({width:n,height:t});this.scrollingContainer.style.height=this.chartHeight+"px";i&&(r.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*r.scrollPositionX),r.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*r.scrollPositionY));t=this.axisOffset;i=this.plotTop-t[0]-1;r=this.plotLeft-t[3]-1;n=this.plotTop+this.plotHeight+t[2]+1;t=this.plotLeft+this.plotWidth+t[1]+1;f=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0);s=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);i=this.scrollablePixelsX?[["M",0,i],["L",this.plotLeft-1,i],["L",this.plotLeft-1,n],["L",0,n],["Z"],["M",f,i],["L",this.chartWidth,i],["L",this.chartWidth,n],["L",f,n],["Z"]]:this.scrollablePixelsY?[["M",r,0],["L",r,this.plotTop-1],["L",t,this.plotTop-1],["L",t,0],["Z"],["M",r,s],["L",r,this.chartHeight],["L",t,this.chartHeight],["L",t,s],["Z"]]:[["M",0,0]];"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:i})};e(t,"afterInit",function(){this.chart.scrollableDirty=!0});e(r,"show",function(){this.chart.scrollableDirty=!0})}),i(t,"Core/Axis/StackingAxis.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/Utilities.js"]],function(n,t){var u=n.getDeferredAnimation,r=t.addEvent,f=t.destroyObjectProperties,e=t.fireEvent,o=t.isNumber,i=t.objectEach,s=function(){function n(n){this.oldStacks={};this.stacks={};this.stacksTouched=0;this.axis=n}return n.prototype.buildStacks=function(){var t=this.axis,i=t.series,f=t.options.reversedStacks,r=i.length,n,u;if(!t.isXAxis){for(this.usePercentage=!1,n=r;n--;)u=i[f?n:r-n-1],u.setStackedPoints(),u.setGroupedPoints();for(n=0;n<r;n++)i[n].modifyStacks();e(t,"afterBuildStacks")}},n.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var n=this.stacks=this.oldStacks;i(n,function(n){i(n,function(n){n.cumulative=n.total})})}},n.prototype.resetStacks=function(){var n=this,t=this.stacks;this.axis.isXAxis||i(t,function(t){i(t,function(i,r){o(i.touched)&&i.touched<n.stacksTouched?(i.destroy(),delete t[r]):(i.total=null,i.cumulative=null)})})},n.prototype.renderStackTotals=function(){var n=this.axis,t=n.chart,f=t.renderer,e=this.stacks,r;n=u(t,n.options.stackLabels&&n.options.stackLabels.animation||!1);r=this.stackTotalGroup=this.stackTotalGroup||f.g("stack-labels").attr({visibility:"visible",zIndex:6,opacity:0}).add();r.translate(t.plotLeft,t.plotTop);i(e,function(n){i(n,function(n){n.render(r)})});r.animate({opacity:1},n)},n}();return function(){function n(){}return n.compose=function(t){r(t,"init",n.onInit);r(t,"destroy",n.onDestroy)},n.onDestroy=function(){var n=this.stacking,t;n&&(t=n.stacks,i(t,function(n,i){f(n);t[i]=null}),n&&n.stackTotalGroup&&n.stackTotalGroup.destroy())},n.onInit=function(){this.stacking||(this.stacking=new s(this))},n}()}),i(t,"Extensions/Stacking.js",[t["Core/Axis/Axis.js"],t["Core/Chart/Chart.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Core/Series/Series.js"],t["Core/Axis/StackingAxis.js"],t["Core/Utilities.js"]],function(n,t,i,r,u,f,e){var v=i.format,s=e.correctFloat,h=e.defined,y=e.destroyObjectProperties,p=e.isArray,l=e.isNumber,a=e.objectEach,o=e.pick,c;return c=function(){function n(n,t,i,r,u){var f=n.chart.inverted;this.axis=n;this.isNegative=i;this.options=t=t||{};this.x=r;this.total=null;this.points={};this.hasValidPoints=!1;this.stack=u;this.rightCliff=this.leftCliff=0;this.alignOptions={align:t.align||(f?i?"left":"right":"center"),verticalAlign:t.verticalAlign||(f?"middle":i?"bottom":"top"),y:t.y,x:t.x};this.textAlign=t.textAlign||(f?i?"right":"left":"center")}return n.prototype.destroy=function(){y(this,this.axis)},n.prototype.render=function(n){var r=this.axis.chart,t=this.options,i=t.format;i=i?v(i,this,r):t.formatter.call(this);this.label?this.label.attr({text:i,visibility:"hidden"}):(this.label=r.renderer.label(i,null,null,t.shape,null,null,t.useHTML,!1,"stack-labels"),i={r:t.borderRadius||0,text:i,rotation:t.rotation,padding:o(t.padding,5),visibility:"hidden"},r.styledMode||(i.fill=t.backgroundColor,i.stroke=t.borderColor,i["stroke-width"]=t.borderWidth,this.label.css(t.style)),this.label.attr(i),this.label.added||this.label.add(n));this.label.labelrank=r.plotSizeY},n.prototype.setOffset=function(n,t,i,r,f){var e=this.axis,s=e.chart,c;r=e.translate(e.stacking.usePercentage?100:r?r:this.total,0,0,0,1);i=e.translate(i?i:0);i=h(r)&&Math.abs(r-i);n=o(f,s.xAxis[0].translate(this.x))+n;e=h(r)&&this.getStackBox(s,this,n,r,t,i,e);t=this.label;i=this.isNegative;n="justify"===o(this.options.overflow,"justify");c=this.textAlign;t&&e&&(f=t.getBBox(),r=t.padding,c="left"===c?s.inverted?-r:r:"right"===c?f.width:s.inverted&&"center"===c?f.width/2:s.inverted?i?f.width+r:-r:f.width/2,i=s.inverted?f.height/2:i?-r:f.height,this.alignOptions.x=o(this.options.x,0),this.alignOptions.y=o(this.options.y,0),e.x-=c,e.y-=i,t.align(this.alignOptions,null,e),s.isInsidePlot(t.alignAttr.x+c-this.alignOptions.x,t.alignAttr.y+i-this.alignOptions.y)?t.show():(t.alignAttr.y=-9999,n=!1),n&&u.prototype.justifyDataLabel.call(this.axis,t,this.alignOptions,t.alignAttr,f,e),t.attr({x:t.alignAttr.x,y:t.alignAttr.y}),o(!n&&this.options.crop,!0)&&((s=l(t.x)&&l(t.y)&&s.isInsidePlot(t.x-r+t.width,t.y)&&s.isInsidePlot(t.x+r,t.y))||t.hide()))},n.prototype.getStackBox=function(n,t,i,r,u,f,e){var s=t.axis.reversed,o=n.inverted,h=e.height+e.pos-(o?n.plotLeft:n.plotTop);return t=t.isNegative&&!s||!t.isNegative&&s,{x:o?t?r-e.right:r-f+e.pos-n.plotLeft:i+n.xAxis[0].transB-n.plotLeft,y:o?e.height-i-u:t?h-r-f:h-r,width:o?f:u,height:o?u:f}},n}(),t.prototype.getStacks=function(){var n=this,t=n.inverted;n.yAxis.forEach(function(n){n.stacking&&n.stacking.stacks&&n.hasVisibleSeries&&(n.stacking.oldStacks=n.stacking.stacks)});n.series.forEach(function(i){var r=i.xAxis&&i.xAxis.options||{};i.options.stacking&&(!0===i.visible||!1===n.options.chart.ignoreHiddenSeries)&&(i.stackKey=[i.type,o(i.options.stack,""),t?r.top:r.left,t?r.height:r.width].join())})},f.compose(n),u.prototype.setGroupedPoints=function(){var n=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?u.prototype.setStackedPoints.call(this,"group"):n&&a(n.stacks,function(t,i){"group"===i.slice(-5)&&(a(t,function(n){return n.destroy()}),delete n.stacks[i])})},u.prototype.setStackedPoints=function(n){var l=n||this.options.stacking;if(l&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var rt=this.processedXData,d=this.processedYData,g=[],ut=d.length,v=this.options,nt=v.threshold,w=o(v.startFromThreshold&&nt,0);v=v.stack;n=n?this.type+","+l:this.stackKey;var tt="-"+n,it=this.negStacks,e=this.yAxis,u=e.stacking.stacks,b=e.stacking.oldStacks,f,a;for(e.stacking.stacksTouched+=1,a=0;a<ut;a++){var i=rt[a],r=d[a],k=this.getStackIndicator(k,i,this.index),y=k.key,t=(f=it&&r<(w?0:nt))?tt:n;u[t]||(u[t]={});u[t][i]||(b[t]&&b[t][i]?(u[t][i]=b[t][i],u[t][i].total=null):u[t][i]=new c(e,e.options.stackLabels,f,i,v));t=u[t][i];null!==r?(t.points[y]=t.points[this.index]=[o(t.cumulative,w)],h(t.cumulative)||(t.base=y),t.touched=e.stacking.stacksTouched,0<k.index&&!1===this.singleStacks&&(t.points[y][0]=t.points[this.index+","+i+",0"][0])):t.points[y]=t.points[this.index]=null;"percent"===l?(f=f?n:tt,it&&u[f]&&u[f][i]?(f=u[f][i],t.total=f.total=Math.max(f.total,t.total)+Math.abs(r)||0):t.total=s(t.total+(Math.abs(r)||0))):"group"===l?(p(r)&&(r=r[0]),null!==r&&(t.total=(t.total||0)+1)):t.total=s(t.total+(r||0));t.cumulative="group"===l?(t.total||1)-1:o(t.cumulative,w)+(r||0);null!==r&&(t.points[y].push(t.cumulative),g[a]=t.cumulative,t.hasValidPoints=!0)}"percent"===l&&(e.stacking.usePercentage=!0);"group"!==l&&(this.stackedYData=g);e.stacking.oldStacks={}}},u.prototype.modifyStacks=function(){var n=this,i=n.stackKey,r=n.yAxis.stacking.stacks,u=n.processedXData,t,f=n.options.stacking;n[f+"Stacker"]&&[i,"-"+i].forEach(function(i){for(var o=u.length,e,s;o--;)(e=u[o],t=n.getStackIndicator(t,e,n.index,i),s=(e=r[i]&&r[i][e])&&e.points[t.key])&&n[f+"Stacker"](s,e,o)})},u.prototype.percentStacker=function(n,t,i){t=t.total?100/t.total:0;n[0]=s(n[0]*t);n[1]=s(n[1]*t);this.stackedYData[i]=n[1]},u.prototype.getStackIndicator=function(n,t,i,r){return!h(n)||n.x!==t||r&&n.key!==r?n={x:t,index:0,key:r}:n.index++,n.key=[i,t,n.index].join(),n},r.StackItem=c,r.StackItem}),i(t,"Series/Line/LineSeries.js",[t["Core/Color/Palette.js"],t["Core/Series/Series.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(n,t,i,r){var u=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),f=r.defined,e=r.merge;return r=function(i){function r(){var n=null!==i&&i.apply(this,arguments)||this;return n.data=void 0,n.options=void 0,n.points=void 0,n}return u(r,i),r.prototype.drawGraph=function(){var t=this,r=this.options,i=(this.gappedPath||this.getGraphPath).call(this),f=this.chart.styledMode,u=[["graph","highcharts-graph"]];f||u[0].push(r.lineColor||this.color||n.neutralColor20,r.dashStyle);u=t.getZonesGraphs(u);u.forEach(function(n,u){var o=n[0],e=t[o],s=e?"animate":"attr";e?(e.endX=t.preventGraphAnimation?null:i.xMap,e.animate({d:i})):i.length&&(t[o]=e=t.chart.renderer.path(i).addClass(n[1]).attr({zIndex:1}).add(t.group));e&&!f&&(o={stroke:n[2],"stroke-width":r.lineWidth,fill:t.fillGraph&&t.color||"none"},n[3]?o.dashstyle=n[3]:"square"!==r.linecap&&(o["stroke-linecap"]=o["stroke-linejoin"]="round"),e[s](o).shadow(2>u&&r.shadow));e&&(e.startX=i.xMap,e.isArea=i.isArea)})},r.prototype.getGraphPath=function(n,t,i){var u=this,h=u.options,r=h.step,c,o=[],s=[],e;return n=n||u.points,(c=n.reversed)&&n.reverse(),(r={right:1,center:2}[r]||r&&3)&&c&&(r=4-r),n=this.getValidPoints(n,!1,!(h.connectNulls&&!t&&!i)),n.forEach(function(c,l){var v=c.plotX,y=c.plotY,a=n[l-1];(c.leftCliff||a&&a.rightCliff)&&!i&&(e=!0);c.isNull&&!f(t)&&0<l?e=!h.connectNulls:c.isNull&&!t?e=!0:(0===l||e?l=[["M",c.plotX,c.plotY]]:u.getPointSpline?l=[u.getPointSpline(n,c,l)]:r?(l=1===r?[["L",a.plotX,y]]:2===r?[["L",(a.plotX+v)/2,a.plotY],["L",(a.plotX+v)/2,y]]:[["L",v,a.plotY]],l.push(["L",v,y])):l=[["L",v,y]],s.push(c.x),r&&(s.push(c.x),2===r&&s.push(c.x)),o.push.apply(o,l),e=!1)}),o.xMap=s,u.graphPath=o},r.prototype.getZonesGraphs=function(n){return this.zones.forEach(function(t,i){i=["zone-graph-"+i,"highcharts-graph highcharts-zone-graph-"+i+" "+(t.className||"")];this.chart.styledMode||i.push(t.color||this.color,t.dashStyle||this.options.dashStyle);n.push(i)},this),n},r.defaultOptions=e(t.defaultOptions,{}),r}(t),i.registerSeriesType("line",r),r}),i(t,"Series/Area/AreaSeries.js",[t["Core/Color/Color.js"],t["Mixins/LegendSymbol.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(n,t,i,r){var e=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),o=n.parse,f=i.seriesTypes.line;n=r.extend;var s=r.merge,h=r.objectEach,u=r.pick;return r=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return e(t,n),t.prototype.drawGraph=function(){this.areaPath=[];n.prototype.drawGraph.apply(this);var t=this,i=this.areaPath,r=this.options,f=[["area","highcharts-area",this.color,r.fillColor]];this.zones.forEach(function(n,i){f.push(["zone-area-"+i,"highcharts-area highcharts-zone-area-"+i+" "+n.className,n.color||t.color,n.fillColor||r.fillColor])});f.forEach(function(n){var s=n[0],f=t[s],h=f?"animate":"attr",e={};f?(f.endX=t.preventGraphAnimation?null:i.xMap,f.animate({d:i})):(e.zIndex=0,f=t[s]=t.chart.renderer.path(i).addClass(n[1]).add(t.group),f.isArea=!0);t.chart.styledMode||(e.fill=u(n[3],o(n[2]).setOpacity(u(r.fillOpacity,.75)).get()));f[h](e);f.startX=i.xMap;f.shiftUnit=r.step?2:1})},t.prototype.getGraphPath=function(n){var o=f.prototype.getGraphPath,r=this.options,e=r.stacking,h=this.yAxis,t,c=[],l=[],p=this.index,w=h.stacking.stacks[this.stackKey],b=r.threshold,a=Math.round(h.getThreshold(r.threshold)),v;for(r=u(r.connectNulls,"percent"===e),v=function(t,i,r){var u=n[t],o,f,s;t=e&&w[u.x].points[p];o=u[r+"Null"]||0;r=u[r+"Cliff"]||0;u=!0;r||o?(f=(o?t[0]:t[1])+r,s=t[0]+r,u=!!o):!e&&n[i]&&n[i].isNull&&(f=s=b);"undefined"!=typeof f&&(l.push({plotX:y,plotY:null===f?a:h.getThreshold(f),isNull:u,isCliff:!0}),c.push({plotX:y,plotY:null===s?a:h.getThreshold(s),doCurve:!1}))},n=n||this.points,e&&(n=this.getStackPoints(n)),t=0;t<n.length;t++){e||(n[t].leftCliff=n[t].rightCliff=n[t].leftNull=n[t].rightNull=void 0);var i=n[t].isNull,y=u(n[t].rectPlotX,n[t].plotX),s=e?u(n[t].yBottom,a):a;(!i||r)&&(r||v(t,t-1,"left"),i&&!e&&r||(l.push(n[t]),c.push({x:t,plotX:y,plotY:s})),r||v(t,t+1,"right"))}return t=o.call(this,l,!0,!0),c.reversed=!0,i=o.call(this,c,!0,!0),(s=i[0])&&"M"===s[0]&&(i[0]=["L",s[1],s[2]]),i=t.concat(i),i.length&&i.push(["Z"]),o=o.call(this,l,!1,r),i.xMap=t.xMap,this.areaPath=i,o},t.prototype.getStackPoints=function(n){var c=this,s=[],f=[],p=this.xAxis,e=this.yAxis,o=e.stacking.stacks[this.stackKey],i={},r=e.series,l=r.length,a=e.options.reversedStacks?1:-1,v=r.indexOf(c),t,y;if(n=n||this.points,this.options.stacking){for(t=0;t<n.length;t++)n[t].leftNull=n[t].rightNull=void 0,i[n[t].x]=n[t];h(o,function(n,t){null!==n.total&&f.push(t)});f.sort(function(n,t){return n-t});y=r.map(function(n){return n.visible});f.forEach(function(n,t){var h=0,b,k,w;if(i[n]&&!i[n].isNull)s.push(i[n]),[-1,1].forEach(function(u){var w=1===u?"rightNull":"leftNull",h=0,p=o[f[t+u]],e,s;if(p)for(e=v;0<=e&&e<l;)s=r[e].index,b=p.points[s],b||(s===c.index?i[n][w]=!0:y[e]&&(k=o[n].points[s])&&(h-=k[1]-k[0])),e+=a;i[n][1===u?"rightCliff":"leftCliff"]=h});else{for(w=v;0<=w&&w<l;){if(b=o[n].points[r[w].index]){h=b[1];break}w+=a}h=u(h,0);h=e.translate(h,0,1,0,1);s.push({isNull:!0,plotX:p.translate(n,0,0,0,1),x:n,plotY:h,yBottom:h})}})}return s},t.defaultOptions=s(f.defaultOptions,{threshold:0}),t}(f),n(r.prototype,{singleStacks:!1,drawLegendSymbol:t.drawRectangle}),i.registerSeriesType("area",r),r}),i(t,"Series/Spline/SplineSeries.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(n,t){var u=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),r=n.seriesTypes.line,f=t.merge,i=t.pick;return t=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return u(t,n),t.prototype.getPointSpline=function(n,t,r){var h=t.plotX||0,u=t.plotY||0,o=n[r-1],s,f;if(r=n[r+1],o&&!o.isNull&&!1!==o.doCurve&&!t.isCliff&&r&&!r.isNull&&!1!==r.doCurve&&!t.isCliff){n=o.plotY||0;s=r.plotX||0;r=r.plotY||0;var c=0,l=(1.5*h+(o.plotX||0))/2.5,e=(1.5*u+n)/2.5;s=(1.5*h+s)/2.5;f=(1.5*u+r)/2.5;s!==l&&(c=(f-e)*(s-h)/(s-l)+u-f);e+=c;f+=c;e>n&&e>u?(e=Math.max(n,u),f=2*u-e):e<n&&e<u&&(e=Math.min(n,u),f=2*u-e);f>r&&f>u?(f=Math.max(r,u),e=2*u-f):f<r&&f<u&&(f=Math.min(r,u),e=2*u-f);t.rightContX=s;t.rightContY=f}return t=["C",i(o.rightContX,o.plotX,0),i(o.rightContY,o.plotY,0),i(l,h,0),i(e,u,0),h,u],o.rightContX=o.rightContY=void 0,t},t.defaultOptions=f(r.defaultOptions),t}(r),n.registerSeriesType("spline",t),t}),i(t,"Series/AreaSpline/AreaSplineSeries.js",[t["Series/Area/AreaSeries.js"],t["Series/Spline/SplineSeries.js"],t["Mixins/LegendSymbol.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(n,t,i,r,u){var e=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),f=n.prototype,o=u.extend,s=u.merge;return u=function(i){function r(){var n=null!==i&&i.apply(this,arguments)||this;return n.data=void 0,n.points=void 0,n.options=void 0,n}return e(r,i),r.defaultOptions=s(t.defaultOptions,n.defaultOptions),r}(t),o(u.prototype,{getGraphPath:f.getGraphPath,getStackPoints:f.getStackPoints,drawGraph:f.drawGraph,drawLegendSymbol:i.drawRectangle}),r.registerSeriesType("areaspline",u),u}),i(t,"Series/Column/ColumnSeries.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/Color/Color.js"],t["Core/Globals.js"],t["Mixins/LegendSymbol.js"],t["Core/Color/Palette.js"],t["Core/Series/Series.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(n,t,i,r,u,f,e,o){var y=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),p=n.animObject,w=t.parse,b=i.hasTouch;n=i.noop;var h=o.clamp,k=o.css,d=o.defined,a=o.extend,g=o.fireEvent,v=o.isArray,c=o.isNumber,l=o.merge,s=o.pick,nt=o.objectEach;return o=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.borderWidth=void 0,t.data=void 0,t.group=void 0,t.options=void 0,t.points=void 0,t}return y(t,n),t.prototype.animate=function(n){var t=this,i=this.yAxis,o=t.options,f=this.chart.inverted,r={},e=f?"translateX":"translateY",u;n?(r.scaleY=.001,n=h(i.toPixels(o.threshold),i.pos,i.pos+i.len),f?r.translateX=n-i.len:r.translateY=n,t.clipBox&&t.setClip(),t.group.attr(r)):(u=Number(t.group.attr(e)),t.group.animate({scaleY:1},a(p(t.options.animation),{step:function(n,f){t.group&&(r[e]=u+f.pos*(i.pos-u),t.group.attr(r))}})))},t.prototype.init=function(t){n.prototype.init.apply(this,arguments);var i=this;t=i.chart;t.hasRendered&&t.series.forEach(function(n){n.type===i.type&&(n.isDirty=!0)})},t.prototype.getColumnMetrics=function(){var t=this,i=t.options,n=t.xAxis,c=t.yAxis,u=n.options.reversedStacks,f,e,r;u=n.reversed&&!u||!n.reversed&&u;e={};r=0;!1===i.grouping?r=1:t.chart.series.forEach(function(n){var o=n.yAxis,i=n.options,u;n.type===t.type&&(n.visible||!t.chart.options.chart.ignoreHiddenSeries)&&c.len===o.len&&c.pos===o.pos&&(i.stacking&&"group"!==i.stacking?(f=n.stackKey,"undefined"==typeof e[f]&&(e[f]=r++),u=e[f]):!1!==i.grouping&&(u=r++),n.columnIndex=u)});var h=Math.min(Math.abs(n.transA)*(n.ordinal&&n.ordinal.slope||i.pointRange||n.closestPointRange||n.tickInterval||1),n.len),l=h*i.groupPadding,o=(h-2*l)/(r||1);return i=Math.min(i.maxPointWidth||n.len,s(i.pointWidth,o*(1-2*i.pointPadding))),t.columnMetrics={width:i,offset:(o-i)/2+(l+((t.columnIndex||0)+(u?1:0))*o-h/2)*(u?-1:1),paddedWidth:o,columnCount:r},t.columnMetrics},t.prototype.crispCol=function(n,t,i,r){var e=this.chart,u=this.borderWidth,f=-(u%2?.5:0);return u=u%2?.5:1,e.inverted&&e.renderer.isVML&&(u+=1),this.options.crisp&&(i=Math.round(n+i)+f,n=Math.round(n)+f,i-=n),r=Math.round(t+r)+u,f=.5>=Math.abs(t)&&.5<r,t=Math.round(t)+u,r-=t,f&&r&&(--t,r+=1),{x:n,y:t,width:i,height:r}},t.prototype.adjustForMissingColumns=function(n,t,i,r){var e=this,o=this.options.stacking,f,u;return!i.isNull&&1<r.columnCount&&(f=0,u=0,nt(this.yAxis.stacking&&this.yAxis.stacking.stacks,function(n){if("number"==typeof i.x&&(n=n[i.x.toString()])){var t=n.points[e.index],r=n.total;o?(t&&(f=u),n.hasValidPoints&&u++):v(t)&&(f=t[1],u=r||0)}}),n=(i.plotX||0)+((u-1)*r.paddedWidth+t)/2-t-f*r.paddedWidth),n},t.prototype.translate=function(){var n=this,i=n.chart,e=n.options,l=n.dense=2>n.closestPointRange*n.xAxis.transA;l=n.borderWidth=s(e.borderWidth,l?0:1);var a=n.xAxis,t=n.yAxis,r=e.threshold,o=n.translatedThreshold=t.getThreshold(r),u=s(e.minPointLength,5),v=n.getColumnMetrics(),y=v.width,p=n.barW=Math.max(y,1+2*l),b=n.pointXOffset=v.offset,k=n.dataMin,w=n.dataMax;i.inverted&&(o-=.5);e.pointPadding&&(p=Math.ceil(p));f.prototype.translate.apply(n);n.points.forEach(function(f){var it=s(f.yBottom,o),g=999+Math.abs(it),rt=y,l=f.plotX||0,ft;g=h(f.plotY,-g,t.len+g);l+=b;var nt=p,ut=Math.min(g,it),tt=Math.max(g,it)-ut;u&&Math.abs(tt)<u&&(tt=u,ft=!t.reversed&&!f.negative||t.reversed&&f.negative,c(r)&&c(w)&&f.y===r&&w<=r&&(t.min||0)<r&&(k!==w||(t.max||0)<=r)&&(ft=!ft),ut=Math.abs(ut-o)>u?it-u:o-(ft?u:0));d(f.options.pointWidth)&&(rt=nt=Math.ceil(f.options.pointWidth),l-=Math.round((rt-y)/2));e.centerInCategory&&(l=n.adjustForMissingColumns(l,rt,f,v));f.barX=l;f.pointWidth=rt;f.tooltipPos=i.inverted?[h(t.len+t.pos-i.plotLeft-g,t.pos-i.plotLeft,t.len+t.pos-i.plotLeft),a.len+a.pos-i.plotTop-l-nt/2,tt]:[a.left-i.plotLeft+l+nt/2,h(g+t.pos-i.plotTop,t.pos-i.plotTop,t.len+t.pos-i.plotTop),tt];f.shapeType=n.pointClass.prototype.shapeType||"rect";f.shapeArgs=n.crispCol.apply(n,f.isNull?[l,o,nt,0]:[l,ut,nt,tt])})},t.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},t.prototype.pointAttribs=function(n,t){var e=this.options,i=this.pointAttrToOptions||{},u=i.stroke||"borderColor",c=i["stroke-width"]||"borderWidth",f=n&&n.color||this.color,o=n&&n[u]||e[u]||f,h=n&&n[c]||e[c]||this[c]||0,a,r;return i=n&&n.options.dashStyle||e.dashStyle,a=s(n&&n.opacity,e.opacity,1),n&&this.zones.length&&(r=n.getZone(),f=n.options.color||r&&(r.color||n.nonZonedColor)||this.color,r&&(o=r.borderColor||o,i=r.dashStyle||i,h=r.borderWidth||h)),t&&n&&(n=l(e.states[t],n.options.states&&n.options.states[t]||{}),t=n.brightness,f=n.color||"undefined"!=typeof t&&w(f).brighten(n.brightness).get()||f,o=n[u]||o,h=n[c]||h,i=n.dashStyle||i,a=s(n.opacity,a)),u={fill:f,stroke:o,"stroke-width":h,opacity:a},i&&(u.dashstyle=i),u},t.prototype.drawPoints=function(){var n=this,i=this.chart,t=n.options,f=i.renderer,u=t.animationLimit||250,r;n.points.forEach(function(e){var o=e.graphic,h=!!o,s=o&&i.pointCount<u?"animate":"attr";c(e.plotY)&&null!==e.y?(r=e.shapeArgs,o&&e.hasNewShapeType()&&(o=o.destroy()),n.enabledDataSorting&&(e.startXPos=n.xAxis.reversed?-(r?r.width||0:0):n.xAxis.width),o||(e.graphic=o=f[e.shapeType](r).add(e.group||n.group))&&n.enabledDataSorting&&i.hasRendered&&i.pointCount<u&&(o.attr({x:e.startXPos}),h=!0,s="animate"),o&&h&&o[s](l(r)),t.borderRadius&&o[s]({r:t.borderRadius}),i.styledMode||o[s](n.pointAttribs(e,e.selected&&"select")).shadow(!1!==e.allowShadow&&t.shadow,null,t.stacking&&!t.borderRadius),o&&(o.addClass(e.getClassName(),!0),o.attr({visibility:e.visible?"inherit":"hidden"}))):o&&(e.graphic=o.destroy())})},t.prototype.drawTracker=function(){var n=this,i=n.chart,t=i.pointer,r=function(n){var i=t.getPointFromEvent(n);"undefined"!=typeof i&&(t.isDirectTouch=!0,i.onMouseOver(n))},u;n.points.forEach(function(n){u=v(n.dataLabels)?n.dataLabels:n.dataLabel?[n.dataLabel]:[];n.graphic&&(n.graphic.element.point=n);u.forEach(function(t){t.div?t.div.point=n:t.element.point=n})});n._hasTracking||(n.trackerGroups.forEach(function(u){if(n[u]){n[u].addClass("highcharts-tracker").on("mouseover",r).on("mouseout",function(n){t.onTrackerMouseOut(n)});if(b)n[u].on("touchstart",r);!i.styledMode&&n.options.cursor&&n[u].css(k).css({cursor:n.options.cursor})}}),n._hasTracking=!0);g(this,"afterDrawTracker")},t.prototype.remove=function(){var n=this,t=n.chart;t.hasRendered&&t.series.forEach(function(t){t.type===n.type&&(t.isDirty=!0)});f.prototype.remove.apply(n,arguments)},t.defaultOptions=l(f.defaultOptions,{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:u.neutralColor20,borderColor:u.neutralColor100}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:u.backgroundColor}),t}(f),a(o.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:r.drawRectangle,getSymbol:n,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),e.registerSeriesType("column",o),o}),i(t,"Series/Bar/BarSeries.js",[t["Series/Column/ColumnSeries.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(n,t,i){var r=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),u=i.extend,f=i.merge;return i=function(t){function i(){var n=null!==t&&t.apply(this,arguments)||this;return n.data=void 0,n.options=void 0,n.points=void 0,n}return r(i,t),i.defaultOptions=f(n.defaultOptions,{}),i}(n),u(i.prototype,{inverted:!0}),t.registerSeriesType("bar",i),i}),i(t,"Series/Scatter/ScatterSeries.js",[t["Series/Column/ColumnSeries.js"],t["Series/Line/LineSeries.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(n,t,i,r){var u=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),f=r.addEvent,e=r.extend,o=r.merge;return r=function(n){function i(){var t=null!==n&&n.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return u(i,n),i.prototype.applyJitter=function(){var t=this,n=this.options.jitter,i=this.points.length;n&&this.points.forEach(function(r,u){["x","y"].forEach(function(f,e){var s="plot"+f.toUpperCase(),o,h,c;n[f]&&!r.isNull&&(o=t[f+"Axis"],h=n[f]*o.transA,o&&!o.isLog&&(c=Math.max(0,r[s]-h),o=Math.min(o.len,r[s]+h),e=1e4*Math.sin(u+e*i),r[s]=c+(o-c)*(e-Math.floor(e)),"x"===f&&(r.clientX=r.plotX)))})})},i.prototype.drawGraph=function(){(this.options.lineWidth||0===this.options.lineWidth&&this.graph&&this.graph.strokeWidth())&&n.prototype.drawGraph.call(this)},i.defaultOptions=o(t.defaultOptions,{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/>"}}),i}(t),e(r.prototype,{drawTracker:n.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),f(r,"afterTranslate",function(){this.applyJitter()}),i.registerSeriesType("scatter",r),r}),i(t,"Mixins/CenteredSeries.js",[t["Core/Globals.js"],t["Core/Series/Series.js"],t["Core/Utilities.js"]],function(n,t,i){var u=i.isNumber,r=i.pick,e=i.relativeLength,f=n.deg2rad;return n.CenteredSeriesMixin={getCenter:function(){var n=this.options,f=this.chart,s=2*(n.slicedOffset||0),h=f.plotWidth-2*s,c=f.plotHeight-2*s,i=n.center,l=Math.min(h,c),u=n.size,o=n.innerSize||0;for("string"==typeof u&&(u=parseFloat(u)),"string"==typeof o&&(o=parseFloat(o)),n=[r(i[0],"50%"),r(i[1],"50%"),r(u&&0>u?void 0:n.size,"100%"),r(o&&0>o?void 0:n.innerSize||0,"0%")],!f.angular||this instanceof t||(n[3]=0),i=0;4>i;++i)u=n[i],f=2>i||2===i&&/%$/.test(u),n[i]=e(u,[h,c,l,n[2]][i])+(f?s:0);return n[3]>n[2]&&(n[3]=n[2]),n},getStartAndEndRadians:function(n,t){return n=u(n)?n:0,t=u(t)&&t>n&&360>t-n?t:n+360,{start:f*(n+-90),end:f*(t+-90)}}}}),i(t,"Series/Pie/PiePoint.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/Series/Point.js"],t["Core/Utilities.js"]],function(n,t,i){var f=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),e=n.setAnimation,u=i.addEvent,o=i.defined;n=i.extend;var s=i.isNumber,r=i.pick,h=i.relativeLength;return i=function(n){function i(){var t=null!==n&&n.apply(this,arguments)||this;return t.labelDistance=void 0,t.options=void 0,t.series=void 0,t}return f(i,n),i.prototype.getConnectorPath=function(){var n=this.labelPosition,i=this.series.options.dataLabels,t=i.connectorShape,r=this.connectorShapes;return r[t]&&(t=r[t]),t.call(this,{x:n.final.x,y:n.final.y,alignment:n.alignment},n.connectorPosition,i)},i.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},i.prototype.haloPath=function(n){var t=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(t.x,t.y,t.r+n,t.r+n,{innerR:t.r-1,start:t.start,end:t.end})},i.prototype.init=function(){var n,i;return t.prototype.init.apply(this,arguments),n=this,n.name=r(n.name,"Slice"),i=function(t){n.slice("select"===t.type)},u(n,"select",i),u(n,"unselect",i),n},i.prototype.isValid=function(){return s(this.y)&&0<=this.y},i.prototype.setVisible=function(n,t){var i=this,u=i.series,f=u.chart,e=u.options.ignoreHiddenPoint;t=r(t,e);n!==i.visible&&(i.visible=i.options.visible=n="undefined"==typeof n?!i.visible:n,u.options.data[u.data.indexOf(i)]=i.options,["graphic","dataLabel","connector","shadowGroup"].forEach(function(t){i[t]&&i[t][n?"show":"hide"](n)}),i.legendItem&&f.legend.colorizeItem(i,n),n||"hover"!==i.state||i.setState(""),e&&(u.isDirty=!0),t&&f.redraw())},i.prototype.slice=function(n,t,i){var u=this.series;e(i,u.chart);r(t,!0);this.sliced=this.options.sliced=o(n)?n:!this.sliced;u.options.data[u.data.indexOf(this)]=this.options;this.graphic&&this.graphic.animate(this.getTranslate());this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},i}(t),n(i.prototype,{connectorShapes:{fixedOffset:function(n,t,i){var r=t.breakAt;return t=t.touchingSliceAt,[["M",n.x,n.y],i.softConnector?["C",n.x+("left"===n.alignment?-5:5),n.y,2*r.x-t.x,2*r.y-t.y,r.x,r.y]:["L",r.x,r.y],["L",t.x,t.y]]},straight:function(n,t){return t=t.touchingSliceAt,[["M",n.x,n.y],["L",t.x,t.y]]},crookedLine:function(n,t,i){var e;t=t.touchingSliceAt;var u=this.series,f=u.center[0],r=u.chart.plotWidth,o=u.chart.plotLeft;return u=n.alignment,e=this.shapeArgs.r,i=h(i.crookDistance,1),r="left"===u?f+e+(r+o-f-e)*(1-i):o+(f-e)*i,i=["L",r,n.y],f=!0,("left"===u?r>n.x||r<t.x:r<n.x||r>t.x)&&(f=!1),n=[["M",n.x,n.y]],f&&n.push(i),n.push(["L",t.x,t.y]),n}}}),i}),i(t,"Series/Pie/PieSeries.js",[t["Mixins/CenteredSeries.js"],t["Series/Column/ColumnSeries.js"],t["Core/Globals.js"],t["Mixins/LegendSymbol.js"],t["Core/Color/Palette.js"],t["Series/Pie/PiePoint.js"],t["Core/Series/Series.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Renderer/SVG/SVGRenderer.js"],t["Core/Utilities.js"]],function(n,t,i,r,u,f,e,o,s,h){var a=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),v=n.getStartAndEndRadians;i=i.noop;var y=h.clamp,p=h.extend,w=h.fireEvent,c=h.merge,l=h.pick,b=h.relativeLength;return h=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.center=void 0,t.data=void 0,t.maxLabelDistance=void 0,t.options=void 0,t.points=void 0,t}return a(t,n),t.prototype.animate=function(n){var t=this,r=t.points,i=t.startAngleRad;n||r.forEach(function(n){var u=n.graphic,r=n.shapeArgs;u&&r&&(u.attr({r:l(n.startR,t.center&&t.center[3]/2),start:i,end:i}),u.animate({r:r.r,start:r.start,end:r.end},t.options.animation))})},t.prototype.drawEmpty=function(){var r=this.startAngleRad,f=this.endAngleRad,n=this.options,t,i;0===this.total&&this.center?(t=this.center[0],i=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(t,i,this.center[1]/2,0,r,f).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:s.prototype.symbols.arc(t,i,this.center[2]/2,0,{start:r,end:f,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":n.borderWidth,fill:n.fillColor||"none",stroke:n.color||u.neutralColor20})):this.graph&&(this.graph=this.graph.destroy())},t.prototype.drawPoints=function(){var n=this.chart.renderer;this.points.forEach(function(t){t.graphic&&t.hasNewShapeType()&&(t.graphic=t.graphic.destroy());t.graphic||(t.graphic=n[t.shapeType](t.shapeArgs).add(t.series.group),t.delayedRendering=!0)})},t.prototype.generatePoints=function(){n.prototype.generatePoints.call(this);this.updateTotals()},t.prototype.getX=function(n,t,i){var r=this.center,u=this.radii?this.radii[i.index]||0:r[2]/2;return n=Math.asin(y((n-r[1])/(u+i.labelDistance),-1,1)),r[0]+(t?-1:1)*Math.cos(n)*(u+i.labelDistance)+(0<i.labelDistance?(t?-1:1)*this.options.dataLabels.padding:0)},t.prototype.hasData=function(){return!!this.processedXData.length},t.prototype.redrawPoints=function(){var n=this,i=n.chart,o=i.renderer,r,t,u,f,e=n.options.shadow;this.drawEmpty();!e||n.shadowGroup||i.styledMode||(n.shadowGroup=o.g("shadow").attr({zIndex:-1}).add(n.group));n.points.forEach(function(s){var l={},h;t=s.graphic;!s.isNull&&t?(h=void 0,f=s.shapeArgs,r=s.getTranslate(),i.styledMode||(h=s.shadowGroup,e&&!h&&(h=s.shadowGroup=o.g("shadow").add(n.shadowGroup)),h&&h.attr(r),u=n.pointAttribs(s,s.selected&&"select")),s.delayedRendering?(t.setRadialReference(n.center).attr(f).attr(r),i.styledMode||t.attr(u).attr({"stroke-linejoin":"round"}).shadow(e,h),s.delayedRendering=!1):(t.setRadialReference(n.center),i.styledMode||c(!0,l,u),c(!0,l,f,r),t.animate(l)),t.attr({visibility:s.visible?"inherit":"hidden"}),t.addClass(s.getClassName(),!0)):t&&(s.graphic=t.destroy())})},t.prototype.sortByAngle=function(n,t){n.sort(function(n,i){return"undefined"!=typeof n.angle&&(i.angle-n.angle)*t})},t.prototype.translate=function(n){var y,p,s,k,t,f,i,u,o;this.generatePoints();var h=0,r=this.options,c=r.slicedOffset,d=c+(r.borderWidth||0),e=v(r.startAngle,r.endAngle),a=this.startAngleRad=e.start;for(e=(this.endAngleRad=e.end)-a,y=this.points,p=r.dataLabels.distance,r=r.ignoreHiddenPoint,k=y.length,n||(this.center=n=this.getCenter()),s=0;s<k;s++)t=y[s],f=a+h*e,t.isValid()&&(!r||t.visible)&&(h+=t.percentage/100),i=a+h*e,u={x:n[0],y:n[1],r:n[2]/2,innerR:n[3]/2,start:Math.round(1e3*f)/1e3,end:Math.round(1e3*i)/1e3},t.shapeType="arc",t.shapeArgs=u,t.labelDistance=l(t.options.dataLabels&&t.options.dataLabels.distance,p),t.labelDistance=b(t.labelDistance,u.r),this.maxLabelDistance=Math.max(this.maxLabelDistance||0,t.labelDistance),i=(i+f)/2,i>1.5*Math.PI?i-=2*Math.PI:i<-Math.PI/2&&(i+=2*Math.PI),t.slicedTranslation={translateX:Math.round(Math.cos(i)*c),translateY:Math.round(Math.sin(i)*c)},u=Math.cos(i)*n[2]/2,o=Math.sin(i)*n[2]/2,t.tooltipPos=[n[0]+.7*u,n[1]+.7*o],t.half=i<-Math.PI/2||i>Math.PI/2?1:0,t.angle=i,f=Math.min(d,t.labelDistance/5),t.labelPosition={natural:{x:n[0]+u+Math.cos(i)*t.labelDistance,y:n[1]+o+Math.sin(i)*t.labelDistance},final:{},alignment:0>t.labelDistance?"center":t.half?"right":"left",connectorPosition:{breakAt:{x:n[0]+u+Math.cos(i)*f,y:n[1]+o+Math.sin(i)*f},touchingSliceAt:{x:n[0]+u,y:n[1]+o}}};w(this,"afterTranslate")},t.prototype.updateTotals=function(){for(var i=0,r=this.points,u=r.length,f=this.options.ignoreHiddenPoint,n,t=0;t<u;t++)n=r[t],n.isValid()&&(!f||n.visible)&&(i+=n.y);for(this.total=i,t=0;t<u;t++)n=r[t],n.percentage=0<i&&(n.visible||!f)?n.y/i*100:0,n.total=i},t.defaultOptions=c(e.defaultOptions,{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){if(!this.point.isNull)return 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:u.backgroundColor,borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}),t}(e),p(h.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawLegendSymbol:r.drawRectangle,drawTracker:t.prototype.drawTracker,getCenter:n.getCenter,getSymbol:i,isCartesian:!1,noSharedTooltip:!0,pointAttribs:t.prototype.pointAttribs,pointClass:f,requireSorting:!1,searchPoint:i,trackerGroups:["group","dataLabelsGroup"]}),o.registerSeriesType("pie",h),h}),i(t,"Core/Series/DataLabels.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Core/Color/Palette.js"],t["Core/Series/Series.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(n,t,i,r,u,f,e){var p=n.getDeferredAnimation,w=t.format;n=i.noop;f=f.seriesTypes;var b=e.arrayMax,l=e.clamp,s=e.defined,v=e.extend,y=e.fireEvent,h=e.isArray,c=e.merge,k=e.objectEach,o=e.pick,d=e.relativeLength,g=e.splat,a=e.stableSort;i.distribute=function(n,t,r){function h(n,t){return n.target-t.target}for(var e=!0,f=n,c=[],s=0,v=f.reducedLen||t,u=n.length;u--;)s+=n[u].size;if(s>v){for(a(n,function(n,t){return(t.rank||0)-(n.rank||0)}),s=u=0;s<=v;)s+=n[u].size,u++;c=n.splice(u-1,n.length)}for(a(n,h),n=n.map(function(n){return{size:n.size,targets:[n.target],align:o(n.align,.5)}});e;){for(u=n.length;u--;)e=n[u],s=(Math.min.apply(0,e.targets)+Math.max.apply(0,e.targets))/2,e.pos=l(s-e.size*e.align,0,t-e.size);for(u=n.length,e=!1;u--;)0<u&&n[u-1].pos+n[u-1].size>n[u].pos&&(n[u-1].size+=n[u].size,n[u-1].targets=n[u-1].targets.concat(n[u].targets),n[u-1].align=.5,n[u-1].pos+n[u-1].size>t&&(n[u-1].pos=t-n[u-1].size),n.splice(u,1),e=!0)}f.push.apply(f,c);u=0;n.some(function(n){var e=0;if(n.targets.some(function(){if(f[u].pos=n.pos+e,"undefined"!=typeof r&&Math.abs(f[u].pos-f[u].target)>r)return f.slice(0,u+1).forEach(function(n){delete n.pos}),f.reducedLen=(f.reducedLen||t)-.1*t,f.reducedLen>.1*t&&i.distribute(f,t,r),!0;e+=f[u].size;u++}))return!0});a(f,h)};u.prototype.drawDataLabels=function(){function d(n,t){var i=t.filter;return i?(t=i.operator,n=n[i.property],i=i.value,">"===t&&n>i||"<"===t&&n<i||">="===t&&n>=i||"<="===t&&n<=i||"=="===t&&n==i||"==="===t&&n===i?!0:!1):!0}function a(n,t){var i=[],r;if(h(n)&&!h(t))i=n.map(function(n){return c(n,t)});else if(h(t)&&!h(n))i=t.map(function(t){return c(n,t)});else if(h(n)||h(t))for(r=Math.max(n.length,t.length);r--;)i[r]=c(n[r],t[r]);else i=c(n,t);return i}var n=this,t=n.chart,u=n.options,i=u.dataLabels,nt=n.points,b,f=n.hasRendered||0,v=i.animation,e,l;v=i.defer?p(t,v,n):{defer:0,duration:0};e=t.renderer;i=a(a(t.options.plotOptions&&t.options.plotOptions.series&&t.options.plotOptions.series.dataLabels,t.options.plotOptions&&t.options.plotOptions[n.type]&&t.options.plotOptions[n.type].dataLabels),i);y(this,"drawDataLabels");(h(i)||i.enabled||n._hasPointLabels)&&(l=n.plotGroup("dataLabelsGroup","data-labels",f?"inherit":"hidden",i.zIndex||6),l.attr({opacity:+f}),!f&&(f=n.dataLabelsGroup)&&(n.visible&&l.show(!0),f[u.animation?"animate":"attr"]({opacity:1},v)),nt.forEach(function(f){b=g(a(i,f.dlOptions||f.options&&f.options.dataLabels));b.forEach(function(i,h){var p=i.enabled&&(!f.isNull||f.dataLabelOnNull)&&d(f,i),c=f.dataLabels?f.dataLabels[h]:f.dataLabel,nt=f.connectors?f.connectors[h]:f.connector,g=o(i.distance,f.labelDistance),tt=!c,v,a,b,y;p&&(v=f.getLabelConfig(),a=o(i[f.formatPrefix+"Format"],i.format),v=s(a)?w(a,v,t):(i[f.formatPrefix+"Formatter"]||i.formatter).call(v,i),a=i.style,b=i.rotation,t.styledMode||(a.color=o(i.color,a.color,n.color,r.neutralColor100),"contrast"===a.color?(f.contrastColor=e.getContrast(f.color||n.color),a.color=!s(g)&&i.inside||0>g||u.stacking?f.contrastColor:r.neutralColor100):delete f.contrastColor,u.cursor&&(a.cursor=u.cursor)),y={r:i.borderRadius||0,rotation:b,padding:i.padding,zIndex:1},t.styledMode||(y.fill=i.backgroundColor,y.stroke=i.borderColor,y["stroke-width"]=i.borderWidth),k(y,function(n,t){"undefined"==typeof n&&delete y[t]}));!c||p&&s(v)?p&&s(v)&&(c?y.text=v:(f.dataLabels=f.dataLabels||[],c=f.dataLabels[h]=b?e.text(v,0,-9999,i.useHTML).addClass("highcharts-data-label"):e.label(v,0,-9999,i.shape,null,null,i.useHTML,null,"data-label"),h||(f.dataLabel=c),c.addClass(" highcharts-data-label-color-"+f.colorIndex+" "+(i.className||"")+(i.useHTML?" highcharts-tracker":""))),c.options=i,c.attr(y),t.styledMode||c.css(a).shadow(i.shadow),c.added||c.add(l),i.textPath&&!i.useHTML&&(c.setTextPath(f.getDataLabelPath&&f.getDataLabelPath(c)||f.graphic,i.textPath),f.dataLabelPath&&!i.textPath.enabled&&(f.dataLabelPath=f.dataLabelPath.destroy())),n.alignDataLabel(f,c,i,null,tt)):(f.dataLabel=f.dataLabel&&f.dataLabel.destroy(),f.dataLabels&&(1===f.dataLabels.length?delete f.dataLabels:delete f.dataLabels[h]),h||delete f.dataLabel,nt&&(f.connector=f.connector.destroy(),f.connectors&&(1===f.connectors.length?delete f.connectors:delete f.connectors[h])))})}));y(this,"afterDrawDataLabels")};u.prototype.alignDataLabel=function(n,t,i,r,u){var l=this,e=this.chart,c=this.isCartesian&&e.inverted,a=this.enabledDataSorting,f=o(n.dlBox&&n.dlBox.centerX,n.plotX,-9999),b=o(n.plotY,-9999),s=t.getBBox(),p=i.rotation,w=i.align,d=e.isInsidePlot(f,Math.round(b),{inverted:c,paneCoordinates:!0,series:l}),y="justify"===o(i.overflow,a?"none":"justify"),k=this.visible&&!1!==n.visible&&(n.series.forceDL||a&&!y||d||o(i.inside,!!this.options.stacking)&&r&&e.isInsidePlot(f,c?r.x+1:r.y+r.height-1,{inverted:c,paneCoordinates:!0,series:l})),h=function(i){a&&l.xAxis&&!y&&l.setDataLabelStartPos(n,t,u,d,i)},g;k&&(g=e.renderer.fontMetrics(e.styledMode?void 0:i.style.fontSize,t).b,r=v({x:c?this.yAxis.len-b:f,y:Math.round(c?this.xAxis.len-f:b),width:0,height:0},r),v(i,{width:s.width,height:s.height}),p?(y=!1,f=e.renderer.rotCorr(g,p),f={x:r.x+(i.x||0)+r.width/2+f.x,y:r.y+(i.y||0)+{top:0,middle:.5,bottom:1}[i.verticalAlign]*r.height},h(f),t[u?"attr":"animate"](f).attr({align:w}),h=(p+720)%360,h=180<h&&360>h,"left"===w?f.y-=h?s.height:0:"center"===w?(f.x-=s.width/2,f.y-=s.height/2):"right"===w&&(f.x-=s.width,f.y-=h?0:s.height),t.placed=!0,t.alignAttr=f):(h(r),t.align(i,void 0,r),f=t.alignAttr),y&&0<=r.height?this.justifyDataLabel(t,i,f,s,r,u):o(i.crop,!0)&&(k=e.isInsidePlot(f.x,f.y,{paneCoordinates:!0,series:l})&&e.isInsidePlot(f.x+s.width,f.y+s.height,{paneCoordinates:!0,series:l})),i.shape&&!p&&t[u?"attr":"animate"]({anchorX:c?e.plotWidth-n.plotY:n.plotX,anchorY:c?e.plotHeight-n.plotX:n.plotY}));u&&a&&(t.placed=!1);k||a&&!y||(t.hide(!0),t.placed=!1)};u.prototype.setDataLabelStartPos=function(n,t,i,r,u){var s=this.chart,o=s.inverted,f=this.xAxis,h=f.reversed,e=o?t.height/2:t.width/2;n=(n=n.pointWidth)?n/2:0;f=o?u.x:h?-e-n:f.width-e+n;u=o?h?this.yAxis.height-e+n:-e-n:u.y;t.startXPos=f;t.startYPos=u;r?"hidden"===t.visibility&&(t.show(),t.attr({opacity:0}).animate({opacity:1})):t.attr({opacity:1}).animate({opacity:0},void 0,t.hide);s.hasRendered&&(i&&t.attr({x:t.startXPos,y:t.startYPos}),t.placed=!0)};u.prototype.justifyDataLabel=function(n,t,i,r,u,f){var c=this.chart,a=t.align,v=t.verticalAlign,l=n.box?0:n.padding||0,o=t.x,e,s,h;return o=void 0===o?0:o,e=t.y,s=void 0===e?0:e,e=(i.x||0)+l,0>e&&("right"===a&&0<=o?(t.align="left",t.inside=!0):o-=e,h=!0),e=(i.x||0)+r.width-l,e>c.plotWidth&&("left"===a&&0>=o?(t.align="right",t.inside=!0):o+=c.plotWidth-e,h=!0),e=i.y+l,0>e&&("bottom"===v&&0<=s?(t.verticalAlign="top",t.inside=!0):s-=e,h=!0),e=(i.y||0)+r.height-l,e>c.plotHeight&&("top"===v&&0>=s?(t.verticalAlign="bottom",t.inside=!0):s+=c.plotHeight-e,h=!0),h&&(t.x=o,t.y=s,n.placed=!f,n.align(t,void 0,u)),h};f.pie&&(f.pie.prototype.dataLabelPositioners={radialDistributionY:function(n){return n.top+n.distributeBox.pos},radialDistributionX:function(n,t,i,r){return n.getX(i<t.top+2||i>t.bottom-2?r:i,t.half,t)},justify:function(n,t,i){return i[0]+(n.half?-1:1)*(t+n.labelDistance)},alignToPlotEdges:function(n,t,i,r){return n=n.getBBox().width,t?n+r:i-n-r},alignToConnectors:function(n,t,i,r){var u=0,f;return n.forEach(function(n){f=n.dataLabel.getBBox().width;f>u&&(u=f)}),t?u+r:i-u-r}},f.pie.prototype.drawDataLabels=function(){var n=this,ot=n.data,t,v=n.chart,h=n.options.dataLabels||{},p=h.connectorPadding,st,rt=v.plotWidth,ht=v.plotHeight,ct=v.plotLeft,lt=Math.round(v.chartWidth/3),y,et=n.center,d=et[2]/2,ut=et[1],l,g,w,nt,at=[[],[]],f,a,tt,ft,e=[0,0,0,0],it=n.dataLabelPositioners,k;n.visible&&(h.enabled||n._hasPointLabels)&&(ot.forEach(function(n){n.dataLabel&&n.visible&&n.dataLabel.shortened&&(n.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),n.dataLabel.shortened=!1)}),u.prototype.drawDataLabels.apply(n),ot.forEach(function(n){n.dataLabel&&(n.visible?(at[n.half].push(n),n.dataLabel._pos=null,!s(h.style.width)&&!s(n.options.dataLabels&&n.options.dataLabels.style&&n.options.dataLabels.style.width)&&n.dataLabel.getBBox().width>lt&&(n.dataLabel.css({width:Math.round(.7*lt)+"px"}),n.dataLabel.shortened=!0)):(n.dataLabel=n.dataLabel.destroy(),n.dataLabels&&1===n.dataLabels.length&&delete n.dataLabels))}),at.forEach(function(r,u){var ot=r.length,b=[],y,c,st;if(ot)for(n.sortByAngle(r,u-.5),0<n.maxLabelDistance&&(c=Math.max(0,ut-d-n.maxLabelDistance),st=Math.min(ut+d+n.maxLabelDistance,v.plotHeight),r.forEach(function(n){0<n.labelDistance&&n.dataLabel&&(n.top=Math.max(0,ut-d-n.labelDistance),n.bottom=Math.min(ut+d+n.labelDistance,v.plotHeight),y=n.dataLabel.getBBox().height||21,n.distributeBox={target:n.labelPosition.natural.y-n.top+y/2,size:y,rank:n.y},b.push(n.distributeBox))}),c=st+y-c,i.distribute(b,c,c/5)),ft=0;ft<ot;ft++){if(t=r[ft],w=t.labelPosition,l=t.dataLabel,tt=!1===t.visible?"hidden":"inherit",a=c=w.natural.y,b&&s(t.distributeBox)&&("undefined"==typeof t.distributeBox.pos?tt="hidden":(nt=t.distributeBox.size,a=it.radialDistributionY(t))),delete t.positionIndex,h.justify)f=it.justify(t,d,et);else switch(h.alignTo){case"connectors":f=it.alignToConnectors(r,u,rt,ct);break;case"plotEdges":f=it.alignToPlotEdges(l,u,rt,ct);break;default:f=it.radialDistributionX(n,t,a,c)}l._attr={visibility:tt,align:w.alignment};k=t.options.dataLabels||{};l._pos={x:f+o(k.x,h.x)+({left:p,right:-p}[w.alignment]||0),y:a+o(k.y,h.y)-10};w.final.x=f;w.final.y=a;o(h.crop,!0)&&(g=l.getBBox().width,c=null,f-g<p&&1===u?(c=Math.round(g-f+p),e[3]=Math.max(c,e[3])):f+g>rt-p&&0===u&&(c=Math.round(f+g-rt+p),e[1]=Math.max(c,e[1])),0>a-nt/2?e[0]=Math.max(Math.round(-a+nt/2),e[0]):a+nt/2>ht&&(e[2]=Math.max(Math.round(a+nt/2-ht),e[2])),l.sideOverflow=c)}}),0===b(e)||this.verifyDataLabelOverflow(e))&&(this.placeDataLabels(),this.points.forEach(function(t){if(k=c(h,t.options.dataLabels),st=o(k.connectorWidth,1)){var i;y=t.connector;(l=t.dataLabel)&&l._pos&&t.visible&&0<t.labelDistance?(tt=l._attr.visibility,(i=!y)&&(t.connector=y=v.renderer.path().addClass("highcharts-data-label-connector  highcharts-color-"+t.colorIndex+(t.className?" "+t.className:"")).add(n.dataLabelsGroup),v.styledMode||y.attr({"stroke-width":st,stroke:k.connectorColor||t.color||r.neutralColor60})),y[i?"attr":"animate"]({d:t.getConnectorPath()}),y.attr("visibility",tt)):y&&(t.connector=y.destroy())}}))},f.pie.prototype.placeDataLabels=function(){this.points.forEach(function(n){var t=n.dataLabel,i;t&&n.visible&&((i=t._pos)?(t.sideOverflow&&(t._attr.width=Math.max(t.getBBox().width-t.sideOverflow,0),t.css({width:t._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),t.shortened=!0),t.attr(t._attr),t[t.moved?"animate":"attr"](i),t.moved=!0):t&&t.attr({y:-9999}));delete n.distributeBox},this)},f.pie.prototype.alignDataLabel=n,f.pie.prototype.verifyDataLabelOverflow=function(n){var t=this.center,r=this.options,e=r.center,u=r.minSize||80,f=null!==r.size,i;return f||(null!==e[0]?i=Math.max(t[2]-Math.max(n[1],n[3]),u):(i=Math.max(t[2]-n[1]-n[3],u),t[0]+=(n[3]-n[1])/2),null!==e[1]?i=l(i,u,t[2]-Math.max(n[0],n[2])):(i=l(i,u,t[2]-n[0]-n[2]),t[1]+=(n[0]-n[2])/2),i<t[2]?(t[2]=i,t[3]=Math.min(d(r.innerSize||0,i),i),this.translate(t),this.drawDataLabels&&this.drawDataLabels()):f=!0),f});f.column&&(f.column.prototype.alignDataLabel=function(n,t,i,r,f){var s=this.chart.inverted,h=n.series,e=n.dlBox||n.shapeArgs,l=o(n.below,n.plotY>o(this.translatedThreshold,h.yAxis.len)),a=o(i.inside,!!this.options.stacking);e&&(r=c(e),0>r.y&&(r.height+=r.y,r.y=0),e=r.y+r.height-h.yAxis.len,0<e&&e<r.height&&(r.height-=e),s&&(r={x:h.yAxis.len-r.y-r.height,y:h.xAxis.len-r.x-r.width,width:r.height,height:r.width}),a||(s?(r.x+=l?0:r.width,r.width=0):(r.y+=l?r.height:0,r.height=0)));i.align=o(i.align,!s||a?"center":l?"right":"left");i.verticalAlign=o(i.verticalAlign,s||a?"middle":l?"top":"bottom");u.prototype.alignDataLabel.call(this,n,t,i,r,f);i.inside&&n.contrastColor&&t.css({color:n.contrastColor})})}),i(t,"Extensions/OverlappingDataLabels.js",[t["Core/Chart/Chart.js"],t["Core/Utilities.js"]],function(n,t){function i(n,t){var u=!1,i;return n&&(i=n.newOpacity,n.oldOpacity!==i&&(n.alignAttr&&n.placed?(n[i?"removeClass":"addClass"]("highcharts-data-label-hidden"),u=!0,n.alignAttr.opacity=i,n[n.isOld?"animate":"attr"](n.alignAttr,null,function(){t.styledMode||n.css({pointerEvents:i?"auto":"none"});n.visibility=i?"inherit":"hidden"}),r(t,"afterHideOverlappingLabel")):n.attr({opacity:i})),n.isOld=!0),u}var f=t.addEvent,r=t.fireEvent,e=t.isArray,o=t.isNumber,u=t.objectEach,s=t.pick;f(n,"render",function(){var t=this,n=[];(this.labelCollectors||[]).forEach(function(t){n=n.concat(t())});(this.yAxis||[]).forEach(function(t){t.stacking&&t.options.stackLabels&&!t.options.stackLabels.allowOverlap&&u(t.stacking.stacks,function(t){u(t,function(t){n.push(t.label)})})});(this.series||[]).forEach(function(r){var u=r.options.dataLabels;r.visible&&(!1!==u.enabled||r._hasPointLabels)&&(u=function(r){return r.forEach(function(r){r.visible&&(e(r.dataLabels)?r.dataLabels:r.dataLabel?[r.dataLabel]:[]).forEach(function(u){var f=u.options;u.labelrank=s(f.labelrank,r.labelrank,r.shapeArgs&&r.shapeArgs.height);f.allowOverlap?(u.oldOpacity=u.opacity,u.newOpacity=1,i(u,t)):n.push(u)})})},u(r.nodes||[]),u(r.points))});this.hideOverlappingLabels(n)});n.prototype.hideOverlappingLabels=function(n){for(var c=this,l=n.length,v=c.renderer,t,h,a=!1,s=function(n){var t,i=n.box?0:n.padding||0,r=t=0,e,u,f,s;if(n&&(!n.alignAttr||n.placed))return u=n.alignAttr||{x:n.attr("x"),y:n.attr("y")},f=n.parentGroup,n.width||(t=n.getBBox(),n.width=t.width,n.height=t.height,t=v.fontMetrics(null,n.element).h),s=n.width-2*i,(e={left:"0",center:"0.5",right:"1"}[n.alignValue])?r=+e*s:o(n.x)&&Math.round(n.x)!==n.translateX&&(r=n.x-n.translateX),{x:u.x+(f.translateX||0)+i-(r||0),y:u.y+(f.translateY||0)+i-t,width:n.width-2*i,height:n.height-2*i}},f,e,u=0;u<l;u++)(t=n[u])&&(t.oldOpacity=t.opacity,t.newOpacity=1,t.absoluteBox=s(t));for(n.sort(function(n,t){return(t.labelrank||0)-(n.labelrank||0)}),u=0;u<l;u++)for(f=(s=n[u])&&s.absoluteBox,t=u+1;t<l;++t)e=(h=n[t])&&h.absoluteBox,!f||!e||s===h||0===s.newOpacity||0===h.newOpacity||e.x>=f.x+f.width||e.x+e.width<=f.x||e.y>=f.y+f.height||e.y+e.height<=f.y||((s.labelrank<h.labelrank?s:h).newOpacity=0);n.forEach(function(n){i(n,c)&&(a=!0)});a&&r(c,"afterHideAllOverlappingLabels")}}),i(t,"Core/Responsive.js",[t["Core/Chart/Chart.js"],t["Core/Utilities.js"]],function(n,t){var r=t.find,u=t.isArray,f=t.isObject,e=t.merge,o=t.objectEach,i=t.pick,s=t.splat,h=t.uniqueKey;n.prototype.setResponsive=function(n,t){var f=this.options.responsive,i=[],u=this.currentResponsive;!t&&f&&f.rules&&f.rules.forEach(function(n){"undefined"==typeof n._id&&(n._id=h());this.matchResponsiveRule(n,i)},this);t=e.apply(0,i.map(function(n){return r(f.rules,function(t){return t._id===n}).chartOptions}));t.isResponsiveOptions=!0;i=i.toString()||void 0;i!==(u&&u.ruleIds)&&(u&&this.update(u.undoOptions,n,!0),i?(u=this.currentOptions(t),u.isResponsiveOptions=!0,this.currentResponsive={ruleIds:i,mergedOptions:t,undoOptions:u},this.update(t,n,!0)):this.currentResponsive=void 0)};n.prototype.matchResponsiveRule=function(n,t){var r=n.condition;(r.callback||function(){return this.chartWidth<=i(r.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=i(r.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=i(r.minWidth,0)&&this.chartHeight>=i(r.minHeight,0)}).call(this)&&t.push(n._id)};n.prototype.currentOptions=function(n){function t(n,i,e,h){var c;o(n,function(n,o){if(!h&&-1<r.collectionsWithUpdate.indexOf(o)&&i[o])for(n=s(n),e[o]=[],c=0;c<Math.max(n.length,i[o].length);c++)i[o][c]&&(void 0===n[c]?e[o][c]=i[o][c]:(e[o][c]={},t(n[c],i[o][c],e[o][c],h+1)));else f(n)?(e[o]=u(n)?[]:{},t(n,i[o]||{},e[o],h+1)):e[o]="undefined"==typeof i[o]?null:i[o]})}var r=this,i={};return t(n,this.options,i,0),i}}),i(t,"masters/highcharts.src.js",[t["Core/Globals.js"],t["Core/Utilities.js"],t["Core/Options.js"],t["Core/Animation/Fx.js"],t["Core/Animation/AnimationUtilities.js"],t["Core/Renderer/HTML/AST.js"],t["Core/FormatUtilities.js"],t["Core/Renderer/SVG/SVGElement.js"],t["Core/Series/Series.js"]],function(n,t,i,r,u,f,e,o,s){return n.animate=u.animate,n.animObject=u.animObject,n.getDeferredAnimation=u.getDeferredAnimation,n.setAnimation=u.setAnimation,n.stop=u.stop,n.timers=r.timers,n.AST=f,n.Fx=r,n.Series=s,n.SVGElement=o,n.dateFormat=e.dateFormat,n.format=e.format,n.numberFormat=e.numberFormat,n.defaultOptions=i.defaultOptions,n.getOptions=i.getOptions,n.time=i.defaultTime,n.setOptions=i.setOptions,n.addEvent=t.addEvent,n.arrayMax=t.arrayMax,n.arrayMin=t.arrayMin,n.attr=t.attr,n.clearTimeout=t.clearTimeout,n.correctFloat=t.correctFloat,n.createElement=t.createElement,n.css=t.css,n.defined=t.defined,n.destroyObjectProperties=t.destroyObjectProperties,n.discardElement=t.discardElement,n.erase=t.erase,n.error=t.error,n.extend=t.extend,n.extendClass=t.extendClass,n.find=t.find,n.fireEvent=t.fireEvent,n.getMagnitude=t.getMagnitude,n.getStyle=t.getStyle,n.inArray=t.inArray,n.isArray=t.isArray,n.isClass=t.isClass,n.isDOMElement=t.isDOMElement,n.isFunction=t.isFunction,n.isNumber=t.isNumber,n.isObject=t.isObject,n.isString=t.isString,n.keys=t.keys,n.merge=t.merge,n.normalizeTickInterval=t.normalizeTickInterval,n.objectEach=t.objectEach,n.offset=t.offset,n.pad=t.pad,n.pick=t.pick,n.pInt=t.pInt,n.relativeLength=t.relativeLength,n.removeEvent=t.removeEvent,n.splat=t.splat,n.stableSort=t.stableSort,n.syncTimeout=t.syncTimeout,n.timeUnits=t.timeUnits,n.uniqueKey=t.uniqueKey,n.useSerialIds=t.useSerialIds,n.wrap=t.wrap,n}),i(t,"Core/Axis/MapAxis.js",[t["Core/Axis/Axis.js"],t["Core/Utilities.js"]],function(n,t){var i=t.addEvent,r=t.pick,u=function(){return function(n){this.axis=n}}();return t=function(){function n(){}return n.compose=function(n){n.keepProps.push("mapAxis");i(n,"init",function(){this.mapAxis||(this.mapAxis=new u(this))});i(n,"getSeriesExtremes",function(){if(this.mapAxis){var n=[];this.isXAxis&&(this.series.forEach(function(t,i){t.useMapGeometry&&(n[i]=t.xData,t.xData=[])}),this.mapAxis.seriesXData=n)}});i(n,"afterGetSeriesExtremes",function(){var i,u,n,t;this.mapAxis&&(i=this.mapAxis.seriesXData||[],this.isXAxis&&(n=r(this.dataMin,Number.MAX_VALUE),t=r(this.dataMax,-Number.MAX_VALUE),this.series.forEach(function(f,e){f.useMapGeometry&&(n=Math.min(n,r(f.minX,n)),t=Math.max(t,r(f.maxX,t)),f.xData=i[e],u=!0)}),u&&(this.dataMin=n,this.dataMax=t),this.mapAxis.seriesXData=void 0))});i(n,"afterSetAxisTranslation",function(){var n,t,i;this.mapAxis&&(n=this.chart,t=n.plotWidth/n.plotHeight,n=n.xAxis[0],"yAxis"===this.coll&&"undefined"!=typeof n.transA&&this.series.forEach(function(n){n.preserveAspectRatio&&(i=!0)}),i&&(this.transA=n.transA=Math.min(this.transA,n.transA),t/=(n.max-n.min)/(this.max-this.min),t=1>t?this:n,n=(t.max-t.min)*t.transA,t.mapAxis.pixelPadding=t.len-n,t.minPixelPadding=t.mapAxis.pixelPadding/2,n=t.mapAxis.fixTo)&&(n=n[1]-t.toValue(n[0],!0),n*=t.transA,(Math.abs(n)>t.minPixelPadding||t.min===t.dataMin&&t.max===t.dataMax)&&(n=0),t.minPixelPadding-=n))});i(n,"render",function(){this.mapAxis&&(this.mapAxis.fixTo=void 0)})},n}(),t.compose(n),t}),i(t,"Mixins/ColorSeries.js",[],function(){return{colorPointMixin:{setVisible:function(n){var t=this,i=n?"show":"hide";t.visible=t.options.visible=!!n;["graphic","dataLabel"].forEach(function(n){t[n]&&t[n][i]()});this.series.buildKDTree()}},colorSeriesMixin:{optionalAxis:"colorAxis",colorAxis:0,translateColors:function(){var n=this,i=this.options.nullColor,t=this.colorAxis,r=this.colorKey;(this.data.length?this.data:this.points).forEach(function(u){var f=u.getNestedProperty(r);(f=u.options.color||(u.isNull||null===u.value?i:t&&"undefined"!=typeof f?t.toColor(f,u):u.color||n.color))&&u.color!==f&&(u.color=f,"point"===n.options.legendType&&u.legendItem&&n.chart.legend.colorizeItem(u,u.visible))})}}}}),i(t,"Core/Axis/ColorAxis.js",[t["Core/Axis/Axis.js"],t["Core/Chart/Chart.js"],t["Core/Color/Color.js"],t["Mixins/ColorSeries.js"],t["Core/Animation/Fx.js"],t["Core/Globals.js"],t["Core/Legend.js"],t["Mixins/LegendSymbol.js"],t["Core/Color/Palette.js"],t["Core/Series/Point.js"],t["Core/Series/Series.js"],t["Core/Utilities.js"]],function(n,t,i,r,u,f,e,o,s,h,c,l){var k=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),y=i.parse,p;i=r.colorPointMixin;r=r.colorSeriesMixin;var d=f.noop,a=l.addEvent,w=l.extend,g=l.isNumber,b=l.merge,v=l.pick,nt=l.splat;return w(c.prototype,r),w(h.prototype,i),t.prototype.collectionsWithUpdate.push("colorAxis"),t.prototype.collectionsWithInit.colorAxis=[t.prototype.addColorAxis],p=function(n){function t(t,i){var r=n.call(this,t,i)||this;return r.beforePadding=!1,r.chart=void 0,r.coll="colorAxis",r.dataClasses=void 0,r.legendItem=void 0,r.legendItems=void 0,r.name="",r.options=void 0,r.stops=void 0,r.visible=!0,r.init(t,i),r}return k(t,n),t.prototype.init=function(i,r){var u=i.options.legend||{},f=r.layout?"vertical"!==r.layout:"vertical"!==u.layout;u=b(t.defaultColorAxisOptions,r,{showEmpty:!1,title:null,visible:u.enabled&&(r?!1!==r.visible:!0)});this.coll="colorAxis";this.side=r.side||f?2:1;this.reversed=r.reversed||!f;this.opposite=!f;n.prototype.init.call(this,i,u);r.dataClasses&&this.initDataClasses(r);this.initStops();this.horiz=f;this.zoomEnabled=!1},t.prototype.initDataClasses=function(n){var i=this.chart,u,t=0,f=i.options.chart.colorCount,r=this.options,e=n.dataClasses.length;this.dataClasses=u=[];this.legendItems=[];n.dataClasses.forEach(function(n,o){n=b(n);u.push(n);(i.styledMode||!n.color)&&("category"===r.dataClassColor?(i.styledMode||(o=i.options.colors,f=o.length,n.color=o[t]),n.colorIndex=t,t++,t===f&&(t=0)):n.color=y(r.minColor).tweenTo(y(r.maxColor),2>e?.5:o/(e-1)))})},t.prototype.hasData=function(){return!!(this.tickPositions||[]).length},t.prototype.setTickPositions=function(){if(!this.dataClasses)return n.prototype.setTickPositions.call(this)},t.prototype.initStops=function(){this.stops=this.options.stops||[[0,this.options.minColor],[1,this.options.maxColor]];this.stops.forEach(function(n){n.color=y(n[1])})},t.prototype.setOptions=function(t){n.prototype.setOptions.call(this,t);this.options.crosshair=this.options.marker},t.prototype.setAxisSize=function(){var n=this.legendSymbol,r=this.chart,i=r.options.legend||{},u,f;n?(this.left=i=n.attr("x"),this.top=u=n.attr("y"),this.width=f=n.attr("width"),this.height=n=n.attr("height"),this.right=r.chartWidth-i-f,this.bottom=r.chartHeight-u-n,this.len=this.horiz?f:n,this.pos=this.horiz?i:u):this.len=(this.horiz?i.symbolWidth:i.symbolHeight)||t.defaultLegendLength},t.prototype.normalizedValue=function(n){return this.logarithmic&&(n=this.logarithmic.log2lin(n)),1-(this.max-n)/(this.max-this.min||1)},t.prototype.toColor=function(n,t){var e=this.dataClasses,i=this.stops,r,f,u,o;if(e){for(r=e.length;r--;)if(f=e[r],u=f.from,i=f.to,("undefined"==typeof u||n>=u)&&("undefined"==typeof i||n<=i)){o=f.color;t&&(t.dataClass=r,t.colorIndex=f.colorIndex);break}}else{for(n=this.normalizedValue(n),r=i.length;r--&&!(n>i[r][0]););u=i[r]||i[r+1];i=i[r+1]||u;n=1-(i[0]-n)/(i[0]-u[0]||1);o=u.color.tweenTo(i.color,n)}return o},t.prototype.getOffset=function(){var t=this.legendGroup,i=this.chart.axisOffset[this.side];t&&(this.axisParent=t,n.prototype.getOffset.call(this),this.added||(this.added=!0,this.labelLeft=0,this.labelRight=this.width),this.chart.axisOffset[this.side]=i)},t.prototype.setLegendColor=function(){var t=this.reversed,n=t?1:0;t=t?0:1;n=this.horiz?[n,0,t,0]:[0,t,0,n];this.legendColor={linearGradient:{x1:n[0],y1:n[1],x2:n[2],y2:n[3]},stops:this.stops}},t.prototype.drawLegendSymbol=function(n,i){var f=n.padding,r=n.options,u=this.horiz,e=v(r.symbolWidth,u?t.defaultLegendLength:12),o=v(r.symbolHeight,u?12:t.defaultLegendLength),s=v(r.labelPadding,u?16:30);r=v(r.itemDistance,10);this.setLegendColor();i.legendSymbol=this.chart.renderer.rect(0,n.baseline-11,e,o).attr({zIndex:1}).add(i.legendGroup);this.legendItemWidth=e+f+(u?r:s);this.legendItemHeight=o+f+(u?s:0)},t.prototype.setState=function(n){this.series.forEach(function(t){t.setState(n)})},t.prototype.setVisible=function(){},t.prototype.getSeriesExtremes=function(){var e=this.series,o=e.length,r,t,f;for(this.dataMin=Infinity,this.dataMax=-Infinity;o--;){var n=e[o],i=n.colorKey=v(n.options.colorKey,n.colorKey,n.pointValKey,n.zoneAxis,"y"),u=n.pointArrayMap,s=n[i+"Min"]&&n[i+"Max"];if(n[i+"Data"])t=n[i+"Data"];else if(u){if(t=[],u=u.indexOf(i),f=n.yData,0<=u&&f)for(r=0;r<f.length;r++)t.push(v(f[r][u],f[r]))}else t=n.yData;s?(n.minColorValue=n[i+"Min"],n.maxColorValue=n[i+"Max"]):(t=c.prototype.getExtremes.call(n,t),n.minColorValue=t.dataMin,n.maxColorValue=t.dataMax);"undefined"!=typeof n.minColorValue&&(this.dataMin=Math.min(this.dataMin,n.minColorValue),this.dataMax=Math.max(this.dataMax,n.maxColorValue));s||c.prototype.applyExtremes.call(n)}},t.prototype.drawCrosshair=function(t,i){var e=i&&i.plotX,o=i&&i.plotY,u=this.pos,f=this.len,r;i&&(r=this.toPixels(i.getNestedProperty(i.series.colorKey)),r<u?r=u-2:r>u+f&&(r=u+f+2),i.plotX=r,i.plotY=this.len-r,n.prototype.drawCrosshair.call(this,t,i),i.plotX=e,i.plotY=o,this.cross&&!this.cross.addedToColorAxis&&this.legendGroup&&(this.cross.addClass("highcharts-coloraxis-marker").add(this.legendGroup),this.cross.addedToColorAxis=!0,this.chart.styledMode||"object"!=typeof this.crosshair||this.cross.attr({fill:this.crosshair.color})))},t.prototype.getPlotLinePath=function(t){var r=this.left,i=t.translatedValue,u=this.top;return g(i)?this.horiz?[["M",i-4,u-6],["L",i+4,u-6],["L",i,u],["Z"]]:[["M",r,i],["L",r-6,i+6],["L",r-6,i-6],["Z"]]:n.prototype.getPlotLinePath.call(this,t)},t.prototype.update=function(t,i){var r=this.chart.legend;this.series.forEach(function(n){n.isDirtyData=!0});(t.dataClasses&&r.allItems||this.dataClasses)&&this.destroyItems();n.prototype.update.call(this,t,i);this.legendItem&&(this.setLegendColor(),r.colorizeItem(this,!0))},t.prototype.destroyItems=function(){var n=this.chart;this.legendItem?n.legend.destroyItem(this):this.legendItems&&this.legendItems.forEach(function(t){n.legend.destroyItem(t)});n.isDirtyLegend=!0},t.prototype.destroy=function(){this.chart.isDirtyLegend=!0;this.destroyItems();n.prototype.destroy.apply(this,[].slice.call(arguments))},t.prototype.remove=function(t){this.destroyItems();n.prototype.remove.call(this,t)},t.prototype.getDataClassLegendSymbols=function(){var t=this,i=t.chart,r=t.legendItems,u=i.options.legend,f=u.valueDecimals,e=u.valueSuffix||"",n;return r.length||t.dataClasses.forEach(function(u,s){var h=!0,c=u.from,l=u.to,a=i.numberFormatter;n="";"undefined"==typeof c?n="< ":"undefined"==typeof l&&(n="> ");"undefined"!=typeof c&&(n+=a(c,f)+e);"undefined"!=typeof c&&"undefined"!=typeof l&&(n+=" - ");"undefined"!=typeof l&&(n+=a(l,f)+e);r.push(w({chart:i,name:n,options:{},drawLegendSymbol:o.drawRectangle,visible:!0,setState:d,isDataClass:!0,setVisible:function(){h=t.visible=!h;t.series.forEach(function(n){n.points.forEach(function(n){n.dataClass===s&&n.setVisible(h)})});i.legend.colorizeItem(this,h)}},u))}),r},t.defaultLegendLength=200,t.defaultColorAxisOptions={lineWidth:0,minPadding:0,maxPadding:0,gridLineWidth:1,tickPixelInterval:72,startOnTick:!0,endOnTick:!0,offset:0,marker:{animation:{duration:50},width:.01,color:s.neutralColor40},labels:{overflow:"justify",rotation:0},minColor:s.highlightColor10,maxColor:s.highlightColor100,tickLength:5,showInLegend:!0},t.keepProps=["legendGroup","legendItemHeight","legendItemWidth","legendItem","legendSymbol"],t}(n),Array.prototype.push.apply(n.keepProps,p.keepProps),f.ColorAxis=p,["fill","stroke"].forEach(function(n){u.prototype[n+"Setter"]=function(){this.elem.attr(n,y(this.start).tweenTo(y(this.end),this.pos),null,!0)}}),a(t,"afterGetAxes",function(){var t=this,n=t.options;this.colorAxis=[];n.colorAxis&&(n.colorAxis=nt(n.colorAxis),n.colorAxis.forEach(function(n,i){n.index=i;new p(t,n)}))}),a(c,"bindAxes",function(){var n=this.axisTypes;n?-1===n.indexOf("colorAxis")&&n.push("colorAxis"):this.axisTypes=["colorAxis"]}),a(e,"afterGetAllItems",function(n){var f=this,i=[],t,r,u=function(t){t=n.allItems.indexOf(t);-1!==t&&(f.destroyItem(n.allItems[t]),n.allItems.splice(t,1))};for((this.chart.colorAxis||[]).forEach(function(n){(t=n.options)&&t.showInLegend&&(t.dataClasses&&t.visible?i=i.concat(n.getDataClassLegendSymbols()):t.visible&&i.push(n),n.series.forEach(function(n){(!n.options.showInLegend||t.dataClasses)&&("point"===n.options.legendType?n.points.forEach(function(n){u(n)}):u(n))}))}),r=i.length;r--;)n.allItems.unshift(i[r])}),a(e,"afterColorizeItem",function(n){n.visible&&n.item.legendColor&&n.item.legendSymbol.attr({fill:n.item.legendColor})}),a(e,"afterUpdate",function(){var n=this.chart.colorAxis;n&&n.forEach(function(n,t,i){n.update({},i)})}),a(c,"afterTranslate",function(){(this.chart.colorAxis&&this.chart.colorAxis.length||this.colorAttribs)&&this.translateColors()}),p}),i(t,"Mixins/ColorMapSeries.js",[t["Core/Globals.js"],t["Core/Series/Point.js"],t["Core/Utilities.js"]],function(n,t,i){var u=i.defined,r;return i=i.addEvent,r=n.noop,n=n.seriesTypes,i(t,"afterSetState",function(n){this.moveToTopOnHover&&this.graphic&&this.graphic.attr({zIndex:n&&"hover"===n.state?1:0})}),{colorMapPointMixin:{dataLabelOnNull:!0,moveToTopOnHover:!0,isValid:function(){return null!==this.value&&Infinity!==this.value&&-Infinity!==this.value}},colorMapSeriesMixin:{pointArrayMap:["value"],axisTypes:["xAxis","yAxis","colorAxis"],trackerGroups:["group","markerGroup","dataLabelsGroup"],getSymbol:r,parallelArrays:["x","y","value"],colorKey:"value",pointAttribs:n.column.prototype.pointAttribs,colorAttribs:function(n){var t={};return u(n.color)&&(t[this.colorProp||"fill"]=n.color),t}}}}),i(t,"Maps/MapNavigationOptionsDefault.js",[t["Core/Options.js"],t["Core/Utilities.js"]],function(n,t){t=t.extend;var i={buttonOptions:{alignTo:"plotBox",align:"left",verticalAlign:"top",x:0,width:18,height:18,padding:5,style:{fontSize:"15px",fontWeight:"bold"},theme:{"stroke-width":1,"text-align":"center"}},buttons:{zoomIn:{onclick:function(){this.mapZoom(.5)},text:"+",y:0},zoomOut:{onclick:function(){this.mapZoom(2)},text:"-",y:28}},mouseWheelSensitivity:1.1};return t(n.defaultOptions.lang,{zoomIn:"Zoom in",zoomOut:"Zoom out"}),n.defaultOptions.mapNavigation=i}),i(t,"Maps/MapNavigation.js",[t["Core/Chart/Chart.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],function(n,t,i){function e(n){n&&(n.preventDefault&&n.preventDefault(),n.stopPropagation&&n.stopPropagation(),n.cancelBubble=!0)}function r(n){this.init(n)}var s=t.doc,u=i.addEvent,h=i.extend,o=i.merge,c=i.objectEach,f=i.pick;r.prototype.init=function(n){this.chart=n;n.mapNavButtons=[]};r.prototype.update=function(n){var t=this.chart,i=t.options.mapNavigation,r,s,a,v,y=function(n){this.handler.call(t,n);e(n)},l=t.mapNavButtons;for(n&&(i=t.options.mapNavigation=o(t.options.mapNavigation,n));l.length;)l.pop().destroy();f(i.enableButtons,i.enabled)&&!t.renderer.forExport&&c(i.buttons,function(n,f){var c,p;n=o(i.buttonOptions,n);!t.styledMode&&n.theme&&(r=n.theme,r.style=o(n.theme.style,n.style),a=(s=r.states)&&s.hover,v=s&&s.select,delete r.states);c=t.renderer.button(n.text||"",0,0,y,r,a,v,void 0,"zoomIn"===f?"topbutton":"bottombutton").addClass("highcharts-map-navigation highcharts-"+{zoomIn:"zoom-in",zoomOut:"zoom-out"}[f]).attr({width:n.width,height:n.height,title:t.options.lang[f],padding:n.padding,zIndex:5}).add();c.handler=n.onclick;u(c.element,"dblclick",e);l.push(c);h(n,{width:c.width,height:2*c.height});t.hasLoaded?c.align(n,!1,n.alignTo):p=u(t,"load",function(){c.element&&c.align(n,!1,n.alignTo);p()})});this.updateEvents(i)};r.prototype.updateEvents=function(n){var t=this.chart;f(n.enableDoubleClickZoom,n.enabled)||n.enableDoubleClickZoomTo?this.unbindDblClick=this.unbindDblClick||u(t.container,"dblclick",function(n){t.pointer.onContainerDblClick(n)}):this.unbindDblClick&&(this.unbindDblClick=this.unbindDblClick());f(n.enableMouseWheelZoom,n.enabled)?this.unbindMouseWheel=this.unbindMouseWheel||u(t.container,void 0!==s.onwheel?"wheel":void 0!==s.onmousewheel?"mousewheel":"DOMMouseScroll",function(n){return t.pointer.inClass(n.target,"highcharts-no-mousewheel")||(t.pointer.onContainerMouseWheel(n),e(n)),!1}):this.unbindMouseWheel&&(this.unbindMouseWheel=this.unbindMouseWheel())};h(n.prototype,{fitToBox:function(n,t){return[["x","width"],["y","height"]].forEach(function(i){var r=i[0];i=i[1];n[r]+n[i]>t[r]+t[i]&&(n[i]>t[i]?(n[i]=t[i],n[r]=t[r]):n[r]=t[r]+t[i]-n[i]);n[i]>t[i]&&(n[i]=t[i]);n[r]<t[r]&&(n[r]=t[r])}),n},mapZoom:function(n,t,i,r,u,e){var s=this.xAxis[0],o=s.max-s.min,h=f(t,s.min+o/2),l=o*n,c,a;o=this.yAxis[0];c=o.max-o.min;a=f(i,o.min+c/2);c*=n;h=this.fitToBox({x:h-l*(r?(r-s.pos)/s.len:.5),y:a-c*(u?(u-o.pos)/o.len:.5),width:l,height:c},{x:s.dataMin,y:o.dataMin,width:s.dataMax-s.dataMin,height:o.dataMax-o.dataMin});l=h.x<=s.dataMin&&h.width>=s.dataMax-s.dataMin&&h.y<=o.dataMin&&h.height>=o.dataMax-o.dataMin;r&&s.mapAxis&&(s.mapAxis.fixTo=[r-s.pos,t]);u&&o.mapAxis&&(o.mapAxis.fixTo=[u-o.pos,i]);"undefined"==typeof n||l?(s.setExtremes(void 0,void 0,!1),o.setExtremes(void 0,void 0,!1)):(s.setExtremes(h.x,h.x+h.width,!1),o.setExtremes(h.y,h.y+h.height,!1));this.redraw(e)}});u(n,"beforeRender",function(){this.mapNavigation=new r(this);this.mapNavigation.update()});t.MapNavigation=r}),i(t,"Maps/MapPointer.js",[t["Core/Pointer.js"],t["Core/Utilities.js"]],function(n,t){var u=t.extend,f=t.pick,i,r;t=t.wrap;i=0;u(n.prototype,{onContainerDblClick:function(n){var t=this.chart;n=this.normalize(n);t.options.mapNavigation.enableDoubleClickZoomTo?t.pointer.inClass(n.target,"highcharts-tracker")&&t.hoverPoint&&t.hoverPoint.zoomTo():t.isInsidePlot(n.chartX-t.plotLeft,n.chartY-t.plotTop)&&t.mapZoom(.5,t.xAxis[0].toValue(n.chartX),t.yAxis[0].toValue(n.chartY),n.chartX,n.chartY)},onContainerMouseWheel:function(n){var t=this.chart,u;n=this.normalize(n);u=n.deltaY||n.detail||-(n.wheelDelta/120);1<=Math.abs(u)&&(i+=Math.abs(u),r&&clearTimeout(r),r=setTimeout(function(){i=0},50));10>i&&t.isInsidePlot(n.chartX-t.plotLeft,n.chartY-t.plotTop)&&t.mapZoom(Math.pow(t.options.mapNavigation.mouseWheelSensitivity,u),t.xAxis[0].toValue(n.chartX),t.yAxis[0].toValue(n.chartY),n.chartX,n.chartY,1>Math.abs(u)?!1:void 0)}});t(n.prototype,"zoomOption",function(n){var t=this.chart.options.mapNavigation;f(t.enableTouchZoom,t.enabled)&&(this.chart.options.chart.pinchType="xy");n.apply(this,[].slice.call(arguments,1))});t(n.prototype,"pinchTranslate",function(n,t,i,r,u,f,e){n.call(this,t,i,r,u,f,e);"map"===this.chart.options.chart.type&&this.hasZoom&&(n=r.scaleX>r.scaleY,this.pinchTranslateDirection(!n,t,i,r,u,f,e,n?r.scaleX:r.scaleY))})}),i(t,"Maps/MapSymbols.js",[t["Core/Globals.js"],t["Core/Renderer/SVG/SVGRenderer.js"]],function(n,t){function i(n,t,i,r,u,f,e,o){return[["M",n+u,t],["L",n+i-f,t],["C",n+i-f/2,t,n+i,t+f/2,n+i,t+f],["L",n+i,t+r-e],["C",n+i,t+r-e/2,n+i-e/2,t+r,n+i-e,t+r],["L",n+o,t+r],["C",n+o/2,t+r,n,t+r-o/2,n,t+r-o],["L",n,t+u],["C",n,t+u/2,n+u/2,t,n+u,t],["Z"]]}var r=n.Renderer;return t.prototype.symbols.topbutton=function(n,t,r,u,f){return f=f&&f.r||0,i(n-1,t-1,r,u,f,f,0,0)},t.prototype.symbols.bottombutton=function(n,t,r,u,f){return f=f&&f.r||0,i(n-1,t-1,r,u,0,0,f,f)},r!==t&&["topbutton","bottombutton"].forEach(function(n){r.prototype.symbols[n]=t.prototype.symbols[n]}),t.prototype.symbols}),i(t,"Core/Chart/MapChart.js",[t["Core/Chart/Chart.js"],t["Core/Options.js"],t["Core/Renderer/SVG/SVGRenderer.js"],t["Core/Utilities.js"]],function(n,t,i,r){var e=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),o=t.getOptions,u=r.merge,f=r.pick;return n=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e(t,n),t.prototype.init=function(t,i){var r={endOnTick:!1,visible:!1,minPadding:0,maxPadding:0,startOnTick:!1},s=t.series,e=o().credits;t.series=void 0;t=u({chart:{panning:{enabled:!0,type:"xy"},type:"map"},credits:{mapText:f(e.mapText,' © <a href="{geojson.copyrightUrl}">{geojson.copyrightShort}<\/a>'),mapTextFull:f(e.mapTextFull,"{geojson.copyright}")},tooltip:{followTouchMove:!1},xAxis:r,yAxis:u(r,{reversed:!0})},t,{chart:{inverted:!1,alignTicks:!1}});t.series=s;n.prototype.init.call(this,t,i)},t}(n),function(n){n.maps={};n.mapChart=function(t,i,r){return new n(t,i,r)};n.splitPath=function(n){return"string"==typeof n&&(n=n.replace(/([A-Za-z])/g," $1 ").replace(/^\s*/,"").replace(/\s*$/,""),n=n.split(/[ ,;]+/).map(function(n){return/[A-za-z]/.test(n)?n:parseFloat(n)})),i.prototype.pathToSegments(n)}}(n||(n={})),n}),i(t,"Series/Map/MapPoint.js",[t["Mixins/ColorMapSeries.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(n,t,i){var u=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),r;return n=n.colorMapPointMixin,r=i.extend,t=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.options=void 0,t.path=void 0,t.series=void 0,t}return u(t,n),t.prototype.applyOptions=function(t,i){var u=this.series;return t=n.prototype.applyOptions.call(this,t,i),i=u.joinBy,u.mapData&&u.mapMap&&(i=n.prototype.getNestedProperty.call(t,i[1]),(i="undefined"!=typeof i&&u.mapMap[i])?(u.xyFromShape&&(t.x=i._midX,t.y=i._midY),r(t,i)):t.value=t.value||null),t},t.prototype.onMouseOver=function(t){if(i.clearTimeout(this.colorInterval),null!==this.value||this.series.options.nullInteraction)n.prototype.onMouseOver.call(this,t);else this.series.onMouseOut(t)},t.prototype.zoomTo=function(){var n=this.series;n.xAxis.setExtremes(this._minX,this._maxX,!1);n.yAxis.setExtremes(this._minY,this._maxY,!1);n.chart.redraw()},t}(t.seriesTypes.scatter.prototype.pointClass),r(t.prototype,{dataLabelOnNull:n.dataLabelOnNull,isValid:n.isValid,moveToTopOnHover:n.moveToTopOnHover}),t}),i(t,"Series/Map/MapSeries.js",[t["Mixins/ColorMapSeries.js"],t["Core/Globals.js"],t["Mixins/LegendSymbol.js"],t["Core/Chart/MapChart.js"],t["Series/Map/MapPoint.js"],t["Core/Color/Palette.js"],t["Core/Series/Series.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Renderer/SVG/SVGRenderer.js"],t["Core/Utilities.js"]],function(n,t,i,r,u,f,e,o,s,h){var b=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),l,y;n=n.colorMapSeriesMixin;var v=t.noop,k=r.maps,d=r.splitPath;r=o.seriesTypes;l=r.column;y=r.scatter;r=h.extend;var g=h.fireEvent,p=h.getNestedProperty,nt=h.isArray,a=h.isNumber,w=h.merge,tt=h.objectEach,c=h.pick,it=h.splat;return h=function(n){function i(){var t=null!==n&&n.apply(this,arguments)||this;return t.baseTrans=void 0,t.chart=void 0,t.data=void 0,t.group=void 0,t.joinBy=void 0,t.options=void 0,t.points=void 0,t.transformGroup=void 0,t}return b(i,n),i.prototype.animate=function(n){var t=this.options.animation,i=this.group,r=this.xAxis,u=this.yAxis,f=r.pos,e=u.pos;this.chart.renderer.isSVG&&(!0===t&&(t={duration:1e3}),n?i.attr({translateX:f+r.len/2,translateY:e+u.len/2,scaleX:.001,scaleY:.001}):i.animate({translateX:f,translateY:e,scaleX:1,scaleY:1},t))},i.prototype.animateDrilldown=function(n){var r=this.chart.plotBox,i=this.chart.drilldownLevels[this.chart.drilldownLevels.length-1],t=i.bBox,u=this.chart.options.drilldown.animation;n||(n=Math.min(t.width/r.width,t.height/r.height),i.shapeArgs={scaleX:n,scaleY:n,translateX:t.x,translateY:t.y},this.points.forEach(function(n){n.graphic&&n.graphic.attr(i.shapeArgs).animate({scaleX:1,scaleY:1,translateX:0,translateY:0},u)}))},i.prototype.animateDrillupFrom=function(n){l.prototype.animateDrillupFrom.call(this,n)},i.prototype.animateDrillupTo=function(n){l.prototype.animateDrillupTo.call(this,n)},i.prototype.doFullTranslate=function(){return this.isDirtyData||this.chart.isResizing||this.chart.renderer.isVML||!this.baseTrans},i.prototype.drawMapDataLabels=function(){e.prototype.drawDataLabels.call(this);this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)},i.prototype.drawPoints=function(){var n=this,r=n.xAxis,t=n.yAxis,a=n.group,u=n.chart,b=u.renderer,o=this.baseTrans,i;if(n.transformGroup||(n.transformGroup=b.g().attr({scaleX:1,scaleY:1}).add(a),n.transformGroup.survive=!0),n.doFullTranslate())u.hasRendered&&!u.styledMode&&n.points.forEach(function(t){t.shapeArgs&&(t.shapeArgs.fill=n.pointAttribs(t,t.state).fill)}),n.group=n.transformGroup,l.prototype.drawPoints.apply(n),n.group=a,n.points.forEach(function(t){if(t.graphic){var i="";t.name&&(i+="highcharts-name-"+t.name.replace(/ /g,"-").toLowerCase());t.properties&&t.properties["hc-key"]&&(i+=" highcharts-key-"+t.properties["hc-key"].toLowerCase());i&&t.graphic.addClass(i);u.styledMode&&t.graphic.css(n.pointAttribs(t,t.selected&&"select"||void 0))}}),this.baseTrans={originX:r.min-r.minPixelPadding/r.transA,originY:t.min-t.minPixelPadding/t.transA+(t.reversed?0:t.len/t.transA),transAX:r.transA,transAY:t.transA},this.transformGroup.animate({translateX:0,translateY:0,scaleX:1,scaleY:1});else{var f=r.transA/o.transAX,e=t.transA/o.transAY,s=r.toPixels(o.originX,!0),h=t.toPixels(o.originY,!0);if(.99<f&&1.01>f&&.99<e&&1.01>e&&(e=f=1,s=Math.round(s),h=Math.round(h)),i=this.transformGroup,u.renderer.globalAnimation){var v=i.attr("translateX"),y=i.attr("translateY"),p=i.attr("scaleX"),w=i.attr("scaleY");i.attr({animator:0}).animate({animator:1},{step:function(n,t){i.attr({translateX:v+(s-v)*t.pos,translateY:y+(h-y)*t.pos,scaleX:p+(f-p)*t.pos,scaleY:w+(e-w)*t.pos})}})}else i.attr({translateX:s,translateY:h,scaleX:f,scaleY:e})}u.styledMode||a.element.setAttribute("stroke-width",c(n.options[n.pointAttrToOptions&&n.pointAttrToOptions["stroke-width"]||"borderWidth"],1)/(f||1));this.drawMapDataLabels()},i.prototype.getBox=function(n){var t=Number.MAX_VALUE,f=-t,e=t,o=-t,h=t,i=t,r=this.xAxis,u=this.yAxis,l;(n||[]).forEach(function(n){if(n.path){"string"==typeof n.path?n.path=d(n.path):"M"===n.path[0]&&(n.path=s.prototype.pathToSegments(n.path));var p=n.path||[],a=-t,r=t,v=-t,u=t,y=n.properties;n._foundBox||(p.forEach(function(n){var t=n[n.length-2];n=n[n.length-1];"number"==typeof t&&"number"==typeof n&&(r=Math.min(r,t),a=Math.max(a,t),u=Math.min(u,n),v=Math.max(v,n))}),n._midX=r+(a-r)*c(n.middleX,y&&y["hc-middle-x"],.5),n._midY=u+(v-u)*c(n.middleY,y&&y["hc-middle-y"],.5),n._maxX=a,n._minX=r,n._maxY=v,n._minY=u,n.labelrank=c(n.labelrank,(a-r)*(v-u)),n._foundBox=!0);f=Math.max(f,n._maxX);e=Math.min(e,n._minX);o=Math.max(o,n._maxY);h=Math.min(h,n._minY);i=Math.min(n._maxX-n._minX,n._maxY-n._minY,i);l=!0}});l&&(this.minY=Math.min(h,c(this.minY,t)),this.maxY=Math.max(o,c(this.maxY,-t)),this.minX=Math.min(e,c(this.minX,t)),this.maxX=Math.max(f,c(this.maxX,-t)),r&&"undefined"==typeof r.options.minRange&&(r.minRange=Math.min(5*i,(this.maxX-this.minX)/5,r.minRange||t)),u&&"undefined"==typeof u.options.minRange&&(u.minRange=Math.min(5*i,(this.maxY-this.minY)/5,u.minRange||t)))},i.prototype.getExtremes=function(){var n=e.prototype.getExtremes.call(this,this.valueData),t=n.dataMin;return n=n.dataMax,this.chart.hasRendered&&this.isDirtyData&&this.getBox(this.options.data),a(t)&&(this.valueMin=t),a(n)&&(this.valueMax=n),{dataMin:this.minY,dataMax:this.maxY}},i.prototype.hasData=function(){return!!this.processedXData.length},i.prototype.pointAttribs=function(n,t){return t=n.series.chart.styledMode?this.colorAttribs(n):l.prototype.pointAttribs.call(this,n,t),t["stroke-width"]=c(n.options[this.pointAttrToOptions&&this.pointAttrToOptions["stroke-width"]||"borderWidth"],"inherit"),t},i.prototype.render=function(){var n=this,t=e.prototype.render;n.chart.renderer.isVML&&3e3<n.data.length?setTimeout(function(){t.call(n)}):t.call(n)},i.prototype.setData=function(n,i,r,f){var b=this.options,h=this.chart.options.chart,c=h&&h.map,o=b.mapData,s=this.joinBy,v=b.keys||this.pointArrayMap,y=[],d={},l=this.chart.mapTransforms,g,it;if(!o&&c&&(o="string"==typeof c?k[c]:c),n&&n.forEach(function(t,i){var f=0,r;if(a(t))n[i]={value:t};else if(nt(t))for(n[i]={},!b.keys&&t.length>v.length&&"string"==typeof t[0]&&(n[i]["hc-key"]=t[0],++f),r=0;r<v.length;++r,++f)v[r]&&"undefined"!=typeof t[f]&&(0<v[r].indexOf(".")?u.prototype.setNestedProperty(n[i],t[f],v[r]):n[i][v[r]]=t[f]);s&&"_i"===s[0]&&(n[i]._i=i)}),this.getBox(n),(this.chart.mapTransforms=l=h.mapTransforms||o&&o["hc-transform"]||l)&&tt(l,function(n){n.rotation&&(n.cosAngle=Math.cos(n.rotation),n.sinAngle=Math.sin(n.rotation))}),o){for("FeatureCollection"===o.type&&(this.mapTitle=o.title,o=t.geojson(o,this.type,this)),this.mapData=o,this.mapMap={},l=0;l<o.length;l++)h=o[l],c=h.properties,h._i=l,s[0]&&c&&c[s[0]]&&(h[s[0]]=c[s[0]]),d[h[s[0]]]=h;this.mapMap=d;n&&s[1]&&(g=s[1],n.forEach(function(n){n=p(g,n);d[n]&&y.push(d[n])}));b.allAreas?(this.getBox(o),n=n||[],s[1]&&(it=s[1],n.forEach(function(n){y.push(p(it,n))})),y="|"+y.map(function(n){return n&&n[s[0]]}).join("|")+"|",o.forEach(function(t){s[0]&&-1!==y.indexOf("|"+t[s[0]]+"|")||(n.push(w(t,{value:null})),f=!1)})):this.getBox(y)}e.prototype.setData.call(this,n,i,r,f)},i.prototype.setOptions=function(n){n=e.prototype.setOptions.call(this,n);var t=n.joinBy;return null===t&&(t="_i"),t=this.joinBy=it(t),t[1]||(t[1]=t[0]),n},i.prototype.translate=function(){var n=this,t=n.xAxis,i=n.yAxis,r=n.doFullTranslate();n.generatePoints();n.data.forEach(function(u){a(u._midX)&&a(u._midY)&&(u.plotX=t.toPixels(u._midX,!0),u.plotY=i.toPixels(u._midY,!0));r&&(u.shapeType="path",u.shapeArgs={d:n.translatePath(u.path)})});g(n,"afterTranslate")},i.prototype.translatePath=function(n){var s=this.xAxis,h=this.yAxis,t=s.min,i=s.transA,r=s.minPixelPadding,u=h.min,f=h.transA,e=h.minPixelPadding,o=[];return n&&n.forEach(function(n){"M"===n[0]?o.push(["M",(n[1]-(t||0))*i+r,(n[2]-(u||0))*f+e]):"L"===n[0]?o.push(["L",(n[1]-(t||0))*i+r,(n[2]-(u||0))*f+e]):"C"===n[0]?o.push(["C",(n[1]-(t||0))*i+r,(n[2]-(u||0))*f+e,(n[3]-(t||0))*i+r,(n[4]-(u||0))*f+e,(n[5]-(t||0))*i+r,(n[6]-(u||0))*f+e]):"Q"===n[0]?o.push(["Q",(n[1]-(t||0))*i+r,(n[2]-(u||0))*f+e,(n[3]-(t||0))*i+r,(n[4]-(u||0))*f+e]):"Z"===n[0]&&o.push(["Z"])}),o},i.defaultOptions=w(y.defaultOptions,{animation:!1,dataLabels:{crop:!1,formatter:function(){return this.point.value},inside:!0,overflow:!1,padding:0,verticalAlign:"middle"},marker:null,nullColor:f.neutralColor3,stickyTracking:!1,tooltip:{followPointer:!0,pointFormat:"{point.name}: {point.value}<br/>"},turboThreshold:0,allAreas:!0,borderColor:f.neutralColor20,borderWidth:1,joinBy:"hc-key",states:{hover:{halo:null,brightness:.2},normal:{animation:!0},select:{color:f.neutralColor20},inactive:{opacity:1}}}),i}(y),r(h.prototype,{type:"map",axisTypes:n.axisTypes,colorAttribs:n.colorAttribs,colorKey:n.colorKey,directTouch:!0,drawDataLabels:v,drawGraph:v,drawLegendSymbol:i.drawRectangle,forceDL:!0,getExtremesFromAll:!0,getSymbol:n.getSymbol,parallelArrays:n.parallelArrays,pointArrayMap:n.pointArrayMap,pointClass:u,preserveAspectRatio:!0,searchPoint:v,trackerGroups:n.trackerGroups,useMapGeometry:!0}),o.registerSeriesType("map",h),h}),i(t,"Series/MapLine/MapLineSeries.js",[t["Series/Map/MapSeries.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(n,t,i){var r=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),u=t.series,f=i.extend,e=i.merge;return i=function(t){function i(){var n=null!==t&&t.apply(this,arguments)||this;return n.data=void 0,n.options=void 0,n.points=void 0,n}return r(i,t),i.prototype.pointAttribs=function(t,i){return t=n.prototype.pointAttribs.call(this,t,i),t.fill=this.options.fillColor,t},i.defaultOptions=e(n.defaultOptions,{lineWidth:1,fillColor:"none"}),i}(n),f(i.prototype,{type:"mapline",colorProp:"stroke",drawLegendSymbol:u.prototype.drawLegendSymbol,pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"}}),t.registerSeriesType("mapline",i),i}),i(t,"Series/MapPoint/MapPointPoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(n,t){var i=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),r=t.merge;return function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t}return i(t,n),t.prototype.applyOptions=function(t,i){return t="undefined"!=typeof t.lat&&"undefined"!=typeof t.lon?r(t,this.series.chart.fromLatLonToPoint(t)):t,n.prototype.applyOptions.call(this,t,i)},t}(n.seriesTypes.scatter.prototype.pointClass)}),i(t,"Series/MapPoint/MapPointSeries.js",[t["Series/MapPoint/MapPointPoint.js"],t["Core/Color/Palette.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(n,t,i,r){var f=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),u=i.seriesTypes.scatter,e=r.extend,o=r.merge;return r=function(n){function i(){var t=null!==n&&n.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return f(i,n),i.prototype.drawDataLabels=function(){n.prototype.drawDataLabels.call(this);this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)},i.defaultOptions=o(u.defaultOptions,{dataLabels:{crop:!1,defer:!1,enabled:!0,formatter:function(){return this.point.name},overflow:!1,style:{color:t.neutralColor100}}}),i}(u),e(r.prototype,{type:"mappoint",forceDL:!0,pointClass:n}),i.registerSeriesType("mappoint",r),r}),i(t,"Series/Bubble/BubblePoint.js",[t["Core/Series/Point.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(n,t,i){var r=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}();return i=i.extend,t=function(t){function i(){var n=null!==t&&t.apply(this,arguments)||this;return n.options=void 0,n.series=void 0,n}return r(i,t),i.prototype.haloPath=function(t){return n.prototype.haloPath.call(this,0===t?0:(this.marker?this.marker.radius||0:0)+t)},i}(t.seriesTypes.scatter.prototype.pointClass),i(t.prototype,{ttBelow:!1}),t}),i(t,"Series/Bubble/BubbleLegend.js",[t["Core/Chart/Chart.js"],t["Core/Color/Color.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Core/Legend.js"],t["Core/Options.js"],t["Core/Color/Palette.js"],t["Core/Series/Series.js"],t["Core/Utilities.js"]],function(n,t,i,r,u,f,e,o,s){var a=t.parse,v=r.noop;f=f.setOptions;t=s.addEvent;var y=s.arrayMax,p=s.arrayMin,l=s.isNumber,c=s.merge,w=s.objectEach,h=s.pick,b=s.stableSort;return s=s.wrap,f({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:"10px",color:e.neutralColor100},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}}}),e=function(){function n(n,t){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=v;this.init(n,t)}return n.prototype.init=function(n,t){this.options=n;this.visible=!0;this.chart=t.chart;this.legend=t},n.prototype.addToLegend=function(n){n.splice(this.options.legendIndex,0,this)},n.prototype.drawLegendSymbol=function(n){var r=this.chart,u=this.options,f=h(n.options.itemDistance,20),t=u.ranges,i=u.connectorDistance;this.fontMetrics=r.renderer.fontMetrics(u.labels.style.fontSize);t&&t.length&&l(t[0].value)?(b(t,function(n,t){return t.value-n.value}),this.ranges=t,this.setOptions(),this.render(),r=this.getMaxLabelSize(),t=this.ranges[0].radius,n=2*t,i=i-t+r.width,i=0<i?i:0,this.maxLabel=r,this.movementX="left"===u.labels.align?i:0,this.legendItemWidth=n+i+f,this.legendItemHeight=n+this.fontMetrics.h/2):n.options.bubbleLegend.autoRanges=!0},n.prototype.setOptions=function(){var t=this.ranges,n=this.options,i=this.chart.series[n.seriesIndex],o=this.legend.baseline,r={zIndex:n.zIndex,"stroke-width":n.borderWidth},u={zIndex:n.zIndex,"stroke-width":n.connectorWidth},s={align:this.legend.options.rtl||"left"===n.labels.align?"right":"left",zIndex:n.zIndex},f=i.options.marker.fillOpacity,e=this.chart.styledMode;t.forEach(function(l,v){e||(r.stroke=h(l.borderColor,n.borderColor,i.color),r.fill=h(l.color,n.color,1!==f?a(i.color).setOpacity(f).get("rgba"):i.color),u.stroke=h(l.connectorColor,n.connectorColor,i.color));t[v].radius=this.getRangeRadius(l.value);t[v]=c(t[v],{center:t[0].radius-t[v].radius+o});e||c(!0,t[v],{bubbleAttribs:c(r),connectorAttribs:c(u),labelAttribs:s})},this)},n.prototype.getRangeRadius=function(n){var t=this.options;return this.chart.series[this.options.seriesIndex].getRadius.call(this,t.ranges[t.ranges.length-1].value,t.ranges[0].value,t.minSize,t.maxSize,n)},n.prototype.render=function(){var n=this.chart.renderer,t=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]});this.legendSymbol=n.g("bubble-legend");this.legendItem=n.g("bubble-legend-item");this.legendSymbol.translateX=0;this.legendSymbol.translateY=0;this.ranges.forEach(function(n){n.value>=t&&this.renderRange(n)},this);this.legendSymbol.add(this.legendItem);this.legendItem.add(this.legendGroup);this.hideOverlappingLabels()},n.prototype.renderRange=function(n){var t=this.options,a=t.labels,o=this.chart,w=o.series[t.seriesIndex],f=o.renderer,c=this.symbols,i,l;o=c.labels;var v=n.center,y=Math.abs(n.radius),r=t.connectorDistance||0,e=a.align;r=this.legend.options.rtl||"left"===e?-r:r;var p=t.connectorWidth,s=this.ranges[0].radius||0,h=v-y-t.borderWidth/2+p/2,u=this.fontMetrics;u=u.f/2-(u.h-u.f)/2;i=f.styledMode;"center"===e&&(r=0,t.connectorDistance=0,n.labelAttribs.align="center");e=h+t.labels.y;l=s+r+t.labels.x;c.bubbleItems.push(f.circle(s,v+((h%1?1:.5)-(p%2?0:.5)),y).attr(i?{}:n.bubbleAttribs).addClass((i?"highcharts-color-"+w.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(t.className||"")).add(this.legendSymbol));c.connectors.push(f.path(f.crispLine([["M",s,h],["L",s+r,h]],t.connectorWidth)).attr(i?{}:n.connectorAttribs).addClass((i?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(t.connectorClassName||"")).add(this.legendSymbol));n=f.text(this.formatLabel(n),l,e+u).attr(i?{}:n.labelAttribs).css(i?{}:a.style).addClass("highcharts-bubble-legend-labels "+(t.labels.className||"")).add(this.legendSymbol);o.push(n);n.placed=!0;n.alignAttr={x:l,y:e+u}},n.prototype.getMaxLabelSize=function(){var n,t;return this.symbols.labels.forEach(function(i){t=i.getBBox(!0);n=n?t.width>n.width?t:n:t}),n||{}},n.prototype.formatLabel=function(n){var t=this.options,r=t.labels.formatter,u;return t=t.labels.format,u=this.chart.numberFormatter,t?i.format(t,n):r?r.call(n):u(n.value,1)},n.prototype.hideOverlappingLabels=function(){var t=this.chart,n=this.symbols;!this.options.labels.allowOverlap&&n&&(t.hideOverlappingLabels(n.labels),n.labels.forEach(function(t,i){t.newOpacity?t.newOpacity!==t.oldOpacity&&n.connectors[i].show():n.connectors[i].hide()}))},n.prototype.getRanges=function(){var f=this.legend.bubbleLegend,t=f.options.ranges,u,i=Number.MAX_VALUE,n=-Number.MAX_VALUE,r;return f.chart.series.forEach(function(t){t.isBubble&&!t.ignoreSeries&&(u=t.zData.filter(l),u.length&&(i=h(t.options.zMin,Math.min(i,Math.max(p(u),!1===t.options.displayNegative?t.options.zThreshold:-Number.MAX_VALUE))),n=h(t.options.zMax,Math.max(n,y(u)))))}),r=i===n?[{value:n}]:[{value:i},{value:(i+n)/2},{value:n,autoRanges:!0}],t.length&&t[0].radius&&r.reverse(),r.forEach(function(n,i){t&&t[i]&&(r[i]=c(t[i],n))}),r},n.prototype.predictBubbleSizes=function(){var t=this.chart,i=this.fontMetrics,o=t.legend.options,r="horizontal"===o.layout,h=r?t.legend.lastLineHeight:0,u=t.plotSizeX,f=t.plotSizeY,n=t.series[this.options.seriesIndex],e,s;return t=Math.ceil(n.minPxSize),e=Math.ceil(n.maxPxSize),n=n.options.maxSize,s=Math.min(f,u),o.floating||!/%$/.test(n)?i=e:(n=parseFloat(n),i=(s+h-i.h/2)*n/100/(n/100+1),r&&f-i>=u||!r&&u-i>=f)&&(i=e),[t,Math.ceil(i)]},n.prototype.updateRanges=function(n,t){var i=this.legend.options.bubbleLegend;i.minSize=n;i.maxSize=t;i.ranges=this.getRanges()},n.prototype.correctSizes=function(){var t=this.legend,n=this.chart.series[this.options.seriesIndex];1<Math.abs(Math.ceil(n.maxPxSize)-this.options.maxSize)&&(this.updateRanges(this.options.minSize,n.maxPxSize),t.render())},n}(),t(u,"afterGetAllItems",function(n){var i=this.bubbleLegend,u=this.options,t=u.bubbleLegend,f=this.chart.getVisibleBubbleSeriesIndex();i&&i.ranges&&i.ranges.length&&(t.ranges.length&&(t.autoRanges=!!t.ranges[0].autoRanges),this.destroyItem(i));0<=f&&u.enabled&&t.enabled&&(t.seriesIndex=f,this.bubbleLegend=new r.BubbleLegend(t,this),this.bubbleLegend.addToLegend(n.allItems))}),n.prototype.getVisibleBubbleSeriesIndex=function(){for(var t=this.series,n=0;n<t.length;){if(t[n]&&t[n].isBubble&&t[n].visible&&t[n].zData.length)return n;n++}return-1},u.prototype.getLinesHeights=function(){for(var t=this.allItems,r=[],f=t.length,i=0,u,n=0;n<f;n++)if(t[n].legendItemHeight&&(t[n].itemHeight=t[n].legendItemHeight),t[n]===t[f-1]||t[n+1]&&t[n]._legendItemPos[1]!==t[n+1]._legendItemPos[1]){for(r.push({height:0}),u=r[r.length-1],i;i<=n;i++)t[i].itemHeight>u.height&&(u.height=t[i].itemHeight);u.step=n}return r},u.prototype.retranslateItems=function(n){var r,u,t,f=this.options.rtl,i=0;this.allItems.forEach(function(e,o){r=e.legendGroup.translateX;u=e._legendItemPos[1];((t=e.movementX)||f&&e.ranges)&&(t=f?r-e.options.maxSize/2:r+t,e.legendGroup.attr({translateX:t}));o>n[i].step&&i++;e.legendGroup.attr({translateY:Math.round(u+n[i].height/2)});e._legendItemPos[1]=u+n[i].height/2})},t(o,"legendItemClick",function(){var n=this.chart,i=this.visible,t=this.chart.legend;t&&t.bubbleLegend&&(this.visible=!i,this.ignoreSeries=i,n=0<=n.getVisibleBubbleSeriesIndex(),t.bubbleLegend.visible!==n&&(t.update({bubbleLegend:{enabled:n}}),t.bubbleLegend.visible=n),this.visible=i)}),s(n.prototype,"drawChartBox",function(n,t,i){var r=this.legend,u=0<=this.getVisibleBubbleSeriesIndex(),f;r&&r.options.enabled&&r.bubbleLegend&&r.options.bubbleLegend.autoRanges&&u?(f=r.bubbleLegend.options,u=r.bubbleLegend.predictBubbleSizes(),r.bubbleLegend.updateRanges(u[0],u[1]),f.placed||(r.group.placed=!1,r.allItems.forEach(function(n){n.legendGroup.translateY=null})),r.render(),this.getMargins(),this.axes.forEach(function(n){n.visible&&n.render();f.placed||(n.setScale(),n.updateNames(),w(n.ticks,function(n){n.isNew=!0;n.isNewLabel=!0}))}),f.placed=!0,this.getMargins(),n.call(this,t,i),r.bubbleLegend.correctSizes(),r.retranslateItems(r.getLinesHeights())):(n.call(this,t,i),r&&r.options.enabled&&r.bubbleLegend&&(r.render(),r.retranslateItems(r.getLinesHeights())))}),r.BubbleLegend=e,r.BubbleLegend}),i(t,"Series/Bubble/BubbleSeries.js",[t["Core/Axis/Axis.js"],t["Series/Bubble/BubblePoint.js"],t["Core/Color/Color.js"],t["Core/Globals.js"],t["Core/Series/Series.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(n,t,i,r,u,f,e){var a=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),v=i.parse,s;i=r.noop;s=f.seriesTypes;r=s.column;var c=s.scatter,y=e.arrayMax,p=e.arrayMin,w=e.clamp,l=e.extend,o=e.isNumber,b=e.merge,h=e.pick,k=e.pInt;return e=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.data=void 0,t.maxPxSize=void 0,t.minPxSize=void 0,t.options=void 0,t.points=void 0,t.radii=void 0,t.yData=void 0,t.zData=void 0,t}return a(t,n),t.prototype.animate=function(n){!n&&this.points.length<this.options.animationLimit&&this.points.forEach(function(n){var t=n.graphic;t&&t.width&&(this.hasRendered||t.attr({x:n.plotX,y:n.plotY,width:1,height:1}),t.animate(this.markerAttribs(n),this.options.animation))},this)},t.prototype.getRadii=function(n,t,i){var u=this.zData,o=this.yData,s=i.minPxSize,h=i.maxPxSize,f=[],r=0,e;for(i=u.length;r<i;r++)e=u[r],f.push(this.getRadius(n,t,s,h,e,o[r]));this.radii=f},t.prototype.getRadius=function(n,t,i,r,u,f){var s=this.options,l="width"!==s.sizeBy,h=s.zThreshold,c=t-n,e=.5;if(null===f||null===u)return null;if(o(u)){if(s.sizeByAbsoluteValue&&(u=Math.abs(u-h),c=Math.max(t-h,Math.abs(n-h)),n=0),u<n)return i/2-1;0<c&&(e=(u-n)/c)}return l&&0<=e&&(e=Math.sqrt(e)),Math.ceil(i+e*(r-i))/2},t.prototype.hasData=function(){return!!this.processedXData.length},t.prototype.pointAttribs=function(n,t){var i=this.options.marker.fillOpacity;return n=u.prototype.pointAttribs.call(this,n,t),1!==i&&(n.fill=v(n.fill).setOpacity(i).get("rgba")),n},t.prototype.translate=function(){var r,u=this.data,f=this.radii,i,t;for(n.prototype.translate.call(this),r=u.length;r--;)i=u[r],t=f?f[r]:0,o(t)&&t>=this.minPxSize/2?(i.marker=l(i.marker,{radius:t,width:2*t,height:2*t}),i.dlBox={x:i.plotX-t,y:i.plotY-t,width:2*t,height:2*t}):i.shapeArgs=i.plotY=i.dlBox=void 0},t.defaultOptions=b(c.defaultOptions,{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"}),t}(c),l(e.prototype,{alignDataLabel:r.prototype.alignDataLabel,applyZones:i,bubblePadding:!0,buildKDTree:i,directTouch:!0,isBubble:!0,pointArrayMap:["y","z"],pointClass:t,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"}),n.prototype.beforePadding=function(){var n=this,t=this.len,e=this.chart,r=0,i=t,s=this.isXAxis,d=s?"xData":"yData",c=this.min,u={},g=Math.min(e.plotWidth,e.plotHeight),l=Number.MAX_VALUE,a=-Number.MAX_VALUE,v=this.max-c,f=t/v,b=[];this.series.forEach(function(t){var i=t.options;t.bubblePadding&&(t.visible||!e.options.chart.ignoreHiddenSeries)&&(n.allowZoomOutside=!0,b.push(t),s&&(["minSize","maxSize"].forEach(function(n){var t=i[n],r=/%$/.test(t);t=k(t);u[n]=r?g*t/100:t}),t.minPxSize=u.minSize,t.maxPxSize=Math.max(u.maxSize,u.minSize),t=t.zData.filter(o),t.length&&(l=h(i.zMin,w(p(t),!1===i.displayNegative?i.zThreshold:-Number.MAX_VALUE,l)),a=h(i.zMax,Math.max(a,y(t))))))});b.forEach(function(t){var e=t[d],u=e.length,h;if(s&&t.getRadii(l,a,t),0<v)for(;u--;)o(e[u])&&n.dataMin<=e[u]&&e[u]<=n.max&&(h=t.radii?t.radii[u]:0,r=Math.min((e[u]-c)*f-h,r),i=Math.max((e[u]-c)*f+h,i))});b.length&&0<v&&!this.logarithmic&&(i-=t,f*=(t+Math.max(0,r)-Math.min(i,t))/t,[["min","userMin",r],["max","userMax",i]].forEach(function(t){"undefined"==typeof h(n.options[t[0]],n[t[1]])&&(n[t[0]]+=t[2]/f)}))},f.registerSeriesType("bubble",e),e}),i(t,"Series/MapBubble/MapBubblePoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(n,t){var u=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),i=n.seriesTypes,f=i.map,r;return n=t.extend,r=t.merge,t=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return u(t,n),t.prototype.applyOptions=function(t,i){return t&&"undefined"!=typeof t.lat&&"undefined"!=typeof t.lon?n.prototype.applyOptions.call(this,r(t,this.series.chart.fromLatLonToPoint(t)),i):f.prototype.pointClass.prototype.applyOptions.call(this,t,i)},t.prototype.isValid=function(){return"number"==typeof this.z},t}(i.bubble.prototype.pointClass),n(t.prototype,{ttBelow:!1}),t}),i(t,"Series/MapBubble/MapBubbleSeries.js",[t["Series/Bubble/BubbleSeries.js"],t["Series/MapBubble/MapBubblePoint.js"],t["Series/Map/MapSeries.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(n,t,i,r,u){var f=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),e=u.extend,o=u.merge;return u=function(t){function i(){var n=null!==t&&t.apply(this,arguments)||this;return n.data=void 0,n.options=void 0,n.points=void 0,n}return f(i,t),i.defaultOptions=o(n.defaultOptions,{animationLimit:500,tooltip:{pointFormat:"{point.name}: {point.z}"}}),i}(n),e(u.prototype,{type:"mapbubble",getBox:i.prototype.getBox,pointArrayMap:["z"],pointClass:t,setData:i.prototype.setData,setOptions:i.prototype.setOptions,xyFromShape:!0}),r.registerSeriesType("mapbubble",u),u}),i(t,"Series/Heatmap/HeatmapPoint.js",[t["Mixins/ColorMapSeries.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(n,t,i){var u=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}();n=n.colorMapPointMixin;var r=i.clamp,f=i.extend,e=i.pick;return t=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t.value=void 0,t.x=void 0,t.y=void 0,t}return u(t,n),t.prototype.applyOptions=function(t,i){return t=n.prototype.applyOptions.call(this,t,i),t.formatPrefix=t.isNull||null===t.value?"null":"point",t},t.prototype.getCellAttributes=function(){var t=this.series,s=t.options,h=(s.colsize||1)/2,c=(s.rowsize||1)/2,i=t.xAxis,u=t.yAxis,f=this.options.marker||t.options.marker,o,n;return t=t.pointPlacementToXValue(),o=e(this.pointPadding,s.pointPadding,0),n={x1:r(Math.round(i.len-(i.translate(this.x-h,!1,!0,!1,!0,-t)||0)),-i.len,2*i.len),x2:r(Math.round(i.len-(i.translate(this.x+h,!1,!0,!1,!0,-t)||0)),-i.len,2*i.len),y1:r(Math.round(u.translate(this.y-c,!1,!0,!1,!0)||0),-u.len,2*u.len),y2:r(Math.round(u.translate(this.y+c,!1,!0,!1,!0)||0),-u.len,2*u.len)},[["width","x"],["height","y"]].forEach(function(t){var u=t[0];t=t[1];var r=t+"1",i=t+"2",h=Math.abs(n[r]-n[i]),e=f&&f.lineWidth||0,s=Math.abs(n[r]+n[i])/2;f[u]&&f[u]<h&&(n[r]=s-f[u]/2-e/2,n[i]=s+f[u]/2+e/2);o&&("y"===t&&(r=i,i=t+"1"),n[r]+=o,n[i]-=o)}),n},t.prototype.haloPath=function(n){if(!n)return[];var t=this.shapeArgs;return["M",t.x-n,t.y-n,"L",t.x-n,t.y+t.height+n,t.x+t.width+n,t.y+t.height+n,t.x+t.width+n,t.y-n,"Z"]},t.prototype.isValid=function(){return Infinity!==this.value&&-Infinity!==this.value},t}(t.seriesTypes.scatter.prototype.pointClass),f(t.prototype,{dataLabelOnNull:n.dataLabelOnNull,moveToTopOnHover:n.moveToTopOnHover}),t}),i(t,"Series/Heatmap/HeatmapSeries.js",[t["Mixins/ColorMapSeries.js"],t["Core/Globals.js"],t["Series/Heatmap/HeatmapPoint.js"],t["Mixins/LegendSymbol.js"],t["Core/Color/Palette.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Renderer/SVG/SVGRenderer.js"],t["Core/Utilities.js"]],function(n,t,i,r,u,f,e,o){var p=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}();n=n.colorMapSeriesMixin;var s=f.series,a=f.seriesTypes,w=a.column,v=a.scatter,h=e.prototype.symbols,c=o.extend,b=o.fireEvent,y=o.isNumber,l=o.merge,k=o.pick;return e=function(n){function i(){var t=null!==n&&n.apply(this,arguments)||this;return t.colorAxis=void 0,t.data=void 0,t.options=void 0,t.points=void 0,t.valueMax=NaN,t.valueMin=NaN,t}return p(i,n),i.prototype.drawPoints=function(){var n=this;((this.options.marker||{}).enabled||this._hasPointMarkers)&&(s.prototype.drawPoints.call(this),this.points.forEach(function(t){t.graphic&&t.graphic[n.chart.styledMode?"css":"animate"](n.colorAttribs(t))}))},i.prototype.getExtremes=function(){var n=s.prototype.getExtremes.call(this,this.valueData),t=n.dataMin;return n=n.dataMax,y(t)&&(this.valueMin=t),y(n)&&(this.valueMax=n),s.prototype.getExtremes.call(this)},i.prototype.getValidPoints=function(n,t){return s.prototype.getValidPoints.call(this,n,t,!0)},i.prototype.hasData=function(){return!!this.processedXData.length},i.prototype.init=function(){s.prototype.init.apply(this,arguments);var n=this.options;n.pointRange=k(n.pointRange,n.colsize||1);this.yAxis.axisPointRange=n.rowsize||1;c(h,{ellipse:h.circle})},i.prototype.markerAttribs=function(n,t){var e=n.marker||{},o=this.options.marker||{},i=n.shapeArgs||{},r={},u,f;return n.hasImage?{x:n.plotX,y:n.plotY}:(t&&(u=o.states[t]||{},f=e.states&&e.states[t]||{},[["width","x"],["height","y"]].forEach(function(n){r[n[0]]=(f[n[0]]||u[n[0]]||i[n[0]])+(f[n[0]+"Plus"]||u[n[0]+"Plus"]||0);r[n[1]]=i[n[1]]+(i[n[0]]-r[n[0]])/2})),t?r:i)},i.prototype.pointAttribs=function(n,i){var r=s.prototype.pointAttribs.call(this,n,i),u=this.options||{},f=this.chart.options.plotOptions||{},e=f.series||{},o=f.heatmap||{};return f=u.borderColor||o.borderColor||e.borderColor,e=u.borderWidth||o.borderWidth||e.borderWidth||r["stroke-width"],r.stroke=n&&n.marker&&n.marker.lineColor||u.marker&&u.marker.lineColor||f||this.color,r["stroke-width"]=e,i&&(n=l(u.states[i],u.marker&&u.marker.states[i],n&&n.options.states&&n.options.states[i]||{}),i=n.brightness,r.fill=n.color||t.color(r.fill).brighten(i||0).get(),r.stroke=n.lineColor),r},i.prototype.setClip=function(n){var t=this.chart;s.prototype.setClip.apply(this,arguments);(!1!==this.options.clip||n)&&this.markerGroup.clip((n||this.clipBox)&&this.sharedClipKey?t.sharedClips[this.sharedClipKey]:t.clipRect)},i.prototype.translate=function(){var t=this.options,n=t.marker&&t.marker.symbol||"",i=h[n]?n:"rect",r=-1!==["circle","square"].indexOf(i);this.generatePoints();this.points.forEach(function(t){var f=t.getCellAttributes(),u={},o,e;u.x=Math.min(f.x1,f.x2);u.y=Math.min(f.y1,f.y2);u.width=Math.max(Math.abs(f.x2-f.x1),0);u.height=Math.max(Math.abs(f.y2-f.y1),0);o=t.hasImage=0===(t.marker&&t.marker.symbol||n||"").indexOf("url");r&&(e=Math.abs(u.width-u.height),u.x=Math.min(f.x1,f.x2)+(u.width<u.height?0:e/2),u.y=Math.min(f.y1,f.y2)+(u.width<u.height?e/2:0),u.width=u.height=Math.min(u.width,u.height));e={plotX:(f.x1+f.x2)/2,plotY:(f.y1+f.y2)/2,clientX:(f.x1+f.x2)/2,shapeType:"path",shapeArgs:l(!0,u,{d:h[i](u.x,u.y,u.width,u.height)})};o&&(t.marker={width:u.width,height:u.height});c(t,e)});b(this,"afterTranslate")},i.defaultOptions=l(v.defaultOptions,{animation:!1,borderWidth:0,nullColor:u.neutralColor3,dataLabels:{formatter:function(){return this.point.value},inside:!0,verticalAlign:"middle",crop:!1,overflow:!1,padding:0},marker:{symbol:"rect",radius:0,lineColor:void 0,states:{hover:{lineWidthPlus:0},select:{}}},clip:!0,pointRange:null,tooltip:{pointFormat:"{point.x}, {point.y}: {point.value}<br/>"},states:{hover:{halo:!1,brightness:.2}}}),i}(v),c(e.prototype,{alignDataLabel:w.prototype.alignDataLabel,axisTypes:n.axisTypes,colorAttribs:n.colorAttribs,colorKey:n.colorKey,directTouch:!0,drawLegendSymbol:r.drawRectangle,getExtremesFromAll:!0,getSymbol:s.prototype.getSymbol,parallelArrays:n.parallelArrays,pointArrayMap:["y","value"],pointClass:i,trackerGroups:n.trackerGroups}),f.registerSeriesType("heatmap",e),e}),i(t,"Extensions/GeoJSON.js",[t["Core/Chart/Chart.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],function(n,t,i,r){function e(n,t){var i,r=!1,o=n.x,u=n.y,f,e;for(n=0,i=t.length-1;n<t.length;i=n++)f=t[n][1]>u,e=t[i][1]>u,f!==e&&o<(t[i][0]-t[n][0])*(u-t[n][1])/(t[i][1]-t[n][1])+t[n][0]&&(r=!r);return r}var o=t.format,f=i.win,u=r.error,s=r.extend,h=r.merge;t=r.wrap;n.prototype.transformFromLatLon=function(n,t){var i=this.userOptions.chart&&this.userOptions.chart.proj4||f.proj4,r;return i?(n=i(t.crs,[n.lon,n.lat]),i=t.cosAngle||t.rotation&&Math.cos(t.rotation),r=t.sinAngle||t.rotation&&Math.sin(t.rotation),n=t.rotation?[n[0]*i+n[1]*r,-n[0]*r+n[1]*i]:n,{x:((n[0]-(t.xoffset||0))*(t.scale||1)+(t.xpan||0))*(t.jsonres||1)+(t.jsonmarginX||0),y:(((t.yoffset||0)-n[1])*(t.scale||1)+(t.ypan||0))*(t.jsonres||1)-(t.jsonmarginY||0)}):(u(21,!1,this),{x:0,y:null})};n.prototype.transformToLatLon=function(n,t){if("undefined"==typeof f.proj4)u(21,!1,this);else{n={x:((n.x-(t.jsonmarginX||0))/(t.jsonres||1)-(t.xpan||0))/(t.scale||1)+(t.xoffset||0),y:((-n.y-(t.jsonmarginY||0))/(t.jsonres||1)+(t.ypan||0))/(t.scale||1)+(t.yoffset||0)};var i=t.cosAngle||t.rotation&&Math.cos(t.rotation),r=t.sinAngle||t.rotation&&Math.sin(t.rotation);return t=f.proj4(t.crs,"WGS84",t.rotation?{x:n.x*i+n.y*-r,y:n.x*r+n.y*i}:n),{lat:t.y,lon:t.x}}};n.prototype.fromPointToLatLon=function(n){var t=this.mapTransforms,i;if(t){for(i in t)if(Object.hasOwnProperty.call(t,i)&&t[i].hitZone&&e({x:n.x,y:-n.y},t[i].hitZone.coordinates[0]))return this.transformToLatLon(n,t[i]);return this.transformToLatLon(n,t["default"])}u(22,!1,this)};n.prototype.fromLatLonToPoint=function(n){var t=this.mapTransforms,i,r;if(!t)return u(22,!1,this),{x:0,y:null};for(i in t)if(Object.hasOwnProperty.call(t,i)&&t[i].hitZone&&(r=this.transformFromLatLon(n,t[i]),e({x:r.x,y:-r.y},t[i].hitZone.coordinates[0])))return r;return this.transformFromLatLon(n,t["default"])};i.geojson=function(n,t,i){var f=[],r=[],u=function(n){n.forEach(function(n,t){0===t?r.push(["M",n[0],-n[1]]):r.push(["L",n[0],-n[1]])})};return t=t||"map",n.features.forEach(function(n){var i=n.geometry,e=i.type,o;i=i.coordinates;n=n.properties;r=[];"map"===t||"mapbubble"===t?("Polygon"===e?(i.forEach(u),r.push(["Z"])):"MultiPolygon"===e&&(i.forEach(function(n){n.forEach(u)}),r.push(["Z"])),r.length&&(o={path:r})):"mapline"===t?("LineString"===e?u(i):"MultiLineString"===e&&i.forEach(u),r.length&&(o={path:r})):"mappoint"===t&&"Point"===e&&(o={x:i[0],y:-i[1]});o&&f.push(s(o,{name:n.name||n.NAME,properties:n}))}),i&&n.copyrightShort&&(i.chart.mapCredits=o(i.chart.options.credits.mapText,{geojson:n}),i.chart.mapCreditsFull=o(i.chart.options.credits.mapTextFull,{geojson:n})),f};t(n.prototype,"addCredits",function(n,t){t=h(!0,this.options.credits,t);this.mapCredits&&(t.href=null);n.call(this,t);this.credits&&this.mapCreditsFull&&this.credits.attr({title:this.mapCreditsFull})})}),i(t,"masters/modules/map.src.js",[t["Core/Globals.js"],t["Core/Chart/MapChart.js"]],function(n,t){n.MapChart=t;n.mapChart=n.Map=t.mapChart;n.maps=t.maps}),i(t,"masters/highmaps.src.js",[t["masters/highcharts.src.js"]],function(n){return n.product="Highmaps",n}),t["masters/highmaps.src.js"]._modules=t,t["masters/highmaps.src.js"]}),function(n){"object"==typeof module&&module.exports?(n["default"]=n,module.exports=n):"function"==typeof define&&define.amd?define("highcharts/highcharts-more",["highcharts"],function(t){return n(t),n.Highcharts=t,n}):n("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(n){function t(n,t,i,r){n.hasOwnProperty(t)||(n[t]=r.apply(null,i))}n=n?n._modules:{};t(n,"Extensions/Pane.js",[n["Core/Chart/Chart.js"],n["Core/Globals.js"],n["Core/Color/Palette.js"],n["Core/Pointer.js"],n["Core/Utilities.js"],n["Mixins/CenteredSeries.js"]],function(n,t,i,r,u,f){function o(n,t,i){return Math.sqrt(Math.pow(n-i[0],2)+Math.pow(t-i[1],2))<=i[2]/2}var s=u.addEvent,h=u.extend,e=u.merge,c=u.pick,l=u.splat;return n.prototype.collectionsWithUpdate.push("pane"),u=function(){function n(n,t){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:i.neutralColor20,backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,i.backgroundColor],[1,i.neutralColor10]]},from:-Number.MAX_VALUE,innerRadius:0,to:Number.MAX_VALUE,outerRadius:"105%"};this.init(n,t)}return n.prototype.init=function(n,t){this.chart=t;this.background=[];t.pane.push(this);this.setOptions(n)},n.prototype.setOptions=function(n){this.options=e(this.defaultOptions,this.chart.angular?{background:{}}:void 0,n)},n.prototype.render=function(){var i=this.options,t=this.options.background,n=this.chart.renderer;if(this.group||(this.group=n.g("pane-group").attr({zIndex:i.zIndex||0}).add()),this.updateCenter(),t)for(t=l(t),i=Math.max(t.length,this.background.length||0),n=0;n<i;n++)t[n]&&this.axis?this.renderBackground(e(this.defaultBackgroundOptions,t[n]),n):this.background[n]&&(this.background[n]=this.background[n].destroy(),this.background.splice(n,1))},n.prototype.renderBackground=function(n,t){var i="animate",r={"class":"highcharts-pane "+(n.className||"")};this.chart.styledMode||h(r,{fill:n.backgroundColor,stroke:n.borderColor,"stroke-width":n.borderWidth});this.background[t]||(this.background[t]=this.chart.renderer.path().add(this.group),i="attr");this.background[t][i]({d:this.axis.getPlotBandPath(n.from,n.to,n)}).attr(r)},n.prototype.updateCenter=function(n){this.center=(n||this.axis||{}).center=f.getCenter.call(this)},n.prototype.update=function(n,t){e(!0,this.options,n);e(!0,this.chart.options.pane,n);this.setOptions(this.options);this.render();this.chart.axes.forEach(function(n){n.pane===this&&(n.pane=null,n.update({},t))},this)},n}(),n.prototype.getHoverPane=function(n){var t=this,i;return n&&t.pane.forEach(function(r){var u=n.chartX-t.plotLeft,f=n.chartY-t.plotTop;o(t.inverted?f:u,t.inverted?u:f,r.center)&&(i=r)}),i},s(n,"afterIsInsidePlot",function(n){this.polar&&(n.isInsidePlot=this.pane.some(function(t){return o(n.x,n.y,t.center)}))}),s(r,"beforeGetHoverData",function(n){var t=this.chart;t.polar?(t.hoverPane=t.getHoverPane(n),n.filter=function(i){return i.visible&&!(!n.shared&&i.directTouch)&&c(i.options.enableMouseTracking,!0)&&(!t.hoverPane||i.xAxis.pane===t.hoverPane)}):t.hoverPane=void 0}),s(r,"afterGetHoverData",function(n){var t=this.chart;n.hoverPoint&&n.hoverPoint.plotX&&n.hoverPoint.plotY&&t.hoverPane&&!o(n.hoverPoint.plotX,n.hoverPoint.plotY,t.hoverPane.center)&&(n.hoverPoint=void 0)}),t.Pane=u,t.Pane});t(n,"Core/Axis/HiddenAxis.js",[],function(){return function(){function n(){}return n.init=function(n){n.getOffset=function(){};n.redraw=function(){this.isDirty=!1};n.render=function(){this.isDirty=!1};n.createLabelCollector=function(){return function(){}};n.setScale=function(){};n.setCategories=function(){};n.setTitle=function(){};n.isHidden=!0},n}()});t(n,"Core/Axis/RadialAxis.js",[n["Core/Axis/Axis.js"],n["Core/Axis/Tick.js"],n["Core/Axis/HiddenAxis.js"],n["Core/Utilities.js"]],function(n,t,i,r){var f=r.addEvent,s=r.correctFloat,e=r.defined,c=r.extend,l=r.fireEvent,h=r.merge,u=r.pick,o=r.relativeLength,a=r.wrap;return r=function(){function t(){}return t.init=function(t){var i=n.prototype;t.setOptions=function(n){n=this.options=h(t.constructor.defaultOptions,this.defaultPolarOptions,n);n.plotBands||(n.plotBands=[]);l(this,"afterSetOptions")};t.getOffset=function(){i.getOffset.call(this);this.chart.axisOffset[this.side]=0};t.getLinePath=function(n,t,i){n=this.pane.center;var f=this.chart,r=u(t,n[2]/2-this.offset),e=this.left||0,o=this.top||0;return"undefined"==typeof i&&(i=this.horiz?0:this.center&&-this.center[3]/2),i&&(r+=i),this.isCircular||"undefined"!=typeof t?(t=this.chart.renderer.symbols.arc(e+n[0],o+n[1],r,r,{start:this.startAngleRad,end:this.endAngleRad,open:!0,innerR:0}),t.xBounds=[e+n[0]],t.yBounds=[o+n[1]-r]):(t=this.postTranslate(this.angleRad,r),t=[["M",this.center[0]+f.plotLeft,this.center[1]+f.plotTop],["L",t.x,t.y]]),t};t.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)};t.beforeSetTickPositions=function(){this.autoConnect=this.isCircular&&"undefined"==typeof u(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)};t.setAxisSize=function(){var n,t;i.setAxisSize.call(this);this.isRadial&&(this.pane.updateCenter(this),n=this.center=this.pane.center.slice(),this.isCircular?this.sector=this.endAngleRad-this.startAngleRad:(t=this.postTranslate(this.angleRad,n[3]/2),n[0]=t.x-this.chart.plotLeft,n[1]=t.y-this.chart.plotTop),this.len=this.width=this.height=(n[2]-n[3])*u(this.sector,1)/2)};t.getPosition=function(n,t){return n=this.translate(n),this.postTranslate(this.isCircular?n:this.angleRad,u(this.isCircular?t:0>n?0:n,this.center[2]/2)-this.offset)};t.postTranslate=function(n,t){var i=this.chart,r=this.center;return n=this.startAngleRad+n,{x:i.plotLeft+r[0]+Math.cos(n)*t,y:i.plotTop+r[1]+Math.sin(n)*t}};t.getPlotBandPath=function(n,t,i){var s=function(n){if("string"==typeof n){var t=parseInt(n,10);return p.test(n)&&(t=t*l/100),t}return n},e=this.center,o=this.startAngleRad,l=e[2]/2,f=Math.min(this.offset,0),h=this.left||0,a=this.top||0,p=/%$/,r=this.isCircular,c=u(s(i.outerRadius),l),v=s(i.innerRadius),y;return s=u(s(i.thickness),10),"polygon"===this.options.gridLineInterpolation?f=this.getPlotLinePath({value:n}).concat(this.getPlotLinePath({value:t,reverse:!0})):(n=Math.max(n,this.min),t=Math.min(t,this.max),n=this.translate(n),t=this.translate(t),r||(c=n||0,v=t||0),"circle"!==i.shape&&r?(i=o+(n||0),o+=t||0):(i=-Math.PI/2,o=1.5*Math.PI,y=!0),c-=f,f=this.chart.renderer.symbols.arc(h+e[0],a+e[1],c,c,{start:Math.min(i,o),end:Math.max(i,o),innerR:u(v,c-(s-f)),open:y}),r&&(r=(o+i)/2,h=h+e[0]+e[2]/2*Math.cos(r),f.xBounds=r>-Math.PI/2&&r<Math.PI/2?[h,this.chart.plotWidth]:[0,h],f.yBounds=[a+e[1]+e[2]/2*Math.sin(r)],f.yBounds[0]+=r>-Math.PI&&0>r||r>Math.PI?-10:10)),f};t.getCrosshairPosition=function(n,t,i){var u=n.value,o=this.pane.center,r,f;return this.isCircular?(e(u)?n.point&&(r=n.point.shapeArgs||{},r.start&&(u=this.chart.inverted?this.translate(n.point.rectPlotY,!0):n.point.x)):(r=n.chartX||0,f=n.chartY||0,u=this.translate(Math.atan2(f-i,r-t)-this.startAngleRad,!0)),n=this.getPosition(u),r=n.x,f=n.y):(e(u)||(r=n.chartX,f=n.chartY),e(r)&&e(f)&&(i=o[1]+this.chart.plotTop,u=this.translate(Math.min(Math.sqrt(Math.pow(r-t,2)+Math.pow(f-i,2)),o[2]/2)-o[3]/2,!0))),[u,r||0,f||0]};t.getPlotLinePath=function(n){var r=this,e=r.pane.center,s=r.chart,p=s.inverted,t=n.value,l=n.reverse,c=r.getPosition(t),i=r.pane.options.background?r.pane.options.background[0]||r.pane.options.background:{},v=i.innerRadius||"0%",y=i.outerRadius||"100%",a;i=e[0]+s.plotLeft;var u=e[1]+s.plotTop,f=c.x,h=c.y,w=r.height;if(c=e[3]/2,n.isCrosshair&&(h=this.getCrosshairPosition(n,i,u),t=h[0],f=h[1],h=h[2]),r.isCircular)t=Math.sqrt(Math.pow(f-i,2)+Math.pow(h-u,2)),l="string"==typeof v?o(v,1):v/t,s="string"==typeof y?o(y,1):y/t,e&&c&&(t=c/t,l<t&&(l=t),s<t&&(s=t)),e=[["M",i+l*(f-i),u-l*(u-h)],["L",f-(1-s)*(f-i),h+(1-s)*(u-h)]];else if((t=r.translate(t))&&(0>t||t>w)&&(t=0),"circle"===r.options.gridLineInterpolation)e=r.getLinePath(0,t,c);else if(e=[],s[p?"yAxis":"xAxis"].forEach(function(n){n.pane===r.pane&&(a=n)}),a)for(i=a.tickPositions,a.autoConnect&&(i=i.concat([i[0]])),l&&(i=i.slice().reverse()),t&&(t+=c),f=0;f<i.length;f++)u=a.getPosition(i[f],t),e.push(f?["L",u.x,u.y]:["M",u.x,u.y]);return e};t.getTitlePosition=function(){var n=this.center,i=this.chart,t=this.options.title;return{x:i.plotLeft+n[0]+(t.x||0),y:i.plotTop+n[1]-{high:.5,middle:.25,low:0}[t.align]*n[2]+(t.y||0)}};t.createLabelCollector=function(){var n=this;return function(){if(n.isRadial&&n.tickPositions&&!0!==n.options.labels.allowOverlap)return n.tickPositions.map(function(t){return n.ticks[t]&&n.ticks[t].label}).filter(function(n){return!!n})}}},t.compose=function(n,r){f(n,"init",function(r){var u=this.chart,l=u.inverted,e=u.angular,s=u.polar,c=this.isXAxis,o=this.coll,a=e&&c,f,v=u.options;r=r.userOptions.pane||0;r=this.pane=u.pane&&u.pane[r];"colorAxis"===o?this.isRadial=!1:(e?(a?i.init(this):t.init(this),f=!c)&&(this.defaultPolarOptions=t.defaultRadialGaugeOptions):s&&(t.init(this),this.defaultPolarOptions=(f=this.horiz)?t.defaultCircularOptions:h("xAxis"===o?n.defaultOptions:n.defaultYAxisOptions,t.defaultRadialOptions),l&&"yAxis"===o&&(this.defaultPolarOptions.stackLabels=n.defaultYAxisOptions.stackLabels,this.defaultPolarOptions.reversedStacks=!0)),e||s?(this.isRadial=!0,v.chart.zoomType=null,this.labelCollector||(this.labelCollector=this.createLabelCollector()),this.labelCollector&&u.labelCollectors.push(this.labelCollector)):this.isRadial=!1,r&&f&&(r.axis=this),this.isCircular=f)});f(n,"afterInit",function(){var n=this.chart,r=this.options,t=this.pane,i=t&&t.options;(!n.angular||!this.isXAxis)&&t&&(n.angular||n.polar)&&(this.angleRad=(r.angle||0)*Math.PI/180,this.startAngleRad=(i.startAngle-90)*Math.PI/180,this.endAngleRad=(u(i.endAngle,i.startAngle+360)-90)*Math.PI/180,this.offset=r.offset||0)});f(n,"autoLabelAlign",function(n){this.isRadial&&(n.align=void 0,n.preventDefault())});f(n,"destroy",function(){if(this.chart&&this.chart.labelCollectors){var n=this.labelCollector?this.chart.labelCollectors.indexOf(this.labelCollector):-1;0<=n&&this.chart.labelCollectors.splice(n,1)}});f(n,"initialAxisTranslation",function(){this.isRadial&&this.beforeSetTickPositions()});f(r,"afterGetPosition",function(n){this.axis.getPosition&&c(n.pos,this.axis.getPosition(this.pos))});f(r,"afterGetLabelPosition",function(n){var i=this.axis,c=this.label,k;if(c){var r=c.getBBox(),y=i.options.labels,w=y.y,p=20,l=y.align,a=(i.translate(this.pos)+i.startAngleRad+Math.PI/2)/Math.PI*180%360,f=Math.round(a),s="end",t=0>f?f+360:f,h=t,v=0,b=0,d=e(w)?0:.3*-r.height;i.isRadial&&(k=i.getPosition(this.pos,i.center[2]/2+o(u(y.distance,-25),i.center[2]/2,-i.center[2]/2)),"auto"===y.rotation?c.attr({rotation:a}):e(w)||(w=i.chart.renderer.fontMetrics(c.styles&&c.styles.fontSize).b-r.height/2),e(l)||(i.isCircular?(r.width>i.len*i.tickInterval/(i.max-i.min)&&(p=0),l=a>p&&a<180-p?"left":a>180+p&&a<360-p?"right":"center"):l="center",c.attr({align:l})),"auto"===l&&2===i.tickPositions.length&&i.isCircular&&(90<t&&180>t?t=180-t:270<t&&360>=t&&(t=540-t),180<h&&360>=h&&(h=360-h),(i.pane.options.startAngle===f||i.pane.options.startAngle===f+360||i.pane.options.startAngle===f-360)&&(s="start"),l=-90<=f&&90>=f||-360<=f&&-270>=f||270<=f&&360>=f?"start"===s?"right":"left":"start"===s?"left":"right",70<h&&110>h&&(l="center"),15>t||180<=t&&195>t?v=.3*r.height:15<=t&&35>=t?v="start"===s?0:.75*r.height:195<=t&&215>=t?v="start"===s?.75*r.height:0:35<t&&90>=t?v="start"===s?.25*-r.height:r.height:215<t&&270>=t&&(v="start"===s?r.height:.25*-r.height),15>h?b="start"===s?.15*-r.height:.15*r.height:165<h&&180>=h&&(b="start"===s?.15*r.height:.15*-r.height),c.attr({align:l}),c.translate(b,v+d)),n.pos.x=k.x+(y.x||0),n.pos.y=k.y+(w||0))}});a(r.prototype,"getMarkPath",function(n,t,i,r,u,f,e){var o=this.axis;return o.isRadial?(n=o.getPosition(this.pos,o.center[2]/2+r),t=["M",t,i,"L",n.x,n.y]):t=n.call(this,t,i,r,u,f,e),t})},t.defaultCircularOptions={gridLineWidth:1,labels:{align:void 0,distance:15,x:0,y:void 0,style:{textOverflow:"none"}},maxPadding:0,minPadding:0,showLastLabel:!1,tickLength:0},t.defaultRadialGaugeOptions={labels:{align:"center",x:0,y:void 0},minorGridLineWidth:0,minorTickInterval:"auto",minorTickLength:10,minorTickPosition:"inside",minorTickWidth:1,tickLength:10,tickPosition:"inside",tickWidth:2,title:{rotation:0},zIndex:2},t.defaultRadialOptions={gridLineInterpolation:"circle",gridLineWidth:1,labels:{align:"right",x:-3,y:-2},showLastLabel:!1,title:{x:4,text:null,rotation:90}},t}(),r.compose(n,t),r});t(n,"Series/AreaRange/AreaRangePoint.js",[n["Series/Area/AreaSeries.js"],n["Core/Series/Point.js"],n["Core/Utilities.js"]],function(n,t,i){var e=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),r=t.prototype,u=i.defined,f=i.isNumber;return function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.high=void 0,t.low=void 0,t.options=void 0,t.plotHigh=void 0,t.plotLow=void 0,t.plotHighX=void 0,t.plotLowX=void 0,t.plotX=void 0,t.series=void 0,t}return e(t,n),t.prototype.setState=function(){var i=this.state,n=this.series,t=n.chart.polar;u(this.plotHigh)||(this.plotHigh=n.yAxis.toPixels(this.high,!0));u(this.plotLow)||(this.plotLow=this.plotY=n.yAxis.toPixels(this.low,!0));n.stateMarkerGraphic&&(n.lowerStateMarkerGraphic=n.stateMarkerGraphic,n.stateMarkerGraphic=n.upperStateMarkerGraphic);this.graphic=this.upperGraphic;this.plotY=this.plotHigh;t&&(this.plotX=this.plotHighX);r.setState.apply(this,arguments);this.state=i;this.plotY=this.plotLow;this.graphic=this.lowerGraphic;t&&(this.plotX=this.plotLowX);n.stateMarkerGraphic&&(n.upperStateMarkerGraphic=n.stateMarkerGraphic,n.stateMarkerGraphic=n.lowerStateMarkerGraphic,n.lowerStateMarkerGraphic=void 0);r.setState.apply(this,arguments)},t.prototype.haloPath=function(){var t=this.series.chart.polar,n=[];return this.plotY=this.plotLow,t&&(this.plotX=this.plotLowX),this.isInside&&(n=r.haloPath.apply(this,arguments)),this.plotY=this.plotHigh,t&&(this.plotX=this.plotHighX),this.isTopInside&&(n=n.concat(r.haloPath.apply(this,arguments))),n},t.prototype.isValid=function(){return f(this.low)&&f(this.high)},t}(n.prototype.pointClass)});t(n,"Series/AreaRange/AreaRangeSeries.js",[n["Series/AreaRange/AreaRangePoint.js"],n["Series/Area/AreaSeries.js"],n["Series/Column/ColumnSeries.js"],n["Core/Globals.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(n,t,i,r,u,f,e){var l=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),h=t.prototype,a=i.prototype;i=r.noop;var o=u.prototype,v=e.defined,s=e.extend,y=e.isArray,c=e.pick,p=e.merge;return u=function(n){function i(){var t=null!==n&&n.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t.lowerStateMarkerGraphic=void 0,t.xAxis=void 0,t}return l(i,n),i.prototype.toYData=function(n){return[n.low,n.high]},i.prototype.highToXY=function(n){var t=this.chart,i=this.xAxis.postTranslate(n.rectPlotX||0,this.yAxis.len-n.plotHigh);n.plotHighX=i.x-t.plotLeft;n.plotHigh=i.y-t.plotTop;n.plotLowX=n.plotX},i.prototype.translate=function(){var n=this,i=n.yAxis,t=!!n.modifyValue;h.translate.apply(n);n.points.forEach(function(r){var u=r.high,f=r.plotY;r.isNull?r.plotY=null:(r.plotLow=f,r.plotHigh=i.translate(t?n.modifyValue(u,r):u,0,1,0,1),t&&(r.yBottom=r.plotHigh))});this.chart.polar&&this.points.forEach(function(t){n.highToXY(t);t.tooltipPos=[(t.plotHighX+t.plotLowX)/2,(t.plotHigh+t.plotLow)/2]})},i.prototype.getGraphPath=function(n){var e=[],i=[],u,o=h.getGraphPath,r=this.options,a=this.chart.polar,v=a&&!1!==r.connectEnds,y=r.connectNulls,f=r.step,t,s,l;for(n=n||this.points,u=n.length;u--;)t=n[u],s=a?{plotX:t.rectPlotX,plotY:t.yBottom,doCurve:!1}:{plotX:t.plotX,plotY:t.plotY,doCurve:!1},t.isNull||v||y||n[u+1]&&!n[u+1].isNull||i.push(s),l={polarPlotY:t.polarPlotY,rectPlotX:t.rectPlotX,yBottom:t.yBottom,plotX:c(t.plotHighX,t.plotX),plotY:t.plotHigh,isNull:t.isNull},i.push(l),e.push(l),t.isNull||v||y||n[u-1]&&!n[u-1].isNull||i.push(s);return n=o.call(this,n),f&&(!0===f&&(f="left"),r.step={left:"right",center:"center",right:"left"}[f]),e=o.call(this,e),i=o.call(this,i),r.step=f,r=[].concat(n,e),!this.chart.polar&&i[0]&&"M"===i[0][0]&&(i[0]=["L",i[0][1],i[0][2]]),this.graphPath=r,this.areaPath=n.concat(i),r.isArea=!0,r.xMap=n.xMap,this.areaPath.xMap=n.xMap,r},i.prototype.drawDataLabels=function(){var e=this.points,h=e.length,t,c=[],r=this.options.dataLabels,n,l=this.chart.inverted,i,u,f;if(r){if(y(r)?(i=r[0]||{enabled:!1},u=r[1]||{enabled:!1}):(i=s({},r),i.x=r.xHigh,i.y=r.yHigh,u=s({},r),u.x=r.xLow,u.y=r.yLow),i.enabled||this._hasPointLabels){for(t=h;t--;)(n=e[t])&&(f=i.inside?n.plotHigh<n.plotLow:n.plotHigh>n.plotLow,n.y=n.high,n._plotY=n.plotY,n.plotY=n.plotHigh,c[t]=n.dataLabel,n.dataLabel=n.dataLabelUpper,n.below=f,l?i.align||(i.align=f?"right":"left"):i.verticalAlign||(i.verticalAlign=f?"top":"bottom"));for(this.options.dataLabels=i,o.drawDataLabels&&o.drawDataLabels.apply(this,arguments),t=h;t--;)(n=e[t])&&(n.dataLabelUpper=n.dataLabel,n.dataLabel=c[t],delete n.dataLabels,n.y=n.low,n.plotY=n._plotY)}if(u.enabled||this._hasPointLabels){for(t=h;t--;)(n=e[t])&&(f=u.inside?n.plotHigh<n.plotLow:n.plotHigh>n.plotLow,n.below=!f,l?u.align||(u.align=f?"left":"right"):u.verticalAlign||(u.verticalAlign=f?"bottom":"top"));this.options.dataLabels=u;o.drawDataLabels&&o.drawDataLabels.apply(this,arguments)}if(i.enabled)for(t=h;t--;)(n=e[t])&&(n.dataLabels=[n.dataLabelUpper,n.dataLabel].filter(function(n){return!!n}));this.options.dataLabels=r}},i.prototype.alignDataLabel=function(){a.alignDataLabel.apply(this,arguments)},i.prototype.drawPoints=function(){var i=this.points.length,t,n;for(o.drawPoints.apply(this,arguments),t=0;t<i;)n=this.points[t],n.origProps={plotY:n.plotY,plotX:n.plotX,isInside:n.isInside,negative:n.negative,zone:n.zone,y:n.y},n.lowerGraphic=n.graphic,n.graphic=n.upperGraphic,n.plotY=n.plotHigh,v(n.plotHighX)&&(n.plotX=n.plotHighX),n.y=c(n.high,n.origProps.y),n.negative=n.y<(this.options.threshold||0),this.zones.length&&(n.zone=n.getZone()),this.chart.polar||(n.isInside=n.isTopInside="undefined"!=typeof n.plotY&&0<=n.plotY&&n.plotY<=this.yAxis.len&&0<=n.plotX&&n.plotX<=this.xAxis.len),t++;for(o.drawPoints.apply(this,arguments),t=0;t<i;)n=this.points[t],n.upperGraphic=n.graphic,n.graphic=n.lowerGraphic,n.origProps&&(s(n,n.origProps),delete n.origProps),t++},i.defaultOptions=p(t.defaultOptions,{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}}),i}(t),s(u.prototype,{pointArrayMap:["low","high"],pointValKey:"low",deferTranslatePolar:!0,pointClass:n,setStackedPoints:i}),f.registerSeriesType("arearange",u),u});t(n,"Series/AreaSplineRange/AreaSplineRangeSeries.js",[n["Series/AreaRange/AreaRangeSeries.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(n,t,i){var u=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),f=t.seriesTypes.spline,e=i.merge,r;return i=i.extend,r=function(t){function i(){var n=null!==t&&t.apply(this,arguments)||this;return n.options=void 0,n.data=void 0,n.points=void 0,n}return u(i,t),i.defaultOptions=e(n.defaultOptions),i}(n),i(r.prototype,{getPointSpline:f.prototype.getPointSpline}),t.registerSeriesType("areasplinerange",r),r});t(n,"Series/ColumnRange/ColumnRangePoint.js",[n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(n,t){var f=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),i=n.seriesTypes,r,u;return n=i.column.prototype.pointClass,r=t.extend,u=t.isNumber,t=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.series=void 0,t.options=void 0,t.barX=void 0,t.pointWidth=void 0,t.shapeType=void 0,t}return f(t,n),t.prototype.isValid=function(){return u(this.low)},t}(i.arearange.prototype.pointClass),r(t.prototype,{setState:n.prototype.setState}),t});t(n,"Series/ColumnRange/ColumnRangeSeries.js",[n["Series/ColumnRange/ColumnRangePoint.js"],n["Core/Globals.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(n,t,i,r){var l=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),c;t=t.noop;var f=i.seriesTypes,e=f.arearange,o=f.column,u=o.prototype,a=e.prototype,s=r.clamp,h=r.merge,v=r.pick;return r=r.extend,c={pointRange:null,marker:null,states:{hover:{halo:!1}}},f=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t}return l(t,n),t.prototype.setOptions=function(){return h(!0,arguments[0],{stacking:void 0}),a.setOptions.apply(this,arguments)},t.prototype.translate=function(){var n=this,i=n.yAxis,r=n.xAxis,h=r.startAngleRad,e,t=n.chart,c=n.xAxis.isRadial,f=Math.max(t.chartWidth,t.chartHeight)+999,o;u.translate.apply(n);n.points.forEach(function(u){var a=u.shapeArgs||{},y=n.options.minPointLength,p,l;u.plotHigh=o=s(i.translate(u.high,0,1,0,1),-f,f);u.plotLow=s(u.plotY,-f,f);p=o;l=v(u.rectPlotY,u.plotY)-o;Math.abs(l)<y?(y-=l,l+=y,p-=y/2):0>l&&(l*=-1,p-=l);c?(e=u.barX+h,u.shapeType="arc",u.shapeArgs=n.polarArc(p+l,p,e,e+u.pointWidth)):(a.height=l,a.y=p,y=a.x,y=void 0===y?0:y,a=a.width,a=void 0===a?0:a,u.tooltipPos=t.inverted?[i.len+i.pos-t.plotLeft-p-l/2,r.len+r.pos-t.plotTop-y-a/2,l]:[r.left-t.plotLeft+y+a/2,i.pos-t.plotTop+p+l/2,l])})},t.prototype.crispCol=function(){return u.crispCol.apply(this,arguments)},t.prototype.drawPoints=function(){return u.drawPoints.apply(this,arguments)},t.prototype.drawTracker=function(){return u.drawTracker.apply(this,arguments)},t.prototype.getColumnMetrics=function(){return u.getColumnMetrics.apply(this,arguments)},t.prototype.pointAttribs=function(){return u.pointAttribs.apply(this,arguments)},t.prototype.adjustForMissingColumns=function(){return u.adjustForMissingColumns.apply(this,arguments)},t.prototype.animate=function(){return u.animate.apply(this,arguments)},t.prototype.translate3dPoints=function(){return u.translate3dPoints.apply(this,arguments)},t.prototype.translate3dShapes=function(){return u.translate3dShapes.apply(this,arguments)},t.defaultOptions=h(o.defaultOptions,e.defaultOptions,c),t}(e),r(f.prototype,{directTouch:!0,trackerGroups:["group","dataLabelsGroup"],drawGraph:t,getSymbol:t,polarArc:function(){return u.polarArc.apply(this,arguments)},pointClass:n}),i.registerSeriesType("columnrange",f),f});t(n,"Series/ColumnPyramid/ColumnPyramidSeries.js",[n["Series/Column/ColumnSeries.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(n,t,i){var u=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),f=n.prototype,e=i.clamp,o=i.merge,r=i.pick;return i=function(t){function i(){var n=null!==t&&t.apply(this,arguments)||this;return n.data=void 0,n.options=void 0,n.points=void 0,n}return u(i,t),i.prototype.translate=function(){var n=this,t=n.chart,u=n.options,h=n.dense=2>n.closestPointRange*n.xAxis.transA;h=n.borderWidth=r(u.borderWidth,h?0:1);var i=n.yAxis,c=u.threshold,o=n.translatedThreshold=i.getThreshold(c),s=r(u.minPointLength,5),a=n.getColumnMetrics(),v=a.width,l=n.barW=Math.max(v,1+2*h),y=n.pointXOffset=a.offset;t.inverted&&(o-=.5);u.pointPadding&&(l=Math.ceil(l));f.translate.apply(n);n.points.forEach(function(f){var p=r(f.yBottom,o),w=999+Math.abs(p),h=e(f.plotY,-w,i.len+w),a,k,b,d,g,nt,tt,it;w=f.plotX+y;a=l/2;k=Math.min(h,p);p=Math.max(h,p)-k;f.barX=w;f.pointWidth=v;f.tooltipPos=t.inverted?[i.len+i.pos-t.plotLeft-h,n.xAxis.len-w-a,p]:[w+a,h+i.pos-t.plotTop,p];h=c+(f.total||f.y);"percent"===u.stacking&&(h=c+(0>f.y)?-100:100);h=i.toPixels(h,!0);d=(b=t.plotHeight-h-(t.plotHeight-o))?a*(k-h)/b:0;g=b?a*(k+p-h)/b:0;b=w-d+a;d=w+d+a;nt=w+g+a;g=w-g+a;tt=k-s;it=k+p;0>f.y&&(tt=k,it=k+p+s);t.inverted&&(nt=t.plotWidth-k,b=h-(t.plotWidth-o),d=a*(h-nt)/b,g=a*(h-(nt-p))/b,b=w+a+d,d=b-2*d,nt=w-g+a,g=w+g+a,tt=k,it=k+p-s,0>f.y&&(it=k+p+s));f.shapeType="path";f.shapeArgs={x:b,y:tt,width:d-b,height:p,d:[["M",b,tt],["L",d,tt],["L",nt,it],["L",g,it],["Z"]]}})},i.defaultOptions=o(n.defaultOptions,{}),i}(n),t.registerSeriesType("columnpyramid",i),i});t(n,"Series/Gauge/GaugePoint.js",[n["Core/Series/SeriesRegistry.js"]],function(n){var t=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}();return function(n){function i(){var t=null!==n&&n.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t.shapeArgs=void 0,t}return t(i,n),i.prototype.setState=function(n){this.state=n},i}(n.series.prototype.pointClass)});t(n,"Series/Gauge/GaugeSeries.js",[n["Series/Gauge/GaugePoint.js"],n["Core/Globals.js"],n["Core/Color/Palette.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(n,t,i,r,u){var c=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}();t=t.noop;var e=r.series,l=r.seriesTypes.column,a=u.clamp,h=u.isNumber,v=u.extend,o=u.merge,f=u.pick,s=u.pInt;return u=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t.yAxis=void 0,t}return c(t,n),t.prototype.translate=function(){var n=this.yAxis,i=this.options,t=n.center;this.generatePoints();this.points.forEach(function(r){var u=o(i.dial,r.dial),l=s(f(u.radius,"80%"))*t[2]/200,y=s(f(u.baseLength,"70%"))*l/100,p=s(f(u.rearLength,"10%"))*l/100,v=u.baseWidth||3,w=u.topWidth||1,e=i.overshoot,c=n.startAngleRad+n.translate(r.y,null,null,null,!0);(h(e)||!1===i.wrap)&&(e=h(e)?e/180*Math.PI:0,c=a(c,n.startAngleRad-e,n.endAngleRad+e));c=180*c/Math.PI;r.shapeType="path";r.shapeArgs={d:u.path||[["M",-p,-v/2],["L",y,-v/2],["L",l,-w/2],["L",l,w/2],["L",y,v/2],["L",-p,v/2],["Z"]],translateX:t[0],translateY:t[1],rotation:c};r.plotX=t[0];r.plotY=t[1]})},t.prototype.drawPoints=function(){var n=this,u=n.chart,t=n.yAxis.center,e=n.pivot,s=n.options,r=s.pivot,h=u.renderer;n.points.forEach(function(t){var f=t.graphic,r=t.shapeArgs,c=r.d,e=o(s.dial,t.dial);f?(f.animate(r),r.d=c):t.graphic=h[t.shapeType](r).attr({rotation:r.rotation,zIndex:1}).addClass("highcharts-dial").add(n.group);u.styledMode||t.graphic[f?"animate":"attr"]({stroke:e.borderColor||"none","stroke-width":e.borderWidth||0,fill:e.backgroundColor||i.neutralColor100})});e?e.animate({translateX:t[0],translateY:t[1]}):(n.pivot=h.circle(0,0,f(r.radius,5)).attr({zIndex:2}).addClass("highcharts-pivot").translate(t[0],t[1]).add(n.group),u.styledMode||n.pivot.attr({"stroke-width":r.borderWidth||0,stroke:r.borderColor||i.neutralColor20,fill:r.backgroundColor||i.neutralColor100}))},t.prototype.animate=function(n){var t=this;n||t.points.forEach(function(n){var i=n.graphic;i&&(i.attr({rotation:180*t.yAxis.startAngleRad/Math.PI}),i.animate({rotation:n.shapeArgs.rotation},t.options.animation))})},t.prototype.render=function(){this.group=this.plotGroup("group","series",this.visible?"visible":"hidden",this.options.zIndex,this.chart.seriesGroup);e.prototype.render.call(this);this.group.clip(this.chart.clipRect)},t.prototype.setData=function(n,t){e.prototype.setData.call(this,n,!1);this.processData();this.generatePoints();f(t,!0)&&this.chart.redraw()},t.prototype.hasData=function(){return!!this.points.length},t.defaultOptions=o(e.defaultOptions,{dataLabels:{borderColor:i.neutralColor20,borderRadius:3,borderWidth:1,crop:!1,defer:!1,enabled:!0,verticalAlign:"top",y:15,zIndex:2},dial:{},pivot:{},tooltip:{headerFormat:""},showInLegend:!1}),t}(e),v(u.prototype,{angular:!0,directTouch:!0,drawGraph:t,drawTracker:l.prototype.drawTracker,fixedBox:!0,forceDL:!0,noSharedTooltip:!0,pointClass:n,trackerGroups:["group","dataLabelsGroup"]}),r.registerSeriesType("gauge",u),u});t(n,"Series/BoxPlot/BoxPlotSeries.js",[n["Series/Column/ColumnSeries.js"],n["Core/Globals.js"],n["Core/Color/Palette.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(n,t,i,r,u){var e=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}();t=t.noop;var o=u.extend,s=u.merge,f=u.pick;return u=function(t){function r(){var n=null!==t&&t.apply(this,arguments)||this;return n.data=void 0,n.options=void 0,n.points=void 0,n}return e(r,t),r.prototype.pointAttribs=function(){return{}},r.prototype.translate=function(){var n=this.yAxis,i=this.pointArrayMap;t.prototype.translate.apply(this);this.points.forEach(function(t){i.forEach(function(i){null!==t[i]&&(t[i+"Plot"]=n.translate(t[i],0,1,0,1))});t.plotHigh=t.highPlot})},r.prototype.drawPoints=function(){var u=this,n=u.options,k=u.chart,h=k.renderer,o,e,c,l,p,t,i=0,w,r,a,b,v=!1!==u.doQuartiles,y,s=u.options.whiskerLength;u.points.forEach(function(d){var g=d.graphic,it=g?"animate":"attr",et=d.shapeArgs,nt={},rt={},ut={},ft={},tt=d.color||u.color;"undefined"!=typeof d.plotY&&(w=Math.round(et.width),r=Math.floor(et.x),a=r+w,b=Math.round(w/2),o=Math.floor(v?d.q1Plot:d.lowPlot),e=Math.floor(v?d.q3Plot:d.lowPlot),c=Math.floor(d.highPlot),l=Math.floor(d.lowPlot),g||(d.graphic=g=h.g("point").add(u.group),d.stem=h.path().addClass("highcharts-boxplot-stem").add(g),s&&(d.whiskers=h.path().addClass("highcharts-boxplot-whisker").add(g)),v&&(d.box=h.path(void 0).addClass("highcharts-boxplot-box").add(g)),d.medianShape=h.path(void 0).addClass("highcharts-boxplot-median").add(g)),k.styledMode||(rt.stroke=d.stemColor||n.stemColor||tt,rt["stroke-width"]=f(d.stemWidth,n.stemWidth,n.lineWidth),rt.dashstyle=d.stemDashStyle||n.stemDashStyle||n.dashStyle,d.stem.attr(rt),s&&(ut.stroke=d.whiskerColor||n.whiskerColor||tt,ut["stroke-width"]=f(d.whiskerWidth,n.whiskerWidth,n.lineWidth),ut.dashstyle=d.whiskerDashStyle||n.whiskerDashStyle||n.dashStyle,d.whiskers.attr(ut)),v&&(nt.fill=d.fillColor||n.fillColor||tt,nt.stroke=n.lineColor||tt,nt["stroke-width"]=n.lineWidth||0,nt.dashstyle=d.boxDashStyle||n.boxDashStyle||n.dashStyle,d.box.attr(nt)),ft.stroke=d.medianColor||n.medianColor||tt,ft["stroke-width"]=f(d.medianWidth,n.medianWidth,n.lineWidth),ft.dashstyle=d.medianDashStyle||n.medianDashStyle||n.dashStyle,d.medianShape.attr(ft)),t=d.stem.strokeWidth()%2/2,i=r+b+t,g=[["M",i,e],["L",i,c],["M",i,o],["L",i,l]],d.stem[it]({d:g}),v&&(t=d.box.strokeWidth()%2/2,o=Math.floor(o)+t,e=Math.floor(e)+t,r+=t,a+=t,g=[["M",r,e],["L",r,o],["L",a,o],["L",a,e],["L",r,e],["Z"]],d.box[it]({d:g})),s&&(t=d.whiskers.strokeWidth()%2/2,c+=t,l+=t,y=/%$/.test(s)?b*parseFloat(s)/100:s/2,g=[["M",i-y,c],["L",i+y,c],["M",i-y,l],["L",i+y,l]],d.whiskers[it]({d:g})),p=Math.round(d.medianPlot),t=d.medianShape.strokeWidth()%2/2,p+=t,g=[["M",r,p],["L",a,p]],d.medianShape[it]({d:g}))})},r.prototype.toYData=function(n){return[n.low,n.q1,n.median,n.q3,n.high]},r.defaultOptions=s(n.defaultOptions,{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:i.backgroundColor,lineWidth:1,medianWidth:2,whiskerWidth:2}),r}(n),o(u.prototype,{pointArrayMap:["low","q1","median","q3","high"],pointValKey:"high",drawDataLabels:t,setStackedPoints:t}),r.registerSeriesType("boxplot",u),u});t(n,"Series/ErrorBar/ErrorBarSeries.js",[n["Series/BoxPlot/BoxPlotSeries.js"],n["Series/Column/ColumnSeries.js"],n["Core/Color/Palette.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(n,t,i,r,u){var o=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),e=r.seriesTypes.arearange,s=u.merge,f;return u=u.extend,f=function(r){function u(){var n=null!==r&&r.apply(this,arguments)||this;return n.data=void 0,n.options=void 0,n.points=void 0,n}return o(u,r),u.prototype.getColumnMetrics=function(){return this.linkedParent&&this.linkedParent.columnMetrics||t.prototype.getColumnMetrics.call(this)},u.prototype.drawDataLabels=function(){var n=this.pointValKey;e&&(e.prototype.drawDataLabels.call(this),this.data.forEach(function(t){t.y=t[n]}))},u.prototype.toYData=function(n){return[n.low,n.high]},u.defaultOptions=s(n.defaultOptions,{color:i.neutralColor100,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}),u}(n),u(f.prototype,{pointArrayMap:["low","high"],pointValKey:"high",doQuartiles:!1}),r.registerSeriesType("errorbar",f),f});t(n,"Core/Axis/WaterfallAxis.js",[n["Extensions/Stacking.js"],n["Core/Utilities.js"]],function(n,t){var i=t.addEvent,u=t.objectEach,r;return function(t){function f(){var n=this.waterfall.stacks;n&&(n.changed=!1,delete n.alreadyChanged)}function e(){var n=this.options.stackLabels;n&&n.enabled&&this.waterfall.stacks&&this.waterfall.renderStackTotals()}function o(){for(var i=this.axes,t=this.series,n=t.length;n--;)t[n].options.stacking&&(i.forEach(function(n){n.isXAxis||(n.waterfall.stacks.changed=!0)}),n=0)}function s(){this.waterfall||(this.waterfall=new r(this))}var r=function(){function t(n){this.axis=n;this.stacks={changed:!1}}return t.prototype.renderStackTotals=function(){var i=this.axis,r=i.waterfall.stacks,f=i.stacking&&i.stacking.stackTotalGroup,t=new n(i,i.options.stackLabels,!1,0,void 0);this.dummyStackItem=t;u(r,function(i){u(i,function(i){t.total=i.stackTotal;i.label&&(t.label=i.label);n.prototype.render.call(t,f);i.label=t.label;delete t.label})});t.total=null},t}();t.Composition=r;t.compose=function(n,t){i(n,"init",s);i(n,"afterBuildStacks",f);i(n,"afterRender",e);i(t,"beforeRedraw",o)}}(r||(r={})),r});t(n,"Series/Waterfall/WaterfallPoint.js",[n["Series/Column/ColumnSeries.js"],n["Core/Series/Point.js"],n["Core/Utilities.js"]],function(n,t,i){var r=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),u=i.isNumber;return function(n){function i(){var t=null!==n&&n.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t}return r(i,n),i.prototype.getClassName=function(){var n=t.prototype.getClassName.call(this);return this.isSum?n+=" highcharts-sum":this.isIntermediateSum&&(n+=" highcharts-intermediate-sum"),n},i.prototype.isValid=function(){return u(this.y)||this.isSum||!!this.isIntermediateSum},i}(n.prototype.pointClass)});t(n,"Series/Waterfall/WaterfallSeries.js",[n["Core/Chart/Chart.js"],n["Core/Globals.js"],n["Core/Color/Palette.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"],n["Core/Axis/WaterfallAxis.js"],n["Series/Waterfall/WaterfallPoint.js"]],function(n,t,i,r,u,f,e){var p=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),s=r.seriesTypes,o=s.column,l=s.line,a=u.arrayMax,v=u.arrayMin,h=u.correctFloat;s=u.extend;var w=u.merge,y=u.objectEach,c=u.pick;return u=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.chart=void 0,t.data=void 0,t.options=void 0,t.points=void 0,t.stackedYNeg=void 0,t.stackedYPos=void 0,t.stackKey=void 0,t.xData=void 0,t.yAxis=void 0,t.yData=void 0,t}return p(t,n),t.prototype.generatePoints=function(){var i,n,t,r;for(o.prototype.generatePoints.apply(this),n=0,i=this.points.length;n<i;n++)t=this.points[n],r=this.processedYData[n],(t.isIntermediateSum||t.isSum)&&(t.y=h(r))},t.prototype.translate=function(){var a=this.options,u=this.yAxis,l,v=c(a.minPointLength,5),y=v/2,p=a.threshold,b=a.stacking,w=u.waterfall.stacks[this.stackKey],e;o.prototype.translate.apply(this);var h=l=p,k=this.points,s=0;for(a=k.length;s<a;s++){var r=k[s],f=this.processedYData[s],t=r.shapeArgs,n=[0,f],i=r.y;b?w&&(n=w[s],"overlap"===b?(e=n.stackState[n.stateIndex--],e=0<=i?e:e-i,Object.hasOwnProperty.call(n,"absolutePos")&&delete n.absolutePos,Object.hasOwnProperty.call(n,"absoluteNeg")&&delete n.absoluteNeg):(0<=i?(e=n.threshold+n.posTotal,n.posTotal-=i):(e=n.threshold+n.negTotal,n.negTotal-=i,e-=i),!n.posTotal&&Object.hasOwnProperty.call(n,"absolutePos")&&(n.posTotal=n.absolutePos,delete n.absolutePos),!n.negTotal&&Object.hasOwnProperty.call(n,"absoluteNeg")&&(n.negTotal=n.absoluteNeg,delete n.absoluteNeg)),r.isSum||(n.connectorThreshold=n.threshold+n.stackTotal),u.reversed?(f=0<=i?e-i:e+i,i=e):(f=e,i=e-i),r.below=f<=c(p,0),t.y=u.translate(f,0,1,0,1),t.height=Math.abs(t.y-u.translate(i,0,1,0,1)),(i=u.waterfall.dummyStackItem)&&(i.x=s,i.label=w[s].label,i.setOffset(this.pointXOffset||0,this.barW||0,this.stackedYNeg[s],this.stackedYPos[s]))):(e=Math.max(h,h+i)+n[0],t.y=u.translate(e,0,1,0,1),r.isSum?(t.y=u.translate(n[1],0,1,0,1),t.height=Math.min(u.translate(n[0],0,1,0,1),u.len)-t.y):r.isIntermediateSum?(0<=i?(f=n[1]+l,i=l):(f=l,i=n[1]+l),u.reversed&&(f^=i,i^=f,f^=i),t.y=u.translate(f,0,1,0,1),t.height=Math.abs(t.y-Math.min(u.translate(i,0,1,0,1),u.len)),l+=n[1]):(t.height=0<f?u.translate(h,0,1,0,1)-t.y:u.translate(h,0,1,0,1)-u.translate(h-f,0,1,0,1),h+=f,r.below=h<c(p,0)),0>t.height&&(t.y+=t.height,t.height*=-1));r.plotY=t.y=Math.round(t.y)-this.borderWidth%2/2;t.height=Math.max(Math.round(t.height),.001);r.yBottom=t.y+t.height;t.height<=v&&!r.isNull?(t.height=v,t.y-=y,r.plotY=t.y,r.minPointLengthOffset=0>r.y?-y:y):(r.isNull&&(t.width=0),r.minPointLengthOffset=0);t=r.plotY+(r.negative?t.height:0);this.chart.inverted?r.tooltipPos[0]=u.len-t:r.tooltipPos[1]=t}},t.prototype.processData=function(t){for(var c=this.options,f=this.yData,l=c.data,v=f.length,y=c.threshold||0,e,r,o,s,u,a,i=r=e=o=s=0;i<v;i++)u=f[i],a=l&&l[i]?l[i]:{},"sum"===u||a.isSum?f[i]=h(r):"intermediateSum"===u||a.isIntermediateSum?(f[i]=h(e),e=0):(r+=u,e+=u),o=Math.min(r,o),s=Math.max(r,s);n.prototype.processData.call(this,t);c.stacking||(this.dataMin=o+y,this.dataMax=s)},t.prototype.toYData=function(n){return n.isSum?"sum":n.isIntermediateSum?"intermediateSum":n.y},t.prototype.updateParallelArrays=function(t,i){n.prototype.updateParallelArrays.call(this,t,i);("sum"===this.yData[0]||"intermediateSum"===this.yData[0])&&(this.yData[0]=null)},t.prototype.pointAttribs=function(n,t){var i=this.options.upColor;return i&&!n.options.color&&(n.color=0<n.y?i:null),n=o.prototype.pointAttribs.call(this,n,t),delete n.dashstyle,n},t.prototype.getGraphPath=function(){return[["M",0,0]]},t.prototype.getCrispPath=function(){for(var e=this.data,h=this.yAxis,v=e.length,c=Math.round(this.graph.strokeWidth())%2/2,y=Math.round(this.borderWidth)%2/2,l=this.xAxis.reversed,o=this.yAxis.reversed,a=this.options.stacking,i=[],r=1;r<v;r++){var s=e[r].shapeArgs,n=e[r-1],t=e[r-1].shapeArgs,u=h.waterfall.stacks[this.stackKey],f=0<n.y?-t.height:0;u&&t&&s&&(u=u[r-1],a?(u=u.connectorThreshold,f=Math.round(h.translate(u,0,1,0,1)+(o?f:0))-c):f=t.y+n.minPointLengthOffset+y-c,i.push(["M",(t.x||0)+(l?0:t.width||0),f],["L",(s.x||0)+(l?s.width||0:0),f]));t&&i.length&&(!a&&0>n.y&&!o||0<n.y&&o)&&((n=i[i.length-2])&&"number"==typeof n[2]&&(n[2]+=t.height||0),(n=i[i.length-1])&&"number"==typeof n[2]&&(n[2]+=t.height||0))}return i},t.prototype.drawGraph=function(){l.prototype.drawGraph.call(this);this.graph.attr({d:this.getCrispPath()})},t.prototype.setStackedPoints=function(){function p(t,i,r,u){if(s)for(r;r<s;r++)n.stackState[r]+=u;else n.stackState[0]=t,s=n.stackState.length;n.stackState.push(n.stackState[s-1]+i)}var b=this.options,t=this.yAxis.waterfall.stacks,l=b.threshold,i=l||0,w=i,h=this.stackKey,k=this.xData,g=k.length,r,c,a,v,y,e,u,n,f,o,d,s;if(this.yAxis.stacking.usePercentage=!1,v=c=a=i,this.visible||!this.chart.options.chart.ignoreHiddenSeries){for(y=t.changed,(r=t.alreadyChanged)&&0>r.indexOf(h)&&(y=!0),t[h]||(t[h]={}),r=t[h],e=0;e<g;e++)u=k[e],(!r[u]||y)&&(r[u]={negTotal:0,posTotal:0,stackTotal:0,threshold:0,stateIndex:0,stackState:[],label:y&&r[u]?r[u].label:void 0}),n=r[u],f=this.yData[e],0<=f?n.posTotal+=f:n.negTotal+=f,o=b.data[e],u=n.absolutePos=n.posTotal,d=n.absoluteNeg=n.negTotal,n.stackTotal=u+d,s=n.stackState.length,o&&o.isIntermediateSum?(p(a,c,0,a),a=c,c=l,i^=w,w^=i,i^=w):o&&o.isSum?(p(l,v,s),i=l):(p(i,f,0,v),o&&(v+=f,c+=f)),n.stateIndex++,n.threshold=i,i+=n.stackTotal;t.changed=!1;t.alreadyChanged||(t.alreadyChanged=[]);t.alreadyChanged.push(h)}},t.prototype.getExtremes=function(){var r=this.options.stacking,n,t,i;return r?(n=this.yAxis,n=n.waterfall.stacks,t=this.stackedYNeg=[],i=this.stackedYPos=[],"overlap"===r?y(n[this.stackKey],function(n){t.push(v(n.stackState));i.push(a(n.stackState))}):y(n[this.stackKey],function(n){t.push(n.negTotal+n.threshold);i.push(n.posTotal+n.threshold)}),{dataMin:v(t),dataMax:a(i)}):{dataMin:this.dataMin,dataMax:this.dataMax}},t.defaultOptions=w(o.defaultOptions,{dataLabels:{inside:!0},lineWidth:1,lineColor:i.neutralColor80,dashStyle:"Dot",borderColor:i.neutralColor80,states:{hover:{lineWidthPlus:0}}}),t}(o),s(u.prototype,{getZonesGraphs:l.prototype.getZonesGraphs,pointValKey:"y",showLine:!0,pointClass:e}),r.registerSeriesType("waterfall",u),f.compose(t.Axis,n),u});t(n,"Series/Polygon/PolygonSeries.js",[n["Core/Globals.js"],n["Mixins/LegendSymbol.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(n,t,i,r){var o=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),e;n=n.noop;var s=i.series,u=i.seriesTypes,h=u.area,c=u.line,f=u.scatter;return u=r.extend,e=r.merge,r=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return o(t,n),t.prototype.getGraphPath=function(){for(var n=c.prototype.getGraphPath.call(this),t=n.length+1;t--;)(t===n.length||"M"===n[t][0])&&0<t&&n.splice(t,0,["Z"]);return this.areaPath=n},t.prototype.drawGraph=function(){this.options.fillColor=this.color;h.prototype.drawGraph.call(this)},t.defaultOptions=e(f.defaultOptions,{marker:{enabled:!1,states:{hover:{enabled:!1}}},stickyTracking:!1,tooltip:{followPointer:!0,pointFormat:""},trackByArea:!0}),t}(f),u(r.prototype,{type:"polygon",drawLegendSymbol:t.drawRectangle,drawTracker:s.prototype.drawTracker,setStackedPoints:n}),i.registerSeriesType("polygon",r),r});t(n,"Series/Bubble/BubblePoint.js",[n["Core/Series/Point.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(n,t,i){var r=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}();return i=i.extend,t=function(t){function i(){var n=null!==t&&t.apply(this,arguments)||this;return n.options=void 0,n.series=void 0,n}return r(i,t),i.prototype.haloPath=function(t){return n.prototype.haloPath.call(this,0===t?0:(this.marker?this.marker.radius||0:0)+t)},i}(t.seriesTypes.scatter.prototype.pointClass),i(t.prototype,{ttBelow:!1}),t});t(n,"Series/Bubble/BubbleLegend.js",[n["Core/Chart/Chart.js"],n["Core/Color/Color.js"],n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Legend.js"],n["Core/Options.js"],n["Core/Color/Palette.js"],n["Core/Series/Series.js"],n["Core/Utilities.js"]],function(n,t,i,r,u,f,e,o,s){var a=t.parse,v=r.noop;f=f.setOptions;t=s.addEvent;var y=s.arrayMax,p=s.arrayMin,l=s.isNumber,c=s.merge,w=s.objectEach,h=s.pick,b=s.stableSort;return s=s.wrap,f({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:"10px",color:e.neutralColor100},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}}}),e=function(){function n(n,t){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=v;this.init(n,t)}return n.prototype.init=function(n,t){this.options=n;this.visible=!0;this.chart=t.chart;this.legend=t},n.prototype.addToLegend=function(n){n.splice(this.options.legendIndex,0,this)},n.prototype.drawLegendSymbol=function(n){var r=this.chart,u=this.options,f=h(n.options.itemDistance,20),t=u.ranges,i=u.connectorDistance;this.fontMetrics=r.renderer.fontMetrics(u.labels.style.fontSize);t&&t.length&&l(t[0].value)?(b(t,function(n,t){return t.value-n.value}),this.ranges=t,this.setOptions(),this.render(),r=this.getMaxLabelSize(),t=this.ranges[0].radius,n=2*t,i=i-t+r.width,i=0<i?i:0,this.maxLabel=r,this.movementX="left"===u.labels.align?i:0,this.legendItemWidth=n+i+f,this.legendItemHeight=n+this.fontMetrics.h/2):n.options.bubbleLegend.autoRanges=!0},n.prototype.setOptions=function(){var t=this.ranges,n=this.options,i=this.chart.series[n.seriesIndex],o=this.legend.baseline,r={zIndex:n.zIndex,"stroke-width":n.borderWidth},u={zIndex:n.zIndex,"stroke-width":n.connectorWidth},s={align:this.legend.options.rtl||"left"===n.labels.align?"right":"left",zIndex:n.zIndex},f=i.options.marker.fillOpacity,e=this.chart.styledMode;t.forEach(function(l,v){e||(r.stroke=h(l.borderColor,n.borderColor,i.color),r.fill=h(l.color,n.color,1!==f?a(i.color).setOpacity(f).get("rgba"):i.color),u.stroke=h(l.connectorColor,n.connectorColor,i.color));t[v].radius=this.getRangeRadius(l.value);t[v]=c(t[v],{center:t[0].radius-t[v].radius+o});e||c(!0,t[v],{bubbleAttribs:c(r),connectorAttribs:c(u),labelAttribs:s})},this)},n.prototype.getRangeRadius=function(n){var t=this.options;return this.chart.series[this.options.seriesIndex].getRadius.call(this,t.ranges[t.ranges.length-1].value,t.ranges[0].value,t.minSize,t.maxSize,n)},n.prototype.render=function(){var n=this.chart.renderer,t=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]});this.legendSymbol=n.g("bubble-legend");this.legendItem=n.g("bubble-legend-item");this.legendSymbol.translateX=0;this.legendSymbol.translateY=0;this.ranges.forEach(function(n){n.value>=t&&this.renderRange(n)},this);this.legendSymbol.add(this.legendItem);this.legendItem.add(this.legendGroup);this.hideOverlappingLabels()},n.prototype.renderRange=function(n){var t=this.options,a=t.labels,o=this.chart,w=o.series[t.seriesIndex],f=o.renderer,c=this.symbols,i,l;o=c.labels;var v=n.center,y=Math.abs(n.radius),r=t.connectorDistance||0,e=a.align;r=this.legend.options.rtl||"left"===e?-r:r;var p=t.connectorWidth,s=this.ranges[0].radius||0,h=v-y-t.borderWidth/2+p/2,u=this.fontMetrics;u=u.f/2-(u.h-u.f)/2;i=f.styledMode;"center"===e&&(r=0,t.connectorDistance=0,n.labelAttribs.align="center");e=h+t.labels.y;l=s+r+t.labels.x;c.bubbleItems.push(f.circle(s,v+((h%1?1:.5)-(p%2?0:.5)),y).attr(i?{}:n.bubbleAttribs).addClass((i?"highcharts-color-"+w.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(t.className||"")).add(this.legendSymbol));c.connectors.push(f.path(f.crispLine([["M",s,h],["L",s+r,h]],t.connectorWidth)).attr(i?{}:n.connectorAttribs).addClass((i?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(t.connectorClassName||"")).add(this.legendSymbol));n=f.text(this.formatLabel(n),l,e+u).attr(i?{}:n.labelAttribs).css(i?{}:a.style).addClass("highcharts-bubble-legend-labels "+(t.labels.className||"")).add(this.legendSymbol);o.push(n);n.placed=!0;n.alignAttr={x:l,y:e+u}},n.prototype.getMaxLabelSize=function(){var n,t;return this.symbols.labels.forEach(function(i){t=i.getBBox(!0);n=n?t.width>n.width?t:n:t}),n||{}},n.prototype.formatLabel=function(n){var t=this.options,r=t.labels.formatter,u;return t=t.labels.format,u=this.chart.numberFormatter,t?i.format(t,n):r?r.call(n):u(n.value,1)},n.prototype.hideOverlappingLabels=function(){var t=this.chart,n=this.symbols;!this.options.labels.allowOverlap&&n&&(t.hideOverlappingLabels(n.labels),n.labels.forEach(function(t,i){t.newOpacity?t.newOpacity!==t.oldOpacity&&n.connectors[i].show():n.connectors[i].hide()}))},n.prototype.getRanges=function(){var f=this.legend.bubbleLegend,t=f.options.ranges,u,i=Number.MAX_VALUE,n=-Number.MAX_VALUE,r;return f.chart.series.forEach(function(t){t.isBubble&&!t.ignoreSeries&&(u=t.zData.filter(l),u.length&&(i=h(t.options.zMin,Math.min(i,Math.max(p(u),!1===t.options.displayNegative?t.options.zThreshold:-Number.MAX_VALUE))),n=h(t.options.zMax,Math.max(n,y(u)))))}),r=i===n?[{value:n}]:[{value:i},{value:(i+n)/2},{value:n,autoRanges:!0}],t.length&&t[0].radius&&r.reverse(),r.forEach(function(n,i){t&&t[i]&&(r[i]=c(t[i],n))}),r},n.prototype.predictBubbleSizes=function(){var t=this.chart,i=this.fontMetrics,o=t.legend.options,r="horizontal"===o.layout,h=r?t.legend.lastLineHeight:0,u=t.plotSizeX,f=t.plotSizeY,n=t.series[this.options.seriesIndex],e,s;return t=Math.ceil(n.minPxSize),e=Math.ceil(n.maxPxSize),n=n.options.maxSize,s=Math.min(f,u),o.floating||!/%$/.test(n)?i=e:(n=parseFloat(n),i=(s+h-i.h/2)*n/100/(n/100+1),r&&f-i>=u||!r&&u-i>=f)&&(i=e),[t,Math.ceil(i)]},n.prototype.updateRanges=function(n,t){var i=this.legend.options.bubbleLegend;i.minSize=n;i.maxSize=t;i.ranges=this.getRanges()},n.prototype.correctSizes=function(){var t=this.legend,n=this.chart.series[this.options.seriesIndex];1<Math.abs(Math.ceil(n.maxPxSize)-this.options.maxSize)&&(this.updateRanges(this.options.minSize,n.maxPxSize),t.render())},n}(),t(u,"afterGetAllItems",function(n){var i=this.bubbleLegend,u=this.options,t=u.bubbleLegend,f=this.chart.getVisibleBubbleSeriesIndex();i&&i.ranges&&i.ranges.length&&(t.ranges.length&&(t.autoRanges=!!t.ranges[0].autoRanges),this.destroyItem(i));0<=f&&u.enabled&&t.enabled&&(t.seriesIndex=f,this.bubbleLegend=new r.BubbleLegend(t,this),this.bubbleLegend.addToLegend(n.allItems))}),n.prototype.getVisibleBubbleSeriesIndex=function(){for(var t=this.series,n=0;n<t.length;){if(t[n]&&t[n].isBubble&&t[n].visible&&t[n].zData.length)return n;n++}return-1},u.prototype.getLinesHeights=function(){for(var t=this.allItems,r=[],f=t.length,i=0,u,n=0;n<f;n++)if(t[n].legendItemHeight&&(t[n].itemHeight=t[n].legendItemHeight),t[n]===t[f-1]||t[n+1]&&t[n]._legendItemPos[1]!==t[n+1]._legendItemPos[1]){for(r.push({height:0}),u=r[r.length-1],i;i<=n;i++)t[i].itemHeight>u.height&&(u.height=t[i].itemHeight);u.step=n}return r},u.prototype.retranslateItems=function(n){var r,u,t,f=this.options.rtl,i=0;this.allItems.forEach(function(e,o){r=e.legendGroup.translateX;u=e._legendItemPos[1];((t=e.movementX)||f&&e.ranges)&&(t=f?r-e.options.maxSize/2:r+t,e.legendGroup.attr({translateX:t}));o>n[i].step&&i++;e.legendGroup.attr({translateY:Math.round(u+n[i].height/2)});e._legendItemPos[1]=u+n[i].height/2})},t(o,"legendItemClick",function(){var n=this.chart,i=this.visible,t=this.chart.legend;t&&t.bubbleLegend&&(this.visible=!i,this.ignoreSeries=i,n=0<=n.getVisibleBubbleSeriesIndex(),t.bubbleLegend.visible!==n&&(t.update({bubbleLegend:{enabled:n}}),t.bubbleLegend.visible=n),this.visible=i)}),s(n.prototype,"drawChartBox",function(n,t,i){var r=this.legend,u=0<=this.getVisibleBubbleSeriesIndex(),f;r&&r.options.enabled&&r.bubbleLegend&&r.options.bubbleLegend.autoRanges&&u?(f=r.bubbleLegend.options,u=r.bubbleLegend.predictBubbleSizes(),r.bubbleLegend.updateRanges(u[0],u[1]),f.placed||(r.group.placed=!1,r.allItems.forEach(function(n){n.legendGroup.translateY=null})),r.render(),this.getMargins(),this.axes.forEach(function(n){n.visible&&n.render();f.placed||(n.setScale(),n.updateNames(),w(n.ticks,function(n){n.isNew=!0;n.isNewLabel=!0}))}),f.placed=!0,this.getMargins(),n.call(this,t,i),r.bubbleLegend.correctSizes(),r.retranslateItems(r.getLinesHeights())):(n.call(this,t,i),r&&r.options.enabled&&r.bubbleLegend&&(r.render(),r.retranslateItems(r.getLinesHeights())))}),r.BubbleLegend=e,r.BubbleLegend});t(n,"Series/Bubble/BubbleSeries.js",[n["Core/Axis/Axis.js"],n["Series/Bubble/BubblePoint.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(n,t,i,r,u,f,e){var a=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),v=i.parse,s;i=r.noop;s=f.seriesTypes;r=s.column;var c=s.scatter,y=e.arrayMax,p=e.arrayMin,w=e.clamp,l=e.extend,o=e.isNumber,b=e.merge,h=e.pick,k=e.pInt;return e=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.data=void 0,t.maxPxSize=void 0,t.minPxSize=void 0,t.options=void 0,t.points=void 0,t.radii=void 0,t.yData=void 0,t.zData=void 0,t}return a(t,n),t.prototype.animate=function(n){!n&&this.points.length<this.options.animationLimit&&this.points.forEach(function(n){var t=n.graphic;t&&t.width&&(this.hasRendered||t.attr({x:n.plotX,y:n.plotY,width:1,height:1}),t.animate(this.markerAttribs(n),this.options.animation))},this)},t.prototype.getRadii=function(n,t,i){var u=this.zData,o=this.yData,s=i.minPxSize,h=i.maxPxSize,f=[],r=0,e;for(i=u.length;r<i;r++)e=u[r],f.push(this.getRadius(n,t,s,h,e,o[r]));this.radii=f},t.prototype.getRadius=function(n,t,i,r,u,f){var s=this.options,l="width"!==s.sizeBy,h=s.zThreshold,c=t-n,e=.5;if(null===f||null===u)return null;if(o(u)){if(s.sizeByAbsoluteValue&&(u=Math.abs(u-h),c=Math.max(t-h,Math.abs(n-h)),n=0),u<n)return i/2-1;0<c&&(e=(u-n)/c)}return l&&0<=e&&(e=Math.sqrt(e)),Math.ceil(i+e*(r-i))/2},t.prototype.hasData=function(){return!!this.processedXData.length},t.prototype.pointAttribs=function(n,t){var i=this.options.marker.fillOpacity;return n=u.prototype.pointAttribs.call(this,n,t),1!==i&&(n.fill=v(n.fill).setOpacity(i).get("rgba")),n},t.prototype.translate=function(){var r,u=this.data,f=this.radii,i,t;for(n.prototype.translate.call(this),r=u.length;r--;)i=u[r],t=f?f[r]:0,o(t)&&t>=this.minPxSize/2?(i.marker=l(i.marker,{radius:t,width:2*t,height:2*t}),i.dlBox={x:i.plotX-t,y:i.plotY-t,width:2*t,height:2*t}):i.shapeArgs=i.plotY=i.dlBox=void 0},t.defaultOptions=b(c.defaultOptions,{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"}),t}(c),l(e.prototype,{alignDataLabel:r.prototype.alignDataLabel,applyZones:i,bubblePadding:!0,buildKDTree:i,directTouch:!0,isBubble:!0,pointArrayMap:["y","z"],pointClass:t,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"}),n.prototype.beforePadding=function(){var n=this,t=this.len,e=this.chart,r=0,i=t,s=this.isXAxis,d=s?"xData":"yData",c=this.min,u={},g=Math.min(e.plotWidth,e.plotHeight),l=Number.MAX_VALUE,a=-Number.MAX_VALUE,v=this.max-c,f=t/v,b=[];this.series.forEach(function(t){var i=t.options;t.bubblePadding&&(t.visible||!e.options.chart.ignoreHiddenSeries)&&(n.allowZoomOutside=!0,b.push(t),s&&(["minSize","maxSize"].forEach(function(n){var t=i[n],r=/%$/.test(t);t=k(t);u[n]=r?g*t/100:t}),t.minPxSize=u.minSize,t.maxPxSize=Math.max(u.maxSize,u.minSize),t=t.zData.filter(o),t.length&&(l=h(i.zMin,w(p(t),!1===i.displayNegative?i.zThreshold:-Number.MAX_VALUE,l)),a=h(i.zMax,Math.max(a,y(t))))))});b.forEach(function(t){var e=t[d],u=e.length,h;if(s&&t.getRadii(l,a,t),0<v)for(;u--;)o(e[u])&&n.dataMin<=e[u]&&e[u]<=n.max&&(h=t.radii?t.radii[u]:0,r=Math.min((e[u]-c)*f-h,r),i=Math.max((e[u]-c)*f+h,i))});b.length&&0<v&&!this.logarithmic&&(i-=t,f*=(t+Math.max(0,r)-Math.min(i,t))/t,[["min","userMin",r],["max","userMax",i]].forEach(function(t){"undefined"==typeof h(n.options[t[0]],n[t[1]])&&(n[t[0]]+=t[2]/f)}))},f.registerSeriesType("bubble",e),e});t(n,"Series/PackedBubble/PackedBubblePoint.js",[n["Core/Chart/Chart.js"],n["Core/Series/Point.js"],n["Core/Series/SeriesRegistry.js"]],function(n,t,i){var r=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}();return function(i){function u(){var n=null!==i&&i.apply(this,arguments)||this;return n.degree=NaN,n.mass=NaN,n.radius=NaN,n.options=void 0,n.series=void 0,n.value=null,n}return r(u,i),u.prototype.destroy=function(){return this.series.layout&&this.series.layout.removeElementFromCollection(this,this.series.layout.nodes),t.prototype.destroy.apply(this,arguments)},u.prototype.firePointEvent=function(){var n=this.series.options,i;this.isParentNode&&n.parentNode?(i=n.allowPointSelect,n.allowPointSelect=n.parentNode.allowPointSelect,t.prototype.firePointEvent.apply(this,arguments),n.allowPointSelect=i):t.prototype.firePointEvent.apply(this,arguments)},u.prototype.select=function(){var i=this.series.chart;this.isParentNode?(i.getSelectedPoints=i.getSelectedParentNodes,t.prototype.select.apply(this,arguments),i.getSelectedPoints=n.prototype.getSelectedPoints):t.prototype.select.apply(this,arguments)},u}(i.seriesTypes.bubble.prototype.pointClass)});t(n,"Series/Networkgraph/DraggableNodes.js",[n["Core/Chart/Chart.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],function(n,t,i){var r=i.addEvent;t.dragNodesMixin={onMouseDown:function(n,t){t=this.chart.pointer.normalize(t);n.fixedPosition={chartX:t.chartX,chartY:t.chartY,plotX:n.plotX,plotY:n.plotY};n.inDragMode=!0},onMouseMove:function(n,t){var r,i;if(n.fixedPosition&&n.inDragMode){r=this.chart;i=r.pointer.normalize(t);t=n.fixedPosition.chartX-i.chartX;i=n.fixedPosition.chartY-i.chartY;var u=void 0,f=void 0,e=r.graphLayoutsLookup;(5<Math.abs(t)||5<Math.abs(i))&&(u=n.fixedPosition.plotX-t,f=n.fixedPosition.plotY-i,r.isInsidePlot(u,f)&&(n.plotX=u,n.plotY=f,n.hasDragged=!0,this.redrawHalo(n),e.forEach(function(n){n.restartSimulation()})))}},onMouseUp:function(n){n.fixedPosition&&(n.hasDragged&&(this.layout.enableSimulation?this.layout.start():this.chart.redraw()),n.inDragMode=n.hasDragged=!1,this.options.fixedDraggable||delete n.fixedPosition)},redrawHalo:function(n){n&&this.halo&&this.halo.attr({d:n.haloPath(this.options.states.hover.halo.size)})}};r(n,"load",function(){var n=this,t,i,u;n.container&&(t=r(n.container,"mousedown",function(t){var f=n.hoverPoint;f&&f.series&&f.series.hasDraggableNodes&&f.series.options.draggable&&(f.series.onMouseDown(f,t),i=r(n.container,"mousemove",function(n){return f&&f.series&&f.series.onMouseMove(f,n)}),u=r(n.container.ownerDocument,"mouseup",function(n){return i(),u(),f&&f.series&&f.series.onMouseUp(f,n)}))}));r(n,"destroy",function(){t()})})});t(n,"Series/Networkgraph/Integrations.js",[n["Core/Globals.js"]],function(n){n.networkgraphIntegrations={verlet:{attractiveForceFunction:function(n,t){return(t-n)/n},repulsiveForceFunction:function(n,t){return(t-n)/n*(t>n?1:0)},barycenter:function(){var i=this.options.gravitationalConstant,n=this.barycenter.xFactor,t=this.barycenter.yFactor;n=(n-(this.box.left+this.box.width)/2)*i;t=(t-(this.box.top+this.box.height)/2)*i;this.nodes.forEach(function(i){i.fixedPosition||(i.plotX-=n/i.mass/i.degree,i.plotY-=t/i.mass/i.degree)})},repulsive:function(n,t,i){t=t*this.diffTemperature/n.mass/n.degree;n.fixedPosition||(n.plotX+=i.x*t,n.plotY+=i.y*t)},attractive:function(n,t,i){var r=n.getMass(),u=-i.x*t*this.diffTemperature;t=-i.y*t*this.diffTemperature;n.fromNode.fixedPosition||(n.fromNode.plotX-=u*r.fromNode/n.fromNode.degree,n.fromNode.plotY-=t*r.fromNode/n.fromNode.degree);n.toNode.fixedPosition||(n.toNode.plotX+=u*r.toNode/n.toNode.degree,n.toNode.plotY+=t*r.toNode/n.toNode.degree)},integrate:function(n,t){var i=-n.options.friction,f=n.options.maxSpeed,r=(t.plotX+t.dispX-t.prevX)*i,u,e;i*=t.plotY+t.dispY-t.prevY;u=Math.abs;e=u(r)/(r||1);u=u(i)/(i||1);r=e*Math.min(f,Math.abs(r));i=u*Math.min(f,Math.abs(i));t.prevX=t.plotX+t.dispX;t.prevY=t.plotY+t.dispY;t.plotX+=r;t.plotY+=i;t.temperature=n.vectorLength({x:r,y:i})},getK:function(n){return Math.pow(n.box.width*n.box.height/n.nodes.length,.5)}},euler:{attractiveForceFunction:function(n,t){return n*n/t},repulsiveForceFunction:function(n,t){return t*t/n},barycenter:function(){var n=this.options.gravitationalConstant,t=this.barycenter.xFactor,i=this.barycenter.yFactor;this.nodes.forEach(function(r){if(!r.fixedPosition){var u=r.getDegree();u*=1+u/2;r.dispX+=(t-r.plotX)*n*u/r.degree;r.dispY+=(i-r.plotY)*n*u/r.degree}})},repulsive:function(n,t,i,r){n.dispX+=i.x/r*t/n.degree;n.dispY+=i.y/r*t/n.degree},attractive:function(n,t,i,r){var u=n.getMass(),f=i.x/r*t;t*=i.y/r;n.fromNode.fixedPosition||(n.fromNode.dispX-=f*u.fromNode/n.fromNode.degree,n.fromNode.dispY-=t*u.fromNode/n.fromNode.degree);n.toNode.fixedPosition||(n.toNode.dispX+=f*u.toNode/n.toNode.degree,n.toNode.dispY+=t*u.toNode/n.toNode.degree)},integrate:function(n,t){t.dispX+=t.dispX*n.options.friction;t.dispY+=t.dispY*n.options.friction;var i=t.temperature=n.vectorLength({x:t.dispX,y:t.dispY});0!==i&&(t.plotX+=t.dispX/i*Math.min(Math.abs(t.dispX),n.temperature),t.plotY+=t.dispY/i*Math.min(Math.abs(t.dispY),n.temperature))},getK:function(n){return Math.pow(n.box.width*n.box.height/n.nodes.length,.3)}}}});t(n,"Series/Networkgraph/QuadTree.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],function(n,t){t=t.extend;var i=n.QuadTreeNode=function(n){this.box=n;this.boxSize=Math.min(n.width,n.height);this.nodes=[];this.body=this.isInternal=!1;this.isEmpty=!0};t(i.prototype,{insert:function(n,t){this.isInternal?this.nodes[this.getBoxPosition(n)].insert(n,t-1):(this.isEmpty=!1,this.body?t?(this.isInternal=!0,this.divideBox(),!0!==this.body&&(this.nodes[this.getBoxPosition(this.body)].insert(this.body,t-1),this.body=!0),this.nodes[this.getBoxPosition(n)].insert(n,t-1)):(t=new i({top:n.plotX,left:n.plotY,width:.1,height:.1}),t.body=n,t.isInternal=!1,this.nodes.push(t)):(this.isInternal=!1,this.body=n))},updateMassAndCenter:function(){var n=0,t=0,i=0;this.isInternal?(this.nodes.forEach(function(r){r.isEmpty||(n+=r.mass,t+=r.plotX*r.mass,i+=r.plotY*r.mass)}),t/=n,i/=n):this.body&&(n=this.body.mass,t=this.body.plotX,i=this.body.plotY);this.mass=n;this.plotX=t;this.plotY=i},divideBox:function(){var n=this.box.width/2,t=this.box.height/2;this.nodes[0]=new i({left:this.box.left,top:this.box.top,width:n,height:t});this.nodes[1]=new i({left:this.box.left+n,top:this.box.top,width:n,height:t});this.nodes[2]=new i({left:this.box.left+n,top:this.box.top+t,width:n,height:t});this.nodes[3]=new i({left:this.box.left,top:this.box.top+t,width:n,height:t})},getBoxPosition:function(n){var t=n.plotY<this.box.top+this.box.height/2;return n.plotX<this.box.left+this.box.width/2?t?0:3:t?1:2}});n=n.QuadTree=function(n,t,r,u){this.box={left:n,top:t,width:r,height:u};this.maxDepth=25;this.root=new i(this.box,"0");this.root.isInternal=!0;this.root.isRoot=!0;this.root.divideBox()};t(n.prototype,{insertNodes:function(n){n.forEach(function(n){this.root.insert(n,this.maxDepth)},this)},visitNodeRecursive:function(n,t,i){var r;n||(n=this.root);n===this.root&&t&&(r=t(n));!1!==r&&(n.nodes.forEach(function(n){if(n.isInternal){if(t&&(r=t(n)),!1===r)return;this.visitNodeRecursive(n,t,i)}else n.body&&t&&t(n.body);i&&i(n)},this),n===this.root&&i&&i(n))},calculateMassAndCenter:function(){this.visitNodeRecursive(null,null,function(n){n.updateMassAndCenter()})}})});t(n,"Series/Networkgraph/Layouts.js",[n["Core/Chart/Chart.js"],n["Core/Animation/AnimationUtilities.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],function(n,t,i,r){var o=t.setAnimation;t=r.addEvent;var f=r.clamp,e=r.defined,s=r.extend,h=r.isFunction,u=r.pick;i.layouts={"reingold-fruchterman":function(){}};s(i.layouts["reingold-fruchterman"].prototype,{init:function(n){this.options=n;this.nodes=[];this.links=[];this.series=[];this.box={x:0,y:0,width:0,height:0};this.setInitialRendering(!0);this.integration=i.networkgraphIntegrations[n.integration];this.enableSimulation=n.enableSimulation;this.attractiveForce=u(n.attractiveForce,this.integration.attractiveForceFunction);this.repulsiveForce=u(n.repulsiveForce,this.integration.repulsiveForceFunction);this.approximation=n.approximation},updateSimulation:function(n){this.enableSimulation=u(n,this.options.enableSimulation)},start:function(){var n=this.series,t=this.options;this.currentStep=0;this.forces=n[0]&&n[0].forces||[];this.chart=n[0]&&n[0].chart;this.initialRendering&&(this.initPositions(),n.forEach(function(n){n.finishedAnimating=!0;n.render()}));this.setK();this.resetSimulation(t);this.enableSimulation&&this.step()},step:function(){var n=this,t=this.series;n.currentStep++;"barnes-hut"===n.approximation&&(n.createQuadTree(),n.quadTree.calculateMassAndCenter());n.forces.forEach(function(t){n[t+"Forces"](n.temperature)});n.applyLimits(n.temperature);n.temperature=n.coolDown(n.startTemperature,n.diffTemperature,n.currentStep);n.prevSystemTemperature=n.systemTemperature;n.systemTemperature=n.getSystemTemperature();n.enableSimulation&&(t.forEach(function(n){n.chart&&n.render()}),n.maxIterations--&&isFinite(n.temperature)&&!n.isStable()?(n.simulation&&i.win.cancelAnimationFrame(n.simulation),n.simulation=i.win.requestAnimationFrame(function(){n.step()})):n.simulation=!1)},stop:function(){this.simulation&&i.win.cancelAnimationFrame(this.simulation)},setArea:function(n,t,i,r){this.box={left:n,top:t,width:i,height:r}},setK:function(){this.k=this.options.linkLength||this.integration.getK(this)},addElementsToCollection:function(n,t){n.forEach(function(n){-1===t.indexOf(n)&&t.push(n)})},removeElementFromCollection:function(n,t){n=t.indexOf(n);-1!==n&&t.splice(n,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(n){this.maxIterations=u(n,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(n){this.initialRendering=n},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 n=this.options.initialPositions;h(n)?(n.call(this),this.nodes.forEach(function(n){e(n.prevX)||(n.prevX=n.plotX);e(n.prevY)||(n.prevY=n.plotY);n.dispX=0;n.dispY=0})):"circle"===n?this.setCircularPositions():this.setRandomPositions()},setCircularPositions:function(){function i(t){t.linksFrom.forEach(function(t){e[t.toNode.id]||(e[t.toNode.id]=!0,n.push(t.toNode),i(t.toNode))})}var r=this.box,t=this.nodes,f=2*Math.PI/(t.length+1),s=t.filter(function(n){return 0===n.linksTo.length}),n=[],e={},o=this.options.initialPositionRadius;s.forEach(function(t){n.push(t);i(t)});n.length?t.forEach(function(t){-1===n.indexOf(t)&&n.push(t)}):n=t;n.forEach(function(n,t){n.plotX=n.prevX=u(n.plotX,r.width/2+o*Math.cos(t*f));n.plotY=n.prevY=u(n.plotY,r.height/2+o*Math.sin(t*f));n.dispX=0;n.dispY=0})},setRandomPositions:function(){function n(n){return n=n*n/Math.PI,n-Math.floor(n)}var t=this.box,i=this.nodes,r=i.length+1;i.forEach(function(i,f){i.plotX=i.prevX=u(i.plotX,t.width*n(f));i.plotY=i.prevY=u(i.plotY,t.height*n(r+f));i.dispX=0;i.dispY=0})},force:function(n){this.integration[n].apply(this,Array.prototype.slice.call(arguments,1))},barycenterForces:function(){this.getBarycenter();this.force("barycenter")},getBarycenter:function(){var n=0,t=0,i=0;return this.nodes.forEach(function(r){t+=r.plotX*r.mass;i+=r.plotY*r.mass;n+=r.mass}),this.barycenter={x:t,y:i,xFactor:t/n,yFactor:i/n}},barnesHutApproximation:function(n,t){var u=this.getDistXY(n,t),i=this.vectorLength(u),r,f;return n!==t&&0!==i&&(t.isInternal?t.boxSize/i<this.options.theta&&0!==i?(r=this.repulsiveForce(i,this.k),this.force("repulsive",n,r*t.mass,u,i),f=!1):f=!0:(r=this.repulsiveForce(i,this.k),this.force("repulsive",n,r*t.mass,u,i))),f},repulsiveForces:function(){var n=this;"barnes-hut"===n.approximation?n.nodes.forEach(function(t){n.quadTree.visitNodeRecursive(null,function(i){return n.barnesHutApproximation(t,i)})}):n.nodes.forEach(function(t){n.nodes.forEach(function(i){var u,r,f;t===i||t.fixedPosition||(u=n.getDistXY(t,i),r=n.vectorLength(u),0!==r&&(f=n.repulsiveForce(r,n.k),n.force("repulsive",t,f*i.mass,u,r)))})})},attractiveForces:function(){var n=this,i,t,r;n.links.forEach(function(u){u.fromNode&&u.toNode&&(i=n.getDistXY(u.fromNode,u.toNode),t=n.vectorLength(i),0!==t&&(r=n.attractiveForce(t,n.k),n.force("attractive",u,r,i,t)))})},applyLimits:function(){var n=this;n.nodes.forEach(function(t){t.fixedPosition||(n.integration.integrate(n,t),n.applyLimitBox(t,n.box),t.dispX=0,t.dispY=0)})},applyLimitBox:function(n,t){var i=n.radius;n.plotX=f(n.plotX,t.left+i,t.width-i);n.plotY=f(n.plotY,t.top+i,t.height-i)},coolDown:function(n,t,i){return n-t*i},isStable:function(){return 1e-5>Math.abs(this.systemTemperature-this.prevSystemTemperature)||0>=this.temperature},getSystemTemperature:function(){return this.nodes.reduce(function(n,t){return n+t.temperature},0)},vectorLength:function(n){return Math.sqrt(n.x*n.x+n.y*n.y)},getDistR:function(n,t){return n=this.getDistXY(n,t),this.vectorLength(n)},getDistXY:function(n,t){var i=n.plotX-t.plotX;return n=n.plotY-t.plotY,{x:i,y:n,absX:Math.abs(i),absY:Math.abs(n)}}});t(n,"predraw",function(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach(function(n){n.stop()})});t(n,"render",function(){function i(i){i.maxIterations--&&isFinite(i.temperature)&&!i.isStable()&&!i.enableSimulation&&(i.beforeStep&&i.beforeStep(),i.step(),n=!1,t=!0)}var t=!1,n;if(this.graphLayoutsLookup){for(o(!1,this),this.graphLayoutsLookup.forEach(function(n){n.start()});!n;)n=!0,this.graphLayoutsLookup.forEach(i);t&&this.series.forEach(function(n){n&&n.layout&&n.render()})}});t(n,"beforePrint",function(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach(function(n){n.updateSimulation(!1)}),this.redraw())});t(n,"afterPrint",function(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach(function(n){n.updateSimulation()});this.redraw()})});t(n,"Series/PackedBubble/PackedBubbleComposition.js",[n["Core/Chart/Chart.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],function(n,t,i){var r=t.layouts["reingold-fruchterman"],f=i.addEvent,e=i.extendClass,u=i.pick;n.prototype.getSelectedParentNodes=function(){var n=[];return this.series.forEach(function(t){t.parentNode&&t.parentNode.selected&&n.push(t.parentNode)}),n};t.networkgraphIntegrations.packedbubble={repulsiveForceFunction:function(n,t,i,r){return Math.min(n,(i.marker.radius+r.marker.radius)/2)},barycenter:function(){var n=this,u=n.options.gravitationalConstant,f=n.box,t=n.nodes,i,r;t.forEach(function(e){n.options.splitSeries&&!e.isParentNode?(i=e.series.parentNode.plotX,r=e.series.parentNode.plotY):(i=f.width/2,r=f.height/2);e.fixedPosition||(e.plotX-=(e.plotX-i)*u/(e.mass*Math.sqrt(t.length)),e.plotY-=(e.plotY-r)*u/(e.mass*Math.sqrt(t.length)))})},repulsive:function(n,t,i,r){var u=t*this.diffTemperature/n.mass/n.degree;t=i.x*u;i=i.y*u;n.fixedPosition||(n.plotX+=t,n.plotY+=i);r.fixedPosition||(r.plotX-=t,r.plotY-=i)},integrate:t.networkgraphIntegrations.verlet.integrate,getK:t.noop};t.layouts.packedbubble=e(r,{beforeStep:function(){this.options.marker&&this.series.forEach(function(n){n&&n.calculateParentRadius()})},isStable:function(){var n=Math.abs(this.prevSystemTemperature-this.systemTemperature);return 1>Math.abs(10*this.systemTemperature/Math.sqrt(this.nodes.length))&&1e-5>n||0>=this.temperature},setCircularPositions:function(){var n=this,r=n.box,f=n.nodes,e=2*Math.PI/(f.length+1),t,i,o=n.options.initialPositionRadius;f.forEach(function(f,s){n.options.splitSeries&&!f.isParentNode?(t=f.series.parentNode.plotX,i=f.series.parentNode.plotY):(t=r.width/2,i=r.height/2);f.plotX=f.prevX=u(f.plotX,t+o*Math.cos(f.index||s*e));f.plotY=f.prevY=u(f.plotY,i+o*Math.sin(f.index||s*e));f.dispX=0;f.dispY=0})},repulsiveForces:function(){var n=this,i,t,r,u=n.options.bubblePadding;n.nodes.forEach(function(f){f.degree=f.mass;f.neighbours=0;n.nodes.forEach(function(e){i=0;f===e||f.fixedPosition||!n.options.seriesInteraction&&f.series!==e.series||(r=n.getDistXY(f,e),t=n.vectorLength(r)-(f.marker.radius+e.marker.radius+u),0>t&&(f.degree+=.01,f.neighbours++,i=n.repulsiveForce(-t/Math.sqrt(f.neighbours),n.k,f,e)),n.force("repulsive",f,i*e.mass,r,e,t))})})},applyLimitBox:function(n){if(this.options.splitSeries&&!n.isParentNode&&this.options.parentNodeLimit){var t=this.getDistXY(n,n.series.parentNode),i=n.series.parentNodeRadius-n.marker.radius-this.vectorLength(t);0>i&&i>-2*n.marker.radius&&(n.plotX-=.01*t.x,n.plotY-=.01*t.y)}r.prototype.applyLimitBox.apply(this,arguments)}});f(n,"beforeRedraw",function(){this.allDataPoints&&delete this.allDataPoints})});t(n,"Series/PackedBubble/PackedBubbleSeries.js",[n["Core/Color/Color.js"],n["Core/Globals.js"],n["Series/PackedBubble/PackedBubblePoint.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(n,t,i,r,u){var p=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}n(t,i);t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),w=n.parse,f=r.series,c=r.seriesTypes.bubble,b=u.addEvent,l=u.clamp,e=u.defined,a=u.extend,k=u.fireEvent,v=u.isArray,y=u.isNumber,o=u.merge,h=u.pick,s=t.dragNodesMixin;return n=function(n){function i(){var t=null!==n&&n.apply(this,arguments)||this;return t.chart=void 0,t.data=void 0,t.layout=void 0,t.options=void 0,t.points=void 0,t.xData=void 0,t}return p(i,n),i.prototype.accumulateAllPoints=function(n){for(var r=n.chart,u=[],t,i=0;i<r.series.length;i++)if(n=r.series[i],n.is("packedbubble")&&n.visible||!r.options.chart.ignoreHiddenSeries)for(t=0;t<n.yData.length;t++)u.push([null,null,n.yData[t],n.index,t,{id:t,marker:{radius:0}}]);return u},i.prototype.addLayout=function(){var i=this.options.layoutAlgorithm,r=this.chart.graphLayoutsStorage,u=this.chart.graphLayoutsLookup,f=this.chart.options.chart,n;r||(this.chart.graphLayoutsStorage=r={},this.chart.graphLayoutsLookup=u=[]);n=r[i.type];n||(i.enableSimulation=e(f.forExport)?!f.forExport:i.enableSimulation,r[i.type]=n=new t.layouts[i.type],n.init(i),u.splice(n.index,0,n));this.layout=n;this.points.forEach(function(n){n.mass=2;n.degree=1;n.collisionNmb=1});n.setArea(0,0,this.chart.plotWidth,this.chart.plotHeight);n.addElementsToCollection([this],n.series);n.addElementsToCollection(this.points,n.nodes)},i.prototype.addSeriesLayout=function(){var i=this.options.layoutAlgorithm,r=this.chart.graphLayoutsStorage,u=this.chart.graphLayoutsLookup,f=o(i,i.parentNodeOptions,{enableSimulation:this.layout.options.enableSimulation}),n=r[i.type+"-series"];n||(r[i.type+"-series"]=n=new t.layouts[i.type],n.init(f),u.splice(n.index,0,n));this.parentNodeLayout=n;this.createParentNodes()},i.prototype.calculateParentRadius=function(){var n=this.seriesBox();this.parentNodeRadius=l(Math.sqrt(2*this.parentNodeMass/Math.PI)+20,20,n?Math.max(Math.sqrt(Math.pow(n.width,2)+Math.pow(n.height,2))/2+20,20):Math.sqrt(2*this.parentNodeMass/Math.PI)+20);this.parentNode&&(this.parentNode.marker.radius=this.parentNode.radius=this.parentNodeRadius)},i.prototype.calculateZExtremes=function(){var n=this.options.zMin,t=this.options.zMax,i=Infinity,r=-Infinity;return n&&t?[n,t]:(this.chart.series.forEach(function(n){n.yData.forEach(function(n){e(n)&&(n>r&&(r=n),n<i&&(i=n))})}),n=h(n,i),t=h(t,r),[n,t])},i.prototype.checkOverlap=function(n,t){var i=n[0]-t[0],r=n[1]-t[1];return-.001>Math.sqrt(i*i+r*r)-Math.abs(n[2]+t[2])},i.prototype.createParentNodes=function(){var n=this,r=n.chart,t=n.parentNodeLayout,u,i=n.parentNode,f=n.pointClass;n.parentNodeMass=0;n.points.forEach(function(t){n.parentNodeMass+=Math.PI*Math.pow(t.marker.radius,2)});n.calculateParentRadius();t.nodes.forEach(function(t){t.seriesIndex===n.index&&(u=!0)});t.setArea(0,0,r.plotWidth,r.plotHeight);u||(i||(i=(new f).init(this,{mass:n.parentNodeRadius/2,marker:{radius:n.parentNodeRadius},dataLabels:{inside:!1},dataLabelOnNull:!0,degree:n.parentNodeRadius,isParentNode:!0,seriesIndex:n.index})),n.parentNode&&(i.plotX=n.parentNode.plotX,i.plotY=n.parentNode.plotY),n.parentNode=i,t.addElementsToCollection([n],t.series),t.addElementsToCollection([i],t.nodes))},i.prototype.deferLayout=function(){var n=this.options.layoutAlgorithm;this.visible&&(this.addLayout(),n.splitSeries&&this.addSeriesLayout())},i.prototype.destroy=function(){this.chart.graphLayoutsLookup&&this.chart.graphLayoutsLookup.forEach(function(n){n.removeElementFromCollection(this,n.series)},this);this.parentNode&&this.parentNodeLayout&&(this.parentNodeLayout.removeElementFromCollection(this.parentNode,this.parentNodeLayout.nodes),this.parentNode.dataLabel&&(this.parentNode.dataLabel=this.parentNode.dataLabel.destroy()));f.prototype.destroy.apply(this,arguments)},i.prototype.drawDataLabels=function(){var n=this.options.dataLabels.textPath,t=this.points;f.prototype.drawDataLabels.apply(this,arguments);this.parentNode&&(this.parentNode.formatPrefix="parentNode",this.points=[this.parentNode],this.options.dataLabels.textPath=this.options.dataLabels.parentNodeTextPath,f.prototype.drawDataLabels.apply(this,arguments),this.points=t,this.options.dataLabels.textPath=n)},i.prototype.drawGraph=function(){if(this.layout&&this.layout.options.splitSeries){var t=this.chart,n=this.layout.options.parentNodeOptions.marker,i={fill:n.fillColor||w(this.color).brighten(.4).get(),opacity:n.fillOpacity,stroke:n.lineColor||this.color,"stroke-width":n.lineWidth};this.parentNodesGroup||(this.parentNodesGroup=this.plotGroup("parentNodesGroup","parentNode",this.visible?"inherit":"hidden",.1,t.seriesGroup),this.group.attr({zIndex:2}));this.calculateParentRadius();n=o({x:this.parentNode.plotX-this.parentNodeRadius,y:this.parentNode.plotY-this.parentNodeRadius,width:2*this.parentNodeRadius,height:2*this.parentNodeRadius},i);this.parentNode.graphic||(this.graph=this.parentNode.graphic=t.renderer.symbol(i.symbol).add(this.parentNodesGroup));this.parentNode.graphic.attr(n)}},i.prototype.drawTracker=function(){var t=this.parentNode,i;n.prototype.drawTracker.call(this);t&&(i=v(t.dataLabels)?t.dataLabels:t.dataLabel?[t.dataLabel]:[],t.graphic&&(t.graphic.element.point=t),i.forEach(function(n){n.div?n.div.point=t:n.element.point=t}))},i.prototype.getPointRadius=function(){var n=this,t=n.chart,f=n.options,h=f.useSimulation,v=Math.min(t.plotWidth,t.plotHeight),e={},c=[],i=t.allDataPoints,o,s,a,r,u;["minSize","maxSize"].forEach(function(n){var t=parseInt(f[n],10),r=/%$/.test(f[n]);e[n]=r?v*t/100:t*Math.sqrt(i.length)});t.minRadius=o=e.minSize/Math.sqrt(i.length);t.maxRadius=s=e.maxSize/Math.sqrt(i.length);u=h?n.calculateZExtremes():[o,s];(i||[]).forEach(function(t,f){a=h?l(t[2],u[0],u[1]):t[2];r=n.getRadius(u[0],u[1],o,s,a);0===r&&(r=null);i[f][2]=r;c.push(r)});n.radii=c},i.prototype.init=function(){return f.prototype.init.apply(this,arguments),this.eventsToUnbind.push(b(this,"updatedData",function(){this.chart.series.forEach(function(n){n.type===this.type&&(n.isDirty=!0)},this)})),this},i.prototype.onMouseUp=function(n){if(n.fixedPosition&&!n.removed){var i,r,t=this.layout,u=this.parentNodeLayout;u&&t.options.dragBetweenSeries&&u.nodes.forEach(function(u){n&&n.marker&&u!==n.series.parentNode&&(i=t.getDistXY(n,u),r=t.vectorLength(i)-u.marker.radius-n.marker.radius,0>r&&(u.series.addPoint(o(n.options,{plotX:n.plotX,plotY:n.plotY}),!1),t.removeElementFromCollection(n,t.nodes),n.remove()))});s.onMouseUp.apply(this,arguments)}},i.prototype.placeBubbles=function(n){var s=this.checkOverlap,o=this.positionBubble,t=[],i=1,u=0,f=0,e=[],r;if(n=n.sort(function(n,t){return t[2]-n[2]}),n.length){if(t.push([[0,0,n[0][2],n[0][3],n[0][4]]]),1<n.length)for(t.push([[0,0-n[1][2]-n[0][2],n[1][2],n[1][3],n[1][4]]]),r=2;r<n.length;r++)n[r][2]=n[r][2]||1,e=o(t[i][u],t[i-1][f],n[r]),s(e,t[i][0])?(t.push([]),f=0,t[i+1].push(o(t[i][u],t[i][0],n[r])),i++,u=0):1<i&&t[i-1][f+1]&&s(e,t[i-1][f+1])?(f++,t[i].push(o(t[i][u],t[i-1][f],n[r])),u++):(u++,t[i].push(e));this.chart.stages=t;this.chart.rawPositions=[].concat.apply([],t);this.resizeRadius();e=this.chart.rawPositions}return e},i.prototype.positionBubble=function(n,t,i){var r=Math.sqrt,f=Math.asin,e=Math.acos,u=Math.pow,o=Math.abs;return r=r(u(n[0]-t[0],2)+u(n[1]-t[1],2)),e=e((u(r,2)+u(i[2]+t[2],2)-u(i[2]+n[2],2))/(2*(i[2]+t[2])*r)),f=f(o(n[0]-t[0])/r),n=(0>n[1]-t[1]?0:Math.PI)+e+f*(0>(n[0]-t[0])*(n[1]-t[1])?1:-1),[t[0]+(t[2]+i[2])*Math.sin(n),t[1]-(t[2]+i[2])*Math.cos(n),i[2],i[3],i[4]]},i.prototype.render=function(){var n=[];f.prototype.render.apply(this,arguments);this.options.dataLabels.allowOverlap||(this.data.forEach(function(t){v(t.dataLabels)&&t.dataLabels.forEach(function(t){n.push(t)})}),this.options.useSimulation&&this.chart.hideOverlappingLabels(n))},i.prototype.resizeRadius=function(){for(var i=this.chart,t=i.rawPositions,r=Math.min,h=Math.max,c=i.plotLeft,l=i.plotTop,a=i.plotHeight,v=i.plotWidth,u,f,e=u=Number.POSITIVE_INFINITY,s=f=Number.NEGATIVE_INFINITY,o,n=0;n<t.length;n++)o=t[n][2],e=r(e,t[n][0]-o),s=h(s,t[n][0]+o),u=r(u,t[n][1]-o),f=h(f,t[n][1]+o);if(n=[s-e,f-u],r=r.apply([],[(v-c)/n[0],(a-l)/n[1]]),1e-10<Math.abs(r-1)){for(n=0;n<t.length;n++)t[n][2]*=r;this.placeBubbles(t)}else i.diffY=a/2+l-u-(f-u)/2,i.diffX=v/2+c-e-(s-e)/2},i.prototype.seriesBox=function(){var t=this.chart,r=Math.max,u=Math.min,i,n=[t.plotLeft,t.plotLeft+t.plotWidth,t.plotTop,t.plotTop+t.plotHeight];return this.data.forEach(function(t){e(t.plotX)&&e(t.plotY)&&t.marker.radius&&(i=t.marker.radius,n[0]=u(n[0],t.plotX-i),n[1]=r(n[1],t.plotX+i),n[2]=u(n[2],t.plotY-i),n[3]=r(n[3],t.plotY+i))}),y(n.width/n.height)?n:null},i.prototype.setVisible=function(){var n=this;f.prototype.setVisible.apply(n,arguments);n.parentNodeLayout&&n.graph?n.visible?(n.graph.show(),n.parentNode.dataLabel&&n.parentNode.dataLabel.show()):(n.graph.hide(),n.parentNodeLayout.removeElementFromCollection(n.parentNode,n.parentNodeLayout.nodes),n.parentNode.dataLabel&&n.parentNode.dataLabel.hide()):n.layout&&(n.visible?n.layout.addElementsToCollection(n.points,n.layout.nodes):n.points.forEach(function(t){n.layout.removeElementFromCollection(t,n.layout.nodes)}))},i.prototype.translate=function(){var n=this.chart,o=this.data,s=this.index,t,f=this.options.useSimulation,i,r,u;for(this.processedXData=this.xData,this.generatePoints(),e(n.allDataPoints)||(n.allDataPoints=this.accumulateAllPoints(this),this.getPointRadius()),f?i=n.allDataPoints:(i=this.placeBubbles(n.allDataPoints),this.options.draggable=!1),t=0;t<i.length;t++)i[t][3]===s&&(r=o[i[t][4]],u=h(i[t][2],void 0),f||(r.plotX=i[t][0]-n.plotLeft+n.diffX,r.plotY=i[t][1]-n.plotTop+n.diffY),y(u)&&(r.marker=a(r.marker,{radius:u,width:2*u,height:2*u}),r.radius=u));f&&this.deferLayout();k(this,"afterTranslate")},i.defaultOptions=o(c.defaultOptions,{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}}),i}(c),a(n.prototype,{alignDataLabel:f.prototype.alignDataLabel,axisTypes:[],directTouch:!0,forces:["barycenter","repulsive"],hasDraggableNodes:!0,isCartesian:!1,noSharedTooltip:!0,onMouseDown:s.onMouseDown,onMouseMove:s.onMouseMove,pointArrayMap:["value"],pointClass:i,pointValKey:"value",redrawHalo:s.redrawHalo,requireSorting:!1,searchPoint:t.noop,trackerGroups:["group","dataLabelsGroup","parentNodesGroup"]}),r.registerSeriesType("packedbubble",n),n});t(n,"Extensions/Polar.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Chart/Chart.js"],n["Core/Globals.js"],n["Extensions/Pane.js"],n["Core/Pointer.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Utilities.js"]],function(n,t,i,r,u,f,e,o,s){var w=n.animObject,c,y,p;e=e.seriesTypes;var l=s.addEvent,v=s.defined,b=s.find,h=s.isNumber,a=s.pick,k=s.splat,d=s.uniqueKey;n=s.wrap;c=f.prototype;u=u.prototype;c.searchPointByAngle=function(n){var t=this.chart,i=this.xAxis.pane.center;return this.searchKDTree({clientX:180+-180/Math.PI*Math.atan2(n.chartX-i[0]-t.plotLeft,n.chartY-i[1]-t.plotTop)})};c.getConnectors=function(n,t,i,r){var u=r?1:0,f=0<=t&&t<=n.length-1?t:0>t?n.length-1+t:0,o,s,h,c,e,l;return t=0>f-1?n.length-(1+u):f-1,u=f+1>n.length-1?u:f+1,o=n[t],u=n[u],s=o.plotX,o=o.plotY,h=u.plotX,c=u.plotY,u=n[f].plotX,f=n[f].plotY,s=(1.5*u+s)/2.5,o=(1.5*f+o)/2.5,h=(1.5*u+h)/2.5,e=(1.5*f+c)/2.5,c=Math.sqrt(Math.pow(s-u,2)+Math.pow(o-f,2)),l=Math.sqrt(Math.pow(h-u,2)+Math.pow(e-f,2)),s=Math.atan2(o-f,s-u),e=Math.PI/2+(s+Math.atan2(e-f,h-u))/2,Math.abs(s-e)>Math.PI/2&&(e-=Math.PI),s=u+Math.cos(e)*c,o=f+Math.sin(e)*c,h=u+Math.cos(Math.PI+e)*l,e=f+Math.sin(Math.PI+e)*l,u={rightContX:h,rightContY:e,leftContX:s,leftContY:o,plotX:u,plotY:f},i&&(u.prevPointCont=this.getConnectors(n,t,!1,r)),u};c.toXY=function(n){var i=this.chart,o=this.xAxis,t=this.yAxis,u=n.plotX,r=n.plotY,s=n.series,f=i.inverted,c=n.y,e=f?u:t.len-r;f&&s&&!s.isRadialBar&&(n.plotY=r="number"==typeof c?t.translate(c)||0:0);n.rectPlotX=u;n.rectPlotY=r;t.center&&(e+=t.center[3]/2);h(r)&&(t=f?t.postTranslate(r,e):o.postTranslate(u,e),n.plotX=n.polarPlotX=t.x-i.plotLeft,n.plotY=n.polarPlotY=t.y-i.plotTop);this.kdByAngle?(i=(u/Math.PI*180+o.pane.options.startAngle)%360,0>i&&(i+=360),n.clientX=i):n.clientX=n.plotX};e.spline&&(n(e.spline.prototype,"getPointSpline",function(n,t,i,r){return this.chart.polar?r?(n=this.getConnectors(t,r,!0,this.connectEnds),t=n.prevPointCont&&n.prevPointCont.rightContX,i=n.prevPointCont&&n.prevPointCont.rightContY,n=["C",h(t)?t:n.plotX,h(i)?i:n.plotY,h(n.leftContX)?n.leftContX:n.plotX,h(n.leftContY)?n.leftContY:n.plotY,n.plotX,n.plotY]):n=["M",i.plotX,i.plotY]:n=n.call(this,t,i,r),n}),e.areasplinerange&&(e.areasplinerange.prototype.getPointSpline=e.spline.prototype.getPointSpline));l(f,"afterTranslate",function(){var n=this.chart,t,r;if(n.polar&&this.xAxis){if((this.kdByAngle=n.tooltip&&n.tooltip.shared)?this.searchPoint=this.searchPointByAngle:this.options.findNearestPointBy="xy",!this.preventPostTranslate)for(t=this.points,r=t.length;r--;)this.toXY(t[r]),!n.hasParallelCoordinates&&!this.yAxis.reversed&&t[r].y<this.yAxis.min&&(t[r].isNull=!0);this.hasClipCircleSetter||(this.hasClipCircleSetter=!!this.eventsToUnbind.push(l(this,"afterRender",function(){if(n.polar){var t=this.yAxis.pane.center;this.clipCircle?this.clipCircle.animate({x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2}):this.clipCircle=n.renderer.clipCircle(t[0],t[1],t[2]/2,t[3]/2);this.group.clip(this.clipCircle);this.setClip=i.noop}})))}},{order:2});n(e.line.prototype,"getGraphPath",function(n,t){var f=this,i,r,u;if(this.chart.polar){for(t=t||this.points,i=0;i<t.length;i++)if(!t[i].isNull){r=i;break}!1!==this.options.connectEnds&&"undefined"!=typeof r&&(this.connectEnds=!0,t.splice(t.length,0,t[r]),u=!0);t.forEach(function(n){"undefined"==typeof n.polarPlotY&&f.toXY(n)})}return i=n.apply(this,[].slice.call(arguments,1)),u&&t.pop(),i});y=function(n,t){var r=this,f=this.chart,e=this.options.animation,l=this.group,o=this.markerGroup,h=this.xAxis.center,v=f.plotLeft,y=f.plotTop,s,u,p,b,c;f.polar?r.isRadialBar?t||(r.startAngleRad=a(r.translatedThreshold,r.xAxis.startAngleRad),i.seriesTypes.pie.prototype.animate.call(r,t)):f.renderer.isSVG&&((e=w(e),r.is("column"))?t||(c=h[3]/2,r.points.forEach(function(n){s=n.graphic;p=(u=n.shapeArgs)&&u.r;b=u&&u.innerR;s&&u&&(s.attr({r:c,innerR:c}),s.animate({r:p,innerR:b},r.options.animation))})):t?(n={translateX:h[0]+v,translateY:h[1]+y,scaleX:.001,scaleY:.001},l.attr(n),o&&o.attr(n)):(n={translateX:v,translateY:y,scaleX:1,scaleY:1},l.animate(n,e),o&&o.animate(n,e))):n.call(this,t)};n(c,"animate",y);e.column&&(p=e.arearange.prototype,e=e.column.prototype,e.polarArc=function(n,t,i,r){var f=this.xAxis.center,e=this.yAxis.len,u=f[3]/2;return t=e-t+u,n=e-a(n,e)+u,this.yAxis.reversed&&(0>t&&(t=u),0>n&&(n=u)),{x:f[0],y:f[1],r:t,innerR:n,start:i,end:r}},n(e,"animate",y),n(e,"translate",function(n){var t=this.options,g=t.stacking,w=this.chart,y=this.xAxis,u=this.yAxis,d=u.reversed,f=u.center,p=y.startAngleRad,b=y.endAngleRad-p,l,a,e,r,i;if(this.preventPostTranslate=!0,n.call(this),y.isRadial)for(n=this.points,y=n.length,l=u.translate(u.min),a=u.translate(u.max),t=t.threshold||0,w.inverted&&h(t)&&(e=u.translate(t),v(e)&&(0>e?e=0:e>b&&(e=b),this.translatedThreshold=e+p));y--;){t=n[y];var o=t.barX,k=t.x,c=t.y;t.shapeType="arc";w.inverted?(t.plotY=u.translate(c),g&&u.stacking?(c=u.stacking.stacks[(0>c?"-":"")+this.stackKey],this.visible&&c&&c[k]&&!t.isNull)&&(r=c[k].points[this.getStackIndicator(void 0,k,this.index).key],i=u.translate(r[0]),r=u.translate(r[1]),v(i)&&(i=s.clamp(i,0,b))):(i=e,r=t.plotY),i>r&&(r=[i,i=r][0]),d?r>l?r=l:i<a?i=a:(i>l||r<a)&&(i=r=b):i<l?i=l:r>a?r=a:(r<l||i>a)&&(i=r=0),u.min>u.max&&(i=r=d?b:0),i+=p,r+=p,f&&(t.barX=o+=f[3]/2),k=Math.max(o,0),c=Math.max(o+t.pointWidth,0),t.shapeArgs={x:f&&f[0],y:f&&f[1],r:c,innerR:k,start:i,end:r},t.opacity=i===r?0:void 0,t.plotY=(v(this.translatedThreshold)&&(i<this.translatedThreshold?i:r))-p):(i=o+p,t.shapeArgs=this.polarArc(t.yBottom,t.plotY,i,i+t.pointWidth));this.toXY(t);w.inverted?(o=u.postTranslate(t.rectPlotY,o+t.pointWidth/2),t.tooltipPos=[o.x-w.plotLeft,o.y-w.plotTop]):t.tooltipPos=[t.plotX,t.plotY];f&&(t.ttBelow=t.plotY>f[1])}}),e.findAlignments=function(n,t){return null===t.align&&(t.align=20<n&&160>n?"left":200<n&&340>n?"right":"center"),null===t.verticalAlign&&(t.verticalAlign=45>n||315<n?"bottom":135<n&&225>n?"top":"middle"),t},p&&(p.findAlignments=e.findAlignments),n(e,"alignDataLabel",function(n,t,i,r,u,f){var e=this.chart,o=a(r.inside,!!this.options.stacking);e.polar?(n=t.rectPlotX/Math.PI*180,e.inverted?(this.forceDL=e.isInsidePlot(t.plotX,Math.round(t.plotY)),o&&t.shapeArgs?(u=t.shapeArgs,u=this.yAxis.postTranslate(((u.start||0)+(u.end||0))/2-this.xAxis.startAngleRad,t.barX+t.pointWidth/2),u={x:u.x-e.plotLeft,y:u.y-e.plotTop}):t.tooltipPos&&(u={x:t.tooltipPos[0],y:t.tooltipPos[1]}),r.align=a(r.align,"center"),r.verticalAlign=a(r.verticalAlign,"middle")):this.findAlignments&&(r=this.findAlignments(n,r)),c.alignDataLabel.call(this,t,i,r,u,f),this.isRadialBar&&t.shapeArgs&&t.shapeArgs.start===t.shapeArgs.end&&i.hide(!0)):n.call(this,t,i,r,u,f)}));n(u,"getCoordinates",function(n,t){var i=this.chart,r={xAxis:[],yAxis:[]};return i.polar?i.axes.forEach(function(n){var e=n.isXAxis,u=n.center,f;"colorAxis"!==n.coll&&(f=t.chartX-u[0]-i.plotLeft,u=t.chartY-u[1]-i.plotTop,r[e?"xAxis":"yAxis"].push({axis:n,value:n.translate(e?Math.PI-Math.atan2(f,u):Math.sqrt(Math.pow(f,2)+Math.pow(u,2)),!0)}))}):r=n.call(this,t),r});o.prototype.clipCircle=function(n,t,i,r){var f=d(),u=this.createElement("clipPath").attr({id:f}).add(this.defs);return n=r?this.arc(n,t,i,r,0,2*Math.PI).add(u):this.circle(n,t,i).add(u),n.id=f,n.clipPath=u,n};l(t,"getAxes",function(){this.pane||(this.pane=[]);k(this.options.pane).forEach(function(n){new r(n,this)},this)});l(t,"afterDrawChartBox",function(){this.pane.forEach(function(n){n.render()})});l(f,"afterInit",function(){var n=this.chart;n.inverted&&n.polar&&(this.isRadialSeries=!0,this.is("column")&&(this.isRadialBar=!0))});n(t.prototype,"get",function(n,t){return b(this.pane||[],function(n){return n.options.id===t})||n.call(this,t)})});t(n,"masters/highcharts-more.src.js",[],function(){})}),function(n){"object"==typeof module&&module.exports?(n["default"]=n,module.exports=n):"function"==typeof define&&define.amd?define("highcharts/modules/data",["highcharts"],function(t){return n(t),n.Highcharts=t,n}):n("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(n){function t(n,t,i,r){n.hasOwnProperty(t)||(n[t]=r.apply(null,i))}n=n?n._modules:{};t(n,"Extensions/Ajax.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],function(n,t){var i=t.merge,r=t.objectEach;return n.ajax=function(n){var t=i(!0,{url:!1,type:"get",dataType:"json",success:!1,error:!1,data:!1,headers:{}},n),u;if(n={json:"application/json",xml:"application/xml",text:"text/plain",octet:"application/octet-stream"},u=new XMLHttpRequest,!t.url)return!1;u.open(t.type.toUpperCase(),t.url,!0);t.headers["Content-Type"]||u.setRequestHeader("Content-Type",n[t.dataType]||n.text);r(t.headers,function(n,t){u.setRequestHeader(t,n)});u.onreadystatechange=function(){if(4===u.readyState){if(200===u.status){var n=u.responseText;if("json"===t.dataType)try{n=JSON.parse(n)}catch(i){t.error&&t.error(u,i);return}return t.success&&t.success(n)}t.error&&t.error(u,u.responseText)}};try{t.data=JSON.stringify(t.data)}catch(f){}u.send(t.data||!0)},n.getJSON=function(t,i){n.ajax({url:t,success:i,dataType:"json",headers:{"Content-Type":"text/plain"}})},{ajax:n.ajax,getJSON:n.getJSON}});t(n,"Extensions/Data.js",[n["Extensions/Ajax.js"],n["Core/Chart/Chart.js"],n["Core/Globals.js"],n["Core/Series/Point.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(n,t,i,r,u,f){var h=n.ajax,l=i.doc,o=u.seriesTypes,s;n=f.addEvent;var a=f.defined,v=f.extend,y=f.fireEvent,c=f.isNumber,e=f.merge,p=f.objectEach,w=f.pick,b=f.splat;return f=function(){function n(n,t,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(n){return n?Date.UTC(+n[1],n[2]-1,+n[3]):NaN}},"dd/mm/YYYY":{regex:/^([0-9]{1,2})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{4})$/,parser:function(n){return n?Date.UTC(+n[3],n[2]-1,+n[1]):NaN},alternative:"mm/dd/YYYY"},"mm/dd/YYYY":{regex:/^([0-9]{1,2})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{4})$/,parser:function(n){return n?Date.UTC(+n[3],n[1]-1,+n[2]):NaN}},"dd/mm/YY":{regex:/^([0-9]{1,2})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{2})$/,parser:function(n){if(!n)return NaN;var t=+n[3];return t=t>(new Date).getFullYear()-2e3?t+1900:t+2e3,Date.UTC(t,n[2]-1,+n[1])},alternative:"mm/dd/YY"},"mm/dd/YY":{regex:/^([0-9]{1,2})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{2})$/,parser:function(n){return n?Date.UTC(+n[3]+2e3,n[1]-1,+n[2]):NaN}}};this.init(n,t,i)}return n.prototype.init=function(n,t,i){var u=n.decimalPoint,r;t&&(this.chartOptions=t);i&&(this.chart=i);"."!==u&&","!==u&&(u=void 0);this.options=n;this.columns=n.columns||this.rowsToColumns(n.rows)||[];this.firstRowAsNames=w(n.firstRowAsNames,this.firstRowAsNames,!0);this.decimalRegex=u&&new RegExp("^(-?[0-9]+)"+u+"([0-9]+)$");this.rawColumns=[];this.columns.length&&(this.dataFound(),r=!0);this.hasURLOption(n)&&(clearTimeout(this.liveDataTimeout),r=!1);r||(r=this.fetchLiveData());r||(r=!!this.parseCSV().length);r||(r=!!this.parseTable().length);r||(r=this.parseGoogleSpreadsheet());!r&&n.afterComplete&&n.afterComplete()},n.prototype.hasURLOption=function(n){return!(!n||!(n.rowsURL||n.csvURL||n.columnsURL))},n.prototype.getColumnDistribution=function(){var n=this.chartOptions,t=this.options,u=[],f=function(n){return(o[n||"line"].prototype.pointArrayMap||[0]).length},i=n&&n.chart&&n.chart.type,e=[],c=[],h=0,r;t=t&&t.seriesMapping||n&&n.series&&n.series.map(function(){return{x:0}})||[];(n&&n.series||[]).forEach(function(n){e.push(f(n.type||i))});t.forEach(function(n){u.push(n.x||0)});0===u.length&&u.push(0);t.forEach(function(t){var u=new s,w=e[h]||f(i),l=(n&&n.series||[])[h]||{},v=o[l.type||i||"line"].prototype.pointArrayMap,y=v||["y"];for((a(t.x)||l.isCartesian||!v)&&u.addColumnReader(t.x,"x"),p(t,function(n,t){"x"!==t&&u.addColumnReader(n,t)}),r=0;r<w;r++)u.hasReader(y[r])||u.addColumnReader(void 0,y[r]);c.push(u);h++});t=o[i||"line"].prototype.pointArrayMap;"undefined"==typeof t&&(t=["y"]);this.valueCount={global:f(i),xColumns:u,individual:e,seriesBuilders:c,globalPointArrayMap:t}},n.prototype.dataFound=function(){this.options.switchRowsAndColumns&&(this.columns=this.rowsToColumns(this.columns));this.getColumnDistribution();this.parseTypes();!1!==this.parsed()&&this.complete()},n.prototype.parseCSV=function(n){function l(n,t,i,u){function a(t){o=n[t];b=n[t-1];k=n[t+1]}function v(n){r.length<h+1&&r.push([n]);r[h][r[h].length-1]!==n&&r[h].push(n)}function y(){p>l||l>w?(++l,f=""):(!isNaN(parseFloat(f))&&isFinite(f)?(f=parseFloat(f),v("number")):isNaN(Date.parse(f))?v("string"):(f=f.replace(/\//g,"-"),v("date")),e.length<h+1&&e.push([]),i||(e[h][t]=f),f="",++h,++l)}var c=0,o="",b="",k="",f="",l=0,h=0;if(n.trim().length&&"#"!==n.trim()[0]){for(;c<n.length;c++)if(a(c),'"'===o)for(a(++c);c<n.length&&('"'!==o||'"'===b||'"'===k);)('"'!==o||'"'===o&&'"'!==b)&&(f+=o),a(++c);else u&&u[o]?u[o](o,f)&&y():o===s?y():f+=o;y()}}function a(n){var i=0,r=0,f=!1;return n.some(function(n,t){var s=!1,e="",f,o,h;if(13<t)return!0;for(f=0;f<n.length;f++){if(t=n[f],o=n[f+1],h=n[f-1],"#"===t)break;if('"'===t)if(s){if('"'!==h&&'"'!==o){for(;" "===o&&f<n.length;)o=n[++f];"undefined"!=typeof u[o]&&u[o]++;s=!1}}else s=!0;else"undefined"!=typeof u[t]?(e=e.trim(),isNaN(Date.parse(e))?!isNaN(e)&&isFinite(e)||u[t]++:u[t]++,e=""):e+=t;","===t&&r++;"."===t&&i++}}),f=u[";"]>u[","]?";":",",t.decimalPoint||(t.decimalPoint=i>r?".":",",c.decimalRegex=new RegExp("^(-?[0-9]+)"+t.decimalPoint+"([0-9]+)$")),f}function v(n,i){var u=[],e=0,h=!1,o=[],s=[],r,f;for((!i||i>n.length)&&(i=n.length);e<i;e++)if("undefined"!=typeof n[e]&&n[e]&&n[e].length)for(f=n[e].trim().replace(/\//g," ").replace(/\-/g," ").replace(/\./g," ").split(" "),u=["","",""],r=0;r<f.length;r++)r<u.length&&(f[r]=parseInt(f[r],10),f[r]&&(s[r]=!s[r]||s[r]<f[r]?f[r]:s[r],"undefined"!=typeof o[r]?o[r]!==f[r]&&(o[r]=!1):o[r]=f[r],31<f[r]?u[r]=100>f[r]?"YY":"YYYY":12<f[r]&&31>=f[r]?(u[r]="dd",h=!0):u[r].length||(u[r]="mm")));if(h){for(r=0;r<o.length;r++)!1!==o[r]?12<s[r]&&"YY"!==u[r]&&"YYYY"!==u[r]&&(u[r]="YY"):12<s[r]&&"mm"===u[r]&&(u[r]="dd");return 3===u.length&&"dd"===u[1]&&"dd"===u[2]&&(u[2]="YY"),n=u.join("/"),(t.dateFormats||c.dateFormats)[n]?n:(y("deduceDateFailed"),"YYYY/mm/dd")}return"YYYY/mm/dd"}var c=this,t=n||this.options,i=t.csv,s,h;n="undefined"!=typeof t.startRow&&t.startRow?t.startRow:0;var o=t.endRow||Number.MAX_VALUE,p="undefined"!=typeof t.startColumn&&t.startColumn?t.startColumn:0,w=t.endColumn||Number.MAX_VALUE,f=0,r=[],u={",":0,";":0,"\t":0},e=this.columns=[];if(i&&t.beforeParse&&(i=t.beforeParse.call(this,i)),i){for(i=i.replace(/\r\n/g,"\n").replace(/\r/g,"\n").split(t.lineDelimiter||"\n"),(!n||0>n)&&(n=0),(!o||o>=i.length)&&(o=i.length-1),t.itemDelimiter?s=t.itemDelimiter:(s=null,s=a(i)),h=0,f=n;f<=o;f++)"#"===i[f][0]?h++:l(i[f],f-n-h);t.columnTypes&&0!==t.columnTypes.length||!r.length||!r[0].length||"date"!==r[0][1]||t.dateFormat||(t.dateFormat=v(e[0]));this.dataFound()}return e},n.prototype.parseTable=function(){var n=this.options,t=n.table,i=this.columns||[],r=n.startRow||0,f=n.endRow||Number.MAX_VALUE,u=n.startColumn||0,e=n.endColumn||Number.MAX_VALUE;return t&&("string"==typeof t&&(t=l.getElementById(t)),[].forEach.call(t.getElementsByTagName("tr"),function(n,t){t>=r&&t<=f&&[].forEach.call(n.children,function(n,f){var s=i[f-u],o=1;if(("TD"===n.tagName||"TH"===n.tagName)&&f>=u&&f<=e)for(i[f-u]||(i[f-u]=[]),i[f-u][t-r]=n.innerHTML;t-r>=o&&void 0===s[t-r-o];)s[t-r-o]=null,o++})}),this.dataFound()),i},n.prototype.fetchLiveData=function(){function u(e){function c(r,c,l){function a(){s&&t.liveDataURL===r&&(f.liveDataTimeout=setTimeout(u,i))}return!r||0!==r.indexOf("http")?(r&&n.error&&n.error("Invalid URL"),!1):(e&&(clearTimeout(f.liveDataTimeout),t.liveDataURL=r),h({url:r,dataType:l||"json",success:function(n){t&&t.series&&c(n);a()},error:function(t,i){return 3>++o&&a(),n.error&&n.error(i,t)}}),!0)}c(r.csvURL,function(n){t.update({data:{csv:n}})},"text")||c(r.rowsURL,function(n){t.update({data:{rows:n}})})||c(r.columnsURL,function(n){t.update({data:{columns:n}})})}var f=this,t=this.chart,n=this.options,o=0,s=n.enablePolling,i=1e3*(n.dataRefreshRate||2),r=e(n);return this.hasURLOption(n)?(1e3>i&&(i=1e3),delete n.csvURL,delete n.rowsURL,delete n.columnsURL,u(!0),this.hasURLOption(n)):!1},n.prototype.parseGoogleSpreadsheet=function(){function r(t){var i=["https://spreadsheets.google.com/feeds/cells",f,c,"public/values?alt=json"].join("/");h({url:i,dataType:"json",success:function(i){t(i);n.enablePolling&&setTimeout(function(){r(t)},1e3*(n.dataRefreshRate||2))},error:function(t,i){return n.error&&n.error(i,t)}})}var u=this,n=this.options,f=n.googleSpreadsheetKey,i=this.chart,c=n.googleSpreadsheetWorksheet||1,e=n.startRow||0,l=n.endRow||Number.MAX_VALUE,t=n.startColumn||0,o=n.endColumn||Number.MAX_VALUE,s=1e3*(n.dataRefreshRate||2);return 4e3>s&&(s=4e3),f&&(delete n.googleSpreadsheetKey,r(function(n){var c=[],v,h,r,f,a,s;if(n=n.feed.entry,v=(n||[]).length,h=0,!n||0===n.length)return!1;for(r=0;r<v;r++)f=n[r],h=Math.max(h,f.gs$cell.col);for(r=0;r<h;r++)r>=t&&r<=o&&(c[r-t]=[]);for(r=0;r<v;r++)f=n[r],h=f.gs$cell.row-1,a=f.gs$cell.col-1,a>=t&&a<=o&&h>=e&&h<=l&&(s=f.gs$cell||f.content,f=null,s.numericValue?f=0<=s.$t.indexOf("/")||0<=s.$t.indexOf("-")?s.$t:0<s.$t.indexOf("%")?100*parseFloat(s.numericValue):parseFloat(s.numericValue):s.$t&&s.$t.length&&(f=s.$t),c[a-t][h-e]=f);c.forEach(function(n){for(r=0;r<n.length;r++)"undefined"==typeof n[r]&&(n[r]=null)});i&&i.series?i.update({data:{columns:c}}):(u.columns=c,u.dataFound())})),!1},n.prototype.trim=function(n,t){return"string"==typeof n&&(n=n.replace(/^\s+|\s+$/g,""),t&&/^[0-9\s]+$/.test(n)&&(n=n.replace(/\s/g,"")),this.decimalRegex&&(n=n.replace(this.decimalRegex,"$1.$2"))),n},n.prototype.parseTypes=function(){for(var t=this.columns,n=t.length;n--;)this.parseColumn(t[n],n)},n.prototype.parseColumn=function(n,t){var f=this.rawColumns,e=this.columns,i=n.length,y=this.firstRowAsNames,h=-1!==this.valueCount.xColumns.indexOf(t),l,p=[],o=this.chartOptions,s,v=(this.options.columnTypes||[])[t];for(o=h&&(o&&o.xAxis&&"category"===b(o.xAxis)[0].type||"string"===v),f[t]||(f[t]=[]);i--;){var r=p[i]||n[i],u=this.trim(r),w=this.trim(r,!0),a=parseFloat(w);"undefined"==typeof f[t][i]&&(f[t][i]=u);o||0===i&&y?n[i]=""+u:+w===a?(n[i]=a,31536e6<a&&"float"!==v?n.isDatetime=!0:n.isNumeric=!0,"undefined"!=typeof n[i+1]&&(s=a>n[i+1])):(u&&u.length&&(l=this.parseDate(r)),h&&c(l)&&"float"!==v?(p[i]=r,n[i]=l,n.isDatetime=!0,"undefined"!=typeof n[i+1]&&(r=l>n[i+1],r!==s&&"undefined"!=typeof s&&(this.alternativeFormat?(this.dateFormat=this.alternativeFormat,i=n.length,this.alternativeFormat=this.dateFormats[this.dateFormat].alternative):n.unsorted=!0),s=r)):(n[i]=""===u?null:u,0!==i&&(n.isDatetime||n.isNumeric)&&(n.mixed=!0)))}if(h&&n.mixed&&(e[t]=f[t]),h&&s&&this.options.sort)for(t=0;t<e.length;t++)e[t].reverse(),y&&e[t].unshift(e[t].pop())},n.prototype.parseDate=function(n){var i=this.options.parseDate,u,f=this.options.dateFormat||this.dateFormat,t,r;if(i)r=i(n);else if("string"==typeof n){if(f)(i=this.dateFormats[f])||(i=this.dateFormats["YYYY/mm/dd"]),(t=n.match(i.regex))&&(r=i.parser(t));else for(u in this.dateFormats)if(i=this.dateFormats[u],t=n.match(i.regex)){this.dateFormat=u;this.alternativeFormat=i.alternative;r=i.parser(t);break}t||(n.match(/:.+(GMT|UTC|[Z+-])/)&&(n=n.replace(/\s*(?:GMT|UTC)?([+-])(\d\d)(\d\d)$/,"$1$2:$3").replace(/(?:\s+|GMT|UTC)([+-])/,"$1").replace(/(\d)\s*(?:GMT|UTC|Z)$/,"$1+00:00")),t=Date.parse(n),"object"==typeof t&&null!==t&&t.getTime?r=t.getTime()-6e4*t.getTimezoneOffset():c(t)&&(r=t-6e4*new Date(t).getTimezoneOffset()))}return r},n.prototype.rowsToColumns=function(n){var i,t,r,u,f;if(n)for(r=[],u=n.length,i=0;i<u;i++)for(f=n[i].length,t=0;t<f;t++)r[t]||(r[t]=[]),r[t][i]=n[i][t];return r},n.prototype.getData=function(){if(this.columns)return this.rowsToColumns(this.columns).slice(1)},n.prototype.parsed=function(){if(this.options.parsed)return this.options.parsed.call(this,this.columns)},n.prototype.getFreeIndexes=function(n,t){for(var r=[],f=[],u,i=0;i<n;i+=1)r.push(!0);for(n=0;n<t.length;n+=1)for(u=t[n].getReferencedColumnIndexes(),i=0;i<u.length;i+=1)r[u[i]]=!1;for(i=0;i<r.length;i+=1)r[i]&&f.push(i);return f},n.prototype.complete=function(){var r=this.columns,f,e=this.options,n,o,u=[],h,i,t;if(e.complete||e.afterComplete){if(this.firstRowAsNames)for(n=0;n<r.length;n++)r[n].name=r[n].shift();for(h=[],i=this.getFreeIndexes(r.length,this.valueCount.seriesBuilders),n=0;n<this.valueCount.seriesBuilders.length;n++)t=this.valueCount.seriesBuilders[n],t.populateColumns(i)&&u.push(t);for(;0<i.length;){for(t=new s,t.addColumnReader(0,"x"),n=i.indexOf(0),-1!==n&&i.splice(n,1),n=0;n<this.valueCount.global;n++)t.addColumnReader(void 0,this.valueCount.globalPointArrayMap[n]);t.populateColumns(i)&&u.push(t)}if(0<u.length&&0<u[0].readers.length&&(t=r[u[0].readers[0].columnIndex],"undefined"!=typeof t&&(t.isDatetime?f="datetime":t.isNumeric||(f="category"))),"category"===f)for(n=0;n<u.length;n++)for(t=u[n],i=0;i<t.readers.length;i++)"x"===t.readers[i].configName&&(t.readers[i].configName="name");for(n=0;n<u.length;n++){for(t=u[n],i=[],o=0;o<r[0].length;o++)i[o]=t.read(r,o);h[n]={data:i};t.name&&(h[n].name=t.name);"category"===f&&(h[n].turboThreshold=0)}r={series:h};f&&(r.xAxis={type:f},"category"===f&&(r.xAxis.uniqueNames=!1));e.complete&&e.complete(r);e.afterComplete&&e.afterComplete(r)}},n.prototype.update=function(n,t){var i=this.chart;n&&(n.afterComplete=function(n){n&&(n.xAxis&&i.xAxis[0]&&n.xAxis.type===i.xAxis[0].options.type&&delete n.xAxis,i.update(n,t,!0))},e(!0,i.options.data,n),this.init(i.options.data))},n}(),i.data=function(n,t,r){return new i.Data(n,t,r)},n(t,"init",function(n){var r=this,t=n.args[0]||{},u=n.args[1];t&&t.data&&!r.hasDataDef&&(r.hasDataDef=!0,r.data=new i.Data(v(t.data,{afterComplete:function(n){var i,f;if(Object.hasOwnProperty.call(t,"series"))if("object"==typeof t.series)for(i=Math.max(t.series.length,n&&n.series?n.series.length:0);i--;)f=t.series[i]||{},t.series[i]=e(f,n&&n.series?n.series[i]:{});else delete t.series;t=e(n,t);r.init(t,u)}}),t,r),n.preventDefault())}),s=function(){function n(){this.readers=[];this.pointIsArray=!0;this.name=void 0}return n.prototype.populateColumns=function(n){var t=!0;return this.readers.forEach(function(t){"undefined"==typeof t.columnIndex&&(t.columnIndex=n.shift())}),this.readers.forEach(function(n){"undefined"==typeof n.columnIndex&&(t=!1)}),t},n.prototype.read=function(n,t){var f=this.pointIsArray,u=f?[]:{},i;return this.readers.forEach(function(i){var e=n[i.columnIndex][t];f?u.push(e):0<i.configName.indexOf(".")?r.prototype.setNestedProperty(u,e,i.configName):u[i.configName]=e}),"undefined"==typeof this.name&&2<=this.readers.length&&(i=this.getReferencedColumnIndexes(),2<=i.length&&(i.shift(),i.sort(function(n,t){return n-t}),this.name=n[i.shift()].name)),u},n.prototype.addColumnReader=function(n,t){this.readers.push({columnIndex:n,configName:t});"x"!==t&&"y"!==t&&"undefined"!=typeof t&&(this.pointIsArray=!1)},n.prototype.getReferencedColumnIndexes=function(){for(var i=[],t,n=0;n<this.readers.length;n+=1)t=this.readers[n],"undefined"!=typeof t.columnIndex&&i.push(t.columnIndex);return i},n.prototype.hasReader=function(n){for(var i,t=0;t<this.readers.length;t+=1)if(i=this.readers[t],i.configName===n)return!0},n}(),i.Data=f,i.Data});t(n,"masters/modules/data.src.js",[],function(){})}),function(n){"object"==typeof module&&module.exports?(n["default"]=n,module.exports=n):"function"==typeof define&&define.amd?define("highcharts/modules/exporting",["highcharts"],function(t){return n(t),n.Highcharts=t,n}):n("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(n){function t(n,t,i,r){n.hasOwnProperty(t)||(n[t]=r.apply(null,i))}n=n?n._modules:{};t(n,"Extensions/FullScreen.js",[n["Core/Chart/Chart.js"],n["Core/Globals.js"],n["Core/Renderer/HTML/AST.js"],n["Core/Utilities.js"]],function(n,t,i,r){var u=r.addEvent;return r=function(){function n(n){this.chart=n;this.isOpen=!1;n=n.renderTo;this.browserProps||("function"==typeof n.requestFullscreen?this.browserProps={fullscreenChange:"fullscreenchange",requestFullscreen:"requestFullscreen",exitFullscreen:"exitFullscreen"}:n.mozRequestFullScreen?this.browserProps={fullscreenChange:"mozfullscreenchange",requestFullscreen:"mozRequestFullScreen",exitFullscreen:"mozCancelFullScreen"}:n.webkitRequestFullScreen?this.browserProps={fullscreenChange:"webkitfullscreenchange",requestFullscreen:"webkitRequestFullScreen",exitFullscreen:"webkitExitFullscreen"}:n.msRequestFullscreen&&(this.browserProps={fullscreenChange:"MSFullscreenChange",requestFullscreen:"msRequestFullscreen",exitFullscreen:"msExitFullscreen"}))}return n.prototype.close=function(){var n=this.chart,t=n.options.chart;this.isOpen&&this.browserProps&&n.container.ownerDocument instanceof Document&&n.container.ownerDocument[this.browserProps.exitFullscreen]();this.unbindFullscreenEvent&&(this.unbindFullscreenEvent=this.unbindFullscreenEvent());n.setSize(this.origWidth,this.origHeight,!1);this.origHeight=this.origWidth=void 0;t.width=this.origWidthOption;t.height=this.origHeightOption;this.origHeightOption=this.origWidthOption=void 0;this.isOpen=!1;this.setButtonText()},n.prototype.open=function(){var n=this,t=n.chart,i=t.options.chart,r,f;i&&(n.origWidthOption=i.width,n.origHeightOption=i.height);n.origWidth=t.chartWidth;n.origHeight=t.chartHeight;n.browserProps&&(r=u(t.container.ownerDocument,n.browserProps.fullscreenChange,function(){n.isOpen?(n.isOpen=!1,n.close()):(t.setSize(null,null,!1),n.isOpen=!0,n.setButtonText())}),f=u(t,"destroy",r),n.unbindFullscreenEvent=function(){r();f()},(i=t.renderTo[n.browserProps.requestFullscreen]())&&i["catch"](function(){alert("Full screen is not supported inside a frame.")}))},n.prototype.setButtonText=function(){var n=this.chart,r=n.exportDivElements,t=n.options.exporting,u=t&&t.buttons&&t.buttons.contextButton.menuItems;n=n.options.lang;t&&t.menuItemDefinitions&&n&&n.exitFullscreen&&n.viewFullscreen&&u&&r&&r.length&&i.setElementHTML(r[u.indexOf("viewFullscreen")],this.isOpen?n.exitFullscreen:t.menuItemDefinitions.viewFullscreen.text||n.viewFullscreen)},n.prototype.toggle=function(){this.isOpen?this.close():this.open()},n}(),t.Fullscreen=r,u(n,"beforeRender",function(){this.fullscreen=new t.Fullscreen(this)}),t.Fullscreen});t(n,"Mixins/Navigation.js",[],function(){return{initUpdate:function(n){n.navigation||(n.navigation={updates:[],update:function(n,t){this.updates.forEach(function(i){i.update.call(i.context,n,t)})}})},addUpdate:function(n,t){t.navigation||this.initUpdate(t);t.navigation.updates.push({update:n,context:t})}}});t(n,"Extensions/Exporting.js",[n["Core/Chart/Chart.js"],n["Mixins/Navigation.js"],n["Core/Globals.js"],n["Core/Options.js"],n["Core/Color/Palette.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Utilities.js"]],function(n,t,i,r,u,f,e){var c=i.doc,k=i.isTouchDevice,y=i.win;r=r.defaultOptions;var l=e.addEvent,s=e.css,a=e.createElement,w=e.discardElement,v=e.extend,d=e.find,p=e.fireEvent,g=e.isObject,o=e.merge,b=e.objectEach,h=e.pick,nt=e.removeEvent,tt=e.uniqueKey;v(r.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"});r.navigation||(r.navigation={});o(!0,r.navigation,{buttonOptions:{theme:{},symbolSize:14,symbolX:12.5,symbolY:10.5,align:"right",buttonSpacing:3,height:22,verticalAlign:"top",width:24}});o(!0,r.navigation,{menuStyle:{border:"1px solid "+u.neutralColor40,background:u.backgroundColor,padding:"5px 0"},menuItemStyle:{padding:"0.5em 1em",color:u.neutralColor80,background:"none",fontSize:k?"14px":"11px",transition:"background 250ms, color 250ms"},menuItemHoverStyle:{background:u.highlightColor80,color:u.backgroundColor},buttonOptions:{symbolFill:u.neutralColor60,symbolStroke:u.neutralColor60,symbolStrokeWidth:3,theme:{padding:5}}});r.exporting={type:"image/png",url:"https://export.highcharts.com/",printMaxWidth:780,scale:2,buttons:{contextButton:{className:"highcharts-contextbutton",menuClassName:"highcharts-contextmenu",symbol:"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(n,t,i){var r=a("form",o({method:"post",action:n,enctype:"multipart/form-data"},i),{display:"none"},c.body);b(t,function(n,t){a("input",{type:"hidden",name:t,value:n},null,r)});r.submit();w(r)};i.isSafari&&i.win.matchMedia("print").addListener(function(n){i.printingChart&&(n.matches?i.printingChart.beforePrint():i.printingChart.afterPrint())});v(n.prototype,{sanitizeSVG:function(n,t){var r=n.indexOf("<\/svg>")+6,i=n.substr(r);return n=n.substr(0,r),t&&t.exporting&&t.exporting.allowHTML&&i&&(i='<foreignObject x="0" y="0" width="'+t.chart.width+'" height="'+t.chart.height+'"><body xmlns="http://www.w3.org/1999/xhtml">'+i.replace(/(<(?:img|br).*?(?=>))>/g,"$1 />")+"<\/body><\/foreignObject>",n=n.replace("<\/svg>",i+"<\/svg>")),n=n.replace(/zIndex="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery[0-9]+="[^"]+"/g,"").replace(/url\(("|&quot;)(.*?)("|&quot;);?\)/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(/&nbsp;/g," ").replace(/&shy;/g,"­"),this.ieSanitizeSVG&&(n=this.ieSanitizeSVG(n)),n},getChartHTML:function(){return this.styledMode&&this.inlineStyles(),this.container.innerHTML},getSVG:function(t){var e,i=o(this.options,t),s,u;i.plotOptions=o(this.userOptions.plotOptions,t&&t.plotOptions);i.time=o(this.userOptions.time,t&&t.time);var h=a("div",null,{position:"absolute",top:"-9999em",width:this.chartWidth+"px",height:this.chartHeight+"px"},c.body),r=this.renderTo.style.width,f=this.renderTo.style.height;return r=i.exporting.sourceWidth||i.chart.width||/px$/.test(r)&&parseInt(r,10)||(i.isGantt?800:600),f=i.exporting.sourceHeight||i.chart.height||/px$/.test(f)&&parseInt(f,10)||400,v(i.chart,{animation:!1,renderTo:h,forExport:!0,renderer:"SVGRenderer",width:r,height:f}),i.exporting.enabled=!1,delete i.data,i.series=[],this.series.forEach(function(n){e=o(n.userOptions,{animation:!1,enableMouseTracking:!1,showCheckbox:!1,visible:n.visible});e.isInternal||i.series.push(e)}),s={},this.axes.forEach(function(n){n.userOptions.internalKey||(n.userOptions.internalKey=tt());n.options.isInternal||(s[n.coll]||(s[n.coll]=!0,i[n.coll]=[]),i[n.coll].push(o(n.userOptions,{visible:n.visible})))}),u=new n(i,this.callback),t&&["xAxis","yAxis","series"].forEach(function(n){var i={};t[n]&&(i[n]=t[n],u.update(i))}),this.axes.forEach(function(n){var i=d(u.axes,function(t){return t.options.internalKey===n.userOptions.internalKey}),t=n.getExtremes(),r=t.userMin;t=t.userMax;i&&("undefined"!=typeof r&&r!==i.min||"undefined"!=typeof t&&t!==i.max)&&i.setExtremes(r,t,!0,!1)}),r=u.getChartHTML(),p(this,"getSVG",{chartCopy:u}),r=this.sanitizeSVG(r,i),i=null,u.destroy(),w(h),r},getSVGForExport:function(n,t){var i=this.options.exporting;return this.getSVG(o({chart:{borderRadius:0}},i.chartOptions,t,{exporting:{sourceWidth:n&&n.sourceWidth||i.sourceWidth,sourceHeight:n&&n.sourceHeight||i.sourceHeight}}))},getFilename:function(){var t=this.userOptions.title&&this.userOptions.title.text,n=this.options.exporting.filename;return n?n.replace(/\//g,"-"):("string"==typeof t&&(n=t.toLowerCase().replace(/<\/?[^>]+(>|$)/g,"").replace(/[\s_]+/g,"-").replace(/[^a-z0-9\-]/g,"").replace(/^[\-]+/g,"").replace(/[\-]+/g,"-").substr(0,24).replace(/[\-]+$/g,"")),(!n||5>n.length)&&(n="chart"),n)},exportChart:function(n,t){t=this.getSVGForExport(n,t);n=o(this.options.exporting,n);i.post(n.url,{filename:n.filename?n.filename.replace(/\//g,"-"):this.getFilename(),type:n.type,width:n.width||0,scale:n.scale,svg:t},n.formAttributes)},moveContainers:function(n){(this.fixedDiv?[this.fixedDiv,this.scrollingContainer]:[this.container]).forEach(function(t){n.appendChild(t)})},beforePrint:function(){var i=c.body,t=this.options.exporting.printMaxWidth,n={childNodes:i.childNodes,origDisplay:[],resetParams:void 0};this.isPrinting=!0;this.pointer.reset(null,0);p(this,"beforePrint");t&&this.chartWidth>t&&(n.resetParams=[this.options.chart.width,void 0,!1],this.setSize(t,void 0,!1));[].forEach.call(n.childNodes,function(t,i){1===t.nodeType&&(n.origDisplay[i]=t.style.display,t.style.display="none")});this.moveContainers(i);this.printReverseInfo=n},afterPrint:function(){if(this.printReverseInfo){var t=this.printReverseInfo.childNodes,r=this.printReverseInfo.origDisplay,n=this.printReverseInfo.resetParams;this.moveContainers(this.renderTo);[].forEach.call(t,function(n,t){1===n.nodeType&&(n.style.display=r[t]||"")});this.isPrinting=!1;n&&this.setSize.apply(this,n);delete this.printReverseInfo;delete i.printingChart;p(this,"afterPrint")}},print:function(){var n=this;n.isPrinting||(i.printingChart=n,i.isSafari||n.beforePrint(),setTimeout(function(){y.focus();y.print();i.isSafari||setTimeout(function(){n.afterPrint()},1e3)},1))},contextMenu:function(n,t,i,r,u,f,o){var h=this,d=h.options.navigation,nt=h.chartWidth,tt=h.chartHeight,it="cache-"+n,w=h[it],b=Math.max(u,f),k;w||(h.exportContextMenu=h[it]=w=a("div",{className:n},{position:"absolute",zIndex:1e3,padding:b+"px",pointerEvents:"auto"},h.fixedDiv||h.container),k=a("ul",{className:"highcharts-menu"},{listStyle:"none",margin:0,padding:0},w),h.styledMode||s(k,v({MozBoxShadow:"3px 3px 10px #888",WebkitBoxShadow:"3px 3px 10px #888",boxShadow:"3px 3px 10px #888"},d.menuStyle)),w.hideMenu=function(){s(w,{display:"none"});o&&o.setState(0);h.openMenu=!1;s(h.renderTo,{overflow:"hidden"});s(h.container,{overflow:"hidden"});e.clearTimeout(w.hideTimer);p(h,"exportMenuHidden")},h.exportEvents.push(l(w,"mouseleave",function(){w.hideTimer=y.setTimeout(w.hideMenu,500)}),l(w,"mouseenter",function(){e.clearTimeout(w.hideTimer)}),l(c,"mouseup",function(t){h.pointer.inClass(t.target,n)||w.hideMenu()}),l(w,"click",function(){h.openMenu&&w.hideMenu()})),t.forEach(function(n){if("string"==typeof n&&(n=h.options.exporting.menuItemDefinitions[n]),g(n,!0)){var t=void 0;n.separator?t=a("hr",null,null,k):("viewData"===n.textKey&&h.isDataTableVisible&&(n.textKey="hideData"),t=a("li",{className:"highcharts-menu-item",onclick:function(t){t&&t.stopPropagation();w.hideMenu();n.onclick&&n.onclick.apply(h,arguments)}},null,k),t.appendChild(c.createTextNode(n.text||h.options.lang[n.textKey])),h.styledMode||(t.onmouseover=function(){s(this,d.menuItemHoverStyle)},t.onmouseout=function(){s(this,d.menuItemStyle)},s(t,v({cursor:"pointer"},d.menuItemStyle))));h.exportDivElements.push(t)}}),h.exportDivElements.push(k,w),h.exportMenuWidth=w.offsetWidth,h.exportMenuHeight=w.offsetHeight);t={display:"block"};i+h.exportMenuWidth>nt?t.right=nt-i-u-b+"px":t.left=i-b+"px";r+f+h.exportMenuHeight>tt&&"top"!==o.alignOptions.verticalAlign?t.bottom=tt-r-b+"px":t.top=r+f-b+"px";s(w,t);s(h.renderTo,{overflow:""});s(h.container,{overflow:""});h.openMenu=!0;p(h,"exportMenuShown")},addButton:function(n){var i=this,a=i.renderer,t=o(i.options.navigation.buttonOptions,n),y=t.onclick,p=t.menuItems,e=t.symbolSize||12,c,f,l;if(i.btnCount||(i.btnCount=0),i.exportDivElements||(i.exportDivElements=[],i.exportSVGElements=[]),!1!==t.enabled&&t.theme){var r=t.theme,s=r.states,w=s&&s.hover;s=s&&s.select;i.styledMode||(r.fill=h(r.fill,u.backgroundColor),r.stroke=h(r.stroke,"none"));delete r.states;y?c=function(n){n&&n.stopPropagation();y.call(i,n)}:p&&(c=function(n){n&&n.stopPropagation();i.contextMenu(f.menuClassName,p,f.translateX,f.translateY,f.width,f.height,f);f.setState(2)});t.text&&t.symbol?r.paddingLeft=h(r.paddingLeft,30):t.text||v(r,{width:t.width,height:t.height,padding:0});i.styledMode||(r["stroke-linecap"]="round",r.fill=h(r.fill,u.backgroundColor),r.stroke=h(r.stroke,"none"));f=a.button(t.text,0,0,c,r,w,s).addClass(n.className).attr({title:h(i.options.lang[t._titleKey||t.titleKey],"")});f.menuClassName=n.menuClassName||"highcharts-menu-"+i.btnCount++;t.symbol&&(l=a.symbol(t.symbol,t.symbolX-e/2,t.symbolY-e/2,e,e,{width:e,height:e}).addClass("highcharts-button-symbol").attr({zIndex:1}).add(f),i.styledMode||l.attr({stroke:t.symbolStroke,fill:t.symbolFill,"stroke-width":t.symbolStrokeWidth||1}));f.add(i.exportingGroup).align(v(t,{width:f.width,x:h(t.x,i.buttonOffset)}),!0,"spacingBox");i.buttonOffset+=(f.width+t.buttonSpacing)*("right"===t.align?-1:1);i.exportSVGElements.push(f,l)}},destroyExport:function(n){var t=n?n.target:this,i,r,u;n=t.exportSVGElements;i=t.exportDivElements;r=t.exportEvents;n&&(n.forEach(function(n,i){n&&(n.onclick=n.ontouchstart=null,u="cache-"+n.menuClassName,t[u]&&delete t[u],t.exportSVGElements[i]=n.destroy())}),n.length=0);t.exportingGroup&&(t.exportingGroup.destroy(),delete t.exportingGroup);i&&(i.forEach(function(n,i){e.clearTimeout(n.hideTimer);nt(n,"mouseleave");t.exportDivElements[i]=n.onmouseout=n.onmouseover=n.ontouchstart=n.onclick=null;w(n)}),i.length=0);r&&(r.forEach(function(n){n()}),r.length=0)}});f.prototype.inlineToAttributes="fill stroke strokeLinecap strokeLinejoin strokeWidth textAnchor x y".split(" ");f.prototype.inlineBlacklist=[/-/,/^(clipPath|cssText|d|height|width)$/,/^font$/,/[lL]ogical(Width|Height)$/,/perspective/,/TapHighlightColor/,/^transition/,/^length$/];f.prototype.unstyledElements=["clipPath","defs","desc"];n.prototype.inlineStyles=function(){function e(n){return n.replace(/([A-Z])/g,function(n,t){return"-"+t.toLowerCase()})}function h(n){function nt(t,i){if(c=w=!1,f){for(p=f.length;p--&&!w;)w=f[p].test(i);c=!w}for("transform"===i&&"none"===t&&(c=!0),p=a.length;p--&&!c;)c=a[p].test(i)||"function"==typeof t;c||tt[i]===t&&"svg"!==n.nodeName||u[n.nodeName][i]===t||(l&&-1===l.indexOf(i)?d+=e(i)+":"+t+";":t&&n.setAttribute(e(i),t))}var d="",c,w,p,s,tt,k,g;if(1===n.nodeType&&-1===v.indexOf(n.nodeName)){if(s=y.getComputedStyle(n,null),tt="svg"===n.nodeName?{}:y.getComputedStyle(n.parentNode,null),u[n.nodeName]||(r=t.getElementsByTagName("svg")[0],k=t.createElementNS(n.namespaceURI,n.nodeName),r.appendChild(k),u[n.nodeName]=o(y.getComputedStyle(k,null)),"text"===n.nodeName&&delete u.text.fill,r.removeChild(k)),i.isFirefox||i.isMS)for(g in s)nt(s[g],g);else b(s,nt);d&&(s=n.getAttribute("style"),n.setAttribute("style",(s?s+";":"")+d));"svg"===n.nodeName&&n.setAttribute("stroke-width","1px");"text"!==n.nodeName&&[].forEach.call(n.children||n.childNodes,h)}}var n=this.renderer,l=n.inlineToAttributes,a=n.inlineBlacklist,f=n.inlineWhitelist,v=n.unstyledElements,u={},r,t;n=c.createElement("iframe");s(n,{width:"1px",height:"1px",visibility:"hidden"});c.body.appendChild(n);t=n.contentWindow.document;t.open();t.write('<svg xmlns="http://www.w3.org/2000/svg"><\/svg>');t.close();h(this.container.querySelector("svg"));r.parentNode.removeChild(r);n.parentNode.removeChild(n)};i.Renderer.prototype.symbols.menu=function(n,t,i,r){return[["M",n,t+2.5],["L",n+i,t+2.5],["M",n,t+r/2+.5],["L",n+i,t+r/2+.5],["M",n,t+r-1.5],["L",n+i,t+r-1.5]]};i.Renderer.prototype.symbols.menuball=function(n,t,i,r){return n=[],r=r/3-2,n.concat(this.circle(i-r,t,r,r),this.circle(i-r,t+r+4,r,r),this.circle(i-r,t+2*(r+4),r,r))};n.prototype.renderExporting=function(){var n=this,t=n.options.exporting,i=t.buttons,r=n.isDirtyExporting||!n.exportSVGElements;n.buttonOffset=0;n.isDirtyExporting&&n.destroyExport();r&&!1!==t.enabled&&(n.exportEvents=[],n.exportingGroup=n.exportingGroup||n.renderer.g("exporting-group").attr({zIndex:3}).add(),b(i,function(t){n.addButton(t)}),n.isDirtyExporting=!1)};l(n,"init",function(){var n=this;n.exporting={update:function(t,i){n.isDirtyExporting=!0;o(!0,n.options.exporting,t);h(i,!0)&&n.redraw()}};t.addUpdate(function(t,i){n.isDirtyExporting=!0;o(!0,n.options.navigation,t);h(i,!0)&&n.redraw()},n)});n.prototype.callbacks.push(function(n){n.renderExporting();l(n,"redraw",n.renderExporting);l(n,"destroy",n.destroyExport)})});t(n,"masters/modules/exporting.src.js",[],function(){})}),function(n){"object"==typeof module&&module.exports?(n["default"]=n,module.exports=n):"function"==typeof define&&define.amd?define("highcharts/modules/offline-exporting",["highcharts","highcharts/modules/exporting"],function(t){return n(t),n.Highcharts=t,n}):n("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(n){function t(n,t,i,r){n.hasOwnProperty(t)||(n[t]=r.apply(null,i))}n=n?n._modules:{};t(n,"Extensions/DownloadURL.js",[n["Core/Globals.js"]],function(n){var t=n.win,i=t.document,r=t.URL||t.webkitURL||t,u=n.dataURLtoBlob=function(n){var f,i,u;if((n=n.replace(/filename=.*;/,"").match(/data:([^;]*)(;base64)?,([0-9A-Za-z+/]+)/))&&3<n.length&&t.atob&&t.ArrayBuffer&&t.Uint8Array&&t.Blob&&r.createObjectURL){for(f=t.atob(n[3]),i=new t.ArrayBuffer(f.length),i=new t.Uint8Array(i),u=0;u<i.length;++u)i[u]=f.charCodeAt(u);return n=new t.Blob([i],{type:n[1]}),r.createObjectURL(n)}};return n=n.downloadURL=function(n,r){var e=t.navigator,f=i.createElement("a"),o;if("string"==typeof n||n instanceof String||!e.msSaveOrOpenBlob){if(n=""+n,(/Edge\/\d+/.test(e.userAgent)||2e6<n.length)&&(n=u(n)||"",!n))throw Error("Failed to convert to blob");if("undefined"!=typeof f.download)f.href=n,f.download=r,i.body.appendChild(f),f.click(),i.body.removeChild(f);else try{if(o=t.open(n,"chart"),"undefined"==typeof o||null===o)throw Error("Failed to open window");}catch(s){t.location.href=n}}else e.msSaveOrOpenBlob(n,r)},{dataURLtoBlob:u,downloadURL:n}});t(n,"Extensions/OfflineExporting.js",[n["Core/Chart/Chart.js"],n["Core/Globals.js"],n["Core/Options.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Utilities.js"],n["Extensions/DownloadURL.js"]],function(n,t,i,r,u,f){function s(n,t){var r=o.getElementsByTagName("head")[0],i=o.createElement("script");i.type="text/javascript";i.src=n;i.onload=t;i.onerror=function(){y("Error loading script "+n)};r.appendChild(i)}function c(n){var i=e.navigator.userAgent;i=-1<i.indexOf("WebKit")&&0>i.indexOf("Chrome");try{if(!i&&!t.isFirefox)return w.createObjectURL(new e.Blob([n],{type:"image/svg+xml;charset-utf-16"}))}catch(r){}return"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent(n)}function l(n,t,i,r,u,f,s,h,c){var l=new e.Image,a=function(){setTimeout(function(){var f=o.createElement("canvas"),e=f.getContext&&f.getContext("2d"),h;try{if(e){f.height=l.height*r;f.width=l.width*r;e.drawImage(l,0,0,f.width,f.height);try{h=f.toDataURL(t);u(h,t,i,r)}catch(a){y(n,t,i,r)}}else s(n,t,i,r)}finally{c&&c(n,t,i,r)}},g)},v=function(){h(n,t,i,r);c&&c(n,t,i,r)},y=function(){l=new e.Image;y=f;l.crossOrigin="Anonymous";l.onload=a;l.onerror=v;l.src=n};l.onload=a;l.onerror=v;l.src=n}function a(n,t,i,r){function tt(n,t){var r=n.width.baseVal.value+2*t,f,u,i;for(t=n.height.baseVal.value+2*t,r=new e.jsPDF(t>r?"p":"l","pt",[r,t]),[].forEach.call(n.querySelectorAll('*[visibility="hidden"]'),function(n){n.parentNode.removeChild(n)}),t=n.querySelectorAll("linearGradient"),f=0;f<t.length;f++)for(u=t[f].querySelectorAll("stop"),i=0;i<u.length&&"0"===u[i].getAttribute("offset")&&"0"===u[i+1].getAttribute("offset");)u[i].remove(),i++;return[].forEach.call(n.querySelectorAll("tspan"),function(n){"​"===n.textContent&&(n.textContent=" ",n.setAttribute("dx",-5))}),e.svg2pdf(n,r,{removeInvalid:!0}),r.output("datauristring")}function nt(){y.innerHTML=n;var t=y.getElementsByTagName("text"),u;[].forEach.call(t,function(n){["font-family","font-size"].forEach(function(t){for(var i=n;i&&i!==y;){if(i.style[t]){n.style[t]=i.style[t];break}i=i.parentNode}});n.style["font-family"]=n.style["font-family"]&&n.style["font-family"].split(" ").splice(-1);u=n.getElementsByTagName("title");[].forEach.call(u,function(t){n.removeChild(t)})});t=tt(y.firstChild,0);try{h(t,p);r&&r()}catch(f){i(f)}}var b=!0,u=t.libURL||v().exporting.libURL,y=o.createElement("div"),f=t.type||"image/png",p=(t.filename||"chart")+"."+("image/svg+xml"===f?"svg":f.split("/")[1]),k=t.scale||1,d,a,g;if(u="/"!==u.slice(-1)?u+"/":u,"image/svg+xml"===f)try{"undefined"!=typeof e.navigator.msSaveOrOpenBlob?(d=new MSBlobBuilder,d.append(n),a=d.getBlob("image/svg+xml")):a=c(n);h(a,p);r&&r()}catch(it){i(it)}else"application/pdf"===f?e.jsPDF&&e.svg2pdf?nt():(b=!0,s(u+"jspdf.js",function(){s(u+"svg2pdf.js",function(){nt()})})):(a=c(n),g=function(){try{w.revokeObjectURL(a)}catch(n){}},l(a,f,{},k,function(n){try{h(n,p);r&&r()}catch(t){i(t)}},function(){var t=o.createElement("canvas"),v=t.getContext("2d"),c=n.match(/^<svg[^>]*width\s*=\s*"?(\d+)"?[^>]*>/)[1]*k,l=n.match(/^<svg[^>]*height\s*=\s*"?(\d+)"?[^>]*>/)[1]*k,a=function(){v.drawSvg(n,0,0,c,l);try{h(e.navigator.msSaveOrOpenBlob?t.msToBlob():t.toDataURL(f),p);r&&r()}catch(u){i(u)}finally{g()}};t.width=c;t.height=l;e.canvg?a():(b=!0,s(u+"rgbcolor.js",function(){s(u+"canvg.js",function(){a()})}))},i,i,function(){b&&g()}))}var e=t.win,o=t.doc,v=i.getOptions,b=u.addEvent,y=u.error,k=u.extend,d=u.fireEvent,p=u.merge,h=f.downloadURL,w=e.URL||e.webkitURL||e,g=t.isMS?150:0;t.CanVGRenderer={};n.prototype.getSVGForLocalExport=function(n,t,i,r){var u=this,h=0,o,c,a,v,y=function(){h===f.length&&r(u.sanitizeSVG(o.innerHTML,c))},p=function(n,t,i){++h;i.imageElement.setAttributeNS("http://www.w3.org/1999/xlink","href",n);y()},f,s,e;u.unbindGetSVG=b(u,"getSVG",function(n){c=n.chartCopy.options;o=n.chartCopy.container.cloneNode(!0)});u.getSVGForExport(n,t);f=o.getElementsByTagName("image");try{if(!f.length){r(u.sanitizeSVG(o.innerHTML,c));return}for(s=0,a=f.length;s<a;++s)e=f[s],(v=e.getAttributeNS("http://www.w3.org/1999/xlink","href"))?l(v,"image/png",{imageElement:e},n.scale,p,i,i,i):(++h,e.parentNode.removeChild(e),y())}catch(w){i(w)}u.unbindGetSVG()};n.prototype.exportChartLocal=function(n,i){var f=this,u=p(f.options.exporting,n),e=function(n){!1===u.fallbackToExportServer?u.error?u.error(u,n):y(28,!0):f.exportChart(u)};n=function(){return[].some.call(f.container.getElementsByTagName("image"),function(n){return n=n.getAttribute("href"),""!==n&&0!==n.indexOf("data:")})};t.isMS&&f.styledMode&&(r.prototype.inlineWhitelist=[/^blockSize/,/^border/,/^caretColor/,/^color/,/^columnRule/,/^columnRuleColor/,/^cssFloat/,/^cursor/,/^fill$/,/^fillOpacity/,/^font/,/^inlineSize/,/^length/,/^lineHeight/,/^opacity/,/^outline/,/^parentRule/,/^rx$/,/^ry$/,/^stroke/,/^textAlign/,/^textAnchor/,/^textDecoration/,/^transform/,/^vectorEffect/,/^visibility/,/^x$/,/^y$/]);t.isMS&&("application/pdf"===u.type||f.container.getElementsByTagName("image").length&&"image/svg+xml"!==u.type)||"application/pdf"===u.type&&n()?e("Image type not supported for this chart/browser."):f.getSVGForLocalExport(u,i||{},e,function(n){-1<n.indexOf("<foreignObject")&&"image/svg+xml"!==u.type?e("Image type not supportedfor charts with embedded HTML"):a(n,k({filename:f.getFilename()},u),e,function(){return d(f,"exportChartLocalSuccess")})})};p(!0,v().exporting,{libURL:"https://code.highcharts.com/9.1.0/lib/",menuItemDefinitions:{downloadPNG:{textKey:"downloadPNG",onclick:function(){this.exportChartLocal()}},downloadJPEG:{textKey:"downloadJPEG",onclick:function(){this.exportChartLocal({type:"image/jpeg"})}},downloadSVG:{textKey:"downloadSVG",onclick:function(){this.exportChartLocal({type:"image/svg+xml"})}},downloadPDF:{textKey:"downloadPDF",onclick:function(){this.exportChartLocal({type:"application/pdf"})}}}});t.downloadSVGLocal=a});t(n,"masters/modules/offline-exporting.src.js",[],function(){})});Highcharts.maps["countries/us/us-all"]={title:"United States of America",version:"1.1.3",type:"FeatureCollection",copyright:"Copyright (c) 2020 Highsoft AS, Based on data from Natural Earth",copyrightShort:"Natural Earth",copyrightUrl:"http://www.naturalearthdata.com",crs:{type:"name",properties:{name:"urn:ogc:def:crs:EPSG:102004"}},"hc-transform":{"default":{crs:"+proj=lcc +lat_1=33 +lat_2=45 +lat_0=39 +lon_0=-96 +x_0=0 +y_0=0 +datum=NAD83 +units=m +no_defs",scale:.000151481324748,jsonres:15.5,jsonmarginX:-999,jsonmarginY:9851,xoffset:-2361356.09818,yoffset:1398996.77886},"us-all-hawaii":{xpan:190,ypan:417,hitZone:{type:"Polygon",coordinates:[[[1747,3920],[3651,2950],[3651,-999],[1747,-999],[1747,3920]]]},crs:"+proj=aea +lat_1=8 +lat_2=18 +lat_0=13 +lon_0=-157 +x_0=0 +y_0=0 +datum=NAD83 +units=m +no_defs",scale:.000123090941806,jsonres:15.5,jsonmarginX:-999,jsonmarginY:9851,xoffset:-338610.47557,yoffset:1022754.31736},"us-all-alaska":{rotation:-.0174532925199,xpan:5,ypan:357,hitZone:{type:"Polygon",coordinates:[[[-999,5188],[-707,5188],[1747,3920],[1747,-999],[-999,-999],[-999,5188]]]},crs:"+proj=tmerc +lat_0=54 +lon_0=-142 +k=0.9999 +x_0=500000 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs",scale:584397059179e-16,jsonres:15.5,jsonmarginX:-999,jsonmarginY:9851,xoffset:-1566154.00853,yoffset:1992671.14918}},features:[{type:"Feature",id:"US.MA",properties:{"hc-group":"admin1","hc-middle-x":.36,"hc-middle-y":.47,"hc-key":"us-ma","hc-a2":"MA",labelrank:"0",hasc:"US.MA","woe-id":"2347580","state-fips":"25",fips:"US25","postal-code":"MA",name:"Massachusetts",country:"United States of America",region:"Northeast",longitude:"-71.99930000000001","woe-name":"Massachusetts",latitude:"42.3739","woe-label":"Massachusetts, US, United States",type:"State"},geometry:{type:"MultiPolygon",coordinates:[[[[9430,7889],[9476,7878],[9436,7864],[9417,7844],[9430,7889]]],[[[9314,7915],[9312,7927],[9304,7921],[9278,7938],[9254,7990],[9177,7968],[8997,7925],[8860,7896],[8853,7901],[8856,8080],[8922,8096],[9005,8115],[9005,8115],[9222,8166],[9242,8201],[9300,8236],[9318,8197],[9357,8186],[9312,8147],[9299,8081],[9324,8091],[9365,8074],[9428,7985],[9483,7974],[9525,8007],[9501,8067],[9535,8028],[9549,7982],[9504,7965],[9420,7906],[9411,7955],[9371,7921],[9373,7898],[9339,7878],[9327,7915],[9314,7915]]]]}},{type:"Feature",id:"US.WA",properties:{"hc-group":"admin1","hc-middle-x":.56,"hc-middle-y":.52,"hc-key":"us-wa","hc-a2":"WA",labelrank:"0",hasc:"US.WA","woe-id":"2347606","state-fips":"53",fips:"US53","postal-code":"WA",name:"Washington",country:"United States of America",region:"West",longitude:"-120.361","woe-name":"Washington",latitude:"47.4865","woe-label":"Washington, US, United States",type:"State"},geometry:{type:"MultiPolygon",coordinates:[[[[-77,9797],[-56,9768],[-91,9757],[-86,9712],[-136,9751],[-111,9756],[-77,9797]]],[[[-52,9689],[-85,9658],[-66,9645],[-43,9568],[-77,9588],[-74,9635],[-89,9664],[-52,9690],[-60,9697],[-61,9737],[-31,9701],[-12,9731],[-9,9774],[-33,9788],[-46,9839],[-32,9851],[926,9593],[767,8925],[779,8870],[774,8822],[398,8914],[378,8905],[289,8922],[163,8905],[94,8923],[38,8914],[-10,8925],[-22,8950],[-113,8979],[-207,8965],[-283,9014],[-271,9096],[-280,9134],[-321,9167],[-357,9171],[-365,9207],[-400,9226],[-436,9219],[-460,9259],[-436,9333],[-441,9279],[-416,9297],[-401,9347],[-434,9357],[-429,9395],[-369,9396],[-424,9436],[-424,9523],[-410,9624],[-433,9678],[-428,9749],[-385,9790],[-313,9713],[-183,9655],[-161,9666],[-146,9623],[-100,9637],[-95,9567],[-135,9518],[-77,9566],[-112,9491],[-89,9426],[-154,9433],[-175,9394],[-167,9449],[-222,9394],[-157,9376],[-124,9418],[-82,9426],[-82,9476],[-66,9527],[-18,9570],[-37,9644],[-24,9661],[-52,9689]]]]}},{type:"Feature",id:"US.CA",properties:{"hc-group":"admin1","hc-middle-x":.51,"hc-middle-y":.67,"hc-key":"us-ca","hc-a2":"CA",labelrank:"0",hasc:"US.CA","woe-id":"2347563","state-fips":"6",fips:"US06","postal-code":"CA",name:"California",country:"United States of America",region:"West",longitude:"-119.591","woe-name":"California",latitude:"36.7496","woe-label":"California, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[-833,8186],[-50,7955],[-253,7203],[32,6779],[261,6430],[593,5936],[620,5788],[660,5730],[598,5702],[559,5661],[555,5605],[510,5537],[489,5536],[476,5452],[519,5416],[492,5355],[451,5357],[-76,5426],[-69,5467],[-95,5476],[-84,5583],[-110,5649],[-224,5792],[-276,5799],[-265,5822],[-284,5881],[-342,5885],[-417,5946],[-422,5975],[-484,6035],[-539,6046],[-588,6077],[-659,6091],[-686,6135],[-647,6273],[-691,6316],[-672,6333],[-720,6428],[-742,6442],[-793,6601],[-820,6637],[-816,6709],[-775,6726],[-761,6756],[-778,6807],[-821,6819],[-855,6888],[-842,6929],[-853,6979],[-833,7041],[-810,7042],[-816,6985],[-764,6931],[-772,6991],[-797,7030],[-787,7089],[-738,7083],[-782,7126],[-806,7122],[-833,7050],[-892,7126],[-903,7243],[-983,7395],[-967,7420],[-969,7507],[-943,7553],[-936,7629],[-964,7712],[-999,7766],[-993,7813],[-890,7943],[-849,8038],[-844,8118],[-860,8134],[-833,8186]]]}},{type:"Feature",id:"US.OR",properties:{"hc-group":"admin1","hc-middle-x":.47,"hc-middle-y":.52,"hc-key":"us-or","hc-a2":"OR",labelrank:"0",hasc:"US.OR","woe-id":"2347596","state-fips":"41",fips:"US41","postal-code":"OR",name:"Oregon",country:"United States of America",region:"West",longitude:"-120.386","woe-name":"Oregon",latitude:"43.8333","woe-label":"Oregon, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[-50,7955],[-833,8186],[-851,8223],[-847,8281],[-817,8362],[-827,8415],[-793,8455],[-756,8527],[-714,8570],[-672,8648],[-594,8829],[-582,8877],[-494,9051],[-493,9108],[-468,9158],[-460,9216],[-396,9192],[-367,9202],[-359,9169],[-321,9167],[-280,9134],[-271,9096],[-283,9014],[-207,8965],[-113,8979],[-22,8950],[-10,8925],[38,8914],[94,8923],[163,8905],[289,8922],[378,8905],[398,8914],[774,8822],[785,8775],[821,8744],[823,8698],[776,8646],[718,8545],[624,8450],[615,8403],[662,8361],[616,8265],[510,7813],[-50,7955]]]}},{type:"Feature",id:"US.WI",properties:{"hc-group":"admin1","hc-middle-x":.41,"hc-middle-y":.38,"hc-key":"us-wi","hc-a2":"WI",labelrank:"0",hasc:"US.WI","woe-id":"2347608","state-fips":"55",fips:"US55","postal-code":"WI",name:"Wisconsin",country:"United States of America",region:"Midwest",longitude:"-89.5831","woe-name":"Wisconsin",latitude:"44.3709","woe-label":"Wisconsin, US, United States",type:"State"},geometry:{type:"MultiPolygon",coordinates:[[[[6206,8297],[6197,8237],[6159,8156],[6136,8180],[6161,8249],[6206,8297]]],[[[5575,7508],[5561,7544],[5494,7563],[5465,7670],[5479,7702],[5445,7758],[5431,7866],[5405,7892],[5360,7903],[5273,7994],[5217,8029],[5181,8035],[5136,8072],[5146,8117],[5144,8214],[5158,8253],[5117,8285],[5116,8322],[5147,8375],[5220,8422],[5214,8573],[5245,8603],[5303,8589],[5410,8635],[5449,8660],[5489,8656],[5481,8617],[5508,8583],[5554,8572],[5588,8553],[5611,8510],[5795,8473],[5849,8447],[5968,8437],[5993,8394],[6045,8372],[6042,8286],[6080,8287],[6071,8242],[6096,8224],[6058,8180],[6028,8078],[6049,8076],[6099,8156],[6129,8170],[6153,8151],[6124,8019],[6136,7996],[6101,7916],[6110,7860],[6082,7742],[6089,7679],[6116,7626],[6119,7543],[5780,7519],[5606,7509],[5575,7508]]]]}},{type:"Feature",id:"US.ME",properties:{"hc-group":"admin1","hc-middle-x":.43,"hc-middle-y":.4,"hc-key":"us-me","hc-a2":"ME",labelrank:"0",hasc:"US.ME","woe-id":"2347578","state-fips":"23",fips:"US23","postal-code":"ME",name:"Maine",country:"United States of America",region:"Northeast",longitude:"-69.1973","woe-name":"Maine",latitude:"45.148","woe-label":"Maine, US, United States",type:"State"},geometry:{type:"MultiPolygon",coordinates:[[[[9623,8727],[9643,8763],[9665,8747],[9641,8690],[9623,8727]]],[[[9225,8399],[9079,8830],[9115,8824],[9130,8917],[9168,8971],[9177,9035],[9160,9062],[9160,9140],[9176,9161],[9166,9236],[9238,9459],[9272,9467],[9292,9423],[9319,9415],[9428,9491],[9519,9435],[9630,9097],[9697,9099],[9717,9017],[9747,8995],[9778,9009],[9851,8939],[9818,8875],[9789,8883],[9784,8851],[9706,8811],[9712,8773],[9690,8747],[9669,8782],[9611,8766],[9590,8707],[9615,8647],[9554,8716],[9552,8761],[9517,8719],[9529,8622],[9505,8581],[9483,8586],[9467,8544],[9433,8531],[9420,8493],[9387,8524],[9346,8471],[9362,8439],[9314,8347],[9298,8291],[9235,8354],[9225,8399]]]]}},{type:"Feature",id:"US.MI",properties:{"hc-group":"admin1","hc-middle-x":.71,"hc-middle-y":.67,"hc-key":"us-mi","hc-a2":"MI",labelrank:"0",hasc:"US.MI","woe-id":"2347581","state-fips":"26",fips:"US26","postal-code":"MI",name:"Michigan",country:"United States of America",region:"Midwest",longitude:"-84.9479","woe-name":"Michigan",latitude:"43.4343","woe-label":"Michigan, US, United States",type:"State"},geometry:{type:"MultiPolygon",coordinates:[[[[6802,8561],[6808,8523],[6764,8521],[6774,8565],[6802,8561]]],[[[5863,9010],[5834,8966],[5759,8913],[5758,8947],[5863,9010]]],[[[6976,7443],[6815,7415],[6718,7400],[6716,7416],[6323,7372],[6364,7423],[6399,7509],[6417,7630],[6409,7695],[6330,7861],[6345,7903],[6322,7979],[6361,8059],[6352,8141],[6381,8159],[6381,8204],[6423,8217],[6453,8283],[6469,8252],[6460,8196],[6479,8180],[6501,8221],[6497,8298],[6533,8342],[6567,8348],[6542,8410],[6593,8461],[6646,8436],[6627,8469],[6669,8467],[6654,8434],[6698,8433],[6726,8400],[6837,8377],[6863,8359],[6884,8307],[6860,8285],[6902,8213],[6903,8115],[6872,8094],[6868,8040],[6821,8014],[6824,7934],[6868,7920],[6900,7950],[6937,8030],[6993,8059],[7042,8027],[7097,7866],[7128,7802],[7124,7704],[7066,7697],[7061,7631],[7021,7590],[7008,7500],[6976,7443]]],[[[5874,8741],[5900,8700],[5901,8651],[5938,8693],[6017,8689],[6049,8673],[6107,8596],[6174,8609],[6192,8589],[6244,8596],[6318,8663],[6430,8674],[6485,8705],[6529,8713],[6518,8645],[6560,8631],[6591,8646],[6609,8627],[6633,8653],[6688,8665],[6692,8589],[6745,8536],[6723,8521],[6631,8516],[6606,8530],[6598,8476],[6541,8514],[6480,8529],[6444,8521],[6426,8490],[6320,8470],[6302,8429],[6244,8388],[6264,8448],[6227,8437],[6192,8395],[6185,8444],[6096,8224],[6071,8242],[6080,8287],[6042,8286],[6045,8372],[5993,8394],[5968,8437],[5849,8447],[5795,8473],[5611,8510],[5588,8553],[5554,8572],[5623,8604],[5661,8642],[5731,8656],[5776,8696],[5805,8702],[5860,8764],[5868,8750],[5893,8802],[5958,8837],[6017,8829],[5931,8757],[5903,8703],[5900,8738],[5874,8741]]]]}},{type:"Feature",id:"US.NV",properties:{"hc-group":"admin1","hc-middle-x":.46,"hc-middle-y":.38,"hc-key":"us-nv","hc-a2":"NV",labelrank:"0",hasc:"US.NV","woe-id":"2347587","state-fips":"32",fips:"US32","postal-code":"NV",name:"Nevada",country:"United States of America",region:"West",longitude:"-117.02","woe-name":"Nevada",latitude:"39.4299","woe-label":"Nevada, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[-50,7955],[510,7813],[897,7727],[1073,7690],[929,6975],[818,6420],[777,6221],[752,6180],[669,6227],[631,6217],[631,6159],[611,6068],[614,5982],[593,5936],[261,6430],[32,6779],[-253,7203],[-50,7955]]]}},{type:"Feature",id:"US.NM",properties:{"hc-group":"admin1","hc-middle-x":.51,"hc-middle-y":.5,"hc-key":"us-nm","hc-a2":"NM",labelrank:"0",hasc:"US.NM","woe-id":"2347590","state-fips":"35",fips:"US35","postal-code":"NM",name:"New Mexico",country:"United States of America",region:"West",longitude:"-106.024","woe-name":"New Mexico",latitude:"34.5002","woe-label":"New Mexico, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[1841,6242],[3091,6104],[3083,6007],[3081,5975],[3072,5970],[2976,4810],[2181,4887],[2208,4823],[1830,4873],[1815,4756],[1630,4782],[1736,5514],[1841,6242]]]}},{type:"Feature",id:"US.CO",properties:{"hc-group":"admin1","hc-middle-x":.51,"hc-middle-y":.5,"hc-key":"us-co","hc-a2":"CO",labelrank:"0",hasc:"US.CO","woe-id":"2347564","state-fips":"8",fips:"US08","postal-code":"CO",name:"Colorado",country:"United States of America",region:"West",longitude:"-105.543","woe-name":"Colorado",latitude:"38.9998","woe-label":"Colorado, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[3091,6104],[1841,6242],[1966,7108],[1990,7269],[2964,7155],[3357,7124],[3339,6866],[3329,6696],[3290,6089],[3091,6104]]]}},{type:"Feature",id:"US.WY",properties:{"hc-group":"admin1","hc-middle-x":.51,"hc-middle-y":.5,"hc-key":"us-wy","hc-a2":"WY",labelrank:"0",hasc:"US.WY","woe-id":"2347609","state-fips":"56",fips:"US56","postal-code":"WY",name:"Wyoming",country:"United States of America",region:"West",longitude:"-107.552","woe-name":"Wyoming",latitude:"42.9999","woe-label":"Wyoming, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[2964,7155],[1990,7269],[1600,7329],[1643,7585],[1677,7785],[1750,8226],[1772,8355],[3056,8191],[3019,7770],[3010,7672],[3002,7575],[2964,7155]]]}},{type:"Feature",id:"US.KS",properties:{"hc-group":"admin1","hc-middle-x":.3,"hc-middle-y":.49,"hc-key":"us-ks","hc-a2":"KS",labelrank:"0",hasc:"US.KS","woe-id":"2347575","state-fips":"20",fips:"US20","postal-code":"KS",name:"Kansas",country:"United States of America",region:"Midwest",longitude:"-98.3309","woe-name":"Kansas",latitude:"38.5","woe-label":"Kansas, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[3339,6866],[4682,6826],[4769,6780],[4726,6705],[4767,6667],[4781,6624],[4824,6600],[4833,6050],[3290,6089],[3329,6696],[3339,6866]]]}},{type:"Feature",id:"US.NE",properties:{"hc-group":"admin1","hc-middle-x":.43,"hc-middle-y":.5,"hc-key":"us-ne","hc-a2":"NE",labelrank:"0",hasc:"US.NE","woe-id":"2347586","state-fips":"31",fips:"US31","postal-code":"NE",name:"Nebraska",country:"United States of America",region:"Midwest",longitude:"-99.68550000000001","woe-name":"Nebraska",latitude:"41.5002","woe-label":"Nebraska, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[4682,6826],[3339,6866],[3357,7124],[2964,7155],[3002,7575],[3010,7672],[4071,7611],[4148,7558],[4194,7574],[4297,7577],[4330,7551],[4409,7521],[4453,7479],[4469,7474],[4478,7398],[4515,7341],[4533,7291],[4529,7228],[4559,7206],[4571,7165],[4579,7031],[4592,6986],[4592,6981],[4592,6981],[4591,6981],[4591,6981],[4619,6915],[4682,6826]]]}},{type:"Feature",id:"US.OK",properties:{"hc-group":"admin1","hc-middle-x":.78,"hc-middle-y":.52,"hc-key":"us-ok","hc-a2":"OK",labelrank:"0",hasc:"US.OK","woe-id":"2347595","state-fips":"40",fips:"US40","postal-code":"OK",name:"Oklahoma",country:"United States of America",region:"South",longitude:"-97.1309","woe-name":"Oklahoma",latitude:"35.452","woe-label":"Oklahoma, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[3290,6089],[4833,6050],[4833,6017],[4835,5920],[4877,5632],[4875,5180],[4790,5207],[4714,5260],[4685,5235],[4632,5257],[4595,5233],[4559,5242],[4474,5191],[4405,5248],[4360,5237],[4347,5258],[4312,5234],[4304,5199],[4283,5247],[4248,5227],[4181,5268],[4121,5246],[4093,5310],[4007,5296],[3908,5334],[3856,5341],[3842,5388],[3753,5388],[3686,5437],[3707,5936],[3081,5975],[3083,6007],[3091,6104],[3290,6089]]]}},{type:"Feature",id:"US.MO",properties:{"hc-group":"admin1","hc-middle-x":.48,"hc-middle-y":.51,"hc-key":"us-mo","hc-a2":"MO",labelrank:"0",hasc:"US.MO","woe-id":"2347584","state-fips":"29",fips:"US29","postal-code":"MO",name:"Missouri",country:"United States of America",region:"Midwest",longitude:"-92.446","woe-name":"Missouri",latitude:"38.5487","woe-label":"Missouri, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[4835,5920],[4833,6017],[4833,6050],[4824,6600],[4781,6624],[4767,6667],[4726,6705],[4769,6780],[4682,6826],[4619,6915],[4591,6981],[4591,6981],[4592,6981],[4846,6977],[5120,6985],[5389,7006],[5449,6947],[5449,6947],[5449,6947],[5436,6893],[5454,6813],[5475,6774],[5540,6711],[5588,6679],[5616,6596],[5642,6567],[5672,6592],[5735,6561],[5692,6420],[5752,6350],[5792,6336],[5873,6276],[5898,6211],[5886,6165],[5918,6121],[5975,6097],[5976,6033],[5956,5988],[5932,6005],[5921,5968],[5911,5955],[5907,5967],[5890,5980],[5893,5966],[5901,5936],[5869,5898],[5888,5872],[5868,5834],[5731,5821],[5790,5904],[5767,5957],[4835,5920]]]}},{type:"Feature",id:"US.IL",properties:{"hc-group":"admin1","hc-middle-x":.56,"hc-middle-y":.45,"hc-key":"us-il","hc-a2":"IL",labelrank:"0",hasc:"US.IL","woe-id":"2347572","state-fips":"17",fips:"US17","postal-code":"IL",name:"Illinois",country:"United States of America",region:"Midwest",longitude:"-89.1991","woe-name":"Illinois",latitude:"39.946","woe-label":"Illinois, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[6119,7543],[6121,7488],[6192,7351],[6247,6739],[6226,6674],[6254,6638],[6266,6585],[6244,6520],[6222,6503],[6194,6422],[6176,6404],[6179,6328],[6159,6283],[6171,6241],[6102,6218],[6105,6131],[6015,6162],[5987,6157],[5962,6117],[5975,6097],[5918,6121],[5886,6165],[5898,6211],[5873,6276],[5792,6336],[5752,6350],[5692,6420],[5735,6561],[5672,6592],[5642,6567],[5616,6596],[5588,6679],[5540,6711],[5475,6774],[5454,6813],[5436,6893],[5449,6947],[5449,6947],[5449,6947],[5458,7004],[5496,7020],[5535,7098],[5536,7132],[5509,7160],[5523,7224],[5579,7232],[5646,7276],[5671,7332],[5672,7411],[5625,7441],[5575,7508],[5575,7508],[5606,7509],[5848,7523],[6119,7543]]]}},{type:"Feature",id:"US.IN",properties:{"hc-group":"admin1","hc-middle-x":.49,"hc-middle-y":.43,"hc-key":"us-in","hc-a2":"IN",labelrank:"0",hasc:"US.IN","woe-id":"2347573","state-fips":"18",fips:"US18","postal-code":"IN",name:"Indiana",country:"United States of America",region:"Midwest",longitude:"-86.1396","woe-name":"Indiana",latitude:"39.8874","woe-label":"Indiana, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[6192,7351],[6239,7329],[6323,7372],[6716,7416],[6718,7400],[6732,7296],[6797,6730],[6792,6683],[6808,6651],[6737,6617],[6682,6619],[6693,6572],[6657,6540],[6652,6507],[6622,6498],[6608,6438],[6583,6411],[6531,6450],[6485,6413],[6485,6390],[6444,6379],[6426,6401],[6359,6356],[6303,6376],[6269,6350],[6209,6363],[6179,6328],[6176,6404],[6194,6422],[6222,6503],[6244,6520],[6266,6585],[6254,6638],[6226,6674],[6247,6739],[6192,7351]]]}},{type:"Feature",id:"US.VT",properties:{"hc-group":"admin1","hc-middle-x":.42,"hc-middle-y":.43,"hc-key":"us-vt","hc-a2":"VT",labelrank:"0",hasc:"US.VT","woe-id":"2347604","state-fips":"50",fips:"US50","postal-code":"VT",name:"Vermont",country:"United States of America",region:"Northeast",longitude:"-72.7317","woe-name":"Vermont",latitude:"44.0886","woe-label":"Vermont, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[8922,8096],[8856,8080],[8807,8284],[8772,8287],[8772,8328],[8740,8402],[8748,8453],[8739,8514],[8720,8537],[8695,8646],[8811,8677],[9024,8736],[9020,8661],[9045,8629],[9033,8585],[8978,8526],[8986,8490],[8981,8392],[8964,8320],[8979,8261],[8979,8148],[9005,8115],[9005,8115],[8922,8096]]]}},{type:"Feature",id:"US.AR",properties:{"hc-group":"admin1","hc-middle-x":.47,"hc-middle-y":.43,"hc-key":"us-ar","hc-a2":"AR",labelrank:"0",hasc:"US.AR","woe-id":"2347562","state-fips":"5",fips:"US05","postal-code":"AR",name:"Arkansas",country:"United States of America",region:"South",longitude:"-92.14279999999999","woe-name":"Arkansas",latitude:"34.7563","woe-label":"Arkansas, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[4975,5016],[4971,5157],[4910,5157],[4875,5180],[4877,5632],[4835,5920],[5767,5957],[5790,5904],[5731,5821],[5868,5834],[5871,5791],[5827,5763],[5835,5714],[5798,5670],[5802,5602],[5762,5567],[5770,5547],[5730,5520],[5706,5470],[5709,5414],[5635,5340],[5647,5309],[5609,5297],[5620,5250],[5583,5215],[5607,5162],[5598,5120],[5618,5077],[5605,5041],[5563,5038],[4975,5016]]]}},{type:"Feature",id:"US.TX",properties:{"hc-group":"admin1","hc-middle-x":.69,"hc-middle-y":.52,"hc-key":"us-tx","hc-a2":"TX",labelrank:"0",hasc:"US.TX","woe-id":"2347602","state-fips":"48",fips:"US48","postal-code":"TX",name:"Texas",country:"United States of America",region:"South",longitude:"-98.7607","woe-name":"Texas",latitude:"31.131","woe-label":"Texas, US, United States",type:"State"},geometry:{type:"MultiPolygon",coordinates:[[[[4875,5180],[4910,5157],[4971,5157],[4975,5016],[4980,4752],[5033,4679],[5031,4646],[5105,4506],[5093,4447],[5059,4380],[5065,4253],[5047,4228],[5018,4172],[5032,4146],[4989,4147],[4854,4084],[4875,4116],[4831,4102],[4842,4162],[4778,4141],[4769,4106],[4839,4052],[4789,4023],[4801,4063],[4739,3976],[4638,3901],[4557,3881],[4544,3857],[4451,3804],[4448,3787],[4381,3749],[4308,3672],[4340,3735],[4307,3756],[4261,3721],[4306,3712],[4263,3655],[4221,3658],[4249,3617],[4213,3527],[4195,3545],[4141,3510],[4206,3511],[4178,3442],[4232,3206],[4272,3164],[4203,3135],[4114,3192],[4013,3198],[3979,3230],[3915,3245],[3878,3279],[3810,3292],[3795,3375],[3727,3467],[3715,3534],[3721,3603],[3677,3628],[3595,3762],[3548,3801],[3525,3881],[3477,3970],[3469,4021],[3393,4097],[3411,4119],[3365,4132],[3310,4204],[3150,4220],[3103,4248],[3082,4218],[3018,4214],[2959,4096],[2967,4083],[2896,4024],[2861,4031],[2754,4113],[2695,4134],[2651,4187],[2595,4230],[2567,4305],[2573,4370],[2512,4503],[2437,4557],[2309,4714],[2275,4731],[2239,4806],[2208,4823],[2181,4887],[2976,4810],[3072,5970],[3081,5975],[3707,5936],[3686,5437],[3753,5388],[3842,5388],[3856,5341],[3908,5334],[4007,5296],[4093,5310],[4121,5246],[4181,5268],[4248,5227],[4283,5247],[4304,5199],[4312,5234],[4347,5258],[4360,5237],[4405,5248],[4474,5191],[4559,5242],[4595,5233],[4632,5257],[4685,5235],[4714,5260],[4790,5207],[4875,5180]]],[[[4269,3610],[4220,3493],[4219,3420],[4245,3297],[4214,3394],[4222,3530],[4269,3610]]]]}},{type:"Feature",id:"US.RI",properties:{"hc-group":"admin1","hc-middle-x":.55,"hc-middle-y":.78,"hc-key":"us-ri","hc-a2":"RI",labelrank:"0",hasc:"US.RI","woe-id":"2347598","state-fips":"44",fips:"US44","postal-code":"RI",name:"Rhode Island",country:"United States of America",region:"Northeast",longitude:"-71.5082","woe-name":"Rhode Island",latitude:"41.6242","woe-label":"Rhode Island, US, United States",type:"State"},geometry:{type:"MultiPolygon",coordinates:[[[[9339,7878],[9325,7871],[9314,7915],[9327,7915],[9339,7878]]],[[[9177,7968],[9254,7990],[9278,7938],[9304,7921],[9320,7866],[9285,7851],[9279,7822],[9216,7790],[9212,7845],[9177,7968]]]]}},{type:"Feature",id:"US.AL",properties:{"hc-group":"admin1","hc-middle-x":.47,"hc-middle-y":.42,"hc-key":"us-al","hc-a2":"AL",labelrank:"0",hasc:"US.AL","woe-id":"2347559","state-fips":"1",fips:"US01","postal-code":"AL",name:"Alabama",country:"United States of America",region:"South",longitude:"-86.7184","woe-name":"Alabama",latitude:"32.8551","woe-label":"Alabama, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[6487,4443],[6440,4378],[6291,4361],[6336,4375],[6317,4398],[6267,4399],[6216,4788],[6236,5574],[6215,5600],[6213,5603],[6762,5652],[6912,5135],[6947,5053],[6998,4970],[6970,4930],[6958,4846],[6990,4774],[6983,4704],[7015,4637],[6436,4574],[6431,4541],[6487,4486],[6487,4443]]]}},{type:"Feature",id:"US.MS",properties:{"hc-group":"admin1","hc-middle-x":.51,"hc-middle-y":.48,"hc-key":"us-ms","hc-a2":"MS",labelrank:"0",hasc:"US.MS","woe-id":"2347583","state-fips":"28",fips:"US28","postal-code":"MS",name:"Mississippi",country:"United States of America",region:"South",longitude:"-89.71890000000001","woe-name":"Mississippi",latitude:"32.8657","woe-label":"Mississippi, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[6267,4399],[6164,4396],[6059,4360],[6017,4328],[5936,4451],[5955,4536],[5523,4510],[5540,4526],[5522,4581],[5545,4585],[5545,4642],[5565,4662],[5584,4738],[5636,4781],[5670,4868],[5629,4895],[5611,4977],[5627,5018],[5605,5041],[5618,5077],[5598,5120],[5607,5162],[5583,5215],[5620,5250],[5609,5297],[5647,5309],[5635,5340],[5709,5414],[5706,5470],[5730,5520],[5770,5547],[5762,5567],[6122,5592],[6215,5600],[6236,5574],[6216,4788],[6267,4399]]]}},{type:"Feature",id:"US.NC",properties:{"hc-group":"admin1","hc-middle-x":.62,"hc-middle-y":.5,"hc-key":"us-nc","hc-a2":"NC",labelrank:"0",hasc:"US.NC","woe-id":"2347592","state-fips":"37",fips:"US37","postal-code":"NC",name:"North Carolina",country:"United States of America",region:"South",longitude:"-78.866","woe-name":"North Carolina",latitude:"35.6152","woe-label":"North Carolina, US, United States",type:"State"},geometry:{type:"MultiPolygon",coordinates:[[[[8716,6394],[8720,6381],[8694,6389],[8694,6389],[8704,6391],[8705,6390],[8709,6392],[8712,6393],[8716,6394]]],[[[8727,6396],[8756,6332],[8852,6203],[8782,6278],[8722,6395],[8724,6396],[8727,6396]]],[[[7532,6183],[7623,6187],[7858,6219],[8691,6388],[8768,6281],[8670,6318],[8707,6291],[8620,6230],[8584,6234],[8581,6204],[8719,6244],[8742,6161],[8737,6222],[8760,6252],[8795,6220],[8797,6153],[8772,6164],[8750,6091],[8709,6073],[8638,6097],[8638,6070],[8551,6078],[8664,6053],[8635,6009],[8661,6003],[8610,5957],[8551,5988],[8590,5949],[8631,5940],[8676,5955],[8686,5995],[8721,5956],[8670,5890],[8565,5865],[8469,5764],[8443,5714],[8432,5616],[8368,5624],[8302,5600],[8029,5790],[7791,5756],[7782,5790],[7714,5830],[7457,5802],[7290,5724],[7210,5711],[7034,5685],[7038,5756],[7073,5762],[7085,5807],[7131,5847],[7188,5859],[7269,5928],[7298,5973],[7352,6010],[7365,5989],[7437,6050],[7464,6038],[7490,6093],[7523,6123],[7532,6183]]]]}},{type:"Feature",id:"US.VA",properties:{"hc-group":"admin1","hc-middle-x":.64,"hc-middle-y":.54,"hc-key":"us-va","hc-a2":"VA",labelrank:"0",hasc:"US.VA","woe-id":"2347605","state-fips":"51",fips:"US51","postal-code":"VA",name:"Virginia",country:"United States of America",region:"South",longitude:"-78.2431","woe-name":"Virginia",latitude:"37.7403","woe-label":"Virginia, US, United States",type:"State"},geometry:{type:"MultiPolygon",coordinates:[[[[8722,6395],[8696,6432],[8704,6391],[8694,6389],[8694,6389],[8686,6398],[8691,6388],[7858,6219],[7623,6187],[7532,6183],[7472,6170],[7116,6120],[7221,6173],[7268,6217],[7309,6294],[7363,6332],[7431,6411],[7470,6351],[7530,6341],[7567,6378],[7595,6360],[7649,6382],[7664,6419],[7690,6412],[7773,6459],[7767,6505],[7840,6674],[7857,6759],[7932,6729],[7974,6848],[7998,6837],[8048,6900],[8072,6952],[8076,7028],[8188,6969],[8198,7020],[8256,7009],[8251,6984],[8341,6945],[8347,6939],[8353,6939],[8367,6892],[8334,6870],[8323,6802],[8347,6786],[8385,6812],[8429,6763],[8484,6768],[8507,6740],[8571,6721],[8572,6647],[8536,6648],[8499,6683],[8431,6711],[8532,6636],[8597,6606],[8561,6578],[8558,6548],[8577,6545],[8611,6494],[8586,6478],[8526,6534],[8449,6533],[8518,6510],[8580,6459],[8619,6482],[8679,6482],[8727,6396],[8724,6396],[8722,6395]],[[8558,6548],[8552,6548],[8552,6548],[8552,6548],[8484,6605],[8532,6551],[8552,6548],[8552,6548],[8552,6548],[8557,6544],[8558,6548]]],[[[8709,6392],[8713,6400],[8716,6394],[8712,6393],[8709,6392]]],[[[8765,6797],[8756,6760],[8761,6796],[8765,6797]]],[[[8688,6764],[8691,6772],[8739,6789],[8726,6737],[8674,6599],[8696,6561],[8678,6528],[8652,6583],[8652,6652],[8688,6764]]]]}},{type:"Feature",id:"US.IA",properties:{"hc-group":"admin1","hc-middle-x":.35,"hc-middle-y":.49,"hc-key":"us-ia","hc-a2":"IA",labelrank:"0",hasc:"US.IA","woe-id":"2347574","state-fips":"19",fips:"US19","postal-code":"IA",name:"Iowa",country:"United States of America",region:"Midwest",longitude:"-93.3891","woe-name":"Iowa",latitude:"42.0423","woe-label":"Iowa, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[5575,7508],[5625,7441],[5672,7411],[5671,7332],[5646,7276],[5579,7232],[5523,7224],[5509,7160],[5536,7132],[5535,7098],[5496,7020],[5458,7004],[5449,6947],[5449,6947],[5449,6947],[5389,7006],[5120,6985],[4846,6977],[4592,6981],[4591,6981],[4579,7031],[4571,7165],[4559,7206],[4529,7228],[4533,7291],[4515,7341],[4478,7398],[4469,7474],[4453,7479],[4423,7540],[4459,7636],[4438,7663],[4433,7734],[4459,7735],[5137,7745],[5445,7758],[5479,7702],[5465,7670],[5494,7563],[5561,7544],[5577,7513],[5575,7508],[5575,7508]]]}},{type:"Feature",id:"US.MD",properties:{"hc-group":"admin1","hc-middle-x":.61,"hc-middle-y":.27,"hc-key":"us-md","hc-a2":"MD",labelrank:"0",hasc:"US.MD","woe-id":"2347579","state-fips":"24",fips:"US24","postal-code":"MD",name:"Maryland",country:"United States of America",region:"South",longitude:"-77.0454","woe-name":"Maryland",latitude:"39.3874","woe-label":"Maryland, US, United States",type:"State"},geometry:{type:"MultiPolygon",coordinates:[[[[8761,6796],[8769,6819],[8765,6797],[8761,6796]]],[[[8779,6915],[8779,6884],[8777,6914],[8777,6914],[8779,6915]]],[[[8739,6789],[8691,6772],[8688,6764],[8647,6746],[8650,6806],[8590,6833],[8592,6815],[8525,6862],[8581,6899],[8555,6926],[8511,6936],[8544,6974],[8512,6986],[8496,7036],[8530,7108],[8537,7165],[8497,7093],[8472,7099],[8469,7056],[8432,7052],[8471,7014],[8458,6959],[8483,6868],[8513,6820],[8462,6849],[8543,6778],[8548,6753],[8491,6782],[8433,6785],[8382,6834],[8354,6797],[8335,6827],[8370,6891],[8367,6916],[8385,6943],[8341,6945],[8251,6984],[8256,7009],[8198,7020],[8162,7087],[8101,7099],[8046,7067],[8043,7043],[8e3,7038],[7977,7057],[7949,7003],[7928,7007],[7857,6922],[7835,7053],[8176,7119],[8559,7201],[8650,6887],[8771,6913],[8770,6856],[8753,6848],[8739,6789]]]]}},{type:"Feature",id:"US.DE",properties:{"hc-group":"admin1","hc-middle-x":.91,"hc-middle-y":.77,"hc-key":"us-de","hc-a2":"DE",labelrank:"0",hasc:"US.DE","woe-id":"2347566","state-fips":"10",fips:"US10","postal-code":"DE",name:"Delaware",country:"United States of America",region:"South",longitude:"-75.41119999999999","woe-name":"Delaware",latitude:"38.8657","woe-label":"Delaware, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[8777,6914],[8771,6915],[8771,6913],[8650,6887],[8559,7201],[8589,7239],[8625,7239],[8601,7183],[8613,7145],[8652,7114],[8675,7051],[8735,6995],[8751,6999],[8779,6915],[8777,6914],[8777,6914]]]}},{type:"Feature",id:"US.PA",properties:{"hc-group":"admin1","hc-middle-x":.5,"hc-middle-y":.49,"hc-key":"us-pa","hc-a2":"PA",labelrank:"0",hasc:"US.PA","woe-id":"2347597","state-fips":"42",fips:"US42","postal-code":"PA",name:"Pennsylvania",country:"United States of America",region:"Northeast",longitude:"-77.60939999999999","woe-name":"Pennsylvania",latitude:"40.8601","woe-label":"Pennsylvania, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[8611,7549],[8632,7530],[8615,7490],[8627,7443],[8646,7444],[8739,7361],[8691,7310],[8673,7276],[8625,7239],[8589,7239],[8559,7201],[8176,7119],[7835,7053],[7630,7017],[7589,7253],[7589,7253],[7530,7595],[7556,7610],[7662,7693],[7674,7625],[8514,7797],[8573,7765],[8588,7712],[8673,7663],[8673,7663],[8611,7549]]]}},{type:"Feature",id:"US.NJ",properties:{"hc-group":"admin1","hc-middle-x":.68,"hc-middle-y":.64,"hc-key":"us-nj","hc-a2":"NJ",labelrank:"0",hasc:"US.NJ","woe-id":"2347589","state-fips":"34",fips:"US34","postal-code":"NJ",name:"New Jersey",country:"United States of America",region:"Northeast",longitude:"-74.4653","woe-name":"New Jersey",latitude:"40.0449","woe-label":"New Jersey, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[8611,7549],[8673,7663],[8759,7635],[8846,7608],[8840,7532],[8810,7504],[8805,7466],[8866,7456],[8875,7438],[8886,7281],[8853,7228],[8849,7172],[8812,7122],[8784,7047],[8766,7040],[8769,7097],[8716,7095],[8623,7151],[8610,7186],[8624,7231],[8676,7269],[8691,7310],[8739,7361],[8646,7444],[8627,7443],[8615,7490],[8632,7530],[8611,7549]]]}},{type:"Feature",id:"US.NY",properties:{"hc-group":"admin1","hc-middle-x":.54,"hc-middle-y":.49,"hc-key":"us-ny","hc-a2":"NY",labelrank:"0",hasc:"US.NY","woe-id":"2347591","state-fips":"36",fips:"US36","postal-code":"NY",name:"New York",country:"United States of America",region:"Northeast",longitude:"-75.32420000000001","woe-name":"New York",latitude:"43.1988","woe-label":"New York, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[8673,7663],[8588,7712],[8573,7765],[8514,7797],[7674,7625],[7662,7693],[7763,7795],[7803,7872],[7754,7932],[7747,7976],[7812,8010],[7918,8040],[7988,8041],[8031,8026],[8061,8043],[8133,8055],[8180,8080],[8224,8141],[8264,8164],[8243,8232],[8257,8274],[8225,8259],[8202,8296],[8230,8345],[8280,8379],[8297,8437],[8358,8526],[8422,8581],[8453,8585],[8695,8646],[8720,8537],[8739,8514],[8748,8453],[8740,8402],[8772,8328],[8772,8287],[8807,8284],[8856,8080],[8853,7901],[8860,7896],[8896,7702],[8912,7685],[8874,7645],[8896,7623],[8881,7575],[8930,7617],[8982,7620],[9002,7641],[9094,7671],[9134,7722],[9173,7697],[9177,7721],[9184,7702],[9231,7730],[9141,7649],[9083,7619],[9032,7570],[8936,7519],[8857,7498],[8812,7468],[8814,7503],[8840,7506],[8858,7554],[8843,7544],[8846,7608],[8759,7635],[8695,7656],[8673,7663],[8673,7663]]]}},{type:"Feature",id:"US.ID",properties:{"hc-group":"admin1","hc-middle-x":.51,"hc-middle-y":.75,"hc-key":"us-id","hc-a2":"ID",labelrank:"0",hasc:"US.ID","woe-id":"2347571","state-fips":"16",fips:"US16","postal-code":"ID",name:"Idaho",country:"United States of America",region:"West",longitude:"-114.133","woe-name":"Idaho",latitude:"43.7825","woe-label":"Idaho, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[926,9593],[1093,9555],[1036,9301],[1076,9210],[1061,9142],[1117,9085],[1172,8979],[1170,8959],[1219,8896],[1258,8897],[1253,8859],[1219,8796],[1204,8727],[1211,8698],[1177,8675],[1167,8620],[1200,8590],[1278,8630],[1303,8596],[1303,8522],[1338,8434],[1326,8419],[1347,8377],[1374,8375],[1391,8331],[1392,8280],[1415,8254],[1451,8281],[1508,8261],[1536,8282],[1614,8258],[1671,8261],[1686,8296],[1713,8295],[1750,8226],[1677,7785],[1643,7585],[1393,7629],[1073,7690],[897,7727],[510,7813],[616,8265],[662,8361],[615,8403],[624,8450],[718,8545],[776,8646],[823,8698],[821,8744],[785,8775],[774,8822],[779,8870],[767,8925],[926,9593]]]}},{type:"Feature",id:"US.SD",properties:{"hc-group":"admin1","hc-middle-x":.51,"hc-middle-y":.44,"hc-key":"us-sd","hc-a2":"SD",labelrank:"0",hasc:"US.SD","woe-id":"2347600","state-fips":"46",fips:"US46","postal-code":"SD",name:"South Dakota",country:"United States of America",region:"Midwest",longitude:"-100.255","woe-name":"South Dakota",latitude:"44.4711","woe-label":"South Dakota, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[3010,7672],[3019,7770],[3056,8191],[3059,8191],[3080,8436],[4231,8374],[4444,8372],[4429,8325],[4387,8283],[4419,8232],[4462,8203],[4459,7735],[4433,7734],[4438,7663],[4459,7636],[4423,7540],[4453,7479],[4409,7521],[4330,7551],[4297,7577],[4194,7574],[4148,7558],[4071,7611],[3010,7672]]]}},{type:"Feature",id:"US.CT",properties:{"hc-group":"admin1","hc-middle-x":.48,"hc-middle-y":.5,"hc-key":"us-ct","hc-a2":"CT",labelrank:"0",hasc:"US.CT","woe-id":"2347565","state-fips":"9",fips:"US09","postal-code":"CT",name:"Connecticut",country:"United States of America",region:"Northeast",longitude:"-72.7594","woe-name":"Connecticut",latitude:"41.6486","woe-label":"Connecticut, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[9216,7790],[9204,7796],[9095,7743],[9023,7721],[8972,7689],[8896,7623],[8874,7645],[8912,7685],[8896,7702],[8860,7896],[8997,7925],[9177,7968],[9212,7845],[9216,7790]]]}},{type:"Feature",id:"US.NH",properties:{"hc-group":"admin1","hc-middle-x":.38,"hc-middle-y":.57,"hc-key":"us-nh","hc-a2":"NH",labelrank:"0",hasc:"US.NH","woe-id":"2347588","state-fips":"33",fips:"US33","postal-code":"NH",name:"New Hampshire",country:"United States of America",region:"Northeast",longitude:"-71.6301","woe-name":"New Hampshire",latitude:"43.5993","woe-label":"New Hampshire, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[9298,8291],[9306,8288],[9300,8236],[9242,8201],[9222,8166],[9005,8115],[9005,8115],[8979,8148],[8979,8261],[8964,8320],[8981,8392],[8986,8490],[8978,8526],[9033,8585],[9045,8629],[9020,8661],[9024,8736],[9036,8814],[9079,8830],[9225,8399],[9235,8354],[9298,8291]]]}},{type:"Feature",id:"US.KY",properties:{"hc-group":"admin1","hc-middle-x":.65,"hc-middle-y":.5,"hc-key":"us-ky","hc-a2":"KY",labelrank:"0",hasc:"US.KY","woe-id":"2347576","state-fips":"21",fips:"US21","postal-code":"KY",name:"Kentucky",country:"United States of America",region:"South",longitude:"-85.5729","woe-name":"Kentucky",latitude:"37.3994","woe-label":"Kentucky, US, United States",type:"State"},geometry:{type:"MultiPolygon",coordinates:[[[[5893,5966],[5890,5980],[5907,5967],[5893,5966]]],[[[5921,5968],[5932,6005],[5956,5988],[5976,6033],[5975,6097],[5962,6117],[5987,6157],[6015,6162],[6105,6131],[6102,6218],[6171,6241],[6159,6283],[6179,6328],[6209,6363],[6269,6350],[6303,6376],[6359,6356],[6426,6401],[6444,6379],[6485,6390],[6485,6413],[6531,6450],[6583,6411],[6608,6438],[6622,6498],[6652,6507],[6657,6540],[6693,6572],[6682,6619],[6737,6617],[6808,6651],[6792,6683],[6797,6730],[6873,6741],[6900,6725],[6933,6672],[7001,6669],[7036,6641],[7069,6664],[7119,6643],[7198,6692],[7216,6653],[7270,6617],[7270,6617],[7270,6617],[7272,6548],[7358,6439],[7431,6411],[7363,6332],[7309,6294],[7268,6217],[7221,6173],[7116,6120],[7104,6113],[6814,6086],[6751,6077],[6516,6061],[6250,6032],[6200,6040],[6210,5991],[5921,5968]]],[[[7270,6617],[7271,6617],[7270,6617],[7270,6617],[7270,6617],[7270,6617]]]]}},{type:"Feature",id:"US.OH",properties:{"hc-group":"admin1","hc-middle-x":.45,"hc-middle-y":.53,"hc-key":"us-oh","hc-a2":"OH",labelrank:"0",hasc:"US.OH","woe-id":"2347594","state-fips":"39",fips:"US39","postal-code":"OH",name:"Ohio",country:"United States of America",region:"Midwest",longitude:"-82.67189999999999","woe-name":"Ohio",latitude:"40.0924","woe-label":"Ohio, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[6718,7400],[6815,7415],[6976,7443],[7095,7408],[7082,7394],[7173,7383],[7258,7426],[7329,7440],[7383,7503],[7530,7595],[7589,7253],[7561,7233],[7587,7158],[7558,7018],[7564,6981],[7504,6911],[7454,6903],[7419,6863],[7399,6809],[7416,6775],[7391,6755],[7354,6783],[7333,6723],[7346,6679],[7321,6631],[7271,6617],[7270,6617],[7216,6653],[7198,6692],[7119,6643],[7069,6664],[7036,6641],[7001,6669],[6933,6672],[6900,6725],[6873,6741],[6797,6730],[6732,7296],[6718,7400]]]}},{type:"Feature",id:"US.TN",properties:{"hc-group":"admin1","hc-middle-x":.43,"hc-middle-y":.54,"hc-key":"us-tn","hc-a2":"TN",labelrank:"0",hasc:"US.TN","woe-id":"2347601","state-fips":"47",fips:"US47","postal-code":"TN",name:"Tennessee",country:"United States of America",region:"South",longitude:"-86.3415","woe-name":"Tennessee",latitude:"35.7514","woe-label":"Tennessee, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[6215,5600],[6122,5592],[5762,5567],[5802,5602],[5798,5670],[5835,5714],[5827,5763],[5871,5791],[5868,5834],[5888,5872],[5869,5898],[5901,5936],[5893,5966],[5907,5967],[5911,5955],[5921,5968],[6210,5991],[6200,6040],[6250,6032],[6516,6061],[6751,6077],[6814,6086],[7104,6113],[7116,6120],[7472,6170],[7532,6183],[7523,6123],[7490,6093],[7464,6038],[7437,6050],[7365,5989],[7352,6010],[7298,5973],[7269,5928],[7188,5859],[7131,5847],[7085,5807],[7073,5762],[7038,5756],[7034,5685],[6918,5671],[6762,5652],[6213,5603],[6215,5600]]]}},{type:"Feature",id:"US.WV",properties:{"hc-group":"admin1","hc-middle-x":.35,"hc-middle-y":.56,"hc-key":"us-wv","hc-a2":"WV",labelrank:"0",hasc:"US.WV","woe-id":"2347607","state-fips":"54",fips:"US54","postal-code":"WV",name:"West Virginia",country:"United States of America",region:"South",longitude:"-80.7128","woe-name":"West Virginia",latitude:"38.6422","woe-label":"West Virginia, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[7270,6617],[7271,6617],[7321,6631],[7346,6679],[7333,6723],[7354,6783],[7391,6755],[7416,6775],[7399,6809],[7419,6863],[7454,6903],[7504,6911],[7564,6981],[7558,7018],[7587,7158],[7561,7233],[7589,7253],[7630,7017],[7835,7053],[7857,6922],[7928,7007],[7949,7003],[7977,7057],[8e3,7038],[8043,7043],[8046,7067],[8101,7099],[8162,7087],[8198,7020],[8188,6969],[8076,7028],[8072,6952],[8048,6900],[7998,6837],[7974,6848],[7932,6729],[7857,6759],[7840,6674],[7767,6505],[7773,6459],[7690,6412],[7664,6419],[7649,6382],[7595,6360],[7567,6378],[7530,6341],[7470,6351],[7431,6411],[7358,6439],[7272,6548],[7270,6617],[7270,6617],[7270,6617],[7270,6617],[7270,6617]]]}},{type:"Feature",id:"US.DC",properties:{"hc-group":"admin1","hc-middle-x":.57,"hc-middle-y":.14,"hc-key":"us-dc","hc-a2":"DC",labelrank:"9",hasc:"US.DC","woe-id":"2347567","state-fips":"11",fips:"US11","postal-code":"DC",name:"District of Columbia",country:"United States of America",region:"South",longitude:"-77.01130000000001","woe-name":"District of Columbia",latitude:"38.8922","woe-label":"District of Columbia, US, United States",type:"Federal District"},geometry:{type:"Polygon",coordinates:[[[8367,6916],[8366,6929],[8353,6939],[8347,6939],[8341,6945],[8385,6943],[8367,6916]]]}},{type:"Feature",id:"US.LA",properties:{"hc-group":"admin1","hc-middle-x":.34,"hc-middle-y":.46,"hc-key":"us-la","hc-a2":"LA",labelrank:"0",hasc:"US.LA","woe-id":"2347577","state-fips":"22",fips:"US22","postal-code":"LA",name:"Louisiana",country:"United States of America",region:"South",longitude:"-91.9991","woe-name":"Louisiana",latitude:"30.5274","woe-label":"Louisiana, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[6017,4328],[5915,4340],[5856,4368],[5812,4302],[5834,4283],[5904,4280],[5937,4313],[5992,4313],[5957,4259],[6001,4245],[6035,4298],[6067,4259],[5982,4181],[6027,4123],[6107,4114],[6148,4081],[6125,4035],[6070,4042],[6042,4077],[5966,4094],[5980,4115],[5902,4141],[5913,4064],[5876,4028],[5860,4066],[5811,4082],[5780,4036],[5724,4031],[5620,4068],[5631,4121],[5569,4128],[5532,4184],[5493,4173],[5494,4203],[5430,4175],[5437,4145],[5478,4154],[5526,4139],[5500,4112],[5431,4136],[5399,4121],[5305,4135],[5186,4176],[5128,4173],[5042,4153],[5047,4228],[5065,4253],[5059,4380],[5093,4447],[5105,4506],[5031,4646],[5033,4679],[4980,4752],[4975,5016],[5563,5038],[5605,5041],[5627,5018],[5611,4977],[5629,4895],[5670,4868],[5636,4781],[5584,4738],[5565,4662],[5545,4642],[5545,4585],[5522,4581],[5540,4526],[5523,4510],[5955,4536],[5936,4451],[6017,4328]]]}},{type:"Feature",id:"US.FL",properties:{"hc-group":"admin1","hc-middle-x":.77,"hc-middle-y":.5,"hc-key":"us-fl","hc-a2":"FL",labelrank:"0",hasc:"US.FL","woe-id":"2347568","state-fips":"12",fips:"US12","postal-code":"FL",name:"Florida",country:"United States of America",region:"South",longitude:"-81.6228","woe-name":"Florida",latitude:"28.1568","woe-label":"Florida, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[6487,4443],[6487,4486],[6431,4541],[6436,4574],[7015,4637],[7055,4568],[7649,4609],[7670,4559],[7699,4566],[7687,4660],[7713,4686],[7808,4673],[7822,4672],[7849,4570],[7908,4430],[8008,4269],[8125,4130],[8113,4109],[8144,4012],[8198,3936],[8297,3758],[8321,3651],[8331,3476],[8302,3361],[8313,3273],[8270,3209],[8291,3273],[8273,3290],[8230,3255],[8194,3260],[8141,3234],[8115,3258],[8115,3303],[8070,3379],[7979,3429],[7953,3420],[7907,3543],[7846,3536],[7839,3654],[7796,3674],[7819,3634],[7779,3640],[7675,3779],[7722,3884],[7712,3915],[7671,3899],[7670,3851],[7622,3872],[7618,3966],[7635,4045],[7626,4157],[7576,4229],[7525,4222],[7473,4277],[7425,4302],[7349,4395],[7265,4433],[7186,4403],[7198,4370],[7162,4370],[7148,4336],[7067,4277],[6979,4284],[6986,4316],[6958,4349],[6892,4391],[6798,4429],[6694,4444],[6468,4388],[6505,4431],[6487,4443]]]}},{type:"Feature",id:"US.GA",properties:{"hc-group":"admin1","hc-middle-x":.43,"hc-middle-y":.52,"hc-key":"us-ga","hc-a2":"GA",labelrank:"0",hasc:"US.GA","woe-id":"2347569","state-fips":"13",fips:"US13","postal-code":"GA",name:"Georgia",country:"United States of America",region:"South",longitude:"-83.4078","woe-name":"Georgia",latitude:"32.8547","woe-label":"Georgia, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[7713,4686],[7687,4660],[7699,4566],[7670,4559],[7649,4609],[7055,4568],[7015,4637],[6983,4704],[6990,4774],[6958,4846],[6970,4930],[6998,4970],[6947,5053],[6912,5135],[6762,5652],[6918,5671],[7034,5685],[7210,5711],[7290,5724],[7249,5641],[7323,5596],[7364,5593],[7401,5526],[7444,5475],[7523,5430],[7538,5402],[7600,5369],[7606,5340],[7651,5293],[7708,5272],[7750,5169],[7800,5140],[7844,5042],[7887,5035],[7901,5029],[7811,4893],[7836,4826],[7798,4798],[7817,4730],[7808,4673],[7713,4686]]]}},{type:"Feature",id:"US.SC",properties:{"hc-group":"admin1","hc-middle-x":.54,"hc-middle-y":.35,"hc-key":"us-sc","hc-a2":"SC",labelrank:"0",hasc:"US.SC","woe-id":"2347599","state-fips":"45",fips:"US45","postal-code":"SC",name:"South Carolina",country:"United States of America",region:"South",longitude:"-80.6471","woe-name":"South Carolina",latitude:"33.8578","woe-label":"South Carolina, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[8302,5600],[8236,5523],[8205,5458],[8206,5396],[8173,5348],[8140,5346],[8131,5311],[8056,5219],[7989,5173],[7913,5166],[7971,5149],[7887,5035],[7844,5042],[7800,5140],[7750,5169],[7708,5272],[7651,5293],[7606,5340],[7600,5369],[7538,5402],[7523,5430],[7444,5475],[7401,5526],[7364,5593],[7323,5596],[7249,5641],[7290,5724],[7457,5802],[7714,5830],[7782,5790],[7791,5756],[8029,5790],[8302,5600]]]}},{type:"Feature",id:"US.MN",properties:{"hc-group":"admin1","hc-middle-x":.38,"hc-middle-y":.6,"hc-key":"us-mn","hc-a2":"MN",labelrank:"0",hasc:"US.MN","woe-id":"2347582","state-fips":"27",fips:"US27","postal-code":"MN",name:"Minnesota",country:"United States of America",region:"Midwest",longitude:"-93.364","woe-name":"Minnesota",latitude:"46.0592","woe-label":"Minnesota, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[4333,9174],[4688,9173],[4690,9272],[4748,9253],[4770,9125],[4791,9104],[4854,9085],[4916,9083],[4938,9052],[4984,9060],[5024,9084],[5073,9082],[5132,9063],[5181,8985],[5194,9006],[5240,9014],[5304,8955],[5351,8941],[5438,8996],[5463,8964],[5570,8974],[5607,8949],[5668,8950],[5592,8895],[5514,8864],[5432,8802],[5349,8700],[5245,8603],[5214,8573],[5220,8422],[5147,8375],[5116,8322],[5117,8285],[5158,8253],[5144,8214],[5146,8117],[5136,8072],[5181,8035],[5217,8029],[5273,7994],[5360,7903],[5405,7892],[5431,7866],[5445,7758],[5137,7745],[4459,7735],[4462,8203],[4419,8232],[4387,8283],[4429,8325],[4444,8372],[4436,8472],[4402,8555],[4409,8628],[4397,8650],[4394,8777],[4347,8957],[4343,9053],[4353,9083],[4333,9174]]]}},{type:"Feature",id:"US.MT",properties:{"hc-group":"admin1","hc-middle-x":.55,"hc-middle-y":.53,"hc-key":"us-mt","hc-a2":"MT",labelrank:"0",hasc:"US.MT","woe-id":"2347585","state-fips":"30",fips:"US30","postal-code":"MT",name:"Montana",country:"United States of America",region:"West",longitude:"-110.044","woe-name":"Montana",latitude:"46.9965","woe-label":"Montana, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[1093,9555],[1689,9433],[3150,9234],[3084,8486],[3080,8436],[3059,8191],[3056,8191],[1772,8355],[1750,8226],[1713,8295],[1686,8296],[1671,8261],[1614,8258],[1536,8282],[1508,8261],[1451,8281],[1415,8254],[1392,8280],[1391,8331],[1374,8375],[1347,8377],[1326,8419],[1338,8434],[1303,8522],[1303,8596],[1278,8630],[1200,8590],[1167,8620],[1177,8675],[1211,8698],[1204,8727],[1219,8796],[1253,8859],[1258,8897],[1219,8896],[1170,8959],[1172,8979],[1117,9085],[1061,9142],[1076,9210],[1036,9301],[1093,9555]]]}},{type:"Feature",id:"US.ND",properties:{"hc-group":"admin1","hc-middle-x":.47,"hc-middle-y":.5,"hc-key":"us-nd","hc-a2":"ND",labelrank:"0",hasc:"US.ND","woe-id":"2347593","state-fips":"38",fips:"US38","postal-code":"ND",name:"North Dakota",country:"United States of America",region:"Midwest",longitude:"-100.302","woe-name":"North Dakota",latitude:"47.4675","woe-label":"North Dakota, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[3080,8436],[3084,8486],[3150,9234],[3468,9209],[4333,9174],[4353,9083],[4343,9053],[4347,8957],[4394,8777],[4397,8650],[4409,8628],[4402,8555],[4436,8472],[4444,8372],[4231,8374],[3080,8436]]]}},{type:"Feature",id:"US.AZ",properties:{"hc-group":"admin1","hc-middle-x":.51,"hc-middle-y":.45,"hc-key":"us-az","hc-a2":"AZ",labelrank:"0",hasc:"US.AZ","woe-id":"2347561","state-fips":"4",fips:"US04","postal-code":"AZ",name:"Arizona",country:"United States of America",region:"West",longitude:"-111.935","woe-name":"Arizona",latitude:"34.3046","woe-label":"Arizona, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[1630,4782],[1196,4850],[1092,4906],[418,5307],[451,5357],[492,5355],[519,5416],[476,5452],[489,5536],[510,5537],[555,5605],[559,5661],[598,5702],[660,5730],[620,5788],[593,5936],[614,5982],[611,6068],[631,6159],[631,6217],[669,6227],[752,6180],[777,6221],[818,6420],[1488,6297],[1841,6242],[1736,5514],[1630,4782]]]}},{type:"Feature",id:"US.UT",properties:{"hc-group":"admin1","hc-middle-x":.52,"hc-middle-y":.59,"hc-key":"us-ut","hc-a2":"UT",labelrank:"0",hasc:"US.UT","woe-id":"2347603","state-fips":"49",fips:"US49","postal-code":"UT",name:"Utah",country:"United States of America",region:"West",longitude:"-111.544","woe-name":"Utah",latitude:"39.5007","woe-label":"Utah, US, United States",type:"State"},geometry:{type:"Polygon",coordinates:[[[1841,6242],[1488,6297],[818,6420],[929,6975],[1073,7690],[1393,7629],[1643,7585],[1600,7329],[1990,7269],[1966,7108],[1841,6242]]]}},{type:"Feature",id:"US.HI",properties:{"hc-group":"admin1","hc-middle-x":.87,"hc-middle-y":.79,"hc-key":"us-hi","hc-a2":"HI",labelrank:"0",hasc:"US.HI","woe-id":"2347570","state-fips":"15",fips:"US15","postal-code":"HI",name:"Hawaii",country:"United States of America",region:"West",longitude:"-157.999","woe-name":"Hawaii",latitude:"21.4919","woe-label":"Hawaii, US, United States",type:"State"},geometry:{type:"MultiPolygon",coordinates:[[[[2871.1,2945.9],[2875.2,2942.7],[2879.9,2943.9],[2887,2943.5],[2908.4,2936],[2926.2,2927],[2959.3,2906.2],[2969.8,2895.8],[2975.6,2888.1],[2975.6,2868.8],[2976.2,2860.2],[2981.8,2860.4],[2989.5,2864.1],[2995.3,2860.2],[2998,2855.8],[2997.4,2846.7],[3000.1,2841.1],[3003.5,2836],[3013.7,2826.7],[3024.4,2822.1],[3028.7,2818.5],[3031,2814.1],[3030.4,2808.4],[3019,2794.3],[3010.1,2790.9],[2997.5,2778.6],[2988.9,2776],[2988.6,2773.6],[2981.4,2771.8],[2975.3,2767.2],[2953.3,2760.6],[2944.8,2762.6],[2939.9,2762.7],[2935.5,2761.3],[2924.6,2753.9],[2920.9,2749.4],[2913.7,2747.3],[2906.4,2742.2],[2896.2,2736.4],[2893.2,2735.4],[2884.5,2727],[2883,2723.6],[2883.3,2715.9],[2873.3,2705.7],[2870.1,2696.8],[2867.2,2693.6],[2858.8,2686.4],[2857,2687.4],[2857.1,2692],[2852.9,2695.4],[2844.7,2699.6],[2830,2708.8],[2817.8,2712.1],[2815.1,2719.8],[2812.5,2720.6],[2810.9,2726.2],[2809.3,2735.1],[2811.5,2745.8],[2816,2776.4],[2815.6,2781.7],[2812.9,2786.6],[2805.6,2807.3],[2801.6,2814.3],[2802.1,2818.9],[2799.7,2823.2],[2796.3,2833.9],[2792.8,2839.1],[2789.8,2841.4],[2785.4,2846.6],[2780.6,2859.9],[2784.8,2870.8],[2795.1,2879.5],[2796.2,2883.5],[2799,2885.8],[2807.4,2888.9],[2813.4,2898.4],[2817.9,2906.3],[2822.3,2911.4],[2825.4,2911.5],[2827.7,2920.9],[2826.3,2924.9],[2822.9,2928.1],[2815.9,2938.7],[2813,2947.9],[2812.4,2962.2],[2816.2,2969.6],[2818.8,2972],[2826,2972],[2844.7,2968],[2850,2958],[2857.7,2955],[2862.8,2952.2],[2866.3,2948],[2871.1,2945.9]]],[[[2685.2,3028],[2683.1,3024.1],[2677.4,3024.1],[2672.1,3025],[2662.7,3023],[2656.2,3022.3],[2651.9,3026.6],[2654.3,3029.7],[2658.6,3033.4],[2670.2,3040.4],[2675.5,3042.3],[2679.6,3041.9],[2684.7,3036.2],[2682.1,3030],[2685.2,3028]]],[[[2609.3,3070.6],[2599.6,3070.1],[2595.6,3075.8],[2594.6,3080.7],[2594.3,3089.5],[2593.6,3094],[2590.2,3096],[2581.9,3099.3],[2579.4,3103.3],[2581,3107.7],[2585.7,3110.1],[2594,3111.1],[2613.5,3108.3],[2622.3,3100.4],[2628.7,3093.1],[2631.3,3086.9],[2630,3083.4],[2625.7,3076.7],[2616.7,3072.6],[2609.3,3070.6]]],[[[2673.9,3132.2],[2675.6,3130.2],[2683.4,3127.1],[2684.3,3124.4],[2686.7,3123.7],[2687.2,3118.4],[2690,3115.9],[2695.5,3106.3],[2699,3106.6],[2701.3,3109.2],[2705.1,3109.1],[2716.1,3110.5],[2722.5,3115.1],[2725.7,3116.2],[2732.1,3116.5],[2743.2,3114.2],[2746.4,3112.2],[2747.4,3109.8],[2752.3,3104.5],[2758.6,3099.6],[2758.8,3097.7],[2762.9,3098.7],[2765.5,3096.6],[2767.9,3092.2],[2774.8,3091.2],[2781.6,3088],[2791.4,3084.8],[2795.9,3075.7],[2794.9,3067.4],[2791.3,3060.7],[2786.3,3059.3],[2782.2,3053.3],[2776.8,3053.2],[2766,3047.7],[2754.9,3048.2],[2751.2,3048],[2731.5,3038.5],[2721.5,3040.8],[2718.9,3040.1],[2710.5,3039.7],[2704.9,3044.9],[2701.6,3049.9],[2703.3,3051.3],[2703.4,3055.1],[2701.8,3068.9],[2700.2,3072.7],[2700.3,3077],[2699,3080.5],[2694.8,3083.7],[2688.7,3082.3],[2687.7,3079.4],[2685.2,3078.9],[2679.4,3082.6],[2675,3083.4],[2670.7,3086.1],[2667.9,3085.8],[2660.5,3094.3],[2655,3101.5],[2654.7,3106.1],[2652.7,3108.6],[2654.7,3118.8],[2656.5,3123.8],[2658.6,3127.1],[2661.1,3127.3],[2664.7,3132],[2668.7,3131.6],[2672.3,3133.2],[2673.9,3132.2]]],[[[2542.4,3172.8],[2550.3,3172.5],[2552.8,3171.9],[2554.4,3169.4],[2557.4,3169.4],[2586.4,3165],[2594.1,3164.7],[2596.9,3170.6],[2598.9,3171.1],[2601.5,3167.6],[2602.5,3163.6],[2612.6,3161],[2622.6,3161.3],[2627,3161.9],[2631.9,3163.6],[2637.2,3163.5],[2642.1,3162.2],[2644.1,3162.6],[2646.1,3160.1],[2650.7,3159.2],[2646.9,3152.3],[2640.8,3146.4],[2633.3,3142.2],[2625.8,3139.1],[2618.1,3137.5],[2610.3,3138.3],[2602.5,3139.8],[2587.1,3143.9],[2577.6,3147.2],[2554.7,3145.6],[2547.6,3144.5],[2537.6,3144.7],[2533.7,3146.2],[2531.4,3149.3],[2531.3,3153.2],[2535.1,3159.1],[2538.7,3160.4],[2541.9,3164.2],[2542.9,3168.2],[2540.2,3172.9],[2542.4,3172.8]]],[[[2414.1,3252.1],[2415.3,3248.5],[2417.5,3247.3],[2418.6,3243.6],[2422.1,3243.3],[2425.5,3238.6],[2425.5,3233.8],[2422.8,3232.6],[2424.3,3223.3],[2428.6,3221.7],[2432,3216.6],[2435,3215.5],[2437.4,3213.2],[2440.6,3217.4],[2437.6,3219.4],[2437.9,3221.8],[2440.1,3222.8],[2448,3221.2],[2445.1,3218.3],[2444.8,3211.6],[2448.1,3209.6],[2451.4,3205.2],[2450.5,3202.8],[2453.3,3197.1],[2461.8,3192],[2463,3190.8],[2453.8,3181.6],[2451.7,3180.9],[2451.1,3184.2],[2449.4,3185.6],[2439.8,3183.8],[2433.5,3180],[2429,3180.6],[2426.4,3184.7],[2416.6,3189.1],[2413.7,3194.2],[2413.7,3196.2],[2409.6,3193],[2411.6,3190.7],[2403.3,3190.2],[2404.6,3191.8],[2399.9,3193],[2399.1,3199.7],[2405.5,3202.8],[2406.3,3204.6],[2400.6,3208.2],[2398.9,3204.7],[2394.5,3208.7],[2395.9,3202.7],[2394.8,3202],[2388.7,3207.1],[2390.1,3203.7],[2397.6,3196.7],[2396.6,3193.5],[2393,3192],[2373.9,3188.4],[2369.7,3190.8],[2368,3197.9],[2365.9,3203.5],[2361.4,3209.6],[2357.7,3211.5],[2356.8,3217.1],[2355.5,3220.1],[2349.9,3224.5],[2347.5,3228.2],[2347.2,3238.6],[2345.9,3240.5],[2337.4,3247.6],[2345.9,3249.6],[2354.3,3250],[2368.8,3249.7],[2370.5,3253.5],[2374.1,3255.5],[2379.9,3260.1],[2379.6,3261.3],[2382.9,3267.5],[2390.2,3273.8],[2396.5,3275.6],[2400.5,3274.5],[2406.2,3268.8],[2409.8,3262],[2408.9,3258.2],[2414.1,3252.1]]],[[[1955.8,3294.7],[1953.2,3293.9],[1948.4,3296.6],[1946,3304.1],[1946.6,3308.8],[1948.8,3313.7],[1956.7,3321.5],[1963,3326.1],[1971.1,3330.6],[1973.3,3335.9],[1973.1,3339.8],[1976.7,3341.3],[1980.1,3341.2],[1983.8,3339.7],[1985.5,3336],[1981.3,3331.1],[1979.8,3326.6],[1981.2,3321],[1978.5,3317.4],[1972.1,3314.3],[1968.3,3313.2],[1961.2,3308.2],[1959.7,3305],[1955.8,3294.7]]],[[[2117.8,3386.1],[2120.7,3384.6],[2123.8,3384.8],[2127.6,3382.7],[2129.1,3379.5],[2132.9,3376.7],[2134.9,3369.7],[2136.6,3368.7],[2136.1,3360.5],[2134.2,3358],[2131.3,3350.1],[2128.4,3348.5],[2128,3342.6],[2128.8,3334.9],[2128,3329.3],[2123,3328.3],[2125.2,3324.9],[2121.7,3323.7],[2118.3,3320.9],[2116.9,3318.4],[2109.4,3313],[2107.3,3310.8],[2098.5,3314],[2089,3314.5],[2078.6,3316.4],[2076.9,3318],[2074,3315.9],[2073.1,3317.6],[2068.2,3320.6],[2065.1,3326.1],[2062.8,3326.7],[2060,3329.4],[2056.1,3330],[2050.6,3332.5],[2043.4,3334.4],[2041.2,3340.1],[2038.1,3343],[2038.3,3352.8],[2040.3,3353.5],[2048.5,3363],[2049.2,3368.3],[2052.4,3371.8],[2062.1,3374.2],[2067.8,3377.5],[2071.4,3380.6],[2076.1,3382.7],[2077.8,3384.8],[2086,3386.8],[2088.1,3384.2],[2095.7,3382.1],[2095.7,3385.2],[2099.3,3386.6],[2107.5,3385.9],[2111.6,3384.7],[2115.5,3387.5],[2117.8,3386.1]]]]}},{type:"Feature",id:"US.AK",properties:{"hc-group":"admin1","hc-middle-x":.53,"hc-middle-y":.33,"hc-key":"us-ak","hc-a2":"AK",labelrank:"0",hasc:"US.AK","woe-id":"2347560","state-fips":"2",fips:"US02","postal-code":"AK",name:"Alaska",country:"United States of America",region:"West",longitude:"-151.604","woe-name":"Alaska",latitude:"65.3609","woe-label":"Alaska, US, United States",type:"State"},geometry:{type:"MultiPolygon",coordinates:[[[[322,4275],[321,4280],[339,4292],[360,4283],[392,4281],[424,4297],[443,4318],[478,4297],[476,4285],[459,4279],[461,4263],[472,4263],[490,4288],[507,4272],[503,4256],[519,4248],[528,4258],[548,4257],[582,4240],[564,4217],[594,4212],[584,4202],[611,4198],[655,4200],[684,4194],[704,4174],[712,4178],[723,4165],[746,4156],[788,4155],[808,4136],[832,4134],[851,4144],[877,4147],[901,4136],[913,4120],[929,4117],[943,4100],[957,4101],[989,3159],[1039,3148],[1057,3163],[1084,3166],[1081,3138],[1107,3121],[1113,3108],[1167,3060],[1180,3028],[1208,3055],[1220,3056],[1229,3102],[1271,3127],[1297,3104],[1295,3091],[1335,3059],[1347,3039],[1367,3031],[1397,3002],[1477,2890],[1491,2875],[1490,2858],[1504,2853],[1511,2833],[1523,2836],[1613,2802],[1622,2783],[1617,2766],[1636,2722],[1622,2680],[1606,2663],[1592,2664],[1577,2702],[1585,2718],[1577,2755],[1555,2778],[1526,2764],[1520,2723],[1499,2746],[1510,2753],[1513,2796],[1473,2829],[1468,2844],[1424,2880],[1406,2878],[1414,2903],[1397,2917],[1390,2938],[1366,2963],[1364,2998],[1355,2976],[1348,2979],[1354,2974],[1334,2977],[1331,2984],[1344,2982],[1324,2991],[1283,3075],[1286,3041],[1310,2985],[1307,2971],[1288,2985],[1264,2982],[1266,2998],[1249,3031],[1245,3018],[1199,3046],[1202,3028],[1224,3026],[1254,2995],[1255,2977],[1229,2976],[1225,2963],[1169,2999],[1134,3041],[1085,3062],[1050,3083],[1069,3102],[1060,3119],[1025,3098],[969,3113],[977,3128],[953,3122],[899,3136],[842,3125],[826,3141],[792,3157],[802,3194],[788,3179],[783,3158],[761,3173],[742,3174],[759,3196],[727,3195],[706,3205],[716,3212],[705,3227],[679,3222],[658,3229],[636,3221],[637,3247],[620,3199],[631,3213],[642,3184],[628,3167],[614,3132],[576,3140],[552,3130],[545,3108],[537,3114],[509,3089],[521,3115],[493,3078],[478,3071],[455,3077],[433,3070],[426,3086],[455,3099],[483,3126],[457,3115],[438,3133],[464,3170],[478,3204],[473,3223],[491,3228],[524,3249],[543,3235],[554,3240],[588,3228],[544,3260],[549,3268],[527,3271],[524,3284],[490,3256],[469,3252],[424,3205],[428,3196],[407,3182],[408,3170],[377,3133],[343,3131],[339,3114],[317,3109],[309,3075],[334,3075],[352,3048],[305,3020],[308,3008],[287,2998],[271,2977],[246,2981],[222,2955],[212,2964],[200,2941],[186,2947],[152,2925],[163,2924],[146,2893],[133,2901],[107,2879],[96,2891],[89,2869],[73,2877],[24,2852],[40,2842],[7,2817],[-44,2808],[-61,2821],[-118,2794],[-130,2803],[-155,2792],[-167,2799],[-155,2816],[-167,2823],[-200,2781],[-223,2772],[-230,2808],[-252,2775],[-262,2795],[-286,2772],[-278,2800],[-223,2823],[-171,2853],[-115,2850],[-113,2838],[-84,2825],[-99,2845],[-80,2870],[-38,2892],[12,2907],[27,2896],[31,2922],[57,2946],[97,2964],[126,3051],[154,3072],[156,3089],[95,3074],[79,3099],[90,3123],[60,3099],[61,3072],[44,3066],[28,3121],[8,3111],[-6,3123],[-7,3147],[-37,3132],[-62,3132],[-69,3120],[-112,3131],[-85,3135],[-82,3162],[-87,3191],[-63,3208],[-76,3277],[-72,3305],[-89,3269],[-149,3267],[-172,3278],[-167,3295],[-184,3332],[-198,3342],[-212,3370],[-166,3383],[-134,3368],[-125,3345],[-109,3358],[-131,3376],[-161,3385],[-185,3401],[-173,3407],[-186,3433],[-191,3419],[-205,3460],[-194,3469],[-211,3484],[-189,3485],[-198,3504],[-175,3498],[-170,3526],[-130,3555],[-118,3553],[-108,3582],[-85,3606],[-61,3612],[-46,3602],[-34,3577],[-22,3576],[7,3591],[28,3609],[31,3600],[76,3594],[100,3613],[106,3664],[92,3688],[125,3701],[117,3734],[102,3721],[73,3725],[45,3711],[20,3709],[8,3729],[-28,3742],[-59,3740],[-101,3771],[-108,3789],[-98,3804],[-111,3837],[-95,3829],[-73,3837],[-119,3868],[-138,3897],[-124,3909],[-95,3914],[-87,3908],[-68,3921],[-2,3935],[36,3937],[67,3929],[47,3893],[52,3877],[111,3858],[119,3845],[140,3868],[162,3859],[147,3882],[128,3880],[135,3893],[119,3943],[132,3945],[139,3923],[133,3914],[145,3887],[163,3891],[175,3870],[196,3867],[201,3879],[179,3900],[152,3894],[142,3915],[154,3949],[129,3950],[86,3976],[89,4e3],[86,4032],[55,4092],[40,4106],[27,4135],[45,4151],[57,4180],[76,4171],[124,4160],[156,4170],[182,4190],[189,4216],[201,4233],[224,4253],[229,4246],[253,4268],[256,4258],[287,4258],[317,4277],[322,4275]],[[322,4275],[323,4272],[323,4272],[323,4272],[311,4248],[326,4263],[323,4272],[323,4272],[323,4272],[324,4274],[322,4275]]],[[[-905,2721],[-922,2724],[-904,2733],[-898,2724],[-905,2721]]],[[[-739,2715],[-724,2712],[-729,2702],[-734,2709],[-739,2715]]],[[[-645,2693],[-651,2700],[-684,2693],[-643,2725],[-634,2718],[-623,2738],[-597,2740],[-595,2719],[-626,2714],[-645,2693]]],[[[-439,2748],[-458,2742],[-469,2755],[-457,2762],[-439,2748]]],[[[-268,2722],[-267,2733],[-255,2724],[-252,2715],[-268,2722]]],[[[-303,2804],[-293,2800],[-290,2768],[-309,2757],[-338,2767],[-359,2754],[-385,2761],[-386,2779],[-369,2783],[-354,2800],[-335,2796],[-303,2804]]],[[[-59,2737],[-58,2733],[-70,2740],[-62,2746],[-59,2737]]],[[[1485,2651],[1482,2635],[1455,2672],[1458,2688],[1473,2659],[1485,2651]]],[[[1568,2687],[1567,2665],[1547,2678],[1548,2705],[1568,2687]]],[[[-81,2759],[-83,2747],[-107,2735],[-88,2750],[-81,2759]]],[[[-100,2783],[-114,2781],[-119,2759],[-135,2762],[-131,2784],[-100,2783]]],[[[1530,2716],[1542,2706],[1538,2690],[1528,2711],[1530,2716]]],[[[1427,2708],[1429,2706],[1439,2711],[1430,2683],[1427,2708]]],[[[1439,2743],[1430,2731],[1420,2735],[1421,2742],[1439,2743]]],[[[1555,2775],[1573,2753],[1578,2721],[1569,2699],[1529,2721],[1537,2731],[1531,2760],[1555,2775]]],[[[1408,2747],[1414,2765],[1435,2776],[1437,2763],[1408,2747]]],[[[1480,2788],[1503,2783],[1494,2762],[1468,2778],[1475,2803],[1480,2788]]],[[[1467,2811],[1469,2795],[1445,2798],[1451,2810],[1467,2811]]],[[[1495,2807],[1510,2793],[1504,2784],[1485,2797],[1482,2819],[1495,2807]]],[[[253,2834],[251,2826],[235,2816],[239,2829],[253,2834]]],[[[276,2825],[279,2820],[259,2824],[263,2832],[276,2825]]],[[[1448,2845],[1470,2828],[1458,2816],[1449,2816],[1448,2845]]],[[[333,2880],[345,2878],[321,2864],[319,2872],[333,2880]]],[[[1295,2870],[1295,2846],[1283,2843],[1288,2862],[1295,2870]]],[[[1246,2943],[1241,2926],[1234,2942],[1237,2951],[1246,2943]]],[[[345,2973],[360,2960],[353,2961],[333,2971],[345,2973]]],[[[370,2989],[380,3007],[393,2992],[407,2995],[413,2978],[404,2970],[365,2959],[347,2974],[353,2990],[370,2989]]],[[[389,3006],[380,3014],[397,3021],[396,3012],[389,3006]]],[[[-42,3112],[-58,3105],[-53,3120],[-31,3126],[-42,3112]]],[[[643,3141],[641,3133],[628,3129],[639,3150],[643,3141]]],[[[683,3167],[692,3162],[662,3126],[639,3113],[651,3133],[678,3156],[683,3167]]],[[[-250,3366],[-233,3350],[-243,3328],[-239,3312],[-272,3312],[-294,3323],[-315,3350],[-321,3371],[-293,3362],[-286,3369],[-250,3366]]],[[[712,3177],[732,3173],[708,3154],[714,3166],[712,3177]]],[[[655,3184],[659,3177],[651,3159],[646,3171],[655,3184]]],[[[-553,3496],[-557,3490],[-570,3515],[-566,3524],[-553,3496]]],[[[735,3177],[725,3175],[725,3181],[752,3187],[735,3177]]],[[[-478,2741],[-509,2724],[-476,2727],[-492,2716],[-574,2704],[-597,2711],[-551,2713],[-526,2758],[-501,2752],[-507,2737],[-487,2749],[-478,2741]]],[[[1452,2689],[1461,2728],[1438,2724],[1443,2751],[1435,2778],[1419,2778],[1414,2794],[1439,2796],[1449,2769],[1468,2766],[1516,2700],[1532,2652],[1522,2641],[1495,2679],[1475,2669],[1476,2693],[1452,2689]]],[[[1292,2882],[1302,2902],[1330,2883],[1354,2825],[1358,2769],[1323,2816],[1325,2832],[1311,2830],[1320,2852],[1308,2856],[1308,2872],[1292,2882]]],[[[362,2955],[355,2938],[381,2954],[386,2936],[380,2918],[395,2917],[382,2900],[349,2913],[366,2899],[363,2889],[337,2894],[303,2868],[278,2838],[275,2849],[298,2883],[281,2883],[271,2862],[256,2873],[259,2892],[247,2904],[253,2919],[284,2939],[295,2933],[298,2909],[306,2934],[302,2950],[318,2956],[321,2936],[329,2963],[348,2946],[340,2965],[362,2955]]],[[[1277,2920],[1294,2891],[1278,2884],[1270,2906],[1243,2925],[1247,2941],[1271,2972],[1321,2953],[1323,2931],[1299,2928],[1309,2919],[1325,2926],[1333,2899],[1320,2896],[1277,2920]]],[[[1355,2884],[1341,2912],[1326,2962],[1314,2989],[1331,2969],[1358,2968],[1379,2937],[1376,2926],[1357,2961],[1361,2939],[1379,2919],[1383,2888],[1350,2853],[1347,2875],[1355,2884]]],[[[-347,3767],[-339,3759],[-322,3764],[-307,3758],[-307,3734],[-290,3713],[-256,3692],[-266,3681],[-286,3692],[-315,3679],[-313,3698],[-337,3738],[-353,3750],[-371,3746],[-381,3757],[-379,3773],[-362,3796],[-362,3776],[-347,3767]]],[[[1402,2834],[1394,2792],[1400,2779],[1385,2761],[1377,2790],[1389,2804],[1373,2811],[1364,2838],[1379,2842],[1395,2828],[1402,2835],[1401,2839],[1383,2863],[1396,2866],[1441,2858],[1445,2825],[1422,2845],[1441,2817],[1439,2809],[1410,2805],[1402,2834]]]]}},{type:"Feature",properties:{"hc-group":"__separator_lines__"},geometry:{type:"MultiLineString",coordinates:[[[-707,5188],[3651,2950]],[[1747,2584],[1747,3799]]]}}]},function(n){"object"==typeof module&&module.exports?(n["default"]=n,module.exports=n):"function"==typeof define&&define.amd?define("highcharts/modules/no-data-to-display",["highcharts"],function(t){return n(t),n.Highcharts=t,n}):n("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(n){function t(n,t,i,r){n.hasOwnProperty(t)||(n[t]=r.apply(null,i))}n=n?n._modules:{};t(n,"Extensions/NoDataToDisplay.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Chart/Chart.js"],n["Core/Options.js"],n["Core/Color/Palette.js"],n["Core/Utilities.js"]],function(n,t,i,r,u){var f=i.getOptions,e;i=u.addEvent;e=u.extend;u=t.prototype;f=f();e(f.lang,{noData:"No data to display"});f.noData={attr:{zIndex:1},position:{x:0,y:0,align:"center",verticalAlign:"middle"},style:{fontWeight:"bold",fontSize:"12px",color:r.neutralColor60}};u.showNoData=function(t){var i=this.options;t=t||i&&i.lang.noData;i=i&&(i.noData||{});this.renderer&&(this.noDataLabel||(this.noDataLabel=this.renderer.label(t,0,0,void 0,void 0,void 0,i.useHTML,void 0,"no-data").add()),this.styledMode||this.noDataLabel.attr(n.filterUserAttributes(i.attr||{})).css(i.style||{}),this.noDataLabel.align(e(this.noDataLabel.getBBox(),i.position||{}),!1,"plotBox"))};u.hideNoData=function(){this.noDataLabel&&(this.noDataLabel=this.noDataLabel.destroy())};u.hasData=function(){for(var n=this.series||[],t=n.length;t--;)if(n[t].hasData()&&!n[t].options.isInternal)return!0;return this.loadingShown};i(t,"render",function(){this.hasData()?this.hideNoData():this.showNoData()})});t(n,"masters/modules/no-data-to-display.src.js",[],function(){})})