PageSourceSearch

https://fiorfitness.netlify.app/_nuxt/D7jF3cdA.js

js fiorfitness.netlify.app collected 2026-10-03 11:10:03 UTC 142,538 bytes, 1 lines download raw bytes

1import{au as ht}from"./5YXSnQcP.js";function ct(st,J){for(var u=0;u<J.length;u++){const V=J[u];if(typeof V!="string"&&!Array.isArray(V)){for(const F in V)if(F!=="default"&&!(F in st)){const U=Object.getOwnPropertyDescriptor(V,F);U&&Object.defineProperty(st,F,U.get?U:{enumerable:!0,get:()=>V[F]})}}}return Object.freeze(Object.defineProperty(st,Symbol.toStringTag,{value:"Module"}))}var rt={exports:{}},at;function dt(){return at||(at=1,function(st){(function(J){st.exports?(J.default=J,st.exports=J):J(typeof Highcharts<"u"?Highcharts:void 0)})(function(J){var u=J?J._modules:{};function V(F,U,L,P){F.hasOwnProperty(U)||(F[U]=P.apply(null,L),typeof CustomEvent=="function"&&J.win.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:U,module:F[U]}})))}V(u,"Accessibility/Utils/HTMLUtilities.js",[u["Core/Globals.js"],u["Core/Utilities.js"]],function(F,U){let{doc:L,win:P}=F,{css:O}=U,N=P.EventTarget&&new P.EventTarget||"none";function B(f){if(typeof P.MouseEvent=="function")return new P.MouseEvent(f.type,f);if(L.createEvent){let p=L.createEvent("MouseEvent");if(p.initMouseEvent)return p.initMouseEvent(f.type,f.bubbles,f.cancelable,f.view||P,f.detail,f.screenX,f.screenY,f.clientX,f.clientY,f.ctrlKey,f.altKey,f.shiftKey,f.metaKey,f.button,f.relatedTarget),p}return k(f.type)}function k(f,p,d){let r=p||{x:0,y:0};if(typeof P.MouseEvent=="function")return new P.MouseEvent(f,{bubbles:!0,cancelable:!0,composed:!0,button:0,buttons:1,relatedTarget:d||N,view:P,detail:f==="click"?1:0,screenX:r.x,screenY:r.y,clientX:r.x,clientY:r.y});if(L.createEvent){let e=L.createEvent("MouseEvent");if(e.initMouseEvent)return e.initMouseEvent(f,!0,!0,P,f==="click"?1:0,r.x,r.y,r.x,r.y,!1,!1,!1,!1,0,null),e}return{type:f}}return{addClass:function(f,p){f.classList?f.classList.add(p):0>f.className.indexOf(p)&&(f.className+=" "+p)},cloneMouseEvent:B,cloneTouchEvent:function(f){let p=r=>{let e=[];for(let a=0;a<r.length;++a){let i=r.item(a);i&&e.push(i)}return e};if(typeof P.TouchEvent=="function"){let r=new P.TouchEvent(f.type,{touches:p(f.touches),targetTouches:p(f.targetTouches),changedTouches:p(f.changedTouches),ctrlKey:f.ctrlKey,shiftKey:f.shiftKey,altKey:f.altKey,metaKey:f.metaKey,bubbles:f.bubbles,cancelable:f.cancelable,composed:f.composed,detail:f.detail,view:f.view});return f.defaultPrevented&&r.preventDefault(),r}let d=B(f);return d.touches=f.touches,d.changedTouches=f.changedTouches,d.targetTouches=f.targetTouches,d},escapeStringForHTML:function(f){return f.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/\//g,"&#x2F;")},getElement:function(f){return L.getElementById(f)},getFakeMouseEvent:k,getHeadingTagNameForElement:function(f){let p=a=>"h"+Math.min(6,parseInt(a.slice(1),10)+1),d=a=>/^H[1-6]$/i.test(a),r=a=>{let i=a;for(;i=i.previousSibling;){let n=i.tagName||"";if(d(n))return n}return""},e=a=>{let i=r(a);if(i)return p(i);let n=a.parentElement;if(!n)return"p";let o=n.tagName;return d(o)?p(o):e(n)};return e(f)},removeChildNodes:function(f){for(;f.lastChild;)f.removeChild(f.lastChild)},removeClass:function(f,p){f.classList?f.classList.remove(p):f.className=f.className.replace(RegExp(p,"g"),"")},removeElement:function(f){f&&f.parentNode&&f.parentNode.removeChild(f)},reverseChildNodes:function(f){let p=f.childNodes.length;for(;p--;)f.appendChild(f.childNodes[p])},simulatedEventTarget:N,stripHTMLTagsFromString:function(f,p=!1){return typeof f=="string"?p?f.replace(/<\/?[^>]+(>|$)/g,""):f.replace(/<\/?(?!\s)[^>]+(>|$)/g,""):f},visuallyHideElement:function(f){O(f,{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})}}}),V(u,"Accessibility/A11yI18n.js",[u["Core/Templating.js"],u["Core/Utilities.js"]],function(F,U){var L;let{format:P}=F,{getNestedProperty:O,pick:N}=U;return function(B){function k(p,d,r){let e=(t,l)=>{let c=t.slice(l||0),A=c.indexOf("{"),j=c.indexOf("}");if(A>-1&&j>A)return{statement:c.substring(A+1,j),begin:l+A+1,end:l+j}},a=[],i,n,o=0;do i=e(p,o),(n=p.substring(o,i&&i.begin-1)).length&&a.push({value:n,type:"constant"}),i&&a.push({value:i.statement,type:"statement"}),o=i?i.end+1:o+1;while(i);return a.forEach(t=>{t.type==="statement"&&(t.value=function(l,c){let A,j,T=l.indexOf("#each("),b=l.indexOf("#plural("),g=l.indexOf("["),E=l.indexOf("]");
1if(T>-1){let x=l.slice(T).indexOf(")")+T,v=l.substring(0,T),w=l.substring(x+1),s=l.substring(T+6,x).split(","),h=Number(s[1]),m;if(j="",A=O(s[0],c)){m=(h=isNaN(h)?A.length:h)<0?A.length+h:Math.min(h,A.length);for(let C=0;C<m;++C)j+=v+A[C]+w}return j.length?j:""}if(b>-1){var y;let x=l.slice(b).indexOf(")")+b,v=l.substring(b+8,x).split(",");switch(Number(O(v[0],c))){case 0:j=N(v[4],v[1]);break;case 1:j=N(v[2],v[1]);break;case 2:j=N(v[3],v[1]);break;default:j=v[1]}return j?(y=j).trim&&y.trim()||y.replace(/^\s+|\s+$/g,""):""}if(g>-1){let x,v=l.substring(0,g),w=Number(l.substring(g+1,E));return A=O(v,c),!isNaN(w)&&A&&(w<0?(x=A[A.length+w])===void 0&&(x=A[0]):(x=A[w])===void 0&&(x=A[A.length-1])),x!==void 0?x:""}return"{"+l+"}"}(t.value,d))}),P(a.reduce((t,l)=>t+l.value,""),d,r)}function f(p,d){let r=p.split("."),e=this.options.lang,a=0;for(;a<r.length;++a)e=e&&e[r[a]];return typeof e=="string"?k(e,d,this):""}B.compose=function(p){let d=p.prototype;d.langFormat||(d.langFormat=f)},B.i18nFormat=k}(L||(L={})),L}),V(u,"Accessibility/Utils/ChartUtilities.js",[u["Core/Globals.js"],u["Accessibility/Utils/HTMLUtilities.js"],u["Core/Utilities.js"]],function(F,U,L){let{doc:P}=F,{stripHTMLTagsFromString:O}=U,{defined:N,find:B,fireEvent:k}=L;function f(d){if(d.points&&d.points.length){let r=B(d.points,e=>!!e.graphic);return r&&r.graphic&&r.graphic.element}}function p(d){let r=f(d);return r&&r.parentNode||d.graph&&d.graph.element||d.group&&d.group.element}return{fireEventOnWrappedOrUnwrappedElement:function d(r,e){let a=e.type,i=r.hcEvents;P.createEvent&&(r.dispatchEvent||r.fireEvent)?r.dispatchEvent?r.dispatchEvent(e):r.fireEvent(a,e):i&&i[a]?k(r,a,e):r.element&&d(r.element,e)},getChartTitle:function(d){return O(d.options.title.text||d.langFormat("accessibility.defaultChartTitle",{chart:d}),d.renderer.forExport)},getAxisDescription:function(d){var r,e;return d&&(((r=d.options.accessibility)==null?void 0:r.description)||((e=d.axisTitle)==null?void 0:e.textStr)||d.options.id||d.categories&&"categories"||d.dateTime&&"Time"||"values")},getAxisRangeDescription:function(d){let r=d.options||{};return r.accessibility&&r.accessibility.rangeDescription!==void 0?r.accessibility.rangeDescription:d.categories?function(e){let a=e.chart;return e.dataMax&&e.dataMin?a.langFormat("accessibility.axis.rangeCategories",{chart:a,axis:e,numCategories:e.dataMax-e.dataMin+1}):""}(d):d.dateTime&&(d.min===0||d.dataMin===0)?function(e){let a=e.chart,i={},n=e.dataMin||e.min||0,o=e.dataMax||e.max||0,t="Seconds";i.Seconds=(o-n)/1e3,i.Minutes=i.Seconds/60,i.Hours=i.Minutes/60,i.Days=i.Hours/24,["Minutes","Hours","Days"].forEach(function(c){i[c]>2&&(t=c)});let l=i[t].toFixed(t!=="Seconds"&&t!=="Minutes"?1:0);return a.langFormat("accessibility.axis.timeRange"+t,{chart:a,axis:e,range:l.replace(".0","")})}(d):function(e){let a=e.chart,i=a.options,n=i&&i.accessibility&&i.accessibility.screenReaderSection.axisRangeDateFormat||"",o={min:e.dataMin||e.min||0,max:e.dataMax||e.max||0},t=function(l){return e.dateTime?a.time.dateFormat(n,o[l]):o[l].toString()};return a.langFormat("accessibility.axis.rangeFromTo",{chart:a,axis:e,rangeFrom:t("min"),rangeTo:t("max")})}(d)},getPointFromXY:function(d,r,e){let a=d.length,i;for(;a--;)if(i=B(d[a].points||[],function(n){return n.x===r&&n.y===e}))return i},getSeriesFirstPointElement:f,getSeriesFromName:function(d,r){return r?(d.series||[]).filter(function(e){return e.name===r}):d.series},getSeriesA11yElement:p,unhideChartElementFromAT:function d(r,e){e.setAttribute("aria-hidden",!1),e!==r.renderTo&&e.parentNode&&e.parentNode!==P.body&&(Array.prototype.forEach.call(e.parentNode.childNodes,function(a){a.hasAttribute("aria-hidden")||a.setAttribute("aria-hidden",!0)}),d(r,e.parentNode))},hideSeriesFromAT:function(d){let r=p(d);r&&r.setAttribute("aria-hidden",!0)},scrollAxisToPoint:function(d){let r=d.series.xAxis,e=d.series.yAxis,a=r&&r.scrollbar?r:e,i=a&&a.scrollbar;if(i&&N(i.to)&&N(i.from)){let n=i.to-i.from,o=function(t,l){if(!N(t.dataMin)||!N(t.dataMax))return 0;let c=t.toPixels(t.dataMin),A=t.toPixels(t.dataMax),j=t.coll==="xAxis"?"x":"y";return(t.toPixels(l[j]||0)-c)/(A-c)}(a,d);i.updatePosition(o-n/2,o+n/2),k(i,"changed",{from:i.from,to:i.to,trigger:"scrollbar",DOMEvent:null})}}}}),V(u,"Accessibility/Utils/DOMElementProvider.js",[u["Core/Globals.js"],u["Accessibility/Utils/HTMLUtilities.js"]],function(F,U){let{doc:L}=F,{removeElement:P}=U;return class{constructor(){this.elements=[]}createElement(){let O=L.createElement.apply(L,arguments);return this.elements.push(O),O}removeElement(O){P(O),this.elements.splice(this.elements.indexOf(O),1)}
1destroyCreatedElements(){this.elements.forEach(function(O){P(O)}),this.elements=[]}}}),V(u,"Accessibility/Utils/EventProvider.js",[u["Core/Globals.js"],u["Core/Utilities.js"]],function(F,U){let{addEvent:L}=U;return class{constructor(){this.eventRemovers=[]}addEvent(){let P=L.apply(F,arguments);return this.eventRemovers.push({element:arguments[0],remover:P}),P}removeEvent(P){let O=this.eventRemovers.map(N=>N.remover).indexOf(P);this.eventRemovers[O].remover(),this.eventRemovers.splice(O,1)}removeAddedEvents(){this.eventRemovers.map(P=>P.remover).forEach(P=>P()),this.eventRemovers=[]}}}),V(u,"Accessibility/AccessibilityComponent.js",[u["Accessibility/Utils/ChartUtilities.js"],u["Accessibility/Utils/DOMElementProvider.js"],u["Accessibility/Utils/EventProvider.js"],u["Accessibility/Utils/HTMLUtilities.js"]],function(F,U,L,P){let{fireEventOnWrappedOrUnwrappedElement:O}=F,{getFakeMouseEvent:N}=P;return class{destroy(){}getKeyboardNavigation(){return[]}init(){}onChartRender(){}onChartUpdate(){}initBase(B,k){this.chart=B,this.eventProvider=new L,this.domElementProvider=new U,this.proxyProvider=k,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(B,k,f,p){return this.eventProvider.addEvent(B,k,f,p)}createElement(B,k){return this.domElementProvider.createElement(B,k)}fakeClickEvent(B){O(B,N("click"))}destroyBase(){this.domElementProvider.destroyCreatedElements(),this.eventProvider.removeAddedEvents()}}}),V(u,"Accessibility/KeyboardNavigationHandler.js",[u["Core/Utilities.js"]],function(F){let{find:U}=F;return class{constructor(L,P){this.chart=L,this.keyCodeMap=P.keyCodeMap||[],this.validate=P.validate,this.init=P.init,this.terminate=P.terminate,this.response={success:1,prev:2,next:3,noHandler:4,fail:5}}run(L){let P=L.which||L.keyCode,O=this.response.noHandler,N=U(this.keyCodeMap,function(B){return B[0].indexOf(P)>-1});return N?O=N[1].call(this,P,L):P===9&&(O=this.response[L.shiftKey?"prev":"next"]),O}}}),V(u,"Accessibility/Components/ContainerComponent.js",[u["Accessibility/AccessibilityComponent.js"],u["Accessibility/KeyboardNavigationHandler.js"],u["Accessibility/Utils/ChartUtilities.js"],u["Core/Globals.js"],u["Accessibility/Utils/HTMLUtilities.js"]],function(F,U,L,P,O){let{unhideChartElementFromAT:N,getChartTitle:B}=L,{doc:k}=P,{stripHTMLTagsFromString:f}=O;return class extends F{onChartUpdate(){this.handleSVGTitleElement(),this.setSVGContainerLabel(),this.setGraphicContainerAttrs(),this.setRenderToAttrs(),this.makeCreditsAccessible()}handleSVGTitleElement(){let p=this.chart,d="highcharts-title-"+p.index,r=f(p.langFormat("accessibility.svgContainerTitle",{chartTitle:B(p)}));if(r.length){let e=this.svgTitleElement=this.svgTitleElement||k.createElementNS("http://www.w3.org/2000/svg","title");e.textContent=r,e.id=d,p.renderTo.insertBefore(e,p.renderTo.firstChild)}}setSVGContainerLabel(){let p=this.chart,d=p.langFormat("accessibility.svgContainerLabel",{chartTitle:B(p)});p.renderer.box&&d.length&&p.renderer.box.setAttribute("aria-label",d)}setGraphicContainerAttrs(){let p=this.chart,d=p.langFormat("accessibility.graphicContainerLabel",{chartTitle:B(p)});d.length&&p.container.setAttribute("aria-label",d)}setRenderToAttrs(){let p=this.chart,d=p.options.accessibility.landmarkVerbosity!=="disabled",r=p.langFormat("accessibility.chartContainerLabel",{title:B(p),chart:p});r&&(p.renderTo.setAttribute("role",d?"region":"group"),p.renderTo.setAttribute("aria-label",r))}makeCreditsAccessible(){let p=this.chart,d=p.credits;d&&(d.textStr&&d.element.setAttribute("aria-label",p.langFormat("accessibility.credits",{creditsStr:f(d.textStr,p.renderer.forExport)})),N(p,d.element))}getKeyboardNavigation(){let p=this.chart;return new U(p,{keyCodeMap:[],validate:function(){return!0},init:function(){let d=p.accessibility;d&&d.keyboardNavigation.tabindexContainer.focus()}})}destroy(){this.chart.renderTo.setAttribute("aria-hidden",!0)}}}),V(u,"Accessibility/FocusBorder.js",[u["Core/Utilities.js"]],function(F){var U;let{addEvent:L,pick:P}=F;return function(O){let N=["x","y","transform","width","height","r","d","stroke-width"];function B(){let d=this.focusElement,r=this.options.accessibility.keyboardNavigation.focusBorder;d&&(d.removeFocusBorder(),r.enabled&&d.addFocusBorder(r.margin,{stroke:r.style.color,strokeWidth:r.style.lineWidth,r:r.style.borderRadius}))}function k(d,r){let e=this.options.accessibility.keyboardNavigation.focusBorder,a=r||d.element;a&&a.focus&&(a.hcEvents&&a.hcEvents.focusin||L(a,"focusin",function(){}),a.focus(),e.hideBrowserFocusOutline&&(a.style.outline="none")),this.focusElement&&this.focusElement.removeFocusBorder(),this.focusElement=d,this.renderFocusBorder()}function f(d,r){this.focusBorder&&this.removeFocusBorder();let e=this.getBBox(),a=P(d,3),i=this.parentGroup,n=this.scaleX||i&&i.scaleX,o=this.scaleY||i&&i.scaleY,t=(n?!o:o)?Math.abs(n||o||1):(Math.abs(n||1)+Math.abs(o||1))/2;e.x+=this.translateX?this.translateX:0,e.y+=this.translateY?this.translateY:0;let l=e.x-a,c=e.y-a,A=e.width+2*a,j=e.height+2*a,T=!!this.text;if(this.element.nodeName==="text"||T){let b,g,E=!!this.rotation,y=T?{x:E?1:0,y:0}:(b=0,g=0,this.attr("text-anchor")==="middle"?b=g=.5:this.rotation?b=.25:g=.75,{x:b,y:g}),x=+this.attr("x"),v=+this.attr("y");if(isNaN(x)||(l=x-e.width*y.x-a),isNaN(v)||(c=v-e.height*y.y-a),T&&E){let w=A;
1A=j,j=w,isNaN(x)||(l=x-e.height*y.x-a),isNaN(v)||(c=v-e.width*y.y-a)}}this.focusBorder=this.renderer.rect(l,c,A,j,parseInt((r&&r.r||0).toString(),10)/t).addClass("highcharts-focus-border").attr({zIndex:99}).add(i),this.renderer.styledMode||this.focusBorder.attr({stroke:r&&r.stroke,"stroke-width":(r&&r.strokeWidth||0)/t}),function(b,...g){b.focusBorderUpdateHooks||(b.focusBorderUpdateHooks={},N.forEach(E=>{let y=E+"Setter",x=b[y]||b._defaultSetter;b.focusBorderUpdateHooks[y]=x,b[y]=function(){let v=x.apply(b,arguments);return b.addFocusBorder.apply(b,g),v}}))}(this,d,r),function(b){if(b.focusBorderDestroyHook)return;let g=b.destroy;b.destroy=function(){return b.focusBorder&&b.focusBorder.destroy&&b.focusBorder.destroy(),g.apply(b,arguments)},b.focusBorderDestroyHook=g}(this)}function p(){var d;d=this,d.focusBorderUpdateHooks&&(Object.keys(d.focusBorderUpdateHooks).forEach(r=>{let e=d.focusBorderUpdateHooks[r];e===d._defaultSetter?delete d[r]:d[r]=e}),delete d.focusBorderUpdateHooks),this.focusBorderDestroyHook&&(this.destroy=this.focusBorderDestroyHook,delete this.focusBorderDestroyHook),this.focusBorder&&(this.focusBorder.destroy(),delete this.focusBorder)}O.compose=function(d,r){let e=d.prototype,a=r.prototype;e.renderFocusBorder||(e.renderFocusBorder=B,e.setFocusToElement=k),a.addFocusBorder||(a.addFocusBorder=f,a.removeFocusBorder=p)}}(U||(U={})),U}),V(u,"Accessibility/Utils/Announcer.js",[u["Core/Renderer/HTML/AST.js"],u["Accessibility/Utils/DOMElementProvider.js"],u["Core/Globals.js"],u["Accessibility/Utils/HTMLUtilities.js"],u["Core/Utilities.js"]],function(F,U,L,P,O){let{doc:N}=L,{addClass:B,visuallyHideElement:k}=P,{attr:f}=O;return class{constructor(p,d){this.chart=p,this.domElementProvider=new U,this.announceRegion=this.addAnnounceRegion(d)}destroy(){this.domElementProvider.destroyCreatedElements()}announce(p){F.setElementHTML(this.announceRegion,p),this.clearAnnouncementRegionTimer&&clearTimeout(this.clearAnnouncementRegionTimer),this.clearAnnouncementRegionTimer=setTimeout(()=>{this.announceRegion.innerHTML=F.emptyHTML,delete this.clearAnnouncementRegionTimer},3e3)}addAnnounceRegion(p){let d=this.chart.announcerContainer||this.createAnnouncerContainer(),r=this.domElementProvider.createElement("div");return f(r,{"aria-hidden":!1,"aria-live":p,"aria-atomic":!0}),this.chart.styledMode?B(r,"highcharts-visually-hidden"):k(r),d.appendChild(r),r}createAnnouncerContainer(){let p=this.chart,d=N.createElement("div");return f(d,{"aria-hidden":!1,class:"highcharts-announcer-container"}),d.style.position="relative",p.renderTo.insertBefore(d,p.renderTo.firstChild),p.announcerContainer=d,d}}}),V(u,"Accessibility/Components/AnnotationsA11y.js",[u["Accessibility/Utils/HTMLUtilities.js"]],function(F){let{escapeStringForHTML:U,stripHTMLTagsFromString:L}=F;function P(k){return(k.annotations||[]).reduce((f,p)=>(p.options&&p.options.visible!==!1&&(f=f.concat(p.labels)),f),[])}function O(k){return k.options&&k.options.accessibility&&k.options.accessibility.description||k.graphic&&k.graphic.text&&k.graphic.text.textStr||""}function N(k){let f=k.options&&k.options.accessibility&&k.options.accessibility.description;if(f)return f;let p=k.chart,d=O(k),r=k.points,e=t=>t.graphic&&t.graphic.element&&t.graphic.element.getAttribute("aria-label")||"",a=r.filter(t=>!!t.graphic).map(t=>{let l=t.accessibility&&t.accessibility.valueDescription||e(t),c=t&&t.series.name||"";return(c?c+", ":"")+"data point "+l}).filter(t=>!!t),i=a.length,n=i>1?"MultiplePoints":i?"SinglePoint":"NoPoints",o={annotationText:d,annotation:k,numPoints:i,annotationPoint:a[0],additionalAnnotationPoints:a.slice(1)};return p.langFormat("accessibility.screenReaderSection.annotations.description"+n,o)}function B(k){return P(k).map(f=>{let p=U(L(N(f),k.renderer.forExport));return p?`<li>${p}</li>`:""})}return{getAnnotationsInfoHTML:function(k){let f=k.annotations;return f&&f.length?`<ul style="list-style-type: none">${B(k).join(" ")}</ul>`:""},getAnnotationLabelDescription:N,getAnnotationListItems:B,getPointAnnotationTexts:function(k){let f=P(k.series.chart).filter(p=>p.points.indexOf(k)>-1);return f.length?f.map(p=>`${O(p)}`):[]}}}),V(u,"Accessibility/Components/InfoRegionsComponent.js",[u["Accessibility/A11yI18n.js"],u["Accessibility/AccessibilityComponent.js"],u["Accessibility/Utils/Announcer.js"],u["Accessibility/Components/AnnotationsA11y.js"],u["Core/Renderer/HTML/AST.js"],u["Accessibility/Utils/ChartUtilities.js"],u["Core/Templating.js"],u["Core/Globals.js"],u["Accessibility/Utils/HTMLUtilities.js"],u["Core/Utilities.js"]],function(F,U,L,P,O,N,B,k,f,p){let{getAnnotationsInfoHTML:d}=P,{getAxisDescription:r,getAxisRangeDescription:e,getChartTitle:a,unhideChartElementFromAT:i}=N,{format:n}=B,{doc:o}=k,{addClass:t,getElement:l,getHeadingTagNameForElement:c,stripHTMLTagsFromString:A,visuallyHideElement:j}=f,{attr:T,pick:b,replaceNested:g}=p;function E(y){return g(y,[/<([\w\-.:!]+)\b[^<>]*>\s*<\/\1>/g,""])}return class extends U{constructor(){super(...arguments),this.screenReaderSections={}}init(){let y=this.chart,x=this;this.initRegionsDefinitions(),this.addEvent(y,"aftergetTableAST",function(v){x.onDataTableCreated(v)}),this.addEvent(y,"afterViewData",function(v){v.wasHidden&&(x.dataTableDiv=v.element,setTimeout(function(){x.focusDataTable()},300))}),this.addEvent(y,"afterHideData",function(){x.viewDataTableButton&&x.viewDataTableButton.setAttribute("aria-expanded","fal
1se")}),y.exporting&&this.addEvent(y,"afterPrint",function(){x.updateAllScreenReaderSections()}),this.announcer=new L(y,"assertive")}initRegionsDefinitions(){let y=this,x=this.chart.options.accessibility;this.screenReaderSections={before:{element:null,buildContent:function(v){let w=x.screenReaderSection.beforeChartFormatter;return w?w(v):y.defaultBeforeChartFormatter(v)},insertIntoDOM:function(v,w){w.renderTo.insertBefore(v,w.renderTo.firstChild)},afterInserted:function(){y.sonifyButtonId!==void 0&&y.initSonifyButton(y.sonifyButtonId),y.dataTableButtonId!==void 0&&y.initDataTableButton(y.dataTableButtonId)}},after:{element:null,buildContent:function(v){let w=x.screenReaderSection.afterChartFormatter;return w?w(v):y.defaultAfterChartFormatter()},insertIntoDOM:function(v,w){w.renderTo.insertBefore(v,w.container.nextSibling)},afterInserted:function(){y.chart.accessibility&&x.keyboardNavigation.enabled&&y.chart.accessibility.keyboardNavigation.updateExitAnchor()}}}}onChartRender(){this.linkedDescriptionElement=this.getLinkedDescriptionElement(),this.setLinkedDescriptionAttrs(),this.updateAllScreenReaderSections()}updateAllScreenReaderSections(){let y=this;Object.keys(this.screenReaderSections).forEach(function(x){y.updateScreenReaderSection(x)})}getLinkedDescriptionElement(){let y=this.chart.options.accessibility.linkedDescription;if(!y)return;if(typeof y!="string")return y;let x=n(y,this.chart),v=o.querySelectorAll(x);if(v.length===1)return v[0]}setLinkedDescriptionAttrs(){let y=this.linkedDescriptionElement;y&&(y.setAttribute("aria-hidden","true"),t(y,"highcharts-linked-description"))}updateScreenReaderSection(y){let x=this.chart,v=this.screenReaderSections[y],w=v.buildContent(x),s=v.element=v.element||this.createElement("div"),h=s.firstChild||this.createElement("div");w?(this.setScreenReaderSectionAttribs(s,y),O.setElementHTML(h,w),s.appendChild(h),v.insertIntoDOM(s,x),x.styledMode?t(h,"highcharts-visually-hidden"):j(h),i(x,h),v.afterInserted&&v.afterInserted()):(s.parentNode&&s.parentNode.removeChild(s),v.element=null)}setScreenReaderSectionAttribs(y,x){let v=this.chart,w=v.langFormat("accessibility.screenReaderSection."+x+"RegionLabel",{chart:v,chartTitle:a(v)});T(y,{id:`highcharts-screen-reader-region-${x}-${v.index}`,"aria-label":w||void 0}),y.style.position="relative",w&&y.setAttribute("role",v.options.accessibility.landmarkVerbosity==="all"?"region":"group")}defaultBeforeChartFormatter(){let y=this.chart,x=y.options.accessibility.screenReaderSection.beforeChartFormat;if(!x)return"";let v=this.getAxesDescription(),w=y.sonify&&y.options.sonification&&y.options.sonification.enabled,s="highcharts-a11y-sonify-data-btn-"+y.index,h="hc-linkto-highcharts-data-table-"+y.index,m=d(y),C=y.langFormat("accessibility.screenReaderSection.annotations.heading",{chart:y}),S={headingTagName:c(y.renderTo),chartTitle:a(y),typeDescription:this.getTypeDescriptionText(),chartSubtitle:this.getSubtitleText(),chartLongdesc:this.getLongdescText(),xAxisDescription:v.xAxis,yAxisDescription:v.yAxis,playAsSoundButton:w?this.getSonifyButtonText(s):"",viewTableButton:y.getCSV?this.getDataTableButtonText(h):"",annotationsTitle:m?C:"",annotationsList:m},D=F.i18nFormat(x,S,y);return this.dataTableButtonId=h,this.sonifyButtonId=s,E(D)}defaultAfterChartFormatter(){let y=this.chart,x=y.options.accessibility.screenReaderSection.afterChartFormat;if(!x)return"";let v={endOfChartMarker:this.getEndOfChartMarkerText()};return E(F.i18nFormat(x,v,y))}getLinkedDescription(){let y=this.linkedDescriptionElement;return A(y&&y.innerHTML||"",this.chart.renderer.forExport)}getLongdescText(){let y=this.chart.options,x=y.caption,v=x&&x.text,w=this.getLinkedDescription();return y.accessibility.description||w||v||""}getTypeDescriptionText(){let y=this.chart;return y.types?y.options.accessibility.typeDescription||function(x,v){let w=v[0],s=x.series&&x.series[0]||{},h=x.mapView&&x.mapView.geoMap&&x.mapView.geoMap.title,m={numSeries:x.series.length,numPoints:s.points&&s.points.length,chart:x,mapTitle:h};return w?w==="map"||w==="tiledwebmap"?m.mapTitle?x.langFormat("accessibility.chartTypes.mapTypeDescription",m):x.langFormat("accessibility.chartTypes.unknownMap",m):x.types.length>1?x.langFormat("accessibility.chartTypes.combinationChart",m):function(C,S,D){let M=S[0],K=C.langFormat("accessibility.seriesTypeDescriptions."+M,D),R=C.series&&C.series.length<2?"Single":"Multiple";return(C.langFormat("accessibility.chartTypes."+M+R,D)||C.langFormat("accessibility.chartTypes.default"+R,D))+(K?" "+K:"")}(x,v,m):x.langFormat("accessibility.chartTypes.emptyChart",m)}(y,y.types):""}getDataTableButtonText(y){let x=this.chart;return'<button id="'+y+'">'+x.langFormat("accessibility.table.viewAsDataTableButtonText",{chart:x,chartTitle:a(x)})+"</button>"}getSonifyButtonText(y){let x=this.chart;return x.options.sonification&&x.options.sonification.enabled===!1?"":'<button id="'+y+'">'+x.langFormat("accessibility.sonification.playAsSoundButtonText",{chart:x,chartTitle:a(x)})+"</button>"}getSubtitleText(){let y=this.chart.options.subtitle;return A(y&&y.text||"",this.chart.renderer.forExport)}getEndOfChartMarkerText(){let y=l(`highcharts-end-of-chart-marker-${this.chart.index}`);
vendor: 4,130 bytes, line 1
1if(y)return y.outerHTML;let x=this.chart,v=x.langFormat("accessibility.screenReaderSection.endOfChartMarker",{chart:x});return'<div id="highcharts-end-of-chart-marker-'+x.index+'">'+v+"</div>"}onDataTableCreated(y){let x=this.chart;if(x.options.accessibility.enabled){this.viewDataTableButton&&this.viewDataTableButton.setAttribute("aria-expanded","true");let v=y.tree.attributes||{};v.tabindex=-1,v.summary=x.langFormat("accessibility.table.tableSummary",{chart:x}),y.tree.attributes=v}}focusDataTable(){let y=this.dataTableDiv,x=y&&y.getElementsByTagName("table")[0];x&&x.focus&&x.focus()}initSonifyButton(y){let x=this.sonifyButton=l(y),v=this.chart,w=s=>{x&&(x.setAttribute("aria-hidden","true"),x.setAttribute("aria-label","")),s.preventDefault(),s.stopPropagation();let h=v.langFormat("accessibility.sonification.playAsSoundClickAnnouncement",{chart:v});this.announcer.announce(h),setTimeout(()=>{x&&(x.removeAttribute("aria-hidden"),x.removeAttribute("aria-label")),v.sonify&&v.sonify()},1e3)};x&&v&&(x.setAttribute("tabindex",-1),x.onclick=function(s){(v.options.accessibility&&v.options.accessibility.screenReaderSection.onPlayAsSoundClick||w).call(this,s,v)})}initDataTableButton(y){let x=this.viewDataTableButton=l(y),v=this.chart,w=y.replace("hc-linkto-","");x&&(T(x,{tabindex:-1,"aria-expanded":!!l(w)}),x.onclick=v.options.accessibility.screenReaderSection.onViewDataTableClick||function(){v.viewData()})}getAxesDescription(){let y=this.chart,x=function(C,S){let D=y[C];return D.length>1||D[0]&&b(D[0].options.accessibility&&D[0].options.accessibility.enabled,S)},v=!!y.types&&0>y.types.indexOf("map")&&0>y.types.indexOf("treemap")&&0>y.types.indexOf("tilemap"),w=!!y.hasCartesianSeries,s=x("xAxis",!y.angular&&w&&v),h=x("yAxis",w&&v),m={};return s&&(m.xAxis=this.getAxisDescriptionText("xAxis")),h&&(m.yAxis=this.getAxisDescriptionText("yAxis")),m}getAxisDescriptionText(y){let x=this.chart,v=x[y];return x.langFormat("accessibility.axis."+y+"Description"+(v.length>1?"Plural":"Singular"),{chart:x,names:v.map(function(w){return r(w)}),ranges:v.map(function(w){return e(w)}),numAxes:v.length})}destroy(){this.announcer&&this.announcer.destroy()}}}),V(u,"Accessibility/Components/MenuComponent.js",[u["Core/Utilities.js"],u["Accessibility/AccessibilityComponent.js"],u["Accessibility/KeyboardNavigationHandler.js"],u["Accessibility/Utils/ChartUtilities.js"],u["Accessibility/Utils/HTMLUtilities.js"]],function(F,U,L,P,O){let{attr:N}=F,{getChartTitle:B,unhideChartElementFromAT:k}=P,{getFakeMouseEvent:f}=O;function p(r){return r.exportSVGElements&&r.exportSVGElements[0]}class d extends U{init(){let e=this.chart,a=this;this.addEvent(e,"exportMenuShown",function(){a.onMenuShown()}),this.addEvent(e,"exportMenuHidden",function(){a.onMenuHidden()}),this.createProxyGroup()}onMenuHidden(){let e=this.chart.exportContextMenu;e&&e.setAttribute("aria-hidden","true"),this.setExportButtonExpandedState("false")}onMenuShown(){let e=this.chart,a=e.exportContextMenu;a&&(this.addAccessibleContextMenuAttribs(),k(e,a)),this.setExportButtonExpandedState("true")}setExportButtonExpandedState(e){this.exportButtonProxy&&this.exportButtonProxy.innerElement.setAttribute("aria-expanded",e)}onChartRender(){let e=this.chart,a=e.focusElement,i=e.accessibility;this.proxyProvider.clearGroup("chartMenu"),this.proxyMenuButton(),this.exportButtonProxy&&a&&a===e.exportingGroup&&(a.focusBorder?e.setFocusToElement(a,this.exportButtonProxy.innerElement):i&&i.keyboardNavigation.tabindexContainer.focus())}proxyMenuButton(){let e=this.chart,a=this.proxyProvider,i=p(e);(function(n){let o=n.options.exporting,t=p(n);return!!(o&&o.enabled!==!1&&o.accessibility&&o.accessibility.enabled&&t&&t.element)})(e)&&i&&(this.exportButtonProxy=a.addProxyElement("chartMenu",{click:i},"button",{"aria-label":e.langFormat("accessibility.exporting.menuButtonLabel",{chart:e,chartTitle:B(e)}),"aria-expanded":!1,title:e.options.lang.contextButtonTitle||null}))}createProxyGroup(){this.chart&&this.proxyProvider&&this.proxyProvider.addGroup("chartMenu")}addAccessibleContextMenuAttribs(){let e=this.chart,a=e.exportDivElements;if(a&&a.length){a.forEach(n=>
1{n&&(n.tagName!=="LI"||n.children&&n.children.length?n.setAttribute("aria-hidden","true"):n.setAttribute("tabindex",-1))});let i=a[0]&&a[0].parentNode;i&&N(i,{"aria-hidden":void 0,"aria-label":e.langFormat("accessibility.exporting.chartMenuLabel",{chart:e}),role:"list"})}}getKeyboardNavigation(){let e=this.keyCodes,a=this.chart,i=this;return new L(a,{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!!a.exporting&&a.options.exporting.enabled!==!1&&a.options.exporting.accessibility.enabled!==!1},init:function(){let n=i.exportButtonProxy,o=i.chart.exportingGroup;n&&o&&a.setFocusToElement(o,n.innerElement)},terminate:function(){a.hideExportMenu()}})}onKbdPrevious(e){let a=this.chart,i=a.options.accessibility,n=e.response,o=a.highlightedExportItemIx||0;for(;o--;)if(a.highlightExportItem(o))return n.success;return i.keyboardNavigation.wrapAround?(a.highlightLastExportItem(),n.success):n.prev}onKbdNext(e){let a=this.chart,i=a.options.accessibility,n=e.response;for(let o=(a.highlightedExportItemIx||0)+1;o<a.exportDivElements.length;++o)if(a.highlightExportItem(o))return n.success;return i.keyboardNavigation.wrapAround?(a.highlightExportItem(0),n.success):n.next}onKbdClick(e){let a=this.chart,i=a.exportDivElements[a.highlightedExportItemIx],n=p(a).element;return a.openMenu?this.fakeClickEvent(i):(this.fakeClickEvent(n),a.highlightExportItem(0)),e.response.success}}return function(r){function e(){let o=p(this);if(o){let t=o.element;t.onclick&&t.onclick(f("click"))}}function a(){let o=this.exportDivElements;o&&this.exportContextMenu&&this.openMenu&&(o.forEach(t=>{t&&t.className==="highcharts-menu-item"&&t.onmouseout&&t.onmouseout(f("mouseout"))}),this.highlightedExportItemIx=0,this.exportContextMenu.hideMenu(),this.container.focus())}function i(o){let t=this.exportDivElements&&this.exportDivElements[o],l=this.exportDivElements&&this.exportDivElements[this.highlightedExportItemIx];if(t&&t.tagName==="LI"&&!(t.children&&t.children.length)){let c=!!(this.renderTo.getElementsByTagName("g")[0]||{}).focus;return t.focus&&c&&t.focus(),l&&l.onmouseout&&l.onmouseout(f("mouseout")),t.onmouseover&&t.onmouseover(f("mouseover")),this.highlightedExportItemIx=o,!0}return!1}function n(){if(this.exportDivElements){let o=this.exportDivElements.length;for(;o--;)if(this.highlightExportItem(o))return!0}return!1}
vendor: 4,145 bytes, line 1
1r.compose=function(o){let t=o.prototype;t.hideExportMenu||(t.hideExportMenu=a,t.highlightExportItem=i,t.highlightLastExportItem=n,t.showExportMenu=e)}}(d),d}),V(u,"Accessibility/KeyboardNavigation.js",[u["Core/Globals.js"],u["Accessibility/Components/MenuComponent.js"],u["Core/Utilities.js"],u["Accessibility/Utils/EventProvider.js"],u["Accessibility/Utils/HTMLUtilities.js"]],function(F,U,L,P,O){let{doc:N,win:B}=F,{addEvent:k,defined:f,fireEvent:p}=L,{getElement:d,simulatedEventTarget:r}=O;class e{constructor(i,n){this.currentModuleIx=NaN,this.modules=[],this.init(i,n)}init(i,n){let o=this.eventProvider=new P;this.chart=i,this.components=n,this.modules=[],this.currentModuleIx=0,this.update(),o.addEvent(this.tabindexContainer,"keydown",t=>this.onKeydown(t)),o.addEvent(this.tabindexContainer,"focus",t=>this.onFocus(t)),["mouseup","touchend"].forEach(t=>o.addEvent(N,t,l=>this.onMouseUp(l))),["mousedown","touchstart"].forEach(t=>o.addEvent(i.renderTo,t,()=>{this.isClickingChart=!0}))}update(i){let n=this.chart.options.accessibility,o=n&&n.keyboardNavigation,t=this.components;this.updateContainerTabindex(),o&&o.enabled&&i&&i.length?(this.modules=i.reduce(function(l,c){let A=t[c].getKeyboardNavigation();return l.concat(A)},[]),this.updateExitAnchor()):(this.modules=[],this.currentModuleIx=0,this.removeExitAnchor())}updateExitAnchor(){let i=d(`highcharts-end-of-chart-marker-${this.chart.index}`);this.removeExitAnchor(),i?(this.makeElementAnExitAnchor(i),this.exitAnchor=i):this.createExitAnchor()}move(i){let n=this.modules&&this.modules[this.currentModuleIx];n&&n.terminate&&n.terminate(i),this.chart.focusElement&&this.chart.focusElement.removeFocusBorder(),this.currentModuleIx+=i;let o=this.modules&&this.modules[this.currentModuleIx];if(o){if(o.validate&&!o.validate())return this.move(i);if(o.init)return o.init(i),!0}return this.currentModuleIx=0,this.exiting=!0,i>0?this.exitAnchor&&this.exitAnchor.focus():this.tabindexContainer.focus(),!1}onFocus(i){let n=this.chart,o=i.relatedTarget&&n.container.contains(i.relatedTarget),t=n.options.accessibility,l=t&&t.keyboardNavigation;if(l&&l.enabled&&!this.exiting&&!this.tabbingInBackwards&&!this.isClickingChart&&!o){let c=this.getFirstValidModuleIx();c!==null&&(this.currentModuleIx=c,this.modules[c].init(1))}this.keyboardReset=!1,this.exiting=!1}onMouseUp(i){if(delete this.isClickingChart,!this.keyboardReset&&i.relatedTarget!==r){let n=this.chart;if(!i.target||!n.container.contains(i.target)){let o=this.modules&&this.modules[this.currentModuleIx||0];o&&o.terminate&&o.terminate(),this.currentModuleIx=0}n.focusElement&&(n.focusElement.removeFocusBorder(),delete n.focusElement),this.keyboardReset=!0}}onKeydown(i){let n,o=i||B.event,t=this.modules&&this.modules.length&&this.modules[this.currentModuleIx],l=o.target;if((!l||l.nodeName!=="INPUT"||l.classList.contains("highcharts-a11y-proxy-element"))&&(this.keyboardReset=!1,this.exiting=!1,t)){let c=t.run(o);c===t.response.success?n=!0:c===t.response.prev?n=this.move(-1):c===t.response.next&&(n=this.move(1)),n&&(o.preventDefault(),o.stopPropagation())}}updateContainerTabindex(){let i,n=this.chart.options.accessibility,o=n&&n.keyboardNavigation,t=!(o&&o.enabled===!1),l=this.chart,c=l.container;l.renderTo.hasAttribute("tabindex")?(c.removeAttribute("tabindex"),i=l.renderTo):i=c,this.tabindexContainer=i;let A=i.getAttribute("tabindex");t&&!A?i.setAttribute("tabindex","0"):t||l.container.removeAttribute("tabindex")}createExitAnchor(){let i=this.chart,n=this.exitAnchor=N.createElement("div");i.renderTo.appendChild(n),this.makeElementAnExitAnchor(n)}makeElementAnExitAnchor(i){let n=this.tabindexContainer.getAttribute("tabindex")||0;i.setAttribute("class","highcharts-exit-anchor"),i.setAttribute("tabindex",n),i.setAttribute("aria-hidden",!1),this.addExitAnchorEventsToEl(i)}removeExitAnchor(){if(this.exitAnchor){let i=this.eventProvider.eventRemovers.find(n=>n.element===this.exitAnchor);i&&f(i.remover)&&this.eventProvider.removeEvent(i.remover),this.exitAnchor.parentNode&&this.exitAnchor.parentNode.removeChild(this.exitAnchor),delete this.exitAnchor}}addExitAnchorEventsToEl(i){let n=this.chart,o=this;
1this.eventProvider.addEvent(i,"focus",function(t){let l=t||B.event,c=!(l.relatedTarget&&n.container.contains(l.relatedTarget)||o.exiting);if(n.focusElement&&delete n.focusElement,c){if(o.tabbingInBackwards=!0,o.tabindexContainer.focus(),delete o.tabbingInBackwards,l.preventDefault(),o.modules&&o.modules.length){o.currentModuleIx=o.modules.length-1;let A=o.modules[o.currentModuleIx];A&&A.validate&&!A.validate()?o.move(-1):A&&A.init(-1)}}else o.exiting=!1})}getFirstValidModuleIx(){let i=this.modules.length;for(let n=0;n<i;++n){let o=this.modules[n];if(!o.validate||o.validate())return n}return null}destroy(){this.removeExitAnchor(),this.eventProvider.removeAddedEvents(),this.chart.container.removeAttribute("tabindex")}}return function(a){function i(){let o=this;p(this,"dismissPopupContent",{},function(){o.tooltip&&o.tooltip.hide(0),o.hideExportMenu()})}function n(o){(o.which||o.keyCode)===27&&F.charts&&F.charts.forEach(t=>{t&&t.dismissPopupContent&&t.dismissPopupContent()})}a.compose=function(o){U.compose(o);let t=o.prototype;return t.dismissPopupContent||(t.dismissPopupContent=i,k(N,"keydown",n)),o}}(e),e}),V(u,"Accessibility/Components/LegendComponent.js",[u["Core/Animation/AnimationUtilities.js"],u["Core/Globals.js"],u["Core/Legend/Legend.js"],u["Core/Utilities.js"],u["Accessibility/AccessibilityComponent.js"],u["Accessibility/KeyboardNavigationHandler.js"],u["Accessibility/Utils/ChartUtilities.js"],u["Accessibility/Utils/HTMLUtilities.js"]],function(F,U,L,P,O,N,B,k){let{animObject:f}=F,{doc:p}=U,{addEvent:d,fireEvent:r,isNumber:e,pick:a,syncTimeout:i}=P,{getChartTitle:n}=B,{stripHTMLTagsFromString:o,addClass:t,removeClass:l}=k;function c(T){let b=T.legend&&T.legend.allItems,g=T.options.legend.accessibility||{},E=T.colorAxis&&T.colorAxis.some(y=>!y.dataClasses||!y.dataClasses.length);return!!(b&&b.length&&!E&&g.enabled!==!1)}function A(T,b){let g=b.legendItem||{};for(let E of(b.setState(T?"hover":"",!0),["group","label","symbol"])){let y=g[E],x=y&&y.element||y;x&&r(x,T?"mouseover":"mouseout")}}class j extends O{constructor(){super(...arguments),this.highlightedLegendItemIx=NaN,this.proxyGroup=null}init(){let b=this;this.recreateProxies(),this.addEvent(L,"afterScroll",function(){this.chart===b.chart&&(b.proxyProvider.updateGroupProxyElementPositions("legend"),b.updateLegendItemProxyVisibility(),b.highlightedLegendItemIx>-1&&this.chart.highlightLegendItem(b.highlightedLegendItemIx))}),this.addEvent(L,"afterPositionItem",function(g){this.chart===b.chart&&this.chart.renderer&&b.updateProxyPositionForItem(g.item)}
1),this.addEvent(L,"afterRender",function(){this.chart===b.chart&&this.chart.renderer&&b.recreateProxies()&&i(()=>b.proxyProvider.updateGroupProxyElementPositions("legend"),f(a(this.chart.renderer.globalAnimation,!0)).duration)})}updateLegendItemProxyVisibility(){let b,g=this.chart,E=g.legend,y=E.allItems||[],x=E.currentPage||1,v=E.clipHeight||0;y.forEach(w=>{if(w.a11yProxyElement){let s=E.pages&&E.pages.length,h=w.a11yProxyElement.element,m=!1;if(b=w.legendItem||{},s){let C=b.pageIx||0;m=(b.y||0)+(b.label?Math.round(b.label.getBBox().height):0)-E.pages[C]>v||C!==x-1}m?g.styledMode?t(h,"highcharts-a11y-invisible"):h.style.visibility="hidden":(l(h,"highcharts-a11y-invisible"),h.style.visibility="")}})}onChartRender(){c(this.chart)||this.removeProxies()}highlightAdjacentLegendPage(b){let g=this.chart,E=g.legend,y=(E.currentPage||1)+b,x=E.pages||[];if(y>0&&y<=x.length){let v=0;for(let w of E.allItems)((w.legendItem||{}).pageIx||0)+1===y&&g.highlightLegendItem(v)&&(this.highlightedLegendItemIx=v),++v}}updateProxyPositionForItem(b){b.a11yProxyElement&&b.a11yProxyElement.refreshPosition()}recreateProxies(){let b=p.activeElement,g=this.proxyGroup,E=b&&g&&g.contains(b);return this.removeProxies(),!!c(this.chart)&&(this.addLegendProxyGroup(),this.proxyLegendItems(),this.updateLegendItemProxyVisibility(),this.updateLegendTitle(),E&&this.chart.highlightLegendItem(this.highlightedLegendItemIx),!0)}removeProxies(){this.proxyProvider.removeGroup("legend")}updateLegendTitle(){let b=this.chart,g=o((b.legend&&b.legend.options.title&&b.legend.options.title.text||"").replace(/<br ?\/?>/g," "),b.renderer.forExport),E=b.langFormat("accessibility.legend.legendLabel"+(g?"":"NoTitle"),{chart:b,legendTitle:g,chartTitle:n(b)});this.proxyProvider.updateGroupAttrs("legend",{"aria-label":E})}addLegendProxyGroup(){let b=this.chart.options.accessibility.landmarkVerbosity==="all"?"region":null;this.proxyGroup=this.proxyProvider.addGroup("legend","ul",{"aria-label":"_placeholder_",role:b})}proxyLegendItems(){let b,g=this;((this.chart.legend||{}).allItems||[]).forEach(E=>{(b=E.legendItem||{}).label&&b.label.element&&g.proxyLegendItem(E)})}proxyLegendItem(b){let g=b.legendItem||{};if(!g.label||!g.group)return;let E=this.chart.langFormat("accessibility.legend.legendItem",{chart:this.chart,itemName:o(b.name,this.chart.renderer.forExport),item:b}),y={tabindex:-1,"aria-pressed":b.visible,"aria-label":E},x=g.group.div?g.label:g.group;b.a11yProxyElement=this.proxyProvider.addProxyElement("legend",{click:g.label,visual:x.element},"button",y)}getKeyboardNavigation(){let b=this.keyCodes,g=this,E=this.chart;return new N(E,{keyCodeMap:[[[b.left,b.right,b.up,b.down],function(y){return g.onKbdArrowKey(this,y)}],[[b.enter,b.space],function(){return g.onKbdClick(this)}],[[b.pageDown,b.pageUp],function(y){let x=y===b.pageDown?1:-1;return g.highlightAdjacentLegendPage(x),this.response.success}]],validate:function(){return g.shouldHaveLegendNavigation()},init:function(){E.highlightLegendItem(0),g.highlightedLegendItemIx=0},terminate:function(){g.highlightedLegendItemIx=-1,E.legend.allItems.forEach(y=>A(!1,y))}})}onKbdArrowKey(b,g){let{keyCodes:{left:E,up:y},highlightedLegendItemIx:x,chart:v}=this,w=v.legend.allItems.length,s=v.options.accessibility.keyboardNavigation.wrapAround,h=g===E||g===y?-1:1;return v.highlightLegendItem(x+h)?this.highlightedLegendItemIx+=h:s&&w>1&&(this.highlightedLegendItemIx=h>0?0:w-1,v.highlightLegendItem(this.highlightedLegendItemIx)),b.response.success}onKbdClick(b){let g=this.chart.legend.allItems[this.highlightedLegendItemIx];return g&&g.a11yProxyElement&&g.a11yProxyElement.click(),b.response.success}shouldHaveLegendNavigation(){if(!c(this.chart))return!1;let b=this.chart,g=(b.options.legend||{}).accessibility||{};return!!(b.legend.display&&g.keyboardNavigation&&g.keyboardNavigation.enabled)}destroy(){this.removeProxies()}}return function(T){function b(E){let y=this.legend.allItems,x=this.accessibility&&this.accessibility.components.legend.highlightedLegendItemIx,v=y[E],w=(v==null?void 0:v.legendItem)||{};if(v){e(x)&&y[x]&&A(!1,y[x]),function(m,C){let S=(m.allItems[C].legendItem||{}).pageIx,D=m.currentPage;S!==void 0&&S+1!==D&&m.scroll(1+S-D)}(this.legend,E);let s=w.label,h=v.a11yProxyElement&&v.a11yProxyElement.innerElement;return s&&s.element&&h&&this.setFocusToElement(s,h),A(!0,v),!0}return!1}function g(E){let y=this.chart.options.accessibility,x=E.item;y.enabled&&x&&x.a11yProxyElement&&x.a11yProxyElement.innerElement.setAttribute("aria-pressed",E.visible?"true":"false")}T.compose=function(E,y){let x=E.prototype;x.highlightLegendItem||(x.highlightLegendItem=b,d(y,"afterColorizeItem",g))}}(j),j}),V(u,"Stock/Navigator/ChartNavigatorComposition.js",[u["Core/Globals.js"],u["Core/Utilities.js"]],function(F,U){let L,{isTouchDevice:P}=F,{addEvent:O,merge:N,pick:B}=U,k=[];function f(){this.navigator&&this.navigator.setBaseSeries(null,!1)}function p(){var A;let n,o,t,l=this.legend,c=this.navigator;if(c){n=l&&l.options,o=c.xAxis,t=c.yAxis;let{scrollbarHeight:j,scrollButtonSize:T}=c;this.inverted?(c.left=c.opposite?this.chartWidth-j-c.height:this.spacing[3]+j,c.top=this.plotTop+T):(c.left
1=B(o.left,this.plotLeft+T),c.top=c.navigatorOptions.top||this.chartHeight-c.height-j-(((A=this.scrollbar)==null?void 0:A.options.margin)||0)-this.spacing[2]-(this.rangeSelector&&this.extraBottomMargin?this.rangeSelector.getHeight():0)-(n&&n.verticalAlign==="bottom"&&n.layout!=="proximate"&&n.enabled&&!n.floating?l.legendHeight+B(n.margin,10):0)-(this.titleOffset?this.titleOffset[2]:0)),o&&t&&(this.inverted?o.options.left=t.options.left=c.left:o.options.top=t.options.top=c.top,o.setAxisSize(),t.setAxisSize())}}function d(n){!this.navigator&&!this.scroller&&(this.options.navigator.enabled||this.options.scrollbar.enabled)&&(this.scroller=this.navigator=new L(this),B(n.redraw,!0)&&this.redraw(n.animation))}function r(){let n=this.options;(n.navigator.enabled||n.scrollbar.enabled)&&(this.scroller=this.navigator=new L(this))}function e(){let n=this.options,o=n.navigator,t=n.rangeSelector;if((o&&o.enabled||t&&t.enabled)&&(!P&&this.zooming.type==="x"||P&&this.zooming.pinchType==="x"))return!1}function a(n){let o=n.navigator;if(o&&n.xAxis[0]){let t=n.xAxis[0].getExtremes();o.render(t.min,t.max)}}function i(n){let o=n.options.navigator||{},t=n.options.scrollbar||{};!this.navigator&&!this.scroller&&(o.enabled||t.enabled)&&(N(!0,this.options.navigator,o),N(!0,this.options.scrollbar,t),delete n.options.navigator,delete n.options.scrollbar)}return{compose:function(n,o){if(U.pushUnique(k,n)){let t=n.prototype;L=o,t.callbacks.push(a),O(n,"afterAddSeries",f),O(n,"afterSetChartSize",p),O(n,"afterUpdate",d),O(n,"beforeRender",r),O(n,"beforeShowResetZoom",e),O(n,"update",i)}}}}),V(u,"Core/Axis/NavigatorAxisComposition.js",[u["Core/Globals.js"],u["Core/Utilities.js"]],function(F,U){let{isTouchDevice:L}=F,{addEvent:P,correctFloat:O,defined:N,isNumber:B,pick:k}=U;function f(){this.navigatorAxis||(this.navigatorAxis=new d(this))}function p(r){let e,a=this.chart,i=a.options,n=i.navigator,o=this.navigatorAxis,t=a.zooming.pinchType,l=i.rangeSelector,c=a.zooming.type;if(this.isXAxis&&(n!=null&&n.enabled||l!=null&&l.enabled)){if(c==="y"&&r.trigger==="zoom")e=!1;else if((r.trigger==="zoom"&&c==="xy"||L&&t==="xy")&&this.options.range){let A=o.previousZoom;N(r.min)?o.previousZoom=[this.min,this.max]:A&&(r.min=A[0],r.max=A[1],o.previousZoom=void 0)}}e!==void 0&&r.preventDefault()}class d{static compose(e){e.keepProps.includes("navigatorAxis")||(e.keepProps.push("navigatorAxis"),P(e,"init",f),P(e,"setExtremes",p))}constructor(e){this.axis=e}destroy(){this.axis=void 0}toFixedRange(e,a,i,n){let o=this.axis,t=(o.pointRange||0)/2,l=k(i,o.translate(e,!0,!o.horiz)),c=k(n,o.translate(a,!0,!o.horiz));return N(i)||(l=O(l+t)),N(n)||(c=O(c-t)),B(l)&&B(c)||(l=c=void 0),{min:l,max:c}}}return d}),V(u,"Stock/Navigator/NavigatorDefaults.js",[u["Core/Color/Color.js"],u["Core/Series/SeriesRegistry.js"]],function(F,U){let{parse:L}=F,{seriesTypes:P}=U;return{height:40,margin:25,maskInside:!0,handles:{width:7,borderRadius:0,height:15,symbols:["navigator-handle","navigator-handle"],enabled:!0,lineWidth:1,backgroundColor:"#f2f2f2",borderColor:"#999999"},maskFill:L("#667aff").setOpacity(.3).get(),outlineColor:"#999999",outlineWidth:1,series:{type:P.areaspline===void 0?"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:"#e6e6e6",id:"navigator-x-axis",gridLineWidth:1,tickPixelInterval:200,labels:{align:"left",style:{color:"#000000",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:null},tickLength:0,tickWidth:0}}}),V(u,"Stock/Navigator/NavigatorSymbols.js",[u["Core/Renderer/SVG/Symbols.js"],u["Core/Utilities.js"]],function(F,U){let{relativeLength:L}=U;return{"navigator-handle":function(P,O,N,B,k={}){let f=k.width?k.width/2:N,p=L(k.borderRadius||0,Math.min(2*f,B));return[["M",-1.5,(B=k.height||B)/2-3.5],["L",-1.5,B/2+4.5],["M",.5,B/2-3.5],["L",.5,B/2+4.5],...F.rect(-f-1,.5,2*f+1,B,{r:p})]}}}),V(u,"Stock/Utilities/StockUtilities.js",[u["Core/Utilities.js"]],function(F){let{defined:U}=F;return{setFixedRange:function(L){let P=this.xAxis[0];U(P.dataMax)&&U(P.dataMin)&&L?this.fixedRange=Math.min(L,P.dataMax-P.dataMin):this.fixedRange=L}}}),V(u,"Stock/Navigator/NavigatorComposition.js",[u["Core/Defaults.js"],u["Core/Globals.js"],u["Core/Axis/NavigatorAxisComposition.js"],u["Stock/Navigator/NavigatorDefaults.js"],u["Stock/Navigator/NavigatorSymbols.js"],u["Core/Renderer/RendererRegistry.js"],u["Stock/Utilities/StockUtilities.js"],u["Core/Utilities.js"]],function(F,U,L,P,O,N,B,k){let{setOptions:f}
1=F,{composed:p}=U,{getRendererType:d}=N,{setFixedRange:r}=B,{addEvent:e,extend:a,pushUnique:i}=k;function n(){this.chart.navigator&&!this.options.isInternal&&this.chart.navigator.setBaseSeries(null,!1)}return{compose:function(o,t,l){L.compose(t),i(p,"Navigator")&&(o.prototype.setFixedRange=r,a(d().prototype.symbols,O),e(l,"afterUpdate",n),f({navigator:P}))}}}),V(u,"Core/Axis/ScrollbarAxis.js",[u["Core/Globals.js"],u["Core/Utilities.js"]],function(F,U){var L;let{composed:P}=F,{addEvent:O,defined:N,pick:B,pushUnique:k}=U;return function(f){let p;function d(i){let n=B(i.options&&i.options.min,i.min),o=B(i.options&&i.options.max,i.max);return{axisMin:n,axisMax:o,scrollMin:N(i.dataMin)?Math.min(n,i.min,i.dataMin,B(i.threshold,1/0)):n,scrollMax:N(i.dataMax)?Math.max(o,i.max,i.dataMax,B(i.threshold,-1/0)):o}}function r(){let i=this.scrollbar,n=i&&!i.options.opposite,o=this.horiz?2:n?3:1;i&&(this.chart.scrollbarsOffsets=[0,0],this.chart.axisOffset[o]+=i.size+(i.options.margin||0))}function e(){let i=this;i.options&&i.options.scrollbar&&i.options.scrollbar.enabled&&(i.options.scrollbar.vertical=!i.horiz,i.options.startOnTick=i.options.endOnTick=!1,i.scrollbar=new p(i.chart.renderer,i.options.scrollbar,i.chart),O(i.scrollbar,"changed",function(n){let o,t,{axisMin:l,axisMax:c,scrollMin:A,scrollMax:j}=d(i),T=j-A;if(N(l)&&N(c))if(i.horiz&&!i.reversed||!i.horiz&&i.reversed?(o=A+T*this.to,t=A+T*this.from):(o=A+T*(1-this.from),t=A+T*(1-this.to)),this.shouldUpdateExtremes(n.DOMType)){let b=n.DOMType!=="mousemove"&&n.DOMType!=="touchmove"&&void 0;i.setExtremes(t,o,!0,b,n)}else this.setRange(this.from,this.to)}))}function a(){let i,n,o,{scrollMin:t,scrollMax:l}=d(this),c=this.scrollbar,A=this.axisTitleMargin+(this.titleOffset||0),j=this.chart.scrollbarsOffsets,T=this.options.margin||0;if(c&&j){if(this.horiz)this.opposite||(j[1]+=A),c.position(this.left,this.top+this.height+2+j[1]-(this.opposite?T:0),this.width,this.height),this.opposite||(j[1]+=T),i=1;else{let b;this.opposite&&(j[0]+=A),b=c.options.opposite?this.left+this.width+2+j[0]-(this.opposite?0:T):this.opposite?0:T,c.position(b,this.top,this.width,this.height),this.opposite&&(j[0]+=T),i=0}if(j[i]+=c.size+(c.options.margin||0),isNaN(t)||isNaN(l)||!N(this.min)||!N(this.max)||this.dataMin===this.dataMax)c.setRange(0,1);else if(this.min===this.max){let b=this.pointRange/(this.dataMax+1);n=b*this.min,o=b*(this.max+1),c.setRange(n,o)}else n=(this.min-t)/(l-t),o=(this.max-t)/(l-t),this.horiz&&!this.reversed||!this.horiz&&this.reversed?c.setRange(n,o):c.setRange(1-o,1-n)}}f.compose=function(i,n){k(P,"Axis.Scrollbar")&&(p=n,O(i,"afterGetOffset",r),O(i,"afterInit",e),O(i,"afterRender",a))}}(L||(L={})),L}),V(u,"Stock/Scrollbar/ScrollbarDefaults.js",[],function(){return{height:10,barBorderRadius:5,buttonBorderRadius:0,buttonsEnabled:!1,liveRedraw:void 0,margin:void 0,minWidth:6,opposite:!0,step:.2,zIndex:3,barBackgroundColor:"#cccccc",barBorderWidth:0,barBorderColor:"#cccccc",buttonArrowColor:"#333333",buttonBackgroundColor:"#e6e6e6",buttonBorderColor:"#cccccc",buttonBorderWidth:1,rifleColor:"none",trackBackgroundColor:"rgba(255, 255, 255, 0.001)",trackBorderColor:"#cccccc",trackBorderRadius:5,trackBorderWidth:1}}),V(u,"Stock/Scrollbar/Scrollbar.js",[u["Core/Defaults.js"],u["Core/Globals.js"],u["Core/Axis/ScrollbarAxis.js"],u["Stock/Scrollbar/ScrollbarDefaults.js"],u["Core/Utilities.js"]],function(F,U,L,P,O){let{defaultOptions:N}=F,{addEvent:B,correctFloat:k,crisp:f,defined:p,destroyObjectProperties:d,fireEvent:r,merge:e,pick:a,removeEvent:i}=O;class n{static compose(t){L.compose(t,n)}static swapXY(t,l){return l&&t.forEach(c=>{let A,j=c.length;for(let T=0;T<j;T+=2)typeof(A=c[T+1])=="number"&&(c[T+1]=c[T+2],c[T+2]=A)}),t}constructor(t,l,c){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(t,l,c)}addEvents(){let t=this.options.inverted?[1,0]:[0,1],l=this.scrollbarButtons,c=this.scrollbarGroup.element,A=this.track.element,j=this.mouseDownHandler.bind(this),T=this.mouseMoveHandler.bind(this),b=this.mouseUpHandler.bind(this),g=[[l[t[0]].element,"click",this.buttonToMinClick.bind(this)],[l[t[1]].element,"click",this.buttonToMaxClick.bind(this)],[A,"click",this.trackClick.bind(this)],[c,"mousedown",j],[c.ownerDocument,"mousemove",T],[c.ownerDocument,"mouseup",b],[c,"touchstart",j],[c.ownerDocument,"touchmove",T],[c.ownerDocument,"touchend",b]];g.forEach(function(E){B.apply(null,E)}),this._events=g}buttonToMaxClick(t){let l=(this.to-this.from)*a(this.options.step,.2);this.updatePosition(this.from+l,this.to+l),r(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:t})}buttonToMinClick(t){let l=k(this.to-this.from)*a(this.options.step,.2);this.updatePosition(k(this.from-l),k(this.to-l)),r(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:t})}cursorToScrollbarPosition(t){let l=this.options,c=l.minWidth>this.calculatedWidth?l.minWidth:0;return{chartX:(t.chartX-this.x-this.xOffset)/(this.barWidth-c),chartY:(t.chartY-this.y-this.yOffset)/(this.barWidth-c)}}destroy(){let t=this,l=t.chart.scroller;t.removeEvents(),["track","scrollbarRifles","scrollbar","scrollbarGroup","group"].forEach(function(c){t[c]&&t[c].destroy&&(t[c]=t[c].destroy())}),l&&t===l.scrollbar&&(l.scrollbar=null,d(l.scrollbarButtons))}drawScrollbarButton(t){let l=this.renderer,c=this.scrollbarButtons,A=this.options,j=this.size,T=l.g().add(this.group);if(c.push(T),A.buttonsEnabled){let b=l.rect().addClass("highcharts-scrollbar-button").add(T);this.chart.styledMode||b.attr({stroke:A.buttonBorderColor,"stroke-width":A.buttonBorderWidth,fill:A.buttonBackgroun
vendor: 5,214 bytes, line 1
1dColor}),b.attr(b.crisp({x:-.5,y:-.5,width:j,height:j,r:A.buttonBorderRadius},b.strokeWidth()));let g=l.path(n.swapXY([["M",j/2+(t?-1:1),j/2-3],["L",j/2+(t?-1:1),j/2+3],["L",j/2+(t?2:-2),j/2]],A.vertical)).addClass("highcharts-scrollbar-arrow").add(c[t]);this.chart.styledMode||g.attr({fill:A.buttonArrowColor})}}init(t,l,c){this.scrollbarButtons=[],this.renderer=t,this.userOptions=l,this.options=e(P,N.scrollbar,l),this.options.margin=a(this.options.margin,10),this.chart=c,this.size=a(this.options.size,this.options.height),l.enabled&&(this.render(),this.addEvents())}mouseDownHandler(t){var A;let l=((A=this.chart.pointer)==null?void 0:A.normalize(t))||t,c=this.cursorToScrollbarPosition(l);this.chartX=c.chartX,this.chartY=c.chartY,this.initPositions=[this.from,this.to],this.grabbedCenter=!0}mouseMoveHandler(t){var T;let l,c=((T=this.chart.pointer)==null?void 0:T.normalize(t))||t,A=this.options.vertical?"chartY":"chartX",j=this.initPositions||[];this.grabbedCenter&&(!t.touches||t.touches[0][A]!==0)&&(l=this.cursorToScrollbarPosition(c)[A]-this[A],this.hasDragged=!0,this.updatePosition(j[0]+l,j[1]+l),this.hasDragged&&r(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}))}mouseUpHandler(t){this.hasDragged&&r(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}),this.grabbedCenter=this.hasDragged=this.chartX=this.chartY=null}position(t,l,c,A){let{buttonsEnabled:j,margin:T=0,vertical:b}=this.options,g=this.rendered?"animate":"attr",E=A,y=0;this.group.show(),this.x=t,this.y=l+this.trackBorderWidth,this.width=c,this.height=A,this.xOffset=E,this.yOffset=y,b?(this.width=this.yOffset=c=y=this.size,this.xOffset=E=0,this.yOffset=y=j?this.size:0,this.barWidth=A-(j?2*c:0),this.x=t+=T):(this.height=A=this.size,this.xOffset=E=j?this.size:0,this.barWidth=c-(j?2*A:0),this.y=this.y+T),this.group[g]({translateX:t,translateY:this.y}),this.track[g]({width:c,height:A}),this.scrollbarButtons[1][g]({translateX:b?0:c-E,translateY:b?A-y:0})}removeEvents(){this._events.forEach(function(t){i.apply(null,t)}),this._events.length=0}render(){let t=this.renderer,l=this.options,c=this.size,A=this.chart.styledMode,j=t.g("scrollbar").attr({zIndex:l.zIndex}).hide().add();this.group=j,this.track=t.rect().addClass("highcharts-scrollbar-track").attr({r:l.trackBorderRadius||0,height:c,width:c}).add(j),A||this.track.attr({fill:l.trackBackgroundColor,stroke:l.trackBorderColor,"stroke-width":l.trackBorderWidth});let T=this.trackBorderWidth=this.track.strokeWidth();this.track.attr({x:-f(0,T),y:-f(0,T)}),this.scrollbarGroup=t.g().add(j),this.scrollbar=t.rect().addClass("highcharts-scrollbar-thumb").attr({height:c-T,width:c-T,r:l.barBorderRadius||0}).add(this.scrollbarGroup),this.scrollbarRifles=t.path(n.swapXY([["M",-3,c/4],["L",-3,2*c/3],["M",0,c/4],["L",0,2*c/3],["M",3,c/4],["L",3,2*c/3]],l.vertical)).addClass("highcharts-scrollbar-rifles").add(this.scrollbarGroup),A||(this.scrollbar.attr({fill:l.barBackgroundColor,stroke:l.barBorderColor,"stroke-width":l.barBorderWidth}),this.scrollbarRifles.attr({stroke:l.rifleColor,"stroke-width":1})),this.scrollbarStrokeWidth=this.scrollbar.strokeWidth(),this.scrollbarGroup.translate(-f(0,this.scrollbarStrokeWidth),-f(0,this.scrollbarStrokeWidth)),this.drawScrollbarButton(0),this.drawScrollbarButton(1)}setRange(t,l){let c,A,j=this.options,T=j.vertical,b=j.minWidth,g=this.barWidth,E=!this.rendered||this.hasDragged||this.chart.navigator&&this.chart.navigator.hasDragged?"attr":"animate";if(!p(g))return;let y=g*Math.min(l,1);c=Math.ceil(g*(t=Math.max(t,0))),this.calculatedWidth=A=k(y-c),A<b&&(c=(g-b+A)*t,A=b);let x=Math.floor(c+this.xOffset+this.yOffset),v=A/2-.5;this.from=t,this.to=l,T?(this.scrollbarGroup[E]({translateY:x}),this.scrollbar[E]({height:A}),this.scrollbarRifles[E]({translateY:v}),this.scrollbarTop=x,this.scrollbarLeft=0):(this.scrollbarGroup[E]({translateX:x}),this.scrollbar[E]({width:A}),this.scrollbarRifles[E]({translateX:v}),this.scrollbarLeft=x,this.scrollbarTop=0),A<=12?this.scrollbarRifles.hide():this.scrollbarRifles.show(),j.showFull===!1&&(t<=0&&l>=1?this.group.hide():this.group.show()),this.rendered=!0}shouldUpdateExtremes(t){return a(this.options.liveRedraw,U.svg&&!U.isTouchDevice&&!this.chart.boosted)||t==="mouseup"||t==="touchend"||!p(t)}trackClick(t){var T;let l=((T=this.chart.pointer)==null?void 0:T.normalize(t))||t,c=this.to-this.from,A=this.y+this.scrollbarTop,j=this.x+this.scrollbarLeft;this.options.vertical&&l.chartY>A||!this.options.vertical&&l.chartX>j?this.updatePosition(this.from+c,this.to+c):this.updatePosition(this.from-c,this.to-c),r(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:t})}update(t){this.destroy(),this.init(this.chart.renderer,e(!0,this.options,t),this.chart)}updatePosition(t,l){l>1&&(t=k(1-k(l-t)),l=1),t<0&&(l=k(l-t),t=0),this.from=t,this.to=l}}return n.defaultOptions=P,N.scrollbar=e(!0,n.defaultOptions,N.scrollbar),n}),V(u,"Stock/Navigator/Navigator.js",[u["Core/Axis/Axis.js"],u["Stock/Navigator/ChartNavigatorComposition.js"],u["Core/Defaults.js"],u["Core/Globals.js"],u["Core/Axis/NavigatorAxisComposition.js"],u["Stock/Navigator/NavigatorComposition.js"],u["Stock/Scrollbar/Scrollbar.
1js"],u["Core/Renderer/SVG/SVGRenderer.js"],u["Core/Utilities.js"]],function(F,U,L,P,O,N,B,k,f){let{defaultOptions:p}=L,{isTouchDevice:d}=P,{prototype:{symbols:r}}=k,{addEvent:e,clamp:a,correctFloat:i,defined:n,destroyObjectProperties:o,erase:t,extend:l,find:c,fireEvent:A,isArray:j,isNumber:T,merge:b,pick:g,removeEvent:E,splat:y}=f;function x(w,...s){let h=[].filter.call(s,T);if(h.length)return Math[w].apply(0,h)}class v{static compose(s,h,m){U.compose(s,v),N.compose(s,h,m)}constructor(s){this.isDirty=!1,this.scrollbarHeight=0,this.init(s)}drawHandle(s,h,m,C){let S=this.navigatorOptions.handles.height;this.handles[h][C](m?{translateX:Math.round(this.left+this.height/2),translateY:Math.round(this.top+parseInt(s,10)+.5-S)}:{translateX:Math.round(this.left+parseInt(s,10)),translateY:Math.round(this.top+this.height/2-S/2-1)})}drawOutline(s,h,m,C){let S=this.navigatorOptions.maskInside,D=this.outline.strokeWidth(),M=D/2,K=D%2/2,R=this.scrollButtonSize,I=this.size,H=this.top,W=this.height,z=H-M,G=H+W,q=this.left,X,Y;m?(X=H+h+K,h=H+s+K,Y=[["M",q+W,H-R-K],["L",q+W,X],["L",q,X],["M",q,h],["L",q+W,h],["L",q+W,H+I+R]],S&&Y.push(["M",q+W,X-M],["L",q+W,h+M])):(q-=R,s+=q+R-K,h+=q+R-K,Y=[["M",q,z],["L",s,z],["L",s,G],["M",h,G],["L",h,z],["L",q+I+2*R,z]],S&&Y.push(["M",s-M,z],["L",h+M,z])),this.outline[C]({d:Y})}drawMasks(s,h,m,C){let S,D,M,K,R=this.left,I=this.top,H=this.height;m?(M=[R,R,R],K=[I,I+s,I+h],D=[H,H,H],S=[s,h-s,this.size-h]):(M=[R,R+s,R+h],K=[I,I,I],D=[s,h-s,this.size-h],S=[H,H,H]),this.shades.forEach((W,z)=>{W[C]({x:M[z],y:K[z],width:D[z],height:S[z]})})}renderElements(){var R;let s=this,h=s.navigatorOptions,m=h.maskInside,C=s.chart,S=C.inverted,D=C.renderer,M={curs
1or:S?"ns-resize":"ew-resize"},K=s.navigatorGroup??(s.navigatorGroup=D.g("navigator").attr({zIndex:8,visibility:"hidden"}).add());if([!m,m,!m].forEach((I,H)=>{let W=s.shades[H]??(s.shades[H]=D.rect().addClass("highcharts-navigator-mask"+(H===1?"-inside":"-outside")).add(K));C.styledMode||(W.attr({fill:I?h.maskFill:"rgba(0,0,0,0)"}),H===1&&W.css(M))}),s.outline||(s.outline=D.path().addClass("highcharts-navigator-outline").add(K)),C.styledMode||s.outline.attr({"stroke-width":h.outlineWidth,stroke:h.outlineColor}),(R=h.handles)==null?void 0:R.enabled){let I=h.handles,{height:H,width:W}=I;[0,1].forEach(z=>{var q;let G=I.symbols[z];if(s.handles[z]&&s.handles[z].symbolUrl===G){if(!s.handles[z].isImg&&s.handles[z].symbolName!==G){let X=r[G].call(r,-W/2-1,0,W,H);s.handles[z].attr({d:X}),s.handles[z].symbolName=G}}else(q=s.handles[z])==null||q.destroy(),s.handles[z]=D.symbol(G,-W/2-1,0,W,H,I),s.handles[z].attr({zIndex:7-z}).addClass("highcharts-navigator-handle highcharts-navigator-handle-"+["left","right"][z]).add(K),s.addMouseEvents();C.inverted&&s.handles[z].attr({rotation:90,rotationOriginX:Math.floor(-W/2),rotationOriginY:(H+W)/2}),C.styledMode||s.handles[z].attr({fill:I.backgroundColor,stroke:I.borderColor,"stroke-width":I.lineWidth,width:I.width,height:I.height,x:-W/2-1,y:0}).css(M)})}}update(s,h=!1){var S;let m=this.chart,C=m.options.chart.inverted!==((S=m.scrollbar)==null?void 0:S.options.vertical);if(b(!0,m.options.navigator,s),this.navigatorOptions=m.options.navigator||{},this.setOpposite(),n(s.enabled)||C)return this.destroy(),this.navigatorEnabled=s.enabled||this.navigatorEnabled,this.init(m);if(this.navigatorEnabled&&(this.isDirty=!0,s.adaptToUpdatedData===!1&&this.baseSeries.forEach(D=>{E(D,"updatedData",this.updatedDataHandler)},this),s.adaptToUpdatedData&&this.baseSeries.forEach(D=>{D.eventsToUnbind.push(e(D,"updatedData",this.updatedDataHandler))},this),(s.series||s.baseSeries)&&this.setBaseSeries(void 0,!1),s.height||s.xAxis||s.yAxis)){this.height=s.height??this.height;let D=this.getXAxisOffsets();this.xAxis.update({...s.xAxis,offsets:D,[m.inverted?"width":"height"]:this.height,[m.inverted?"height":"width"]:void 0},!1),this.yAxis.update({...s.yAxis,[m.inverted?"width":"height"]:this.height},!1)}h&&m.redraw()}render(s,h,m,C){let S=this.chart,D=this.xAxis,M=D.pointRange||0,K=D.navigatorAxis.fake?S.xAxis[0]:D,R=this.navigatorEnabled,I=this.rendered,H=S.inverted,W=S.xAxis[0].minRange,z=S.xAxis[0].options.maxRange,G=this.scrollButtonSize,q,X,Y,Z=this.scrollbarHeight,$,_;if(this.hasDragged&&!n(m))return;if(this.isDirty&&this.renderElements(),s=i(s-M/2),h=i(h+M/2),!T(s)||!T(h)){if(!I)return;m=0,C=g(D.width,K.width)}this.left=g(D.left,S.plotLeft+G+(H?S.plotWidth:0));let Q=this.size=$=g(D.len,(H?S.plotHeight:S.plotWidth)-2*G);q=H?Z:$+2*G,m=g(m,D.toPixels(s,!0)),C=g(C,D.toPixels(h,!0)),T(m)&&Math.abs(m)!==1/0||(m=0,C=q);let it=D.toValue(m,!0),nt=D.toValue(C,!0),tt=Math.abs(i(nt-it));tt<W?this.grabbedLeft?m=D.toPixels(nt-W-M,!0):this.grabbedRight&&(C=D.toPixels(it+W+M,!0)):n(z)&&i(tt-M)>z&&(this.grabbedLeft?m=D.toPixels(nt-z-M,!0):this.grabbedRight&&(C=D.toPixels(it+z+M,!0))),this.zoomedMax=a(Math.max(m,C),0,Q),this.zoomedMin=a(this.fixedWidth?this.zoomedMax-this.fixedWidth:Math.min(m,C),0,Q),this.range=this.zoomedMax-this.zoomedMin,Q=Math.round(this.zoomedMax);let et=Math.round(this.zoomedMin);R&&(this.navigatorGroup.attr({visibility:"inherit"}),_=I&&!this.hasDragged?"animate":"attr",this.drawMasks(et,Q,H,_),this.drawOutline(et,Q,H,_),this.navigatorOptions.handles.enabled&&(this.drawHandle(et,0,H,_),this.drawHandle(Q,1,H,_))),this.scrollbar&&(H?(Y=this.top-G,X=this.left-Z+(R||!K.opposite?0:(K.titleOffset||0)+K.axisTitleMargin),Z=$+2*G):(Y=this.top+(R?this.height:-Z),X=this.left-G),this.scrollbar.position(X,Y,q,Z),this.scrollbar.setRange(this.zoomedMin/($||1),this.zoomedMax/($||1))),this.rendered=!0,this.isDirty=!1,A(this,"afterRender")}addMouseEvents(){let s=this,h=s.chart,m=h.container,C=[],S,D;s.mouseMoveHandler=S=function(M){s.onMouseMove(M)},s.mouseUpHandler=D=function(M){s.onMouseUp(M)},(C=s.getPartsEvents("mousedown")).push(e(h.renderTo,"mousemove",S),e(m.ownerDocument,"mouseup",D),e(h.renderTo,"touchmove",S),e(m.ownerDocument,"touchend",D)),C.concat(s.getPartsEvents("touchstart")),s.eventsToUnbind=C,s.series&&s.series[0]&&C.push(e(s.series[0].xAxis,"foundExtremes",function(){h.navigator.modifyNavigatorAxisExtremes()}))}getPartsEvents(s){let h=this,m=[];
vendor: 5,083 bytes, line 1
1return["shades","handles"].forEach(function(C){h[C].forEach(function(S,D){m.push(e(S.element,s,function(M){h[C+"Mousedown"](M,D)}))})}),m}shadesMousedown(s,h){var G;s=((G=this.chart.pointer)==null?void 0:G.normalize(s))||s;let m=this.chart,C=this.xAxis,S=this.zoomedMin,D=this.size,M=this.range,K=this.left,R=s.chartX,I,H,W,z;m.inverted&&(R=s.chartY,K=this.top),h===1?(this.grabbedCenter=R,this.fixedWidth=M,this.dragOffset=R-S):(z=R-K-M/2,h===0?z=Math.max(0,z):h===2&&z+M>=D&&(z=D-M,this.reversedExtremes?(z-=M,H=this.getUnionExtremes().dataMin):I=this.getUnionExtremes().dataMax),z!==S&&(this.fixedWidth=M,n((W=C.navigatorAxis.toFixedRange(z,z+M,H,I)).min)&&A(this,"setRange",{min:Math.min(W.min,W.max),max:Math.max(W.min,W.max),redraw:!0,eventArguments:{trigger:"navigator"}})))}handlesMousedown(s,h){var D;s=((D=this.chart.pointer)==null?void 0:D.normalize(s))||s;let m=this.chart,C=m.xAxis[0],S=this.reversedExtremes;h===0?(this.grabbedLeft=!0,this.otherHandlePos=this.zoomedMax,this.fixedExtreme=S?C.min:C.max):(this.grabbedRight=!0,this.otherHandlePos=this.zoomedMin,this.fixedExtreme=S?C.max:C.min),m.setFixedRange(void 0)}onMouseMove(s){var I;let h=this,m=h.chart,C=h.navigatorSize,S=h.range,D=h.dragOffset,M=m.inverted,K=h.left,R;(!s.touches||s.touches[0].pageX!==0)&&(R=(s=((I=m.pointer)==null?void 0:I.normalize(s))||s).chartX,M&&(K=h.top,R=s.chartY),h.grabbedLeft?(h.hasDragged=!0,h.render(0,0,R-K,h.otherHandlePos)):h.grabbedRight?(h.hasDragged=!0,h.render(0,0,h.otherHandlePos,R-K)):h.grabbedCenter&&(h.hasDragged=!0,R<D?R=D:R>C+D-S&&(R=C+D-S),h.render(0,0,R-D,R-D+S)),h.hasDragged&&h.scrollbar&&g(h.scrollbar.options.liveRedraw,!d&&!this.chart.boosted)&&(s.DOMType=s.type,setTimeout(function(){h.onMouseUp(s)},0)))}onMouseUp(s){let h,m,C,S,D,M,K=this.chart,R=this.xAxis,I=this.scrollbar,H=s.DOMEvent||s,W=K.inverted,z=this.rendered&&!this.hasDragged?"animate":"attr";(this.hasDragged&&(!I||!I.hasDragged)||s.trigger==="scrollbar")&&(C=this.getUnionExtremes(),this.zoomedMin===this.otherHandlePos?S=this.fixedExtreme:this.zoomedMax===this.otherHandlePos&&(D=this.fixedExtreme),this.zoomedMax===this.size&&(D=this.reversedExtremes?C.dataMin:C.dataMax),this.zoomedMin===0&&(S=this.reversedExtremes?C.dataMax:C.dataMin),n((M=R.navigatorAxis.toFixedRange(this.zoomedMin,this.zoomedMax,S,D)).min)&&A(this,"setRange",{min:Math.min(M.min,M.max),max:Math.max(M.min,M.max),redraw:!0,animation:!this.hasDragged&&null,eventArguments:{trigger:"navigator",triggerOp:"navigator-drag",DOMEvent:H}})),s.DOMType!=="mousemove"&&s.DOMType!=="touchmove"&&(this.grabbedLeft=this.grabbedRight=this.grabbedCenter=this.fixedWidth=this.fixedExtreme=this.otherHandlePos=this.hasDragged=this.dragOffset=null),this.navigatorEnabled&&T(this.zoomedMin)&&T(this.zoomedMax)&&(m=Math.round(this.zoomedMin),h=Math.round(this.zoomedMax),this.shades&&this.drawMasks(m,h,W,z),this.outline&&this.drawOutline(m,h,W,z),this.navigatorOptions.handles.enabled&&Object.keys(this.handles).length===this.handles.length&&(this.drawHandle(m,0,W,z),this.drawHandle(h,1,W,z)))}removeEvents(){this.eventsToUnbind&&(this.eventsToUnbind.forEach(function(s){s()}),this.eventsToUnbind=void 0),this.removeBaseSeriesEvents()}removeBaseSeriesEvents(){let s=this.baseSeries||[];this.navigatorEnabled&&s[0]&&(this.navigatorOptions.adaptToUpdatedData!==!1&&s.forEach(function(h){E(h,"updatedData",this.updatedDataHandler)},this),s[0].xAxis&&E(s[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes))}getXAxisOffsets(){return this.chart.inverted?[this.scrollButtonSize,0,-this.scrollButtonSize,0]:[0,-this.scrollButtonSize,0,this.scrollButtonSize]}init(s){var q;let h=s.options,m=h.navigator||{},C=m.enabled,S=h.scrollbar||{},D=S.enabled,M=C&&m.height||0,K=D&&S.height||0,R=S.buttonsEnabled&&K||0;this.handles=[],this.shades=[],this.chart=s,this.setBaseSeries(),this.height=M,this.scrollbarHeight=K,this.scrollButtonSize=R,this.scrollbarEnabled=D,this.navigatorEnabled=C,this.navigatorOptions=m,this.scrollbarOptions=S,this.setOpposite();let I=this,H=I.baseSeries,W=s.xAxis.length,z=s.yAxis.length,G=H&&H[0]&&H[0].xAxis||s.xAxis[0]||{options:{}};if(s.isDirtyBox=!0,I.navigatorEnabled){let X=this.getXAxisOffsets();I.xAxis=new F(s,b({breaks:G.options.breaks,ordinal:G.options.ordinal,overscroll:G.options.overscroll},m.xAxis,{type:"datetime",yAxis:(q=m.yAxis)==null?void 0:q.id,index:W,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},s.inverted?{offsets:X,width:M}:{offsets:X,height:M}),"xAxis"),I.yAxis=new F(s,b(m.yAxis,{alignTicks:!1,offset:0,index:z,isInternal:!0,reversed:g(m.yAxis&&m.yAxis.reversed,s.yAxis[0]&&s.yAxis[0].reversed,!1),zoomEnabled:!1},s.inverted?{width:M}:{height:M}),"yAxis"),H||m.series.data?I.updateNavigatorSeries(!1):s.series.length===0&&(I.unbindRedraw=e(s,"beforeRedraw",function(){s.series.length>0&&!I.series&&(I.setBaseSeries(),I.unbindRedraw())})),I.reversedExtremes=s.inverted&&!I.xAxis.reversed||!s.inverted&&I.xAxis.reversed,I.renderElements(),I.addM
1ouseEvents()}else I.xAxis={chart:s,navigatorAxis:{fake:!0},translate:function(X,Y){let Z=s.xAxis[0],$=Z.getExtremes(),_=Z.len-2*R,Q=x("min",Z.options.min,$.dataMin),it=x("max",Z.options.max,$.dataMax)-Q;return Y?X*it/_+Q:_*(X-Q)/it},toPixels:function(X){return this.translate(X)},toValue:function(X){return this.translate(X,!0)}},I.xAxis.navigatorAxis.axis=I.xAxis,I.xAxis.navigatorAxis.toFixedRange=O.prototype.toFixedRange.bind(I.xAxis.navigatorAxis);if(s.options.scrollbar.enabled){let X=b(s.options.scrollbar,{vertical:s.inverted});!T(X.margin)&&I.navigatorEnabled&&(X.margin=s.inverted?-3:3),s.scrollbar=I.scrollbar=new B(s.renderer,X,s),e(I.scrollbar,"changed",function(Y){let Z=I.size,$=Z*this.to,_=Z*this.from;I.hasDragged=I.scrollbar.hasDragged,I.render(0,0,_,$),this.shouldUpdateExtremes(Y.DOMType)&&setTimeout(function(){I.onMouseUp(Y)})})}I.addBaseSeriesEvents(),I.addChartEvents()}setOpposite(){let s=this.navigatorOptions,h=this.navigatorEnabled,m=this.chart;this.opposite=g(s.opposite,!!(!h&&m.inverted))}getUnionExtremes(s){let h,m=this.chart.xAxis[0],C=this.xAxis,S=C.options,D=m.options;return s&&m.dataMin===null||(h={dataMin:g(S&&S.min,x("min",D.min,m.dataMin,C.dataMin,C.min)),dataMax:g(S&&S.max,x("max",D.max,m.dataMax,C.dataMax,C.max))}),h}setBaseSeries(s,h){let m=this.chart,C=this.baseSeries=[];s=s||m.options&&m.options.navigator.baseSeries||(m.series.length?c(m.series,S=>!S.options.isInternal).index:0),(m.series||[]).forEach((S,D)=>{!S.options.isInternal&&(S.options.showInNavigator||(D===s||S.options.id===s)&&S.options.showInNavigator!==!1)&&C.push(S)}),this.xAxis&&!this.xAxis.navigatorAxis.fake&&this.updateNavigatorSeries(!0,h)}updateNavigatorSeries(s,h){var W,z;let m=this,C=m.chart,S=m.baseSeries,D={enableMouseTracking:!1,index:null,linkedTo:null,group:"nav",padXAxis:!1,xAxis:(W=this.navigatorOptions.xAxis)==null?void 0:W.id,yAxis:(z=this.navigatorOptions.yAxis)==null?void 0:z.id,showInLegend:!1,stacking:void 0,isInternal:!0,states:{inactive:{opacity:1}}},M=m.series=(m.series||[]).filter(G=>{let q=G.baseSeries;return!(0>S.indexOf(q))||(q&&(E(q,"updatedData",m.updatedDataHandler),delete q.navigatorSeries),G.chart&&G.destroy(),!1)}),K,R,I=m.navigatorOptions.series,H;
1S&&S.length&&S.forEach(G=>{let q=G.navigatorSeries,X=l({color:G.color,visible:G.visible},j(I)?p.navigator.series:I);if(q&&m.navigatorOptions.adaptToUpdatedData===!1)return;D.name="Navigator "+S.length,H=(K=G.options||{}).navigatorOptions||{},X.dataLabels=y(X.dataLabels),(R=b(K,D,X,H)).pointRange=g(X.pointRange,H.pointRange,p.plotOptions[R.type||"line"].pointRange);let Y=H.data||X.data;m.hasNavigatorData=m.hasNavigatorData||!!Y,R.data=Y||K.data&&K.data.slice(0),q&&q.options?q.update(R,h):(G.navigatorSeries=C.initSeries(R),C.setSortedData(),G.navigatorSeries.baseSeries=G,M.push(G.navigatorSeries))}),(I.data&&!(S&&S.length)||j(I))&&(m.hasNavigatorData=!1,(I=y(I)).forEach((G,q)=>{D.name="Navigator "+(M.length+1),(R=b(p.navigator.series,{color:C.series[q]&&!C.series[q].options.isInternal&&C.series[q].color||C.options.colors[q]||C.options.colors[0]},D,G)).data=G.data,R.data&&(m.hasNavigatorData=!0,M.push(C.initSeries(R)))})),s&&this.addBaseSeriesEvents()}addBaseSeriesEvents(){let s=this,h=s.baseSeries||[];h[0]&&h[0].xAxis&&h[0].eventsToUnbind.push(e(h[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes)),h.forEach(m=>{m.eventsToUnbind.push(e(m,"show",function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!0,!1)})),m.eventsToUnbind.push(e(m,"hide",function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!1,!1)})),this.navigatorOptions.adaptToUpdatedData!==!1&&m.xAxis&&m.eventsToUnbind.push(e(m,"updatedData",this.updatedDataHandler)),m.eventsToUnbind.push(e(m,"remove",function(){t(h,m),this.navigatorSeries&&(t(s.series,this.navigatorSeries),n(this.navigatorSeries.options)&&this.navigatorSeries.remove(!1),delete this.navigatorSeries)}))})}getBaseSeriesMin(s){return this.baseSeries.reduce(function(h,m){return Math.min(h,m.xData&&m.xData.length?m.xData[0]:h)},s)}modifyNavigatorAxisExtremes(){let s=this.xAxis;if(s.getExtremes!==void 0){let h=this.getUnionExtremes(!0);h&&(h.dataMin!==s.min||h.dataMax!==s.max)&&(s.min=h.dataMin,s.max=h.dataMax)}}modifyBaseAxisExtremes(){var q;let s,h,m=this.chart.navigator,C=this.getExtremes(),S=C.min,D=C.max,M=C.dataMin,K=C.dataMax,R=D-S,I=m.stickToMin,H=m.stickToMax,W=g((q=this.ordinal)==null?void 0:q.convertOverscroll(this.options.overscroll),0),z=m.series&&m.series[0],G=!!this.setExtremes;!(this.eventArgs&&this.eventArgs.trigger==="rangeSelectorButton")&&(I&&(s=(h=M)+R),H&&(s=K+W,I||(h=Math.max(M,s-R,m.getBaseSeriesMin(z&&z.xData?z.xData[0]:-Number.MAX_VALUE)))),G&&(I||H)&&T(h)&&(this.min=this.userMin=h,this.max=this.userMax=s)),m.stickToMin=m.stickToMax=null}updatedDataHandler(){let s=this.chart.navigator,h=this.navigatorSeries,m=s.reversedExtremes?Math.round(s.zoomedMin)===0:Math.round(s.zoomedMax)>=Math.round(s.size);s.stickToMax=g(this.chart.options.navigator&&this.chart.options.navigator.stickToMax,m),s.stickToMin=s.shouldStickToMin(this,s),h&&!s.hasNavigatorData&&(h.options.pointStart=this.xData[0],h.setData(this.options.data,!1,null,!1))}shouldStickToMin(s,h){let m=h.getBaseSeriesMin(s.xData[0]),C=s.xAxis,S=C.max,D=C.min,M=C.options.range;return!!(T(S)&&T(D))&&(M&&S-m>0?S-m<M:D<=m)}addChartEvents(){this.eventsToUnbind||(this.eventsToUnbind=[]),this.eventsToUnbind.push(e(this.chart,"redraw",function(){let s=this.navigator,h=s&&(s.baseSeries&&s.baseSeries[0]&&s.baseSeries[0].xAxis||this.xAxis[0]);h&&s.render(h.min,h.max)}),e(this.chart,"getMargins",function(){let s=this.navigator,h=s.opposite?"plotTop":"marginBottom";this.inverted&&(h=s.opposite?"marginRight":"plotLeft"),this[h]=(this[h]||0)+(s.navigatorEnabled||!this.inverted?s.height+s.scrollbarHeight:0)+s.navigatorOptions.margin}),e(v,"setRange",function(s){this.chart.xAxis[0].setExtremes(s.min,s.max,s.redraw,s.animation,s.eventArguments)}))}destroy(){this.removeEvents(),this.xAxis&&(t(this.chart.xAxis,this.xAxis),t(this.chart.axes,this.xAxis)),this.yAxis&&(t(this.chart.yAxis,this.yAxis),t(this.chart.axes,this.yAxis)),(this.series||[]).forEach(s=>{s.destroy&&s.destroy()}),["series","xAxis","yAxis","shades","outline","scrollbarTrack","scrollbarRifles","scrollbarGroup","scrollbar","navigatorGroup","rendered"].forEach(s=>{this[s]&&this[s].destroy&&this[s].destroy(),this[s]=null}
1),[this.handles].forEach(s=>{o(s)}),this.navigatorEnabled=!1}}return v}),V(u,"Accessibility/Components/NavigatorComponent.js",[u["Accessibility/AccessibilityComponent.js"],u["Accessibility/Utils/Announcer.js"],u["Accessibility/KeyboardNavigationHandler.js"],u["Stock/Navigator/Navigator.js"],u["Core/Animation/AnimationUtilities.js"],u["Core/Templating.js"],u["Core/Utilities.js"],u["Accessibility/Utils/HTMLUtilities.js"],u["Accessibility/Utils/ChartUtilities.js"]],function(F,U,L,P,O,N,B,k,f){let{animObject:p}=O,{format:d}=N,{clamp:r,pick:e,syncTimeout:a}=B,{getFakeMouseEvent:i}=k,{getAxisRangeDescription:n,fireEventOnWrappedOrUnwrappedElement:o}=f;return class extends F{init(){let t=this.chart,l=this;this.announcer=new U(t,"polite"),this.addEvent(P,"afterRender",function(){this.chart===l.chart&&this.chart.renderer&&a(()=>{l.proxyProvider.updateGroupProxyElementPositions("navigator"),l.updateHandleValues()},p(e(this.chart.renderer.globalAnimation,!0)).duration)})}onChartUpdate(){var A,j,T;let t=this.chart,l=t.options,c=l.navigator;if(c.enabled&&((A=c.accessibility)!=null&&A.enabled)){let b=l.accessibility.landmarkVerbosity,g=(j=l.lang.accessibility)==null?void 0:j.navigator.groupLabel;this.proxyProvider.removeGroup("navigator"),this.proxyProvider.addGroup("navigator","div",{role:b==="all"?"region":"group","aria-label":d(g,{chart:t},t)});let E=(T=l.lang.accessibility)==null?void 0:T.navigator.handleLabel;[0,1].forEach(y=>{let x=this.getHandleByIx(y);if(x){let v=this.proxyProvider.addProxyElement("navigator",{click:x},"input",{type:"range","aria-label":d(E,{handleIx:y,chart:t},t)});this[y?"maxHandleProxy":"minHandleProxy"]=v.innerElement,v.innerElement.style.pointerEvents="none",v.innerElement.oninput=()=>this.updateNavigator()}}),this.updateHandleValues()}else this.proxyProvider.removeGroup("navigator")}getNavigatorHandleNavigation(t){let l=this,c=this.chart,A=t?this.maxHandleProxy:this.minHandleProxy,j=this.keyCodes;return new L(c,{keyCodeMap:[[[j.left,j.right,j.up,j.down],function(T){if(A){let b=T===j.left||T===j.up?-1:1;A.value=""+r(parseFloat(A.value)+b,0,100),l.updateNavigator(()=>{let g=l.getHandleByIx(t);g&&c.setFocusToElement(g,A)})}return this.response.success}]],init:()=>{c.setFocusToElement(this.getHandleByIx(t),A)},validate:()=>{var T;return!!(this.getHandleByIx(t)&&A&&((T=c.options.navigator.accessibility)!=null&&T.enabled))}})}getKeyboardNavigation(){return[this.getNavigatorHandleNavigation(0),this.getNavigatorHandleNavigation(1)]}destroy(){this.updateNavigatorThrottleTimer&&clearTimeout(this.updateNavigatorThrottleTimer),this.proxyProvider.removeGroup("navigator"),this.announcer&&this.announcer.destroy()}updateHandleValues(){let t=this.chart.navigator;if(t&&this.minHandleProxy&&this.maxHandleProxy){let l=t.size;this.minHandleProxy.value=""+Math.round(t.zoomedMin/l*100),this.maxHandleProxy.value=""+Math.round(t.zoomedMax/l*100)}}getHandleByIx(t){let l=this.chart.navigator;return l&&l.handles&&l.handles[t]}updateNavigator(t){this.updateNavigatorThrottleTimer&&clearTimeout(this.updateNavigatorThrottleTimer),this.updateNavigatorThrottleTimer=setTimeout((l=>{var T;let c=this.chart,{navigator:A,pointer:j}=c;if(A&&j&&this.minHandleProxy&&this.maxHandleProxy){let b=j.getChartPosition(),g=parseFloat(this.minHandleProxy.value)/100*A.size,E=parseFloat(this.maxHandleProxy.value)/100*A.size;[[0,"mousedown",A.zoomedMin],[0,"mousemove",g],[0,"mouseup",g],[1,"mousedown",A.zoomedMax],[1,"mousemove",E],[1,"mouseup",E]].forEach(([v,w,s])=>{var m;let h=(m=this.getHandleByIx(v))==null?void 0:m.element;h&&o(h,i(w,{x:b.left+A.left+s,y:b.top+A.top},h))}),l&&l();let y=(T=c.options.lang.accessibility)==null?void 0:T.navigator.changeAnnouncement,x=n(c.xAxis[0]);this.announcer.announce(d(y,{axisRangeDescription:x,chart:c},c))}}).bind(this,t),20)}}}),V(u,"Accessibility/Components/SeriesComponent/SeriesDescriber.js",[u["Accessibility/Components/AnnotationsA11y.js"],u["Accessibility/Utils/ChartUtilities.js"],u["Core/Templating.js"],u["Accessibility/Utils/HTMLUtilities.js"],u["Core/Utilities.js"]],function(F,U,L,P,O){let{getPointAnnotationTexts:N}=F,{getAxisDescription:B,getSeriesFirstPointElement:k,getSeriesA11yElement:f,unhideChartElementFromAT:p}=U,{format:d,numberFormat:r}=L,{reverseChildNodes:e,stripHTMLTagsFromString:a}=P,{find:i,isNumber:n,isString:o,pick:t,defined:l}=O;function c(g){let E=g.chart.options.accessibility.series.pointDescriptionEnabledThreshold;return!!(E!==!1&&g.points&&g.points.length>=+E)}function A(g,E){let y=g.series,x=y.chart,v=x.options.accessibility.point||{},w=y.options.accessibility&&y.options.accessibility.point||{},s=y.tooltipOptions||{},h=x.options.lang;return n(E)?r(E,w.valueDecimals||v.valueDecimals||s.valueDecimals||-1,h.decimalPoint,h.accessibility.thousandsSep||h.thousandsSep):E}function j(g,E){let y=g[E];return g.chart.langFormat("accessibility.series."+E+"Description",{name:B(y),series:g})}function T(g){let E=g.series,y=E.chart.series.length>1||E.options.name,x=function(h){let m=h.series,C=m.chart,S=m.options.accessibility,D=S&&S.point&&S.point.valueDescriptionFormat||C.options.accessibility.point.valueDescriptionFormat,M=t(m.xAxis&&m.xAxis.options.accessibility&&m.xAxis.options.accessibility.enabled,!C.angular&&m.type!=="flowmap"),K=M?function(R){let I=function(G){let q=G.series,X=q.chart,Y=q.options.accessibility&&q.options.accessibility.point||{},Z=X.options.accessibility.point||{},$=q.xAxis&&q.xAxis.dateTime;if($){let _=$.getXDateFormat(G.x||0,X.options.tooltip.dateTimeLabelFormats),Q=Y.dateFormatter&&Y.dateFormatter(G)||Z.dateFormatter&&Z.dateFormatter(G)||Y.dateFormat||Z.dateFormat||_;return X.time.dateFormat(Q,G.x||0,void 0)}}(R),H=(R.series.xAxis||{}).categories&&l(R.category)&&(""+R.category).replace("<br/>"," "),W=l(R.id)&&0>(""+R.id).indexOf("highcharts-"),z="x, "+R.x;return R.name||I||H||(W?R.id:z)}
1(h):"";return d(D,{point:h,index:l(h.index)?h.index+1:"",xDescription:K,value:function(R){let I=R.series,H=I.chart.options.accessibility.point||{},W=I.chart.options.accessibility&&I.chart.options.accessibility.point||{},z=I.tooltipOptions||{},G=W.valuePrefix||H.valuePrefix||z.valuePrefix||"",q=W.valueSuffix||H.valueSuffix||z.valueSuffix||"",X=R.value!==void 0?"value":"y",Y=A(R,R[X]);return R.isNull?I.chart.langFormat("accessibility.series.nullPointValue",{point:R}):I.pointArrayMap?function(Z,$,_){let Q=$||"",it=_||"",nt=function(tt){let et=A(Z,t(Z[tt],Z.options[tt]));return et!==void 0?tt+": "+Q+et+it:et};return Z.series.pointArrayMap.reduce(function(tt,et){let ot=nt(et);return ot?tt+(tt.length?", ":"")+ot:tt},"")}(R,G,q):G+Y+q}(h),separator:M?", ":""},C)}(g),v=g.options&&g.options.accessibility&&g.options.accessibility.description,w=y?" "+E.name+".":"",s=function(h){let m=h.series.chart,C=N(h);return C.length?m.langFormat("accessibility.series.pointAnnotationsDescription",{point:h,annotations:C}):""}(g);return g.accessibility=g.accessibility||{},g.accessibility.valueDescription=x,x+(v?" "+v:"")+w+(s?" "+s:"")}function b(g){let E=g.chart,y=E.types||[],x=function(M){let K=(M.options.accessibility||{}).description;return K&&M.chart.langFormat("accessibility.series.description",{description:K,series:M})||""}(g),v=function(M){return E[M]&&E[M].length>1&&g[M]},w=g.index+1,s=j(g,"xAxis"),h=j(g,"yAxis"),m={seriesNumber:w,series:g,chart:E},C=y.length>1?"Combination":"",S=E.langFormat("accessibility.series.summary."+g.type+C,m)||E.langFormat("accessibility.series.summary.default"+C,m),D=(v("yAxis")?" "+h+".":"")+(v("xAxis")?" "+s+".":"");return d(t(g.options.accessibility&&g.options.accessibility.descriptionFormat,E.options.accessibility.series.descriptionFormat,""),{seriesDescription:S,authorDescription:x?" "+x:"",axisDescription:D,series:g,chart:E,seriesNumber:w},void 0)}return{defaultPointDescriptionFormatter:T,defaultSeriesDescriptionFormatter:b,describeSeries:function(g){let E=g.chart,y=k(g),x=f(g),v=E.is3d&&E.is3d();x&&(x.lastChild!==y||v||e(x),function(w){let s=function(C){let S=C.options.accessibility||{};return!c(C)&&!S.exposeAsGroupOnly}(w),h=function(C){let S=C.chart.options.accessibility.keyboardNavigation.seriesNavigation;return!!(C.points&&(C.points.length<+S.pointNavigationEnabledThreshold||S.pointNavigationEnabledThreshold===!1))}(w),m=w.chart.options.accessibility.point.describeNull;(s||h)&&w.points.forEach(C=>{let S=C.graphic&&C.graphic.element||function(M){let K=M.series,R=K&&K.chart,I=K&&K.is("sunburst"),H=M.isNull,W=R&&R.options.accessibility.point.describeNull;return H&&!I&&W}(C)&&function(M){let K=M.series,R=function(G){let q=G.index;return G.series&&G.series.data&&l(q)&&i(G.series.data,function(X){return!!(X&&X.index!==void 0&&X.index>q&&X.graphic&&X.graphic.element)})||null}(M),I=R&&R.graphic,H=I?I.parentGroup:K.graph||K.group,W=R?{x:t(M.plotX,R.plotX,0),y:t(M.plotY,R.plotY,0)}:{x:t(M.plotX,0),y:t(M.plotY,0)},z=function(G,q){let X=G.series.chart.renderer.rect(q.x,q.y,1,1);return X.attr({class:"highcharts-a11y-mock-point",fill:"none",opacity:0,"fill-opacity":0,"stroke-opacity":0}),X}(M,W);if(H&&H.element)return M.graphic=z,M.hasMockGraphic=!0,z.add(H),H.element.insertBefore(z.element,I?I.element:null),z.element}(C),D=C.options&&C.options.accessibility&&C.options.accessibility.enabled===!1;if(S){if(C.isNull&&!m){S.setAttribute("aria-hidden",!0);return}S.setAttribute("tabindex","-1"),w.chart.styledMode||(S.style.outline="none"),s&&!D?function(M,K){var z,G,q;let R=M.series,I=((z=R.options.accessibility)==null?void 0:z.point)||{},H=R.chart.options.accessibility.point||{},W=a(o(I.descriptionFormat)&&d(I.descriptionFormat,M,R.chart)||((G=I.descriptionFormatter)==null?void 0:G.call(I,M))||o(H.descriptionFormat)&&d(H.descriptionFormat,M,R.chart)||((q=H.descriptionFormatter)==null?void 0:q.call(H,M))||T(M),R.chart.renderer.forExport);K.setAttribute("role","img"),K.setAttribute("aria-label",W)}(C,S):S.setAttribute("aria-hidden",!0)}})}(g),p(E,x),function(w){let s=w.chart,h=s.options.chart,m=h.options3d&&h.options3d.enabled,C=s.series.length>1,S=s.options.accessibility.series.describeSingleSeries,D=(w.options.accessibility||{}).exposeAsGroupOnly;return!(m&&C)&&(C||S||D||c(w))}(g)?function(w,s){let h=w.options.accessibility||{},m=w.chart.options.accessibility,C=m.landmarkVerbosity;h.exposeAsGroupOnly?s.setAttribute("role","img"):C==="all"?s.setAttribute("role","regi
1on"):s.setAttribute("role","group"),s.setAttribute("tabindex","-1"),w.chart.styledMode||(s.style.outline="none"),s.setAttribute("aria-label",a(m.series.descriptionFormatter&&m.series.descriptionFormatter(w)||b(w),w.chart.renderer.forExport))}(g,x):x.removeAttribute("aria-label"))}}}),V(u,"Accessibility/Components/SeriesComponent/NewDataAnnouncer.js",[u["Core/Globals.js"],u["Core/Utilities.js"],u["Accessibility/Utils/Announcer.js"],u["Accessibility/Utils/ChartUtilities.js"],u["Accessibility/Utils/EventProvider.js"],u["Accessibility/Components/SeriesComponent/SeriesDescriber.js"]],function(F,U,L,P,O,N){let{composed:B}=F,{addEvent:k,defined:f,pushUnique:p}=U,{getChartTitle:d}=P,{defaultPointDescriptionFormatter:r,defaultSeriesDescriptionFormatter:e}=N;function a(n){return!!n.options.accessibility.announceNewData.enabled}class i{constructor(o){this.dirty={allSeries:{}},this.lastAnnouncementTime=0,this.chart=o}init(){let o=this.chart,t=o.options.accessibility.announceNewData.interruptUser?"assertive":"polite";this.lastAnnouncementTime=0,this.dirty={allSeries:{}},this.eventProvider=new O,this.announcer=new L(o,t),this.addEventListeners()}destroy(){this.eventProvider.removeAddedEvents(),this.announcer.destroy()}addEventListeners(){let o=this,t=this.chart,l=this.eventProvider;l.addEvent(t,"afterApplyDrilldown",function(){o.lastAnnouncementTime=0}),l.addEvent(t,"afterAddSeries",function(c){o.onSeriesAdded(c.series)}),l.addEvent(t,"redraw",function(){o.announceDirtyData()})}onSeriesAdded(o){a(this.chart)&&(this.dirty.hasDirty=!0,this.dirty.allSeries[o.name+o.index]=o,this.dirty.newSeries=f(this.dirty.newSeries)?void 0:o)}announceDirtyData(){let o=this.chart,t=this;if(o.options.accessibility.announceNewData&&this.dirty.hasDirty){let l=this.dirty.newPoint;l&&(l=function(c){let A=c.series.data.filter(j=>c.x===j.x&&c.y===j.y);return A.length===1?A[0]:c}(l)),this.queueAnnouncement(Object.keys(this.dirty.allSeries).map(c=>t.dirty.allSeries[c]),this.dirty.newSeries,l),this.dirty={allSeries:{}}}}queueAnnouncement(o,t,l){let c=this.chart.options.accessibility.announceNewData;if(c.enabled){let A=+new Date,j=A-this.lastAnnouncementTime,T=Math.max(0,c.minAnnounceInterval-j),b=function(E,y){let x=(E||[]).concat(y||[]).reduce((v,w)=>(v[w.name+w.index]=w,v),{});return Object.keys(x).map(v=>x[v])}(this.queuedAnnouncement&&this.queuedAnnouncement.series,o),g=this.buildAnnouncementMessage(b,t,l);g&&(this.queuedAnnouncement&&clearTimeout(this.queuedAnnouncementTimer),this.queuedAnnouncement={time:A,message:g,series:b},this.queuedAnnouncementTimer=setTimeout(()=>{this&&this.announcer&&(this.lastAnnouncementTime=+new Date,this.announcer.announce(this.queuedAnnouncement.message),delete this.queuedAnnouncement,delete this.queuedAnnouncementTimer)},T))}}buildAnnouncementMessage(o,t,l){let c=this.chart,A=c.options.accessibility.announceNewData;if(A.announcementFormatter){let g=A.announcementFormatter(o,t,l);if(g!==!1)return g.length?g:null}let j=F.charts&&F.charts.length>1?"Multiple":"Single",T=t?"newSeriesAnnounce"+j:l?"newPointAnnounce"+j:"newDataAnnounce",b=d(c);return c.langFormat("accessibility.announceNewData."+T,{chartTitle:b,seriesDesc:t?e(t):null,pointDesc:l?r(l):null,point:l,series:t})}}return function(n){function o(l){var j;let c=this.chart,A=(j=c.accessibility)==null?void 0:j.components.series.newDataAnnouncer;A&&A.chart===c&&a(c)&&(A.dirty.newPoint=f(A.dirty.newPoint)?void 0:l.point)}function t(){var A;let l=this.chart,c=(A=l.accessibility)==null?void 0:A.components.series.newDataAnnouncer;c&&c.chart===l&&a(l)&&(c.dirty.hasDirty=!0,c.dirty.allSeries[this.name+this.index]=this)}n.compose=function(l){p(B,"A11y.NDA")&&(k(l,"addPoint",o),k(l,"updatedData",t))}}(i),i}),V(u,"Accessibility/ProxyElement.js",[u["Core/Globals.js"],u["Core/Utilities.js"],u["Accessibility/Utils/EventProvider.js"],u["Accessibility/Utils/ChartUtilities.js"],u["Accessibility/Utils/HTMLUtilities.js"]],function(F,U,L,P,O){let{doc:N}=F,{attr:B,css:k,merge:f}=U,{fireEventOnWrappedOrUnwrappedElement:p}=P,{cloneMouseEvent:d,cloneTouchEvent:r,getFakeMouseEvent:e,removeElement:a}=O;return class{constructor(i,n,o="button",t,l){this.chart=i,this.target=n,this.eventProvider=new L;let c=this.innerElement=N.createElement(o),A=this.element=t?N.createElement(t):c;i.styledMode||this.hideElementVisually(c),t&&(t!=="li"||i.styledMode||(A.style.listStyle="none"),A.appendChild(c),this.element=A),this.updateTarget(n,l)}click(){let i=this.getTargetPosition();i.x+=i.width/2,i.y+=i.height/2;let n=e("click",i);p(this.target.click,n)}updateTarget(i,n){this.target=i,this.updateCSSClassName();let o=n||{};
vendor: 4,448 bytes, line 1
1Object.keys(o).forEach(l=>{o[l]===null&&delete o[l]});let t=this.getTargetAttr(i.click,"aria-label");B(this.innerElement,f(t?{"aria-label":t}:{},o)),this.eventProvider.removeAddedEvents(),this.addProxyEventsToElement(this.innerElement,i.click),this.refreshPosition()}refreshPosition(){let i=this.getTargetPosition();k(this.innerElement,{width:(i.width||1)+"px",height:(i.height||1)+"px",left:(Math.round(i.x)||0)+"px",top:(Math.round(i.y)||0)+"px"})}remove(){this.eventProvider.removeAddedEvents(),a(this.element)}updateCSSClassName(){let i=c=>c.indexOf("highcharts-no-tooltip")>-1,n=this.chart.legend,o=n.group&&n.group.div,t=i(o&&o.className||""),l=i(this.getTargetAttr(this.target.click,"class")||"");this.innerElement.className=t||l?"highcharts-a11y-proxy-element highcharts-no-tooltip":"highcharts-a11y-proxy-element"}addProxyEventsToElement(i,n){["click","touchstart","touchend","touchcancel","touchmove","mouseover","mouseenter","mouseleave","mouseout"].forEach(o=>{let t=o.indexOf("touch")===0;this.eventProvider.addEvent(i,o,l=>{let c=t?r(l):d(l);n&&p(n,c),l.stopPropagation(),t||l.preventDefault()},{passive:!1})})}hideElementVisually(i){k(i,{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 i=this.target.click,n=i.element?i.element:i,o=this.target.visual||n,t=this.chart.renderTo,l=this.chart.pointer;if(t&&(o!=null&&o.getBoundingClientRect)&&l){let c=o.getBoundingClientRect(),A=l.getChartPosition();return{x:(c.left-A.left)/A.scaleX,y:(c.top-A.top)/A.scaleY,width:c.right/A.scaleX-c.left/A.scaleX,height:c.bottom/A.scaleY-c.top/A.scaleY}}return{x:0,y:0,width:1,height:1}}getTargetAttr(i,n){return i.element?i.element.getAttribute(n):i.getAttribute(n)}}}),V(u,"Accessibility/ProxyProvider.js",[u["Core/Globals.js"],u["Core/Utilities.js"],u["Accessibility/Utils/ChartUtilities.js"],u["Accessibility/Utils/DOMElementProvider.js"],u["Accessibility/Utils/HTMLUtilities.js"],u["Accessibility/ProxyElement.js"]],function(F,U,L,P,O,N){let{doc:B}=F,{attr:k,css:f}=U,{unhideChartElementFromAT:p}=L,{removeChildNodes:d}=O;return class{constructor(r){this.chart=r,this.domElementProvider=new P,this.groups={},this.groupOrder=[],this.beforeChartProxyPosContainer=this.createProxyPosContainer("before"),this.afterChartProxyPosContainer=this.createProxyPosContainer("after"),this.update()}addProxyElement(r,e,a="button",i){let n=this.groups[r];if(!n)throw Error("ProxyProvider.addProxyElement: Invalid group key "+r);let o=n.type==="ul"||n.type==="ol"?"li":void 0,t=new N(this.chart,e,a,o,i);return n.proxyContainerElement.appendChild(t.element),n.proxyElements.push(t),t}addGroup(r,e="div",a){let i,n=this.groups[r];if(n)return n.groupElement;let o=this.domElementProvider.createElement(e);return a&&a.role&&e!=="div"?(i=this.domElementProvider.createElement("div")).appendChild(o):i=o,i.className="highcharts-a11y-proxy-group highcharts-a11y-proxy-group-"+r.replace(/\W/g,"-"),this.groups[r]={proxyContainerElement:o,groupElement:i,type:e,proxyElements:[]},k(i,a||{}),e==="ul"&&o.setAttribute("role","list"),this.afterChartProxyPosContainer.appendChild(i),this.updateGroupOrder(this.groupOrder),i}updateGroupAttrs(r,e){let a=this.groups[r];if(!a)throw Error("ProxyProvider.updateGroupAttrs: Invalid group key "+r);k(a.groupElement,e)}updateGroupOrder(r){if(this.groupOrder=r.slice(),this.isDOMOrderGroupOrder())return;let e=r.indexOf("series"),a=e>-1?r.slice(0,e):r,i=e>-1?r.slice(e+1):[],n=B.activeElement;["before","after"].forEach(o=>{let t=this[o==="before"?"beforeChartProxyPosContainer":"afterChartProxyPosContainer"];d(t),(o==="before"?a:i).forEach(l=>{let c=this.groups[l];c&&t.appendChild(c.groupElement)})}),(this.beforeChartProxyPosContainer.contains(n)||this.afterChartProxyPosContainer.contains(n))&&n&&n.focus&&n.focus()}clearGroup(r){let e=this.groups[r];if(!e)throw Error("ProxyProvider.clearGroup: Invalid group key "+r);d(e.proxyContainerElement)}removeGroup(r){let e=this.groups[r];e&&(this.domElementProvider.removeElement(e.groupElement),e.groupElement!==e.proxyContainerElement&&this.domElementProvider.removeElement(e.proxyContainerElement),delete this.groups[r])}update(){this.updatePosContainerPositions(),this.updateGroupOrder(this.groupOrder),this.updateProxyElementPositions()}
1updateProxyElementPositions(){Object.keys(this.groups).forEach(this.updateGroupProxyElementPositions.bind(this))}updateGroupProxyElementPositions(r){let e=this.groups[r];e&&e.proxyElements.forEach(a=>a.refreshPosition())}destroy(){this.domElementProvider.destroyCreatedElements()}createProxyPosContainer(r){let e=this.domElementProvider.createElement("div");return e.setAttribute("aria-hidden","false"),e.className="highcharts-a11y-proxy-container"+(r?"-"+r:""),f(e,{top:"0",left:"0"}),this.chart.styledMode||(e.style.whiteSpace="nowrap",e.style.position="absolute"),e}getCurrentGroupOrderInDOM(){let r=n=>{let o=Object.keys(this.groups),t=o.length;for(;t--;){let l=o[t],c=this.groups[l];if(c&&n===c.groupElement)return l}},e=n=>{let o=[],t=n.children;for(let l=0;l<t.length;++l){let c=r(t[l]);c&&o.push(c)}return o},a=e(this.beforeChartProxyPosContainer),i=e(this.afterChartProxyPosContainer);return a.push("series"),a.concat(i)}isDOMOrderGroupOrder(){let r=this.getCurrentGroupOrderInDOM(),e=this.groupOrder.filter(i=>i==="series"||!!this.groups[i]),a=r.length;if(a!==e.length)return!1;for(;a--;)if(r[a]!==e[a])return!1;return!0}updatePosContainerPositions(){let r=this.chart;if(r.renderer.forExport)return;let e=r.renderer.box;r.container.insertBefore(this.afterChartProxyPosContainer,e.nextSibling),r.container.insertBefore(this.beforeChartProxyPosContainer,e),p(this.chart,this.afterChartProxyPosContainer),p(this.chart,this.beforeChartProxyPosContainer)}}}),V(u,"Accessibility/Components/RangeSelectorComponent.js",[u["Accessibility/AccessibilityComponent.js"],u["Accessibility/Utils/Announcer.js"],u["Accessibility/Utils/ChartUtilities.js"],u["Accessibility/KeyboardNavigationHandler.js"],u["Core/Utilities.js"]],function(F,U,L,P,O){let{unhideChartElementFromAT:N,getAxisRangeDescription:B}=L,{addEvent:k,attr:f}=O;class p extends F{init(){let r=this.chart;this.announcer=new U(r,"polite")}onChartUpdate(){let r=this.chart,e=this,a=r.rangeSelector;a&&(this.updateSelectorVisibility(),this.setDropdownAttrs(),a.buttons&&a.buttons.length&&a.buttons.forEach(i=>{e.setRangeButtonAttrs(i)}),a.maxInput&&a.minInput&&["minInput","maxInput"].forEach(function(i,n){let o=a[i];o&&(N(r,o),e.setRangeInputAttrs(o,"accessibility.rangeSelector."+(n?"max":"min")+"InputLabel"))}))}updateSelectorVisibility(){let r=this.chart,e=r.rangeSelector,a=e&&e.dropdown,i=e&&e.buttons||[],n=o=>o.setAttribute("aria-hidden",!0);e&&e.hasVisibleDropdown&&a?(N(r,a),i.forEach(o=>
vendor: 4,891 bytes, line 1
1n(o.element))):(a&&n(a),i.forEach(o=>N(r,o.element)))}setDropdownAttrs(){let r=this.chart,e=r.rangeSelector&&r.rangeSelector.dropdown;if(e){let a=r.langFormat("accessibility.rangeSelector.dropdownLabel",{rangeTitle:r.options.lang.rangeSelectorZoom});e.setAttribute("aria-label",a),e.setAttribute("tabindex",-1)}}setRangeButtonAttrs(r){f(r.element,{tabindex:-1,role:"button"})}setRangeInputAttrs(r,e){let a=this.chart;f(r,{tabindex:-1,"aria-label":a.langFormat(e,{chart:a})})}onButtonNavKbdArrowKey(r,e){let a=r.response,i=this.keyCodes,n=this.chart,o=n.options.accessibility.keyboardNavigation.wrapAround,t=e===i.left||e===i.up?-1:1;return n.highlightRangeSelectorButton(n.highlightedRangeSelectorItemIx+t)?a.success:o?(r.init(t),a.success):a[t>0?"next":"prev"]}onButtonNavKbdClick(r){let e=r.response,a=this.chart;return a.oldRangeSelectorItemState!==3&&this.fakeClickEvent(a.rangeSelector.buttons[a.highlightedRangeSelectorItemIx].element),e.success}onAfterBtnClick(){let r=this.chart,e=B(r.xAxis[0]),a=r.langFormat("accessibility.rangeSelector.clickButtonAnnouncement",{chart:r,axisRangeDescription:e});a&&this.announcer.announce(a)}onInputKbdMove(r){let e=this.chart,a=e.rangeSelector,i=e.highlightedInputRangeIx=(e.highlightedInputRangeIx||0)+r;if(i>1||i<0){if(e.accessibility)return e.accessibility.keyboardNavigation.exiting=!0,e.accessibility.keyboardNavigation.tabindexContainer.focus(),e.accessibility.keyboardNavigation.move(r)}else if(a){let n=a[i?"maxDateBox":"minDateBox"],o=a[i?"maxInput":"minInput"];n&&o&&e.setFocusToElement(n,o)}return!0}onInputNavInit(r){let e=this,a=this.chart,i=r>0?0:1,n=a.rangeSelector,o=n&&n[i?"maxDateBox":"minDateBox"],t=n&&n.minInput,l=n&&n.maxInput;if(a.highlightedInputRangeIx=i,o&&t&&l){a.setFocusToElement(o,i?l:t),this.removeInputKeydownHandler&&this.removeInputKeydownHandler();let c=T=>{(T.which||T.keyCode)===this.keyCodes.tab&&e.onInputKbdMove(T.shiftKey?-1:1)&&(T.preventDefault(),T.stopPropagation())},A=k(t,"keydown",c),j=k(l,"keydown",c);this.removeInputKeydownHandler=()=>{A(),j()}}}onInputNavTerminate(){let r=this.chart.rangeSelector||{};r.maxInput&&r.hideInput("max"),r.minInput&&r.hideInput("min"),this.removeInputKeydownHandler&&(this.removeInputKeydownHandler(),delete this.removeInputKeydownHandler)}initDropdownNav(){let r=this.chart,e=r.rangeSelector,a=e&&e.dropdown;e&&a&&(r.setFocusToElement(e.buttonGroup,a),this.removeDropdownKeydownHandler&&this.removeDropdownKeydownHandler(),this.removeDropdownKeydownHandler=k(a,"keydown",i=>{let n=(i.which||i.keyCode)===this.keyCodes.tab,o=r.accessibility;n&&(i.preventDefault(),i.stopPropagation(),o&&(o.keyboardNavigation.tabindexContainer.focus(),o.keyboardNavigation.move(i.shiftKey?-1:1)))}))}getRangeSelectorButtonNavigation(){let r=this.chart,e=this.keyCodes,a=this;return new P(r,{keyCodeMap:[[[e.left,e.right,e.up,e.down],function(i){return a.onButtonNavKbdArrowKey(this,i)}],[[e.enter,e.space],function(){return a.onButtonNavKbdClick(this)}]],validate:function(){return!!(r.rangeSelector&&r.rangeSelector.buttons&&r.rangeSelector.buttons.length)},init:function(i){let n=r.rangeSelector;if(n&&n.hasVisibleDropdown)a.initDropdownNav();else if(n){let o=n.buttons.length-1;r.highlightRangeSelectorButton(i>0?0:o)}},terminate:function(){a.removeDropdownKeydownHandler&&(a.removeDropdownKeydownHandler(),delete a.removeDropdownKeydownHandler)}})}getRangeSelectorInputNavigation(){let r=this.chart,e=this;return new P(r,{keyCodeMap:[],validate:function(){return!!(r.rangeSelector&&r.rangeSelector.inputGroup&&r.rangeSelector.inputGroup.element.style.visibility!=="hidden"&&r.options.rangeSelector.inputEnabled!==!1&&r.rangeSelector.minInput&&r.rangeSelector.maxInput)},init:function(a){e.onInputNavInit(a)},terminate:function(){e.onInputNavTerminate()}})}getKeyboardNavigation(){return[this.getRangeSelectorButtonNavigation(),this.getRangeSelectorInputNavigation()]}destroy(){this.removeDropdownKeydownHandler&&this.removeDropdownKeydownHandler(),this.removeInputKeydownHandler&&this.removeInputKeydownHandler(),this.announcer&&this.announcer.destroy()}}return function(d){function r(a){let i=this.rangeSelector&&this.rangeSelector.buttons||[],n=this.highlightedRangeSelectorItemIx,o=this.rangeSelector&&this.rangeSelector.selected;return n!==void 0&&i[n]&&n!==o&&i[n].setState(this.oldRangeSelectorItemState||0),this.highlightedRangeSelectorItemIx=a,!!i[a]&&(this.setFocusToElement(i[a].box,i[a].element),a!==o&&(this.oldRangeSelectorItemState=i[a].state,i[a].setState(1)),!0)}function e(){let a=this.chart.accessibility;if(a&&a.components.rangeSelector)return a.components.rangeSelector.onAfterBtnClick()}d.compose=function(a,i){let n=a.prototype;n.highlightRangeSelectorButton||(n.highlightRangeSelectorButton=r,k(i,"afterBtnClick",e))}}(p),p}),V(u,"Accessibility/Components/SeriesComponent/ForcedMarkers.js",[u["Core/Globals.js"],u["Core/Utilities.js"]],function(F,U){var L;
1let{composed:P}=F,{addEvent:O,merge:N,pushUnique:B}=U;return function(k){function f(n){N(!0,n,{marker:{enabled:!0,states:{normal:{opacity:0}}}})}function p(n){return n.marker.states&&n.marker.states.normal&&n.marker.states.normal.opacity}function d(n){return!!(n._hasPointMarkers&&n.points&&n.points.length)}function r(){this.chart.styledMode&&(this.markerGroup&&this.markerGroup[this.a11yMarkersForced?"addClass":"removeClass"]("highcharts-a11y-markers-hidden"),d(this)&&this.points.forEach(n=>{n.graphic&&(n.graphic[n.hasForcedA11yMarker?"addClass":"removeClass"]("highcharts-a11y-marker-hidden"),n.graphic[n.hasForcedA11yMarker===!1?"addClass":"removeClass"]("highcharts-a11y-marker-visible"))}))}function e(n){this.resetA11yMarkerOptions=N(n.options.marker||{},this.userOptions.marker||{})}function a(){let n=this.options;(function(o){let t=o.chart.options.accessibility.enabled,l=(o.options.accessibility&&o.options.accessibility.enabled)!==!1;return t&&l&&function(c){let A=c.chart.options.accessibility;return c.points.length<A.series.pointDescriptionEnabledThreshold||A.series.pointDescriptionEnabledThreshold===!1}(o)})(this)?(n.marker&&n.marker.enabled===!1&&(this.a11yMarkersForced=!0,f(this.options)),d(this)&&function(o){let t=
1o.points.length;for(;t--;){let l=o.points[t],c=l.options,A=l.hasForcedA11yMarker;if(delete l.hasForcedA11yMarker,c.marker){let j=A&&p(c)===0;c.marker.enabled&&!j?(N(!0,c.marker,{states:{normal:{opacity:p(c)||1}}}),l.hasForcedA11yMarker=!1):c.marker.enabled===!1&&(f(c),l.hasForcedA11yMarker=!0)}}}(this)):this.a11yMarkersForced&&(delete this.a11yMarkersForced,function(o){let t=o.resetA11yMarkerOptions;if(t){let l=t.states&&t.states.normal&&t.states.normal.opacity;o.userOptions&&o.userOptions.marker&&(o.userOptions.marker.enabled=!0),o.update({marker:{enabled:t.enabled,states:{normal:{opacity:l}}}})}}(this),delete this.resetA11yMarkerOptions)}function i(){this.boosted&&this.a11yMarkersForced&&(N(!0,this.options,{marker:{enabled:!1}}),delete this.a11yMarkersForced)}k.compose=function(n){B(P,"A11y.FM")&&(O(n,"afterSetOptions",e),O(n,"render",a),O(n,"afterRender",r),O(n,"renderCanvas",i))}}(L||(L={})),L}),V(u,"Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js",[u["Core/Series/Point.js"],u["Core/Series/Series.js"],u["Core/Series/SeriesRegistry.js"],u["Core/Globals.js"],u["Core/Utilities.js"],u["Accessibility/KeyboardNavigationHandler.js"],u["Accessibility/Utils/EventProvider.js"],u["Accessibility/Utils/ChartUtilities.js"]],function(F,U,L,P,O,N,B,k){let{seriesTypes:f}=L,{doc:p}=P,{defined:d,fireEvent:r}=O,{getPointFromXY:e,getSeriesFromName:a,scrollAxisToPoint:i}=k;function n(T){let b=T.index,g=T.series.points,E=g.length;if(g[b]===T)return b;for(;E--;)if(g[E]===T)return E}function o(T){let b=T.chart.options.accessibility.keyboardNavigation.seriesNavigation,g=T.options.accessibility||{},E=g.keyboardNavigation;return E&&E.enabled===!1||g.enabled===!1||T.options.enableMouseTracking===!1||!T.visible||b.pointNavigationEnabledThreshold&&+b.pointNavigationEnabledThreshold<=T.points.length}function t(T){let b=T.series.chart.options.accessibility,g=T.options.accessibility&&T.options.accessibility.enabled===!1;return T.isNull&&b.keyboardNavigation.seriesNavigation.skipNullPoints||T.visible===!1||T.isInside===!1||g||o(T.series)}function l(T){let b=T.series||[],g=b.length;for(let E=0;E<g;++E)if(!o(b[E])){let y=function(x){let v=x.points||[],w=v.length;for(let s=0;s<w;++s)if(!t(v[s]))return v[s];return null}(b[E]);if(y)return y}return null}function c(T){let b=T.series.length,g=!1;for(;b--&&(T.highlightedPoint=T.series[b].points[T.series[b].points.length-1],!(g=T.series[b].highlightNextValidPoint())););return g}function A(T){delete T.highlightedPoint;let b=l(T);return!!b&&b.highlight()}class j{constructor(b,g){this.keyCodes=g,this.chart=b}init(){let b=this,g=this.chart,E=this.eventProvider=new B;E.addEvent(U,"destroy",function(){return b.onSeriesDestroy(this)}),E.addEvent(g,"afterApplyDrilldown",function(){(function(y){let x=l(y);x&&x.highlight(!1)})(this)}),E.addEvent(g,"drilldown",function(y){let x=y.point,v=x.series;b.lastDrilledDownPoint={x:x.x,y:x.y,seriesName:v?v.name:""}}),E.addEvent(g,"drillupall",function(){setTimeout(function(){b.onDrillupAll()},10)}),E.addEvent(F,"afterSetState",function(){let y=this.graphic&&this.graphic.element,x=p.activeElement,v=x&&x.getAttribute("class"),w=v&&v.indexOf("highcharts-a11y-proxy-element")>-1;g.highlightedPoint===this&&x!==y&&!w&&y&&y.focus&&y.focus()})}onDrillupAll(){let b,g=this.lastDrilledDownPoint,E=this.chart,y=g&&a(E,g.seriesName);g&&y&&d(g.x)&&d(g.y)&&(b=e(y,g.x,g.y)),b=b||l(E),E.container&&E.container.focus(),b&&b.highlight&&b.highlight(!1)}getKeyboardNavigationHandler(){let b=this,g=this.keyCodes,E=this.chart,y=E.inverted;return new N(E,{keyCodeMap:[[y?[g.up,g.down]:[g.left,g.right],function(x){return b.onKbdSideways(this,x)}],[y?[g.left,g.right]:[g.up,g.down],function(x){return b.onKbdVertical(this,x)}],[[g.enter,g.space],function(x,v){var s;let w=E.highlightedPoint;if(w){let{plotLeft:h,plotTop:m}=this.chart,{plotX:C=0,plotY:S=0}=w;v={...v,chartX:h+C,chartY:m+S,point:w,target:((s=w.graphic)==null?void 0:s.element)||v.target},r(w.series,"click",v),w.firePointEvent("click",v)}return this.response.success}],[[g.home],function(){return A(E),this.response.success}],[[g.end],function(){return c(E),this.response.success}],[[g.pageDown,g.pageUp],function(x){return E.highlightAdjacentSeries(x===g.pageDown),this.response.success}]],init:function(){return b.onHandlerInit(this)},validate:function(){return!!l(E)},terminate:function(){return b.onHandlerTerminate()}})}onKbdSideways(b,g){let E=this.keyCodes,y=g===E.right||g===E.down;return this.attemptHighlightAdjacentPoint(b,y)}onHandlerInit(b){let g=this.chart;return g.options.accessibility.keyboardNavigation.seriesNavigation.rememberPointFocus&&g.highlightedPoint?g.highlightedPoint.highlight():A(g),b.response.success}onKbdVertical(b,g){let E=this.chart,y=this.keyCodes,x=g===y.down||g===y.right,v=E.options.accessibility.keyboardNavigation.seriesNavigation;if(v.mode&&v.mode==="serialize")return this.attemptHighlightAdjacentPoint(b,x);let w=E.highlightedPoint&&E.highlightedPoint.series.keyboardMoveVertical?"highlightAdjacentPointVertical":"highlightAdjacentSeries";return E[w](x),b.response.success}onHandlerTerminate(){let b=this.chart,g=b.options.accessibility.keyboardNavigation;b.tooltip&&b.tooltip.hide(0);let E=b.highlightedPoint&&b.highlightedPoint.series;E&&E.onMouseOut&&E.onMouseOut(),b.highlightedPoint&&b.highlightedPoint.onMouseOut&&b.highlightedPoint.onMouseOut(),g.seriesNavigation.rememberPointFocus||delete b.highlightedPoint}attemptHighlightAdjacentPoint(b,g){let E=this.chart,y=E.options.accessibility.keyboardNavigation.wrapAround;return E.highlightAdjacentPoint(g)||y&&(g?A(E):c(E))?b.response.success:b.response[g?"next":"prev"]}onSeriesDestroy(b){let g=this.chart;g.highlightedPoint&&g.highlightedPoint.series===b&&(delete g.highlightedPoint,g.focusElement&&g.focu
1sElement.removeFocusBorder())}destroy(){this.eventProvider.removeAddedEvents()}}return function(T){function b(v){let w,s,h=this.series,m=this.highlightedPoint,C=m&&n(m)||0,S=m&&m.series.points||[],D=this.series&&this.series[this.series.length-1],M=D&&D.points&&D.points[D.points.length-1];if(!h[0]||!h[0].points)return!1;if(m){if(w=h[m.series.index+(v?1:-1)],(s=S[C+(v?1:-1)])||!w||(s=w.points[v?0:w.points.length-1]),!s)return!1}else s=v?h[0].points[0]:M;return t(s)?(o(w=s.series)?this.highlightedPoint=v?w.points[w.points.length-1]:w.points[0]:this.highlightedPoint=s,this.highlightAdjacentPoint(v)):s.highlight()}function g(v){let w=this.highlightedPoint,s=1/0,h;return!!(d(w.plotX)&&d(w.plotY))&&(this.series.forEach(m=>{o(m)||m.points.forEach(C=>{if(!d(C.plotY)||!d(C.plotX)||C===w)return;let S=C.plotY-w.plotY,D=Math.abs(C.plotX-w.plotX),M=Math.abs(S)*Math.abs(S)+D*D*4;m.yAxis&&m.yAxis.reversed&&(S*=-1),!(S<=0&&v||S>=0&&!v||M<5||t(C))&&M<s&&(s=M,h=C)})}),!!h&&h.highlight())}function E(v){let w,s,h,m=this.highlightedPoint,C=this.series&&this.series[this.series.length-1],S=C&&C.points&&C.points[C.points.length-1];return this.highlightedPoint?!!((w=this.series[m.series.index+(v?-1:1)])&&(s=function(D,M,K,R){let I=1/0,H,W,z,G=M.points.length,q=X=>!(d(X.plotX)&&d(X.plotY));if(!q(D)){for(;G--;)!q(H=M.points[G])&&(z=(D.plotX-H.plotX)*(D.plotX-H.plotX)*4+(D.plotY-H.plotY)*(D.plotY-H.plotY)*1)<I&&(I=z,W=G);return d(W)?M.points[W]:void 0}}(m,w)))&&(o(w)?(s.highlight(),(h=this.highlightAdjacentSeries(v))?h:(m.highlight(),!1)):(s.highlight(),s.series.highlightNextValidPoint())):(w=v?this.series&&this.series[0]:C,!!(s=v?w&&w.points&&w.points[0]:S)&&s.highlight())}function y(v=!0){var m,C;let w=this.series.chart,s=(C=(m=w.tooltip)==null?void 0:m.label)==null?void 0:C.element;!this.isNull&&v?this.onMouseOver():w.tooltip&&w.tooltip.hide(0),i(this),this.graphic&&(w.setFocusToElement(this.graphic),!v&&w.focusElement&&w.focusElement.removeFocusBorder()),w.highlightedPoint=this;let h=s==null?void 0:s.getBoundingClientRect().top;if(s&&h&&h<0){let S=window.scrollY;window.scrollTo({behavior:"smooth",top:S+h})}return this}function x(){let v=this.chart.highlightedPoint,w=(v&&v.series)===this?n(v):0,s=this.points,h=s.length;if(s&&h){for(let m=w;m<h;++m)if(!t(s[m]))return s[m].highlight();for(let m=w;m>=0;--m)if(!t(s[m]))return s[m].highlight()}return!1}T.compose=function(v,w,s){let h=v.prototype,m=w.prototype,C=s.prototype;h.highlightAdjacentPoint||(h.highlightAdjacentPoint=b,h.highlightAdjacentPointVertical=g,h.highlightAdjacentSeries=E,m.highlight=y,C.keyboardMoveVertical=!0,["column","gantt","pie"].forEach(S=>{f[S]&&(f[S].prototype.keyboardMoveVertical=!1)}),C.highlightNextValidPoint=x)}}(j),j}),V(u,"Accessibility/Components/SeriesComponent/SeriesComponent.js",[u["Accessibility/AccessibilityComponent.js"],u["Accessibility/Utils/ChartUtilities.js"],u["Accessibility/Components/SeriesComponent/ForcedMarkers.js"],u["Accessibility/Components/SeriesComponent/NewDataAnnouncer.js"],u["Accessibility/Components/SeriesComponent/SeriesDescriber.js"],u["Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js"]],function(F,U,L,P,O,N){let{hideSeriesFromAT:B}=U,{describeSeries:k}=O;return class extends F{static compose(f,p,d){P.compose(d),L.compose(d),N.compose(f,p,d)}init(){this.newDataAnnouncer=new P(this.chart),this.newDataAnnouncer.init(),this.keyboardNavigation=new N(this.chart,this.keyCodes),this.keyboardNavigation.init(),this.hideTooltipFromATWhenShown(),this.hideSeriesLabelsFromATWhenShown()}hideTooltipFromATWhenShown(){let f=this;this.chart.tooltip&&this.addEvent(this.chart.tooltip.constructor,"refresh",function(){this.chart===f.chart&&this.label&&this.label.element&&this.label.element.setAttribute("aria-hidden",!0)})}hideSeriesLabelsFromATWhenShown(){this.addEvent(this.chart,"afterDrawSeriesLabels",function(){this.series.forEach(function(f){f.labelBySeries&&f.labelBySeries.attr("aria-hidden",!0)})})}onChartRender(){this.chart.series.forEach(function(f){(f.options.accessibility&&f.options.accessibility.enabled)!==!1&&f.visible&&f.getPointsCollection().length!==0?k(f):B(f)})}
1getKeyboardNavigation(){return this.keyboardNavigation.getKeyboardNavigationHandler()}destroy(){this.newDataAnnouncer.destroy(),this.keyboardNavigation.destroy()}}}),V(u,"Accessibility/Components/ZoomComponent.js",[u["Accessibility/AccessibilityComponent.js"],u["Accessibility/Utils/ChartUtilities.js"],u["Accessibility/Utils/HTMLUtilities.js"],u["Accessibility/KeyboardNavigationHandler.js"],u["Core/Utilities.js"]],function(F,U,L,P,O){let{unhideChartElementFromAT:N}=U,{getFakeMouseEvent:B}=L,{attr:k,pick:f}=O;return class extends F{constructor(){super(...arguments),this.focusedMapNavButtonIx=-1}init(){let p=this,d=this.chart;this.proxyProvider.addGroup("zoom","div"),["afterShowResetZoom","afterApplyDrilldown","drillupall"].forEach(r=>{p.addEvent(d,r,function(){p.updateProxyOverlays()})})}onChartUpdate(){let p=this.chart,d=this;p.mapNavigation&&p.mapNavigation.navButtons.forEach((r,e)=>{N(p,r.element),d.setMapNavButtonAttrs(r.element,"accessibility.zoom.mapZoom"+(e?"Out":"In"))})}setMapNavButtonAttrs(p,d){let r=this.chart;k(p,{tabindex:-1,role:"button","aria-label":r.langFormat(d,{chart:r})})}onChartRender(){this.updateProxyOverlays()}updateProxyOverlays(){let p=this.chart;if(this.proxyProvider.clearGroup("zoom"),p.resetZoomButton&&this.createZoomProxyButton(p.resetZoomButton,"resetZoomProxyButton",p.langFormat("accessibility.zoom.resetZoomButton",{chart:p})),p.drillUpButton&&p.breadcrumbs&&p.breadcrumbs.list){let d=p.breadcrumbs.list[p.breadcrumbs.list.length-1];this.createZoomProxyButton(p.drillUpButton,"drillUpProxyButton",p.langFormat("accessibility.drillUpButton",{chart:p,buttonText:p.breadcrumbs.getButtonText(d)}))}}createZoomProxyButton(p,d,r){this[d]=this.proxyProvider.addProxyElement("zoom",{click:p},"button",{"aria-label":r,tabindex:-1})}getMapZoomNavigation(){let p=this.keyCodes,d=this.chart,r=this;return new P(d,{keyCodeMap:[[[p.up,p.down,p.left,p.right],function(e){return r.onMapKbdArrow(this,e)}],[[p.tab],function(e,a){return r.onMapKbdTab(this,a)}],[[p.space,p.enter],function(){return r.onMapKbdClick(this)}]],validate:function(){return!!(d.mapView&&d.mapNavigation&&d.mapNavigation.navButtons.length)},init:function(e){return r.onMapNavInit(e)}})}onMapKbdArrow(p,d){let r=this.chart,e=this.keyCodes,a=r.container,i=d===e.up||d===e.down,n=d===e.left||d===e.up?1:-1,o=(i?r.plotHeight:r.plotWidth)/10*n,t=10*Math.random(),l={x:a.offsetLeft+r.plotLeft+r.plotWidth/2+t,y:a.offsetTop+r.plotTop+r.plotHeight/2+t},c=i?{x:l.x,y:l.y+o}:{x:l.x+o,y:l.y};return[B("mousedown",l),B("mousemove",c),B("mouseup",c)].forEach(A=>a.dispatchEvent(A)),p.response.success}onMapKbdTab(p,d){let r=this.chart,e=p.response,a=d.shiftKey,i=a&&!this.focusedMapNavButtonIx||!a&&this.focusedMapNavButtonIx;if(r.mapNavigation.navButtons[this.focusedMapNavButtonIx].setState(0),i)return r.mapView&&r.mapView.zoomBy(),e[a?"prev":"next"];this.focusedMapNavButtonIx+=a?-1:1;let n=r.mapNavigation.navButtons[this.focusedMapNavButtonIx];return r.setFocusToElement(n.box,n.element),n.setState(2),e.success}onMapKbdClick(p){let d=this.chart.mapNavigation.navButtons[this.focusedMapNavButtonIx].element;return this.fakeClickEvent(d),p.response.success}onMapNavInit(p){let d=this.chart,r=d.mapNavigation.navButtons[0],e=d.mapNavigation.navButtons[1],a=p>0?r:e;d.setFocusToElement(a.box,a.element),a.setState(2),this.focusedMapNavButtonIx=p>0?0:1}simpleButtonNavigation(p,d,r){let e=this.keyCodes,a=this,i=this.chart;return new P(i,{keyCodeMap:[[[e.tab,e.up,e.down,e.left,e.right],function(n,o){let t=n===e.tab&&o.shiftKey||n===e.left||n===e.up;return this.response[t?"prev":"next"]}],[[e.space,e.enter],function(){return f(r(this,i),this.response.success)}]],validate:function(){return i[p]&&i[p].box&&a[d].innerElement},init:function(){i.setFocusToElement(i[p].box,a[d].innerElement)}})}getKeyboardNavigation(){return[this.simpleButtonNavigation("resetZoomButton","resetZoomProxyButton",function(p,d){d.zoomOut()}),this.simpleButtonNavigation("drillUpButton","drillUpProxyButton",function(p,d){return d.drillUp(),p.response.prev}),this.getMapZoomNavigation()]}}}),V(u,"Accessibility/HighContrastMode.js",[u["Core/Globals.js"]],function(F){let{doc:U,isMS:L,win:P}=F;return{isHighContrastModeActive:function(){let O=/(Edg)/.test(P.navigator.userAgent);if(P.matchMedia&&O)return P.matchMedia("(-ms-high-contrast: active)").matches;if(L&&P.getComputedStyle){let N=U.createElement("div");N.style.backgroundImage="url(data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==)",U.body.appendChild(N);let B=(N.currentStyle||P.getComputedStyle(N)).backgroundImage;return U.body.removeChild(N),B==="none"}return P.matchMedia&&P.matchMedia("(forced-colors: active)").matches},setHighContrastTheme:function(O){var k;O.highContrastModeActive=!0;let N=O.options.accessibility.highContrastTheme;O.update(N,!1);
1let B=((k=N.colors)==null?void 0:k.length)>1;O.series.forEach(function(f){let p=N.plotOptions[f.type]||{},d=B&&f.colorIndex!==void 0?N.colors[f.colorIndex]:p.color||"window",r={color:p.color||"windowText",colors:B?N.colors:[p.color||"windowText"],borderColor:p.borderColor||"window",fillColor:d};f.update(r,!1),f.points&&f.points.forEach(function(e){e.options&&e.options.color&&e.update({color:p.color||"windowText",borderColor:p.borderColor||"window"},!1)})}),O.redraw()}}}),V(u,"Accessibility/HighContrastTheme.js",[],function(){return{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"}}}),V(u,"Accessibility/Options/A11yDefaults.js",[],function(){return{accessibility:{enabled:!0,screenReaderSection:{beforeChartFormat:"<{headingTagName}>{chartTitle}</{headingTagName}><div>{typeDescription}</div><div>{chartSubtitle}</div><div>{chartLongdesc}</div><div>{playAsSoundButton}</div><div>{viewTableButton}</div><div>{xAxisDescription}</div><div>{yAxisDescription}</div><div>{annotationsTitle}{annotationsList}</div>",afterChartFormat:"{endOfChartMarker}",axisRangeDateFormat:"%Y-%m-%d %H:%M:%S"},series:{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:"#334eff",lineWidth:2,borderRadius:3},margin:2},order:["series","zoom","rangeSelector","navigator","legend","chartMenu"],wrapAround:!0,seriesNavigation:{skipNullPoints:!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}}}}),V(u,"Accessibility/Options/LangDefaults.js",[],function(){return{accessibility:{defaultChartTitle:"Chart",chartContainerLabel:"{title}. Highcharts interactive chart.",svgContainerLabel:"Interactive chart",drillUpButton:"{buttonText}",credits:"Chart credits: {creditsStr}",thousandsSep:",",svgContainerTitle:"",graphicContainerLabel:"",screenReaderSection:{beforeRegionLabel:"",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}"}
1,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}"},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."},exporting:{chartMenuLabel:"Chart menu",menuButtonLabel:"View chart 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}
1.",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}"}}}}),V(u,"Accessibility/Options/DeprecatedOptions.js",[u["Core/Utilities.js"]],function(F){let{error:U,pick:L}=F;function P(N,B,k){let f=N,p,d=0;for(;d<B.length-1;++d)f=f[p=B[d]]=L(f[p],{});f[B[B.length-1]]=k}function O(N,B,k,f){function p(e,a){return a.reduce(function(i,n){return i[n]},e)}let d=p(N.options,B),r=p(N.options,k);Object.keys(f).forEach(function(e){let a=d[e];a!==void 0&&(P(r,f[e],a),U(32,!1,N,{[B.join(".")+"."+e]:k.join(".")+"."+f[e].join(".")}))})}return function(N){(function(B){let k=B.options.chart,f=B.options.accessibility||{};["description","typeDescription"].forEach(function(p){k[p]&&(f[p]=k[p],U(32,!1,B,{[`chart.${p}`]:`use accessibility.${p}`}))})}
1)(N),function(B){B.axes.forEach(function(k){let f=k.options;f&&f.description&&(f.accessibility=f.accessibility||{},f.accessibility.description=f.description,U(32,!1,B,{"axis.description":"use axis.accessibility.description"}))})}(N),N.series&&function(B){let k={description:["accessibility","description"],exposeElementToA11y:["accessibility","exposeAsGroupOnly"],pointDescriptionFormatter:["accessibility","point","descriptionFormatter"],skipKeyboardNavigation:["accessibility","keyboardNavigation","enabled"],"accessibility.pointDescriptionFormatter":["accessibility","point","descriptionFormatter"]};B.series.forEach(function(f){Object.keys(k).forEach(function(p){let d=f.options[p];p==="accessibility.pointDescriptionFormatter"&&(d=f.options.accessibility&&f.options.accessibility.pointDescriptionFormatter),d!==void 0&&(P(f.options,k[p],p==="skipKeyboardNavigation"?!d:d),U(32,!1,B,{[`series.${p}`]:"series."+k[p].join(".")}))})})}(N),O(N,["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"]}),O(N,["accessibility","keyboardNavigation"],["accessibility","keyboardNavigation","seriesNavigation"],{skipNullPoints:["skipNullPoints"],mode:["mode"]}),O(N,["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"]})}}),V(u,"Accessibility/Accessibility.js",[u["Core/Defaults.js"],u["Core/Globals.js"],u["Core/Utilities.js"],u["Accessibility/Utils/HTMLUtilities.js"],u["Accessibility/A11yI18n.js"],u["Accessibility/Components/ContainerComponent.js"],u["Accessibility/FocusBorder.js"],u["Accessibility/Components/InfoRegionsComponent.js"],u["Accessibility/KeyboardNavigation.js"],u["Accessibility/Components/LegendComponent.js"],u["Accessibility/Components/MenuComponent.js"],u["Accessibility/Components/NavigatorComponent.js"],u["Accessibility/Components/SeriesComponent/NewDataAnnouncer.js"],u["Accessibility/ProxyProvider.js"],u["Accessibility/Components/RangeSelectorComponent.js"],u["Accessibility/Components/SeriesComponent/SeriesComponent.js"],u["Accessibility/Components/ZoomComponent.js"],u["Accessibility/HighContrastMode.js"],u["Accessibility/HighContrastTheme.js"],u["Accessibility/Options/A11yDefaults.js"],u["Accessibility/Options/LangDefaults.js"],u["Accessibility/Options/DeprecatedOptions.js"]],function(F,U,L,P,O,N,B,k,f,p,d,r,e,a,i,n,o,t,l,c,A,j){let{defaultOptions:T}=F,{doc:b}=U,{addEvent:g,extend:E,fireEvent:y,merge:x}=L,{removeElement:v}=P;class w{constructor(h){this.init(h)}init(h){if(this.chart=h,!b.addEventListener){this.zombie=!0,this.components={},h.renderTo.setAttribute("aria-hidden",!0);return}j(h),this.proxyProvider=new a(this.chart),this.initComponents(),this.keyboardNavigation=new f(h,this.components)}initComponents(){let h=this.chart,m=this.proxyProvider,C=h.options.accessibility;this.components={container:new N,infoRegions:new k,legend:new p,chartMenu:new d,rangeSelector:new i,series:new n,zoom:new o,navigator:new r},C.customComponents&&E(this.components,C.customComponents);let S=this.components;
1this.getComponentOrder().forEach(function(D){S[D].initBase(h,m),S[D].init()})}getComponentOrder(){return this.components?this.components.series?["series"].concat(Object.keys(this.components).filter(h=>h!=="series")):Object.keys(this.components):[]}update(){let h=this.components,m=this.chart,C=m.options.accessibility;y(m,"beforeA11yUpdate"),m.types=this.getChartTypes();let S=C.keyboardNavigation.order;this.proxyProvider.updateGroupOrder(S),this.getComponentOrder().forEach(function(D){h[D].onChartUpdate(),y(m,"afterA11yComponentUpdate",{name:D,component:h[D]})}),this.keyboardNavigation.update(S),!m.highContrastModeActive&&C.highContrastMode!==!1&&(t.isHighContrastModeActive()||C.highContrastMode===!0)&&t.setHighContrastTheme(m),y(m,"afterA11yUpdate",{accessibility:this})}destroy(){let h=this.chart||{},m=this.components;Object.keys(m).forEach(function(C){m[C].destroy(),m[C].destroyBase()}),this.proxyProvider&&this.proxyProvider.destroy(),h.announcerContainer&&v(h.announcerContainer),this.keyboardNavigation&&this.keyboardNavigation.destroy(),h.renderTo&&h.renderTo.setAttribute("aria-hidden",!0),h.focusElement&&h.focusElement.removeFocusBorder()}getChartTypes(){let h={};return this.chart.series.forEach(function(m){h[m.type]=1}),Object.keys(h)}}return function(s){function h(){this.accessibility&&this.accessibility.destroy()}function m(){this.a11yDirty&&this.renderTo&&(delete this.a11yDirty,this.updateA11yEnabled());let M=this.accessibility;M&&!M.zombie&&(M.proxyProvider.updateProxyElementPositions(),M.getComponentOrder().forEach(function(K){M.components[K].onChartRender()}))}function C(M){let K=M.options.accessibility;K&&(K.customComponents&&(this.options.accessibility.customComponents=K.customComponents,delete K.customComponents),x(!0,this.options.accessibility,K),this.accessibility&&this.accessibility.destroy&&(this.accessibility.destroy(),delete this.accessibility)),this.a11yDirty=!0}function S(){let M=this.accessibility,K=this.options.accessibility,R=this.renderer.boxWrapper.element,I=this.title;if(K&&K.enabled)M&&!M.zombie?M.update():(this.accessibility=M=new s(this),M&&!M.zombie&&M.update(),R.getAttribute("role")==="img"&&R.removeAttribute("role"));else if(M)M.destroy&&M.destroy(),delete this.accessibility;else{this.renderTo.setAttribute("role","img"),this.renderTo.setAttribute("aria-hidden",!1),this.renderTo.setAttribute("aria-label",(I&&I.element.textContent||"").replace(/</g,"&lt;")),R.setAttribute("aria-hidden",!0);let H=document.getElementsByClassName("highcharts-description")[0];H&&(H.setAttribute("aria-hidden",!1),H.classList.remove("highcharts-linked-description"))}}function D(){this.series.chart.accessibility&&(this.series.chart.a11yDirty=!0)}s.i18nFormat=O.i18nFormat,s.compose=function(M,K,R,I,H,W){f.compose(M),e.compose(I),p.compose(M,K),d.compose(M),n.compose(M,R,I),O.compose(M),B.compose(M,H),W&&i.compose(M,W);let z=M.prototype;z.updateA11yEnabled||(z.updateA11yEnabled=S,g(M,"destroy",h),g(M,"render",m),g(M,"update",C),["addSeries","init"].forEach(G=>{g(M,G,function(){this.a11yDirty=!0})}),["afterApplyDrilldown","drillupall"].forEach(G=>{g(M,G,function(){let q=this.accessibility;q&&!q.zombie&&q.update()})}),g(R,"update",D),["update","updatedData","remove"].forEach(G=>{g(I,G,function(){this.chart.accessibility&&(this.chart.a11yDirty=!0)})}))}}(w),x(!0,T,c,{accessibility:{highContrastTheme:l},lang:A}),w}),V(u,"masters/modules/accessibility.src.js",[u["Core/Globals.js"],u["Accessibility/Accessibility.js"],u["Accessibility/AccessibilityComponent.js"],u["Accessibility/Utils/ChartUtilities.js"],u["Accessibility/Utils/HTMLUtilities.js"],u["Accessibility/KeyboardNavigationHandler.js"],u["Accessibility/Components/SeriesComponent/SeriesDescriber.js"]],function(F,U,L,P,O,N,B){return F.i18nFormat=U.i18nFormat,F.A11yChartUtilities=P,F.A11yHTMLUtilities=O,F.AccessibilityComponent=L,F.KeyboardNavigationHandler=N,F.SeriesAccessibilityDescriber=B,U.compose(F.Chart,F.Legend,F.Point,F.Series,F.SVGElement,F.RangeSelector),F})})}(rt)),rt.exports}var lt=dt();const ut=ht(lt),gt=ct({__proto__:null,default:ut},[lt]);export{gt as a};

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