vuejs-highcharts
Version:
Wrapper for Highcharts library for Vue.js 2.x
2 lines • 312 kB
JavaScript
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["vuejs-highcharts"]=e():t["vuejs-highcharts"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){var e={};function i(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=t,i.c=e,i.d=function(t,e,o){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},i.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(o,r,function(e){return t[e]}.bind(null,r));return o},i.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s="fae3")}({"01f9":function(t,e,i){"use strict";var o=i("2d00"),r=i("5ca1"),n=i("2aba"),s=i("32e9"),a=i("84f2"),h=i("41a0"),l=i("7f20"),c=i("38fd"),d=i("2b4c")("iterator"),p=!([].keys&&"next"in[].keys()),u="@@iterator",f="keys",g="values",y=function(){return this};t.exports=function(t,e,i,m,v,x,b){h(i,e,m);var S,k,w,C=function(t){if(!p&&t in P)return P[t];switch(t){case f:return function(){return new i(this,t)};case g:return function(){return new i(this,t)}}return function(){return new i(this,t)}},M=e+" Iterator",O=v==g,A=!1,P=t.prototype,T=P[d]||P[u]||v&&P[v],L=T||C(v),E=v?O?C("entries"):L:void 0,j="Array"==e&&P.entries||T;if(j&&(w=c(j.call(new t)),w!==Object.prototype&&w.next&&(l(w,M,!0),o||"function"==typeof w[d]||s(w,d,y))),O&&T&&T.name!==g&&(A=!0,L=function(){return T.call(this)}),o&&!b||!p&&!A&&P[d]||s(P,d,L),a[e]=L,a[M]=y,v)if(S={values:O?L:C(g),keys:x?L:C(f),entries:E},b)for(k in S)k in P||n(P,k,S[k]);else r(r.P+r.F*(p||A),e,S);return S}},"07e3":function(t,e){var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},"0d58":function(t,e,i){var o=i("ce10"),r=i("e11e");t.exports=Object.keys||function(t){return o(t,r)}},"11e9":function(t,e,i){var o=i("52a7"),r=i("4630"),n=i("6821"),s=i("6a99"),a=i("69a8"),h=i("c69a"),l=Object.getOwnPropertyDescriptor;e.f=i("9e1e")?l:function(t,e){if(t=n(t),e=s(e,!0),h)try{return l(t,e)}catch(i){}if(a(t,e))return r(!o.f.call(t,e),t[e])}},1495:function(t,e,i){var o=i("86cc"),r=i("cb7c"),n=i("0d58");t.exports=i("9e1e")?Object.defineProperties:function(t,e){r(t);var i,s=n(e),a=s.length,h=0;while(a>h)o.f(t,i=s[h++],e[i]);return t}},"1bc3":function(t,e,i){var o=i("f772");t.exports=function(t,e){if(!o(t))return t;var i,r;if(e&&"function"==typeof(i=t.toString)&&!o(r=i.call(t)))return r;if("function"==typeof(i=t.valueOf)&&!o(r=i.call(t)))return r;if(!e&&"function"==typeof(i=t.toString)&&!o(r=i.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},"1ec9":function(t,e,i){var o=i("f772"),r=i("e53d").document,n=o(r)&&o(r.createElement);t.exports=function(t){return n?r.createElement(t):{}}},"230e":function(t,e,i){var o=i("d3f4"),r=i("7726").document,n=o(r)&&o(r.createElement);t.exports=function(t){return n?r.createElement(t):{}}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"294c":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"2aba":function(t,e,i){var o=i("7726"),r=i("32e9"),n=i("69a8"),s=i("ca5a")("src"),a=i("fa5b"),h="toString",l=(""+a).split(h);i("8378").inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,i,a){var h="function"==typeof i;h&&(n(i,"name")||r(i,"name",e)),t[e]!==i&&(h&&(n(i,s)||r(i,s,t[e]?""+t[e]:l.join(String(e)))),t===o?t[e]=i:a?t[e]?t[e]=i:r(t,e,i):(delete t[e],r(t,e,i)))})(Function.prototype,h,(function(){return"function"==typeof this&&this[s]||a.call(this)}))},"2aeb":function(t,e,i){var o=i("cb7c"),r=i("1495"),n=i("e11e"),s=i("613b")("IE_PROTO"),a=function(){},h="prototype",l=function(){var t,e=i("230e")("iframe"),o=n.length,r="<",s=">";e.style.display="none",i("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(r+"script"+s+"document.F=Object"+r+"/script"+s),t.close(),l=t.F;while(o--)delete l[h][n[o]];return l()};t.exports=Object.create||function(t,e){var i;return null!==t?(a[h]=o(t),i=new a,a[h]=null,i[s]=t):i=l(),void 0===e?i:r(i,e)}},"2b4c":function(t,e,i){var o=i("5537")("wks"),r=i("ca5a"),n=i("7726").Symbol,s="function"==typeof n,a=t.exports=function(t){return o[t]||(o[t]=s&&n[t]||(s?n:r)("Symbol."+t))};a.store=o},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},"32e9":function(t,e,i){var o=i("86cc"),r=i("4630");t.exports=i("9e1e")?function(t,e,i){return o.f(t,e,r(1,i))}:function(t,e,i){return t[e]=i,t}},"35e8":function(t,e,i){var o=i("d9f6"),r=i("aebd");t.exports=i("8e60")?function(t,e,i){return o.f(t,e,r(1,i))}:function(t,e,i){return t[e]=i,t}},"38fd":function(t,e,i){var o=i("69a8"),r=i("4bf8"),n=i("613b")("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),o(t,n)?t[n]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},"41a0":function(t,e,i){"use strict";var o=i("2aeb"),r=i("4630"),n=i("7f20"),s={};i("32e9")(s,i("2b4c")("iterator"),(function(){return this})),t.exports=function(t,e,i){t.prototype=o(s,{next:r(1,i)}),n(t,e+" Iterator")}},"454f":function(t,e,i){i("46a7");var o=i("584a").Object;t.exports=function(t,e,i){return o.defineProperty(t,e,i)}},"456d":function(t,e,i){var o=i("4bf8"),r=i("0d58");i("5eda")("keys",(function(){return function(t){return r(o(t))}}))},4588:function(t,e){var i=Math.ceil,o=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?o:i)(t)}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"46a7":function(t,e,i){var o=i("63b6");o(o.S+o.F*!i("8e60"),"Object",{defineProperty:i("d9f6").f})},"4bf8":function(t,e,i){var o=i("be13");t.exports=function(t){return Object(o(t))}},"52a7":function(t,e){e.f={}.propertyIsEnumerable},5537:function(t,e,i){var o=i("8378"),r=i("7726"),n="__core-js_shared__",s=r[n]||(r[n]={});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:o.version,mode:i("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"584a":function(t,e){var i=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=i)},"5ca1":function(t,e,i){var o=i("7726"),r=i("8378"),n=i("32e9"),s=i("2aba"),a=i("9b43"),h="prototype",l=function(t,e,i){var c,d,p,u,f=t&l.F,g=t&l.G,y=t&l.S,m=t&l.P,v=t&l.B,x=g?o:y?o[e]||(o[e]={}):(o[e]||{})[h],b=g?r:r[e]||(r[e]={}),S=b[h]||(b[h]={});for(c in g&&(i=e),i)d=!f&&x&&void 0!==x[c],p=(d?x:i)[c],u=v&&d?a(p,o):m&&"function"==typeof p?a(Function.call,p):p,x&&s(x,c,p,t&l.U),b[c]!=p&&n(b,c,u),m&&S[c]!=p&&(S[c]=p)};o.core=r,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},"5dbc":function(t,e,i){var o=i("d3f4"),r=i("8b97").set;t.exports=function(t,e,i){var n,s=e.constructor;return s!==i&&"function"==typeof s&&(n=s.prototype)!==i.prototype&&o(n)&&r&&r(t,n),t}},"5eda":function(t,e,i){var o=i("5ca1"),r=i("8378"),n=i("79e5");t.exports=function(t,e){var i=(r.Object||{})[t]||Object[t],s={};s[t]=e(i),o(o.S+o.F*n((function(){i(1)})),"Object",s)}},"613b":function(t,e,i){var o=i("5537")("keys"),r=i("ca5a");t.exports=function(t){return o[t]||(o[t]=r(t))}},"626a":function(t,e,i){var o=i("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==o(t)?t.split(""):Object(t)}},"63b6":function(t,e,i){var o=i("e53d"),r=i("584a"),n=i("d864"),s=i("35e8"),a=i("07e3"),h="prototype",l=function(t,e,i){var c,d,p,u=t&l.F,f=t&l.G,g=t&l.S,y=t&l.P,m=t&l.B,v=t&l.W,x=f?r:r[e]||(r[e]={}),b=x[h],S=f?o:g?o[e]:(o[e]||{})[h];for(c in f&&(i=e),i)d=!u&&S&&void 0!==S[c],d&&a(x,c)||(p=d?S[c]:i[c],x[c]=f&&"function"!=typeof S[c]?i[c]:m&&d?n(p,o):v&&S[c]==p?function(t){var e=function(e,i,o){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,i)}return new t(e,i,o)}return t.apply(this,arguments)};return e[h]=t[h],e}(p):y&&"function"==typeof p?n(Function.call,p):p,y&&((x.virtual||(x.virtual={}))[c]=p,t&l.R&&b&&!b[c]&&s(b,c,p)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},6821:function(t,e,i){var o=i("626a"),r=i("be13");t.exports=function(t){return o(r(t))}},"69a8":function(t,e){var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},"6a99":function(t,e,i){var o=i("d3f4");t.exports=function(t,e){if(!o(t))return t;var i,r;if(e&&"function"==typeof(i=t.toString)&&!o(r=i.call(t)))return r;if("function"==typeof(i=t.valueOf)&&!o(r=i.call(t)))return r;if(!e&&"function"==typeof(i=t.toString)&&!o(r=i.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},7726:function(t,e){var i=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},"77f1":function(t,e,i){var o=i("4588"),r=Math.max,n=Math.min;t.exports=function(t,e){return t=o(t),t<0?r(t+e,0):n(t,e)}},"794b":function(t,e,i){t.exports=!i("8e60")&&!i("294c")((function(){return 7!=Object.defineProperty(i("1ec9")("div"),"a",{get:function(){return 7}}).a}))},"79aa":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"7f20":function(t,e,i){var o=i("86cc").f,r=i("69a8"),n=i("2b4c")("toStringTag");t.exports=function(t,e,i){t&&!r(t=i?t:t.prototype,n)&&o(t,n,{configurable:!0,value:e})}},8378:function(t,e){var i=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=i)},"84f2":function(t,e){t.exports={}},"85f2":function(t,e,i){t.exports=i("454f")},"86cc":function(t,e,i){var o=i("cb7c"),r=i("c69a"),n=i("6a99"),s=Object.defineProperty;e.f=i("9e1e")?Object.defineProperty:function(t,e,i){if(o(t),e=n(e,!0),o(i),r)try{return s(t,e,i)}catch(a){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[e]=i.value),t}},"8b97":function(t,e,i){var o=i("d3f4"),r=i("cb7c"),n=function(t,e){if(r(t),!o(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,o){try{o=i("9b43")(Function.call,i("11e9").f(Object.prototype,"__proto__").set,2),o(t,[]),e=!(t instanceof Array)}catch(r){e=!0}return function(t,i){return n(t,i),e?t.__proto__=i:o(t,i),t}}({},!1):void 0),check:n}},"8e60":function(t,e,i){t.exports=!i("294c")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"8e6e":function(t,e,i){var o=i("5ca1"),r=i("990b"),n=i("6821"),s=i("11e9"),a=i("f1ae");o(o.S,"Object",{getOwnPropertyDescriptors:function(t){var e,i,o=n(t),h=s.f,l=r(o),c={},d=0;while(l.length>d)i=h(o,e=l[d++]),void 0!==i&&a(c,e,i);return c}})},9093:function(t,e,i){var o=i("ce10"),r=i("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return o(t,r)}},"990b":function(t,e,i){var o=i("9093"),r=i("2621"),n=i("cb7c"),s=i("7726").Reflect;t.exports=s&&s.ownKeys||function(t){var e=o.f(n(t)),i=r.f;return i?e.concat(i(t)):e}},"9b43":function(t,e,i){var o=i("d8e8");t.exports=function(t,e,i){if(o(t),void 0===e)return t;switch(i){case 1:return function(i){return t.call(e,i)};case 2:return function(i,o){return t.call(e,i,o)};case 3:return function(i,o,r){return t.call(e,i,o,r)}}return function(){return t.apply(e,arguments)}}},"9c6c":function(t,e,i){var o=i("2b4c")("unscopables"),r=Array.prototype;void 0==r[o]&&i("32e9")(r,o,{}),t.exports=function(t){r[o][t]=!0}},"9def":function(t,e,i){var o=i("4588"),r=Math.min;t.exports=function(t){return t>0?r(o(t),9007199254740991):0}},"9e1e":function(t,e,i){t.exports=!i("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},aa77:function(t,e,i){var o=i("5ca1"),r=i("be13"),n=i("79e5"),s=i("fdef"),a="["+s+"]",h="
",l=RegExp("^"+a+a+"*"),c=RegExp(a+a+"*$"),d=function(t,e,i){var r={},a=n((function(){return!!s[t]()||h[t]()!=h})),l=r[t]=a?e(p):s[t];i&&(r[i]=l),o(o.P+o.F*a,"String",r)},p=d.trim=function(t,e){return t=String(r(t)),1&e&&(t=t.replace(l,"")),2&e&&(t=t.replace(c,"")),t};t.exports=d},ac6a:function(t,e,i){for(var o=i("cadf"),r=i("0d58"),n=i("2aba"),s=i("7726"),a=i("32e9"),h=i("84f2"),l=i("2b4c"),c=l("iterator"),d=l("toStringTag"),p=h.Array,u={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},f=r(u),g=0;g<f.length;g++){var y,m=f[g],v=u[m],x=s[m],b=x&&x.prototype;if(b&&(b[c]||a(b,c,p),b[d]||a(b,d,m),h[m]=p,v))for(y in o)b[y]||n(b,y,o[y],!0)}},aebd:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},c366:function(t,e,i){var o=i("6821"),r=i("9def"),n=i("77f1");t.exports=function(t){return function(e,i,s){var a,h=o(e),l=r(h.length),c=n(s,l);if(t&&i!=i){while(l>c)if(a=h[c++],a!=a)return!0}else for(;l>c;c++)if((t||c in h)&&h[c]===i)return t||c||0;return!t&&-1}}},c5f6:function(t,e,i){"use strict";var o=i("7726"),r=i("69a8"),n=i("2d95"),s=i("5dbc"),a=i("6a99"),h=i("79e5"),l=i("9093").f,c=i("11e9").f,d=i("86cc").f,p=i("aa77").trim,u="Number",f=o[u],g=f,y=f.prototype,m=n(i("2aeb")(y))==u,v="trim"in String.prototype,x=function(t){var e=a(t,!1);if("string"==typeof e&&e.length>2){e=v?e.trim():p(e,3);var i,o,r,n=e.charCodeAt(0);if(43===n||45===n){if(i=e.charCodeAt(2),88===i||120===i)return NaN}else if(48===n){switch(e.charCodeAt(1)){case 66:case 98:o=2,r=49;break;case 79:case 111:o=8,r=55;break;default:return+e}for(var s,h=e.slice(2),l=0,c=h.length;l<c;l++)if(s=h.charCodeAt(l),s<48||s>r)return NaN;return parseInt(h,o)}}return+e};if(!f(" 0o1")||!f("0b1")||f("+0x1")){f=function(t){var e=arguments.length<1?0:t,i=this;return i instanceof f&&(m?h((function(){y.valueOf.call(i)})):n(i)!=u)?s(new g(x(e)),i,f):x(e)};for(var b,S=i("9e1e")?l(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),k=0;S.length>k;k++)r(g,b=S[k])&&!r(f,b)&&d(f,b,c(g,b));f.prototype=y,y.constructor=f,i("2aba")(o,u,f)}},c69a:function(t,e,i){t.exports=!i("9e1e")&&!i("79e5")((function(){return 7!=Object.defineProperty(i("230e")("div"),"a",{get:function(){return 7}}).a}))},ca5a:function(t,e){var i=0,o=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++i+o).toString(36))}},cadf:function(t,e,i){"use strict";var o=i("9c6c"),r=i("d53b"),n=i("84f2"),s=i("6821");t.exports=i("01f9")(Array,"Array",(function(t,e){this._t=s(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,i=this._i++;return!t||i>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?i:"values"==e?t[i]:[i,t[i]])}),"values"),n.Arguments=n.Array,o("keys"),o("values"),o("entries")},cb7c:function(t,e,i){var o=i("d3f4");t.exports=function(t){if(!o(t))throw TypeError(t+" is not an object!");return t}},ce10:function(t,e,i){var o=i("69a8"),r=i("6821"),n=i("c366")(!1),s=i("613b")("IE_PROTO");t.exports=function(t,e){var i,a=r(t),h=0,l=[];for(i in a)i!=s&&o(a,i)&&l.push(i);while(e.length>h)o(a,i=e[h++])&&(~n(l,i)||l.push(i));return l}},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d864:function(t,e,i){var o=i("79aa");t.exports=function(t,e,i){if(o(t),void 0===e)return t;switch(i){case 1:return function(i){return t.call(e,i)};case 2:return function(i,o){return t.call(e,i,o)};case 3:return function(i,o,r){return t.call(e,i,o,r)}}return function(){return t.apply(e,arguments)}}},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},d9f6:function(t,e,i){var o=i("e4ae"),r=i("794b"),n=i("1bc3"),s=Object.defineProperty;e.f=i("8e60")?Object.defineProperty:function(t,e,i){if(o(t),e=n(e,!0),o(i),r)try{return s(t,e,i)}catch(a){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[e]=i.value),t}},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e4ae:function(t,e,i){var o=i("f772");t.exports=function(t){if(!o(t))throw TypeError(t+" is not an object!");return t}},e53d:function(t,e){var i=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},ea7f:function(t,e,i){var o;(function(r,n){t.exports?(n["default"]=n,t.exports=r.document?n(r):n):(o=function(){return n(r)}.call(e,i,e,t),void 0===o||(t.exports=o))})("undefined"!==typeof window?window:this,(function(t){function e(t,e,i,o){t.hasOwnProperty(e)||(t[e]=o.apply(null,i))}var i={};return e(i,"Core/Globals.js",[],(function(){var e="undefined"!==typeof t?t:"undefined"!==typeof window?window:{},i=e.document,o=e.navigator&&e.navigator.userAgent||"",r=i&&i.createElementNS&&!!i.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,n=/(edge|msie|trident)/i.test(o)&&!e.opera,s=-1!==o.indexOf("Firefox"),a=-1!==o.indexOf("Chrome"),h=s&&4>parseInt(o.split("Firefox/")[1],10);return{product:"Highcharts",version:"8.2.2",deg2rad:2*Math.PI/360,doc:i,hasBidiBug:h,hasTouch:!!e.TouchEvent,isMS:n,isWebKit:-1!==o.indexOf("AppleWebKit"),isFirefox:s,isChrome:a,isSafari:!a&&-1!==o.indexOf("Safari"),isTouchDevice:/(Mobile|Android|Windows Phone)/.test(o),SVG_NS:"http://www.w3.org/2000/svg",chartCount:0,seriesTypes:{},symbolSizes:{},svg:r,win:e,marginNames:["plotTop","marginRight","marginBottom","plotLeft"],noop:function(){},charts:[],dateFormats:{}}})),e(i,"Core/Utilities.js",[i["Core/Globals.js"]],(function(t){function e(t,i,o,r){var n=i?"Highcharts error":"Highcharts warning";32===t&&(t=n+": Deprecated member");var s=g(t),a=s?n+" #"+t+": www.highcharts.com/errors/"+t+"/":t.toString();if(n=function(){if(i)throw Error(a);l.console&&-1===e.messages.indexOf(a)&&console.log(a)},"undefined"!==typeof r){var h="";s&&(a+="?"),F(r,(function(t,e){h+="\n - "+e+": "+t,s&&(a+=encodeURI(e)+"="+encodeURI(t))})),a+=h}o?V(o,"displayError",{code:t,message:a,params:r},n):n(),e.messages.push(a)}function i(){var t,e=arguments,i={},r=function(t,e){return"object"!==typeof t&&(t={}),F(e,(function(i,n){!o(i,!0)||f(i)||u(i)?t[n]=e[n]:t[n]=r(t[n]||{},i)})),t};!0===e[0]&&(i=e[1],e=Array.prototype.slice.call(e,2));var n=e.length;for(t=0;t<n;t++)i=r(i,e[t]);return i}function o(t,e){return!!t&&"object"===typeof t&&(!e||!p(t))}function r(t,e,i){var o;return d(e)?m(i)?t.setAttribute(e,i):t&&t.getAttribute&&((o=t.getAttribute(e))||"class"!==e||(o=t.getAttribute(e+"Name"))):F(e,(function(e,i){t.setAttribute(i,e)})),o}function n(){for(var t=arguments,e=t.length,i=0;i<e;i++){var o=t[i];if("undefined"!==typeof o&&null!==o)return o}}function s(t,e){if(!t)return e;var i=t.split(".").reverse();if(1===i.length)return e[t];for(t=i.pop();"undefined"!==typeof t&&"undefined"!==typeof e&&null!==e;)e=e[t],t=i.pop();return e}t.timers=[];var a=t.charts,h=t.doc,l=t.win;(e||(e={})).messages=[],t.error=e,t.merge=i;var c=t.pInt=function(t,e){return parseInt(t,e||10)},d=t.isString=function(t){return"string"===typeof t},p=t.isArray=function(t){return t=Object.prototype.toString.call(t),"[object Array]"===t||"[object Array Iterator]"===t};t.isObject=o;var u=t.isDOMElement=function(t){return o(t)&&"number"===typeof t.nodeType},f=t.isClass=function(t){var e=t&&t.constructor;return!(!o(t,!0)||u(t)||!e||!e.name||"Object"===e.name)},g=t.isNumber=function(t){return"number"===typeof t&&!isNaN(t)&&1/0>t&&-1/0<t},y=t.erase=function(t,e){for(var i=t.length;i--;)if(t[i]===e){t.splice(i,1);break}},m=t.defined=function(t){return"undefined"!==typeof t&&null!==t};t.attr=r;var v=t.splat=function(t){return p(t)?t:[t]},x=t.syncTimeout=function(t,e,i){return 0<e?setTimeout(t,e,i):(t.call(0,i),-1)},b=t.clearTimeout=function(t){m(t)&&clearTimeout(t)},S=t.extend=function(t,e){var i;for(i in t||(t={}),e)t[i]=e[i];return t};t.pick=n;var k=t.css=function(e,i){t.isMS&&!t.svg&&i&&"undefined"!==typeof i.opacity&&(i.filter="alpha(opacity="+100*i.opacity+")"),S(e.style,i)},w=t.createElement=function(t,e,i,o,r){return t=h.createElement(t),e&&S(t,e),r&&k(t,{padding:"0",border:"none",margin:"0"}),i&&k(t,i),o&&o.appendChild(t),t},C=t.extendClass=function(t,e){var i=function(){};return i.prototype=new t,S(i.prototype,e),i},M=t.pad=function(t,e,i){return Array((e||2)+1-String(t).replace("-","").length).join(i||"0")+t},O=t.relativeLength=function(t,e,i){return/%$/.test(t)?e*parseFloat(t)/100+(i||0):parseFloat(t)},A=t.wrap=function(t,e,i){var o=t[e];t[e]=function(){var t=Array.prototype.slice.call(arguments),e=arguments,r=this;return r.proceed=function(){o.apply(r,arguments.length?arguments:e)},t.unshift(o),t=i.apply(this,t),r.proceed=null,t}},P=t.format=function(e,i,o){var r="{",n=!1,a=[],h=/f$/,l=/\.([0-9])/,c=t.defaultOptions.lang,d=o&&o.time||t.time;for(o=o&&o.numberFormatter||R;e;){var p=e.indexOf(r);if(-1===p)break;var u=e.slice(0,p);if(n){if(u=u.split(":"),r=s(u.shift()||"",i),u.length&&"number"===typeof r)if(u=u.join(":"),h.test(u)){var f=parseInt((u.match(l)||["","-1"])[1],10);null!==r&&(r=o(r,f,c.decimalPoint,-1<u.indexOf(",")?c.thousandsSep:""))}else r=d.dateFormat(u,r);a.push(r)}else a.push(u);e=e.slice(p+1),r=(n=!n)?"}":"{"}return a.push(e),a.join("")},T=t.getMagnitude=function(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))},L=t.normalizeTickInterval=function(t,e,i,o,r){var s=t;i=n(i,1);var a=t/i;for(e||(e=r?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===o&&(1===i?e=e.filter((function(t){return 0===t%1})):.1>=i&&(e=[1/i]))),o=0;o<e.length&&(s=e[o],!(r&&s*i>=t||!r&&a<=(e[o]+(e[o+1]||e[o]))/2));o++);return z(s*i,-Math.round(Math.log(.001)/Math.LN10))},E=t.stableSort=function(t,e){var i,o,r=t.length;for(o=0;o<r;o++)t[o].safeI=o;for(t.sort((function(t,o){return i=e(t,o),0===i?t.safeI-o.safeI:i})),o=0;o<r;o++)delete t[o].safeI},j=t.arrayMin=function(t){for(var e=t.length,i=t[0];e--;)t[e]<i&&(i=t[e]);return i},D=t.arrayMax=function(t){for(var e=t.length,i=t[0];e--;)t[e]>i&&(i=t[e]);return i},I=t.destroyObjectProperties=function(t,e){F(t,(function(i,o){i&&i!==e&&i.destroy&&i.destroy(),delete t[o]}))},B=t.discardElement=function(e){var i=t.garbageBin;i||(i=w("div")),e&&i.appendChild(e),i.innerHTML=""},z=t.correctFloat=function(t,e){return parseFloat(t.toPrecision(e||14))},N=t.timeUnits={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},R=t.numberFormat=function(e,i,o,r){e=+e||0,i=+i;var s=t.defaultOptions.lang,a=(e.toString().split(".")[1]||"").split("e")[0].length,h=e.toString().split("e");if(-1===i)i=Math.min(a,20);else if(g(i)){if(i&&h[1]&&0>h[1]){var l=i+ +h[1];0<=l?(h[0]=(+h[0]).toExponential(l).split("e")[0],i=l):(h[0]=h[0].split(".")[0]||0,e=20>i?(h[0]*Math.pow(10,h[1])).toFixed(i):0,h[1]=0)}}else i=2;var d=(Math.abs(h[1]?h[0]:e)+Math.pow(10,-Math.max(i,a)-1)).toFixed(i);return a=String(c(d)),l=3<a.length?a.length%3:0,o=n(o,s.decimalPoint),r=n(r,s.thousandsSep),e=(0>e?"-":"")+(l?a.substr(0,l)+r:""),e+=a.substr(l).replace(/(\d{3})(?=\d)/g,"$1"+r),i&&(e+=o+d.slice(-i)),h[1]&&0!==+e&&(e+="e"+h[1]),e};Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};var G=t.getStyle=function(i,o,r){return"width"===o?(o=Math.min(i.offsetWidth,i.scrollWidth),r=i.getBoundingClientRect&&i.getBoundingClientRect().width,r<o&&r>=o-1&&(o=Math.floor(r)),Math.max(0,o-t.getStyle(i,"padding-left")-t.getStyle(i,"padding-right"))):"height"===o?Math.max(0,Math.min(i.offsetHeight,i.scrollHeight)-t.getStyle(i,"padding-top")-t.getStyle(i,"padding-bottom")):(l.getComputedStyle||e(27,!0),(i=l.getComputedStyle(i,void 0))&&(i=i.getPropertyValue(o),n(r,"opacity"!==o)&&(i=c(i))),i)},W=t.inArray=function(t,i,o){return e(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),i.indexOf(t,o)},X=t.find=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){var i,o=t.length;for(i=0;i<o;i++)if(e(t[i],i))return t[i]};t.keys=function(t){return e(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t)};var H=t.offset=function(t){var e=h.documentElement;return t=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0},{top:t.top+(l.pageYOffset||e.scrollTop)-(e.clientTop||0),left:t.left+(l.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}},F=t.objectEach=function(t,e,i){for(var o in t)Object.hasOwnProperty.call(t,o)&&e.call(i||t[o],t[o],o,t)};F({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},(function(i,o){t[o]=function(t){var r;return e(32,!1,void 0,(r={},r["Highcharts."+o]="use Array."+i,r)),Array.prototype[i].apply(t,[].slice.call(arguments,1))}}));var Y,_=t.addEvent=function(e,i,o,r){void 0===r&&(r={});var n=e.addEventListener||t.addEventListenerPolyfill,s="function"===typeof e&&e.prototype?e.prototype.protoEvents=e.prototype.protoEvents||{}:e.hcEvents=e.hcEvents||{};return t.Point&&e instanceof t.Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0),n&&n.call(e,i,o,!1),s[i]||(s[i]=[]),s[i].push({fn:o,order:"number"===typeof r.order?r.order:1/0}),s[i].sort((function(t,e){return t.order-e.order})),function(){U(e,i,o)}},U=t.removeEvent=function(e,i,o){function r(i,o){var r=e.removeEventListener||t.removeEventListenerPolyfill;r&&r.call(e,i,o,!1)}function n(t){var o;if(e.nodeName){if(i){var n={};n[i]=!0}else n=t;F(n,(function(e,i){if(t[i])for(o=t[i].length;o--;)r(i,t[i][o].fn)}))}}var s;["protoEvents","hcEvents"].forEach((function(t,a){var h=(a=a?e:e.prototype)&&a[t];h&&(i?(s=h[i]||[],o?(h[i]=s.filter((function(t){return o!==t.fn})),r(i,o)):(n(h),h[i]=[])):(n(h),a[t]={}))}))},V=t.fireEvent=function(t,e,i,o){var r;if(i=i||{},h.createEvent&&(t.dispatchEvent||t.fireEvent)){var n=h.createEvent("Events");n.initEvent(e,!0,!0),S(n,i),t.dispatchEvent?t.dispatchEvent(n):t.fireEvent(e,n)}else i.target||S(i,{preventDefault:function(){i.defaultPrevented=!0},target:t,type:e}),function(e,o){void 0===e&&(e=[]),void 0===o&&(o=[]);var n=0,s=0,a=e.length+o.length;for(r=0;r<a;r++)!1===(e[n]?o[s]?e[n].order<=o[s].order?e[n++]:o[s++]:e[n++]:o[s++]).fn.call(t,i)&&i.preventDefault()}(t.protoEvents&&t.protoEvents[e],t.hcEvents&&t.hcEvents[e]);o&&!i.defaultPrevented&&o.call(t,i)},K=t.uniqueKey=function(){var t=Math.random().toString(36).substring(2,9)+"-",e=0;return function(){return"highcharts-"+(Y?"":t)+e++}}(),Z=t.useSerialIds=function(t){return Y=n(t,Y)},q=t.isFunction=function(t){return"function"===typeof t},$=t.getOptions=function(){return t.defaultOptions},J=t.setOptions=function(e){return t.defaultOptions=i(!0,t.defaultOptions,e),(e.time||e.global)&&t.time.update(i(t.defaultOptions.global,t.defaultOptions.time,e.global,e.time)),t.defaultOptions};return l.jQuery&&(l.jQuery.fn.highcharts=function(){var e=[].slice.call(arguments);if(this[0])return e[0]?(new(t[d(e[0])?e.shift():"Chart"])(this[0],e[0],e[1]),this):a[r(this[0],"data-highcharts-chart")]}),{addEvent:_,arrayMax:D,arrayMin:j,attr:r,clamp:function(t,e,i){return t>e?t<i?t:i:e},clearTimeout:b,correctFloat:z,createElement:w,css:k,defined:m,destroyObjectProperties:I,discardElement:B,erase:y,error:e,extend:S,extendClass:C,find:X,fireEvent:V,format:P,getMagnitude:T,getNestedProperty:s,getOptions:$,getStyle:G,inArray:W,isArray:p,isClass:f,isDOMElement:u,isFunction:q,isNumber:g,isObject:o,isString:d,merge:i,normalizeTickInterval:L,numberFormat:R,objectEach:F,offset:H,pad:M,pick:n,pInt:c,relativeLength:O,removeEvent:U,setOptions:J,splat:v,stableSort:E,syncTimeout:x,timeUnits:N,uniqueKey:K,useSerialIds:Z,wrap:A}})),e(i,"Core/Color/Color.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.isNumber,o=e.merge,r=e.pInt;return e=function(){function e(i){return this.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(t){return[r(t[1]),r(t[2]),r(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(t){return[r(t[1]),r(t[2]),r(t[3]),1]}}],this.rgba=[],t.Color!==e?new t.Color(i):this instanceof e?void this.init(i):new e(i)}return e.parse=function(t){return new e(t)},e.prototype.init=function(t){var i,o;if((this.input=t=e.names[t&&t.toLowerCase?t.toLowerCase():""]||t)&&t.stops)this.stops=t.stops.map((function(t){return new e(t[1])}));else{if(t&&t.charAt&&"#"===t.charAt()){var r=t.length;t=parseInt(t.substr(1),16),7===r?i=[(16711680&t)>>16,(65280&t)>>8,255&t,1]:4===r&&(i=[(3840&t)>>4|(3840&t)>>8,(240&t)>>4|240&t,(15&t)<<4|15&t,1])}if(!i)for(o=this.parsers.length;o--&&!i;){var n=this.parsers[o];(r=n.regex.exec(t))&&(i=n.parse(r))}}this.rgba=i||[]},e.prototype.get=function(t){var e=this.input,r=this.rgba;if("undefined"!==typeof this.stops){var n=o(e);n.stops=[].concat(n.stops),this.stops.forEach((function(e,i){n.stops[i]=[n.stops[i][0],e.get(t)]}))}else n=r&&i(r[0])?"rgb"===t||!t&&1===r[3]?"rgb("+r[0]+","+r[1]+","+r[2]+")":"a"===t?r[3]:"rgba("+r.join(",")+")":e;return n},e.prototype.brighten=function(t){var e,o=this.rgba;if(this.stops)this.stops.forEach((function(e){e.brighten(t)}));else if(i(t)&&0!==t)for(e=0;3>e;e++)o[e]+=r(255*t),0>o[e]&&(o[e]=0),255<o[e]&&(o[e]=255);return this},e.prototype.setOpacity=function(t){return this.rgba[3]=t,this},e.prototype.tweenTo=function(t,e){var i=this.rgba,o=t.rgba;return o.length&&i&&i.length?(t=1!==o[3]||1!==i[3],e=(t?"rgba(":"rgb(")+Math.round(o[0]+(i[0]-o[0])*(1-e))+","+Math.round(o[1]+(i[1]-o[1])*(1-e))+","+Math.round(o[2]+(i[2]-o[2])*(1-e))+(t?","+(o[3]+(i[3]-o[3])*(1-e)):"")+")"):e=t.input||"none",e},e.names={white:"#ffffff",black:"#000000"},e}(),t.Color=e,t.color=e.parse,e})),e(i,"Core/Animation/Fx.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e){var i=t.win,o=e.isNumber,r=e.objectEach;return e=function(){function e(t,e,i){this.pos=NaN,this.options=e,this.elem=t,this.prop=i}return e.prototype.dSetter=function(){var t=this.paths,e=t&&t[0];t=t&&t[1];var i=[],o=this.now||0;if(1!==o&&e&&t)if(e.length===t.length&&1>o)for(var r=0;r<t.length;r++){for(var n=e[r],s=t[r],a=[],h=0;h<s.length;h++){var l=n[h],c=s[h];a[h]="number"===typeof l&&"number"===typeof c&&("A"!==s[0]||4!==h&&5!==h)?l+o*(c-l):c}i.push(a)}else i=t;else i=this.toD||[];this.elem.attr("d",i,void 0,!0)},e.prototype.update=function(){var t=this.elem,e=this.prop,i=this.now,o=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,i,null,!0):t.style[e]=i+this.unit,o&&o.call(t,i,this)},e.prototype.run=function(e,o,r){var n=this,s=n.options,a=function(t){return!a.stopped&&n.step(t)},h=i.requestAnimationFrame||function(t){setTimeout(t,13)},l=function(){for(var e=0;e<t.timers.length;e++)t.timers[e]()||t.timers.splice(e--,1);t.timers.length&&h(l)};e!==o||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=e,this.end=o,this.unit=r,this.now=this.start,this.pos=0,a.elem=this.elem,a.prop=this.prop,a()&&1===t.timers.push(a)&&h(l)):(delete s.curAnim[this.prop],s.complete&&0===Object.keys(s.curAnim).length&&s.complete.call(this.elem))},e.prototype.step=function(t){var e=+new Date,i=this.options,o=this.elem,n=i.complete,s=i.duration,a=i.curAnim;if(o.attr&&!o.element)t=!1;else if(t||e>=s+this.startTime){this.now=this.end,this.pos=1,this.update();var h=a[this.prop]=!0;r(a,(function(t){!0!==t&&(h=!1)})),h&&n&&n.call(o),t=!1}else this.pos=i.easing((e-this.startTime)/s),this.now=this.start+(this.end-this.start)*this.pos,this.update(),t=!0;return t},e.prototype.initPath=function(t,e,i){function r(t,e){for(;t.length<p;){var i=t[0],o=e[p-t.length];o&&"M"===i[0]&&(t[0]="C"===o[0]?["C",i[1],i[2],i[1],i[2],i[1],i[2]]:["L",i[1],i[2]]),t.unshift(i),h&&t.push(t[t.length-1])}}function n(t,e){for(;t.length<p;)if(e=t[t.length/l-1].slice(),"C"===e[0]&&(e[1]=e[5],e[2]=e[6]),h){var i=t[t.length/l].slice();t.splice(t.length/2,0,e,i)}else t.push(e)}var s=t.startX,a=t.endX;e=e&&e.slice(),i=i.slice();var h=t.isArea,l=h?2:1;if(!e)return[i,i];if(s&&a){for(t=0;t<s.length;t++){if(s[t]===a[0]){var c=t;break}if(s[0]===a[a.length-s.length+t]){c=t;var d=!0;break}if(s[s.length-1]===a[a.length-s.length+t]){c=s.length-t;break}}"undefined"===typeof c&&(e=[])}if(e.length&&o(c)){var p=i.length+c*l;d?(r(e,i),n(i,e)):(r(i,e),n(e,i))}return[e,i]},e.prototype.fillSetter=function(){e.prototype.strokeSetter.apply(this,arguments)},e.prototype.strokeSetter=function(){this.elem.attr(this.prop,t.color(this.start).tweenTo(t.color(this.end),this.pos),null,!0)},e}(),t.Fx=e})),e(i,"Core/Animation/AnimationUtilities.js",[i["Core/Animation/Fx.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,i){var o=i.defined,r=i.getStyle,n=i.isArray,s=i.isNumber,a=i.isObject,h=i.merge,l=i.objectEach,c=i.pick;i=e.setAnimation=function(t,e){e.renderer.globalAnimation=c(t,e.options.chart.animation,!0)};var d=e.animObject=function(t){return a(t)?e.merge({duration:500,defer:0},t):{duration:t?500:0,defer:0}},p=e.getDeferredAnimation=function(t,e,i){var r=d(e),n=0,s=0;return(i?[i]:t.series).forEach((function(t){t=d(t.options.animation),n=e&&o(e.defer)?r.defer:Math.max(n,t.duration+t.defer),s=Math.min(r.duration,t.duration)})),t.renderer.forExport&&(n=0),{defer:Math.max(0,n-s),duration:Math.min(n,s)}},u=e.animate=function(e,i,o){var c,d,p,u="";if(!a(o)){var g=arguments;o={duration:g[2],easing:g[3],complete:g[4]}}s(o.duration)||(o.duration=400),o.easing="function"===typeof o.easing?o.easing:Math[o.easing]||Math.easeInOutSine,o.curAnim=h(i),l(i,(function(s,a){f(e,a),p=new t(e,o,a),d=null,"d"===a&&n(i.d)?(p.paths=p.initPath(e,e.pathArray,i.d),p.toD=i.d,c=0,d=1):e.attr?c=e.attr(a):(c=parseFloat(r(e,a))||0,"opacity"!==a&&(u="px")),d||(d=s),d&&d.match&&d.match("px")&&(d=d.replace(/px/g,"")),p.run(c,d,u)}))},f=e.stop=function(t,i){for(var o=e.timers.length;o--;)e.timers[o].elem!==t||i&&i!==e.timers[o].prop||(e.timers[o].stopped=!0)};return{animate:u,animObject:d,getDeferredAnimation:p,setAnimation:i,stop:f}})),e(i,"Core/Renderer/SVG/SVGElement.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,i,o){var r=t.animate,n=t.animObject,s=t.stop,a=i.deg2rad,h=i.doc,l=i.hasTouch,c=i.isFirefox,d=i.noop,p=i.svg,u=i.SVG_NS,f=i.win,g=o.attr,y=o.createElement,m=o.css,v=o.defined,x=o.erase,b=o.extend,S=o.fireEvent,k=o.isArray,w=o.isFunction,C=o.isNumber,M=o.isString,O=o.merge,A=o.objectEach,P=o.pick,T=o.pInt,L=o.syncTimeout,E=o.uniqueKey;return t=function(){function t(){this.height=this.element=void 0,this.opacity=1,this.renderer=void 0,this.SVG_NS=u,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" "),this.width=void 0}return t.prototype._defaultGetter=function(t){return t=P(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0),/^[\-0-9\.]+$/.test(t)&&(t=parseFloat(t)),t},t.prototype._defaultSetter=function(t,e,i){i.setAttribute(e,t)},t.prototype.add=function(t){var e=this.renderer,i=this.element;if(t&&(this.parentGroup=t),this.parentInverted=t&&t.inverted,"undefined"!==typeof this.textStr&&"text"===this.element.nodeName&&e.buildText(this),this.added=!0,!t||t.handleZ||this.zIndex)var o=this.zIndexSetter();return o||(t?t.element:e.box).appendChild(i),this.onAdd&&this.onAdd(),this},t.prototype.addClass=function(t,e){var i=e?"":this.attr("class")||"";return t=(t||"").split(/ /g).reduce((function(t,e){return-1===i.indexOf(e)&&t.push(e),t}),i?[i]:[]).join(" "),t!==i&&this.attr("class",t),this},t.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},t.prototype.align=function(t,e,i){var o,r,n,s={},a=this.renderer,h=a.alignedObjects;t?(this.alignOptions=t,this.alignByTranslate=e,(!i||M(i))&&(this.alignTo=o=i||"renderer",x(h,this),h.push(this),i=void 0)):(t=this.alignOptions,e=this.alignByTranslate,o=this.alignTo),i=P(i,a[o],a),o=t.align,a=t.verticalAlign,h=(i.x||0)+(t.x||0);var l=(i.y||0)+(t.y||0);return"right"===o?r=1:"center"===o&&(r=2),r&&(h+=(i.width-(t.width||0))/r),s[e?"translateX":"x"]=Math.round(h),"bottom"===a?n=1:"middle"===a&&(n=2),n&&(l+=(i.height-(t.height||0))/n),s[e?"translateY":"y"]=Math.round(l),this[this.placed?"animate":"attr"](s),this.placed=!0,this.alignAttr=s,this},t.prototype.alignSetter=function(t){var e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))},t.prototype.animate=function(t,e,i){var o=this,s=n(P(e,this.renderer.globalAnimation,!0));return e=s.defer,P(h.hidden,h.msHidden,h.webkitHidden,!1)&&(s.duration=0),0!==s.duration?(i&&(s.complete=i),L((function(){o.element&&r(o,t,s)}),e)):(this.attr(t,void 0,i),A(t,(function(t,e){s.step&&s.step.call(this,t,{prop:e,pos:1})}),this)),this},t.prototype.applyTextOutline=function(t){var e,o=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(o.style.fill))),t=t.split(" ");var r=t[t.length-1];if((e=t[0])&&"none"!==e&&i.svg){this.fakeTS=!0,t=[].slice.call(o.getElementsByTagName("tspan")),this.ySetter=this.xSetter,e=e.replace(/(^[\d\.]+)(.*?)$/g,(function(t,e,i){return 2*e+i})),this.removeTextOutline(t);var n=!!o.textContent&&/^[\u0591-\u065F\u066A-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC]/.test(o.textContent),s=o.firstChild;t.forEach((function(t,i){0===i&&(t.setAttribute("x",o.getAttribute("x")),i=o.getAttribute("y"),t.setAttribute("y",i||0),null===i&&o.setAttribute("y",0)),i=t.cloneNode(!0),g(n&&!c?t:i,{class:"highcharts-text-outline",fill:r,stroke:r,"stroke-width":e,"stroke-linejoin":"round"}),o.insertBefore(i,s)})),n&&c&&t[0]&&(t=t[0].cloneNode(!0),t.textContent=" ",o.insertBefore(t,s))}},t.prototype.attr=function(t,e,i,o){var r,n,a,h=this.element,l=this,c=this.symbolCustomAttribs;if("string"===typeof t&&"undefined"!==typeof e){var d=t;t={},t[d]=e}return"string"===typeof t?l=(this[t+"Getter"]||this._defaultGetter).call(this,t,h):(A(t,(function(e,i){n=!1,o||s(this,i),this.symbolName&&-1!==c.indexOf(i)&&(r||(this.symbolAttr(t),r=!0),n=!0),!this.rotation||"x"!==i&&"y"!==i||(this.doTransform=!0),n||(a=this[i+"Setter"]||this._defaultSetter,a.call(this,e,i,h),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(i)&&this.updateShadows(i,e,a))}),this),this.afterSetters()),i&&i.call(this),l},t.prototype.clip=function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},t.prototype.crisp=function(t,e){e=e||t.strokeWidth||0;var i=Math.round(e)%2/2;return t.x=Math.floor(t.x||this.x||0)+i,t.y=Math.floor(t.y||this.y||0)+i,t.width=Math.floor((t.width||this.width||0)-2*i),t.height=Math.floor((t.height||this.height||0)-2*i),v(t.strokeWidth)&&(t.strokeWidth=e),t},t.prototype.complexColor=function(t,i,o){var r,n,s,a,h,l,c,d,p,u,f,g=this.renderer,y=[];S(this.renderer,"complexColor",{args:arguments},(function(){if(t.radialGradient?n="radialGradient":t.linearGradient&&(n="linearGradient"),n){if(s=t[n],h=g.gradients,l=t.stops,p=o.radialReference,k(s)&&(t[n]=s={x1:s[0],y1:s[1],x2:s[2],y2:s[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===n&&p&&!v(s.gradientUnits)&&(a=s,s=O(s,g.getRadialAttr(p,a),{gradientUnits:"userSpaceOnUse"})),A(s,(function(t,e){"id"!==e&&y.push(e,t)})),A(l,(function(t){y.push(t)})),y=y.join(","),h[y])u=h[y].attr("id");else{s.id=u=E();var m=h[y]=g.createElement(n).attr(s).add(g.defs);m.radAttr=a,m.stops=[],l.forEach((function(t){0===t[1].indexOf("rgba")?(r=e.parse(t[1]),c=r.get("rgb"),d=r.get("a")):(c=t[1],d=1),t=g.createElement("stop").attr({offset:t[0],"stop-color":c,"stop-opacity":d}).add(m),m.stops.push(t)}))}f="url("+g.url+"#"+u+")",o.setAttribute(i,f),o.gradient=y,t.toString=function(){return f}}}))},t.prototype.css=function(t){var e=this.styles,i={},o=this.element,r="",n=!e,s=["textOutline","textOverflow","width"];if(t&&t.color&&(t.fill=t.color),e&&A(t,(function(t,o){e&&e[o]!==t&&(i[o]=t,n=!0)})),n){if(e&&(t=b(e,i)),t)if(null===t.width||"auto"===t.width)delete this.textWidth;else if("text"===o.nodeName.toLowerCase()&&t.width)var a=this.textWidth=T(t.width);if(this.styles=t,a&&!p&&this.renderer.forExport&&delete t.width,o.namespaceURI===this.SVG_NS){var h=function(t,e){return"-"+e.toLowerCase()};A(t,(function(t,e){-1===s.indexOf(e)&&(r+=e.replace(/([A-Z])/g,h)+":"+t+";")})),r&&g(o,"style",r)}else m(o,t);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t&&t.textOutline&&this.applyTextOutline(t.textOutline))}return this},t.prototype.dashstyleSetter=function(t){var e=this["stroke-width"];if("inherit"===e&&(e=1),t=t&&t.toLowerCase()){var i=t.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(t=i.length;t--;)i[t]=""+T(i[t])*P(e,NaN);t=i.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},t.prototype.destroy=function(){var t=this,e=t.element||{},i=t.renderer,o=i.isSVG&&"SPAN"===e.nodeName&&t.parentGroup||void 0,r=e.ownerSVGElement;if(e.onclick=e.onmouseout=e.onmouseover=e.onmousemove=e.point=null,s(t),t.clipPath&&r){var n=t.clipPath;[].forEach.call(r.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(t){-1<t.getAttribute("clip-path").indexOf(n.element.id)&&t.removeAttribute("clip-path")})),t.clipPath=n.destroy()}if(t.stops){for(r=0;r<t.stops.length;r++)t.stops[r].destroy();t.stops.length=0,t.stops=void 0}for(t.safeRemoveChild(e),i.styledMode||t.destroyShadows();o&&o.div&&0===o.div.childNodes.length;)e=o.parentGroup,t.safeRemoveChild(o.div),delete o.div,o=e;t.alignTo&&x(i.alignedObjects,t),A(t,(function(e,i){t[i]&&t[i].parentGroup===t&&t[i].destroy&&t[i].destroy(),delete t[i]}))},t.prototype.destroyShadows=function(){(this.shadows||[]).forEach((function(t){this.safeRemoveChild(t)}),this),this.shadows=void 0},t.prototype.destroyTextPath=function(t,e){var i=t.getElementsByTagName("text")[0];if(i){if(i.removeAttribute("dx"),i.removeAttribute("dy"),e.element.setAttribute("id",""),this.textPathWrapper&&i.getElementsByTagName("textPath").length){for(t=this.textPathWrapper.element.childNodes;t.length;)i.appendChild(t[0]);i.removeChild(this.textPathWrapper.element)}}else(t.getAttribute("dx")||t.getAttribute("dy"))&&(t.removeAttribute("dx"),t.removeAttribute("dy"));this.textPathWrapper&&(this.textPathWrapper=this.textPathWrapper.destroy())},t.prototype.dSetter=function(t,e,i){k(t)&&("string"===typeof t[0]&&(t=this.renderer.pathToSegments(t)),this.pathArray=t,t=t.reduce((function(t,e,i){return e&&e.join?(i?t+" ":"")+e.join(" "):(e||"").toString()}),"")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),this[e]!==t&&(i.setAttribute(e,t),this[e]=t)},t.prototype.fadeOut=function(t){var e=this;e.animate({opacity:0},{duration:P(t,150),complete:function(){e.attr({y:-9999}).hide()}})},t.prototype.fillSetter=function(t,e,i){"string"===typeof t?i.setAttribute(e,t):t&&this.complexColor(t,e,i)},t.prototype.getBBox=function(e,i){var o,r=this.renderer,n=this.element,s=this.styles,h=this.textStr,l=r.cache,c=r.cacheKeys,d=n.namespaceURI===this.SVG_NS;i=P(i,this.rotation,0);var p=r.styledMode?n&&t.prototype.getStyle.call(n,"font-size"):s&&s.fontSize;if(v(h)){var u=h.toString();-1===u.indexOf("<")&&(u=u.replace(/[0-9]/g,"0")),u+=["",i,p,this.textWidth,s&&s.textOverflow,s&&s.fontWeight].join()}if(u&&!e&&(o=l[u]),!o){if(d||r.forExport){try{var f=this.fakeTS&&function(t){[].forEach.call(n.querySelectorAll(".highcharts-text-outline"),(function(e){e.style.display=t}))};w(f)&&f("none"),o=n.getBBox?b({},n.getBBox()):{width:n.offsetWidth,height:n.offsetHeight},w(f)&&f("")}catch(g){}(!o||0>o.width)&&(o={width:0,height:0})}else o=this.htmlGetBBox();if(r.isSVG&&(e=o.width,r=o.height,d&&(o.height=r={"11px,17":14,"13px,20":16}[s&&s.fontSize+","+Math.round(r)]||r),i&&(s=i*a,o.width=Math.abs(r*Math.sin(s))+Math.abs(e*Math.cos(s)),o.height=Math.abs(r*Math.cos(s))+Math.abs(e*Math.sin(s)))),u&&0<o.height){for(;250<c.length;)delete l[c.shift()];l[u]||c.push(u),l[u]=o}}return o},t.prototype.getStyle=function(t){return f.getComputedStyle(this.element||this,"").getPropertyValue(t)},t.prototype.hasClass=function(t){return-1!==(""+this.attr("class")).split(" ").indexOf(t)},t.prototype.hide=function(t){return t?this.attr({y:-9999}):this.attr({visibility:"hidden"}),this},t.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}},t.prototype.init=function(t,e){this.element="span"===e?y(e):h.createElementNS(this.SVG_NS,e),this.renderer=t,S(this,"afterInit")},t.prototype.invert=function(t){return this.inverted=t,this.updateTransform(),this},t.prototype.on=function(t,e){var i,o,r,n=this.element;return l&&"click"===t?(n.ontouchstart=function(t){i=t.touches[0].clientX,o=t.touches[0].clientY},n.ontouchend=function(t){i&&4<=Math.sqrt(Math.pow(i-t.changedTouches[0].clientX,2)+Math.pow(o-t.changedTouches[0].clientY,2))||e.call(n,t),r=!0,!1!==t.cancelable&&t.preventDefault()},n.onclick=function(t){r||e.call(n,t)}):n["on"+t]=e,this},t.prototype.opacitySetter=function(t,e,i){this.opacity=t=Number(Number(t).toFixed(3)),i.setAttribute(e,t)},t.prototype.removeClass=function(t){return this.attr("class",(""+this.attr("class")).replace(M(t)?new RegExp("(^| )"+t+"( |$)"):t," ").replace(/ +/g," ").trim())},t.prototype.removeTextOutline=function(t){for(var e,i=t.length;i--;)e=t[i],"highcharts-text-outline"===e.getAttribute("class")&&x(t,this.element.removeChild(e))},t.prototype.safeRemoveChild=function(t){var e=t.parentNode;e&&e.removeChild(t)},t.prototype.setRadialReference=function(t){var e=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=t,e&&e.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this},t.prototype.setTextPath=function(t,e){var i=this.element,o={textAnchor:"text-anchor"},r=!1,n=this.textPathWrapper,s=!n;e=O(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},e);var a=e.attributes;if(t&&e&&e.enabled){n&&null===n.element.parentNode?(s=!0,n=n.destroy()):n&&this.removeTextOutline.call(n.parentGroup,[].slice.call(i.getElementsByTagName("tspan"))),this.options&&this.options.padding&&(a.dx=-this.options.padding),n||(this.textPathWrapper=n=this.renderer.createElement("textPath"),r=!0);var h=n.element;if((e=t.element.getAttribute("id"))||t.element.setAttribute("id",e=E()),s)for(t=i.getElementsByTagName("tspan");t.length;)t[0].setAttribute("y",0),C(a.dx)&&t[0].setAttribute("x",-a.dx),h.appendChild(t[0]);r&&n&&n.add({element:this.text?this.text.element:i}),h.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+e),v(a.dy)&&(h.parentNode.setAttribute("dy",a.dy),delete a.dy),v(a.dx)&&(h.parentNode.setAttribute("dx",a.dx),delete a.dx),A(a,(function(t,e){h.setAttribute(o[e]||e,t)})),i.removeAttribute("transform"),this.removeTextOutline.call(n,[].slice.call(i.getElementsByTagName("tspan"))),this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0}),this.applyTextOutline=this.updateTransform=d}else n&&(delete this.updateTransform,delete this.applyTextOutline,this.destroyTextPath(i,t),this.updateTransform(),this.options&&this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this},t.prototype.shadow=function(t,e,i){var o,r=[],n=this.element,s=!1,a=this.oldShadowOptions,h={color:"#000000",offsetX:1,offsetY:1,opacity:.15,width:3};if(!0===t?o=h:"object"===typeof t&&(o=b(h,t)),o&&(o&&a&&A(o,(function(t,e){t!==a[e]&&(s=!0)})),s&&this.destroyShadows(),this.oldShadowOptions=o),o){if(!this.shadows){var l=o.opacity/o.width,c=this.parentInverted?"translate(-1,-1)":"translate("+o.offsetX+", "+o.offsetY+")";for(h=1;h<=o.width;h++){var d=n.cloneNode(!1),p=2*o.width+1-2*h;g(d,{stroke:t.color||"#000000","stroke-opacity":l*h,"stroke-width":p,transform:c,fill:"none"}),d.setAttribute("class",(d.getAttribute("class")||"")+" highcharts-shadow"),i&&(g(d,"height",Math.max(g(d,"height")-p,0)),d.cutHeight=p),e?e.element.appendChild(d):n.parentNode&&n.parentNode.insertBefore(d,n),r.push(d)}this.shadows=r}}else this.destroyShadows();return this},t.prototype.show=function(t){return this.attr({visibility:t?"inherit":"visible"})},t.prototype.strokeSetter=function(e,i,o){this[i]=e,this.stroke&&this["stroke-width"]?(t.prototype.fillSetter.call(this,this.stroke,"stroke",o),o.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===i&&0===e&&this.hasStroke?(o.removeAttribute("stroke"),this.hasStroke=!1):this.renderer.styledMode&&this["stroke-width"]&&(o.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0)},t.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var t=this.getStyle("stroke-width"),e=0;if(t.indexOf("px")===t.length-2)e=T(t);else if(""!==t){var i=h.createElementNS(u,"rect");g(i,{width:t,"stroke-width":0}),this.element.parentNode.appendChild(i),e=i.getBBox().width,i.parentNode.removeChild(i)}return e},t.prototype.symbolAttr=function(t){var e=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach((function(i){e[i]=P(t[i],e[i])})),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})},t.prototype.textSetter=function(t){t!==this.textStr&&(delete this.textPxLength,this.textStr=t,this.added&&this.renderer.buildText(this))},t.prototype.titleSetter=function(t){var e=this.element.getElementsByTagName("title")[0];e||(e=h.createElementNS(this.SVG_NS,"title"),this.element.appendChild(e)),e.firstChild&&e.removeChild(e.firstChild),e.appendChild(h.createTextNode(String(P(t,"")).replace(/<[^>]*>/g,"").replace(/</g,"<").replace(/>/g,">")))},t.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},t.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},t.prototype.updateShadows=function(t,e,i){var o=this.shadows;if(o)for(var r=o.length;r--;)i.call(o[r],"height"===t?Math.max(e-(o[r].cutHeight||0),0):"d"===t?this.d:e,t,o[r])},t.prototype.updateTransform=function(){var t=this.translateX||0,e=this.translateY||0,i=this.scaleX,o=this.scaleY,r=this.inverted,n=this.rotation,s=this.matrix,a=this.element;r&&(t+=this.width,e+=this.height),t=["translate("+t+","+e+")"],v(s)&&t.push("matrix("+s.join(",")+")"),r?t.push("rotate(90) scale(-1,1)"):n&&t.push("rotate("+n+" "+P(this.rotationOriginX,a.getAttribute("x"),0)+" "+P(this.rotationOriginY,a.getAttribute("y")||0)+")"),(v(i)||v(o))&&t.push("scale("+P(i,1)+" "+P(o,1)+")"),t.length&&a.setAttribute("transform",t.join(" "))},t.prototype.visibilitySetter=function(t,e,i){"inherit"===t?i.removeAttribute(e):this[e]!==t&&i.setAttribute(e,t),this[e]=t},t.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},t.prototype.zIndexSetter=function(t,e){var i=this.renderer,o=this.parentGroup,r=(o||i).element||i.box,n=this.element,s=!1;i=r===i.box;var a,h=this.added;if(v(t)?(n.setAttribute("data-z-index",t),t=+t,this[e]===t&&(h=!1)):v(this[e])&&n.removeAttribute("data-z-index"),this[e]=t,h){for((t=this.zIndex)&&o&&(o.handleZ=!0),e=r.childNodes,a=e.length-1;0<=a&&!s;a--){o=e[a],h=o.getAttribute("data-z-index");var l=!v(h);o!==n&&(0>t&&l&&!i&&!a?(r.insertBefore(n,e[a]),s=!0):(T(h)<=t||l&&(!v(t)||0<=t))&&(r.insertBefore(n,e[a+1]||null),s=!0))}s||(r.insertBefore(n,e[i?3:0]||null),s=!0)}return s},t}(),t.prototype["stroke-widthSetter"]=t.prototype.strokeSetter,t.prototype.yGetter=t.prototype.xGetter,t.prototype.matrixSetter=t.prototype.rotationOriginXSetter=t.prototype.rotationOriginYSetter=t.prototype.rotationSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},i.SVGElement=t,i.SVGElement})),e(i,"Core/Renderer/SVG/SVGLabel.js",[i["Core/Renderer/SVG/SVGElement.js"],i["Core/Utilities.js"]],(function(t,e){var i=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),o=e.defined,r=e.extend,n=e.isNumber,s=e.merge,a=e.removeEvent;return function(e){function h(t,i,o,r,n,s,a,l,c,d){var p=e.call(this)||this;if(p.init(t,"g"),p.textStr=i,p.x=o,p.y=r,p.anchorX=s,p.anchorY=a,p.baseline=c,p.className=d,"button"!==d&&p.addClass("highcharts-label"),d&&p.addClass("highcharts-"+d),p.text=t.text("",0,0,l).attr({zIndex:1}),"string"===typeof n){var u=/^url\((.*?)\)$/.test(n);(p.renderer.symbols[n]||u)&&(p.symbolKey=n)}return p.bBox=h.emptyBBox,p.padding=3,p.paddingLeft=0,p.baselineOffset=0,p.needsBox=t.styledMode||u,p.deferredAttr={},p.alignFactor=0,p}return i(h,e),h.prototype.alignSetter=function(t){t={left:0,center:.5,right:1}[t],t!==this.alignFactor&&(this.alignFactor=t,this.bBox&&n(this.xSetting)&&this.attr({x:this.xSetting}))},h.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},h.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},h.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},h.prototype.css=function(e){if(e){var i={};e=s(e),h.textProps.forEach((function(t){"undefined"!==typeof e[t]&&(i[t]=e[t],delete e[t])})),this.text.css(i);var o="fontSize"in i||"fontWeight"in i;("width"in i||o)&&(this.updateBoxSize(),o&&this.updateTextPadding())}return t.prototype.css.call(this,e)},h.prototype.destroy=function(){a(this.element,"mouseenter"),a(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)},h.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},h.prototype.getBBox=function(){var t=this.bBox,e=this.padding;return{width:t.width+2*e,height:t.height+2*e,x:t.x-e,y:t.y-e}},h.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},h.prototype.heightSetter=function(t){this.heightSetting=t},h.prototype.on=function(e,i){var o=this,r=o.text,n=r&&"SPAN"===r.element.tagName?r:void 0;if(n){var s=function(t){("mouseenter"===e||"mouseleave"===e)&&t.relatedTarget instanceof Element&&(o.element.contains(t.relatedTarget)||n.element.contains(t.relatedTarget))||i.call(o.element,t)};n.on(e,s)}return t.prototype.on.call(o,e,s||i),o},h.prototype.onAdd=function(){var t=this.textStr;this.text.add(this),this.attr({text:o(t)?t:"",x:this.x,y:this.y}),this.box&&o(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},h.prototype.paddingSetter=function(t){o(t)&&t!==this.padding&&(this.padding=t,this.updateTextPadding())},h.prototype.paddingLeftSetter=function(t){o(t)&&t!==this.paddingLeft&&(this.paddingLeft=t,this.updateTextPadding())},h.prototype.rSetter=function(t,e){this.boxAttr(e,t)},h.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},h.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},h.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},h.prototype["text-alignSetter"]=function(t){this.textAlign=t},h.prototype.textSetter=function(t){"undefined"!==typeof t&&this.text.attr({text:t}),this.updateBoxSize(),this.updateTextPadding()},h.prototype.updateBoxSize=function(){var t=this.text.element.style,e={},i=this.padding,s=this.paddingLeft,a=n(this.widthSetting)&&n(this.heightSetting)&&!this.textAlign||!o(this.text.textStr)?h.emptyBBox:this.text.getBBox();this.width=(this.widthSetting||a.width||0)+2*i+s,this.height=(this.heightSetting||a.height||0)+2*i,this.baselineOffset=i+Math.min(this.renderer.fontMetrics(t&&t.fontSize,this.text).b,a.height||1/0),this.needsBox&&(this.box||(t=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect(),t.addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),t.add(this),t=this.getCrispAdjust(),e.x=t,e.y=(this.baseline?-this.baselineOffset:0)+t),e.width=Math.round(this.width),e.height=Math.round(this.height),this.box.attr(r(e,this.deferredAttr)),this.deferredAttr={}),this.bBox=a},h.prototype.updateTextPadding=function(){var t=this.text,e=this.baseline?0:this.baselineOffset,i=this.paddingLeft+this.padding;o(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(i+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),i===t.x&&e===t.y||(t.attr("x",i),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0),this.updateBoxSize()),"undefined"!==typeof e&&t.attr("y",e)),t.x=i,t.y=e},h.prototype.widthSetter=function(t){this.widthSetting=n(t)?t:void 0},h.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*((this.widthSetting||this.bBox.width)+2*this.padding),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},h.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},h.emptyBBox={width:0,height:0,x:0,y:0},h.textProps="color cursor direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),h}(t)})),e(i,"Core/Renderer/SVG/SVGRenderer.js",[i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Renderer/SVG/SVGLabel.js"],i["Core/Utilities.js"]],(function(t,e,i,o,r){var n=r.addEvent,s=r.attr,a=r.createElement,h=r.css,l=r.defined,c=r.destroyObjectProperties,d=r.extend,p=r.isArray,u=r.isNumber,f=r.isObject,g=r.isString,y=r.merge,m=r.objectEach,v=r.pick,x=r.pInt,b=r.splat,S=r.uniqueKey,k=e.charts,w=e.deg2rad,C=e.doc,M=e.isFirefox,O=e.isMS,A=e.isWebKit;r=e.noop;var P=e.svg,T=e.SVG_NS,L=e.symbolSizes,E=e.win,j=function(){function e(t,e,i,o,r,n,s){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0,this.init(t,e,i,o,r,n,s)}return e.prototype.init=function(t,e,i,o,r,a,l){var c,d=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"});l||d.css(this.getStyle(o)),o=d.element,t.appendChild(o),s(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&s(o,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=o,this.boxWrapper=d,this.alignedObjects=[],this.url=(M||A)&&C.getElementsByTagName("base").length?E.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20"):"",this.createElement("desc").add().element.appendChild(C.createTextNode("Created with Highcharts 8.2.2")),this.defs=this.createElement("defs").add(),this.allowHTML=a,this.forExport=r,this.styledMode=l,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,i,!1),M&&t.getBoundingClientRect&&(e=function(){h(t,{left:0,top:0}),c=t.getBoundingClientRect(),h(t,{left:Math.ceil(c.left)-c.left+"px",top:Math.ceil(c.top)-c.top+"px"})},e(),this.unSubPixelFix=n(E,"resize",e))},e.prototype.definition=function(t){function e(t,o){var r;return b(t).forEach((function(t){var n=i.createElement(t.tagName),s={};m(t,(function(t,e){"tagName"!==e&&"children"!==e&&"textContent"!==e&&(s[e]=t)})),n.attr(s),n.add(o||i.defs),t.textContent&&n.element.appendChild(C.createTextNode(t.textContent)),e(t.children||[],n),r=n})),r}var i=this;return e(t)},e.prototype.getStyle=function(t){return this.style=d({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},e.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},e.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},e.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),c(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},e.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},e.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+e.cx*t[2],cy:t[1]-t[2]/2+e.cy*t[2],r:e.r*t[2]}},e.prototype.truncate=function(t,e,i,o,r,n,s){var a,h,l=this,c=t.rotation,d=o?1:0,p=(i||o).length,u=p,f=[],g=function(t){e.firstChild&&e.removeChild(e.firstChild),t&&e.appendChild(C.createTextNode(t))},y=function(n,a){if(a=a||n,"undefined"===typeof f[a])if(e.getSubStringLength)try{f[a]=r+e.getSubStringLength(0,o?a+1:a)}catch(h){}else l.getSpanWidth&&(g(s(i||o,n)),f[a]=r+l.getSpanWidth(t,e));return f[a]};t.rotation=0;var m=y(e.textContent.length);if(h=r+m>n){for(;d<=p;)u=Math.ceil((d+p)/2),o&&(a=s(o,u)),m=y(u,a&&a.length-1),d===p?d=p+1:m>n?p=u-1:d=u;0===p?g(""):i&&p===i.length-1||g(a||s(i||o,u))}return o&&o.splice(0,u),t.actualWidth=m,t.rotation=c,h},e.prototype.buildText=function(t){var e,i,o=t.element,r=this,n=r.forExport,a=v(t.textStr,"").toString(),l=-1!==a.indexOf("<"),c=o.childNodes,d=s(o,"x"),p=t.styles,u=t.textWidth,f=p&&p.lineHeight,y=p&&p.textOutline,b=p&&"ellipsis"===p.textOverflow,S=p&&"nowrap"===p.whiteSpace,k=p&&p.fontSize,w=c.length;p=u&&!t.added&&this.box;var M=function(t){var e;return r.styledMode||(e=/(px|em)$/.test(t&&t.style.fontSize)?t.style.fontSize:k||r.style.fontSize||12),f?x(f):r.fontMetrics(e,t.getAttribute("style")?t:o).h},O=function(t,e){return m(r.escapes,(function(i,o){e&&-1!==e.indexOf(i)||(t=t.toString().replace(new RegExp(i,"g"),o))})),t},A=function(t,e){var i=t.indexOf("<");if(t=t.substring(i,t.indexOf(">")-i),i=t.indexOf(e+"="),-1!==i&&(i=i+e.length+1,e=t.charAt(i),'"'===e||"'"===e))return t=t.substring(i+1),t.substring(0,t.indexOf(e))},L=/<br.*?>/g,E=[a,b,S,f,y,k,u].join();if(E!==t.textCache){for(t.textCache=E;w--;)o.removeChild(c[w]);l||y||b||u||-1!==a.indexOf(" ")&&(!S||L.test(a))?(p&&p.appendChild(o),l?(a=r.styledMode?a.replace(/<(b|strong)>/g,'<span class="highcharts-strong">').replace(/<(i|em)>/g,'<span class="highcharts-emphasized">'):a.replace(/<(b|strong)>/g,'<span style="font-weight:bold">').replace(/<(i|em)>/g,'<span style="font-style:italic">'),a=a.replace(/<a/g,"<span").replace(/<\/(b|strong|i|em|a)>/g,"</span>").split(L)):a=[a],a=a.filter((function(t){return""!==t})),a.forEach((function(a,l){var c=0,p=0;a=a.replace(/^\s+|\s+$/g,"").replace(/<span/g,"|||<span").replace(/<\/span>/g,"</span>|||");var f=a.split("|||");f.forEach((function(a){if(""!==a||1===f.length){var g,y,m={},v=C.createElementNS(r.SVG_NS,"tspan");if((g=A(a,"class"))&&s(v,"class",g),(g=A(a,"style"))&&(g=g.replace(/(;| |^)color([ :])/,"$1fill$2"),s(v,"style",g)),(y=A(a,"href"))&&!n&&-1===y.split(":")[0].toLowerCase().indexOf("javascript")){var x=C.createElementNS(r.SVG_NS,"a");s(x,"href",y),s(v,"class","highcharts-anchor"),x.appendChild(v),r.styledMode||h(v,{cursor:"pointer"})}if(a=O(a.replace(/<[a-zA-Z\/](.|\n)*?>/g,"")||" ")," "!==a){if(v.appendChild(C.createTextNode(a)),c?m.dx=0:l&&null!==d&&(m.x=d),s(v,m),o.appendChild(x||v),!c&&i&&(!P&&n&&h(v,{display:"block"}),s(v,"dy",M(v))),u){var w=a.replace(/([^\^])-/g,"$1- ").split(" ");if(m=!S&&(1<f.length||l||1<w.length),x=0,y=M(v),b)e=r.truncate(t,v,a,void 0,0,Math.max(0,u-parseInt(k||12,10)),(function(t,e){return t.substring(0,e)+"…"}));else if(m)for(;w.length;)w.length&&!S&&0<x&&(v=C.createElementNS(T,"tspan"),s(v,{dy:y,x:d}),g&&s(v,"style",g),v.appendChild(C.createTextNode(w.join(" ").replace(/- /g,"-"))),o.appendChild(v)),r.truncate(t,v,null,w,0===x?p:0,u,(function(t,e){return w.slice(0,e).join(" ").replace(/- /g,"-")})),p=t.actualWidth,x++}c++}}})),i=i||o.childNodes.length})),b&&e&&t.attr("title",O(t.textStr||"",["<",">"])),p&&p.removeChild(o),g(y)&&t.applyTextOutline&&t.applyTextOutline(y)):o.appendChild(C.createTextNode(O(a)))}},e.prototype.getContrast=function(e){return e=t.parse(e).rgba,e[0]*=1,e[1]*=1.2,e[2]*=.5,459<e[0]+e[1]+e[2]?"#000000":"#FFFFFF"},e.prototype.button=function(t,e,i,o,r,s,a,h,l,c){var p=this.label(t,e,i,l,void 0,void 0,c,void 0,"button"),u=0,f=this.styledMode;if(t=(r=r?y(r):r)&&r.style||{},r&&r.style&&delete r.style,p.attr(y({padding:8,r:2},r)),!f){r=y({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontWeight:"normal"}},{style:t},r);var g=r.style;delete r.style,s=y(r,{fill:"#e6e6e6"},s);var m=s.style;delete s.style,a=y(r,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},a);var v=a.style;delete a.style,h=y(r,{style:{color:"#cccccc"}},h);var x=h.style;delete h.style}return n(p.element,O?"mouseover":"mouseenter",(function(){3!==u&&p.setState(1)})),n(p.element,O?"mouseout":"mouseleave",(function(){3!==u&&p.setState(u)})),p.setState=function(t){1!==t&&(p.state=u=t),p.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),f||p.attr([r,s,a,h][t||0]).css([g,m,v,x][t||0])},f||p.attr(r).css(d({cursor:"default"},g)),p.on("click",(function(t){3!==u&&o.call(p,t)}))},e.prototype.crispLine=function(t,e,i){void 0===i&&(i="round");var o=t[0],r=t[1];return o[1]===r[1]&&(o[1]=r[1]=Math[i](o[1])-e%2/2),o[2]===r[2]&&(o[2]=r[2]=Math[i](o[2])+e%2/2),t},e.prototype.path=function(t){var e=this.styledMode?{}:{fill:"none"};return p(t)?e.d=t:f(t)&&d(e,t),this.createElement("path").attr(e)},e.prototype.circle=function(t,e,i){return t=f(t)?t:"undefined"===typeof t?{}:{x:t,y:e,r:i},e=this.createElement("circle"),e.xSetter=e.ySetter=function(t,e,i){i.setAttribute("c"+e,t)},e.attr(t)},e.prototype.arc=function(t,e,i,o,r,n){return f(t)?(o=t,e=o.y,i=o.r,t=o.x):o={innerR:o,start:r,end:n},t=this.symbol("arc",t,e,i,i,o),t.r=i,t},e.prototype.rect=function(t,e,i,o,r,n){r=f(t)?t.r:r;var a=this.createElement("rect");return t=f(t)?t:"undefined"===typeof t?{}:{x:t,y:e,width:Math.max(i,0),height:Math.max(o,0)},this.styledMode||("undefined"!==typeof n&&(t.strokeWidth=n,t=a.crisp(t)),t.fill="none"),r&&(t.r=r),a.rSetter=function(t,e,i){a.r=t,s(i,{rx:t,ry:t})},a.rGetter=function(){return a.r},a.attr(t)},e.prototype.setSize=function(t,e,i){var o=this.alignedObjects,r=o.length;for(this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:v(i,!0)?void 0:0});r--;)o[r].align()},e.prototype.g=function(t){var e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e},e.prototype.image=function(t,e,i,o,r,s){var a={preserveAspectRatio:"none"},h=function(t,e){t.setAttributeNS?t.setAttributeNS("http://www.w3.org/1999/xlink","href",e):t.setAttribute("hc-svg-href",e)},l=function(e){h(c.element,t),s.call(c,e)};1<arguments.length&&d(a,{x:e,y:i,width:o,height:r});var c=this.createElement("image").attr(a);return s?(h(c.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),a=new E.Image,n(a,"load",l),a.src=t,a.complete&&l({})):h(c.element,t),c},e.prototype.symbol=function(t,e,i,o,r,n){var s,c=this,p=/^url\((.*?)\)$/,u=p.test(t),f=!u&&(this.symbols[t]?t:"circle"),g=f&&this.symbols[f];if(g){"number"===typeof e&&(s=g.call(this.symbols,Math.round(e||0),Math.round(i||0),o||0,r||0,n));var y=this.path(s);c.styledMode||y.attr("fill","none"),d(y,{symbolName:f,x:e,y:i,width:o,height:r}),n&&d(y,n)}else if(u){var m=t.match(p)[1];y=this.image(m),y.imgwidth=v(L[m]&&L[m].width,n&&n.width),y.imgheight=v(L[m]&&L[m].height,n&&n.height);var x=function(){y.attr({width:y.width,height:y.height})};["width","height"].forEach((function(t){y[t+"Setter"]=function(t,e){var i={},o=this["img"+e],r="width"===e?"translateX":"translateY";this[e]=t,l(o)&&(n&&"within"===n.backgroundSize&&this.width&&this.height&&(o=Math.round(o*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(e,o),this.alignByTranslate||(i[r]=((this[e]||0)-o)/2,this.attr(i)))}})),l(e)&&y.attr({x:e,y:i}),y.isImg=!0,l(y.imgwidth)&&l(y.imgheight)?x():(y.attr({width:0,height:0}),a("img",{onload:function(){var t=k[c.chartIndex];0===this.width&&(h(this,{position:"absolute",top:"-999em"}),C.body.appendChild(this)),L[m]={width:this.width,height:this.height},y.imgwidth=this.width,y.imgheight=this.height,y.element&&x(),this.parentNode&&this.parentNode.removeChild(this),c.imgCount--,c.imgCount||!t||t.hasLoaded||t.onload()},src:m}),this.imgCount++)}return y},e.prototype.clipRect=function(t,e,i,o){var r=S()+"-",n=this.createElement("clipPath").attr({id:r}).add(this.defs);return t=this.rect(t,e,i,o,0).add(n),t.id=r,t.clipPath=n,t.count=0,t},e.prototype.text=function(t,e,i,o){var r={};return!o||!this.allowHTML&&this.forExport?(r.x=Math.round(e||0),i&&(r.y=Math.round(i)),l(t)&&(r.text=t),t=this.createElement("text").attr(r),o||(t.xSetter=function(t,e,i){var o,r=i.getElementsByTagName("tspan"),n=i.getAttribute(e);for(o=0;o<r.length;o++){var s=r[o];s.getAttribute(e)===n&&s.setAttribute(e,t)}i.setAttribute(e,t)}),t):this.html(t,e,i)},e.prototype.fontMetrics=function(t,e){return t=!this.styledMode&&/px/.test(t)||!E.getComputedStyle?t||e&&e.style&&e.style.fontSize||this.style&&this.style.fontSize:e&&i.prototype.getStyle.call(e,"font-size"),t=/px/.test(t)?x(t):12,e=24>t?t+3:Math.round(1.2*t),{h:e,b:Math.round(.8*e),f:t}},e.prototype.rotCorr=function(t,e,i){var o=t;return e&&i&&(o=Math.max(o*Math.cos(e*w),4)),{x:-t/3*Math.sin(e*w),y:o}},e.prototype.pathToSegments=function(t){for(var e=[],i=[],o={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},r=0;r<t.length;r++)g(i[0])&&u(t[r])&&i.length===o[i[0].toUpperCase()]&&t.splice(r,0,i[0].replace("M","L").replace("m","l")),"string"===typeof t[r]&&(i.length&&e.push(i.slice(0)),i.length=0),i.push(t[r]);return e.push(i.slice(0)),e},e.prototype.label=function(t,e,i,r,n,s,a,h,l){return new o(this,t,e,i,r,n,s,a,h,l)},e}();return j.prototype.Element=i,j.prototype.SVG_NS=T,j.prototype.draw=r,j.prototype.escapes={"&":"&","<":"<",">":">","'":"'",'"':"""},j.prototype.symbols={circle:function(t,e,i,o){return this.arc(t+i/2,e+o/2,i/2,o/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},square:function(t,e,i,o){return[["M",t,e],["L",t+i,e],["L",t+i,e+o],["L",t,e+o],["Z"]]},triangle:function(t,e,i,o){return[["M",t+i/2,e],["L",t+i,e+o],["L",t,e+o],["Z"]]},"triangle-down":function(t,e,i,o){return[["M",t,e],["L",t+i,e],["L",t+i/2,e+o],["Z"]]},diamond:function(t,e,i,o){return[["M",t+i/2,e],["L",t+i,e+o/2],["L",t+i/2,e+o],["L",t,e+o/2],["Z"]]},arc:function(t,e,i,o,r){var n=[];if(r){var s=r.start||0,a=r.end||0,h=r.r||i;i=r.r||o||i;var c=.001>Math.abs(a-s-2*Math.PI);a-=.001,o=r.innerR,c=v(r.open,c);var d=Math.cos(s),p=Math.sin(s),u=Math.cos(a),f=Math.sin(a);s=v(r.longArc,.001>a-s-Math.PI?0:1),n.push(["M",t+h*d,e+i*p],["A",h,i,0,s,v(r.clockwise,1),t+h*u,e+i*f]),l(o)&&n.push(c?["M",t+o*u,e+o*f]:["L",t+o*u,e+o*f],["A",o,o,0,s,l(r.clockwise)?1-r.clockwise:0,t+o*d,e+o*p]),c||n.push(["Z"])}return n},callout:function(t,e,i,o,r){var n=Math.min(r&&r.r||0,i,o),s=n+6,a=r&&r.anchorX||0;r=r&&r.anchorY||0;var h=[["M",t+n,e],["L",t+i-n,e],["C",t+i,e,t+i,e,t+i,e+n],["L",t+i,e+o-n],["C",t+i,e+o,t+i,e+o,t+i-n,e+o],["L",t+n,e+o],["C",t,e+o,t,e+o,t,e+o-n],["L",t,e+n],["C",t,e,t,e,t+n,e]];return a&&a>i?r>e+s&&r<e+o-s?h.splice(3,1,["L",t+i,r-6],["L",t+i+6,r],["L",t+i,r+6],["L",t+i,e+o-n]):h.splice(3,1,["L",t+i,o/2],["L",a,r],["L",t+i,o/2],["L",t+i,e+o-n]):a&&0>a?r>e+s&&r<e+o-s?h.splice(7,1,["L",t,r+6],["L",t-6,r],["L",t,r-6],["L",t,e+n]):h.splice(7,1,["L",t,o/2],["L",a,r],["L",t,o/2],["L",t,e+n]):r&&r>o&&a>t+s&&a<t+i-s?h.splice(5,1,["L",a+6,e+o],["L",a,e+o+6],["L",a-6,e+o],["L",t+n,e+o]):r&&0>r&&a>t+s&&a<t+i-s&&h.splice(1,1,["L",a-6,e],["L",a,e-6],["L",a+6,e],["L",i-n,e]),h}},e.SVGRenderer=j,e.Renderer=e.SVGRenderer,e.Renderer})),e(i,"Core/Renderer/HTML/HTMLElement.js",[i["Core/Globals.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Utilities.js"]],(function(t,e,i){var o=i.css,r=i.defined,n=i.extend,s=i.pick,a=i.pInt,h=t.isFirefox;return n(e.prototype,{htmlCss:function(t){var e="SPAN"===this.element.tagName&&t&&"width"in t,i=s(e&&t.width,void 0);if(e){delete t.width,this.textWidth=i;var r=!0}return t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=n(this.styles,t),o(this.element,t),r&&this.htmlUpdateTransform(),this},htmlGetBBox:function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},htmlUpdateTransform:function(){if(this.added){var t=this.renderer,e=this.element,i=this.translateX||0,n=this.translateY||0,s=this.x||0,h=this.y||0,l=this.textAlign||"left",c={left:0,center:.5,right:1}[l],d=this.styles,p=d&&d.whiteSpace;if(o(e,{marginLeft:i,marginTop:n}),!t.styledMode&&this.shadows&&this.shadows.forEach((function(t){o(t,{marginLeft:i+1,marginTop:n+1})})),this.inverted&&[].forEach.call(e.childNodes,(function(i){t.invertChild(i,e)})),"SPAN"===e.tagName){d=this.rotation;var u,f=this.textWidth&&a(this.textWidth),g=[d,l,e.innerHTML,this.textWidth,this.textAlign].join();(u=f!==this.oldTextWidth)&&!(u=f>this.oldTextWidth)&&((u=this.textPxLength)||(o(e,{width:"",whiteSpace:p||"nowrap"}),u=e.offsetWidth),u=u>f),u&&(/[ \-]/.test(e.textContent||e.innerText)||"ellipsis"===e.style.textOverflow)?(o(e,{width:f+"px",display:"block",whiteSpace:p||"normal"}),this.oldTextWidth=f,this.hasBoxWidthChanged=!0):this.hasBoxWidthChanged=!1,g!==this.cTT&&(p=t.fontMetrics(e.style.fontSize,e).b,!r(d)||d===(this.oldRotation||0)&&l===this.oldAlign||this.setSpanRotation(d,c,p),this.getSpanCorrection(!r(d)&&this.textPxLength||e.offsetWidth,p,c,d,l)),o(e,{left:s+(this.xCorr||0)+"px",top:h+(this.yCorr||0)+"px"}),this.cTT=g,this.oldRotation=d,this.oldAlign=l}}else this.alignOnAdd=!0},setSpanRotation:function(t,e,i){var r={},n=this.renderer.getTransformKey();r[n]=r.transform="rotate("+t+"deg)",r[n+(h?"Origin":"-origin")]=r.transformOrigin=100*e+"% "+i+"px",o(this.element,r)},getSpanCorrection:function(t,e,i){this.xCorr=-t*i,this.yCorr=-e}}),e})),e(i,"Core/Renderer/HTML/HTMLRenderer.js",[i["Core/Globals.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Renderer/SVG/SVGRenderer.js"],i["Core/Utilities.js"]],(function(t,e,i,o){var r=t.isFirefox,n=t.isMS,s=t.isWebKit,a=t.win,h=o.attr,l=o.createElement,c=o.extend,d=o.pick;return c(i.prototype,{getTransformKey:function(){return n&&!/Edge/.test(a.navigator.userAgent)?"-ms-transform":s?"-webkit-transform":r?"MozTransform":a.opera?"-o-transform":""},html:function(t,i,o){var r=this.createElement("span"),n=r.element,s=r.renderer,a=s.isSVG,p=function(t,i){["opacity","visibility"].forEach((function(o){t[o+"Setter"]=function(r,n,s){var a=t.div?t.div.style:i;e.prototype[o+"Setter"].call(this,r,n,s),a&&(a[n]=r)}})),t.addedSetters=!0};return r.textSetter=function(t){t!==n.innerHTML&&(delete this.bBox,delete this.oldTextWidth),this.textStr=t,n.innerHTML=d(t,""),r.doTransform=!0},a&&p(r,r.element.style),r.xSetter=r.ySetter=r.alignSetter=r.rotationSetter=function(t,e){"align"===e?r.alignValue=r.textAlign=t:r[e]=t,r.doTransform=!0},r.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},r.attr({text:t,x:Math.round(i),y:Math.round(o)}).css({position:"absolute"}),s.styledMode||r.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),n.style.whiteSpace="nowrap",r.css=r.htmlCss,a&&(r.add=function(t){var e=s.box.parentNode,i=[];if(this.parentGroup=t){var o=t.div;if(!o){for(;t;)i.push(t),t=t.parentGroup;i.reverse().forEach((function(t){function n(e,i){t[i]=e,"translateX"===i?a.left=e+"px":a.top=e+"px",t.doTransform=!0}var s=h(t.element,"class");o=t.div=t.div||l("div",s?{className:s}:void 0,{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px",display:t.display,opacity:t.opacity,pointerEvents:t.styles&&t.styles.pointerEvents},o||e);var a=o.style;c(t,{classSetter:function(t){return function(e){this.element.setAttribute("class",e),t.className=e}}(o),on:function(){return i[0].div&&r.on.apply({element:i[0].div},arguments),t},translateXSetter:n,translateYSetter:n}),t.addedSetters||p(t)}))}}else o=e;return o.appendChild(n),r.added=!0,r.alignOnAdd&&r.htmlUpdateTransform(),r}),r}}),i})),e(i,"Core/Axis/Tick.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.clamp,o=e.correctFloat,r=e.defined,n=e.destroyObjectProperties,s=e.extend,a=e.fireEvent,h=e.isNumber,l=e.merge,c=e.objectEach,d=e.pick,p=t.deg2rad;return e=function(){function t(t,e,i,o,r){this.isNewLabel=this.isNew=!0,this.axis=t,this.pos=e,this.type=i||"",this.parameters=r||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,a(this,"init"),i||o||this.addLabel()}return t.prototype.addLabel=function(){var t=this,e=t.axis,i=e.options,n=e.chart,a=e.categories,h=e.logarithmic,l=e.names,c=t.pos,p=d(t.options&&t.options.labels,i.labels),u=e.tickPositions,f=c===u[0],g=c===u[u.length-1];l=this.parameters.category||(a?d(a[c],l[c],c):c);var y,m,v=t.label;if(a=(!p.step||1===p.step)&&1===e.tickInterval,u=u.info,e.dateTime&&u)var x=n.time.resolveDTLFormat(i.dateTimeLabelFormats[!i.grid&&u.higherRanks[c]||u.unitName]),b=x.main;t.isFirst=f,t.isLast=g,t.formatCtx={axis:e,chart:n,isFirst:f,isLast:g,dateTimeLabelFormat:b,tickPositionInfo:u,value:h?o(h.lin2log(l)):l,pos:c},i=e.labelFormatter.call(t.formatCtx,this.formatCtx),(m=x&&x.list)&&(t.shortenLabel=function(){for(y=0;y<m.length;y++)if(v.attr({text:e.labelFormatter.call(s(t.formatCtx,{dateTimeLabelFormat:m[y]}))}),v.getBBox().width<e.getSlotWidth(t)-2*d(p.padding,5))return;v.attr({text:""})}),a&&e._addedPlotLB&&t.moveLabel(i,p),r(v)||t.movedLabel?v&&v.textStr!==i&&!a&&(!v.textWidth||p.style&&p.style.width||v.styles.width||v.css({width:null}),v.attr({text:i}),v.textPxLength=v.getBBox().width):(t.label=v=t.createLabel({x:0,y:0},i,p),t.rotation=0)},t.prototype.createLabel=function(t,e,i){var o=this.axis,n=o.chart;return(t=r(e)&&i.enabled?n.renderer.text(e,t.x,t.y,i.useHTML).add(o.labelGroup):null)&&(n.styledMode||t.css(l(i.style)),t.textPxLength=t.getBBox().width),t},t.prototype.destroy=function(){n(this,this.axis)},t.prototype.getPosition=function(t,e,r,n){var s=this.axis,h=s.chart,l=n&&h.oldChartHeight||h.chartHeight;return t={x:t?o(s.translate(e+r,null,null,n)+s.transB):s.left+s.offset+(s.opposite?(n&&h.oldChartWidth||h.chartWidth)-s.right-s.left:0),y:t?l-s.bottom+s.offset-(s.opposite?s.height:0):o(l-s.translate(e+r,null,null,n)-s.transB)},t.y=i(t.y,-1e5,1e5),a(this,"afterGetPosition",{pos:t}),t},t.prototype.getLabelPosition=function(t,e,i,o,n,s,h,l){var c=this.axis,d=c.transA,u=c.isLinked&&c.linkedParent?c.linkedParent.reversed:c.reversed,f=c.staggerLines,g=c.tickRotCorr||{x:0,y:0},y=n.y,m=o||c.reserveSpaceDefault?0:-c.labelOffset*("center"===c.labelAlign?.5:1),v={};return r(y)||(y=0===c.side?i.rotation?-8:-i.getBBox().height:2===c.side?g.y+8:Math.cos(i.rotation*p)*(g.y-i.getBBox(!1,0).height/2)),t=t+n.x+m+g.x-(s&&o?s*d*(u?-1:1):0),e=e+y-(s&&!o?s*d*(u?1:-1):0),f&&(i=h/(l||1)%f,c.opposite&&(i=f-i-1),e+=c.labelOffset/f*i),v.x=t,v.y=Math.round(e),a(this,"afterGetLabelPosition",{pos:v,tickmarkOffset:s,index:h}),v},t.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},t.prototype.getMarkPath=function(t,e,i,o,r,n){return n.crispLine([["M",t,e],["L",t+(r?0:-i),e+(r?i:0)]],o)},t.prototype.handleOverflow=function(t){var e=this.axis,i=e.options.labels,o=t.x,r=e.chart.chartWidth,n=e.chart.spacing,s=d(e.labelLeft,Math.min(e.pos,n[3]));n=d(e.labelRight,Math.max(e.isRadial?0:e.pos+e.len,r-n[1]));var a,h=this.label,l=this.rotation,c={left:0,center:.5,right:1}[e.labelAlign||h.attr("align")],u=h.getBBox().width,f=e.getSlotWidth(this),g=f,y=1,m={};l||"justify"!==d(i.overflow,"justify")?0>l&&o-c*u<s?a=Math.round(o/Math.cos(l*p)-s):0<l&&o+c*u>n&&(a=Math.round((r-o)/Math.cos(l*p))):(r=o+(1-c)*u,o-c*u<s?g=t.x+g*(1-c)-s:r>n&&(g=n-t.x+g*c,y=-1),g=Math.min(f,g),g<f&&"center"===e.labelAlign&&(t.x+=y*(f-g-c*(f-Math.min(u,g)))),(u>g||e.autoRotation&&(h.styles||{}).width)&&(a=g)),a&&(this.shortenLabel?this.shortenLabel():(m.width=Math.floor(a)+"px",(i.style||{}).textOverflow||(m.textOverflow="ellipsis"),h.css(m)))},t.prototype.moveLabel=function(t,e){var i=this,o=i.label,r=!1,n=i.axis,s=n.reversed;if(o&&o.textStr===t?(i.movedLabel=o,r=!0,delete i.label):c(n.ticks,(function(e){r||e.isNew||e===i||!e.label||e.label.textStr!==t||(i.movedLabel=e.label,r=!0,e.labelPos=i.movedLabel.xy,delete e.label)})),!r&&(i.labelPos||o)){var a=i.labelPos||o.xy;o=n.horiz?s?0:n.width+n.left:a.x,n=n.horiz?a.y:s?n.width+n.left:0,i.movedLabel=i.createLabel({x:o,y:n},t,e),i.movedLabel&&i.movedLabel.attr({opacity:0})}},t.prototype.render=function(t,e,i){var o=this.axis,r=o.horiz,n=this.pos,s=d(this.tickmarkOffset,o.tickmarkOffset);n=this.getPosition(r,n,s,e),s=n.x;var h=n.y;o=r&&s===o.pos+o.len||!r&&h===o.pos?-1:1,i=d(i,1),this.isActive=!0,this.renderGridLine(e,i,o),this.renderMark(n,i,o),this.renderLabel(n,e,i,t),this.isNew=!1,a(this,"afterRender")},t.prototype.renderGridLine=function(t,e,i){var o=this.axis,r=o.options,n=this.gridLine,s={},a=this.pos,h=this.type,l=d(this.tickmarkOffset,o.tickmarkOffset),c=o.chart.renderer,p=h?h+"Grid":"grid",u=r[p+"LineWidth"],f=r[p+"LineColor"];r=r[p+"LineDashStyle"],n||(o.chart.styledMode||(s.stroke=f,s["stroke-width"]=u,r&&(s.dashstyle=r)),h||(s.zIndex=1),t&&(e=0),this.gridLine=n=c.path().attr(s).addClass("highcharts-"+(h?h+"-":"")+"grid-line").add(o.gridGroup)),n&&(i=o.getPlotLinePath({value:a+l,lineWidth:n.strokeWidth()*i,force:"pass",old:t}))&&n[t||this.isNew?"attr":"animate"]({d:i,opacity:e})},t.prototype.renderMark=function(t,e,i){var o=this.axis,r=o.options,n=o.chart.renderer,s=this.type,a=s?s+"Tick":"tick",h=o.tickSize(a),l=this.mark,c=!l,p=t.x;t=t.y;var u=d(r[a+"Width"],!s&&o.isXAxis?1:0);r=r[a+"Color"],h&&(o.opposite&&(h[0]=-h[0]),c&&(this.mark=l=n.path().addClass("highcharts-"+(s?s+"-":"")+"tick").add(o.axisGroup),o.chart.styledMode||l.attr({stroke:r,"stroke-width":u})),l[c?"attr":"animate"]({d:this.getMarkPath(p,t,h[0],l.strokeWidth()*i,o.horiz,n),opacity:e}))},t.prototype.renderLabel=function(t,e,i,o){var r=this.axis,n=r.horiz,s=r.options,a=this.label,l=s.labels,c=l.step;r=d(this.tickmarkOffset,r.tickmarkOffset);var p=!0,u=t.x;t=t.y,a&&h(u)&&(a.xy=t=this.getLabelPosition(u,t,a,n,l,r,o,c),this.isFirst&&!this.isLast&&!d(s.showFirstLabel,1)||this.isLast&&!this.isFirst&&!d(s.showLastLabel,1)?p=!1:!n||l.step||l.rotation||e||0===i||this.handleOverflow(t),c&&o%c&&(p=!1),p&&h(t.y)?(t.opacity=i,a[this.isNewLabel?"attr":"animate"](t),this.isNewLabel=!1):(a.attr("y",-9999),this.isNewLabel=!0))},t.prototype.replaceMovedLabel=function(){var t=this.label,e=this.axis,i=e.reversed;if(t&&!this.isNew){var o=e.horiz?i?e.left:e.width+e.left:t.xy.x;i=e.horiz?t.xy.y:i?e.width+e.top:e.top,t.animate({x:o,y:i,opacity:0},void 0,t.destroy),delete this.label}e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},t}(),t.Tick=e,t.Tick})),e(i,"Core/Time.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.defined,o=e.error,r=e.extend,n=e.isObject,s=e.merge,a=e.objectEach,h=e.pad,l=e.pick,c=e.splat,d=e.timeUnits,p=t.win;return e=function(){function e(t){this.options={},this.variableTimezone=this.useUTC=!1,this.Date=p.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(t)}return e.prototype.get=function(t,e){if(this.variableTimezone||this.timezoneOffset){var i=e.getTime(),o=i-this.getTimezoneOffset(e);return e.setTime(o),t=e["getUTC"+t](),e.setTime(i),t}return this.useUTC?e["getUTC"+t]():e["get"+t]()},e.prototype.set=function(t,e,i){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===t||"Seconds"===t||"Minutes"===t)return e["setUTC"+t](i);var o=this.getTimezoneOffset(e);return o=e.getTime()-o,e.setTime(o),e["setUTC"+t](i),t=this.getTimezoneOffset(e),o=e.getTime()+t,e.setTime(o)}return this.useUTC?e["setUTC"+t](i):e["set"+t](i)},e.prototype.update=function(t){var e=l(t&&t.useUTC,!0);this.options=t=s(!0,this.options||{},t),this.Date=t.Date||p.Date||Date,this.timezoneOffset=(this.useUTC=e)&&t.timezoneOffset,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=!(e&&!t.getTimezoneOffset&&!t.timezone)},e.prototype.makeTime=function(e,i,o,r,n,s){if(this.useUTC){var a=this.Date.UTC.apply(0,arguments),h=this.getTimezoneOffset(a);a+=h;var c=this.getTimezoneOffset(a);h!==c?a+=c-h:h-36e5!==this.getTimezoneOffset(a-36e5)||t.isSafari||(a-=36e5)}else a=new this.Date(e,i,l(o,1),l(r,0),l(n,0),l(s,0)).getTime();return a},e.prototype.timezoneOffsetFunction=function(){var t=this,e=this.options,i=e.moment||p.moment;if(!this.useUTC)return function(t){return 6e4*new Date(t.toString()).getTimezoneOffset()};if(e.timezone){if(i)return function(t){return 6e4*-i.tz(t,e.timezone).utcOffset()};o(25)}return this.useUTC&&e.getTimezoneOffset?function(t){return 6e4*e.getTimezoneOffset(t.valueOf())}:function(){return 6e4*(t.timezoneOffset||0)}},e.prototype.dateFormat=function(e,o,n){var s;if(!i(o)||isNaN(o))return(null===(s=t.defaultOptions.lang)||void 0===s?void 0:s.invalidDate)||"";e=l(e,"%Y-%m-%d %H:%M:%S");var c=this;s=new this.Date(o);var d=this.get("Hours",s),p=this.get("Day",s),u=this.get("Date",s),f=this.get("Month",s),g=this.get("FullYear",s),y=t.defaultOptions.lang,m=null===y||void 0===y?void 0:y.weekdays,v=null===y||void 0===y?void 0:y.shortWeekdays;return s=r({a:v?v[p]:m[p].substr(0,3),A:m[p],d:h(u),e:h(u,2," "),w:p,b:y.shortMonths[f],B:y.months[f],m:h(f+1),o:f+1,y:g.toString().substr(2,2),Y:g,H:h(d),k:d,I:h(d%12||12),l:d%12||12,M:h(this.get("Minutes",s)),p:12>d?"AM":"PM",P:12>d?"am":"pm",S:h(s.getSeconds()),L:h(Math.floor(o%1e3),3)},t.dateFormats),a(s,(function(t,i){for(;-1!==e.indexOf("%"+i);)e=e.replace("%"+i,"function"===typeof t?t.call(c,o):t)})),n?e.substr(0,1).toUpperCase()+e.substr(1):e},e.prototype.resolveDTLFormat=function(t){return n(t,!0)?t:(t=c(t),{main:t[0],from:t[1],to:t[2]})},e.prototype.getTimeTicks=function(t,e,o,n){var s,a=this,h=[],c={},p=new a.Date(e),u=t.unitRange,f=t.count||1;if(n=l(n,1),i(e)){if(a.set("Milliseconds",p,u>=d.second?0:f*Math.floor(a.get("Milliseconds",p)/f)),u>=d.second&&a.set("Seconds",p,u>=d.minute?0:f*Math.floor(a.get("Seconds",p)/f)),u>=d.minute&&a.set("Minutes",p,u>=d.hour?0:f*Math.floor(a.get("Minutes",p)/f)),u>=d.hour&&a.set("Hours",p,u>=d.day?0:f*Math.floor(a.get("Hours",p)/f)),u>=d.day&&a.set("Date",p,u>=d.month?1:Math.max(1,f*Math.floor(a.get("Date",p)/f))),u>=d.month){a.set("Month",p,u>=d.year?0:f*Math.floor(a.get("Month",p)/f));var g=a.get("FullYear",p)}u>=d.year&&a.set("FullYear",p,g-g%f),u===d.week&&(g=a.get("Day",p),a.set("Date",p,a.get("Date",p)-g+n+(g<n?-7:0))),g=a.get("FullYear",p),n=a.get("Month",p);var y=a.get("Date",p),m=a.get("Hours",p);for(e=p.getTime(),a.variableTimezone&&(s=o-e>4*d.month||a.getTimezoneOffset(e)!==a.getTimezoneOffset(o)),e=p.getTime(),p=1;e<o;)h.push(e),e=u===d.year?a.makeTime(g+p*f,0):u===d.month?a.makeTime(g,n+p*f):!s||u!==d.day&&u!==d.week?s&&u===d.hour&&1<f?a.makeTime(g,n,y,m+p*f):e+u*f:a.makeTime(g,n,y+p*f*(u===d.day?1:7)),p++;h.push(e),u<=d.hour&&1e4>h.length&&h.forEach((function(t){0===t%18e5&&"000000000"===a.dateFormat("%H%M%S%L",t)&&(c[t]="day")}))}return h.info=r(t,{higherRanks:c,totalRange:u*f}),h},e}(),t.Time=e,t.Time})),e(i,"Core/Options.js",[i["Core/Globals.js"],i["Core/Color/Color.js"],i["Core/Time.js"],i["Core/Utilities.js"]],(function(t,e,i,o){var r=t.isTouchDevice,n=t.svg;return e=e.parse,o=o.merge,t.defaultOptions={colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" "),symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:{styledMode:!1,borderRadius:0,colorCount:10,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},width:null,height:null,borderColor:"#335cad",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"},title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#cccccc"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:n,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:r?25:10,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:e("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"}},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}},t.time=new i(o(t.defaultOptions.global,t.defaultOptions.time)),t.dateFormat=function(e,i,o){return t.time.dateFormat(e,i,o)},{dateFormat:t.dateFormat,defaultOptions:t.defaultOptions,time:t.time}})),e(i,"Core/Axis/Axis.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Axis/Tick.js"],i["Core/Utilities.js"],i["Core/Options.js"]],(function(t,e,i,o,r,n){var s=t.animObject,a=r.addEvent,h=r.arrayMax,l=r.arrayMin,c=r.clamp,d=r.correctFloat,p=r.defined,u=r.destroyObjectProperties,f=r.error,g=r.extend,y=r.fireEvent,m=r.format,v=r.getMagnitude,x=r.isArray,b=r.isFunction,S=r.isNumber,k=r.isString,w=r.merge,C=r.normalizeTickInterval,M=r.objectEach,O=r.pick,A=r.relativeLength,P=r.removeEvent,T=r.splat,L=r.syncTimeout,E=n.defaultOptions,j=i.deg2rad;return t=function(){function t(t,e){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.oldMin=this.oldMax=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0,this.init(t,e)}return t.prototype.init=function(t,e){var i=e.isX,o=this;o.chart=t,o.horiz=t.inverted&&!o.isZAxis?!i:i,o.isXAxis=i,o.coll=o.coll||(i?"xAxis":"yAxis"),y(this,"init",{userOptions:e}),o.opposite=e.opposite,o.side=e.side||(o.horiz?o.opposite?0:2:o.opposite?1:3),o.setOptions(e);var r=this.options,n=r.type;o.labelFormatter=r.labels.formatter||o.defaultLabelFormatter,o.userOptions=e,o.minPixelPadding=0,o.reversed=r.reversed,o.visible=!1!==r.visible,o.zoomEnabled=!1!==r.zoomEnabled,o.hasNames="category"===n||!0===r.categories,o.categories=r.categories||o.hasNames,o.names||(o.names=[],o.names.keys={}),o.plotLinesAndBandsGroups={},o.positiveValuesOnly=!!o.logarithmic,o.isLinked=p(r.linkedTo),o.ticks={},o.labelEdge=[],o.minorTicks={},o.plotLinesAndBands=[],o.alternateBands={},o.len=0,o.minRange=o.userMinRange=r.minRange||r.maxZoom,o.range=r.range,o.offset=r.offset||0,o.max=null,o.min=null,o.crosshair=O(r.crosshair,T(t.options.tooltip.crosshairs)[i?0:1],!1),e=o.options.events,-1===t.axes.indexOf(o)&&(i?t.axes.splice(t.xAxis.length,0,o):t.axes.push(o),t[o.coll].push(o)),o.series=o.series||[],t.inverted&&!o.isZAxis&&i&&"undefined"===typeof o.reversed&&(o.reversed=!0),o.labelRotation=o.options.labels.rotation,M(e,(function(t,e){b(t)&&a(o,e,t)})),y(this,"afterInit")},t.prototype.setOptions=function(e){this.options=w(t.defaultOptions,"yAxis"===this.coll&&t.defaultYAxisOptions,[t.defaultTopAxisOptions,t.defaultRightAxisOptions,t.defaultBottomAxisOptions,t.defaultLeftAxisOptions][this.side],w(E[this.coll],e)),y(this,"afterSetOptions",{userOptions:e})},t.prototype.defaultLabelFormatter=function(){var t=this.axis,e=S(this.value)?this.value:NaN,i=t.chart.time,o=t.categories,r=this.dateTimeLabelFormat,n=E.lang,s=n.numericSymbols;n=n.numericSymbolMagnitude||1e3;var a=s&&s.length,h=t.options.labels.format;t=t.logarithmic?Math.abs(e):t.tickInterval;var l=this.chart,c=l.numberFormatter;if(h)var d=m(h,this,l);else if(o)d=""+this.value;else if(r)d=i.dateFormat(r,e);else if(a&&1e3<=t)for(;a--&&"undefined"===typeof d;)i=Math.pow(n,a+1),t>=i&&0===10*e%i&&null!==s[a]&&0!==e&&(d=c(e/i,-1)+s[a]);return"undefined"===typeof d&&(d=1e4<=Math.abs(e)?c(e,-1):c(e,-1,void 0,"")),d},t.prototype.getSeriesExtremes=function(){var t,e=this,i=e.chart;y(this,"getSeriesExtremes",null,(function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=null,e.softThreshold=!e.isXAxis,e.stacking&&e.stacking.buildStacks(),e.series.forEach((function(o){if(o.visible||!i.options.chart.ignoreHiddenSeries){var r=o.options,n=r.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=n&&(n=null),e.isXAxis){if(r=o.xData,r.length){r=e.logarithmic?r.filter(e.validatePositiveValue):r,t=o.getXExtremes(r);var s=t.min,a=t.max;S(s)||s instanceof Date||(r=r.filter(S),t=o.getXExtremes(r),s=t.min,a=t.max),r.length&&(e.dataMin=Math.min(O(e.dataMin,s),s),e.dataMax=Math.max(O(e.dataMax,a),a))}}else o=o.applyExtremes(),S(o.dataMin)&&(s=o.dataMin,e.dataMin=Math.min(O(e.dataMin,s),s)),S(o.dataMax)&&(a=o.dataMax,e.dataMax=Math.max(O(e.dataMax,a),a)),p(n)&&(e.threshold=n),(!r.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}}))})),y(this,"afterGetSeriesExtremes")},t.prototype.translate=function(t,e,i,o,r,n){var s=this.linkedParent||this,a=1,h=0,l=o?s.oldTransA:s.transA;o=o?s.oldMin:s.min;var c=s.minPixelPadding;return r=(s.isOrdinal||s.brokenAxis&&s.brokenAxis.hasBreaks||s.logarithmic&&r)&&s.lin2val,l||(l=s.transA),i&&(a*=-1,h=s.len),s.reversed&&(a*=-1,h-=a*(s.sector||s.len)),e?(t=(t*a+h-c)/l+o,r&&(t=s.lin2val(t))):(r&&(t=s.val2lin(t)),t=S(o)?a*(t-o)*l+h+a*c+(S(n)?l*n:0):void 0),t},t.prototype.toPixels=function(t,e){return this.translate(t,!1,!this.horiz,null,!0)+(e?0:this.pos)},t.prototype.toValue=function(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,null,!0)},t.prototype.getPlotLinePath=function(t){function e(t,e,i){return("pass"!==m&&t<e||t>i)&&(m?t=c(t,e,i):s=!0),t}var i,o,r,n,s,a=this,h=a.chart,l=a.left,d=a.top,p=t.old,u=t.value,f=t.translatedValue,g=t.lineWidth,m=t.force,v=p&&h.oldChartHeight||h.chartHeight,x=p&&h.oldChartWidth||h.chartWidth,b=a.transB;return t={value:u,lineWidth:g,old:p,force:m,acrossPanes:t.acrossPanes,translatedValue:f},y(this,"getPlotLinePath",t,(function(t){f=O(f,a.translate(u,null,null,p)),f=c(f,-1e5,1e5),i=r=Math.round(f+b),o=n=Math.round(v-f-b),S(f)?a.horiz?(o=d,n=v-a.bottom,i=r=e(i,l,l+a.width)):(i=l,r=x-a.right,o=n=e(o,d,d+a.height)):(s=!0,m=!1),t.path=s&&!m?null:h.renderer.crispLine([["M",i,o],["L",r,n]],g||1)})),t.path},t.prototype.getLinearTickPositions=function(t,e,i){var o=d(Math.floor(e/t)*t);i=d(Math.ceil(i/t)*t);var r,n=[];if(d(o+t)===o&&(r=20),this.single)return[e];for(e=o;e<=i;){if(n.push(e),e=d(e+t,r),e===s)break;var s=e}return n},t.prototype.getMinorTickInterval=function(){var t=this.options;return!0===t.minorTicks?O(t.minorTickInterval,"auto"):!1===t.minorTicks?null:t.minorTickInterval},t.prototype.getMinorTickPositions=function(){var t=this.options,e=this.tickPositions,i=this.minorTickInterval,o=[],r=this.pointRangePadding||0,n=this.min-r;r=this.max+r;var s=r-n;if(s&&s/i<this.len/3){var a=this.logarithmic;if(a)this.paddedTicks.forEach((function(t,e,r){e&&o.push.apply(o,a.getLogTickPositions(i,r[e-1],r[e],!0))}));else if(this.dateTime&&"auto"===this.getMinorTickInterval())o=o.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(i),n,r,t.startOfWeek));else for(t=n+(e[0]-n)%i;t<=r&&t!==o[0];t+=i)o.push(t)}return 0!==o.length&&this.trimTicks(o),o},t.prototype.adjustForMinRange=function(){var t,e,i,o,r=this.options,n=this.min,s=this.max,a=this.logarithmic;if(this.isXAxis&&"undefined"===typeof this.minRange&&!a&&(p(r.min)||p(r.max)?this.minRange=null:(this.series.forEach((function(r){for(o=r.xData,e=r.xIncrement?1:o.length-1;0<e;e--)i=o[e]-o[e-1],("undefined"===typeof t||i<t)&&(t=i)})),this.minRange=Math.min(5*t,this.dataMax-this.dataMin))),s-n<this.minRange){var c=this.dataMax-this.dataMin>=this.minRange,d=this.minRange,u=(d-s+n)/2;u=[n-u,O(r.min,n-u)],c&&(u[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),n=h(u),s=[n+d,O(r.max,n+d)],c&&(s[2]=a?a.log2lin(this.dataMax):this.dataMax),s=l(s),s-n<d&&(u[0]=s-d,u[1]=O(r.min,s-d),n=h(u))}this.min=n,this.max=s},t.prototype.getClosest=function(){var t;return this.categories?t=1:this.series.forEach((function(e){var i=e.closestPointRange,o=e.visible||!e.chart.options.chart.ignoreHiddenSeries;!e.noSharedTooltip&&p(i)&&o&&(t=p(t)?Math.min(t,i):i)})),t},t.prototype.nameToX=function(t){var e=x(this.categories),i=e?this.categories:this.names,o=t.options.x;if(t.series.requireSorting=!1,p(o)||(o=!1===this.options.uniqueNames?t.series.autoIncrement():e?i.indexOf(t.name):O(i.keys[t.name],-1)),-1===o){if(!e)var r=i.length}else r=o;return"undefined"!==typeof r&&(this.names[r]=t.name,this.names.keys[t.name]=r),r},t.prototype.updateNames=function(){var t=this,e=this.names;0<e.length&&(Object.keys(e.keys).forEach((function(t){delete e.keys[t]})),e.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach((function(e){e.xIncrement=null,e.points&&!e.isDirtyData||(t.max=Math.max(t.max,e.xData.length-1),e.processData(),e.generatePoints()),e.data.forEach((function(i,o){if(i&&i.options&&"undefined"!==typeof i.name){var r=t.nameToX(i);"undefined"!==typeof r&&r!==i.x&&(i.x=r,e.xData[o]=r)}}))})))},t.prototype.setAxisTranslation=function(t){var e=this,i=e.max-e.min,o=e.axisPointRange||0,r=0,n=0,s=e.linkedParent,a=!!e.categories,h=e.transA,l=e.isXAxis;if(l||a||o){var c=e.getClosest();s?(r=s.minPointOffset,n=s.pointRangePadding):e.series.forEach((function(t){var i=a?1:l?O(t.options.pointRange,c,0):e.axisPointRange||0,s=t.options.pointPlacement;o=Math.max(o,i),e.single&&!a||(t=t.is("xrange")?!l:l,r=Math.max(r,t&&k(s)?0:i/2),n=Math.max(n,t&&"on"===s?0:i))})),s=e.ordinal&&e.ordinal.slope&&c?e.ordinal.slope/c:1,e.minPointOffset=r*=s,e.pointRangePadding=n*=s,e.pointRange=Math.min(o,e.single&&a?1:i),l&&(e.closestPointRange=c)}t&&(e.oldTransA=h),e.translationSlope=e.transA=h=e.staticScale||e.len/(i+n||1),e.transB=e.horiz?e.left:e.bottom,e.minPixelPadding=h*r,y(this,"afterSetAxisTranslation")},t.prototype.minFromRange=function(){return this.max-this.range},t.prototype.setTickInterval=function(t){var e=this,i=e.chart,o=e.logarithmic,r=e.options,n=e.isXAxis,s=e.isLinked,a=r.maxPadding,h=r.minPadding,l=r.tickInterval,c=r.tickPixelInterval,u=e.categories,g=S(e.threshold)?e.threshold:null,m=e.softThreshold;e.dateTime||u||s||this.getTickAmount();var x=O(e.userMin,r.min),b=O(e.userMax,r.max);if(s){e.linkedParent=i[e.coll][r.linkedTo];var k=e.linkedParent.getExtremes();e.min=O(k.min,k.dataMin),e.max=O(k.max,k.dataMax),r.type!==e.linkedParent.options.type&&f(11,1,i)}else{if(m&&p(g))if(e.dataMin>=g)k=g,h=0;else if(e.dataMax<=g){var w=g;a=0}e.min=O(x,k,e.dataMin),e.max=O(b,w,e.dataMax)}o&&(e.positiveValuesOnly&&!t&&0>=Math.min(e.min,O(e.dataMin,e.min))&&f(10,1,i),e.min=d(o.log2lin(e.min),16),e.max=d(o.log2lin(e.max),16)),e.range&&p(e.max)&&(e.userMin=e.min=x=Math.max(e.dataMin,e.minFromRange()),e.userMax=b=e.max,e.range=null),y(e,"foundExtremes"),e.beforePadding&&e.beforePadding(),e.adjustForMinRange(),!(u||e.axisPointRange||e.stacking&&e.stacking.usePercentage||s)&&p(e.min)&&p(e.max)&&(i=e.max-e.min)&&(!p(x)&&h&&(e.min-=i*h),!p(b)&&a&&(e.max+=i*a)),S(e.userMin)||(S(r.softMin)&&r.softMin<e.min&&(e.min=x=r.softMin),S(r.floor)&&(e.min=Math.max(e.min,r.floor))),S(e.userMax)||(S(r.softMax)&&r.softMax>e.max&&(e.max=b=r.softMax),S(r.ceiling)&&(e.max=Math.min(e.max,r.ceiling))),m&&p(e.dataMin)&&(g=g||0,!p(x)&&e.min<g&&e.dataMin>=g?e.min=e.options.minRange?Math.min(g,e.max-e.minRange):g:!p(b)&&e.max>g&&e.dataMax<=g&&(e.max=e.options.minRange?Math.max(g,e.min+e.minRange):g)),e.tickInterval=e.min===e.max||"undefined"===typeof e.min||"undefined"===typeof e.max?1:s&&!l&&c===e.linkedParent.options.tickPixelInterval?l=e.linkedParent.tickInterval:O(l,this.tickAmount?(e.max-e.min)/Math.max(this.tickAmount-1,1):void 0,u?1:(e.max-e.min)*c/Math.max(e.len,c)),n&&!t&&e.series.forEach((function(t){t.processData(e.min!==e.oldMin||e.max!==e.oldMax)})),e.setAxisTranslation(!0),y(this,"initialAxisTranslation"),e.pointRange&&!l&&(e.tickInterval=Math.max(e.pointRange,e.tickInterval)),t=O(r.minTickInterval,e.dateTime&&!e.series.some((function(t){return t.noSharedTooltip}))?e.closestPointRange:0),!l&&e.tickInterval<t&&(e.tickInterval=t),e.dateTime||e.logarithmic||l||(e.tickInterval=C(e.tickInterval,void 0,v(e.tickInterval),O(r.allowDecimals,.5>e.tickInterval||void 0!==this.tickAmount),!!this.tickAmount)),this.tickAmount||(e.tickInterval=e.unsquish()),this.setTickPositions()},t.prototype.setTickPositions=function(){var t=this.options,e=t.tickPositions,i=this.getMinorTickInterval(),o=t.tickPositioner,r=this.hasVerticalPanning(),n="colorAxis"===this.coll,s=(n||!r)&&t.startOnTick;r=(n||!r)&&t.endOnTick,this.tickmarkOffset=this.categories&&"between"===t.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===i&&this.tickInterval?this.tickInterval/5:i,this.single=this.min===this.max&&p(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==t.allowDecimals),this.tickPositions=i=e&&e.slice(),!i&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?i=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,t.units),this.min,this.max,t.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max):(i=[this.min,this.max],f(19,!1,this.chart)),i.length>this.len&&(i=[i[0],i.pop()],i[0]===i[1]&&(i.length=1)),this.tickPositions=i,o&&(o=o.apply(this,[this.min,this.max])))&&(this.tickPositions=i=o),this.paddedTicks=i.slice(0),this.trimTicks(i,s,r),this.isLinked||(this.single&&2>i.length&&!this.categories&&!this.series.some((function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement}))&&(this.min-=.5,this.max+=.5),e||o||this.adjustTickAmount()),y(this,"afterSetTickPositions")},t.prototype.trimTicks=function(t,e,i){var o=t[0],r=t[t.length-1],n=!this.isOrdinal&&this.minPointOffset||0;if(y(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==o)this.min=o;else for(;this.min-n>t[0];)t.shift();if(i)this.max=r;else for(;this.max+n<t[t.length-1];)t.pop();0===t.length&&p(o)&&!this.options.tickPositions&&t.push((r+o)/2)}},t.prototype.alignToOthers=function(){var t,e={},i=this.options;return!1===this.chart.options.chart.alignTicks||!1===i.alignTicks||!1===i.startOnTick||!1===i.endOnTick||this.logarithmic||this.chart[this.coll].forEach((function(i){var o=i.options;o=[i.horiz?o.left:o.top,o.width,o.height,o.pane].join(),i.series.length&&(e[o]?t=!0:e[o]=1)})),t},t.prototype.getTickAmount=function(){var t=this.options,e=t.tickAmount,i=t.tickPixelInterval;!p(t.tickInterval)&&!e&&this.len<i&&!this.isRadial&&!this.logarithmic&&t.startOnTick&&t.endOnTick&&(e=2),!e&&this.alignToOthers()&&(e=Math.ceil(this.len/i)+1),4>e&&(this.finalTickAmt=e,e=5),this.tickAmount=e},t.prototype.adjustTickAmount=function(){var t,e=this.options,i=this.tickInterval,o=this.tickPositions,r=this.tickAmount,n=this.finalTickAmt,s=o&&o.length,a=O(this.threshold,this.softThreshold?0:null);if(this.hasData()){if(s<r){for(t=this.min;o.length<r;)o.length%2||t===a?o.push(d(o[o.length-1]+i)):o.unshift(d(o[0]-i));this.transA*=(s-1)/(r-1),this.min=e.startOnTick?o[0]:Math.min(this.min,o[0]),this.max=e.endOnTick?o[o.length-1]:Math.max(this.max,o[o.length-1])}else s>r&&(this.tickInterval*=2,this.setTickPositions());if(p(n)){for(i=e=o.length;i--;)(3===n&&1===i%2||2>=n&&0<i&&i<e-1)&&o.splice(i,1);this.finalTickAmt=void 0}}},t.prototype.setScale=function(){var t,e=!1,i=!1;this.series.forEach((function(t){var o;e=e||t.isDirtyData||t.isDirty,i=i||(null===(o=t.xAxis)||void 0===o?void 0:o.isDirty)||!1})),this.oldMin=this.min,this.oldMax=this.max,this.oldAxisLength=this.len,this.setAxisSize(),(t=this.len!==this.oldAxisLength)||e||i||this.isLinked||this.forceRedraw||this.userMin!==this.oldUserMin||this.userMax!==this.oldUserMax||this.alignToOthers()?(this.stacking&&this.stacking.resetStacks(),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.oldUserMin=this.userMin,this.oldUserMax=this.userMax,this.isDirty||(this.isDirty=t||this.min!==this.oldMin||this.max!==this.oldMax)):this.stacking&&this.stacking.cleanStacks(),e&&this.panningState&&(this.panningState.isDirty=!0),y(this,"afterSetScale")},t.prototype.setExtremes=function(t,e,i,o,r){var n=this,s=n.chart;i=O(i,!0),n.series.forEach((function(t){delete t.kdTree})),r=g(r,{min:t,max:e}),y(n,"setExtremes",r,(function(){n.userMin=t,n.userMax=e,n.eventArgs=r,i&&s.redraw(o)}))},t.prototype.zoom=function(t,e){var i=this,o=this.dataMin,r=this.dataMax,n=this.options,s=Math.min(o,O(n.min,o)),a=Math.max(r,O(n.max,r));return t={newMin:t,newMax:e},y(this,"zoom",t,(function(t){var e=t.newMin,n=t.newMax;e===i.min&&n===i.max||(i.allowZoomOutside||(p(o)&&(e<s&&(e=s),e>a&&(e=a)),p(r)&&(n<s&&(n=s),n>a&&(n=a))),i.displayBtn="undefined"!==typeof e||"undefined"!==typeof n,i.setExtremes(e,n,!1,void 0,{trigger:"zoom"})),t.zoomed=!0})),t.zoomed},t.prototype.setAxisSize=function(){var t=this.chart,e=this.options,i=e.offsets||[0,0,0,0],o=this.horiz,r=this.width=Math.round(A(O(e.width,t.plotWidth-i[3]+i[1]),t.plotWidth)),n=this.height=Math.round(A(O(e.height,t.plotHeight-i[0]+i[2]),t.plotHeight)),s=this.top=Math.round(A(O(e.top,t.plotTop+i[0]),t.plotHeight,t.plotTop));e=this.left=Math.round(A(O(e.left,t.plotLeft+i[3]),t.plotWidth,t.plotLeft)),this.bottom=t.chartHeight-n-s,this.right=t.chartWidth-r-e,this.len=Math.max(o?r:n,0),this.pos=o?e:s},t.prototype.getExtremes=function(){var t=this.logarithmic;return{min:t?d(t.lin2log(this.min)):this.min,max:t?d(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},t.prototype.getThreshold=function(t){var e=this.logarithmic,i=e?e.lin2log(this.min):this.min;return e=e?e.lin2log(this.max):this.max,null===t||-1/0===t?t=i:1/0===t?t=e:i>t?t=i:e<t&&(t=e),this.translate(t,0,1,0,1)},t.prototype.autoLabelAlign=function(t){var e=(O(t,0)-90*this.side+720)%360;return t={align:"center"},y(this,"autoLabelAlign",t,(function(t){15<e&&165>e?t.align="right":195<e&&345>e&&(t.align="left")})),t.align},t.prototype.tickSize=function(t){var e=this.options,i=e["tick"===t?"tickLength":"minorTickLength"],o=O(e["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0);if(o&&i){"inside"===e[t+"Position"]&&(i=-i);var r=[i,o]}return t={tickSize:r},y(this,"afterTickSize",t),t.tickSize},t.prototype.labelMetrics=function(){var t=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style&&this.options.labels.style.fontSize,this.ticks[t]&&this.ticks[t].label)},t.prototype.unsquish=function(){var t,e,i,o=this.options.labels,r=this.horiz,n=this.tickInterval,s=n,a=this.len/(((this.categories?1:0)+this.max-this.min)/n),h=o.rotation,l=this.labelMetrics(),c=Number.MAX_VALUE,u=this.max-this.min,f=function(t){var e=t/(a||1);return e=1<e?Math.ceil(e):1,e*n>u&&1/0!==t&&1/0!==a&&u&&(e=Math.ceil(u/n)),d(e*n)};return r?(i=!o.staggerLines&&!o.step&&(p(h)?[h]:a<O(o.autoRotationLimit,80)&&o.autoRotation))&&i.forEach((function(i){if(i===h||i&&-90<=i&&90>=i){e=f(Math.abs(l.h/Math.sin(j*i)));var o=e+Math.abs(i/360);o<c&&(c=o,t=i,s=e)}})):o.step||(s=f(l.h)),this.autoRotation=i,this.labelRotation=O(t,h),s},t.prototype.getSlotWidth=function(t){var e,i=this.chart,o=this.horiz,r=this.options.labels,n=Math.max(this.tickPositions.length-(this.categories?0:1),1),s=i.margin[3];if(t&&S(t.slotWidth))return t.slotWidth;if(o&&r&&2>(r.step||0))return r.rotation?0:(this.staggerLines||1)*this.len/n;if(!o){if(t=null===(e=null===r||void 0===r?void 0:r.style)||void 0===e?void 0:e.width,void 0!==t)return parseInt(t,10);if(s)return s-i.spacing[3]}return.33*i.chartWidth},t.prototype.renderUnsquish=function(){var t=this.chart,e=t.renderer,i=this.tickPositions,o=this.ticks,r=this.options.labels,n=r&&r.style||{},s=this.horiz,a=this.getSlotWidth(),h=Math.max(1,Math.round(a-2*(r.padding||5))),l={},c=this.labelMetrics(),d=r.style&&r.style.textOverflow,p=0;if(k(r.rotation)||(l.rotation=r.rotation||0),i.forEach((function(t){t=o[t],t.movedLabel&&t.replaceMovedLabel(),t&&t.label&&t.label.textPxLength>p&&(p=t.label.textPxLength)})),this.maxLabelLength=p,this.autoRotation)p>h&&p>c.h?l.rotation=this.labelRotation:this.labelRotation=0;else if(a){var u=h;if(!d){var f="clip";for(h=i.length;!s&&h--;){var g=i[h];(g=o[g].label)&&(g.styles&&"ellipsis"===g.styles.textOverflow?g.css({textOverflow:"clip"}):g.textPxLength>a&&g.css({width:a+"px"}),g.getBBox().height>this.len/i.length-(c.h-c.f)&&(g.specificTextOverflow="ellipsis"))}}}l.rotation&&(u=p>.5*t.chartHeight?.33*t.chartHeight:p,d||(f="ellipsis")),(this.labelAlign=r.align||this.autoLabelAlign(this.labelRotation))&&(l.align=this.labelAlign),i.forEach((function(t){var e=(t=o[t])&&t.label,i=n.width,r={};e&&(e.attr(l),t.shortenLabel?t.shortenLabel():u&&!i&&"nowrap"!==n.whiteSpace&&(u<e.textPxLength||"SPAN"===e.element.tagName)?(r.width=u+"px",d||(r.textOverflow=e.specificTextOverflow||f),e.css(r)):e.styles&&e.styles.width&&!r.width&&!i&&e.css({width:null}),delete e.specificTextOverflow,t.rotation=l.rotation)}),this),this.tickRotCorr=e.rotCorr(c.b,this.labelRotation||0,0!==this.side)},t.prototype.hasData=function(){return this.series.some((function(t){return t.hasData()}))||this.options.showEmpty&&p(this.min)&&p(this.max)},t.prototype.addTitle=function(t){var e,i=this.chart.renderer,o=this.horiz,r=this.opposite,n=this.options.title,s=this.chart.styledMode;this.axisTitle||((e=n.textAlign)||(e=(o?{low:"left",middle:"center",high:"right"}:{low:r?"right":"left",middle:"center",high:r?"left":"right"})[n.align]),this.axisTitle=i.text(n.text,0,0,n.useHTML).attr({zIndex:7,rotation:n.rotation||0,align:e}).addClass("highcharts-axis-title"),s||this.axisTitle.css(w(n.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),s||n.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[t?"show":"hide"](t)},t.prototype.generateTick=function(t){var e=this.ticks;e[t]?e[t].addLabel():e[t]=new o(this,t)},t.prototype.getOffset=function(){var t,e=this,i=e.chart,o=i.renderer,r=e.options,n=e.tickPositions,s=e.ticks,a=e.horiz,h=e.side,l=i.inverted&&!e.isZAxis?[1,0,3,2][h]:h,c=0,d=0,u=r.title,f=r.labels,g=0,m=i.axisOffset;i=i.clipOffset;var v=[-1,1,1,-1][h],x=r.className,b=e.axisParent,S=e.hasData();if(e.showAxis=t=S||O(r.showEmpty,!0),e.staggerLines=e.horiz&&f.staggerLines,e.axisGroup||(e.gridGroup=o.g("grid").attr({zIndex:r.gridZIndex||1}).addClass("highcharts-"+this.coll.toLowerCase()+"-grid "+(x||"")).add(b),e.axisGroup=o.g("axis").attr({zIndex:r.zIndex||2}).addClass("highcharts-"+this.coll.toLowerCase()+" "+(x||"")).add(b),e.labelGroup=o.g("axis-labels").attr({zIndex:f.zIndex||7}).addClass("highcharts-"+e.coll.toLowerCase()+"-labels "+(x||"")).add(b)),S||e.isLinked?(n.forEach((function(t,i){e.generateTick(t,i)})),e.renderUnsquish(),e.reserveSpaceDefault=0===h||2===h||{1:"left",3:"right"}[h]===e.labelAlign,O(f.reserveSpace,"center"===e.labelAlign||null,e.reserveSpaceDefault)&&n.forEach((function(t){g=Math.max(s[t].getLabelSize(),g)})),e.staggerLines&&(g*=e.staggerLines),e.labelOffset=g*(e.opposite?-1:1)):M(s,(function(t,e){t.destroy(),delete s[e]})),u&&u.text&&!1!==u.enabled&&(e.addTitle(t),t&&!1!==u.reserveSpace)){e.titleOffset=c=e.axisTitle.getBBox()[a?"height":"width"];var k=u.offset;d=p(k)?0:O(u.margin,a?5:10)}e.renderLine(),e.offset=v*O(r.offset,m[h]?m[h]+(r.margin||0):0),e.tickRotCorr=e.tickRotCorr||{x:0,y:0},o=0===h?-e.labelMetrics().h:2===h?e.tickRotCorr.y:0,d=Math.abs(g)+d,g&&(d=d-o+v*(a?O(f.y,e.tickRotCorr.y+8*v):f.x)),e.axisTitleMargin=O(k,d),e.getMaxLabelDimensions&&(e.maxLabelDimensions=e.getMaxLabelDimensions(s,n)),a=this.tickSize("tick"),m[h]=Math.max(m[h],e.axisTitleMargin+c+v*e.offset,d,n&&n.length&&a?a[0]+v*e.offset:0),r=r.offset?0:2*Math.floor(e.axisLine.strokeWidth()/2),i[l]=Math.max(i[l],r),y(this,"afterGetOffset")},t.prototype.getLinePath=function(t){var e=this.chart,i=this.opposite,o=this.offset,r=this.horiz,n=this.left+(i?this.width:0)+o;return o=e.chartHeight-this.bottom-(i?this.height:0)+o,i&&(t*=-1),e.renderer.crispLine([["M",r?this.left:n,r?o:this.top],["L",r?e.chartWidth-this.right:n,r?o:e.chartHeight-this.bottom]],t)},t.prototype.renderLine=function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))},t.prototype.getTitlePosition=function(){var t=this.horiz,e=this.left,i=this.top,o=this.len,r=this.options.title,n=t?e:i,s=this.opposite,a=this.offset,h=r.x||0,l=r.y||0,c=this.axisTitle,d=this.chart.renderer.fontMetrics(r.style&&r.style.fontSize,c);return c=Math.max(c.getBBox(null,0).height-d.h-1,0),o={low:n+(t?0:o),middle:n+o/2,high:n+(t?o:0)}[r.align],e=(t?i+this.height:e)+(t?1:-1)*(s?-1:1)*this.axisTitleMargin+[-c,c,d.f,-c][this.side],t={x:t?o+h:e+(s?this.width:0)+a+h,y:t?e+l-(s?this.height:0)+a:o+l},y(this,"afterGetTitlePosition",{titlePosition:t}),t},t.prototype.renderMinorTick=function(t){var e=this.chart.hasRendered&&S(this.oldMin),i=this.minorTicks;i[t]||(i[t]=new o(this,t,"minor")),e&&i[t].isNew&&i[t].render(null,!0),i[t].render(null,!1,1)},t.prototype.renderTick=function(t,e){var i,r=this.isLinked,n=this.ticks,s=this.chart.hasRendered&&S(this.oldMin);(!r||t>=this.min&&t<=this.max||null!==(i=this.grid)&&void 0!==i&&i.isColumn)&&(n[t]||(n[t]=new o(this,t)),s&&n[t].isNew&&n[t].render(e,!0,-1),n[t].render(e))},t.prototype.render=function(){var t,e,r=this,n=r.chart,a=r.logarithmic,h=r.options,l=r.isLinked,c=r.tickPositions,d=r.axisTitle,p=r.ticks,u=r.minorTicks,f=r.alternateBands,g=h.stackLabels,m=h.alternateGridColor,v=r.tickmarkOffset,x=r.axisLine,b=r.showAxis,k=s(n.renderer.globalAnimation);r.labelEdge.length=0,r.overlap=!1,[p,u,f].forEach((function(t){M(t,(function(t){t.isActive=!1}))})),(r.hasData()||l)&&(r.minorTickInterval&&!r.categories&&r.getMinorTickPositions().forEach((function(t){r.renderMinorTick(t)})),c.length&&(c.forEach((function(t,e){r.renderTick(t,e)})),v&&(0===r.min||r.single)&&(p[-1]||(p[-1]=new o(r,-1,null,!0)),p[-1].render(-1))),m&&c.forEach((function(o,s){e="undefined"!==typeof c[s+1]?c[s+1]+v:r.max-v,0===s%2&&o<r.max&&e<=r.max+(n.polar?-v:v)&&(f[o]||(f[o]=new i.PlotLineOrBand(r)),t=o+v,f[o].options={from:a?a.lin2log(t):t,to:a?a.lin2log(e):e,color:m,className:"highcharts-alternate-grid"},f[o].render(),f[o].isActive=!0)})),r._addedPlotLB||((h.plotLines||[]).concat(h.plotBands||[]).forEach((function(t){r.addPlotBandOrLine(t)})),r._addedPlotLB=!0)),[p,u,f].forEach((function(t){var e,i=[],o=k.duration;M(t,(function(t,e){t.isActive||(t.render(e,!1,0),t.isActive=!1,i.push(e))})),L((function(){for(e=i.length;e--;)t[i[e]]&&!t[i[e]].isActive&&(t[i[e]].destroy(),delete t[i[e]])}),t!==f&&n.hasRendered&&o?o:0)})),x&&(x[x.isPlaced?"animate":"attr"]({d:this.getLinePath(x.strokeWidth())}),x.isPlaced=!0,x[b?"show":"hide"](b)),d&&b&&(h=r.getTitlePosition(),S(h.y)?(d[d.isNew?"attr":"animate"](h),d.isNew=!1):(d.attr("y",-9999),d.isNew=!0)),g&&g.enabled&&r.stacking&&r.stacking.renderStackTotals(),r.isDirty=!1,y(this,"afterRender")},t.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach((function(t){t.render()}))),this.series.forEach((function(t){t.isDirty=!0}))},t.prototype.getKeepProps=function(){return this.keepProps||t.keepProps},t.prototype.destroy=function(t){var e,i=this,o=i.plotLinesAndBands;if(y(this,"destroy",{keepEvents:t}),t||P(i),[i.ticks,i.minorTicks,i.alternateBands].forEach((function(t){u(t)})),o)for(t=o.length;t--;)o[t].destroy();for(e in"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach((function(t){i[t]&&(i[t]=i[t].destroy())})),i.plotLinesAndBandsGroups)i.plotLinesAndBandsGroups[e]=i.plotLinesAndBandsGroups[e].destroy();M(i,(function(t,e){-1===i.getKeepProps().indexOf(e)&&delete i[e]}))},t.prototype.drawCrosshair=function(t,i){var o,r=this.crosshair,n=O(r.snap,!0),s=this.cross,a=this.chart;if(y(this,"drawCrosshair",{e:t,point:i}),t||(t=this.cross&&this.cross.e),this.crosshair&&!1!==(p(i)||!n)){if(n?p(i)&&(o=O("colorAxis"!==this.coll?i.crosshairPos:null,this.isXAxis?i.plotX:this.len-i.plotY)):o=t&&(this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos),p(o)){var h={value:i&&(this.isXAxis?i.x:O(i.stackY,i.y)),translatedValue:o};a.polar&&g(h,{isCrosshair:!0,chartX:t&&t.chartX,chartY:t&&t.chartY,point:i}),h=this.getPlotLinePath(h)||null}if(!p(h))return void this.hideCrosshair();n=this.categories&&!this.isRadial,s||(this.cross=s=a.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(n?"category ":"thin ")+r.className).attr({zIndex:O(r.zIndex,2)}).add(),a.styledMode||(s.attr({stroke:r.color||(n?e.parse("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":O(r.width,1)}).css({"pointer-events":"none"}),r.dashStyle&&s.attr({dashstyle:r.dashStyle}))),s.show().attr({d:h}),n&&!r.width&&s.attr({"stroke-width":this.transA}),this.cross.e=t}else this.hideCrosshair();y(this,"afterDrawCrosshair",{e:t,point:i})},t.prototype.hideCrosshair=function(){this.cross&&this.cross.hide(),y(this,"afterHideCrosshair")},t.prototype.hasVerticalPanning=function(){var t,e;return/y/.test((null===(e=null===(t=this.chart.options.chart)||void 0===t?void 0:t.panning)||void 0===e?void 0:e.type)||"")},t.prototype.validatePositiveValue=function(t){return S(t)&&0<t},t.defaultOptions={dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,labels:{enabled:!0,indentation:10,x:0,style:{color:"#666666",cursor:"default",fontSize:"11px"}},maxPadding:.01,minorTickLength:2,minorTickPosition:"outside",minPadding:.01,showEmpty:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",style:{color:"#666666"}},type:"linear",minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",tickColor:"#ccd6eb"},t.defaultYAxisOptions={endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){var t=this.axis.chart.numberFormatter;return t(this.total,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},t.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},t.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},t.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},t.keepProps="extKey hcEvents names series userMax userMin".split(" "),t}(),i.Axis=t,i.Axis})),e(i,"Core/Axis/DateTimeAxis.js",[i["Core/Axis/Axis.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.addEvent,o=e.getMagnitude,r=e.normalizeTickInterval,n=e.timeUnits,s=function(){function t(t){this.axis=t}return t.prototype.normalizeTimeTickInterval=function(t,e){var i=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];e=i[i.length-1];var s,a=n[e[0]],h=e[1];for(s=0;s<i.length&&(e=i[s],a=n[e[0]],h=e[1],!(i[s+1]&&t<=(a*h[h.length-1]+n[i[s+1][0]])/2));s++);return a===n.year&&t<5*a&&(h=[1,2,5]),t=r(t/a,h,"year"===e[0]?Math.max(o(t/a),1):1),{unitRange:a,count:t,unitName:e[0]}},t}();return e=function(){function t(){}return t.compose=function(t){t.keepProps.push("dateTime"),t.prototype.getTimeTicks=function(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)},i(t,"init",(function(t){"datetime"!==t.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new s(this))}))},t.AdditionsClass=s,t}(),e.compose(t),e})),e(i,"Core/Axis/LogarithmicAxis.js",[i["Core/Axis/Axis.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.addEvent,o=e.getMagnitude,r=e.normalizeTickInterval,n=e.pick,s=function(){function t(t){this.axis=t}return t.prototype.getLogTickPositions=function(t,e,i,s){var a=this.axis,h=a.len,l=a.options,c=[];if(s||(this.minorAutoInterval=void 0),.5<=t)t=Math.round(t),c=a.getLinearTickPositions(t,e,i);else if(.08<=t){var d,p;for(l=Math.floor(e),h=.3<t?[1,2,4]:.15<t?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];l<i+1&&!p;l++){var u=h.length;for(d=0;d<u&&!p;d++){var f=this.log2lin(this.lin2log(l)*h[d]);f>e&&(!s||g<=i)&&"undefined"!==typeof g&&c.push(g),g>i&&(p=!0);var g=f}}}else e=this.lin2log(e),i=this.lin2log(i),t=s?a.getMinorTickInterval():l.tickInterval,t=n("auto"===t?null:t,this.minorAutoInterval,l.tickPixelInterval/(s?5:1)*(i-e)/((s?h/a.tickPositions.length:h)||1)),t=r(t,void 0,o(t)),c=a.getLinearTickPositions(t,e,i).map(this.log2lin),s||(this.minorAutoInterval=t/5);return s||(a.tickInterval=t),c},t.prototype.lin2log=function(t){return Math.pow(10,t)},t.prototype.log2lin=function(t){return Math.log(t)/Math.LN10},t}();return e=function(){function t(){}return t.compose=function(t){t.keepProps.push("logarithmic");var e=t.prototype,o=s.prototype;e.log2lin=o.log2lin,e.lin2log=o.lin2log,i(t,"init",(function(t){var e=this.logarithmic;"logarithmic"!==t.userOptions.type?this.logarithmic=void 0:(e||(e=this.logarithmic=new s(this)),this.log2lin!==e.log2lin&&(e.log2lin=this.log2lin.bind(this)),this.lin2log!==e.lin2log&&(e.lin2log=this.lin2log.bind(this)))})),i(t,"afterInit",(function(){var t=this.logarithmic;t&&(this.lin2val=function(e){return t.lin2log(e)},this.val2lin=function(e){return t.log2lin(e)})}))},t}(),e.compose(t),e})),e(i,"Core/Axis/PlotLineOrBand.js",[i["Core/Axis/Axis.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,i){var o=i.arrayMax,r=i.arrayMin,n=i.defined,s=i.destroyObjectProperties,a=i.erase,h=i.extend,l=i.merge,c=i.objectEach,d=i.pick;return i=function(){function t(t,e){this.axis=t,e&&(this.options=e,this.id=e.id)}return t.prototype.render=function(){e.fireEvent(this,"render");var t=this,i=t.axis,o=i.horiz,r=i.logarithmic,s=t.options,a=s.label,h=t.label,p=s.to,u=s.from,f=s.value,g=n(u)&&n(p),y=n(f),m=t.svgElem,v=!m,x=[],b=s.color,S=d(s.zIndex,0),k=s.events;x={class:"highcharts-plot-"+(g?"band ":"line ")+(s.className||"")};var w={},C=i.chart.renderer,M=g?"bands":"lines";if(r&&(u=r.log2lin(u),p=r.log2lin(p),f=r.log2lin(f)),i.chart.styledMode||(y?(x.stroke=b||"#999999",x["stroke-width"]=d(s.width,1),s.dashStyle&&(x.dashstyle=s.dashStyle)):g&&(x.fill=b||"#e6ebf5",s.borderWidth&&(x.stroke=s.borderColor,x["stroke-width"]=s.borderWidth))),w.zIndex=S,M+="-"+S,(r=i.plotLinesAndBandsGroups[M])||(i.plotLinesAndBandsGroups[M]=r=C.g("plot-"+M).attr(w).add()),v&&(t.svgElem=m=C.path().attr(x).add(r)),y)x=i.getPlotLinePath({value:f,lineWidth:m.strokeWidth(),acrossPanes:s.acrossPanes});else{if(!g)return;x=i.getPlotBandPath(u,p,s)}return!t.eventsAdded&&k&&(c(k,(function(e,i){m.on(i,(function(e){k[i].apply(t,[e])}))})),t.eventsAdded=!0),(v||!m.d)&&x&&x.length?m.attr({d:x}):m&&(x?(m.show(!0),m.animate({d:x})):m.d&&(m.hide(),h&&(t.label=h=h.destroy()))),a&&(n(a.text)||n(a.formatter))&&x&&x.length&&0<i.width&&0<i.height&&!x.isFlat?(a=l({align:o&&g&&"center",x:o?!g&&4:10,verticalAlign:!o&&g&&"middle",y:o?g?16:10:g?6:-4,rotation:o&&!g&&90},a),this.renderLabel(a,x,g,S)):h&&h.hide(),t},t.prototype.renderLabel=function(t,e,i,n){var s=this.label,a=this.axis.chart.renderer;s||(s={align:t.textAlign||t.align,rotation:t.rotation,class:"highcharts-plot-"+(i?"band":"line")+"-label "+(t.className||"")},s.zIndex=n,n=this.getLabelText(t),this.label=s=a.text(n,0,0,t.useHTML).attr(s).add(),this.axis.chart.styledMode||s.css(t.style)),a=e.xBounds||[e[0][1],e[1][1],i?e[2][1]:e[0][1]],e=e.yBounds||[e[0][2],e[1][2],i?e[2][2]:e[0][2]],i=r(a),n=r(e),s.align(t,!1,{x:i,y:n,width:o(a)-i,height:o(e)-n}),s.show(!0)},t.prototype.getLabelText=function(t){return n(t.formatter)?t.formatter.call(this):t.text},t.prototype.destroy=function(){a(this.axis.plotLinesAndBands,this),delete this.axis,s(this)},t}(),h(t.prototype,{getPlotBandPath:function(t,e,i){void 0===i&&(i=this.options);var o=this.getPlotLinePath({value:e,force:!0,acrossPanes:i.acrossPanes});i=this.getPlotLinePath({value:t,force:!0,acrossPanes:i.acrossPanes});var r=[],n=this.horiz,s=1;if(t=t<this.min&&e<this.min||t>this.max&&e>this.max,i&&o){if(t){var a=i.toString()===o.toString();s=0}for(t=0;t<i.length;t+=2){e=i[t];var h=i[t+1],l=o[t],c=o[t+1];"M"!==e[0]&&"L"!==e[0]||"M"!==h[0]&&"L"!==h[0]||"M"!==l[0]&&"L"!==l[0]||"M"!==c[0]&&"L"!==c[0]||(n&&l[1]===e[1]?(l[1]+=s,c[1]+=s):n||l[2]!==e[2]||(l[2]+=s,c[2]+=s),r.push(["M",e[1],e[2]],["L",h[1],h[2]],["L",c[1],c[2]],["L",l[1],l[2]],["Z"])),r.isFlat=a}}return r},addPlotBand:function(t){return this.addPlotBandOrLine(t,"plotBands")},addPlotLine:function(t){return this.addPlotBandOrLine(t,"plotLines")},addPlotBandOrLine:function(t,i){var o=new e.PlotLineOrBand(this,t),r=this.userOptions;if(this.visible&&(o=o.render()),o){if(i){var n=r[i]||[];n.push(t),r[i]=n}this.plotLinesAndBands.push(o),this._addedPlotLB=!0}return o},removePlotBandOrLine:function(t){for(var e=this.plotLinesAndBands,i=this.options,o=this.userOptions,r=e.length;r--;)e[r].id===t&&e[r].destroy();[i.plotLines||[],o.plotLines||[],i.plotBands||[],o.plotBands||[]].forEach((function(e){for(r=e.length;r--;)(e[r]||{}).id===t&&a(e,e[r])}))},removePlotBand:function(t){this.removePlotBandOrLine(t)},removePlotLine:function(t){this.removePlotBandOrLine(t)}}),e.PlotLineOrBand=i,e.PlotLineOrBand})),e(i,"Core/Tooltip.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e){var i=t.doc,o=e.clamp,r=e.css,n=e.defined,s=e.discardElement,a=e.extend,h=e.fireEvent,l=e.format,c=e.isNumber,d=e.isString,p=e.merge,u=e.pick,f=e.splat,g=e.syncTimeout,y=e.timeUnits,m=function(){function m(t,e){this.container=void 0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.now={},this.options={},this.outside=!1,this.chart=t,this.init(t,e)}return m.prototype.applyFilter=function(){var t=this.chart;t.renderer.definition({tagName:"filter",id:"drop-shadow-"+t.index,opacity:.5,children:[{tagName:"feGaussianBlur",in:"SourceAlpha",stdDeviation:1},{tagName:"feOffset",dx:1,dy:1},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",type:"linear",slope:.3}]},{tagName:"feMerge",children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",in:"SourceGraphic"}]}]}),t.renderer.definition({tagName:"style",textContent:".highcharts-tooltip-"+t.index+"{filter:url(#drop-shadow-"+t.index+")}"})},m.prototype.bodyFormatter=function(t){return t.map((function(t){var e=t.series.tooltipOptions;return(e[(t.point.formatPrefix||"point")+"Formatter"]||t.point.tooltipFormatter).call(t.point,e[(t.point.formatPrefix||"point")+"Format"]||"")}))},m.prototype.cleanSplit=function(t){this.chart.series.forEach((function(e){var i=e&&e.tt;i&&(!i.isActive||t?e.tt=i.destroy():i.isActive=!1)}))},m.prototype.defaultFormatter=function(t){var e=this.points||f(this),i=[t.tooltipFooterHeaderFormatter(e[0])];return i=i.concat(t.bodyFormatter(e)),i.push(t.tooltipFooterHeaderFormatter(e[0],!0)),i},m.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(),s(this.container)),e.clearTimeout(this.hideTimer),e.clearTimeout(this.tooltipTimeout)},m.prototype.getAnchor=function(t,e){var i,o,r=this.chart,n=r.pointer,s=r.inverted,a=r.plotTop,h=r.plotLeft,l=0,c=0;return t=f(t),this.followPointer&&e?("undefined"===typeof e.chartX&&(e=n.normalize(e)),t=[e.chartX-h,e.chartY-a]):t[0].tooltipPos?t=t[0].tooltipPos:(t.forEach((function(t){i=t.series.yAxis,o=t.series.xAxis,l+=t.plotX+(!s&&o?o.left-h:0),c+=(t.plotLow?(t.plotLow+t.plotHigh)/2:t.plotY)+(!s&&i?i.top-a:0)})),l/=t.length,c/=t.length,t=[s?r.plotWidth-c:l,this.shared&&!s&&1<t.length&&e?e.chartY-a:s?r.plotHeight-l:c]),t.map(Math.round)},m.prototype.getDateFormat=function(t,e,i,o){var r=this.chart.time,n=r.dateFormat("%m-%d %H:%M:%S.%L",e),s={millisecond:15,second:12,minute:9,hour:6,day:3},a="millisecond";for(h in y){if(t===y.week&&+r.dateFormat("%w",e)===i&&"00:00:00.000"===n.substr(6)){var h="week";break}if(y[h]>t){h=a;break}if(s[h]&&n.substr(s[h])!=="01-01 00:00:00.000".substr(s[h]))break;"week"!==h&&(a=h)}if(h)var l=r.resolveDTLFormat(o[h]).main;return l},m.prototype.getLabel=function(){var e,i,o,s=this,a=this.chart.renderer,h=this.chart.styledMode,l=this.options,c="tooltip"+(n(l.className)?" "+l.className:""),d=(null===(e=l.style)||void 0===e?void 0:e.pointerEvents)||(!this.followPointer&&l.stickOnContact?"auto":"none");e=function(){s.inContact=!0};var p=function(){var t=s.chart.hoverSeries;s.inContact=!1,t&&t.onMouseOut&&t.onMouseOut()};if(!this.label){if(this.outside&&(this.container=o=t.doc.createElement("div"),o.className="highcharts-tooltip-container",r(o,{position:"absolute",top:"1px",pointerEvents:d,zIndex:3}),t.doc.body.appendChild(o),this.renderer=a=new t.Renderer(o,0,0,null===(i=this.chart.options.chart)||void 0===i?void 0:i.style,void 0,void 0,a.styledMode)),this.split?this.label=a.g(c):(this.label=a.label("",0,0,l.shape||"callout",null,null,l.useHTML,null,c).attr({padding:l.padding,r:l.borderRadius}),h||this.label.attr({fill:l.backgroundColor,"stroke-width":l.borderWidth}).css(l.style).css({pointerEvents:d}).shadow(l.shadow)),h&&(this.applyFilter(),this.label.addClass("highcharts-tooltip-"+this.chart.index)),s.outside&&!s.split){var u=this.label,f=u.xSetter,g=u.ySetter;u.xSetter=function(t){f.call(u,s.distance),o.style.left=t+"px"},u.ySetter=function(t){g.call(u,s.distance),o.style.top=t+"px"}}this.label.on("mouseenter",e).on("mouseleave",p).attr({zIndex:8}).add()}return this.label},m.prototype.getPosition=function(t,e,o){var r,n=this.chart,s=this.distance,a={},h=n.inverted&&o.h||0,l=this.outside,c=l?i.documentElement.clientWidth-2*s:n.chartWidth,d=l?Math.max(i.body.scrollHeight,i.documentElement.scrollHeight,i.body.offsetHeight,i.documentElement.offsetHeight,i.documentElement.clientHeight):n.chartHeight,p=n.pointer.getChartPosition(),f=n.containerScaling,g=function(t){return f?t*f.scaleX:t},y=function(t){return f?t*f.scaleY:t},m=function(i){var r="x"===i;return[i,r?c:d,r?t:e].concat(l?[r?g(t):y(e),r?p.left-s+g(o.plotX+n.plotLeft):p.top-s+y(o.plotY+n.plotTop),0,r?c:d]:[r?t:e,r?o.plotX+n.plotLeft:o.plotY+n.plotTop,r?n.plotLeft:n.plotTop,r?n.plotLeft+n.plotWidth:n.plotTop+n.plotHeight])},v=m("y"),x=m("x"),b=!this.followPointer&&u(o.ttBelow,!n.inverted===!!o.negative),S=function(t,e,i,o,r,n,l){var c="y"===t?y(s):g(s),d=(i-o)/2,p=o<r-s,u=r+s+o<e,f=r-c-i+d;if(r=r+c-d,b&&u)a[t]=r;else if(!b&&p)a[t]=f;else if(p)a[t]=Math.min(l-o,0>f-h?f:f-h);else{if(!u)return!1;a[t]=Math.max(n,r+h+i>e?r:r+h)}},k=function(t,e,i,o,r){var n;return r<s||r>e-s?n=!1:a[t]=r<i/2?1:r>e-o/2?e-o-2:r-i/2,n},w=function(t){var e=v;v=x,x=e,r=t},C=function(){!1!==S.apply(0,v)?!1!==k.apply(0,x)||r||(w(!0),C()):r?a.x=a.y=0:(w(!0),C())};return(n.inverted||1<this.len)&&w(),C(),a},m.prototype.getXDateFormat=function(t,e,i){e=e.dateTimeLabelFormats;var o=i&&i.closestPointRange;return(o?this.getDateFormat(o,t.x,i.options.startOfWeek,e):e.day)||e.year},m.prototype.hide=function(t){var i=this;e.clearTimeout(this.hideTimer),t=u(t,this.options.hideDelay,500),this.isHidden||(this.hideTimer=g((function(){i.getLabel().fadeOut(t?void 0:t),i.isHidden=!0}),t))},m.prototype.init=function(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.split=e.split&&!t.inverted&&!t.polar,this.shared=e.shared||this.split,this.outside=u(e.outside,!(!t.scrollablePixelsX&&!t.scrollablePixelsY))},m.prototype.isStickyOnContact=function(){return!(this.followPointer||!this.options.stickOnContact||!this.inContact)},m.prototype.move=function(t,i,o,r){var n=this,s=n.now,h=!1!==n.options.animation&&!n.isHidden&&(1<Math.abs(t-s.x)||1<Math.abs(i-s.y)),l=n.followPointer||1<n.len;a(s,{x:h?(2*s.x+t)/3:t,y:h?(s.y+i)/2:i,anchorX:l?void 0:h?(2*s.anchorX+o)/3:o,anchorY:l?void 0:h?(s.anchorY+r)/2:r}),n.getLabel().attr(s),n.drawTracker(),h&&(e.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout((function(){n&&n.move(t,i,o,r)}),32))},m.prototype.refresh=function(t,i){var o=this.chart,r=this.options,n=t,s={},a=[],l=r.formatter||this.defaultFormatter;s=this.shared;var c=o.styledMode;if(r.enabled){e.clearTimeout(this.hideTimer),this.followPointer=f(n)[0].series.tooltipOptions.followPointer;var d=this.getAnchor(n,i);i=d[0];var p=d[1];!s||n.series&&n.series.noSharedTooltip?s=n.getLabelConfig():(o.pointer.applyInactiveState(n),n.forEach((function(t){t.setState("hover"),a.push(t.getLabelConfig())})),s={x:n[0].category,y:n[0].y},s.points=a,n=n[0]),this.len=a.length,o=l.call(s,this),l=n.series,this.distance=u(l.tooltipOptions.distance,16),!1===o?this.hide():(this.split?this.renderSplit(o,f(t)):(t=this.getLabel(),r.style.width&&!c||t.css({width:this.chart.spacingBox.width+"px"}),t.attr({text:o&&o.join?o.join(""):o}),t.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+u(n.colorIndex,l.colorIndex)),c||t.attr({stroke:r.borderColor||n.color||l.color||"#666666"}),this.updatePosition({plotX:i,plotY:p,negative:n.negative,ttBelow:n.ttBelow,h:d[2]||0})),this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1),h(this,"refresh")}},m.prototype.renderSplit=function(e,i){function r(t,e,i,r,n){return void 0===n&&(n=!0),i?(e=O?0:T,t=o(t-r/2,C.left,C.right-r)):(e-=A,t=n?t-r-S:t+S,t=o(t,n?t:C.left,C.right)),{x:t,y:e}}var n=this,s=n.chart,h=n.chart,l=h.plotHeight,c=h.plotLeft,p=h.plotTop,f=h.pointer,g=h.renderer,y=h.scrollablePixelsY,m=void 0===y?0:y;y=h.scrollingContainer,y=void 0===y?{scrollLeft:0,scrollTop:0}:y;var v=y.scrollLeft,x=y.scrollTop,b=h.styledMode,S=n.distance,k=n.options,w=n.options.positioner,C={left:v,right:v+h.chartWidth,top:x,bottom:x+h.chartHeight},M=n.getLabel(),O=!(!s.xAxis[0]||!s.xAxis[0].opposite),A=p+x,P=0,T=l-m;d(e)&&(e=[!1,e]),e=e.slice(0,i.length+1).reduce((function(t,e,s){if(!1!==e&&""!==e){s=i[s-1]||{isHeader:!0,plotX:i[0].plotX,plotY:l,series:{}};var a=s.isHeader,h=a?n:s.series,d=h.tt,f=s.isHeader,y=s.series,v="highcharts-color-"+u(s.colorIndex,y.colorIndex,"none");d||(d={padding:k.padding,r:k.borderRadius},b||(d.fill=k.backgroundColor,d["stroke-width"]=k.borderWidth),d=g.label("",0,0,k[f?"headerShape":"shape"]||"callout",void 0,void 0,k.useHTML).addClass((f?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+v).attr(d).add(M)),d.isActive=!0,d.attr({text:e}),b||d.css(k.style).shadow(k.shadow).attr({stroke:k.borderColor||s.color||y.color||"#333333"}),e=h.tt=d,f=e.getBBox(),h=f.width+e.strokeWidth(),a&&(P=f.height,T+=P,O&&(A-=P)),y=s.plotX,y=void 0===y?0:y,v=s.plotY,v=void 0===v?0:v;var L=s.series;if(s.isHeader){y=c+y;var E=p+l/2}else d=L.xAxis,L=L.yAxis,y=d.pos+o(y,-S,d.len+S),L.pos+v>=x+p&&L.pos+v<=x+p+l-m&&(E=L.pos+v);y=o(y,C.left-S,C.right+S),"number"===typeof E?(f=f.height+1,v=w?w.call(n,h,f,s):r(y,E,a,h),t.push({align:w?0:void 0,anchorX:y,anchorY:E,boxWidth:h,point:s,rank:u(v.rank,a?1:0),size:f,target:v.y,tt:e,x:v.x})):e.isActive=!1}return t}),[]),!w&&e.some((function(t){return t.x<C.left}))&&(e=e.map((function(t){var e=r(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return a(t,{target:e.y,x:e.x})}))),n.cleanSplit(),t.distribute(e,T),e.forEach((function(t){var e=t.pos;t.tt.attr({visibility:"undefined"===typeof e?"hidden":"inherit",x:t.x,y:e+A,anchorX:t.anchorX,anchorY:t.anchorY})})),e=n.container,s=n.renderer,n.outside&&e&&s&&(h=M.getBBox(),s.setSize(h.width+h.x,h.height+h.y,!1),f=f.getChartPosition(),e.style.left=f.left+"px",e.style.top=f.top+"px")},m.prototype.drawTracker=function(){if(this.followPointer||!this.options.stickOnContact)this.tracker&&this.tracker.destroy();else{var t=this.chart,e=this.label,i=t.hoverPoint;if(e&&i){var o={x:0,y:0,width:0,height:0};i=this.getAnchor(i);var r=e.getBBox();i[0]+=t.plotLeft-e.translateX,i[1]+=t.plotTop-e.translateY,o.x=Math.min(0,i[0]),o.y=Math.min(0,i[1]),o.width=0>i[0]?Math.max(Math.abs(i[0]),r.width-i[0]):Math.max(Math.abs(i[0]),r.width),o.height=0>i[1]?Math.max(Math.abs(i[1]),r.height-Math.abs(i[1])):Math.max(Math.abs(i[1]),r.height),this.tracker?this.tracker.attr(o):(this.tracker=e.renderer.rect(o).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}},m.prototype.styledModeFormat=function(t){return t.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},m.prototype.tooltipFooterHeaderFormatter=function(t,e){var i=e?"footer":"header",o=t.series,r=o.tooltipOptions,n=r.xDateFormat,s=o.xAxis,a=s&&"datetime"===s.options.type&&c(t.key),d=r[i+"Format"];return e={isFooter:e,labelConfig:t},h(this,"headerFormatter",e,(function(e){a&&!n&&(n=this.getXDateFormat(t,r,s)),a&&n&&(t.point&&t.point.tooltipDateKeys||["key"]).forEach((function(t){d=d.replace("{point."+t+"}","{point."+t+":"+n+"}")})),o.chart.styledMode&&(d=this.styledModeFormat(d)),e.text=l(d,{point:t,series:o},this.chart)})),e.text},m.prototype.update=function(t){this.destroy(),p(!0,this.chart.options.tooltip.userOptions,t),this.init(this.chart,p(!0,this.options,t))},m.prototype.updatePosition=function(t){var e=this.chart,i=e.pointer,o=this.getLabel(),n=t.plotX+e.plotLeft,s=t.plotY+e.plotTop;if(i=i.getChartPosition(),t=(this.options.positioner||this.getPosition).call(this,o.width,o.height,t),this.outside){var a=(this.options.borderWidth||0)+2*this.distance;this.renderer.setSize(o.width+a,o.height+a,!1),(e=e.containerScaling)&&(r(this.container,{transform:"scale("+e.scaleX+", "+e.scaleY+")"}),n*=e.scaleX,s*=e.scaleY),n+=i.left-t.x,s+=i.top-t.y}this.move(Math.round(t.x),Math.round(t.y||0),n,s)},m}();return t.Tooltip=m,t.Tooltip})),e(i,"Core/Pointer.js",[i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Tooltip.js"],i["Core/Utilities.js"]],(function(t,e,i,o){var r=t.parse,n=e.charts,s=e.noop,a=o.addEvent,h=o.attr,l=o.css,c=o.defined,d=o.extend,p=o.find,u=o.fireEvent,f=o.isNumber,g=o.isObject,y=o.objectEach,m=o.offset,v=o.pick,x=o.splat;return t=function(){function t(t,e){this.lastValidTouch={},this.pinchDown=[],this.runChartClick=!1,this.chart=t,this.hasDragged=!1,this.options=e,this.unbindContainerMouseLeave=function(){},this.unbindContainerMouseEnter=function(){},this.init(t,e)}return t.prototype.applyInactiveState=function(t){var e,i=[];(t||[]).forEach((function(t){e=t.series,i.push(e),e.linkedParent&&i.push(e.linkedParent),e.linkedSeries&&(i=i.concat(e.linkedSeries)),e.navigatorSeries&&i.push(e.navigatorSeries)})),this.chart.series.forEach((function(t){-1===i.indexOf(t)?t.setState("inactive",!0):t.options.inactiveOtherPoints&&t.setAllPointsToState("inactive")}))},t.prototype.destroy=function(){var t=this;"undefined"!==typeof t.unDocMouseMove&&t.unDocMouseMove(),this.unbindContainerMouseLeave(),e.chartCount||(e.unbindDocumentMouseUp&&(e.unbindDocumentMouseUp=e.unbindDocumentMouseUp()),e.unbindDocumentTouchEnd&&(e.unbindDocumentTouchEnd=e.unbindDocumentTouchEnd())),clearInterval(t.tooltipTimeout),y(t,(function(e,i){t[i]=void 0}))},t.prototype.drag=function(t){var e=this.chart,i=e.options.chart,o=t.chartX,n=t.chartY,s=this.zoomHor,a=this.zoomVert,h=e.plotLeft,l=e.plotTop,c=e.plotWidth,d=e.plotHeight,p=this.selectionMarker,u=this.mouseDownX||0,f=this.mouseDownY||0,y=g(i.panning)?i.panning&&i.panning.enabled:i.panning,m=i.panKey&&t[i.panKey+"Key"];if((!p||!p.touch)&&(o<h?o=h:o>h+c&&(o=h+c),n<l?n=l:n>l+d&&(n=l+d),this.hasDragged=Math.sqrt(Math.pow(u-o,2)+Math.pow(f-n,2)),10<this.hasDragged)){var v=e.isInsidePlot(u-h,f-l);e.hasCartesianSeries&&(this.zoomX||this.zoomY)&&v&&!m&&!p&&(this.selectionMarker=p=e.renderer.rect(h,l,s?1:c,a?1:d,0).attr({class:"highcharts-selection-marker",zIndex:7}).add(),e.styledMode||p.attr({fill:i.selectionMarkerFill||r("#335cad").setOpacity(.25).get()})),p&&s&&(o-=u,p.attr({width:Math.abs(o),x:(0<o?0:o)+u})),p&&a&&(o=n-f,p.attr({height:Math.abs(o),y:(0<o?0:o)+f})),v&&!p&&y&&e.pan(t,i.panning)}},t.prototype.dragStart=function(t){var e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=this.mouseDownX=t.chartX,e.mouseDownY=this.mouseDownY=t.chartY},t.prototype.drop=function(t){var e=this,i=this.chart,o=this.hasPinched;if(this.selectionMarker){var r,n={originalEvent:t,xAxis:[],yAxis:[]},s=this.selectionMarker,a=s.attr?s.attr("x"):s.x,h=s.attr?s.attr("y"):s.y,p=s.attr?s.attr("width"):s.width,g=s.attr?s.attr("height"):s.height;(this.hasDragged||o)&&(i.axes.forEach((function(i){if(i.zoomEnabled&&c(i.min)&&(o||e[{xAxis:"zoomX",yAxis:"zoomY"}[i.coll]])&&f(a)&&f(h)){var s=i.horiz,l="touchend"===t.type?i.minPixelPadding:0,d=i.toValue((s?a:h)+l);s=i.toValue((s?a+p:h+g)-l),n[i.coll].push({axis:i,min:Math.min(d,s),max:Math.max(d,s)}),r=!0}})),r&&u(i,"selection",n,(function(t){i.zoom(d(t,o?{animation:!1}:null))}))),f(i.index)&&(this.selectionMarker=this.selectionMarker.destroy()),o&&this.scaleGroups()}i&&f(i.index)&&(l(i.container,{cursor:i._cursor}),i.cancelClick=10<this.hasDragged,i.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},t.prototype.findNearestKDPoint=function(t,e,i){var o,r=this.chart,n=r.hoverPoint;return r=r.tooltip,n&&r&&r.isStickyOnContact()?n:(t.forEach((function(t){var r=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y");if(t=t.searchPoint(i,r),(r=g(t,!0))&&!(r=!g(o,!0))){r=o.distX-t.distX;var n=o.dist-t.dist,s=(t.series.group&&t.series.group.zIndex)-(o.series.group&&o.series.group.zIndex);r=0<(0!==r&&e?r:0!==n?n:0!==s?s:o.series.index>t.series.index?-1:1)}r&&(o=t)})),o)},t.prototype.getChartCoordinatesFromPoint=function(t,e){var i=t.series,o=i.xAxis;i=i.yAxis;var r=v(t.clientX,t.plotX),n=t.shapeArgs;return o&&i?e?{chartX:o.len+o.pos-r,chartY:i.len+i.pos-t.plotY}:{chartX:r+o.pos,chartY:t.plotY+i.pos}:n&&n.x&&n.y?{chartX:n.x,chartY:n.y}:void 0},t.prototype.getChartPosition=function(){return this.chartPosition||(this.chartPosition=m(this.chart.container))},t.prototype.getCoordinates=function(t){var e={xAxis:[],yAxis:[]};return this.chart.axes.forEach((function(i){e[i.isXAxis?"xAxis":"yAxis"].push({axis:i,value:i.toValue(t[i.horiz?"chartX":"chartY"])})})),e},t.prototype.getHoverData=function(t,e,i,o,r,n){var s,a=[];o=!(!o||!t);var h=e&&!e.stickyTracking,l={chartX:n?n.chartX:void 0,chartY:n?n.chartY:void 0,shared:r};return u(this,"beforeGetHoverData",l),h=h?[e]:i.filter((function(t){return l.filter?l.filter(t):t.visible&&!(!r&&t.directTouch)&&v(t.options.enableMouseTracking,!0)&&t.stickyTracking})),e=(s=o||!n?t:this.findNearestKDPoint(h,r,n))&&s.series,s&&(r&&!e.noSharedTooltip?(h=i.filter((function(t){return l.filter?l.filter(t):t.visible&&!(!r&&t.directTouch)&&v(t.options.enableMouseTracking,!0)&&!t.noSharedTooltip})),h.forEach((function(t){var e=p(t.points,(function(t){return t.x===s.x&&!t.isNull}));g(e)&&(t.chart.isBoosting&&(e=t.getPoint(e)),a.push(e))}))):a.push(s)),l={hoverPoint:s},u(this,"afterGetHoverData",l),{hoverPoint:l.hoverPoint,hoverSeries:e,hoverPoints:a}},t.prototype.getPointFromEvent=function(t){t=t.target;for(var e;t&&!e;)e=t.point,t=t.parentNode;return e},t.prototype.onTrackerMouseOut=function(t){t=t.relatedTarget||t.toElement;var e=this.chart.hoverSeries;this.isDirectTouch=!1,!e||!t||e.stickyTracking||this.inClass(t,"highcharts-tooltip")||this.inClass(t,"highcharts-series-"+e.index)&&this.inClass(t,"highcharts-tracker")||e.onMouseOut()},t.prototype.inClass=function(t,e){for(var i;t;){if(i=h(t,"class")){if(-1!==i.indexOf(e))return!0;if(-1!==i.indexOf("highcharts-container"))return!1}t=t.parentNode}},t.prototype.init=function(t,e){this.options=e,this.chart=t,this.runChartClick=e.chart.events&&!!e.chart.events.click,this.pinchDown=[],this.lastValidTouch={},i&&(t.tooltip=new i(t,e.tooltip),this.followTouchMove=v(e.tooltip.followTouchMove,!0)),this.setDOMEvents()},t.prototype.normalize=function(t,e){var i=t.touches,o=i?i.length?i.item(0):v(i.changedTouches,t.changedTouches)[0]:t;return e||(e=this.getChartPosition()),i=o.pageX-e.left,e=o.pageY-e.top,(o=this.chart.containerScaling)&&(i/=o.scaleX,e/=o.scaleY),d(t,{chartX:Math.round(i),chartY:Math.round(e)})},t.prototype.onContainerClick=function(t){var e=this.chart,i=e.hoverPoint;t=this.normalize(t);var o=e.plotLeft,r=e.plotTop;e.cancelClick||(i&&this.inClass(t.target,"highcharts-tracker")?(u(i.series,"click",d(t,{point:i})),e.hoverPoint&&i.firePointEvent("click",t)):(d(t,this.getCoordinates(t)),e.isInsidePlot(t.chartX-o,t.chartY-r)&&u(e,"click",t)))},t.prototype.onContainerMouseDown=function(t){var i=1===(1&(t.buttons||t.button));t=this.normalize(t),e.isFirefox&&0!==t.button&&this.onContainerMouseMove(t),("undefined"===typeof t.button||i)&&(this.zoomOption(t),i&&t.preventDefault&&t.preventDefault(),this.dragStart(t))},t.prototype.onContainerMouseLeave=function(t){var i=n[v(e.hoverChartIndex,-1)],o=this.chart.tooltip;t=this.normalize(t),i&&(t.relatedTarget||t.toElement)&&(i.pointer.reset(),i.pointer.chartPosition=void 0),o&&!o.isHidden&&this.reset()},t.prototype.onContainerMouseEnter=function(t){delete this.chartPosition},t.prototype.onContainerMouseMove=function(t){var e=this.chart;t=this.normalize(t),this.setHoverChartIndex(),t.preventDefault||(t.returnValue=!1),"mousedown"===e.mouseIsDown&&this.drag(t),e.openMenu||!this.inClass(t.target,"highcharts-tracker")&&!e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop)||this.runPointActions(t)},t.prototype.onDocumentTouchEnd=function(t){n[e.hoverChartIndex]&&n[e.hoverChartIndex].pointer.drop(t)},t.prototype.onContainerTouchMove=function(t){this.touch(t)},t.prototype.onContainerTouchStart=function(t){this.zoomOption(t),this.touch(t,!0)},t.prototype.onDocumentMouseMove=function(t){var e=this.chart,i=this.chartPosition;t=this.normalize(t,i);var o=e.tooltip;!i||o&&o.isStickyOnContact()||e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop)||this.inClass(t.target,"highcharts-tracker")||this.reset()},t.prototype.onDocumentMouseUp=function(t){var i=n[v(e.hoverChartIndex,-1)];i&&i.pointer.drop(t)},t.prototype.pinch=function(t){var e=this,i=e.chart,o=e.pinchDown,r=t.touches||[],n=r.length,a=e.lastValidTouch,h=e.hasZoom,l=e.selectionMarker,c={},p=1===n&&(e.inClass(t.target,"highcharts-tracker")&&i.runTrackerClick||e.runChartClick),u={};1<n&&(e.initiated=!0),h&&e.initiated&&!p&&!1!==t.cancelable&&t.preventDefault(),[].map.call(r,(function(t){return e.normalize(t)})),"touchstart"===t.type?([].forEach.call(r,(function(t,e){o[e]={chartX:t.chartX,chartY:t.chartY}})),a.x=[o[0].chartX,o[1]&&o[1].chartX],a.y=[o[0].chartY,o[1]&&o[1].chartY],i.axes.forEach((function(t){if(t.zoomEnabled){var e=i.bounds[t.horiz?"h":"v"],o=t.minPixelPadding,r=t.toPixels(Math.min(v(t.options.min,t.dataMin),t.dataMin)),n=t.toPixels(Math.max(v(t.options.max,t.dataMax),t.dataMax)),s=Math.max(r,n);e.min=Math.min(t.pos,Math.min(r,n)-o),e.max=Math.max(t.pos+t.len,s+o)}})),e.res=!0):e.followTouchMove&&1===n?this.runPointActions(e.normalize(t)):o.length&&(l||(e.selectionMarker=l=d({destroy:s,touch:!0},i.plotBox)),e.pinchTranslate(o,r,c,l,u,a),e.hasPinched=h,e.scaleGroups(c,u),e.res&&(e.res=!1,this.reset(!1,0)))},t.prototype.pinchTranslate=function(t,e,i,o,r,n){this.zoomHor&&this.pinchTranslateDirection(!0,t,e,i,o,r,n),this.zoomVert&&this.pinchTranslateDirection(!1,t,e,i,o,r,n)},t.prototype.pinchTranslateDirection=function(t,e,i,o,r,n,s,a){var h,l,c=this.chart,d=t?"x":"y",p=t?"X":"Y",u="chart"+p,f=t?"width":"height",g=c["plot"+(t?"Left":"Top")],y=a||1,m=c.inverted,v=c.bounds[t?"h":"v"],x=1===e.length,b=e[0][u],S=i[0][u],k=!x&&e[1][u],w=!x&&i[1][u];if(i=function(){"number"===typeof w&&20<Math.abs(b-k)&&(y=a||Math.abs(S-w)/Math.abs(b-k)),l=(g-S)/y+b,h=c["plot"+(t?"Width":"Height")]/y},i(),e=l,e<v.min){e=v.min;var C=!0}else e+h>v.max&&(e=v.max-h,C=!0);C?(S-=.8*(S-s[d][0]),"number"===typeof w&&(w-=.8*(w-s[d][1])),i()):s[d]=[S,w],m||(n[d]=l-g,n[f]=h),n=m?1/y:y,r[f]=h,r[d]=e,o[m?t?"scaleY":"scaleX":"scale"+p]=y,o["translate"+p]=n*g+(S-n*b)},t.prototype.reset=function(t,e){var i=this.chart,o=i.hoverSeries,r=i.hoverPoint,n=i.hoverPoints,s=i.tooltip,a=s&&s.shared?n:r;t&&a&&x(a).forEach((function(e){e.series.isCartesian&&"undefined"===typeof e.plotX&&(t=!1)})),t?s&&a&&x(a).length&&(s.refresh(a),s.shared&&n?n.forEach((function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))})):r&&(r.setState(r.state,!0),i.axes.forEach((function(t){t.crosshair&&r.series[t.coll]===t&&t.drawCrosshair(null,r)})))):(r&&r.onMouseOut(),n&&n.forEach((function(t){t.setState()})),o&&o.onMouseOut(),s&&s.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),i.axes.forEach((function(t){t.hideCrosshair()})),this.hoverX=i.hoverPoints=i.hoverPoint=null)},t.prototype.runPointActions=function(t,i){var o=this.chart,r=o.tooltip&&o.tooltip.options.enabled?o.tooltip:void 0,s=!!r&&r.shared,h=i||o.hoverPoint,l=h&&h.series||o.hoverSeries;l=this.getHoverData(h,l,o.series,(!t||"touchmove"!==t.type)&&(!!i||l&&l.directTouch&&this.isDirectTouch),s,t),h=l.hoverPoint;var c=l.hoverPoints;if(i=(l=l.hoverSeries)&&l.tooltipOptions.followPointer,s=s&&l&&!l.noSharedTooltip,h&&(h!==o.hoverPoint||r&&r.isHidden)){if((o.hoverPoints||[]).forEach((function(t){-1===c.indexOf(t)&&t.setState()})),o.hoverSeries!==l&&l.onMouseOver(),this.applyInactiveState(c),(c||[]).forEach((function(t){t.setState("hover")})),o.hoverPoint&&o.hoverPoint.firePointEvent("mouseOut"),!h.series)return;o.hoverPoints=c,o.hoverPoint=h,h.firePointEvent("mouseOver"),r&&r.refresh(s?c:h,t)}else i&&r&&!r.isHidden&&(h=r.getAnchor([{}],t),r.updatePosition({plotX:h[0],plotY:h[1]}));this.unDocMouseMove||(this.unDocMouseMove=a(o.container.ownerDocument,"mousemove",(function(t){var i=n[e.hoverChartIndex];i&&i.pointer.onDocumentMouseMove(t)}))),o.axes.forEach((function(e){var i,r=v((e.crosshair||{}).snap,!0);r&&((i=o.hoverPoint)&&i.series[e.coll]===e||(i=p(c,(function(t){return t.series[e.coll]===e})))),i||!r?e.drawCrosshair(t,i):e.hideCrosshair()}))},t.prototype.scaleGroups=function(t,e){var i,o=this.chart;o.series.forEach((function(r){i=t||r.getPlotBox(),r.xAxis&&r.xAxis.zoomEnabled&&r.group&&(r.group.attr(i),r.markerGroup&&(r.markerGroup.attr(i),r.markerGroup.clip(e?o.clipRect:null)),r.dataLabelsGroup&&r.dataLabelsGroup.attr(i))})),o.clipRect.attr(e||o.clipBox)},t.prototype.setDOMEvents=function(){var t=this.chart.container,i=t.ownerDocument;t.onmousedown=this.onContainerMouseDown.bind(this),t.onmousemove=this.onContainerMouseMove.bind(this),t.onclick=this.onContainerClick.bind(this),this.unbindContainerMouseEnter=a(t,"mouseenter",this.onContainerMouseEnter.bind(this)),this.unbindContainerMouseLeave=a(t,"mouseleave",this.onContainerMouseLeave.bind(this)),e.unbindDocumentMouseUp||(e.unbindDocumentMouseUp=a(i,"mouseup",this.onDocumentMouseUp.bind(this))),e.hasTouch&&(a(t,"touchstart",this.onContainerTouchStart.bind(this)),a(t,"touchmove",this.onContainerTouchMove.bind(this)),e.unbindDocumentTouchEnd||(e.unbindDocumentTouchEnd=a(i,"touchend",this.onDocumentTouchEnd.bind(this))))},t.prototype.setHoverChartIndex=function(){var t=this.chart,i=e.charts[v(e.hoverChartIndex,-1)];i&&i!==t&&i.pointer.onContainerMouseLeave({relatedTarget:!0}),i&&i.mouseIsDown||(e.hoverChartIndex=t.index)},t.prototype.touch=function(t,e){var i=this.chart;if(this.setHoverChartIndex(),1===t.touches.length)if(t=this.normalize(t),i.isInsidePlot(t.chartX-i.plotLeft,t.chartY-i.plotTop)&&!i.openMenu){if(e&&this.runPointActions(t),"touchmove"===t.type){e=this.pinchDown;var o=!!e[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2))}v(o,!0)&&this.pinch(t)}else e&&this.reset();else 2===t.touches.length&&this.pinch(t)},t.prototype.zoomOption=function(t){var e=this.chart,i=e.options.chart,o=i.zoomType||"";e=e.inverted,/touch/.test(t.type)&&(o=v(i.pinchType,o)),this.zoomX=t=/x/.test(o),this.zoomY=o=/y/.test(o),this.zoomHor=t&&!e||o&&e,this.zoomVert=o&&!e||t&&e,this.hasZoom=t||o},t}(),e.Pointer=t})),e(i,"Core/MSPointer.js",[i["Core/Globals.js"],i["Core/Pointer.js"],i["Core/Utilities.js"]],(function(t,e,i){function o(){var t=[];return t.item=function(t){return this[t]},d(u,(function(e){t.push({pageX:e.pageX,pageY:e.pageY,target:e.target})})),t}function r(e,i,r,n){"touch"!==e.pointerType&&e.pointerType!==e.MSPOINTER_TYPE_TOUCH||!s[t.hoverChartIndex]||(n(e),n=s[t.hoverChartIndex].pointer,n[i]({type:r,target:e.currentTarget,preventDefault:h,touches:o()}))}var n=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),s=t.charts,a=t.doc,h=t.noop,l=i.addEvent,c=i.css,d=i.objectEach,p=i.removeEvent,u={},f=!!t.win.PointerEvent;return function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.batchMSEvents=function(t){t(this.chart.container,f?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,f?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(a,f?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},e.prototype.destroy=function(){this.batchMSEvents(p),t.prototype.destroy.call(this)},e.prototype.init=function(e,i){t.prototype.init.call(this,e,i),this.hasZoom&&c(e.container,{"-ms-touch-action":"none","touch-action":"none"})},e.prototype.onContainerPointerDown=function(t){r(t,"onContainerTouchStart","touchstart",(function(t){u[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}}))},e.prototype.onContainerPointerMove=function(t){r(t,"onContainerTouchMove","touchmove",(function(t){u[t.pointerId]={pageX:t.pageX,pageY:t.pageY},u[t.pointerId].target||(u[t.pointerId].target=t.currentTarget)}))},e.prototype.onDocumentPointerUp=function(t){r(t,"onDocumentTouchEnd","touchend",(function(t){delete u[t.pointerId]}))},e.prototype.setDOMEvents=function(){t.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(l)},e}(e)})),e(i,"Core/Legend.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,i){var o=t.animObject,r=t.setAnimation,n=i.addEvent,s=i.css,a=i.defined,h=i.discardElement,l=i.find,c=i.fireEvent,d=i.format,p=i.isNumber,u=i.merge,f=i.pick,g=i.relativeLength,y=i.stableSort,m=i.syncTimeout;t=i.wrap,i=e.isFirefox;var v=e.marginNames,x=e.win,b=function(){function t(t,e){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options={},this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=t,this.init(t,e)}return t.prototype.init=function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),n(this.chart,"endResize",(function(){this.legend.positionCheckboxes()})),this.proximate?this.unchartrender=n(this.chart,"render",(function(){this.legend.proximatePositions(),this.legend.positionItems()})):this.unchartrender&&this.unchartrender())},t.prototype.setOptions=function(t){var e=f(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=u(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop||0,this.itemMarginBottom=t.itemMarginBottom||0,this.padding=e,this.initialItemY=e-5,this.symbolWidth=f(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0},t.prototype.update=function(t,e){var i=this.chart;this.setOptions(u(!0,this.options,t)),this.destroy(),i.isDirtyLegend=i.isDirtyBox=!0,f(e,!0)&&i.redraw(),c(this,"afterUpdate")},t.prototype.colorizeItem=function(t,e){if(t.legendGroup[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var i=this.options,o=t.legendItem,r=t.legendLine,n=t.legendSymbol,s=this.itemHiddenStyle.color;i=e?i.itemStyle.color:s;var a=e&&t.color||s,h=t.options&&t.options.marker,l={fill:a};o&&o.css({fill:i,color:i}),r&&r.attr({stroke:a}),n&&(h&&n.isMarker&&(l=t.pointAttribs(),e||(l.stroke=l.fill=s)),n.attr(l))}c(this,"afterColorizeItem",{item:t,visible:e})},t.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},t.prototype.positionItem=function(t){var e=this,i=this.options,o=i.symbolPadding,r=!i.rtl,n=t._legendItemPos;i=n[0],n=n[1];var s=t.checkbox,h=t.legendGroup;h&&h.element&&(o={translateX:r?i:this.legendWidth-i-2*o-4,translateY:n},r=function(){c(e,"afterPositionItem",{item:t})},a(h.translateY)?h.animate(o,void 0,r):(h.attr(o),r())),s&&(s.x=i,s.y=n)},t.prototype.destroyItem=function(t){var e=t.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach((function(e){t[e]&&(t[e]=t[e].destroy())})),e&&h(t.checkbox)},t.prototype.destroy=function(){function t(t){this[t]&&(this[t]=this[t].destroy())}this.getAllItems().forEach((function(e){["legendItem","legendGroup"].forEach(t,e)})),"clipRect up down pager nav box title group".split(" ").forEach(t,this),this.display=null},t.prototype.positionCheckboxes=function(){var t=this.group&&this.group.alignAttr,e=this.clipHeight||this.legendHeight,i=this.titleHeight;if(t){var o=t.translateY;this.allItems.forEach((function(r){var n=r.checkbox;if(n){var a=o+i+n.y+(this.scrollOffset||0)+3;s(n,{left:t.translateX+r.checkboxOffset+n.x-20+"px",top:a+"px",display:this.proximate||a>o-6&&a<o+e-6?"":"none"})}}),this)}},t.prototype.renderTitle=function(){var t=this.options,e=this.padding,i=t.title,o=0;i.text&&(this.title||(this.title=this.chart.renderer.label(i.text,e-3,e-4,null,null,null,t.useHTML,null,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(i.style),this.title.add(this.group)),i.width||this.title.css({width:this.maxLegendWidth+"px"}),t=this.title.getBBox(),o=t.height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:o})),this.titleHeight=o},t.prototype.setText=function(t){var e=this.options;t.legendItem.attr({text:e.labelFormat?d(e.labelFormat,t,this.chart):e.labelFormatter.call(t)})},t.prototype.renderItem=function(t){var e=this.chart,i=e.renderer,o=this.options,r=this.symbolWidth,n=o.symbolPadding,s=this.itemStyle,a=this.itemHiddenStyle,h="horizontal"===o.layout?f(o.itemDistance,20):0,l=!o.rtl,c=t.legendItem,d=!t.series,p=!d&&t.series.drawLegendSymbol?t.series:t,g=p.options;g=this.createCheckboxForItem&&g&&g.showCheckbox,h=r+n+h+(g?20:0);var y=o.useHTML,m=t.options.className;c||(t.legendGroup=i.g("legend-item").addClass("highcharts-"+p.type+"-series highcharts-color-"+t.colorIndex+(m?" "+m:"")+(d?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),t.legendItem=c=i.text("",l?r+n:-n,this.baseline||0,y),e.styledMode||c.css(u(t.visible?s:a)),c.attr({align:l?"left":"right",zIndex:2}).add(t.legendGroup),this.baseline||(this.fontMetrics=i.fontMetrics(e.styledMode?12:s.fontSize,c),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,c.attr("y",this.baseline)),this.symbolHeight=o.symbolHeight||this.fontMetrics.f,p.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,c,y)),g&&!t.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t),this.colorizeItem(t,t.visible),!e.styledMode&&s.width||c.css({width:(o.itemWidth||this.widthOption||e.spacingBox.width)-h+"px"}),this.setText(t),e=c.getBBox(),t.itemWidth=t.checkboxOffset=o.itemWidth||t.legendItemWidth||e.width+h,this.maxItemWidth=Math.max(this.maxItemWidth,t.itemWidth),this.totalItemWidth+=t.itemWidth,this.itemHeight=t.itemHeight=Math.round(t.legendItemHeight||e.height||this.symbolHeight)},t.prototype.layoutItem=function(t){var e=this.options,i=this.padding,o="horizontal"===e.layout,r=t.itemHeight,n=this.itemMarginBottom,s=this.itemMarginTop,a=o?f(e.itemDistance,20):0,h=this.maxLegendWidth;e=e.alignColumns&&this.totalItemWidth>h?this.maxItemWidth:t.itemWidth,o&&this.itemX-i+e>h&&(this.itemX=i,this.lastLineHeight&&(this.itemY+=s+this.lastLineHeight+n),this.lastLineHeight=0),this.lastItemY=s+this.itemY+n,this.lastLineHeight=Math.max(r,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],o?this.itemX+=e:(this.itemY+=s+r+n,this.lastLineHeight=r),this.offsetWidth=this.widthOption||Math.max((o?this.itemX-i-(t.checkbox?0:a):e)+i,this.offsetWidth)},t.prototype.getAllItems=function(){var t=[];return this.chart.series.forEach((function(e){var i=e&&e.options;e&&f(i.showInLegend,!a(i.linkedTo)&&void 0,!0)&&(t=t.concat(e.legendItems||("point"===i.legendType?e.data:e)))})),c(this,"afterGetAllItems",{allItems:t}),t},t.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},t.prototype.adjustMargins=function(t,e){var i=this.chart,o=this.options,r=this.getAlignment();r&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(n,s){n.test(r)&&!a(t[s])&&(i[v[s]]=Math.max(i[v[s]],i.legend[(s+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][s]*o[s%2?"x":"y"]+f(o.margin,12)+e[s]+(i.titleOffset[s]||0)))}))},t.prototype.proximatePositions=function(){var t=this.chart,i=[],o="left"===this.options.align;this.allItems.forEach((function(e){var r,n=o;if(e.yAxis){e.xAxis.options.reversed&&(n=!n),e.points&&(r=l(n?e.points:e.points.slice(0).reverse(),(function(t){return p(t.plotY)}))),n=this.itemMarginTop+e.legendItem.getBBox().height+this.itemMarginBottom;var s=e.yAxis.top-t.plotTop;e.visible?(r=r?r.plotY:e.yAxis.height,r+=s-.3*n):r=s+e.yAxis.height,i.push({target:r,size:n,item:e})}}),this),e.distribute(i,t.plotHeight),i.forEach((function(e){e.item._legendItemPos[1]=t.plotTop-t.spacing[0]+e.pos}))},t.prototype.render=function(){var t=this.chart,e=t.renderer,i=this.group,o=this.box,r=this.options,n=this.padding;this.itemX=n,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=g(r.width,t.spacingBox.width-n);var s=t.spacingBox.width-2*n-r.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(s/=2),this.maxLegendWidth=this.widthOption||s,i||(this.group=i=e.g("legend").attr({zIndex:7}).add(),this.contentGroup=e.g().attr({zIndex:1}).add(i),this.scrollGroup=e.g().add(this.contentGroup)),this.renderTitle();var a=this.getAllItems();y(a,(function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)})),r.reversed&&a.reverse(),this.allItems=a,this.display=s=!!a.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,a.forEach(this.renderItem,this),a.forEach(this.layoutItem,this),a=(this.widthOption||this.offsetWidth)+n;var h=this.lastItemY+this.lastLineHeight+this.titleHeight;h=this.handleOverflow(h),h+=n,o||(this.box=o=e.rect().addClass("highcharts-legend-box").attr({r:r.borderRadius}).add(i),o.isNew=!0),t.styledMode||o.attr({stroke:r.borderColor,"stroke-width":r.borderWidth||0,fill:r.backgroundColor||"none"}).shadow(r.shadow),0<a&&0<h&&(o[o.isNew?"attr":"animate"](o.crisp.call({},{x:0,y:0,width:a,height:h},o.strokeWidth())),o.isNew=!1),o[s?"show":"hide"](),t.styledMode&&"none"===i.getStyle("display")&&(a=h=0),this.legendWidth=a,this.legendHeight=h,s&&this.align(),this.proximate||this.positionItems(),c(this,"afterRender")},t.prototype.align=function(t){void 0===t&&(t=this.chart.spacingBox);var e=this.chart,i=this.options,o=t.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<e.titleOffset[0]?o+=e.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<e.titleOffset[2]&&(o-=e.titleOffset[2]),o!==t.y&&(t=u(t,{y:o})),this.group.align(u(i,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":i.verticalAlign}),!0,t)},t.prototype.handleOverflow=function(t){var e=this,i=this.chart,o=i.renderer,r=this.options,n=r.y,s=this.padding;n=i.spacingBox.height+("top"===r.verticalAlign?-n:n)-s;var a,h,l=r.maxHeight,c=this.clipRect,d=r.navigation,p=f(d.animation,!0),u=d.arrowSize||12,g=this.nav,y=this.pages,m=this.allItems,v=function(t){"number"===typeof t?c.attr({height:t}):c&&(e.clipRect=c.destroy(),e.contentGroup.clip()),e.contentGroup.div&&(e.contentGroup.div.style.clip=t?"rect("+s+"px,9999px,"+(s+t)+"px,0)":"auto")},x=function(t){return e[t]=o.circle(0,0,1.3*u).translate(u/2,u/2).add(g),i.styledMode||e[t].attr("fill","rgba(0,0,0,0.0001)"),e[t]};return"horizontal"!==r.layout||"middle"===r.verticalAlign||r.floating||(n/=2),l&&(n=Math.min(n,l)),y.length=0,t>n&&!1!==d.enabled?(this.clipHeight=a=Math.max(n-20-this.titleHeight-s,0),this.currentPage=f(this.currentPage,1),this.fullHeight=t,m.forEach((function(t,e){var i=t._legendItemPos[1],o=Math.round(t.legendItem.getBBox().height),r=y.length;(!r||i-y[r-1]>a&&(h||i)!==y[r-1])&&(y.push(h||i),r++),t.pageIx=r-1,h&&(m[e-1].pageIx=r-1),e===m.length-1&&i+o-y[r-1]>a&&i!==h&&(y.push(i),t.pageIx=r),i!==h&&(h=i)})),c||(c=e.clipRect=o.clipRect(0,s,9999,0),e.contentGroup.clip(c)),v(a),g||(this.nav=g=o.g().attr({zIndex:1}).add(this.group),this.up=o.symbol("triangle",0,0,u,u).add(g),x("upTracker").on("click",(function(){e.scroll(-1,p)})),this.pager=o.text("",15,10).addClass("highcharts-legend-navigation"),i.styledMode||this.pager.css(d.style),this.pager.add(g),this.down=o.symbol("triangle-down",0,0,u,u).add(g),x("downTracker").on("click",(function(){e.scroll(1,p)}))),e.scroll(0),t=n):g&&(v(),this.nav=g.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},t.prototype.scroll=function(t,e){var i=this,n=this.chart,s=this.pages,a=s.length,h=this.currentPage+t;t=this.clipHeight;var l=this.options.navigation,d=this.pager,p=this.padding;h>a&&(h=a),0<h&&("undefined"!==typeof e&&r(e,n),this.nav.attr({translateX:p,translateY:t+this.padding+7+this.titleHeight,visibility:"visible"}),[this.up,this.upTracker].forEach((function(t){t.attr({class:1===h?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})})),d.attr({text:h+"/"+a}),[this.down,this.downTracker].forEach((function(t){t.attr({x:18+this.pager.getBBox().width,class:h===a?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),this),n.styledMode||(this.up.attr({fill:1===h?l.inactiveColor:l.activeColor}),this.upTracker.css({cursor:1===h?"default":"pointer"}),this.down.attr({fill:h===a?l.inactiveColor:l.activeColor}),this.downTracker.css({cursor:h===a?"default":"pointer"})),this.scrollOffset=-s[h-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=h,this.positionCheckboxes(),e=o(f(e,n.renderer.globalAnimation,!0)),m((function(){c(i,"afterScroll",{currentPage:h})}),e.duration))},t}();return(/Trident\/7\.0/.test(x.navigator&&x.navigator.userAgent)||i)&&t(b.prototype,"positionItem",(function(t,e){var i=this,o=function(){e._legendItemPos&&t.call(i,e)};o(),i.bubbleLegend||setTimeout(o)})),e.Legend=b,e.Legend})),e(i,"Core/Series/Point.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,i){var o=t.animObject,r=i.defined,n=i.erase,s=i.extend,a=i.fireEvent,h=i.format,l=i.getNestedProperty,c=i.isArray,d=i.isNumber,p=i.isObject,u=i.syncTimeout,f=i.pick,g=i.removeEvent,y=i.uniqueKey;return t=function(){function t(){this.colorIndex=this.category=void 0,this.formatPrefix="point",this.id=void 0,this.isNull=!1,this.percentage=this.options=this.name=void 0,this.selected=!1,this.total=this.series=void 0,this.visible=!0,this.x=void 0}return t.prototype.animateBeforeDestroy=function(){var t,e=this,i={x:e.startXPos,opacity:0},o=e.getGraphicalProps();o.singular.forEach((function(o){t="dataLabel"===o,e[o]=e[o].animate(t?{x:e[o].startXPos,y:e[o].startYPos,opacity:0}:i)})),o.plural.forEach((function(t){e[t].forEach((function(t){t.element&&t.animate(s({x:e.startXPos},t.startYPos?{x:t.startXPos,y:t.startYPos}:{}))}))}))},t.prototype.applyOptions=function(e,i){var o=this.series,r=o.options.pointValKey||o.pointValKey;return e=t.prototype.optionsToObject.call(this,e),s(this,e),this.options=this.options?s(this.options,e):e,e.group&&delete this.group,e.dataLabels&&delete this.dataLabels,r&&(this.y=t.prototype.getNestedProperty.call(this,r)),this.formatPrefix=(this.isNull=f(this.isValid&&!this.isValid(),null===this.x||!d(this.y)))?"null":"point",this.selected&&(this.state="select"),"name"in this&&"undefined"===typeof i&&o.xAxis&&o.xAxis.hasNames&&(this.x=o.xAxis.nameToX(this)),"undefined"===typeof this.x&&o&&(this.x="undefined"===typeof i?o.autoIncrement(this):i),this},t.prototype.destroy=function(){function t(){for(s in(e.graphic||e.dataLabel||e.dataLabels)&&(g(e),e.destroyElements()),e)e[s]=null}var e=this,i=e.series,r=i.chart;i=i.options.dataSorting;var s,a=r.hoverPoints,h=o(e.series.chart.renderer.globalAnimation);e.legendItem&&r.legend.destroyItem(e),a&&(e.setState(),n(a,e),a.length||(r.hoverPoints=null)),e===r.hoverPoint&&e.onMouseOut(),i&&i.enabled?(this.animateBeforeDestroy(),u(t,h.duration)):t(),r.pointCount--},t.prototype.destroyElements=function(t){var e=this;t=e.getGraphicalProps(t),t.singular.forEach((function(t){e[t]=e[t].destroy()})),t.plural.forEach((function(t){e[t].forEach((function(t){t.element&&t.destroy()})),delete e[t]}))},t.prototype.firePointEvent=function(t,e,i){var o=this,r=this.series.options;(r.point.events[t]||o.options&&o.options.events&&o.options.events[t])&&o.importEvents(),"click"===t&&r.allowPointSelect&&(i=function(t){o.select&&o.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),a(o,t,e,i)},t.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+("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(t){var e,i=this,o=[],r={singular:[],plural:[]};for(t=t||{graphic:1,dataLabel:1},t.graphic&&o.push("graphic","shadowGroup"),t.dataLabel&&o.push("dataLabel","dataLabelUpper","connector"),e=o.length;e--;){var n=o[e];i[n]&&r.singular.push(n)}return["dataLabel","connector"].forEach((function(e){var o=e+"s";t[e]&&i[o]&&r.plural.push(o)})),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(t){if(t)return 0===t.indexOf("custom.")?l(t,this.options):this[t]},t.prototype.getZone=function(){var t=this.series,e=t.zones;t=t.zoneAxis||"y";var i,o=0;for(i=e[o];this[t]>=i.value;)i=e[++o];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=i&&i.color&&!this.options.color?i.color:this.nonZonedColor,i},t.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},t.prototype.init=function(t,e,i){return this.series=t,this.applyOptions(e,i),this.id=r(this.id)?this.id:y(),this.resolveColor(),t.chart.pointCount++,a(this,"afterInit"),this},t.prototype.optionsToObject=function(e){var i={},o=this.series,r=o.options.keys,n=r||o.pointArrayMap||["y"],s=n.length,a=0,h=0;if(d(e)||null===e)i[n[0]]=e;else if(c(e))for(!r&&e.length>s&&(o=typeof e[0],"string"===o?i.name=e[0]:"number"===o&&(i.x=e[0]),a++);h<s;)r&&"undefined"===typeof e[a]||(0<n[h].indexOf(".")?t.prototype.setNestedProperty(i,e[a],n[h]):i[n[h]]=e[a]),a++,h++;else"object"===typeof e&&(i=e,e.dataLabels&&(o._hasPointLabels=!0),e.marker&&(o._hasPointMarkers=!0));return i},t.prototype.resolveColor=function(){var t=this.series,e=t.chart.options.chart.colorCount,i=t.chart.styledMode;delete this.nonZonedColor,i||this.options.color||(this.color=t.color),t.options.colorByPoint?(i||(e=t.options.colors||t.chart.options.colors,this.color=this.color||e[t.colorCounter],e=e.length),i=t.colorCounter,t.colorCounter++,t.colorCounter===e&&(t.colorCounter=0)):i=t.colorIndex,this.colorIndex=f(this.colorIndex,i)},t.prototype.setNestedProperty=function(t,e,i){return i.split(".").reduce((function(t,i,o,r){return t[i]=r.length-1===o?e:p(t[i],!0)?t[i]:{},t[i]}),t),t},t.prototype.tooltipFormatter=function(t){var e=this.series,i=e.tooltipOptions,o=f(i.valueDecimals,""),r=i.valuePrefix||"",n=i.valueSuffix||"";return e.chart.styledMode&&(t=e.chart.tooltip.styledModeFormat(t)),(e.pointArrayMap||["y"]).forEach((function(e){e="{point."+e,(r||n)&&(t=t.replace(RegExp(e+"}","g"),r+e+"}"+n)),t=t.replace(RegExp(e+"}","g"),e+":,."+o+"f}")})),h(t,{point:this,series:this.series},e.chart)},t}(),e.Point=t})),e(i,"Core/Series/Series.js",[i["Core/Globals.js"],i["Core/Series/Point.js"],i["Core/Utilities.js"]],(function(t,e,i){var o=i.error,r=i.extendClass,n=i.fireEvent,s=i.getOptions,a=i.isObject,h=i.merge,l=i.objectEach;return i=function(){function t(e,i){var o=h(t.defaultOptions,i);this.chart=e,this._i=e.series.length,e.series.push(this),this.options=o,this.userOptions=h(i)}return t.addSeries=function(e,i){t.seriesTypes[e]=i},t.cleanRecursively=function(e,i){var o={};return l(e,(function(r,n){a(e[n],!0)&&!e.nodeType&&i[n]?(r=t.cleanRecursively(e[n],i[n]),Object.keys(r).length&&(o[n]=r)):(a(e[n])||e[n]!==i[n])&&(o[n]=e[n])})),o},t.getSeries=function(e,i){void 0===i&&(i={});var r=e.options.chart;r=i.type||r.type||r.defaultSeriesType||"";var n=t.seriesTypes[r];return n||o(17,!0,e,{missingModuleFor:r}),new n(e,i)},t.seriesType=function(i,o,n,a,l){var c=s().plotOptions||{},d=t.seriesTypes;return o=o||"",c[i]=h(c[o],n),t.addSeries(i,r(d[o]||function(){},a)),d[i].prototype.type=i,l&&(d[i].prototype.pointClass=r(e,l)),d[i]},t.prototype.update=function(e,i){void 0===i&&(i=!0);var o=this;e=t.cleanRecursively(e,this.userOptions);var r=e.type;return"undefined"!==typeof r&&r!==o.type&&(o=t.getSeries(o.chart,e)),n(o,"update",{newOptions:e}),o.userOptions=h(e),n(o,"afterUpdate",{newOptions:e}),i&&o.chart.redraw(),o},t.defaultOptions={type:"base"},t.seriesTypes={},t}(),i.prototype.pointClass=e,t.seriesType=i.seriesType,t.seriesTypes=i.seriesTypes,i})),e(i,"Core/Chart/Chart.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/Axis.js"],i["Core/Series/Series.js"],i["Core/Globals.js"],i["Core/Legend.js"],i["Core/MSPointer.js"],i["Core/Options.js"],i["Core/Pointer.js"],i["Core/Time.js"],i["Core/Utilities.js"]],(function(t,e,i,o,r,n,s,a,h,l){var c=t.animate,d=t.animObject,p=t.setAnimation,u=o.charts,f=o.doc,g=o.win,y=s.defaultOptions,m=l.addEvent,v=l.attr,x=l.createElement,b=l.css,S=l.defined,k=l.discardElement,w=l.erase,C=l.error,M=l.extend,O=l.find,A=l.fireEvent,P=l.getStyle,T=l.isArray,L=l.isFunction,E=l.isNumber,j=l.isObject,D=l.isString,I=l.merge,B=l.numberFormat,z=l.objectEach,N=l.pick,R=l.pInt,G=l.relativeLength,W=l.removeEvent,X=l.splat,H=l.syncTimeout,F=l.uniqueKey,Y=o.marginNames,_=function(){function t(t,e,i){this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=this.spacing=this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.legend=this.labelCollectors=this.isResizing=this.index=this.container=this.colorCounter=this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0,this.getArgs(t,e,i)}return t.prototype.getArgs=function(t,e,i){D(t)||t.nodeName?(this.renderTo=t,this.init(e,i)):this.init(t,e)},t.prototype.init=function(t,e){var i,r=t.series,n=t.plotOptions||{};A(this,"init",{args:arguments},(function(){t.series=null,i=I(y,t);var s=i.chart||{};z(i.plotOptions,(function(t,e){j(t)&&(t.tooltip=n[e]&&I(n[e].tooltip)||void 0)})),i.tooltip.userOptions=t.chart&&t.chart.forExport&&t.tooltip.userOptions||t.tooltip,i.series=t.series=r,this.userOptions=t;var a=s.events;this.margin=[],this.spacing=[],this.bounds={h:{},v:{}},this.labelCollectors=[],this.callback=e,this.isResizing=0,this.options=i,this.axes=[],this.series=[],this.time=t.time&&Object.keys(t.time).length?new h(t.time):o.time,this.numberFormatter=s.numberFormatter||B,this.styledMode=s.styledMode,this.hasCartesianSeries=s.showAxes;var l=this;l.index=u.length,u.push(l),o.chartCount++,a&&z(a,(function(t,e){L(t)&&m(l,e,t)})),l.xAxis=[],l.yAxis=[],l.pointCount=l.colorCounter=l.symbolCounter=0,A(l,"afterInit"),l.firstRender()}))},t.prototype.initSeries=function(t){var e=this.options.chart;e=t.type||e.type||e.defaultSeriesType;var o=i.seriesTypes[e];return o||C(17,!0,this,{missingModuleFor:e}),e=new o(this,t),"function"===typeof e.init&&e.init(this,t),e},t.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach((function(t){t.points||t.data||!t.enabledDataSorting||t.setData(t.options.data,!1)}))},t.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort((function(t,e){return t.linkedSeries.length||e.linkedSeries.length?e.linkedSeries.length-t.linkedSeries.length:0}))},t.prototype.orderSeries=function(t){var e=this.series;for(t=t||0;t<e.length;t++)e[t]&&(e[t].index=t,e[t].name=e[t].getName())},t.prototype.isInsidePlot=function(t,e,i){var o=i?e:t;return t=i?t:e,o={x:o,y:t,isInsidePlot:0<=o&&o<=this.plotWidth&&0<=t&&t<=this.plotHeight},A(this,"afterIsInsidePlot",o),o.isInsidePlot},t.prototype.redraw=function(t){A(this,"beforeRedraw");var e=this,i=e.axes,o=e.series,r=e.pointer,n=e.legend,s=e.userOptions.legend,a=e.isDirtyLegend,h=e.hasCartesianSeries,l=e.isDirtyBox,c=e.renderer,d=c.isHidden(),u=[];for(e.setResponsive&&e.setResponsive(!1),p(!!e.hasRendered&&t,e),d&&e.temporaryDisplay(),e.layOutTitles(),t=o.length;t--;){var f=o[t];if(f.options.stacking){var g=!0;if(f.isDirty){var y=!0;break}}}if(y)for(t=o.length;t--;)f=o[t],f.options.stacking&&(f.isDirty=!0);o.forEach((function(t){t.isDirty&&("point"===t.options.legendType?("function"===typeof t.updateTotals&&t.updateTotals(),a=!0):s&&(s.labelFormatter||s.labelFormat)&&(a=!0)),t.isDirtyData&&A(t,"updatedData")})),a&&n&&n.options.enabled&&(n.render(),e.isDirtyLegend=!1),g&&e.getStacks(),h&&i.forEach((function(t){e.isResizing&&E(t.min)||(t.updateNames(),t.setScale())})),e.getMargins(),h&&(i.forEach((function(t){t.isDirty&&(l=!0)})),i.forEach((function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,u.push((function(){A(t,"afterSetExtremes",M(t.eventArgs,t.getExtremes())),delete t.eventArgs}))),(l||g)&&t.redraw()}))),l&&e.drawChartBox(),A(e,"predraw"),o.forEach((function(t){(l||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1})),r&&r.reset(!0),c.draw(),A(e,"redraw"),A(e,"render"),d&&e.temporaryDisplay(!0),u.forEach((function(t){t.call()}))},t.prototype.get=function(t){function e(e){return e.id===t||e.options&&e.options.id===t}var i,o=this.series,r=O(this.axes,e)||O(this.series,e);for(i=0;!r&&i<o.length;i++)r=O(o[i].points||[],e);return r},t.prototype.getAxes=function(){var t=this,i=this.options,o=i.xAxis=X(i.xAxis||{});i=i.yAxis=X(i.yAxis||{}),A(this,"getAxes"),o.forEach((function(t,e){t.index=e,t.isX=!0})),i.forEach((function(t,e){t.index=e})),o.concat(i).forEach((function(i){new e(t,i)})),A(this,"afterGetAxes")},t.prototype.getSelectedPoints=function(){var t=[];return this.series.forEach((function(e){t=t.concat(e.getPointsCollection().filter((function(t){return N(t.selectedStaging,t.selected)})))})),t},t.prototype.getSelectedSeries=function(){return this.series.filter((function(t){return t.selected}))},t.prototype.setTitle=function(t,e,i){this.applyDescription("title",t),this.applyDescription("subtitle",e),this.applyDescription("caption",void 0),this.layOutTitles(i)},t.prototype.applyDescription=function(t,e){var i=this,o="title"===t?{color:"#333333",fontSize:this.options.isStock?"16px":"18px"}:{color:"#666666"};o=this.options[t]=I(!this.styledMode&&{style:o},this.options[t],e);var r=this[t];r&&e&&(this[t]=r=r.destroy()),o&&!r&&(r=this.renderer.text(o.text,0,0,o.useHTML).attr({align:o.align,class:"highcharts-"+t,zIndex:o.zIndex||4}).add(),r.update=function(e){i[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[t]](e)},this.styledMode||r.css(o.style),this[t]=r)},t.prototype.layOutTitles=function(t){var e=[0,0,0],i=this.renderer,o=this.spacingBox;["title","subtitle","caption"].forEach((function(t){var r=this[t],n=this.options[t],s=n.verticalAlign||"top";if(t="title"===t?-3:"top"===s?e[0]+2:0,r){if(!this.styledMode)var a=n.style.fontSize;a=i.fontMetrics(a,r).b,r.css({width:(n.width||o.width+(n.widthAdjust||0))+"px"});var h=Math.round(r.getBBox(n.useHTML).height);r.align(M({y:"bottom"===s?a:t+a,height:h},n),!1,"spacingBox"),n.floating||("top"===s?e[0]=Math.ceil(e[0]+h):"bottom"===s&&(e[2]=Math.ceil(e[2]+h)))}}),this),e[0]&&"top"===(this.options.title.verticalAlign||"top")&&(e[0]+=this.options.title.margin),e[2]&&"bottom"===this.options.caption.verticalAlign&&(e[2]+=this.options.caption.margin);var r=!this.titleOffset||this.titleOffset.join(",")!==e.join(",");this.titleOffset=e,A(this,"afterLayOutTitles"),!this.isDirtyBox&&r&&(this.isDirtyBox=this.isDirtyLegend=r,this.hasRendered&&N(t,!0)&&this.isDirtyBox&&this.redraw())},t.prototype.getChartSize=function(){var t=this.options.chart,e=t.width;t=t.height;var i=this.renderTo;S(e)||(this.containerWidth=P(i,"width")),S(t)||(this.containerHeight=P(i,"height")),this.chartWidth=Math.max(0,e||this.containerWidth||600),this.chartHeight=Math.max(0,G(t,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))},t.prototype.temporaryDisplay=function(t){var e=this.renderTo;if(t)for(;e&&e.style;)e.hcOrigStyle&&(b(e,e.hcOrigStyle),delete e.hcOrigStyle),e.hcOrigDetached&&(f.body.removeChild(e),e.hcOrigDetached=!1),e=e.parentNode;else for(;e&&e.style;)if(f.body.contains(e)||e.parentNode||(e.hcOrigDetached=!0,f.body.appendChild(e)),("none"===P(e,"display",!1)||e.hcOricDetached)&&(e.hcOrigStyle={display:e.style.display,height:e.style.height,overflow:e.style.overflow},t={display:"block",overflow:"hidden"},e!==this.renderTo&&(t.height=0),b(e,t),e.offsetWidth||e.style.setProperty("display","block","important")),e=e.parentNode,e===f.body)break},t.prototype.setClassName=function(t){this.container.className="highcharts-container "+(t||"")},t.prototype.getContainer=function(){var t,e,i=this.options,r=i.chart,n=this.renderTo,s=F();n||(this.renderTo=n=r.renderTo),D(n)&&(this.renderTo=n=f.getElementById(n)),n||C(13,!0,this);var a=R(v(n,"data-highcharts-chart"));E(a)&&u[a]&&u[a].hasRendered&&u[a].destroy(),v(n,"data-highcharts-chart",this.index),n.innerHTML="",r.skipClone||n.offsetWidth||this.temporaryDisplay(),this.getChartSize(),a=this.chartWidth;var h=this.chartHeight;if(b(n,{overflow:"hidden"}),this.styledMode||(t=M({position:"relative",overflow:"hidden",width:a+"px",height:h+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none"},r.style)),this.container=n=x("div",{id:s},t,n),this._cursor=n.style.cursor,this.renderer=new(o[r.renderer]||o.Renderer)(n,a,h,null,r.forExport,i.exporting&&i.exporting.allowHTML,this.styledMode),p(void 0,this),this.setClassName(r.className),this.styledMode)for(e in i.defs)this.renderer.definition(i.defs[e]);else this.renderer.setStyle(r.style);this.renderer.chartIndex=this.index,A(this,"afterGetContainer")},t.prototype.getMargins=function(t){var e=this.spacing,i=this.margin,o=this.titleOffset;this.resetMargins(),o[0]&&!S(i[0])&&(this.plotTop=Math.max(this.plotTop,o[0]+e[0])),o[2]&&!S(i[2])&&(this.marginBottom=Math.max(this.marginBottom,o[2]+e[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(i,e),A(this,"getMargins"),t||this.getAxisMargins()},t.prototype.getAxisMargins=function(){var t=this,e=t.axisOffset=[0,0,0,0],i=t.colorAxis,o=t.margin,r=function(t){t.forEach((function(t){t.visible&&t.getOffset()}))};t.hasCartesianSeries?r(t.axes):i&&i.length&&r(i),Y.forEach((function(i,r){S(o[r])||(t[i]+=e[r])})),t.setChartSize()},t.prototype.reflow=function(t){var e=this,i=e.options.chart,o=e.renderTo,r=S(i.width)&&S(i.height),n=i.width||P(o,"width");i=i.height||P(o,"height"),o=t?t.target:g,r||e.isPrinting||!n||!i||o!==g&&o!==f||(n===e.containerWidth&&i===e.containerHeight||(l.clearTimeout(e.reflowTimeout),e.reflowTimeout=H((function(){e.container&&e.setSize(void 0,void 0,!1)}),t?100:0)),e.containerWidth=n,e.containerHeight=i)},t.prototype.setReflow=function(t){var e=this;!1===t||this.unbindReflow?!1===t&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=m(g,"resize",(function(t){e.options&&e.reflow(t)})),m(this,"destroy",this.unbindReflow))},t.prototype.setSize=function(t,e,i){var o=this,r=o.renderer;o.isResizing+=1,p(i,o),i=r.globalAnimation,o.oldChartHeight=o.chartHeight,o.oldChartWidth=o.chartWidth,"undefined"!==typeof t&&(o.options.chart.width=t),"undefined"!==typeof e&&(o.options.chart.height=e),o.getChartSize(),o.styledMode||(i?c:b)(o.container,{width:o.chartWidth+"px",height:o.chartHeight+"px"},i),o.setChartSize(!0),r.setSize(o.chartWidth,o.chartHeight,i),o.axes.forEach((function(t){t.isDirty=!0,t.setScale()})),o.isDirtyLegend=!0,o.isDirtyBox=!0,o.layOutTitles(),o.getMargins(),o.redraw(i),o.oldChartHeight=null,A(o,"resize"),H((function(){o&&A(o,"endResize",null,(function(){--o.isResizing}))}),d(i).duration)},t.prototype.setChartSize=function(t){var e,i,o,r,n=this.inverted,s=this.renderer,a=this.chartWidth,h=this.chartHeight,l=this.options.chart,c=this.spacing,d=this.clipOffset;this.plotLeft=e=Math.round(this.plotLeft),this.plotTop=i=Math.round(this.plotTop),this.plotWidth=o=Math.max(0,Math.round(a-e-this.marginRight)),this.plotHeight=r=Math.max(0,Math.round(h-i-this.marginBottom)),this.plotSizeX=n?r:o,this.plotSizeY=n?o:r,this.plotBorderWidth=l.plotBorderWidth||0,this.spacingBox=s.spacingBox={x:c[3],y:c[0],width:a-c[3]-c[1],height:h-c[0]-c[2]},this.plotBox=s.plotBox={x:e,y:i,width:o,height:r},a=2*Math.floor(this.plotBorderWidth/2),n=Math.ceil(Math.max(a,d[3])/2),s=Math.ceil(Math.max(a,d[0])/2),this.clipBox={x:n,y:s,width:Math.floor(this.plotSizeX-Math.max(a,d[1])/2-n),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(a,d[2])/2-s))},t||this.axes.forEach((function(t){t.setAxisSize(),t.setAxisTranslation()})),A(this,"afterSetChartSize",{skipAxes:t})},t.prototype.resetMargins=function(){A(this,"resetMargins");var t=this,e=t.options.chart;["margin","spacing"].forEach((function(i){var o=e[i],r=j(o)?o:[o,o,o,o];["Top","Right","Bottom","Left"].forEach((function(o,n){t[i][n]=N(e[i+o],r[n])}))})),Y.forEach((function(e,i){t[e]=N(t.margin[i],t.spacing[i])})),t.axisOffset=[0,0,0,0],t.clipOffset=[0,0,0,0]},t.prototype.drawChartBox=function(){var t,e=this.options.chart,i=this.renderer,o=this.chartWidth,r=this.chartHeight,n=this.chartBackground,s=this.plotBackground,a=this.plotBorder,h=this.styledMode,l=this.plotBGImage,c=e.backgroundColor,d=e.plotBackgroundColor,p=e.plotBackgroundImage,u=this.plotLeft,f=this.plotTop,g=this.plotWidth,y=this.plotHeight,m=this.plotBox,v=this.clipRect,x=this.clipBox,b="animate";if(n||(this.chartBackground=n=i.rect().addClass("highcharts-background").add(),b="attr"),h)var S=t=n.strokeWidth();else S=e.borderWidth||0,t=S+(e.shadow?8:0),c={fill:c||"none"},(S||n["stroke-width"])&&(c.stroke=e.borderColor,c["stroke-width"]=S),n.attr(c).shadow(e.shadow);n[b]({x:t/2,y:t/2,width:o-t-S%2,height:r-t-S%2,r:e.borderRadius}),b="animate",s||(b="attr",this.plotBackground=s=i.rect().addClass("highcharts-plot-background").add()),s[b](m),h||(s.attr({fill:d||"none"}).shadow(e.plotShadow),p&&(l?(p!==l.attr("href")&&l.attr("href",p),l.animate(m)):this.plotBGImage=i.image(p,u,f,g,y).add())),v?v.animate({width:x.width,height:x.height}):this.clipRect=i.clipRect(x),b="animate",a||(b="attr",this.plotBorder=a=i.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),h||a.attr({stroke:e.plotBorderColor,"stroke-width":e.plotBorderWidth||0,fill:"none"}),a[b](a.crisp({x:u,y:f,width:g,height:y},-a.strokeWidth())),this.isDirtyBox=!1,A(this,"afterDrawChartBox")},t.prototype.propFromSeries=function(){var t,e,o,r=this,n=r.options.chart,s=r.options.series;["inverted","angular","polar"].forEach((function(a){for(t=i.seriesTypes[n.type||n.defaultSeriesType],o=n[a]||t&&t.prototype[a],e=s&&s.length;!o&&e--;)(t=i.seriesTypes[s[e].type])&&t.prototype[a]&&(o=!0);r[a]=o}))},t.prototype.linkSeries=function(){var t=this,e=t.series;e.forEach((function(t){t.linkedSeries.length=0})),e.forEach((function(e){var i=e.options.linkedTo;D(i)&&(i=":previous"===i?t.series[e.index-1]:t.get(i))&&i.linkedParent!==e&&(i.linkedSeries.push(e),e.linkedParent=i,i.enabledDataSorting&&e.setDataSortingOptions(),e.visible=N(e.options.visible,i.options.visible,e.visible))})),A(this,"afterLinkSeries")},t.prototype.renderSeries=function(){this.series.forEach((function(t){t.translate(),t.render()}))},t.prototype.renderLabels=function(){var t=this,e=t.options.labels;e.items&&e.items.forEach((function(i){var o=M(e.style,i.style),r=R(o.left)+t.plotLeft,n=R(o.top)+t.plotTop+12;delete o.left,delete o.top,t.renderer.text(i.html,r,n).attr({zIndex:2}).css(o).add()}))},t.prototype.render=function(){var t=this.axes,e=this.colorAxis,i=this.renderer,o=this.options,n=0,s=function(t){t.forEach((function(t){t.visible&&t.render()}))};this.setTitle(),this.legend=new r(this,o.legend),this.getStacks&&this.getStacks(),this.getMargins(!0),this.setChartSize(),o=this.plotWidth,t.some((function(t){if(t.horiz&&t.visible&&t.options.labels.enabled&&t.series.length)return n=21,!0}));var a=this.plotHeight=Math.max(this.plotHeight-n,0);t.forEach((function(t){t.setScale()})),this.getAxisMargins();var h=1.1<o/this.plotWidth,l=1.05<a/this.plotHeight;(h||l)&&(t.forEach((function(t){(t.horiz&&h||!t.horiz&&l)&&t.setTickInterval(!0)})),this.getMargins()),this.drawChartBox(),this.hasCartesianSeries?s(t):e&&e.length&&s(e),this.seriesGroup||(this.seriesGroup=i.g("series-group").attr({zIndex:3}).add()),this.renderSeries(),this.renderLabels(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.updateContainerScaling(),this.hasRendered=!0},t.prototype.addCredits=function(t){var e=this,i=I(!0,this.options.credits,t);i.enabled&&!this.credits&&(this.credits=this.renderer.text(i.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",(function(){i.href&&(g.location.href=i.href)})).attr({align:i.position.align,zIndex:8}),e.styledMode||this.credits.css(i.style),this.credits.add().align(i.position),this.credits.update=function(t){e.credits=e.credits.destroy(),e.addCredits(t)})},t.prototype.updateContainerScaling=function(){var t=this.container;if(2<t.offsetWidth&&2<t.offsetHeight&&t.getBoundingClientRect){var e=t.getBoundingClientRect(),i=e.width/t.offsetWidth;t=e.height/t.offsetHeight,1!==i||1!==t?this.containerScaling={scaleX:i,scaleY:t}:delete this.containerScaling}},t.prototype.destroy=function(){var t,e=this,i=e.axes,r=e.series,n=e.container,s=n&&n.parentNode;for(A(e,"destroy"),e.renderer.forExport?w(u,e):u[e.index]=void 0,o.chartCount--,e.renderTo.removeAttribute("data-highcharts-chart"),W(e),t=i.length;t--;)i[t]=i[t].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t=r.length;t--;)r[t]=r[t].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach((function(t){var i=e[t];i&&i.destroy&&(e[t]=i.destroy())})),n&&(n.innerHTML="",W(n),s&&k(n)),z(e,(function(t,i){delete e[i]}))},t.prototype.firstRender=function(){var t=this,e=t.options;t.isReadyToRender&&!t.isReadyToRender()||(t.getContainer(),t.resetMargins(),t.setChartSize(),t.propFromSeries(),t.getAxes(),(T(e.series)?e.series:[]).forEach((function(e){t.initSeries(e)})),t.linkSeries(),t.setSeriesData(),A(t,"beforeRender"),a&&(t.pointer=o.hasTouch||!g.PointerEvent&&!g.MSPointerEvent?new a(t,e):new n(t,e)),t.render(),t.renderer.imgCount||t.hasLoaded||t.onload(),t.temporaryDisplay(!0))},t.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach((function(t){t&&"undefined"!==typeof this.index&&t.apply(this,[this])}),this),A(this,"load"),A(this,"render"),S(this.index)&&this.setReflow(this.options.chart.reflow),this.hasLoaded=!0},t}();return _.prototype.callbacks=[],o.chart=function(t,e,i){return new _(t,e,i)},o.Chart=_})),e(i,"Extensions/ScrollablePlotArea.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Chart/Chart.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,i,o){var r=t.stop,n=o.addEvent,s=o.createElement,a=o.pick;n(e,"afterSetChartSize",(function(t){var e=this.options.chart.scrollablePlotArea,o=e&&e.minWidth;if(e=e&&e.minHeight,!this.renderer.forExport){if(o){if(this.scrollablePixelsX=o=Math.max(0,o-this.chartWidth)){this.plotWidth+=o,this.inverted?(this.clipBox.height+=o,this.plotBox.height+=o):(this.clipBox.width+=o,this.plotBox.width+=o);var r={1:{name:"right",value:o}}}}else e&&(this.scrollablePixelsY=o=Math.max(0,e-this.chartHeight))&&(this.plotHeight+=o,this.inverted?(this.clipBox.width+=o,this.plotBox.width+=o):(this.clipBox.height+=o,this.plotBox.height+=o),r={2:{name:"bottom",value:o}});r&&!t.skipAxes&&this.axes.forEach((function(t){r[t.side]?t.getPlotLinePath=function(){var e=r[t.side].name,o=this[e];this[e]=o-r[t.side].value;var n=i.Axis.prototype.getPlotLinePath.apply(this,arguments);return this[e]=o,n}:(t.setAxisSize(),t.setAxisTranslation())}))}})),n(e,"render",(function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()})),e.prototype.setUpScrolling=function(){var t=this,e={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(e.overflowX="auto"),this.scrollablePixelsY&&(e.overflowY="auto"),this.scrollingParent=s("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=s("div",{className:"highcharts-scrolling"},e,this.scrollingParent),n(this.scrollingContainer,"scroll",(function(){t.pointer&&delete t.pointer.chartPosition})),this.innerContainer=s("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},e.prototype.moveFixedElements=function(){var t,e=this.container,i=this.fixedRenderer,o=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" ");this.scrollablePixelsX&&!this.inverted?t=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?t=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(t=".highcharts-yaxis"),o.push(t,t+"-labels"),o.forEach((function(t){[].forEach.call(e.querySelectorAll(t),(function(t){(t.namespaceURI===i.SVG_NS?i.box:i.box.parentNode).appendChild(t),t.style.pointerEvents="auto"}))}))},e.prototype.applyFixed=function(){var t,e,o=!this.fixedDiv,h=this.options.chart.scrollablePlotArea;o?(this.fixedDiv=s("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:2,top:0},null,!0),null===(t=this.scrollingContainer)||void 0===t||t.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=t=new i.Renderer(this.fixedDiv,this.chartWidth,this.chartHeight,null===(e=this.options.chart)||void 0===e?void 0:e.style),this.scrollableMask=t.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":a(h.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),this.moveFixedElements(),n(this,"afterShowResetZoom",this.moveFixedElements),n(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),e=this.chartWidth+(this.scrollablePixelsX||0),t=this.chartHeight+(this.scrollablePixelsY||0),r(this.container),this.container.style.width=e+"px",this.container.style.height=t+"px",this.renderer.boxWrapper.attr({width:e,height:t,viewBox:[0,0,e,t].join(" ")}),this.chartBackground.attr({width:e,height:t}),this.scrollingContainer.style.height=this.chartHeight+"px",o&&(h.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*h.scrollPositionX),h.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*h.scrollPositionY)),t=this.axisOffset,o=this.plotTop-t[0]-1,h=this.plotLeft-t[3]-1,e=this.plotTop+this.plotHeight+t[2]+1,t=this.plotLeft+this.plotWidth+t[1]+1;var l=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),c=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);o=this.scrollablePixelsX?[["M",0,o],["L",this.plotLeft-1,o],["L",this.plotLeft-1,e],["L",0,e],["Z"],["M",l,o],["L",this.chartWidth,o],["L",this.chartWidth,e],["L",l,e],["Z"]]:this.scrollablePixelsY?[["M",h,0],["L",h,this.plotTop-1],["L",t,this.plotTop-1],["L",t,0],["Z"],["M",h,c],["L",h,this.chartHeight],["L",t,this.chartHeight],["L",t,c],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:o})}})),e(i,"Core/Axis/StackingAxis.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Utilities.js"]],(function(t,e){var i=t.getDeferredAnimation,o=e.addEvent,r=e.destroyObjectProperties,n=e.fireEvent,s=e.objectEach,a=e.pick,h=function(){function t(t){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t}return t.prototype.buildStacks=function(){var t,e=this.axis,i=e.series,o=a(e.options.reversedStacks,!0),r=i.length;if(!e.isXAxis){for(this.usePercentage=!1,t=r;t--;){var s=i[o?t:r-t-1];s.setStackedPoints(),s.setGroupedPoints()}for(t=0;t<r;t++)i[t].modifyStacks();n(e,"afterBuildStacks")}},t.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var t=this.stacks=this.oldStacks;s(t,(function(t){s(t,(function(t){t.cumulative=t.total}))}))}},t.prototype.resetStacks=function(){var t=this,e=t.stacks;t.axis.isXAxis||s(e,(function(e){s(e,(function(i,o){i.touched<t.stacksTouched?(i.destroy(),delete e[o]):(i.total=null,i.cumulative=null)}))}))},t.prototype.renderStackTotals=function(){var t=this.axis,e=t.chart,o=e.renderer,r=this.stacks;t=i(e,t.options.stackLabels.animation);var n=this.stackTotalGroup=this.stackTotalGroup||o.g("stack-labels").attr({visibility:"visible",zIndex:6,opacity:0}).add();n.translate(e.plotLeft,e.plotTop),s(r,(function(t){s(t,(function(t){t.render(n)}))})),n.animate({opacity:1},t)},t}();return function(){function t(){}return t.compose=function(e){o(e,"init",t.onInit),o(e,"destroy",t.onDestroy)},t.onDestroy=function(){var t=this.stacking;if(t){var e=t.stacks;s(e,(function(t,i){r(t),e[i]=null})),t&&t.stackTotalGroup&&t.stackTotalGroup.destroy()}},t.onInit=function(){this.stacking||(this.stacking=new h(this))},t}()})),e(i,"Mixins/LegendSymbol.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.merge,o=e.pick;return t.LegendSymbolMixin={drawRectangle:function(t,e){var i=t.symbolHeight,r=t.options.squareSymbol;e.legendSymbol=this.chart.renderer.rect(r?(t.symbolWidth-i)/2:0,t.baseline-i+1,r?i:t.symbolWidth,i,o(t.options.symbolRadius,i/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.legendGroup)},drawLineMarker:function(t){var e=this.options,r=e.marker,n=t.symbolWidth,s=t.symbolHeight,a=s/2,h=this.chart.renderer,l=this.legendGroup;t=t.baseline-Math.round(.3*t.fontMetrics.b);var c={};this.chart.styledMode||(c={"stroke-width":e.lineWidth||0},e.dashStyle&&(c.dashstyle=e.dashStyle)),this.legendLine=h.path([["M",0,t],["L",n,t]]).addClass("highcharts-graph").attr(c).add(l),r&&!1!==r.enabled&&n&&(e=Math.min(o(r.radius,a),a),0===this.symbol.indexOf("url")&&(r=i(r,{width:s,height:s}),e=0),this.legendSymbol=r=h.symbol(this.symbol,n/2-e,t-e,2*e,2*e,r).addClass("highcharts-point").add(l),r.isMarker=!0)}}})),e(i,"Core/Series/CartesianSeries.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Series/Series.js"],i["Core/Globals.js"],i["Mixins/LegendSymbol.js"],i["Core/Options.js"],i["Core/Series/Point.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Utilities.js"]],(function(t,e,i,o,r,n,s,a){var h=t.animObject,l=r.defaultOptions,c=a.addEvent,d=a.arrayMax,p=a.arrayMin,u=a.clamp,f=a.correctFloat,g=a.defined,y=a.erase,m=a.error,v=a.extend,x=a.find,b=a.fireEvent,S=a.getNestedProperty,k=a.isArray,w=a.isFunction,C=a.isNumber,M=a.isString,O=a.merge,A=a.objectEach,P=a.pick,T=a.removeEvent,L=a.splat,E=a.syncTimeout,j=e.seriesTypes,D=i.win;return t=e.seriesType("line",void 0,{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var t=this.series.chart.numberFormatter;return"number"!==typeof this.y?"":t(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"},{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,isCartesian:!0,parallelArrays:["x","y"],pointClass:n,requireSorting:!0,sorted:!0,init:function(t,e){b(this,"init",{options:e});var i,o=this,r=t.series;this.eventOptions=this.eventOptions||{},this.eventsToUnbind=[],o.chart=t,o.options=e=o.setOptions(e),o.linkedSeries=[],o.bindAxes(),v(o,{name:e.name,state:"",visible:!1!==e.visible,selected:!0===e.selected});var n=e.events;A(n,(function(t,e){w(t)&&o.eventOptions[e]!==t&&(w(o.eventOptions[e])&&T(o,e,o.eventOptions[e]),o.eventOptions[e]=t,c(o,e,t))})),(n&&n.click||e.point&&e.point.events&&e.point.events.click||e.allowPointSelect)&&(t.runTrackerClick=!0),o.getColor(),o.getSymbol(),o.parallelArrays.forEach((function(t){o[t+"Data"]||(o[t+"Data"]=[])})),o.isCartesian&&(t.hasCartesianSeries=!0),r.length&&(i=r[r.length-1]),o._i=P(i&&i._i,-1)+1,o.opacity=o.options.opacity,t.orderSeries(this.insert(r)),e.dataSorting&&e.dataSorting.enabled?o.setDataSortingOptions():o.points||o.data||o.setData(e.data,!1),b(this,"afterInit")},is:function(t){return j[t]&&this instanceof j[t]},insert:function(t){var e,i=this.options.index;if(C(i)){for(e=t.length;e--;)if(i>=P(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return P(e,t.length-1)},bindAxes:function(){var t,e=this,i=e.options,o=e.chart;b(this,"bindAxes",null,(function(){(e.axisTypes||[]).forEach((function(r){o[r].forEach((function(o){t=o.options,(i[r]===t.index||"undefined"!==typeof i[r]&&i[r]===t.id||"undefined"===typeof i[r]&&0===t.index)&&(e.insert(o.series),e[r]=o,o.isDirty=!0)})),e[r]||e.optionalAxis===r||m(18,!0,o)}))})),b(this,"afterBindAxes")},updateParallelArrays:function(t,e){var i=t.series,o=arguments,r=C(e)?function(o){var r="y"===o&&i.toYData?i.toYData(t):t[o];i[o+"Data"][e]=r}:function(t){Array.prototype[e].apply(i[t+"Data"],Array.prototype.slice.call(o,2))};i.parallelArrays.forEach(r)},hasData:function(){return this.visible&&"undefined"!==typeof this.dataMax&&"undefined"!==typeof this.dataMin||this.visible&&this.yData&&0<this.yData.length},autoIncrement:function(){var t,e=this.options,i=this.xIncrement,o=e.pointIntervalUnit,r=this.chart.time;return i=P(i,e.pointStart,0),this.pointInterval=t=P(this.pointInterval,e.pointInterval,1),o&&(e=new r.Date(i),"day"===o?r.set("Date",e,r.get("Date",e)+t):"month"===o?r.set("Month",e,r.get("Month",e)+t):"year"===o&&r.set("FullYear",e,r.get("FullYear",e)+t),t=e.getTime()-i),this.xIncrement=i+t,i},setDataSortingOptions:function(){var t=this.options;v(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),g(t.pointRange)||(t.pointRange=1)},setOptions:function(t){var e=this.chart,i=e.options,o=i.plotOptions,r=e.userOptions||{};t=O(t),e=e.styledMode;var n={plotOptions:o,userOptions:t};b(this,"setOptions",n);var s=n.plotOptions[this.type],a=r.plotOptions||{};return this.userOptions=n.userOptions,r=O(s,o.series,r.plotOptions&&r.plotOptions[this.type],t),this.tooltipOptions=O(l.tooltip,l.plotOptions.series&&l.plotOptions.series.tooltip,l.plotOptions[this.type].tooltip,i.tooltip.userOptions,o.series&&o.series.tooltip,o[this.type].tooltip,t.tooltip),this.stickyTracking=P(t.stickyTracking,a[this.type]&&a[this.type].stickyTracking,a.series&&a.series.stickyTracking,!(!this.tooltipOptions.shared||this.noSharedTooltip)||r.stickyTracking),null===s.marker&&delete r.marker,this.zoneAxis=r.zoneAxis,i=this.zones=(r.zones||[]).slice(),!r.negativeColor&&!r.negativeFillColor||r.zones||(o={value:r[this.zoneAxis+"Threshold"]||r.threshold||0,className:"highcharts-negative"},e||(o.color=r.negativeColor,o.fillColor=r.negativeFillColor),i.push(o)),i.length&&g(i[i.length-1].value)&&i.push(e?{}:{color:this.color,fillColor:this.fillColor}),b(this,"afterSetOptions",{options:r}),r},getName:function(){return P(this.options.name,"Series "+(this.index+1))},getCyclic:function(t,e,i){var o=this.chart,r=this.userOptions,n=t+"Index",s=t+"Counter",a=i?i.length:P(o.options.chart[t+"Count"],o[t+"Count"]);if(!e){var h=P(r[n],r["_"+n]);g(h)||(o.series.length||(o[s]=0),r["_"+n]=h=o[s]%a,o[s]+=1),i&&(e=i[h])}"undefined"!==typeof h&&(this[n]=h),this[t]=e},getColor:function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.options.color=null:this.getCyclic("color",this.options.color||l.plotOptions[this.type].color,this.chart.options.colors)},getPointsCollection:function(){return(this.hasGroupedData?this.points:this.data)||[]},getSymbol:function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},findPointIndex:function(t,e){var i,o=t.id,r=t.x,n=this.points,s=this.options.dataSorting;if(o)var a=this.chart.get(o);else if(this.linkedParent||this.enabledDataSorting){var h=s&&s.matchByName?"name":"index";if(a=x(n,(function(e){return!e.touched&&e[h]===t[h]})),!a)return}if(a){var l=a&&a.index;"undefined"!==typeof l&&(i=!0)}return"undefined"===typeof l&&C(r)&&(l=this.xData.indexOf(r,e)),-1!==l&&"undefined"!==typeof l&&this.cropped&&(l=l>=this.cropStart?l-this.cropStart:l),!i&&n[l]&&n[l].touched&&(l=void 0),l},drawLegendSymbol:o.drawLineMarker,updateData:function(t,e){var i,o,r,n=this.options,s=n.dataSorting,a=this.points,h=[],l=this.requireSorting,c=t.length===a.length,p=!0;if(this.xIncrement=null,t.forEach((function(t,e){var o=g(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},d=o.x;o.id||C(d)?(d=this.findPointIndex(o,r),-1===d||"undefined"===typeof d?h.push(t):a[d]&&t!==n.data[d]?(a[d].update(t,!1,null,!1),a[d].touched=!0,l&&(r=d+1)):a[d]&&(a[d].touched=!0),(!c||e!==d||s&&s.enabled||this.hasDerivedData)&&(i=!0)):h.push(t)}),this),i)for(t=a.length;t--;)(o=a[t])&&!o.touched&&o.remove&&o.remove(!1,e);else!c||s&&s.enabled?p=!1:(t.forEach((function(t,e){a[e].update&&t!==a[e].y&&a[e].update(t,!1,null,!1)})),h.length=0);return a.forEach((function(t){t&&(t.touched=!1)})),!!p&&(h.forEach((function(t){this.addPoint(t,!1,null,null,!1)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=d(this.xData),this.autoIncrement()),!0)},setData:function(t,e,i,o){var r,n=this,s=n.points,a=s&&s.length||0,h=n.options,l=n.chart,c=h.dataSorting,d=null,p=n.xAxis;d=h.turboThreshold;var u,f=this.xData,g=this.yData,y=(r=n.pointArrayMap)&&r.length,v=h.keys,x=0,b=1;if(t=t||[],r=t.length,e=P(e,!0),c&&c.enabled&&(t=this.sortData(t)),!1!==o&&r&&a&&!n.cropped&&!n.hasGroupedData&&n.visible&&!n.isSeriesBoosting&&(u=this.updateData(t,i)),!u){if(n.xIncrement=null,n.colorCounter=0,this.parallelArrays.forEach((function(t){n[t+"Data"].length=0})),d&&r>d)if(d=n.getFirstValidPoint(t),C(d))for(i=0;i<r;i++)f[i]=this.autoIncrement(),g[i]=t[i];else if(k(d))if(y)for(i=0;i<r;i++)o=t[i],f[i]=o[0],g[i]=o.slice(1,y+1);else for(v&&(x=v.indexOf("x"),b=v.indexOf("y"),x=0<=x?x:0,b=0<=b?b:1),i=0;i<r;i++)o=t[i],f[i]=o[x],g[i]=o[b];else m(12,!1,l);else for(i=0;i<r;i++)"undefined"!==typeof t[i]&&(o={series:n},n.pointClass.prototype.applyOptions.apply(o,[t[i]]),n.updateParallelArrays(o,i));for(g&&M(g[0])&&m(14,!0,l),n.data=[],n.options.data=n.userOptions.data=t,i=a;i--;)s[i]&&s[i].destroy&&s[i].destroy();p&&(p.minRange=p.userMinRange),n.isDirty=l.isDirtyBox=!0,n.isDirtyData=!!s,i=!1}"point"===h.legendType&&(this.processData(),this.generatePoints()),e&&l.redraw(i)},sortData:function(t){var e=this,i=e.options.dataSorting.sortKey||"y",o=function(t,e){return g(e)&&t.pointClass.prototype.optionsToObject.call({series:t},e)||{}};return t.forEach((function(i,r){t[r]=o(e,i),t[r].index=r}),this),t.concat().sort((function(t,e){return t=S(i,t),e=S(i,e),e<t?-1:e>t?1:0})).forEach((function(t,e){t.x=e}),this),e.linkedSeries&&e.linkedSeries.forEach((function(e){var i=e.options,r=i.data;i.dataSorting&&i.dataSorting.enabled||!r||(r.forEach((function(i,n){r[n]=o(e,i),t[n]&&(r[n].x=t[n].x,r[n].index=n)})),e.setData(r,!1))})),t},getProcessedData:function(t){var e=this.xData,i=this.yData,o=e.length,r=0,n=this.xAxis,s=this.options,a=s.cropThreshold,h=t||this.getExtremesFromAll||s.getExtremesFromAll,l=this.isCartesian;t=n&&n.val2lin,s=!(!n||!n.logarithmic);var c=this.requireSorting;if(n){n=n.getExtremes();var d=n.min,p=n.max}if(l&&this.sorted&&!h&&(!a||o>a||this.forceCrop))if(e[o-1]<d||e[0]>p)e=[],i=[];else if(this.yData&&(e[0]<d||e[o-1]>p)){r=this.cropData(this.xData,this.yData,d,p),e=r.xData,i=r.yData,r=r.start;var u=!0}for(a=e.length||1;--a;)if(o=s?t(e[a])-t(e[a-1]):e[a]-e[a-1],0<o&&("undefined"===typeof f||o<f))var f=o;else 0>o&&c&&(m(15,!1,this.chart),c=!1);return{xData:e,yData:i,cropped:u,cropStart:r,closestPointRange:f}},processData:function(t){var e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;t=this.getProcessedData(),this.cropped=t.cropped,this.cropStart=t.cropStart,this.processedXData=t.xData,this.processedYData=t.yData,this.closestPointRange=this.basePointRange=t.closestPointRange},cropData:function(t,e,i,o,r){var n,s=t.length,a=0,h=s;for(r=P(r,this.cropShoulder),n=0;n<s;n++)if(t[n]>=i){a=Math.max(0,n-r);break}for(i=n;i<s;i++)if(t[i]>o){h=i+r;break}return{xData:t.slice(a,h),yData:e.slice(a,h),start:a,end:h}},generatePoints:function(){var t,e=this.options,i=e.data,o=this.data,r=this.processedXData,n=this.processedYData,s=this.pointClass,a=r.length,h=this.cropStart||0,l=this.hasGroupedData;e=e.keys;var c,d=[];for(o||l||(o=[],o.length=i.length,o=this.data=o),e&&l&&(this.options.keys=!1),c=0;c<a;c++){var p=h+c;if(l){var u=(new s).init(this,[r[c]].concat(L(n[c])));u.dataGroup=this.groupMap[c],u.dataGroup.options&&(u.options=u.dataGroup.options,v(u,u.dataGroup.options),delete u.dataLabels)}else(u=o[p])||"undefined"===typeof i[p]||(o[p]=u=(new s).init(this,i[p],r[c]));u&&(u.index=p,d[c]=u)}if(this.options.keys=e,o&&(a!==(t=o.length)||l))for(c=0;c<t;c++)c!==h||l||(c+=a),o[c]&&(o[c].destroyElements(),o[c].plotX=void 0);this.data=o,this.points=d,b(this,"afterGeneratePoints")},getXExtremes:function(t){return{min:p(t),max:d(t)}},getExtremes:function(t,e){var i,o=this.xAxis,r=this.yAxis,n=this.processedXData||this.xData,s=[],a=0,h=0,l=0,c=this.requireSorting?this.cropShoulder:0,u=!!r&&r.positiveValuesOnly;for(t=t||this.stackedYData||this.processedYData||[],r=t.length,o&&(l=o.getExtremes(),h=l.min,l=l.max),i=0;i<r;i++){var f=n[i],g=t[i],y=(C(g)||k(g))&&(g.length||0<g||!u);if(f=e||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!o||(n[i+c]||f)>=h&&(n[i-c]||f)<=l,y&&f)if(y=g.length)for(;y--;)C(g[y])&&(s[a++]=g[y]);else s[a++]=g}return t={dataMin:p(s),dataMax:d(s)},b(this,"afterGetExtremes",{dataExtremes:t}),t},applyExtremes:function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},getFirstValidPoint:function(t){for(var e=null,i=t.length,o=0;null===e&&o<i;)e=t[o],o++;return e},translate:function(){this.processedXData||this.processData(),this.generatePoints();var t,e,i=this.options,o=i.stacking,r=this.xAxis,n=r.categories,s=this.enabledDataSorting,a=this.yAxis,h=this.points,l=h.length,c=!!this.modifyValue,d=this.pointPlacementToXValue(),p=!!d,y=i.threshold,m=i.startFromThreshold?y:0,v=this.zoneAxis||"y",x=Number.MAX_VALUE;for(t=0;t<l;t++){var S=h[t],w=S.x,M=S.y,O=S.low,A=o&&a.stacking&&a.stacking.stacks[(this.negStacks&&M<(m?0:y)?"-":"")+this.stackKey];if((a.positiveValuesOnly&&!a.validatePositiveValue(M)||r.positiveValuesOnly&&!r.validatePositiveValue(w))&&(S.isNull=!0),S.plotX=e=f(u(r.translate(w,0,0,0,1,d,"flags"===this.type),-1e5,1e5)),o&&this.visible&&A&&A[w]){var T=this.getStackIndicator(T,w,this.index);if(!S.isNull)var L=A[w],E=L.points[T.key]}if(k(E)&&(O=E[0],M=E[1],O===m&&T.key===A[w].base&&(O=P(C(y)&&y,a.min)),a.positiveValuesOnly&&0>=O&&(O=null),S.total=S.stackTotal=L.total,S.percentage=L.total&&S.y/L.total*100,S.stackY=M,this.irregularWidths||L.setOffset(this.pointXOffset||0,this.barW||0)),S.yBottom=g(O)?u(a.translate(O,0,1,0,1),-1e5,1e5):null,c&&(M=this.modifyValue(M,S)),S.plotY="number"===typeof M&&1/0!==M?u(a.translate(M,0,1,0,1),-1e5,1e5):void 0,S.isInside=this.isPointInside(S),S.clientX=p?f(r.translate(w,0,0,0,1,d)):e,S.negative=S[v]<(i[v+"Threshold"]||y||0),S.category=n&&"undefined"!==typeof n[S.x]?n[S.x]:S.x,!S.isNull&&!1!==S.visible){"undefined"!==typeof j&&(x=Math.min(x,Math.abs(e-j)));var j=e}S.zone=this.zones.length&&S.getZone(),!S.graphic&&this.group&&s&&(S.isNew=!0)}this.closestPointRangePx=x,b(this,"afterTranslate")},getValidPoints:function(t,e,i){var o=this.chart;return(t||this.points||[]).filter((function(t){return!(e&&!o.isInsidePlot(t.plotX,t.plotY,o.inverted))&&(!1!==t.visible&&(i||!t.isNull))}))},getClipBox:function(t,e){var i=this.options,o=this.chart,r=o.inverted,n=this.xAxis,s=n&&this.yAxis,a=o.options.chart.scrollablePlotArea||{};return t&&!1===i.clip&&s?t=r?{y:-o.chartWidth+s.len+s.pos,height:o.chartWidth,width:o.chartHeight,x:-o.chartHeight+n.len+n.pos}:{y:-s.pos,height:o.chartHeight,width:o.chartWidth,x:-n.pos}:(t=this.clipBox||o.clipBox,e&&(t.width=o.plotSizeX,t.x=(o.scrollablePixelsX||0)*(a.scrollPositionX||0))),e?{width:t.width,x:t.x}:t},setClip:function(t){var e=this.chart,i=this.options,o=e.renderer,r=e.inverted,n=this.clipBox,s=this.getClipBox(t),a=this.sharedClipKey||["_sharedClip",t&&t.duration,t&&t.easing,s.height,i.xAxis,i.yAxis].join(),h=e[a],l=e[a+"m"];t&&(s.width=0,r&&(s.x=e.plotHeight+(!1!==i.clip?0:e.plotTop))),h?e.hasLoaded||h.attr(s):(t&&(e[a+"m"]=l=o.clipRect(r?e.plotSizeX+99:-99,r?-e.plotLeft:-e.plotTop,99,r?e.chartWidth:e.chartHeight)),e[a]=h=o.clipRect(s),h.count={length:0}),t&&!h.count[this.index]&&(h.count[this.index]=!0,h.count.length+=1),(!1!==i.clip||t)&&(this.group.clip(t||n?h:e.clipRect),this.markerGroup.clip(l),this.sharedClipKey=a),t||(h.count[this.index]&&(delete h.count[this.index],--h.count.length),0===h.count.length&&a&&e[a]&&(n||(e[a]=e[a].destroy()),e[a+"m"]&&(e[a+"m"]=e[a+"m"].destroy())))},animate:function(t){var e=this.chart,i=h(this.options.animation);if(!e.hasRendered)if(t)this.setClip(i);else{var o=this.sharedClipKey;t=e[o];var r=this.getClipBox(i,!0);t&&t.animate(r,i),e[o+"m"]&&e[o+"m"].animate({width:r.width+99,x:r.x-(e.inverted?0:99)},i)}},afterAnimate:function(){this.setClip(),b(this,"afterAnimate"),this.finishedAnimating=!0},drawPoints:function(){var t,e,i=this.points,o=this.chart,r=this.options.marker,n=this[this.specialGroup]||this.markerGroup,s=this.xAxis,a=P(r.enabled,!(s&&!s.isRadial)||null,this.closestPointRangePx>=r.enabledThreshold*r.radius);if(!1!==r.enabled||this._hasPointMarkers)for(t=0;t<i.length;t++){var h=i[t],l=(e=h.graphic)?"animate":"attr",c=h.marker||{},d=!!h.marker;if((a&&"undefined"===typeof c.enabled||c.enabled)&&!h.isNull&&!1!==h.visible){var p=P(c.symbol,this.symbol),u=this.markerAttribs(h,h.selected&&"select");this.enabledDataSorting&&(h.startXPos=s.reversed?-u.width:s.width);var f=!1!==h.isInside;e?e[f?"show":"hide"](f).animate(u):f&&(0<u.width||h.hasImage)&&(h.graphic=e=o.renderer.symbol(p,u.x,u.y,u.width,u.height,d?c:r).add(n),this.enabledDataSorting&&o.hasRendered&&(e.attr({x:h.startXPos}),l="animate")),e&&"animate"===l&&e[f?"show":"hide"](f).animate(u),e&&!o.styledMode&&e[l](this.pointAttribs(h,h.selected&&"select")),e&&e.addClass(h.getClassName(),!0)}else e&&(h.graphic=e.destroy())}},markerAttribs:function(t,e){var i=this.options,o=i.marker,r=t.marker||{},n=r.symbol||o.symbol,s=P(r.radius,o.radius);return e&&(o=o.states[e],e=r.states&&r.states[e],s=P(e&&e.radius,o&&o.radius,s+(o&&o.radiusPlus||0))),t.hasImage=n&&0===n.indexOf("url"),t.hasImage&&(s=0),t={x:i.crisp?Math.floor(t.plotX)-s:t.plotX-s,y:t.plotY-s},s&&(t.width=t.height=2*s),t},pointAttribs:function(t,e){var i=this.options.marker,o=t&&t.options,r=o&&o.marker||{},n=this.color,s=o&&o.color,a=t&&t.color;o=P(r.lineWidth,i.lineWidth);var h=t&&t.zone&&t.zone.color;return t=1,n=s||h||a||n,s=r.fillColor||i.fillColor||n,n=r.lineColor||i.lineColor||n,e=e||"normal",i=i.states[e],e=r.states&&r.states[e]||{},o=P(e.lineWidth,i.lineWidth,o+P(e.lineWidthPlus,i.lineWidthPlus,0)),s=e.fillColor||i.fillColor||s,n=e.lineColor||i.lineColor||n,t=P(e.opacity,i.opacity,t),{stroke:n,"stroke-width":o,fill:s,opacity:t}},destroy:function(t){var e,i,o,r,n=this,h=n.chart,l=/AppleWebKit\/533/.test(D.navigator.userAgent),c=n.data||[];for(b(n,"destroy"),this.removeEvents(t),(n.axisTypes||[]).forEach((function(t){(r=n[t])&&r.series&&(y(r.series,n),r.isDirty=r.forceRedraw=!0)})),n.legendItem&&n.chart.legend.destroyItem(n),i=c.length;i--;)(o=c[i])&&o.destroy&&o.destroy();n.points=null,a.clearTimeout(n.animationTimeout),A(n,(function(t,i){t instanceof s&&!t.survive&&(e=l&&"group"===i?"hide":"destroy",t[e]())})),h.hoverSeries===n&&(h.hoverSeries=null),y(h.series,n),h.orderSeries(),A(n,(function(e,i){t&&"hcEvents"===i||delete n[i]}))},getGraphPath:function(t,e,i){var o,r,n=this,s=n.options,a=s.step,h=[],l=[];return t=t||n.points,(o=t.reversed)&&t.reverse(),(a={right:1,center:2}[a]||a&&3)&&o&&(a=4-a),t=this.getValidPoints(t,!1,!(s.connectNulls&&!e&&!i)),t.forEach((function(o,c){var d=o.plotX,p=o.plotY,u=t[c-1];(o.leftCliff||u&&u.rightCliff)&&!i&&(r=!0),o.isNull&&!g(e)&&0<c?r=!s.connectNulls:o.isNull&&!e?r=!0:(0===c||r?c=[["M",o.plotX,o.plotY]]:n.getPointSpline?c=[n.getPointSpline(t,o,c)]:a?(c=1===a?[["L",u.plotX,p]]:2===a?[["L",(u.plotX+d)/2,u.plotY],["L",(u.plotX+d)/2,p]]:[["L",d,u.plotY]],c.push(["L",d,p])):c=[["L",d,p]],l.push(o.x),a&&(l.push(o.x),2===a&&l.push(o.x)),h.push.apply(h,c),r=!1)})),h.xMap=l,n.graphPath=h},drawGraph:function(){var t=this,e=this.options,i=(this.gappedPath||this.getGraphPath).call(this),o=this.chart.styledMode,r=[["graph","highcharts-graph"]];o||r[0].push(e.lineColor||this.color||"#cccccc",e.dashStyle),r=t.getZonesGraphs(r),r.forEach((function(r,n){var s=r[0],a=t[s],h=a?"animate":"attr";a?(a.endX=t.preventGraphAnimation?null:i.xMap,a.animate({d:i})):i.length&&(t[s]=a=t.chart.renderer.path(i).addClass(r[1]).attr({zIndex:1}).add(t.group)),a&&!o&&(s={stroke:r[2],"stroke-width":e.lineWidth,fill:t.fillGraph&&t.color||"none"},r[3]?s.dashstyle=r[3]:"square"!==e.linecap&&(s["stroke-linecap"]=s["stroke-linejoin"]="round"),a[h](s).shadow(2>n&&e.shadow)),a&&(a.startX=i.xMap,a.isArea=i.isArea)}))},getZonesGraphs:function(t){return this.zones.forEach((function(e,i){i=["zone-graph-"+i,"highcharts-graph highcharts-zone-graph-"+i+" "+(e.className||"")],this.chart.styledMode||i.push(e.color||this.color,e.dashStyle||this.options.dashStyle),t.push(i)}),this),t},applyZones:function(){var t,e,i,o,r,n,s,a,h=this,l=this.chart,c=l.renderer,d=this.zones,p=this.clips||[],f=this.graph,g=this.area,y=Math.max(l.chartWidth,l.chartHeight),m=this[(this.zoneAxis||"y")+"Axis"],v=l.inverted,x=!1;if(d.length&&(f||g)&&m&&"undefined"!==typeof m.min){var b=m.reversed,S=m.horiz;f&&!this.showLine&&f.hide(),g&&g.hide();var k=m.getExtremes();d.forEach((function(d,w){t=b?S?l.plotWidth:0:S?0:m.toPixels(k.min)||0,t=u(P(e,t),0,y),e=u(Math.round(m.toPixels(P(d.value,k.max),!0)||0),0,y),x&&(t=e=m.toPixels(k.max)),o=Math.abs(t-e),r=Math.min(t,e),n=Math.max(t,e),m.isXAxis?(i={x:v?n:r,y:0,width:o,height:y},S||(i.x=l.plotHeight-i.x)):(i={x:0,y:v?n:r,width:y,height:o},S&&(i.y=l.plotWidth-i.y)),v&&c.isVML&&(i=m.isXAxis?{x:0,y:b?r:n,height:i.width,width:l.chartWidth}:{x:i.y-l.plotLeft-l.spacingBox.x,y:0,width:i.height,height:l.chartHeight}),p[w]?p[w].animate(i):p[w]=c.clipRect(i),s=h["zone-area-"+w],a=h["zone-graph-"+w],f&&a&&a.clip(p[w]),g&&s&&s.clip(p[w]),x=d.value>k.max,h.resetZones&&0===e&&(e=void 0)})),this.clips=p}else h.visible&&(f&&f.show(!0),g&&g.show(!0))},invertGroups:function(t){function e(){["group","markerGroup"].forEach((function(e){i[e]&&(o.renderer.isVML&&i[e].attr({width:i.yAxis.len,height:i.xAxis.len}),i[e].width=i.yAxis.len,i[e].height=i.xAxis.len,i[e].invert(!i.isRadialSeries&&t))}))}var i=this,o=i.chart;i.xAxis&&(i.eventsToUnbind.push(c(o,"resize",e)),e(),i.invertGroups=e)},plotGroup:function(t,e,i,o,r){var n=this[t],s=!n;return i={visibility:i,zIndex:o||.1},"undefined"===typeof this.opacity||this.chart.styledMode||"inactive"===this.state||(i.opacity=this.opacity),s&&(this[t]=n=this.chart.renderer.g().add(r)),n.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(g(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(n.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),n.attr(i)[s?"attr":"animate"](this.getPlotBox()),n},getPlotBox:function(){var t=this.chart,e=this.xAxis,i=this.yAxis;return t.inverted&&(e=i,i=this.xAxis),{translateX:e?e.left:t.plotLeft,translateY:i?i.top:t.plotTop,scaleX:1,scaleY:1}},removeEvents:function(t){t?this.eventsToUnbind.length&&(this.eventsToUnbind.forEach((function(t){t()})),this.eventsToUnbind.length=0):T(this)},render:function(){var t=this,e=t.chart,i=t.options,o=h(i.animation),r=!t.finishedAnimating&&e.renderer.isSVG&&o.duration,n=t.visible?"inherit":"hidden",s=i.zIndex,a=t.hasRendered,l=e.seriesGroup,c=e.inverted;b(this,"render");var d=t.plotGroup("group","series",n,s,l);t.markerGroup=t.plotGroup("markerGroup","markers",n,s,l),r&&t.animate&&t.animate(!0),d.inverted=!(!t.isCartesian&&!t.invertable)&&c,t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.invertGroups(c),!1===i.clip||t.sharedClipKey||a||d.clip(e.clipRect),r&&t.animate&&t.animate(),a||(r&&o.defer&&(r+=o.defer),t.animationTimeout=E((function(){t.afterAnimate()}),r||0)),t.isDirty=!1,t.hasRendered=!0,b(t,"afterRender")},redraw:function(){var t=this.chart,e=this.isDirty||this.isDirtyData,i=this.group,o=this.xAxis,r=this.yAxis;i&&(t.inverted&&i.attr({width:t.plotWidth,height:t.plotHeight}),i.animate({translateX:P(o&&o.left,t.plotLeft),translateY:P(r&&r.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},kdAxisArray:["clientX","plotY"],searchPoint:function(t,e){var i=this.xAxis,o=this.yAxis,r=this.chart.inverted;return this.searchKDTree({clientX:r?i.len-t.chartY+i.pos:t.chartX-i.pos,plotY:r?o.len-t.chartX+o.pos:t.chartY-o.pos},e,t)},buildKDTree:function(t){function e(t,o,r){var n;if(n=t&&t.length){var s=i.kdAxisArray[o%r];return t.sort((function(t,e){return t[s]-e[s]})),n=Math.floor(n/2),{point:t[n],left:e(t.slice(0,n),o+1,r),right:e(t.slice(n+1),o+1,r)}}}this.buildingKdTree=!0;var i=this,o=-1<i.options.findNearestPointBy.indexOf("y")?2:1;delete i.kdTree,E((function(){i.kdTree=e(i.getValidPoints(null,!i.directTouch),o,o),i.buildingKdTree=!1}),i.options.kdNow||t&&"touchstart"===t.type?0:1)},searchKDTree:function(t,e,i){function o(t,e,i,h){var l=e.point,c=r.kdAxisArray[i%h],d=l,p=g(t[n])&&g(l[n])?Math.pow(t[n]-l[n],2):null,u=g(t[s])&&g(l[s])?Math.pow(t[s]-l[s],2):null;return u=(p||0)+(u||0),l.dist=g(u)?Math.sqrt(u):Number.MAX_VALUE,l.distX=g(p)?Math.sqrt(p):Number.MAX_VALUE,c=t[c]-l[c],u=0>c?"left":"right",p=0>c?"right":"left",e[u]&&(u=o(t,e[u],i+1,h),d=u[a]<d[a]?u:l),e[p]&&Math.sqrt(c*c)<d[a]&&(t=o(t,e[p],i+1,h),d=t[a]<d[a]?t:d),d}var r=this,n=this.kdAxisArray[0],s=this.kdAxisArray[1],a=e?"distX":"dist";if(e=-1<r.options.findNearestPointBy.indexOf("y")?2:1,this.kdTree||this.buildingKdTree||this.buildKDTree(i),this.kdTree)return o(t,this.kdTree,e,e)},pointPlacementToXValue:function(){var t=this.options,e=t.pointRange,i=this.xAxis;return t=t.pointPlacement,"between"===t&&(t=i.reversed?-.5:.5),C(t)?t*P(e,i.pointRange):0},isPointInside:function(t){return"undefined"!==typeof t.plotY&&"undefined"!==typeof t.plotX&&0<=t.plotY&&t.plotY<=this.yAxis.len&&0<=t.plotX&&t.plotX<=this.xAxis.len}}),t})),e(i,"Series/LineSeries.js",[i["Core/Series/CartesianSeries.js"],i["Core/Globals.js"]],(function(t,e){return e.Series=t,e.Series})),e(i,"Extensions/Stacking.js",[i["Core/Axis/Axis.js"],i["Core/Chart/Chart.js"],i["Core/Globals.js"],i["Core/Axis/StackingAxis.js"],i["Core/Utilities.js"]],(function(t,e,i,o,r){var n=r.correctFloat,s=r.defined,a=r.destroyObjectProperties,h=r.format,l=r.isNumber,c=r.pick,d=i.Series,p=function(){function t(t,e,i,o,r){var n=t.chart.inverted;this.axis=t,this.isNegative=i,this.options=e=e||{},this.x=o,this.total=null,this.points={},this.hasValidPoints=!1,this.stack=r,this.rightCliff=this.leftCliff=0,this.alignOptions={align:e.align||(n?i?"left":"right":"center"),verticalAlign:e.verticalAlign||(n?"middle":i?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(n?i?"right":"left":"center")}return t.prototype.destroy=function(){a(this,this.axis)},t.prototype.render=function(t){var e=this.axis.chart,i=this.options,o=i.format;o=o?h(o,this,e):i.formatter.call(this),this.label?this.label.attr({text:o,visibility:"hidden"}):(this.label=e.renderer.label(o,null,null,i.shape,null,null,i.useHTML,!1,"stack-labels"),o={r:i.borderRadius||0,text:o,rotation:i.rotation,padding:c(i.padding,5),visibility:"hidden"},e.styledMode||(o.fill=i.backgroundColor,o.stroke=i.borderColor,o["stroke-width"]=i.borderWidth,this.label.css(i.style)),this.label.attr(o),this.label.added||this.label.add(t)),this.label.labelrank=e.plotHeight},t.prototype.setOffset=function(t,e,i,o,r){var n=this.axis,a=n.chart;o=n.translate(n.stacking.usePercentage?100:o||this.total,0,0,0,1),i=n.translate(i||0),i=s(o)&&Math.abs(o-i),t=c(r,a.xAxis[0].translate(this.x))+t,n=s(o)&&this.getStackBox(a,this,t,o,e,i,n),e=this.label,i=this.isNegative,t="justify"===c(this.options.overflow,"justify");var h=this.textAlign;e&&n&&(r=e.getBBox(),o=e.padding,h="left"===h?a.inverted?-o:o:"right"===h?r.width:a.inverted&&"center"===h?r.width/2:a.inverted?i?r.width+o:-o:r.width/2,i=a.inverted?r.height/2:i?-o:r.height,this.alignOptions.x=c(this.options.x,0),this.alignOptions.y=c(this.options.y,0),n.x-=h,n.y-=i,e.align(this.alignOptions,null,n),a.isInsidePlot(e.alignAttr.x+h-this.alignOptions.x,e.alignAttr.y+i-this.alignOptions.y)?e.show():(e.alignAttr.y=-9999,t=!1),t&&d.prototype.justifyDataLabel.call(this.axis,e,this.alignOptions,e.alignAttr,r,n),e.attr({x:e.alignAttr.x,y:e.alignAttr.y}),c(!t&&this.options.crop,!0)&&((a=l(e.x)&&l(e.y)&&a.isInsidePlot(e.x-o+e.width,e.y)&&a.isInsidePlot(e.x+o,e.y))||e.hide()))},t.prototype.getStackBox=function(t,e,i,o,r,n,s){var a=e.axis.reversed,h=t.inverted,l=s.height+s.pos-(h?t.plotLeft:t.plotTop);return e=e.isNegative&&!a||!e.isNegative&&a,{x:h?e?o-s.right:o-n+s.pos-t.plotLeft:i+t.xAxis[0].transB-t.plotLeft,y:h?s.height-i-r:e?l-o-n:l-o,width:h?n:r,height:h?r:n}},t}();return e.prototype.getStacks=function(){var t=this,e=t.inverted;t.yAxis.forEach((function(t){t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)})),t.series.forEach((function(i){var o=i.xAxis&&i.xAxis.options||{};!i.options.stacking||!0!==i.visible&&!1!==t.options.chart.ignoreHiddenSeries||(i.stackKey=[i.type,c(i.options.stack,""),e?o.top:o.left,e?o.height:o.width].join())}))},o.compose(t),d.prototype.setGroupedPoints=function(){this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length&&d.prototype.setStackedPoints.call(this,"group")},d.prototype.setStackedPoints=function(t){var e=t||this.options.stacking;if(e&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var i=this.processedXData,o=this.processedYData,r=[],a=o.length,h=this.options,l=h.threshold,d=c(h.startFromThreshold&&l,0);h=h.stack,t=t?this.type+","+e:this.stackKey;var u,f,g="-"+t,y=this.negStacks,m=this.yAxis,v=m.stacking.stacks,x=m.stacking.oldStacks;for(m.stacking.stacksTouched+=1,f=0;f<a;f++){var b=i[f],S=o[f],k=this.getStackIndicator(k,b,this.index),w=k.key,C=(u=y&&S<(d?0:l))?g:t;v[C]||(v[C]={}),v[C][b]||(x[C]&&x[C][b]?(v[C][b]=x[C][b],v[C][b].total=null):v[C][b]=new p(m,m.options.stackLabels,u,b,h)),C=v[C][b],null!==S?(C.points[w]=C.points[this.index]=[c(C.cumulative,d)],s(C.cumulative)||(C.base=w),C.touched=m.stacking.stacksTouched,0<k.index&&!1===this.singleStacks&&(C.points[w][0]=C.points[this.index+","+b+",0"][0])):C.points[w]=C.points[this.index]=null,"percent"===e?(u=u?t:g,y&&v[u]&&v[u][b]?(u=v[u][b],C.total=u.total=Math.max(u.total,C.total)+Math.abs(S)||0):C.total=n(C.total+(Math.abs(S)||0))):"group"===e?null!==S&&(C.total=(C.total||0)+1):C.total=n(C.total+(S||0)),C.cumulative="group"===e?(C.total||1)-1:c(C.cumulative,d)+(S||0),null!==S&&(C.points[w].push(C.cumulative),r[f]=C.cumulative,C.hasValidPoints=!0)}"percent"===e&&(m.stacking.usePercentage=!0),"group"!==e&&(this.stackedYData=r),m.stacking.oldStacks={}}},d.prototype.modifyStacks=function(){var t,e=this,i=e.stackKey,o=e.yAxis.stacking.stacks,r=e.processedXData,n=e.options.stacking;e[n+"Stacker"]&&[i,"-"+i].forEach((function(i){for(var s,a,h=r.length;h--;)s=r[h],t=e.getStackIndicator(t,s,e.index,i),(a=(s=o[i]&&o[i][s])&&s.points[t.key])&&e[n+"Stacker"](a,s,h)}))},d.prototype.percentStacker=function(t,e,i){e=e.total?100/e.total:0,t[0]=n(t[0]*e),t[1]=n(t[1]*e),this.stackedYData[i]=t[1]},d.prototype.getStackIndicator=function(t,e,i,o){return!s(t)||t.x!==e||o&&t.key!==o?t={x:e,index:0,key:o}:t.index++,t.key=[i,e,t.index].join(),t},i.StackItem=p,i.StackItem})),e(i,"Core/Dynamics.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/Axis.js"],i["Core/Series/Series.js"],i["Core/Chart/Chart.js"],i["Core/Globals.js"],i["Series/LineSeries.js"],i["Core/Options.js"],i["Core/Series/Point.js"],i["Core/Time.js"],i["Core/Utilities.js"]],(function(t,e,i,o,r,n,s,a,h,l){var c=t.animate,d=t.setAnimation,p=i.seriesTypes,u=s.time,f=l.addEvent,g=l.createElement,y=l.css,m=l.defined,v=l.erase,x=l.error,b=l.extend,S=l.fireEvent,k=l.isArray,w=l.isNumber,C=l.isObject,M=l.isString,O=l.merge,A=l.objectEach,P=l.pick,T=l.relativeLength,L=l.splat;r.cleanRecursively=function(t,e){var i={};return A(t,(function(o,n){C(t[n],!0)&&!t.nodeType&&e[n]?(o=r.cleanRecursively(t[n],e[n]),Object.keys(o).length&&(i[n]=o)):(C(t[n])||t[n]!==e[n])&&(i[n]=t[n])})),i},b(o.prototype,{addSeries:function(t,e,i){var o,r=this;return t&&(e=P(e,!0),S(r,"addSeries",{options:t},(function(){o=r.initSeries(t),r.isDirtyLegend=!0,r.linkSeries(),o.enabledDataSorting&&o.setData(t.data,!1),S(r,"afterAddSeries",{series:o}),e&&r.redraw(i)}))),o},addAxis:function(t,e,i,o){return this.createAxis(e?"xAxis":"yAxis",{axis:t,redraw:i,animation:o})},addColorAxis:function(t,e,i){return this.createAxis("colorAxis",{axis:t,redraw:e,animation:i})},createAxis:function(t,i){var o=this.options,n="colorAxis"===t,s=i.redraw,a=i.animation;i=O(i.axis,{index:this[t].length,isX:"xAxis"===t});var h=n?new r.ColorAxis(this,i):new e(this,i);return o[t]=L(o[t]||{}),o[t].push(i),n&&(this.isDirtyLegend=!0,this.axes.forEach((function(t){t.series=[]})),this.series.forEach((function(t){t.bindAxes(),t.isDirtyData=!0}))),P(s,!0)&&this.redraw(a),h},showLoading:function(t){var e=this,i=e.options,o=e.loadingDiv,r=i.loading,n=function(){o&&y(o,{left:e.plotLeft+"px",top:e.plotTop+"px",width:e.plotWidth+"px",height:e.plotHeight+"px"})};o||(e.loadingDiv=o=g("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e.container),e.loadingSpan=g("span",{className:"highcharts-loading-inner"},null,o),f(e,"redraw",n)),o.className="highcharts-loading",e.loadingSpan.innerHTML=P(t,i.lang.loading,""),e.styledMode||(y(o,b(r.style,{zIndex:10})),y(e.loadingSpan,r.labelStyle),e.loadingShown||(y(o,{opacity:0,display:""}),c(o,{opacity:r.style.opacity||.5},{duration:r.showDuration||0}))),e.loadingShown=!0,n()},hideLoading:function(){var t=this.options,e=this.loadingDiv;e&&(e.className="highcharts-loading highcharts-loading-hidden",this.styledMode||c(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){y(e,{display:"none"})}})),this.loadingShown=!1},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(" "),collectionsWithUpdate:["xAxis","yAxis","zAxis","series"],update:function(t,e,i,o){var n,s,a,l=this,c={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},d=t.isResponsiveOptions,p=[];if(S(l,"update",{options:t}),d||l.setResponsive(!1,!0),t=r.cleanRecursively(t,l.options),O(!0,l.userOptions,t),n=t.chart){if(O(!0,l.options.chart,n),"className"in n&&l.setClassName(n.className),"reflow"in n&&l.setReflow(n.reflow),"inverted"in n||"polar"in n||"type"in n){l.propFromSeries();var f=!0}"alignTicks"in n&&(f=!0),A(n,(function(t,e){-1!==l.propsRequireUpdateSeries.indexOf("chart."+e)&&(s=!0),-1!==l.propsRequireDirtyBox.indexOf(e)&&(l.isDirtyBox=!0),-1!==l.propsRequireReflow.indexOf(e)&&(d?l.isDirtyBox=!0:a=!0)})),!l.styledMode&&"style"in n&&l.renderer.setStyle(n.style)}!l.styledMode&&t.colors&&(this.options.colors=t.colors),t.time&&(this.time===u&&(this.time=new h(t.time)),O(!0,l.options.time,t.time)),A(t,(function(e,i){l[i]&&"function"===typeof l[i].update?l[i].update(e,!1):"function"===typeof l[c[i]]?l[c[i]](e):"color"!==i&&-1===l.collectionsWithUpdate.indexOf(i)&&O(!0,l.options[i],t[i]),"chart"!==i&&-1!==l.propsRequireUpdateSeries.indexOf(i)&&(s=!0)})),this.collectionsWithUpdate.forEach((function(e){if(t[e]){if("series"===e){var o=[];l[e].forEach((function(t,e){t.options.isInternal||o.push(P(t.options.index,e))}))}L(t[e]).forEach((function(t,r){var n,s=m(t.id);s&&(n=l.get(t.id)),n||(n=l[e][o?o[r]:r])&&s&&m(n.options.id)&&(n=void 0),n&&n.coll===e&&(n.update(t,!1),i&&(n.touched=!0)),!n&&i&&l.collectionsWithInit[e]&&(l.collectionsWithInit[e][0].apply(l,[t].concat(l.collectionsWithInit[e][1]||[]).concat([!1])).touched=!0)})),i&&l[e].forEach((function(t){t.touched||t.options.isInternal?delete t.touched:p.push(t)}))}})),p.forEach((function(t){t.remove&&t.remove(!1)})),f&&l.axes.forEach((function(t){t.update({},!1)})),s&&l.getSeriesOrderByLinks().forEach((function(t){t.chart&&t.update({},!1)}),this),f=n&&n.width,n=n&&n.height,M(n)&&(n=T(n,f||l.chartWidth)),a||w(f)&&f!==l.chartWidth||w(n)&&n!==l.chartHeight?l.setSize(f,n,o):P(e,!0)&&l.redraw(o),S(l,"afterUpdate",{options:t,redraw:e,animation:o})},setSubtitle:function(t,e){this.applyDescription("subtitle",t),this.layOutTitles(e)},setCaption:function(t,e){this.applyDescription("caption",t),this.layOutTitles(e)}}),o.prototype.collectionsWithInit={xAxis:[o.prototype.addAxis,[!0]],yAxis:[o.prototype.addAxis,[!1]],series:[o.prototype.addSeries]},b(a.prototype,{update:function(t,e,i,o){function r(){s.applyOptions(t);var o=h&&s.hasDummyGraphic;o=null===s.y?!o:o,h&&o&&(s.graphic=h.destroy(),delete s.hasDummyGraphic),C(t,!0)&&(h&&h.element&&t&&t.marker&&"undefined"!==typeof t.marker.symbol&&(s.graphic=h.destroy()),t&&t.dataLabels&&s.dataLabel&&(s.dataLabel=s.dataLabel.destroy()),s.connector&&(s.connector=s.connector.destroy())),n=s.index,a.updateParallelArrays(s,n),c.data[n]=C(c.data[n],!0)||C(t,!0)?s.options:P(t,c.data[n]),a.isDirty=a.isDirtyData=!0,!a.fixedBox&&a.hasCartesianSeries&&(l.isDirtyBox=!0),"point"===c.legendType&&(l.isDirtyLegend=!0),e&&l.redraw(i)}var n,s=this,a=s.series,h=s.graphic,l=a.chart,c=a.options;e=P(e,!0),!1===o?r():s.firePointEvent("update",{options:t},r)},remove:function(t,e){this.series.removePoint(this.series.data.indexOf(this),t,e)}}),b(n.prototype,{addPoint:function(t,e,i,o,r){var n=this.options,s=this.data,a=this.chart,h=this.xAxis;h=h&&h.hasNames&&h.names;var l,c=n.data,d=this.xData;e=P(e,!0);var p={series:this};this.pointClass.prototype.applyOptions.apply(p,[t]);var u=p.x,f=d.length;if(this.requireSorting&&u<d[f-1])for(l=!0;f&&d[f-1]>u;)f--;this.updateParallelArrays(p,"splice",f,0,0),this.updateParallelArrays(p,f),h&&p.name&&(h[u]=p.name),c.splice(f,0,t),l&&(this.data.splice(f,0,null),this.processData()),"point"===n.legendType&&this.generatePoints(),i&&(s[0]&&s[0].remove?s[0].remove(!1):(s.shift(),this.updateParallelArrays(p,"shift"),c.shift())),!1!==r&&S(this,"addPoint",{point:p}),this.isDirtyData=this.isDirty=!0,e&&a.redraw(o)},removePoint:function(t,e,i){var o=this,r=o.data,n=r[t],s=o.points,a=o.chart,h=function(){s&&s.length===r.length&&s.splice(t,1),r.splice(t,1),o.options.data.splice(t,1),o.updateParallelArrays(n||{series:o},"splice",t,1),n&&n.destroy(),o.isDirty=!0,o.isDirtyData=!0,e&&a.redraw()};d(i,a),e=P(e,!0),n?n.firePointEvent("remove",null,h):h()},remove:function(t,e,i,o){function r(){n.destroy(o),n.remove=null,s.isDirtyLegend=s.isDirtyBox=!0,s.linkSeries(),P(t,!0)&&s.redraw(e)}var n=this,s=n.chart;!1!==i?S(n,"remove",null,r):r()},update:function(t,e){t=r.cleanRecursively(t,this.userOptions),S(this,"update",{options:t});var i,o=this,n=o.chart,s=o.userOptions,a=o.initialType||o.type,h=n.options.plotOptions,l=t.type||s.type||n.options.chart.type,c=!(this.hasDerivedData||l&&l!==this.type||"undefined"!==typeof t.pointStart||"undefined"!==typeof t.pointInterval||o.hasOptionChanged("dataGrouping")||o.hasOptionChanged("pointStart")||o.hasOptionChanged("pointInterval")||o.hasOptionChanged("pointIntervalUnit")||o.hasOptionChanged("keys")),d=p[a].prototype,u=["eventOptions","navigatorSeries","baseSeries"],f=o.finishedAnimating&&{animation:!1},g={};for(i in c&&(u.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&u.push("area","graph"),o.parallelArrays.forEach((function(t){u.push(t+"Data")})),t.data&&(t.dataSorting&&b(o.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=O(s,f,{index:"undefined"===typeof s.index?o.index:s.index,pointStart:P(h&&h.series&&h.series.pointStart,s.pointStart,o.xData[0])},!c&&{data:o.options.data},t),c&&t.data&&(t.data=o.options.data),u=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(u),u.forEach((function(t){u[t]=o[t],delete o[t]})),o.remove(!1,null,!1,!0),d)o[i]=void 0;if(p[l||a]?b(o,p[l||a].prototype):x(17,!0,n,{missingModuleFor:l||a}),u.forEach((function(t){o[t]=u[t]})),o.init(n,t),c&&this.points){var y=o.options;!1===y.visible?(g.graphic=1,g.dataLabel=1):o._hasPointLabels||(t=y.marker,s=y.dataLabels,t&&(!1===t.enabled||"symbol"in t)&&(g.graphic=1),s&&!1===s.enabled&&(g.dataLabel=1)),this.points.forEach((function(t){t&&t.series&&(t.resolveColor(),Object.keys(g).length&&t.destroyElements(g),!1===y.showInLegend&&t.legendItem&&n.legend.destroyItem(t))}),this)}o.initialType=a,n.linkSeries(),S(this,"afterUpdate"),P(e,!0)&&n.redraw(!!c&&void 0)},setName:function(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0},hasOptionChanged:function(t){var e=this.options[t],i=this.chart.options.plotOptions,o=this.userOptions[t];return o?e!==o:e!==P(i&&i[this.type]&&i[this.type][t],i&&i.series&&i.series[t],e)}}),b(e.prototype,{update:function(t,e){var i=this.chart,o=t&&t.events||{};t=O(this.userOptions,t),i.options[this.coll].indexOf&&(i.options[this.coll][i.options[this.coll].indexOf(this.userOptions)]=t),A(i.options[this.coll].events,(function(t,e){"undefined"===typeof o[e]&&(o[e]=void 0)})),this.destroy(!0),this.init(i,b(t,{events:o})),i.isDirtyBox=!0,P(e,!0)&&i.redraw()},remove:function(t){for(var e=this.chart,i=this.coll,o=this.series,r=o.length;r--;)o[r]&&o[r].remove(!1);v(e.axes,this),v(e[i],this),k(e.options[i])?e.options[i].splice(this.options.index,1):delete e.options[i],e[i].forEach((function(t,e){t.options.index=t.userOptions.index=e})),this.destroy(),e.isDirtyBox=!0,P(t,!0)&&e.redraw()},setTitle:function(t,e){this.update({title:t},e)},setCategories:function(t,e){this.update({categories:t},e)}})})),e(i,"Series/AreaSeries.js",[i["Core/Series/Series.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Mixins/LegendSymbol.js"],i["Core/Utilities.js"]],(function(t,e,i,o,r){var n=e.parse,s=r.objectEach,a=r.pick,h=i.Series;t.seriesType("area","line",{threshold:0},{singleStacks:!1,getStackPoints:function(t){var e,i=[],o=[],r=this.xAxis,n=this.yAxis,h=n.stacking.stacks[this.stackKey],l={},c=this.index,d=n.series,p=d.length,u=a(n.options.reversedStacks,!0)?1:-1;if(t=t||this.points,this.options.stacking){for(e=0;e<t.length;e++)t[e].leftNull=t[e].rightNull=void 0,l[t[e].x]=t[e];s(h,(function(t,e){null!==t.total&&o.push(e)})),o.sort((function(t,e){return t-e}));var f=d.map((function(t){return t.visible}));o.forEach((function(t,s){var a,d,g=0;if(l[t]&&!l[t].isNull)i.push(l[t]),[-1,1].forEach((function(i){var r=1===i?"rightNull":"leftNull",n=0,g=h[o[s+i]];if(g)for(e=c;0<=e&&e<p;)a=g.points[e],a||(e===c?l[t][r]=!0:f[e]&&(d=h[t].points[e])&&(n-=d[1]-d[0])),e+=u;l[t][1===i?"rightCliff":"leftCliff"]=n}));else{for(e=c;0<=e&&e<p;){if(a=h[t].points[e]){g=a[1];break}e+=u}g=n.translate(g,0,1,0,1),i.push({isNull:!0,plotX:r.translate(t,0,0,0,1),x:t,plotY:g,yBottom:g})}}))}return i},getGraphPath:function(t){var e,i=h.prototype.getGraphPath,o=this.options,r=o.stacking,n=this.yAxis,s=[],l=[],c=this.index,d=n.stacking.stacks[this.stackKey],p=o.threshold,u=Math.round(n.getThreshold(o.threshold));o=a(o.connectNulls,"percent"===r);var f=function(e,i,o){var a=t[e];e=r&&d[a.x].points[c];var h=a[o+"Null"]||0;if(o=a[o+"Cliff"]||0,a=!0,o||h){var f=(h?e[0]:e[1])+o,g=e[0]+o;a=!!h}else!r&&t[i]&&t[i].isNull&&(f=g=p);"undefined"!==typeof f&&(l.push({plotX:y,plotY:null===f?u:n.getThreshold(f),isNull:a,isCliff:!0}),s.push({plotX:y,plotY:null===g?u:n.getThreshold(g),doCurve:!1}))};for(t=t||this.points,r&&(t=this.getStackPoints(t)),e=0;e<t.length;e++){r||(t[e].leftCliff=t[e].rightCliff=t[e].leftNull=t[e].rightNull=void 0);var g=t[e].isNull,y=a(t[e].rectPlotX,t[e].plotX),m=r?t[e].yBottom:u;g&&!o||(o||f(e,e-1,"left"),g&&!r&&o||(l.push(t[e]),s.push({x:e,plotX:y,plotY:m})),o||f(e,e+1,"right"))}return e=i.call(this,l,!0,!0),s.reversed=!0,g=i.call(this,s,!0,!0),(m=g[0])&&"M"===m[0]&&(g[0]=["L",m[1],m[2]]),g=e.concat(g),i=i.call(this,l,!1,o),g.xMap=e.xMap,this.areaPath=g,i},drawGraph:function(){this.areaPath=[],h.prototype.drawGraph.apply(this);var t=this,e=this.areaPath,i=this.options,o=[["area","highcharts-area",this.color,i.fillColor]];this.zones.forEach((function(e,r){o.push(["zone-area-"+r,"highcharts-area highcharts-zone-area-"+r+" "+e.className,e.color||t.color,e.fillColor||i.fillColor])})),o.forEach((function(o){var r=o[0],s=t[r],h=s?"animate":"attr",l={};s?(s.endX=t.preventGraphAnimation?null:e.xMap,s.animate({d:e})):(l.zIndex=0,s=t[r]=t.chart.renderer.path(e).addClass(o[1]).add(t.group),s.isArea=!0),t.chart.styledMode||(l.fill=a(o[3],n(o[2]).setOpacity(a(i.fillOpacity,.75)).get())),s[h](l),s.startX=e.xMap,s.shiftUnit=i.step?2:1}))},drawLegendSymbol:o.drawRectangle})})),e(i,"Series/SplineSeries.js",[i["Core/Series/Series.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.pick;t.seriesType("spline","line",{},{getPointSpline:function(t,e,o){var r=e.plotX||0,n=e.plotY||0,s=t[o-1];if(o=t[o+1],s&&!s.isNull&&!1!==s.doCurve&&!e.isCliff&&o&&!o.isNull&&!1!==o.doCurve&&!e.isCliff){t=s.plotY||0;var a=o.plotX||0;o=o.plotY||0;var h=0,l=(1.5*r+(s.plotX||0))/2.5,c=(1.5*n+t)/2.5;a=(1.5*r+a)/2.5;var d=(1.5*n+o)/2.5;a!==l&&(h=(d-c)*(a-r)/(a-l)+n-d),c+=h,d+=h,c>t&&c>n?(c=Math.max(t,n),d=2*n-c):c<t&&c<n&&(c=Math.min(t,n),d=2*n-c),d>o&&d>n?(d=Math.max(o,n),c=2*n-d):d<o&&d<n&&(d=Math.min(o,n),c=2*n-d),e.rightContX=a,e.rightContY=d}return e=["C",i(s.rightContX,s.plotX,0),i(s.rightContY,s.plotY,0),i(l,r,0),i(c,n,0),r,n],s.rightContX=s.rightContY=void 0,e}})})),e(i,"Series/AreaSplineSeries.js",[i["Core/Series/Series.js"],i["Mixins/LegendSymbol.js"],i["Core/Options.js"]],(function(t,e,i){var o=t.seriesTypes.area.prototype;t.seriesType("areaspline","spline",i.defaultOptions.plotOptions.area,{getStackPoints:o.getStackPoints,getGraphPath:o.getGraphPath,drawGraph:o.drawGraph,drawLegendSymbol:e.drawRectangle})})),e(i,"Series/ColumnSeries.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Series/Series.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Mixins/LegendSymbol.js"],i["Series/LineSeries.js"],i["Core/Utilities.js"]],(function(t,e,i,o,r,n,s){var a=t.animObject,h=i.parse;t=o.noop;var l=s.clamp,c=s.defined,d=s.extend,p=s.isArray,u=s.isNumber,f=s.merge,g=s.pick,y=s.objectEach;return e=e.seriesType("column","line",{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"},{cropShoulder:0,directTouch:!0,trackerGroups:["group","dataLabelsGroup"],negStacks:!0,init:function(){n.prototype.init.apply(this,arguments);var t=this,e=t.chart;e.hasRendered&&e.series.forEach((function(e){e.type===t.type&&(e.isDirty=!0)}))},getColumnMetrics:function(){var t=this,e=t.options,i=t.xAxis,o=t.yAxis,r=i.options.reversedStacks;r=i.reversed&&!r||!i.reversed&&r;var n,s={},a=0;!1===e.grouping?a=1:t.chart.series.forEach((function(e){var i=e.yAxis,r=e.options;if(e.type===t.type&&(e.visible||!t.chart.options.chart.ignoreHiddenSeries)&&o.len===i.len&&o.pos===i.pos){if(r.stacking&&"group"!==r.stacking){n=e.stackKey,"undefined"===typeof s[n]&&(s[n]=a++);var h=s[n]}else!1!==r.grouping&&(h=a++);e.columnIndex=h}}));var h=Math.min(Math.abs(i.transA)*(i.ordinal&&i.ordinal.slope||e.pointRange||i.closestPointRange||i.tickInterval||1),i.len),l=h*e.groupPadding,c=(h-2*l)/(a||1);return e=Math.min(e.maxPointWidth||i.len,g(e.pointWidth,c*(1-2*e.pointPadding))),t.columnMetrics={width:e,offset:(c-e)/2+(l+((t.columnIndex||0)+(r?1:0))*c-h/2)*(r?-1:1),paddedWidth:c,columnCount:a},t.columnMetrics},crispCol:function(t,e,i,o){var r=this.chart,n=this.borderWidth,s=-(n%2?.5:0);return n=n%2?.5:1,r.inverted&&r.renderer.isVML&&(n+=1),this.options.crisp&&(i=Math.round(t+i)+s,t=Math.round(t)+s,i-=t),o=Math.round(e+o)+n,s=.5>=Math.abs(e)&&.5<o,e=Math.round(e)+n,o-=e,s&&o&&(--e,o+=1),{x:t,y:e,width:i,height:o}},adjustForMissingColumns:function(t,e,i,o){var r=this,n=this.options.stacking;if(!i.isNull&&1<o.columnCount){var s=0,a=0;y(this.yAxis.stacking&&this.yAxis.stacking.stacks,(function(t){if("number"===typeof i.x&&(t=t[i.x.toString()])){var e=t.points[r.index],o=t.total;n?(e&&(s=a),t.hasValidPoints&&a++):p(e)&&(s=e[1],a=o||0)}})),t=(i.plotX||0)+((a-1)*o.paddedWidth+e)/2-e-s*o.paddedWidth}return t},translate:function(){var t=this,e=t.chart,i=t.options,o=t.dense=2>t.closestPointRange*t.xAxis.transA;o=t.borderWidth=g(i.borderWidth,o?0:1);var r=t.xAxis,s=t.yAxis,a=i.threshold,h=t.translatedThreshold=s.getThreshold(a),d=g(i.minPointLength,5),p=t.getColumnMetrics(),f=p.width,y=t.barW=Math.max(f,1+2*o),m=t.pointXOffset=p.offset,v=t.dataMin,x=t.dataMax;e.inverted&&(h-=.5),i.pointPadding&&(y=Math.ceil(y)),n.prototype.translate.apply(t),t.points.forEach((function(o){var n=g(o.yBottom,h),b=999+Math.abs(n),S=f,k=o.plotX||0;b=l(o.plotY,-b,s.len+b);var w=k+m,C=y,M=Math.min(b,n),O=Math.max(b,n)-M;if(d&&Math.abs(O)<d){O=d;var A=!s.reversed&&!o.negative||s.reversed&&o.negative;u(a)&&u(x)&&o.y===a&&x<=a&&(s.min||0)<a&&v!==x&&(A=!A),M=Math.abs(M-h)>d?n-d:h-(A?d:0)}c(o.options.pointWidth)&&(S=C=Math.ceil(o.options.pointWidth),w-=Math.round((S-f)/2)),i.centerInCategory&&(w=t.adjustForMissingColumns(w,S,o,p)),o.barX=w,o.pointWidth=S,o.tooltipPos=e.inverted?[s.len+s.pos-e.plotLeft-b,r.len+r.pos-e.plotTop-(k||0)-m-C/2,O]:[w+C/2,b+s.pos-e.plotTop,O],o.shapeType=t.pointClass.prototype.shapeType||"rect",o.shapeArgs=t.crispCol.apply(t,o.isNull?[w,h,C,0]:[w,M,C,O])}))},getSymbol:t,drawLegendSymbol:r.drawRectangle,drawGraph:function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},pointAttribs:function(t,e){var i=this.options,o=this.pointAttrToOptions||{},r=o.stroke||"borderColor",n=o["stroke-width"]||"borderWidth",s=t&&t.color||this.color,a=t&&t[r]||i[r]||this.color||s,l=t&&t[n]||i[n]||this[n]||0;o=t&&t.options.dashStyle||i.dashStyle;var c=g(t&&t.opacity,i.opacity,1);if(t&&this.zones.length){var d=t.getZone();s=t.options.color||d&&(d.color||t.nonZonedColor)||this.color,d&&(a=d.borderColor||a,o=d.dashStyle||o,l=d.borderWidth||l)}return e&&t&&(t=f(i.states[e],t.options.states&&t.options.states[e]||{}),e=t.brightness,s=t.color||"undefined"!==typeof e&&h(s).brighten(t.brightness).get()||s,a=t[r]||a,l=t[n]||l,o=t.dashStyle||o,c=g(t.opacity,c)),r={fill:s,stroke:a,"stroke-width":l,opacity:c},o&&(r.dashstyle=o),r},drawPoints:function(){var t,e=this,i=this.chart,o=e.options,r=i.renderer,n=o.animationLimit||250;e.points.forEach((function(s){var a=s.graphic,h=!!a,l=a&&i.pointCount<n?"animate":"attr";u(s.plotY)&&null!==s.y?(t=s.shapeArgs,a&&s.hasNewShapeType()&&(a=a.destroy()),e.enabledDataSorting&&(s.startXPos=e.xAxis.reversed?-(t?t.width:0):e.xAxis.width),a||(s.graphic=a=r[s.shapeType](t).add(s.group||e.group))&&e.enabledDataSorting&&i.hasRendered&&i.pointCount<n&&(a.attr({x:s.startXPos}),h=!0,l="animate"),a&&h&&a[l](f(t)),o.borderRadius&&a[l]({r:o.borderRadius}),i.styledMode||a[l](e.pointAttribs(s,s.selected&&"select")).shadow(!1!==s.allowShadow&&o.shadow,null,o.stacking&&!o.borderRadius),a.addClass(s.getClassName(),!0)):a&&(s.graphic=a.destroy())}))},animate:function(t){var e=this,i=this.yAxis,o=e.options,r=this.chart.inverted,n={},s=r?"translateX":"translateY";if(t)n.scaleY=.001,t=l(i.toPixels(o.threshold),i.pos,i.pos+i.len),r?n.translateX=t-i.len:n.translateY=t,e.clipBox&&e.setClip(),e.group.attr(n);else{var h=e.group.attr(s);e.group.animate({scaleY:1},d(a(e.options.animation),{step:function(t,o){e.group&&(n[s]=h+o.pos*(i.pos-h),e.group.attr(n))}}))}},remove:function(){var t=this,e=t.chart;e.hasRendered&&e.series.forEach((function(e){e.type===t.type&&(e.isDirty=!0)})),n.prototype.remove.apply(t,arguments)}}),e})),e(i,"Series/BarSeries.js",[i["Core/Series/Series.js"]],(function(t){t.seriesType("bar","column",null,{inverted:!0})})),e(i,"Series/ScatterSeries.js",[i["Core/Series/Series.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,i){i=i.addEvent;var o=e.Series;t.seriesType("scatter","line",{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">●</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}},{sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1,drawGraph:function(){(this.options.lineWidth||0===this.options.lineWidth&&this.graph&&this.graph.strokeWidth())&&o.prototype.drawGraph.call(this)},applyJitter:function(){var t=this,e=this.options.jitter,i=this.points.length;e&&this.points.forEach((function(o,r){["x","y"].forEach((function(n,s){var a="plot"+n.toUpperCase();if(e[n]&&!o.isNull){var h=t[n+"Axis"],l=e[n]*h.transA;if(h&&!h.isLog){var c=Math.max(0,o[a]-l);h=Math.min(h.len,o[a]+l),s=1e4*Math.sin(r+s*i),o[a]=c+(h-c)*(s-Math.floor(s)),"x"===n&&(o.clientX=o.plotX)}}}))}))}}),i(o,"afterTranslate",(function(){this.applyJitter&&this.applyJitter()}))})),e(i,"Mixins/CenteredSeries.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.isNumber,o=e.pick,r=e.relativeLength,n=t.deg2rad;return t.CenteredSeriesMixin={getCenter:function(){var e=this.options,i=this.chart,n=2*(e.slicedOffset||0),s=i.plotWidth-2*n,a=i.plotHeight-2*n,h=e.center,l=Math.min(s,a),c=e.size,d=e.innerSize||0;for("string"===typeof c&&(c=parseFloat(c)),"string"===typeof d&&(d=parseFloat(d)),e=[o(h[0],"50%"),o(h[1],"50%"),o(c&&0>c?void 0:e.size,"100%"),o(d&&0>d?void 0:e.innerSize||0,"0%")],!i.angular||this instanceof t.Series||(e[3]=0),h=0;4>h;++h)c=e[h],i=2>h||2===h&&/%$/.test(c),e[h]=r(c,[s,a,l,e[2]][h])+(i?n:0);return e[3]>e[2]&&(e[3]=e[2]),e},getStartAndEndRadians:function(t,e){return t=i(t)?t:0,e=i(e)&&e>t&&360>e-t?e:t+360,{start:n*(t+-90),end:n*(e+-90)}}}})),e(i,"Series/PieSeries.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Series/Series.js"],i["Mixins/CenteredSeries.js"],i["Core/Globals.js"],i["Mixins/LegendSymbol.js"],i["Series/LineSeries.js"],i["Core/Series/Point.js"],i["Core/Renderer/SVG/SVGRenderer.js"],i["Core/Utilities.js"]],(function(t,e,i,o,r,n,s,a,h){var l=t.setAnimation,c=i.getStartAndEndRadians;t=o.noop;var d=h.addEvent,p=h.clamp,u=h.defined,f=h.fireEvent,g=h.isNumber,y=h.merge,m=h.pick,v=h.relativeLength;e.seriesType("pie","line",{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}},{isCartesian:!1,requireSorting:!1,directTouch:!0,noSharedTooltip:!0,trackerGroups:["group","dataLabelsGroup"],axisTypes:[],pointAttribs:e.seriesTypes.column.prototype.pointAttribs,animate:function(t){var e=this,i=e.points,o=e.startAngleRad;t||i.forEach((function(t){var i=t.graphic,r=t.shapeArgs;i&&r&&(i.attr({r:m(t.startR,e.center&&e.center[3]/2),start:o,end:o}),i.animate({r:r.r,start:r.start,end:r.end},e.options.animation))}))},hasData:function(){return!!this.processedXData.length},updateTotals:function(){var t,e=0,i=this.points,o=i.length,r=this.options.ignoreHiddenPoint;for(t=0;t<o;t++){var n=i[t];e+=r&&!n.visible||n.isNull?0:n.y}for(this.total=e,t=0;t<o;t++)n=i[t],n.percentage=0<e&&(n.visible||!r)?n.y/e*100:0,n.total=e},generatePoints:function(){n.prototype.generatePoints.call(this),this.updateTotals()},getX:function(t,e,i){var o=this.center,r=this.radii?this.radii[i.index]:o[2]/2;return t=Math.asin(p((t-o[1])/(r+i.labelDistance),-1,1)),o[0]+(e?-1:1)*Math.cos(t)*(r+i.labelDistance)+(0<i.labelDistance?(e?-1:1)*this.options.dataLabels.padding:0)},translate:function(t){this.generatePoints();var e=0,i=this.options,o=i.slicedOffset,r=o+(i.borderWidth||0),n=c(i.startAngle,i.endAngle),s=this.startAngleRad=n.start;n=(this.endAngleRad=n.end)-s;var a=this.points,h=i.dataLabels.distance;i=i.ignoreHiddenPoint;var l,d=a.length;for(t||(this.center=t=this.getCenter()),l=0;l<d;l++){var p=a[l],u=s+e*n;i&&!p.visible||(e+=p.percentage/100);var g=s+e*n;p.shapeType="arc",p.shapeArgs={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:Math.round(1e3*u)/1e3,end:Math.round(1e3*g)/1e3},p.labelDistance=m(p.options.dataLabels&&p.options.dataLabels.distance,h),p.labelDistance=v(p.labelDistance,p.shapeArgs.r),this.maxLabelDistance=Math.max(this.maxLabelDistance||0,p.labelDistance),g=(g+u)/2,g>1.5*Math.PI?g-=2*Math.PI:g<-Math.PI/2&&(g+=2*Math.PI),p.slicedTranslation={translateX:Math.round(Math.cos(g)*o),translateY:Math.round(Math.sin(g)*o)};var y=Math.cos(g)*t[2]/2,x=Math.sin(g)*t[2]/2;p.tooltipPos=[t[0]+.7*y,t[1]+.7*x],p.half=g<-Math.PI/2||g>Math.PI/2?1:0,p.angle=g,u=Math.min(r,p.labelDistance/5),p.labelPosition={natural:{x:t[0]+y+Math.cos(g)*p.labelDistance,y:t[1]+x+Math.sin(g)*p.labelDistance},final:{},alignment:0>p.labelDistance?"center":p.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+y+Math.cos(g)*u,y:t[1]+x+Math.sin(g)*u},touchingSliceAt:{x:t[0]+y,y:t[1]+x}}}}f(this,"afterTranslate")},drawEmpty:function(){var t=this.startAngleRad,e=this.endAngleRad,i=this.options;if(0===this.total&&this.center){var o=this.center[0],r=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(o,r,this.center[1]/2,0,t,e).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:a.prototype.symbols.arc(o,r,this.center[2]/2,0,{start:t,end:e,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":i.borderWidth,fill:i.fillColor||"none",stroke:i.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())},redrawPoints:function(){var t,e,i,o,r=this,n=r.chart,s=n.renderer,a=r.options.shadow;this.drawEmpty(),!a||r.shadowGroup||n.styledMode||(r.shadowGroup=s.g("shadow").attr({zIndex:-1}).add(r.group)),r.points.forEach((function(h){var l={};if(e=h.graphic,!h.isNull&&e){if(o=h.shapeArgs,t=h.getTranslate(),!n.styledMode){var c=h.shadowGroup;a&&!c&&(c=h.shadowGroup=s.g("shadow").add(r.shadowGroup)),c&&c.attr(t),i=r.pointAttribs(h,h.selected&&"select")}h.delayedRendering?(e.setRadialReference(r.center).attr(o).attr(t),n.styledMode||e.attr(i).attr({"stroke-linejoin":"round"}).shadow(a,c),h.delayedRendering=!1):(e.setRadialReference(r.center),n.styledMode||y(!0,l,i),y(!0,l,o,t),e.animate(l)),e.attr({visibility:h.visible?"inherit":"hidden"}),e.addClass(h.getClassName())}else e&&(h.graphic=e.destroy())}))},drawPoints:function(){var t=this.chart.renderer;this.points.forEach((function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)}))},searchPoint:t,sortByAngle:function(t,e){t.sort((function(t,i){return"undefined"!==typeof t.angle&&(i.angle-t.angle)*e}))},drawLegendSymbol:r.drawRectangle,getCenter:i.getCenter,getSymbol:t,drawGraph:null},{init:function(){s.prototype.init.apply(this,arguments);var t=this;t.name=m(t.name,"Slice");var e=function(e){t.slice("select"===e.type)};return d(t,"select",e),d(t,"unselect",e),t},isValid:function(){return g(this.y)&&0<=this.y},setVisible:function(t,e){var i=this,o=i.series,r=o.chart,n=o.options.ignoreHiddenPoint;e=m(e,n),t!==i.visible&&(i.visible=i.options.visible=t="undefined"===typeof t?!i.visible:t,o.options.data[o.data.indexOf(i)]=i.options,["graphic","dataLabel","connector","shadowGroup"].forEach((function(e){i[e]&&i[e][t?"show":"hide"](!0)})),i.legendItem&&r.legend.colorizeItem(i,t),t||"hover"!==i.state||i.setState(""),n&&(o.isDirty=!0),e&&r.redraw())},slice:function(t,e,i){var o=this.series;l(i,o.chart),m(e,!0),this.sliced=this.options.sliced=u(t)?t:!this.sliced,o.options.data[o.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},getTranslate:function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},haloPath:function(t){var e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end})},connectorShapes:{fixedOffset:function(t,e,i){var o=e.breakAt;return e=e.touchingSliceAt,[["M",t.x,t.y],i.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*o.x-e.x,2*o.y-e.y,o.x,o.y]:["L",o.x,o.y],["L",e.x,e.y]]},straight:function(t,e){return e=e.touchingSliceAt,[["M",t.x,t.y],["L",e.x,e.y]]},crookedLine:function(t,e,i){e=e.touchingSliceAt;var o=this.series,r=o.center[0],n=o.chart.plotWidth,s=o.chart.plotLeft;o=t.alignment;var a=this.shapeArgs.r;return i=v(i.crookDistance,1),n="left"===o?r+a+(n+s-r-a)*(1-i):s+(r-a)*i,i=["L",n,t.y],r=!0,("left"===o?n>t.x||n<e.x:n<t.x||n>e.x)&&(r=!1),t=[["M",t.x,t.y]],r&&t.push(i),t.push(["L",e.x,e.y]),t}},getConnectorPath:function(){var t=this.labelPosition,e=this.series.options.dataLabels,i=e.connectorShape,o=this.connectorShapes;return o[i]&&(i=o[i]),i.call(this,{x:t.final.x,y:t.final.y,alignment:t.alignment},t.connectorPosition,e)}})})),e(i,"Core/Series/DataLabels.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Globals.js"],i["Core/Series/CartesianSeries.js"],i["Core/Utilities.js"]],(function(t,e,i,o){var r=t.getDeferredAnimation;t=e.noop;var n=e.seriesTypes,s=o.arrayMax,a=o.clamp,h=o.defined,l=o.extend,c=o.fireEvent,d=o.format,p=o.isArray,u=o.merge,f=o.objectEach,g=o.pick,y=o.relativeLength,m=o.splat,v=o.stableSort;e.distribute=function(t,i,o){function r(t,e){return t.target-e.target}var n,s=!0,h=t,l=[],c=0,d=h.reducedLen||i;for(n=t.length;n--;)c+=t[n].size;if(c>d){for(v(t,(function(t,e){return(e.rank||0)-(t.rank||0)})),c=n=0;c<=d;)c+=t[n].size,n++;l=t.splice(n-1,t.length)}for(v(t,r),t=t.map((function(t){return{size:t.size,targets:[t.target],align:g(t.align,.5)}}));s;){for(n=t.length;n--;)s=t[n],c=(Math.min.apply(0,s.targets)+Math.max.apply(0,s.targets))/2,s.pos=a(c-s.size*s.align,0,i-s.size);for(n=t.length,s=!1;n--;)0<n&&t[n-1].pos+t[n-1].size>t[n].pos&&(t[n-1].size+=t[n].size,t[n-1].targets=t[n-1].targets.concat(t[n].targets),t[n-1].align=.5,t[n-1].pos+t[n-1].size>i&&(t[n-1].pos=i-t[n-1].size),t.splice(n,1),s=!0)}h.push.apply(h,l),n=0,t.some((function(t){var r=0;if(t.targets.some((function(){if(h[n].pos=t.pos+r,"undefined"!==typeof o&&Math.abs(h[n].pos-h[n].target)>o)return h.slice(0,n+1).forEach((function(t){delete t.pos})),h.reducedLen=(h.reducedLen||i)-.1*i,h.reducedLen>.1*i&&e.distribute(h,i,o),!0;r+=h[n].size,n++})))return!0})),v(h,r)},i.prototype.drawDataLabels=function(){function t(t,e){var i=e.filter;return!i||(e=i.operator,t=t[i.property],i=i.value,">"===e&&t>i||"<"===e&&t<i||">="===e&&t>=i||"<="===e&&t<=i||"=="===e&&t==i||"==="===e&&t===i)}function e(t,e){var i,o=[];if(p(t)&&!p(e))o=t.map((function(t){return u(t,e)}));else if(p(e)&&!p(t))o=e.map((function(e){return u(t,e)}));else if(p(t)||p(e))for(i=Math.max(t.length,e.length);i--;)o[i]=u(t[i],e[i]);else o=u(t,e);return o}var i,o=this,n=o.chart,s=o.options,a=s.dataLabels,l=o.points,y=o.hasRendered||0,v=a.animation;v=a.defer?r(n,v,o):{defer:0,duration:0};var x=n.renderer;if(a=e(e(n.options.plotOptions&&n.options.plotOptions.series&&n.options.plotOptions.series.dataLabels,n.options.plotOptions&&n.options.plotOptions[o.type]&&n.options.plotOptions[o.type].dataLabels),a),c(this,"drawDataLabels"),p(a)||a.enabled||o._hasPointLabels){var b=o.plotGroup("dataLabelsGroup","data-labels",y?"inherit":"hidden",a.zIndex||6);b.attr({opacity:+y}),!y&&(y=o.dataLabelsGroup)&&(o.visible&&b.show(!0),y[s.animation?"animate":"attr"]({opacity:1},v)),l.forEach((function(r){i=m(e(a,r.dlOptions||r.options&&r.options.dataLabels)),i.forEach((function(e,i){var a=e.enabled&&(!r.isNull||r.dataLabelOnNull)&&t(r,e),l=r.dataLabels?r.dataLabels[i]:r.dataLabel,c=r.connectors?r.connectors[i]:r.connector,p=g(e.distance,r.labelDistance),u=!l;if(a){var y=r.getLabelConfig(),m=g(e[r.formatPrefix+"Format"],e.format);y=h(m)?d(m,y,n):(e[r.formatPrefix+"Formatter"]||e.formatter).call(y,e),m=e.style;var v=e.rotation;n.styledMode||(m.color=g(e.color,m.color,o.color,"#000000"),"contrast"===m.color?(r.contrastColor=x.getContrast(r.color||o.color),m.color=!h(p)&&e.inside||0>p||s.stacking?r.contrastColor:"#000000"):delete r.contrastColor,s.cursor&&(m.cursor=s.cursor));var S={r:e.borderRadius||0,rotation:v,padding:e.padding,zIndex:1};n.styledMode||(S.fill=e.backgroundColor,S.stroke=e.borderColor,S["stroke-width"]=e.borderWidth),f(S,(function(t,e){"undefined"===typeof t&&delete S[e]}))}!l||a&&h(y)?a&&h(y)&&(l?S.text=y:(r.dataLabels=r.dataLabels||[],l=r.dataLabels[i]=v?x.text(y,0,-9999,e.useHTML).addClass("highcharts-data-label"):x.label(y,0,-9999,e.shape,null,null,e.useHTML,null,"data-label"),i||(r.dataLabel=l),l.addClass(" highcharts-data-label-color-"+r.colorIndex+" "+(e.className||"")+(e.useHTML?" highcharts-tracker":""))),l.options=e,l.attr(S),n.styledMode||l.css(m).shadow(e.shadow),l.added||l.add(b),e.textPath&&!e.useHTML&&(l.setTextPath(r.getDataLabelPath&&r.getDataLabelPath(l)||r.graphic,e.textPath),r.dataLabelPath&&!e.textPath.enabled&&(r.dataLabelPath=r.dataLabelPath.destroy())),o.alignDataLabel(r,l,e,null,u)):(r.dataLabel=r.dataLabel&&r.dataLabel.destroy(),r.dataLabels&&(1===r.dataLabels.length?delete r.dataLabels:delete r.dataLabels[i]),i||delete r.dataLabel,c&&(r.connector=r.connector.destroy(),r.connectors&&(1===r.connectors.length?delete r.connectors:delete r.connectors[i])))}))}))}c(this,"afterDrawDataLabels")},i.prototype.alignDataLabel=function(t,e,i,o,r){var n=this,s=this.chart,a=this.isCartesian&&s.inverted,h=this.enabledDataSorting,c=g(t.dlBox&&t.dlBox.centerX,t.plotX,-9999),d=g(t.plotY,-9999),p=e.getBBox(),u=i.rotation,f=i.align,y=s.isInsidePlot(c,Math.round(d),a),m="justify"===g(i.overflow,h?"none":"justify"),v=this.visible&&!1!==t.visible&&(t.series.forceDL||h&&!m||y||i.inside&&o&&s.isInsidePlot(c,a?o.x+1:o.y+o.height-1,a)),x=function(i){h&&n.xAxis&&!m&&n.setDataLabelStartPos(t,e,r,y,i)};if(v){var b=s.renderer.fontMetrics(s.styledMode?void 0:i.style.fontSize,e).b;o=l({x:a?this.yAxis.len-d:c,y:Math.round(a?this.xAxis.len-c:d),width:0,height:0},o),l(i,{width:p.width,height:p.height}),u?(m=!1,c=s.renderer.rotCorr(b,u),c={x:o.x+(i.x||0)+o.width/2+c.x,y:o.y+(i.y||0)+{top:0,middle:.5,bottom:1}[i.verticalAlign]*o.height},x(c),e[r?"attr":"animate"](c).attr({align:f}),x=(u+720)%360,x=180<x&&360>x,"left"===f?c.y-=x?p.height:0:"center"===f?(c.x-=p.width/2,c.y-=p.height/2):"right"===f&&(c.x-=p.width,c.y-=x?0:p.height),e.placed=!0,e.alignAttr=c):(x(o),e.align(i,null,o),c=e.alignAttr),m&&0<=o.height?this.justifyDataLabel(e,i,c,p,o,r):g(i.crop,!0)&&(v=s.isInsidePlot(c.x,c.y)&&s.isInsidePlot(c.x+p.width,c.y+p.height)),i.shape&&!u&&e[r?"attr":"animate"]({anchorX:a?s.plotWidth-t.plotY:t.plotX,anchorY:a?s.plotHeight-t.plotX:t.plotY})}r&&h&&(e.placed=!1),v||h&&!m||(e.hide(!0),e.placed=!1)},i.prototype.setDataLabelStartPos=function(t,e,i,o,r){var n=this.chart,s=n.inverted,a=this.xAxis,h=a.reversed,l=s?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,a=s?r.x:h?-l-t:a.width-l+t,r=s?h?this.yAxis.height-l+t:-l-t:r.y,e.startXPos=a,e.startYPos=r,o?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),n.hasRendered&&(i&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)},i.prototype.justifyDataLabel=function(t,e,i,o,r,n){var s=this.chart,a=e.align,h=e.verticalAlign,l=t.box?0:t.padding||0,c=e.x;c=void 0===c?0:c;var d=e.y,p=void 0===d?0:d;if(d=i.x+l,0>d){"right"===a&&0<=c?(e.align="left",e.inside=!0):c-=d;var u=!0}return d=i.x+o.width-l,d>s.plotWidth&&("left"===a&&0>=c?(e.align="right",e.inside=!0):c+=s.plotWidth-d,u=!0),d=i.y+l,0>d&&("bottom"===h&&0<=p?(e.verticalAlign="top",e.inside=!0):p-=d,u=!0),d=i.y+o.height-l,d>s.plotHeight&&("top"===h&&0>=p?(e.verticalAlign="bottom",e.inside=!0):p+=s.plotHeight-d,u=!0),u&&(e.x=c,e.y=p,t.placed=!n,t.align(e,void 0,r)),u},n.pie&&(n.pie.prototype.dataLabelPositioners={radialDistributionY:function(t){return t.top+t.distributeBox.pos},radialDistributionX:function(t,e,i,o){return t.getX(i<e.top+2||i>e.bottom-2?o:i,e.half,e)},justify:function(t,e,i){return i[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,i,o){return t=t.getBBox().width,e?t+o:i-t-o},alignToConnectors:function(t,e,i,o){var r,n=0;return t.forEach((function(t){r=t.dataLabel.getBBox().width,r>n&&(n=r)})),e?n+o:i-n-o}},n.pie.prototype.drawDataLabels=function(){var t,o,r,n,a,l,c,d,p,f,y,m,v=this,x=v.data,b=v.chart,S=v.options.dataLabels||{},k=S.connectorPadding,w=b.plotWidth,C=b.plotHeight,M=b.plotLeft,O=Math.round(b.chartWidth/3),A=v.center,P=A[2]/2,T=A[1],L=[[],[]],E=[0,0,0,0],j=v.dataLabelPositioners;v.visible&&(S.enabled||v._hasPointLabels)&&(x.forEach((function(t){t.dataLabel&&t.visible&&t.dataLabel.shortened&&(t.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.dataLabel.shortened=!1)})),i.prototype.drawDataLabels.apply(v),x.forEach((function(t){t.dataLabel&&(t.visible?(L[t.half].push(t),t.dataLabel._pos=null,!h(S.style.width)&&!h(t.options.dataLabels&&t.options.dataLabels.style&&t.options.dataLabels.style.width)&&t.dataLabel.getBBox().width>O&&(t.dataLabel.css({width:Math.round(.7*O)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))})),L.forEach((function(i,o){var r,s=i.length,u=[];if(s){if(v.sortByAngle(i,o-.5),0<v.maxLabelDistance){var x=Math.max(0,T-P-v.maxLabelDistance),O=Math.min(T+P+v.maxLabelDistance,b.plotHeight);i.forEach((function(t){0<t.labelDistance&&t.dataLabel&&(t.top=Math.max(0,T-P-t.labelDistance),t.bottom=Math.min(T+P+t.labelDistance,b.plotHeight),r=t.dataLabel.getBBox().height||21,t.distributeBox={target:t.labelPosition.natural.y-t.top+r/2,size:r,rank:t.y},u.push(t.distributeBox))})),x=O+r-x,e.distribute(u,x,x/5)}for(y=0;y<s;y++){if(t=i[y],l=t.labelPosition,n=t.dataLabel,f=!1===t.visible?"hidden":"inherit",p=x=l.natural.y,u&&h(t.distributeBox)&&("undefined"===typeof t.distributeBox.pos?f="hidden":(c=t.distributeBox.size,p=j.radialDistributionY(t))),delete t.positionIndex,S.justify)d=j.justify(t,P,A);else switch(S.alignTo){case"connectors":d=j.alignToConnectors(i,o,w,M);break;case"plotEdges":d=j.alignToPlotEdges(n,o,w,M);break;default:d=j.radialDistributionX(v,t,p,x)}n._attr={visibility:f,align:l.alignment},m=t.options.dataLabels||{},n._pos={x:d+g(m.x,S.x)+({left:k,right:-k}[l.alignment]||0),y:p+g(m.y,S.y)-10},l.final.x=d,l.final.y=p,g(S.crop,!0)&&(a=n.getBBox().width,x=null,d-a<k&&1===o?(x=Math.round(a-d+k),E[3]=Math.max(x,E[3])):d+a>w-k&&0===o&&(x=Math.round(d+a-w+k),E[1]=Math.max(x,E[1])),0>p-c/2?E[0]=Math.max(Math.round(c/2-p),E[0]):p+c/2>C&&(E[2]=Math.max(Math.round(p+c/2-C),E[2])),n.sideOverflow=x)}}})),0===s(E)||this.verifyDataLabelOverflow(E))&&(this.placeDataLabels(),this.points.forEach((function(t){var e;(m=u(S,t.options.dataLabels),o=g(m.connectorWidth,1))&&(r=t.connector,(n=t.dataLabel)&&n._pos&&t.visible&&0<t.labelDistance?(f=n._attr.visibility,(e=!r)&&(t.connector=r=b.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+t.colorIndex+(t.className?" "+t.className:"")).add(v.dataLabelsGroup),b.styledMode||r.attr({"stroke-width":o,stroke:m.connectorColor||t.color||"#666666"})),r[e?"attr":"animate"]({d:t.getConnectorPath()}),r.attr("visibility",f)):r&&(t.connector=r.destroy()))})))},n.pie.prototype.placeDataLabels=function(){this.points.forEach((function(t){var e,i=t.dataLabel;i&&t.visible&&((e=i._pos)?(i.sideOverflow&&(i._attr.width=Math.max(i.getBBox().width-i.sideOverflow,0),i.css({width:i._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),i.shortened=!0),i.attr(i._attr),i[i.moved?"animate":"attr"](e),i.moved=!0):i&&i.attr({y:-9999})),delete t.distributeBox}),this)},n.pie.prototype.alignDataLabel=t,n.pie.prototype.verifyDataLabelOverflow=function(t){var e=this.center,i=this.options,o=i.center,r=i.minSize||80,n=null!==i.size;if(!n){if(null!==o[0])var s=Math.max(e[2]-Math.max(t[1],t[3]),r);else s=Math.max(e[2]-t[1]-t[3],r),e[0]+=(t[3]-t[1])/2;null!==o[1]?s=a(s,r,e[2]-Math.max(t[0],t[2])):(s=a(s,r,e[2]-t[0]-t[2]),e[1]+=(t[0]-t[2])/2),s<e[2]?(e[2]=s,e[3]=Math.min(y(i.innerSize||0,s),s),this.translate(e),this.drawDataLabels&&this.drawDataLabels()):n=!0}return n}),n.column&&(n.column.prototype.alignDataLabel=function(t,e,o,r,n){var s=this.chart.inverted,a=t.series,h=t.dlBox||t.shapeArgs,l=g(t.below,t.plotY>g(this.translatedThreshold,a.yAxis.len)),c=g(o.inside,!!this.options.stacking);h&&(r=u(h),0>r.y&&(r.height+=r.y,r.y=0),h=r.y+r.height-a.yAxis.len,0<h&&h<r.height&&(r.height-=h),s&&(r={x:a.yAxis.len-r.y-r.height,y:a.xAxis.len-r.x-r.width,width:r.height,height:r.width}),c||(s?(r.x+=l?0:r.width,r.width=0):(r.y+=l?r.height:0,r.height=0))),o.align=g(o.align,!s||c?"center":l?"right":"left"),o.verticalAlign=g(o.verticalAlign,s||c?"middle":l?"top":"bottom"),i.prototype.alignDataLabel.call(this,t,e,o,r,n),o.inside&&t.contrastColor&&e.css({color:t.contrastColor})})})),e(i,"Extensions/OverlappingDataLabels.js",[i["Core/Chart/Chart.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.addEvent,o=e.fireEvent,r=e.isArray,n=e.isNumber,s=e.objectEach,a=e.pick;i(t,"render",(function(){var t=[];(this.labelCollectors||[]).forEach((function(e){t=t.concat(e())})),(this.yAxis||[]).forEach((function(e){e.stacking&&e.options.stackLabels&&!e.options.stackLabels.allowOverlap&&s(e.stacking.stacks,(function(e){s(e,(function(e){t.push(e.label)}))}))})),(this.series||[]).forEach((function(e){var i=e.options.dataLabels;e.visible&&(!1!==i.enabled||e._hasPointLabels)&&(e.nodes||e.points).forEach((function(e){e.visible&&(r(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[]).forEach((function(i){var o=i.options;i.labelrank=a(o.labelrank,e.labelrank,e.shapeArgs&&e.shapeArgs.height),o.allowOverlap||t.push(i)}))}))})),this.hideOverlappingLabels(t)})),t.prototype.hideOverlappingLabels=function(t){var e,i,r,s=this,a=t.length,h=s.renderer,l=!1,c=function(t){var e,i,o=t.box?0:t.padding||0,r=e=0;if(t&&(!t.alignAttr||t.placed)){var s=t.alignAttr||{x:t.attr("x"),y:t.attr("y")},a=t.parentGroup;t.width||(e=t.getBBox(),t.width=e.width,t.height=e.height,e=h.fontMetrics(null,t.element).h);var l=t.width-2*o;return(i={left:"0",center:"0.5",right:"1"}[t.alignValue])?r=+i*l:n(t.x)&&Math.round(t.x)!==t.translateX&&(r=t.x-t.translateX),{x:s.x+(a.translateX||0)+o-(r||0),y:s.y+(a.translateY||0)+o-e,width:t.width-2*o,height:t.height-2*o}}};for(i=0;i<a;i++)(e=t[i])&&(e.oldOpacity=e.opacity,e.newOpacity=1,e.absoluteBox=c(e));for(t.sort((function(t,e){return(e.labelrank||0)-(t.labelrank||0)})),i=0;i<a;i++){var d=(c=t[i])&&c.absoluteBox;for(e=i+1;e<a;++e){var p=(r=t[e])&&r.absoluteBox;!d||!p||c===r||0===c.newOpacity||0===r.newOpacity||p.x>=d.x+d.width||p.x+p.width<=d.x||p.y>=d.y+d.height||p.y+p.height<=d.y||((c.labelrank<r.labelrank?c:r).newOpacity=0)}}t.forEach((function(t){if(t){var e=t.newOpacity;t.oldOpacity!==e&&(t.alignAttr&&t.placed?(t[e?"removeClass":"addClass"]("highcharts-data-label-hidden"),l=!0,t.alignAttr.opacity=e,t[t.isOld?"animate":"attr"](t.alignAttr,null,(function(){s.styledMode||t.css({pointerEvents:e?"auto":"none"}),t.visibility=e?"inherit":"hidden"})),o(s,"afterHideOverlappingLabel")):t.attr({opacity:e})),t.isOld=!0}})),l&&o(s,"afterHideAllOverlappingLabels")}})),e(i,"Core/Interaction.js",[i["Core/Series/Series.js"],i["Core/Chart/Chart.js"],i["Core/Globals.js"],i["Core/Legend.js"],i["Series/LineSeries.js"],i["Core/Options.js"],i["Core/Series/Point.js"],i["Core/Utilities.js"]],(function(t,e,i,o,r,n,s,a){t=t.seriesTypes;var h=i.hasTouch,l=i.svg,c=n.defaultOptions,d=a.addEvent,p=a.createElement,u=a.css,f=a.defined,g=a.extend,y=a.fireEvent,m=a.isArray,v=a.isFunction,x=a.isNumber,b=a.isObject,S=a.merge,k=a.objectEach,w=a.pick;i=i.TrackerMixin={drawTrackerPoint:function(){var t,e=this,i=e.chart,o=i.pointer,r=function(t){var e=o.getPointFromEvent(t);"undefined"!==typeof e&&(o.isDirectTouch=!0,e.onMouseOver(t))};e.points.forEach((function(e){t=m(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[],e.graphic&&(e.graphic.element.point=e),t.forEach((function(t){t.div?t.div.point=e:t.element.point=e}))})),e._hasTracking||(e.trackerGroups.forEach((function(t){e[t]&&(e[t].addClass("highcharts-tracker").on("mouseover",r).on("mouseout",(function(t){o.onTrackerMouseOut(t)})),h&&e[t].on("touchstart",r),!i.styledMode&&e.options.cursor&&e[t].css(u).css({cursor:e.options.cursor}))})),e._hasTracking=!0),y(this,"afterDrawTracker")},drawTrackerGraph:function(){var t=this,e=t.options,i=e.trackByArea,o=[].concat(i?t.areaPath:t.graphPath),r=t.chart,n=r.pointer,s=r.renderer,a=r.options.tooltip.snap,c=t.tracker,d=function(e){r.hoverSeries!==t&&t.onMouseOver()},p="rgba(192,192,192,"+(l?1e-4:.002)+")";c?c.attr({d:o}):t.graph&&(t.tracker=s.path(o).attr({visibility:t.visible?"visible":"hidden",zIndex:2}).addClass(i?"highcharts-tracker-area":"highcharts-tracker-line").add(t.group),r.styledMode||t.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:p,fill:i?p:"none","stroke-width":t.graph.strokeWidth()+(i?0:2*a)}),[t.tracker,t.markerGroup].forEach((function(t){t.addClass("highcharts-tracker").on("mouseover",d).on("mouseout",(function(t){n.onTrackerMouseOut(t)})),e.cursor&&!r.styledMode&&t.css({cursor:e.cursor}),h&&t.on("touchstart",d)}))),y(this,"afterDrawTracker")}},t.column&&(t.column.prototype.drawTracker=i.drawTrackerPoint),t.pie&&(t.pie.prototype.drawTracker=i.drawTrackerPoint),t.scatter&&(t.scatter.prototype.drawTracker=i.drawTrackerPoint),g(o.prototype,{setItemEvents:function(t,e,i){var o=this,r=o.chart.renderer.boxWrapper,n=t instanceof s,a="highcharts-legend-"+(n?"point":"series")+"-active",h=o.chart.styledMode;(i?[e,t.legendSymbol]:[t.legendGroup]).forEach((function(i){i&&i.on("mouseover",(function(){t.visible&&o.allItems.forEach((function(e){t!==e&&e.setState("inactive",!n)})),t.setState("hover"),t.visible&&r.addClass(a),h||e.css(o.options.itemHoverStyle)})).on("mouseout",(function(){o.chart.styledMode||e.css(S(t.visible?o.itemStyle:o.itemHiddenStyle)),o.allItems.forEach((function(e){t!==e&&e.setState("",!n)})),r.removeClass(a),t.setState()})).on("click",(function(e){var i=function(){t.setVisible&&t.setVisible(),o.allItems.forEach((function(e){t!==e&&e.setState(t.visible?"inactive":"",!n)}))};r.removeClass(a),e={browserEvent:e},t.firePointEvent?t.firePointEvent("legendItemClick",e,i):y(t,"legendItemClick",e,i)}))}))},createCheckboxForItem:function(t){t.checkbox=p("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),d(t.checkbox,"click",(function(e){y(t.series||t,"checkboxClick",{checked:e.target.checked,item:t},(function(){t.select()}))}))}}),g(e.prototype,{showResetZoom:function(){function t(){e.zoomOut()}var e=this,i=c.lang,o=e.options.chart.resetZoomButton,r=o.theme,n=r.states,s="chart"===o.relativeTo||"spaceBox"===o.relativeTo?null:"plotBox";y(this,"beforeShowResetZoom",null,(function(){e.resetZoomButton=e.renderer.button(i.resetZoom,null,null,t,r,n&&n.hover).attr({align:o.position.align,title:i.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(o.position,!1,s)})),y(this,"afterShowResetZoom")},zoomOut:function(){y(this,"selection",{resetSelection:!0},this.zoom)},zoom:function(t){var e,i=this,o=i.pointer,r=!1,n=i.inverted?o.mouseDownX:o.mouseDownY;!t||t.resetSelection?(i.axes.forEach((function(t){e=t.zoom()})),o.initiated=!1):t.xAxis.concat(t.yAxis).forEach((function(t){var s=t.axis,a=i.inverted?s.left:s.top,h=i.inverted?a+s.width:a+s.height,l=s.isXAxis,c=!1;(!l&&n>=a&&n<=h||l||!f(n))&&(c=!0),o[l?"zoomX":"zoomY"]&&c&&(e=s.zoom(t.min,t.max),s.displayBtn&&(r=!0))}));var s=i.resetZoomButton;r&&!s?i.showResetZoom():!r&&b(s)&&(i.resetZoomButton=s.destroy()),e&&i.redraw(w(i.options.chart.animation,t&&t.animation,100>i.pointCount))},pan:function(t,e){var i,o=this,r=o.hoverPoints,n=o.options.chart,s=o.options.mapNavigation&&o.options.mapNavigation.enabled;e="object"===typeof e?e:{enabled:e,type:"x"},n&&n.panning&&(n.panning=e);var a=e.type;y(this,"pan",{originalEvent:t},(function(){r&&r.forEach((function(t){t.setState()}));var e=[1];"xy"===a?e=[1,0]:"y"===a&&(e=[0]),e.forEach((function(e){var r=o[e?"xAxis":"yAxis"][0],n=r.horiz,h=t[n?"chartX":"chartY"];n=n?"mouseDownX":"mouseDownY";var l=o[n],c=(r.pointRange||0)/2,d=r.reversed&&!o.inverted||!r.reversed&&o.inverted?-1:1,p=r.getExtremes(),u=r.toValue(l-h,!0)+c*d;d=r.toValue(l+r.len-h,!0)-c*d;var f=d<u;l=f?d:u,u=f?u:d;var g=r.hasVerticalPanning(),y=r.panningState;r.series.forEach((function(t){if(g&&!e&&(!y||y.isDirty)){var i=t.getProcessedData(!0);t=t.getExtremes(i.yData,!0),y||(y={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE}),x(t.dataMin)&&x(t.dataMax)&&(y.startMin=Math.min(t.dataMin,y.startMin),y.startMax=Math.max(t.dataMax,y.startMax))}})),d=Math.min(w(null===y||void 0===y?void 0:y.startMin,p.dataMin),c?p.min:r.toValue(r.toPixels(p.min)-r.minPixelPadding)),c=Math.max(w(null===y||void 0===y?void 0:y.startMax,p.dataMax),c?p.max:r.toValue(r.toPixels(p.max)+r.minPixelPadding)),r.panningState=y,r.isOrdinal||(f=d-l,0<f&&(u+=f,l=d),f=u-c,0<f&&(u=c,l-=f),r.series.length&&l!==p.min&&u!==p.max&&l>=d&&u<=c&&(r.setExtremes(l,u,!1,!1,{trigger:"pan"}),o.resetZoomButton||s||l===d||u===c||!a.match("y")||(o.showResetZoom(),r.displayBtn=!1),i=!0),o[n]=h)})),i&&o.redraw(!1),u(o.container,{cursor:"move"})}))}}),g(s.prototype,{select:function(t,e){var i=this,o=i.series,r=o.chart;this.selectedStaging=t=w(t,!i.selected),i.firePointEvent(t?"select":"unselect",{accumulate:e},(function(){i.selected=i.options.selected=t,o.options.data[o.data.indexOf(i)]=i.options,i.setState(t&&"select"),e||r.getSelectedPoints().forEach((function(t){var e=t.series;t.selected&&t!==i&&(t.selected=t.options.selected=!1,e.options.data[e.data.indexOf(t)]=t.options,t.setState(r.hoverPoints&&e.options.inactiveOtherPoints?"inactive":""),t.firePointEvent("unselect"))}))})),delete this.selectedStaging},onMouseOver:function(t){var e=this.series.chart,i=e.pointer;t=t?i.normalize(t):i.getChartCoordinatesFromPoint(this,e.inverted),i.runPointActions(t,this)},onMouseOut:function(){var t=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t.hoverPoints||[]).forEach((function(t){t.setState()})),t.hoverPoints=t.hoverPoint=null},importEvents:function(){if(!this.hasImportedEvents){var t=this,e=S(t.series.options.point,t.options).events;t.events=e,k(e,(function(e,i){v(e)&&d(t,i,e)})),this.hasImportedEvents=!0}},setState:function(t,e){var i,o=this.series,r=this.state,n=o.options.states[t||"normal"]||{},s=c.plotOptions[o.type].marker&&o.options.marker,a=s&&!1===s.enabled,h=s&&s.states&&s.states[t||"normal"]||{},l=!1===h.enabled,d=o.stateMarkerGraphic,p=this.marker||{},u=o.chart,f=o.halo,m=s&&o.markerAttribs;if(t=t||"",!(t===this.state&&!e||this.selected&&"select"!==t||!1===n.enabled||t&&(l||a&&!1===h.enabled)||t&&p.states&&p.states[t]&&!1===p.states[t].enabled)){if(this.state=t,m&&(i=o.markerAttribs(this,t)),this.graphic){if(r&&this.graphic.removeClass("highcharts-point-"+r),t&&this.graphic.addClass("highcharts-point-"+t),!u.styledMode){var v=o.pointAttribs(this,t),x=w(u.options.chart.animation,n.animation);o.options.inactiveOtherPoints&&v.opacity&&((this.dataLabels||[]).forEach((function(t){t&&t.animate({opacity:v.opacity},x)})),this.connector&&this.connector.animate({opacity:v.opacity},x)),this.graphic.animate(v,x)}i&&this.graphic.animate(i,w(u.options.chart.animation,h.animation,s.animation)),d&&d.hide()}else t&&h&&(r=p.symbol||o.symbol,d&&d.currentSymbol!==r&&(d=d.destroy()),i&&(d?d[e?"animate":"attr"]({x:i.x,y:i.y}):r&&(o.stateMarkerGraphic=d=u.renderer.symbol(r,i.x,i.y,i.width,i.height).add(o.markerGroup),d.currentSymbol=r)),!u.styledMode&&d&&d.attr(o.pointAttribs(this,t))),d&&(d[t&&this.isInside?"show":"hide"](),d.element.point=this);t=n.halo,n=(d=this.graphic||d)&&d.visibility||"inherit",t&&t.size&&d&&"hidden"!==n&&!this.isCluster?(f||(o.halo=f=u.renderer.path().add(d.parentGroup)),f.show()[e?"animate":"attr"]({d:this.haloPath(t.size)}),f.attr({class:"highcharts-halo highcharts-color-"+w(this.colorIndex,o.colorIndex)+(this.className?" "+this.className:""),visibility:n,zIndex:-1}),f.point=this,u.styledMode||f.attr(g({fill:this.color||o.color,"fill-opacity":t.opacity},t.attributes))):f&&f.point&&f.point.haloPath&&f.animate({d:f.point.haloPath(0)},null,f.hide),y(this,"afterSetState")}},haloPath:function(t){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-t,this.plotY-t,2*t,2*t)}}),g(r.prototype,{onMouseOver:function(){var t=this.chart,e=t.hoverSeries;t.pointer.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&y(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},onMouseOut:function(){var t=this.options,e=this.chart,i=e.tooltip,o=e.hoverPoint;e.hoverSeries=null,o&&o.onMouseOut(),this&&t.events.mouseOut&&y(this,"mouseOut"),!i||this.stickyTracking||i.shared&&!this.noSharedTooltip||i.hide(),e.series.forEach((function(t){t.setState("",!0)}))},setState:function(t,e){var i=this,o=i.options,r=i.graph,n=o.inactiveOtherPoints,s=o.states,a=o.lineWidth,h=o.opacity,l=w(s[t||"normal"]&&s[t||"normal"].animation,i.chart.options.chart.animation);if(o=0,t=t||"",i.state!==t&&([i.group,i.markerGroup,i.dataLabelsGroup].forEach((function(e){e&&(i.state&&e.removeClass("highcharts-series-"+i.state),t&&e.addClass("highcharts-series-"+t))})),i.state=t,!i.chart.styledMode)){if(s[t]&&!1===s[t].enabled)return;if(t&&(a=s[t].lineWidth||a+(s[t].lineWidthPlus||0),h=w(s[t].opacity,h)),r&&!r.dashstyle)for(s={"stroke-width":a},r.animate(s,l);i["zone-graph-"+o];)i["zone-graph-"+o].attr(s),o+=1;n||[i.group,i.markerGroup,i.dataLabelsGroup,i.labelBySeries].forEach((function(t){t&&t.animate({opacity:h},l)}))}e&&n&&i.points&&i.setAllPointsToState(t)},setAllPointsToState:function(t){this.points.forEach((function(e){e.setState&&e.setState(t)}))},setVisible:function(t,e){var i=this,o=i.chart,r=i.legendItem,n=o.options.chart.ignoreHiddenSeries,s=i.visible,a=(i.visible=t=i.options.visible=i.userOptions.visible="undefined"===typeof t?!s:t)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((function(t){i[t]&&i[t][a]()})),o.hoverSeries!==i&&(o.hoverPoint&&o.hoverPoint.series)!==i||i.onMouseOut(),r&&o.legend.colorizeItem(i,t),i.isDirty=!0,i.options.stacking&&o.series.forEach((function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)})),i.linkedSeries.forEach((function(e){e.setVisible(t,!1)})),n&&(o.isDirtyBox=!0),y(i,a),!1!==e&&o.redraw()},show:function(){this.setVisible(!0)},hide:function(){this.setVisible(!1)},select:function(t){this.selected=t=this.options.selected="undefined"===typeof t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),y(this,t?"select":"unselect")},drawTracker:i.drawTrackerGraph})})),e(i,"Core/Responsive.js",[i["Core/Chart/Chart.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.find,o=e.isArray,r=e.isObject,n=e.merge,s=e.objectEach,a=e.pick,h=e.splat,l=e.uniqueKey;t.prototype.setResponsive=function(t,e){var o=this.options.responsive,r=[],s=this.currentResponsive;!e&&o&&o.rules&&o.rules.forEach((function(t){"undefined"===typeof t._id&&(t._id=l()),this.matchResponsiveRule(t,r)}),this),e=n.apply(0,r.map((function(t){return i(o.rules,(function(e){return e._id===t})).chartOptions}))),e.isResponsiveOptions=!0,r=r.toString()||void 0,r!==(s&&s.ruleIds)&&(s&&this.update(s.undoOptions,t,!0),r?(s=this.currentOptions(e),s.isResponsiveOptions=!0,this.currentResponsive={ruleIds:r,mergedOptions:e,undoOptions:s},this.update(e,t,!0)):this.currentResponsive=void 0)},t.prototype.matchResponsiveRule=function(t,e){var i=t.condition;(i.callback||function(){return this.chartWidth<=a(i.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=a(i.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=a(i.minWidth,0)&&this.chartHeight>=a(i.minHeight,0)}).call(this)&&e.push(t._id)},t.prototype.currentOptions=function(t){function e(t,n,a,l){var c;s(t,(function(t,s){if(!l&&-1<i.collectionsWithUpdate.indexOf(s))for(t=h(t),a[s]=[],c=0;c<Math.max(t.length,n[s].length);c++)n[s][c]&&(void 0===t[c]?a[s][c]=n[s][c]:(a[s][c]={},e(t[c],n[s][c],a[s][c],l+1)));else r(t)?(a[s]=o(t)?[]:{},e(t,n[s]||{},a[s],l+1)):a[s]="undefined"===typeof n[s]?null:n[s]}))}var i=this,n={};return e(t,this.options,n,0),n}})),e(i,"masters/highcharts.src.js",[i["Core/Globals.js"]],(function(t){return t})),i["masters/highcharts.src.js"]._modules=i,i["masters/highcharts.src.js"]}))},f1ae:function(t,e,i){"use strict";var o=i("86cc"),r=i("4630");t.exports=function(t,e,i){e in t?o.f(t,e,r(0,i)):t[e]=i}},f6fd:function(t,e){(function(t){var e="currentScript",i=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(o){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(o.stack)||[!1])[1];for(t in i)if(i[t].src==e||"interactive"==i[t].readyState)return i[t];return null}}})})(document)},f772:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},fa5b:function(t,e,i){t.exports=i("5537")("native-function-to-string",Function.toString)},fab2:function(t,e,i){var o=i("7726").document;t.exports=o&&o.documentElement},fae3:function(t,e,i){"use strict";var o;(i.r(e),i.d(e,"AreaChart",(function(){return m})),i.d(e,"BarChart",(function(){return M})),i.d(e,"ColumnChart",(function(){return D})),i.d(e,"LineChart",(function(){return X})),i.d(e,"PieChart",(function(){return Z})),i.d(e,"CombinationChart",(function(){return ot})),i.d(e,"MultiAxesChart",(function(){return dt})),"undefined"!==typeof window)&&(i("f6fd"),(o=window.document.currentScript)&&(o=o.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(i.p=o[1]));var r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"areaChart",staticClass:"vuejs-highcharts"})},n=[],s=(i("8e6e"),i("ac6a"),i("cadf"),i("456d"),i("85f2")),a=i.n(s);function h(t,e,i){return e in t?a()(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i("c5f6");var l=i("ea7f"),c=i.n(l);function d(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,o)}return i}function p(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?d(Object(i),!0).forEach((function(e){h(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):d(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var u={name:"AreaChart",props:{config:{type:Object,default:function(){}},height:{type:[Number,String],default:400},title:{type:String,default:""},subtitle:{type:String,default:""},backgroundColor:{type:String,default:"#ffffff"},xAxis:{type:Object,default:function(){}},yAxis:{type:Object,default:function(){return{title:{text:""}}}},series:{type:Array,required:!0},crosshair:{type:Boolean,default:!1},legend:{type:Object,default:function(){}},thousandsSep:{type:String,default:"."},decimalPoint:{type:String,default:","},customStyles:{type:Object,default:function(){}},gridLineColor:{type:String,default:"#e6e6e6"},curvedLine:{type:Boolean,defalt:!1},tooltip:{type:Object,default:function(){}}},computed:{allProps:function(){return p({date:new Date},this.$props)}},data:function(){return{chart:null}},methods:{renderChart:function(){var t=this.backgroundColor,e=this.gridLineColor,i=this.thousandsSep,o=this.decimalPoint,r=this.height,n=this.title,s=this.subtitle,a=this.crosshair,h=this.xAxis,l=this.yAxis,d=this.series,u=this.legend,f=this.customStyles,g=this.curvedLine,y=this.tooltip;c.a.setOptions({lang:{thousandsSep:i,decimalPoint:o}}),this.chart=c.a.chart(this.$refs.areaChart,p({chart:{type:g?"areaspline":"area",backgroundColor:t,height:r,style:p({},f)},title:{text:n,style:p({},f)},subtitle:{text:s,style:p({},f)},xAxis:p(p({},h),{},{crosshair:a,gridLineColor:e,lineColor:e,title:p(p({},h.title),{},{style:p({},f)}),labels:p(p({},h.labels),{},{style:p({},f)})}),yAxis:p(p({},l),{},{gridLineColor:e,lineColor:e,title:p(p({},l.title),{},{style:p({},f)}),labels:p(p({},l.labels),{},{style:p({},f)})}),series:d,tooltip:p({shared:!0,style:p({},f)},y),legend:p({itemStyle:p({},f)},u),credits:{enabled:!1}},this.config))}},watch:{allProps:{handler:function(){this.renderChart()},deep:!0}},mounted:function(){this.renderChart()}},f=u;function g(t,e,i,o,r,n,s,a){var h,l="function"===typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=i,l._compiled=!0),o&&(l.functional=!0),n&&(l._scopeId="data-v-"+n),s?(h=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=h):r&&(h=a?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),h)if(l.functional){l._injectStyles=h;var c=l.render;l.render=function(t,e){return h.call(e),c(t,e)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,h):[h]}return{exports:t,options:l}}var y=g(f,r,n,!1,null,null,null),m=y.exports,v=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"barChart",staticClass:"vuejs-highcharts"})},x=[];function b(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,o)}return i}function S(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?b(Object(i),!0).forEach((function(e){h(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):b(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var k={name:"BarChart",props:{config:{type:Object,default:function(){}},height:{type:[Number,String],default:400},title:{type:String,default:""},subtitle:{type:String,default:""},backgroundColor:{type:String,default:"#ffffff"},xAxis:{type:Object,default:function(){}},yAxis:{type:Object,default:function(){return{title:{text:""}}}},series:{type:Array,required:!0},crosshair:{type:Boolean,default:!1},legend:{type:Object,default:function(){}},thousandsSep:{type:String,default:"."},decimalPoint:{type:String,default:","},customStyles:{type:Object,default:function(){}},gridLineColor:{type:String,default:"#e6e6e6"},tooltip:{type:Object,default:function(){}}},computed:{allProps:function(){return S({date:new Date},this.$props)}},data:function(){return{chart:null}},methods:{renderChart:function(){var t=this.backgroundColor,e=this.gridLineColor,i=this.thousandsSep,o=this.decimalPoint,r=this.height,n=this.title,s=this.subtitle,a=this.crosshair,h=this.xAxis,l=this.yAxis,d=this.series,p=this.legend,u=this.customStyles,f=this.plotOptions,g=this.tooltip;c.a.setOptions({lang:{thousandsSep:i,decimalPoint:o}}),this.chart=c.a.chart(this.$refs.barChart,S({chart:{type:"bar",backgroundColor:t,height:r,style:S({},u)},title:{text:n,style:S({},u)},subtitle:{text:s,style:S({},u)},plotOptions:S({},f),xAxis:S(S({},h),{},{crosshair:a,gridLineColor:e,lineColor:e,title:S(S({},h.title),{},{style:S({},u)}),labels:S(S({},h.labels),{},{style:S({},u)})}),yAxis:S(S({},l),{},{gridLineColor:e,lineColor:e,title:S(S({},l.title),{},{style:S({},u)}),labels:S(S({},l.labels),{},{style:S({},u)})}),series:d,tooltip:S({shared:!0,style:S({},u)},g),legend:S({itemStyle:S({},u)},p),credits:{enabled:!1}},this.config))}},watch:{allProps:{handler:function(){this.renderChart()},deep:!0}},mounted:function(){this.renderChart()}},w=k,C=g(w,v,x,!1,null,null,null),M=C.exports,O=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"columnChart",staticClass:"vuejs-highcharts"})},A=[];function P(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,o)}return i}function T(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?P(Object(i),!0).forEach((function(e){h(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):P(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var L={name:"ColumnChart",props:{config:{type:Object,default:function(){}},height:{type:[Number,String],default:400},title:{type:String,default:""},subtitle:{type:String,default:""},backgroundColor:{type:String,default:"#ffffff"},xAxis:{type:Object,default:function(){}},yAxis:{type:Object,default:function(){return{title:{text:""}}}},series:{type:Array,required:!0},crosshair:{type:Boolean,default:!1},legend:{type:Object,default:function(){}},thousandsSep:{type:String,default:"."},decimalPoint:{type:String,default:","},customStyles:{type:Object,default:function(){}},gridLineColor:{type:String,default:"#e6e6e6"},tooltip:{type:Object,default:function(){}},plotOptions:{type:Object,default:function(){}}},computed:{allProps:function(){return T({date:new Date},this.$props)}},data:function(){return{chart:null}},methods:{renderChart:function(){var t=this.backgroundColor,e=this.gridLineColor,i=this.thousandsSep,o=this.decimalPoint,r=this.height,n=this.title,s=this.subtitle,a=this.crosshair,h=this.xAxis,l=this.yAxis,d=this.series,p=this.legend,u=this.customStyles,f=this.plotOptions,g=this.tooltip;c.a.setOptions({lang:{thousandsSep:i,decimalPoint:o}}),this.chart=c.a.chart(this.$refs.columnChart,T({chart:{type:"column",backgroundColor:t,height:r,style:T({},u)},title:{text:n,style:T({},u)},subtitle:{text:s,style:T({},u)},plotOptions:T({},f),xAxis:T(T({},h),{},{crosshair:a,gridLineColor:e,lineColor:e,title:T(T({},h.title),{},{style:T({},u)}),labels:T(T({},h.labels),{},{style:T({},u)})}),yAxis:T(T({},l),{},{gridLineColor:e,lineColor:e,title:T(T({},l.title),{},{style:T({},u)}),labels:T(T({},l.labels),{},{style:T({},u)})}),series:d,tooltip:T({shared:!0,style:T({},u)},g),legend:T({itemStyle:T({},u)},p),credits:{enabled:!1}},this.config))}},watch:{allProps:{handler:function(){this.renderChart()},deep:!0}},mounted:function(){this.renderChart()}},E=L,j=g(E,O,A,!1,null,null,null),D=j.exports,I=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"lineChart",staticClass:"vuejs-highcharts"})},B=[];function z(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,o)}return i}function N(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?z(Object(i),!0).forEach((function(e){h(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):z(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var R={name:"LineChart",props:{config:{type:Object,default:function(){}},height:{type:[Number,String],default:400},title:{type:String,default:""},subtitle:{type:String,default:""},backgroundColor:{type:String,default:"#ffffff"},xAxis:{type:Object,default:function(){}},yAxis:{type:Object,default:function(){return{title:{text:""}}}},series:{type:Array,required:!0},crosshair:{type:Boolean,default:!1},legend:{type:Object,default:function(){}},thousandsSep:{type:String,default:"."},decimalPoint:{type:String,default:","},customStyles:{type:Object,default:function(){}},gridLineColor:{type:String,default:"#e6e6e6"},curvedLine:{type:Boolean,defalt:!1},tooltip:{type:Object,default:function(){}},plotOptions:{type:Object,default:function(){}}},computed:{allProps:function(){return N({date:new Date},this.$props)}},data:function(){return{chart:null}},methods:{renderChart:function(){var t=this.backgroundColor,e=this.gridLineColor,i=this.thousandsSep,o=this.decimalPoint,r=this.height,n=this.title,s=this.subtitle,a=this.crosshair,h=this.xAxis,l=this.yAxis,d=this.series,p=this.legend,u=this.customStyles,f=this.curvedLine,g=this.tooltip;c.a.setOptions({lang:{thousandsSep:i,decimalPoint:o}}),this.chart=c.a.chart(this.$refs.lineChart,N({chart:{type:f?"spline":"line",backgroundColor:t,height:r,style:N({},u)},title:{text:n,style:N({},u)},subtitle:{text:s,style:N({},u)},xAxis:N(N({},h),{},{crosshair:a,gridLineColor:e,lineColor:e,title:N(N({},h.title),{},{style:N({},u)}),labels:N(N({},h.labels),{},{style:N({},u)})}),yAxis:N(N({},l),{},{gridLineColor:e,lineColor:e,title:N(N({},l.title),{},{style:N({},u)}),labels:N(N({},l.labels),{},{style:N({},u)})}),series:d,tooltip:N({shared:!0,style:N({},u)},g),legend:N({itemStyle:N({},u)},p),credits:{enabled:!1}},this.config))}},watch:{allProps:{handler:function(){this.renderChart()},deep:!0}},mounted:function(){this.renderChart()}},G=R,W=g(G,I,B,!1,null,null,null),X=W.exports,H=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"pieChart",staticClass:"vuejs-highcharts"})},F=[];function Y(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,o)}return i}function _(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Y(Object(i),!0).forEach((function(e){h(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Y(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var U={name:"PieChart",props:{config:{type:Object,default:function(){}},height:{type:[Number,String],default:400},title:{type:String,default:""},subtitle:{type:String,default:""},backgroundColor:{type:String,default:"#ffffff"},xAxis:{type:Object,default:function(){}},yAxis:{type:Object,default:function(){return{title:{text:""}}}},series:{type:Array,required:!0},legend:{type:Object,default:function(){}},thousandsSep:{type:String,default:"."},decimalPoint:{type:String,default:","},customStyles:{type:Object,default:function(){}},gridLineColor:{type:String,default:"#e6e6e6"},colors:{type:Array,default:function(){return[]}},tooltip:{type:Object,default:function(){}},plotOptions:{type:Object,default:function(){}}},computed:{allProps:function(){return _({date:new Date},this.$props)}},data:function(){return{chart:null}},methods:{renderChart:function(){var t=this,e=this.backgroundColor,i=this.gridLineColor,o=this.thousandsSep,r=this.decimalPoint,n=this.height,s=this.title,a=this.subtitle,h=this.xAxis,l=this.yAxis,d=this.series,p=this.legend,u=this.customStyles,f=this.tooltip,g=d[0].data.map((function(e,i){var o=t.colors[i]?_(_({},e),{},{color:t.colors[i]}):_({},e);return o}));c.a.setOptions({lang:{thousandsSep:o,decimalPoint:r}}),this.chart=c.a.chart(this.$refs.pieChart,_({chart:{type:"pie",backgroundColor:e,height:n,style:_({},u)},title:{text:s,style:_({},u)},subtitle:{text:a,style:_({},u)},xAxis:_(_({},h),{},{gridLineColor:i,lineColor:i,title:_(_({},h.title),{},{style:_({},u)}),labels:_(_({},h.labels),{},{style:_({},u)})}),yAxis:_(_({},l),{},{gridLineColor:i,lineColor:i,title:_(_({},l.title),{},{style:_({},u)}),labels:_(_({},l.labels),{},{style:_({},u)})}),series:[{data:g}],tooltip:_({shared:!0,style:_({},u)},f),legend:_({itemStyle:_({},u)},p),credits:{enabled:!1}},this.config))}},watch:{allProps:{handler:function(){this.renderChart()},deep:!0}},mounted:function(){this.renderChart()}},V=U,K=g(V,H,F,!1,null,null,null),Z=K.exports,q=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"combinationChart",staticClass:"vuejs-highcharts"})},$=[];function J(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,o)}return i}function Q(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?J(Object(i),!0).forEach((function(e){h(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):J(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var tt={name:"CombinationChart",props:{config:{type:Object,default:function(){}},height:{type:[Number,String],default:400},title:{type:String,default:""},subtitle:{type:String,default:""},backgroundColor:{type:String,default:"#ffffff"},xAxis:{type:Object,default:function(){}},yAxis:{type:Object,default:function(){return{title:{text:""}}}},series:{type:Array,required:!0},crosshair:{type:Boolean,default:!1},legend:{type:Object,default:function(){}},thousandsSep:{type:String,default:"."},decimalPoint:{type:String,default:","},customStyles:{type:Object,default:function(){}},gridLineColor:{type:String,default:"#e6e6e6"},curvedLine:{type:Boolean,defalt:!1},tooltip:{type:Object,default:function(){}},plotOptions:{type:Object,default:function(){}}},computed:{allProps:function(){return Q({date:new Date},this.$props)}},data:function(){return{chart:null}},methods:{renderChart:function(){var t=this.backgroundColor,e=this.gridLineColor,i=this.thousandsSep,o=this.decimalPoint,r=this.height,n=this.title,s=this.subtitle,a=this.crosshair,h=this.xAxis,l=this.yAxis,d=this.series,p=this.legend,u=this.customStyles,f=this.plotOptions,g=this.tooltip;c.a.setOptions({lang:{thousandsSep:i,decimalPoint:o}}),this.chart=c.a.chart(this.$refs.combinationChart,Q({chart:{backgroundColor:t,height:r,style:Q({},u)},title:{text:n,style:Q({},u)},subtitle:{text:s,style:Q({},u)},plotOptions:Q({},f),xAxis:Q(Q({},h),{},{crosshair:a,gridLineColor:e,lineColor:e,title:Q(Q({},h.title),{},{style:Q({},u)}),labels:Q(Q({},h.labels),{},{style:Q({},u)})}),yAxis:Q(Q({},l),{},{gridLineColor:e,lineColor:e,title:Q(Q({},l.title),{},{style:Q({},u)}),labels:Q(Q({},l.labels),{},{style:Q({},u)})}),series:d,tooltip:Q({shared:!0,style:Q({},u)},g),legend:Q({itemStyle:Q({},u)},p),credits:{enabled:!1}},this.config))}},watch:{allProps:{handler:function(){this.renderChart()},deep:!0}},mounted:function(){this.renderChart()}},et=tt,it=g(et,q,$,!1,null,null,null),ot=it.exports,rt=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"MultiAxesChart",staticClass:"vuejs-highcharts"})},nt=[];function st(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,o)}return i}function at(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?st(Object(i),!0).forEach((function(e){h(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):st(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var ht={name:"MultiAxesChart",props:{config:{type:Object,default:function(){}},title:{type:String,default:""},subtitle:{type:String,default:""},height:{type:[Number,String],default:400},backgroundColor:{type:String,default:"#ffffff"},gridLineColor:{type:String,default:"#e6e6e6"},customStyles:{type:Object,default:function(){}},thousandsSep:{type:String,default:"."},decimalPoint:{type:String,default:","},legend:{type:Object,default:function(){}},xAxis:{type:Array,default:function(){return[]}},yAxis:{type:Array,default:function(){return[]}},series:{type:Array,default:function(){return[]}},tooltip:{type:Object,default:function(){}},crosshair:{type:Boolean,default:!1},plotOptions:{type:Object,default:function(){}}},computed:{allProps:function(){return at({date:new Date},this.$props)}},data:function(){return{chart:null}},methods:{renderChart:function(){var t=this.title,e=this.backgroundColor,i=this.customStyles,o=this.gridLineColor,r=this.thousandsSep,n=this.decimalPoint,s=this.height,a=this.xAxis,h=this.yAxis,l=this.series,d=this.legend,p=this.tooltip,u=this.crosshair,f=this.plotOptions;c.a.setOptions({lang:{thousandsSep:r,decimalPoint:n}}),this.chart=c.a.chart(this.$refs.MultiAxesChart,at({chart:{backgroundColor:e,height:s,style:at({},i)},title:{text:t,style:at({},i)},xAxis:a.map((function(t){return at(at({},t),{},{lineColor:o,crosshair:u})})),yAxis:h.map((function(t){return at(at({},t),{},{lineColor:o})})),series:l,tooltip:at({shared:!0,style:at({},i)},p),legend:at({itemStyle:at({},i)},d),plotOptions:at({},f),credits:{enabled:!1}},this.config))}},watch:{allProps:{handler:function(){this.renderChart()},deep:!0}},mounted:function(){this.renderChart()}},lt=ht,ct=g(lt,rt,nt,!1,null,null,null),dt=ct.exports},fdef:function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"}})}));
//# sourceMappingURL=vuejs-highcharts.umd.min.js.map