PageSourceSearch

https://www.edwardjones.com/themes/custom/edwardjones/dist/widgets/mega-tab.bundle.js?tluutv

js edwardjones.com collected 2026-09-24 08:41:42 UTC 569,064 bytes, 1 lines download raw bytes

vendor: 12,744 bytes, line 1
1!function(){"use strict";var t,e,i,n,r,o,s,a,l,c,h,d,u,p,f,m={},g=[],y=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,v=Array.isArray;function b(t,e){for(var i in e)t[i]=e[i];return t}function x(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function w(e,i,n){var r,o,s,a={};for(s in i)"key"==s?r=i[s]:"ref"==s?o=i[s]:a[s]=i[s];if(arguments.length>2&&(a.children=arguments.length>3?t.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(s in e.defaultProps)void 0===a[s]&&(a[s]=e.defaultProps[s]);return k(e,a,r,o,null)}function k(t,n,r,o,s){var a={type:t,props:n,key:r,ref:o,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==s?++i:s,__i:-1,__u:0};return null==s&&null!=e.vnode&&e.vnode(a),a}function C(){return{current:null}}function S(t){return t.children}function _(t,e){this.props=t,this.context=e}function A(t,e){if(null==e)return t.__?A(t.__,t.__i+1):null;for(var i;e<t.__k.length;e++)if(null!=(i=t.__k[e])&&null!=i.__e)return i.__e;return"function"==typeof t.type?A(t):null}function T(t){if(t.__P&&t.__d){var i=t.__v,n=i.__e,r=[],o=[],s=b({},i);s.__v=i.__v+1,e.vnode&&e.vnode(s),R(t.__P,s,i,t.__n,t.__P.namespaceURI,32&i.__u?[n]:null,r,null==n?A(i):n,!!(32&i.__u),o),s.__v=i.__v,s.__.__k[s.__i]=s,H(r,s,o),i.__e=i.__=null,s.__e!=n&&M(s)}}function M(t){if(null!=(t=t.__)&&null!=t.__c)return t.__e=t.__c.base=null,t.__k.some(function(e){if(null!=e&&null!=e.__e)return t.__e=t.__c.base=e.__e}),M(t)}function P(t){(!t.__d&&(t.__d=!0)&&n.push(t)&&!E.__r++||r!=e.debounceRendering)&&((r=e.debounceRendering)||o)(E)}function E(){try{for(var t,e=1;n.length;)n.length>e&&n.sort(s),t=n.shift(),e=n.length,T(t)}finally{n.length=E.__r=0}}function O(t,e,i,n,r,o,s,a,l,c,h){var d,u,p,f,y,b,x,w=n&&n.__k||g,C=e.length;for(l=function(t,e,i,n,r){var o,s,a,l,c,h=i.length,d=h,u=0;for(t.__k=new Array(r),o=0;o<r;o++)null!=(s=e[o])&&"boolean"!=typeof s&&"function"!=typeof s?("string"==typeof s||"number"==typeof s||"bigint"==typeof s||s.constructor==String?s=t.__k[o]=k(null,s,null,null,null):v(s)?s=t.__k[o]=k(S,{children:s},null,null,null):void 0===s.constructor&&s.__b>0?s=t.__k[o]=k(s.type,s.props,s.key,s.ref?s.ref:null,s.__v):t.__k[o]=s,l=o+u,s.__=t,s.__b=t.__b+1,a=null,-1!=(c=s.__i=I(s,i,l,d))&&(d--,(a=i[c])&&(a.__u|=2)),null==a||null==a.__v?(-1==c&&(r>h?u--:r<h&&u++),"function"!=typeof s.type&&(s.__u|=4)):c!=l&&(c==l-1?u--:c==l+1?u++:(c>l?u--:u++,s.__u|=4))):t.__k[o]=null;if(d)for(o=0;o<h;o++)null!=(a=i[o])&&!(2&a.__u)&&(a.__e==n&&(n=A(a)),W(a,a));return n}(i,e,w,l,C),d=0;d<C;d++)null!=(p=i.__k[d])&&(u=-1!=p.__i&&w[p.__i]||m,p.__i=d,b=R(t,p,u,r,o,s,a,l,c,h),f=p.__e,p.ref&&u.ref!=p.ref&&(u.ref&&G(u.ref,null,p),h.push(p.ref,p.__c||f,p)),null==y&&null!=f&&(y=f),(x=!!(4&p.__u))||u.__k===p.__k?(l=L(p,l,t,x),x&&u.__e&&(u.__e=null)):"function"==typeof p.type&&void 0!==b?l=b:f&&(l=f.nextSibling),p.__u&=-7);return i.__e=y,l}function L(t,e,i,n){var r,o;if("function"==typeof t.type){for(r=t.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=t,e=L(r[o],e,i,n));return e}t.__e!=e&&(n&&(e&&t.type&&!e.parentNode&&(e=A(t)),i.insertBefore(t.__e,e||null)),e=t.__e);do{e=e&&e.nextSibling}while(null!=e&&8==e.nodeType);return e}function D(t,e){return e=e||[],null==t||"boolean"==typeof t||(v(t)?t.some(function(t){D(t,e)}):e.push(t)),e}function I(t,e,i,n){var r,o,s,a=t.key,l=t.type,c=e[i],h=null!=c&&!(2&c.__u);if(null===c&&null==a||h&&a==c.key&&l==c.type)return i;if(n>(h?1:0))for(r=i-1,o=i+1;r>=0||o<e.length;)if(null!=(c=e[s=r>=0?r--:o++])&&!(2&c.__u)&&a==c.key&&l==c.type)return s;return-1}function j(t,e,i){"-"==e[0]?t.setProperty(e,null==i?"":i):t[e]=null==i?"":"number"!=typeof i||y.test(e)?i:i+"px"}function B(t,e,i,n,r){var o,s;t:if("style"==e)if("string"==typeof i)t.style.cssText=i;else{if("string"==typeof n&&(t.style.cssText=n=""),n)for(e in n)i&&e in i||j(t.style,e,"");if(i)for(e in i)n&&i[e]==n[e]||j(t.style,e,i[e])}else if("o"==e[0]&&"n"==e[1])o=e!=(e=e.replace(h,"$1")),s=e.toLowerCase(),e=s in t||"onFocusOut"==e||"onFocusIn"==e?s.slice(2):e.slice(2),t.l||(t.l={}),t.l[e+o]=i,i?n?i[c]=n[c]:(i[c]=d,t.addEventListener(e,o?p:u,o)):t.removeEventListener(e,o?p:u,o);else{if("http://www.w3.org/2000/svg"==r)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=e&&"height"!=e&&"href"!=e&&"list"!=e&&"form"!=e&&"tabIndex"!=e&&"download"!=e&&"rowSpan"!=e&&"colSpan"!=e&&"role"!=e&&"popover"!=e&&e in t)try{t[e]=null==i?"":i;break t}catch(t){}"function"==typeof i||(null==i||!1===i&&"-"!=e[4]?t.removeAttribute(e):t.setAttribute(e,"popover"==e&&1==i?"":i))}}function N(t){return function(i){if(this.l){var n=this.l[i.type+t];if(null==i[l])i[l]=d++;else if(i[l]<n[c])return;return n(e.event?e.event(i):i)}}}function R(t,i,n,r,o,s,a,l,c,h){var d,u,p,f,m,y,w,k,C,A,T,M,P,E,L,D=i.type;if(void 0!==i.constructor)return null;128&n.__u&&(c=!!(32&n.__u),s=[l=i.__e=n.__e]),(d=e.__b)&&d(i);t:if("function"==typeof D)try{if(k=i.props,C=D.prototype&&D.prototype.render,A=(d=D.contextType)&&r[d.__c],T=d?A?A.props.value:d.__:r,n.__c?w=(u=i.__c=n.__c).__=u.__E:(C?i.__c=u=new D(k,T):(i.__c=u=new _(k,T),u.constructor=D,u.render=X),A&&A.sub(u),u.state||(u.state={}),u.__n=r,p=u.__d=!0,u.__h=[],u._sb=[]),C&&null==u.__s&&(u.__s=u.state),C&&null!=D.getDerivedStateFromProps&&(u.__s==u.state&&(u.__s=b({},u.__s)),b(u.__s,D.getDerivedStateFromProps(k,u.__s))),f=u.props,m=u.state,u.__v=i,p)C&&null==D.getDerivedStateFromProps&&null!=u.componentWillMount&&u.componentWillMount(),C&&null!=u.componentDidMount&&u.__h.push(u.componentDidMount);else{if(C&&null==D.getDerivedStateFromProps&&k!==f&&null!=u.componentWillReceiveProps&&u.componentWillReceiveProps(k,T),i.__v==n.__v||!u.__e&&null!=u.shouldComponentUpdate&&!1===u.shouldComponentUpdate(k,u.__s,T)){i.__v!=n.__v&&(u.props=k,u.state=u.__s,u.__d=!1),i.__e=n.__e,i.__k=n.__k,i.__k.some(function(t){t&&(t.__=i)}),g.push.apply(u.__h,u._sb),u._sb=[],u.__h.length&&a.push(u);break t}null!=u.componentWillUpdate&&u.componentWillUpdate(k,u.__s,T),C&&null!=u.componentDidUpdate&&u.__h.push(function(){u.componentDidUpdate(f,m,y)})}if(u.context=T,u.props=k,u.__P=t,u.__e=!1,M=e.__r,P=0,C)u.state=u.__s,u.__d=!1,M&&M(i),d=u.render(u.props,u.state,u.context),g.push.apply(u.__h,u._sb),u._sb=[];else do{u.__d=!1,M&&M(i),d=u.render(u.props,u.state,u.context),u.state=u.__s}while(u.__d&&++P<25);u.state=u.__s,null!=u.getChildContext&&(r=b(b({},r),u.getChildContext())),C&&!p&&null!=u.getSnapshotBeforeUpdate&&(y=u.getSnapshotBeforeUpdate(f,m)),E=null!=d&&d.type===S&&null==d.key?z(d.props.children):d,l=O(t,v(E)?E:[E],i,n,r,o,s,a,l,c,h),u.base=i.__e,i.__u&=-161,u.__h.length&&a.push(u),w&&(u.__E=u.__=null)}catch(t){if(i.__v=null,c||null!=s)if(t.then){for(i.__u|=c?160:128;l&&8==l.nodeType&&l.nextSibling;)l=l.nextSibling;s[s.indexOf(l)]=null,i.__e=l}else{for(L=s.length;L--;)x(s[L]);F(i)}else i.__e=n.__e,i.__k=n.__k,t.then||F(i);e.__e(t,i,n)}else null==s&&i.__v==n.__v?(i.__k=n.__k,i.__e=n.__e):l=i.__e=U(n.__e,i,n,r,o,s,a,c,h);return(d=e.diffed)&&d(i),128&i.__u?void 0:l}function F(t){t&&(t.__c&&(t.__c.__e=!0),t.__k&&t.__k.some(F))}function H(t,i,n){for(var r=0;r<n.length;r++)G(n[r],n[++r],n[++r]);e.__c&&e.__c(i,t),t.some(function(i){try{t=i.__h,i.__h=[],t.some(function(t){t.call(i)})}catch(t){e.__e(t,i.__v)}})}function z(t){return"object"!=typeof t||null==t||t.__b>0?t:v(t)?t.map(z):b({},t)}function U(i,n,r,o,s,a,l,c,h){var d,u,p,f,g,y,b,w=r.props||m,k=n.props,C=n.type;if("svg"==C?s="http://www.w3.org/2000/svg":"math"==C?s="http://www.w3.org/1998/Math/MathML":s||(s="http://www.w3.org/1999/xhtml"),null!=a)for(d=0;d<a.length;d++)if((g=a[d])&&"setAttribute"in g==!!C&&(C?g.localName==C:3==g.nodeType)){i=g,a[d]=null;break}if(null==i){if(null==C)return document.createTextNode(k);i=document.createElementNS(s,C,k.is&&k),c&&(e.__m&&e.__m(n,a),c=!1),a=null}if(null==C)w===k||c&&i.data==k||(i.data=k);else{if(a=a&&t.call(i.childNodes),!c&&null!=a)for(w={},d=0;d<i.attributes.length;d++)w[(g=i.attributes[d]).name]=g.value;for(d in w)g=w[d],"dangerouslySetInnerHTML"==d?p=g:"children"==d||d in k||"value"==d&&"defaultValue"in k||"checked"==d&&"defaultChecked"in k||B(i,d,null,g,s);for(d in k)g=k[d],"children"==d?f=g:"dangerouslySetInnerHTML"==d?u=g:"value"==d?y=g:"checked"==d?b=g:c&&"function"!=typeof g||w[d]===g||B(i,d,g,w[d],s);if(u)c||p&&(u.__html==p.__html||u.__html==i.innerHTML)||(i.innerHTML=u.__html),n.__k=[];else if(p&&(i.innerHTML=""),O("template"==n.type?i.content:i,v(f)?f:[f],n,r,o,"foreignObject"==C?"http://www.w3.org/1999/xhtml":s,a,l,a?a[0]:r.__k&&A(r,0),c,h),null!=a)for(d=a.length;d--;)x(a[d]);c||(d="value","progress"==C&&null==y?i.removeAttribute("value"):null!=y&&(y!==i[d]||"progress"==C&&!y||"option"==C&&y!=w[d])&&B(i,d,y,w[d],s),d="checked",null!=b&&b!=i[d]&&B(i,d,b,w[d],s))}return i}function G(t,i,n){try{if("function"==typeof t){var r="function"==typeof t.__u;r&&t.__u(),r&&null==i||(t.__u=t(i))}else t.current=i}catch(t){e.__e(t,n)}}function W(t,i,n){var r,o;if(e.unmount&&e.unmount(t),(r=t.ref)&&(r.current&&r.current!=t.__e||G(r,null,i)),null!=(r=t.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(t){e.__e(t,i)}r.base=r.__P=null}if(r=t.__k)for(o=0;o<r.length;o++)r[o]&&W(r[o],i,n||"function"!=typeof t.type);n||x(t.__e),t.__c=t.__=t.__e=void 0}function X(t,e,i){return this.constructor(t,i)}function V(i,n,r){var o,s,a,l;n==document&&(n=document.documentElement),e.__&&e.__(i,n),s=(o="function"==typeof r)?null:r&&r.__k||n.__k,a=[],l=[],R(n,i=(!o&&r||n).__k=w(S,null,[i]),s||m,m,n.namespaceURI,!o&&r?[r]:s?null:n.firstChild?t.call(n.childNodes):null,a,!o&&r?r:s?s.__e:n.firstChild,o,l),H(a,i,l)}function Y(t,e){V(t,e,Y)}function K(e,i,n){var r,o,s,a,l=b({},e.props);for(s in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),i)"key"==s?r=i[s]:"ref"==s?o=i[s]:l[s]=void 0===i[s]&&null!=a?a[s]:i[s];return arguments.length>2&&(l.children=arguments.length>3?t.call(arguments,2):n),k(e.type,l,r||e.key,o||e.ref,null)}function $(t){function e(t){var i,n;return this.getChildContext||(i=new Set,(n={})[e.__c]=this,this.getChildContext=function(){return n},this.componentWillUnmount=function(){i=null},this.shouldComponentUpdate=function(t){this.props.value!=t.value&&i.forEach(function(t){t.__e=!0,P(t)})},this.sub=function(t){i.add(t);var e=t.componentWillUnmount;t.componentWillUnmount=function(){i&&i.delete(t),e&&e.call(t)}}),t.children}return e.__c="__cC"+f++,e.__=t,e.Provider=e.__l=(e.Consumer=function(t,e){return t.children(e)}).contextType=e,e}t=g.slice,e={__e:function(t,e,i,n){for(var r,o,s;e=e.__;)if((r=e.__c)&&!r.__)try{if((o=r.constructor)&&null!=o.getDerivedStateFromError&&(r.setState(o.getDerivedStateFromError(t)),s=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(t,n||{}),s=r.__d),s)return r.__E=r}catch(e){t=e}throw t}},i=0,_.prototype.setState=function(t,e){var i;i=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=b({},this.state),"function"==typeof t&&(t=t(b({},i),this.props)),t&&b(i,t),null!=t&&this.__v&&(e&&this._sb.push(e),P(this))},_.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),P(this))},_.prototype.render=S,n=[],o="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,s=function(t,e){return t.__v.__b-e.__v.__b},E.__r=0,a=Math.random().toString(8),l="__d"+a,c="__a"+a,h=/(PointerCapture)$|Capture$/i,d=0,u=N(!1),p=N(!0),f=0;var q,Z,J,Q,tt=0,et=[],it=e,nt=it.__b,rt=it.__r,ot=it.diffed,st=it.__c,at=it.unmount,lt=it.__;function ct(t,e){it.__h&&it.__h(Z,t,tt||e),tt=0;var i=Z.__H||(Z.__H={__:[],__h:[]});return t>=i.__.length&&i.__.push({}),i.__[t]}function ht(t){return tt=1,dt(Tt,t)}function dt(t,e,i){var n=ct(q++,2);if(n.t=t,!n.__c&&(n.__=[i?i(e):Tt(void 0,e),function(t){var e=n.__N?n.__N[0]:n.__[0],i=n.t(e,t);e!==i&&(n.__N=[i,n.__[1]],n.__c.setState({}))}],n.__c=Z,!Z.__f)){var r=function(t,e,i){if(!n.__c.__H)return!0;var r=n.__c.__H.__.filter(function(t){return t.__c});if(r.every(function(t){return!t.__N}))return!o||o.call(this,t,e,i);var s=n.__c.props!==t;return r.some(function(t){if(t.__N){var e=t.__[0];t.__=t.__N,t.__N=void 0,e!==t.__[0]&&(s=!0)}}),o&&o.call(this,t,e,i)||s};Z.__f=!0;var o=Z.shouldComponentUpdate,s=Z.componentWillUpdate;Z.componentWillUpdate=function(t,e,i){if(this.__e){var n=o;o=void 0,r(t,e,i),o=n}s&&s.call(this,t,e,i)},Z.shouldComponentUpdate=r}return n.__N||n.__}function ut(t,e){var i=ct(q++,3);!it.__s&&At(i.__H,e)&&(i.__=t,i.u=e,Z.__H.__h.push(i))}function pt(t,e){var i=ct(q++,4);!it.__s&&At(i.__H,e)&&(i.__=t,i.u=e,Z.__h.push(i))}function ft(t){return tt=5,gt(function(){return{current:t}},[])}function mt(t,e,i){tt=6,pt(function(){if("function"==typeof t){var i=t(e());return function(){t(null),i&&"function"==typeof i&&i()}}if(t)return t.current=e(),function(){return t.current=null}},null==i?i:i.concat(t))}function gt(t,e){var i=ct(q++,7);
vendor: 4,981 bytes, line 1
1return At(i.__H,e)&&(i.__=t(),i.__H=e,i.__h=t),i.__}function yt(t,e){return tt=8,gt(function(){return t},e)}function vt(t){var e=Z.context[t.__c],i=ct(q++,9);return i.c=t,e?(null==i.__&&(i.__=!0,e.sub(Z)),e.props.value):t.__}function bt(t,e){it.useDebugValue&&it.useDebugValue(e?e(t):t)}function xt(){var t=ct(q++,11);if(!t.__){for(var e=Z.__v;null!==e&&!e.__m&&null!==e.__;)e=e.__;var i=e.__m||(e.__m=[0,0]);t.__="P"+i[0]+"-"+i[1]++}return t.__}function wt(){for(var t;t=et.shift();){var e=t.__H;if(t.__P&&e)try{e.__h.some(St),e.__h.some(_t),e.__h=[]}catch(i){e.__h=[],it.__e(i,t.__v)}}}it.__b=function(t){Z=null,nt&&nt(t)},it.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),lt&&lt(t,e)},it.__r=function(t){rt&&rt(t),q=0;var e=(Z=t.__c).__H;e&&(J===Z?(e.__h=[],Z.__h=[],e.__.some(function(t){t.__N&&(t.__=t.__N),t.u=t.__N=void 0})):(e.__h.some(St),e.__h.some(_t),e.__h=[],q=0)),J=Z},it.diffed=function(t){ot&&ot(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(1!==et.push(e)&&Q===it.requestAnimationFrame||((Q=it.requestAnimationFrame)||Ct)(wt)),e.__H.__.some(function(t){t.u&&(t.__H=t.u),t.u=void 0})),J=Z=null},it.__c=function(t,e){e.some(function(t){try{t.__h.some(St),t.__h=t.__h.filter(function(t){return!t.__||_t(t)})}catch(i){e.some(function(t){t.__h&&(t.__h=[])}),e=[],it.__e(i,t.__v)}}),st&&st(t,e)},it.unmount=function(t){at&&at(t);var e,i=t.__c;i&&i.__H&&(i.__H.__.some(function(t){try{St(t)}catch(t){e=t}}),i.__H=void 0,e&&it.__e(e,i.__v))};var kt="function"==typeof requestAnimationFrame;function Ct(t){var e,i=function(){clearTimeout(n),kt&&cancelAnimationFrame(e),setTimeout(t)},n=setTimeout(i,35);kt&&(e=requestAnimationFrame(i))}function St(t){var e=Z,i=t.__c;"function"==typeof i&&(t.__c=void 0,i()),Z=e}function _t(t){var e=Z;t.__c=t.__(),Z=e}function At(t,e){return!t||t.length!==e.length||e.some(function(e,i){return e!==t[i]})}function Tt(t,e){return"function"==typeof e?e(t):e}function Mt(t,e){for(var i in e)t[i]=e[i];return t}function Pt(t,e){for(var i in t)if("__source"!==i&&!(i in e))return!0;for(var n in e)if("__source"!==n&&t[n]!==e[n])return!0;return!1}function Et(t,e){var i=e(),n=ht({t:{__:i,u:e}}),r=n[0].t,o=n[1];return pt(function(){r.__=i,r.u=e,Ot(r)&&o({t:r})},[t,i,e]),ut(function(){return Ot(r)&&o({t:r}),t(function(){Ot(r)&&o({t:r})})},[t]),i}function Ot(t){try{return!((e=t.__)===(i=t.u())&&(0!==e||1/e==1/i)||e!=e&&i!=i)}catch(t){return!0}var e,i}function Lt(t){t()}function Dt(t){return t}function It(){return[!1,Lt]}var jt=pt;function Bt(t,e){this.props=t,this.context=e}function Nt(t,e){function i(t){var i=this.props.ref;return i!=t.ref&&i&&("function"==typeof i?i(null):i.current=null),e?!e(this.props,t)||i!=t.ref:Pt(this.props,t)}function n(e){return this.shouldComponentUpdate=i,w(t,e)}return n.displayName="Memo("+(t.displayName||t.name)+")",n.__f=n.prototype.isReactComponent=!0,n.type=t,n}(Bt.prototype=new _).isPureReactComponent=!0,Bt.prototype.shouldComponentUpdate=function(t,e){return Pt(this.props,t)||Pt(this.state,e)};var Rt=e.__b;e.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),Rt&&Rt(t)};var Ft="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Ht(t){function e(e){var i=Mt({},e);return delete i.ref,t(i,e.ref||null)}return e.$$typeof=Ft,e.render=t,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var zt=function(t,e){return null==t?null:D(D(t).map(e))},Ut={map:zt,forEach:zt,count:function(t){return t?D(t).length:0},only:function(t){var e=D(t);if(1!==e.length)throw"Children.only";return e[0]},toArray:D},Gt=e.__e;e.__e=function(t,e,i,n){if(t.then)for(var r,o=e;o=o.__;)if((r=o.__c)&&r.__c)return null==e.__e&&(e.__e=i.__e,e.__k=i.__k),r.__c(t,e);Gt(t,e,i,n)};var Wt=e.unmount;function Xt(t,e,i){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(t){"function"==typeof t.__c&&t.__c()}),t.__c.__H=null),null!=(t=Mt({},t)).__c&&(t.__c.__P===i&&(t.__c.__P=e),t.__c.__e=!0,t.__c=null),t.__k=t.__k&&t.__k.map(function(t){return Xt(t,e,i)})),t}function Vt(t,e,i){return t&&i&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(t){return Vt(t,e,i)}),t.__c&&t.__c.__P===e&&(t.__e&&i.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=i)),t}function Yt(){this.__u=0,this.o=null,this.__b=null}function Kt(t){var e=t.__&&t.__.__c;return e&&e.__a&&e.__a(t)}function $t(t){var e,i,n,r=null;function o(o){if(e||(e=t()).then(function(t){t&&(r=t.default||t),n=!0},function(t){i=t,n=!0}),i)throw i;if(!n)throw e;return r?w(r,o):null}return o.displayName="Lazy",o.__f=!0,o}function qt(){this.i=null,this.l=null}e.unmount=function(t){var e=t.__c;e&&(e.__z=!0),e&&e.__R&&e.__R(),e&&32&t.__u&&(t.type=null),Wt&&Wt(t)},(Yt.prototype=new _).__c=function(t,e){var i=e.__c,n=this;null==n.o&&(n.o=[]),n.o.push(i);var r=Kt(n.__v),o=!1,s=function(){o||n.__z||(o=!0,i.__R=null,r?r(l):l())};i.__R=s;var a=i.__P;i.__P=null;var l=function(){if(! --n.__u){if(n.state.__a){var t=n.state.__a;n.__v.__k[0]=Vt(t,t.__c.__P,t.__c.__O)}var e;
vendor: 2,825 bytes, line 1
1for(n.setState({__a:n.__b=null});e=n.o.pop();)e.__P=a,e.forceUpdate()}};n.__u++||32&e.__u||n.setState({__a:n.__b=n.__v.__k[0]}),t.then(s,s)},Yt.prototype.componentWillUnmount=function(){this.o=[]},Yt.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var i=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=Xt(this.__b,i,n.__O=n.__P)}this.__b=null}var r=e.__a&&w(S,null,t.fallback);return r&&(r.__u&=-33),[w(S,null,e.__a?null:t.children),r]};var Zt=function(t,e,i){if(++i[1]===i[0]&&t.l.delete(e),t.props.revealOrder&&("t"!==t.props.revealOrder[0]||!t.l.size))for(i=t.i;i;){for(;i.length>3;)i.pop()();if(i[1]<i[0])break;t.i=i=i[2]}};function Jt(t){return this.getChildContext=function(){return t.context},t.children}function Qt(t){var e=this,i=t.h;if(e.componentWillUnmount=function(){V(null,e.v),e.v=null,e.h=null},e.h&&e.h!==i&&e.componentWillUnmount(),!e.v){for(var n=e.__v;null!==n&&!n.__m&&null!==n.__;)n=n.__;e.h=i,e.v={nodeType:1,parentNode:i,childNodes:[],__k:{__m:n.__m},contains:function(){return!0},namespaceURI:i.namespaceURI,insertBefore:function(t,i){this.childNodes.push(t),e.h.insertBefore(t,i)},removeChild:function(t){this.childNodes.splice(this.childNodes.indexOf(t)>>>1,1),e.h.removeChild(t)}}}V(w(Jt,{context:e.context},t.__v),e.v)}function te(t,e){var i=w(Qt,{__v:t,h:e});return i.containerInfo=e,i}(qt.prototype=new _).__a=function(t){var e=this,i=Kt(e.__v),n=e.l.get(t);return n[0]++,function(r){var o=function(){e.props.revealOrder?(n.push(r),Zt(e,t,n)):r()};i?i(o):o()}},qt.prototype.render=function(t){this.i=null,this.l=new Map;var e=D(t.children);t.revealOrder&&"b"===t.revealOrder[0]&&e.reverse();for(var i=e.length;i--;)this.l.set(e[i],this.i=[1,0,this.i]);return t.children},qt.prototype.componentDidUpdate=qt.prototype.componentDidMount=function(){var t=this;this.l.forEach(function(e,i){Zt(t,i,e)})};var ee="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,ie=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,ne=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,re=/[A-Z0-9]/g,oe="undefined"!=typeof document,se=function(t){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(t)};function ae(t,e,i){return null==e.__k&&(e.textContent=""),V(t,e),"function"==typeof i&&i(),t?t.__c:null}function le(t,e,i){return Y(t,e),"function"==typeof i&&i(),t?t.__c:null}_.prototype.isReactComponent=!0,["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(_.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]}
1,set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var ce=e.event;e.event=function(t){return ce&&(t=ce(t)),t.persist=function(){},t.isPropagationStopped=function(){return this.cancelBubble},t.isDefaultPrevented=function(){return this.defaultPrevented},t.nativeEvent=t};var he,de={configurable:!0,get:function(){return this.class}},ue=e.vnode;e.vnode=function(t){"string"==typeof t.type&&function(t){var e=t.props,i=t.type,n={},r=-1==i.indexOf("-");for(var o in e){var s=e[o];if(!("value"===o&&"defaultValue"in e&&null==s||oe&&"children"===o&&"noscript"===i||"class"===o||"className"===o)){var a=o.toLowerCase();"defaultValue"===o&&"value"in e&&null==e.value?o="value":"download"===o&&!0===s?s="":"translate"===a&&"no"===s?s=!1:"o"===a[0]&&"n"===a[1]?"ondoubleclick"===a?o="ondblclick":"onchange"!==a||"input"!==i&&"textarea"!==i||se(e.type)?"onfocus"===a?o="onfocusin":"onblur"===a?o="onfocusout":ne.test(o)&&(o=a):a=o="oninput":r&&ie.test(o)?o=o.replace(re,"-$&").toLowerCase():null===s&&(s=void 0),"oninput"===a&&n[o=a]&&(o="oninputCapture"),n[o]=s}}"select"==i&&(n.multiple&&Array.isArray(n.value)&&(n.value=D(e.children).forEach(function(t){t.props.selected=-1!=n.value.indexOf(t.props.value)})),null!=n.defaultValue&&(n.value=D(e.children).forEach(function(t){t.props.selected=n.multiple?-1!=n.defaultValue.indexOf(t.props.value):n.defaultValue==t.props.value}))),e.class&&!e.className?(n.class=e.class,Object.defineProperty(n,"className",de)):e.className&&(n.class=n.className=e.className),t.props=n}(t),t.$$typeof=ee,ue&&ue(t)};var pe=e.__r;e.__r=function(t){pe&&pe(t),he=t.__c};var fe=e.diffed;e.diffed=function(t){fe&&fe(t);var e=t.props,i=t.__e;null!=i&&"textarea"===t.type&&"value"in e&&e.value!==i.value&&(i.value=null==e.value?"":e.value),he=null};var me={ReactCurrentDispatcher:{current:{readContext:function(t){return he.__n[t.__c].props.value},useCallback:yt,useContext:vt,useDebugValue:bt,useDeferredValue:Dt,useEffect:ut,useId:xt,useImperativeHandle:mt,useInsertionEffect:jt,useLayoutEffect:pt,useMemo:gt,useReducer:dt,useRef:ft,useState:ht,useSyncExternalStore:Et,useTransition:It}}};function ge(t){return w.bind(null,t)}function ye(t){return!!t&&t.$$typeof===ee}function ve(t){return ye(t)&&t.type===S}function be(t){return!!t&&"string"==typeof t.displayName&&0==t.displayName.indexOf("Memo(")}function xe(t){return ye(t)?K.apply(null,arguments):t}function we(t){return!!t.__k&&(V(null,t),!0)}function ke(t){return t&&(t.base||1===t.nodeType&&t)||null}var Ce=function(t,e){return t(e)},Se=function(t,i){var n=e.debounceRendering;e.debounceRendering=function(t){return t()};var r=t(i);return e.debounceRendering=n,r},_e=ye,Ae={useState:ht,useId:xt,useReducer:dt,useEffect:ut,useLayoutEffect:pt,useInsertionEffect:jt,useTransition:It,useDeferredValue:Dt,useSyncExternalStore:Et,startTransition:Lt,useRef:ft,useImperativeHandle:mt,useMemo:gt,useCallback:yt,useContext:vt,useDebugValue:bt,version:"18.3.1",Children:Ut,render:ae,hydrate:le,unmountComponentAtNode:we,createPortal:te,createElement:w,createContext:$,createFactory:ge,cloneElement:xe,createRef:C,Fragment:S,isValidElement:ye,isElement:_e,isFragment:ve,isMemo:be,findDOMNode:ke,Component:_,PureComponent:Bt,memo:Nt,forwardRef:Ht,flushSync:Se,unstable_batchedUpdates:Ce,StrictMode:S,Suspense:Yt,SuspenseList:qt,lazy:$t,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:me},Te=Object.freeze({__proto__:null,Children:Ut,PureComponent:Bt,Suspense:Yt,SuspenseList:qt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:me,cloneElement:xe,createFactory:ge,createPortal:te,default:Ae,findDOMNode:ke,flushSync:Se,forwardRef:Ht,hydrate:le,isElement:_e,isFragment:ve,isMemo:be,isValidElement:ye,lazy:$t,memo:Nt,render:ae,startTransition:Lt,unmountComponentAtNode:we,unstable_batchedUpdates:Ce,useDeferredValue:Dt,useInsertionEffect:jt,useSyncExternalStore:Et,useTransition:It,version:"18.3.1",Component:_,Fragment:S,StrictMode:S,createContext:$,createElement:w,createRef:C,useCallback:yt,useContext:vt,useDebugValue:bt,useEffect:ut,useErrorBoundary:function(t){var e=ct(q++,10),i=ht();return e.__=t,Z.componentDidCatch||(Z.componentDidCatch=function(t,n){e.__&&e.__(t,n),i[1](t)}),[i[0],function(){i[1](void 0)}]},useId:xt,useImperativeHandle:mt,useLayoutEffect:pt,useMemo:gt,useReducer:dt,useRef:ft,useState:ht}),Me=function(t){var e,i=t.selector,n=t.inline,r=t.clientSpecified,o=[],s=document.currentScript||(e=document.getElementsByTagName("script"))[e.length-1];if(!0===n){var a=s.parentNode;o.push(a)}return!0!==r||i||(i=function(t){var e=t.attributes,i=null;return Object.keys(e).forEach(function(t){e.hasOwnProperty(t)&&"data-mount-in"===e[t].name&&(i=e[t].nodeValue)}),i}(s)),i&&[].forEach.call(document.querySelectorAll(i),function(t){o.push(t)}),o}
1,Pe=function(t,e,i,n,r){e.forEach(function(e){var o=e;if(!o._habitat){o._habitat=!0;var s=function(t,e){void 0===e&&(e={});var i=t.attributes,n=Object.assign({},e);return Object.keys(i).forEach(function(t){if(i.hasOwnProperty(t)){var e=i[t].name;if(!e||"string"!=typeof e)return!1;var r=e.split(/(data-props?-)/).pop()||"";if(e!==(r=r.replace(/-([a-z])/gi,function(t,e){return e.toUpperCase()}))){var o=i[t].nodeValue;n[r]=o}}}),[].forEach.call(t.getElementsByTagName("script"),function(t){var e={};if(t.hasAttribute("type")){if("text/props"!==t.getAttribute("type")&&"application/json"!==t.getAttribute("type"))return;try{e=JSON.parse(t.innerHTML)}catch(t){throw new Error(t)}Object.assign(n,e)}}),n}(e,r)||r;return n&&(o.innerHTML=""),V(w(t,s),o,i)}})};class Ee extends _{state={hasError:!1};componentDidCatch(t){this.setState({hasError:!0}),this.props.onError(t)}render(t,e){return e.hasError?t.fallback:t.children}}Ee.defaultProps={children:null,fallback:null,onError(){}};const Oe=()=>{if("undefined"==typeof window)return!0;try{return!window.localStorage.getItem("debug")}catch{return!0}},Le=(t,...e)=>{if("function"==typeof t)try{t(...e)}catch(t){"undefined"!=typeof console&&console.error}},De=t=>"undefined"==typeof document?0:document.querySelectorAll(t).length;function Ie(t,e={}){const{selector:i,clean:n=Oe(),missingTarget:r="skip",waitForTarget:o=!1,ready:s="immediate",loadingFallback:a=null,errorFallback:l=null,onMount:c,onMissing:h,onError:d,...u}=e||{};if("function"!=typeof(p=t)&&(null===p||"object"!=typeof p)){const t=new TypeError("mountHabitat requires a valid Preact component");throw Le(d,t),t}var p;if("string"!=typeof i||""===i.trim()){const t=new TypeError("mountHabitat requires a non-empty selector string");throw Le(d,t),t}if(!["skip","warn","throw"].includes(r))throw new TypeError('mountHabitat missingTarget must be "skip", "warn", or "throw"');if(!["immediate","dom-ready"].includes(s))throw new TypeError('mountHabitat ready must be "immediate" or "dom-ready"');let f,m,g,y,v=!1,b="pending";const x={get status(){return b},get result(){return y},dispose(){v||(v=!0,b="disposed",f&&"undefined"!=typeof document&&document.removeEventListener("DOMContentLoaded",f),m&&m.disconnect(),g&&clearTimeout(g),y&&"function"==typeof y.unmount?y.unmount():y&&"function"==typeof y.destroy&&y.destroy())},remount:()=>(v||(k(),S()),x)},k=()=>{y&&"function"==typeof y.unmount?y.unmount():y&&"function"==typeof y.destroy&&y.destroy(),y=void 0},C=()=>{if(b="skipped",Le(h,i),"throw"===r){const t=((t,e)=>{const i=new Error(`${t}: ${e}`);return i.code="MOUNT_HABITAT_ERROR",i})("No target matched selector",i);throw Le(d,t),t}},S=()=>{if(v||"undefined"==typeof document)return void(b="skipped");let e;try{e=De(i)}catch(t){throw b="error",Le(d,t),t}if(!e)return void C();const r=null!==a||null!==l||d?((t,{loadingFallback:e,errorFallback:i,onError:n})=>r=>w(Ee,{fallback:i,onError:n},w(Yt,{fallback:e},w(t,r))))(t,{loadingFallback:a,errorFallback:l,onError:d}):t;try{y=(o=r,s=o,{render:function(t){void 0===t&&(t={});var e=t.selector;void 0===e&&(e=null);var i=t.inline;void 0===i&&(i=!1);var n=t.clean;void 0===n&&(n=!1);var r=t.clientSpecified;void 0===r&&(r=!1);var o=t.defaultProps;void 0===o&&(o={});var a=Me({selector:e,inline:i,clientSpecified:r}),l=function(){if(a.length>0){var t=Me({selector:e,inline:i,clientSpecified:r});return Pe(s,t,null,n,o)}};l(),document.addEventListener("DOMContentLoaded",l),document.addEventListener("load",l)}}).render({selector:i,clean:n,...u}),b="mounted",Le(c,{selector:i,targetCount:e,result:y})}catch(t){throw b="error",Le(d,t),t}var o,s},_=()=>{try{S()}catch(t){b="error"}},A=()=>{if(!v)try{De(i)?S():o?(()=>{if("undefined"==typeof MutationObserver||"undefined"==typeof document)return void _();m=new MutationObserver(()=>{try{De(i)&&(m.disconnect(),m=void 0,g&&(clearTimeout(g),g=void 0),_())}catch(t){b="error",Le(d,t)}}),m.observe(document.documentElement||document,{childList:!0,subtree:!0}),g=setTimeout(()=>{m&&(m.disconnect(),m=void 0),g=void 0,_()},"number"==typeof o?o:5e3)})():C()}catch(t){throw b="error",Le(d,t),t}};return"undefined"==typeof document?b="skipped":"dom-ready"===s&&"loading"===document.readyState?(f=()=>{f=void 0;try{A()}catch(t){b="error"}},document.addEventListener("DOMContentLoaded",f,{once:!0}),b="waiting"):A(),x}var je=0;function Be(t,i,n,r,o,s){i||(i={});var a,l,c=i;if("ref"in c)for(l in c={},i)"ref"==l?a=i[l]:c[l]=i[l];var h={type:t,props:c,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--je,__i:-1,__u:0,__source:o,__self:s};if("function"==typeof t&&(a=t.defaultProps))for(l in a)void 0===c[l]&&(c[l]=a[l]);return e.vnode&&e.vnode(h),h}const Ne=(t,e)=>t;!function({selector:t,load:e,widgetName:i,...n}){const r=$t(()=>e()),o=n;Ie(function(t){return Be(Yt,{fallback:null,children:Be(r,{...t})})},{selector:Ne(t),...o})}({selector:"#home-tabs",defaultProps:{items:[]},widgetName:"mega-tab",load:()=>Promise.resolve().then(function(){return cn})});var Re="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Fe(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}
1function He(t){if(t.__esModule)return t;var e=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(t).forEach(function(i){var n=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(e,i,n.get?n:{enumerable:!0,get:function(){return t[i]}})}),e}function ze(t){var e={exports:{}};return t(e,e.exports),e.exports}function Ue(){}function Ge(){}Ge.resetWarningCache=Ue;var We=ze(function(t){t.exports=function(){function t(t,e,i,n,r,o){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var i={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:Ge,resetWarningCache:Ue};return i.PropTypes=i,i}()}),Xe=Ye()?Ae.useLayoutEffect:Ae.useEffect,Ve=ti;function Ye(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}function Ke(t,e){var i=$(e);return i.displayName=t,i}function $e(t){return Ae.forwardRef(t)}function qe(t,e){return Ae.memo(t,e)}function Ze(t,e){var i=null,n=function(t){return t&&t.ownerDocument?t.ownerDocument:Ye()?document:null}(t);return t.currentStyle?i=t.currentStyle[e]:n&&n.defaultView&&Je(n.defaultView.getComputedStyle)&&(i=n.defaultView.getComputedStyle(t,null).getPropertyValue(e)),i}function Je(t){return!(!t||"[object Function]"!={}.toString.call(t))}function Qe(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return e.filter(function(t){return null!=t}).join("--")}function ti(){}function ei(t){var e=ft(t);return Xe(function(){e.current=t}),yt(function(t){for(var i=arguments.length,n=new Array(i>1?i-1:0),r=1;r<i;r++)n[r-1]=arguments[r];return e.current.apply(e,[t].concat(n))},[])}function ii(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return gt(function(){return e.every(function(t){return null==t})?null:function(t){e.forEach(function(e){!function(t,e){if(null!=t)if(Je(t))t(e);else try{t.current=e}catch(i){throw new Error('Cannot assign value "'+e+'" to ref "'+t+'"')}}(e,t)})}},[].concat(e))}function ni(t,e){return function(i){if(t&&t(i),!i.defaultPrevented)return e(i)}}function ri(){return ri=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},ri.apply(this,arguments)}function oi(t,e){void 0===e&&(e={});return Ke(t,ri({descendants:[],registerDescendant:ti,unregisterDescendant:ti},e))}function si(t,e,i){var n,r,o=ht()[1],s=vt(e),a=s.registerDescendant,l=s.unregisterDescendant,c=s.descendants,h=null!=i?i:c.findIndex(function(e){return e.element===t.element}),d=(n=c,r=ft(null),ut(function(){r.current=n},[n]),r.current),u=c.some(function(t,e){var i;return t.element!==(null==d||null===(i=d[e])||void 0===i?void 0:i.element)});return Xe(function(){return t.element||o({}),a(ri({},t,{index:h})),function(){return l(t.element)}},[a,l,h,u].concat(Object.values(t))),h}function ai(){return ht([])}function li(t){var e=t.context,i=t.children,n=t.items,r=t.set,o=yt(function(t){var e=t.element,i=t.index,n=function(t,e){if(null==t)return{};var i,n,r={},o=Object.keys(t);for(n=0;n<o.length;n++)i=o[n],e.indexOf(i)>=0||(r[i]=t[i]);return r}(t,["element","index"]);e&&r(function(t){var r;if(null!=i)r=[].concat(t,[ri({},n,{element:e,index:i})]);else if(0===t.length)r=[].concat(t,[ri({},n,{element:e,index:0})]);else if(t.find(function(t){return t.element===e}))r=t;else{var o=t.findIndex(function(t){return!(!t.element||!e)&&Boolean(t.element.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}),s=ri({},n,{element:e,index:o});r=-1===o?[].concat(t,[s]):[].concat(t.slice(0,o),[s],t.slice(o))}return r.map(function(t,e){return ri({},t,{index:e})})})},[]),s=yt(function(t){t&&r(function(e){return e.filter(function(e){return t!==e.element})})},[]);return Ae.createElement(e.Provider,{value:gt(function(){return{descendants:n,registerDesce
1ndant:o,unregisterDescendant:s}},[n,o,s])},i)}function ci(t,e){var i=vt(t).descendants,n=e.callback,r=e.currentIndex,o=e.filter,s=e.key,a=void 0===s?"index":s,l=e.orientation,c=void 0===l?"vertical":l,h=e.rotate,d=void 0===h||h,u=e.rtl,p=void 0!==u&&u,f=null!=r?r:-1;return function(t){if(["ArrowDown","ArrowUp","ArrowLeft","ArrowRight","PageUp","PageDown","Home","End"].includes(t.key)){var e=o?i.filter(o):i;if(o&&(f=e.findIndex(function(t){return t.index===r})),e.length)switch(t.key){case"ArrowDown":if("vertical"===c||"both"===c){t.preventDefault();var s=b();n("option"===a?s:s[a])}break;case"ArrowUp":if("vertical"===c||"both"===c){t.preventDefault();var l=x();n("option"===a?l:l[a])}break;case"ArrowLeft":if("horizontal"===c||"both"===c){t.preventDefault();var h=(p?b:x)();n("option"===a?h:h[a])}break;case"ArrowRight":if("horizontal"===c||"both"===c){t.preventDefault();var u=(p?x:b)();n("option"===a?u:u[a])}break;case"PageUp":t.preventDefault();var m=(t.ctrlKey?x:w)();n("option"===a?m:m[a]);break;case"Home":t.preventDefault();var g=w();n("option"===a?g:g[a]);break;case"PageDown":t.preventDefault();var y=(t.ctrlKey?b:k)();n("option"===a?y:y[a]);break;case"End":t.preventDefault();var v=k();n("option"===a?v:v[a])}}function b(){return f===e.length-1?d?w():e[f]:e[(f+1)%e.length]}function x(){return 0===f?d?k():e[f]:e[(f-1+e.length)%e.length]}function w(){return e[0]}function k(){return e[e.length-1]}}}var hi=!1,di=0,ui=function(){return++di},pi=function(t){var e=ht(t||(hi?ui():null)),i=e[0],n=e[1];return Xe(function(){null===i&&n(ui())},[]),ut(function(){!1===hi&&(hi=!0)},[]),null!=i?String(i):void 0};function fi(t,e){if(null==t)return{};var i,n,r={},o=Object.keys(t);for(n=0;n<o.length;n++)i=o[n],e.indexOf(i)>=0||(r[i]=t[i]);return r}var mi,gi,yi=oi("TabsDescendantsContext"),vi=oi("TabPanelDescendantsContext"),bi=Ke("TabsContext",{});!function(t){t.Auto="auto",t.Manual="manual"}(mi||(mi={})),function(t){t.Horizontal="horizontal",t.Vertical="vertical"}(gi||(gi={}));var xi=$e(function(t,e){var i,n=t.as,r=void 0===n?"div":n,o=t.children,s=t.defaultIndex,a=t.orientation,l=void 0===a?gi.Horizontal:a,c=t.index,h=void 0===c?void 0:c,d=t.keyboardActivation,u=void 0===d?mi.Auto:d,p=t.onChange,f=t.readOnly,m=void 0!==f&&f,g=fi(t,["as","children","defaultIndex","orientation","index","keyboardActivation","onChange","readOnly"]),y=ft(null!=h),v=pi(g.id),b=null!==(i=g.id)&&void 0!==i?i:Qe("tabs",v),x=ft(!1),w=ft(null),k=ft(!1),C=function(t,e){var i=ft(null!=t),n=ht(e),r=n[0],o=n[1],s=yt(function(t){i.current||o(t)},[]);return[i.current?t:r,s]}(h,null!=s?s:0),S=C[0],_=C[1],A=ht(-1),T=A[0],M=A[1],P=ai(),E=P[0],O=P[1],L=gt(function(){return{focusedIndex:T,id:b,isControlled:y.current,isRTL:k,keyboardActivation:u,onFocusPanel:function(){var t;null===(t=w.current)||void 0===t||t.focus()},onSelectTab:m?ti:function(t){x.current=!0,p&&p(t),_(t)},onSelectTabWithKeyboard:m?ti:function(t){var e;switch(x.current=!0,u){case mi.Manual:return void(null===(e=E[t].element)||void 0===e||e.focus());case mi.Auto:default:return p&&p(t),void _(t)}},orientation:l,selectedIndex:S,selectedPanelRef:w,setFocusedIndex:M,setSelectedIndex:_,userInteractedRef:x}},[T,b,u,p,l,m,S,_,E]);return ut(function(){return Ve()},[]),Ae.createElement(li,{context:yi,items:E,set:O},Ae.createElement(bi.Provider,{value:L},Ae.createElement(r,Object.assign({},g,{ref:e,"data-reach-tabs":"","data-orientation":l,id:g.id}),Je(o)?o({focusedIndex:T,id:b,selectedIndex:S}):o)))}),wi=$e(function(t,e){var i=t.children,n=t.as,r=void 0===n?"div":n,o=t.onKeyDown,s=fi(t,["children","as","onKeyDown"]),a=vt(bi),l=a.focusedIndex,c=a.isControlled,h=a.isRTL,d=a.keyboardActivation,u=a.onSelectTabWithKeyboard,p=a.orientation,f=a.selectedIndex,m=a.setSelectedIndex,g=vt(yi).descendants,y=ft(null),v=ii(e,y);ut(function(){y.current&&(y.current.ownerDocument&&"rtl"===y.current.ownerDocument.dir||"rtl"===Ze(y.current,"direction"))&&(h.current=!0)},[h]);var b=ei(ni(o,ci(yi,{currentIndex:d===mi.Manual?l:f,orientation:p,rotate:!0,callback:u,filter:function(t){return!t.disabled},rtl:h.current})));return Xe(function(){var t,e;if(!c&&("true"===(e=null===(t=g[f])||void 0===t?void 0:t.disabled)||function(t){return"boolean"==typeof t}(e)&&e)){var i=g.find(function(t){return!t.disabled});i&&m(i.index)}},[g,c,f,m]),Ae.createElement(r,Object.assign({role:"tablist","aria-orientation":p},s,{"data-reach-tab-list":"",ref:v,onKeyDown:b}),Ut.map(i,function(t,e){return function(t,e){for(var i=arguments.length,n=new Array(i>2?i-2:0),r=2;r<i;r++)n[r-2]=arguments[r];return ye(t)?xe.apply(void 0,[t,e].concat(n)):t}(t,{isSelected:e===f})}))}),ki=qe(wi),Ci=$e(function(t,e){var i=t.children;t.isSelected;var n=t.as,r=void 0===n?"button":n,o=t.index,s=t.disabled;t.onBlur;var a,l,c,h=t.onFocus,d=fi(t,["children","isSelected","as","index","disabled","onBlur","onFocus"]),u=vt(bi),p=u.id,f=u.onSelectTab,m=u.orientation,g=u.selectedIndex,y=u.userInteractedRef,v=u.setFocusedIndex,b=ft(null),x=ii(e,b),w=si({element:b.current,disabled:!!s},yi,o),k="button"===r&&null==d.type?"button":d.type,C=w===g;a=function(){C&&b.current&&y.current&&(y.current=!1,b.current.focus())},l=[C,y],c=ft(!1),ut(function(){c.current?a():c.current=!0},l);var S=ei(ni(h,function(){v(w)})),_=ei(ni(h,function(){v(-1)}));return Ae.createElement(r,Object.assign({"aria-controls":Qe(p,"panel",w),"aria-disabled":s,"aria-selected":C,role:"tab",tabIndex:C?0:-1},d,{ref:x,"data-reach-tab":"","data-orientation":m,"data-selected":C?"":void 0,disabled:s,id:Qe(p,"tab",w),onClick:function(){f(w)},onFocus:S,onBlur:_,type:k}),i)}),Si=$e(function(t,e){var i=t.children,n=t.as,r=void 0===n?"div":n,o=fi(t,["children","as"]),s=ii(ft(),e),a=ai(),l=a[0],c=a[1];return Ae.createElement(li,{context:vi,items:l,set:c},Ae.createElement(r,Object.assign({},o,{ref:s,"data-reach-tab-panels":""}),i))}),_i=qe(Si),Ai=$e(function(t,e){var i=t.children;t["aria-label"];var n=t.as,r=void 0===n?"div":n,o=fi(t,["children","aria-label","as"]),s=vt(bi),a=s.selectedPanelRef,l=s.selectedIndex,c=s.id,h=ft(null),d=si({element:h.current},vi),u=Qe(c,"panel",d),p=d===l,f=ft(!1),m=!!f.current&&!p;Ae.useEffect(function(){f.current=!0},[]);var g=ii(e,h,p?a:null);return Ae.createElement(r,Object.assign({"aria-labelledby":Qe(c,"tab",d),hidden:m,role:"tabpanel",tabIndex:p?0:-1},o,{ref:g,"data-reach-tab-panel":"",id:u}),i)}),Ti=({className:t,src:e,dataTestId:i="icon"})=>Be("i",{"aria-hidden":"true",className:t,dangerouslySetInnerHTML:{__html:e},"data-testid":i});
1const Mi=({className:t="",buttonClasses:e,gradientColor:i,onClick:n})=>Be("span",{className:t,children:Be("span",{className:"overflow-hidden relative w-full h-full flex items-center justify-start",children:[Be("span",{className:"absolute w-4 h-full left-0",style:`box-shadow: ${i} 0px 0px 25px 28px; z-index: -1; background-color: ${i}`}),Be("button",{className:`${e}`,onClick:n,"data-testid":"previous-btn",children:[Be("span",{className:"sr-only",children:"previous"}),Be(Ti,{className:"w-6 h-6 block",src:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n  <defs/>\n  <path d="M7.23 12l8.84-8.85a.75.75 0 00-1.06-1.06l-8.93 8.94a1.37 1.37 0 000 1.94L15 21.9a.75.75 0 001.06-1.06L7.23 12z"/>\n</svg>'})]})]})}),Pi=({className:t="",buttonClasses:e,gradientColor:i,onClick:n})=>Be("span",{className:t,children:Be("span",{className:"overflow-hidden relative w-full h-full flex items-center justify-end",children:[Be("span",{className:"absolute w-4 h-full right-0",style:`box-shadow: ${i} 0px 0px 25px 28px; z-index: -1; background-color: ${i}`}),Be("button",{className:`${e}`,onClick:n,"data-testid":"next-btn",children:[Be("span",{className:"sr-only",children:"next"}),Be(Ti,{className:"w-6 h-6 block ml-4",src:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n  <defs/>\n  <path d="M6.05 20.84a.75.75 0 001.06 1.06l8.94-8.93a1.37 1.37 0 000-1.94L7.1 2.1a.75.75 0 00-1.06 1.06L14.9 12l-8.85 8.85z"/>\n</svg>'})]})]})}),Ei=t=>{window.dataLayer&&window.dataLayer.push(t)},Oi=(t="",e="")=>{const i={event:"rightRailClick",rightRailClickInfo:{clickText:t,pageURL:window.location.href,clickURL:Li(e)}};Ei(i)},Li=t=>/^(https?:)?\/\//i.test(t)||/^www\./i.test(t)?t:`${window.location.origin}${t}`;"undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;var Di=({children:t,className:e,buttonClasses:i,gradientColor:n,navListId:r,prevClass:o="",nextClass:s="",currentItem:a=null,setScrollItem:l,scrollViewClass:c=""})=>{const[h,d]=ht(!0),[u,p]=ht(!1);ut(()=>{const t=document.getElementById(r);if(!t)return;const e=()=>{Math.floor(t.scrollWidth-t.scrollLeft)<=t.offsetWidth?p(!0):p(!1),0==t.scrollLeft?d(!0):d(!1)};return t.addEventListener("scroll",((t,e)=>{let i;return function(...n){i&&clearTimeout(i),i=setTimeout(()=>{i=null,t(...n)},e)}}
1)(e,200)),e(),()=>t.removeEventListener("scroll",e)},[]);return Be("div",{className:`relative ${c}`,children:[Be(Mi,{className:`absolute left-0 top-0 z-50 w-12 ${e} ${h&&"hidden"} ${o}`,buttonClasses:i,gradientColor:n,onClick:()=>{const t=document.getElementById(r),e=Math.floor(t.offsetWidth/4);if(t.scrollLeft-=e,a){const t=a?.previousSibling;t&&t.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"}),t&&l(t)}}}),t,Be(Pi,{className:`absolute right-0 top-0 z-50 w-12 ${e} ${u&&"hidden"} ${s}`,buttonClasses:i,gradientColor:n,onClick:()=>{const t=document.getElementById(r),e=Math.floor(t.offsetWidth/4);if(t.scrollLeft+=e,a){const t=a?.nextSibling;t&&t.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"}),t&&l(t)}}})]})};var Ii=He(Te);function ji(t){return"function"!=typeof matchMedia?null:matchMedia(t)}function Bi(t){return t?{media:t.media,matches:t.matches}:null}function Ni(t){var e=Ii.useState(function(){return Bi(ji(t))}),i=e[1],n=Ii.useCallback(function(t){return i(Bi(t))},[i]);return Ii.useEffect(function(){var e=ji(t);return n(e),e.addListener(n),function(){return e.removeListener(n)}},[n,t]),e[0]}var Ri={useMedia:Ni,useMediaPredicate:function(t){var e=Ni(t);return e&&e.matches||!1}},Fi=Ae["undefined"!=typeof document&&void 0!==document.createElement?"useLayoutEffect":"useEffect"],Hi=t=>{var e=ft(t);return ut(()=>{e.current=t}),e};var zi={aqua:/#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,azure:/#f0ffff(ff)?(?!\w)/gi,beige:/#f5f5dc(ff)?(?!\w)/gi,bisque:/#ffe4c4(ff)?(?!\w)/gi,black:/#000000(ff)?(?!\w)|#000(f)?(?!\w)/gi,blue:/#0000ff(ff)?(?!\w)|#00f(f)?(?!\w)/gi,brown:/#a52a2a(ff)?(?!\w)/gi,coral:/#ff7f50(ff)?(?!\w)/gi,cornsilk:/#fff8dc(ff)?(?!\w)/gi,crimson:/#dc143c(ff)?(?!\w)/gi,cyan:/#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,darkblue:/#00008b(ff)?(?!\w)/gi,darkcyan:/#008b8b(ff)?(?!\w)/gi,darkgrey:/#a9a9a9(ff)?(?!\w)/gi,darkred:/#8b0000(ff)?(?!\w)/gi,deeppink:/#ff1493(ff)?(?!\w)/gi,dimgrey:/#696969(ff)?(?!\w)/gi,gold:/#ffd700(ff)?(?!\w)/gi,green:/#008000(ff)?(?!\w)/gi,grey:/#808080(ff)?(?!\w)/gi,honeydew:/#f0fff0(ff)?(?!\w)/gi,hotpink:/#ff69b4(ff)?(?!\w)/gi,indigo:/#4b0082(ff)?(?!\w)/gi,ivory:/#fffff0(ff)?(?!\w)/gi,khaki:/#f0e68c(ff)?(?!\w)/gi,lavender:/#e6e6fa(ff)?(?!\w)/gi,lime:/#00ff00(ff)?(?!\w)|#0f0(f)?(?!\w)/gi,linen:/#faf0e6(ff)?(?!\w)/gi,maroon:/#800000(ff)?(?!\w)/gi,moccasin:/#ffe4b5(ff)?(?!\w)/gi,navy:/#000080(ff)?(?!\w)/gi,oldlace:/#fdf5e6(ff)?(?!\w)/gi,olive:/#808000(ff)?(?!\w)/gi,orange:/#ffa500(ff)?(?!\w)/gi,orchid:/#da70d6(ff)?(?!\w)/gi,peru:/#cd853f(ff)?(?!\w)/gi,pink:/#ffc0cb(ff)?(?!\w)/gi,plum:/#dda0dd(ff)?(?!\w)/gi,purple:/#800080(ff)?(?!\w)/gi,red:/#ff0000(ff)?(?!\w)|#f00(f)?(?!\w)/gi,salmon:/#fa8072(ff)?(?!\w)/gi,seagreen:/#2e8b57(ff)?(?!\w)/gi,seashell:/#fff5ee(ff)?(?!\w)/gi,sienna:/#a0522d(ff)?(?!\w)/gi,silver:/#c0c0c0(ff)?(?!\w)/gi,skyblue:/#87ceeb(ff)?(?!\w)/gi,snow:/#fffafa(ff)?(?!\w)/gi,tan:/#d2b48c(ff)?(?!\w)/gi,teal:/#008080(ff)?(?!\w)/gi,thistle:/#d8bfd8(ff)?(?!\w)/gi,tomato:/#ff6347(ff)?(?!\w)/gi,violet:/#ee82ee(ff)?(?!\w)/gi,wheat:/#f5deb3(ff)?(?!\w)/gi,white:/#ffffff(ff)?(?!\w)|#fff(f)?(?!\w)/gi},Ui=/\s+/g,Gi=/%[\dA-F]{2}/g,Wi=/"/g;function Xi(t){switch(t){case"%20":return" ";case"%3D":return"=";case"%3A":return":";case"%2F":return"/";default:return t.toLowerCase()}}function Vi(t){if("string"!=typeof t)throw new TypeError("Expected a string, but received "+typeof t);var e,i;return 65279===t.charCodeAt(0)&&(t=t.slice(1)),"data:image/svg+xml,"+function(t){return encodeURIComponent(t).replace(Gi,Xi)}((i=t,e=i.trim().replace(Ui," "),Object.keys(zi).forEach(function(t){zi[t].test(e)&&(e=e.replace(zi[t],t))}),e).replace(Wi,"'"))}Vi.toSrcset=function(t){return Vi(t).replace(/ /g,"%20")};var Yi=Vi;const Ki=He(Object.freeze({__proto__:null,default:["absolute","absolutely","bg-black","bg-blue-200","bg-blue-500","bg-gradient-primary","bg-gray-100","bg-gray-150","bg-gray-200","bg-gray-500","bg-green-100","bg-orange-200","bg-orange-300","bg-teal-300","bg-upcoming-webinar","bg-white","bg-yellow-100","bg-yellow-300","bg-yellow-500","block","block-","block-lift-content","block-menu","block-search-narrow","block-search-wide","block-search-wide-button","block-search-wide-wrapper","block-search-wide__button","block-search-wide__button-close","block-search-wide__container","block-search-wide__grid","block-search-wide__wrapper","block/active/limit","block/navigation/mode","block/new/limit","block</em>","block__content","block__title","block_content","block_content:4c7d58a3-a45d-412d-9068-259c57e40541","block_content:86ed355c-2ce2-4835-8e6e-baeb8227d724","block_content:924ab293-8f5f-45a1-9c7f-2423ae61a241","block_content:9aadf4a1-ded6-4017-a10d-a5e043396edf","block_content:9b4dcd67-99f3-48d0-93c9-2c46648b29de","block_content:banner_block:4c7d58a3-a45d-412d-9068-259c57e40541","block_content:banner_block:9aadf4a1-ded6-4017-a10d-a5e043396edf","block_content:d7c9d8ba-663f-41b4-8756-86bc55c44653","block_content:disclaimer_block:9b4dcd67-99f3-48d0-93c9-2c46648b29de","block_content:fb5e8434-3617-4a1d-a252-8273e95ec30e","block_content:footer_promo_block:924ab293-8f5f-45a1-9c7f-2423ae61a241","block_content:simple_block:86ed355c-2ce2-4835-8e6e-baeb8227d724","block_content_type","block_display","block_field","block_form_alter","blockcontent","blocked","blocking","blocks","border","border-0","border-1","border-2","border-4","border-b","border-b-2","border-b-4","border-black","border-blue-300","border-blue-500","border-cool-gray-400","border-gray-200","border-gray-300","border-gray-400","border-gray-500","border-green-500","border-l","border-l-4","border-l-8","border-none","border-orange-300","border-r","border-solid","border-t","border-t-2","border-transparent","border-white","border-yellow-500","border:0","bottom-0","bottom-5","bottom-6","bottom-start","break-word","break-words","col-","col-end-11","col-end-12","col-end-13","col-end-5","col-span-1","col-span-12","col-span-2","col-span-3","col-span-4","col-start-1","content-archival-block-pdf","content-collapsed","content-header","content-related","content-type","cursor-pointer","divide-y","fill-current","fixed","fixed-sized","fixed_block_content","fixed_block_content_test","fixed_value:fixed_value","flex","flex-1","flex-2","flex-auto","flex-col","flex-grow","flex-none","flex-row","flex-wrap","flexbox","flexitime","flexitimes","flextime","focus-within:ring-2","focus-within:ring-offset-gray-500","focus:bg-yellow-100","focus:border-current","focus:outline-blue-solid","focus:outline-none","focus:outline-offset-4","focus:outline-offset-[-2px]","focus:shadow-lg","font-bold","font-ej-serif-display","font-medium","font-normal","font-regular","gap-1","gap-3","gap-4","gap-5","gap-6","gap-8","gap-x-4","gap-y-10","gap-y-8","grid","grid-cols-1","grid-cols-12","grid-cols-3","grid-cols-4","grid-flow-col","grid-flow-row","grid-flow-row-dense","grid-full","grid-rows-3","group-hover:text-current","grow","h-0","h-10","h-11","h-11/12","h-12","h-16","h-2","h-20","h-24","h-28","h-3","h-32","h-4","h-40","h-44","h-48","h-5","h-52","h-56","h-6","h-72","h-8","h-80","h-96","h-[29rem]","h-[8.9375rem]","h-[calc(100dvh-4rem)]","h-auto","h-fit","h-full","h-screen","hidden","hidden>","hidden_class","hidden_entity_id","hidden_event_city","hidden_event_c
1ountry","hidden_event_state","hidden_event_title","hidden_event_url","hidden_eventaddress","hidden_eventday","hidden_eventdetails","hidden_eventendtime","hidden_eventmonth","hidden_eventstarttime","hidden_eventyear","hidden_fa_city","hidden_fa_country","hidden_fa_firstname","hidden_fa_id","hidden_fa_name","hidden_fa_phone","hidden_fa_postal_code","hidden_fa_state","hidden_langcode","hidden_rsvpdisclaimer","hover:bg-yellow-300","hover:bg-yellow-500","hover:border-current","hover:border-gray-400","hover:border-yellow-500","hover:opacity-50","hover:text-black","hover:text-gray-400","hover:text-gray-500","inline","inline-block","inline-block;","inline-flex","inline_entity_form","inset-0","items-baseline","items-center","items-start","items-stretch","justify-around","justify-between","justify-center","justify-end","justify-start","leading-6","leading-7","leading-9","leading-[1.5rem]","leading-none","leading-normal","leading-snug","leading-tight","left-0","left-1/2","left-2","left-7","left-margin","left-section","left-section-min-height","left-section-padding","lg:absolute","lg:bg-white/95","lg:block","lg:border-2","lg:border-b-0","lg:border-b-2","lg:border-gray-200","lg:border-t-0","lg:col-end-11","lg:col-end-13","lg:col-end-8","lg:col-span-10","lg:col-span-3","lg:col-span-4","lg:col-span-8","lg:col-span-9","lg:col-start-6","lg:col-start-7","lg:col-start-9","lg:flex","lg:flex-col","lg:flex-no-wrap","lg:flex-row","lg:font-medium","lg:gap-0","lg:gap-15","lg:gap-4","lg:gap-5","lg:gap-6","lg:gap-[1.6rem]","lg:gap-x-4","lg:grid","lg:grid-cols-1","lg:grid-cols-2","lg:grid-cols-3","lg:grid-cols-9","lg:grid-rows-1","lg:h-13","lg:h-44","lg:h-56","lg:h-64","lg:h-72","lg:h-[27.5rem]","lg:h-[30.7rem]","lg:h-[30rem]","lg:h-[calc(100dvh-5rem)]","lg:h-[calc(100dvh-7rem)]","lg:h-full","lg:hidden","lg:inline-block","lg:items-start","lg:justify-between","lg:justify-center","lg:leading-6","lg:leading-normal","lg:left-0","lg:left-8","lg:left-[-2px]","lg:m-0","lg:max-h-[calc(100dvh-12rem)]","lg:max-h-[calc(100dvh-16rem)]","lg:max-w-2xl","lg:max-w-sm","lg:mb-0","lg:mb-10","lg:mb-16","lg:mb-18","lg:mb-2","lg:mb-20","lg:mb-24","lg:mb-30","lg:mb-5","lg:mb-6","lg:mb-7","lg:min-h-[13.75rem]","lg:ml-0","lg:ml-10","lg:ml-5","lg:ml-6","lg:mr-0","lg:mr-1","lg:mr-12","lg:mr-7","lg:mr-auto","lg:mt-0","lg:mt-10","lg:mt-12","lg:mt-14","lg:mt-16","lg:mt-20","lg:mt-28","lg:mt-3","lg:mt-4","lg:mt-5","lg:mt-7","lg:mt-8","lg:mt-9","lg:mt-auto","lg:mx-20","lg:mx-24","lg:mx-6","lg:my-6","lg:object-cover","lg:order-1","lg:order-2","lg:overflow-y-auto","lg:overflow-y-hidden","lg:p-11","lg:p-12","lg:p-16","lg:p-4","lg:p-5","lg:p-9","lg:pb-0","lg:pb-12","lg:pb-16","lg:pb-20","lg:pb-4","lg:pb-6","lg:pb-[4.3rem]","lg:pb-[6.25rem]","lg:pb-[7.2rem]","lg:pl-0","lg:pl-10","lg:pl-12","lg:pl-16","lg:pl-20","lg:pl-24","lg:pl-40","lg:pl-[5rem]","lg:pl-[8.8rem]","lg:pr-14","lg:pr-16","lg:pr-24","lg:pr-3","lg:pr-32","lg:pr-4","lg:pr-48","lg:pr-6","lg:pr-8","lg:pr-[10rem]","lg:pr-[5rem]","lg:pt-0","lg:pt-10","lg:pt-12","lg:pt-4","lg:pt-8","lg:pt-9","lg:pt-[4.2rem]","lg:px-0","lg:px-10","lg:px-12","lg:px-14","lg:px-16","lg:px-20","lg:px-24","lg:px-28","lg:px-32","lg:px-4","lg:px-48","lg:px-5","lg:px-52","lg:px-56","lg:px-6","lg:px-64","lg:px-8","lg:px-9","lg:px-[14.6875rem]","lg:py-0","lg:py-10","lg:py-11","lg:py-14","lg:py-20","lg:py-28","lg:py-3","lg:py-6","lg:py-7","lg:relative","lg:right-0","lg:right-2","lg:right-28","lg:-mt-16","lg:-mt-48","lg:rounded","lg:row-start-1","lg:space-x-10","lg:space-x-6","lg:space-y-0","lg:space-y-10","lg:space-y-16","lg:space-y-20","lg:space-y-7","lg:space-y-8","lg:sticky","lg:text-3xl","lg:text-48","lg:text-4xl","lg:text-5xl","lg:text-base","lg:text-center","lg:text-left","lg:text-lg","lg:text-md","lg:text-right","lg:text-xl","lg:top-20","lg:top-28","lg:top-[10px]","lg:w-1/2","lg:w-1/3","lg:w-1/4","lg:w-10/12","lg:w-12","lg:w-13","lg:w-3/4","lg:w-3/5","lg:w-48","lg:w-52","lg:w-56","lg:w-6/12","lg:w-64","lg:w-68","lg:w-7/12","lg:w-72","lg:w-80","lg:w-96","lg:w-[22.1875rem]","lg:w-[31%]","lg:w-[37.1rem]","lg:w-[37rem]","lg:w-[43.7rem]","lg:w-[43.8rem]","lg:w-[595px]","lg:w-auto","lg:w-full","list-disc","list-group","list-group__description","list-group__link","list-style-type:square","m-0","m-1","m-auto","max-age","max-h-[calc(100dvh-4rem)]","max-height:200px","max-w-2xl","max-w-4xl","max-w-full","max-w-sm","mb-0","mb-1","mb-10","mb-11","mb-12","mb-14","mb-16","mb-2","mb-20","mb-3","mb-4","mb-5","mb-6","mb-8","mb-9","!-mb-11","md:absolute","md:block","md:border-b","md:border-b-0","md:border-b-2","md:border-gray-400","md:border-l-2","md:border-none","md:border-r-2","md:border-t-0","md:bottom-10","md:col-end-13","md:col-end-7","md:col-end-8","md:col-end-9","md:col-gap-6","md:col-span-2","md:col-span-3","md:col-span-8","md:col-start-1","md:col-start-2","md:col-start-3","md:divide-x","md:flex","md:flex-col","md:flex-row","md:flex-wrap","md:font-bold","md:font-medium","md:gap-0","md:gap-4","md:gap-6","md:gap-7","md:gap-x-20","md:gap-y-6","md:grid","md:grid-cols-2","md:grid-cols-8","md:grid-flow-col","md:h-16","md:h-32","md:h-36","md:h-44","md:h-48","md:h-
152","md:h-56","md:h-60","md:h-64","md:h-80","md:h-[15.5rem]","md:h-[19rem]","md:h-[27.5rem]","md:h-auto","md:hidden","md:inline","md:inline-block","md:inline-flex","md:items-center","md:items-start","md:justify-between","md:justify-center","md:justify-start","md:leading-21","md:leading-normal","md:leading-snug","md:leading-tight","md:left-2","md:max-w-xl","md:mb-0","md:mb-10","md:mb-12","md:mb-14","md:mb-15","md:mb-2","md:mb-20","md:mb-3","md:mb-5","md:mb-8","md:min-w-56","md:min-w-72","md:min-w-80","md:ml-0","md:ml-10","md:ml-11","md:ml-2","md:ml-36","md:ml-4","md:ml-6","md:ml-7","md:ml-8","md:mr-0","md:mr-10","md:mr-20","md:mr-5","md:mr-6","md:mr-7","md:mt-0","md:mt-10","md:mt-12","md:mt-13","md:mt-14","md:mt-15","md:mt-2","md:mt-3","md:mt-4","md:mt-5","md:mt-6","md:mt-7","md:mt-8","md:mt-9","md:mt-auto","md:mx-0","md:mx-6","md:mx-auto","md:my-0","md:my-4","md:my-8","md:order-2","md:order-none","md:overflow-hidden","md:p-0","md:p-6","md:p-8","md:pb-0","md:pb-10","md:pb-11","md:pb-12","md:pb-16","md:pb-3","md:pb-4","md:pb-5","md:pb-6","md:pb-7","md:pb-8","md:pb-[3.125rem]","md:pl-0","md:pl-1","md:pl-14","md:pl-16","md:pl-2","md:pl-4","md:pl-5","md:pl-6","md:pl-7","md:pr-0","md:pr-1","md:pr-10","md:pr-16","md:pr-20","md:pr-24","md:pr-3","md:pr-4","md:pr-5","md:pr-8","md:pt-0","md:pt-1","md:pt-10","md:pt-2","md:pt-4","md:pt-5","md:pt-6","md:pt-8","md:px-0","md:px-10","md:px-12","md:px-14","md:px-16","md:px-2","md:px-20","md:px-24","md:px-28","md:px-3","md:px-32","md:px-4","md:px-5","md:px-6","md:px-7","md:px-8","md:px-[5.5rem]","md:py-1","md:py-10","md:py-12","md:py-16","md:py-4","md:py-5","md:py-6","md:py-7","md:py-8","md:py-9","md:relative","md:self-end","md:space-x-10","md:space-x-12","md:space-y-0","md:space-y-10","md:space-y-12","md:space-y-16","md:space-y-4","md:text-2xl","md:text-3xl","md:text-[1.25rem]","md:text-base","md:text-center","md:text-left","md:text-lg","md:text-xl","md:top-1","md:top-14","md:top-8","md:w-1/2","md:w-1/3","md:w-11/12","md:w-14","md:w-16","md:w-2/3","md:w-32","md:w-4/6","md:w-40","md:w-44","md:w-48","md:w-56","md:w-80","md:w-[10.5rem]","md:w-[30%]","md:w-[558px]","md:w-auto","md:w-max-content","md:whitespace-nowrap","min-h-40","min-h-64","min-h-7","min-h-[6rem]","min-h-screen","min-height:100px;","ml-0","ml-1","ml-2","ml-20","ml-3","ml-4","ml-5","ml-6","ml-auto","mr-1","mr-10","mr-2","mr-3","mr-4","mr-5","mt-0","mt-1","mt-10","mt-11","mt-12","!mt-12","mt-14","mt-16","mt-2","mt-3","mt-4","mt-40","mt-5","mt-6","mt-7","mt-8","mt-9","mt-auto","mx-2","mx-5","mx-auto","my-0","my-10","my-3","my-4","my-6","my-8","my-auto","object-center","object-cover","object-top","opacity-0","opacity-75","order","order-1","order-first","ordered","outline","outline-dark-solid","outline-white-solid","outlines","overflow-auto","overflow-hidden","overflow-visible","overflow-x-auto","overflow-y-auto","overflow:hidden","p-0","p-1","p-10","p-2","p-3","p-4","p-5","p-6","p-8","p-9","pb-0","pb-1","pb-10","pb-12","pb-14","pb-16","pb-2","pb-2/4","pb-24","pb-3","pb-4","pb-40","pb-5","pb-6","pb-7","pb-8","pb-[2.5rem]","pb-[56.25%]","pl-0","pl-10","pl-2","pl-3","pl-5","pl-6","pl-7","pl-9","placeholder-gray-500","pointer-events-none","pr-0","pr-1","pr-10","pr-3","pr-4","pr-5","pr-6","pt-0","pt-1","pt-10","pt-12","pt-2","pt-3","pt-4","pt-5","pt-6","pt-7","pt-8","pt-pt","px-0","px-1","px-10","px-11","px-12","px-13","px-14","px-2","px-3","px-4","px-5","px-6","px-7","px-8","py-0","py-1","py-10","py-12","py-14","py-15","py-2","py-3","py-4","py-5","py-6","py-8","relative","right-0","right-5","right-6","right-rail","right-rail-find-fa","right-rail-page-personalization-block","right-rail-wrapper","right-section","right-section-padding","rounded","rounded-full","rounded-lg","rounded-md","rounded-t","row-","row-gap-6","row-span-2","row-span-3","row-start-1","row-start-2","scroll-mt-[16px]","self-center","self-contained","self-end","self-hosted","self-stretch","shadow","shadow-inner","shadow-lg","shadow-xl","shrink-0","sm:break-words","sm:flex","sm:h-36","sm:h-[26.75rem]","sm:hidden","sm:mt-10","sm:pl-5","sm:px-0","sm:w-28","sm:w-full","sm:whitespace-normal","space-x-4","space-x-5","space-y-10","
1space-y-12","space-y-16","space-y-2","space-y-20","space-y-5","space-y-7","space-y-8","sr-only","static","static:scope","static:scope:child","static:scope:child:child","static_map","static_map_type","static_scope","static_scope:child","static_scope:child:child","static_scope:role","static_scope:role:child","statics","sticky","sticky-header-toggle","sticky-header-toggle__icon","stickyNav","table","table-","table-container","table-filter-text-source","table-language-group","table_classes","tablefield","tablefield_required","tables","tableselect","tablesort","tablesort--","tablet","tabletImage","tabletUrl","text-17","text-20","text-2xl","text-3xl","text-4xl","text-5xl","text-align-center","text-align-justify","text-align-left","text-align-right","text-align:center","text-base","text-black","text-blue-400","text-blue-500","text-center","text-content","text-format-wrapper","text-gray-100","text-gray-200","text-gray-400","text-gray-450","text-gray-500","text-green-300","text-green-500","text-left","text-lg","text-md","text-orange-300","text-red-500","text-right","text-sm","text-transparent","text-white","text-xl","text-xs","text-xxs","top-0","top-1","top-14","top-16","top-2","top-24","top-28","top-4","top-bar","top-bar__content","top-level","top-start","tracking-wide","truncate","truncate-3-lines","w-1/2","w-10","w-11","w-11/12","w-12","w-16","w-20","w-28","w-3","w-32","w-36","w-4","w-40","w-48","w-5","w-6","w-60","w-64","w-8","w-[7.6875rem]","w-full","whitespace","whitespace-normal","whitespace-nowrap","-mt-40","md:-mt-36","-mt-3","md:mx-5"]})).default||[],$i=t=>`url("${t}")`,qi={caretDown:Yi('\n    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#929492">\n      <path d="M11.93 15.75h.02c.2.01.42-.06.58-.22l5.86-5.86a.75.75 0 10-1.06-1.06l-5.4 5.4-5.4-5.4a.75.75 0 10-1.06 1.06l5.86 5.86c.16.16.38.24.6.22z"/>\n    </svg>\n  '),caretUp:Yi('\n    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">\n      <path d="M11.93 8.25h.02a.75.75 0 01.58.22l5.86 5.86a.75.75 0 11-1.06 1.06l-5.4-5.4-5.4 5.4a.75.75 0 01-1.06-1.06l5.86-5.86a.75.75 0 01.6-.22z"/>\n    </svg>\n  '),check:Yi('\n    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor">\n      <path d="M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z"/>\n    </svg>\n  '),dot:Yi('\n    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor">\n      <circle cx="8" cy="8" r="3"/>\n    </svg>\n  ')},Zi=720,Ji=1214;function Qi(t,e=16,i="rem"){return`${t/e}${i}`}const tn={content:["src/**/*.{jsx,js}",".storybook/**/*.{jsx,js}"],safelist:Ki,theme:{screens:{sm:Qi(335),md:Qi(Zi),lg:Qi(Ji)},container:t=>({center:!0,screens:{md:Qi((Zi+Ji)/2),lg:t("screens.lg")},padding:{DEFAULT:t("spacing.5"),md:t("spacing.6")}}),colors:{bisque:"#ffe4c4",transparent:"transparent",current:"currentColor",black:"black",white:"white","shade-50":"rgba(0,0,0,0.5)","tint-50":"rgba(255,255,255,0.5)",gray:{100:"#f5f5f5",150:"#f1f3f4",200:"#e6e7e8",300:"#cdcccb",350:"#929492",400:"#767576",450:"#5e5e5e",475:"#434345",500:"#3b3d3f"},red:{50:"#fdf4f5",100:"#fae3e5",500:"#c91d31"},orange:{100:"#feeee4",200:"#fabdad",300:"#f58b75",500:"#f16649"},yellow:{100:"#fef8db",200:"#feefad",300:"#fde57f",400:"#fcdb60",500:"#fad141","light-50":"#FFFAEC"},green:{100:"#f2f9f6",300:"#90e46c",500:"#008048"},blue:{50:"#F8FBFC",100:"#C6E7F3",200:"#D1E5F0",300:"#8BBDD9",400:"#007CA9",500:"#0076A0"},highlightedBlue:{400:"#269aff"}},url:{caretDownIcon:$i(qi.caretDown),caretUpIcon:$i(qi.caretUp),checkIcon:$i(qi.check),dotIcon:$i(qi.dot),minusIcon:$i(qi.minus)},fontFamily:{sans:["EJ Sans Text Var","ui-sans-serif","system-ui","sans-serif"],"saa-c":["Saa Series C D","ui-sans-serif","system-ui","sans-serif"],"saa-d":["Saa Series D D","ui-sans-serif","system-ui","sans-serif"],"saa-e":["Saa Series E D","ui-sans-serif","system-ui","sans-serif"],"ej-sans-display":["EJ Sans Display Var","Arial"],"ej-serif-display":["EJ Serif Display Var","Georgia"],"ej-serif-text":["EJ Serif Text Var","Georgia"],"ej-serif-display-hairline":["EJ Serif Display Hairline","Georgia"]},fontSize:{xxs:"0.75rem",13:"0.813rem",xs:"0.875rem",sm:"0.9375rem",base:"1rem",17:"1.063rem",lg:"1.125rem",20:"1.25rem",xl:"1.375rem","2xl":"1.5rem",28:"1.75rem",32:"2rem","3xl":"2.25rem",40:"2.5rem","4xl":"2.75rem",46:"2.875rem",48:"3rem",52:"3.25rem","5xl":"3.5rem","6xl":"3.5rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem",30:"1.875rem"},fontWeight:{light:"300",regular:"400",medium:"500",semibold:"600",bold:"700"},letterSpacing:{tighter:"-0.025em",tight:"-0.0125rem",normal:"0",wide:"1px",wider:"0.025em"},lineHeight:{none:"1",tight:"1.125",snug:"1.25",normal:"1.5",double:"2",21:"1.313"},ringColor:t=>({DEFAULT:t("colors.blue.500"),transparent:"transparent",darkGreen:"#1C5B41"}),ringOffsetWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",3:"3px"},ringOpacity:{DEFAULT:"1"},ringWidth:{DEFAULT:"2px",0:"0px",1:"1px",2:"2px"},spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",13:"3.25rem",14:"3.5rem",15:"3.75rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem","36
1/4":"9.875rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem","56/3":"14.75rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",22:"1.438rem",26:"26rem","3/13":"0.813rem"},extend:{backgroundImage:{"gradient-primary":"linear-gradient(to bottom right, #0076A0, #044E67)"},height:{152:"38rem",156:"39rem",270:"16.875rem",95:"23.25rem",426:"26.625rem",62:"3.875rem",242:"15.125rem",53:"3.313rem"},lineClamp:{7:"7",8:"8",10:"10",12:"12"},zIndex:{"-2":"-2","-1":"-1",1:"1",110:"110",1e3:"1000",1e4:"10000"},maxHeight:{"screen-1/2":"50vh","screen-3/4":"75vh","screen-2x":"200vh"},padding:{full:"100%"},inset:{"-1":"-0.12rem","-2":"-0.25rem","-3":"-0.5rem","-4":"-1rem","-9":"-1.12rem","-12":"-3rem"},width:{67:"16.75rem",68:"272px","69/100":"69%",130:"130%",285:"17.813rem",162:"10.125rem",337:"21.063rem",340:"21.25rem",355:"22.188rem","92/100":"92%"},rotate:{190:"190deg"}}},corePlugins:{backgroundAttachment:!1,backgroundClip:!1,backgroundOpacity:!1,borderOpacity:!1,divideStyle:!1,gradientColorStops:!1,rotate:!1,scale:!1,skew:!1,textOpacity:!1,transform:!1,transformOrigin:!1,transitionDelay:!1,transitionDuration:!1,transitionProperty:!1,transitionTimingFunction:!1}};function en(){const t=tn.theme;return{sm:Ri.useMediaPredicate(`(max-width: ${t.screens.sm})`),md:Ri.useMediaPredicate(`(min-width: ${t.screens.md})`),lg:Ri.useMediaPredicate(`(min-width: ${t.screens.lg})`)}}function nn(...t){return function(t,e,i,n){var r=Hi(i),o=Hi(n);Fi(()=>{function i(){if(!s){for(var t=arguments.length,e=new Array(t),i=0;t>i;i++)e[i]=arguments[i];r.current.apply(this,e)}}var n=t&&"current"in t?t.current:t;if(n){var s=0;n.addEventListener(e,i);var a=o.current;return()=>{s=1,n.removeEventListener(e,i),a&&a()}}},[t,e])}(window,"hashchange",...t)}!function(t,e){void 0===e&&(e={});var i=e.insertAt;if(t&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===i&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=t:r.appendChild(document.createTextNode(t))}}(".container #home-tabs .container{padding-left:0;padding-right:0}.home-tabs [data-reach-tab][data-selected]{border-bottom-width:4px;border-color:#0076a0;color:#3b3d3f;padding-top:.5rem;position:relative;top:3px}.home-tabs [data-reach-tab][data-selected]:hover{background-color:#e6e7e8}.teaser-title :is(h1, h2, h3, h4, h5, h6){font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}");function rn({className:t="",altText:e,description:i="",subDescription:n="",fallbackClassName:r="",layout:o="row",smallSizeImage:s=!1,iconSizeImage:a=!1,hideDescSmallImage:l=!1}){const c=""!==(e??""),h="column"===o,{md:d,lg:u}=en(),p=s?"w-full text-[0.5rem] font-[700] tracking-[0rem] text-[#000000]":h?"w-full text-[0.75rem] font-[700] tracking-[0rem] text-[#000000] "+(a?"leading-snug":""):"w-full text-[1rem] leading-[1.3rem] font-[700] tracking-[0rem] text-[#000000]",f=s?"text-[0.5rem] font-[400] tracking-[0rem] text-[#000000] text-left":h?"text-[0.75rem] font-[400] tracking-[0rem] text-[#000000] text-left":"text-[0.75rem] leading-[125%] font-[400] tracking-[0rem] text-[#000000] text-left mt-2";return Be("div",{className:`\n        ${t}\n        ${r}\n        bg-[#E6E7E8]\n        flex items-center justify-center\n        overflow-hidden\n        ${a?"rounded-full":""}\n      `,children:Be("div",{className:h?`flex flex-col items-center justify-start ${s||a?"gap-[0.063rem]":"gap-[0.5rem]"} mx-auto my-auto ${a?"":"p-3"}`:"flex flex-row items-center justify-start gap-[1.5rem] mx-auto",children:[Be("div",{className:h?"flex items-center justify-center shrink-0":"w-[4rem] h-[4rem] flex items-center justify-center shrink-0",children:Be("i",{className:h?"block text-transparent "+(a?"w-5 h-5":""):"w-[4rem] h-[4rem] block text-transparent",dangerouslySetInnerHTML:{__html:a?'<?xml version="1.0" encoding="UTF-8"?>\n<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 18.63 19.16">\n  \x3c!-- Generator: Adobe Illustrator 30.6.0, SVG Export Plug-In . SVG Version: 2.1.4 Build 109)  --\x3e\n  <defs>\n    <style>\n      .st0 {\n        fill: none;\n        stroke: #000;\n        stroke-linecap: round;\n        stroke-linejoin: round;\n        stroke-width: .5px;\n      }\n    </style>\n  </defs>\n  <path class="st0" d="M15.25,4.75V1.22c0-.54-.43-.97-.97-.97H1.22C.68.25.25.68.25,
11.22v13.06c0,.54.43.97.97.97h3.53"/>\n  <path class="st0" d="M4.72,15.06l8.75,3.77c.49.21,1.06-.01,1.27-.51l3.65-8.45"/>\n  <path class="st0" d="M18.24,9.81l-1.74-.05-1.87,2.71-2.63-.43-2.8,1.6-2.76-.13-1.66,1.4"/>\n  <path class="st0" d="M15.08,4.75l-1.67.67-.67,3.33-2.67.67-2,2.67-2.67,1-1,2"/>\n  <path class="st0" d="M2.92,12.25l2.31-3.08c.17-.23.44-.38.73-.4.29-.02.57.09.78.29l.68.68,2.2-2.93c.19-.25.49-.4.8-.4s.61.15.8.4l1.2,1.6"/>\n  <path class="st0" d="M3.67,6.25c.69,0,1.25-.56,1.25-1.25s-.56-1.25-1.25-1.25-1.25.56-1.25,1.25.56,1.25,1.25,1.25Z"/>\n  <path class="st0" d="M14.75,12.75l.83,1.33"/>\n</svg>':s?'<svg width="38" height="39" viewBox="0 0 38 39" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M31 10V2.9375C31 1.86745 30.1326 1 29.0625 1H2.9375C1.86745 1 1 1.86745 1 2.9375V29.0625C1 30.1326 1.86745 31 2.9375 31H10" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M9.93651 30.622L27.4306 38.1678C28.4131 38.5916 29.5532 38.1387 29.977 37.1561L37.267 20.2551" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M36.9706 20.1275L33.4939 20.0345L29.75 25.4531L24.4942 24.5929L18.8898 27.8024L13.3782 27.535L10.0644 30.3258" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M30.6667 10.0001L27.3333 11.3333L26.0001 18L20.6667 19.3334L16.6667 24.6667L11.3334 26.6667L9.33333 30.6667" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M6.33331 24.9999L10.9493 18.8453C11.2971 18.3812 11.8292 18.091 12.4076 18.0498C12.9861 18.0086 13.5539 18.2205 13.964 18.6306L15.3333 19.9999L19.7333 14.1333C20.111 13.6296 20.7038 13.3333 21.3333 13.3333C21.9628 13.3333 22.5556 13.6296 22.9333 14.1333L25.3333 17.3333" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M7.83331 13C9.21402 13 10.3333 11.8807 10.3333 10.5C10.3333 9.11929 9.21402 8 7.83331 8C6.4526 8 5.33331 9.11929 5.33331 10.5C5.33331 11.8807 6.4526 13 7.83331 13Z" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M30.0001 25.9999L31.6547 28.6666" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n':h&&!(d||u)?'<svg width="38" height="39" viewBox="0 0 38 39" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M31 10V2.9375C31 1.86745 30.1326 1 29.0625 1H2.9375C1.86745 1 1 1.86745 1 2.9375V29.0625C1 30.1326 1.86745 31 2.9375 31H10" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M9.93651 30.622L27.4306 38.1678C28.4131 38.5916 29.5532 38.1387 29.977 37.1561L37.267 20.2551" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M36.9706 20.1273L33.4939 20.0343L29.75 25.4529L24.4942 24.5927L18.8898 27.8021L13.3782 27.5348L10.0644 30.3255" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M30.6667 10.0001L27.3333 11.3333L26.0001 18L20.6667 19.3334L16.6667 24.6667L11.3334 26.6667L9.33333 30.6667" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M6.33331 24.9999L10.9493 18.8453C11.2971 18.3812 11.8292 18.091 12.4076 18.0498C12.9861 18.0086 13.5539 18.2205 13.964 18.6306L15.3333 19.9999L19.7333 14.1333C20.111 13.6296 20.7038 13.3333 21.3333 13.3333C21.9628 13.3333 22.5556 13.6296 22.9333 14.1333L25.3333 17.3333" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M7.83331 13C9.21402 13 10.3333 11.8807 10.3333 10.5C10.3333 9.11929 9.21402 8 7.83331 8C6.4526 8 5.33331 9.11929 5.33331 10.5C5.33331 11.8807 6.4526 13 7.83331 13Z" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M30.0001 25.9999L31.6547 28.6666" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n':'<svg width="76" height="78" viewBox="0 0 76 78" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M62 20V5.875C62 3.7349 60.2651 2 58.125 2H5.875C3.7349 2 2 3.7349 2 5.875V58.125C2 60.2651 3.7349 62 5.875 62H20" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M19.873 61.244L54.8612 76.3356C56.8263 77.1832 59.1064 76.2773 59.954 74.3122L74.5341 40.5101" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M73.9411 40.2546L66.9877 40.0686L59.5 50.9058L48.9884 49.1854L37.7796 55.6042L26.7564 55.0696L20.1288 60.651" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M61.3335 20.0001L54.6667 22.6667L52.0002 35.9999L41.3335 38.6668L33.3335 49.3335L22.6667 53.3334L18.6667 61.3333" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M12.6666 50L21.8986 37.6907C22.5942 36.7626 23.6584 36.1821 24.8153 36.0998C25.9722 36.0174 27.1079 36.4412 27.928 37.2614L30.6666 40L39.4666 28.2667C40.222 27.2595 41.4076 26.6667 42.6666 26.6667C43.9257 26.6667 45.1112 27.2595 45.8666 28.2667L50.6666 34.6667" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M15.6666 26C18.428 26 20.6666 23.7614 20.6666 21C20.6666 18.2386 18.428 16 15.6666 16C12.9052 16 10.6666 18.2386 10.6666 21C10.6666 23.7614 12.9052 26 15.6666 26Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M60.0002 51.9998L63.3093 57.3333" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n'}})}),Be("div",{className:h?"flex flex-col justify-center min-w-0 items-start text-left":"flex flex-col justify-center min-w-0 "+(c?"items-start text-left":"items-center text-center"),children:[c&&Be("span",{className:p,children:e}),!(a||l)&&Be("div",{className:f,children:[Be("p",{children:i}),Be("p",{children:n})]})]})]})})}function on({src:t,alt:e="",fallbackMessage:i="",fallbackSubDescription:n="",className:r="",fallbackClassName:o="",onError:s,layout:a,smallSizeImage:l,iconSizeImage:c,hideDescSmallImage:h,...d}){const[u,p]=ht(t),[f,m]=ht(!1),g="undefined"!=typeof window&&window.location.pathname.includes("/ca-fr"),y=i||(g?"L'image n'a pas pu se charger.":"Image failed to load."),v=n||(g?"Veuillez essayer de recharger la page.":"Please try re-loading the page.");ut(()=>{p(t),m(!1)},[t]);return f?Be(rn,{altText:e,description:y,subDescription:v,className:r,fallbackClassName:o,layout:a,smallSizeImage:l,iconSizeImage:c,hideDescSmallImage:h}):Be("img",{src:u,alt:e,onError:e=>{f||(m(!0),"undefined"!=typeof window&&window.console&&window.console.error("[ImageFallback] Image load failed",{attemptedSrc:t,error:e?.nativeEvent?.message||"Unknown error"}),"function"==typeof s&&s(e))},className:r,...d})}on.propTypes={src:We.string.isRequired,alt:We.string,fallbackMessage:We.string,fallbackSubDescription:We.string,onError:We.func};const sn=$t(()=>Promise.resolve().then(function(){return vn})),an=({items:t={},pageTitle:e,index:i,id:n,defaultIndex:r=0,onChange:o=()=>{},...s})=>{const{componentTitle:a,widget:l}=t,c=ft(null),[h,d]=ht(null),u=Math.floor(10*Math.random());ut(()=>{d(c?.current)},[]);return Be("section",{class:"container",...s,"data-testid":"home",id:`${e}-mega-tab-sq`,"aria-labelledby":`${e}-description-${u}`,children:[Be("div",{id:`${e}-description-${u}`,className:"heading-3 md:heading-2 md:text-center my-7 tab-main-heading teaser-title",dangerouslySetInnerHTML:{__html:a}}),Be(xi,{id:n,index:i,onChange:o,defaultIndex:r,children:[Be("div",{class:"lg:max-w-max-content mx-auto mb-4 lg:mb-6 home-tabs",children:Be(Di,{className:"h-4/5",gradientColor:"#fff",n
1avListId:"home-tabs-list",prevClass:"-left-2 md:left-0",nextClass:"-right-3 md:right-0",currentItem:h,setScrollItem:d,children:Be(ki,{class:"flex lg:justify-left p-2 overflow-x-auto text-sm lg:text-lg",onClick:t=>{var e;!function(t,e=""){const i=window.location.href;if(!t.getAttribute("vwo-redirection")){const n={event:"tabClick",tabClickInfo:{tabTitle:e,clickText:t.innerText,pageURL:i}};Ei(n)}}(t.target,(e=a,(new DOMParser).parseFromString(e,"text/html").body.textContent)),t.target.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})},id:"home-tabs-list",children:Object.entries(l).map(([t,e],i)=>Be(Ci,{"data-gtm-category":e.tabcategory,"data-gtm-action":"mega tab click","data-gtm-label":e.tabTitle,"data-testid":`tab${parseInt(t)+1}`,ref:0===i?c:null,class:"flex-1 mb-1 px-4 py-3 md:px-6 lg:px-9 font-bold text-gray-500 hover:text-gray-500 border-b-2 border-gray-300 whitespace-nowrap hover:bg-gray-100 [scroll-margin-left:3rem]",dangerouslySetInnerHTML:{__html:e.tabTitle}}))})})}),Be(_i,{children:Object.entries(l).map(([t,e])=>{return Be(Ai,{tabIndex:"-1",children:Be("div",{id:`${e.tabType||e.tabTemplateType}-${t}`,class:""+(e.child?`${i=e.tabTemplateType,{"featured-card-left":"tabs-grid-1","two-featured-cards":"tabs-grid-2 grid-rows-2","no-featured-card":"grid grid-cols-1 gap-y-0 md:gap-y-5 md:grid-cols-2 lg:grid-cols-3"}[i]} gap-5`:""),children:e.child?Object.entries(e.child||{}).map(([t,i])=>Be(ln,{tile:i,template:e.tabTemplateType,index:t,tabTitle:e.tabTitle})):Be(Yt,{fallback:null,children:Be(sn,{...e})})})});var i})})]})]})};class ln extends _{constructor(t){super(t)}render({template:t="",tile:e={},tabTitle:i="",index:n=0}){return Be("div",{class:`relative flex justify-between flex-col p-2 mb-4 md:mb-0 block border border-gray-300 card-hover rounded ${(t=>({0:"grid-area-a",1:"grid-area-b",2:"grid-area-c",3:"grid-area-d",4:"grid-area-e"}[t]))(n)}`,"data-testid":`tile${parseInt(n)+1}`,children:[Be("div",{class:"p-4",children:[Be("div",{class:"text-2xl flex font-bold mb-2 leading-snug pr-8 hover:text-black",children:[Be("a",{class:"line-clamp-2 stretched-link pb-0.5 teaser-title",rel:e.rel,href:e.alias,target:"internal"===e.linkType?"":"_blank","data-gtm-category":e.tabchildcategory,"data-gtm-action":"mega tab click","data-gtm-label":`${i}:${e.field_teaser_title}`,dangerouslySetInnerHTML:{__html:e.field_teaser_title}}),Be("span",{class:"circle rounded-full bg-gray-100 h-6 w-6 inline-flex items-center justify-center absolute right-6 top-7 hover:bg-yellow-500",children:Be("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-3 ml-0.5",fill:"#000",viewBox:"0 0 24 24","aria-hidden":"true",children:[Be("defs",{}),Be("path",{d:"M6.05 20.84a.75.75 0 001.06 1.06l8.94-8.93a1.37 1.37 0 000-1.94L7.1 2.1a.75.75 0 00-1.06 1.06L14.9 12l-8.85 8.85z"})]})})]}),Be("p",{class:"text-lg mb-4 line-clamp-3 leading-tight pb-0.5",dangerouslySetInnerHTML:{__html:e.field_teaser_description}})]}),"featured-card-left"==t&&0==n||"two-featured-cards"==t&&n<=1?Be("picture",{children:[Be("source",{media:"(max-width:668px)",srcset:e.field_mobile_teaser_image}),Be("source",{media:"(max-width:1023px)",srcset:e.field_tablet_teaser_image}),Be(on,{src:e.field_teaser_image,alt:e.field_teaser_alt,className:"w-full h-56",loading:"lazy"})]}):""]})}}var cn=Object.freeze({__proto__:null,default:({items:t,...e})=>{if(!t||!t.widget)return null;const{widget:i}=t,n=Object.keys(i).map(t=>{const{tabType:e,tabTemplateType:n}=i[t];return`#${e||n}`}),r=(t=window.location.hash)=>{const e=n.findIndex(e=>e===t);return-1===e?null:e},[o,s]=ht(r()||0);return nn(()=>{s(r()||0)}),Be(an,{items:t,index:o,onChange:t=>{s(t),history.replaceState(null,null," ")},...e})}});const hn=$t(()=>Promise.resolve().then(function(){return On})),dn=$t(()=>Promise.resolve().then(function(){return jn})),un=$t(()=>Promise.resolve().then(function(){return Gn})),pn=$t(()=>Promise.resolve().then(function(){return Ko})),fn=$t(()=>Promise.resolve().then(function(){return qo})),mn=$t(()=>Promise.resolve().then(function(){return Zo})),gn=$t(()=>Promise.resolve().then(function(){return cs})),yn=$t(()=>Promise.resolve().then(function(){return hs}
1));var vn=Object.freeze({__proto__:null,default:function({tabTemplateType:t="",tabType:e="",...i}){return Be(()=>"market-indexes"===t?Be(Yt,{fallback:null,children:Be(hn,{...i})}):"stock_listing_watch_list"===t&&"stock-listing"===e?Be(Yt,{fallback:null,children:Be(dn,{...i})}):"stock_listing_watch_list"===t&&"watch-list"===e?Be(Yt,{fallback:null,children:Be(un,{...i})}):"get-a-stock-quote"===t?Be(Yt,{fallback:null,children:Be(pn,{...i})}):"nyse-most-active"===t?Be(Yt,{fallback:null,children:Be(fn,{...i})}):"rte-component"===t?Be(Yt,{fallback:null,children:Be(mn,{...i})}):"accordian-component"===t?Be(Yt,{fallback:null,children:Be(gn,{...i})}):"table"===t?Be(Yt,{fallback:null,children:Be(yn,{...i})}):void 0,{})}});$({});const bn=$("en-US"),xn={decimal:{style:"decimal",maximumFractionDigits:2,minimumFractionDigits:2},integer:{style:"decimal",maximumFractionDigits:0,minimumFractionDigits:0},usd:{currency:"USD",currencyDisplay:"narrowSymbol",maximumFractionDigits:2,minimumFractionDigits:2,style:"currency"},cad:{currency:"CAD",currencyDisplay:"narrowSymbol",maximumFractionDigits:2,minimumFractionDigits:2,style:"currency"},percent:{maximumFractionDigits:2,minimumFractionDigits:2,style:"percent"}};function wn({type:t="decimal",value:e=0}){const i=vt(bn),n=xn[t];if(!n)throw"Invalid value for <Number type> prop";return Number(e).toLocaleString(i,n)}wn.displayName="Number";var kn=ze(function(t,e){!function(t){function e(t){try{return t.call(null).toString()}catch(t){return""}}function i(t){var n="",r={}.hasOwnProperty;if("string"==typeof t)return t;if(null==t||"boolean"==typeof t||"number"==typeof t&&isNaN(t))return"";if("function"==typeof t)return e(t);if("object"==typeof t){if(Array.isArray(t)){for(var o=0;o<t.length;o++)n+=" "+i.call(null,t[o]);return n}if(t instanceof Map){for(let[e,i]of t)i&&(n+=" "+e);return n}if("function"==typeof t[Symbol.iterator]){for(let e of t)n+=" "+i.call(null,e);return n}for(var s in t)r.call(t,s)&&t[s]&&(n+=" "+s);return n}return t.toString()}function n(t){for(var e="",i=!0,n="",r=0;r<t.length;r++)" "===(n=t.charAt(r))||"\t"===n||"\n"===n||"\r"===n||"\v"===n?i||(i=!0):(e&&i&&(e+=" "),e+=n,i=!1);return e}function r(t,...e){for(var r="",o=0;o<t.length;o++)r+=t[o],r+=i.call(null,e[o]);return n.call(null,r)}function o(t,...e){for(var i=new Set,n="",o=!1,s=r(t,...e).split(" "),a=0;a<s.length;a++)i.has(s[a])||(o&&(n+=" "),n+=s[a],i.add(s[a]),o=!0);return n}function s(...t){for(var e="",r=0;r<t.length;r++)e+=i.call(null,t[r])+" ";return n.call(null,e)}function a(...t){for(var e="",i=!1,n=new Set,r=s(...t).split(" "),o=0;o<r.length;o++)n.has(r[o])||(i&&(e+=" "),e+=r[o],n.add(r[o]),i=!0);return e}t.classDedupe=o,t.classDedupeFn=a,t.classd=r,t.classdFn=s,t.default=r,Object.defineProperty(t,"__esModule",{value:!0})}(e)}),Cn=Fe(kn);function Sn(t){return Be("svg",{className:t.className,role:t.role||"img","aria-labelledby":t.id,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[Be("title",{id:t.id,children:"Up"}),Be("defs",{}),Be("path",{d:"M12 21.98c.6 0 1.09-.48 1.09-1.08V5.47l3.56 3.56c.39.39.99.42 1.41.1l.12-.1c.43-.42.43-1.1 0-1.53l-5.41-5.42a1.06 1.06 0 00-.12-.1l-.04-.02a1.07 1.07 0 00-.08-.05l-.06-.03a1.93 1.93 0 00-.08-.04l-.04-.02a1.78 1.78 0 00-.1-.03h-.05a1.2 1.2 0 00-.2-.02h.1H11.9l-.09.02h-.04l-.1.03-.04.02-.09.03-.06.04-.07.04c-.05.04-.11.08-.16.14l.1-.1-.1.1L5.82 7.5a1.08 1.08 0 101.53 1.53l3.57-3.56V20.9c0 .55.4 1 .94 1.08H12z"})]})}function _n(t){return Be("svg",{className:t.className,"aria-labelledby":t.id,role:t.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[Be("title",{id:t.id,children:"Down"}),Be("defs",{}),Be("path",{d:"M12 1.77c.6 0 1.09.48 1.09 1.08v15.44l3.56-3.57c.39-.38.99-.42 1.41-.1l.12.1c.43.42.43 1.1 0 1.53l-5.41 5.42-.12.1-.04.03-.08.05-.06.03-.08.03-.04.02-.1.03h-.05a1.2 1.2 0 01-.2.02h.1H11.9l-.09-.01-.04-.01-.1-.03-.04-.02-.09-.03-.06-.04-.07-.04a1.03 1.03 0 01-.16-.13l.1.1a1.06 1.06 0 01-.1-.1l-5.42-5.42a1.08 1.08 0 111.53-1.53l3.57 3.57V2.85c0-.55.4-1 .94-1.07l.14-.01z"})]})}const An={up:"text-green-500",down:"text-red-500"};
1function Tn({direction:t,id:e}){return{up:Be(Sn,{id:e,role:"img",className:"inline-block align-text-bottom w-4 h-4"}),down:Be(_n,{id:e,role:"img",className:"inline-block align-text-bottom w-4 h-4"})}[t]}var Mn=({value:t=0,as:e="span",class:i="",directionClasses:n=An,index:r,...o})=>{const s=Number(t),a=Math.sign(s),l=1===a?"+":"",c={0:"none",1:"up",[-1]:"down"}[a];return Be(e,{class:Cn`whitespace-nowrap inline-flex items-center ${i} ${n[c]}`,...o,children:[Be(Tn,{direction:c,id:`${c}-image-${pi()}`}),"(",l,Be(wn,{value:t}),")"]})};const Pn=$t(()=>Promise.resolve().then(function(){return gs}));function En({symbol:t="",priceChange:e="",lastTradePrice:i=""}){return Be("div",{class:"p-2 px-2.5 bg-gray-100 my-3 flex md:flex-col lg:flex-row justify-between text-sm mx-1.5",children:[Be("p",{class:"mr-4 font-medium",children:t}),Be("div",{class:"flex",children:[Be("span",{class:"mr-1",children:Be(wn,{type:"decimal",value:i})}),Be(Mn,{value:e})]})]})}var On=Object.freeze({__proto__:null,default:function({disclaimerText:t="",chartEndpoint:e="",stockEndpoint:i="",dataCompName:n,errMsg:r="A system error has occurred. Please try again later.",sampleData:o=null}){const[s,a]=ht([]),[l,c]=ht("");async function h(){let t=window.location.origin;"http://localhost:9000"===t?t=function(){if("undefined"!=typeof process){const t=process?.env;return void 0!==t?"true"===t.STORYBOOK_MOCK_API_ENABLED?t.STORYBOOK_MOCK_API_BASE_URL:t.STORYBOOK_API_BASE_URL||t.STORYBOOK_MOCK_API_BASE_URL||"https://web-qa.ac.edwardjones.com":"https://web-qa.ac.edwardjones.com"}return"https://web-qa.ac.edwardjones.com"}():t+="/";const n=e.startsWith("http")?e:`${t}${e}`,o=e.startsWith("http")?i:`${t}${i}`,[s,a]=await Promise.all([fetch(n).then(t=>{if(200==t.status||201==t.status)return t.json();throw r}).catch(t=>{}),fetch(o).then(t=>{if(200==t.status||201==t.status)return t.json();throw r}).catch(t=>{})]);return d(s,a)}const d=(t,e)=>e.result.map(e=>({...e,chartData:t[e.symbol]}));return ut(()=>{if(o){const t=d(o.chartData,o.stockData);return a(t),void c("")}h().then(t=>{a(t),c("")}).catch(t=>{c(r)})},[]),Be("div",{class:"border-2 border-gray-300 border-solid p-4 mb-10","data-testid":"market-tabs","data-comp-name":n,children:[Be("div",{class:"responsive-grid grid-cols-1 md:grid-cols-3 gap-3 mb-5",children:l?Be("div",{class:"rich-text text-base font-light graph-disclaimer col-span-full border-b border-gray-300 pb-4",dangerouslySetInnerHTML:{__html:r}}):s.map(t=>Be("div",{children:[Be(Yt,{children:Be(Pn,{data:t.chartData,symbol:t.symbol})}),Be(En,{...t})]}))}),Be("div",{class:"rich-text text-base font-light",dangerouslySetInnerHTML:{__html:t}})]})}});function Ln(t,e){void 0===e&&(e="");var i=ht(function(){return window.localStorage.getItem(t)||e}),n=i[0],r=i[1];ut(function(){var i=window.localStorage.getItem(t);n!==i&&r(i||e)});var o=yt(function(i){i.key===t&&i.newValue!==n&&r(i.newValue||e)},[n]);return ut(function(){return window.addEventListener("storage",o),function(){return window.removeEventListener("storage",o)}},[o]),[n,function(e){r(e),window.localStorage.setItem(t,e)}]}const Dn=$t(()=>Promise.resolve().then(function(){return ys})),In=$t(()=>Promise.resolve().then(function(){return Fn}));var jn=Object.freeze({__proto__:null,default:({disclaimerText:t="",stockDetailEndpoint:e="",ctaLabel:i="",toolName:n="",loadingLabel:r="Loading...",translations:o={},subHeadingText:s="",subText:a=""})=>{const l=new URLSearchParams(window.location.search).get("symbol"),c=window.btoa(l),h=window.location.pathname,d=`${e}/${c}`,[u,p]=ht([]),[f,m]=ht(!0),[g,y]=Ln("watchlist",""),[v,b]=ht(!0),[x,w]=ht(!1);ut(()=>{l&&async function(){try{const t=await fetch(d),e=await t.json();return b(!1),p(e)}catch(t){b(!1)}}()},[]);const k=ft(null);return ut(()=>{!v&&u.result&&(document.title=`${u.result.description} Stock Details | ${document.title}`)},[v]),ut(()=>{const t=document.getElementById("getStockQuote");if(t&&t.classList.contains("hidden")){const e=t.closest('div[role="tabpanel"]');e&&e.removeAttribute("tabindex")}const e=()=>{w(!0)};return window.addEventListener("load",e),()=>window.removeEventListener("load",e)},[]),pt(()=>{if(!x)return;const t=document.querySelector(".getstockQuoteLoader"),e=t?.querySelector('p[tabindex="-1"]');e?e.focus():k?.current?.focus()},[x]),Be(S,{children:[Be("div",{id:"getStockQuote",class:`${f?"block":"hidden"} ${l?"block":"hidden"} mb-8 border-2 border-gray-300 border-solid p-4`,children:[v&&Be(Yt,{fallback:null,children:Be(In,{text:r,focus:x,className:"getstockQuoteLoader"})}),!v&&Be(S,{children:u.result?Be(S,{children:[Be(Yt,{fallback:null,children:Be(Dn,{results:u,translations:o})}),Be("div",{class:"md:flex content-center flex-row-reverse justify-between ",children:[Be("div",{children:Be("button",{class:"btn btn-secondary w-full md:w-auto hover:border-gray-400 hover:text-gray-400 whitespace-normal md:whitespace-nowrap","data-gtm-category":"tools and calculator","data-gtm-action":"click","data-gtm-label":`${n}
1:add to watchlist`,"data-testid":"addtowatchlist",onClick:function(){const t=u.result.symbol,e=g?.split(",")||[];if(!e?.includes(t)){let e=g.length?`${g},${t}`:t;y(e)}m(!1),window.location=`${h}#watch-list`},ref:k,children:[i,Be("span",{class:"sr-only",children:`, ${u.result.description}`})]})}),Be("div",{class:"rich-text text-sm mt-5 md:mt-0 md:w-3/5 p-1 pr-0",dangerouslySetInnerHTML:{__html:t}})]})]}):Be("p",{children:`${o.noResultFoundLabel} ${l}`})})]}),!l&&f&&Be("div",{class:"w-full","data-testid":"get-stock-table-second-case",children:[Be("div",{class:"heading-4 my-4",children:s}),Be("div",{class:"",dangerouslySetInnerHTML:{__html:a}})]})]})}});const Bn=$();var Nn=()=>Be("svg",{width:"38",height:"38",xmlns:"http://www.w3.org/2000/svg",stroke:"#FAD141",children:Be("g",{transform:"translate(1 1)","stroke-width":"2",fill:"none","fill-rule":"evenodd",children:[Be("circle",{"stroke-opacity":".5",cx:"18",cy:"18",r:"18"}),Be("path",{d:"M36 18c0-9.94-8.06-18-18-18",children:Be("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})})]})}),Rn=({text:t="Loading...",focus:e=!0,className:i=""})=>{const n=ft(null);return ut(()=>{e&&n?.current.focus()},[]),Be("div",{class:`py-20 flex items-center justify-center ${i}`,children:Be("div",{class:"relative",children:[Be("div",{className:"w-9 mx-auto",children:Be(Nn,{})}),t&&Be("p",{tabindex:"-1",class:"mt-3 text-xl font-bold",ref:n,children:t})]})})},Fn=Object.freeze({__proto__:null,default:Rn}),Hn=({index:t=null,stock:e={},anchorRef:i=null})=>{const{select:n,deselect:r}=vt(Bn),{symbol:o="",description:s="",stockExchange:a="",lastTradePrice:l="",priceChange:c="",week52High:h="",week52Low:d="",peRatio:u="",dividendYield:p="",navChange:f="",nav:m="",type:g=""}=e,{md:y,lg:v}=en();return Be("tr",{id:t,className:"even:bg-gray-100","data-testid":"stock-watch-row",children:[Be("th",{class:"px-2 md:pr-4 py-4 text-left font-medium break-words",scope:"row",style:{"max-width":"6rem"},children:Be("a",{onClick:t=>{t.preventDefault();const e=encodeURIComponent(o),i=(t=>{if(!t)return"about:blank";const e=[".","/"],i=t.replace(/[^\x20-\x7EÀ-ž]/gim,"").trim();if(function(t){return e.indexOf(t[0])>-1}(i))return i;const n=i.match(/^([^:]+):/gm);if(!n)return i;const r=n[0];return/^(%20|\s)*(javascript|data|vbscript)/im.test(r)?"about:blank":i})(window.location.origin+window.location.pathname)+`?symbol=${e}#stock-listing`;window.location.assign(i)},class:"text-blue-500 hover:underline",ref:i,id:`cmp${t}`,href:"","data-testid":"stock-company",children:s})}),y&&Be("td",{class:"px-2 md:px-2 py-4 text-left table-cell",children:a}),Be("td",{class:"px-2 md:px-3 py-4 text-right",children:Be(wn,"M"===g?{type:"decimal",value:m}:{type:"decimal",value:l})}),Be("td",{class:"px-2 md:px-3 py-4 text-right",children:"M"===g?Be(wn,{type:"decimal",value:f}):Be(Mn,{value:c})}),v&&Be("td",{class:"px-2 md:px-3 py-4 text-right table-cell",children:Be(wn,{type:"decimal",value:h})}),v&&Be("td",{class:"px-2 md:px-3 py-4 text-right table-cell",children:Be(wn,{type:"decimal",value:d})}),v&&Be("td",{class:"px-2 md:px-3 py-4 text-right table-cell",children:"I"===g||"M"===g?"N/A":Be(wn,{type:"decimal",value:u})}),v&&Be("td",{class:"px-2 md:px-3 py-4 text-right table-cell",children:"I"===g||"M"===g?"N/A":null===p?"":Be(wn,{type:"decimal",value:p})}),Be("td",{class:"px-2 md:px-3 py-4 text-center",children:Be("label",{class:"inline-flex items-center",children:Be("input",{class:"leading-tight form-checkbox focus:w-6 w-6 h-6 watchlist-checkbox",type:"checkbox",value:o,onChange:({target:t})=>{t.checked?n(o,t.id):r(o,t.id)},id:`cmp${t}`,"aria-labelledby":`remove1 cmp${t}`,role:"checkbox"})})})]},t)};var zn=({translations:t={},subText:e,ctaLabel:i,headingText:n,toolName:r,index:o,subHeadingText:s,disclaimerText:a,stockDetailEndpoint:l,dataCompName:c})=>{const{list:h,selections:d,selectedIds:u,setSymbols:p,setSelections:f,loading:m,setLoading:g}=vt(Bn),[y,v]=ht([]),[b,x]=ht(null),{md:w,lg:k}=en(),C=(t=[])=>{t.map(t=>{const e=document.querySelector(`input[value='${t.trim()}']`);return e?e.checked=!1:""})};return pt(()=>{if(b){if("addSymbolInput"===b){const t=document.getElementById("add-symbol-form"),e=t?.symbol;e?.focus()}else"last"===b&&(()=>
1{const t=document.querySelectorAll(".watchlist-checkbox"),e=t[t.length-1];e&&e.focus()})();x(null)}},[b]),ut(()=>{y.length||async function(t="",e=[]){try{return await Promise.all(e.map(e=>{const i=window.btoa(e.trim());return fetch(`${t}/${i}`).then(t=>t.json()).then(({result:t})=>t)}))}catch(t){throw t}}(l,h).then(t=>{g(!1),v(t)}).catch(t=>{g(!1)})},[]),Be(S,{children:h.length>0?Be(S,{children:[m&&Be(Rn,{text:t.loadingLabel,focus:!1}),Be("div",{"data-testid":"stock-watch","data-comp-name":c,className:"p-2 md:p-5 border-2 border-gray-700 my-6 overflow-x-auto "+(m?"hidden":""),children:[Be("table",{class:"w-full text-sm md:text-base",children:[Be("caption",{class:"sr-only",children:n}),Be("thead",{children:Be("tr",{class:"border-0 border-b-4 border-gray-400 align-bottom",children:[Be("th",{class:"p-2 text-left font-semibold",scope:"col",children:t.description}),w&&Be("th",{class:"p-2 text-left font-semibold table-cell",scope:"col",children:t.stockExchange}),Be("th",{class:"p-2 text-right font-semibold",scope:"col",children:t.lastTradePrice}),Be("th",{class:"p-2 text-right font-semibold",scope:"col",children:t.priceChange}),k&&Be("th",{class:"p-2 text-right font-semibold table-cell",scope:"col",children:t.week52High}),k&&Be("th",{class:"p-2 text-right font-semibold table-cell",scope:"col",children:t.week52Low}),k&&Be("th",{class:"p-2 text-right font-semibold table-cell",scope:"col",children:t.peRatio}),k&&Be("th",{class:"p-2 text-right font-semibold table-cell",scope:"col",children:t.dividendYield}),Be("th",{class:"p-2 text-right font-semibold",scope:"col",id:"remove1",children:t.remove||"Remove"})]})}),Be("tbody",{children:y.map((t,e)=>Be(Hn,{index:e,stock:t,setLoading:g,totalSymbols:h.length}))})]}),Be("div",{class:"md:flex md:items-center mt-4",children:[Be("button",{class:"btn btn-secondary w-full md:w-auto mt-4 md:mt-0 hover:border-gray-400 hover:text-gray-400 order-1",disabled:0===d.length,onClick:()=>{let t=y;const e=h.filter(t=>!d.includes(t.trim()));p(String(e)),f([]),d.map(e=>{t=((t,e)=>t.filter(t=>t.symbol!==e))(t,e)}),v(t),0===e.length||0===t.length?x("addSymbolInput"):x("last"),C(e)},"aria-disabled":0===d.length,"data-gtm-category":"tools and calculator","data-gtm-action":"click","data-gtm-label":`${r}:remove`,"data-testid":"removesymbol","aria-describedby":0===d.length?"":`${u.join(" ")}`,children:i}),Be("div",{class:"rich-text flex-1 mr-4 leading-snug p-1 pr-0",dangerouslySetInnerHTML:{__html:a}})]})]})]}):Be("div",{class:"w-full","data-testid":"stock-table-second-case",children:[Be("div",{class:"heading-4 my-4",children:s}),Be("div",{class:"rich-text",dangerouslySetInnerHTML:{__html:e}})]})})};function Un(t){const[e,i]=function(t="watchlist",e=""){return Ln(t,e)}(),[n,r]=ht([]),[o,s]=ht([]),a=e.split(",").filter(Boolean),[l,c]=ht(Boolean(a.length));return Be(Bn.Provider,{value:{list:a,selections:n,selectedIds:o,loading:l,setLoading:c,setSymbols:i,setSelections:r,select:(t,e)=>{const i=new Set(n),a=new Set(o);i.add(t),a.add(e),r([...i.values()]),s([...a.values()])},deselect:(t,e)=>{const i=new Set(n),a=new Set(o);i.delete(t),a.delete(e),r([...i.values()]),s([...a.values()])}},...t})}var Gn=Object.freeze({__proto__:null,Container:Un,default:function(t){return Be(Un,{children:Be(zn,{...t})})}});function Wn(t,e,i){function n(){s.current=0,l()}void 0===e&&(e=30),void 0===i&&(i=0);var r=Hi(t),o=1e3/e,s=ft(0),a=ft(),l=()=>a.current&&clearTimeout(a.current),c=[e,i,r];return ut(()=>n,c),yt(function(){var t=arguments,e=Vn(),n=()=>{s.current=e,l(),r.current.apply(null,t)},c=s.current;if(i&&0===c)return n();if(e-c>o){if(c>0)return n();s.current=e}l(),a.current=setTimeout(()=>{n(),s.current=0},o)},c)}var Xn="undefined"!=typeof performance?performance:Date,Vn=()=>Xn.now();function Yn(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}var Kn=Yn()?pt:ut;function $n(t,e){return $(e)}function qn(t){return!(!t||"[object Function]"!={}.toString.call(t))}function Zn(){}function Jn(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function Qn(t,e){var i;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(i=function(t,e){if(t){if("string"==typeof t)return Jn(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Jn(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(i=t[Symbol.iterator]()).next.bind(i)}function tr(t,e){if(null!=t)if(qn(t))t(e);else try{t.current=e}catch(i){throw new Error('Cannot assign value "'+e+'" to ref "'+t+'"')}}function er(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return yt(function(t){for(var i,n=Qn(e);!(i=n()).done;){tr(i.value,t)}},e)}function ir(t,e){return function(i){if(t&&t(i),!i.defaultPrevented)return e(i)}}function nr(){return nr=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},nr.apply(this,arguments)}function rr(t,e){void 0===e&&(e={});
1return $n(0,nr({descendants:[],registerDescendant:Zn,unregisterDescendant:Zn},e))}function or(t,e,i){var n,r,o,s=(n=ht(Object.create(null))[1],yt(function(){n(Object.create(null))},[])),a=vt(e),l=a.registerDescendant,c=a.unregisterDescendant,h=a.descendants,d=null!=i?i:h.findIndex(function(e){return e.element===t.element}),u=(r=h,o=ft(null),ut(function(){o.current=r},[r]),o.current),p=h.some(function(t,e){var i;return t.element!==(null==u||null==(i=u[e])?void 0:i.element)});return Kn(function(){return t.element||s(),l(nr({},t,{index:d})),function(){return c(t.element)}},[s,d,l,p,c].concat(Object.values(t))),d}function sr(t){var e=t.context,i=t.children,n=t.items,r=t.set,o=yt(function(t){var e=t.element,i=t.index,n=function(t,e){if(null==t)return{};var i,n,r={},o=Object.keys(t);for(n=0;n<o.length;n++)i=o[n],e.indexOf(i)>=0||(r[i]=t[i]);return r}(t,["element","index"]);e&&r(function(t){var r;if(null!=i)r=[].concat(t,[nr({},n,{element:e,index:i})]);else if(0===t.length)r=[].concat(t,[nr({},n,{element:e,index:0})]);else if(t.find(function(t){return t.element===e}))r=t;else{var o=t.findIndex(function(t){return!(!t.element||!e)&&Boolean(t.element.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}),s=nr({},n,{element:e,index:o});r=-1===o?[].concat(t,[s]):[].concat(t.slice(0,o),[s],t.slice(o))}return r.map(function(t,e){return nr({},t,{index:e})})})},[]),s=yt(function(t){t&&r(function(e){return e.filter(function(e){return t!==e.element})})},[]);return w(e.Provider,{value:gt(function(){return{descendants:n,registerDescendant:o,unregisterDescendant:s}},[n,o,s])},i)}var ar=ze(function(t){t.exports=function(t){var e={};function i(n){if(e[n])return e[n].exports;var r=e[n]={exports:{},id:n,loaded:!1};return t[n].call(r.exports,r,r.exports,i),r.loaded=!0,r.exports}return i.m=t,i.c=e,i.p="",i(0)}([function(t,e,i){t.exports=i(1)},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2);Object.defineProperty(e,"combineChunks",{enumerable:!0,get:function(){return n.combineChunks}}),Object.defineProperty(e,"fillInChunks",{enumerable:!0,get:function(){return n.fillInChunks}}),Object.defineProperty(e,"findAll",{enumerable:!0,get:function(){return n.findAll}}),Object.defineProperty(e,"findChunks",{enumerable:!0,get:function(){return n.findChunks}})},function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.findAll=function(t){var e=t.autoEscape,o=t.caseSensitive,s=void 0!==o&&o,a=t.findChunks,l=void 0===a?n:a,c=t.sanitize,h=t.searchWords,d=t.textToHighlight;return r({chunksToHighlight:i({chunks:l({autoEscape:e,caseSensitive:s,sanitize:c,searchWords:h,textToHighlight:d})}),totalLength:d?d.length:0})};var i=e.combineChunks=function(t){var e=t.chunks;return e=e.sort(function(t,e){return t.start-e.start}).reduce(function(t,e){if(0===t.length)return[e];var i=t.pop();if(e.start<=i.end){var n=Math.max(i.end,e.end);t.push({highlight:!1,start:i.start,end:n})}else t.push(i,e);return t},[])},n=function(t){var e=t.autoEscape,i=t.caseSensitive,n=t.sanitize,r=void 0===n?o:n,s=t.searchWords,a=t.textToHighlight;return a=r(a),s.filter(function(t){return t}).reduce(function(t,n){n=r(n),e&&(n=n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var o=new RegExp(n,i?"g":"gi"),s=void 0;s=o.exec(a);){var l=s.index,c=o.lastIndex;c>l&&t.push({highlight:!1,start:l,end:c}),s.index===o.lastIndex&&o.lastIndex++}return t},[])};e.findChunks=n;var r=e.fillInChunks=function(t){var e=t.chunksToHighlight,i=t.totalLength,n=[],r=function(t,e,i){e-t>0&&n.push({start:t,end:e,highlight:i})};if(0===e.length)r(0,i,!1);else{var o=0;e.forEach(function(t){r(o,t.start,!1),r(t.start,t.end,!0),o=t.end}),r(o,i,!1)}return n};function o(t){return t}}])}),lr=!1,cr=0,hr=function(){return++cr};function dr(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}var ur=dr()?pt:ut;var pr,fr=function(t){var e,i=t.children,n=t.type,r=void 0===n?"reach-portal":n,o=ft(null),s=ft(null),a=(e=ht(Object.create(null))[1],yt(function(){e(Object.create(null))},[]));return ur(function(){if(o.current){var t=o.current.ownerDocument;return s.current=null==t?void 0:t.createElement(r),t.body.appendChild(s.current),a(),function(){s.current&&s.current.ownerDocument&&s.current.ownerDocument.body.removeChild(s.current)}}},[r,a]),s.current?te(i,s.current):w("span",{ref:o})},mr=["bottom","height","left","right","top","width"],gr=new Map,yr=function t(){var e=[];gr.forEach(function(t,i){var n=i.getBoundingClientRect();(function(t,e){return void 0===t&&(t={}),void 0===e&&(e={}),mr.some(function(i){return t[i]!==e[i]})})(n,t.rect)&&(t.rect=n,e.push(t))}),e.forEach(function(t){t.callbacks.forEach(function(e){return e(t.rect)})}),pr=window.requestAnimationFrame(t)};function vr(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}var br=vr()?pt:ut;function xr(t,e,i){var n,r,o;"boolean"==typeof e?n=e:(n=null==(o=null==e?void 0:e.observe)||o,r=null==e?void 0:e.onCh
1ange);(function(t){return!(!t||"[object Function]"!={}.toString.call(t))})(i)&&(r=i);var s=ht(t.current),a=s[0],l=s[1],c=ft(!1),h=ft(!1),d=ht(null),u=d[0],p=d[1],f=ft(r),m=yt(function(t){f.current&&f.current(t)},[]);return br(function(){f.current=r,t.current!==a&&l(t.current)}),br(function(){a&&!c.current&&(c.current=!0,p(a.getBoundingClientRect()))},[a]),br(function(){var e,i,r,o=a;return h.current||(h.current=!0,o=t.current),o?(i=o,r=function(t){m(t),p(t)},e={observe:function(){var t=0===gr.size;gr.has(i)?gr.get(i).callbacks.push(r):gr.set(i,{rect:void 0,hasRectChanged:!1,callbacks:[r]}),t&&yr()},unobserve:function(){var t=gr.get(i);if(t){var e=t.callbacks.indexOf(r);e>=0&&t.callbacks.splice(e,1),t.callbacks.length||gr.delete(i),gr.size||cancelAnimationFrame(pr)}}},n&&e.observe(),s):s;function s(){e&&e.unobserve()}},[n,a,t,m]),u}function wr(t){return"undefined"!=typeof window&&window.document&&window.document.createElement?t?t.ownerDocument:document:null}function kr(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function Cr(t,e){var i;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(i=function(t,e){if(t){if("string"==typeof t)return kr(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?kr(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(i=t[Symbol.iterator]()).next.bind(i)}function Sr(t,e){if(null!=t)if(function(t){return!(!t||"[object Function]"!={}.toString.call(t))}(t))t(e);else try{t.current=e}catch(i){throw new Error('Cannot assign value "'+e+'" to ref "'+t+'"')}}var _r=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'],Ar=_r.join(","),Tr="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;function Mr(t,e){e=e||{};var i,n,r,o=[],s=[],a=t.querySelectorAll(Ar);for(e.includeContainer&&Tr.call(t,Ar)&&(a=Array.prototype.slice.apply(a)).unshift(t),i=0;i<a.length;i++)Pr(n=a[i])&&(0===(r=Lr(n))?o.push(n):s.push({documentOrder:i,tabIndex:r,node:n}));var l=s.sort(Dr).map(function(t){return t.node}).concat(o);return l}function Pr(t){return!(!Er(t)||function(t){return function(t){return Ir(t)&&"radio"===t.type}(t)&&!function(t){if(!t.name)return!0;var e=t.ownerDocument.querySelectorAll('input[type="radio"][name="'+t.name+'"]'),i=function(t){for(var e=0;e<t.length;e++)if(t[e].checked)return t[e]}(e);return!i||i===t}(t)}(t)||Lr(t)<0)}function Er(t){return!(t.disabled||function(t){return Ir(t)&&"hidden"===t.type}(t)||function(t){return null===t.offsetParent||"hidden"===getComputedStyle(t).visibility}(t))}Mr.isTabbable=function(t){if(!t)throw new Error("No node provided");return!1!==Tr.call(t,Ar)&&Pr(t)},Mr.isFocusable=function(t){if(!t)throw new Error("No node provided");return!1!==Tr.call(t,Or)&&Er(t)};var Or=_r.concat("iframe").join(",");function Lr(t){var e=parseInt(t.getAttribute("tabindex"),10);return isNaN(e)?function(t){return"true"===t.contentEditable}(t)?0:t.tabIndex:e}function Dr(t,e){return t.tabIndex===e.tabIndex?t.documentOrder-e.documentOrder:t.tabIndex-e.tabIndex}function Ir(t){return"INPUT"===t.tagName}var jr=Mr;function Br(){return Br=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},Br.apply(this,arguments)}var Nr=Ht(function(t,e){return w(fr,null,w(Rr,Br({ref:e},t)))}),Rr=Ht(function(t,e){var i=t.as,n=void 0===i?"div":i,r=t.targetRef,o=t.position,s=void 0===o?Vr:o,a=t.unstable_observableRefs,l=void 0===a?[]:a,c=function(t,e){if(null==t)return{};var i,n,r={},o=Object.keys(t);for(n=0;n<o.length;n++)i=o[n],e.indexOf(i)>=0||(r[i]=t[i]);return r}(t,["as","targetRef","position","unstable_observableRefs"]),h=ft(null),d=xr(h,{observe:!c.hidden}),u=xr(r,{observe:!c.hidden}),p=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return yt(function(t){for(var i,n=Cr(e);!(i=n()).done;)Sr(i.value,t)},e)}(h,e);return function(t,e){var i=wr(t.current);function n(t){"Tab"===t.key&&e.current&&0===jr(e.current).length||("Tab"===t.key&&t.shiftKey?c(t)?h(t):d(t)?u(t):f(t)&&g():"Tab"===t.key&&(o()?s(t):a()?l(t):p(t)&&g()))}function r(){var n=jr(i),r=n&&t.current?n.indexOf(t.current):-1,o=n&&n[r+1];return(!e.current||!e.current.contains(o||null))&&o}function o(){return!!t.current&&t.current===i.activeElement}function s(t){var i=e.current&&jr(e.current);i&&i[0]&&(t.preventDefault(),i[0].focus())}function a(){if(!!e.current&&e.current.contains(i.activeElement||null)){var t=e.current&&jr(e.current);return Boolean(t&&t[t.length-1]===i.activeElement)}return!1}function l(t){var e=r();e&&(t.preventDefault(),e.focus())}function c(t){if(t.shiftKey){var e=r();return t.target===e}}function h(t){var i=e.current&&jr(e.current),n=i&&i[i.length-1];n&&(t.preventDefault(),n.focus())}function d(t){var i=e.current&&jr(e.current);return!!i&&(0!==i.length&&t.target===i[0])}function u(e){var i;e.preventDefault(),null==(i=t.current)||i.focus()}function p(t){var n=e.current?jr(i).filter(function(t){return!e.current.contains(t)}):null;return!!n&&t.target===n[n.length-1]}function f(t){return t.target===jr(i)[0]}ut(function(){return i.addEventListener("keydown",n),function(){i.removeEventListener("keydown",n)}},[]);var m=[];function g(){var t=e.current&&jr(e.current);t&&(t.forEach(function(t){m.push([t,t.tabIndex]),t.tabIndex=-1}),i.addEventListener("focusin",y))}function y(){i.removeEventListener("focusin",y),m.forEach(function(t){var e=t[0],i=t[1];e.tabIndex=i})}}(r,h),w(n,Br({"data-reach-popover":"",ref:p},c,{style:Br({position:"absolute"},Fr.apply(void 0,[s,u,d].concat(l)),c.style)}))});function Fr(t,e,i){for(var n=arguments.length,r=new Array(n>3?n-3:0),o=3;o<n;o++)r[o-3]=arguments[o];
1return i?t.apply(void 0,[e,i].concat(r.map(function(t){return t.current}))):{visibility:"hidden"}}function Hr(t,e,i){return{top:i?t.top-e.height+window.pageYOffset+"px":t.top+t.height+window.pageYOffset+"px"}}var zr,Ur,Gr,Wr,Xr,Vr=function(t,e){if(!t||!e)return{};var i=Kr(t,e),n=i.directionRight,r=i.directionUp;return Br({left:n?t.right-e.width+window.pageXOffset+"px":t.left+window.pageXOffset+"px"},Hr(t,e,r))},Yr=function(t,e){if(!t||!e)return{};var i=Kr(t,e).directionUp;return Br({width:t.width,left:t.left},Hr(t,e,i))};function Kr(t,e,i,n){void 0===i&&(i=0),void 0===n&&(n=0);var r={top:t.top-e.height<0,right:window.innerWidth<t.left+e.width-i,bottom:window.innerHeight<t.bottom+e.height-n,left:t.left+t.width-e.width<0};return{directionRight:r.right&&!r.left,directionLeft:r.left&&!r.right,directionUp:r.bottom&&!r.top,directionDown:r.top&&!r.bottom}}function $r(t,e){if(null==t)return{};var i,n,r={},o=Object.keys(t);for(n=0;n<o.length;n++)i=o[n],e.indexOf(i)>=0||(r[i]=t[i]);return r}function qr(){return qr=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},qr.apply(this,arguments)}var Zr="IDLE",Jr="SUGGESTING",Qr="NAVIGATING",to="INTERACTING",eo="CLEAR",io="CHANGE",no="INITIAL_CHANGE",ro="NAVIGATE",oo="SELECT_WITH_KEYBOARD",so="SELECT_WITH_CLICK",ao="ESCAPE",lo="BLUR",co="INTERACT",ho="FOCUS",uo="OPEN_WITH_BUTTON",po="CLOSE_WITH_BUTTON",fo={initial:Zr,states:(Xr={},Xr[Zr]={on:(zr={},zr[lo]=Zr,zr[eo]=Zr,zr[io]=Jr,zr[no]=Zr,zr[ho]=Jr,zr[ro]=Qr,zr[uo]=Jr,zr)},Xr[Jr]={on:(Ur={},Ur[io]=Jr,Ur[ho]=Jr,Ur[ro]=Qr,Ur[eo]=Zr,Ur[ao]=Zr,Ur[lo]=Zr,Ur[so]=Zr,Ur[co]=to,Ur[po]=Zr,Ur)},Xr[Qr]={on:(Gr={},Gr[io]=Jr,Gr[ho]=Jr,Gr[eo]=Zr,Gr[lo]=Zr,Gr[ao]=Zr,Gr[ro]=Qr,Gr[so]=Zr,Gr[oo]=Zr,Gr[po]=Zr,Gr[co]=to,Gr)},Xr[to]={on:(Wr={},Wr[eo]=Zr,Wr[io]=Jr,Wr[ho]=Jr,Wr[lo]=Zr,Wr[ao]=Zr,Wr[ro]=Qr,Wr[po]=Zr,Wr[so]=Zr,Wr)},Xr)},mo=function(t,e){var i=qr({},t,{lastEventType:e.type});switch(e.type){case io:case no:return qr({},i,{navigationValue:null,value:e.value});case ro:case uo:return qr({},i,{navigationValue:yo(i,e)});case eo:return qr({},i,{value:"",navigationValue:null});case lo:case ao:return qr({},i,{navigationValue:null});case so:return qr({},i,{value:e.value,navigationValue:null});case oo:return qr({},i,{value:t.navigationValue,navigationValue:null});case po:return qr({},i,{navigationValue:null});case co:return i;case ho:return qr({},i,{navigationValue:yo(i,e)});default:return i}};function go(t){return[Jr,Qr,to].includes(t)}function yo(t,e){return e.value?e.value:e.persistSelection?t.value:null}var vo=rr(),bo=$n(0,{}),xo=$n(0,{}),wo=Ht(function(t,e){var i,n=t.onSelect,r=t.openOnFocus,o=void 0!==r&&r,s=t.children,a=t.as,l=void 0===a?"div":a,c=t["aria-label"],h=t["aria-labelledby"],d=$r(t,["onSelect","openOnFocus","children","as","aria-label","aria-labelledby"]),u=ht([]),p=u[0],f=u[1],m=ft(),g=ft(),y=ft(),v=ft(),b=ft(),x=function(t,e,i){var n=ht(t.initial),r=n[0],o=n[1],s=dt(e,i),a=s[0],l=s[1],c=function(e,i){void 0===i&&(i={});var n=t.states[r],s=n&&n.on[e];if(s)return l(qr({type:e,state:r,nextState:r},i)),void o(s)};return[r,a,c]}(fo,mo,{value:"",navigationValue:null}),k=x[0],C=x[1],S=x[2];!function(t,e){Kn(function(){t!==ro&&t!==ao&&t!==so&&t!==uo||e.current.focus()},[e,t])}(C.lastEventType,m);var _=function(t){var e=ht(t||(lr?hr():null)),i=e[0],n=e[1];return Kn(function(){null===i&&n(hr())},[]),ut(function(){!1===lr&&(lr=!0)},[]),null!=i?String(i):void 0}(d.id),A=_?function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return e.filter(function(t){return null!=t}).join("--")}("listbox",_):"listbox",T={ariaLabel:c,ariaLabelledby:h,autocompletePropRef:v,buttonRef:y,comboboxId:_,data:C,inputRef:m,isExpanded:go(k),listboxId:A,onSelect:n||Zn,openOnFocus:o,persistSelectionRef:b,popoverRef:g,state:k,transition:S};return w(sr,{context:vo,items:p,set:f},w(bo.Provider,{value:T},w(l,qr({},d,{"data-reach-combobox":"","data-state":Eo(k),ref:e}),qn(s)?s({id:_,isExpanded:go(k),navigationValue:null!=(i=C.navigationValue)?i:null,
1state:k}):s)))}),ko=Ht(function(t,e){var i,n,r,o=t.as,s=void 0===o?"input":o,a=t.selectOnClick,l=void 0!==a&&a,c=t.autocomplete,h=void 0===c||c,d=t.onClick,u=t.onChange,p=t.onKeyDown,f=t.onBlur,m=t.onFocus,g=t.value,y=$r(t,["as","selectOnClick","autocomplete","onClick","onChange","onKeyDown","onBlur","onFocus","value"]),v=ft(g).current,b=ft(!1);i=function(){b.current=!0},n=[g],r=ft(!1),ut(function(){r.current?i():r.current=!0},n);var x=vt(bo),k=x.data,C=k.navigationValue,S=k.value,_=k.lastEventType,A=x.inputRef,T=x.state,M=x.transition,P=x.listboxId,E=x.autocompletePropRef,O=x.openOnFocus,L=x.isExpanded,D=x.ariaLabel,I=x.ariaLabelledby,j=x.persistSelectionRef,B=er(A,e),N=ft(!1),R=To(),F=Mo(),H=null!=g;Kn(function(){E.current=h},[h,E]);var z=yt(function(t){""===t.trim()?M(eo):t!==v||b.current?M(io,{value:t}):M(no,{value:t})},[v,M]);ut(function(){!H||g===S||""===g.trim()&&""===(S||"").trim()||z(g)},[g,z,H,S]);var U=!h||T!==Qr&&T!==to?g||S:C||g||S;return w(s,qr({"aria-activedescendant":C?String(Po(C)):void 0,"aria-autocomplete":"both","aria-controls":P,"aria-expanded":L,"aria-haspopup":"listbox","aria-label":D,"aria-labelledby":D?void 0:I,role:"combobox"},y,{"data-reach-combobox-input":"","data-state":Eo(T),ref:B,onBlur:ir(f,F),onChange:ir(u,function(t){var e=t.target.value;H||z(e)}),onClick:ir(d,function(){N.current&&(N.current=!1,A.current.select())}),onFocus:ir(m,function(){l&&(N.current=!0),O&&_!==so&&M(ho,{persistSelection:j.current})}),onKeyDown:ir(p,R),value:U||""}))}),Co=Ht(function(t,e){var i=t.as,n=void 0===i?"div":i,r=t.children,o=t.portal,s=void 0===o||o,a=t.onKeyDown,l=t.onBlur,c=t.position,h=void 0===c?Yr:c,d=$r(t,["as","children","portal","onKeyDown","onBlur","position"]),u=vt(bo),p=u.popoverRef,f=u.inputRef,m=u.isExpanded,g=u.state,y=er(p,e),v=To(),b=Mo(),x={"data-reach-combobox-popover":"","data-state":Eo(g),onKeyDown:ir(a,v),onBlur:ir(l,b),hidden:!m,tabIndex:-1,children:r};return s?w(Nr,qr({as:n}
1,d,{ref:y,position:h,targetRef:f},x)):w(n,qr({ref:y},d,x))}),So=Ht(function(t,e){var i=t.persistSelection,n=void 0!==i&&i,r=t.as,o=void 0===r?"ul":r,s=$r(t,["persistSelection","as"]),a=vt(bo),l=a.persistSelectionRef,c=a.listboxId;return n&&(l.current=!0),w(o,qr({role:"listbox"},s,{ref:e,"data-reach-combobox-list":"",id:c}))}),_o=Ht(function(t,e){var i=t.as,n=void 0===i?"li":i,r=t.children,o=t.value,s=t.onClick,a=$r(t,["as","children","value","onClick"]),l=vt(bo),c=l.onSelect,h=l.data.navigationValue,d=l.transition,u=ft(null),p=er(e,u),f=or({element:u.current,value:o},vo),m=h===o;return w(xo.Provider,{value:{value:o,index:f}},w(n,qr({"aria-selected":m,role:"option"},a,{"data-reach-combobox-option":"",ref:p,id:String(Po(o)),"data-highlighted":m?"":void 0,tabIndex:-1,onClick:ir(s,function(){c&&c(o),d(so,{value:o})})}),r?qn(r)?r({value:o,index:f}):r:w(Ao,null)))});function Ao(){var t=vt(xo).value,e=vt(bo).data.value,i=gt(function(){return ar.findAll({searchWords:(i=e||"",String(i).replace(/([.*+?=^!:${}()|[\]/\\])/g,"\\$1")).split(/\s+/),textToHighlight:t});var i},[e,t]);return w(S,null,i.length?i.map(function(e,i){var n=t.slice(e.start,e.end);return w("span",{key:i,"data-reach-combobox-option-text":"","data-user-value":!!e.highlight||void 0,"data-suggested-value":!e.highlight||void 0},n)}):t)}function To(){var t=vt(bo),e=t.data.navigationValue,i=t.onSelect,n=t.state,r=t.transition,o=t.autocompletePropRef,s=t.persistSelectionRef,a=vt(vo).descendants;return function(t){var l=a.findIndex(function(t){return t.value===e});function c(){return a[0]}function h(){return a[a.length-1]}switch(t.key){case"ArrowDown":if(t.preventDefault(),!a||!a.length)return;if(n===Zr)r(ro,{persistSelection:s.current});else{var d=l===a.length-1?o.current?null:c():a[(l+1)%a.length];r(ro,{value:d?d.value:null})}break;case"ArrowUp":if(t.preventDefault(),!a||0===a.length)return;if(n===Zr)r(ro);else{var u=0===l?o.current?null:h():-1===l?h():a[(l-1+a.length)%a.length];r(ro,{value:u?u.value:null})}break;case"Home":case"PageUp":if(t.preventDefault(),!a||0===a.length)return;n===Zr?r(ro):r(ro,{value:c().value});break;case"End":case"PageDown":if(t.preventDefault(),!a||0===a.length)return;n===Zr?r(ro):r(ro,{value:h().value});break;case"Escape":n!==Zr&&r(ao);break;case"Enter":n===Qr&&null!==e&&(t.preventDefault(),i&&i(e),r(oo))}}}function Mo(){var t=vt(bo),e=t.state,i=t.transition,n=t.popoverRef,r=t.inputRef,o=t.buttonRef,s=function(t){var e=ft(!1),i=ft();return e.current||(e.current=!0,i.current=t()),i}(function(){return new Set});return ut(function(){return function(){s.current.forEach(function(t){return cancelAnimationFrame(t)})}},[s]),function(){var t,a=(t=n.current,Yn()?t?t.ownerDocument:document:null);if(a){var l=requestAnimationFrame(function(){a.activeElement!==r.current&&a.activeElement!==o.current&&n.current&&(n.current.contains(a.activeElement)?e!==to&&i(co):i(lo))});s.current.add(l)}}}function Po(t){var e=0;if(0===t.length)return e;for(var i=0;i<t.length;i++){e=(e<<5)-e+t.charCodeAt(i),e&=e}return e}function Eo(t){return t.toLowerCase()}const Oo={query:"",results:[],selection:null,myLocation:""},Lo="setQuery",Do="setResults",Io="setSelection",jo="setMyLocation";function Bo(t,e){const{type:i,payload:n}=e;switch(i){case Lo:{const e=n.trim();return{...t,query:e}}case Do:{const e=10,i=n.slice(0,e);return{...t,results:i}}case Io:return{...t,selection:n};case jo:return{...t,myLocation:n};default:return t}}const No=$({query:"",results:[],selection:null,dispatch(){},search:async()=>[]});function Ro(t){const e=ft(),{setFormValidity:i,formValidity:n,inputLength:r}=t,o=r,{dispatch:s,query:a,myLocation:l}=vt(No),[c,h]=function(t,e,i){var n=ht(t);return[n[0],Wn(n[1],e,i)]}(a,2);return ut(()=>{n||e.current.focus()},[n]),ut(()=>{c&&(s({type:Lo,payload:c}),s({type:jo,payload:""}))},[c]),ut(()=>{l&&(setTimeout(()=>{e.current.value=l,i(!0)},0),setTimeout(()=>{e.current.focus()},2e3))},[l]),Be(ko,{autoComplete:"off",onChange:({target:t})=>{const e=t.value.trim();e.length>=o?(h(e),i(!0)):s({type:Do,payload:[]})},type:"search",minlength:r,required:!0,selectOnClick:!0,ref:e,...t})}function Fo({as:t="button",...e}){return vt(No),Be(t,{type:"submit",...e})}function Ho({as:t="li",...e}){return Be(_o,{as:t,...e})}function zo({as:t="ul",containerRef:e=null,...i}){return Be(Co,{children:Be(So,{as:t,ref:e,...i})})}function Uo({children:t=null,search:e=async()=>[],onSelect:i=()=>{},setAction:n=()=>{},ListComponent:r=zo,OptionComponent:o=Ho,setFormValidity:s=!1,fetchLocation:a=()=>{},...l}){const c=ft(null),h=ft(),[{results:d,query:u,selection:p,myLocation:f}
1,m]=dt(Bo,Oo),g=t=>{m({type:Do,payload:t})},y=t=>{m({type:Io,payload:t}),setTimeout(()=>{t&&h.current.submit()},200)},{landingpage:v}=l;ut(()=>{u?e(u).then(g):(g([]),y(null))},[u]),ut(()=>{u.length<3&&n(v)},[u.length,v]),ut(()=>{i(p,d)},[p]),ut(()=>{if(d.length){const t="fa"==d[0].type?d[0].url:v;n(t)}},[d]);ut(()=>{let t=[{title:f,url:`${v}?query=${encodeURIComponent(f)}`}];i(f,t)},[f]);return Be(No.Provider,{value:{results:d,query:u,selection:p,dispatch:m,myLocation:f,fetchLocation:a},children:Be(wo,{as:"form",ref:h,onSubmit:t=>{const e=h.current.checkValidity();s(e),e||t.preventDefault()},onKeyDown:t=>{if(!t.isDefaultPrevented()){const t=c.current;if(!t)return;window.requestAnimationFrame(()=>{const e=t.querySelector("[aria-selected=true]");if(e){const i=e.offsetTop-t.scrollTop,n=t.scrollTop+t.clientHeight-(e.offsetTop+e.clientHeight);n<0&&(t.scrollTop-=n),i<0&&(t.scrollTop+=i)}})}const e=c.current;if(e){const t=e.querySelector("[aria-selected=true]");t&&t.scrollIntoView({behavior:"smooth",block:"nearest"})}},onSelect:y,...l,children:[t,d.length>0&&Be(r,{containerRef:c,children:d.map(t=>Be(o,{value:t}))})]})})}const Go="watchlist";function Wo({children:t=null,class:e="",...i}){return Be("div",{class:Cn`relative flex items-start flex-col gap-1 ${e}`,...i,children:[Be(Ti,{className:"absolute w-5 h-5 mx-2 right-0 bg-white text-gray-350 mt-2",src:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n  <defs/>\n  <path d="M9.99 1.567a8.422 8.422 0 016.462 13.824l5.443 5.444a.75.75 0 11-1.06 1.06l-5.444-5.443A8.422 8.422 0 119.99 1.567zm0 1.5a6.922 6.922 0 104.884 11.828l.01-.012a6.897 6.897 0 002.028-4.894A6.922 6.922 0 009.99 3.067z"/>\n</svg>'}),t]})}function Xo(t){return Be(zo,{class:"bg-white p-3 shadow-lg rounded divide-y overflow-y-auto max-h-80",...t})}function Vo({value:t,...e}){const{symbol:i,companyName:n}=t;return Be(Ho,{class:"border-gray-900 py-3 px-4 flex",value:i,...e,children:[Be("div",{class:"w-16 pr-8 mr-5",children:Be(Ao,{})}),Be("div",{class:"w-full truncate",children:n})]})}const Yo=t=>{Ei({event:"getStockQuoteSubmit",getStockQuoteSubmitInfo:{searchText:t||"",formSubmitStatus:t?"Yes":"No"}})};var Ko=Object.freeze({__proto__:null,default:({header:t,body:e,buttonText:i,inputLabel:n,inputLength:r=1,inputPlaceHolder:o,suggestionsEndpoint:s,noInputErrorMessage:a,noResultErrorMessage:l,formAction:c,verticalLayout:h=!1,toolName:d})=>{const u=`searchform-input--${pi()}`,[p,f]=ht(""),[m,g]=Ln(Go,""),[y,v]=ht(!0),b=`${window.location.origin}${c}`;ut(()=>{""!=p&&h&&Oi(i,b)},[p]);return Be("div",{class:"border-gray-200 border-2 px-5 py-8 md:px-6 w-full leading-snug text-gray-500",children:[Be("h2",{class:"text-2xl font-bold mb-5",children:t}),Be("p",{class:"text-lg font-regular mb-5 leading-normal",children:e}),Be("label",{className:"text-sm leading-normal font-regular block "+(y?"":"text-red-500"),for:u,children:n}),Be(Uo,{id:"add-symbol-form","data-testid":"add-symbol-form",class:"md:grid md:grid-cols-4 md:gap-x-4",search:t=>async function(t,e){const i=window.btoa(t),n=await fetch(`${e}/${i}`),{result:r}=await n.json();return r.map(t=>({symbol:t.symbol,companyName:t.symbolDescription}))}(t,s),ListComponent:Xo,OptionComponent:Vo,setFormValidity:v,action:c,onSelect:t=>(t=>{t&&(f(t),Yo(t))})(t),noValidate:!0,children:[Be(Wo,{class:"symbol-form md:mt-1 "+(h?"md:col-span-3 lg:col-span-4":"md:col-span-3"),children:[Be(Ro,{name:"symbol",placeholder:o,id:u,"data-testid":"add-symbol-input",inputLength:r,setFormValidity:v,formValidity:!0,className:"form-input w-full py-3 "+(y?"":"border-red-500")}),!y&&Be("div",{className:"text-red-500 text-xs top-12",children:a})]}),Be(Fo,{className:`btn btn-primary w-full md:mt-0 px-1 lg:px-5 leading-tight ${h?"lg:col-span-4 lg:mt-4 md:col-start-4 lg:row-start-2 lg:col-start-1":"md:w-auto md:col-start-4"} ${!y&&h?"mt-8 lg:mt-8":"mt-4 md:my-auto"}`,"data-gtm-category":"tools and calculator","data-gtm-action":"click","data-testid":"add-symbol-submit","data-gtm-label":`${d}:submit`,onClick:()=>{const t=document.getElementById(`${u}`)?.value;if(c.includes(Go)&&!m.includes(p)){let t=m.length?`${m},${p}`:p;g(t)}window.dataLayer&&p&&dataLayer.push({event:"calculatorSubmit",toolsInfo:{name:"get a stock quote",stockText:p}}),Yo(t),h&&Oi(i,b)},children:i})]})]})}});const $o=$t(()=>Promise.resolve().then(function(){return ws}));var qo=Object.freeze({__proto__:null,default:({apiEndpoint:t,disclaimerText:e="",dataCompName:i,translations:n={0:"index",1:"current",2:"netChange",3:"change"},tabTitle:r="",errMsg:o="A system error has occurred. Please try again later."})=>{const[s,a]=ht([]),[l,c]=ht("");ut(()=>{fetch(t).then(t=>{if(200==t.status||201==t.status)return t.json();throw o}).then(t=>{a(t.result),c("")}).catch(t=>{c(o)})},[]);const h=["description","lastTradePrice","priceChange","percentChange"],d=Object.values(n),u=s.map(t=>h.map(e=>t[e]));return Be("div",{class:"border-gray-200 border-2 px-2 pb-6 md:pt-3 md:px-6 mb-5","data-comp-name":i,children:[l?Be("div",{class:"text-base mt-5 ml-2 leading-tight graph-disclaimer",dangerouslySetInnerHTML:{__html:o}}):Be(Yt,{fallback:null,children:Be($o,{headers:d,columnTypes:["text","price","ticker","ticker"],rows:u,caption:r})}),Be("div",{class:"text-base mt-5 ml-2 leading-tight graph-disclaimer","data-testid":"disclaimer",dangerouslySetInnerHTML:{__html:e}})]})}}
1),Zo=Object.freeze({__proto__:null,default:({rte_component_html:t=""})=>Be("div",{class:"rich-text","data-testid":"mega-tab-content",dangerouslySetInnerHTML:{__html:t}})});function Jo(t,e){if(null==t)return{};var i,n,r={},o=Object.keys(t);for(n=0;n<o.length;n++)i=o[n],e.indexOf(i)>=0||(r[i]=t[i]);return r}var Qo,ts=oi("AccordionDescendantContext"),es=Ke("AccordionContext",{}),is=Ke("AccordionItemContext",{});!function(t){t.Open="OPEN",t.Collapsed="COLLAPSED"}(Qo||(Qo={}));var ns=Ht(function(t,e){var i=t.children,n=t.defaultIndex,r=t.index,o=t.onChange,s=t.readOnly,a=void 0!==s&&s,l=t.collapsible,c=void 0!==l&&l,h=t.multiple,d=void 0!==h&&h,u=Jo(t,["children","defaultIndex","index","onChange","readOnly","collapsible","multiple"]),p=ft(void 0!==r).current,f=ai(),m=f[0],g=f[1],y=pi(u.id),v=ht(function(){switch(!0){case p:return r;case null!=n:return d?Array.isArray(n)?n:[n]:Array.isArray(n)?null!==(t=n[0])&&void 0!==t?t:0:n;var t;case c:return d?[]:-1;default:return d?[0]:0}}),b=v[0],x=v[1],w=yt(function(t){o&&o(t),p||x(function(e){return d?e.includes(t)?e.length>1||c?e.filter(function(e){return e!==t}):e:[].concat(e,[t]).sort():e===t&&c?-1:t})},[c,p,d,o]),k=gt(function(){return{accordionId:y,openPanels:p?r:b,onSelectPanel:a?ti:w,readOnly:a}},[b,r,y,p,w,a]);return ut(function(){return Ve()},[]),Ae.createElement(li,{context:ts,items:m,set:g},Ae.createElement(es.Provider,{value:k},Ae.createElement("div",Object.assign({},u,{ref:e,"data-reach-accordion":""}),i)))}),rs=$e(function(t,e){var i=t.as,n=void 0===i?"div":i,r=t.children,o=t.disabled,s=void 0!==o&&o,a=Jo(t,["as","children","disabled"]),l=vt(es),c=l.accordionId,h=l.openPanels,d=l.readOnly,u=ft(null),p=si({element:u.current,disabled:s},ts),f=Qe(c,p),m=Qe("panel",f),g=Qe("button",f),y=(Array.isArray(h)?h.includes(p)&&Qo.Open:h===p&&Qo.Open)||Qo.Collapsed,v={disabled:s,buttonId:g,index:
1p,itemId:f,buttonRef:u,panelId:m,state:y};return Ae.createElement(is.Provider,{value:v},Ae.createElement(n,Object.assign({},a,{ref:e,"data-reach-accordion-item":"","data-state":as(y),"data-disabled":s?"":void 0,"data-read-only":d?"":void 0}),r))}),os=$e(function(t,e){var i=t.as,n=void 0===i?"button":i,r=t.children,o=t.onClick,s=t.onKeyDown;t.onMouseDown,t.onPointerDown;var a=t.tabIndex,l=Jo(t,["as","children","onClick","onKeyDown","onMouseDown","onPointerDown","tabIndex"]),c=vt(es).onSelectPanel,h=vt(is),d=h.disabled,u=h.buttonId,p=h.buttonRef,f=h.index,m=h.panelId,g=h.state,y=ii(e,p);var v=ci(ts,{currentIndex:f,orientation:"vertical",key:"element",rotate:!0,callback:function(t){t&&t.focus()},filter:function(t){return!t.disabled}});return Ae.createElement(n,Object.assign({"aria-controls":m,"aria-expanded":g===Qo.Open,tabIndex:d?-1:a},l,{ref:y,"data-reach-accordion-button":"",disabled:d||void 0,id:u,onClick:ni(o,function(t){t.preventDefault(),d||(p.current.focus(),c(f))}),onKeyDown:ni(s,v)}),r)}),ss=$e(function(t,e){var i=t.as,n=void 0===i?"div":i,r=t.children,o=Jo(t,["as","children"]),s=vt(is),a=s.disabled,l=s.panelId,c=s.buttonId,h=s.state;return Ae.createElement(n,Object.assign({hidden:h!==Qo.Open,role:"region","aria-labelledby":c},o,{ref:e,"data-reach-accordion-panel":"","data-disabled":a||void 0,"data-state":as(h),id:l,tabIndex:-1}),r)});function as(t){return t===Qo.Open?"open":"collapsed"}const ls=t=>{if(t.image_url){const e=t.image_alt||"";return Be("img",{src:t.image_url,alt:e,loading:"lazy"})}return t.video?Be("div",{class:"relative max-w-full h-0 overflow-hidden pb-2/4",children:Be("iframe",{class:"absolute top-0 left-0 w-full h-full",title:"vimeo-player",src:t.video,width:"100%",height:"100%",frameborder:"0",allowfullscreen:!0})}):Be("div",{dangerouslySetInnerHTML:{__html:t.rte}})};var cs=Object.freeze({__proto__:null,default:({items:t})=>Be("div",{class:"space-y-10","data-testid":"accordion-group",children:Object.values(t).map(({title:t,data:e},i)=>Be("div",{children:[Be("div",{class:"heading-3","data-testid":`accordion-${i}-title`,dangerouslySetInnerHTML:{__html:t}}),Be(ns,{class:"accordion mt-4",collapsible:!0,children:Be("ul",{children:Object.values(e).map(({heading:t,body:e},n)=>Be(rs,{as:"li",children:[Be(os,{class:"accordion-trigger accordion-button heading-5 py-5 border-b border-gray-500 hover:border-yellow-500","data-testid":`accordion-${i}-item-${n}-btn`,dangerouslySetInnerHTML:{__html:t},"data-gtm-category":"accordion","data-gtm-action":"click","data-gtm-label":`title:${t}`,"data-parent-comp":"AccordionGroup"}),Be(ss,{class:"px-5 py-8 text-lg border-b border-gray-500","data-testid":`accordion-${i}-item-${n}-panel`,children:ls(e)})]}))})})]}))})}),hs=Object.freeze({__proto__:null,default:({apiEndpoint:t,errMsg:e=""})=>{const[i,n]=ht(),[r,o]=ht("");return ut(()=>{fetch(t).then(t=>{if(200==t.status||201==t.status)return t.json();throw e}).then(t=>{n(t),o("")}).catch(t=>{o(e)})},[]),Be(S,{children:r?Be("div",{class:"border-gray-200 border-2 px-2 md:px-6 py-5 text-base leading-tight graph-disclaimer",dangerouslySetInnerHTML:{__html:e}}):i?Be("div",{"data-testid":"table",dangerouslySetInnerHTML:{__html:i}}):Be(Rn,{text:"Loading...",focus:!1})})}}),ds=ze(function(t){!function(e,i){t.exports?(i.default=i,t.exports=e.document?i(e):i):(e.Highcharts&&e.Highcharts.error(16,!0),e.Highcharts=i(e))}("undefined"!=typeof window?window:Re,function(t){function e(t,e,i,n){t.hasOwnProperty(e)||(t[e]=n.apply(null,i))}var i={};return e(i,"Core/Globals.js",[],function(){var e,i=void 0!==t?t:"undefined"!=typeof window?window:{};return function(t){t.SVG_NS="http://www.w3.org/2000/svg",t.product="Highcharts",t.version="9.3.3",t.win=i,t.doc=t.win.document,t.svg=t.doc&&t.doc.createElementNS&&!!t.doc.createElementNS(t.SVG_NS,"svg").createSVGRect,t.userAgent=t.win.navigator&&t.win.navigator.userAgent||"",t.isChrome=-1!==t.userAgent.indexOf("Chrome"),t.isFirefox=-1!==t.userAgent.indexOf("Firefox"),t.isMS=/(edge|msie|trident)/i.test(t.userAgent)&&!t.win.opera,t.isSafari=!t.isChrome&&-1!==t.userAgent.indexOf("Safari"),t.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(t.userAgent),t.isWebKit=-1!==t.userAgent.indexOf("AppleWebKit"),t.deg2rad=2*Math.PI/360,t.hasBidiBug=t.isFirefox&&4>
1parseInt(t.userAgent.split("Firefox/")[1],10),t.hasTouch=!!t.win.TouchEvent,t.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],t.noop=function(){},t.supportsPassiveEvents=function(){var e=!1;if(!t.isMS){var i=Object.defineProperty({},"passive",{get:function(){e=!0}});t.win.addEventListener&&t.win.removeEventListener&&(t.win.addEventListener("testPassive",t.noop,i),t.win.removeEventListener("testPassive",t.noop,i))}return e}(),t.charts=[],t.dateFormats={},t.seriesTypes={},t.symbolSizes={},t.chartCount=0}(e||(e={})),e}),e(i,"Core/Utilities.js",[i["Core/Globals.js"]],function(t){function e(i,n,r,o){var s=n?"Highcharts error":"Highcharts warning";32===i&&(i=s+": Deprecated member");var a=l(i),c=a?s+" #"+i+": www.highcharts.com/errors/"+i+"/":i.toString();if(void 0!==o){var h="";a&&(c+="?"),m(o,function(t,e){h+="\n - "+e+": "+t,a&&(c+=encodeURI(e)+"="+encodeURI(t))}),c+=h}y(t,"displayError",{chart:r,code:i,message:c,params:o},function(){if(n)throw Error(c);x.console&&e.messages.indexOf(c)}),e.messages.push(c)}function i(t,e){return parseInt(t,e||10)}function n(t){return"string"==typeof t}function r(t){return"[object Array]"===(t=Object.prototype.toString.call(t))||"[object Array Iterator]"===t}function o(t,e){return!(!t||"object"!=typeof t||e&&r(t))}function s(t){return o(t)&&"number"==typeof t.nodeType}function a(t){var e=t&&t.constructor;return!(!o(t,!0)||s(t)||!e||!e.name||"Object"===e.name)}function l(t){return"number"==typeof t&&!isNaN(t)&&1/0>t&&-1/0<t}function c(t){return null!=t}function h(t,e,i){var r;return n(e)?c(i)?t.setAttribute(e,i):t&&t.getAttribute&&((r=t.getAttribute(e))||"class"!==e||(r=t.getAttribute(e+"Name"))):m(e,function(e,i){c(e)?t.setAttribute(i,e):t.removeAttribute(i)}),r}function d(t,e){var i;for(i in t||(t={}),e)t[i]=e[i];return t}function u(){for(var t=arguments,e=t.length,i=0;i<e;i++){var n=t[i];if(null!=n)return n}}function p(e,i){t.isMS&&!t.svg&&i&&void 0!==i.opacity&&(i.filter="alpha(opacity="+100*i.opacity+")"),d(e.style,i)}function f(t,e){return 1e14<t?t:parseFloat(t.toPrecision(e||14))}function m(t,e,i){for(var n in t)Object.hasOwnProperty.call(t,n)&&e.call(i||t[n],t[n],n,t)}function g(e,i,n){function r(i,n){var r=e.removeEventListener||t.removeEventListenerPolyfill;r&&r.call(e,i,n,!1)}function o(t){var n;if(e.nodeName){if(i){var o={};o[i]=!0}else o=t;m(o,function(e,i){if(t[i])for(n=t[i].length;n--;)r(i,t[i][n].fn)})}}var s="function"==typeof e&&e.prototype||e;if(Object.hasOwnProperty.call(s,"hcEvents")){var a=s.hcEvents;i?(s=a[i]||[],n?(a[i]=s.filter(function(t){return n!==t.fn}),r(i,n)):(o(a),a[i]=[])):(o(a),delete s.hcEvents)}}function y(e,i,n,r){if(n=n||{},b.createEvent&&(e.dispatchEvent||e.fireEvent&&e!==t)){var o=b.createEvent("Events");o.initEvent(i,!0,!0),n=d(o,n),e.dispatchEvent?e.dispatchEvent(n):e.fireEvent(i,n)}else if(e.hcEvents){n.target||d(n,{preventDefault:function(){n.defaultPrevented=!0},target:e,type:i}),o=[];for(var s=e,a=!1;s.hcEvents;)Object.hasOwnProperty.call(s,"hcEvents")&&s.hcEvents[i]&&(o.length&&(a=!0),o.unshift.apply(o,s.hcEvents[i])),s=Object.getPrototypeOf(s);a&&o.sort(function(t,e){return t.order-e.order}),o.forEach(function(t){!1===t.fn.call(e,n)&&n.preventDefault()})}r&&!n.defaultPrevented&&r.call(e,n)}var v=t.charts,b=t.doc,x=t.win;(e||(e={})).messages=[],Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};var w=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){var i,n=t.length;for(i=0;i<n;i++)if(e(t[i],i))return t[i]};m({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},function(i,n){t[n]=function(t){var r;return e(32,!1,void 0,((r={})["Highcharts."+n]="use Array."+i,r)),Array.prototype[i].apply(t,[].slice.call(arguments,1))}});var k,C=function(){var t=Math.random().toString(36).substring(2,9)+"-",e=0;return function(){return"highcharts-"+(k?"":t)+e++}}();return x.jQuery&&(x.jQuery.fn.highcharts=function(){var e=[].slice.call(arguments);if(this[0])return e[0]?(new(t[n(e[0])?e.shift():"Chart"])(this[0],e[0],e[1]),this):v[h(this[0],"data-highcharts-chart")]}),w={addEvent:function(e,i,n,r){void 0===r&&(r={});var o="function"==typeof e&&e.prototype||e;Object.hasOwnProperty.call(o,"hcEvents")||(o.hcEvents={}),o=o.hcEvents,t.Point&&e instanceof t.Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);var s=e.addEventListener||t.addEventListenerPolyfill;return s&&s.call(e,i,n,!!t.supportsPassiveEvents&&{passive:void 0===r.passive?-1!==i.indexOf("touch"):r.passive,capture:!1}),o[i]||(o[i]=[]),o[i].push({fn:n,order:"number"==typeof r.order?r.order:1/0}),o[i].sort(function(t,e){return t.order-e.order}),function(){g(e,i,n)}},arrayMax:function(t){for(var e=t.length,i=t[0];e--;)t[e]>i&&(i=t[e]);return i},arrayMin:function(t){for(var e=t.length,i=t[0];e--;)t[e]<i&&(i=t[e]);return i}
1,attr:h,clamp:function(t,e,i){return t>e?t<i?t:i:e},cleanRecursively:function t(e,i){var n={};return m(e,function(r,s){o(e[s],!0)&&!e.nodeType&&i[s]?(r=t(e[s],i[s]),Object.keys(r).length&&(n[s]=r)):(o(e[s])||e[s]!==i[s])&&(n[s]=e[s])}),n},clearTimeout:function(t){c(t)&&clearTimeout(t)},correctFloat:f,createElement:function(t,e,i,n,r){return t=b.createElement(t),e&&d(t,e),r&&p(t,{padding:"0",border:"none",margin:"0"}),i&&p(t,i),n&&n.appendChild(t),t},css:p,defined:c,destroyObjectProperties:function(t,e){m(t,function(i,n){i&&i!==e&&i.destroy&&i.destroy(),delete t[n]})},discardElement:function(t){t&&t.parentElement&&t.parentElement.removeChild(t)},erase:function(t,e){for(var i=t.length;i--;)if(t[i]===e){t.splice(i,1);break}},error:e,extend:d,extendClass:function(t,e){var i=function(){};return d(i.prototype=new t,e),i},find:w,fireEvent:y,getMagnitude:function(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))},getNestedProperty:function(t,e){for(t=t.split(".");t.length&&c(e);){var i=t.shift();if(void 0===i||"__proto__"===i)return;if(!c(e=e[i])||"function"==typeof e||"number"==typeof e.nodeType||e===x)return}return e},getStyle:function n(r,o,s){var a=t.getStyle||n;if("width"===o)return o=Math.min(r.offsetWidth,r.scrollWidth),(s=r.getBoundingClientRect&&r.getBoundingClientRect().width)<o&&s>=o-1&&(o=Math.floor(s)),Math.max(0,o-(a(r,"padding-left",!0)||0)-(a(r,"padding-right",!0)||0));if("height"===o)return Math.max(0,Math.min(r.offsetHeight,r.scrollHeight)-(a(r,"padding-top",!0)||0)-(a(r,"padding-bottom",!0)||0));if(x.getComputedStyle||e(27,!0),r=x.getComputedStyle(r,void 0)){var l=r.getPropertyValue(o);u(s,"opacity"!==o)&&(l=i(l))}return l},inArray:function(t,i,n){return e(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),i.indexOf(t,n)},isArray:r,isClass:a,isDOMElement:s,isFunction:function(t){return"function"==typeof t},isNumber:l,isObject:o,isString:n,keys:function(t){return e(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t)},merge:function(){var t,e=arguments,i={},n=function(t,e){return"object"!=typeof t&&(t={}),m(e,function(i,r){"__proto__"!==r&&"constructor"!==r&&(!o(i,!0)||a(i)||s(i)?t[r]=e[r]:t[r]=n(t[r]||{},i))}),t};!0===e[0]&&(i=e[1],e=Array.prototype.slice.call(e,2));var r=e.length;for(t=0;t<r;t++)i=n(i,e[t]);return i},normalizeTickInterval:function(t,e,i,n,r){var o=t,s=t/(i=u(i,1));for(e||(e=r?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===n&&(1===i?e=e.filter(function(t){return 0==t%1}):.1>=i&&(e=[1/i]))),n=0;n<e.length&&(o=e[n],!(r&&o*i>=t||!r&&s<=(e[n]+(e[n+1]||e[n]))/2));n++);return f(o*i,-Math.round(Math.log(.001)/Math.LN10))},objectEach:m,offset:function(t){var e=b.documentElement;return{top:(t=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0,width:0,height:0}).top+(x.pageYOffset||e.scrollTop)-(e.clientTop||0),left:t.left+(x.pageXOffset||e.scrollLeft)-(e.clientLeft||0),width:t.width,height:t.height}},pad:function(t,e,i){return Array((e||2)+1-String(t).replace("-","").length).join(i||"0")+t},pick:u,pInt:i,relativeLength:function(t,e,i){return/%$/.test(t)?e*parseFloat(t)/100+(i||0):parseFloat(t)},removeEvent:g,splat:function(t){return r(t)?t:[t]},stableSort:function(t,e){var i,n,r=t.length;for(n=0;n<r;n++)t[n].safeI=n;for(t.sort(function(t,n){return 0===(i=e(t,n))?t.safeI-n.safeI:i}),n=0;n<r;n++)delete t[n].safeI},syncTimeout:function(t,e,i){return 0<e?setTimeout(t,e,i):(t.call(0,i),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:C,useSerialIds:function(t){return k=u(t,k)},wrap:function(t,e,i){var n=t[e];t[e]=function(){var t=Array.prototype.slice.call(arguments),e=arguments,r=this;return r.proceed=function(){n.apply(r,arguments.length?arguments:e)},t.unshift(n),t=i.apply(this,t),r.proceed=null,t}}},w}),e(i,"Core/Chart/ChartDefaults.js",[],function(){return{panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},zoomBySingleTouch:!1,width:null,height:null,borderColor:"#335cad",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}}),e(i,"Core/Color/Color.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],function(t,e){var i=e.isNumber,n=e.merge,r=e.pInt;return e=function(){function e(i){this.rgba=[NaN,NaN,NaN,NaN],this.input=i;var n=t.Color;return n&&n!==e?new n(i):this instanceof e?void this.init(i):new e(i)}return e.parse=function(t){return t?new e(t):e.None},e.prototype.init=function(t){var i;if("object"==typeof t&&void 0!==t.stops)this.stops=t.stops.map(function(t){return new e(t[1])});
1else if("string"==typeof t){if(this.input=t=e.names[t.toLowerCase()]||t,"#"===t.charAt(0)){var n=t.length,r=parseInt(t.substr(1),16);7===n?i=[(16711680&r)>>16,(65280&r)>>8,255&r,1]:4===n&&(i=[(3840&r)>>4|(3840&r)>>8,(240&r)>>4|240&r,(15&r)<<4|15&r,1])}if(!i)for(r=e.parsers.length;r--&&!i;){var o=e.parsers[r];(n=o.regex.exec(t))&&(i=o.parse(n))}}i&&(this.rgba=i)},e.prototype.get=function(t){var e=this.input,r=this.rgba;if("object"==typeof e&&void 0!==this.stops){var o=n(e);return o.stops=[].slice.call(o.stops),this.stops.forEach(function(e,i){o.stops[i]=[o.stops[i][0],e.get(t)]}),o}return r&&i(r[0])?"rgb"===t||!t&&1===r[3]?"rgb("+r[0]+","+r[1]+","+r[2]+")":"a"===t?""+r[3]:"rgba("+r.join(",")+")":e},e.prototype.brighten=function(t){var e=this.rgba;if(this.stops)this.stops.forEach(function(e){e.brighten(t)});else if(i(t)&&0!==t)for(var n=0;3>n;n++)e[n]+=r(255*t),0>e[n]&&(e[n]=0),255<e[n]&&(e[n]=255);return this},e.prototype.setOpacity=function(t){return this.rgba[3]=t,this},e.prototype.tweenTo=function(t,e){var n=this.rgba,r=t.rgba;return i(n[0])&&i(r[0])?((t=1!==r[3]||1!==n[3])?"rgba(":"rgb(")+Math.round(r[0]+(n[0]-r[0])*(1-e))+","+Math.round(r[1]+(n[1]-r[1])*(1-e))+","+Math.round(r[2]+(n[2]-r[2])*(1-e))+(t?","+(r[3]+(n[3]-r[3])*(1-e)):"")+")":t.input||"none"},e.names={white:"#ffffff",black:"#000000"},e.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(t){return[r(t[1]),r(t[2]),r(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(t){return[r(t[1]),r(t[2]),r(t[3]),1]}}],e.None=new e(""),e}(),e}),e(i,"Core/Color/Palettes.js",[],function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" ")}}),e(i,"Core/Time.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],function(t,e){var i=t.win,n=e.defined,r=e.error,o=e.extend,s=e.isObject,a=e.merge,l=e.objectEach,c=e.pad,h=e.pick,d=e.splat,u=e.timeUnits,p=t.isSafari&&i.Intl&&i.Intl.DateTimeFormat.prototype.formatRange,f=t.isSafari&&i.Intl&&!i.Intl.DateTimeFormat.prototype.formatRange;return e=function(){function e(t){this.options={},this.variableTimezone=this.useUTC=!1,this.Date=i.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(t)}return e.prototype.get=function(t,e){if(this.variableTimezone||this.timezoneOffset){var i=e.getTime(),n=i-this.getTimezoneOffset(e);return e.setTime(n),t=e["getUTC"+t](),e.setTime(i),t}return this.useUTC?e["getUTC"+t]():e["get"+t]()},e.prototype.set=function(t,e,i){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===t||"Seconds"===t||"Minutes"===t&&0==this.getTimezoneOffset(e)%36e5)return e["setUTC"+t](i);var n=this.getTimezoneOffset(e);return n=e.getTime()-n,e.setTime(n),e["setUTC"+t](i),t=this.getTimezoneOffset(e),n=e.getTime()+t,e.setTime(n)}return this.useUTC||p&&"FullYear"===t?e["setUTC"+t](i):e["set"+t](i)},e.prototype.update=function(t){var e=h(t&&t.useUTC,!0);this.options=t=a(!0,this.options||{},t),this.Date=t.Date||i.Date||Date,this.timezoneOffset=(this.useUTC=e)&&t.timezoneOffset,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=e&&!(!t.getTimezoneOffset&&!t.timezone)},e.prototype.makeTime=function(t,e,i,n,r,o){if(this.useUTC){var s=this.Date.UTC.apply(0,arguments),a=this.getTimezoneOffset(s);s+=a;var l=this.getTimezoneOffset(s);a!==l?s+=l-a:a-36e5!==this.getTimezoneOffset(s-36e5)||f||(s-=36e5)}else s=new this.Date(t,e,h(i,1),h(n,0),h(r,0),h(o,0)).getTime();return s},e.prototype.timezoneOffsetFunction=function(){var t=this,e=this.options,n=e.getTimezoneOffset,o=e.moment||i.moment;if(!this.useUTC)return function(t){return 6e4*new Date(t.toString()).getTimezoneOffset()};if(e.timezone){if(o)return function(t){return 6e4*-o.tz(t,e.timezone).utcOffset()};r(25)}return this.useUTC&&n?function(t){return 6e4*n(t.valueOf())}:function(){return 6e4*(t.timezoneOffset||0)}},e.prototype.dateFormat=function(e,i,r){if(!n(i)||isNaN(i))return t.defaultOptions.lang&&t.defaultOptions.lang.invalidDate||"";e=h(e,"%Y-%m-%d %H:%M:%S");var s=this,a=new this.Date(i),d=this.get("Hours",a),u=this.get("Day",a),p=this.get("Date",a),f=this.get("Month",a),m=this.get("FullYear",a),g=t.defaultOptions.lang,y=g&&g.weekdays,v=g&&g.shortWeekdays;return a=o({a:v?v[u]:y[u].substr(0,3),A:y[u],d:c(p),e:c(p,2," "),w:u,b:g.shortMonths[f],B:g.months[f],m:c(f+1),o:f+1,y:m.toString().substr(2,2),Y:m,H:c(d),k:d,I:c(d%12||12),l:d%12||12,M:c(this.get("Minutes",a)),p:12>d?"AM":"PM",P:12>d?"am":"pm",S:c(a.getSeconds()),L:c(Math.floor(i%1e3),3)},t.dateFormats),l(a,function(t,n){for(;-1!==e.indexOf("%"+n);)e=e.replace("%"+n,"function"==typeof t?t.call(s,i):t)}),r?e.substr(0,1).toUpperCase()+e.substr(1):e},e.prototype.resolveDTLFormat=function(t){return s(t,!0)?t:{main:(t=d(t))[0],from:t[1],to:t[2]}}
1,e.prototype.getTimeTicks=function(t,e,i,r){var s,a=this,l=[],c={},d=new a.Date(e),p=t.unitRange,f=t.count||1;if(r=h(r,1),n(e)){if(a.set("Milliseconds",d,p>=u.second?0:f*Math.floor(a.get("Milliseconds",d)/f)),p>=u.second&&a.set("Seconds",d,p>=u.minute?0:f*Math.floor(a.get("Seconds",d)/f)),p>=u.minute&&a.set("Minutes",d,p>=u.hour?0:f*Math.floor(a.get("Minutes",d)/f)),p>=u.hour&&a.set("Hours",d,p>=u.day?0:f*Math.floor(a.get("Hours",d)/f)),p>=u.day&&a.set("Date",d,p>=u.month?1:Math.max(1,f*Math.floor(a.get("Date",d)/f))),p>=u.month){a.set("Month",d,p>=u.year?0:f*Math.floor(a.get("Month",d)/f));var m=a.get("FullYear",d)}p>=u.year&&a.set("FullYear",d,m-m%f),p===u.week&&(m=a.get("Day",d),a.set("Date",d,a.get("Date",d)-m+r+(m<r?-7:0))),m=a.get("FullYear",d),r=a.get("Month",d);var g=a.get("Date",d),y=a.get("Hours",d);for(e=d.getTime(),!a.variableTimezone&&a.useUTC||!n(i)||(s=i-e>4*u.month||a.getTimezoneOffset(e)!==a.getTimezoneOffset(i)),e=d.getTime(),d=1;e<i;)l.push(e),e=p===u.year?a.makeTime(m+d*f,0):p===u.month?a.makeTime(m,r+d*f):!s||p!==u.day&&p!==u.week?s&&p===u.hour&&1<f?a.makeTime(m,r,g,y+d*f):e+p*f:a.makeTime(m,r,g+d*f*(p===u.day?1:7)),d++;l.push(e),p<=u.hour&&1e4>l.length&&l.forEach(function(t){0==t%18e5&&"000000000"===a.dateFormat("%H%M%S%L",t)&&(c[t]="day")})}return l.info=o(t,{higherRanks:c,totalRange:p*f}),l},e.prototype.getDateFormat=function(t,e,i,n){var r=this.dateFormat("%m-%d %H:%M:%S.%L",e),o={millisecond:15,second:12,minute:9,hour:6,day:3},s="millisecond";for(a in u){if(t===u.week&&+this.dateFormat("%w",e)===i&&"00:00:00.000"===r.substr(6)){var a="week";break}if(u[a]>t){a=s;break}if(o[a]&&r.substr(o[a])!=="01-01 00:00:00.000".substr(o[a]))break;"week"!==a&&(s=a)}if(a)var l=this.resolveDTLFormat(n[a]).main;return l},e}(),e}),e(i,"Core/DefaultOptions.js",[i["Core/Chart/ChartDefaults.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Color/Palettes.js"],i["Core/Time.js"],i["Core/Utilities.js"]],function(t,e,i,n,r,o){e=e.parse;var s=o.merge,a={colors:n.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:t,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:i.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:i.isTouchDevice?25:10,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:e("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,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"}};a.chart.styledMode=!1;var l=new r(s(a.global,a.time));return t={defaultOptions:a,defaultTime:l,getOptions:function(){return a},setOptions:function(t){return s(!0,a,t),(t.time||t.global)&&(i.time?i.time.update(s(a.global,a.time,t.global,t.time)):i.time=l),a}},t}),e(i,"Core/Animation/Fx.js",[i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],function(t,e,
1i){var n=t.parse,r=e.win,o=i.isNumber,s=i.objectEach;return function(){function t(t,e,i){this.pos=NaN,this.options=e,this.elem=t,this.prop=i}return t.prototype.dSetter=function(){var t=this.paths,e=t&&t[0];t=t&&t[1];var i=this.now||0,n=[];if(1!==i&&e&&t)if(e.length===t.length&&1>i)for(var r=0;r<t.length;r++){for(var s=e[r],a=t[r],l=[],c=0;c<a.length;c++){var h=s[c],d=a[c];o(h)&&o(d)&&("A"!==a[0]||4!==c&&5!==c)?l[c]=h+i*(d-h):l[c]=d}n.push(l)}else n=t;else n=this.toD||[];this.elem.attr("d",n,void 0,!0)},t.prototype.update=function(){var t=this.elem,e=this.prop,i=this.now,n=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,i,null,!0):t.style[e]=i+this.unit,n&&n.call(t,i,this)},t.prototype.run=function(e,i,n){var o=this,s=o.options,a=function(t){return!a.stopped&&o.step(t)},l=r.requestAnimationFrame||function(t){setTimeout(t,13)},c=function(){for(var e=0;e<t.timers.length;e++)t.timers[e]()||t.timers.splice(e--,1);t.timers.length&&l(c)};e!==i||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=e,this.end=i,this.unit=n,this.now=this.start,this.pos=0,a.elem=this.elem,a.prop=this.prop,a()&&1===t.timers.push(a)&&l(c)):(delete s.curAnim[this.prop],s.complete&&0===Object.keys(s.curAnim).length&&s.complete.call(this.elem))},t.prototype.step=function(t){var e=+new Date,i=this.options,n=this.elem,r=i.complete,o=i.duration,a=i.curAnim;if(n.attr&&!n.element)t=!1;else if(t||e>=o+this.startTime){this.now=this.end,this.pos=1,this.update();var l=a[this.prop]=!0;s(a,function(t){!0!==t&&(l=!1)}),l&&r&&r.call(n),t=!1}else this.pos=i.easing((e-this.startTime)/o),this.now=this.start+(this.end-this.start)*this.pos,this.update(),t=!0;return t},t.prototype.initPath=function(t,e,i){function n(t,e){for(;t.length<u;){var i=t[0],n=e[u-t.length];n&&"M"===i[0]&&(t[0]="C"===n[0]?["C",i[1],i[2],i[1],i[2],i[1],i[2]]:["L",i[1],i[2]]),t.unshift(i),l&&(i=t.pop(),t.push(t[t.length-1],i))}}function r(t,e){for(;t.length<u;)if("C"===(e=t[Math.floor(t.length/c)-1].slice())[0]&&(e[1]=e[5],e[2]=e[6]),l){var i=t[Math.floor(t.length/c)].slice();t.splice(t.length/2,0,e,i)}else t.push(e)}var s=t.startX,a=t.endX;i=i.slice();var l=t.isArea,c=l?2:1;if(!(e=e&&e.slice()))return[i,i];if(s&&a&&a.length){for(t=0;t<s.length;t++){if(s[t]===a[0]){var h=t;break}if(s[0]===a[a.length-s.length+t]){h=t;var d=!0;break}if(s[s.length-1]===a[a.length-s.length+t]){h=s.length-t;break}}void 0===h&&(e=[])}if(e.length&&o(h)){var u=i.length+h*c;d?(n(e,i),r(i,e)):(n(i,e),r(e,i))}return[e,i]},t.prototype.fillSetter=function(){t.prototype.strokeSetter.apply(this,arguments)},t.prototype.strokeSetter=function(){this.elem.attr(this.prop,n(this.start).tweenTo(n(this.end),this.pos),void 0,!0)},t.timers=[],t}()}),e(i,"Core/Animation/AnimationUtilities.js",[i["Core/Animation/Fx.js"],i["Core/Utilities.js"]],function(t,e){function i(t){return l(t)?c({duration:500,defer:0},t):{duration:t?500:0,defer:0}}function n(e,i){for(var n=t.timers.length;n--;)t.timers[n].elem!==e||i&&i!==t.timers[n].prop||(t.timers[n].stopped=!0)}
1var r=e.defined,o=e.getStyle,s=e.isArray,a=e.isNumber,l=e.isObject,c=e.merge,h=e.objectEach,d=e.pick;return{animate:function(e,i,r){var d,u,p,f="";if(!l(r)){var m=arguments;r={duration:m[2],easing:m[3],complete:m[4]}}a(r.duration)||(r.duration=400),r.easing="function"==typeof r.easing?r.easing:Math[r.easing]||Math.easeInOutSine,r.curAnim=c(i),h(i,function(a,l){n(e,l),p=new t(e,r,l),u=void 0,"d"===l&&s(i.d)?(p.paths=p.initPath(e,e.pathArray,i.d),p.toD=i.d,d=0,u=1):e.attr?d=e.attr(l):(d=parseFloat(o(e,l))||0,"opacity"!==l&&(f="px")),u||(u=a),"string"==typeof u&&u.match("px")&&(u=u.replace(/px/g,"")),p.run(d,u,f)})},animObject:i,getDeferredAnimation:function(t,e,n){var o=i(e),s=0,a=0;return(n?[n]:t.series).forEach(function(t){t=i(t.options.animation),s=e&&r(e.defer)?o.defer:Math.max(s,t.duration+t.defer),a=Math.min(o.duration,t.duration)}),t.renderer.forExport&&(s=0),{defer:Math.max(0,s-a),duration:Math.min(s,a)}},setAnimation:function(t,e){e.renderer.globalAnimation=d(t,e.options.chart.animation,!0)},stop:n}}),e(i,"Core/Renderer/HTML/AST.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],function(t,e){var i=t.SVG_NS,n=e.attr,r=e.createElement,o=e.error,s=e.isFunction,a=e.isString,l=e.objectEach,c=e.splat,h=(e=t.win.trustedTypes)&&s(e.createPolicy)&&e.createPolicy("highcharts",{createHTML:function(t){return t}}),d=h?h.createHTML(""):"";try{var u=!!(new DOMParser).parseFromString(d,"text/html")}catch(t){u=!1}return s=function(){function e(t){this.nodes="string"==typeof t?this.parseMarkup(t):t}return e.filterUserAttributes=function(t){return l(t,function(i,n){var r=!0;-1===e.allowedAttributes.indexOf(n)&&(r=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(n)&&(r=a(i)&&e.allowedReferences.some(function(t){return 0===i.indexOf(t)})),r||(o("Highcharts warning: Invalid attribute '"+n+"' in config"),delete t[n])}),t},e.setElementHTML=function(t,i){t.innerHTML=e.emptyHTML,i&&new e(i).addToDOM(t)},e.prototype.addToDOM=function(r){return function r(s,a){var h;return c(s).forEach(function(s){var c=s.tagName,d=s.textContent?t.doc.createTextNode(s.textContent):void 0;if(c)if("#text"===c)var u=d;else if(-1!==e.allowedTags.indexOf(c)){c=t.doc.createElementNS("svg"===c?i:a.namespaceURI||i,c);var p=s.attributes||{};l(s,function(t,e){"tagName"!==e&&"attributes"!==e&&"children"!==e&&"textContent"!==e&&(p[e]=t)}),n(c,e.filterUserAttributes(p)),d&&c.appendChild(d),r(s.children||[],c),u=c}else o("Highcharts warning: Invalid tagName "+c+" in config");u&&a.appendChild(u),h=u}),h}(this.nodes,r)},e.prototype.parseMarkup=function(t){var e=[];if(t=t.trim(),u)t=(new DOMParser).parseFromString(h?h.createHTML(t):t,"text/html");else{var i=r("div");i.innerHTML=t,t={body:i}}var n=function(t,e){var i=t.nodeName.toLowerCase(),r={tagName:i};if("#text"===i&&(r.textContent=t.textContent||""),i=t.attributes){var o={};[].forEach.call(i,function(t){o[t.name]=t.value}),r.attributes=o}if(t.childNodes.length){var s=[];[].forEach.call(t.childNodes,function(t){n(t,s)}),s.length&&(r.children=s)}e.push(r)};return[].forEach.call(t.body.childNodes,function(t){return n(t,e)}),e},e.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 textAnchor textLength title type valign width x x1 x2 y y1 y2 zIndex".split(" "),e.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" "),e.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 thead tbody tspan td th tr u ul #text".split(" "),e.emptyHTML=d,e}(),s}),e(i,"Core/FormatUtilities.js",[i["Core/DefaultOptions.js"],i["Core/Utilities.js"]],function(t,e){function i(t,e,i,r){t=+t||0,e=+e;var o=n.lang,c=(t.toString().split(".")[1]||"").split("e")[0].length,h=t.toString().split("e"),d=e;if(-1===e)e=Math.min(c,20);else if(s(e)){if(e&&h[1]&&0>h[1]){var u=e+ +h[1];0<=u?(h[0]=(+h[0]).toExponential(u).split("e")[0],e=u):(h[0]=h[0].split(".")[0]||0,t=20>e?(h[0]*Math.pow(10,h[1])).toFixed(e):0,h[1]=0)}}else e=2;u=(Math.abs(h[1]?h[0]:t)+Math.pow(10,-Math.max(e,c)-1)).toFixed(e);var p=3<(c=String(l(u))).length?c.length%3:0;return i=a(i,o.decimalPoint),r=a(r,o.thousandsSep),t=(0>t?"-":"")+(p?c.substr(0,p)+r:""),t=0>+h[1]&&!d?"0":t+c.substr(p).replace(/(\d{3})(?=\d)/g,"$1"+r),e&&(t+=i+u.slice(-e)),h[1]&&0!==+t&&(t+="e"+h[1]),t}var n=t.defaultOptions,r=t.defaultTime,o=e.getNestedProperty,s=e.isNumber,a=e.pick,l=e.pInt;
1return{dateFormat:function(t,e,i){return r.dateFormat(t,e,i)},format:function(t,e,s){var a="{",l=!1,c=/f$/,h=/\.([0-9])/,d=n.lang,u=s&&s.time||r;s=s&&s.numberFormatter||i;for(var p=[];t;){var f=t.indexOf(a);if(-1===f)break;var m=t.slice(0,f);if(l){if(m=m.split(":"),a=o(m.shift()||"",e),m.length&&"number"==typeof a)if(m=m.join(":"),c.test(m)){var g=parseInt((m.match(h)||["","-1"])[1],10);null!==a&&(a=s(a,g,d.decimalPoint,-1<m.indexOf(",")?d.thousandsSep:""))}else a=u.dateFormat(m,a);p.push(a)}else p.push(m);t=t.slice(f+1),a=(l=!l)?"}":"{"}return p.push(t),p.join("")},numberFormat:i}}),e(i,"Core/Renderer/RendererUtilities.js",[i["Core/Utilities.js"]],function(t){var e,i=t.clamp,n=t.pick,r=t.stableSort;return function(t){t.distribute=function t(e,o,s){var a,l=e,c=l.reducedLen||o,h=function(t,e){return(e.rank||0)-(t.rank||0)},d=function(t,e){return t.target-e.target},u=!0,p=[],f=0;for(a=e.length;a--;)f+=e[a].size;if(f>c){for(r(e,h),f=a=0;f<=c;)f+=e[a].size,a++;p=e.splice(a-1,e.length)}for(r(e,d),e=e.map(function(t){return{size:t.size,targets:[t.target],align:n(t.align,.5)}});u;){for(a=e.length;a--;)c=e[a],h=(Math.min.apply(0,c.targets)+Math.max.apply(0,c.targets))/2,c.pos=i(h-c.size*c.align,0,o-c.size);for(a=e.length,u=!1;a--;)0<a&&e[a-1].pos+e[a-1].size>e[a].pos&&(e[a-1].size+=e[a].size,e[a-1].targets=e[a-1].targets.concat(e[a].targets),e[a-1].align=.5,e[a-1].pos+e[a-1].size>o&&(e[a-1].pos=o-e[a-1].size),e.splice(a,1),u=!0)}return l.push.apply(l,p),a=0,e.some(function(e){var i=0;return(e.targets||[]).some(function(){return l[a].pos=e.pos+i,void 0!==s&&Math.abs(l[a].pos-l[a].target)>s?(l.slice(0,a+1).forEach(function(t){return delete t.pos}),l.reducedLen=(l.reducedLen||o)-.1*o,l.reducedLen>.1*o&&t(l,o,s),!0):(i+=l[a].size,a++,!1)})}),r(l,d),l}}(e||(e={})),e}),e(i,"Core/Renderer/SVG/SVGElement.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Renderer/HTML/AST.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],function(t,e,i,n,r){var o=t.animate,s=t.animObject,a=t.stop,l=n.deg2rad,c=n.doc,h=n.noop,d=n.svg,u=n.SVG_NS,p=n.win,f=r.addEvent,m=r.attr,g=r.createElement,y=r.css,v=r.defined,b=r.erase,x=r.extend,w=r.fireEvent,k=r.isArray,C=r.isFunction,S=r.isNumber,_=r.isString,A=r.merge,T=r.objectEach,M=r.pick,P=r.pInt,E=r.syncTimeout,O=r.uniqueKey;return t=function(){function t(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=u,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY roun
1ded".split(" ")}return t.prototype._defaultGetter=function(t){return t=M(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0),/^[\-0-9\.]+$/.test(t)&&(t=parseFloat(t)),t},t.prototype._defaultSetter=function(t,e,i){i.setAttribute(e,t)},t.prototype.add=function(t){var e=this.renderer,i=this.element;if(t&&(this.parentGroup=t),this.parentInverted=t&&t.inverted,void 0!==this.textStr&&"text"===this.element.nodeName&&e.buildText(this),this.added=!0,!t||t.handleZ||this.zIndex)var n=this.zIndexSetter();return n||(t?t.element:e.box).appendChild(i),this.onAdd&&this.onAdd(),this},t.prototype.addClass=function(t,e){var i=e?"":this.attr("class")||"";return t=(t||"").split(/ /g).reduce(function(t,e){return-1===i.indexOf(e)&&t.push(e),t},i?[i]:[]).join(" "),t!==i&&this.attr("class",t),this},t.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},t.prototype.align=function(t,e,i){var n,r,o,s={},a=this.renderer,l=a.alignedObjects;t?(this.alignOptions=t,this.alignByTranslate=e,(!i||_(i))&&(this.alignTo=n=i||"renderer",b(l,this),l.push(this),i=void 0)):(t=this.alignOptions,e=this.alignByTranslate,n=this.alignTo),i=M(i,a[n],"scrollablePlotBox"===n?a.plotBox:void 0,a),n=t.align;var c=t.verticalAlign;return a=(i.x||0)+(t.x||0),l=(i.y||0)+(t.y||0),"right"===n?r=1:"center"===n&&(r=2),r&&(a+=(i.width-(t.width||0))/r),s[e?"translateX":"x"]=Math.round(a),"bottom"===c?o=1:"middle"===c&&(o=2),o&&(l+=(i.height-(t.height||0))/o),s[e?"translateY":"y"]=Math.round(l),this[this.placed?"animate":"attr"](s),this.placed=!0,this.alignAttr=s,this},t.prototype.alignSetter=function(t){var e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))},t.prototype.animate=function(t,e,i){var n=this,r=s(M(e,this.renderer.globalAnimation,!0));return e=r.defer,M(c.hidden,c.msHidden,c.webkitHidden,!1)&&(r.duration=0),0!==r.duration?(i&&(r.complete=i),E(function(){n.element&&o(n,t,r)},e)):(this.attr(t,void 0,i),T(t,function(t,e){r.step&&r.step.call(this,t,{prop:e,pos:1,elem:this})},this)),this},t.prototype.applyTextOutline=function(t){var e=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(e.style.fill)));var i=t.split(" ");if(t=i[i.length-1],(i=i[0])&&"none"!==i&&n.svg){this.fakeTS=!0,this.ySetter=this.xSetter,i=i.replace(/(^[\d\.]+)(.*?)$/g,function(t,e,i){return 2*Number(e)+i}),this.removeTextOutline();var r=c.createElementNS(u,"tspan");m(r,{class:"highcharts-text-outline",fill:t,stroke:t,"stroke-width":i,"stroke-linejoin":"round"}),[].forEach.call(e.childNodes,function(t){var e=t.cloneNode(!0);e.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(t){return e.removeAttribute(t)}),r.appendChild(e)});var o=c.createElementNS(u,"tspan");o.textContent="​",["x","y"].forEach(function(t){var i=e.getAttribute(t);i&&o.setAttribute(t,i)}),r.appendChild(o),e.insertBefore(r,e.firstChild)}},t.prototype.attr=function(t,e,i,n){var r,o,s,l=this.element,c=this.symbolCustomAttribs,h=this;if("string"==typeof t&&void 0!==e){var d=t;(t={})[d]=e}return"string"==typeof t?h=(this[t+"Getter"]||this._defaultGetter).call(this,t,l):(T(t,function(e,i){o=!1,n||a(this,i),this.symbolName&&-1!==c.indexOf(i)&&(r||(this.symbolAttr(t),r=!0),o=!0),!this.rotation||"x"!==i&&"y"!==i||(this.doTransform=!0),o||((s=this[i+"Setter"]||this._defaultSetter).call(this,e,i,l),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(i)&&this.updateShadows(i,e,s))},this),this.afterSetters()),i&&i.call(this),h},t.prototype.clip=function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},t.prototype.crisp=function(t,e){e=e||t.strokeWidth||0;var i=Math.round(e)%2/2;return t.x=Math.floor(t.x||this.x||0)+i,t.y=Math.floor(t.y||this.y||0)+i,t.width=Math.floor((t.width||this.width||0)-2*i),t.height=Math.floor((t.height||this.height||0)-2*i),v(t.strokeWidth)&&(t.strokeWidth=e),t},t.prototype.complexColor=function(t,e,n){var r,o,s,a,l,c,h,d,u,p,f,m=this.renderer,g=[];w(this.renderer,"complexColor",{args:arguments},function(){if(t.radialGradient?o="radialGradient":t.linearGradient&&(o="linearGradient"),o){if(s=t[o],l=m.gradients,c=t.stops,u=n.radialReference,k(s)&&(t[o]=s={x1:s[0],y1:s[1],x2:s[2],y2:s[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===o&&u&&!v(s.gradientUnits)&&(a=s,s=A(s,m.getRadialAttr(u,a),{gradientUnits:"userSpaceOnUse"})),T(s,function(t,e){"id"!==e&&g.push(e,t)}),T(c,function(t){g.push(t)}),g=g.join(","),l[g])p=l[g].attr("id");else{s.id=p=O();var y=l[g]=m.createElement(o).attr(s).add(m.defs);
1y.radAttr=a,y.stops=[],c.forEach(function(t){0===t[1].indexOf("rgba")?(r=i.parse(t[1]),h=r.get("rgb"),d=r.get("a")):(h=t[1],d=1),t=m.createElement("stop").attr({offset:t[0],"stop-color":h,"stop-opacity":d}).add(y),y.stops.push(t)})}f="url("+m.url+"#"+p+")",n.setAttribute(e,f),n.gradient=g,t.toString=function(){return f}}})},t.prototype.css=function(t){var e=this.styles,i={},n=this.element,r=["textOutline","textOverflow","width"],o="",s=!e;if(t&&t.color&&(t.fill=t.color),e&&T(t,function(t,n){e&&e[n]!==t&&(i[n]=t,s=!0)}),s){if(e&&(t=x(e,i)),t)if(null===t.width||"auto"===t.width)delete this.textWidth;else if("text"===n.nodeName.toLowerCase()&&t.width)var a=this.textWidth=P(t.width);if(this.styles=t,a&&!d&&this.renderer.forExport&&delete t.width,n.namespaceURI===this.SVG_NS){var l=function(t,e){return"-"+e.toLowerCase()};T(t,function(t,e){-1===r.indexOf(e)&&(o+=e.replace(/([A-Z])/g,l)+":"+t+";")}),o&&m(n,"style",o)}else y(n,t);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t&&t.textOutline&&this.applyTextOutline(t.textOutline))}return this},t.prototype.dashstyleSetter=function(t){var e=this["stroke-width"];if("inherit"===e&&(e=1),t=t&&t.toLowerCase()){var i=t.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(t=i.length;t--;)i[t]=""+P(i[t])*M(e,NaN);t=i.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},t.prototype.destroy=function(){var t=this,e=t.element||{},i=t.renderer,n=e.ownerSVGElement,r=i.isSVG&&"SPAN"===e.nodeName&&t.parentGroup||void 0;if(e.onclick=e.onmouseout=e.onmouseover=e.onmousemove=e.point=null,a(t),t.clipPath&&n){var o=t.clipPath;[].forEach.call(n.querySelectorAll("[clip-path],[CLIP-PATH]"),function(t){-1<t.getAttribute("clip-path").indexOf(o.element.id)&&t.removeAttribute("clip-path")}),t.clipPath=o.destroy()}if(t.stops){for(n=0;n<t.stops.length;n++)t.stops[n].destroy();t.stops.length=0,t.stops=void 0}for(t.safeRemoveChild(e),i.styledMode||t.destroyShadows();r&&r.div&&0===r.div.childNodes.length;)e=r.parentGroup,t.safeRemoveChild(r.div),delete r.div,r=e;t.alignTo&&b(i.alignedObjects,t),T(t,function(e,i){t[i]&&t[i].parentGroup===t&&t[i].destroy&&t[i].destroy(),delete t[i]})},t.prototype.destroyShadows=function(){(this.shadows||[]).forEach(function(t){this.safeRemoveChild(t)},this),this.shadows=void 0},t.prototype.destroyTextPath=function(t,e){var i=t.getElementsByTagName("text")[0];if(i){if(i.removeAttribute("dx"),i.removeAttribute("dy"),e.element.setAttribute("id",""),this.textPathWrapper&&i.getElementsByTagName("textPath").length){for(t=this.textPathWrapper.element.childNodes;t.length;)i.appendChild(t[0]);i.removeChild(this.textPathWrapper.element)}}else(t.getAttribute("dx")||t.getAttribute("dy"))&&(t.removeAttribute("dx"),t.removeAttribute("dy"));this.textPathWrapper&&(this.textPathWrapper=this.textPathWrapper.destroy())},t.prototype.dSetter=function(t,e,i){k(t)&&("string"==typeof t[0]&&(t=this.renderer.pathToSegments(t)),this.pathArray=t,t=t.reduce(function(t,e,i){return e&&e.join?(i?t+" ":"")+e.join(" "):(e||"").toString()},"")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),this[e]!==t&&(i.setAttribute(e,t),this[e]=t)},t.prototype.fadeOut=function(t){var e=this;e.animate({opacity:0}
1,{duration:M(t,150),complete:function(){e.attr({y:-9999}).hide()}})},t.prototype.fillSetter=function(t,e,i){"string"==typeof t?i.setAttribute(e,t):t&&this.complexColor(t,e,i)},t.prototype.getBBox=function(e,i){var n=this.renderer,r=this.element,o=this.styles,s=this.textStr,a=n.cache,c=n.cacheKeys,h=r.namespaceURI===this.SVG_NS;i=M(i,this.rotation,0);var d,u=n.styledMode?r&&t.prototype.getStyle.call(r,"font-size"):o&&o.fontSize;if(v(s)){var p=s.toString();-1===p.indexOf("<")&&(p=p.replace(/[0-9]/g,"0")),p+=["",i,u,this.textWidth,o&&o.textOverflow,o&&o.fontWeight].join()}if(p&&!e&&(d=a[p]),!d){if(h||n.forExport){try{var f=this.fakeTS&&function(t){var e=r.querySelector(".highcharts-text-outline");e&&y(e,{display:t})};C(f)&&f("none"),d=r.getBBox?x({},r.getBBox()):{width:r.offsetWidth,height:r.offsetHeight},C(f)&&f("")}catch(t){}(!d||0>d.width)&&(d={width:0,height:0})}else d=this.htmlGetBBox();if(n.isSVG&&(e=d.width,n=d.height,h&&(d.height=n={"11px,17":14,"13px,20":16}[(u||"")+","+Math.round(n)]||n),i&&(h=i*l,d.width=Math.abs(n*Math.sin(h))+Math.abs(e*Math.cos(h)),d.height=Math.abs(n*Math.cos(h))+Math.abs(e*Math.sin(h)))),p&&(""===s||0<d.height)){for(;250<c.length;)delete a[c.shift()];a[p]||c.push(p),a[p]=d}}return d},t.prototype.getStyle=function(t){return p.getComputedStyle(this.element||this,"").getPropertyValue(t)},t.prototype.hasClass=function(t){return-1!==(""+this.attr("class")).split(" ").indexOf(t)},t.prototype.hide=function(t){return t?this.attr({y:-9999}):this.attr({visibility:"hidden"}),this},t.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}},t.prototype.init=function(t,e){this.element="span"===e?g(e):c.createElementNS(this.SVG_NS,e),this.renderer=t,w(this,"afterInit")},t.prototype.invert=function(t){return this.inverted=t,this.updateTransform(),this},t.prototype.on=function(t,e){var i=this.onEvents;return i[t]&&i[t](),i[t]=f(this.element,t,e),this},t.prototype.opacitySetter=function(t,e,i){this.opacity=t=Number(Number(t).toFixed(3)),i.setAttribute(e,t)},t.prototype.removeClass=function(t){return this.attr("class",(""+this.attr("class")).replace(_(t)?new RegExp("(^| )"+t+"( |$)"):t," ").replace(/ +/g," ").trim())},t.prototype.removeTextOutline=function(){var t=this.element.querySelector("tspan.highcharts-text-outline");t&&this.safeRemoveChild(t)},t.prototype.safeRemoveChild=function(t){var e=t.parentNode;e&&e.removeChild(t)},t.prototype.setRadialReference=function(t){var e=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=t,e&&e.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this},t.prototype.setTextPath=function(t,i){var n=this.element,r=this.text?this.text.element:n,o={textAnchor:"text-anchor"},s=!1,a=this.textPathWrapper,l=!a;i=A(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},i);var c=e.filterUserAttributes(i.attributes);if(t&&i&&i.enabled){a&&null===a.element.parentNode?(l=!0,a=a.destroy()):a&&this.removeTextOutline.call(a.parentGroup),this.options&&this.options.padding&&(c.dx=-this.options.padding),a||(this.textPathWrapper=a=this.renderer.createElement("textPath"),s=!0);var d=a.element;if((i=t.element.getAttribute("id"))||t.element.setAttribute("id",i=O()),l)for(r.setAttribute("y",0),S(c.dx)&&r.setAttribute("x",-c.dx),t=[].slice.call(r.childNodes),l=0;l<t.length;l++){var u=t[l];u.nodeType!==p.Node.TEXT_NODE&&"tspan"!==u.nodeName||d.appendChild(u)}s&&a&&a.add({element:r}),d.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+i),v(c.dy)&&(d.parentNode.setAttribute("dy",c.dy),delete c.dy),v(c.dx)&&(d.parentNode.setAttribute("dx",c.dx),delete c.dx),T(c,function(t,e){d.setAttribute(o[e]||e,t)}),n.removeAttribute("transform"),this.removeTextOutline.call(a),this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0}),this.applyTextOutline=this.updateTransform=h}else a&&(delete this.updateTransform,delete this.applyTextOutline,this.destroyTextPath(n,t),this.updateTransform(),this.options&&this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this}
1,t.prototype.shadow=function(t,e,i){var n,r=[],o=this.element,s=this.oldShadowOptions,a={color:"#000000",offsetX:this.parentInverted?-1:1,offsetY:this.parentInverted?-1:1,opacity:.15,width:3},l=!1;if(!0===t?n=a:"object"==typeof t&&(n=x(a,t)),n&&(n&&s&&T(n,function(t,e){t!==s[e]&&(l=!0)}),l&&this.destroyShadows(),this.oldShadowOptions=n),n){if(!this.shadows){var c=n.opacity/n.width,h=this.parentInverted?"translate("+n.offsetY+", "+n.offsetX+")":"translate("+n.offsetX+", "+n.offsetY+")";for(a=1;a<=n.width;a++){var d=o.cloneNode(!1),u=2*n.width+1-2*a;m(d,{stroke:t.color||"#000000","stroke-opacity":c*a,"stroke-width":u,transform:h,fill:"none"}),d.setAttribute("class",(d.getAttribute("class")||"")+" highcharts-shadow"),i&&(m(d,"height",Math.max(m(d,"height")-u,0)),d.cutHeight=u),e?e.element.appendChild(d):o.parentNode&&o.parentNode.insertBefore(d,o),r.push(d)}this.shadows=r}}else this.destroyShadows();return this},t.prototype.show=function(t){return this.attr({visibility:t?"inherit":"visible"})},t.prototype.strokeSetter=function(e,i,n){this[i]=e,this.stroke&&this["stroke-width"]?(t.prototype.fillSetter.call(this,this.stroke,"stroke",n),n.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===i&&0===e&&this.hasStroke?(n.removeAttribute("stroke"),this.hasStroke=!1):this.renderer.styledMode&&this["stroke-width"]&&(n.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0)},t.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var t=this.getStyle("stroke-width"),e=0;if(t.indexOf("px")===t.length-2)e=P(t);else if(""!==t){var i=c.createElementNS(u,"rect");m(i,{width:t,"stroke-width":0}),this.element.parentNode.appendChild(i),e=i.getBBox().width,i.parentNode.removeChild(i)}return e},t.prototype.symbolAttr=function(t){var e=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach(function(i){e[i]=M(t[i],e[i])}),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})},t.prototype.textSetter=function(t){t!==this.textStr&&(delete this.textPxLength,this.textStr=t,this.added&&this.renderer.buildText(this))},t.prototype.titleSetter=function(t){var e=this.element,i=e.getElementsByTagName("title")[0]||c.createElementNS(this.SVG_NS,"title");e.insertBefore?e.insertBefore(i,e.firstChild):e.appendChild(i),i.textContent=String(M(t,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,">")},t.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},t.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},t.prototype.updateShadows=function(t,e,i){var n=this.shadows;if(n)for(var r=n.length;r--;)i.call(n[r],"height"===t?Math.max(e-(n[r].cutHeight||0),0):"d"===t?this.d:e,t,n[r])},t.prototype.updateTransform=function(){var t=this.scaleX,e=this.scaleY,i=this.inverted,n=this.rotation,r=this.matrix,o=this.element,s=this.translateX||0,a=this.translateY||0;i&&(s+=this.width,a+=this.height),s=["translate("+s+","+a+")"],v(r)&&s.push("matrix("+r.join(",")+")"),i?s.push("rotate(90) scale(-1,1)"):n&&s.push("rotate("+n+" "+M(this.rotationOriginX,o.getAttribute("x"),0)+" "+M(this.rotationOriginY,o.getAttribute("y")||0)+")"),(v(t)||v(e))&&s.push("scale("+M(t,1)+" "+M(e,1)+")"),s.length&&o.setAttribute("transform",s.join(" "))},t.prototype.visibilitySetter=function(t,e,i){"inherit"===t?i.removeAttribute(e):this[e]!==t&&i.setAttribute(e,t),this[e]=t},t.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},t.prototype.zIndexSetter=function(t,e){var i=this.renderer,n=this.parentGroup,r=(n||i).element||i.box,o=this.element;i=r===i.box;var s,a=!1,l=this.added;if(v(t)?(o.setAttribute("data-z-index",t),t=+t,this[e]===t&&(l=!1)):v(this[e])&&o.removeAttribute("data-z-index"),this[e]=t,l){for((t=this.zIndex)&&n&&(n.handleZ=!0),s=(e=r.childNodes).length-1;0<=s&&!a;s--){l=(n=e[s]).getAttribute("data-z-index");var c=!v(l);n!==o&&(0>t&&c&&!i&&!s?(r.insertBefore(o,e[s]),a=!0):(P(l)<=t||c&&(!v(t)||0<=t))&&(r.insertBefore(o,e[s+1]||null),a=!0))}a||(r.insertBefore(o,e[i?3:0]||null),a=!0)}return a},t}(),t.prototype["stroke-widthSetter"]=t.prototype.strokeSetter,t.prototype.yGetter=t.prototype.xGetter,t.prototype.matrixSetter=t.prototype.rotationOriginXSetter=t.prototype.rotationOriginYSetter=t.prototype.rotationSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},t}),e(i,"Core/Renderer/RendererRegistry.js",[i["Core/Globals.js"]],function(t){var e;return function(e){var i;e.rendererTypes={},e.getRendererType=function(t){return void 0===t&&(t=i),e.rendererTypes[t]||e.rendererTypes[i]},e.registerRendererType=function(n,r,o){e.rendererTypes[n]=r,i&&!o||(i=n,t.Renderer=r)}}(e||(e={})),e}
1),e(i,"Core/Renderer/SVG/SVGLabel.js",[i["Core/Renderer/SVG/SVGElement.js"],i["Core/Utilities.js"]],function(t,e){var i=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),n=e.defined,r=e.extend,o=e.isNumber,s=e.merge,a=e.pick,l=e.removeEvent;return function(e){function c(t,i,n,r,o,s,a,l,h,d){var u,p=e.call(this)||this;return p.paddingLeftSetter=p.paddingSetter,p.paddingRightSetter=p.paddingSetter,p.init(t,"g"),p.textStr=i,p.x=n,p.y=r,p.anchorX=s,p.anchorY=a,p.baseline=h,p.className=d,p.addClass("button"===d?"highcharts-no-tooltip":"highcharts-label"),d&&p.addClass("highcharts-"+d),p.text=t.text(void 0,0,0,l).attr({zIndex:1}),"string"==typeof o&&((u=/^url\((.*?)\)$/.test(o))||p.renderer.symbols[o])&&(p.symbolKey=o),p.bBox=c.emptyBBox,p.padding=3,p.baselineOffset=0,p.needsBox=t.styledMode||u,p.deferredAttr={},p.alignFactor=0,p}return i(c,e),c.prototype.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==this.alignFactor&&(this.alignFactor=t,this.bBox&&o(this.xSetting)&&this.attr({x:this.xSetting}))},c.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},c.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},c.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},c.prototype.css=function(e){if(e){var i={};e=s(e),c.textProps.forEach(function(t){void 0!==e[t]&&(i[t]=e[t],delete e[t])}),this.text.css(i);var n="width"in i;"fontSize"in i||"fontWeight"in i?this.updateTextPadding():n&&this.updateBoxSize()}return t.prototype.css.call(this,e)},c.prototype.destroy=function(){l(this.element,"mouseenter"),l(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)},c.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},c.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var t=this.padding,e=a(this.paddingLeft,t);return{width:this.width,height:this.height,x:this.bBox.x-e,y:this.bBox.y-t}},c.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},c.prototype.heightSetter=function(t){this.heightSetting=t},c.prototype.onAdd=function(){var t=this.textStr;this.text.add(this),this.attr({text:n(t)?t:"",x:this.x,y:this.y}),this.box&&n(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},c.prototype.paddingSetter=function(t,e){o(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0},c.prototype.rSetter=function(t,e){this.boxAttr(e,t)},c.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},c.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},c.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},c.prototype["text-alignSetter"]=function(t){this.textAlign=t},c.prototype.textSetter=function(t){void 0!==t&&this.text.attr({text:t}),this.updateTextPadding()},c.prototype.updateBoxSize=function(){var t=this.text.element.style,e={},i=this.padding,s=this.bBox=o(this.widthSetting)&&o(this.heightSetting)&&!this.textAlign||!n(this.text.textStr)?c.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||s.height||0)+2*i,t=this.renderer.fontMetrics(t&&t.fontSize,this.text),this.baselineOffset=i+Math.min((this.text.firstLineMetrics||t).b,s.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-t.h)/2),this.needsBox&&(this.box||((i=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect()).addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),i.add(this)),i=this.getCrispAdjust(),e.x=i,e.y=(this.baseline?-this.baselineOffset:0)+i,e.width=Math.round(this.width),e.height=Math.round(this.height),this.box.attr(r(e,this.deferredAttr)),this.deferredAttr={})},c.prototype.updateTextPadding=function(){var t=this.text;this.updateBoxSize();var e=this.baseline?0:this.baselineOffset,i=a(this.paddingLeft,this.padding);n(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(i+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),i===t.x&&e===t.y||
1(t.attr("x",i),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0)),void 0!==e&&t.attr("y",e)),t.x=i,t.y=e},c.prototype.widthSetter=function(t){this.widthSetting=o(t)?t:void 0},c.prototype.getPaddedWidth=function(){var t=this.padding,e=a(this.paddingLeft,t);return t=a(this.paddingRight,t),(this.widthSetting||this.bBox.width||0)+e+t},c.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},c.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},c.emptyBBox={width:0,height:0,x:0,y:0},c.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),c}(t)}),e(i,"Core/Renderer/SVG/Symbols.js",[i["Core/Utilities.js"]],function(t){function e(t,e,i,n,o){var a=[];if(o){var l=o.start||0,c=s(o.r,i);i=s(o.r,n||i);var h=(o.end||0)-.001;n=o.innerR;var d=s(o.open,.001>Math.abs((o.end||0)-l-2*Math.PI)),u=Math.cos(l),p=Math.sin(l),f=Math.cos(h),m=Math.sin(h);l=s(o.longArc,.001>h-l-Math.PI?0:1),a.push(["M",t+c*u,e+i*p],["A",c,i,0,l,s(o.clockwise,1),t+c*f,e+i*m]),r(n)&&a.push(d?["M",t+n*f,e+n*m]:["L",t+n*f,e+n*m],["A",n,n,0,l,r(o.clockwise)?1-o.clockwise:0,t+n*u,e+n*p]),d||a.push(["Z"])}return a}function i(t,e,i,r,o){return o&&o.r?n(t,e,i,r,o):[["M",t,e],["L",t+i,e],["L",t+i,e+r],["L",t,e+r],["Z"]]}function n(t,e,i,n,r){return[["M",t+(r=r&&r.r||0),e],["L",t+i-r,e],["C",t+i,e,t+i,e,t+i,e+r],["L",t+i,e+n-r],["C",t+i,e+n,t+i,e+n,t+i-r,e+n],["L",t+r,e+n],["C",t,e+n,t,e+n,t,e+n-r],["L",t,e+r],["C",t,e,t,e,t+r,e]]}var r=t.defined,o=t.isNumber,s=t.pick;return{arc:e,callout:function(t,e,i,r,s){var a=Math.min(s&&s.r||0,i,r),l=a+6,c=s&&s.anchorX;s=s&&s.anchorY||0;var h=n(t,e,i,r,{r:a});return o(c)?(t+c>=i?s>e+l&&s<e+r-l?h.splice(3,1,["L",t+i,s-6],["L",t+i+6,s],["L",t+i,s+6],["L",t+i,e+r-a]):h.splice(3,1,["L",t+i,r/2],["L",c,s],["L",t+i,r/2],["L",t+i,e+r-a]):0>=t+c?s>e+l&&s<e+r-l?h.splice(7,1,["L",t,s+6],["L",t-6,s],["L",t,s-6],["L",t,e+a]):h.splice(7,1,["L",t,r/2],["L",c,s],["L",t,r/2],["L",t,e+a]):s&&s>r&&c>t+l&&c<t+i-l?h.splice(5,1,["L",c+6,e+r],["L",c,e+r+6],["L",c-6,e+r],["L",t+a,e+r]):s&&0>s&&c>t+l&&c<t+i-l&&h.splice(1,1,["L",c-6,e],["L",c,e-6],["L",c+6,e],["L",i-a,e]),h):h},circle:function(t,i,n,r){return e(t+n/2,i+r/2,n/2,r/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(t,e,i,n){return[["M",t+i/2,e],["L",t+i,e+n/2],["L",t+i/2,e+n],["L",t,e+n/2],["Z"]]},rect:i,roundedRect:n,square:i,triangle:function(t,e,i,n){return[["M",t+i/2,e],["L",t+i,e+n],["L",t,e+n],["Z"]]},"triangle-down":function(t,e,i,n){return[["M",t,e],["L",t+i,e],["L",t+i/2,e+n],["Z"]]}}}),e(i,"Core/Renderer/SVG/TextBuilder.js",[i["Core/Renderer/HTML/AST.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],function(t,e,i){var n=e.doc,r=e.SVG_NS,o=e.win,s=i.attr,a=i.isString,l=i.objectEach,c=i.pick;return function(){function e(t){var e=t.styles;this.renderer=t.renderer,this.svgElement=t,this.width=t.textWidth,this.textLineHeight=e&&e.lineHeight,this.textOutline=e&&e.textOutline,this.ellipsis=!(!e||"ellipsis"!==e.textOverflow),this.noWrap=!(!e||"nowrap"!==e.whiteSpace),this.fontSize=e&&e.fontSize}return e.prototype.buildSVG=function(){var e=this.svgElement,i=e.element,r=e.renderer,o=c(e.textStr,"").toString(),s=-1!==o.indexOf("<"),l=i.childNodes;r=this.width&&!e.added&&r.box;var h=[o,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(h!==e.textCache){for(e.textCache=h,delete e.actualWidth,h=l.length;h--;)i.removeChild(l[h]);s||this.ellipsis||this.width||-1!==o.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(o))?""!==o&&(r&&r.appendChild(i),o=new t(o),this.modifyTree(o.nodes),o.addToDOM(e.element),this.modifyDOM(),this.ellipsis&&-1!==(i.textContent||"").indexOf("…")&&e.attr("title",this.unescapeEntities(e.textStr||"",["&lt;","&gt;"])),r&&r.removeChild(i)):i.appendChild(n.createTextNode(this.unescapeEntities(o))),a(this.textOutline)&&e.applyTextOutline&&e.applyTextOutline(this.textOutline)}},e.prototype.modifyDOM=function(){var t,e=this,i=this.svgElement,a=s(i.element,"x");for(i.firstLineMetrics=void 0;(t=i.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)i.element.removeChild(t);[].forEach.call(i.element.querySelectorAll("tspan.highcharts-br"),function(t,n){t.nextSibling&&t.previousSibling&&(0===n&&1===t.previousSibling.nodeType&&(i.firstLineMetrics=i.renderer.fontMetrics(void 0,t.previousSibling)),s(t,{dy:e.getLineHeight(t.nextSibling),x:a}))});var l=this.width||0;if(l){var c=function(t,o){var c=t.textContent||"",h=c.replace(/([^\^])-/g,"$1- ").split(" "),d=!e.noWrap&&(1<h.length||1<i.element.childNodes.length),u=e.getLineHeight(o),p=0,f=i.actualWidth;if(e.ellipsis)c&&e.truncate(t,c,void 0,0,Math.max(0,l-parseInt(e.fontSize||12,10)),function(t,e){return t.substring(0,e)+"…"});else if(d){for(c=[],d=[];o.firstChild&&o.firstChild!==t;)d.push(o.firstChild),o.removeChild(o.firstChild);for(;h.length;)h.length&&!e.noWrap&&0<p&&(c.push(t.textContent||""),t.textContent=h.join(" ").replace(/- /g,"-")),e.truncate(t,void 0,h,0===p&&f||0,l,function(t,e){return h.slice(0,e).join(" ").replace(/- /g,"-")}),f=i.actualWidth,p++;d.forEach(function(e){o.insertBefore(e,t)}
1),c.forEach(function(e){o.insertBefore(n.createTextNode(e),t),(e=n.createElementNS(r,"tspan")).textContent="​",s(e,{dy:u,x:a}),o.insertBefore(e,t)})}},h=function(t){[].slice.call(t.childNodes).forEach(function(e){e.nodeType===o.Node.TEXT_NODE?c(e,t):(-1!==e.className.baseVal.indexOf("highcharts-br")&&(i.actualWidth=0),h(e))})};h(i.element)}},e.prototype.getLineHeight=function(t){var e;return t=t.nodeType===o.Node.TEXT_NODE?t.parentElement:t,this.renderer.styledMode||(e=t&&/(px|em)$/.test(t.style.fontSize)?t.style.fontSize:this.fontSize||this.renderer.style.fontSize||12),this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e,t||this.svgElement.element).h},e.prototype.modifyTree=function(t){var e=this,i=function(n,r){var o=n.attributes;o=void 0===o?{}:o;var s=n.children,l=n.tagName,c=e.renderer.styledMode;"b"===l||"strong"===l?c?o.class="highcharts-strong":o.style="font-weight:bold;"+(o.style||""):"i"!==l&&"em"!==l||(c?o.class="highcharts-emphasized":o.style="font-style:italic;"+(o.style||"")),a(o.style)&&(o.style=o.style.replace(/(;| |^)color([ :])/,"$1fill$2")),"br"===l?(o.class="highcharts-br",n.textContent="​",(r=t[r+1])&&r.textContent&&(r.textContent=r.textContent.replace(/^ +/gm,""))):"a"===l&&s&&s.some(function(t){return"#text"===t.tagName})&&(n.children=[{children:s,tagName:"tspan"}]),"#text"!==l&&"a"!==l&&(n.tagName="tspan"),n.attributes=o,s&&s.filter(function(t){return"#text"!==t.tagName}).forEach(i)};t.forEach(i)},e.prototype.truncate=function(t,e,i,n,r,o){var s,a=this.svgElement,l=a.renderer,c=a.rotation,h=[],d=i?1:0,u=(e||i||"").length,p=u,f=function(r,s){s=s||r;var c=t.parentNode;if(c&&void 0===h[s])if(c.getSubStringLength)try{h[s]=n+c.getSubStringLength(0,i?s+1:s)}catch(t){}else l.getSpanWidth&&(t.textContent=o(e||i,r),h[s]=n+l.getSpanWidth(a,t));return h[s]};a.rotation=0;var m=f(t.textContent.length);if(n+m>r){for(;d<=u;)p=Math.ceil((d+u)/2),i&&(s=o(i,p)),m=f(p,s&&s.length-1),d===u?d=u+1:m>r?u=p-1:d=p;0===u?t.textContent="":e&&u===e.length-1||(t.textContent=s||o(e||i,p))}i&&i.splice(0,p),a.actualWidth=m,a.rotation=c},e.prototype.unescapeEntities=function(t,e){return l(this.renderer.escapes,function(i,n){e&&-1!==e.indexOf(i)||(t=t.toString().replace(new RegExp(i,"g"),n))}),t},e}()}),e(i,"Core/Renderer/SVG/SVGRenderer.js",[i["Core/Renderer/HTML/AST.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Renderer/RendererRegistry.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Renderer/SVG/SVGLabel.js"],i["Core/Renderer/SVG/Symbols.js"],i["Core/Renderer/SVG/TextBuilder.js"],i["Core/Utilities.js"]],function(t,e,i,n,r,o,s,a,l){var c,h=i.charts,d=i.deg2rad,u=i.doc,p=i.isFirefox,f=i.isMS,m=i.isWebKit,g=i.noop,y=i.SVG_NS,v=i.symbolSizes,b=i.win,x=l.addEvent,w=l.attr,k=l.createElement,C=l.css,S=l.defined,_=l.destroyObjectProperties,A=l.extend,T=l.isArray,M=l.isNumber,P=l.isObject,E=l.isString,O=l.merge,L=l.pick,D=l.pInt,I=l.uniqueKey;return i=function(){function i(t,e,i,n,r,o,s){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0,this.init(t,e,i,n,r,o,s)}return i.prototype.init=function(t,e,i,n,r,o,s){var a,l=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),c=l.element;s||l.css(this.getStyle(n)),t.appendChild(c),w(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&w(c,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=c,this.boxWrapper=l,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(u.createTextNode("Created with Highcharts 9.3.3")),this.defs=this.createElement("defs").add(),this.allowHTML=o,this.forExport=r,this.styledMode=s,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,i,!1),p&&t.getBoundingClientRect&&((e=function(){C(t,{left:0,top:0}),a=t.getBoundingClientRect(),C(t,{left:Math.ceil(a.left)-a.left+"px",top:Math.ceil(a.top)-a.top+"px"})})(),this.unSubPixelFix=x(b,"resize",e))},i.prototype.definition=function(e){return new t([e]).addToDOM(this.defs.element)},i.prototype.getReferenceURL=function(){if((p||m)&&u.getElementsByTagName("base").length){if(!S(c)){var e=I();e=new t([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:e},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+e+")",fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(u.body),C(e,{position:"fixed",top:0,left:0,zIndex:9e5});var i=u.elementFromPoint(6,6);c="hitme"===(i&&i.id),u.body.removeChild(e)}if(c)return b.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},i.prototype.getStyle=function(t){return this.style=A({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},i.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},i.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},i.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),_(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},i.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},i.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}},i.prototype.buildText=function(t){new a(t).buildSVG()},i.prototype.getContrast=function(t){return(t=e.parse(t).rgba)[0]*=1,t[1]*=1.2,t[2]*=.5,459<t[0]+t[1]+t[2]?"#000000":"#FFFFFF"},i.prototype.button=function(e,i,n,r,o,s,a,l,c,h){var d=this.label(e,i,n,c,void 0,void 0,h,void 0,"button"),u=this.styledMode,p=0,m=o?O(o):{};if(e=m&&m.style||{},m=t.filterUserAttributes(m),d.attr(O({padding:8,r:2},m)),!u){var g=(m=O({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontWeight:"normal"}},{style:e},m)).style;delete m.style;
1var y=(s=O(m,{fill:"#e6e6e6"},t.filterUserAttributes(s||{}))).style;delete s.style;var v=(a=O(m,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},t.filterUserAttributes(a||{}))).style;delete a.style;var b=(l=O(m,{style:{color:"#cccccc"}},t.filterUserAttributes(l||{}))).style;delete l.style}return x(d.element,f?"mouseover":"mouseenter",function(){3!==p&&d.setState(1)}),x(d.element,f?"mouseout":"mouseleave",function(){3!==p&&d.setState(p)}),d.setState=function(t){1!==t&&(d.state=p=t),d.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),u||d.attr([m,s,a,l][t||0]).css([g,y,v,b][t||0])},u||d.attr(m).css(A({cursor:"default"},g)),d.on("touchstart",function(t){return t.stopPropagation()}).on("click",function(t){3!==p&&r.call(d,t)})},i.prototype.crispLine=function(t,e,i){void 0===i&&(i="round");var n=t[0],r=t[1];return S(n[1])&&n[1]===r[1]&&(n[1]=r[1]=Math[i](n[1])-e%2/2),S(n[2])&&n[2]===r[2]&&(n[2]=r[2]=Math[i](n[2])+e%2/2),t},i.prototype.path=function(t){var e=this.styledMode?{}:{fill:"none"};return T(t)?e.d=t:P(t)&&A(e,t),this.createElement("path").attr(e)},i.prototype.circle=function(t,e,i){return t=P(t)?t:void 0===t?{}:{x:t,y:e,r:i},(e=this.createElement("circle")).xSetter=e.ySetter=function(t,e,i){i.setAttribute("c"+e,t)},e.attr(t)},i.prototype.arc=function(t,e,i,n,r,o){return P(t)?(e=(n=t).y,i=n.r,t=n.x):n={innerR:n,start:r,end:o},(t=this.symbol("arc",t,e,i,i,n)).r=i,t},i.prototype.rect=function(t,e,i,n,r,o){r=P(t)?t.r:r;var s=this.createElement("rect");return t=P(t)?t:void 0===t?{}:{x:t,y:e,width:Math.max(i,0),height:Math.max(n,0)},this.styledMode||(void 0!==o&&(t["stroke-width"]=o,t=s.crisp(t)),t.fill="none"),r&&(t.r=r),s.rSetter=function(t,e,i){s.r=t,w(i,{rx:t,ry:t})},s.rGetter=function(){return s.r||0},s.attr(t)},i.prototype.setSize=function(t,e,i){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:L(i,!0)?void 0:0}),this.alignElements()},i.prototype.g=function(t){var e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e},i.prototype.image=function(t,e,i,n,r,o){var s={preserveAspectRatio:"none"},a=function(t,e){t.setAttributeNS?t.setAttributeNS("http://www.w3.org/1999/xlink","href",e):t.setAttribute("hc-svg-href",e)};M(e)&&(s.x=e),M(i)&&(s.y=i),M(n)&&(s.width=n),M(r)&&(s.height=r);var l=this.createElement("image").attr(s);return e=function(e){a(l.element,t),o.call(l,e)},o?(a(l.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),i=new b.Image,x(i,"load",e),i.src=t,i.complete&&e({})):a(l.element,t),l},i.prototype.symbol=function(t,e,i,n,r,o){var s,a=this,l=/^url\((.*?)\)$/,c=l.test(t),d=!c&&(this.symbols[t]?t:"circle"),p=d&&this.symbols[d];if(p){"number"==typeof e&&(s=p.call(this.symbols,Math.round(e||0),Math.round(i||0),n||0,r||0,o));var f=this.path(s);a.styledMode||f.attr("fill","none"),A(f,{symbolName:d||void 0,x:e,y:i,width:n,height:r}),o&&A(f,o)}else if(c){var m=t.match(l)[1],g=f=this.image(m);g.imgwidth=L(v[m]&&v[m].width,o&&o.width),g.imgheight=L(v[m]&&v[m].height,o&&o.height);var y=function(t){return t.attr({width:t.width,height:t.height})};["width","height"].forEach(function(t){g[t+"Setter"]=function(t,e){var i=this["img"+e];this[e]=t,S(i)&&(o&&"within"===o.backgroundSize&&this.width&&this.height&&(i=Math.round(i*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(e,i),this.alignByTranslate||(t=((this[e]||0)-i)/2,this.attr("width"===e?{translateX:t}:{translateY:t})))}}),S(e)&&g.attr({x:e,y:i}),g.isImg=!0,S(g.imgwidth)&&S(g.imgheight)?y(g):(g.attr({width:0,height:0}),k("img",{onload:function(){var t=h[a.chartIndex];0===this.width&&(C(this,{position:"absolute",top:"-999em"}),u.body.appendChild(this)),v[m]={width:this.width,height:this.height},g.imgwidth=this.width,g.imgheight=this.height,g.element&&y(g),this.parentNode&&this.parentNode.removeChild(this),a.imgCount--,a.imgCount||!t||t.hasLoaded||t.onload()},src:m}),this.imgCount++)}return f}
1,i.prototype.clipRect=function(t,e,i,n){var r=I()+"-",o=this.createElement("clipPath").attr({id:r}).add(this.defs);return(t=this.rect(t,e,i,n,0).add(o)).id=r,t.clipPath=o,t.count=0,t},i.prototype.text=function(t,e,i,n){var r={};return!n||!this.allowHTML&&this.forExport?(r.x=Math.round(e||0),i&&(r.y=Math.round(i)),S(t)&&(r.text=t),t=this.createElement("text").attr(r),(!n||this.forExport&&!this.allowHTML)&&(t.xSetter=function(t,e,i){for(var n,r=i.getElementsByTagName("tspan"),o=i.getAttribute(e),s=0;s<r.length;s++)(n=r[s]).getAttribute(e)===o&&n.setAttribute(e,t);i.setAttribute(e,t)}),t):this.html(t,e,i)},i.prototype.fontMetrics=function(t,e){return t=!this.styledMode&&/px/.test(t)||!b.getComputedStyle?t||e&&e.style&&e.style.fontSize||this.style&&this.style.fontSize:e&&r.prototype.getStyle.call(e,"font-size"),{h:e=24>(t=/px/.test(t)?D(t):12)?t+3:Math.round(1.2*t),b:Math.round(.8*e),f:t}},i.prototype.rotCorr=function(t,e,i){var n=t;return e&&i&&(n=Math.max(n*Math.cos(e*d),4)),{x:-t/3*Math.sin(e*d),y:n}},i.prototype.pathToSegments=function(t){for(var e=[],i=[],n={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},r=0;r<t.length;r++)E(i[0])&&M(t[r])&&i.length===n[i[0].toUpperCase()]&&t.splice(r,0,i[0].replace("M","L").replace("m","l")),"string"==typeof t[r]&&(i.length&&e.push(i.slice(0)),i.length=0),i.push(t[r]);return e.push(i.slice(0)),e},i.prototype.label=function(t,e,i,n,r,s,a,l,c){return new o(this,t,e,i,n,r,s,a,l,c)},i.prototype.alignElements=function(){this.alignedObjects.forEach(function(t){return t.align()})},i}(),A(i.prototype,{Element:r,SVG_NS:y,escapes:{"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},symbols:s,draw:g}),n.registerRendererType("svg",i,!0),i}),e(i,"Core/Renderer/HTML/HTMLElement.js",[i["Core/Globals.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Utilities.js"]],function(t,e,i){var n=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),r=t.isFirefox,o=t.isMS,s=t.isWebKit,a=t.win,l=i.css,c=i.defined,h=i.extend,d=i.pick,u=i.pInt;return function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.compose=function(t){if(-1===e.composedClasses.indexOf(t)){e.composedClasses.push(t);var i=e.prototype,n=t.prototype;n.getSpanCorrection=i.getSpanCorrection,n.htmlCss=i.htmlCss,n.htmlGetBBox=i.htmlGetBBox,n.htmlUpdateTransform=i.htmlUpdateTransform,n.setSpanRotation=i.setSpanRotation}return t},e.prototype.getSpanCorrection=function(t,e,i){this.xCorr=-t*i,this.yCorr=-e},e.prototype.htmlCss=function(t){var e="SPAN"===this.element.tagName&&t&&"width"in t,i=d(e&&t.width,void 0);if(e){delete t.width,this.textWidth=i;var n=!0}return t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=h(this.styles,t),l(this.element,t),n&&this.htmlUpdateTransform(),this},e.prototype.htmlGetBBox=function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},e.prototype.htmlUpdateTransform=function(){if(this.added){var t=this.renderer,e=this.element,i=this.translateX||0,n=this.translateY||0,r=this.x||0,o=this.y||0,s=this.textAlign||"left",a={left:0,center:.5,right:1}[s],h=this.styles;if(h=h&&h.whiteSpace,l(e,{marginLeft:i,marginTop:n}),!t.styledMode&&this.shadows&&this.shadows.forEach(function(t){l(t,{marginLeft:i+1,marginTop:n+1})}),this.inverted&&[].forEach.call(e.childNodes,function(i){t.invertChild(i,e)}),"SPAN"===e.tagName){var d=this.rotation,p=this.textWidth&&u(this.textWidth),f=[d,s,e.innerHTML,this.textWidth,this.textAlign].join(),m=void 0;if(m=!1,p!==this.oldTextWidth){if(this.textPxLength)var g=this.textPxLength;else l(e,{width:"",whiteSpace:h||"nowrap"}),g=e.offsetWidth;(p>this.oldTextWidth||g>p)&&(/[ \-]/.test(e.textContent||e.innerText)||"ellipsis"===e.style.textOverflow)&&(l(e,{width:g>p||d?p+"px":"auto",display:"block",whiteSpace:h||"normal"}),this.oldTextWidth=p,m=!0)}this.hasBoxWidthChanged=m,f!==this.cTT&&(m=t.fontMetrics(e.style.fontSize,e).b,!c(d)||d===(this.oldRotation||0)&&s===this.oldAlign||this.setSpanRotation(d,a,m),this.get
1SpanCorrection(!c(d)&&this.textPxLength||e.offsetWidth,m,a,d,s)),l(e,{left:r+(this.xCorr||0)+"px",top:o+(this.yCorr||0)+"px"}),this.cTT=f,this.oldRotation=d,this.oldAlign=s}}else this.alignOnAdd=!0},e.prototype.setSpanRotation=function(t,e,i){var n={},c=o&&!/Edge/.test(a.navigator.userAgent)?"-ms-transform":s?"-webkit-transform":r?"MozTransform":a.opera?"-o-transform":void 0;c&&(n[c]=n.transform="rotate("+t+"deg)",n[c+(r?"Origin":"-origin")]=n.transformOrigin=100*e+"% "+i+"px",l(this.element,n))},e.composedClasses=[],e}(e)}),e(i,"Core/Renderer/HTML/HTMLRenderer.js",[i["Core/Renderer/HTML/AST.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Renderer/SVG/SVGRenderer.js"],i["Core/Utilities.js"]],function(t,e,i,n){var r=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),o=n.attr,s=n.createElement,a=n.extend,l=n.pick;return function(i){function n(){return null!==i&&i.apply(this,arguments)||this}return r(n,i),n.compose=function(t){return-1===n.composedClasses.indexOf(t)&&(n.composedClasses.push(t),t.prototype.html=n.prototype.html),t},n.prototype.html=function(i,n,r){var c=this.createElement("span"),h=c.element,d=c.renderer,u=d.isSVG,p=function(t,i){["opacity","visibility"].forEach(function(n){t[n+"Setter"]=function(r,o,s){var a=t.div?t.div.style:i;e.prototype[n+"Setter"].call(this,r,o,s),a&&(a[o]=r)}}),t.addedSetters=!0};return c.textSetter=function(e){e!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,l(e,"")),this.textStr=e,c.doTransform=!0)},u&&p(c,c.element.style),c.xSetter=c.ySetter=c.alignSetter=c.rotationSetter=function(t,e){"align"===e?c.alignValue=c.textAlign=t:c[e]=t,c.doTransform=!0},c.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},c.attr({text:i,x:Math.round(n),y:Math.round(r)}).css({position:"absolute"}),d.styledMode||c.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),h.style.whiteSpace="nowrap",c.css=c.htmlCss,u&&(c.add=function(t){var e=d.box.parentNode,i=[];if(this.parentGroup=t){var n=t.div;if(!n){for(;t;)i.push(t),t=t.parentGroup;i.reverse().forEach(function(t){function r(e,i){t[i]=e,"translateX"===i?d.left=e+"px":d.top=e+"px",t.doTransform=!0}var l=o(t.element,"class"),h=t.styles||{},d=(n=t.div=t.div||s("div",l?{className:l}:void 0,{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px",display:t.display,opacity:t.opacity,cursor:h.cursor,pointerEvents:h.pointerEvents,visibility:t.visibility},n||e)).style;a(t,{classSetter:function(t){return function(e){this.element.setAttribute("class",e),t.className=e}}(n),on:function(){return i[0].div&&c.on.apply({element:i[0].div,onEvents:t.onEvents},arguments),t},translateXSetter:r,translateYSetter:r}),t.addedSetters||p(t)})}}else n=e;return n.appendChild(h),c.added=!0,c.alignOnAdd&&c.htmlUpdateTransform(),c}),c},n.composedClasses=[],n}(i)}),e(i,"Core/Axis/AxisDefaults.js",[],function(){var t;return function(t){t.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"},t.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(){return(0,this.axis.chart.numberFormatter)(this.total,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},t.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},t.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},t.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}}(t||(t={})),t}),e(i,"Core/Foundation.js",[i["Core/Utilities.js"]],function(t){var e,i=t.addEvent,n=t.isFunction,r=t.objectEach,o=t.removeEvent;return function(t){t.registerEventOptions=function(t,e){t.eventOptions=t.eventOptions||{},r(e.events,function(e,r){t.eventOptions[r]!==e&&(t.eventOptions[r]&&(o(t,r,t.eventOptions[r]),delete t.eventOptions[r]),n(e)&&(t.eventOptions[r]=e,i(t,r,e)))})}}(e||(e={})),e}),e(i,"Core/Axis/Tick.js",[i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],function(t,e,
1i){var n=e.deg2rad,r=i.clamp,o=i.correctFloat,s=i.defined,a=i.destroyObjectProperties,l=i.extend,c=i.fireEvent,h=i.isNumber,d=i.merge,u=i.objectEach,p=i.pick;return e=function(){function e(t,e,i,n,r){this.isNewLabel=this.isNew=!0,this.axis=t,this.pos=e,this.type=i||"",this.parameters=r||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,c(this,"init"),i||n||this.addLabel()}return e.prototype.addLabel=function(){var e=this,i=e.axis,n=i.options,r=i.chart,a=i.categories,d=i.logarithmic,u=i.names,f=e.pos,m=p(e.options&&e.options.labels,n.labels),g=i.tickPositions,y=f===g[0],v=f===g[g.length-1],b=(!m.step||1===m.step)&&1===i.tickInterval;g=g.info;var x,w=e.label;if(a=this.parameters.category||(a?p(a[f],u[f],f):f),d&&h(a)&&(a=o(d.lin2log(a))),i.dateTime)if(g)var k=r.time.resolveDTLFormat(n.dateTimeLabelFormats[!n.grid&&g.higherRanks[f]||g.unitName]),C=k.main;else h(a)&&(C=i.dateTime.getXDateFormat(a,n.dateTimeLabelFormats||{}));e.isFirst=y,e.isLast=v;var S={axis:i,chart:r,dateTimeLabelFormat:C,isFirst:y,isLast:v,pos:f,tick:e,tickPositionInfo:g,value:a};c(this,"labelFormat",S);var _=function(e){return m.formatter?m.formatter.call(e,e):m.format?(e.text=i.defaultLabelFormatter.call(e),t.format(m.format,e,r)):i.defaultLabelFormatter.call(e,e)};n=_.call(S,S);var A=k&&k.list;e.shortenLabel=A?function(){for(x=0;x<A.length;x++)if(l(S,{dateTimeLabelFormat:A[x]}),w.attr({text:_.call(S,S)}),w.getBBox().width<i.getSlotWidth(e)-2*m.padding)return;w.attr({text:""})}:void 0,b&&i._addedPlotLB&&e.moveLabel(n,m),s(w)||e.movedLabel?w&&w.textStr!==n&&!b&&(!w.textWidth||m.style.width||w.styles.width||w.css({width:null}),w.attr({text:n}),w.textPxLength=w.getBBox().width):(e.label=w=e.createLabel({x:0,y:0},n,m),e.rotation=0)},e.prototype.createLabel=function(t,e,i){var n=this.axis,r=n.chart;return(t=s(e)&&i.enabled?r.renderer.text(e,t.x,t.y,i.useHTML).add(n.labelGroup):null)&&(r.styledMode||t.css(d(i.style)),t.textPxLength=t.getBBox().width),t},e.prototype.destroy=function(){a(this,this.axis)},e.prototype.getPosition=function(t,e,i,n){var s=this.axis,a=s.chart,l=n&&a.oldChartHeight||a.chartHeight;return(t={x:t?o(s.translate(e+i,null,null,n)+s.transB):s.left+s.offset+(s.opposite?(n&&a.oldChartWidth||a.chartWidth)-s.right-s.left:0),y:t?l-s.bottom+s.offset-(s.opposite?s.height:0):o(l-s.translate(e+i,null,null,n)-s.transB)}).y=r(t.y,-1e5,1e5),c(this,"afterGetPosition",{pos:t}),t},e.prototype.getLabelPosition=function(t,e,i,r,o,a,l,h){var d=this.axis,u=d.transA,p=d.isLinked&&d.linkedParent?d.linkedParent.reversed:d.reversed,f=d.staggerLines,m=d.tickRotCorr||{x:0,y:0},g=r||d.reserveSpaceDefault?0:-d.labelOffset*("center"===d.labelAlign?.5:1),y={},v=o.y;return s(v)||(v=0===d.side?i.rotation?-8:-i.getBBox().height:2===d.side?m.y+8:Math.cos(i.rotation*n)*(m.y-i.getBBox(!1,0).height/2)),t=t+o.x+g+m.x-(a&&r?a*u*(p?-1:1):0),e=e+v-(a&&!r?a*u*(p?1:-1):0),f&&(i=l/(h||1)%f,d.opposite&&(i=f-i-1),e+=d.labelOffset/f*i),y.x=t,y.y=Math.round(e),c(this,"afterGetLabelPosition",{pos:y,tickmarkOffset:a,index:l}),y},e.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},e.prototype.getMarkPath=function(t,e,i,n,r,o){return o.crispLine([["M",t,e],["L",t+(r?0:-i),e+(r?i:0)]],n)},e.prototype.handleOverflow=function(t){var e=this.axis,i=e.options.labels,r=t.x,o=e.chart.chartWidth,s=e.chart.spacing,a=p(e.labelLeft,Math.min(e.pos,s[3]));s=p(e.labelRight,Math.max(e.isRadial?0:e.pos+e.len,o-s[1]));var l,c=this.label,h=this.rotation,d={left:0,center:.5,right:1}[e.labelAlign||c.attr("align")],u=c.getBBox().width,f=e.getSlotWidth(this),m={},g=f,y=1;h||"justify"!==i.overflow?0>h&&r-d*u<a?l=Math.round(r/Math.cos(h*n)-a):0<h&&r+d*u>s&&(l=Math.round((o-r)/Math.cos(h*n))):(o=r+(1-d)*u,r-d*u<a?g=t.x+g*(1-d)-a:o>s&&(g=s-t.x+g*d,y=-1),(g=Math.min(f,g))<f&&"center"===e.labelAlign&&(t.x+=y*(f-g-d*(f-Math.min(u,g)))),(u>g||e.autoRotation&&(c.styles||{}).width)&&(l=g)),l&&(this.shortenLabel?this.shortenLabel():(m.width=Math.floor(l)+"px",(i.style||{}).textOverflow||(m.textOverflow="ellipsis"),c.css(m)))},e.prototype.moveLabel=function(t,e){var i=this,n=i.label,r=i.axis,o=r.reversed,s=!1;if(n&&n.textStr===t?(i.movedLabel=n,s=!0,delete i.label):u(r.ticks,function(e){s||e.isNew||e===i||!e.label||e.label.textStr!==t||(i.movedLabel=e.label,s=!0,e.labelPos=i.movedLabel.xy,delete e.label)}),!s&&(i.labelPos||n)){var a=i.labelPos||n.xy;n=r.horiz?o?0:r.width+r.left:a.x,r=r.horiz?a.y:o?r.width+r.left:0,i.movedLabel=i.createLabel({x:n,y:r},t,e),i.movedLabel&&i.movedLabel.attr({opacity:0}
1)}},e.prototype.render=function(t,e,i){var n=this.axis,r=n.horiz,o=this.pos,s=p(this.tickmarkOffset,n.tickmarkOffset);s=(o=this.getPosition(r,o,s,e)).x;var a=o.y;n=r&&s===n.pos+n.len||!r&&a===n.pos?-1:1,r=p(i,this.label&&this.label.newOpacity,1),i=p(i,1),this.isActive=!0,this.renderGridLine(e,i,n),this.renderMark(o,i,n),this.renderLabel(o,e,r,t),this.isNew=!1,c(this,"afterRender")},e.prototype.renderGridLine=function(t,e,i){var n=this.axis,r=n.options,o={},s=this.pos,a=this.type,l=p(this.tickmarkOffset,n.tickmarkOffset),c=n.chart.renderer,h=this.gridLine,d=r.gridLineWidth,u=r.gridLineColor,f=r.gridLineDashStyle;"minor"===this.type&&(d=r.minorGridLineWidth,u=r.minorGridLineColor,f=r.minorGridLineDashStyle),h||(n.chart.styledMode||(o.stroke=u,o["stroke-width"]=d||0,o.dashstyle=f),a||(o.zIndex=1),t&&(e=0),this.gridLine=h=c.path().attr(o).addClass("highcharts-"+(a?a+"-":"")+"grid-line").add(n.gridGroup)),h&&(i=n.getPlotLinePath({value:s+l,lineWidth:h.strokeWidth()*i,force:"pass",old:t}))&&h[t||this.isNew?"attr":"animate"]({d:i,opacity:e})},e.prototype.renderMark=function(t,e,i){var n=this.axis,r=n.options,o=n.chart.renderer,s=this.type,a=n.tickSize(s?s+"Tick":"tick"),l=t.x;t=t.y;var c=p(r["minor"!==s?"tickWidth":"minorTickWidth"],!s&&n.isXAxis?1:0);r=r["minor"!==s?"tickColor":"minorTickColor"];var h=this.mark,d=!h;a&&(n.opposite&&(a[0]=-a[0]),h||(this.mark=h=o.path().addClass("highcharts-"+(s?s+"-":"")+"tick").add(n.axisGroup),n.chart.styledMode||h.attr({stroke:r,"stroke-width":c})),h[d?"attr":"animate"]({d:this.getMarkPath(l,t,a[0],h.strokeWidth()*i,n.horiz,o),opacity:e}))},e.prototype.renderLabel=function(t,e,i,n){var r=this.axis,o=r.horiz,s=r.options,a=this.label,l=s.labels,c=l.step;r=p(this.tickmarkOffset,r.tickmarkOffset);var d=t.x;t=t.y;var u=!0;a&&h(d)&&(a.xy=t=this.getLabelPosition(d,t,a,o,l,r,n,c),this.isFirst&&!this.isLast&&!s.showFirstLabel||this.isLast&&!this.isFirst&&!s.showLastLabel?u=!1:!o||l.step||l.rotation||e||0===i||this.handleOverflow(t),c&&n%c&&(u=!1),u&&h(t.y)?(t.opacity=i,a[this.isNewLabel?"attr":"animate"](t),this.isNewLabel=!1):(a.attr("y",-9999),this.isNewLabel=!0))},e.prototype.replaceMovedLabel=function(){var t=this.label,e=this.axis,i=e.reversed;if(t&&!this.isNew){var n=e.horiz?i?e.left:e.width+e.left:t.xy.x;i=e.horiz?t.xy.y:i?e.width+e.top:e.top,t.animate({x:n,y:i,opacity:0},void 0,t.destroy),delete this.label}e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},e}(),e}),e(i,"Core/Axis/Axis.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/AxisDefaults.js"],i["Core/Color/Color.js"],i["Core/DefaultOptions.js"],i["Core/Foundation.js"],i["Core/Globals.js"],i["Core/Axis/Tick.js"],i["Core/Utilities.js"]],function(t,e,i,n,r,o,s,a){var l=t.animObject,c=n.defaultOptions,h=r.registerEventOptions,d=o.deg2rad,u=a.arrayMax,p=a.arrayMin,f=a.clamp,m=a.correctFloat,g=a.defined,y=a.destroyObjectProperties,v=a.erase,b=a.error,x=a.extend,w=a.fireEvent,k=a.getMagnitude,C=a.isArray,S=a.isNumber,_=a.isString,A=a.merge,T=a.normalizeTickInterval,M=a.objectEach,P=a.pick,E=a.relativeLength,O=a.removeEvent,L=a.splat,D=a.syncTimeout;return t=function(){function t(t,e){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.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.categories=this.bottom=this.alternateBands=void 0,this.init(t,e)}return t.prototype.init=function(t,e){var i=e.isX;this.chart=t,this.horiz=t.inverted&&!this.isZAxis?!i:i,this.isXAxis=i,this.coll=this.coll||(i?"xAxis":"yAxis"),w(this,"init",{userOptions:e}),this.opposite=P(e.opposite,this.opposite),this.side=P(e.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(e);var n=this.options,r=n.labels,o=n.type;this.userOptions=e,this.minPixelPadding=0,this.reversed=P(n.reversed,this.reversed),this.visible=n.visible,this.zoomEnabled=n.zoomEnabled,this.hasNames="category"===o||!0===n.categories,this.categories=n.categories||this.hasNames,this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=g(n.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=n.minRange||n.maxZoom,this.range=n.range,this.offset=n.offset||0,this.min=this.max=null,e=P(n.crosshair,L(t.options.tooltip.crosshairs)[i?0:1]),this.crosshair=!0===e?{}:e,-1===t.axes.indexOf(this)&&(i?t.axes.splice(t.xAxis.length,0,this):t.axes.push(this),t[this.coll].push(this)),this.series=this.series||[],t.inverted&&!this.isZAxis&&i&&void 0===this.reversed&&(this.reversed=!0),this.labelRotation=S(r.rotation)?r.rotation:void 0,h(this,n),w(this,"afterInit")},t.prototype.setOptions=function(t){this.options=A(e.defaultXAxisOptions,"yAxis"===this.coll&&e.defaultYAxisOptions,[e.defaultTopAxisOptions,e.defaultRightAxisOptions,e.defaultBottomAxisOptions,e.defaultLeftAxisOptions][this.side],A(c[this.coll],t)),w(this,"afterSetOptions",{userOptions:t})},t.prototype.defaultLabelFormatter=function(t){var e=this.axis;t=this.chart.numberFormatter;var i=S(this.value)?this.value:NaN,n=e.chart.time,r=this.dateTimeLabelFormat,o=c.lang,s=o.numericSymbol
1s;o=o.numericSymbolMagnitude||1e3;var a=e.logarithmic?Math.abs(i):e.tickInterval,l=s&&s.length;if(e.categories)var h=""+this.value;else if(r)h=n.dateFormat(r,i);else if(l&&1e3<=a)for(;l--&&void 0===h;)a>=(e=Math.pow(o,l+1))&&0==10*i%e&&null!==s[l]&&0!==i&&(h=t(i/e,-1)+s[l]);return void 0===h&&(h=1e4<=Math.abs(i)?t(i,-1):t(i,-1,void 0,"")),h},t.prototype.getSeriesExtremes=function(){var t,e=this,i=e.chart;w(this,"getSeriesExtremes",null,function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=null,e.softThreshold=!e.isXAxis,e.stacking&&e.stacking.buildStacks(),e.series.forEach(function(n){if(n.visible||!i.options.chart.ignoreHiddenSeries){var r=n.options,o=r.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=o&&(o=null),e.isXAxis){if((r=n.xData).length){r=e.logarithmic?r.filter(e.validatePositiveValue):r;var s=(t=n.getXExtremes(r)).min,a=t.max;S(s)||s instanceof Date||(r=r.filter(S),s=(t=n.getXExtremes(r)).min,a=t.max),r.length&&(e.dataMin=Math.min(P(e.dataMin,s),s),e.dataMax=Math.max(P(e.dataMax,a),a))}}else n=n.applyExtremes(),S(n.dataMin)&&(s=n.dataMin,e.dataMin=Math.min(P(e.dataMin,s),s)),S(n.dataMax)&&(a=n.dataMax,e.dataMax=Math.max(P(e.dataMax,a),a)),g(o)&&(e.threshold=o),(!r.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}})}),w(this,"afterGetSeriesExtremes")},t.prototype.translate=function(t,e,i,n,r,o){var s=this.linkedParent||this,a=n&&s.old?s.old.min:s.min,l=s.minPixelPadding;r=(s.isOrdinal||s.brokenAxis&&s.brokenAxis.hasBreaks||s.logarithmic&&r)&&s.lin2val;var c=1,h=0;return(n=n&&s.old?s.old.transA:s.transA)||(n=s.transA),i&&(c*=-1,h=s.len),s.reversed&&(h-=(c*=-1)*(s.sector||s.len)),e?(t=(t*c+h-l)/n+a,r&&(t=s.lin2val(t))):(r&&(t=s.val2lin(t)),t=S(a)?c*(t-a)*n+h+c*l+(S(o)?n*o:0):void 0),t},t.prototype.toPixels=function(t,e){return this.translate(t,!1,!this.horiz,null,!0)+(e?0:this.pos)},t.prototype.toValue=function(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,null,!0)},t.prototype.getPlotLinePath=function(t){function e(t,e,i){return("pass"!==b&&t<e||t>i)&&(b?t=f(t,e,i):s=!0),t}var i,n,r,o,s,a=this,l=a.chart,c=a.left,h=a.top,d=t.old,u=t.value,p=t.lineWidth,m=d&&l.oldChartHeight||l.chartHeight,g=d&&l.oldChartWidth||l.chartWidth,y=a.transB,v=t.translatedValue,b=t.force;return t={value:u,lineWidth:p,old:d,force:b,acrossPanes:t.acrossPanes,translatedValue:v},w(this,"getPlotLinePath",t,function(t){v=P(v,a.translate(u,null,null,d)),v=f(v,-1e5,1e5),i=r=Math.round(v+y),n=o=Math.round(m-v-y),S(v)?a.horiz?(n=h,o=m-a.bottom,i=r=e(i,c,c+a.width)):(i=c,r=g-a.right,n=o=e(n,h,h+a.height)):(s=!0,b=!1),t.path=s&&!b?null:l.renderer.crispLine([["M",i,n],["L",r,o]],p||1)}),t.path},t.prototype.getLinearTickPositions=function(t,e,i){var n=m(Math.floor(e/t)*t);i=m(Math.ceil(i/t)*t);var r,o=[];if(m(n+t)===n&&(r=20),this.single)return[e];for(e=n;e<=i&&(o.push(e),(e=m(e+t,r))!==s);)var s=e;return o},t.prototype.getMinorTickInterval=function(){var t=this.options;return!0===t.minorTicks?P(t.minorTickInterval,"auto"):!1===t.minorTicks?null:t.minorTickInterval},t.prototype.getMinorTickPositions=function(){var t=this.options,e=this.tickPositions,i=this.minorTickInterval,n=this.pointRangePadding||0,r=this.min-n,o=(n=this.max+n)-r,s=[];if(o&&o/i<this.len/3){var a=this.logarithmic;if(a)this.paddedTicks.forEach(function(t,e,n){e&&s.push.apply(s,a.getLogTickPositions(i,n[e-1],n[e],!0))});else if(this.dateTime&&"auto"===this.getMinorTickInterval())s=s.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(i),r,n,t.startOfWeek));else for(t=r+(e[0]-r)%i;t<=n&&t!==s[0];t+=i)s.push(t)}return 0!==s.length&&this.trimTicks(s),s},t.prototype.adjustForMinRange=function(){var t,e,i,n,r=this.options,o=this.logarithmic,s=this.min,a=this.max,l=0;if(this.isXAxis&&void 0===this.minRange&&!o&&(g(r.min)||g(r.max)||g(r.floor)||g(r.ceiling)?this.minRange=null:(this.series.forEach(function(r){if(i=r.xData,n=r.xIncrement?1:i.length-1,1<i.length)for(t=n;0<t;t--)e=i[t]-i[t-1],(!l||e<l)&&(l=e)}),this.minRange=Math.min(5*l,this.dataMax-this.dataMin))),a-s<this.minRange){var c=this.dataMax-this.dataMin>=this.minRange,h=this.minRange,d=(h-a+s)/2;d=[s-d,P(r.min,s-d)],c&&(d[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),a=[(s=u(d))+h,P(r.max,s+h)],c&&(a[2]=o?o.log2lin(this.dataMax):this.dataMax),(a=p(a))-s<h&&(d[0]=a-h,d[1]=P(r.min,a-h),s=u(d))}this.min=s,this.max=a},t.prototype.getClosest=function(){var t;
1return this.categories?t=1:this.series.forEach(function(e){var i=e.closestPointRange,n=e.visible||!e.chart.options.chart.ignoreHiddenSeries;!e.noSharedTooltip&&g(i)&&n&&(t=g(t)?Math.min(t,i):i)}),t},t.prototype.nameToX=function(t){var e=C(this.categories),i=e?this.categories:this.names,n=t.options.x;if(t.series.requireSorting=!1,g(n)||(n=this.options.uniqueNames?e?i.indexOf(t.name):P(i.keys[t.name],-1):t.series.autoIncrement()),-1===n){if(!e)var r=i.length}else r=n;return void 0!==r&&(this.names[r]=t.name,this.names.keys[t.name]=r),r},t.prototype.updateNames=function(){var t=this,e=this.names;0<e.length&&(Object.keys(e.keys).forEach(function(t){delete e.keys[t]}),e.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(function(e){e.xIncrement=null,e.points&&!e.isDirtyData||(t.max=Math.max(t.max,e.xData.length-1),e.processData(),e.generatePoints()),e.data.forEach(function(i,n){if(i&&i.options&&void 0!==i.name){var r=t.nameToX(i);void 0!==r&&r!==i.x&&(i.x=r,e.xData[n]=r)}})}))},t.prototype.setAxisTranslation=function(){var t=this,e=t.max-t.min,i=t.linkedParent,n=!!t.categories,r=t.isXAxis,o=t.axisPointRange||0,s=0,a=0,l=t.transA;if(r||n||o){var c=t.getClosest();i?(s=i.minPointOffset,a=i.pointRangePadding):t.series.forEach(function(e){var i=n?1:r?P(e.options.pointRange,c,0):t.axisPointRange||0,l=e.options.pointPlacement;o=Math.max(o,i),t.single&&!n||(e=e.is("xrange")?!r:r,s=Math.max(s,e&&_(l)?0:i/2),a=Math.max(a,e&&"on"===l?0:i))}),i=t.ordinal&&t.ordinal.slope&&c?t.ordinal.slope/c:1,t.minPointOffset=s*=i,t.pointRangePadding=a*=i,t.pointRange=Math.min(o,t.single&&n?1:e),r&&(t.closestPointRange=c)}t.translationSlope=t.transA=l=t.staticScale||t.len/(e+a||1),t.transB=t.horiz?t.left:t.bottom,t.minPixelPadding=l*s,w(this,"afterSetAxisTranslation")},t.prototype.minFromRange=function(){return this.max-this.range},t.prototype.setTickInterval=function(t){var e=this.chart,i=this.logarithmic,n=this.options,r=this.isXAxis,o=this.isLinked,s=n.tickPixelInterval,a=this.categories,l=this.softThreshold,c=n.maxPadding,h=n.minPadding,d=S(n.tickInterval)&&0<=n.tickInterval?n.tickInterval:void 0,u=S(this.threshold)?this.threshold:null;this.dateTime||a||o||this.getTickAmount();var p=P(this.userMin,n.min),f=P(this.userMax,n.max);if(o){this.linkedParent=e[this.coll][n.linkedTo];var y=this.linkedParent.getExtremes();this.min=P(y.min,y.dataMin),this.max=P(y.max,y.dataMax),n.type!==this.linkedParent.options.type&&b(11,1,e)}else{if(l&&g(u))if(this.dataMin>=u)y=u,h=0;else if(this.dataMax<=u){var v=u;c=0}this.min=P(p,y,this.dataMin),this.max=P(f,v,this.dataMax)}if(i&&(this.positiveValuesOnly&&!t&&0>=Math.min(this.min,P(this.dataMin,this.min))&&b(10,1,e),this.min=m(i.log2lin(this.min),16),this.max=m(i.log2lin(this.max),16)),this.range&&g(this.max)&&(this.userMin=this.min=p=Math.max(this.dataMin,this.minFromRange()),this.userMax=f=this.max,this.range=null),w(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(a||this.axisPointRange||this.stacking&&this.stacking.usePercentage||o)&&g(this.min)&&g(this.max)&&(e=this.max-this.min)&&(!g(p)&&h&&(this.min-=e*h),!g(f)&&c&&(this.max+=e*c)),S(this.userMin)||(S(n.softMin)&&n.softMin<this.min&&(this.min=p=n.softMin),S(n.floor)&&(this.min=Math.max(this.min,n.floor))),S(this.userMax)||(S(n.softMax)&&n.softMax>this.max&&(this.max=f=n.softMax),S(n.ceiling)&&(this.max=Math.min(this.max,n.ceiling))),l&&g(this.dataMin)&&(u=u||0,!g(p)&&this.min<u&&this.dataMin>=u?this.min=this.options.minRange?Math.min(u,this.max-this.minRange):u:!g(f)&&this.max>u&&this.dataMax<=u&&(this.max=this.options.minRange?Math.max(u,this.min+this.minRange):u)),S(this.min)&&S(this.max)&&!this.chart.polar&&this.min>this.max&&(g(this.options.min)?this.max=this.min:g(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||void 0===this.min||void 0===this.max?1:o&&this.linkedParent&&!d&&s===this.linkedParent.options.tickPixelInterval?d=this.linkedParent.tickInterval:P(d,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,a?1:(this.max-this.min)*s/Math.max(this.len,s)),r&&!t){var x=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);
1this.series.forEach(function(t){t.forceCrop=t.forceCropping&&t.forceCropping(),t.processData(x)}),w(this,"postProcessData",{hasExtemesChanged:x})}this.setAxisTranslation(),w(this,"initialAxisTranslation"),this.pointRange&&!d&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),t=P(n.minTickInterval,this.dateTime&&!this.series.some(function(t){return t.noSharedTooltip})?this.closestPointRange:0),!d&&this.tickInterval<t&&(this.tickInterval=t),this.dateTime||this.logarithmic||d||(this.tickInterval=T(this.tickInterval,void 0,k(this.tickInterval),P(n.allowDecimals,.5>this.tickInterval||void 0!==this.tickAmount),!!this.tickAmount)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()},t.prototype.setTickPositions=function(){var t=this.options,e=t.tickPositions,i=this.getMinorTickInterval(),n=this.hasVerticalPanning(),r="colorAxis"===this.coll,o=(r||!n)&&t.startOnTick;n=(r||!n)&&t.endOnTick,r=t.tickPositioner,this.tickmarkOffset=this.categories&&"between"===t.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===i&&this.tickInterval?this.tickInterval/5:i,this.single=this.min===this.max&&g(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==t.allowDecimals),this.tickPositions=i=e&&e.slice(),!i&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?i=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,t.units),this.min,this.max,t.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max):(i=[this.min,this.max],b(19,!1,this.chart)),i.length>this.len&&((i=[i[0],i.pop()])[0]===i[1]&&(i.length=1)),this.tickPositions=i,r&&(r=r.apply(this,[this.min,this.max])))&&(this.tickPositions=i=r),this.paddedTicks=i.slice(0),this.trimTicks(i,o,n),this.isLinked||(this.single&&2>i.length&&!this.categories&&!this.series.some(function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement})&&(this.min-=.5,this.max+=.5),e||r||this.adjustTickAmount()),w(this,"afterSetTickPositions")},t.prototype.trimTicks=function(t,e,i){var n=t[0],r=t[t.length-1],o=!this.isOrdinal&&this.minPointOffset||0;if(w(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==n)this.min=n;else for(;this.min-o>t[0];)t.shift();if(i)this.max=r;else for(;this.max+o<t[t.length-1];)t.pop();0===t.length&&g(n)&&!this.options.tickPositions&&t.push((r+n)/2)}},t.prototype.alignToOthers=function(){var t,e={},i=this.options;return!1!==this.chart.options.chart.alignTicks&&i.alignTicks&&!1!==i.startOnTick&&!1!==i.endOnTick&&!this.logarithmic&&this.chart[this.coll].forEach(function(i){var n=i.options;n=[i.horiz?n.left:n.top,n.width,n.height,n.pane].join(),i.series.length&&(e[n]?t=!0:e[n]=1)}),t},t.prototype.getTickAmount=function(){var t=this.options,e=t.tickPixelInterval,i=t.tickAmount;!g(t.tickInterval)&&!i&&this.len<e&&!this.isRadial&&!this.logarithmic&&t.startOnTick&&t.endOnTick&&(i=2),!i&&this.alignToOthers()&&(i=Math.ceil(this.len/e)+1),4>i&&(this.finalTickAmt=i,i=5),this.tickAmount=i},t.prototype.adjustTickAmount=function(){var t=this.options,e=this.tickInterval,i=this.tickPositions,n=this.tickAmount,r=this.finalTickAmt,o=i&&i.length,s=P(this.threshold,this.softThreshold?0:null);if(this.hasData()&&S(this.min)&&S(this.max)){if(o<n){for(;i.length<n;)i.length%2||this.min===s?i.push(m(i[i.length-1]+e)):i.unshift(m(i[0]-e));this.transA*=(o-1)/(n-1),this.min=t.startOnTick?i[0]:Math.min(this.min,i[0]),this.max=t.endOnTick?i[i.length-1]:Math.max(this.max,i[i.length-1])}else o>n&&(this.tickInterval*=2,this.setTickPositions());if(g(r)){for(e=t=i.length;e--;)(3===r&&1==e%2||2>=r&&0<e&&e<t-1)&&i.splice(e,1);this.finalTickAmt=void 0}}},t.prototype.setScale=function(){var t=!1,e=!1;this.series.forEach(function(i){t=t||i.isDirtyData||i.isDirty,e=e||i.xAxis&&i.xAxis.isDirty||!1}),this.setAxisSize();var i=this.len!==(this.old&&this.old.len);i||t||e||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(this.stacking&&this.stacking.resetStacks(),this.forceRedraw=!1,this.get
1SeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=i||this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max))):this.stacking&&this.stacking.cleanStacks(),t&&this.panningState&&(this.panningState.isDirty=!0),w(this,"afterSetScale")},t.prototype.setExtremes=function(t,e,i,n,r){var o=this,s=o.chart;i=P(i,!0),o.series.forEach(function(t){delete t.kdTree}),r=x(r,{min:t,max:e}),w(o,"setExtremes",r,function(){o.userMin=t,o.userMax=e,o.eventArgs=r,i&&s.redraw(n)})},t.prototype.zoom=function(t,e){var i=this,n=this.dataMin,r=this.dataMax,o=this.options,s=Math.min(n,P(o.min,n)),a=Math.max(r,P(o.max,r));return w(this,"zoom",t={newMin:t,newMax:e},function(t){var e=t.newMin,o=t.newMax;e===i.min&&o===i.max||(i.allowZoomOutside||(g(n)&&(e<s&&(e=s),e>a&&(e=a)),g(r)&&(o<s&&(o=s),o>a&&(o=a))),i.displayBtn=void 0!==e||void 0!==o,i.setExtremes(e,o,!1,void 0,{trigger:"zoom"})),t.zoomed=!0}),t.zoomed},t.prototype.setAxisSize=function(){var t=this.chart,e=this.options,i=e.offsets||[0,0,0,0],n=this.horiz,r=this.width=Math.round(E(P(e.width,t.plotWidth-i[3]+i[1]),t.plotWidth)),o=this.height=Math.round(E(P(e.height,t.plotHeight-i[0]+i[2]),t.plotHeight)),s=this.top=Math.round(E(P(e.top,t.plotTop+i[0]),t.plotHeight,t.plotTop));e=this.left=Math.round(E(P(e.left,t.plotLeft+i[3]),t.plotWidth,t.plotLeft)),this.bottom=t.chartHeight-o-s,this.right=t.chartWidth-r-e,this.len=Math.max(n?r:o,0),this.pos=n?e:s},t.prototype.getExtremes=function(){var t=this.logarithmic;return{min:t?m(t.lin2log(this.min)):this.min,max:t?m(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},t.prototype.getThreshold=function(t){var e=this.logarithmic,i=e?e.lin2log(this.min):this.min;return e=e?e.lin2log(this.max):this.max,null===t||-1/0===t?t=i:1/0===t?t=e:i>t?t=i:e<t&&(t=e),this.translate(t,0,1,0,1)},t.prototype.autoLabelAlign=function(t){var e=(P(t,0)-90*this.side+720)%360;return w(this,"autoLabelAlign",t={align:"center"},function(t){15<e&&165>e?t.align="right":195<e&&345>e&&(t.align="left")}),t.align},t.prototype.tickSize=function(t){var e=this.options,i=P(e["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0),n=e["tick"===t?"tickLength":"minorTickLength"];if(i&&n){"inside"===e[t+"Position"]&&(n=-n);var r=[n,i]}return w(this,"afterTickSize",t={tickSize:r}),t.tickSize},t.prototype.labelMetrics=function(){var t=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[t]&&this.ticks[t].label)},t.prototype.unsquish=function(){var t,e,i=this.options.labels,n=this.horiz,r=this.tickInterval,o=this.len/(((this.categories?1:0)+this.max-this.min)/r),s=i.rotation,a=this.labelMetrics(),l=Math.max(this.max-this.min,0),c=function(t){var e=t/(o||1);return(e=1<e?Math.ceil(e):1)*r>l&&1/0!==t&&1/0!==o&&l&&(e=Math.ceil(l/r)),m(e*r)},h=r,u=Number.MAX_VALUE;if(n){if(!i.staggerLines&&!i.step)if(S(s))var p=[s];else o<i.autoRotationLimit&&(p=i.autoRotation);p&&p.forEach(function(i){if(i===s||i&&-90<=i&&90>=i){var n=(e=c(Math.abs(a.h/Math.sin(d*i))))+Math.abs(i/360);n<u&&(u=n,t=i,h=e)}})}else i.step||(h=c(a.h));return this.autoRotation=p,this.labelRotation=P(t,S(s)?s:0),h},t.prototype.getSlotWidth=function(t){var e=this.chart,i=this.horiz,n=this.options.labels,r=Math.max(this.tickPositions.length-(this.categories?0:1),1),o=e.margin[3];if(t&&S(t.slotWidth))return t.slotWidth;if(i&&2>n.step)return n.rotation?0:(this.staggerLines||1)*this.len/r;if(!i){if(void 0!==(t=n.style.width))return parseInt(String(t),10);if(o)return o-e.spacing[3]}return.33*e.chartWidth},t.prototype.renderUnsquish=function(){var t=this.chart,e=t.renderer,i=this.tickPositions,n=this.ticks,r=this.options.labels,o=r.style,s=this.horiz,a=this.getSlotWidth(),l=Math.max(1,Math.round(a-2*r.padding)),c={},h=this.labelMetrics(),d=o.textOverflow,u=0;if(_(r.rotation)||(c.rotation=r.rotation||0),i.forEach(function(t){(t=n[t]).movedLabel&&t.replaceMovedLabel(),t&&t.label&&t.label.textPxLength>u&&(u=t.label.textPxLength)}),this.maxLabelLength=u,this.autoRotation)u>l&&u>h.h?c.rotation=this.labelRotation:this.labelRotation=0;else if(a){var p=l;if(!d){var f="clip";for(l=i.length;!s&&l--;){var m=i[l];(m=n[m].label)&&(m.styles&&"ellipsis"===m.styles.textOverflow?m.css({textOverflow:"clip"}):m.textPxLength>a&&m.css({width:a+"px"}),m.getBBox().height>this.len/i.length-(h.h-h.f)&&(m.specificTextOverflow="ellipsis"))}}}c.rotation&&(p=u>.5*t.chartHeight?.33*t.chartHeight:u,d||(f="ellipsis")),(this.labelAlign=r.align||this.autoLabelAlign(this.labelRotation))&&(c.align=this.labelAlign),i.forEac
1h(function(t){var e=(t=n[t])&&t.label,i=o.width,r={};e&&(e.attr(c),t.shortenLabel?t.shortenLabel():p&&!i&&"nowrap"!==o.whiteSpace&&(p<e.textPxLength||"SPAN"===e.element.tagName)?(r.width=p+"px",d||(r.textOverflow=e.specificTextOverflow||f),e.css(r)):e.styles&&e.styles.width&&!r.width&&!i&&e.css({width:null}),delete e.specificTextOverflow,t.rotation=c.rotation)},this),this.tickRotCorr=e.rotCorr(h.b,this.labelRotation||0,0!==this.side)},t.prototype.hasData=function(){return this.series.some(function(t){return t.hasData()})||this.options.showEmpty&&g(this.min)&&g(this.max)},t.prototype.addTitle=function(t){var e,i=this.chart.renderer,n=this.horiz,r=this.opposite,o=this.options.title,s=this.chart.styledMode;this.axisTitle||((e=o.textAlign)||(e=(n?{low:"left",middle:"center",high:"right"}:{low:r?"right":"left",middle:"center",high:r?"left":"right"})[o.align]),this.axisTitle=i.text(o.text||"",0,0,o.useHTML).attr({zIndex:7,rotation:o.rotation,align:e}).addClass("highcharts-axis-title"),s||this.axisTitle.css(A(o.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),s||o.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[t?"show":"hide"](t)},t.prototype.generateTick=function(t){var e=this.ticks;e[t]?e[t].addLabel():e[t]=new s(this,t)},t.prototype.getOffset=function(){var t=this,e=this,i=e.chart,n=e.horiz,r=e.options,o=e.side,s=e.ticks,a=e.tickPositions,l=e.coll,c=e.axisParent,h=i.renderer,d=i.inverted&&!e.isZAxis?[1,0,3,2][o]:o,u=e.hasData(),p=r.title,f=r.labels,m=i.axisOffset;i=i.clipOffset;var y,v=[-1,1,1,-1][o],b=r.className,x=0,k=0,C=0;if(e.showAxis=y=u||r.showEmpty,e.staggerLines=e.horiz&&f.staggerLines||void 0,!e.axisGroup){var S=function(e,i,n){return h.g(e).attr({zIndex:n}).addClass("highcharts-"+l.toLowerCase()+i+" "+(t.isRadial?"highcharts-radial-axis"+i+" ":"")+(b||"")).add(c)};e.gridGroup=S("grid","-grid",r.gridZIndex),e.axisGroup=S("axis","",r.zIndex),e.labelGroup=S("axis-labels","-labels",f.zIndex)}if(u||e.isLinked?(a.forEach(function(t){e.generateTick(t)}),e.renderUnsquish(),e.reserveSpaceDefault=0===o||2===o||{1:"left",3:"right"}[o]===e.labelAlign,P(f.reserveSpace,"center"===e.labelAlign||null,e.reserveSpaceDefault)&&a.forEach(function(t){C=Math.max(s[t].getLabelSize(),C)}),e.staggerLines&&(C*=e.staggerLines),e.labelOffset=C*(e.opposite?-1:1)):M(s,function(t,e){t.destroy(),delete s[e]}),p&&p.text&&!1!==p.enabled&&(e.addTitle(y),y&&!1!==p.reserveSpace)){e.titleOffset=x=e.axisTitle.getBBox()[n?"height":"width"];var _=p.offset;k=g(_)?0:P(p.margin,n?5:10)}e.renderLine(),e.offset=v*P(r.offset,m[o]?m[o]+(r.margin||0):0),e.tickRotCorr=e.tickRotCorr||{x:0,y:0},p=0===o?-e.labelMetrics().h:2===o?e.tickRotCorr.y:0,u=Math.abs(C)+k,C&&(u=u-p+v*(n?P(f.y,e.tickRotCorr.y+8*v):f.x)),e.axisTitleMargin=P(_,u),e.getMaxLabelDimensions&&(e.maxLabelDimensions=e.getMaxLabelDimensions(s,a)),"colorAxis"!==l&&(n=this.tickSize("tick"),m[o]=Math.max(m[o],(e.axisTitleMargin||0)+x+v*e.offset,u,a&&a.length&&n?n[0]+v*e.offset:0),r=!e.axisLine||r.offset?0:2*Math.floor(e.axisLine.strokeWidth()/2),i[d]=Math.max(i[d],r)),w(this,"afterGetOffset")},t.prototype.getLinePath=function(t){var e=this.chart,i=this.opposite,n=this.offset,r=this.horiz,o=this.left+(i?this.width:0)+n;return n=e.chartHeight-this.bottom-(i?this.height:0)+n,i&&(t*=-1),e.renderer.crispLine([["M",r?this.left:o,r?n:this.top],["L",r?e.chartWidth-this.right:o,r?n:e.chartHeight-this.bottom]],t)},t.prototype.renderLine=function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))},t.prototype.getTitlePosition=function(){var t=this.horiz,e=this.left,i=this.top,n=this.len,r=this.options.title,o=t?e:i,s=this.opposite,a=this.offset,l=r.x,c=r.y,h=this.axisTitle,d=this.chart.renderer.fontMetrics(r.style.fontSize,h);return h=Math.max(h.getBBox(null,0).height-d.h-1,0),n={low:o+(t?0:n),middle:o+n/2,high:o+(t?n:0)}[r.align],e=(t?i+this.height:e)+(t?1:-1)*(s?-1:1)*this.axisTitleMargin+[-h,h,d.f,-h][this.side],t={x:t?n+l:e+(s?this.width:0)+a+l,y:t?e+c-(s?this.height:0)+a:n+c},w(this,"afterGetTitlePosition",{titlePosition:t}),t},t.prototype.renderMinorTick=function(t,e){var i=this.minorTicks;i[t]||(i[t]=new s(this,t,"minor")),e&&i[t].isNew&&i[t].render(null,!0),i[t].render(null,!1,1)}
1,t.prototype.renderTick=function(t,e,i){var n=this.ticks;(!this.isLinked||t>=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(n[t]||(n[t]=new s(this,t)),i&&n[t].isNew&&n[t].render(e,!0,-1),n[t].render(e))},t.prototype.render=function(){var t,e,i=this,n=i.chart,r=i.logarithmic,a=i.options,c=i.isLinked,h=i.tickPositions,d=i.axisTitle,u=i.ticks,p=i.minorTicks,f=i.alternateBands,m=a.stackLabels,g=a.alternateGridColor,y=i.tickmarkOffset,v=i.axisLine,b=i.showAxis,x=l(n.renderer.globalAnimation);if(i.labelEdge.length=0,i.overlap=!1,[u,p,f].forEach(function(t){M(t,function(t){t.isActive=!1})}),i.hasData()||c){var k=i.chart.hasRendered&&i.old&&S(i.old.min);i.minorTickInterval&&!i.categories&&i.getMinorTickPositions().forEach(function(t){i.renderMinorTick(t,k)}),h.length&&(h.forEach(function(t,e){i.renderTick(t,e,k)}),y&&(0===i.min||i.single)&&(u[-1]||(u[-1]=new s(i,-1,null,!0)),u[-1].render(-1))),g&&h.forEach(function(s,a){e=void 0!==h[a+1]?h[a+1]+y:i.max-y,0==a%2&&s<i.max&&e<=i.max+(n.polar?-y:y)&&(f[s]||(f[s]=new o.PlotLineOrBand(i)),t=s+y,f[s].options={from:r?r.lin2log(t):t,to:r?r.lin2log(e):e,color:g,className:"highcharts-alternate-grid"},f[s].render(),f[s].isActive=!0)}),i._addedPlotLB||(i._addedPlotLB=!0,(a.plotLines||[]).concat(a.plotBands||[]).forEach(function(t){i.addPlotBandOrLine(t)}))}[u,p,f].forEach(function(t){var e=[],i=x.duration;M(t,function(t,i){t.isActive||(t.render(i,!1,0),t.isActive=!1,e.push(i))}),D(function(){for(var i=e.length;i--;)t[e[i]]&&!t[e[i]].isActive&&(t[e[i]].destroy(),delete t[e[i]])},t!==f&&n.hasRendered&&i?i:0)}),v&&(v[v.isPlaced?"animate":"attr"]({d:this.getLinePath(v.strokeWidth())}),v.isPlaced=!0,v[b?"show":"hide"](b)),d&&b&&(a=i.getTitlePosition(),S(a.y)?(d[d.isNew?"attr":"animate"](a),d.isNew=!1):(d.attr("y",-9999),d.isNew=!0)),m&&m.enabled&&i.stacking&&i.stacking.renderStackTotals(),i.old={len:i.len,max:i.max,min:i.min,transA:i.transA,userMax:i.userMax,userMin:i.userMin},i.isDirty=!1,w(this,"afterRender")},t.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(t){t.render()})),this.series.forEach(function(t){t.isDirty=!0})},t.prototype.getKeepProps=function(){return this.keepProps||t.keepProps},t.prototype.destroy=function(t){var e=this,i=e.plotLinesAndBands,n=this.eventOptions;if(w(this,"destroy",{keepEvents:t}),t||O(e),[e.ticks,e.minorTicks,e.alternateBands].forEach(function(t){y(t)}),i)for(t=i.length;t--;)i[t].destroy();for(var r in"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach(function(t){e[t]&&(e[t]=e[t].destroy())}),e.plotLinesAndBandsGroups)e.plotLinesAndBandsGroups[r]=e.plotLinesAndBandsGroups[r].destroy();M(e,function(t,i){-1===e.getKeepProps().indexOf(i)&&delete e[i]}),this.eventOptions=n},t.prototype.drawCrosshair=function(t,e){var n,r=this.crosshair,o=P(r&&r.snap,!0),s=this.chart,a=this.cross;if(w(this,"drawCrosshair",{e:t,point:e}),t||(t=this.cross&&this.cross.e),r&&!1!==(g(e)||!o)){if(o?g(e)&&(n=P("colorAxis"!==this.coll?e.crosshairPos:null,this.isXAxis?e.plotX:this.len-e.plotY)):n=t&&(this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos),g(n)){var l={value:e&&(this.isXAxis?e.x:P(e.stackY,e.y)),translatedValue:n};s.polar&&x(l,{isCrosshair:!0,chartX:t&&t.chartX,chartY:t&&t.chartY,point:e}),l=this.getPlotLinePath(l)||null}if(!g(l))return void this.hideCrosshair();o=this.categories&&!this.isRadial,a||(this.cross=a=s.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(o?"category ":"thin ")+(r.className||"")).attr({zIndex:P(r.zIndex,2)}).add(),s.styledMode||(a.attr({stroke:r.color||(o?i.parse("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":P(r.width,1)}).css({"pointer-events":"none"}),r.dashStyle&&a.attr({dashstyle:r.dashStyle}))),a.show().attr({d:l}),o&&!r.width&&a.attr({"stroke-width":this.transA}),this.cross.e=t}else this.hideCrosshair();w(this,"afterDrawCrosshair",{e:t,point:e})},t.prototype.hideCrosshair=function(){this.cross&&this.cross.hide(),w(this,"afterHideCrosshair")},t.prototype.hasVerticalPanning=function(){var t=this.chart.options.chart.panning;return!!(t&&t.enabled&&/y/.test(t.type))},t.prototype.validatePositiveValue=function(t){return S(t)&&0<t},t.prototype.update=function(t,e){var i=this.chart;t=A(this.userOptions,t),this.destroy(!0),this.init(i,t),i.isDirtyBox=!0,P(e,!0)&&i.redraw()},t.prototype.remove=function(t){for(var e=this.chart,i=this.coll,n=this.series,r=n.length;r--;)n[r]&&n[r].remove(!1);
1v(e.axes,this),v(e[i],this),e[i].forEach(function(t,e){t.options.index=t.userOptions.index=e}),this.destroy(),e.isDirtyBox=!0,P(t,!0)&&e.redraw()},t.prototype.setTitle=function(t,e){this.update({title:t},e)},t.prototype.setCategories=function(t,e){this.update({categories:t},e)},t.defaultOptions=e.defaultXAxisOptions,t.keepProps="extKey hcEvents names series userMax userMin".split(" "),t}(),t}),e(i,"Core/Axis/DateTimeAxis.js",[i["Core/Utilities.js"]],function(t){var e,i=t.addEvent,n=t.getMagnitude,r=t.normalizeTickInterval,o=t.timeUnits;return function(t){function e(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function s(t){"datetime"!==t.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new l(this))}var a=[];t.compose=function(t){return-1===a.indexOf(t)&&(a.push(t),t.keepProps.push("dateTime"),t.prototype.getTimeTicks=e,i(t,"init",s)),t};var l=function(){function t(t){this.axis=t}return t.prototype.normalizeTimeTickInterval=function(t,e){var i=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];e=i[i.length-1];var s,a=o[e[0]],l=e[1];for(s=0;s<i.length&&(e=i[s],a=o[e[0]],l=e[1],!(i[s+1]&&t<=(a*l[l.length-1]+o[i[s+1][0]])/2));s++);return a===o.year&&t<5*a&&(l=[1,2,5]),{unitRange:a,count:t=r(t/a,l,"year"===e[0]?Math.max(n(t/a),1):1),unitName:e[0]}},t.prototype.getXDateFormat=function(t,e){var i=this.axis;return i.closestPointRange?i.chart.time.getDateFormat(i.closestPointRange,t,i.options.startOfWeek,e)||e.year:e.day},t}();t.Additions=l}(e||(e={})),e}),e(i,"Core/Axis/LogarithmicAxis.js",[i["Core/Utilities.js"]],function(t){var e,i=t.addEvent,n=t.getMagnitude,r=t.normalizeTickInterval,o=t.pick;return function(t){function e(t){var e=this.logarithmic;"logarithmic"!==t.userOptions.type?this.logarithmic=void 0:e||(this.logarithmic=new l(this))}function s(){var t=this.logarithmic;t&&(this.lin2val=function(e){return t.lin2log(e)},this.val2lin=function(e){return t.log2lin(e)})}var a=[];t.compose=function(t){return-1===a.indexOf(t)&&(a.push(t),t.keepProps.push("logarithmic"),i(t,"init",e),i(t,"afterInit",s)),t};var l=function(){function t(t){this.axis=t}return t.prototype.getLogTickPositions=function(t,e,i,s){var a=this.axis,l=a.len,c=a.options,h=[];if(s||(this.minorAutoInterval=void 0),.5<=t)t=Math.round(t),h=a.getLinearTickPositions(t,e,i);else if(.08<=t){var d,u=Math.floor(e),p=c=void 0;for(l=.3<t?[1,2,4]:.15<t?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];u<i+1&&!p;u++){var f=l.length;for(d=0;d<f&&!p;d++){var m=this.log2lin(this.lin2log(u)*l[d]);m>e&&(!s||c<=i)&&void 0!==c&&h.push(c),c>i&&(p=!0),c=m}}}else e=this.lin2log(e),i=this.lin2log(i),t=s?a.getMinorTickInterval():c.tickInterval,t=o("auto"===t?null:t,this.minorAutoInterval,c.tickPixelInterval/(s?5:1)*(i-e)/((s?l/a.tickPositions.length:l)||1)),t=r(t,void 0,n(t)),h=a.getLinearTickPositions(t,e,i).map(this.log2lin),s||(this.minorAutoInterval=t/5);return s||(a.tickInterval=t),h},t.prototype.lin2log=function(t){return Math.pow(10,t)},t.prototype.log2lin=function(t){return Math.log(t)/Math.LN10},t}();t.Additions=l}(e||(e={})),e}),e(i,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[i["Core/Utilities.js"]],function(t){var e,i=t.erase,n=t.extend,r=t.isNumber;return function(t){var e,o=[];t.compose=function(t,i){return e||(e=t),-1===o.indexOf(i)&&(o.push(i),n(i.prototype,s.prototype)),i};var s=function(){function t(){}return t.prototype.getPlotBandPath=function(t,e,i){void 0===i&&(i=this.options);var n=this.getPlotLinePath({value:e,force:!0,acrossPanes:i.acrossPanes}),o=[],s=this.horiz;if(e=!r(this.min)||!r(this.max)||t<this.min&&e<this.min||t>this.max&&e>this.max,t=this.getPlotLinePath({value:t,force:!0,acrossPanes:i.acrossPanes}),i=1,t&&n){if(e){var a=t.toString()===n.toString();i=0}for(e=0;e<t.length;e+=2){var l=t[e],c=t[e+1],h=n[e],d=n[e+1];"M"!==l[0]&&"L"!==l[0]||"M"!==c[0]&&"L"!==c[0]||"M"!==h[0]&&"L"!==h[0]||"M"!==d[0]&&"L"!==d[0]||(s&&h[1]===l[1]?(h[1]+=i,d[1]+=i):s||h[2]!==l[2]||(h[2]+=i,d[2]+=i),o.push(["M",l[1],l[2]],["L",c[1],c[2]],["L",d[1],d[2]],["L",h[1],h[2]],["Z"])),o.isFlat=a}}return o},t.prototype.addPlotBand=function(t){return this.addPlotBandOrLine(t,"plotBands")},t.prototype.addPlotLine=function(t){return this.addPlotBandOrLine(t,"plotLines")},t.prototype.addPlotBandOrLine=function(t,i){var n=this,r=this.userOptions,o=new e(this,t);if(this.visible&&(o=o.render()),o){if(this._addedPlotLB||(this._addedPlotLB=!0,(r.plotLines||[]).concat(r.plotBands||[]).forEac
1h(function(t){n.addPlotBandOrLine(t)})),i){var s=r[i]||[];s.push(t),r[i]=s}this.plotLinesAndBands.push(o)}return o},t.prototype.removePlotBandOrLine=function(t){var e=this.plotLinesAndBands,n=this.options,r=this.userOptions;if(e){for(var o=e.length;o--;)e[o].id===t&&e[o].destroy();[n.plotLines||[],r.plotLines||[],n.plotBands||[],r.plotBands||[]].forEach(function(e){for(o=e.length;o--;)(e[o]||{}).id===t&&i(e,e[o])})}},t.prototype.removePlotBand=function(t){this.removePlotBandOrLine(t)},t.prototype.removePlotLine=function(t){this.removePlotBandOrLine(t)},t}()}(e||(e={})),e}),e(i,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[i["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],i["Core/Utilities.js"]],function(t,e){var i=e.arrayMax,n=e.arrayMin,r=e.defined,o=e.destroyObjectProperties,s=e.erase,a=e.fireEvent,l=e.merge,c=e.objectEach,h=e.pick;return e=function(){function e(t,e){this.axis=t,e&&(this.options=e,this.id=e.id)}return e.compose=function(i){return t.compose(e,i)},e.prototype.render=function(){a(this,"render");var t=this,e=t.axis,i=e.horiz,n=e.logarithmic,o=t.options,s=o.color,d=h(o.zIndex,0),u=o.events,p={},f=e.chart.renderer,m=o.label,g=t.label,y=o.to,v=o.from,b=o.value,x=t.svgElem,w=[],k=r(v)&&r(y);w=r(b);var C=!x,S={class:"highcharts-plot-"+(k?"band ":"line ")+(o.className||"")},_=k?"bands":"lines";if(n&&(v=n.log2lin(v),y=n.log2lin(y),b=n.log2lin(b)),e.chart.styledMode||(w?(S.stroke=s||"#999999",S["stroke-width"]=h(o.width,1),o.dashStyle&&(S.dashstyle=o.dashStyle)):k&&(S.fill=s||"#e6ebf5",o.borderWidth&&(S.stroke=o.borderColor,S["stroke-width"]=o.borderWidth))),p.zIndex=d,_+="-"+d,(n=e.plotLinesAndBandsGroups[_])||(e.plotLinesAndBandsGroups[_]=n=f.g("plot-"+_).attr(p).add()),C&&(t.svgElem=x=f.path().attr(S).add(n)),w)w=e.getPlotLinePath({value:b,lineWidth:x.strokeWidth(),acrossPanes:o.acrossPanes});else{if(!k)return;w=e.getPlotBandPath(v,y,o)}return!t.eventsAdded&&u&&(c(u,function(e,i){x.on(i,function(e){u[i].apply(t,[e])})}),t.eventsAdded=!0),(C||!x.d)&&w&&w.length?x.attr({d:w}):x&&(w?(x.show(!0),x.animate({d:w})):x.d&&(x.hide(),g&&(t.label=g=g.destroy()))),m&&(r(m.text)||r(m.formatter))&&w&&w.length&&0<e.width&&0<e.height&&!w.isFlat?(m=l({align:i&&k&&"center",x:i?!k&&4:10,verticalAlign:!i&&k&&"middle",y:i?k?16:10:k?6:-4,rotation:i&&!k&&90},m),this.renderLabel(m,w,k,d)):g&&g.hide(),t},e.prototype.renderLabel=function(t,e,r,o){var s=this.axis,a=s.chart.renderer,c=this.label;c||(this.label=c=a.text(this.getLabelText(t),0,0,t.useHTML).attr({align:t.textAlign||t.align,rotation:t.rotation,class:"highcharts-plot-"+(r?"band":"line")+"-label "+(t.className||""),zIndex:o}).add(),s.chart.styledMode||c.css(l({textOverflow:"ellipsis"},t.style))),o=e.xBounds||[e[0][1],e[1][1],r?e[2][1]:e[0][1]],e=e.yBounds||[e[0][2],e[1][2],r?e[2][2]:e[0][2]],r=n(o),a=n(e),c.align(t,!1,{x:r,y:a,width:i(o)-r,height:i(e)-a}),c.alignValue&&"left"!==c.alignValue||c.css({width:(90===c.rotation?s.height-(c.alignAttr.y-s.top):s.width-(c.alignAttr.x-s.left))+"px"}),c.show(!0)},e.prototype.getLabelText=function(t){return r(t.formatter)?t.formatter.call(this):t.text},e.prototype.destroy=function(){s(this.axis.plotLinesAndBands,this),delete this.axis,o(this)},e}(),e}),e(i,"Core/Tooltip.js",[i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/Renderer/RendererUtilities.js"],i["Core/Renderer/RendererRegistry.js"],i["Core/Utilities.js"]],function(t,e,i,n,r){var o=t.format,s=e.doc,a=i.distribute,l=r.addEvent,c=r.clamp,h=r.css,d=r.defined,u=r.discardElement,p=r.extend,f=r.fireEvent,m=r.isArray,g=r.isNumber,y=r.isString,v=r.merge,b=r.pick,x=r.splat,w=r.syncTimeout;return t=function(){function t(t,e){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=t,this.init(t,e)}return t.prototype.applyFilter=function(){var t=this.chart;t.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+t.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"}}]}]})},t.prototype.bodyFormatter=function(t){return t.map(function(t){var e=t.series.tooltipOptions;return(e[(t.point.formatPrefix||"point")+"Formatter"]||t.point.tooltipFormatter).call(t.point,e[(t.point.formatPrefix||"point")+"Format"]||"")})}
1,t.prototype.cleanSplit=function(t){this.chart.series.forEach(function(e){var i=e&&e.tt;i&&(!i.isActive||t?e.tt=i.destroy():i.isActive=!1)})},t.prototype.defaultFormatter=function(t){var e=this.points||x(this),i=[t.tooltipFooterHeaderFormatter(e[0])];return(i=i.concat(t.bodyFormatter(e))).push(t.tooltipFooterHeaderFormatter(e[0],!0)),i},t.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(),u(this.container)),r.clearTimeout(this.hideTimer),r.clearTimeout(this.tooltipTimeout)},t.prototype.getAnchor=function(t,e){var i,n,r=this.chart,o=r.pointer,s=r.inverted,a=r.plotTop,l=r.plotLeft,c=0,h=0;return t=x(t),this.followPointer&&e?(void 0===e.chartX&&(e=o.normalize(e)),o=[e.chartX-l,e.chartY-a]):t[0].tooltipPos?o=t[0].tooltipPos:(t.forEach(function(t){i=t.series.yAxis,n=t.series.xAxis,c+=t.plotX||0,h+=t.plotLow?(t.plotLow+(t.plotHigh||0))/2:t.plotY||0,n&&i&&(s?(c+=a+r.plotHeight-n.len-n.pos,h+=l+r.plotWidth-i.len-i.pos):(c+=n.pos-l,h+=i.pos-a))}),c/=t.length,h/=t.length,o=[s?r.plotWidth-h:c,s?r.plotHeight-c:h],this.shared&&1<t.length&&e&&(s?o[0]=e.chartX-l:o[1]=e.chartY-a)),o.map(Math.round)},t.prototype.getLabel=function(){var t,i=this,r=this.chart.styledMode,o=this.options,s=this.split&&this.allowShared,a="tooltip"+(d(o.className)?" "+o.className:""),c=o.style.pointerEvents||(!this.followPointer&&o.stickOnContact?"auto":"none"),u=function(){i.inContact=!0},p=function(t){var e=i.chart.hoverSeries;i.inContact=i.shouldStickOnContact()&&i.chart.pointer.inClass(t.relatedTarget,"highcharts-tooltip"),!i.inContact&&e&&e.onMouseOut&&e.onMouseOut()},f=this.chart.renderer;if(i.label){var m=!i.label.hasClass("highcharts-label");(s&&!m||!s&&m)&&i.destroy()}if(!this.label){if(this.outside){m=this.chart.options.chart.style;var g=n.getRendererType();this.container=t=e.doc.createElement("div"),t.className="highcharts-tooltip-container",h(t,{position:"absolute",top:"1px",pointerEvents:c,zIndex:Math.max(this.options.style.zIndex||0,(m&&m.zIndex||0)+3)}),l(t,"mouseenter",u),l(t,"mouseleave",p),e.doc.body.appendChild(t),this.renderer=f=new g(t,0,0,m,void 0,void 0,f.styledMode)}if(s?this.label=f.g(a):(this.label=f.label("",0,0,o.shape,void 0,void 0,o.useHTML,void 0,a).attr({padding:o.padding,r:o.borderRadius}),r||this.label.attr({fill:o.backgroundColor,"stroke-width":o.borderWidth}).css(o.style).css({pointerEvents:c}).shadow(o.shadow)),r&&o.shadow&&(this.applyFilter(),this.label.attr({filter:"url(#drop-shadow-"+this.chart.index+")"})),i.outside&&!i.split){var y=this.label,v=y.xSetter,b=y.ySetter;y.xSetter=function(e){v.call(y,i.distance),t.style.left=e+"px"},y.ySetter=function(e){b.call(y,i.distance),t.style.top=e+"px"}}this.label.on("mouseenter",u).on("mouseleave",p).attr({zIndex:8}).add()}return this.label},t.prototype.getPosition=function(t,e,i){var n,r=this.chart,o=this.distance,a={},l=r.inverted&&i.h||0,c=this.outside,h=c?s.documentElement.clientWidth-2*o:r.chartWidth,d=c?Math.max(s.body.scrollHeight,s.documentElement.scrollHeight,s.body.offsetHeight,s.documentElement.offsetHeight,s.documentElement.clientHeight):r.chartHeight,u=r.pointer.getChartPosition(),p=function(n){var s="x"===n;return[n,s?h:d,s?t:e].concat(c?[s?t*u.scaleX:e*u.scaleY,s?u.left-o+(i.plotX+r.plotLeft)*u.scaleX:u.top-o+(i.plotY+r.plotTop)*u.scaleY,0,s?h:d]:[s?t:e,s?i.plotX+r.plotLeft:i.plotY+r.plotTop,s?r.plotLeft:r.plotTop,s?r.plotLeft+r.plotWidth:r.plotTop+r.plotHeight])},f=p("y"),m=p("x");p=!!i.negative,!r.polar&&r.hoverSeries&&r.hoverSeries.yAxis&&r.hoverSeries.yAxis.reversed&&(p=!p);var g=!this.followPointer&&b(i.ttBelow,!r.inverted===p),y=function(t,e,i,n,r,s,h){var d=c?"y"===t?o*u.scaleY:o*u.scaleX:o,p=(i-n)/2,f=n<r-o,m=r+o+n<e,y=r-d-i+p;if(r=r+d-p,g&&m)a[t]=r;else if(!g&&f)a[t]=y;else if(f)a[t]=Math.min(h-n,0>y-l?y:y-l);else{if(!m)return!1;a[t]=Math.max(s,r+l+i>e?r:r+l)}},v=function(t,e,i,n,r){var s;return r<o||r>e-o?s=!1:a[t]=r<i/2?1:r>e-n/2?e-n-2:r-i/2,s},x=function(t){var e=f;f=m,m=e,n=t},w=function(){!1!==y.apply(0,f)?!1!==v.apply(0,m)||n||(x(!0),w()):n?a.x=a.y=0:(x(!0),w())};return(r.inverted||1<this.len)&&x(),w(),a},t.prototype.hide=function(t){var e=this;r.clearTimeout(this.hideTimer),t=b(t,this.options.hideDelay),this.isHidden||(this.hideTimer=w(function(){e.getLabel().fadeOut(t?void 0:t),e.isHidden=!0},t))},t.prototype.init=function(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.split=e.split&&!t.inverted&&!t.polar,this.shared=e.shared||this.split,this.outside=b(e.outside,!(!t.scrollablePixelsX&&!t.scrollablePixelsY))},t.prototype.shouldStickOnContact=function(){return!(this.followPointer||!this.options.stickOnContact)},t.prototype.isStickyOnContact=function(){return!(!this.shouldStickOnContact()||!this.inContact)}
1,t.prototype.move=function(t,e,i,n){var o=this,s=o.now,a=!1!==o.options.animation&&!o.isHidden&&(1<Math.abs(t-s.x)||1<Math.abs(e-s.y)),l=o.followPointer||1<o.len;p(s,{x:a?(2*s.x+t)/3:t,y:a?(s.y+e)/2:e,anchorX:l?void 0:a?(2*s.anchorX+i)/3:i,anchorY:l?void 0:a?(s.anchorY+n)/2:n}),o.getLabel().attr(s),o.drawTracker(),a&&(r.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){o&&o.move(t,e,i,n)},32))},t.prototype.refresh=function(t,e){var i=this.chart,n=this.options,o=x(t),s=o[0],a=[],l=n.formatter||this.defaultFormatter,c=this.shared,h=i.styledMode,d={};if(n.enabled){r.clearTimeout(this.hideTimer),this.allowShared=!(!m(t)&&t.series&&t.series.noSharedTooltip),this.followPointer=!this.split&&s.series.tooltipOptions.followPointer;var u=(t=this.getAnchor(t,e))[0],p=t[1];if(c&&this.allowShared?(i.pointer.applyInactiveState(o),o.forEach(function(t){t.setState("hover"),a.push(t.getLabelConfig())}),(d={x:s.category,y:s.y}).points=a):d=s.getLabelConfig(),this.len=a.length,l=l.call(d,this),c=s.series,this.distance=b(c.tooltipOptions.distance,16),!1===l)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(l,o);else{var g=u,y=p;if(e&&i.pointer.isDirectTouch&&(g=e.chartX-i.plotLeft,y=e.chartY-i.plotTop),!i.polar&&!1!==c.options.clip&&!o.some(function(t){return t.series.shouldShowTooltip(g,y)}))return void this.hide();e=this.getLabel(),n.style.width&&!h||e.css({width:this.chart.spacingBox.width+"px"}),e.attr({text:l&&l.join?l.join(""):l}),e.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+b(s.colorIndex,c.colorIndex)),h||e.attr({stroke:n.borderColor||s.color||c.color||"#666666"}),this.updatePosition({plotX:u,plotY:p,negative:s.negative,ttBelow:s.ttBelow,h:t[2]||0})}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}f(this,"refresh")}},t.prototype.renderSplit=function(t,e){function i(t,e,i,r,o){return void 0===o&&(o=!0),i?(e=P?0:D,t=c(t-r/2,A.left,A.right-r-(n.outside?E:0))):(e-=O,t=c(t=o?t-r-C:t+C,o?t:A.left,A.right)),{x:t,y:e}}var n=this,r=n.chart,o=n.chart,l=o.chartWidth,h=o.chartHeight,d=o.plotHeight,u=o.plotLeft,f=o.plotTop,m=o.pointer,g=o.scrollablePixelsY;g=void 0===g?0:g;var v=o.scrollablePixelsX,x=o.scrollingContainer,w=(x=void 0===x?{scrollLeft:0,scrollTop:0}:x).scrollLeft;x=x.scrollTop;var k=o.styledMode,C=n.distance,S=n.options,_=n.options.positioner,A=n.outside&&"number"!=typeof v?s.documentElement.getBoundingClientRect():{left:w,right:w+l,top:x,bottom:x+h},T=n.getLabel(),M=this.renderer||r.renderer,P=!(!r.xAxis[0]||!r.xAxis[0].opposite),E=(r=m.getChartPosition()).left;r=r.top;var O=f+x,L=0,D=d-g;y(t)&&(t=[!1,t]),t=t.slice(0,e.length+1).reduce(function(t,r,o){if(!1!==r&&""!==r){var s=(o=e[o-1]||{isHeader:!0,plotX:e[0].plotX,plotY:d,series:{}}).isHeader,a=s?n:o.series;r=r.toString();var l=a.tt,h=o.isHeader,p=o.series,m="highcharts-color-"+b(o.colorIndex,p.colorIndex,"none");if(l||(l={padding:S.padding,r:S.borderRadius},k||(l.fill=S.backgroundColor,l["stroke-width"]=S.borderWidth),l=M.label("",0,0,S[h?"headerShape":"shape"],void 0,void 0,S.useHTML).addClass((h?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+m).attr(l).add(T)),l.isActive=!0,l.attr({text:r}),k||l.css(S.style).shadow(S.shadow).attr({stroke:S.borderColor||o.color||p.color||"#333333"}),r=(h=(a=a.tt=l).getBBox()).width+a.strokeWidth(),s&&(L=h.height,D+=L,P&&(O-=L)),p=void 0===(p=o.plotX)?0:p,m=void 0===(m=o.plotY)?0:m,l=o.series,o.isHeader){p=u+p;var g=f+d/2}else{var y=l.xAxis,v=l.yAxis;p=y.pos+c(p,-C,y.len+C),l.shouldShowTooltip(0,v.pos-f+m,{ignoreX:!0})&&(g=v.pos+m)}p=c(p,A.left-C,A.right+C),"number"==typeof g?(h=h.height+1,m=_?_.call(n,r,h,o):i(p,g,s,r),t.push({align:_?0:void 0,anchorX:p,anchorY:g,boxWidth:r,point:o,rank:b(m.rank,s?1:0),size:h,target:m.y,tt:a,x:m.x})):a.isActive=!1}return t},[]),!_&&t.some(function(t){var e=(n.outside?E:0)+t.anchorX;return e<A.left&&e+t.boxWidth<A.right||e<E-A.left+t.boxWidth&&A.right-e>e})&&(t=t.map(function(t){var e=i(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return p(t,{target:e.y,x:e.x})})),n.cleanSplit(),a(t,D);var I=E,j=E;t.forEach(function(t){var e=t.x,i=t.boxWidth;(t=t.isHeader)||(n.outside&&E+e<I&&(I=E+e),!t&&n.outside&&I+i>j&&(j=E+e))}),t.forEach(function(t){var e=t.x,i=t.anchorX,r=t.pos,o=t.point.isHeader;if(r={visibility:void 0===r?"hidden":"inherit",x:e,y:r+O,anchorX:i,anchorY:t.anchorY},n.outside&&e<i){var s=E-I;0<s&&(o||(r.x=e+s,r.anchorX=i+s),o&&(r.x=(j-I)/2,r.anchorX=i+s))}t.tt.attr(r)}),t=n.container,g=n.renderer,n.outside&&t&&g&&(o=T.getBBox(),g.setSize(o.width+o.x,o.height+o.y,!1),t.style.left=I+"px",t.style.top=r+"px")},t.prototype.drawTracker=function(){if(this.followPointer||!this.options.stickOnContact)this.tracker&&this.tracker.destroy();else{var t=this.chart,e=this.label,i=this.shared?t.hoverPoints:t.hoverPoint;if(e&&i){var n={x:0,y:0,width:0,height:0};i=this.getAnchor(i);var r=e.getBBox();i[0]+=t.plotLeft-e.translateX,i[1]+=t.plotTop-e.translateY,n.x=Math.min(0,i[0]),n.y=Math.min(0,i[1]),n.width=0>i[0]?Math.max(Math.abs(i[0]),r.width-i[0]):Math.max(Math.abs(i[0]),r.width),n.height=0>i[1]?Math.max(Math.abs(i[1]),r.height-Math.abs(i[1])):Math.max(Math.abs(i[1]),r.height),this.tracker?this.tracker.attr(n):(this.tracker=e.renderer.rect(n).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}},t.prototype.styledModeFormat=function(t){return t.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},t.prototype.tooltipFooterHeaderFormatter=function(t,e){var i=t.series,n=i.tooltipOptions,r=i.xAxis,s=r&&r.dateTime;r={isFooter:e,labelConfig:t};var a=n.xDateFormat,l=n[e?"footerFormat":"headerFormat"];return f(this,"headerFormatter",r,function(e){s&&!a&&g(t.key)&&(a=s.getXDateFormat(t.key,n.dateTimeLabelFormats)),s&&a&&(t.point&&t.point.tooltipDateKeys||["key"]).forEac
1h(function(t){l=l.replace("{point."+t+"}","{point."+t+":"+a+"}")}),i.chart.styledMode&&(l=this.styledModeFormat(l)),e.text=o(l,{point:t,series:i},this.chart)}),r.text},t.prototype.update=function(t){this.destroy(),v(!0,this.chart.options.tooltip.userOptions,t),this.init(this.chart,v(!0,this.options,t))},t.prototype.updatePosition=function(t){var e=this.chart,i=this.options,n=e.pointer,r=this.getLabel();n=n.getChartPosition();var o=(i.positioner||this.getPosition).call(this,r.width,r.height,t),s=t.plotX+e.plotLeft;t=t.plotY+e.plotTop,this.outside&&(i=i.borderWidth+2*this.distance,this.renderer.setSize(r.width+i,r.height+i,!1),1===n.scaleX&&1===n.scaleY||(h(this.container,{transform:"scale("+n.scaleX+", "+n.scaleY+")"}),s*=n.scaleX,t*=n.scaleY),s+=n.left-o.x,t+=n.top-o.y),this.move(Math.round(o.x),Math.round(o.y||0),s,t)},t}(),t}),e(i,"Core/Series/Point.js",[i["Core/Renderer/HTML/AST.js"],i["Core/Animation/AnimationUtilities.js"],i["Core/DefaultOptions.js"],i["Core/FormatUtilities.js"],i["Core/Utilities.js"]],function(t,e,i,n,r){var o=e.animObject,s=i.defaultOptions,a=n.format,l=r.addEvent,c=r.defined,h=r.erase,d=r.extend,u=r.fireEvent,p=r.getNestedProperty,f=r.isArray,m=r.isFunction,g=r.isNumber,y=r.isObject,v=r.merge,b=r.objectEach,x=r.pick,w=r.syncTimeout,k=r.removeEvent,C=r.uniqueKey;return e=function(){function e(){this.colorIndex=this.category=void 0,this.formatPrefix="point",this.id=void 0,this.isNull=!1,this.percentage=this.options=this.name=void 0,this.selected=!1,this.total=this.series=void 0,this.visible=!0,this.x=void 0}return e.prototype.animateBeforeDestroy=function(){var t=this,e={x:t.startXPos,opacity:0},i=t.getGraphicalProps();i.singular.forEach(function(i){t[i]=t[i].animate("dataLabel"===i?{x:t[i].startXPos,y:t[i].startYPos,opacity:0}:e)}),i.plural.forEach(function(e){t[e].forEach(function(e){e.element&&e.animate(d({x:t.startXPos},e.startYPos?{x:e.startXPos,y:e.startYPos}:{}))})})},e.prototype.applyOptions=function(t,i){var n=this.series,r=n.options.pointValKey||n.pointValKey;return t=e.prototype.optionsToObject.call(this,t),d(this,t),this.options=this.options?d(this.options,t):t,t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,r&&(this.y=e.prototype.getNestedProperty.call(this,r)),this.formatPrefix=(this.isNull=x(this.isValid&&!this.isValid(),null===this.x||!g(this.y)))?"null":"point",this.selected&&(this.state="select"),"name"in this&&void 0===i&&n.xAxis&&n.xAxis.hasNames&&(this.x=n.xAxis.nameToX(this)),void 0===this.x&&n?this.x=void 0===i?n.autoIncrement():i:g(t.x)&&n.options.relativeXValue&&(this.x=n.autoIncrement(t.x)),this},e.prototype.destroy=function(){function t(){for(r in(e.graphic||e.dataLabel||e.dataLabels)&&(k(e),e.destroyElements()),e)e[r]=null}var e=this,i=e.series,n=i.chart;i=i.options.dataSorting;var r,s=n.hoverPoints,a=o(e.series.chart.renderer.globalAnimation);e.legendItem&&n.legend.destroyItem(e),s&&(e.setState(),h(s,e),s.length||(n.hoverPoints=null)),e===n.hoverPoint&&e.onMouseOut(),i&&i.enabled?(this.animateBeforeDestroy(),w(t,a.duration)):t(),n.pointCount--},e.prototype.destroyElements=function(t){var e=this;(t=e.getGraphicalProps(t)).singular.forEach(function(t){e[t]=e[t].destroy()}),t.plural.forEach(function(t){e[t].forEach(function(t){t.element&&t.destroy()}),delete e[t]})},e.prototype.firePointEvent=function(t,e,i){var n=this,r=this.series.options;(r.point.events[t]||n.options&&n.options.events&&n.options.events[t])&&n.importEvents(),"click"===t&&r.allowPointSelect&&(i=function(t){n.select&&n.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),u(n,t,e,i)},e.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},e.prototype.getGraphicalProps=function(t){var e,i=this,n=[],r={singular:[],plural:[]};for((t=t||{graphic:1,dataLabel:1}
1).graphic&&n.push("graphic","upperGraphic","shadowGroup"),t.dataLabel&&n.push("dataLabel","dataLabelUpper","connector"),e=n.length;e--;){var o=n[e];i[o]&&r.singular.push(o)}return["dataLabel","connector"].forEach(function(e){var n=e+"s";t[e]&&i[n]&&r.plural.push(n)}),r},e.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}},e.prototype.getNestedProperty=function(t){if(t)return 0===t.indexOf("custom.")?p(t,this.options):this[t]},e.prototype.getZone=function(){var t=this.series,e=t.zones;t=t.zoneAxis||"y";var i,n=0;for(i=e[n];this[t]>=i.value;)i=e[++n];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=i&&i.color&&!this.options.color?i.color:this.nonZonedColor,i},e.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},e.prototype.init=function(t,e,i){return this.series=t,this.applyOptions(e,i),this.id=c(this.id)?this.id:C(),this.resolveColor(),t.chart.pointCount++,u(this,"afterInit"),this},e.prototype.optionsToObject=function(t){var i=this.series,n=i.options.keys,r=n||i.pointArrayMap||["y"],o=r.length,s={},a=0,l=0;if(g(t)||null===t)s[r[0]]=t;else if(f(t))for(!n&&t.length>o&&("string"===(i=typeof t[0])?s.name=t[0]:"number"===i&&(s.x=t[0]),a++);l<o;)n&&void 0===t[a]||(0<r[l].indexOf(".")?e.prototype.setNestedProperty(s,t[a],r[l]):s[r[l]]=t[a]),a++,l++;else"object"==typeof t&&(s=t,t.dataLabels&&(i._hasPointLabels=!0),t.marker&&(i._hasPointMarkers=!0));return s},e.prototype.resolveColor=function(){var t=this.series,e=t.chart.styledMode,i=t.chart.options.chart.colorCount;if(delete this.nonZonedColor,t.options.colorByPoint){if(!e){var n=(i=t.options.colors||t.chart.options.colors)[t.colorCounter];i=i.length}e=t.colorCounter,t.colorCounter++,t.colorCounter===i&&(t.colorCounter=0)}else e||(n=t.color),e=t.colorIndex;this.colorIndex=x(this.options.colorIndex,e),this.color=x(this.options.color,n)},e.prototype.setNestedProperty=function(t,e,i){return i.split(".").reduce(function(t,i,n,r){return t[i]=r.length-1===n?e:y(t[i],!0)?t[i]:{},t[i]},t),t},e.prototype.tooltipFormatter=function(t){var e=this.series,i=e.tooltipOptions,n=x(i.valueDecimals,""),r=i.valuePrefix||"",o=i.valueSuffix||"";return e.chart.styledMode&&(t=e.chart.tooltip.styledModeFormat(t)),(e.pointArrayMap||["y"]).forEac
1h(function(e){e="{point."+e,(r||o)&&(t=t.replace(RegExp(e+"}","g"),r+e+"}"+o)),t=t.replace(RegExp(e+"}","g"),e+":,."+n+"f}")}),a(t,{point:this,series:this.series},e.chart)},e.prototype.update=function(t,e,i,n){function r(){s.applyOptions(t);var n=l&&s.hasDummyGraphic;n=null===s.y?!n:n,l&&n&&(s.graphic=l.destroy(),delete s.hasDummyGraphic),y(t,!0)&&(l&&l.element&&t&&t.marker&&void 0!==t.marker.symbol&&(s.graphic=l.destroy()),t&&t.dataLabels&&s.dataLabel&&(s.dataLabel=s.dataLabel.destroy()),s.connector&&(s.connector=s.connector.destroy())),o=s.index,a.updateParallelArrays(s,o),h.data[o]=y(h.data[o],!0)||y(t,!0)?s.options:x(t,h.data[o]),a.isDirty=a.isDirtyData=!0,!a.fixedBox&&a.hasCartesianSeries&&(c.isDirtyBox=!0),"point"===h.legendType&&(c.isDirtyLegend=!0),e&&c.redraw(i)}var o,s=this,a=s.series,l=s.graphic,c=a.chart,h=a.options;e=x(e,!0),!1===n?r():s.firePointEvent("update",{options:t},r)},e.prototype.remove=function(t,e){this.series.removePoint(this.series.data.indexOf(this),t,e)},e.prototype.select=function(t,e){var i=this,n=i.series,r=n.chart;this.selectedStaging=t=x(t,!i.selected),i.firePointEvent(t?"select":"unselect",{accumulate:e},function(){i.selected=i.options.selected=t,n.options.data[n.data.indexOf(i)]=i.options,i.setState(t&&"select"),e||r.getSelectedPoints().forEac
1h(function(t){var e=t.series;t.selected&&t!==i&&(t.selected=t.options.selected=!1,e.options.data[e.data.indexOf(t)]=t.options,t.setState(r.hoverPoints&&e.options.inactiveOtherPoints?"inactive":""),t.firePointEvent("unselect"))})}),delete this.selectedStaging},e.prototype.onMouseOver=function(t){var e=this.series.chart,i=e.pointer;t=t?i.normalize(t):i.getChartCoordinatesFromPoint(this,e.inverted),i.runPointActions(t,this)},e.prototype.onMouseOut=function(){var t=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t.hoverPoints||[]).forEach(function(t){t.setState()}),t.hoverPoints=t.hoverPoint=null},e.prototype.importEvents=function(){if(!this.hasImportedEvents){var t=this,e=v(t.series.options.point,t.options).events;t.events=e,b(e,function(e,i){m(e)&&l(t,i,e)}),this.hasImportedEvents=!0}},e.prototype.setState=function(e,i){var n,r=this.series,o=this.state,a=r.options.states[e||"normal"]||{},l=s.plotOptions[r.type].marker&&r.options.marker,c=l&&!1===l.enabled,h=l&&l.states&&l.states[e||"normal"]||{},p=!1===h.enabled,f=this.marker||{},m=r.chart,y=l&&r.markerAttribs,v=r.halo,b=r.stateMarkerGraphic;if(!((e=e||"")===this.state&&!i||this.selected&&"select"!==e||!1===a.enabled||e&&(p||c&&!1===h.enabled)||e&&f.states&&f.states[e]&&!1===f.states[e].enabled)){if(this.state=e,y&&(n=r.markerAttribs(this,e)),this.graphic&&!this.hasDummyGraphic){if(o&&this.graphic.removeClass("highcharts-point-"+o),e&&this.graphic.addClass("highcharts-point-"+e),!m.styledMode){var w=r.pointAttribs(this,e),k=x(m.options.chart.animation,a.animation);r.options.inactiveOtherPoints&&g(w.opacity)&&((this.dataLabels||[]).forEach(function(t){t&&t.animate({opacity:w.opacity},k)}),this.connector&&this.connector.animate({opacity:w.opacity},k)),this.graphic.animate(w,k)}n&&this.graphic.animate(n,x(m.options.chart.animation,h.animation,l.animation)),b&&b.hide()}else e&&h&&(o=f.symbol||r.symbol,b&&b.currentSymbol!==o&&(b=b.destroy()),n&&(b?b[i?"animate":"attr"]({x:n.x,y:n.y}):o&&(r.stateMarkerGraphic=b=m.renderer.symbol(o,n.x,n.y,n.width,n.height).add(r.markerGroup),b.currentSymbol=o)),!m.styledMode&&b&&"inactive"!==this.state&&b.attr(r.pointAttribs(this,e))),b&&(b[e&&this.isInside?"show":"hide"](),b.element.point=this,b.addClass(this.getClassName(),!0));a=a.halo,n=(b=this.graphic||b)&&b.visibility||"inherit",a&&a.size&&b&&"hidden"!==n&&!this.isCluster?(v||(r.halo=v=m.renderer.path().add(b.parentGroup)),v.show()[i?"animate":"attr"]({d:this.haloPath(a.size)}),v.attr({class:"highcharts-halo highcharts-color-"+x(this.colorIndex,r.colorIndex)+(this.className?" "+this.className:""),visibility:n,zIndex:-1}),v.point=this,m.styledMode||v.attr(d({fill:this.color||r.color,"fill-opacity":a.opacity},t.filterUserAttributes(a.attributes||{})))):v&&v.point&&v.point.haloPath&&v.animate({d:v.point.haloPath(0)},null,v.hide),u(this,"afterSetState",{state:e})}},e.prototype.haloPath=function(t){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-t,this.plotY-t,2*t,2*t)},e}(),e}),e(i,"Core/Pointer.js",[i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Tooltip.js"],i["Core/Utilities.js"]],function(t,e,i,n){var r=t.parse,o=e.charts,s=e.noop,a=n.addEvent,l=n.attr,c=n.css,h=n.defined,d=n.extend,u=n.find,p=n.fireEvent,f=n.isNumber,m=n.isObject,g=n.objectEach,y=n.offset,v=n.pick,b=n.splat;return t=function(){function t(t,e){this.lastValidTouch={},this.pinchDown=[],this.runChartClick=!1,this.eventsToUnbind=[],this.chart=t,this.hasDragged=!1,this.options=e,this.init(t,e)}return t.prototype.applyInactiveState=function(t){var e,i=[];(t||[]).forEach(function(t){e=t.series,i.push(e),e.linkedParent&&i.push(e.linkedParent),e.linkedSeries&&(i=i.concat(e.linkedSeries)),e.navigatorSeries&&i.push(e.navigatorSeries)}),this.chart.series.forEach(function(t){-1===i.indexOf(t)?t.setState("inactive",!0):t.options.inactiveOtherPoints&&t.setAllPointsToState("inactive")})},t.prototype.destroy=function(){var i=this;this.eventsToUnbind.forEach(function(t){return t()}),this.eventsToUnbind=[],e.chartCount||(t.unbindDocumentMouseUp&&(t.unbindDocumentMouseUp=t.unbindDocumentMouseUp()),t.unbindDocumentTouchEnd&&(t.unbindDocumentTouchEnd=t.unbindDocumentTouchEnd())),clearInterval(i.tooltipTimeout),g(i,function(t,e){i[e]=void 0})},t.prototype.drag=function(t){var e=this.chart,i=e.options.chart,n=this.zoomHor,o=this.zoomVert,s=e.plotLeft,a=e.plotTop,l=e.plotWidth,c=e.plotHeight,h=this.mouseDownX||0,d=this.mouseDownY||0,u=m(i.panning)?i.panning&&i.panning.enabled:i.panning,p=i.panKey&&t[i.panKey+"Key"],f=t.chartX,g=t.chartY,y=this.selectionMarker;if((!y||!y.touch)&&(f<s?f=s:f>s+l&&(f=s+l),g<a?g=a:g>a+c&&(g=a+c),this.hasDragged=Math.sqrt(Math.pow(h-f,2)+Math.pow(d-g,2)),10<this.hasDragged)){var v=e.isInsidePlot(h-s,d-a,{visiblePlotOnly:!0});
1!e.hasCartesianSeries&&!e.mapView||!this.zoomX&&!this.zoomY||!v||p||y||(this.selectionMarker=y=e.renderer.rect(s,a,n?1:l,o?1:c,0).attr({class:"highcharts-selection-marker",zIndex:7}).add(),e.styledMode||y.attr({fill:i.selectionMarkerFill||r("#335cad").setOpacity(.25).get()})),y&&n&&(n=f-h,y.attr({width:Math.abs(n),x:(0<n?0:n)+h})),y&&o&&(n=g-d,y.attr({height:Math.abs(n),y:(0<n?0:n)+d})),v&&!y&&u&&e.pan(t,i.panning)}},t.prototype.dragStart=function(t){var e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=this.mouseDownX=t.chartX,e.mouseDownY=this.mouseDownY=t.chartY},t.prototype.drop=function(t){var e=this,i=this.chart,n=this.hasPinched;if(this.selectionMarker){var r=this.selectionMarker,o=r.attr?r.attr("x"):r.x,s=r.attr?r.attr("y"):r.y,a=r.attr?r.attr("width"):r.width,l=r.attr?r.attr("height"):r.height,u={originalEvent:t,xAxis:[],yAxis:[],x:o,y:s,width:a,height:l},m=!!i.mapView;(this.hasDragged||n)&&(i.axes.forEach(function(i){if(i.zoomEnabled&&h(i.min)&&(n||e[{xAxis:"zoomX",yAxis:"zoomY"}[i.coll]])&&f(o)&&f(s)){var r=i.horiz,c="touchend"===t.type?i.minPixelPadding:0,d=i.toValue((r?o:s)+c);r=i.toValue((r?o+a:s+l)-c),u[i.coll].push({axis:i,min:Math.min(d,r),max:Math.max(d,r)}),m=!0}}),m&&p(i,"selection",u,function(t){i.zoom(d(t,n?{animation:!1}:null))})),f(i.index)&&(this.selectionMarker=this.selectionMarker.destroy()),n&&this.scaleGroups()}i&&f(i.index)&&(c(i.container,{cursor:i._cursor}),i.cancelClick=10<this.hasDragged,i.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},t.prototype.findNearestKDPoint=function(t,e,i){var n,r=this.chart,o=r.hoverPoint;return r=r.tooltip,o&&r&&r.isStickyOnContact()?o:(t.forEach(function(t){var r=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y");if(t=t.searchPoint(i,r),(r=m(t,!0)&&t.series)&&!(r=!m(n,!0))){r=n.distX-t.distX;var o=n.dist-t.dist,s=(t.series.group&&t.series.group.zIndex)-(n.series.group&&n.series.group.zIndex);r=0<(0!==r&&e?r:0!==o?o:0!==s?s:n.series.index>t.series.index?-1:1)}r&&(n=t)}),n)},t.prototype.getChartCoordinatesFromPoint=function(t,e){var i=t.series,n=i.xAxis;i=i.yAxis;var r=t.shapeArgs;if(n&&i){var o=v(t.clientX,t.plotX),s=t.plotY||0;return t.isNode&&r&&f(r.x)&&f(r.y)&&(o=r.x,s=r.y),e?{chartX:i.len+i.pos-s,chartY:n.len+n.pos-o}:{chartX:o+n.pos,chartY:s+i.pos}}if(r&&r.x&&r.y)return{chartX:r.x,chartY:r.y}},t.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var t=this.chart.container,e=y(t);this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1};var i=t.offsetWidth;return t=t.offsetHeight,2<i&&2<t&&(this.chartPosition.scaleX=e.width/i,this.chartPosition.scaleY=e.height/t),this.chartPosition},t.prototype.getCoordinates=function(t){var e={xAxis:[],yAxis:[]};return this.chart.axes.forEach(function(i){e[i.isXAxis?"xAxis":"yAxis"].push({axis:i,value:i.toValue(t[i.horiz?"chartX":"chartY"])})}),e},t.prototype.getHoverData=function(t,e,i,n,r,o){var s=[];n=!(!n||!t);var a={chartX:o?o.chartX:void 0,chartY:o?o.chartY:void 0,shared:r};p(this,"beforeGetHoverData",a);var l=e&&!e.stickyTracking?[e]:i.filter(function(t){return a.filter?a.filter(t):t.visible&&!(!r&&t.directTouch)&&v(t.options.enableMouseTracking,!0)&&t.stickyTracking}),c=n||!o?t:this.findNearestKDPoint(l,r,o);return e=c&&c.series,c&&(r&&!e.noSharedTooltip?(l=i.filter(function(t){return a.filter?a.filter(t):t.visible&&!(!r&&t.directTouch)&&v(t.options.enableMouseTracking,!0)&&!t.noSharedTooltip})).forEach(function(t){var e=u(t.points,function(t){return t.x===c.x&&!t.isNull});m(e)&&(t.chart.isBoosting&&(e=t.getPoint(e)),s.push(e))}):s.push(c)),p(this,"afterGetHoverData",a={hoverPoint:c}),{hoverPoint:a.hoverPoint,hoverSeries:e,hoverPoints:s}},t.prototype.getPointFromEvent=function(t){t=t.target;for(var e;t&&!e;)e=t.point,t=t.parentNode;return e},t.prototype.onTrackerMouseOut=function(t){t=t.relatedTarget||t.toElement;var e=this.chart.hoverSeries;this.isDirectTouch=!1,!e||!t||e.stickyTracking||this.inClass(t,"highcharts-tooltip")||this.inClass(t,"highcharts-series-"+e.index)&&this.inClass(t,"highcharts-tracker")||e.onMouseOut()},t.prototype.inClass=function(t,e){for(var i;t;){if(i=l(t,"class")){if(-1!==i.indexOf(e))return!0;
1if(-1!==i.indexOf("highcharts-container"))return!1}t=t.parentNode}},t.prototype.init=function(t,e){this.options=e,this.chart=t,this.runChartClick=!(!e.chart.events||!e.chart.events.click),this.pinchDown=[],this.lastValidTouch={},i&&(t.tooltip=new i(t,e.tooltip),this.followTouchMove=v(e.tooltip.followTouchMove,!0)),this.setDOMEvents()},t.prototype.normalize=function(t,e){var i=t.touches,n=i?i.length?i.item(0):v(i.changedTouches,t.changedTouches)[0]:t;return e||(e=this.getChartPosition()),i=n.pageX-e.left,n=n.pageY-e.top,i/=e.scaleX,n/=e.scaleY,d(t,{chartX:Math.round(i),chartY:Math.round(n)})},t.prototype.onContainerClick=function(t){var e=this.chart,i=e.hoverPoint;t=this.normalize(t);var n=e.plotLeft,r=e.plotTop;e.cancelClick||(i&&this.inClass(t.target,"highcharts-tracker")?(p(i.series,"click",d(t,{point:i})),e.hoverPoint&&i.firePointEvent("click",t)):(d(t,this.getCoordinates(t)),e.isInsidePlot(t.chartX-n,t.chartY-r,{visiblePlotOnly:!0})&&p(e,"click",t)))},t.prototype.onContainerMouseDown=function(t){var i=!(1&~(t.buttons||t.button));t=this.normalize(t),e.isFirefox&&0!==t.button&&this.onContainerMouseMove(t),(void 0===t.button||i)&&(this.zoomOption(t),i&&t.preventDefault&&t.preventDefault(),this.dragStart(t))},t.prototype.onContainerMouseLeave=function(e){var i=o[v(t.hoverChartIndex,-1)],n=this.chart.tooltip;n&&n.shouldStickOnContact()&&this.inClass(e.relatedTarget,"highcharts-tooltip-container")||(e=this.normalize(e),i&&(e.relatedTarget||e.toElement)&&(i.pointer.reset(),i.pointer.chartPosition=void 0),n&&!n.isHidden&&this.reset())},t.prototype.onContainerMouseEnter=function(t){delete this.chartPosition},t.prototype.onContainerMouseMove=function(t){var e=this.chart;t=this.normalize(t),this.setHoverChartIndex(),t.preventDefault||(t.returnValue=!1),("mousedown"===e.mouseIsDown||this.touchSelect(t))&&this.drag(t),e.openMenu||!this.inClass(t.target,"highcharts-tracker")&&!e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||(this.inClass(t.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(t))},t.prototype.onDocumentTouchEnd=function(e){var i=o[v(t.hoverChartIndex,-1)];i&&i.pointer.drop(e)},t.prototype.onContainerTouchMove=function(t){this.touchSelect(t)?this.onContainerMouseMove(t):this.touch(t)},t.prototype.onContainerTouchStart=function(t){this.touchSelect(t)?this.onContainerMouseDown(t):(this.zoomOption(t),this.touch(t,!0))},t.prototype.onDocumentMouseMove=function(t){var e=this.chart,i=this.chartPosition;t=this.normalize(t,i);var n=e.tooltip;!i||n&&n.isStickyOnContact()||e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||this.inClass(t.target,"highcharts-tracker")||this.reset()},t.prototype.onDocumentMouseUp=function(e){var i=o[v(t.hoverChartIndex,-1)];i&&i.pointer.drop(e)},t.prototype.pinch=function(t){var e=this,i=e.chart,n=e.pinchDown,r=t.touches||[],o=r.length,a=e.lastValidTouch,l=e.hasZoom,c={},h=1===o&&(e.inClass(t.target,"highcharts-tracker")&&i.runTrackerClick||e.runChartClick),u={},f=e.selectionMarker;1<o?e.initiated=!0:1===o&&this.followTouchMove&&(e.initiated=!1),l&&e.initiated&&!h&&!1!==t.cancelable&&t.preventDefault(),[].map.call(r,function(t){return e.normalize(t)}),"touchstart"===t.type?([].forEach.call(r,function(t,e){n[e]={chartX:t.chartX,chartY:t.chartY}}),a.x=[n[0].chartX,n[1]&&n[1].chartX],a.y=[n[0].chartY,n[1]&&n[1].chartY],i.axes.forEach(function(t){if(t.zoomEnabled){var e=i.bounds[t.horiz?"h":"v"],n=t.minPixelPadding,r=t.toPixels(Math.min(v(t.options.min,t.dataMin),t.dataMin)),o=t.toPixels(Math.max(v(t.options.max,t.dataMax),t.dataMax)),s=Math.max(r,o);e.min=Math.min(t.pos,Math.min(r,o)-n),e.max=Math.max(t.pos+t.len,s+n)}}),e.res=!0):e.followTouchMove&&1===o?this.runPointActions(e.normalize(t)):n.length&&(p(i,"touchpan",{originalEvent:t},function(){f||(e.selectionMarker=f=d({destroy:s,touch:!0},i.plotBox)),e.pinchTranslate(n,r,c,f,u,a),e.hasPinched=l,e.scaleGroups(c,u)}),e.res&&(e.res=!1,this.reset(!1,0)))},t.prototype.pinchTranslate=function(t,e,i,n,r,o){this.zoomHor&&this.pinchTranslateDirection(!0,t,e,i,n,r,o),this.zoomVert&&this.pinchTranslateDirection(!1,t,e,i,n,r,o)}
1,t.prototype.pinchTranslateDirection=function(t,e,i,n,r,o,s,a){var l=this.chart,c=t?"x":"y",h=t?"X":"Y",d="chart"+h,u=t?"width":"height",p=l["plot"+(t?"Left":"Top")],f=l.inverted,m=l.bounds[t?"h":"v"],g=1===e.length,y=e[0][d],v=!g&&e[1][d];e=function(){"number"==typeof C&&20<Math.abs(y-v)&&(w=a||Math.abs(k-C)/Math.abs(y-v)),x=(p-k)/w+y,b=l["plot"+(t?"Width":"Height")]/w};var b,x,w=a||1,k=i[0][d],C=!g&&i[1][d];if(e(),(i=x)<m.min){i=m.min;var S=!0}else i+b>m.max&&(i=m.max-b,S=!0);S?(k-=.8*(k-s[c][0]),"number"==typeof C&&(C-=.8*(C-s[c][1])),e()):s[c]=[k,C],f||(o[c]=x-p,o[u]=b),o=f?1/w:w,r[u]=b,r[c]=i,n[f?t?"scaleY":"scaleX":"scale"+h]=w,n["translate"+h]=o*p+(k-o*y)},t.prototype.reset=function(t,e){var i=this.chart,n=i.hoverSeries,r=i.hoverPoint,o=i.hoverPoints,s=i.tooltip,a=s&&s.shared?o:r;t&&a&&b(a).forEach(function(e){e.series.isCartesian&&void 0===e.plotX&&(t=!1)}),t?s&&a&&b(a).length&&(s.refresh(a),s.shared&&o?o.forEach(function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))}):r&&(r.setState(r.state,!0),i.axes.forEach(function(t){t.crosshair&&r.series[t.coll]===t&&t.drawCrosshair(null,r)}))):(r&&r.onMouseOut(),o&&o.forEach(function(t){t.setState()}),n&&n.onMouseOut(),s&&s.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),i.axes.forEach(function(t){t.hideCrosshair()}),this.hoverX=i.hoverPoints=i.hoverPoint=null)},t.prototype.runPointActions=function(e,i){var n=this.chart,r=n.tooltip&&n.tooltip.options.enabled?n.tooltip:void 0,s=!!r&&r.shared,l=i||n.hoverPoint,c=l&&l.series||n.hoverSeries;l=(i=this.getHoverData(l,c,n.series,(!e||"touchmove"!==e.type)&&(!!i||c&&c.directTouch&&this.isDirectTouch),s,e)).hoverPoint,c=i.hoverSeries;var h=i.hoverPoints;if(i=c&&c.tooltipOptions.followPointer&&!c.tooltipOptions.split,s=s&&c&&!c.noSharedTooltip,l&&(l!==n.hoverPoint||r&&r.isHidden)){if((n.hoverPoints||[]).forEach(function(t){-1===h.indexOf(t)&&t.setState()}),n.hoverSeries!==c&&c.onMouseOver(),this.applyInactiveState(h),(h||[]).forEach(function(t){t.setState("hover")}),n.hoverPoint&&n.hoverPoint.firePointEvent("mouseOut"),!l.series)return;n.hoverPoints=h,n.hoverPoint=l,l.firePointEvent("mouseOver"),r&&r.refresh(s?h:l,e)}else i&&r&&!r.isHidden&&(l=r.getAnchor([{}],e),n.isInsidePlot(l[0],l[1],{visiblePlotOnly:!0})&&r.updatePosition({plotX:l[0],plotY:l[1]}));this.unDocMouseMove||(this.unDocMouseMove=a(n.container.ownerDocument,"mousemove",function(e){var i=o[t.hoverChartIndex];i&&i.pointer.onDocumentMouseMove(e)}),this.eventsToUnbind.push(this.unDocMouseMove)),n.axes.forEach(function(t){var i,r=v((t.crosshair||{}).snap,!0);r&&((i=n.hoverPoint)&&i.series[t.coll]===t||(i=u(h,function(e){return e.series[t.coll]===t}))),i||!r?t.drawCrosshair(e,i):t.hideCrosshair()})},t.prototype.scaleGroups=function(t,e){var i=this.chart;i.series.forEach(function(n){var r=t||n.getPlotBox();n.group&&(n.xAxis&&n.xAxis.zoomEnabled||i.mapView)&&(n.group.attr(r),n.markerGroup&&(n.markerGroup.attr(r),n.markerGroup.clip(e?i.clipRect:null)),n.dataLabelsGroup&&n.dataLabelsGroup.attr(r))}),i.clipRect.attr(e||i.clipBox)},t.prototype.setDOMEvents=function(){var i=this,n=this.chart.container,r=n.ownerDocument;n.onmousedown=this.onContainerMouseDown.bind(this),n.onmousemove=this.onContainerMouseMove.bind(this),n.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(a(n,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(a(n,"mouseleave",this.onContainerMouseLeave.bind(this))),t.unbindDocumentMouseUp||(t.unbindDocumentMouseUp=a(r,"mouseup",this.onDocumentMouseUp.bind(this)));for(var o=this.chart.renderTo.parentElement;o&&"BODY"!==o.tagName;)this.eventsToUnbind.push(a(o,"scroll",function(){delete i.chartPosition})),o=o.parentElement;e.hasTouch&&(this.eventsToUnbind.push(a(n,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(a(n,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),t.unbindDocumentTouchEnd||(t.unbindDocumentTouchEnd=a(r,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},t.prototype.setHoverChartIndex=function(){var i=this.chart,n=e.charts[v(t.hoverChartIndex,-1)];n&&n!==i&&n.pointer.onContainerMouseLeave({relatedTarget:!0}),n&&n.mouseIsDown||(t.hoverChartIndex=i.index)},t.prototype.touch=function(t,e){var i=this.chart;if(this.setHoverChartIndex(),1===t.touches.length)if(t=this.normalize(t),i.isInsidePlot(t.chartX-i.plotLeft,t.chartY-i.plotTop,{visiblePlotOnly:!0})&&!i.openMenu){if(e&&this.runPointActions(t),"touchmove"===t.type)var n=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2));v(n,!0)&&this.pinch(t)}else e&&this.reset();else 2===t.touches.length&&this.pinch(t)},t.prototype.touchSelect=function(t){return!(!this.chart.options.chart.zoomBySingleTouch||!t.touches||1!==t.touches.length)},t.prototype.zoomOption=function(t){var e=this.chart,i=e.options.chart;e=e.inverted;var n=i.zoomType||"";/touch/.test(t.type)&&(n=v(i.pinchType,n)),this.zoomX=t=/x/.test(n),this.zoomY=i=/y/.test(n),this.zoomHor=t&&!e||i&&e,this.zoomVert=i&&!e||t&&e,this.hasZoom=t||i},t}(),t}),e(i,"Core/MSPointer.js",[i["Core/Globals.js"],i["Core/Pointer.js"],i["Core/Utilities.js"]],function(t,e,
1i){function n(){var t=[];return t.item=function(t){return this[t]},u(f,function(e){t.push({pageX:e.pageX,pageY:e.pageY,target:e.target})}),t}function r(t,i,r,o){var a=s[e.hoverChartIndex||NaN];"touch"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_TOUCH||!a||(a=a.pointer,o(t),a[i]({type:r,target:t.currentTarget,preventDefault:l,touches:n()}))}var o=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),s=t.charts,a=t.doc,l=t.noop,c=t.win,h=i.addEvent,d=i.css,u=i.objectEach,p=i.removeEvent,f={},m=!!c.PointerEvent;return function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return o(i,e),i.isRequired=function(){return!(t.hasTouch||!c.PointerEvent&&!c.MSPointerEvent)},i.prototype.batchMSEvents=function(t){t(this.chart.container,m?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,m?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(a,m?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},i.prototype.destroy=function(){this.batchMSEvents(p),e.prototype.destroy.call(this)},i.prototype.init=function(t,i){e.prototype.init.call(this,t,i),this.hasZoom&&d(t.container,{"-ms-touch-action":"none","touch-action":"none"})},i.prototype.onContainerPointerDown=function(t){r(t,"onContainerTouchStart","touchstart",function(t){f[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}})},i.prototype.onContainerPointerMove=function(t){r(t,"onContainerTouchMove","touchmove",function(t){f[t.pointerId]={pageX:t.pageX,pageY:t.pageY},f[t.pointerId].target||(f[t.pointerId].target=t.currentTarget)})},i.prototype.onDocumentPointerUp=function(t){r(t,"onDocumentTouchEnd","touchend",function(t){delete f[t.pointerId]})},i.prototype.setDOMEvents=function(){e.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(h)},i}(e)}),e(i,"Core/Legend/Legend.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/Series/Point.js"],i["Core/Renderer/RendererUtilities.js"],i["Core/Utilities.js"]],function(t,e,i,n,r,o){var s=t.animObject,a=t.setAnimation,l=e.format;t=i.isFirefox;var c=i.marginNames;i=i.win;var h=r.distribute,d=o.addEvent,u=o.createElement,p=o.css,f=o.defined,m=o.discardElement,g=o.find,y=o.fireEvent,v=o.isNumber,b=o.merge,x=o.pick,w=o.relativeLength,k=o.stableSort,C=o.syncTimeout;return r=o.wrap,o=function(){function t(t,e){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options={},this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=t,this.init(t,e)}return t.prototype.init=function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),d(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=d(this.chart,"render",function(){this.legend.proximatePositions(),this.legend.positionItems()}):this.unchartrender&&this.unchartrender())},t.prototype.setOptions=function(t){var e=x(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=b(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop||0,this.itemMarginBottom=t.itemMarginBottom||0,this.padding=e,this.initialItemY=e-5,this.symbolWidth=x(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0},t.prototype.update=function(t,e){var i=this.chart;this.setOptions(b(!0,this.options,t)),this.destroy(),i.isDirtyLegend=i.isDirtyBox=!0,x(e,!0)&&i.redraw(),y(this,"afterUpdate")},t.prototype.colorizeItem=function(t,e){if(t.legendGroup[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var i=this.options,n=t.legendItem,r=t.legendLine,o=t.legendSymbol,s=this.itemHiddenStyle.color;i=e?i.itemStyle.color:s;var a=e&&t.color||s,l=t.options&&t.options.marker,c={fill:a};n&&n.css({fill:i,color:i}),r&&r.attr({stroke:a}),o&&(l&&o.isMarker&&(c=t.pointAttribs(),e||(c.stroke=c.fill=s)),o.attr(c))}y(this,"afterColorizeItem",{item:t,visible:e})}
1,t.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},t.prototype.positionItem=function(t){var e=this,i=this.options,n=i.symbolPadding,r=!i.rtl,o=t._legendItemPos;i=o[0],o=o[1];var s=t.checkbox,a=t.legendGroup;a&&a.element&&(n={translateX:r?i:this.legendWidth-i-2*n-4,translateY:o},r=function(){y(e,"afterPositionItem",{item:t})},f(a.translateY)?a.animate(n,void 0,r):(a.attr(n),r())),s&&(s.x=i,s.y=o)},t.prototype.destroyItem=function(t){var e=t.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach(function(e){t[e]&&(t[e]=t[e].destroy())}),e&&m(t.checkbox)},t.prototype.destroy=function(){function t(t){this[t]&&(this[t]=this[t].destroy())}this.getAllItems().forEach(function(e){["legendItem","legendGroup"].forEach(t,e)}),"clipRect up down pager nav box title group".split(" ").forEach(t,this),this.display=null},t.prototype.positionCheckboxes=function(){var t=this.group&&this.group.alignAttr,e=this.clipHeight||this.legendHeight,i=this.titleHeight;if(t){var n=t.translateY;this.allItems.forEach(function(r){var o=r.checkbox;if(o){var s=n+i+o.y+(this.scrollOffset||0)+3;p(o,{left:t.translateX+r.checkboxOffset+o.x-20+"px",top:s+"px",display:this.proximate||s>n-6&&s<n+e-6?"":"none"})}},this)}},t.prototype.renderTitle=function(){var t=this.options,e=this.padding,i=t.title,n=0;i.text&&(this.title||(this.title=this.chart.renderer.label(i.text,e-3,e-4,null,null,null,t.useHTML,null,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(i.style),this.title.add(this.group)),i.width||this.title.css({width:this.maxLegendWidth+"px"}),n=(t=this.title.getBBox()).height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:n})),this.titleHeight=n},t.prototype.setText=function(t){var e=this.options;t.legendItem.attr({text:e.labelFormat?l(e.labelFormat,t,this.chart):e.labelFormatter.call(t)})},t.prototype.renderItem=function(t){var e=this.chart,i=e.renderer,n=this.options,r=this.symbolWidth,o=n.symbolPadding||0,s=this.itemStyle,a=this.itemHiddenStyle,l="horizontal"===n.layout?x(n.itemDistance,20):0,c=!n.rtl,h=!t.series,d=!h&&t.series.drawLegendSymbol?t.series:t,u=d.options,p=this.createCheckboxForItem&&u&&u.showCheckbox,f=n.useHTML,m=t.options.className,g=t.legendItem;u=r+o+l+(p?20:0),g||(t.legendGroup=i.g("legend-item").addClass("highcharts-"+d.type+"-series highcharts-color-"+t.colorIndex+(m?" "+m:"")+(h?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),t.legendItem=g=i.text("",c?r+o:-o,this.baseline||0,f),e.styledMode||g.css(b(t.visible?s:a)),g.attr({align:c?"left":"right",zIndex:2}).add(t.legendGroup),this.baseline||(this.fontMetrics=i.fontMetrics(e.styledMode?12:s.fontSize,g),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,g.attr("y",this.baseline),this.symbolHeight=n.symbolHeight||this.fontMetrics.f,n.squareSymbol&&(this.symbolWidth=x(n.symbolWidth,Math.max(this.symbolHeight,16)),u=this.symbolWidth+o+l+(p?20:0),c&&g.attr("x",this.symbolWidth+o))),d.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,g,f)),p&&!t.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t),this.colorizeItem(t,t.visible),!e.styledMode&&s.width||g.css({width:(n.itemWidth||this.widthOption||e.spacingBox.width)-u+"px"}),this.setText(t),e=g.getBBox(),i=this.fontMetrics&&this.fontMetrics.h||0,t.itemWidth=t.checkboxOffset=n.itemWidth||t.legendItemWidth||e.width+u,this.maxItemWidth=Math.max(this.maxItemWidth,t.itemWidth),this.totalItemWidth+=t.itemWidth,this.itemHeight=t.itemHeight=Math.round(t.legendItemHeight||(e.height>1.5*i?e.height:i))},t.prototype.layoutItem=function(t){var e=this.options,i=this.padding,n="horizontal"===e.layout,r=t.itemHeight,o=this.itemMarginBottom,s=this.itemMarginTop,a=n?x(e.itemDistance,20):0,l=this.maxLegendWidth;e=e.alignColumns&&this.totalItemWidth>l?this.maxItemWidth:t.itemWidth,n&&this.itemX-i+e>l&&(this.itemX=i,this.lastLineHeight&&(this.itemY+=s+this.lastLineHeight+o),this.lastLineHeight=0),this.lastItemY=s+this.itemY+o,this.lastLineHeight=Math.max(r,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],n?this.itemX+=e:(this.itemY+=s+r+o,this.lastLineHeight=r),this.offsetWidth=this.widthOption||Math.max((n?this.itemX-i-(t.checkbox?0:a):e)+i,this.offsetWidth)},t.prototype.getAllItems=function(){var t=[];
1return this.chart.series.forEach(function(e){var i=e&&e.options;e&&x(i.showInLegend,!f(i.linkedTo)&&void 0,!0)&&(t=t.concat(e.legendItems||("point"===i.legendType?e.data:e)))}),y(this,"afterGetAllItems",{allItems:t}),t},t.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},t.prototype.adjustMargins=function(t,e){var i=this.chart,n=this.options,r=this.getAlignment();r&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(o,s){o.test(r)&&!f(t[s])&&(i[c[s]]=Math.max(i[c[s]],i.legend[(s+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][s]*n[s%2?"x":"y"]+x(n.margin,12)+e[s]+(i.titleOffset[s]||0)))})},t.prototype.proximatePositions=function(){var t=this.chart,e=[],i="left"===this.options.align;this.allItems.forEach(function(n){var r,o=i;if(n.yAxis){n.xAxis.options.reversed&&(o=!o),n.points&&(r=g(o?n.points:n.points.slice(0).reverse(),function(t){return v(t.plotY)})),o=this.itemMarginTop+n.legendItem.getBBox().height+this.itemMarginBottom;var s=n.yAxis.top-t.plotTop;n.visible?(r=r?r.plotY:n.yAxis.height,r+=s-.3*o):r=s+n.yAxis.height,e.push({target:r,size:o,item:n})}},this),h(e,t.plotHeight).forEach(function(e){e.item._legendItemPos&&(e.item._legendItemPos[1]=t.plotTop-t.spacing[0]+e.pos)})},t.prototype.render=function(){var t=this.chart,e=t.renderer,i=this.options,n=this.padding,r=this.getAllItems(),o=this.group,s=this.box;this.itemX=n,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=w(i.width,t.spacingBox.width-n);var a=t.spacingBox.width-2*n-i.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(a/=2),this.maxLegendWidth=this.widthOption||a,o||(this.group=o=e.g("legend").addClass(i.className||"").attr({zIndex:7}).add(),this.contentGroup=e.g().attr({zIndex:1}).add(o),this.scrollGroup=e.g().add(this.contentGroup)),this.renderTitle(),k(r,function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)}),i.reversed&&r.reverse(),this.allItems=r,this.display=a=!!r.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,r.forEach(this.renderItem,this),r.forEach(this.layoutItem,this),r=(this.widthOption||this.offsetWidth)+n;var l=this.lastItemY+this.lastLineHeight+this.titleHeight;l=this.handleOverflow(l),l+=n,s||(this.box=s=e.rect().addClass("highcharts-legend-box").attr({r:i.borderRadius}).add(o),s.isNew=!0),t.styledMode||s.attr({stroke:i.borderColor,"stroke-width":i.borderWidth||0,fill:i.backgroundColor||"none"}).shadow(i.shadow),0<r&&0<l&&(s[s.isNew?"attr":"animate"](s.crisp.call({},{x:0,y:0,width:r,height:l},s.strokeWidth())),s.isNew=!1),s[a?"show":"hide"](),t.styledMode&&"none"===o.getStyle("display")&&(r=l=0),this.legendWidth=r,this.legendHeight=l,a&&this.align(),this.proximate||this.positionItems(),y(this,"afterRender")},t.prototype.align=function(t){void 0===t&&(t=this.chart.spacingBox);var e=this.chart,i=this.options,n=t.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<e.titleOffset[0]?n+=e.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<e.titleOffset[2]&&(n-=e.titleOffset[2]),n!==t.y&&(t=b(t,{y:n})),this.group.align(b(i,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":i.verticalAlign}),!0,t)},t.prototype.handleOverflow=function(t){var e,i,n=this,r=this.chart,o=r.renderer,s=this.options,a=s.y,l="top"===s.verticalAlign,c=this.padding,h=s.maxHeight,d=s.navigation,u=x(d.animation,!0),p=d.arrowSize||12,f=this.pages,m=this.allItems,g=function(t){"number"==typeof t?b.attr({height:t}):b&&(n.clipRect=b.destroy(),n.contentGroup.clip()),n.contentGroup.div&&(n.contentGroup.div.style.clip=t?"rect("+c+"px,9999px,"+(c+t)+"px,0)":"auto")},y=function(t){return n[t]=o.circle(0,0,1.3*p).translate(p/2,p/2).add(v),r.styledMode||n[t].attr("fill","rgba(0,0,0,0.0001)"),n[t]};a=r.spacingBox.height+(l?-a:a)-c;var v=this.nav,b=this.clipRect;return"horizontal"!==s.layout||"middle"===s.verticalAlign||s.floating||(a/=2),h&&(a=Math.min(a,h)),f.length=0,t&&0<a&&t>a&&!1!==d.enabled?(this.clipHeight=e=Math.max(a-20-this.titleHeight-c,0),this.currentPage=x(this.currentPage,1),this.fullHeight=t,m.forEach(function(t,n){var r=t._legendItemPos[1],o=Math.round(t.legendItem.getBBox().height),s=f.length;(!s||r-f[s-1]>e&&(i||r)!==f[s-1])&&(f.push(i||r),s++),t.pageIx=s-1,i&&(m[n-1].pageIx=s-1),n===m.length-1&&r+o-f[s-1]>e&&o<=e&&(f.push(r),t.pageIx=s),r!==i&&(i=r)}),b||(b=n.clipRect=o.clipRect(0,c,9999,0),n.contentGroup.clip(b)),g(e),v||(this.nav=v=o.g().attr({zIndex:1}).add(this.group),this.up=o.symbol("triangle",0,0,p,p).add(v),y("upTracker").on("click",function(){n.scroll(-1,u)}),this.pager=o.text("",15,10).addClass("highcharts-legend-navigation"),r.styledMode||this.pager.css(d.style),this.pager.add(v),this.down=o.symbol("triangle-down",0,0,p,p).add(v),y("downTracker").on("click",function(){n.scroll(1,u)})),n.scroll(0),t=a):v&&(g(),this.nav=v.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},t.prototype.scroll=function(t,e){var i=this,n=this.chart,r=this.pages,o=r.length,l=this.clipHeight,c=this.options.navigation,h=this.pager,d=this.padding,u=this.currentPage+t;u>o&&(u=o),0<u&&(void 0!==e&&a(e,n),this.nav.attr({translateX:d,translateY:l+this.padding+7+this.titleHeight,visibility:"visible"}),[this.up,this.upTracker].forEach(function(t){t.attr({class:1===u?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),h.attr({text:u+"/"+o}),[this.down,this.downTracker].forEach(function(t){t.attr({x:18+this.pager.getBBox().width,class:u===o?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),n.styledMode||(this.up.attr({fill:1===u?c.inactiveColor:c.activeColor}),this.upTracker.css({cursor:1===u?"default":"pointer"}),this.down.attr({fill:u===o?c.inactiveColor:c.activeColor}),this.downTracker.css({cursor:u===o?"default":"pointer"})),this.scrollOffset=-r[u-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=u,this.positionCheckboxes(),t=s(x(e,n.renderer.globalAnimation,!0)),C(function(){y(i,"afterScroll",{currentPage:u})},t.duration))}
1,t.prototype.setItemEvents=function(t,e,i){var r=this,o=r.chart.renderer.boxWrapper,s=t instanceof n,a="highcharts-legend-"+(s?"point":"series")+"-active",l=r.chart.styledMode,c=function(e){r.allItems.forEach(function(i){t!==i&&[i].concat(i.linkedSeries||[]).forEach(function(t){t.setState(e,!s)})})};(i?[e,t.legendSymbol]:[t.legendGroup]).forEach(function(i){i&&i.on("mouseover",function(){t.visible&&c("inactive"),t.setState("hover"),t.visible&&o.addClass(a),l||e.css(r.options.itemHoverStyle)}).on("mouseout",function(){r.chart.styledMode||e.css(b(t.visible?r.itemStyle:r.itemHiddenStyle)),c(""),o.removeClass(a),t.setState()}).on("click",function(e){var i=function(){t.setVisible&&t.setVisible(),c(t.visible?"inactive":"")};o.removeClass(a),e={browserEvent:e},t.firePointEvent?t.firePointEvent("legendItemClick",e,i):y(t,"legendItemClick",e,i)})})},t.prototype.createCheckboxForItem=function(t){t.checkbox=u("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),d(t.checkbox,"click",function(e){y(t.series||t,"checkboxClick",{checked:e.target.checked,item:t},function(){t.select()})})},t}(),(/Trident\/7\.0/.test(i.navigator&&i.navigator.userAgent)||t)&&r(o.prototype,"positionItem",function(t,e){var i=this,n=function(){e._legendItemPos&&t.call(i,e)};n(),i.bubbleLegend||setTimeout(n)}),o}),e(i,"Core/Series/SeriesRegistry.js",[i["Core/Globals.js"],i["Core/DefaultOptions.js"],i["Core/Series/Point.js"],i["Core/Utilities.js"]],function(t,e,i,n){var r,o=e.defaultOptions,s=n.error,a=n.extendClass,l=n.merge;return function(e){function n(t,n){var r=o.plotOptions||{},s=n.defaultOptions;n.prototype.pointClass||(n.prototype.pointClass=i),n.prototype.type=t,s&&(r[t]=s),e.seriesTypes[t]=n}e.seriesTypes=t.seriesTypes,e.getSeries=function(t,i){void 0===i&&(i={});var n=t.options.chart;n=i.type||n.type||n.defaultSeriesType||"";var r=e.seriesTypes[n];return e||s(17,!0,t,{missingModuleFor:n}),"function"==typeof(n=new r).init&&n.init(t,i),n},e.registerSeriesType=n,e.seriesType=function(t,r,s,c,h){var d=o.plotOptions||{};return r=r||"",d[t]=l(d[r],s),n(t,a(e.seriesTypes[r]||function(){},c)),e.seriesTypes[t].prototype.type=t,h&&(e.seriesTypes[t].prototype.pointClass=a(i,h)),e.seriesTypes[t]}}(r||(r={})),r}),e(i,"Core/Chart/Chart.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/Axis.js"],i["Core/FormatUtilities.js"],i["Core/Foundation.js"],i["Core/Globals.js"],i["Core/Legend/Legend.js"],i["Core/MSPointer.js"],i["Core/DefaultOptions.js"],i["Core/Pointer.js"],i["Core/Renderer/RendererRegistry.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Renderer/SVG/SVGRenderer.js"],i["Core/Time.js"],i["Core/Utilities.js"],i["Core/Renderer/HTML/AST.js"]],function(t,e,i,n,r,o,s,a,l,c,h,d,u,p,f){var m=t.animate,g=t.animObject,y=t.setAnimation,v=i.numberFormat,b=n.registerEventOptions,x=r.charts,w=r.doc,k=r.marginNames,C=r.svg,S=r.win,_=a.defaultOptions,A=a.defaultTime,T=h.seriesTypes,M=p.addEvent,P=p.attr,E=p.cleanRecursively,O=p.createElement,L=p.css,D=p.defined,I=p.discardElement,j=p.erase,B=p.error,N=p.extend,R=p.find,F=p.fireEvent,H=p.getStyle,z=p.isArray,U=p.isNumber,G=p.isObject,W=p.isString,X=p.merge,V=p.objectEach,Y=p.pick,K=p.pInt,$=p.relativeLength,q=p.removeEvent,Z=p.splat,J=p.syncTimeout,Q=p.uniqueKey;return t=function(){function t(t,e,i){this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.legend=this.labelCollectors=this.isResizing=this.index=this.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(t,e,i)}return t.chart=function(e,i,n){return new t(e,i,n)},t.prototype.getArgs=function(t,e,i){W(t)||t.nodeName?(this.renderTo=t,this.init(e,i)):this.init(t,e)},t.prototype.init=function(t,e){var i=t.plotOptions||{};F(this,"init",{args:arguments},function(){var n=X(_,t),o=n.chart;V(n.plotOptions,function(t,e){G(t)&&(t.tooltip=i[e]&&X(i[e].tooltip)||void 0)}),n.tooltip.userOptions=t.chart&&t.chart.forExport&&t.tooltip.userOptions||t.tooltip,this.userOptions=t,this.margin=[],this.spacing=[],this.bounds={h:{},v:{}},this.labelCollectors=[],this.callback=e,this.isResizing=0,this.options=n,this.axes=[],this.series=[],this.time=t.time&&Object.keys(t.time).length?new u(t.time):r.time,this.numberFormatter=o.numberFormatter||v,this.styledMode=o.styledMode,this.hasCartesianSeries=o.showAxes,this.index=x.length,x.push(this),r.chartCount++,b(this,o),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,F(this,"afterInit"),this.firstRen
1der()})},t.prototype.initSeries=function(t){var e=this.options.chart;e=t.type||e.type||e.defaultSeriesType;var i=T[e];return i||B(17,!0,this,{missingModuleFor:e}),"function"==typeof(e=new i).init&&e.init(this,t),e},t.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach(function(t){t.points||t.data||!t.enabledDataSorting||t.setData(t.options.data,!1)})},t.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort(function(t,e){return t.linkedSeries.length||e.linkedSeries.length?e.linkedSeries.length-t.linkedSeries.length:0})},t.prototype.orderSeries=function(t){var e=this.series;t=t||0;for(var i=e.length;t<i;++t)e[t]&&(e[t].index=t,e[t].name=e[t].getName())},t.prototype.isInsidePlot=function(t,e,i){void 0===i&&(i={});var n=this.inverted,r=this.plotBox,o=this.plotLeft,s=this.plotTop,a=this.scrollablePlotBox,l=0,c=0;i.visiblePlotOnly&&this.scrollingContainer&&(l=(c=this.scrollingContainer).scrollLeft,c=c.scrollTop);var h=i.series;if(r=i.visiblePlotOnly&&a||r,t={x:a=i.inverted?e:t,y:e=i.inverted?t:e,isInsidePlot:!0},!i.ignoreX){var d=h&&(n?h.yAxis:h.xAxis)||{pos:o,len:1/0};(a=i.paneCoordinates?d.pos+a:o+a)>=Math.max(l+o,d.pos)&&a<=Math.min(l+o+r.width,d.pos+d.len)||(t.isInsidePlot=!1)}return!i.ignoreY&&t.isInsidePlot&&(n=h&&(n?h.xAxis:h.yAxis)||{pos:s,len:1/0},(i=i.paneCoordinates?n.pos+e:s+e)>=Math.max(c+s,n.pos)&&i<=Math.min(c+s+r.height,n.pos+n.len)||(t.isInsidePlot=!1)),F(this,"afterIsInsidePlot",t),t.isInsidePlot},t.prototype.redraw=function(t){F(this,"beforeRedraw");var e=this.hasCartesianSeries?this.axes:this.colorAxis||[],i=this.series,n=this.pointer,r=this.legend,o=this.userOptions.legend,s=this.renderer,a=s.isHidden(),l=[],c=this.isDirtyBox,h=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),y(!!this.hasRendered&&t,this),a&&this.temporaryDisplay(),this.layOutTitles(),t=i.length;t--;){var d=i[t];if(d.options.stacking||d.options.centerInCategory){var u=!0;if(d.isDirty){var p=!0;break}}}if(p)for(t=i.length;t--;)(d=i[t]).options.stacking&&(d.isDirty=!0);i.forEach(function(t){t.isDirty&&("point"===t.options.legendType?("function"==typeof t.updateTotals&&t.updateTotals(),h=!0):o&&(o.labelFormatter||o.labelFormat)&&(h=!0)),t.isDirtyData&&F(t,"updatedData")}),h&&r&&r.options.enabled&&(r.render(),this.isDirtyLegend=!1),u&&this.getStacks(),e.forEach(function(t){t.updateNames(),t.setScale()}),this.getMargins(),e.forEach(function(t){t.isDirty&&(c=!0)}),e.forEach(function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,l.push(function(){F(t,"afterSetExtremes",N(t.eventArgs,t.getExtremes())),delete t.eventArgs})),(c||u)&&t.redraw()}),c&&this.drawChartBox(),F(this,"predraw"),i.forEach(function(t){(c||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1}),n&&n.reset(!0),s.draw(),F(this,"redraw"),F(this,"render"),a&&this.temporaryDisplay(!0),l.forEach(function(t){t.call()})},t.prototype.get=function(t){function e(e){return e.id===t||e.options&&e.options.id===t}for(var i=this.series,n=R(this.axes,e)||R(this.series,e),r=0;!n&&r<i.length;r++)n=R(i[r].points||[],e);return n},t.prototype.getAxes=function(){var t=this,i=this.options,n=i.xAxis=Z(i.xAxis||{});i=i.yAxis=Z(i.yAxis||{}),F(this,"getAxes"),n.forEach(function(t,e){t.index=e,t.isX=!0}),i.forEach(function(t,e){t.index=e}),n.concat(i).forEach(function(i){new e(t,i)}),F(this,"afterGetAxes")},t.prototype.getSelectedPoints=function(){return this.series.reduce(function(t,e){return e.getPointsCollection().forEach(function(e){Y(e.selectedStaging,e.selected)&&t.push(e)}),t},[])},t.prototype.getSelectedSeries=function(){return this.series.filter(function(t){return t.selected})},t.prototype.setTitle=function(t,e,i){this.applyDescription("title",t),this.applyDescription("subtitle",e),this.applyDescription("caption",void 0),this.layOutTitles(i)},t.prototype.applyDescription=function(t,e){var i=this,n="title"===t?{color:"#333333",fontSize:this.options.isStock?"16px":"18px"}:{color:"#666666"};n=this.options[t]=X(!this.styledMode&&{style:n},this.options[t],e);var r=this[t];r&&e&&(this[t]=r=r.destroy()),n&&!r&&((r=this.renderer.text(n.text,0,0,n.useHTML).attr({align:n.align,class:"highcharts-"+t,zIndex:n.zIndex||4}
1).add()).update=function(e){i[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[t]](e)},this.styledMode||r.css(n.style),this[t]=r)},t.prototype.layOutTitles=function(t){var e=[0,0,0],i=this.renderer,n=this.spacingBox;["title","subtitle","caption"].forEach(function(t){var r,o=this[t],s=this.options[t],a=s.verticalAlign||"top";if(t="title"===t?"top"===a?-3:0:"top"===a?e[0]+2:0,o){this.styledMode||(r=s.style&&s.style.fontSize),r=i.fontMetrics(r,o).b,o.css({width:(s.width||n.width+(s.widthAdjust||0))+"px"});var l=Math.round(o.getBBox(s.useHTML).height);o.align(N({y:"bottom"===a?r:t+r,height:l},s),!1,"spacingBox"),s.floating||("top"===a?e[0]=Math.ceil(e[0]+l):"bottom"===a&&(e[2]=Math.ceil(e[2]+l)))}},this),e[0]&&"top"===(this.options.title.verticalAlign||"top")&&(e[0]+=this.options.title.margin),e[2]&&"bottom"===this.options.caption.verticalAlign&&(e[2]+=this.options.caption.margin);var r=!this.titleOffset||this.titleOffset.join(",")!==e.join(",");this.titleOffset=e,F(this,"afterLayOutTitles"),!this.isDirtyBox&&r&&(this.isDirtyBox=this.isDirtyLegend=r,this.hasRendered&&Y(t,!0)&&this.isDirtyBox&&this.redraw())},t.prototype.getChartSize=function(){var t=this.options.chart,e=t.width;t=t.height;var i=this.renderTo;D(e)||(this.containerWidth=H(i,"width")),D(t)||(this.containerHeight=H(i,"height")),this.chartWidth=Math.max(0,e||this.containerWidth||600),this.chartHeight=Math.max(0,$(t,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))},t.prototype.temporaryDisplay=function(t){var e=this.renderTo;if(t)for(;e&&e.style;)e.hcOrigStyle&&(L(e,e.hcOrigStyle),delete e.hcOrigStyle),e.hcOrigDetached&&(w.body.removeChild(e),e.hcOrigDetached=!1),e=e.parentNode;else for(;e&&e.style&&(w.body.contains(e)||e.parentNode||(e.hcOrigDetached=!0,w.body.appendChild(e)),("none"===H(e,"display",!1)||e.hcOricDetached)&&(e.hcOrigStyle={display:e.style.display,height:e.style.height,overflow:e.style.overflow},t={display:"block",overflow:"hidden"},e!==this.renderTo&&(t.height=0),L(e,t),e.offsetWidth||e.style.setProperty("display","block","important")),(e=e.parentNode)!==w.body););},t.prototype.setClassName=function(t){this.container.className="highcharts-container "+(t||"")},t.prototype.getContainer=function(){var t,e=this.options,i=e.chart,n=Q(),r=this.renderTo;r||(this.renderTo=r=i.renderTo),W(r)&&(this.renderTo=r=w.getElementById(r)),r||B(13,!0,this);var o=K(P(r,"data-highcharts-chart"));U(o)&&x[o]&&x[o].hasRendered&&x[o].destroy(),P(r,"data-highcharts-chart",this.index),r.innerHTML=f.emptyHTML,i.skipClone||r.offsetWidth||this.temporaryDisplay(),this.getChartSize(),o=this.chartWidth;var s=this.chartHeight;if(L(r,{overflow:"hidden"}),this.styledMode||(t=N({position:"relative",overflow:"hidden",width:o+"px",height:s+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},i.style||{})),this.container=n=O("div",{id:n},t,r),this._cursor=n.style.cursor,this.renderer=new(i.renderer||!C?c.getRendererType(i.renderer):d)(n,o,s,void 0,i.forExport,e.exporting&&e.exporting.allowHTML,this.styledMode),y(void 0,this),this.setClassName(i.className),this.styledMode)for(var a in e.defs)this.renderer.definition(e.defs[a]);else this.renderer.setStyle(i.style);this.renderer.chartIndex=this.index,F(this,"afterGetContainer")},t.prototype.getMargins=function(t){var e=this.spacing,i=this.margin,n=this.titleOffset;this.resetMargins(),n[0]&&!D(i[0])&&(this.plotTop=Math.max(this.plotTop,n[0]+e[0])),n[2]&&!D(i[2])&&(this.marginBottom=Math.max(this.marginBottom,n[2]+e[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(i,e),F(this,"getMargins"),t||this.getAxisMargins()},t.prototype.getAxisMargins=function(){var t=this,e=t.axisOffset=[0,0,0,0],i=t.colorAxis,n=t.margin,r=function(t){t.forEach(function(t){t.visible&&t.getOffset()})};t.hasCartesianSeries?r(t.axes):i&&i.length&&r(i),k.forEach(function(i,r){D(n[r])||(t[i]+=e[r])}),t.setChartSize()},t.prototype.reflow=function(t){var e=this,i=e.options.chart,n=e.renderTo,r=D(i.width)&&D(i.height),o=i.width||H(n,"width");
1i=i.height||H(n,"height"),n=t?t.target:S,delete e.pointer.chartPosition,r||e.isPrinting||!o||!i||n!==S&&n!==w||(o===e.containerWidth&&i===e.containerHeight||(p.clearTimeout(e.reflowTimeout),e.reflowTimeout=J(function(){e.container&&e.setSize(void 0,void 0,!1)},t?100:0)),e.containerWidth=o,e.containerHeight=i)},t.prototype.setReflow=function(t){var e=this;!1===t||this.unbindReflow?!1===t&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=M(S,"resize",function(t){e.options&&e.reflow(t)}),M(this,"destroy",this.unbindReflow))},t.prototype.setSize=function(t,e,i){var n=this,r=n.renderer;n.isResizing+=1,y(i,n),i=r.globalAnimation,n.oldChartHeight=n.chartHeight,n.oldChartWidth=n.chartWidth,void 0!==t&&(n.options.chart.width=t),void 0!==e&&(n.options.chart.height=e),n.getChartSize(),n.styledMode||(i?m:L)(n.container,{width:n.chartWidth+"px",height:n.chartHeight+"px"},i),n.setChartSize(!0),r.setSize(n.chartWidth,n.chartHeight,i),n.axes.forEach(function(t){t.isDirty=!0,t.setScale()}),n.isDirtyLegend=!0,n.isDirtyBox=!0,n.layOutTitles(),n.getMargins(),n.redraw(i),n.oldChartHeight=null,F(n,"resize"),J(function(){n&&F(n,"endResize",null,function(){--n.isResizing})},g(i).duration)},t.prototype.setChartSize=function(t){var e,i,n,r,o=this.inverted,s=this.renderer,a=this.chartWidth,l=this.chartHeight,c=this.options.chart,h=this.spacing,d=this.clipOffset;this.plotLeft=e=Math.round(this.plotLeft),this.plotTop=i=Math.round(this.plotTop),this.plotWidth=n=Math.max(0,Math.round(a-e-this.marginRight)),this.plotHeight=r=Math.max(0,Math.round(l-i-this.marginBottom)),this.plotSizeX=o?r:n,this.plotSizeY=o?n:r,this.plotBorderWidth=c.plotBorderWidth||0,this.spacingBox=s.spacingBox={x:h[3],y:h[0],width:a-h[3]-h[1],height:l-h[0]-h[2]},this.plotBox=s.plotBox={x:e,y:i,width:n,height:r},o=2*Math.floor(this.plotBorderWidth/2),a=Math.ceil(Math.max(o,d[3])/2),l=Math.ceil(Math.max(o,d[0])/2),this.clipBox={x:a,y:l,width:Math.floor(this.plotSizeX-Math.max(o,d[1])/2-a),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(o,d[2])/2-l))},t||(this.axes.forEach(function(t){t.setAxisSize(),t.setAxisTranslation()}),s.alignElements()),F(this,"afterSetChartSize",{skipAxes:t})},t.prototype.resetMargins=function(){F(this,"resetMargins");var t=this,e=t.options.chart;["margin","spacing"].forEach(function(i){var n=e[i],r=G(n)?n:[n,n,n,n];["Top","Right","Bottom","Left"].forEach(function(n,o){t[i][o]=Y(e[i+n],r[o])})}),k.forEach(function(e,i){t[e]=Y(t.margin[i],t.spacing[i])}),t.axisOffset=[0,0,0,0],t.clipOffset=[0,0,0,0]},t.prototype.drawChartBox=function(){var t,e=this.options.chart,i=this.renderer,n=this.chartWidth,r=this.chartHeight,o=this.styledMode,s=this.plotBGImage,a=e.backgroundColor,l=e.plotBackgroun
1dColor,c=e.plotBackgroundImage,h=this.plotLeft,d=this.plotTop,u=this.plotWidth,p=this.plotHeight,f=this.plotBox,m=this.clipRect,g=this.clipBox,y=this.chartBackground,v=this.plotBackground,b=this.plotBorder,x="animate";if(y||(this.chartBackground=y=i.rect().addClass("highcharts-background").add(),x="attr"),o)var w=t=y.strokeWidth();else t=(w=e.borderWidth||0)+(e.shadow?8:0),a={fill:a||"none"},(w||y["stroke-width"])&&(a.stroke=e.borderColor,a["stroke-width"]=w),y.attr(a).shadow(e.shadow);y[x]({x:t/2,y:t/2,width:n-t-w%2,height:r-t-w%2,r:e.borderRadius}),x="animate",v||(x="attr",this.plotBackground=v=i.rect().addClass("highcharts-plot-background").add()),v[x](f),o||(v.attr({fill:l||"none"}).shadow(e.plotShadow),c&&(s?(c!==s.attr("href")&&s.attr("href",c),s.animate(f)):this.plotBGImage=i.image(c,h,d,u,p).add())),m?m.animate({width:g.width,height:g.height}):this.clipRect=i.clipRect(g),x="animate",b||(x="attr",this.plotBorder=b=i.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),o||b.attr({stroke:e.plotBorderColor,"stroke-width":e.plotBorderWidth||0,fill:"none"}),b[x](b.crisp({x:h,y:d,width:u,height:p},-b.strokeWidth())),this.isDirtyBox=!1,F(this,"afterDrawChartBox")},t.prototype.propFromSeries=function(){var t,e,i,n=this,r=n.options.chart,o=n.options.series;["inverted","angular","polar"].forEach(function(s){for(e=T[r.type||r.defaultSeriesType],i=r[s]||e&&e.prototype[s],t=o&&o.length;!i&&t--;)(e=T[o[t].type])&&e.prototype[s]&&(i=!0);n[s]=i})},t.prototype.linkSeries=function(){var t=this,e=t.series;e.forEach(function(t){t.linkedSeries.length=0}),e.forEach(function(e){var i=e.options.linkedTo;W(i)&&(i=":previous"===i?t.series[e.index-1]:t.get(i))&&i.linkedParent!==e&&(i.linkedSeries.push(e),e.linkedParent=i,i.enabledDataSorting&&e.setDataSortingOptions(),e.visible=Y(e.options.visible,i.options.visible,e.visible))}),F(this,"afterLinkSeries")},t.prototype.renderSeries=function(){this.series.forEach(function(t){t.translate(),t.render()})},t.prototype.renderLabels=function(){var t=this,e=t.options.labels;e.items&&e.items.forEach(function(i){var n=N(e.style,i.style),r=K(n.left)+t.plotLeft,o=K(n.top)+t.plotTop+12;delete n.left,delete n.top,t.renderer.text(i.html,r,o).attr({zIndex:2}).css(n).add()})},t.prototype.render=function(){var t=this.axes,e=this.colorAxis,i=this.renderer,n=this.options,r=function(t){t.forEach(function(t){t.visible&&t.render()})},s=0;this.setTitle(),this.legend=new o(this,n.legend),this.getStacks&&this.getStacks(),this.getMargins(!0),this.setChartSize(),n=this.plotWidth,t.some(function(t){if(t.horiz&&t.visible&&t.options.labels.enabled&&t.series.length)return s=21,!0});var a=this.plotHeight=Math.max(this.plotHeight-s,0);t.forEach(function(t){t.setScale()}),this.getAxisMargins();var l=1.1<n/this.plotWidth,c=1.05<a/this.plotHeight;(l||c)&&(t.forEach(function(t){(t.horiz&&l||!t.horiz&&c)&&t.setTickInterval(!0)}),this.getMargins()),this.drawChartBox(),this.hasCartesianSeries?r(t):e&&e.length&&r(e),this.seriesGroup||(this.seriesGroup=i.g("series-group").attr({zIndex:3}).add()),this.renderSeries(),this.renderLabels(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0},t.prototype.addCredits=function(t){var e=this,i=X(!0,this.options.credits,t);i.enabled&&!this.credits&&(this.credits=this.renderer.text(i.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){i.href&&(S.location.href=i.href)}).attr({align:i.position.align,zIndex:8}),e.styledMode||this.credits.css(i.style),this.credits.add().align(i.position),this.credits.update=function(t){e.credits=e.credits.destroy(),e.addCredits(t)})},t.prototype.destroy=function(){var t,e=this,i=e.axes,n=e.series,o=e.container,s=o&&o.parentNode;for(F(e,"destroy"),e.renderer.forExport?j(x,e):x[e.index]=void 0,r.chartCount--,e.renderTo.removeAttribute("data-highcharts-chart"),q(e),t=i.length;t--;)i[t]=i[t].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t=n.length;t--;)n[t]=n[t].destroy();
1"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach(function(t){var i=e[t];i&&i.destroy&&(e[t]=i.destroy())}),o&&(o.innerHTML=f.emptyHTML,q(o),s&&I(o)),V(e,function(t,i){delete e[i]})},t.prototype.firstRender=function(){var t=this,e=t.options;t.isReadyToRender&&!t.isReadyToRender()||(t.getContainer(),t.resetMargins(),t.setChartSize(),t.propFromSeries(),t.getAxes(),(z(e.series)?e.series:[]).forEach(function(e){t.initSeries(e)}),t.linkSeries(),t.setSeriesData(),F(t,"beforeRender"),l&&(s.isRequired()?t.pointer=new s(t,e):t.pointer=new l(t,e)),t.render(),t.pointer.getChartPosition(),t.renderer.imgCount||t.hasLoaded||t.onload(),t.temporaryDisplay(!0))},t.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach(function(t){t&&void 0!==this.index&&t.apply(this,[this])},this),F(this,"load"),F(this,"render"),D(this.index)&&this.setReflow(this.options.chart.reflow),this.hasLoaded=!0},t.prototype.addSeries=function(t,e,i){var n,r=this;return t&&(e=Y(e,!0),F(r,"addSeries",{options:t},function(){n=r.initSeries(t),r.isDirtyLegend=!0,r.linkSeries(),n.enabledDataSorting&&n.setData(t.data,!1),F(r,"afterAddSeries",{series:n}),e&&r.redraw(i)})),n},t.prototype.addAxis=function(t,e,i,n){return this.createAxis(e?"xAxis":"yAxis",{axis:t,redraw:i,animation:n})},t.prototype.addColorAxis=function(t,e,i){return this.createAxis("colorAxis",{axis:t,redraw:e,animation:i})},t.prototype.createAxis=function(t,i){return t=new e(this,X(i.axis,{index:this[t].length,isX:"xAxis"===t})),Y(i.redraw,!0)&&this.redraw(i.animation),t},t.prototype.showLoading=function(t){var e=this,i=e.options,n=i.loading,r=function(){o&&L(o,{left:e.plotLeft+"px",top:e.plotTop+"px",width:e.plotWidth+"px",height:e.plotHeight+"px"})},o=e.loadingDiv,s=e.loadingSpan;o||(e.loadingDiv=o=O("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e.container)),s||(e.loadingSpan=s=O("span",{className:"highcharts-loading-inner"},null,o),M(e,"redraw",r)),o.className="highcharts-loading",f.setElementHTML(s,Y(t,i.lang.loading,"")),e.styledMode||(L(o,N(n.style,{zIndex:10})),L(s,n.labelStyle),e.loadingShown||(L(o,{opacity:0,display:""}),m(o,{opacity:n.style.opacity||.5},{duration:n.showDuration||0}))),e.loadingShown=!0,r()},t.prototype.hideLoading=function(){var t=this.options,e=this.loadingDiv;e&&(e.className="highcharts-loading highcharts-loading-hidden",this.styledMode||m(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){L(e,{display:"none"})}})),this.loadingShown=!1},t.prototype.update=function(t,e,i,n){var r,o,s=this,a={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},l=t.isResponsiveOptions,c=[];F(s,"update",{options:t}),l||s.setResponsive(!1,!0),t=E(t,s.options),s.userOptions=X(s.userOptions,t);var h=t.chart;if(h){if(X(!0,s.options.chart,h),"className"in h&&s.setClassName(h.className),"reflow"in h&&s.setReflow(h.reflow),"inverted"in h||"polar"in h||"type"in h){s.propFromSeries();var d=!0}"alignTicks"in h&&(d=!0),"events"in h&&b(this,h),V(h,function(t,e){-1!==s.propsRequireUpdateSeries.indexOf("chart."+e)&&(r=!0),-1!==s.propsRequireDirtyBox.indexOf(e)&&(s.isDirtyBox=!0),-1!==s.propsRequireReflow.indexOf(e)&&(l?s.isDirtyBox=!0:o=!0)}),!s.styledMode&&h.style&&s.renderer.setStyle(s.options.chart.style||{})}!s.styledMode&&t.colors&&(this.options.colors=t.colors),t.time&&(this.time===A&&(this.time=new u(t.time)),X(!0,s.options.time,t.time)),V(t,function(e,i){s[i]&&"function"==typeof s[i].update?s[i].update(e,!1):"function"==typeof s[a[i]]?s[a[i]](e):"colors"!==i&&-1===s.collectionsWithUpdate.indexOf(i)&&X(!0,s.options[i],t[i]),"chart"!==i&&-1!==s.propsRequireUpdateSeries.indexOf(i)&&(r=!0)}),this.collectionsWithUpdate.forEach(function(e){if(t[e]){var n=[];s[e].forEach(function(t,e){t.options.isInternal||n.push(Y(t.options.index,e))}),Z(t[e]).forEach(function(t,r){var o,a=D(t.id);a&&(o=s.get(t.id)),!o&&s[e]&&(o=s[e][n?n[r]:r])&&a&&D(o.options.id)&&(o=void 0),o&&o.coll===e&&(o.update(t,!1),i&&(o.touched=!0)),!o&&i&&s.collectionsWithInit[e]&&(s.collectionsWithInit[e][0].apply(s,[t].concat(s.collectionsWithInit[e][1]||[]).concat([!1])).touched=!0)}),i&&s[e].forEach(function(t){t.touched||t.options.isInternal?delete t.touched:c.push(t)})}}
1),c.forEach(function(t){t.chart&&t.remove&&t.remove(!1)}),d&&s.axes.forEach(function(t){t.update({},!1)}),r&&s.getSeriesOrderByLinks().forEach(function(t){t.chart&&t.update({},!1)},this),d=h&&h.width,h=h&&(W(h.height)?$(h.height,d||s.chartWidth):h.height),o||U(d)&&d!==s.chartWidth||U(h)&&h!==s.chartHeight?s.setSize(d,h,n):Y(e,!0)&&s.redraw(n),F(s,"afterUpdate",{options:t,redraw:e,animation:n})},t.prototype.setSubtitle=function(t,e){this.applyDescription("subtitle",t),this.layOutTitles(e)},t.prototype.setCaption=function(t,e){this.applyDescription("caption",t),this.layOutTitles(e)},t.prototype.showResetZoom=function(){function t(){e.zoomOut()}var e=this,i=_.lang,n=e.options.chart.resetZoomButton,r=n.theme,o=r.states,s="chart"===n.relativeTo||"spacingBox"===n.relativeTo?null:"scrollablePlotBox";F(this,"beforeShowResetZoom",null,function(){e.resetZoomButton=e.renderer.button(i.resetZoom,null,null,t,r,o&&o.hover).attr({align:n.position.align,title:i.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(n.position,!1,s)}),F(this,"afterShowResetZoom")},t.prototype.zoomOut=function(){F(this,"selection",{resetSelection:!0}
1,this.zoom)},t.prototype.zoom=function(t){var e,i=this,n=i.pointer,r=i.inverted?n.mouseDownX:n.mouseDownY,o=!1;!t||t.resetSelection?(i.axes.forEach(function(t){e=t.zoom()}),n.initiated=!1):t.xAxis.concat(t.yAxis).forEach(function(t){var s=t.axis,a=i.inverted?s.left:s.top,l=i.inverted?a+s.width:a+s.height,c=s.isXAxis,h=!1;(!c&&r>=a&&r<=l||c||!D(r))&&(h=!0),n[c?"zoomX":"zoomY"]&&h&&(e=s.zoom(t.min,t.max),s.displayBtn&&(o=!0))});var s=i.resetZoomButton;o&&!s?i.showResetZoom():!o&&G(s)&&(i.resetZoomButton=s.destroy()),e&&i.redraw(Y(i.options.chart.animation,t&&t.animation,100>i.pointCount))},t.prototype.pan=function(t,e){var i=this,n=i.hoverPoints;e="object"==typeof e?e:{enabled:e,type:"x"};var r=i.options.chart,o=i.options.mapNavigation&&i.options.mapNavigation.enabled;r&&r.panning&&(r.panning=e);var s,a=e.type;F(this,"pan",{originalEvent:t},function(){n&&n.forEach(function(t){t.setState()});var e=i.xAxis;"xy"===a?e=e.concat(i.yAxis):"y"===a&&(e=i.yAxis);var r={};e.forEach(function(e){if(e.options.panningEnabled&&!e.options.isInternal){var n=e.horiz,l=t[n?"chartX":"chartY"],c=i[n=n?"mouseDownX":"mouseDownY"],h=e.minPointOffset||0,d=e.reversed&&!i.inverted||!e.reversed&&i.inverted?-1:1,u=e.getExtremes(),p=e.toValue(c-l,!0)+h*d,f=e.toValue(c+e.len-l,!0)-(h*d||e.isXAxis&&e.pointRangePadding||0),m=f<p;d=e.hasVerticalPanning(),c=m?f:p,p=m?p:f;var g=e.panningState;!d||e.isXAxis||g&&!g.isDirty||e.series.forEach(function(t){var e=t.getProcessedData(!0);e=t.getExtremes(e.yData,!0),g||(g={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE}),U(e.dataMin)&&U(e.dataMax)&&(g.startMin=Math.min(Y(t.options.threshold,1/0),e.dataMin,g.startMin),g.startMax=Math.max(Y(t.options.threshold,-1/0),e.dataMax,g.startMax))}),d=Math.min(Y(g&&g.startMin,u.dataMin),h?u.min:e.toValue(e.toPixels(u.min)-e.minPixelPadding)),f=Math.max(Y(g&&g.startMax,u.dataMax),h?u.max:e.toValue(e.toPixels(u.max)+e.minPixelPadding)),e.panningState=g,e.isOrdinal||(0<(h=d-c)&&(p+=h,c=d),0<(h=p-f)&&(p=f,c-=h),e.series.length&&c!==u.min&&p!==u.max&&c>=d&&p<=f&&(e.setExtremes(c,p,!1,!1,{trigger:"pan"}),i.resetZoomButton||o||c===d||p===f||!a.match("y")||(i.showResetZoom(),e.displayBtn=!1),s=!0),r[n]=l)}}),V(r,function(t,e){i[e]=t}),s&&i.redraw(!1),L(i.container,{cursor:"move"})})},t}(),N(t.prototype,{callbacks:[],collectionsWithInit:{xAxis:[t.prototype.addAxis,[!0]],yAxis:[t.prototype.addAxis,[!1]],series:[t.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroun
1dColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")}),t}),e(i,"Core/Legend/LegendSymbol.js",[i["Core/Utilities.js"]],function(t){var e,i=t.merge,n=t.pick;return function(t){t.drawLineMarker=function(t){var e=this.options,r=t.symbolWidth,o=t.symbolHeight,s=o/2,a=this.chart.renderer,l=this.legendGroup;t=t.baseline-Math.round(.3*t.fontMetrics.b);var c={},h=e.marker;this.chart.styledMode||(c={"stroke-width":e.lineWidth||0},e.dashStyle&&(c.dashstyle=e.dashStyle)),this.legendLine=a.path([["M",0,t],["L",r,t]]).addClass("highcharts-graph").attr(c).add(l),h&&!1!==h.enabled&&r&&(e=Math.min(n(h.radius,s),s),0===this.symbol.indexOf("url")&&(h=i(h,{width:o,height:o}),e=0),this.legendSymbol=r=a.symbol(this.symbol,r/2-e,t-e,2*e,2*e,h).addClass("highcharts-point").add(l),r.isMarker=!0)},t.drawRectangle=function(t,e){var i=t.symbolHeight,r=t.options.squareSymbol;e.legendSymbol=this.chart.renderer.rect(r?(t.symbolWidth-i)/2:0,t.baseline-i+1,r?i:t.symbolWidth,i,n(t.options.symbolRadius,i/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.legendGroup)}}(e||(e={})),e}),e(i,"Core/Series/SeriesDefaults.js",[],function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var t=this.series.chart.numberFormatter;return"number"!=typeof this.y?"":t(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}}),e(i,"Core/Series/Series.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/DefaultOptions.js"],i["Core/Foundation.js"],i["Core/Globals.js"],i["Core/Legend/LegendSymbol.js"],i["Core/Series/Point.js"],i["Core/Series/SeriesDefaults.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Utilities.js"]],function(t,e,i,n,r,o,s,a,l,c){var h=t.animObject,d=t.setAnimation,u=e.defaultOptions,p=i.registerEventOptions,f=n.hasTouch,m=n.svg,g=n.win,y=a.seriesTypes,v=c.addEvent,b=c.arrayMax,x=c.arrayMin,w=c.clamp,k=c.cleanRecursively,C=c.correctFloat,S=c.defined,_=c.erase,A=c.error,T=c.extend,M=c.find,P=c.fireEvent,E=c.getNestedProperty,O=c.isArray,L=c.isNumber,D=c.isString,I=c.merge,j=c.objectEach,B=c.pick,N=c.removeEvent,R=c.splat,F=c.syncTimeout;return t=function(){function t(){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 t.prototype.init=function(t,e){P(this,"init",{options:e});var i=this,n=t.series;this.eventsToUnbind=[],i.chart=t,i.options=i.setOptions(e),e=i.options,i.linkedSeries=[],i.bindAxes(),T(i,{name:e.name,state:"",visible:!1!==e.visible,selected:!0===e.selected}),p(this,e);var r,o=e.events;(o&&o.click||e.point&&e.point.events&&e.point.events.click||e.allowPointSelect)&&(t.runTrackerClick=!0),i.getColor(),i.getSymbol(),i.parallelArrays.forEach(function(t){i[t+"Data"]||(i[t+"Data"]=[])}),i.isCartesian&&(t.hasCartesianSeries=!0),n.length&&(r=n[n.length-1]),i._i=B(r&&r._i,-1)+1,i.opacity=i.options.opacity,t.orderSeries(this.insert(n)),e.dataSorting&&e.dataSorting.enabled?i.setDataSortingOptions():i.points||i.data||i.setData(e.data,!1),P(this,"afterInit")},t.prototype.is=function(t){return y[t]&&this instanceof y[t]},t.prototype.insert=function(t){var e,i=this.options.index;if(L(i)){for(e=t.length;e--;)if(i>=B(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return B(e,t.length-1)},t.prototype.bindAxes=function(){var t,e=this,i=e.options,n=e.chart;
1P(this,"bindAxes",null,function(){(e.axisTypes||[]).forEach(function(r){var o=0;n[r].forEach(function(n){t=n.options,(i[r]===o&&!t.isInternal||void 0!==i[r]&&i[r]===t.id||void 0===i[r]&&0===t.index)&&(e.insert(n.series),e[r]=n,n.isDirty=!0),t.isInternal||o++}),e[r]||e.optionalAxis===r||A(18,!0,n)})}),P(this,"afterBindAxes")},t.prototype.updateParallelArrays=function(t,e){var i=t.series,n=arguments,r=L(e)?function(n){var r="y"===n&&i.toYData?i.toYData(t):t[n];i[n+"Data"][e]=r}:function(t){Array.prototype[e].apply(i[t+"Data"],Array.prototype.slice.call(n,2))};i.parallelArrays.forEach(r)},t.prototype.hasData=function(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&0<this.yData.length},t.prototype.autoIncrement=function(t){var e,i=this.options,n=i.pointIntervalUnit,r=i.relativeXValue,o=this.chart.time,s=this.xIncrement;return s=B(s,i.pointStart,0),this.pointInterval=e=B(this.pointInterval,i.pointInterval,1),r&&L(t)&&(e*=t),n&&(i=new o.Date(s),"day"===n?o.set("Date",i,o.get("Date",i)+e):"month"===n?o.set("Month",i,o.get("Month",i)+e):"year"===n&&o.set("FullYear",i,o.get("FullYear",i)+e),e=i.getTime()-s),r&&L(t)?s+e:(this.xIncrement=s+e,s)},t.prototype.setDataSortingOptions=function(){var t=this.options;T(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),S(t.pointRange)||(t.pointRange=1)},t.prototype.setOptions=function(t){var e=this.chart,i=e.options,n=i.plotOptions,r=e.userOptions||{};t=I(t),e=e.styledMode;var o={plotOptions:n,userOptions:t};P(this,"setOptions",o);var s=o.plotOptions[this.type],a=r.plotOptions||{};return this.userOptions=o.userOptions,r=I(s,n.series,r.plotOptions&&r.plotOptions[this.type],t),this.tooltipOptions=I(u.tooltip,u.plotOptions.series&&u.plotOptions.series.tooltip,u.plotOptions[this.type].tooltip,i.tooltip.userOptions,n.series&&n.series.tooltip,n[this.type].tooltip,t.tooltip),this.stickyTracking=B(t.stickyTracking,a[this.type]&&a[this.type].stickyTracking,a.series&&a.series.stickyTracking,!(!this.tooltipOptions.shared||this.noSharedTooltip)||r.stickyTracking),null===s.marker&&delete r.marker,this.zoneAxis=r.zoneAxis,n=this.zones=(r.zones||[]).slice(),!r.negativeColor&&!r.negativeFillColor||r.zones||(i={value:r[this.zoneAxis+"Threshold"]||r.threshold||0,className:"highcharts-negative"},e||(i.color=r.negativeColor,i.fillColor=r.negativeFillColor),n.push(i)),n.length&&S(n[n.length-1].value)&&n.push(e?{}:{color:this.color,fillColor:this.fillColor}),P(this,"afterSetOptions",{options:r}),r},t.prototype.getName=function(){return B(this.options.name,"Series "+(this.index+1))},t.prototype.getCyclic=function(t,e,i){var n=this.chart,r=this.userOptions,o=t+"Index",s=t+"Counter",a=i?i.length:B(n.options.chart[t+"Count"],n[t+"Count"]);if(!e){var l=B(r[o],r["_"+o]);S(l)||(n.series.length||(n[s]=0),r["_"+o]=l=n[s]%a,n[s]+=1),i&&(e=i[l])}void 0!==l&&(this[o]=l),this[t]=e},t.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||u.plotOptions[this.type].color,this.chart.options.colors)},t.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]},t.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},t.prototype.findPointIndex=function(t,e){var i,n,r=t.id,s=t.x,a=this.points,l=this.options.dataSorting;if(r)(l=this.chart.get(r))instanceof o&&(i=l);else if((this.linkedParent||this.enabledDataSorting||this.options.relativeXValue)&&(i=function(e){return!e.touched&&e.index===t.index},l&&l.matchByName?i=function(e){return!e.touched&&e.name===t.name}:this.options.relativeXValue&&(i=function(e){return!e.touched&&e.options.x===t.x}),!(i=M(a,i))))return;if(i){var c=i&&i.index;void 0!==c&&(n=!0)}return void 0===c&&L(s)&&(c=this.xData.indexOf(s,e)),-1!==c&&void 0!==c&&this.cropped&&(c=c>=this.cropStart?c-this.cropStart:c),!n&&L(c)&&a[c]&&a[c].touched&&(c=void 0),c},t.prototype.updateData=function(t,e){var i,n,r,o=this.options,s=o.dataSorting,a=this.points,l=[],c=this.requireSorting,h=t.length===a.length,d=!0;if(this.xIncrement=null,t.forEach(function(t,e){var n=S(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},d=n.x;n.id||L(d)?(-1===(n=this.findPointIndex(n,r))||void 0===n?l.push(t):a[n]&&t!==o.data[n]?(a[n].update(t,!1,null,!1),a[n].touched=!0,c&&(r=n+1)):a[n]&&(a[n].touched=!0),(!h||e!==n||s&&s.enabled||this.hasDerivedData)&&(i=!0)):l.push(t)},this),i)for(t=a.length;t--;)(n=a[t])&&!n.touched&&n.remove&&n.remove(!1,e);else!h||s&&s.enabled?d=!1:(t.forEach(function(t,e){t!==a[e].y&&a[e].update&&a[e].update(t,!1,null,!1)}),l.length=0);return a.forEach(function(t){t&&(t.touched=!1)}),!!d&&(l.forEach(function(t){this.addPoint(t,!1,null,null,!1)},this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=b(this.xData),this.autoIncrement()),!0)}
1,t.prototype.setData=function(t,e,i,n){var r=this,o=r.points,s=o&&o.length||0,a=r.options,l=r.chart,c=a.dataSorting,h=r.xAxis,d=a.turboThreshold,u=this.xData,p=this.yData,f=r.pointArrayMap;f=f&&f.length;var m,g=a.keys,y=0,v=1,b=null,x=(t=t||[]).length;if(e=B(e,!0),c&&c.enabled&&(t=this.sortData(t)),!1!==n&&x&&s&&!r.cropped&&!r.hasGroupedData&&r.visible&&!r.isSeriesBoosting&&(m=this.updateData(t,i)),!m){if(r.xIncrement=null,r.colorCounter=0,this.parallelArrays.forEach(function(t){r[t+"Data"].length=0}),d&&x>d)if(b=r.getFirstValidPoint(t),L(b))for(i=0;i<x;i++)u[i]=this.autoIncrement(),p[i]=t[i];else if(O(b))if(f)if(b.length===f)for(i=0;i<x;i++)u[i]=this.autoIncrement(),p[i]=t[i];else for(i=0;i<x;i++)n=t[i],u[i]=n[0],p[i]=n.slice(1,f+1);else if(g&&(y=0<=(y=g.indexOf("x"))?y:0,v=0<=(v=g.indexOf("y"))?v:1),1===b.length&&(v=0),y===v)for(i=0;i<x;i++)u[i]=this.autoIncrement(),p[i]=t[i][v];else for(i=0;i<x;i++)n=t[i],u[i]=n[y],p[i]=n[v];else A(12,!1,l);else for(i=0;i<x;i++)void 0!==t[i]&&(n={series:r},r.pointClass.prototype.applyOptions.apply(n,[t[i]]),r.updateParallelArrays(n,i));for(p&&D(p[0])&&A(14,!0,l),r.data=[],r.options.data=r.userOptions.data=t,i=s;i--;)o[i]&&o[i].destroy&&o[i].destroy();h&&(h.minRange=h.userMinRange),r.isDirty=l.isDirtyBox=!0,r.isDirtyData=!!o,i=!1}"point"===a.legendType&&(this.processData(),this.generatePoints()),e&&l.redraw(i)},t.prototype.sortData=function(t){var e=this,i=e.options.dataSorting.sortKey||"y",n=function(t,e){return S(e)&&t.pointClass.prototype.optionsToObject.call({series:t},e)||{}};return t.forEach(function(i,r){t[r]=n(e,i),t[r].index=r},this),t.concat().sort(function(t,e){return t=E(i,t),(e=E(i,e))<t?-1:e>t?1:0}).forEach(function(t,e){t.x=e},this),e.linkedSeries&&e.linkedSeries.forEach(function(e){var i=e.options,r=i.data;i.dataSorting&&i.dataSorting.enabled||!r||(r.forEach(function(i,o){r[o]=n(e,i),t[o]&&(r[o].x=t[o].x,r[o].index=o)}),e.setData(r,!1))}),t},t.prototype.getProcessedData=function(t){var e=this.xAxis,i=this.options,n=i.cropThreshold,r=t||this.getExtremesFromAll||i.getExtremesFromAll,o=this.isCartesian;t=e&&e.val2lin,i=!(!e||!e.logarithmic);var s=0,a=this.xData,l=this.yData,c=this.requireSorting,h=!1,d=a.length;if(e){var u=(h=e.getExtremes()).min,p=h.max;h=e.categories&&!e.names.length}if(o&&this.sorted&&!r&&(!n||d>n||this.forceCrop))if(a[d-1]<u||a[0]>p)a=[],l=[];else if(this.yData&&(a[0]<u||a[d-1]>p)){var f=this.cropData(this.xData,this.yData,u,p);a=f.xData,l=f.yData,s=f.start,f=!0}for(n=a.length||1;--n;)if(0<(e=i?t(a[n])-t(a[n-1]):a[n]-a[n-1])&&(void 0===m||e<m))var m=e;else 0>e&&c&&!h&&(A(15,!1,this.chart),c=!1);return{xData:a,yData:l,cropped:f,cropStart:s,closestPointRange:m}},t.prototype.processData=function(t){var e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;t=this.getProcessedData(),this.cropped=t.cropped,this.cropStart=t.cropStart,this.processedXData=t.xData,this.processedYData=t.yData,this.closestPointRange=this.basePointRange=t.closestPointRange,P(this,"afterProcessData")},t.prototype.cropData=function(t,e,i,n,r){var o,s=t.length,a=0,l=s;for(r=B(r,this.cropShoulder),o=0;o<s;o++)if(t[o]>=i){a=Math.max(0,o-r);break}for(i=o;i<s;i++)if(t[i]>n){l=i+r;break}return{xData:t.slice(a,l),yData:e.slice(a,l),start:a,end:l}},t.prototype.generatePoints=function(){var t=this.options,e=t.data,i=this.processedXData,n=this.processedYData,r=this.pointClass,o=i.length,s=this.cropStart||0,a=this.hasGroupedData,l=t.keys,c=[];t=t.dataGrouping&&t.dataGrouping.groupAll?s:0;var h,d,u=this.data;if(!u&&!a){var p=[];p.length=e.length,u=this.data=p}for(l&&a&&(this.options.keys=!1),d=0;d<o;d++){if(p=s+d,a){var f=(new r).init(this,[i[d]].concat(R(n[d])));f.dataGroup=this.groupMap[t+d],f.dataGroup.options&&(f.options=f.dataGroup.options,T(f,f.dataGroup.options),delete f.dataLabels)}else(f=u[p])||void 0===e[p]||(u[p]=f=(new r).init(this,e[p],i[d]));f&&(f.index=a?t+d:p,c[d]=f)}if(this.options.keys=l,u&&(o!==(h=u.length)||a))for(d=0;d<h;d++)d!==s||a||(d+=o),u[d]&&(u[d].destroyElements(),u[d].plotX=void 0);this.data=u,this.points=c,P(this,"afterGeneratePoints")},t.prototype.getXExtremes=function(t){return{min:x(t),max:b(t)}},t.prototype.getExtremes=function(t,e){var i=this.xAxis,n=this.yAxis,r=this.processedXData||this.xData,o=[],s=this.requireSorting?this.cropShoulder:0;
1n=!!n&&n.positiveValuesOnly;var a,l=0,c=0,h=0,d=(t=t||this.stackedYData||this.processedYData||[]).length;if(i){var u=i.getExtremes();l=u.min,c=u.max}for(a=0;a<d;a++){var p=r[a];u=t[a];var f=(L(u)||O(u))&&(u.length||0<u||!n);if(p=e||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!i||(r[a+s]||p)>=l&&(r[a-s]||p)<=c,f&&p)if(f=u.length)for(;f--;)L(u[f])&&(o[h++]=u[f]);else o[h++]=u}return t={activeYData:o,dataMin:x(o),dataMax:b(o)},P(this,"afterGetExtremes",{dataExtremes:t}),t},t.prototype.applyExtremes=function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},t.prototype.getFirstValidPoint=function(t){for(var e=t.length,i=0,n=null;null===n&&i<e;)n=t[i],i++;return n},t.prototype.translate=function(){this.processedXData||this.processData(),this.generatePoints();var t,e,i=this.options,n=i.stacking,r=this.xAxis,o=r.categories,s=this.enabledDataSorting,a=this.yAxis,l=this.points,c=l.length,h=this.pointPlacementToXValue(),d=!!h,u=i.threshold,p=i.startFromThreshold?u:0,f=this.zoneAxis||"y",m=Number.MAX_VALUE;for(t=0;t<c;t++){var g=l[t],y=g.x,v=void 0,b=void 0,x=g.y,k=g.low,_=n&&a.stacking&&a.stacking.stacks[(this.negStacks&&x<(p?0:u)?"-":"")+this.stackKey];if((a.positiveValuesOnly&&!a.validatePositiveValue(x)||r.positiveValuesOnly&&!r.validatePositiveValue(y))&&(g.isNull=!0),g.plotX=e=C(w(r.translate(y,0,0,0,1,h,"flags"===this.type),-1e5,1e5)),n&&this.visible&&_&&_[y]){var A=this.getStackIndicator(A,y,this.index);g.isNull||(b=(v=_[y]).points[A.key])}if(O(b)&&(k=b[0],x=b[1],k===p&&A.key===_[y].base&&(k=B(L(u)&&u,a.min)),a.positiveValuesOnly&&0>=k&&(k=null),g.total=g.stackTotal=v.total,g.percentage=v.total&&g.y/v.total*100,g.stackY=x,this.irregularWidths||v.setOffset(this.pointXOffset||0,this.barW||0)),g.yBottom=S(k)?w(a.translate(k,0,1,0,1),-1e5,1e5):null,this.dataModify&&(x=this.dataModify.modifyValue(x,t)),g.plotY=void 0,L(x)&&(void 0!==(v=a.translate(x,!1,!0,!1,!0))&&(g.plotY=w(v,-1e5,1e5))),g.isInside=this.isPointInside(g),g.clientX=d?C(r.translate(y,0,0,0,1,h)):e,g.negative=g[f]<(i[f+"Threshold"]||u||0),g.category=o&&void 0!==o[g.x]?o[g.x]:g.x,!g.isNull&&!1!==g.visible){void 0!==T&&(m=Math.min(m,Math.abs(e-T)));var T=e}g.zone=this.zones.length?g.getZone():void 0,!g.graphic&&this.group&&s&&(g.isNew=!0)}this.closestPointRangePx=m,P(this,"afterTranslate")},t.prototype.getValidPoints=function(t,e,i){var n=this.chart;return(t||this.points||[]).filter(function(t){return!(e&&!n.isInsidePlot(t.plotX,t.plotY,{inverted:n.inverted}))&&(!1!==t.visible&&(i||!t.isNull))})},t.prototype.getClipBox=function(){var t=this.chart,e=this.xAxis,i=this.yAxis,n=I(t.clipBox);return e&&e.len!==t.plotSizeX&&(n.width=e.len),i&&i.len!==t.plotSizeY&&(n.height=i.len),n},t.prototype.getSharedClipKey=function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0)},t.prototype.setClip=function(){var t=this.chart,e=this.group,i=this.markerGroup,n=t.sharedClips;t=t.renderer;var r=this.getClipBox(),o=this.getSharedClipKey(),s=n[o];s?s.animate(r):n[o]=s=t.clipRect(r),e&&e.clip(!1===this.options.clip?void 0:s),i&&i.clip()},t.prototype.animate=function(t){var e=this.chart,i=this.group,n=this.markerGroup,r=e.inverted,o=h(this.options.animation),s=[this.getSharedClipKey(),o.duration,o.easing,o.defer].join(),a=e.sharedCl
1ips[s],l=e.sharedClips[s+"m"];if(t&&i)o=this.getClipBox(),a?a.attr("height",o.height):(o.width=0,r&&(o.x=e.plotHeight),a=e.renderer.clipRect(o),e.sharedClips[s]=a,l=e.renderer.clipRect({x:r?(e.plotSizeX||0)+99:-99,y:r?-e.plotLeft:-e.plotTop,width:99,height:r?e.chartWidth:e.chartHeight}),e.sharedClips[s+"m"]=l),i.clip(a),n&&n.clip(l);else if(a&&!a.hasClass("highcharts-animating")){e=this.getClipBox();var c=o.step;n&&n.element.childNodes.length&&(o.step=function(t,e){c&&c.apply(e,arguments),l&&l.element&&l.attr(e.prop,"width"===e.prop?t+99:t)}),a.addClass("highcharts-animating").animate(e,o)}},t.prototype.afterAnimate=function(){var t=this;this.setClip(),j(this.chart.sharedClips,function(e,i,n){e&&!t.chart.container.querySelector('[clip-path="url(#'+e.id+')"]')&&(e.destroy(),delete n[i])}),this.finishedAnimating=!0,P(this,"afterAnimate")},t.prototype.drawPoints=function(){var t,e,i=this.points,n=this.chart,r=this.options.marker,o=this[this.specialGroup]||this.markerGroup,s=this.xAxis,a=B(r.enabled,!(s&&!s.isRadial)||null,this.closestPointRangePx>=r.enabledThreshold*r.radius);if(!1!==r.enabled||this._hasPointMarkers)for(t=0;t<i.length;t++){var l=i[t],c=(e=l.graphic)?"animate":"attr",h=l.marker||{},d=!!l.marker;if((a&&void 0===h.enabled||h.enabled)&&!l.isNull&&!1!==l.visible){var u=B(h.symbol,this.symbol,"rect"),p=this.markerAttribs(l,l.selected&&"select");this.enabledDataSorting&&(l.startXPos=s.reversed?-(p.width||0):s.width);var f=!1!==l.isInside;e?e[f?"show":"hide"](f).animate(p):f&&(0<(p.width||0)||l.hasImage)&&(l.graphic=e=n.renderer.symbol(u,p.x,p.y,p.width,p.height,d?h:r).add(o),this.enabledDataSorting&&n.hasRendered&&(e.attr({x:l.startXPos}),c="animate")),e&&"animate"===c&&e[f?"show":"hide"](f).animate(p),e&&!n.styledMode&&e[c](this.pointAttribs(l,l.selected&&"select")),e&&e.addClass(l.getClassName(),!0)}else e&&(l.graphic=e.destroy())}},t.prototype.markerAttribs=function(t,e){var i=this.options,n=i.marker,r=t.marker||{},o=r.symbol||n.symbol,s=B(r.radius,n.radius);return e&&(n=n.states[e],e=r.states&&r.states[e],s=B(e&&e.radius,n&&n.radius,s+(n&&n.radiusPlus||0))),t.hasImage=o&&0===o.indexOf("url"),t.hasImage&&(s=0),t={x:i.crisp?Math.floor(t.plotX-s):t.plotX-s,y:t.plotY-s},s&&(t.width=t.height=2*s),t},t.prototype.pointAttribs=function(t,e){var i=this.options.marker,n=t&&t.options,r=n&&n.marker||{},o=n&&n.color,s=t&&t.color,a=t&&t.zone&&t.zone.color,l=this.color;return t=B(r.lineWidth,i.lineWidth),n=1,l=o||a||s||l,o=r.fillColor||i.fillColor||l,s=r.lineColor||i.lineColor||l,e=e||"normal",i=i.states[e]||{},e=r.states&&r.states[e]||{},t=B(e.lineWidth,i.lineWidth,t+B(e.lineWidthPlus,i.lineWidthPlus,0)),o=e.fillColor||i.fillColor||o,{stroke:s=e.lineColor||i.lineColor||s,"stroke-width":t,fill:o,opacity:n=B(e.opacity,i.opacity,n)}},t.prototype.destroy=function(t){var e,i,n,r=this,o=r.chart,s=/AppleWebKit\/533/.test(g.navigator.userAgent),a=r.data||[];for(P(r,"destroy"),this.removeEvents(t),(r.axisTypes||[]).forEach(function(t){(n=r[t])&&n.series&&(_(n.series,r),n.isDirty=n.forceRedraw=!0)}),r.legendItem&&r.chart.legend.destroyItem(r),e=a.length;e--;)(i=a[e])&&i.destroy&&i.destroy();r.clips&&r.clips.forEach(function(t){return t.destroy()}),c.clearTimeout(r.animationTimeout),j(r,function(t,e){t instanceof l&&!t.survive&&t[s&&"group"===e?"hide":"destroy"]()}),o.hoverSeries===r&&(o.hoverSeries=void 0),_(o.series,r),o.orderSeries(),j(r,function(e,i){t&&"hcEvents"===i||delete r[i]})},t.prototype.applyZones=function(){var t,e,i,n,r,o,s,a,l=this,c=this.chart,h=c.renderer,d=this.zones,u=this.clips||[],p=this.graph,f=this.area,m=Math.max(c.chartWidth,c.chartHeight),g=this[(this.zoneAxis||"y")+"Axis"],y=c.inverted,v=!1;if(d.length&&(p||f)&&g&&void 0!==g.min){var b=g.reversed,x=g.horiz;p&&!this.showLine&&p.hide(),f&&f.hide();var k=g.getExtremes();d.forEach(function(d,C){t=b?x?c.plotWidth:0:x?0:g.toPixels(k.min)||0,t=w(B(e,t),0,m),e=w(Math.round(g.toPixels(B(d.value,k.max),!0)||0),0,m),v&&(t=e=g.toPixels(k.max)),n=Math.abs(t-e),r=Math.min(t,e),o=Math.max(t,e),g.isXAxis?(i={x:y?o:r,y:0,width:n,height:m},x||(i.x=c.plotHeight-i.x)):(i={x:0,y:y?o:r,width:m,height:n}
1,x&&(i.y=c.plotWidth-i.y)),y&&h.isVML&&(i=g.isXAxis?{x:0,y:b?r:o,height:i.width,width:c.chartWidth}:{x:i.y-c.plotLeft-c.spacingBox.x,y:0,width:i.height,height:c.chartHeight}),u[C]?u[C].animate(i):u[C]=h.clipRect(i),s=l["zone-area-"+C],a=l["zone-graph-"+C],p&&a&&a.clip(u[C]),f&&s&&s.clip(u[C]),v=d.value>k.max,l.resetZones&&0===e&&(e=void 0)}),this.clips=u}else l.visible&&(p&&p.show(!0),f&&f.show(!0))},t.prototype.invertGroups=function(t){function e(){["group","markerGroup"].forEach(function(e){i[e]&&(n.renderer.isVML&&i[e].attr({width:i.yAxis.len,height:i.xAxis.len}),i[e].width=i.yAxis.len,i[e].height=i.xAxis.len,i[e].invert(!i.isRadialSeries&&t))})}var i=this,n=i.chart;i.xAxis&&(i.eventsToUnbind.push(v(n,"resize",e)),e(),i.invertGroups=e)},t.prototype.plotGroup=function(t,e,i,n,r){var o=this[t],s=!o;return i={visibility:i,zIndex:n||.1},void 0===this.opacity||this.chart.styledMode||"inactive"===this.state||(i.opacity=this.opacity),s&&(this[t]=o=this.chart.renderer.g().add(r)),o.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(S(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(o.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),o.attr(i)[s?"attr":"animate"](this.getPlotBox()),o},t.prototype.getPlotBox=function(){var t=this.chart,e=this.xAxis,i=this.yAxis;return t.inverted&&(e=i,i=this.xAxis),{translateX:e?e.left:t.plotLeft,translateY:i?i.top:t.plotTop,scaleX:1,scaleY:1}},t.prototype.removeEvents=function(t){t||N(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(t){t()}),this.eventsToUnbind.length=0)},t.prototype.render=function(){var t=this,e=t.chart,i=t.options,n=h(i.animation),r=t.visible?"inherit":"hidden",o=i.zIndex,s=t.hasRendered,a=e.seriesGroup,l=e.inverted;e=!t.finishedAnimating&&e.renderer.isSVG?n.duration:0,P(this,"render");var c=t.plotGroup("group","series",r,o,a);t.markerGroup=t.plotGroup("markerGroup","markers",r,o,a),!1!==i.clip&&t.setClip(),t.animate&&e&&t.animate(!0),c.inverted=!!B(t.invertible,t.isCartesian)&&l,t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.invertGroups(l),t.animate&&e&&t.animate(),s||(e&&n.defer&&(e+=n.defer),t.animationTimeout=F(function(){t.afterAnimate()},e||0)),t.isDirty=!1,t.hasRendered=!0,P(t,"afterRender")},t.prototype.redraw=function(){var t=this.chart,e=this.isDirty||this.isDirtyData,i=this.group,n=this.xAxis,r=this.yAxis;i&&(t.inverted&&i.attr({width:t.plotWidth,height:t.plotHeight}),i.animate({translateX:B(n&&n.left,t.plotLeft),translateY:B(r&&r.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},t.prototype.searchPoint=function(t,e){var i=this.xAxis,n=this.yAxis,r=this.chart.inverted;return this.searchKDTree({clientX:r?i.len-t.chartY+i.pos:t.chartX-i.pos,plotY:r?n.len-t.chartX+n.pos:t.chartY-n.pos},e,t)},t.prototype.buildKDTree=function(t){function e(t,n,r){var o=t&&t.length;if(o){var s=i.kdAxisArray[n%r];return t.sort(function(t,e){return t[s]-e[s]}),{point:t[o=Math.floor(o/2)],left:e(t.slice(0,o),n+1,r),right:e(t.slice(o+1),n+1,r)}}}this.buildingKdTree=!0;var i=this,n=-1<i.options.findNearestPointBy.indexOf("y")?2:1;delete i.kdTree,F(function(){i.kdTree=e(i.getValidPoints(null,!i.directTouch),n,n),i.buildingKdTree=!1},i.options.kdNow||t&&"touchstart"===t.type?0:1)},t.prototype.searchKDTree=function(t,e,i){var n=this,r=this.kdAxisArray[0],o=this.kdAxisArray[1],s=e?"distX":"dist";if(e=-1<n.options.findNearestPointBy.indexOf("y")?2:1,this.kdTree||this.buildingKdTree||this.buildKDTree(i),this.kdTree)return function t(e,i,a,l){var c=i.point,h=n.kdAxisArray[a%l],d=c,u=S(e[r])&&S(c[r])?Math.pow(e[r]-c[r],2):null,p=S(e[o])&&S(c[o])?Math.pow(e[o]-c[o],2):null;return p=(u||0)+(p||0),c.dist=S(p)?Math.sqrt(p):Number.MAX_VALUE,c.distX=S(u)?Math.sqrt(u):Number.MAX_VALUE,u=0>(h=e[h]-c[h])?"right":"left",i[p=0>h?"left":"right"]&&(d=(p=t(e,i[p],a+1,l))[s]<d[s]?p:c),i[u]&&Math.sqrt(h*h)<d[s]&&(d=(e=t(e,i[u],a+1,l))[s]<d[s]?e:d),d}(t,this.kdTree,e,e)},t.prototype.pointPlacementToXValue=function(){var t=this.options,e=t.pointRange,i=this.xAxis;return"between"===(t=t.pointPlacement)&&(t=i.reversed?-.5:.5),L(t)?t*(e||i.pointRange):0},t.prototype.isPointInside=function(t){var e=this.chart,i=this.xAxis,n=this.yAxis;return void 0!==t.plotY&&void 0!==t.plotX&&0<=t.plotY&&t.plotY<=(n?n.len:e.plotHeight)&&0<=t.plotX&&t.plotX<=(i?i.len:e.plotWidth)},t.prototype.drawTracker=function(){var t=this,e=t.options,i=e.trackByArea,n=[].concat(i?t.areaPath:t.graphPath),r=t.chart,o=r.pointer,s=r.renderer,a=r.options.tooltip.snap,l=t.tracker,c=function(e){r.hoverSeries!==t&&t.onMouseOver()},h="rgba(192,192,192,"+(m?1e-4:.002)+")";l?l.attr({d:n}):t.graph&&(t.tracker=s.path(n).attr({visibility:t.visible?"visible":"hidden",zIndex:2}).addClass(i?"highcharts-tracker-area":"highcharts-tracker-line").add(t.group),r.styledMode||t.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:h,fill:i?h:"none","stroke-width":t.graph.strokeWidth()+(i?0:2*a)}
1),[t.tracker,t.markerGroup,t.dataLabelsGroup].forEach(function(t){t&&(t.addClass("highcharts-tracker").on("mouseover",c).on("mouseout",function(t){o.onTrackerMouseOut(t)}),e.cursor&&!r.styledMode&&t.css({cursor:e.cursor}),f)&&t.on("touchstart",c)})),P(this,"afterDrawTracker")},t.prototype.addPoint=function(t,e,i,n,r){var o=this.options,s=this.data,a=this.chart,l=this.xAxis;l=l&&l.hasNames&&l.names;var c,h=o.data,d=this.xData;e=B(e,!0);var u={series:this};this.pointClass.prototype.applyOptions.apply(u,[t]);var p=u.x,f=d.length;if(this.requireSorting&&p<d[f-1])for(c=!0;f&&d[f-1]>p;)f--;this.updateParallelArrays(u,"splice",f,0,0),this.updateParallelArrays(u,f),l&&u.name&&(l[p]=u.name),h.splice(f,0,t),c&&(this.data.splice(f,0,null),this.processData()),"point"===o.legendType&&this.generatePoints(),i&&(s[0]&&s[0].remove?s[0].remove(!1):(s.shift(),this.updateParallelArrays(u,"shift"),h.shift())),!1!==r&&P(this,"addPoint",{point:u}),this.isDirtyData=this.isDirty=!0,e&&a.redraw(n)},t.prototype.removePoint=function(t,e,i){var n=this,r=n.data,o=r[t],s=n.points,a=n.chart,l=function(){s&&s.length===r.length&&s.splice(t,1),r.splice(t,1),n.options.data.splice(t,1),n.updateParallelArrays(o||{series:n},"splice",t,1),o&&o.destroy(),n.isDirty=!0,n.isDirtyData=!0,e&&a.redraw()};d(i,a),e=B(e,!0),o?o.firePointEvent("remove",null,l):l()},t.prototype.remove=function(t,e,i,n){function r(){o.destroy(n),s.isDirtyLegend=s.isDirtyBox=!0,s.linkSeries(),B(t,!0)&&s.redraw(e)}var o=this,s=o.chart;!1!==i?P(o,"remove",null,r):r()},t.prototype.update=function(t,e){t=k(t,this.userOptions),P(this,"update",{options:t});var i,n=this,r=n.chart,o=n.userOptions,s=n.initialType||n.type,a=r.options.plotOptions,l=y[s].prototype,c=n.finishedAnimating&&{animation:!1},h={},d=["eventOptions","navigatorSeries","baseSeries"],u=t.type||o.type||r.options.chart.type,p=!(this.hasDerivedData||u&&u!==this.type||void 0!==t.pointStart||void 0!==t.pointInterval||void 0!==t.relativeXValue||n.hasOptionChanged("dataGrouping")||n.hasOptionChanged("pointStart")||n.hasOptionChanged("pointInterval")||n.hasOptionChanged("pointIntervalUnit")||n.hasOptionChanged("keys"));if(u=u||s,p&&(d.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&d.push("area","graph"),n.parallelArrays.forEach(function(t){d.push(t+"Data")}),t.data&&(t.dataSorting&&T(n.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=I(o,c,{index:void 0===o.index?n.index:o.index,pointStart:B(a&&a.series&&a.series.pointStart,o.pointStart,n.xData[0])},!p&&{data:n.options.data},t),p&&t.data&&(t.data=n.options.data),(d=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(d)).forEach(function(t){d[t]=n[t],delete n[t]}),a=!1,y[u]){if(a=u!==n.type,n.remove(!1,!1,!1,!0),a)if(Object.setPrototypeOf)Object.setPrototypeOf(n,y[u].prototype);else{for(i in c=Object.hasOwnProperty.call(n,"hcEvents")&&n.hcEvents,l)n[i]=void 0;T(n,y[u].prototype),c?n.hcEvents=c:delete n.hcEvents}}else A(17,!0,r,{missingModuleFor:u});if(d.forEach(function(t){n[t]=d[t]}),n.init(r,t),p&&this.points){var f=n.options;!1===f.visible?(h.graphic=1,h.dataLabel=1):n._hasPointLabels||(t=f.marker,l=f.dataLabels,!t||!1!==t.enabled&&(o.marker&&o.marker.symbol)===t.symbol||(h.graphic=1),l&&!1===l.enabled&&(h.dataLabel=1)),this.points.forEach(function(t){t&&t.series&&(t.resolveColor(),Object.keys(h).length&&t.destroyElements(h),!1===f.showInLegend&&t.legendItem&&r.legend.destroyItem(t))},this)}n.initialType=s,r.linkSeries(),a&&n.linkedSeries.length&&(n.isDirtyData=!0),P(this,"afterUpdate"),B(e,!0)&&r.redraw(!!p&&void 0)},t.prototype.setName=function(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0},t.prototype.hasOptionChanged=function(t){var e=this.options[t],i=this.chart.options.plotOptions,n=this.userOptions[t];return n?e!==n:e!==B(i&&i[this.type]&&i[this.type][t],i&&i.series&&i.series[t],e)},t.prototype.onMouseOver=function(){var t=this.chart,e=t.hoverSeries;t.pointer.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&P(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},t.prototype.onMouseOut=function(){var t=this.options,e=this.chart,i=e.tooltip,n=e.hoverPoint;e.hoverSeries=null,n&&n.onMouseOut(),this&&t.events.mouseOut&&P(this,"mouseOut"),!i||this.stickyTracking||i.shared&&!this.noSharedTooltip||i.hide(),e.series.forEac
1h(function(t){t.setState("",!0)})},t.prototype.setState=function(t,e){var i=this,n=i.options,r=i.graph,o=n.inactiveOtherPoints,s=n.states,a=B(s[t||"normal"]&&s[t||"normal"].animation,i.chart.options.chart.animation),l=n.lineWidth,c=0,h=n.opacity;if(t=t||"",i.state!==t&&([i.group,i.markerGroup,i.dataLabelsGroup].forEach(function(e){e&&(i.state&&e.removeClass("highcharts-series-"+i.state),t&&e.addClass("highcharts-series-"+t))}),i.state=t,!i.chart.styledMode)){if(s[t]&&!1===s[t].enabled)return;if(t&&(l=s[t].lineWidth||l+(s[t].lineWidthPlus||0),h=B(s[t].opacity,h)),r&&!r.dashstyle)for(n={"stroke-width":l},r.animate(n,a);i["zone-graph-"+c];)i["zone-graph-"+c].animate(n,a),c+=1;o||[i.group,i.markerGroup,i.dataLabelsGroup,i.labelBySeries].forEach(function(t){t&&t.animate({opacity:h},a)})}e&&o&&i.points&&i.setAllPointsToState(t||void 0)},t.prototype.setAllPointsToState=function(t){this.points.forEach(function(e){e.setState&&e.setState(t)})},t.prototype.setVisible=function(t,e){var i=this,n=i.chart,r=i.legendItem,o=n.options.chart.ignoreHiddenSeries,s=i.visible,a=(i.visible=t=i.options.visible=i.userOptions.visible=void 0===t?!s:t)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(function(t){i[t]&&i[t][a]()}),n.hoverSeries!==i&&(n.hoverPoint&&n.hoverPoint.series)!==i||i.onMouseOut(),r&&n.legend.colorizeItem(i,t),i.isDirty=!0,i.options.stacking&&n.series.forEach(function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)}),i.linkedSeries.forEach(function(e){e.setVisible(t,!1)}),o&&(n.isDirtyBox=!0),P(i,a),!1!==e&&n.redraw()},t.prototype.show=function(){this.setVisible(!0)},t.prototype.hide=function(){this.setVisible(!1)},t.prototype.select=function(t){this.selected=t=this.options.selected=void 0===t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),P(this,t?"select":"unselect")},t.prototype.shouldShowTooltip=function(t,e,i){return void 0===i&&(i={}),i.series=this,i.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,i)},t.defaultOptions=s,t}(),T(t.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:r.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:o,requireSorting:!0,sorted:!0}),a.series=t,t}),e(i,"Extensions/ScrollablePlotArea.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/Axis.js"],i["Core/Chart/Chart.js"],i["Core/Series/Series.js"],i["Core/Renderer/RendererRegistry.js"],i["Core/Utilities.js"]],function(t,e,i,n,r,o){var s=t.stop,a=o.addEvent,l=o.createElement,c=o.merge,h=o.pick;a(i,"afterSetChartSize",function(t){var i=this.options.chart.scrollablePlotArea,n=i&&i.minWidth;if(i=i&&i.minHeight,!this.renderer.forExport){if(n){if(this.scrollablePixelsX=n=Math.max(0,n-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=c(this.plotBox),this.plotBox.width=this.plotWidth+=n,this.inverted?this.clipBox.height+=n:this.clipBox.width+=n;var r={1:{name:"right",value:n}}}}else i&&(this.scrollablePixelsY=n=Math.max(0,i-this.chartHeight))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=c(this.plotBox),this.plotBox.height=this.plotHeight+=n,this.inverted?this.clipBox.width+=n:this.clipBox.height+=n,r={2:{name:"bottom",value:n}});r&&!t.skipAxes&&this.axes.forEach(function(t){r[t.side]?t.getPlotLinePath=function(){var i=r[t.side].name,n=this[i];this[i]=n-r[t.side].value;var o=e.prototype.getPlotLinePath.apply(this,arguments);return this[i]=n,o}:(t.setAxisSize(),t.setAxisTranslation())})}}),a(i,"render",function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()}),i.prototype.setUpScrolling=function(){var t=this,e={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(e.overflowX="auto"),this.scrollablePixelsY&&(e.overflowY="auto"),this.scrollingParent=l("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=l("div",{className:"highcharts-scrolling"},e,this.scrollingParent),a(this.scrollingContainer,"scroll",function(){t.pointer&&delete t.pointer.chartPosition}),this.innerContainer=l("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},i.prototype.moveFixedElements=function(){var t,e=this.container,i=this.fixedRenderer,n=".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(" ");this.scrollablePixelsX&&!this.inverted?t=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?t=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(t=".highcharts-yaxis"),t&&n.push(t+":not(.highcharts-radial-axis)",t+"-labels:not(.highcharts-radial-axis-labels)"),n.forEac
1h(function(t){[].forEach.call(e.querySelectorAll(t),function(t){(t.namespaceURI===i.SVG_NS?i.box:i.box.parentNode).appendChild(t),t.style.pointerEvents="auto"})})},i.prototype.applyFixed=function(){var t=!this.fixedDiv,e=this.options.chart,i=e.scrollablePlotArea,n=r.getRendererType();t?(this.fixedDiv=l("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(e.style&&e.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=e=new n(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=e.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":h(i.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),a(this,"afterShowResetZoom",this.moveFixedElements),a(this,"afterDrilldown",this.moveFixedElements),a(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||t)&&(this.scrollableDirty=!1,this.moveFixedElements()),e=this.chartWidth+(this.scrollablePixelsX||0),n=this.chartHeight+(this.scrollablePixelsY||0),s(this.container),this.container.style.width=e+"px",this.container.style.height=n+"px",this.renderer.boxWrapper.attr({width:e,height:n,viewBox:[0,0,e,n].join(" ")}),this.chartBackground.attr({width:e,height:n}),this.scrollingContainer.style.height=this.chartHeight+"px",t&&(i.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*i.scrollPositionX),i.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*i.scrollPositionY)),n=this.axisOffset,t=this.plotTop-n[0]-1,i=this.plotLeft-n[3]-1,e=this.plotTop+this.plotHeight+n[2]+1,n=this.plotLeft+this.plotWidth+n[1]+1;var o=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),c=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);t=this.scrollablePixelsX?[["M",0,t],["L",this.plotLeft-1,t],["L",this.plotLeft-1,e],["L",0,e],["Z"],["M",o,t],["L",this.chartWidth,t],["L",this.chartWidth,e],["L",o,e],["Z"]]:this.scrollablePixelsY?[["M",i,0],["L",i,this.plotTop-1],["L",n,this.plotTop-1],["L",n,0],["Z"],["M",i,c],["L",i,this.chartHeight],["L",n,this.chartHeight],["L",n,c],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:t})},a(e,"afterInit",function(){this.chart.scrollableDirty=!0}),a(n,"show",function(){this.chart.scrollableDirty=!0})}),e(i,"Core/Axis/StackingAxis.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/Axis.js"],i["Core/Utilities.js"]],function(t,e,i){var n,r=t.getDeferredAnimation,o=i.addEvent,s=i.destroyObjectProperties,a=i.fireEvent,l=i.isNumber,c=i.objectEach;return function(t){function e(){var t=this.stacking;if(t){var e=t.stacks;c(e,function(t,i){s(t),e[i]=null}),t&&t.stackTotalGroup&&t.stackTotalGroup.destroy()}}function i(){this.stacking||(this.stacking=new h(this))}var n=[];t.compose=function(t){return-1===n.indexOf(t)&&(n.push(t),o(t,"init",i),o(t,"destroy",e)),t};var h=function(){function t(t){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t}return t.prototype.buildStacks=function(){var t,e=this.axis,i=e.series,n=e.options.reversedStacks,r=i.length;if(!e.isXAxis){for(this.usePercentage=!1,t=r;t--;){var o=i[n?t:r-t-1];o.setStackedPoints(),o.setGroupedPoints()}for(t=0;t<r;t++)i[t].modifyStacks();a(e,"afterBuildStacks")}},t.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var t=this.stacks=this.oldStacks;c(t,function(t){c(t,function(t){t.cumulative=t.total})})}},t.prototype.resetStacks=function(){var t=this,e=t.stacks;t.axis.isXAxis||c(e,function(e){c(e,function(i,n){l(i.touched)&&i.touched<t.stacksTouched?(i.destroy(),delete e[n]):(i.total=null,i.cumulative=null)})})},t.prototype.renderStackTotals=function(){var t=this.axis,e=t.chart,i=e.renderer,n=this.stacks;t=r(e,t.options.stackLabels&&t.options.stackLabels.animation||!1);var o=this.stackTotalGroup=this.stackTotalGroup||i.g("stack-labels").attr({visibility:"visible",zIndex:6,opacity:0}
1).add();o.translate(e.plotLeft,e.plotTop),c(n,function(t){c(t,function(t){t.render(o)})}),o.animate({opacity:1},t)},t}();t.Additions=h}(n||(n={})),n}),e(i,"Extensions/Stacking.js",[i["Core/Axis/Axis.js"],i["Core/Chart/Chart.js"],i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/Series/Series.js"],i["Core/Axis/StackingAxis.js"],i["Core/Utilities.js"]],function(t,e,i,n,r,o,s){var a=i.format,l=s.correctFloat,c=s.defined,h=s.destroyObjectProperties,d=s.isArray,u=s.isNumber,p=s.objectEach,f=s.pick,m=function(){function t(t,e,i,n,r){var o=t.chart.inverted;this.axis=t,this.isNegative=i,this.options=e=e||{},this.x=n,this.total=null,this.points={},this.hasValidPoints=!1,this.stack=r,this.rightCliff=this.leftCliff=0,this.alignOptions={align:e.align||(o?i?"left":"right":"center"),verticalAlign:e.verticalAlign||(o?"middle":i?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(o?i?"right":"left":"center")}return t.prototype.destroy=function(){h(this,this.axis)},t.prototype.render=function(t){var e=this.axis.chart,i=this.options,n=i.format;n=n?a(n,this,e):i.formatter.call(this),this.label?this.label.attr({text:n,visibility:"hidden"}):(this.label=e.renderer.label(n,null,null,i.shape,null,null,i.useHTML,!1,"stack-labels"),n={r:i.borderRadius||0,text:n,rotation:i.rotation,padding:f(i.padding,5),visibility:"hidden"},e.styledMode||(n.fill=i.backgroundColor,n.stroke=i.borderColor,n["stroke-width"]=i.borderWidth,this.label.css(i.style)),this.label.attr(n),this.label.added||this.label.add(t)),this.label.labelrank=e.plotSizeY},t.prototype.setOffset=function(t,e,i,n,o){var s=this.axis,a=s.chart;n=s.translate(s.stacking.usePercentage?100:n||this.total,0,0,0,1),i=s.translate(i||0),i=c(n)&&Math.abs(n-i),t=f(o,a.xAxis[0].translate(this.x))+t,s=c(n)&&this.getStackBox(a,this,t,n,e,i,s),e=this.label,i=this.isNegative,t="justify"===f(this.options.overflow,"justify");var l=this.textAlign;e&&s&&(o=e.getBBox(),n=e.padding,l="left"===l?a.inverted?-n:n:"right"===l?o.width:a.inverted&&"center"===l?o.width/2:a.inverted?i?o.width+n:-n:o.width/2,i=a.inverted?o.height/2:i?-n:o.height,this.alignOptions.x=f(this.options.x,0),this.alignOptions.y=f(this.options.y,0),s.x-=l,s.y-=i,e.align(this.alignOptions,null,s),a.isInsidePlot(e.alignAttr.x+l-this.alignOptions.x,e.alignAttr.y+i-this.alignOptions.y)?e.show():(e.alignAttr.y=-9999,t=!1),t&&r.prototype.justifyDataLabel.call(this.axis,e,this.alignOptions,e.alignAttr,o,s),e.attr({x:e.alignAttr.x,y:e.alignAttr.y}),f(!t&&this.options.crop,!0)&&((a=u(e.x)&&u(e.y)&&a.isInsidePlot(e.x-n+e.width,e.y)&&a.isInsidePlot(e.x+n,e.y))||e.hide()))},t.prototype.getStackBox=function(t,e,i,n,r,o,s){var a=e.axis.reversed,l=t.inverted,c=s.height+s.pos-(l?t.plotLeft:t.plotTop);return e=e.isNegative&&!a||!e.isNegative&&a,{x:l?e?n-s.right:n-o+s.pos-t.plotLeft:i+t.xAxis[0].transB-t.plotLeft,y:l?s.height-i-r:e?c-n-o:c-n,width:l?o:r,height:l?r:o}},t}();return e.prototype.getStacks=function(){var t=this,e=t.inverted;t.yAxis.forEach(function(t){t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)}),t.series.forEach(function(i){var n=i.xAxis&&i.xAxis.options||{};!i.options.stacking||!0!==i.visible&&!1!==t.options.chart.ignoreHiddenSeries||(i.stackKey=[i.type,f(i.options.stack,""),e?n.top:n.left,e?n.height:n.width].join())})},o.compose(t),r.prototype.setGroupedPoints=function(){var t=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?r.prototype.setStackedPoints.call(this,"group"):t&&p(t.stacks,function(e,i){"group"===i.slice(-5)&&(p(e,function(t){return t.destroy()}),delete t.stacks[i])})},r.prototype.setStackedPoints=function(t){var e=t||this.options.stacking;if(e&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var i=this.processedXData,n=this.processedYData,r=[],o=n.length,s=this.options,a=s.threshold,h=f(s.startFromThreshold&&a,0);s=s.stack;var u,p,g="-"+(t=t?this.type+","+e:this.stackKey),y=this.negStacks,v=this.yAxis,b=v.stacking.stacks,x=v.stacking.oldStacks;for(v.stacking.stacksTouched+=1,p=0;p<o;p++){var w=i[p],k=n[p],C=this.getStackIndicator(C,w,this.index),S=C.key,_=(u=y&&k<(h?0:a))?g:t;b[_]||(b[_]={}),b[_][w]||(x[_]&&x[_][w]?(b[_][w]=x[_][w],b[_][w].total=null):b[_][w]=new m(v,v.options.stackLabels,u,w,s)),_=b[_][w],null!==k?(_.points[S]=_.points[this.index]=[f(_.cumulative,h)],c(_.cumulative)||(_.base=S),_.touched=v.stacking.stacksTouched,0<C.index&&!1===this.singleStacks&&(_.points[S][0]=_.points[this.index+","+w+",0"][0])):_.points[S]=_.points[this.index]=null,"percent"===e?(u=u?t:g,y&&b[u]&&b[u][w]?(u=b[u][w],_.total=u.total=Math.max(u.total,_.total)+Math.abs(k)||0):_.total=l(_.total+(Math.abs(k)||0))):"group"===e?(d(k)&&(k=k[0]),null!==k&&(_.total=(_.total||0)+1)):_.total=l(_.total+(k||0)),_.cumulative="group"===e?(_.total||1)-1:f(_.cumulative,h)+(k||0),null!==k&&(_.points[S].push(_.cumulative),r[p]=_.cumulative,_.hasValidPoints=!0)}"percent"===e&&(v.stacking.usePercentage=!0),"group"!==e&&(this.stackedYData=r),v.stacking.oldStacks={}}},r.prototype.modifyStacks=function(){var t,e=this,i=e.stackKey,n=e.yAxis.stacking.stacks,r=e.processedXData,o=e.options.stacking;
1e[o+"Stacker"]&&[i,"-"+i].forEach(function(i){for(var s,a,l=r.length;l--;)s=r[l],t=e.getStackIndicator(t,s,e.index,i),(a=(s=n[i]&&n[i][s])&&s.points[t.key])&&e[o+"Stacker"](a,s,l)})},r.prototype.percentStacker=function(t,e,i){e=e.total?100/e.total:0,t[0]=l(t[0]*e),t[1]=l(t[1]*e),this.stackedYData[i]=t[1]},r.prototype.getStackIndicator=function(t,e,i,n){return!c(t)||t.x!==e||n&&t.key!==n?t={x:e,index:0,key:n}:t.index++,t.key=[i,e,t.index].join(),t},n.StackItem=m,n.StackItem}),e(i,"Series/Line/LineSeries.js",[i["Core/Series/Series.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],function(t,e,i){var n=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),r=i.defined,o=i.merge;return i=function(e){function i(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return n(i,e),i.prototype.drawGraph=function(){var t=this,e=this.options,i=(this.gappedPath||this.getGraphPath).call(this),n=this.chart.styledMode,r=[["graph","highcharts-graph"]];n||r[0].push(e.lineColor||this.color||"#cccccc",e.dashStyle),(r=t.getZonesGraphs(r)).forEach(function(r,o){var s=r[0],a=t[s],l=a?"animate":"attr";a?(a.endX=t.preventGraphAnimation?null:i.xMap,a.animate({d:i})):i.length&&(t[s]=a=t.chart.renderer.path(i).addClass(r[1]).attr({zIndex:1}).add(t.group)),a&&!n&&(s={stroke:r[2],"stroke-width":e.lineWidth,fill:t.fillGraph&&t.color||"none"},r[3]?s.dashstyle=r[3]:"square"!==e.linecap&&(s["stroke-linecap"]=s["stroke-linejoin"]="round"),a[l](s).shadow(2>o&&e.shadow)),a&&(a.startX=i.xMap,a.isArea=i.isArea)})},i.prototype.getGraphPath=function(t,e,i){var n,o=this,s=o.options,a=[],l=[],c=s.step,h=(t=t||o.points).reversed;return h&&t.reverse(),(c={right:1,center:2}[c]||c&&3)&&h&&(c=4-c),(t=this.getValidPoints(t,!1,!(s.connectNulls&&!e&&!i))).forEach(function(h,d){var u=h.plotX,p=h.plotY,f=t[d-1];(h.leftCliff||f&&f.rightCliff)&&!i&&(n=!0),h.isNull&&!r(e)&&0<d?n=!s.connectNulls:h.isNull&&!e?n=!0:(0===d||n?d=[["M",h.plotX,h.plotY]]:o.getPointSpline?d=[o.getPointSpline(t,h,d)]:c?(d=1===c?[["L",f.plotX,p]]:2===c?[["L",(f.plotX+u)/2,f.plotY],["L",(f.plotX+u)/2,p]]:[["L",u,f.plotY]]).push(["L",u,p]):d=[["L",u,p]],l.push(h.x),c&&(l.push(h.x),2===c&&l.push(h.x)),a.push.apply(a,d),n=!1)}),a.xMap=l,o.graphPath=a},i.prototype.getZonesGraphs=function(t){return this.zones.forEach(function(e,i){i=["zone-graph-"+i,"highcharts-graph highcharts-zone-graph-"+i+" "+(e.className||"")],this.chart.styledMode||i.push(e.color||this.color,e.dashStyle||this.options.dashStyle),t.push(i)},this),t},i.defaultOptions=o(t.defaultOptions,{}),i}(t),e.registerSeriesType("line",i),i}),e(i,"Series/Area/AreaSeries.js",[i["Core/Color/Color.js"],i["Core/Legend/LegendSymbol.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],function(t,e,i,n){var r=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),o=t.parse,s=i.seriesTypes.line;t=n.extend;var a=n.merge,l=n.objectEach,c=n.pick;return n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return r(e,t),e.prototype.drawGraph=function(){this.areaPath=[],t.prototype.drawGraph.apply(this);var e=this,i=this.areaPath,n=this.options,r=[["area","highcharts-area",this.color,n.fillColor]];this.zones.forEach(function(t,i){r.push(["zone-area-"+i,"highcharts-area highcharts-zone-area-"+i+" "+t.className,t.color||e.color,t.fillColor||n.fillColor])}),r.forEach(function(t){var r=t[0],s=e[r],a=s?"animate":"attr",l={};s?(s.endX=e.preventGraphAnimation?null:i.xMap,s.animate({d:i})):(l.zIndex=0,(s=e[r]=e.chart.renderer.path(i).addClass(t[1]).add(e.group)).isArea=!0),e.chart.styledMode||(l.fill=c(t[3],o(t[2]).setOpacity(c(n.fillOpacity,.75)).get())),s[a](l),s.startX=i.xMap,s.shiftUnit=n.step?2:1})},e.prototype.getGraphPath=function(t){var e,i=s.prototype.getGraphPath,n=this.options,r=n.stacking,o=this.yAxis,a=[],l=[],h=this.index,d=o.stacking.stacks[this.stackKey],u=n.threshold,p=Math.round(o.getThreshold(n.threshold));n=c(n.connectNulls,"percent"===r);var f=function(e,i,n){var s=t[e];e=r&&d[s.x].points[h];var c=s[n+"Null"]||0;if(n=s[n+"Cliff"]||0,s=!0,n||c){var f=(c?e[0]:e[1])+n,m=e[0]+n;s=!!c}else!r&&t[i]&&t[i].isNull&&(f=m=u);void 0!==f&&(l.push({plotX:g,plotY:null===f?p:o.getThreshold(f),isNull:s,isCliff:!0}),a.push({plotX:g,plotY:null===m?p:o.getThreshold(m),doCurve:!1}))};for(t=t||this.points,r&&(t=this.getStackPoints(t)),e=0;e<t.length;e++){r||(t[e].leftCliff=t[e].rightCliff=t[e].leftNull=t[e].rightNull=void 0);var m=t[e].isNull,g=c(t[e].rectPlotX,t[e].plotX),y=r?c(t[e].yBottom,p):p;m&&!n||(n||f(e,e-1,"left"),m&&!r&&n||(l.push(t[e]),a.push({x:e,plotX:g,plotY:y})),n||f(e,e+1,"right"))}return e=i.call(this,l,!0,!0),a.reversed=!0,(y=(m=i.call(this,a,!0,
1!0))[0])&&"M"===y[0]&&(m[0]=["L",y[1],y[2]]),(m=e.concat(m)).length&&m.push(["Z"]),i=i.call(this,l,!1,n),m.xMap=e.xMap,this.areaPath=m,i},e.prototype.getStackPoints=function(t){var e=this,i=[],n=[],r=this.xAxis,o=this.yAxis,s=o.stacking.stacks[this.stackKey],a={},h=o.series,d=h.length,u=o.options.reversedStacks?1:-1,p=h.indexOf(e);if(t=t||this.points,this.options.stacking){for(var f=0;f<t.length;f++)t[f].leftNull=t[f].rightNull=void 0,a[t[f].x]=t[f];l(s,function(t,e){null!==t.total&&n.push(e)}),n.sort(function(t,e){return t-e});var m=h.map(function(t){return t.visible});n.forEach(function(t,l){var f,g,y=0;if(a[t]&&!a[t].isNull)i.push(a[t]),[-1,1].forEach(function(i){var r=1===i?"rightNull":"leftNull",o=0,c=s[n[l+i]];if(c)for(var y=p;0<=y&&y<d;){var v=h[y].index;(f=c.points[v])||(v===e.index?a[t][r]=!0:m[y]&&(g=s[t].points[v])&&(o-=g[1]-g[0])),y+=u}a[t][1===i?"rightCliff":"leftCliff"]=o});else{for(var v=p;0<=v&&v<d;){if(f=s[t].points[h[v].index]){y=f[1];break}v+=u}y=c(y,0),y=o.translate(y,0,1,0,1),i.push({isNull:!0,plotX:r.translate(t,0,0,0,1),x:t,plotY:y,yBottom:y})}})}return i},e.defaultOptions=a(s.defaultOptions,{threshold:0}),e}(s),t(n.prototype,{singleStacks:!1,drawLegendSymbol:e.drawRectangle}),i.registerSeriesType("area",n),n}),e(i,"Series/Spline/SplineSeries.js",[i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],function(t,e){var i=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),n=t.seriesTypes.line,r=e.merge,o=e.pick;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return i(e,t),e.prototype.getPointSpline=function(t,e,i){var n=e.plotX||0,r=e.plotY||0,s=t[i-1];if(i=t[i+1],s&&!s.isNull&&!1!==s.doCurve&&!e.isCliff&&i&&!i.isNull&&!1!==i.doCurve&&!e.isCliff){t=s.plotY||0;var a=i.plotX||0;i=i.plotY||0;var l=0,c=(1.5*n+(s.plotX||0))/2.5,h=(1.5*r+t)/2.5,d=(1.5*r+i)/2.5;(a=(1.5*n+a)/2.5)!==c&&(l=(d-h)*(a-n)/(a-c)+r-d),d+=l,(h+=l)>t&&h>r?d=2*r-(h=Math.max(t,r)):h<t&&h<r&&(d=2*r-(h=Math.min(t,r))),d>i&&d>r?h=2*r-(d=Math.max(i,r)):d<i&&d<r&&(h=2*r-(d=Math.min(i,r))),e.rightContX=a,e.rightContY=d}return e=["C",o(s.rightContX,s.plotX,0),o(s.rightContY,s.plotY,0),o(c,n,0),o(h,r,0),n,r],s.rightContX=s.rightContY=void 0,e},e.defaultOptions=r(n.defaultOptions),e}(n),t.registerSeriesType("spline",e),e}),e(i,"Series/AreaSpline/AreaSplineSeries.js",[i["Series/Area/AreaSeries.js"],i["Series/Spline/SplineSeries.js"],i["Core/Legend/LegendSymbol.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],function(t,e,i,n,r){var o=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),s=t.prototype,a=r.extend,l=r.merge;return r=function(i){function n(){var t=null!==i&&i.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t}return o(n,i),n.defaultOptions=l(e.defaultOptions,t.defaultOptions),n}(e),a(r.prototype,{getGraphPath:s.getGraphPath,getStackPoints:s.getStackPoints,drawGraph:s.drawGraph,drawLegendSymbol:i.drawRectangle}),n.registerSeriesType("areaspline",r),r}),e(i,"Series/Column/ColumnSeries.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Legend/LegendSymbol.js"],i["Core/Series/Series.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],function(t,e,i,n,r,o,s){var a=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),l=t.animObject,c=e.parse,h=i.hasTouch;t=i.noop;var d=s.clamp,u=s.css,p=s.defined,f=s.extend,m=s.fireEvent,g=s.isArray,y=s.isNumber,v=s.merge,b=s.pick,x=s.objectEach;return s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;
1return e.borderWidth=void 0,e.data=void 0,e.group=void 0,e.options=void 0,e.points=void 0,e}return a(e,t),e.prototype.animate=function(t){var e=this,i=this.yAxis,n=e.options,r=this.chart.inverted,o={},s=r?"translateX":"translateY";if(t)o.scaleY=.001,t=d(i.toPixels(n.threshold),i.pos,i.pos+i.len),r?o.translateX=t-i.len:o.translateY=t,e.clipBox&&e.setClip(),e.group.attr(o);else{var a=Number(e.group.attr(s));e.group.animate({scaleY:1},f(l(e.options.animation),{step:function(t,n){e.group&&(o[s]=a+n.pos*(i.pos-a),e.group.attr(o))}}))}},e.prototype.init=function(e,i){t.prototype.init.apply(this,arguments);var n=this;(e=n.chart).hasRendered&&e.series.forEach(function(t){t.type===n.type&&(t.isDirty=!0)})},e.prototype.getColumnMetrics=function(){var t=this,e=t.options,i=t.xAxis,n=t.yAxis,r=i.options.reversedStacks;r=i.reversed&&!r||!i.reversed&&r;var o,s={},a=0;!1===e.grouping?a=1:t.chart.series.forEach(function(e){var i=e.yAxis,r=e.options;if(e.type===t.type&&(e.visible||!t.chart.options.chart.ignoreHiddenSeries)&&n.len===i.len&&n.pos===i.pos){if(r.stacking&&"group"!==r.stacking){o=e.stackKey,void 0===s[o]&&(s[o]=a++);var l=s[o]}else!1!==r.grouping&&(l=a++);e.columnIndex=l}});var l=Math.min(Math.abs(i.transA)*(i.ordinal&&i.ordinal.slope||e.pointRange||i.closestPointRange||i.tickInterval||1),i.len),c=l*e.groupPadding,h=(l-2*c)/(a||1);return e=Math.min(e.maxPointWidth||i.len,b(e.pointWidth,h*(1-2*e.pointPadding))),t.columnMetrics={width:e,offset:(h-e)/2+(c+((t.columnIndex||0)+(r?1:0))*h-l/2)*(r?-1:1),paddedWidth:h,columnCount:a},t.columnMetrics},e.prototype.crispCol=function(t,e,i,n){var r=this.chart,o=this.borderWidth,s=-(o%2?.5:0);return o=o%2?.5:1,r.inverted&&r.renderer.isVML&&(o+=1),this.options.crisp&&(i=Math.round(t+i)+s,i-=t=Math.round(t)+s),n=Math.round(e+n)+o,s=.5>=Math.abs(e)&&.5<n,n-=e=Math.round(e)+o,s&&n&&(--e,n+=1),{x:t,y:e,width:i,height:n}},e.prototype.adjustForMissingColumns=function(t,e,i,n){var r=this,o=this.options.stacking;if(!i.isNull&&1<n.columnCount){var s=0,a=0;x(this.yAxis.stacking&&this.yAxis.stacking.stacks,function(t){if("number"==typeof i.x&&(t=t[i.x.toString()])){var e=t.points[r.index],n=t.total;o?(e&&(s=a),t.hasValidPoints&&a++):g(e)&&(s=e[1],a=n||0)}}),t=(i.plotX||0)+((a-1)*n.paddedWidth+e)/2-e-s*n.paddedWidth}return t},e.prototype.translate=function(){var t=this,e=t.chart,i=t.options,n=t.dense=2>t.closestPointRange*t.xAxis.transA;n=t.borderWidth=b(i.borderWidth,n?0:1);var o=t.xAxis,s=t.yAxis,a=i.threshold,l=t.translatedThreshold=s.getThreshold(a),c=b(i.minPointLength,5),h=t.getColumnMetrics(),u=h.width,f=t.pointXOffset=h.offset,m=t.dataMin,g=t.dataMax,v=t.barW=Math.max(u,1+2*n);e.inverted&&(l-=.5),i.pointPadding&&(v=Math.ceil(v)),r.prototype.translate.apply(t),t.points.forEach(function(n){var r=b(n.yBottom,l),x=999+Math.abs(r),w=n.plotX||0;x=d(n.plotY,-x,s.len+x);var k=Math.min(x,r),C=Math.max(x,r)-k,S=u,_=w+f,A=v;c&&Math.abs(C)<c&&(C=c,w=!s.reversed&&!n.negative||s.reversed&&n.negative,y(a)&&y(g)&&n.y===a&&g<=a&&(s.min||0)<a&&(m!==g||(s.max||0)<=a)&&(w=!w),k=Math.abs(k-l)>c?r-c:l-(w?c:0)),p(n.options.pointWidth)&&(S=A=Math.ceil(n.options.pointWidth),_-=Math.round((S-u)/2)),i.centerInCategory&&(_=t.adjustForMissingColumns(_,S,n,h)),n.barX=_,n.pointWidth=S,n.tooltipPos=e.inverted?[d(s.len+s.pos-e.plotLeft-x,s.pos-e.plotLeft,s.len+s.pos-e.plotLeft),o.len+o.pos-e.plotTop-_-A/2,C]:[o.left-e.plotLeft+_+A/2,d(x+s.pos-e.plotTop,s.pos-e.plotTop,s.len+s.pos-e.plotTop),C],n.shapeType=t.pointClass.prototype.shapeType||"rect",n.shapeArgs=t.crispCol.apply(t,n.isNull?[_,l,A,0]:[_,k,A,C])})},e.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},e.prototype.pointAttribs=function(t,e){var i=this.options,n=this.pointAttrToOptions||{},r=n.stroke||"borderColor",o=n["stroke-width"]||"borderWidth",s=t&&t.color||this.color,a=t&&t[r]||i[r]||s;n=t&&t.options.dashStyle||i.dashStyle;var l=t&&t[o]||i[o]||this[o]||0,h=b(t&&t.opacity,i.opacity,1);if(t&&this.zones.length){var d=t.getZone();s=t.options.color||d&&(d.color||t.nonZonedColor)||this.color,d&&(a=d.borderColor||a,n=d.dashStyle||n,l=d.borderWidth||l)}return e&&t&&(e=(t=v(i.states[e],t.options.states&&t.options.states[e]||{})).brightness,s=t.color||void 0!==e&&c(s).brighten(t.brightness).get()||s,a=t[r]||a,l=t[o]||l,n=t.dashStyle||n,h=b(t.opacity,h)),r={fill:s,stroke:a,"stroke-width":l,opacity:h},n&&(r.dashstyle=n),r},e.prototype.drawPoints=function(){var t,e=this,i=this.chart,n=e.options,r=i.renderer,o=n.animationLimit||250;
1e.points.forEach(function(s){var a=s.graphic,l=!!a,c=a&&i.pointCount<o?"animate":"attr";y(s.plotY)&&null!==s.y?(t=s.shapeArgs,a&&s.hasNewShapeType()&&(a=a.destroy()),e.enabledDataSorting&&(s.startXPos=e.xAxis.reversed?-(t&&t.width||0):e.xAxis.width),a||(s.graphic=a=r[s.shapeType](t).add(s.group||e.group))&&e.enabledDataSorting&&i.hasRendered&&i.pointCount<o&&(a.attr({x:s.startXPos}),l=!0,c="animate"),a&&l&&a[c](v(t)),n.borderRadius&&a[c]({r:n.borderRadius}),i.styledMode||a[c](e.pointAttribs(s,s.selected&&"select")).shadow(!1!==s.allowShadow&&n.shadow,null,n.stacking&&!n.borderRadius),a&&(a.addClass(s.getClassName(),!0),a.attr({visibility:s.visible?"inherit":"hidden"}))):a&&(s.graphic=a.destroy())})},e.prototype.drawTracker=function(){var t,e=this,i=e.chart,n=i.pointer,r=function(t){var e=n.getPointFromEvent(t);void 0!==e&&(n.isDirectTouch=!0,e.onMouseOver(t))};e.points.forEach(function(e){t=g(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[],e.graphic&&(e.graphic.element.point=e),t.forEach(function(t){t.div?t.div.point=e:t.element.point=e})}),e._hasTracking||(e.trackerGroups.forEach(function(t){e[t]&&(e[t].addClass("highcharts-tracker").on("mouseover",r).on("mouseout",function(t){n.onTrackerMouseOut(t)}),h&&e[t].on("touchstart",r),!i.styledMode&&e.options.cursor&&e[t].css(u).css({cursor:e.options.cursor}))}),e._hasTracking=!0),m(this,"afterDrawTracker")},e.prototype.remove=function(){var t=this,e=t.chart;e.hasRendered&&e.series.forEach(function(e){e.type===t.type&&(e.isDirty=!0)}),r.prototype.remove.apply(t,arguments)},e.defaultOptions=v(r.defaultOptions,{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}),e}(r),f(s.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:n.drawRectangle,getSymbol:t,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),o.registerSeriesType("column",s),s}),e(i,"Core/Series/DataLabel.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/FormatUtilities.js"],i["Core/Utilities.js"]],function(t,e,i){var n,r=t.getDeferredAnimation,o=e.format,s=i.defined,a=i.extend,l=i.fireEvent,c=i.isArray,h=i.merge,d=i.objectEach,u=i.pick,p=i.splat;return function(t){function e(t,e,i,n,r){var o=this,s=this.chart,l=this.isCartesian&&s.inverted,c=this.enabledDataSorting,h=u(t.dlBox&&t.dlBox.centerX,t.plotX,-9999),d=u(t.plotY,-9999),p=e.getBBox(),f=i.rotation,m=i.align,g=s.isInsidePlot(h,Math.round(d),{inverted:l,paneCoordinates:!0,series:o}),y=function(i){c&&o.xAxis&&!v&&o.setDataLabelStartPos(t,e,r,g,i)},v="justify"===u(i.overflow,c?"none":"justify"),b=this.visible&&!1!==t.visible&&(t.series.forceDL||c&&!v||g||u(i.inside,!!this.options.stacking)&&n&&s.isInsidePlot(h,l?n.x+1:n.y+n.height-1,{inverted:l,paneCoordinates:!0,series:o}));if(b){var x=s.renderer.fontMetrics(s.styledMode?void 0:i.style.fontSize,e).b;n=a({x:l?this.yAxis.len-d:h,y:Math.round(l?this.xAxis.len-h:d),width:0,height:0},n),a(i,{width:p.width,height:p.height}),f?(v=!1,h=s.renderer.rotCorr(x,f),y(h={x:n.x+(i.x||0)+n.width/2+h.x,y:n.y+(i.y||0)+{top:0,middle:.5,bottom:1}[i.verticalAlign]*n.height}),e[r?"attr":"animate"](h).attr({align:m}),y=180<(y=(f+720)%360)&&360>y,"left"===m?h.y-=y?p.height:0:"center"===m?(h.x-=p.width/2,h.y-=p.height/2):"right"===m&&(h.x-=p.width,h.y-=y?0:p.height),e.placed=!0,e.alignAttr=h):(y(n),e.align(i,void 0,n),h=e.alignAttr),v&&0<=n.height?this.justifyDataLabel(e,i,h,p,n,r):u(i.crop,!0)&&(b=s.isInsidePlot(h.x,h.y,{paneCoordinates:!0,series:o})&&s.isInsidePlot(h.x+p.width,h.y+p.height,{paneCoordinates:!0,series:o})),i.shape&&!f&&e[r?"attr":"animate"]({anchorX:l?s.plotWidth-t.plotY:t.plotX,anchorY:l?s.plotHeight-t.plotX:t.plotY})}r&&c&&(e.placed=!1),b||c&&!v||(e.hide(!0),e.placed=!1)}function i(){var t=this,e=t.chart,i=t.options,n=t.points,a=t.hasRendered||0,h=e.renderer,m=i.dataLabels,g=m.animation;if(g=m.defer?r(e,g,t):{defer:0,duration:0},m=f(f(e.options.plotOptions&&e.options.plotOptions.series&&e.options.plotOptions.series.dataLabels,e.options.plotOptions&&e.options.plotOptions[t.type]&&e.options.plotOptions[t.type].dataLabels),m),l(this,"drawDataLabels"),c(m)||m.enabled||t._hasPointLabels){var y=t.plotGroup("dataLabelsGroup","data-labels",a?"inherit":"hidden",m.zIndex||6);y.attr({opacity:+a}),!a&&(a=t.dataLabelsGroup)&&(t.visible&&y.show(!0),a[i.animation?"animate":"attr"]({opacity:1}
1,g)),n.forEach(function(n){p(f(m,n.dlOptions||n.options&&n.options.dataLabels)).forEach(function(r,a){var l=r.enabled&&(!n.isNull||n.dataLabelOnNull)&&function(t,e){var i=e.filter;return!i||(e=i.operator,t=t[i.property],i=i.value,">"===e&&t>i||"<"===e&&t<i||">="===e&&t>=i||"<="===e&&t<=i||"=="===e&&t==i||"==="===e&&t===i)}(n,r),c=n.connectors?n.connectors[a]:n.connector,p=n.dataLabels?n.dataLabels[a]:n.dataLabel,f=u(r.distance,n.labelDistance),m=!p;if(l){var g=n.getLabelConfig(),v=u(r[n.formatPrefix+"Format"],r.format);g=s(v)?o(v,g,e):(r[n.formatPrefix+"Formatter"]||r.formatter).call(g,r),v=r.style;var b=r.rotation;e.styledMode||(v.color=u(r.color,v.color,t.color,"#000000"),"contrast"===v.color?(n.contrastColor=h.getContrast(n.color||t.color),v.color=!s(f)&&r.inside||0>f||i.stacking?n.contrastColor:"#000000"):delete n.contrastColor,i.cursor&&(v.cursor=i.cursor));var x={r:r.borderRadius||0,rotation:b,padding:r.padding,zIndex:1};e.styledMode||(x.fill=r.backgroundColor,x.stroke=r.borderColor,x["stroke-width"]=r.borderWidth),d(x,function(t,e){void 0===t&&delete x[e]})}!p||l&&s(g)&&!!p.div==!!r.useHTML||(n.dataLabel=p=n.dataLabel&&n.dataLabel.destroy(),n.dataLabels&&(1===n.dataLabels.length?delete n.dataLabels:delete n.dataLabels[a]),a||delete n.dataLabel,c&&(n.connector=n.connector.destroy(),n.connectors&&(1===n.connectors.length?delete n.connectors:delete n.connectors[a]))),l&&s(g)&&(p?x.text=g:(n.dataLabels=n.dataLabels||[],p=n.dataLabels[a]=b?h.text(g,0,-9999,r.useHTML).addClass("highcharts-data-label"):h.label(g,0,-9999,r.shape,null,null,r.useHTML,null,"data-label"),a||(n.dataLabel=p),p.addClass(" highcharts-data-label-color-"+n.colorIndex+" "+(r.className||"")+(r.useHTML?" highcharts-tracker":""))),p.options=r,p.attr(x),e.styledMode||p.css(v).shadow(r.shadow),p.added||p.add(y),r.textPath&&!r.useHTML&&(p.setTextPath(n.getDataLabelPath&&n.getDataLabelPath(p)||n.graphic,r.textPath),n.dataLabelPath&&!r.textPath.enabled&&(n.dataLabelPath=n.dataLabelPath.destroy())),t.alignDataLabel(n,p,r,null,m))})})}l(this,"afterDrawDataLabels")}function n(t,e,i,n,r,o){var s=this.chart,a=e.align,l=e.verticalAlign,c=t.box?0:t.padding||0,h=e.x;h=void 0===h?0:h;var d=e.y;d=void 0===d?0:d;var u=(i.x||0)+c;if(0>u){"right"===a&&0<=h?(e.align="left",e.inside=!0):h-=u;var p=!0}return(u=(i.x||0)+n.width-c)>s.plotWidth&&("left"===a&&0>=h?(e.align="right",e.inside=!0):h+=s.plotWidth-u,p=!0),0>(u=i.y+c)&&("bottom"===l&&0<=d?(e.verticalAlign="top",e.inside=!0):d-=u,p=!0),(u=(i.y||0)+n.height-c)>s.plotHeight&&("top"===l&&0>=d?(e.verticalAlign="bottom",e.inside=!0):d+=s.plotHeight-u,p=!0),p&&(e.x=h,e.y=d,t.placed=!o,t.align(e,void 0,r)),p}function f(t,e){var i,n=[];if(c(t)&&!c(e))n=t.map(function(t){return h(t,e)});else if(c(e)&&!c(t))n=e.map(function(e){return h(t,e)});else if(c(t)||c(e))for(i=Math.max(t.length,e.length);i--;)n[i]=h(t[i],e[i]);else n=h(t,e);return n}function m(t,e,i,n,r){var o=this.chart,s=o.inverted,a=this.xAxis,l=a.reversed,c=s?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,e.startXPos=s?r.x:l?-c-t:a.width-c+t,e.startYPos=s?l?this.yAxis.height-c+t:-c-t:r.y,n?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0}
1,void 0,e.hide),o.hasRendered&&(i&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}var g=[];t.compose=function(t){if(-1===g.indexOf(t)){var r=t.prototype;g.push(t),r.alignDataLabel=e,r.drawDataLabels=i,r.justifyDataLabel=n,r.setDataLabelStartPos=m}}}(n||(n={})),n}),e(i,"Series/Column/ColumnDataLabel.js",[i["Core/Series/DataLabel.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],function(t,e,i){var n,r=e.series,o=i.merge,s=i.pick;return function(e){function i(t,e,i,n,a){var l=this.chart.inverted,c=t.series,h=(c.xAxis?c.xAxis.len:this.chart.plotSizeX)||0;c=(c.yAxis?c.yAxis.len:this.chart.plotSizeY)||0;var d=t.dlBox||t.shapeArgs,u=s(t.below,t.plotY>s(this.translatedThreshold,c)),p=s(i.inside,!!this.options.stacking);d&&(0>(n=o(d)).y&&(n.height+=n.y,n.y=0),0<(d=n.y+n.height-c)&&d<n.height&&(n.height-=d),l&&(n={x:c-n.y-n.height,y:h-n.x-n.width,width:n.height,height:n.width}),p||(l?(n.x+=u?0:n.width,n.width=0):(n.y+=u?n.height:0,n.height=0))),i.align=s(i.align,!l||p?"center":u?"right":"left"),i.verticalAlign=s(i.verticalAlign,l||p?"middle":u?"top":"bottom"),r.prototype.alignDataLabel.call(this,t,e,i,n,a),i.inside&&t.contrastColor&&e.css({color:t.contrastColor})}var n=[];e.compose=function(e){t.compose(r),-1===n.indexOf(e)&&(n.push(e),e.prototype.alignDataLabel=i)}}(n||(n={})),n}),e(i,"Series/Bar/BarSeries.js",[i["Series/Column/ColumnSeries.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],function(t,e,i){var n=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),r=i.extend,o=i.merge;return i=function(e){function i(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return n(i,e),i.defaultOptions=o(t.defaultOptions,{}),i}(t),r(i.prototype,{inverted:!0}),e.registerSeriesType("bar",i),i}),e(i,"Series/Scatter/ScatterSeries.js",[i["Series/Column/ColumnSeries.js"],i["Series/Line/LineSeries.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],function(t,e,i,n){var r=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),o=n.addEvent,s=n.extend,a=n.merge;return n=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return r(i,t),i.prototype.applyJitter=function(){var t=this,e=this.options.jitter,i=this.points.length;e&&this.points.forEach(function(n,r){["x","y"].forEach(function(o,s){var a="plot"+o.toUpperCase();if(e[o]&&!n.isNull){var l=t[o+"Axis"],c=e[o]*l.transA;if(l&&!l.isLog){var h=Math.max(0,n[a]-c);l=Math.min(l.len,n[a]+c),s=1e4*Math.sin(r+s*i),n[a]=h+(l-h)*(s-Math.floor(s)),"x"===o&&(n.clientX=n.plotX)}}})})},i.prototype.drawGraph=function(){this.options.lineWidth?t.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())},i.defaultOptions=a(e.defaultOptions,{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">●</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}),i}(e),s(n.prototype,{drawTracker:t.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),o(n,"afterTranslate",function(){this.applyJitter()}),i.registerSeriesType("scatter",n),n}),e(i,"Series/CenteredUtilities.js",[i["Core/Globals.js"],i["Core/Series/Series.js"],i["Core/Utilities.js"]],function(t,e,i){var n,r=t.deg2rad,o=i.isNumber,s=i.pick,a=i.relativeLength;return function(t){t.getCenter=function(){var t=this.options,i=this.chart,n=2*(t.slicedOffset||0),r=i.plotWidth-2*n,o=i.plotHeight-2*n,l=t.center,c=Math.min(r,o),h=t.size,d=t.innerSize||0;for("string"==typeof h&&(h=parseFloat(h)),"string"==typeof d&&(d=parseFloat(d)),t=[s(l[0],"50%"),s(l[1],"50%"),s(h&&0>h?void 0:t.size,"100%"),s(d&&0>d?void 0:t.innerSize||0,"0%")],!i.angular||this instanceof e||(t[3]=0),l=0;4>l;++l)h=t[l],i=2>l||2===l&&/%$/.test(h),t[l]=a(h,[r,o,c,t[2]][l])+(i?n:0);return t[3]>t[2]&&(t[3]=t[2]),t},t.getStartAndEndRadians=function(t,e){return t=o(t)?t:0,e=o(e)&&e>t&&360>e-t?e:t+360,{start:r*(t+-90),end:r*(e+-90)}}}(n||(n={})),n}
1),e(i,"Series/Pie/PiePoint.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Series/Point.js"],i["Core/Utilities.js"]],function(t,e,i){var n=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),r=t.setAnimation,o=i.addEvent,s=i.defined;t=i.extend;var a=i.isNumber,l=i.pick,c=i.relativeLength;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.labelDistance=void 0,e.options=void 0,e.series=void 0,e}return n(e,t),e.prototype.getConnectorPath=function(){var t=this.labelPosition,e=this.series.options.dataLabels,i=this.connectorShapes,n=e.connectorShape;return i[n]&&(n=i[n]),n.call(this,{x:t.final.x,y:t.final.y,alignment:t.alignment},t.connectorPosition,e)},e.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},e.prototype.haloPath=function(t){var e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end})},e.prototype.init=function(){var e=this;t.prototype.init.apply(this,arguments),this.name=l(this.name,"Slice");var i=function(t){e.slice("select"===t.type)};return o(this,"select",i),o(this,"unselect",i),this},e.prototype.isValid=function(){return a(this.y)&&0<=this.y},e.prototype.setVisible=function(t,e){var i=this,n=this.series,r=n.chart,o=n.options.ignoreHiddenPoint;e=l(e,o),t!==this.visible&&(this.visible=this.options.visible=t=void 0===t?!this.visible:t,n.options.data[n.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach(function(e){i[e]&&i[e][t?"show":"hide"](t)}),this.legendItem&&r.legend.colorizeItem(this,t),t||"hover"!==this.state||this.setState(""),o&&(n.isDirty=!0),e&&r.redraw())},e.prototype.slice=function(t,e,i){var n=this.series;r(i,n.chart),l(e,!0),this.sliced=this.options.sliced=s(t)?t:!this.sliced,n.options.data[n.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},e}(e),t(e.prototype,{connectorShapes:{fixedOffset:function(t,e,i){var n=e.breakAt;return e=e.touchingSliceAt,[["M",t.x,t.y],i.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*n.x-e.x,2*n.y-e.y,n.x,n.y]:["L",n.x,n.y],["L",e.x,e.y]]},straight:function(t,e){return e=e.touchingSliceAt,[["M",t.x,t.y],["L",e.x,e.y]]},crookedLine:function(t,e,i){e=e.touchingSliceAt;var n=this.series,r=n.center[0],o=n.chart.plotWidth,s=n.chart.plotLeft;n=t.alignment;var a=this.shapeArgs.r;return i=c(i.crookDistance,1),i=["L",o="left"===n?r+a+(o+s-r-a)*(1-i):s+(r-a)*i,t.y],r=!0,("left"===n?o>t.x||o<e.x:o<t.x||o>e.x)&&(r=!1),t=[["M",t.x,t.y]],r&&t.push(i),t.push(["L",e.x,e.y]),t}}}),e}),e(i,"Series/Pie/PieSeries.js",[i["Series/CenteredUtilities.js"],i["Series/Column/ColumnSeries.js"],i["Core/Globals.js"],i["Core/Legend/LegendSymbol.js"],i["Series/Pie/PiePoint.js"],i["Core/Series/Series.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Renderer/SVG/Symbols.js"],i["Core/Utilities.js"]],function(t,e,i,n,r,o,s,a,l){var c=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),h=t.getStartAndEndRadians;i=i.noop;var d=l.clamp,u=l.extend,p=l.fireEvent,f=l.merge,m=l.pick,g=l.relativeLength;return l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.center=void 0,e.data=void 0,e.maxLabelDistance=void 0,e.options=void 0,e.points=void 0,e}return c(e,t),e.prototype.animate=function(t){var e=this,i=e.points,n=e.startAngleRad;t||i.forEach(function(t){var i=t.graphic,r=t.shapeArgs;
1i&&r&&(i.attr({r:m(t.startR,e.center&&e.center[3]/2),start:n,end:n}),i.animate({r:r.r,start:r.start,end:r.end},e.options.animation))})},e.prototype.drawEmpty=function(){var t=this.startAngleRad,e=this.endAngleRad,i=this.options;if(0===this.total&&this.center){var n=this.center[0],r=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(n,r,this.center[1]/2,0,t,e).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:a.arc(n,r,this.center[2]/2,0,{start:t,end:e,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":i.borderWidth,fill:i.fillColor||"none",stroke:i.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())},e.prototype.drawPoints=function(){var t=this.chart.renderer;this.points.forEach(function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)})},e.prototype.generatePoints=function(){t.prototype.generatePoints.call(this),this.updateTotals()},e.prototype.getX=function(t,e,i){var n=this.center,r=this.radii?this.radii[i.index]||0:n[2]/2;return t=Math.asin(d((t-n[1])/(r+i.labelDistance),-1,1)),n[0]+(e?-1:1)*Math.cos(t)*(r+i.labelDistance)+(0<i.labelDistance?(e?-1:1)*this.options.dataLabels.padding:0)},e.prototype.hasData=function(){return!!this.processedXData.length},e.prototype.redrawPoints=function(){var t,e,i,n,r=this,o=r.chart,s=o.renderer,a=r.options.shadow;this.drawEmpty(),!a||r.shadowGroup||o.styledMode||(r.shadowGroup=s.g("shadow").attr({zIndex:-1}).add(r.group)),r.points.forEach(function(l){var c={};if(e=l.graphic,!l.isNull&&e){var h=void 0;n=l.shapeArgs,t=l.getTranslate(),o.styledMode||(h=l.shadowGroup,a&&!h&&(h=l.shadowGroup=s.g("shadow").add(r.shadowGroup)),h&&h.attr(t),i=r.pointAttribs(l,l.selected&&"select")),l.delayedRendering?(e.setRadialReference(r.center).attr(n).attr(t),o.styledMode||e.attr(i).attr({"stroke-linejoin":"round"}).shadow(a,h),l.delayedRendering=!1):(e.setRadialReference(r.center),o.styledMode||f(!0,c,i),f(!0,c,n,t),e.animate(c)),e.attr({visibility:l.visible?"inherit":"hidden"}),e.addClass(l.getClassName(),!0)}else e&&(l.graphic=e.destroy())})},e.prototype.sortByAngle=function(t,e){t.sort(function(t,i){return void 0!==t.angle&&(i.angle-t.angle)*e})},e.prototype.translate=function(t){this.generatePoints();var e=this.options,i=e.slicedOffset,n=i+(e.borderWidth||0),r=h(e.startAngle,e.endAngle),o=this.startAngleRad=r.start;r=(this.endAngleRad=r.end)-o;var s=this.points,a=e.dataLabels.distance;e=e.ignoreHiddenPoint;var l,c=s.length,d=0;for(t||(this.center=t=this.getCenter()),l=0;l<c;l++){var u=s[l],f=o+d*r;!u.isValid()||e&&!u.visible||(d+=u.percentage/100);var y=o+d*r,v={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:Math.round(1e3*f)/1e3,end:Math.round(1e3*y)/1e3};u.shapeType="arc",u.shapeArgs=v,u.labelDistance=m(u.options.dataLabels&&u.options.dataLabels.distance,a),u.labelDistance=g(u.labelDistance,v.r),this.maxLabelDistance=Math.max(this.maxLabelDistance||0,u.labelDistance),(y=(y+f)/2)>1.5*Math.PI?y-=2*Math.PI:y<-Math.PI/2&&(y+=2*Math.PI),u.slicedTranslation={translateX:Math.round(Math.cos(y)*i),translateY:Math.round(Math.sin(y)*i)},v=Math.cos(y)*t[2]/2;var b=Math.sin(y)*t[2]/2;u.tooltipPos=[t[0]+.7*v,t[1]+.7*b],u.half=y<-Math.PI/2||y>Math.PI/2?1:0,u.angle=y,f=Math.min(n,u.labelDistance/5),u.labelPosition={natural:{x:t[0]+v+Math.cos(y)*u.labelDistance,y:t[1]+b+Math.sin(y)*u.labelDistance},final:{},alignment:0>u.labelDistance?"center":u.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+v+Math.cos(y)*f,y:t[1]+b+Math.sin(y)*f},touchingSliceAt:{x:t[0]+v,y:t[1]+b}}}}p(this,"afterTranslate")},e.prototype.updateTotals=function(){var t,e=this.points,i=e.length,n=this.options.ignoreHiddenPoint,r=0;for(t=0;t<i;t++){var o=e[t];!o.isValid()||n&&!o.visible||(r+=o.y)}for(this.total=r,t=0;t<i;t++)(o=e[t]).percentage=0<r&&(o.visible||!n)?o.y/r*100:0,o.total=r},e.defaultOptions=f(o.defaultOptions,{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,legendT
1ype:"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}}}),e}(o),u(l.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawLegendSymbol:n.drawRectangle,drawTracker:e.prototype.drawTracker,getCenter:t.getCenter,getSymbol:i,isCartesian:!1,noSharedTooltip:!0,pointAttribs:e.prototype.pointAttribs,pointClass:r,requireSorting:!1,searchPoint:i,trackerGroups:["group","dataLabelsGroup"]}),s.registerSeriesType("pie",l),l}),e(i,"Series/Pie/PieDataLabel.js",[i["Core/Series/DataLabel.js"],i["Core/Globals.js"],i["Core/Renderer/RendererUtilities.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],function(t,e,i,n,r){var o,s=e.noop,a=i.distribute,l=n.series,c=r.arrayMax,h=r.clamp,d=r.defined,u=r.merge,p=r.pick,f=r.relativeLength;return function(e){function i(){var t,e,i,n,r,o,s,h,f,m,g,y,v=this,b=v.data,x=v.chart,w=v.options.dataLabels||{},k=w.connectorPadding,C=x.plotWidth,S=x.plotHeight,_=x.plotLeft,A=Math.round(x.chartWidth/3),T=v.center,M=T[2]/2,P=T[1],E=[[],[]],O=[0,0,0,0],L=v.dataLabelPositioners;v.visible&&(w.enabled||v._hasPointLabels)&&(b.forEach(function(t){t.dataLabel&&t.visible&&t.dataLabel.shortened&&(t.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.dataLabel.shortened=!1)}),l.prototype.drawDataLabels.apply(v),b.forEach(function(t){t.dataLabel&&(t.visible?(E[t.half].push(t),t.dataLabel._pos=null,!d(w.style.width)&&!d(t.options.dataLabels&&t.options.dataLabels.style&&t.options.dataLabels.style.width)&&t.dataLabel.getBBox().width>A&&(t.dataLabel.css({width:Math.round(.7*A)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))}),E.forEach(function(e,i){var l,c=e.length,u=[];if(c){if(v.sortByAngle(e,i-.5),0<v.maxLabelDistance){var b=Math.max(0,P-M-v.maxLabelDistance),A=Math.min(P+M+v.maxLabelDistance,x.plotHeight);e.forEach(function(t){0<t.labelDistance&&t.dataLabel&&(t.top=Math.max(0,P-M-t.labelDistance),t.bottom=Math.min(P+M+t.labelDistance,x.plotHeight),l=t.dataLabel.getBBox().height||21,t.distributeBox={target:t.labelPosition.natural.y-t.top+l/2,size:l,rank:t.y},u.push(t.distributeBox))}),a(u,b=A+l-b,b/5)}for(g=0;g<c;g++){if(t=e[g],o=t.labelPosition,n=t.dataLabel,m=!1===t.visible?"hidden":"inherit",f=b=o.natural.y,u&&d(t.distributeBox)&&(void 0===t.distributeBox.pos?m="hidden":(s=t.distributeBox.size,f=L.radialDistributionY(t))),delete t.positionIndex,w.justify)h=L.justify(t,M,T);else switch(w.alignTo){case"connectors":h=L.alignToConnectors(e,i,C,_);break;case"plotEdges":h=L.alignToPlotEdges(n,i,C,_);break;default:h=L.radialDistributionX(v,t,f,b)}n._attr={visibility:m,align:o.alignment},y=t.options.dataLabels||{},n._pos={x:h+p(y.x,w.x)+({left:k,right:-k}[o.alignment]||0),y:f+p(y.y,w.y)-10},o.final.x=h,o.final.y=f,p(w.crop,!0)&&(r=n.getBBox().width,b=null,h-r<k&&1===i?(b=Math.round(r-h+k),O[3]=Math.max(b,O[3])):h+r>C-k&&0===i&&(b=Math.round(h+r-C+k),O[1]=Math.max(b,O[1])),0>f-s/2?O[0]=Math.max(Math.round(s/2-f),O[0]):f+s/2>S&&(O[2]=Math.max(Math.round(f+s/2-S),O[2])),n.sideOverflow=b)}}}),0===c(O)||this.verifyDataLabelOverflow(O))&&(this.placeDataLabels(),this.points.forEach(function(t){var r;(y=u(w,t.options.dataLabels),e=p(y.connectorWidth,1))&&(i=t.connector,(n=t.dataLabel)&&n._pos&&t.visible&&0<t.labelDistance?(m=n._attr.visibility,(r=!i)&&(t.connector=i=x.renderer.path().addClass("highcharts-data-label-connector  highcharts-color-"+t.colorIndex+(t.className?" "+t.className:"")).add(v.dataLabelsGroup),x.styledMode||i.attr({"stroke-width":e,stroke:y.connectorColor||t.color||"#666666"})),i[r?"attr":"animate"]({d:t.getConnectorPath()}),i.attr("visibility",m)):i&&(t.connector=i.destroy()))}))}function n(){this.points.forEach(function(t){var e,i=t.dataLabel;i&&t.visible&&((e=i._pos)?(i.sideOverflow&&(i._attr.width=Math.max(i.getBBox().width-i.sideOverflow,0),i.css({width:i._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),i.shortened=!0),i.attr(i._attr),i[i.moved?"animate":"attr"](e),i.moved=!0):i&&i.attr({y:-9999})),delete t.distributeBox},this)}function r(t){var e=this.center,i=this.options,n=i.center,r=i.minSize||80,o=null!==i.size;if(!o){if(null!==n[0])var s=Math.max(e[2]-Math.max(t[1],t[3]),r);else s=Math.max(e[2]-t[1]-t[3],r),e[0]+=(t[3]-t[1])/2;null!==n[1]?s=h(s,r,e[2]-Math.max(t[0],t[2])):(s=h(s,r,e[2]-t[0]-t[2]),e[1]+=(t[0]-t[2])/2),s<e[2]?(e[2]=s,e[3]=Math.min(f(i.innerSize||0,s),s),this.translate(e),this.drawDataLabels&&this.drawDataLabels()):o=!0}return o}var o=[],m={radialDistributionY:function(t){return t.top+t.distributeBox.pos}
1,radialDistributionX:function(t,e,i,n){return t.getX(i<e.top+2||i>e.bottom-2?n:i,e.half,e)},justify:function(t,e,i){return i[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,i,n){return t=t.getBBox().width,e?t+n:i-t-n},alignToConnectors:function(t,e,i,n){var r,o=0;return t.forEach(function(t){(r=t.dataLabel.getBBox().width)>o&&(o=r)}),e?o+n:i-o-n}};e.compose=function(e){t.compose(l),-1===o.indexOf(e)&&(o.push(e),(e=e.prototype).dataLabelPositioners=m,e.alignDataLabel=s,e.drawDataLabels=i,e.placeDataLabels=n,e.verifyDataLabelOverflow=r)}}(o||(o={})),o}),e(i,"Extensions/OverlappingDataLabels.js",[i["Core/Chart/Chart.js"],i["Core/Utilities.js"]],function(t,e){function i(t,e){var i=!1;if(t){var n=t.newOpacity;t.oldOpacity!==n&&(t.alignAttr&&t.placed?(t[n?"removeClass":"addClass"]("highcharts-data-label-hidden"),i=!0,t.alignAttr.opacity=n,t[t.isOld?"animate":"attr"](t.alignAttr,null,function(){e.styledMode||t.css({pointerEvents:n?"auto":"none"})}),r(e,"afterHideOverlappingLabel")):t.attr({opacity:n})),t.isOld=!0}return i}var n=e.addEvent,r=e.fireEvent,o=e.isArray,s=e.isNumber,a=e.objectEach,l=e.pick;n(t,"render",function(){var t=this,e=[];(this.labelCollectors||[]).forEach(function(t){e=e.concat(t())}),(this.yAxis||[]).forEach(function(t){t.stacking&&t.options.stackLabels&&!t.options.stackLabels.allowOverlap&&a(t.stacking.stacks,function(t){a(t,function(t){t.label&&"hidden"!==t.label.visibility&&e.push(t.label)})})}),(this.series||[]).forEach(function(n){var r=n.options.dataLabels;n.visible&&(!1!==r.enabled||n._hasPointLabels)&&(r=function(n){return n.forEach(function(n){n.visible&&(o(n.dataLabels)?n.dataLabels:n.dataLabel?[n.dataLabel]:[]).forEach(function(r){var o=r.options;r.labelrank=l(o.labelrank,n.labelrank,n.shapeArgs&&n.shapeArgs.height),o.allowOverlap?(r.oldOpacity=r.opacity,r.newOpacity=1,i(r,t)):e.push(r)})})},r(n.nodes||[]),r(n.points))}),this.hideOverlappingLabels(e)}),t.prototype.hideOverlappingLabels=function(t){var e,n,o,a=this,l=t.length,c=a.renderer,h=!1,d=function(t){var e,i,n=t.box?0:t.padding||0,r=e=0;if(t&&(!t.alignAttr||t.placed)){var o=t.alignAttr||{x:t.attr("x"),y:t.attr("y")},a=t.parentGroup;t.width||(e=t.getBBox(),t.width=e.width,t.height=e.height,e=c.fontMetrics(null,t.element).h);var l=t.width-2*n;return(i={left:"0",center:"0.5",right:"1"}[t.alignValue])?r=+i*l:s(t.x)&&Math.round(t.x)!==t.translateX&&(r=t.x-t.translateX),{x:o.x+(a.translateX||0)+n-(r||0),y:o.y+(a.translateY||0)+n-e,width:t.width-2*n,height:t.height-2*n}}};for(n=0;n<l;n++)(e=t[n])&&(e.oldOpacity=e.opacity,e.newOpacity=1,e.absoluteBox=d(e));for(t.sort(function(t,e){return(e.labelrank||0)-(t.labelrank||0)}),n=0;n<l;n++){var u=(d=t[n])&&d.absoluteBox;for(e=n+1;e<l;++e){var p=(o=t[e])&&o.absoluteBox;!u||!p||d===o||0===d.newOpacity||0===o.newOpacity||p.x>=u.x+u.width||p.x+p.width<=u.x||p.y>=u.y+u.height||p.y+p.height<=u.y||((d.labelrank<o.labelrank?d:o).newOpacity=0)}}t.forEach(function(t){i(t,a)&&(h=!0)}),h&&r(a,"afterHideAllOverlappingLabels")}}),e(i,"Core/Responsive.js",[i["Core/Utilities.js"]],function(t){var e,i=t.extend,n=t.find,r=t.isArray,o=t.isObject,s=t.merge,a=t.objectEach,l=t.pick,c=t.splat,h=t.uniqueKey;return function(t){var e=[];t.compose=function(t){return-1===e.indexOf(t)&&(e.push(t),i(t.prototype,d.prototype)),t};var d=function(){function t(){}return t.prototype.currentOptions=function(t){var e=this,i={};return function t(i,n,s,l){var h;a(i,function(i,a){if(!l&&-1<e.collectionsWithUpdate.indexOf(a)&&n[a])for(i=c(i),s[a]=[],h=0;h<Math.max(i.length,n[a].length);h++)n[a][h]&&(void 0===i[h]?s[a][h]=n[a][h]:(s[a][h]={},t(i[h],n[a][h],s[a][h],l+1)));else o(i)?(s[a]=r(i)?[]:{},t(i,n[a]||{},s[a],l+1)):s[a]=void 0===n[a]?null:n[a]})}(t,this.options,i,0),i},t.prototype.matchResponsiveRule=function(t,e){var i=t.condition;(i.callback||function(){return this.chartWidth<=l(i.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=l(i.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=l(i.minWidth,0)&&this.chartHeight>=l(i.minHeight,0)}).call(this)&&e.push(t._id)},t.prototype.setResponsive=function(t,e){var i=this,r=this.options.responsive,o=this.currentResponsive,a=[];
1!e&&r&&r.rules&&r.rules.forEach(function(t){void 0===t._id&&(t._id=h()),i.matchResponsiveRule(t,a)},this),e=s.apply(void 0,a.map(function(t){return n((r||{}).rules||[],function(e){return e._id===t})}).map(function(t){return t&&t.chartOptions})),e.isResponsiveOptions=!0,(a=a.toString()||void 0)!==(o&&o.ruleIds)&&(o&&this.update(o.undoOptions,t,!0),a?((o=this.currentOptions(e)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:a,mergedOptions:e,undoOptions:o},this.update(e,t,!0)):this.currentResponsive=void 0)},t}()}(e||(e={})),e}),e(i,"masters/highcharts.src.js",[i["Core/Globals.js"],i["Core/Utilities.js"],i["Core/DefaultOptions.js"],i["Core/Animation/Fx.js"],i["Core/Animation/AnimationUtilities.js"],i["Core/Renderer/HTML/AST.js"],i["Core/FormatUtilities.js"],i["Core/Renderer/RendererUtilities.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Renderer/SVG/SVGRenderer.js"],i["Core/Renderer/HTML/HTMLElement.js"],i["Core/Renderer/HTML/HTMLRenderer.js"],i["Core/Axis/Axis.js"],i["Core/Axis/DateTimeAxis.js"],i["Core/Axis/LogarithmicAxis.js"],i["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],i["Core/Axis/Tick.js"],i["Core/Tooltip.js"],i["Core/Series/Point.js"],i["Core/Pointer.js"],i["Core/MSPointer.js"],i["Core/Legend/Legend.js"],i["Core/Chart/Chart.js"],i["Core/Series/Series.js"],i["Core/Series/SeriesRegistry.js"],i["Series/Column/ColumnSeries.js"],i["Series/Column/ColumnDataLabel.js"],i["Series/Pie/PieSeries.js"],i["Series/Pie/PieDataLabel.js"],i["Core/Series/DataLabel.js"],i["Core/Responsive.js"],i["Core/Color/Color.js"],i["Core/Time.js"]],function(t,e,i,n,r,o,s,a,l,c,h,d,u,p,f,m,g,y,v,b,x,w,k,C,S,_,A,T,M,P,E,O,L){return t.animate=r.animate,t.animObject=r.animObject,t.getDeferredAnimation=r.getDeferredAnimation,t.setAnimation=r.setAnimation,t.stop=r.stop,t.timers=n.timers,t.AST=o,t.Axis=u,t.Chart=k,t.chart=k.chart,t.Fx=n,t.Legend=w,t.PlotLineOrBand=m,t.Point=v,t.Pointer=x.isRequired()?x:b,t.Series=C,t.SVGElement=l,t.SVGRenderer=c,t.Tick=g,t.Time=L,t.Tooltip=y,t.Color=O,t.color=O.parse,d.compose(c),h.compose(l),t.defaultOptions=i.defaultOptions,t.getOptions=i.getOptions,t.time=i.defaultTime,t.setOptions=i.setOptions,t.dateFormat=s.dateFormat,t.format=s.format,t.numberFormat=s.numberFormat,t.addEvent=e.addEvent,t.arrayMax=e.arrayMax,t.arrayMin=e.arrayMin,t.attr=e.attr,t.clearTimeout=e.clearTimeout,t.correctFloat=e.correctFloat,t.createElement=e.createElement,t.css=e.css,t.defined=e.defined,t.destroyObjectProperties=e.destroyObjectProperties,t.discardElement=e.discardElement,t.distribute=a.distribute,t.erase=e.erase,t.error=e.error,t.extend=e.extend,t.extendClass=e.extendClass,t.find=e.find,t.fireEvent=e.fireEvent,t.getMagnitude=e.getMagnitude,t.getStyle=e.getStyle,t.inArray=e.inArray,t.isArray=e.isArray,t.isClass=e.isClass,t.isDOMElement=e.isDOMElement,t.isFunction=e.isFunction,t.isNumber=e.isNumber,t.isObject=e.isObject,t.isString=e.isString,t.keys=e.keys,t.merge=e.merge,t.normalizeTickInterval=e.normalizeTickInterval,t.objectEach=e.objectEach,t.offset=e.offset,t.pad=e.pad,t.pick=e.pick,t.pInt=e.pInt,t.relativeLength=e.relativeLength,t.removeEvent=e.removeEvent,t.seriesType=S.seriesType,t.splat=e.splat,t.stableSort=e.stableSort,t.syncTimeout=e.syncTimeout,t.timeUnits=e.timeUnits,t.uniqueKey=e.uniqueKey,t.useSerialIds=e.useSerialIds,t.wrap=e.wrap,A.compose(_),P.compose(C),p.compose(u),f.compose(u),M.compose(T),m.compose(u),E.compose(k),t}),i["masters/highcharts.src.js"]._modules=i,i["masters/highcharts.src.js"]})}),us=ze(function(t){!function(e){t.exports?(e.default=e,t.exports=e):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function e(t,e,i,n){t.hasOwnProperty(e)||(t[e]=n.apply(null,i))}e(t=t?t._modules:{},"Accessibility/A11yI18n.js",[t["Core/FormatUtilities.js"],t["Core/Utilities.js"]],function(t,e){var i,n=t.format,r=e.pick;return function(t){function e(t,e,i){var o=function(t,e){var i=(t=t.slice(e||0)).indexOf("{"),n=t.indexOf("}");if(-1<i&&n>i)return{statement:t.substring(i+1,n),begin:e+i+1,end:e+n}},s=[],a=0;do{var l=o(t,a),c=t.substring(a,l&&l.begin-1);c.length&&s.push({value:c,type:"constant"}),l&&s.push({value:l.statement,type:"statement"}),a=l?l.end+1:a+1}while(l);
1return s.forEach(function(t){"statement"===t.type&&(t.value=function(t,e){var i=t.indexOf("#each("),n=t.indexOf("#plural("),o=t.indexOf("["),s=t.indexOf("]");if(-1<i){if(s=t.slice(i).indexOf(")")+i,n=t.substring(0,i),o=t.substring(s+1),s=t.substring(i+6,s).split(","),i=Number(s[1]),t="",e=e[s[0]])for(i=0>(i=isNaN(i)?e.length:i)?e.length+i:Math.min(i,e.length),s=0;s<i;++s)t+=n+e[s]+o;return t.length?t:""}if(-1<n){switch(o=t.slice(n).indexOf(")")+n,n=t.substring(n+8,o).split(","),Number(e[n[0]])){case 0:t=r(n[4],n[1]);break;case 1:t=r(n[2],n[1]);break;case 2:t=r(n[3],n[1]);break;default:t=n[1]}return e=t?(e=t).trim&&e.trim()||e.replace(/^\s+|\s+$/g,""):""}return-1<o?(n=t.substring(0,o),o=Number(t.substring(o+1,s)),t=void 0,e=e[n],!isNaN(o)&&e&&(0>o?void 0===(t=e[e.length+o])&&(t=e[0]):void 0===(t=e[o])&&(t=e[e.length-1])),void 0!==t?t:""):"{"+t+"}"}(t.value,e))}),n(s.reduce(function(t,e){return t+e.value},""),e,i)}function i(t,i){t=t.split(".");for(var n=this.options.lang,r=0;r<t.length;++r)n=n&&n[t[r]];return"string"==typeof n?e(n,i,this):""}var o=[];t.compose=function(t){return-1===o.indexOf(t)&&(o.push(t),t.prototype.langFormat=i),t},t.i18nFormat=e}(i||(i={})),i}),e(t,"Accessibility/Utils/HTMLUtilities.js",[t["Core/Globals.js"],t["Core/Utilities.js"]],function(t,e){function i(t){if("function"==typeof o.MouseEvent)return new o.MouseEvent(t.type,t);if(r.createEvent){var e=r.createEvent("MouseEvent");if(e.initMouseEvent)return e.initMouseEvent(t.type,t.bubbles,t.cancelable,t.view||o,t.detail,t.screenX,t.screenY,t.clientX,t.clientY,t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,t.button,t.relatedTarget),e}return n(t.type)}function n(t,e){if(e=e||{x:0,y:0},"function"==typeof o.MouseEvent)return new o.MouseEvent(t,{bubbles:!0,cancelable:!0,composed:!0,view:o,detail:"click"===t?1:0,screenX:e.x,screenY:e.y,clientX:e.x,clientY:e.y});if(r.createEvent){var i=r.createEvent("MouseEvent");if(i.initMouseEvent)return i.initMouseEvent(t,!0,!0,o,"click"===t?1:0,e.x,e.y,e.x,e.y,!1,!1,!1,!1,0,null),i}return{type:t}}var r=t.doc,o=t.win,s=e.css;return{addClass:function(t,e){t.classList?t.classList.add(e):0>t.className.indexOf(e)&&(t.className+=" "+e)},cloneMouseEvent:i,cloneTouchEvent:function(t){var e=function(t){for(var e=[],i=0;i<t.length;++i){var n=t.item(i);n&&e.push(n)}return e};return"function"==typeof o.TouchEvent?(e=new o.TouchEvent(t.type,{touches:e(t.touches),targetTouches:e(t.targetTouches),changedTouches:e(t.changedTouches),ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,altKey:t.altKey,metaKey:t.metaKey,bubbles:t.bubbles,cancelable:t.cancelable,composed:t.composed,detail:t.detail,view:t.view}),t.defaultPrevented&&e.preventDefault(),e):((e=i(t)).touches=t.touches,e.changedTouches=t.changedTouches,e.targetTouches=t.targetTouches,e)},escapeStringForHTML:function(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/\//g,"&#x2F;")},getElement:function(t){return r.getElementById(t)},getFakeMouseEvent:n,getHeadingTagNameForElement:function(t){var e=function(t){return t=parseInt(t.slice(1),10),"h"+Math.min(6,t+1)},i=function(t){var n;t:{for(n=t;n=n.previousSibling;){var r=n.tagName||"";if(/H[1-6]/.test(r)){n=r;break t}}n=""}return n?e(n):(t=t.parentElement)?(n=t.tagName,/H[1-6]/.test(n)?e(n):i(t)):"p"};return i(t)},removeChildNodes:function(t){for(;t.lastChild;)t.removeChild(t.lastChild)},removeClass:function(t,e){t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp(e,"g"),"")},removeElement:function(t){t&&t.parentNode&&t.parentNode.removeChild(t)},reverseChildNodes:function(t){for(var e=t.childNodes.length;e--;)t.appendChild(t.childNodes[e])},stripHTMLTagsFromString:function(t){return"string"==typeof t?t.replace(/<\/?[^>]+(>|$)/g,""):t},visuallyHideElement:function(t){s(t,{position:"absolute",width:"1px",height:"1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(1px, 1px, 1px, 1px)",marginTop:"-3px","-ms-filter":"progid:DXImageTransform.Microsoft.Alpha(Opacity=1)",filter:"alpha(opacity=1)",opacity:.01})}}}),e(t,"Accessibility/Utils/ChartUtilities.js",[t["Core/Globals.js"],t["Accessibility/Utils/HTMLUtilities.js"],t["Core/Utilities.js"]],function(t,e,
1i){function n(t){if(t.points&&t.points.length)return(t=l(t.points,function(t){return!!t.graphic}))&&t.graphic&&t.graphic.element}function r(t){var e=n(t);return e&&e.parentNode||t.graph&&t.graph.element||t.group&&t.group.element}var o=t.doc,s=e.stripHTMLTagsFromString,a=i.defined,l=i.find,c=i.fireEvent;return{fireEventOnWrappedOrUnwrappedElement:function t(e,i){var n=i.type,r=e.hcEvents;o.createEvent&&(e.dispatchEvent||e.fireEvent)?e.dispatchEvent?e.dispatchEvent(i):e.fireEvent(n,i):r&&r[n]?c(e,n,i):e.element&&t(e.element,i)},getChartTitle:function(t){return s(t.options.title.text||t.langFormat("accessibility.defaultChartTitle",{chart:t}))},getAxisDescription:function(t){return t&&(t.userOptions&&t.userOptions.accessibility&&t.userOptions.accessibility.description||t.axisTitle&&t.axisTitle.textStr||t.options.id||t.categories&&"categories"||t.dateTime&&"Time"||"values")},getAxisRangeDescription:function(t){var e=t.options||{};return e.accessibility&&void 0!==e.accessibility.rangeDescription?e.accessibility.rangeDescription:t.categories?(e=t.chart,t=t.dataMax&&t.dataMin?e.langFormat("accessibility.axis.rangeCategories",{chart:e,axis:t,numCategories:t.dataMax-t.dataMin+1}):""):!t.dateTime||0!==t.min&&0!==t.dataMin?function(t){var e=t.chart,i=e.options,n=i&&i.accessibility&&i.accessibility.screenReaderSection.axisRangeDateFormat||"";return i=function(i){return t.dateTime?e.time.dateFormat(n,t[i]):t[i]},e.langFormat("accessibility.axis.rangeFromTo",{chart:e,axis:t,rangeFrom
1:i("min"),rangeTo:i("max")})}(t):function(t){var e=t.chart,i={},n="Seconds";i.Seconds=((t.max||0)-(t.min||0))/1e3,i.Minutes=i.Seconds/60,i.Hours=i.Minutes/60,i.Days=i.Hours/24,["Minutes","Hours","Days"].forEach(function(t){2<i[t]&&(n=t)});var r=i[n].toFixed("Seconds"!==n&&"Minutes"!==n?1:0);return e.langFormat("accessibility.axis.timeRange"+n,{chart:e,axis:t,range:r.replace(".0","")})}(t)},getPointFromXY:function(t,e,i){for(var n,r=t.length;r--;)if(n=l(t[r].points||[],function(t){return t.x===e&&t.y===i}))return n},getSeriesFirstPointElement:n,getSeriesFromName:function(t,e){return e?(t.series||[]).filter(function(t){return t.name===e}):t.series},getSeriesA11yElement:r,unhideChartElementFromAT:function t(e,i){i.setAttribute("aria-hidden",!1),i!==e.renderTo&&i.parentNode&&i.parentNode!==o.body&&(Array.prototype.forEach.call(i.parentNode.childNodes,function(t){t.hasAttribute("aria-hidden")||t.setAttribute("aria-hidden",!0)}),t(e,i.parentNode))},hideSeriesFromAT:function(t){(t=r(t))&&t.setAttribute("aria-hidden",!0)},scrollToPoint:function(t){var e=t.series.xAxis,i=t.series.yAxis,n=e&&e.scrollbar?e:i;if((e=n&&n.scrollbar)&&a(e.to)&&a(e.from)){if(i=e.to-e.from,a(n.dataMin)&&a(n.dataMax)){var r=n.toPixels(n.dataMin),o=n.toPixels(n.dataMax);t=(n.toPixels(t["xAxis"===n.coll?"x":"y"]||0)-r)/(o-r)}else t=0;e.updatePosition(t-i/2,t+i/2),c(e,"changed",{from:e.from,to:e.to,trigger:"scrollbar",DOMEvent:null})}}}}),e(t,"Accessibility/Utils/DOMElementProvider.js",[t["Core/Globals.js"],t["Accessibility/Utils/HTMLUtilities.js"]],function(t,e){var i=t.doc,n=e.removeElement;return function(){function t(){this.elements=[]}return t.prototype.createElement=function(){var t=i.createElement.apply(i,arguments);return this.elements.push(t),t},t.prototype.destroyCreatedElements=function(){this.elements.forEach(function(t){n(t)}),this.elements=[]},t}()}),e(t,"Accessibility/Utils/EventProvider.js",[t["Core/Globals.js"],t["Core/Utilities.js"]],function(t,e){var i=e.addEvent;return function(){function e(){this.eventRemovers=[]}return e.prototype.addEvent=function(){var e=i.apply(t,arguments);return this.eventRemovers.push(e),e},e.prototype.removeAddedEvents=function(){this.eventRemovers.forEach(function(t){return t()}),this.eventRemovers=[]},e}()}),e(t,"Accessibility/AccessibilityComponent.js",[t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Utils/DOMElementProvider.js"],t["Accessibility/Utils/EventProvider.js"],t["Accessibility/Utils/HTMLUtilities.js"],t["Core/Utilities.js"]],function(t,e,i,n,r){var o=t.fireEventOnWrappedOrUnwrappedElement,s=n.getFakeMouseEvent;return t=r.extend,n=function(){function t(){this.proxyProvider=this.keyCodes=this.eventProvider=this.domElementProvider=this.chart=void 0}return t.prototype.initBase=function(t,n){this.chart=t,this.eventProvider=new i,this.domElementProvider=new e,this.proxyProvider=n,this.keyCodes={left:37,right:39,up:38,down:40,enter:13,space:32,esc:27,tab:9,pageUp:33,pageDown:34,end:35,home:36}},t.prototype.addEvent=function(t,e,i,n){return this.eventProvider.addEvent(t,e,i,n)},t.prototype.createElement=function(t,e){return this.domElementProvider.createElement(t,e)},t.prototype.fakeClickEvent=function(t){var e=s("click");o(t,e)},t.prototype.destroyBase=function(){this.domElementProvider.destroyCreatedElements(),this.eventProvider.removeAddedEvents()},t}(),t(n.prototype,{init:function(){},getKeyboardNavigation:function(){},onChartUpdate:function(){},onChartRender:function(){},destroy:function(){}}),n}),e(t,"Accessibility/KeyboardNavigationHandler.js",[t["Core/Utilities.js"]],function(t){var e=t.find;return t=function(){function t(t,e){this.chart=t,this.keyCodeMap=e.keyCodeMap||[],this.validate=e.validate,this.init=e.init,this.terminate=e.terminate,this.response={success:1,prev:2,next:3,noHandler:4,fail:5}}return t.prototype.run=function(t){var i=t.which||t.keyCode,n=this.response.noHandler,r=e(this.keyCodeMap,function(t){return-1<t[0].indexOf(i)});return r?n=r[1].call(this,i,t):9===i&&(n=this.response[t.shiftKey?"prev":"next"]),n},t}(),t}),e(t,"Accessibility/Components/ContainerComponent.js",[t["Accessibility/AccessibilityComponent.js"],t["Accessibility/KeyboardNavigationHandler.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Core/Globals.js"],t["Accessibility/Utils/HTMLUtilities.js"]],function(t,e,
1i,n,r){var o=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),s=i.unhideChartElementFromAT,a=i.getChartTitle,l=n.doc,c=r.stripHTMLTagsFromString;return function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return o(i,t),i.prototype.onChartUpdate=function(){this.handleSVGTitleElement(),this.setSVGContainerLabel(),this.setGraphicContainerAttrs(),this.setRenderToAttrs(),this.makeCreditsAccessible()},i.prototype.handleSVGTitleElement=function(){var t=this.chart,e="highcharts-title-"+t.index,i=c(t.langFormat("accessibility.svgContainerTitle",{chartTitle:a(t)}));if(i.length){var n=this.svgTitleElement=this.svgTitleElement||l.createElementNS("http://www.w3.org/2000/svg","title");n.textContent=i,n.id=e,t.renderTo.insertBefore(n,t.renderTo.firstChild)}},i.prototype.setSVGContainerLabel=function(){var t=this.chart,e=t.langFormat("accessibility.svgContainerLabel",{chartTitle:a(t)});t.renderer.box&&e.length&&t.renderer.box.setAttribute("aria-label",e)},i.prototype.setGraphicContainerAttrs=function(){var t=this.chart,e=t.langFormat("accessibility.graphicContainerLabel",{chartTitle:a(t)});e.length&&t.container.setAttribute("aria-label",e)},i.prototype.setRenderToAttrs=function(){var t=this.chart;"disabled"!==t.options.accessibility.landmarkVerbosity?t.renderTo.setAttribute("role","region"):t.renderTo.removeAttribute("role"),t.renderTo.setAttribute("aria-label",t.langFormat("accessibility.chartContainerLabel",{title:a(t),chart:t}))},i.prototype.makeCreditsAccessible=function(){var t=this.chart,e=t.credits;e&&(e.textStr&&e.element.setAttribute("aria-label",t.langFormat("accessibility.credits",{creditsStr:c(e.textStr)})),s(t,e.element))},i.prototype.getKeyboardNavigation=function(){var t=this.chart;return new e(t,{keyCodeMap:[],validate:function(){return!0},init:function(){var e=t.accessibility;e&&e.keyboardNavigation.tabindexContainer.focus()}})},i.prototype.destroy=function(){this.chart.renderTo.setAttribute("aria-hidden",!0)},i}(t)}),e(t,"Accessibility/FocusBorder.js",[t["Core/Renderer/SVG/SVGLabel.js"],t["Core/Utilities.js"]],function(t,e){var i,n=e.addEvent,r=e.pick;return function(e){function i(){var t=this.focusElement,e=this.options.accessibility.keyboardNavigation.focusBorder;t&&(t.removeFocusBorder(),e.enabled&&t.addFocusBorder(e.margin,{stroke:e.style.color,strokeWidth:e.style.lineWidth,r:e.style.borderRadius}))}function o(t,e){var i=this.options.accessibility.keyboardNavigation.focusBorder;(e=e||t.element)&&e.focus&&(e.hcEvents&&e.hcEvents.focusin||n(e,"focusin",function(){}),e.focus(),i.hideBrowserFocusOutline&&(e.style.outline="none")),this.focusElement&&this.focusElement.removeFocusBorder(),this.focusElement=t,this.renderFocusBorder()}function s(e,i){this.focusBorder&&this.removeFocusBorder();var n=this.getBBox(),o=r(e,3);n.x+=this.translateX?this.translateX:0,n.y+=this.translateY?this.translateY:0;var s=n.x-o,l=n.y-o,c=n.width+2*o,h=n.height+2*o,d=this instanceof t;if("text"===this.element.nodeName||d){var u=!!this.rotation;if(d)var p={x:u?1:0,y:0};else{var f=p=0;"middle"===this.attr("text-anchor")?p=f=.5:this.rotation?p=.25:f=.75,p={x:p,y:f}}f=+this.attr("x");var m=+this.attr("y");isNaN(f)||(s=f-n.width*p.x-o),isNaN(m)||(l=m-n.height*p.y-o),d&&u&&(d=c,c=h,h=d,isNaN(f)||(s=f-n.height*p.x-o),isNaN(m)||(l=m-n.width*p.y-o))}this.focusBorder=this.renderer.rect(s,l,c,h,parseInt((i&&i.r||0).toString(),10)).addClass("highcharts-focus-border").attr({zIndex:99}).add(this.parentGroup),this.renderer.styledMode||this.focusBorder.attr({stroke:i&&i.stroke,"stroke-width":i&&i.strokeWidth}),a(this,e,i),function(t){if(!t.focusBorderDestroyHook){var e=t.destroy;t.destroy=function(){return t.focusBorder&&t.focusBorder.destroy&&t.focu
1sBorder.destroy(),e.apply(t,arguments)},t.focusBorderDestroyHook=e}}(this)}function a(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];t.focusBorderUpdateHooks||(t.focusBorderUpdateHooks={},h.forEach(function(i){var n=t[i+="Setter"]||t._defaultSetter;t.focusBorderUpdateHooks[i]=n,t[i]=function(){var i=n.apply(t,arguments);return t.addFocusBorder.apply(t,e),i}}))}function l(){!function(t){t.focusBorderUpdateHooks&&(Object.keys(t.focusBorderUpdateHooks).forEach(function(e){var i=t.focusBorderUpdateHooks[e];i===t._defaultSetter?delete t[e]:t[e]=i}),delete t.focusBorderUpdateHooks)}(this),this.focusBorderDestroyHook&&(this.destroy=this.focusBorderDestroyHook,delete this.focusBorderDestroyHook),this.focusBorder&&(this.focusBorder.destroy(),delete this.focusBorder)}var c=[],h="x y transform width height r d stroke-width".split(" ");e.compose=function(t,e){-1===c.indexOf(t)&&(c.push(t),(t=t.prototype).renderFocusBorder=i,t.setFocusToElement=o),-1===c.indexOf(e)&&(c.push(e),(e=e.prototype).addFocusBorder=s,e.removeFocusBorder=l)}}(i||(i={})),i}),e(t,"Accessibility/Utils/Announcer.js",[t["Core/Renderer/HTML/AST.js"],t["Accessibility/Utils/DOMElementProvider.js"],t["Core/Globals.js"],t["Accessibility/Utils/HTMLUtilities.js"],t["Core/Utilities.js"]],function(t,e,i,n,r){var o=i.doc,s=n.addClass,a=n.visuallyHideElement,l=r.attr;return function(){function i(t,i){this.chart=t,this.domElementProvider=new e,this.announceRegion=this.addAnnounceRegion(i)}return i.prototype.destroy=function(){this.domElementProvider.destroyCreatedElements()},i.prototype.announce=function(e){var i=this;t.setElementHTML(this.announceRegion,e),this.clearAnnouncementRegionTimer&&clearTimeout(this.clearAnnouncementRegionTimer),this.clearAnnouncementRegionTimer=setTimeout(function(){i.announceRegion.innerHTML=t.emptyHTML,delete i.clearAnnouncementRegionTimer},1e3)},i.prototype.addAnnounceRegion=function(t){var e=this.chart.announcerContainer||this.createAnnouncerContainer(),i=this.domElementProvider.createElement("div");return l(i,{"aria-hidden":!1,"aria-live":t}),this.chart.styledMode?s(i,"highcharts-visually-hidden"):a(i),e.appendChild(i),i},i.prototype.createAnnouncerContainer=function(){var t=this.chart,e=o.createElement("div");return l(e,{"aria-hidden":!1,class:"highcharts-announcer-container"}),e.style.position="relative",t.renderTo.insertBefore(e,t.renderTo.firstChild),t.announcerContainer=e},i}()}),e(t,"Accessibility/Components/AnnotationsA11y.js",[t["Accessibility/Utils/HTMLUtilities.js"]],function(t){function e(t){return(t.annotations||[]).reduce(function(t,e){return e.options&&!1!==e.options.visible&&(t=t.concat(e.labels)),t},[])}function i(t){return t.options&&t.options.accessibility&&t.options.accessibility.description||t.graphic&&t.graphic.text&&t.graphic.text.textStr||""}function n(t){var e=t.options&&t.options.accessibility&&t.options.accessibility.description;if(e)return e;e=t.chart;var n=i(t),r=t.points.filter(function(t){return!!t.graphic}).map(function(t){var e=t.accessibility&&t.accessibility.valueDescription||t.graphic&&t.graphic.element&&t.graphic.element.getAttribute("aria-label")||"";return((t=t&&t.series.name||"")?t+", ":"")+"data point "+e}).filter(function(t){return!!t}),o=r.length,s="accessibility.screenReaderSection.annotations.description"+(1<o?"MultiplePoints":o?"SinglePoint":"NoPoints");return t={annotationText:n,annotation:t,numPoints:o,annotationPoint:r[0],additionalAnnotationPoints:r.slice(1)},e.langFormat(s,t)}function r(t){return e(t).map(function(t){return(t=o(s(n(t))))?"<li>"+t+"</li>":""})}var o=t.escapeStringForHTML,s=t.stripHTMLTagsFromString;return{getAnnotationsInfoHTML:function(t){var e=t.annotations;return e&&e.length?'<ul style="list-style-type: none">'+r(t).join(" ")+"</ul>":""},getAnnotationLabelDescription:n,getAnnotationListItems:r,getPointAnnotationTexts:function(t){var n=e(t.series.chart).filter(function(e){return-1<e.points.indexOf(t)});return n.length?n.map(function(t){return""+i(t)}):[]}}}),e(t,"Accessibility/Components/InfoRegionsComponent.js",[t["Accessibility/A11yI18n.js"],t["Accessibility/AccessibilityComponent.js"],t["Accessibility/Utils/Announcer.js"],t["Accessibility/Components/AnnotationsA11y.js"],t["Core/Renderer/HTML/AST.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Accessibility/Utils/HTMLUtilities.js"],t["Core/Utilities.js"]],function(t,e,
1i,n,r,o,s,a,l,c){var h=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),d=n.getAnnotationsInfoHTML,u=o.getAxisDescription,p=o.getAxisRangeDescription,f=o.getChartTitle,m=o.unhideChartElementFromAT,g=s.format,y=a.doc,v=l.addClass,b=l.getElement,x=l.getHeadingTagNameForElement,w=l.stripHTMLTagsFromString,k=l.visuallyHideElement,C=c.attr,S=c.pick;return function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.announcer=void 0,t.screenReaderSections={},t}return h(n,e),n.prototype.init=function(){var t=this.chart,e=this;this.initRegionsDefinitions(),this.addEvent(t,"aftergetTableAST",function(t){e.onDataTableCreated(t)}),this.addEvent(t,"afterViewData",function(t){e.dataTableDiv=t,setTimeout(function(){e.focusDataTable()},300)}),this.announcer=new i(t,"assertive")},n.prototype.initRegionsDefinitions=function(){var t=this;this.screenReaderSections={before:{element:null,buildContent:function(e){var i=e.options.accessibility.screenReaderSection.beforeChartFormatter;return i?i(e):t.defaultBeforeChartFormatter(e)},insertIntoDOM:function(t,e){e.renderTo.insertBefore(t,e.renderTo.firstChild)},afterInserted:function(){void 0!==t.sonifyButtonId&&t.initSonifyButton(t.sonifyButtonId),void 0!==t.dataTableButtonId&&t.initDataTableButton(t.dataTableButtonId)}},after:{element:null,buildContent:function(e){var i=e.options.accessibility.screenReaderSection.afterChartFormatter;return i?i(e):t.defaultAfterChartFormatter()},insertIntoDOM:function(t,e){e.renderTo.insertBefore(t,e.container.nextSibling)},afterInserted:function(){t.chart.accessibility&&t.chart.accessibility.keyboardNavigation.updateExitAnchor()}}}},n.prototype.onChartRender=function(){var t=this;this.linkedDescriptionElement=this.getLinkedDescriptionElement(),this.setLinkedDescriptionAttrs(),Object.keys(this.screenReaderSections).forEach(function(e){t.updateScreenReaderSection(e)})},n.prototype.getLinkedDescriptionElement=function(){var t=this.chart.options.accessibility.linkedDescription;if(t){if("string"!=typeof t)return t;if(t=g(t,this.chart),1===(t=y.querySelectorAll(t)).length)return t[0]}},n.prototype.setLinkedDescriptionAttrs=function(){var t=this.linkedDescriptionElement;t&&(t.setAttribute("aria-hidden","true"),v(t,"highcharts-linked-description"))},n.prototype.updateScreenReaderSection=function(t){var e=this.chart,i=this.screenReaderSections[t],n=i.buildContent(e),o=i.element=i.element||this.createElement("div"),s=o.firstChild||this.createElement("div");n?(this.setScreenReaderSectionAttribs(o,t),r.setElementHTML(s,n),o.appendChild(s),i.insertIntoDOM(o,e),e.styledMode?v(s,"highcharts-visually-hidden"):k(s),m(e,s),i.afterInserted&&i.afterInserted()):(o.parentNode&&o.parentNode.removeChild(o),delete i.element)},n.prototype.setScreenReaderSectionAttribs=function(t,e){var i=this.chart,n=i.langFormat("accessibility.screenReaderSection."+e+"RegionLabel",{chart:i,chartTitle:f(i)});C(t,{id:"highcharts-screen-reader-region-"+e+"-"+i.index,"aria-label":n}),t.style.position="relative","all"===i.options.accessibility.landmarkVerbosity&&n&&t.setAttribute("role","region")},n.prototype.defaultBeforeChartFormatter=function(){var e=this.chart,i=e.options.accessibility.screenReaderSection.beforeChartFormat;if(!i)return"";var n=this.getAxesDescription(),r=e.sonify&&e.options.sonification&&e.options.sonification.enabled,o="highcharts-a11y-sonify-data-btn-"+e.index,s="hc-linkto-highcharts-data-table-"+e.index,a=d(e),l=e.langFormat("accessibility.screenReaderSection.annotations.heading",{chart:e});return n={headingTagName:x(e.renderTo),chartTitle:f(e),typeDescription:this.getTypeDescriptionText(),chartSubtitle:this.getSubtitleText(),chartLongdesc:this.getLongdescText(),xAxisDescription:n.xAxis,yAxisDescription:n.yAxis,playAsSoundButton:r?this.getSonifyButtonText(o):"",viewTableButton:e.getCSV?this.getDataTableButtonText(s):"",annotationsTitle:a?l:"",annotationsList:a},e=t.i18nFormat(i,n,e),this.dataTableButtonId=s,this.sonifyButtonId=o,e.replace(/<(\w+)[^>]*?>\s*<\/\1>/g,"")},n.prototype.defaultAfterChartFormatter=function(){var e=this.chart,i=e.options.accessibility.screenReaderSection.afterChartFormat;if(!i)return"";var n={endOfChartMarker:this.getEndOfChartMarkerText()};return t.i18nFormat(i,n,e).replace(/<(\w+)[^>]*?>\s*<\/\1>/g,"")},n.prototype.getLinkedDescription=function(){var t=this.linkedDescriptionElement;return w(t&&t.innerHTML||"")},n.prototype.getLongdescText=function(){var t=this.chart.options,e=t.caption;e=e&&e.text;var i=this.getLinkedDescription();return t.accessibility.description||i||e||""},n.prototype.getTypeDescriptionText=function(){var t=this.chart;return t.types?t.options.accessibility.typeDescription||function(t,e){var i=e[0],n=t.series&&t.series[0]||{};if(n={numSeries:t.series.length,numPoints:n.points&&n.points.length,chart:t,mapTitle:n.mapTitle},!i)return t.langFormat("accessibility.chartTypes.emptyChart",n);if("map"===i)return n.mapTitle?t.langFormat("accessibility.chartTypes.mapTypeDescription",n):t.langFormat("accessibility.chartTypes.unknownMap",n);if(1<t.types.length)return t.langFormat("accessibility.chartTypes.combinationChart",n);e=e[0],i=t.langFormat("accessibility.seriesTypeDescriptions."+e,n);var r=t.series&&2>t.series.length?"Single":"Multiple";return(t.langFormat("accessibility.chartTypes."+e+r,n)||t.langFormat("accessibility.chartTypes.default"+r,n))+(i?" "+i:"")}(t,t.types):""},n.prototype.getDataTableButtonText=function(t){var e=this.chart;return'<button id="'+t+'">'+(e=e.langFormat("accessibility.table.viewAsDataTableButtonText",{chart:e,chartTitle:f(e)}))+"</button>"},n.prototype.getSonifyButtonText=function(t){var e=this.chart;return e.options.sonification&&!1===e.options.sonification.enabled?"":'<button id="'+t+'">'+(e=e.langFormat("accessibility.sonification.playAsSoundButtonText",{chart:e,chartTitle:f(e)}))+"</button>"},n.prototype.getSubtitleText=function(){var t=this.chart.options.subtitle;return w(t&&t.text||"")},n.prototype.getEndOfChartMarkerText=function(){var t=this.chart,e=t.langFormat("accessibility.screenReaderSection.endOfChartMarker",{chart:t});return'<div id="highcharts-end-of-chart-marker-'+t.index+'">'+e+"</div>"},n.prototype.onDataTableCreated=function(t){var e=this.chart;if(e.options.accessibility.enabled){this.viewDataTableButton&&this.viewDataTableButton.setAttribute("aria-expanded","true");var i=t.tree.attributes||{};i.tabindex=-1,i.summary=e.langFormat("accessibility.table.tableSummary",{chart:e}),t.tree.attributes=i}}
1,n.prototype.focusDataTable=function(){var t=this.dataTableDiv;(t=t&&t.getElementsByTagName("table")[0])&&t.focus&&t.focus()},n.prototype.initSonifyButton=function(t){var e=this,i=this.sonifyButton=b(t),n=this.chart,r=function(t){i&&(i.setAttribute("aria-hidden","true"),i.setAttribute("aria-label","")),t.preventDefault(),t.stopPropagation(),t=n.langFormat("accessibility.sonification.playAsSoundClickAnnouncement",{chart:n}),e.announcer.announce(t),setTimeout(function(){i&&(i.removeAttribute("aria-hidden"),i.removeAttribute("aria-label")),n.sonify&&n.sonify()},1e3)};i&&n&&(i.setAttribute("tabindex",-1),i.onclick=function(t){(n.options.accessibility&&n.options.accessibility.screenReaderSection.onPlayAsSoundClick||r).call(this,t,n)})},n.prototype.initDataTableButton=function(t){var e=this.viewDataTableButton=b(t),i=this.chart;t=t.replace("hc-linkto-",""),e&&(C(e,{tabindex:-1,"aria-expanded":!!b(t)}),e.onclick=i.options.accessibility.screenReaderSection.onViewDataTableClick||function(){i.viewData()})},n.prototype.getAxesDescription=function(){var t=this.chart,e=function(e,i){return 1<(e=t[e]).length||e[0]&&S(e[0].options.accessibility&&e[0].options.accessibility.enabled,i)},i=!!t.types&&0>t.types.indexOf("map"),n=!!t.hasCartesianSeries,r=e("xAxis",!t.angular&&n&&i);return e=e("yAxis",n&&i),i={},r&&(i.xAxis=this.getAxisDescriptionText("xAxis")),e&&(i.yAxis=this.getAxisDescriptionText("yAxis")),i},n.prototype.getAxisDescriptionText=function(t){var e=this.chart,i=e[t];return e.langFormat("accessibility.axis."+t+"Description"+(1<i.length?"Plural":"Singular"),{chart:e,names:i.map(function(t){return u(t)}),ranges:i.map(function(t){return p(t)}),numAxes:i.length})},n.prototype.destroy=function(){this.announcer&&this.announcer.destroy()},n}(e)}),e(t,"Accessibility/Components/MenuComponent.js",[t["Core/Chart/Chart.js"],t["Core/Utilities.js"],t["Accessibility/AccessibilityComponent.js"],t["Accessibility/KeyboardNavigationHandler.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Utils/HTMLUtilities.js"]],function(t,e,i,n,r,o){var s=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),a=e.attr,l=r.getChartTitle,c=r.unhideChartElementFromAT,h=o.getFakeMouseEvent;return e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.init=function(){var t=this.chart,e=this;this.addEvent(t,"exportMenuShown",function(){e.onMenuShown()}),this.addEvent(t,"exportMenuHidden",function(){e.onMenuHidden()}),this.createProxyGroup()},e.prototype.onMenuHidden=function(){var t=this.chart.exportContextMenu;t&&t.setAttribute("aria-hidden","true"),this.isExportMenuShown=!1,this.setExportButtonExpandedState("false")},e.prototype.onMenuShown=function(){var t=this.chart,e=t.exportContextMenu;e&&(this.addAccessibleContextMenuAttribs(),c(t,e)),this.isExportMenuShown=!0,this.setExportButtonExpandedState("true")},e.prototype.setExportButtonExpandedState=function(t){this.exportButtonProxy&&this.exportButtonProxy.buttonElement.setAttribute("aria-expanded",t)},e.prototype.onChartRender=function(){var t=this.chart,e=t.focusElement,i=t.accessibility;this.proxyProvider.clearGroup("chartMenu"),this.proxyMenuButton(),this.exportButtonProxy&&e&&e===t.exportingGroup&&(e.focusBorder?t.setFocusToElement(e,this.exportButtonProxy.buttonElement):i&&i.keyboardNavigation.tabindexContainer.focus())},e.prototype.proxyMenuButton=function(){var t=this.chart,e=this.proxyProvider,i=t.exportSVGElements&&t.exportSVGElements[0],n=t.options.exporting,r=t.exportSVGElements&&t.exportSVGElements[0];n&&!1!==n.enabled&&n.accessibility&&n.accessibility.enabled&&r&&r.element&&i&&(this.exportButtonProxy=e.addProxyElement("chartMenu",{click:i},{"aria-label":t.langFormat("accessibility.exporting.menuButtonLabel",{chart:t,chartTitle:l(t)}),"aria-expanded":!1}))},e.prototype.createProxyGroup=function(){this.chart&&this.proxyProvider&&this.proxyProvider.addGroup("chartMenu","div")},e.prototype.addAccessibleContextMenuAttribs=function(){var t=this.chart,e=t.exportDivElements;e&&e.length&&(e.forEach(function(t){t&&("LI"!==t.tagName||t.children&&t.children.length?t.setAttribute("aria-hidden","true"):t.setAttribute("tabindex",-1))}),(e=e[0]&&e[0].parentNode)&&a(e,{"aria-hidden":void 0,"aria-label":t.langFormat("accessibility.exporting.chartMenuLabel",{chart:t}),role:"list"}))},e.prototype.getKeyboardNavigation=function(){var t=this.keyCodes,e=this.chart,i=this;return new n(e,{keyCodeMap:[[[t.left,t.up],function(){return i.onKbdPrevious(this)}],[[t.right,t.down],function(){return i.onKbdNext(this)}],[[t.enter,t.space],function(){return i.onKbdClick(this)}]],validate:function(){return!!e.exporting&&!1!==e.options.exporting.enabled&&!1!==e.options.exporting.accessibility.enabled},init:function(){var t=i.exportButtonProxy,n=i.chart.exportingGroup;t&&n&&e.setFocusToElement(n,t.buttonElement)},terminate:function(){e.hideExportMenu()}})},e.prototype.onKbdPrevious=function(t){var e=this.chart,i=e.options.accessibility;t=t.response;for(var n=e.highlightedExportItemIx||0;n--;)if(e.highlightExportItem(n))return t.success;return i.keyboardNavigation.wrapAround?(e.highlightLastExportItem(
1),t.success):t.prev},e.prototype.onKbdNext=function(t){var e=this.chart,i=e.options.accessibility;t=t.response;for(var n=(e.highlightedExportItemIx||0)+1;n<e.exportDivElements.length;++n)if(e.highlightExportItem(n))return t.success;return i.keyboardNavigation.wrapAround?(e.highlightExportItem(0),t.success):t.next},e.prototype.onKbdClick=function(t){var e=this.chart,i=e.exportDivElements[e.highlightedExportItemIx],n=(e.exportSVGElements&&e.exportSVGElements[0]).element;return this.isExportMenuShown?this.fakeClickEvent(i):(this.fakeClickEvent(n),e.highlightExportItem(0)),t.response.success},e}(i),function(e){function i(){var t=this.exportSVGElements&&this.exportSVGElements[0];t&&(t=t.element).onclick&&t.onclick(h("click"))}function n(){var t=this.exportDivElements;t&&this.exportContextMenu&&(t.forEach(function(t){t&&"highcharts-menu-item"===t.className&&t.onmouseout&&t.onmouseout(h("mouseout"))}),this.highlightedExportItemIx=0,this.exportContextMenu.hideMenu(),this.container.focus())}function r(t){var e=this.exportDivElements&&this.exportDivElements[t],i=this.exportDivElements&&this.exportDivElements[this.highlightedExportItemIx];if(e&&"LI"===e.tagName&&(!e.children||!e.children.length)){var n=!!(this.renderTo.getElementsByTagName("g")[0]||{}).focus;return e.focus&&n&&e.focus(),i&&i.onmouseout&&i.onmouseout(h("mouseout")),e.onmouseover&&e.onmouseover(h("mouseover")),this.highlightedExportItemIx=t,!0}return!1}function o(){if(this.exportDivElements)for(var t=this.exportDivElements.length;t--;)if(this.highlightExportItem(t))return!0;return!1}var s=[];e.compose=function(e){-1===s.indexOf(e)&&(s.push(e),(e=t.prototype).hideExportMenu=n,e.highlightExportItem=r,e.highlightLastExportItem=o,e.showExportMenu=i)}}(e||(e={})),e}),e(t,"Accessibility/KeyboardNavigation.js",[t["Core/Globals.js"],t["Accessibility/Components/MenuComponent.js"],t["Core/Utilities.js"],t["Accessibility/Utils/EventProvider.js"],t["Accessibility/Utils/HTMLUtilities.js"]],function(t,e,i,n,r){var o=t.doc,s=t.win,a=i.addEvent,l=i.fireEvent,c=r.getElement;return i=function(){function t(t,e){this.components=this.chart=void 0,this.currentModuleIx=NaN,this.exitAnchor=this.eventProvider=void 0,this.modules=[],this.tabindexContainer=void 0,this.init(t,e)}return t.prototype.init=function(t,e){var i=this,r=this.eventProvider=new n;this.chart=t,this.components=e,this.modules=[],this.currentModuleIx=0,this.update(),r.addEvent(this.tabindexContainer,"keydown",function(t){return i.onKeydown(t)}),r.addEvent(this.tabindexContainer,"focus",function(t){return i.onFocus(t)}),["mouseup","touchend"].forEach(function(t){return r.addEvent(o,t,function(){return i.onMouseUp()})}),["mousedown","touchstart"].forEach(function(e){return r.addEvent(t.renderTo,e,function(){i.isClickingChart=!0})}),r.addEvent(t.renderTo,"mouseover",function(){i.pointerIsOverChart=!0}),r.addEvent(t.renderTo,"mouseout",function(){i.pointerIsOverChart=!1})},t.prototype.update=function(t){var e=this.chart.options.accessibility;e=e&&e.keyboardNavigation;var i=this.components;this.updateContainerTabindex(),e&&e.enabled&&t&&t.length?(this.modules=t.reduce(function(t,e){return e=i[e].getKeyboardNavigation(),t.concat(e)},[]),this.updateExitAnchor()):(this.modules=[],this.currentModuleIx=0,this.removeExitAnchor())},t.prototype.onFocus=function(t){var e=this.chart;t=t.relatedTarget&&e.container.contains(t.relatedTarget),this.exiting||this.tabbingInBackwards||this.isClickingChart||t||!this.modules[0]||this.modules[0].init(1),this.exiting=!1},t.prototype.onMouseUp=function(){if(delete this.isClickingChart,!this.keyboardReset&&!this.pointerIsOverChart){var t=this.chart,e=this.modules&&this.modules[this.currentModuleIx||0];e&&e.terminate&&e.terminate(),t.focusElement&&t.focusElement.removeFocusBorder(),this.currentModuleIx=0,this.keyboardReset=!0}},t.prototype.onKeydown=function(t){t=t||s.event;var e,i=this.modules&&this.modules.length&&this.modules[this.currentModuleIx];if(this.exiting=this.keyboardReset=!1,i){var n=i.run(t);n===i.response.success?e=!0:n===i.response.prev?e=this.prev():n===i.response.next&&(e=this.next()),e&&(t.preventDefault(),t.stopPropagation())}},t.prototype.prev=function(){return this.move(-1)},t.prototype.next=function(){return this.move(1)},t.prototype.move=function(t){var e=this.modules&&this.modules[this.currentModuleIx];if(e&&e.terminate&&e.terminate(t),this.chart.focusElement&&this.chart.focusElement.removeFocusBorder(),this.currentModuleIx+=t,e=this.modules&&this.modules[this.currentModuleIx]){if(e.validate&&!e.validate())return this.move(t);if(e.init)return e.init(t),!0}return this.currentModuleIx=0,this.exiting=!0,0<t?this.exitAnchor.focus():this.tabindexContainer.focus(),!1},t.prototype.updateExitAnchor=function(){var t=c("highcharts-end-of-chart-marker-"+this.chart.index);this.removeExitAnchor(),t?(this.makeElementAnExitAnchor(t),this.exitAnchor=t):this.createExitAnchor()},t.prototype.updateContainerTabindex=function(){var t=this.chart.options.accessibility;t=!((t=t&&t.keyboardNavigation)&&!1===t.enabled);var e=this.chart,i=e.container;e.renderTo.hasAttribute("tabindex")&&(i.removeAttribute("tabindex"),i=e.renderTo),this.tabindexContainer=i;var n=i.getAttribute("tabindex");t&&!n?i.setAttribute("tabindex","0"):t||e.container.removeAttribute("tabindex")},t.prototype.makeElementAnExitAnchor=function(t){var e=this.tabindexContainer.getAttribute("tabindex")||0;t.setAttribute("class","highcharts-exit-anchor"),t.setAttribute("tabindex",e),t.setAttribute("aria-hidden",!1),this.addExitAnchorEventsToEl(t)},t.prototype.createExitAnchor=function(){var t=this.chart,e=this.exitAnchor=o.createElement("div");t.renderTo.appendChild(e),this.makeElementAnExitAnchor(e)},t.prototype.removeExitAnchor=function(){this.exitAnchor&&this.exitAnchor.parentNode&&(this.exitAnchor.parentNode.removeChild(this.exitAnchor),delete this.exitAnchor)},t.prototype.addExitAnchorEventsToEl=function(t){var e=this.chart,i=this;this.eventProvider.addEvent(t,"focus",function(t){(t=t||s.event).relatedTarget&&e.container.contains(t.relatedTarget)||i.exiting?i.exiting=!1:(i.tabbingInBackwards=!0,i.tabindexContainer.focus(),delete i.tabbingInBackwards,t.preventDefault(),i.modules&&i.modules.length&&(i.currentModuleIx=i.modules.length-1,(t=i.modules[i.currentModuleIx])&&t.validate&&!t.validate()?i.prev():t&&t.init(-1)))})},t.prototype.destroy=function(){this.removeExitAnchor(),this.eventProvider.removeAddedEvents(),this.chart.container.removeAttribute("tabindex")},t}(),function(i){function n(){var t=this;l(this,"dismissPopupContent",{},function(){t.tooltip&&t.tooltip.hide(0),t.hideExportMenu()})}function r(e){27===(e.which||e.keyCode)&&t.charts&&t.charts.forEac
1h(function(t){t&&t.dismissPopupContent&&t.dismissPopupContent()})}var s=[];i.compose=function(t){return e.compose(t),-1===s.indexOf(t)&&(s.push(t),t.prototype.dismissPopupContent=n),-1===s.indexOf(o)&&(s.push(o),a(o,"keydown",r)),t}}(i||(i={})),i}),e(t,"Accessibility/Components/LegendComponent.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/Globals.js"],t["Core/Legend/Legend.js"],t["Core/Utilities.js"],t["Accessibility/AccessibilityComponent.js"],t["Accessibility/KeyboardNavigationHandler.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Utils/HTMLUtilities.js"]],function(t,e,i,n,r,o,s,a){function l(t){var e=t.legend&&t.legend.allItems,i=t.options.legend.accessibility||{};return!(!e||!e.length||t.colorAxis&&t.colorAxis.length||!1===i.enabled)}var c=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),h=t.animObject,d=n.addEvent,u=n.fireEvent,p=n.isNumber,f=n.pick,m=n.syncTimeout,g=s.getChartTitle,y=a.stripHTMLTagsFromString,v=a.addClass,b=a.removeClass;return t=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.highlightedLegendItemIx=NaN,e}return c(n,t),n.prototype.init=function(){var t=this;this.recreateProxies(),this.addEvent(i,"afterScroll",function(){this.chart===t.chart&&(t.proxyProvider.updateGroupProxyElementPositions("legend"),t.updateLegendItemProxyVisibility(),-1<t.highlightedLegendItemIx&&this.chart.highlightLegendItem(t.highlightedLegendItemIx))}),this.addEvent(i,"afterPositionItem",function(e){this.chart===t.chart&&this.chart.renderer&&t.updateProxyPositionForItem(e.item)}
1),this.addEvent(i,"afterRender",function(){this.chart===t.chart&&this.chart.renderer&&t.recreateProxies()&&m(function(){return t.proxyProvider.updateGroupProxyElementPositions("legend")},h(f(this.chart.renderer.globalAnimation,!0)).duration)})},n.prototype.updateLegendItemProxyVisibility=function(){var t=this.chart,e=t.legend,i=e.currentPage||1,n=e.clipHeight||0;(e.allItems||[]).forEach(function(r){if(r.a11yProxyElement){var o=r.a11yProxyElement.element,s=!1;if(e.pages&&e.pages.length)s=r.pageIx||0,s=(r._legendItemPos?r._legendItemPos[1]:0)+(r=r.legendItem?Math.round(r.legendItem.getBBox().height):0)-e.pages[s]>n||s!==i-1;s?t.styledMode?v(o,"highcharts-a11y-invisible"):o.style.visibility="hidden":(b(o,"highcharts-a11y-invisible"),o.style.visibility="")}})},n.prototype.onChartRender=function(){l(this.chart)||this.removeProxies()},n.prototype.highlightAdjacentLegendPage=function(t){var e=this.chart,i=e.legend;t=(i.currentPage||1)+t;var n=i.pages||[];if(0<t&&t<=n.length){n=i.allItems.length;for(var r=0;r<n;++r)if(i.allItems[r].pageIx+1===t){e.highlightLegendItem(r)&&(this.highlightedLegendItemIx=r);break}}},n.prototype.updateProxyPositionForItem=function(t){t.a11yProxyElement&&t.a11yProxyElement.refreshPosition()},n.prototype.recreateProxies=function(){return this.removeProxies(),!!l(this.chart)&&(this.addLegendProxyGroup(),this.proxyLegendItems(),this.updateLegendItemProxyVisibility(),this.updateLegendTitle(),!0)},n.prototype.removeProxies=function(){this.proxyProvider.removeGroup("legend")},n.prototype.updateLegendTitle=function(){var t=this.chart,e=y((t.legend&&t.legend.options.title&&t.legend.options.title.text||"").replace(/<br ?\/?>/g," "));t=t.langFormat("accessibility.legend.legendLabel"+(e?"":"NoTitle"),{chart:t,legendTitle:e,chartTitle:g(t)}),this.proxyProvider.updateGroupAttrs("legend",{"aria-label":t})},n.prototype.addLegendProxyGroup=function(){this.proxyProvider.addGroup("legend","ul",{"aria-label":"_placeholder_",role:"all"===this.chart.options.accessibility.landmarkVerbosity?"region":null})},n.prototype.proxyLegendItems=function(){var t=this;(this.chart.legend&&this.chart.legend.allItems||[]).forEach(function(e){e.legendItem&&e.legendItem.element&&t.proxyLegendItem(e)})},n.prototype.proxyLegendItem=function(t){if(t.legendItem&&t.legendGroup){var e=this.chart.langFormat("accessibility.legend.legendItem",{chart:this.chart,itemName:y(t.name),item:t});t.a11yProxyElement=this.proxyProvider.addProxyElement("legend",{click:t.legendItem,visual:(t.legendGroup.div?t.legendItem:t.legendGroup).element},{tabindex:-1,"aria-pressed":t.visible,"aria-label":e})}},n.prototype.getKeyboardNavigation=function(){var t=this.keyCodes,i=this,n=this.chart;return new o(n,{keyCodeMap:[[[t.left,t.right,t.up,t.down],function(t){return i.onKbdArrowKey(this,t)}],[[t.enter,t.space],function(n){return e.isFirefox&&n===t.space?this.response.success:i.onKbdClick(this)}],[[t.pageDown,t.pageUp],function(e){return i.highlightAdjacentLegendPage(e===t.pageDown?1:-1),this.response.success}]],validate:function(){return i.shouldHaveLegendNavigation()},init:function(t){return i.onKbdNavigationInit(t)},terminate:function(){i.highlightedLegendItemIx=-1,n.legend.allItems.forEach(function(t){return t.setState("",!0)})}})},n.prototype.onKbdArrowKey=function(t,e){var i=this.keyCodes,n=t.response,r=this.chart,o=r.options.accessibility,s=r.legend.allItems.length;return e=e===i.left||e===i.up?-1:1,r.highlightLegendItem(this.highlightedLegendItemIx+e)?(this.highlightedLegendItemIx+=e,n.success):1<s&&o.keyboardNavigation.wrapAround?(t.init(e),n.success):n[0<e?"next":"prev"]},n.prototype.onKbdClick=function(t){var e=this.chart.legend.allItems[this.highlightedLegendItemIx];return e&&e.a11yProxyElement&&e.a11yProxyElement.click(),t.response.success},n.prototype.shouldHaveLegendNavigation=function(){var t=this.chart,e=t.colorAxis&&t.colorAxis.length,i=(t.options.legend||{}).accessibility||{};return!!(t.legend&&t.legend.allItems&&t.legend.display&&!e&&i.enabled&&i.keyboardNavigation&&i.keyboardNavigation.enabled)},n.prototype.onKbdNavigationInit=function(t){var e=this.chart,i=e.legend.allItems.length-1;t=0<t?0:i,e.highlightLegendItem(t),this.highlightedLegendItemIx=t},n}(r),function(t){function e(t){var e=this.legend.allItems,i=this.accessibility&&this.accessibility.components.legend.highlightedLegendItemIx,n=e[t];return!!n&&(p(i)&&e[i]&&u(e[i].legendGroup.element,"mouseout"),t=(e=this.legend).allItems[t].pageIx,i=e.currentPage,void 0!==t&&t+1!==i&&e.scroll(1+t-i),t=n.legendItem,e=n.a11yProxyElement&&n.a11yProxyElement.buttonElement,t&&t.element&&e&&this.setFocusToElement(t,e),n.legendGroup&&u(n.legendGroup.element,"mouseover"),!0)}function i(t){var e=t.item;this.chart.options.accessibility.enabled&&e&&e.a11yProxyElement&&e.a11yProxyElement.buttonElement.setAttribute("aria-pressed",t.visible?"true":"false")}var n=[];t.compose=function(t,r){-1===n.indexOf(t)&&(n.push(t),t.prototype.highlightLegendItem=e),-1===n.indexOf(r)&&(n.push(r),d(r,"afterColorizeItem",i))}}(t||(t={})),t}),e(t,"Accessibility/Components/SeriesComponent/SeriesDescriber.js",[t["Accessibility/Components/AnnotationsA11y.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Core/FormatUtilities.js"],t["Accessibility/Utils/HTMLUtilities.js"],t["Core/Utilities.js"]],function(t,e,
1i,n,r){function o(t){var e=t.index;return t.series&&t.series.data&&S(e)&&w(t.series.data,function(t){return!!(t&&void 0!==t.index&&t.index>e&&t.graphic&&t.graphic.element)})||null}function s(t){var e=t.chart.options.accessibility.series.pointDescriptionEnabledThreshold;return!!(!1!==e&&t.points&&t.points.length>=e)}function a(t,e){var i=t.series,n=i.chart;t=n.options.accessibility.point||{};var r=i.options.accessibility&&i.options.accessibility.point||{};return i=i.tooltipOptions||{},n=n.options.lang,k(e)?v(e,r.valueDecimals||t.valueDecimals||i.valueDecimals||-1,n.decimalPoint,n.accessibility.thousandsSep||n.thousandsSep):e}function l(t,e){return t.chart.langFormat("accessibility.series."+e+"Description",{name:p(t[e]),series:t})}function c(t){var e=t.series,i=e.chart,n=t.series,r=n.chart,o=n.options.accessibility;if(o=o&&o.point&&o.point.valueDescriptionFormat||r.options.accessibility.point.valueDescriptionFormat,n=C(n.xAxis&&n.xAxis.options.accessibility&&n.xAxis.options.accessibility.enabled,!r.angular)){var s=t.series,l=s.chart,c=s.options.accessibility&&s.options.accessibility.point||{},h=l.options.accessibility.point||{};(s=s.xAxis&&s.xAxis.dateTime)?(s=s.getXDateFormat(t.x||0,l.options.tooltip.dateTimeLabelFormats),c=c.dateFormatter&&c.dateFormatter(t)||h.dateFormatter&&h.dateFormatter(t)||c.dateFormat||h.dateFormat||s,l=l.time.dateFormat(c,t.x||0,void 0)):l=void 0,c=(t.series.xAxis||{}).categories&&S(t.category)&&(""+t.category).replace("<br/>"," "),h=t.id&&0>t.id.indexOf("highcharts-"),s="x, "+t.x,l=t.name||l||c||(h?t.id:s)}else l="";c=S(t.index)?t.index+1:"";var d=(h=t.series).chart.options.accessibility.point||{},p=h.chart.options.accessibility&&h.chart.options.accessibility.point||{},f=h.tooltipOptions||{};return s=p.valuePrefix||d.valuePrefix||f.valuePrefix||"",d=p.valueSuffix||d.valueSuffix||f.valueSuffix||"",p=a(t,t[void 0!==t.value?"value":"y"]),h=t.isNull?h.chart.langFormat("accessibility.series.nullPointValue",{point:t}):h.pointArrayMap?function(t,e,i){var n=e||"",r=i||"";return t.series.pointArrayMap.reduce(function(e,i){e+=e.length?", ":"";var o=a(t,C(t[i],t.options[i]));return e+(i+": ")+n+o+r},"")}(t,s,d):s+p+d,r=y(o,{point:t,index:c,xDescription:l,value:h,separator:n?", ":""},r),o=(o=t.options&&t.options.accessibility&&t.options.accessibility.description)?" "+o:"",e=1<i.series.length&&e.name?" "+e.name+".":"",i=t.series.chart,l={point:t,annotations:n=u(t)},i=n.length?i.langFormat("accessibility.series.pointAnnotationsDescription",l):"",t.accessibility=t.accessibility||{},t.accessibility.valueDescription=r,r+o+e+(i?" "+i:"")}function h(t){var e=function(t){var e=t.options.accessibility||{};return!s(t)&&!e.exposeAsGroupOnly}(t),i=function(t){var e=t.chart.options.accessibility.keyboardNavigation.seriesNavigation;return!(!t.points||!(t.points.length<e.pointNavigationEnabledThreshold||!1===e.pointNavigationEnabledThreshold))}(t);(e||i)&&t.points.forEach(function(i){var n;if(!(n=i.graphic&&i.graphic.element)&&(n=i.series&&i.series.is("sunburst"),n=i.isNull&&!n)){var r=i.series,s=o(i);r=(n=s&&s.graphic)?n.parentGroup:r.graph||r.group,s=s?{x:C(i.plotX,s.plotX,0),y:C(i.plotY,s.plotY,0)}:{x:C(i.plotX,0),y:C(i.plotY,0)},(s=i.series.chart.renderer.rect(s.x,s.y,1,1)).attr({class:"highcharts-a11y-dummy-point",fill:"none",opacity:0,"fill-opacity":0,"stroke-opacity":0}),r&&r.element?(i.graphic=s,i.hasDummyGraphic=!0,s.add(r),r.element.insertBefore(s.element,n?n.element:null),n=s.element):n=void 0}r=i.options&&i.options.accessibility&&!1===i.options.accessibility.enabled,n&&(n.setAttribute("tabindex","-1"),t.chart.styledMode||(n.style.outline="none"),e&&!r?(r=(s=i.series).chart.options.accessibility.point||{},s=s.options.accessibility&&s.options.accessibility.point||{},i=x(s.descriptionFormatter&&s.descriptionFormatter(i)||r.descriptionFormatter&&r.descriptionFormatter(i)||c(i)),n.setAttribute("role","img"),n.setAttribute("aria-label",i)):n.setAttribute("aria-hidden",!0))})}function d(t){var e=t.chart,i=e.types||[],n=function(t){var e=(t.options.accessibility||{}).description;return e&&t.chart.langFormat("accessibility.series.description",{description:e,series:t})||""}(t),r=function(i){return e[i]&&1<e[i].length&&t[i]},o=l(t,"xAxis"),s=l(t,"yAxis"),a={name:t.name||"",ix:t.index+1,numSeries:e.series&&e.series.length,numPoints:t.points&&t.points.length,series:t};return i=1<i.length?"Combination":"",(e.langFormat("accessibility.series.summary."+t.type+i,a)||e.langFormat("accessibility.series.summary.default"+i,a))+(n?" "+n:"")+(r("yAxis")?" "+s:"")+(r("xAxis")?" "+o:"")}var u=t.getPointAnnotationTexts,p=e.getAxisDescription,f=e.getSeriesFirstPointElement,m=e.getSeriesA11yElement,g=e.unhideChartElementFromAT,y=i.format,v=i.numberFormat,b=n.reverseChildNodes,x=n.stripHTMLTagsFromString,w=r.find,k=r.isNumber,C=r.pick,S=r.defined;return{defaultPointDescriptionFormatter:c,defaultSeriesDescriptionFormatter:d,describeSeries:function(t){var e=t.chart,i=f(t),n=m(t),r=e.is3d&&e.is3d();if(n){n.lastChild!==i||r||b(n),h(t),g(e,n),e=(r=t.chart).options.chart,i=1<r.series.length,r=r.options.accessibility.series.describeSingleSeries;var o=(t.options.accessibility||{}).exposeAsGroupOnly;e.options3d&&e.options3d.enabled&&i||!(i||r||o||s(t))?n.setAttribute("aria-label",""):(i=(e=t.chart.options.accessibility).landmarkVerbosity,(t.options.accessibility||{}).exposeAsGroupOnly?n.setAttribute("role","img"):"all"===i&&n.setAttribute("role","regi
1on"),n.setAttribute("tabindex","-1"),t.chart.styledMode||(n.style.outline="none"),n.setAttribute("aria-label",x(e.series.descriptionFormatter&&e.series.descriptionFormatter(t)||d(t))))}}}}),e(t,"Accessibility/Components/SeriesComponent/NewDataAnnouncer.js",[t["Core/Globals.js"],t["Core/Utilities.js"],t["Accessibility/Utils/Announcer.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Utils/EventProvider.js"],t["Accessibility/Components/SeriesComponent/SeriesDescriber.js"]],function(t,e,i,n,r,o){var s=e.addEvent,a=e.defined,l=n.getChartTitle,c=o.defaultPointDescriptionFormatter,h=o.defaultSeriesDescriptionFormatter;return e=function(){function e(t){this.announcer=void 0,this.dirty={allSeries:{}},this.eventProvider=void 0,this.lastAnnouncementTime=0,this.chart=t}return e.prototype.init=function(){var t=this.chart,e=t.options.accessibility.announceNewData.interruptUser?"assertive":"polite";this.lastAnnouncementTime=0,this.dirty={allSeries:{}},this.eventProvider=new r,this.announcer=new i(t,e),this.addEventListeners()},e.prototype.destroy=function(){this.eventProvider.removeAddedEvents(),this.announcer.destroy()},e.prototype.addEventListeners=function(){var t=this,e=this.chart,i=this.eventProvider;i.addEvent(e,"afterDrilldown",function(){t.lastAnnouncementTime=0}),i.addEvent(e,"afterAddSeries",function(e){t.onSeriesAdded(e.series)}),i.addEvent(e,"redraw",function(){t.announceDirtyData()})},e.prototype.onSeriesAdded=function(t){this.chart.options.accessibility.announceNewData.enabled&&(this.dirty.hasDirty=!0,this.dirty.allSeries[t.name+t.index]=t,this.dirty.newSeries=a(this.dirty.newSeries)?void 0:t)},e.prototype.announceDirtyData=function(){var t=this;if(this.chart.options.accessibility.announceNewData&&this.dirty.hasDirty){var e=this.dirty.newPoint;e&&(e=function(t){var e=t.series.data.filter(function(e){return t.x===e.x&&t.y===e.y});return 1===e.length?e[0]:t}(e)),this.queueAnnouncement(Object.keys(this.dirty.allSeries).map(function(e){return t.dirty.allSeries[e]}),this.dirty.newSeries,e),this.dirty={allSeries:{}}}},e.prototype.queueAnnouncement=function(t,e,i){var n=this,r=this.chart.options.accessibility.announceNewData;if(r.enabled){var o=+new Date;r=Math.max(0,r.minAnnounceInterval-(o-this.lastAnnouncementTime)),t=function(t,e){var i=(t||[]).concat(e||[]).reduce(function(t,e){return t[e.name+e.index]=e,t},{});return Object.keys(i).map(function(t){return i[t]})}(this.queuedAnnouncement&&this.queuedAnnouncement.series,t),(e=this.buildAnnouncementMessage(t,e,i))&&(this.queuedAnnouncement&&clearTimeout(this.queuedAnnouncementTimer),this.queuedAnnouncement={time:o,message:e,series:t},this.queuedAnnouncementTimer=setTimeout(function(){n&&n.announcer&&(n.lastAnnouncementTime=+new Date,n.announcer.announce(n.queuedAnnouncement.message),delete n.queuedAnnouncement,delete n.queuedAnnouncementTimer)},r))}},e.prototype.buildAnnouncementMessage=function(e,i,n){var r=this.chart,o=r.options.accessibility.announceNewData;return o.announcementFormatter&&!1!==(e=o.announcementFormatter(e,i,n))?e.length?e:null:(e=t.charts&&1<t.charts.length?"Multiple":"Single",e=i?"newSeriesAnnounce"+e:n?"newPointAnnounce"+e:"newDataAnnounce",o=l(r),r.langFormat("accessibility.announceNewData."+e,{chartTitle:o,seriesDesc:i?h(i):null,pointDesc:n?c(n):null,point:n,series:i}))},e}(),function(t){function e(t){var e=this.chart,i=this.newDataAnnouncer;i&&i.chart===e&&e.options.accessibility.announceNewData.enabled&&(i.dirty.newPoint=a(i.dirty.newPoint)?void 0:t.point)}function i(){var t=this.chart,e=this.newDataAnnouncer;e&&e.chart===t&&t.options.accessibility.announceNewData.enabled&&(e.dirty.hasDirty=!0,e.dirty.allSeries[this.name+this.index]=this)}t.composedClasses=[],t.compose=function(n){-1===t.composedClasses.indexOf(n)&&(t.composedClasses.push(n),s(n,"addPoint",e),s(n,"updatedData",i))}}(e||(e={})),e}),e(t,"Accessibility/ProxyElement.js",[t["Core/Globals.js"],t["Core/Utilities.js"],t["Accessibility/Utils/EventProvider.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Utils/HTMLUtilities.js"]],function(t,e,i,n,r){var o=t.doc,s=e.attr,a=e.css,l=e.merge,c=n.fireEventOnWrappedOrUnwrappedElement,h=r.cloneMouseEvent,d=r.cloneTouchEvent,u=r.getFakeMouseEvent,p=r.removeElement;return function(){function t(t,e,n,r){this.chart=t,this.target=e,this.groupType=n,n="ul"===n,this.eventProvider=new i;var s=n?o.createElement("li"):null,a=this.buttonElement=o.createElement("button");t.styledMode||this.hideButtonVisually(a),s?(n&&!t.styledMode&&(s.style.listStyle="none"),s.appendChild(a),this.element=s):this.element=a,this.updateTarget(e,r)}return t.prototype.click=function(){var t=this.getTargetPosition();t.x+=t.width/2,t.y+=t.height/2,t=u("click",t),c(this.target.click,t)},t.prototype.updateTarget=function(t,e){this.target=t,this.updateCSSClassName(),s(this.buttonElement,l({"aria-label":this.getTargetAttr(t.click,"aria-label")},e)),this.eventProvider.removeAddedEvents(),this.addProxyEventsToButton(this.buttonElement,t.click),this.refreshPosition()},t.prototype.refreshPosition=function(){var t=this.getTargetPosition();a(this.buttonElement,{width:(t.width||1)+"px",height:(t.height||1)+"px",left:(Math.round(t.x)||0)+"px",top:(Math.round(t.y)||0)+"px"})},t.prototype.remove=function(){this.eventProvider.removeAddedEvents(),p(this.element)},t.prototype.updateCSSClassName=function(){var t=this.chart.legend;t=-1<((t=t.group&&t.group.div)&&t.className||"").indexOf("highcharts-no-tooltip");var e=-1<(this.getTargetAttr(this.target.click,"class")||"").indexOf("highcharts-no-tooltip");this.buttonElement.className=t||e?"highcharts-a11y-proxy-button highcharts-no-tooltip":"highcharts-a11y-proxy-button"},t.prototype.addProxyEventsToButton=function(t,e){var i=this;"click touchstart touchend touchcancel touchmove mouseover mouseenter mouseleave mouseout".split(" ").forEach(function(n){var r=0===n.indexOf("touch");i.eventProvider.addEvent(t,n,function(t){var i=r?d(t):h(t);e&&c(e,i),t.stopPropagation(),r||t.preventDefault()},{passive:!1})})},t.prototype.hideButtonVisually=function(t){a(t,{borderWidth:0,backgroundColor:"transparent",curs
1or:"pointer",outline:"none",opacity:.001,filter:"alpha(opacity=1)",zIndex:999,overflow:"hidden",padding:0,margin:0,display:"block",position:"absolute","-ms-filter":"progid:DXImageTransform.Microsoft.Alpha(Opacity=1)"})},t.prototype.getTargetPosition=function(){var t=this.target.click;t=t.element?t.element:t;var e=this.target.visual||t;return(t=this.chart.renderTo)&&e&&e.getBoundingClientRect?(e=e.getBoundingClientRect(),t=t.getBoundingClientRect(),{x:e.left-t.left,y:e.top-t.top,width:e.right-e.left,height:e.bottom-e.top}):{x:0,y:0,width:1,height:1}},t.prototype.getTargetAttr=function(t,e){return t.element?t.element.getAttribute(e):t.getAttribute(e)},t}()}),e(t,"Accessibility/ProxyProvider.js",[t["Core/Globals.js"],t["Core/Utilities.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Utils/DOMElementProvider.js"],t["Accessibility/Utils/HTMLUtilities.js"],t["Accessibility/ProxyElement.js"]],function(t,e,i,n,r,o){var s=t.doc,a=e.attr,l=e.css,c=i.unhideChartElementFromAT,h=r.removeElement,d=r.removeChildNodes;return function(){function t(t){this.chart=t,this.domElementProvider=new n,this.groups={},this.groupOrder=[],this.beforeChartProxyPosContainer=this.createProxyPosContainer("before"),this.afterChartProxyPosContainer=this.createProxyPosContainer("after"),this.update()}return t.prototype.addProxyElement=function(t,e,i){var n=this.groups[t];if(!n)throw Error("ProxyProvider.addProxyElement: Invalid group key "+t);return t=new o(this.chart,e,n.type,i),n.proxyContainerElement.appendChild(t.element),n.proxyElements.push(t),t},t.prototype.addGroup=function(t,e,i){if(!this.groups[t]){var n=this.domElementProvider.createElement(e);if(i&&i.role&&"div"!==e){var r=this.domElementProvider.createElement("div");r.appendChild(n)}else r=n;r.className="highcharts-a11y-proxy-group highcharts-a11y-proxy-group-"+t.replace(/\W/g,"-"),this.groups[t]={proxyContainerElement:n,groupElement:r,type:e,proxyElements:[]},a(r,i||{}),"ul"===e&&n.setAttribute("role","list"),this.afterChartProxyPosContainer.appendChild(r),this.updateGroupOrder(this.groupOrder)}},t.prototype.updateGroupAttrs=function(t,e){var i=this.groups[t];if(!i)throw Error("ProxyProvider.updateGroupAttrs: Invalid group key "+t);a(i.groupElement,e)},t.prototype.updateGroupOrder=function(t){var e=this;if(this.groupOrder=t.slice(),!this.isDOMOrderGroupOrder()){var i=t.indexOf("series"),n=-1<i?t.slice(0,i):t,r=-1<i?t.slice(i+1):[];t=s.activeElement,["before","after"].forEach(function(t){var i=e["before"===t?"beforeChartProxyPosContainer":"afterChartProxyPosContainer"];t="before"===t?n:r,d(i),t.forEach(function(t){(t=e.groups[t])&&i.appendChild(t.groupElement)})}),(this.beforeChartProxyPosContainer.contains(t)||this.afterChartProxyPosContainer.contains(t))&&t&&t.focus&&t.focus()}},t.prototype.clearGroup=function(t){var e=this.groups[t];if(!e)throw Error("ProxyProvider.clearGroup: Invalid group key "+t);d(e.proxyContainerElement)},t.prototype.removeGroup=function(t){var e=this.groups[t];e&&(h(e.groupElement),delete this.groups[t])},t.prototype.update=function(){this.updatePosContainerPositions(),this.updateGroupOrder(this.groupOrder),this.updateProxyElementPositions()},t.prototype.updateProxyElementPositions=function(){Object.keys(this.groups).forEach(this.updateGroupProxyElementPositions.bind(this))},t.prototype.updateGroupProxyElementPositions=function(t){(t=this.groups[t])&&t.proxyElements.forEach(function(t){return t.refreshPosition()})},t.prototype.destroy=function(){this.domElementProvider.destroyCreatedElements()},t.prototype.createProxyPosContainer=function(t){var e=this.domElementProvider.createElement("div");return e.setAttribute("aria-hidden","false"),e.className="highcharts-a11y-proxy-container"+(t?"-"+t:""),l(e,{top:"0",left:"0"}),this.chart.styledMode||(e.style.whiteSpace="nowrap",e.style.position="absolute"),e},t.prototype.getCurrentGroupOrderInDOM=function(){var t=this,e=function(e){var i=[];e=e.children;for(var n=0;n<e.length;++n){t:{for(var r=e[n],o=Object.keys(t.groups),s=o.length;s--;){var a=o[s],l=t.groups[a];if(l&&r===l.groupElement){r=a;break t}}r=void 0}r&&i.push(r)}return i},i=e(this.beforeChartProxyPosContainer);return e=e(this.afterChartProxyPosContainer),i.push("series"),i.concat(e)},t.prototype.isDOMOrderGroupOrder=function(){var t=this,e=this.getCurrentGroupOrderInDOM(),i=this.groupOrder.filter(function(e){return"series"===e||!!t.groups[e]}),n=e.length;if(n!==i.length)return!1;for(;n--;)if(e[n]!==i[n])return!1;return!0},t.prototype.updatePosContainerPositions=function(){var t=this.chart,e=t.renderer.box;t.container.insertBefore(this.afterChartProxyPosContainer,e.nextSibling),t.container.insertBefore(this.beforeChartProxyPosContainer,e),c(this.chart,this.afterChartProxyPosContainer),c(this.chart,this.beforeChartProxyPosContainer)},t}()}),e(t,"Extensions/RangeSelector.js",[t["Core/Axis/Axis.js"],t["Core/Chart/Chart.js"],t["Core/Globals.js"],t["Core/DefaultOptions.js"],t["Core/Renderer/SVG/SVGElement.js"],t["Core/Utilities.js"]],function(t,e,
1i,n,r,o){var s=n.defaultOptions,a=o.addEvent,l=o.createElement,c=o.css,h=o.defined,d=o.destroyObjectProperties,u=o.discardElement,p=o.extend,f=o.find,m=o.fireEvent,g=o.isNumber,y=o.merge,v=o.objectEach,b=o.pad,x=o.pick,w=o.pInt,k=o.splat;p(s,{rangeSelector:{allButtonsEnabled:!1,buttons:void 0,buttonSpacing:5,dropdown:"responsive",enabled:void 0,verticalAlign:"top",buttonTheme:{width:28,height:18,padding:2,zIndex:7},floating:!1,x:0,y:0,height:void 0,inputBoxBorderColor:"none",inputBoxHeight:17,inputBoxWidth:void 0,inputDateFormat:"%b %e, %Y",inputDateParser:void 0,inputEditDateFormat:"%Y-%m-%d",inputEnabled:!0,inputPosition:{align:"right",x:0,y:0},inputSpacing:5,selected:void 0,buttonPosition:{align:"left",x:0,y:0},inputStyle:{color:"#335cad",cursor:"pointer"},labelStyle:{color:"#666666"}}}),p(s.lang,{rangeSelectorZoom:"Zoom",rangeSelectorFrom:"",rangeSelectorTo:"→"});var C=function(){function e(t){this.buttons=void 0,this.buttonOptions=e.prototype.defaultButtons,this.initialButtonGroupWidth=0,this.options=void 0,this.chart=t,this.init(t)}return e.prototype.clickButton=function(e,i){var n=this.chart,r=this.buttonOptions[e],o=n.xAxis[0],s=n.scroller&&n.scroller.getUnionExtremes()||o||{},l=s.dataMin,c=s.dataMax,d=o&&Math.round(Math.min(o.max,x(c,o.max))),u=r.type;s=r._range;var p,f=r.dataGrouping;if(null!==l&&null!==c){if(n.fixedRange=s,this.setSelected(e),f&&(this.forcedDataGrouping=!0,t.prototype.setDataGrouping.call(o||{chart:this.chart},f,!1),this.frozenStates=r.preserveDataGrouping),"month"===u||"year"===u)if(o){u={range:r,max:d,chart:n,dataMin:l,dataMax:c};var y=o.minFromRange.call(u);g(u.newMax)&&(d=u.newMax)}else s=r;else if(s)y=Math.max(d-s,l),d=Math.min(y+s,c);else if("ytd"===u){if(!o)return void(this.deferredYTDClick=e);void 0===c&&(l=Number.MAX_VALUE,c=Number.MIN_VALUE,n.series.forEach(function(t){t=t.xData,l=Math.min(t[0],l),c=Math.max(t[t.length-1],c)}),i=!1),y=p=(d=this.getYTDExtremes(c,l,n.time.useUTC)).min,d=d.max}else"all"===u&&o&&(n.navigator&&n.navigator.baseSeries[0]&&(n.navigator.baseSeries[0].xAxis.options.range=void 0),y=l,d=c);if(h(y)&&(y+=r._offsetMin),h(d)&&(d+=r._offsetMax),this.dropdown&&(this.dropdown.selectedIndex=e+1),o)o.setExtremes(y,d,x(i,!0),void 0,{trigger:"rangeSelectorButton",rangeSelectorButton:r});else{var v=k(n.options.xAxis)[0],b=v.range;v.range=s;var w=v.min;v.min=p,a(n,"load",function(){v.range=b,v.min=w})}m(this,"afterBtnClick")}},e.prototype.setSelected=function(t){this.selected=this.options.selected=t},e.prototype.init=function(t){var e=this,i=t.options.rangeSelector,n=i.buttons||e.defaultButtons.slice(),r=i.selected,o=function(){var t=e.minInput,i=e.maxInput;t&&t.blur&&m(t,"blur"),i&&i.blur&&m(i,"blur")};e.chart=t,e.options=i,e.buttons=[],e.buttonOptions=n,this.eventsToUnbind=[],this.eventsToUnbind.push(a(t.container,"mousedown",o)),this.eventsToUnbind.push(a(t,"resize",o)),n.forEach(e.computeButtonRange),void 0!==r&&n[r]&&this.clickButton(r,!1),this.eventsToUnbind.push(a(t,"load",function(){t.xAxis&&t.xAxis[0]&&a(t.xAxis[0],"setExtremes",function(i){this.max-this.min!==t.fixedRange&&"rangeSelectorButton"!==i.trigger&&"updatedData"!==i.trigger&&e.forcedDataGrouping&&!e.frozenStates&&this.setDataGrouping(!1,!1)})}))},e.prototype.updateButtonStates=function(){var t=this,e=this.chart,i=this.dropdown,n=e.xAxis[0],r=M
1ath.round(n.max-n.min),o=!n.hasVisibleSeries,s=e.scroller&&e.scroller.getUnionExtremes()||n,a=s.dataMin,l=s.dataMax,c=(e=t.getYTDExtremes(l,a,e.time.useUTC)).min,h=e.max,d=t.selected,u=g(d),p=t.options.allButtonsEnabled,f=t.buttons;t.buttonOptions.forEach(function(e,s){var m=e._range,g=e.type,y=e.count||1,v=f[s],b=0,x=e._offsetMax-e._offsetMin;e=s===d;var w=m>l-a,k=m<n.minRange,C=!1,S=!1;m=m===r,("month"===g||"year"===g)&&r+36e5>=864e5*{month:28,year:365}[g]*y-x&&r-36e5<=864e5*{month:31,year:366}[g]*y+x?m=!0:"ytd"===g?(m=h-c+x===r,C=!e):"all"===g&&(m=n.max-n.min>=l-a,S=!e&&u&&m),g=!p&&(w||k||S||o),y=e&&m||m&&!u&&!C||e&&t.frozenStates,g?b=3:y&&(u=!0,b=2),v.state!==b&&(v.setState(b),i&&(i.options[s+1].disabled=g,2===b&&(i.selectedIndex=s+1)),0===b&&d===s&&t.setSelected())})},e.prototype.computeButtonRange=function(t){var e=t.type,i=t.count||1,n={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5};n[e]?t._range=n[e]*i:"month"!==e&&"year"!==e||(t._range=864e5*{month:30,year:365}[e]*i),t._offsetMin=x(t.offsetMin,0),t._offsetMax=x(t.offsetMax,0),t._range+=t._offsetMax-t._offsetMin},e.prototype.getInputValue=function(t){t="min"===t?this.minInput:this.maxInput;var e=this.chart.options.rangeSelector,i=this.chart.time;return t?("text"===t.type&&e.inputDateParser||this.defaultInputDateParser)(t.value,i.useUTC,i):0},e.prototype.setInputValue=function(t,e){var i=this.options,n=this.chart.time,r="min"===t?this.minInput:this.maxInput;if(t="min"===t?this.minDateBox:this.maxDateBox,r){var o=r.getAttribute("data-hc-time");o=h(o)?Number(o):void 0,h(e)&&(h(o)&&r.setAttribute("data-hc-time-previous",o),r.setAttribute("data-hc-time",e),o=e),r.value=n.dateFormat(this.inputTypeFormats[r.type]||i.inputEditDateFormat,o),t&&t.attr({text:n.dateFormat(i.inputDateFormat,o)})}},e.prototype.setInputExtremes=function(t,e,i){if(t="min"===t?this.minInput:this.maxInput){var n=this.inputTypeFormats[t.type],r=this.chart.time;n&&(e=r.dateFormat(n,e),t.min!==e&&(t.min=e),i=r.dateFormat(n,i),t.max!==i&&(t.max=i))}},e.prototype.showInput=function(t){var e="min"===t?this.minDateBox:this.maxDateBox;if((t="min"===t?this.minInput:this.maxInput)&&e&&this.inputGroup){var i="text"===t.type,n=this.inputGroup,r=n.translateX;n=n.translateY;var o=this.options.inputBoxWidth;c(t,{width:i?e.width+(o?-2:20)+"px":"auto",height:i?e.height-2+"px":"auto",border:"2px solid silver"}),c(t,i&&o?{left:r+e.x+"px",top:n+"px"}:{left:Math.min(Math.round(e.x+r-(t.offsetWidth-e.width)/2),this.chart.chartWidth-t.offsetWidth)+"px",top:n-(t.offsetHeight-e.height)/2+"px"})}},e.prototype.hideInput=function(t){(t="min"===t?this.minInput:this.maxInput)&&c(t,{top:"-9999em",border:0,width:"1px",height:"1px"})},e.prototype.defaultInputDateParser=function(t,e,n){var r,o=t.split("/").join("-").split(" ").join("T");(-1===o.indexOf("T")&&(o+="T00:00"),e)?o+="Z":((r=i.isSafari)&&(r=!(6<(r=o).length&&(r.lastIndexOf("-")===r.length-6||r.lastIndexOf("+")===r.length-6))),r&&(o+=0>=(r=new Date(o).getTimezoneOffset()/60)?"+"+b(-r)+":00":"-"+b(r)+":00"));return o=Date.parse(o),g(o)||(t=t.split("-"),o=Date.UTC(w(t[0]),w(t[1])-1,w(t[2]))),n&&e&&g(o)&&(o+=n.getTimezoneOffset(o)),o},e.prototype.drawInput=function(t){function e(){var e=a.getInputValue(t),i=n.xAxis[0],r=n.scroller&&n.scroller.xAxis?n.scroller.xAxis:i,o=r.dataMin;r=r.dataMax;var s=a.maxInput,l=a.minInput;e!==Number(v.getAttribute("data-hc-time-previous"))&&g(e)&&(v.setAttribute("data-hc-time-previous",e),f&&s&&g(o)?e>Number(s.getAttribute("data-hc-time"))?e=void 0:e<o&&(e=o):l&&g(r)&&(e<Number(l.getAttribute("data-hc-time"))?e=void 0:e>r&&(e=r)),void 0!==e&&i.setExtremes(f?e:i.min,f?i.max:e,void 0,void 0,{trigger:"rangeSelectorInput"}))}var n=this.chart,r=this.div,o=this.inputGroup,a=this,h=n.renderer.style||{},d=n.renderer,u=n.options.rangeSelector,f="min"===t,m=s.lang[f?"rangeSelectorFrom":"rangeSelectorTo"]||"";m=d.label(m,0).addClass("highcharts-range-label").attr({padding:m?2:0,height:m?u.inputBoxHeight:0}).add(o),d=d.label("",0).addClass("highcharts-range-input").attr({padding:2,width:u.inputBoxWidth,height:u.inputBoxHeight,"text-align":"center"}).on("click",function(){a.showInput(t),a[t+"Input"].focus()}),n.styledMode||d.attr({stroke:u.inputBoxBorderColor,"stroke-width":1}),d.add(o);var v=l("input",{name:t,className:"highcharts-range-selector"},void 0,r);v.setAttribute("type",function(t){if(-1!==t.indexOf("%L"))return"text";var e="aAdewbBmoyY".split("").some(function(e){return-1!==t.indexOf("%"+e)}),i="HkIlMS".split("").some(function(e){return-1!==t.indexOf("%"+e)});return e&&i?"datetime-local":e?"date":i?"time":"text"}(u.inputDateFormat||"%b %e, %Y")),n.styledMode||(m.css(y(h,u.labelStyle)),d.css(y({color:"#333333"},h,u.inputStyle)),c(v,p({position:"absolute",border:0,boxShadow:"0 0 15px rgba(0,0,0,0.3)",width:"1px",height:"1px",padding:0,textAlign:"center",fontSize:h.fontSize,fontFamily:h.fontFamily,top:"-9999em"},u.inputStyle))),v.onfocus=function(){a.showInput(t)},v.onblur=function(){v===i.doc.activeElement&&e(),a.hideInput(t),a.setInputValue(t),v.blur()};var b=!1;return v.onchange=function(){b||(e(),a.hideInput(t),v.blur())},v.onkeypress=function(t){13===t.keyCode&&e()},v.onkeydown=function(t){b=!0,38!==t.keyCode&&40!==t.keyCode||e()},v.onkeyup=function(){b=!1},{dateBox:d,input:v,label:m}},e.prototype.getPosition=function(){var t=this.chart,e=t.options.rangeSelector;return{buttonTop:(t="top"===e.verticalAlign?t.plotTop-t.axisOffset[0]:0)+e.buttonPosition.y,inputTop:t+e.inputPosition.y-10}}
1,e.prototype.getYTDExtremes=function(t,e,i){var n=this.chart.time,r=new n.Date(t),o=n.get("FullYear",r);return i=i?n.Date.UTC(o,0,1):+new n.Date(o,0,1),e=Math.max(e,i),r=r.getTime(),{max:Math.min(t||r,r),min:e}},e.prototype.render=function(t,e){var i=this.chart,n=i.renderer,r=i.container,o=i.options,s=o.rangeSelector,a=x(o.chart.style&&o.chart.style.zIndex,0)+1;if(o=s.inputEnabled,!1!==s.enabled){if(this.rendered||(this.group=n.g("range-selector-group").attr({zIndex:7}).add(),this.div=l("div",void 0,{position:"relative",height:0,zIndex:a}),this.buttonOptions.length&&this.renderButtons(),r.parentNode&&r.parentNode.insertBefore(this.div,r),o&&(this.inputGroup=n.g("input-group").add(this.group),n=this.drawInput("min"),this.minDateBox=n.dateBox,this.minLabel=n.label,this.minInput=n.input,n=this.drawInput("max"),this.maxDateBox=n.dateBox,this.maxLabel=n.label,this.maxInput=n.input)),o&&(this.setInputValue("min",t),this.setInputValue("max",e),t=i.scroller&&i.scroller.getUnionExtremes()||i.xAxis[0]||{},h(t.dataMin)&&h(t.dataMax)&&(i=i.xAxis[0].minRange||0,this.setInputExtremes("min",t.dataMin,Math.min(t.dataMax,this.getInputValue("max"))-i),this.setInputExtremes("max",Math.max(t.dataMin,this.getInputValue("min"))+i,t.dataMax)),this.inputGroup)){var c=0;[this.minLabel,this.minDateBox,this.maxLabel,this.maxDateBox].forEach(function(t){if(t){var e=t.getBBox().width;e&&(t.attr({x:c}),c+=e+s.inputSpacing)}})}this.alignElements(),this.rendered=!0}},e.prototype.renderButtons=function(){var t=this,e=this.buttons,n=this.options,r=s.lang,o=this.chart.renderer,c=y(n.buttonTheme),h=c&&c.states,d=c.width||28;delete c.width,delete c.states,this.buttonGroup=o.g("range-selector-buttons").add(this.group);var u=this.dropdown=l("select",void 0,{position:"absolute",width:"1px",height:"1px",padding:0,border:0,top:"-9999em",cursor:"pointer",opacity:1e-4},this.div);a(u,"touchstart",function(){u.style.fontSize="16px"}),[[i.isMS?"mouseover":"mouseenter"],[i.isMS?"mouseout":"mouseleave"],["change","click"]].forEach(function(i){var n=i[0],r=i[1];a(u,n,function(){var i=e[t.currentButtonIndex()];i&&m(i.element,r||n)})}),this.zoomText=o.label(r&&r.rangeSelectorZoom||"",0).attr({padding:n.buttonTheme.padding,height:n.buttonTheme.height,paddingLeft:0,paddingRight:0}).add(this.buttonGroup),this.chart.styledMode||(this.zoomText.css(n.labelStyle),c["stroke-width"]=x(c["stroke-width"],0)),l("option",{textContent:this.zoomText.textStr,disabled:!0},void 0,u),this.buttonOptions.forEach(function(i,n){l("option",{textContent:i.title||i.text},void 0,u),e[n]=o.button(i.text,0,0,function(e){var r,o=i.events&&i.events.click;o&&(r=o.call(i,e)),!1!==r&&t.clickButton(n),t.isActive=!0},c,h&&h.hover,h&&h.select,h&&h.disabled).attr({"text-align":"center",width:d}).add(t.buttonGroup),i.title&&e[n].attr("title",i.title)})},e.prototype.alignElements=function(){var t=this,e=this.buttonGroup,i=this.buttons,n=this.chart,r=this.group,o=this.inputGroup,s=this.options,a=this.zoomText,l=n.options,c=l.exporting&&!1!==l.exporting.enabled&&l.navigation&&l.navigation.buttonOptions;l=s.buttonPosition;var h=s.inputPosition,d=s.verticalAlign,u=function(e,i){return c&&t.titleCollision(n)&&"top"===d&&"right"===i.align&&i.y-e.getBBox().height-12<(c.y||0)+(c.height||0)+n.spacing[0]?-40:0},p=n.plotLeft;if(r&&l&&h){var f=l.x-n.spacing[3];if(e){if(this.positionButtons(),!this.initialButtonGroupWidth){var m=0;a&&(m+=a.getBBox().width+5),i.forEach(function(t,e){m+=t.width,e!==i.length-1&&(m+=s.buttonSpacing)}),this.initialButtonGroupWidth=m}p-=n.spacing[3],this.updateButtonStates(),a=u(e,l),this.alignButtonGroup(a),r.placed=e.placed=n.hasLoaded}e=0,o&&(e=u(o,h),"left"===h.align?f=p:"right"===h.align&&(f=-Math.max(n.axisOffset[1],-e)),o.align({y:h.y,width:o.getBBox().width,align:h.align,x:h.x+f-2},!0,n.spacingBox),o.placed=n.hasLoaded),this.handleCollision(e),r.align({verticalAlign:d},!0,n.spacingBox),o=r.alignAttr.translateY,e=r.getBBox().height+20,u=0,"bottom"===d&&(u=o-(e=e+(u=(u=n.legend&&n.legend.options)&&"bottom"===u.verticalAlign&&u.enabled&&!u.floating?n.legend.legendHeight+x(u.margin,10):0)-20)-(s.floating?0:s.y)-(n.titleOffset?n.titleOffset[2]:0)-10),"top"===d?(s.floating&&(u=0),n.titleOffset&&n.titleOffset[0]&&(u=n.titleOffset[0]),u+=n.margin[0]-n.spacing[0]||0):"middle"===d&&(h.y===l.y?u=o:(h.y||l.y)&&(u=0>h.y||0>l.y?u-Math.min(h.y,l.y):o-e)),r.translate(s.x,s.y+Math.floor(u)),l=this.minInput,h=this.maxInput,o=this.dropdown,s.inputEnabled&&l&&h&&(l.style.marginTop=r.translateY+"px",h.style.marginTop=r.translateY+"px"),o&&(o.style.marginTop=r.translateY+"px")}},e.prototype.alignButtonGroup=function(t,e){var i=this.chart,n=this.buttonGroup,r=this.options.buttonPosition,o=i.plotLeft-i.spacing[3],s=r.x-i.spacing[3];"right"===r.align?s+=t-o:"center"===r.align&&(s-=o/2),n&&n.align({y:r.y,width:x(e,this.initialButtonGroupWidth),align:r.align,x:s},!0,i.spacingBox)},e.prototype.positionButtons=function(){var t=this.buttons,e=this.chart,i=this.options,n=this.zoomText,r=e.hasLoaded?"animate":"attr",o=i.buttonPosition,s=e.plotLeft,a=s;
1n&&"hidden"!==n.visibility&&(n[r]({x:x(s+o.x,s)}),a+=o.x+n.getBBox().width+5),this.buttonOptions.forEach(function(e,n){"hidden"!==t[n].visibility?(t[n][r]({x:a}),a+=t[n].width+i.buttonSpacing):t[n][r]({x:s})})},e.prototype.handleCollision=function(t){var e=this,i=this.chart,n=this.buttonGroup,r=this.inputGroup,o=this.options,s=o.buttonPosition,a=o.dropdown,l=o.inputPosition;o=function(){var t=0;return e.buttons.forEach(function(e){(e=e.getBBox()).width>t&&(t=e.width)}),t};var c=function(e){if(r&&n){var i=r.alignAttr.translateX+r.alignOptions.x-t+r.getBBox().x+2,o=r.alignOptions.width,a=n.alignAttr.translateX+n.getBBox().x;return a+e>i&&i+o>a&&s.y<l.y+r.getBBox().height}return!1},h=function(){r&&n&&r.attr({translateX:r.alignAttr.translateX+(i.axisOffset[1]>=-t?0:-t),translateY:r.alignAttr.translateY+n.getBBox().height+10})};if(n){if("always"===a)return this.collapseButtons(t),void(c(o())&&h());"never"===a&&this.expandButtons()}r&&n?l.align===s.align||c(this.initialButtonGroupWidth+20)?"responsive"===a?(this.collapseButtons(t),c(o())&&h()):h():"responsive"===a&&this.expandButtons():n&&"responsive"===a&&(this.initialButtonGroupWidth>i.plotWidth?this.collapseButtons(t):this.expandButtons())},e.prototype.collapseButtons=function(t){var e=this.buttons,i=this.buttonOptions,n=this.chart,r=this.dropdown,o=this.options,s=this.zoomText,a=n.userOptions.rangeSelector&&n.userOptions.rangeSelector.buttonTheme||{},l=function(t){return{text:t?t+" ▾":"▾",width:"auto",paddingLeft:x(o.buttonTheme.paddingLeft,a.padding,8),paddingRight:x(o.buttonTheme.paddingRight,a.padding,8)}};s&&s.hide();var c=!1;i.forEach(function(t,i){2!==(i=e[i]).state?i.hide():(i.show(),i.attr(l(t.text)),c=!0)}),c||(r&&(r.selectedIndex=0),e[0].show(),e[0].attr(l(this.zoomText&&this.zoomText.textStr))),i=o.buttonPosition.align,this.positionButtons(),"right"!==i&&"center"!==i||this.alignButtonGroup(t,e[this.currentButtonIndex()].getBBox().width),this.showDropdown()},e.prototype.expandButtons=function(){var t=this.buttons,e=this.buttonOptions,i=this.options,n=this.zoomText;this.hideDropdown(),n&&n.show(),e.forEach(function(e,n){(n=t[n]).show(),n.attr({text:e.text,width:i.buttonTheme.width||28,paddingLeft:x(i.buttonTheme.paddingLeft,"unset"),paddingRight:x(i.buttonTheme.paddingRight,"unset")}),2>n.state&&n.setState(0)}),this.positionButtons()},e.prototype.currentButtonIndex=function(){var t=this.dropdown;return t&&0<t.selectedIndex?t.selectedIndex-1:0},e.prototype.showDropdown=function(){var t=this.buttonGroup,e=this.buttons,i=this.chart,n=this.dropdown;if(t&&n){var r=t.translateX;t=t.translateY,e=e[this.currentButtonIndex()].getBBox(),c(n,{left:i.plotLeft+r+"px",top:t+.5+"px",width:e.width+"px",height:e.height+"px"}),this.hasVisibleDropdown=!0}},e.prototype.hideDropdown=function(){var t=this.dropdown;t&&(c(t,{top:"-9999em",width:"1px",height:"1px"}),this.hasVisibleDropdown=!1)},e.prototype.getHeight=function(){var t=this.options,e=this.group,i=t.y,n=t.buttonPosition.y,r=t.inputPosition.y;return t.height?t.height:(this.alignElements(),t=e?e.getBBox(!0).height+13+i:0,e=Math.min(r,n),(0>r&&0>n||0<r&&0<n)&&(t+=Math.abs(e)),t)},e.prototype.titleCollision=function(t){return!(t.options.title.text||t.options.subtitle.text)},e.prototype.update=function(t){var e=this.chart;y(!0,e.options.rangeSelector,t),this.destroy(),this.init(e),this.render()},e.prototype.destroy=function(){var t=this,i=t.minInput,n=t.maxInput;t.eventsToUnbind&&(t.eventsToUnbind.forEach(function(t){return t()}),t.eventsToUnbind=void 0),d(t.buttons),i&&(i.onfocus=i.onblur=i.onchange=null),n&&(n.onfocus=n.onblur=n.onchange=null),v(t,function(i,n){i&&"chart"!==n&&(i instanceof r?i.destroy():i instanceof window.HTMLElement&&u(i)),i!==e.prototype[n]&&(t[n]=null)},this)},e}();if(C.prototype.defaultButtons=[{type:"month",count:1,text:"1m",title:"View 1 month"},{type:"month",count:3,text:"3m",title:"View 3 months"},{type:"month",count:6,text:"6m",title:"View 6 months"},{type:"ytd",text:"YTD",title:"View year to date"},{type:"year",count:1,text:"1y",title:"View 1 year"},{type:"all",text:"All",title:"View all"}],C.prototype.inputTypeFormats={"datetime-local":"%Y-%m-%dT%H:%M:%S",date:"%Y-%m-%d",time:"%H:%M:%S"},t.prototype.minFromRange=function(){var t=this.range,e=t.type,i=this.max,n=this.chart.time,r=function(t,i){var r="year"===e?"FullYear":"Month",o=new n.Date(t),s=n.get(r,o);return n.set(r,o,s+i),s===n.get(r,o)&&n.set("Date",o,0),o.getTime()-t};
1if(g(t))var o=i-t,s=t;else o=i+r(i,-t.count),this.chart&&(this.chart.fixedRange=i-o);var a=x(this.dataMin,Number.MIN_VALUE);return g(o)||(o=a),o<=a&&(o=a,void 0===s&&(s=r(o,t.count)),this.newMax=Math.min(o+s,this.dataMax)),g(i)||(o=void 0),o},!i.RangeSelector){var S=[],_=function(t){function e(){s&&(i=t.xAxis[0].getExtremes(),n=t.legend,o=s&&s.options.verticalAlign,g(i.min)&&s.render(i.min,i.max),n.display&&"top"===o&&o===n.options.verticalAlign&&((r=y(t.spacingBox)).y="vertical"===n.options.layout?t.plotTop:r.y+s.getHeight(),n.group.placed=!1,n.align(r)))}var i,n,r,o,s=t.rangeSelector;s&&(f(S,function(e){return e[0]===t})||S.push([t,[a(t.xAxis[0],"afterSetExtremes",function(t){s&&s.render(t.min,t.max)}),a(t,"redraw",e)]]),e())};a(e,"afterGetContainer",function(){this.options.rangeSelector&&this.options.rangeSelector.enabled&&(this.rangeSelector=new C(this))}),a(e,"beforeRender",function(){var t=this.axes,e=this.rangeSelector;e&&(g(e.deferredYTDClick)&&(e.clickButton(e.deferredYTDClick),delete e.deferredYTDClick),t.forEach(function(t){t.updateNames(),t.setScale()}),this.getAxisMargins(),e.render(),t=e.options.verticalAlign,e.options.floating||("bottom"===t?this.extraBottomMargin=!0:"middle"!==t&&(this.extraTopMargin=!0)))}),a(e,"update",function(t){var e=t.options.rangeSelector;t=this.rangeSelector;var i=this.extraBottomMargin,n=this.extraTopMargin;e&&e.enabled&&!h(t)&&this.options.rangeSelector&&(this.options.rangeSelector.enabled=!0,this.rangeSelector=t=new C(this)),this.extraTopMargin=this.extraBottomMargin=!1,t&&(_(this),e=e&&e.verticalAlign||t.options&&t.options.verticalAlign,t.options.floating||("bottom"===e?this.extraBottomMargin=!0:"middle"!==e&&(this.extraTopMargin=!0)),this.extraBottomMargin!==i||this.extraTopMargin!==n)&&(this.isDirtyBox=!0)}),a(e,"render",function(){var t=this.rangeSelector;t&&!t.options.floating&&(t.render(),"bottom"===(t=t.options.verticalAlign)?this.extraBottomMargin=!0:"middle"!==t&&(this.extraTopMargin=!0))}),a(e,"getMargins",function(){var t=this.rangeSelector;t&&(t=t.getHeight(),this.extraTopMargin&&(this.plotTop+=t),this.extraBottomMargin&&(this.marginBottom+=t))}),e.prototype.callbacks.push(_),a(e,"destroy",function(){for(var t=0;t<S.length;t++){var e=S[t];
1if(e[0]===this){e[1].forEach(function(t){return t()}),S.splice(t,1);break}}}),i.RangeSelector=C}return C}),e(t,"Accessibility/Components/RangeSelectorComponent.js",[t["Extensions/RangeSelector.js"],t["Accessibility/AccessibilityComponent.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Utils/Announcer.js"],t["Accessibility/KeyboardNavigationHandler.js"],t["Core/Utilities.js"]],function(t,e,i,n,r,o){var s=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),a=i.unhideChartElementFromAT,l=i.getAxisRangeDescription,c=o.addEvent,h=o.attr;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.announcer=void 0,e}return s(e,t),e.prototype.init=function(){this.announcer=new n(this.chart,"polite")},e.prototype.onChartUpdate=function(){var t=this.chart,e=this,i=t.rangeSelector;i&&(this.updateSelectorVisibility(),this.setDropdownAttrs(),i.buttons&&i.buttons.length&&i.buttons.forEach(function(t){e.setRangeButtonAttrs(t)}),i.maxInput&&i.minInput&&["minInput","maxInput"].forEach(function(n,r){(n=i[n])&&(a(t,n),e.setRangeInputAttrs(n,"accessibility.rangeSelector."+(r?"max":"min")+"InputLabel"))}))},e.prototype.updateSelectorVisibility=function(){var t=this.chart,e=t.rangeSelector,i=e&&e.dropdown,n=e&&e.buttons||[];e&&e.hasVisibleDropdown&&i?(a(t,i),n.forEach(function(t){return t.element.setAttribute("aria-hidden",!0)}
1)):(i&&i.setAttribute("aria-hidden",!0),n.forEach(function(e){return a(t,e.element)}))},e.prototype.setDropdownAttrs=function(){var t=this.chart,e=t.rangeSelector&&t.rangeSelector.dropdown;e&&(t=t.langFormat("accessibility.rangeSelector.dropdownLabel",{rangeTitle:t.options.lang.rangeSelectorZoom}),e.setAttribute("aria-label",t),e.setAttribute("tabindex",-1))},e.prototype.setRangeButtonAttrs=function(t){h(t.element,{tabindex:-1,role:"button"})},e.prototype.setRangeInputAttrs=function(t,e){var i=this.chart;h(t,{tabindex:-1,"aria-label":i.langFormat(e,{chart:i})})},e.prototype.onButtonNavKbdArrowKey=function(t,e){var i=t.response,n=this.keyCodes,r=this.chart,o=r.options.accessibility.keyboardNavigation.wrapAround;return e=e===n.left||e===n.up?-1:1,r.highlightRangeSelectorButton(r.highlightedRangeSelectorItemIx+e)?i.success:o?(t.init(e),i.success):i[0<e?"next":"prev"]},e.prototype.onButtonNavKbdClick=function(t){t=t.response;var e=this.chart;return 3!==e.oldRangeSelectorItemState&&this.fakeClickEvent(e.rangeSelector.buttons[e.highlightedRangeSelectorItemIx].element),t.success},e.prototype.onAfterBtnClick=function(){var t=this.chart,e=l(t.xAxis[0]);(t=t.langFormat("accessibility.rangeSelector.clickButtonAnnouncement",{chart:t,axisRangeDescription:e}))&&this.announcer.announce(t)},e.prototype.onInputKbdMove=function(t){var e=this.chart,i=e.rangeSelector,n=e.highlightedInputRangeIx=(e.highlightedInputRangeIx||0)+t;1<n||0>n?e.accessibility&&(e.accessibility.keyboardNavigation.tabindexContainer.focus(),e.accessibility.keyboardNavigation[0>t?"prev":"next"]()):i&&(t=i[n?"maxDateBox":"minDateBox"],i=i[n?"maxInput":"minInput"],t&&i&&e.setFocusToElement(t,i))},e.prototype.onInputNavInit=function(t){var e=this,i=this,n=this.chart,r=0<t?0:1,o=n.rangeSelector,s=o&&o[r?"maxDateBox":"minDateBox"];if(t=o&&o.minInput,o=o&&o.maxInput,n.highlightedInputRangeIx=r,s&&t&&o){n.setFocusToElement(s,r?o:t),this.removeInputKeydownHandler&&this.removeInputKeydownHandler(),n=function(t){(t.which||t.keyCode)===e.keyCodes.tab&&(t.preventDefault(),t.stopPropagation(),i.onInputKbdMove(t.shiftKey?-1:1))};var a=c(t,"keydown",n),l=c(o,"keydown",n);this.removeInputKeydownHandler=function(){a(),l()}}},e.prototype.onInputNavTerminate=function(){var t=this.chart.rangeSelector||{};t.maxInput&&t.hideInput("max"),t.minInput&&t.hideInput("min"),this.removeInputKeydownHandler&&(this.removeInputKeydownHandler(),delete this.removeInputKeydownHandler)},e.prototype.initDropdownNav=function(){var t=this,e=this.chart,i=e.rangeSelector,n=i&&i.dropdown;i&&n&&(e.setFocusToElement(i.buttonGroup,n),this.removeDropdownKeydownHandler&&this.removeDropdownKeydownHandler(),this.removeDropdownKeydownHandler=c(n,"keydown",function(i){var n=e.accessibility;(i.which||i.keyCode)===t.keyCodes.tab&&(i.preventDefault(),i.stopPropagation(),n&&(n.keyboardNavigation.tabindexContainer.focus(),n.keyboardNavigation[i.shiftKey?"prev":"next"]()))}))},e.prototype.getRangeSelectorButtonNavigation=function(){var t=this.chart,e=this.keyCodes,i=this;return new r(t,{keyCodeMap:[[[e.left,e.right,e.up,e.down],function(t){return i.onButtonNavKbdArrowKey(this,t)}],[[e.enter,e.space],function(){return i.onButtonNavKbdClick(this)}]],validate:function(){return!!(t.rangeSelector&&t.rangeSelector.buttons&&t.rangeSelector.buttons.length)},init:function(e){var n=t.rangeSelector;n&&n.hasVisibleDropdown?i.initDropdownNav():n&&(n=n.buttons.length-1,t.highlightRangeSelectorButton(0<e?0:n))},terminate:function(){i.removeDropdownKeydownHandler&&(i.removeDropdownKeydownHandler(),delete i.removeDropdownKeydownHandler)}})},e.prototype.getRangeSelectorInputNavigation=function(){var t=this.chart,e=this;return new r(t,{keyCodeMap:[],validate:function(){return!!(t.rangeSelector&&t.rangeSelector.inputGroup&&"hidden"!==t.rangeSelector.inputGroup.element.style.visibility&&!1!==t.options.rangeSelector.inputEnabled&&t.rangeSelector.minInput&&t.rangeSelector.maxInput)},init:function(t){e.onInputNavInit(t)},terminate:function(){e.onInputNavTerminate()}})},e.prototype.getKeyboardNavigation=function(){return[this.getRangeSelectorButtonNavigation(),this.getRangeSelectorInputNavigation()]},e.prototype.destroy=function(){this.removeDropdownKeydownHandler&&this.removeDropdownKeydownHandler(),this.removeInputKeydownHandler&&this.removeInputKeydownHandler(),this.announcer&&this.announcer.destroy()},e}(e),function(e){function i(t){var e=this.rangeSelector&&this.rangeSelector.buttons||[],i=this.highlightedRangeSelectorItemIx,n=this.rangeSelector&&this.rangeSelector.selected;return void 0!==i&&e[i]&&i!==n&&e[i].setState(this.oldRangeSelectorItemState||0),this.highlightedRangeSelectorItemIx=t,!!e[t]&&(this.setFocusToElement(e[t].box,e[t].element),t!==n&&(this.oldRangeSelectorItemState=e[t].state,e[t].setState(1)),!0)}function n(){var t=this.chart.accessibility;if(t&&t.components.rangeSelector)return t.components.rangeSelector.onAfterBtnClick()}
1var r=[];e.compose=function(e,o){-1===r.indexOf(e)&&(r.push(e),e.prototype.highlightRangeSelectorButton=i),-1===r.indexOf(o)&&(r.push(o),c(t,"afterBtnClick",n))}}(e||(e={})),e}),e(t,"Accessibility/Components/SeriesComponent/ForcedMarkers.js",[t["Core/Utilities.js"]],function(t){var e,i=t.addEvent,n=t.merge;return function(t){function e(t){n(!0,t,{marker:{enabled:!0,states:{normal:{opacity:0}}}})}function r(t){return t.marker.states&&t.marker.states.normal&&t.marker.states.normal.opacity}function o(){this.chart.styledMode&&(this.markerGroup&&this.markerGroup[this.a11yMarkersForced?"addClass":"removeClass"]("highcharts-a11y-markers-hidden"),this._hasPointMarkers&&this.points&&this.points.length&&this.points.forEach(function(t){t.graphic&&(t.graphic[t.hasForcedA11yMarker?"addClass":"removeClass"]("highcharts-a11y-marker-hidden"),t.graphic[!1===t.hasForcedA11yMarker?"addClass":"removeClass"]("highcharts-a11y-marker-visible"))}))}function s(t){this.resetA11yMarkerOptions=n(t.options.marker||{},this.userOptions.marker||{})}function a(){var t=this.options,i=!1!==(this.options.accessibility&&this.options.accessibility.enabled);if((i=this.chart.options.accessibility.enabled&&i)&&(i=this.chart.options.accessibility,i=this.points.length<i.series.pointDescriptionEnabledThreshold||!1===i.series.pointDescriptionEnabledThreshold),i){if(t.marker&&!1===t.marker.enabled&&(this.a11yMarkersForced=!0,e(this.options)),this._hasPointMarkers&&this.points&&this.points.length)for(t=this.points.length;t--;){var o=(i=this.points[t]).options,s=i.hasForcedA11yMarker;delete i.hasForcedA11yMarker,o.marker&&(s=s&&0===r(o),o.marker.enabled&&!s?(n(!0,o.marker,{states:{normal:{opacity:r(o)||1}}}),i.hasForcedA11yMarker=!1):!1===o.marker.enabled&&(e(o),i.hasForcedA11yMarker=!0))}}else this.a11yMarkersForced&&(delete this.a11yMarkersForced,(t=this.resetA11yMarkerOptions)&&n(!0,this.options,{marker:{enabled:t.enabled,states:{normal:{opacity:t.states&&t.states.normal&&t.states.normal.opacity}}}}))}var l=[];t.compose=function(t){-1===l.indexOf(t)&&(l.push(t),i(t,"afterSetOptions",s),i(t,"render",a),i(t,"afterRender",o))}}(e||(e={})),e}),e(t,"Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js",[t["Core/Series/Point.js"],t["Core/Series/Series.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Globals.js"],t["Core/Utilities.js"],t["Accessibility/KeyboardNavigationHandler.js"],t["Accessibility/Utils/EventProvider.js"],t["Accessibility/Utils/ChartUtilities.js"]],function(t,e,i,n,r,o,s,a){function l(t){var e=t.index,i=t.series.points,n=i.length;if(i[e]===t)return e;for(;n--;)if(i[n]===t)return n}function c(t){var e=t.chart.options.accessibility.keyboardNavigation.seriesNavigation,i=t.options.accessibility||{},n=i.keyboardNavigation;return n&&!1===n.enabled||!1===i.enabled||!1===t.options.enableMouseTracking||!t.visible||e.pointNavigationEnabledThreshold&&e.pointNavigationEnabledThreshold<=t.points.length}function h(t){var e=t.series.chart.options.accessibility,i=t.options.accessibility&&!1===t.options.accessibility.enabled;return t.isNull&&e.keyboardNavigation.seriesNavigation.skipNullPoints||!1===t.visible||!1===t.isInside||i||c(t.series)}function d(t){return delete t.highlightedPoint,t.series.reduce(function(t,e){return t||e.highlightFirstValidPoint()},!1)}var u=i.seriesTypes,p=n.doc,f=r.defined,m=r.fireEvent,g=a.getPointFromXY,y=a.getSeriesFromName,v=a.scrollToPoint;return i=function(){function i(t,e){this.keyCodes=e,this.chart=t}return i.prototype.init=function(){var i=this,n=this.chart,r=this.eventProvider=new s;r.addEvent(e,"destroy",function(){return i.onSeriesDestroy(this)}),r.addEvent(n,"afterDrilldown",function(){d(this),this.focusElement&&this.focusElement.removeFocusBorder()}),r.addEvent(n,"drilldown",function(t){var e=(t=t.point).series;i.lastDrilledDownPoint={x:t.x,y:t.y,seriesName:e?e.name:""}}),r.addEvent(n,"drillupall",function(){setTimeout(function(){i.onDrillupAll()},10)}),r.addEvent(t,"afterSetState",function(){var t=this.graphic&&this.graphic.element,e=p.activeElement,i=e&&e.getAttribute("class");i=i&&-1<i.indexOf("highcharts-a11y-proxy-button"),n.highlightedPoint===this&&e!==t&&!i&&t&&t.focus&&t.focu
1s()})},i.prototype.onDrillupAll=function(){var t,e=this.lastDrilledDownPoint,i=this.chart,n=e&&y(i,e.seriesName);e&&n&&f(e.x)&&f(e.y)&&(t=g(n,e.x,e.y)),i.container&&i.container.focus(),t&&t.highlight&&t.highlight(),i.focusElement&&i.focusElement.removeFocusBorder()},i.prototype.getKeyboardNavigationHandler=function(){var t=this,e=this.keyCodes,i=this.chart,n=i.inverted;return new o(i,{keyCodeMap:[[n?[e.up,e.down]:[e.left,e.right],function(e){return t.onKbdSideways(this,e)}],[n?[e.left,e.right]:[e.up,e.down],function(e){return t.onKbdVertical(this,e)}],[[e.enter,e.space],function(t,e){return(t=i.highlightedPoint)&&(e.point=t,m(t.series,"click",e),t.firePointEvent("click")),this.response.success}],[[e.home],function(){return d(i),this.response.success}],[[e.end],function(){for(var t=i.series.length;t--&&(i.highlightedPoint=i.series[t].points[i.series[t].points.length-1],!i.series[t].highlightFirstValidPoint()););return this.response.success}],[[e.pageDown,e.pageUp],function(t){return i.highlightAdjacentSeries(t===e.pageDown),this.response.success}]],init:function(){return d(i),this.response.success},terminate:function(){return t.onHandlerTerminate()}})},i.prototype.onKbdSideways=function(t,e){var i=this.keyCodes;return this.attemptHighlightAdjacentPoint(t,e===i.right||e===i.down)},i.prototype.onKbdVertical=function(t,e){var i=this.chart,n=this.keyCodes;return e=e===n.down||e===n.right,(n=i.options.accessibility.keyboardNavigation.seriesNavigation).mode&&"serialize"===n.mode?this.attemptHighlightAdjacentPoint(t,e):(i[i.highlightedPoint&&i.highlightedPoint.series.keyboardMoveVertical?"highlightAdjacentPointVertical":"highlightAdjacentSeries"](e),t.response.success)},i.prototype.onHandlerTerminate=function(){var t=this.chart;t.tooltip&&t.tooltip.hide(0);var e=t.highlightedPoint&&t.highlightedPoint.series;e&&e.onMouseOut&&e.onMouseOut(),t.highlightedPoint&&t.highlightedPoint.onMouseOut&&t.highlightedPoint.onMouseOut(),delete t.highlightedPoint},i.prototype.attemptHighlightAdjacentPoint=function(t,e){var i=this.chart,n=i.options.accessibility.keyboardNavigation.wrapAround;return i.highlightAdjacentPoint(e)?t.response.success:n?t.init(e?1:-1):t.response[e?"next":"prev"]},i.prototype.onSeriesDestroy=function(t){var e=this.chart;e.highlightedPoint&&e.highlightedPoint.series===t&&(delete e.highlightedPoint,e.focusElement&&e.focusElement.removeFocusBorder())},i.prototype.destroy=function(){this.eventProvider.removeAddedEvents()},i}(),function(t){function e(t){var e=this.series,i=this.highlightedPoint,n=i&&l(i)||0,r=i&&i.series.points||[],o=this.series&&this.series[this.series.length-1];if(o=o&&o.points&&o.points[o.points.length-1],!e[0]||!e[0].points)return!1;if(i){if(e=e[i.series.index+(t?1:-1)],!(n=r[n+(t?1:-1)])&&e&&(n=e.points[t?0:e.points.length-1]),!n)return!1}else n=t?e[0].points[0]:o;return h(n)?(c(e=n.series)?this.highlightedPoint=t?e.points[e.points.length-1]:e.points[0]:this.highlightedPoint=n,this.highlightAdjacentPoint(t)):n.highlight()}function i(t){var e,i=this.highlightedPoint,n=1/0;return!(!f(i.plotX)||!f(i.plotY))&&(this.series.forEach(function(r){c(r)||r.points.forEach(function(o){if(f(o.plotY)&&f(o.plotX)&&o!==i){var s=o.plotY-i.plotY,a=Math.abs(o.plotX-i.plotX);a=Math.abs(s)*Math.abs(s)+a*a*4,r.yAxis&&r.yAxis.reversed&&(s*=-1),!(0>=s&&t||0<=s&&!t||5>a||h(o))&&a<n&&(n=a,e=o)}})}),!!e&&e.highlight())}function n(t){var e=this.highlightedPoint,i=this.series&&this.series[this.series.length-1],n=i&&i.points&&i.points[i.points.length-1];return this.highlightedPoint?!!(i=this.series[e.series.index+(t?-1:1)])&&(!!(n=r(e,i,4))&&(c(i)?(n.highlight(),(t=this.highlightAdjacentSeries(t))||(e.highlight(),!1)):(n.highlight(),n.series.highlightFirstValidPoint()))):(i=t?this.series&&this.series[0]:i,!!(n=t?i&&i.points&&i.points[0]:n)&&n.highlight())}function r(t,e,i,n){var r=1/0,o=e.points.length,s=function(t){return!(f(t.plotX)&&f(t.plotY))};if(!s(t)){for(;o--;){var a=e.points[o];if(!s(a)&&(a=(t.plotX-a.plotX)*(t.plotX-a.plotX)*(i||1)+(t.plotY-a.plotY)*(t.plotY-a.plotY)*(n||1))<r){r=a;var l=o}}return f(l)?e.points[l]:void 0}}function o(){var t=this.series.chart;return this.isNull?t.tooltip&&t.tooltip.hide(0):this.onMouseOver(),v(this),this.graphic&&t.setFocusToElement(this.graphic),t.highlightedPoint=this,this}function s(){var t=this.chart.highlightedPoint,e=(t&&t.series)===this?l(t):0,i=(t=this.points).length;if(t&&i){for(var n=e;n<i;++n)if(!h(t[n]))return t[n].highlight();for(;0<=e;--e)if(!h(t[e]))return t[e].highlight()}return!1}var a=[];t.compose=function(t,r,l){-1===a.indexOf(t)&&(a.push(t),(t=t.prototype).highlightAdjacentPoint=e,t.highlightAdjacentPointVertical=i,t.highlightAdjacentSeries=n),-1===a.indexOf(r)&&(a.push(r),r.prototype.highlight=o
1),-1===a.indexOf(l)&&(a.push(l),(r=l.prototype).keyboardMoveVertical=!0,["column","gantt","pie"].forEach(function(t){u[t]&&(u[t].prototype.keyboardMoveVertical=!1)}),r.highlightFirstValidPoint=s)}}(i||(i={})),i}),e(t,"Accessibility/Components/SeriesComponent/SeriesComponent.js",[t["Accessibility/AccessibilityComponent.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Components/SeriesComponent/ForcedMarkers.js"],t["Accessibility/Components/SeriesComponent/NewDataAnnouncer.js"],t["Accessibility/Components/SeriesComponent/SeriesDescriber.js"],t["Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js"],t["Core/Tooltip.js"]],function(t,e,i,n,r,o,s){var a=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),l=e.hideSeriesFromAT,c=r.describeSeries;return function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.compose=function(t,e,r){n.compose(r),i.compose(r),o.compose(t,e,r)},e.prototype.init=function(){this.newDataAnnouncer=new n(this.chart),this.newDataAnnouncer.init(),this.keyboardNavigation=new o(this.chart,this.keyCodes),this.keyboardNavigation.init(),this.hideTooltipFromATWhenShown(),this.hideSeriesLabelsFromATWhenShown()},e.prototype.hideTooltipFromATWhenShown=function(){var t=this;this.addEvent(s,"refresh",function(){this.chart===t.chart&&this.label&&this.label.element&&this.label.element.setAttribute("aria-hidden",!0)})},e.prototype.hideSeriesLabelsFromATWhenShown=function(){this.addEvent(this.chart,"afterDrawSeriesLabels",function(){this.series.forEach(function(t){t.labelBySeries&&t.labelBySeries.attr("aria-hidden",!0)})})},e.prototype.onChartRender=function(){this.chart.series.forEach(function(t){!1!==(t.options.accessibility&&t.options.accessibility.enabled)&&t.visible?c(t):l(t)})},e.prototype.getKeyboardNavigation=function(){return this.keyboardNavigation.getKeyboardNavigationHandler()},e.prototype.destroy=function(){this.newDataAnnouncer.destroy(),this.keyboardNavigation.destroy()},e}(t)}),e(t,"Accessibility/Components/ZoomComponent.js",[t["Accessibility/AccessibilityComponent.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Core/Globals.js"],t["Accessibility/KeyboardNavigationHandler.js"],t["Core/Utilities.js"]],function(t,e,i,n,r){var o=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),s=e.unhideChartElementFromAT,a=r.attr,l=r.pick;return t=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.focusedMapNavButtonIx=-1,e}return o(e,t),e.prototype.init=function(){var t=this,e=this.chart;this.proxyProvider.addGroup("zoom","div"),["afterShowResetZoom","afterDrilldown","drillupall"].forEach(function(i){t.addEvent(e,i,function(){t.updateProxyOverlays()})})},e.prototype.onChartUpdate=function(){var t=this.chart,e=this;t.mapNavButtons&&t.mapNavButtons.forEach(function(i,n){s(t,i.element),e.setMapNavButtonAttrs(i.element,"accessibility.zoom.mapZoom"+(n?"Out":"In"))})},e.prototype.setMapNavButtonAttrs=function(t,e){var i=this.chart;e=i.langFormat(e,{chart:i}),a(t,{tabindex:-1,role:"button","aria-label":e})},e.prototype.onChartRender=function(){this.updateProxyOverlays()},e.prototype.updateProxyOverlays=function(){var t=this.chart;this.proxyProvider.clearGroup("zoom"),t.resetZoomButton&&this.createZoomProxyButton(t.resetZoomButton,"resetZoomProxyButton",t.langFormat("accessibility.zoom.resetZoomButton",{chart:t})),t.drillUpButton&&this.createZoomProxyButton(t.drillUpButton,"drillUpProxyButton",t.langFormat("accessibility.drillUpButton",{chart:t,buttonText:t.getDrilldownBackText()}))}
1,e.prototype.createZoomProxyButton=function(t,e,i){this[e]=this.proxyProvider.addProxyElement("zoom",{click:t},{"aria-label":i,tabindex:-1})},e.prototype.getMapZoomNavigation=function(){var t=this.keyCodes,e=this.chart,i=this;return new n(e,{keyCodeMap:[[[t.up,t.down,t.left,t.right],function(t){return i.onMapKbdArrow(this,t)}],[[t.tab],function(t,e){return i.onMapKbdTab(this,e)}],[[t.space,t.enter],function(){return i.onMapKbdClick(this)}]],validate:function(){return!!(e.mapZoom&&e.mapNavButtons&&e.mapNavButtons.length)},init:function(t){return i.onMapNavInit(t)}})},e.prototype.onMapKbdArrow=function(t,e){var i=this.keyCodes;return this.chart[e===i.up||e===i.down?"yAxis":"xAxis"][0].panStep(e===i.left||e===i.up?-1:1),t.response.success},e.prototype.onMapKbdTab=function(t,e){var i=this.chart;t=t.response;var n=(e=e.shiftKey)&&!this.focusedMapNavButtonIx||!e&&this.focusedMapNavButtonIx;return i.mapNavButtons[this.focusedMapNavButtonIx].setState(0),n?(i.mapZoom(),t[e?"prev":"next"]):(this.focusedMapNavButtonIx+=e?-1:1,e=i.mapNavButtons[this.focusedMapNavButtonIx],i.setFocusToElement(e.box,e.element),e.setState(2),t.success)},e.prototype.onMapKbdClick=function(t){return this.fakeClickEvent(this.chart.mapNavButtons[this.focusedMapNavButtonIx].element),t.response.success},e.prototype.onMapNavInit=function(t){var e=this.chart,i=e.mapNavButtons[0],n=e.mapNavButtons[1];i=0<t?i:n,e.setFocusToElement(i.box,i.element),i.setState(2),this.focusedMapNavButtonIx=0<t?0:1},e.prototype.simpleButtonNavigation=function(t,e,i){var r=this.keyCodes,o=this,s=this.chart;return new n(s,{keyCodeMap:[[[r.tab,r.up,r.down,r.left,r.right],function(t,e){return this.response[t===r.tab&&e.shiftKey||t===r.left||t===r.up?"prev":"next"]}],[[r.space,r.enter],function(){var t=i(this,s);return l(t,this.response.success)}]],validate:function(){return s[t]&&s[t].box&&o[e].buttonElement},init:function(){s.setFocusToElement(s[t].box,o[e].buttonElement)}})},e.prototype.getKeyboardNavigation=function(){return[this.simpleButtonNavigation("resetZoomButton","resetZoomProxyButton",function(t,e){e.zoomOut()}),this.simpleButtonNavigation("drillUpButton","drillUpProxyButton",function(t,e){return e.drillUp(),t.response.prev}),this.getMapZoomNavigation()]},e}(t),function(t){function e(t,e){var i=e||3,n=((e=this.getExtremes()).max-e.min)/i*t,r=(i=e.max+n)-(n=e.min+n);0>t&&n<e.dataMin?i=(n=e.dataMin)+r:0<t&&i>e.dataMax&&(n=(i=e.dataMax)-r),this.setExtremes(n,i)}t.composedClasses=[],t.compose=function(i){-1===t.composedClasses.indexOf(i)&&(t.composedClasses.push(i),i.prototype.panStep=e)}}(t||(t={})),t}),e(t,"Accessibility/HighContrastMode.js",[t["Core/Globals.js"]],function(t){var e=t.doc,i=t.isMS,n=t.win;return{isHighContrastModeActive:function(){var t=/(Edg)/.test(n.navigator.userAgent);if(n.matchMedia&&t)return n.matchMedia("(-ms-high-contrast: active)").matches;if(i&&n.getComputedStyle){(t=e.createElement("div")).style.backgroundImage="url(data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==)",e.body.appendChild(t);var r=(t.currentStyle||n.getComputedStyle(t)).backgroundImage;return e.body.removeChild(t),"none"===r}return!1},setHighContrastTheme:function(t){t.highContrastModeActive=!0;var e=t.options.accessibility.highContrastTheme;t.update(e,!1),t.series.forEach(function(t){var i=e.plotOptions[t.type]||{};t.update({color:i.color||"windowText",colors:[i.color||"windowText"],borderColor:i.borderColor||"window"}),t.points.forEach(function(t){t.options&&t.options.color&&t.update({color:i.color||"windowText",borderColor:i.borderColor||"window"},!1)})}),t.redraw()}}}),e(t,"Accessibility/HighContrastTheme.js",[],function(){return{chart:{backgroundColor:"window"},title:{style:{color:"windowText"}},subtitle:{style:{color:"windowText"}},colorAxis:{minColor:"windowText",maxColor:"windowText",stops:[]},colors:["windowText"],xAxis:{gridLineColor:"windowText",labels:{style:{color:"windowText"}},lineColor:"windowText",minorGridLineColor:"windowText",tickColor:"windowText",title:{style:{color:"windowText"}}},yAxis:{gridLineColor:"windowText",labels:{style:{color:"windowText"}},lineColor:"windowText",minorGridLineColor:"windowText",tickColor:"windowText",title:{style:{color:"windowText"}}},tooltip:{backgroundColor:"window",borderColor:"windowText",style:{color:"windowText"}}
1,plotOptions:{series:{lineColor:"windowText",fillColor:"window",borderColor:"windowText",edgeColor:"windowText",borderWidth:1,dataLabels:{connectorColor:"windowText",color:"windowText",style:{color:"windowText",textOutline:"none"}},marker:{lineColor:"windowText",fillColor:"windowText"}},pie:{color:"window",colors:["window"],borderColor:"windowText",borderWidth:1},boxplot:{fillColor:"window"},candlestick:{lineColor:"windowText",fillColor:"window"},errorbar:{fillColor:"window"}},legend:{backgroundColor:"window",itemStyle:{color:"windowText"},itemHoverStyle:{color:"windowText"},itemHiddenStyle:{color:"#555"},title:{style:{color:"windowText"}}},credits:{style:{color:"windowText"}},labels:{style:{color:"windowText"}},drilldown:{activeAxisLabelStyle:{color:"windowText"},activeDataLabelStyle:{color:"windowText"}},navigation:{buttonOptions:{symbolStroke:"windowText",theme:{fill:"window"}}},rangeSelector:{buttonTheme:{fill:"window",stroke:"windowText",style:{color:"windowText"},states:{hover:{fill:"window",stroke:"windowText",style:{color:"windowText"}},select:{fill:"#444",stroke:"windowText",style:{color:"windowText"}}}},inputBoxBorderColor:"windowText",inputStyle:{backgroundColor:"window",color:"windowText"},labelStyle:{color:"windowText"}},navigator:{handles:{backgroundColor:"window",borderColor:"windowText"},outlineColor:"windowText",maskFill:"transparent",series:{color:"windowText",lineColor:"windowText"},xAxis:{gridLineColor:"windowText"}},scrollbar:{barBackgroundColor:"#444",barBorderColor:"windowText",buttonArrowColor:"windowText",buttonBackgroundColor:"window",buttonBorderColor:"windowText",rifleColor:"windowText",trackBackgroundColor:"window",trackBorderColor:"windowText"}}}),e(t,"Accessibility/Options/Options.js",[],function(){return{accessibility:{enabled:!0,screenReaderSection:{beforeChartFormat:"<{headingTagName}>{chartTitle}</{headingTagName}><div>{typeDescription}</div><div>{chartSubtitle}</div><div>{chartLongdesc}</div><div>{playAsSoundButton}</div><div>{viewTableButton}</div><div>{xAxisDescription}</div><div>{yAxisDescription}</div><div>{annotationsTitle}{annotationsList}</div>",afterChartFormat:"{endOfChartMarker}",axisRangeDateFormat:"%Y-%m-%d %H:%M:%S"},series:{describeSingleSeries:!1,pointDescriptionEnabledThreshold:200},point:{valueDescriptionFormat:"{index}. {xDescription}{separator}{value}."},landmarkVerbosity:"all",linkedDescription:'*[data-highcharts-chart="{index}"] + .highcharts-description',keyboardNavigation:{enabled:!0,focusBorder:{enabled:!0,hideBrowserFocusOutline:!0,style:{color:"#335cad",lineWidth:2,borderRadius:3},margin:2},order:["series","zoom","rangeSelector","legend","chartMenu"],wrapAround:!0,seriesNavigation:{skipNullPoints:!0,pointNavigationEnabledThreshold:!1}},announceNewData:{enabled:!1,minAnnounceInterval:5e3,interruptUser:!1}},legend:{accessibility:{enabled:!0,keyboardNavigation:{enabled:!0}}},exporting:{accessibility:{enabled:!0}}}}),e(t,"Accessibility/Options/LangOptions.js",[],function(){return{accessibility:{defaultChartTitle:"Chart",chartContainerLabel:"{title}. Highcharts interactive chart.",svgContainerLabel:"Interactive chart",drillUpButton:"{buttonText}",credits:"Chart credits: {creditsStr}",thousandsSep:",",svgContainerTitle:"",graphicContainerLabel:"",screenReaderSection:{beforeRegionLabel:"Chart screen reader information, {chartTitle}.",afterRegionLabel:"",annotations:{heading:"Chart annotations summary",descriptionSinglePoint:"{annotationText}. Related to {annotationPoint}",descriptionMultiplePoints:"{annotationText}. Related to {annotationPoint}{ Also related to, #each(additionalAnnotationPoints)}",descriptionNoPoints:"{annotationText}"},endOfChartMarker:"End of interactive chart."},sonification:{playAsSoundButtonText:"Play as sound, {chartTitle}",playAsSoundClickAnnouncement:"Play"},legend:{legendLabelNoTitle:"Toggle series visibility, {chartTitle}",legendLabel:"Chart legend: {legendTitle}",legendItem:"Show {itemName}"},zoom:{mapZoomIn:"Zoom chart",mapZoomOut:"Zoom out chart",resetZoomButton:"Reset zoom"},rangeSelector:{dropdownLabel:"{rangeTitle}
1",minInputLabel:"Select start date.",maxInputLabel:"Select end date.",clickButtonAnnouncement:"Viewing {axisRangeDescription}"},table:{viewAsDataTableButtonText:"View as data table, {chartTitle}",tableSummary:"Table representation of chart."},announceNewData:{newDataAnnounce:"Updated data for chart {chartTitle}",newSeriesAnnounceSingle:"New data series: {seriesDesc}",newPointAnnounceSingle:"New data point: {pointDesc}",newSeriesAnnounceMultiple:"New data series in chart {chartTitle}: {seriesDesc}",newPointAnnounceMultiple:"New data point in chart {chartTitle}: {pointDesc}"},seriesTypeDescriptions:{boxplot:"Box plot charts are typically used to display groups of statistical data. Each data point in the chart can have up to 5 values: minimum, lower quartile, median, upper quartile, and maximum.",arearange:"Arearange charts are line charts displaying a range between a lower and higher value for each point.",areasplinerange:"These charts are line charts displaying a range between a lower and higher value for each point.",bubble:"Bubble charts are scatter charts where each data point also has a size value.",columnrange:"Columnrange charts are column charts displaying a range between a lower and higher value for each point.",errorbar:"Errorbar series are used to display the variability of the data.",funnel:"Funnel charts are used to display reduction of data in stages.",pyramid:"Pyramid charts consist of a single pyramid with item heights corresponding to each point value.",waterfall:"A waterfall chart is a column chart where each column contributes towards a total end value."},chartTypes:{emptyChart:"Empty chart",mapTypeDescription:"Map of {mapTitle} with {numSeries} data series.",unknownMap:"Map of unspecified region with {numSeries} data series.",combinationChart:"Combination chart with {numSeries} data series.",defaultSingle:"Chart with {numPoints} data {#plural(numPoints, points, point)}.",defaultMultiple:"Chart with {numSeries} data series.",splineSingle:"Line chart with {numPoints} data {#plural(numPoints, points, point)}.",splineMultiple:"Line chart with {numSeries} lines.",lineSingle:"Line chart with {numPoints} data {#plural(numPoints, points, point)}.",lineMultiple:"Line chart with {numSeries} lines.",columnSingle:"Bar chart with {numPoints} {#plural(numPoints, bars, bar)}.",columnMultiple:"Bar chart with {numSeries} data series.",barSingle:"Bar chart with {numPoints} {#plural(numPoints, bars, bar)}.",barMultiple:"Bar chart with {numSeries} data series.",pieSingle:"Pie chart with {numPoints} {#plural(numPoints, slices, slice)}.",pieMultiple:"Pie chart with {numSeries} pies.",scatterSingle:"Scatter chart with {numPoints} {#plural(numPoints, points, point)}.",scatterMultiple:"Scatter chart with {numSeries} data series.",boxplotSingle:"Boxplot with {numPoints} {#plural(numPoints, boxes, box)}.",boxplotMultiple:"Boxplot with {numSeries} data series.",bubbleSingle:"Bubble chart with {numPoints} {#plural(numPoints, bubbles, bubble)}.",bubbleMultiple:"Bubble chart with {numSeries} data series."},axis:{xAxisDescriptionSingular:"The chart has 1 X axis displaying {names[0]}. {ranges[0]}",xAxisDescriptionPlural:"The chart has {numAxes} X axes displaying {#each(names, -1) }and {names[-1]}.",yAxisDescriptionSingular:"The chart has 1 Y axis displaying {names[0]}. {ranges[0]}",yAxisDescriptionPlural:"The chart has {numAxes} Y axes displaying {#each(names, -1) }and {names[-1]}.",timeRangeDays:"Range: {range} days.",timeRangeHours:"Range: {range} hours.",timeRangeMinutes:"Range: {range} minutes.",timeRangeSeconds:"Range: {range} seconds.",rangeFromTo:"Range: {rangeFrom} to {rangeTo}.",rangeCategories:"Range: {numCategories} categories."},exporting:{chartMenuLabel:"Chart menu",menuButtonLabel:"View chart menu, {chartTitle}"},series:{summary:{default:"{name}, series {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.",defaultCombination:"{name}, series {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.",line:"{name}, line {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}
1.",lineCombination:"{name}, series {ix} of {numSeries}. Line with {numPoints} data {#plural(numPoints, points, point)}.",spline:"{name}, line {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.",splineCombination:"{name}, series {ix} of {numSeries}. Line with {numPoints} data {#plural(numPoints, points, point)}.",column:"{name}, bar series {ix} of {numSeries} with {numPoints} {#plural(numPoints, bars, bar)}.",columnCombination:"{name}, series {ix} of {numSeries}. Bar series with {numPoints} {#plural(numPoints, bars, bar)}.",bar:"{name}, bar series {ix} of {numSeries} with {numPoints} {#plural(numPoints, bars, bar)}.",barCombination:"{name}, series {ix} of {numSeries}. Bar series with {numPoints} {#plural(numPoints, bars, bar)}.",pie:"{name}, pie {ix} of {numSeries} with {numPoints} {#plural(numPoints, slices, slice)}.",pieCombination:"{name}, series {ix} of {numSeries}. Pie with {numPoints} {#plural(numPoints, slices, slice)}.",scatter:"{name}, scatter plot {ix} of {numSeries} with {numPoints} {#plural(numPoints, points, point)}.",scatterCombination:"{name}, series {ix} of {numSeries}, scatter plot with {numPoints} {#plural(numPoints, points, point)}.",boxplot:"{name}, boxplot {ix} of {numSeries} with {numPoints} {#plural(numPoints, boxes, box)}.",boxplotCombination:"{name}, series {ix} of {numSeries}. Boxplot with {numPoints} {#plural(numPoints, boxes, box)}.",bubble:"{name}, bubble series {ix} of {numSeries} with {numPoints} {#plural(numPoints, bubbles, bubble)}.",bubbleCombination:"{name}, series {ix} of {numSeries}. Bubble series with {numPoints} {#plural(numPoints, bubbles, bubble)}.",map:"{name}, map {ix} of {numSeries} with {numPoints} {#plural(numPoints, areas, area)}.",mapCombination:"{name}, series {ix} of {numSeries}. Map with {numPoints} {#plural(numPoints, areas, area)}.",mapline:"{name}, line {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.",maplineCombination:"{name}, series {ix} of {numSeries}. Line with {numPoints} data {#plural(numPoints, points, point)}.",mapbubble:"{name}, bubble series {ix} of {numSeries} with {numPoints} {#plural(numPoints, bubbles, bubble)}.",mapbubbleCombination:"{name}, series {ix} of {numSeries}. Bubble series with {numPoints} {#plural(numPoints, bubbles, bubble)}."},description:"{description}",xAxisDescription:"X axis, {name}",yAxisDescription:"Y axis, {name}",nullPointValue:"No value",pointAnnotationsDescription:"{Annotation: #each(annotations). }"}}}}),e(t,"Accessibility/Options/DeprecatedOptions.js",[t["Core/Utilities.js"]],function(t){function e(t,e,i){for(var n,o=0;o<e.length-1;++o)t=t[n=e[o]]=r(t[n],{});t[e[e.length-1]]=i}function i(t,i,r,o){function s(t,e){return e.reduce(function(t,e){return t[e]},t)}var a=s(t.options,i),l=s(t.options,r);Object.keys(o).forEach(function(s){var c,h=a[s];void 0!==h&&(e(l,o[s],h),n(32,!1,t,((c={})[i.join(".")+"."+s]=r.join(".")+"."+o[s].join("."),c)))})}var n=t.error,r=t.pick;return function(t){!function(t){var e=t.options.chart,i=t.options.accessibility||{};["description","typeDescription"].forEach(function(r){var o;e[r]&&(i[r]=e[r],n(32,!1,t,((o={})["chart."+r]="use accessibility."+r,o)))})}(t),function(t){t.axes.forEach(function(e){(e=e.options)&&e.description&&(e.accessibility=e.accessibility||{},e.accessibility.description=e.description,n(32,!1,t,{"axis.description":"use axis.accessibility.description"}))})}(t),t.series&&function(t){var i={description:["accessibility","description"],exposeElementToA11y:["accessibility","exposeAsGroupOnly"],pointDescriptionFormatter:["accessibility","point","descriptionFormatter"],skipKeyboardNavigation:["accessibility","keyboardNavigation","enabled"],"accessibility.pointDescriptionFormatter":["accessibility","point","descriptionFormatter"]};
1t.series.forEach(function(r){Object.keys(i).forEach(function(o){var s,a=r.options[o];"accessibility.pointDescriptionFormatter"===o&&(a=r.options.accessibility&&r.options.accessibility.pointDescriptionFormatter),void 0!==a&&(e(r.options,i[o],"skipKeyboardNavigation"===o?!a:a),n(32,!1,t,((s={})["series."+o]="series."+i[o].join("."),s)))})})}(t),i(t,["accessibility"],["accessibility"],{pointDateFormat:["point","dateFormat"],pointDateFormatter:["point","dateFormatter"],pointDescriptionFormatter:["point","descriptionFormatter"],pointDescriptionThreshold:["series","pointDescriptionEnabledThreshold"],pointNavigationThreshold:["keyboardNavigation","seriesNavigation","pointNavigationEnabledThreshold"],pointValueDecimals:["point","valueDecimals"],pointValuePrefix:["point","valuePrefix"],pointValueSuffix:["point","valueSuffix"],screenReaderSectionFormatter:["screenReaderSection","beforeChartFormatter"],describeSingleSeries:["series","describeSingleSeries"],seriesDescriptionFormatter:["series","descriptionFormatter"],onTableAnchorClick:["screenReaderSection","onViewDataTableClick"],axisRangeDateFormat:["screenReaderSection","axisRangeDateFormat"]}),i(t,["accessibility","keyboardNavigation"],["accessibility","keyboardNavigation","seriesNavigation"],{skipNullPoints:["skipNullPoints"],mode:["mode"]}),i(t,["lang","accessibility"],["lang","accessibility"],{legendItem:["legend","legendItem"],legendLabel:["legend","legendLabel"],mapZoomIn:["zoom","mapZoomIn"],mapZoomOut:["zoom","mapZoomOut"],resetZoomButton:["zoom","resetZoomButton"],screenReaderRegionLabel:["screenReaderSection","beforeRegionLabel"],rangeSelectorButton:["rangeSelector","buttonText"],rangeSelectorMaxInput:["rangeSelector","maxInputLabel"],rangeSelectorMinInput:["rangeSelector","minInputLabel"],svgContainerEnd:["screenReaderSection","endOfChartMarker"],viewAsDataTable:["table","viewAsDataTableButtonText"],tableSummary:["table","tableSummary"]})}}),e(t,"Accessibility/Accessibility.js",[t["Core/DefaultOptions.js"],t["Core/Globals.js"],t["Core/Utilities.js"],t["Accessibility/A11yI18n.js"],t["Accessibility/Components/ContainerComponent.js"],t["Accessibility/FocusBorder.js"],t["Accessibility/Components/InfoRegionsComponent.js"],t["Accessibility/KeyboardNavigation.js"],t["Accessibility/Components/LegendComponent.js"],t["Accessibility/Components/MenuComponent.js"],t["Accessibility/Components/SeriesComponent/NewDataAnnouncer.js"],t["Accessibility/ProxyProvider.js"],t["Accessibility/Components/RangeSelectorComponent.js"],t["Accessibility/Components/SeriesComponent/SeriesComponent.js"],t["Accessibility/Components/ZoomComponent.js"],t["Accessibility/HighContrastMode.js"],t["Accessibility/HighContrastTheme.js"],t["Accessibility/Options/Options.js"],t["Accessibility/Options/LangOptions.js"],t["Accessibility/Options/DeprecatedOptions.js"]],function(t,e,i,n,r,o,s,a,l,c,h,d,u,p,f,m,g,y,v,b){t=t.defaultOptions;var x=e.doc,w=i.addEvent,k=i.extend,C=i.fireEvent,S=i.merge;return e=function(){function t(t){this.proxyProvider=this.keyboardNavigation=this.components=this.chart=void 0,this.init(t)}return t.prototype.init=function(t){this.chart=t,x.addEventListener&&t.renderer.isSVG?(b(t),this.proxyProvider=new d(this.chart),this.initComponents(),this.keyboardNavigation=new a(t,this.components)):(this.zombie=!0,this.components={},t.renderTo.setAttribute("aria-hidden",!0))},t.prototype.initComponents=function(){var t=this.chart,e=this.proxyProvider,i=t.options.accessibility;this.components={container:new r,infoRegions:new s,legend:new l,chartMenu:new c,rangeSelector:new u,series:new p,zoom:new f},i.customComponents&&k(this.components,i.customComponents);var n=this.components;this.getComponentOrder().forEach(function(i){n[i].initBase(t,e),n[i].init()})},t.prototype.getComponentOrder=function(){if(!this.components)return[];if(!this.components.series)return Object.keys(this.components);var t=Object.keys(this.components).filter(function(t){return"series"!==t});return["series"].concat(t)},t.prototype.update=function(){var t=this.components,e=this.chart,i=e.options.accessibility;C(e,"beforeA11yUpdate"),e.types=this.getChartTypes(),i=i.keyboardNavigation.order,this.proxyProvider.updateGroupOrder(i),this.getComponentOrder().forEac
1h(function(i){t[i].onChartUpdate(),C(e,"afterA11yComponentUpdate",{name:i,component:t[i]})}),this.keyboardNavigation.update(i),!e.highContrastModeActive&&m.isHighContrastModeActive()&&m.setHighContrastTheme(e),C(e,"afterA11yUpdate",{accessibility:this})},t.prototype.destroy=function(){var t=this.chart||{},e=this.components;Object.keys(e).forEach(function(t){e[t].destroy(),e[t].destroyBase()}),this.proxyProvider&&this.proxyProvider.destroy(),this.keyboardNavigation&&this.keyboardNavigation.destroy(),t.renderTo&&t.renderTo.setAttribute("aria-hidden",!0),t.focusElement&&t.focusElement.removeFocusBorder()},t.prototype.getChartTypes=function(){var t={};return this.chart.series.forEach(function(e){t[e.type]=1}),Object.keys(t)},t}(),function(t){function e(){this.accessibility&&this.accessibility.destroy()}function i(){this.a11yDirty&&this.renderTo&&(delete this.a11yDirty,this.updateA11yEnabled());var t=this.accessibility;t&&!t.zombie&&(t.proxyProvider.updateProxyElementPositions(),t.getComponentOrder().forEach(function(e){t.components[e].onChartRender()}))}function r(t){(t=t.options.accessibility)&&(t.customComponents&&(this.options.accessibility.customComponents=t.customComponents,delete t.customComponents),S(!0,this.options.accessibility,t),this.accessibility&&this.accessibility.destroy&&(this.accessibility.destroy(),delete this.accessibility)),this.a11yDirty=!0}function s(){var e=this.accessibility,i=this.options.accessibility;i&&i.enabled?e&&!e.zombie?e.update():(this.accessibility=e=new t(this),!e.zombie&&e.update()):e?(e.destroy&&e.destroy(),delete this.accessibility):this.renderTo.setAttribute("aria-hidden",!0)}function d(){this.series.chart.accessibility&&(this.series.chart.a11yDirty=!0)}var m=[];t.i18nFormat=n.i18nFormat,t.compose=function(t,g,y,v,b,x,k){a.compose(g),h.compose(b),l.compose(g,y),c.compose(g),p.compose(g,v,b),f.compose(t),n.compose(g),o.compose(g,x),k&&u.compose(g,k),-1===m.indexOf(g)&&(m.push(g),g.prototype.updateA11yEnabled=s,w(g,"destroy",e),w(g,"render",i),w(g,"update",r),["addSeries","init"].forEach(function(t){w(g,t,function(){this.a11yDirty=!0})}),["afterDrilldown","drillupall"].forEach(function(t){w(g,t,function(){var t=this.accessibility;t&&!t.zombie&&t.update()})})),-1===m.indexOf(v)&&(m.push(v),w(v,"update",d)),-1===m.indexOf(b)&&(m.push(b),["update","updatedData","remove"].forEach(function(t){w(b,t,function(){this.chart.accessibility&&(this.chart.a11yDirty=!0)})}))}}(e||(e={})),S(!0,t,y,{accessibility:{highContrastTheme:g},lang:v}),e}),e(t,"masters/modules/accessibility.src.js",[t["Core/Globals.js"],t["Accessibility/Accessibility.js"],t["Accessibility/AccessibilityComponent.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Utils/HTMLUtilities.js"],t["Accessibility/KeyboardNavigationHandler.js"],t["Accessibility/Components/SeriesComponent/SeriesDescriber.js"]],function(t,e,i,n,r,o,s){t.i18nFormat=e.i18nFormat,t.A11yChartUtilities=n,t.A11yHTMLUtilities=r,t.AccessibilityComponent=i,t.KeyboardNavigationHandler=o,t.SeriesAccessibilityDescriber=s,e.compose(t.Axis,t.Chart,t.Legend,t.Point,t.Series,t.SVGElement,t.RangeSelector)})})}),ps=ze(function(t,e){"undefined"!=typeof self&&self,t.exports=function(t){return function(t){function e(n){if(i[n])return i[n].exports;var r=i[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var i={};return e.m=t,e.c=i,e.d=function(t,i,n){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=0)}([function(t,e,i){function n(){return n=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},n.apply(this,arguments)}function r(t){return l(t)||a(t)||s(t)||o()}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(t,e){if(t){if("string"==typeof t)return c(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?c(t,e):void 0}}function a(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function l(t){if(Array.isArray(t))return c(t)}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}
1function h(t){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(e,"__esModule",{value:!0}),i.d(e,"HighchartsReact",function(){return f});var d=i(1),u=i.n(d),p="undefined"!=typeof window?d.useLayoutEffect:d.useEffect,f=Object(d.memo)(Object(d.forwardRef)(function(t,e){var i=Object(d.useRef)(),o=Object(d.useRef)(),s=Object(d.useRef)(t.constructorType),a=Object(d.useRef)(t.highcharts);return p(function(){function e(){var e=t.highcharts||"object"===("undefined"==typeof window?"undefined":h(window))&&window.Highcharts,n=t.constructorType||"chart";e&&e[n]&&t.options&&(o.current=e[n](i.current,t.options,t.callback))}if(o.current){if(!1!==t.allowChartUpdate)if(t.constructorType!==s.current||t.highcharts!==a.current)s.current=t.constructorType,a.current=t.highcharts,e();else if(!t.immutable&&o.current){var n;(n=o.current).update.apply(n,[t.options].concat(r(t.updateArgs||[!0,!0])))}else e()}else e()},[t.options,t.allowChartUpdate,t.updateArgs,t.containerProps,t.highcharts,t.constructorType]),p(function(){return function(){o.current&&(o.current.destroy(),o.current=null)}},[]),Object(d.useImperativeHandle)(e,function(){return{get chart(){return o.current},container:i}},[]),u.a.createElement("div",n({},t.containerProps,{ref:i}))}));e.default=f},function(e,i){e.exports=t}])}(Ii)}),fs=Fe(ps);us(ds);const ms={chart:{type:"area",backgroundColor:"#fff",plotBackgroun
1dColor:"#fff",borderRadius:0,height:10/15*100+"%",style:{fontFamily:"EJ Sans Text Var, ui-sans-serif, sans-serif",fontSize:"12px"}},title:{text:""},subtitle:{text:""},caption:{text:""},credits:{enabled:!1},legend:{enabled:!1},accessibility:{description:"",linkedDescription:"",keyboardNavigation:{order:["series","zoom","rangeSelector","chartMenu","legend","container"],focusBorder:{style:{color:"#0076a0"}}},enabled:!0},xAxis:{labels:{format:"{value:%b %d}",style:{fontSize:"12px",color:"#434648",fontWeight:"100"}},type:"datetime",tickPixelInterval:70,lineWidth:2,lineColor:"#C7C8C9",tickColor:"#C7C8C9",tickWidth:2},yAxis:{title:"",tickPixelInterval:50,labels:{formatter:function(){return ds.numberFormat(this.value,0,".",",")},style:{fontSize:"12px",color:"#57595C",fontWeight:"100"}},lineWidth:2,lineColor:"#C7C8C9",offset:-1},plotOptions:{area:{enableMouseTracking:!1,lineWidth:2,color:"#979797",lineColor:"#999999",marker:{enabled:!1}},series:{animation:!1,fillColor:{linearGradient:{x1:0,x2:0,y1:0,y2:1},stops:[[0,"rgba(151, 151, 151,0.3)"],[1,"rgba(255, 255, 255,0.1)"]]}}}};var gs=Object.freeze({__proto__:null,default:function({data:t=[],description:e="",linkedDescription:i="",title:n="",caption:r="",subtitle:o="",symbol:s="",...a}){return Be(fs,{constructorType:"chart",highcharts:ds,options:{...ms,series:[{data:t}],accessibility:{...ms.accessibility,description:e,linkedDescription:i},title:{text:s?`${s} interactive ${ms.chart.type} chart`:ms.title,style:{display:"none"}},caption:r||ms.caption,subtitle:o||ms.subtitle,lang:{accessibility:{chartContainerLabel:`${s} interactive ${ms.chart.type} chart.`}}},...a})}}),ys=Object.freeze({__proto__:null,default:({results:t="",translations:e={}})=>{const i=t.result,n=t=>t<10?"0"+t:t,r=t=>{const e=new Date(t);return`${n(e.toLocaleString("default",{month:"short"}))} ${n(e.getDate())}, ${e.getFullYear()}${0===e.getHours()?"":","} ${0===e.getHours()?"":e.getHours()+":"+e.getMinutes()}`},o=new Intl.NumberFormat;if(i)return"M"===i.type?Be("table",{class:"w-full mb-8 text-lg","data-testid":"stock-table",children:[Be("caption",{class:"p-3 font-medium text-left border-b-2 border-black border-solid",children:[i.description," ",null===i.stockExchange?"":`(${i.stockExchange})`," ","- ",r(i.navDate)," "]}),Be("tbody",{children:[Be("tr",{children:[Be("th",{scope:"row",class:"px-4 py-3 text-left font-regular",children:e.navPrice}),Be("td",{class:"px-4 py-3 text-right",children:Be(wn,{type:"decimal",value:i.nav})})]}),Be("tr",{class:"bg-gray-100",children:[Be("th",{scope:"row",class:"px-4 py-3 text-left font-regular",children:[e.priceChange," ($)"]}),Be("td",{class:"px-4 py-3 text-right",children:Be(Mn,{value:i.navChange})})]}),Be("tr",{children:[Be("th",{scope:"row",class:"px-4 py-3 text-left font-regular",children:[e.percentChange," (%)"]}),Be("td",{class:"px-4 py-3 text-right",children:Be(Mn,{value:i.percentChange})})]}),Be("tr",{class:"bg-gray-100",children:[Be("th",{scope:"row",class:"px-4 py-3 text-left font-regular",children:e.week52High}),Be("td",{class:"px-4 py-3 text-right",children:Be(wn,{type:"decimal",value:i.week52High})})]}),Be("tr",{children:[Be("th",{scope:"row",class:"px-4 py-3 text-left font-regular",children:e.week52Low}),Be("td",{class:"px-4 py-3 text-right",children:Be(wn,{type:"decimal",value:i.week52Low})})]})]})]}):"I"===i.type?Be("table",{class:"w-full mb-8 text-lg","data-testid":"stock-table",children:[Be("caption",{class:"p-3 font-medium text-left border-b-2 border-black border-solid",children:[i.description," ",null===i.stockExchange?"":`(${i.stockExchange})`," ","- ",r(i.lastTradeTime)," "]}),Be("tbody",{children:[Be("tr",{children:[Be("th",{scope:"row",class:"px-4 py-3 text-left font-regular",children:e.lastTradePrice}),Be("td",{class:"px-4 py-3 text-right",children:Be(wn,{type:"decimal",value:i.lastTradePrice})})]}),Be("tr",{class:"bg-gray-100",children:[Be("th",{scope:"row",class:"px-4 py-3 text-left font-regular",children:[e.priceChange," ($)"]}),Be("td",{class:"px-4 py-3 text-right",children:Be(Mn,{value:i.priceChange})})]}),Be("tr",{children:[Be("th",{scope:"row",class:"px-4 py-3 text-left font-regular",children:[e.percentChange," (%)"]}),Be("td",{class:"px-4 py-3 text-right",children:Be(Mn,{value:i.percentChange})})]}),Be("tr",{class:"bg-gray-100",children:[Be("th",{scope:"row",class:"px-4 py-3 text-left font-regular",children:e.lastClosePrice}),Be("td",{class:"px-4 py-3 text-right",children:Be(wn,{type:"decimal",value:i.lastClosePrice})})]}),Be("tr",{children:[Be("th",{scope:"row",class:"px-4 py-3 text-left font-regular",children:e.todaysHigh}),Be("td",{class:"px-4 py-3 text-right",children:Be(wn,{type:"decimal",value:i.todaysHigh})})]}),Be("tr",{class:"bg-gray-100",children:[Be("th",{scope:"row",class:"px-4 py-3 text-left font-regular",children:e.todaysLow}),Be("td",{class:"px-4 py-3 text-right",children:Be(wn,{type:"decimal",value:i.todaysLow})})]}),Be("tr",{children:[Be("th",{scope:"row",class:"px-4 py-3 text-left font-regular",children:e.week52High}),Be("td",{class:"px-4 py-3 text-right",children:Be(wn,{type:"decimal",value:i.week52High})})]}),Be("tr",{class:"bg-gray-100",children:[Be("th",{scope:"row",class:"px-4 py-3 text-left font-regular",children:e.week52Low}),Be("td",{class:"px-4 py-3 text-right",children:Be(wn,{type:"decimal",value:i.week52Low})})]})]})]}):Be("table",{class:"w-full mb-8 text-lg","data-testid":"stock-table",children:[Be("caption",{class:"p-3 font-medium text-left border-b-2 border-black border-solid","data-testid":"stock-table-heading",children:[i.description," ",null===i.stockExchange?"":`(${i.stockExchange})`," ","- ",r(i.lastTradeTime)," "]}),Be("tbody",{children:[Be("tr",{children:[Be("th",{scope:"row",class:"px-4 py-3 text-left font-regular",children:e.lastTradePrice}),Be("td",{class:"px-4 py-3 text-right",children:Be(wn,{type:"decimal",value:i.lastTradePrice})})]}),Be("tr",{class:"bg-gray-100",children:[Be("th",{scope:"row",class:"px-4 py-3 text-left font-regular",children:[e.priceChange," ($)"]}),Be("td",{class:"px-4 py-3 text-right",children:Be(Mn,{value:i.priceChange})})]}),Be("tr",{children:[Be("th",{scope:"row",class:"px-4 py-3 text-left font-regular",children:[e.percentChange," (%)"]}),Be("td",{class:"px-4 py-3 text-right",children:Be(Mn,{value:i.percentChange})})]}),Be("tr",{class:"bg-gray-100",children:[Be("th",{scope:"row",class:"px-4 py-3 text-left font-regular",children:e.lastClosePrice}),Be("td",{class:"px-4 py-3 text-right",children:Be(wn,{type:"decimal",value:i.lastClosePrice})})]}),Be("tr",{children:[Be("th",{scope:"row",class:"px-4 py-3 text-left font-regular",children:e.todaysHigh}),Be("td",{class:"px-4 py-3 text-right",children:Be(wn,{type:"decimal",value:i.todaysHigh})})]}),Be("tr",{class:"bg-gray-100",children:[Be("th",{scope:"row",class:"px-4 py-3 text-left font-regular",children:e.todaysLow}),Be("td",{class:"px-4 py-3 text-right",children:Be(wn,{type:"decimal",value:i.todaysLow})})]}),i.stockVolume&&Be("tr",{children:[Be("th",{scope:"row",class:"px-4 py-3 text-left font-regular",children:[e.stockVolume," (000)"]}),Be("td",{class:"px-4 py-3 text-right",children:o.format(i.stockVolume)})]}),Be("tr",{class:"bg-gray-100",children:[Be("th",{scope:"row",class:"px-4 py-3 text-left font-regular",children:e.week52High}),Be("td",{class:"px-4 py-3 text-right",children:Be(wn,{type:"decimal",value:i.week52High})})]}),Be("tr",{children:[Be("th",{scope:"row",class:"px-4 py-3 text-left font-regular",children:e.week52Low}),Be("td",{class:"px-4 py-3 text-right",children:Be(wn,{type:"decimal",value:i.week52Low})})]}),Be("tr",{class:"bg-gray-100",children:[Be("th",{scope:"row",class:"px-4 py-3 text-left font-regular",children:e.eps}),Be("td",{class:"px-4 py-3 text-right",children:Be(wn,{type:"decimal",value:i.eps})})]}),Be("tr",{children:[Be("th",{scope:"row",class:"px-4 py-3 text-left font-regular",children:e.peRatio}),Be("td",{class:"px-4 py-3 text-right",children:Be(wn,{type:"decimal",value:i.peRatio})})]}),Be("tr",{class:"bg-gray-100",children:[Be("th",{scope:"row",class:"px-4 py-3 text-left font-regular",children:e.dividendYield}),Be("td",{class:"px-4 py-3 text-right",children:Be(wn,{type:"decimal",value:i.dividendYield})})]}),Be("tr",{children:[Be("th",{scope:"row",class:"px-4 py-3 text-left font-regular",children:[e.dividendYieldPercent," %"]}),Be("td",{class:"px-4 py-3 text-right",children:Be(wn,{type:"decimal",value:i.dividendYieldPercent})})]}),Be("tr",{class:"bg-gray-100",children:[Be("th",{scope:"row",class:"px-4 py-3 text-left font-regular",children:e.expirationDate}),Be("td",{class:"px-4 py-3 text-right",children:r(i.expirationDate)})]}),Be("tr",{children:[Be("th",{scope:"row",class:"px-4 py-3 text-left font-regular",children:e.dividendPayDate}),Be("td",{class:"px-4 py-3 text-right",children:r(i.dividendPayDate)})]})]})]})}});function vs({columns:t=[]}){return Be("colgroup",{children:t.map((e,i)=>{switch(i){case 0:return Be("col",{});case t.length-1:return Be("col",{class:"w-max-content"});default:return Be("col",{class:"w-1/4"})}})})}function bs({as:t="td",type:e,class:i,...n}){return Be(t,{class:Cn`py-3 px-1 md:px-3 ${{"text-right":"price"===e,"text-left":"text"===e,"text-center":"ticker"===e}} ${i}`,...n})}function xs({as:t="div",...e}){return Be(t,{class:"w-14 md:w-auto sm:break-words",...e})}var ws=Object.freeze({__proto__:null,default:function({columnTypes:t=[],headers:e=[],rows:i=[],caption:n=""}){const r=({data:e})=>Be("tr",{class:"align-top",children:e.map((e,i)=>{const n=t[i];return Be(bs,0===i?{as:"th",type:n,class:"font-regular",scope:"row",children:Be(xs,{children:e})}:{as:"td",type:n,children:"ticker"===n?Be(Mn,{value:e}):Be(xs,{children:Be(wn,{type:"decimal",value:e})})})})});return Be("table",{class:"w-full table-striped leading-snug text-sm","data-testid":"stock-table",children:[Be("caption",{class:"sr-only",children:n}),Be(vs,{columns:e}),Be("thead",{class:"border-gray-500 border-b-2 font-bold",children:Be(({data:e})=>Be("tr",{class:"align-bottom","data-testid":"stock-header",children:e&&e.map((e,i)=>Be(bs,{as:"th",type:t[i],scope:"col",children:e}))}),{data:e})}),Be("tbody",{children:i.map(t=>Be(r,{data:t}))})]})}})}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.