let e;/**
 * Highcharts JS v13.0.0 (2026-06-11)
 * @module highcharts/modules/accessibility
 * @requires highcharts
 *
 * Accessibility module
 *
 * (c) 2010-2026 Highsoft AS
 * Author: Øystein Moseng
 *
 * A commercial license may be required depending on use,
 * see www.highcharts.com/license
 */import*as t from"../highcharts.js";var i,r,s,n,o={};o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var i in t)o.o(t,i)&&!o.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);let a=t.default;var l=o.n(a);let{doc:h,win:d}=l(),c=d.EventTarget&&new d.EventTarget||"none";function u(e){if("function"==typeof d.MouseEvent)return new d.MouseEvent(e.type,e);if(h?.createEvent){let t=h.createEvent("MouseEvent");if(t.initMouseEvent)return t.initMouseEvent(e.type,e.bubbles,e.cancelable,e.view||d,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget),t}return p(e.type)}function p(e,t,i){let r=t||{x:0,y:0};if("function"==typeof d.MouseEvent)return new d.MouseEvent(e,{bubbles:!0,cancelable:!0,composed:!0,button:0,buttons:1,relatedTarget:i||c,view:d,detail:+("click"===e),screenX:r.x,screenY:r.y,clientX:r.x,clientY:r.y});if(h?.createEvent){let t=h.createEvent("MouseEvent");if(t.initMouseEvent)return t.initMouseEvent(e,!0,!0,d,+("click"===e),r.x,r.y,r.x,r.y,!1,!1,!1,!1,0,null),t}return{type:e}}let g={addClass:function(e,t){e.classList?e.classList.add(t):0>e.className.indexOf(t)&&(e.className+=" "+t)},cloneMouseEvent:u,cloneTouchEvent:function(e){let t=e=>{let t=[];for(let i=0;i<e.length;++i){let r=e.item(i);r&&t.push(r)}return t};if("function"==typeof d.TouchEvent){let i=new d.TouchEvent(e.type,{touches:t(e.touches),targetTouches:t(e.targetTouches),changedTouches:t(e.changedTouches),ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey,bubbles:e.bubbles,cancelable:e.cancelable,composed:e.composed,detail:e.detail,view:e.view});return e.defaultPrevented&&i.preventDefault(),i}let i=u(e);return i.touches=e.touches,i.changedTouches=e.changedTouches,i.targetTouches=e.targetTouches,i},escapeStringForHTML:function(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/\//g,"&#x2F;")},getElement:function(e){return h.getElementById(e)},getFakeMouseEvent:p,getHeadingTagNameForElement:function(e){let t=e=>"h"+Math.min(6,parseInt(e.slice(1),10)+1),i=e=>/^H[1-6]$/i.test(e),r=e=>{let s=(e=>{let t=e;for(;t=t.previousSibling;){let e=t.tagName||"";if(i(e))return e}return""})(e);if(s)return t(s);let n=e.parentElement;if(!n)return"h6";let o=n.tagName;return i(o)?t(o):r(n)};return r(e)},removeChildNodes:function(e){for(;e.lastChild;)e.removeChild(e.lastChild)},removeClass:function(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(RegExp(t,"g"),"")},removeElement:function(e){e&&e.parentNode&&e.parentNode.removeChild(e)},reverseChildNodes:function(e){let t=e.childNodes.length;for(;t--;)e.appendChild(e.childNodes[t])},simulatedEventTarget:c,stripHTMLTagsFromString:function(e,t=!1){return"string"==typeof e?t?e.replace(/<\/?[^>]+(>|$)/g,""):e.replace(/<\/?(?!\s)[^>]+(>|$)/g,""):e},visuallyHideElement:function(e){(0,a.css)(e,{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})}},m=t.default.Templating;var b=o.n(m);let{format:f}=b();var x=i||(i={});function v(e,t,i){let r=(e,t)=>{let i=e.slice(t||0),r=i.indexOf("{"),s=i.indexOf("}");if(r>-1&&s>r)return{statement:i.substring(r+1,s),begin:t+r+1,end:t+s}},s=[],n,o,l=0;do n=r(e,l),(o=e.substring(l,n&&n.begin-1)).length&&s.push({value:o,type:"constant"}),n&&s.push({value:n.statement,type:"statement"}),l=n?n.end+1:l+1;while(n);return s.forEach(e=>{"statement"===e.type&&(e.value=function(e,t){let i,r,s=e.indexOf("#each("),n=e.indexOf("#plural("),o=e.indexOf("["),l=e.indexOf("]");if(s>-1){let n=e.slice(s).indexOf(")")+s,o=e.substring(0,s),l=e.substring(n+1),h=e.substring(s+6,n).split(","),d=Number(h[1]),c;if(r="",i=(0,a.getNestedProperty)(h[0],t)){c=(d=isNaN(d)?i.length:d)<0?i.length+d:Math.min(d,i.length);for(let e=0;e<c;++e)r+=o+i[e]+l}return r.length?r:""}if(n>-1){var h;let i=e.slice(n).indexOf(")")+n,s=e.substring(n+8,i).split(",");switch(Number((0,a.getNestedProperty)(s[0],t))){case 0:r=(0,a.pick)(s[4],s[1]);break;case 1:r=(0,a.pick)(s[2],s[1]);break;case 2:r=(0,a.pick)(s[3],s[1]);break;default:r=s[1]}return r?(h=r).trim&&h.trim()||h.replace(/^\s+|\s+$/g,""):""}if(o>-1){let r,s=e.substring(0,o),n=Number(e.substring(o+1,l));return i=(0,a.getNestedProperty)(s,t),!isNaN(n)&&i&&(n<0?void 0===(r=i[i.length+n])&&(r=i[0]):void 0===(r=i[n])&&(r=i[i.length-1])),void 0!==r?r:""}return"{"+e+"}"}(e.value,t))}),f(s.reduce((e,t)=>e+t.value,""),t,i)}function y(e,t){let i=e.split("."),r=this.options.lang,s=0;for(;s<i.length;++s)r=r&&r[i[s]];return"string"==typeof r?v(r,t,this):""}x.compose=function(e){let t=e.prototype;t.langFormat||(t.langFormat=y)},x.i18nFormat=v;let E=i,{doc:w}=l(),{stripHTMLTagsFromString:A}=g;function T(e){if(e.points&&e.points.length){let t=(0,a.find)(e.points,e=>!!e.graphic);return t&&t.graphic&&t.graphic.element}}function k(e){let t=T(e);return t&&t.parentNode||e.graph&&e.graph.element||e.group&&e.group.element}let M={fireEventOnWrappedOrUnwrappedElement:function e(t,i){let r=i.type,s=t.hcEvents;w?.createEvent&&(t.dispatchEvent||t.fireEvent)?t.dispatchEvent?t.dispatchEvent(i):t.fireEvent(r,i):s&&s[r]?(0,a.fireEvent)(t,r,i):t.element&&e(t.element,i)},getChartTitle:function(e){return A(e.options.title.text||e.langFormat("accessibility.defaultChartTitle",{chart:e}),e.renderer.forExport)},getAxisDescription:function(e){return e&&(e.options.accessibility?.description||e.axisTitle?.textStr||e.options.id||e.categories&&e.chart.langFormat("accessibility.axis.defaultAxisNames.categories",{})||e.dateTime&&e.chart.langFormat("accessibility.axis.defaultAxisNames.time",{})||e.chart.langFormat("accessibility.axis.defaultAxisNames.values",{}))},getAxisRangeDescription:function(e){var t,i,r;let s,n,o,a,l,h,d,c,u,p,g,m,b=e.options||{};return b.accessibility&&void 0!==b.accessibility.rangeDescription?b.accessibility.rangeDescription:e.categories?(s=(t=e).chart,t.dataMax&&t.dataMin?s.langFormat("accessibility.axis.rangeCategories",{chart:s,axis:t,numCategories:t.dataMax-t.dataMin+1}):""):e.dateTime&&(0===e.min||0===e.dataMin)?(n=(i=e).chart,o={},a=i.dataMin||i.min||0,l=i.dataMax||i.max||0,h="Seconds",o.Seconds=(l-a)/1e3,o.Minutes=o.Seconds/60,o.Hours=o.Minutes/60,o.Days=o.Hours/24,["Minutes","Hours","Days"].forEach(function(e){o[e]>2&&(h=e)}),d=o[h].toFixed(+("Seconds"!==h&&"Minutes"!==h)),n.langFormat("accessibility.axis.timeRange"+h,{chart:n,axis:i,range:d.replace(".0","")})):(p=(u=(c=(r=e).chart).options)&&u.accessibility&&u.accessibility.screenReaderSection.axisRangeDateFormat||"",g={min:r.dataMin||r.min||0,max:r.dataMax||r.max||0},m=function(e){return r.dateTime?c.time.dateFormat(p,g[e]):g[e].toString()},c.langFormat("accessibility.axis.rangeFromTo",{chart:c,axis:r,rangeFrom:m("min"),rangeTo:m("max")}))},getPointFromXY:function(e,t,i){let r=e.length,s;for(;r--;)if(s=(0,a.find)(e[r].points||[],function(e){return e.x===t&&e.y===i}))return s},getSeriesFirstPointElement:T,getSeriesFromName:function(e,t){return t?(e.series||[]).filter(function(e){return e.name===t}):e.series},getSeriesA11yElement:k,unhideChartElementFromAT:function e(t,i){i.setAttribute("aria-hidden",!1),i!==t.renderTo&&i.parentNode&&i.parentNode!==w.body&&(Array.prototype.forEach.call(i.parentNode.childNodes,function(e){e.hasAttribute("aria-hidden")||e.setAttribute("aria-hidden",!0)}),e(t,i.parentNode))},hideSeriesFromAT:function(e){let t=k(e);t&&t.setAttribute("aria-hidden",!0)},scrollAxisToPoint:function(e){let t=e.series.xAxis,i=e.series.yAxis,r=t&&t.scrollbar?t:i,s=r&&r.scrollbar;if(s&&(0,a.defined)(s.to)&&(0,a.defined)(s.from)){let t=s.to-s.from,i=function(e,t){if(!(0,a.defined)(e.dataMin)||!(0,a.defined)(e.dataMax))return 0;let i=e.toPixels(e.dataMin),r=e.toPixels(e.dataMax),s="xAxis"===e.coll?"x":"y";return(e.toPixels(t[s]||0)-i)/(r-i)}(r,e);s.updatePosition(i-t/2,i+t/2),(0,a.fireEvent)(s,"changed",{from:s.from,to:s.to,trigger:"scrollbar",DOMEvent:null})}}},{doc:C}=l(),{removeElement:S}=g,P=class{constructor(){this.elements=[]}createElement(){let e=C.createElement.apply(C,arguments);return this.elements.push(e),e}removeElement(e){S(e),this.elements.splice(this.elements.indexOf(e),1)}destroyCreatedElements(){this.elements.forEach(function(e){S(e)}),this.elements=[]}},N=class{constructor(){this.eventRemovers=[]}addEvent(){let e=a.addEvent.apply(l(),arguments);return this.eventRemovers.push({element:arguments[0],remover:e}),e}removeEvent(e){let t=this.eventRemovers.map(e=>e.remover).indexOf(e);this.eventRemovers[t].remover(),this.eventRemovers.splice(t,1)}removeAddedEvents(){this.eventRemovers.map(e=>e.remover).forEach(e=>e()),this.eventRemovers=[]}},{fireEventOnWrappedOrUnwrappedElement:D}=M,{getFakeMouseEvent:B}=g,I=class{destroy(){}getKeyboardNavigation(){return[]}init(){}onChartRender(){}onChartUpdate(){}initBase(e,t){this.chart=e,this.eventProvider=new N,this.domElementProvider=new P,this.proxyProvider=t,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}}addEvent(e,t,i,r){return this.eventProvider.addEvent(e,t,i,r)}createElement(e,t){return this.domElementProvider.createElement(e,t)}fakeClickEvent(e){D(e,B("click"))}destroyBase(){this.domElementProvider.destroyCreatedElements(),this.eventProvider.removeAddedEvents()}},F=class{constructor(e,t){this.chart=e,this.keyCodeMap=t.keyCodeMap||[],this.validate=t.validate,this.init=t.init,this.terminate=t.terminate,this.response={success:1,prev:2,next:3,noHandler:4,fail:5}}run(e){let t=e.which||e.keyCode,i=this.response.noHandler,r=(0,a.find)(this.keyCodeMap,function(e){return e[0].indexOf(t)>-1});return r?i=r[1].call(this,t,e):9===t&&(i=this.response[e.shiftKey?"prev":"next"]),i}},{unhideChartElementFromAT:O,getChartTitle:R}=M,{doc:L}=l(),{stripHTMLTagsFromString:H}=g,z=class extends I{onChartUpdate(){this.handleSVGTitleElement(),this.setSVGContainerLabel(),this.setGraphicContainerAttrs(),this.setRenderToAttrs(),this.makeCreditsAccessible()}handleSVGTitleElement(){let e=this.chart,t="highcharts-title-"+e.index,i=H(e.langFormat("accessibility.svgContainerTitle",{chartTitle:R(e)}));if(i.length){let r=this.svgTitleElement=this.svgTitleElement||L.createElementNS("http://www.w3.org/2000/svg","title");r.textContent=i,r.id=t,e.renderTo.insertBefore(r,e.renderTo.firstChild)}}setSVGContainerLabel(){let e=this.chart,t=e.langFormat("accessibility.svgContainerLabel",{chartTitle:R(e)});e.renderer.box&&t.length&&e.renderer.box.setAttribute("aria-label",t)}setGraphicContainerAttrs(){let e=this.chart,t=e.langFormat("accessibility.graphicContainerLabel",{chartTitle:R(e)});t.length&&e.container.setAttribute("aria-label",t)}setRenderToAttrs(){let e=this.chart,t="disabled"!==e.options.accessibility.landmarkVerbosity,i=e.langFormat("accessibility.chartContainerLabel",{title:R(e),chart:e});i&&(e.renderTo.setAttribute("role",t?"region":"group"),e.renderTo.setAttribute("aria-label",i))}makeCreditsAccessible(){let e=this.chart,t=e.credits;t&&(t.textStr&&t.element.setAttribute("aria-label",e.langFormat("accessibility.credits",{creditsStr:H(t.textStr,e.renderer.forExport)})),O(e,t.element))}getKeyboardNavigation(){let e=this.chart;return new F(e,{keyCodeMap:[],validate:function(){return!0},init:function(){let t=e.accessibility;t&&t.keyboardNavigation.tabindexContainer.focus()}})}destroy(){this.chart.renderTo.setAttribute("aria-hidden",!0)}};!function(e){let t=["x","y","transform","width","height","r","d","stroke-width"];function i(){let e=this.focusElement,t=this.options.accessibility.keyboardNavigation.focusBorder;e&&(e.removeFocusBorder(),t.enabled&&e.addFocusBorder(t.margin,{stroke:t.style.color,strokeWidth:t.style.lineWidth,r:t.style.borderRadius}))}function r(e,t){let i=this.options.accessibility.keyboardNavigation.focusBorder,r=t||e.element;r&&r.focus&&(r.hcEvents&&r.hcEvents.focusin||(0,a.addEvent)(r,"focusin",function(){}),r.focus(),i.hideBrowserFocusOutline&&(r.style.outline="none")),this.focusElement&&this.focusElement.removeFocusBorder(),this.focusElement=e,(0,a.addEvent)(this,"endResize",function(){this.renderFocusBorder()}),this.renderFocusBorder()}function s(e,i){this.focusBorder&&this.removeFocusBorder();let r=this.getBBox(),s=(0,a.pick)(e,3),n=this.parentGroup,o=this.scaleX||n&&n.scaleX,l=this.scaleY||n&&n.scaleY,h=(o?!l:l)?Math.abs(o||l||1):(Math.abs(o||1)+Math.abs(l||1))/2,d=this.renderer.fontMetrics(this).h;r.x+=this.translateX?this.translateX:0,r.y+=this.translateY?this.translateY:0;let c=r.x-s,u=r.y-s,p=r.width+2*s,g=r.height+2*s,m=!!this.text;if("text"===this.element.nodeName||m){let e,t,i=!!this.rotation,n=m?{x:+!!i,y:0}:(e=0,t=0,"middle"===this.attr("text-anchor")?e=t=.5:this.rotation?e=.25:t=.75,{x:e,y:t}),o=+this.attr("x"),a=+this.attr("y");if(isNaN(o)||(c=o-r.width*n.x-s),isNaN(a)||(u=a-("start"===this.attr("text-anchor")?d:r.height)*n.y-s),m&&i){let e=p;p=g,g=e,isNaN(o)||(c=o-r.height*n.x-s),isNaN(a)||(u=a-r.width*n.y-s)}}this.focusBorder=this.renderer.rect(c,u,p,g,parseInt((i&&i.r||0).toString(),10)/h).addClass("highcharts-focus-border").attr({zIndex:99}).add(n),this.renderer.styledMode||this.focusBorder.attr({stroke:i&&i.stroke,"stroke-width":(i&&i.strokeWidth||0)/h}),function(e,...i){e.focusBorderUpdateHooks||(e.focusBorderUpdateHooks={},t.forEach(t=>{let r=t+"Setter",s=e[r]||e._defaultSetter;e.focusBorderUpdateHooks[r]=s,e[r]=function(){let t=s.apply(e,arguments);return e.addFocusBorder.apply(e,i),t}}))}(this,e,i),function(e){if(e.focusBorderDestroyHook)return;let t=e.destroy;e.destroy=function(){return e.focusBorder&&e.focusBorder.destroy&&e.focusBorder.destroy(),t.apply(e,arguments)},e.focusBorderDestroyHook=t}(this)}function n(){var e;e=this,e.focusBorderUpdateHooks&&(Object.keys(e.focusBorderUpdateHooks).forEach(t=>{let i=e.focusBorderUpdateHooks[t];i===e._defaultSetter?delete e[t]:e[t]=i}),delete e.focusBorderUpdateHooks),this.focusBorderDestroyHook&&(this.destroy=this.focusBorderDestroyHook,delete this.focusBorderDestroyHook),this.focusBorder&&(this.focusBorder.destroy(),delete this.focusBorder)}e.compose=function(e,t){let o=e.prototype,a=t.prototype;o.renderFocusBorder||(o.renderFocusBorder=i,o.setFocusToElement=r),a.addFocusBorder||(a.addFocusBorder=s,a.removeFocusBorder=n)}}(r||(r={}));let q=r,U=t.default.AST;var K=o.n(U);let{doc:G}=l(),{addClass:W,visuallyHideElement:V}=g,X=class{constructor(e,t){this.chart=e,this.domElementProvider=new P,this.announceRegion=this.addAnnounceRegion(t)}destroy(){this.domElementProvider.destroyCreatedElements()}announce(e){K().setElementHTML(this.announceRegion,e),this.clearAnnouncementRegionTimer&&(0,a.internalClearTimeout)(this.clearAnnouncementRegionTimer),this.clearAnnouncementRegionTimer=setTimeout(()=>{this.announceRegion.innerHTML=K().emptyHTML,delete this.clearAnnouncementRegionTimer},3e3)}addAnnounceRegion(e){let t=this.chart.announcerContainer||this.createAnnouncerContainer(),i=this.domElementProvider.createElement("div");return(0,a.attr)(i,{"aria-hidden":!1,"aria-live":e,"aria-atomic":!0}),V(i),this.chart.styledMode&&W(i,"highcharts-visually-hidden"),t.appendChild(i),i}createAnnouncerContainer(){let e=this.chart,t=G.createElement("div");return(0,a.attr)(t,{"aria-hidden":!1,class:"highcharts-announcer-container"}),V(t),e.renderTo.insertBefore(t,e.renderTo.firstChild),e.announcerContainer=t,t}},{escapeStringForHTML:Y,stripHTMLTagsFromString:j}=g;function Z(e){return(e.annotations||[]).reduce((e,t)=>(t.options&&!1!==t.options.visible&&(e=e.concat(t.labels)),e),[])}function $(e){return e.options&&e.options.accessibility&&e.options.accessibility.description||e.graphic&&e.graphic.text&&e.graphic.text.textStr||""}function _(e){let t=e.options&&e.options.accessibility&&e.options.accessibility.description;if(t)return t;let i=e.chart,r=$(e),s=e.points.filter(e=>!!e.graphic).map(e=>{let t=e.accessibility&&e.accessibility.valueDescription||e.graphic&&e.graphic.element&&e.graphic.element.getAttribute("aria-label")||"",i=e&&e.series.name||"";return(i?i+", ":"")+"data point "+t}).filter(e=>!!e),n=s.length,o=n>1?"MultiplePoints":n?"SinglePoint":"NoPoints",a={annotationText:r,annotation:e,numPoints:n,annotationPoint:s[0],additionalAnnotationPoints:s.slice(1)};return i.langFormat("accessibility.screenReaderSection.annotations.description"+o,a)}function Q(e){return Z(e).map(t=>{let i=Y(j(_(t),e.renderer.forExport));return i?`<li>${i}</li>`:""})}let J={getAnnotationsInfoHTML:function(e){let t=e.annotations;if(!(t&&t.length))return"";let i=Q(e);return`<ul style="list-style-type: none">${i.join(" ")}</ul>`},getAnnotationLabelDescription:_,getAnnotationListItems:Q,getPointAnnotationTexts:function(e){let t=Z(e.series.chart).filter(t=>t.points.indexOf(e)>-1);return t.length?t.map(e=>`${$(e)}`):[]}},{getAnnotationsInfoHTML:ee}=J,{getAxisDescription:et,getAxisRangeDescription:ei,getChartTitle:er,unhideChartElementFromAT:es}=M,{format:en}=b(),{doc:eo}=l(),{addClass:ea,getElement:el,getHeadingTagNameForElement:eh,stripHTMLTagsFromString:ed,visuallyHideElement:ec}=g;function eu(e){return(0,a.replaceNested)(e,[/<([\w\-.:!]+)\b[^<>]*>\s*<\/\1>/g,""])}let ep=class extends I{constructor(){super(...arguments),this.screenReaderSections={}}init(){let e=this.chart,t=this;this.initRegionsDefinitions(),this.addEvent(e,"afterGetTableAST",function(e){t.onDataTableCreated(e)}),this.addEvent(e,"afterViewData",function(e){e.wasHidden&&(t.dataTableDiv=e.element,setTimeout(function(){t.focusDataTable()},300))}),this.addEvent(e,"afterHideData",function(){t.viewDataTableButton&&t.viewDataTableButton.setAttribute("aria-expanded","false")}),e.exporting&&this.addEvent(e,"afterPrint",function(){t.updateAllScreenReaderSections()}),this.announcer=new X(e,"assertive")}initRegionsDefinitions(){let e=this,t=this.chart.options.accessibility;this.screenReaderSections={before:{element:null,buildContent:function(i){let r=t.screenReaderSection.beforeChartFormatter;return r?r(i,e):e.defaultBeforeChartFormatter()},insertIntoDOM:function(e,t){t.renderTo.insertBefore(e,t.renderTo.firstChild)},afterInserted:function(){void 0!==e.sonifyButtonId&&e.initSonifyButton(e.sonifyButtonId),void 0!==e.dataTableButtonId&&e.initDataTableButton(e.dataTableButtonId)}},after:{element:null,buildContent:function(i){let r=t.screenReaderSection.afterChartFormatter;return r?r(i,e):e.defaultAfterChartFormatter()},insertIntoDOM:function(e,t){t.renderTo.insertBefore(e,t.container.nextSibling)},afterInserted:function(){e.chart.accessibility&&t.keyboardNavigation.enabled&&e.chart.accessibility.keyboardNavigation.updateExitAnchor()}}}}onChartRender(){this.linkedDescriptionElement=this.getLinkedDescriptionElement(),this.setLinkedDescriptionAttrs(),this.updateAllScreenReaderSections()}updateAllScreenReaderSections(){let e=this;Object.keys(this.screenReaderSections).forEach(function(t){e.updateScreenReaderSection(t)})}getLinkedDescriptionElement(){let e=this.chart.options.accessibility.linkedDescription;if(!e)return;if("string"!=typeof e)return e;let t=en(e,this.chart),i=eo.querySelectorAll(t);if(1===i.length)return i[0]}setLinkedDescriptionAttrs(){let e=this.linkedDescriptionElement;e&&(e.setAttribute("aria-hidden","true"),ea(e,"highcharts-linked-description"))}updateScreenReaderSection(e){let t=this.chart,i=this.screenReaderSections[e],r=i.buildContent(t),s=i.element=i.element||this.createElement("div"),n=s.firstChild||this.createElement("div");r?(this.setScreenReaderSectionAttribs(s,e),K().setElementHTML(n,r),s.appendChild(n),i.insertIntoDOM(s,t),ec(n),t.styledMode&&ea(n,"highcharts-visually-hidden"),es(t,n),i.afterInserted&&i.afterInserted()):(s.parentNode&&s.parentNode.removeChild(s),i.element=null)}setScreenReaderSectionAttribs(e,t){let i=this.chart,r=i.langFormat("accessibility.screenReaderSection."+t+"RegionLabel",{chart:i,chartTitle:er(i)}),s=`highcharts-screen-reader-region-${t}-${i.index}`;(0,a.attr)(e,{id:s,"aria-label":r||void 0}),e.style.position="relative",r&&e.setAttribute("role","all"===i.options.accessibility.landmarkVerbosity?"region":"group")}defaultBeforeChartFormatter(){let e=this.chart,t=e.options.accessibility.screenReaderSection.beforeChartFormat;if(!t)return"";let i=this.getAxesDescription(),r=e.sonify&&e.options.sonification&&e.options.sonification.enabled,s="highcharts-a11y-sonify-data-btn-"+e.index,n="hc-linkto-highcharts-data-table-"+e.index,o=ee(e),a=e.langFormat("accessibility.screenReaderSection.annotations.heading",{chart:e}),l={headingTagName:eh(e.renderTo),chartTitle:er(e),typeDescription:this.getTypeDescriptionText(),chartSubtitle:this.getSubtitleText(),chartLongdesc:this.getLongdescText(),xAxisDescription:i.xAxis,yAxisDescription:i.yAxis,playAsSoundButton:r?this.getSonifyButtonText(s):"",viewTableButton:e.exporting?.getCSV?this.getDataTableButtonText(n):"",annotationsTitle:o?a:"",annotationsList:o},h=E.i18nFormat(t,l,e);return this.dataTableButtonId=n,this.sonifyButtonId=s,eu(h)}defaultAfterChartFormatter(){let e=this.chart,t=e.options.accessibility.screenReaderSection.afterChartFormat;if(!t)return"";let i={endOfChartMarker:this.getEndOfChartMarkerText()};return eu(E.i18nFormat(t,i,e))}getLinkedDescription(){let e=this.linkedDescriptionElement;return ed(e&&e.innerHTML||"",this.chart.renderer.forExport)}getLongdescText(){let e=this.chart.options,t=e.caption,i=t&&t.text,r=this.getLinkedDescription();return e.accessibility.description||r||i||""}getTypeDescriptionText(){let e=this.chart;return e.types?e.options.accessibility.typeDescription||function(e,t){let i,r,s,n=t[0],o=e.series&&e.series[0]||{},a=e.mapView&&e.mapView.geoMap&&e.mapView.geoMap.title,l={numSeries:e.series.length,numPoints:o.points&&o.points.length,chart:e,mapTitle:a};return n?"map"===n||"tiledwebmap"===n?l.mapTitle?e.langFormat("accessibility.chartTypes.mapTypeDescription",l):e.langFormat("accessibility.chartTypes.unknownMap",l):e.types.length>1?e.langFormat("accessibility.chartTypes.combinationChart",l):(i=t[0],r=e.langFormat("accessibility.seriesTypeDescriptions."+i,l),s=e.series&&e.series.length<2?"Single":"Multiple",(e.langFormat("accessibility.chartTypes."+i+s,l)||e.langFormat("accessibility.chartTypes.default"+s,l))+(r?" "+r:"")):e.langFormat("accessibility.chartTypes.emptyChart",l)}(e,e.types):""}getDataTableButtonText(e){let t=this.chart;return'<button id="'+e+'">'+t.langFormat("accessibility.table.viewAsDataTableButtonText",{chart:t,chartTitle:er(t)})+"</button>"}getSonifyButtonText(e){let t=this.chart;return t.options.sonification&&!1===t.options.sonification.enabled?"":'<button id="'+e+'">'+t.langFormat("accessibility.sonification.playAsSoundButtonText",{chart:t,chartTitle:er(t)})+"</button>"}getSubtitleText(){let e=this.chart.options.subtitle;return ed(e&&e.text||"",this.chart.renderer.forExport)}getEndOfChartMarkerText(){let e=el(`highcharts-end-of-chart-marker-${this.chart.index}`);if(e)return e.outerHTML;let t=this.chart,i=t.langFormat("accessibility.screenReaderSection.endOfChartMarker",{chart:t});return'<div id="highcharts-end-of-chart-marker-'+t.index+'">'+i+"</div>"}onDataTableCreated(e){let t=this.chart;if(t.options.accessibility.enabled){this.viewDataTableButton&&this.viewDataTableButton.setAttribute("aria-expanded","true");let i=e.tree.attributes||{};i.tabindex=-1,i.summary=t.langFormat("accessibility.table.tableSummary",{chart:t}),e.tree.attributes=i}}focusDataTable(){let e=this.dataTableDiv,t=e&&e.getElementsByTagName("table")[0];t&&t.focus&&t.focus()}initSonifyButton(e){let t=this.sonifyButton=el(e),i=this.chart,r=e=>{t&&(t.setAttribute("aria-hidden","true"),t.setAttribute("aria-label","")),e.preventDefault(),e.stopPropagation();let r=i.langFormat("accessibility.sonification.playAsSoundClickAnnouncement",{chart:i});this.announcer.announce(r),setTimeout(()=>{t&&(t.removeAttribute("aria-hidden"),t.removeAttribute("aria-label")),i.sonify&&i.sonify()},1e3)};t&&i&&(t.setAttribute("tabindex",-1),t.onclick=function(e){(i.options.accessibility&&i.options.accessibility.screenReaderSection.onPlayAsSoundClick||r).call(this,e,i,this)})}initDataTableButton(e){let t=this.viewDataTableButton=el(e),i=this.chart,r=e.replace("hc-linkto-","");t&&((0,a.attr)(t,{tabindex:-1,"aria-expanded":!!el(r)}),t.onclick=i.options.accessibility.screenReaderSection.onViewDataTableClick||function(){i.exporting?.viewData()})}getAxesDescription(){let e=this.chart,t=function(t,i){let r=e[t];return r.length>1||r[0]&&(0,a.pick)(r[0].options.accessibility&&r[0].options.accessibility.enabled,i)},i=!!e.types&&0>e.types.indexOf("map")&&0>e.types.indexOf("treemap")&&0>e.types.indexOf("tilemap"),r=!!e.hasCartesianSeries,s=t("xAxis",!e.angular&&r&&i),n=t("yAxis",r&&i),o={};return s&&(o.xAxis=this.getAxisDescriptionText("xAxis")),n&&(o.yAxis=this.getAxisDescriptionText("yAxis")),o}getAxisDescriptionText(e){let t=this.chart,i=t[e];return t.langFormat("accessibility.axis."+e+"Description"+(i.length>1?"Plural":"Singular"),{chart:t,names:i.map(function(e){return et(e)}),ranges:i.map(function(e){return ei(e)}),numAxes:i.length})}destroy(){this.announcer&&this.announcer.destroy()}},{getChartTitle:eg,unhideChartElementFromAT:em}=M,{getFakeMouseEvent:eb}=g;function ef(e){return e.exporting?.svgElements?.[0]}class ex extends I{init(){let e=this.chart,t=this;this.addEvent(e,"exportMenuShown",function(){t.onMenuShown()}),this.addEvent(e,"exportMenuHidden",function(){t.onMenuHidden()}),this.createProxyGroup()}onMenuHidden(){let e=this.chart.exporting?.contextMenuEl;e&&e.setAttribute("aria-hidden","true"),this.setExportButtonExpandedState("false")}onMenuShown(){let e=this.chart,t=e.exporting?.contextMenuEl;t&&(this.addAccessibleContextMenuAttribs(),em(e,t)),this.setExportButtonExpandedState("true")}setExportButtonExpandedState(e){this.exportButtonProxy&&this.exportButtonProxy.innerElement.setAttribute("aria-expanded",e)}onChartRender(){let e=this.chart,t=e.focusElement,i=e.accessibility;this.proxyProvider.clearGroup("chartMenu"),this.proxyMenuButton(),this.exportButtonProxy&&t&&t===e.exporting?.group&&(t.focusBorder?e.setFocusToElement(t,this.exportButtonProxy.innerElement):i&&i.keyboardNavigation.tabindexContainer.focus())}proxyMenuButton(){let e,t,i=this.chart,r=this.proxyProvider,s=ef(i);e=i.options.exporting,t=ef(i),e&&!1!==e.enabled&&e.accessibility&&e.accessibility.enabled&&t&&t.element&&s&&(this.exportButtonProxy=r.addProxyElement("chartMenu",{click:s},"button",{"aria-label":i.langFormat("accessibility.exporting.menuButtonLabel",{chart:i,chartTitle:eg(i)}),"aria-expanded":!1,title:i.options.lang.contextButtonTitle||null}))}createProxyGroup(){this.chart&&this.proxyProvider&&this.proxyProvider.addGroup("chartMenu")}addAccessibleContextMenuAttribs(){let e=this.chart,t=e.exporting?.divElements;if(t&&t.length){t.forEach(e=>{e&&("LI"!==e.tagName||e.children&&e.children.length?e.setAttribute("aria-hidden","true"):e.setAttribute("tabindex",-1))});let i=t[0]&&t[0].parentNode;i&&(0,a.attr)(i,{"aria-hidden":void 0,"aria-label":e.langFormat("accessibility.exporting.chartMenuLabel",{chart:e}),role:"list"})}}getKeyboardNavigation(){let e=this.keyCodes,t=this.chart,i=this;return new F(t,{keyCodeMap:[[[e.left,e.up],function(){return i.onKbdPrevious(this)}],[[e.right,e.down],function(){return i.onKbdNext(this)}],[[e.enter,e.space],function(){return i.onKbdClick(this)}]],validate:function(){return!!t.exporting&&t.options.exporting?.buttons?.contextButton.enabled!==!1&&!1!==t.options.exporting.enabled&&!1!==(t.options.exporting.accessibility?.enabled||!1)},init:function(){let e=i.exportButtonProxy,r=i.chart.exporting?.group;e&&r&&t.setFocusToElement(r,e.innerElement)},terminate:function(){t.hideExportMenu()}})}onKbdPrevious(e){let t=this.chart,i=t.options.accessibility,r=e.response,s=t.highlightedExportItemIx||0;for(;s--;)if(t.highlightExportItem(s))return r.success;return i.keyboardNavigation.wrapAround?(t.highlightLastExportItem(),r.success):r.prev}onKbdNext(e){let t=this.chart,i=t.options.accessibility,r=e.response;for(let e=(t.highlightedExportItemIx||0)+1;e<(t.exporting?.divElements?.length||0);++e)if(t.highlightExportItem(e))return r.success;return i.keyboardNavigation.wrapAround?(t.highlightExportItem(0),r.success):r.next}onKbdClick(e){let t=this.chart,i=void 0!==t.highlightedExportItemIx&&t.exporting?.divElements?.[t.highlightedExportItemIx],r=ef(t)?.element;return t.exporting?.openMenu?i&&this.fakeClickEvent(i):(r&&this.fakeClickEvent(r),t.highlightExportItem(0)),e.response.success}}!function(e){function t(){let e=ef(this);if(e){let t=e.element;t.onclick&&(t.onclick=function(){eb("click")})}}function i(){let e=this.exporting?.divElements;e&&this.exporting?.contextMenuEl&&this.exporting?.openMenu&&(e.forEach(e=>{e&&"highcharts-menu-item"===e.className&&e.onmouseout&&e.onmouseout(eb("mouseout"))}),this.highlightedExportItemIx=0,this.exporting.contextMenuEl.hideMenu(),this.container.focus())}function r(e){let t=this.exporting?.divElements?.[e],i=void 0!==this.highlightedExportItemIx&&this.exporting?.divElements?.[this.highlightedExportItemIx];if(t&&"LI"===t.tagName&&!(t.children&&t.children.length)){let r=!!(this.renderTo.getElementsByTagName("g")[0]||{}).focus;return t.focus&&r&&t.focus(),i&&i.onmouseout&&i.onmouseout(eb("mouseout")),t.onmouseover&&t.onmouseover(eb("mouseover")),this.highlightedExportItemIx=e,!0}return!1}function s(){if(this.exporting?.divElements){let e=this.exporting?.divElements.length;for(;e--;)if(this.highlightExportItem(e))return!0}return!1}e.compose=function(e){let n=e.prototype;n.hideExportMenu||(n.hideExportMenu=i,n.highlightExportItem=r,n.highlightLastExportItem=s,n.showExportMenu=t)}}(ex||(ex={}));let ev=ex,{doc:ey,win:eE}=l(),{getElement:ew,simulatedEventTarget:eA}=g;class eT{constructor(e,t){this.currentModuleIx=NaN,this.modules=[],this.init(e,t)}init(e,t){let i=this.eventProvider=new N;this.chart=e,this.components=t,this.modules=[],this.currentModuleIx=0,this.update(),i.addEvent(this.tabindexContainer,"keydown",e=>this.onKeydown(e)),i.addEvent(this.tabindexContainer,"focus",e=>this.onFocus(e)),["mouseup","touchend"].forEach(e=>i.addEvent(ey,e,e=>this.onMouseUp(e))),["mousedown","touchstart"].forEach(t=>i.addEvent(e.renderTo,t,()=>{this.isClickingChart=!0}))}update(e){let t=this.chart.options.accessibility,i=t&&t.keyboardNavigation,r=this.components;this.updateContainerTabindex(),i&&i.enabled&&e&&e.length?(this.modules=e.reduce(function(e,t){let i=r[t].getKeyboardNavigation();return e.concat(i)},[]),this.updateExitAnchor()):(this.modules=[],this.currentModuleIx=0,this.removeExitAnchor())}updateExitAnchor(){let e=ew(`highcharts-end-of-chart-marker-${this.chart.index}`);this.removeExitAnchor(),e?(this.makeElementAnExitAnchor(e),this.exitAnchor=e):this.createExitAnchor()}move(e){let t=this.modules&&this.modules[this.currentModuleIx];t&&t.terminate&&t.terminate(e),this.chart.focusElement&&this.chart.focusElement.removeFocusBorder(),this.currentModuleIx+=e;let i=this.modules&&this.modules[this.currentModuleIx];if(i){if(i.validate&&!i.validate())return this.move(e);if(i.init)return i.init(e),!0}return this.currentModuleIx=0,this.exiting=!0,e>0?this.exitAnchor&&this.exitAnchor.focus():this.tabindexContainer.focus(),!1}onFocus(e){let t=this.chart,i=e.relatedTarget&&t.container.contains(e.relatedTarget),r=t.options.accessibility,s=r&&r.keyboardNavigation;if(s&&s.enabled&&!this.exiting&&!this.tabbingInBackwards&&!this.isClickingChart&&!i){let e=this.getFirstValidModuleIx();null!==e&&(this.currentModuleIx=e,this.modules[e].init(1))}this.keyboardReset=!1,this.exiting=!1}onMouseUp(e){if(delete this.isClickingChart,!this.keyboardReset&&e.relatedTarget!==eA){let t=this.chart;if(!e.target||!t.container.contains(e.target)){let e=this.modules&&this.modules[this.currentModuleIx||0];e&&e.terminate&&e.terminate(),this.currentModuleIx=0}t.focusElement&&(t.focusElement.removeFocusBorder(),delete t.focusElement),this.keyboardReset=!0}}onKeydown(e){let t,i=e||eE.event,r=this.modules&&this.modules.length&&this.modules[this.currentModuleIx],s=i.target;if((!s||"INPUT"!==s.nodeName||s.classList.contains("highcharts-a11y-proxy-element"))&&(this.keyboardReset=!1,this.exiting=!1,r)){let e=r.run(i);e===r.response.success?t=!0:e===r.response.prev?t=this.move(-1):e===r.response.next&&(t=this.move(1)),t&&(i.preventDefault(),i.stopPropagation())}}updateContainerTabindex(){let e,t=this.chart.options.accessibility,i=t&&t.keyboardNavigation,r=!(i&&!1===i.enabled),s=this.chart,n=s.container;s.renderTo.hasAttribute("tabindex")?(n.removeAttribute("tabindex"),e=s.renderTo):e=n,this.tabindexContainer=e;let o=e.getAttribute("tabindex");r&&!o?e.setAttribute("tabindex","0"):r||s.container.removeAttribute("tabindex")}createExitAnchor(){let e=this.chart,t=this.exitAnchor=ey.createElement("div");e.renderTo.appendChild(t),this.makeElementAnExitAnchor(t)}makeElementAnExitAnchor(e){let t=this.tabindexContainer.getAttribute("tabindex")||0;e.setAttribute("class","highcharts-exit-anchor"),e.setAttribute("tabindex",t),e.setAttribute("aria-hidden",!1),this.addExitAnchorEventsToEl(e)}removeExitAnchor(){if(this.exitAnchor){let e=this.eventProvider.eventRemovers.find(e=>e.element===this.exitAnchor);e&&(0,a.defined)(e.remover)&&this.eventProvider.removeEvent(e.remover),this.exitAnchor.parentNode&&this.exitAnchor.parentNode.removeChild(this.exitAnchor),delete this.exitAnchor}}addExitAnchorEventsToEl(e){let t=this.chart,i=this;this.eventProvider.addEvent(e,"focus",function(e){let r=e||eE.event,s=!(r.relatedTarget&&t.container.contains(r.relatedTarget)||i.exiting);if(t.focusElement&&delete t.focusElement,s){if(i.tabbingInBackwards=!0,i.tabindexContainer.focus(),delete i.tabbingInBackwards,r.preventDefault(),i.modules&&i.modules.length){i.currentModuleIx=i.modules.length-1;let e=i.modules[i.currentModuleIx];e&&e.validate&&!e.validate()?i.move(-1):e&&e.init(-1)}}else i.exiting=!1})}getFirstValidModuleIx(){let e=this.modules.length;for(let t=0;t<e;++t){let e=this.modules[t];if(!e.validate||e.validate())return t}return null}destroy(){this.removeExitAnchor(),this.eventProvider.removeAddedEvents(),this.chart.container.removeAttribute("tabindex")}}function ek(){let e=this;(0,a.fireEvent)(this,"dismissPopupContent",{},function(){e.tooltip&&e.tooltip.hide(0),e.hideExportMenu()})}function eM(e){27===(e.which||e.keyCode)&&l().charts&&l().charts.forEach(e=>{e&&e.dismissPopupContent&&e.dismissPopupContent()})}(eT||(eT={})).compose=function(e){ev.compose(e);let t=e.prototype;return!t.dismissPopupContent&&(t.dismissPopupContent=ek,ey&&(0,a.addEvent)(ey,"keydown",eM)),e};let eC=eT,eS=t.default.Legend;var eP=o.n(eS);let{animObject:eN}=l(),{doc:eD}=l(),{getChartTitle:eB}=M,{stripHTMLTagsFromString:eI,addClass:eF,removeClass:eO}=g;function eR(e){let t=e.legend&&e.legend.allItems,i=e.options.legend.accessibility||{},r=e.colorAxis&&e.colorAxis.some(e=>!e.dataClasses||!e.dataClasses.length);return!!(t&&t.length&&!r&&!1!==i.enabled)}function eL(e,t){let i=t.legendItem||{};for(let r of(t.setState(e?"hover":"",!0),["group","label","symbol"])){let t=i[r],s=t&&t.element||t;s&&(0,a.fireEvent)(s,e?"mouseover":"mouseout")}}class eH extends I{constructor(){super(...arguments),this.highlightedLegendItemIx=NaN,this.proxyGroup=null}init(){let e=this;this.recreateProxies(),this.addEvent(eP(),"afterScroll",function(){this.chart===e.chart&&(e.proxyProvider.updateGroupProxyElementPositions("legend"),e.updateLegendItemProxyVisibility(),e.highlightedLegendItemIx>-1&&this.chart.highlightLegendItem(e.highlightedLegendItemIx))}),this.addEvent(eP(),"afterPositionItem",function(t){this.chart===e.chart&&this.chart.renderer&&e.updateProxyPositionForItem(t.item)}),this.addEvent(eP(),"afterRender",function(){this.chart===e.chart&&this.chart.renderer&&e.recreateProxies()&&(0,a.syncTimeout)(()=>e.proxyProvider.updateGroupProxyElementPositions("legend"),eN((0,a.pick)(this.chart.renderer.globalAnimation,!0)).duration)})}updateLegendItemProxyVisibility(){let e,t=this.chart,i=t.legend,r=i.allItems||[],s=i.currentPage||1,n=i.clipHeight||0;r.forEach(r=>{if(r.a11yProxyElement){let o=i.pages&&i.pages.length,a=r.a11yProxyElement.element,l=!1;if(e=r.legendItem||{},o){let t=e.pageIx||0;l=(e.y||0)+(e.label?Math.round(e.label.getBBox().height):0)-i.pages[t]>n||t!==s-1}l?t.styledMode?eF(a,"highcharts-a11y-invisible"):a.style.visibility="hidden":(eO(a,"highcharts-a11y-invisible"),a.style.visibility="")}})}onChartRender(){eR(this.chart)||this.removeProxies()}highlightAdjacentLegendPage(e){let t=this.chart,i=t.legend,r=(i.currentPage||1)+e,s=i.pages||[];if(r>0&&r<=s.length){let e=0;for(let s of i.allItems)((s.legendItem||{}).pageIx||0)+1===r&&t.highlightLegendItem(e)&&(this.highlightedLegendItemIx=e),++e}}updateProxyPositionForItem(e){e.a11yProxyElement&&e.a11yProxyElement.refreshPosition()}recreateProxies(){let e=eD.activeElement,t=this.proxyGroup,i=e&&t&&t.contains(e);return this.removeProxies(),!!eR(this.chart)&&(this.addLegendProxyGroup(),this.proxyLegendItems(),this.updateLegendItemProxyVisibility(),this.updateLegendTitle(),i&&this.chart.highlightLegendItem(this.highlightedLegendItemIx),!0)}removeProxies(){this.proxyProvider.removeGroup("legend")}updateLegendTitle(){let e=this.chart,t=eI((e.legend&&e.legend.options.title&&e.legend.options.title.text||"").replace(/<br ?\/?>/g," "),e.renderer.forExport),i=e.langFormat("accessibility.legend.legendLabel"+(t?"":"NoTitle"),{chart:e,legendTitle:t,chartTitle:eB(e)});this.proxyProvider.updateGroupAttrs("legend",{"aria-label":i})}addLegendProxyGroup(){let e="all"===this.chart.options.accessibility.landmarkVerbosity?"region":null;this.proxyGroup=this.proxyProvider.addGroup("legend","ul",{"aria-label":"_placeholder_",role:e})}proxyLegendItems(){let e,t=this;((this.chart.legend||{}).allItems||[]).forEach(i=>{(e=i.legendItem||{}).label&&e.label.element&&t.proxyLegendItem(i)})}proxyLegendItem(e){let t=e.legendItem||{},i=e.legendItem?.label,r=i?.element,s=t.label?.styles?.textOverflow==="ellipsis";if(!t.label||!t.group)return;let n=this.chart.langFormat("accessibility.legend.legendItem",{chart:this.chart,itemName:eI(e.name,this.chart.renderer.forExport),item:e}),o={tabindex:-1,"aria-pressed":e.visible,"aria-label":n,title:""};s&&-1!==(r.textContent||"").indexOf("…")&&(o.title=i?.textStr);let a=t.group.div?t.label:t.group;e.a11yProxyElement=this.proxyProvider.addProxyElement("legend",{click:t.label,visual:a.element},"button",o)}getKeyboardNavigation(){let e=this.keyCodes,t=this,i=this.chart;return new F(i,{keyCodeMap:[[[e.left,e.right,e.up,e.down],function(e){return t.onKbdArrowKey(this,e)}],[[e.enter,e.space],function(){return t.onKbdClick(this)}],[[e.pageDown,e.pageUp],function(i){let r=i===e.pageDown?1:-1;return t.highlightAdjacentLegendPage(r),this.response.success}]],validate:function(){return t.shouldHaveLegendNavigation()},init:function(){i.highlightLegendItem(0),t.highlightedLegendItemIx=0},terminate:function(){t.highlightedLegendItemIx=-1,i.legend.allItems.forEach(e=>eL(!1,e))}})}onKbdArrowKey(e,t){let{keyCodes:{left:i,up:r},highlightedLegendItemIx:s,chart:n}=this,o=n.legend.allItems.length,a=n.options.accessibility.keyboardNavigation.wrapAround,l=t===i||t===r?-1:1;return n.highlightLegendItem(s+l)?this.highlightedLegendItemIx+=l:a&&o>1&&(this.highlightedLegendItemIx=l>0?0:o-1,n.highlightLegendItem(this.highlightedLegendItemIx)),e.response.success}onKbdClick(e){let t=this.chart.legend.allItems[this.highlightedLegendItemIx];return t&&t.a11yProxyElement&&t.a11yProxyElement.click(),e.response.success}shouldHaveLegendNavigation(){if(!eR(this.chart))return!1;let e=this.chart,t=(e.options.legend||{}).accessibility||{};return!!(e.legend.display&&t.keyboardNavigation&&t.keyboardNavigation.enabled)}destroy(){this.removeProxies()}}function ez(e){let t=this.legend.allItems,i=this.accessibility&&this.accessibility.components.legend.highlightedLegendItemIx,r=t[e],s=r?.legendItem||{};if(r){var n;let o,l;(0,a.isNumber)(i)&&t[i]&&eL(!1,t[i]),n=this.legend,o=(n.allItems[e].legendItem||{}).pageIx,l=n.currentPage,void 0!==o&&o+1!==l&&n.scroll(1+o-l);let h=s.label,d=r.a11yProxyElement&&r.a11yProxyElement.innerElement;return h&&h.element&&d&&this.setFocusToElement(h,d),eL(!0,r),!0}return!1}function eq(e){let t=this.chart.options.accessibility,i=e.item;t.enabled&&i&&i.a11yProxyElement&&i.a11yProxyElement.innerElement.setAttribute("aria-pressed",e.visible?"true":"false")}(eH||(eH={})).compose=function(e,t){let i=e.prototype;i.highlightLegendItem||(i.highlightLegendItem=ez,(0,a.addEvent)(t,"afterColorizeItem",eq))};let eU=eH,eK=t.default.Axis;var eG=o.n(eK);let{isTouchDevice:eW}=l(),eV=[];function eX(){this.navigator&&this.navigator.setBaseSeries(null,!1)}function eY(){let e,t,i,r=this.legend,s=this.navigator;if(s){e=r&&r.options,t=s.xAxis,i=s.yAxis;let{scrollbarHeight:n,scrollButtonSize:o}=s;this.inverted?(s.left=s.opposite?this.chartWidth-n-s.height:this.spacing[3]+n,s.top=this.plotTop+o):(s.left=(0,a.pick)(t.left,this.plotLeft+o),s.top=s.navigatorOptions.top||this.chartHeight-s.height-n-(this.scrollbar?.options.margin||0)-this.spacing[2]-(this.rangeSelector&&this.extraBottomMargin?this.rangeSelector.getHeight():0)-(e&&"bottom"===e.verticalAlign&&"proximate"!==e.layout&&e.enabled&&!e.floating?r.legendHeight+(0,a.pick)(e.margin,10):0)-(this.titleOffset?this.titleOffset[2]:0)),t&&i&&(this.inverted?t.options.left=i.options.left=s.left:t.options.top=i.options.top=s.top,t.setAxisSize(),i.setAxisSize())}}function ej(t){!this.navigator&&!this.scroller&&(this.options.navigator.enabled||this.options.scrollbar.enabled)&&(this.scroller=this.navigator=new e(this),(0,a.pick)(t.redraw,!0)&&this.redraw(t.animation))}function eZ(){let t=this.options;(t.navigator.enabled||t.scrollbar.enabled)&&(this.scroller=this.navigator=new e(this))}function e$(){let e=this.options,t=e.navigator,i=e.rangeSelector;if((t&&t.enabled||i&&i.enabled)&&(!eW&&"x"===this.zooming.type||eW&&"x"===this.zooming.pinchType))return!1}function e_(e){let t=e.navigator;if(t&&e.xAxis[0]){let i=e.xAxis[0].getExtremes();t.render(i.min,i.max)}}function eQ(e){let t=e.options.navigator||{},i=e.options.scrollbar||{};!this.navigator&&!this.scroller&&(t.enabled||i.enabled)&&((0,a.merge)(!0,this.options.navigator,t),(0,a.merge)(!0,this.options.scrollbar,i),delete e.options.navigator,delete e.options.scrollbar)}let eJ=function(t,i){if((0,a.pushUnique)(eV,t)){let r=t.prototype;e=i,r.callbacks.push(e_),(0,a.addEvent)(t,"afterAddSeries",eX),(0,a.addEvent)(t,"afterSetChartSize",eY),(0,a.addEvent)(t,"afterUpdate",ej),(0,a.addEvent)(t,"beforeRender",eZ),(0,a.addEvent)(t,"beforeShowResetZoom",e$),(0,a.addEvent)(t,"update",eQ)}},{isTouchDevice:e0}=l();function e1(){this.navigatorAxis||(this.navigatorAxis=new e3(this))}function e2(e){let t,i=this.chart,r=i.options,s=r.navigator,n=this.navigatorAxis,o=i.zooming.pinchType,l=r.rangeSelector,h=i.zooming.type;if(this.isXAxis&&(s?.enabled||l?.enabled)){if("y"===h&&"zoom"===e.trigger)t=!1;else if(("zoom"===e.trigger&&"xy"===h||e0&&"xy"===o)&&this.options.range){let t=n.previousZoom;(0,a.defined)(e.min)?n.previousZoom=[this.min,this.max]:t&&(e.min=t[0],e.max=t[1],n.previousZoom=void 0)}}void 0!==t&&e.preventDefault()}class e3{static compose(e){e.keepProps.includes("navigatorAxis")||(e.keepProps.push("navigatorAxis"),(0,a.addEvent)(e,"init",e1),(0,a.addEvent)(e,"setExtremes",e2))}constructor(e){this.axis=e}destroy(){this.axis=void 0}toFixedRange(e,t,i,r){let s=this.axis,n=(s.pointRange||0)/2,o=(0,a.pick)(i,s.translate(e,!0,!s.horiz)),l=(0,a.pick)(r,s.translate(t,!0,!s.horiz));return(0,a.defined)(i)||(o=(0,a.correctFloat)(o+n)),(0,a.defined)(r)||(l=(0,a.correctFloat)(l-n)),(0,a.isNumber)(o)&&(0,a.isNumber)(l)||(o=l=void 0),{min:o,max:l}}}let e5=t.default.SeriesRegistry;var e4=o.n(e5);let{seriesTypes:e6}=e4(),e8={height:40,margin:22,maskInside:!0,handles:{width:7,borderRadius:0,height:15,symbols:["navigator-handle","navigator-handle"],enabled:!0,lineWidth:1,backgroundColor:"var(--highcharts-neutral-color-5)",borderColor:"var(--highcharts-neutral-color-40)"},maskFill:"color-mix(var(--highcharts-highlight-color-60) 30%, transparent)",outlineColor:"var(--highcharts-neutral-color-40)",outlineWidth:1,series:{type:void 0===e6.areaspline?"line":"areaspline",fillOpacity:.05,lineWidth:1,compare:null,sonification:{enabled:!1},dataGrouping:{approximation:"average",enabled:!0,groupPixelWidth:2,firstAnchor:"firstPoint",anchor:"middle",lastAnchor:"lastPoint",units:[["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,3,4]],["week",[1,2,3]],["month",[1,3,6]],["year",null]]},dataLabels:{enabled:!1,zIndex:2},id:"highcharts-navigator-series",className:"highcharts-navigator-series",lineColor:null,marker:{enabled:!1},threshold:null},xAxis:{className:"highcharts-navigator-xaxis",tickLength:0,lineWidth:0,gridLineColor:"var(--highcharts-neutral-color-10)",id:"navigator-x-axis",gridLineWidth:1,tickPixelInterval:200,labels:{align:"left",style:{color:"var(--highcharts-neutral-color-100)",fontSize:"0.7em",opacity:.6,textOutline:"2px contrast"},x:3,y:-4},crosshair:!1},yAxis:{className:"highcharts-navigator-yaxis",gridLineWidth:0,startOnTick:!1,endOnTick:!1,minPadding:.1,id:"navigator-y-axis",maxPadding:.1,labels:{enabled:!1},crosshair:!1,title:{text:void 0},tickLength:0,tickWidth:0}},e9={"navigator-handle":function(e,t,i,r,s={}){var n,o,l,h;let d=s.width?s.width/2:i,c=(0,a.relativeLength)(s.borderRadius||0,Math.min(2*d,r));return[["M",-1.5,(r=s.height||r)/2-3.5],["L",-1.5,r/2+4.5],["M",.5,r/2-3.5],["L",.5,r/2+4.5],...(n=-d-1,o=2*d+1,l=r,h={r:c},h?.r?function(e,t,i,r,s){let n=s?.r||0;return[["M",e+n,t],["L",e+i-n,t],["A",n,n,0,0,1,e+i,t+n],["L",e+i,t+r-n],["A",n,n,0,0,1,e+i-n,t+r],["L",e+n,t+r],["A",n,n,0,0,1,e,t+r-n],["L",e,t+n],["A",n,n,0,0,1,e+n,t],["Z"]]}(n,.5,o,l,h):[["M",n,.5],["L",n+o,.5],["L",n+o,.5+l],["L",n,.5+l],["Z"]])]}},e7=t.default.SVGRenderer;var te=o.n(e7);let{defaultOptions:tt}=l(),{composed:ti}=l(),{setFixedRange:tr}={setFixedRange:function(e){let t=this.xAxis[0];(0,a.defined)(t.dataMax)&&(0,a.defined)(t.dataMin)&&e?this.fixedRange=Math.min(e,t.dataMax-t.dataMin):this.fixedRange=e}};function ts(){this.chart.navigator&&!this.options.isInternal&&this.chart.navigator.setBaseSeries(null,!1)}let tn=function(e,t,i){e3.compose(t),(0,a.pushUnique)(ti,"Navigator")&&(e.prototype.setFixedRange=tr,(0,a.extend)(te().prototype.symbols,e9),(0,a.extend)(tt,{navigator:e8}),(0,a.addEvent)(i,"afterUpdate",ts))},{composed:to}=l();!function(e){let t;function i(e){let t=(0,a.pick)(e.options?.min,e.min),i=(0,a.pick)(e.options?.max,e.max);return{axisMin:t,axisMax:i,scrollMin:(0,a.defined)(e.dataMin)?Math.min(t,e.min??1/0,e.dataMin,e.threshold??1/0):t,scrollMax:e.treeGrid?.adjustedMax??((0,a.defined)(e.dataMax)?Math.max(i,e.max??-1/0,e.dataMax,e.threshold??-1/0):i)}}function r(){let e=this.scrollbar,t=e&&!e.options.opposite,i=this.horiz?2:t?3:1;e&&(this.chart.scrollbarsOffsets=[0,0],this.chart.axisOffset[i]+=e.size+(e.options.margin||0))}function s(){let e=this;e.options?.scrollbar?.enabled&&(e.options.scrollbar.vertical=!e.horiz,e.options.startOnTick=e.options.endOnTick=!1,e.scrollbar=new t(e.chart.renderer,e.options.scrollbar,e.chart),(0,a.addEvent)(e.scrollbar,"changed",function(t){let r,s,{axisMin:n,axisMax:o,scrollMin:l,scrollMax:h}=i(e),d=e.toPixels(l),c=e.toPixels(h)-d;if((0,a.defined)(n)&&(0,a.defined)(o))if(e.horiz&&!e.reversed||!e.horiz&&e.reversed?(r=Math.min(h,e.toValue(d+c*this.to)),s=Math.max(l,e.toValue(d+c*this.from))):(r=Math.min(h,e.toValue(d+c*(1-this.from))),s=Math.max(l,e.toValue(d+c*(1-this.to)))),this.shouldUpdateExtremes(t.DOMType)){let i="mousemove"!==t.DOMType&&"touchmove"!==t.DOMType&&void 0;e.setExtremes((0,a.correctFloat)(s),(0,a.correctFloat)(r),!0,i,t)}else this.setRange(this.from,this.to)}))}function n(){let e,t,r,{scrollMin:s,scrollMax:n}=i(this),o=this.scrollbar,l=(this.axisTitleMargin||0)+(this.titleOffset||0),h=this.chart.scrollbarsOffsets,d=this.options.margin||0;if(o&&h){if(this.horiz)this.opposite||(h[1]+=l),o.position(this.left,this.top+this.height+2+h[1]-(this.opposite?d:0),this.width,this.height),this.opposite||(h[1]+=d),e=1;else{let t;this.opposite&&(h[0]+=l),t=o.options.opposite?this.left+this.width+2+h[0]-(this.opposite?0:d):this.opposite?0:d,o.position(t,this.top,this.width,this.height),this.opposite&&(h[0]+=d),e=0}if(h[e]+=o.size+(o.options.margin||0),isNaN(s)||isNaN(n)||!(0,a.defined)(this.min)||!(0,a.defined)(this.max)||(0,a.defined)(this.dataMin)&&this.dataMin===this.dataMax)o.setRange(0,1);else if(this.min===this.max){let e=this.pointRange/(this.dataMax+1);t=e*this.min,r=e*(this.max+1),o.setRange(t,r)}else t=(this.toPixels(this.min)-this.toPixels(s))/(this.toPixels(n)-this.toPixels(s)),r=(this.toPixels(this.max)-this.toPixels(s))/(this.toPixels(n)-this.toPixels(s)),this.horiz&&!this.reversed||!this.horiz&&this.reversed?o.setRange(t,r):o.setRange(1-r,1-t)}}e.compose=function(e,i){(0,a.pushUnique)(to,"Axis.Scrollbar")&&(t=i,(0,a.addEvent)(e,"afterGetOffset",r),(0,a.addEvent)(e,"afterInit",s),(0,a.addEvent)(e,"afterRender",n))}}(s||(s={}));let ta=s,tl={height:10,barBorderRadius:5,buttonBorderRadius:0,buttonsEnabled:!1,liveRedraw:void 0,margin:void 0,minWidth:6,opposite:!0,step:.2,zIndex:3,barBackgroundColor:"var(--highcharts-neutral-color-20)",barBorderWidth:0,barBorderColor:"var(--highcharts-neutral-color-20)",buttonArrowColor:"var(--highcharts-neutral-color-80)",buttonBackgroundColor:"var(--highcharts-neutral-color-10)",buttonBorderColor:"var(--highcharts-neutral-color-20)",buttonBorderWidth:1,rifleColor:"none",trackBackgroundColor:"rgba(255, 255, 255, 0.001)",trackBorderColor:"var(--highcharts-neutral-color-20)",trackBorderRadius:5,trackBorderWidth:1},{defaultOptions:th}=l(),{composed:td}=l();class tc{static compose(e){ta.compose(e,tc),(0,a.pushUnique)(td,"Scrollbar")&&(0,a.extend)(th,{scrollbar:tl})}static swapXY(e,t){return t&&e.forEach(e=>{let t,i=e.length;for(let r=0;r<i;r+=2)"number"==typeof(t=e[r+1])&&(e[r+1]=e[r+2],e[r+2]=t)}),e}constructor(e,t,i){this._events=[],this.chartX=0,this.chartY=0,this.from=0,this.scrollbarButtons=[],this.scrollbarLeft=0,this.scrollbarStrokeWidth=1,this.scrollbarTop=0,this.size=0,this.to=0,this.trackBorderWidth=1,this.x=0,this.y=0,this.init(e,t,i)}addEvents(){let e=this.options.inverted?[1,0]:[0,1],t=this.scrollbarButtons,i=this.scrollbarGroup.element,r=this.track.element,s=this.mouseDownHandler.bind(this),n=this.mouseMoveHandler.bind(this),o=this.mouseUpHandler.bind(this),l=[[t[e[0]].element,"click",this.buttonToMinClick.bind(this)],[t[e[1]].element,"click",this.buttonToMaxClick.bind(this)],[r,"click",this.trackClick.bind(this)],[i,"mousedown",s],[i.ownerDocument,"mousemove",n],[i.ownerDocument,"mouseup",o],[i,"touchstart",s],[i.ownerDocument,"touchmove",n],[i.ownerDocument,"touchend",o]];l.forEach(function(e){a.addEvent.apply(null,e)}),this._events=l}buttonToMaxClick(e){let t=(this.to-this.from)*(0,a.pick)(this.options.step,.2);this.updatePosition(this.from+t,this.to+t),(0,a.fireEvent)(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:e})}buttonToMinClick(e){let t=(0,a.correctFloat)(this.to-this.from)*(0,a.pick)(this.options.step,.2);this.updatePosition((0,a.correctFloat)(this.from-t),(0,a.correctFloat)(this.to-t)),(0,a.fireEvent)(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:e})}cursorToScrollbarPosition(e){let t=this.options,i=t.minWidth>this.calculatedWidth?t.minWidth:0;return{chartX:(e.chartX-this.x-this.xOffset)/(this.barWidth-i),chartY:(e.chartY-this.y-this.yOffset)/(this.barWidth-i)}}destroy(){let e=this,t=e.chart.scroller;e.removeEvents(),["track","scrollbarRifles","scrollbar","scrollbarGroup","group"].forEach(function(t){e[t]&&e[t].destroy&&(e[t]=e[t].destroy())}),t&&e===t.scrollbar&&(t.scrollbar=null,(0,a.destroyObjectProperties)(t.scrollbarButtons))}drawScrollbarButton(e){let t=this.renderer,i=this.scrollbarButtons,r=this.options,s=this.size,n=t.g().add(this.group);if(i.push(n),r.buttonsEnabled){let o=t.rect().addClass("highcharts-scrollbar-button").add(n);this.chart.styledMode||o.attr({stroke:r.buttonBorderColor,"stroke-width":r.buttonBorderWidth,fill:r.buttonBackgroundColor}),o.attr(o.crisp({x:-.5,y:-.5,width:s,height:s,r:r.buttonBorderRadius},o.strokeWidth()));let a=t.path(tc.swapXY([["M",s/2+(e?-1:1),s/2-3],["L",s/2+(e?-1:1),s/2+3],["L",s/2+(e?2:-2),s/2]],r.vertical)).addClass("highcharts-scrollbar-arrow").add(i[e]);this.chart.styledMode||a.attr({fill:r.buttonArrowColor})}}init(e,t,i){this.scrollbarButtons=[],this.renderer=e,this.userOptions=t,this.options=(0,a.merge)(tl,th.scrollbar,t),this.options.margin=(0,a.pick)(this.options.margin,10),this.chart=i,this.size=(0,a.pick)(this.options.size,this.options.height),t.enabled&&(this.render(),this.addEvents())}mouseDownHandler(e){let t=this.chart.pointer?.normalize(e)||e,i=this.cursorToScrollbarPosition(t);this.chartX=i.chartX,this.chartY=i.chartY,this.initPositions=[this.from,this.to],this.grabbedCenter=!0}mouseMoveHandler(e){let t,i=this.chart.pointer?.normalize(e)||e,r=this.options.vertical?"chartY":"chartX",s=this.initPositions||[];this.grabbedCenter&&(!e.touches||0!==e.touches[0][r])&&(t=this.cursorToScrollbarPosition(i)[r]-this[r],this.hasDragged=!0,this.updatePosition(s[0]+t,s[1]+t),this.hasDragged&&(0,a.fireEvent)(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:e.type,DOMEvent:e}))}mouseUpHandler(e){this.hasDragged&&(0,a.fireEvent)(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:e.type,DOMEvent:e}),this.grabbedCenter=this.hasDragged=this.chartX=this.chartY=null}position(e,t,i,r){let{buttonsEnabled:s,margin:n=0,vertical:o}=this.options,a=this.rendered?"animate":"attr",l=r,h=0;this.group.show(),this.x=e,this.y=t+this.trackBorderWidth,this.width=i,this.height=r,this.xOffset=l,this.yOffset=h,o?(this.width=this.yOffset=i=h=this.size,this.xOffset=l=0,this.yOffset=h=s?this.size:0,this.barWidth=r-(s?2*i:0),this.x=e+=n):(this.height=r=this.size,this.xOffset=l=s?this.size:0,this.barWidth=i-(s?2*r:0),this.y=this.y+n),this.group[a]({translateX:e,translateY:this.y}),this.track[a]({width:i,height:r}),this.scrollbarButtons[1][a]({translateX:o?0:i-l,translateY:o?r-h:0})}removeEvents(){this._events.forEach(function(e){a.removeEvent.apply(null,e)}),this._events.length=0}render(){let e=this.renderer,t=this.options,i=this.size,r=this.chart.styledMode,s=e.g("scrollbar").attr({zIndex:t.zIndex}).hide().add();this.group=s,this.track=e.rect().addClass("highcharts-scrollbar-track").attr({r:t.trackBorderRadius||0,height:i,width:i}).add(s),r||this.track.attr({fill:t.trackBackgroundColor,stroke:t.trackBorderColor,"stroke-width":t.trackBorderWidth});let n=this.trackBorderWidth=this.track.strokeWidth();this.track.attr({x:-(0,a.crisp)(0,n),y:-(0,a.crisp)(0,n)}),this.scrollbarGroup=e.g().add(s),this.scrollbar=e.rect().addClass("highcharts-scrollbar-thumb").attr({height:i-n,width:i-n,r:t.barBorderRadius||0}).add(this.scrollbarGroup),this.scrollbarRifles=e.path(tc.swapXY([["M",-3,i/4],["L",-3,2*i/3],["M",0,i/4],["L",0,2*i/3],["M",3,i/4],["L",3,2*i/3]],t.vertical)).addClass("highcharts-scrollbar-rifles").add(this.scrollbarGroup),r||(this.scrollbar.attr({fill:t.barBackgroundColor,stroke:t.barBorderColor,"stroke-width":t.barBorderWidth}),this.scrollbarRifles.attr({stroke:t.rifleColor,"stroke-width":1})),this.scrollbarStrokeWidth=this.scrollbar.strokeWidth(),this.scrollbarGroup.translate(-(0,a.crisp)(0,this.scrollbarStrokeWidth),-(0,a.crisp)(0,this.scrollbarStrokeWidth)),this.drawScrollbarButton(0),this.drawScrollbarButton(1)}setRange(e,t){let i,r,s=this.options,n=s.vertical,o=s.minWidth,l=this.barWidth,h=!this.rendered||this.hasDragged||this.chart.navigator&&this.chart.navigator.hasDragged?"attr":"animate";if(!(0,a.defined)(l))return;let d=l*Math.min(t,1);i=Math.ceil(l*(e=Math.max(e,0))),this.calculatedWidth=r=(0,a.correctFloat)(d-i),r<o&&(i=(l-o+r)*e,r=o);let c=Math.floor(i+this.xOffset+this.yOffset),u=r/2-.5;this.from=e,this.to=t,n?(this.scrollbarGroup[h]({translateY:c}),this.scrollbar[h]({height:r}),this.scrollbarRifles[h]({translateY:u}),this.scrollbarTop=c,this.scrollbarLeft=0):(this.scrollbarGroup[h]({translateX:c}),this.scrollbar[h]({width:r}),this.scrollbarRifles[h]({translateX:u}),this.scrollbarLeft=c,this.scrollbarTop=0),r<=12?this.scrollbarRifles.hide():this.scrollbarRifles.show(),!1===s.showFull&&(e<=0&&t>=1?this.group.hide():this.group.show()),this.rendered=!0}shouldUpdateExtremes(e){return(0,a.pick)(this.options.liveRedraw,l().svg&&!l().isTouchDevice&&!this.chart.boosted)||"mouseup"===e||"touchend"===e||!(0,a.defined)(e)}trackClick(e){let t=this.chart.pointer?.normalize(e)||e,i=this.to-this.from,r=this.y+this.scrollbarTop,s=this.x+this.scrollbarLeft;this.options.vertical&&t.chartY>r||!this.options.vertical&&t.chartX>s?this.updatePosition(this.from+i,this.to+i):this.updatePosition(this.from-i,this.to-i),(0,a.fireEvent)(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:e})}update(e){this.destroy(),this.init(this.chart.renderer,(0,a.merge)(!0,this.options,e),this.chart)}updatePosition(e,t){t>1&&(e=(0,a.correctFloat)(1-(0,a.correctFloat)(t-e)),t=1),e<0&&(t=(0,a.correctFloat)(t-e),e=0),this.from=e,this.to=t}}tc.defaultOptions=tl;let{defaultOptions:tu}=l(),{isTouchDevice:tp}=l();function tg(e,...t){let i=[].filter.call(t,a.isNumber);if(i.length)return Math[e].apply(0,i)}class tm{static compose(e,t,i){eJ(e,tm),tn(e,t,i)}constructor(e){this.isDirty=!1,this.scrollbarHeight=0,this.init(e)}drawHandle(e,t,i,r){let s=this.navigatorOptions.handles.height;this.handles[t][r](i?{translateX:Math.round(this.left+this.height/2),translateY:Math.round(this.top+parseInt(e,10)+.5-s)}:{translateX:Math.round(this.left+parseInt(e,10)),translateY:Math.round(this.top+this.height/2-s/2-1)})}drawOutline(e,t,i,r){let s=this.navigatorOptions.maskInside,n=this.outline.strokeWidth(),o=n/2,a=n%2/2,l=this.scrollButtonSize,h=this.size,d=this.top,c=this.height,u=d-o,p=d+c,g=this.left,m,b;i?(m=d+t+a,t=d+e+a,b=[["M",g+c,d-l-a],["L",g+c,m],["L",g,m],["M",g,t],["L",g+c,t],["L",g+c,d+h+l]],s&&b.push(["M",g+c,m-o],["L",g+c,t+o])):(g-=l,e+=g+l-a,t+=g+l-a,b=[["M",g,u],["L",e,u],["L",e,p],["M",t,p],["L",t,u],["L",g+h+2*l,u]],s&&b.push(["M",e-o,u],["L",t+o,u])),this.outline[r]({d:b})}drawMasks(e,t,i,r){let s,n,o,a,l=this.left,h=this.top,d=this.height;i?(o=[l,l,l],a=[h,h+e,h+t],n=[d,d,d],s=[e,t-e,this.size-t]):(o=[l,l+e,l+t],a=[h,h,h],n=[e,t-e,this.size-t],s=[d,d,d]),this.shades.forEach((e,t)=>{e[r]({x:o[t],y:a[t],width:n[t],height:s[t]})})}renderElements(){let e=this,t=e.navigatorOptions,i=t.maskInside,r=e.chart,s=r.inverted,n=r.renderer,o={cursor:s?"ns-resize":"ew-resize"},a=e.navigatorGroup??(e.navigatorGroup=n.g("navigator").attr({zIndex:8,visibility:"hidden"}).add());if([!i,i,!i].forEach((i,s)=>{let l=e.shades[s]??(e.shades[s]=n.rect().addClass("highcharts-navigator-mask"+(1===s?"-inside":"-outside")).add(a));r.styledMode||(l.attr({fill:i?t.maskFill:"rgba(0,0,0,0)"}),1===s&&l.css(o))}),e.outline||(e.outline=n.path().addClass("highcharts-navigator-outline").add(a)),r.styledMode||e.outline.attr({"stroke-width":t.outlineWidth,stroke:t.outlineColor}),t.handles?.enabled){let i=!1,s=t.handles,{height:l,width:h}=s;[0,1].forEach(t=>{let d=s.symbols[t];(i=i||e.handles[t]?.symbolName!==d)&&(e.handles[t]?.destroy(),e.handles[t]=n.symbol(d,-h/2-1,0,h,l,s),e.handles[t].attr({zIndex:7-t}).addClass("highcharts-navigator-handle highcharts-navigator-handle-"+["left","right"][t]).add(a)),r.inverted&&e.handles[t].attr({rotation:90,rotationOriginX:Math.floor(-h/2),rotationOriginY:(l+h)/2}),r.styledMode||e.handles[t].attr({fill:s.backgroundColor,stroke:s.borderColor,"stroke-width":s.lineWidth,width:s.width,height:s.height,x:-h/2-1,y:0}).css(o)}),i&&(e.partsEventsToUnbind?.forEach(e=>{e()}),e.partsEventsToUnbind=[...e.getPartsEvents("mousedown"),...e.getPartsEvents("touchstart")])}}update(e,t=!1){let i=this.chart,r=i.options.chart.inverted!==i.scrollbar?.options.vertical;if((0,a.merge)(!0,i.options.navigator,e),this.navigatorOptions=i.options.navigator||{},this.setOpposite(),(0,a.defined)(e.enabled)||r)return this.destroy(),this.navigatorEnabled=e.enabled||this.navigatorEnabled,this.init(i);if(this.navigatorEnabled&&(this.isDirty=!0,!1===e.adaptToUpdatedData&&this.baseSeries.forEach(e=>{(0,a.removeEvent)(e,"updatedData",this.updatedDataHandler)},this),e.adaptToUpdatedData&&this.baseSeries.forEach(e=>{e.eventsToUnbind.push((0,a.addEvent)(e,"updatedData",this.updatedDataHandler))},this),(e.series||e.baseSeries)&&this.setBaseSeries(void 0,!1),e.height||e.xAxis||e.yAxis)){this.height=e.height??this.height;let t=this.getXAxisOffsets();this.xAxis.update({...e.xAxis,offsets:t,[i.inverted?"width":"height"]:this.height,[i.inverted?"height":"width"]:void 0},!1),this.yAxis.update({...e.yAxis,[i.inverted?"width":"height"]:this.height},!1)}t&&i.redraw()}render(e,t,i,r){let s=this.chart,n=this.xAxis,o=n.pointRange||0,l=n.navigatorAxis.fake?s.xAxis[0]:n,h=this.navigatorEnabled,d=this.rendered,c=s.inverted,u=s.xAxis[0].minRange,p=s.xAxis[0].options.maxRange,g=this.scrollButtonSize,m,b,f,x=this.scrollbarHeight,v,y;if(this.hasDragged&&!(0,a.defined)(i))return;if(this.isDirty&&this.renderElements(),e=(0,a.correctFloat)(e-o/2),t=(0,a.correctFloat)(t+o/2),!(0,a.isNumber)(e)||!(0,a.isNumber)(t))if(!d)return;else i=0,r=(0,a.pick)(n.width,l.width);this.left=(0,a.pick)(n.left,s.plotLeft+g+(c?s.plotWidth:0));let E=this.size=v=(0,a.pick)(n.len,(c?s.plotHeight:s.plotWidth)-2*g);m=c?x:v+2*g,i=(0,a.pick)(i,n.toPixels(e,!0)),r=(0,a.pick)(r,n.toPixels(t,!0)),(0,a.isNumber)(i)&&Math.abs(i)!==1/0||(i=0,r=m);let w=n.toValue(i,!0),A=n.toValue(r,!0),T=Math.abs((0,a.correctFloat)(A-w));(0,a.defined)(u)&&T<u?this.grabbedLeft?i=n.toPixels(A-u-o,!0):this.grabbedRight&&(r=n.toPixels(w+u+o,!0)):(0,a.defined)(p)&&(0,a.correctFloat)(T-o)>p&&(this.grabbedLeft?i=n.toPixels(A-p-o,!0):this.grabbedRight&&(r=n.toPixels(w+p+o,!0))),this.zoomedMax=(0,a.clamp)(Math.max(i,r),0,E),this.zoomedMin=(0,a.clamp)(this.fixedWidth?this.zoomedMax-this.fixedWidth:Math.min(i,r),0,E),this.range=this.zoomedMax-this.zoomedMin,E=Math.round(this.zoomedMax);let k=Math.round(this.zoomedMin);h&&(this.navigatorGroup.attr({visibility:"inherit"}),y=d&&!this.hasDragged?"animate":"attr",this.drawMasks(k,E,c,y),this.drawOutline(k,E,c,y),this.navigatorOptions.handles?.enabled&&(this.drawHandle(k,0,c,y),this.drawHandle(E,1,c,y))),this.scrollbar&&(c?(f=this.top-g,b=this.left-x+(h||!l.opposite?0:(l.titleOffset||0)+l.axisTitleMargin),x=v+2*g):(f=this.top+(h?this.height:-x),b=this.left-g),this.scrollbar.position(b,f,m,x),this.scrollbar.setRange(this.zoomedMin/(v||1),this.zoomedMax/(v||1))),this.rendered=!0,this.isDirty=!1,(0,a.fireEvent)(this,"afterRender")}addMouseEvents(){let e,t,i=this,r=i.chart,s=r.container,n=[];i.mouseMoveHandler=e=function(e){i.onMouseMove(e)},i.mouseUpHandler=t=function(e){i.onMouseUp(e)},n.push((0,a.addEvent)(r.renderTo,"mousemove",e),(0,a.addEvent)(s.ownerDocument,"mouseup",t),(0,a.addEvent)(r.renderTo,"touchmove",e),(0,a.addEvent)(s.ownerDocument,"touchend",t)),i.eventsToUnbind=n,i.series&&i.series[0]&&n.push((0,a.addEvent)(i.series[0].xAxis,"foundExtremes",function(){r.navigator?.modifyNavigatorAxisExtremes()}))}getPartsEvents(e){let t=this,i=[];return["shades","handles"].forEach(r=>{t[r].forEach(function(s,n){i.push((0,a.addEvent)(s.element,e,function(e){t[`${r}Mousedown`](e,n)}))})}),i}shadesMousedown(e,t){e=this.chart.pointer?.normalize(e)||e;let i=this.chart,r=this.xAxis,s=this.zoomedMin,n=this.size,o=this.range,l=this.left,h=e.chartX,d,c,u,p;i.inverted&&(h=e.chartY,l=this.top),1===t?(this.grabbedCenter=h,this.fixedWidth=o,this.dragOffset=h-s):(p=h-l-o/2,0===t?p=Math.max(0,p):2===t&&p+o>=n&&(p=n-o,this.reversedExtremes?(p-=o,c=this.getUnionExtremes()?.dataMin):d=this.getUnionExtremes()?.dataMax),p!==s&&(this.fixedWidth=o,u=r.navigatorAxis.toFixedRange(p,p+o,c,d),(0,a.defined)(u.min)&&(0,a.fireEvent)(this,"setRange",{min:Math.min(u.min,u.max),max:Math.max(u.min,u.max),redraw:!0,eventArguments:{trigger:"navigator"}})))}handlesMousedown(e,t){e=this.chart.pointer?.normalize(e)||e;let i=this.chart,r=i.xAxis[0],s=this.reversedExtremes;0===t?(this.grabbedLeft=!0,this.otherHandlePos=this.zoomedMax,this.fixedExtreme=s?r.min:r.max):(this.grabbedRight=!0,this.otherHandlePos=this.zoomedMin,this.fixedExtreme=s?r.max:r.min),i.setFixedRange(void 0)}onMouseMove(e){let t=this,i=t.chart,r=t.navigatorSize,s=t.range,n=t.dragOffset,o=i.inverted,l=t.left,h;(!e.touches||0!==e.touches[0].pageX)&&(h=(e=i.pointer?.normalize(e)||e).chartX,o&&(l=t.top,h=e.chartY),t.grabbedLeft?(t.hasDragged=!0,t.render(0,0,h-l,t.otherHandlePos)):t.grabbedRight?(t.hasDragged=!0,t.render(0,0,t.otherHandlePos,h-l)):t.grabbedCenter&&n&&(t.hasDragged=!0,h<n?h=n:h>r+n-s&&(h=r+n-s),t.render(0,0,h-n,h-n+s)),t.hasDragged&&(0,a.pick)(t.scrollbarOptions?.liveRedraw,!tp&&!this.chart.boosted)&&(e.DOMType=e.type,setTimeout(function(){t.onMouseUp(e)},0)))}onMouseUp(e){let t,i,r,s,n,o,l=this.chart,h=this.xAxis,d=this.scrollbar,c=e.DOMEvent||e,u=l.inverted,p=this.rendered&&!this.hasDragged?"animate":"attr";(this.hasDragged&&(!d||!d.hasDragged)||"scrollbar"===e.trigger)&&(r=this.getUnionExtremes(),this.zoomedMin===this.otherHandlePos?s=this.fixedExtreme:this.zoomedMax===this.otherHandlePos&&(n=this.fixedExtreme),this.zoomedMax===this.size&&(n=this.reversedExtremes?r.dataMin:r.dataMax),0===this.zoomedMin&&(s=this.reversedExtremes?r.dataMax:r.dataMin),o=h.navigatorAxis.toFixedRange(this.zoomedMin,this.zoomedMax,s,n),(0,a.defined)(o.min)&&(0,a.fireEvent)(this,"setRange",{min:Math.min(o.min,o.max),max:Math.max(o.min,o.max),redraw:!0,animation:!this.hasDragged&&null,eventArguments:{trigger:"navigator",triggerOp:"navigator-drag",DOMEvent:c}})),"mousemove"!==e.DOMType&&"touchmove"!==e.DOMType&&(this.grabbedLeft=this.grabbedRight=this.grabbedCenter=this.fixedWidth=this.fixedExtreme=this.otherHandlePos=this.hasDragged=this.dragOffset=null),this.navigatorEnabled&&(0,a.isNumber)(this.zoomedMin)&&(0,a.isNumber)(this.zoomedMax)&&(i=Math.round(this.zoomedMin),t=Math.round(this.zoomedMax),this.shades&&this.drawMasks(i,t,u,p),this.outline&&this.drawOutline(i,t,u,p),this.navigatorOptions.handles?.enabled&&Object.keys(this.handles).length===this.handles.length&&(this.drawHandle(i,0,u,p),this.drawHandle(t,1,u,p)))}removeEvents(){this.eventsToUnbind?.forEach(e=>{e()}),this.eventsToUnbind=void 0,this.removeBaseSeriesEvents()}removeBaseSeriesEvents(){let e=this.baseSeries||[];this.navigatorEnabled&&e[0]&&(!1!==this.navigatorOptions.adaptToUpdatedData&&e.forEach(function(e){(0,a.removeEvent)(e,"updatedData",this.updatedDataHandler)},this),e[0].xAxis&&(0,a.removeEvent)(e[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes))}getXAxisOffsets(){return this.chart.inverted?[this.scrollButtonSize,0,-this.scrollButtonSize,0]:[0,-this.scrollButtonSize,0,this.scrollButtonSize]}init(e){let t=e.options,i=t.navigator||{},r=i.enabled,s=t.scrollbar||{},n=s.enabled,o=r&&i.height||0,l=n&&s.height||0,h=s.buttonsEnabled&&l||0;this.handles=[],this.shades=[],this.chart=e,this.setBaseSeries(),this.height=o,this.scrollbarHeight=l,this.scrollButtonSize=h,this.scrollbarEnabled=n,this.navigatorEnabled=!!r,this.navigatorOptions=i,this.scrollbarOptions=s,this.setOpposite();let d=this,c=d.baseSeries,u=e.xAxis.length,p=e.yAxis.length,g=c&&c[0]&&c[0].xAxis||e.xAxis[0]||{options:{}};if(e.isDirtyBox=!0,d.navigatorEnabled){let t=this.getXAxisOffsets();d.xAxis=new(eG())(e,(0,a.merge)({breaks:g.options.breaks,ordinal:g.options.ordinal,overscroll:g.options.overscroll},i.xAxis,{type:"datetime",yAxis:i.yAxis?.id,index:u,isInternal:!0,offset:0,keepOrdinalPadding:!0,startOnTick:!1,endOnTick:!1,minPadding:g.options.ordinal?0:g.options.minPadding,maxPadding:g.options.ordinal?0:g.options.maxPadding,zoomEnabled:!1},e.inverted?{offsets:t,width:o}:{offsets:t,height:o}),"xAxis"),d.yAxis=new(eG())(e,(0,a.merge)(i.yAxis,{alignTicks:!1,offset:0,index:p,isInternal:!0,reversed:(0,a.pick)(i.yAxis&&i.yAxis.reversed,e.yAxis[0]&&e.yAxis[0].reversed,!1),zoomEnabled:!1},e.inverted?{width:o}:{height:o}),"yAxis"),d.xAxis.clippable=!1,d.yAxis.clippable=!1,c||i.series?.data||i.series?.dataTable?d.updateNavigatorSeries(!1):0===e.series.length&&(d.unbindRedraw=(0,a.addEvent)(e,"beforeRedraw",function(){e.series.length>0&&!d.series&&(d.setBaseSeries(),d.unbindRedraw?.())})),d.reversedExtremes=e.inverted&&!d.xAxis.reversed||!e.inverted&&d.xAxis.reversed,d.renderElements(),d.addMouseEvents()}else d.xAxis={chart:e,navigatorAxis:{fake:!0},translate:function(t,i){let r=e.xAxis[0],s=r.getExtremes(),n=r.len-2*h,o=tg("min",r.options.min,s.dataMin),a=tg("max",r.options.max,s.dataMax)-o;return i?t*a/n+o:n*(t-o)/a},toPixels:function(e){return this.translate(e)},toValue:function(e){return this.translate(e,!0)}},d.xAxis.navigatorAxis.axis=d.xAxis,d.xAxis.navigatorAxis.toFixedRange=e3.prototype.toFixedRange.bind(d.xAxis.navigatorAxis);if(e.options.scrollbar?.enabled){let t=(0,a.merge)(e.options.scrollbar,{vertical:e.inverted});(0,a.isNumber)(t.margin)||(t.margin=e.inverted?-3:3),e.scrollbar=d.scrollbar=new tc(e.renderer,t,e),(0,a.addEvent)(d.scrollbar,"changed",function(e){let t=d.size,i=t*this.to,r=t*this.from;d.hasDragged=d.scrollbar?.hasDragged,d.render(0,0,r,i),this.shouldUpdateExtremes(e.DOMType)&&setTimeout(function(){d.onMouseUp(e)})})}d.addBaseSeriesEvents(),d.addChartEvents()}setOpposite(){let e=this.navigatorOptions,t=this.navigatorEnabled,i=this.chart;this.opposite=(0,a.pick)(e.opposite,!!(!t&&i.inverted))}getUnionExtremes(e){let t,i=this.chart.xAxis[0],r=this.chart.time,s=this.xAxis,n=s.options,o=i.options;return e&&null===i.dataMin||(t={dataMin:(0,a.pick)(r.parse(n?.min),tg("min",r.parse(o.min),i.dataMin,s.dataMin,s.min)),dataMax:(0,a.pick)(r.parse(n?.max),tg("max",r.parse(o.max),i.dataMax,s.dataMax,s.max))}),t}setBaseSeries(e,t){let i=this.chart,r=this.baseSeries=[];e=e||i.options.navigator?.baseSeries||(i.series.length?(0,a.find)(i.series,e=>!e.options.isInternal).index:0),(i.series||[]).forEach((t,i)=>{!t.options.isInternal&&(t.options.showInNavigator||(i===e||t.options.id===e)&&!1!==t.options.showInNavigator)&&r.push(t)}),this.xAxis&&!this.xAxis.navigatorAxis.fake&&this.updateNavigatorSeries(!0,t)}updateNavigatorSeries(e,t){let i=this,r=i.chart,s=i.baseSeries,n={enableMouseTracking:!1,index:null,linkedTo:null,group:"nav",padXAxis:!1,xAxis:this.navigatorOptions.xAxis?.id,yAxis:this.navigatorOptions.yAxis?.id,showInLegend:!1,stacking:void 0,isInternal:!0,states:{inactive:{opacity:1}}},o=i.series=(i.series||[]).filter(e=>{let t=e.baseSeries;return!(t&&0>s.indexOf(t))||(t&&((0,a.removeEvent)(t,"updatedData",i.updatedDataHandler),delete t.navigatorSeries),e.chart&&e.destroy(),!1)}),l,h,d=i.navigatorOptions.series,c;if(s&&s.length&&s.forEach(e=>{let u=e.navigatorSeries,p=(0,a.extend)({color:e.color,visible:e.visible},(0,a.isArray)(d)?tu.navigator.series:d);if(u&&!1===i.navigatorOptions.adaptToUpdatedData)return;n.name="Navigator "+s.length,c=(l=e.options||{}).navigatorOptions||{},p.dataLabels=(0,a.splat)(p.dataLabels),(h=(0,a.merge)(l,n,p,c)).pointRange=(0,a.pick)(p.pointRange,c.pointRange,tu.plotOptions[h.type||"line"]?.pointRange);let g=c.data||p.data,m=c.dataTable||p.dataTable;i.hasNavigatorData=i.hasNavigatorData||!!g||!!m,h.data=g||l.data?.slice(0),h.dataTable=m||l.dataTable,u&&u.options?u.update(h,t):(e.navigatorSeries=r.initSeries(h),(0,a.fireEvent)(e.navigatorSeries,"afterUpdate"),e.navigatorSeries.baseSeries=e,o.push(e.navigatorSeries))}),(d?.data||d?.dataTable)&&!(s&&s.length)||(0,a.isArray)(d)){let e=r.options.colors||[];i.hasNavigatorData=!1,(d=(0,a.splat)(d)).forEach((t,s)=>{n.name="Navigator "+(o.length+1),(h=(0,a.merge)(tu.navigator?.series,{color:r.series[s]&&!r.series[s].options.isInternal&&r.series[s].color||e[s]||e[0]},n,t)).data=t.data,h.dataTable=t.dataTable,(h.data||h.dataTable)&&(i.hasNavigatorData=!0,o.push(r.initSeries(h)))})}e&&this.addBaseSeriesEvents()}addBaseSeriesEvents(){let e=this,t=e.baseSeries||[];t[0]&&t[0].xAxis&&t[0].eventsToUnbind.push((0,a.addEvent)(t[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes)),t.forEach(i=>{i.eventsToUnbind.push((0,a.addEvent)(i,"show",function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!0,!1)})),i.eventsToUnbind.push((0,a.addEvent)(i,"hide",function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!1,!1)})),!1!==this.navigatorOptions.adaptToUpdatedData&&i.xAxis&&i.eventsToUnbind.push((0,a.addEvent)(i,"updatedData",this.updatedDataHandler)),i.eventsToUnbind.push((0,a.addEvent)(i,"remove",function(){t&&(0,a.erase)(t,i),this.navigatorSeries&&e.series&&((0,a.erase)(e.series,this.navigatorSeries),(0,a.defined)(this.navigatorSeries.options)&&this.navigatorSeries.remove(!1),delete this.navigatorSeries)}))})}getBaseSeriesMin(e){return this.baseSeries.reduce(function(e,t){return Math.min(e,t.getColumn("x")[0]??e)},e)}modifyNavigatorAxisExtremes(){let e=this.xAxis;if(void 0!==e.getExtremes){let t=this.getUnionExtremes(!0);t&&(t.dataMin!==e.min||t.dataMax!==e.max)&&(e.min=t.dataMin,e.max=t.dataMax)}}modifyBaseAxisExtremes(){let e,t,i=this.chart.navigator,r=this.getExtremes(),s=r.min,n=r.max,o=r.dataMin,l=r.dataMax,h=n-s,d=i?.stickToMin,c=i?.stickToMax,u=(0,a.pick)(this.ordinal?.convertOverscroll(this.options.overscroll),0),p=i.series&&i.series[0],g=!!this.setExtremes;!(this.eventArgs&&"rangeSelectorButton"===this.eventArgs.trigger)&&(d&&(e=(t=o)+h),c&&(e=l+u,d||(t=Math.max(o,e-h,i.getBaseSeriesMin(p&&p.xData?p.xData[0]:-Number.MAX_VALUE)))),g&&(d||c)&&(0,a.isNumber)(t)&&(this.min=this.userMin=t,this.max=this.userMax=e)),i.stickToMin=i.stickToMax=null}updatedDataHandler(){let e=this.chart.navigator,t=this.navigatorSeries,i=e.reversedExtremes?0===Math.round(e.zoomedMin):Math.round(e.zoomedMax)>=Math.round(e.size);e.stickToMax=(0,a.pick)(this.chart.options.navigator&&this.chart.options.navigator.stickToMax,i),e.stickToMin=e.shouldStickToMin(this,e),t&&!e.hasNavigatorData&&(t.options.pointStart=this.getColumn("x")[0],t.setData(this.options.data||this.options.dataTable,!1,void 0,!1))}shouldStickToMin(e,t){let i=t.getBaseSeriesMin(e.getColumn("x")[0]),r=e.xAxis,s=r.max,n=r.min,o=r.options.range;return!!((0,a.isNumber)(s)&&(0,a.isNumber)(n))&&(o&&s-i>0?s-i<o:n<=i)}addChartEvents(){this.eventsToUnbind||(this.eventsToUnbind=[]),this.eventsToUnbind.push((0,a.addEvent)(this.chart,"redraw",function(){let e=this.navigator,t=e&&(e.baseSeries&&e.baseSeries[0]&&e.baseSeries[0].xAxis||this.xAxis[0]);t&&e.render(t.min,t.max)}),(0,a.addEvent)(this.chart,"getMargins",function(){let e=this.navigator,t=e.opposite?"plotTop":"marginBottom";this.inverted&&(t=e.opposite?"marginRight":"plotLeft"),this[t]=(this[t]||0)+(e.navigatorEnabled||!this.inverted?e.height+(this.scrollbar?.options.margin||0)+e.scrollbarHeight:0)+(e.navigatorOptions.margin||0)}),(0,a.addEvent)(this,"setRange",function(e){this.chart.xAxis[0].setExtremes(e.min,e.max,e.redraw,e.animation,e.eventArguments)}))}destroy(){this.removeEvents(),this.xAxis&&((0,a.erase)(this.chart.xAxis,this.xAxis),(0,a.erase)(this.chart.axes,this.xAxis)),this.yAxis&&((0,a.erase)(this.chart.yAxis,this.yAxis),(0,a.erase)(this.chart.axes,this.yAxis)),(this.series||[]).forEach(e=>{e.destroy&&e.destroy()}),["series","xAxis","yAxis","shades","outline","scrollbarTrack","scrollbarRifles","scrollbarGroup","scrollbar","navigatorGroup","rendered"].forEach(e=>{this[e]&&this[e].destroy&&this[e].destroy(),this[e]=null}),[this.handles].forEach(e=>{(0,a.destroyObjectProperties)(e)}),this.baseSeries.forEach(e=>{e.navigatorSeries=void 0}),this.navigatorEnabled=!1}}let{animObject:tb}=l(),{format:tf}=b(),{getFakeMouseEvent:tx}=g,{getAxisRangeDescription:tv,fireEventOnWrappedOrUnwrappedElement:ty}=M,tE=class extends I{init(){let e=this.chart,t=this;this.announcer=new X(e,"polite"),this.addEvent(tm,"afterRender",function(){this.chart===t.chart&&this.chart.renderer&&(0,a.syncTimeout)(()=>{t.proxyProvider.updateGroupProxyElementPositions("navigator"),t.updateHandleValues()},tb((0,a.pick)(this.chart.renderer.globalAnimation,!0)).duration)})}onChartUpdate(){let e=this.chart,t=e.options,i=t.navigator;if(i.enabled&&i.accessibility?.enabled){let i=t.accessibility.landmarkVerbosity,r=t.lang.accessibility?.navigator.groupLabel;this.proxyProvider.removeGroup("navigator"),this.proxyProvider.addGroup("navigator","div",{role:"all"===i?"region":"group","aria-label":tf(r,{chart:e},e)});let s=t.lang.accessibility?.navigator.handleLabel;[0,1].forEach(t=>{let i=this.getHandleByIx(t);if(i){let r=this.proxyProvider.addProxyElement("navigator",{click:i},"input",{type:"range","aria-label":tf(s,{handleIx:t,chart:e},e)});this[t?"maxHandleProxy":"minHandleProxy"]=r.innerElement,r.innerElement.style.pointerEvents="none",r.innerElement.oninput=()=>this.updateNavigator()}}),this.updateHandleValues()}else this.proxyProvider.removeGroup("navigator")}getNavigatorHandleNavigation(e){let t=this,i=this.chart,r=e?this.maxHandleProxy:this.minHandleProxy,s=this.keyCodes;return new F(i,{keyCodeMap:[[[s.left,s.right,s.up,s.down],function(n){if(r){let o=n===s.left||n===s.up?-1:1;r.value=""+(0,a.clamp)(parseFloat(r.value)+o,0,100),t.updateNavigator(()=>{let s=t.getHandleByIx(e);s&&i.setFocusToElement(s,r)})}return this.response.success}]],init:()=>{i.setFocusToElement(this.getHandleByIx(e),r)},validate:()=>!!(this.getHandleByIx(e)&&r&&i.options.navigator.accessibility?.enabled)})}getKeyboardNavigation(){return[this.getNavigatorHandleNavigation(0),this.getNavigatorHandleNavigation(1)]}destroy(){this.updateNavigatorThrottleTimer&&(0,a.internalClearTimeout)(this.updateNavigatorThrottleTimer),this.proxyProvider.removeGroup("navigator"),this.announcer&&this.announcer.destroy()}updateHandleValues(){let e=this.chart.navigator;if(e&&this.minHandleProxy&&this.maxHandleProxy){let t=e.size;this.minHandleProxy.value=""+Math.round(e.zoomedMin/t*100),this.maxHandleProxy.value=""+Math.round(e.zoomedMax/t*100)}}getHandleByIx(e){let t=this.chart.navigator;return t&&t.handles&&t.handles[e]}updateNavigator(e){let t=e=>{let t=this.chart,{navigator:i,pointer:r}=t,s=this.chart.accessibility?.keyboardNavigation;if(i&&r&&this.minHandleProxy&&this.maxHandleProxy){let n=r.getChartPosition(),o=parseFloat(this.minHandleProxy.value)/100*i.size,a=parseFloat(this.maxHandleProxy.value)/100*i.size;[[0,"mousedown",i.zoomedMin],[0,"mousemove",o],[0,"mouseup",o],[1,"mousedown",i.zoomedMax],[1,"mousemove",a],[1,"mouseup",a]].forEach(([e,t,r])=>{let s=this.getHandleByIx(e)?.element;s&&ty(s,tx(t,{x:n.left+i.left+r,y:n.top+i.top},s))}),s&&(s.keyboardReset=!1),e&&e();let l=t.options.lang.accessibility?.navigator.changeAnnouncement,h=tv(t.xAxis[0]);this.announcer.announce(tf(l,{axisRangeDescription:h,chart:t},t))}};this.updateNavigatorThrottleTimer&&(0,a.internalClearTimeout)(this.updateNavigatorThrottleTimer),this.updateNavigatorThrottleTimer=setTimeout(t.bind(this,e),20)}},{getPointAnnotationTexts:tw}=J,{getAxisDescription:tA,getSeriesFirstPointElement:tT,getSeriesA11yElement:tk,unhideChartElementFromAT:tM}=M,{format:tC,numberFormat:tS}=b(),{reverseChildNodes:tP,stripHTMLTagsFromString:tN}=g;function tD(e){let t=e.chart.options.accessibility.series.pointDescriptionEnabledThreshold;return!!(!1!==t&&e.points&&e.points.length>=+t)}function tB(e,t){let i=e.series,r=i.chart,s=r.options.accessibility.point||{},n=i.options.accessibility&&i.options.accessibility.point||{},o=i.tooltipOptions||{},l=r.options.lang;return(0,a.isNumber)(t)?tS(t,n.valueDecimals||s.valueDecimals||o.valueDecimals||-1,l.decimalPoint,l.accessibility.thousandsSep||l.thousandsSep):t}function tI(e,t){let i=e[t];return e.chart.langFormat("accessibility.series."+t+"Description",{name:tA(i),series:e})}function tF(e){let t,i,r,s,n,o,l,h,d,c,u,p,g=e.series,m=g.chart.series.length>1||g.options.name,b=(o=(n=e.series).chart,h=(l=n.options.accessibility)&&l.point&&l.point.valueDescriptionFormat||o.options.accessibility.point.valueDescriptionFormat,c=(d=(0,a.pick)(n.xAxis&&n.xAxis.options.accessibility&&n.xAxis.options.accessibility.enabled,!o.angular&&"flowmap"!==n.type))?(t=function(e){let t=e.series,i=t.chart,r=t.options.accessibility&&t.options.accessibility.point||{},s=i.options.accessibility.point||{},n=t.xAxis&&t.xAxis.dateTime;if(n){let t=n.getXDateFormat(e.x||0,i.options.tooltip.dateTimeLabelFormats),o=r.dateFormatter&&r.dateFormatter(e)||s.dateFormatter?.(e)||r.dateFormat||s.dateFormat||t;return i.time.dateFormat(o,e.x||0,void 0)}}(e),i=(e.series.xAxis||{}).categories&&(0,a.defined)(e.category)&&(""+e.category).replace("<br/>"," "),r=(0,a.defined)(e.id)&&0>(""+e.id).indexOf("highcharts-"),s="x, "+e.x,e.name||t||i||(r?e.id:s)):"",tC(h,{point:e,index:(0,a.defined)(e.index)?e.index+1:"",xDescription:c,value:function(e){let t=e.series,i=t.chart.options.accessibility.point||{},r=t.chart.options.accessibility&&t.chart.options.accessibility.point||{},s=t.tooltipOptions||{},n=r.valuePrefix||i.valuePrefix||s.valuePrefix||"",o=r.valueSuffix||i.valueSuffix||s.valueSuffix||"",l=void 0!==e.value?"value":"y",h=tB(e,e[l]);if(e.isNull)return t.chart.langFormat("accessibility.series.nullPointValue",{point:e});if(t.pointArrayMap){let t,i,r;return t=n||"",i=o||"",r=function(r){let s=tB(e,(0,a.pick)(e[r],e.options[r]));return void 0!==s?r+": "+t+s+i:s},e.series.pointArrayMap.reduce(function(e,t){let i=r(t);return i?e+(e.length?", ":"")+i:e},"")}return n+h+o}(e),separator:d?", ":""},o)),f=e.options&&e.options.accessibility&&e.options.accessibility.description,x=m?" "+g.name+".":"",v=(u=e.series.chart,(p=tw(e)).length?u.langFormat("accessibility.series.pointAnnotationsDescription",{point:e,annotations:p}):"");return e.accessibility=e.accessibility||{},e.accessibility.valueDescription=b,b+(f?" "+f:"")+x+(v?" "+v:"")}function tO(e){let t,i=e.chart,r=i.types||[],s=(t=(e.options.accessibility||{}).description)&&e.chart.langFormat("accessibility.series.description",{description:t,series:e})||"",n=function(t){return i[t]&&i[t].length>1&&e[t]},o=e.index+1,l=tI(e,"xAxis"),h=tI(e,"yAxis"),d={seriesNumber:o,series:e,chart:i},c=r.length>1?"Combination":"",u=i.langFormat("accessibility.series.summary."+e.type+c,d)||i.langFormat("accessibility.series.summary.default"+c,d),p=(n("yAxis")?" "+h+".":"")+(n("xAxis")?" "+l+".":"");return tC((0,a.pick)(e.options.accessibility&&e.options.accessibility.descriptionFormat,i.options.accessibility.series.descriptionFormat,""),{seriesDescription:u,authorDescription:s?" "+s:"",axisDescription:p,series:e,chart:i,seriesNumber:o},void 0)}let tR={defaultPointDescriptionFormatter:tF,defaultSeriesDescriptionFormatter:tO,describeSeries:function(e){let t=e.chart,i=tT(e),r=tk(e),s=t.is3d&&t.is3d();if(r){let n,o,l,h,d,c,u,p,g,m,b;if(r.lastChild!==i||s||tP(r),n=e.options.accessibility||{},l=!tD(e)&&!n.exposeAsGroupOnly,o=e.chart.options.accessibility.keyboardNavigation.seriesNavigation,h=!!(e.points&&(e.points.length<+o.pointNavigationEnabledThreshold||!1===o.pointNavigationEnabledThreshold)),d=e.chart.options.accessibility.point.describeNull,(l||h)&&e.points.forEach(t=>{let i,r,s,n,o,h=t.graphic&&t.graphic.element||(r=(i=t.series)&&i.chart,s=i&&i.is("sunburst"),n=t.isNull,o=r&&r.options.accessibility.point.describeNull,n&&!s&&o&&function(e){let t,i=e.series,r=function(e){let t=e.index;if(!e.series||!e.series.data||!(0,a.defined)(t))return null;let i=e.series.options?.nullInteraction;return(0,a.find)(e.series.data,function(e){return!!(e&&void 0!==e.index&&(i||e.index>t)&&e.graphic&&e.graphic.element)})||null}(e),s=r&&r.graphic,n=s?s.parentGroup:i.graph||i.group,o=r?{x:(0,a.pick)(e.plotX,r.plotX,0),y:(0,a.pick)(e.plotY,r.plotY,0)}:{x:(0,a.pick)(e.plotX,0),y:(0,a.pick)(e.plotY,0)},l=((t=e.series.chart.renderer.rect(o.x,o.y,1,1)).attr({class:"highcharts-a11y-mock-point",fill:"none",opacity:0,"fill-opacity":0,"stroke-opacity":0}),t);if(n&&n.element)return e.graphic=l,e.hasMockGraphic=!0,l.add(n),n.element.insertBefore(l.element,s?s.element:null),l.element}(t)),c=t.options&&t.options.accessibility&&!1===t.options.accessibility.enabled;if(h){if(t.isNull&&!d)return void h.setAttribute("aria-hidden",!0);if(h.setAttribute("tabindex","-1"),e.chart.styledMode||(h.style.outline="none"),l&&!c){let e,i,r,s;e=t.series,i=e.options.accessibility?.point||{},r=e.chart.options.accessibility.point||{},s=tN((0,a.isString)(i.descriptionFormat)&&tC(i.descriptionFormat,t,e.chart)||i.descriptionFormatter?.(t)||(0,a.isString)(r.descriptionFormat)&&tC(r.descriptionFormat,t,e.chart)||r.descriptionFormatter?.(t)||tF(t),e.chart.renderer.forExport),h.setAttribute("role","img"),h.setAttribute("aria-label",s)}else h.setAttribute("aria-hidden",!0)}}),tM(t,r),p=(u=(c=e.chart).options.chart).options3d&&u.options3d.enabled,g=c.series.length>1,m=c.options.accessibility.series.describeSingleSeries,b=(e.options.accessibility||{}).exposeAsGroupOnly,!(p&&g)&&(g||m||b||tD(e))){let t,i,s;t=e.options.accessibility||{},s=(i=e.chart.options.accessibility).landmarkVerbosity,t.exposeAsGroupOnly?r.setAttribute("role","img"):"all"===s?r.setAttribute("role","region"):r.setAttribute("role","group"),r.setAttribute("tabindex","-1"),e.chart.styledMode||(r.style.outline="none"),r.setAttribute("aria-label",tN(i.series.descriptionFormatter&&i.series.descriptionFormatter(e)||tO(e),e.chart.renderer.forExport))}else r.removeAttribute("aria-label")}}},{composed:tL}=l(),{getChartTitle:tH}=M,{defaultPointDescriptionFormatter:tz,defaultSeriesDescriptionFormatter:tq}=tR;function tU(e){return!!e.options.accessibility.announceNewData.enabled}class tK{constructor(e){this.dirty={allSeries:{}},this.lastAnnouncementTime=0,this.chart=e}init(){let e=this.chart,t=e.options.accessibility.announceNewData.interruptUser?"assertive":"polite";this.lastAnnouncementTime=0,this.dirty={allSeries:{}},this.eventProvider=new N,this.announcer=new X(e,t),this.addEventListeners()}destroy(){this.eventProvider.removeAddedEvents(),this.announcer.destroy()}addEventListeners(){let e=this,t=this.chart,i=this.eventProvider;i.addEvent(t,"afterApplyDrilldown",function(){e.lastAnnouncementTime=0}),i.addEvent(t,"afterAddSeries",function(t){e.onSeriesAdded(t.series)}),i.addEvent(t,"redraw",function(){e.announceDirtyData()})}onSeriesAdded(e){tU(this.chart)&&(this.dirty.hasDirty=!0,this.dirty.allSeries[e.name+e.index]=e,this.dirty.newSeries=(0,a.defined)(this.dirty.newSeries)?void 0:e)}announceDirtyData(){let e=this.chart,t=this;if(e.options.accessibility.announceNewData&&this.dirty.hasDirty){var i;let e,r=this.dirty.newPoint;r&&(r=1===(e=(i=r).series.data.filter(e=>i.x===e.x&&i.y===e.y)).length?e[0]:i),this.queueAnnouncement(Object.keys(this.dirty.allSeries).map(e=>t.dirty.allSeries[e]),this.dirty.newSeries,r),this.dirty={allSeries:{}}}}queueAnnouncement(e,t,i){let r=this.chart.options.accessibility.announceNewData;if(r.enabled){var s;let n,o=+new Date,l=o-this.lastAnnouncementTime,h=Math.max(0,r.minAnnounceInterval-l),d=(s=this.queuedAnnouncement&&this.queuedAnnouncement.series,Object.keys(n=(s||[]).concat(e||[]).reduce((e,t)=>(e[t.name+t.index]=t,e),{})).map(e=>n[e])),c=this.buildAnnouncementMessage(d,t,i);c&&(this.queuedAnnouncement&&(0,a.internalClearTimeout)(this.queuedAnnouncementTimer),this.queuedAnnouncement={time:o,message:c,series:d},this.queuedAnnouncementTimer=setTimeout(()=>{this&&this.announcer&&(this.lastAnnouncementTime=+new Date,this.announcer.announce(this.queuedAnnouncement.message),delete this.queuedAnnouncement,delete this.queuedAnnouncementTimer)},h))}}buildAnnouncementMessage(e,t,i){let r=this.chart,s=r.options.accessibility.announceNewData;if(s.announcementFormatter){let r=s.announcementFormatter(e,t,i,this);if(!1!==r)return r.length?r:null}let n=l().charts&&l().charts.length>1?"Multiple":"Single",o=t?"newSeriesAnnounce"+n:i?"newPointAnnounce"+n:"newDataAnnounce",a=tH(r);return r.langFormat("accessibility.announceNewData."+o,{chartTitle:a,seriesDesc:t?tq(t):null,pointDesc:i?tz(i):null,point:i,series:t})}}function tG(e){let t=this.chart,i=t.accessibility?.components.series.newDataAnnouncer;i&&i.chart===t&&tU(t)&&(i.dirty.newPoint=(0,a.defined)(i.dirty.newPoint)?void 0:e.point)}function tW(){let e=this.chart,t=e.accessibility?.components.series.newDataAnnouncer;t&&t.chart===e&&tU(e)&&(t.dirty.hasDirty=!0,t.dirty.allSeries[this.name+this.index]=this)}(tK||(tK={})).compose=function(e){(0,a.pushUnique)(tL,"A11y.NDA")&&((0,a.addEvent)(e,"addPoint",tG),(0,a.addEvent)(e,"updatedData",tW))};let tV=tK,{doc:tX,win:tY}=l(),{fireEventOnWrappedOrUnwrappedElement:tj}=M,{cloneMouseEvent:tZ,cloneTouchEvent:t$,getFakeMouseEvent:t_,removeElement:tQ}=g,tJ=class{constructor(e,t,i="button",r,s){this.chart=e,this.target=t,this.eventProvider=new N;let n=this.innerElement=tX.createElement(i),o=this.element=r?tX.createElement(r):n;e.styledMode||this.hideElementVisually(n),r&&("li"!==r||e.styledMode||(o.style.listStyle="none"),o.appendChild(n),this.element=o),this.updateTarget(t,s)}click(){let e=this.getTargetPosition();e.x+=e.width/2,e.y+=e.height/2;let t=t_("click",e);tj(this.target.click,t)}updateTarget(e,t){this.target=e,this.updateCSSClassName();let i=t||{};Object.keys(i).forEach(e=>{null===i[e]&&delete i[e]});let r=this.getTargetAttr(e.click,"aria-label");(0,a.attr)(this.innerElement,(0,a.merge)(r?{"aria-label":r}:{},i)),this.eventProvider.removeAddedEvents(),this.addProxyEventsToElement(this.innerElement,e.click),this.refreshPosition()}refreshPosition(){let e=this.getTargetPosition();(0,a.css)(this.innerElement,{width:(e.width||1)+"px",height:(e.height||1)+"px",left:(Math.round(e.x)||0)+"px",top:(Math.round(e.y)||0)+"px"})}remove(){this.eventProvider.removeAddedEvents(),tQ(this.element)}updateCSSClassName(){let e=e=>e.indexOf("highcharts-no-tooltip")>-1,t=e(this.chart.legend?.group?.div?.className||""),i=e(this.getTargetAttr(this.target.click,"class")||"");this.innerElement.className=t||i?"highcharts-a11y-proxy-element highcharts-no-tooltip":"highcharts-a11y-proxy-element"}addProxyEventsToElement(e,t){["click","touchstart","touchend","touchcancel","touchmove","mouseover","mouseenter","mouseleave","mouseout"].forEach(i=>{let r=0===i.indexOf("touch");this.eventProvider.addEvent(e,i,e=>{let i=r?t$(e):tZ(e);t&&tj(t,i),e.stopPropagation(),r||e.preventDefault()},{passive:!1})})}hideElementVisually(e){(0,a.css)(e,{borderWidth:0,backgroundColor:"transparent",cursor:"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)"})}getTargetPosition(){let e=this.target.click,t=e.element?e.element:e,i=this.target.visual||t,r=this.chart.renderTo,s=this.chart.pointer;if(r&&i?.getBoundingClientRect&&s){let e=tY.scrollY||tX.documentElement.scrollTop,t=i.getBoundingClientRect(),r=s.getChartPosition();return{x:(t.left-r.left)/r.scaleX,y:(t.top+e-r.top)/r.scaleY,width:t.right/r.scaleX-t.left/r.scaleX,height:t.bottom/r.scaleY-t.top/r.scaleY}}return{x:0,y:0,width:1,height:1}}getTargetAttr(e,t){return e.element?e.element.getAttribute(t):e.getAttribute(t)}},{doc:t0}=l(),{unhideChartElementFromAT:t1}=M,{removeChildNodes:t2}=g,t3=class{constructor(e){this.chart=e,this.domElementProvider=new P,this.groups={},this.groupOrder=[],this.beforeChartProxyPosContainer=this.createProxyPosContainer("before"),this.afterChartProxyPosContainer=this.createProxyPosContainer("after"),this.update()}addProxyElement(e,t,i="button",r){let s=this.groups[e];if(!s)throw Error("ProxyProvider.addProxyElement: Invalid group key "+e);let n="ul"===s.type||"ol"===s.type?"li":void 0,o=new tJ(this.chart,t,i,n,r);return s.proxyContainerElement.appendChild(o.element),s.proxyElements.push(o),o}addGroup(e,t="div",i){let r,s=this.groups[e];if(s)return s.groupElement;let n=this.domElementProvider.createElement(t);return i&&i.role&&"div"!==t?(r=this.domElementProvider.createElement("div")).appendChild(n):r=n,r.className="highcharts-a11y-proxy-group highcharts-a11y-proxy-group-"+e.replace(/\W/g,"-"),this.groups[e]={proxyContainerElement:n,groupElement:r,type:t,proxyElements:[]},(0,a.attr)(r,i||{}),"ul"===t&&n.setAttribute("role","list"),this.afterChartProxyPosContainer.appendChild(r),this.updateGroupOrder(this.groupOrder),r}updateGroupAttrs(e,t){let i=this.groups[e];if(!i)throw Error("ProxyProvider.updateGroupAttrs: Invalid group key "+e);(0,a.attr)(i.groupElement,t)}updateGroupOrder(e){if(this.groupOrder=e.slice(),this.isDOMOrderGroupOrder())return;let t=e.indexOf("series"),i=t>-1?e.slice(0,t):e,r=t>-1?e.slice(t+1):[],s=t0.activeElement;["before","after"].forEach(e=>{let t=this["before"===e?"beforeChartProxyPosContainer":"afterChartProxyPosContainer"];t2(t),("before"===e?i:r).forEach(e=>{let i=this.groups[e];i&&t.appendChild(i.groupElement)})}),(this.beforeChartProxyPosContainer.contains(s)||this.afterChartProxyPosContainer.contains(s))&&s&&s.focus&&s.focus()}clearGroup(e){let t=this.groups[e];if(!t)throw Error("ProxyProvider.clearGroup: Invalid group key "+e);t2(t.proxyContainerElement)}removeGroup(e){let t=this.groups[e];t&&(this.domElementProvider.removeElement(t.groupElement),t.groupElement!==t.proxyContainerElement&&this.domElementProvider.removeElement(t.proxyContainerElement),delete this.groups[e])}update(){this.updatePosContainerPositions(),this.updateGroupOrder(this.groupOrder),this.updateProxyElementPositions()}updateProxyElementPositions(){Object.keys(this.groups).forEach(this.updateGroupProxyElementPositions.bind(this))}updateGroupProxyElementPositions(e){let t=this.groups[e];t&&t.proxyElements.forEach(e=>e.refreshPosition())}destroy(){this.domElementProvider.destroyCreatedElements()}createProxyPosContainer(e){let t=this.domElementProvider.createElement("div");return t.setAttribute("aria-hidden","false"),t.className="highcharts-a11y-proxy-container"+(e?"-"+e:""),(0,a.css)(t,{position:"absolute",top:"0",left:"0",whiteSpace:"nowrap"}),t}getCurrentGroupOrderInDOM(){let e=e=>{let t=Object.keys(this.groups),i=t.length;for(;i--;){let r=t[i],s=this.groups[r];if(s&&e===s.groupElement)return r}},t=t=>{let i=[],r=t.children;for(let t=0;t<r.length;++t){let s=e(r[t]);s&&i.push(s)}return i},i=t(this.beforeChartProxyPosContainer),r=t(this.afterChartProxyPosContainer);return i.push("series"),i.concat(r)}isDOMOrderGroupOrder(){let e=this.getCurrentGroupOrderInDOM(),t=this.groupOrder.filter(e=>"series"===e||!!this.groups[e]),i=e.length;if(i!==t.length)return!1;for(;i--;)if(e[i]!==t[i])return!1;return!0}updatePosContainerPositions(){let e=this.chart;if(e.renderer.forExport)return;let t=e.renderer.box;e.container.insertBefore(this.afterChartProxyPosContainer,t.nextSibling),e.container.insertBefore(this.beforeChartProxyPosContainer,t),t1(this.chart,this.afterChartProxyPosContainer),t1(this.chart,this.beforeChartProxyPosContainer)}},{unhideChartElementFromAT:t5,getAxisRangeDescription:t4}=M;class t6 extends I{init(){let e=this.chart;this.announcer=new X(e,"polite")}onChartUpdate(){let e=this.chart,t=this,i=e.rangeSelector;i&&(this.updateSelectorVisibility(),this.setDropdownAttrs(),i.buttons&&i.buttons.length&&i.buttons.forEach(e=>{t.setRangeButtonAttrs(e)}),i.maxInput&&i.minInput&&["minInput","maxInput"].forEach(function(r,s){let n=i[r];n&&(t5(e,n),t.setRangeInputAttrs(n,"accessibility.rangeSelector."+(s?"max":"min")+"InputLabel"))}))}updateSelectorVisibility(){let e=this.chart,t=e.rangeSelector,i=t&&t.dropdown,r=t&&t.buttons||[];t&&t.hasVisibleDropdown&&i?(t5(e,i),r.forEach(e=>e.element.setAttribute("aria-hidden",!0))):(i&&i.setAttribute("aria-hidden",!0),r.forEach(t=>t5(e,t.element)))}setDropdownAttrs(){let e=this.chart,t=e.rangeSelector&&e.rangeSelector.dropdown;if(t){let i=e.langFormat("accessibility.rangeSelector.dropdownLabel",{rangeTitle:e.options.lang.rangeSelectorZoom});t.setAttribute("aria-label",i),t.setAttribute("tabindex",-1)}}setRangeButtonAttrs(e){(0,a.attr)(e.element,{tabindex:-1,role:"button"})}setRangeInputAttrs(e,t){let i=this.chart;(0,a.attr)(e,{tabindex:-1,"aria-label":i.langFormat(t,{chart:i})})}onButtonNavKbdArrowKey(e,t){let i=e.response,r=this.keyCodes,s=this.chart,n=s.options.accessibility.keyboardNavigation.wrapAround,o=t===r.left||t===r.up?-1:1;return s.highlightRangeSelectorButton(s.highlightedRangeSelectorItemIx+o)?i.success:n?(e.init(o),i.success):i[o>0?"next":"prev"]}onButtonNavKbdClick(e){let t=e.response,i=this.chart;return 3!==i.oldRangeSelectorItemState&&this.fakeClickEvent(i.rangeSelector.buttons[i.highlightedRangeSelectorItemIx].element),t.success}onAfterBtnClick(){let e=this.chart,t=t4(e.xAxis[0]),i=e.langFormat("accessibility.rangeSelector.clickButtonAnnouncement",{chart:e,axisRangeDescription:t});i&&this.announcer.announce(i)}onInputKbdMove(e){let t=this.chart,i=t.rangeSelector,r=t.highlightedInputRangeIx=(t.highlightedInputRangeIx||0)+e;if(r>1||r<0){if(t.accessibility)return t.accessibility.keyboardNavigation.exiting=!0,t.accessibility.keyboardNavigation.tabindexContainer.focus(),t.accessibility.keyboardNavigation.move(e)}else if(i){let e=i[r?"maxDateBox":"minDateBox"],s=i[r?"maxInput":"minInput"];e&&s&&t.setFocusToElement(e,s)}return!0}onInputNavInit(e){let t=this,i=this.chart,r=e>0?0:1,s=i.rangeSelector,n=s&&s[r?"maxDateBox":"minDateBox"],o=s&&s.minInput,l=s&&s.maxInput;if(i.highlightedInputRangeIx=r,n&&o&&l){i.setFocusToElement(n,r?l:o),this.removeInputKeydownHandler&&this.removeInputKeydownHandler();let e=e=>{(e.which||e.keyCode)===this.keyCodes.tab&&t.onInputKbdMove(e.shiftKey?-1:1)&&(e.preventDefault(),e.stopPropagation())},s=(0,a.addEvent)(o,"keydown",e),h=(0,a.addEvent)(l,"keydown",e);this.removeInputKeydownHandler=()=>{s(),h()}}}onInputNavTerminate(){let e=this.chart.rangeSelector||{};e.maxInput&&e.hideInput("max"),e.minInput&&e.hideInput("min"),this.removeInputKeydownHandler&&(this.removeInputKeydownHandler(),delete this.removeInputKeydownHandler)}initDropdownNav(){let e=this.chart,t=e.rangeSelector,i=t&&t.dropdown;t&&i&&(e.setFocusToElement(t.buttonGroup,i),this.removeDropdownKeydownHandler&&this.removeDropdownKeydownHandler(),this.removeDropdownKeydownHandler=(0,a.addEvent)(i,"keydown",t=>{let i=(t.which||t.keyCode)===this.keyCodes.tab,r=e.accessibility;i&&(t.preventDefault(),t.stopPropagation(),r&&r.keyboardNavigation.move(t.shiftKey?-1:1))}))}getRangeSelectorButtonNavigation(){let e=this.chart,t=this.keyCodes,i=this;return new F(e,{keyCodeMap:[[[t.left,t.right,t.up,t.down],function(e){return i.onButtonNavKbdArrowKey(this,e)}],[[t.enter,t.space],function(){return i.onButtonNavKbdClick(this)}]],validate:function(){return!!(e.rangeSelector&&e.rangeSelector.buttons&&e.rangeSelector.buttons.length)},init:function(t){let r=e.rangeSelector;if(r&&r.hasVisibleDropdown)i.initDropdownNav();else if(r){let i=r.buttons.length-1;e.highlightRangeSelectorButton(t>0?0:i)}},terminate:function(){i.removeDropdownKeydownHandler&&(i.removeDropdownKeydownHandler(),delete i.removeDropdownKeydownHandler)}})}getRangeSelectorInputNavigation(){let e=this.chart,t=this;return new F(e,{keyCodeMap:[],validate:function(){return!!(e.rangeSelector&&e.rangeSelector.inputGroup&&"hidden"!==e.rangeSelector.inputGroup.element.style.visibility&&!1!==e.options.rangeSelector.inputEnabled&&e.rangeSelector.minInput&&e.rangeSelector.maxInput)},init:function(e){t.onInputNavInit(e)},terminate:function(){t.onInputNavTerminate()}})}getKeyboardNavigation(){return[this.getRangeSelectorButtonNavigation(),this.getRangeSelectorInputNavigation()]}destroy(){this.removeDropdownKeydownHandler&&this.removeDropdownKeydownHandler(),this.removeInputKeydownHandler&&this.removeInputKeydownHandler(),this.announcer&&this.announcer.destroy()}}function t8(e){let t=this.rangeSelector&&this.rangeSelector.buttons||[],i=this.highlightedRangeSelectorItemIx,r=this.rangeSelector&&this.rangeSelector.selected;return void 0!==i&&t[i]&&i!==r&&t[i].setState(this.oldRangeSelectorItemState||0),this.highlightedRangeSelectorItemIx=e,!!t[e]&&(this.setFocusToElement(t[e].box,t[e].element),e!==r&&(this.oldRangeSelectorItemState=t[e].state,t[e].setState(1)),!0)}function t9(){let e=this.chart.accessibility;if(e&&e.components.rangeSelector)return e.components.rangeSelector.onAfterBtnClick()}(t6||(t6={})).compose=function(e,t){let i=e.prototype;i.highlightRangeSelectorButton||(i.highlightRangeSelectorButton=t8,(0,a.addEvent)(t,"afterBtnClick",t9))};let t7=t6,{composed:ie}=l();!function(e){function t(e){(0,a.merge)(!0,e,{marker:{enabled:!0,states:{normal:{opacity:0}}}})}function i(e){return e.marker.states&&e.marker.states.normal&&e.marker.states.normal.opacity}function r(e){return!!(e._hasPointMarkers&&e.points&&e.points.length)}function s(){this.chart.styledMode&&(this.markerGroup&&this.markerGroup[this.a11yMarkersForced?"addClass":"removeClass"]("highcharts-a11y-markers-hidden"),r(this)&&this.points.forEach(e=>{e.graphic&&(e.graphic[e.hasForcedA11yMarker?"addClass":"removeClass"]("highcharts-a11y-marker-hidden"),e.graphic[!1===e.hasForcedA11yMarker?"addClass":"removeClass"]("highcharts-a11y-marker-visible"))}))}function n(e){this.resetA11yMarkerOptions=(0,a.merge)(e.options.marker||{},this.userOptions.marker||{})}function o(){let e=this.options;!function(e){let t,i=e.chart.options.accessibility.enabled,r=!1!==(e.options.accessibility&&e.options.accessibility.enabled);return i&&r&&(t=e.chart.options.accessibility,e.points.length<t.series.pointDescriptionEnabledThreshold||!1===t.series.pointDescriptionEnabledThreshold)}(this)?this.a11yMarkersForced?(delete this.a11yMarkersForced,this.isDirty=!0,function(e){let t=e.resetA11yMarkerOptions;if(t){let i=t.states&&t.states.normal&&t.states.normal.opacity;e.chart.styledMode&&!1===t.enabled&&l(e),e.userOptions&&e.userOptions.marker&&(e.userOptions.marker.enabled=!0),e.update({marker:{enabled:t.enabled,states:{normal:{opacity:i}}}})}}(this),e.marker?.enabled===!1&&delete this.resetA11yMarkerOptions):this.chart.styledMode&&e.marker?.enabled===!1&&!r(this)&&l(this):(e.marker?.enabled===!1&&(this.a11yMarkersForced=!0,t(this.options)),r(this)&&function(e){let r=e.points.length;for(;r--;){let n=e.points[r],o=n.options,l=n.hasForcedA11yMarker;if(delete n.hasForcedA11yMarker,o.marker){var s;let e=l&&0===i(o);o.marker.enabled&&!e?(s=o,(0,a.merge)(!0,s.marker,{states:{normal:{opacity:i(s)||1}}}),n.hasForcedA11yMarker=!1):!1===o.marker.enabled&&(t(o),n.hasForcedA11yMarker=!0)}}}(this))}function l(e){e.points?.forEach(e=>{e.graphic&&(e.graphic=e.graphic.destroy())})}function h(){this.boosted&&this.a11yMarkersForced&&((0,a.merge)(!0,this.options,{marker:{enabled:!1}}),delete this.a11yMarkersForced)}e.compose=function(e){(0,a.pushUnique)(ie,"A11y.FM")&&((0,a.addEvent)(e,"afterSetOptions",n),(0,a.addEvent)(e,"render",o),(0,a.addEvent)(e,"afterRender",s),(0,a.addEvent)(e,"renderCanvas",h))}}(n||(n={}));let it=n,ii=t.default.Point;var ir=o.n(ii);let is=t.default.Series;var io=o.n(is);let{seriesTypes:ia}=e4(),{doc:il}=l(),{getPointFromXY:ih,getSeriesFromName:id,scrollAxisToPoint:ic}=M;function iu(e){let t=e.index,i=e.series.points,r=i.length;if(i[t]===e)return t;for(;r--;)if(i[r]===e)return r}function ip(e){let t=e.chart.options.accessibility.keyboardNavigation.seriesNavigation,i=e.options.accessibility||{},r=i.keyboardNavigation;return r&&!1===r.enabled||!1===i.enabled||!1===e.options.enableMouseTracking||!e.visible||t.pointNavigationEnabledThreshold&&+t.pointNavigationEnabledThreshold<=e.points.length}function ig(e){let t=e.series,i=t.options.nullInteraction,r=e.options.accessibility,s=t.chart.options.accessibility,n=r?.enabled===!1;return s.keyboardNavigation.seriesNavigation.skipNullPoints??(!(!e.isNull||i)&&!1===e.visible||!1===e.isInside||n||ip(t))}function im(e){let t=e.series||[],i=t.length;for(let e=0;e<i;++e)if(!ip(t[e])){let i=function(e){let t=e.points||[],i=t.length;for(let e=0;e<i;++e)if(!ig(t[e]))return t[e];return null}(t[e]);if(i)return i}return null}function ib(e){let t=e.series.length,i=!1;for(;t--&&(e.highlightedPoint=e.series[t].points[e.series[t].points.length-1],!(i=e.series[t].highlightNextValidPoint())););return i}function ix(e){delete e.highlightedPoint;let t=im(e);return!!t&&t.highlight()}class iv{constructor(e,t){this.keyCodes=t,this.chart=e}init(){let e=this,t=this.chart,i=this.eventProvider=new N;i.addEvent(io(),"destroy",function(){return e.onSeriesDestroy(this)}),i.addEvent(t,"afterApplyDrilldown",function(){let e;(e=im(this))&&e.highlight(!1)}),i.addEvent(t,"drilldown",function(t){let i=t.point,r=i.series;e.lastDrilledDownPoint={x:i.x,y:i.y,seriesName:r?r.name:""}}),i.addEvent(t,"drillupall",function(){setTimeout(function(){e.onDrillupAll()},10)}),i.addEvent(ir(),"afterSetState",function(){let e=this.graphic&&this.graphic.element,i=il.activeElement,r=i&&i.getAttribute("class"),s=r&&r.indexOf("highcharts-a11y-proxy-element")>-1;t.highlightedPoint===this&&i!==e&&!s&&e&&e.focus&&e.focus()})}onDrillupAll(){let e,t=this.lastDrilledDownPoint,i=this.chart,r=t&&id(i,t.seriesName);t&&r&&(0,a.defined)(t.x)&&(0,a.defined)(t.y)&&(e=ih(r,t.x,t.y)),e=e||im(i),i.container&&i.container.focus(),e&&e.highlight&&e.highlight(!1)}getKeyboardNavigationHandler(){let e=this,t=this.keyCodes,i=this.chart,r=i.inverted;return new F(i,{keyCodeMap:[[r?[t.up,t.down]:[t.left,t.right],function(t){return e.onKbdSideways(this,t)}],[r?[t.left,t.right]:[t.up,t.down],function(t){return e.onKbdVertical(this,t)}],[[t.enter,t.space],function(e,t){let r=i.highlightedPoint;if(r){let{plotLeft:e,plotTop:i}=this.chart,{plotX:s=0,plotY:n=0}=r;t={...t,chartX:e+s,chartY:i+n,point:r,target:r.graphic?.element||t.target},(0,a.fireEvent)(r.series,"click",t),r.firePointEvent("click",t)}return this.response.success}],[[t.home],function(){return ix(i),this.response.success}],[[t.end],function(){return ib(i),this.response.success}],[[t.pageDown,t.pageUp],function(e){return i.highlightAdjacentSeries(e===t.pageDown),this.response.success}]],init:function(){return e.onHandlerInit(this)},validate:function(){return!!im(i)},terminate:function(){return e.onHandlerTerminate()}})}onKbdSideways(e,t){let i=this.keyCodes,r=t===i.right||t===i.down;return this.attemptHighlightAdjacentPoint(e,r)}onHandlerInit(e){let t=this.chart;return t.options.accessibility.keyboardNavigation.seriesNavigation.rememberPointFocus&&t.highlightedPoint?t.highlightedPoint.highlight():ix(t),e.response.success}onKbdVertical(e,t){let i=this.chart,r=this.keyCodes,s=t===r.down||t===r.right,n=i.options.accessibility.keyboardNavigation.seriesNavigation;if(n.mode&&"serialize"===n.mode)return this.attemptHighlightAdjacentPoint(e,s);let o=i.highlightedPoint&&i.highlightedPoint.series.keyboardMoveVertical?"highlightAdjacentPointVertical":"highlightAdjacentSeries";return i[o](s),e.response.success}onHandlerTerminate(){let e=this.chart,t=e.options.accessibility.keyboardNavigation;e.tooltip&&e.tooltip.hide(0);let i=e.highlightedPoint&&e.highlightedPoint.series;i&&i.onMouseOut&&i.onMouseOut(),e.highlightedPoint&&e.highlightedPoint.onMouseOut&&e.highlightedPoint.onMouseOut(),t.seriesNavigation.rememberPointFocus||delete e.highlightedPoint}attemptHighlightAdjacentPoint(e,t){let i=this.chart,r=i.options.accessibility.keyboardNavigation.wrapAround;return i.highlightAdjacentPoint(t)?e.response.success:r&&(t?ix(i):ib(i))?e.response.success:e.response[t?"next":"prev"]}onSeriesDestroy(e){let t=this.chart;t.highlightedPoint&&t.highlightedPoint.series===e&&(delete t.highlightedPoint,t.focusElement&&t.focusElement.removeFocusBorder())}destroy(){this.eventProvider.removeAddedEvents()}}!function(e){function t(e){let t,i,r=this.series,s=this.highlightedPoint,n=s&&iu(s)||0,o=s&&s.series.points||[],a=this.series&&this.series[this.series.length-1],l=a&&a.points&&a.points[a.points.length-1];if(!r[0]||!r[0].points)return!1;if(s){if(t=r[s.series.index+(e?1:-1)],(i=o[n+(e?1:-1)])||!t||(i=t.points[e?0:t.points.length-1]),!i)return!1}else i=e?r[0].points[0]:l;return ig(i)?(ip(t=i.series)?this.highlightedPoint=e?t.points[t.points.length-1]:t.points[0]:this.highlightedPoint=i,this.highlightAdjacentPoint(e)):i.highlight()}function i(e){let t=this.highlightedPoint,i=1/0,r;return!!(0,a.defined)(t.plotX)&&!!(0,a.defined)(t.plotY)&&(this.series.forEach(s=>{ip(s)||s.points.forEach(n=>{if(!(0,a.defined)(n.plotY)||!(0,a.defined)(n.plotX)||n===t)return;let o=n.plotY-t.plotY,l=Math.abs(n.plotX-t.plotX),h=Math.abs(o)*Math.abs(o)+l*l*4;s.yAxis&&s.yAxis.reversed&&(o*=-1),!(o<=0&&e||o>=0&&!e||h<5||ig(n))&&h<i&&(i=h,r=n)})}),!!r&&r.highlight())}function r(e){let t,i,r,s=this.highlightedPoint,n=this.series&&this.series[this.series.length-1],o=n&&n.points&&n.points[n.points.length-1];return this.highlightedPoint?!!(t=this.series[s.series.index+(e?-1:1)])&&!!(i=function(e,t,i,r){let s=1/0,n,o,l,h=t.points.length,d=e=>!((0,a.defined)(e.plotX)&&(0,a.defined)(e.plotY));if(!d(e)){for(;h--;)!d(n=t.points[h])&&(l=(e.plotX-n.plotX)*(e.plotX-n.plotX)*4+(e.plotY-n.plotY)*(e.plotY-n.plotY)*1)<s&&(s=l,o=h);return(0,a.defined)(o)?t.points[o]:void 0}}(s,t,4))&&(ip(t)?(i.highlight(),r=this.highlightAdjacentSeries(e))?r:(s.highlight(),!1):(i.highlight(),i.series.highlightNextValidPoint())):(t=e?this.series&&this.series[0]:n,!!(i=e?t&&t.points&&t.points[0]:o)&&i.highlight())}function s(e=!0){let t=this.series.chart,i=t.tooltip?.label?.element;(!this.isNull||this.series.options?.nullInteraction)&&e?this.onMouseOver():t.tooltip&&t.tooltip.hide(0),ic(this),this.graphic&&(t.setFocusToElement(this.graphic),!e&&t.focusElement&&t.focusElement.removeFocusBorder()),t.highlightedPoint=this;let r=i?.getBoundingClientRect().top;if(i&&r&&r<0){let e=window.scrollY;window.scrollTo({behavior:"smooth",top:e+r})}return this}function n(){let e=this.chart.highlightedPoint,t=(e&&e.series)===this?iu(e):0,i=this.points,r=i.length;if(i&&r){for(let e=t;e<r;++e)if(!ig(i[e]))return i[e].highlight();for(let e=t;e>=0;--e)if(!ig(i[e]))return i[e].highlight()}return!1}e.compose=function(e,o,a){let l=e.prototype,h=o.prototype,d=a.prototype;l.highlightAdjacentPoint||(l.highlightAdjacentPoint=t,l.highlightAdjacentPointVertical=i,l.highlightAdjacentSeries=r,h.highlight=s,d.keyboardMoveVertical=!0,["column","gantt","pie"].forEach(e=>{ia[e]&&(ia[e].prototype.keyboardMoveVertical=!1)}),d.highlightNextValidPoint=n)}}(iv||(iv={}));let iy=iv,{hideSeriesFromAT:iE}=M,{describeSeries:iw}=tR,iA=class extends I{static compose(e,t,i){tV.compose(i),it.compose(i),iy.compose(e,t,i)}init(){this.newDataAnnouncer=new tV(this.chart),this.newDataAnnouncer.init(),this.keyboardNavigation=new iy(this.chart,this.keyCodes),this.keyboardNavigation.init(),this.hideTooltipFromATWhenShown(),this.hideSeriesLabelsFromATWhenShown()}hideTooltipFromATWhenShown(){let e=this;this.chart.tooltip&&this.addEvent(this.chart.tooltip.constructor,"refresh",function(){this.chart===e.chart&&this.label&&this.label.element&&this.label.element.setAttribute("aria-hidden",!0)})}hideSeriesLabelsFromATWhenShown(){this.addEvent(this.chart,"afterDrawSeriesLabels",function(){this.series.forEach(function(e){e.labelBySeries&&e.labelBySeries.attr("aria-hidden",!0)})})}onChartRender(){this.chart.series.forEach(function(e){!1!==(e.options.accessibility&&e.options.accessibility.enabled)&&e.visible&&0!==e.getPointsCollection().length?iw(e):iE(e)})}getKeyboardNavigation(){return this.keyboardNavigation.getKeyboardNavigationHandler()}destroy(){this.newDataAnnouncer.destroy(),this.keyboardNavigation.destroy()}},{unhideChartElementFromAT:iT}=M,{getFakeMouseEvent:ik}=g,iM=class extends I{constructor(){super(...arguments),this.focusedMapNavButtonIx=-1}init(){let e=this,t=this.chart;this.proxyProvider.addGroup("zoom","div"),["afterShowResetZoom","afterApplyDrilldown","drillupall"].forEach(i=>{e.addEvent(t,i,function(){e.updateProxyOverlays()})})}onChartUpdate(){let e=this.chart,t=this;e.mapNavigation&&e.mapNavigation.navButtons.forEach((i,r)=>{iT(e,i.element),t.setMapNavButtonAttrs(i.element,"accessibility.zoom.mapZoom"+(r?"Out":"In"))})}setMapNavButtonAttrs(e,t){let i=this.chart,r=i.langFormat(t,{chart:i});(0,a.attr)(e,{tabindex:-1,role:"button","aria-label":r})}onChartRender(){this.updateProxyOverlays()}updateProxyOverlays(){let e=this.chart;if(this.proxyProvider.clearGroup("zoom"),e.resetZoomButton&&this.createZoomProxyButton(e.resetZoomButton,"resetZoomProxyButton",e.langFormat("accessibility.zoom.resetZoomButton",{chart:e})),e.drillUpButton&&e.breadcrumbs&&e.breadcrumbs.list){let t=e.breadcrumbs.list[e.breadcrumbs.list.length-1];this.createZoomProxyButton(e.drillUpButton,"drillUpProxyButton",e.langFormat("accessibility.drillUpButton",{chart:e,buttonText:e.breadcrumbs.getButtonText(t)}))}}createZoomProxyButton(e,t,i){this[t]=this.proxyProvider.addProxyElement("zoom",{click:e},"button",{"aria-label":i,tabindex:-1})}getMapZoomNavigation(){let e=this.keyCodes,t=this.chart,i=this;return new F(t,{keyCodeMap:[[[e.up,e.down,e.left,e.right],function(e){return i.onMapKbdArrow(this,e)}],[[e.tab],function(e,t){return i.onMapKbdTab(this,t)}],[[e.space,e.enter],function(){return i.onMapKbdClick(this)}]],validate:function(){return!!(t.mapView&&t.mapNavigation&&t.mapNavigation.navButtons.length)},init:function(e){return i.onMapNavInit(e)}})}onMapKbdArrow(e,t){let i=this.chart,r=this.keyCodes,s=i.container,n=t===r.up||t===r.down,o=t===r.left||t===r.up?1:-1,a=(n?i.plotHeight:i.plotWidth)/10*o,l=10*Math.random(),h={x:s.offsetLeft+i.plotLeft+i.plotWidth/2+l,y:s.offsetTop+i.plotTop+i.plotHeight/2+l},d=n?{x:h.x,y:h.y+a}:{x:h.x+a,y:h.y};return[ik("mousedown",h),ik("mousemove",d),ik("mouseup",d)].forEach(e=>s.dispatchEvent(e)),e.response.success}onMapKbdTab(e,t){let i=this.chart,r=e.response,s=t.shiftKey,n=s&&!this.focusedMapNavButtonIx||!s&&this.focusedMapNavButtonIx;if(i.mapNavigation.navButtons[this.focusedMapNavButtonIx].setState(0),n)return i.mapView&&i.mapView.zoomBy(),r[s?"prev":"next"];this.focusedMapNavButtonIx+=s?-1:1;let o=i.mapNavigation.navButtons[this.focusedMapNavButtonIx];return i.setFocusToElement(o.box,o.element),o.setState(2),r.success}onMapKbdClick(e){let t=this.chart.mapNavigation.navButtons[this.focusedMapNavButtonIx].element;return this.fakeClickEvent(t),e.response.success}onMapNavInit(e){let t=this.chart,i=t.mapNavigation.navButtons[0],r=t.mapNavigation.navButtons[1],s=e>0?i:r;t.setFocusToElement(s.box,s.element),s.setState(2),this.focusedMapNavButtonIx=e>0?0:1}simpleButtonNavigation(e,t,i){let r=this.keyCodes,s=this,n=this.chart;return new F(n,{keyCodeMap:[[[r.tab,r.up,r.down,r.left,r.right],function(e,t){let i=e===r.tab&&t.shiftKey||e===r.left||e===r.up;return this.response[i?"prev":"next"]}],[[r.space,r.enter],function(){let e=i(this,n);return(0,a.pick)(e,this.response.success)}]],validate:function(){return n[e]&&n[e].box&&s[t].innerElement},init:function(){n.setFocusToElement(n[e].box,s[t].innerElement)}})}getKeyboardNavigation(){return[this.simpleButtonNavigation("resetZoomButton","resetZoomProxyButton",function(e,t){t.zoomOut()}),this.simpleButtonNavigation("drillUpButton","drillUpProxyButton",function(e,t){return t.drillUp(),e.response.prev}),this.getMapZoomNavigation()]}},{doc:iC,isMS:iS,win:iP}=l(),iN=function(){if(iS&&iP.getComputedStyle){let e=iC.createElement("div");e.style.backgroundImage="url(data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==)",iC.body.appendChild(e);let t=(e.currentStyle||iP.getComputedStyle(e)).backgroundImage;return iC.body.removeChild(e),"none"===t}return iP.matchMedia&&iP.matchMedia("(forced-colors: active)").matches},iD=function(e){let t=e.highContrastState||(e.highContrastState={});t.active=!0,t.applying=!0;try{let t=e.options.accessibility.highContrastTheme;e.update(t,!1);let i=t.colors?.length>1;e.series.forEach(function(e){let r=t.plotOptions[e.type]||{},s=i&&void 0!==e.colorIndex?t.colors[e.colorIndex]:r.color||"window",n={color:r.color||"windowText",colors:i?t.colors:[r.color||"windowText"],borderColor:r.borderColor||"window",fillColor:s};e.update(n,!1),e.points&&e.points.forEach(function(e){e.options&&e.options.color&&e.update({color:r.color||"windowText",borderColor:r.borderColor||"window"},!1)})}),e.redraw()}finally{delete t.applying}},iB={chart:{backgroundColor:"window"},title:{style:{color:"windowText"}},subtitle:{style:{color:"windowText"}},colorAxis:{minColor:"windowText",maxColor:"windowText",stops:[],dataClasses:[]},colors:["windowText"],xAxis:{gridLineColor:"windowText",labels:{style:{color:"windowText"}},lineColor:"windowText",minorGridLineColor:"windowText",tickColor:"windowText",title:{style:{color:"windowText"}}},yAxis:{gridLineColor:"windowText",labels:{style:{color:"windowText"}},lineColor:"windowText",minorGridLineColor:"windowText",tickColor:"windowText",title:{style:{color:"windowText"}}},tooltip:{backgroundColor:"window",borderColor:"windowText",style:{color:"windowText"}},plotOptions:{series:{lineColor:"windowText",fillColor:"window",borderColor:"windowText",edgeColor:"windowText",borderWidth:1,dataLabels:{connectorColor:"windowText",color:"windowText",style:{color:"windowText",textOutline:"none"}},marker:{lineColor:"windowText",fillColor:"windowText"}},pie:{color:"window",colors:["window"],borderColor:"windowText",borderWidth:1},boxplot:{fillColor:"window"},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"}},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"}};function iI(e,t,i){let r=e,s,n=0;for(;n<t.length-1;++n)r=r[s=t[n]]=(0,a.pick)(r[s],{});r[t[t.length-1]]=i}function iF(e,t,i,r){function s(e,t){return t.reduce(function(e,t){return e[t]},e)}let n=s(e.options,t),o=s(e.options,i);Object.keys(r).forEach(function(s){let l=n[s];void 0!==l&&(iI(o,r[s],l),(0,a.error)(32,!1,e,{[t.join(".")+"."+s]:i.join(".")+"."+r[s].join(".")}))})}let iO=function(e){let t,i,r;t=e.options.chart,i=e.options.accessibility||{},["description","typeDescription"].forEach(function(r){t[r]&&(i[r]=t[r],(0,a.error)(32,!1,e,{[`chart.${r}`]:`use accessibility.${r}`}))}),e.axes.forEach(function(t){let i=t.options;i&&i.description&&(i.accessibility=i.accessibility||{},i.accessibility.description=i.description,(0,a.error)(32,!1,e,{"axis.description":"use axis.accessibility.description"}))}),e.series&&(r={description:["accessibility","description"],exposeElementToA11y:["accessibility","exposeAsGroupOnly"],pointDescriptionFormat:["accessibility","point","descriptionFormat"],pointDescriptionFormatter:["accessibility","point","descriptionFormatter"],skipKeyboardNavigation:["accessibility","keyboardNavigation","enabled"],"accessibility.pointDescriptionFormatter":["accessibility","point","descriptionFormatter"]},e.series.forEach(function(t){Object.keys(r).forEach(function(i){let s=t.options[i];"accessibility.pointDescriptionFormatter"===i&&(s=t.options.accessibility&&t.options.accessibility.pointDescriptionFormatter),void 0!==s&&(iI(t.options,r[i],"skipKeyboardNavigation"===i?!s:s),(0,a.error)(32,!1,e,{[`series.${i}`]:"series."+r[i].join(".")}))})})),iF(e,["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"]}),iF(e,["accessibility","keyboardNavigation"],["accessibility","keyboardNavigation","seriesNavigation"],{skipNullPoints:["skipNullPoints"],mode:["mode"]}),iF(e,["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"]})},{defaultOptions:iR}=l(),{doc:iL}=l(),{removeElement:iH}=g;class iz{constructor(e){this.init(e)}init(e){if(this.chart=e,!iL?.addEventListener){this.zombie=!0,this.components={},e.renderTo.setAttribute("aria-hidden",!0);return}iO(e),this.proxyProvider=new t3(this.chart),this.initComponents(),this.keyboardNavigation=new eC(e,this.components)}initComponents(){let e=this.chart,t=this.proxyProvider,i=e.options.accessibility;this.components={container:new z,infoRegions:new ep,legend:new eU,chartMenu:new ev,rangeSelector:new t7,series:new iA,zoom:new iM,navigator:new tE},i.customComponents&&(0,a.extend)(this.components,i.customComponents);let r=this.components;this.getComponentOrder().forEach(function(i){r[i].initBase(e,t),r[i].init()})}getComponentOrder(){return this.components?this.components.series?["series"].concat(Object.keys(this.components).filter(e=>"series"!==e)):Object.keys(this.components):[]}update(){let e=this.components,t=this.chart,i=t.options.accessibility;(0,a.fireEvent)(t,"beforeA11yUpdate"),t.types=this.getChartTypes();let r=i.keyboardNavigation.order;this.proxyProvider.updateGroupOrder(r),this.getComponentOrder().forEach(function(i){e[i].onChartUpdate(),(0,a.fireEvent)(t,"afterA11yComponentUpdate",{name:i,component:e[i]})}),this.keyboardNavigation.update(r),!t.highContrastState?.applying&&!1!==i.highContrastMode&&(t.highContrastState?.active||iN()||!0===i.highContrastMode)&&iD(t),(0,a.fireEvent)(t,"afterA11yUpdate",{accessibility:this})}destroy(){let e=this.chart||{},t=this.components;Object.keys(t).forEach(function(e){t[e].destroy(),t[e].destroyBase()}),this.proxyProvider&&this.proxyProvider.destroy(),e.announcerContainer&&iH(e.announcerContainer),this.keyboardNavigation&&this.keyboardNavigation.destroy(),e.renderTo&&e.renderTo.setAttribute("aria-hidden",!0),e.focusElement&&e.focusElement.removeFocusBorder()}getChartTypes(){let e={};return this.chart.series.forEach(function(t){e[t.type]=1}),Object.keys(e)}}!function(e){function t(){this.accessibility&&this.accessibility.destroy()}function i(){this.a11yDirty&&this.renderTo&&(delete this.a11yDirty,this.updateA11yEnabled());let e=this.accessibility;e&&!e.zombie&&(e.proxyProvider.updateProxyElementPositions(),e.getComponentOrder().forEach(function(t){e.components[t].onChartRender()}))}function r(e){let t=e.options.accessibility;t&&(t.customComponents&&(this.options.accessibility.customComponents=t.customComponents,delete t.customComponents),(0,a.merge)(!0,this.options.accessibility,t),this.accessibility&&this.accessibility.destroy&&(this.accessibility.destroy(),delete this.accessibility)),this.a11yDirty=!0}function s(){let t=this.accessibility,i=this.options.accessibility,r=this.renderer.boxWrapper.element,s=this.title;if(i&&i.enabled)t&&!t.zombie?t.update():(this.accessibility=t=new e(this),t&&!t.zombie&&t.update(),"img"===r.getAttribute("role")&&r.removeAttribute("role"));else if(t)t.destroy&&t.destroy(),delete this.accessibility;else{this.renderTo.setAttribute("role","img"),this.renderTo.setAttribute("aria-hidden",!1),this.renderTo.setAttribute("aria-label",(s&&s.element.textContent||"").replace(/</g,"&lt;")),r.setAttribute("aria-hidden",!0);let e=document.getElementsByClassName("highcharts-description")[0];e&&(e.setAttribute("aria-hidden",!1),e.classList.remove("highcharts-linked-description"))}}function n(){this.series.chart.accessibility&&(this.series.chart.a11yDirty=!0)}e.i18nFormat=E.i18nFormat,e.compose=function(e,o,l,h,d,c){eC.compose(e),tV.compose(h),eU.compose(e,o),ev.compose(e),iA.compose(e,l,h),E.compose(e),q.compose(e,d),c&&t7.compose(e,c);let u=e.prototype;u.updateA11yEnabled||(u.updateA11yEnabled=s,(0,a.addEvent)(e,"destroy",t),(0,a.addEvent)(e,"render",i),(0,a.addEvent)(e,"update",r),["addSeries","init"].forEach(t=>{(0,a.addEvent)(e,t,function(){this.a11yDirty=!0})}),["afterApplyDrilldown","drillupall"].forEach(t=>{(0,a.addEvent)(e,t,function(){let e=this.accessibility;e&&!e.zombie&&e.update()})}),(0,a.addEvent)(l,"update",n),["update","updatedData","remove"].forEach(e=>{(0,a.addEvent)(h,e,function(){this.chart.accessibility&&(this.chart.a11yDirty=!0)})}))}}(iz||(iz={})),(0,a.merge)(!0,iR,{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:{descriptionFormat:"{seriesDescription}{authorDescription}{axisDescription}",describeSingleSeries:!1,pointDescriptionEnabledThreshold:200},point:{valueDescriptionFormat:"{xDescription}{separator}{value}.",describeNull:!0},landmarkVerbosity:"all",linkedDescription:'*[data-highcharts-chart="{index}"] + .highcharts-description',highContrastMode:"auto",keyboardNavigation:{enabled:!0,focusBorder:{enabled:!0,hideBrowserFocusOutline:!0,style:{color:"var(--highcharts-highlight-color-80)",lineWidth:2,borderRadius:3},margin:2},order:["series","zoom","rangeSelector","navigator","legend","chartMenu"],wrapAround:!0,seriesNavigation:{skipNullPoints:void 0,pointNavigationEnabledThreshold:!1,rememberPointFocus:!1}},announceNewData:{enabled:!1,minAnnounceInterval:5e3,interruptUser:!1}},legend:{accessibility:{enabled:!0,keyboardNavigation:{enabled:!0}}},exporting:{accessibility:{enabled:!0}},navigator:{accessibility:{enabled:!0}}},{accessibility:{highContrastTheme:iB},lang:{accessibility:{defaultChartTitle:"Chart",chartContainerLabel:"{title}. Highcharts interactive chart.",svgContainerLabel:"Interactive chart",drillUpButton:"{buttonText}",credits:"Chart credits: {creditsStr}",thousandsSep:",",svgContainerTitle:"",graphicContainerLabel:"",screenReaderSection:{beforeRegionLabel:"",afterRegionLabel:"",annotations:{heading:"Chart annotations summary",descriptionSinglePoint:"{annotationText}. Related to {annotationPoint}",descriptionMultiplePoints:"{annotationText}. Related to {annotationPoint}{#each additionalAnnotationPoints}, also related to {this}{/each}",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}",minInputLabel:"Select start date.",maxInputLabel:"Select end date.",clickButtonAnnouncement:"Viewing {axisRangeDescription}"},navigator:{handleLabel:"{#eq handleIx 0}Start, percent{else}End, percent{/eq}",groupLabel:"Axis zoom",changeAnnouncement:"{axisRangeDescription}"},stockTools:{groupLabel:"Stock chart tools",arrowLabel:"Toggle submenu"},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 {#eq numPoints 1}point{else}points{/eq}.",defaultMultiple:"Chart with {numSeries} data series.",splineSingle:"Line chart with {numPoints} data {#eq numPoints 1}point{else}points{/eq}.",splineMultiple:"Line chart with {numSeries} lines.",lineSingle:"Line chart with {numPoints} data {#eq numPoints 1}point{else}points{/eq}.",lineMultiple:"Line chart with {numSeries} lines.",columnSingle:"Bar chart with {numPoints} {#eq numPoints 1}bar{else}bars{/eq}.",columnMultiple:"Bar chart with {numSeries} data series.",barSingle:"Bar chart with {numPoints} {#eq numPoints 1}bar{else}bars{/eq}.",barMultiple:"Bar chart with {numSeries} data series.",pieSingle:"Pie chart with {numPoints} {#eq numPoints 1}slice{else}slices{/eq}.",pieMultiple:"Pie chart with {numSeries} pies.",scatterSingle:"Scatter chart with {numPoints} {#eq numPoints 1}point{else}points{/eq}.",scatterMultiple:"Scatter chart with {numSeries} data series.",boxplotSingle:"Boxplot with {numPoints} {#eq numPoints 1}box{else}boxes{/eq}.",boxplotMultiple:"Boxplot with {numSeries} data series.",bubbleSingle:"Bubble chart with {numPoints} {#eq numPoints 1}bubbles{else}bubble{/eq}.",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}{#unless @first},{/unless}{#if @last} and{/if} {this}{/each}.",yAxisDescriptionSingular:"The chart has 1 Y axis displaying {names[0]}. {ranges[0]}",yAxisDescriptionPlural:"The chart has {numAxes} Y axes displaying {#each names}{#unless @first},{/unless}{#if @last} and{/if} {this}{/each}.",timeRangeDays:"Data range: {range} days.",timeRangeHours:"Data range: {range} hours.",timeRangeMinutes:"Data range: {range} minutes.",timeRangeSeconds:"Data range: {range} seconds.",rangeFromTo:"Data ranges from {rangeFrom} to {rangeTo}.",rangeCategories:"Data range: {numCategories} categories.",defaultAxisNames:{categories:"categories",time:"Time",values:"values"}},exporting:{chartMenuLabel:"Chart menu",menuButtonLabel:"View chart context menu, {chartTitle}"},series:{summary:{default:"{series.name}, series {seriesNumber} of {chart.series.length} with {series.points.length} data {#eq series.points.length 1}point{else}points{/eq}.",defaultCombination:"{series.name}, series {seriesNumber} of {chart.series.length} with {series.points.length} data {#eq series.points.length 1}point{else}points{/eq}.",line:"{series.name}, line {seriesNumber} of {chart.series.length} with {series.points.length} data {#eq series.points.length 1}point{else}points{/eq}.",lineCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Line with {series.points.length} data {#eq series.points.length 1}point{else}points{/eq}.",spline:"{series.name}, line {seriesNumber} of {chart.series.length} with {series.points.length} data {#eq series.points.length 1}point{else}points{/eq}.",splineCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Line with {series.points.length} data {#eq series.points.length 1}point{else}points{/eq}.",column:"{series.name}, bar series {seriesNumber} of {chart.series.length} with {series.points.length} {#eq series.points.length 1}bar{else}bars{/eq}.",columnCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Bar series with {series.points.length} {#eq series.points.length 1}bar{else}bars{/eq}.",bar:"{series.name}, bar series {seriesNumber} of {chart.series.length} with {series.points.length} {#eq series.points.length 1}bar{else}bars{/eq}.",barCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Bar series with {series.points.length} {#eq series.points.length 1}bar{else}bars{/eq}.",pie:"{series.name}, pie {seriesNumber} of {chart.series.length} with {series.points.length} {#eq series.points.length 1}slice{else}slices{/eq}.",pieCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Pie with {series.points.length} {#eq series.points.length 1}slice{else}slices{/eq}.",scatter:"{series.name}, scatter plot {seriesNumber} of {chart.series.length} with {series.points.length} {#eq series.points.length 1}point{else}points{/eq}.",scatterCombination:"{series.name}, series {seriesNumber} of {chart.series.length}, scatter plot with {series.points.length} {#eq series.points.length 1}point{else}points{/eq}.",boxplot:"{series.name}, boxplot {seriesNumber} of {chart.series.length} with {series.points.length} {#eq series.points.length 1}box{else}boxes{/eq}.",boxplotCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Boxplot with {series.points.length} {#eq series.points.length 1}box{else}boxes{/eq}.",bubble:"{series.name}, bubble series {seriesNumber} of {chart.series.length} with {series.points.length} {#eq series.points.length 1}bubble{else}bubbles{/eq}.",bubbleCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Bubble series with {series.points.length} {#eq series.points.length 1}bubble{else}bubbles{/eq}.",map:"{series.name}, map {seriesNumber} of {chart.series.length} with {series.points.length} {#eq series.points.length 1}area{else}areas{/eq}.",mapCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Map with {series.points.length} {#eq series.points.length 1}area{else}areas{/eq}.",mapline:"{series.name}, line {seriesNumber} of {chart.series.length} with {series.points.length} data {#eq series.points.length 1}point{else}points{/eq}.",maplineCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Line with {series.points.length} data {#eq series.points.length 1}point{else}points{/eq}.",mapbubble:"{series.name}, bubble series {seriesNumber} of {chart.series.length} with {series.points.length} {#eq series.points.length 1}bubble{else}bubbles{/eq}.",mapbubbleCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Bubble series with {series.points.length} {#eq series.points.length 1}bubble{else}bubbles{/eq}."},description:"{description}",xAxisDescription:"X axis, {name}",yAxisDescription:"Y axis, {name}",nullPointValue:"No value",pointAnnotationsDescription:"{#each annotations}Annotation: {this}{/each}"}}}});let iq=iz,iU=l();iU.i18nFormat=iq.i18nFormat,iU.A11yChartUtilities=M,iU.A11yHTMLUtilities=g,iU.AccessibilityComponent=I,iU.KeyboardNavigationHandler=F,iU.SeriesAccessibilityDescriber=tR,iq.compose(iU.Chart,iU.Legend,iU.Point,iU.Series,iU.SVGElement,iU.RangeSelector);let iK=l();export{iK as default};