marketplacepos 3.2.0 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Marketplace/3rdpartylicenses.txt +202 -187
- package/Marketplace/chunk-2KQ4WEPD.js +1 -0
- package/Marketplace/chunk-2OB3TW2H.js +4 -0
- package/Marketplace/chunk-3ICHEZSE.js +1 -0
- package/Marketplace/chunk-3TM7EKQZ.js +1 -0
- package/Marketplace/chunk-45IJGKR3.js +1 -0
- package/Marketplace/chunk-4O5EV6W4.js +1 -0
- package/Marketplace/chunk-5DS4AFTV.js +1 -0
- package/Marketplace/chunk-5DVM7TJ7.js +5 -0
- package/Marketplace/chunk-5JZJC54P.js +2 -0
- package/Marketplace/chunk-67YIEWYV.js +1 -0
- package/Marketplace/chunk-7DXQ5BDE.js +1 -0
- package/Marketplace/chunk-7RCRNZNI.js +1 -0
- package/Marketplace/chunk-7Y73MGEU.js +1 -0
- package/Marketplace/chunk-AIZ2SLGZ.js +5 -0
- package/Marketplace/chunk-B4RPQGTA.js +1 -0
- package/Marketplace/chunk-BELWZRNY.js +1 -0
- package/Marketplace/chunk-BYDOIRDD.js +1 -0
- package/Marketplace/chunk-CS64SQAA.js +1 -0
- package/Marketplace/chunk-CWG6UUW5.js +1 -0
- package/Marketplace/chunk-DBEZLCZM.js +1 -0
- package/Marketplace/chunk-ECB4VT3U.js +1 -0
- package/Marketplace/chunk-FWCMOK42.js +8 -0
- package/Marketplace/chunk-G5D7W2T3.js +2 -0
- package/Marketplace/chunk-GD6CRVOV.js +1 -0
- package/Marketplace/chunk-GFW452UY.js +1 -0
- package/Marketplace/chunk-GIFWICGN.js +2 -0
- package/Marketplace/chunk-GMALFTAY.js +1 -0
- package/Marketplace/chunk-H7KLY4IB.js +1 -0
- package/Marketplace/chunk-HWOBJ4Z3.js +1 -0
- package/Marketplace/chunk-I4V2RPID.js +1 -0
- package/Marketplace/chunk-IJIIMLQ7.js +1 -0
- package/Marketplace/chunk-ISBEY2N5.js +1 -0
- package/Marketplace/chunk-KEKROO5B.js +1 -0
- package/Marketplace/chunk-KX7WACSK.js +1 -0
- package/Marketplace/chunk-LJ6J4EIT.js +1 -0
- package/Marketplace/chunk-LKSBRXCX.js +1 -0
- package/Marketplace/chunk-MA4ZKUP6.js +4 -0
- package/Marketplace/chunk-MORUNYG3.js +6 -0
- package/Marketplace/chunk-MRWTB7OG.js +8 -0
- package/Marketplace/chunk-N76YHCQ6.js +1 -0
- package/Marketplace/chunk-NZBQKND7.js +1 -0
- package/Marketplace/chunk-O3V3GTIM.js +1 -0
- package/Marketplace/chunk-PJQTGT4K.js +1 -0
- package/Marketplace/chunk-PQGHN52M.js +1 -0
- package/Marketplace/chunk-Q7FH7Z7R.js +1 -0
- package/Marketplace/chunk-QK2PM3OO.js +2 -0
- package/Marketplace/chunk-QKVTZKIC.js +3 -0
- package/Marketplace/chunk-RFTG6MKX.js +1 -0
- package/Marketplace/chunk-S65ISV4X.js +5 -0
- package/Marketplace/chunk-SKA4KCAB.js +1 -0
- package/Marketplace/chunk-SWQXA73A.js +1 -0
- package/Marketplace/chunk-T6XRWLCZ.js +1 -0
- package/Marketplace/chunk-TBY7FO23.js +3 -0
- package/Marketplace/chunk-TJRQ2WWD.js +1 -0
- package/Marketplace/chunk-TMUAQXEK.js +1 -0
- package/Marketplace/chunk-TNVZKPJP.js +1 -0
- package/Marketplace/chunk-TQ6UUVH3.js +1 -0
- package/Marketplace/chunk-TT7NBZMD.js +1 -0
- package/Marketplace/chunk-UNZLFKB2.js +1 -0
- package/Marketplace/chunk-VIJ5HUKS.js +1 -0
- package/Marketplace/chunk-VRSV5O5R.js +1 -0
- package/Marketplace/chunk-VTFOZMLI.js +1 -0
- package/Marketplace/chunk-WBI4ZM2X.js +1 -0
- package/Marketplace/chunk-WYMCYQCR.js +1 -0
- package/Marketplace/chunk-XWIBRKIY.js +5 -0
- package/Marketplace/chunk-YQEEQRFM.js +2 -0
- package/Marketplace/chunk-YQXKX6O7.js +7 -0
- package/Marketplace/chunk-YWVMHX45.js +1 -0
- package/Marketplace/chunk-Z2ABDS6L.js +1 -0
- package/Marketplace/index.html +2 -2
- package/Marketplace/main-B2AQI7UJ.js +1 -0
- package/Marketplace/polyfills-KQQO3SZT.js +2 -0
- package/Marketplace/scripts-M46NWPTC.js +5 -0
- package/Marketplace/styles-WZSIIWL7.css +1 -0
- package/package.json +1 -1
- package/Marketplace/103.bc1f4c51ca99f04f.js +0 -1
- package/Marketplace/168.50d66b17241a3765.js +0 -1
- package/Marketplace/231.0c7ab993977632a2.js +0 -1
- package/Marketplace/257.d1592e885695ba4b.js +0 -1
- package/Marketplace/278.e89610409641d910.js +0 -1
- package/Marketplace/296.93310f70e5f9d3a9.js +0 -1
- package/Marketplace/311.afcc0c4a03ea0076.js +0 -1
- package/Marketplace/389.02d8fd64069d0119.js +0 -1
- package/Marketplace/394.11ae606578598904.js +0 -1
- package/Marketplace/445.cbf341bc0afe3ffc.js +0 -1
- package/Marketplace/452.58ce3ef12b9b5a47.js +0 -1
- package/Marketplace/476.d08ef7b92327904d.js +0 -1
- package/Marketplace/478.a63c640a3e971a16.js +0 -1
- package/Marketplace/500.c2e6963e4771761e.js +0 -1
- package/Marketplace/527.984c24771dbd0f8e.js +0 -1
- package/Marketplace/556.5d624cfb73f161b2.js +0 -1
- package/Marketplace/56.0432dfcbb3e04e39.js +0 -1
- package/Marketplace/599.8de0c2b4c7af0f9d.js +0 -1
- package/Marketplace/609.0e0a820d30efd4d4.js +0 -1
- package/Marketplace/617.4db1b737553fe58b.js +0 -1
- package/Marketplace/62.4f9a8ca2692bdd97.js +0 -1
- package/Marketplace/687.1fb4b2602d2b185a.js +0 -1
- package/Marketplace/699.d68a917277dbe11a.js +0 -1
- package/Marketplace/700.755c54d915bd281e.js +0 -1
- package/Marketplace/726.40535ee28a35e978.js +0 -1
- package/Marketplace/806.4037f673990a5242.js +0 -1
- package/Marketplace/810.629a800ca97725b7.js +0 -1
- package/Marketplace/877.bbdea3b04cc75780.js +0 -1
- package/Marketplace/900.b7de175b628a8dbe.js +0 -1
- package/Marketplace/967.2b39f548c7f4eb30.js +0 -1
- package/Marketplace/common.2cffc11d42ed963f.js +0 -1
- package/Marketplace/main.892c697dc9030f18.js +0 -1
- package/Marketplace/polyfills.503b3f4bf922d237.js +0 -1
- package/Marketplace/runtime.a3441aa39d1419eb.js +0 -1
- package/Marketplace/scripts.0d34bffadb54993a.js +0 -1
- package/Marketplace/styles.095460a0131dd2fc.css +0 -19
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as Be,b as Ne,c as He,e as We}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.4.0/Marketplace/chunk-Q7FH7Z7R.js";import{a as be,c as Ee,d as De}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.4.0/Marketplace/chunk-YQEEQRFM.js";import{t as je,u as Ie,v as Re,w as ze}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.4.0/Marketplace/chunk-5JZJC54P.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.4.0/Marketplace/chunk-LKSBRXCX.js";import{h as Pe,k as Oe,u as Le}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.4.0/Marketplace/chunk-PQGHN52M.js";import{a as Yt,b as Bt,c as Dt}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.4.0/Marketplace/chunk-CWG6UUW5.js";import{$ as Nt,$a as fe,$b as Ce,Aa as de,Ab as bt,Bb as It,Cb as $t,Ea as kt,Fa as zt,Gc as Te,Ia as ie,Ja as ue,Jc as Ae,Na as Pt,P as se,Qa as Kt,Ta as _t,Xb as ve,Ya as yt,Yb as xe,Za as xt,Zb as Se,_ as ne,_a as jt,ab as ge,ac as ke,ba as ae,cb as me,cc as Me,da as Vt,dc as qt,ea as Ht,ga as he,gb as Gt,ha as le,hc as we,ia as pe,ib as Zt,ja as ce,ob as Mt,pb as Wt,q as Ut,qb as Xt,vb as ye,ya as Rt}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.4.0/Marketplace/chunk-FWCMOK42.js";import{d as Ve,f as re}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.4.0/Marketplace/chunk-N76YHCQ6.js";var oe=Ve((Xe,Qt)=>{(function(dt,ht){typeof Qt=="object"&&Qt.exports?(ht.default=ht,Qt.exports=dt.document?ht(dt):ht):typeof define=="function"&&define.amd?define("highcharts/highcharts",function(){return ht(dt)}):(dt.Highcharts&&dt.Highcharts.error(16,!0),dt.Highcharts=ht(dt))})(typeof window<"u"?window:Xe,function(dt){function ht(D,N,F,J){D.hasOwnProperty(N)||(D[N]=J.apply(null,F),typeof CustomEvent=="function"&&dt.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:N,module:D[N]}})))}var _={};return ht(_,"Core/Globals.js",[],function(){var D;return function(N){N.SVG_NS="http://www.w3.org/2000/svg",N.product="Highcharts",N.version="10.3.3",N.win=typeof dt<"u"?dt:{},N.doc=N.win.document,N.svg=N.doc&&N.doc.createElementNS&&!!N.doc.createElementNS(N.SVG_NS,"svg").createSVGRect,N.userAgent=N.win.navigator&&N.win.navigator.userAgent||"",N.isChrome=N.userAgent.indexOf("Chrome")!==-1,N.isFirefox=N.userAgent.indexOf("Firefox")!==-1,N.isMS=/(edge|msie|trident)/i.test(N.userAgent)&&!N.win.opera,N.isSafari=!N.isChrome&&N.userAgent.indexOf("Safari")!==-1,N.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(N.userAgent),N.isWebKit=N.userAgent.indexOf("AppleWebKit")!==-1,N.deg2rad=2*Math.PI/360,N.hasBidiBug=N.isFirefox&&4>parseInt(N.userAgent.split("Firefox/")[1],10),N.hasTouch=!!N.win.TouchEvent,N.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],N.noop=function(){},N.supportsPassiveEvents=function(){var F=!1;if(!N.isMS){var J=Object.defineProperty({},"passive",{get:function(){F=!0}});N.win.addEventListener&&N.win.removeEventListener&&(N.win.addEventListener("testPassive",N.noop,J),N.win.removeEventListener("testPassive",N.noop,J))}return F}(),N.charts=[],N.dateFormats={},N.seriesTypes={},N.symbolSizes={},N.chartCount=0}(D||(D={})),D}),ht(_,"Core/Utilities.js",[_["Core/Globals.js"]],function(D){function N(i,s,c,a){var m=s?"Highcharts error":"Highcharts warning";i===32&&(i=""+m+": Deprecated member");var P=A(i),Y=P?""+m+" #"+i+": www.highcharts.com/errors/"+i+"/":i.toString();if(typeof a<"u"){var R="";P&&(Y+="?"),E(a,function(e,l){R+=`
|
|
2
|
+
- `.concat(l,": ").concat(e),P&&(Y+=encodeURI(l)+"="+encodeURI(e))}),Y+=R}k(D,"displayError",{chart:c,code:i,message:Y,params:a},function(){if(s)throw Error(Y);o.console&&N.messages.indexOf(Y)===-1&&console.warn(Y)}),N.messages.push(Y)}function F(i,s){var c={};return E(i,function(a,m){K(i[m],!0)&&!i.nodeType&&s[m]?(a=F(i[m],s[m]),Object.keys(a).length&&(c[m]=a)):(K(i[m])||i[m]!==s[m]||m in i&&!(m in s))&&(c[m]=i[m])}),c}function J(i,s){return parseInt(i,s||10)}function q(i){return typeof i=="string"}function tt(i){return i=Object.prototype.toString.call(i),i==="[object Array]"||i==="[object Array Iterator]"}function K(i,s){return!!i&&typeof i=="object"&&(!s||!tt(i))}function z(i){return K(i)&&typeof i.nodeType=="number"}function j(i){var s=i&&i.constructor;return!(!K(i,!0)||z(i)||!s||!s.name||s.name==="Object")}function A(i){return typeof i=="number"&&!isNaN(i)&&1/0>i&&-1/0<i}function g(i){return typeof i<"u"&&i!==null}function f(i,s,c){var a=q(s)&&!g(c),m,P=function(Y,R){g(Y)?i.setAttribute(R,Y):a?(m=i.getAttribute(R))||R!=="class"||(m=i.getAttribute(R+"Name")):i.removeAttribute(R)};return q(s)?P(c,s):E(s,P),m}function y(i,s){var c;i||(i={});for(c in s)i[c]=s[c];return i}function C(){for(var i=arguments,s=i.length,c=0;c<s;c++){var a=i[c];if(typeof a<"u"&&a!==null)return a}}function v(i,s){D.isMS&&!D.svg&&s&&g(s.opacity)&&(s.filter="alpha(opacity=".concat(100*s.opacity,")")),y(i.style,s)}function S(i){return Math.pow(10,Math.floor(Math.log(i)/Math.LN10))}function M(i,s){return 1e14<i?i:parseFloat(i.toPrecision(s||14))}function w(i,s,c){var a=D.getStyle||w;if(s==="width")return s=Math.min(i.offsetWidth,i.scrollWidth),c=i.getBoundingClientRect&&i.getBoundingClientRect().width,c<s&&c>=s-1&&(s=Math.floor(c)),Math.max(0,s-(a(i,"padding-left",!0)||0)-(a(i,"padding-right",!0)||0));if(s==="height")return Math.max(0,Math.min(i.offsetHeight,i.scrollHeight)-(a(i,"padding-top",!0)||0)-(a(i,"padding-bottom",!0)||0));if(o.getComputedStyle||N(27,!0),i=o.getComputedStyle(i,void 0)){var m=i.getPropertyValue(s);C(c,s!=="opacity")&&(m=J(m))}return m}function E(i,s,c){for(var a in i)Object.hasOwnProperty.call(i,a)&&s.call(c||i[a],i[a],a,i)}function I(i,s,c){function a(R,e){var l=i.removeEventListener||D.removeEventListenerPolyfill;l&&l.call(i,R,e,!1)}function m(R){var e;if(i.nodeName){if(s){var l={};l[s]=!0}else l=R;E(l,function(T,b){if(R[b])for(e=R[b].length;e--;)a(b,R[b][e].fn)})}}var P=typeof i=="function"&&i.prototype||i;if(Object.hasOwnProperty.call(P,"hcEvents")){var Y=P.hcEvents;s?(P=Y[s]||[],c?(Y[s]=P.filter(function(R){return c!==R.fn}),a(s,c)):(m(Y),Y[s]=[])):(m(Y),delete P.hcEvents)}}function k(i,s,c,a){if(c=c||{},d.createEvent&&(i.dispatchEvent||i.fireEvent&&i!==D)){var m=d.createEvent("Events");m.initEvent(s,!0,!0),c=y(m,c),i.dispatchEvent?i.dispatchEvent(c):i.fireEvent(s,c)}else if(i.hcEvents){c.target||y(c,{preventDefault:function(){c.defaultPrevented=!0},target:i,type:s}),m=[];for(var P=i,Y=!1;P.hcEvents;)Object.hasOwnProperty.call(P,"hcEvents")&&P.hcEvents[s]&&(m.length&&(Y=!0),m.unshift.apply(m,P.hcEvents[s])),P=Object.getPrototypeOf(P);Y&&m.sort(function(R,e){return R.order-e.order}),m.forEach(function(R){R.fn.call(i,c)===!1&&c.preventDefault()})}a&&!c.defaultPrevented&&a.call(i,c)}var r=D.charts,d=D.doc,o=D.win;(N||(N={})).messages=[],Math.easeInOutSine=function(i){return-.5*(Math.cos(Math.PI*i)-1)};var h=Array.prototype.find?function(i,s){return i.find(s)}:function(i,s){var c,a=i.length;for(c=0;c<a;c++)if(s(i[c],c))return i[c]};E({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},function(i,s){D[s]=function(c){var a;return N(32,!1,void 0,(a={},a["Highcharts.".concat(s)]="use Array.".concat(i),a)),Array.prototype[i].apply(c,[].slice.call(arguments,1))}});var t,p=function(){var i=Math.random().toString(36).substring(2,9)+"-",s=0;return function(){return"highcharts-"+(t?"":i)+s++}}();return o.jQuery&&(o.jQuery.fn.highcharts=function(){var i=[].slice.call(arguments);if(this[0])return i[0]?(new D[q(i[0])?i.shift():"Chart"](this[0],i[0],i[1]),this):r[f(this[0],"data-highcharts-chart")]}),h={addEvent:function(i,s,c,a){a===void 0&&(a={});var m=typeof i=="function"&&i.prototype||i;Object.hasOwnProperty.call(m,"hcEvents")||(m.hcEvents={}),m=m.hcEvents,D.Point&&i instanceof D.Point&&i.series&&i.series.chart&&(i.series.chart.runTrackerClick=!0);var P=i.addEventListener||D.addEventListenerPolyfill;return P&&P.call(i,s,c,D.supportsPassiveEvents?{passive:a.passive===void 0?s.indexOf("touch")!==-1:a.passive,capture:!1}:!1),m[s]||(m[s]=[]),m[s].push({fn:c,order:typeof a.order=="number"?a.order:1/0}),m[s].sort(function(Y,R){return Y.order-R.order}),function(){I(i,s,c)}},arrayMax:function(i){for(var s=i.length,c=i[0];s--;)i[s]>c&&(c=i[s]);return c},arrayMin:function(i){for(var s=i.length,c=i[0];s--;)i[s]<c&&(c=i[s]);return c},attr:f,clamp:function(i,s,c){return i>s?i<c?i:c:s},cleanRecursively:F,clearTimeout:function(i){g(i)&&clearTimeout(i)},correctFloat:M,createElement:function(i,s,c,a,m){return i=d.createElement(i),s&&y(i,s),m&&v(i,{padding:"0",border:"none",margin:"0"}),c&&v(i,c),a&&a.appendChild(i),i},css:v,defined:g,destroyObjectProperties:function(i,s){E(i,function(c,a){c&&c!==s&&c.destroy&&c.destroy(),delete i[a]})},discardElement:function(i){i&&i.parentElement&&i.parentElement.removeChild(i)},erase:function(i,s){for(var c=i.length;c--;)if(i[c]===s){i.splice(c,1);break}},error:N,extend:y,extendClass:function(i,s){var c=function(){};return c.prototype=new i,y(c.prototype,s),c},find:h,fireEvent:k,getMagnitude:S,getNestedProperty:function(i,s){for(i=i.split(".");i.length&&g(s);){var c=i.shift();if(typeof c>"u"||c==="__proto__"||(s=s[c],!g(s)||typeof s=="function"||typeof s.nodeType=="number"||s===o))return}return s},getStyle:w,inArray:function(i,s,c){return N(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),s.indexOf(i,c)},isArray:tt,isClass:j,isDOMElement:z,isFunction:function(i){return typeof i=="function"},isNumber:A,isObject:K,isString:q,keys:function(i){return N(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(i)},merge:function(){var i,s=arguments,c={},a=function(P,Y){return typeof P!="object"&&(P={}),E(Y,function(R,e){e!=="__proto__"&&e!=="constructor"&&(!K(R,!0)||j(R)||z(R)?P[e]=Y[e]:P[e]=a(P[e]||{},R))}),P};s[0]===!0&&(c=s[1],s=Array.prototype.slice.call(s,2));var m=s.length;for(i=0;i<m;i++)c=a(c,s[i]);return c},normalizeTickInterval:function(i,s,c,a,m){var P=i;c=C(c,S(i));var Y=i/c;for(s||(s=m?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],a===!1&&(c===1?s=s.filter(function(R){return R%1===0}):.1>=c&&(s=[1/c]))),a=0;a<s.length&&(P=s[a],!(m&&P*c>=i||!m&&Y<=(s[a]+(s[a+1]||s[a]))/2));a++);return P=M(P*c,-Math.round(Math.log(.001)/Math.LN10))},objectEach:E,offset:function(i){var s=d.documentElement;return i=i.parentElement||i.parentNode?i.getBoundingClientRect():{top:0,left:0,width:0,height:0},{top:i.top+(o.pageYOffset||s.scrollTop)-(s.clientTop||0),left:i.left+(o.pageXOffset||s.scrollLeft)-(s.clientLeft||0),width:i.width,height:i.height}},pad:function(i,s,c){return Array((s||2)+1-String(i).replace("-","").length).join(c||"0")+i},pick:C,pInt:J,relativeLength:function(i,s,c){return/%$/.test(i)?s*parseFloat(i)/100+(c||0):parseFloat(i)},removeEvent:I,splat:function(i){return tt(i)?i:[i]},stableSort:function(i,s){var c=i.length,a,m;for(m=0;m<c;m++)i[m].safeI=m;for(i.sort(function(P,Y){return a=s(P,Y),a===0?P.safeI-Y.safeI:a}),m=0;m<c;m++)delete i[m].safeI},syncTimeout:function(i,s,c){return 0<s?setTimeout(i,s,c):(i.call(0,c),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:p,useSerialIds:function(i){return t=C(i,t)},wrap:function(i,s,c){var a=i[s];i[s]=function(){var m=arguments,P=this;return c.apply(this,[function(){return a.apply(P,arguments.length?arguments:m)}].concat([].slice.call(arguments)))}}},h}),ht(_,"Core/Chart/ChartDefaults.js",[],function(){return{alignThresholds:!1,panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},zoomBySingleTouch:!1,zooming:{singleTouch:!1,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"#335cad",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}}),ht(_,"Core/Color/Color.js",[_["Core/Globals.js"],_["Core/Utilities.js"]],function(D,N){var F=N.isNumber,J=N.merge,q=N.pInt;return N=function(){function tt(K){this.rgba=[NaN,NaN,NaN,NaN],this.input=K;var z=D.Color;if(z&&z!==tt)return new z(K);if(!(this instanceof tt))return new tt(K);this.init(K)}return tt.parse=function(K){return K?new tt(K):tt.None},tt.prototype.init=function(K){var z;if(typeof K=="object"&&typeof K.stops<"u")this.stops=K.stops.map(function(f){return new tt(f[1])});else if(typeof K=="string"){if(this.input=K=tt.names[K.toLowerCase()]||K,K.charAt(0)==="#"){var j=K.length,A=parseInt(K.substr(1),16);j===7?z=[(A&16711680)>>16,(A&65280)>>8,A&255,1]:j===4&&(z=[(A&3840)>>4|(A&3840)>>8,(A&240)>>4|A&240,(A&15)<<4|A&15,1])}if(!z)for(A=tt.parsers.length;A--&&!z;){var g=tt.parsers[A];(j=g.regex.exec(K))&&(z=g.parse(j))}}z&&(this.rgba=z)},tt.prototype.get=function(K){var z=this.input,j=this.rgba;if(typeof z=="object"&&typeof this.stops<"u"){var A=J(z);return A.stops=[].slice.call(A.stops),this.stops.forEach(function(g,f){A.stops[f]=[A.stops[f][0],g.get(K)]}),A}return j&&F(j[0])?K==="rgb"||!K&&j[3]===1?"rgb("+j[0]+","+j[1]+","+j[2]+")":K==="a"?"".concat(j[3]):"rgba("+j.join(",")+")":z},tt.prototype.brighten=function(K){var z=this.rgba;if(this.stops)this.stops.forEach(function(A){A.brighten(K)});else if(F(K)&&K!==0)for(var j=0;3>j;j++)z[j]+=q(255*K),0>z[j]&&(z[j]=0),255<z[j]&&(z[j]=255);return this},tt.prototype.setOpacity=function(K){return this.rgba[3]=K,this},tt.prototype.tweenTo=function(K,z){var j=this.rgba,A=K.rgba;return!F(j[0])||!F(A[0])?K.input||"none":(K=A[3]!==1||j[3]!==1,(K?"rgba(":"rgb(")+Math.round(A[0]+(j[0]-A[0])*(1-z))+","+Math.round(A[1]+(j[1]-A[1])*(1-z))+","+Math.round(A[2]+(j[2]-A[2])*(1-z))+(K?","+(A[3]+(j[3]-A[3])*(1-z)):"")+")")},tt.names={white:"#ffffff",black:"#000000"},tt.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(K){return[q(K[1]),q(K[2]),q(K[3]),parseFloat(K[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(K){return[q(K[1]),q(K[2]),q(K[3]),1]}}],tt.None=new tt(""),tt}(),N}),ht(_,"Core/Color/Palettes.js",[],function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" ")}}),ht(_,"Core/Time.js",[_["Core/Globals.js"],_["Core/Utilities.js"]],function(D,N){var F=D.win,J=N.defined,q=N.error,tt=N.extend,K=N.isObject,z=N.merge,j=N.objectEach,A=N.pad,g=N.pick,f=N.splat,y=N.timeUnits,C=D.isSafari&&F.Intl&&F.Intl.DateTimeFormat.prototype.formatRange,v=D.isSafari&&F.Intl&&!F.Intl.DateTimeFormat.prototype.formatRange;return N=function(){function S(M){this.options={},this.variableTimezone=this.useUTC=!1,this.Date=F.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(M)}return S.prototype.get=function(M,w){if(this.variableTimezone||this.timezoneOffset){var E=w.getTime(),I=E-this.getTimezoneOffset(w);return w.setTime(I),M=w["getUTC"+M](),w.setTime(E),M}return this.useUTC?w["getUTC"+M]():w["get"+M]()},S.prototype.set=function(M,w,E){if(this.variableTimezone||this.timezoneOffset){if(M==="Milliseconds"||M==="Seconds"||M==="Minutes"&&this.getTimezoneOffset(w)%36e5===0)return w["setUTC"+M](E);var I=this.getTimezoneOffset(w);return I=w.getTime()-I,w.setTime(I),w["setUTC"+M](E),M=this.getTimezoneOffset(w),I=w.getTime()+M,w.setTime(I)}return this.useUTC||C&&M==="FullYear"?w["setUTC"+M](E):w["set"+M](E)},S.prototype.update=function(M){M===void 0&&(M={});var w=g(M.useUTC,!0);this.options=M=z(!0,this.options,M),this.Date=M.Date||F.Date||Date,this.timezoneOffset=(this.useUTC=w)&&M.timezoneOffset||void 0,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=w&&!(!M.getTimezoneOffset&&!M.timezone)},S.prototype.makeTime=function(M,w,E,I,k,r){if(this.useUTC){var d=this.Date.UTC.apply(0,arguments),o=this.getTimezoneOffset(d);d+=o;var h=this.getTimezoneOffset(d);o!==h?d+=h-o:o-36e5!==this.getTimezoneOffset(d-36e5)||v||(d-=36e5)}else d=new this.Date(M,w,g(E,1),g(I,0),g(k,0),g(r,0)).getTime();return d},S.prototype.timezoneOffsetFunction=function(){var M=this,w=this.options,E=w.getTimezoneOffset,I=w.moment||F.moment;if(!this.useUTC)return function(k){return 6e4*new Date(k.toString()).getTimezoneOffset()};if(w.timezone){if(I)return function(k){return 6e4*-I.tz(k,w.timezone).utcOffset()};q(25)}return this.useUTC&&E?function(k){return 6e4*E(k.valueOf())}:function(){return 6e4*(M.timezoneOffset||0)}},S.prototype.dateFormat=function(M,w,E){if(!J(w)||isNaN(w))return D.defaultOptions.lang&&D.defaultOptions.lang.invalidDate||"";M=g(M,"%Y-%m-%d %H:%M:%S");var I=this,k=new this.Date(w),r=this.get("Hours",k),d=this.get("Day",k),o=this.get("Date",k),h=this.get("Month",k),t=this.get("FullYear",k),p=D.defaultOptions.lang,i=p&&p.weekdays,s=p&&p.shortWeekdays;return k=tt({a:s?s[d]:i[d].substr(0,3),A:i[d],d:A(o),e:A(o,2," "),w:d,b:p.shortMonths[h],B:p.months[h],m:A(h+1),o:h+1,y:t.toString().substr(2,2),Y:t,H:A(r),k:r,I:A(r%12||12),l:r%12||12,M:A(this.get("Minutes",k)),p:12>r?"AM":"PM",P:12>r?"am":"pm",S:A(k.getSeconds()),L:A(Math.floor(w%1e3),3)},D.dateFormats),j(k,function(c,a){for(;M.indexOf("%"+a)!==-1;)M=M.replace("%"+a,typeof c=="function"?c.call(I,w):c)}),E?M.substr(0,1).toUpperCase()+M.substr(1):M},S.prototype.resolveDTLFormat=function(M){return K(M,!0)?M:(M=f(M),{main:M[0],from:M[1],to:M[2]})},S.prototype.getTimeTicks=function(M,w,E,I){var k=this,r=[],d={},o=new k.Date(w),h=M.unitRange,t=M.count||1,p;if(I=g(I,1),J(w)){if(k.set("Milliseconds",o,h>=y.second?0:t*Math.floor(k.get("Milliseconds",o)/t)),h>=y.second&&k.set("Seconds",o,h>=y.minute?0:t*Math.floor(k.get("Seconds",o)/t)),h>=y.minute&&k.set("Minutes",o,h>=y.hour?0:t*Math.floor(k.get("Minutes",o)/t)),h>=y.hour&&k.set("Hours",o,h>=y.day?0:t*Math.floor(k.get("Hours",o)/t)),h>=y.day&&k.set("Date",o,h>=y.month?1:Math.max(1,t*Math.floor(k.get("Date",o)/t))),h>=y.month){k.set("Month",o,h>=y.year?0:t*Math.floor(k.get("Month",o)/t));var i=k.get("FullYear",o)}h>=y.year&&k.set("FullYear",o,i-i%t),h===y.week&&(i=k.get("Day",o),k.set("Date",o,k.get("Date",o)-i+I+(i<I?-7:0))),i=k.get("FullYear",o),I=k.get("Month",o);var s=k.get("Date",o),c=k.get("Hours",o);for(w=o.getTime(),!k.variableTimezone&&k.useUTC||!J(E)||(p=E-w>4*y.month||k.getTimezoneOffset(w)!==k.getTimezoneOffset(E)),w=o.getTime(),o=1;w<E;)r.push(w),w=h===y.year?k.makeTime(i+o*t,0):h===y.month?k.makeTime(i,I+o*t):!p||h!==y.day&&h!==y.week?p&&h===y.hour&&1<t?k.makeTime(i,I,s,c+o*t):w+h*t:k.makeTime(i,I,s+o*t*(h===y.day?1:7)),o++;r.push(w),h<=y.hour&&1e4>r.length&&r.forEach(function(a){a%18e5===0&&k.dateFormat("%H%M%S%L",a)==="000000000"&&(d[a]="day")})}return r.info=tt(M,{higherRanks:d,totalRange:h*t}),r},S.prototype.getDateFormat=function(M,w,E,I){var k=this.dateFormat("%m-%d %H:%M:%S.%L",w),r={millisecond:15,second:12,minute:9,hour:6,day:3},d="millisecond";for(o in y){if(M===y.week&&+this.dateFormat("%w",w)===E&&k.substr(6)==="00:00:00.000"){var o="week";break}if(y[o]>M){o=d;break}if(r[o]&&k.substr(r[o])!=="01-01 00:00:00.000".substr(r[o]))break;o!=="week"&&(d=o)}return this.resolveDTLFormat(I[o]).main},S}(),N}),ht(_,"Core/Defaults.js",[_["Core/Chart/ChartDefaults.js"],_["Core/Color/Color.js"],_["Core/Globals.js"],_["Core/Color/Palettes.js"],_["Core/Time.js"],_["Core/Utilities.js"]],function(D,N,F,J,q,tt){N=N.parse;var K=tt.merge,z={colors:J.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:D,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#cccccc"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:F.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:F.isTouchDevice?25:10,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">\u25CF</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:N("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}};z.chart.styledMode=!1;var j=new q(K(z.global,z.time));return D={defaultOptions:z,defaultTime:j,getOptions:function(){return z},setOptions:function(A){return K(!0,z,A),(A.time||A.global)&&(F.time?F.time.update(K(z.global,z.time,A.global,A.time)):F.time=j),z}},D}),ht(_,"Core/Animation/Fx.js",[_["Core/Color/Color.js"],_["Core/Globals.js"],_["Core/Utilities.js"]],function(D,N,F){var J=D.parse,q=N.win,tt=F.isNumber,K=F.objectEach;return function(){function z(j,A,g){this.pos=NaN,this.options=A,this.elem=j,this.prop=g}return z.prototype.dSetter=function(){var j=this.paths,A=j&&j[0];j=j&&j[1];var g=this.now||0,f=[];if(g!==1&&A&&j)if(A.length===j.length&&1>g)for(var y=0;y<j.length;y++){for(var C=A[y],v=j[y],S=[],M=0;M<v.length;M++){var w=C[M],E=v[M];tt(w)&&tt(E)&&(v[0]!=="A"||M!==4&&M!==5)?S[M]=w+g*(E-w):S[M]=E}f.push(S)}else f=j;else f=this.toD||[];this.elem.attr("d",f,void 0,!0)},z.prototype.update=function(){var j=this.elem,A=this.prop,g=this.now,f=this.options.step;this[A+"Setter"]?this[A+"Setter"]():j.attr?j.element&&j.attr(A,g,null,!0):j.style[A]=g+this.unit,f&&f.call(j,g,this)},z.prototype.run=function(j,A,g){var f=this,y=f.options,C=function(M){return C.stopped?!1:f.step(M)},v=q.requestAnimationFrame||function(M){setTimeout(M,13)},S=function(){for(var M=0;M<z.timers.length;M++)z.timers[M]()||z.timers.splice(M--,1);z.timers.length&&v(S)};j!==A||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=j,this.end=A,this.unit=g,this.now=this.start,this.pos=0,C.elem=this.elem,C.prop=this.prop,C()&&z.timers.push(C)===1&&v(S)):(delete y.curAnim[this.prop],y.complete&&Object.keys(y.curAnim).length===0&&y.complete.call(this.elem))},z.prototype.step=function(j){var A=+new Date,g=this.options,f=this.elem,y=g.complete,C=g.duration,v=g.curAnim;if(f.attr&&!f.element)j=!1;else if(j||A>=C+this.startTime){this.now=this.end,this.pos=1,this.update();var S=v[this.prop]=!0;K(v,function(M){M!==!0&&(S=!1)}),S&&y&&y.call(f),j=!1}else this.pos=g.easing((A-this.startTime)/C),this.now=this.start+(this.end-this.start)*this.pos,this.update(),j=!0;return j},z.prototype.initPath=function(j,A,g){function f(k,r){for(;k.length<I;){var d=k[0],o=r[I-k.length];o&&d[0]==="M"&&(k[0]=o[0]==="C"?["C",d[1],d[2],d[1],d[2],d[1],d[2]]:["L",d[1],d[2]]),k.unshift(d),S&&(d=k.pop(),k.push(k[k.length-1],d))}}function y(k,r){for(;k.length<I;)if(r=k[Math.floor(k.length/M)-1].slice(),r[0]==="C"&&(r[1]=r[5],r[2]=r[6]),S){var d=k[Math.floor(k.length/M)].slice();k.splice(k.length/2,0,r,d)}else k.push(r)}var C=j.startX,v=j.endX;g=g.slice();var S=j.isArea,M=S?2:1;if(A=A&&A.slice(),!A)return[g,g];if(C&&v&&v.length){for(j=0;j<C.length;j++)if(C[j]===v[0]){var w=j;break}else if(C[0]===v[v.length-C.length+j]){w=j;var E=!0;break}else if(C[C.length-1]===v[v.length-C.length+j]){w=C.length-j;break}typeof w>"u"&&(A=[])}if(A.length&&tt(w)){var I=g.length+w*M;E?(f(A,g),y(g,A)):(f(g,A),y(A,g))}return[A,g]},z.prototype.fillSetter=function(){z.prototype.strokeSetter.apply(this,arguments)},z.prototype.strokeSetter=function(){this.elem.attr(this.prop,J(this.start).tweenTo(J(this.end),this.pos),void 0,!0)},z.timers=[],z}()}),ht(_,"Core/Animation/AnimationUtilities.js",[_["Core/Animation/Fx.js"],_["Core/Utilities.js"]],function(D,N){function F(y){return j(y)?A({duration:500,defer:0},y):{duration:y?500:0,defer:0}}function J(y,C){for(var v=D.timers.length;v--;)D.timers[v].elem!==y||C&&C!==D.timers[v].prop||(D.timers[v].stopped=!0)}var q=N.defined,tt=N.getStyle,K=N.isArray,z=N.isNumber,j=N.isObject,A=N.merge,g=N.objectEach,f=N.pick;return{animate:function(y,C,v){var S,M="",w,E;if(!j(v)){var I=arguments;v={duration:I[2],easing:I[3],complete:I[4]}}z(v.duration)||(v.duration=400),v.easing=typeof v.easing=="function"?v.easing:Math[v.easing]||Math.easeInOutSine,v.curAnim=A(C),g(C,function(k,r){J(y,r),E=new D(y,v,r),w=void 0,r==="d"&&K(C.d)?(E.paths=E.initPath(y,y.pathArray,C.d),E.toD=C.d,S=0,w=1):y.attr?S=y.attr(r):(S=parseFloat(tt(y,r))||0,r!=="opacity"&&(M="px")),w||(w=k),typeof w=="string"&&w.match("px")&&(w=w.replace(/px/g,"")),E.run(S,w,M)})},animObject:F,getDeferredAnimation:function(y,C,v){var S=F(C),M=0,w=0;return(v?[v]:y.series).forEach(function(E){E=F(E.options.animation),M=C&&q(C.defer)?S.defer:Math.max(M,E.duration+E.defer),w=Math.min(S.duration,E.duration)}),y.renderer.forExport&&(M=0),{defer:Math.max(0,M-w),duration:Math.min(M,w)}},setAnimation:function(y,C){C.renderer.globalAnimation=f(y,C.options.chart.animation,!0)},stop:J}}),ht(_,"Core/Renderer/HTML/AST.js",[_["Core/Globals.js"],_["Core/Utilities.js"]],function(D,N){var F=D.SVG_NS,J=N.attr,q=N.createElement,tt=N.css,K=N.error,z=N.isFunction,j=N.isString,A=N.objectEach,g=N.splat,f=(N=D.win.trustedTypes)&&z(N.createPolicy)&&N.createPolicy("highcharts",{createHTML:function(v){return v}}),y=f?f.createHTML(""):"";try{var C=!!new DOMParser().parseFromString(y,"text/html")}catch{C=!1}return z=function(){function v(S){this.nodes=typeof S=="string"?this.parseMarkup(S):S}return v.filterUserAttributes=function(S){return A(S,function(M,w){var E=!0;v.allowedAttributes.indexOf(w)===-1&&(E=!1),["background","dynsrc","href","lowsrc","src"].indexOf(w)!==-1&&(E=j(M)&&v.allowedReferences.some(function(I){return M.indexOf(I)===0})),E||(K(33,!1,void 0,{"Invalid attribute in config":"".concat(w)}),delete S[w]),j(M)&&S[w]&&(S[w]=M.replace(/</g,"<"))}),S},v.parseStyle=function(S){return S.split(";").reduce(function(M,w){w=w.split(":").map(function(I){return I.trim()});var E=w.shift();return E&&w.length&&(M[E.replace(/-([a-z])/g,function(I){return I[1].toUpperCase()})]=w.join(":")),M},{})},v.setElementHTML=function(S,M){S.innerHTML=v.emptyHTML,M&&new v(M).addToDOM(S)},v.prototype.addToDOM=function(S){function M(w,E){var I;return g(w).forEach(function(k){var r=k.tagName,d=k.textContent?D.doc.createTextNode(k.textContent):void 0,o=v.bypassHTMLFiltering;if(r)if(r==="#text")var h=d;else if(v.allowedTags.indexOf(r)!==-1||o){r=D.doc.createElementNS(r==="svg"?F:E.namespaceURI||F,r);var t=k.attributes||{};A(k,function(p,i){i!=="tagName"&&i!=="attributes"&&i!=="children"&&i!=="style"&&i!=="textContent"&&(t[i]=p)}),J(r,o?t:v.filterUserAttributes(t)),k.style&&tt(r,k.style),d&&r.appendChild(d),M(k.children||[],r),h=r}else K(33,!1,void 0,{"Invalid tagName in config":r});h&&E.appendChild(h),I=h}),I}return M(this.nodes,S)},v.prototype.parseMarkup=function(S){var M=[];if(S=S.trim().replace(/ style=(["'])/g," data-style=$1"),C)S=new DOMParser().parseFromString(f?f.createHTML(S):S,"text/html");else{var w=q("div");w.innerHTML=S,S={body:w}}var E=function(I,k){var r=I.nodeName.toLowerCase(),d={tagName:r};if(r==="#text"&&(d.textContent=I.textContent||""),r=I.attributes){var o={};[].forEach.call(r,function(t){t.name==="data-style"?d.style=v.parseStyle(t.value):o[t.name]=t.value}),d.attributes=o}if(I.childNodes.length){var h=[];[].forEach.call(I.childNodes,function(t){E(t,h)}),h.length&&(d.children=h)}k.push(d)};return[].forEach.call(S.body.childNodes,function(I){return E(I,M)}),M},v.allowedAttributes="aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-pressed aria-readonly aria-roledescription aria-selected class clip-path color colspan cx cy d dx dy disabled fill height href id in markerHeight markerWidth offset opacity orient padding paddingLeft paddingRight patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style tableValues result rowspan summary target tabindex text-align text-anchor textAnchor textLength title type valign width x x1 x2 xlink:href y y1 y2 zIndex".split(" "),v.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" "),v.allowedTags="a abbr b br button caption circle clipPath code dd defs div dl dt em feComponentTransfer feFuncA feFuncB feFuncG feFuncR feGaussianBlur feOffset feMerge feMergeNode filter h1 h2 h3 h4 h5 h6 hr i img li linearGradient marker ol p path pattern pre rect small span stop strong style sub sup svg table text textPath thead title tbody tspan td th tr u ul #text".split(" "),v.emptyHTML=y,v.bypassHTMLFiltering=!1,v}(),z}),ht(_,"Core/FormatUtilities.js",[_["Core/Defaults.js"],_["Core/Utilities.js"]],function(D,N){function F(A,g,f,y){A=+A||0,g=+g;var C=J.lang,v=(A.toString().split(".")[1]||"").split("e")[0].length,S=A.toString().split("e"),M=g;if(g===-1)g=Math.min(v,20);else if(!K(g))g=2;else if(g&&S[1]&&0>S[1]){var w=g+ +S[1];0<=w?(S[0]=(+S[0]).toExponential(w).split("e")[0],g=w):(S[0]=S[0].split(".")[0]||0,A=20>g?(S[0]*Math.pow(10,S[1])).toFixed(g):0,S[1]=0)}w=(Math.abs(S[1]?S[0]:A)+Math.pow(10,-Math.max(g,v)-1)).toFixed(g),v=String(j(w));var E=3<v.length?v.length%3:0;return f=z(f,C.decimalPoint),y=z(y,C.thousandsSep),A=(0>A?"-":"")+(E?v.substr(0,E)+y:""),A=0>+S[1]&&!M?"0":A+v.substr(E).replace(/(\d{3})(?=\d)/g,"$1"+y),g&&(A+=f+w.slice(-g)),S[1]&&+A!=0&&(A+="e"+S[1]),A}var J=D.defaultOptions,q=D.defaultTime,tt=N.getNestedProperty,K=N.isNumber,z=N.pick,j=N.pInt;return{dateFormat:function(A,g,f){return q.dateFormat(A,g,f)},format:function(A,g,f){var y="{",C=!1,v=/f$/,S=/\.([0-9])/,M=J.lang,w=f&&f.time||q;f=f&&f.numberFormatter||F;for(var E=[];A;){var I=A.indexOf(y);if(I===-1)break;var k=A.slice(0,I);if(C){if(k=k.split(":"),y=tt(k.shift()||"",g),k.length&&typeof y=="number")if(k=k.join(":"),v.test(k)){var r=parseInt((k.match(S)||["","-1"])[1],10);y!==null&&(y=f(y,r,M.decimalPoint,-1<k.indexOf(",")?M.thousandsSep:""))}else y=w.dateFormat(k,y);E.push(y)}else E.push(k);A=A.slice(I+1),y=(C=!C)?"}":"{"}return E.push(A),E.join("")},numberFormat:F}}),ht(_,"Core/Renderer/RendererUtilities.js",[_["Core/Utilities.js"]],function(D){var N=D.clamp,F=D.pick,J=D.stableSort,q;return function(tt){function K(z,j,A){var g=z,f=g.reducedLen||j,y=function(E,I){return(I.rank||0)-(E.rank||0)},C=function(E,I){return E.target-I.target},v,S=!0,M=[],w=0;for(v=z.length;v--;)w+=z[v].size;if(w>f){for(J(z,y),w=v=0;w<=f;)w+=z[v].size,v++;M=z.splice(v-1,z.length)}for(J(z,C),z=z.map(function(E){return{size:E.size,targets:[E.target],align:F(E.align,.5)}});S;){for(v=z.length;v--;)f=z[v],y=(Math.min.apply(0,f.targets)+Math.max.apply(0,f.targets))/2,f.pos=N(y-f.size*f.align,0,j-f.size);for(v=z.length,S=!1;v--;)0<v&&z[v-1].pos+z[v-1].size>z[v].pos&&(z[v-1].size+=z[v].size,z[v-1].targets=z[v-1].targets.concat(z[v].targets),z[v-1].align=.5,z[v-1].pos+z[v-1].size>j&&(z[v-1].pos=j-z[v-1].size),z.splice(v,1),S=!0)}return g.push.apply(g,M),v=0,z.some(function(E){var I=0;return(E.targets||[]).some(function(){return g[v].pos=E.pos+I,typeof A<"u"&&Math.abs(g[v].pos-g[v].target)>A?(g.slice(0,v+1).forEach(function(k){return delete k.pos}),g.reducedLen=(g.reducedLen||j)-.1*j,g.reducedLen>.1*j&&K(g,j,A),!0):(I+=g[v].size,v++,!1)})}),J(g,C),g}tt.distribute=K}(q||(q={})),q}),ht(_,"Core/Renderer/SVG/SVGElement.js",[_["Core/Animation/AnimationUtilities.js"],_["Core/Color/Color.js"],_["Core/Globals.js"],_["Core/Utilities.js"]],function(D,N,F,J){var q=D.animate,tt=D.animObject,K=D.stop,z=F.deg2rad,j=F.doc,A=F.svg,g=F.SVG_NS,f=F.win,y=J.addEvent,C=J.attr,v=J.createElement,S=J.css,M=J.defined,w=J.erase,E=J.extend,I=J.fireEvent,k=J.isArray,r=J.isFunction,d=J.isString,o=J.merge,h=J.objectEach,t=J.pick,p=J.pInt,i=J.syncTimeout,s=J.uniqueKey;return D=function(){function c(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=g,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return c.prototype._defaultGetter=function(a){return a=t(this[a+"Value"],this[a],this.element?this.element.getAttribute(a):null,0),/^[\-0-9\.]+$/.test(a)&&(a=parseFloat(a)),a},c.prototype._defaultSetter=function(a,m,P){P.setAttribute(m,a)},c.prototype.add=function(a){var m=this.renderer,P=this.element;if(a&&(this.parentGroup=a),typeof this.textStr<"u"&&this.element.nodeName==="text"&&m.buildText(this),this.added=!0,!a||a.handleZ||this.zIndex)var Y=this.zIndexSetter();return Y||(a?a.element:m.box).appendChild(P),this.onAdd&&this.onAdd(),this},c.prototype.addClass=function(a,m){var P=m?"":this.attr("class")||"";return a=(a||"").split(/ /g).reduce(function(Y,R){return P.indexOf(R)===-1&&Y.push(R),Y},P?[P]:[]).join(" "),a!==P&&this.attr("class",a),this},c.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},c.prototype.align=function(a,m,P){var Y={},R=this.renderer,e=R.alignedObjects,l,T,b;a?(this.alignOptions=a,this.alignByTranslate=m,(!P||d(P))&&(this.alignTo=l=P||"renderer",w(e,this),e.push(this),P=void 0)):(a=this.alignOptions,m=this.alignByTranslate,l=this.alignTo),P=t(P,R[l],l==="scrollablePlotBox"?R.plotBox:void 0,R),l=a.align;var O=a.verticalAlign;return R=(P.x||0)+(a.x||0),e=(P.y||0)+(a.y||0),l==="right"?T=1:l==="center"&&(T=2),T&&(R+=(P.width-(a.width||0))/T),Y[m?"translateX":"x"]=Math.round(R),O==="bottom"?b=1:O==="middle"&&(b=2),b&&(e+=(P.height-(a.height||0))/b),Y[m?"translateY":"y"]=Math.round(e),this[this.placed?"animate":"attr"](Y),this.placed=!0,this.alignAttr=Y,this},c.prototype.alignSetter=function(a){var m={left:"start",center:"middle",right:"end"};m[a]&&(this.alignValue=a,this.element.setAttribute("text-anchor",m[a]))},c.prototype.animate=function(a,m,P){var Y=this,R=tt(t(m,this.renderer.globalAnimation,!0));return m=R.defer,t(j.hidden,j.msHidden,j.webkitHidden,!1)&&(R.duration=0),R.duration!==0?(P&&(R.complete=P),i(function(){Y.element&&q(Y,a,R)},m)):(this.attr(a,void 0,P||R.complete),h(a,function(e,l){R.step&&R.step.call(this,e,{prop:l,pos:1,elem:this})},this)),this},c.prototype.applyTextOutline=function(a){var m=this.element;a.indexOf("contrast")!==-1&&(a=a.replace(/contrast/g,this.renderer.getContrast(m.style.fill)));var P=a.split(" ");if(a=P[P.length-1],(P=P[0])&&P!=="none"&&F.svg){this.fakeTS=!0,P=P.replace(/(^[\d\.]+)(.*?)$/g,function(e,l,T){return 2*Number(l)+T}),this.removeTextOutline();var Y=j.createElementNS(g,"tspan");C(Y,{class:"highcharts-text-outline",fill:a,stroke:a,"stroke-width":P,"stroke-linejoin":"round"}),a=m.querySelector("textPath")||m,[].forEach.call(a.childNodes,function(e){var l=e.cloneNode(!0);l.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(T){return l.removeAttribute(T)}),Y.appendChild(l)});var R=0;[].forEach.call(a.querySelectorAll("text tspan"),function(e){R+=Number(e.getAttribute("dy"))}),P=j.createElementNS(g,"tspan"),P.textContent="\u200B",C(P,{x:Number(m.getAttribute("x")),dy:-R}),Y.appendChild(P),a.insertBefore(Y,a.firstChild)}},c.prototype.attr=function(a,m,P,Y){var R=this.element,e=this.symbolCustomAttribs,l,T=this,b,O;if(typeof a=="string"&&typeof m<"u"){var n=a;a={},a[n]=m}return typeof a=="string"?T=(this[a+"Getter"]||this._defaultGetter).call(this,a,R):(h(a,function(x,u){b=!1,Y||K(this,u),this.symbolName&&e.indexOf(u)!==-1&&(l||(this.symbolAttr(a),l=!0),b=!0),!this.rotation||u!=="x"&&u!=="y"||(this.doTransform=!0),b||(O=this[u+"Setter"]||this._defaultSetter,O.call(this,x,u,R),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(u)&&this.updateShadows(u,x,O))},this),this.afterSetters()),P&&P.call(this),T},c.prototype.clip=function(a){return this.attr("clip-path",a?"url("+this.renderer.url+"#"+a.id+")":"none")},c.prototype.crisp=function(a,m){m=m||a.strokeWidth||0;var P=Math.round(m)%2/2;return a.x=Math.floor(a.x||this.x||0)+P,a.y=Math.floor(a.y||this.y||0)+P,a.width=Math.floor((a.width||this.width||0)-2*P),a.height=Math.floor((a.height||this.height||0)-2*P),M(a.strokeWidth)&&(a.strokeWidth=m),a},c.prototype.complexColor=function(a,m,P){var Y=this.renderer,R,e,l,T,b,O,n,x,u,B,L=[],H;I(this.renderer,"complexColor",{args:arguments},function(){if(a.radialGradient?e="radialGradient":a.linearGradient&&(e="linearGradient"),e){if(l=a[e],b=Y.gradients,O=a.stops,u=P.radialReference,k(l)&&(a[e]=l={x1:l[0],y1:l[1],x2:l[2],y2:l[3],gradientUnits:"userSpaceOnUse"}),e==="radialGradient"&&u&&!M(l.gradientUnits)&&(T=l,l=o(l,Y.getRadialAttr(u,T),{gradientUnits:"userSpaceOnUse"})),h(l,function(U,V){V!=="id"&&L.push(V,U)}),h(O,function(U){L.push(U)}),L=L.join(","),b[L])B=b[L].attr("id");else{l.id=B=s();var G=b[L]=Y.createElement(e).attr(l).add(Y.defs);G.radAttr=T,G.stops=[],O.forEach(function(U){U[1].indexOf("rgba")===0?(R=N.parse(U[1]),n=R.get("rgb"),x=R.get("a")):(n=U[1],x=1),U=Y.createElement("stop").attr({offset:U[0],"stop-color":n,"stop-opacity":x}).add(G),G.stops.push(U)})}H="url("+Y.url+"#"+B+")",P.setAttribute(m,H),P.gradient=L,a.toString=function(){return H}}})},c.prototype.css=function(a){var m=this.styles,P={},Y=this.element,R=!m;if(a.color&&(a.fill=a.color),m&&h(a,function(T,b){m&&m[b]!==T&&(P[b]=T,R=!0)}),R){if(m&&(a=E(m,P)),a.width===null||a.width==="auto")delete this.textWidth;else if(Y.nodeName.toLowerCase()==="text"&&a.width)var e=this.textWidth=p(a.width);this.styles=a,e&&!A&&this.renderer.forExport&&delete a.width;var l=o(a);Y.namespaceURI===this.SVG_NS&&["textOutline","textOverflow","width"].forEach(function(T){return l&&delete l[T]}),S(Y,l),this.added&&(this.element.nodeName==="text"&&this.renderer.buildText(this),a.textOutline&&this.applyTextOutline(a.textOutline))}return this},c.prototype.dashstyleSetter=function(a){var m=this["stroke-width"];if(m==="inherit"&&(m=1),a=a&&a.toLowerCase()){var P=a.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(a=P.length;a--;)P[a]=""+p(P[a])*t(m,NaN);a=P.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",a)}},c.prototype.destroy=function(){var a=this,m=a.element||{},P=a.renderer,Y=m.ownerSVGElement,R=P.isSVG&&m.nodeName==="SPAN"&&a.parentGroup||void 0;if(m.onclick=m.onmouseout=m.onmouseover=m.onmousemove=m.point=null,K(a),a.clipPath&&Y){var e=a.clipPath;[].forEach.call(Y.querySelectorAll("[clip-path],[CLIP-PATH]"),function(l){-1<l.getAttribute("clip-path").indexOf(e.element.id)&&l.removeAttribute("clip-path")}),a.clipPath=e.destroy()}if(a.stops){for(Y=0;Y<a.stops.length;Y++)a.stops[Y].destroy();a.stops.length=0,a.stops=void 0}for(a.safeRemoveChild(m),P.styledMode||a.destroyShadows();R&&R.div&&R.div.childNodes.length===0;)m=R.parentGroup,a.safeRemoveChild(R.div),delete R.div,R=m;a.alignTo&&w(P.alignedObjects,a),h(a,function(l,T){a[T]&&a[T].parentGroup===a&&a[T].destroy&&a[T].destroy(),delete a[T]})},c.prototype.destroyShadows=function(){(this.shadows||[]).forEach(function(a){this.safeRemoveChild(a)},this),this.shadows=void 0},c.prototype.dSetter=function(a,m,P){k(a)&&(typeof a[0]=="string"&&(a=this.renderer.pathToSegments(a)),this.pathArray=a,a=a.reduce(function(Y,R,e){return R&&R.join?(e?Y+" ":"")+R.join(" "):(R||"").toString()},"")),/(NaN| {2}|^$)/.test(a)&&(a="M 0 0"),this[m]!==a&&(P.setAttribute(m,a),this[m]=a)},c.prototype.fadeOut=function(a){var m=this;m.animate({opacity:0},{duration:t(a,150),complete:function(){m.hide()}})},c.prototype.fillSetter=function(a,m,P){typeof a=="string"?P.setAttribute(m,a):a&&this.complexColor(a,m,P)},c.prototype.getBBox=function(a,m){var P=this.alignValue,Y=this.element,R=this.renderer,e=this.styles,l=this.textStr,T=R.cache,b=R.cacheKeys,O=Y.namespaceURI===this.SVG_NS;m=t(m,this.rotation,0);var n=R.styledMode?Y&&c.prototype.getStyle.call(Y,"font-size"):e&&e.fontSize,x;if(M(l)){var u=l.toString();u.indexOf("<")===-1&&(u=u.replace(/[0-9]/g,"0")),u+=["",m,n,this.textWidth,P,e&&e.textOverflow,e&&e.fontWeight].join()}if(u&&!a&&(x=T[u]),!x){if(O||R.forExport){try{var B=this.fakeTS&&function(H){var G=Y.querySelector(".highcharts-text-outline");G&&S(G,{display:H})};r(B)&&B("none"),x=Y.getBBox?E({},Y.getBBox()):{width:Y.offsetWidth,height:Y.offsetHeight,x:0,y:0},r(B)&&B("")}catch{}(!x||0>x.width)&&(x={x:0,y:0,width:0,height:0})}else x=this.htmlGetBBox();if(R.isSVG&&(R=x.width,a=x.height,O&&(x.height=a={"11px,17":14,"13px,20":16}[""+(n||"")+",".concat(Math.round(a))]||a),m)){O=Number(Y.getAttribute("y")||0)-x.y,P={right:1,center:.5}[P||0]||0,e=m*z,n=(m-90)*z;var L=R*Math.cos(e);m=R*Math.sin(e),B=Math.cos(n),e=Math.sin(n),R=x.x+P*(R-L)+O*B,n=R+L,B=n-a*B,L=B-L,O=x.y+O-P*m+O*e,P=O+m,a=P-a*e,m=a-m,x.x=Math.min(R,n,B,L),x.y=Math.min(O,P,a,m),x.width=Math.max(R,n,B,L)-x.x,x.height=Math.max(O,P,a,m)-x.y}if(u&&(l===""||0<x.height)){for(;250<b.length;)delete T[b.shift()];T[u]||b.push(u),T[u]=x}}return x},c.prototype.getStyle=function(a){return f.getComputedStyle(this.element||this,"").getPropertyValue(a)},c.prototype.hasClass=function(a){return(""+this.attr("class")).split(" ").indexOf(a)!==-1},c.prototype.hide=function(){return this.attr({visibility:"hidden"})},c.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}},c.prototype.init=function(a,m){this.element=m==="span"?v(m):j.createElementNS(this.SVG_NS,m),this.renderer=a,I(this,"afterInit")},c.prototype.on=function(a,m){var P=this.onEvents;return P[a]&&P[a](),P[a]=y(this.element,a,m),this},c.prototype.opacitySetter=function(a,m,P){this.opacity=a=Number(Number(a).toFixed(3)),P.setAttribute(m,a)},c.prototype.removeClass=function(a){return this.attr("class",(""+this.attr("class")).replace(d(a)?new RegExp("(^| )".concat(a,"( |$)")):a," ").replace(/ +/g," ").trim())},c.prototype.removeTextOutline=function(){var a=this.element.querySelector("tspan.highcharts-text-outline");a&&this.safeRemoveChild(a)},c.prototype.safeRemoveChild=function(a){var m=a.parentNode;m&&m.removeChild(a)},c.prototype.setRadialReference=function(a){var m=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=a,m&&m.radAttr&&m.animate(this.renderer.getRadialAttr(a,m.radAttr)),this},c.prototype.setTextPath=function(a,m){var P=this;m=o(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},m);var Y=this.renderer.url,R=this.text||this,e=R.textPath,l=m.attributes,T=m.enabled;return a=a||e&&e.path,e&&e.undo(),a&&T?(m=y(R,"afterModifyTree",function(b){if(a&&T){var O=a.attr("id");O||a.attr("id",O=s());var n={x:0,y:0};M(l.dx)&&(n.dx=l.dx,delete l.dx),M(l.dy)&&(n.dy=l.dy,delete l.dy),R.attr(n),P.attr({transform:""}),P.box&&(P.box=P.box.destroy()),n=b.nodes.slice(0),b.nodes.length=0,b.nodes[0]={tagName:"textPath",attributes:E(l,{"text-anchor":l.textAnchor,href:""+Y+"#".concat(O)}),children:n}}}),R.textPath={path:a,undo:m}):(R.attr({dx:0,dy:0}),delete R.textPath),this.added&&(R.textCache="",this.renderer.buildText(R)),this},c.prototype.shadow=function(a,m,P){var Y=[],R=this.element,e=this.oldShadowOptions,l=this.parentGroup,T=l&&l.rotation===90;l={color:"#000000",offsetX:T?-1:1,offsetY:T?-1:1,opacity:.15,width:3};var b=!1,O;if(a===!0?O=l:typeof a=="object"&&(O=E(l,a)),O&&(O&&e&&h(O,function(B,L){B!==e[L]&&(b=!0)}),b&&this.destroyShadows(),this.oldShadowOptions=O),!O)this.destroyShadows();else if(!this.shadows){l=O.opacity/O.width;var n=T?"translate(".concat(O.offsetY,", ").concat(O.offsetX,")"):"translate(".concat(O.offsetX,", ").concat(O.offsetY,")");for(T=1;T<=O.width;T++){var x=R.cloneNode(!1),u=2*O.width+1-2*T;C(x,{stroke:a.color||"#000000","stroke-opacity":l*T,"stroke-width":u,transform:n,fill:"none"}),x.setAttribute("class",(x.getAttribute("class")||"")+" highcharts-shadow"),P&&(C(x,"height",Math.max(C(x,"height")-u,0)),x.cutHeight=u),m?m.element.appendChild(x):R.parentNode&&R.parentNode.insertBefore(x,R),Y.push(x)}this.shadows=Y}return this},c.prototype.show=function(a){return a===void 0&&(a=!0),this.attr({visibility:a?"inherit":"visible"})},c.prototype["stroke-widthSetter"]=function(a,m,P){this[m]=a,P.setAttribute(m,a)},c.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var a=this.getStyle("stroke-width"),m=0;if(a.indexOf("px")===a.length-2)m=p(a);else if(a!==""){var P=j.createElementNS(g,"rect");C(P,{width:a,"stroke-width":0}),this.element.parentNode.appendChild(P),m=P.getBBox().width,P.parentNode.removeChild(P)}return m},c.prototype.symbolAttr=function(a){var m=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach(function(P){m[P]=t(a[P],m[P])}),m.attr({d:m.renderer.symbols[m.symbolName](m.x,m.y,m.width,m.height,m)})},c.prototype.textSetter=function(a){a!==this.textStr&&(delete this.textPxLength,this.textStr=a,this.added&&this.renderer.buildText(this))},c.prototype.titleSetter=function(a){var m=this.element,P=m.getElementsByTagName("title")[0]||j.createElementNS(this.SVG_NS,"title");m.insertBefore?m.insertBefore(P,m.firstChild):m.appendChild(P),P.textContent=String(t(a,"")).replace(/<[^>]*>/g,"").replace(/</g,"<").replace(/>/g,">")},c.prototype.toFront=function(){var a=this.element;return a.parentNode.appendChild(a),this},c.prototype.translate=function(a,m){return this.attr({translateX:a,translateY:m})},c.prototype.updateShadows=function(a,m,P){var Y=this.shadows;if(Y)for(var R=Y.length;R--;)P.call(Y[R],a==="height"?Math.max(m-(Y[R].cutHeight||0),0):a==="d"?this.d:m,a,Y[R])},c.prototype.updateTransform=function(){var a=this.element,m=this.matrix,P=this.rotation;P=P===void 0?0:P;var Y=this.scaleX,R=this.scaleY,e=this.translateX,l=this.translateY;e=["translate("+(e===void 0?0:e)+","+(l===void 0?0:l)+")"],M(m)&&e.push("matrix("+m.join(",")+")"),P&&e.push("rotate("+P+" "+t(this.rotationOriginX,a.getAttribute("x"),0)+" "+t(this.rotationOriginY,a.getAttribute("y")||0)+")"),(M(Y)||M(R))&&e.push("scale("+t(Y,1)+" "+t(R,1)+")"),e.length&&!(this.text||this).textPath&&a.setAttribute("transform",e.join(" "))},c.prototype.visibilitySetter=function(a,m,P){a==="inherit"?P.removeAttribute(m):this[m]!==a&&P.setAttribute(m,a),this[m]=a},c.prototype.xGetter=function(a){return this.element.nodeName==="circle"&&(a==="x"?a="cx":a==="y"&&(a="cy")),this._defaultGetter(a)},c.prototype.zIndexSetter=function(a,m){var P=this.renderer,Y=this.parentGroup,R=(Y||P).element||P.box,e=this.element;P=R===P.box;var l=!1,T=this.added,b;if(M(a)?(e.setAttribute("data-z-index",a),a=+a,this[m]===a&&(T=!1)):M(this[m])&&e.removeAttribute("data-z-index"),this[m]=a,T){for((a=this.zIndex)&&Y&&(Y.handleZ=!0),m=R.childNodes,b=m.length-1;0<=b&&!l;b--){Y=m[b],T=Y.getAttribute("data-z-index");var O=!M(T);Y!==e&&(0>a&&O&&!P&&!b?(R.insertBefore(e,m[b]),l=!0):(p(T)<=a||O&&(!M(a)||0<=a))&&(R.insertBefore(e,m[b+1]||null),l=!0))}l||(R.insertBefore(e,m[P?3:0]||null),l=!0)}return l},c}(),D.prototype.strokeSetter=D.prototype.fillSetter,D.prototype.yGetter=D.prototype.xGetter,D.prototype.matrixSetter=D.prototype.rotationOriginXSetter=D.prototype.rotationOriginYSetter=D.prototype.rotationSetter=D.prototype.scaleXSetter=D.prototype.scaleYSetter=D.prototype.translateXSetter=D.prototype.translateYSetter=D.prototype.verticalAlignSetter=function(c,a){this[a]=c,this.doTransform=!0},D}),ht(_,"Core/Renderer/RendererRegistry.js",[_["Core/Globals.js"]],function(D){var N;return function(F){F.rendererTypes={};var J;F.getRendererType=function(q){return q===void 0&&(q=J),F.rendererTypes[q]||F.rendererTypes[J]},F.registerRendererType=function(q,tt,K){F.rendererTypes[q]=tt,(!J||K)&&(J=q,D.Renderer=tt)}}(N||(N={})),N}),ht(_,"Core/Renderer/SVG/SVGLabel.js",[_["Core/Renderer/SVG/SVGElement.js"],_["Core/Utilities.js"]],function(D,N){var F=this&&this.__extends||function(){var A=function(g,f){return A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,C){y.__proto__=C}||function(y,C){for(var v in C)C.hasOwnProperty(v)&&(y[v]=C[v])},A(g,f)};return function(g,f){function y(){this.constructor=g}A(g,f),g.prototype=f===null?Object.create(f):(y.prototype=f.prototype,new y)}}(),J=N.defined,q=N.extend,tt=N.isNumber,K=N.merge,z=N.pick,j=N.removeEvent;return function(A){function g(f,y,C,v,S,M,w,E,I,k){var r=A.call(this)||this;r.paddingLeftSetter=r.paddingSetter,r.paddingRightSetter=r.paddingSetter,r.init(f,"g"),r.textStr=y,r.x=C,r.y=v,r.anchorX=M,r.anchorY=w,r.baseline=I,r.className=k,r.addClass(k==="button"?"highcharts-no-tooltip":"highcharts-label"),k&&r.addClass("highcharts-"+k),r.text=f.text(void 0,0,0,E).attr({zIndex:1});var d;return typeof S=="string"&&((d=/^url\((.*?)\)$/.test(S))||r.renderer.symbols[S])&&(r.symbolKey=S),r.bBox=g.emptyBBox,r.padding=3,r.baselineOffset=0,r.needsBox=f.styledMode||d,r.deferredAttr={},r.alignFactor=0,r}return F(g,A),g.prototype.alignSetter=function(f){f={left:0,center:.5,right:1}[f],f!==this.alignFactor&&(this.alignFactor=f,this.bBox&&tt(this.xSetting)&&this.attr({x:this.xSetting}))},g.prototype.anchorXSetter=function(f,y){this.anchorX=f,this.boxAttr(y,Math.round(f)-this.getCrispAdjust()-this.xSetting)},g.prototype.anchorYSetter=function(f,y){this.anchorY=f,this.boxAttr(y,f-this.ySetting)},g.prototype.boxAttr=function(f,y){this.box?this.box.attr(f,y):this.deferredAttr[f]=y},g.prototype.css=function(f){if(f){var y={};f=K(f),g.textProps.forEach(function(C){typeof f[C]<"u"&&(y[C]=f[C],delete f[C])}),this.text.css(y),"fontSize"in y||"fontWeight"in y?this.updateTextPadding():("width"in y||"textOverflow"in y)&&this.updateBoxSize()}return D.prototype.css.call(this,f)},g.prototype.destroy=function(){j(this.element,"mouseenter"),j(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),D.prototype.destroy.call(this)},g.prototype.fillSetter=function(f,y){f&&(this.needsBox=!0),this.fill=f,this.boxAttr(y,f)},g.prototype.getBBox=function(){this.textStr&&this.bBox.width===0&&this.bBox.height===0&&this.updateBoxSize();var f=this.padding,y=z(this.paddingLeft,f);return{width:this.width,height:this.height,x:this.bBox.x-y,y:this.bBox.y-f}},g.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},g.prototype.heightSetter=function(f){this.heightSetting=f},g.prototype.onAdd=function(){this.text.add(this),this.attr({text:z(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&J(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},g.prototype.paddingSetter=function(f,y){tt(f)?f!==this[y]&&(this[y]=f,this.updateTextPadding()):this[y]=void 0},g.prototype.rSetter=function(f,y){this.boxAttr(y,f)},g.prototype.shadow=function(f){return f&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(f)),this},g.prototype.strokeSetter=function(f,y){this.stroke=f,this.boxAttr(y,f)},g.prototype["stroke-widthSetter"]=function(f,y){f&&(this.needsBox=!0),this["stroke-width"]=f,this.boxAttr(y,f)},g.prototype["text-alignSetter"]=function(f){this.textAlign=f},g.prototype.textSetter=function(f){typeof f<"u"&&this.text.attr({text:f}),this.updateTextPadding()},g.prototype.updateBoxSize=function(){var f=this.text,y=f.element.style,C={},v=this.padding,S=this.bBox=tt(this.widthSetting)&&tt(this.heightSetting)&&!this.textAlign||!J(f.textStr)?g.emptyBBox:f.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||S.height||0)+2*v,y=this.renderer.fontMetrics(y&&y.fontSize,f),this.baselineOffset=v+Math.min((this.text.firstLineMetrics||y).b,S.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-y.h)/2),this.needsBox&&!f.textPath&&(this.box||(f=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect(),f.addClass((this.className==="button"?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),f.add(this)),f=this.getCrispAdjust(),C.x=f,C.y=(this.baseline?-this.baselineOffset:0)+f,C.width=Math.round(this.width),C.height=Math.round(this.height),this.box.attr(q(C,this.deferredAttr)),this.deferredAttr={})},g.prototype.updateTextPadding=function(){var f=this.text;if(!f.textPath){this.updateBoxSize();var y=this.baseline?0:this.baselineOffset,C=z(this.paddingLeft,this.padding);J(this.widthSetting)&&this.bBox&&(this.textAlign==="center"||this.textAlign==="right")&&(C+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),(C!==f.x||y!==f.y)&&(f.attr("x",C),f.hasBoxWidthChanged&&(this.bBox=f.getBBox(!0)),typeof y<"u"&&f.attr("y",y)),f.x=C,f.y=y}},g.prototype.widthSetter=function(f){this.widthSetting=tt(f)?f:void 0},g.prototype.getPaddedWidth=function(){var f=this.padding,y=z(this.paddingLeft,f);return f=z(this.paddingRight,f),(this.widthSetting||this.bBox.width||0)+y+f},g.prototype.xSetter=function(f){this.x=f,this.alignFactor&&(f-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(f),this.attr("translateX",this.xSetting)},g.prototype.ySetter=function(f){this.ySetting=this.y=Math.round(f),this.attr("translateY",this.ySetting)},g.emptyBBox={width:0,height:0,x:0,y:0},g.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),g}(D)}),ht(_,"Core/Renderer/SVG/Symbols.js",[_["Core/Utilities.js"]],function(D){function N(z,j,A,g,f){var y=[];if(f){var C=f.start||0,v=K(f.r,A);A=K(f.r,g||A);var S=(f.end||0)-.001;g=f.innerR;var M=K(f.open,.001>Math.abs((f.end||0)-C-2*Math.PI)),w=Math.cos(C),E=Math.sin(C),I=Math.cos(S),k=Math.sin(S);C=K(f.longArc,.001>S-C-Math.PI?0:1),y.push(["M",z+v*w,j+A*E],["A",v,A,0,C,K(f.clockwise,1),z+v*I,j+A*k]),q(g)&&y.push(M?["M",z+g*I,j+g*k]:["L",z+g*I,j+g*k],["A",g,g,0,C,q(f.clockwise)?1-f.clockwise:0,z+g*w,j+g*E]),M||y.push(["Z"])}return y}function F(z,j,A,g,f){return f&&f.r?J(z,j,A,g,f):[["M",z,j],["L",z+A,j],["L",z+A,j+g],["L",z,j+g],["Z"]]}function J(z,j,A,g,f){return f=f&&f.r||0,[["M",z+f,j],["L",z+A-f,j],["C",z+A,j,z+A,j,z+A,j+f],["L",z+A,j+g-f],["C",z+A,j+g,z+A,j+g,z+A-f,j+g],["L",z+f,j+g],["C",z,j+g,z,j+g,z,j+g-f],["L",z,j+f],["C",z,j,z,j,z+f,j]]}var q=D.defined,tt=D.isNumber,K=D.pick;return{arc:N,callout:function(z,j,A,g,f){var y=Math.min(f&&f.r||0,A,g),C=y+6,v=f&&f.anchorX;f=f&&f.anchorY||0;var S=J(z,j,A,g,{r:y});return tt(v)&&(z+v>=A?f>j+C&&f<j+g-C?S.splice(3,1,["L",z+A,f-6],["L",z+A+6,f],["L",z+A,f+6],["L",z+A,j+g-y]):S.splice(3,1,["L",z+A,g/2],["L",v,f],["L",z+A,g/2],["L",z+A,j+g-y]):0>=z+v?f>j+C&&f<j+g-C?S.splice(7,1,["L",z,f+6],["L",z-6,f],["L",z,f-6],["L",z,j+y]):S.splice(7,1,["L",z,g/2],["L",v,f],["L",z,g/2],["L",z,j+y]):f&&f>g&&v>z+C&&v<z+A-C?S.splice(5,1,["L",v+6,j+g],["L",v,j+g+6],["L",v-6,j+g],["L",z+y,j+g]):f&&0>f&&v>z+C&&v<z+A-C&&S.splice(1,1,["L",v-6,j],["L",v,j-6],["L",v+6,j],["L",A-y,j])),S},circle:function(z,j,A,g){return N(z+A/2,j+g/2,A/2,g/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(z,j,A,g){return[["M",z+A/2,j],["L",z+A,j+g/2],["L",z+A/2,j+g],["L",z,j+g/2],["Z"]]},rect:F,roundedRect:J,square:F,triangle:function(z,j,A,g){return[["M",z+A/2,j],["L",z+A,j+g],["L",z,j+g],["Z"]]},"triangle-down":function(z,j,A,g){return[["M",z,j],["L",z+A,j],["L",z+A/2,j+g],["Z"]]}}}),ht(_,"Core/Renderer/SVG/TextBuilder.js",[_["Core/Renderer/HTML/AST.js"],_["Core/Globals.js"],_["Core/Utilities.js"]],function(D,N,F){var J=N.doc,q=N.SVG_NS,tt=N.win,K=F.attr,z=F.extend,j=F.fireEvent,A=F.isString,g=F.objectEach,f=F.pick;return function(){function y(C){var v=C.styles;this.renderer=C.renderer,this.svgElement=C,this.width=C.textWidth,this.textLineHeight=v&&v.lineHeight,this.textOutline=v&&v.textOutline,this.ellipsis=!(!v||v.textOverflow!=="ellipsis"),this.noWrap=!(!v||v.whiteSpace!=="nowrap"),this.fontSize=v&&v.fontSize}return y.prototype.buildSVG=function(){var C=this.svgElement,v=C.element,S=C.renderer,M=f(C.textStr,"").toString(),w=M.indexOf("<")!==-1,E=v.childNodes;S=this.width&&!C.added&&S.box;var I=/<br.*?>/g,k=[M,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(k!==C.textCache){for(C.textCache=k,delete C.actualWidth,k=E.length;k--;)v.removeChild(E[k]);w||this.ellipsis||this.width||C.textPath||M.indexOf(" ")!==-1&&(!this.noWrap||I.test(M))?M!==""&&(S&&S.appendChild(v),M=new D(M),this.modifyTree(M.nodes),M.addToDOM(v),this.modifyDOM(),this.ellipsis&&(v.textContent||"").indexOf("\u2026")!==-1&&C.attr("title",this.unescapeEntities(C.textStr||"",["<",">"])),S&&S.removeChild(v)):v.appendChild(J.createTextNode(this.unescapeEntities(M))),A(this.textOutline)&&C.applyTextOutline&&C.applyTextOutline(this.textOutline)}},y.prototype.modifyDOM=function(){var C=this,v=this.svgElement,S=K(v.element,"x");v.firstLineMetrics=void 0;for(var M;(M=v.element.firstChild)&&/^[\s\u200B]*$/.test(M.textContent||" ");)v.element.removeChild(M);[].forEach.call(v.element.querySelectorAll("tspan.highcharts-br"),function(k,r){k.nextSibling&&k.previousSibling&&(r===0&&k.previousSibling.nodeType===1&&(v.firstLineMetrics=v.renderer.fontMetrics(void 0,k.previousSibling)),K(k,{dy:C.getLineHeight(k.nextSibling),x:S}))});var w=this.width||0;if(w){var E=function(k,r){var d=k.textContent||"",o=d.replace(/([^\^])-/g,"$1- ").split(" "),h=!C.noWrap&&(1<o.length||1<v.element.childNodes.length),t=C.getLineHeight(r),p=0,i=v.actualWidth;if(C.ellipsis)d&&C.truncate(k,d,void 0,0,Math.max(0,w-parseInt(C.fontSize||12,10)),function(s,c){return s.substring(0,c)+"\u2026"});else if(h){for(d=[],h=[];r.firstChild&&r.firstChild!==k;)h.push(r.firstChild),r.removeChild(r.firstChild);for(;o.length;)o.length&&!C.noWrap&&0<p&&(d.push(k.textContent||""),k.textContent=o.join(" ").replace(/- /g,"-")),C.truncate(k,void 0,o,p===0&&i||0,w,function(s,c){return o.slice(0,c).join(" ").replace(/- /g,"-")}),i=v.actualWidth,p++;h.forEach(function(s){r.insertBefore(s,k)}),d.forEach(function(s){r.insertBefore(J.createTextNode(s),k),s=J.createElementNS(q,"tspan"),s.textContent="\u200B",K(s,{dy:t,x:S}),r.insertBefore(s,k)})}},I=function(k){[].slice.call(k.childNodes).forEach(function(r){r.nodeType===tt.Node.TEXT_NODE?E(r,k):(r.className.baseVal.indexOf("highcharts-br")!==-1&&(v.actualWidth=0),I(r))})};I(v.element)}},y.prototype.getLineHeight=function(C){var v;return C=C.nodeType===tt.Node.TEXT_NODE?C.parentElement:C,this.renderer.styledMode||(v=C&&/(px|em)$/.test(C.style.fontSize)?C.style.fontSize:this.fontSize||this.renderer.style.fontSize||12),this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(v,C||this.svgElement.element).h},y.prototype.modifyTree=function(C){var v=this,S=function(M,w){var E=M.attributes;E=E===void 0?{}:E;var I=M.children,k=M.style;k=k===void 0?{}:k;var r=M.tagName,d=v.renderer.styledMode;r==="b"||r==="strong"?d?E.class="highcharts-strong":k.fontWeight="bold":(r==="i"||r==="em")&&(d?E.class="highcharts-emphasized":k.fontStyle="italic"),k&&k.color&&(k.fill=k.color),r==="br"?(E.class="highcharts-br",M.textContent="\u200B",(w=C[w+1])&&w.textContent&&(w.textContent=w.textContent.replace(/^ +/gm,""))):r==="a"&&I&&I.some(function(o){return o.tagName==="#text"})&&(M.children=[{children:I,tagName:"tspan"}]),r!=="#text"&&r!=="a"&&(M.tagName="tspan"),z(M,{attributes:E,style:k}),I&&I.filter(function(o){return o.tagName!=="#text"}).forEach(S)};C.forEach(S),j(this.svgElement,"afterModifyTree",{nodes:C})},y.prototype.truncate=function(C,v,S,M,w,E){var I=this.svgElement,k=I.renderer,r=I.rotation,d=[],o=S?1:0,h=(v||S||"").length,t=h,p,i=function(c,a){a=a||c;var m=C.parentNode;if(m&&typeof d[a]>"u")if(m.getSubStringLength)try{d[a]=M+m.getSubStringLength(0,S?a+1:a)}catch{}else k.getSpanWidth&&(C.textContent=E(v||S,c),d[a]=M+k.getSpanWidth(I,C));return d[a]};I.rotation=0;var s=i(C.textContent.length);if(M+s>w){for(;o<=h;)t=Math.ceil((o+h)/2),S&&(p=E(S,t)),s=i(t,p&&p.length-1),o===h?o=h+1:s>w?h=t-1:o=t;h===0?C.textContent="":v&&h===v.length-1||(C.textContent=p||E(v||S,t))}S&&S.splice(0,t),I.actualWidth=s,I.rotation=r},y.prototype.unescapeEntities=function(C,v){return g(this.renderer.escapes,function(S,M){v&&v.indexOf(S)!==-1||(C=C.toString().replace(new RegExp(S,"g"),M))}),C},y}()}),ht(_,"Core/Renderer/SVG/SVGRenderer.js",[_["Core/Renderer/HTML/AST.js"],_["Core/Color/Color.js"],_["Core/Globals.js"],_["Core/Renderer/RendererRegistry.js"],_["Core/Renderer/SVG/SVGElement.js"],_["Core/Renderer/SVG/SVGLabel.js"],_["Core/Renderer/SVG/Symbols.js"],_["Core/Renderer/SVG/TextBuilder.js"],_["Core/Utilities.js"]],function(D,N,F,J,q,tt,K,z,j){var A=F.charts,g=F.deg2rad,f=F.doc,y=F.isFirefox,C=F.isMS,v=F.isWebKit,S=F.noop,M=F.SVG_NS,w=F.symbolSizes,E=F.win,I=j.addEvent,k=j.attr,r=j.createElement,d=j.css,o=j.defined,h=j.destroyObjectProperties,t=j.extend,p=j.isArray,i=j.isNumber,s=j.isObject,c=j.isString,a=j.merge,m=j.pick,P=j.pInt,Y=j.uniqueKey,R;return F=function(){function e(l,T,b,O,n,x,u){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(l,T,b,O,n,x,u)}return e.prototype.init=function(l,T,b,O,n,x,u){var B=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),L=B.element;u||B.css(this.getStyle(O)),l.appendChild(L),k(l,"dir","ltr"),l.innerHTML.indexOf("xmlns")===-1&&k(L,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=L,this.boxWrapper=B,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(f.createTextNode("Created with Highcharts 10.3.3")),this.defs=this.createElement("defs").add(),this.allowHTML=x,this.forExport=n,this.styledMode=u,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(T,b,!1);var H;y&&l.getBoundingClientRect&&(T=function(){d(l,{left:0,top:0}),H=l.getBoundingClientRect(),d(l,{left:Math.ceil(H.left)-H.left+"px",top:Math.ceil(H.top)-H.top+"px"})},T(),this.unSubPixelFix=I(E,"resize",T))},e.prototype.definition=function(l){return new D([l]).addToDOM(this.defs.element)},e.prototype.getReferenceURL=function(){if((y||v)&&f.getElementsByTagName("base").length){if(!o(R)){var l=Y();l=new D([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:l},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#".concat(l,")"),fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(f.body),d(l,{position:"fixed",top:0,left:0,zIndex:9e5});var T=f.elementFromPoint(6,6);R=(T&&T.id)==="hitme",f.body.removeChild(l)}if(R)return E.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},e.prototype.getStyle=function(l){return this.style=t({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},l)},e.prototype.setStyle=function(l){this.boxWrapper.css(this.getStyle(l))},e.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},e.prototype.destroy=function(){var l=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),h(this.gradients||{}),this.gradients=null,l&&(this.defs=l.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},e.prototype.createElement=function(l){var T=new this.Element;return T.init(this,l),T},e.prototype.getRadialAttr=function(l,T){return{cx:l[0]-l[2]/2+(T.cx||0)*l[2],cy:l[1]-l[2]/2+(T.cy||0)*l[2],r:(T.r||0)*l[2]}},e.prototype.buildText=function(l){new z(l).buildSVG()},e.prototype.getContrast=function(l){return l=N.parse(l).rgba.map(function(T){return T/=255,.03928>=T?T/12.92:Math.pow((T+.055)/1.055,2.4)}),l=.2126*l[0]+.7152*l[1]+.0722*l[2],1.05/(l+.05)>(l+.05)/.05?"#FFFFFF":"#000000"},e.prototype.button=function(l,T,b,O,n,x,u,B,L,H){n===void 0&&(n={});var G=this.label(l,T,b,L,void 0,void 0,H,void 0,"button"),U=this.styledMode;l=n.states||{};var V=0;n=a(n),delete n.states;var rt=a({color:"#333333",cursor:"pointer",fontWeight:"normal"},n.style);delete n.style;var st=D.filterUserAttributes(n);if(G.attr(a({padding:8,r:2},st)),!U){st=a({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1},st),x=a(st,{fill:"#e6e6e6"},D.filterUserAttributes(x||l.hover||{}));var ot=x.style;delete x.style,u=a(st,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},D.filterUserAttributes(u||l.select||{}));var et=u.style;delete u.style,B=a(st,{style:{color:"#cccccc"}},D.filterUserAttributes(B||l.disabled||{}));var at=B.style;delete B.style}return I(G.element,C?"mouseover":"mouseenter",function(){V!==3&&G.setState(1)}),I(G.element,C?"mouseout":"mouseleave",function(){V!==3&&G.setState(V)}),G.setState=function($){$!==1&&(G.state=V=$),G.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][$||0]),U||(G.attr([st,x,u,B][$||0]),$=[rt,ot,et,at][$||0],s($)&&G.css($))},U||(G.attr(st).css(t({cursor:"default"},rt)),H&&G.text.css({pointerEvents:"none"})),G.on("touchstart",function($){return $.stopPropagation()}).on("click",function($){V!==3&&O.call(G,$)})},e.prototype.crispLine=function(l,T,b){b===void 0&&(b="round");var O=l[0],n=l[1];return o(O[1])&&O[1]===n[1]&&(O[1]=n[1]=Math[b](O[1])-T%2/2),o(O[2])&&O[2]===n[2]&&(O[2]=n[2]=Math[b](O[2])+T%2/2),l},e.prototype.path=function(l){var T=this.styledMode?{}:{fill:"none"};return p(l)?T.d=l:s(l)&&t(T,l),this.createElement("path").attr(T)},e.prototype.circle=function(l,T,b){return l=s(l)?l:typeof l>"u"?{}:{x:l,y:T,r:b},T=this.createElement("circle"),T.xSetter=T.ySetter=function(O,n,x){x.setAttribute("c"+n,O)},T.attr(l)},e.prototype.arc=function(l,T,b,O,n,x){return s(l)?(O=l,T=O.y,b=O.r,l=O.x):O={innerR:O,start:n,end:x},l=this.symbol("arc",l,T,b,b,O),l.r=b,l},e.prototype.rect=function(l,T,b,O,n,x){n=s(l)?l.r:n;var u=this.createElement("rect");return l=s(l)?l:typeof l>"u"?{}:{x:l,y:T,width:Math.max(b,0),height:Math.max(O,0)},this.styledMode||(typeof x<"u"&&(l["stroke-width"]=x,l=u.crisp(l)),l.fill="none"),n&&(l.r=n),u.rSetter=function(B,L,H){u.r=B,k(H,{rx:B,ry:B})},u.rGetter=function(){return u.r||0},u.attr(l)},e.prototype.setSize=function(l,T,b){this.width=l,this.height=T,this.boxWrapper.animate({width:l,height:T},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:m(b,!0)?void 0:0}),this.alignElements()},e.prototype.g=function(l){var T=this.createElement("g");return l?T.attr({class:"highcharts-"+l}):T},e.prototype.image=function(l,T,b,O,n,x){var u={preserveAspectRatio:"none"},B=function(H,G){H.setAttributeNS?H.setAttributeNS("http://www.w3.org/1999/xlink","href",G):H.setAttribute("hc-svg-href",G)};i(T)&&(u.x=T),i(b)&&(u.y=b),i(O)&&(u.width=O),i(n)&&(u.height=n);var L=this.createElement("image").attr(u);return T=function(H){B(L.element,l),x.call(L,H)},x?(B(L.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),b=new E.Image,I(b,"load",T),b.src=l,b.complete&&T({})):B(L.element,l),L},e.prototype.symbol=function(l,T,b,O,n,x){var u=this,B=/^url\((.*?)\)$/,L=B.test(l),H=!L&&(this.symbols[l]?l:"circle"),G=H&&this.symbols[H],U;if(G){typeof T=="number"&&(U=G.call(this.symbols,Math.round(T||0),Math.round(b||0),O||0,n||0,x));var V=this.path(U);u.styledMode||V.attr("fill","none"),t(V,{symbolName:H||void 0,x:T,y:b,width:O,height:n}),x&&t(V,x)}else if(L){var rt=l.match(B)[1],st=V=this.image(rt);st.imgwidth=m(w[rt]&&w[rt].width,x&&x.width),st.imgheight=m(w[rt]&&w[rt].height,x&&x.height);var ot=function(et){return et.attr({width:et.width,height:et.height})};["width","height"].forEach(function(et){st[et+"Setter"]=function(at,$){this[$]=at,at=this.alignByTranslate;var W=this.element,X=this.width,Z=this.height,Q=this.imgwidth,it=this.imgheight,nt=this["img"+$];if(o(nt)){var lt=1;x&&x.backgroundSize==="within"&&X&&Z?(lt=Math.min(X/Q,Z/it),nt=Math.round(nt*lt),k(W,{width:Math.round(Q*lt),height:Math.round(it*lt)})):W&&W.setAttribute($,nt),at||this.translate(((X||0)-nt*lt)/2,((Z||0)-nt*lt)/2)}}}),o(T)&&st.attr({x:T,y:b}),st.isImg=!0,o(st.imgwidth)&&o(st.imgheight)?ot(st):(st.attr({width:0,height:0}),r("img",{onload:function(){var et=A[u.chartIndex];this.width===0&&(d(this,{position:"absolute",top:"-999em"}),f.body.appendChild(this)),w[rt]={width:this.width,height:this.height},st.imgwidth=this.width,st.imgheight=this.height,st.element&&ot(st),this.parentNode&&this.parentNode.removeChild(this),u.imgCount--,!u.imgCount&&et&&!et.hasLoaded&&et.onload()},src:rt}),this.imgCount++)}return V},e.prototype.clipRect=function(l,T,b,O){var n=Y()+"-",x=this.createElement("clipPath").attr({id:n}).add(this.defs);return l=this.rect(l,T,b,O,0).add(x),l.id=n,l.clipPath=x,l.count=0,l},e.prototype.text=function(l,T,b,O){var n={};return O&&(this.allowHTML||!this.forExport)?this.html(l,T,b):(n.x=Math.round(T||0),b&&(n.y=Math.round(b)),o(l)&&(n.text=l),l=this.createElement("text").attr(n),(!O||this.forExport&&!this.allowHTML)&&(l.xSetter=function(x,u,B){for(var L=B.getElementsByTagName("tspan"),H=B.getAttribute(u),G=0,U;G<L.length;G++)U=L[G],U.getAttribute(u)===H&&U.setAttribute(u,x);B.setAttribute(u,x)}),l)},e.prototype.fontMetrics=function(l,T){return l=!this.styledMode&&/px/.test(l)||!E.getComputedStyle?l||T&&T.style&&T.style.fontSize||this.style&&this.style.fontSize:T&&q.prototype.getStyle.call(T,"font-size"),l=/px/.test(l)?P(l):12,T=24>l?l+3:Math.round(1.2*l),{h:T,b:Math.round(.8*T),f:l}},e.prototype.rotCorr=function(l,T,b){var O=l;return T&&b&&(O=Math.max(O*Math.cos(T*g),4)),{x:-l/3*Math.sin(T*g),y:O}},e.prototype.pathToSegments=function(l){for(var T=[],b=[],O={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},n=0;n<l.length;n++)c(b[0])&&i(l[n])&&b.length===O[b[0].toUpperCase()]&&l.splice(n,0,b[0].replace("M","L").replace("m","l")),typeof l[n]=="string"&&(b.length&&T.push(b.slice(0)),b.length=0),b.push(l[n]);return T.push(b.slice(0)),T},e.prototype.label=function(l,T,b,O,n,x,u,B,L){return new tt(this,l,T,b,O,n,x,u,B,L)},e.prototype.alignElements=function(){this.alignedObjects.forEach(function(l){return l.align()})},e}(),t(F.prototype,{Element:q,SVG_NS:M,escapes:{"&":"&","<":"<",">":">","'":"'",'"':"""},symbols:K,draw:S}),J.registerRendererType("svg",F,!0),F}),ht(_,"Core/Renderer/HTML/HTMLElement.js",[_["Core/Globals.js"],_["Core/Renderer/SVG/SVGElement.js"],_["Core/Utilities.js"]],function(D,N,F){var J=this&&this.__extends||function(){var C=function(v,S){return C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(M,w){M.__proto__=w}||function(M,w){for(var E in w)w.hasOwnProperty(E)&&(M[E]=w[E])},C(v,S)};return function(v,S){function M(){this.constructor=v}C(v,S),v.prototype=S===null?Object.create(S):(M.prototype=S.prototype,new M)}}(),q=D.isFirefox,tt=D.isMS,K=D.isWebKit,z=D.win,j=F.css,A=F.defined,g=F.extend,f=F.pick,y=F.pInt;return function(C){function v(){return C!==null&&C.apply(this,arguments)||this}return J(v,C),v.compose=function(S){if(v.composedClasses.indexOf(S)===-1){v.composedClasses.push(S);var M=v.prototype,w=S.prototype;w.getSpanCorrection=M.getSpanCorrection,w.htmlCss=M.htmlCss,w.htmlGetBBox=M.htmlGetBBox,w.htmlUpdateTransform=M.htmlUpdateTransform,w.setSpanRotation=M.setSpanRotation}return S},v.prototype.getSpanCorrection=function(S,M,w){this.xCorr=-S*w,this.yCorr=-M},v.prototype.htmlCss=function(S){var M=this.element.tagName==="SPAN"&&S&&"width"in S,w=f(M&&S.width,void 0);if(M){delete S.width,this.textWidth=w;var E=!0}return S&&S.textOverflow==="ellipsis"&&(S.whiteSpace="nowrap",S.overflow="hidden"),this.styles=g(this.styles,S),j(this.element,S),E&&this.htmlUpdateTransform(),this},v.prototype.htmlGetBBox=function(){var S=this.element;return{x:S.offsetLeft,y:S.offsetTop,width:S.offsetWidth,height:S.offsetHeight}},v.prototype.htmlUpdateTransform=function(){if(this.added){var S=this.renderer,M=this.element,w=this.translateX||0,E=this.translateY||0,I=this.x||0,k=this.y||0,r=this.textAlign||"left",d={left:0,center:.5,right:1}[r],o=this.styles;if(o=o&&o.whiteSpace,j(M,{marginLeft:w,marginTop:E}),!S.styledMode&&this.shadows&&this.shadows.forEach(function(c){j(c,{marginLeft:w+1,marginTop:E+1})}),this.inverted&&[].forEach.call(M.childNodes,function(c){S.invertChild(c,M)}),M.tagName==="SPAN"){var h=this.rotation,t=this.textWidth&&y(this.textWidth),p=[h,r,M.innerHTML,this.textWidth,this.textAlign].join(),i=void 0;if(i=!1,t!==this.oldTextWidth){if(this.textPxLength)var s=this.textPxLength;else j(M,{width:"",whiteSpace:o||"nowrap"}),s=M.offsetWidth;(t>this.oldTextWidth||s>t)&&(/[ \-]/.test(M.textContent||M.innerText)||M.style.textOverflow==="ellipsis")&&(j(M,{width:s>t||h?t+"px":"auto",display:"block",whiteSpace:o||"normal"}),this.oldTextWidth=t,i=!0)}this.hasBoxWidthChanged=i,p!==this.cTT&&(i=S.fontMetrics(M.style.fontSize,M).b,!A(h)||h===(this.oldRotation||0)&&r===this.oldAlign||this.setSpanRotation(h,d,i),this.getSpanCorrection(!A(h)&&this.textPxLength||M.offsetWidth,i,d,h,r)),j(M,{left:I+(this.xCorr||0)+"px",top:k+(this.yCorr||0)+"px"}),this.cTT=p,this.oldRotation=h,this.oldAlign=r}}else this.alignOnAdd=!0},v.prototype.setSpanRotation=function(S,M,w){var E={},I=tt&&!/Edge/.test(z.navigator.userAgent)?"-ms-transform":K?"-webkit-transform":q?"MozTransform":z.opera?"-o-transform":void 0;I&&(E[I]=E.transform="rotate("+S+"deg)",E[I+(q?"Origin":"-origin")]=E.transformOrigin=100*M+"% "+w+"px",j(this.element,E))},v.composedClasses=[],v}(N)}),ht(_,"Core/Renderer/HTML/HTMLRenderer.js",[_["Core/Renderer/HTML/AST.js"],_["Core/Renderer/SVG/SVGElement.js"],_["Core/Renderer/SVG/SVGRenderer.js"],_["Core/Utilities.js"]],function(D,N,F,J){var q=this&&this.__extends||function(){var A=function(g,f){return A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,C){y.__proto__=C}||function(y,C){for(var v in C)C.hasOwnProperty(v)&&(y[v]=C[v])},A(g,f)};return function(g,f){function y(){this.constructor=g}A(g,f),g.prototype=f===null?Object.create(f):(y.prototype=f.prototype,new y)}}(),tt=J.attr,K=J.createElement,z=J.extend,j=J.pick;return function(A){function g(){return A!==null&&A.apply(this,arguments)||this}return q(g,A),g.compose=function(f){return g.composedClasses.indexOf(f)===-1&&(g.composedClasses.push(f),f.prototype.html=g.prototype.html),f},g.prototype.html=function(f,y,C){var v=this.createElement("span"),S=v.element,M=v.renderer,w=M.isSVG,E=function(I,k){["opacity","visibility"].forEach(function(r){I[r+"Setter"]=function(d,o,h){var t=I.div?I.div.style:k;N.prototype[r+"Setter"].call(this,d,o,h),t&&(t[o]=d)}}),I.addedSetters=!0};return v.textSetter=function(I){I!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,D.setElementHTML(this.element,j(I,"")),this.textStr=I,v.doTransform=!0)},w&&E(v,v.element.style),v.xSetter=v.ySetter=v.alignSetter=v.rotationSetter=function(I,k){k==="align"?v.alignValue=v.textAlign=I:v[k]=I,v.doTransform=!0},v.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},v.attr({text:f,x:Math.round(y),y:Math.round(C)}).css({position:"absolute"}),M.styledMode||v.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),S.style.whiteSpace="nowrap",v.css=v.htmlCss,w&&(v.add=function(I){var k=M.box.parentNode,r=[];if(this.parentGroup=I){var d=I.div;if(!d){for(;I;)r.push(I),I=I.parentGroup;r.reverse().forEach(function(o){function h(s,c){o[c]=s,c==="translateX"?i.left=s+"px":i.top=s+"px",o.doTransform=!0}var t=tt(o.element,"class"),p=o.styles||{};d=o.div=o.div||K("div",t?{className:t}:void 0,{position:"absolute",left:(o.translateX||0)+"px",top:(o.translateY||0)+"px",display:o.display,opacity:o.opacity,cursor:p.cursor,pointerEvents:p.pointerEvents,visibility:o.visibility},d||k);var i=d.style;z(o,{classSetter:function(s){return function(c){this.element.setAttribute("class",c),s.className=c}}(d),on:function(){return r[0].div&&v.on.apply({element:r[0].div,onEvents:o.onEvents},arguments),o},translateXSetter:h,translateYSetter:h}),o.addedSetters||E(o)})}}else d=k;return d.appendChild(S),v.added=!0,v.alignOnAdd&&v.htmlUpdateTransform(),v}),v},g.composedClasses=[],g}(F)}),ht(_,"Core/Axis/AxisDefaults.js",[],function(){var D=function(N){return N.defaultXAxisOptions={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:"#666666",cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:"#666666"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#ccd6eb"},N.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){var F=this.axis.chart.numberFormatter;return F(this.total||0,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},N.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},N.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},N.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},N.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},N}(D||{});return D}),ht(_,"Core/Foundation.js",[_["Core/Utilities.js"]],function(D){var N=D.addEvent,F=D.isFunction,J=D.objectEach,q=D.removeEvent,tt;return function(K){K.registerEventOptions=function(z,j){z.eventOptions=z.eventOptions||{},J(j.events,function(A,g){z.eventOptions[g]!==A&&(z.eventOptions[g]&&(q(z,g,z.eventOptions[g]),delete z.eventOptions[g]),F(A)&&(z.eventOptions[g]=A,N(z,g,A)))})}}(tt||(tt={})),tt}),ht(_,"Core/Axis/Tick.js",[_["Core/FormatUtilities.js"],_["Core/Globals.js"],_["Core/Utilities.js"]],function(D,N,F){var J=N.deg2rad,q=F.clamp,tt=F.correctFloat,K=F.defined,z=F.destroyObjectProperties,j=F.extend,A=F.fireEvent,g=F.isNumber,f=F.merge,y=F.objectEach,C=F.pick;return N=function(){function v(S,M,w,E,I){this.isNewLabel=this.isNew=!0,this.axis=S,this.pos=M,this.type=w||"",this.parameters=I||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,A(this,"init"),w||E||this.addLabel()}return v.prototype.addLabel=function(){var S=this,M=S.axis,w=M.options,E=M.chart,I=M.categories,k=M.logarithmic,r=M.names,d=S.pos,o=C(S.options&&S.options.labels,w.labels),h=M.tickPositions,t=d===h[0],p=d===h[h.length-1],i=(!o.step||o.step===1)&&M.tickInterval===1;h=h.info;var s=S.label,c;if(I=this.parameters.category||(I?C(I[d],r[d],d):d),k&&g(I)&&(I=tt(k.lin2log(I))),M.dateTime)if(h)var a=E.time.resolveDTLFormat(w.dateTimeLabelFormats[!w.grid&&h.higherRanks[d]||h.unitName]),m=a.main;else g(I)&&(m=M.dateTime.getXDateFormat(I,w.dateTimeLabelFormats||{}));S.isFirst=t,S.isLast=p;var P={axis:M,chart:E,dateTimeLabelFormat:m,isFirst:t,isLast:p,pos:d,tick:S,tickPositionInfo:h,value:I};A(this,"labelFormat",P);var Y=function(e){return o.formatter?o.formatter.call(e,e):o.format?(e.text=M.defaultLabelFormatter.call(e,e),D.format(o.format,e,E)):M.defaultLabelFormatter.call(e,e)};w=Y.call(P,P);var R=a&&a.list;S.shortenLabel=R?function(){for(c=0;c<R.length;c++)if(j(P,{dateTimeLabelFormat:R[c]}),s.attr({text:Y.call(P,P)}),s.getBBox().width<M.getSlotWidth(S)-2*o.padding)return;s.attr({text:""})}:void 0,i&&M._addedPlotLB&&S.moveLabel(w,o),K(s)||S.movedLabel?s&&s.textStr!==w&&!i&&(!s.textWidth||o.style.width||s.styles.width||s.css({width:null}),s.attr({text:w}),s.textPxLength=s.getBBox().width):(S.label=s=S.createLabel({x:0,y:0},w,o),S.rotation=0)},v.prototype.createLabel=function(S,M,w){var E=this.axis,I=E.chart;return(S=K(M)&&w.enabled?I.renderer.text(M,S.x,S.y,w.useHTML).add(E.labelGroup):null)&&(I.styledMode||S.css(f(w.style)),S.textPxLength=S.getBBox().width),S},v.prototype.destroy=function(){z(this,this.axis)},v.prototype.getPosition=function(S,M,w,E){var I=this.axis,k=I.chart,r=E&&k.oldChartHeight||k.chartHeight;return S={x:S?tt(I.translate(M+w,void 0,void 0,E)+I.transB):I.left+I.offset+(I.opposite?(E&&k.oldChartWidth||k.chartWidth)-I.right-I.left:0),y:S?r-I.bottom+I.offset-(I.opposite?I.height:0):tt(r-I.translate(M+w,void 0,void 0,E)-I.transB)},S.y=q(S.y,-1e5,1e5),A(this,"afterGetPosition",{pos:S}),S},v.prototype.getLabelPosition=function(S,M,w,E,I,k,r,d){var o=this.axis,h=o.transA,t=o.isLinked&&o.linkedParent?o.linkedParent.reversed:o.reversed,p=o.staggerLines,i=o.tickRotCorr||{x:0,y:0},s=E||o.reserveSpaceDefault?0:-o.labelOffset*(o.labelAlign==="center"?.5:1),c={};return w=o.side===0?w.rotation?-8:-w.getBBox().height:o.side===2?i.y+8:Math.cos(w.rotation*J)*(i.y-w.getBBox(!1,0).height/2),K(I.y)&&(w=o.side===0&&o.horiz?I.y+w:I.y),S=S+I.x+s+i.x-(k&&E?k*h*(t?-1:1):0),M=M+w-(k&&!E?k*h*(t?1:-1):0),p&&(E=r/(d||1)%p,o.opposite&&(E=p-E-1),M+=o.labelOffset/p*E),c.x=S,c.y=Math.round(M),A(this,"afterGetLabelPosition",{pos:c,tickmarkOffset:k,index:r}),c},v.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},v.prototype.getMarkPath=function(S,M,w,E,I,k){return k.crispLine([["M",S,M],["L",S+(I?0:-w),M+(I?w:0)]],E)},v.prototype.handleOverflow=function(S){var M=this.axis,w=M.options.labels,E=S.x,I=M.chart.chartWidth,k=M.chart.spacing,r=C(M.labelLeft,Math.min(M.pos,k[3]));k=C(M.labelRight,Math.max(M.isRadial?0:M.pos+M.len,I-k[1]));var d=this.label,o=this.rotation,h={left:0,center:.5,right:1}[M.labelAlign||d.attr("align")],t=d.getBBox().width,p=M.getSlotWidth(this),i={},s=p,c=1,a;o||w.overflow!=="justify"?0>o&&E-h*t<r?a=Math.round(E/Math.cos(o*J)-r):0<o&&E+h*t>k&&(a=Math.round((I-E)/Math.cos(o*J))):(I=E+(1-h)*t,E-h*t<r?s=S.x+s*(1-h)-r:I>k&&(s=k-S.x+s*h,c=-1),s=Math.min(p,s),s<p&&M.labelAlign==="center"&&(S.x+=c*(p-s-h*(p-Math.min(t,s)))),(t>s||M.autoRotation&&(d.styles||{}).width)&&(a=s)),a&&(this.shortenLabel?this.shortenLabel():(i.width=Math.floor(a)+"px",(w.style||{}).textOverflow||(i.textOverflow="ellipsis"),d.css(i)))},v.prototype.moveLabel=function(S,M){var w=this,E=w.label,I=w.axis,k=I.reversed,r=!1;if(E&&E.textStr===S?(w.movedLabel=E,r=!0,delete w.label):y(I.ticks,function(o){r||o.isNew||o===w||!o.label||o.label.textStr!==S||(w.movedLabel=o.label,r=!0,o.labelPos=w.movedLabel.xy,delete o.label)}),!r&&(w.labelPos||E)){var d=w.labelPos||E.xy;E=I.horiz?k?0:I.width+I.left:d.x,I=I.horiz?d.y:k?I.width+I.left:0,w.movedLabel=w.createLabel({x:E,y:I},S,M),w.movedLabel&&w.movedLabel.attr({opacity:0})}},v.prototype.render=function(S,M,w){var E=this.axis,I=E.horiz,k=this.pos,r=C(this.tickmarkOffset,E.tickmarkOffset);k=this.getPosition(I,k,r,M),r=k.x;var d=k.y;E=I&&r===E.pos+E.len||!I&&d===E.pos?-1:1,I=C(w,this.label&&this.label.newOpacity,1),w=C(w,1),this.isActive=!0,this.renderGridLine(M,w,E),this.renderMark(k,w,E),this.renderLabel(k,M,I,S),this.isNew=!1,A(this,"afterRender")},v.prototype.renderGridLine=function(S,M,w){var E=this.axis,I=E.options,k={},r=this.pos,d=this.type,o=C(this.tickmarkOffset,E.tickmarkOffset),h=E.chart.renderer,t=this.gridLine,p=I.gridLineWidth,i=I.gridLineColor,s=I.gridLineDashStyle;this.type==="minor"&&(p=I.minorGridLineWidth,i=I.minorGridLineColor,s=I.minorGridLineDashStyle),t||(E.chart.styledMode||(k.stroke=i,k["stroke-width"]=p||0,k.dashstyle=s),d||(k.zIndex=1),S&&(M=0),this.gridLine=t=h.path().attr(k).addClass("highcharts-"+(d?d+"-":"")+"grid-line").add(E.gridGroup)),t&&(w=E.getPlotLinePath({value:r+o,lineWidth:t.strokeWidth()*w,force:"pass",old:S,acrossPanes:!1}))&&t[S||this.isNew?"attr":"animate"]({d:w,opacity:M})},v.prototype.renderMark=function(S,M,w){var E=this.axis,I=E.options,k=E.chart.renderer,r=this.type,d=E.tickSize(r?r+"Tick":"tick"),o=S.x;S=S.y;var h=C(I[r!=="minor"?"tickWidth":"minorTickWidth"],!r&&E.isXAxis?1:0);I=I[r!=="minor"?"tickColor":"minorTickColor"];var t=this.mark,p=!t;d&&(E.opposite&&(d[0]=-d[0]),t||(this.mark=t=k.path().addClass("highcharts-"+(r?r+"-":"")+"tick").add(E.axisGroup),E.chart.styledMode||t.attr({stroke:I,"stroke-width":h})),t[p?"attr":"animate"]({d:this.getMarkPath(o,S,d[0],t.strokeWidth()*w,E.horiz,k),opacity:M}))},v.prototype.renderLabel=function(S,M,w,E){var I=this.axis,k=I.horiz,r=I.options,d=this.label,o=r.labels,h=o.step;I=C(this.tickmarkOffset,I.tickmarkOffset);var t=S.x;S=S.y;var p=!0;d&&g(t)&&(d.xy=S=this.getLabelPosition(t,S,d,k,o,I,E,h),this.isFirst&&!this.isLast&&!r.showFirstLabel||this.isLast&&!this.isFirst&&!r.showLastLabel?p=!1:!k||o.step||o.rotation||M||w===0||this.handleOverflow(S),h&&E%h&&(p=!1),p&&g(S.y)?(S.opacity=w,d[this.isNewLabel?"attr":"animate"](S).show(!0),this.isNewLabel=!1):(d.hide(),this.isNewLabel=!0))},v.prototype.replaceMovedLabel=function(){var S=this.label,M=this.axis,w=M.reversed;if(S&&!this.isNew){var E=M.horiz?w?M.left:M.width+M.left:S.xy.x;w=M.horiz?S.xy.y:w?M.width+M.top:M.top,S.animate({x:E,y:w,opacity:0},void 0,S.destroy),delete this.label}M.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},v}(),N}),ht(_,"Core/Axis/Axis.js",[_["Core/Animation/AnimationUtilities.js"],_["Core/Axis/AxisDefaults.js"],_["Core/Color/Color.js"],_["Core/Defaults.js"],_["Core/Foundation.js"],_["Core/Globals.js"],_["Core/Axis/Tick.js"],_["Core/Utilities.js"]],function(D,N,F,J,q,tt,K,z){var j=D.animObject,A=J.defaultOptions,g=q.registerEventOptions,f=tt.deg2rad,y=z.arrayMax,C=z.arrayMin,v=z.clamp,S=z.correctFloat,M=z.defined,w=z.destroyObjectProperties,E=z.erase,I=z.error,k=z.extend,r=z.fireEvent,d=z.isArray,o=z.isNumber,h=z.isString,t=z.merge,p=z.normalizeTickInterval,i=z.objectEach,s=z.pick,c=z.relativeLength,a=z.removeEvent,m=z.splat,P=z.syncTimeout,Y=function(R,e){return p(e,void 0,void 0,s(R.options.allowDecimals,.5>e||R.tickAmount!==void 0),!!R.tickAmount)};return D=function(){function R(e,l){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.bottom=this.alternateBands=void 0,this.init(e,l)}return R.prototype.init=function(e,l){var T=l.isX;this.chart=e,this.horiz=e.inverted&&!this.isZAxis?!T:T,this.isXAxis=T,this.coll=this.coll||(T?"xAxis":"yAxis"),r(this,"init",{userOptions:l}),this.opposite=s(l.opposite,this.opposite),this.side=s(l.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(l);var b=this.options,O=b.labels,n=b.type;this.userOptions=l,this.minPixelPadding=0,this.reversed=s(b.reversed,this.reversed),this.visible=b.visible,this.zoomEnabled=b.zoomEnabled,this.hasNames=n==="category"||b.categories===!0,this.categories=b.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=M(b.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=b.minRange||b.maxZoom,this.range=b.range,this.offset=b.offset||0,this.min=this.max=null,l=s(b.crosshair,m(e.options.tooltip.crosshairs)[T?0:1]),this.crosshair=l===!0?{}:l,e.axes.indexOf(this)===-1&&(T?e.axes.splice(e.xAxis.length,0,this):e.axes.push(this),e[this.coll].push(this)),this.series=this.series||[],e.inverted&&!this.isZAxis&&T&&typeof this.reversed>"u"&&(this.reversed=!0),this.labelRotation=o(O.rotation)?O.rotation:void 0,g(this,b),r(this,"afterInit")},R.prototype.setOptions=function(e){this.options=t(N.defaultXAxisOptions,this.coll==="yAxis"&&N.defaultYAxisOptions,[N.defaultTopAxisOptions,N.defaultRightAxisOptions,N.defaultBottomAxisOptions,N.defaultLeftAxisOptions][this.side],t(A[this.coll],e)),r(this,"afterSetOptions",{userOptions:e})},R.prototype.defaultLabelFormatter=function(e){var l=this.axis;e=this.chart.numberFormatter;var T=o(this.value)?this.value:NaN,b=l.chart.time,O=this.dateTimeLabelFormat,n=A.lang,x=n.numericSymbols;n=n.numericSymbolMagnitude||1e3;var u=l.logarithmic?Math.abs(T):l.tickInterval,B=x&&x.length;if(l.categories)var L="".concat(this.value);else if(O)L=b.dateFormat(O,T);else if(B&&1e3<=u)for(;B--&&typeof L>"u";)l=Math.pow(n,B+1),u>=l&&10*T%l===0&&x[B]!==null&&T!==0&&(L=e(T/l,-1)+x[B]);return typeof L>"u"&&(L=1e4<=Math.abs(T)?e(T,-1):e(T,-1,void 0,"")),L},R.prototype.getSeriesExtremes=function(){var e=this,l=e.chart,T;r(this,"getSeriesExtremes",null,function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=null,e.softThreshold=!e.isXAxis,e.series.forEach(function(b){if(b.visible||!l.options.chart.ignoreHiddenSeries){var O=b.options,n=O.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=n&&(n=null),e.isXAxis){if(O=b.xData,O.length){O=e.logarithmic?O.filter(e.validatePositiveValue):O,T=b.getXExtremes(O);var x=T.min,u=T.max;o(x)||x instanceof Date||(O=O.filter(o),T=b.getXExtremes(O),x=T.min,u=T.max),O.length&&(e.dataMin=Math.min(s(e.dataMin,x),x),e.dataMax=Math.max(s(e.dataMax,u),u))}}else b=b.applyExtremes(),o(b.dataMin)&&(x=b.dataMin,e.dataMin=Math.min(s(e.dataMin,x),x)),o(b.dataMax)&&(u=b.dataMax,e.dataMax=Math.max(s(e.dataMax,u),u)),M(n)&&(e.threshold=n),(!O.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}})}),r(this,"afterGetSeriesExtremes")},R.prototype.translate=function(e,l,T,b,O,n){var x=this.linkedParent||this,u=b&&x.old?x.old.min:x.min;if(!o(u))return NaN;var B=x.minPixelPadding;O=(x.isOrdinal||x.brokenAxis&&x.brokenAxis.hasBreaks||x.logarithmic&&O)&&x.lin2val;var L=1,H=0;return b=b&&x.old?x.old.transA:x.transA,b||(b=x.transA),T&&(L*=-1,H=x.len),x.reversed&&(L*=-1,H-=L*(x.sector||x.len)),l?(n=(e*L+H-B)/b+u,O&&(n=x.lin2val(n))):(O&&(e=x.val2lin(e)),e=L*(e-u)*b,n=(x.isRadial?e:S(e))+H+L*B+(o(n)?b*n:0)),n},R.prototype.toPixels=function(e,l){return this.translate(e,!1,!this.horiz,void 0,!0)+(l?0:this.pos)},R.prototype.toValue=function(e,l){return this.translate(e-(l?0:this.pos),!0,!this.horiz,void 0,!0)},R.prototype.getPlotLinePath=function(e){function l($,W,X){return V!=="pass"&&($<W||$>X)&&(V?$=v($,W,X):at=!0),$}var T=this,b=T.chart,O=T.left,n=T.top,x=e.old,u=e.value,B=e.lineWidth,L=x&&b.oldChartHeight||b.chartHeight,H=x&&b.oldChartWidth||b.chartWidth,G=T.transB,U=e.translatedValue,V=e.force,rt,st,ot,et,at;return e={value:u,lineWidth:B,old:x,force:V,acrossPanes:e.acrossPanes,translatedValue:U},r(this,"getPlotLinePath",e,function($){U=s(U,T.translate(u,void 0,void 0,x)),U=v(U,-1e5,1e5),rt=ot=Math.round(U+G),st=et=Math.round(L-U-G),o(U)?T.horiz?(st=n,et=L-T.bottom,rt=ot=l(rt,O,O+T.width)):(rt=O,ot=H-T.right,st=et=l(st,n,n+T.height)):(at=!0,V=!1),$.path=at&&!V?null:b.renderer.crispLine([["M",rt,st],["L",ot,et]],B||1)}),e.path},R.prototype.getLinearTickPositions=function(e,l,T){var b=S(Math.floor(l/e)*e);T=S(Math.ceil(T/e)*e);var O=[],n;if(S(b+e)===b&&(n=20),this.single)return[l];for(l=b;l<=T&&(O.push(l),l=S(l+e,n),l!==x);)var x=l;return O},R.prototype.getMinorTickInterval=function(){var e=this.options;return e.minorTicks===!0?s(e.minorTickInterval,"auto"):e.minorTicks===!1?null:e.minorTickInterval},R.prototype.getMinorTickPositions=function(){var e=this.options,l=this.tickPositions,T=this.minorTickInterval,b=this.pointRangePadding||0,O=this.min-b;b=this.max+b;var n=b-O,x=[];if(n&&n/T<this.len/3){var u=this.logarithmic;if(u)this.paddedTicks.forEach(function(B,L,H){L&&x.push.apply(x,u.getLogTickPositions(T,H[L-1],H[L],!0))});else if(this.dateTime&&this.getMinorTickInterval()==="auto")x=x.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(T),O,b,e.startOfWeek));else for(e=O+(l[0]-O)%T;e<=b&&e!==x[0];e+=T)x.push(e)}return x.length!==0&&this.trimTicks(x),x},R.prototype.adjustForMinRange=function(){var e=this.options,l=this.logarithmic,T=this.min,b=this.max,O=0,n,x,u,B;if(this.isXAxis&&typeof this.minRange>"u"&&!l&&(M(e.min)||M(e.max)||M(e.floor)||M(e.ceiling)?this.minRange=null:(this.series.forEach(function(U){if(u=U.xData,B=U.xIncrement?1:u.length-1,1<u.length)for(n=B;0<n;n--)x=u[n]-u[n-1],(!O||x<O)&&(O=x)}),this.minRange=Math.min(5*O,this.dataMax-this.dataMin))),b-T<this.minRange){var L=this.dataMax-this.dataMin>=this.minRange,H=this.minRange,G=(H-b+T)/2;G=[T-G,s(e.min,T-G)],L&&(G[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),T=y(G),b=[T+H,s(e.max,T+H)],L&&(b[2]=l?l.log2lin(this.dataMax):this.dataMax),b=C(b),b-T<H&&(G[0]=b-H,G[1]=s(e.min,b-H),T=y(G))}this.min=T,this.max=b},R.prototype.getClosest=function(){var e;return this.categories?e=1:this.series.forEach(function(l){var T=l.closestPointRange,b=l.visible||!l.chart.options.chart.ignoreHiddenSeries;!l.noSharedTooltip&&M(T)&&b&&(e=M(e)?Math.min(e,T):T)}),e},R.prototype.nameToX=function(e){var l=d(this.options.categories),T=l?this.categories:this.names,b=e.options.x;if(e.series.requireSorting=!1,M(b)||(b=this.options.uniqueNames&&T?l?T.indexOf(e.name):s(T.keys[e.name],-1):e.series.autoIncrement()),b===-1){if(!l&&T)var O=T.length}else O=b;return typeof O<"u"?(this.names[O]=e.name,this.names.keys[e.name]=O):e.x&&(O=e.x),O},R.prototype.updateNames=function(){var e=this,l=this.names;0<l.length&&(Object.keys(l.keys).forEach(function(T){delete l.keys[T]}),l.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(function(T){T.xIncrement=null,(!T.points||T.isDirtyData)&&(e.max=Math.max(e.max,T.xData.length-1),T.processData(),T.generatePoints()),T.data.forEach(function(b,O){if(b&&b.options&&typeof b.name<"u"){var n=e.nameToX(b);typeof n<"u"&&n!==b.x&&(b.x=n,T.xData[O]=n)}})}))},R.prototype.setAxisTranslation=function(){var e=this,l=e.max-e.min,T=e.linkedParent,b=!!e.categories,O=e.isXAxis,n=e.axisPointRange||0,x=0,u=0,B=e.transA;if(O||b||n){var L=e.getClosest();T?(x=T.minPointOffset,u=T.pointRangePadding):e.series.forEach(function(H){var G=b?1:O?s(H.options.pointRange,L,0):e.axisPointRange||0,U=H.options.pointPlacement;n=Math.max(n,G),(!e.single||b)&&(H=H.is("xrange")?!O:O,x=Math.max(x,H&&h(U)?0:G/2),u=Math.max(u,H&&U==="on"?0:G))}),T=e.ordinal&&e.ordinal.slope&&L?e.ordinal.slope/L:1,e.minPointOffset=x*=T,e.pointRangePadding=u*=T,e.pointRange=Math.min(n,e.single&&b?1:l),O&&(e.closestPointRange=L)}e.translationSlope=e.transA=B=e.staticScale||e.len/(l+u||1),e.transB=e.horiz?e.left:e.bottom,e.minPixelPadding=B*x,r(this,"afterSetAxisTranslation")},R.prototype.minFromRange=function(){return this.max-this.range},R.prototype.setTickInterval=function(e){var l=this.chart,T=this.logarithmic,b=this.options,O=this.isXAxis,n=this.isLinked,x=b.tickPixelInterval,u=this.categories,B=this.softThreshold,L=b.maxPadding,H=b.minPadding,G=o(b.tickInterval)&&0<=b.tickInterval?b.tickInterval:void 0,U=o(this.threshold)?this.threshold:null;this.dateTime||u||n||this.getTickAmount();var V=s(this.userMin,b.min),rt=s(this.userMax,b.max);if(n){this.linkedParent=l[this.coll][b.linkedTo];var st=this.linkedParent.getExtremes();this.min=s(st.min,st.dataMin),this.max=s(st.max,st.dataMax),b.type!==this.linkedParent.options.type&&I(11,1,l)}else{if(B&&M(U)){if(this.dataMin>=U)st=U,H=0;else if(this.dataMax<=U){var ot=U;L=0}}this.min=s(V,st,this.dataMin),this.max=s(rt,ot,this.dataMax)}if(T&&(this.positiveValuesOnly&&!e&&0>=Math.min(this.min,s(this.dataMin,this.min))&&I(10,1,l),this.min=S(T.log2lin(this.min),16),this.max=S(T.log2lin(this.max),16)),this.range&&M(this.max)&&(this.userMin=this.min=V=Math.max(this.dataMin,this.minFromRange()),this.userMax=rt=this.max,this.range=null),r(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(u||this.axisPointRange||this.stacking&&this.stacking.usePercentage||n)&&M(this.min)&&M(this.max)&&(l=this.max-this.min)&&(!M(V)&&H&&(this.min-=l*H),!M(rt)&&L&&(this.max+=l*L)),o(this.userMin)||(o(b.softMin)&&b.softMin<this.min&&(this.min=V=b.softMin),o(b.floor)&&(this.min=Math.max(this.min,b.floor))),o(this.userMax)||(o(b.softMax)&&b.softMax>this.max&&(this.max=rt=b.softMax),o(b.ceiling)&&(this.max=Math.min(this.max,b.ceiling))),B&&M(this.dataMin)&&(U=U||0,!M(V)&&this.min<U&&this.dataMin>=U?this.min=this.options.minRange?Math.min(U,this.max-this.minRange):U:!M(rt)&&this.max>U&&this.dataMax<=U&&(this.max=this.options.minRange?Math.max(U,this.min+this.minRange):U)),o(this.min)&&o(this.max)&&!this.chart.polar&&this.min>this.max&&(M(this.options.min)?this.max=this.min:M(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||typeof this.min>"u"||typeof this.max>"u"?1:n&&this.linkedParent&&!G&&x===this.linkedParent.options.tickPixelInterval?G=this.linkedParent.tickInterval:s(G,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,u?1:(this.max-this.min)*x/Math.max(this.len,x)),O&&!e){var et=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);this.series.forEach(function(at){at.forceCrop=at.forceCropping&&at.forceCropping(),at.processData(et)}),r(this,"postProcessData",{hasExtremesChanged:et})}this.setAxisTranslation(),r(this,"initialAxisTranslation"),this.pointRange&&!G&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),e=s(b.minTickInterval,this.dateTime&&!this.series.some(function(at){return at.noSharedTooltip})?this.closestPointRange:0),!G&&this.tickInterval<e&&(this.tickInterval=e),this.dateTime||this.logarithmic||G||(this.tickInterval=Y(this,this.tickInterval)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()},R.prototype.setTickPositions=function(){var e=this.options,l=e.tickPositions,T=e.tickPositioner,b=this.getMinorTickInterval(),O=this.hasVerticalPanning(),n=this.coll==="colorAxis",x=(n||!O)&&e.startOnTick;O=(n||!O)&&e.endOnTick,n=[];var u;if(this.tickmarkOffset=this.categories&&e.tickmarkPlacement==="between"&&this.tickInterval===1?.5:0,this.minorTickInterval=b==="auto"&&this.tickInterval?this.tickInterval/5:b,this.single=this.min===this.max&&M(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||e.allowDecimals!==!1),l)n=l.slice();else if(o(this.min)&&o(this.max)){if(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200)))if(this.dateTime)n=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,e.units),this.min,this.max,e.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0);else if(this.logarithmic)n=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else for(b=e=this.tickInterval;b<=2*e&&(n=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&n.length>this.tickAmount);)this.tickInterval=Y(this,b*=1.1);else n=[this.min,this.max],I(19,!1,this.chart);n.length>this.len&&(n=[n[0],n[n.length-1]],n[0]===n[1]&&(n.length=1)),T&&(this.tickPositions=n,(u=T.apply(this,[this.min,this.max]))&&(n=u))}this.tickPositions=n,this.paddedTicks=n.slice(0),this.trimTicks(n,x,O),!this.isLinked&&o(this.min)&&o(this.max)&&(this.single&&2>n.length&&!this.categories&&!this.series.some(function(B){return B.is("heatmap")&&B.options.pointPlacement==="between"})&&(this.min-=.5,this.max+=.5),l||u||this.adjustTickAmount()),r(this,"afterSetTickPositions")},R.prototype.trimTicks=function(e,l,T){var b=e[0],O=e[e.length-1],n=!this.isOrdinal&&this.minPointOffset||0;if(r(this,"trimTicks"),!this.isLinked){if(l&&b!==-1/0)this.min=b;else for(;this.min-n>e[0];)e.shift();if(T)this.max=O;else for(;this.max+n<e[e.length-1];)e.pop();e.length===0&&M(b)&&!this.options.tickPositions&&e.push((O+b)/2)}},R.prototype.alignToOthers=function(){var e=this,l=[this],T=e.options,b=this.coll==="yAxis"&&this.chart.options.chart.alignThresholds,O=[],n;if(e.thresholdAlignment=void 0,(this.chart.options.chart.alignTicks!==!1&&T.alignTicks||b)&&T.startOnTick!==!1&&T.endOnTick!==!1&&!e.logarithmic){var x=function(L){var H=L.options;return[L.horiz?H.left:H.top,H.width,H.height,H.pane].join()},u=x(this);this.chart[this.coll].forEach(function(L){var H=L.series;H.length&&H.some(function(G){return G.visible})&&L!==e&&x(L)===u&&(n=!0,l.push(L))})}if(n&&b){l.forEach(function(L){L=L.getThresholdAlignment(e),o(L)&&O.push(L)});var B=1<O.length?O.reduce(function(L,H){return L+H},0)/O.length:void 0;l.forEach(function(L){L.thresholdAlignment=B})}return n},R.prototype.getThresholdAlignment=function(e){if((!o(this.dataMin)||this!==e&&this.series.some(function(l){return l.isDirty||l.isDirtyData}))&&this.getSeriesExtremes(),o(this.threshold))return e=v((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1),this.options.reversed&&(e=1-e),e},R.prototype.getTickAmount=function(){var e=this.options,l=e.tickPixelInterval,T=e.tickAmount;!M(e.tickInterval)&&!T&&this.len<l&&!this.isRadial&&!this.logarithmic&&e.startOnTick&&e.endOnTick&&(T=2),!T&&this.alignToOthers()&&(T=Math.ceil(this.len/l)+1),4>T&&(this.finalTickAmt=T,T=5),this.tickAmount=T},R.prototype.adjustTickAmount=function(){var e=this,l=e.finalTickAmt,T=e.max,b=e.min,O=e.options,n=e.tickPositions,x=e.tickAmount,u=e.thresholdAlignment,B=n&&n.length,L=s(e.threshold,e.softThreshold?0:null),H=e.tickInterval;if(o(u)){var G=.5>u?Math.ceil(u*(x-1)):Math.floor(u*(x-1));O.reversed&&(G=x-1-G)}if(e.hasData()&&o(b)&&o(T)){if(u=function(){e.transA*=(B-1)/(x-1),e.min=O.startOnTick?n[0]:Math.min(b,n[0]),e.max=O.endOnTick?n[n.length-1]:Math.max(T,n[n.length-1])},o(G)&&o(e.threshold)){for(;n[G]!==L||n.length!==x||n[0]>b||n[n.length-1]<T;){for(n.length=0,n.push(e.threshold);n.length<x;)n[G]===void 0||n[G]>e.threshold?n.unshift(S(n[0]-H)):n.push(S(n[n.length-1]+H));if(H>8*e.tickInterval)break;H*=2}u()}else if(B<x){for(;n.length<x;)n.length%2||b===L?n.push(S(n[n.length-1]+H)):n.unshift(S(n[0]-H));u()}if(M(l)){for(H=L=n.length;H--;)(l===3&&H%2===1||2>=l&&0<H&&H<L-1)&&n.splice(H,1);e.finalTickAmt=void 0}}},R.prototype.setScale=function(){var e=!1,l=!1;this.series.forEach(function(b){e=e||b.isDirtyData||b.isDirty,l=l||b.xAxis&&b.xAxis.isDirty||!1}),this.setAxisSize();var T=this.len!==(this.old&&this.old.len);T||e||l||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(this.stacking&&(this.stacking.resetStacks(),this.stacking.buildStacks()),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=T||this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max))):this.stacking&&this.stacking.cleanStacks(),e&&this.panningState&&(this.panningState.isDirty=!0),r(this,"afterSetScale")},R.prototype.setExtremes=function(e,l,T,b,O){var n=this,x=n.chart;T=s(T,!0),n.series.forEach(function(u){delete u.kdTree}),O=k(O,{min:e,max:l}),r(n,"setExtremes",O,function(){n.userMin=e,n.userMax=l,n.eventArgs=O,T&&x.redraw(b)})},R.prototype.zoom=function(e,l){var T=this,b=this.dataMin,O=this.dataMax,n=this.options,x=Math.min(b,s(n.min,b)),u=Math.max(O,s(n.max,O));return e={newMin:e,newMax:l},r(this,"zoom",e,function(B){var L=B.newMin,H=B.newMax;(L!==T.min||H!==T.max)&&(T.allowZoomOutside||(M(b)&&(L<x&&(L=x),L>u&&(L=u)),M(O)&&(H<x&&(H=x),H>u&&(H=u))),T.displayBtn=typeof L<"u"||typeof H<"u",T.setExtremes(L,H,!1,void 0,{trigger:"zoom"})),B.zoomed=!0}),e.zoomed},R.prototype.setAxisSize=function(){var e=this.chart,l=this.options,T=l.offsets||[0,0,0,0],b=this.horiz,O=this.width=Math.round(c(s(l.width,e.plotWidth-T[3]+T[1]),e.plotWidth)),n=this.height=Math.round(c(s(l.height,e.plotHeight-T[0]+T[2]),e.plotHeight)),x=this.top=Math.round(c(s(l.top,e.plotTop+T[0]),e.plotHeight,e.plotTop));l=this.left=Math.round(c(s(l.left,e.plotLeft+T[3]),e.plotWidth,e.plotLeft)),this.bottom=e.chartHeight-n-x,this.right=e.chartWidth-O-l,this.len=Math.max(b?O:n,0),this.pos=b?l:x},R.prototype.getExtremes=function(){var e=this.logarithmic;return{min:e?S(e.lin2log(this.min)):this.min,max:e?S(e.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},R.prototype.getThreshold=function(e){var l=this.logarithmic,T=l?l.lin2log(this.min):this.min;return l=l?l.lin2log(this.max):this.max,e===null||e===-1/0?e=T:e===1/0?e=l:T>e?e=T:l<e&&(e=l),this.translate(e,0,1,0,1)},R.prototype.autoLabelAlign=function(e){var l=(s(e,0)-90*this.side+720)%360;return e={align:"center"},r(this,"autoLabelAlign",e,function(T){15<l&&165>l?T.align="right":195<l&&345>l&&(T.align="left")}),e.align},R.prototype.tickSize=function(e){var l=this.options,T=s(l[e==="tick"?"tickWidth":"minorTickWidth"],e==="tick"&&this.isXAxis&&!this.categories?1:0),b=l[e==="tick"?"tickLength":"minorTickLength"];if(T&&b){l[e+"Position"]==="inside"&&(b=-b);var O=[b,T]}return e={tickSize:O},r(this,"afterTickSize",e),e.tickSize},R.prototype.labelMetrics=function(){var e=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[e]&&this.ticks[e].label)},R.prototype.unsquish=function(){var e=this.options.labels,l=this.horiz,T=this.tickInterval,b=this.len/(((this.categories?1:0)+this.max-this.min)/T),O=e.rotation,n=this.labelMetrics(),x=Math.max(this.max-this.min,0),u=function(ot){var et=ot/(b||1);return et=1<et?Math.ceil(et):1,et*T>x&&ot!==1/0&&b!==1/0&&x&&(et=Math.ceil(x/T)),S(et*T)},B=T,L=Number.MAX_VALUE;if(l){if(!e.staggerLines)if(o(O))var H=[O];else b<e.autoRotationLimit&&(H=e.autoRotation);if(H)for(var G=l=void 0,U=0,V=H;U<V.length;U++){var rt=V[U];if((rt===O||rt&&-90<=rt&&90>=rt)&&(l=u(Math.abs(n.h/Math.sin(f*rt))),G=l+Math.abs(rt/360),G<L)){L=G;var st=rt;B=l}}}else B=u(n.h);return this.autoRotation=H,this.labelRotation=s(st,o(O)?O:0),e.step?T:B},R.prototype.getSlotWidth=function(e){var l=this.chart,T=this.horiz,b=this.options.labels,O=Math.max(this.tickPositions.length-(this.categories?0:1),1),n=l.margin[3];if(e&&o(e.slotWidth))return e.slotWidth;if(T&&2>b.step)return b.rotation?0:(this.staggerLines||1)*this.len/O;if(!T){if(e=b.style.width,e!==void 0)return parseInt(String(e),10);if(n)return n-l.spacing[3]}return .33*l.chartWidth},R.prototype.renderUnsquish=function(){var e=this.chart,l=e.renderer,T=this.tickPositions,b=this.ticks,O=this.options.labels,n=O.style,x=this.horiz,u=this.getSlotWidth(),B=Math.max(1,Math.round(u-2*O.padding)),L={},H=this.labelMetrics(),G=n.textOverflow,U=0;if(h(O.rotation)||(L.rotation=O.rotation||0),T.forEach(function(ot){ot=b[ot],ot.movedLabel&&ot.replaceMovedLabel(),ot&&ot.label&&ot.label.textPxLength>U&&(U=ot.label.textPxLength)}),this.maxLabelLength=U,this.autoRotation)U>B&&U>H.h?L.rotation=this.labelRotation:this.labelRotation=0;else if(u){var V=B;if(!G){var rt="clip";for(B=T.length;!x&&B--;){var st=T[B];(st=b[st].label)&&(st.styles&&st.styles.textOverflow==="ellipsis"?st.css({textOverflow:"clip"}):st.textPxLength>u&&st.css({width:u+"px"}),st.getBBox().height>this.len/T.length-(H.h-H.f)&&(st.specificTextOverflow="ellipsis"))}}}L.rotation&&(V=U>.5*e.chartHeight?.33*e.chartHeight:U,G||(rt="ellipsis")),(this.labelAlign=O.align||this.autoLabelAlign(this.labelRotation))&&(L.align=this.labelAlign),T.forEach(function(ot){var et=(ot=b[ot])&&ot.label,at=n.width,$={};et&&(et.attr(L),ot.shortenLabel?ot.shortenLabel():V&&!at&&n.whiteSpace!=="nowrap"&&(V<et.textPxLength||et.element.tagName==="SPAN")?($.width=V+"px",G||($.textOverflow=et.specificTextOverflow||rt),et.css($)):et.styles&&et.styles.width&&!$.width&&!at&&et.css({width:null}),delete et.specificTextOverflow,ot.rotation=L.rotation)},this),this.tickRotCorr=l.rotCorr(H.b,this.labelRotation||0,this.side!==0)},R.prototype.hasData=function(){return this.series.some(function(e){return e.hasData()})||this.options.showEmpty&&M(this.min)&&M(this.max)},R.prototype.addTitle=function(e){var l=this.chart.renderer,T=this.horiz,b=this.opposite,O=this.options.title,n=this.chart.styledMode,x;this.axisTitle||((x=O.textAlign)||(x=(T?{low:"left",middle:"center",high:"right"}:{low:b?"right":"left",middle:"center",high:b?"left":"right"})[O.align]),this.axisTitle=l.text(O.text||"",0,0,O.useHTML).attr({zIndex:7,rotation:O.rotation,align:x}).addClass("highcharts-axis-title"),n||this.axisTitle.css(t(O.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),n||O.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[e?"show":"hide"](e)},R.prototype.generateTick=function(e){var l=this.ticks;l[e]?l[e].addLabel():l[e]=new K(this,e)},R.prototype.getOffset=function(){var e=this,l=this,T=l.chart,b=l.horiz,O=l.options,n=l.side,x=l.ticks,u=l.tickPositions,B=l.coll,L=l.axisParent,H=T.renderer,G=T.inverted&&!l.isZAxis?[1,0,3,2][n]:n,U=l.hasData(),V=O.title,rt=O.labels,st=T.axisOffset;T=T.clipOffset;var ot=[-1,1,1,-1][n],et=O.className,at,$=0,W=0,X=0;if(l.showAxis=at=U||O.showEmpty,l.staggerLines=l.horiz&&rt.staggerLines||void 0,!l.axisGroup){var Z=function(it,nt,lt){return H.g(it).attr({zIndex:lt}).addClass("highcharts-".concat(B.toLowerCase()).concat(nt," ")+(e.isRadial?"highcharts-radial-axis".concat(nt," "):"")+(et||"")).add(L)};l.gridGroup=Z("grid","-grid",O.gridZIndex),l.axisGroup=Z("axis","",O.zIndex),l.labelGroup=Z("axis-labels","-labels",rt.zIndex)}if(U||l.isLinked?(u.forEach(function(it){l.generateTick(it)}),l.renderUnsquish(),l.reserveSpaceDefault=n===0||n===2||{1:"left",3:"right"}[n]===l.labelAlign,s(rt.reserveSpace,l.labelAlign==="center"?!0:null,l.reserveSpaceDefault)&&u.forEach(function(it){X=Math.max(x[it].getLabelSize(),X)}),l.staggerLines&&(X*=l.staggerLines),l.labelOffset=X*(l.opposite?-1:1)):i(x,function(it,nt){it.destroy(),delete x[nt]}),V&&V.text&&V.enabled!==!1&&(l.addTitle(at),at&&V.reserveSpace!==!1)){l.titleOffset=$=l.axisTitle.getBBox()[b?"height":"width"];var Q=V.offset;W=M(Q)?0:s(V.margin,b?5:10)}l.renderLine(),l.offset=ot*s(O.offset,st[n]?st[n]+(O.margin||0):0),l.tickRotCorr=l.tickRotCorr||{x:0,y:0},V=n===0?-l.labelMetrics().h:n===2?l.tickRotCorr.y:0,U=Math.abs(X)+W,X&&(U=U-V+ot*(b?s(rt.y,l.tickRotCorr.y+8*ot):rt.x)),l.axisTitleMargin=s(Q,U),l.getMaxLabelDimensions&&(l.maxLabelDimensions=l.getMaxLabelDimensions(x,u)),B!=="colorAxis"&&(b=this.tickSize("tick"),st[n]=Math.max(st[n],(l.axisTitleMargin||0)+$+ot*l.offset,U,u&&u.length&&b?b[0]+ot*l.offset:0),O=!l.axisLine||O.offset?0:2*Math.floor(l.axisLine.strokeWidth()/2),T[G]=Math.max(T[G],O)),r(this,"afterGetOffset")},R.prototype.getLinePath=function(e){var l=this.chart,T=this.opposite,b=this.offset,O=this.horiz,n=this.left+(T?this.width:0)+b;return b=l.chartHeight-this.bottom-(T?this.height:0)+b,T&&(e*=-1),l.renderer.crispLine([["M",O?this.left:n,O?b:this.top],["L",O?l.chartWidth-this.right:n,O?b:l.chartHeight-this.bottom]],e)},R.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}))},R.prototype.getTitlePosition=function(){var e=this.horiz,l=this.left,T=this.top,b=this.len,O=this.options.title,n=e?l:T,x=this.opposite,u=this.offset,B=O.x,L=O.y,H=this.axisTitle,G=this.chart.renderer.fontMetrics(O.style.fontSize,H);return H=H?Math.max(H.getBBox(!1,0).height-G.h-1,0):0,b={low:n+(e?0:b),middle:n+b/2,high:n+(e?b:0)}[O.align],l=(e?T+this.height:l)+(e?1:-1)*(x?-1:1)*(this.axisTitleMargin||0)+[-H,H,G.f,-H][this.side],e={x:e?b+B:l+(x?this.width:0)+u+B,y:e?l+L-(x?this.height:0)+u:b+L},r(this,"afterGetTitlePosition",{titlePosition:e}),e},R.prototype.renderMinorTick=function(e,l){var T=this.minorTicks;T[e]||(T[e]=new K(this,e,"minor")),l&&T[e].isNew&&T[e].render(null,!0),T[e].render(null,!1,1)},R.prototype.renderTick=function(e,l,T){var b=this.ticks;(!this.isLinked||e>=this.min&&e<=this.max||this.grid&&this.grid.isColumn)&&(b[e]||(b[e]=new K(this,e)),T&&b[e].isNew&&b[e].render(l,!0,-1),b[e].render(l))},R.prototype.render=function(){var e=this,l=e.chart,T=e.logarithmic,b=e.options,O=e.isLinked,n=e.tickPositions,x=e.axisTitle,u=e.ticks,B=e.minorTicks,L=e.alternateBands,H=b.stackLabels,G=b.alternateGridColor,U=e.tickmarkOffset,V=e.axisLine,rt=e.showAxis,st=j(l.renderer.globalAnimation),ot,et;if(e.labelEdge.length=0,e.overlap=!1,[u,B,L].forEach(function($){i($,function(W){W.isActive=!1})}),e.hasData()||O){var at=e.chart.hasRendered&&e.old&&o(e.old.min);e.minorTickInterval&&!e.categories&&e.getMinorTickPositions().forEach(function($){e.renderMinorTick($,at)}),n.length&&(n.forEach(function($,W){e.renderTick($,W,at)}),U&&(e.min===0||e.single)&&(u[-1]||(u[-1]=new K(e,-1,null,!0)),u[-1].render(-1))),G&&n.forEach(function($,W){et=typeof n[W+1]<"u"?n[W+1]+U:e.max-U,W%2===0&&$<e.max&&et<=e.max+(l.polar?-U:U)&&(L[$]||(L[$]=new tt.PlotLineOrBand(e)),ot=$+U,L[$].options={from:T?T.lin2log(ot):ot,to:T?T.lin2log(et):et,color:G,className:"highcharts-alternate-grid"},L[$].render(),L[$].isActive=!0)}),e._addedPlotLB||(e._addedPlotLB=!0,(b.plotLines||[]).concat(b.plotBands||[]).forEach(function($){e.addPlotBandOrLine($)}))}[u,B,L].forEach(function($){var W=[],X=st.duration;i($,function(Z,Q){Z.isActive||(Z.render(Q,!1,0),Z.isActive=!1,W.push(Q))}),P(function(){for(var Z=W.length;Z--;)$[W[Z]]&&!$[W[Z]].isActive&&($[W[Z]].destroy(),delete $[W[Z]])},$!==L&&l.hasRendered&&X?X:0)}),V&&(V[V.isPlaced?"animate":"attr"]({d:this.getLinePath(V.strokeWidth())}),V.isPlaced=!0,V[rt?"show":"hide"](rt)),x&&rt&&(b=e.getTitlePosition(),x[x.isNew?"attr":"animate"](b),x.isNew=!1),H&&H.enabled&&e.stacking&&e.stacking.renderStackTotals(),e.old={len:e.len,max:e.max,min:e.min,transA:e.transA,userMax:e.userMax,userMin:e.userMin},e.isDirty=!1,r(this,"afterRender")},R.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(e){e.render()})),this.series.forEach(function(e){e.isDirty=!0})},R.prototype.getKeepProps=function(){return this.keepProps||R.keepProps},R.prototype.destroy=function(e){var l=this,T=l.plotLinesAndBands,b=this.eventOptions;if(r(this,"destroy",{keepEvents:e}),e||a(l),[l.ticks,l.minorTicks,l.alternateBands].forEach(function(n){w(n)}),T)for(e=T.length;e--;)T[e].destroy();"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach(function(n){l[n]&&(l[n]=l[n].destroy())});for(var O in l.plotLinesAndBandsGroups)l.plotLinesAndBandsGroups[O]=l.plotLinesAndBandsGroups[O].destroy();i(l,function(n,x){l.getKeepProps().indexOf(x)===-1&&delete l[x]}),this.eventOptions=b},R.prototype.drawCrosshair=function(e,l){var T=this.crosshair,b=s(T&&T.snap,!0),O=this.chart,n,x=this.cross;if(r(this,"drawCrosshair",{e,point:l}),e||(e=this.cross&&this.cross.e),T&&(M(l)||!b)!==!1){if(b?M(l)&&(n=s(this.coll!=="colorAxis"?l.crosshairPos:null,this.isXAxis?l.plotX:this.len-l.plotY)):n=e&&(this.horiz?e.chartX-this.pos:this.len-e.chartY+this.pos),M(n)){var u={value:l&&(this.isXAxis?l.x:s(l.stackY,l.y)),translatedValue:n};O.polar&&k(u,{isCrosshair:!0,chartX:e&&e.chartX,chartY:e&&e.chartY,point:l}),u=this.getPlotLinePath(u)||null}if(!M(u)){this.hideCrosshair();return}b=this.categories&&!this.isRadial,x||(this.cross=x=O.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(b?"category ":"thin ")+(T.className||"")).attr({zIndex:s(T.zIndex,2)}).add(),O.styledMode||(x.attr({stroke:T.color||(b?F.parse("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":s(T.width,1)}).css({"pointer-events":"none"}),T.dashStyle&&x.attr({dashstyle:T.dashStyle}))),x.show().attr({d:u}),b&&!T.width&&x.attr({"stroke-width":this.transA}),this.cross.e=e}else this.hideCrosshair();r(this,"afterDrawCrosshair",{e,point:l})},R.prototype.hideCrosshair=function(){this.cross&&this.cross.hide(),r(this,"afterHideCrosshair")},R.prototype.hasVerticalPanning=function(){var e=this.chart.options.chart.panning;return!!(e&&e.enabled&&/y/.test(e.type))},R.prototype.validatePositiveValue=function(e){return o(e)&&0<e},R.prototype.update=function(e,l){var T=this.chart;e=t(this.userOptions,e),this.destroy(!0),this.init(T,e),T.isDirtyBox=!0,s(l,!0)&&T.redraw()},R.prototype.remove=function(e){for(var l=this.chart,T=this.coll,b=this.series,O=b.length;O--;)b[O]&&b[O].remove(!1);E(l.axes,this),E(l[T],this),l[T].forEach(function(n,x){n.options.index=n.userOptions.index=x}),this.destroy(),l.isDirtyBox=!0,s(e,!0)&&l.redraw()},R.prototype.setTitle=function(e,l){this.update({title:e},l)},R.prototype.setCategories=function(e,l){this.update({categories:e},l)},R.defaultOptions=N.defaultXAxisOptions,R.keepProps="extKey hcEvents names series userMax userMin".split(" "),R}(),D}),ht(_,"Core/Axis/DateTimeAxis.js",[_["Core/Utilities.js"]],function(D){var N=D.addEvent,F=D.getMagnitude,J=D.normalizeTickInterval,q=D.timeUnits,tt;return function(K){function z(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function j(f){f.userOptions.type!=="datetime"?this.dateTime=void 0:this.dateTime||(this.dateTime=new g(this))}var A=[];K.compose=function(f){return A.indexOf(f)===-1&&(A.push(f),f.keepProps.push("dateTime"),f.prototype.getTimeTicks=z,N(f,"init",j)),f};var g=function(){function f(y){this.axis=y}return f.prototype.normalizeTimeTickInterval=function(y,C){var v=C||[["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]];C=v[v.length-1];var S=q[C[0]],M=C[1],w;for(w=0;w<v.length&&(C=v[w],S=q[C[0]],M=C[1],!(v[w+1]&&y<=(S*M[M.length-1]+q[v[w+1][0]])/2));w++);return S===q.year&&y<5*S&&(M=[1,2,5]),y=J(y/S,M,C[0]==="year"?Math.max(F(y/S),1):1),{unitRange:S,count:y,unitName:C[0]}},f.prototype.getXDateFormat=function(y,C){var v=this.axis,S=v.chart.time;return v.closestPointRange?S.getDateFormat(v.closestPointRange,y,v.options.startOfWeek,C)||S.resolveDTLFormat(C.year).main:S.resolveDTLFormat(C.day).main},f}();K.Additions=g}(tt||(tt={})),tt}),ht(_,"Core/Axis/LogarithmicAxis.js",[_["Core/Utilities.js"]],function(D){var N=D.addEvent,F=D.normalizeTickInterval,J=D.pick,q;return function(tt){function K(g){var f=this.logarithmic;g.userOptions.type!=="logarithmic"?this.logarithmic=void 0:f||(this.logarithmic=new A(this))}function z(){var g=this.logarithmic;g&&(this.lin2val=function(f){return g.lin2log(f)},this.val2lin=function(f){return g.log2lin(f)})}var j=[];tt.compose=function(g){return j.indexOf(g)===-1&&(j.push(g),g.keepProps.push("logarithmic"),N(g,"init",K),N(g,"afterInit",z)),g};var A=function(){function g(f){this.axis=f}return g.prototype.getLogTickPositions=function(f,y,C,v){var S=this.axis,M=S.len,w=S.options,E=[];if(v||(this.minorAutoInterval=void 0),.5<=f)f=Math.round(f),E=S.getLinearTickPositions(f,y,C);else if(.08<=f){var I=Math.floor(y),k,r=w=void 0;for(M=.3<f?[1,2,4]:.15<f?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];I<C+1&&!r;I++){var d=M.length;for(k=0;k<d&&!r;k++){var o=this.log2lin(this.lin2log(I)*M[k]);o>y&&(!v||w<=C)&&typeof w<"u"&&E.push(w),w>C&&(r=!0),w=o}}}else y=this.lin2log(y),C=this.lin2log(C),f=v?S.getMinorTickInterval():w.tickInterval,f=J(f==="auto"?null:f,this.minorAutoInterval,w.tickPixelInterval/(v?5:1)*(C-y)/((v?M/S.tickPositions.length:M)||1)),f=F(f),E=S.getLinearTickPositions(f,y,C).map(this.log2lin),v||(this.minorAutoInterval=f/5);return v||(S.tickInterval=f),E},g.prototype.lin2log=function(f){return Math.pow(10,f)},g.prototype.log2lin=function(f){return Math.log(f)/Math.LN10},g}();tt.Additions=A}(q||(q={})),q}),ht(_,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[_["Core/Utilities.js"]],function(D){var N=D.erase,F=D.extend,J=D.isNumber,q;return function(tt){var K=[],z;tt.compose=function(A,g){return z||(z=A),K.indexOf(g)===-1&&(K.push(g),F(g.prototype,j.prototype)),g};var j=function(){function A(){}return A.prototype.getPlotBandPath=function(g,f,y){y===void 0&&(y=this.options);var C=this.getPlotLinePath({value:f,force:!0,acrossPanes:y.acrossPanes}),v=[],S=this.horiz;if(f=!J(this.min)||!J(this.max)||g<this.min&&f<this.min||g>this.max&&f>this.max,g=this.getPlotLinePath({value:g,force:!0,acrossPanes:y.acrossPanes}),y=1,g&&C){if(f){var M=g.toString()===C.toString();y=0}for(f=0;f<g.length;f+=2){var w=g[f],E=g[f+1],I=C[f],k=C[f+1];w[0]!=="M"&&w[0]!=="L"||E[0]!=="M"&&E[0]!=="L"||I[0]!=="M"&&I[0]!=="L"||k[0]!=="M"&&k[0]!=="L"||(S&&I[1]===w[1]?(I[1]+=y,k[1]+=y):S||I[2]!==w[2]||(I[2]+=y,k[2]+=y),v.push(["M",w[1],w[2]],["L",E[1],E[2]],["L",k[1],k[2]],["L",I[1],I[2]],["Z"])),v.isFlat=M}}return v},A.prototype.addPlotBand=function(g){return this.addPlotBandOrLine(g,"plotBands")},A.prototype.addPlotLine=function(g){return this.addPlotBandOrLine(g,"plotLines")},A.prototype.addPlotBandOrLine=function(g,f){var y=this,C=this.userOptions,v=new z(this,g);if(this.visible&&(v=v.render()),v){if(this._addedPlotLB||(this._addedPlotLB=!0,(C.plotLines||[]).concat(C.plotBands||[]).forEach(function(M){y.addPlotBandOrLine(M)})),f){var S=C[f]||[];S.push(g),C[f]=S}this.plotLinesAndBands.push(v)}return v},A.prototype.removePlotBandOrLine=function(g){var f=this.plotLinesAndBands,y=this.options,C=this.userOptions;if(f){for(var v=f.length;v--;)f[v].id===g&&f[v].destroy();[y.plotLines||[],C.plotLines||[],y.plotBands||[],C.plotBands||[]].forEach(function(S){for(v=S.length;v--;)(S[v]||{}).id===g&&N(S,S[v])})}},A.prototype.removePlotBand=function(g){this.removePlotBandOrLine(g)},A.prototype.removePlotLine=function(g){this.removePlotBandOrLine(g)},A}()}(q||(q={})),q}),ht(_,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[_["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],_["Core/Utilities.js"]],function(D,N){var F=N.arrayMax,J=N.arrayMin,q=N.defined,tt=N.destroyObjectProperties,K=N.erase,z=N.fireEvent,j=N.merge,A=N.objectEach,g=N.pick;return N=function(){function f(y,C){this.axis=y,C&&(this.options=C,this.id=C.id)}return f.compose=function(y){return D.compose(f,y)},f.prototype.render=function(){z(this,"render");var y=this,C=y.axis,v=C.horiz,S=C.logarithmic,M=y.options,w=M.color,E=g(M.zIndex,0),I=M.events,k={},r=C.chart.renderer,d=M.label,o=y.label,h=M.to,t=M.from,p=M.value,i=y.svgElem,s=[],c=q(t)&&q(h);s=q(p);var a=!i,m={class:"highcharts-plot-"+(c?"band ":"line ")+(M.className||"")},P=c?"bands":"lines";if(S&&(t=S.log2lin(t),h=S.log2lin(h),p=S.log2lin(p)),C.chart.styledMode||(s?(m.stroke=w||"#999999",m["stroke-width"]=g(M.width,1),M.dashStyle&&(m.dashstyle=M.dashStyle)):c&&(m.fill=w||"#e6ebf5",M.borderWidth&&(m.stroke=M.borderColor,m["stroke-width"]=M.borderWidth))),k.zIndex=E,P+="-"+E,(S=C.plotLinesAndBandsGroups[P])||(C.plotLinesAndBandsGroups[P]=S=r.g("plot-"+P).attr(k).add()),a&&(y.svgElem=i=r.path().attr(m).add(S)),s)s=C.getPlotLinePath({value:p,lineWidth:i.strokeWidth(),acrossPanes:M.acrossPanes});else if(c)s=C.getPlotBandPath(t,h,M);else return;return!y.eventsAdded&&I&&(A(I,function(Y,R){i.on(R,function(e){I[R].apply(y,[e])})}),y.eventsAdded=!0),(a||!i.d)&&s&&s.length?i.attr({d:s}):i&&(s?(i.show(),i.animate({d:s})):i.d&&(i.hide(),o&&(y.label=o=o.destroy()))),d&&(q(d.text)||q(d.formatter))&&s&&s.length&&0<C.width&&0<C.height&&!s.isFlat?(d=j({align:v&&c&&"center",x:v?!c&&4:10,verticalAlign:!v&&c&&"middle",y:v?c?16:10:c?6:-4,rotation:v&&!c&&90},d),this.renderLabel(d,s,c,E)):o&&o.hide(),y},f.prototype.renderLabel=function(y,C,v,S){var M=this.axis,w=M.chart.renderer,E=this.label;E||(this.label=E=w.text(this.getLabelText(y),0,0,y.useHTML).attr({align:y.textAlign||y.align,rotation:y.rotation,class:"highcharts-plot-"+(v?"band":"line")+"-label "+(y.className||""),zIndex:S}).add(),M.chart.styledMode||E.css(j({textOverflow:"ellipsis"},y.style))),S=C.xBounds||[C[0][1],C[1][1],v?C[2][1]:C[0][1]],C=C.yBounds||[C[0][2],C[1][2],v?C[2][2]:C[0][2]],v=J(S),w=J(C),E.align(y,!1,{x:v,y:w,width:F(S)-v,height:F(C)-w}),E.alignValue&&E.alignValue!=="left"||(y=y.clip?M.width:M.chart.chartWidth,E.css({width:(E.rotation===90?M.height-(E.alignAttr.y-M.top):y-(E.alignAttr.x-M.left))+"px"})),E.show(!0)},f.prototype.getLabelText=function(y){return q(y.formatter)?y.formatter.call(this):y.text},f.prototype.destroy=function(){K(this.axis.plotLinesAndBands,this),delete this.axis,tt(this)},f}(),N}),ht(_,"Core/Tooltip.js",[_["Core/FormatUtilities.js"],_["Core/Globals.js"],_["Core/Renderer/RendererUtilities.js"],_["Core/Renderer/RendererRegistry.js"],_["Core/Utilities.js"]],function(D,N,F,J,q){var tt=D.format,K=N.doc,z=F.distribute,j=q.clamp,A=q.css,g=q.discardElement,f=q.extend,y=q.fireEvent,C=q.isArray,v=q.isNumber,S=q.isString,M=q.merge,w=q.pick,E=q.splat,I=q.syncTimeout;return D=function(){function k(r,d){this.allowShared=!0,this.container=void 0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.now={},this.options={},this.outside=!1,this.chart=r,this.init(r,d)}return k.prototype.applyFilter=function(){var r=this.chart;r.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+r.index,opacity:.5},children:[{tagName:"feGaussianBlur",attributes:{in:"SourceAlpha",stdDeviation:1}},{tagName:"feOffset",attributes:{dx:1,dy:1}},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"linear",slope:.3}}]},{tagName:"feMerge",children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",attributes:{in:"SourceGraphic"}}]}]})},k.prototype.bodyFormatter=function(r){return r.map(function(d){var o=d.series.tooltipOptions;return(o[(d.point.formatPrefix||"point")+"Formatter"]||d.point.tooltipFormatter).call(d.point,o[(d.point.formatPrefix||"point")+"Format"]||"")})},k.prototype.cleanSplit=function(r){this.chart.series.forEach(function(d){var o=d&&d.tt;o&&(!o.isActive||r?d.tt=o.destroy():o.isActive=!1)})},k.prototype.defaultFormatter=function(r){var d=this.points||E(this),o=[r.tooltipFooterHeaderFormatter(d[0])];return o=o.concat(r.bodyFormatter(d)),o.push(r.tooltipFooterHeaderFormatter(d[0],!0)),o},k.prototype.destroy=function(){this.label&&(this.label=this.label.destroy()),this.split&&this.tt&&(this.cleanSplit(!0),this.tt=this.tt.destroy()),this.renderer&&(this.renderer=this.renderer.destroy(),g(this.container)),q.clearTimeout(this.hideTimer),q.clearTimeout(this.tooltipTimeout)},k.prototype.getAnchor=function(r,d){var o=this.chart,h=o.pointer,t=o.inverted,p=o.plotTop;if(o=o.plotLeft,r=E(r),r[0].series&&r[0].series.yAxis&&!r[0].series.yAxis.options.reversedStacks&&(r=r.slice().reverse()),this.followPointer&&d)typeof d.chartX>"u"&&(d=h.normalize(d)),r=[d.chartX-o,d.chartY-p];else if(r[0].tooltipPos)r=r[0].tooltipPos;else{var i=0,s=0;r.forEach(function(c){(c=c.pos(!0))&&(i+=c[0],s+=c[1])}),i/=r.length,s/=r.length,this.shared&&1<r.length&&d&&(t?i=d.chartX:s=d.chartY),r=[i-o,s-p]}return r.map(Math.round)},k.prototype.getClassName=function(r,d,o){var h=r.series,t=h.options;return[this.options.className,"highcharts-label",o&&"highcharts-tooltip-header",d?"highcharts-tooltip-box":"highcharts-tooltip",!o&&"highcharts-color-"+w(r.colorIndex,h.colorIndex),t&&t.className].filter(S).join(" ")},k.prototype.getLabel=function(){var r=this,d=this.chart.styledMode,o=this.options,h=this.split&&this.allowShared,t=o.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none"),p,i=this.chart.renderer;if(r.label){var s=!r.label.hasClass("highcharts-label");(h&&!s||!h&&s)&&r.destroy()}if(!this.label){if(this.outside){s=this.chart.options.chart.style;var c=J.getRendererType();this.container=p=N.doc.createElement("div"),p.className="highcharts-tooltip-container",A(p,{position:"absolute",top:"1px",pointerEvents:t,zIndex:Math.max(this.options.style.zIndex||0,(s&&s.zIndex||0)+3)}),N.doc.body.appendChild(p),this.renderer=i=new c(p,0,0,s,void 0,void 0,i.styledMode)}if(h?this.label=i.g("tooltip"):(this.label=i.label("",0,0,o.shape,void 0,void 0,o.useHTML,void 0,"tooltip").attr({padding:o.padding,r:o.borderRadius}),d||this.label.attr({fill:o.backgroundColor,"stroke-width":o.borderWidth}).css(o.style).css({pointerEvents:t}).shadow(o.shadow)),d&&o.shadow&&(this.applyFilter(),this.label.attr({filter:"url(#drop-shadow-"+this.chart.index+")"})),r.outside&&!r.split){var a=this.label,m=a.xSetter,P=a.ySetter;a.xSetter=function(Y){m.call(a,r.distance),p.style.left=Y+"px"},a.ySetter=function(Y){P.call(a,r.distance),p.style.top=Y+"px"}}this.label.attr({zIndex:8}).add()}return this.label},k.prototype.getPosition=function(r,d,o){var h=this.chart,t=this.distance,p={},i=h.inverted&&o.h||0,s=this.outside,c=s?K.documentElement.clientWidth-2*t:h.chartWidth,a=s?Math.max(K.body.scrollHeight,K.documentElement.scrollHeight,K.body.offsetHeight,K.documentElement.offsetHeight,K.documentElement.clientHeight):h.chartHeight,m=h.pointer.getChartPosition(),P=function(x){var u=x==="x";return[x,u?c:a,u?r:d].concat(s?[u?r*m.scaleX:d*m.scaleY,u?m.left-t+(o.plotX+h.plotLeft)*m.scaleX:m.top-t+(o.plotY+h.plotTop)*m.scaleY,0,u?c:a]:[u?r:d,u?o.plotX+h.plotLeft:o.plotY+h.plotTop,u?h.plotLeft:h.plotTop,u?h.plotLeft+h.plotWidth:h.plotTop+h.plotHeight])},Y=P("y"),R=P("x"),e;P=!!o.negative,!h.polar&&h.hoverSeries&&h.hoverSeries.yAxis&&h.hoverSeries.yAxis.reversed&&(P=!P);var l=!this.followPointer&&w(o.ttBelow,!h.inverted===P),T=function(x,u,B,L,H,G,U){var V=s?x==="y"?t*m.scaleY:t*m.scaleX:t,rt=(B-L)/2,st=L<H-t,ot=H+t+L<u,et=H-V-B+rt;if(H=H+V-rt,l&&ot)p[x]=H;else if(!l&&st)p[x]=et;else if(st)p[x]=Math.min(U-L,0>et-i?et:et-i);else if(ot)p[x]=Math.max(G,H+i+B>u?H:H+i);else return!1},b=function(x,u,B,L,H){var G;return H<t||H>u-t?G=!1:p[x]=H<B/2?1:H>u-L/2?u-L-2:H-B/2,G},O=function(x){var u=Y;Y=R,R=u,e=x},n=function(){T.apply(0,Y)!==!1?b.apply(0,R)!==!1||e||(O(!0),n()):e?p.x=p.y=0:(O(!0),n())};return(h.inverted||1<this.len)&&O(),n(),p},k.prototype.hide=function(r){var d=this;q.clearTimeout(this.hideTimer),r=w(r,this.options.hideDelay),this.isHidden||(this.hideTimer=I(function(){d.getLabel().fadeOut(r&&void 0),d.isHidden=!0},r))},k.prototype.init=function(r,d){this.chart=r,this.options=d,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.split=d.split&&!r.inverted&&!r.polar,this.shared=d.shared||this.split,this.outside=w(d.outside,!(!r.scrollablePixelsX&&!r.scrollablePixelsY))},k.prototype.shouldStickOnContact=function(r){return!(this.followPointer||!this.options.stickOnContact||r&&!this.chart.pointer.inClass(r.target,"highcharts-tooltip"))},k.prototype.move=function(r,d,o,h){var t=this,p=t.now,i=t.options.animation!==!1&&!t.isHidden&&(1<Math.abs(r-p.x)||1<Math.abs(d-p.y)),s=t.followPointer||1<t.len;f(p,{x:i?(2*p.x+r)/3:r,y:i?(p.y+d)/2:d,anchorX:s?void 0:i?(2*p.anchorX+o)/3:o,anchorY:s?void 0:i?(p.anchorY+h)/2:h}),t.getLabel().attr(p),t.drawTracker(),i&&(q.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){t&&t.move(r,d,o,h)},32))},k.prototype.refresh=function(r,d){var o=this.chart,h=this.options,t=o.pointer,p=E(r),i=p[0],s=[],c=h.formatter||this.defaultFormatter,a=this.shared,m=o.styledMode,P={};if(h.enabled&&i.series){q.clearTimeout(this.hideTimer),this.allowShared=!(!C(r)&&r.series&&r.series.noSharedTooltip),this.followPointer=!this.split&&i.series.tooltipOptions.followPointer,r=this.getAnchor(r,d);var Y=r[0],R=r[1];if(a&&this.allowShared?(t.applyInactiveState(p),p.forEach(function(T){T.setState("hover"),s.push(T.getLabelConfig())}),P={x:i.category,y:i.y},P.points=s):P=i.getLabelConfig(),this.len=s.length,c=c.call(P,this),a=i.series,this.distance=w(a.tooltipOptions.distance,16),c===!1)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(c,p);else{var e=Y,l=R;if(d&&t.isDirectTouch&&(e=d.chartX-o.plotLeft,l=d.chartY-o.plotTop),o.polar||a.options.clip===!1||p.some(function(T){return t.isDirectTouch||T.series.shouldShowTooltip(e,l)}))d=this.getLabel(),h.style.width&&!m||d.css({width:o.spacingBox.width+"px"}),d.attr({text:c&&c.join?c.join(""):c}),d.addClass(this.getClassName(i),!0),m||d.attr({stroke:h.borderColor||i.color||a.color||"#666666"}),this.updatePosition({plotX:Y,plotY:R,negative:i.negative,ttBelow:i.ttBelow,h:r[2]||0});else{this.hide();return}}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}y(this,"refresh")}},k.prototype.renderSplit=function(r,d){function o(ot,et,at,$,W){return W===void 0&&(W=!0),at?(et=L?0:V,ot=j(ot-$/2,x.left,x.right-$-(h.outside?H:0))):(et-=G,ot=W?ot-$-b:ot+b,ot=j(ot,W?ot:x.left,x.right)),{x:ot,y:et}}var h=this,t=h.chart,p=h.chart,i=p.chartWidth,s=p.chartHeight,c=p.plotHeight,a=p.plotLeft,m=p.plotTop,P=p.pointer,Y=p.scrollablePixelsY;Y=Y===void 0?0:Y;var R=p.scrollablePixelsX,e=p.scrollingContainer;e=e===void 0?{scrollLeft:0,scrollTop:0}:e;var l=e.scrollLeft;e=e.scrollTop;var T=p.styledMode,b=h.distance,O=h.options,n=h.options.positioner,x=h.outside&&typeof R!="number"?K.documentElement.getBoundingClientRect():{left:l,right:l+i,top:e,bottom:e+s},u=h.getLabel(),B=this.renderer||t.renderer,L=!(!t.xAxis[0]||!t.xAxis[0].opposite);t=P.getChartPosition();var H=t.left;t=t.top;var G=m+e,U=0,V=c-Y;S(r)&&(r=[!1,r]),r=r.slice(0,d.length+1).reduce(function(ot,et,at){if(et!==!1&&et!==""){at=d[at-1]||{isHeader:!0,plotX:d[0].plotX,plotY:c,series:{}};var $=at.isHeader,W=$?h:at.series;et=et.toString();var X=W.tt,Z=at.isHeader,Q=at.series;X||(X={padding:O.padding,r:O.borderRadius},T||(X.fill=O.backgroundColor,X["stroke-width"]=O.borderWidth),X=B.label("",0,0,O[Z?"headerShape":"shape"],void 0,void 0,O.useHTML).addClass(h.getClassName(at,!0,Z)).attr(X).add(u)),X.isActive=!0,X.attr({text:et}),T||X.css(O.style).shadow(O.shadow).attr({stroke:O.borderColor||at.color||Q.color||"#333333"}),W=W.tt=X,Z=W.getBBox(),et=Z.width+W.strokeWidth(),$&&(U=Z.height,V+=U,L&&(G-=U)),Q=at.plotX,Q=Q===void 0?0:Q,X=at.plotY,X=X===void 0?0:X;var it=at.series;if(at.isHeader){Q=a+Q;var nt=m+c/2}else{var lt=it.xAxis,ct=it.yAxis;Q=lt.pos+j(Q,-b,lt.len+b),it.shouldShowTooltip(0,ct.pos-m+X,{ignoreX:!0})&&(nt=ct.pos+X)}Q=j(Q,x.left-b,x.right+b),typeof nt=="number"?(Z=Z.height+1,X=n?n.call(h,et,Z,at):o(Q,nt,$,et),ot.push({align:n?0:void 0,anchorX:Q,anchorY:nt,boxWidth:et,point:at,rank:w(X.rank,$?1:0),size:Z,target:X.y,tt:W,x:X.x})):W.isActive=!1}return ot},[]),!n&&r.some(function(ot){var et=(h.outside?H:0)+ot.anchorX;return et<x.left&&et+ot.boxWidth<x.right?!0:et<H-x.left+ot.boxWidth&&x.right-et>et})&&(r=r.map(function(ot){var et=o(ot.anchorX,ot.anchorY,ot.point.isHeader,ot.boxWidth,!1);return f(ot,{target:et.y,x:et.x})})),h.cleanSplit(),z(r,V);var rt=H,st=H;r.forEach(function(ot){var et=ot.x,at=ot.boxWidth;ot=ot.isHeader,ot||(h.outside&&H+et<rt&&(rt=H+et),!ot&&h.outside&&rt+at>st&&(st=H+et))}),r.forEach(function(ot){var et=ot.x,at=ot.anchorX,$=ot.pos,W=ot.point.isHeader;if($={visibility:typeof $>"u"?"hidden":"inherit",x:et,y:($||0)+G,anchorX:at,anchorY:ot.anchorY},h.outside&&et<at){var X=H-rt;0<X&&(W||($.x=et+X,$.anchorX=at+X),W&&($.x=(st-rt)/2,$.anchorX=at+X))}ot.tt.attr($)}),r=h.container,Y=h.renderer,h.outside&&r&&Y&&(p=u.getBBox(),Y.setSize(p.width+p.x,p.height+p.y,!1),r.style.left=rt+"px",r.style.top=t+"px")},k.prototype.drawTracker=function(){if(this.shouldStickOnContact()){var r=this.chart,d=this.label,o=this.shared?r.hoverPoints:r.hoverPoint;if(d&&o){var h={x:0,y:0,width:0,height:0};o=this.getAnchor(o);var t=d.getBBox();o[0]+=r.plotLeft-d.translateX,o[1]+=r.plotTop-d.translateY,h.x=Math.min(0,o[0]),h.y=Math.min(0,o[1]),h.width=0>o[0]?Math.max(Math.abs(o[0]),t.width-o[0]):Math.max(Math.abs(o[0]),t.width),h.height=0>o[1]?Math.max(Math.abs(o[1]),t.height-Math.abs(o[1])):Math.max(Math.abs(o[1]),t.height),this.tracker?this.tracker.attr(h):(this.tracker=d.renderer.rect(h).addClass("highcharts-tracker").add(d),r.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}else this.tracker&&this.tracker.destroy()},k.prototype.styledModeFormat=function(r){return r.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')},k.prototype.tooltipFooterHeaderFormatter=function(r,d){var o=r.series,h=o.tooltipOptions,t=o.xAxis,p=t&&t.dateTime;t={isFooter:d,labelConfig:r};var i=h.xDateFormat,s=h[d?"footerFormat":"headerFormat"];return y(this,"headerFormatter",t,function(c){p&&!i&&v(r.key)&&(i=p.getXDateFormat(r.key,h.dateTimeLabelFormats)),p&&i&&(r.point&&r.point.tooltipDateKeys||["key"]).forEach(function(a){s=s.replace("{point."+a+"}","{point."+a+":"+i+"}")}),o.chart.styledMode&&(s=this.styledModeFormat(s)),c.text=tt(s,{point:r,series:o},this.chart)}),t.text},k.prototype.update=function(r){this.destroy(),M(!0,this.chart.options.tooltip.userOptions,r),this.init(this.chart,M(!0,this.options,r))},k.prototype.updatePosition=function(r){var d=this.chart,o=this.distance,h=this.options,t=d.pointer,p=this.getLabel(),i=t.getChartPosition();t=i.left;var s=i.top,c=i.scaleX;i=i.scaleY;var a=(h.positioner||this.getPosition).call(this,p.width,p.height,r),m=(r.plotX||0)+d.plotLeft;r=(r.plotY||0)+d.plotTop,this.outside&&(h.positioner&&(a.x+=t-o,a.y+=s-o),o=h.borderWidth+2*o,this.renderer.setSize(p.width+o,p.height+o,!1),(c!==1||i!==1)&&(A(this.container,{transform:"scale(".concat(c,", ").concat(i,")")}),m*=c,r*=i),m+=t-a.x,r+=s-a.y),this.move(Math.round(a.x),Math.round(a.y||0),m,r)},k}(),D}),ht(_,"Core/Series/Point.js",[_["Core/Renderer/HTML/AST.js"],_["Core/Animation/AnimationUtilities.js"],_["Core/Defaults.js"],_["Core/FormatUtilities.js"],_["Core/Utilities.js"]],function(D,N,F,J,q){var tt=N.animObject,K=F.defaultOptions,z=J.format,j=q.addEvent,A=q.defined,g=q.erase,f=q.extend,y=q.fireEvent,C=q.getNestedProperty,v=q.isArray,S=q.isFunction,M=q.isNumber,w=q.isObject,E=q.merge,I=q.objectEach,k=q.pick,r=q.syncTimeout,d=q.removeEvent,o=q.uniqueKey;return N=function(){function h(){this.category=void 0,this.formatPrefix="point",this.id=void 0,this.isNull=!1,this.percentage=this.options=this.name=void 0,this.selected=!1,this.total=this.shapeArgs=this.series=void 0,this.visible=!0,this.x=void 0}return h.prototype.animateBeforeDestroy=function(){var t=this,p={x:t.startXPos,opacity:0},i=t.getGraphicalProps();i.singular.forEach(function(s){t[s]=t[s].animate(s==="dataLabel"?{x:t[s].startXPos,y:t[s].startYPos,opacity:0}:p)}),i.plural.forEach(function(s){t[s].forEach(function(c){c.element&&c.animate(f({x:t.startXPos},c.startYPos?{x:c.startXPos,y:c.startYPos}:{}))})})},h.prototype.applyOptions=function(t,p){var i=this.series,s=i.options.pointValKey||i.pointValKey;return t=h.prototype.optionsToObject.call(this,t),f(this,t),this.options=this.options?f(this.options,t):t,t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,s&&(this.y=h.prototype.getNestedProperty.call(this,s)),this.formatPrefix=(this.isNull=this.isValid&&!this.isValid())?"null":"point",this.selected&&(this.state="select"),"name"in this&&typeof p>"u"&&i.xAxis&&i.xAxis.hasNames&&(this.x=i.xAxis.nameToX(this)),typeof this.x>"u"&&i?this.x=typeof p>"u"?i.autoIncrement():p:M(t.x)&&i.options.relativeXValue&&(this.x=i.autoIncrement(t.x)),this},h.prototype.destroy=function(){function t(){(p.graphic||p.graphics||p.dataLabel||p.dataLabels)&&(d(p),p.destroyElements());for(m in p)p[m]=null}var p=this,i=p.series,s=i.chart;i=i.options.dataSorting;var c=s.hoverPoints,a=tt(p.series.chart.renderer.globalAnimation),m;p.legendItem&&s.legend.destroyItem(p),c&&(p.setState(),g(c,p),c.length||(s.hoverPoints=null)),p===s.hoverPoint&&p.onMouseOut(),i&&i.enabled?(this.animateBeforeDestroy(),r(t,a.duration)):t(),s.pointCount--},h.prototype.destroyElements=function(t){var p=this;t=p.getGraphicalProps(t),t.singular.forEach(function(i){p[i]=p[i].destroy()}),t.plural.forEach(function(i){p[i].forEach(function(s){s&&s.element&&s.destroy()}),delete p[i]})},h.prototype.firePointEvent=function(t,p,i){var s=this,c=this.series.options;(c.point.events[t]||s.options&&s.options.events&&s.options.events[t])&&s.importEvents(),t==="click"&&c.allowPointSelect&&(i=function(a){s.select&&s.select(null,a.ctrlKey||a.metaKey||a.shiftKey)}),y(s,t,p,i)},h.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(typeof this.colorIndex<"u"?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},h.prototype.getGraphicalProps=function(t){var p=this,i=[],s={singular:[],plural:[]},c;for(t=t||{graphic:1,dataLabel:1},t.graphic&&i.push("graphic","shadowGroup"),t.dataLabel&&i.push("dataLabel","dataLabelPath","dataLabelUpper","connector"),c=i.length;c--;){var a=i[c];p[a]&&s.singular.push(a)}return["graphic","dataLabel","connector"].forEach(function(m){var P=m+"s";t[m]&&p[P]&&s.plural.push(P)}),s},h.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}},h.prototype.getNestedProperty=function(t){if(t)return t.indexOf("custom.")===0?C(t,this.options):this[t]},h.prototype.getZone=function(){var t=this.series,p=t.zones;t=t.zoneAxis||"y";var i,s=0;for(i=p[s];this[t]>=i.value;)i=p[++s];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=i&&i.color&&!this.options.color?i.color:this.nonZonedColor,i},h.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},h.prototype.init=function(t,p,i){return this.series=t,this.applyOptions(p,i),this.id=A(this.id)?this.id:o(),this.resolveColor(),t.chart.pointCount++,y(this,"afterInit"),this},h.prototype.isValid=function(){return this.x!==null&&M(this.y)},h.prototype.optionsToObject=function(t){var p=this.series,i=p.options.keys,s=i||p.pointArrayMap||["y"],c=s.length,a={},m=0,P=0;if(M(t)||t===null)a[s[0]]=t;else if(v(t))for(!i&&t.length>c&&(p=typeof t[0],p==="string"?a.name=t[0]:p==="number"&&(a.x=t[0]),m++);P<c;)i&&typeof t[m]>"u"||(0<s[P].indexOf(".")?h.prototype.setNestedProperty(a,t[m],s[P]):a[s[P]]=t[m]),m++,P++;else typeof t=="object"&&(a=t,t.dataLabels&&(p._hasPointLabels=!0),t.marker&&(p._hasPointMarkers=!0));return a},h.prototype.pos=function(t,p){p===void 0&&(p=this.plotY);var i=this.plotX,s=this.series,c=s.chart,a=s.xAxis;s=s.yAxis;var m=0,P=0;if(M(i)&&M(p))return t&&(m=a?a.pos:c.plotLeft,P=s?s.pos:c.plotTop),c.inverted&&a&&s?[s.len-p+P,a.len-i+m]:[i+m,p+P]},h.prototype.resolveColor=function(){var t=this.series,p=t.chart.styledMode,i=t.chart.options.chart.colorCount;if(delete this.nonZonedColor,t.options.colorByPoint){if(!p){i=t.options.colors||t.chart.options.colors;var s=i[t.colorCounter];i=i.length}p=t.colorCounter,t.colorCounter++,t.colorCounter===i&&(t.colorCounter=0)}else p||(s=t.color),p=t.colorIndex;this.colorIndex=k(this.options.colorIndex,p),this.color=k(this.options.color,s)},h.prototype.setNestedProperty=function(t,p,i){return i.split(".").reduce(function(s,c,a,m){return s[c]=m.length-1===a?p:w(s[c],!0)?s[c]:{},s[c]},t),t},h.prototype.shouldDraw=function(){return!this.isNull},h.prototype.tooltipFormatter=function(t){var p=this.series,i=p.tooltipOptions,s=k(i.valueDecimals,""),c=i.valuePrefix||"",a=i.valueSuffix||"";return p.chart.styledMode&&(t=p.chart.tooltip.styledModeFormat(t)),(p.pointArrayMap||["y"]).forEach(function(m){m="{point."+m,(c||a)&&(t=t.replace(RegExp(m+"}","g"),c+m+"}"+a)),t=t.replace(RegExp(m+"}","g"),m+":,."+s+"f}")}),z(t,{point:this,series:this.series},p.chart)},h.prototype.update=function(t,p,i,s){function c(){a.applyOptions(t);var l=P&&a.hasMockGraphic;l=a.y===null?!l:l,P&&l&&(a.graphic=P.destroy(),delete a.hasMockGraphic),w(t,!0)&&(P&&P.element&&t&&t.marker&&typeof t.marker.symbol<"u"&&(a.graphic=P.destroy()),t&&t.dataLabels&&a.dataLabel&&(a.dataLabel=a.dataLabel.destroy()),a.connector&&(a.connector=a.connector.destroy())),e=a.index,m.updateParallelArrays(a,e),R.data[e]=w(R.data[e],!0)||w(t,!0)?a.options:k(t,R.data[e]),m.isDirty=m.isDirtyData=!0,!m.fixedBox&&m.hasCartesianSeries&&(Y.isDirtyBox=!0),R.legendType==="point"&&(Y.isDirtyLegend=!0),p&&Y.redraw(i)}var a=this,m=a.series,P=a.graphic,Y=m.chart,R=m.options,e;p=k(p,!0),s===!1?c():a.firePointEvent("update",{options:t},c)},h.prototype.remove=function(t,p){this.series.removePoint(this.series.data.indexOf(this),t,p)},h.prototype.select=function(t,p){var i=this,s=i.series,c=s.chart;this.selectedStaging=t=k(t,!i.selected),i.firePointEvent(t?"select":"unselect",{accumulate:p},function(){i.selected=i.options.selected=t,s.options.data[s.data.indexOf(i)]=i.options,i.setState(t&&"select"),p||c.getSelectedPoints().forEach(function(a){var m=a.series;a.selected&&a!==i&&(a.selected=a.options.selected=!1,m.options.data[m.data.indexOf(a)]=a.options,a.setState(c.hoverPoints&&m.options.inactiveOtherPoints?"inactive":""),a.firePointEvent("unselect"))})}),delete this.selectedStaging},h.prototype.onMouseOver=function(t){var p=this.series.chart,i=p.pointer;t=t?i.normalize(t):i.getChartCoordinatesFromPoint(this,p.inverted),i.runPointActions(t,this)},h.prototype.onMouseOut=function(){var t=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t.hoverPoints||[]).forEach(function(p){p.setState()}),t.hoverPoints=t.hoverPoint=null},h.prototype.importEvents=function(){if(!this.hasImportedEvents){var t=this,p=E(t.series.options.point,t.options).events;t.events=p,I(p,function(i,s){S(i)&&j(t,s,i)}),this.hasImportedEvents=!0}},h.prototype.setState=function(t,p){var i=this.series,s=this.state,c=i.options.states[t||"normal"]||{},a=K.plotOptions[i.type].marker&&i.options.marker,m=a&&a.enabled===!1,P=a&&a.states&&a.states[t||"normal"]||{},Y=P.enabled===!1,R=this.marker||{},e=i.chart,l=a&&i.markerAttribs,T=i.halo,b,O=i.stateMarkerGraphic;if(t=t||"",!(t===this.state&&!p||this.selected&&t!=="select"||c.enabled===!1||t&&(Y||m&&P.enabled===!1)||t&&R.states&&R.states[t]&&R.states[t].enabled===!1)){if(this.state=t,l&&(b=i.markerAttribs(this,t)),this.graphic&&!this.hasMockGraphic){if(s&&this.graphic.removeClass("highcharts-point-"+s),t&&this.graphic.addClass("highcharts-point-"+t),!e.styledMode){s=i.pointAttribs(this,t);var n=k(e.options.chart.animation,c.animation),x=s.opacity;i.options.inactiveOtherPoints&&M(x)&&((this.dataLabels||[]).forEach(function(u){u&&!u.hasClass("highcharts-data-label-hidden")&&u.animate({opacity:x},n)}),this.connector&&this.connector.animate({opacity:x},n)),this.graphic.animate(s,n)}b&&this.graphic.animate(b,k(e.options.chart.animation,P.animation,a.animation)),O&&O.hide()}else t&&P&&(a=R.symbol||i.symbol,O&&O.currentSymbol!==a&&(O=O.destroy()),b&&(O?O[p?"animate":"attr"]({x:b.x,y:b.y}):a&&(i.stateMarkerGraphic=O=e.renderer.symbol(a,b.x,b.y,b.width,b.height).add(i.markerGroup),O.currentSymbol=a)),!e.styledMode&&O&&this.state!=="inactive"&&O.attr(i.pointAttribs(this,t))),O&&(O[t&&this.isInside?"show":"hide"](),O.element.point=this,O.addClass(this.getClassName(),!0));c=c.halo,b=(O=this.graphic||O)&&O.visibility||"inherit",c&&c.size&&O&&b!=="hidden"&&!this.isCluster?(T||(i.halo=T=e.renderer.path().add(O.parentGroup)),T.show()[p?"animate":"attr"]({d:this.haloPath(c.size)}),T.attr({class:"highcharts-halo highcharts-color-"+k(this.colorIndex,i.colorIndex)+(this.className?" "+this.className:""),visibility:b,zIndex:-1}),T.point=this,e.styledMode||T.attr(f({fill:this.color||i.color,"fill-opacity":c.opacity},D.filterUserAttributes(c.attributes||{})))):T&&T.point&&T.point.haloPath&&T.animate({d:T.point.haloPath(0)},null,T.hide),y(this,"afterSetState",{state:t})}},h.prototype.haloPath=function(t){var p=this.pos();return p?this.series.chart.renderer.symbols.circle(Math.floor(p[0])-t,p[1]-t,2*t,2*t):[]},h}(),N}),ht(_,"Core/Pointer.js",[_["Core/Color/Color.js"],_["Core/Globals.js"],_["Core/Tooltip.js"],_["Core/Utilities.js"]],function(D,N,F,J){var q=D.parse,tt=N.charts,K=N.noop,z=J.addEvent,j=J.attr,A=J.css,g=J.defined,f=J.extend,y=J.find,C=J.fireEvent,v=J.isNumber,S=J.isObject,M=J.objectEach,w=J.offset,E=J.pick,I=J.splat;return D=function(){function k(r,d){this.lastValidTouch={},this.pinchDown=[],this.runChartClick=!1,this.eventsToUnbind=[],this.chart=r,this.hasDragged=!1,this.options=d,this.init(r,d)}return k.prototype.applyInactiveState=function(r){var d=[],o;(r||[]).forEach(function(h){o=h.series,d.push(o),o.linkedParent&&d.push(o.linkedParent),o.linkedSeries&&(d=d.concat(o.linkedSeries)),o.navigatorSeries&&d.push(o.navigatorSeries)}),this.chart.series.forEach(function(h){d.indexOf(h)===-1?h.setState("inactive",!0):h.options.inactiveOtherPoints&&h.setAllPointsToState("inactive")})},k.prototype.destroy=function(){var r=this;this.eventsToUnbind.forEach(function(d){return d()}),this.eventsToUnbind=[],N.chartCount||(k.unbindDocumentMouseUp&&(k.unbindDocumentMouseUp=k.unbindDocumentMouseUp()),k.unbindDocumentTouchEnd&&(k.unbindDocumentTouchEnd=k.unbindDocumentTouchEnd())),clearInterval(r.tooltipTimeout),M(r,function(d,o){r[o]=void 0})},k.prototype.getSelectionMarkerAttrs=function(r,d){var o=this,h={args:{chartX:r,chartY:d},attrs:{},shapeType:"rect"};return C(this,"getSelectionMarkerAttrs",h,function(t){var p=o.chart,i=o.mouseDownX;i=i===void 0?0:i;var s=o.mouseDownY;s=s===void 0?0:s;var c=o.zoomHor,a=o.zoomVert;t=t.attrs,t.x=p.plotLeft,t.y=p.plotTop,t.width=c?1:p.plotWidth,t.height=a?1:p.plotHeight,c&&(p=r-i,t.width=Math.abs(p),t.x=(0<p?0:p)+i),a&&(p=d-s,t.height=Math.abs(p),t.y=(0<p?0:p)+s)}),h},k.prototype.drag=function(r){var d=this.chart,o=d.options.chart,h=d.plotLeft,t=d.plotTop,p=d.plotWidth,i=d.plotHeight,s=this.mouseDownX||0,c=this.mouseDownY||0,a=S(o.panning)?o.panning&&o.panning.enabled:o.panning,m=o.panKey&&r[o.panKey+"Key"],P=r.chartX,Y=r.chartY,R=this.selectionMarker;R&&R.touch||(P<h?P=h:P>h+p&&(P=h+p),Y<t?Y=t:Y>t+i&&(Y=t+i),this.hasDragged=Math.sqrt(Math.pow(s-P,2)+Math.pow(c-Y,2)),10<this.hasDragged&&(h=d.isInsidePlot(s-h,c-t,{visiblePlotOnly:!0}),Y=this.getSelectionMarkerAttrs(P,Y),P=Y.shapeType,Y=Y.attrs,!d.hasCartesianSeries&&!d.mapView||!this.zoomX&&!this.zoomY||!h||m||R||(this.selectionMarker=R=d.renderer[P](),R.attr({class:"highcharts-selection-marker",zIndex:7}).add(),d.styledMode||R.attr({fill:o.selectionMarkerFill||q("#335cad").setOpacity(.25).get()})),R&&R.attr(Y),h&&!R&&a&&d.pan(r,o.panning)))},k.prototype.dragStart=function(r){var d=this.chart;d.mouseIsDown=r.type,d.cancelClick=!1,d.mouseDownX=this.mouseDownX=r.chartX,d.mouseDownY=this.mouseDownY=r.chartY},k.prototype.getSelectionBox=function(r){var d={args:{marker:r},result:{}};return C(this,"getSelectionBox",d,function(o){o.result={x:r.attr?+r.attr("x"):r.x,y:r.attr?+r.attr("y"):r.y,width:r.attr?r.attr("width"):r.width,height:r.attr?r.attr("height"):r.height}}),d.result},k.prototype.drop=function(r){var d=this,o=this.chart,h=this.hasPinched;if(this.selectionMarker){var t=this.getSelectionBox(this.selectionMarker),p=t.x,i=t.y,s=t.width,c=t.height,a={originalEvent:r,xAxis:[],yAxis:[],x:p,y:i,width:s,height:c},m=!!o.mapView;(this.hasDragged||h)&&(o.axes.forEach(function(P){if(P.zoomEnabled&&g(P.min)&&(h||d[{xAxis:"zoomX",yAxis:"zoomY"}[P.coll]])&&v(p)&&v(i)&&v(s)&&v(c)){var Y=P.horiz,R=r.type==="touchend"?P.minPixelPadding:0,e=P.toValue((Y?p:i)+R);Y=P.toValue((Y?p+s:i+c)-R),a[P.coll].push({axis:P,min:Math.min(e,Y),max:Math.max(e,Y)}),m=!0}}),m&&C(o,"selection",a,function(P){o.zoom(f(P,h?{animation:!1}:null))})),v(o.index)&&(this.selectionMarker=this.selectionMarker.destroy()),h&&this.scaleGroups()}o&&v(o.index)&&(A(o.container,{cursor:o._cursor}),o.cancelClick=10<this.hasDragged,o.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},k.prototype.findNearestKDPoint=function(r,d,o){var h;return r.forEach(function(t){var p=!(t.noSharedTooltip&&d)&&0>t.options.findNearestPointBy.indexOf("y");if(t=t.searchPoint(o,p),(p=S(t,!0)&&t.series)&&!(p=!S(h,!0))){p=h.distX-t.distX;var i=h.dist-t.dist,s=(t.series.group&&t.series.group.zIndex)-(h.series.group&&h.series.group.zIndex);p=0<(p!==0&&d?p:i!==0?i:s!==0?s:h.series.index>t.series.index?-1:1)}p&&(h=t)}),h},k.prototype.getChartCoordinatesFromPoint=function(r,d){var o=r.series,h=o.xAxis;o=o.yAxis;var t=r.shapeArgs;if(h&&o){var p=E(r.clientX,r.plotX),i=r.plotY||0;return r.isNode&&t&&v(t.x)&&v(t.y)&&(p=t.x,i=t.y),d?{chartX:o.len+o.pos-i,chartY:h.len+h.pos-p}:{chartX:p+h.pos,chartY:i+o.pos}}if(t&&t.x&&t.y)return{chartX:t.x,chartY:t.y}},k.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var r=this.chart.container,d=w(r);this.chartPosition={left:d.left,top:d.top,scaleX:1,scaleY:1};var o=r.offsetWidth;return r=r.offsetHeight,2<o&&2<r&&(this.chartPosition.scaleX=d.width/o,this.chartPosition.scaleY=d.height/r),this.chartPosition},k.prototype.getCoordinates=function(r){var d={xAxis:[],yAxis:[]};return this.chart.axes.forEach(function(o){d[o.isXAxis?"xAxis":"yAxis"].push({axis:o,value:o.toValue(r[o.horiz?"chartX":"chartY"])})}),d},k.prototype.getHoverData=function(r,d,o,h,t,p){var i=[];h=!(!h||!r);var s=function(P){return P.visible&&!(!t&&P.directTouch)&&E(P.options.enableMouseTracking,!0)},c={chartX:p?p.chartX:void 0,chartY:p?p.chartY:void 0,shared:t};C(this,"beforeGetHoverData",c);var a=d&&!d.stickyTracking?[d]:o.filter(function(P){return P.stickyTracking&&(c.filter||s)(P)}),m=h||!p?r:this.findNearestKDPoint(a,t,p);return d=m&&m.series,m&&(t&&!d.noSharedTooltip?(a=o.filter(function(P){return c.filter?c.filter(P):s(P)&&!P.noSharedTooltip}),a.forEach(function(P){var Y=y(P.points,function(R){return R.x===m.x&&!R.isNull});S(Y)&&(P.boosted&&P.boost&&(Y=P.boost.getPoint(Y)),i.push(Y))})):i.push(m)),c={hoverPoint:m},C(this,"afterGetHoverData",c),{hoverPoint:c.hoverPoint,hoverSeries:d,hoverPoints:i}},k.prototype.getPointFromEvent=function(r){r=r.target;for(var d;r&&!d;)d=r.point,r=r.parentNode;return d},k.prototype.onTrackerMouseOut=function(r){r=r.relatedTarget||r.toElement;var d=this.chart.hoverSeries;this.isDirectTouch=!1,!d||!r||d.stickyTracking||this.inClass(r,"highcharts-tooltip")||this.inClass(r,"highcharts-series-"+d.index)&&this.inClass(r,"highcharts-tracker")||d.onMouseOut()},k.prototype.inClass=function(r,d){for(var o;r;){if(o=j(r,"class")){if(o.indexOf(d)!==-1)return!0;if(o.indexOf("highcharts-container")!==-1)return!1}r=r.parentElement}},k.prototype.init=function(r,d){this.options=d,this.chart=r,this.runChartClick=!(!d.chart.events||!d.chart.events.click),this.pinchDown=[],this.lastValidTouch={},F&&(r.tooltip=new F(r,d.tooltip)),this.setDOMEvents()},k.prototype.normalize=function(r,d){var o=r.touches,h=o?o.length?o.item(0):E(o.changedTouches,r.changedTouches)[0]:r;return d||(d=this.getChartPosition()),o=h.pageX-d.left,h=h.pageY-d.top,o/=d.scaleX,h/=d.scaleY,f(r,{chartX:Math.round(o),chartY:Math.round(h)})},k.prototype.onContainerClick=function(r){var d=this.chart,o=d.hoverPoint;r=this.normalize(r);var h=d.plotLeft,t=d.plotTop;d.cancelClick||(o&&this.inClass(r.target,"highcharts-tracker")?(C(o.series,"click",f(r,{point:o})),d.hoverPoint&&o.firePointEvent("click",r)):(f(r,this.getCoordinates(r)),d.isInsidePlot(r.chartX-h,r.chartY-t,{visiblePlotOnly:!0})&&C(d,"click",r)))},k.prototype.onContainerMouseDown=function(r){var d=((r.buttons||r.button)&1)===1;r=this.normalize(r),N.isFirefox&&r.button!==0&&this.onContainerMouseMove(r),(typeof r.button>"u"||d)&&(this.zoomOption(r),d&&r.preventDefault&&r.preventDefault(),this.dragStart(r))},k.prototype.onContainerMouseLeave=function(r){var d=tt[E(k.hoverChartIndex,-1)],o=this.chart.tooltip;r=this.normalize(r),d&&(r.relatedTarget||r.toElement)&&(d.pointer.reset(),d.pointer.chartPosition=void 0),o&&!o.isHidden&&this.reset()},k.prototype.onContainerMouseEnter=function(r){delete this.chartPosition},k.prototype.onContainerMouseMove=function(r){var d=this.chart,o=d.tooltip;r=this.normalize(r),this.setHoverChartIndex(),r.preventDefault||(r.returnValue=!1),(d.mouseIsDown==="mousedown"||this.touchSelect(r))&&this.drag(r),d.openMenu||!this.inClass(r.target,"highcharts-tracker")&&!d.isInsidePlot(r.chartX-d.plotLeft,r.chartY-d.plotTop,{visiblePlotOnly:!0})||o&&o.shouldStickOnContact(r)||(this.inClass(r.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(r))},k.prototype.onDocumentTouchEnd=function(r){var d=tt[E(k.hoverChartIndex,-1)];d&&d.pointer.drop(r)},k.prototype.onContainerTouchMove=function(r){this.touchSelect(r)?this.onContainerMouseMove(r):this.touch(r)},k.prototype.onContainerTouchStart=function(r){this.touchSelect(r)?this.onContainerMouseDown(r):(this.zoomOption(r),this.touch(r,!0))},k.prototype.onDocumentMouseMove=function(r){var d=this.chart,o=d.tooltip,h=this.chartPosition;r=this.normalize(r,h),!h||d.isInsidePlot(r.chartX-d.plotLeft,r.chartY-d.plotTop,{visiblePlotOnly:!0})||o&&o.shouldStickOnContact(r)||this.inClass(r.target,"highcharts-tracker")||this.reset()},k.prototype.onDocumentMouseUp=function(r){var d=tt[E(k.hoverChartIndex,-1)];d&&d.pointer.drop(r)},k.prototype.pinch=function(r){var d=this,o=d.chart,h=d.pinchDown,t=r.touches||[],p=t.length,i=d.lastValidTouch,s=d.hasZoom,c={},a=p===1&&(d.inClass(r.target,"highcharts-tracker")&&o.runTrackerClick||d.runChartClick),m={},P=d.chart.tooltip;P=p===1&&E(P&&P.options.followTouchMove,!0);var Y=d.selectionMarker;1<p?d.initiated=!0:P&&(d.initiated=!1),s&&d.initiated&&!a&&r.cancelable!==!1&&r.preventDefault(),[].map.call(t,function(R){return d.normalize(R)}),r.type==="touchstart"?([].forEach.call(t,function(R,e){h[e]={chartX:R.chartX,chartY:R.chartY}}),i.x=[h[0].chartX,h[1]&&h[1].chartX],i.y=[h[0].chartY,h[1]&&h[1].chartY],o.axes.forEach(function(R){if(R.zoomEnabled){var e=o.bounds[R.horiz?"h":"v"],l=R.minPixelPadding,T=R.toPixels(Math.min(E(R.options.min,R.dataMin),R.dataMin)),b=R.toPixels(Math.max(E(R.options.max,R.dataMax),R.dataMax)),O=Math.max(T,b);e.min=Math.min(R.pos,Math.min(T,b)-l),e.max=Math.max(R.pos+R.len,O+l)}}),d.res=!0):P?this.runPointActions(d.normalize(r)):h.length&&(C(o,"touchpan",{originalEvent:r},function(){Y||(d.selectionMarker=Y=f({destroy:K,touch:!0},o.plotBox)),d.pinchTranslate(h,t,c,Y,m,i),d.hasPinched=s,d.scaleGroups(c,m)}),d.res&&(d.res=!1,this.reset(!1,0)))},k.prototype.pinchTranslate=function(r,d,o,h,t,p){this.zoomHor&&this.pinchTranslateDirection(!0,r,d,o,h,t,p),this.zoomVert&&this.pinchTranslateDirection(!1,r,d,o,h,t,p)},k.prototype.pinchTranslateDirection=function(r,d,o,h,t,p,i,s){var c=this.chart,a=r?"x":"y",m=r?"X":"Y",P="chart"+m,Y=r?"width":"height",R=c["plot"+(r?"Left":"Top")],e=c.inverted,l=c.bounds[r?"h":"v"],T=d.length===1,b=d[0][P],O=!T&&d[1][P];d=function(){typeof L=="number"&&20<Math.abs(b-O)&&(u=s||Math.abs(B-L)/Math.abs(b-O)),x=(R-B)/u+b,n=c["plot"+(r?"Width":"Height")]/u};var n,x,u=s||1,B=o[0][P],L=!T&&o[1][P];if(d(),o=x,o<l.min){o=l.min;var H=!0}else o+n>l.max&&(o=l.max-n,H=!0);H?(B-=.8*(B-i[a][0]),typeof L=="number"&&(L-=.8*(L-i[a][1])),d()):i[a]=[B,L],e||(p[a]=x-R,p[Y]=n),p=e?1/u:u,t[Y]=n,t[a]=o,h[e?r?"scaleY":"scaleX":"scale"+m]=u,h["translate"+m]=p*R+(B-p*b)},k.prototype.reset=function(r,d){var o=this.chart,h=o.hoverSeries,t=o.hoverPoint,p=o.hoverPoints,i=o.tooltip,s=i&&i.shared?p:t;r&&s&&I(s).forEach(function(c){c.series.isCartesian&&typeof c.plotX>"u"&&(r=!1)}),r?i&&s&&I(s).length&&(i.refresh(s),i.shared&&p?p.forEach(function(c){c.setState(c.state,!0),c.series.isCartesian&&(c.series.xAxis.crosshair&&c.series.xAxis.drawCrosshair(null,c),c.series.yAxis.crosshair&&c.series.yAxis.drawCrosshair(null,c))}):t&&(t.setState(t.state,!0),o.axes.forEach(function(c){c.crosshair&&t.series[c.coll]===c&&c.drawCrosshair(null,t)}))):(t&&t.onMouseOut(),p&&p.forEach(function(c){c.setState()}),h&&h.onMouseOut(),i&&i.hide(d),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),o.axes.forEach(function(c){c.hideCrosshair()}),this.hoverX=o.hoverPoints=o.hoverPoint=null)},k.prototype.runPointActions=function(r,d,o){var h=this.chart,t=h.tooltip&&h.tooltip.options.enabled?h.tooltip:void 0,p=t?t.shared:!1,i=d||h.hoverPoint,s=i&&i.series||h.hoverSeries;d=this.getHoverData(i,s,h.series,(!r||r.type!=="touchmove")&&(!!d||s&&s.directTouch&&this.isDirectTouch),p,r),i=d.hoverPoint,s=d.hoverSeries;var c=d.hoverPoints;d=s&&s.tooltipOptions.followPointer&&!s.tooltipOptions.split;var a=p&&s&&!s.noSharedTooltip;if(i&&(o||i!==h.hoverPoint||t&&t.isHidden)){if((h.hoverPoints||[]).forEach(function(m){c.indexOf(m)===-1&&m.setState()}),h.hoverSeries!==s&&s.onMouseOver(),this.applyInactiveState(c),(c||[]).forEach(function(m){m.setState("hover")}),h.hoverPoint&&h.hoverPoint.firePointEvent("mouseOut"),!i.series)return;h.hoverPoints=c,h.hoverPoint=i,i.firePointEvent("mouseOver",void 0,function(){t&&i&&t.refresh(a?c:i,r)})}else d&&t&&!t.isHidden&&(o=t.getAnchor([{}],r),h.isInsidePlot(o[0],o[1],{visiblePlotOnly:!0})&&t.updatePosition({plotX:o[0],plotY:o[1]}));this.unDocMouseMove||(this.unDocMouseMove=z(h.container.ownerDocument,"mousemove",function(m){var P=tt[k.hoverChartIndex];P&&P.pointer.onDocumentMouseMove(m)}),this.eventsToUnbind.push(this.unDocMouseMove)),h.axes.forEach(function(m){var P=E((m.crosshair||{}).snap,!0),Y;P&&((Y=h.hoverPoint)&&Y.series[m.coll]===m||(Y=y(c,function(R){return R.series&&R.series[m.coll]===m}))),Y||!P?m.drawCrosshair(r,Y):m.hideCrosshair()})},k.prototype.scaleGroups=function(r,d){var o=this.chart;o.series.forEach(function(h){var t=r||h.getPlotBox();h.group&&(h.xAxis&&h.xAxis.zoomEnabled||o.mapView)&&(h.group.attr(t),h.markerGroup&&(h.markerGroup.attr(t),h.markerGroup.clip(d?o.clipRect:null)),h.dataLabelsGroup&&h.dataLabelsGroup.attr(t))}),o.clipRect.attr(d||o.clipBox)},k.prototype.setDOMEvents=function(){var r=this,d=this.chart.container,o=d.ownerDocument;d.onmousedown=this.onContainerMouseDown.bind(this),d.onmousemove=this.onContainerMouseMove.bind(this),d.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(z(d,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(z(d,"mouseleave",this.onContainerMouseLeave.bind(this))),k.unbindDocumentMouseUp||(k.unbindDocumentMouseUp=z(o,"mouseup",this.onDocumentMouseUp.bind(this)));for(var h=this.chart.renderTo.parentElement;h&&h.tagName!=="BODY";)this.eventsToUnbind.push(z(h,"scroll",function(){delete r.chartPosition})),h=h.parentElement;N.hasTouch&&(this.eventsToUnbind.push(z(d,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(z(d,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),k.unbindDocumentTouchEnd||(k.unbindDocumentTouchEnd=z(o,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},k.prototype.setHoverChartIndex=function(){var r=this.chart,d=N.charts[E(k.hoverChartIndex,-1)];d&&d!==r&&d.pointer.onContainerMouseLeave({relatedTarget:r.container}),d&&d.mouseIsDown||(k.hoverChartIndex=r.index)},k.prototype.touch=function(r,d){var o=this.chart,h;if(this.setHoverChartIndex(),r.touches.length===1)if(r=this.normalize(r),(h=o.isInsidePlot(r.chartX-o.plotLeft,r.chartY-o.plotTop,{visiblePlotOnly:!0}))&&!o.openMenu){if(d&&this.runPointActions(r),r.type==="touchmove"){d=this.pinchDown;var t=d[0]?4<=Math.sqrt(Math.pow(d[0].chartX-r.chartX,2)+Math.pow(d[0].chartY-r.chartY,2)):!1}E(t,!0)&&this.pinch(r)}else d&&this.reset();else r.touches.length===2&&this.pinch(r)},k.prototype.touchSelect=function(r){return!(!this.chart.options.chart.zooming.singleTouch||!r.touches||r.touches.length!==1)},k.prototype.zoomOption=function(r){var d=this.chart,o=d.options.chart;d=d.inverted;var h=o.zooming.type||"";/touch/.test(r.type)&&(h=E(o.zooming.pinchType,h)),this.zoomX=r=/x/.test(h),this.zoomY=o=/y/.test(h),this.zoomHor=r&&!d||o&&d,this.zoomVert=o&&!d||r&&d,this.hasZoom=r||o},k}(),D}),ht(_,"Core/MSPointer.js",[_["Core/Globals.js"],_["Core/Pointer.js"],_["Core/Utilities.js"]],function(D,N,F){function J(){var w=[];return w.item=function(E){return this[E]},y(S,function(E){w.push({pageX:E.pageX,pageY:E.pageY,target:E.target})}),w}function q(w,E,I,k){var r=K[N.hoverChartIndex||NaN];w.pointerType!=="touch"&&w.pointerType!==w.MSPOINTER_TYPE_TOUCH||!r||(r=r.pointer,k(w),r[E]({type:I,target:w.currentTarget,preventDefault:j,touches:J()}))}var tt=this&&this.__extends||function(){var w=function(E,I){return w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(k,r){k.__proto__=r}||function(k,r){for(var d in r)r.hasOwnProperty(d)&&(k[d]=r[d])},w(E,I)};return function(E,I){function k(){this.constructor=E}w(E,I),E.prototype=I===null?Object.create(I):(k.prototype=I.prototype,new k)}}(),K=D.charts,z=D.doc,j=D.noop,A=D.win,g=F.addEvent,f=F.css,y=F.objectEach,C=F.pick,v=F.removeEvent,S={},M=!!A.PointerEvent;return function(w){function E(){return w!==null&&w.apply(this,arguments)||this}return tt(E,w),E.isRequired=function(){return!(D.hasTouch||!A.PointerEvent&&!A.MSPointerEvent)},E.prototype.batchMSEvents=function(I){I(this.chart.container,M?"pointerdown":"MSPointerDown",this.onContainerPointerDown),I(this.chart.container,M?"pointermove":"MSPointerMove",this.onContainerPointerMove),I(z,M?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},E.prototype.destroy=function(){this.batchMSEvents(v),w.prototype.destroy.call(this)},E.prototype.init=function(I,k){w.prototype.init.call(this,I,k),this.hasZoom&&f(I.container,{"-ms-touch-action":"none","touch-action":"none"})},E.prototype.onContainerPointerDown=function(I){q(I,"onContainerTouchStart","touchstart",function(k){S[k.pointerId]={pageX:k.pageX,pageY:k.pageY,target:k.currentTarget}})},E.prototype.onContainerPointerMove=function(I){q(I,"onContainerTouchMove","touchmove",function(k){S[k.pointerId]={pageX:k.pageX,pageY:k.pageY},S[k.pointerId].target||(S[k.pointerId].target=k.currentTarget)})},E.prototype.onDocumentPointerUp=function(I){q(I,"onDocumentTouchEnd","touchend",function(k){delete S[k.pointerId]})},E.prototype.setDOMEvents=function(){var I=this.chart.tooltip;w.prototype.setDOMEvents.call(this),(this.hasZoom||C(I&&I.options.followTouchMove,!0))&&this.batchMSEvents(g)},E}(N)}),ht(_,"Core/Legend/Legend.js",[_["Core/Animation/AnimationUtilities.js"],_["Core/FormatUtilities.js"],_["Core/Globals.js"],_["Core/Series/Point.js"],_["Core/Renderer/RendererUtilities.js"],_["Core/Utilities.js"]],function(D,N,F,J,q,tt){var K=D.animObject,z=D.setAnimation,j=N.format,A=F.marginNames,g=q.distribute,f=tt.addEvent,y=tt.createElement,C=tt.css,v=tt.defined,S=tt.discardElement,M=tt.find,w=tt.fireEvent,E=tt.isNumber,I=tt.merge,k=tt.pick,r=tt.relativeLength,d=tt.stableSort,o=tt.syncTimeout;return D=function(){function h(t,p){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options=void 0,this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=t,this.init(t,p)}return h.prototype.init=function(t,p){this.chart=t,this.setOptions(p),p.enabled&&(this.render(),f(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=f(this.chart,"render",function(){this.legend.proximatePositions(),this.legend.positionItems()}):this.unchartrender&&this.unchartrender())},h.prototype.setOptions=function(t){var p=k(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=I(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop||0,this.itemMarginBottom=t.itemMarginBottom||0,this.padding=p,this.initialItemY=p-5,this.symbolWidth=k(t.symbolWidth,16),this.pages=[],this.proximate=t.layout==="proximate"&&!this.chart.inverted,this.baseline=void 0},h.prototype.update=function(t,p){var i=this.chart;this.setOptions(I(!0,this.options,t)),this.destroy(),i.isDirtyLegend=i.isDirtyBox=!0,k(p,!0)&&i.redraw(),w(this,"afterUpdate")},h.prototype.colorizeItem=function(t,p){var i=t.legendItem||{},s=i.group,c=i.label,a=i.line;if(i=i.symbol,s&&s[p?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var m=this.options;s=this.itemHiddenStyle.color,m=p?m.itemStyle.color:s;var P=p&&t.color||s,Y=t.options&&t.options.marker,R={fill:P};c&&c.css({fill:m,color:m}),a&&a.attr({stroke:P}),i&&(Y&&i.isMarker&&(R=t.pointAttribs(),p||(R.stroke=R.fill=s)),i.attr(R))}w(this,"afterColorizeItem",{item:t,visible:p})},h.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},h.prototype.positionItem=function(t){var p=this,i=t.legendItem||{},s=i.group,c=i.x;c=c===void 0?0:c,i=i.y,i=i===void 0?0:i;var a=this.options,m=a.symbolPadding,P=!a.rtl;a=t.checkbox,s&&s.element&&(m={translateX:P?c:this.legendWidth-c-2*m-4,translateY:i},s[v(s.translateY)?"animate":"attr"](m,void 0,function(){w(p,"afterPositionItem",{item:t})})),a&&(a.x=c,a.y=i)},h.prototype.destroyItem=function(t){for(var p=t.checkbox,i=t.legendItem||{},s=0,c=["group","label","line","symbol"];s<c.length;s++){var a=c[s];i[a]&&(i[a]=i[a].destroy())}p&&S(p),t.legendItem=void 0},h.prototype.destroy=function(){for(var t=0,p=this.getAllItems();t<p.length;t++)this.destroyItem(p[t]);for(t=0,p="clipRect up down pager nav box title group".split(" ");t<p.length;t++){var i=p[t];this[i]&&(this[i]=this[i].destroy())}this.display=null},h.prototype.positionCheckboxes=function(){var t=this.group&&this.group.alignAttr,p=this.clipHeight||this.legendHeight,i=this.titleHeight;if(t){var s=t.translateY;this.allItems.forEach(function(c){var a=c.checkbox;if(a){var m=s+i+a.y+(this.scrollOffset||0)+3;C(a,{left:t.translateX+c.checkboxOffset+a.x-20+"px",top:m+"px",display:this.proximate||m>s-6&&m<s+p-6?"":"none"})}},this)}},h.prototype.renderTitle=function(){var t=this.options,p=this.padding,i=t.title,s=0;i.text&&(this.title||(this.title=this.chart.renderer.label(i.text,p-3,p-4,void 0,void 0,void 0,t.useHTML,void 0,"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(),s=t.height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:s})),this.titleHeight=s},h.prototype.setText=function(t){var p=this.options;t.legendItem.label.attr({text:p.labelFormat?j(p.labelFormat,t,this.chart):p.labelFormatter.call(t)})},h.prototype.renderItem=function(t){var p=t.legendItem=t.legendItem||{},i=this.chart,s=i.renderer,c=this.options,a=this.symbolWidth,m=c.symbolPadding||0,P=this.itemStyle,Y=this.itemHiddenStyle,R=c.layout==="horizontal"?k(c.itemDistance,20):0,e=!c.rtl,l=!t.series,T=!l&&t.series.drawLegendSymbol?t.series:t,b=T.options,O=this.createCheckboxForItem&&b&&b.showCheckbox,n=c.useHTML,x=t.options.className,u=p.label;b=a+m+R+(O?20:0),u||(p.group=s.g("legend-item").addClass("highcharts-"+T.type+"-series highcharts-color-"+t.colorIndex+(x?" "+x:"")+(l?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),p.label=u=s.text("",e?a+m:-m,this.baseline||0,n),i.styledMode||u.css(I(t.visible?P:Y)),u.attr({align:e?"left":"right",zIndex:2}).add(p.group),this.baseline||(this.fontMetrics=s.fontMetrics(i.styledMode?12:P.fontSize,u),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,u.attr("y",this.baseline),this.symbolHeight=c.symbolHeight||this.fontMetrics.f,c.squareSymbol&&(this.symbolWidth=k(c.symbolWidth,Math.max(this.symbolHeight,16)),b=this.symbolWidth+m+R+(O?20:0),e&&u.attr("x",this.symbolWidth+m))),T.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,u,n)),O&&!t.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t),this.colorizeItem(t,t.visible),!i.styledMode&&P.width||u.css({width:(c.itemWidth||this.widthOption||i.spacingBox.width)-b+"px"}),this.setText(t),i=u.getBBox(),s=this.fontMetrics&&this.fontMetrics.h||0,t.itemWidth=t.checkboxOffset=c.itemWidth||p.labelWidth||i.width+b,this.maxItemWidth=Math.max(this.maxItemWidth,t.itemWidth),this.totalItemWidth+=t.itemWidth,this.itemHeight=t.itemHeight=Math.round(p.labelHeight||(i.height>1.5*s?i.height:s))},h.prototype.layoutItem=function(t){var p=this.options,i=this.padding,s=p.layout==="horizontal",c=t.itemHeight,a=this.itemMarginBottom,m=this.itemMarginTop,P=s?k(p.itemDistance,20):0,Y=this.maxLegendWidth;p=p.alignColumns&&this.totalItemWidth>Y?this.maxItemWidth:t.itemWidth;var R=t.legendItem||{};s&&this.itemX-i+p>Y&&(this.itemX=i,this.lastLineHeight&&(this.itemY+=m+this.lastLineHeight+a),this.lastLineHeight=0),this.lastItemY=m+this.itemY+a,this.lastLineHeight=Math.max(c,this.lastLineHeight),R.x=this.itemX,R.y=this.itemY,s?this.itemX+=p:(this.itemY+=m+c+a,this.lastLineHeight=c),this.offsetWidth=this.widthOption||Math.max((s?this.itemX-i-(t.checkbox?0:P):p)+i,this.offsetWidth)},h.prototype.getAllItems=function(){var t=[];return this.chart.series.forEach(function(p){var i=p&&p.options;p&&k(i.showInLegend,v(i.linkedTo)?!1:void 0,!0)&&(t=t.concat((p.legendItem||{}).labels||(i.legendType==="point"?p.data:p)))}),w(this,"afterGetAllItems",{allItems:t}),t},h.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)},h.prototype.adjustMargins=function(t,p){var i=this.chart,s=this.options,c=this.getAlignment();c&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(a,m){a.test(c)&&!v(t[m])&&(i[A[m]]=Math.max(i[A[m]],i.legend[(m+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][m]*s[m%2?"x":"y"]+k(s.margin,12)+p[m]+(i.titleOffset[m]||0)))})},h.prototype.proximatePositions=function(){var t=this.chart,p=[],i=this.options.align==="left";this.allItems.forEach(function(P){var Y,R=i;if(P.yAxis){P.xAxis.options.reversed&&(R=!R),P.points&&(Y=M(R?P.points:P.points.slice(0).reverse(),function(l){return E(l.plotY)})),R=this.itemMarginTop+P.legendItem.label.getBBox().height+this.itemMarginBottom;var e=P.yAxis.top-t.plotTop;P.visible?(Y=Y?Y.plotY:P.yAxis.height,Y+=e-.3*R):Y=e+P.yAxis.height,p.push({target:Y,size:R,item:P})}},this);for(var s,c=0,a=g(p,t.plotHeight);c<a.length;c++){var m=a[c];s=m.item.legendItem||{},E(m.pos)&&(s.y=t.plotTop-t.spacing[0]+m.pos)}},h.prototype.render=function(){var t=this.chart,p=t.renderer,i=this.options,s=this.padding,c=this.getAllItems(),a=this.group,m=this.box;this.itemX=s,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=r(i.width,t.spacingBox.width-s);var P=t.spacingBox.width-2*s-i.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(P/=2),this.maxLegendWidth=this.widthOption||P,a||(this.group=a=p.g("legend").addClass(i.className||"").attr({zIndex:7}).add(),this.contentGroup=p.g().attr({zIndex:1}).add(a),this.scrollGroup=p.g().add(this.contentGroup)),this.renderTitle(),d(c,function(R,e){return(R.options&&R.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)}),i.reversed&&c.reverse(),this.allItems=c,this.display=P=!!c.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,c.forEach(this.renderItem,this),c.forEach(this.layoutItem,this),c=(this.widthOption||this.offsetWidth)+s;var Y=this.lastItemY+this.lastLineHeight+this.titleHeight;Y=this.handleOverflow(Y),Y+=s,m||(this.box=m=p.rect().addClass("highcharts-legend-box").attr({r:i.borderRadius}).add(a)),t.styledMode||m.attr({stroke:i.borderColor,"stroke-width":i.borderWidth||0,fill:i.backgroundColor||"none"}).shadow(i.shadow),0<c&&0<Y&&m[m.placed?"animate":"attr"](m.crisp.call({},{x:0,y:0,width:c,height:Y},m.strokeWidth())),a[P?"show":"hide"](),t.styledMode&&a.getStyle("display")==="none"&&(c=Y=0),this.legendWidth=c,this.legendHeight=Y,P&&this.align(),this.proximate||this.positionItems(),w(this,"afterRender")},h.prototype.align=function(t){t===void 0&&(t=this.chart.spacingBox);var p=this.chart,i=this.options,s=t.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<p.titleOffset[0]?s+=p.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<p.titleOffset[2]&&(s-=p.titleOffset[2]),s!==t.y&&(t=I(t,{y:s})),p.hasRendered||(this.group.placed=!1),this.group.align(I(i,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":i.verticalAlign}),!0,t)},h.prototype.handleOverflow=function(t){var p=this,i=this.chart,s=i.renderer,c=this.options,a=c.y,m=c.verticalAlign==="top",P=this.padding,Y=c.maxHeight,R=c.navigation,e=k(R.animation,!0),l=R.arrowSize||12,T=this.pages,b=this.allItems,O=function(G){typeof G=="number"?H.attr({height:G}):H&&(p.clipRect=H.destroy(),p.contentGroup.clip()),p.contentGroup.div&&(p.contentGroup.div.style.clip=G?"rect("+P+"px,9999px,"+(P+G)+"px,0)":"auto")},n=function(G){return p[G]=s.circle(0,0,1.3*l).translate(l/2,l/2).add(L),i.styledMode||p[G].attr("fill","rgba(0,0,0,0.0001)"),p[G]},x,u,B;a=i.spacingBox.height+(m?-a:a)-P;var L=this.nav,H=this.clipRect;return c.layout!=="horizontal"||c.verticalAlign==="middle"||c.floating||(a/=2),Y&&(a=Math.min(a,Y)),T.length=0,t&&0<a&&t>a&&R.enabled!==!1?(this.clipHeight=x=Math.max(a-20-this.titleHeight-P,0),this.currentPage=k(this.currentPage,1),this.fullHeight=t,b.forEach(function(G,U){B=G.legendItem||{},G=B.y||0;var V=Math.round(B.label.getBBox().height),rt=T.length;(!rt||G-T[rt-1]>x&&(u||G)!==T[rt-1])&&(T.push(u||G),rt++),B.pageIx=rt-1,u&&((b[U-1].legendItem||{}).pageIx=rt-1),U===b.length-1&&G+V-T[rt-1]>x&&V<=x&&(T.push(G),B.pageIx=rt),G!==u&&(u=G)}),H||(H=p.clipRect=s.clipRect(0,P,9999,0),p.contentGroup.clip(H)),O(x),L||(this.nav=L=s.g().attr({zIndex:1}).add(this.group),this.up=s.symbol("triangle",0,0,l,l).add(L),n("upTracker").on("click",function(){p.scroll(-1,e)}),this.pager=s.text("",15,10).addClass("highcharts-legend-navigation"),!i.styledMode&&R.style&&this.pager.css(R.style),this.pager.add(L),this.down=s.symbol("triangle-down",0,0,l,l).add(L),n("downTracker").on("click",function(){p.scroll(1,e)})),p.scroll(0),t=a):L&&(O(),this.nav=L.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},h.prototype.scroll=function(t,p){var i=this,s=this.chart,c=this.pages,a=c.length,m=this.clipHeight,P=this.options.navigation,Y=this.pager,R=this.padding,e=this.currentPage+t;e>a&&(e=a),0<e&&(typeof p<"u"&&z(p,s),this.nav.attr({translateX:R,translateY:m+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach(function(l){l.attr({class:e===1?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),Y.attr({text:e+"/"+a}),[this.down,this.downTracker].forEach(function(l){l.attr({x:18+this.pager.getBBox().width,class:e===a?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),s.styledMode||(this.up.attr({fill:e===1?P.inactiveColor:P.activeColor}),this.upTracker.css({cursor:e===1?"default":"pointer"}),this.down.attr({fill:e===a?P.inactiveColor:P.activeColor}),this.downTracker.css({cursor:e===a?"default":"pointer"})),this.scrollOffset=-c[e-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=e,this.positionCheckboxes(),t=K(k(p,s.renderer.globalAnimation,!0)),o(function(){w(i,"afterScroll",{currentPage:e})},t.duration))},h.prototype.setItemEvents=function(t,p,i){var s=this,c=t.legendItem||{},a=s.chart.renderer.boxWrapper,m=t instanceof J,P="highcharts-legend-"+(m?"point":"series")+"-active",Y=s.chart.styledMode,R=function(l){s.allItems.forEach(function(T){t!==T&&[T].concat(T.linkedSeries||[]).forEach(function(b){b.setState(l,!m)})})},e=0;for(i=i?[p,c.symbol]:[c.group];e<i.length;e++)(c=i[e])&&c.on("mouseover",function(){t.visible&&R("inactive"),t.setState("hover"),t.visible&&a.addClass(P),Y||p.css(s.options.itemHoverStyle)}).on("mouseout",function(){s.chart.styledMode||p.css(I(t.visible?s.itemStyle:s.itemHiddenStyle)),R(""),a.removeClass(P),t.setState()}).on("click",function(l){var T=function(){t.setVisible&&t.setVisible(),R(t.visible?"inactive":"")};a.removeClass(P),l={browserEvent:l},t.firePointEvent?t.firePointEvent("legendItemClick",l,T):w(t,"legendItemClick",l,T)})},h.prototype.createCheckboxForItem=function(t){t.checkbox=y("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),f(t.checkbox,"click",function(p){w(t.series||t,"checkboxClick",{checked:p.target.checked,item:t},function(){t.select()})})},h}(),D}),ht(_,"Core/Series/SeriesRegistry.js",[_["Core/Globals.js"],_["Core/Defaults.js"],_["Core/Series/Point.js"],_["Core/Utilities.js"]],function(D,N,F,J){var q=N.defaultOptions,tt=J.extendClass,K=J.merge,z;return function(j){function A(g,f){var y=q.plotOptions||{},C=f.defaultOptions,v=f.prototype;v.type=g,v.pointClass||(v.pointClass=F),C&&(y[g]=C),j.seriesTypes[g]=f}j.seriesTypes=D.seriesTypes,j.registerSeriesType=A,j.seriesType=function(g,f,y,C,v){var S=q.plotOptions||{};return f=f||"",S[g]=K(S[f],y),A(g,tt(j.seriesTypes[f]||function(){},C)),j.seriesTypes[g].prototype.type=g,v&&(j.seriesTypes[g].prototype.pointClass=tt(F,v)),j.seriesTypes[g]}}(z||(z={})),z}),ht(_,"Core/Chart/Chart.js",[_["Core/Animation/AnimationUtilities.js"],_["Core/Axis/Axis.js"],_["Core/Defaults.js"],_["Core/FormatUtilities.js"],_["Core/Foundation.js"],_["Core/Globals.js"],_["Core/Legend/Legend.js"],_["Core/MSPointer.js"],_["Core/Pointer.js"],_["Core/Renderer/RendererRegistry.js"],_["Core/Series/SeriesRegistry.js"],_["Core/Renderer/SVG/SVGRenderer.js"],_["Core/Time.js"],_["Core/Utilities.js"],_["Core/Renderer/HTML/AST.js"]],function(D,N,F,J,q,tt,K,z,j,A,g,f,y,C,v){var S=D.animate,M=D.animObject,w=D.setAnimation,E=F.defaultOptions,I=F.defaultTime,k=J.numberFormat,r=q.registerEventOptions,d=tt.charts,o=tt.doc,h=tt.marginNames,t=tt.svg,p=tt.win,i=g.seriesTypes,s=C.addEvent,c=C.attr,a=C.cleanRecursively,m=C.createElement,P=C.css,Y=C.defined,R=C.discardElement,e=C.erase,l=C.error,T=C.extend,b=C.find,O=C.fireEvent,n=C.getStyle,x=C.isArray,u=C.isNumber,B=C.isObject,L=C.isString,H=C.merge,G=C.objectEach,U=C.pick,V=C.pInt,rt=C.relativeLength,st=C.removeEvent,ot=C.splat,et=C.syncTimeout,at=C.uniqueKey;return D=function(){function $(W,X,Z){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.eventOptions=this.container=this.colorCounter=this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0,this.sharedClips={},this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=this.spacing=void 0,this.getArgs(W,X,Z)}return $.chart=function(W,X,Z){return new $(W,X,Z)},$.prototype.getArgs=function(W,X,Z){L(W)||W.nodeName?(this.renderTo=W,this.init(X,Z)):this.init(W,X)},$.prototype.init=function(W,X){var Z=W.plotOptions||{};O(this,"init",{args:arguments},function(){var Q=H(E,W),it=Q.chart;G(Q.plotOptions,function(lt,ct){B(lt)&&(lt.tooltip=Z[ct]&&H(Z[ct].tooltip)||void 0)}),Q.tooltip.userOptions=W.chart&&W.chart.forExport&&W.tooltip.userOptions||W.tooltip,this.userOptions=W,this.margin=[],this.spacing=[],this.bounds={h:{},v:{}},this.labelCollectors=[],this.callback=X,this.isResizing=0;var nt=it.zooming=it.zooming||{};W.chart&&!W.chart.zooming&&(nt.resetButton=it.resetZoomButton),nt.key=U(nt.key,it.zoomKey),nt.pinchType=U(nt.pinchType,it.pinchType),nt.singleTouch=U(nt.singleTouch,it.zoomBySingleTouch),nt.type=U(nt.type,it.zoomType),this.options=Q,this.axes=[],this.series=[],this.time=W.time&&Object.keys(W.time).length?new y(W.time):tt.time,this.numberFormatter=it.numberFormatter||k,this.styledMode=it.styledMode,this.hasCartesianSeries=it.showAxes,this.index=d.length,d.push(this),tt.chartCount++,r(this,it),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,O(this,"afterInit"),this.firstRender()})},$.prototype.initSeries=function(W){var X=this.options.chart;X=W.type||X.type||X.defaultSeriesType;var Z=i[X];return Z||l(17,!0,this,{missingModuleFor:X}),X=new Z,typeof X.init=="function"&&X.init(this,W),X},$.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach(function(W){W.points||W.data||!W.enabledDataSorting||W.setData(W.options.data,!1)})},$.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort(function(W,X){return W.linkedSeries.length||X.linkedSeries.length?X.linkedSeries.length-W.linkedSeries.length:0})},$.prototype.orderSeries=function(W){var X=this.series;W=W||0;for(var Z=X.length;W<Z;++W)X[W]&&(X[W].index=W,X[W].name=X[W].getName())},$.prototype.isInsidePlot=function(W,X,Z){Z===void 0&&(Z={});var Q=this.inverted,it=this.plotBox,nt=this.plotLeft,lt=this.plotTop,ct=this.scrollablePlotBox,gt=0,pt=0;Z.visiblePlotOnly&&this.scrollingContainer&&(pt=this.scrollingContainer,gt=pt.scrollLeft,pt=pt.scrollTop);var ut=Z.series;if(it=Z.visiblePlotOnly&&ct||it,ct=Z.inverted?X:W,X=Z.inverted?W:X,W={x:ct,y:X,isInsidePlot:!0,options:Z},!Z.ignoreX){var St=ut&&(Q&&!this.polar?ut.yAxis:ut.xAxis)||{pos:nt,len:1/0};ct=Z.paneCoordinates?St.pos+ct:nt+ct,ct>=Math.max(gt+nt,St.pos)&&ct<=Math.min(gt+nt+it.width,St.pos+St.len)||(W.isInsidePlot=!1)}return!Z.ignoreY&&W.isInsidePlot&&(Q=Z.axis&&!Z.axis.isXAxis&&Z.axis||ut&&(Q?ut.xAxis:ut.yAxis)||{pos:lt,len:1/0},Z=Z.paneCoordinates?Q.pos+X:lt+X,Z>=Math.max(pt+lt,Q.pos)&&Z<=Math.min(pt+lt+it.height,Q.pos+Q.len)||(W.isInsidePlot=!1)),O(this,"afterIsInsidePlot",W),W.isInsidePlot},$.prototype.redraw=function(W){O(this,"beforeRedraw");var X=this.hasCartesianSeries?this.axes:this.colorAxis||[],Z=this.series,Q=this.pointer,it=this.legend,nt=this.userOptions.legend,lt=this.renderer,ct=lt.isHidden(),gt=[],pt=this.isDirtyBox,ut=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),w(this.hasRendered?W:!1,this),ct&&this.temporaryDisplay(),this.layOutTitles(),W=Z.length;W--;){var St=Z[W];if(St.options.stacking||St.options.centerInCategory){var mt=!0;if(St.isDirty){var vt=!0;break}}}if(vt)for(W=Z.length;W--;)St=Z[W],St.options.stacking&&(St.isDirty=!0);Z.forEach(function(ft){ft.isDirty&&(ft.options.legendType==="point"?(typeof ft.updateTotals=="function"&&ft.updateTotals(),ut=!0):nt&&(nt.labelFormatter||nt.labelFormat)&&(ut=!0)),ft.isDirtyData&&O(ft,"updatedData")}),ut&&it&&it.options.enabled&&(it.render(),this.isDirtyLegend=!1),mt&&this.getStacks(),X.forEach(function(ft){ft.updateNames(),ft.setScale()}),this.getMargins(),X.forEach(function(ft){ft.isDirty&&(pt=!0)}),X.forEach(function(ft){var Tt=ft.min+","+ft.max;ft.extKey!==Tt&&(ft.extKey=Tt,gt.push(function(){O(ft,"afterSetExtremes",T(ft.eventArgs,ft.getExtremes())),delete ft.eventArgs})),(pt||mt)&&ft.redraw()}),pt&&this.drawChartBox(),O(this,"predraw"),Z.forEach(function(ft){(pt||ft.isDirty)&&ft.visible&&ft.redraw(),ft.isDirtyData=!1}),Q&&Q.reset(!0),lt.draw(),O(this,"redraw"),O(this,"render"),ct&&this.temporaryDisplay(!0),gt.forEach(function(ft){ft.call()})},$.prototype.get=function(W){function X(nt){return nt.id===W||nt.options&&nt.options.id===W}for(var Z=this.series,Q=b(this.axes,X)||b(this.series,X),it=0;!Q&&it<Z.length;it++)Q=b(Z[it].points||[],X);return Q},$.prototype.getAxes=function(){var W=this,X=this.options,Z=X.xAxis=ot(X.xAxis||{});X=X.yAxis=ot(X.yAxis||{}),O(this,"getAxes"),Z.forEach(function(Q,it){Q.index=it,Q.isX=!0}),X.forEach(function(Q,it){Q.index=it}),Z.concat(X).forEach(function(Q){new N(W,Q)}),O(this,"afterGetAxes")},$.prototype.getSelectedPoints=function(){return this.series.reduce(function(W,X){return X.getPointsCollection().forEach(function(Z){U(Z.selectedStaging,Z.selected)&&W.push(Z)}),W},[])},$.prototype.getSelectedSeries=function(){return this.series.filter(function(W){return W.selected})},$.prototype.setTitle=function(W,X,Z){this.applyDescription("title",W),this.applyDescription("subtitle",X),this.applyDescription("caption",void 0),this.layOutTitles(Z)},$.prototype.applyDescription=function(W,X){var Z=this,Q=W==="title"?{color:"#333333",fontSize:this.options.isStock?"16px":"18px"}:{color:"#666666"};Q=this.options[W]=H(!this.styledMode&&{style:Q},this.options[W],X);var it=this[W];it&&X&&(this[W]=it=it.destroy()),Q&&!it&&(it=this.renderer.text(Q.text,0,0,Q.useHTML).attr({align:Q.align,class:"highcharts-"+W,zIndex:Q.zIndex||4}).add(),it.update=function(nt){Z[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[W]](nt)},this.styledMode||it.css(Q.style),this[W]=it)},$.prototype.layOutTitles=function(W){var X=[0,0,0],Z=this.renderer,Q=this.spacingBox;["title","subtitle","caption"].forEach(function(nt){var lt=this[nt],ct=this.options[nt],gt=ct.verticalAlign||"top";nt=nt==="title"?gt==="top"?-3:0:gt==="top"?X[0]+2:0;var pt;if(lt){this.styledMode||(pt=ct.style&&ct.style.fontSize),pt=Z.fontMetrics(pt,lt).b,lt.css({width:(ct.width||Q.width+(ct.widthAdjust||0))+"px"});var ut=Math.round(lt.getBBox(ct.useHTML).height);lt.align(T({y:gt==="bottom"?pt:nt+pt,height:ut},ct),!1,"spacingBox"),ct.floating||(gt==="top"?X[0]=Math.ceil(X[0]+ut):gt==="bottom"&&(X[2]=Math.ceil(X[2]+ut)))}},this),X[0]&&(this.options.title.verticalAlign||"top")==="top"&&(X[0]+=this.options.title.margin),X[2]&&this.options.caption.verticalAlign==="bottom"&&(X[2]+=this.options.caption.margin);var it=!this.titleOffset||this.titleOffset.join(",")!==X.join(",");this.titleOffset=X,O(this,"afterLayOutTitles"),!this.isDirtyBox&&it&&(this.isDirtyBox=this.isDirtyLegend=it,this.hasRendered&&U(W,!0)&&this.isDirtyBox&&this.redraw())},$.prototype.getChartSize=function(){var W=this.options.chart,X=W.width;W=W.height;var Z=this.renderTo;Y(X)||(this.containerWidth=n(Z,"width")),Y(W)||(this.containerHeight=n(Z,"height")),this.chartWidth=Math.max(0,X||this.containerWidth||600),this.chartHeight=Math.max(0,rt(W,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))},$.prototype.temporaryDisplay=function(W){var X=this.renderTo;if(W)for(;X&&X.style;)X.hcOrigStyle&&(P(X,X.hcOrigStyle),delete X.hcOrigStyle),X.hcOrigDetached&&(o.body.removeChild(X),X.hcOrigDetached=!1),X=X.parentNode;else for(;X&&X.style&&(o.body.contains(X)||X.parentNode||(X.hcOrigDetached=!0,o.body.appendChild(X)),(n(X,"display",!1)==="none"||X.hcOricDetached)&&(X.hcOrigStyle={display:X.style.display,height:X.style.height,overflow:X.style.overflow},W={display:"block",overflow:"hidden"},X!==this.renderTo&&(W.height=0),P(X,W),X.offsetWidth||X.style.setProperty("display","block","important")),X=X.parentNode,X!==o.body););},$.prototype.setClassName=function(W){this.container.className="highcharts-container "+(W||"")},$.prototype.getContainer=function(){var W=this.options,X=W.chart,Z=at(),Q,it=this.renderTo;it||(this.renderTo=it=X.renderTo),L(it)&&(this.renderTo=it=o.getElementById(it)),it||l(13,!0,this);var nt=V(c(it,"data-highcharts-chart"));u(nt)&&d[nt]&&d[nt].hasRendered&&d[nt].destroy(),c(it,"data-highcharts-chart",this.index),it.innerHTML=v.emptyHTML,X.skipClone||it.offsetWidth||this.temporaryDisplay(),this.getChartSize(),nt=this.chartWidth;var lt=this.chartHeight;if(P(it,{overflow:"hidden"}),this.styledMode||(Q=T({position:"relative",overflow:"hidden",width:nt+"px",height:lt+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},X.style||{})),this.container=Z=m("div",{id:Z},Q,it),this._cursor=Z.style.cursor,this.renderer=new(X.renderer||!t?A.getRendererType(X.renderer):f)(Z,nt,lt,void 0,X.forExport,W.exporting&&W.exporting.allowHTML,this.styledMode),w(void 0,this),this.setClassName(X.className),this.styledMode)for(var ct in W.defs)this.renderer.definition(W.defs[ct]);else this.renderer.setStyle(X.style);this.renderer.chartIndex=this.index,O(this,"afterGetContainer")},$.prototype.getMargins=function(W){var X=this.spacing,Z=this.margin,Q=this.titleOffset;this.resetMargins(),Q[0]&&!Y(Z[0])&&(this.plotTop=Math.max(this.plotTop,Q[0]+X[0])),Q[2]&&!Y(Z[2])&&(this.marginBottom=Math.max(this.marginBottom,Q[2]+X[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(Z,X),O(this,"getMargins"),W||this.getAxisMargins()},$.prototype.getAxisMargins=function(){var W=this,X=W.axisOffset=[0,0,0,0],Z=W.colorAxis,Q=W.margin,it=function(nt){nt.forEach(function(lt){lt.visible&<.getOffset()})};W.hasCartesianSeries?it(W.axes):Z&&Z.length&&it(Z),h.forEach(function(nt,lt){Y(Q[lt])||(W[nt]+=X[lt])}),W.setChartSize()},$.prototype.reflow=function(W){var X=this,Z=X.options.chart,Q=X.renderTo,it=Y(Z.width)&&Y(Z.height),nt=Z.width||n(Q,"width");Z=Z.height||n(Q,"height"),Q=W?W.target:p,delete X.pointer.chartPosition,!it&&!X.isPrinting&&nt&&Z&&(Q===p||Q===o)&&((nt!==X.containerWidth||Z!==X.containerHeight)&&(C.clearTimeout(X.reflowTimeout),X.reflowTimeout=et(function(){X.container&&X.setSize(void 0,void 0,!1)},W?100:0)),X.containerWidth=nt,X.containerHeight=Z)},$.prototype.setReflow=function(W){var X=this;W===!1||this.unbindReflow?W===!1&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=s(p,"resize",function(Z){X.options&&X.reflow(Z)}),s(this,"destroy",this.unbindReflow))},$.prototype.setSize=function(W,X,Z){var Q=this,it=Q.renderer;Q.isResizing+=1,w(Z,Q),Z=it.globalAnimation,Q.oldChartHeight=Q.chartHeight,Q.oldChartWidth=Q.chartWidth,typeof W<"u"&&(Q.options.chart.width=W),typeof X<"u"&&(Q.options.chart.height=X),Q.getChartSize(),Q.styledMode||(Z?S:P)(Q.container,{width:Q.chartWidth+"px",height:Q.chartHeight+"px"},Z),Q.setChartSize(!0),it.setSize(Q.chartWidth,Q.chartHeight,Z),Q.axes.forEach(function(nt){nt.isDirty=!0,nt.setScale()}),Q.isDirtyLegend=!0,Q.isDirtyBox=!0,Q.layOutTitles(),Q.getMargins(),Q.redraw(Z),Q.oldChartHeight=null,O(Q,"resize"),et(function(){Q&&O(Q,"endResize",null,function(){--Q.isResizing})},M(Z).duration)},$.prototype.setChartSize=function(W){var X=this.inverted,Z=this.renderer,Q=this.chartWidth,it=this.chartHeight,nt=this.options.chart,lt=this.spacing,ct=this.clipOffset,gt,pt,ut,St;this.plotLeft=gt=Math.round(this.plotLeft),this.plotTop=pt=Math.round(this.plotTop),this.plotWidth=ut=Math.max(0,Math.round(Q-gt-this.marginRight)),this.plotHeight=St=Math.max(0,Math.round(it-pt-this.marginBottom)),this.plotSizeX=X?St:ut,this.plotSizeY=X?ut:St,this.plotBorderWidth=nt.plotBorderWidth||0,this.spacingBox=Z.spacingBox={x:lt[3],y:lt[0],width:Q-lt[3]-lt[1],height:it-lt[0]-lt[2]},this.plotBox=Z.plotBox={x:gt,y:pt,width:ut,height:St},X=2*Math.floor(this.plotBorderWidth/2),Q=Math.ceil(Math.max(X,ct[3])/2),it=Math.ceil(Math.max(X,ct[0])/2),this.clipBox={x:Q,y:it,width:Math.floor(this.plotSizeX-Math.max(X,ct[1])/2-Q),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(X,ct[2])/2-it))},W||(this.axes.forEach(function(mt){mt.setAxisSize(),mt.setAxisTranslation()}),Z.alignElements()),O(this,"afterSetChartSize",{skipAxes:W})},$.prototype.resetMargins=function(){O(this,"resetMargins");var W=this,X=W.options.chart;["margin","spacing"].forEach(function(Z){var Q=X[Z],it=B(Q)?Q:[Q,Q,Q,Q];["Top","Right","Bottom","Left"].forEach(function(nt,lt){W[Z][lt]=U(X[Z+nt],it[lt])})}),h.forEach(function(Z,Q){W[Z]=U(W.margin[Q],W.spacing[Q])}),W.axisOffset=[0,0,0,0],W.clipOffset=[0,0,0,0]},$.prototype.drawChartBox=function(){var W=this.options.chart,X=this.renderer,Z=this.chartWidth,Q=this.chartHeight,it=this.styledMode,nt=this.plotBGImage,lt=W.backgroundColor,ct=W.plotBackgroundColor,gt=W.plotBackgroundImage,pt=this.plotLeft,ut=this.plotTop,St=this.plotWidth,mt=this.plotHeight,vt=this.plotBox,ft=this.clipRect,Tt=this.clipBox,wt=this.chartBackground,Ct=this.plotBackground,Et=this.plotBorder,At,Ot="animate";if(wt||(this.chartBackground=wt=X.rect().addClass("highcharts-background").add(),Ot="attr"),it)var Lt=At=wt.strokeWidth();else Lt=W.borderWidth||0,At=Lt+(W.shadow?8:0),lt={fill:lt||"none"},(Lt||wt["stroke-width"])&&(lt.stroke=W.borderColor,lt["stroke-width"]=Lt),wt.attr(lt).shadow(W.shadow);wt[Ot]({x:At/2,y:At/2,width:Z-At-Lt%2,height:Q-At-Lt%2,r:W.borderRadius}),Ot="animate",Ct||(Ot="attr",this.plotBackground=Ct=X.rect().addClass("highcharts-plot-background").add()),Ct[Ot](vt),it||(Ct.attr({fill:ct||"none"}).shadow(W.plotShadow),gt&&(nt?(gt!==nt.attr("href")&&nt.attr("href",gt),nt.animate(vt)):this.plotBGImage=X.image(gt,pt,ut,St,mt).add())),ft?ft.animate({width:Tt.width,height:Tt.height}):this.clipRect=X.clipRect(Tt),Ot="animate",Et||(Ot="attr",this.plotBorder=Et=X.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),it||Et.attr({stroke:W.plotBorderColor,"stroke-width":W.plotBorderWidth||0,fill:"none"}),Et[Ot](Et.crisp({x:pt,y:ut,width:St,height:mt},-Et.strokeWidth())),this.isDirtyBox=!1,O(this,"afterDrawChartBox")},$.prototype.propFromSeries=function(){var W=this,X=W.options.chart,Z=W.options.series,Q,it,nt;["inverted","angular","polar"].forEach(function(lt){for(it=i[X.type||X.defaultSeriesType],nt=X[lt]||it&&it.prototype[lt],Q=Z&&Z.length;!nt&&Q--;)(it=i[Z[Q].type])&&it.prototype[lt]&&(nt=!0);W[lt]=nt})},$.prototype.linkSeries=function(){var W=this,X=W.series;X.forEach(function(Z){Z.linkedSeries.length=0}),X.forEach(function(Z){var Q=Z.options.linkedTo;L(Q)&&(Q=Q===":previous"?W.series[Z.index-1]:W.get(Q))&&Q.linkedParent!==Z&&(Q.linkedSeries.push(Z),Z.linkedParent=Q,Q.enabledDataSorting&&Z.setDataSortingOptions(),Z.visible=U(Z.options.visible,Q.options.visible,Z.visible))}),O(this,"afterLinkSeries")},$.prototype.renderSeries=function(){this.series.forEach(function(W){W.translate(),W.render()})},$.prototype.renderLabels=function(){var W=this,X=W.options.labels;X.items&&X.items.forEach(function(Z){var Q=T(X.style,Z.style),it=V(Q.left)+W.plotLeft,nt=V(Q.top)+W.plotTop+12;delete Q.left,delete Q.top,W.renderer.text(Z.html,it,nt).attr({zIndex:2}).css(Q).add()})},$.prototype.render=function(){var W=this.axes,X=this.colorAxis,Z=this.renderer,Q=this.options,it=function(pt){pt.forEach(function(ut){ut.visible&&ut.render()})},nt=0;this.setTitle(),this.legend=new K(this,Q.legend),this.getStacks&&this.getStacks(),this.getMargins(!0),this.setChartSize(),Q=this.plotWidth,W.some(function(pt){if(pt.horiz&&pt.visible&&pt.options.labels.enabled&&pt.series.length)return nt=21,!0});var lt=this.plotHeight=Math.max(this.plotHeight-nt,0);W.forEach(function(pt){pt.setScale()}),this.getAxisMargins();var ct=1.1<Q/this.plotWidth,gt=1.05<lt/this.plotHeight;(ct||gt)&&(W.forEach(function(pt){(pt.horiz&&ct||!pt.horiz&>)&&pt.setTickInterval(!0)}),this.getMargins()),this.drawChartBox(),this.hasCartesianSeries?it(W):X&&X.length&&it(X),this.seriesGroup||(this.seriesGroup=Z.g("series-group").attr({zIndex:3}).add()),this.renderSeries(),this.renderLabels(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0},$.prototype.addCredits=function(W){var X=this,Z=H(!0,this.options.credits,W);Z.enabled&&!this.credits&&(this.credits=this.renderer.text(Z.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){Z.href&&(p.location.href=Z.href)}).attr({align:Z.position.align,zIndex:8}),X.styledMode||this.credits.css(Z.style),this.credits.add().align(Z.position),this.credits.update=function(Q){X.credits=X.credits.destroy(),X.addCredits(Q)})},$.prototype.destroy=function(){var W=this,X=W.axes,Z=W.series,Q=W.container,it=Q&&Q.parentNode,nt;for(O(W,"destroy"),W.renderer.forExport?e(d,W):d[W.index]=void 0,tt.chartCount--,W.renderTo.removeAttribute("data-highcharts-chart"),st(W),nt=X.length;nt--;)X[nt]=X[nt].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),nt=Z.length;nt--;)Z[nt]=Z[nt].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach(function(lt){var ct=W[lt];ct&&ct.destroy&&(W[lt]=ct.destroy())}),Q&&(Q.innerHTML=v.emptyHTML,st(Q),it&&R(Q)),G(W,function(lt,ct){delete W[ct]})},$.prototype.firstRender=function(){var W=this,X=W.options;(!W.isReadyToRender||W.isReadyToRender())&&(W.getContainer(),W.resetMargins(),W.setChartSize(),W.propFromSeries(),W.getAxes(),(x(X.series)?X.series:[]).forEach(function(Z){W.initSeries(Z)}),W.linkSeries(),W.setSeriesData(),O(W,"beforeRender"),j&&(z.isRequired()?W.pointer=new z(W,X):W.pointer=new j(W,X)),W.render(),W.pointer.getChartPosition(),!W.renderer.imgCount&&!W.hasLoaded&&W.onload(),W.temporaryDisplay(!0))},$.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach(function(W){W&&typeof this.index<"u"&&W.apply(this,[this])},this),O(this,"load"),O(this,"render"),Y(this.index)&&this.setReflow(this.options.chart.reflow),this.warnIfA11yModuleNotLoaded(),this.hasLoaded=!0},$.prototype.warnIfA11yModuleNotLoaded=function(){var W=this.options,X=this.title;W&&!this.accessibility&&(this.renderer.boxWrapper.attr({role:"img","aria-label":(X&&X.element.textContent||"").replace(/</g,"<")}),W.accessibility&&W.accessibility.enabled===!1||l('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',!1,this))},$.prototype.addSeries=function(W,X,Z){var Q=this,it;return W&&(X=U(X,!0),O(Q,"addSeries",{options:W},function(){it=Q.initSeries(W),Q.isDirtyLegend=!0,Q.linkSeries(),it.enabledDataSorting&&it.setData(W.data,!1),O(Q,"afterAddSeries",{series:it}),X&&Q.redraw(Z)})),it},$.prototype.addAxis=function(W,X,Z,Q){return this.createAxis(X?"xAxis":"yAxis",{axis:W,redraw:Z,animation:Q})},$.prototype.addColorAxis=function(W,X,Z){return this.createAxis("colorAxis",{axis:W,redraw:X,animation:Z})},$.prototype.createAxis=function(W,X){return W=new N(this,H(X.axis,{index:this[W].length,isX:W==="xAxis"})),U(X.redraw,!0)&&this.redraw(X.animation),W},$.prototype.showLoading=function(W){var X=this,Z=X.options,Q=Z.loading,it=function(){nt&&P(nt,{left:X.plotLeft+"px",top:X.plotTop+"px",width:X.plotWidth+"px",height:X.plotHeight+"px"})},nt=X.loadingDiv,lt=X.loadingSpan;nt||(X.loadingDiv=nt=m("div",{className:"highcharts-loading highcharts-loading-hidden"},null,X.container)),lt||(X.loadingSpan=lt=m("span",{className:"highcharts-loading-inner"},null,nt),s(X,"redraw",it)),nt.className="highcharts-loading",v.setElementHTML(lt,U(W,Z.lang.loading,"")),X.styledMode||(P(nt,T(Q.style,{zIndex:10})),P(lt,Q.labelStyle),X.loadingShown||(P(nt,{opacity:0,display:""}),S(nt,{opacity:Q.style.opacity||.5},{duration:Q.showDuration||0}))),X.loadingShown=!0,it()},$.prototype.hideLoading=function(){var W=this.options,X=this.loadingDiv;X&&(X.className="highcharts-loading highcharts-loading-hidden",this.styledMode||S(X,{opacity:0},{duration:W.loading.hideDuration||100,complete:function(){P(X,{display:"none"})}})),this.loadingShown=!1},$.prototype.update=function(W,X,Z,Q){var it=this,nt={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},lt=W.isResponsiveOptions,ct=[],gt,pt;O(it,"update",{options:W}),lt||it.setResponsive(!1,!0),W=a(W,it.options),it.userOptions=H(it.userOptions,W);var ut=W.chart;if(ut){if(H(!0,it.options.chart,ut),"className"in ut&&it.setClassName(ut.className),"reflow"in ut&&it.setReflow(ut.reflow),"inverted"in ut||"polar"in ut||"type"in ut){it.propFromSeries();var St=!0}"alignTicks"in ut&&(St=!0),"events"in ut&&r(this,ut),G(ut,function(mt,vt){it.propsRequireUpdateSeries.indexOf("chart."+vt)!==-1&&(gt=!0),it.propsRequireDirtyBox.indexOf(vt)!==-1&&(it.isDirtyBox=!0),it.propsRequireReflow.indexOf(vt)!==-1&&(lt?it.isDirtyBox=!0:pt=!0)}),!it.styledMode&&ut.style&&it.renderer.setStyle(it.options.chart.style||{})}!it.styledMode&&W.colors&&(this.options.colors=W.colors),W.time&&(this.time===I&&(this.time=new y(W.time)),H(!0,it.options.time,W.time)),G(W,function(mt,vt){it[vt]&&typeof it[vt].update=="function"?it[vt].update(mt,!1):typeof it[nt[vt]]=="function"?it[nt[vt]](mt):vt!=="colors"&&it.collectionsWithUpdate.indexOf(vt)===-1&&H(!0,it.options[vt],W[vt]),vt!=="chart"&&it.propsRequireUpdateSeries.indexOf(vt)!==-1&&(gt=!0)}),this.collectionsWithUpdate.forEach(function(mt){if(W[mt]){var vt=[];it[mt].forEach(function(ft,Tt){ft.options.isInternal||vt.push(U(ft.options.index,Tt))}),ot(W[mt]).forEach(function(ft,Tt){var wt=Y(ft.id),Ct;wt&&(Ct=it.get(ft.id)),!Ct&&it[mt]&&(Ct=it[mt][vt?vt[Tt]:Tt])&&wt&&Y(Ct.options.id)&&(Ct=void 0),Ct&&Ct.coll===mt&&(Ct.update(ft,!1),Z&&(Ct.touched=!0)),!Ct&&Z&&it.collectionsWithInit[mt]&&(it.collectionsWithInit[mt][0].apply(it,[ft].concat(it.collectionsWithInit[mt][1]||[]).concat([!1])).touched=!0)}),Z&&it[mt].forEach(function(ft){ft.touched||ft.options.isInternal?delete ft.touched:ct.push(ft)})}}),ct.forEach(function(mt){mt.chart&&mt.remove&&mt.remove(!1)}),St&&it.axes.forEach(function(mt){mt.update({},!1)}),gt&&it.getSeriesOrderByLinks().forEach(function(mt){mt.chart&&mt.update({},!1)},this),St=ut&&ut.width,ut=ut&&(L(ut.height)?rt(ut.height,St||it.chartWidth):ut.height),pt||u(St)&&St!==it.chartWidth||u(ut)&&ut!==it.chartHeight?it.setSize(St,ut,Q):U(X,!0)&&it.redraw(Q),O(it,"afterUpdate",{options:W,redraw:X,animation:Q})},$.prototype.setSubtitle=function(W,X){this.applyDescription("subtitle",W),this.layOutTitles(X)},$.prototype.setCaption=function(W,X){this.applyDescription("caption",W),this.layOutTitles(X)},$.prototype.showResetZoom=function(){function W(){X.zoomOut()}var X=this,Z=E.lang,Q=X.options.chart.zooming.resetButton,it=Q.theme,nt=Q.relativeTo==="chart"||Q.relativeTo==="spacingBox"?null:"scrollablePlotBox";O(this,"beforeShowResetZoom",null,function(){X.resetZoomButton=X.renderer.button(Z.resetZoom,null,null,W,it).attr({align:Q.position.align,title:Z.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(Q.position,!1,nt)}),O(this,"afterShowResetZoom")},$.prototype.zoomOut=function(){O(this,"selection",{resetSelection:!0},this.zoom)},$.prototype.zoom=function(W){var X=this,Z=X.pointer,Q=!1,it;!W||W.resetSelection?(X.axes.forEach(function(lt){it=lt.zoom()}),Z.initiated=!1):W.xAxis.concat(W.yAxis).forEach(function(lt){var ct=lt.axis;(Z[ct.isXAxis?"zoomX":"zoomY"]&&Y(Z.mouseDownX)&&Y(Z.mouseDownY)&&X.isInsidePlot(Z.mouseDownX-X.plotLeft,Z.mouseDownY-X.plotTop,{axis:ct})||!Y(X.inverted?Z.mouseDownX:Z.mouseDownY))&&(it=ct.zoom(lt.min,lt.max),ct.displayBtn&&(Q=!0))});var nt=X.resetZoomButton;Q&&!nt?X.showResetZoom():!Q&&B(nt)&&(X.resetZoomButton=nt.destroy()),it&&X.redraw(U(X.options.chart.animation,W&&W.animation,100>X.pointCount))},$.prototype.pan=function(W,X){var Z=this,Q=Z.hoverPoints;X=typeof X=="object"?X:{enabled:X,type:"x"};var it=Z.options.chart;it&&it.panning&&(it.panning=X);var nt=X.type,lt;O(this,"pan",{originalEvent:W},function(){Q&&Q.forEach(function(pt){pt.setState()});var ct=Z.xAxis;nt==="xy"?ct=ct.concat(Z.yAxis):nt==="y"&&(ct=Z.yAxis);var gt={};ct.forEach(function(pt){if(pt.options.panningEnabled&&!pt.options.isInternal){var ut=pt.horiz,St=W[ut?"chartX":"chartY"];ut=ut?"mouseDownX":"mouseDownY";var mt=Z[ut],vt=pt.minPointOffset||0,ft=pt.reversed&&!Z.inverted||!pt.reversed&&Z.inverted?-1:1,Tt=pt.getExtremes(),wt=pt.toValue(mt-St,!0)+vt*ft,Ct=pt.toValue(mt+pt.len-St,!0)-(vt*ft||pt.isXAxis&&pt.pointRangePadding||0),Et=Ct<wt;ft=pt.hasVerticalPanning(),mt=Et?Ct:wt,wt=Et?wt:Ct;var At=pt.panningState;!ft||pt.isXAxis||At&&!At.isDirty||pt.series.forEach(function(Ot){var Lt=Ot.getProcessedData(!0);Lt=Ot.getExtremes(Lt.yData,!0),At||(At={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE}),u(Lt.dataMin)&&u(Lt.dataMax)&&(At.startMin=Math.min(U(Ot.options.threshold,1/0),Lt.dataMin,At.startMin),At.startMax=Math.max(U(Ot.options.threshold,-1/0),Lt.dataMax,At.startMax))}),ft=Math.min(U(At&&At.startMin,Tt.dataMin),vt?Tt.min:pt.toValue(pt.toPixels(Tt.min)-pt.minPixelPadding)),Ct=Math.max(U(At&&At.startMax,Tt.dataMax),vt?Tt.max:pt.toValue(pt.toPixels(Tt.max)+pt.minPixelPadding)),pt.panningState=At,pt.isOrdinal||(vt=ft-mt,0<vt&&(wt+=vt,mt=ft),vt=wt-Ct,0<vt&&(wt=Ct,mt-=vt),pt.series.length&&mt!==Tt.min&&wt!==Tt.max&&mt>=ft&&wt<=Ct&&(pt.setExtremes(mt,wt,!1,!1,{trigger:"pan"}),!Z.resetZoomButton&&mt!==ft&&wt!==Ct&&nt.match("y")&&(Z.showResetZoom(),pt.displayBtn=!1),lt=!0),gt[ut]=St)}}),G(gt,function(pt,ut){Z[ut]=pt}),lt&&Z.redraw(!1),P(Z.container,{cursor:"move"})})},$}(),T(D.prototype,{callbacks:[],collectionsWithInit:{xAxis:[D.prototype.addAxis,[!0]],yAxis:[D.prototype.addAxis,[!1]],series:[D.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")}),D}),ht(_,"Core/Legend/LegendSymbol.js",[_["Core/Utilities.js"]],function(D){var N=D.extend,F=D.merge,J=D.pick,q;return function(tt){tt.drawLineMarker=function(K){var z=this.legendItem=this.legendItem||{},j=this.options,A=K.symbolWidth,g=K.symbolHeight,f=g/2,y=this.chart.renderer,C=z.group;K=K.baseline-Math.round(.3*K.fontMetrics.b);var v={},S=j.marker,M=0;this.chart.styledMode||(v={"stroke-width":Math.min(j.lineWidth||0,24)},j.dashStyle?v.dashstyle=j.dashStyle:j.linecap!=="square"&&(v["stroke-linecap"]="round")),z.line=y.path().addClass("highcharts-graph").attr(v).add(C),v["stroke-linecap"]&&(M=Math.min(z.line.strokeWidth(),A)/2),z.line.attr({d:[["M",M,K],["L",A-M,K]]}),S&&S.enabled!==!1&&A&&(j=Math.min(J(S.radius,f),f),this.symbol.indexOf("url")===0&&(S=F(S,{width:g,height:g}),j=0),z.symbol=z=y.symbol(this.symbol,A/2-j,K-j,2*j,2*j,N({context:"legend"},S)).addClass("highcharts-point").add(C),z.isMarker=!0)},tt.drawRectangle=function(K,z){z=z.legendItem||{};var j=K.symbolHeight,A=K.options.squareSymbol;z.symbol=this.chart.renderer.rect(A?(K.symbolWidth-j)/2:0,K.baseline-j+1,A?j:K.symbolWidth,j,J(K.options.symbolRadius,j/2)).addClass("highcharts-point").attr({zIndex:3}).add(z.group)}}(q||(q={})),q}),ht(_,"Core/Series/SeriesDefaults.js",[],function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",borderWidth:0,defer:!0,formatter:function(){var D=this.series.chart.numberFormatter;return typeof this.y!="number"?"":D(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"}}),ht(_,"Core/Series/Series.js",[_["Core/Animation/AnimationUtilities.js"],_["Core/Defaults.js"],_["Core/Foundation.js"],_["Core/Globals.js"],_["Core/Legend/LegendSymbol.js"],_["Core/Series/Point.js"],_["Core/Series/SeriesDefaults.js"],_["Core/Series/SeriesRegistry.js"],_["Core/Renderer/SVG/SVGElement.js"],_["Core/Utilities.js"]],function(D,N,F,J,q,tt,K,z,j,A){var g=D.animObject,f=D.setAnimation,y=N.defaultOptions,C=F.registerEventOptions,v=J.hasTouch,S=J.svg,M=J.win,w=z.seriesTypes,E=A.arrayMax,I=A.arrayMin,k=A.clamp,r=A.cleanRecursively,d=A.correctFloat,o=A.defined,h=A.erase,t=A.error,p=A.extend,i=A.find,s=A.fireEvent,c=A.getNestedProperty,a=A.isArray,m=A.isNumber,P=A.isString,Y=A.merge,R=A.objectEach,e=A.pick,l=A.removeEvent,T=A.splat,b=A.syncTimeout;return D=function(){function O(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}return O.prototype.init=function(n,x){s(this,"init",{options:x});var u=this,B=n.series;this.eventsToUnbind=[],u.chart=n,u.options=u.setOptions(x),x=u.options,u.linkedSeries=[],u.bindAxes(),p(u,{name:x.name,state:"",visible:x.visible!==!1,selected:x.selected===!0}),C(this,x);var L=x.events;(L&&L.click||x.point&&x.point.events&&x.point.events.click||x.allowPointSelect)&&(n.runTrackerClick=!0),u.getColor(),u.getSymbol(),u.parallelArrays.forEach(function(G){u[G+"Data"]||(u[G+"Data"]=[])}),u.isCartesian&&(n.hasCartesianSeries=!0);var H;B.length&&(H=B[B.length-1]),u._i=e(H&&H._i,-1)+1,u.opacity=u.options.opacity,n.orderSeries(this.insert(B)),x.dataSorting&&x.dataSorting.enabled?u.setDataSortingOptions():u.points||u.data||u.setData(x.data,!1),s(this,"afterInit")},O.prototype.is=function(n){return w[n]&&this instanceof w[n]},O.prototype.insert=function(n){var x=this.options.index,u;if(m(x)){for(u=n.length;u--;)if(x>=e(n[u].options.index,n[u]._i)){n.splice(u+1,0,this);break}u===-1&&n.unshift(this),u+=1}else n.push(this);return e(u,n.length-1)},O.prototype.bindAxes=function(){var n=this,x=n.options,u=n.chart,B;s(this,"bindAxes",null,function(){(n.axisTypes||[]).forEach(function(L){var H=0;u[L].forEach(function(G){B=G.options,(x[L]===H&&!B.isInternal||typeof x[L]<"u"&&x[L]===B.id||typeof x[L]>"u"&&B.index===0)&&(n.insert(G.series),n[L]=G,G.isDirty=!0),B.isInternal||H++}),n[L]||n.optionalAxis===L||t(18,!0,u)})}),s(this,"afterBindAxes")},O.prototype.updateParallelArrays=function(n,x){var u=n.series,B=arguments,L=m(x)?function(H){var G=H==="y"&&u.toYData?u.toYData(n):n[H];u[H+"Data"][x]=G}:function(H){Array.prototype[x].apply(u[H+"Data"],Array.prototype.slice.call(B,2))};u.parallelArrays.forEach(L)},O.prototype.hasData=function(){return this.visible&&typeof this.dataMax<"u"&&typeof this.dataMin<"u"||this.visible&&this.yData&&0<this.yData.length},O.prototype.autoIncrement=function(n){var x=this.options,u=x.pointIntervalUnit,B=x.relativeXValue,L=this.chart.time,H=this.xIncrement,G;return H=e(H,x.pointStart,0),this.pointInterval=G=e(this.pointInterval,x.pointInterval,1),B&&m(n)&&(G*=n),u&&(x=new L.Date(H),u==="day"?L.set("Date",x,L.get("Date",x)+G):u==="month"?L.set("Month",x,L.get("Month",x)+G):u==="year"&&L.set("FullYear",x,L.get("FullYear",x)+G),G=x.getTime()-H),B&&m(n)?H+G:(this.xIncrement=H+G,H)},O.prototype.setDataSortingOptions=function(){var n=this.options;p(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),o(n.pointRange)||(n.pointRange=1)},O.prototype.setOptions=function(n){var x=this.chart,u=x.options,B=u.plotOptions,L=x.userOptions||{};n=Y(n),x=x.styledMode;var H={plotOptions:B,userOptions:n};s(this,"setOptions",H);var G=H.plotOptions[this.type],U=L.plotOptions||{};return this.userOptions=H.userOptions,L=Y(G,B.series,L.plotOptions&&L.plotOptions[this.type],n),this.tooltipOptions=Y(y.tooltip,y.plotOptions.series&&y.plotOptions.series.tooltip,y.plotOptions[this.type].tooltip,u.tooltip.userOptions,B.series&&B.series.tooltip,B[this.type].tooltip,n.tooltip),this.stickyTracking=e(n.stickyTracking,U[this.type]&&U[this.type].stickyTracking,U.series&&U.series.stickyTracking,this.tooltipOptions.shared&&!this.noSharedTooltip?!0:L.stickyTracking),G.marker===null&&delete L.marker,this.zoneAxis=L.zoneAxis,B=this.zones=(L.zones||[]).slice(),!L.negativeColor&&!L.negativeFillColor||L.zones||(u={value:L[this.zoneAxis+"Threshold"]||L.threshold||0,className:"highcharts-negative"},x||(u.color=L.negativeColor,u.fillColor=L.negativeFillColor),B.push(u)),B.length&&o(B[B.length-1].value)&&B.push(x?{}:{color:this.color,fillColor:this.fillColor}),s(this,"afterSetOptions",{options:L}),L},O.prototype.getName=function(){return e(this.options.name,"Series "+(this.index+1))},O.prototype.getCyclic=function(n,x,u){var B=this.chart,L=this.userOptions,H=n+"Index",G=n+"Counter",U=u?u.length:e(B.options.chart[n+"Count"],B[n+"Count"]);if(!x){var V=e(L[H],L["_"+H]);o(V)||(B.series.length||(B[G]=0),L["_"+H]=V=B[G]%U,B[G]+=1),u&&(x=u[V])}typeof V<"u"&&(this[H]=V),this[n]=x},O.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||y.plotOptions[this.type].color,this.chart.options.colors)},O.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]},O.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},O.prototype.findPointIndex=function(n,x){var u=n.id,B=n.x,L=this.points,H=this.options.dataSorting,G,U;if(u)H=this.chart.get(u),H instanceof tt&&(G=H);else if((this.linkedParent||this.enabledDataSorting||this.options.relativeXValue)&&(G=function(rt){return!rt.touched&&rt.index===n.index},H&&H.matchByName?G=function(rt){return!rt.touched&&rt.name===n.name}:this.options.relativeXValue&&(G=function(rt){return!rt.touched&&rt.options.x===n.x}),G=i(L,G),!G))return;if(G){var V=G&&G.index;typeof V<"u"&&(U=!0)}return typeof V>"u"&&m(B)&&(V=this.xData.indexOf(B,x)),V!==-1&&typeof V<"u"&&this.cropped&&(V=V>=this.cropStart?V-this.cropStart:V),!U&&m(V)&&L[V]&&L[V].touched&&(V=void 0),V},O.prototype.updateData=function(n,x){var u=this.options,B=u.dataSorting,L=this.points,H=[],G=this.requireSorting,U=n.length===L.length,V,rt,st,ot=!0;if(this.xIncrement=null,n.forEach(function(et,at){var $=o(et)&&this.pointClass.prototype.optionsToObject.call({series:this},et)||{},W=$.x;$.id||m(W)?($=this.findPointIndex($,st),$===-1||typeof $>"u"?H.push(et):L[$]&&et!==u.data[$]?(L[$].update(et,!1,null,!1),L[$].touched=!0,G&&(st=$+1)):L[$]&&(L[$].touched=!0),(!U||at!==$||B&&B.enabled||this.hasDerivedData)&&(V=!0)):H.push(et)},this),V)for(n=L.length;n--;)(rt=L[n])&&!rt.touched&&rt.remove&&rt.remove(!1,x);else!U||B&&B.enabled?ot=!1:(n.forEach(function(et,at){et!==L[at].y&&L[at].update&&L[at].update(et,!1,null,!1)}),H.length=0);return L.forEach(function(et){et&&(et.touched=!1)}),ot?(H.forEach(function(et){this.addPoint(et,!1,null,null,!1)},this),this.xIncrement===null&&this.xData&&this.xData.length&&(this.xIncrement=E(this.xData),this.autoIncrement()),!0):!1},O.prototype.setData=function(n,x,u,B){x===void 0&&(x=!0);var L=this,H=L.points,G=H&&H.length||0,U=L.options,V=L.chart,rt=U.dataSorting,st=L.xAxis,ot=U.turboThreshold,et=this.xData,at=this.yData,$=L.pointArrayMap;$=$&&$.length;var W=U.keys,X,Z=0,Q=1,it=null;if(!V.options.chart.allowMutatingData){U.data&&delete L.options.data,L.userOptions.data&&delete L.userOptions.data;var nt=Y(!0,n)}if(n=nt||n||[],nt=n.length,rt&&rt.enabled&&(n=this.sortData(n)),V.options.chart.allowMutatingData&&B!==!1&&nt&&G&&!L.cropped&&!L.hasGroupedData&&L.visible&&!L.boosted&&(X=this.updateData(n,u)),!X){if(L.xIncrement=null,L.colorCounter=0,this.parallelArrays.forEach(function(lt){L[lt+"Data"].length=0}),ot&&nt>ot)if(it=L.getFirstValidPoint(n),m(it))for(u=0;u<nt;u++)et[u]=this.autoIncrement(),at[u]=n[u];else if(a(it))if($)if(it.length===$)for(u=0;u<nt;u++)et[u]=this.autoIncrement(),at[u]=n[u];else for(u=0;u<nt;u++)B=n[u],et[u]=B[0],at[u]=B.slice(1,$+1);else if(W&&(Z=W.indexOf("x"),Q=W.indexOf("y"),Z=0<=Z?Z:0,Q=0<=Q?Q:1),it.length===1&&(Q=0),Z===Q)for(u=0;u<nt;u++)et[u]=this.autoIncrement(),at[u]=n[u][Q];else for(u=0;u<nt;u++)B=n[u],et[u]=B[Z],at[u]=B[Q];else t(12,!1,V);else for(u=0;u<nt;u++)typeof n[u]<"u"&&(B={series:L},L.pointClass.prototype.applyOptions.apply(B,[n[u]]),L.updateParallelArrays(B,u));for(at&&P(at[0])&&t(14,!0,V),L.data=[],L.options.data=L.userOptions.data=n,u=G;u--;)H[u]&&H[u].destroy&&H[u].destroy();st&&(st.minRange=st.userMinRange),L.isDirty=V.isDirtyBox=!0,L.isDirtyData=!!H,u=!1}U.legendType==="point"&&(this.processData(),this.generatePoints()),x&&V.redraw(u)},O.prototype.sortData=function(n){var x=this,u=x.options.dataSorting.sortKey||"y",B=function(L,H){return o(H)&&L.pointClass.prototype.optionsToObject.call({series:L},H)||{}};return n.forEach(function(L,H){n[H]=B(x,L),n[H].index=H},this),n.concat().sort(function(L,H){return L=c(u,L),H=c(u,H),H<L?-1:H>L?1:0}).forEach(function(L,H){L.x=H},this),x.linkedSeries&&x.linkedSeries.forEach(function(L){var H=L.options,G=H.data;H.dataSorting&&H.dataSorting.enabled||!G||(G.forEach(function(U,V){G[V]=B(L,U),n[V]&&(G[V].x=n[V].x,G[V].index=V)}),L.setData(G,!1))}),n},O.prototype.getProcessedData=function(n){var x=this.xAxis,u=this.options,B=u.cropThreshold,L=n||this.getExtremesFromAll||u.getExtremesFromAll,H=this.isCartesian;n=x&&x.val2lin,u=!(!x||!x.logarithmic);var G=0,U=this.xData,V=this.yData,rt=this.requireSorting,st=!1,ot=U.length;if(x){st=x.getExtremes();var et=st.min,at=st.max;st=!(!x.categories||x.names.length)}if(H&&this.sorted&&!L&&(!B||ot>B||this.forceCrop)){if(U[ot-1]<et||U[0]>at)U=[],V=[];else if(this.yData&&(U[0]<et||U[ot-1]>at)){var $=this.cropData(this.xData,this.yData,et,at);U=$.xData,V=$.yData,G=$.start,$=!0}}for(B=U.length||1;--B;)if(x=u?n(U[B])-n(U[B-1]):U[B]-U[B-1],0<x&&(typeof W>"u"||x<W))var W=x;else 0>x&&rt&&!st&&(t(15,!1,this.chart),rt=!1);return{xData:U,yData:V,cropped:$,cropStart:G,closestPointRange:W}},O.prototype.processData=function(n){var x=this.xAxis;if(this.isCartesian&&!this.isDirty&&!x.isDirty&&!this.yAxis.isDirty&&!n)return!1;n=this.getProcessedData(),this.cropped=n.cropped,this.cropStart=n.cropStart,this.processedXData=n.xData,this.processedYData=n.yData,this.closestPointRange=this.basePointRange=n.closestPointRange,s(this,"afterProcessData")},O.prototype.cropData=function(n,x,u,B,L){var H=n.length,G,U=0,V=H;for(L=e(L,this.cropShoulder),G=0;G<H;G++)if(n[G]>=u){U=Math.max(0,G-L);break}for(u=G;u<H;u++)if(n[u]>B){V=u+L;break}return{xData:n.slice(U,V),yData:x.slice(U,V),start:U,end:V}},O.prototype.generatePoints=function(){var n=this.options,x=this.processedData||n.data,u=this.processedXData,B=this.processedYData,L=this.pointClass,H=u.length,G=this.cropStart||0,U=this.hasGroupedData,V=n.keys,rt=[];n=n.dataGrouping&&n.dataGrouping.groupAll?G:0;var st,ot,et=this.data;if(!et&&!U){var at=[];at.length=x.length,et=this.data=at}for(V&&U&&(this.options.keys=!1),ot=0;ot<H;ot++){if(at=G+ot,U){var $=new L().init(this,[u[ot]].concat(T(B[ot])));$.dataGroup=this.groupMap[n+ot],$.dataGroup.options&&($.options=$.dataGroup.options,p($,$.dataGroup.options),delete $.dataLabels)}else($=et[at])||typeof x[at]>"u"||(et[at]=$=new L().init(this,x[at],u[ot]));$&&($.index=U?n+ot:at,rt[ot]=$)}if(this.options.keys=V,et&&(H!==(st=et.length)||U))for(ot=0;ot<st;ot++)ot!==G||U||(ot+=H),et[ot]&&(et[ot].destroyElements(),et[ot].plotX=void 0);this.data=et,this.points=rt,s(this,"afterGeneratePoints")},O.prototype.getXExtremes=function(n){return{min:I(n),max:E(n)}},O.prototype.getExtremes=function(n,x){var u=this.xAxis,B=this.yAxis,L=this.processedXData||this.xData,H=[],G=this.requireSorting?this.cropShoulder:0;B=B?B.positiveValuesOnly:!1;var U,V=0,rt=0,st=0;n=n||this.stackedYData||this.processedYData||[];var ot=n.length;if(u){var et=u.getExtremes();V=et.min,rt=et.max}for(U=0;U<ot;U++){var at=L[U];et=n[U];var $=(m(et)||a(et))&&(et.length||0<et||!B);if(at=x||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!u||(L[U+G]||at)>=V&&(L[U-G]||at)<=rt,$&&at)if($=et.length)for(;$--;)m(et[$])&&(H[st++]=et[$]);else H[st++]=et}return n={activeYData:H,dataMin:I(H),dataMax:E(H)},s(this,"afterGetExtremes",{dataExtremes:n}),n},O.prototype.applyExtremes=function(){var n=this.getExtremes();return this.dataMin=n.dataMin,this.dataMax=n.dataMax,n},O.prototype.getFirstValidPoint=function(n){for(var x=n.length,u=0,B=null;B===null&&u<x;)B=n[u],u++;return B},O.prototype.translate=function(){this.processedXData||this.processData(),this.generatePoints();var n=this.options,x=n.stacking,u=this.xAxis,B=u.categories,L=this.enabledDataSorting,H=this.yAxis,G=this.points,U=G.length,V=this.pointPlacementToXValue(),rt=!!V,st=n.threshold,ot=n.startFromThreshold?st:0,et=this.zoneAxis||"y",at,$,W=Number.MAX_VALUE;for(at=0;at<U;at++){var X=G[at],Z=X.x,Q=void 0,it=void 0,nt=X.y,lt=X.low,ct=x&&H.stacking&&H.stacking.stacks[(this.negStacks&&nt<(ot?0:st)?"-":"")+this.stackKey];if((H.positiveValuesOnly&&!H.validatePositiveValue(nt)||u.positiveValuesOnly&&!u.validatePositiveValue(Z))&&(X.isNull=!0),X.plotX=$=d(k(u.translate(Z,0,0,0,1,V,this.type==="flags"),-1e5,1e5)),x&&this.visible&&ct&&ct[Z]){var gt=this.getStackIndicator(gt,Z,this.index);!X.isNull&>.key&&(Q=ct[Z],it=Q.points[gt.key]),Q&&a(it)&&(lt=it[0],nt=it[1],lt===ot&>.key===ct[Z].base&&(lt=e(m(st)?st:H.min)),H.positiveValuesOnly&&o(lt)&&0>=lt&&(lt=void 0),X.total=X.stackTotal=e(Q.total),X.percentage=o(X.y)&&Q.total?X.y/Q.total*100:void 0,X.stackY=nt,this.irregularWidths||Q.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))}if(X.yBottom=o(lt)?k(H.translate(lt,0,1,0,1),-1e5,1e5):void 0,this.dataModify&&(nt=this.dataModify.modifyValue(nt,at)),X.plotY=void 0,m(nt)&&(Q=H.translate(nt,!1,!0,!1,!0),typeof Q<"u"&&(X.plotY=k(Q,-1e5,1e5))),X.isInside=this.isPointInside(X),X.clientX=rt?d(u.translate(Z,0,0,0,1,V)):$,X.negative=X[et]<(n[et+"Threshold"]||st||0),X.category=e(B&&B[X.x],X.x),!X.isNull&&X.visible!==!1){typeof pt<"u"&&(W=Math.min(W,Math.abs($-pt)));var pt=$}X.zone=this.zones.length?X.getZone():void 0,!X.graphic&&this.group&&L&&(X.isNew=!0)}this.closestPointRangePx=W,s(this,"afterTranslate")},O.prototype.getValidPoints=function(n,x,u){var B=this.chart;return(n||this.points||[]).filter(function(L){return x&&!B.isInsidePlot(L.plotX,L.plotY,{inverted:B.inverted})?!1:L.visible!==!1&&(u||!L.isNull)})},O.prototype.getClipBox=function(){var n=this.chart,x=this.xAxis,u=this.yAxis,B=Y(n.clipBox);return x&&x.len!==n.plotSizeX&&(B.width=x.len),u&&u.len!==n.plotSizeY&&(B.height=u.len),B},O.prototype.getSharedClipKey=function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0)},O.prototype.setClip=function(){var n=this.chart,x=this.group,u=this.markerGroup,B=n.sharedClips;n=n.renderer;var L=this.getClipBox(),H=this.getSharedClipKey(),G=B[H];G?G.animate(L):B[H]=G=n.clipRect(L),x&&x.clip(this.options.clip===!1?void 0:G),u&&u.clip()},O.prototype.animate=function(n){var x=this.chart,u=this.group,B=this.markerGroup,L=x.inverted,H=g(this.options.animation),G=[this.getSharedClipKey(),H.duration,H.easing,H.defer].join(),U=x.sharedClips[G],V=x.sharedClips[G+"m"];if(n&&u)H=this.getClipBox(),U?U.attr("height",H.height):(H.width=0,L&&(H.x=x.plotHeight),U=x.renderer.clipRect(H),x.sharedClips[G]=U,V=x.renderer.clipRect({x:-99,y:-99,width:L?x.plotWidth+199:99,height:L?99:x.plotHeight+199}),x.sharedClips[G+"m"]=V),u.clip(U),B&&B.clip(V);else if(U&&!U.hasClass("highcharts-animating")){x=this.getClipBox();var rt=H.step;B&&B.element.childNodes.length&&(H.step=function(st,ot){rt&&rt.apply(ot,arguments),ot.prop==="width"&&V&&V.element&&V.attr(L?"height":"width",st+99)}),U.addClass("highcharts-animating").animate(x,H)}},O.prototype.afterAnimate=function(){var n=this;this.setClip(),R(this.chart.sharedClips,function(x,u,B){x&&!n.chart.container.querySelector('[clip-path="url(#'.concat(x.id,')"]'))&&(x.destroy(),delete B[u])}),this.finishedAnimating=!0,s(this,"afterAnimate")},O.prototype.drawPoints=function(n){n===void 0&&(n=this.points);var x=this.chart,u=x.styledMode,B=this.colorAxis,L=this.options.marker,H=this[this.specialGroup||"markerGroup"],G=this.xAxis,U=e(L.enabled,!G||G.isRadial?!0:null,this.closestPointRangePx>=L.enabledThreshold*L.radius),V,rt;if(L.enabled!==!1||this._hasPointMarkers)for(V=0;V<n.length;V++){var st=n[V],ot=(rt=st.graphic)?"animate":"attr",et=st.marker||{},at=!!st.marker;if((U&&typeof et.enabled>"u"||et.enabled)&&!st.isNull&&st.visible!==!1){var $=e(et.symbol,this.symbol,"rect"),W=this.markerAttribs(st,st.selected&&"select");this.enabledDataSorting&&(st.startXPos=G.reversed?-(W.width||0):G.width);var X=st.isInside!==!1;!rt&&X&&(0<(W.width||0)||st.hasImage)&&(st.graphic=rt=x.renderer.symbol($,W.x,W.y,W.width,W.height,at?et:L).add(H),this.enabledDataSorting&&x.hasRendered&&(rt.attr({x:st.startXPos}),ot="animate")),rt&&ot==="animate"&&rt[X?"show":"hide"](X).animate(W),rt&&(et=this.pointAttribs(st,u||!st.selected?void 0:"select"),u?B&&rt.css({fill:et.fill}):rt[ot](et)),rt&&rt.addClass(st.getClassName(),!0)}else rt&&(st.graphic=rt.destroy())}},O.prototype.markerAttribs=function(n,x){var u=this.options,B=u.marker,L=n.marker||{},H=L.symbol||B.symbol,G={},U=e(L.radius,B&&B.radius);return x&&(B=B.states[x],x=L.states&&L.states[x],U=e(x&&x.radius,B&&B.radius,U&&U+(B&&B.radiusPlus||0))),n.hasImage=H&&H.indexOf("url")===0,n.hasImage&&(U=0),n=n.pos(),m(U)&&n&&(G.x=n[0]-U,G.y=n[1]-U,u.crisp&&(G.x=Math.floor(G.x))),U&&(G.width=G.height=2*U),G},O.prototype.pointAttribs=function(n,x){var u=this.options.marker,B=n&&n.options,L=B&&B.marker||{},H=B&&B.color,G=n&&n.color,U=n&&n.zone&&n.zone.color,V=this.color;return n=e(L.lineWidth,u.lineWidth),B=1,V=H||U||G||V,H=L.fillColor||u.fillColor||V,G=L.lineColor||u.lineColor||V,x=x||"normal",u=u.states[x]||{},x=L.states&&L.states[x]||{},n=e(x.lineWidth,u.lineWidth,n+e(x.lineWidthPlus,u.lineWidthPlus,0)),H=x.fillColor||u.fillColor||H,G=x.lineColor||u.lineColor||G,B=e(x.opacity,u.opacity,B),{stroke:G,"stroke-width":n,fill:H,opacity:B}},O.prototype.destroy=function(n){var x=this,u=x.chart,B=/AppleWebKit\/533/.test(M.navigator.userAgent),L=x.data||[],H,G,U,V;for(s(x,"destroy",{keepEventsForUpdate:n}),this.removeEvents(n),(x.axisTypes||[]).forEach(function(rt){(V=x[rt])&&V.series&&(h(V.series,x),V.isDirty=V.forceRedraw=!0)}),x.legendItem&&x.chart.legend.destroyItem(x),G=L.length;G--;)(U=L[G])&&U.destroy&&U.destroy();x.clips&&x.clips.forEach(function(rt){return rt.destroy()}),A.clearTimeout(x.animationTimeout),R(x,function(rt,st){rt instanceof j&&!rt.survive&&(H=B&&st==="group"?"hide":"destroy",rt[H]())}),u.hoverSeries===x&&(u.hoverSeries=void 0),h(u.series,x),u.orderSeries(),R(x,function(rt,st){n&&st==="hcEvents"||delete x[st]})},O.prototype.applyZones=function(){var n=this,x=this.chart,u=x.renderer,B=this.zones,L=this.clips||[],H=this.graph,G=this.area,U=Math.max(x.plotWidth,x.plotHeight),V=this[(this.zoneAxis||"y")+"Axis"],rt=x.inverted,st,ot,et,at,$,W,X,Z,Q=!1;if(B.length&&(H||G)&&V&&typeof V.min<"u"){var it=V.reversed,nt=V.horiz;H&&!this.showLine&&H.hide(),G&&G.hide();var lt=V.getExtremes();B.forEach(function(ct,gt){st=it?nt?x.plotWidth:0:nt?0:V.toPixels(lt.min)||0,st=k(e(ot,st),0,U),ot=k(Math.round(V.toPixels(e(ct.value,lt.max),!0)||0),0,U),Q&&(st=ot=V.toPixels(lt.max)),at=Math.abs(st-ot),$=Math.min(st,ot),W=Math.max(st,ot),V.isXAxis?(et={x:rt?W:$,y:0,width:at,height:U},nt||(et.x=x.plotHeight-et.x)):(et={x:0,y:rt?W:$,width:U,height:at},nt&&(et.y=x.plotWidth-et.y)),rt&&u.isVML&&(et=V.isXAxis?{x:0,y:it?$:W,height:et.width,width:x.chartWidth}:{x:et.y-x.plotLeft-x.spacingBox.x,y:0,width:et.height,height:x.chartHeight}),L[gt]?L[gt].animate(et):L[gt]=u.clipRect(et),X=n["zone-area-"+gt],Z=n["zone-graph-"+gt],H&&Z&&Z.clip(L[gt]),G&&X&&X.clip(L[gt]),Q=ct.value>lt.max,n.resetZones&&ot===0&&(ot=void 0)}),this.clips=L}else n.visible&&(H&&H.show(),G&&G.show())},O.prototype.plotGroup=function(n,x,u,B,L){var H=this[n],G=!H;return u={visibility:u,zIndex:B||.1},typeof this.opacity>"u"||this.chart.styledMode||this.state==="inactive"||(u.opacity=this.opacity),G&&(this[n]=H=this.chart.renderer.g().add(L)),H.addClass("highcharts-"+x+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(o(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(H.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),H.attr(u)[G?"attr":"animate"](this.getPlotBox(x)),H},O.prototype.getPlotBox=function(n){var x=this.xAxis,u=this.yAxis,B=this.chart;return n=B.inverted&&!B.polar&&x&&this.invertible!==!1&&n==="series",B.inverted&&(x=u,u=this.xAxis),{translateX:x?x.left:B.plotLeft,translateY:u?u.top:B.plotTop,rotation:n?90:0,rotationOriginX:n?(x.len-u.len)/2:0,rotationOriginY:n?(x.len+u.len)/2:0,scaleX:n?-1:1,scaleY:1}},O.prototype.removeEvents=function(n){n||l(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(x){x()}),this.eventsToUnbind.length=0)},O.prototype.render=function(){var n=this,x=n.chart,u=n.options,B=g(u.animation),L=n.visible?"inherit":"hidden",H=u.zIndex,G=n.hasRendered,U=x.seriesGroup;x=!n.finishedAnimating&&x.renderer.isSVG?B.duration:0,s(this,"render"),n.plotGroup("group","series",L,H,U),n.markerGroup=n.plotGroup("markerGroup","markers",L,H,U),u.clip!==!1&&n.setClip(),n.animate&&x&&n.animate(!0),n.drawGraph&&(n.drawGraph(),n.applyZones()),n.visible&&n.drawPoints(),n.drawDataLabels&&n.drawDataLabels(),n.redrawPoints&&n.redrawPoints(),n.drawTracker&&n.options.enableMouseTracking!==!1&&n.drawTracker(),n.animate&&x&&n.animate(),G||(x&&B.defer&&(x+=B.defer),n.animationTimeout=b(function(){n.afterAnimate()},x||0)),n.isDirty=!1,n.hasRendered=!0,s(n,"afterRender")},O.prototype.redraw=function(){var n=this.isDirty||this.isDirtyData;this.translate(),this.render(),n&&delete this.kdTree},O.prototype.searchPoint=function(n,x){var u=this.xAxis,B=this.yAxis,L=this.chart.inverted;return this.searchKDTree({clientX:L?u.len-n.chartY+u.pos:n.chartX-u.pos,plotY:L?B.len-n.chartX+B.pos:n.chartY-B.pos},x,n)},O.prototype.buildKDTree=function(n){function x(L,H,G){var U=L&&L.length;if(U){var V=u.kdAxisArray[H%G];return L.sort(function(rt,st){return rt[V]-st[V]}),U=Math.floor(U/2),{point:L[U],left:x(L.slice(0,U),H+1,G),right:x(L.slice(U+1),H+1,G)}}}this.buildingKdTree=!0;var u=this,B=-1<u.options.findNearestPointBy.indexOf("y")?2:1;delete u.kdTree,b(function(){u.kdTree=x(u.getValidPoints(null,!u.directTouch),B,B),u.buildingKdTree=!1},u.options.kdNow||n&&n.type==="touchstart"?0:1)},O.prototype.searchKDTree=function(n,x,u){function B(V,rt,st,ot){var et=rt.point,at=L.kdAxisArray[st%ot],$=et,W=o(V[H])&&o(et[H])?Math.pow(V[H]-et[H],2):null,X=o(V[G])&&o(et[G])?Math.pow(V[G]-et[G],2):null;return X=(W||0)+(X||0),et.dist=o(X)?Math.sqrt(X):Number.MAX_VALUE,et.distX=o(W)?Math.sqrt(W):Number.MAX_VALUE,at=V[at]-et[at],X=0>at?"left":"right",W=0>at?"right":"left",rt[X]&&(X=B(V,rt[X],st+1,ot),$=X[U]<$[U]?X:et),rt[W]&&Math.sqrt(at*at)<$[U]&&(V=B(V,rt[W],st+1,ot),$=V[U]<$[U]?V:$),$}var L=this,H=this.kdAxisArray[0],G=this.kdAxisArray[1],U=x?"distX":"dist";if(x=-1<L.options.findNearestPointBy.indexOf("y")?2:1,this.kdTree||this.buildingKdTree||this.buildKDTree(u),this.kdTree)return B(n,this.kdTree,x,x)},O.prototype.pointPlacementToXValue=function(){var n=this.options,x=n.pointRange,u=this.xAxis;return n=n.pointPlacement,n==="between"&&(n=u.reversed?-.5:.5),m(n)?n*(x||u.pointRange):0},O.prototype.isPointInside=function(n){var x=this.chart,u=this.xAxis,B=this.yAxis;return typeof n.plotY<"u"&&typeof n.plotX<"u"&&0<=n.plotY&&n.plotY<=(B?B.len:x.plotHeight)&&0<=n.plotX&&n.plotX<=(u?u.len:x.plotWidth)},O.prototype.drawTracker=function(){var n=this,x=n.options,u=x.trackByArea,B=[].concat(u?n.areaPath:n.graphPath),L=n.chart,H=L.pointer,G=L.renderer,U=L.options.tooltip.snap,V=n.tracker,rt=function(ot){L.hoverSeries!==n&&n.onMouseOver()},st="rgba(192,192,192,"+(S?1e-4:.002)+")";V?V.attr({d:B}):n.graph&&(n.tracker=G.path(B).attr({visibility:n.visible?"inherit":"hidden",zIndex:2}).addClass(u?"highcharts-tracker-area":"highcharts-tracker-line").add(n.group),L.styledMode||n.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:st,fill:u?st:"none","stroke-width":n.graph.strokeWidth()+(u?0:2*U)}),[n.tracker,n.markerGroup,n.dataLabelsGroup].forEach(function(ot){ot&&(ot.addClass("highcharts-tracker").on("mouseover",rt).on("mouseout",function(et){H.onTrackerMouseOut(et)}),x.cursor&&!L.styledMode&&ot.css({cursor:x.cursor}),v)&&ot.on("touchstart",rt)})),s(this,"afterDrawTracker")},O.prototype.addPoint=function(n,x,u,B,L){var H=this.options,G=this.data,U=this.chart,V=this.xAxis;V=V&&V.hasNames&&V.names;var rt=H.data,st=this.xData,ot;x=e(x,!0);var et={series:this};this.pointClass.prototype.applyOptions.apply(et,[n]);var at=et.x,$=st.length;if(this.requireSorting&&at<st[$-1])for(ot=!0;$&&st[$-1]>at;)$--;this.updateParallelArrays(et,"splice",$,0,0),this.updateParallelArrays(et,$),V&&et.name&&(V[at]=et.name),rt.splice($,0,n),(ot||this.processedData)&&(this.data.splice($,0,null),this.processData()),H.legendType==="point"&&this.generatePoints(),u&&(G[0]&&G[0].remove?G[0].remove(!1):(G.shift(),this.updateParallelArrays(et,"shift"),rt.shift())),L!==!1&&s(this,"addPoint",{point:et}),this.isDirtyData=this.isDirty=!0,x&&U.redraw(B)},O.prototype.removePoint=function(n,x,u){var B=this,L=B.data,H=L[n],G=B.points,U=B.chart,V=function(){G&&G.length===L.length&&G.splice(n,1),L.splice(n,1),B.options.data.splice(n,1),B.updateParallelArrays(H||{series:B},"splice",n,1),H&&H.destroy(),B.isDirty=!0,B.isDirtyData=!0,x&&U.redraw()};f(u,U),x=e(x,!0),H?H.firePointEvent("remove",null,V):V()},O.prototype.remove=function(n,x,u,B){function L(){H.destroy(B),G.isDirtyLegend=G.isDirtyBox=!0,G.linkSeries(),e(n,!0)&&G.redraw(x)}var H=this,G=H.chart;u!==!1?s(H,"remove",null,L):L()},O.prototype.update=function(n,x){n=r(n,this.userOptions),s(this,"update",{options:n});var u=this,B=u.chart,L=u.userOptions,H=u.initialType||u.type,G=B.options.plotOptions,U=w[H].prototype,V=u.finishedAnimating&&{animation:!1},rt={},st=["eventOptions","navigatorSeries","baseSeries"],ot=n.type||L.type||B.options.chart.type,et=!(this.hasDerivedData||ot&&ot!==this.type||typeof n.pointStart<"u"||typeof n.pointInterval<"u"||typeof n.relativeXValue<"u"||n.joinBy||n.mapData||u.hasOptionChanged("dataGrouping")||u.hasOptionChanged("pointStart")||u.hasOptionChanged("pointInterval")||u.hasOptionChanged("pointIntervalUnit")||u.hasOptionChanged("keys"));if(ot=ot||H,et&&(st.push("data","isDirtyData","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX"),n.visible!==!1&&st.push("area","graph"),u.parallelArrays.forEach(function($){st.push($+"Data")}),n.data&&(n.dataSorting&&p(u.options.dataSorting,n.dataSorting),this.setData(n.data,!1))),n=Y(L,V,{index:typeof L.index>"u"?u.index:L.index,pointStart:e(G&&G.series&&G.series.pointStart,L.pointStart,u.xData[0])},!et&&{data:u.options.data},n),et&&n.data&&(n.data=u.options.data),st=["group","markerGroup","dataLabelsGroup","transformGroup","shadowGroup"].concat(st),st.forEach(function($){st[$]=u[$],delete u[$]}),G=!1,w[ot]){if(G=ot!==u.type,u.remove(!1,!1,!1,!0),G)if(Object.setPrototypeOf)Object.setPrototypeOf(u,w[ot].prototype);else{V=Object.hasOwnProperty.call(u,"hcEvents")&&u.hcEvents;for(at in U)u[at]=void 0;p(u,w[ot].prototype),V?u.hcEvents=V:delete u.hcEvents}}else t(17,!0,B,{missingModuleFor:ot});if(st.forEach(function($){u[$]=st[$]}),u.init(B,n),et&&this.points){if(n=u.options,n.visible===!1)rt.graphic=1,rt.dataLabel=1;else if(!u._hasPointLabels){U=n.marker;var at=n.dataLabels;L=L.marker||{},!U||U.enabled!==!1&&L.symbol===U.symbol&&L.height===U.height&&L.width===U.width||(rt.graphic=1),at&&at.enabled===!1&&(rt.dataLabel=1)}for(L=0,U=this.points;L<U.length;L++)(at=U[L])&&at.series&&(at.resolveColor(),Object.keys(rt).length&&at.destroyElements(rt),n.showInLegend===!1&&at.legendItem&&B.legend.destroyItem(at))}u.initialType=H,B.linkSeries(),G&&u.linkedSeries.length&&(u.isDirtyData=!0),s(this,"afterUpdate"),e(x,!0)&&B.redraw(et?void 0:!1)},O.prototype.setName=function(n){this.name=this.options.name=this.userOptions.name=n,this.chart.isDirtyLegend=!0},O.prototype.hasOptionChanged=function(n){var x=this.options[n],u=this.chart.options.plotOptions,B=this.userOptions[n];return B?x!==B:x!==e(u&&u[this.type]&&u[this.type][n],u&&u.series&&u.series[n],x)},O.prototype.onMouseOver=function(){var n=this.chart,x=n.hoverSeries;n.pointer.setHoverChartIndex(),x&&x!==this&&x.onMouseOut(),this.options.events.mouseOver&&s(this,"mouseOver"),this.setState("hover"),n.hoverSeries=this},O.prototype.onMouseOut=function(){var n=this.options,x=this.chart,u=x.tooltip,B=x.hoverPoint;x.hoverSeries=null,B&&B.onMouseOut(),this&&n.events.mouseOut&&s(this,"mouseOut"),!u||this.stickyTracking||u.shared&&!this.noSharedTooltip||u.hide(),x.series.forEach(function(L){L.setState("",!0)})},O.prototype.setState=function(n,x){var u=this,B=u.options,L=u.graph,H=B.inactiveOtherPoints,G=B.states,U=e(G[n||"normal"]&&G[n||"normal"].animation,u.chart.options.chart.animation),V=B.lineWidth,rt=0,st=B.opacity;if(n=n||"",u.state!==n&&([u.group,u.markerGroup,u.dataLabelsGroup].forEach(function(ot){ot&&(u.state&&ot.removeClass("highcharts-series-"+u.state),n&&ot.addClass("highcharts-series-"+n))}),u.state=n,!u.chart.styledMode)){if(G[n]&&G[n].enabled===!1)return;if(n&&(V=G[n].lineWidth||V+(G[n].lineWidthPlus||0),st=e(G[n].opacity,st)),L&&!L.dashstyle&&m(V))for(B={"stroke-width":V},L.animate(B,U);u["zone-graph-"+rt];)u["zone-graph-"+rt].animate(B,U),rt+=1;H||[u.group,u.markerGroup,u.dataLabelsGroup,u.labelBySeries].forEach(function(ot){ot&&ot.animate({opacity:st},U)})}x&&H&&u.points&&u.setAllPointsToState(n||void 0)},O.prototype.setAllPointsToState=function(n){this.points.forEach(function(x){x.setState&&x.setState(n)})},O.prototype.setVisible=function(n,x){var u=this,B=u.chart,L=B.options.chart.ignoreHiddenSeries,H=u.visible,G=(u.visible=n=u.options.visible=u.userOptions.visible=typeof n>"u"?!H:n)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(function(U){u[U]&&u[U][G]()}),(B.hoverSeries===u||(B.hoverPoint&&B.hoverPoint.series)===u)&&u.onMouseOut(),u.legendItem&&B.legend.colorizeItem(u,n),u.isDirty=!0,u.options.stacking&&B.series.forEach(function(U){U.options.stacking&&U.visible&&(U.isDirty=!0)}),u.linkedSeries.forEach(function(U){U.setVisible(n,!1)}),L&&(B.isDirtyBox=!0),s(u,G),x!==!1&&B.redraw()},O.prototype.show=function(){this.setVisible(!0)},O.prototype.hide=function(){this.setVisible(!1)},O.prototype.select=function(n){this.selected=n=this.options.selected=typeof n>"u"?!this.selected:n,this.checkbox&&(this.checkbox.checked=n),s(this,n?"select":"unselect")},O.prototype.shouldShowTooltip=function(n,x,u){return u===void 0&&(u={}),u.series=this,u.visiblePlotOnly=!0,this.chart.isInsidePlot(n,x,u)},O.defaultOptions=K,O.types=z.seriesTypes,O.registerType=z.registerSeriesType,O}(),p(D.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:q.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:tt,requireSorting:!0,sorted:!0}),z.series=D,D}),ht(_,"Extensions/ScrollablePlotArea.js",[_["Core/Animation/AnimationUtilities.js"],_["Core/Axis/Axis.js"],_["Core/Chart/Chart.js"],_["Core/Series/Series.js"],_["Core/Renderer/RendererRegistry.js"],_["Core/Utilities.js"]],function(D,N,F,J,q,tt){var K=D.stop,z=tt.addEvent,j=tt.createElement,A=tt.defined,g=tt.merge,f=tt.pick;z(F,"afterSetChartSize",function(y){var C=this.options.chart.scrollablePlotArea,v=C&&C.minWidth;if(C=C&&C.minHeight,!this.renderer.forExport){if(v){if(this.scrollablePixelsX=v=Math.max(0,v-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=g(this.plotBox),this.plotBox.width=this.plotWidth+=v,this.inverted?this.clipBox.height+=v:this.clipBox.width+=v;var S={1:{name:"right",value:v}}}}else C&&(this.scrollablePixelsY=v=Math.max(0,C-this.chartHeight),A(v)&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=g(this.plotBox),this.plotBox.height=this.plotHeight+=v,this.inverted?this.clipBox.width+=v:this.clipBox.height+=v,S={2:{name:"bottom",value:v}}));S&&!y.skipAxes&&this.axes.forEach(function(M){S[M.side]?M.getPlotLinePath=function(){var w=S[M.side].name,E=this[w];this[w]=E-S[M.side].value;var I=N.prototype.getPlotLinePath.apply(this,arguments);return this[w]=E,I}:(M.setAxisSize(),M.setAxisTranslation())})}}),z(F,"render",function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()}),F.prototype.setUpScrolling=function(){var y=this,C={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(C.overflowX="auto"),this.scrollablePixelsY&&(C.overflowY="auto"),this.scrollingParent=j("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=j("div",{className:"highcharts-scrolling"},C,this.scrollingParent);var v;z(this.scrollingContainer,"scroll",function(){y.pointer&&(delete y.pointer.chartPosition,y.hoverPoint&&(v=y.hoverPoint),y.pointer.runPointActions(void 0,v,!0))}),this.innerContainer=j("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},F.prototype.moveFixedElements=function(){var y=this.container,C=this.fixedRenderer,v=".highcharts-breadcrumbs-group .highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" "),S;this.scrollablePixelsX&&!this.inverted?S=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?S=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(S=".highcharts-yaxis"),S&&v.push(""+S+":not(.highcharts-radial-axis)",""+S+"-labels:not(.highcharts-radial-axis-labels)"),v.forEach(function(M){[].forEach.call(y.querySelectorAll(M),function(w){(w.namespaceURI===C.SVG_NS?C.box:C.box.parentNode).appendChild(w),w.style.pointerEvents="auto"})})},F.prototype.applyFixed=function(){var y=!this.fixedDiv,C=this.options.chart,v=C.scrollablePlotArea,S=q.getRendererType();y?(this.fixedDiv=j("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(C.style&&C.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=C=new S(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=C.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":f(v.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),z(this,"afterShowResetZoom",this.moveFixedElements),z(this,"afterApplyDrilldown",this.moveFixedElements),z(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||y)&&(this.scrollableDirty=!1,this.moveFixedElements()),C=this.chartWidth+(this.scrollablePixelsX||0),S=this.chartHeight+(this.scrollablePixelsY||0),K(this.container),this.container.style.width=C+"px",this.container.style.height=S+"px",this.renderer.boxWrapper.attr({width:C,height:S,viewBox:[0,0,C,S].join(" ")}),this.chartBackground.attr({width:C,height:S}),this.scrollingContainer.style.height=this.chartHeight+"px",y&&(v.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*v.scrollPositionX),v.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*v.scrollPositionY)),S=this.axisOffset,y=this.plotTop-S[0]-1,v=this.plotLeft-S[3]-1,C=this.plotTop+this.plotHeight+S[2]+1,S=this.plotLeft+this.plotWidth+S[1]+1;var M=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),w=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);y=this.scrollablePixelsX?[["M",0,y],["L",this.plotLeft-1,y],["L",this.plotLeft-1,C],["L",0,C],["Z"],["M",M,y],["L",this.chartWidth,y],["L",this.chartWidth,C],["L",M,C],["Z"]]:this.scrollablePixelsY?[["M",v,0],["L",v,this.plotTop-1],["L",S,this.plotTop-1],["L",S,0],["Z"],["M",v,w],["L",v,this.chartHeight],["L",S,this.chartHeight],["L",S,w],["Z"]]:[["M",0,0]],this.redrawTrigger!=="adjustHeight"&&this.scrollableMask.attr({d:y})},z(N,"afterInit",function(){this.chart.scrollableDirty=!0}),z(J,"show",function(){this.chart.scrollableDirty=!0})}),ht(_,"Core/Axis/Stacking/StackItem.js",[_["Core/FormatUtilities.js"],_["Core/Series/SeriesRegistry.js"],_["Core/Utilities.js"]],function(D,N,F){var J=D.format,q=N.series,tt=F.destroyObjectProperties,K=F.pick,z=F.isNumber;return D=function(){function j(A,g,f,y,C){var v=A.chart.inverted,S=A.reversed;this.axis=A,A=this.isNegative=!!f!=!!S,this.options=g=g||{},this.x=y,this.cumulative=this.total=null,this.points={},this.hasValidPoints=!1,this.stack=C,this.rightCliff=this.leftCliff=0,this.alignOptions={align:g.align||(v?A?"left":"right":"center"),verticalAlign:g.verticalAlign||(v?"middle":A?"bottom":"top"),y:g.y,x:g.x},this.textAlign=g.textAlign||(v?A?"right":"left":"center")}return j.prototype.destroy=function(){tt(this,this.axis)},j.prototype.render=function(A){var g=this.axis.chart,f=this.options,y=f.format;y=y?J(y,this,g):f.formatter.call(this),this.label?this.label.attr({text:y,visibility:"hidden"}):(this.label=g.renderer.label(y,null,void 0,f.shape,void 0,void 0,f.useHTML,!1,"stack-labels"),y={r:f.borderRadius||0,text:y,padding:K(f.padding,5),visibility:"hidden"},g.styledMode||(y.fill=f.backgroundColor,y.stroke=f.borderColor,y["stroke-width"]=f.borderWidth,this.label.css(f.style||{})),this.label.attr(y),this.label.added||this.label.add(A)),this.label.labelrank=g.plotSizeY},j.prototype.setOffset=function(A,g,f,y,C,v){var S=this.alignOptions,M=this.axis,w=this.label,E=this.options,I=this.textAlign,k=M.chart;A=this.getStackBox({xOffset:A,width:g,boxBottom:f,boxTop:y,defaultX:C,xAxis:v}),C=S.verticalAlign,w&&A&&(g=w.getBBox(),f=w.padding,y=K(E.overflow,"justify")==="justify",S.x=E.x||0,S.y=E.y||0,C=this.adjustStackPosition({labelBox:g,verticalAlign:C,textAlign:I}),I=C.x,C=C.y,A.x-=I,A.y-=C,w.align(S,!1,A),(I=k.isInsidePlot(w.alignAttr.x+S.x+I,w.alignAttr.y+S.y+C))||(y=!1),y&&q.prototype.justifyDataLabel.call(M,w,S,w.alignAttr,g,A),w.attr({x:w.alignAttr.x,y:w.alignAttr.y,rotation:E.rotation,rotationOriginX:g.width/2,rotationOriginY:g.height/2}),K(!y&&E.crop,!0)&&(I=z(w.x)&&z(w.y)&&k.isInsidePlot(w.x-f+w.width,w.y)&&k.isInsidePlot(w.x+f,w.y)),w[I?"show":"hide"]())},j.prototype.adjustStackPosition=function(A){var g=A.labelBox,f={bottom:0,middle:1,top:2,right:1,center:0,left:-1};return{x:g.width/2+g.width/2*f[A.textAlign],y:g.height/2*f[A.verticalAlign]}},j.prototype.getStackBox=function(A){var g=this.axis,f=g.chart,y=A.boxTop,C=A.defaultX,v=A.xOffset,S=A.width,M=A.boxBottom;return y=g.stacking.usePercentage?100:K(y,this.total,0),y=g.toPixels(y),A=K(C,(A.xAxis||f.xAxis[0]).toPixels(this.x))+v,g=g.toPixels(M||0),g=Math.abs(y-g),M=this.isNegative,f.inverted?{x:(M?y:y-g)-f.plotLeft,y:A-f.plotTop,width:g,height:S}:{x:A-f.plotLeft,y:(M?y-g:y)-f.plotTop,width:S,height:g}},j}(),D}),ht(_,"Core/Axis/Stacking/StackingAxis.js",[_["Core/Animation/AnimationUtilities.js"],_["Core/Axis/Axis.js"],_["Core/Series/SeriesRegistry.js"],_["Core/Axis/Stacking/StackItem.js"],_["Core/Utilities.js"]],function(D,N,F,J,q){function tt(){var p=this,i=p.inverted;p.yAxis.forEach(function(s){s.stacking&&s.stacking.stacks&&s.hasVisibleSeries&&(s.stacking.oldStacks=s.stacking.stacks)}),p.series.forEach(function(s){var c=s.xAxis&&s.xAxis.options||{};!s.options.stacking||s.visible!==!0&&p.options.chart.ignoreHiddenSeries!==!1||(s.stackKey=[s.type,o(s.options.stack,""),i?c.top:c.left,i?c.height:c.width].join())})}function K(){var p=this.stacking;if(p){var i=p.stacks;d(i,function(s,c){E(s),i[c]=null}),p&&p.stackTotalGroup&&p.stackTotalGroup.destroy()}}function z(){this.coll!=="yAxis"||this.stacking||(this.stacking=new h(this))}function j(p,i,s,c){return!w(p)||p.x!==i||c&&p.stackKey!==c?p={x:i,index:0,key:c,stackKey:c}:p.index++,p.key=[s,i,p.index].join(),p}function A(){var p=this,i=p.stackKey,s=p.yAxis.stacking.stacks,c=p.processedXData,a=p[p.options.stacking+"Stacker"],m;a&&[i,"-"+i].forEach(function(P){for(var Y=c.length,R,e;Y--;)R=c[Y],m=p.getStackIndicator(m,R,p.index,P),(e=(R=s[P]&&s[P][R])&&R.points[m.key])&&a.call(p,e,R,Y)})}function g(p,i,s){i=i.total?100/i.total:0,p[0]=M(p[0]*i),p[1]=M(p[1]*i),this.stackedYData[s]=p[1]}function f(){var p=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?v.setStackedPoints.call(this,"group"):p&&d(p.stacks,function(i,s){s.slice(-5)==="group"&&(d(i,function(c){return c.destroy()}),delete p.stacks[s])})}function y(p){var i=this.chart,s=p||this.options.stacking;if(s&&(this.visible===!0||i.options.chart.ignoreHiddenSeries===!1)){var c=this.processedXData,a=this.processedYData,m=[],P=a.length,Y=this.options,R=Y.threshold,e=o(Y.startFromThreshold&&R,0);Y=Y.stack,p=p?""+this.type+",".concat(s):this.stackKey;var l="-"+p,T=this.negStacks;i=s==="group"?i.yAxis[0]:this.yAxis;var b=i.stacking.stacks,O=i.stacking.oldStacks,n,x;for(i.stacking.stacksTouched+=1,x=0;x<P;x++){var u=c[x],B=a[x],L=this.getStackIndicator(L,u,this.index),H=L.key,G=(n=T&&B<(e?0:R))?l:p;b[G]||(b[G]={}),b[G][u]||(O[G]&&O[G][u]?(b[G][u]=O[G][u],b[G][u].total=null):b[G][u]=new J(i,i.options.stackLabels,!!n,u,Y)),G=b[G][u],B!==null?(G.points[H]=G.points[this.index]=[o(G.cumulative,e)],w(G.cumulative)||(G.base=H),G.touched=i.stacking.stacksTouched,0<L.index&&this.singleStacks===!1&&(G.points[H][0]=G.points[this.index+","+u+",0"][0])):G.points[H]=G.points[this.index]=null,s==="percent"?(n=n?p:l,T&&b[n]&&b[n][u]?(n=b[n][u],G.total=n.total=Math.max(n.total,G.total)+Math.abs(B)||0):G.total=M(G.total+(Math.abs(B)||0))):s==="group"?(k(B)&&(B=B[0]),B!==null&&(G.total=(G.total||0)+1)):G.total=M(G.total+(B||0)),G.cumulative=s==="group"?(G.total||1)-1:o(G.cumulative,e)+(B||0),B!==null&&(G.points[H].push(G.cumulative),m[x]=G.cumulative,G.hasValidPoints=!0)}s==="percent"&&(i.stacking.usePercentage=!0),s!=="group"&&(this.stackedYData=m),i.stacking.oldStacks={}}}var C=D.getDeferredAnimation,v=F.series.prototype,S=q.addEvent,M=q.correctFloat,w=q.defined,E=q.destroyObjectProperties,I=q.fireEvent,k=q.isArray,r=q.isNumber,d=q.objectEach,o=q.pick,h=function(){function p(i){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=i}return p.prototype.buildStacks=function(){var i=this.axis,s=i.series,c=i.options.reversedStacks,a=s.length,m;for(this.usePercentage=!1,m=a;m--;){var P=s[c?m:a-m-1];P.setStackedPoints(),P.setGroupedPoints()}for(m=0;m<a;m++)s[m].modifyStacks();I(i,"afterBuildStacks")},p.prototype.cleanStacks=function(){if(this.oldStacks)var i=this.stacks=this.oldStacks;d(i,function(s){d(s,function(c){c.cumulative=c.total})})},p.prototype.resetStacks=function(){var i=this;d(this.stacks,function(s){d(s,function(c,a){r(c.touched)&&c.touched<i.stacksTouched?(c.destroy(),delete s[a]):(c.total=null,c.cumulative=null)})})},p.prototype.renderStackTotals=function(){var i=this.axis,s=i.chart,c=s.renderer,a=this.stacks;i=C(s,i.options.stackLabels&&i.options.stackLabels.animation||!1);var m=this.stackTotalGroup=this.stackTotalGroup||c.g("stack-labels").attr({zIndex:6,opacity:0}).add();m.translate(s.plotLeft,s.plotTop),d(a,function(P){d(P,function(Y){Y.render(m)})}),m.animate({opacity:1},i)},p}(),t;return function(p){var i=[];p.compose=function(s,c,a){i.indexOf(s)===-1&&(i.push(s),S(s,"init",z),S(s,"destroy",K)),i.indexOf(c)===-1&&(i.push(c),c.prototype.getStacks=tt),i.indexOf(a)===-1&&(i.push(a),s=a.prototype,s.getStackIndicator=j,s.modifyStacks=A,s.percentStacker=g,s.setGroupedPoints=f,s.setStackedPoints=y)}}(t||(t={})),t}),ht(_,"Series/Line/LineSeries.js",[_["Core/Series/Series.js"],_["Core/Series/SeriesRegistry.js"],_["Core/Utilities.js"]],function(D,N,F){var J=this&&this.__extends||function(){var K=function(z,j){return K=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,g){A.__proto__=g}||function(A,g){for(var f in g)g.hasOwnProperty(f)&&(A[f]=g[f])},K(z,j)};return function(z,j){function A(){this.constructor=z}K(z,j),z.prototype=j===null?Object.create(j):(A.prototype=j.prototype,new A)}}(),q=F.defined,tt=F.merge;return F=function(K){function z(){var j=K!==null&&K.apply(this,arguments)||this;return j.data=void 0,j.options=void 0,j.points=void 0,j}return J(z,K),z.prototype.drawGraph=function(){var j=this,A=this.options,g=(this.gappedPath||this.getGraphPath).call(this),f=this.chart.styledMode,y=[["graph","highcharts-graph"]];f||y[0].push(A.lineColor||this.color||"#cccccc",A.dashStyle),y=j.getZonesGraphs(y),y.forEach(function(C,v){var S=C[0],M=j[S],w=M?"animate":"attr";M?(M.endX=j.preventGraphAnimation?null:g.xMap,M.animate({d:g})):g.length&&(j[S]=M=j.chart.renderer.path(g).addClass(C[1]).attr({zIndex:1}).add(j.group)),M&&!f&&(S={stroke:C[2],"stroke-width":A.lineWidth||0,fill:j.fillGraph&&j.color||"none"},C[3]?S.dashstyle=C[3]:A.linecap!=="square"&&(S["stroke-linecap"]=S["stroke-linejoin"]="round"),M[w](S).shadow(2>v&&A.shadow)),M&&(M.startX=g.xMap,M.isArea=g.isArea)})},z.prototype.getGraphPath=function(j,A,g){var f=this,y=f.options,C=[],v=[],S,M=y.step;j=j||f.points;var w=j.reversed;return w&&j.reverse(),(M={right:1,center:2}[M]||M&&3)&&w&&(M=4-M),j=this.getValidPoints(j,!1,!(y.connectNulls&&!A&&!g)),j.forEach(function(E,I){var k=E.plotX,r=E.plotY,d=j[I-1];(E.leftCliff||d&&d.rightCliff)&&!g&&(S=!0),E.isNull&&!q(A)&&0<I?S=!y.connectNulls:E.isNull&&!A?S=!0:(I===0||S?I=[["M",E.plotX,E.plotY]]:f.getPointSpline?I=[f.getPointSpline(j,E,I)]:M?(I=M===1?[["L",d.plotX,r]]:M===2?[["L",(d.plotX+k)/2,d.plotY],["L",(d.plotX+k)/2,r]]:[["L",k,d.plotY]],I.push(["L",k,r])):I=[["L",k,r]],v.push(E.x),M&&(v.push(E.x),M===2&&v.push(E.x)),C.push.apply(C,I),S=!1)}),C.xMap=v,f.graphPath=C},z.prototype.getZonesGraphs=function(j){return this.zones.forEach(function(A,g){g=["zone-graph-"+g,"highcharts-graph highcharts-zone-graph-"+g+" "+(A.className||"")],this.chart.styledMode||g.push(A.color||this.color,A.dashStyle||this.options.dashStyle),j.push(g)},this),j},z.defaultOptions=tt(D.defaultOptions,{}),z}(D),N.registerSeriesType("line",F),F}),ht(_,"Series/Area/AreaSeries.js",[_["Core/Color/Color.js"],_["Core/Legend/LegendSymbol.js"],_["Core/Series/SeriesRegistry.js"],_["Core/Utilities.js"]],function(D,N,F,J){var q=this&&this.__extends||function(){var g=function(f,y){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,v){C.__proto__=v}||function(C,v){for(var S in v)v.hasOwnProperty(S)&&(C[S]=v[S])},g(f,y)};return function(f,y){function C(){this.constructor=f}g(f,y),f.prototype=y===null?Object.create(y):(C.prototype=y.prototype,new C)}}(),tt=D.parse,K=F.seriesTypes.line;D=J.extend;var z=J.merge,j=J.objectEach,A=J.pick;return J=function(g){function f(){var y=g!==null&&g.apply(this,arguments)||this;return y.data=void 0,y.options=void 0,y.points=void 0,y}return q(f,g),f.prototype.drawGraph=function(){this.areaPath=[],g.prototype.drawGraph.apply(this);var y=this,C=this.areaPath,v=this.options,S=[["area","highcharts-area",this.color,v.fillColor]];this.zones.forEach(function(M,w){S.push(["zone-area-"+w,"highcharts-area highcharts-zone-area-"+w+" "+M.className,M.color||y.color,M.fillColor||v.fillColor])}),S.forEach(function(M){var w=M[0],E={},I=y[w],k=I?"animate":"attr";I?(I.endX=y.preventGraphAnimation?null:C.xMap,I.animate({d:C})):(E.zIndex=0,I=y[w]=y.chart.renderer.path(C).addClass(M[1]).add(y.group),I.isArea=!0),y.chart.styledMode||(E.fill=A(M[3],tt(M[2]).setOpacity(A(v.fillOpacity,.75)).get())),I[k](E),I.startX=C.xMap,I.shiftUnit=v.step?2:1})},f.prototype.getGraphPath=function(y){var C=K.prototype.getGraphPath,v=this.options,S=v.stacking,M=this.yAxis,w=[],E=[],I=this.index,k=M.stacking.stacks[this.stackKey],r=v.threshold,d=Math.round(M.getThreshold(v.threshold));v=A(v.connectNulls,S==="percent");var o=function(c,a,m){var P=y[c];c=S&&k[P.x].points[I];var Y=P[m+"Null"]||0;if(m=P[m+"Cliff"]||0,P=!0,m||Y){var R=(Y?c[0]:c[1])+m,e=c[0]+m;P=!!Y}else!S&&y[a]&&y[a].isNull&&(R=e=r);typeof R<"u"&&(E.push({plotX:i,plotY:R===null?d:M.getThreshold(R),isNull:P,isCliff:!0}),w.push({plotX:i,plotY:e===null?d:M.getThreshold(e),doCurve:!1}))};y=y||this.points,S&&(y=this.getStackPoints(y));for(var h=0,t=y.length;h<t;++h){S||(y[h].leftCliff=y[h].rightCliff=y[h].leftNull=y[h].rightNull=void 0);var p=y[h].isNull,i=A(y[h].rectPlotX,y[h].plotX),s=S?A(y[h].yBottom,d):d;(!p||v)&&(v||o(h,h-1,"left"),p&&!S&&v||(E.push(y[h]),w.push({x:h,plotX:i,plotY:s})),v||o(h,h+1,"right"))}return o=C.call(this,E,!0,!0),w.reversed=!0,p=C.call(this,w,!0,!0),(s=p[0])&&s[0]==="M"&&(p[0]=["L",s[1],s[2]]),p=o.concat(p),p.length&&p.push(["Z"]),C=C.call(this,E,!1,v),p.xMap=o.xMap,this.areaPath=p,C},f.prototype.getStackPoints=function(y){var C=this,v=[],S=[],M=this.xAxis,w=this.yAxis,E=w.stacking.stacks[this.stackKey],I={},k=w.series,r=k.length,d=w.options.reversedStacks?1:-1,o=k.indexOf(C);if(y=y||this.points,this.options.stacking){for(var h=0;h<y.length;h++)y[h].leftNull=y[h].rightNull=void 0,I[y[h].x]=y[h];j(E,function(p,i){p.total!==null&&S.push(i)}),S.sort(function(p,i){return p-i});var t=k.map(function(p){return p.visible});S.forEach(function(p,i){var s=0,c,a;if(I[p]&&!I[p].isNull)v.push(I[p]),[-1,1].forEach(function(P){var Y=P===1?"rightNull":"leftNull",R=E[S[i+P]],e=0;if(R)for(var l=o;0<=l&&l<r;){var T=k[l].index;c=R.points[T],c||(T===C.index?I[p][Y]=!0:t[l]&&(a=E[p].points[T])&&(e-=a[1]-a[0])),l+=d}I[p][P===1?"rightCliff":"leftCliff"]=e});else{for(var m=o;0<=m&&m<r;){if(c=E[p].points[k[m].index]){s=c[1];break}m+=d}s=A(s,0),s=w.translate(s,0,1,0,1),v.push({isNull:!0,plotX:M.translate(p,0,0,0,1),x:p,plotY:s,yBottom:s})}})}return v},f.defaultOptions=z(K.defaultOptions,{threshold:0}),f}(K),D(J.prototype,{singleStacks:!1,drawLegendSymbol:N.drawRectangle}),F.registerSeriesType("area",J),J}),ht(_,"Series/Spline/SplineSeries.js",[_["Core/Series/SeriesRegistry.js"],_["Core/Utilities.js"]],function(D,N){var F=this&&this.__extends||function(){var K=function(z,j){return K=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,g){A.__proto__=g}||function(A,g){for(var f in g)g.hasOwnProperty(f)&&(A[f]=g[f])},K(z,j)};return function(z,j){function A(){this.constructor=z}K(z,j),z.prototype=j===null?Object.create(j):(A.prototype=j.prototype,new A)}}(),J=D.seriesTypes.line,q=N.merge,tt=N.pick;return N=function(K){function z(){var j=K!==null&&K.apply(this,arguments)||this;return j.data=void 0,j.options=void 0,j.points=void 0,j}return F(z,K),z.prototype.getPointSpline=function(j,A,g){var f=A.plotX||0,y=A.plotY||0,C=j[g-1];if(g=j[g+1],C&&!C.isNull&&C.doCurve!==!1&&!A.isCliff&&g&&!g.isNull&&g.doCurve!==!1&&!A.isCliff){j=C.plotY||0;var v=g.plotX||0;g=g.plotY||0;var S=0,M=(1.5*f+(C.plotX||0))/2.5,w=(1.5*y+j)/2.5;v=(1.5*f+v)/2.5;var E=(1.5*y+g)/2.5;v!==M&&(S=(E-w)*(v-f)/(v-M)+y-E),w+=S,E+=S,w>j&&w>y?(w=Math.max(j,y),E=2*y-w):w<j&&w<y&&(w=Math.min(j,y),E=2*y-w),E>g&&E>y?(E=Math.max(g,y),w=2*y-E):E<g&&E<y&&(E=Math.min(g,y),w=2*y-E),A.rightContX=v,A.rightContY=E}return A=["C",tt(C.rightContX,C.plotX,0),tt(C.rightContY,C.plotY,0),tt(M,f,0),tt(w,y,0),f,y],C.rightContX=C.rightContY=void 0,A},z.defaultOptions=q(J.defaultOptions),z}(J),D.registerSeriesType("spline",N),N}),ht(_,"Series/AreaSpline/AreaSplineSeries.js",[_["Series/Spline/SplineSeries.js"],_["Core/Legend/LegendSymbol.js"],_["Core/Series/SeriesRegistry.js"],_["Core/Utilities.js"]],function(D,N,F,J){var q=this&&this.__extends||function(){var A=function(g,f){return A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,C){y.__proto__=C}||function(y,C){for(var v in C)C.hasOwnProperty(v)&&(y[v]=C[v])},A(g,f)};return function(g,f){function y(){this.constructor=g}A(g,f),g.prototype=f===null?Object.create(f):(y.prototype=f.prototype,new y)}}(),tt=F.seriesTypes,K=tt.area;tt=tt.area.prototype;var z=J.extend,j=J.merge;return J=function(A){function g(){var f=A!==null&&A.apply(this,arguments)||this;return f.data=void 0,f.points=void 0,f.options=void 0,f}return q(g,A),g.defaultOptions=j(D.defaultOptions,K.defaultOptions),g}(D),z(J.prototype,{getGraphPath:tt.getGraphPath,getStackPoints:tt.getStackPoints,drawGraph:tt.drawGraph,drawLegendSymbol:N.drawRectangle}),F.registerSeriesType("areaspline",J),J}),ht(_,"Series/Column/ColumnSeriesDefaults.js",[],function(){"";return{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"}}),ht(_,"Series/Column/ColumnSeries.js",[_["Core/Animation/AnimationUtilities.js"],_["Core/Color/Color.js"],_["Series/Column/ColumnSeriesDefaults.js"],_["Core/Globals.js"],_["Core/Legend/LegendSymbol.js"],_["Core/Series/Series.js"],_["Core/Series/SeriesRegistry.js"],_["Core/Utilities.js"]],function(D,N,F,J,q,tt,K,z){var j=this&&this.__extends||function(){var r=function(d,o){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,t){h.__proto__=t}||function(h,t){for(var p in t)t.hasOwnProperty(p)&&(h[p]=t[p])},r(d,o)};return function(d,o){function h(){this.constructor=d}r(d,o),d.prototype=o===null?Object.create(o):(h.prototype=o.prototype,new h)}}(),A=D.animObject,g=N.parse,f=J.hasTouch;D=J.noop;var y=z.clamp,C=z.defined,v=z.extend,S=z.fireEvent,M=z.isArray,w=z.isNumber,E=z.merge,I=z.pick,k=z.objectEach;return z=function(r){function d(){var o=r!==null&&r.apply(this,arguments)||this;return o.borderWidth=void 0,o.data=void 0,o.group=void 0,o.options=void 0,o.points=void 0,o}return j(d,r),d.prototype.animate=function(o){var h=this,t=this.yAxis,p=h.options,i=this.chart.inverted,s={},c=i?"translateX":"translateY";if(o)s.scaleY=.001,o=y(t.toPixels(p.threshold),t.pos,t.pos+t.len),i?s.translateX=o-t.len:s.translateY=o,h.clipBox&&h.setClip(),h.group.attr(s);else{var a=Number(h.group.attr(c));h.group.animate({scaleY:1},v(A(h.options.animation),{step:function(m,P){h.group&&(s[c]=a+P.pos*(t.pos-a),h.group.attr(s))}}))}},d.prototype.init=function(o,h){r.prototype.init.apply(this,arguments);var t=this;o=t.chart,o.hasRendered&&o.series.forEach(function(p){p.type===t.type&&(p.isDirty=!0)})},d.prototype.getColumnMetrics=function(){var o=this,h=o.options,t=o.xAxis,p=o.yAxis,i=t.options.reversedStacks;i=t.reversed&&!i||!t.reversed&&i;var s={},c,a=0;h.grouping===!1?a=1:o.chart.series.forEach(function(R){var e=R.yAxis,l=R.options;if(R.type===o.type&&(R.visible||!o.chart.options.chart.ignoreHiddenSeries)&&p.len===e.len&&p.pos===e.pos){if(l.stacking&&l.stacking!=="group"){c=R.stackKey,typeof s[c]>"u"&&(s[c]=a++);var T=s[c]}else l.grouping!==!1&&(T=a++);R.columnIndex=T}});var m=Math.min(Math.abs(t.transA)*(t.ordinal&&t.ordinal.slope||h.pointRange||t.closestPointRange||t.tickInterval||1),t.len),P=m*h.groupPadding,Y=(m-2*P)/(a||1);return h=Math.min(h.maxPointWidth||t.len,I(h.pointWidth,Y*(1-2*h.pointPadding))),o.columnMetrics={width:h,offset:(Y-h)/2+(P+((o.columnIndex||0)+(i?1:0))*Y-m/2)*(i?-1:1),paddedWidth:Y,columnCount:a},o.columnMetrics},d.prototype.crispCol=function(o,h,t,p){var i=this.chart,s=this.borderWidth,c=-(s%2?.5:0);return s=s%2?.5:1,i.inverted&&i.renderer.isVML&&(s+=1),this.options.crisp&&(t=Math.round(o+t)+c,o=Math.round(o)+c,t-=o),p=Math.round(h+p)+s,c=.5>=Math.abs(h)&&.5<p,h=Math.round(h)+s,p-=h,c&&p&&(--h,p+=1),{x:o,y:h,width:t,height:p}},d.prototype.adjustForMissingColumns=function(o,h,t,p){var i=this,s=this.options.stacking;if(!t.isNull&&1<p.columnCount){var c=this.yAxis.options.reversedStacks,a=0,m=c?0:-p.columnCount;k(this.yAxis.stacking&&this.yAxis.stacking.stacks,function(P){if(typeof t.x=="number"){var Y=P[t.x.toString()];Y&&(P=Y.points[i.index],s?(P&&(a=m),Y.hasValidPoints&&(c?m++:m--)):M(P)&&(P=Object.keys(Y.points).filter(function(R){return!R.match(",")&&Y.points[R]&&1<Y.points[R].length}).map(parseFloat).sort(function(R,e){return e-R}),a=P.indexOf(i.index),m=P.length))}}),o=(t.plotX||0)+((m-1)*p.paddedWidth+h)/2-h-a*p.paddedWidth}return o},d.prototype.translate=function(){var o=this,h=o.chart,t=o.options,p=o.dense=2>o.closestPointRange*o.xAxis.transA;p=o.borderWidth=I(t.borderWidth,p?0:1);var i=o.xAxis,s=o.yAxis,c=t.threshold,a=o.translatedThreshold=s.getThreshold(c),m=I(t.minPointLength,5),P=o.getColumnMetrics(),Y=P.width,R=o.pointXOffset=P.offset,e=o.dataMin,l=o.dataMax,T=o.barW=Math.max(Y,1+2*p);h.inverted&&(a-=.5),t.pointPadding&&(T=Math.ceil(T)),tt.prototype.translate.apply(o),o.points.forEach(function(b){var O=I(b.yBottom,a),n=999+Math.abs(O),x=b.plotX||0;n=y(b.plotY,-n,s.len+n);var u=Math.min(n,O),B=Math.max(n,O)-u,L=Y,H=x+R,G=T;m&&Math.abs(B)<m&&(B=m,x=!s.reversed&&!b.negative||s.reversed&&b.negative,w(c)&&w(l)&&b.y===c&&l<=c&&(s.min||0)<c&&(e!==l||(s.max||0)<=c)&&(x=!x),u=Math.abs(u-a)>m?O-m:a-(x?m:0)),C(b.options.pointWidth)&&(L=G=Math.ceil(b.options.pointWidth),H-=Math.round((L-Y)/2)),t.centerInCategory&&(H=o.adjustForMissingColumns(H,L,b,P)),b.barX=H,b.pointWidth=L,b.tooltipPos=h.inverted?[y(s.len+s.pos-h.plotLeft-n,s.pos-h.plotLeft,s.len+s.pos-h.plotLeft),i.len+i.pos-h.plotTop-H-G/2,B]:[i.left-h.plotLeft+H+G/2,y(n+s.pos-h.plotTop,s.pos-h.plotTop,s.len+s.pos-h.plotTop),B],b.shapeType=o.pointClass.prototype.shapeType||"rect",b.shapeArgs=o.crispCol.apply(o,b.isNull?[H,a,G,0]:[H,u,G,B])})},d.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},d.prototype.pointAttribs=function(o,h){var t=this.options,p=this.pointAttrToOptions||{},i=p.stroke||"borderColor",s=p["stroke-width"]||"borderWidth",c=o&&o.color||this.color,a=o&&o[i]||t[i]||c;p=o&&o.options.dashStyle||t.dashStyle;var m=o&&o[s]||t[s]||this[s]||0,P=I(o&&o.opacity,t.opacity,1);if(o&&this.zones.length){var Y=o.getZone();c=o.options.color||Y&&(Y.color||o.nonZonedColor)||this.color,Y&&(a=Y.borderColor||a,p=Y.dashStyle||p,m=Y.borderWidth||m)}return h&&o&&(o=E(t.states[h],o.options.states&&o.options.states[h]||{}),h=o.brightness,c=o.color||typeof h<"u"&&g(c).brighten(o.brightness).get()||c,a=o[i]||a,m=o[s]||m,p=o.dashStyle||p,P=I(o.opacity,P)),i={fill:c,stroke:a,"stroke-width":m,opacity:P},p&&(i.dashstyle=p),i},d.prototype.drawPoints=function(o){o===void 0&&(o=this.points);var h=this,t=this.chart,p=h.options,i=t.renderer,s=p.animationLimit||250,c;o.forEach(function(a){var m=a.graphic,P=!!m,Y=m&&t.pointCount<s?"animate":"attr";w(a.plotY)&&a.y!==null?(c=a.shapeArgs,m&&a.hasNewShapeType()&&(m=m.destroy()),h.enabledDataSorting&&(a.startXPos=h.xAxis.reversed?-(c&&c.width||0):h.xAxis.width),m||(a.graphic=m=i[a.shapeType](c).add(a.group||h.group))&&h.enabledDataSorting&&t.hasRendered&&t.pointCount<s&&(m.attr({x:a.startXPos}),P=!0,Y="animate"),m&&P&&m[Y](E(c)),p.borderRadius&&m[Y]({r:p.borderRadius}),t.styledMode||m[Y](h.pointAttribs(a,a.selected&&"select")).shadow(a.allowShadow!==!1&&p.shadow,null,p.stacking&&!p.borderRadius),m&&(m.addClass(a.getClassName(),!0),m.attr({visibility:a.visible?"inherit":"hidden"}))):m&&(a.graphic=m.destroy())})},d.prototype.drawTracker=function(o){o===void 0&&(o=this.points);var h=this,t=h.chart,p=t.pointer,i=function(c){var a=p.getPointFromEvent(c);typeof a<"u"&&(p.isDirectTouch=!0,a.onMouseOver(c))},s;o.forEach(function(c){s=M(c.dataLabels)?c.dataLabels:c.dataLabel?[c.dataLabel]:[],c.graphic&&(c.graphic.element.point=c),s.forEach(function(a){a.div?a.div.point=c:a.element.point=c})}),h._hasTracking||(h.trackerGroups.forEach(function(c){h[c]&&(h[c].addClass("highcharts-tracker").on("mouseover",i).on("mouseout",function(a){p.onTrackerMouseOut(a)}),f&&h[c].on("touchstart",i),!t.styledMode&&h.options.cursor&&h[c].css({cursor:h.options.cursor}))}),h._hasTracking=!0),S(this,"afterDrawTracker")},d.prototype.remove=function(){var o=this,h=o.chart;h.hasRendered&&h.series.forEach(function(t){t.type===o.type&&(t.isDirty=!0)}),tt.prototype.remove.apply(o,arguments)},d.defaultOptions=E(tt.defaultOptions,F),d}(tt),v(z.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:q.drawRectangle,getSymbol:D,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),K.registerSeriesType("column",z),z}),ht(_,"Core/Series/DataLabel.js",[_["Core/Animation/AnimationUtilities.js"],_["Core/FormatUtilities.js"],_["Core/Utilities.js"]],function(D,N,F){var J=D.getDeferredAnimation,q=N.format,tt=F.defined,K=F.extend,z=F.fireEvent,j=F.isArray,A=F.isString,g=F.merge,f=F.objectEach,y=F.pick,C=F.splat,v;return function(S){function M(o,h,t,p,i){var s=this,c=this.chart,a=this.isCartesian&&c.inverted,m=this.enabledDataSorting,P=o.plotX,Y=o.plotY,R=t.rotation,e=t.align,l=tt(P)&&tt(Y)&&c.isInsidePlot(P,Math.round(Y),{inverted:a,paneCoordinates:!0,series:s});Y=function(n){m&&s.xAxis&&!T&&s.setDataLabelStartPos(o,h,i,l,n)};var T=y(t.overflow,m?"none":"justify")==="justify";if(P=this.visible&&o.visible!==!1&&tt(P)&&(o.series.forceDL||m&&!T||l||y(t.inside,!!this.options.stacking)&&p&&c.isInsidePlot(P,a?p.x+1:p.y+p.height-1,{inverted:a,paneCoordinates:!0,series:s})),a=o.pos(),P&&a){R&&h.attr({align:e}),e=h.getBBox(!0);var b=[0,0],O=c.renderer.fontMetrics(c.styledMode?void 0:t.style.fontSize,h).b;p=K({x:a[0],y:Math.round(a[1]),width:0,height:0},p),K(t,{width:e.width,height:e.height}),R?(T=!1,b=c.renderer.rotCorr(O,R),O={x:p.x+(t.x||0)+p.width/2+b.x,y:p.y+(t.y||0)+{top:0,middle:.5,bottom:1}[t.verticalAlign]*p.height},b=[e.x-Number(h.attr("x")),e.y-Number(h.attr("y"))],Y(O),h[i?"attr":"animate"](O)):(Y(p),h.align(t,void 0,p),O=h.alignAttr),T&&0<=p.height?this.justifyDataLabel(h,t,O,e,p,i):y(t.crop,!0)&&(p=O.x,Y=O.y,p+=b[0],Y+=b[1],P=c.isInsidePlot(p,Y,{paneCoordinates:!0,series:s})&&c.isInsidePlot(p+e.width,Y+e.height,{paneCoordinates:!0,series:s})),t.shape&&!R&&h[i?"attr":"animate"]({anchorX:a[0],anchorY:a[1]})}i&&m&&(h.placed=!1),P||m&&!T?h.show():(h.hide(),h.placed=!1)}function w(o,h){var t=h.filter;return t?(h=t.operator,o=o[t.property],t=t.value,h===">"&&o>t||h==="<"&&o<t||h===">="&&o>=t||h==="<="&&o<=t||h==="=="&&o==t||h==="==="&&o===t):!0}function E(o){o===void 0&&(o=this.points);var h=this,t=h.chart,p=h.options,i=h.hasRendered||0,s=t.renderer,c=t.options.chart,a=c.backgroundColor;c=c.plotBackgroundColor;var m=s.getContrast(A(c)&&c||A(a)&&a||"#000000"),P=p.dataLabels,Y;if(a=P.animation,a=P.defer?J(t,a,h):{defer:0,duration:0},P=k(k(t.options.plotOptions&&t.options.plotOptions.series&&t.options.plotOptions.series.dataLabels,t.options.plotOptions&&t.options.plotOptions[h.type]&&t.options.plotOptions[h.type].dataLabels),P),z(this,"drawDataLabels"),j(P)||P.enabled||h._hasPointLabels){var R=h.plotGroup("dataLabelsGroup","data-labels",i?"inherit":"hidden",P.zIndex||6);R.attr({opacity:+i}),!i&&(i=h.dataLabelsGroup)&&(h.visible&&R.show(),i[p.animation?"animate":"attr"]({opacity:1},a)),o.forEach(function(e){Y=C(k(P,e.dlOptions||e.options&&e.options.dataLabels)),Y.forEach(function(l,T){var b=l.enabled&&(!e.isNull||e.dataLabelOnNull)&&w(e,l),O=e.connectors?e.connectors[T]:e.connector,n=e.dataLabels?e.dataLabels[T]:e.dataLabel,x=!n,u=y(l.distance,e.labelDistance);if(b){var B=e.getLabelConfig(),L=y(l[e.formatPrefix+"Format"],l.format);B=tt(L)?q(L,B,t):(l[e.formatPrefix+"Formatter"]||l.formatter).call(B,l),L=l.style;var H=l.rotation;t.styledMode||(L.color=y(l.color,L.color,h.color,"#000000"),L.color==="contrast"?(e.contrastColor=s.getContrast(e.color||h.color),L.color=!tt(u)&&l.inside||0>u||p.stacking?e.contrastColor:m):delete e.contrastColor,p.cursor&&(L.cursor=p.cursor));var G={r:l.borderRadius||0,rotation:H,padding:l.padding,zIndex:1};if(!t.styledMode){u=l.backgroundColor;var U=l.borderColor;G.fill=u==="auto"?e.color:u,G.stroke=U==="auto"?e.color:U,G["stroke-width"]=l.borderWidth}f(G,function(V,rt){typeof V>"u"&&delete G[rt]})}!n||b&&tt(B)&&!!n.div==!!l.useHTML&&(n.rotation&&l.rotation||n.rotation===l.rotation)||(x=!0,e.dataLabel=n=e.dataLabel&&e.dataLabel.destroy(),e.dataLabels&&(e.dataLabels.length===1?delete e.dataLabels:delete e.dataLabels[T]),T||delete e.dataLabel,O&&(e.connector=e.connector.destroy(),e.connectors&&(e.connectors.length===1?delete e.connectors:delete e.connectors[T]))),b&&tt(B)?(n?G.text=B:(e.dataLabels=e.dataLabels||[],n=e.dataLabels[T]=H?s.text(B,0,0,l.useHTML).addClass("highcharts-data-label"):s.label(B,0,0,l.shape,null,null,l.useHTML,null,"data-label"),T||(e.dataLabel=n),n.addClass(" highcharts-data-label-color-"+e.colorIndex+" "+(l.className||"")+(l.useHTML?" highcharts-tracker":""))),n.options=l,n.attr(G),t.styledMode||n.css(L).shadow(l.shadow),(T=l[e.formatPrefix+"TextPath"]||l.textPath)&&!l.useHTML&&(n.setTextPath(e.getDataLabelPath&&e.getDataLabelPath(n)||e.graphic,T),e.dataLabelPath&&!T.enabled&&(e.dataLabelPath=e.dataLabelPath.destroy())),n.added||n.add(R),h.alignDataLabel(e,n,l,null,x)):n&&n.hide()})})}z(this,"afterDrawDataLabels")}function I(o,h,t,p,i,s){var c=this.chart,a=h.align,m=h.verticalAlign,P=o.box?0:o.padding||0,Y=h.x;Y=Y===void 0?0:Y;var R=h.y;R=R===void 0?0:R;var e=(t.x||0)+P;if(0>e){a==="right"&&0<=Y?(h.align="left",h.inside=!0):Y-=e;var l=!0}return e=(t.x||0)+p.width-P,e>c.plotWidth&&(a==="left"&&0>=Y?(h.align="right",h.inside=!0):Y+=c.plotWidth-e,l=!0),e=t.y+P,0>e&&(m==="bottom"&&0<=R?(h.verticalAlign="top",h.inside=!0):R-=e,l=!0),e=(t.y||0)+p.height-P,e>c.plotHeight&&(m==="top"&&0>=R?(h.verticalAlign="bottom",h.inside=!0):R+=c.plotHeight-e,l=!0),l&&(h.x=Y,h.y=R,o.placed=!s,o.align(h,void 0,i)),l}function k(o,h){var t=[],p;if(j(o)&&!j(h))t=o.map(function(i){return g(i,h)});else if(j(h)&&!j(o))t=h.map(function(i){return g(o,i)});else if(j(o)||j(h))for(p=Math.max(o.length,h.length);p--;)t[p]=g(o[p],h[p]);else t=g(o,h);return t}function r(o,h,t,p,i){var s=this.chart,c=s.inverted,a=this.xAxis,m=a.reversed,P=c?h.height/2:h.width/2;o=(o=o.pointWidth)?o/2:0,h.startXPos=c?i.x:m?-P-o:a.width-P+o,h.startYPos=c?m?this.yAxis.height-P+o:-P-o:i.y,p?h.visibility==="hidden"&&(h.show(),h.attr({opacity:0}).animate({opacity:1})):h.attr({opacity:1}).animate({opacity:0},void 0,h.hide),s.hasRendered&&(t&&h.attr({x:h.startXPos,y:h.startYPos}),h.placed=!0)}var d=[];S.compose=function(o){if(d.indexOf(o)===-1){var h=o.prototype;d.push(o),h.alignDataLabel=M,h.drawDataLabels=E,h.justifyDataLabel=I,h.setDataLabelStartPos=r}}}(v||(v={})),v}),ht(_,"Series/Column/ColumnDataLabel.js",[_["Core/Series/DataLabel.js"],_["Core/Series/SeriesRegistry.js"],_["Core/Utilities.js"]],function(D,N,F){var J=N.series,q=F.merge,tt=F.pick,K;return function(z){function j(g,f,y,C,v){var S=this.chart.inverted,M=g.series,w=(M.xAxis?M.xAxis.len:this.chart.plotSizeX)||0;M=(M.yAxis?M.yAxis.len:this.chart.plotSizeY)||0;var E=g.dlBox||g.shapeArgs,I=tt(g.below,g.plotY>tt(this.translatedThreshold,M)),k=tt(y.inside,!!this.options.stacking);E&&(C=q(E),0>C.y&&(C.height+=C.y,C.y=0),E=C.y+C.height-M,0<E&&E<C.height&&(C.height-=E),S&&(C={x:M-C.y-C.height,y:w-C.x-C.width,width:C.height,height:C.width}),k||(S?(C.x+=I?0:C.width,C.width=0):(C.y+=I?C.height:0,C.height=0))),y.align=tt(y.align,!S||k?"center":I?"right":"left"),y.verticalAlign=tt(y.verticalAlign,S||k?"middle":I?"top":"bottom"),J.prototype.alignDataLabel.call(this,g,f,y,C,v),y.inside&&g.contrastColor&&f.css({color:g.contrastColor})}var A=[];z.compose=function(g){D.compose(J),A.indexOf(g)===-1&&(A.push(g),g.prototype.alignDataLabel=j)}}(K||(K={})),K}),ht(_,"Series/Bar/BarSeries.js",[_["Series/Column/ColumnSeries.js"],_["Core/Series/SeriesRegistry.js"],_["Core/Utilities.js"]],function(D,N,F){var J=this&&this.__extends||function(){var K=function(z,j){return K=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,g){A.__proto__=g}||function(A,g){for(var f in g)g.hasOwnProperty(f)&&(A[f]=g[f])},K(z,j)};return function(z,j){function A(){this.constructor=z}K(z,j),z.prototype=j===null?Object.create(j):(A.prototype=j.prototype,new A)}}(),q=F.extend,tt=F.merge;return F=function(K){function z(){var j=K!==null&&K.apply(this,arguments)||this;return j.data=void 0,j.options=void 0,j.points=void 0,j}return J(z,K),z.defaultOptions=tt(D.defaultOptions,{}),z}(D),q(F.prototype,{inverted:!0}),N.registerSeriesType("bar",F),F}),ht(_,"Series/Scatter/ScatterSeriesDefaults.js",[],function(){"";return{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">\u25CF</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}}),ht(_,"Series/Scatter/ScatterSeries.js",[_["Series/Scatter/ScatterSeriesDefaults.js"],_["Core/Series/SeriesRegistry.js"],_["Core/Utilities.js"]],function(D,N,F){var J=this&&this.__extends||function(){var A=function(g,f){return A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,C){y.__proto__=C}||function(y,C){for(var v in C)C.hasOwnProperty(v)&&(y[v]=C[v])},A(g,f)};return function(g,f){function y(){this.constructor=g}A(g,f),g.prototype=f===null?Object.create(f):(y.prototype=f.prototype,new y)}}(),q=N.seriesTypes,tt=q.column,K=q.line;q=F.addEvent;var z=F.extend,j=F.merge;return F=function(A){function g(){var f=A!==null&&A.apply(this,arguments)||this;return f.data=void 0,f.options=void 0,f.points=void 0,f}return J(g,A),g.prototype.applyJitter=function(){var f=this,y=this.options.jitter,C=this.points.length;y&&this.points.forEach(function(v,S){["x","y"].forEach(function(M,w){var E="plot"+M.toUpperCase();if(y[M]&&!v.isNull){var I=f[M+"Axis"],k=y[M]*I.transA;if(I&&!I.isLog){var r=Math.max(0,v[E]-k);I=Math.min(I.len,v[E]+k),w=1e4*Math.sin(S+w*C),v[E]=r+(I-r)*(w-Math.floor(w)),M==="x"&&(v.clientX=v.plotX)}}})})},g.prototype.drawGraph=function(){this.options.lineWidth?A.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())},g.defaultOptions=j(K.defaultOptions,D),g}(K),z(F.prototype,{drawTracker:tt.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),q(F,"afterTranslate",function(){this.applyJitter()}),N.registerSeriesType("scatter",F),F}),ht(_,"Series/CenteredUtilities.js",[_["Core/Globals.js"],_["Core/Series/Series.js"],_["Core/Utilities.js"]],function(D,N,F){var J=D.deg2rad,q=F.fireEvent,tt=F.isNumber,K=F.pick,z=F.relativeLength,j;return function(A){A.getCenter=function(){var g=this.options,f=this.chart,y=2*(g.slicedOffset||0),C=f.plotWidth-2*y,v=f.plotHeight-2*y,S=g.center,M=Math.min(C,v),w=g.thickness,E=g.size,I=g.innerSize||0;for(typeof E=="string"&&(E=parseFloat(E)),typeof I=="string"&&(I=parseFloat(I)),g=[K(S[0],"50%"),K(S[1],"50%"),K(E&&0>E?void 0:g.size,"100%"),K(I&&0>I?void 0:g.innerSize||0,"0%")],!f.angular||this instanceof N||(g[3]=0),S=0;4>S;++S)E=g[S],f=2>S||S===2&&/%$/.test(E),g[S]=z(E,[C,v,M,g[2]][S])+(f?y:0);return g[3]>g[2]&&(g[3]=g[2]),tt(w)&&2*w<g[2]&&0<w&&(g[3]=g[2]-2*w),q(this,"afterGetCenter",{positions:g}),g},A.getStartAndEndRadians=function(g,f){return g=tt(g)?g:0,f=tt(f)&&f>g&&360>f-g?f:g+360,{start:J*(g+-90),end:J*(f+-90)}}}(j||(j={})),j}),ht(_,"Series/Pie/PiePoint.js",[_["Core/Animation/AnimationUtilities.js"],_["Core/Series/Point.js"],_["Core/Utilities.js"]],function(D,N,F){var J=this&&this.__extends||function(){var g=function(f,y){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,v){C.__proto__=v}||function(C,v){for(var S in v)v.hasOwnProperty(S)&&(C[S]=v[S])},g(f,y)};return function(f,y){function C(){this.constructor=f}g(f,y),f.prototype=y===null?Object.create(y):(C.prototype=y.prototype,new C)}}(),q=D.setAnimation,tt=F.addEvent,K=F.defined;D=F.extend;var z=F.isNumber,j=F.pick,A=F.relativeLength;return N=function(g){function f(){var y=g!==null&&g.apply(this,arguments)||this;return y.labelDistance=void 0,y.options=void 0,y.series=void 0,y}return J(f,g),f.prototype.getConnectorPath=function(){var y=this.labelPosition,C=this.series.options.dataLabels,v=this.connectorShapes,S=C.connectorShape;return v[S]&&(S=v[S]),S.call(this,{x:y.final.x,y:y.final.y,alignment:y.alignment},y.connectorPosition,C)},f.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},f.prototype.haloPath=function(y){var C=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(C.x,C.y,C.r+y,C.r+y,{innerR:C.r-1,start:C.start,end:C.end})},f.prototype.init=function(){var y=this;g.prototype.init.apply(this,arguments),this.name=j(this.name,"Slice");var C=function(v){y.slice(v.type==="select")};return tt(this,"select",C),tt(this,"unselect",C),this},f.prototype.isValid=function(){return z(this.y)&&0<=this.y},f.prototype.setVisible=function(y,C){var v=this,S=this.series,M=S.chart,w=S.options.ignoreHiddenPoint;C=j(C,w),y!==this.visible&&(this.visible=this.options.visible=y=typeof y>"u"?!this.visible:y,S.options.data[S.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach(function(E){v[E]&&v[E][y?"show":"hide"](y)}),this.legendItem&&M.legend.colorizeItem(this,y),y||this.state!=="hover"||this.setState(""),w&&(S.isDirty=!0),C&&M.redraw())},f.prototype.slice=function(y,C,v){var S=this.series;q(v,S.chart),j(C,!0),this.sliced=this.options.sliced=K(y)?y:!this.sliced,S.options.data[S.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},f}(N),D(N.prototype,{connectorShapes:{fixedOffset:function(g,f,y){var C=f.breakAt;return f=f.touchingSliceAt,[["M",g.x,g.y],y.softConnector?["C",g.x+(g.alignment==="left"?-5:5),g.y,2*C.x-f.x,2*C.y-f.y,C.x,C.y]:["L",C.x,C.y],["L",f.x,f.y]]},straight:function(g,f){return f=f.touchingSliceAt,[["M",g.x,g.y],["L",f.x,f.y]]},crookedLine:function(g,f,y){f=f.touchingSliceAt;var C=this.series,v=C.center[0],S=C.chart.plotWidth,M=C.chart.plotLeft;C=g.alignment;var w=this.shapeArgs.r;return y=A(y.crookDistance,1),S=C==="left"?v+w+(S+M-v-w)*(1-y):M+(v-w)*y,y=["L",S,g.y],v=!0,(C==="left"?S>g.x||S<f.x:S<g.x||S>f.x)&&(v=!1),g=[["M",g.x,g.y]],v&&g.push(y),g.push(["L",f.x,f.y]),g}}}),N}),ht(_,"Series/Pie/PieSeriesDefaults.js",[],function(){"";return{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}}),ht(_,"Series/Pie/PieSeries.js",[_["Series/CenteredUtilities.js"],_["Series/Column/ColumnSeries.js"],_["Core/Globals.js"],_["Core/Legend/LegendSymbol.js"],_["Series/Pie/PiePoint.js"],_["Series/Pie/PieSeriesDefaults.js"],_["Core/Series/Series.js"],_["Core/Series/SeriesRegistry.js"],_["Core/Renderer/SVG/Symbols.js"],_["Core/Utilities.js"]],function(D,N,F,J,q,tt,K,z,j,A){var g=this&&this.__extends||function(){var E=function(I,k){return E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,d){r.__proto__=d}||function(r,d){for(var o in d)d.hasOwnProperty(o)&&(r[o]=d[o])},E(I,k)};return function(I,k){function r(){this.constructor=I}E(I,k),I.prototype=k===null?Object.create(k):(r.prototype=k.prototype,new r)}}(),f=D.getStartAndEndRadians;F=F.noop;var y=A.clamp,C=A.extend,v=A.fireEvent,S=A.merge,M=A.pick,w=A.relativeLength;return A=function(E){function I(){var k=E!==null&&E.apply(this,arguments)||this;return k.center=void 0,k.data=void 0,k.maxLabelDistance=void 0,k.options=void 0,k.points=void 0,k}return g(I,E),I.prototype.animate=function(k){var r=this,d=r.points,o=r.startAngleRad;k||d.forEach(function(h){var t=h.graphic,p=h.shapeArgs;t&&p&&(t.attr({r:M(h.startR,r.center&&r.center[3]/2),start:o,end:o}),t.animate({r:p.r,start:p.start,end:p.end},r.options.animation))})},I.prototype.drawEmpty=function(){var k=this.startAngleRad,r=this.endAngleRad,d=this.options;if(this.total===0&&this.center){var o=this.center[0],h=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(o,h,this.center[1]/2,0,k,r).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:j.arc(o,h,this.center[2]/2,0,{start:k,end:r,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":d.borderWidth,fill:d.fillColor||"none",stroke:d.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())},I.prototype.drawPoints=function(){var k=this.chart.renderer;this.points.forEach(function(r){r.graphic&&r.hasNewShapeType()&&(r.graphic=r.graphic.destroy()),r.graphic||(r.graphic=k[r.shapeType](r.shapeArgs).add(r.series.group),r.delayedRendering=!0)})},I.prototype.generatePoints=function(){E.prototype.generatePoints.call(this),this.updateTotals()},I.prototype.getX=function(k,r,d){var o=this.center,h=this.radii?this.radii[d.index]||0:o[2]/2;return k=Math.asin(y((k-o[1])/(h+d.labelDistance),-1,1)),o[0]+(r?-1:1)*Math.cos(k)*(h+d.labelDistance)+(0<d.labelDistance?(r?-1:1)*this.options.dataLabels.padding:0)},I.prototype.hasData=function(){return!!this.processedXData.length},I.prototype.redrawPoints=function(){var k=this,r=k.chart,d=r.renderer,o=k.options.shadow,h,t,p,i;this.drawEmpty(),!o||k.shadowGroup||r.styledMode||(k.shadowGroup=d.g("shadow").attr({zIndex:-1}).add(k.group)),k.points.forEach(function(s){var c={};if(t=s.graphic,!s.isNull&&t){var a=void 0;i=s.shapeArgs,h=s.getTranslate(),r.styledMode||(a=s.shadowGroup,o&&!a&&(a=s.shadowGroup=d.g("shadow").add(k.shadowGroup)),a&&a.attr(h),p=k.pointAttribs(s,s.selected&&"select")),s.delayedRendering?(t.setRadialReference(k.center).attr(i).attr(h),r.styledMode||t.attr(p).attr({"stroke-linejoin":"round"}).shadow(o,a),s.delayedRendering=!1):(t.setRadialReference(k.center),r.styledMode||S(!0,c,p),S(!0,c,i,h),t.animate(c)),t.attr({visibility:s.visible?"inherit":"hidden"}),t.addClass(s.getClassName(),!0)}else t&&(s.graphic=t.destroy())})},I.prototype.sortByAngle=function(k,r){k.sort(function(d,o){return typeof d.angle<"u"&&(o.angle-d.angle)*r})},I.prototype.translate=function(k){v(this,"translate"),this.generatePoints();var r=this.options,d=r.slicedOffset,o=d+(r.borderWidth||0),h=f(r.startAngle,r.endAngle),t=this.startAngleRad=h.start;h=(this.endAngleRad=h.end)-t;var p=this.points,i=r.dataLabels.distance;r=r.ignoreHiddenPoint;var s=p.length,c,a=0;for(k||(this.center=k=this.getCenter()),c=0;c<s;c++){var m=p[c],P=t+a*h;!m.isValid()||r&&!m.visible||(a+=m.percentage/100);var Y=t+a*h,R={x:k[0],y:k[1],r:k[2]/2,innerR:k[3]/2,start:Math.round(1e3*P)/1e3,end:Math.round(1e3*Y)/1e3};m.shapeType="arc",m.shapeArgs=R,m.labelDistance=M(m.options.dataLabels&&m.options.dataLabels.distance,i),m.labelDistance=w(m.labelDistance,R.r),this.maxLabelDistance=Math.max(this.maxLabelDistance||0,m.labelDistance),Y=(Y+P)/2,Y>1.5*Math.PI?Y-=2*Math.PI:Y<-Math.PI/2&&(Y+=2*Math.PI),m.slicedTranslation={translateX:Math.round(Math.cos(Y)*d),translateY:Math.round(Math.sin(Y)*d)},R=Math.cos(Y)*k[2]/2;var e=Math.sin(Y)*k[2]/2;m.tooltipPos=[k[0]+.7*R,k[1]+.7*e],m.half=Y<-Math.PI/2||Y>Math.PI/2?1:0,m.angle=Y,P=Math.min(o,m.labelDistance/5),m.labelPosition={natural:{x:k[0]+R+Math.cos(Y)*m.labelDistance,y:k[1]+e+Math.sin(Y)*m.labelDistance},final:{},alignment:0>m.labelDistance?"center":m.half?"right":"left",connectorPosition:{breakAt:{x:k[0]+R+Math.cos(Y)*P,y:k[1]+e+Math.sin(Y)*P},touchingSliceAt:{x:k[0]+R,y:k[1]+e}}}}v(this,"afterTranslate")},I.prototype.updateTotals=function(){var k=this.points,r=k.length,d=this.options.ignoreHiddenPoint,o,h=0;for(o=0;o<r;o++){var t=k[o];!t.isValid()||d&&!t.visible||(h+=t.y)}for(this.total=h,o=0;o<r;o++)t=k[o],t.percentage=0<h&&(t.visible||!d)?t.y/h*100:0,t.total=h},I.defaultOptions=S(K.defaultOptions,tt),I}(K),C(A.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawLegendSymbol:J.drawRectangle,drawTracker:N.prototype.drawTracker,getCenter:D.getCenter,getSymbol:F,isCartesian:!1,noSharedTooltip:!0,pointAttribs:N.prototype.pointAttribs,pointClass:q,requireSorting:!1,searchPoint:F,trackerGroups:["group","dataLabelsGroup"]}),z.registerSeriesType("pie",A),A}),ht(_,"Series/Pie/PieDataLabel.js",[_["Core/Series/DataLabel.js"],_["Core/Globals.js"],_["Core/Renderer/RendererUtilities.js"],_["Core/Series/SeriesRegistry.js"],_["Core/Utilities.js"]],function(D,N,F,J,q){var tt=N.noop,K=F.distribute,z=J.series,j=q.arrayMax,A=q.clamp,g=q.defined,f=q.merge,y=q.pick,C=q.relativeLength,v;return function(S){function M(){var r=this,d=r.data,o=r.chart,h=r.options.dataLabels||{},t=h.connectorPadding,p=o.plotWidth,i=o.plotHeight,s=o.plotLeft,c=Math.round(o.chartWidth/3),a=r.center,m=a[2]/2,P=a[1],Y=[[],[]],R=[0,0,0,0],e=r.dataLabelPositioners,l,T,b,O,n,x,u,B,L,H,G,U;r.visible&&(h.enabled||r._hasPointLabels)&&(d.forEach(function(V){V.dataLabel&&V.visible&&V.dataLabel.shortened&&(V.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),V.dataLabel.shortened=!1)}),z.prototype.drawDataLabels.apply(r),d.forEach(function(V){V.dataLabel&&(V.visible?(Y[V.half].push(V),V.dataLabel._pos=null,!g(h.style.width)&&!g(V.options.dataLabels&&V.options.dataLabels.style&&V.options.dataLabels.style.width)&&V.dataLabel.getBBox().width>c&&(V.dataLabel.css({width:Math.round(.7*c)+"px"}),V.dataLabel.shortened=!0)):(V.dataLabel=V.dataLabel.destroy(),V.dataLabels&&V.dataLabels.length===1&&delete V.dataLabels))}),Y.forEach(function(V,rt){var st=V.length,ot=[],et;if(st){if(r.sortByAngle(V,rt-.5),0<r.maxLabelDistance){var at=Math.max(0,P-m-r.maxLabelDistance),$=Math.min(P+m+r.maxLabelDistance,o.plotHeight);V.forEach(function(W){0<W.labelDistance&&W.dataLabel&&(W.top=Math.max(0,P-m-W.labelDistance),W.bottom=Math.min(P+m+W.labelDistance,o.plotHeight),et=W.dataLabel.getBBox().height||21,W.distributeBox={target:W.labelPosition.natural.y-W.top+et/2,size:et,rank:W.y},ot.push(W.distributeBox))}),at=$+et-at,K(ot,at,at/5)}for(G=0;G<st;G++){if(l=V[G],x=l.labelPosition,O=l.dataLabel,H=l.visible===!1?"hidden":"inherit",L=at=x.natural.y,ot&&g(l.distributeBox)&&(typeof l.distributeBox.pos>"u"?H="hidden":(u=l.distributeBox.size,L=e.radialDistributionY(l))),delete l.positionIndex,h.justify)B=e.justify(l,m,a);else switch(h.alignTo){case"connectors":B=e.alignToConnectors(V,rt,p,s);break;case"plotEdges":B=e.alignToPlotEdges(O,rt,p,s);break;default:B=e.radialDistributionX(r,l,L,at)}O._attr={visibility:H,align:x.alignment},U=l.options.dataLabels||{},O._pos={x:B+y(U.x,h.x)+({left:t,right:-t}[x.alignment]||0),y:L+y(U.y,h.y)-10},x.final.x=B,x.final.y=L,y(h.crop,!0)&&(n=O.getBBox().width,at=null,B-n<t&&rt===1?(at=Math.round(n-B+t),R[3]=Math.max(at,R[3])):B+n>p-t&&rt===0&&(at=Math.round(B+n-p+t),R[1]=Math.max(at,R[1])),0>L-u/2?R[0]=Math.max(Math.round(-L+u/2),R[0]):L+u/2>i&&(R[2]=Math.max(Math.round(L+u/2-i),R[2])),O.sideOverflow=at)}}}),j(R)===0||this.verifyDataLabelOverflow(R))&&(this.placeDataLabels(),this.points.forEach(function(V){if(U=f(h,V.options.dataLabels),T=y(U.connectorWidth,1)){var rt;b=V.connector,(O=V.dataLabel)&&O._pos&&V.visible&&0<V.labelDistance?(H=O._attr.visibility,(rt=!b)&&(V.connector=b=o.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+V.colorIndex+(V.className?" "+V.className:"")).add(r.dataLabelsGroup),o.styledMode||b.attr({"stroke-width":T,stroke:U.connectorColor||V.color||"#666666"})),b[rt?"attr":"animate"]({d:V.getConnectorPath()}),b.attr("visibility",H)):b&&(V.connector=b.destroy())}}))}function w(){this.points.forEach(function(r){var d=r.dataLabel,o;d&&r.visible&&((o=d._pos)?(d.sideOverflow&&(d._attr.width=Math.max(d.getBBox().width-d.sideOverflow,0),d.css({width:d._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),d.shortened=!0),d.attr(d._attr),d[d.moved?"animate":"attr"](o),d.moved=!0):d&&d.attr({y:-9999})),delete r.distributeBox},this)}function E(r){var d=this.center,o=this.options,h=o.center,t=o.minSize||80,p=o.size!==null;if(!p){if(h[0]!==null)var i=Math.max(d[2]-Math.max(r[1],r[3]),t);else i=Math.max(d[2]-r[1]-r[3],t),d[0]+=(r[3]-r[1])/2;h[1]!==null?i=A(i,t,d[2]-Math.max(r[0],r[2])):(i=A(i,t,d[2]-r[0]-r[2]),d[1]+=(r[0]-r[2])/2),i<d[2]?(d[2]=i,d[3]=Math.min(o.thickness?Math.max(0,i-2*o.thickness):Math.max(0,C(o.innerSize||0,i)),i),this.translate(d),this.drawDataLabels&&this.drawDataLabels()):p=!0}return p}var I=[],k={radialDistributionY:function(r){return r.top+r.distributeBox.pos},radialDistributionX:function(r,d,o,h){return r.getX(o<d.top+2||o>d.bottom-2?h:o,d.half,d)},justify:function(r,d,o){return o[0]+(r.half?-1:1)*(d+r.labelDistance)},alignToPlotEdges:function(r,d,o,h){return r=r.getBBox().width,d?r+h:o-r-h},alignToConnectors:function(r,d,o,h){var t=0,p;return r.forEach(function(i){p=i.dataLabel.getBBox().width,p>t&&(t=p)}),d?t+h:o-t-h}};S.compose=function(r){D.compose(z),I.indexOf(r)===-1&&(I.push(r),r=r.prototype,r.dataLabelPositioners=k,r.alignDataLabel=tt,r.drawDataLabels=M,r.placeDataLabels=w,r.verifyDataLabelOverflow=E)}}(v||(v={})),v}),ht(_,"Extensions/OverlappingDataLabels.js",[_["Core/Chart/Chart.js"],_["Core/Utilities.js"]],function(D,N){function F(A,g){var f=!1;if(A){var y=A.newOpacity;A.oldOpacity!==y&&(A.alignAttr&&A.placed?(A[y?"removeClass":"addClass"]("highcharts-data-label-hidden"),f=!0,A.alignAttr.opacity=y,A[A.isOld?"animate":"attr"](A.alignAttr,null,function(){g.styledMode||A.css({pointerEvents:y?"auto":"none"})}),q(g,"afterHideOverlappingLabel")):A.attr({opacity:y})),A.isOld=!0}return f}var J=N.addEvent,q=N.fireEvent,tt=N.isArray,K=N.isNumber,z=N.objectEach,j=N.pick;J(D,"render",function(){var A=this,g=[];(this.labelCollectors||[]).forEach(function(f){g=g.concat(f())}),(this.yAxis||[]).forEach(function(f){f.stacking&&f.options.stackLabels&&!f.options.stackLabels.allowOverlap&&z(f.stacking.stacks,function(y){z(y,function(C){C.label&&g.push(C.label)})})}),(this.series||[]).forEach(function(f){var y=f.options.dataLabels;f.visible&&(y.enabled!==!1||f._hasPointLabels)&&(y=function(C){return C.forEach(function(v){v.visible&&(tt(v.dataLabels)?v.dataLabels:v.dataLabel?[v.dataLabel]:[]).forEach(function(S){var M=S.options;S.labelrank=j(M.labelrank,v.labelrank,v.shapeArgs&&v.shapeArgs.height),M.allowOverlap?(S.oldOpacity=S.opacity,S.newOpacity=1,F(S,A)):g.push(S)})})},y(f.nodes||[]),y(f.points))}),this.hideOverlappingLabels(g)}),D.prototype.hideOverlappingLabels=function(A){var g=this,f=A.length,y=g.renderer,C,v,S,M=!1,w=function(k){var r,d=k.box?0:k.padding||0,o=r=0,h;if(k&&(!k.alignAttr||k.placed)){var t=k.alignAttr||{x:k.attr("x"),y:k.attr("y")},p=k.parentGroup;k.width||(r=k.getBBox(),k.width=r.width,k.height=r.height,r=y.fontMetrics(null,k.element).h);var i=k.width-2*d;return(h={left:"0",center:"0.5",right:"1"}[k.alignValue])?o=+h*i:K(k.x)&&Math.round(k.x)!==k.translateX&&(o=k.x-k.translateX),{x:t.x+(p.translateX||0)+d-(o||0),y:t.y+(p.translateY||0)+d-r,width:k.width-2*d,height:k.height-2*d}}};for(v=0;v<f;v++)(C=A[v])&&(C.oldOpacity=C.opacity,C.newOpacity=1,C.absoluteBox=w(C));for(A.sort(function(k,r){return(r.labelrank||0)-(k.labelrank||0)}),v=0;v<f;v++){var E=(w=A[v])&&w.absoluteBox;for(C=v+1;C<f;++C){var I=(S=A[C])&&S.absoluteBox;!E||!I||w===S||w.newOpacity===0||S.newOpacity===0||w.visibility==="hidden"||S.visibility==="hidden"||I.x>=E.x+E.width||I.x+I.width<=E.x||I.y>=E.y+E.height||I.y+I.height<=E.y||((w.labelrank<S.labelrank?w:S).newOpacity=0)}}A.forEach(function(k){F(k,g)&&(M=!0)}),M&&q(g,"afterHideAllOverlappingLabels")}}),ht(_,"Core/Responsive.js",[_["Core/Utilities.js"]],function(D){var N=D.extend,F=D.find,J=D.isArray,q=D.isObject,tt=D.merge,K=D.objectEach,z=D.pick,j=D.splat,A=D.uniqueKey,g;return function(f){var y=[];f.compose=function(v){return y.indexOf(v)===-1&&(y.push(v),N(v.prototype,C.prototype)),v};var C=function(){function v(){}return v.prototype.currentOptions=function(S){function M(I,k,r,d){var o;K(I,function(h,t){if(!d&&-1<w.collectionsWithUpdate.indexOf(t)&&k[t])for(h=j(h),r[t]=[],o=0;o<Math.max(h.length,k[t].length);o++)k[t][o]&&(h[o]===void 0?r[t][o]=k[t][o]:(r[t][o]={},M(h[o],k[t][o],r[t][o],d+1)));else q(h)?(r[t]=J(h)?[]:{},M(h,k[t]||{},r[t],d+1)):r[t]=typeof k[t]>"u"?null:k[t]})}var w=this,E={};return M(S,this.options,E,0),E},v.prototype.matchResponsiveRule=function(S,M){var w=S.condition;(w.callback||function(){return this.chartWidth<=z(w.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=z(w.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=z(w.minWidth,0)&&this.chartHeight>=z(w.minHeight,0)}).call(this)&&M.push(S._id)},v.prototype.setResponsive=function(S,M){var w=this,E=this.options.responsive,I=this.currentResponsive,k=[];!M&&E&&E.rules&&E.rules.forEach(function(r){typeof r._id>"u"&&(r._id=A()),w.matchResponsiveRule(r,k)},this),M=tt.apply(void 0,k.map(function(r){return F((E||{}).rules||[],function(d){return d._id===r})}).map(function(r){return r&&r.chartOptions})),M.isResponsiveOptions=!0,k=k.toString()||void 0,k!==(I&&I.ruleIds)&&(I&&this.update(I.undoOptions,S,!0),k?(I=this.currentOptions(M),I.isResponsiveOptions=!0,this.currentResponsive={ruleIds:k,mergedOptions:M,undoOptions:I},this.update(M,S,!0)):this.currentResponsive=void 0)},v}()}(g||(g={})),g}),ht(_,"masters/highcharts.src.js",[_["Core/Globals.js"],_["Core/Utilities.js"],_["Core/Defaults.js"],_["Core/Animation/Fx.js"],_["Core/Animation/AnimationUtilities.js"],_["Core/Renderer/HTML/AST.js"],_["Core/FormatUtilities.js"],_["Core/Renderer/RendererUtilities.js"],_["Core/Renderer/SVG/SVGElement.js"],_["Core/Renderer/SVG/SVGRenderer.js"],_["Core/Renderer/HTML/HTMLElement.js"],_["Core/Renderer/HTML/HTMLRenderer.js"],_["Core/Axis/Axis.js"],_["Core/Axis/DateTimeAxis.js"],_["Core/Axis/LogarithmicAxis.js"],_["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],_["Core/Axis/Tick.js"],_["Core/Tooltip.js"],_["Core/Series/Point.js"],_["Core/Pointer.js"],_["Core/MSPointer.js"],_["Core/Legend/Legend.js"],_["Core/Chart/Chart.js"],_["Core/Axis/Stacking/StackingAxis.js"],_["Core/Axis/Stacking/StackItem.js"],_["Core/Series/Series.js"],_["Core/Series/SeriesRegistry.js"],_["Series/Column/ColumnSeries.js"],_["Series/Column/ColumnDataLabel.js"],_["Series/Pie/PieSeries.js"],_["Series/Pie/PieDataLabel.js"],_["Core/Series/DataLabel.js"],_["Core/Responsive.js"],_["Core/Color/Color.js"],_["Core/Time.js"]],function(D,N,F,J,q,tt,K,z,j,A,g,f,y,C,v,S,M,w,E,I,k,r,d,o,h,t,p,i,s,c,a,m,P,Y,R){return D.animate=q.animate,D.animObject=q.animObject,D.getDeferredAnimation=q.getDeferredAnimation,D.setAnimation=q.setAnimation,D.stop=q.stop,D.timers=J.timers,D.AST=tt,D.Axis=y,D.Chart=d,D.chart=d.chart,D.Fx=J,D.Legend=r,D.PlotLineOrBand=S,D.Point=E,D.Pointer=k.isRequired()?k:I,D.Series=t,D.StackItem=h,D.SVGElement=j,D.SVGRenderer=A,D.Tick=M,D.Time=R,D.Tooltip=w,D.Color=Y,D.color=Y.parse,f.compose(A),g.compose(j),D.defaultOptions=F.defaultOptions,D.getOptions=F.getOptions,D.time=F.defaultTime,D.setOptions=F.setOptions,D.dateFormat=K.dateFormat,D.format=K.format,D.numberFormat=K.numberFormat,D.addEvent=N.addEvent,D.arrayMax=N.arrayMax,D.arrayMin=N.arrayMin,D.attr=N.attr,D.clearTimeout=N.clearTimeout,D.correctFloat=N.correctFloat,D.createElement=N.createElement,D.css=N.css,D.defined=N.defined,D.destroyObjectProperties=N.destroyObjectProperties,D.discardElement=N.discardElement,D.distribute=z.distribute,D.erase=N.erase,D.error=N.error,D.extend=N.extend,D.extendClass=N.extendClass,D.find=N.find,D.fireEvent=N.fireEvent,D.getMagnitude=N.getMagnitude,D.getStyle=N.getStyle,D.inArray=N.inArray,D.isArray=N.isArray,D.isClass=N.isClass,D.isDOMElement=N.isDOMElement,D.isFunction=N.isFunction,D.isNumber=N.isNumber,D.isObject=N.isObject,D.isString=N.isString,D.keys=N.keys,D.merge=N.merge,D.normalizeTickInterval=N.normalizeTickInterval,D.objectEach=N.objectEach,D.offset=N.offset,D.pad=N.pad,D.pick=N.pick,D.pInt=N.pInt,D.relativeLength=N.relativeLength,D.removeEvent=N.removeEvent,D.seriesType=p.seriesType,D.splat=N.splat,D.stableSort=N.stableSort,D.syncTimeout=N.syncTimeout,D.timeUnits=N.timeUnits,D.uniqueKey=N.uniqueKey,D.useSerialIds=N.useSerialIds,D.wrap=N.wrap,s.compose(i),m.compose(t),C.compose(y),v.compose(y),a.compose(c),S.compose(y),P.compose(d),o.compose(y,d,t),D}),_["masters/highcharts.src.js"]._modules=_,_["masters/highcharts.src.js"]})});var qe=re(oe());var _e=re(oe());var Jt=class{constructor(ht){this.Chart=ht.Chart,this.PerformanceChannel=ht.PerformanceChannel,this.lineChartOptions=this.generateLineChartOptions(),this.pieChartOptions=this.generatePieChartOptions()}generateLineChartOptions(){let ht=0;return{chart:{type:"spline",inverted:!1},credits:{enabled:!1},yAxis:{title:{text:""}},xAxis:{categories:this.Chart.XAxis,labels:{style:{fontSize:"10px"}}},title:{text:""},legend:{itemMarginTop:2,itemMarginBottom:2,itemStyle:{fontSize:"10px"}},tooltip:{pointFormatter:function(){return'<span style="color:'+this.color+'">\u25CF</span> '+this.series.name+": <b>"+_e.numberFormat(this.y,0,",",".")+" IDR</b><br/>"}},series:this.Chart.Area.filter(D=>(ht=0,D?.Data.forEach(N=>{N==0&&(ht+=1)}),ht!=D.Data.length)).map(D=>({name:D.Name,data:D.Data,type:"spline",color:Dt.getCssChannelColor(D.TypeID)}))}}generatePieChartOptions(){return{credits:{enabled:!1},title:{text:""},legend:{itemMarginTop:2,itemMarginBottom:2,itemStyle:{fontSize:"10px"}},plotOptions:{pie:{allowPointSelect:!0,cursor:"pointer",dataLabels:{enabled:!0,format:"<b>{point.name}</b>: {point.y} Orders"},showInLegend:!0}},series:[{type:"pie",name:"Total",data:this.Chart.Pie.filter(_=>_.Order>0).map(_=>({name:_.Name,y:_.Order,color:Dt.getCssChannelColor(_.TypeID)}))}]}}};var te=(()=>{let ht=class ht{constructor(D){this.http=D}getDashboardData(D){let N="/api/dashboard/GetDashboardData";var F={range:D.range,type:D.type};return this.http.post(N,F).pipe(Ut(J=>new Jt(J)))}getChannelShortcuts(){return[{name:"Tokopedia",class:"btn-tokopedia",typeId:Bt.Tokopedia,campaign:"https://seller.tokopedia.com/promo",chat:"https://seller.tokopedia.com/chat",logo:Yt.TOKOPEDIA,sellerCenter:"https://seller.tokopedia.com"},{name:"Shopee",class:"btn-shopee",typeId:Bt.ShopeeV2,campaign:"https://seller.shopee.co.id/portal/marketing",chat:"https://seller.shopee.co.id/webchat/conversations",logo:Yt.SHOOPE,sellerCenter:"https://seller.shopee.co.id/"},{name:"Tiktok",class:"btn-tiktok",typeId:Bt.Tiktok,campaign:"https://seller-id.tiktok.com",chat:"https://seller-id.tiktok.com/chat?lang=id-ID&from=seller_center_navigation_im",logo:Yt.TIKTOK,sellerCenter:"https://seller-id.tiktok.com"},{name:"Lazada",class:"btn-lazada",typeId:Bt.Lazada,campaign:"https://sellercenter.lazada.co.id/apps/promotion/home?",chat:"https://sellercenter.lazada.co.id/apps/im/chat",logo:Yt.LAZADA,sellerCenter:"https://sellercenter.lazada.co.id"}]}};ht.\u0275fac=function(N){return new(N||ht)(ae(we))},ht.\u0275prov=ne({token:ht,factory:ht.\u0275fac});let dt=ht;return dt})();var Ge=(()=>{class dt{constructor(_,D){this.el=_,this._zone=D,this.updateChange=new ie(!0),this.chartInstance=new ie}ngOnChanges(_){let D=_.update&&_.update.currentValue;(_.options||D)&&(this.wrappedUpdateOrCreateChart(),D&&this.updateChange.emit(!1))}wrappedUpdateOrCreateChart(){this.runOutsideAngular?this._zone.runOutsideAngular(()=>{this.updateOrCreateChart()}):this.updateOrCreateChart()}updateOrCreateChart(){this.chart&&this.chart.update?this.chart.update(this.options,!0,this.oneToOne||!1):(this.chart=this.Highcharts[this.constructorType||"chart"](this.el.nativeElement,this.options,this.callbackFunction||null),this.chartInstance.emit(this.chart))}ngOnDestroy(){this.chart&&(this.chart.destroy(),this.chart=null)}}return dt.\u0275fac=function(_){return new(_||dt)(zt(de),zt(ue))},dt.\u0275cmp=Vt({type:dt,selectors:[["highcharts-chart"]],inputs:{Highcharts:"Highcharts",constructorType:"constructorType",callbackFunction:"callbackFunction",oneToOne:"oneToOne",runOutsideAngular:"runOutsideAngular",options:"options",update:"update"},outputs:{updateChange:"updateChange",chartInstance:"chartInstance"},features:[le],decls:0,vars:0,template:function(_,D){},encapsulation:2}),dt})(),Ye=(()=>{class dt{}return dt.\u0275fac=function(_){return new(_||dt)},dt.\u0275mod=Ht({type:dt}),dt.\u0275inj=Nt({}),dt})();var ee=(()=>{let ht=class ht{transform(D,N,F,J){let q=0;return D&&!F&&!J&&D.forEach(tt=>q+=tt[N]-0),F&&J&&D.forEach(tt=>{tt[F]==J&&(q+=tt[N]-0)}),q}};ht.\u0275fac=function(N){return new(N||ht)},ht.\u0275pipe=he({name:"sum",type:ht,pure:!0});let dt=ht;return dt})();function Qe(dt,ht){if(dt&1&&(yt(0,"span",8),jt(1,"img",9),xt(),Mt(2)),dt&2){let _=ht.item;kt(1),Pt("src",_.logo,Rt),kt(1),Xt(" ",_.name," ")}}function Je(dt,ht){if(dt&1&&(yt(0,"tr",40)(1,"td"),jt(2,"img",41),xt(),yt(3,"td",42),Mt(4),xt(),yt(5,"td",43),Mt(6),bt(7,"number"),xt(),yt(8,"td",44),Mt(9),bt(10,"number"),xt(),yt(11,"td",45),Mt(12),bt(13,"number"),xt()()),dt&2){let _=ht.$implicit;kt(2),Pt("src",_.logo,Rt),kt(2),Wt(_.Name),kt(2),Wt(It(7,5,_.Products)),kt(3),Wt(It(10,7,_.Order)),kt(3),Wt(It(13,9,_.Amount))}}var ti=dt=>({"border-color":dt});function ei(dt,ht){if(dt&1&&(yt(0,"tr",46)(1,"td",47),jt(2,"img",41),xt(),yt(3,"td",48)(4,"a",49),Mt(5,"Seller Center"),xt()(),yt(6,"td",48)(7,"a",50),Mt(8,"Chat"),xt()(),yt(9,"td",48)(10,"a",49),Mt(11,"Campaign"),xt()()()),dt&2){let _=ht.$implicit,D=ht.index,N=Zt(2);Pt("ngStyle",ye(11,ti,N.channelShortcut.length-1==D?"white":"")),kt(2),Pt("src",_.logo,Rt),kt(2),Kt(_.class),Pt("href",_.sellerCenter,Rt),kt(3),Kt(_.class),Pt("href",_.chat,Rt),kt(3),Kt(_.class),Pt("href",_.campaign,Rt)}}function ii(dt,ht){if(dt&1){let _=me();fe(0),yt(1,"div",10)(2,"div",11)(3,"div",12)(4,"div",13)(5,"div",14)(6,"h1",15),Mt(7,"Daily Sales"),xt()(),yt(8,"div",16),jt(9,"highcharts-chart",17),xt()()()(),yt(10,"div",11)(11,"div",12)(12,"div",13)(13,"div",14)(14,"h1",15),Mt(15),xt()(),yt(16,"div",16),jt(17,"highcharts-chart",18),xt()()()()(),yt(18,"div",19)(19,"div",20)(20,"div",12)(21,"div",21)(22,"h1",22),Mt(23),xt()(),yt(24,"div",13)(25,"div",23)(26,"table",24),Gt("matSortChange",function(N){let J=pe(_).ngIf,q=Zt();return ce(q.onSort(N,J))}),yt(27,"thead")(28,"tr",25),jt(29,"th",26),yt(30,"th",27),Mt(31,"Store Name"),xt(),yt(32,"th",28)(33,"span",29),Mt(34,"Products"),xt()(),yt(35,"th",30),Mt(36,"Order "),xt(),yt(37,"th",31),Mt(38,"Amount "),xt()()(),yt(39,"tbody"),_t(40,Je,14,11,"tr",32),xt(),yt(41,"tfoot")(42,"tr",33),jt(43,"td",34),yt(44,"td",35),Mt(45,"Total"),xt(),yt(46,"td",36),Mt(47),bt(48,"number"),bt(49,"sum"),xt(),yt(50,"td",36),Mt(51),bt(52,"number"),bt(53,"sum"),xt(),yt(54,"td",36),Mt(55),bt(56,"number"),bt(57,"sum"),xt()()()()()()()(),yt(58,"div",37)(59,"div",12)(60,"div",21)(61,"h1",22),Mt(62,"Seller Center Shortcut"),xt()(),yt(63,"div",13)(64,"div",23)(65,"table",38)(66,"tbody"),_t(67,ei,12,13,"tr",39),xt()()()()()()(),ge()}if(dt&2){let _=ht.ngIf,D=Zt();kt(9),Pt("Highcharts",D.Highcharts)("options",_.lineChartOptions),kt(6),Xt("Order Count (",D.dateTitle,")"),kt(2),Pt("Highcharts",D.Highcharts)("options",_.pieChartOptions),kt(6),Xt("Channel Sales (",D.dateTitle,")"),kt(17),Pt("ngForOf",_.PerformanceChannel),kt(7),Wt(It(48,11,$t(49,13,_.PerformanceChannel,"Products"))),kt(4),Xt("",It(52,16,$t(53,18,_.PerformanceChannel,"Order"))," "),kt(4),Xt("",It(56,21,$t(57,23,_.PerformanceChannel,"Amount"))," "),kt(12),Pt("ngForOf",D.channelShortcut)}}var Fe=(()=>{let ht=class ht{constructor(D,N,F){this.dashboardService=D,this.datePipe=N,this._router=F,this.Highcharts=qe,this.filter={range:0,type:null},this.channelType=Bt,this.dateRange=[{label:"Week",value:0},{label:"Month",value:1}],this.channelShortcut=D.getChannelShortcuts(),this.channelOptions=structuredClone(this.channelShortcut),this.filter.range=0}ngOnInit(){this.initDashboardData()}initDashboardData(){this.dashboardData$=this.dashboardService.getDashboardData(this.filter).pipe(se(),Ut(D=>(D.PerformanceChannel=D.PerformanceChannel.map(N=>(N.logo=Dt.getChannelLogoByTypeId(N.TypeID),N)),this.performanceChannelSource=JSON.parse(JSON.stringify(D.PerformanceChannel)),D.PerformanceChannel=this.sorting(D.PerformanceChannel,"Amount","desc"),this.filterChannelShortcut(D.PerformanceChannel),this.generateDateTitle(),D)))}generateDateTitle(){let D=new Date,N=this.datePipe.transform(D,"dd MMMM"),F=new Date,J;this.filter.range==0?F.setDate(F.getDate()-6):F=this.getStartDateMonthly(),F.getMonth()==D.getMonth()?J=this.datePipe.transform(F,"dd"):J=this.datePipe.transform(F,"dd MMMM"),this.dateTitle=`${J}-${N}`}getStartDateMonthly(){let D=new Date;D.setDate(D.getDate()-30);let N=new Date;return N.getMonth()!==D.getMonth()&&D.setDate(N.getDate()),D}filterChannelShortcut(D){let N=this.dashboardService.getChannelShortcuts(),F=D.filter((J,q,tt)=>tt.findIndex(K=>K.TypeID==J.TypeID)===q);this.channelShortcut=N.filter(J=>F.findIndex(q=>q.TypeID==J.typeId)!==-1)}sorting(D,N,F){return D.sort((J,q)=>Dt.compare(J[N],q[N],F=="asc"))}onFilter(){this.initDashboardData()}onSort(D,N){if(!D.active||D.direction===""){N.PerformanceChannel=JSON.parse(JSON.stringify(this.performanceChannelSource));return}N.PerformanceChannel=N.PerformanceChannel.sort((F,J)=>{let q=D.direction==="asc";switch(D.active){case"Products":return Dt.compare(F.Products,J.Products,q);case"Order":return Dt.compare(F.Order,J.Order,q);case"Amount":return Dt.compare(F.Amount,J.Amount,q);default:return 0}})}};ht.\u0275fac=function(N){return new(N||ht)(zt(te),zt(ke),zt(Te))},ht.\u0275cmp=Vt({type:ht,selectors:[["app-dashboard"]],decls:16,vars:9,consts:[["headerTitle","Dashboard",3,"hideSearchBox","onSubmit"],["container",""],[1,"mb-3","fw-normal"],["bindLabel","label","name","channelid","bindValue","value",1,"center-text",3,"items","ngModel","ngModelChange"],["bindLabel","name","name","channel","bindValue","typeId","placeholder","Select Channel",1,"center-text",3,"clearable","items","ngModel","ngModelChange"],["ng-option-tmp",""],[1,"container-fluid"],[4,"ngIf"],[1,"me-2"],["alt","",2,"width","18px",3,"src"],[1,"row","mt-6"],[1,"col-6"],[1,"card"],[1,"card-body"],[1,"d-flex","justify-content-start"],[1,"card-title","ms-4","mt-6"],[1,"mt-5"],[2,"display","block","width","100%","height","100%",3,"Highcharts","options"],["id","lineChart",2,"display","block","width","100%","height","100%",3,"Highcharts","options"],[1,"row"],[1,"col-8"],[1,"d-flex","justify-content-start","border-bottom"],[1,"card-title","my-6","ms-10"],[1,"table-responsive","mt-2"],["matSort","",1,"table",3,"matSortChange"],[1,"table-light",2,"border","none !important"],[2,"width","10px"],[2,"width","200px","padding-left","0px"],["arrowPosition","before","mat-sort-header","Products",1,"text-end",2,"width","70px"],["matTooltip","Number of SKUs that have been mapped between omni and POS","matTooltipPosition","above"],["arrowPosition","before","mat-sort-header","Order",1,"text-end",2,"width","70px"],["arrowPosition","before","mat-sort-header","Amount",1,"text-end",2,"width","70px"],["class","py-4",4,"ngFor","ngForOf"],[1,"fw-bold","fs-5","border-bottom-0"],[1,"border-bottom-0",2,"width","10px"],[1,"border-bottom-0",2,"width","210px","padding-left","0px"],[1,"text-end","border-bottom-0"],[1,"col-4"],[1,"table"],[3,"ngStyle",4,"ngFor","ngForOf"],[1,"py-4"],["alt","",2,"width","25px",3,"src"],[2,"width","210px","padding-left","0px"],[1,"text-end",2,"width","100px"],[1,"text-end",2,"width","115px"],[1,"text-end",2,"width","70px"],[3,"ngStyle"],[1,"text-end",2,"width","45px"],[1,"text-center"],["role","button","target","_blank","type","button",1,"btn","btn-sm","rounded",3,"href"],["role","button","type","button","target","_blank",1,"btn","btn-sm","rounded",3,"href"]],template:function(N,F){N&1&&(yt(0,"mainpanel",0),Gt("onSubmit",function(){return F.onFilter()}),yt(1,"filters")(2,"div",1)(3,"div")(4,"h5",2),Mt(5,"Select a Period"),xt(),yt(6,"ng-select",3),Gt("ngModelChange",function(q){return F.filter.range=q}),xt()(),yt(7,"div")(8,"h5",2),Mt(9,"Type"),xt(),yt(10,"ng-select",4),Gt("ngModelChange",function(q){return F.filter.type=q}),_t(11,Qe,3,2,"ng-template",5),xt()()()(),yt(12,"content")(13,"div",6),_t(14,ii,68,26,"ng-container",7),bt(15,"async"),xt()()()),N&2&&(Pt("hideSearchBox",!0),kt(6),Pt("items",F.dateRange)("ngModel",F.filter.range),kt(4),Pt("clearable",!0)("items",F.channelOptions)("ngModel",F.filter.type),kt(4),Pt("ngIf",It(15,7,F.dashboardData$)))},dependencies:[ve,xe,Se,Re,Pe,Oe,Ge,Ee,be,Be,Ne,je,Ce,Me,ee],styles:[".btn-shopee[_ngcontent-%COMP%]{background-color:#ee4d2d;color:#fff}.btn-lazada[_ngcontent-%COMP%]{background-color:#ff00b2;color:#fff}.btn-tokopedia[_ngcontent-%COMP%]{background-color:var(--G500, #03AC0E);color:#fff}.btn-tiktok[_ngcontent-%COMP%]{background-color:#000;color:#fff}.btn-woocommerce[_ngcontent-%COMP%]{background-color:#674399;color:#fff}.btn-kalcare[_ngcontent-%COMP%]{background-color:#80bc00;color:#fff}.btn-sm[_ngcontent-%COMP%]{font-size:12px!important}.card-title[_ngcontent-%COMP%]{font-weight:300;color:#4d4d4d;margin:0}.card.shortcut[_ngcontent-%COMP%]{margin-bottom:10px!important}"]});let dt=ht;return dt})();var Ue=(()=>{let ht=class ht{};ht.\u0275fac=function(N){return new(N||ht)},ht.\u0275mod=Ht({type:ht}),ht.\u0275inj=Nt({providers:[ee],imports:[qt]});let dt=ht;return dt})();var oi=[{path:"",component:Fe}],_i=(()=>{let ht=class ht{};ht.\u0275fac=function(N){return new(N||ht)},ht.\u0275mod=Ht({type:ht}),ht.\u0275inj=Nt({providers:[te],imports:[qt,Ae.forChild(oi),ze,Le,Ye,De,Ue,We,He,Ie]});let dt=ht;return dt})();export{_i as DashboardModule};
|