playbook_ui 14.8.0.pre.rc.5 → 14.8.0.pre.rc.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.ts +1 -1
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_default_date.html.erb +42 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_default_date.jsx +44 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_default_date.md +1 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_date_picker/plugins/quickPick.tsx +17 -1
- data/app/pb_kits/playbook/utilities/_hover.scss +27 -29
- data/app/pb_kits/playbook/utilities/globalProps.ts +2 -2
- data/app/pb_kits/playbook/utilities/test/globalProps/hover.test.js +79 -0
- data/dist/chunks/{_typeahead-DEskmS_o.js → _typeahead-DM5bD2ck.js} +2 -2
- data/dist/chunks/{_weekday_stacked-f4faf8xD.js → _weekday_stacked-RuOgC2uD.js} +1 -1
- data/dist/chunks/{lib-DpxYMiKe.js → lib-GRGYd9YR.js} +1 -1
- data/dist/chunks/{pb_form_validation-LqRlnmi6.js → pb_form_validation-CS6rgdtE.js} +1 -1
- data/dist/chunks/vendor.js +1 -1
- data/dist/playbook-doc.js +1 -1
- data/dist/playbook-rails-react-bindings.js +1 -1
- data/dist/playbook-rails.js +1 -1
- data/dist/playbook.css +1 -1
- data/lib/playbook/hover.rb +1 -1
- data/lib/playbook/version.rb +1 -1
- metadata +9 -5
@@ -1,9 +1,9 @@
|
|
1
|
-
import{jsx as jsx$1,Fragment,jsxs}from"react/jsx-runtime";import*as React from"react";import React__default,{createContext,useReducer,useEffect,useMemo,useContext,createElement,useState,useRef,forwardRef,useLayoutEffect,useCallback,useImperativeHandle,Component,Fragment as Fragment$1}from"react";import{q as getDefaultExportFromCjs,w as filter,x as omit,j as getAllIcons,y as get,n as commonjsGlobal,v as colors$1,s as highchartsTheme,z as merge,r as highchartsDarkTheme,A as useCollapsible,B as getAugmentedNamespace,C as createPopper,E as uniqueId,F as typography,G as cloneDeep,H as isString}from"./lib-
|
1
|
+
import{jsx as jsx$1,Fragment,jsxs}from"react/jsx-runtime";import*as React from"react";import React__default,{createContext,useReducer,useEffect,useMemo,useContext,createElement,useState,useRef,forwardRef,useLayoutEffect,useCallback,useImperativeHandle,Component,Fragment as Fragment$1}from"react";import{q as getDefaultExportFromCjs,w as filter,x as omit,j as getAllIcons,y as get,n as commonjsGlobal,v as colors$1,s as highchartsTheme,z as merge,r as highchartsDarkTheme,A as useCollapsible,B as getAugmentedNamespace,C as createPopper,E as uniqueId,F as typography,G as cloneDeep,H as isString}from"./lib-GRGYd9YR.js";import*as ReactDOM from"react-dom";import ReactDOM__default,{createPortal}from"react-dom";import{TrixEditor}from"react-trix";import Trix from"trix";import require$$0 from"react-is";const initialState={items:[],dragData:{id:"",initialGroup:""},isDragging:"",activeContainer:""};const reducer=(state,action)=>{switch(action.type){case"SET_ITEMS":return Object.assign(Object.assign({},state),{items:action.payload});case"SET_DRAG_DATA":return Object.assign(Object.assign({},state),{dragData:action.payload});case"SET_IS_DRAGGING":return Object.assign(Object.assign({},state),{isDragging:action.payload});case"SET_ACTIVE_CONTAINER":return Object.assign(Object.assign({},state),{activeContainer:action.payload});case"CHANGE_CATEGORY":return Object.assign(Object.assign({},state),{items:state.items.map((item=>item.id===action.payload.itemId?Object.assign(Object.assign({},item),{container:action.payload.container}):item))});case"REORDER_ITEMS":{const{dragId:dragId,targetId:targetId}=action.payload;const newItems=[...state.items];const draggedItem=newItems.find((item=>item.id===dragId));const draggedIndex=newItems.indexOf(draggedItem);const targetIndex=newItems.findIndex((item=>item.id===targetId));newItems.splice(draggedIndex,1);newItems.splice(targetIndex,0,draggedItem);return Object.assign(Object.assign({},state),{items:newItems})}default:return state}};const DragContext=createContext({});const DraggableContext=()=>useContext(DragContext);const DraggableProvider=({children:children,initialItems:initialItems,onReorder:onReorder,onDragStart:onDragStart,onDragEnter:onDragEnter,onDragEnd:onDragEnd,onDrop:onDrop,onDragOver:onDragOver})=>{const[state,dispatch]=useReducer(reducer,initialState);useEffect((()=>{dispatch({type:"SET_ITEMS",payload:initialItems})}),[initialItems]);useEffect((()=>{onReorder(state.items)}),[state.items]);const handleDragStart=(id,container)=>{dispatch({type:"SET_DRAG_DATA",payload:{id:id,initialGroup:container}});dispatch({type:"SET_IS_DRAGGING",payload:id});if(onDragStart)onDragStart(id,container)};const handleDragEnter=(id,container)=>{if(state.dragData.id!==id){dispatch({type:"REORDER_ITEMS",payload:{dragId:state.dragData.id,targetId:id}});dispatch({type:"SET_DRAG_DATA",payload:{id:state.dragData.id,initialGroup:container}})}if(onDragEnter)onDragEnter(id,container)};const handleDragEnd=()=>{dispatch({type:"SET_IS_DRAGGING",payload:""});dispatch({type:"SET_ACTIVE_CONTAINER",payload:""});if(onDragEnd)onDragEnd()};const changeCategory=(itemId,container)=>{dispatch({type:"CHANGE_CATEGORY",payload:{itemId:itemId,container:container}})};const handleDrop=container=>{dispatch({type:"SET_IS_DRAGGING",payload:""});dispatch({type:"SET_ACTIVE_CONTAINER",payload:""});changeCategory(state.dragData.id,container);if(onDrop)onDrop(container)};const handleDragOver=(e2,container)=>{e2.preventDefault();dispatch({type:"SET_ACTIVE_CONTAINER",payload:container});if(onDragOver)onDragOver(e2,container)};const contextValue=useMemo((()=>({items:state.items,dragData:state.dragData,isDragging:state.isDragging,activeContainer:state.activeContainer,handleDragStart:handleDragStart,handleDragEnter:handleDragEnter,handleDragEnd:handleDragEnd,handleDrop:handleDrop,handleDragOver:handleDragOver})),[state]);return jsx$1(DragContext.Provider,Object.assign({value:contextValue},{children:children}),void 0)};var classnames$1={exports:{}};
|
2
2
|
/*!
|
3
3
|
Copyright (c) 2018 Jed Watson.
|
4
4
|
Licensed under the MIT License (MIT), see
|
5
5
|
http://jedwatson.github.io/classnames
|
6
|
-
*/(function(module){(function(){var hasOwn={}.hasOwnProperty;function classNames2(){var classes=[];for(var i=0;i<arguments.length;i++){var arg=arguments[i];if(!arg)continue;var argType=typeof arg;if(argType==="string"||argType==="number"){classes.push(arg)}else if(Array.isArray(arg)){if(arg.length){var inner=classNames2.apply(null,arg);if(inner){classes.push(inner)}}}else if(argType==="object"){if(arg.toString!==Object.prototype.toString&&!arg.toString.toString().includes("[native code]")){classes.push(arg.toString());continue}for(var key in arg){if(hasOwn.call(arg,key)&&arg[key]){classes.push(key)}}}}return classes.join(" ")}if(module.exports){classNames2.default=classNames2;module.exports=classNames2}else{window.classNames=classNames2}})()})(classnames$1);var classnamesExports=classnames$1.exports;const classnames=getDefaultExportFromCjs(classnamesExports);const buildPrefixedProps=(prefix2,data)=>Object.keys(data).reduce(((props,key)=>{props[`${prefix2}-${key}`]=data[key];return props}),{});const noop$1=()=>{};const buildAriaProps=aria=>buildPrefixedProps("aria",aria);const buildDataProps=data=>buildPrefixedProps("data",data);const buildCss=(...rules)=>classnames(rules).replace(/\s/g,"_");const buildHtmlProps=htmlOptions=>{const htmlProps={};Object.keys(htmlOptions).forEach((key=>{htmlProps[key]=htmlOptions[key]}));return htmlProps};const isEmpty$1=value=>!value||value=="";const titleizedWord=word=>word.charAt(0).toUpperCase()+word.slice(1).toLowerCase();const titleize=sentence=>isEmpty$1(sentence)?sentence:sentence.split(" ").map(titleizedWord).join(" ");const notEmpty=value=>!isEmpty$1(value);const joinPresent=(array,separator)=>filter(array,notEmpty).join(separator);const camelToSnakeCase=word=>word.split(/([A-Z])/g).map(((w2,i)=>{const prefix2=i>0?"_":"";return w2===w2.toLowerCase()?w2:prefix2+w2.toLowerCase()})).join("");const BitValues=[0,1];const getResponsivePropClasses=(prop,classPrefix)=>{const keys=Object.keys(prop);return keys.map((size=>{const propValue=typeof prop[size]==="string"?camelToSnakeCase(prop[size]):prop[size];return`${classPrefix}_${size}_${propValue}`})).join(" ")};const getPositioningPropsClasses=(position2,value)=>{let css4="";if(typeof value==="string"){css4+=`${position2}_${value}`}else if(typeof value==="object"&&value.inset){css4+=`${position2}_${value.value}_inset`}else if(typeof value==="object"){css4+=`${position2}_${value.value}`}return css4};const filterClassName=value=>{if(value.includes("%")){return value.replace("%","_percent")}else{return value}};const PROP_CATEGORIES={groupHoverProps:({groupHover:groupHover})=>groupHover?"group_hover ":"",hoverProps:({hover:hover})=>{let css4="";if(!hover)return css4;css4+=hover.shadow?`hover_shadow_${hover.shadow} `:"";css4+=hover.background?`hover_background_${hover.background} `:"";css4+=hover.scale?`hover_scale_${hover.scale} `:"";css4+=hover.color?`hover_color_${hover.color} `:"";return css4},spacingProps:({marginRight:marginRight,marginLeft:marginLeft,marginTop:marginTop,marginBottom:marginBottom,marginX:marginX,marginY:marginY,margin:margin,paddingRight:paddingRight,paddingLeft:paddingLeft,paddingTop:paddingTop,paddingBottom:paddingBottom,paddingX:paddingX,paddingY:paddingY,padding:padding})=>{let css4="";const spacingProps={marginRight:marginRight,marginLeft:marginLeft,marginTop:marginTop,marginBottom:marginBottom,marginX:marginX,marginY:marginY,margin:margin,paddingRight:paddingRight,paddingLeft:paddingLeft,paddingTop:paddingTop,paddingBottom:paddingBottom,paddingX:paddingX,paddingY:paddingY,padding:padding};const screenSizeValues=["xs","sm","md","lg","xl"];function handleObjectValue(properties,prefix2){let classResult="";const breakValue=properties.break||"on";const defaultValue=properties.default||null;Object.entries(properties).forEach((([key,value])=>{if(screenSizeValues.includes(key)){classResult+=`break_${breakValue}_${key}:${prefix2}_${value} `}}));if(defaultValue){classResult+=`${prefix2}_${defaultValue} `}return classResult}function getPrefix(key){const prefixes={marginRight:"mr",marginLeft:"ml",marginTop:"mt",marginBottom:"mb",marginX:"mx",marginY:"my",margin:"m",paddingRight:"pr",paddingLeft:"pl",paddingTop:"pt",paddingBottom:"pb",paddingX:"px",paddingY:"py",padding:"p"};return prefixes[key]}Object.entries(spacingProps).forEach((([key,value])=>{if(value){if(typeof value==="object"){css4+=handleObjectValue(value,getPrefix(key))}else{const prefix2=getPrefix(key);css4+=`${prefix2}_${value} `}}}));return css4.trim()},borderRadiusProps:({borderRadius:borderRadius2})=>{let css4="";css4+=borderRadius2?`border_radius_${borderRadius2} `:"";return css4},overflowProps:({overflow:overflow,overflowX:overflowX,overflowY:overflowY})=>{let css4="";css4+=overflow?`overflow_${overflow}`:"";css4+=overflowX?`overflow_x_${overflowX}`:"";css4+=overflowY?`overflow_y_${overflowY}`:"";return css4},truncateProps:({truncate:truncate})=>{if(typeof truncate==="object"){return""}else{return truncate?`truncate_${truncate}`:""}},darkProps:({dark:dark})=>dark?"dark":"",numberSpacingProps:({numberSpacing:numberSpacing})=>{let css4="";css4+=numberSpacing?`ns_${numberSpacing} `:"";return css4},minWidthProps:({minWidth:minWidth})=>{let css4="";css4+=minWidth?`min_width_${filterClassName(minWidth)} `:"";return css4.trimEnd()},maxWidthProps:({maxWidth:maxWidth})=>{let css4="";css4+=maxWidth?`max_width_${filterClassName(maxWidth)} `:"";return css4.trimEnd()},zIndexProps:zIndex=>{let css4="";Object.entries(zIndex).forEach((zIndexEntry=>{if(zIndexEntry[0]=="zIndex"){if(typeof zIndexEntry[1]=="number"){css4+=`z_index_${zIndexEntry[1]} `}else if(typeof zIndexEntry[1]=="object"){Object.entries(zIndexEntry[1]).forEach((zIndexObj=>{css4+=`z_index_${zIndexObj[0]}_${zIndexObj[1]} `}))}}}));return css4},shadowProps:({shadow:shadow})=>{let css4="";css4+=shadow?`shadow_${shadow} `:"";return css4},lineHeightProps:({lineHeight:lineHeight})=>{let css4="";css4+=lineHeight?`line_height_${lineHeight} `:"";return css4},displayProps:display=>{let css4="";Object.entries(display).forEach((displayEntry=>{if(displayEntry[0]=="display"){if(typeof displayEntry[1]=="string"){css4+=`display_${displayEntry[1]} `}else if(typeof displayEntry[1]=="object"){Object.entries(displayEntry[1]).forEach((displayObj=>{css4+=`display_${displayObj[0]}_${displayObj[1]} `}))}else;}}));return css4},cursorProps:({cursor:cursor2})=>{let css4="";css4+=cursor2?`cursor_${camelToSnakeCase(cursor2)}`:"";return css4},alignContentProps:({alignContent:alignContent})=>{if(typeof alignContent==="object"){return getResponsivePropClasses(alignContent,"align_content")}return alignContent?`align_content_${camelToSnakeCase(alignContent)}`:""},alignItemsProps:({alignItems:alignItems})=>{if(typeof alignItems==="object"){return getResponsivePropClasses(alignItems,"align_items")}else{return alignItems?`align_items_${camelToSnakeCase(alignItems)}`:""}},alignSelfProps:({alignSelf:alignSelf})=>{if(typeof alignSelf==="object"){return getResponsivePropClasses(alignSelf,"align_self")}else{return alignSelf?`align_self_${alignSelf}`:""}},flexDirectionProps:({flexDirection:flexDirection})=>{if(typeof flexDirection=="object"){return getResponsivePropClasses(flexDirection,"flex_direction")}else{return flexDirection?`flex_direction_${camelToSnakeCase(flexDirection)}`:""}},flexWrapProps:({flexWrap:flexWrap})=>{if(typeof flexWrap=="object"){return getResponsivePropClasses(flexWrap,"flex_wrap")}else{return flexWrap?`flex_wrap_${camelToSnakeCase(flexWrap)}`:""}},flexProps:({flex:flex})=>{if(typeof flex==="object"){return getResponsivePropClasses(flex,"flex")}else{return flex?`flex_${flex}`:""}},flexGrowProps:({flexGrow:flexGrow})=>{if(typeof flexGrow=="object"){return getResponsivePropClasses(flexGrow,"flex_grow")}else if(BitValues.includes(flexGrow)){return`flex_grow_${flexGrow}`}else{return""}},flexShrinkProps:({flexShrink:flexShrink})=>{if(typeof flexShrink=="object"){return getResponsivePropClasses(flexShrink,"flex_shrink")}else if(BitValues.includes(flexShrink)){return`flex_shrink_${flexShrink}`}else{return""}},justifyContentProps:({justifyContent:justifyContent})=>{if(typeof justifyContent==="object"){return getResponsivePropClasses(justifyContent,"justify_content")}else{return justifyContent?`justify_content_${camelToSnakeCase(justifyContent)}`:""}},justifySelfProps:({justifySelf:justifySelf})=>{if(typeof justifySelf==="object"){return getResponsivePropClasses(justifySelf,"justify_self")}else{return justifySelf?`justify_self_${justifySelf}`:""}},orderProps:({order:order})=>{if(typeof order==="object"){return getResponsivePropClasses(order,"flex_order")}else{return order?`flex_order_${order}`:""}},positionProps:({position:position2})=>{let css4="";css4+=position2&&position2!=="static"?`position_${position2}`:"";return css4},topProps:({top:top})=>getPositioningPropsClasses("top",top),rightProps:({right:right})=>getPositioningPropsClasses("right",right),bottomProps:({bottom:bottom})=>getPositioningPropsClasses("bottom",bottom),leftProps:({left:left})=>getPositioningPropsClasses("left",left),textAlignProps:({textAlign:textAlign})=>{if(typeof textAlign==="object"){return getResponsivePropClasses(textAlign,"text_align")}else{return textAlign?`text_align_${textAlign} `:""}},verticalAlignProps:({verticalAlign:verticalAlign})=>{if(typeof verticalAlign==="object"){return getResponsivePropClasses(verticalAlign,"vertical_align")}else{return verticalAlign?`vertical_align_${verticalAlign} `:""}}};const PROP_INLINE_CATEGORIES={heightProps:({height:height})=>height?{height:height}:{},maxHeightProps:({maxHeight:maxHeight})=>maxHeight?{maxHeight:maxHeight}:{},minHeightProps:({minHeight:minHeight})=>minHeight?{minHeight:minHeight}:{}};const globalProps=(props,defaultProps2={})=>{const allProps=Object.assign(Object.assign({},props),defaultProps2);return Object.keys(PROP_CATEGORIES).map((key=>PROP_CATEGORIES[key](allProps))).filter((value=>(value===null||value===void 0?void 0:value.length)>0)).join(" ")};const globalInlineProps=props=>{const styles=Object.keys(PROP_INLINE_CATEGORIES).reduce(((acc,key)=>{const result=PROP_INLINE_CATEGORIES[key](props);return Object.assign(Object.assign({},acc),typeof result==="object"?result:{})}),{});return styles};const domSafeProps=props=>{const notSafeProps=["marginRight","marginLeft","marginTop","marginBottom","marginX","marginY","margin","paddingRight","paddingLeft","paddingTop","paddingBottom","paddingX","paddingY","padding","dark","enableDrag"];return omit(props,notSafeProps)};const Flex=props=>{const{align:align="none",children:children,className:className,data:data={},inline:inline=false,horizontal:horizontal="left",htmlOptions:htmlOptions={},justify:justify="none",orientation:orientation="row",spacing:spacing2="none",gap:gap="none",rowGap:rowGap="none",columnGap:columnGap="none",reverse:reverse=false,vertical:vertical="top",wrap:wrap=false,alignSelf:alignSelf="none"}=props;const orientationClass=orientation!==void 0?`orientation_${orientation}`:"";const justifyClass=justify!=="none"?`justify_content_${justify}`:`justify_content_${horizontal}`;const alignClass=align!=="none"?`align_items_${align}`:`align_items_${vertical}`;const inlineClass=inline===true?"inline":"";const spacingClass=spacing2!==void 0?`spacing_${spacing2}`:"";const gapClass=gap!=="none"?`gap_${gap}`:"";const rowGapClass=rowGap!=="none"?`rowGap_${rowGap}`:"";const columnGapClass=columnGap!=="none"?`columnGap_${columnGap}`:"";const wrapClass=wrap===true?"wrap":"";const reverseClass=reverse===true?"reverse":"";const alignSelfClass=alignSelf!=="none"?`align_self_${alignSelf}`:"";const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const dynamicInlineProps=globalInlineProps(props);return jsx$1("div",Object.assign({className:classnames(buildCss("pb_flex_kit",orientationClass,justifyClass,alignClass,inlineClass,reverseClass,wrapClass,spacingClass,gapClass,rowGapClass,columnGapClass,alignSelfClass),globalProps(props),className),style:dynamicInlineProps},dataProps,htmlProps,{children:children}),void 0)};const FlexItem=props=>{const{children:children,className:className,fixedSize:fixedSize,grow:grow,htmlOptions:htmlOptions={},shrink:shrink,flex:flex="none",order:order="none",alignSelf:alignSelf,displayFlex:displayFlex}=props;const growClass=grow===true?"grow":"";const displayFlexClass=displayFlex===true?`display_flex_${displayFlex}`:"";const flexClass=flex!=="none"?`flex_${flex}`:"";const shrinkClass=shrink===true?"shrink":"";const alignSelfClass=alignSelf?`align_self_${alignSelf}`:"";const fixedStyle=fixedSize!==void 0?{flexBasis:`${fixedSize}`}:null;const orderClass=order!=="none"?`order_${order}`:null;const dynamicInlineProps=globalInlineProps(props);const combinedStyles=Object.assign(Object.assign({},fixedStyle),dynamicInlineProps);const htmlProps=buildHtmlProps(htmlOptions);return jsx$1("div",Object.assign({},htmlProps,{className:classnames(buildCss("pb_flex_item_kit",growClass,shrinkClass,flexClass,displayFlexClass),orderClass,alignSelfClass,globalProps(props),className),style:combinedStyles},{children:children}),void 0)};const isValidEmoji=emoji=>{const emojiRegex=new RegExp("^(\\p{Emoji}|\\uFE0F|\\u200D|\\u20E3)+$","u");return emojiRegex.test(emoji)};const flipMap={fa:{horizontal:"fa-flip-horizontal",vertical:"fa-flip-vertical",both:"fa-flip-horizontal fa-flip-vertical",none:""},svg:{horizontal:"flip_horizontal",vertical:"flip_vertical",both:"flip_horizontal flip_vertical",none:""}};const pulseMap={fa:"fa-pulse",svg:"pulse"};const spinMap={fa:"fa-spin",svg:"spin"};const rotateMap={fa:{90:"fa-rotate-90",180:"fa-rotate-180",270:"fa-rotate-270"},svg:{90:"rotate_90",180:"rotate_180",270:"rotate_270"}};const sizeMap={fa:{lg:"fa-lg",xs:"fa-xs",sm:"fa-sm","1x":"fa-1x","2x":"fa-2x","3x":"fa-3x","4x":"fa-4x","5x":"fa-5x","6x":"fa-6x","7x":"fa-7x","8x":"fa-8x","9x":"fa-9x","10x":"fa-10x","":""},svg:{lg:"svg_lg",xs:"svg_xs",sm:"svg_sm","1x":"svg_1x","2x":"svg_2x","3x":"svg_3x","4x":"svg_4x","5x":"svg_5x","6x":"svg_6x","7x":"svg_7x","8x":"svg_8x","9x":"svg_9x","10x":"svg_10x","":""}};const Icon=props=>{const{aria:aria={},border:border=false,className:className,color:color,customIcon:customIcon,data:data={},fixedWidth:fixedWidth=true,flip:flip="none",htmlOptions:htmlOptions={},icon:icon="",id:id,inverse:inverse=false,listItem:listItem=false,pull:pull,pulse:pulse=false,rotation:rotation,size:size,fontStyle:fontStyle="far",spin:spin=false,tabIndex:tabIndex}=props;let iconElement=typeof icon==="object"?icon:null;if(!customIcon&&!iconElement){const PowerIcon=window.PB_ICONS?window.PB_ICONS[icon]:null;if(PowerIcon){iconElement=jsx$1(PowerIcon,{},void 0)}}const isFA=!iconElement&&!customIcon;let classes=classnames(!iconElement&&!customIcon?"pb_icon_kit":"",iconElement||customIcon?"pb_custom_icon":fontStyle,iconElement?"svg-inline--fa":"",color?`color_${color}`:"",globalProps(props),className);const transformClasses=classnames(flip?flipMap[isFA?"fa":"svg"][flip]:null,pulse?pulseMap[isFA?"fa":"svg"]:null,rotation?rotateMap[isFA?"fa":"svg"][rotation]:null,spin?spinMap[isFA?"fa":"svg"]:null,size?sizeMap[isFA?"fa":"svg"][size]:null,border?isFA?"fa-border":"svg_border":null,fixedWidth?isFA?"fa-fw":"svg_fw":null,inverse?isFA?"fa-inverse":"svg_inverse":null,listItem?isFA?"fa-li":"svg_li":null,pull?isFA?`fa-pull-${pull}`:`pull_${pull}`:null);classes+=` ${transformClasses}`;if(isFA){const faClassList={"fa-border":border,"fa-inverse":inverse,"fa-li":listItem,[`fa-${size}`]:size,[`fa-pull-${pull}`]:pull};faClassList[`fa-${icon}`]=icon;classes+=` ${classnames(faClassList)}`}const classesEmoji=classnames("pb_icon_kit_emoji",globalProps(props),className);aria.label?null:aria.label=`${icon} icon`;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const displaySVG=customIcon2=>{if(iconElement||customIcon2)return jsx$1(Fragment,{children:React__default.cloneElement(iconElement||customIcon2,Object.assign(Object.assign(Object.assign(Object.assign({},dataProps),htmlProps),{className:classes,id:id,width:"auto",height:"auto"}),props.tabIndex!==void 0&&{tabIndex:tabIndex}))},void 0);else if(isValidEmoji(icon))return jsx$1(Fragment,{children:jsx$1("span",Object.assign({},dataProps,htmlProps,{className:classesEmoji,id:id},{children:icon}),void 0)},void 0);else return jsxs(Fragment,{children:[jsx$1("i",Object.assign({},dataProps,htmlProps,{className:classes,id:id}),void 0),jsx$1("span",Object.assign({},ariaProps,{hidden:true}),void 0)]},void 0)};return jsx$1(Fragment,{children:displaySVG(customIcon)},void 0)};var main={exports:{}};(function(module){module.exports=function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module2=installedModules[moduleId]={exports:{},id:moduleId,loaded:false};modules[moduleId].call(module2.exports,module2,module2.exports,__webpack_require__);module2.loaded=true;return module2.exports}__webpack_require__.m=modules;__webpack_require__.c=installedModules;__webpack_require__.p="";return __webpack_require__(0)}([function(module2,exports,__webpack_require__){module2.exports=__webpack_require__(1)},function(module2,exports,__webpack_require__){Object.defineProperty(exports,"__esModule",{value:true});function _interopRequireDefault2(obj){return obj&&obj.__esModule?obj:{default:obj}}var _Highlighter=__webpack_require__(2);var _Highlighter2=_interopRequireDefault2(_Highlighter);exports["default"]=_Highlighter2["default"];module2.exports=exports["default"]},function(module2,exports,__webpack_require__){Object.defineProperty(exports,"__esModule",{value:true});var _extends2=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key]}}}return target};exports["default"]=Highlighter2;function _interopRequireDefault2(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties2(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var _highlightWordsCore=__webpack_require__(3);var _propTypes3=__webpack_require__(4);var _propTypes22=_interopRequireDefault2(_propTypes3);var _react3=__webpack_require__(14);var _memoizeOne=__webpack_require__(15);var _memoizeOne2=_interopRequireDefault2(_memoizeOne);Highlighter2.propTypes={activeClassName:_propTypes22["default"].string,activeIndex:_propTypes22["default"].number,activeStyle:_propTypes22["default"].object,autoEscape:_propTypes22["default"].bool,className:_propTypes22["default"].string,findChunks:_propTypes22["default"].func,highlightClassName:_propTypes22["default"].oneOfType([_propTypes22["default"].object,_propTypes22["default"].string]),highlightStyle:_propTypes22["default"].object,highlightTag:_propTypes22["default"].oneOfType([_propTypes22["default"].node,_propTypes22["default"].func,_propTypes22["default"].string]),sanitize:_propTypes22["default"].func,searchWords:_propTypes22["default"].arrayOf(_propTypes22["default"].oneOfType([_propTypes22["default"].string,_propTypes22["default"].instanceOf(RegExp)])).isRequired,textToHighlight:_propTypes22["default"].string.isRequired,unhighlightTag:_propTypes22["default"].oneOfType([_propTypes22["default"].node,_propTypes22["default"].func,_propTypes22["default"].string]),unhighlightClassName:_propTypes22["default"].string,unhighlightStyle:_propTypes22["default"].object};function Highlighter2(_ref3){var _ref$activeClassName=_ref3.activeClassName;var activeClassName=_ref$activeClassName===void 0?"":_ref$activeClassName;var _ref$activeIndex=_ref3.activeIndex;var activeIndex=_ref$activeIndex===void 0?-1:_ref$activeIndex;var activeStyle=_ref3.activeStyle;var autoEscape=_ref3.autoEscape;var _ref$caseSensitive=_ref3.caseSensitive;var caseSensitive=_ref$caseSensitive===void 0?false:_ref$caseSensitive;var className=_ref3.className;var findChunks=_ref3.findChunks;var _ref$highlightClassName=_ref3.highlightClassName;var highlightClassName=_ref$highlightClassName===void 0?"":_ref$highlightClassName;var _ref$highlightStyle=_ref3.highlightStyle;var highlightStyle=_ref$highlightStyle===void 0?{}:_ref$highlightStyle;var _ref$highlightTag=_ref3.highlightTag;var highlightTag=_ref$highlightTag===void 0?"mark":_ref$highlightTag;var sanitize=_ref3.sanitize;var searchWords=_ref3.searchWords;var textToHighlight=_ref3.textToHighlight;var _ref$unhighlightTag=_ref3.unhighlightTag;var unhighlightTag=_ref$unhighlightTag===void 0?"span":_ref$unhighlightTag;var _ref$unhighlightClassName=_ref3.unhighlightClassName;var unhighlightClassName=_ref$unhighlightClassName===void 0?"":_ref$unhighlightClassName;var unhighlightStyle=_ref3.unhighlightStyle;var rest=_objectWithoutProperties2(_ref3,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightTag","unhighlightClassName","unhighlightStyle"]);var chunks=(0,_highlightWordsCore.findAll)({autoEscape:autoEscape,caseSensitive:caseSensitive,findChunks:findChunks,sanitize:sanitize,searchWords:searchWords,textToHighlight:textToHighlight});var HighlightTag=highlightTag;var highlightIndex=-1;var highlightClassNames="";var highlightStyles=void 0;var lowercaseProps=function lowercaseProps2(object){var mapped={};for(var key in object){mapped[key.toLowerCase()]=object[key]}return mapped};var memoizedLowercaseProps=(0,_memoizeOne2["default"])(lowercaseProps);return(0,_react3.createElement)("span",_extends2({className:className},rest,{children:chunks.map((function(chunk,index2){var text=textToHighlight.substr(chunk.start,chunk.end-chunk.start);if(chunk.highlight){highlightIndex++;var highlightClass=void 0;if(typeof highlightClassName==="object"){if(!caseSensitive){highlightClassName=memoizedLowercaseProps(highlightClassName);highlightClass=highlightClassName[text.toLowerCase()]}else{highlightClass=highlightClassName[text]}}else{highlightClass=highlightClassName}var isActive=highlightIndex===+activeIndex;highlightClassNames=highlightClass+" "+(isActive?activeClassName:"");highlightStyles=isActive===true&&activeStyle!=null?Object.assign({},highlightStyle,activeStyle):highlightStyle;var props={children:text,className:highlightClassNames,key:index2,style:highlightStyles};if(typeof HighlightTag!=="string"){props.highlightIndex=highlightIndex}return(0,_react3.createElement)(HighlightTag,props)}else{return(0,_react3.createElement)(unhighlightTag,{children:text,className:unhighlightClassName,key:index2,style:unhighlightStyle})}}))}))}module2.exports=exports["default"]},function(module2,exports){module2.exports=function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module3=installedModules[moduleId]={exports:{},id:moduleId,loaded:false};modules[moduleId].call(module3.exports,module3,module3.exports,__webpack_require__);module3.loaded=true;return module3.exports}__webpack_require__.m=modules;__webpack_require__.c=installedModules;__webpack_require__.p="";return __webpack_require__(0)}([function(module3,exports2,__webpack_require__){module3.exports=__webpack_require__(1)},function(module3,exports2,__webpack_require__){Object.defineProperty(exports2,"__esModule",{value:true});var _utils=__webpack_require__(2);Object.defineProperty(exports2,"combineChunks",{enumerable:true,get:function get2(){return _utils.combineChunks}});Object.defineProperty(exports2,"fillInChunks",{enumerable:true,get:function get2(){return _utils.fillInChunks}});Object.defineProperty(exports2,"findAll",{enumerable:true,get:function get2(){return _utils.findAll}});Object.defineProperty(exports2,"findChunks",{enumerable:true,get:function get2(){return _utils.findChunks}})},function(module3,exports2){Object.defineProperty(exports2,"__esModule",{value:true});exports2.findAll=function findAll2(_ref3){var autoEscape=_ref3.autoEscape,_ref$caseSensitive=_ref3.caseSensitive,caseSensitive=_ref$caseSensitive===void 0?false:_ref$caseSensitive,_ref$findChunks=_ref3.findChunks,findChunks=_ref$findChunks===void 0?defaultFindChunks:_ref$findChunks,sanitize=_ref3.sanitize,searchWords=_ref3.searchWords,textToHighlight=_ref3.textToHighlight;return fillInChunks({chunksToHighlight:combineChunks({chunks:findChunks({autoEscape:autoEscape,caseSensitive:caseSensitive,sanitize:sanitize,searchWords:searchWords,textToHighlight:textToHighlight})}),totalLength:textToHighlight?textToHighlight.length:0})};var combineChunks=exports2.combineChunks=function combineChunks2(_ref22){var chunks=_ref22.chunks;chunks=chunks.sort((function(first,second){return first.start-second.start})).reduce((function(processedChunks,nextChunk){if(processedChunks.length===0){return[nextChunk]}else{var prevChunk=processedChunks.pop();if(nextChunk.start<=prevChunk.end){var endIndex=Math.max(prevChunk.end,nextChunk.end);processedChunks.push({start:prevChunk.start,end:endIndex})}else{processedChunks.push(prevChunk,nextChunk)}return processedChunks}}),[]);return chunks};var defaultFindChunks=function defaultFindChunks2(_ref3){var autoEscape=_ref3.autoEscape,caseSensitive=_ref3.caseSensitive,_ref3$sanitize=_ref3.sanitize,sanitize=_ref3$sanitize===void 0?identity:_ref3$sanitize,searchWords=_ref3.searchWords,textToHighlight=_ref3.textToHighlight;textToHighlight=sanitize(textToHighlight);return searchWords.filter((function(searchWord){return searchWord})).reduce((function(chunks,searchWord){searchWord=sanitize(searchWord);if(autoEscape){searchWord=escapeRegExpFn(searchWord)}var regex=new RegExp(searchWord,caseSensitive?"g":"gi");var match2=void 0;while(match2=regex.exec(textToHighlight)){var start=match2.index;var end=regex.lastIndex;if(end>start){chunks.push({start:start,end:end})}if(match2.index==regex.lastIndex){regex.lastIndex++}}return chunks}),[])};exports2.findChunks=defaultFindChunks;var fillInChunks=exports2.fillInChunks=function fillInChunks2(_ref4){var chunksToHighlight=_ref4.chunksToHighlight,totalLength=_ref4.totalLength;var allChunks=[];var append2=function append22(start,end,highlight){if(end-start>0){allChunks.push({start:start,end:end,highlight:highlight})}};if(chunksToHighlight.length===0){append2(0,totalLength,false)}else{var lastIndex=0;chunksToHighlight.forEach((function(chunk){append2(lastIndex,chunk.start,false);append2(chunk.start,chunk.end,true);lastIndex=chunk.end}));append2(lastIndex,totalLength,false)}return allChunks};function identity(value){return value}function escapeRegExpFn(str){return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}}])},function(module2,exports,__webpack_require__){(function(process){if(process.env.NODE_ENV!=="production"){var REACT_ELEMENT_TYPE=typeof Symbol==="function"&&Symbol.for&&Symbol.for("react.element")||60103;var isValidElement=function(object){return typeof object==="object"&&object!==null&&object.$$typeof===REACT_ELEMENT_TYPE};var throwOnDirectAccess=true;module2.exports=__webpack_require__(6)(isValidElement,throwOnDirectAccess)}else{module2.exports=__webpack_require__(13)()}}).call(exports,__webpack_require__(5))},function(module2,exports){var process=module2.exports={};var cachedSetTimeout;var cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{if(typeof setTimeout==="function"){cachedSetTimeout=setTimeout}else{cachedSetTimeout=defaultSetTimout}}catch(e2){cachedSetTimeout=defaultSetTimout}try{if(typeof clearTimeout==="function"){cachedClearTimeout=clearTimeout}else{cachedClearTimeout=defaultClearTimeout}}catch(e2){cachedClearTimeout=defaultClearTimeout}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout){return setTimeout(fun,0)}if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout){cachedSetTimeout=setTimeout;return setTimeout(fun,0)}try{return cachedSetTimeout(fun,0)}catch(e2){try{return cachedSetTimeout.call(null,fun,0)}catch(e22){return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout){return clearTimeout(marker)}if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout){cachedClearTimeout=clearTimeout;return clearTimeout(marker)}try{return cachedClearTimeout(marker)}catch(e2){try{return cachedClearTimeout.call(null,marker)}catch(e22){return cachedClearTimeout.call(this,marker)}}}var queue=[];var draining=false;var currentQueue;var queueIndex=-1;function cleanUpNextTick(){if(!draining||!currentQueue){return}draining=false;if(currentQueue.length){queue=currentQueue.concat(queue)}else{queueIndex=-1}if(queue.length){drainQueue()}}function drainQueue(){if(draining){return}var timeout=runTimeout(cleanUpNextTick);draining=true;var len=queue.length;while(len){currentQueue=queue;queue=[];while(++queueIndex<len){if(currentQueue){currentQueue[queueIndex].run()}}queueIndex=-1;len=queue.length}currentQueue=null;draining=false;runClearTimeout(timeout)}process.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1){for(var i=1;i<arguments.length;i++){args[i-1]=arguments[i]}}queue.push(new Item(fun,args));if(queue.length===1&&!draining){runTimeout(drainQueue)}};function Item(fun,array){this.fun=fun;this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process.title="browser";process.browser=true;process.env={};process.argv=[];process.version="";process.versions={};function noop3(){}process.on=noop3;process.addListener=noop3;process.once=noop3;process.off=noop3;process.removeListener=noop3;process.removeAllListeners=noop3;process.emit=noop3;process.prependListener=noop3;process.prependOnceListener=noop3;process.listeners=function(name2){return[]};process.binding=function(name2){throw new Error("process.binding is not supported")};process.cwd=function(){return"/"};process.chdir=function(dir){throw new Error("process.chdir is not supported")};process.umask=function(){return 0}},function(module2,exports,__webpack_require__){(function(process){var emptyFunction2=__webpack_require__(7);var invariant=__webpack_require__(8);var warning2=__webpack_require__(9);var assign2=__webpack_require__(10);var ReactPropTypesSecret2=__webpack_require__(11);var checkPropTypes=__webpack_require__(12);module2.exports=function(isValidElement,throwOnDirectAccess){var ITERATOR_SYMBOL=typeof Symbol==="function"&&Symbol.iterator;var FAUX_ITERATOR_SYMBOL="@@iterator";function getIteratorFn(maybeIterable){var iteratorFn=maybeIterable&&(ITERATOR_SYMBOL&&maybeIterable[ITERATOR_SYMBOL]||maybeIterable[FAUX_ITERATOR_SYMBOL]);if(typeof iteratorFn==="function"){return iteratorFn}}var ANONYMOUS="<<anonymous>>";var ReactPropTypes={array:createPrimitiveTypeChecker("array"),bool:createPrimitiveTypeChecker("boolean"),func:createPrimitiveTypeChecker("function"),number:createPrimitiveTypeChecker("number"),object:createPrimitiveTypeChecker("object"),string:createPrimitiveTypeChecker("string"),symbol:createPrimitiveTypeChecker("symbol"),any:createAnyTypeChecker(),arrayOf:createArrayOfTypeChecker,element:createElementTypeChecker(),instanceOf:createInstanceTypeChecker,node:createNodeChecker(),objectOf:createObjectOfTypeChecker,oneOf:createEnumTypeChecker,oneOfType:createUnionTypeChecker,shape:createShapeTypeChecker,exact:createStrictShapeTypeChecker};function is(x2,y2){if(x2===y2){return x2!==0||1/x2===1/y2}else{return x2!==x2&&y2!==y2}}function PropTypeError(message){this.message=message;this.stack=""}PropTypeError.prototype=Error.prototype;function createChainableTypeChecker(validate){if(process.env.NODE_ENV!=="production"){var manualPropTypeCallCache={};var manualPropTypeWarningCount=0}function checkType(isRequired,props,propName,componentName,location,propFullName,secret){componentName=componentName||ANONYMOUS;propFullName=propFullName||propName;if(secret!==ReactPropTypesSecret2){if(throwOnDirectAccess){invariant(false,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types")}else if(process.env.NODE_ENV!=="production"&&typeof console!=="undefined"){var cacheKey=componentName+":"+propName;if(!manualPropTypeCallCache[cacheKey]&&manualPropTypeWarningCount<3){warning2(false,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",propFullName,componentName);manualPropTypeCallCache[cacheKey]=true;manualPropTypeWarningCount++}}}if(props[propName]==null){if(isRequired){if(props[propName]===null){return new PropTypeError("The "+location+" `"+propFullName+"` is marked as required "+("in `"+componentName+"`, but its value is `null`."))}return new PropTypeError("The "+location+" `"+propFullName+"` is marked as required in "+("`"+componentName+"`, but its value is `undefined`."))}return null}else{return validate(props,propName,componentName,location,propFullName)}}var chainedCheckType=checkType.bind(null,false);chainedCheckType.isRequired=checkType.bind(null,true);return chainedCheckType}function createPrimitiveTypeChecker(expectedType){function validate(props,propName,componentName,location,propFullName,secret){var propValue=props[propName];var propType=getPropType(propValue);if(propType!==expectedType){var preciseType=getPreciseType(propValue);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+preciseType+"` supplied to `"+componentName+"`, expected ")+("`"+expectedType+"`."))}return null}return createChainableTypeChecker(validate)}function createAnyTypeChecker(){return createChainableTypeChecker(emptyFunction2.thatReturnsNull)}function createArrayOfTypeChecker(typeChecker){function validate(props,propName,componentName,location,propFullName){if(typeof typeChecker!=="function"){return new PropTypeError("Property `"+propFullName+"` of component `"+componentName+"` has invalid PropType notation inside arrayOf.")}var propValue=props[propName];if(!Array.isArray(propValue)){var propType=getPropType(propValue);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+propType+"` supplied to `"+componentName+"`, expected an array."))}for(var i=0;i<propValue.length;i++){var error=typeChecker(propValue,i,componentName,location,propFullName+"["+i+"]",ReactPropTypesSecret2);if(error instanceof Error){return error}}return null}return createChainableTypeChecker(validate)}function createElementTypeChecker(){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];if(!isValidElement(propValue)){var propType=getPropType(propValue);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+propType+"` supplied to `"+componentName+"`, expected a single ReactElement."))}return null}return createChainableTypeChecker(validate)}function createInstanceTypeChecker(expectedClass){function validate(props,propName,componentName,location,propFullName){if(!(props[propName]instanceof expectedClass)){var expectedClassName=expectedClass.name||ANONYMOUS;var actualClassName=getClassName(props[propName]);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+actualClassName+"` supplied to `"+componentName+"`, expected ")+("instance of `"+expectedClassName+"`."))}return null}return createChainableTypeChecker(validate)}function createEnumTypeChecker(expectedValues){if(!Array.isArray(expectedValues)){process.env.NODE_ENV!=="production"?warning2(false,"Invalid argument supplied to oneOf, expected an instance of array."):void 0;return emptyFunction2.thatReturnsNull}function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];for(var i=0;i<expectedValues.length;i++){if(is(propValue,expectedValues[i])){return null}}var valuesString=JSON.stringify(expectedValues);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of value `"+propValue+"` "+("supplied to `"+componentName+"`, expected one of "+valuesString+"."))}return createChainableTypeChecker(validate)}function createObjectOfTypeChecker(typeChecker){function validate(props,propName,componentName,location,propFullName){if(typeof typeChecker!=="function"){return new PropTypeError("Property `"+propFullName+"` of component `"+componentName+"` has invalid PropType notation inside objectOf.")}var propValue=props[propName];var propType=getPropType(propValue);if(propType!=="object"){return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+propType+"` supplied to `"+componentName+"`, expected an object."))}for(var key in propValue){if(propValue.hasOwnProperty(key)){var error=typeChecker(propValue,key,componentName,location,propFullName+"."+key,ReactPropTypesSecret2);if(error instanceof Error){return error}}}return null}return createChainableTypeChecker(validate)}function createUnionTypeChecker(arrayOfTypeCheckers){if(!Array.isArray(arrayOfTypeCheckers)){process.env.NODE_ENV!=="production"?warning2(false,"Invalid argument supplied to oneOfType, expected an instance of array."):void 0;return emptyFunction2.thatReturnsNull}for(var i=0;i<arrayOfTypeCheckers.length;i++){var checker=arrayOfTypeCheckers[i];if(typeof checker!=="function"){warning2(false,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",getPostfixForTypeWarning(checker),i);return emptyFunction2.thatReturnsNull}}function validate(props,propName,componentName,location,propFullName){for(var i2=0;i2<arrayOfTypeCheckers.length;i2++){var checker2=arrayOfTypeCheckers[i2];if(checker2(props,propName,componentName,location,propFullName,ReactPropTypesSecret2)==null){return null}}return new PropTypeError("Invalid "+location+" `"+propFullName+"` supplied to "+("`"+componentName+"`."))}return createChainableTypeChecker(validate)}function createNodeChecker(){function validate(props,propName,componentName,location,propFullName){if(!isNode2(props[propName])){return new PropTypeError("Invalid "+location+" `"+propFullName+"` supplied to "+("`"+componentName+"`, expected a ReactNode."))}return null}return createChainableTypeChecker(validate)}function createShapeTypeChecker(shapeTypes){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];var propType=getPropType(propValue);if(propType!=="object"){return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type `"+propType+"` "+("supplied to `"+componentName+"`, expected `object`."))}for(var key in shapeTypes){var checker=shapeTypes[key];if(!checker){continue}var error=checker(propValue,key,componentName,location,propFullName+"."+key,ReactPropTypesSecret2);if(error){return error}}return null}return createChainableTypeChecker(validate)}function createStrictShapeTypeChecker(shapeTypes){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];var propType=getPropType(propValue);if(propType!=="object"){return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type `"+propType+"` "+("supplied to `"+componentName+"`, expected `object`."))}var allKeys=assign2({},props[propName],shapeTypes);for(var key in allKeys){var checker=shapeTypes[key];if(!checker){return new PropTypeError("Invalid "+location+" `"+propFullName+"` key `"+key+"` supplied to `"+componentName+"`.\nBad object: "+JSON.stringify(props[propName],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(shapeTypes),null," "))}var error=checker(propValue,key,componentName,location,propFullName+"."+key,ReactPropTypesSecret2);if(error){return error}}return null}return createChainableTypeChecker(validate)}function isNode2(propValue){switch(typeof propValue){case"number":case"string":case"undefined":return true;case"boolean":return!propValue;case"object":if(Array.isArray(propValue)){return propValue.every(isNode2)}if(propValue===null||isValidElement(propValue)){return true}var iteratorFn=getIteratorFn(propValue);if(iteratorFn){var iterator=iteratorFn.call(propValue);var step;if(iteratorFn!==propValue.entries){while(!(step=iterator.next()).done){if(!isNode2(step.value)){return false}}}else{while(!(step=iterator.next()).done){var entry=step.value;if(entry){if(!isNode2(entry[1])){return false}}}}}else{return false}return true;default:return false}}function isSymbol(propType,propValue){if(propType==="symbol"){return true}if(propValue["@@toStringTag"]==="Symbol"){return true}if(typeof Symbol==="function"&&propValue instanceof Symbol){return true}return false}function getPropType(propValue){var propType=typeof propValue;if(Array.isArray(propValue)){return"array"}if(propValue instanceof RegExp){return"object"}if(isSymbol(propType,propValue)){return"symbol"}return propType}function getPreciseType(propValue){if(typeof propValue==="undefined"||propValue===null){return""+propValue}var propType=getPropType(propValue);if(propType==="object"){if(propValue instanceof Date){return"date"}else if(propValue instanceof RegExp){return"regexp"}}return propType}function getPostfixForTypeWarning(value){var type=getPreciseType(value);switch(type){case"array":case"object":return"an "+type;case"boolean":case"date":case"regexp":return"a "+type;default:return type}}function getClassName(propValue){if(!propValue.constructor||!propValue.constructor.name){return ANONYMOUS}return propValue.constructor.name}ReactPropTypes.checkPropTypes=checkPropTypes;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}}).call(exports,__webpack_require__(5))},function(module2,exports){function makeEmptyFunction(arg){return function(){return arg}}var emptyFunction2=function emptyFunction22(){};emptyFunction2.thatReturns=makeEmptyFunction;emptyFunction2.thatReturnsFalse=makeEmptyFunction(false);emptyFunction2.thatReturnsTrue=makeEmptyFunction(true);emptyFunction2.thatReturnsNull=makeEmptyFunction(null);emptyFunction2.thatReturnsThis=function(){return this};emptyFunction2.thatReturnsArgument=function(arg){return arg};module2.exports=emptyFunction2},function(module2,exports,__webpack_require__){(function(process){var validateFormat=function validateFormat2(format){};if(process.env.NODE_ENV!=="production"){validateFormat=function validateFormat2(format){if(format===void 0){throw new Error("invariant requires an error message argument")}}}function invariant(condition,format,a2,b2,c2,d2,e2,f2){validateFormat(format);if(!condition){var error;if(format===void 0){error=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.")}else{var args=[a2,b2,c2,d2,e2,f2];var argIndex=0;error=new Error(format.replace(/%s/g,(function(){return args[argIndex++]})));error.name="Invariant Violation"}error.framesToPop=1;throw error}}module2.exports=invariant}).call(exports,__webpack_require__(5))},function(module2,exports,__webpack_require__){(function(process){var emptyFunction2=__webpack_require__(7);var warning2=emptyFunction2;if(process.env.NODE_ENV!=="production"){var printWarning=function printWarning2(format){for(var _len=arguments.length,args=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++){args[_key-1]=arguments[_key]}var argIndex=0;var message="Warning: "+format.replace(/%s/g,(function(){return args[argIndex++]}));if(typeof console!=="undefined"){console.error(message)}try{throw new Error(message)}catch(x2){}};warning2=function warning22(condition,format){if(format===void 0){throw new Error("`warning(condition, format, ...args)` requires a warning message argument")}if(format.indexOf("Failed Composite propType: ")===0){return}if(!condition){for(var _len2=arguments.length,args=Array(_len2>2?_len2-2:0),_key2=2;_key2<_len2;_key2++){args[_key2-2]=arguments[_key2]}printWarning.apply(void 0,[format].concat(args))}}}module2.exports=warning2}).call(exports,__webpack_require__(5))},function(module2,exports){var getOwnPropertySymbols=Object.getOwnPropertySymbols;var hasOwnProperty2=Object.prototype.hasOwnProperty;var propIsEnumerable=Object.prototype.propertyIsEnumerable;function toObject(val){if(val===null||val===void 0){throw new TypeError("Object.assign cannot be called with null or undefined")}return Object(val)}function shouldUseNative(){try{if(!Object.assign){return false}var test1=new String("abc");test1[5]="de";if(Object.getOwnPropertyNames(test1)[0]==="5"){return false}var test2={};for(var i=0;i<10;i++){test2["_"+String.fromCharCode(i)]=i}var order2=Object.getOwnPropertyNames(test2).map((function(n2){return test2[n2]}));if(order2.join("")!=="0123456789"){return false}var test3={};"abcdefghijklmnopqrst".split("").forEach((function(letter){test3[letter]=letter}));if(Object.keys(Object.assign({},test3)).join("")!=="abcdefghijklmnopqrst"){return false}return true}catch(err){return false}}module2.exports=shouldUseNative()?Object.assign:function(target,source){var from2;var to=toObject(target);var symbols;for(var s2=1;s2<arguments.length;s2++){from2=Object(arguments[s2]);for(var key in from2){if(hasOwnProperty2.call(from2,key)){to[key]=from2[key]}}if(getOwnPropertySymbols){symbols=getOwnPropertySymbols(from2);for(var i=0;i<symbols.length;i++){if(propIsEnumerable.call(from2,symbols[i])){to[symbols[i]]=from2[symbols[i]]}}}}return to}},function(module2,exports){var ReactPropTypesSecret2="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";module2.exports=ReactPropTypesSecret2},function(module2,exports,__webpack_require__){(function(process){if(process.env.NODE_ENV!=="production"){var invariant=__webpack_require__(8);var warning2=__webpack_require__(9);var ReactPropTypesSecret2=__webpack_require__(11);var loggedTypeFailures={}}function checkPropTypes(typeSpecs,values,location,componentName,getStack){if(process.env.NODE_ENV!=="production"){for(var typeSpecName in typeSpecs){if(typeSpecs.hasOwnProperty(typeSpecName)){var error;try{invariant(typeof typeSpecs[typeSpecName]==="function","%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",componentName||"React class",location,typeSpecName,typeof typeSpecs[typeSpecName]);error=typeSpecs[typeSpecName](values,typeSpecName,componentName,location,null,ReactPropTypesSecret2)}catch(ex){error=ex}warning2(!error||error instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",componentName||"React class",location,typeSpecName,typeof error);if(error instanceof Error&&!(error.message in loggedTypeFailures)){loggedTypeFailures[error.message]=true;var stack=getStack?getStack():"";warning2(false,"Failed %s type: %s%s",location,error.message,stack!=null?stack:"")}}}}}module2.exports=checkPropTypes}).call(exports,__webpack_require__(5))},function(module2,exports,__webpack_require__){var emptyFunction2=__webpack_require__(7);var invariant=__webpack_require__(8);var ReactPropTypesSecret2=__webpack_require__(11);module2.exports=function(){function shim(props,propName,componentName,location,propFullName,secret){if(secret===ReactPropTypesSecret2){return}invariant(false,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}shim.isRequired=shim;function getShim(){return shim}var ReactPropTypes={array:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim};ReactPropTypes.checkPropTypes=emptyFunction2;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}},function(module2,exports){module2.exports=React__default},function(module2,exports){var simpleIsEqual=function simpleIsEqual2(a2,b2){return a2===b2};function index2(resultFn){var isEqual3=arguments.length>1&&arguments[1]!==void 0?arguments[1]:simpleIsEqual;var lastThis=void 0;var lastArgs=[];var lastResult=void 0;var calledOnce=false;var isNewArgEqualToLast=function isNewArgEqualToLast2(newArg,index22){return isEqual3(newArg,lastArgs[index22])};var result=function result2(){for(var _len=arguments.length,newArgs=Array(_len),_key=0;_key<_len;_key++){newArgs[_key]=arguments[_key]}if(calledOnce&&lastThis===this&&newArgs.length===lastArgs.length&&newArgs.every(isNewArgEqualToLast)){return lastResult}calledOnce=true;lastThis=this;lastArgs=newArgs;lastResult=resultFn.apply(this,newArgs);return lastResult};return result}module2.exports=index2}])})(main);var mainExports=main.exports;const Highlighter=getDefaultExportFromCjs(mainExports);const Highlight=props=>{const{children:children,className:className="pb_highlight_kit",data:data={},highlightedText:highlightedText=["highlight"],htmlOptions:htmlOptions={},id:id="",text:text=""}=props;const htmlProps=buildHtmlProps(htmlOptions);const highlightContent=text||children;return jsx$1(Highlighter,Object.assign({autoEscape:true,data:data,highlightClassName:classnames(globalProps(props),className),highlightTag:"mark",id:id,searchWords:highlightedText,textToHighlight:highlightContent},htmlProps),void 0)};const Body$1=props=>{if(props.variant);const{aria:aria={},children:children,className:className,color:color="",data:data={},highlightedText:highlightedText=[],highlighting:highlighting=false,htmlOptions:htmlOptions={},id:id="",status:status=null,tag:tag="div",text:text="",variant:variant=null}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_body_kit",color,variant,status),globalProps(props),className);const Tag=`${tag}`;return jsxs(Tag,Object.assign({},ariaProps,dataProps,htmlProps,{className:classes,id:id},{children:[highlighting&&jsx$1(Highlight,Object.assign({highlightedText:highlightedText,text:text},{children:children}),void 0),!highlighting&&(text||children)]}),void 0)};const Caption=props=>{if(props.variant);const{aria:aria={},children:children,className:className,color:color,data:data={},htmlOptions:htmlOptions={},id:id,size:size="md",tag:tag="div",text:text,variant:variant=null}=props;const tagOptions=["h1","h2","h3","h4","h5","h6","p","span","div","caption"];const Tag=tagOptions.includes(tag)?tag:"div";const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const css4=classnames(buildCss("pb_caption_kit",size,variant,color),globalProps(props),className);return jsx$1(Tag,Object.assign({},ariaProps,dataProps,htmlProps,{className:css4,id:id},{children:text||children}),void 0)};const getPlacementProps=(placement,size)=>{let placementMapping={};switch(size){case"xxs":case"xs":placementMapping={"top-right":{top:"xs",right:"xs"},"bottom-left":{bottom:"xs",left:"xs"},"top-left":{top:"xs",left:"xs"},"bottom-right":{bottom:"xs",right:"xs"},"bottom-center":{bottom:"xs",className:"overlay_bottom_center"},"top-center":{top:"xs",className:"overlay_top_center"},"left-center":{left:"sm",className:"overlay_left_center"},"right-center":{right:"sm",className:"overlay_right_center"}};break;case"sm":placementMapping={"top-right":{top:"0",right:"xs"},"bottom-left":{bottom:"0",left:"xs"},"top-left":{top:"0",left:"xs"},"bottom-right":{bottom:"0",right:"xs"},"bottom-center":{bottom:"xs",className:"overlay_bottom_center"},"top-center":{top:"xs",className:"overlay_top_center"},"left-center":{left:"sm",className:"overlay_left_center"},"right-center":{right:"sm",className:"overlay_right_center"}};break;case"md":case"lg":placementMapping={"top-right":{top:"0",right:"0"},"bottom-left":{bottom:"0",left:"0"},"top-left":{top:"0",left:"0"},"bottom-right":{bottom:"0",right:"0"},"bottom-center":{bottom:"xs",className:"overlay_bottom_center"},"top-center":{top:"xs",className:"overlay_top_center"},"left-center":{left:"sm",className:"overlay_left_center"},"right-center":{right:"sm",className:"overlay_right_center"}};break;case"xl":placementMapping={"top-right":{top:{value:"xxs",inset:true},right:{value:"xxs",inset:true}},"bottom-left":{bottom:{value:"xxs",inset:true},left:{value:"xxs",inset:true}},"top-left":{top:{value:"xxs",inset:true},left:{value:"xxs",inset:true}},"bottom-right":{bottom:{value:"xxs",inset:true},right:{value:"xxs",inset:true}},"bottom-center":{bottom:"xs",className:"overlay_bottom_center"},"top-center":{top:"xs",className:"overlay_top_center"},"left-center":{left:"sm",className:"overlay_left_center"},"right-center":{right:"sm",className:"overlay_right_center"}};break}return placementMapping[placement]||{}};const Image=props=>{const{alt:alt="",aria:aria={},className:className,data:data={},htmlOptions:htmlOptions={},id:id,onError:onError=null,rounded:rounded=false,size:size="",transition:transition="fade",url:url=""}=props;const ariaProps=buildAriaProps(aria);const classes=classnames(buildCss("pb_image_kit",size?`size_${size}`:null),"lazyload",transition,{rounded:rounded},globalProps(props),className);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);return jsx$1("img",{...ariaProps,...dataProps,...htmlProps,alt:alt,className:classes,"data-src":url,id:id,onError:onError,src:url})};const OnlineStatus=props=>{const{aria:aria={},className:className,data:data={},htmlOptions:htmlOptions={},id:id,status:status="offline",size:size="sm",noBorder:noBorder=false}=props;aria.label=status;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const getBorder=noBorder?"no_border":"";const classes=classnames(buildCss("pb_online_status_kit",status,getBorder,"size",size),globalProps(props),className);return jsx$1("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id})};const Badge=props=>{const{aria:aria={},className:className,closeProps:closeProps={},data:data={},htmlOptions:htmlOptions={},id:id,removeIcon:removeIcon=false,removeOnClick:removeOnClick,rounded:rounded=false,text:text,variant:variant="neutral"}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const css4=classnames(buildCss("pb_badge_kit",variant==="success"?"success_sm":variant==="notificationError"?"notification_error":variant,rounded?"rounded":""),globalProps(props),className);const timesIcon=getAllIcons()["times"];return jsx$1("div",{...ariaProps,...dataProps,...htmlProps,className:css4,id:id,children:jsxs("span",{children:[text,removeIcon&&jsx$1("span",{onClick:removeOnClick,style:{cursor:"pointer"},...closeProps,children:jsx$1(Icon,{className:"svg-inline--fa",customIcon:timesIcon.icon,fixedWidth:true})})]})})};const IconCircle=props=>{const{aria:aria={},className:className,dark:dark=false,data:data={},htmlOptions:htmlOptions={},icon:icon,id:id,size:size="md",variant:variant="default"}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_icon_circle_kit",`size_${size}`,variant),globalProps(props),className);return jsx$1("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id,children:jsx$1(Icon,{dark:dark,icon:icon})})};function __rest(s2,e2){var t2={};for(var p2 in s2)if(Object.prototype.hasOwnProperty.call(s2,p2)&&e2.indexOf(p2)<0)t2[p2]=s2[p2];if(s2!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,p2=Object.getOwnPropertySymbols(s2);i<p2.length;i++){if(e2.indexOf(p2[i])<0&&Object.prototype.propertyIsEnumerable.call(s2,p2[i]))t2[p2[i]]=s2[p2[i]]}return t2}function __awaiter(thisArg,_arguments,P,generator){function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e2){reject(e2)}}function rejected(value){try{step(generator["throw"](value))}catch(e2){reject(e2)}}function step(result){result.done?resolve(result.value):adopt(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,[])).next())}))}function __generator(thisArg,body){var _={label:0,sent:function(){if(t2[0]&1)throw t2[1];return t2[1]},trys:[],ops:[]},f2,y2,t2,g2;return g2={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(g2[Symbol.iterator]=function(){return this}),g2;function verb(n2){return function(v2){return step([n2,v2])}}function step(op){if(f2)throw new TypeError("Generator is already executing.");while(g2&&(g2=0,op[0]&&(_=0)),_)try{if(f2=1,y2&&(t2=op[0]&2?y2["return"]:op[0]?y2["throw"]||((t2=y2["return"])&&t2.call(y2),0):y2.next)&&!(t2=t2.call(y2,op[1])).done)return t2;if(y2=0,t2)op=[op[0]&2,t2.value];switch(op[0]){case 0:case 1:t2=op;break;case 4:_.label++;return{value:op[1],done:false};case 5:_.label++;y2=op[1];op=[0];continue;case 7:op=_.ops.pop();_.trys.pop();continue;default:if(!(t2=_.trys,t2=t2.length>0&&t2[t2.length-1])&&(op[0]===6||op[0]===2)){_=0;continue}if(op[0]===3&&(!t2||op[1]>t2[0]&&op[1]<t2[3])){_.label=op[1];break}if(op[0]===6&&_.label<t2[1]){_.label=t2[1];t2=op;break}if(t2&&_.label<t2[2]){_.label=t2[2];_.ops.push(op);break}if(t2[2])_.ops.pop();_.trys.pop();continue}op=body.call(thisArg,_)}catch(e2){op=[6,e2];y2=0}finally{f2=t2=0}if(op[0]&5)throw op[1];return{value:op[0]?op[1]:void 0,done:true}}}function __read(o2,n2){var m2=typeof Symbol==="function"&&o2[Symbol.iterator];if(!m2)return o2;var i=m2.call(o2),r2,ar=[],e2;try{while((n2===void 0||n2-- >0)&&!(r2=i.next()).done)ar.push(r2.value)}catch(error){e2={error:error}}finally{try{if(r2&&!r2.done&&(m2=i["return"]))m2.call(i)}finally{if(e2)throw e2.error}}return ar}function __spread(){for(var ar=[],i=0;i<arguments.length;i++)ar=ar.concat(__read(arguments[i]));return ar}const DraggableContainer=props=>{const{aria:aria={},children:children,className:className,container:container,data:data={},htmlOptions:htmlOptions={},id:id}=props;const{handleDragOver:handleDragOver,handleDrop:handleDrop,activeContainer:activeContainer}=DraggableContext();const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_draggable_container"),`${activeContainer===container?"active":""}`,globalProps(props),className);return createElement("div",Object.assign({},ariaProps,dataProps,htmlProps,{className:classes,id:id,key:container,onDragOver:e2=>handleDragOver(e2,container),onDrop:()=>handleDrop(container)}),children)};const DraggableItem=props=>{const{aria:aria={},children:children,className:className,container:container,data:data={},htmlOptions:htmlOptions={},id:id,dragId:dragId}=props;const{isDragging:isDragging,handleDragStart:handleDragStart,handleDragEnter:handleDragEnter,handleDragEnd:handleDragEnd}=DraggableContext();const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_draggable_item"),`${isDragging===dragId?"is_dragging":""}`,globalProps(props),className);return createElement("div",Object.assign({},ariaProps,dataProps,htmlProps,{className:classes,draggable:true,id:id,key:dragId,onDragEnd:()=>handleDragEnd(),onDragEnter:()=>handleDragEnter(dragId,container),onDragStart:()=>handleDragStart(dragId,container)}),children)};const Draggable=props=>{const{aria:aria={},className:className,children:children,data:data={},htmlOptions:htmlOptions={},id:id}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_draggable"),globalProps(props),className);return jsx$1("div",Object.assign({},ariaProps,dataProps,htmlProps,{className:classes,id:id},{children:children}),void 0)};Draggable.Container=DraggableContainer;Draggable.Item=DraggableItem;const Header=props=>{const{children:children,className:className,headerColor:headerColor="category_1",headerColorStriped:headerColorStriped=false}=props;const headerCSS=buildCss("pb_card_header_kit",`${headerColor}`,headerColorStriped?"striped":"");const headerSpacing=globalProps(props);return jsx$1("div",Object.assign({className:classnames(headerCSS,headerSpacing,className)},{children:children}),void 0)};const Body=props=>{const{children:children,className:className}=props;const bodyCSS=buildCss("pb_card_body_kit");const bodySpacing=globalProps(props);return jsx$1("div",Object.assign({className:classnames(bodyCSS,bodySpacing,className)},{children:children}),void 0)};const Card=props=>{const{aria:aria={},background:background="none",borderNone:borderNone=false,borderRadius:borderRadius2="md",children:children,className:className,data:data={},dragId:dragId,dragHandle:dragHandle=true,draggableItem:draggableItem=false,highlight:highlight={},htmlOptions:htmlOptions={},selected:selected=false,tag:tag="div"}=props;const borderCSS=borderNone==true?"border_none":"";const selectedCSS=selected==true?"selected":"deselected";const backgroundCSS=background=="none"?"":`background_${background}`;const cardCss=buildCss("pb_card_kit",selectedCSS,borderCSS,`border_radius_${borderRadius2}`,backgroundCSS,{[`highlight_${highlight.position}`]:highlight.position,[`highlight_${highlight.color}`]:highlight.color});const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const cardChildren=React__default.Children.toArray(children);const dynamicInlineProps=globalInlineProps(props);const _a=htmlProps,{style:htmlStyle={}}=_a,restHtmlProps=__rest(_a,["style"]);const mergedStyles=Object.assign(Object.assign({},htmlStyle),dynamicInlineProps);const subComponentTags=tagName=>cardChildren.filter((c2=>get(c2,"type.displayName")===tagName)).map(((child,i)=>{if(React__default.isValidElement(child)){return React__default.cloneElement(child,{key:`${tagName.toLowerCase()}-${i}`})}}));const nonHeaderChildren=cardChildren.filter((child=>get(child,"type.displayName")!=="Header"));const tagOptions=["div","section","footer","header","article","aside","main","nav"];const Tag=tagOptions.includes(tag)?tag:"div";return jsx$1(Fragment,{children:draggableItem?jsx$1(Draggable.Item,Object.assign({dragId:dragId},{children:jsxs(Tag,Object.assign({},ariaProps,dataProps,{className:classnames(cardCss,globalProps(props),className)},restHtmlProps,{style:mergedStyles},{children:[subComponentTags("Header"),dragHandle?jsxs(Flex,{children:[jsx$1("span",Object.assign({className:"card_draggable_handle"},{children:jsx$1(Icon,{icon:"grip-dots-vertical",paddingRight:"xs",verticalAlign:"middle"},void 0)}),void 0),jsx$1("div",Object.assign({style:{width:"100%"}},{children:nonHeaderChildren}),void 0)]},void 0):nonHeaderChildren]}),void 0)}),dragId):jsxs(Tag,Object.assign({},ariaProps,dataProps,{className:classnames(cardCss,globalProps(props),className)},restHtmlProps,{style:mergedStyles},{children:[subComponentTags("Header"),nonHeaderChildren]}),void 0)},void 0)};Card.Header=Header;Card.Body=Body;const firstTwoInitials=name2=>name2.split(/\s/).map((name22=>name22[0])).join("").substring(0,2);const Avatar=props=>{const{aria:aria={},className:className,data:data={},htmlOptions:htmlOptions={},name:name2=void 0,componentOverlay:componentOverlay,id:id="",imageAlt:imageAlt="",imageUrl:imageUrl,size:size="md",status:status=null,dark:dark=false}=props;const dataProps=buildDataProps(data);const ariaProps=buildAriaProps(aria);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_avatar_kit",`size_${size}`),globalProps(props),className);const initials=name2&&firstTwoInitials(name2);dataProps["data-initials"]=initials;const[error,setError]=useState(false);const handleError=()=>setError(true);const canShowImage=imageUrl&&!error;const onlineStatusSize=["xxs","xs"].includes(size)?"sm":["sm","md"].includes(size)?"md":["lg","xl"].includes(size)?"lg":"sm";const onlineStatusPositionProps=["xxs","xs","sm"].includes(size)?{top:{inset:true,value:"0"},right:{inset:false,value:"xxs"}}:{bottom:{inset:true,value:"0"},right:{inset:true,value:size==="xl"?"sm":size==="lg"?"xs":"xxs"}};return jsx$1("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id,children:componentOverlay?jsxs(Flex,{display:"display_inline_block",position:"relative",children:[jsx$1("div",{className:"avatar_wrapper","data-initials":initials,children:canShowImage&&jsx$1(Image,{alt:imageAlt?imageAlt:name2,onError:handleError,url:imageUrl})}),componentOverlay.component==="badge"&&jsx$1(Card,{borderNone:true,borderRadius:"rounded",padding:"none",position:"absolute",...getPlacementProps(componentOverlay.placement,size),children:jsx$1(Badge,{rounded:true,text:componentOverlay.text,variant:componentOverlay.variant})}),componentOverlay.component==="iconCircle"&&jsx$1(Card,{borderNone:true,borderRadius:"rounded",htmlOptions:{style:{padding:"2px"}},position:"absolute",...getPlacementProps(componentOverlay.placement,size),children:jsx$1(IconCircle,{icon:componentOverlay.icon,size:"xxs",variant:componentOverlay.variant})})]}):jsxs(Fragment,{children:[jsx$1("div",{className:"avatar_wrapper","data-initials":initials,children:canShowImage&&jsx$1(Image,{alt:imageAlt?imageAlt:name2,onError:handleError,url:imageUrl})}),status&&jsx$1(OnlineStatus,{dark:dark,position:"absolute",size:onlineStatusSize,status:status,...onlineStatusPositionProps})]})})};const breakpoints={xs:"(max-width: 575px)",sm:"(min-width: 576px) and (max-width: 767px)",md:"(min-width: 768px) and (max-width: 991px)",lg:"(min-width: 992px) and (max-width: 1199px)",xl:"(min-width: 1200px)"};const getResponsiveValue=prop=>{if(typeof prop==="string"){return prop}for(const[bp,value]of Object.entries(prop||{})){if(bp!=="default"&&window.matchMedia(breakpoints[bp]).matches){return value}}return(prop==null?void 0:prop.default)||void 0};const Background=props=>{const{alt:alt=void 0,aria:aria={},backgroundColor:backgroundColor="light",backgroundPosition:backgroundPosition="",backgroundRepeat:backgroundRepeat="initial",backgroundSize:backgroundSize="cover",children:children,className:className,customColor:customColor,data:data={},htmlOptions:htmlOptions={},id:id,imageUrl:imageUrl="",tag:tag="div",transition:transition=""}=props;const[responsiveProps,setResponsiveProps]=useState({backgroundSize:getResponsiveValue(backgroundSize),backgroundPosition:getResponsiveValue(backgroundPosition),backgroundRepeat:getResponsiveValue(backgroundRepeat),backgroundColor:getResponsiveValue(backgroundColor),imageUrl:getResponsiveValue(imageUrl)});useEffect((()=>{const updateResponsiveProps=()=>{setResponsiveProps({backgroundSize:getResponsiveValue(props.backgroundSize),backgroundPosition:getResponsiveValue(props.backgroundPosition),backgroundRepeat:getResponsiveValue(props.backgroundRepeat),backgroundColor:getResponsiveValue(props.backgroundColor),imageUrl:getResponsiveValue(props.imageUrl)})};window.addEventListener("resize",updateResponsiveProps);return()=>window.removeEventListener("resize",updateResponsiveProps)}),[props]);const{backgroundColor:resBackgroundColor,backgroundPosition:resBackgroundPosition,backgroundRepeat:resBackgroundRepeat,backgroundSize:resBackgroundSize,imageUrl:resImageUrl}=responsiveProps;const classes=classnames(buildCss("pb_background_kit"),"lazyload",globalProps(props),transition,{[`pb_background_color_${resBackgroundColor}`]:resBackgroundColor&&!customColor,[`pb_background_custom_color`]:!!customColor},className);const backgroundStyle={backgroundColor:customColor||void 0,...resImageUrl!==""?{backgroundImage:resImageUrl?`url(${resImageUrl})`:void 0,backgroundRepeat:resBackgroundRepeat||void 0,backgroundPosition:resBackgroundPosition||void 0,backgroundSize:resBackgroundSize||void 0}:{}};const Tag=`${tag}`;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);return jsx$1(Tag,{...ariaProps,...dataProps,...htmlProps,alt:alt,className:classes,id:id,style:backgroundStyle,children:children})};var highchartsReact_min={exports:{}};(function(module,exports){!function(t2,e2){module.exports=e2(React__default)}("undefined"!=typeof self?self:commonjsGlobal,(function(t2){return function(t3){function e2(n2){if(r2[n2])return r2[n2].exports;var o2=r2[n2]={i:n2,l:false,exports:{}};return t3[n2].call(o2.exports,o2,o2.exports,e2),o2.l=true,o2.exports}var r2={};return e2.m=t3,e2.c=r2,e2.d=function(t4,r3,n2){e2.o(t4,r3)||Object.defineProperty(t4,r3,{configurable:false,enumerable:true,get:n2})},e2.n=function(t4){var r3=t4&&t4.__esModule?function(){return t4.default}:function(){return t4};return e2.d(r3,"a",r3),r3},e2.o=function(t4,e3){return Object.prototype.hasOwnProperty.call(t4,e3)},e2.p="",e2(e2.s=0)}([function(t3,e2,r2){function n2(){return n2=Object.assign?Object.assign.bind():function(t4){for(var e3=1;e3<arguments.length;e3++){var r3=arguments[e3];for(var n3 in r3)Object.prototype.hasOwnProperty.call(r3,n3)&&(t4[n3]=r3[n3])}return t4},n2.apply(this,arguments)}function o2(t4){return a2(t4)||i(t4)||u2(t4)||c2()}function c2(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u2(t4,e3){if(t4){if("string"==typeof t4)return f2(t4,e3);var r3=Object.prototype.toString.call(t4).slice(8,-1);return"Object"===r3&&t4.constructor&&(r3=t4.constructor.name),"Map"===r3||"Set"===r3?Array.from(t4):"Arguments"===r3||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r3)?f2(t4,e3):void 0}}function i(t4){if("undefined"!=typeof Symbol&&null!=t4[Symbol.iterator]||null!=t4["@@iterator"])return Array.from(t4)}function a2(t4){if(Array.isArray(t4))return f2(t4)}function f2(t4,e3){(null==e3||e3>t4.length)&&(e3=t4.length);for(var r3=0,n3=new Array(e3);r3<e3;r3++)n3[r3]=t4[r3];return n3}function s2(t4){"@babel/helpers - typeof";return(s2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t5){return typeof t5}:function(t5){return t5&&"function"==typeof Symbol&&t5.constructor===Symbol&&t5!==Symbol.prototype?"symbol":typeof t5})(t4)}Object.defineProperty(e2,"__esModule",{value:true}),r2.d(e2,"HighchartsReact",(function(){return d2}));var p2=r2(1),l2=r2.n(p2),y2="undefined"!=typeof window?p2.useLayoutEffect:p2.useEffect,d2=Object(p2.memo)(Object(p2.forwardRef)((function(t4,e3){var r3=Object(p2.useRef)(),c3=Object(p2.useRef)(),u3=Object(p2.useRef)(t4.constructorType),i2=Object(p2.useRef)(t4.highcharts);return y2((function(){function e4(){var e5=t4.highcharts||"object"===("undefined"==typeof window?"undefined":s2(window))&&window.Highcharts,n4=t4.constructorType||"chart";e5?e5[n4]?t4.options?c3.current=e5[n4](r3.current,t4.options,t4.callback):console.warn('The "options" property was not passed.'):console.warn('The "constructorType" property is incorrect or some required module is not imported.'):console.warn('The "highcharts" property was not passed.')}if(c3.current){if(false!==t4.allowChartUpdate)if(t4.constructorType!==u3.current||t4.highcharts!==i2.current)u3.current=t4.constructorType,i2.current=t4.highcharts,e4();else if(!t4.immutable&&c3.current){var n3;(n3=c3.current).update.apply(n3,[t4.options].concat(o2(t4.updateArgs||[true,true])))}else e4()}else e4()}),[t4.options,t4.allowChartUpdate,t4.updateArgs,t4.containerProps,t4.highcharts,t4.constructorType]),y2((function(){return function(){c3.current&&(c3.current.destroy(),c3.current=null)}}),[]),Object(p2.useImperativeHandle)(e3,(function(){return{get chart(){return c3.current},container:r3}}),[]),l2.a.createElement("div",n2({},t4.containerProps,{ref:r3}))})));e2.default=d2},function(e2,r2){e2.exports=t2}])}))})(highchartsReact_min);var highchartsReact_minExports=highchartsReact_min.exports;const HighchartsReact=getDefaultExportFromCjs(highchartsReact_minExports);var highcharts={exports:{}};(function(module){!function(t2,e2){module.exports?(e2.default=e2,module.exports=t2&&t2.document?e2(t2):e2):(t2.Highcharts&&t2.Highcharts.error(16,true),t2.Highcharts=e2(t2))}("undefined"!=typeof window?window:commonjsGlobal,(function(t2){var e2={};function i(e3,i2,s2,r2){!e3.hasOwnProperty(i2)&&(e3[i2]=r2.apply(null,s2),t2&&"function"==typeof CustomEvent&&t2.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:i2,module:e3[i2]}})))}return i(e2,"Core/Globals.js",[],(function(){var e3,i2;return(i2=e3||(e3={})).SVG_NS="http://www.w3.org/2000/svg",i2.product="Highcharts",i2.version="11.4.8",i2.win=void 0!==t2?t2:{},i2.doc=i2.win.document,i2.svg=i2.doc&&i2.doc.createElementNS&&!!i2.doc.createElementNS(i2.SVG_NS,"svg").createSVGRect,i2.userAgent=i2.win.navigator&&i2.win.navigator.userAgent||"",i2.isChrome=i2.win.chrome,i2.isFirefox=-1!==i2.userAgent.indexOf("Firefox"),i2.isMS=/(edge|msie|trident)/i.test(i2.userAgent)&&!i2.win.opera,i2.isSafari=!i2.isChrome&&-1!==i2.userAgent.indexOf("Safari"),i2.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(i2.userAgent),i2.isWebKit=-1!==i2.userAgent.indexOf("AppleWebKit"),i2.deg2rad=2*Math.PI/360,i2.hasBidiBug=i2.isFirefox&&4>parseInt(i2.userAgent.split("Firefox/")[1],10),i2.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],i2.noop=function(){},i2.supportsPassiveEvents=function(){let t3=false;if(!i2.isMS){let e4=Object.defineProperty({},"passive",{get:function(){t3=true}});i2.win.addEventListener&&i2.win.removeEventListener&&(i2.win.addEventListener("testPassive",i2.noop,e4),i2.win.removeEventListener("testPassive",i2.noop,e4))}return t3}(),i2.charts=[],i2.composed=[],i2.dateFormats={},i2.seriesTypes={},i2.symbolSizes={},i2.chartCount=0,e3})),i(e2,"Core/Utilities.js",[e2["Core/Globals.js"]],(function(t3){let e3;let{charts:i2,doc:s2,win:r2}=t3;function o2(e4,i3,s3,n3){let a3=i3?"Highcharts error":"Highcharts warning";32===e4&&(e4=`${a3}: Deprecated member`);let h3=p2(e4),l3=h3?`${a3} #${e4}: www.highcharts.com/errors/${e4}/`:e4.toString();if(void 0!==n3){let t4="";h3&&(l3+="?"),C2(n3,(function(e5,i4){t4+=`\n - ${i4}: ${e5}`,h3&&(l3+=encodeURI(i4)+"="+encodeURI(e5))})),l3+=t4}M(t3,"displayError",{chart:s3,code:e4,message:l3,params:n3},(function(){if(i3)throw Error(l3);r2.console&&-1===o2.messages.indexOf(l3)&&console.warn(l3)})),o2.messages.push(l3)}function n2(t4,e4){return parseInt(t4,e4||10)}function a2(t4){return"string"==typeof t4}function h2(t4){let e4=Object.prototype.toString.call(t4);return"[object Array]"===e4||"[object Array Iterator]"===e4}function l2(t4,e4){return!!t4&&"object"==typeof t4&&(!e4||!h2(t4))}function d2(t4){return l2(t4)&&"number"==typeof t4.nodeType}function c2(t4){let e4=t4&&t4.constructor;return!!(l2(t4,true)&&!d2(t4)&&e4&&e4.name&&"Object"!==e4.name)}function p2(t4){return"number"==typeof t4&&!isNaN(t4)&&t4<1/0&&t4>-1/0}function u2(t4){return null!=t4}function g2(t4,e4,i3){let s3;let r3=a2(e4)&&!u2(i3),o3=(e5,i4)=>{u2(e5)?t4.setAttribute(i4,e5):r3?(s3=t4.getAttribute(i4))||"class"!==i4||(s3=t4.getAttribute(i4+"Name")):t4.removeAttribute(i4)};return a2(e4)?o3(i3,e4):C2(e4,o3),s3}function f2(t4){return h2(t4)?t4:[t4]}function m2(t4,e4){let i3;for(i3 in t4||(t4={}),e4)t4[i3]=e4[i3];return t4}function x2(){let t4=arguments,e4=t4.length;for(let i3=0;i3<e4;i3++){let e5=t4[i3];if(null!=e5)return e5}}function y2(t4,e4){m2(t4.style,e4)}function b2(t4){return Math.pow(10,Math.floor(Math.log(t4)/Math.LN10))}function v2(t4,e4){return t4>1e14?t4:parseFloat(t4.toPrecision(e4||14))}(o2||(o2={})).messages=[],Math.easeInOutSine=function(t4){return-.5*(Math.cos(Math.PI*t4)-1)};let S2=Array.prototype.find?function(t4,e4){return t4.find(e4)}:function(t4,e4){let i3;let s3=t4.length;for(i3=0;i3<s3;i3++)if(e4(t4[i3],i3))return t4[i3]};function C2(t4,e4,i3){for(let s3 in t4)Object.hasOwnProperty.call(t4,s3)&&e4.call(i3||t4[s3],t4[s3],s3,t4)}function k2(t4,e4,i3){function s3(e5,i4){let s4=t4.removeEventListener;s4&&s4.call(t4,e5,i4,false)}function r3(i4){let r4,o4;t4.nodeName&&(e4?(r4={})[e4]=true:r4=i4,C2(r4,(function(t5,e5){if(i4[e5])for(o4=i4[e5].length;o4--;)s3(e5,i4[e5][o4].fn)})))}let o3="function"==typeof t4&&t4.prototype||t4;if(Object.hasOwnProperty.call(o3,"hcEvents")){let t5=o3.hcEvents;if(e4){let o4=t5[e4]||[];i3?(t5[e4]=o4.filter((function(t6){return i3!==t6.fn})),s3(e4,i3)):(r3(t5),t5[e4]=[])}else r3(t5),delete o3.hcEvents}}function M(e4,i3,r3,o3){if(r3=r3||{},s2.createEvent&&(e4.dispatchEvent||e4.fireEvent&&e4!==t3)){let t4=s2.createEvent("Events");t4.initEvent(i3,true,true),r3=m2(t4,r3),e4.dispatchEvent?e4.dispatchEvent(r3):e4.fireEvent(i3,r3)}else if(e4.hcEvents){r3.target||m2(r3,{preventDefault:function(){r3.defaultPrevented=true},target:e4,type:i3});let t4=[],s3=e4,o4=false;for(;s3.hcEvents;)Object.hasOwnProperty.call(s3,"hcEvents")&&s3.hcEvents[i3]&&(t4.length&&(o4=true),t4.unshift.apply(t4,s3.hcEvents[i3])),s3=Object.getPrototypeOf(s3);o4&&t4.sort(((t5,e5)=>t5.order-e5.order)),t4.forEach((t5=>{false===t5.fn.call(e4,r3)&&r3.preventDefault()}))}o3&&!r3.defaultPrevented&&o3.call(e4,r3)}C2({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},(function(e4,i3){t3[i3]=function(t4){return o2(32,false,void 0,{[`Highcharts.${i3}`]:`use Array.${e4}`}),Array.prototype[e4].apply(t4,[].slice.call(arguments,1))}}));let w2=function(){let t4=Math.random().toString(36).substring(2,9)+"-",i3=0;return function(){return"highcharts-"+(e3?"":t4)+i3++}}();return r2.jQuery&&(r2.jQuery.fn.highcharts=function(){let e4=[].slice.call(arguments);if(this[0])return e4[0]?(new(t3[a2(e4[0])?e4.shift():"Chart"])(this[0],e4[0],e4[1]),this):i2[g2(this[0],"data-highcharts-chart")]}),{addEvent:function(e4,i3,s3,r3={}){let o3="function"==typeof e4&&e4.prototype||e4;Object.hasOwnProperty.call(o3,"hcEvents")||(o3.hcEvents={});let n3=o3.hcEvents;t3.Point&&e4 instanceof t3.Point&&e4.series&&e4.series.chart&&(e4.series.chart.runTrackerClick=true);let a3=e4.addEventListener;a3&&a3.call(e4,i3,s3,!!t3.supportsPassiveEvents&&{passive:void 0===r3.passive?-1!==i3.indexOf("touch"):r3.passive,capture:false}),n3[i3]||(n3[i3]=[]);let h3={fn:s3,order:"number"==typeof r3.order?r3.order:1/0};return n3[i3].push(h3),n3[i3].sort(((t4,e5)=>t4.order-e5.order)),function(){k2(e4,i3,s3)}},arrayMax:function(t4){let e4=t4.length,i3=t4[0];for(;e4--;)t4[e4]>i3&&(i3=t4[e4]);return i3},arrayMin:function(t4){let e4=t4.length,i3=t4[0];for(;e4--;)t4[e4]<i3&&(i3=t4[e4]);return i3},attr:g2,clamp:function(t4,e4,i3){return t4>e4?t4<i3?t4:i3:e4},clearTimeout:function(t4){u2(t4)&&clearTimeout(t4)},correctFloat:v2,createElement:function(t4,e4,i3,r3,o3){let n3=s2.createElement(t4);return e4&&m2(n3,e4),o3&&y2(n3,{padding:"0",border:"none",margin:"0"}),i3&&y2(n3,i3),r3&&r3.appendChild(n3),n3},crisp:(t4,e4=0,i3)=>{let s3=e4%2/2,r3=i3?-1:1;return(Math.round(t4*r3-s3)+s3)*r3},css:y2,defined:u2,destroyObjectProperties:function(t4,e4,i3){C2(t4,(function(s3,r3){s3!==e4&&(s3==null?void 0:s3.destroy)&&s3.destroy(),((s3==null?void 0:s3.destroy)||!i3)&&delete t4[r3]}))},diffObjects:function(t4,e4,i3,s3){let r3={};return function t5(e5,r4,o3,n3){let a3=i3?r4:e5;C2(e5,(function(i4,d3){if(!n3&&s3&&s3.indexOf(d3)>-1&&r4[d3]){i4=f2(i4),o3[d3]=[];for(let e6=0;e6<Math.max(i4.length,r4[d3].length);e6++)r4[d3][e6]&&(void 0===i4[e6]?o3[d3][e6]=r4[d3][e6]:(o3[d3][e6]={},t5(i4[e6],r4[d3][e6],o3[d3][e6],n3+1)))}else l2(i4,true)&&!i4.nodeType?(o3[d3]=h2(i4)?[]:{},t5(i4,r4[d3]||{},o3[d3],n3+1),0!==Object.keys(o3[d3]).length||"colorAxis"===d3&&0===n3||delete o3[d3]):(e5[d3]!==r4[d3]||d3 in e5&&!(d3 in r4))&&"__proto__"!==d3&&"constructor"!==d3&&(o3[d3]=a3[d3])}))}(t4,e4,r3,0),r3},discardElement:function(t4){t4&&t4.parentElement&&t4.parentElement.removeChild(t4)},erase:function(t4,e4){let i3=t4.length;for(;i3--;)if(t4[i3]===e4){t4.splice(i3,1);break}},error:o2,extend:m2,extendClass:function(t4,e4){let i3=function(){};return i3.prototype=new t4,m2(i3.prototype,e4),i3},find:S2,fireEvent:M,getClosestDistance:function(t4,e4){let i3,r3,o3;let n3=!e4;return t4.forEach((t5=>{if(t5.length>1)for(o3=t5.length-1;o3>0;o3--)(r3=t5[o3]-t5[o3-1])<0&&!n3?(e4==null?void 0:e4(),e4=void 0):r3&&(void 0===i3||r3<i3)&&(i3=r3)})),i3},getMagnitude:b2,getNestedProperty:function(t4,e4){let i3=t4.split(".");for(;i3.length&&u2(e4);){let t5=i3.shift();if(void 0===t5||"__proto__"===t5)return;if("this"===t5){let t6;return l2(e4)&&(t6=e4["@this"]),t6??e4}let s3=e4[t5];if(!u2(s3)||"function"==typeof s3||"number"==typeof s3.nodeType||s3===r2)return;e4=s3}return e4},getStyle:function t4(e4,i3,s3){let o3;if("width"===i3){let i4=Math.min(e4.offsetWidth,e4.scrollWidth),s4=e4.getBoundingClientRect&&e4.getBoundingClientRect().width;return s4<i4&&s4>=i4-1&&(i4=Math.floor(s4)),Math.max(0,i4-(t4(e4,"padding-left",true)||0)-(t4(e4,"padding-right",true)||0))}if("height"===i3)return Math.max(0,Math.min(e4.offsetHeight,e4.scrollHeight)-(t4(e4,"padding-top",true)||0)-(t4(e4,"padding-bottom",true)||0));let a3=r2.getComputedStyle(e4,void 0);return a3&&(o3=a3.getPropertyValue(i3),x2(s3,"opacity"!==i3)&&(o3=n2(o3))),o3},inArray:function(t4,e4,i3){return o2(32,false,void 0,{"Highcharts.inArray":"use Array.indexOf"}),e4.indexOf(t4,i3)},insertItem:function(t4,e4){let i3;let s3=t4.options.index,r3=e4.length;for(i3=t4.options.isInternal?r3:0;i3<r3+1;i3++)if(!e4[i3]||p2(s3)&&s3<x2(e4[i3].options.index,e4[i3]._i)||e4[i3].options.isInternal){e4.splice(i3,0,t4);break}return i3},isArray:h2,isClass:c2,isDOMElement:d2,isFunction:function(t4){return"function"==typeof t4},isNumber:p2,isObject:l2,isString:a2,keys:function(t4){return o2(32,false,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t4)},merge:function(){let t4,e4=arguments,i3={},s3=function(t5,e5){return"object"!=typeof t5&&(t5={}),C2(e5,(function(i4,r4){"__proto__"!==r4&&"constructor"!==r4&&(!l2(i4,true)||c2(i4)||d2(i4)?t5[r4]=e5[r4]:t5[r4]=s3(t5[r4]||{},i4))})),t5};true===e4[0]&&(i3=e4[1],e4=Array.prototype.slice.call(e4,2));let r3=e4.length;for(t4=0;t4<r3;t4++)i3=s3(i3,e4[t4]);return i3},normalizeTickInterval:function(t4,e4,i3,s3,r3){let o3,n3=t4;i3=x2(i3,b2(t4));let a3=t4/i3;for(!e4&&(e4=r3?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],false===s3&&(1===i3?e4=e4.filter((function(t5){return t5%1==0})):i3<=.1&&(e4=[1/i3]))),o3=0;o3<e4.length&&(n3=e4[o3],(!r3||!(n3*i3>=t4))&&(r3||!(a3<=(e4[o3]+(e4[o3+1]||e4[o3]))/2)));o3++);return v2(n3*i3,-Math.round(Math.log(.001)/Math.LN10))},objectEach:C2,offset:function(t4){let e4=s2.documentElement,i3=t4.parentElement||t4.parentNode?t4.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:i3.top+(r2.pageYOffset||e4.scrollTop)-(e4.clientTop||0),left:i3.left+(r2.pageXOffset||e4.scrollLeft)-(e4.clientLeft||0),width:i3.width,height:i3.height}},pad:function(t4,e4,i3){return Array((e4||2)+1-String(t4).replace("-","").length).join(i3||"0")+t4},pick:x2,pInt:n2,pushUnique:function(t4,e4){return 0>t4.indexOf(e4)&&!!t4.push(e4)},relativeLength:function(t4,e4,i3){return/%$/.test(t4)?e4*parseFloat(t4)/100+(i3||0):parseFloat(t4)},removeEvent:k2,replaceNested:function(t4,...e4){let i3,s3;do{for(s3 of(i3=t4,e4))t4=t4.replace(s3[0],s3[1])}while(t4!==i3);return t4},splat:f2,stableSort:function(t4,e4){let i3,s3;let r3=t4.length;for(s3=0;s3<r3;s3++)t4[s3].safeI=s3;for(t4.sort((function(t5,s4){return 0===(i3=e4(t5,s4))?t5.safeI-s4.safeI:i3})),s3=0;s3<r3;s3++)delete t4[s3].safeI},syncTimeout:function(t4,e4,i3){return e4>0?setTimeout(t4,e4,i3):(t4.call(0,i3),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:w2,useSerialIds:function(t4){return e3=x2(t4,e3)},wrap:function(t4,e4,i3){let s3=t4[e4];t4[e4]=function(){let t5=arguments,e5=this;return i3.apply(this,[function(){return s3.apply(e5,arguments.length?arguments:t5)}].concat([].slice.call(arguments)))}}}})),i(e2,"Core/Chart/ChartDefaults.js",[],(function(){return{alignThresholds:false,panning:{enabled:false,type:"x"},styledMode:false,borderRadius:0,colorCount:10,allowMutatingData:true,ignoreHiddenSeries:true,spacing:[10,10,15,10],resetZoomButton:{theme:{},position:{}},reflow:true,type:"line",zooming:{singleTouch:false,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"#334eff",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}})),i(e2,"Core/Color/Palettes.js",[],(function(){return{colors:["#2caffe","#544fc5","#00e272","#fe6a35","#6b8abc","#d568fb","#2ee0ca","#fa4b42","#feb56a","#91e8e1"]}})),i(e2,"Core/Time.js",[e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{win:i2}=t3,{defined:s2,error:r2,extend:o2,isNumber:n2,isObject:a2,merge:h2,objectEach:l2,pad:d2,pick:c2,splat:p2,timeUnits:u2}=e3,g2=t3.isSafari&&i2.Intl&&i2.Intl.DateTimeFormat.prototype.formatRange,f2=t3.isSafari&&i2.Intl&&!i2.Intl.DateTimeFormat.prototype.formatRange;class m2{constructor(t4){this.options={},this.useUTC=false,this.variableTimezone=false,this.Date=i2.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(t4)}get(t4,e4){if(this.variableTimezone||this.timezoneOffset){let i3=e4.getTime(),s3=i3-this.getTimezoneOffset(e4);e4.setTime(s3);let r3=e4["getUTC"+t4]();return e4.setTime(i3),r3}return this.useUTC?e4["getUTC"+t4]():e4["get"+t4]()}set(t4,e4,i3){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===t4||"Seconds"===t4||"Minutes"===t4&&this.getTimezoneOffset(e4)%36e5==0)return e4["setUTC"+t4](i3);let s3=this.getTimezoneOffset(e4),r3=e4.getTime()-s3;e4.setTime(r3),e4["setUTC"+t4](i3);let o3=this.getTimezoneOffset(e4);return r3=e4.getTime()+o3,e4.setTime(r3)}return this.useUTC||g2&&"FullYear"===t4?e4["setUTC"+t4](i3):e4["set"+t4](i3)}update(t4={}){let e4=c2(t4.useUTC,true);this.options=t4=h2(true,this.options,t4),this.Date=t4.Date||i2.Date||Date,this.useUTC=e4,this.timezoneOffset=e4&&t4.timezoneOffset||void 0,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=e4&&!!(t4.getTimezoneOffset||t4.timezone)}makeTime(t4,e4,i3,s3,r3,o3){let n3,a3,h3;return this.useUTC?(n3=this.Date.UTC.apply(0,arguments),a3=this.getTimezoneOffset(n3),n3+=a3,a3!==(h3=this.getTimezoneOffset(n3))?n3+=h3-a3:a3-36e5!==this.getTimezoneOffset(n3-36e5)||f2||(n3-=36e5)):n3=new this.Date(t4,e4,c2(i3,1),c2(s3,0),c2(r3,0),c2(o3,0)).getTime(),n3}timezoneOffsetFunction(){let t4=this,e4=this.options,i3=e4.getTimezoneOffset;return this.useUTC?e4.timezone?t5=>{try{let i4=`shortOffset,${e4.timezone||""}`,[s3,r3,o3,a3,h3=0]=(m2.formatCache[i4]=m2.formatCache[i4]||Intl.DateTimeFormat("en",{timeZone:e4.timezone,timeZoneName:"shortOffset"})).format(t5).split(/(GMT|:)/).map(Number),l3=-(36e5*(o3+h3/60));if(n2(l3))return l3}catch(t6){r2(34)}return 0}:this.useUTC&&i3?t5=>6e4*i3(t5.valueOf()):()=>6e4*(t4.timezoneOffset||0):t5=>6e4*new Date(t5.toString()).getTimezoneOffset()}dateFormat(e4,i3,r3){if(!s2(i3)||isNaN(i3))return t3.defaultOptions.lang&&t3.defaultOptions.lang.invalidDate||"";e4=c2(e4,"%Y-%m-%d %H:%M:%S");let n3=this,a3=new this.Date(i3),h3=this.get("Hours",a3),p3=this.get("Day",a3),u3=this.get("Date",a3),g3=this.get("Month",a3),f3=this.get("FullYear",a3),m3=t3.defaultOptions.lang,x2=m3&&m3.weekdays,y2=m3&&m3.shortWeekdays;return l2(o2({a:y2?y2[p3]:x2[p3].substr(0,3),A:x2[p3],d:d2(u3),e:d2(u3,2," "),w:p3,b:m3.shortMonths[g3],B:m3.months[g3],m:d2(g3+1),o:g3+1,y:f3.toString().substr(2,2),Y:f3,H:d2(h3),k:h3,I:d2(h3%12||12),l:h3%12||12,M:d2(this.get("Minutes",a3)),p:h3<12?"AM":"PM",P:h3<12?"am":"pm",S:d2(this.get("Seconds",a3)),L:d2(Math.floor(i3%1e3),3)},t3.dateFormats),(function(t4,s3){for(;-1!==e4.indexOf("%"+s3);)e4=e4.replace("%"+s3,"function"==typeof t4?t4.call(n3,i3):t4)})),r3?e4.substr(0,1).toUpperCase()+e4.substr(1):e4}resolveDTLFormat(t4){return a2(t4,true)?t4:{main:(t4=p2(t4))[0],from:t4[1],to:t4[2]}}getTimeTicks(t4,e4,i3,r3){let n3,a3,h3,l3;let d3=this,p3=d3.Date,g3=[],f3={},m3=new p3(e4),x2=t4.unitRange,y2=t4.count||1;if(r3=c2(r3,1),s2(e4)){d3.set("Milliseconds",m3,x2>=u2.second?0:y2*Math.floor(d3.get("Milliseconds",m3)/y2)),x2>=u2.second&&d3.set("Seconds",m3,x2>=u2.minute?0:y2*Math.floor(d3.get("Seconds",m3)/y2)),x2>=u2.minute&&d3.set("Minutes",m3,x2>=u2.hour?0:y2*Math.floor(d3.get("Minutes",m3)/y2)),x2>=u2.hour&&d3.set("Hours",m3,x2>=u2.day?0:y2*Math.floor(d3.get("Hours",m3)/y2)),x2>=u2.day&&d3.set("Date",m3,x2>=u2.month?1:Math.max(1,y2*Math.floor(d3.get("Date",m3)/y2))),x2>=u2.month&&(d3.set("Month",m3,x2>=u2.year?0:y2*Math.floor(d3.get("Month",m3)/y2)),a3=d3.get("FullYear",m3)),x2>=u2.year&&(a3-=a3%y2,d3.set("FullYear",m3,a3)),x2===u2.week&&(l3=d3.get("Day",m3),d3.set("Date",m3,d3.get("Date",m3)-l3+r3+(l3<r3?-7:0))),a3=d3.get("FullYear",m3);let t5=d3.get("Month",m3),o3=d3.get("Date",m3),c3=d3.get("Hours",m3);e4=m3.getTime(),(d3.variableTimezone||!d3.useUTC)&&s2(i3)&&(h3=i3-e4>4*u2.month||d3.getTimezoneOffset(e4)!==d3.getTimezoneOffset(i3));let p4=m3.getTime();for(n3=1;p4<i3;)g3.push(p4),x2===u2.year?p4=d3.makeTime(a3+n3*y2,0):x2===u2.month?p4=d3.makeTime(a3,t5+n3*y2):h3&&(x2===u2.day||x2===u2.week)?p4=d3.makeTime(a3,t5,o3+n3*y2*(x2===u2.day?1:7)):h3&&x2===u2.hour&&y2>1?p4=d3.makeTime(a3,t5,o3,c3+n3*y2):p4+=x2*y2,n3++;g3.push(p4),x2<=u2.hour&&g3.length<1e4&&g3.forEach((function(t6){t6%18e5==0&&"000000000"===d3.dateFormat("%H%M%S%L",t6)&&(f3[t6]="day")}))}return g3.info=o2(t4,{higherRanks:f3,totalRange:x2*y2}),g3}getDateFormat(t4,e4,i3,s3){let r3=this.dateFormat("%m-%d %H:%M:%S.%L",e4),o3="01-01 00:00:00.000",n3={millisecond:15,second:12,minute:9,hour:6,day:3},a3="millisecond",h3=a3;for(a3 in u2){if(t4===u2.week&&+this.dateFormat("%w",e4)===i3&&r3.substr(6)===o3.substr(6)){a3="week";break}if(u2[a3]>t4){a3=h3;break}if(n3[a3]&&r3.substr(n3[a3])!==o3.substr(n3[a3]))break;"week"!==a3&&(h3=a3)}return this.resolveDTLFormat(s3[a3]).main}}return m2.formatCache={},m2})),i(e2,"Core/Defaults.js",[e2["Core/Chart/ChartDefaults.js"],e2["Core/Globals.js"],e2["Core/Color/Palettes.js"],e2["Core/Time.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2){let{isTouchDevice:o2}=e3,{fireEvent:n2,merge:a2}=r2,h2={colors:i2.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],decimalPoint:".",numericSymbols:["k","M","G","T","P","E"],resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{buttonTheme:{fill:"#f7f7f7",padding:8,r:2,stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontSize:"0.8em",fontWeight:"normal"},states:{hover:{fill:"#e6e6e6"},select:{fill:"#e6e9ff",style:{color:"#000000",fontWeight:"bold"}},disabled:{style:{color:"#cccccc"}}}}},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:true},chart:t3,title:{style:{color:"#333333",fontWeight:"bold"},text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{style:{color:"#666666",fontSize:"0.8em"},text:"",align:"center",widthAdjust:-44},caption:{margin:15,style:{color:"#666666",fontSize:"0.8em"},text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},legend:{enabled:true,align:"center",alignColumns:true,className:"highcharts-no-tooltip",events:{},layout:"horizontal",itemMarginBottom:2,itemMarginTop:2,labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{style:{fontSize:"0.8em"},activeColor:"#0022ff",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"0.8em",textDecoration:"none",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#666666",textDecoration:"line-through"},shadow:false,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:true,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontSize:"0.8em",fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:true,animation:{duration:300,easing:t4=>Math.sqrt(1-Math.pow(t4-1,2))},borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %e %b, %H:%M:%S.%L",second:"%A, %e %b, %H:%M:%S",minute:"%A, %e %b, %H:%M",hour:"%A, %e %b, %H:%M",day:"%A, %e %b %Y",week:"Week from %A, %e %b %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:false,snap:o2?25:10,headerFormat:'<span style="font-size: 0.8em">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:"#ffffff",borderWidth:void 0,shadow:true,stickOnContact:false,style:{color:"#333333",cursor:"default",fontSize:"0.8em"},useHTML:false},credits:{enabled:true,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"0.6em"},text:"Highcharts.com"}};h2.chart.styledMode=false;let l2=new s2(h2.time);return{defaultOptions:h2,defaultTime:l2,getOptions:function(){return h2},setOptions:function(t4){return n2(e3,"setOptions",{options:t4}),a2(true,h2,t4),(t4.time||t4.global)&&(e3.time?e3.time.update(a2(h2.global,h2.time,t4.global,t4.time)):e3.time=l2),h2}}})),i(e2,"Core/Color/Color.js",[e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{isNumber:i2,merge:s2,pInt:r2}=e3;class o2{static parse(t4){return t4?new o2(t4):o2.None}constructor(e4){let i3,s3,r3,n2;this.rgba=[NaN,NaN,NaN,NaN],this.input=e4;let a2=t3.Color;if(a2&&a2!==o2)return new a2(e4);if("object"==typeof e4&&void 0!==e4.stops)this.stops=e4.stops.map((t4=>new o2(t4[1])));else if("string"==typeof e4){if(this.input=e4=o2.names[e4.toLowerCase()]||e4,"#"===e4.charAt(0)){let t4=e4.length,i4=parseInt(e4.substr(1),16);7===t4?s3=[(16711680&i4)>>16,(65280&i4)>>8,255&i4,1]:4===t4&&(s3=[(3840&i4)>>4|(3840&i4)>>8,(240&i4)>>4|240&i4,(15&i4)<<4|15&i4,1])}if(!s3)for(r3=o2.parsers.length;r3--&&!s3;)(i3=(n2=o2.parsers[r3]).regex.exec(e4))&&(s3=n2.parse(i3))}s3&&(this.rgba=s3)}get(t4){let e4=this.input,r3=this.rgba;if("object"==typeof e4&&void 0!==this.stops){let i3=s2(e4);return i3.stops=[].slice.call(i3.stops),this.stops.forEach(((e5,s3)=>{i3.stops[s3]=[i3.stops[s3][0],e5.get(t4)]})),i3}return r3&&i2(r3[0])?"rgb"!==t4&&(t4||1!==r3[3])?"a"===t4?`${r3[3]}`:"rgba("+r3.join(",")+")":"rgb("+r3[0]+","+r3[1]+","+r3[2]+")":e4}brighten(t4){let e4=this.rgba;if(this.stops)this.stops.forEach((function(e5){e5.brighten(t4)}));else if(i2(t4)&&0!==t4)for(let i3=0;i3<3;i3++)e4[i3]+=r2(255*t4),e4[i3]<0&&(e4[i3]=0),e4[i3]>255&&(e4[i3]=255);return this}setOpacity(t4){return this.rgba[3]=t4,this}tweenTo(t4,e4){let s3=this.rgba,r3=t4.rgba;if(!i2(s3[0])||!i2(r3[0]))return t4.input||"none";let o3=1!==r3[3]||1!==s3[3];return(o3?"rgba(":"rgb(")+Math.round(r3[0]+(s3[0]-r3[0])*(1-e4))+","+Math.round(r3[1]+(s3[1]-r3[1])*(1-e4))+","+Math.round(r3[2]+(s3[2]-r3[2])*(1-e4))+(o3?","+(r3[3]+(s3[3]-r3[3])*(1-e4)):"")+")"}}return o2.names={white:"#ffffff",black:"#000000"},o2.parsers=[{regex:/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?(?:\.\d+)?)\s*\)/,parse:function(t4){return[r2(t4[1]),r2(t4[2]),r2(t4[3]),parseFloat(t4[4],10)]}},{regex:/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,parse:function(t4){return[r2(t4[1]),r2(t4[2]),r2(t4[3]),1]}}],o2.None=new o2(""),o2})),i(e2,"Core/Animation/Fx.js",[e2["Core/Color/Color.js"],e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{parse:s2}=t3,{win:r2}=e3,{isNumber:o2,objectEach:n2}=i2;class a2{constructor(t4,e4,i3){this.pos=NaN,this.options=e4,this.elem=t4,this.prop=i3}dSetter(){let t4=this.paths,e4=t4&&t4[0],i3=t4&&t4[1],s3=this.now||0,r3=[];if(1!==s3&&e4&&i3){if(e4.length===i3.length&&s3<1)for(let t5=0;t5<i3.length;t5++){let n3=e4[t5],a3=i3[t5],h2=[];for(let t6=0;t6<a3.length;t6++){let e5=n3[t6],i4=a3[t6];o2(e5)&&o2(i4)&&!("A"===a3[0]&&(4===t6||5===t6))?h2[t6]=e5+s3*(i4-e5):h2[t6]=i4}r3.push(h2)}else r3=i3}else r3=this.toD||[];this.elem.attr("d",r3,void 0,true)}update(){let t4=this.elem,e4=this.prop,i3=this.now,s3=this.options.step;this[e4+"Setter"]?this[e4+"Setter"]():t4.attr?t4.element&&t4.attr(e4,i3,null,true):t4.style[e4]=i3+this.unit,s3&&s3.call(t4,i3,this)}run(t4,e4,i3){let s3=this,o3=s3.options,n3=function(t5){return!n3.stopped&&s3.step(t5)},h2=r2.requestAnimationFrame||function(t5){setTimeout(t5,13)},l2=function(){for(let t5=0;t5<a2.timers.length;t5++)a2.timers[t5]()||a2.timers.splice(t5--,1);a2.timers.length&&h2(l2)};t4!==e4||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=t4,this.end=e4,this.unit=i3,this.now=this.start,this.pos=0,n3.elem=this.elem,n3.prop=this.prop,n3()&&1===a2.timers.push(n3)&&h2(l2)):(delete o3.curAnim[this.prop],o3.complete&&0===Object.keys(o3.curAnim).length&&o3.complete.call(this.elem))}step(t4){let e4,i3;let s3=+new Date,r3=this.options,o3=this.elem,a3=r3.complete,h2=r3.duration,l2=r3.curAnim;return o3.attr&&!o3.element?e4=false:t4||s3>=h2+this.startTime?(this.now=this.end,this.pos=1,this.update(),l2[this.prop]=true,i3=true,n2(l2,(function(t5){true!==t5&&(i3=false)})),i3&&a3&&a3.call(o3),e4=false):(this.pos=r3.easing((s3-this.startTime)/h2),this.now=this.start+(this.end-this.start)*this.pos,this.update(),e4=true),e4}initPath(t4,e4,i3){let s3=t4.startX,r3=t4.endX,n3=i3.slice(),a3=t4.isArea,h2=a3?2:1,l2=e4&&i3.length>e4.length&&i3.hasStackedCliffs,d2,c2,p2,u2,g2=e4&&e4.slice();if(!g2||l2)return[n3,n3];function f2(t5,e5){for(;t5.length<c2;){let i4=t5[0],s4=e5[c2-t5.length];if(s4&&"M"===i4[0]&&("C"===s4[0]?t5[0]=["C",i4[1],i4[2],i4[1],i4[2],i4[1],i4[2]]:t5[0]=["L",i4[1],i4[2]]),t5.unshift(i4),a3){let e6=t5.pop();t5.push(t5[t5.length-1],e6)}}}function m2(t5){for(;t5.length<c2;){let e5=t5[Math.floor(t5.length/h2)-1].slice();if("C"===e5[0]&&(e5[1]=e5[5],e5[2]=e5[6]),a3){let i4=t5[Math.floor(t5.length/h2)].slice();t5.splice(t5.length/2,0,e5,i4)}else t5.push(e5)}}if(s3&&r3&&r3.length){for(p2=0;p2<s3.length;p2++){if(s3[p2]===r3[0]){d2=p2;break}if(s3[0]===r3[r3.length-s3.length+p2]){d2=p2,u2=true;break}if(s3[s3.length-1]===r3[r3.length-s3.length+p2]){d2=s3.length-p2;break}}void 0===d2&&(g2=[])}return g2.length&&o2(d2)&&(c2=n3.length+d2*h2,u2?(f2(g2,n3),m2(n3)):(f2(n3,g2),m2(g2))),[g2,n3]}fillSetter(){a2.prototype.strokeSetter.apply(this,arguments)}strokeSetter(){this.elem.attr(this.prop,s2(this.start).tweenTo(s2(this.end),this.pos),void 0,true)}}return a2.timers=[],a2})),i(e2,"Core/Animation/AnimationUtilities.js",[e2["Core/Animation/Fx.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{defined:i2,getStyle:s2,isArray:r2,isNumber:o2,isObject:n2,merge:a2,objectEach:h2,pick:l2}=e3;function d2(t4){return n2(t4)?a2({duration:500,defer:0},t4):{duration:t4?500:0,defer:0}}function c2(e4,i3){let s3=t3.timers.length;for(;s3--;)t3.timers[s3].elem!==e4||i3&&i3!==t3.timers[s3].prop||(t3.timers[s3].stopped=true)}return{animate:function(e4,i3,l3){let d3,p2="",u2,g2,f2;n2(l3)||(f2=arguments,l3={duration:f2[2],easing:f2[3],complete:f2[4]}),o2(l3.duration)||(l3.duration=400),l3.easing="function"==typeof l3.easing?l3.easing:Math[l3.easing]||Math.easeInOutSine,l3.curAnim=a2(i3),h2(i3,(function(o3,n3){c2(e4,n3),g2=new t3(e4,l3,n3),u2=void 0,"d"===n3&&r2(i3.d)?(g2.paths=g2.initPath(e4,e4.pathArray,i3.d),g2.toD=i3.d,d3=0,u2=1):e4.attr?d3=e4.attr(n3):(d3=parseFloat(s2(e4,n3))||0,"opacity"!==n3&&(p2="px")),u2||(u2=o3),"string"==typeof u2&&u2.match("px")&&(u2=u2.replace(/px/g,"")),g2.run(d3,u2,p2)}))},animObject:d2,getDeferredAnimation:function(t4,e4,s3){let r3=d2(e4),o3=s3?[s3]:t4.series,a3=0,h3=0;return o3.forEach((t5=>{let s4=d2(t5.options.animation);a3=n2(e4)&&i2(e4.defer)?r3.defer:Math.max(a3,s4.duration+s4.defer),h3=Math.min(r3.duration,s4.duration)})),t4.renderer.forExport&&(a3=0),{defer:Math.max(0,a3-h3),duration:Math.min(a3,h3)}},setAnimation:function(t4,e4){e4.renderer.globalAnimation=l2(t4,e4.options.chart.animation,true)},stop:c2}})),i(e2,"Core/Renderer/HTML/AST.js",[e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{SVG_NS:i2,win:s2}=t3,{attr:r2,createElement:o2,css:n2,error:a2,isFunction:h2,isString:l2,objectEach:d2,splat:c2}=e3,{trustedTypes:p2}=s2,u2=p2&&h2(p2.createPolicy)&&p2.createPolicy("highcharts",{createHTML:t4=>t4}),g2=u2?u2.createHTML(""):"",f2=function(){try{return!!(new DOMParser).parseFromString(g2,"text/html")}catch(t4){return false}}();class m2{static filterUserAttributes(t4){return d2(t4,((e4,i3)=>{let s3=true;-1===m2.allowedAttributes.indexOf(i3)&&(s3=false),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(i3)&&(s3=l2(e4)&&m2.allowedReferences.some((t5=>0===e4.indexOf(t5)))),s3||(a2(33,false,void 0,{"Invalid attribute in config":`${i3}`}),delete t4[i3]),l2(e4)&&t4[i3]&&(t4[i3]=e4.replace(/</g,"<"))})),t4}static parseStyle(t4){return t4.split(";").reduce(((t5,e4)=>{let i3=e4.split(":").map((t6=>t6.trim())),s3=i3.shift();return s3&&i3.length&&(t5[s3.replace(/-([a-z])/g,(t6=>t6[1].toUpperCase()))]=i3.join(":")),t5}),{})}static setElementHTML(t4,e4){t4.innerHTML=m2.emptyHTML,e4&&new m2(e4).addToDOM(t4)}constructor(t4){this.nodes="string"==typeof t4?this.parseMarkup(t4):t4}addToDOM(e4){return function e5(s3,o3){let h3;return c2(s3).forEach((function(s4){let l3;let c3=s4.tagName,p3=s4.textContent?t3.doc.createTextNode(s4.textContent):void 0,u3=m2.bypassHTMLFiltering;if(c3){if("#text"===c3)l3=p3;else if(-1!==m2.allowedTags.indexOf(c3)||u3){let a3="svg"===c3?i2:o3.namespaceURI||i2,h4=t3.doc.createElementNS(a3,c3),g3=s4.attributes||{};d2(s4,(function(t4,e6){"tagName"!==e6&&"attributes"!==e6&&"children"!==e6&&"style"!==e6&&"textContent"!==e6&&(g3[e6]=t4)})),r2(h4,u3?g3:m2.filterUserAttributes(g3)),s4.style&&n2(h4,s4.style),p3&&h4.appendChild(p3),e5(s4.children||[],h4),l3=h4}else a2(33,false,void 0,{"Invalid tagName in config":c3})}l3&&o3.appendChild(l3),h3=l3})),h3}(this.nodes,e4)}parseMarkup(t4){let e4;let i3=[];if(t4=t4.trim().replace(/ style=(["'])/g," data-style=$1"),f2)e4=(new DOMParser).parseFromString(u2?u2.createHTML(t4):t4,"text/html");else{let i4=o2("div");i4.innerHTML=t4,e4={body:i4}}let s3=(t5,e5)=>{let i4=t5.nodeName.toLowerCase(),r3={tagName:i4};"#text"===i4&&(r3.textContent=t5.textContent||"");let o3=t5.attributes;if(o3){let t6={};[].forEach.call(o3,(e6=>{"data-style"===e6.name?r3.style=m2.parseStyle(e6.value):t6[e6.name]=e6.value})),r3.attributes=t6}if(t5.childNodes.length){let e6=[];[].forEach.call(t5.childNodes,(t6=>{s3(t6,e6)})),e6.length&&(r3.children=e6)}e5.push(r3)};return[].forEach.call(e4.body.childNodes,(t5=>s3(t5,i3))),i3}}return m2.allowedAttributes=["alt","aria-controls","aria-describedby","aria-expanded","aria-haspopup","aria-hidden","aria-label","aria-labelledby","aria-live","aria-pressed","aria-readonly","aria-roledescription","aria-selected","class","clip-path","color","colspan","cx","cy","d","dx","dy","disabled","fill","filterUnits","flood-color","flood-opacity","height","href","id","in","in2","markerHeight","markerWidth","offset","opacity","operator","orient","padding","paddingLeft","paddingRight","patternUnits","r","radius","refX","refY","role","scope","slope","src","startOffset","stdDeviation","stroke","stroke-linecap","stroke-width","style","tableValues","result","rowspan","summary","target","tabindex","text-align","text-anchor","textAnchor","textLength","title","type","valign","width","x","x1","x2","xlink:href","y","y1","y2","zIndex"],m2.allowedReferences=["https://","http://","mailto:","/","../","./","#"],m2.allowedTags=["a","abbr","b","br","button","caption","circle","clipPath","code","dd","defs","div","dl","dt","em","feComponentTransfer","feComposite","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMorphology","feOffset","feMerge","feMergeNode","filter","h1","h2","h3","h4","h5","h6","hr","i","img","li","linearGradient","marker","ol","p","path","pattern","pre","rect","small","span","stop","strong","style","sub","sup","svg","table","text","textPath","thead","title","tbody","tspan","td","th","tr","u","ul","#text"],m2.emptyHTML=g2,m2.bypassHTMLFiltering=false,m2})),i(e2,"Core/Templating.js",[e2["Core/Defaults.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{defaultOptions:i2,defaultTime:s2}=t3,{extend:r2,getNestedProperty:o2,isArray:n2,isNumber:a2,isObject:h2,pick:l2,pInt:d2}=e3,c2={add:(t4,e4)=>t4+e4,divide:(t4,e4)=>0!==e4?t4/e4:"",eq:(t4,e4)=>t4==e4,each:function(t4){let e4=arguments[arguments.length-1];return!!n2(t4)&&t4.map(((i3,s3)=>p2(e4.body,r2(h2(i3)?i3:{"@this":i3},{"@index":s3,"@first":0===s3,"@last":s3===t4.length-1})))).join("")},ge:(t4,e4)=>t4>=e4,gt:(t4,e4)=>t4>e4,if:t4=>!!t4,le:(t4,e4)=>t4<=e4,lt:(t4,e4)=>t4<e4,multiply:(t4,e4)=>t4*e4,ne:(t4,e4)=>t4!=e4,subtract:(t4,e4)=>t4-e4,unless:t4=>!t4};function p2(t4="",e4,r3){let n3=/\{([\w\:\.\,;\-\/<>%@"'’= #\(\)]+)\}/g,a3=/\(([\w\:\.\,;\-\/<>%@"'= ]+)\)/g,h3=[],d3=/f$/,g2=/\.(\d)/,f2=i2.lang,m2=r3&&r3.time||s2,x2=r3&&r3.numberFormatter||u2,y2=(t5="")=>{let i3;return"true"===t5||"false"!==t5&&((i3=Number(t5)).toString()===t5?i3:o2(t5,e4))},b2,v2,S2=0,C2;for(;null!==(b2=n3.exec(t4));){let i3=a3.exec(b2[1]);i3&&(b2=i3,C2=true),v2&&v2.isBlock||(v2={ctx:e4,expression:b2[1],find:b2[0],isBlock:"#"===b2[1].charAt(0),start:b2.index,startInner:b2.index+b2[0].length,length:b2[0].length});let s3=b2[1].split(" ")[0].replace("#","");c2[s3]&&(v2.isBlock&&s3===v2.fn&&S2++,v2.fn||(v2.fn=s3));let r4="else"===b2[1];if(v2.isBlock&&v2.fn&&(b2[1]===`/${v2.fn}`||r4)){if(S2)!r4&&S2--;else{let e5=v2.startInner,i4=t4.substr(e5,b2.index-e5);void 0===v2.body?(v2.body=i4,v2.startInner=b2.index+b2[0].length):v2.elseBody=i4,v2.find+=i4+b2[0],r4||(h3.push(v2),v2=void 0)}}else v2.isBlock||h3.push(v2);if(i3&&!(v2==null?void 0:v2.isBlock))break}return h3.forEach((i3=>{let s3,o3;let{body:n4,elseBody:a4,expression:h4,fn:u3}=i3;if(u3){let t5=[i3],l3=h4.split(" ");for(o3=c2[u3].length;o3--;)t5.unshift(y2(l3[o3+1]));s3=c2[u3].apply(e4,t5),i3.isBlock&&"boolean"==typeof s3&&(s3=p2(s3?n4:a4,e4,r3))}else{let t5=h4.split(":");if(s3=y2(t5.shift()||""),t5.length&&"number"==typeof s3){let e5=t5.join(":");if(d3.test(e5)){let t6=parseInt((e5.match(g2)||["","-1"])[1],10);null!==s3&&(s3=x2(s3,t6,f2.decimalPoint,e5.indexOf(",")>-1?f2.thousandsSep:""))}else s3=m2.dateFormat(e5,s3)}}t4=t4.replace(i3.find,l2(s3,""))})),C2?p2(t4,e4,r3):t4}function u2(t4,e4,s3,r3){let o3,n3;t4=+t4||0,e4=+e4;let h3=i2.lang,c3=(t4.toString().split(".")[1]||"").split("e")[0].length,p3=t4.toString().split("e"),u3=e4;-1===e4?e4=Math.min(c3,20):a2(e4)?e4&&p3[1]&&p3[1]<0&&((n3=e4+ +p3[1])>=0?(p3[0]=(+p3[0]).toExponential(n3).split("e")[0],e4=n3):(p3[0]=p3[0].split(".")[0]||0,t4=e4<20?(p3[0]*Math.pow(10,p3[1])).toFixed(e4):0,p3[1]=0)):e4=2;let g2=(Math.abs(p3[1]?p3[0]:t4)+Math.pow(10,-Math.max(e4,c3)-1)).toFixed(e4),f2=String(d2(g2)),m2=f2.length>3?f2.length%3:0;return s3=l2(s3,h3.decimalPoint),r3=l2(r3,h3.thousandsSep),o3=(t4<0?"-":"")+(m2?f2.substr(0,m2)+r3:""),0>+p3[1]&&!u3?o3="0":o3+=f2.substr(m2).replace(/(\d{3})(?=\d)/g,"$1"+r3),e4?o3+=s3+g2.slice(-e4):0==+o3&&(o3="0"),p3[1]&&0!=+o3&&(o3+="e"+p3[1]),o3}return{dateFormat:function(t4,e4,i3){return s2.dateFormat(t4,e4,i3)},format:p2,helpers:c2,numberFormat:u2}})),i(e2,"Core/Renderer/RendererRegistry.js",[e2["Core/Globals.js"]],(function(t3){var e3,i2;let s2;return(i2=e3||(e3={})).rendererTypes={},i2.getRendererType=function(t4=s2){return i2.rendererTypes[t4]||i2.rendererTypes[s2]},i2.registerRendererType=function(e4,r2,o2){i2.rendererTypes[e4]=r2,(!s2||o2)&&(s2=e4,t3.Renderer=r2)},e3})),i(e2,"Core/Renderer/RendererUtilities.js",[e2["Core/Utilities.js"]],(function(t3){var e3;let{clamp:i2,pick:s2,pushUnique:r2,stableSort:o2}=t3;return(e3||(e3={})).distribute=function t4(e4,n2,a2){let h2=e4,l2=h2.reducedLen||n2,d2=(t5,e5)=>t5.target-e5.target,c2=[],p2=e4.length,u2=[],g2=c2.push,f2,m2,x2,y2=true,b2,v2,S2=0,C2;for(f2=p2;f2--;)S2+=e4[f2].size;if(S2>l2){for(o2(e4,((t5,e5)=>(e5.rank||0)-(t5.rank||0))),x2=(C2=e4[0].rank===e4[e4.length-1].rank)?p2/2:-1,m2=C2?x2:p2-1;x2&&S2>l2;)b2=e4[f2=Math.floor(m2)],r2(u2,f2)&&(S2-=b2.size),m2+=x2,C2&&m2>=e4.length&&(x2/=2,m2=x2);u2.sort(((t5,e5)=>e5-t5)).forEach((t5=>g2.apply(c2,e4.splice(t5,1))))}for(o2(e4,d2),e4=e4.map((t5=>({size:t5.size,targets:[t5.target],align:s2(t5.align,.5)})));y2;){for(f2=e4.length;f2--;)b2=e4[f2],v2=(Math.min.apply(0,b2.targets)+Math.max.apply(0,b2.targets))/2,b2.pos=i2(v2-b2.size*b2.align,0,n2-b2.size);for(f2=e4.length,y2=false;f2--;)f2>0&&e4[f2-1].pos+e4[f2-1].size>e4[f2].pos&&(e4[f2-1].size+=e4[f2].size,e4[f2-1].targets=e4[f2-1].targets.concat(e4[f2].targets),e4[f2-1].align=.5,e4[f2-1].pos+e4[f2-1].size>n2&&(e4[f2-1].pos=n2-e4[f2-1].size),e4.splice(f2,1),y2=true)}return g2.apply(h2,c2),f2=0,e4.some((e5=>{let i3=0;return(e5.targets||[]).some((()=>(h2[f2].pos=e5.pos+i3,void 0!==a2&&Math.abs(h2[f2].pos-h2[f2].target)>a2)?(h2.slice(0,f2+1).forEach((t5=>delete t5.pos)),h2.reducedLen=(h2.reducedLen||n2)-.1*n2,h2.reducedLen>.1*n2&&t4(h2,n2,a2),true):(i3+=h2[f2].size,f2++,false)))})),o2(h2,d2),h2},e3})),i(e2,"Core/Renderer/SVG/SVGElement.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Color/Color.js"],e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){let{animate:r2,animObject:o2,stop:n2}=t3,{deg2rad:a2,doc:h2,svg:l2,SVG_NS:d2,win:c2}=i2,{addEvent:p2,attr:u2,createElement:g2,crisp:f2,css:m2,defined:x2,erase:y2,extend:b2,fireEvent:v2,isArray:S2,isFunction:C2,isObject:k2,isString:M,merge:w2,objectEach:T2,pick:A2,pInt:P,pushUnique:L2,replaceNested:O2,syncTimeout:D2,uniqueKey:E2}=s2;class I{_defaultGetter(t4){let e4=A2(this[t4+"Value"],this[t4],this.element?this.element.getAttribute(t4):null,0);return/^-?[\d\.]+$/.test(e4)&&(e4=parseFloat(e4)),e4}_defaultSetter(t4,e4,i3){i3.setAttribute(e4,t4)}add(t4){let e4;let i3=this.renderer,s3=this.element;return t4&&(this.parentGroup=t4),void 0!==this.textStr&&"text"===this.element.nodeName&&i3.buildText(this),this.added=true,(!t4||t4.handleZ||this.zIndex)&&(e4=this.zIndexSetter()),e4||(t4?t4.element:i3.box).appendChild(s3),this.onAdd&&this.onAdd(),this}addClass(t4,e4){let i3=e4?"":this.attr("class")||"";return(t4=(t4||"").split(/ /g).reduce((function(t5,e5){return-1===i3.indexOf(e5)&&t5.push(e5),t5}),i3?[i3]:[]).join(" "))!==i3&&this.attr("class",t4),this}afterSetters(){this.doTransform&&(this.updateTransform(),this.doTransform=false)}align(t4,e4,i3,s3=true){let r3,o3,n3,a3;let h3={},l3=this.renderer,d3=l3.alignedObjects,c3=!!t4;t4?(this.alignOptions=t4,this.alignByTranslate=e4,this.alignTo=i3):(t4=this.alignOptions||{},e4=this.alignByTranslate,i3=this.alignTo);let p3=!i3||M(i3)?i3||"renderer":void 0;p3&&(c3&&L2(d3,this),i3=void 0);let u3=A2(i3,l3[p3],l3),g3=t4.align,f3=t4.verticalAlign;return r3=(u3.x||0)+(t4.x||0),o3=(u3.y||0)+(t4.y||0),"right"===g3?n3=1:"center"===g3&&(n3=2),n3&&(r3+=((u3.width||0)-(t4.width||0))/n3),h3[e4?"translateX":"x"]=Math.round(r3),"bottom"===f3?a3=1:"middle"===f3&&(a3=2),a3&&(o3+=((u3.height||0)-(t4.height||0))/a3),h3[e4?"translateY":"y"]=Math.round(o3),s3&&(this[this.placed?"animate":"attr"](h3),this.placed=true),this.alignAttr=h3,this}alignSetter(t4){let e4={left:"start",center:"middle",right:"end"};e4[t4]&&(this.alignValue=t4,this.element.setAttribute("text-anchor",e4[t4]))}animate(t4,e4,i3){let s3=o2(A2(e4,this.renderer.globalAnimation,true)),n3=s3.defer;return h2.hidden&&(s3.duration=0),0!==s3.duration?(i3&&(s3.complete=i3),D2((()=>{this.element&&r2(this,t4,s3)}),n3)):(this.attr(t4,void 0,i3||s3.complete),T2(t4,(function(t5,e5){s3.step&&s3.step.call(this,t5,{prop:e5,pos:1,elem:this})}),this)),this}applyTextOutline(t4){let e4=this.element;-1!==t4.indexOf("contrast")&&(t4=t4.replace(/contrast/g,this.renderer.getContrast(e4.style.fill)));let s3=t4.split(" "),r3=s3[s3.length-1],o3=s3[0];if(o3&&"none"!==o3&&i2.svg){this.fakeTS=true,o3=o3.replace(/(^[\d\.]+)(.*?)$/g,(function(t6,e5,i4){return 2*Number(e5)+i4})),this.removeTextOutline();let t5=h2.createElementNS(d2,"tspan");u2(t5,{class:"highcharts-text-outline",fill:r3,stroke:r3,"stroke-width":o3,"stroke-linejoin":"round"});let i3=e4.querySelector("textPath")||e4;[].forEach.call(i3.childNodes,(e5=>{let i4=e5.cloneNode(true);i4.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach((t6=>i4.removeAttribute(t6))),t5.appendChild(i4)}));let s4=0;[].forEach.call(i3.querySelectorAll("text tspan"),(t6=>{s4+=Number(t6.getAttribute("dy"))}));let n3=h2.createElementNS(d2,"tspan");n3.textContent="",u2(n3,{x:Number(e4.getAttribute("x")),dy:-s4}),t5.appendChild(n3),i3.insertBefore(t5,i3.firstChild)}}attr(t4,e4,i3,s3){let{element:r3}=this,o3=I.symbolCustomAttribs,a3,h3,l3=this,d3;return"string"==typeof t4&&void 0!==e4&&(a3=t4,(t4={})[a3]=e4),"string"==typeof t4?l3=(this[t4+"Getter"]||this._defaultGetter).call(this,t4,r3):(T2(t4,(function(e5,i4){d3=false,s3||n2(this,i4),this.symbolName&&-1!==o3.indexOf(i4)&&(h3||(this.symbolAttr(t4),h3=true),d3=true),this.rotation&&("x"===i4||"y"===i4)&&(this.doTransform=true),d3||(this[i4+"Setter"]||this._defaultSetter).call(this,e5,i4,r3)}),this),this.afterSetters()),i3&&i3.call(this),l3}clip(t4){if(t4&&!t4.clipPath){let e4=E2()+"-",i3=this.renderer.createElement("clipPath").attr({id:e4}).add(this.renderer.defs);b2(t4,{clipPath:i3,id:e4,count:0}),t4.add(i3)}return this.attr("clip-path",t4?`url(${this.renderer.url}#${t4.id})`:"none")}crisp(t4,e4){e4=Math.round(e4||t4.strokeWidth||0);let i3=t4.x||this.x||0,s3=t4.y||this.y||0,r3=(t4.width||this.width||0)+i3,o3=(t4.height||this.height||0)+s3,n3=f2(i3,e4),a3=f2(s3,e4);return b2(t4,{x:n3,y:a3,width:f2(r3,e4)-n3,height:f2(o3,e4)-a3}),x2(t4.strokeWidth)&&(t4.strokeWidth=e4),t4}complexColor(t4,i3,s3){let r3=this.renderer,o3,n3,a3,h3,l3,d3,c3,p3,u3,g3,f3=[],m3;v2(this.renderer,"complexColor",{args:arguments},(function(){if(t4.radialGradient?n3="radialGradient":t4.linearGradient&&(n3="linearGradient"),n3){if(a3=t4[n3],l3=r3.gradients,d3=t4.stops,u3=s3.radialReference,S2(a3)&&(t4[n3]=a3={x1:a3[0],y1:a3[1],x2:a3[2],y2:a3[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===n3&&u3&&!x2(a3.gradientUnits)&&(h3=a3,a3=w2(a3,r3.getRadialAttr(u3,h3),{gradientUnits:"userSpaceOnUse"})),T2(a3,(function(t5,e4){"id"!==e4&&f3.push(e4,t5)})),T2(d3,(function(t5){f3.push(t5)})),l3[f3=f3.join(",")])g3=l3[f3].attr("id");else{a3.id=g3=E2();let t5=l3[f3]=r3.createElement(n3).attr(a3).add(r3.defs);t5.radAttr=h3,t5.stops=[],d3.forEach((function(i4){0===i4[1].indexOf("rgba")?(c3=(o3=e3.parse(i4[1])).get("rgb"),p3=o3.get("a")):(c3=i4[1],p3=1);let s4=r3.createElement("stop").attr({offset:i4[0],"stop-color":c3,"stop-opacity":p3}).add(t5);t5.stops.push(s4)}))}m3="url("+r3.url+"#"+g3+")",s3.setAttribute(i3,m3),s3.gradient=f3,t4.toString=function(){return m3}}}))}css(t4){let e4=this.styles,i3={},s3=this.element,r3,o3=!e4;if(e4&&T2(t4,(function(t5,s4){e4&&e4[s4]!==t5&&(i3[s4]=t5,o3=true)})),o3){e4&&(t4=b2(e4,i3)),null===t4.width||"auto"===t4.width?delete this.textWidth:"text"===s3.nodeName.toLowerCase()&&t4.width&&(r3=this.textWidth=P(t4.width)),b2(this.styles,t4),r3&&!l2&&this.renderer.forExport&&delete t4.width;let o4=w2(t4);s3.namespaceURI===this.SVG_NS&&(["textOutline","textOverflow","width"].forEach((t5=>o4&&delete o4[t5])),o4.color&&(o4.fill=o4.color)),m2(s3,o4)}return this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t4.textOutline&&this.applyTextOutline(t4.textOutline)),this}dashstyleSetter(t4){let e4,i3=this["stroke-width"];if("inherit"===i3&&(i3=1),t4=t4&&t4.toLowerCase()){let s3=t4.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(e4=s3.length;e4--;)s3[e4]=""+P(s3[e4])*A2(i3,NaN);t4=s3.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t4)}}destroy(){var _a;let t4=this,e4=t4.element||{},i3=t4.renderer,s3=e4.ownerSVGElement,r3="SPAN"===e4.nodeName&&t4.parentGroup||void 0,o3,a3;if(e4.onclick=e4.onmouseout=e4.onmouseover=e4.onmousemove=e4.point=null,n2(t4),t4.clipPath&&s3){let e5=t4.clipPath;[].forEach.call(s3.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(t5){t5.getAttribute("clip-path").indexOf(e5.element.id)>-1&&t5.removeAttribute("clip-path")})),t4.clipPath=e5.destroy()}if(t4.connector=(_a=t4.connector)==null?void 0:_a.destroy(),t4.stops){for(a3=0;a3<t4.stops.length;a3++)t4.stops[a3].destroy();t4.stops.length=0,t4.stops=void 0}for(t4.safeRemoveChild(e4);r3&&r3.div&&0===r3.div.childNodes.length;)o3=r3.parentGroup,t4.safeRemoveChild(r3.div),delete r3.div,r3=o3;t4.alignOptions&&y2(i3.alignedObjects,t4),T2(t4,(function(e5,i4){t4[i4]&&t4[i4].parentGroup===t4&&t4[i4].destroy&&t4[i4].destroy(),delete t4[i4]}))}dSetter(t4,e4,i3){S2(t4)&&("string"==typeof t4[0]&&(t4=this.renderer.pathToSegments(t4)),this.pathArray=t4,t4=t4.reduce(((t5,e5,i4)=>e5&&e5.join?(i4?t5+" ":"")+e5.join(" "):(e5||"").toString()),"")),/(NaN| {2}|^$)/.test(t4)&&(t4="M 0 0"),this[e4]!==t4&&(i3.setAttribute(e4,t4),this[e4]=t4)}fillSetter(t4,e4,i3){"string"==typeof t4?i3.setAttribute(e4,t4):t4&&this.complexColor(t4,e4,i3)}hrefSetter(t4,e4,i3){i3.setAttributeNS("http://www.w3.org/1999/xlink",e4,t4)}getBBox(t4,e4){let i3,s3,r3,o3;let{alignValue:n3,element:a3,renderer:h3,styles:l3,textStr:d3}=this,{cache:c3,cacheKeys:p3}=h3,u3=a3.namespaceURI===this.SVG_NS,g3=A2(e4,this.rotation,0),f3=h3.styledMode?a3&&I.prototype.getStyle.call(a3,"font-size"):l3.fontSize;if(x2(d3)&&(-1===(o3=d3.toString()).indexOf("<")&&(o3=o3.replace(/\d/g,"0")),o3+=["",h3.rootFontSize,f3,g3,this.textWidth,n3,l3.textOverflow,l3.fontWeight].join(",")),o3&&!t4&&(i3=c3[o3]),!i3||i3.polygon){if(u3||h3.forExport){try{r3=this.fakeTS&&function(t6){let e5=a3.querySelector(".highcharts-text-outline");e5&&m2(e5,{display:t6})},C2(r3)&&r3("none"),i3=a3.getBBox?b2({},a3.getBBox()):{width:a3.offsetWidth,height:a3.offsetHeight,x:0,y:0},C2(r3)&&r3("")}catch(t6){}(!i3||i3.width<0)&&(i3={x:0,y:0,width:0,height:0})}else i3=this.htmlGetBBox();s3=i3.height,u3&&(i3.height=s3={"11px,17":14,"13px,20":16}[`${f3||""},${Math.round(s3)}`]||s3),g3&&(i3=this.getRotatedBox(i3,g3));let t5={bBox:i3};v2(this,"afterGetBBox",t5),i3=t5.bBox}if(o3&&(""===d3||i3.height>0)){for(;p3.length>250;)delete c3[p3.shift()];c3[o3]||p3.push(o3),c3[o3]=i3}return i3}getRotatedBox(t4,e4){let{x:i3,y:s3,width:r3,height:o3}=t4,{alignValue:n3,translateY:h3,rotationOriginX:l3=0,rotationOriginY:d3=0}=this,c3={right:1,center:.5}[n3||0]||0,p3=Number(this.element.getAttribute("y")||0)-(h3?0:s3),u3=e4*a2,g3=(e4-90)*a2,f3=Math.cos(u3),m3=Math.sin(u3),x3=r3*f3,y3=r3*m3,b3=Math.cos(g3),v3=Math.sin(g3),[[S3,C3],[k3,M2]]=[l3,d3].map((t5=>[t5-t5*f3,t5*m3])),w3=i3+c3*(r3-x3)+S3+M2+p3*b3,T3=w3+x3,A3=T3-o3*b3,P2=A3-x3,L3=s3+p3-c3*y3-C3+k3+p3*v3,O3=L3+y3,D3=O3-o3*v3,E3=D3-y3,I2=Math.min(w3,T3,A3,P2),j=Math.min(L3,O3,D3,E3),B=Math.max(w3,T3,A3,P2)-I2,R2=Math.max(L3,O3,D3,E3)-j;return{x:I2,y:j,width:B,height:R2,polygon:[[w3,L3],[T3,O3],[A3,D3],[P2,E3]]}}getStyle(t4){return c2.getComputedStyle(this.element||this,"").getPropertyValue(t4)}hasClass(t4){return-1!==(""+this.attr("class")).split(" ").indexOf(t4)}hide(){return this.attr({visibility:"hidden"})}htmlGetBBox(){return{height:0,width:0,x:0,y:0}}constructor(t4,e4){this.onEvents={},this.opacity=1,this.SVG_NS=d2,this.element="span"===e4||"body"===e4?g2(e4):h2.createElementNS(this.SVG_NS,e4),this.renderer=t4,this.styles={},v2(this,"afterInit")}on(t4,e4){let{onEvents:i3}=this;return i3[t4]&&i3[t4](),i3[t4]=p2(this.element,t4,e4),this}opacitySetter(t4,e4,i3){let s3=Number(Number(t4).toFixed(3));this.opacity=s3,i3.setAttribute(e4,s3)}reAlign(){var _a;((_a=this.alignOptions)==null?void 0:_a.width)&&"left"!==this.alignOptions.align&&(this.alignOptions.width=this.getBBox().width,this.placed=false,this.align())}removeClass(t4){return this.attr("class",(""+this.attr("class")).replace(M(t4)?RegExp(`(^| )${t4}( |$)`):t4," ").replace(/ +/g," ").trim())}removeTextOutline(){let t4=this.element.querySelector("tspan.highcharts-text-outline");t4&&this.safeRemoveChild(t4)}safeRemoveChild(t4){let e4=t4.parentNode;e4&&e4.removeChild(t4)}setRadialReference(t4){let e4=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=t4,e4&&e4.radAttr&&e4.animate(this.renderer.getRadialAttr(t4,e4.radAttr)),this}shadow(t4){var _a;let{renderer:e4}=this,i3=w2(((_a=this.parentGroup)==null?void 0:_a.rotation)===90?{offsetX:-1,offsetY:-1}:{},k2(t4)?t4:{}),s3=e4.shadowDefinition(i3);return this.attr({filter:t4?`url(${e4.url}#${s3})`:"none"})}show(t4=true){return this.attr({visibility:t4?"inherit":"visible"})}"stroke-widthSetter"(t4,e4,i3){this[e4]=t4,i3.setAttribute(e4,t4)}strokeWidth(){if(!this.renderer.styledMode)return this["stroke-width"]||0;let t4=this.getStyle("stroke-width"),e4=0,i3;return/px$/.test(t4)?e4=P(t4):""!==t4&&(u2(i3=h2.createElementNS(d2,"rect"),{width:t4,"stroke-width":0}),this.element.parentNode.appendChild(i3),e4=i3.getBBox().width,i3.parentNode.removeChild(i3)),e4}symbolAttr(t4){let e4=this;I.symbolCustomAttribs.forEach((function(i3){e4[i3]=A2(t4[i3],e4[i3])})),e4.attr({d:e4.renderer.symbols[e4.symbolName](e4.x,e4.y,e4.width,e4.height,e4)})}textSetter(t4){t4!==this.textStr&&(delete this.textPxLength,this.textStr=t4,this.added&&this.renderer.buildText(this),this.reAlign())}titleSetter(t4){let e4=this.element,i3=e4.getElementsByTagName("title")[0]||h2.createElementNS(this.SVG_NS,"title");e4.insertBefore?e4.insertBefore(i3,e4.firstChild):e4.appendChild(i3),i3.textContent=O2(A2(t4,""),[/<[^>]*>/g,""]).replace(/</g,"<").replace(/>/g,">")}toFront(){let t4=this.element;return t4.parentNode.appendChild(t4),this}translate(t4,e4){return this.attr({translateX:t4,translateY:e4})}updateTransform(t4="transform"){var _a;let{element:e4,matrix:i3,rotation:s3=0,rotationOriginX:r3,rotationOriginY:o3,scaleX:n3,scaleY:a3,translateX:h3=0,translateY:l3=0}=this,d3=["translate("+h3+","+l3+")"];x2(i3)&&d3.push("matrix("+i3.join(",")+")"),s3&&(d3.push("rotate("+s3+" "+A2(r3,e4.getAttribute("x"),0)+" "+A2(o3,e4.getAttribute("y")||0)+")"),((_a=this.text)==null?void 0:_a.element.tagName)==="SPAN"&&this.text.attr({rotation:s3,rotationOriginX:(r3||0)-this.padding,rotationOriginY:(o3||0)-this.padding})),(x2(n3)||x2(a3))&&d3.push("scale("+A2(n3,1)+" "+A2(a3,1)+")"),d3.length&&!(this.text||this).textPath&&e4.setAttribute(t4,d3.join(" "))}visibilitySetter(t4,e4,i3){"inherit"===t4?i3.removeAttribute(e4):this[e4]!==t4&&i3.setAttribute(e4,t4),this[e4]=t4}xGetter(t4){return"circle"===this.element.nodeName&&("x"===t4?t4="cx":"y"===t4&&(t4="cy")),this._defaultGetter(t4)}zIndexSetter(t4,e4){let i3=this.renderer,s3=this.parentGroup,r3=(s3||i3).element||i3.box,o3=this.element,n3=r3===i3.box,a3,h3,l3,d3=false,c3,p3=this.added,u3;if(x2(t4)?(o3.setAttribute("data-z-index",t4),t4=+t4,this[e4]===t4&&(p3=false)):x2(this[e4])&&o3.removeAttribute("data-z-index"),this[e4]=t4,p3){for((t4=this.zIndex)&&s3&&(s3.handleZ=true),u3=(a3=r3.childNodes).length-1;u3>=0&&!d3;u3--)c3=!x2(l3=(h3=a3[u3]).getAttribute("data-z-index")),h3!==o3&&(t4<0&&c3&&!n3&&!u3?(r3.insertBefore(o3,a3[u3]),d3=true):(P(l3)<=t4||c3&&(!x2(t4)||t4>=0))&&(r3.insertBefore(o3,a3[u3+1]),d3=true));d3||(r3.insertBefore(o3,a3[n3?3:0]),d3=true)}return d3}}return I.symbolCustomAttribs=["anchorX","anchorY","clockwise","end","height","innerR","r","start","width","x","y"],I.prototype.strokeSetter=I.prototype.fillSetter,I.prototype.yGetter=I.prototype.xGetter,I.prototype.matrixSetter=I.prototype.rotationOriginXSetter=I.prototype.rotationOriginYSetter=I.prototype.rotationSetter=I.prototype.scaleXSetter=I.prototype.scaleYSetter=I.prototype.translateXSetter=I.prototype.translateYSetter=I.prototype.verticalAlignSetter=function(t4,e4){this[e4]=t4,this.doTransform=true},I})),i(e2,"Core/Renderer/SVG/SVGLabel.js",[e2["Core/Renderer/SVG/SVGElement.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{defined:i2,extend:s2,isNumber:r2,merge:o2,pick:n2,removeEvent:a2}=e3;class h2 extends t3{constructor(t4,e4,i3,s3,r3,o3,n3,a3,l2,d2){let c2;super(t4,"g"),this.paddingLeftSetter=this.paddingSetter,this.paddingRightSetter=this.paddingSetter,this.doUpdate=false,this.textStr=e4,this.x=i3,this.y=s3,this.anchorX=o3,this.anchorY=n3,this.baseline=l2,this.className=d2,this.addClass("button"===d2?"highcharts-no-tooltip":"highcharts-label"),d2&&this.addClass("highcharts-"+d2),this.text=t4.text(void 0,0,0,a3).attr({zIndex:1}),"string"==typeof r3&&((c2=/^url\((.*?)\)$/.test(r3))||this.renderer.symbols[r3])&&(this.symbolKey=r3),this.bBox=h2.emptyBBox,this.padding=3,this.baselineOffset=0,this.needsBox=t4.styledMode||c2,this.deferredAttr={},this.alignFactor=0}alignSetter(t4){let e4={left:0,center:.5,right:1}[t4];e4!==this.alignFactor&&(this.alignFactor=e4,this.bBox&&r2(this.xSetting)&&this.attr({x:this.xSetting}))}anchorXSetter(t4,e4){this.anchorX=t4,this.boxAttr(e4,Math.round(t4)-this.getCrispAdjust()-this.xSetting)}anchorYSetter(t4,e4){this.anchorY=t4,this.boxAttr(e4,t4-this.ySetting)}boxAttr(t4,e4){this.box?this.box.attr(t4,e4):this.deferredAttr[t4]=e4}css(e4){if(e4){let t4={};e4=o2(e4),h2.textProps.forEach((i3=>{void 0!==e4[i3]&&(t4[i3]=e4[i3],delete e4[i3])})),this.text.css(t4),"fontSize"in t4||"fontWeight"in t4?this.updateTextPadding():("width"in t4||"textOverflow"in t4)&&this.updateBoxSize()}return t3.prototype.css.call(this,e4)}destroy(){a2(this.element,"mouseenter"),a2(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t3.prototype.destroy.call(this)}fillSetter(t4,e4){t4&&(this.needsBox=true),this.fill=t4,this.boxAttr(e4,t4)}getBBox(t4,e4){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();let{padding:i3,height:s3=0,translateX:r3=0,translateY:o3=0,width:a3=0}=this,h3=n2(this.paddingLeft,i3),l2=e4??(this.rotation||0),d2={width:a3,height:s3,x:r3+this.bBox.x-h3,y:o3+this.bBox.y-i3+this.baselineOffset};return l2&&(d2=this.getRotatedBox(d2,l2)),d2}getCrispAdjust(){return(this.renderer.styledMode&&this.box?this.box.strokeWidth():this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2}heightSetter(t4){this.heightSetting=t4,this.doUpdate=true}afterSetters(){super.afterSetters(),this.doUpdate&&(this.updateBoxSize(),this.doUpdate=false)}onAdd(){this.text.add(this),this.attr({text:n2(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&i2(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})}paddingSetter(t4,e4){r2(t4)?t4!==this[e4]&&(this[e4]=t4,this.updateTextPadding()):this[e4]=void 0}rSetter(t4,e4){this.boxAttr(e4,t4)}strokeSetter(t4,e4){this.stroke=t4,this.boxAttr(e4,t4)}"stroke-widthSetter"(t4,e4){t4&&(this.needsBox=true),this["stroke-width"]=t4,this.boxAttr(e4,t4)}"text-alignSetter"(t4){this.textAlign=t4}textSetter(t4){void 0!==t4&&this.text.attr({text:t4}),this.updateTextPadding(),this.reAlign()}updateBoxSize(){let t4;let e4=this.text,o3={},n3=this.padding,a3=this.bBox=(!r2(this.widthSetting)||!r2(this.heightSetting)||this.textAlign)&&i2(e4.textStr)?e4.getBBox(void 0,0):h2.emptyBBox;this.width=this.getPaddedWidth(),this.height=(this.heightSetting||a3.height||0)+2*n3;let l2=this.renderer.fontMetrics(e4);if(this.baselineOffset=n3+Math.min((this.text.firstLineMetrics||l2).b,a3.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-l2.h)/2),this.needsBox&&!e4.textPath){if(!this.box){let t5=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect();t5.addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),t5.add(this)}t4=this.getCrispAdjust(),o3.x=t4,o3.y=(this.baseline?-this.baselineOffset:0)+t4,o3.width=Math.round(this.width),o3.height=Math.round(this.height),this.box.attr(s2(o3,this.deferredAttr)),this.deferredAttr={}}}updateTextPadding(){let t4=this.text;if(!t4.textPath){this.updateBoxSize();let e4=this.baseline?0:this.baselineOffset,s3=n2(this.paddingLeft,this.padding);i2(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(s3+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),(s3!==t4.x||e4!==t4.y)&&(t4.attr("x",s3),t4.hasBoxWidthChanged&&(this.bBox=t4.getBBox(true)),void 0!==e4&&t4.attr("y",e4)),t4.x=s3,t4.y=e4}}widthSetter(t4){this.widthSetting=r2(t4)?t4:void 0,this.doUpdate=true}getPaddedWidth(){let t4=this.padding,e4=n2(this.paddingLeft,t4),i3=n2(this.paddingRight,t4);return(this.widthSetting||this.bBox.width||0)+e4+i3}xSetter(t4){this.x=t4,this.alignFactor&&(t4-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=true),this.xSetting=Math.round(t4),this.attr("translateX",this.xSetting)}ySetter(t4){this.ySetting=this.y=Math.round(t4),this.attr("translateY",this.ySetting)}}return h2.emptyBBox={width:0,height:0,x:0,y:0},h2.textProps=["color","direction","fontFamily","fontSize","fontStyle","fontWeight","lineHeight","textAlign","textDecoration","textOutline","textOverflow","whiteSpace","width"],h2})),i(e2,"Core/Renderer/SVG/Symbols.js",[e2["Core/Utilities.js"]],(function(t3){let{defined:e3,isNumber:i2,pick:s2}=t3;function r2(t4,i3,r3,o3,n3){let a2=[];if(n3){let h2=n3.start||0,l2=s2(n3.r,r3),d2=s2(n3.r,o3||r3),c2=2e-4/(n3.borderRadius?1:Math.max(l2,1)),p2=Math.abs((n3.end||0)-h2-2*Math.PI)<c2,u2=(n3.end||0)-(p2?c2:0),g2=n3.innerR,f2=s2(n3.open,p2),m2=Math.cos(h2),x2=Math.sin(h2),y2=Math.cos(u2),b2=Math.sin(u2),v2=s2(n3.longArc,u2-h2-Math.PI<c2?0:1),S2=["A",l2,d2,0,v2,s2(n3.clockwise,1),t4+l2*y2,i3+d2*b2];S2.params={start:h2,end:u2,cx:t4,cy:i3},a2.push(["M",t4+l2*m2,i3+d2*x2],S2),e3(g2)&&((S2=["A",g2,g2,0,v2,e3(n3.clockwise)?1-n3.clockwise:0,t4+g2*m2,i3+g2*x2]).params={start:u2,end:h2,cx:t4,cy:i3},a2.push(f2?["M",t4+g2*y2,i3+g2*b2]:["L",t4+g2*y2,i3+g2*b2],S2)),f2||a2.push(["Z"])}return a2}function o2(t4,e4,i3,s3,r3){return r3&&r3.r?n2(t4,e4,i3,s3,r3):[["M",t4,e4],["L",t4+i3,e4],["L",t4+i3,e4+s3],["L",t4,e4+s3],["Z"]]}function n2(t4,e4,i3,s3,r3){let o3=(r3==null?void 0:r3.r)||0;return[["M",t4+o3,e4],["L",t4+i3-o3,e4],["A",o3,o3,0,0,1,t4+i3,e4+o3],["L",t4+i3,e4+s3-o3],["A",o3,o3,0,0,1,t4+i3-o3,e4+s3],["L",t4+o3,e4+s3],["A",o3,o3,0,0,1,t4,e4+s3-o3],["L",t4,e4+o3],["A",o3,o3,0,0,1,t4+o3,e4],["Z"]]}return{arc:r2,callout:function(t4,e4,s3,r3,o3){let a2=Math.min(o3&&o3.r||0,s3,r3),h2=a2+6,l2=o3&&o3.anchorX,d2=o3&&o3.anchorY||0,c2=n2(t4,e4,s3,r3,{r:a2});if(!i2(l2)||l2<s3&&l2>0&&d2<r3&&d2>0)return c2;if(t4+l2>s3-h2){if(d2>e4+h2&&d2<e4+r3-h2)c2.splice(3,1,["L",t4+s3,d2-6],["L",t4+s3+6,d2],["L",t4+s3,d2+6],["L",t4+s3,e4+r3-a2]);else if(l2<s3){let i3=d2<e4+h2,o4=i3?e4:e4+r3;c2.splice(i3?2:5,0,["L",l2,d2],["L",t4+s3-a2,o4])}else c2.splice(3,1,["L",t4+s3,r3/2],["L",l2,d2],["L",t4+s3,r3/2],["L",t4+s3,e4+r3-a2])}else if(t4+l2<h2){if(d2>e4+h2&&d2<e4+r3-h2)c2.splice(7,1,["L",t4,d2+6],["L",t4-6,d2],["L",t4,d2-6],["L",t4,e4+a2]);else if(l2>0){let i3=d2<e4+h2,s4=i3?e4:e4+r3;c2.splice(i3?1:6,0,["L",l2,d2],["L",t4+a2,s4])}else c2.splice(7,1,["L",t4,r3/2],["L",l2,d2],["L",t4,r3/2],["L",t4,e4+a2])}else d2>r3&&l2<s3-h2?c2.splice(5,1,["L",l2+6,e4+r3],["L",l2,e4+r3+6],["L",l2-6,e4+r3],["L",t4+a2,e4+r3]):d2<0&&l2>h2&&c2.splice(1,1,["L",l2-6,e4],["L",l2,e4-6],["L",l2+6,e4],["L",s3-a2,e4]);return c2},circle:function(t4,e4,i3,s3){return r2(t4+i3/2,e4+s3/2,i3/2,s3/2,{start:.5*Math.PI,end:2.5*Math.PI,open:false})},diamond:function(t4,e4,i3,s3){return[["M",t4+i3/2,e4],["L",t4+i3,e4+s3/2],["L",t4+i3/2,e4+s3],["L",t4,e4+s3/2],["Z"]]},rect:o2,roundedRect:n2,square:o2,triangle:function(t4,e4,i3,s3){return[["M",t4+i3/2,e4],["L",t4+i3,e4+s3],["L",t4,e4+s3],["Z"]]},"triangle-down":function(t4,e4,i3,s3){return[["M",t4,e4],["L",t4+i3,e4],["L",t4+i3/2,e4+s3],["Z"]]}}})),i(e2,"Core/Renderer/SVG/TextBuilder.js",[e2["Core/Renderer/HTML/AST.js"],e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{doc:s2,SVG_NS:r2,win:o2}=e3,{attr:n2,extend:a2,fireEvent:h2,isString:l2,objectEach:d2,pick:c2}=i2;return class{constructor(t4){let e4=t4.styles;this.renderer=t4.renderer,this.svgElement=t4,this.width=t4.textWidth,this.textLineHeight=e4&&e4.lineHeight,this.textOutline=e4&&e4.textOutline,this.ellipsis=!!(e4&&"ellipsis"===e4.textOverflow),this.noWrap=!!(e4&&"nowrap"===e4.whiteSpace)}buildSVG(){let e4=this.svgElement,i3=e4.element,r3=e4.renderer,o3=c2(e4.textStr,"").toString(),n3=-1!==o3.indexOf("<"),a3=i3.childNodes,h3=!e4.added&&r3.box,d3=[o3,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,e4.getStyle("font-size"),this.width].join(",");if(d3!==e4.textCache){e4.textCache=d3,delete e4.actualWidth;for(let t4=a3.length;t4--;)i3.removeChild(a3[t4]);if(n3||this.ellipsis||this.width||e4.textPath||-1!==o3.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(o3))){if(""!==o3){h3&&h3.appendChild(i3);let s3=new t3(o3);this.modifyTree(s3.nodes),s3.addToDOM(i3),this.modifyDOM(),this.ellipsis&&-1!==(i3.textContent||"").indexOf("…")&&e4.attr("title",this.unescapeEntities(e4.textStr||"",["<",">"])),h3&&h3.removeChild(i3)}}else i3.appendChild(s2.createTextNode(this.unescapeEntities(o3)));l2(this.textOutline)&&e4.applyTextOutline&&e4.applyTextOutline(this.textOutline)}}modifyDOM(){let t4;let e4=this.svgElement,i3=n2(e4.element,"x");for(e4.firstLineMetrics=void 0;t4=e4.element.firstChild;)if(/^[\s\u200B]*$/.test(t4.textContent||" "))e4.element.removeChild(t4);else break;[].forEach.call(e4.element.querySelectorAll("tspan.highcharts-br"),((t5,s3)=>{t5.nextSibling&&t5.previousSibling&&(0===s3&&1===t5.previousSibling.nodeType&&(e4.firstLineMetrics=e4.renderer.fontMetrics(t5.previousSibling)),n2(t5,{dy:this.getLineHeight(t5.nextSibling),x:i3}))}));let a3=this.width||0;if(!a3)return;let h3=(t5,o3)=>{let h4=t5.textContent||"",l4=h4.replace(/([^\^])-/g,"$1- ").split(" "),d3=!this.noWrap&&(l4.length>1||e4.element.childNodes.length>1),c3=this.getLineHeight(o3),p2=0,u2=e4.actualWidth;if(this.ellipsis)h4&&this.truncate(t5,h4,void 0,0,Math.max(0,a3-.8*c3),((t6,e5)=>t6.substring(0,e5)+"…"));else if(d3){let h5=[],d4=[];for(;o3.firstChild&&o3.firstChild!==t5;)d4.push(o3.firstChild),o3.removeChild(o3.firstChild);for(;l4.length;)l4.length&&!this.noWrap&&p2>0&&(h5.push(t5.textContent||""),t5.textContent=l4.join(" ").replace(/- /g,"-")),this.truncate(t5,void 0,l4,0===p2&&u2||0,a3,((t6,e5)=>l4.slice(0,e5).join(" ").replace(/- /g,"-"))),u2=e4.actualWidth,p2++;d4.forEach((e5=>{o3.insertBefore(e5,t5)})),h5.forEach((e5=>{o3.insertBefore(s2.createTextNode(e5),t5);let a4=s2.createElementNS(r2,"tspan");a4.textContent="",n2(a4,{dy:c3,x:i3}),o3.insertBefore(a4,t5)}))}},l3=t5=>{[].slice.call(t5.childNodes).forEach((i4=>{i4.nodeType===o2.Node.TEXT_NODE?h3(i4,t5):(-1!==i4.className.baseVal.indexOf("highcharts-br")&&(e4.actualWidth=0),l3(i4))}))};l3(e4.element)}getLineHeight(t4){let e4=t4.nodeType===o2.Node.TEXT_NODE?t4.parentElement:t4;return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e4||this.svgElement.element).h}modifyTree(t4){let e4=(i3,s3)=>{let{attributes:r3={},children:o3,style:n3={},tagName:h3}=i3,l3=this.renderer.styledMode;if("b"===h3||"strong"===h3?l3?r3.class="highcharts-strong":n3.fontWeight="bold":("i"===h3||"em"===h3)&&(l3?r3.class="highcharts-emphasized":n3.fontStyle="italic"),n3&&n3.color&&(n3.fill=n3.color),"br"===h3){r3.class="highcharts-br",i3.textContent="";let e5=t4[s3+1];e5&&e5.textContent&&(e5.textContent=e5.textContent.replace(/^ +/gm,""))}else"a"===h3&&o3&&o3.some((t5=>"#text"===t5.tagName))&&(i3.children=[{children:o3,tagName:"tspan"}]);"#text"!==h3&&"a"!==h3&&(i3.tagName="tspan"),a2(i3,{attributes:r3,style:n3}),o3&&o3.filter((t5=>"#text"!==t5.tagName)).forEach(e4)};t4.forEach(e4),h2(this.svgElement,"afterModifyTree",{nodes:t4})}truncate(t4,e4,i3,s3,r3,o3){let n3,a3;let h3=this.svgElement,{rotation:l3}=h3,d3=[],c3=i3?1:0,p2=(e4||i3||"").length,u2=p2,g2=function(e5,r4){let o4=r4||e5,n4=t4.parentNode;if(n4&&void 0===d3[o4]&&n4.getSubStringLength)try{d3[o4]=s3+n4.getSubStringLength(0,i3?o4+1:o4)}catch(t5){}return d3[o4]};if(h3.rotation=0,s3+(a3=g2(t4.textContent.length))>r3){for(;c3<=p2;)u2=Math.ceil((c3+p2)/2),i3&&(n3=o3(i3,u2)),a3=g2(u2,n3&&n3.length-1),c3===p2?c3=p2+1:a3>r3?p2=u2-1:c3=u2;0===p2?t4.textContent="":e4&&p2===e4.length-1||(t4.textContent=n3||o3(e4||i3,u2))}i3&&i3.splice(0,u2),h3.actualWidth=a3,h3.rotation=l3}unescapeEntities(t4,e4){return d2(this.renderer.escapes,(function(i3,s3){e4&&-1!==e4.indexOf(i3)||(t4=t4.toString().replace(RegExp(i3,"g"),s3))})),t4}}})),i(e2,"Core/Renderer/SVG/SVGRenderer.js",[e2["Core/Renderer/HTML/AST.js"],e2["Core/Defaults.js"],e2["Core/Color/Color.js"],e2["Core/Globals.js"],e2["Core/Renderer/RendererRegistry.js"],e2["Core/Renderer/SVG/SVGElement.js"],e2["Core/Renderer/SVG/SVGLabel.js"],e2["Core/Renderer/SVG/Symbols.js"],e2["Core/Renderer/SVG/TextBuilder.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2,o2,n2,a2,h2,l2){let d2;let{defaultOptions:c2}=e3,{charts:p2,deg2rad:u2,doc:g2,isFirefox:f2,isMS:m2,isWebKit:x2,noop:y2,SVG_NS:b2,symbolSizes:v2,win:S2}=s2,{addEvent:C2,attr:k2,createElement:M,crisp:w2,css:T2,defined:A2,destroyObjectProperties:P,extend:L2,isArray:O2,isNumber:D2,isObject:E2,isString:I,merge:j,pick:B,pInt:R2,replaceNested:z2,uniqueKey:N}=l2;class W2{constructor(t4,e4,i3,s3,r3,o3,n3){let a3,h3;let l3=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),d3=l3.element;n3||l3.css(this.getStyle(s3||{})),t4.appendChild(d3),k2(t4,"dir","ltr"),-1===t4.innerHTML.indexOf("xmlns")&&k2(d3,"xmlns",this.SVG_NS),this.box=d3,this.boxWrapper=l3,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(g2.createTextNode("Created with Highcharts 11.4.8")),this.defs=this.createElement("defs").add(),this.allowHTML=o3,this.forExport=r3,this.styledMode=n3,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.rootFontSize=l3.getStyle("font-size"),this.setSize(e4,i3,false),f2&&t4.getBoundingClientRect&&((a3=function(){T2(t4,{left:0,top:0}),h3=t4.getBoundingClientRect(),T2(t4,{left:Math.ceil(h3.left)-h3.left+"px",top:Math.ceil(h3.top)-h3.top+"px"})})(),this.unSubPixelFix=C2(S2,"resize",a3))}definition(e4){return new t3([e4]).addToDOM(this.defs.element)}getReferenceURL(){if((f2||x2)&&g2.getElementsByTagName("base").length){if(!A2(d2)){let e4=N(),i3=new t3([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:e4},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":`url(#${e4})`,fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(g2.body);T2(i3,{position:"fixed",top:0,left:0,zIndex:9e5});let s3=g2.elementFromPoint(6,6);d2="hitme"===(s3&&s3.id),g2.body.removeChild(i3)}if(d2)return z2(S2.location.href.split("#")[0],[/<[^>]*>/g,""],[/([\('\)])/g,"\\$1"],[/ /g,"%20"])}return""}getStyle(t4){return this.style=L2({fontFamily:"Helvetica, Arial, sans-serif",fontSize:"1rem"},t4),this.style}setStyle(t4){this.boxWrapper.css(this.getStyle(t4))}isHidden(){return!this.boxWrapper.getBBox().width}destroy(){let t4=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),P(this.gradients||{}),this.gradients=null,this.defs=t4.destroy(),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null,null}createElement(t4){return new this.Element(this,t4)}getRadialAttr(t4,e4){return{cx:t4[0]-t4[2]/2+(e4.cx||0)*t4[2],cy:t4[1]-t4[2]/2+(e4.cy||0)*t4[2],r:(e4.r||0)*t4[2]}}shadowDefinition(t4){let e4=[`highcharts-drop-shadow-${this.chartIndex}`,...Object.keys(t4).map((e5=>`${e5}-${t4[e5]}`))].join("-").toLowerCase().replace(/[^a-z\d\-]/g,""),i3=j({color:"#000000",offsetX:1,offsetY:1,opacity:.15,width:5},t4);return this.defs.element.querySelector(`#${e4}`)||this.definition({tagName:"filter",attributes:{id:e4,filterUnits:i3.filterUnits},children:this.getShadowFilterContent(i3)}),e4}getShadowFilterContent(t4){return[{tagName:"feDropShadow",attributes:{dx:t4.offsetX,dy:t4.offsetY,"flood-color":t4.color,"flood-opacity":Math.min(5*t4.opacity,1),stdDeviation:t4.width/2}}]}buildText(t4){new h2(t4).buildSVG()}getContrast(t4){let e4=i2.parse(t4).rgba.map((t5=>{let e5=t5/255;return e5<=.03928?e5/12.92:Math.pow((e5+.055)/1.055,2.4)})),s3=.2126*e4[0]+.7152*e4[1]+.0722*e4[2];return 1.05/(s3+.05)>(s3+.05)/.05?"#FFFFFF":"#000000"}button(e4,i3,s3,r3,o3={},n3,a3,h3,l3,d3){let p3=this.label(e4,i3,s3,l3,void 0,void 0,d3,void 0,"button"),u3=this.styledMode,g3=arguments,f3=0;o3=j(c2.global.buttonTheme,o3),u3&&(delete o3.fill,delete o3.stroke,delete o3["stroke-width"]);let x3=o3.states||{},y3=o3.style||{};delete o3.states,delete o3.style;let b3=[t3.filterUserAttributes(o3)],v3=[y3];return u3||["hover","select","disabled"].forEach(((e5,i4)=>{b3.push(j(b3[0],t3.filterUserAttributes(g3[i4+5]||x3[e5]||{}))),v3.push(b3[i4+1].style),delete b3[i4+1].style})),C2(p3.element,m2?"mouseover":"mouseenter",(function(){3!==f3&&p3.setState(1)})),C2(p3.element,m2?"mouseout":"mouseleave",(function(){3!==f3&&p3.setState(f3)})),p3.setState=(t4=0)=>{if(1!==t4&&(p3.state=f3=t4),p3.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t4]),!u3){p3.attr(b3[t4]);let e5=v3[t4];E2(e5)&&p3.css(e5)}},p3.attr(b3[0]),!u3&&(p3.css(L2({cursor:"default"},y3)),d3&&p3.text.css({pointerEvents:"none"})),p3.on("touchstart",(t4=>t4.stopPropagation())).on("click",(function(t4){3!==f3&&r3.call(p3,t4)}))}crispLine(t4,e4){let[i3,s3]=t4;return A2(i3[1])&&i3[1]===s3[1]&&(i3[1]=s3[1]=w2(i3[1],e4)),A2(i3[2])&&i3[2]===s3[2]&&(i3[2]=s3[2]=w2(i3[2],e4)),t4}path(t4){let e4=this.styledMode?{}:{fill:"none"};return O2(t4)?e4.d=t4:E2(t4)&&L2(e4,t4),this.createElement("path").attr(e4)}circle(t4,e4,i3){let s3=E2(t4)?t4:void 0===t4?{}:{x:t4,y:e4,r:i3},r3=this.createElement("circle");return r3.xSetter=r3.ySetter=function(t5,e5,i4){i4.setAttribute("c"+e5,t5)},r3.attr(s3)}arc(t4,e4,i3,s3,r3,o3){let n3;E2(t4)?(e4=(n3=t4).y,i3=n3.r,s3=n3.innerR,r3=n3.start,o3=n3.end,t4=n3.x):n3={innerR:s3,start:r3,end:o3};let a3=this.symbol("arc",t4,e4,i3,i3,n3);return a3.r=i3,a3}rect(t4,e4,i3,s3,r3,o3){let n3=E2(t4)?t4:void 0===t4?{}:{x:t4,y:e4,r:r3,width:Math.max(i3||0,0),height:Math.max(s3||0,0)},a3=this.createElement("rect");return this.styledMode||(void 0!==o3&&(n3["stroke-width"]=o3,L2(n3,a3.crisp(n3))),n3.fill="none"),a3.rSetter=function(t5,e5,i4){a3.r=t5,k2(i4,{rx:t5,ry:t5})},a3.rGetter=function(){return a3.r||0},a3.attr(n3)}roundedRect(t4){return this.symbol("roundedRect").attr(t4)}setSize(t4,e4,i3){this.width=t4,this.height=e4,this.boxWrapper.animate({width:t4,height:e4},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:B(i3,true)?void 0:0}),this.alignElements()}g(t4){let e4=this.createElement("g");return t4?e4.attr({class:"highcharts-"+t4}):e4}image(t4,e4,i3,s3,r3,o3){let n3={preserveAspectRatio:"none"};D2(e4)&&(n3.x=e4),D2(i3)&&(n3.y=i3),D2(s3)&&(n3.width=s3),D2(r3)&&(n3.height=r3);let a3=this.createElement("image").attr(n3),h3=function(e5){a3.attr({href:t4}),o3.call(a3,e5)};if(o3){a3.attr({href:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="});let e5=new S2.Image;C2(e5,"load",h3),e5.src=t4,e5.complete&&h3({})}else a3.attr({href:t4});return a3}symbol(t4,e4,i3,s3,r3,o3){let n3,a3,h3,l3;let d3=this,c3=/^url\((.*?)\)$/,u3=c3.test(t4),f3=!u3&&(this.symbols[t4]?t4:"circle"),m3=f3&&this.symbols[f3];if(m3)"number"==typeof e4&&(a3=m3.call(this.symbols,e4||0,i3||0,s3||0,r3||0,o3)),n3=this.path(a3),d3.styledMode||n3.attr("fill","none"),L2(n3,{symbolName:f3||void 0,x:e4,y:i3,width:s3,height:r3}),o3&&L2(n3,o3);else if(u3){h3=t4.match(c3)[1];let s4=n3=this.image(h3);s4.imgwidth=B(o3&&o3.width,v2[h3]&&v2[h3].width),s4.imgheight=B(o3&&o3.height,v2[h3]&&v2[h3].height),l3=t5=>t5.attr({width:t5.width,height:t5.height}),["width","height"].forEach((t5=>{s4[`${t5}Setter`]=function(t6,e5){this[e5]=t6;let{alignByTranslate:i4,element:s5,width:r4,height:n4,imgwidth:a4,imgheight:h4}=this,l4="width"===e5?a4:h4,d4=1;o3&&"within"===o3.backgroundSize&&r4&&n4&&a4&&h4?(d4=Math.min(r4/a4,n4/h4),k2(s5,{width:Math.round(a4*d4),height:Math.round(h4*d4)})):s5&&l4&&s5.setAttribute(e5,l4),!i4&&a4&&h4&&this.translate(((r4||0)-a4*d4)/2,((n4||0)-h4*d4)/2)}})),A2(e4)&&s4.attr({x:e4,y:i3}),s4.isImg=true,s4.symbolUrl=t4,A2(s4.imgwidth)&&A2(s4.imgheight)?l3(s4):(s4.attr({width:0,height:0}),M("img",{onload:function(){let t5=p2[d3.chartIndex];0===this.width&&(T2(this,{position:"absolute",top:"-999em"}),g2.body.appendChild(this)),v2[h3]={width:this.width,height:this.height},s4.imgwidth=this.width,s4.imgheight=this.height,s4.element&&l3(s4),this.parentNode&&this.parentNode.removeChild(this),d3.imgCount--,d3.imgCount||!t5||t5.hasLoaded||t5.onload()},src:h3}),this.imgCount++)}return n3}clipRect(t4,e4,i3,s3){return this.rect(t4,e4,i3,s3,0)}text(t4,e4,i3,s3){let r3={};if(s3&&(this.allowHTML||!this.forExport))return this.html(t4,e4,i3);r3.x=Math.round(e4||0),i3&&(r3.y=Math.round(i3)),A2(t4)&&(r3.text=t4);let o3=this.createElement("text").attr(r3);return s3&&(!this.forExport||this.allowHTML)||(o3.xSetter=function(t5,e5,i4){let s4=i4.getElementsByTagName("tspan"),r4=i4.getAttribute(e5);for(let i5=0,o4;i5<s4.length;i5++)(o4=s4[i5]).getAttribute(e5)===r4&&o4.setAttribute(e5,t5);i4.setAttribute(e5,t5)}),o3}fontMetrics(t4){let e4=R2(o2.prototype.getStyle.call(t4,"font-size")||0),i3=e4<24?e4+3:Math.round(1.2*e4),s3=Math.round(.8*i3);return{h:i3,b:s3,f:e4}}rotCorr(t4,e4,i3){let s3=t4;return e4&&i3&&(s3=Math.max(s3*Math.cos(e4*u2),4)),{x:-t4/3*Math.sin(e4*u2),y:s3}}pathToSegments(t4){let e4=[],i3=[],s3={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2};for(let r3=0;r3<t4.length;r3++)I(i3[0])&&D2(t4[r3])&&i3.length===s3[i3[0].toUpperCase()]&&t4.splice(r3,0,i3[0].replace("M","L").replace("m","l")),"string"==typeof t4[r3]&&(i3.length&&e4.push(i3.slice(0)),i3.length=0),i3.push(t4[r3]);return e4.push(i3.slice(0)),e4}label(t4,e4,i3,s3,r3,o3,a3,h3,l3){return new n2(this,t4,e4,i3,s3,r3,o3,a3,h3,l3)}alignElements(){this.alignedObjects.forEach((t4=>t4.align()))}}return L2(W2.prototype,{Element:o2,SVG_NS:b2,escapes:{"&":"&","<":"<",">":">","'":"'",'"':"""},symbols:a2,draw:y2}),r2.registerRendererType("svg",W2,true),W2})),i(e2,"Core/Renderer/HTML/HTMLElement.js",[e2["Core/Renderer/HTML/AST.js"],e2["Core/Globals.js"],e2["Core/Renderer/SVG/SVGElement.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){let{composed:r2}=e3,{attr:o2,css:n2,createElement:a2,defined:h2,extend:l2,pInt:d2,pushUnique:c2}=s2;function p2(t4,e4,s3){var _a;let r3=((_a=this.div)==null?void 0:_a.style)||s3.style;i2.prototype[`${e4}Setter`].call(this,t4,e4,s3),r3&&(r3[e4]=t4)}let u2=(t4,e4)=>{var _a;if(!t4.div){let s3=o2(t4.element,"class"),r3=t4.css,n3=a2("div",s3?{className:s3}:void 0,{position:"absolute",left:`${t4.translateX||0}px`,top:`${t4.translateY||0}px`,...t4.styles,display:t4.display,opacity:t4.opacity,visibility:t4.visibility},((_a=t4.parentGroup)==null?void 0:_a.div)||e4);t4.classSetter=(t5,e5,i3)=>{i3.setAttribute("class",t5),n3.className=t5},t4.translateXSetter=t4.translateYSetter=(e5,i3)=>{t4[i3]=e5,n3.style["translateX"===i3?"left":"top"]=`${e5}px`,t4.doTransform=true},t4.opacitySetter=t4.visibilitySetter=p2,t4.css=e5=>(r3.call(t4,e5),e5.cursor&&(n3.style.cursor=e5.cursor),e5.pointerEvents&&(n3.style.pointerEvents=e5.pointerEvents),t4),t4.on=function(){return i2.prototype.on.apply({element:n3,onEvents:t4.onEvents},arguments),t4},t4.div=n3}return t4.div};class g2 extends i2{static compose(t4){c2(r2,this.compose)&&(t4.prototype.html=function(t5,e4,i3){return new g2(this,"span").attr({text:t5,x:Math.round(e4),y:Math.round(i3)})})}constructor(t4,e4){super(t4,e4),this.css({position:"absolute",...t4.styledMode?{}:{fontFamily:t4.style.fontFamily,fontSize:t4.style.fontSize}}),this.element.style.whiteSpace="nowrap"}getSpanCorrection(t4,e4,i3){this.xCorr=-t4*i3,this.yCorr=-e4}css(t4){let e4;let{element:i3}=this,s3="SPAN"===i3.tagName&&t4&&"width"in t4,r3=s3&&t4.width;return s3&&(delete t4.width,this.textWidth=d2(r3)||void 0,e4=true),(t4==null?void 0:t4.textOverflow)==="ellipsis"&&(t4.whiteSpace="nowrap",t4.overflow="hidden"),l2(this.styles,t4),n2(i3,t4),e4&&this.updateTransform(),this}htmlGetBBox(){let{element:t4}=this;return{x:t4.offsetLeft,y:t4.offsetTop,width:t4.offsetWidth,height:t4.offsetHeight}}updateTransform(){var _a;if(!this.added){this.alignOnAdd=true;return}let{element:t4,renderer:e4,rotation:i3,rotationOriginX:s3,rotationOriginY:r3,styles:o3,textAlign:a3="left",textWidth:l3,translateX:d3=0,translateY:c3=0,x:p3=0,y:u3=0}=this,g3={left:0,center:.5,right:1}[a3],f3=o3.whiteSpace;if(n2(t4,{marginLeft:`${d3}px`,marginTop:`${c3}px`}),"SPAN"===t4.tagName){let o4=[i3,a3,t4.innerHTML,l3,this.textAlign].join(","),d4=-(((_a=this.parentGroup)==null?void 0:_a.padding)*1)||0,c4,m2=false;if(l3!==this.oldTextWidth){let e5=this.textPxLength?this.textPxLength:(n2(t4,{width:"",whiteSpace:f3||"nowrap"}),t4.offsetWidth),s4=l3||0;(s4>this.oldTextWidth||e5>s4)&&(/[ \-]/.test(t4.textContent||t4.innerText)||"ellipsis"===t4.style.textOverflow)&&(n2(t4,{width:e5>s4||i3?l3+"px":"auto",display:"block",whiteSpace:f3||"normal"}),this.oldTextWidth=l3,m2=true)}this.hasBoxWidthChanged=m2,o4!==this.cTT&&(c4=e4.fontMetrics(t4).b,h2(i3)&&(i3!==(this.oldRotation||0)||a3!==this.oldAlign)&&this.setSpanRotation(i3,d4,d4),this.getSpanCorrection(!h2(i3)&&this.textPxLength||t4.offsetWidth,c4,g3));let{xCorr:x2=0,yCorr:y2=0}=this,b2=(s3??p3)-x2-p3-d4,v2=(r3??u3)-y2-u3-d4;n2(t4,{left:`${p3+x2}px`,top:`${u3+y2}px`,transformOrigin:`${b2}px ${v2}px`}),this.cTT=o4,this.oldRotation=i3,this.oldAlign=a3}}setSpanRotation(t4,e4,i3){n2(this.element,{transform:`rotate(${t4}deg)`,transformOrigin:`${e4}% ${i3}px`})}add(t4){let e4;let i3=this.renderer.box.parentNode,s3=[];if(this.parentGroup=t4,t4&&!(e4=t4.div)){let r3=t4;for(;r3;)s3.push(r3),r3=r3.parentGroup;for(let t5 of s3.reverse())e4=u2(t5,i3)}return(e4||i3).appendChild(this.element),this.added=true,this.alignOnAdd&&this.updateTransform(),this}textSetter(e4){e4!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t3.setElementHTML(this.element,e4??""),this.textStr=e4,this.doTransform=true)}alignSetter(t4){this.alignValue=this.textAlign=t4,this.doTransform=true}xSetter(t4,e4){this[e4]=t4,this.doTransform=true}}let f2=g2.prototype;return f2.visibilitySetter=f2.opacitySetter=p2,f2.ySetter=f2.rotationSetter=f2.rotationOriginXSetter=f2.rotationOriginYSetter=f2.xSetter,g2})),i(e2,"Core/Axis/AxisDefaults.js",[],(function(){var t3,e3;return(e3=t3||(t3={})).xAxis={alignTicks:true,allowDecimals:void 0,panningEnabled:true,zIndex:2,zoomEnabled:true,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:false},second:{main:"%H:%M:%S",range:false},minute:{main:"%H:%M",range:false},hour:{main:"%H:%M",range:false},day:{main:"%e %b"},week:{main:"%e %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:false,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotationLimit:80,distance:15,enabled:true,indentation:10,overflow:"justify",reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:false,zIndex:7,style:{color:"#333333",cursor:"default",fontSize:"0.8em"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minorTicksPerMajor:5,minPadding:.01,offset:void 0,reversed:void 0,reversedStacks:false,showEmpty:true,showFirstLabel:true,showLastLabel:true,startOfWeek:1,startOnTick:false,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",useHTML:false,x:0,y:0,style:{color:"#666666",fontSize:"0.8em"}},visible:true,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#333333",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#333333"},e3.yAxis={reversedStacks:true,endOnTick:true,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:true,labels:{x:void 0},startOnTick:true,title:{text:"Values"},stackLabels:{animation:{},allowOverlap:false,enabled:false,crop:true,overflow:"justify",formatter:function(){let{numberFormatter:t4}=this.axis.chart;return t4(this.total||0,-1)},style:{color:"#000000",fontSize:"0.7em",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t3})),i(e2,"Core/Foundation.js",[e2["Core/Utilities.js"]],(function(t3){var e3;let{addEvent:i2,isFunction:s2,objectEach:r2,removeEvent:o2}=t3;return(e3||(e3={})).registerEventOptions=function(t4,e4){t4.eventOptions=t4.eventOptions||{},r2(e4.events,(function(e5,r3){t4.eventOptions[r3]!==e5&&(t4.eventOptions[r3]&&(o2(t4,r3,t4.eventOptions[r3]),delete t4.eventOptions[r3]),s2(e5)&&(t4.eventOptions[r3]=e5,i2(t4,r3,e5,{order:0})))}))},e3})),i(e2,"Core/Axis/Tick.js",[e2["Core/Templating.js"],e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{deg2rad:s2}=e3,{clamp:r2,correctFloat:o2,defined:n2,destroyObjectProperties:a2,extend:h2,fireEvent:l2,isNumber:d2,merge:c2,objectEach:p2,pick:u2}=i2;return class{constructor(t4,e4,i3,s3,r3){this.isNew=true,this.isNewLabel=true,this.axis=t4,this.pos=e4,this.type=i3||"",this.parameters=r3||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,l2(this,"init"),i3||s3||this.addLabel()}addLabel(){let e4=this,i3=e4.axis,s3=i3.options,r3=i3.chart,a3=i3.categories,c3=i3.logarithmic,p3=i3.names,g2=e4.pos,f2=u2(e4.options&&e4.options.labels,s3.labels),m2=i3.tickPositions,x2=g2===m2[0],y2=g2===m2[m2.length-1],b2=(!f2.step||1===f2.step)&&1===i3.tickInterval,v2=m2.info,S2=e4.label,C2,k2,M,w2=this.parameters.category||(a3?u2(a3[g2],p3[g2],g2):g2);c3&&d2(w2)&&(w2=o2(c3.lin2log(w2))),i3.dateTime&&(v2?C2=(k2=r3.time.resolveDTLFormat(s3.dateTimeLabelFormats[!s3.grid&&v2.higherRanks[g2]||v2.unitName])).main:d2(w2)&&(C2=i3.dateTime.getXDateFormat(w2,s3.dateTimeLabelFormats||{}))),e4.isFirst=x2,e4.isLast=y2;let T2={axis:i3,chart:r3,dateTimeLabelFormat:C2,isFirst:x2,isLast:y2,pos:g2,tick:e4,tickPositionInfo:v2,value:w2};l2(this,"labelFormat",T2);let A2=e5=>f2.formatter?f2.formatter.call(e5,e5):f2.format?(e5.text=i3.defaultLabelFormatter.call(e5),t3.format(f2.format,e5,r3)):i3.defaultLabelFormatter.call(e5),P=A2.call(T2,T2),L2=k2&&k2.list;L2?e4.shortenLabel=function(){for(M=0;M<L2.length;M++)if(h2(T2,{dateTimeLabelFormat:L2[M]}),S2.attr({text:A2.call(T2,T2)}),S2.getBBox().width<i3.getSlotWidth(e4)-2*(f2.padding||0))return;S2.attr({text:""})}:e4.shortenLabel=void 0,b2&&i3._addedPlotLB&&e4.moveLabel(P,f2),n2(S2)||e4.movedLabel?S2&&S2.textStr!==P&&!b2&&(!S2.textWidth||f2.style.width||S2.styles.width||S2.css({width:null}),S2.attr({text:P}),S2.textPxLength=S2.getBBox().width):(e4.label=S2=e4.createLabel(P,f2),e4.rotation=0)}createLabel(t4,e4,i3){let s3=this.axis,r3=s3.chart,o3=n2(t4)&&e4.enabled?r3.renderer.text(t4,i3==null?void 0:i3.x,i3==null?void 0:i3.y,e4.useHTML).add(s3.labelGroup):void 0;return o3&&(r3.styledMode||o3.css(c2(e4.style)),o3.textPxLength=o3.getBBox().width),o3}destroy(){a2(this,this.axis)}getPosition(t4,e4,i3,s3){let n3=this.axis,a3=n3.chart,h3=s3&&a3.oldChartHeight||a3.chartHeight,d3={x:t4?o2(n3.translate(e4+i3,void 0,void 0,s3)+n3.transB):n3.left+n3.offset+(n3.opposite?(s3&&a3.oldChartWidth||a3.chartWidth)-n3.right-n3.left:0),y:t4?h3-n3.bottom+n3.offset-(n3.opposite?n3.height:0):o2(h3-n3.translate(e4+i3,void 0,void 0,s3)-n3.transB)};return d3.y=r2(d3.y,-1e9,1e9),l2(this,"afterGetPosition",{pos:d3}),d3}getLabelPosition(t4,e4,i3,r3,o3,a3,h3,d3){let c3,p3;let g2=this.axis,f2=g2.transA,m2=g2.isLinked&&g2.linkedParent?g2.linkedParent.reversed:g2.reversed,x2=g2.staggerLines,y2=g2.tickRotCorr||{x:0,y:0},b2=r3||g2.reserveSpaceDefault?0:-g2.labelOffset*("center"===g2.labelAlign?.5:1),v2=o3.distance,S2={};return c3=0===g2.side?i3.rotation?-v2:-i3.getBBox().height:2===g2.side?y2.y+v2:Math.cos(i3.rotation*s2)*(y2.y-i3.getBBox(false,0).height/2),n2(o3.y)&&(c3=0===g2.side&&g2.horiz?o3.y+c3:o3.y),t4=t4+u2(o3.x,[0,1,0,-1][g2.side]*v2)+b2+y2.x-(a3&&r3?a3*f2*(m2?-1:1):0),e4=e4+c3-(a3&&!r3?a3*f2*(m2?1:-1):0),x2&&(p3=h3/(d3||1)%x2,g2.opposite&&(p3=x2-p3-1),e4+=p3*(g2.labelOffset/x2)),S2.x=t4,S2.y=Math.round(e4),l2(this,"afterGetLabelPosition",{pos:S2,tickmarkOffset:a3,index:h3}),S2}getLabelSize(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0}getMarkPath(t4,e4,i3,s3,r3=false,o3){return o3.crispLine([["M",t4,e4],["L",t4+(r3?0:-i3),e4+(r3?i3:0)]],s3)}handleOverflow(t4){let e4=this.axis,i3=e4.options.labels,r3=t4.x,o3=e4.chart.chartWidth,n3=e4.chart.spacing,a3=u2(e4.labelLeft,Math.min(e4.pos,n3[3])),h3=u2(e4.labelRight,Math.max(e4.isRadial?0:e4.pos+e4.len,o3-n3[1])),l3=this.label,d3=this.rotation,c3={left:0,center:.5,right:1}[e4.labelAlign||l3.attr("align")],p3=l3.getBBox().width,g2=e4.getSlotWidth(this),f2={},m2=g2,x2=1,y2,b2,v2;d3||"justify"!==i3.overflow?d3<0&&r3-c3*p3<a3?v2=Math.round(r3/Math.cos(d3*s2)-a3):d3>0&&r3+c3*p3>h3&&(v2=Math.round((o3-r3)/Math.cos(d3*s2))):(y2=r3-c3*p3,b2=r3+(1-c3)*p3,y2<a3?m2=t4.x+m2*(1-c3)-a3:b2>h3&&(m2=h3-t4.x+m2*c3,x2=-1),(m2=Math.min(g2,m2))<g2&&"center"===e4.labelAlign&&(t4.x+=x2*(g2-m2-c3*(g2-Math.min(p3,m2)))),(p3>m2||e4.autoRotation&&(l3.styles||{}).width)&&(v2=m2)),v2&&(this.shortenLabel?this.shortenLabel():(f2.width=Math.floor(v2)+"px",(i3.style||{}).textOverflow||(f2.textOverflow="ellipsis"),l3.css(f2)))}moveLabel(t4,e4){let i3=this,s3=i3.label,r3=i3.axis,o3=false,n3;s3&&s3.textStr===t4?(i3.movedLabel=s3,o3=true,delete i3.label):p2(r3.ticks,(function(e5){o3||e5.isNew||e5===i3||!e5.label||e5.label.textStr!==t4||(i3.movedLabel=e5.label,o3=true,e5.labelPos=i3.movedLabel.xy,delete e5.label)})),!o3&&(i3.labelPos||s3)&&(n3=i3.labelPos||s3.xy,i3.movedLabel=i3.createLabel(t4,e4,n3),i3.movedLabel&&i3.movedLabel.attr({opacity:0}))}render(t4,e4,i3){let s3=this.axis,r3=s3.horiz,n3=this.pos,a3=u2(this.tickmarkOffset,s3.tickmarkOffset),h3=this.getPosition(r3,n3,a3,e4),d3=h3.x,c3=h3.y,p3=s3.pos,g2=p3+s3.len,f2=r3?d3:c3;!s3.chart.polar&&this.isNew&&(o2(f2)<p3||f2>g2)&&(i3=0);let m2=u2(i3,this.label&&this.label.newOpacity,1);i3=u2(i3,1),this.isActive=true,this.renderGridLine(e4,i3),this.renderMark(h3,i3),this.renderLabel(h3,e4,m2,t4),this.isNew=false,l2(this,"afterRender")}renderGridLine(t4,e4){let i3=this.axis,s3=i3.options,r3={},o3=this.pos,n3=this.type,a3=u2(this.tickmarkOffset,i3.tickmarkOffset),h3=i3.chart.renderer,l3=this.gridLine,d3,c3=s3.gridLineWidth,p3=s3.gridLineColor,g2=s3.gridLineDashStyle;"minor"===this.type&&(c3=s3.minorGridLineWidth,p3=s3.minorGridLineColor,g2=s3.minorGridLineDashStyle),l3||(i3.chart.styledMode||(r3.stroke=p3,r3["stroke-width"]=c3||0,r3.dashstyle=g2),n3||(r3.zIndex=1),t4&&(e4=0),this.gridLine=l3=h3.path().attr(r3).addClass("highcharts-"+(n3?n3+"-":"")+"grid-line").add(i3.gridGroup)),l3&&(d3=i3.getPlotLinePath({value:o3+a3,lineWidth:l3.strokeWidth(),force:"pass",old:t4,acrossPanes:false}))&&l3[t4||this.isNew?"attr":"animate"]({d:d3,opacity:e4})}renderMark(t4,e4){let i3=this.axis,s3=i3.options,r3=i3.chart.renderer,o3=this.type,n3=i3.tickSize(o3?o3+"Tick":"tick"),a3=t4.x,h3=t4.y,l3=u2(s3["minor"!==o3?"tickWidth":"minorTickWidth"],!o3&&i3.isXAxis?1:0),d3=s3["minor"!==o3?"tickColor":"minorTickColor"],c3=this.mark,p3=!c3;n3&&(i3.opposite&&(n3[0]=-n3[0]),c3||(this.mark=c3=r3.path().addClass("highcharts-"+(o3?o3+"-":"")+"tick").add(i3.axisGroup),i3.chart.styledMode||c3.attr({stroke:d3,"stroke-width":l3})),c3[p3?"attr":"animate"]({d:this.getMarkPath(a3,h3,n3[0],c3.strokeWidth(),i3.horiz,r3),opacity:e4}))}renderLabel(t4,e4,i3,s3){let r3=this.axis,o3=r3.horiz,n3=r3.options,a3=this.label,h3=n3.labels,l3=h3.step,c3=u2(this.tickmarkOffset,r3.tickmarkOffset),p3=t4.x,g2=t4.y,f2=true;a3&&d2(p3)&&(a3.xy=t4=this.getLabelPosition(p3,g2,a3,o3,h3,c3,s3,l3),(!this.isFirst||this.isLast||n3.showFirstLabel)&&(!this.isLast||this.isFirst||n3.showLastLabel)?!o3||h3.step||h3.rotation||e4||0===i3||this.handleOverflow(t4):f2=false,l3&&s3%l3&&(f2=false),f2&&d2(t4.y)?(t4.opacity=i3,a3[this.isNewLabel?"attr":"animate"](t4).show(true),this.isNewLabel=false):(a3.hide(),this.isNewLabel=true))}replaceMovedLabel(){let t4=this.label,e4=this.axis;t4&&!this.isNew&&(t4.animate({opacity:0},void 0,t4.destroy),delete this.label),e4.isDirty=true,this.label=this.movedLabel,delete this.movedLabel}}})),i(e2,"Core/Axis/Axis.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Axis/AxisDefaults.js"],e2["Core/Color/Color.js"],e2["Core/Defaults.js"],e2["Core/Foundation.js"],e2["Core/Globals.js"],e2["Core/Axis/Tick.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2,o2,n2,a2){let{animObject:h2}=t3,{xAxis:l2,yAxis:d2}=e3,{defaultOptions:c2}=s2,{registerEventOptions:p2}=r2,{deg2rad:u2}=o2,{arrayMax:g2,arrayMin:f2,clamp:m2,correctFloat:x2,defined:y2,destroyObjectProperties:b2,erase:v2,error:S2,extend:C2,fireEvent:k2,getClosestDistance:M,insertItem:w2,isArray:T2,isNumber:A2,isString:P,merge:L2,normalizeTickInterval:O2,objectEach:D2,pick:E2,relativeLength:I,removeEvent:j,splat:B,syncTimeout:R2}=a2,z2=(t4,e4)=>O2(e4,void 0,void 0,E2(t4.options.allowDecimals,e4<.5||void 0!==t4.tickAmount),!!t4.tickAmount);C2(c2,{xAxis:l2,yAxis:L2(l2,d2)});class N{constructor(t4,e4,i3){this.init(t4,e4,i3)}init(t4,e4,i3=this.coll){let s3="xAxis"===i3,r3=this.isZAxis||(t4.inverted?!s3:s3);this.chart=t4,this.horiz=r3,this.isXAxis=s3,this.coll=i3,k2(this,"init",{userOptions:e4}),this.opposite=E2(e4.opposite,this.opposite),this.side=E2(e4.side,this.side,r3?this.opposite?0:2:this.opposite?1:3),this.setOptions(e4);let o3=this.options,n3=o3.labels;this.type??(this.type=o3.type||"linear"),this.uniqueNames??(this.uniqueNames=o3.uniqueNames??true),k2(this,"afterSetType"),this.userOptions=e4,this.minPixelPadding=0,this.reversed=E2(o3.reversed,this.reversed),this.visible=o3.visible,this.zoomEnabled=o3.zoomEnabled,this.hasNames="category"===this.type||true===o3.categories,this.categories=T2(o3.categories)&&o3.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=y2(o3.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len??(this.len=0),this.minRange=this.userMinRange=o3.minRange||o3.maxZoom,this.range=o3.range,this.offset=o3.offset||0,this.max=void 0,this.min=void 0;let a3=E2(o3.crosshair,B(t4.options.tooltip.crosshairs)[s3?0:1]);this.crosshair=true===a3?{}:a3,-1===t4.axes.indexOf(this)&&(s3?t4.axes.splice(t4.xAxis.length,0,this):t4.axes.push(this),w2(this,t4[this.coll])),t4.orderItems(this.coll),this.series=this.series||[],t4.inverted&&!this.isZAxis&&s3&&!y2(this.reversed)&&(this.reversed=true),this.labelRotation=A2(n3.rotation)?n3.rotation:void 0,p2(this,o3),k2(this,"afterInit")}setOptions(t4){let e4=this.horiz?{labels:{autoRotation:[-45],padding:4},margin:15}:{labels:{padding:1},title:{rotation:90*this.side}};this.options=L2(e4,c2[this.coll],t4),k2(this,"afterSetOptions",{userOptions:t4})}defaultLabelFormatter(){let t4=this.axis,{numberFormatter:e4}=this.chart,i3=A2(this.value)?this.value:NaN,s3=t4.chart.time,r3=t4.categories,o3=this.dateTimeLabelFormat,n3=c2.lang,a3=n3.numericSymbols,h3=n3.numericSymbolMagnitude||1e3,l3=t4.logarithmic?Math.abs(i3):t4.tickInterval,d3=a3&&a3.length,p3,u3;if(r3)u3=`${this.value}`;else if(o3)u3=s3.dateFormat(o3,i3);else if(d3&&a3&&l3>=1e3)for(;d3--&&void 0===u3;)l3>=(p3=Math.pow(h3,d3+1))&&10*i3%p3==0&&null!==a3[d3]&&0!==i3&&(u3=e4(i3/p3,-1)+a3[d3]);return void 0===u3&&(u3=Math.abs(i3)>=1e4?e4(i3,-1):e4(i3,-1,void 0,"")),u3}getSeriesExtremes(){let t4;let e4=this;k2(this,"getSeriesExtremes",null,(function(){e4.hasVisibleSeries=false,e4.dataMin=e4.dataMax=e4.threshold=void 0,e4.softThreshold=!e4.isXAxis,e4.series.forEach((i3=>{if(i3.reserveSpace()){let s3=i3.options,r3,o3=s3.threshold,n3,a3;if(e4.hasVisibleSeries=true,e4.positiveValuesOnly&&0>=(o3||0)&&(o3=void 0),e4.isXAxis)(r3=i3.xData)&&r3.length&&(r3=e4.logarithmic?r3.filter((t5=>t5>0)):r3,n3=(t4=i3.getXExtremes(r3)).min,a3=t4.max,A2(n3)||n3 instanceof Date||(r3=r3.filter(A2),n3=(t4=i3.getXExtremes(r3)).min,a3=t4.max),r3.length&&(e4.dataMin=Math.min(E2(e4.dataMin,n3),n3),e4.dataMax=Math.max(E2(e4.dataMax,a3),a3)));else{let t5=i3.applyExtremes();A2(t5.dataMin)&&(n3=t5.dataMin,e4.dataMin=Math.min(E2(e4.dataMin,n3),n3)),A2(t5.dataMax)&&(a3=t5.dataMax,e4.dataMax=Math.max(E2(e4.dataMax,a3),a3)),y2(o3)&&(e4.threshold=o3),(!s3.softThreshold||e4.positiveValuesOnly)&&(e4.softThreshold=false)}}}))})),k2(this,"afterGetSeriesExtremes")}translate(t4,e4,i3,s3,r3,o3){var _a;let n3=this.linkedParent||this,a3=s3&&n3.old?n3.old.min:n3.min;if(!A2(a3))return NaN;let h3=n3.minPixelPadding,l3=(n3.isOrdinal||((_a=n3.brokenAxis)==null?void 0:_a.hasBreaks)||n3.logarithmic&&r3)&&n3.lin2val,d3=1,c3=0,p3=s3&&n3.old?n3.old.transA:n3.transA,u3=0;return p3||(p3=n3.transA),i3&&(d3*=-1,c3=n3.len),n3.reversed&&(d3*=-1,c3-=d3*(n3.sector||n3.len)),e4?(u3=(t4=t4*d3+c3-h3)/p3+a3,l3&&(u3=n3.lin2val(u3))):(l3&&(t4=n3.val2lin(t4)),u3=d3*(t4-a3)*p3+c3+d3*h3+(A2(o3)?p3*o3:0),n3.isRadial||(u3=x2(u3))),u3}toPixels(t4,e4){return this.translate(t4,false,!this.horiz,void 0,true)+(e4?0:this.pos)}toValue(t4,e4){return this.translate(t4-(e4?0:this.pos),true,!this.horiz,void 0,true)}getPlotLinePath(t4){let e4=this,i3=e4.chart,s3=e4.left,r3=e4.top,o3=t4.old,n3=t4.value,a3=t4.lineWidth,h3=o3&&i3.oldChartHeight||i3.chartHeight,l3=o3&&i3.oldChartWidth||i3.chartWidth,d3=e4.transB,c3=t4.translatedValue,p3=t4.force,u3,g3,f3,x3,y3;function b3(t5,e5,i4){return"pass"!==p3&&(t5<e5||t5>i4)&&(p3?t5=m2(t5,e5,i4):y3=true),t5}let v3={value:n3,lineWidth:a3,old:o3,force:p3,acrossPanes:t4.acrossPanes,translatedValue:c3};return k2(this,"getPlotLinePath",v3,(function(t5){u3=f3=(c3=m2(c3=E2(c3,e4.translate(n3,void 0,void 0,o3)),-1e9,1e9))+d3,g3=x3=h3-c3-d3,A2(c3)?e4.horiz?(g3=r3,x3=h3-e4.bottom+(e4.options.isInternal?0:i3.scrollablePixelsY||0),u3=f3=b3(u3,s3,s3+e4.width)):(u3=s3,f3=l3-e4.right+(i3.scrollablePixelsX||0),g3=x3=b3(g3,r3,r3+e4.height)):(y3=true,p3=false),t5.path=y3&&!p3?void 0:i3.renderer.crispLine([["M",u3,g3],["L",f3,x3]],a3||1)})),v3.path}getLinearTickPositions(t4,e4,i3){let s3,r3,o3;let n3=x2(Math.floor(e4/t4)*t4),a3=x2(Math.ceil(i3/t4)*t4),h3=[];if(x2(n3+t4)===n3&&(o3=20),this.single)return[e4];for(s3=n3;s3<=a3&&(h3.push(s3),(s3=x2(s3+t4,o3))!==r3);)r3=s3;return h3}getMinorTickInterval(){let{minorTicks:t4,minorTickInterval:e4}=this.options;return true===t4?E2(e4,"auto"):false!==t4?e4:void 0}getMinorTickPositions(){let t4=this.options,e4=this.tickPositions,i3=this.minorTickInterval,s3=this.pointRangePadding||0,r3=(this.min||0)-s3,o3=(this.max||0)+s3,n3=o3-r3,a3=[],h3;if(n3&&n3/i3<this.len/3){let s4=this.logarithmic;if(s4)this.paddedTicks.forEach((function(t5,e5,r4){e5&&a3.push.apply(a3,s4.getLogTickPositions(i3,r4[e5-1],r4[e5],true))}));else if(this.dateTime&&"auto"===this.getMinorTickInterval())a3=a3.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(i3),r3,o3,t4.startOfWeek));else for(h3=r3+(e4[0]-r3)%i3;h3<=o3&&h3!==a3[0];h3+=i3)a3.push(h3)}return 0!==a3.length&&this.trimTicks(a3),a3}adjustForMinRange(){let t4=this.options,e4=this.logarithmic,{max:i3,min:s3,minRange:r3}=this,o3,n3,a3,h3;this.isXAxis&&void 0===r3&&!e4&&(r3=y2(t4.min)||y2(t4.max)||y2(t4.floor)||y2(t4.ceiling)?null:Math.min(5*(M(this.series.map((t5=>{var _a;return(t5.xIncrement?(_a=t5.xData)==null?void 0:_a.slice(0,2):t5.xData)||[]})))||0),this.dataMax-this.dataMin)),A2(i3)&&A2(s3)&&A2(r3)&&i3-s3<r3&&(n3=this.dataMax-this.dataMin>=r3,o3=(r3-i3+s3)/2,a3=[s3-o3,E2(t4.min,s3-o3)],n3&&(a3[2]=e4?e4.log2lin(this.dataMin):this.dataMin),h3=[(s3=g2(a3))+r3,E2(t4.max,s3+r3)],n3&&(h3[2]=e4?e4.log2lin(this.dataMax):this.dataMax),(i3=f2(h3))-s3<r3&&(a3[0]=i3-r3,a3[1]=E2(t4.min,i3-r3),s3=g2(a3))),this.minRange=r3,this.min=s3,this.max=i3}getClosest(){let t4,e4;if(this.categories)e4=1;else{let i3=[];this.series.forEach((function(t5){var _a;let s3=t5.closestPointRange;((_a=t5.xData)==null?void 0:_a.length)===1?i3.push(t5.xData[0]):!t5.noSharedTooltip&&y2(s3)&&t5.reserveSpace()&&(e4=y2(e4)?Math.min(e4,s3):s3)})),i3.length&&(i3.sort(((t5,e5)=>t5-e5)),t4=M([i3]))}return t4&&e4?Math.min(t4,e4):t4||e4}nameToX(t4){let e4=T2(this.options.categories),i3=e4?this.categories:this.names,s3=t4.options.x,r3;return t4.series.requireSorting=false,y2(s3)||(s3=this.uniqueNames&&i3?e4?i3.indexOf(t4.name):E2(i3.keys[t4.name],-1):t4.series.autoIncrement()),-1===s3?!e4&&i3&&(r3=i3.length):r3=s3,void 0!==r3?(this.names[r3]=t4.name,this.names.keys[t4.name]=r3):t4.x&&(r3=t4.x),r3}updateNames(){let t4=this,e4=this.names;e4.length>0&&(Object.keys(e4.keys).forEach((function(t5){delete e4.keys[t5]})),e4.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach((e5=>{e5.xIncrement=null,(!e5.points||e5.isDirtyData)&&(t4.max=Math.max(t4.max,e5.xData.length-1),e5.processData(),e5.generatePoints()),e5.data.forEach((function(i3,s3){let r3;(i3==null?void 0:i3.options)&&void 0!==i3.name&&void 0!==(r3=t4.nameToX(i3))&&r3!==i3.x&&(i3.x=r3,e5.xData[s3]=r3)}))})))}setAxisTranslation(){let t4=this,e4=t4.max-t4.min,i3=t4.linkedParent,s3=!!t4.categories,r3=t4.isXAxis,o3=t4.axisPointRange||0,n3,a3=0,h3=0,l3,d3=t4.transA;(r3||s3||o3)&&(n3=t4.getClosest(),i3?(a3=i3.minPointOffset,h3=i3.pointRangePadding):t4.series.forEach((function(e5){let i4=s3?1:r3?E2(e5.options.pointRange,n3,0):t4.axisPointRange||0,l4=e5.options.pointPlacement;if(o3=Math.max(o3,i4),!t4.single||s3){let t5=e5.is("xrange")?!r3:r3;a3=Math.max(a3,t5&&P(l4)?0:i4/2),h3=Math.max(h3,t5&&"on"===l4?0:i4)}})),l3=t4.ordinal&&t4.ordinal.slope&&n3?t4.ordinal.slope/n3:1,t4.minPointOffset=a3*=l3,t4.pointRangePadding=h3*=l3,t4.pointRange=Math.min(o3,t4.single&&s3?1:e4),r3&&n3&&(t4.closestPointRange=n3)),t4.translationSlope=t4.transA=d3=t4.staticScale||t4.len/(e4+h3||1),t4.transB=t4.horiz?t4.left:t4.bottom,t4.minPixelPadding=d3*a3,k2(this,"afterSetAxisTranslation")}minFromRange(){let{max:t4,min:e4}=this;return A2(t4)&&A2(e4)&&t4-e4||void 0}setTickInterval(t4){var _a,_b,_c,_d;let{categories:e4,chart:i3,dataMax:s3,dataMin:r3,dateTime:o3,isXAxis:n3,logarithmic:a3,options:h3,softThreshold:l3}=this,d3=A2(this.threshold)?this.threshold:void 0,c3=this.minRange||0,{ceiling:p3,floor:u3,linkedTo:g3,softMax:f3,softMin:m3}=h3,b3=A2(g3)&&((_a=i3[this.coll])==null?void 0:_a[g3]),v3=h3.tickPixelInterval,C3=h3.maxPadding,M2=h3.minPadding,w3=0,T3,P2=A2(h3.tickInterval)&&h3.tickInterval>=0?h3.tickInterval:void 0,L3,O3,D3,I2;if(o3||e4||b3||this.getTickAmount(),D3=E2(this.userMin,h3.min),I2=E2(this.userMax,h3.max),b3?(this.linkedParent=b3,T3=b3.getExtremes(),this.min=E2(T3.min,T3.dataMin),this.max=E2(T3.max,T3.dataMax),this.type!==b3.type&&S2(11,true,i3)):(l3&&y2(d3)&&A2(s3)&&A2(r3)&&(r3>=d3?(L3=d3,M2=0):s3<=d3&&(O3=d3,C3=0)),this.min=E2(D3,L3,r3),this.max=E2(I2,O3,s3)),A2(this.max)&&A2(this.min)&&(a3&&(this.positiveValuesOnly&&!t4&&0>=Math.min(this.min,E2(r3,this.min))&&S2(10,true,i3),this.min=x2(a3.log2lin(this.min),16),this.max=x2(a3.log2lin(this.max),16)),this.range&&A2(r3)&&(this.userMin=this.min=D3=Math.max(r3,this.minFromRange()||0),this.userMax=I2=this.max,this.range=void 0)),k2(this,"foundExtremes"),this.adjustForMinRange(),A2(this.min)&&A2(this.max)){if(!A2(this.userMin)&&A2(m3)&&m3<this.min&&(this.min=D3=m3),!A2(this.userMax)&&A2(f3)&&f3>this.max&&(this.max=I2=f3),e4||this.axisPointRange||((_b=this.stacking)==null?void 0:_b.usePercentage)||b3||!(w3=this.max-this.min)||(!y2(D3)&&M2&&(this.min-=w3*M2),y2(I2)||!C3||(this.max+=w3*C3)),!A2(this.userMin)&&A2(u3)&&(this.min=Math.max(this.min,u3)),!A2(this.userMax)&&A2(p3)&&(this.max=Math.min(this.max,p3)),l3&&A2(r3)&&A2(s3)){let t5=d3||0;!y2(D3)&&this.min<t5&&r3>=t5?this.min=h3.minRange?Math.min(t5,this.max-c3):t5:!y2(I2)&&this.max>t5&&s3<=t5&&(this.max=h3.minRange?Math.max(t5,this.min+c3):t5)}!i3.polar&&this.min>this.max&&(y2(h3.min)?this.max=this.min:y2(h3.max)&&(this.min=this.max)),w3=this.max-this.min}if(this.min!==this.max&&A2(this.min)&&A2(this.max)?b3&&!P2&&v3===b3.options.tickPixelInterval?this.tickInterval=P2=b3.tickInterval:this.tickInterval=E2(P2,this.tickAmount?w3/Math.max(this.tickAmount-1,1):void 0,e4?1:w3*v3/Math.max(this.len,v3)):this.tickInterval=1,n3&&!t4){let t5=this.min!==((_c=this.old)==null?void 0:_c.min)||this.max!==((_d=this.old)==null?void 0:_d.max);this.series.forEach((function(e5){var _a2;e5.forceCrop=(_a2=e5.forceCropping)==null?void 0:_a2.call(e5),e5.processData(t5)})),k2(this,"postProcessData",{hasExtremesChanged:t5})}this.setAxisTranslation(),k2(this,"initialAxisTranslation"),this.pointRange&&!P2&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval));let j2=E2(h3.minTickInterval,o3&&!this.series.some((t5=>t5.noSharedTooltip))?this.closestPointRange:0);!P2&&this.tickInterval<j2&&(this.tickInterval=j2),o3||a3||P2||(this.tickInterval=z2(this,this.tickInterval)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()}setTickPositions(){var _a,_b;let t4=this.options,e4=t4.tickPositions,i3=t4.tickPositioner,s3=this.getMinorTickInterval(),r3=!this.isPanning,o3=r3&&t4.startOnTick,n3=r3&&t4.endOnTick,a3=[],h3;if(this.tickmarkOffset=this.categories&&"between"===t4.tickmarkPlacement&&1===this.tickInterval?.5:0,this.single=this.min===this.max&&y2(this.min)&&!this.tickAmount&&(this.min%1==0||false!==t4.allowDecimals),e4)a3=e4.slice();else if(A2(this.min)&&A2(this.max)){if(!((_a=this.ordinal)==null?void 0:_a.positions)&&(this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))a3=[this.min,this.max],S2(19,false,this.chart);else if(this.dateTime)a3=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,t4.units),this.min,this.max,t4.startOfWeek,(_b=this.ordinal)==null?void 0:_b.positions,this.closestPointRange,true);else if(this.logarithmic)a3=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else{let t5=this.tickInterval,e5=t5;for(;e5<=2*t5;)if(a3=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&a3.length>this.tickAmount)this.tickInterval=z2(this,e5*=1.1);else break}a3.length>this.len&&(a3=[a3[0],a3[a3.length-1]])[0]===a3[1]&&(a3.length=1),i3&&(this.tickPositions=a3,(h3=i3.apply(this,[this.min,this.max]))&&(a3=h3))}this.tickPositions=a3,this.minorTickInterval="auto"===s3&&this.tickInterval?this.tickInterval/t4.minorTicksPerMajor:s3,this.paddedTicks=a3.slice(0),this.trimTicks(a3,o3,n3),!this.isLinked&&A2(this.min)&&A2(this.max)&&(this.single&&a3.length<2&&!this.categories&&!this.series.some((t5=>t5.is("heatmap")&&"between"===t5.options.pointPlacement))&&(this.min-=.5,this.max+=.5),e4||h3||this.adjustTickAmount()),k2(this,"afterSetTickPositions")}trimTicks(t4,e4,i3){let s3=t4[0],r3=t4[t4.length-1],o3=!this.isOrdinal&&this.minPointOffset||0;if(k2(this,"trimTicks"),!this.isLinked){if(e4&&s3!==-1/0)this.min=s3;else for(;this.min-o3>t4[0];)t4.shift();if(i3)this.max=r3;else for(;this.max+o3<t4[t4.length-1];)t4.pop();0===t4.length&&y2(s3)&&!this.options.tickPositions&&t4.push((r3+s3)/2)}}alignToOthers(){let t4;let e4=this,i3=e4.chart,s3=[this],r3=e4.options,o3=i3.options.chart,n3="yAxis"===this.coll&&o3.alignThresholds,a3=[];if(e4.thresholdAlignment=void 0,(false!==o3.alignTicks&&r3.alignTicks||n3)&&false!==r3.startOnTick&&false!==r3.endOnTick&&!e4.logarithmic){let r4=t5=>{let{horiz:e5,options:i4}=t5;return[e5?i4.left:i4.top,i4.width,i4.height,i4.pane].join(",")},o4=r4(this);i3[this.coll].forEach((function(i4){let{series:n4}=i4;n4.length&&n4.some((t5=>t5.visible))&&i4!==e4&&r4(i4)===o4&&(t4=true,s3.push(i4))}))}if(t4&&n3){s3.forEach((t6=>{let i4=t6.getThresholdAlignment(e4);A2(i4)&&a3.push(i4)}));let t5=a3.length>1?a3.reduce(((t6,e5)=>t6+=e5),0)/a3.length:void 0;s3.forEach((e5=>{e5.thresholdAlignment=t5}))}return t4}getThresholdAlignment(t4){if((!A2(this.dataMin)||this!==t4&&this.series.some((t5=>t5.isDirty||t5.isDirtyData)))&&this.getSeriesExtremes(),A2(this.threshold)){let t5=m2((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1);return this.options.reversed&&(t5=1-t5),t5}}getTickAmount(){let t4=this.options,e4=t4.tickPixelInterval,i3=t4.tickAmount;y2(t4.tickInterval)||i3||!(this.len<e4)||this.isRadial||this.logarithmic||!t4.startOnTick||!t4.endOnTick||(i3=2),!i3&&this.alignToOthers()&&(i3=Math.ceil(this.len/e4)+1),i3<4&&(this.finalTickAmt=i3,i3=5),this.tickAmount=i3}adjustTickAmount(){let t4=this,{finalTickAmt:e4,max:i3,min:s3,options:r3,tickPositions:o3,tickAmount:n3,thresholdAlignment:a3}=t4,h3=o3==null?void 0:o3.length,l3=E2(t4.threshold,t4.softThreshold?0:null),d3,c3,p3=t4.tickInterval,u3,g3=()=>o3.push(x2(o3[o3.length-1]+p3)),f3=()=>o3.unshift(x2(o3[0]-p3));if(A2(a3)&&(u3=a3<.5?Math.ceil(a3*(n3-1)):Math.floor(a3*(n3-1)),r3.reversed&&(u3=n3-1-u3)),t4.hasData()&&A2(s3)&&A2(i3)){let a4=()=>{t4.transA*=(h3-1)/(n3-1),t4.min=r3.startOnTick?o3[0]:Math.min(s3,o3[0]),t4.max=r3.endOnTick?o3[o3.length-1]:Math.max(i3,o3[o3.length-1])};if(A2(u3)&&A2(t4.threshold)){for(;o3[u3]!==l3||o3.length!==n3||o3[0]>s3||o3[o3.length-1]<i3;){for(o3.length=0,o3.push(t4.threshold);o3.length<n3;)void 0===o3[u3]||o3[u3]>t4.threshold?f3():g3();if(p3>8*t4.tickInterval)break;p3*=2}a4()}else if(h3<n3){for(;o3.length<n3;)o3.length%2||s3===l3?g3():f3();a4()}if(y2(e4)){for(c3=d3=o3.length;c3--;)(3===e4&&c3%2==1||e4<=2&&c3>0&&c3<d3-1)&&o3.splice(c3,1);t4.finalTickAmt=void 0}}}setScale(){var _a,_b;let{coll:t4,stacking:e4}=this,i3=false,s3=false;this.series.forEach((t5=>{i3=i3||t5.isDirtyData||t5.isDirty,s3=s3||t5.xAxis&&t5.xAxis.isDirty||false})),this.setAxisSize();let r3=this.len!==(this.old&&this.old.len);r3||i3||s3||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(e4&&"yAxis"===t4&&e4.buildStacks(),this.forceRedraw=false,this.userMinRange||(this.minRange=void 0),this.getSeriesExtremes(),this.setTickInterval(),e4&&"xAxis"===t4&&e4.buildStacks(),this.isDirty||(this.isDirty=r3||this.min!==((_a=this.old)==null?void 0:_a.min)||this.max!==((_b=this.old)==null?void 0:_b.max))):e4&&e4.cleanStacks(),i3&&delete this.allExtremes,k2(this,"afterSetScale")}setExtremes(t4,e4,i3=true,s3,r3){this.series.forEach((t5=>{delete t5.kdTree})),k2(this,"setExtremes",r3=C2(r3,{min:t4,max:e4}),(t5=>{this.userMin=t5.min,this.userMax=t5.max,this.eventArgs=t5,i3&&this.chart.redraw(s3)}))}setAxisSize(){let t4=this.chart,e4=this.options,i3=e4.offsets||[0,0,0,0],s3=this.horiz,r3=this.width=Math.round(I(E2(e4.width,t4.plotWidth-i3[3]+i3[1]),t4.plotWidth)),o3=this.height=Math.round(I(E2(e4.height,t4.plotHeight-i3[0]+i3[2]),t4.plotHeight)),n3=this.top=Math.round(I(E2(e4.top,t4.plotTop+i3[0]),t4.plotHeight,t4.plotTop)),a3=this.left=Math.round(I(E2(e4.left,t4.plotLeft+i3[3]),t4.plotWidth,t4.plotLeft));this.bottom=t4.chartHeight-o3-n3,this.right=t4.chartWidth-r3-a3,this.len=Math.max(s3?r3:o3,0),this.pos=s3?a3:n3}getExtremes(){let t4=this.logarithmic;return{min:t4?x2(t4.lin2log(this.min)):this.min,max:t4?x2(t4.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}}getThreshold(t4){let e4=this.logarithmic,i3=e4?e4.lin2log(this.min):this.min,s3=e4?e4.lin2log(this.max):this.max;return null===t4||t4===-1/0?t4=i3:t4===1/0?t4=s3:i3>t4?t4=i3:s3<t4&&(t4=s3),this.translate(t4,0,1,0,1)}autoLabelAlign(t4){let e4=(E2(t4,0)-90*this.side+720)%360,i3={align:"center"};return k2(this,"autoLabelAlign",i3,(function(t5){e4>15&&e4<165?t5.align="right":e4>195&&e4<345&&(t5.align="left")})),i3.align}tickSize(t4){let e4=this.options,i3=E2(e4["tick"===t4?"tickWidth":"minorTickWidth"],"tick"===t4&&this.isXAxis&&!this.categories?1:0),s3=e4["tick"===t4?"tickLength":"minorTickLength"],r3;i3&&s3&&("inside"===e4[t4+"Position"]&&(s3=-s3),r3=[s3,i3]);let o3={tickSize:r3};return k2(this,"afterTickSize",o3),o3.tickSize}labelMetrics(){let t4=this.chart.renderer,e4=this.ticks,i3=e4[Object.keys(e4)[0]]||{};return this.chart.renderer.fontMetrics(i3.label||i3.movedLabel||t4.box)}unsquish(){let t4=this.options.labels,e4=t4.padding||0,i3=this.horiz,s3=this.tickInterval,r3=this.len/(((this.categories?1:0)+this.max-this.min)/s3),o3=t4.rotation,n3=x2(.8*this.labelMetrics().h),a3=Math.max(this.max-this.min,0),h3=function(t5){let i4=(t5+2*e4)/(r3||1);return(i4=i4>1?Math.ceil(i4):1)*s3>a3&&t5!==1/0&&r3!==1/0&&a3&&(i4=Math.ceil(a3/s3)),x2(i4*s3)},l3=s3,d3,c3=Number.MAX_VALUE,p3;if(i3){if(!t4.staggerLines&&(A2(o3)?p3=[o3]:r3<t4.autoRotationLimit&&(p3=t4.autoRotation)),p3){let t5,e5;for(let i4 of p3)(i4===o3||i4&&i4>=-90&&i4<=90)&&(e5=(t5=h3(Math.abs(n3/Math.sin(u2*i4))))+Math.abs(i4/360))<c3&&(c3=e5,d3=i4,l3=t5)}}else l3=h3(.75*n3);return this.autoRotation=p3,this.labelRotation=E2(d3,A2(o3)?o3:0),t4.step?s3:l3}getSlotWidth(t4){let e4=this.chart,i3=this.horiz,s3=this.options.labels,r3=Math.max(this.tickPositions.length-(this.categories?0:1),1),o3=e4.margin[3];if(t4&&A2(t4.slotWidth))return t4.slotWidth;if(i3&&s3.step<2)return s3.rotation?0:(this.staggerLines||1)*this.len/r3;if(!i3){let t5=s3.style.width;if(void 0!==t5)return parseInt(String(t5),10);if(o3)return o3-e4.spacing[3]}return.33*e4.chartWidth}renderUnsquish(){let t4=this.chart,e4=t4.renderer,i3=this.tickPositions,s3=this.ticks,r3=this.options.labels,o3=r3.style,n3=this.horiz,a3=this.getSlotWidth(),h3=Math.max(1,Math.round(a3-(n3?2*(r3.padding||0):r3.distance||0))),l3={},d3=this.labelMetrics(),c3=o3.textOverflow,p3,u3,g3=0,f3,m3;if(P(r3.rotation)||(l3.rotation=r3.rotation||0),i3.forEach((function(t5){let e5=s3[t5];e5.movedLabel&&e5.replaceMovedLabel(),e5&&e5.label&&e5.label.textPxLength>g3&&(g3=e5.label.textPxLength)})),this.maxLabelLength=g3,this.autoRotation)g3>h3&&g3>d3.h?l3.rotation=this.labelRotation:this.labelRotation=0;else if(a3&&(p3=h3,!c3))for(u3="clip",m3=i3.length;!n3&&m3--;)(f3=s3[i3[m3]].label)&&("ellipsis"===f3.styles.textOverflow?f3.css({textOverflow:"clip"}):f3.textPxLength>a3&&f3.css({width:a3+"px"}),f3.getBBox().height>this.len/i3.length-(d3.h-d3.f)&&(f3.specificTextOverflow="ellipsis"));l3.rotation&&(p3=g3>.5*t4.chartHeight?.33*t4.chartHeight:g3,c3||(u3="ellipsis")),this.labelAlign=r3.align||this.autoLabelAlign(this.labelRotation),this.labelAlign&&(l3.align=this.labelAlign),i3.forEach((function(t5){let e5=s3[t5],i4=e5&&e5.label,r4=o3.width,n4={};i4&&(i4.attr(l3),e5.shortenLabel?e5.shortenLabel():p3&&!r4&&"nowrap"!==o3.whiteSpace&&(p3<i4.textPxLength||"SPAN"===i4.element.tagName)?(n4.width=p3+"px",c3||(n4.textOverflow=i4.specificTextOverflow||u3),i4.css(n4)):!i4.styles.width||n4.width||r4||i4.css({width:null}),delete i4.specificTextOverflow,e5.rotation=l3.rotation)}),this),this.tickRotCorr=e4.rotCorr(d3.b,this.labelRotation||0,0!==this.side)}hasData(){return this.series.some((function(t4){return t4.hasData()}))||this.options.showEmpty&&y2(this.min)&&y2(this.max)}addTitle(t4){let e4;let i3=this.chart.renderer,s3=this.horiz,r3=this.opposite,o3=this.options.title,n3=this.chart.styledMode;this.axisTitle||((e4=o3.textAlign)||(e4=(s3?{low:"left",middle:"center",high:"right"}:{low:r3?"right":"left",middle:"center",high:r3?"left":"right"})[o3.align]),this.axisTitle=i3.text(o3.text||"",0,0,o3.useHTML).attr({zIndex:7,rotation:o3.rotation||0,align:e4}).addClass("highcharts-axis-title"),n3||this.axisTitle.css(L2(o3.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=true),n3||o3.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[t4?"show":"hide"](t4)}generateTick(t4){let e4=this.ticks;e4[t4]?e4[t4].addLabel():e4[t4]=new n2(this,t4)}createGroups(){let{axisParent:t4,chart:e4,coll:i3,options:s3}=this,r3=e4.renderer,o3=(e5,o4,n3)=>r3.g(e5).attr({zIndex:n3}).addClass(`highcharts-${i3.toLowerCase()}${o4} `+(this.isRadial?`highcharts-radial-axis${o4} `:"")+(s3.className||"")).add(t4);this.axisGroup||(this.gridGroup=o3("grid","-grid",s3.gridZIndex),this.axisGroup=o3("axis","",s3.zIndex),this.labelGroup=o3("axis-labels","-labels",s3.labels.zIndex))}getOffset(){let t4=this,{chart:e4,horiz:i3,options:s3,side:r3,ticks:o3,tickPositions:n3,coll:a3}=t4,h3=e4.inverted&&!t4.isZAxis?[1,0,3,2][r3]:r3,l3=t4.hasData(),d3=s3.title,c3=s3.labels,p3=A2(s3.crossing),u3=e4.axisOffset,g3=e4.clipOffset,f3=[-1,1,1,-1][r3],m3,x3=0,b3,v3=0,S3=0,C3,M2;if(t4.showAxis=m3=l3||s3.showEmpty,t4.staggerLines=t4.horiz&&c3.staggerLines||void 0,t4.createGroups(),l3||t4.isLinked?(n3.forEach((function(e5){t4.generateTick(e5)})),t4.renderUnsquish(),t4.reserveSpaceDefault=0===r3||2===r3||{1:"left",3:"right"}[r3]===t4.labelAlign,E2(c3.reserveSpace,!p3&&null,"center"===t4.labelAlign||null,t4.reserveSpaceDefault)&&n3.forEach((function(t5){S3=Math.max(o3[t5].getLabelSize(),S3)})),t4.staggerLines&&(S3*=t4.staggerLines),t4.labelOffset=S3*(t4.opposite?-1:1)):D2(o3,(function(t5,e5){t5.destroy(),delete o3[e5]})),(d3==null?void 0:d3.text)&&false!==d3.enabled&&(t4.addTitle(m3),m3&&!p3&&false!==d3.reserveSpace&&(t4.titleOffset=x3=t4.axisTitle.getBBox()[i3?"height":"width"],v3=y2(b3=d3.offset)?0:E2(d3.margin,i3?5:10))),t4.renderLine(),t4.offset=f3*E2(s3.offset,u3[r3]?u3[r3]+(s3.margin||0):0),t4.tickRotCorr=t4.tickRotCorr||{x:0,y:0},M2=0===r3?-t4.labelMetrics().h:2===r3?t4.tickRotCorr.y:0,C3=Math.abs(S3)+v3,S3&&(C3-=M2,C3+=f3*(i3?E2(c3.y,t4.tickRotCorr.y+f3*c3.distance):E2(c3.x,f3*c3.distance))),t4.axisTitleMargin=E2(b3,C3),t4.getMaxLabelDimensions&&(t4.maxLabelDimensions=t4.getMaxLabelDimensions(o3,n3)),"colorAxis"!==a3&&g3){let e5=this.tickSize("tick");u3[r3]=Math.max(u3[r3],(t4.axisTitleMargin||0)+x3+f3*t4.offset,C3,n3&&n3.length&&e5?e5[0]+f3*t4.offset:0);let i4=!t4.axisLine||s3.offset?0:t4.axisLine.strokeWidth()/2;g3[h3]=Math.max(g3[h3],i4)}k2(this,"afterGetOffset")}getLinePath(t4){let e4=this.chart,i3=this.opposite,s3=this.offset,r3=this.horiz,o3=this.left+(i3?this.width:0)+s3,n3=e4.chartHeight-this.bottom-(i3?this.height:0)+s3;return i3&&(t4*=-1),e4.renderer.crispLine([["M",r3?this.left:o3,r3?n3:this.top],["L",r3?e4.chartWidth-this.right:o3,r3?n3:e4.chartHeight-this.bottom]],t4)}renderLine(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))}getTitlePosition(t4){let e4=this.horiz,i3=this.left,s3=this.top,r3=this.len,o3=this.options.title,n3=e4?i3:s3,a3=this.opposite,h3=this.offset,l3=o3.x,d3=o3.y,c3=this.chart.renderer.fontMetrics(t4),p3=t4?Math.max(t4.getBBox(false,0).height-c3.h-1,0):0,u3={low:n3+(e4?0:r3),middle:n3+r3/2,high:n3+(e4?r3:0)}[o3.align],g3=(e4?s3+this.height:i3)+(e4?1:-1)*(a3?-1:1)*(this.axisTitleMargin||0)+[-p3,p3,c3.f,-p3][this.side],f3={x:e4?u3+l3:g3+(a3?this.width:0)+h3+l3,y:e4?g3+d3-(a3?this.height:0)+h3:u3+d3};return k2(this,"afterGetTitlePosition",{titlePosition:f3}),f3}renderMinorTick(t4,e4){let i3=this.minorTicks;i3[t4]||(i3[t4]=new n2(this,t4,"minor")),e4&&i3[t4].isNew&&i3[t4].render(null,true),i3[t4].render(null,false,1)}renderTick(t4,e4,i3){let s3=this.isLinked,r3=this.ticks;(!s3||t4>=this.min&&t4<=this.max||this.grid&&this.grid.isColumn)&&(r3[t4]||(r3[t4]=new n2(this,t4)),i3&&r3[t4].isNew&&r3[t4].render(e4,true,-1),r3[t4].render(e4))}render(){let t4,e4;let i3=this,s3=i3.chart,r3=i3.logarithmic,a3=s3.renderer,l3=i3.options,d3=i3.isLinked,c3=i3.tickPositions,p3=i3.axisTitle,u3=i3.ticks,g3=i3.minorTicks,f3=i3.alternateBands,m3=l3.stackLabels,x3=l3.alternateGridColor,y3=l3.crossing,b3=i3.tickmarkOffset,v3=i3.axisLine,S3=i3.showAxis,C3=h2(a3.globalAnimation);if(i3.labelEdge.length=0,i3.overlap=false,[u3,g3,f3].forEach((function(t5){D2(t5,(function(t6){t6.isActive=false}))})),A2(y3)){let t5=this.isXAxis?s3.yAxis[0]:s3.xAxis[0],e5=[1,-1,-1,1][this.side];if(t5){let s4=t5.toPixels(y3,true);i3.horiz&&(s4=t5.len-s4),i3.offset=e5*s4}}if(i3.hasData()||d3){let a4=i3.chart.hasRendered&&i3.old&&A2(i3.old.min);i3.minorTickInterval&&!i3.categories&&i3.getMinorTickPositions().forEach((function(t5){i3.renderMinorTick(t5,a4)})),c3.length&&(c3.forEach((function(t5,e5){i3.renderTick(t5,e5,a4)})),b3&&(0===i3.min||i3.single)&&(u3[-1]||(u3[-1]=new n2(i3,-1,null,true)),u3[-1].render(-1))),x3&&c3.forEach((function(n3,a5){e4=void 0!==c3[a5+1]?c3[a5+1]+b3:i3.max-b3,a5%2==0&&n3<i3.max&&e4<=i3.max+(s3.polar?-b3:b3)&&(f3[n3]||(f3[n3]=new o2.PlotLineOrBand(i3,{})),t4=n3+b3,f3[n3].options={from:r3?r3.lin2log(t4):t4,to:r3?r3.lin2log(e4):e4,color:x3,className:"highcharts-alternate-grid"},f3[n3].render(),f3[n3].isActive=true)})),i3._addedPlotLB||(i3._addedPlotLB=true,(l3.plotLines||[]).concat(l3.plotBands||[]).forEach((function(t5){i3.addPlotBandOrLine(t5)})))}[u3,g3,f3].forEach((function(t5){let e5=[],i4=C3.duration;D2(t5,(function(t6,i5){t6.isActive||(t6.render(i5,false,0),t6.isActive=false,e5.push(i5))})),R2((function(){let i5=e5.length;for(;i5--;)t5[e5[i5]]&&!t5[e5[i5]].isActive&&(t5[e5[i5]].destroy(),delete t5[e5[i5]])}),t5!==f3&&s3.hasRendered&&i4?i4:0)})),v3&&(v3[v3.isPlaced?"animate":"attr"]({d:this.getLinePath(v3.strokeWidth())}),v3.isPlaced=true,v3[S3?"show":"hide"](S3)),p3&&S3&&(p3[p3.isNew?"attr":"animate"](i3.getTitlePosition(p3)),p3.isNew=false),m3&&m3.enabled&&i3.stacking&&i3.stacking.renderStackTotals(),i3.old={len:i3.len,max:i3.max,min:i3.min,transA:i3.transA,userMax:i3.userMax,userMin:i3.userMin},i3.isDirty=false,k2(this,"afterRender")}redraw(){this.visible&&(this.render(),this.plotLinesAndBands.forEach((function(t4){t4.render()}))),this.series.forEach((function(t4){t4.isDirty=true}))}getKeepProps(){return this.keepProps||N.keepProps}destroy(t4){let e4=this,i3=e4.plotLinesAndBands,s3=this.eventOptions;if(k2(this,"destroy",{keepEvents:t4}),t4||j(e4),[e4.ticks,e4.minorTicks,e4.alternateBands].forEach((function(t5){b2(t5)})),i3){let t5=i3.length;for(;t5--;)i3[t5].destroy()}for(let t5 in["axisLine","axisTitle","axisGroup","gridGroup","labelGroup","cross","scrollbar"].forEach((function(t6){e4[t6]&&(e4[t6]=e4[t6].destroy())})),e4.plotLinesAndBandsGroups)e4.plotLinesAndBandsGroups[t5]=e4.plotLinesAndBandsGroups[t5].destroy();D2(e4,(function(t5,i4){-1===e4.getKeepProps().indexOf(i4)&&delete e4[i4]})),this.eventOptions=s3}drawCrosshair(t4,e4){let s3=this.crosshair,r3=E2(s3&&s3.snap,true),o3=this.chart,n3,a3,h3,l3=this.cross,d3;if(k2(this,"drawCrosshair",{e:t4,point:e4}),t4||(t4=this.cross&&this.cross.e),s3&&false!==(y2(e4)||!r3)){if(r3?y2(e4)&&(a3=E2("colorAxis"!==this.coll?e4.crosshairPos:null,this.isXAxis?e4.plotX:this.len-e4.plotY)):a3=t4&&(this.horiz?t4.chartX-this.pos:this.len-t4.chartY+this.pos),y2(a3)&&(d3={value:e4&&(this.isXAxis?e4.x:E2(e4.stackY,e4.y)),translatedValue:a3},o3.polar&&C2(d3,{isCrosshair:true,chartX:t4&&t4.chartX,chartY:t4&&t4.chartY,point:e4}),n3=this.getPlotLinePath(d3)||null),!y2(n3)){this.hideCrosshair();return}h3=this.categories&&!this.isRadial,l3||(this.cross=l3=o3.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(h3?"category ":"thin ")+(s3.className||"")).attr({zIndex:E2(s3.zIndex,2)}).add(),!o3.styledMode&&(l3.attr({stroke:s3.color||(h3?i2.parse("#ccd3ff").setOpacity(.25).get():"#cccccc"),"stroke-width":E2(s3.width,1)}).css({"pointer-events":"none"}),s3.dashStyle&&l3.attr({dashstyle:s3.dashStyle}))),l3.show().attr({d:n3}),h3&&!s3.width&&l3.attr({"stroke-width":this.transA}),this.cross.e=t4}else this.hideCrosshair();k2(this,"afterDrawCrosshair",{e:t4,point:e4})}hideCrosshair(){this.cross&&this.cross.hide(),k2(this,"afterHideCrosshair")}update(t4,e4){let i3=this.chart;t4=L2(this.userOptions,t4),this.destroy(true),this.init(i3,t4),i3.isDirtyBox=true,E2(e4,true)&&i3.redraw()}remove(t4){let e4=this.chart,i3=this.coll,s3=this.series,r3=s3.length;for(;r3--;)s3[r3]&&s3[r3].remove(false);v2(e4.axes,this),v2(e4[i3]||[],this),e4.orderItems(i3),this.destroy(),e4.isDirtyBox=true,E2(t4,true)&&e4.redraw()}setTitle(t4,e4){this.update({title:t4},e4)}setCategories(t4,e4){this.update({categories:t4},e4)}}return N.keepProps=["coll","extKey","hcEvents","len","names","series","userMax","userMin"],N})),i(e2,"Core/Axis/DateTimeAxis.js",[e2["Core/Utilities.js"]],(function(t3){var e3;let{addEvent:i2,getMagnitude:s2,normalizeTickInterval:r2,timeUnits:o2}=t3;return function(t4){function e4(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function n2(){if("datetime"!==this.type){this.dateTime=void 0;return}this.dateTime||(this.dateTime=new a2(this))}t4.compose=function(t5){return t5.keepProps.includes("dateTime")||(t5.keepProps.push("dateTime"),t5.prototype.getTimeTicks=e4,i2(t5,"afterSetType",n2)),t5};class a2{constructor(t5){this.axis=t5}normalizeTimeTickInterval(t5,e5){let i3=e5||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]],n3=i3[i3.length-1],a3=o2[n3[0]],h2=n3[1],l2;for(l2=0;l2<i3.length&&(a3=o2[(n3=i3[l2])[0]],h2=n3[1],!i3[l2+1]||!(t5<=(a3*h2[h2.length-1]+o2[i3[l2+1][0]])/2));l2++);a3===o2.year&&t5<5*a3&&(h2=[1,2,5]);let d2=r2(t5/a3,h2,"year"===n3[0]?Math.max(s2(t5/a3),1):1);return{unitRange:a3,count:d2,unitName:n3[0]}}getXDateFormat(t5,e5){let{axis:i3}=this,s3=i3.chart.time;return i3.closestPointRange?s3.getDateFormat(i3.closestPointRange,t5,i3.options.startOfWeek,e5)||s3.resolveDTLFormat(e5.year).main:s3.resolveDTLFormat(e5.day).main}}t4.Additions=a2}(e3||(e3={})),e3})),i(e2,"Core/Axis/LogarithmicAxis.js",[e2["Core/Utilities.js"]],(function(t3){var e3;let{addEvent:i2,normalizeTickInterval:s2,pick:r2}=t3;return function(t4){function e4(){"logarithmic"!==this.type?this.logarithmic=void 0:this.logarithmic??(this.logarithmic=new n2(this))}function o2(){let t5=this.logarithmic;t5&&(this.lin2val=function(e5){return t5.lin2log(e5)},this.val2lin=function(e5){return t5.log2lin(e5)})}t4.compose=function(t5){return t5.keepProps.includes("logarithmic")||(t5.keepProps.push("logarithmic"),i2(t5,"afterSetType",e4),i2(t5,"afterInit",o2)),t5};class n2{constructor(t5){this.axis=t5}getLogTickPositions(t5,e5,i3,o3){let n3=this.axis,a2=n3.len,h2=n3.options,l2=[];if(o3||(this.minorAutoInterval=void 0),t5>=.5)t5=Math.round(t5),l2=n3.getLinearTickPositions(t5,e5,i3);else if(t5>=.08){let s3,r3,n4,a3,h3,d2,c2;let p2=Math.floor(e5);for(s3=t5>.3?[1,2,4]:t5>.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9],r3=p2;r3<i3+1&&!c2;r3++)for(n4=0,a3=s3.length;n4<a3&&!c2;n4++)(h3=this.log2lin(this.lin2log(r3)*s3[n4]))>e5&&(!o3||d2<=i3)&&void 0!==d2&&l2.push(d2),d2>i3&&(c2=true),d2=h3}else{let d2=this.lin2log(e5),c2=this.lin2log(i3),p2=o3?n3.getMinorTickInterval():h2.tickInterval,u2=h2.tickPixelInterval/(o3?5:1),g2=o3?a2/n3.tickPositions.length:a2;t5=s2(t5=r2("auto"===p2?null:p2,this.minorAutoInterval,(c2-d2)*u2/(g2||1))),l2=n3.getLinearTickPositions(t5,d2,c2).map(this.log2lin),o3||(this.minorAutoInterval=t5/5)}return o3||(n3.tickInterval=t5),l2}lin2log(t5){return Math.pow(10,t5)}log2lin(t5){return Math.log(t5)/Math.LN10}}t4.Additions=n2}(e3||(e3={})),e3})),i(e2,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[e2["Core/Utilities.js"]],(function(t3){var e3;let{erase:i2,extend:s2,isNumber:r2}=t3;return function(t4){let e4;function o2(t5){return this.addPlotBandOrLine(t5,"plotBands")}function n2(t5,i3){let s3=this.userOptions,r3=new e4(this,t5);if(this.visible&&(r3=r3.render()),r3){if(this._addedPlotLB||(this._addedPlotLB=true,(s3.plotLines||[]).concat(s3.plotBands||[]).forEach((t6=>{this.addPlotBandOrLine(t6)}))),i3){let e5=s3[i3]||[];e5.push(t5),s3[i3]=e5}this.plotLinesAndBands.push(r3)}return r3}function a2(t5){return this.addPlotBandOrLine(t5,"plotLines")}function h2(t5,e5,i3){i3=i3||this.options;let s3=this.getPlotLinePath({value:e5,force:true,acrossPanes:i3.acrossPanes}),o3=[],n3=this.horiz,a3=!r2(this.min)||!r2(this.max)||t5<this.min&&e5<this.min||t5>this.max&&e5>this.max,h3=this.getPlotLinePath({value:t5,force:true,acrossPanes:i3.acrossPanes}),l3,d3=1,c3;if(h3&&s3)for(a3&&(c3=h3.toString()===s3.toString(),d3=0),l3=0;l3<h3.length;l3+=2){let t6=h3[l3],e6=h3[l3+1],i4=s3[l3],r3=s3[l3+1];("M"===t6[0]||"L"===t6[0])&&("M"===e6[0]||"L"===e6[0])&&("M"===i4[0]||"L"===i4[0])&&("M"===r3[0]||"L"===r3[0])&&(n3&&i4[1]===t6[1]?(i4[1]+=d3,r3[1]+=d3):n3||i4[2]!==t6[2]||(i4[2]+=d3,r3[2]+=d3),o3.push(["M",t6[1],t6[2]],["L",e6[1],e6[2]],["L",r3[1],r3[2]],["L",i4[1],i4[2]],["Z"])),o3.isFlat=c3}return o3}function l2(t5){this.removePlotBandOrLine(t5)}function d2(t5){let e5=this.plotLinesAndBands,s3=this.options,r3=this.userOptions;if(e5){let o3=e5.length;for(;o3--;)e5[o3].id===t5&&e5[o3].destroy();[s3.plotLines||[],r3.plotLines||[],s3.plotBands||[],r3.plotBands||[]].forEach((function(e6){for(o3=e6.length;o3--;)(e6[o3]||{}).id===t5&&i2(e6,e6[o3])}))}}function c2(t5){this.removePlotBandOrLine(t5)}t4.compose=function(t5,i3){let r3=i3.prototype;return r3.addPlotBand||(e4=t5,s2(r3,{addPlotBand:o2,addPlotLine:a2,addPlotBandOrLine:n2,getPlotBandPath:h2,removePlotBand:l2,removePlotLine:c2,removePlotBandOrLine:d2})),i3}}(e3||(e3={})),e3})),i(e2,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[e2["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{addEvent:i2,arrayMax:s2,arrayMin:r2,defined:o2,destroyObjectProperties:n2,erase:a2,fireEvent:h2,merge:l2,objectEach:d2,pick:c2}=e3;class p2{static compose(e4,s3){return i2(e4,"afterInit",(function(){this.labelCollectors.push((()=>{var _a;let t4=[];for(let e5 of this.axes)for(let{label:i3,options:s4}of e5.plotLinesAndBands)i3&&!((_a=s4==null?void 0:s4.label)==null?void 0:_a.allowOverlap)&&t4.push(i3);return t4}))})),t3.compose(p2,s3)}constructor(t4,e4){this.axis=t4,this.options=e4,this.id=e4.id}render(){h2(this,"render");let{axis:t4,options:e4}=this,{horiz:i3,logarithmic:s3}=t4,{color:r3,events:n3,zIndex:a3=0}=e4,p3={},u2=t4.chart.renderer,g2=e4.to,f2=e4.from,m2=e4.value,x2=e4.borderWidth,y2=e4.label,{label:b2,svgElem:v2}=this,S2=[],C2,k2=o2(f2)&&o2(g2),M=o2(m2),w2=!v2,T2={class:"highcharts-plot-"+(k2?"band ":"line ")+(e4.className||"")},A2=k2?"bands":"lines";if(!t4.chart.styledMode&&(M?(T2.stroke=r3||"#999999",T2["stroke-width"]=c2(e4.width,1),e4.dashStyle&&(T2.dashstyle=e4.dashStyle)):k2&&(T2.fill=r3||"#e6e9ff",x2&&(T2.stroke=e4.borderColor,T2["stroke-width"]=x2))),p3.zIndex=a3,A2+="-"+a3,(C2=t4.plotLinesAndBandsGroups[A2])||(t4.plotLinesAndBandsGroups[A2]=C2=u2.g("plot-"+A2).attr(p3).add()),v2||(this.svgElem=v2=u2.path().attr(T2).add(C2)),o2(m2))S2=t4.getPlotLinePath({value:(s3==null?void 0:s3.log2lin(m2))??m2,lineWidth:v2.strokeWidth(),acrossPanes:e4.acrossPanes});else{if(!(o2(f2)&&o2(g2)))return;S2=t4.getPlotBandPath((s3==null?void 0:s3.log2lin(f2))??f2,(s3==null?void 0:s3.log2lin(g2))??g2,e4)}return!this.eventsAdded&&n3&&(d2(n3,((t5,e5)=>{v2==null?void 0:v2.on(e5,(t6=>{n3[e5].apply(this,[t6])}))})),this.eventsAdded=true),(w2||!v2.d)&&(S2==null?void 0:S2.length)?v2.attr({d:S2}):v2&&(S2?(v2.show(),v2.animate({d:S2})):v2.d&&(v2.hide(),b2&&(this.label=b2=b2.destroy()))),y2&&(o2(y2.text)||o2(y2.formatter))&&(S2==null?void 0:S2.length)&&t4.width>0&&t4.height>0&&!S2.isFlat?(y2=l2({align:i3&&k2?"center":void 0,x:i3?!k2&&4:10,verticalAlign:!i3&&k2?"middle":void 0,y:i3?k2?16:10:k2?6:-4,rotation:i3&&!k2?90:0,...k2?{inside:true}:{}},y2),this.renderLabel(y2,S2,k2,a3)):b2&&b2.hide(),this}renderLabel(t4,e4,i3,n3){var _a;let a3=this.axis,h3=a3.chart.renderer,d3=t4.inside,c3=this.label;c3||(this.label=c3=h3.text(this.getLabelText(t4),0,0,t4.useHTML).attr({align:t4.textAlign||t4.align,rotation:t4.rotation,class:"highcharts-plot-"+(i3?"band":"line")+"-label "+(t4.className||""),zIndex:n3}),a3.chart.styledMode||c3.css(l2({fontSize:"0.8em",textOverflow:i3&&!d3?"":"ellipsis"},t4.style)),c3.add());let p3=e4.xBounds||[e4[0][1],e4[1][1],i3?e4[2][1]:e4[0][1]],u2=e4.yBounds||[e4[0][2],e4[1][2],i3?e4[2][2]:e4[0][2]],g2=r2(p3),f2=r2(u2),m2=s2(p3)-g2;c3.align(t4,false,{x:g2,y:f2,width:m2,height:s2(u2)-f2}),(!c3.alignValue||"left"===c3.alignValue||o2(d3))&&c3.css({width:(((_a=t4.style)==null?void 0:_a.width)||(i3&&d3?m2:90===c3.rotation?a3.height-(c3.alignAttr.y-a3.top):(t4.clip?a3.width:a3.chart.chartWidth)-(c3.alignAttr.x-a3.left)))+"px"}),c3.show(true)}getLabelText(t4){return o2(t4.formatter)?t4.formatter.call(this):t4.text}destroy(){a2(this.axis.plotLinesAndBands,this),delete this.axis,n2(this)}}return p2})),i(e2,"Core/Tooltip.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Templating.js"],e2["Core/Globals.js"],e2["Core/Renderer/RendererUtilities.js"],e2["Core/Renderer/RendererRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2,o2){var n2;let{animObject:a2}=t3,{format:h2}=e3,{composed:l2,doc:d2,isSafari:c2}=i2,{distribute:p2}=s2,{addEvent:u2,clamp:g2,css:f2,discardElement:m2,extend:x2,fireEvent:y2,isArray:b2,isNumber:v2,isString:S2,merge:C2,pick:k2,pushUnique:M,splat:w2,syncTimeout:T2}=o2;class A2{constructor(t4,e4,i3){this.allowShared=true,this.crosshairs=[],this.distance=0,this.isHidden=true,this.isSticky=false,this.options={},this.outside=false,this.chart=t4,this.init(t4,e4),this.pointer=i3}bodyFormatter(t4){return t4.map((function(t5){let e4=t5.series.tooltipOptions;return(e4[(t5.point.formatPrefix||"point")+"Formatter"]||t5.point.tooltipFormatter).call(t5.point,e4[(t5.point.formatPrefix||"point")+"Format"]||"")}))}cleanSplit(t4){this.chart.series.forEach((function(e4){let i3=e4&&e4.tt;i3&&(!i3.isActive||t4?e4.tt=i3.destroy():i3.isActive=false)}))}defaultFormatter(t4){let e4;let i3=this.points||w2(this);return(e4=(e4=[t4.tooltipFooterHeaderFormatter(i3[0])]).concat(t4.bodyFormatter(i3))).push(t4.tooltipFooterHeaderFormatter(i3[0],true)),e4}destroy(){this.label&&(this.label=this.label.destroy()),this.split&&(this.cleanSplit(true),this.tt&&(this.tt=this.tt.destroy())),this.renderer&&(this.renderer=this.renderer.destroy(),m2(this.container)),o2.clearTimeout(this.hideTimer)}getAnchor(t4,e4){let i3;let{chart:s3,pointer:r3}=this,o3=s3.inverted,n3=s3.plotTop,a3=s3.plotLeft;if((t4=w2(t4))[0].series&&t4[0].series.yAxis&&!t4[0].series.yAxis.options.reversedStacks&&(t4=t4.slice().reverse()),this.followPointer&&e4)void 0===e4.chartX&&(e4=r3.normalize(e4)),i3=[e4.chartX-a3,e4.chartY-n3];else if(t4[0].tooltipPos)i3=t4[0].tooltipPos;else{let s4=0,r4=0;t4.forEach((function(t5){let e5=t5.pos(true);e5&&(s4+=e5[0],r4+=e5[1])})),s4/=t4.length,r4/=t4.length,this.shared&&t4.length>1&&e4&&(o3?s4=e4.chartX:r4=e4.chartY),i3=[s4-a3,r4-n3]}return i3.map(Math.round)}getClassName(t4,e4,i3){let s3=this.options,r3=t4.series,o3=r3.options;return[s3.className,"highcharts-label",i3&&"highcharts-tooltip-header",e4?"highcharts-tooltip-box":"highcharts-tooltip",!i3&&"highcharts-color-"+k2(t4.colorIndex,r3.colorIndex),o3&&o3.className].filter(S2).join(" ")}getLabel({anchorX:t4,anchorY:e4}={anchorX:0,anchorY:0}){let s3=this,o3=this.chart.styledMode,n3=this.options,a3=this.split&&this.allowShared,h3=this.container,l3=this.chart.renderer;if(this.label){let t5=!this.label.hasClass("highcharts-label");(!a3&&t5||a3&&!t5)&&this.destroy()}if(!this.label){if(this.outside){let t5=this.chart.options.chart.style,e5=r2.getRendererType();this.container=h3=i2.doc.createElement("div"),h3.className="highcharts-tooltip-container",f2(h3,{position:"absolute",top:"1px",pointerEvents:"none",zIndex:Math.max(this.options.style.zIndex||0,(t5&&t5.zIndex||0)+3)}),this.renderer=l3=new e5(h3,0,0,t5,void 0,void 0,l3.styledMode)}if(a3?this.label=l3.g("tooltip"):(this.label=l3.label("",t4,e4,n3.shape,void 0,void 0,n3.useHTML,void 0,"tooltip").attr({padding:n3.padding,r:n3.borderRadius}),o3||this.label.attr({fill:n3.backgroundColor,"stroke-width":n3.borderWidth||0}).css(n3.style).css({pointerEvents:n3.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none")})),s3.outside){let t5=this.label;[t5.xSetter,t5.ySetter].forEach(((e5,i3)=>{t5[i3?"ySetter":"xSetter"]=r3=>{e5.call(t5,s3.distance),t5[i3?"y":"x"]=r3,h3&&(h3.style[i3?"top":"left"]=`${r3}px`)}}))}this.label.attr({zIndex:8}).shadow(n3.shadow).add()}return h3&&!h3.parentElement&&i2.doc.body.appendChild(h3),this.label}getPlayingField(){let{body:t4,documentElement:e4}=d2,{chart:i3,distance:s3,outside:r3}=this;return{width:r3?Math.max(t4.scrollWidth,e4.scrollWidth,t4.offsetWidth,e4.offsetWidth,e4.clientWidth)-2*s3:i3.chartWidth,height:r3?Math.max(t4.scrollHeight,e4.scrollHeight,t4.offsetHeight,e4.offsetHeight,e4.clientHeight):i3.chartHeight}}getPosition(t4,e4,i3){var _a,_b;let{distance:s3,chart:r3,outside:o3,pointer:n3}=this,{inverted:a3,plotLeft:h3,plotTop:l3,polar:d3}=r3,{plotX:c3=0,plotY:p3=0}=i3,u3={},g3=a3&&i3.h||0,{height:f3,width:m3}=this.getPlayingField(),x3=n3.getChartPosition(),y3=t5=>t5*x3.scaleX,b3=t5=>t5*x3.scaleY,v3=i4=>{let n4="x"===i4;return[i4,n4?m3:f3,n4?t4:e4].concat(o3?[n4?y3(t4):b3(e4),n4?x3.left-s3+y3(c3+h3):x3.top-s3+b3(p3+l3),0,n4?m3:f3]:[n4?t4:e4,n4?c3+h3:p3+l3,n4?h3:l3,n4?h3+r3.plotWidth:l3+r3.plotHeight])},S3=v3("y"),C3=v3("x"),M2,w3=!!i3.negative;!d3&&((_b=(_a=r3.hoverSeries)==null?void 0:_a.yAxis)==null?void 0:_b.reversed)&&(w3=!w3);let T3=!this.followPointer&&k2(i3.ttBelow,!d3&&!a3===w3),A3=function(t5,e5,i4,r4,n4,a4,h4){let l4=o3?"y"===t5?b3(s3):y3(s3):s3,d4=(i4-r4)/2,c4=r4<n4-s3,p4=n4+s3+r4<e5,f4=n4-l4-i4+d4,m4=n4+l4-d4;if(T3&&p4)u3[t5]=m4;else if(!T3&&c4)u3[t5]=f4;else if(c4)u3[t5]=Math.min(h4-r4,f4-g3<0?f4:f4-g3);else{if(!p4)return false;u3[t5]=Math.max(a4,m4+g3+i4>e5?m4:m4+g3)}},P=function(t5,e5,i4,r4,o4){if(o4<s3||o4>e5-s3)return false;o4<i4/2?u3[t5]=1:o4>e5-r4/2?u3[t5]=e5-r4-2:u3[t5]=o4-i4/2},L2=function(t5){[S3,C3]=[C3,S3],M2=t5},O2=()=>{false!==A3.apply(0,S3)?false!==P.apply(0,C3)||M2||(L2(true),O2()):M2?u3.x=u3.y=0:(L2(true),O2())};return(a3&&!d3||this.len>1)&&L2(),O2(),u3}hide(t4){let e4=this;o2.clearTimeout(this.hideTimer),t4=k2(t4,this.options.hideDelay),this.isHidden||(this.hideTimer=T2((function(){let i3=e4.getLabel();e4.getLabel().animate({opacity:0},{duration:t4?150:t4,complete:()=>{i3.hide(),e4.container&&e4.container.remove()}}),e4.isHidden=true}),t4))}init(t4,e4){this.chart=t4,this.options=e4,this.crosshairs=[],this.isHidden=true,this.split=e4.split&&!t4.inverted&&!t4.polar,this.shared=e4.shared||this.split,this.outside=k2(e4.outside,!!(t4.scrollablePixelsX||t4.scrollablePixelsY))}shouldStickOnContact(t4){return!!(!this.followPointer&&this.options.stickOnContact&&(!t4||this.pointer.inClass(t4.target,"highcharts-tooltip")))}move(t4,e4,i3,s3){let r3=this,o3=a2(!r3.isHidden&&r3.options.animation),n3=r3.followPointer||(r3.len||0)>1,h3={x:t4,y:e4};n3||(h3.anchorX=i3,h3.anchorY=s3),o3.step=()=>r3.drawTracker(),r3.getLabel().animate(h3,o3)}refresh(t4,e4){let{chart:i3,options:s3,pointer:r3,shared:n3}=this,a3=w2(t4),l3=a3[0],d3=[],c3=s3.format,p3=s3.formatter||this.defaultFormatter,u3=i3.styledMode,f3={},m3=this.allowShared;if(!s3.enabled||!l3.series)return;o2.clearTimeout(this.hideTimer),this.allowShared=!(!b2(t4)&&t4.series&&t4.series.noSharedTooltip),m3=m3&&!this.allowShared,this.followPointer=!this.split&&l3.series.tooltipOptions.followPointer;let x3=this.getAnchor(t4,e4),v3=x3[0],C3=x3[1];n3&&this.allowShared?(r3.applyInactiveState(a3),a3.forEach((function(t5){t5.setState("hover"),d3.push(t5.getLabelConfig())})),(f3=l3.getLabelConfig()).points=d3):f3=l3.getLabelConfig(),this.len=d3.length;let M2=S2(c3)?h2(c3,f3,i3):p3.call(f3,this),T3=l3.series;if(this.distance=k2(T3.tooltipOptions.distance,16),false===M2)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(M2,a3);else{let t5=v3,o3=C3;if(e4&&r3.isDirectTouch&&(t5=e4.chartX-i3.plotLeft,o3=e4.chartY-i3.plotTop),i3.polar||false===T3.options.clip||a3.some((e5=>r3.isDirectTouch||e5.series.shouldShowTooltip(t5,o3)))){let t6=this.getLabel(m3&&this.tt||{});(!s3.style.width||u3)&&t6.css({width:(this.outside?this.getPlayingField():i3.spacingBox).width+"px"}),t6.attr({class:this.getClassName(l3),text:M2&&M2.join?M2.join(""):M2}),this.outside&&t6.attr({x:g2(t6.x||0,0,this.getPlayingField().width-(t6.width||0))}),u3||t6.attr({stroke:s3.borderColor||l3.color||T3.color||"#666666"}),this.updatePosition({plotX:v3,plotY:C3,negative:l3.negative,ttBelow:l3.ttBelow,h:x3[2]||0})}else{this.hide();return}}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=false}y2(this,"refresh")}renderSplit(t4,e4){var _a;let i3=this,{chart:s3,chart:{chartWidth:r3,chartHeight:o3,plotHeight:n3,plotLeft:a3,plotTop:h3,scrollablePixelsY:l3=0,scrollablePixelsX:u3,styledMode:f3},distance:m3,options:y3,options:{positioner:b3},pointer:v3}=i3,{scrollLeft:C3=0,scrollTop:M2=0}=((_a=s3.scrollablePlotArea)==null?void 0:_a.scrollingContainer)||{},w3=i3.outside&&"number"!=typeof u3?d2.documentElement.getBoundingClientRect():{left:C3,right:C3+r3,top:M2,bottom:M2+o3},T3=i3.getLabel(),A3=this.renderer||s3.renderer,P=!!(s3.xAxis[0]&&s3.xAxis[0].opposite),{left:L2,top:O2}=v3.getChartPosition(),D2=h3+M2,E2=0,I=n3-l3;function j(t5,e5,s4,r4,o4=true){let n4,a4;return s4?(n4=P?0:I,a4=g2(t5-r4/2,w3.left,w3.right-r4-(i3.outside?L2:0))):(n4=e5-D2,a4=g2(a4=o4?t5-r4-m3:t5+m3,o4?a4:w3.left,w3.right)),{x:a4,y:n4}}S2(t4)&&(t4=[false,t4]);let B=t4.slice(0,e4.length+1).reduce((function(t5,s4,r4){if(false!==s4&&""!==s4){let o4=e4[r4-1]||{isHeader:true,plotX:e4[0].plotX,plotY:n3,series:{}},l4=o4.isHeader,d3=l4?i3:o4.series,c3=d3.tt=function(t6,e5,s5){let r5=t6,{isHeader:o5,series:n4}=e5;if(!r5){let t7={padding:y3.padding,r:y3.borderRadius};f3||(t7.fill=y3.backgroundColor,t7["stroke-width"]=y3.borderWidth??1),r5=A3.label("",0,0,y3[o5?"headerShape":"shape"],void 0,void 0,y3.useHTML).addClass(i3.getClassName(e5,true,o5)).attr(t7).add(T3)}return r5.isActive=true,r5.attr({text:s5}),f3||r5.css(y3.style).attr({stroke:y3.borderColor||e5.color||n4.color||"#333333"}),r5}(d3.tt,o4,s4.toString()),p3=c3.getBBox(),u4=p3.width+c3.strokeWidth();l4&&(E2=p3.height,I+=E2,P&&(D2-=E2));let{anchorX:x3,anchorY:v4}=function(t6){let e5,i4;let{isHeader:s5,plotX:r5=0,plotY:o5=0,series:l5}=t6;if(s5)e5=Math.max(a3+r5,a3),i4=h3+n3/2;else{let{xAxis:t7,yAxis:s6}=l5;e5=t7.pos+g2(r5,-m3,t7.len+m3),l5.shouldShowTooltip(0,s6.pos-h3+o5,{ignoreX:true})&&(i4=s6.pos+o5)}return{anchorX:e5=g2(e5,w3.left-m3,w3.right+m3),anchorY:i4}}(o4);if("number"==typeof v4){let e5=p3.height+1,s5=b3?b3.call(i3,u4,e5,o4):j(x3,v4,l4,u4);t5.push({align:b3?0:void 0,anchorX:x3,anchorY:v4,boxWidth:u4,point:o4,rank:k2(s5.rank,l4?1:0),size:e5,target:s5.y,tt:c3,x:s5.x})}else c3.isActive=false}return t5}),[]);!b3&&B.some((t5=>{let{outside:e5}=i3,s4=(e5?L2:0)+t5.anchorX;return s4<w3.left&&s4+t5.boxWidth<w3.right||s4<L2-w3.left+t5.boxWidth&&w3.right-s4>s4}))&&(B=B.map((t5=>{let{x:e5,y:i4}=j(t5.anchorX,t5.anchorY,t5.point.isHeader,t5.boxWidth,false);return x2(t5,{target:i4,x:e5})}))),i3.cleanSplit(),p2(B,I);let R2={left:L2,right:L2};B.forEach((function(t5){let{x:e5,boxWidth:s4,isHeader:r4}=t5;!r4&&(i3.outside&&L2+e5<R2.left&&(R2.left=L2+e5),!r4&&i3.outside&&R2.left+s4>R2.right&&(R2.right=L2+e5))})),B.forEach((function(t5){let{x:e5,anchorX:s4,anchorY:r4,pos:o4,point:{isHeader:n4}}=t5,a4={visibility:void 0===o4?"hidden":"inherit",x:e5,y:(o4||0)+D2,anchorX:s4,anchorY:r4};if(i3.outside&&e5<s4){let t6=L2-R2.left;t6>0&&(n4||(a4.x=e5+t6,a4.anchorX=s4+t6),n4&&(a4.x=(R2.right-R2.left)/2,a4.anchorX=s4+t6))}t5.tt.attr(a4)}));let{container:z2,outside:N,renderer:W2}=i3;if(N&&z2&&W2){let{width:t5,height:e5,x:i4,y:s4}=T3.getBBox();W2.setSize(t5+i4,e5+s4,false),z2.style.left=R2.left+"px",z2.style.top=O2+"px"}c2&&T3.attr({opacity:1===T3.opacity?.999:1})}drawTracker(){if(!this.shouldStickOnContact()){this.tracker&&(this.tracker=this.tracker.destroy());return}let t4=this.chart,e4=this.label,i3=this.shared?t4.hoverPoints:t4.hoverPoint;if(!e4||!i3)return;let s3={x:0,y:0,width:0,height:0},r3=this.getAnchor(i3),o3=e4.getBBox();r3[0]+=t4.plotLeft-(e4.translateX||0),r3[1]+=t4.plotTop-(e4.translateY||0),s3.x=Math.min(0,r3[0]),s3.y=Math.min(0,r3[1]),s3.width=r3[0]<0?Math.max(Math.abs(r3[0]),o3.width-r3[0]):Math.max(Math.abs(r3[0]),o3.width),s3.height=r3[1]<0?Math.max(Math.abs(r3[1]),o3.height-Math.abs(r3[1])):Math.max(Math.abs(r3[1]),o3.height),this.tracker?this.tracker.attr(s3):(this.tracker=e4.renderer.rect(s3).addClass("highcharts-tracker").add(e4),t4.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}styledModeFormat(t4){return t4.replace('style="font-size: 0.8em"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')}tooltipFooterHeaderFormatter(t4,e4){let i3=t4.series,s3=i3.tooltipOptions,r3=i3.xAxis,o3=r3&&r3.dateTime,n3={isFooter:e4,labelConfig:t4},a3=s3.xDateFormat,l3=s3[e4?"footerFormat":"headerFormat"];return y2(this,"headerFormatter",n3,(function(e5){o3&&!a3&&v2(t4.key)&&(a3=o3.getXDateFormat(t4.key,s3.dateTimeLabelFormats)),o3&&a3&&(t4.point&&t4.point.tooltipDateKeys||["key"]).forEach((function(t5){l3=l3.replace("{point."+t5+"}","{point."+t5+":"+a3+"}")})),i3.chart.styledMode&&(l3=this.styledModeFormat(l3)),e5.text=h2(l3,{point:t4,series:i3},this.chart)})),n3.text}update(t4){this.destroy(),this.init(this.chart,C2(true,this.options,t4))}updatePosition(t4){let{chart:e4,container:i3,distance:s3,options:r3,pointer:o3,renderer:n3}=this,{height:a3=0,width:h3=0}=this.getLabel(),{left:l3,top:d3,scaleX:c3,scaleY:p3}=o3.getChartPosition(),u3=(r3.positioner||this.getPosition).call(this,h3,a3,t4),g3=(t4.plotX||0)+e4.plotLeft,m3=(t4.plotY||0)+e4.plotTop,x3;n3&&i3&&(r3.positioner&&(u3.x+=l3-s3,u3.y+=d3-s3),x3=(r3.borderWidth||0)+2*s3+2,n3.setSize(h3+x3,a3+x3,false),(1!==c3||1!==p3)&&(f2(i3,{transform:`scale(${c3}, ${p3})`}),g3*=c3,m3*=p3),g3+=l3-u3.x,m3+=d3-u3.y),this.move(Math.round(u3.x),Math.round(u3.y||0),g3,m3)}}return(n2=A2||(A2={})).compose=function(t4){M(l2,"Core.Tooltip")&&u2(t4,"afterInit",(function(){let t5=this.chart;t5.options.tooltip&&(t5.tooltip=new n2(t5,t5.options.tooltip,this))}))},A2})),i(e2,"Core/Series/Point.js",[e2["Core/Renderer/HTML/AST.js"],e2["Core/Animation/AnimationUtilities.js"],e2["Core/Defaults.js"],e2["Core/Templating.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2){let{animObject:o2}=e3,{defaultOptions:n2}=i2,{format:a2}=s2,{addEvent:h2,crisp:l2,erase:d2,extend:c2,fireEvent:p2,getNestedProperty:u2,isArray:g2,isFunction:f2,isNumber:m2,isObject:x2,merge:y2,pick:b2,syncTimeout:v2,removeEvent:S2,uniqueKey:C2}=r2;class k2{animateBeforeDestroy(){let t4=this,e4={x:t4.startXPos,opacity:0},i3=t4.getGraphicalProps();i3.singular.forEach((function(i4){t4[i4]=t4[i4].animate("dataLabel"===i4?{x:t4[i4].startXPos,y:t4[i4].startYPos,opacity:0}:e4)})),i3.plural.forEach((function(e5){t4[e5].forEach((function(e6){e6.element&&e6.animate(c2({x:t4.startXPos},e6.startYPos?{x:e6.startXPos,y:e6.startYPos}:{}))}))}))}applyOptions(t4,e4){let i3=this.series,s3=i3.options.pointValKey||i3.pointValKey;return c2(this,t4=k2.prototype.optionsToObject.call(this,t4)),this.options=this.options?c2(this.options,t4):t4,t4.group&&delete this.group,t4.dataLabels&&delete this.dataLabels,s3&&(this.y=k2.prototype.getNestedProperty.call(this,s3)),this.selected&&(this.state="select"),"name"in this&&void 0===e4&&i3.xAxis&&i3.xAxis.hasNames&&(this.x=i3.xAxis.nameToX(this)),void 0===this.x&&i3?this.x=e4??i3.autoIncrement():m2(t4.x)&&i3.options.relativeXValue&&(this.x=i3.autoIncrement(t4.x)),this.isNull=this.isValid&&!this.isValid(),this.formatPrefix=this.isNull?"null":"point",this}destroy(){if(!this.destroyed){let t4=this,e4=t4.series,i3=e4.chart,s3=e4.options.dataSorting,r3=i3.hoverPoints,n3=o2(t4.series.chart.renderer.globalAnimation),a3=()=>{for(let e5 in(t4.graphic||t4.graphics||t4.dataLabel||t4.dataLabels)&&(S2(t4),t4.destroyElements()),t4)delete t4[e5]};t4.legendItem&&i3.legend.destroyItem(t4),r3&&(t4.setState(),d2(r3,t4),r3.length||(i3.hoverPoints=null)),t4===i3.hoverPoint&&t4.onMouseOut(),s3&&s3.enabled?(this.animateBeforeDestroy(),v2(a3,n3.duration)):a3(),i3.pointCount--}this.destroyed=true}destroyElements(t4){let e4=this,i3=e4.getGraphicalProps(t4);i3.singular.forEach((function(t5){e4[t5]=e4[t5].destroy()})),i3.plural.forEach((function(t5){e4[t5].forEach((function(t6){t6&&t6.element&&t6.destroy()})),delete e4[t5]}))}firePointEvent(t4,e4,i3){let s3=this,r3=this.series.options;s3.manageEvent(t4),"click"===t4&&r3.allowPointSelect&&(i3=function(t5){!s3.destroyed&&s3.select&&s3.select(null,t5.ctrlKey||t5.metaKey||t5.shiftKey)}),p2(s3,t4,e4,i3)}getClassName(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")}getGraphicalProps(t4){let e4,i3;let s3=this,r3=[],o3={singular:[],plural:[]};for((t4=t4||{graphic:1,dataLabel:1}).graphic&&r3.push("graphic","connector"),t4.dataLabel&&r3.push("dataLabel","dataLabelPath","dataLabelUpper"),i3=r3.length;i3--;)s3[e4=r3[i3]]&&o3.singular.push(e4);return["graphic","dataLabel"].forEach((function(e5){let i4=e5+"s";t4[e5]&&s3[i4]&&o3.plural.push(i4)})),o3}getLabelConfig(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}}getNestedProperty(t4){return t4?0===t4.indexOf("custom.")?u2(t4,this.options):this[t4]:void 0}getZone(){let t4=this.series,e4=t4.zones,i3=t4.zoneAxis||"y",s3,r3=0;for(s3=e4[0];this[i3]>=s3.value;)s3=e4[++r3];return this.nonZonedColor||(this.nonZonedColor=this.color),s3&&s3.color&&!this.options.color?this.color=s3.color:this.color=this.nonZonedColor,s3}hasNewShapeType(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType}constructor(t4,e4,i3){this.formatPrefix="point",this.visible=true,this.series=t4,this.applyOptions(e4,i3),this.id??(this.id=C2()),this.resolveColor(),t4.chart.pointCount++,p2(this,"afterInit")}isValid(){return(m2(this.x)||this.x instanceof Date)&&m2(this.y)}optionsToObject(t4){let e4=this.series,i3=e4.options.keys,s3=i3||e4.pointArrayMap||["y"],r3=s3.length,o3={},n3,a3=0,h3=0;if(m2(t4)||null===t4)o3[s3[0]]=t4;else if(g2(t4))for(!i3&&t4.length>r3&&("string"==(n3=typeof t4[0])?o3.name=t4[0]:"number"===n3&&(o3.x=t4[0]),a3++);h3<r3;)i3&&void 0===t4[a3]||(s3[h3].indexOf(".")>0?k2.prototype.setNestedProperty(o3,t4[a3],s3[h3]):o3[s3[h3]]=t4[a3]),a3++,h3++;else"object"==typeof t4&&(o3=t4,t4.dataLabels&&(e4.hasDataLabels=()=>true),t4.marker&&(e4._hasPointMarkers=true));return o3}pos(t4,e4=this.plotY){if(!this.destroyed){let{plotX:i3,series:s3}=this,{chart:r3,xAxis:o3,yAxis:n3}=s3,a3=0,h3=0;if(m2(i3)&&m2(e4))return t4&&(a3=o3?o3.pos:r3.plotLeft,h3=n3?n3.pos:r3.plotTop),r3.inverted&&o3&&n3?[n3.len-e4+h3,o3.len-i3+a3]:[i3+a3,e4+h3]}}resolveColor(){let t4=this.series,e4=t4.chart.options.chart,i3=t4.chart.styledMode,s3,r3,o3=e4.colorCount,n3;delete this.nonZonedColor,t4.options.colorByPoint?(i3||(s3=(r3=t4.options.colors||t4.chart.options.colors)[t4.colorCounter],o3=r3.length),n3=t4.colorCounter,t4.colorCounter++,t4.colorCounter===o3&&(t4.colorCounter=0)):(i3||(s3=t4.color),n3=t4.colorIndex),this.colorIndex=b2(this.options.colorIndex,n3),this.color=b2(this.options.color,s3)}setNestedProperty(t4,e4,i3){return i3.split(".").reduce((function(t5,i4,s3,r3){let o3=r3.length-1===s3;return t5[i4]=o3?e4:x2(t5[i4],true)?t5[i4]:{},t5[i4]}),t4),t4}shouldDraw(){return!this.isNull}tooltipFormatter(t4){let e4=this.series,i3=e4.tooltipOptions,s3=b2(i3.valueDecimals,""),r3=i3.valuePrefix||"",o3=i3.valueSuffix||"";return e4.chart.styledMode&&(t4=e4.chart.tooltip.styledModeFormat(t4)),(e4.pointArrayMap||["y"]).forEach((function(e5){e5="{point."+e5,(r3||o3)&&(t4=t4.replace(RegExp(e5+"}","g"),r3+e5+"}"+o3)),t4=t4.replace(RegExp(e5+"}","g"),e5+":,."+s3+"f}")})),a2(t4,{point:this,series:this.series},e4.chart)}update(t4,e4,i3,s3){let r3;let o3=this,n3=o3.series,a3=o3.graphic,h3=n3.chart,l3=n3.options;function d3(){o3.applyOptions(t4);let s4=a3&&o3.hasMockGraphic,d4=null===o3.y?!s4:s4;a3&&d4&&(o3.graphic=a3.destroy(),delete o3.hasMockGraphic),x2(t4,true)&&(a3&&a3.element&&t4&&t4.marker&&void 0!==t4.marker.symbol&&(o3.graphic=a3.destroy()),(t4==null?void 0:t4.dataLabels)&&o3.dataLabel&&(o3.dataLabel=o3.dataLabel.destroy())),r3=o3.index,n3.updateParallelArrays(o3,r3),l3.data[r3]=x2(l3.data[r3],true)||x2(t4,true)?o3.options:b2(t4,l3.data[r3]),n3.isDirty=n3.isDirtyData=true,!n3.fixedBox&&n3.hasCartesianSeries&&(h3.isDirtyBox=true),"point"===l3.legendType&&(h3.isDirtyLegend=true),e4&&h3.redraw(i3)}e4=b2(e4,true),false===s3?d3():o3.firePointEvent("update",{options:t4},d3)}remove(t4,e4){this.series.removePoint(this.series.data.indexOf(this),t4,e4)}select(t4,e4){let i3=this,s3=i3.series,r3=s3.chart;t4=b2(t4,!i3.selected),this.selectedStaging=t4,i3.firePointEvent(t4?"select":"unselect",{accumulate:e4},(function(){i3.selected=i3.options.selected=t4,s3.options.data[s3.data.indexOf(i3)]=i3.options,i3.setState(t4&&"select"),e4||r3.getSelectedPoints().forEach((function(t5){let e5=t5.series;t5.selected&&t5!==i3&&(t5.selected=t5.options.selected=false,e5.options.data[e5.data.indexOf(t5)]=t5.options,t5.setState(r3.hoverPoints&&e5.options.inactiveOtherPoints?"inactive":""),t5.firePointEvent("unselect"))}))})),delete this.selectedStaging}onMouseOver(t4){let{inverted:e4,pointer:i3}=this.series.chart;i3&&(t4=t4?i3.normalize(t4):i3.getChartCoordinatesFromPoint(this,e4),i3.runPointActions(t4,this))}onMouseOut(){let t4=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t4.hoverPoints||[]).forEach((function(t5){t5.setState()})),t4.hoverPoints=t4.hoverPoint=null}manageEvent(t4){var _a,_b,_c,_d,_e,_f;let e4=y2(this.series.options.point,this.options),i3=(_a=e4.events)==null?void 0:_a[t4];f2(i3)&&(!((_b=this.hcEvents)==null?void 0:_b[t4])||((_d=(_c=this.hcEvents)==null?void 0:_c[t4])==null?void 0:_d.map((t5=>t5.fn)).indexOf(i3))===-1)?((_e=this.importedUserEvent)==null?void 0:_e.call(this),this.importedUserEvent=h2(this,t4,i3)):this.importedUserEvent&&!i3&&((_f=this.hcEvents)==null?void 0:_f[t4])&&(S2(this,t4),delete this.hcEvents[t4],Object.keys(this.hcEvents)||delete this.importedUserEvent)}setState(e4,i3){var _a;let s3=this.series,r3=this.state,o3=s3.options.states[e4||"normal"]||{},a3=n2.plotOptions[s3.type].marker&&s3.options.marker,h3=a3&&false===a3.enabled,l3=a3&&a3.states&&a3.states[e4||"normal"]||{},d3=false===l3.enabled,u3=this.marker||{},g3=s3.chart,f3=a3&&s3.markerAttribs,x3=s3.halo,y3,v3,S3,C3=s3.stateMarkerGraphic,k3;if((e4=e4||"")===this.state&&!i3||this.selected&&"select"!==e4||false===o3.enabled||e4&&(d3||h3&&false===l3.enabled)||e4&&u3.states&&u3.states[e4]&&false===u3.states[e4].enabled)return;if(this.state=e4,f3&&(y3=s3.markerAttribs(this,e4)),this.graphic&&!this.hasMockGraphic){if(r3&&this.graphic.removeClass("highcharts-point-"+r3),e4&&this.graphic.addClass("highcharts-point-"+e4),!g3.styledMode){v3=s3.pointAttribs(this,e4),S3=b2(g3.options.chart.animation,o3.animation);let t4=v3.opacity;s3.options.inactiveOtherPoints&&m2(t4)&&(this.dataLabels||[]).forEach((function(e5){e5&&!e5.hasClass("highcharts-data-label-hidden")&&(e5.animate({opacity:t4},S3),e5.connector&&e5.connector.animate({opacity:t4},S3))})),this.graphic.animate(v3,S3)}y3&&this.graphic.animate(y3,b2(g3.options.chart.animation,l3.animation,a3.animation)),C3&&C3.hide()}else e4&&l3&&(k3=u3.symbol||s3.symbol,C3&&C3.currentSymbol!==k3&&(C3=C3.destroy()),y3&&(C3?C3[i3?"animate":"attr"]({x:y3.x,y:y3.y}):k3&&(s3.stateMarkerGraphic=C3=g3.renderer.symbol(k3,y3.x,y3.y,y3.width,y3.height).add(s3.markerGroup),C3.currentSymbol=k3)),!g3.styledMode&&C3&&"inactive"!==this.state&&C3.attr(s3.pointAttribs(this,e4))),C3&&(C3[e4&&this.isInside?"show":"hide"](),C3.element.point=this,C3.addClass(this.getClassName(),true));let M=o3.halo,w2=this.graphic||C3,T2=w2&&w2.visibility||"inherit";M&&M.size&&w2&&"hidden"!==T2&&!this.isCluster?(x3||(s3.halo=x3=g3.renderer.path().add(w2.parentGroup)),x3.show()[i3?"animate":"attr"]({d:this.haloPath(M.size)}),x3.attr({class:"highcharts-halo highcharts-color-"+b2(this.colorIndex,s3.colorIndex)+(this.className?" "+this.className:""),visibility:T2,zIndex:-1}),x3.point=this,g3.styledMode||x3.attr(c2({fill:this.color||s3.color,"fill-opacity":M.opacity},t3.filterUserAttributes(M.attributes||{})))):((_a=x3==null?void 0:x3.point)==null?void 0:_a.haloPath)&&!x3.point.destroyed&&x3.animate({d:x3.point.haloPath(0)},null,x3.hide),p2(this,"afterSetState",{state:e4})}haloPath(t4){let e4=this.pos();return e4?this.series.chart.renderer.symbols.circle(l2(e4[0],1)-t4,e4[1]-t4,2*t4,2*t4):[]}}return k2})),i(e2,"Core/Pointer.js",[e2["Core/Color/Color.js"],e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){var s2;let{parse:r2}=t3,{charts:o2,composed:n2,isTouchDevice:a2}=e3,{addEvent:h2,attr:l2,css:d2,extend:c2,find:p2,fireEvent:u2,isNumber:g2,isObject:f2,objectEach:m2,offset:x2,pick:y2,pushUnique:b2,splat:v2}=i2;class S2{applyInactiveState(t4){let e4=[],i3;(t4||[]).forEach((function(t5){i3=t5.series,e4.push(i3),i3.linkedParent&&e4.push(i3.linkedParent),i3.linkedSeries&&(e4=e4.concat(i3.linkedSeries)),i3.navigatorSeries&&e4.push(i3.navigatorSeries)})),this.chart.series.forEach((function(t5){-1===e4.indexOf(t5)?t5.setState("inactive",true):t5.options.inactiveOtherPoints&&t5.setAllPointsToState("inactive")}))}destroy(){let t4=this;this.eventsToUnbind.forEach((t5=>t5())),this.eventsToUnbind=[],!e3.chartCount&&(S2.unbindDocumentMouseUp&&S2.unbindDocumentMouseUp.forEach((t5=>t5())),S2.unbindDocumentTouchEnd&&(S2.unbindDocumentTouchEnd=S2.unbindDocumentTouchEnd())),clearInterval(t4.tooltipTimeout),m2(t4,(function(e4,i3){t4[i3]=void 0}))}getSelectionMarkerAttrs(t4,e4){let i3={args:{chartX:t4,chartY:e4},attrs:{},shapeType:"rect"};return u2(this,"getSelectionMarkerAttrs",i3,(i4=>{let s3;let{chart:r3,zoomHor:o3,zoomVert:n3}=this,{mouseDownX:a3=0,mouseDownY:h3=0}=r3,l3=i4.attrs;l3.x=r3.plotLeft,l3.y=r3.plotTop,l3.width=o3?1:r3.plotWidth,l3.height=n3?1:r3.plotHeight,o3&&(s3=t4-a3,l3.width=Math.max(1,Math.abs(s3)),l3.x=(s3>0?0:s3)+a3),n3&&(s3=e4-h3,l3.height=Math.max(1,Math.abs(s3)),l3.y=(s3>0?0:s3)+h3)})),i3}drag(t4){let{chart:e4}=this,{mouseDownX:i3=0,mouseDownY:s3=0}=e4,{panning:o3,panKey:n3,selectionMarkerFill:a3}=e4.options.chart,h3=e4.plotLeft,l3=e4.plotTop,d3=e4.plotWidth,c3=e4.plotHeight,p3=f2(o3)?o3.enabled:o3,u3=n3&&t4[`${n3}Key`],g3=t4.chartX,m3=t4.chartY,x3,y3=this.selectionMarker;if((!y3||!y3.touch)&&(g3<h3?g3=h3:g3>h3+d3&&(g3=h3+d3),m3<l3?m3=l3:m3>l3+c3&&(m3=l3+c3),this.hasDragged=Math.sqrt(Math.pow(i3-g3,2)+Math.pow(s3-m3,2)),this.hasDragged>10)){x3=e4.isInsidePlot(i3-h3,s3-l3,{visiblePlotOnly:true});let{shapeType:n4,attrs:d4}=this.getSelectionMarkerAttrs(g3,m3);(e4.hasCartesianSeries||e4.mapView)&&this.hasZoom&&x3&&!u3&&!y3&&(this.selectionMarker=y3=e4.renderer[n4](),y3.attr({class:"highcharts-selection-marker",zIndex:7}).add(),e4.styledMode||y3.attr({fill:a3||r2("#334eff").setOpacity(.25).get()})),y3&&y3.attr(d4),x3&&!y3&&p3&&e4.pan(t4,o3)}}dragStart(t4){let e4=this.chart;e4.mouseIsDown=t4.type,e4.cancelClick=false,e4.mouseDownX=t4.chartX,e4.mouseDownY=t4.chartY}getSelectionBox(t4){let e4={args:{marker:t4},result:t4.getBBox()};return u2(this,"getSelectionBox",e4),e4.result}drop(t4){let e4;let{chart:i3,selectionMarker:s3}=this;for(let t5 of i3.axes)t5.isPanning&&(t5.isPanning=false,(t5.options.startOnTick||t5.options.endOnTick||t5.series.some((t6=>t6.boosted)))&&(t5.forceRedraw=true,t5.setExtremes(t5.userMin,t5.userMax,false),e4=true));if(e4&&i3.redraw(),s3&&t4){if(this.hasDragged){let e5=this.getSelectionBox(s3);i3.transform({axes:i3.axes.filter((t5=>t5.zoomEnabled&&("xAxis"===t5.coll&&this.zoomX||"yAxis"===t5.coll&&this.zoomY))),selection:{originalEvent:t4,xAxis:[],yAxis:[],...e5},from:e5})}g2(i3.index)&&(this.selectionMarker=s3.destroy())}i3&&g2(i3.index)&&(d2(i3.container,{cursor:i3._cursor}),i3.cancelClick=this.hasDragged>10,i3.mouseIsDown=false,this.hasDragged=0,this.pinchDown=[])}findNearestKDPoint(t4,e4,i3){let s3;return t4.forEach((function(t5){let r3=!(t5.noSharedTooltip&&e4)&&0>t5.options.findNearestPointBy.indexOf("y"),o3=t5.searchPoint(i3,r3);f2(o3,true)&&o3.series&&(!f2(s3,true)||function(t6,i4){var _a,_b;let s4=t6.distX-i4.distX,r4=t6.dist-i4.dist,o4=((_a=i4.series.group)==null?void 0:_a.zIndex)-((_b=t6.series.group)==null?void 0:_b.zIndex);return 0!==s4&&e4?s4:0!==r4?r4:0!==o4?o4:t6.series.index>i4.series.index?-1:1}(s3,o3)>0)&&(s3=o3)})),s3}getChartCoordinatesFromPoint(t4,e4){let{xAxis:i3,yAxis:s3}=t4.series,r3=t4.shapeArgs;if(i3&&s3){let o3=t4.clientX??t4.plotX??0,n3=t4.plotY||0;return t4.isNode&&r3&&g2(r3.x)&&g2(r3.y)&&(o3=r3.x,n3=r3.y),e4?{chartX:s3.len+s3.pos-n3,chartY:i3.len+i3.pos-o3}:{chartX:o3+i3.pos,chartY:n3+s3.pos}}if(r3&&r3.x&&r3.y)return{chartX:r3.x,chartY:r3.y}}getChartPosition(){if(this.chartPosition)return this.chartPosition;let{container:t4}=this.chart,e4=x2(t4);this.chartPosition={left:e4.left,top:e4.top,scaleX:1,scaleY:1};let{offsetHeight:i3,offsetWidth:s3}=t4;return s3>2&&i3>2&&(this.chartPosition.scaleX=e4.width/s3,this.chartPosition.scaleY=e4.height/i3),this.chartPosition}getCoordinates(t4){let e4={xAxis:[],yAxis:[]};for(let i3 of this.chart.axes)e4[i3.isXAxis?"xAxis":"yAxis"].push({axis:i3,value:i3.toValue(t4[i3.horiz?"chartX":"chartY"])});return e4}getHoverData(t4,e4,i3,s3,r3,o3){let n3=[],a3=function(t5){return t5.visible&&!(!r3&&t5.directTouch)&&y2(t5.options.enableMouseTracking,true)},h3=e4,l3,d3={chartX:o3?o3.chartX:void 0,chartY:o3?o3.chartY:void 0,shared:r3};u2(this,"beforeGetHoverData",d3),l3=h3&&!h3.stickyTracking?[h3]:i3.filter((t5=>t5.stickyTracking&&(d3.filter||a3)(t5)));let c3=s3&&t4||!o3?t4:this.findNearestKDPoint(l3,r3,o3);return h3=c3&&c3.series,c3&&(r3&&!h3.noSharedTooltip?(l3=i3.filter((function(t5){return d3.filter?d3.filter(t5):a3(t5)&&!t5.noSharedTooltip}))).forEach((function(t5){let e5=p2(t5.points,(function(t6){return t6.x===c3.x&&!t6.isNull}));f2(e5)&&(t5.boosted&&t5.boost&&(e5=t5.boost.getPoint(e5)),n3.push(e5))})):n3.push(c3)),u2(this,"afterGetHoverData",d3={hoverPoint:c3}),{hoverPoint:d3.hoverPoint,hoverSeries:h3,hoverPoints:n3}}getPointFromEvent(t4){let e4=t4.target,i3;for(;e4&&!i3;)i3=e4.point,e4=e4.parentNode;return i3}onTrackerMouseOut(t4){let e4=this.chart,i3=t4.relatedTarget,s3=e4.hoverSeries;this.isDirectTouch=false,!s3||!i3||s3.stickyTracking||this.inClass(i3,"highcharts-tooltip")||this.inClass(i3,"highcharts-series-"+s3.index)&&this.inClass(i3,"highcharts-tracker")||s3.onMouseOut()}inClass(t4,e4){let i3=t4,s3;for(;i3;){if(s3=l2(i3,"class")){if(-1!==s3.indexOf(e4))return true;if(-1!==s3.indexOf("highcharts-container"))return false}i3=i3.parentElement}}constructor(t4,e4){var _a;this.hasDragged=0,this.pointerCaptureEventsToUnbind=[],this.eventsToUnbind=[],this.options=e4,this.chart=t4,this.runChartClick=!!((_a=e4.chart.events)==null?void 0:_a.click),this.pinchDown=[],this.setDOMEvents(),u2(this,"afterInit")}normalize(t4,e4){let i3=t4.touches,s3=i3?i3.length?i3.item(0):y2(i3.changedTouches,t4.changedTouches)[0]:t4;e4||(e4=this.getChartPosition());let r3=s3.pageX-e4.left,o3=s3.pageY-e4.top;return c2(t4,{chartX:Math.round(r3/=e4.scaleX),chartY:Math.round(o3/=e4.scaleY)})}onContainerClick(t4){let e4=this.chart,i3=e4.hoverPoint,s3=this.normalize(t4),r3=e4.plotLeft,o3=e4.plotTop;!e4.cancelClick&&(i3&&this.inClass(s3.target,"highcharts-tracker")?(u2(i3.series,"click",c2(s3,{point:i3})),e4.hoverPoint&&i3.firePointEvent("click",s3)):(c2(s3,this.getCoordinates(s3)),e4.isInsidePlot(s3.chartX-r3,s3.chartY-o3,{visiblePlotOnly:true})&&u2(e4,"click",s3)))}onContainerMouseDown(t4){var _a;let i3=(1&(t4.buttons||t4.button))==1;t4=this.normalize(t4),e3.isFirefox&&0!==t4.button&&this.onContainerMouseMove(t4),(void 0===t4.button||i3)&&(this.zoomOption(t4),i3&&((_a=t4.preventDefault)==null?void 0:_a.call(t4)),this.dragStart(t4))}onContainerMouseLeave(t4){let{pointer:e4}=o2[y2(S2.hoverChartIndex,-1)]||{};t4=this.normalize(t4),this.onContainerMouseMove(t4),e4&&!this.inClass(t4.relatedTarget,"highcharts-tooltip")&&(e4.reset(),e4.chartPosition=void 0)}onContainerMouseEnter(){delete this.chartPosition}onContainerMouseMove(t4){let e4=this.chart,i3=e4.tooltip,s3=this.normalize(t4);this.setHoverChartIndex(t4),("mousedown"===e4.mouseIsDown||this.touchSelect(s3))&&this.drag(s3),!e4.openMenu&&(this.inClass(s3.target,"highcharts-tracker")||e4.isInsidePlot(s3.chartX-e4.plotLeft,s3.chartY-e4.plotTop,{visiblePlotOnly:true}))&&!(i3&&i3.shouldStickOnContact(s3))&&(this.inClass(s3.target,"highcharts-no-tooltip")?this.reset(false,0):this.runPointActions(s3))}onDocumentTouchEnd(t4){this.onDocumentMouseUp(t4)}onContainerTouchMove(t4){this.touchSelect(t4)?this.onContainerMouseMove(t4):this.touch(t4)}onContainerTouchStart(t4){this.touchSelect(t4)?this.onContainerMouseDown(t4):(this.zoomOption(t4),this.touch(t4,true))}onDocumentMouseMove(t4){let e4=this.chart,i3=e4.tooltip,s3=this.chartPosition,r3=this.normalize(t4,s3);!s3||e4.isInsidePlot(r3.chartX-e4.plotLeft,r3.chartY-e4.plotTop,{visiblePlotOnly:true})||i3&&i3.shouldStickOnContact(r3)||r3.target!==e4.container.ownerDocument&&this.inClass(r3.target,"highcharts-tracker")||this.reset()}onDocumentMouseUp(t4){var _a,_b;(_b=(_a=o2[y2(S2.hoverChartIndex,-1)])==null?void 0:_a.pointer)==null?void 0:_b.drop(t4)}pinch(t4){let e4=this,{chart:i3,hasZoom:s3,lastTouches:r3}=e4,o3=[].map.call(t4.touches||[],(t5=>e4.normalize(t5))),n3=o3.length,a3=1===n3&&(e4.inClass(t4.target,"highcharts-tracker")&&i3.runTrackerClick||e4.runChartClick),h3=i3.tooltip,l3=1===n3&&y2(h3==null?void 0:h3.options.followTouchMove,true);n3>1?e4.initiated=true:l3&&(e4.initiated=false),s3&&e4.initiated&&!a3&&false!==t4.cancelable&&t4.preventDefault(),"touchstart"===t4.type?(e4.pinchDown=o3,e4.res=true,i3.mouseDownX=t4.chartX):l3?this.runPointActions(e4.normalize(t4)):r3&&(u2(i3,"touchpan",{originalEvent:t4,touches:o3},(()=>{let e5=t5=>{let e6=t5[0],i4=t5[1]||e6;return{x:e6.chartX,y:e6.chartY,width:i4.chartX-e6.chartX,height:i4.chartY-e6.chartY}};i3.transform({axes:i3.axes.filter((t5=>t5.zoomEnabled&&(this.zoomHor&&t5.horiz||this.zoomVert&&!t5.horiz))),to:e5(o3),from:e5(r3),trigger:t4.type})})),e4.res&&(e4.res=false,this.reset(false,0))),e4.lastTouches=o3}reset(t4,e4){let i3=this.chart,s3=i3.hoverSeries,r3=i3.hoverPoint,o3=i3.hoverPoints,n3=i3.tooltip,a3=n3&&n3.shared?o3:r3;t4&&a3&&v2(a3).forEach((function(e5){e5.series.isCartesian&&void 0===e5.plotX&&(t4=false)})),t4?n3&&a3&&v2(a3).length&&(n3.refresh(a3),n3.shared&&o3?o3.forEach((function(t5){t5.setState(t5.state,true),t5.series.isCartesian&&(t5.series.xAxis.crosshair&&t5.series.xAxis.drawCrosshair(null,t5),t5.series.yAxis.crosshair&&t5.series.yAxis.drawCrosshair(null,t5))})):r3&&(r3.setState(r3.state,true),i3.axes.forEach((function(t5){t5.crosshair&&r3.series[t5.coll]===t5&&t5.drawCrosshair(null,r3)})))):(r3&&r3.onMouseOut(),o3&&o3.forEach((function(t5){t5.setState()})),s3&&s3.onMouseOut(),n3&&n3.hide(e4),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),i3.axes.forEach((function(t5){t5.hideCrosshair()})),i3.hoverPoints=i3.hoverPoint=void 0)}runPointActions(t4,e4,i3){let s3=this.chart,r3=s3.series,n3=s3.tooltip&&s3.tooltip.options.enabled?s3.tooltip:void 0,a3=!!n3&&n3.shared,l3=e4||s3.hoverPoint,d3=l3&&l3.series||s3.hoverSeries,c3=(!t4||"touchmove"!==t4.type)&&(!!e4||d3&&d3.directTouch&&this.isDirectTouch),u3=this.getHoverData(l3,d3,r3,c3,a3,t4);l3=u3.hoverPoint,d3=u3.hoverSeries;let g3=u3.hoverPoints,f3=d3&&d3.tooltipOptions.followPointer&&!d3.tooltipOptions.split,m3=a3&&d3&&!d3.noSharedTooltip;if(l3&&(i3||l3!==s3.hoverPoint||n3&&n3.isHidden)){if((s3.hoverPoints||[]).forEach((function(t5){-1===g3.indexOf(t5)&&t5.setState()})),s3.hoverSeries!==d3&&d3.onMouseOver(),this.applyInactiveState(g3),(g3||[]).forEach((function(t5){t5.setState("hover")})),s3.hoverPoint&&s3.hoverPoint.firePointEvent("mouseOut"),!l3.series)return;s3.hoverPoints=g3,s3.hoverPoint=l3,l3.firePointEvent("mouseOver",void 0,(()=>{n3&&l3&&n3.refresh(m3?g3:l3,t4)}))}else if(f3&&n3&&!n3.isHidden){let e5=n3.getAnchor([{}],t4);s3.isInsidePlot(e5[0],e5[1],{visiblePlotOnly:true})&&n3.updatePosition({plotX:e5[0],plotY:e5[1]})}this.unDocMouseMove||(this.unDocMouseMove=h2(s3.container.ownerDocument,"mousemove",(t5=>{var _a,_b;return(_b=(_a=o2[S2.hoverChartIndex??-1])==null?void 0:_a.pointer)==null?void 0:_b.onDocumentMouseMove(t5)})),this.eventsToUnbind.push(this.unDocMouseMove)),s3.axes.forEach((function(e5){let i4;let r4=y2((e5.crosshair||{}).snap,true);!r4||(i4=s3.hoverPoint)&&i4.series[e5.coll]===e5||(i4=p2(g3,(t5=>t5.series&&t5.series[e5.coll]===e5))),i4||!r4?e5.drawCrosshair(t4,i4):e5.hideCrosshair()}))}setDOMEvents(){let t4=this.chart.container,e4=t4.ownerDocument;t4.onmousedown=this.onContainerMouseDown.bind(this),t4.onmousemove=this.onContainerMouseMove.bind(this),t4.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(h2(t4,"mouseenter",this.onContainerMouseEnter.bind(this)),h2(t4,"mouseleave",this.onContainerMouseLeave.bind(this))),S2.unbindDocumentMouseUp||(S2.unbindDocumentMouseUp=[]),S2.unbindDocumentMouseUp.push(h2(e4,"mouseup",this.onDocumentMouseUp.bind(this)));let i3=this.chart.renderTo.parentElement;for(;i3&&"BODY"!==i3.tagName;)this.eventsToUnbind.push(h2(i3,"scroll",(()=>{delete this.chartPosition}))),i3=i3.parentElement;this.eventsToUnbind.push(h2(t4,"touchstart",this.onContainerTouchStart.bind(this),{passive:false}),h2(t4,"touchmove",this.onContainerTouchMove.bind(this),{passive:false})),S2.unbindDocumentTouchEnd||(S2.unbindDocumentTouchEnd=h2(e4,"touchend",this.onDocumentTouchEnd.bind(this),{passive:false})),this.setPointerCapture(),h2(this.chart,"redraw",this.setPointerCapture.bind(this))}setPointerCapture(){var _a,_b;if(!a2)return;let t4=this.pointerCaptureEventsToUnbind,e4=this.chart,i3=e4.container,s3=y2((_a=e4.options.tooltip)==null?void 0:_a.followTouchMove,true)&&e4.series.some((t5=>t5.options.findNearestPointBy.indexOf("y")>-1));!this.hasPointerCapture&&s3?(t4.push(h2(i3,"pointerdown",(t5=>{var _a2,_b2;((_a2=t5.target)==null?void 0:_a2.hasPointerCapture(t5.pointerId))&&((_b2=t5.target)==null?void 0:_b2.releasePointerCapture(t5.pointerId))})),h2(i3,"pointermove",(t5=>{var _a2,_b2;(_b2=(_a2=e4.pointer)==null?void 0:_a2.getPointFromEvent(t5))==null?void 0:_b2.onMouseOver(t5)}))),e4.styledMode||d2(i3,{"touch-action":"none"}),i3.className+=" highcharts-no-touch-action",this.hasPointerCapture=true):this.hasPointerCapture&&!s3&&(t4.forEach((t5=>t5())),t4.length=0,e4.styledMode||d2(i3,{"touch-action":y2((_b=e4.options.chart.style)==null?void 0:_b["touch-action"],"manipulation")}),i3.className=i3.className.replace(" highcharts-no-touch-action",""),this.hasPointerCapture=false)}setHoverChartIndex(t4){var _a;let i3=this.chart,s3=e3.charts[y2(S2.hoverChartIndex,-1)];if(s3&&s3!==i3){let e4={relatedTarget:i3.container};t4&&!(t4==null?void 0:t4.relatedTarget)&&(t4={...e4,...t4}),(_a=s3.pointer)==null?void 0:_a.onContainerMouseLeave(t4||e4)}s3&&s3.mouseIsDown||(S2.hoverChartIndex=i3.index)}touch(t4,e4){let i3;let{chart:s3,pinchDown:r3=[]}=this;this.setHoverChartIndex(),1===(t4=this.normalize(t4)).touches.length?s3.isInsidePlot(t4.chartX-s3.plotLeft,t4.chartY-s3.plotTop,{visiblePlotOnly:true})&&!s3.openMenu?(e4&&this.runPointActions(t4),"touchmove"===t4.type&&(i3=!!r3[0]&&Math.pow(r3[0].chartX-t4.chartX,2)+Math.pow(r3[0].chartY-t4.chartY,2)>=16),y2(i3,true)&&this.pinch(t4)):e4&&this.reset():2===t4.touches.length&&this.pinch(t4)}touchSelect(t4){return!!(this.chart.zooming.singleTouch&&t4.touches&&1===t4.touches.length)}zoomOption(t4){let e4=this.chart,i3=e4.inverted,s3=e4.zooming.type||"",r3,o3;/touch/.test(t4.type)&&(s3=y2(e4.zooming.pinchType,s3)),this.zoomX=r3=/x/.test(s3),this.zoomY=o3=/y/.test(s3),this.zoomHor=r3&&!i3||o3&&i3,this.zoomVert=o3&&!i3||r3&&i3,this.hasZoom=r3||o3}}return(s2=S2||(S2={})).compose=function(t4){b2(n2,"Core.Pointer")&&h2(t4,"beforeRender",(function(){this.pointer=new s2(this,this.options)}))},S2})),i(e2,"Core/Legend/LegendSymbol.js",[e2["Core/Utilities.js"]],(function(t3){var e3;let{extend:i2,merge:s2,pick:r2}=t3;return function(t4){function e4(t5,e5,o2){var _a,_b;let n2=this.legendItem=this.legendItem||{},{chart:a2,options:h2}=this,{baseline:l2=0,symbolWidth:d2,symbolHeight:c2}=t5,p2=this.symbol||"circle",u2=c2/2,g2=a2.renderer,f2=n2.group,m2=l2-Math.round((((_a=t5.fontMetrics)==null?void 0:_a.b)||c2)*(o2?.4:.3)),x2={},y2,b2=h2.marker,v2=0;if(a2.styledMode||(x2["stroke-width"]=Math.min(h2.lineWidth||0,24),h2.dashStyle?x2.dashstyle=h2.dashStyle:"square"===h2.linecap||(x2["stroke-linecap"]="round")),n2.line=g2.path().addClass("highcharts-graph").attr(x2).add(f2),o2&&(n2.area=g2.path().addClass("highcharts-area").add(f2)),x2["stroke-linecap"]&&(v2=Math.min(n2.line.strokeWidth(),d2)/2),d2){let t6=[["M",v2,m2],["L",d2-v2,m2]];n2.line.attr({d:t6}),(_b=n2.area)==null?void 0:_b.attr({d:[...t6,["L",d2-v2,l2],["L",v2,l2]]})}if(b2&&false!==b2.enabled&&d2){let t6=Math.min(r2(b2.radius,u2),u2);0===p2.indexOf("url")&&(b2=s2(b2,{width:c2,height:c2}),t6=0),n2.symbol=y2=g2.symbol(p2,d2/2-t6,m2-t6,2*t6,2*t6,i2({context:"legend"},b2)).addClass("highcharts-point").add(f2),y2.isMarker=true}}t4.areaMarker=function(t5,i3){e4.call(this,t5,i3,true)},t4.lineMarker=e4,t4.rectangle=function(t5,e5){let i3=e5.legendItem||{},s3=t5.options,o2=t5.symbolHeight,n2=s3.squareSymbol,a2=n2?o2:t5.symbolWidth;i3.symbol=this.chart.renderer.rect(n2?(t5.symbolWidth-o2)/2:0,t5.baseline-o2+1,a2,o2,r2(t5.options.symbolRadius,o2/2)).addClass("highcharts-point").attr({zIndex:3}).add(i3.group)}}(e3||(e3={})),e3})),i(e2,"Core/Series/SeriesDefaults.js",[],(function(){return{lineWidth:2,allowPointSelect:false,crisp:true,showCheckbox:false,animation:{duration:1e3},enableMouseTracking:true,events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:true},hover:{animation:{duration:150},enabled:true,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",borderWidth:0,defer:true,formatter:function(){let{numberFormatter:t3}=this.series.chart;return"number"!=typeof this.y?"":t3(this.y,-1)},padding:5,style:{fontSize:"0.7em",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:true,states:{normal:{animation:true},hover:{animation:{duration:150},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:150},opacity:.2}},stickyTracking:true,turboThreshold:1e3,findNearestPointBy:"x"}})),i(e2,"Core/Series/SeriesRegistry.js",[e2["Core/Globals.js"],e2["Core/Defaults.js"],e2["Core/Series/Point.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){var r2;let{defaultOptions:o2}=e3,{extend:n2,extendClass:a2,merge:h2}=s2;return function(e4){function s3(t4,s4){let r3=o2.plotOptions||{},n3=s4.defaultOptions,a3=s4.prototype;return a3.type=t4,a3.pointClass||(a3.pointClass=i2),!e4.seriesTypes[t4]&&(n3&&(r3[t4]=n3),e4.seriesTypes[t4]=s4,true)}e4.seriesTypes=t3.seriesTypes,e4.registerSeriesType=s3,e4.seriesType=function(t4,r3,l2,d2,c2){let p2=o2.plotOptions||{};if(r3=r3||"",p2[t4]=h2(p2[r3],l2),delete e4.seriesTypes[t4],s3(t4,a2(e4.seriesTypes[r3]||function(){},d2)),e4.seriesTypes[t4].prototype.type=t4,c2){class s4 extends i2{}n2(s4.prototype,c2),e4.seriesTypes[t4].prototype.pointClass=s4}return e4.seriesTypes[t4]}}(r2||(r2={})),r2})),i(e2,"Core/Series/Series.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Defaults.js"],e2["Core/Foundation.js"],e2["Core/Globals.js"],e2["Core/Legend/LegendSymbol.js"],e2["Core/Series/Point.js"],e2["Core/Series/SeriesDefaults.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Renderer/SVG/SVGElement.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2,o2,n2,a2,h2,l2){let{animObject:d2,setAnimation:c2}=t3,{defaultOptions:p2}=e3,{registerEventOptions:u2}=i2,{svg:g2,win:f2}=s2,{seriesTypes:m2}=a2,{arrayMax:x2,arrayMin:y2,clamp:b2,correctFloat:v2,crisp:S2,defined:C2,destroyObjectProperties:k2,diffObjects:M,erase:w2,error:T2,extend:A2,find:P,fireEvent:L2,getClosestDistance:O2,getNestedProperty:D2,insertItem:E2,isArray:I,isNumber:j,isString:B,merge:R2,objectEach:z2,pick:N,removeEvent:W2,splat:G,syncTimeout:H2}=l2;class X{constructor(){this.zoneAxis="y"}init(t4,e4){let i3;L2(this,"init",{options:e4});let s3=this,r3=t4.series;this.eventsToUnbind=[],s3.chart=t4,s3.options=s3.setOptions(e4);let o3=s3.options,n3=false!==o3.visible;s3.linkedSeries=[],s3.bindAxes(),A2(s3,{name:o3.name,state:"",visible:n3,selected:true===o3.selected}),u2(this,o3);let a3=o3.events;(a3&&a3.click||o3.point&&o3.point.events&&o3.point.events.click||o3.allowPointSelect)&&(t4.runTrackerClick=true),s3.getColor(),s3.getSymbol(),s3.parallelArrays.forEach((function(t5){s3[t5+"Data"]||(s3[t5+"Data"]=[])})),s3.isCartesian&&(t4.hasCartesianSeries=true),r3.length&&(i3=r3[r3.length-1]),s3._i=N(i3&&i3._i,-1)+1,s3.opacity=s3.options.opacity,t4.orderItems("series",E2(this,r3)),o3.dataSorting&&o3.dataSorting.enabled?s3.setDataSortingOptions():s3.points||s3.data||s3.setData(o3.data,false),L2(this,"afterInit")}is(t4){return m2[t4]&&this instanceof m2[t4]}bindAxes(){let t4;let e4=this,i3=e4.options,s3=e4.chart;L2(this,"bindAxes",null,(function(){(e4.axisTypes||[]).forEach((function(r3){(s3[r3]||[]).forEach((function(s4){t4=s4.options,(N(i3[r3],0)===s4.index||void 0!==i3[r3]&&i3[r3]===t4.id)&&(E2(e4,s4.series),e4[r3]=s4,s4.isDirty=true)})),e4[r3]||e4.optionalAxis===r3||T2(18,true,s3)}))})),L2(this,"afterBindAxes")}updateParallelArrays(t4,e4,i3){let s3=t4.series,r3=j(e4)?function(i4){let r4="y"===i4&&s3.toYData?s3.toYData(t4):t4[i4];s3[i4+"Data"][e4]=r4}:function(t5){Array.prototype[e4].apply(s3[t5+"Data"],i3)};s3.parallelArrays.forEach(r3)}hasData(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&this.yData.length>0}hasMarkerChanged(t4,e4){let i3=t4.marker,s3=e4.marker||{};return i3&&(s3.enabled&&!i3.enabled||s3.symbol!==i3.symbol||s3.height!==i3.height||s3.width!==i3.width)}autoIncrement(t4){let e4=this.options,i3=e4.pointIntervalUnit,s3=e4.relativeXValue,r3=this.chart.time,o3=this.xIncrement,n3,a3;return(o3=N(o3,e4.pointStart,0),this.pointInterval=a3=N(this.pointInterval,e4.pointInterval,1),s3&&j(t4)&&(a3*=t4),i3&&(n3=new r3.Date(o3),"day"===i3?r3.set("Date",n3,r3.get("Date",n3)+a3):"month"===i3?r3.set("Month",n3,r3.get("Month",n3)+a3):"year"===i3&&r3.set("FullYear",n3,r3.get("FullYear",n3)+a3),a3=n3.getTime()-o3),s3&&j(t4))?o3+a3:(this.xIncrement=o3+a3,o3)}setDataSortingOptions(){let t4=this.options;A2(this,{requireSorting:false,sorted:false,enabledDataSorting:true,allowDG:false}),C2(t4.pointRange)||(t4.pointRange=1)}setOptions(t4){var _a,_b;let e4;let i3=this.chart,s3=i3.options.plotOptions,r3=i3.userOptions||{},o3=R2(t4),n3=i3.styledMode,a3={plotOptions:s3,userOptions:o3};L2(this,"setOptions",a3);let h3=a3.plotOptions[this.type],l3=r3.plotOptions||{},d3=l3.series||{},c3=p2.plotOptions[this.type]||{},u3=l3[this.type]||{};this.userOptions=a3.userOptions;let g3=R2(h3,s3.series,u3,o3);this.tooltipOptions=R2(p2.tooltip,(_a=p2.plotOptions.series)==null?void 0:_a.tooltip,c3==null?void 0:c3.tooltip,i3.userOptions.tooltip,(_b=l3.series)==null?void 0:_b.tooltip,u3.tooltip,o3.tooltip),this.stickyTracking=N(o3.stickyTracking,u3.stickyTracking,d3.stickyTracking,!!this.tooltipOptions.shared&&!this.noSharedTooltip||g3.stickyTracking),null===h3.marker&&delete g3.marker,this.zoneAxis=g3.zoneAxis||"y";let f3=this.zones=(g3.zones||[]).map((t5=>({...t5})));return(g3.negativeColor||g3.negativeFillColor)&&!g3.zones&&(e4={value:g3[this.zoneAxis+"Threshold"]||g3.threshold||0,className:"highcharts-negative"},n3||(e4.color=g3.negativeColor,e4.fillColor=g3.negativeFillColor),f3.push(e4)),f3.length&&C2(f3[f3.length-1].value)&&f3.push(n3?{}:{color:this.color,fillColor:this.fillColor}),L2(this,"afterSetOptions",{options:g3}),g3}getName(){return N(this.options.name,"Series "+(this.index+1))}getCyclic(t4,e4,i3){let s3,r3;let o3=this.chart,n3=`${t4}Index`,a3=`${t4}Counter`,h3=(i3==null?void 0:i3.length)||o3.options.chart.colorCount;!e4&&(C2(r3=N("color"===t4?this.options.colorIndex:void 0,this[n3]))?s3=r3:(o3.series.length||(o3[a3]=0),s3=o3[a3]%h3,o3[a3]+=1),i3&&(e4=i3[s3])),void 0!==s3&&(this[n3]=s3),this[t4]=e4}getColor(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||p2.plotOptions[this.type].color,this.chart.options.colors)}getPointsCollection(){return(this.hasGroupedData?this.points:this.data)||[]}getSymbol(){let t4=this.options.marker;this.getCyclic("symbol",t4.symbol,this.chart.options.symbols)}findPointIndex(t4,e4){let i3,s3,r3;let n3=t4.id,a3=t4.x,h3=this.points,l3=this.options.dataSorting;if(n3){let t5=this.chart.get(n3);t5 instanceof o2&&(i3=t5)}else if(this.linkedParent||this.enabledDataSorting||this.options.relativeXValue){let e5=e6=>!e6.touched&&e6.index===t4.index;if(l3&&l3.matchByName?e5=e6=>!e6.touched&&e6.name===t4.name:this.options.relativeXValue&&(e5=e6=>!e6.touched&&e6.options.x===t4.x),!(i3=P(h3,e5)))return}return i3&&void 0!==(r3=i3&&i3.index)&&(s3=true),void 0===r3&&j(a3)&&(r3=this.xData.indexOf(a3,e4)),-1!==r3&&void 0!==r3&&this.cropped&&(r3=r3>=this.cropStart?r3-this.cropStart:r3),!s3&&j(r3)&&h3[r3]&&h3[r3].touched&&(r3=void 0),r3}updateData(t4,e4){let i3=this.options,s3=i3.dataSorting,r3=this.points,o3=[],n3=this.requireSorting,a3=t4.length===r3.length,h3,l3,d3,c3,p3=true;if(this.xIncrement=null,t4.forEach((function(t5,e5){let l4;let d4=C2(t5)&&this.pointClass.prototype.optionsToObject.call({series:this},t5)||{},p4=d4.x;d4.id||j(p4)?(-1===(l4=this.findPointIndex(d4,c3))||void 0===l4?o3.push(t5):r3[l4]&&t5!==i3.data[l4]?(r3[l4].update(t5,false,null,false),r3[l4].touched=true,n3&&(c3=l4+1)):r3[l4]&&(r3[l4].touched=true),(!a3||e5!==l4||s3&&s3.enabled||this.hasDerivedData)&&(h3=true)):o3.push(t5)}),this),h3)for(l3=r3.length;l3--;)(d3=r3[l3])&&!d3.touched&&d3.remove&&d3.remove(false,e4);else!a3||s3&&s3.enabled?p3=false:(t4.forEach((function(t5,e5){t5===r3[e5].y||r3[e5].destroyed||r3[e5].update(t5,false,null,false)})),o3.length=0);return r3.forEach((function(t5){t5&&(t5.touched=false)})),!!p3&&(o3.forEach((function(t5){this.addPoint(t5,false,null,null,false)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=x2(this.xData),this.autoIncrement()),true)}setData(t4,e4=true,i3,s3){var _a;let r3=this,o3=r3.points,n3=o3&&o3.length||0,a3=r3.options,h3=r3.chart,l3=a3.dataSorting,d3=r3.xAxis,c3=a3.turboThreshold,p3=this.xData,u3=this.yData,g3=r3.pointArrayMap,f3=g3&&g3.length,m3=a3.keys,x3,y3,b3,v3=0,S3=1,C3;h3.options.chart.allowMutatingData||(a3.data&&delete r3.options.data,r3.userOptions.data&&delete r3.userOptions.data,C3=R2(true,t4));let k3=(t4=C3||t4||[]).length;if(l3&&l3.enabled&&(t4=this.sortData(t4)),h3.options.chart.allowMutatingData&&false!==s3&&k3&&n3&&!r3.cropped&&!r3.hasGroupedData&&r3.visible&&!r3.boosted&&(b3=this.updateData(t4,i3)),!b3){r3.xIncrement=null,r3.colorCounter=0,this.parallelArrays.forEach((function(t5){r3[t5+"Data"].length=0}));let e5=c3&&k3>c3;if(e5){let i4=r3.getFirstValidPoint(t4),s4=r3.getFirstValidPoint(t4,k3-1,-1),o4=t5=>!!(I(t5)&&(m3||j(t5[0])));if(j(i4)&&j(s4))for(x3=0;x3<k3;x3++)p3[x3]=this.autoIncrement(),u3[x3]=t4[x3];else if(o4(i4)&&o4(s4)){if(f3){if(i4.length===f3)for(x3=0;x3<k3;x3++)p3[x3]=this.autoIncrement(),u3[x3]=t4[x3];else for(x3=0;x3<k3;x3++)y3=t4[x3],p3[x3]=y3[0],u3[x3]=y3.slice(1,f3+1)}else if(m3&&(v3=m3.indexOf("x"),S3=m3.indexOf("y"),v3=v3>=0?v3:0,S3=S3>=0?S3:1),1===i4.length&&(S3=0),v3===S3)for(x3=0;x3<k3;x3++)p3[x3]=this.autoIncrement(),u3[x3]=t4[x3][S3];else for(x3=0;x3<k3;x3++)y3=t4[x3],p3[x3]=y3[v3],u3[x3]=y3[S3]}else e5=false}if(!e5)for(x3=0;x3<k3;x3++)y3={series:r3},r3.pointClass.prototype.applyOptions.apply(y3,[t4[x3]]),r3.updateParallelArrays(y3,x3);for(u3&&B(u3[0])&&T2(14,true,h3),r3.data=[],r3.options.data=r3.userOptions.data=t4,x3=n3;x3--;)(_a=o3[x3])==null?void 0:_a.destroy();d3&&(d3.minRange=d3.userMinRange),r3.isDirty=h3.isDirtyBox=true,r3.isDirtyData=!!o3,i3=false}"point"===a3.legendType&&(this.processData(),this.generatePoints()),e4&&h3.redraw(i3)}sortData(t4){let e4=this,i3=e4.options.dataSorting.sortKey||"y",s3=function(t5,e5){return C2(e5)&&t5.pointClass.prototype.optionsToObject.call({series:t5},e5)||{}};return t4.forEach((function(i4,r3){t4[r3]=s3(e4,i4),t4[r3].index=r3}),this),t4.concat().sort(((t5,e5)=>{let s4=D2(i3,t5),r3=D2(i3,e5);return r3<s4?-1:r3>s4?1:0})).forEach((function(t5,e5){t5.x=e5}),this),e4.linkedSeries&&e4.linkedSeries.forEach((function(e5){let i4=e5.options,r3=i4.data;i4.dataSorting&&i4.dataSorting.enabled||!r3||(r3.forEach((function(i5,o3){r3[o3]=s3(e5,i5),t4[o3]&&(r3[o3].x=t4[o3].x,r3[o3].index=o3)})),e5.setData(r3,false))})),t4}getProcessedData(t4){let e4=this,i3=e4.xAxis,s3=e4.options.cropThreshold,r3=i3==null?void 0:i3.logarithmic,o3=e4.isCartesian,n3,a3,h3=0,l3,d3,c3,p3=e4.xData,u3=e4.yData,g3=false,f3=p3.length;i3&&(d3=(l3=i3.getExtremes()).min,c3=l3.max,g3=!!(i3.categories&&!i3.names.length)),o3&&e4.sorted&&!t4&&(!s3||f3>s3||e4.forceCrop)&&(p3[f3-1]<d3||p3[0]>c3?(p3=[],u3=[]):e4.yData&&(p3[0]<d3||p3[f3-1]>c3)&&(p3=(n3=this.cropData(e4.xData,e4.yData,d3,c3)).xData,u3=n3.yData,h3=n3.start,a3=true));let m3=O2([r3?p3.map(r3.log2lin):p3],(()=>e4.requireSorting&&!g3&&T2(15,false,e4.chart)));return{xData:p3,yData:u3,cropped:a3,cropStart:h3,closestPointRange:m3}}processData(t4){let e4=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e4.isDirty&&!this.yAxis.isDirty&&!t4)return false;let i3=this.getProcessedData();this.cropped=i3.cropped,this.cropStart=i3.cropStart,this.processedXData=i3.xData,this.processedYData=i3.yData,this.closestPointRange=this.basePointRange=i3.closestPointRange,L2(this,"afterProcessData")}cropData(t4,e4,i3,s3){let r3=t4.length,o3,n3,a3=0,h3=r3;for(o3=0;o3<r3;o3++)if(t4[o3]>=i3){a3=Math.max(0,o3-1);break}for(n3=o3;n3<r3;n3++)if(t4[n3]>s3){h3=n3+1;break}return{xData:t4.slice(a3,h3),yData:e4.slice(a3,h3),start:a3,end:h3}}generatePoints(){let t4=this.options,e4=this.processedData||t4.data,i3=this.processedXData,s3=this.processedYData,r3=this.pointClass,o3=i3.length,n3=this.cropStart||0,a3=this.hasGroupedData,h3=t4.keys,l3=[],d3=t4.dataGrouping&&t4.dataGrouping.groupAll?n3:0,c3,p3,u3,g3,f3=this.data;if(!f3&&!a3){let t5=[];t5.length=e4.length,f3=this.data=t5}for(h3&&a3&&(this.options.keys=false),g3=0;g3<o3;g3++)p3=n3+g3,a3?((u3=new r3(this,[i3[g3]].concat(G(s3[g3])))).dataGroup=this.groupMap[d3+g3],u3.dataGroup.options&&(u3.options=u3.dataGroup.options,A2(u3,u3.dataGroup.options),delete u3.dataLabels)):(u3=f3[p3])||void 0===e4[p3]||(f3[p3]=u3=new r3(this,e4[p3],i3[g3])),u3&&(u3.index=a3?d3+g3:p3,l3[g3]=u3);if(this.options.keys=h3,f3&&(o3!==(c3=f3.length)||a3))for(g3=0;g3<c3;g3++)g3!==n3||a3||(g3+=o3),f3[g3]&&(f3[g3].destroyElements(),f3[g3].plotX=void 0);this.data=f3,this.points=l3,L2(this,"afterGeneratePoints")}getXExtremes(t4){return{min:y2(t4),max:x2(t4)}}getExtremes(t4,e4){let i3=this.xAxis,s3=this.yAxis,r3=[],o3=this.requireSorting&&!this.is("column")?1:0,n3=!!s3&&s3.positiveValuesOnly,a3=e4||this.getExtremesFromAll||this.options.getExtremesFromAll,{processedXData:h3,processedYData:l3}=this,d3,c3,p3,u3,g3,f3,m3,b3=0,v3=0,S3=0;if(this.cropped&&a3){let t5=this.getProcessedData(true);h3=t5.xData,l3=t5.yData}let C3=(t4=t4||this.stackedYData||l3||[]).length,k3=h3||this.xData;for(i3&&(b3=(d3=i3.getExtremes()).min,v3=d3.max),f3=0;f3<C3;f3++)if(u3=k3[f3],c3=(j(g3=t4[f3])||I(g3))&&((j(g3)?g3>0:g3.length)||!n3),p3=e4||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!i3||(k3[f3+o3]||u3)>=b3&&(k3[f3-o3]||u3)<=v3,c3&&p3){if(m3=g3.length)for(;m3--;)j(g3[m3])&&(r3[S3++]=g3[m3]);else r3[S3++]=g3}let M2={activeYData:r3,dataMin:y2(r3),dataMax:x2(r3)};return L2(this,"afterGetExtremes",{dataExtremes:M2}),M2}applyExtremes(){let t4=this.getExtremes();return this.dataMin=t4.dataMin,this.dataMax=t4.dataMax,t4}getFirstValidPoint(t4,e4=0,i3=1){let s3=t4.length,r3=e4;for(;r3>=0&&r3<s3;){if(C2(t4[r3]))return t4[r3];r3+=i3}}translate(){var _a;this.processedXData||this.processData(),this.generatePoints();let t4=this.options,e4=t4.stacking,i3=this.xAxis,s3=i3.categories,r3=this.enabledDataSorting,o3=this.yAxis,n3=this.points,a3=n3.length,h3=this.pointPlacementToXValue(),l3=!!h3,d3=t4.threshold,c3=t4.startFromThreshold?d3:0,p3,u3,g3,f3,m3=Number.MAX_VALUE;function x3(t5){return b2(t5,-1e9,1e9)}for(p3=0;p3<a3;p3++){let t5;let a4=n3[p3],y3=a4.x,b3,S3,k3=a4.y,M2=a4.low,w3=e4&&((_a=o3.stacking)==null?void 0:_a.stacks[(this.negStacks&&k3<(c3?0:d3)?"-":"")+this.stackKey]);u3=i3.translate(y3,false,false,false,true,h3),a4.plotX=j(u3)?v2(x3(u3)):void 0,e4&&this.visible&&w3&&w3[y3]&&(f3=this.getStackIndicator(f3,y3,this.index),!a4.isNull&&f3.key&&(S3=(b3=w3[y3]).points[f3.key]),b3&&I(S3)&&(M2=S3[0],k3=S3[1],M2===c3&&f3.key===w3[y3].base&&(M2=N(j(d3)?d3:o3.min)),o3.positiveValuesOnly&&C2(M2)&&M2<=0&&(M2=void 0),a4.total=a4.stackTotal=N(b3.total),a4.percentage=C2(a4.y)&&b3.total?a4.y/b3.total*100:void 0,a4.stackY=k3,this.irregularWidths||b3.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))),a4.yBottom=C2(M2)?x3(o3.translate(M2,false,true,false,true)):void 0,this.dataModify&&(k3=this.dataModify.modifyValue(k3,p3)),j(k3)&&void 0!==a4.plotX&&(t5=j(t5=o3.translate(k3,false,true,false,true))?x3(t5):void 0),a4.plotY=t5,a4.isInside=this.isPointInside(a4),a4.clientX=l3?v2(i3.translate(y3,false,false,false,true,h3)):u3,a4.negative=(a4.y||0)<(d3||0),a4.category=N(s3&&s3[a4.x],a4.x),a4.isNull||false===a4.visible||(void 0!==g3&&(m3=Math.min(m3,Math.abs(u3-g3))),g3=u3),a4.zone=this.zones.length?a4.getZone():void 0,!a4.graphic&&this.group&&r3&&(a4.isNew=true)}this.closestPointRangePx=m3,L2(this,"afterTranslate")}getValidPoints(t4,e4,i3){let s3=this.chart;return(t4||this.points||[]).filter((function(t5){let{plotX:r3,plotY:o3}=t5;return!!((i3||!t5.isNull&&j(o3))&&(!e4||s3.isInsidePlot(r3,o3,{inverted:s3.inverted})))&&false!==t5.visible}))}getClipBox(){let{chart:t4,xAxis:e4,yAxis:i3}=this,{x:s3,y:r3,width:o3,height:n3}=R2(t4.clipBox);return e4&&e4.len!==t4.plotSizeX&&(o3=e4.len),i3&&i3.len!==t4.plotSizeY&&(n3=i3.len),t4.inverted&&!this.invertible&&([o3,n3]=[n3,o3]),{x:s3,y:r3,width:o3,height:n3}}getSharedClipKey(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0),this.sharedClipKey}setClip(){let{chart:t4,group:e4,markerGroup:i3}=this,s3=t4.sharedClips,r3=t4.renderer,o3=this.getClipBox(),n3=this.getSharedClipKey(),a3=s3[n3];a3?a3.animate(o3):s3[n3]=a3=r3.clipRect(o3),e4&&e4.clip(false===this.options.clip?void 0:a3),i3&&i3.clip()}animate(t4){let{chart:e4,group:i3,markerGroup:s3}=this,r3=e4.inverted,o3=d2(this.options.animation),n3=[this.getSharedClipKey(),o3.duration,o3.easing,o3.defer].join(","),a3=e4.sharedClips[n3],h3=e4.sharedClips[n3+"m"];if(t4&&i3){let t5=this.getClipBox();if(a3)a3.attr("height",t5.height);else{t5.width=0,r3&&(t5.x=e4.plotHeight),a3=e4.renderer.clipRect(t5),e4.sharedClips[n3]=a3;let i4={x:-99,y:-99,width:r3?e4.plotWidth+199:99,height:r3?99:e4.plotHeight+199};h3=e4.renderer.clipRect(i4),e4.sharedClips[n3+"m"]=h3}i3.clip(a3),s3==null?void 0:s3.clip(h3)}else if(a3&&!a3.hasClass("highcharts-animating")){let t5=this.getClipBox(),i4=o3.step;((s3==null?void 0:s3.element.childNodes.length)||e4.series.length>1)&&(o3.step=function(t6,e5){i4&&i4.apply(e5,arguments),"width"===e5.prop&&(h3==null?void 0:h3.element)&&h3.attr(r3?"height":"width",t6+99)}),a3.addClass("highcharts-animating").animate(t5,o3)}}afterAnimate(){this.setClip(),z2(this.chart.sharedClips,((t4,e4,i3)=>{t4&&!this.chart.container.querySelector(`[clip-path="url(#${t4.id})"]`)&&(t4.destroy(),delete i3[e4])})),this.finishedAnimating=true,L2(this,"afterAnimate")}drawPoints(t4=this.points){let e4,i3,s3,r3,o3,n3,a3;let h3=this.chart,l3=h3.styledMode,{colorAxis:d3,options:c3}=this,p3=c3.marker,u3=this[this.specialGroup||"markerGroup"],g3=this.xAxis,f3=N(p3.enabled,!g3||!!g3.isRadial||null,this.closestPointRangePx>=p3.enabledThreshold*p3.radius);if(false!==p3.enabled||this._hasPointMarkers)for(e4=0;e4<t4.length;e4++)if(r3=(s3=(i3=t4[e4]).graphic)?"animate":"attr",o3=i3.marker||{},n3=!!i3.marker,(f3&&void 0===o3.enabled||o3.enabled)&&!i3.isNull&&false!==i3.visible){let t5=N(o3.symbol,this.symbol,"rect");a3=this.markerAttribs(i3,i3.selected&&"select"),this.enabledDataSorting&&(i3.startXPos=g3.reversed?-(a3.width||0):g3.width);let e5=false!==i3.isInside;if(!s3&&e5&&((a3.width||0)>0||i3.hasImage)&&(i3.graphic=s3=h3.renderer.symbol(t5,a3.x,a3.y,a3.width,a3.height,n3?o3:p3).add(u3),this.enabledDataSorting&&h3.hasRendered&&(s3.attr({x:i3.startXPos}),r3="animate")),s3&&"animate"===r3&&s3[e5?"show":"hide"](e5).animate(a3),s3){let t6=this.pointAttribs(i3,l3||!i3.selected?void 0:"select");l3?d3&&s3.css({fill:t6.fill}):s3[r3](t6)}s3&&s3.addClass(i3.getClassName(),true)}else s3&&(i3.graphic=s3.destroy())}markerAttribs(t4,e4){let i3=this.options,s3=i3.marker,r3=t4.marker||{},o3=r3.symbol||s3.symbol,n3={},a3,h3,l3=N(r3.radius,s3&&s3.radius);e4&&(a3=s3.states[e4],l3=N((h3=r3.states&&r3.states[e4])&&h3.radius,a3&&a3.radius,l3&&l3+(a3&&a3.radiusPlus||0))),t4.hasImage=o3&&0===o3.indexOf("url"),t4.hasImage&&(l3=0);let d3=t4.pos();return j(l3)&&d3&&(i3.crisp&&(d3[0]=S2(d3[0],t4.hasImage?0:"rect"===o3?(s3==null?void 0:s3.lineWidth)||0:1)),n3.x=d3[0]-l3,n3.y=d3[1]-l3),l3&&(n3.width=n3.height=2*l3),n3}pointAttribs(t4,e4){let i3=this.options.marker,s3=t4&&t4.options,r3=s3&&s3.marker||{},o3=s3&&s3.color,n3=t4&&t4.color,a3=t4&&t4.zone&&t4.zone.color,h3,l3,d3=this.color,c3,p3,u3=N(r3.lineWidth,i3.lineWidth),g3=1;return d3=o3||a3||n3||d3,c3=r3.fillColor||i3.fillColor||d3,p3=r3.lineColor||i3.lineColor||d3,e4=e4||"normal",h3=i3.states[e4]||{},u3=N((l3=r3.states&&r3.states[e4]||{}).lineWidth,h3.lineWidth,u3+N(l3.lineWidthPlus,h3.lineWidthPlus,0)),c3=l3.fillColor||h3.fillColor||c3,{stroke:p3=l3.lineColor||h3.lineColor||p3,"stroke-width":u3,fill:c3,opacity:g3=N(l3.opacity,h3.opacity,g3)}}destroy(t4){let e4,i3,s3;let r3=this,o3=r3.chart,n3=/AppleWebKit\/533/.test(f2.navigator.userAgent),a3=r3.data||[];for(L2(r3,"destroy",{keepEventsForUpdate:t4}),this.removeEvents(t4),(r3.axisTypes||[]).forEach((function(t5){(s3=r3[t5])&&s3.series&&(w2(s3.series,r3),s3.isDirty=s3.forceRedraw=true)})),r3.legendItem&&r3.chart.legend.destroyItem(r3),e4=a3.length;e4--;)(i3=a3[e4])&&i3.destroy&&i3.destroy();for(let t5 of r3.zones)k2(t5,void 0,true);l2.clearTimeout(r3.animationTimeout),z2(r3,(function(t5,e5){t5 instanceof h2&&!t5.survive&&t5[n3&&"group"===e5?"hide":"destroy"]()})),o3.hoverSeries===r3&&(o3.hoverSeries=void 0),w2(o3.series,r3),o3.orderItems("series"),z2(r3,(function(e5,i4){t4&&"hcEvents"===i4||delete r3[i4]}))}applyZones(){let{area:t4,chart:e4,graph:i3,zones:s3,points:r3,xAxis:o3,yAxis:n3,zoneAxis:a3}=this,{inverted:h3,renderer:l3}=e4,d3=this[`${a3}Axis`],{isXAxis:c3,len:p3=0}=d3||{},u3=((i3==null?void 0:i3.strokeWidth())||0)/2+1,g3=(t5,e5=0,i4=0)=>{h3&&(i4=p3-i4);let{translated:s4=0,lineClip:r4}=t5,o4=i4-s4;r4==null?void 0:r4.push(["L",e5,Math.abs(o4)<u3?i4-u3*(o4<=0?-1:1):s4])};if(s3.length&&(i3||t4)&&d3&&j(d3.min)){let e5=d3.getExtremes().max,u4=t5=>{t5.forEach(((e6,i4)=>{("M"===e6[0]||"L"===e6[0])&&(t5[i4]=[e6[0],c3?p3-e6[1]:e6[1],c3?e6[2]:p3-e6[2]])}))};if(s3.forEach((t5=>{t5.lineClip=[],t5.translated=b2(d3.toPixels(N(t5.value,e5),true)||0,0,p3)})),i3&&!this.showLine&&i3.hide(),t4&&t4.hide(),"y"===a3&&r3.length<o3.len)for(let t5 of r3){let{plotX:e6,plotY:i4,zone:r4}=t5,o4=r4&&s3[s3.indexOf(r4)-1];r4&&g3(r4,e6,i4),o4&&g3(o4,e6,i4)}let f3=[],m3=d3.toPixels(d3.getExtremes().min,true);s3.forEach((e6=>{var _a,_b;let s4=e6.lineClip||[],r4=Math.round(e6.translated||0);o3.reversed&&s4.reverse();let{clip:a4,simpleClip:d4}=e6,p4=0,g4=0,x3=o3.len,y3=n3.len;c3?(p4=r4,x3=m3):(g4=r4,y3=m3);let b3=[["M",p4,g4],["L",x3,g4],["L",x3,y3],["L",p4,y3],["Z"]],v3=[b3[0],...s4,b3[1],b3[2],...f3,b3[3],b3[4]];f3=s4.reverse(),m3=r4,h3&&(u4(v3),t4&&u4(b3)),a4?(a4.animate({d:v3}),d4==null?void 0:d4.animate({d:b3})):(a4=e6.clip=l3.path(v3),t4&&(d4=e6.simpleClip=l3.path(b3))),i3&&((_a=e6.graph)==null?void 0:_a.clip(a4)),t4&&((_b=e6.area)==null?void 0:_b.clip(d4))}))}else this.visible&&(i3&&i3.show(),t4&&t4.show())}plotGroup(t4,e4,i3,s3,r3){let o3=this[t4],n3=!o3,a3={visibility:i3,zIndex:s3||.1};return C2(this.opacity)&&!this.chart.styledMode&&"inactive"!==this.state&&(a3.opacity=this.opacity),o3||(this[t4]=o3=this.chart.renderer.g().add(r3)),o3.addClass("highcharts-"+e4+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(C2(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(o3.hasClass("highcharts-tracker")?" highcharts-tracker":""),true),o3.attr(a3)[n3?"attr":"animate"](this.getPlotBox(e4)),o3}getPlotBox(t4){let e4=this.xAxis,i3=this.yAxis,s3=this.chart,r3=s3.inverted&&!s3.polar&&e4&&this.invertible&&"series"===t4;return s3.inverted&&(e4=i3,i3=this.xAxis),{translateX:e4?e4.left:s3.plotLeft,translateY:i3?i3.top:s3.plotTop,rotation:r3?90:0,rotationOriginX:r3?(e4.len-i3.len)/2:0,rotationOriginY:r3?(e4.len+i3.len)/2:0,scaleX:r3?-1:1,scaleY:1}}removeEvents(t4){let{eventsToUnbind:e4}=this;t4||W2(this),e4.length&&(e4.forEach((t5=>{t5()})),e4.length=0)}render(){var _a,_b,_c,_d,_e;let t4=this,{chart:e4,options:i3,hasRendered:s3}=t4,r3=d2(i3.animation),o3=t4.visible?"inherit":"hidden",n3=i3.zIndex,a3=e4.seriesGroup,h3=t4.finishedAnimating?0:r3.duration;L2(this,"render"),t4.plotGroup("group","series",o3,n3,a3),t4.markerGroup=t4.plotGroup("markerGroup","markers",o3,n3,a3),false!==i3.clip&&t4.setClip(),h3&&((_a=t4.animate)==null?void 0:_a.call(t4,true)),t4.drawGraph&&(t4.drawGraph(),t4.applyZones()),t4.visible&&t4.drawPoints(),(_b=t4.drawDataLabels)==null?void 0:_b.call(t4),(_c=t4.redrawPoints)==null?void 0:_c.call(t4),i3.enableMouseTracking&&((_d=t4.drawTracker)==null?void 0:_d.call(t4)),h3&&((_e=t4.animate)==null?void 0:_e.call(t4)),s3||(h3&&r3.defer&&(h3+=r3.defer),t4.animationTimeout=H2((()=>{t4.afterAnimate()}),h3||0)),t4.isDirty=false,t4.hasRendered=true,L2(t4,"afterRender")}redraw(){let t4=this.isDirty||this.isDirtyData;this.translate(),this.render(),t4&&delete this.kdTree}reserveSpace(){return this.visible||!this.chart.options.chart.ignoreHiddenSeries}searchPoint(t4,e4){let{xAxis:i3,yAxis:s3}=this,r3=this.chart.inverted;return this.searchKDTree({clientX:r3?i3.len-t4.chartY+i3.pos:t4.chartX-i3.pos,plotY:r3?s3.len-t4.chartX+s3.pos:t4.chartY-s3.pos},e4,t4)}buildKDTree(t4){this.buildingKdTree=true;let e4=this,i3=e4.options.findNearestPointBy.indexOf("y")>-1?2:1;delete e4.kdTree,H2((function(){e4.kdTree=function t5(i4,s3,r3){let o3,n3;let a3=i4==null?void 0:i4.length;if(a3)return o3=e4.kdAxisArray[s3%r3],i4.sort(((t6,e5)=>(t6[o3]||0)-(e5[o3]||0))),{point:i4[n3=Math.floor(a3/2)],left:t5(i4.slice(0,n3),s3+1,r3),right:t5(i4.slice(n3+1),s3+1,r3)}}(e4.getValidPoints(void 0,!e4.directTouch),i3,i3),e4.buildingKdTree=false}),e4.options.kdNow||(t4==null?void 0:t4.type)==="touchstart"?0:1)}searchKDTree(t4,e4,i3){let s3=this,[r3,o3]=this.kdAxisArray,n3=e4?"distX":"dist",a3=(s3.options.findNearestPointBy||"").indexOf("y")>-1?2:1,h3=!!s3.isBubble;if(this.kdTree||this.buildingKdTree||this.buildKDTree(i3),this.kdTree)return function t5(e5,i4,a4,l3){var _a;let d3=i4.point,c3=s3.kdAxisArray[a4%l3],p3,u3,g3=d3;!function(t6,e6){var _a2;let i5=t6[r3],s4=e6[r3],n4=C2(i5)&&C2(s4)?i5-s4:null,a5=t6[o3],l4=e6[o3],d4=C2(a5)&&C2(l4)?a5-l4:0,c4=h3&&((_a2=e6.marker)==null?void 0:_a2.radius)||0;e6.dist=Math.sqrt((n4&&n4*n4||0)+d4*d4)-c4,e6.distX=C2(n4)?Math.abs(n4)-c4:Number.MAX_VALUE}(e5,d3);let f3=(e5[c3]||0)-(d3[c3]||0)+(h3&&((_a=d3.marker)==null?void 0:_a.radius)||0),m3=f3<0?"left":"right",x3=f3<0?"right":"left";return i4[m3]&&(g3=(p3=t5(e5,i4[m3],a4+1,l3))[n3]<g3[n3]?p3:d3),i4[x3]&&Math.sqrt(f3*f3)<g3[n3]&&(g3=(u3=t5(e5,i4[x3],a4+1,l3))[n3]<g3[n3]?u3:g3),g3}(t4,this.kdTree,a3,a3)}pointPlacementToXValue(){let{options:t4,xAxis:e4}=this,i3=t4.pointPlacement;return"between"===i3&&(i3=e4.reversed?-.5:.5),j(i3)?i3*(t4.pointRange||e4.pointRange):0}isPointInside(t4){let{chart:e4,xAxis:i3,yAxis:s3}=this,{plotX:r3=-1,plotY:o3=-1}=t4;return o3>=0&&o3<=(s3?s3.len:e4.plotHeight)&&r3>=0&&r3<=(i3?i3.len:e4.plotWidth)}drawTracker(){var _a;let t4=this,e4=t4.options,i3=e4.trackByArea,s3=[].concat((i3?t4.areaPath:t4.graphPath)||[]),r3=t4.chart,o3=r3.pointer,n3=r3.renderer,a3=((_a=r3.options.tooltip)==null?void 0:_a.snap)||0,h3=()=>{e4.enableMouseTracking&&r3.hoverSeries!==t4&&t4.onMouseOver()},l3="rgba(192,192,192,"+(g2?1e-4:.002)+")",d3=t4.tracker;d3?d3.attr({d:s3}):t4.graph&&(t4.tracker=d3=n3.path(s3).attr({visibility:t4.visible?"inherit":"hidden",zIndex:2}).addClass(i3?"highcharts-tracker-area":"highcharts-tracker-line").add(t4.group),r3.styledMode||d3.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:l3,fill:i3?l3:"none","stroke-width":t4.graph.strokeWidth()+(i3?0:2*a3)}),[t4.tracker,t4.markerGroup,t4.dataLabelsGroup].forEach((t5=>{t5&&(t5.addClass("highcharts-tracker").on("mouseover",h3).on("mouseout",(t6=>{o3==null?void 0:o3.onTrackerMouseOut(t6)})),e4.cursor&&!r3.styledMode&&t5.css({cursor:e4.cursor}),t5.on("touchstart",h3))}))),L2(this,"afterDrawTracker")}addPoint(t4,e4,i3,s3,r3){let o3,n3;let a3=this.options,h3=this.data,l3=this.chart,d3=this.xAxis,c3=d3&&d3.hasNames&&d3.names,p3=a3.data,u3=this.xData;e4=N(e4,true);let g3={series:this};this.pointClass.prototype.applyOptions.apply(g3,[t4]);let f3=g3.x;if(n3=u3.length,this.requireSorting&&f3<u3[n3-1])for(o3=true;n3&&u3[n3-1]>f3;)n3--;this.updateParallelArrays(g3,"splice",[n3,0,0]),this.updateParallelArrays(g3,n3),c3&&g3.name&&(c3[f3]=g3.name),p3.splice(n3,0,t4),(o3||this.processedData)&&(this.data.splice(n3,0,null),this.processData()),"point"===a3.legendType&&this.generatePoints(),i3&&(h3[0]&&h3[0].remove?h3[0].remove(false):(h3.shift(),this.updateParallelArrays(g3,"shift"),p3.shift())),false!==r3&&L2(this,"addPoint",{point:g3}),this.isDirty=true,this.isDirtyData=true,e4&&l3.redraw(s3)}removePoint(t4,e4,i3){let s3=this,r3=s3.data,o3=r3[t4],n3=s3.points,a3=s3.chart,h3=function(){n3&&n3.length===r3.length&&n3.splice(t4,1),r3.splice(t4,1),s3.options.data.splice(t4,1),s3.updateParallelArrays(o3||{series:s3},"splice",[t4,1]),o3&&o3.destroy(),s3.isDirty=true,s3.isDirtyData=true,e4&&a3.redraw()};c2(i3,a3),e4=N(e4,true),o3?o3.firePointEvent("remove",null,h3):h3()}remove(t4,e4,i3,s3){let r3=this,o3=r3.chart;function n3(){r3.destroy(s3),o3.isDirtyLegend=o3.isDirtyBox=true,o3.linkSeries(s3),N(t4,true)&&o3.redraw(e4)}false!==i3?L2(r3,"remove",null,n3):n3()}update(t4,e4){var _a,_b,_c;L2(this,"update",{options:t4=M(t4,this.userOptions)});let i3=this,s3=i3.chart,r3=i3.userOptions,o3=i3.initialType||i3.type,n3=s3.options.plotOptions,a3=m2[o3].prototype,h3=i3.finishedAnimating&&{animation:false},l3={},d3,c3,p3=["colorIndex","eventOptions","navigatorSeries","symbolIndex","baseSeries"],u3=t4.type||r3.type||s3.options.chart.type,g3=!(this.hasDerivedData||u3&&u3!==this.type||void 0!==t4.pointStart||void 0!==t4.pointInterval||void 0!==t4.relativeXValue||t4.joinBy||t4.mapData||["dataGrouping","pointStart","pointInterval","pointIntervalUnit","keys"].some((t5=>i3.hasOptionChanged(t5))));u3=u3||o3,g3&&(p3.push("data","isDirtyData","isDirtyCanvas","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","hasDataLabels","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX","transformGroups"),false!==t4.visible&&p3.push("area","graph"),i3.parallelArrays.forEach((function(t5){p3.push(t5+"Data")})),t4.data&&(t4.dataSorting&&A2(i3.options.dataSorting,t4.dataSorting),this.setData(t4.data,false))),t4=R2(r3,{index:void 0===r3.index?i3.index:r3.index,pointStart:((_a=n3==null?void 0:n3.series)==null?void 0:_a.pointStart)??r3.pointStart??((_b=i3.xData)==null?void 0:_b[0])},!g3&&{data:i3.options.data},t4,h3),g3&&t4.data&&(t4.data=i3.options.data),(p3=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(p3)).forEach((function(t5){p3[t5]=i3[t5],delete i3[t5]}));let f3=false;if(m2[u3]){if(f3=u3!==i3.type,i3.remove(false,false,false,true),f3){if(s3.propFromSeries(),Object.setPrototypeOf)Object.setPrototypeOf(i3,m2[u3].prototype);else{let t5=Object.hasOwnProperty.call(i3,"hcEvents")&&i3.hcEvents;for(c3 in a3)i3[c3]=void 0;A2(i3,m2[u3].prototype),t5?i3.hcEvents=t5:delete i3.hcEvents}}}else T2(17,true,s3,{missingModuleFor:u3});if(p3.forEach((function(t5){i3[t5]=p3[t5]})),i3.init(s3,t4),g3&&this.points)for(let t5 of(false===(d3=i3.options).visible?(l3.graphic=1,l3.dataLabel=1):(this.hasMarkerChanged(d3,r3)&&(l3.graphic=1),((_c=i3.hasDataLabels)==null?void 0:_c.call(i3))||(l3.dataLabel=1)),this.points))t5&&t5.series&&(t5.resolveColor(),Object.keys(l3).length&&t5.destroyElements(l3),false===d3.showInLegend&&t5.legendItem&&s3.legend.destroyItem(t5));i3.initialType=o3,s3.linkSeries(),s3.setSortedData(),f3&&i3.linkedSeries.length&&(i3.isDirtyData=true),L2(this,"afterUpdate"),N(e4,true)&&s3.redraw(!!g3&&void 0)}setName(t4){this.name=this.options.name=this.userOptions.name=t4,this.chart.isDirtyLegend=true}hasOptionChanged(t4){var _a,_b;let e4=this.chart,i3=this.options[t4],s3=e4.options.plotOptions,r3=this.userOptions[t4],o3=N((_a=s3==null?void 0:s3[this.type])==null?void 0:_a[t4],(_b=s3==null?void 0:s3.series)==null?void 0:_b[t4]);return r3&&!C2(o3)?i3!==r3:i3!==N(o3,i3)}onMouseOver(){let t4=this.chart,e4=t4.hoverSeries,i3=t4.pointer;i3==null?void 0:i3.setHoverChartIndex(),e4&&e4!==this&&e4.onMouseOut(),this.options.events.mouseOver&&L2(this,"mouseOver"),this.setState("hover"),t4.hoverSeries=this}onMouseOut(){let t4=this.options,e4=this.chart,i3=e4.tooltip,s3=e4.hoverPoint;e4.hoverSeries=null,s3&&s3.onMouseOut(),this&&t4.events.mouseOut&&L2(this,"mouseOut"),i3&&!this.stickyTracking&&(!i3.shared||this.noSharedTooltip)&&i3.hide(),e4.series.forEach((function(t5){t5.setState("",true)}))}setState(t4,e4){let i3=this,s3=i3.options,r3=i3.graph,o3=s3.inactiveOtherPoints,n3=s3.states,a3=N(n3[t4||"normal"]&&n3[t4||"normal"].animation,i3.chart.options.chart.animation),h3=s3.lineWidth,l3=s3.opacity;if(t4=t4||"",i3.state!==t4&&([i3.group,i3.markerGroup,i3.dataLabelsGroup].forEach((function(e5){e5&&(i3.state&&e5.removeClass("highcharts-series-"+i3.state),t4&&e5.addClass("highcharts-series-"+t4))})),i3.state=t4,!i3.chart.styledMode)){if(n3[t4]&&false===n3[t4].enabled)return;if(t4&&(h3=n3[t4].lineWidth||h3+(n3[t4].lineWidthPlus||0),l3=N(n3[t4].opacity,l3)),r3&&!r3.dashstyle&&j(h3))for(let t5 of[r3,...this.zones.map((t6=>t6.graph))])t5==null?void 0:t5.animate({"stroke-width":h3},a3);o3||[i3.group,i3.markerGroup,i3.dataLabelsGroup,i3.labelBySeries].forEach((function(t5){t5&&t5.animate({opacity:l3},a3)}))}e4&&o3&&i3.points&&i3.setAllPointsToState(t4||void 0)}setAllPointsToState(t4){this.points.forEach((function(e4){e4.setState&&e4.setState(t4)}))}setVisible(t4,e4){var _a;let i3=this,s3=i3.chart,r3=s3.options.chart.ignoreHiddenSeries,o3=i3.visible;i3.visible=t4=i3.options.visible=i3.userOptions.visible=void 0===t4?!o3:t4;let n3=t4?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((t5=>{var _a2;(_a2=i3[t5])==null?void 0:_a2[n3]()})),(s3.hoverSeries===i3||((_a=s3.hoverPoint)==null?void 0:_a.series)===i3)&&i3.onMouseOut(),i3.legendItem&&s3.legend.colorizeItem(i3,t4),i3.isDirty=true,i3.options.stacking&&s3.series.forEach((t5=>{t5.options.stacking&&t5.visible&&(t5.isDirty=true)})),i3.linkedSeries.forEach((e5=>{e5.setVisible(t4,false)})),r3&&(s3.isDirtyBox=true),L2(i3,n3),false!==e4&&s3.redraw()}show(){this.setVisible(true)}hide(){this.setVisible(false)}select(t4){this.selected=t4=this.options.selected=void 0===t4?!this.selected:t4,this.checkbox&&(this.checkbox.checked=t4),L2(this,t4?"select":"unselect")}shouldShowTooltip(t4,e4,i3={}){return i3.series=this,i3.visiblePlotOnly=true,this.chart.isInsidePlot(t4,e4,i3)}drawLegendSymbol(t4,e4){var _a;(_a=r2[this.options.legendSymbol||"rectangle"])==null?void 0:_a.call(this,t4,e4)}}return X.defaultOptions=n2,X.types=a2.seriesTypes,X.registerType=a2.registerSeriesType,A2(X.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,directTouch:false,invertible:true,isCartesian:true,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:o2,requireSorting:true,sorted:true}),a2.series=X,X})),i(e2,"Core/Legend/Legend.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Foundation.js"],e2["Core/Globals.js"],e2["Core/Series/Series.js"],e2["Core/Series/Point.js"],e2["Core/Renderer/RendererUtilities.js"],e2["Core/Templating.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2,o2,n2,a2){var h2;let{animObject:l2,setAnimation:d2}=t3,{registerEventOptions:c2}=e3,{composed:p2,marginNames:u2}=i2,{distribute:g2}=o2,{format:f2}=n2,{addEvent:m2,createElement:x2,css:y2,defined:b2,discardElement:v2,find:S2,fireEvent:C2,isNumber:k2,merge:M,pick:w2,pushUnique:T2,relativeLength:A2,stableSort:P,syncTimeout:L2}=a2;class O2{constructor(t4,e4){this.allItems=[],this.initialItemY=0,this.itemHeight=0,this.itemMarginBottom=0,this.itemMarginTop=0,this.itemX=0,this.itemY=0,this.lastItemY=0,this.lastLineHeight=0,this.legendHeight=0,this.legendWidth=0,this.maxItemWidth=0,this.maxLegendWidth=0,this.offsetWidth=0,this.padding=0,this.pages=[],this.symbolHeight=0,this.symbolWidth=0,this.titleHeight=0,this.totalItemWidth=0,this.widthOption=0,this.chart=t4,this.setOptions(e4),e4.enabled&&(this.render(),c2(this,e4),m2(this.chart,"endResize",(function(){this.legend.positionCheckboxes()}))),m2(this.chart,"render",(()=>{this.options.enabled&&this.proximate&&(this.proximatePositions(),this.positionItems())}))}setOptions(t4){let e4=w2(t4.padding,8);this.options=t4,this.chart.styledMode||(this.itemStyle=t4.itemStyle,this.itemHiddenStyle=M(this.itemStyle,t4.itemHiddenStyle)),this.itemMarginTop=t4.itemMarginTop,this.itemMarginBottom=t4.itemMarginBottom,this.padding=e4,this.initialItemY=e4-5,this.symbolWidth=w2(t4.symbolWidth,16),this.pages=[],this.proximate="proximate"===t4.layout&&!this.chart.inverted,this.baseline=void 0}update(t4,e4){let i3=this.chart;this.setOptions(M(true,this.options,t4)),"events"in this.options&&c2(this,this.options),this.destroy(),i3.isDirtyLegend=i3.isDirtyBox=true,w2(e4,true)&&i3.redraw(),C2(this,"afterUpdate",{redraw:e4})}colorizeItem(t4,e4){let{area:i3,group:s3,label:r3,line:o3,symbol:n3}=t4.legendItem||{};if(s3==null?void 0:s3[e4?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){let{itemHiddenStyle:s4={}}=this,a3=s4.color,{fillColor:h3,fillOpacity:l3,lineColor:d3,marker:c3}=t4.options,p3=t5=>(!e4&&(t5.fill&&(t5.fill=a3),t5.stroke&&(t5.stroke=a3)),t5);r3==null?void 0:r3.css(M(e4?this.itemStyle:s4)),o3==null?void 0:o3.attr(p3({stroke:d3||t4.color})),n3&&n3.attr(p3(c3&&n3.isMarker?t4.pointAttribs():{fill:t4.color})),i3==null?void 0:i3.attr(p3({fill:h3||t4.color,"fill-opacity":h3?1:l3??.75}))}C2(this,"afterColorizeItem",{item:t4,visible:e4})}positionItems(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()}positionItem(t4){let{group:e4,x:i3=0,y:s3=0}=t4.legendItem||{},r3=this.options,o3=r3.symbolPadding,n3=!r3.rtl,a3=t4.checkbox;if(e4&&e4.element){let r4={translateX:n3?i3:this.legendWidth-i3-2*o3-4,translateY:s3};e4[b2(e4.translateY)?"animate":"attr"](r4,void 0,(()=>{C2(this,"afterPositionItem",{item:t4})}))}a3&&(a3.x=i3,a3.y=s3)}destroyItem(t4){let e4=t4.checkbox,i3=t4.legendItem||{};for(let t5 of["group","label","line","symbol"])i3[t5]&&(i3[t5]=i3[t5].destroy());e4&&v2(e4),t4.legendItem=void 0}destroy(){for(let t4 of this.getAllItems())this.destroyItem(t4);for(let t4 of["clipRect","up","down","pager","nav","box","title","group"])this[t4]&&(this[t4]=this[t4].destroy());this.display=null}positionCheckboxes(){let t4;let e4=this.group&&this.group.alignAttr,i3=this.clipHeight||this.legendHeight,s3=this.titleHeight;e4&&(t4=e4.translateY,this.allItems.forEach((function(r3){let o3;let n3=r3.checkbox;n3&&(o3=t4+s3+n3.y+(this.scrollOffset||0)+3,y2(n3,{left:e4.translateX+r3.checkboxOffset+n3.x-20+"px",top:o3+"px",display:this.proximate||o3>t4-6&&o3<t4+i3-6?"":"none"}))}),this))}renderTitle(){let t4=this.options,e4=this.padding,i3=t4.title,s3,r3=0;i3.text&&(this.title||(this.title=this.chart.renderer.label(i3.text,e4-3,e4-4,void 0,void 0,void 0,t4.useHTML,void 0,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(i3.style),this.title.add(this.group)),i3.width||this.title.css({width:this.maxLegendWidth+"px"}),r3=(s3=this.title.getBBox()).height,this.offsetWidth=s3.width,this.contentGroup.attr({translateY:r3})),this.titleHeight=r3}setText(t4){let e4=this.options;t4.legendItem.label.attr({text:e4.labelFormat?f2(e4.labelFormat,t4,this.chart):e4.labelFormatter.call(t4)})}renderItem(t4){let e4=t4.legendItem=t4.legendItem||{},i3=this.chart,s3=i3.renderer,r3=this.options,o3="horizontal"===r3.layout,n3=this.symbolWidth,a3=r3.symbolPadding||0,h3=this.itemStyle,l3=this.itemHiddenStyle,d3=o3?w2(r3.itemDistance,20):0,c3=!r3.rtl,p3=!t4.series,u3=!p3&&t4.series.drawLegendSymbol?t4.series:t4,g3=u3.options,f3=!!this.createCheckboxForItem&&g3&&g3.showCheckbox,m3=r3.useHTML,x3=t4.options.className,y3=e4.label,b3=n3+a3+d3+(f3?20:0);!y3&&(e4.group=s3.g("legend-item").addClass("highcharts-"+u3.type+"-series highcharts-color-"+t4.colorIndex+(x3?" "+x3:"")+(p3?" highcharts-series-"+t4.index:"")).attr({zIndex:1}).add(this.scrollGroup),e4.label=y3=s3.text("",c3?n3+a3:-a3,this.baseline||0,m3),i3.styledMode||y3.css(M(t4.visible?h3:l3)),y3.attr({align:c3?"left":"right",zIndex:2}).add(e4.group),!this.baseline&&(this.fontMetrics=s3.fontMetrics(y3),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,y3.attr("y",this.baseline),this.symbolHeight=w2(r3.symbolHeight,this.fontMetrics.f),r3.squareSymbol&&(this.symbolWidth=w2(r3.symbolWidth,Math.max(this.symbolHeight,16)),b3=this.symbolWidth+a3+d3+(f3?20:0),c3&&y3.attr("x",this.symbolWidth+a3))),u3.drawLegendSymbol(this,t4),this.setItemEvents&&this.setItemEvents(t4,y3,m3)),f3&&!t4.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t4),this.colorizeItem(t4,t4.visible),(i3.styledMode||!h3.width)&&y3.css({width:(r3.itemWidth||this.widthOption||i3.spacingBox.width)-b3+"px"}),this.setText(t4);let v3=y3.getBBox(),S3=this.fontMetrics&&this.fontMetrics.h||0;t4.itemWidth=t4.checkboxOffset=r3.itemWidth||e4.labelWidth||v3.width+b3,this.maxItemWidth=Math.max(this.maxItemWidth,t4.itemWidth),this.totalItemWidth+=t4.itemWidth,this.itemHeight=t4.itemHeight=Math.round(e4.labelHeight||(v3.height>1.5*S3?v3.height:S3))}layoutItem(t4){let e4=this.options,i3=this.padding,s3="horizontal"===e4.layout,r3=t4.itemHeight,o3=this.itemMarginBottom,n3=this.itemMarginTop,a3=s3?w2(e4.itemDistance,20):0,h3=this.maxLegendWidth,l3=e4.alignColumns&&this.totalItemWidth>h3?this.maxItemWidth:t4.itemWidth,d3=t4.legendItem||{};s3&&this.itemX-i3+l3>h3&&(this.itemX=i3,this.lastLineHeight&&(this.itemY+=n3+this.lastLineHeight+o3),this.lastLineHeight=0),this.lastItemY=n3+this.itemY+o3,this.lastLineHeight=Math.max(r3,this.lastLineHeight),d3.x=this.itemX,d3.y=this.itemY,s3?this.itemX+=l3:(this.itemY+=n3+r3+o3,this.lastLineHeight=r3),this.offsetWidth=this.widthOption||Math.max((s3?this.itemX-i3-(t4.checkbox?0:a3):l3)+i3,this.offsetWidth)}getAllItems(){let t4=[];return this.chart.series.forEach((function(e4){let i3=e4&&e4.options;e4&&w2(i3.showInLegend,!b2(i3.linkedTo)&&void 0,true)&&(t4=t4.concat((e4.legendItem||{}).labels||("point"===i3.legendType?e4.data:e4)))})),C2(this,"afterGetAllItems",{allItems:t4}),t4}getAlignment(){let t4=this.options;return this.proximate?t4.align.charAt(0)+"tv":t4.floating?"":t4.align.charAt(0)+t4.verticalAlign.charAt(0)+t4.layout.charAt(0)}adjustMargins(t4,e4){let i3=this.chart,s3=this.options,r3=this.getAlignment();r3&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(o3,n3){o3.test(r3)&&!b2(t4[n3])&&(i3[u2[n3]]=Math.max(i3[u2[n3]],i3.legend[(n3+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][n3]*s3[n3%2?"x":"y"]+w2(s3.margin,12)+e4[n3]+(i3.titleOffset[n3]||0)))}))}proximatePositions(){let t4;let e4=this.chart,i3=[],s3="left"===this.options.align;for(let r3 of(this.allItems.forEach((function(t5){let r4,o3,n3=s3,a3,h3;t5.yAxis&&(t5.xAxis.options.reversed&&(n3=!n3),t5.points&&(r4=S2(n3?t5.points:t5.points.slice(0).reverse(),(function(t6){return k2(t6.plotY)}))),o3=this.itemMarginTop+t5.legendItem.label.getBBox().height+this.itemMarginBottom,h3=t5.yAxis.top-e4.plotTop,a3=t5.visible?(r4?r4.plotY:t5.yAxis.height)+(h3-.3*o3):h3+t5.yAxis.height,i3.push({target:a3,size:o3,item:t5}))}),this),g2(i3,e4.plotHeight)))t4=r3.item.legendItem||{},k2(r3.pos)&&(t4.y=e4.plotTop-e4.spacing[0]+r3.pos)}render(){let t4=this.chart,e4=t4.renderer,i3=this.options,s3=this.padding,r3=this.getAllItems(),o3,n3,a3,h3=this.group,l3,d3=this.box;this.itemX=s3,this.itemY=this.initialItemY,this.offsetWidth=0,this.lastItemY=0,this.widthOption=A2(i3.width,t4.spacingBox.width-s3),l3=t4.spacingBox.width-2*s3-i3.x,["rm","lm"].indexOf(this.getAlignment().substring(0,2))>-1&&(l3/=2),this.maxLegendWidth=this.widthOption||l3,h3||(this.group=h3=e4.g("legend").addClass(i3.className||"").attr({zIndex:7}).add(),this.contentGroup=e4.g().attr({zIndex:1}).add(h3),this.scrollGroup=e4.g().add(this.contentGroup)),this.renderTitle(),P(r3,((t5,e5)=>(t5.options&&t5.options.legendIndex||0)-(e5.options&&e5.options.legendIndex||0))),i3.reversed&&r3.reverse(),this.allItems=r3,this.display=o3=!!r3.length,this.lastLineHeight=0,this.maxItemWidth=0,this.totalItemWidth=0,this.itemHeight=0,r3.forEach(this.renderItem,this),r3.forEach(this.layoutItem,this),n3=(this.widthOption||this.offsetWidth)+s3,a3=this.lastItemY+this.lastLineHeight+this.titleHeight,a3=this.handleOverflow(a3)+s3,d3||(this.box=d3=e4.rect().addClass("highcharts-legend-box").attr({r:i3.borderRadius}).add(h3)),t4.styledMode||d3.attr({stroke:i3.borderColor,"stroke-width":i3.borderWidth||0,fill:i3.backgroundColor||"none"}).shadow(i3.shadow),n3>0&&a3>0&&d3[d3.placed?"animate":"attr"](d3.crisp.call({},{x:0,y:0,width:n3,height:a3},d3.strokeWidth())),h3[o3?"show":"hide"](),t4.styledMode&&"none"===h3.getStyle("display")&&(n3=a3=0),this.legendWidth=n3,this.legendHeight=a3,o3&&this.align(),this.proximate||this.positionItems(),C2(this,"afterRender")}align(t4=this.chart.spacingBox){let e4=this.chart,i3=this.options,s3=t4.y;/(lth|ct|rth)/.test(this.getAlignment())&&e4.titleOffset[0]>0?s3+=e4.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&e4.titleOffset[2]>0&&(s3-=e4.titleOffset[2]),s3!==t4.y&&(t4=M(t4,{y:s3})),e4.hasRendered||(this.group.placed=false),this.group.align(M(i3,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":i3.verticalAlign}),true,t4)}handleOverflow(t4){let e4=this,i3=this.chart,s3=i3.renderer,r3=this.options,o3=r3.y,n3="top"===r3.verticalAlign,a3=this.padding,h3=r3.maxHeight,l3=r3.navigation,d3=w2(l3.animation,true),c3=l3.arrowSize||12,p3=this.pages,u3=this.allItems,g3=function(t5){"number"==typeof t5?S3.attr({height:t5}):S3&&(e4.clipRect=S3.destroy(),e4.contentGroup.clip()),e4.contentGroup.div&&(e4.contentGroup.div.style.clip=t5?"rect("+a3+"px,9999px,"+(a3+t5)+"px,0)":"auto")},f3=function(t5){return e4[t5]=s3.circle(0,0,1.3*c3).translate(c3/2,c3/2).add(v3),i3.styledMode||e4[t5].attr("fill","rgba(0,0,0,0.0001)"),e4[t5]},m3,x3,y3,b3=i3.spacingBox.height+(n3?-o3:o3)-a3,v3=this.nav,S3=this.clipRect;return"horizontal"!==r3.layout||"middle"===r3.verticalAlign||r3.floating||(b3/=2),h3&&(b3=Math.min(b3,h3)),p3.length=0,t4&&b3>0&&t4>b3&&false!==l3.enabled?(this.clipHeight=m3=Math.max(b3-20-this.titleHeight-a3,0),this.currentPage=w2(this.currentPage,1),this.fullHeight=t4,u3.forEach(((t5,e5)=>{let i4=(y3=t5.legendItem||{}).y||0,s4=Math.round(y3.label.getBBox().height),r4=p3.length;(!r4||i4-p3[r4-1]>m3&&(x3||i4)!==p3[r4-1])&&(p3.push(x3||i4),r4++),y3.pageIx=r4-1,x3&&((u3[e5-1].legendItem||{}).pageIx=r4-1),e5===u3.length-1&&i4+s4-p3[r4-1]>m3&&i4>p3[r4-1]&&(p3.push(i4),y3.pageIx=r4),i4!==x3&&(x3=i4)})),S3||(S3=e4.clipRect=s3.clipRect(0,a3-2,9999,0),e4.contentGroup.clip(S3)),g3(m3),v3||(this.nav=v3=s3.g().attr({zIndex:1}).add(this.group),this.up=s3.symbol("triangle",0,0,c3,c3).add(v3),f3("upTracker").on("click",(function(){e4.scroll(-1,d3)})),this.pager=s3.text("",15,10).addClass("highcharts-legend-navigation"),!i3.styledMode&&l3.style&&this.pager.css(l3.style),this.pager.add(v3),this.down=s3.symbol("triangle-down",0,0,c3,c3).add(v3),f3("downTracker").on("click",(function(){e4.scroll(1,d3)}))),e4.scroll(0),t4=b3):v3&&(g3(),this.nav=v3.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t4}scroll(t4,e4){let i3=this.chart,s3=this.pages,r3=s3.length,o3=this.clipHeight,n3=this.options.navigation,a3=this.pager,h3=this.padding,c3=this.currentPage+t4;c3>r3&&(c3=r3),c3>0&&(void 0!==e4&&d2(e4,i3),this.nav.attr({translateX:h3,translateY:o3+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach((function(t5){t5.attr({class:1===c3?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})})),a3.attr({text:c3+"/"+r3}),[this.down,this.downTracker].forEach((function(t5){t5.attr({x:18+this.pager.getBBox().width,class:c3===r3?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),this),i3.styledMode||(this.up.attr({fill:1===c3?n3.inactiveColor:n3.activeColor}),this.upTracker.css({cursor:1===c3?"default":"pointer"}),this.down.attr({fill:c3===r3?n3.inactiveColor:n3.activeColor}),this.downTracker.css({cursor:c3===r3?"default":"pointer"})),this.scrollOffset=-s3[c3-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=c3,this.positionCheckboxes(),L2((()=>{C2(this,"afterScroll",{currentPage:c3})}),l2(w2(e4,i3.renderer.globalAnimation,true)).duration))}setItemEvents(t4,e4,i3){let o3=this,n3=t4.legendItem||{},a3=o3.chart.renderer.boxWrapper,h3=t4 instanceof r2,l3=t4 instanceof s2,d3="highcharts-legend-"+(h3?"point":"series")+"-active",c3=o3.chart.styledMode,p3=i3?[e4,n3.symbol]:[n3.group],u3=e5=>{o3.allItems.forEach((i4=>{t4!==i4&&[i4].concat(i4.linkedSeries||[]).forEach((t5=>{t5.setState(e5,!h3)}))}))};for(let i4 of p3)i4&&i4.on("mouseover",(function(){t4.visible&&u3("inactive"),t4.setState("hover"),t4.visible&&a3.addClass(d3),c3||e4.css(o3.options.itemHoverStyle)})).on("mouseout",(function(){o3.chart.styledMode||e4.css(M(t4.visible?o3.itemStyle:o3.itemHiddenStyle)),u3(""),a3.removeClass(d3),t4.setState()})).on("click",(function(e5){let i5=function(){t4.setVisible&&t4.setVisible(),u3(t4.visible?"inactive":"")};a3.removeClass(d3),C2(o3,"itemClick",{browserEvent:e5,legendItem:t4},i5),h3?t4.firePointEvent("legendItemClick",{browserEvent:e5}):l3&&C2(t4,"legendItemClick",{browserEvent:e5})}))}createCheckboxForItem(t4){t4.checkbox=x2("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t4.selected,defaultChecked:t4.selected},this.options.itemCheckboxStyle,this.chart.container),m2(t4.checkbox,"click",(function(e4){let i3=e4.target;C2(t4.series||t4,"checkboxClick",{checked:i3.checked,item:t4},(function(){t4.select()}))}))}}return(h2=O2||(O2={})).compose=function(t4){T2(p2,"Core.Legend")&&m2(t4,"beforeMargins",(function(){this.legend=new h2(this,this.options.legend)}))},O2})),i(e2,"Core/Chart/Chart.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Axis/Axis.js"],e2["Core/Defaults.js"],e2["Core/Templating.js"],e2["Core/Foundation.js"],e2["Core/Globals.js"],e2["Core/Renderer/RendererRegistry.js"],e2["Core/Series/Series.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Renderer/SVG/SVGRenderer.js"],e2["Core/Time.js"],e2["Core/Utilities.js"],e2["Core/Renderer/HTML/AST.js"],e2["Core/Axis/Tick.js"]],(function(t3,e3,i2,s2,r2,o2,n2,a2,h2,l2,d2,c2,p2,u2){let{animate:g2,animObject:f2,setAnimation:m2}=t3,{defaultOptions:x2,defaultTime:y2}=i2,{numberFormat:b2}=s2,{registerEventOptions:v2}=r2,{charts:S2,doc:C2,marginNames:k2,svg:M,win:w2}=o2,{seriesTypes:T2}=h2,{addEvent:A2,attr:P,createElement:L2,css:O2,defined:D2,diffObjects:E2,discardElement:I,erase:j,error:B,extend:R2,find:z2,fireEvent:N,getStyle:W2,isArray:G,isNumber:H2,isObject:X,isString:F2,merge:Y,objectEach:U,pick:V2,pInt:$,relativeLength:Z,removeEvent:_,splat:q,syncTimeout:K,uniqueKey:J}=c2;class Q{static chart(t4,e4,i3){return new Q(t4,e4,i3)}constructor(t4,e4,i3){this.sharedClips={};let s3=[...arguments];(F2(t4)||t4.nodeName)&&(this.renderTo=s3.shift()),this.init(s3[0],s3[1])}setZoomOptions(){let t4=this.options.chart,e4=t4.zooming;this.zooming={...e4,type:V2(t4.zoomType,e4.type),key:V2(t4.zoomKey,e4.key),pinchType:V2(t4.pinchType,e4.pinchType),singleTouch:V2(t4.zoomBySingleTouch,e4.singleTouch,false),resetButton:Y(e4.resetButton,t4.resetZoomButton)}}init(t4,e4){N(this,"init",{args:arguments},(function(){let i3=Y(x2,t4),s3=i3.chart;this.userOptions=R2({},t4),this.margin=[],this.spacing=[],this.labelCollectors=[],this.callback=e4,this.isResizing=0,this.options=i3,this.axes=[],this.series=[],this.time=t4.time&&Object.keys(t4.time).length?new d2(t4.time):o2.time,this.numberFormatter=s3.numberFormatter||b2,this.styledMode=s3.styledMode,this.hasCartesianSeries=s3.showAxes,this.index=S2.length,S2.push(this),o2.chartCount++,v2(this,s3),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,this.setZoomOptions(),N(this,"afterInit"),this.firstRender()}))}initSeries(t4){let e4=this.options.chart,i3=t4.type||e4.type,s3=T2[i3];s3||B(17,true,this,{missingModuleFor:i3});let r3=new s3;return"function"==typeof r3.init&&r3.init(this,t4),r3}setSortedData(){this.getSeriesOrderByLinks().forEach((function(t4){t4.points||t4.data||!t4.enabledDataSorting||t4.setData(t4.options.data,false)}))}getSeriesOrderByLinks(){return this.series.concat().sort((function(t4,e4){return t4.linkedSeries.length||e4.linkedSeries.length?e4.linkedSeries.length-t4.linkedSeries.length:0}))}orderItems(t4,e4=0){let i3=this[t4],s3=this.options[t4]=q(this.options[t4]).slice(),r3=this.userOptions[t4]=this.userOptions[t4]?q(this.userOptions[t4]).slice():[];if(this.hasRendered&&(s3.splice(e4),r3.splice(e4)),i3)for(let t5=e4,o3=i3.length;t5<o3;++t5){let e5=i3[t5];e5&&(e5.index=t5,e5 instanceof a2&&(e5.name=e5.getName()),e5.options.isInternal||(s3[t5]=e5.options,r3[t5]=e5.userOptions))}}isInsidePlot(t4,e4,i3={}){var _a;let{inverted:s3,plotBox:r3,plotLeft:o3,plotTop:n3,scrollablePlotBox:a3}=this,{scrollLeft:h3=0,scrollTop:l3=0}=i3.visiblePlotOnly&&((_a=this.scrollablePlotArea)==null?void 0:_a.scrollingContainer)||{},d3=i3.series,c3=i3.visiblePlotOnly&&a3||r3,p3=i3.inverted?e4:t4,u3=i3.inverted?t4:e4,g3={x:p3,y:u3,isInsidePlot:true,options:i3};if(!i3.ignoreX){let t5=d3&&(s3&&!this.polar?d3.yAxis:d3.xAxis)||{pos:o3,len:1/0},e5=i3.paneCoordinates?t5.pos+p3:o3+p3;e5>=Math.max(h3+o3,t5.pos)&&e5<=Math.min(h3+o3+c3.width,t5.pos+t5.len)||(g3.isInsidePlot=false)}if(!i3.ignoreY&&g3.isInsidePlot){let t5=!s3&&i3.axis&&!i3.axis.isXAxis&&i3.axis||d3&&(s3?d3.xAxis:d3.yAxis)||{pos:n3,len:1/0},e5=i3.paneCoordinates?t5.pos+u3:n3+u3;e5>=Math.max(l3+n3,t5.pos)&&e5<=Math.min(l3+n3+c3.height,t5.pos+t5.len)||(g3.isInsidePlot=false)}return N(this,"afterIsInsidePlot",g3),g3.isInsidePlot}redraw(t4){N(this,"beforeRedraw");let e4=this.hasCartesianSeries?this.axes:this.colorAxis||[],i3=this.series,s3=this.pointer,r3=this.legend,o3=this.userOptions.legend,n3=this.renderer,a3=n3.isHidden(),h3=[],l3,d3,c3,p3=this.isDirtyBox,u3=this.isDirtyLegend,g3;for(n3.rootFontSize=n3.boxWrapper.getStyle("font-size"),this.setResponsive&&this.setResponsive(false),m2(!!this.hasRendered&&t4,this),a3&&this.temporaryDisplay(),this.layOutTitles(false),c3=i3.length;c3--;)if(((g3=i3[c3]).options.stacking||g3.options.centerInCategory)&&(d3=true,g3.isDirty)){l3=true;break}if(l3)for(c3=i3.length;c3--;)(g3=i3[c3]).options.stacking&&(g3.isDirty=true);i3.forEach((function(t5){t5.isDirty&&("point"===t5.options.legendType?("function"==typeof t5.updateTotals&&t5.updateTotals(),u3=true):o3&&(o3.labelFormatter||o3.labelFormat)&&(u3=true)),t5.isDirtyData&&N(t5,"updatedData")})),u3&&r3&&r3.options.enabled&&(r3.render(),this.isDirtyLegend=false),d3&&this.getStacks(),e4.forEach((function(t5){t5.updateNames(),t5.setScale()})),this.getMargins(),e4.forEach((function(t5){t5.isDirty&&(p3=true)})),e4.forEach((function(t5){let e5=t5.min+","+t5.max;t5.extKey!==e5&&(t5.extKey=e5,h3.push((function(){N(t5,"afterSetExtremes",R2(t5.eventArgs,t5.getExtremes())),delete t5.eventArgs}))),(p3||d3)&&t5.redraw()})),p3&&this.drawChartBox(),N(this,"predraw"),i3.forEach((function(t5){(p3||t5.isDirty)&&t5.visible&&t5.redraw(),t5.isDirtyData=false})),s3&&s3.reset(true),n3.draw(),N(this,"redraw"),N(this,"render"),a3&&this.temporaryDisplay(true),h3.forEach((function(t5){t5.call()}))}get(t4){let e4=this.series;function i3(e5){return e5.id===t4||e5.options&&e5.options.id===t4}let s3=z2(this.axes,i3)||z2(this.series,i3);for(let t5=0;!s3&&t5<e4.length;t5++)s3=z2(e4[t5].points||[],i3);return s3}getAxes(){let t4=this.userOptions;for(let i3 of(N(this,"getAxes"),["xAxis","yAxis"]))for(let s3 of t4[i3]=q(t4[i3]||{}))new e3(this,s3,i3);N(this,"afterGetAxes")}getSelectedPoints(){return this.series.reduce(((t4,e4)=>(e4.getPointsCollection().forEach((e5=>{V2(e5.selectedStaging,e5.selected)&&t4.push(e5)})),t4)),[])}getSelectedSeries(){return this.series.filter((function(t4){return t4.selected}))}setTitle(t4,e4,i3){this.applyDescription("title",t4),this.applyDescription("subtitle",e4),this.applyDescription("caption",void 0),this.layOutTitles(i3)}applyDescription(t4,e4){let i3=this,s3=this.options[t4]=Y(this.options[t4],e4),r3=this[t4];r3&&e4&&(this[t4]=r3=r3.destroy()),s3&&!r3&&((r3=this.renderer.text(s3.text,0,0,s3.useHTML).attr({align:s3.align,class:"highcharts-"+t4,zIndex:s3.zIndex||4}).add()).update=function(e5,s4){i3.applyDescription(t4,e5),i3.layOutTitles(s4)},this.styledMode||r3.css(R2("title"===t4?{fontSize:this.options.isStock?"1em":"1.2em"}:{},s3.style)),this[t4]=r3)}layOutTitles(t4=true){let e4=[0,0,0],i3=this.renderer,s3=this.spacingBox;["title","subtitle","caption"].forEach((function(t5){let r4=this[t5],o3=this.options[t5],n3=o3.verticalAlign||"top",a3="title"===t5?"top"===n3?-3:0:"top"===n3?e4[0]+2:0;if(r4){r4.css({width:(o3.width||s3.width+(o3.widthAdjust||0))+"px"});let t6=i3.fontMetrics(r4).b,h3=Math.round(r4.getBBox(o3.useHTML).height);r4.align(R2({y:"bottom"===n3?t6:a3+t6,height:h3},o3),false,"spacingBox"),o3.floating||("top"===n3?e4[0]=Math.ceil(e4[0]+h3):"bottom"===n3&&(e4[2]=Math.ceil(e4[2]+h3)))}}),this),e4[0]&&"top"===(this.options.title.verticalAlign||"top")&&(e4[0]+=this.options.title.margin),e4[2]&&"bottom"===this.options.caption.verticalAlign&&(e4[2]+=this.options.caption.margin);let r3=!this.titleOffset||this.titleOffset.join(",")!==e4.join(",");this.titleOffset=e4,N(this,"afterLayOutTitles"),!this.isDirtyBox&&r3&&(this.isDirtyBox=this.isDirtyLegend=r3,this.hasRendered&&t4&&this.isDirtyBox&&this.redraw())}getContainerBox(){let t4=[].map.call(this.renderTo.children,(t5=>{if(t5!==this.container){let e5=t5.style.display;return t5.style.display="none",[t5,e5]}})),e4={width:W2(this.renderTo,"width",true)||0,height:W2(this.renderTo,"height",true)||0};return t4.filter(Boolean).forEach((([t5,e5])=>{t5.style.display=e5})),e4}getChartSize(){var _a;let t4=this.options.chart,e4=t4.width,i3=t4.height,s3=this.getContainerBox(),r3=s3.height>1&&!(!((_a=this.renderTo.parentElement)==null?void 0:_a.style.height)&&"100%"===this.renderTo.style.height);this.chartWidth=Math.max(0,e4||s3.width||600),this.chartHeight=Math.max(0,Z(i3,this.chartWidth)||(r3?s3.height:400)),this.containerBox=s3}temporaryDisplay(t4){let e4=this.renderTo,i3;if(t4)for(;e4&&e4.style;)e4.hcOrigStyle&&(O2(e4,e4.hcOrigStyle),delete e4.hcOrigStyle),e4.hcOrigDetached&&(C2.body.removeChild(e4),e4.hcOrigDetached=false),e4=e4.parentNode;else for(;e4&&e4.style&&(C2.body.contains(e4)||e4.parentNode||(e4.hcOrigDetached=true,C2.body.appendChild(e4)),("none"===W2(e4,"display",false)||e4.hcOricDetached)&&(e4.hcOrigStyle={display:e4.style.display,height:e4.style.height,overflow:e4.style.overflow},i3={display:"block",overflow:"hidden"},e4!==this.renderTo&&(i3.height=0),O2(e4,i3),e4.offsetWidth||e4.style.setProperty("display","block","important")),(e4=e4.parentNode)!==C2.body););}setClassName(t4){this.container.className="highcharts-container "+(t4||"")}getContainer(){var _a;let t4=this.options,e4=t4.chart,i3="data-highcharts-chart",s3=J(),r3,o3=this.renderTo;o3||(this.renderTo=o3=e4.renderTo),F2(o3)&&(this.renderTo=o3=C2.getElementById(o3)),o3||B(13,true,this);let a3=$(P(o3,i3));H2(a3)&&S2[a3]&&S2[a3].hasRendered&&S2[a3].destroy(),P(o3,i3,this.index),o3.innerHTML=p2.emptyHTML,e4.skipClone||o3.offsetWidth||this.temporaryDisplay(),this.getChartSize();let h3=this.chartHeight,d3=this.chartWidth;O2(o3,{overflow:"hidden"}),this.styledMode||(r3=R2({position:"relative",overflow:"hidden",width:d3+"px",height:h3+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none",padding:"0px"},e4.style||{}));let c3=L2("div",{id:s3},r3,o3);this.container=c3,this.getChartSize(),d3===this.chartWidth||(d3=this.chartWidth,this.styledMode||O2(c3,{width:V2((_a=e4.style)==null?void 0:_a.width,d3+"px")})),this.containerBox=this.getContainerBox(),this._cursor=c3.style.cursor;let u3=e4.renderer||!M?n2.getRendererType(e4.renderer):l2;if(this.renderer=new u3(c3,d3,h3,void 0,e4.forExport,t4.exporting&&t4.exporting.allowHTML,this.styledMode),m2(void 0,this),this.setClassName(e4.className),this.styledMode)for(let e5 in t4.defs)this.renderer.definition(t4.defs[e5]);else this.renderer.setStyle(e4.style);this.renderer.chartIndex=this.index,N(this,"afterGetContainer")}getMargins(t4){let{spacing:e4,margin:i3,titleOffset:s3}=this;this.resetMargins(),s3[0]&&!D2(i3[0])&&(this.plotTop=Math.max(this.plotTop,s3[0]+e4[0])),s3[2]&&!D2(i3[2])&&(this.marginBottom=Math.max(this.marginBottom,s3[2]+e4[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(i3,e4),N(this,"getMargins"),t4||this.getAxisMargins()}getAxisMargins(){let t4=this,e4=t4.axisOffset=[0,0,0,0],i3=t4.colorAxis,s3=t4.margin,r3=function(t5){t5.forEach((function(t6){t6.visible&&t6.getOffset()}))};t4.hasCartesianSeries?r3(t4.axes):i3&&i3.length&&r3(i3),k2.forEach((function(i4,r4){D2(s3[r4])||(t4[i4]+=e4[r4])})),t4.setChartSize()}getOptions(){return E2(this.userOptions,x2)}reflow(t4){var _a;let e4=this,i3=e4.containerBox,s3=e4.getContainerBox();(_a=e4.pointer)==null?true:delete _a.chartPosition,!e4.isPrinting&&!e4.isResizing&&i3&&s3.width&&((s3.width!==i3.width||s3.height!==i3.height)&&(c2.clearTimeout(e4.reflowTimeout),e4.reflowTimeout=K((function(){e4.container&&e4.setSize(void 0,void 0,false)}),t4?100:0)),e4.containerBox=s3)}setReflow(){let t4=this,e4=e5=>{var _a;((_a=t4.options)==null?void 0:_a.chart.reflow)&&t4.hasLoaded&&t4.reflow(e5)};if("function"==typeof ResizeObserver)new ResizeObserver(e4).observe(t4.renderTo);else{let t5=A2(w2,"resize",e4);A2(this,"destroy",t5)}}setSize(t4,e4,i3){let s3=this,r3=s3.renderer;s3.isResizing+=1,m2(i3,s3);let o3=r3.globalAnimation;s3.oldChartHeight=s3.chartHeight,s3.oldChartWidth=s3.chartWidth,void 0!==t4&&(s3.options.chart.width=t4),void 0!==e4&&(s3.options.chart.height=e4),s3.getChartSize();let{chartWidth:n3,chartHeight:a3,scrollablePixelsX:h3=0,scrollablePixelsY:l3=0}=s3;(s3.isDirtyBox||n3!==s3.oldChartWidth||a3!==s3.oldChartHeight)&&(s3.styledMode||(o3?g2:O2)(s3.container,{width:`${n3+h3}px`,height:`${a3+l3}px`},o3),s3.setChartSize(true),r3.setSize(n3,a3,o3),s3.axes.forEach((function(t5){t5.isDirty=true,t5.setScale()})),s3.isDirtyLegend=true,s3.isDirtyBox=true,s3.layOutTitles(),s3.getMargins(),s3.redraw(o3),s3.oldChartHeight=void 0,N(s3,"resize"),setTimeout((()=>{s3&&N(s3,"endResize")}),f2(o3).duration)),s3.isResizing-=1}setChartSize(t4){let e4,i3,s3,r3;let{chartHeight:o3,chartWidth:n3,inverted:a3,spacing:h3,renderer:l3}=this,d3=this.clipOffset,c3=Math[a3?"floor":"round"];this.plotLeft=e4=Math.round(this.plotLeft),this.plotTop=i3=Math.round(this.plotTop),this.plotWidth=s3=Math.max(0,Math.round(n3-e4-this.marginRight)),this.plotHeight=r3=Math.max(0,Math.round(o3-i3-this.marginBottom)),this.plotSizeX=a3?r3:s3,this.plotSizeY=a3?s3:r3,this.spacingBox=l3.spacingBox={x:h3[3],y:h3[0],width:n3-h3[3]-h3[1],height:o3-h3[0]-h3[2]},this.plotBox=l3.plotBox={x:e4,y:i3,width:s3,height:r3},d3&&(this.clipBox={x:c3(d3[3]),y:c3(d3[0]),width:c3(this.plotSizeX-d3[1]-d3[3]),height:c3(this.plotSizeY-d3[0]-d3[2])}),t4||(this.axes.forEach((function(t5){t5.setAxisSize(),t5.setAxisTranslation()})),l3.alignElements()),N(this,"afterSetChartSize",{skipAxes:t4})}resetMargins(){N(this,"resetMargins");let t4=this,e4=t4.options.chart,i3=e4.plotBorderWidth||0,s3=i3/2;["margin","spacing"].forEach((function(i4){let s4=e4[i4],r3=X(s4)?s4:[s4,s4,s4,s4];["Top","Right","Bottom","Left"].forEach((function(s5,o3){t4[i4][o3]=V2(e4[i4+s5],r3[o3])}))})),k2.forEach((function(e5,i4){t4[e5]=V2(t4.margin[i4],t4.spacing[i4])})),t4.axisOffset=[0,0,0,0],t4.clipOffset=[s3,s3,s3,s3],t4.plotBorderWidth=i3}drawChartBox(){let t4=this.options.chart,e4=this.renderer,i3=this.chartWidth,s3=this.chartHeight,r3=this.styledMode,o3=this.plotBGImage,n3=t4.backgroundColor,a3=t4.plotBackgroundColor,h3=t4.plotBackgroundImage,l3=this.plotLeft,d3=this.plotTop,c3=this.plotWidth,p3=this.plotHeight,u3=this.plotBox,g3=this.clipRect,f3=this.clipBox,m3=this.chartBackground,x3=this.plotBackground,y3=this.plotBorder,b3,v3,S3,C3="animate";m3||(this.chartBackground=m3=e4.rect().addClass("highcharts-background").add(),C3="attr"),r3?b3=v3=m3.strokeWidth():(v3=(b3=t4.borderWidth||0)+(t4.shadow?8:0),S3={fill:n3||"none"},(b3||m3["stroke-width"])&&(S3.stroke=t4.borderColor,S3["stroke-width"]=b3),m3.attr(S3).shadow(t4.shadow)),m3[C3]({x:v3/2,y:v3/2,width:i3-v3-b3%2,height:s3-v3-b3%2,r:t4.borderRadius}),C3="animate",x3||(C3="attr",this.plotBackground=x3=e4.rect().addClass("highcharts-plot-background").add()),x3[C3](u3),!r3&&(x3.attr({fill:a3||"none"}).shadow(t4.plotShadow),h3&&(o3?(h3!==o3.attr("href")&&o3.attr("href",h3),o3.animate(u3)):this.plotBGImage=e4.image(h3,l3,d3,c3,p3).add())),g3?g3.animate({width:f3.width,height:f3.height}):this.clipRect=e4.clipRect(f3),C3="animate",y3||(C3="attr",this.plotBorder=y3=e4.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),r3||y3.attr({stroke:t4.plotBorderColor,"stroke-width":t4.plotBorderWidth||0,fill:"none"}),y3[C3](y3.crisp({x:l3,y:d3,width:c3,height:p3},-y3.strokeWidth())),this.isDirtyBox=false,N(this,"afterDrawChartBox")}propFromSeries(){let t4,e4,i3;let s3=this,r3=s3.options.chart,o3=s3.options.series;["inverted","angular","polar"].forEach((function(n3){for(e4=T2[r3.type],i3=r3[n3]||e4&&e4.prototype[n3],t4=o3&&o3.length;!i3&&t4--;)(e4=T2[o3[t4].type])&&e4.prototype[n3]&&(i3=true);s3[n3]=i3}))}linkSeries(t4){let e4=this,i3=e4.series;i3.forEach((function(t5){t5.linkedSeries.length=0})),i3.forEach((function(t5){let{linkedTo:i4}=t5.options;if(F2(i4)){let s3;(s3=":previous"===i4?e4.series[t5.index-1]:e4.get(i4))&&s3.linkedParent!==t5&&(s3.linkedSeries.push(t5),t5.linkedParent=s3,s3.enabledDataSorting&&t5.setDataSortingOptions(),t5.visible=V2(t5.options.visible,s3.options.visible,t5.visible))}})),N(this,"afterLinkSeries",{isUpdating:t4})}renderSeries(){this.series.forEach((function(t4){t4.translate(),t4.render()}))}render(){var _a;let t4=this.axes,e4=this.colorAxis,i3=this.renderer,s3=this.options.chart.axisLayoutRuns||2,r3=t5=>{t5.forEach((t6=>{t6.visible&&t6.render()}))},o3=0,n3=true,a3,h3=0;for(let e5 of(this.setTitle(),N(this,"beforeMargins"),(_a=this.getStacks)==null?void 0:_a.call(this),this.getMargins(true),this.setChartSize(),t4)){let{options:t5}=e5,{labels:i4}=t5;if(this.hasCartesianSeries&&e5.horiz&&e5.visible&&i4.enabled&&e5.series.length&&"colorAxis"!==e5.coll&&!this.polar){o3=t5.tickLength,e5.createGroups();let s4=new u2(e5,0,"",true),r4=s4.createLabel("x",i4);if(s4.destroy(),r4&&V2(i4.reserveSpace,!H2(t5.crossing))&&(o3=r4.getBBox().height+i4.distance+Math.max(t5.offset||0,0)),o3){r4==null?void 0:r4.destroy();break}}}for(this.plotHeight=Math.max(this.plotHeight-o3,0);(n3||a3||s3>1)&&h3<s3;){let e5=this.plotWidth,i4=this.plotHeight;for(let e6 of t4)0===h3?e6.setScale():(e6.horiz&&n3||!e6.horiz&&a3)&&e6.setTickInterval(true);0===h3?this.getAxisMargins():this.getMargins(),n3=e5/this.plotWidth>(h3?1:1.1),a3=i4/this.plotHeight>(h3?1:1.05),h3++}this.drawChartBox(),this.hasCartesianSeries?r3(t4):e4&&e4.length&&r3(e4),this.seriesGroup||(this.seriesGroup=i3.g("series-group").attr({zIndex:3}).shadow(this.options.chart.seriesGroupShadow).add()),this.renderSeries(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=true}addCredits(t4){let e4=this,i3=Y(true,this.options.credits,t4);i3.enabled&&!this.credits&&(this.credits=this.renderer.text(i3.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",(function(){i3.href&&(w2.location.href=i3.href)})).attr({align:i3.position.align,zIndex:8}),e4.styledMode||this.credits.css(i3.style),this.credits.add().align(i3.position),this.credits.update=function(t5){e4.credits=e4.credits.destroy(),e4.addCredits(t5)})}destroy(){let t4;let e4=this,i3=e4.axes,s3=e4.series,r3=e4.container,n3=r3&&r3.parentNode;for(N(e4,"destroy"),e4.renderer.forExport?j(S2,e4):S2[e4.index]=void 0,o2.chartCount--,e4.renderTo.removeAttribute("data-highcharts-chart"),_(e4),t4=i3.length;t4--;)i3[t4]=i3[t4].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t4=s3.length;t4--;)s3[t4]=s3[t4].destroy();["title","subtitle","chartBackground","plotBackground","plotBGImage","plotBorder","seriesGroup","clipRect","credits","pointer","rangeSelector","legend","resetZoomButton","tooltip","renderer"].forEach((function(t5){let i4=e4[t5];i4&&i4.destroy&&(e4[t5]=i4.destroy())})),r3&&(r3.innerHTML=p2.emptyHTML,_(r3),n3&&I(r3)),U(e4,(function(t5,i4){delete e4[i4]}))}firstRender(){var _a;let t4=this,e4=t4.options;t4.getContainer(),t4.resetMargins(),t4.setChartSize(),t4.propFromSeries(),t4.getAxes();let i3=G(e4.series)?e4.series:[];e4.series=[],i3.forEach((function(e5){t4.initSeries(e5)})),t4.linkSeries(),t4.setSortedData(),N(t4,"beforeRender"),t4.render(),(_a=t4.pointer)==null?void 0:_a.getChartPosition(),t4.renderer.imgCount||t4.hasLoaded||t4.onload(),t4.temporaryDisplay(true)}onload(){this.callbacks.concat([this.callback]).forEach((function(t4){t4&&void 0!==this.index&&t4.apply(this,[this])}),this),N(this,"load"),N(this,"render"),D2(this.index)&&this.setReflow(),this.warnIfA11yModuleNotLoaded(),this.hasLoaded=true}warnIfA11yModuleNotLoaded(){let{options:t4,title:e4}=this;!t4||this.accessibility||(this.renderer.boxWrapper.attr({role:"img","aria-label":(e4&&e4.element.textContent||"").replace(/</g,"<")}),t4.accessibility&&false===t4.accessibility.enabled||B('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',false,this))}addSeries(t4,e4,i3){let s3;let r3=this;return t4&&(e4=V2(e4,true),N(r3,"addSeries",{options:t4},(function(){s3=r3.initSeries(t4),r3.isDirtyLegend=true,r3.linkSeries(),s3.enabledDataSorting&&s3.setData(t4.data,false),N(r3,"afterAddSeries",{series:s3}),e4&&r3.redraw(i3)}))),s3}addAxis(t4,e4,i3,s3){return this.createAxis(e4?"xAxis":"yAxis",{axis:t4,redraw:i3,animation:s3})}addColorAxis(t4,e4,i3){return this.createAxis("colorAxis",{axis:t4,redraw:e4,animation:i3})}createAxis(t4,i3){let s3=new e3(this,i3.axis,t4);return V2(i3.redraw,true)&&this.redraw(i3.animation),s3}showLoading(t4){let e4=this,i3=e4.options,s3=i3.loading,r3=function(){o3&&O2(o3,{left:e4.plotLeft+"px",top:e4.plotTop+"px",width:e4.plotWidth+"px",height:e4.plotHeight+"px"})},o3=e4.loadingDiv,n3=e4.loadingSpan;o3||(e4.loadingDiv=o3=L2("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e4.container)),n3||(e4.loadingSpan=n3=L2("span",{className:"highcharts-loading-inner"},null,o3),A2(e4,"redraw",r3)),o3.className="highcharts-loading",p2.setElementHTML(n3,V2(t4,i3.lang.loading,"")),e4.styledMode||(O2(o3,R2(s3.style,{zIndex:10})),O2(n3,s3.labelStyle),e4.loadingShown||(O2(o3,{opacity:0,display:""}),g2(o3,{opacity:s3.style.opacity||.5},{duration:s3.showDuration||0}))),e4.loadingShown=true,r3()}hideLoading(){let t4=this.options,e4=this.loadingDiv;e4&&(e4.className="highcharts-loading highcharts-loading-hidden",this.styledMode||g2(e4,{opacity:0},{duration:t4.loading.hideDuration||100,complete:function(){O2(e4,{display:"none"})}})),this.loadingShown=false}update(t4,e4,i3,s3){let r3,o3,n3;let a3=this,h3={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},l3=t4.isResponsiveOptions,c3=[];N(a3,"update",{options:t4}),l3||a3.setResponsive(false,true),t4=E2(t4,a3.options),a3.userOptions=Y(a3.userOptions,t4);let p3=t4.chart;p3&&(Y(true,a3.options.chart,p3),this.setZoomOptions(),"className"in p3&&a3.setClassName(p3.className),("inverted"in p3||"polar"in p3||"type"in p3)&&(a3.propFromSeries(),r3=true),"alignTicks"in p3&&(r3=true),"events"in p3&&v2(this,p3),U(p3,(function(t5,e5){-1!==a3.propsRequireUpdateSeries.indexOf("chart."+e5)&&(o3=true),-1!==a3.propsRequireDirtyBox.indexOf(e5)&&(a3.isDirtyBox=true),-1===a3.propsRequireReflow.indexOf(e5)||(a3.isDirtyBox=true,l3||(n3=true))})),!a3.styledMode&&p3.style&&a3.renderer.setStyle(a3.options.chart.style||{})),!a3.styledMode&&t4.colors&&(this.options.colors=t4.colors),t4.time&&(this.time===y2&&(this.time=new d2(t4.time)),Y(true,a3.options.time,t4.time)),U(t4,(function(e5,i4){a3[i4]&&"function"==typeof a3[i4].update?a3[i4].update(e5,false):"function"==typeof a3[h3[i4]]?a3[h3[i4]](e5):"colors"!==i4&&-1===a3.collectionsWithUpdate.indexOf(i4)&&Y(true,a3.options[i4],t4[i4]),"chart"!==i4&&-1!==a3.propsRequireUpdateSeries.indexOf(i4)&&(o3=true)})),this.collectionsWithUpdate.forEach((function(e5){t4[e5]&&(q(t4[e5]).forEach((function(t5,s4){let r4;let o4=D2(t5.id);o4&&(r4=a3.get(t5.id)),!r4&&a3[e5]&&(r4=a3[e5][V2(t5.index,s4)])&&(o4&&D2(r4.options.id)||r4.options.isInternal)&&(r4=void 0),r4&&r4.coll===e5&&(r4.update(t5,false),i3&&(r4.touched=true)),!r4&&i3&&a3.collectionsWithInit[e5]&&(a3.collectionsWithInit[e5][0].apply(a3,[t5].concat(a3.collectionsWithInit[e5][1]||[]).concat([false])).touched=true)})),i3&&a3[e5].forEach((function(t5){t5.touched||t5.options.isInternal?delete t5.touched:c3.push(t5)})))})),c3.forEach((function(t5){t5.chart&&t5.remove&&t5.remove(false)})),r3&&a3.axes.forEach((function(t5){t5.update({},false)})),o3&&a3.getSeriesOrderByLinks().forEach((function(t5){t5.chart&&t5.update({},false)}),this);let u3=p3&&p3.width,g3=p3&&(F2(p3.height)?Z(p3.height,u3||a3.chartWidth):p3.height);n3||H2(u3)&&u3!==a3.chartWidth||H2(g3)&&g3!==a3.chartHeight?a3.setSize(u3,g3,s3):V2(e4,true)&&a3.redraw(s3),N(a3,"afterUpdate",{options:t4,redraw:e4,animation:s3})}setSubtitle(t4,e4){this.applyDescription("subtitle",t4),this.layOutTitles(e4)}setCaption(t4,e4){this.applyDescription("caption",t4),this.layOutTitles(e4)}showResetZoom(){let t4=this,e4=x2.lang,i3=t4.zooming.resetButton,s3=i3.theme,r3="chart"===i3.relativeTo||"spacingBox"===i3.relativeTo?null:"plotBox";function o3(){t4.zoomOut()}N(this,"beforeShowResetZoom",null,(function(){t4.resetZoomButton=t4.renderer.button(e4.resetZoom,null,null,o3,s3).attr({align:i3.position.align,title:e4.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(i3.position,false,r3)})),N(this,"afterShowResetZoom")}zoomOut(){N(this,"selection",{resetSelection:true},(()=>this.transform({reset:true,trigger:"zoom"})))}pan(t4,e4){let i3=this,s3="object"==typeof e4?e4:{enabled:e4,type:"x"},r3=s3.type,o3=r3&&i3[{x:"xAxis",xy:"axes",y:"yAxis"}[r3]].filter((t5=>t5.options.panningEnabled&&!t5.options.isInternal)),n3=i3.options.chart;(n3==null?void 0:n3.panning)&&(n3.panning=s3),N(this,"pan",{originalEvent:t4},(()=>{i3.transform({axes:o3,event:t4,to:{x:t4.chartX-(i3.mouseDownX||0),y:t4.chartY-(i3.mouseDownY||0)},trigger:"pan"}),O2(i3.container,{cursor:"move"})}))}transform(t4){var _a;let{axes:e4=this.axes,event:i3,from:s3={},reset:r3,selection:o3,to:n3={},trigger:a3}=t4,{inverted:h3}=this,l3=false,d3,c3;for(let t5 of((_a=this.hoverPoints)==null?void 0:_a.forEach((t6=>t6.setState())),e4)){let{horiz:e5,len:p3,minPointOffset:u3=0,options:g3,reversed:f3}=t5,m3=e5?"width":"height",x3=e5?"x":"y",y3=V2(n3[m3],t5.len),b3=V2(s3[m3],t5.len),v3=10>Math.abs(y3)?1:y3/b3,S3=(s3[x3]||0)+b3/2-t5.pos,C3=S3-((n3[x3]??t5.pos)+y3/2-t5.pos)/v3,k3=f3&&!h3||!f3&&h3?-1:1;if(!r3&&(S3<0||S3>t5.len))continue;let M2=t5.toValue(C3,true)+(o3||t5.isOrdinal?0:u3*k3),w3=t5.toValue(C3+p3/v3,true)-(o3||t5.isOrdinal?0:u3*k3||0),T3=t5.allExtremes;if(M2>w3&&([M2,w3]=[w3,M2]),1===v3&&!r3&&"yAxis"===t5.coll&&!T3){for(let e6 of t5.series){let t6=e6.getExtremes(e6.getProcessedData(true).yData,true);T3??(T3={dataMin:Number.MAX_VALUE,dataMax:-Number.MAX_VALUE}),H2(t6.dataMin)&&H2(t6.dataMax)&&(T3.dataMin=Math.min(t6.dataMin,T3.dataMin),T3.dataMax=Math.max(t6.dataMax,T3.dataMax))}t5.allExtremes=T3}let{dataMin:A3,dataMax:P2,min:L3,max:O3}=R2(t5.getExtremes(),T3||{}),E3=A3??g3.min,I2=P2??g3.max,j2=w3-M2,B2=t5.categories?0:Math.min(j2,I2-E3),z3=E3-B2*(D2(g3.min)?0:g3.minPadding),N2=I2+B2*(D2(g3.max)?0:g3.maxPadding),W3=t5.allowZoomOutside||1===v3||"zoom"!==a3&&v3>1,G2=Math.min(g3.min??z3,z3,W3?L3:z3),X2=Math.max(g3.max??N2,N2,W3?O3:N2);(!t5.isOrdinal||t5.options.overscroll||1!==v3||r3)&&(M2<G2&&(M2=G2,v3>=1&&(w3=M2+j2)),w3>X2&&(w3=X2,v3>=1&&(M2=w3-j2)),(r3||t5.series.length&&(M2!==L3||w3!==O3)&&M2>=G2&&w3<=X2)&&(o3?o3[t5.coll].push({axis:t5,min:M2,max:w3}):(t5.isPanning="zoom"!==a3,t5.isPanning&&(c3=true),t5.setExtremes(r3?void 0:M2,r3?void 0:w3,false,false,{move:C3,trigger:a3,scale:v3}),!r3&&(M2>G2||w3<X2)&&"mousewheel"!==a3&&(d3=true)),l3=true),i3&&(this[e5?"mouseDownX":"mouseDownY"]=i3[e5?"chartX":"chartY"]))}return l3&&(o3?N(this,"selection",o3,(()=>{delete t4.selection,t4.trigger="zoom",this.transform(t4)})):(!d3||c3||this.resetZoomButton?!d3&&this.resetZoomButton&&(this.resetZoomButton=this.resetZoomButton.destroy()):this.showResetZoom(),this.redraw("zoom"===a3&&(this.options.chart.animation??this.pointCount<100)))),l3}}return R2(Q.prototype,{callbacks:[],collectionsWithInit:{xAxis:[Q.prototype.addAxis,[true]],yAxis:[Q.prototype.addAxis,[false]],series:[Q.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:["backgroundColor","borderColor","borderWidth","borderRadius","plotBackgroundColor","plotBackgroundImage","plotBorderColor","plotBorderWidth","plotShadow","shadow"],propsRequireReflow:["margin","marginTop","marginRight","marginBottom","marginLeft","spacing","spacingTop","spacingRight","spacingBottom","spacingLeft"],propsRequireUpdateSeries:["chart.inverted","chart.polar","chart.ignoreHiddenSeries","chart.type","colors","plotOptions","time","tooltip"]}),Q})),i(e2,"Extensions/ScrollablePlotArea.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Globals.js"],e2["Core/Renderer/RendererRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){let{stop:r2}=t3,{composed:o2}=e3,{addEvent:n2,createElement:a2,css:h2,defined:l2,merge:d2,pushUnique:c2}=s2;function p2(){let t4=this.scrollablePlotArea;(this.scrollablePixelsX||this.scrollablePixelsY)&&!t4&&(this.scrollablePlotArea=t4=new g2(this)),t4==null?void 0:t4.applyFixed()}function u2(){this.chart.scrollablePlotArea&&(this.chart.scrollablePlotArea.isDirty=true)}class g2{static compose(t4,e4,i3){c2(o2,this.compose)&&(n2(t4,"afterInit",u2),n2(e4,"afterSetChartSize",(t5=>this.afterSetSize(t5.target,t5))),n2(e4,"render",p2),n2(i3,"show",u2))}static afterSetSize(t4,e4){let i3,s3,r3;let{minWidth:o3,minHeight:n3}=t4.options.chart.scrollablePlotArea||{},{clipBox:a3,plotBox:h3,inverted:c3,renderer:p3}=t4;if(!p3.forExport&&(o3?(t4.scrollablePixelsX=i3=Math.max(0,o3-t4.chartWidth),i3&&(t4.scrollablePlotBox=d2(t4.plotBox),h3.width=t4.plotWidth+=i3,a3[c3?"height":"width"]+=i3,r3=true)):n3&&(t4.scrollablePixelsY=s3=Math.max(0,n3-t4.chartHeight),l2(s3)&&(t4.scrollablePlotBox=d2(t4.plotBox),h3.height=t4.plotHeight+=s3,a3[c3?"width":"height"]+=s3,r3=false)),l2(r3)&&!e4.skipAxes))for(let e5 of t4.axes)e5.horiz===r3&&(e5.setAxisSize(),e5.setAxisTranslation())}constructor(t4){var _a;let e4;let s3=t4.options.chart,r3=i2.getRendererType(),o3=s3.scrollablePlotArea||{},l3=this.moveFixedElements.bind(this),d3={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};t4.scrollablePixelsX&&(d3.overflowX="auto"),t4.scrollablePixelsY&&(d3.overflowY="auto"),this.chart=t4;let c3=this.parentDiv=a2("div",{className:"highcharts-scrolling-parent"},{position:"relative"},t4.renderTo),p3=this.scrollingContainer=a2("div",{className:"highcharts-scrolling"},d3,c3),u3=this.innerContainer=a2("div",{className:"highcharts-inner-container"},void 0,p3),g3=this.fixedDiv=a2("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(((_a=s3.style)==null?void 0:_a.zIndex)||0)+2,top:0},void 0,true),f2=this.fixedRenderer=new r3(g3,t4.chartWidth,t4.chartHeight,s3.style);this.mask=f2.path().attr({fill:s3.backgroundColor||"#fff","fill-opacity":o3.opacity??.85,zIndex:-1}).addClass("highcharts-scrollable-mask").add(),p3.parentNode.insertBefore(g3,p3),h2(t4.renderTo,{overflow:"visible"}),n2(t4,"afterShowResetZoom",l3),n2(t4,"afterApplyDrilldown",l3),n2(t4,"afterLayOutTitles",l3),n2(p3,"scroll",(()=>{let{pointer:i3,hoverPoint:s4}=t4;i3&&(delete i3.chartPosition,s4&&(e4=s4),i3.runPointActions(void 0,e4,true))})),u3.appendChild(t4.container)}applyFixed(){var _a;let{chart:t4,fixedRenderer:e4,isDirty:i3,scrollingContainer:s3}=this,{axisOffset:o3,chartWidth:n3,chartHeight:a3,container:d3,plotHeight:c3,plotLeft:p3,plotTop:u3,plotWidth:g3,scrollablePixelsX:f2=0,scrollablePixelsY:m2=0}=t4,{scrollPositionX:x2=0,scrollPositionY:y2=0}=t4.options.chart.scrollablePlotArea||{},b2=n3+f2,v2=a3+m2;e4.setSize(n3,a3),(i3??true)&&(this.isDirty=false,this.moveFixedElements()),r2(t4.container),h2(d3,{width:`${b2}px`,height:`${v2}px`}),t4.renderer.boxWrapper.attr({width:b2,height:v2,viewBox:[0,0,b2,v2].join(" ")}),(_a=t4.chartBackground)==null?void 0:_a.attr({width:b2,height:v2}),h2(s3,{width:`${n3}px`,height:`${a3}px`}),l2(i3)||(s3.scrollLeft=f2*x2,s3.scrollTop=m2*y2);let S2=u3-o3[0]-1,C2=p3-o3[3]-1,k2=u3+c3+o3[2]+1,M=p3+g3+o3[1]+1,w2=p3+g3-f2,T2=u3+c3-m2,A2=[["M",0,0]];f2?A2=[["M",0,S2],["L",p3-1,S2],["L",p3-1,k2],["L",0,k2],["Z"],["M",w2,S2],["L",n3,S2],["L",n3,k2],["L",w2,k2],["Z"]]:m2&&(A2=[["M",C2,0],["L",C2,u3-1],["L",M,u3-1],["L",M,0],["Z"],["M",C2,T2],["L",C2,a3],["L",M,a3],["L",M,T2],["Z"]]),"adjustHeight"!==t4.redrawTrigger&&this.mask.attr({d:A2})}moveFixedElements(){let t4;let{container:e4,inverted:i3,scrollablePixelsX:s3,scrollablePixelsY:r3}=this.chart,o3=this.fixedRenderer,n3=g2.fixedSelectors;for(let a3 of(s3&&!i3?t4=".highcharts-yaxis":s3&&i3?t4=".highcharts-xaxis":r3&&!i3?t4=".highcharts-xaxis":r3&&i3&&(t4=".highcharts-yaxis"),t4&&n3.push(`${t4}:not(.highcharts-radial-axis)`,`${t4}-labels:not(.highcharts-radial-axis-labels)`),n3))[].forEach.call(e4.querySelectorAll(a3),(t5=>{(t5.namespaceURI===o3.SVG_NS?o3.box:o3.box.parentNode).appendChild(t5),t5.style.pointerEvents="auto"}))}}return g2.fixedSelectors=[".highcharts-breadcrumbs-group",".highcharts-contextbutton",".highcharts-caption",".highcharts-credits",".highcharts-drillup-button",".highcharts-legend",".highcharts-legend-checkbox",".highcharts-navigator-series",".highcharts-navigator-xaxis",".highcharts-navigator-yaxis",".highcharts-navigator",".highcharts-range-selector-group",".highcharts-reset-zoom",".highcharts-scrollbar",".highcharts-subtitle",".highcharts-title"],g2})),i(e2,"Core/Axis/Stacking/StackItem.js",[e2["Core/Templating.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{format:s2}=t3,{series:r2}=e3,{destroyObjectProperties:o2,fireEvent:n2,isNumber:a2,pick:h2}=i2;return class{constructor(t4,e4,i3,s3,r3){let o3=t4.chart.inverted,n3=t4.reversed;this.axis=t4;let a3=this.isNegative=!!i3!=!!n3;this.options=e4=e4||{},this.x=s3,this.total=null,this.cumulative=null,this.points={},this.hasValidPoints=false,this.stack=r3,this.leftCliff=0,this.rightCliff=0,this.alignOptions={align:e4.align||(o3?a3?"left":"right":"center"),verticalAlign:e4.verticalAlign||(o3?"middle":a3?"bottom":"top"),y:e4.y,x:e4.x},this.textAlign=e4.textAlign||(o3?a3?"right":"left":"center")}destroy(){o2(this,this.axis)}render(t4){let e4=this.axis.chart,i3=this.options,r3=i3.format,o3=r3?s2(r3,this,e4):i3.formatter.call(this);if(this.label)this.label.attr({text:o3,visibility:"hidden"});else{this.label=e4.renderer.label(o3,null,void 0,i3.shape,void 0,void 0,i3.useHTML,false,"stack-labels");let s3={r:i3.borderRadius||0,text:o3,padding:h2(i3.padding,5),visibility:"hidden"};e4.styledMode||(s3.fill=i3.backgroundColor,s3.stroke=i3.borderColor,s3["stroke-width"]=i3.borderWidth,this.label.css(i3.style||{})),this.label.attr(s3),this.label.added||this.label.add(t4)}this.label.labelrank=e4.plotSizeY,n2(this,"afterRender")}setOffset(t4,e4,i3,s3,o3,l2){let{alignOptions:d2,axis:c2,label:p2,options:u2,textAlign:g2}=this,f2=c2.chart,m2=this.getStackBox({xOffset:t4,width:e4,boxBottom:i3,boxTop:s3,defaultX:o3,xAxis:l2}),{verticalAlign:x2}=d2;if(p2&&m2){let t5=p2.getBBox(void 0,0),e5=p2.padding,i4="justify"===h2(u2.overflow,"justify"),s4;d2.x=u2.x||0,d2.y=u2.y||0;let{x:o4,y:n3}=this.adjustStackPosition({labelBox:t5,verticalAlign:x2,textAlign:g2});m2.x-=o4,m2.y-=n3,p2.align(d2,false,m2),(s4=f2.isInsidePlot(p2.alignAttr.x+d2.x+o4,p2.alignAttr.y+d2.y+n3))||(i4=false),i4&&r2.prototype.justifyDataLabel.call(c2,p2,d2,p2.alignAttr,t5,m2),p2.attr({x:p2.alignAttr.x,y:p2.alignAttr.y,rotation:u2.rotation,rotationOriginX:t5.width*{left:0,center:.5,right:1}[u2.textAlign||"center"],rotationOriginY:t5.height/2}),h2(!i4&&u2.crop,true)&&(s4=a2(p2.x)&&a2(p2.y)&&f2.isInsidePlot(p2.x-e5+(p2.width||0),p2.y)&&f2.isInsidePlot(p2.x+e5,p2.y)),p2[s4?"show":"hide"]()}n2(this,"afterSetOffset",{xOffset:t4,width:e4})}adjustStackPosition({labelBox:t4,verticalAlign:e4,textAlign:i3}){let s3={bottom:0,middle:1,top:2,right:1,center:0,left:-1},r3=s3[e4],o3=s3[i3];return{x:t4.width/2+t4.width/2*o3,y:t4.height/2*r3}}getStackBox(t4){let e4=this.axis,i3=e4.chart,{boxTop:s3,defaultX:r3,xOffset:o3,width:n3,boxBottom:l2}=t4,d2=e4.stacking.usePercentage?100:h2(s3,this.total,0),c2=e4.toPixels(d2),p2=t4.xAxis||i3.xAxis[0],u2=h2(r3,p2.translate(this.x))+o3,g2=Math.abs(c2-e4.toPixels(l2||a2(e4.min)&&e4.logarithmic&&e4.logarithmic.lin2log(e4.min)||0)),f2=i3.inverted,m2=this.isNegative;return f2?{x:(m2?c2:c2-g2)-i3.plotLeft,y:p2.height-u2-n3+p2.top-i3.plotTop,width:g2,height:n3}:{x:u2+p2.transB-i3.plotLeft,y:(m2?c2-g2:c2)-i3.plotTop,width:n3,height:g2}}}})),i(e2,"Core/Axis/Stacking/StackingAxis.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Axis/Axis.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Axis/Stacking/StackItem.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2){var o2;let{getDeferredAnimation:n2}=t3,{series:{prototype:a2}}=i2,{addEvent:h2,correctFloat:l2,defined:d2,destroyObjectProperties:c2,fireEvent:p2,isArray:u2,isNumber:g2,objectEach:f2,pick:m2}=r2;function x2(){let t4=this.inverted;this.axes.forEach((t5=>{t5.stacking&&t5.stacking.stacks&&t5.hasVisibleSeries&&(t5.stacking.oldStacks=t5.stacking.stacks)})),this.series.forEach((e4=>{let i3=e4.xAxis&&e4.xAxis.options||{};e4.options.stacking&&e4.reserveSpace()&&(e4.stackKey=[e4.type,m2(e4.options.stack,""),t4?i3.top:i3.left,t4?i3.height:i3.width].join(","))}))}function y2(){var _a;let t4=this.stacking;if(t4){let e4=t4.stacks;f2(e4,((t5,i3)=>{c2(t5),delete e4[i3]})),(_a=t4.stackTotalGroup)==null?void 0:_a.destroy()}}function b2(){this.stacking||(this.stacking=new w2(this))}function v2(t4,e4,i3,s3){return!d2(t4)||t4.x!==e4||s3&&t4.stackKey!==s3?t4={x:e4,index:0,key:s3,stackKey:s3}:t4.index++,t4.key=[i3,e4,t4.index].join(","),t4}function S2(){let t4;let e4=this,i3=e4.yAxis,s3=e4.stackKey||"",r3=i3.stacking.stacks,o3=e4.processedXData,n3=e4.options.stacking,a3=e4[n3+"Stacker"];a3&&[s3,"-"+s3].forEach((i4=>{var _a;let s4=o3.length,n4,h3,l3;for(;s4--;)n4=o3[s4],t4=e4.getStackIndicator(t4,n4,e4.index,i4),h3=(_a=r3[i4])==null?void 0:_a[n4],(l3=h3==null?void 0:h3.points[t4.key||""])&&a3.call(e4,l3,h3,s4)}))}function C2(t4,e4,i3){let s3=e4.total?100/e4.total:0;t4[0]=l2(t4[0]*s3),t4[1]=l2(t4[1]*s3),this.stackedYData[i3]=t4[1]}function k2(t4){(this.is("column")||this.is("columnrange"))&&(this.options.centerInCategory&&!this.options.stacking&&this.chart.series.length>1?a2.setStackedPoints.call(this,t4,"group"):t4.stacking.resetStacks())}function M(t4,e4){var _a,_b;let i3,r3,o3,n3,a3,h3,c3,p3,g3;let f3=e4||this.options.stacking;if(!f3||!this.reserveSpace()||({group:"xAxis"}[f3]||"yAxis")!==t4.coll)return;let x3=this.processedXData,y3=this.processedYData,b3=[],v3=y3.length,S3=this.options,C3=S3.threshold||0,k3=S3.startFromThreshold?C3:0,M2=S3.stack,w3=e4?`${this.type},${f3}`:this.stackKey||"",T2="-"+w3,A2=this.negStacks,P=t4.stacking,L2=P.stacks,O2=P.oldStacks;for(P.stacksTouched+=1,c3=0;c3<v3;c3++){p3=x3[c3],g3=y3[c3],h3=(i3=this.getStackIndicator(i3,p3,this.index)).key||"",L2[a3=(r3=A2&&g3<(k3?0:C3))?T2:w3]||(L2[a3]={}),L2[a3][p3]||(((_a=O2[a3])==null?void 0:_a[p3])?(L2[a3][p3]=O2[a3][p3],L2[a3][p3].total=null):L2[a3][p3]=new s2(t4,t4.options.stackLabels,!!r3,p3,M2)),o3=L2[a3][p3],null!==g3?(o3.points[h3]=o3.points[this.index]=[m2(o3.cumulative,k3)],d2(o3.cumulative)||(o3.base=h3),o3.touched=P.stacksTouched,i3.index>0&&false===this.singleStacks&&(o3.points[h3][0]=o3.points[this.index+","+p3+",0"][0])):(delete o3.points[h3],delete o3.points[this.index]);let e5=o3.total||0;"percent"===f3?(n3=r3?w3:T2,e5=A2&&((_b=L2[n3])==null?void 0:_b[p3])?(n3=L2[n3][p3]).total=Math.max(n3.total||0,e5)+Math.abs(g3)||0:l2(e5+(Math.abs(g3)||0))):"group"===f3?(u2(g3)&&(g3=g3[0]),null!==g3&&e5++):e5=l2(e5+(g3||0)),"group"===f3?o3.cumulative=(e5||1)-1:o3.cumulative=l2(m2(o3.cumulative,k3)+(g3||0)),o3.total=e5,null!==g3&&(o3.points[h3].push(o3.cumulative),b3[c3]=o3.cumulative,o3.hasValidPoints=true)}"percent"===f3&&(P.usePercentage=true),"group"!==f3&&(this.stackedYData=b3),P.oldStacks={}}class w2{constructor(t4){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t4}buildStacks(){let t4,e4;let i3=this.axis,s3=i3.series,r3="xAxis"===i3.coll,o3=i3.options.reversedStacks,n3=s3.length;for(this.resetStacks(),this.usePercentage=false,e4=n3;e4--;)t4=s3[o3?e4:n3-e4-1],r3&&t4.setGroupedPoints(i3),t4.setStackedPoints(i3);if(!r3)for(e4=0;e4<n3;e4++)s3[e4].modifyStacks();p2(i3,"afterBuildStacks")}cleanStacks(){this.oldStacks&&(this.stacks=this.oldStacks,f2(this.stacks,(t4=>{f2(t4,(t5=>{t5.cumulative=t5.total}))})))}resetStacks(){f2(this.stacks,(t4=>{f2(t4,((e4,i3)=>{g2(e4.touched)&&e4.touched<this.stacksTouched?(e4.destroy(),delete t4[i3]):(e4.total=null,e4.cumulative=null)}))}))}renderStackTotals(){var _a;let t4=this.axis,e4=t4.chart,i3=e4.renderer,s3=this.stacks,r3=n2(e4,((_a=t4.options.stackLabels)==null?void 0:_a.animation)||false),o3=this.stackTotalGroup=this.stackTotalGroup||i3.g("stack-labels").attr({zIndex:6,opacity:0}).add();o3.translate(e4.plotLeft,e4.plotTop),f2(s3,(t5=>{f2(t5,(t6=>{t6.render(o3)}))})),o3.animate({opacity:1},r3)}}return(o2||(o2={})).compose=function(t4,e4,i3){let s3=e4.prototype,r3=i3.prototype;s3.getStacks||(h2(t4,"init",b2),h2(t4,"destroy",y2),s3.getStacks=x2,r3.getStackIndicator=v2,r3.modifyStacks=S2,r3.percentStacker=C2,r3.setGroupedPoints=k2,r3.setStackedPoints=M)},o2})),i(e2,"Series/Line/LineSeries.js",[e2["Core/Series/Series.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{defined:s2,merge:r2,isObject:o2}=i2;class n2 extends t3{drawGraph(){let t4=this.options,e4=(this.gappedPath||this.getGraphPath).call(this),i3=this.chart.styledMode;[this,...this.zones].forEach(((s3,n3)=>{let a2,h2=s3.graph,l2=h2?"animate":"attr",d2=s3.dashStyle||t4.dashStyle;h2?(h2.endX=this.preventGraphAnimation?null:e4.xMap,h2.animate({d:e4})):e4.length&&(s3.graph=h2=this.chart.renderer.path(e4).addClass("highcharts-graph"+(n3?` highcharts-zone-graph-${n3-1} `:" ")+(n3&&s3.className||"")).attr({zIndex:1}).add(this.group)),h2&&!i3&&(a2={stroke:!n3&&t4.lineColor||s3.color||this.color||"#cccccc","stroke-width":t4.lineWidth||0,fill:this.fillGraph&&this.color||"none"},d2?a2.dashstyle=d2:"square"!==t4.linecap&&(a2["stroke-linecap"]=a2["stroke-linejoin"]="round"),h2[l2](a2).shadow(n3<2&&t4.shadow&&r2({filterUnits:"userSpaceOnUse"},o2(t4.shadow)?t4.shadow:{}))),h2&&(h2.startX=e4.xMap,h2.isArea=e4.isArea)}))}getGraphPath(t4,e4,i3){let r3=this,o3=r3.options,n3=[],a2=[],h2,l2=o3.step,d2=(t4=t4||r3.points).reversed;return d2&&t4.reverse(),(l2={right:1,center:2}[l2]||l2&&3)&&d2&&(l2=4-l2),(t4=this.getValidPoints(t4,false,!(o3.connectNulls&&!e4&&!i3))).forEach((function(d3,c2){let p2;let u2=d3.plotX,g2=d3.plotY,f2=t4[c2-1],m2=d3.isNull||"number"!=typeof g2;(d3.leftCliff||f2&&f2.rightCliff)&&!i3&&(h2=true),m2&&!s2(e4)&&c2>0?h2=!o3.connectNulls:m2&&!e4?h2=true:(0===c2||h2?p2=[["M",d3.plotX,d3.plotY]]:r3.getPointSpline?p2=[r3.getPointSpline(t4,d3,c2)]:l2?(p2=1===l2?[["L",f2.plotX,g2]]:2===l2?[["L",(f2.plotX+u2)/2,f2.plotY],["L",(f2.plotX+u2)/2,g2]]:[["L",u2,f2.plotY]]).push(["L",u2,g2]):p2=[["L",u2,g2]],a2.push(d3.x),l2&&(a2.push(d3.x),2===l2&&a2.push(d3.x)),n3.push.apply(n3,p2),h2=false)})),n3.xMap=a2,r3.graphPath=n3,n3}}return n2.defaultOptions=r2(t3.defaultOptions,{legendSymbol:"lineMarker"}),e3.registerSeriesType("line",n2),n2})),i(e2,"Series/Area/AreaSeriesDefaults.js",[],(function(){return{threshold:0,legendSymbol:"areaMarker"}})),i(e2,"Series/Area/AreaSeries.js",[e2["Series/Area/AreaSeriesDefaults.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{seriesTypes:{line:s2}}=e3,{extend:r2,merge:o2,objectEach:n2,pick:a2}=i2;class h2 extends s2{drawGraph(){this.areaPath=[],super.drawGraph.apply(this);let{areaPath:t4,options:e4}=this;[this,...this.zones].forEach(((i3,s3)=>{let r3={},o3=i3.fillColor||e4.fillColor,n3=i3.area,a3=n3?"animate":"attr";n3?(n3.endX=this.preventGraphAnimation?null:t4.xMap,n3.animate({d:t4})):(r3.zIndex=0,(n3=i3.area=this.chart.renderer.path(t4).addClass("highcharts-area"+(s3?` highcharts-zone-area-${s3-1} `:" ")+(s3&&i3.className||"")).add(this.group)).isArea=true),this.chart.styledMode||(r3.fill=o3||i3.color||this.color,r3["fill-opacity"]=o3?1:e4.fillOpacity??.75,n3.css({pointerEvents:this.stickyTracking?"none":"auto"})),n3[a3](r3),n3.startX=t4.xMap,n3.shiftUnit=e4.step?2:1}))}getGraphPath(t4){let e4,i3,r3;let o3=s2.prototype.getGraphPath,n3=this.options,h3=n3.stacking,l2=this.yAxis,d2=[],c2=[],p2=this.index,u2=l2.stacking.stacks[this.stackKey],g2=n3.threshold,f2=Math.round(l2.getThreshold(n3.threshold)),m2=a2(n3.connectNulls,"percent"===h3),x2=function(i4,s3,r4){let o4=t4[i4],n4=h3&&u2[o4.x].points[p2],a3=o4[r4+"Null"]||0,m3=o4[r4+"Cliff"]||0,x3,y3,b3=true;m3||a3?(x3=(a3?n4[0]:n4[1])+m3,y3=n4[0]+m3,b3=!!a3):!h3&&t4[s3]&&t4[s3].isNull&&(x3=y3=g2),void 0!==x3&&(c2.push({plotX:e4,plotY:null===x3?f2:l2.getThreshold(x3),isNull:b3,isCliff:true}),d2.push({plotX:e4,plotY:null===y3?f2:l2.getThreshold(y3),doCurve:false}))};t4=t4||this.points,h3&&(t4=this.getStackPoints(t4));for(let s3=0,o4=t4.length;s3<o4;++s3)h3||(t4[s3].leftCliff=t4[s3].rightCliff=t4[s3].leftNull=t4[s3].rightNull=void 0),i3=t4[s3].isNull,e4=a2(t4[s3].rectPlotX,t4[s3].plotX),r3=h3?a2(t4[s3].yBottom,f2):f2,i3&&!m2||(m2||x2(s3,s3-1,"left"),i3&&!h3&&m2||(c2.push(t4[s3]),d2.push({x:s3,plotX:e4,plotY:r3})),m2||x2(s3,s3+1,"right"));let y2=o3.call(this,c2,true,true);d2.reversed=true;let b2=o3.call(this,d2,true,true),v2=b2[0];v2&&"M"===v2[0]&&(b2[0]=["L",v2[1],v2[2]]);let S2=y2.concat(b2);S2.length&&S2.push(["Z"]);let C2=o3.call(this,c2,false,m2);return this.chart.series.length>1&&h3&&c2.some((t5=>t5.isCliff))&&(S2.hasStackedCliffs=C2.hasStackedCliffs=true),S2.xMap=y2.xMap,this.areaPath=S2,C2}getStackPoints(t4){let e4=this,i3=[],s3=[],r3=this.xAxis,o3=this.yAxis,h3=o3.stacking.stacks[this.stackKey],l2={},d2=o3.series,c2=d2.length,p2=o3.options.reversedStacks?1:-1,u2=d2.indexOf(e4);if(t4=t4||this.points,this.options.stacking){for(let e5=0;e5<t4.length;e5++)t4[e5].leftNull=t4[e5].rightNull=void 0,l2[t4[e5].x]=t4[e5];n2(h3,(function(t5,e5){null!==t5.total&&s3.push(e5)})),s3.sort((function(t5,e5){return t5-e5}));let g2=d2.map((t5=>t5.visible));s3.forEach((function(t5,n3){let f2=0,m2,x2;if(l2[t5]&&!l2[t5].isNull)i3.push(l2[t5]),[-1,1].forEach((function(i4){let r4=1===i4?"rightNull":"leftNull",o4=h3[s3[n3+i4]],a3=0;if(o4){let i5=u2;for(;i5>=0&&i5<c2;){let s4=d2[i5].index;!(m2=o4.points[s4])&&(s4===e4.index?l2[t5][r4]=true:g2[i5]&&(x2=h3[t5].points[s4])&&(a3-=x2[1]-x2[0])),i5+=p2}}l2[t5][1===i4?"rightCliff":"leftCliff"]=a3}));else{let e5=u2;for(;e5>=0&&e5<c2;){let i4=d2[e5].index;if(m2=h3[t5].points[i4]){f2=m2[1];break}e5+=p2}f2=a2(f2,0),f2=o3.translate(f2,0,1,0,1),i3.push({isNull:true,plotX:r3.translate(t5,0,0,0,1),x:t5,plotY:f2,yBottom:f2})}}))}return i3}}return h2.defaultOptions=o2(s2.defaultOptions,t3),r2(h2.prototype,{singleStacks:false}),e3.registerSeriesType("area",h2),h2})),i(e2,"Series/Spline/SplineSeries.js",[e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{line:i2}=t3.seriesTypes,{merge:s2,pick:r2}=e3;class o2 extends i2{getPointSpline(t4,e4,i3){let s3,o3,n2,a2;let h2=e4.plotX||0,l2=e4.plotY||0,d2=t4[i3-1],c2=t4[i3+1];function p2(t5){return t5&&!t5.isNull&&false!==t5.doCurve&&!e4.isCliff}if(p2(d2)&&p2(c2)){let t5=d2.plotX||0,i4=d2.plotY||0,r3=c2.plotX||0,p3=c2.plotY||0,u3=0;s3=(1.5*h2+t5)/2.5,o3=(1.5*l2+i4)/2.5,n2=(1.5*h2+r3)/2.5,a2=(1.5*l2+p3)/2.5,n2!==s3&&(u3=(a2-o3)*(n2-h2)/(n2-s3)+l2-a2),o3+=u3,a2+=u3,o3>i4&&o3>l2?(o3=Math.max(i4,l2),a2=2*l2-o3):o3<i4&&o3<l2&&(o3=Math.min(i4,l2),a2=2*l2-o3),a2>p3&&a2>l2?(a2=Math.max(p3,l2),o3=2*l2-a2):a2<p3&&a2<l2&&(a2=Math.min(p3,l2),o3=2*l2-a2),e4.rightContX=n2,e4.rightContY=a2,e4.controlPoints={low:[s3,o3],high:[n2,a2]}}let u2=["C",r2(d2.rightContX,d2.plotX,0),r2(d2.rightContY,d2.plotY,0),r2(s3,h2,0),r2(o3,l2,0),h2,l2];return d2.rightContX=d2.rightContY=void 0,u2}}return o2.defaultOptions=s2(i2.defaultOptions),t3.registerSeriesType("spline",o2),o2})),i(e2,"Series/AreaSpline/AreaSplineSeries.js",[e2["Series/Spline/SplineSeries.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{area:s2,area:{prototype:r2}}=e3.seriesTypes,{extend:o2,merge:n2}=i2;class a2 extends t3{}return a2.defaultOptions=n2(t3.defaultOptions,s2.defaultOptions),o2(a2.prototype,{getGraphPath:r2.getGraphPath,getStackPoints:r2.getStackPoints,drawGraph:r2.drawGraph}),e3.registerSeriesType("areaspline",a2),a2})),i(e2,"Series/Column/ColumnSeriesDefaults.js",[],(function(){return{borderRadius:3,centerInCategory:false,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:false,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:true,stickyTracking:false,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}})),i(e2,"Series/Column/ColumnSeries.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Color/Color.js"],e2["Series/Column/ColumnSeriesDefaults.js"],e2["Core/Globals.js"],e2["Core/Series/Series.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2,o2,n2){let{animObject:a2}=t3,{parse:h2}=e3,{noop:l2}=s2,{clamp:d2,crisp:c2,defined:p2,extend:u2,fireEvent:g2,isArray:f2,isNumber:m2,merge:x2,pick:y2,objectEach:b2}=n2;class v2 extends r2{animate(t4){let e4,i3;let s3=this,r3=this.yAxis,o3=r3.pos,n3=r3.reversed,h3=s3.options,{clipOffset:l3,inverted:c3}=this.chart,p3={},g3=c3?"translateX":"translateY";t4&&l3?(p3.scaleY=.001,i3=d2(r3.toPixels(h3.threshold),o3,o3+r3.len),c3?(i3+=n3?-Math.floor(l3[0]):Math.ceil(l3[2]),p3.translateX=i3-r3.len):(i3+=n3?Math.ceil(l3[0]):-Math.floor(l3[2]),p3.translateY=i3),s3.clipBox&&s3.setClip(),s3.group.attr(p3)):(e4=Number(s3.group.attr(g3)),s3.group.animate({scaleY:1},u2(a2(s3.options.animation),{step:function(t5,i4){s3.group&&(p3[g3]=e4+i4.pos*(o3-e4),s3.group.attr(p3))}})))}init(t4,e4){super.init.apply(this,arguments);let i3=this;(t4=i3.chart).hasRendered&&t4.series.forEach((function(t5){t5.type===i3.type&&(t5.isDirty=true)}))}getColumnMetrics(){var _a,_b;let t4=this,e4=t4.options,i3=t4.xAxis,s3=t4.yAxis,r3=i3.options.reversedStacks,o3=i3.reversed&&!r3||!i3.reversed&&r3,n3={},a3,h3=0;false===e4.grouping?h3=1:t4.chart.series.forEach((function(e5){let i4;let r4=e5.yAxis,o4=e5.options;e5.type===t4.type&&e5.reserveSpace()&&s3.len===r4.len&&s3.pos===r4.pos&&(o4.stacking&&"group"!==o4.stacking?(void 0===n3[a3=e5.stackKey]&&(n3[a3]=h3++),i4=n3[a3]):false!==o4.grouping&&(i4=h3++),e5.columnIndex=i4)}));let l3=Math.min(Math.abs(i3.transA)*(!((_a=i3.brokenAxis)==null?void 0:_a.hasBreaks)&&((_b=i3.ordinal)==null?void 0:_b.slope)||e4.pointRange||i3.closestPointRange||i3.tickInterval||1),i3.len),d3=l3*e4.groupPadding,c3=(l3-2*d3)/(h3||1),p3=Math.min(e4.maxPointWidth||i3.len,y2(e4.pointWidth,c3*(1-2*e4.pointPadding))),u3=(t4.columnIndex||0)+(o3?1:0);return t4.columnMetrics={width:p3,offset:(c3-p3)/2+(d3+u3*c3-l3/2)*(o3?-1:1),paddedWidth:c3,columnCount:h3},t4.columnMetrics}crispCol(t4,e4,i3,s3){let r3=this.borderWidth,o3=this.chart.inverted;return s3=c2(e4+s3,r3,o3)-(e4=c2(e4,r3,o3)),this.options.crisp&&(i3=c2(t4+i3,r3)-(t4=c2(t4,r3))),{x:t4,y:e4,width:i3,height:s3}}adjustForMissingColumns(t4,e4,i3,s3){var _a;if(!i3.isNull&&s3.columnCount>1){let r3=this.xAxis.series.filter((t5=>t5.visible)).map((t5=>t5.index)),o3=0,n3=0;b2((_a=this.xAxis.stacking)==null?void 0:_a.stacks,(t5=>{if("number"==typeof i3.x){let e5=t5[i3.x.toString()];if(e5&&f2(e5.points[this.index])){let t6=Object.keys(e5.points).filter((t7=>!t7.match(",")&&e5.points[t7]&&e5.points[t7].length>1)).map(parseFloat).filter((t7=>-1!==r3.indexOf(t7))).sort(((t7,e6)=>e6-t7));o3=t6.indexOf(this.index),n3=t6.length}}})),o3=this.xAxis.reversed?n3-1-o3:o3;let a3=(n3-1)*s3.paddedWidth+e4;t4=(i3.plotX||0)+a3/2-e4-o3*s3.paddedWidth}return t4}translate(){let t4=this,e4=t4.chart,i3=t4.options,s3=t4.dense=t4.closestPointRange*t4.xAxis.transA<2,o3=t4.borderWidth=y2(i3.borderWidth,s3?0:1),n3=t4.xAxis,a3=t4.yAxis,h3=i3.threshold,l3=y2(i3.minPointLength,5),c3=t4.getColumnMetrics(),u3=c3.width,f3=t4.pointXOffset=c3.offset,x3=t4.dataMin,b3=t4.dataMax,v3=t4.translatedThreshold=a3.getThreshold(h3),S2=t4.barW=Math.max(u3,1+2*o3);i3.pointPadding&&(S2=Math.ceil(S2)),r2.prototype.translate.apply(t4),t4.points.forEach((function(s4){let r3=y2(s4.yBottom,v3),o4=999+Math.abs(r3),g3=s4.plotX||0,C2=d2(s4.plotY,-o4,a3.len+o4),k2,M=Math.min(C2,r3),w2=Math.max(C2,r3)-M,T2=u3,A2=g3+f3,P=S2;l3&&Math.abs(w2)<l3&&(w2=l3,k2=!a3.reversed&&!s4.negative||a3.reversed&&s4.negative,m2(h3)&&m2(b3)&&s4.y===h3&&b3<=h3&&(a3.min||0)<h3&&(x3!==b3||(a3.max||0)<=h3)&&(k2=!k2,s4.negative=!s4.negative),M=Math.abs(M-v3)>l3?r3-l3:v3-(k2?l3:0)),p2(s4.options.pointWidth)&&(A2-=Math.round(((T2=P=Math.ceil(s4.options.pointWidth))-u3)/2)),i3.centerInCategory&&!i3.stacking&&(A2=t4.adjustForMissingColumns(A2,T2,s4,c3)),s4.barX=A2,s4.pointWidth=T2,s4.tooltipPos=e4.inverted?[d2(a3.len+a3.pos-e4.plotLeft-C2,a3.pos-e4.plotLeft,a3.len+a3.pos-e4.plotLeft),n3.len+n3.pos-e4.plotTop-A2-P/2,w2]:[n3.left-e4.plotLeft+A2+P/2,d2(C2+a3.pos-e4.plotTop,a3.pos-e4.plotTop,a3.len+a3.pos-e4.plotTop),w2],s4.shapeType=t4.pointClass.prototype.shapeType||"roundedRect",s4.shapeArgs=t4.crispCol(A2,s4.isNull?v3:M,P,s4.isNull?0:w2)})),g2(this,"afterColumnTranslate")}drawGraph(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")}pointAttribs(t4,e4){let i3=this.options,s3=this.pointAttrToOptions||{},r3=s3.stroke||"borderColor",o3=s3["stroke-width"]||"borderWidth",n3,a3,l3,d3=t4&&t4.color||this.color,c3=t4&&t4[r3]||i3[r3]||d3,p3=t4&&t4.options.dashStyle||i3.dashStyle,u3=t4&&t4[o3]||i3[o3]||this[o3]||0,g3=y2(t4&&t4.opacity,i3.opacity,1);t4&&this.zones.length&&(a3=t4.getZone(),d3=t4.options.color||a3&&(a3.color||t4.nonZonedColor)||this.color,a3&&(c3=a3.borderColor||c3,p3=a3.dashStyle||p3,u3=a3.borderWidth||u3)),e4&&t4&&(l3=(n3=x2(i3.states[e4],t4.options.states&&t4.options.states[e4]||{})).brightness,d3=n3.color||void 0!==l3&&h2(d3).brighten(n3.brightness).get()||d3,c3=n3[r3]||c3,u3=n3[o3]||u3,p3=n3.dashStyle||p3,g3=y2(n3.opacity,g3));let f3={fill:d3,stroke:c3,"stroke-width":u3,opacity:g3};return p3&&(f3.dashstyle=p3),f3}drawPoints(t4=this.points){let e4;let i3=this,s3=this.chart,r3=i3.options,o3=s3.renderer,n3=r3.animationLimit||250;t4.forEach((function(t5){let a3=t5.plotY,h3=t5.graphic,l3=!!h3,d3=h3&&s3.pointCount<n3?"animate":"attr";m2(a3)&&null!==t5.y?(e4=t5.shapeArgs,h3&&t5.hasNewShapeType()&&(h3=h3.destroy()),i3.enabledDataSorting&&(t5.startXPos=i3.xAxis.reversed?-(e4&&e4.width||0):i3.xAxis.width),!h3&&(t5.graphic=h3=o3[t5.shapeType](e4).add(t5.group||i3.group),h3&&i3.enabledDataSorting&&s3.hasRendered&&s3.pointCount<n3&&(h3.attr({x:t5.startXPos}),l3=true,d3="animate")),h3&&l3&&h3[d3](x2(e4)),s3.styledMode||h3[d3](i3.pointAttribs(t5,t5.selected&&"select")).shadow(false!==t5.allowShadow&&r3.shadow),h3&&(h3.addClass(t5.getClassName(),true),h3.attr({visibility:t5.visible?"inherit":"hidden"}))):h3&&(t5.graphic=h3.destroy())}))}drawTracker(t4=this.points){let e4;let i3=this,s3=i3.chart,r3=s3.pointer,o3=function(t5){let e5=r3==null?void 0:r3.getPointFromEvent(t5);r3&&e5&&i3.options.enableMouseTracking&&(r3.isDirectTouch=true,e5.onMouseOver(t5))};t4.forEach((function(t5){e4=f2(t5.dataLabels)?t5.dataLabels:t5.dataLabel?[t5.dataLabel]:[],t5.graphic&&(t5.graphic.element.point=t5),e4.forEach((function(e5){(e5.div||e5.element).point=t5}))})),i3._hasTracking||(i3.trackerGroups.forEach((function(t5){i3[t5]&&(i3[t5].addClass("highcharts-tracker").on("mouseover",o3).on("mouseout",(function(t6){r3==null?void 0:r3.onTrackerMouseOut(t6)})).on("touchstart",o3),!s3.styledMode&&i3.options.cursor&&i3[t5].css({cursor:i3.options.cursor}))})),i3._hasTracking=true),g2(this,"afterDrawTracker")}remove(){let t4=this,e4=t4.chart;e4.hasRendered&&e4.series.forEach((function(e5){e5.type===t4.type&&(e5.isDirty=true)})),r2.prototype.remove.apply(t4,arguments)}}return v2.defaultOptions=x2(r2.defaultOptions,i2),u2(v2.prototype,{directTouch:true,getSymbol:l2,negStacks:true,trackerGroups:["group","dataLabelsGroup"]}),o2.registerSeriesType("column",v2),v2})),i(e2,"Core/Series/DataLabel.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Templating.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){var s2;let{getDeferredAnimation:r2}=t3,{format:o2}=e3,{defined:n2,extend:a2,fireEvent:h2,isArray:l2,isString:d2,merge:c2,objectEach:p2,pick:u2,pInt:g2,splat:f2}=i2;return function(t4){function e4(){return v2(this).some((t5=>t5==null?void 0:t5.enabled))}function i3(t5,e5,i4,s4,r3){var _a;let{chart:o3,enabledDataSorting:h3}=this,l3=this.isCartesian&&o3.inverted,d3=t5.plotX,p3=t5.plotY,g3=i4.rotation||0,f3=n2(d3)&&n2(p3)&&o3.isInsidePlot(d3,Math.round(p3),{inverted:l3,paneCoordinates:true,series:this}),m3=0===g3&&"justify"===u2(i4.overflow,h3?"none":"justify"),x3=this.visible&&false!==t5.visible&&n2(d3)&&(t5.series.forceDL||h3&&!m3||f3||u2(i4.inside,!!this.options.stacking)&&s4&&o3.isInsidePlot(d3,l3?s4.x+1:s4.y+s4.height-1,{inverted:l3,paneCoordinates:true,series:this})),y3=t5.pos();if(x3&&y3){var b3;let n3=e5.getBBox(),d4=e5.getBBox(void 0,0),p4={right:1,center:.5}[i4.align||0]||0,v3={bottom:1,middle:.5}[i4.verticalAlign||0]||0;if(s4=a2({x:y3[0],y:Math.round(y3[1]),width:0,height:0},s4||{}),"plotEdges"===i4.alignTo&&this.isCartesian&&(s4[l3?"x":"y"]=0,s4[l3?"width":"height"]=((_a=this.yAxis)==null?void 0:_a.len)||0),a2(i4,{width:n3.width,height:n3.height}),b3=s4,h3&&this.xAxis&&!m3&&this.setDataLabelStartPos(t5,e5,r3,f3,b3),e5.align(c2(i4,{width:d4.width,height:d4.height}),false,s4,false),e5.alignAttr.x+=p4*(d4.width-n3.width),e5.alignAttr.y+=v3*(d4.height-n3.height),e5[e5.placed?"animate":"attr"]({x:e5.alignAttr.x+(n3.width-d4.width)/2,y:e5.alignAttr.y+(n3.height-d4.height)/2,rotationOriginX:(e5.width||0)/2,rotationOriginY:(e5.height||0)/2}),m3&&s4.height>=0)this.justifyDataLabel(e5,i4,e5.alignAttr,n3,s4,r3);else if(u2(i4.crop,true)){let{x:t6,y:i5}=e5.alignAttr;x3=o3.isInsidePlot(t6,i5,{paneCoordinates:true,series:this})&&o3.isInsidePlot(t6+n3.width-1,i5+n3.height-1,{paneCoordinates:true,series:this})}i4.shape&&!g3&&e5[r3?"attr":"animate"]({anchorX:y3[0],anchorY:y3[1]})}r3&&h3&&(e5.placed=false),x3||h3&&!m3?(e5.show(),e5.placed=true):(e5.hide(),e5.placed=false)}function s3(){return this.plotGroup("dataLabelsGroup","data-labels",this.hasRendered?"inherit":"hidden",this.options.dataLabels.zIndex||6)}function m2(t5){let e5=this.hasRendered||0,i4=this.initDataLabelsGroup().attr({opacity:+e5});return!e5&&i4&&(this.visible&&i4.show(),this.options.animation?i4.animate({opacity:1},t5):i4.attr({opacity:1})),i4}function x2(t5){var _a;let e5;t5=t5||this.points;let i4=this,s4=i4.chart,a3=i4.options,l3=s4.renderer,{backgroundColor:c3,plotBackgroundColor:m3}=s4.options.chart,x3=l3.getContrast(d2(m3)&&m3||d2(c3)&&c3||"#000000"),y3=v2(i4),{animation:S3,defer:C2}=y3[0],k2=C2?r2(s4,S3,i4):{defer:0,duration:0};h2(this,"drawDataLabels"),((_a=i4.hasDataLabels)==null?void 0:_a.call(i4))&&(e5=this.initDataLabels(k2),t5.forEach((t6=>{var _a2,_b;let r3=t6.dataLabels||[];f2(b2(y3,t6.dlOptions||((_a2=t6.options)==null?void 0:_a2.dataLabels))).forEach(((c5,f3)=>{let m4=c5.enabled&&(t6.visible||t6.dataLabelOnHidden)&&(!t6.isNull||t6.dataLabelOnNull)&&function(t7,e6){let i5=e6.filter;if(i5){let e7=i5.operator,s5=t7[i5.property],r4=i5.value;return">"===e7&&s5>r4||"<"===e7&&s5<r4||">="===e7&&s5>=r4||"<="===e7&&s5<=r4||"=="===e7&&s5==r4||"==="===e7&&s5===r4||"!="===e7&&s5!=r4||"!=="===e7&&s5!==r4}return true}(t6,c5),{backgroundColor:y4,borderColor:b3,distance:v3,style:S4={}}=c5,C3,k3,M,w2,T2={},A2=r3[f3],P=!A2,L2;m4&&(k3=u2(c5[t6.formatPrefix+"Format"],c5.format),C3=t6.getLabelConfig(),M=n2(k3)?o2(k3,C3,s4):(c5[t6.formatPrefix+"Formatter"]||c5.formatter).call(C3,c5),w2=c5.rotation,!s4.styledMode&&(S4.color=u2(c5.color,S4.color,d2(i4.color)?i4.color:void 0,"#000000"),"contrast"===S4.color?("none"!==y4&&(L2=y4),t6.contrastColor=l3.getContrast("auto"!==L2&&L2||t6.color||i4.color),S4.color=L2||!n2(v3)&&c5.inside||0>g2(v3||0)||a3.stacking?t6.contrastColor:x3):delete t6.contrastColor,a3.cursor&&(S4.cursor=a3.cursor)),T2={r:c5.borderRadius||0,rotation:w2,padding:c5.padding,zIndex:1},s4.styledMode||(T2.fill="auto"===y4?t6.color:y4,T2.stroke="auto"===b3?t6.color:b3,T2["stroke-width"]=c5.borderWidth),p2(T2,((t7,e6)=>{void 0===t7&&delete T2[e6]}))),!A2||m4&&n2(M)&&!!A2.div==!!c5.useHTML&&(A2.rotation&&c5.rotation||A2.rotation===c5.rotation)||(A2=void 0,P=true),m4&&n2(M)&&(A2?T2.text=M:(A2=l3.label(M,0,0,c5.shape,void 0,void 0,c5.useHTML,void 0,"data-label")).addClass(" highcharts-data-label-color-"+t6.colorIndex+" "+(c5.className||"")+(c5.useHTML?" highcharts-tracker":"")),A2&&(A2.options=c5,A2.attr(T2),s4.styledMode?S4.width&&A2.css({width:S4.width,textOverflow:S4.textOverflow}):A2.css(S4).shadow(c5.shadow),h2(A2,"beforeAddingDataLabel",{labelOptions:c5,point:t6}),A2.added||A2.add(e5),i4.alignDataLabel(t6,A2,c5,void 0,P),A2.isActive=true,r3[f3]&&r3[f3]!==A2&&r3[f3].destroy(),r3[f3]=A2))}));let c4=r3.length;for(;c4--;)r3[c4]&&r3[c4].isActive?r3[c4].isActive=false:((_b=r3[c4])==null?void 0:_b.destroy(),r3.splice(c4,1));t6.dataLabel=r3[0],t6.dataLabels=r3}))),h2(this,"afterDrawDataLabels")}function y2(t5,e5,i4,s4,r3,o3){let n3=this.chart,a3=e5.align,h3=e5.verticalAlign,l3=t5.box?0:t5.padding||0,d3=n3.inverted?this.yAxis:this.xAxis,c3=d3?d3.left-n3.plotLeft:0,p3=n3.inverted?this.xAxis:this.yAxis,u3=p3?p3.top-n3.plotTop:0,{x:g3=0,y:f3=0}=e5,m3,x3;return(m3=(i4.x||0)+l3+c3)<0&&("right"===a3&&g3>=0?(e5.align="left",e5.inside=true):g3-=m3,x3=true),(m3=(i4.x||0)+s4.width-l3+c3)>n3.plotWidth&&("left"===a3&&g3<=0?(e5.align="right",e5.inside=true):g3+=n3.plotWidth-m3,x3=true),(m3=i4.y+l3+u3)<0&&("bottom"===h3&&f3>=0?(e5.verticalAlign="top",e5.inside=true):f3-=m3,x3=true),(m3=(i4.y||0)+s4.height-l3+u3)>n3.plotHeight&&("top"===h3&&f3<=0?(e5.verticalAlign="bottom",e5.inside=true):f3+=n3.plotHeight-m3,x3=true),x3&&(e5.x=g3,e5.y=f3,t5.placed=!o3,t5.align(e5,void 0,r3)),x3}function b2(t5,e5){let i4=[],s4;if(l2(t5)&&!l2(e5))i4=t5.map((function(t6){return c2(t6,e5)}));else if(l2(e5)&&!l2(t5))i4=e5.map((function(e6){return c2(t5,e6)}));else if(l2(t5)||l2(e5)){if(l2(t5)&&l2(e5))for(s4=Math.max(t5.length,e5.length);s4--;)i4[s4]=c2(t5[s4],e5[s4])}else i4=c2(t5,e5);return i4}function v2(t5){var _a,_b;let e5=t5.chart.options.plotOptions;return f2(b2(b2((_a=e5==null?void 0:e5.series)==null?void 0:_a.dataLabels,(_b=e5==null?void 0:e5[t5.type])==null?void 0:_b.dataLabels),t5.options.dataLabels))}function S2(t5,e5,i4,s4,r3){let o3=this.chart,n3=o3.inverted,a3=this.xAxis,h3=a3.reversed,l3=((n3?e5.height:e5.width)||0)/2,d3=t5.pointWidth,c3=d3?d3/2:0;e5.startXPos=n3?r3.x:h3?-l3-c3:a3.width-l3+c3,e5.startYPos=n3?h3?this.yAxis.height-l3+c3:-l3-c3:r3.y,s4?"hidden"===e5.visibility&&(e5.show(),e5.attr({opacity:0}).animate({opacity:1})):e5.attr({opacity:1}).animate({opacity:0},void 0,e5.hide),o3.hasRendered&&(i4&&e5.attr({x:e5.startXPos,y:e5.startYPos}),e5.placed=true)}t4.compose=function(t5){let r3=t5.prototype;r3.initDataLabels||(r3.initDataLabels=m2,r3.initDataLabelsGroup=s3,r3.alignDataLabel=i3,r3.drawDataLabels=x2,r3.justifyDataLabel=y2,r3.setDataLabelStartPos=S2,r3.hasDataLabels=e4)}}(s2||(s2={})),s2})),i(e2,"Series/Column/ColumnDataLabel.js",[e2["Core/Series/DataLabel.js"],e2["Core/Globals.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){var r2;let{composed:o2}=e3,{series:n2}=i2,{merge:a2,pick:h2,pushUnique:l2}=s2;return function(e4){function i3(t4,e5,i4,s3,r3){let o3=this.chart.inverted,l3=t4.series,d2=(l3.xAxis?l3.xAxis.len:this.chart.plotSizeX)||0,c2=(l3.yAxis?l3.yAxis.len:this.chart.plotSizeY)||0,p2=t4.dlBox||t4.shapeArgs,u2=h2(t4.below,t4.plotY>h2(this.translatedThreshold,c2)),g2=h2(i4.inside,!!this.options.stacking);if(p2){if(s3=a2(p2),!("allow"===i4.overflow&&false===i4.crop)){s3.y<0&&(s3.height+=s3.y,s3.y=0);let t5=s3.y+s3.height-c2;t5>0&&t5<s3.height-1&&(s3.height-=t5)}o3&&(s3={x:c2-s3.y-s3.height,y:d2-s3.x-s3.width,width:s3.height,height:s3.width}),g2||(o3?(s3.x+=u2?0:s3.width,s3.width=0):(s3.y+=u2?s3.height:0,s3.height=0))}i4.align=h2(i4.align,!o3||g2?"center":u2?"right":"left"),i4.verticalAlign=h2(i4.verticalAlign,o3||g2?"middle":u2?"top":"bottom"),n2.prototype.alignDataLabel.call(this,t4,e5,i4,s3,r3),i4.inside&&t4.contrastColor&&e5.css({color:t4.contrastColor})}e4.compose=function(e5){t3.compose(n2),l2(o2,"ColumnDataLabel")&&(e5.prototype.alignDataLabel=i3)}}(r2||(r2={})),r2})),i(e2,"Series/Bar/BarSeries.js",[e2["Series/Column/ColumnSeries.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{extend:s2,merge:r2}=i2;class o2 extends t3{}return o2.defaultOptions=r2(t3.defaultOptions,{}),s2(o2.prototype,{inverted:true}),e3.registerSeriesType("bar",o2),o2})),i(e2,"Series/Scatter/ScatterSeriesDefaults.js",[],(function(){return{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:true},tooltip:{headerFormat:'<span style="color:{point.color}">●</span> <span style="font-size: 0.8em"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}})),i(e2,"Series/Scatter/ScatterSeries.js",[e2["Series/Scatter/ScatterSeriesDefaults.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{column:s2,line:r2}=e3.seriesTypes,{addEvent:o2,extend:n2,merge:a2}=i2;class h2 extends r2{applyJitter(){let t4=this,e4=this.options.jitter,i3=this.points.length;e4&&this.points.forEach((function(s3,r3){["x","y"].forEach((function(o3,n3){if(e4[o3]&&!s3.isNull){let a3=`plot${o3.toUpperCase()}`,h3=t4[`${o3}Axis`],l2=e4[o3]*h3.transA;if(h3&&!h3.logarithmic){let t5=Math.max(0,(s3[a3]||0)-l2),e5=Math.min(h3.len,(s3[a3]||0)+l2);s3[a3]=t5+(e5-t5)*function(t6){let e6=1e4*Math.sin(t6);return e6-Math.floor(e6)}(r3+n3*i3),"x"===o3&&(s3.clientX=s3.plotX)}}}))}))}drawGraph(){this.options.lineWidth?super.drawGraph():this.graph&&(this.graph=this.graph.destroy())}}return h2.defaultOptions=a2(r2.defaultOptions,t3),n2(h2.prototype,{drawTracker:s2.prototype.drawTracker,sorted:false,requireSorting:false,noSharedTooltip:true,trackerGroups:["group","markerGroup","dataLabelsGroup"]}),o2(h2,"afterTranslate",(function(){this.applyJitter()})),e3.registerSeriesType("scatter",h2),h2})),i(e2,"Series/CenteredUtilities.js",[e2["Core/Globals.js"],e2["Core/Series/Series.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){var s2,r2;let{deg2rad:o2}=t3,{fireEvent:n2,isNumber:a2,pick:h2,relativeLength:l2}=i2;return(r2=s2||(s2={})).getCenter=function(){let t4=this.options,i3=this.chart,s3=2*(t4.slicedOffset||0),r3=i3.plotWidth-2*s3,o3=i3.plotHeight-2*s3,d2=t4.center,c2=Math.min(r3,o3),p2=t4.thickness,u2,g2=t4.size,f2=t4.innerSize||0,m2,x2;"string"==typeof g2&&(g2=parseFloat(g2)),"string"==typeof f2&&(f2=parseFloat(f2));let y2=[h2(d2[0],"50%"),h2(d2[1],"50%"),h2(g2&&g2<0?void 0:t4.size,"100%"),h2(f2&&f2<0?void 0:t4.innerSize||0,"0%")];for(!i3.angular||this instanceof e3||(y2[3]=0),m2=0;m2<4;++m2)x2=y2[m2],u2=m2<2||2===m2&&/%$/.test(x2),y2[m2]=l2(x2,[r3,o3,c2,y2[2]][m2])+(u2?s3:0);return y2[3]>y2[2]&&(y2[3]=y2[2]),a2(p2)&&2*p2<y2[2]&&p2>0&&(y2[3]=y2[2]-2*p2),n2(this,"afterGetCenter",{positions:y2}),y2},r2.getStartAndEndRadians=function(t4,e4){let i3=a2(t4)?t4:0,s3=a2(e4)&&e4>i3&&e4-i3<360?e4:i3+360;return{start:o2*(i3+-90),end:o2*(s3+-90)}},s2})),i(e2,"Series/Pie/PiePoint.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Series/Point.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{setAnimation:s2}=t3,{addEvent:r2,defined:o2,extend:n2,isNumber:a2,pick:h2,relativeLength:l2}=i2;class d2 extends e3{getConnectorPath(t4){let e4=t4.dataLabelPosition,i3=t4.options||{},s3=i3.connectorShape,r3=this.connectorShapes[s3]||s3;return e4&&r3.call(this,{...e4.computed,alignment:e4.alignment},e4.connectorPosition,i3)||[]}getTranslate(){return this.sliced&&this.slicedTranslation||{translateX:0,translateY:0}}haloPath(t4){let e4=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e4.x,e4.y,e4.r+t4,e4.r+t4,{innerR:e4.r-1,start:e4.start,end:e4.end,borderRadius:e4.borderRadius})}constructor(t4,e4,i3){super(t4,e4,i3),this.half=0,this.name??(this.name="Slice");let s3=t5=>{this.slice("select"===t5.type)};r2(this,"select",s3),r2(this,"unselect",s3)}isValid(){return a2(this.y)&&this.y>=0}setVisible(t4,e4=true){t4!==this.visible&&this.update({visible:t4??!this.visible},e4,void 0,false)}slice(t4,e4,i3){let r3=this.series;s2(i3,r3.chart),e4=h2(e4,true),this.sliced=this.options.sliced=t4=o2(t4)?t4:!this.sliced,r3.options.data[r3.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate())}}return n2(d2.prototype,{connectorShapes:{fixedOffset:function(t4,e4,i3){let s3=e4.breakAt,r3=e4.touchingSliceAt,o3=i3.softConnector?["C",t4.x+("left"===t4.alignment?-5:5),t4.y,2*s3.x-r3.x,2*s3.y-r3.y,s3.x,s3.y]:["L",s3.x,s3.y];return[["M",t4.x,t4.y],o3,["L",r3.x,r3.y]]},straight:function(t4,e4){let i3=e4.touchingSliceAt;return[["M",t4.x,t4.y],["L",i3.x,i3.y]]},crookedLine:function(t4,e4,i3){let{breakAt:s3,touchingSliceAt:r3}=e4,{series:o3}=this,[n3,a3,h3]=o3.center,d3=h3/2,{plotLeft:c2,plotWidth:p2}=o3.chart,u2="left"===t4.alignment,{x:g2,y:f2}=t4,m2=s3.x;if(i3.crookDistance){let t5=l2(i3.crookDistance,1);m2=u2?n3+d3+(p2+c2-n3-d3)*(1-t5):c2+(n3-d3)*t5}else m2=n3+(a3-f2)*Math.tan((this.angle||0)-Math.PI/2);let x2=[["M",g2,f2]];return(u2?m2<=g2&&m2>=s3.x:m2>=g2&&m2<=s3.x)&&x2.push(["L",m2,f2]),x2.push(["L",s3.x,s3.y],["L",r3.x,r3.y]),x2}}}),d2})),i(e2,"Series/Pie/PieSeriesDefaults.js",[],(function(){return{borderRadius:3,center:[null,null],clip:false,colorByPoint:true,dataLabels:{connectorPadding:5,connectorShape:"crookedLine",crookDistance:void 0,distance:30,enabled:true,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:true,x:0},fillColor:void 0,ignoreHiddenPoint:true,inactiveOtherPoints:true,legendType:"point",marker:null,size:null,showInLegend:false,slicedOffset:10,stickyTracking:false,tooltip:{followPointer:true},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}})),i(e2,"Series/Pie/PieSeries.js",[e2["Series/CenteredUtilities.js"],e2["Series/Column/ColumnSeries.js"],e2["Core/Globals.js"],e2["Series/Pie/PiePoint.js"],e2["Series/Pie/PieSeriesDefaults.js"],e2["Core/Series/Series.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Renderer/SVG/Symbols.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2,o2,n2,a2,h2){let{getStartAndEndRadians:l2}=t3,{noop:d2}=i2,{clamp:c2,extend:p2,fireEvent:u2,merge:g2,pick:f2}=h2;class m2 extends o2{animate(t4){let e4=this,i3=e4.points,s3=e4.startAngleRad;t4||i3.forEach((function(t5){let i4=t5.graphic,r3=t5.shapeArgs;i4&&r3&&(i4.attr({r:f2(t5.startR,e4.center&&e4.center[3]/2),start:s3,end:s3}),i4.animate({r:r3.r,start:r3.start,end:r3.end},e4.options.animation))}))}drawEmpty(){let t4,e4;let i3=this.startAngleRad,s3=this.endAngleRad,r3=this.options;0===this.total&&this.center?(t4=this.center[0],e4=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(t4,e4,this.center[1]/2,0,i3,s3).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:a2.arc(t4,e4,this.center[2]/2,0,{start:i3,end:s3,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":r3.borderWidth,fill:r3.fillColor||"none",stroke:r3.color||"#cccccc"})):this.graph&&(this.graph=this.graph.destroy())}drawPoints(){let t4=this.chart.renderer;this.points.forEach((function(e4){e4.graphic&&e4.hasNewShapeType()&&(e4.graphic=e4.graphic.destroy()),e4.graphic||(e4.graphic=t4[e4.shapeType](e4.shapeArgs).add(e4.series.group),e4.delayedRendering=true)}))}generatePoints(){super.generatePoints(),this.updateTotals()}getX(t4,e4,i3,s3){let r3=this.center,o3=this.radii?this.radii[i3.index]||0:r3[2]/2,n3=s3.dataLabelPosition,a3=(n3==null?void 0:n3.distance)||0,h3=Math.asin(c2((t4-r3[1])/(o3+a3),-1,1));return r3[0]+Math.cos(h3)*(o3+a3)*(e4?-1:1)+(a3>0?(e4?-1:1)*(s3.padding||0):0)}hasData(){return!!this.processedXData.length}redrawPoints(){let t4,e4,i3,s3;let r3=this,o3=r3.chart;this.drawEmpty(),r3.group&&!o3.styledMode&&r3.group.shadow(r3.options.shadow),r3.points.forEach((function(n3){let a3={};e4=n3.graphic,!n3.isNull&&e4?(s3=n3.shapeArgs,t4=n3.getTranslate(),o3.styledMode||(i3=r3.pointAttribs(n3,n3.selected&&"select")),n3.delayedRendering?(e4.setRadialReference(r3.center).attr(s3).attr(t4),o3.styledMode||e4.attr(i3).attr({"stroke-linejoin":"round"}),n3.delayedRendering=false):(e4.setRadialReference(r3.center),o3.styledMode||g2(true,a3,i3),g2(true,a3,s3,t4),e4.animate(a3)),e4.attr({visibility:n3.visible?"inherit":"hidden"}),e4.addClass(n3.getClassName(),true)):e4&&(n3.graphic=e4.destroy())}))}sortByAngle(t4,e4){t4.sort((function(t5,i3){return void 0!==t5.angle&&(i3.angle-t5.angle)*e4}))}translate(t4){u2(this,"translate"),this.generatePoints();let e4=this.options,i3=e4.slicedOffset,s3=l2(e4.startAngle,e4.endAngle),r3=this.startAngleRad=s3.start,o3=(this.endAngleRad=s3.end)-r3,n3=this.points,a3=e4.ignoreHiddenPoint,h3=n3.length,d3,c3,p3,g3,f3,m3,x2,y2=0;for(t4||(this.center=t4=this.getCenter()),m3=0;m3<h3;m3++){x2=n3[m3],d3=r3+y2*o3,x2.isValid()&&(!a3||x2.visible)&&(y2+=x2.percentage/100),c3=r3+y2*o3;let e5={x:t4[0],y:t4[1],r:t4[2]/2,innerR:t4[3]/2,start:Math.round(1e3*d3)/1e3,end:Math.round(1e3*c3)/1e3};x2.shapeType="arc",x2.shapeArgs=e5,(p3=(c3+d3)/2)>1.5*Math.PI?p3-=2*Math.PI:p3<-Math.PI/2&&(p3+=2*Math.PI),x2.slicedTranslation={translateX:Math.round(Math.cos(p3)*i3),translateY:Math.round(Math.sin(p3)*i3)},g3=Math.cos(p3)*t4[2]/2,f3=Math.sin(p3)*t4[2]/2,x2.tooltipPos=[t4[0]+.7*g3,t4[1]+.7*f3],x2.half=p3<-Math.PI/2||p3>Math.PI/2?1:0,x2.angle=p3}u2(this,"afterTranslate")}updateTotals(){let t4=this.points,e4=t4.length,i3=this.options.ignoreHiddenPoint,s3,r3,o3=0;for(s3=0;s3<e4;s3++)(r3=t4[s3]).isValid()&&(!i3||r3.visible)&&(o3+=r3.y);for(s3=0,this.total=o3;s3<e4;s3++)(r3=t4[s3]).percentage=o3>0&&(r3.visible||!i3)?r3.y/o3*100:0,r3.total=o3}}return m2.defaultOptions=g2(o2.defaultOptions,r2),p2(m2.prototype,{axisTypes:[],directTouch:true,drawGraph:void 0,drawTracker:e3.prototype.drawTracker,getCenter:t3.getCenter,getSymbol:d2,invertible:false,isCartesian:false,noSharedTooltip:true,pointAttribs:e3.prototype.pointAttribs,pointClass:s2,requireSorting:false,searchPoint:d2,trackerGroups:["group","dataLabelsGroup"]}),n2.registerSeriesType("pie",m2),m2})),i(e2,"Series/Pie/PieDataLabel.js",[e2["Core/Series/DataLabel.js"],e2["Core/Globals.js"],e2["Core/Renderer/RendererUtilities.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2){var o2;let{composed:n2,noop:a2}=e3,{distribute:h2}=i2,{series:l2}=s2,{arrayMax:d2,clamp:c2,defined:p2,pick:u2,pushUnique:g2,relativeLength:f2}=r2;return function(e4){let i3={radialDistributionY:function(t4,e5){var _a;return(((_a=e5.dataLabelPosition)==null?void 0:_a.top)||0)+t4.distributeBox.pos},radialDistributionX:function(t4,e5,i4,s4,r4){let o4=r4.dataLabelPosition;return t4.getX(i4<((o4==null?void 0:o4.top)||0)+2||i4>((o4==null?void 0:o4.bottom)||0)-2?s4:i4,e5.half,e5,r4)},justify:function(t4,e5,i4,s4){var _a;return s4[0]+(t4.half?-1:1)*(i4+(((_a=e5.dataLabelPosition)==null?void 0:_a.distance)||0))},alignToPlotEdges:function(t4,e5,i4,s4){let r4=t4.getBBox().width;return e5?r4+s4:i4-r4-s4},alignToConnectors:function(t4,e5,i4,s4){let r4=0,o4;return t4.forEach((function(t5){(o4=t5.dataLabel.getBBox().width)>r4&&(r4=o4)})),e5?r4+s4:i4-r4-s4}};function s3(t4,e5){let{center:i4,options:s4}=this,r4=i4[2]/2,o4=t4.angle||0,n3=Math.cos(o4),a3=Math.sin(o4),h3=i4[0]+n3*r4,l3=i4[1]+a3*r4,d3=Math.min((s4.slicedOffset||0)+(s4.borderWidth||0),e5/5);return{natural:{x:h3+n3*e5,y:l3+a3*e5},computed:{},alignment:e5<0?"center":t4.half?"right":"left",connectorPosition:{breakAt:{x:h3+n3*d3,y:l3+a3*d3},touchingSliceAt:{x:h3,y:l3}},distance:e5}}function r3(){var _a;let t4=this,e5=t4.points,i4=t4.chart,s4=i4.plotWidth,r4=i4.plotHeight,o4=i4.plotLeft,n3=Math.round(i4.chartWidth/3),a3=t4.center,c3=a3[2]/2,g3=a3[1],m3=[[],[]],x2=[0,0,0,0],y2=t4.dataLabelPositioners,b2,v2,S2,C2=0;t4.visible&&((_a=t4.hasDataLabels)==null?void 0:_a.call(t4))&&(e5.forEach((t5=>{(t5.dataLabels||[]).forEach((t6=>{t6.shortened&&(t6.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t6.shortened=false)}))})),l2.prototype.drawDataLabels.apply(t4),e5.forEach((t5=>{(t5.dataLabels||[]).forEach(((e6,i5)=>{var _a2;let s5=a3[2]/2,r5=e6.options,o5=f2((r5==null?void 0:r5.distance)||0,s5);0===i5&&m3[t5.half].push(t5),!p2((_a2=r5==null?void 0:r5.style)==null?void 0:_a2.width)&&e6.getBBox().width>n3&&(e6.css({width:Math.round(.7*n3)+"px"}),e6.shortened=true),e6.dataLabelPosition=this.getDataLabelPosition(t5,o5),C2=Math.max(C2,o5)}))})),m3.forEach(((e6,n4)=>{let l3=e6.length,d3=[],f3,m4,b3=0,k2;l3&&(t4.sortByAngle(e6,n4-.5),C2>0&&(f3=Math.max(0,g3-c3-C2),m4=Math.min(g3+c3+C2,i4.plotHeight),e6.forEach((t5=>{(t5.dataLabels||[]).forEach((e7=>{var _a2;let s5=e7.dataLabelPosition;s5&&s5.distance>0&&(s5.top=Math.max(0,g3-c3-s5.distance),s5.bottom=Math.min(g3+c3+s5.distance,i4.plotHeight),b3=e7.getBBox().height||21,e7.lineHeight=i4.renderer.fontMetrics(e7.text||e7).h+2*e7.padding,t5.distributeBox={target:(((_a2=e7.dataLabelPosition)==null?void 0:_a2.natural.y)||0)-s5.top+e7.lineHeight/2,size:b3,rank:t5.y},d3.push(t5.distributeBox))}))})),h2(d3,k2=m4+b3-f3,k2/5)),e6.forEach((i5=>{(i5.dataLabels||[]).forEach((h3=>{let l4=h3.options||{},g4=i5.distributeBox,f4=h3.dataLabelPosition,m5=(f4==null?void 0:f4.natural.y)||0,b4=l4.connectorPadding||0,C3=h3.lineHeight||21,k3=(C3-h3.getBBox().height)/2,M=0,w2=m5,T2="inherit";if(f4){if(d3&&p2(g4)&&f4.distance>0&&(void 0===g4.pos?T2="hidden":(S2=g4.size,w2=y2.radialDistributionY(i5,h3))),l4.justify)M=y2.justify(i5,h3,c3,a3);else switch(l4.alignTo){case"connectors":M=y2.alignToConnectors(e6,n4,s4,o4);break;case"plotEdges":M=y2.alignToPlotEdges(h3,n4,s4,o4);break;default:M=y2.radialDistributionX(t4,i5,w2-k3,m5,h3)}if(f4.attribs={visibility:T2,align:f4.alignment},f4.posAttribs={x:M+(l4.x||0)+({left:b4,right:-b4}[f4.alignment]||0),y:w2+(l4.y||0)-C3/2},f4.computed.x=M,f4.computed.y=w2-k3,u2(l4.crop,true)){let t5;M-(v2=h3.getBBox().width)<b4&&1===n4?(t5=Math.round(v2-M+b4),x2[3]=Math.max(t5,x2[3])):M+v2>s4-b4&&0===n4&&(t5=Math.round(M+v2-s4+b4),x2[1]=Math.max(t5,x2[1])),w2-S2/2<0?x2[0]=Math.max(Math.round(-w2+S2/2),x2[0]):w2+S2/2>r4&&(x2[2]=Math.max(Math.round(w2+S2/2-r4),x2[2])),f4.sideOverflow=t5}}}))})))})),(0===d2(x2)||this.verifyDataLabelOverflow(x2))&&(this.placeDataLabels(),this.points.forEach((e6=>{(e6.dataLabels||[]).forEach((s5=>{var _a2;let{connectorColor:r5,connectorWidth:o5=1}=s5.options||{},n4=s5.dataLabelPosition;if(o5){let a4;b2=s5.connector,n4&&n4.distance>0?(a4=!b2,b2||(s5.connector=b2=i4.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+e6.colorIndex+(e6.className?" "+e6.className:"")).add(t4.dataLabelsGroup)),i4.styledMode||b2.attr({"stroke-width":o5,stroke:r5||e6.color||"#666666"}),b2[a4?"attr":"animate"]({d:e6.getConnectorPath(s5)}),b2.attr({visibility:(_a2=n4.attribs)==null?void 0:_a2.visibility})):b2&&(s5.connector=b2.destroy())}}))}))))}function o3(){this.points.forEach((t4=>{(t4.dataLabels||[]).forEach((t5=>{var _a;let e5=t5.dataLabelPosition;e5?(e5.sideOverflow&&(t5.css({width:Math.max(t5.getBBox().width-e5.sideOverflow,0)+"px",textOverflow:(((_a=t5.options)==null?void 0:_a.style)||{}).textOverflow||"ellipsis"}),t5.shortened=true),t5.attr(e5.attribs),t5[t5.moved?"animate":"attr"](e5.posAttribs),t5.moved=true):t5&&t5.attr({y:-9999})})),delete t4.distributeBox}),this)}function m2(t4){let e5=this.center,i4=this.options,s4=i4.center,r4=i4.minSize||80,o4=r4,n3=null!==i4.size;return!n3&&(null!==s4[0]?o4=Math.max(e5[2]-Math.max(t4[1],t4[3]),r4):(o4=Math.max(e5[2]-t4[1]-t4[3],r4),e5[0]+=(t4[3]-t4[1])/2),null!==s4[1]?o4=c2(o4,r4,e5[2]-Math.max(t4[0],t4[2])):(o4=c2(o4,r4,e5[2]-t4[0]-t4[2]),e5[1]+=(t4[0]-t4[2])/2),o4<e5[2]?(e5[2]=o4,e5[3]=Math.min(i4.thickness?Math.max(0,o4-2*i4.thickness):Math.max(0,f2(i4.innerSize||0,o4)),o4),this.translate(e5),this.drawDataLabels&&this.drawDataLabels()):n3=true),n3}e4.compose=function(e5){if(t3.compose(l2),g2(n2,"PieDataLabel")){let t4=e5.prototype;t4.dataLabelPositioners=i3,t4.alignDataLabel=a2,t4.drawDataLabels=r3,t4.getDataLabelPosition=s3,t4.placeDataLabels=o3,t4.verifyDataLabelOverflow=m2}}}(o2||(o2={})),o2})),i(e2,"Core/Geometry/GeometryUtilities.js",[],(function(){var t3,e3;return(e3=t3||(t3={})).getCenterOfPoints=function(t4){let e4=t4.reduce(((t5,e5)=>(t5.x+=e5.x,t5.y+=e5.y,t5)),{x:0,y:0});return{x:e4.x/t4.length,y:e4.y/t4.length}},e3.getDistanceBetweenPoints=function(t4,e4){return Math.sqrt(Math.pow(e4.x-t4.x,2)+Math.pow(e4.y-t4.y,2))},e3.getAngleBetweenPoints=function(t4,e4){return Math.atan2(e4.x-t4.x,e4.y-t4.y)},e3.pointInPolygon=function({x:t4,y:e4},i2){let s2=i2.length,r2,o2,n2=false;for(r2=0,o2=s2-1;r2<s2;o2=r2++){let[s3,a2]=i2[r2],[h2,l2]=i2[o2];a2>e4!=l2>e4&&t4<(h2-s3)*(e4-a2)/(l2-a2)+s3&&(n2=!n2)}return n2},t3})),i(e2,"Extensions/OverlappingDataLabels.js",[e2["Core/Geometry/GeometryUtilities.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{pointInPolygon:i2}=t3,{addEvent:s2,fireEvent:r2,objectEach:o2,pick:n2}=e3;function a2(t4){let e4=t4.length,s3=(t5,e5)=>!(e5.x>=t5.x+t5.width||e5.x+e5.width<=t5.x||e5.y>=t5.y+t5.height||e5.y+e5.height<=t5.y),o3=(t5,e5)=>{for(let s4 of t5)if(i2({x:s4[0],y:s4[1]},e5))return true;return false},n3,a3,l3,d2,c2,p2=false;for(let i3=0;i3<e4;i3++)(n3=t4[i3])&&(n3.oldOpacity=n3.opacity,n3.newOpacity=1,n3.absoluteBox=function(t5){var _a,_b;if(t5&&(!t5.alignAttr||t5.placed)){let e5=t5.box?0:t5.padding||0,i4=t5.alignAttr||{x:t5.attr("x"),y:t5.attr("y")},s4=t5.getBBox();return t5.width=s4.width,t5.height=s4.height,{x:i4.x+(((_a=t5.parentGroup)==null?void 0:_a.translateX)||0)+e5,y:i4.y+(((_b=t5.parentGroup)==null?void 0:_b.translateY)||0)+e5,width:(t5.width||0)-2*e5,height:(t5.height||0)-2*e5,polygon:s4==null?void 0:s4.polygon}}}(n3));t4.sort(((t5,e5)=>(e5.labelrank||0)-(t5.labelrank||0)));for(let i3=0;i3<e4;++i3){d2=(a3=t4[i3])&&a3.absoluteBox;let r3=d2==null?void 0:d2.polygon;for(let n4=i3+1;n4<e4;++n4){c2=(l3=t4[n4])&&l3.absoluteBox;let e5=false;if(d2&&c2&&a3!==l3&&0!==a3.newOpacity&&0!==l3.newOpacity&&"hidden"!==a3.visibility&&"hidden"!==l3.visibility){let t5=c2.polygon;if(r3&&t5&&r3!==t5?o3(r3,t5)&&(e5=true):s3(d2,c2)&&(e5=true),e5){let t6=a3.labelrank<l3.labelrank?a3:l3,e6=t6.text;t6.newOpacity=0,(e6==null?void 0:e6.element.querySelector("textPath"))&&e6.hide()}}}}for(let e5 of t4)h2(e5,this)&&(p2=true);p2&&r2(this,"afterHideAllOverlappingLabels")}function h2(t4,e4){let i3,s3,o3=false;return t4&&(s3=t4.newOpacity,t4.oldOpacity!==s3&&(t4.hasClass("highcharts-data-label")?(t4[s3?"removeClass":"addClass"]("highcharts-data-label-hidden"),i3=function(){e4.styledMode||t4.css({pointerEvents:s3?"auto":"none"})},o3=true,t4[t4.isOld?"animate":"attr"]({opacity:s3},void 0,i3),r2(e4,"afterHideOverlappingLabel")):t4.attr({opacity:s3})),t4.isOld=true),o3}function l2(){var _a;let t4=this,e4=[];for(let i3 of t4.labelCollectors||[])e4=e4.concat(i3());for(let i3 of t4.yAxis||[])i3.stacking&&i3.options.stackLabels&&!i3.options.stackLabels.allowOverlap&&o2(i3.stacking.stacks,(t5=>{o2(t5,(t6=>{t6.label&&e4.push(t6.label)}))}));for(let i3 of t4.series||[])if(i3.visible&&((_a=i3.hasDataLabels)==null?void 0:_a.call(i3))){let s3=i4=>{for(let s4 of i4)s4.visible&&(s4.dataLabels||[]).forEach((i5=>{var _a2;let r3=i5.options||{};i5.labelrank=n2(r3.labelrank,s4.labelrank,(_a2=s4.shapeArgs)==null?void 0:_a2.height),r3.allowOverlap??Number(r3.distance)>0?(i5.oldOpacity=i5.opacity,i5.newOpacity=1,h2(i5,t4)):e4.push(i5)}))};s3(i3.nodes||[]),s3(i3.points)}this.hideOverlappingLabels(e4)}return{compose:function(t4){let e4=t4.prototype;e4.hideOverlappingLabels||(e4.hideOverlappingLabels=a2,s2(t4,"render",l2))}}})),i(e2,"Extensions/BorderRadius.js",[e2["Core/Defaults.js"],e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{defaultOptions:s2}=t3,{noop:r2}=e3,{addEvent:o2,extend:n2,isObject:a2,merge:h2,relativeLength:l2}=i2,d2={radius:0,scope:"stack",where:void 0},c2=r2,p2=r2;function u2(t4,e4,i3,s3,r3={}){let o3=c2(t4,e4,i3,s3,r3),{innerR:n3=0,r:a3=i3,start:h3=0,end:d3=0}=r3;if(r3.open||!r3.borderRadius)return o3;let p3=d3-h3,g3=Math.sin(p3/2),f3=Math.max(Math.min(l2(r3.borderRadius||0,a3-n3),(a3-n3)/2,a3*g3/(1+g3)),0),m3=Math.min(f3,p3/Math.PI*2*n3),x3=o3.length-1;for(;x3--;)!function(t5,e5,i4){let s4,r4,o4;let n4=t5[e5],a4=t5[e5+1];if("Z"===a4[0]&&(a4=t5[0]),("M"===n4[0]||"L"===n4[0])&&"A"===a4[0]?(s4=n4,r4=a4,o4=true):"A"===n4[0]&&("M"===a4[0]||"L"===a4[0])&&(s4=a4,r4=n4),s4&&r4&&r4.params){let n5=r4[1],a5=r4[5],h4=r4.params,{start:l3,end:d4,cx:c3,cy:p4}=h4,u3=a5?n5-i4:n5+i4,g4=u3?Math.asin(i4/u3):0,f4=a5?g4:-g4,m4=Math.cos(g4)*u3;o4?(h4.start=l3+f4,s4[1]=c3+m4*Math.cos(l3),s4[2]=p4+m4*Math.sin(l3),t5.splice(e5+1,0,["A",i4,i4,0,0,1,c3+n5*Math.cos(h4.start),p4+n5*Math.sin(h4.start)])):(h4.end=d4-f4,r4[6]=c3+n5*Math.cos(h4.end),r4[7]=p4+n5*Math.sin(h4.end),t5.splice(e5+1,0,["A",i4,i4,0,0,1,c3+m4*Math.cos(d4),p4+m4*Math.sin(d4)])),r4[4]=Math.abs(h4.end-h4.start)<Math.PI?0:1}}(o3,x3,x3>1?m3:f3);return o3}function g2(){var _a,_b;if(this.options.borderRadius&&!(this.chart.is3d&&this.chart.is3d())){let{options:t4,yAxis:e4}=this,i3="percent"===t4.stacking,r3=(_b=(_a=s2.plotOptions)==null?void 0:_a[this.type])==null?void 0:_b.borderRadius,o3=f2(t4.borderRadius,a2(r3)?r3:{}),h3=e4.options.reversed;for(let s3 of this.points){let{shapeArgs:r4}=s3;if("roundedRect"===s3.shapeType&&r4){let{width:a3=0,height:d3=0,y:c3=0}=r4,p3=c3,u3=d3;if("stack"===o3.scope&&s3.stackTotal){let r5=e4.translate(i3?100:s3.stackTotal,false,true,false,true),o4=e4.translate(t4.threshold||0,false,true,false,true),n3=this.crispCol(0,Math.min(r5,o4),0,Math.abs(r5-o4));p3=n3.y,u3=n3.height}let g3=(s3.negative?-1:1)*(h3?-1:1)==-1,f3=o3.where;!f3&&this.is("waterfall")&&Math.abs((s3.yBottom||0)-(this.translatedThreshold||0))>this.borderWidth&&(f3="all"),f3||(f3="end");let m3=Math.min(l2(o3.radius,a3),a3/2,"all"===f3?d3/2:1/0)||0;"end"===f3&&(g3&&(p3-=m3),u3+=m3),n2(r4,{brBoxHeight:u3,brBoxY:p3,r:m3})}}}}function f2(t4,e4){return a2(t4)||(t4={radius:t4||0}),h2(d2,e4,t4)}function m2(){let t4=f2(this.options.borderRadius);for(let e4 of this.points){let i3=e4.shapeArgs;i3&&(i3.borderRadius=l2(t4.radius,(i3.r||0)-(i3.innerR||0)))}}function x2(t4,e4,i3,s3,r3={}){let o3=p2(t4,e4,i3,s3,r3),{r:n3=0,brBoxHeight:a3=s3,brBoxY:h3=e4}=r3,l3=e4-h3,d3=h3+a3-(e4+s3),c3=l3-n3>-.1?0:n3,u3=d3-n3>-.1?0:n3,g3=Math.max(c3&&l3,0),f3=Math.max(u3&&d3,0),m3=[t4+c3,e4],y2=[t4+i3-c3,e4],b2=[t4+i3,e4+c3],v2=[t4+i3,e4+s3-u3],S2=[t4+i3-u3,e4+s3],C2=[t4+u3,e4+s3],k2=[t4,e4+s3-u3],M=[t4,e4+c3],w2=(t5,e5)=>Math.sqrt(Math.pow(t5,2)-Math.pow(e5,2));if(g3){let t5=w2(c3,c3-g3);m3[0]-=t5,y2[0]+=t5,b2[1]=M[1]=e4+c3-g3}if(s3<c3-g3){let r4=w2(c3,c3-g3-s3);b2[0]=v2[0]=t4+i3-c3+r4,S2[0]=Math.min(b2[0],S2[0]),C2[0]=Math.max(v2[0],C2[0]),k2[0]=M[0]=t4+c3-r4,b2[1]=M[1]=e4+s3}if(f3){let t5=w2(u3,u3-f3);S2[0]+=t5,C2[0]-=t5,v2[1]=k2[1]=e4+s3-u3+f3}if(s3<u3-f3){let r4=w2(u3,u3-f3-s3);b2[0]=v2[0]=t4+i3-u3+r4,y2[0]=Math.min(b2[0],y2[0]),m3[0]=Math.max(v2[0],m3[0]),k2[0]=M[0]=t4+u3-r4,v2[1]=k2[1]=e4}return o3.length=0,o3.push(["M",...m3],["L",...y2],["A",c3,c3,0,0,1,...b2],["L",...v2],["A",u3,u3,0,0,1,...S2],["L",...C2],["A",u3,u3,0,0,1,...k2],["L",...M],["A",c3,c3,0,0,1,...m3],["Z"]),o3}return{compose:function(t4,e4,i3){let s3=t4.types.pie;if(!e4.symbolCustomAttribs.includes("borderRadius")){let r3=i3.prototype.symbols;o2(t4,"afterColumnTranslate",g2,{order:9}),o2(s3,"afterTranslate",m2),e4.symbolCustomAttribs.push("borderRadius","brBoxHeight","brBoxY"),c2=r3.arc,p2=r3.roundedRect,r3.arc=u2,r3.roundedRect=x2}},optionsToObject:f2}})),i(e2,"Core/Responsive.js",[e2["Core/Utilities.js"]],(function(t3){var e3;let{diffObjects:i2,extend:s2,find:r2,merge:o2,pick:n2,uniqueKey:a2}=t3;return function(t4){function e4(t5,e5){let i3=t5.condition;(i3.callback||function(){return this.chartWidth<=n2(i3.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=n2(i3.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=n2(i3.minWidth,0)&&this.chartHeight>=n2(i3.minHeight,0)}).call(this)&&e5.push(t5._id)}function h2(t5,e5){let s3=this.options.responsive,n3=this.currentResponsive,h3=[],l2;!e5&&s3&&s3.rules&&s3.rules.forEach((t6=>{void 0===t6._id&&(t6._id=a2()),this.matchResponsiveRule(t6,h3)}),this);let d2=o2(...h3.map((t6=>r2((s3||{}).rules||[],(e6=>e6._id===t6)))).map((t6=>t6&&t6.chartOptions)));d2.isResponsiveOptions=true,h3=h3.toString()||void 0;let c2=n3&&n3.ruleIds;h3===c2||(n3&&(this.currentResponsive=void 0,this.updatingResponsive=true,this.update(n3.undoOptions,t5,true),this.updatingResponsive=false),h3?((l2=i2(d2,this.options,true,this.collectionsWithUpdate)).isResponsiveOptions=true,this.currentResponsive={ruleIds:h3,mergedOptions:d2,undoOptions:l2},this.updatingResponsive||this.update(d2,t5,true)):this.currentResponsive=void 0)}t4.compose=function(t5){let i3=t5.prototype;return i3.matchResponsiveRule||s2(i3,{matchResponsiveRule:e4,setResponsive:h2}),t5}}(e3||(e3={})),e3})),i(e2,"masters/highcharts.src.js",[e2["Core/Globals.js"],e2["Core/Utilities.js"],e2["Core/Defaults.js"],e2["Core/Animation/Fx.js"],e2["Core/Animation/AnimationUtilities.js"],e2["Core/Renderer/HTML/AST.js"],e2["Core/Templating.js"],e2["Core/Renderer/RendererRegistry.js"],e2["Core/Renderer/RendererUtilities.js"],e2["Core/Renderer/SVG/SVGElement.js"],e2["Core/Renderer/SVG/SVGRenderer.js"],e2["Core/Renderer/HTML/HTMLElement.js"],e2["Core/Axis/Axis.js"],e2["Core/Axis/DateTimeAxis.js"],e2["Core/Axis/LogarithmicAxis.js"],e2["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],e2["Core/Axis/Tick.js"],e2["Core/Tooltip.js"],e2["Core/Series/Point.js"],e2["Core/Pointer.js"],e2["Core/Legend/Legend.js"],e2["Core/Legend/LegendSymbol.js"],e2["Core/Chart/Chart.js"],e2["Extensions/ScrollablePlotArea.js"],e2["Core/Axis/Stacking/StackingAxis.js"],e2["Core/Axis/Stacking/StackItem.js"],e2["Core/Series/Series.js"],e2["Core/Series/SeriesRegistry.js"],e2["Series/Column/ColumnDataLabel.js"],e2["Series/Pie/PieDataLabel.js"],e2["Core/Series/DataLabel.js"],e2["Extensions/OverlappingDataLabels.js"],e2["Extensions/BorderRadius.js"],e2["Core/Responsive.js"],e2["Core/Color/Color.js"],e2["Core/Time.js"]],(function(t3,e3,i2,s2,r2,o2,n2,a2,h2,l2,d2,c2,p2,u2,g2,f2,m2,x2,y2,b2,v2,S2,C2,k2,M,w2,T2,A2,P,L2,O2,D2,E2,I,j,B){return t3.AST=o2,t3.Axis=p2,t3.Chart=C2,t3.Color=j,t3.DataLabel=O2,t3.Fx=s2,t3.HTMLElement=c2,t3.Legend=v2,t3.LegendSymbol=S2,t3.OverlappingDataLabels=t3.OverlappingDataLabels||D2,t3.PlotLineOrBand=f2,t3.Point=y2,t3.Pointer=b2,t3.RendererRegistry=a2,t3.Series=T2,t3.SeriesRegistry=A2,t3.StackItem=w2,t3.SVGElement=l2,t3.SVGRenderer=d2,t3.Templating=n2,t3.Tick=m2,t3.Time=B,t3.Tooltip=x2,t3.animate=r2.animate,t3.animObject=r2.animObject,t3.chart=C2.chart,t3.color=j.parse,t3.dateFormat=n2.dateFormat,t3.defaultOptions=i2.defaultOptions,t3.distribute=h2.distribute,t3.format=n2.format,t3.getDeferredAnimation=r2.getDeferredAnimation,t3.getOptions=i2.getOptions,t3.numberFormat=n2.numberFormat,t3.seriesType=A2.seriesType,t3.setAnimation=r2.setAnimation,t3.setOptions=i2.setOptions,t3.stop=r2.stop,t3.time=i2.defaultTime,t3.timers=s2.timers,E2.compose(t3.Series,t3.SVGElement,t3.SVGRenderer),P.compose(t3.Series.types.column),O2.compose(t3.Series),u2.compose(t3.Axis),c2.compose(t3.SVGRenderer),v2.compose(t3.Chart),g2.compose(t3.Axis),D2.compose(t3.Chart),L2.compose(t3.Series.types.pie),f2.compose(t3.Chart,t3.Axis),b2.compose(t3.Chart),I.compose(t3.Chart),k2.compose(t3.Axis,t3.Chart,t3.Series),M.compose(t3.Axis,t3.Chart,t3.Series),x2.compose(t3.Pointer),e3.extend(t3,e3),t3})),e2["masters/highcharts.src.js"]._modules=e2,e2["masters/highcharts.src.js"]}))})(highcharts);var highchartsExports=highcharts.exports;const Highcharts$1=getDefaultExportFromCjs(highchartsExports);const mapColors=array=>{const regex=/(data)\-[1-8]/;const newArray=array.map((item=>regex.test(item)?`${colors$1[`data_${item[item.length-1]}`]}`:item));return newArray};const BarGraph=({aria:aria={},data:data={},align:align="center",axisTitle:axisTitle,dark:dark=false,chartData:chartData,className:className="pb_bar_graph",colors:colors2,htmlOptions:htmlOptions={},customOptions:customOptions={},axisFormat:axisFormat,id:id,pointStart:pointStart,stacking:stacking,subTitle:subTitle,type:type="column",title:title="Title",xAxisCategories:xAxisCategories,yAxisMin:yAxisMin,yAxisMax:yAxisMax,legend:legend=false,toggleLegendClick:toggleLegendClick=true,height:height,layout:layout="horizontal",verticalAlign:verticalAlign="bottom",x:x2=0,y:y2=0,...props})=>{const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const setupTheme=()=>{dark?Highcharts$1.setOptions(highchartsDarkTheme):Highcharts$1.setOptions(highchartsTheme)};setupTheme();const staticOptions={title:{text:title},chart:{height:height,type:type},subtitle:{text:subTitle},yAxis:[{labels:{format:typeof axisFormat==="string"?axisFormat:axisFormat&&axisFormat[0]?axisFormat[0].format:""},min:yAxisMin,max:yAxisMax,opposite:false,title:{text:Array.isArray(axisTitle)?axisTitle.length>0?axisTitle[0].name:null:axisTitle},plotLines:typeof yAxisMin!=="undefined"&&yAxisMin!==null?[]:[{value:0,zIndex:10,color:"#E4E8F0"}]}],xAxis:{categories:xAxisCategories},legend:{enabled:legend,align:align,verticalAlign:verticalAlign,layout:layout,x:x2,y:y2},colors:colors2!==void 0&&colors2.length>0?mapColors(colors2):highchartsTheme.colors,plotOptions:{series:{stacking:stacking,pointStart:pointStart,borderWidth:stacking?0:"",events:{},dataLabels:{enabled:false}}},series:chartData,credits:false};if(Array.isArray(axisTitle)&&axisTitle.length>1&&axisTitle[1].name){staticOptions.yAxis.push({labels:{format:typeof axisFormat==="string"?axisFormat:axisFormat[1].format},min:yAxisMin,max:yAxisMax,opposite:true,title:{text:axisTitle[1].name},plotLines:typeof yAxisMin!=="undefined"&&yAxisMin!==null?[]:[{value:0,zIndex:10,color:"#E4E8F0"}]})}if(!toggleLegendClick){staticOptions.plotOptions.series.events={legendItemClick:()=>false}}const filteredProps={...props};delete filteredProps.verticalAlign;const[options2,setOptions]=useState({});useEffect((()=>{setOptions(merge(staticOptions,customOptions))}),[chartData]);return jsx$1(HighchartsReact,{containerProps:{className:classnames(globalProps(filteredProps),className),id:id,...ariaProps,...dataProps,...htmlProps},highcharts:Highcharts$1,options:options2})};const buttonClassName=props=>{const{disabled:disabled=false,fullWidth:fullWidth=false,highlight:highlight,icon:icon,loading:loading=false,type:type="inline",variant:variant="primary",size:size=null}=props;let className="pb_button_kit";className+=`${variant!==null?`_${variant}`:""}`;className+=`${type!==null?`_${type}`:""}`;className+=`${fullWidth?"_block":""}`;className+=disabled?"_disabled":"_enabled";className+=loading?"_loading":"";className+=`${size!==null?` size_${size}`:""}`;className+=`${variant==="reaction"&&!isValidEmoji(icon)?` reaction_default`:""}`;className+=`${variant==="reaction"&&highlight?` active`:""}`;return className};const spinnerIcon=getAllIcons()["spinner"];const Button=props=>{const{aria:aria={},children:children,className:className,count:count2,data:data={},disabled:disabled,htmlOptions:htmlOptions={},icon:icon=null,iconRight:iconRight=false,id:id,loading:loading=false,onClick:onClick,tabIndex:tabIndex,link:link=null,newWindow:newWindow=false,target:target="",text:text,htmlType:htmlType="button",value:value,variant:variant,form:form=null}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const css4=classnames(buttonClassName(props),globalProps(props),className);const loadingIcon=jsx$1("div",{className:"loading-icon",children:jsx$1(Icon,{className:"svg-inline--fa",customIcon:spinnerIcon.icon,fixedWidth:true,pulse:true})});const content=jsxs("span",{className:"pb_button_content",children:[icon&&!iconRight&&jsx$1(Icon,{className:"button_with_icon",icon:icon}),jsx$1("span",{children:text||children}),icon&&iconRight&&jsx$1(Icon,{className:"button_with_icon_right",icon:icon})]});const ifLoading=()=>{if(loading){return jsx$1(Fragment,{children:loadingIcon})}else{return content}};const getTargetAttribute=()=>{if(target&&link){return target}else if(newWindow){return"_blank"}return null};const displayButton=()=>{if(link){return jsx$1("a",{...ariaProps,...dataProps,...htmlProps,className:css4,href:link,id:id,rel:target!=="child"?"noreferrer":null,role:"link",tabIndex:tabIndex,target:getTargetAttribute(),children:ifLoading()})}else if(variant==="reaction"){return jsxs("button",{...ariaProps,...dataProps,...htmlProps,className:css4,disabled:disabled,form:form,id:id,onClick:onClick,role:"button",tabIndex:tabIndex,type:htmlType,value:value,children:[icon&&isValidEmoji(icon)&&jsxs(Flex,{align:"center",children:[jsx$1(Icon,{icon:icon}),count2&&jsx$1(Caption,{paddingLeft:"xxs",size:"xs",children:count2})]}),!isValidEmoji(icon)&&jsx$1(Icon,{icon:icon?icon:"face-smile-plus"})]})}else{return jsx$1("button",{...ariaProps,...dataProps,...htmlProps,className:css4,disabled:disabled,form:form,id:id,onClick:onClick,role:"button",tabIndex:tabIndex,type:htmlType,value:value,children:ifLoading()})}};return jsx$1(Fragment,{children:displayButton()})};const Checkbox=props=>{const{aria:aria={},checked:checked=false,children:children,className:className,dark:dark=false,data:data={},disabled:disabled=false,error:error=false,htmlOptions:htmlOptions={},id:id,indeterminate:indeterminate=false,name:name2="",onChange:onChange2=()=>{},tabIndex:tabIndex,text:text="",value:value=""}=props;const checkRef=useRef(null);const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_checkbox_kit",checked?"checked":null,error?"error":null,indeterminate?"indeterminate":null),globalProps(props),className);useEffect((()=>{if(checkRef.current){checkRef.current.checked=checked;checkRef.current.indeterminate=indeterminate}}),[indeterminate,checked]);const checkboxChildren=()=>{if(children)return children;else return jsx$1("input",{defaultChecked:checked,disabled:disabled,name:name2,onChange:onChange2,ref:checkRef,tabIndex:tabIndex,type:"checkbox",value:value})};return jsxs("label",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id,children:[jsx$1(Fragment,{children:checkboxChildren()}),!indeterminate&&jsx$1("span",{className:"pb_checkbox_checkmark",children:jsx$1(Icon,{className:"check_icon",fixedWidth:true,icon:"check"})}),indeterminate&&jsx$1("span",{className:"pb_checkbox_indeterminate",children:jsx$1(Icon,{className:"indeterminate_icon",fixedWidth:true,icon:"minus"})}),jsx$1(Body$1,{className:"pb_checkbox_label",dark:dark,status:error?"negative":null,variant:null,children:text})]})};var highchartsMore$1={exports:{}};(function(module){!function(t2){module.exports?(t2.default=t2,module.exports=t2):t2("undefined"!=typeof Highcharts?Highcharts:void 0)}((function(t2){var e2=t2?t2._modules:{};function i(e3,i2,s2,o2){e3.hasOwnProperty(i2)||(e3[i2]=o2.apply(null,s2),"function"==typeof CustomEvent&&t2.win.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:i2,module:e3[i2]}})))}i(e2,"Extensions/Pane/PaneComposition.js",[e2["Core/Utilities.js"]],(function(t3){let{addEvent:e3,correctFloat:i2,defined:s2,pick:o2}=t3;function a2(t4){let e4;let i3=this;return t4&&i3.pane.forEach((s3=>{r2(t4.chartX-i3.plotLeft,t4.chartY-i3.plotTop,s3.center)&&(e4=s3)})),e4}function r2(t4,e4,o3,a3,r3){let n3=true,l3=o3[0],h3=o3[1],p2=Math.sqrt(Math.pow(t4-l3,2)+Math.pow(e4-h3,2));if(s2(a3)&&s2(r3)){let s3=Math.atan2(i2(e4-h3,8),i2(t4-l3,8));r3!==a3&&(n3=a3>r3?s3>=a3&&s3<=Math.PI||s3<=r3&&s3>=-Math.PI:s3>=a3&&s3<=i2(r3,8))}return p2<=Math.ceil(o3[2]/2)&&n3}function n2(t4){this.polar&&(t4.options.inverted&&([t4.x,t4.y]=[t4.y,t4.x]),t4.isInsidePlot=this.pane.some((e4=>r2(t4.x,t4.y,e4.center,e4.axis&&e4.axis.normalizedStartAngleRad,e4.axis&&e4.axis.normalizedEndAngleRad))))}function l2(t4){let e4=this.chart;t4.hoverPoint&&t4.hoverPoint.plotX&&t4.hoverPoint.plotY&&e4.hoverPane&&!r2(t4.hoverPoint.plotX,t4.hoverPoint.plotY,e4.hoverPane.center)&&(t4.hoverPoint=void 0)}function h2(t4){let e4=this.chart;e4.polar?(e4.hoverPane=e4.getHoverPane(t4),t4.filter=function(i3){return i3.visible&&!(!t4.shared&&i3.directTouch)&&o2(i3.options.enableMouseTracking,true)&&(!e4.hoverPane||i3.xAxis.pane===e4.hoverPane)}):e4.hoverPane=void 0}return{compose:function(t4,i3){let s3=t4.prototype;s3.getHoverPane||(s3.collectionsWithUpdate.push("pane"),s3.getHoverPane=a2,e3(t4,"afterIsInsidePlot",n2),e3(i3,"afterGetHoverData",l2),e3(i3,"beforeGetHoverData",h2))}}})),i(e2,"Extensions/Pane/PaneDefaults.js",[],(function(){return{pane:{center:["50%","50%"],size:"85%",innerSize:"0%",startAngle:0},background:{shape:"circle",borderRadius:0,borderWidth:1,borderColor:"#cccccc",backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,"#ffffff"],[1,"#e6e6e6"]]},from:-Number.MAX_VALUE,innerRadius:0,to:Number.MAX_VALUE,outerRadius:"105%"}}})),i(e2,"Extensions/Pane/Pane.js",[e2["Series/CenteredUtilities.js"],e2["Extensions/Pane/PaneComposition.js"],e2["Extensions/Pane/PaneDefaults.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){let{extend:o2,merge:a2,splat:r2}=s2;class n2{constructor(t4,e4){this.coll="pane",this.init(t4,e4)}init(t4,e4){this.chart=e4,this.background=[],e4.pane.push(this),this.setOptions(t4)}setOptions(t4){this.options=t4=a2(i2.pane,this.chart.angular?{background:{}}:void 0,t4)}render(){let t4=this.options,e4=this.chart.renderer;this.group||(this.group=e4.g("pane-group").attr({zIndex:t4.zIndex||0}).add()),this.updateCenter();let s3=this.options.background;if(s3){let t5=Math.max((s3=r2(s3)).length,this.background.length||0);for(let e5=0;e5<t5;e5++)s3[e5]&&this.axis?this.renderBackground(a2(i2.background,s3[e5]),e5):this.background[e5]&&(this.background[e5]=this.background[e5].destroy(),this.background.splice(e5,1))}}renderBackground(t4,e4){let i3={class:"highcharts-pane "+(t4.className||"")},s3="animate";this.chart.styledMode||o2(i3,{fill:t4.backgroundColor,stroke:t4.borderColor,"stroke-width":t4.borderWidth}),this.background[e4]||(this.background[e4]=this.chart.renderer.path().add(this.group),s3="attr"),this.background[e4][s3]({d:this.axis.getPlotBandPath(t4.from,t4.to,t4)}).attr(i3)}updateCenter(e4){this.center=(e4||this.axis||{}).center=t3.getCenter.call(this)}update(t4,e4){a2(true,this.options,t4),this.setOptions(this.options),this.render(),this.chart.axes.forEach((function(t5){t5.pane===this&&(t5.pane=null,t5.update({},e4))}),this)}}return n2.compose=e3.compose,n2})),i(e2,"Series/AreaRange/AreaRangePoint.js",[e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{area:{prototype:{pointClass:i2,pointClass:{prototype:s2}}}}=t3.seriesTypes,{defined:o2,isNumber:a2}=e3;return class extends i2{setState(){let t4=this.state,e4=this.series,i3=e4.chart.polar;o2(this.plotHigh)||(this.plotHigh=e4.yAxis.toPixels(this.high,true)),o2(this.plotLow)||(this.plotLow=this.plotY=e4.yAxis.toPixels(this.low,true)),e4.lowerStateMarkerGraphic=e4.stateMarkerGraphic,e4.stateMarkerGraphic=e4.upperStateMarkerGraphic,this.graphic=this.graphics&&this.graphics[1],this.plotY=this.plotHigh,i3&&a2(this.plotHighX)&&(this.plotX=this.plotHighX),s2.setState.apply(this,arguments),this.state=t4,this.plotY=this.plotLow,this.graphic=this.graphics&&this.graphics[0],i3&&a2(this.plotLowX)&&(this.plotX=this.plotLowX),e4.upperStateMarkerGraphic=e4.stateMarkerGraphic,e4.stateMarkerGraphic=e4.lowerStateMarkerGraphic,e4.lowerStateMarkerGraphic=void 0;let r2=e4.modifyMarkerSettings();s2.setState.apply(this,arguments),e4.restoreMarkerSettings(r2)}haloPath(){let t4=this.series.chart.polar,e4=[];return this.plotY=this.plotLow,t4&&a2(this.plotLowX)&&(this.plotX=this.plotLowX),this.isInside&&(e4=s2.haloPath.apply(this,arguments)),this.plotY=this.plotHigh,t4&&a2(this.plotHighX)&&(this.plotX=this.plotHighX),this.isTopInside&&(e4=e4.concat(s2.haloPath.apply(this,arguments))),e4}isValid(){return a2(this.low)&&a2(this.high)}}})),i(e2,"Series/AreaRange/AreaRangeSeries.js",[e2["Series/AreaRange/AreaRangePoint.js"],e2["Core/Globals.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){let{noop:o2}=e3,{area:a2,area:{prototype:r2},column:{prototype:n2}}=i2.seriesTypes,{addEvent:l2,defined:h2,extend:p2,isArray:d2,isNumber:c2,pick:u2,merge:g2}=s2;class f2 extends a2{toYData(t4){return[t4.low,t4.high]}highToXY(t4){let e4=this.chart,i3=this.xAxis.postTranslate(t4.rectPlotX||0,this.yAxis.len-(t4.plotHigh||0));t4.plotHighX=i3.x-e4.plotLeft,t4.plotHigh=i3.y-e4.plotTop,t4.plotLowX=t4.plotX}getGraphPath(t4){let e4=[],i3=[],s3=r2.getGraphPath,o3=this.options,a3=this.chart.polar,n3=a3&&false!==o3.connectEnds,l3=o3.connectNulls,h3,p3,d3,c3=o3.step;for(h3=(t4=t4||this.points).length;h3--;){p3=t4[h3];let s4=a3?{plotX:p3.rectPlotX,plotY:p3.yBottom,doCurve:false}:{plotX:p3.plotX,plotY:p3.plotY,doCurve:false};p3.isNull||n3||l3||t4[h3+1]&&!t4[h3+1].isNull||i3.push(s4),d3={polarPlotY:p3.polarPlotY,rectPlotX:p3.rectPlotX,yBottom:p3.yBottom,plotX:u2(p3.plotHighX,p3.plotX),plotY:p3.plotHigh,isNull:p3.isNull},i3.push(d3),e4.push(d3),p3.isNull||n3||l3||t4[h3-1]&&!t4[h3-1].isNull||i3.push(s4)}let g3=s3.call(this,t4);c3&&(true===c3&&(c3="left"),o3.step={left:"right",center:"center",right:"left"}[c3]);let f3=s3.call(this,e4),b2=s3.call(this,i3);o3.step=c3;let m2=[].concat(g3,f3);return!this.chart.polar&&b2[0]&&"M"===b2[0][0]&&(b2[0]=["L",b2[0][1],b2[0][2]]),this.graphPath=m2,this.areaPath=g3.concat(b2),m2.isArea=true,m2.xMap=g3.xMap,this.areaPath.xMap=g3.xMap,m2}drawDataLabels(){var _a,_b;let t4,e4,i3,s3,o3;let a3=this.points,n3=a3.length,l3=[],h3=this.options.dataLabels,c3=this.chart.inverted;if(h3){if(d2(h3)?(s3=h3[0]||{enabled:false},o3=h3[1]||{enabled:false}):((s3=p2({},h3)).x=h3.xHigh,s3.y=h3.yHigh,(o3=p2({},h3)).x=h3.xLow,o3.y=h3.yLow),s3.enabled||((_a=this.hasDataLabels)==null?void 0:_a.call(this))){for(t4=n3;t4--;)if(e4=a3[t4]){let{plotHigh:o4=0,plotLow:a4=0}=e4;i3=s3.inside?o4<a4:o4>a4,e4.y=e4.high,e4._plotY=e4.plotY,e4.plotY=o4,l3[t4]=e4.dataLabel,e4.dataLabel=e4.dataLabelUpper,e4.below=i3,c3?s3.align||(s3.align=i3?"right":"left"):s3.verticalAlign||(s3.verticalAlign=i3?"top":"bottom")}for(this.options.dataLabels=s3,r2.drawDataLabels&&r2.drawDataLabels.apply(this,arguments),t4=n3;t4--;)(e4=a3[t4])&&(e4.dataLabelUpper=e4.dataLabel,e4.dataLabel=l3[t4],delete e4.dataLabels,e4.y=e4.low,e4.plotY=e4._plotY)}if(o3.enabled||((_b=this.hasDataLabels)==null?void 0:_b.call(this))){for(t4=n3;t4--;)if(e4=a3[t4]){let{plotHigh:t5=0,plotLow:s4=0}=e4;i3=o3.inside?t5<s4:t5>s4,e4.below=!i3,c3?o3.align||(o3.align=i3?"left":"right"):o3.verticalAlign||(o3.verticalAlign=i3?"bottom":"top")}this.options.dataLabels=o3,r2.drawDataLabels&&r2.drawDataLabels.apply(this,arguments)}if(s3.enabled)for(t4=n3;t4--;)(e4=a3[t4])&&(e4.dataLabels=[e4.dataLabelUpper,e4.dataLabel].filter((function(t5){return!!t5})));this.options.dataLabels=h3}}alignDataLabel(){n2.alignDataLabel.apply(this,arguments)}modifyMarkerSettings(){let t4={marker:this.options.marker,symbol:this.symbol};if(this.options.lowMarker){let{options:{marker:t5,lowMarker:e4}}=this;this.options.marker=g2(t5,e4),e4.symbol&&(this.symbol=e4.symbol)}return t4}restoreMarkerSettings(t4){this.options.marker=t4.marker,this.symbol=t4.symbol}drawPoints(){let t4,e4;let i3=this.points.length,s3=this.modifyMarkerSettings();for(r2.drawPoints.apply(this,arguments),this.restoreMarkerSettings(s3),t4=0;t4<i3;)(e4=this.points[t4]).graphics=e4.graphics||[],e4.origProps={plotY:e4.plotY,plotX:e4.plotX,isInside:e4.isInside,negative:e4.negative,zone:e4.zone,y:e4.y},(e4.graphic||e4.graphics[0])&&(e4.graphics[0]=e4.graphic),e4.graphic=e4.graphics[1],e4.plotY=e4.plotHigh,h2(e4.plotHighX)&&(e4.plotX=e4.plotHighX),e4.y=u2(e4.high,e4.origProps.y),e4.negative=e4.y<(this.options.threshold||0),this.zones.length&&(e4.zone=e4.getZone()),this.chart.polar||(e4.isInside=e4.isTopInside=void 0!==e4.plotY&&e4.plotY>=0&&e4.plotY<=this.yAxis.len&&e4.plotX>=0&&e4.plotX<=this.xAxis.len),t4++;for(r2.drawPoints.apply(this,arguments),t4=0;t4<i3;)(e4=this.points[t4]).graphics=e4.graphics||[],(e4.graphic||e4.graphics[1])&&(e4.graphics[1]=e4.graphic),e4.graphic=e4.graphics[0],e4.origProps&&(p2(e4,e4.origProps),delete e4.origProps),t4++}hasMarkerChanged(t4,e4){let i3=t4.lowMarker,s3=e4.lowMarker||{};return i3&&(false===i3.enabled||s3.symbol!==i3.symbol||s3.height!==i3.height||s3.width!==i3.width)||super.hasMarkerChanged(t4,e4)}}return f2.defaultOptions=g2(a2.defaultOptions,{lineWidth:1,threshold:null,tooltip:{pointFormat:'<span style="color:{series.color}">●</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},trackByArea:true,dataLabels:{align:void 0,verticalAlign:void 0,xLow:0,xHigh:0,yLow:0,yHigh:0}}),l2(f2,"afterTranslate",(function(){"low,high"===this.pointArrayMap.join(",")&&this.points.forEach((t4=>{let e4=t4.high,i3=t4.plotY;t4.isNull?t4.plotY=void 0:(t4.plotLow=i3,t4.plotHigh=c2(e4)?this.yAxis.translate(this.dataModify?this.dataModify.modifyValue(e4):e4,false,true,void 0,true):void 0,this.dataModify&&(t4.yBottom=t4.plotHigh))}))}),{order:0}),l2(f2,"afterTranslate",(function(){this.points.forEach((t4=>{if(this.chart.polar)this.highToXY(t4),t4.plotLow=t4.plotY,t4.tooltipPos=[((t4.plotHighX||0)+(t4.plotLowX||0))/2,((t4.plotHigh||0)+(t4.plotLow||0))/2];else{let e4=t4.pos(false,t4.plotLow),i3=t4.pos(false,t4.plotHigh);e4&&i3&&(e4[0]=(e4[0]+i3[0])/2,e4[1]=(e4[1]+i3[1])/2),t4.tooltipPos=e4}}))}),{order:3}),p2(f2.prototype,{deferTranslatePolar:true,pointArrayMap:["low","high"],pointClass:t3,pointValKey:"low",setStackedPoints:o2}),i2.registerSeriesType("arearange",f2),f2})),i(e2,"Series/AreaSplineRange/AreaSplineRangeSeries.js",[e2["Series/AreaRange/AreaRangeSeries.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{spline:{prototype:s2}}=e3.seriesTypes,{merge:o2,extend:a2}=i2;class r2 extends t3{}return r2.defaultOptions=o2(t3.defaultOptions),a2(r2.prototype,{getPointSpline:s2.getPointSpline}),e3.registerSeriesType("areasplinerange",r2),r2})),i(e2,"Series/BoxPlot/BoxPlotSeriesDefaults.js",[],(function(){return{threshold:null,tooltip:{pointFormat:'<span style="color:{point.color}">●</span> <b>{series.name}</b><br/>Maximum: {point.high}<br/>Upper quartile: {point.q3}<br/>Median: {point.median}<br/>Lower quartile: {point.q1}<br/>Minimum: {point.low}<br/>'},whiskerLength:"50%",fillColor:"#ffffff",lineWidth:1,medianWidth:2,whiskerWidth:2}})),i(e2,"Series/BoxPlot/BoxPlotSeries.js",[e2["Series/BoxPlot/BoxPlotSeriesDefaults.js"],e2["Series/Column/ColumnSeries.js"],e2["Core/Globals.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,o2){let{noop:a2}=i2,{crisp:r2,extend:n2,merge:l2,pick:h2}=o2;class p2 extends e3{pointAttribs(){return{}}translate(){let t4=this.yAxis,e4=this.pointArrayMap;super.translate.apply(this),this.points.forEach((function(i3){e4.forEach((function(e5){null!==i3[e5]&&(i3[e5+"Plot"]=t4.translate(i3[e5],0,1,0,1))})),i3.plotHigh=i3.highPlot}))}drawPoints(){let t4,e4,i3,s3,o3,a3,n3,l3,p3,d2,c2,u2,g2;let f2=this.points,b2=this.options,m2=this.chart,y2=m2.renderer,x2=false!==this.doQuartiles,P=this.options.whiskerLength;for(let S2 of f2){let f3=(l3=S2.graphic)?"animate":"attr",M=S2.shapeArgs,L2={},C2={},k2={},v2={},A2=S2.color||this.color;if(void 0!==S2.plotY){let w2;p3=M.width,c2=(d2=M.x)+p3,u2=p3/2,t4=x2?S2.q1Plot:S2.lowPlot,e4=x2?S2.q3Plot:S2.lowPlot,i3=S2.highPlot,s3=S2.lowPlot,l3||(S2.graphic=l3=y2.g("point").add(this.group),S2.stem=y2.path().addClass("highcharts-boxplot-stem").add(l3),P&&(S2.whiskers=y2.path().addClass("highcharts-boxplot-whisker").add(l3)),x2&&(S2.box=y2.path(n3).addClass("highcharts-boxplot-box").add(l3)),S2.medianShape=y2.path(a3).addClass("highcharts-boxplot-median").add(l3)),m2.styledMode||(C2.stroke=S2.stemColor||b2.stemColor||A2,C2["stroke-width"]=h2(S2.stemWidth,b2.stemWidth,b2.lineWidth),C2.dashstyle=S2.stemDashStyle||b2.stemDashStyle||b2.dashStyle,S2.stem.attr(C2),P&&(k2.stroke=S2.whiskerColor||b2.whiskerColor||A2,k2["stroke-width"]=h2(S2.whiskerWidth,b2.whiskerWidth,b2.lineWidth),k2.dashstyle=S2.whiskerDashStyle||b2.whiskerDashStyle||b2.dashStyle,S2.whiskers.attr(k2)),x2&&(L2.fill=S2.fillColor||b2.fillColor||A2,L2.stroke=b2.lineColor||A2,L2["stroke-width"]=b2.lineWidth||0,L2.dashstyle=S2.boxDashStyle||b2.boxDashStyle||b2.dashStyle,S2.box.attr(L2)),v2.stroke=S2.medianColor||b2.medianColor||A2,v2["stroke-width"]=h2(S2.medianWidth,b2.medianWidth,b2.lineWidth),v2.dashstyle=S2.medianDashStyle||b2.medianDashStyle||b2.dashStyle,S2.medianShape.attr(v2));let T2=r2((S2.plotX||0)+(this.pointXOffset||0)+(this.barW||0)/2,S2.stem.strokeWidth());if(w2=[["M",T2,e4],["L",T2,i3],["M",T2,t4],["L",T2,s3]],S2.stem[f3]({d:w2}),x2){let i4=S2.box.strokeWidth();t4=r2(t4,i4),e4=r2(e4,i4),w2=[["M",d2=r2(d2,i4),e4],["L",d2,t4],["L",c2=r2(c2,i4),t4],["L",c2,e4],["L",d2,e4],["Z"]],S2.box[f3]({d:w2})}if(P){let t5=S2.whiskers.strokeWidth();i3=r2(S2.highPlot,t5),s3=r2(S2.lowPlot,t5),w2=[["M",r2(T2-(g2="string"==typeof P&&/%$/.test(P)?u2*parseFloat(P)/100:Number(P)/2)),i3],["L",r2(T2+g2),i3],["M",r2(T2-g2),s3],["L",r2(T2+g2),s3]],S2.whiskers[f3]({d:w2})}w2=[["M",d2,o3=r2(S2.medianPlot,S2.medianShape.strokeWidth())],["L",c2,o3]],S2.medianShape[f3]({d:w2})}}}toYData(t4){return[t4.low,t4.q1,t4.median,t4.q3,t4.high]}}return p2.defaultOptions=l2(e3.defaultOptions,t3),n2(p2.prototype,{pointArrayMap:["low","q1","median","q3","high"],pointValKey:"high",drawDataLabels:a2,setStackedPoints:a2}),s2.registerSeriesType("boxplot",p2),p2})),i(e2,"Series/Bubble/BubbleLegendDefaults.js",[],(function(){return{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:false,labels:{className:void 0,allowOverlap:false,format:"",formatter:void 0,align:"right",style:{fontSize:"0.9em",color:"#000000"},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:false,zIndex:1,zThreshold:0}})),i(e2,"Series/Bubble/BubbleLegendItem.js",[e2["Core/Color/Color.js"],e2["Core/Templating.js"],e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){let{parse:o2}=t3,{noop:a2}=i2,{arrayMax:r2,arrayMin:n2,isNumber:l2,merge:h2,pick:p2,stableSort:d2}=s2;return class{constructor(t4,e4){this.setState=a2,this.init(t4,e4)}init(t4,e4){this.options=t4,this.visible=true,this.chart=e4.chart,this.legend=e4}addToLegend(t4){t4.splice(this.options.legendIndex,0,this)}drawLegendSymbol(t4){let e4;let i3=p2(t4.options.itemDistance,20),s3=this.legendItem||{},o3=this.options,a3=o3.ranges,r3=o3.connectorDistance;if(!a3||!a3.length||!l2(a3[0].value)){t4.options.bubbleLegend.autoRanges=true;return}d2(a3,(function(t5,e5){return e5.value-t5.value})),this.ranges=a3,this.setOptions(),this.render();let n3=this.getMaxLabelSize(),h3=this.ranges[0].radius,c2=2*h3;e4=(e4=r3-h3+n3.width)>0?e4:0,this.maxLabel=n3,this.movementX="left"===o3.labels.align?e4:0,s3.labelWidth=c2+e4+i3,s3.labelHeight=c2+n3.height/2}setOptions(){let t4=this.ranges,e4=this.options,i3=this.chart.series[e4.seriesIndex],s3=this.legend.baseline,a3={zIndex:e4.zIndex,"stroke-width":e4.borderWidth},r3={zIndex:e4.zIndex,"stroke-width":e4.connectorWidth},n3={align:this.legend.options.rtl||"left"===e4.labels.align?"right":"left",zIndex:e4.zIndex},l3=i3.options.marker.fillOpacity,d3=this.chart.styledMode;t4.forEach((function(c2,u2){d3||(a3.stroke=p2(c2.borderColor,e4.borderColor,i3.color),a3.fill=p2(c2.color,e4.color,1!==l3?o2(i3.color).setOpacity(l3).get("rgba"):i3.color),r3.stroke=p2(c2.connectorColor,e4.connectorColor,i3.color)),t4[u2].radius=this.getRangeRadius(c2.value),t4[u2]=h2(t4[u2],{center:t4[0].radius-t4[u2].radius+s3}),d3||h2(true,t4[u2],{bubbleAttribs:h2(a3),connectorAttribs:h2(r3),labelAttribs:n3})}),this)}getRangeRadius(t4){let e4=this.options,i3=this.options.seriesIndex,s3=this.chart.series[i3],o3=e4.ranges[0].value,a3=e4.ranges[e4.ranges.length-1].value,r3=e4.minSize,n3=e4.maxSize;return s3.getRadius.call(this,a3,o3,r3,n3,t4)}render(){let t4=this.legendItem||{},e4=this.chart.renderer,i3=this.options.zThreshold;for(let s3 of(this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]}),t4.symbol=e4.g("bubble-legend"),t4.label=e4.g("bubble-legend-item").css(this.legend.itemStyle||{}),t4.symbol.translateX=0,t4.symbol.translateY=0,t4.symbol.add(t4.label),t4.label.add(t4.group),this.ranges))s3.value>=i3&&this.renderRange(s3);this.hideOverlappingLabels()}renderRange(t4){let e4=this.ranges[0],i3=this.legend,s3=this.options,o3=s3.labels,a3=this.chart,r3=a3.series[s3.seriesIndex],n3=a3.renderer,l3=this.symbols,h3=l3.labels,p3=t4.center,d3=Math.abs(t4.radius),c2=s3.connectorDistance||0,u2=o3.align,g2=i3.options.rtl,f2=s3.borderWidth,b2=s3.connectorWidth,m2=e4.radius||0,y2=p3-d3-f2/2+b2/2,x2=(y2%1?1:.5)-(b2%2?0:.5),P=n3.styledMode,S2=g2||"left"===u2?-c2:c2;"center"===u2&&(S2=0,s3.connectorDistance=0,t4.labelAttribs.align="center"),l3.bubbleItems.push(n3.circle(m2,p3+x2,d3).attr(P?{}:t4.bubbleAttribs).addClass((P?"highcharts-color-"+r3.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(s3.className||"")).add(this.legendItem.symbol)),l3.connectors.push(n3.path(n3.crispLine([["M",m2,y2],["L",m2+S2,y2]],s3.connectorWidth)).attr(P?{}:t4.connectorAttribs).addClass((P?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(s3.connectorClassName||"")).add(this.legendItem.symbol));let M=n3.text(this.formatLabel(t4)).attr(P?{}:t4.labelAttribs).css(P?{}:o3.style).addClass("highcharts-bubble-legend-labels "+(s3.labels.className||"")).add(this.legendItem.symbol),L2={x:m2+S2+s3.labels.x,y:y2+s3.labels.y+.4*M.getBBox().height};M.attr(L2),h3.push(M),M.placed=true,M.alignAttr=L2}getMaxLabelSize(){let t4,e4;return this.symbols.labels.forEach((function(i3){e4=i3.getBBox(true),t4=t4?e4.width>t4.width?e4:t4:e4})),t4||{}}formatLabel(t4){let i3=this.options,s3=i3.labels.formatter,o3=i3.labels.format,{numberFormatter:a3}=this.chart;return o3?e3.format(o3,t4):s3?s3.call(t4):a3(t4.value,1)}hideOverlappingLabels(){let t4=this.chart,e4=this.options.labels.allowOverlap,i3=this.symbols;!e4&&i3&&(t4.hideOverlappingLabels(i3.labels),i3.labels.forEach((function(t5,e5){t5.newOpacity?t5.newOpacity!==t5.oldOpacity&&i3.connectors[e5].show():i3.connectors[e5].hide()})))}getRanges(){let t4=this.legend.bubbleLegend,e4=t4.chart.series,i3=t4.options.ranges,s3,o3,a3=Number.MAX_VALUE,d3=-Number.MAX_VALUE;return e4.forEach((function(t5){t5.isBubble&&!t5.ignoreSeries&&(o3=t5.zData.filter(l2)).length&&(a3=p2(t5.options.zMin,Math.min(a3,Math.max(n2(o3),false===t5.options.displayNegative?t5.options.zThreshold:-Number.MAX_VALUE))),d3=p2(t5.options.zMax,Math.max(d3,r2(o3))))})),s3=a3===d3?[{value:d3}]:[{value:a3},{value:(a3+d3)/2},{value:d3,autoRanges:true}],i3.length&&i3[0].radius&&s3.reverse(),s3.forEach((function(t5,e5){i3&&i3[e5]&&(s3[e5]=h2(i3[e5],t5))})),s3}predictBubbleSizes(){let t4=this.chart,e4=t4.legend.options,i3=e4.floating,s3="horizontal"===e4.layout,o3=s3?t4.legend.lastLineHeight:0,a3=t4.plotSizeX,r3=t4.plotSizeY,n3=t4.series[this.options.seriesIndex],l3=n3.getPxExtremes(),h3=Math.ceil(l3.minPxSize),p3=Math.ceil(l3.maxPxSize),d3=Math.min(r3,a3),c2,u2=n3.options.maxSize;return i3||!/%$/.test(u2)?c2=p3:(c2=(d3+o3)*(u2=parseFloat(u2))/100/(u2/100+1),(s3&&r3-c2>=a3||!s3&&a3-c2>=r3)&&(c2=p3)),[h3,Math.ceil(c2)]}updateRanges(t4,e4){let i3=this.legend.options.bubbleLegend;i3.minSize=t4,i3.maxSize=e4,i3.ranges=this.getRanges()}correctSizes(){let t4=this.legend,e4=this.chart.series[this.options.seriesIndex].getPxExtremes();Math.abs(Math.ceil(e4.maxPxSize)-this.options.maxSize)>1&&(this.updateRanges(this.options.minSize,e4.maxPxSize),t4.render())}}})),i(e2,"Series/Bubble/BubbleLegendComposition.js",[e2["Series/Bubble/BubbleLegendDefaults.js"],e2["Series/Bubble/BubbleLegendItem.js"],e2["Core/Defaults.js"],e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,o2){let{setOptions:a2}=i2,{composed:r2}=s2,{addEvent:n2,objectEach:l2,pushUnique:h2,wrap:p2}=o2;function d2(t4,e4,i3){let s3,o3,a3;let r3=this.legend,n3=c2(this)>=0;r3&&r3.options.enabled&&r3.bubbleLegend&&r3.options.bubbleLegend.autoRanges&&n3?(s3=r3.bubbleLegend.options,o3=r3.bubbleLegend.predictBubbleSizes(),r3.bubbleLegend.updateRanges(o3[0],o3[1]),s3.placed||(r3.group.placed=false,r3.allItems.forEach((t5=>{(a3=t5.legendItem||{}).group&&(a3.group.translateY=void 0)}))),r3.render(),s3.placed||(this.getMargins(),this.axes.forEach((function(t5){t5.visible&&t5.render(),s3.placed||(t5.setScale(),t5.updateNames(),l2(t5.ticks,(function(t6){t6.isNew=true,t6.isNewLabel=true})))})),this.getMargins()),s3.placed=true,t4.call(this,e4,i3),r3.bubbleLegend.correctSizes(),b2(r3,u2(r3))):(t4.call(this,e4,i3),r3&&r3.options.enabled&&r3.bubbleLegend&&(r3.render(),b2(r3,u2(r3))))}function c2(t4){let e4=t4.series,i3=0;for(;i3<e4.length;){if(e4[i3]&&e4[i3].isBubble&&e4[i3].visible&&e4[i3].zData.length)return i3;i3++}return-1}function u2(t4){let e4=t4.allItems,i3=[],s3=e4.length,o3,a3,r3,n3=0,l3=0;for(n3=0;n3<s3;n3++)if(a3=e4[n3].legendItem||{},r3=(e4[n3+1]||{}).legendItem||{},a3.labelHeight&&(e4[n3].itemHeight=a3.labelHeight),e4[n3]===e4[s3-1]||a3.y!==r3.y){for(i3.push({height:0}),o3=i3[i3.length-1];l3<=n3;l3++)e4[l3].itemHeight>o3.height&&(o3.height=e4[l3].itemHeight);o3.step=n3}return i3}function g2(t4){let i3=this.bubbleLegend,s3=this.options,o3=s3.bubbleLegend,a3=c2(this.chart);i3&&i3.ranges&&i3.ranges.length&&(o3.ranges.length&&(o3.autoRanges=!!o3.ranges[0].autoRanges),this.destroyItem(i3)),a3>=0&&s3.enabled&&o3.enabled&&(o3.seriesIndex=a3,this.bubbleLegend=new e3(o3,this),this.bubbleLegend.addToLegend(t4.allItems))}function f2(t4){let e4;if(t4.defaultPrevented)return false;let i3=t4.legendItem,s3=this.chart,o3=i3.visible;this&&this.bubbleLegend&&(i3.visible=!o3,i3.ignoreSeries=o3,e4=c2(s3)>=0,this.bubbleLegend.visible!==e4&&(this.update({bubbleLegend:{enabled:e4}}),this.bubbleLegend.visible=e4),i3.visible=o3)}function b2(t4,e4){let i3=t4.allItems,s3=t4.options.rtl,o3,a3,r3,n3,l3=0;i3.forEach(((t5,i4)=>{(n3=t5.legendItem||{}).group&&(o3=n3.group.translateX||0,a3=n3.y||0,((r3=t5.movementX)||s3&&t5.ranges)&&(r3=s3?o3-t5.options.maxSize/2:o3+r3,n3.group.attr({translateX:r3})),i4>e4[l3].step&&l3++,n3.group.attr({translateY:Math.round(a3+e4[l3].height/2)}),n3.y=a3+e4[l3].height/2)}))}return{compose:function(e4,i3){h2(r2,"Series.BubbleLegend")&&(a2({legend:{bubbleLegend:t3}}),p2(e4.prototype,"drawChartBox",d2),n2(i3,"afterGetAllItems",g2),n2(i3,"itemClick",f2))}}})),i(e2,"Series/Bubble/BubblePoint.js",[e2["Core/Series/Point.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{seriesTypes:{scatter:{prototype:{pointClass:s2}}}}=e3,{extend:o2}=i2;class a2 extends s2{haloPath(e4){let i3=(e4&&this.marker&&this.marker.radius||0)+e4;if(this.series.chart.inverted){let t4=this.pos()||[0,0],{xAxis:e5,yAxis:s3,chart:o3}=this.series;return o3.renderer.symbols.circle(e5.len-t4[1]-i3,s3.len-t4[0]-i3,2*i3,2*i3)}return t3.prototype.haloPath.call(this,i3)}}return o2(a2.prototype,{ttBelow:false}),a2})),i(e2,"Series/Bubble/BubbleSeries.js",[e2["Series/Bubble/BubbleLegendComposition.js"],e2["Series/Bubble/BubblePoint.js"],e2["Core/Color/Color.js"],e2["Core/Globals.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,o2,a2){let{parse:r2}=i2,{composed:n2,noop:l2}=s2,{series:h2,seriesTypes:{column:{prototype:p2},scatter:d2}}=o2,{addEvent:c2,arrayMax:u2,arrayMin:g2,clamp:f2,extend:b2,isNumber:m2,merge:y2,pick:x2,pushUnique:P}=a2;function S2(){let t4=this.len,{coll:e4,isXAxis:i3,min:s3}=this,o3=i3?"xData":"yData",a3=(this.max||0)-(s3||0),r3=0,n3=t4,l3=t4/a3,h3;("xAxis"===e4||"yAxis"===e4)&&(this.series.forEach((t5=>{if(t5.bubblePadding&&t5.reserveSpace()){this.allowZoomOutside=true,h3=true;let e5=t5[o3];if(i3&&((t5.onPoint||t5).getRadii(0,0,t5),t5.onPoint&&(t5.radii=t5.onPoint.radii)),a3>0){let i4=e5.length;for(;i4--;)if(m2(e5[i4])&&this.dataMin<=e5[i4]&&e5[i4]<=this.max){let o4=t5.radii&&t5.radii[i4]||0;r3=Math.min((e5[i4]-s3)*l3-o4,r3),n3=Math.max((e5[i4]-s3)*l3+o4,n3)}}}})),h3&&a3>0&&!this.logarithmic&&(n3-=t4,l3*=(t4+Math.max(0,r3)-Math.min(n3,t4))/t4,[["min","userMin",r3],["max","userMax",n3]].forEach((t5=>{void 0===x2(this.options[t5[0]],this[t5[1]])&&(this[t5[0]]+=t5[2]/l3)}))))}class M extends d2{static compose(e4,i3,s3){t3.compose(i3,s3),P(n2,"Series.Bubble")&&c2(e4,"foundExtremes",S2)}animate(t4){!t4&&this.points.length<this.options.animationLimit&&this.points.forEach((function(t5){let{graphic:e4,plotX:i3=0,plotY:s3=0}=t5;e4&&e4.width&&(this.hasRendered||e4.attr({x:i3,y:s3,width:1,height:1}),e4.animate(this.markerAttribs(t5),this.options.animation))}),this)}getRadii(){let t4=this.zData,e4=this.yData,i3=[],s3,o3,a3,r3=this.chart.bubbleZExtremes,{minPxSize:n3,maxPxSize:l3}=this.getPxExtremes();if(!r3){let t5,e5=Number.MAX_VALUE,i4=-Number.MAX_VALUE;this.chart.series.forEach((s4=>{if(s4.bubblePadding&&s4.reserveSpace()){let o4=(s4.onPoint||s4).getZExtremes();o4&&(e5=Math.min(x2(e5,o4.zMin),o4.zMin),i4=Math.max(x2(i4,o4.zMax),o4.zMax),t5=true)}})),t5?(r3={zMin:e5,zMax:i4},this.chart.bubbleZExtremes=r3):r3={zMin:0,zMax:0}}for(o3=0,s3=t4.length;o3<s3;o3++)a3=t4[o3],i3.push(this.getRadius(r3.zMin,r3.zMax,n3,l3,a3,e4&&e4[o3]));this.radii=i3}getRadius(t4,e4,i3,s3,o3,a3){let r3=this.options,n3="width"!==r3.sizeBy,l3=r3.zThreshold,h3=e4-t4,p3=.5;if(null===a3||null===o3)return null;if(m2(o3)){if(r3.sizeByAbsoluteValue&&(o3=Math.abs(o3-l3),e4=h3=Math.max(e4-l3,Math.abs(t4-l3)),t4=0),o3<t4)return i3/2-1;h3>0&&(p3=(o3-t4)/h3)}return n3&&p3>=0&&(p3=Math.sqrt(p3)),Math.ceil(i3+p3*(s3-i3))/2}hasData(){return!!this.processedXData.length}markerAttribs(t4,e4){let i3=super.markerAttribs(t4,e4),{height:s3=0,width:o3=0}=i3;return this.chart.inverted?b2(i3,{x:(t4.plotX||0)-o3/2,y:(t4.plotY||0)-s3/2}):i3}pointAttribs(t4,e4){let i3=this.options.marker.fillOpacity,s3=h2.prototype.pointAttribs.call(this,t4,e4);return 1!==i3&&(s3.fill=r2(s3.fill).setOpacity(i3).get("rgba")),s3}translate(){super.translate.call(this),this.getRadii(),this.translateBubble()}translateBubble(){let{data:t4,options:e4,radii:i3}=this,{minPxSize:s3}=this.getPxExtremes(),o3=t4.length;for(;o3--;){let a3=t4[o3],r3=i3?i3[o3]:0;"z"===this.zoneAxis&&(a3.negative=(a3.z||0)<(e4.zThreshold||0)),m2(r3)&&r3>=s3/2?(a3.marker=b2(a3.marker,{radius:r3,width:2*r3,height:2*r3}),a3.dlBox={x:a3.plotX-r3,y:a3.plotY-r3,width:2*r3,height:2*r3}):(a3.shapeArgs=a3.plotY=a3.dlBox=void 0,a3.isInside=false)}}getPxExtremes(){let t4=Math.min(this.chart.plotWidth,this.chart.plotHeight),e4=e5=>{let i4;return"string"==typeof e5&&(i4=/%$/.test(e5),e5=parseInt(e5,10)),i4?t4*e5/100:e5},i3=e4(x2(this.options.minSize,8)),s3=Math.max(e4(x2(this.options.maxSize,"20%")),i3);return{minPxSize:i3,maxPxSize:s3}}getZExtremes(){let t4=this.options,e4=(this.zData||[]).filter(m2);if(e4.length){let i3=x2(t4.zMin,f2(g2(e4),false===t4.displayNegative?t4.zThreshold||0:-Number.MAX_VALUE,Number.MAX_VALUE)),s3=x2(t4.zMax,u2(e4));if(m2(i3)&&m2(s3))return{zMin:i3,zMax:s3}}}}return M.defaultOptions=y2(d2.defaultOptions,{dataLabels:{formatter:function(){let{numberFormatter:t4}=this.series.chart,{z:e4}=this.point;return m2(e4)?t4(e4,-1):""},inside:true,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:false,states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0,zThreshold:0,zoneAxis:"z"}),b2(M.prototype,{alignDataLabel:p2.alignDataLabel,applyZones:l2,bubblePadding:true,isBubble:true,pointArrayMap:["y","z"],pointClass:e3,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"}),c2(M,"updatedData",(t4=>{delete t4.target.chart.bubbleZExtremes})),c2(M,"remove",(t4=>{delete t4.target.chart.bubbleZExtremes})),o2.registerSeriesType("bubble",M),M})),i(e2,"Series/ColumnRange/ColumnRangePoint.js",[e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{seriesTypes:{column:{prototype:{pointClass:{prototype:i2}}},arearange:{prototype:{pointClass:s2}}}}=t3,{extend:o2,isNumber:a2}=e3;class r2 extends s2{isValid(){return a2(this.low)}}return o2(r2.prototype,{setState:i2.setState}),r2})),i(e2,"Series/ColumnRange/ColumnRangeSeries.js",[e2["Series/ColumnRange/ColumnRangePoint.js"],e2["Core/Globals.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){let{noop:o2}=e3,{seriesTypes:{arearange:a2,column:r2,column:{prototype:n2}}}=i2,{addEvent:l2,clamp:h2,extend:p2,isNumber:d2,merge:c2,pick:u2}=s2;class g2 extends a2{setOptions(){return c2(true,arguments[0],{stacking:void 0}),a2.prototype.setOptions.apply(this,arguments)}translate(){return n2.translate.apply(this)}pointAttribs(){return n2.pointAttribs.apply(this,arguments)}translate3dPoints(){return n2.translate3dPoints.apply(this,arguments)}translate3dShapes(){return n2.translate3dShapes.apply(this,arguments)}afterColumnTranslate(){let t4,e4,i3,s3;let o3=this.yAxis,a3=this.xAxis,r3=a3.startAngleRad,n3=this.chart,l3=this.xAxis.isRadial,p3=Math.max(n3.chartWidth,n3.chartHeight)+999;this.points.forEach((g3=>{let f2=g3.shapeArgs||{},b2=this.options.minPointLength,m2=g3.plotY,y2=o3.translate(g3.high,0,1,0,1);if(d2(y2)&&d2(m2)){if(g3.plotHigh=h2(y2,-p3,p3),g3.plotLow=h2(m2,-p3,p3),s3=g3.plotHigh,Math.abs(t4=u2(g3.rectPlotY,g3.plotY)-g3.plotHigh)<b2?(e4=b2-t4,t4+=e4,s3-=e4/2):t4<0&&(t4*=-1,s3-=t4),l3&&this.polar)i3=g3.barX+r3,g3.shapeType="arc",g3.shapeArgs=this.polar.arc(s3+t4,s3,i3,i3+g3.pointWidth);else{f2.height=t4,f2.y=s3;let{x:e5=0,width:i4=0}=f2;g3.shapeArgs=c2(g3.shapeArgs,this.crispCol(e5,s3,i4,t4)),g3.tooltipPos=n3.inverted?[o3.len+o3.pos-n3.plotLeft-s3-t4/2,a3.len+a3.pos-n3.plotTop-e5-i4/2,t4]:[a3.left-n3.plotLeft+e5+i4/2,o3.pos-n3.plotTop+s3+t4/2,t4]}}}))}}return g2.defaultOptions=c2(r2.defaultOptions,a2.defaultOptions,{borderRadius:{where:"all"},pointRange:null,legendSymbol:"rectangle",marker:null,states:{hover:{halo:false}}}),l2(g2,"afterColumnTranslate",(function(){g2.prototype.afterColumnTranslate.apply(this)}),{order:5}),p2(g2.prototype,{directTouch:true,pointClass:t3,trackerGroups:["group","dataLabelsGroup"],adjustForMissingColumns:n2.adjustForMissingColumns,animate:n2.animate,crispCol:n2.crispCol,drawGraph:o2,drawPoints:n2.drawPoints,getSymbol:o2,drawTracker:n2.drawTracker,getColumnMetrics:n2.getColumnMetrics}),i2.registerSeriesType("columnrange",g2),g2})),i(e2,"Series/ColumnPyramid/ColumnPyramidSeriesDefaults.js",[],(function(){return{}})),i(e2,"Series/ColumnPyramid/ColumnPyramidSeries.js",[e2["Series/ColumnPyramid/ColumnPyramidSeriesDefaults.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{column:s2}=e3.seriesTypes,{clamp:o2,merge:a2,pick:r2}=i2;class n2 extends s2{translate(){let t4=this.chart,e4=this.options,i3=this.dense=this.closestPointRange*this.xAxis.transA<2,s3=this.borderWidth=r2(e4.borderWidth,i3?0:1),a3=this.yAxis,n3=e4.threshold,l2=r2(e4.minPointLength,5),h2=this.getColumnMetrics(),p2=h2.width,d2=this.pointXOffset=h2.offset,c2=this.translatedThreshold=a3.getThreshold(n3),u2=this.barW=Math.max(p2,1+2*s3);for(let i4 of(t4.inverted&&(c2-=.5),e4.pointPadding&&(u2=Math.ceil(u2)),super.translate(),this.points)){let s4=r2(i4.yBottom,c2),g2=999+Math.abs(s4),f2=o2(i4.plotY,-g2,a3.len+g2),b2=u2/2,m2=Math.min(f2,s4),y2=Math.max(f2,s4)-m2,x2=i4.plotX+d2,P,S2,M,L2,C2,k2,v2,A2,w2,T2,N;e4.centerInCategory&&(x2=this.adjustForMissingColumns(x2,p2,i4,h2)),i4.barX=x2,i4.pointWidth=p2,i4.tooltipPos=t4.inverted?[a3.len+a3.pos-t4.plotLeft-f2,this.xAxis.len-x2-b2,y2]:[x2+b2,f2+a3.pos-t4.plotTop,y2],P=n3+(i4.total||i4.y),"percent"===e4.stacking&&(P=n3+(i4.y<0)?-100:100);let X=a3.toPixels(P,true);M=(S2=t4.plotHeight-X-(t4.plotHeight-c2))?b2*(m2-X)/S2:0,L2=S2?b2*(m2+y2-X)/S2:0,k2=x2-M+b2,v2=x2+M+b2,A2=x2+L2+b2,w2=x2-L2+b2,T2=m2-l2,N=m2+y2,i4.y<0&&(T2=m2,N=m2+y2+l2),t4.inverted&&(C2=a3.width-m2,S2=X-(a3.width-c2),M=b2*(X-C2)/S2,L2=b2*(X-(C2-y2))/S2,v2=(k2=x2+b2+M)-2*M,A2=x2-L2+b2,w2=x2+L2+b2,T2=m2,N=m2+y2-l2,i4.y<0&&(N=m2+y2+l2)),i4.shapeType="path",i4.shapeArgs={x:k2,y:T2,width:v2-k2,height:y2,d:[["M",k2,T2],["L",v2,T2],["L",A2,N],["L",w2,N],["Z"]]}}}}return n2.defaultOptions=a2(s2.defaultOptions,t3),e3.registerSeriesType("columnpyramid",n2),n2})),i(e2,"Series/ErrorBar/ErrorBarSeriesDefaults.js",[],(function(){return{color:"#000000",grouping:false,linkedTo:":previous",tooltip:{pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},whiskerWidth:null}})),i(e2,"Series/ErrorBar/ErrorBarSeries.js",[e2["Series/BoxPlot/BoxPlotSeries.js"],e2["Series/Column/ColumnSeries.js"],e2["Series/ErrorBar/ErrorBarSeriesDefaults.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,o2){let{arearange:a2}=s2.seriesTypes,{addEvent:r2,merge:n2,extend:l2}=o2;class h2 extends t3{getColumnMetrics(){return this.linkedParent&&this.linkedParent.columnMetrics||e3.prototype.getColumnMetrics.call(this)}drawDataLabels(){let t4=this.pointValKey;if(a2)for(let e4 of(a2.prototype.drawDataLabels.call(this),this.points))e4.y=e4[t4]}toYData(t4){return[t4.low,t4.high]}}return h2.defaultOptions=n2(t3.defaultOptions,i2),r2(h2,"afterTranslate",(function(){for(let t4 of this.points)t4.plotLow=t4.plotY}),{order:0}),l2(h2.prototype,{pointArrayMap:["low","high"],pointValKey:"high",doQuartiles:false}),s2.registerSeriesType("errorbar",h2),h2})),i(e2,"Series/Gauge/GaugePoint.js",[e2["Core/Series/SeriesRegistry.js"]],(function(t3){let{series:{prototype:{pointClass:e3}}}=t3;return class extends e3{setState(t4){this.state=t4}}})),i(e2,"Series/Gauge/GaugeSeries.js",[e2["Series/Gauge/GaugePoint.js"],e2["Core/Globals.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){let{noop:o2}=e3,{series:a2,seriesTypes:{column:r2}}=i2,{clamp:n2,isNumber:l2,extend:h2,merge:p2,pick:d2,pInt:c2,defined:u2}=s2;class g2 extends a2{translate(){let t4=this.yAxis,e4=this.options,i3=t4.center;this.generatePoints(),this.points.forEach((s3=>{let o3=p2(e4.dial,s3.dial),a3=c2(o3.radius)*i3[2]/200,r3=c2(o3.baseLength)*a3/100,h3=c2(o3.rearLength)*a3/100,d3=o3.baseWidth,g3=o3.topWidth,f2=e4.overshoot,b2=t4.startAngleRad+t4.translate(s3.y,void 0,void 0,void 0,true);(l2(f2)||false===e4.wrap)&&(f2=l2(f2)?f2/180*Math.PI:0,b2=n2(b2,t4.startAngleRad-f2,t4.endAngleRad+f2)),b2=180*b2/Math.PI,s3.shapeType="path";let m2=o3.path||[["M",-h3,-d3/2],["L",r3,-d3/2],["L",a3,-g3/2],["L",a3,g3/2],["L",r3,d3/2],["L",-h3,d3/2],["Z"]];s3.shapeArgs={d:m2,translateX:i3[0],translateY:i3[1],rotation:b2},s3.plotX=i3[0],s3.plotY=i3[1],u2(s3.y)&&t4.max-t4.min&&(s3.percentage=(s3.y-t4.min)/(t4.max-t4.min)*100)}))}drawPoints(){let t4=this,e4=t4.chart,i3=t4.yAxis.center,s3=t4.pivot,o3=t4.options,a3=o3.pivot,r3=e4.renderer;t4.points.forEach((i4=>{let s4=i4.graphic,a4=i4.shapeArgs,n3=a4.d,l3=p2(o3.dial,i4.dial);s4?(s4.animate(a4),a4.d=n3):i4.graphic=r3[i4.shapeType](a4).addClass("highcharts-dial").add(t4.group),e4.styledMode||i4.graphic[s4?"animate":"attr"]({stroke:l3.borderColor,"stroke-width":l3.borderWidth,fill:l3.backgroundColor})})),s3?s3.animate({translateX:i3[0],translateY:i3[1]}):a3&&(t4.pivot=r3.circle(0,0,a3.radius).attr({zIndex:2}).addClass("highcharts-pivot").translate(i3[0],i3[1]).add(t4.group),e4.styledMode||t4.pivot.attr({fill:a3.backgroundColor,stroke:a3.borderColor,"stroke-width":a3.borderWidth}))}animate(t4){let e4=this;t4||e4.points.forEach((t5=>{let i3=t5.graphic;i3&&(i3.attr({rotation:180*e4.yAxis.startAngleRad/Math.PI}),i3.animate({rotation:t5.shapeArgs.rotation},e4.options.animation))}))}render(){this.group=this.plotGroup("group","series",this.visible?"inherit":"hidden",this.options.zIndex,this.chart.seriesGroup),a2.prototype.render.call(this),this.group.clip(this.chart.clipRect)}setData(t4,e4){a2.prototype.setData.call(this,t4,false),this.processData(),this.generatePoints(),d2(e4,true)&&this.chart.redraw()}hasData(){return!!this.points.length}}return g2.defaultOptions=p2(a2.defaultOptions,{dataLabels:{borderColor:"#cccccc",borderRadius:3,borderWidth:1,crop:false,defer:false,enabled:true,verticalAlign:"top",y:15,zIndex:2},dial:{backgroundColor:"#000000",baseLength:"70%",baseWidth:3,borderColor:"#cccccc",borderWidth:0,radius:"80%",rearLength:"10%",topWidth:1},pivot:{radius:5,borderWidth:0,borderColor:"#cccccc",backgroundColor:"#000000"},tooltip:{headerFormat:""},showInLegend:false}),h2(g2.prototype,{angular:true,directTouch:true,drawGraph:o2,drawTracker:r2.prototype.drawTracker,fixedBox:true,forceDL:true,noSharedTooltip:true,pointClass:t3,trackerGroups:["group","dataLabelsGroup"]}),i2.registerSeriesType("gauge",g2),g2})),i(e2,"Series/DragNodesComposition.js",[e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{composed:i2}=t3,{addEvent:s2,pushUnique:o2}=e3;function a2(){let t4,e4,i3;let o3=this;o3.container&&(t4=s2(o3.container,"mousedown",(t5=>{let a3=o3.hoverPoint;a3&&a3.series&&a3.series.hasDraggableNodes&&a3.series.options.draggable&&(a3.series.onMouseDown(a3,t5),e4=s2(o3.container,"mousemove",(t6=>a3&&a3.series&&a3.series.onMouseMove(a3,t6))),i3=s2(o3.container.ownerDocument,"mouseup",(t6=>(e4(),i3(),a3&&a3.series&&a3.series.onMouseUp(a3,t6)))))}))),s2(o3,"destroy",(function(){t4()}))}return{compose:function(t4){o2(i2,"DragNodes")&&s2(t4,"load",a2)},onMouseDown:function(t4,e4){var _a;let i3=((_a=this.chart.pointer)==null?void 0:_a.normalize(e4))||e4;t4.fixedPosition={chartX:i3.chartX,chartY:i3.chartY,plotX:t4.plotX,plotY:t4.plotY},t4.inDragMode=true},onMouseMove:function(t4,e4){var _a;if(t4.fixedPosition&&t4.inDragMode){let i3,s3;let o3=this.chart,a3=((_a=o3.pointer)==null?void 0:_a.normalize(e4))||e4,r2=t4.fixedPosition.chartX-a3.chartX,n2=t4.fixedPosition.chartY-a3.chartY,l2=o3.graphLayoutsLookup;(Math.abs(r2)>5||Math.abs(n2)>5)&&(i3=t4.fixedPosition.plotX-r2,s3=t4.fixedPosition.plotY-n2,o3.isInsidePlot(i3,s3)&&(t4.plotX=i3,t4.plotY=s3,t4.hasDragged=true,this.redrawHalo(t4),l2.forEach((t5=>{t5.restartSimulation()}))))}},onMouseUp:function(t4){t4.fixedPosition&&(t4.hasDragged&&(this.layout.enableSimulation?this.layout.start():this.chart.redraw()),t4.inDragMode=t4.hasDragged=false,this.options.fixedDraggable||delete t4.fixedPosition)},redrawHalo:function(t4){t4&&this.halo&&this.halo.attr({d:t4.haloPath(this.options.states.hover.halo.size)})}}})),i(e2,"Series/GraphLayoutComposition.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{setAnimation:s2}=t3,{composed:o2}=e3,{addEvent:a2,pushUnique:r2}=i2;function n2(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach((t4=>{t4.updateSimulation()})),this.redraw())}function l2(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach((t4=>{t4.updateSimulation(false)})),this.redraw())}function h2(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach((t4=>{t4.stop()}))}function p2(){let t4,e4=false,i3=i4=>{i4.maxIterations--&&isFinite(i4.temperature)&&!i4.isStable()&&!i4.enableSimulation&&(i4.beforeStep&&i4.beforeStep(),i4.step(),t4=false,e4=true)};if(this.graphLayoutsLookup){for(s2(false,this),this.graphLayoutsLookup.forEach((t5=>t5.start()));!t4;)t4=true,this.graphLayoutsLookup.forEach(i3);e4&&this.series.forEach((t5=>{t5&&t5.layout&&t5.render()}))}}return{compose:function(t4){r2(o2,"GraphLayout")&&(a2(t4,"afterPrint",n2),a2(t4,"beforePrint",l2),a2(t4,"predraw",h2),a2(t4,"render",p2))},integrations:{},layouts:{}}})),i(e2,"Series/PackedBubble/PackedBubblePoint.js",[e2["Core/Chart/Chart.js"],e2["Core/Series/Point.js"],e2["Core/Series/SeriesRegistry.js"]],(function(t3,e3,i2){let{seriesTypes:{bubble:{prototype:{pointClass:s2}}}}=i2;return class extends s2{destroy(){var _a;return((_a=this.series)==null?void 0:_a.layout)&&this.series.layout.removeElementFromCollection(this,this.series.layout.nodes),e3.prototype.destroy.apply(this,arguments)}firePointEvent(){let t4=this.series.options;if(this.isParentNode&&t4.parentNode){let i3=t4.allowPointSelect;t4.allowPointSelect=t4.parentNode.allowPointSelect,e3.prototype.firePointEvent.apply(this,arguments),t4.allowPointSelect=i3}else e3.prototype.firePointEvent.apply(this,arguments)}select(){let i3=this.series.chart;this.isParentNode?(i3.getSelectedPoints=i3.getSelectedParentNodes,e3.prototype.select.apply(this,arguments),i3.getSelectedPoints=t3.prototype.getSelectedPoints):e3.prototype.select.apply(this,arguments)}}})),i(e2,"Series/PackedBubble/PackedBubbleSeriesDefaults.js",[e2["Core/Utilities.js"]],(function(t3){let{isNumber:e3}=t3;return{minSize:"10%",maxSize:"50%",sizeBy:"area",zoneAxis:"y",crisp:false,tooltip:{pointFormat:"Value: {point.value}"},draggable:true,useSimulation:true,parentNode:{allowPointSelect:false},dataLabels:{formatter:function(){let{numberFormatter:t4}=this.series.chart,{value:i2}=this.point;return e3(i2)?t4(i2,-1):""},parentNodeFormatter:function(){return this.name},parentNodeTextPath:{enabled:true},padding:0,style:{transition:"opacity 2000ms"}},layoutAlgorithm:{initialPositions:"circle",initialPositionRadius:20,bubblePadding:5,parentNodeLimit:false,seriesInteraction:true,dragBetweenSeries:false,parentNodeOptions:{maxIterations:400,gravitationalConstant:.03,maxSpeed:50,initialPositionRadius:100,seriesInteraction:true,marker:{fillColor:null,fillOpacity:1,lineWidth:null,lineColor:null,symbol:"circle"}},enableSimulation:true,type:"packedbubble",integration:"packedbubble",maxIterations:1e3,splitSeries:false,maxSpeed:5,gravitationalConstant:.01,friction:-.981}}})),i(e2,"Series/Networkgraph/VerletIntegration.js",[],(function(){return{attractive:function(t3,e3,i2){let s2=t3.getMass(),o2=-i2.x*e3*this.diffTemperature,a2=-i2.y*e3*this.diffTemperature;t3.fromNode.fixedPosition||(t3.fromNode.plotX-=o2*s2.fromNode/t3.fromNode.degree,t3.fromNode.plotY-=a2*s2.fromNode/t3.fromNode.degree),t3.toNode.fixedPosition||(t3.toNode.plotX+=o2*s2.toNode/t3.toNode.degree,t3.toNode.plotY+=a2*s2.toNode/t3.toNode.degree)},attractiveForceFunction:function(t3,e3){return(e3-t3)/t3},barycenter:function(){let t3=this.options.gravitationalConstant||0,e3=(this.barycenter.xFactor-(this.box.left+this.box.width)/2)*t3,i2=(this.barycenter.yFactor-(this.box.top+this.box.height)/2)*t3;this.nodes.forEach((function(t4){t4.fixedPosition||(t4.plotX-=e3/t4.mass/t4.degree,t4.plotY-=i2/t4.mass/t4.degree)}))},getK:function(t3){return Math.pow(t3.box.width*t3.box.height/t3.nodes.length,.5)},integrate:function(t3,e3){let i2=-t3.options.friction,s2=t3.options.maxSpeed,o2=e3.prevX,a2=e3.prevY,r2=(e3.plotX+e3.dispX-o2)*i2,n2=(e3.plotY+e3.dispY-a2)*i2,l2=Math.abs,h2=l2(r2)/(r2||1),p2=l2(n2)/(n2||1),d2=h2*Math.min(s2,Math.abs(r2)),c2=p2*Math.min(s2,Math.abs(n2));e3.prevX=e3.plotX+e3.dispX,e3.prevY=e3.plotY+e3.dispY,e3.plotX+=d2,e3.plotY+=c2,e3.temperature=t3.vectorLength({x:d2,y:c2})},repulsive:function(t3,e3,i2){let s2=e3*this.diffTemperature/t3.mass/t3.degree;t3.fixedPosition||(t3.plotX+=i2.x*s2,t3.plotY+=i2.y*s2)},repulsiveForceFunction:function(t3,e3){return(e3-t3)/t3*(e3>t3?1:0)}}})),i(e2,"Series/PackedBubble/PackedBubbleIntegration.js",[e2["Core/Globals.js"],e2["Series/Networkgraph/VerletIntegration.js"]],(function(t3,e3){let{noop:i2}=t3;return{barycenter:function(){let t4,e4;let i3=this.options.gravitationalConstant,s2=this.box,o2=this.nodes;for(let a2 of o2)this.options.splitSeries&&!a2.isParentNode?(t4=a2.series.parentNode.plotX,e4=a2.series.parentNode.plotY):(t4=s2.width/2,e4=s2.height/2),a2.fixedPosition||(a2.plotX-=(a2.plotX-t4)*i3/(a2.mass*Math.sqrt(o2.length)),a2.plotY-=(a2.plotY-e4)*i3/(a2.mass*Math.sqrt(o2.length)))},getK:i2,integrate:e3.integrate,repulsive:function(t4,e4,i3,s2){let o2=e4*this.diffTemperature/t4.mass/t4.degree,a2=i3.x*o2,r2=i3.y*o2;t4.fixedPosition||(t4.plotX+=a2,t4.plotY+=r2),s2.fixedPosition||(s2.plotX-=a2,s2.plotY-=r2)},repulsiveForceFunction:function(t4,e4,i3,s2){return Math.min(t4,(i3.marker.radius+s2.marker.radius)/2)}}})),i(e2,"Series/Networkgraph/EulerIntegration.js",[],(function(){return{attractive:function(t3,e3,i2,s2){let o2=t3.getMass(),a2=i2.x/s2*e3,r2=i2.y/s2*e3;t3.fromNode.fixedPosition||(t3.fromNode.dispX-=a2*o2.fromNode/t3.fromNode.degree,t3.fromNode.dispY-=r2*o2.fromNode/t3.fromNode.degree),t3.toNode.fixedPosition||(t3.toNode.dispX+=a2*o2.toNode/t3.toNode.degree,t3.toNode.dispY+=r2*o2.toNode/t3.toNode.degree)},attractiveForceFunction:function(t3,e3){return t3*t3/e3},barycenter:function(){let t3=this.options.gravitationalConstant,e3=this.barycenter.xFactor,i2=this.barycenter.yFactor;this.nodes.forEach((function(s2){if(!s2.fixedPosition){let o2=s2.getDegree(),a2=o2*(1+o2/2);s2.dispX+=(e3-s2.plotX)*t3*a2/s2.degree,s2.dispY+=(i2-s2.plotY)*t3*a2/s2.degree}}))},getK:function(t3){return Math.pow(t3.box.width*t3.box.height/t3.nodes.length,.3)},integrate:function(t3,e3){e3.dispX+=e3.dispX*t3.options.friction,e3.dispY+=e3.dispY*t3.options.friction;let i2=e3.temperature=t3.vectorLength({x:e3.dispX,y:e3.dispY});0!==i2&&(e3.plotX+=e3.dispX/i2*Math.min(Math.abs(e3.dispX),t3.temperature),e3.plotY+=e3.dispY/i2*Math.min(Math.abs(e3.dispY),t3.temperature))},repulsive:function(t3,e3,i2,s2){t3.dispX+=i2.x/s2*e3/t3.degree,t3.dispY+=i2.y/s2*e3/t3.degree},repulsiveForceFunction:function(t3,e3){return e3*e3/t3}}})),i(e2,"Series/Networkgraph/QuadTreeNode.js",[],(function(){class t3{constructor(t4){this.body=false,this.isEmpty=false,this.isInternal=false,this.nodes=[],this.box=t4,this.boxSize=Math.min(t4.width,t4.height)}divideBox(){let e3=this.box.width/2,i2=this.box.height/2;this.nodes[0]=new t3({left:this.box.left,top:this.box.top,width:e3,height:i2}),this.nodes[1]=new t3({left:this.box.left+e3,top:this.box.top,width:e3,height:i2}),this.nodes[2]=new t3({left:this.box.left+e3,top:this.box.top+i2,width:e3,height:i2}),this.nodes[3]=new t3({left:this.box.left,top:this.box.top+i2,width:e3,height:i2})}getBoxPosition(t4){let e3=t4.plotX<this.box.left+this.box.width/2,i2=t4.plotY<this.box.top+this.box.height/2;return e3?i2?0:3:i2?1:2}insert(e3,i2){let s2;this.isInternal?this.nodes[this.getBoxPosition(e3)].insert(e3,i2-1):(this.isEmpty=false,this.body?i2?(this.isInternal=true,this.divideBox(),true!==this.body&&(this.nodes[this.getBoxPosition(this.body)].insert(this.body,i2-1),this.body=true),this.nodes[this.getBoxPosition(e3)].insert(e3,i2-1)):((s2=new t3({top:e3.plotX||NaN,left:e3.plotY||NaN,width:.1,height:.1})).body=e3,s2.isInternal=false,this.nodes.push(s2)):(this.isInternal=false,this.body=e3))}updateMassAndCenter(){let t4=0,e3=0,i2=0;if(this.isInternal){for(let s2 of this.nodes)s2.isEmpty||(t4+=s2.mass,e3+=s2.plotX*s2.mass,i2+=s2.plotY*s2.mass);e3/=t4,i2/=t4}else this.body&&(t4=this.body.mass,e3=this.body.plotX,i2=this.body.plotY);this.mass=t4,this.plotX=e3,this.plotY=i2}}return t3})),i(e2,"Series/Networkgraph/QuadTree.js",[e2["Series/Networkgraph/QuadTreeNode.js"]],(function(t3){return class{constructor(e3,i2,s2,o2){this.box={left:e3,top:i2,width:s2,height:o2},this.maxDepth=25,this.root=new t3(this.box),this.root.isInternal=true,this.root.isRoot=true,this.root.divideBox()}calculateMassAndCenter(){this.visitNodeRecursive(null,null,(function(t4){t4.updateMassAndCenter()}))}insertNodes(t4){for(let e3 of t4)this.root.insert(e3,this.maxDepth)}visitNodeRecursive(t4,e3,i2){let s2;if(t4||(t4=this.root),t4===this.root&&e3&&(s2=e3(t4)),false!==s2){for(let o2 of t4.nodes){if(o2.isInternal){if(e3&&(s2=e3(o2)),false===s2)continue;this.visitNodeRecursive(o2,e3,i2)}else o2.body&&e3&&e3(o2.body);i2&&i2(o2)}t4===this.root&&i2&&i2(t4)}}}})),i(e2,"Series/Networkgraph/ReingoldFruchtermanLayout.js",[e2["Series/Networkgraph/EulerIntegration.js"],e2["Core/Globals.js"],e2["Series/GraphLayoutComposition.js"],e2["Series/Networkgraph/QuadTree.js"],e2["Core/Utilities.js"],e2["Series/Networkgraph/VerletIntegration.js"]],(function(t3,e3,i2,s2,o2,a2){let{win:r2}=e3,{clamp:n2,defined:l2,isFunction:h2,fireEvent:p2,pick:d2}=o2;class c2{constructor(){this.box={},this.currentStep=0,this.initialRendering=true,this.links=[],this.nodes=[],this.series=[],this.simulation=false}static compose(e4){i2.compose(e4),i2.integrations.euler=t3,i2.integrations.verlet=a2,i2.layouts["reingold-fruchterman"]=c2}init(t4){this.options=t4,this.nodes=[],this.links=[],this.series=[],this.box={x:0,y:0,width:0,height:0},this.setInitialRendering(true),this.integration=i2.integrations[t4.integration],this.enableSimulation=t4.enableSimulation,this.attractiveForce=d2(t4.attractiveForce,this.integration.attractiveForceFunction),this.repulsiveForce=d2(t4.repulsiveForce,this.integration.repulsiveForceFunction),this.approximation=t4.approximation}updateSimulation(t4){this.enableSimulation=d2(t4,this.options.enableSimulation)}start(){let t4=this.series,e4=this.options;this.currentStep=0,this.forces=t4[0]&&t4[0].forces||[],this.chart=t4[0]&&t4[0].chart,this.initialRendering&&(this.initPositions(),t4.forEach((function(t5){t5.finishedAnimating=true,t5.render()}))),this.setK(),this.resetSimulation(e4),this.enableSimulation&&this.step()}step(){let t4=this.series;for(let t5 of(this.currentStep++,"barnes-hut"===this.approximation&&(this.createQuadTree(),this.quadTree.calculateMassAndCenter()),this.forces||[]))this[t5+"Forces"](this.temperature);if(this.applyLimits(),this.temperature=this.coolDown(this.startTemperature,this.diffTemperature,this.currentStep),this.prevSystemTemperature=this.systemTemperature,this.systemTemperature=this.getSystemTemperature(),this.enableSimulation){for(let e4 of t4)e4.chart&&e4.render();this.maxIterations--&&isFinite(this.temperature)&&!this.isStable()?(this.simulation&&r2.cancelAnimationFrame(this.simulation),this.simulation=r2.requestAnimationFrame((()=>this.step()))):(this.simulation=false,this.series.forEach((t5=>{p2(t5,"afterSimulation")})))}}stop(){this.simulation&&r2.cancelAnimationFrame(this.simulation)}setArea(t4,e4,i3,s3){this.box={left:t4,top:e4,width:i3,height:s3}}setK(){this.k=this.options.linkLength||this.integration.getK(this)}addElementsToCollection(t4,e4){for(let i3 of t4)-1===e4.indexOf(i3)&&e4.push(i3)}removeElementFromCollection(t4,e4){let i3=e4.indexOf(t4);-1!==i3&&e4.splice(i3,1)}clear(){this.nodes.length=0,this.links.length=0,this.series.length=0,this.resetSimulation()}resetSimulation(){this.forcedStop=false,this.systemTemperature=0,this.setMaxIterations(),this.setTemperature(),this.setDiffTemperature()}restartSimulation(){this.simulation?this.resetSimulation():(this.setInitialRendering(false),this.enableSimulation?this.start():this.setMaxIterations(1),this.chart&&this.chart.redraw(),this.setInitialRendering(true))}setMaxIterations(t4){this.maxIterations=d2(t4,this.options.maxIterations)}setTemperature(){this.temperature=this.startTemperature=Math.sqrt(this.nodes.length)}setDiffTemperature(){this.diffTemperature=this.startTemperature/(this.options.maxIterations+1)}setInitialRendering(t4){this.initialRendering=t4}createQuadTree(){this.quadTree=new s2(this.box.left,this.box.top,this.box.width,this.box.height),this.quadTree.insertNodes(this.nodes)}initPositions(){let t4=this.options.initialPositions;if(h2(t4))for(let e4 of(t4.call(this),this.nodes))l2(e4.prevX)||(e4.prevX=e4.plotX),l2(e4.prevY)||(e4.prevY=e4.plotY),e4.dispX=0,e4.dispY=0;else"circle"===t4?this.setCircularPositions():this.setRandomPositions()}setCircularPositions(){let t4;let e4=this.box,i3=this.nodes,s3=2*Math.PI/(i3.length+1),o3=i3.filter((function(t5){return 0===t5.linksTo.length})),a3={},r3=this.options.initialPositionRadius,n3=t5=>{for(let e5 of t5.linksFrom||[])a3[e5.toNode.id]||(a3[e5.toNode.id]=true,l3.push(e5.toNode),n3(e5.toNode))},l3=[];for(let t5 of o3)l3.push(t5),n3(t5);if(l3.length)for(let t5 of i3)-1===l3.indexOf(t5)&&l3.push(t5);else l3=i3;for(let i4=0,o4=l3.length;i4<o4;++i4)(t4=l3[i4]).plotX=t4.prevX=d2(t4.plotX,e4.width/2+r3*Math.cos(i4*s3)),t4.plotY=t4.prevY=d2(t4.plotY,e4.height/2+r3*Math.sin(i4*s3)),t4.dispX=0,t4.dispY=0}setRandomPositions(){let t4;let e4=this.box,i3=this.nodes,s3=i3.length+1,o3=t5=>{let e5=t5*t5/Math.PI;return e5-Math.floor(e5)};for(let a3=0,r3=i3.length;a3<r3;++a3)(t4=i3[a3]).plotX=t4.prevX=d2(t4.plotX,e4.width*o3(a3)),t4.plotY=t4.prevY=d2(t4.plotY,e4.height*o3(s3+a3)),t4.dispX=0,t4.dispY=0}force(t4,...e4){this.integration[t4].apply(this,e4)}barycenterForces(){this.getBarycenter(),this.force("barycenter")}getBarycenter(){let t4=0,e4=0,i3=0;for(let s3 of this.nodes)e4+=s3.plotX*s3.mass,i3+=s3.plotY*s3.mass,t4+=s3.mass;return this.barycenter={x:e4,y:i3,xFactor:e4/t4,yFactor:i3/t4},this.barycenter}barnesHutApproximation(t4,e4){let i3,s3;let o3=this.getDistXY(t4,e4),a3=this.vectorLength(o3);return t4!==e4&&0!==a3&&(e4.isInternal?e4.boxSize/a3<this.options.theta&&0!==a3?(s3=this.repulsiveForce(a3,this.k),this.force("repulsive",t4,s3*e4.mass,o3,a3),i3=false):i3=true:(s3=this.repulsiveForce(a3,this.k),this.force("repulsive",t4,s3*e4.mass,o3,a3))),i3}repulsiveForces(){if("barnes-hut"===this.approximation)for(let t4 of this.nodes)this.quadTree.visitNodeRecursive(null,(e4=>this.barnesHutApproximation(t4,e4)));else{let t4,e4,i3;for(let s3 of this.nodes)for(let o3 of this.nodes)s3===o3||s3.fixedPosition||(i3=this.getDistXY(s3,o3),0!==(e4=this.vectorLength(i3))&&(t4=this.repulsiveForce(e4,this.k),this.force("repulsive",s3,t4*o3.mass,i3,e4)))}}attractiveForces(){let t4,e4,i3;for(let s3 of this.links)s3.fromNode&&s3.toNode&&(t4=this.getDistXY(s3.fromNode,s3.toNode),0!==(e4=this.vectorLength(t4))&&(i3=this.attractiveForce(e4,this.k),this.force("attractive",s3,i3,t4,e4)))}applyLimits(){for(let t4 of this.nodes)t4.fixedPosition||(this.integration.integrate(this,t4),this.applyLimitBox(t4,this.box),t4.dispX=0,t4.dispY=0)}applyLimitBox(t4,e4){let i3=t4.radius;t4.plotX=n2(t4.plotX,e4.left+i3,e4.width-i3),t4.plotY=n2(t4.plotY,e4.top+i3,e4.height-i3)}coolDown(t4,e4,i3){return t4-e4*i3}isStable(){return 1e-5>Math.abs(this.systemTemperature-this.prevSystemTemperature)||this.temperature<=0}getSystemTemperature(){let t4=0;for(let e4 of this.nodes)t4+=e4.temperature;return t4}vectorLength(t4){return Math.sqrt(t4.x*t4.x+t4.y*t4.y)}getDistR(t4,e4){let i3=this.getDistXY(t4,e4);return this.vectorLength(i3)}getDistXY(t4,e4){let i3=t4.plotX-e4.plotX,s3=t4.plotY-e4.plotY;return{x:i3,y:s3,absX:Math.abs(i3),absY:Math.abs(s3)}}}return c2})),i(e2,"Series/PackedBubble/PackedBubbleLayout.js",[e2["Series/GraphLayoutComposition.js"],e2["Series/PackedBubble/PackedBubbleIntegration.js"],e2["Series/Networkgraph/ReingoldFruchtermanLayout.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){let{addEvent:o2,pick:a2}=s2;function r2(){let t4=this.series,e4=[];return t4.forEach((t5=>{t5.parentNode&&t5.parentNode.selected&&e4.push(t5.parentNode)})),e4}function n2(){this.allDataPoints&&delete this.allDataPoints}class l2 extends i2{constructor(){super(...arguments),this.index=NaN,this.nodes=[],this.series=[]}static compose(s3){i2.compose(s3),t3.integrations.packedbubble=e3,t3.layouts.packedbubble=l2;let a3=s3.prototype;a3.getSelectedParentNodes||(o2(s3,"beforeRedraw",n2),a3.getSelectedParentNodes=r2)}beforeStep(){this.options.marker&&this.series.forEach((t4=>{t4&&t4.calculateParentRadius()}))}isStable(){let t4=Math.abs(this.prevSystemTemperature-this.systemTemperature);return 1>Math.abs(10*this.systemTemperature/Math.sqrt(this.nodes.length))&&t4<1e-5||this.temperature<=0}setCircularPositions(){let t4=this.box,e4=this.nodes,i3=2*Math.PI/(e4.length+1),s3=this.options.initialPositionRadius,o3,r3,n3=0;for(let l3 of e4)this.options.splitSeries&&!l3.isParentNode?(o3=l3.series.parentNode.plotX,r3=l3.series.parentNode.plotY):(o3=t4.width/2,r3=t4.height/2),l3.plotX=l3.prevX=a2(l3.plotX,o3+s3*Math.cos(l3.index||n3*i3)),l3.plotY=l3.prevY=a2(l3.plotY,r3+s3*Math.sin(l3.index||n3*i3)),l3.dispX=0,l3.dispY=0,n3++}repulsiveForces(){let t4,e4,i3;let s3=this,o3=s3.options.bubblePadding,a3=s3.nodes;a3.forEach((r3=>{r3.degree=r3.mass,r3.neighbours=0,a3.forEach((a4=>{t4=0,r3!==a4&&!r3.fixedPosition&&(s3.options.seriesInteraction||r3.series===a4.series)&&(i3=s3.getDistXY(r3,a4),(e4=s3.vectorLength(i3)-(r3.marker.radius+a4.marker.radius+o3))<0&&(r3.degree+=.01,r3.neighbours++,t4=s3.repulsiveForce(-e4/Math.sqrt(r3.neighbours),s3.k,r3,a4)),s3.force("repulsive",r3,t4*a4.mass,i3,a4,e4))}))}))}applyLimitBox(t4,e4){let i3,s3;this.options.splitSeries&&!t4.isParentNode&&this.options.parentNodeLimit&&(i3=this.getDistXY(t4,t4.series.parentNode),(s3=t4.series.parentNodeRadius-t4.marker.radius-this.vectorLength(i3))<0&&s3>-2*t4.marker.radius&&(t4.plotX-=.01*i3.x,t4.plotY-=.01*i3.y)),super.applyLimitBox(t4,e4)}}return t3.layouts.packedbubble=l2,l2})),i(e2,"Series/SimulationSeriesUtilities.js",[e2["Core/Utilities.js"],e2["Core/Animation/AnimationUtilities.js"]],(function(t3,e3){let{merge:i2,syncTimeout:s2}=t3,{animObject:o2}=e3;return{initDataLabels:function(){let t4=this.options.dataLabels;if(!this.dataLabelsGroup){let e4=this.initDataLabelsGroup();return!this.chart.styledMode&&(t4==null?void 0:t4.style)&&e4.css(t4.style),e4.attr({opacity:0}),this.visible&&e4.show(),e4}return this.dataLabelsGroup.attr(i2({opacity:1},this.getPlotBox("data-labels"))),this.dataLabelsGroup},initDataLabelsDefer:function(){var _a;let t4=this.options.dataLabels;(t4==null?void 0:t4.defer)&&((_a=this.options.layoutAlgorithm)==null?void 0:_a.enableSimulation)?s2((()=>{this.deferDataLabels=false}),t4?o2(t4.animation).defer:0):this.deferDataLabels=false}}})),i(e2,"Extensions/TextPath.js",[e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{deg2rad:i2}=t3,{addEvent:s2,merge:o2,uniqueKey:a2,defined:r2,extend:n2}=e3;function l2(t4,e4){e4=o2(true,{enabled:true,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},e4);let i3=this.renderer.url,l3=this.text||this,h3=l3.textPath,{attributes:p3,enabled:d2}=e4;if(t4=t4||h3&&h3.path,h3&&h3.undo(),t4&&d2){let e5=s2(l3,"afterModifyTree",(e6=>{if(t4&&d2){let s3=t4.attr("id");s3||t4.attr("id",s3=a2());let o3={x:0,y:0};r2(p3.dx)&&(o3.dx=p3.dx,delete p3.dx),r2(p3.dy)&&(o3.dy=p3.dy,delete p3.dy),l3.attr(o3),this.attr({transform:""}),this.box&&(this.box=this.box.destroy());let h4=e6.nodes.slice(0);e6.nodes.length=0,e6.nodes[0]={tagName:"textPath",attributes:n2(p3,{"text-anchor":p3.textAnchor,href:`${i3}#${s3}`}),children:h4}}}));l3.textPath={path:t4,undo:e5}}else l3.attr({dx:0,dy:0}),delete l3.textPath;return this.added&&(l3.textCache="",this.renderer.buildText(l3)),this}function h2(t4){var _a;let e4=t4.bBox,s3=(_a=this.element)==null?void 0:_a.querySelector("textPath");if(s3){let t5=[],{b:o3,h:a3}=this.renderer.fontMetrics(this.element),r3=a3-o3,n3=RegExp('(<tspan>|<tspan(?!\\sclass="highcharts-br")[^>]*>|<\\/tspan>)',"g"),l3=s3.innerHTML.replace(n3,"").split(/<tspan class="highcharts-br"[^>]*>/),h3=l3.length,p3=(t6,e5)=>{let{x:a4,y:n4}=e5,l4=(s3.getRotationOfChar(t6)-90)*i2,h4=Math.cos(l4),p4=Math.sin(l4);return[[a4-r3*h4,n4-r3*p4],[a4+o3*h4,n4+o3*p4]]};for(let e5=0,i3=0;i3<h3;i3++){let o4=l3[i3].length;for(let a4=0;a4<o4;a4+=5)try{let o5=e5+a4+i3,[r4,n4]=p3(o5,s3.getStartPositionOfChar(o5));0===a4?(t5.push(n4),t5.push(r4)):(0===i3&&t5.unshift(n4),i3===h3-1&&t5.push(r4))}catch(t6){break}e5+=o4-1;try{let o5=e5+i3,a4=s3.getEndPositionOfChar(o5),[r4,n4]=p3(o5,a4);t5.unshift(n4),t5.unshift(r4)}catch(t6){break}}t5.length&&t5.push(t5[0].slice()),e4.polygon=t5}return e4}function p2(t4){var _a;let e4=t4.labelOptions,i3=t4.point,s3=e4[i3.formatPrefix+"TextPath"]||e4.textPath;s3&&!e4.useHTML&&(this.setTextPath(((_a=i3.getDataLabelPath)==null?void 0:_a.call(i3,this))||i3.graphic,s3),i3.dataLabelPath&&!s3.enabled&&(i3.dataLabelPath=i3.dataLabelPath.destroy()))}return{compose:function(t4){s2(t4,"afterGetBBox",h2),s2(t4,"beforeAddingDataLabel",p2);let e4=t4.prototype;e4.setTextPath||(e4.setTextPath=l2)}}})),i(e2,"Series/PackedBubble/PackedBubbleSeries.js",[e2["Core/Color/Color.js"],e2["Series/DragNodesComposition.js"],e2["Series/GraphLayoutComposition.js"],e2["Core/Globals.js"],e2["Series/PackedBubble/PackedBubblePoint.js"],e2["Series/PackedBubble/PackedBubbleSeriesDefaults.js"],e2["Series/PackedBubble/PackedBubbleLayout.js"],e2["Core/Series/SeriesRegistry.js"],e2["Series/SimulationSeriesUtilities.js"],e2["Core/Utilities.js"],e2["Core/Renderer/SVG/SVGElement.js"],e2["Extensions/TextPath.js"]],(function(t3,e3,i2,s2,o2,a2,r2,n2,l2,h2,p2,d2){let{parse:c2}=t3,{noop:u2}=s2,{series:{prototype:g2},seriesTypes:{bubble:f2}}=n2,{initDataLabels:b2,initDataLabelsDefer:m2}=l2,{addEvent:y2,clamp:x2,defined:P,extend:S2,fireEvent:M,isArray:L2,isNumber:C2,merge:k2,pick:v2}=h2;d2.compose(p2);class A2 extends f2{constructor(){super(...arguments),this.parentNodeMass=0,this.deferDataLabels=true}static compose(t4,i3,s3){f2.compose(t4,i3,s3),e3.compose(i3),r2.compose(i3)}accumulateAllPoints(){let t4;let e4=this.chart,i3=[];for(let s3 of e4.series)if(s3.is("packedbubble")&&s3.reserveSpace()){t4=s3.yData||[];for(let e5=0;e5<t4.length;e5++)i3.push([null,null,t4[e5],s3.index,e5,{id:e5,marker:{radius:0}}])}return i3}addLayout(){let t4=this.options.layoutAlgorithm=this.options.layoutAlgorithm||{},e4=t4.type||"packedbubble",s3=this.chart.options.chart,o3=this.chart.graphLayoutsStorage,a3=this.chart.graphLayoutsLookup,r3;o3||(this.chart.graphLayoutsStorage=o3={},this.chart.graphLayoutsLookup=a3=[]),(r3=o3[e4])||(t4.enableSimulation=P(s3.forExport)?!s3.forExport:t4.enableSimulation,o3[e4]=r3=new i2.layouts[e4],r3.init(t4),a3.splice(r3.index,0,r3)),this.layout=r3,this.points.forEach((t5=>{t5.mass=2,t5.degree=1,t5.collisionNmb=1})),r3.setArea(0,0,this.chart.plotWidth,this.chart.plotHeight),r3.addElementsToCollection([this],r3.series),r3.addElementsToCollection(this.points,r3.nodes)}addSeriesLayout(){let t4=this.options.layoutAlgorithm=this.options.layoutAlgorithm||{},e4=t4.type||"packedbubble",s3=this.chart.graphLayoutsStorage,o3=this.chart.graphLayoutsLookup,a3=k2(t4,t4.parentNodeOptions,{enableSimulation:this.layout.options.enableSimulation}),r3=s3[e4+"-series"];r3||(s3[e4+"-series"]=r3=new i2.layouts[e4],r3.init(a3),o3.splice(r3.index,0,r3)),this.parentNodeLayout=r3,this.createParentNodes()}calculateParentRadius(){let t4=this.seriesBox();this.parentNodeRadius=x2(Math.sqrt(2*this.parentNodeMass/Math.PI)+20,20,t4?Math.max(Math.sqrt(Math.pow(t4.width,2)+Math.pow(t4.height,2))/2+20,20):Math.sqrt(2*this.parentNodeMass/Math.PI)+20),this.parentNode&&(this.parentNode.marker.radius=this.parentNode.radius=this.parentNodeRadius)}calculateZExtremes(){let t4=this.chart.series,e4=this.options.zMin,i3=this.options.zMax,s3=1/0,o3=-1/0;return e4&&i3?[e4,i3]:(t4.forEach((t5=>{t5.yData.forEach((t6=>{P(t6)&&(t6>o3&&(o3=t6),t6<s3&&(s3=t6))}))})),[e4=v2(e4,s3),i3=v2(i3,o3)])}checkOverlap(t4,e4){let i3=t4[0]-e4[0],s3=t4[1]-e4[1];return Math.sqrt(i3*i3+s3*s3)-Math.abs(t4[2]+e4[2])<-.001}createParentNodes(){let t4=this.pointClass,e4=this.chart,i3=this.parentNodeLayout,s3=this.layout.options,o3,a3=this.parentNode,r3={radius:this.parentNodeRadius,lineColor:this.color,fillColor:c2(this.color).brighten(.4).get()};s3.parentNodeOptions&&(r3=k2(s3.parentNodeOptions.marker||{},r3)),this.parentNodeMass=0,this.points.forEach((t5=>{this.parentNodeMass+=Math.PI*Math.pow(t5.marker.radius,2)})),this.calculateParentRadius(),i3.nodes.forEach((t5=>{t5.seriesIndex===this.index&&(o3=true)})),i3.setArea(0,0,e4.plotWidth,e4.plotHeight),o3||(a3||(a3=new t4(this,{mass:this.parentNodeRadius/2,marker:r3,dataLabels:{inside:false},states:{normal:{marker:r3},hover:{marker:r3}},dataLabelOnNull:true,degree:this.parentNodeRadius,isParentNode:true,seriesIndex:this.index})),this.parentNode&&(a3.plotX=this.parentNode.plotX,a3.plotY=this.parentNode.plotY),this.parentNode=a3,i3.addElementsToCollection([this],i3.series),i3.addElementsToCollection([a3],i3.nodes))}deferLayout(){let t4=this.options.layoutAlgorithm;this.visible&&(this.addLayout(),t4.splitSeries&&this.addSeriesLayout())}destroy(){this.chart.graphLayoutsLookup&&this.chart.graphLayoutsLookup.forEach((t4=>{t4.removeElementFromCollection(this,t4.series)}),this),this.parentNode&&this.parentNodeLayout&&(this.parentNodeLayout.removeElementFromCollection(this.parentNode,this.parentNodeLayout.nodes),this.parentNode.dataLabel&&(this.parentNode.dataLabel=this.parentNode.dataLabel.destroy())),g2.destroy.apply(this,arguments)}drawDataLabels(){!this.deferDataLabels&&(g2.drawDataLabels.call(this,this.points),this.parentNode&&(this.parentNode.formatPrefix="parentNode",g2.drawDataLabels.call(this,[this.parentNode])))}drawGraph(){var _a;if(!this.layout||!this.layout.options.splitSeries)return;let t4=this.chart,e4=this.layout.options.parentNodeOptions.marker,i3={fill:e4.fillColor||c2(this.color).brighten(.4).get(),opacity:e4.fillOpacity,stroke:e4.lineColor||this.color,"stroke-width":v2(e4.lineWidth,this.options.lineWidth)},s3={};this.parentNodesGroup=this.plotGroup("parentNodesGroup","parentNode",this.visible?"inherit":"hidden",.1,t4.seriesGroup),(_a=this.group)==null?void 0:_a.attr({zIndex:2}),this.calculateParentRadius(),this.parentNode&&P(this.parentNode.plotX)&&P(this.parentNode.plotY)&&P(this.parentNodeRadius)&&(s3=k2({x:this.parentNode.plotX-this.parentNodeRadius,y:this.parentNode.plotY-this.parentNodeRadius,width:2*this.parentNodeRadius,height:2*this.parentNodeRadius},i3),this.parentNode.graphic||(this.graph=this.parentNode.graphic=t4.renderer.symbol(i3.symbol).add(this.parentNodesGroup)),this.parentNode.graphic.attr(s3))}drawTracker(){let t4;let e4=this.parentNode;super.drawTracker(),e4&&(t4=L2(e4.dataLabels)?e4.dataLabels:e4.dataLabel?[e4.dataLabel]:[],e4.graphic&&(e4.graphic.element.point=e4),t4.forEach((t5=>{(t5.div||t5.element).point=e4})))}getPointRadius(){let t4,e4,i3,s3;let o3=this.chart,a3=o3.plotWidth,r3=o3.plotHeight,n3=this.options,l3=n3.useSimulation,h3=Math.min(a3,r3),p3={},d3=[],c3=o3.allDataPoints||[],u3=c3.length;["minSize","maxSize"].forEach((t5=>{let e5=parseInt(n3[t5],10),i4=/%$/.test(n3[t5]);p3[t5]=i4?h3*e5/100:e5*Math.sqrt(u3)})),o3.minRadius=t4=p3.minSize/Math.sqrt(u3),o3.maxRadius=e4=p3.maxSize/Math.sqrt(u3);let g3=l3?this.calculateZExtremes():[t4,e4];c3.forEach(((o4,a4)=>{i3=l3?x2(o4[2],g3[0],g3[1]):o4[2],0===(s3=this.getRadius(g3[0],g3[1],t4,e4,i3))&&(s3=null),c3[a4][2]=s3,d3.push(s3)})),this.radii=d3}init(){return g2.init.apply(this,arguments),m2.call(this),this.eventsToUnbind.push(y2(this,"updatedData",(function(){this.chart.series.forEach((t4=>{t4.type===this.type&&(t4.isDirty=true)}),this)}))),this}onMouseUp(t4){if(t4.fixedPosition&&!t4.removed){let i3;let s3=this.layout,o3=this.parentNodeLayout;o3&&s3.options.dragBetweenSeries&&o3.nodes.forEach((e4=>{t4&&t4.marker&&e4!==t4.series.parentNode&&(i3=s3.getDistXY(t4,e4),s3.vectorLength(i3)-e4.marker.radius-t4.marker.radius<0&&(e4.series.addPoint(k2(t4.options,{plotX:t4.plotX,plotY:t4.plotY}),false),s3.removeElementFromCollection(t4,s3.nodes),t4.remove()))})),e3.onMouseUp.apply(this,arguments)}}placeBubbles(t4){let e4=this.checkOverlap,i3=this.positionBubble,s3=[],o3=1,a3=0,r3=0,n3,l3=[],h3,p3=t4.sort(((t5,e5)=>e5[2]-t5[2]));if(p3.length){if(s3.push([[0,0,p3[0][2],p3[0][3],p3[0][4]]]),p3.length>1)for(s3.push([[0,0-p3[1][2]-p3[0][2],p3[1][2],p3[1][3],p3[1][4]]]),h3=2;h3<p3.length;h3++)p3[h3][2]=p3[h3][2]||1,e4(n3=i3(s3[o3][a3],s3[o3-1][r3],p3[h3]),s3[o3][0])?(s3.push([]),r3=0,s3[o3+1].push(i3(s3[o3][a3],s3[o3][0],p3[h3])),o3++,a3=0):o3>1&&s3[o3-1][r3+1]&&e4(n3,s3[o3-1][r3+1])?(r3++,s3[o3].push(i3(s3[o3][a3],s3[o3-1][r3],p3[h3])),a3++):(a3++,s3[o3].push(n3));this.chart.stages=s3,this.chart.rawPositions=[].concat.apply([],s3),this.resizeRadius(),l3=this.chart.rawPositions}return l3}pointAttribs(t4,e4){let i3=this.options,s3=t4&&t4.isParentNode,o3=i3.marker;s3&&i3.layoutAlgorithm&&i3.layoutAlgorithm.parentNodeOptions&&(o3=i3.layoutAlgorithm.parentNodeOptions.marker);let a3=o3.fillOpacity,r3=g2.pointAttribs.call(this,t4,e4);return 1!==a3&&(r3["fill-opacity"]=a3),r3}positionBubble(t4,e4,i3){let s3=Math.asin,o3=Math.acos,a3=Math.pow,r3=Math.abs,n3=(0,Math.sqrt)(a3(t4[0]-e4[0],2)+a3(t4[1]-e4[1],2)),l3=o3((a3(n3,2)+a3(i3[2]+e4[2],2)-a3(i3[2]+t4[2],2))/(2*(i3[2]+e4[2])*n3)),h3=s3(r3(t4[0]-e4[0])/n3),p3=(t4[1]-e4[1]<0?0:Math.PI)+l3+h3*((t4[0]-e4[0])*(t4[1]-e4[1])<0?1:-1),d3=Math.cos(p3),c3=Math.sin(p3);return[e4[0]+(e4[2]+i3[2])*c3,e4[1]-(e4[2]+i3[2])*d3,i3[2],i3[3],i3[4]]}render(){let t4=[];g2.render.apply(this,arguments),!this.options.dataLabels.allowOverlap&&(this.data.forEach((e4=>{L2(e4.dataLabels)&&e4.dataLabels.forEach((e5=>{t4.push(e5)}))})),this.options.useSimulation&&this.chart.hideOverlappingLabels(t4))}resizeRadius(){let t4,e4,i3,s3,o3;let a3=this.chart,r3=a3.rawPositions,n3=Math.min,l3=Math.max,h3=a3.plotLeft,p3=a3.plotTop,d3=a3.plotHeight,c3=a3.plotWidth;for(let a4 of(t4=i3=Number.POSITIVE_INFINITY,e4=s3=Number.NEGATIVE_INFINITY,r3))o3=a4[2],t4=n3(t4,a4[0]-o3),e4=l3(e4,a4[0]+o3),i3=n3(i3,a4[1]-o3),s3=l3(s3,a4[1]+o3);let u3=[e4-t4,s3-i3],g3=[(c3-h3)/u3[0],(d3-p3)/u3[1]],f3=n3.apply([],g3);if(Math.abs(f3-1)>1e-10){for(let t5 of r3)t5[2]*=f3;this.placeBubbles(r3)}else a3.diffY=d3/2+p3-i3-(s3-i3)/2,a3.diffX=c3/2+h3-t4-(e4-t4)/2}seriesBox(){let t4;let e4=this.chart,i3=this.data,s3=Math.max,o3=Math.min,a3=[e4.plotLeft,e4.plotLeft+e4.plotWidth,e4.plotTop,e4.plotTop+e4.plotHeight];return i3.forEach((e5=>{P(e5.plotX)&&P(e5.plotY)&&e5.marker.radius&&(t4=e5.marker.radius,a3[0]=o3(a3[0],e5.plotX-t4),a3[1]=s3(a3[1],e5.plotX+t4),a3[2]=o3(a3[2],e5.plotY-t4),a3[3]=s3(a3[3],e5.plotY+t4))})),C2(a3.width/a3.height)?a3:null}setVisible(){let t4=this;g2.setVisible.apply(t4,arguments),t4.parentNodeLayout&&t4.graph?t4.visible?(t4.graph.show(),t4.parentNode.dataLabel&&t4.parentNode.dataLabel.show()):(t4.graph.hide(),t4.parentNodeLayout.removeElementFromCollection(t4.parentNode,t4.parentNodeLayout.nodes),t4.parentNode.dataLabel&&t4.parentNode.dataLabel.hide()):t4.layout&&(t4.visible?t4.layout.addElementsToCollection(t4.points,t4.layout.nodes):t4.points.forEach((e4=>{t4.layout.removeElementFromCollection(e4,t4.layout.nodes)})))}translate(){let t4,e4,i3;let s3=this.chart,o3=this.data,a3=this.index,r3=this.options.useSimulation;for(let n3 of(this.processedXData=this.xData,this.generatePoints(),P(s3.allDataPoints)||(s3.allDataPoints=this.accumulateAllPoints(),this.getPointRadius()),r3?i3=s3.allDataPoints:(i3=this.placeBubbles(s3.allDataPoints),this.options.draggable=false),i3))n3[3]===a3&&(t4=o3[n3[4]],e4=v2(n3[2],void 0),r3||(t4.plotX=n3[0]-s3.plotLeft+s3.diffX,t4.plotY=n3[1]-s3.plotTop+s3.diffY),C2(e4)&&(t4.marker=S2(t4.marker,{radius:e4,width:2*e4,height:2*e4}),t4.radius=e4));r3&&this.deferLayout(),M(this,"afterTranslate")}}return A2.defaultOptions=k2(f2.defaultOptions,a2),S2(A2.prototype,{pointClass:o2,axisTypes:[],directTouch:true,forces:["barycenter","repulsive"],hasDraggableNodes:true,invertible:false,isCartesian:false,noSharedTooltip:true,pointArrayMap:["value"],pointValKey:"value",requireSorting:false,trackerGroups:["group","dataLabelsGroup","parentNodesGroup"],initDataLabels:b2,alignDataLabel:g2.alignDataLabel,indexateNodes:u2,onMouseDown:e3.onMouseDown,onMouseMove:e3.onMouseMove,redrawHalo:e3.redrawHalo,searchPoint:u2}),n2.registerSeriesType("packedbubble",A2),A2})),i(e2,"Series/Polygon/PolygonSeriesDefaults.js",[],(function(){return{marker:{enabled:false,states:{hover:{enabled:false}}},stickyTracking:false,tooltip:{followPointer:true,pointFormat:""},trackByArea:true,legendSymbol:"rectangle"}})),i(e2,"Series/Polygon/PolygonSeries.js",[e2["Core/Globals.js"],e2["Series/Polygon/PolygonSeriesDefaults.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){let{noop:o2}=t3,{area:a2,line:r2,scatter:n2}=i2.seriesTypes,{extend:l2,merge:h2}=s2;class p2 extends n2{getGraphPath(){let t4=r2.prototype.getGraphPath.call(this),e4=t4.length+1;for(;e4--;)(e4===t4.length||"M"===t4[e4][0])&&e4>0&&t4.splice(e4,0,["Z"]);return this.areaPath=t4,t4}drawGraph(){this.options.fillColor=this.color,a2.prototype.drawGraph.call(this)}}return p2.defaultOptions=h2(n2.defaultOptions,e3),l2(p2.prototype,{type:"polygon",drawTracker:r2.prototype.drawTracker,setStackedPoints:o2}),i2.registerSeriesType("polygon",p2),p2})),i(e2,"Core/Axis/RadialAxisDefaults.js",[],(function(){return{circular:{gridLineWidth:1,labels:{align:void 0,x:0,y:void 0,style:{textOverflow:"none"}},maxPadding:0,minPadding:0,showLastLabel:false,tickLength:0},radial:{gridLineInterpolation:"circle",gridLineWidth:1,labels:{align:"right",padding:5,x:-3,y:-2},showLastLabel:false,title:{x:4,text:null,rotation:90}},radialGauge:{endOnTick:false,gridLineWidth:0,labels:{align:"center",distance:-25,x:0,y:void 0},lineWidth:1,minorGridLineWidth:0,minorTickInterval:"auto",minorTickLength:10,minorTickPosition:"inside",minorTickWidth:1,startOnTick:false,tickLength:10,tickPixelInterval:100,tickPosition:"inside",tickWidth:2,title:{rotation:0,text:""},zIndex:2}}})),i(e2,"Core/Axis/RadialAxis.js",[e2["Core/Axis/RadialAxisDefaults.js"],e2["Core/Defaults.js"],e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){var o2;let{defaultOptions:a2}=e3,{composed:r2,noop:n2}=i2,{addEvent:l2,correctFloat:h2,defined:p2,extend:d2,fireEvent:c2,isObject:u2,merge:g2,pick:f2,pushUnique:b2,relativeLength:m2,wrap:y2}=s2;return function(e4){function s3(){this.autoConnect=this.isCircular&&void 0===f2(this.userMax,this.options.max)&&h2(this.endAngleRad-this.startAngleRad)===h2(2*Math.PI),!this.isCircular&&this.chart.inverted&&this.max++,this.autoConnect&&(this.max+=this.categories&&1||this.pointRange||this.closestPointRange||0)}function o3(){return()=>{if(this.isRadial&&this.tickPositions&&this.options.labels&&true!==this.options.labels.allowOverlap)return this.tickPositions.map((t4=>this.ticks[t4]&&this.ticks[t4].label)).filter((t4=>!!t4))}}function x2(){return n2}function P(t4,e5,i3){let s4=this.pane.center,o4=t4.value,a3,r3,n3;return this.isCircular?(p2(o4)?t4.point&&(t4.point.shapeArgs||{}).start&&(o4=this.chart.inverted?this.translate(t4.point.rectPlotY,true):t4.point.x):(r3=t4.chartX||0,n3=t4.chartY||0,o4=this.translate(Math.atan2(n3-i3,r3-e5)-this.startAngleRad,true)),r3=(a3=this.getPosition(o4)).x,n3=a3.y):(p2(o4)||(r3=t4.chartX,n3=t4.chartY),p2(r3)&&p2(n3)&&(i3=s4[1]+this.chart.plotTop,o4=this.translate(Math.min(Math.sqrt(Math.pow(r3-e5,2)+Math.pow(n3-i3,2)),s4[2]/2)-s4[3]/2,true))),[o4,r3||0,n3||0]}function S2(t4,e5,i3){let s4=this.pane.center,o4=this.chart,a3=this.left||0,r3=this.top||0,n3,l3=f2(e5,s4[2]/2-this.offset),h3;return void 0===i3&&(i3=this.horiz?0:this.center&&-this.center[3]/2),i3&&(l3+=i3),this.isCircular||void 0!==e5?((h3=this.chart.renderer.symbols.arc(a3+s4[0],r3+s4[1],l3,l3,{start:this.startAngleRad,end:this.endAngleRad,open:true,innerR:0})).xBounds=[a3+s4[0]],h3.yBounds=[r3+s4[1]-l3]):(n3=this.postTranslate(this.angleRad,l3),h3=[["M",this.center[0]+o4.plotLeft,this.center[1]+o4.plotTop],["L",n3.x,n3.y]]),h3}function M(){this.constructor.prototype.getOffset.call(this),this.chart.axisOffset[this.side]=0}function L2(t4,e5,i3){let s4=this.chart,o4=t5=>{if("string"==typeof t5){let e6=parseInt(t5,10);return d3.test(t5)&&(e6=e6*n3/100),e6}return t5},a3=this.center,r3=this.startAngleRad,n3=a3[2]/2,l3=Math.min(this.offset,0),h3=this.left||0,p3=this.top||0,d3=/%$/,c3=this.isCircular,u3,g3,b3,m3,y3,x3,P2=f2(o4(i3.outerRadius),n3),S3=o4(i3.innerRadius),M2=f2(o4(i3.thickness),10);if("polygon"===this.options.gridLineInterpolation)x3=this.getPlotLinePath({value:t4}).concat(this.getPlotLinePath({value:e5,reverse:true}));else{t4=Math.max(t4,this.min),e5=Math.min(e5,this.max);let o5=this.translate(t4),n4=this.translate(e5);c3||(P2=o5||0,S3=n4||0),"circle"!==i3.shape&&c3?(u3=r3+(o5||0),g3=r3+(n4||0)):(u3=-Math.PI/2,g3=1.5*Math.PI,y3=true),P2-=l3,M2-=l3,x3=s4.renderer.symbols.arc(h3+a3[0],p3+a3[1],P2,P2,{start:Math.min(u3,g3),end:Math.max(u3,g3),innerR:f2(S3,P2-M2),open:y3,borderRadius:i3.borderRadius}),c3&&(b3=(g3+u3)/2,m3=h3+a3[0]+a3[2]/2*Math.cos(b3),x3.xBounds=b3>-Math.PI/2&&b3<Math.PI/2?[m3,s4.plotWidth]:[0,m3],x3.yBounds=[p3+a3[1]+a3[2]/2*Math.sin(b3)],x3.yBounds[0]+=b3>-Math.PI&&b3<0||b3>Math.PI?-10:10)}return x3}function C2(t4){let e5=this.pane.center,i3=this.chart,s4=i3.inverted,o4=t4.reverse,a3=this.pane.options.background?this.pane.options.background[0]||this.pane.options.background:{},r3=a3.innerRadius||"0%",n3=a3.outerRadius||"100%",l3=e5[0]+i3.plotLeft,h3=e5[1]+i3.plotTop,p3=this.height,d3=t4.isCrosshair,c3=e5[3]/2,u3=t4.value,g3,f3,b3,y3,x3,P2,S3,M2,L3,C3=this.getPosition(u3),k3=C3.x,v3=C3.y;if(d3&&(u3=(M2=this.getCrosshairPosition(t4,l3,h3))[0],k3=M2[1],v3=M2[2]),this.isCircular)f3=Math.sqrt(Math.pow(k3-l3,2)+Math.pow(v3-h3,2)),b3="string"==typeof r3?m2(r3,1):r3/f3,y3="string"==typeof n3?m2(n3,1):n3/f3,e5&&c3&&(b3<(g3=c3/f3)&&(b3=g3),y3<g3&&(y3=g3)),L3=[["M",l3+b3*(k3-l3),h3-b3*(h3-v3)],["L",k3-(1-y3)*(k3-l3),v3+(1-y3)*(h3-v3)]];else if((u3=this.translate(u3))&&(u3<0||u3>p3)&&(u3=0),"circle"===this.options.gridLineInterpolation)L3=this.getLinePath(0,u3,c3);else if(L3=[],i3[s4?"yAxis":"xAxis"].forEach((t5=>{t5.pane===this.pane&&(x3=t5)})),x3){S3=x3.tickPositions,x3.autoConnect&&(S3=S3.concat([S3[0]])),o4&&(S3=S3.slice().reverse()),u3&&(u3+=c3);for(let t5=0;t5<S3.length;t5++)P2=x3.getPosition(S3[t5],u3),L3.push(t5?["L",P2.x,P2.y]:["M",P2.x,P2.y])}return L3}function k2(t4,e5){let i3=this.translate(t4);return this.postTranslate(this.isCircular?i3:this.angleRad,f2(this.isCircular?e5:i3<0?0:i3,this.center[2]/2)-this.offset)}function v2(){let t4=this.center,e5=this.chart,i3=this.options.title;return{x:e5.plotLeft+t4[0]+(i3.x||0),y:e5.plotTop+t4[1]-{high:.5,middle:.25,low:0}[i3.align]*t4[2]+(i3.y||0)}}function A2(t4){t4.beforeSetTickPositions=s3,t4.createLabelCollector=o3,t4.getCrosshairPosition=P,t4.getLinePath=S2,t4.getOffset=M,t4.getPlotBandPath=L2,t4.getPlotLinePath=C2,t4.getPosition=k2,t4.getTitlePosition=v2,t4.postTranslate=D2,t4.setAxisSize=B,t4.setAxisTranslation=z2,t4.setOptions=O2}function w2(){let t4=this.chart,e5=this.options,i3=t4.angular&&this.isXAxis,s4=this.pane,o4=s4&&s4.options;if(!i3&&s4&&(t4.angular||t4.polar)){let t5=2*Math.PI,i4=(f2(o4.startAngle,0)-90)*Math.PI/180,s5=(f2(o4.endAngle,f2(o4.startAngle,0)+360)-90)*Math.PI/180;this.angleRad=(e5.angle||0)*Math.PI/180,this.startAngleRad=i4,this.endAngleRad=s5,this.offset=e5.offset||0;let a3=(i4%t5+t5)%t5,r3=(s5%t5+t5)%t5;a3>Math.PI&&(a3-=t5),r3>Math.PI&&(r3-=t5),this.normalizedStartAngleRad=a3,this.normalizedEndAngleRad=r3}}function T2(t4){this.isRadial&&(t4.align=void 0,t4.preventDefault())}function N(){if(this.chart&&this.chart.labelCollectors){let t4=this.labelCollector?this.chart.labelCollectors.indexOf(this.labelCollector):-1;t4>=0&&this.chart.labelCollectors.splice(t4,1)}}function X(t4){let e5;let i3=this.chart,s4=i3.angular,o4=i3.polar,a3=this.isXAxis,r3=this.coll,l3=t4.userOptions.pane||0,h3=this.pane=i3.pane&&i3.pane[l3];if("colorAxis"===r3){this.isRadial=false;return}s4?(s4&&a3?(this.isHidden=true,this.createLabelCollector=x2,this.getOffset=n2,this.redraw=E2,this.render=E2,this.setScale=n2,this.setCategories=n2,this.setTitle=n2):A2(this),e5=!a3):o4&&(A2(this),e5=this.horiz),s4||o4?(this.isRadial=true,this.labelCollector||(this.labelCollector=this.createLabelCollector()),this.labelCollector&&i3.labelCollectors.push(this.labelCollector)):this.isRadial=false,h3&&e5&&(h3.axis=this),this.isCircular=e5}function R2(){this.isRadial&&this.beforeSetTickPositions()}function Y(t4){let e5=this.label;if(!e5)return;let i3=this.axis,s4=e5.getBBox(),o4=i3.options.labels,a3=(i3.translate(this.pos)+i3.startAngleRad+Math.PI/2)/Math.PI*180%360,r3=Math.round(a3),n3=p2(o4.y)?0:-(.3*s4.height),l3=o4.y,h3,d3=20,c3=o4.align,u3="end",g3=r3<0?r3+360:r3,b3=g3,y3=0,x3=0;i3.isRadial&&(h3=i3.getPosition(this.pos,i3.center[2]/2+m2(f2(o4.distance,-25),i3.center[2]/2,-i3.center[2]/2)),"auto"===o4.rotation?e5.attr({rotation:a3}):p2(l3)||(l3=i3.chart.renderer.fontMetrics(e5).b-s4.height/2),p2(c3)||(i3.isCircular?(s4.width>i3.len*i3.tickInterval/(i3.max-i3.min)&&(d3=0),c3=a3>d3&&a3<180-d3?"left":a3>180+d3&&a3<360-d3?"right":"center"):c3="center",e5.attr({align:c3})),"auto"===c3&&2===i3.tickPositions.length&&i3.isCircular&&(g3>90&&g3<180?g3=180-g3:g3>270&&g3<=360&&(g3=540-g3),b3>180&&b3<=360&&(b3=360-b3),(i3.pane.options.startAngle===r3||i3.pane.options.startAngle===r3+360||i3.pane.options.startAngle===r3-360)&&(u3="start"),c3=r3>=-90&&r3<=90||r3>=-360&&r3<=-270||r3>=270&&r3<=360?"start"===u3?"right":"left":"start"===u3?"left":"right",b3>70&&b3<110&&(c3="center"),g3<15||g3>=180&&g3<195?y3=.3*s4.height:g3>=15&&g3<=35?y3="start"===u3?0:.75*s4.height:g3>=195&&g3<=215?y3="start"===u3?.75*s4.height:0:g3>35&&g3<=90?y3="start"===u3?-(.25*s4.height):s4.height:g3>215&&g3<=270&&(y3="start"===u3?s4.height:-(.25*s4.height)),b3<15?x3="start"===u3?-(.15*s4.height):.15*s4.height:b3>165&&b3<=180&&(x3="start"===u3?.15*s4.height:-(.15*s4.height)),e5.attr({align:c3}),e5.translate(x3,y3+n3)),t4.pos.x=h3.x+(o4.x||0),t4.pos.y=h3.y+(l3||0))}function j(t4){this.axis.getPosition&&d2(t4.pos,this.axis.getPosition(this.pos))}function I({options:t4}){t4.xAxis&&g2(true,e4.radialDefaultOptions.circular,t4.xAxis),t4.yAxis&&g2(true,e4.radialDefaultOptions.radialGauge,t4.yAxis)}function D2(t4,e5){let i3=this.chart,s4=this.center;return t4=this.startAngleRad+t4,{x:i3.plotLeft+s4[0]+Math.cos(t4)*e5,y:i3.plotTop+s4[1]+Math.sin(t4)*e5}}function E2(){this.isDirty=false}function B(){let t4,e5;this.constructor.prototype.setAxisSize.call(this),this.isRadial&&(this.pane.updateCenter(this),t4=this.center=this.pane.center.slice(),this.isCircular?this.sector=this.endAngleRad-this.startAngleRad:(e5=this.postTranslate(this.angleRad,t4[3]/2),t4[0]=e5.x-this.chart.plotLeft,t4[1]=e5.y-this.chart.plotTop),this.len=this.width=this.height=(t4[2]-t4[3])*f2(this.sector,1)/2)}function z2(){this.constructor.prototype.setAxisTranslation.call(this),this.center&&(this.isCircular?this.transA=(this.endAngleRad-this.startAngleRad)/(this.max-this.min||1):this.transA=(this.center[2]-this.center[3])/2/(this.max-this.min||1),this.isXAxis?this.minPixelPadding=this.transA*this.minPointOffset:this.minPixelPadding=0)}function O2(t4){let{coll:i3}=this,{angular:s4,inverted:o4,polar:r3}=this.chart,n3={};s4?this.isXAxis||(n3=g2(a2.yAxis,e4.radialDefaultOptions.radialGauge)):r3&&(n3=this.horiz?g2(a2.xAxis,e4.radialDefaultOptions.circular):g2("xAxis"===i3?a2.xAxis:a2.yAxis,e4.radialDefaultOptions.radial)),o4&&"yAxis"===i3&&(n3.stackLabels=u2(a2.yAxis,true)?a2.yAxis.stackLabels:{},n3.reversedStacks=true);let l3=this.options=g2(n3,t4);l3.plotBands||(l3.plotBands=[]),c2(this,"afterSetOptions")}function W2(t4,e5,i3,s4,o4,a3,r3){let n3;let l3=this.axis;return l3.isRadial?["M",e5,i3,"L",(n3=l3.getPosition(this.pos,l3.center[2]/2+s4)).x,n3.y]:t4.call(this,e5,i3,s4,o4,a3,r3)}e4.radialDefaultOptions=g2(t3),e4.compose=function(t4,e5){return b2(r2,"Axis.Radial")&&(l2(t4,"afterInit",w2),l2(t4,"autoLabelAlign",T2),l2(t4,"destroy",N),l2(t4,"init",X),l2(t4,"initialAxisTranslation",R2),l2(e5,"afterGetLabelPosition",Y),l2(e5,"afterGetPosition",j),l2(i2,"setOptions",I),y2(e5.prototype,"getMarkPath",W2)),t4}}(o2||(o2={})),o2})),i(e2,"Series/PolarComposition.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Globals.js"],e2["Core/Series/Series.js"],e2["Extensions/Pane/Pane.js"],e2["Core/Axis/RadialAxis.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,o2,a2){let{animObject:r2}=t3,{composed:n2}=e3,{addEvent:l2,defined:h2,find:p2,isNumber:d2,merge:c2,pick:u2,pushUnique:g2,relativeLength:f2,splat:b2,uniqueKey:m2,wrap:y2}=a2;function x2(){(this.pane||[]).forEach((t4=>{t4.render()}))}function P(t4){let e4=t4.args[0].xAxis,i3=t4.args[0].yAxis,s3=t4.args[0].chart;e4&&i3&&("polygon"===i3.gridLineInterpolation?(e4.startOnTick=true,e4.endOnTick=true):"polygon"===e4.gridLineInterpolation&&s3.inverted&&(i3.startOnTick=true,i3.endOnTick=true))}function S2(){this.pane||(this.pane=[]),this.options.pane=b2(this.options.pane),this.options.pane.forEach((t4=>{new s2(t4,this)}),this)}function M(t4){let e4=t4.args.marker,i3=this.chart.xAxis[0],s3=this.chart.yAxis[0],o3=this.chart.inverted,a3=o3?s3:i3,r3=o3?i3:s3;if(this.chart.polar){t4.preventDefault();let i4=(e4.attr?e4.attr("start"):e4.start)-a3.startAngleRad,s4=e4.attr?e4.attr("r"):e4.r,o4=(e4.attr?e4.attr("end"):e4.end)-a3.startAngleRad,n3=e4.attr?e4.attr("innerR"):e4.innerR;t4.result.x=i4+a3.pos,t4.result.width=o4-i4,t4.result.y=r3.len+r3.pos-s4,t4.result.height=s4-n3}}function L2(t4){let e4=this.chart;if(e4.polar&&e4.hoverPane&&e4.hoverPane.axis){t4.preventDefault();let i3=e4.hoverPane.center,s3=e4.mouseDownX||0,o3=e4.mouseDownY||0,a3=t4.args.chartY,r3=t4.args.chartX,n3=2*Math.PI,l3=e4.hoverPane.axis.startAngleRad,h3=e4.hoverPane.axis.endAngleRad,p3=e4.inverted?e4.xAxis[0]:e4.yAxis[0],d3={},c3="arc";if(d3.x=i3[0]+e4.plotLeft,d3.y=i3[1]+e4.plotTop,this.zoomHor){let t5=l3>0?h3-l3:Math.abs(l3)+Math.abs(h3),u3=Math.atan2(o3-e4.plotTop-i3[1],s3-e4.plotLeft-i3[0])-l3,g3=Math.atan2(a3-e4.plotTop-i3[1],r3-e4.plotLeft-i3[0])-l3;d3.r=i3[2]/2,d3.innerR=i3[3]/2,u3<=0&&(u3+=n3),g3<=0&&(g3+=n3),g3<u3&&(g3=[u3,u3=g3][0]),t5<n3&&l3+g3>h3+(n3-t5)/2&&(g3=u3,u3=l3<=0?l3:0);let f3=d3.start=Math.max(u3+l3,l3),b3=d3.end=Math.min(g3+l3,h3);if("polygon"===p3.options.gridLineInterpolation){let t6=e4.hoverPane.axis,s4=f3-t6.startAngleRad+t6.pos,o4=p3.getPlotLinePath({value:p3.max}),a4=t6.toValue(s4),r4=t6.toValue(s4+(b3-f3));if(a4<t6.getExtremes().min){let{min:e5,max:i4}=t6.getExtremes();a4=i4-(e5-a4)}if(r4<t6.getExtremes().min){let{min:e5,max:i4}=t6.getExtremes();r4=i4-(e5-r4)}r4<a4&&(r4=[a4,a4=r4][0]),(o4=A2(o4,a4,r4,t6)).push(["L",i3[0]+e4.plotLeft,e4.plotTop+i3[1]]),d3.d=o4,c3="path"}}if(this.zoomVert){let t5=e4.inverted?e4.xAxis[0]:e4.yAxis[0],n4=Math.sqrt(Math.pow(s3-e4.plotLeft-i3[0],2)+Math.pow(o3-e4.plotTop-i3[1],2)),p4=Math.sqrt(Math.pow(r3-e4.plotLeft-i3[0],2)+Math.pow(a3-e4.plotTop-i3[1],2));if(p4<n4&&(n4=[p4,p4=n4][0]),p4>i3[2]/2&&(p4=i3[2]/2),n4<i3[3]/2&&(n4=i3[3]/2),this.zoomHor||(d3.start=l3,d3.end=h3),d3.r=p4,d3.innerR=n4,"polygon"===t5.options.gridLineInterpolation){let e5=t5.toValue(t5.len+t5.pos-n4),i4=t5.toValue(t5.len+t5.pos-p4),s4=t5.getPlotLinePath({value:i4}).concat(t5.getPlotLinePath({value:e5,reverse:true}));d3.d=s4,c3="path"}}if(this.zoomHor&&this.zoomVert&&"polygon"===p3.options.gridLineInterpolation){let t5=e4.hoverPane.axis,i4=d3.start||0,s4=d3.end||0,o4=i4-t5.startAngleRad+t5.pos,a4=t5.toValue(o4),r4=t5.toValue(o4+(s4-i4));if(d3.d instanceof Array){let t6=d3.d.slice(0,d3.d.length/2),i5=d3.d.slice(d3.d.length/2,d3.d.length);i5=[...i5].reverse();let s5=e4.hoverPane.axis;t6=A2(t6,a4,r4,s5),(i5=A2(i5,a4,r4,s5))&&(i5[0][0]="L"),i5=[...i5].reverse(),d3.d=t6.concat(i5),c3="path"}}t4.attrs=d3,t4.shapeType=c3}}function C2(){let t4=this.chart;t4.polar&&(this.polar=new E2(this),t4.inverted&&(this.isRadialSeries=true,this.is("column")&&(this.isRadialBar=true)))}function k2(){if(this.chart.polar&&this.xAxis){let{xAxis:t4,yAxis:i3}=this,s3=this.chart;this.kdByAngle=s3.tooltip&&s3.tooltip.shared,this.kdByAngle||s3.inverted?this.searchPoint=v2:this.options.findNearestPointBy="xy";let o3=this.points,a3=o3.length;for(;a3--;)this.is("column")||this.is("columnrange")||this.polar.toXY(o3[a3]),s3.hasParallelCoordinates||this.yAxis.reversed||(u2(o3[a3].y,Number.MIN_VALUE)<i3.min||o3[a3].x<t4.min||o3[a3].x>t4.max?(o3[a3].isNull=true,o3[a3].plotY=NaN):o3[a3].isNull=o3[a3].isValid&&!o3[a3].isValid());this.hasClipCircleSetter||(this.hasClipCircleSetter=!!this.eventsToUnbind.push(l2(this,"afterRender",(function(){let t5;s3.polar&&false!==this.options.clip&&(t5=this.yAxis.pane.center,this.clipCircle?this.clipCircle.animate({x:t5[0],y:t5[1],r:t5[2]/2,innerR:t5[3]/2}):this.clipCircle=function(t6,e4,i4,s4,o4){let a4=m2(),r3=t6.createElement("clipPath").attr({id:a4}).add(t6.defs),n3=o4?t6.arc(e4,i4,s4,o4,0,2*Math.PI).add(r3):t6.circle(e4,i4,s4).add(r3);return n3.id=a4,n3.clipPath=r3,n3}(s3.renderer,t5[0],t5[1],t5[2]/2,t5[3]/2),this.group.clip(this.clipCircle),this.setClip=e3.noop)}))))}}function v2(t4){let e4=this.chart,i3=this.xAxis,s3=this.yAxis,o3=i3.pane&&i3.pane.center,a3=t4.chartX-(o3&&o3[0]||0)-e4.plotLeft,r3=t4.chartY-(o3&&o3[1]||0)-e4.plotTop,n3=e4.inverted?{clientX:t4.chartX-s3.pos,plotY:t4.chartY-i3.pos}:{clientX:180+-180/Math.PI*Math.atan2(a3,r3)};return this.searchKDTree(n3)}function A2(t4,e4,i3,s3){let o3=s3.tickInterval,a3=s3.tickPositions,r3=p2(a3,(t5=>t5>=i3)),n3=p2([...a3].reverse(),(t5=>t5<=e4));return h2(r3)||(r3=a3[a3.length-1]),h2(n3)||(n3=a3[0],r3+=o3,t4[0][0]="L",t4.unshift(t4[t4.length-3])),(t4=t4.slice(a3.indexOf(n3),a3.indexOf(r3)+1))[0][0]="M",t4}function w2(t4,e4){return p2(this.pane||[],(t5=>t5.options.id===e4))||t4.call(this,e4)}function T2(t4,e4,s3,o3,a3,r3){let n3,l3,h3;let p3=this.chart,d3=u2(o3.inside,!!this.options.stacking);if(p3.polar){if(n3=e4.rectPlotX/Math.PI*180,p3.inverted)this.forceDL=p3.isInsidePlot(e4.plotX,e4.plotY),d3&&e4.shapeArgs?(l3=e4.shapeArgs,a3=c2(a3,{x:(h3=this.yAxis.postTranslate(((l3.start||0)+(l3.end||0))/2-this.xAxis.startAngleRad,e4.barX+e4.pointWidth/2)).x-p3.plotLeft,y:h3.y-p3.plotTop})):e4.tooltipPos&&(a3=c2(a3,{x:e4.tooltipPos[0],y:e4.tooltipPos[1]})),o3.align=u2(o3.align,"center"),o3.verticalAlign=u2(o3.verticalAlign,"middle");else{var g3;let t5,e5;null===(g3=o3).align&&(t5=n3>20&&n3<160?"left":n3>200&&n3<340?"right":"center",g3.align=t5),null===g3.verticalAlign&&(e5=n3<45||n3>315?"bottom":n3>135&&n3<225?"top":"middle",g3.verticalAlign=e5),o3=g3}i2.prototype.alignDataLabel.call(this,e4,s3,o3,a3,r3),this.isRadialBar&&e4.shapeArgs&&e4.shapeArgs.start===e4.shapeArgs.end?s3.hide():s3.show()}else t4.call(this,e4,s3,o3,a3,r3)}function N(){let t4=this.options,e4=t4.stacking,i3=this.chart,s3=this.xAxis,o3=this.yAxis,r3=o3.reversed,n3=o3.center,l3=s3.startAngleRad,p3=s3.endAngleRad-l3,c3=t4.threshold,u3=0,g3,b3,m3,y3,x3,P2=0,S3=0,M2,L3,C3,k3,v3,A3,w3,T3;if(s3.isRadial)for(m3=(g3=this.points).length,y3=o3.translate(o3.min),x3=o3.translate(o3.max),c3=t4.threshold||0,i3.inverted&&d2(c3)&&h2(u3=o3.translate(c3))&&(u3<0?u3=0:u3>p3&&(u3=p3),this.translatedThreshold=u3+l3);m3--;){if(A3=(b3=g3[m3]).barX,L3=b3.x,C3=b3.y,b3.shapeType="arc",i3.inverted){b3.plotY=o3.translate(C3),e4&&o3.stacking?(v3=o3.stacking.stacks[(C3<0?"-":"")+this.stackKey],this.visible&&v3&&v3[L3]&&!b3.isNull&&(k3=v3[L3].points[this.getStackIndicator(void 0,L3,this.index).key],P2=o3.translate(k3[0]),S3=o3.translate(k3[1]),h2(P2)&&(P2=a2.clamp(P2,0,p3)))):(P2=u3,S3=b3.plotY),P2>S3&&(S3=[P2,P2=S3][0]),r3?S3>y3?S3=y3:P2<x3?P2=x3:(P2>y3||S3<x3)&&(P2=S3=p3):P2<y3?P2=y3:S3>x3?S3=x3:(S3<y3||P2>x3)&&(P2=S3=0),o3.min>o3.max&&(P2=S3=r3?p3:0),P2+=l3,S3+=l3,n3&&(b3.barX=A3+=n3[3]/2),w3=Math.max(A3,0),T3=Math.max(A3+b3.pointWidth,0);let i4=t4.borderRadius,s4=f2(("object"==typeof i4?i4.radius:i4)||0,T3-w3);b3.shapeArgs={x:n3[0],y:n3[1],r:T3,innerR:w3,start:P2,end:S3,borderRadius:s4},b3.opacity=P2===S3?0:void 0,b3.plotY=(h2(this.translatedThreshold)&&(P2<this.translatedThreshold?P2:S3))-l3}else P2=A3+l3,b3.shapeArgs=this.polar.arc(b3.yBottom,b3.plotY,P2,P2+b3.pointWidth),b3.shapeArgs.borderRadius=0;this.polar.toXY(b3),i3.inverted?(M2=o3.postTranslate(b3.rectPlotY,A3+b3.pointWidth/2),b3.tooltipPos=[M2.x-i3.plotLeft,M2.y-i3.plotTop]):b3.tooltipPos=[b3.plotX,b3.plotY],n3&&(b3.ttBelow=b3.plotY>n3[1])}}function X(t4,e4){let i3,s3;let o3=this;if(this.chart.polar){e4=e4||this.points;for(let t5=0;t5<e4.length;t5++)if(!e4[t5].isNull){i3=t5;break}false!==this.options.connectEnds&&void 0!==i3&&(this.connectEnds=true,e4.splice(e4.length,0,e4[i3]),s3=true),e4.forEach((t5=>{void 0===t5.polarPlotY&&o3.polar.toXY(t5)}))}let a3=t4.apply(this,[].slice.call(arguments,1));return s3&&e4.pop(),a3}function R2(t4,e4){let i3=this.chart,s3={xAxis:[],yAxis:[]};return i3.polar?i3.axes.forEach((t5=>{if("colorAxis"===t5.coll)return;let o3=t5.isXAxis,a3=t5.center,r3=e4.chartX-a3[0]-i3.plotLeft,n3=e4.chartY-a3[1]-i3.plotTop;s3[o3?"xAxis":"yAxis"].push({axis:t5,value:t5.translate(o3?Math.PI-Math.atan2(r3,n3):Math.sqrt(Math.pow(r3,2)+Math.pow(n3,2)),true)})})):s3=t4.call(this,e4),s3}function Y(t4,e4){this.chart.polar||t4.call(this,e4)}function j(t4,i3){let s3=this,o3=this.chart,a3=this.group,n3=this.markerGroup,l3=this.xAxis&&this.xAxis.center,h3=o3.plotLeft,p3=o3.plotTop,d3=this.options.animation,c3,g3,f3,b3,m3,y3;o3.polar?s3.isRadialBar?i3||(s3.startAngleRad=u2(s3.translatedThreshold,s3.xAxis.startAngleRad),e3.seriesTypes.pie.prototype.animate.call(s3,i3)):(d3=r2(d3),s3.is("column")?i3||(g3=l3[3]/2,s3.points.forEach((t5=>{f3=t5.graphic,m3=(b3=t5.shapeArgs)&&b3.r,y3=b3&&b3.innerR,f3&&b3&&(f3.attr({r:g3,innerR:g3}),f3.animate({r:m3,innerR:y3},s3.options.animation))}))):i3?(c3={translateX:l3[0]+h3,translateY:l3[1]+p3,scaleX:.001,scaleY:.001},a3.attr(c3),n3&&n3.attr(c3)):(c3={translateX:h3,translateY:p3,scaleX:1,scaleY:1},a3.animate(c3,d3),n3&&n3.animate(c3,d3))):t4.call(this,i3)}function I(t4,e4,i3,s3){let o3,a3;if(this.chart.polar){if(s3){let t5=(a3=function t6(e5,i5,s4,o4){let a4,r3,n3,l3,h3,p3;let d3=o4?1:0,c3=(a4=i5>=0&&i5<=e5.length-1?i5:i5<0?e5.length-1+i5:0)-1<0?e5.length-(1+d3):a4-1,u3=a4+1>e5.length-1?d3:a4+1,g3=e5[c3],f3=e5[u3],b3=g3.plotX,m3=g3.plotY,y3=f3.plotX,x3=f3.plotY,P2=e5[a4].plotX,S3=e5[a4].plotY;r3=(1.5*P2+b3)/2.5,n3=(1.5*S3+m3)/2.5,l3=(1.5*P2+y3)/2.5,h3=(1.5*S3+x3)/2.5;let M2=Math.sqrt(Math.pow(r3-P2,2)+Math.pow(n3-S3,2)),L3=Math.sqrt(Math.pow(l3-P2,2)+Math.pow(h3-S3,2)),C3=Math.atan2(n3-S3,r3-P2);p3=Math.PI/2+(C3+Math.atan2(h3-S3,l3-P2))/2,Math.abs(C3-p3)>Math.PI/2&&(p3-=Math.PI),r3=P2+Math.cos(p3)*M2,n3=S3+Math.sin(p3)*M2;let k3={rightContX:l3=P2+Math.cos(Math.PI+p3)*L3,rightContY:h3=S3+Math.sin(Math.PI+p3)*L3,leftContX:r3,leftContY:n3,plotX:P2,plotY:S3};return s4&&(k3.prevPointCont=t6(e5,c3,false,o4)),k3}(e4,s3,true,this.connectEnds)).prevPointCont&&a3.prevPointCont.rightContX,i4=a3.prevPointCont&&a3.prevPointCont.rightContY;o3=["C",d2(t5)?t5:a3.plotX,d2(i4)?i4:a3.plotY,d2(a3.leftContX)?a3.leftContX:a3.plotX,d2(a3.leftContY)?a3.leftContY:a3.plotY,a3.plotX,a3.plotY]}else o3=["M",i3.plotX,i3.plotY]}else o3=t4.call(this,e4,i3,s3);return o3}function D2(t4,e4,i3=this.plotY){if(!this.destroyed){let{plotX:s3,series:o3}=this,{chart:a3}=o3;return a3.polar&&d2(s3)&&d2(i3)?[s3+(e4?a3.plotLeft:0),i3+(e4?a3.plotTop:0)]:t4.call(this,e4,i3)}}class E2{static compose(t4,e4,i3,a3,r3,h3,p3,d3,c3,u3){if(s2.compose(e4,i3),o2.compose(t4,r3),g2(n2,"Polar")){let t5=e4.prototype,s3=h3.prototype,o3=i3.prototype,r4=a3.prototype;if(l2(e4,"afterDrawChartBox",x2),l2(e4,"getAxes",S2),l2(e4,"init",P),y2(t5,"get",w2),y2(o3,"getCoordinates",R2),y2(o3,"pinch",Y),l2(i3,"getSelectionMarkerAttrs",L2),l2(i3,"getSelectionBox",M),l2(a3,"afterInit",C2),l2(a3,"afterTranslate",k2,{order:2}),l2(a3,"afterColumnTranslate",N,{order:4}),y2(r4,"animate",j),y2(s3,"pos",D2),d3){let t6=d3.prototype;y2(t6,"alignDataLabel",T2),y2(t6,"animate",j)}if(c3&&y2(c3.prototype,"getGraphPath",X),u3){let t6=u3.prototype;y2(t6,"getPointSpline",I),p3&&(p3.prototype.getPointSpline=t6.getPointSpline)}}}constructor(t4){this.series=t4}arc(t4,e4,i3,s3){let o3=this.series,a3=o3.xAxis.center,r3=o3.yAxis.len,n3=a3[3]/2,l3=r3-e4+n3,h3=r3-u2(t4,r3)+n3;return o3.yAxis.reversed&&(l3<0&&(l3=n3),h3<0&&(h3=n3)),{x:a3[0],y:a3[1],r:l3,innerR:h3,start:i3,end:s3}}toXY(t4){let e4=this.series,i3=e4.chart,s3=e4.xAxis,o3=e4.yAxis,a3=t4.plotX,r3=i3.inverted,n3=t4.y,l3=t4.plotY,h3=r3?a3:o3.len-l3,p3;if(r3&&e4&&!e4.isRadialBar&&(t4.plotY=l3=d2(n3)?o3.translate(n3):0),t4.rectPlotX=a3,t4.rectPlotY=l3,o3.center&&(h3+=o3.center[3]/2),d2(l3)){let e5=r3?o3.postTranslate(l3,h3):s3.postTranslate(a3,h3);t4.plotX=t4.polarPlotX=e5.x-i3.plotLeft,t4.plotY=t4.polarPlotY=e5.y-i3.plotTop}e4.kdByAngle?((p3=(a3/Math.PI*180+s3.pane.options.startAngle)%360)<0&&(p3+=360),t4.clientX=p3):t4.clientX=t4.plotX}}return E2})),i(e2,"Core/Axis/WaterfallAxis.js",[e2["Core/Globals.js"],e2["Core/Axis/Stacking/StackItem.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){var s2;let{composed:o2}=t3,{addEvent:a2,objectEach:r2,pushUnique:n2}=i2;return function(t4){function i3(){let t5=this.waterfall.stacks;t5&&(t5.changed=false,delete t5.alreadyChanged)}function s3(){let t5=this.options.stackLabels;t5&&t5.enabled&&this.waterfall.stacks&&this.waterfall.renderStackTotals()}function l2(){this.waterfall||(this.waterfall=new p2(this))}function h2(){let t5=this.axes;for(let e4 of this.series)if(e4.options.stacking){for(let e5 of t5)e5.isXAxis||(e5.waterfall.stacks.changed=true);break}}t4.compose=function(t5,e4){n2(o2,"Axis.Waterfall")&&(a2(t5,"init",l2),a2(t5,"afterBuildStacks",i3),a2(t5,"afterRender",s3),a2(e4,"beforeRedraw",h2))};class p2{constructor(t5){this.axis=t5,this.stacks={changed:false}}renderStackTotals(){let t5=this.axis,i4=t5.waterfall.stacks,s4=t5.stacking&&t5.stacking.stackTotalGroup,o3=new e3(t5,t5.options.stackLabels||{},false,0,void 0);this.dummyStackItem=o3,s4&&r2(i4,(t6=>{r2(t6,((t7,i5)=>{o3.total=t7.stackTotal,o3.x=+i5,t7.label&&(o3.label=t7.label),e3.prototype.render.call(o3,s4),t7.label=o3.label,delete o3.label}))})),o3.total=null}}t4.Composition=p2}(s2||(s2={})),s2})),i(e2,"Series/Waterfall/WaterfallPoint.js",[e2["Series/Column/ColumnSeries.js"],e2["Core/Series/Point.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{isNumber:s2}=i2;class o2 extends t3.prototype.pointClass{getClassName(){let t4=e3.prototype.getClassName.call(this);return this.isSum?t4+=" highcharts-sum":this.isIntermediateSum&&(t4+=" highcharts-intermediate-sum"),t4}isValid(){return s2(this.y)||this.isSum||!!this.isIntermediateSum}}return o2})),i(e2,"Series/Waterfall/WaterfallSeriesDefaults.js",[],(function(){return{dataLabels:{inside:true},lineWidth:1,lineColor:"#333333",dashStyle:"Dot",borderColor:"#333333",states:{hover:{lineWidthPlus:0}}}})),i(e2,"Series/Waterfall/WaterfallSeries.js",[e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"],e2["Core/Axis/WaterfallAxis.js"],e2["Series/Waterfall/WaterfallPoint.js"],e2["Series/Waterfall/WaterfallSeriesDefaults.js"]],(function(t3,e3,i2,s2,o2){let{column:a2,line:r2}=t3.seriesTypes,{addEvent:n2,arrayMax:l2,arrayMin:h2,correctFloat:p2,crisp:d2,extend:c2,isNumber:u2,merge:g2,objectEach:f2,pick:b2}=e3;function m2(t4,e4){return Object.hasOwnProperty.call(t4,e4)}class y2 extends a2{generatePoints(){a2.prototype.generatePoints.apply(this);for(let t4=0,e4=this.points.length;t4<e4;t4++){let e5=this.points[t4],i3=this.processedYData[t4];u2(i3)&&(e5.isIntermediateSum||e5.isSum)&&(e5.y=p2(i3))}}processData(t4){let e4,i3,s3,o3,a3,r3;let n3=this.options,l3=this.yData,h3=n3.data,d3=l3.length,c3=n3.threshold||0;s3=i3=o3=a3=0;for(let t5=0;t5<d3;t5++)r3=l3[t5],e4=h3&&h3[t5]?h3[t5]:{},"sum"===r3||e4.isSum?l3[t5]=p2(s3):"intermediateSum"===r3||e4.isIntermediateSum?(l3[t5]=p2(i3),i3=0):(s3+=r3,i3+=r3),o3=Math.min(s3,o3),a3=Math.max(s3,a3);super.processData.call(this,t4),n3.stacking||(this.dataMin=o3+c3,this.dataMax=a3)}toYData(t4){return t4.isSum?"sum":t4.isIntermediateSum?"intermediateSum":t4.y}updateParallelArrays(t4,e4){super.updateParallelArrays.call(this,t4,e4),("sum"===this.yData[0]||"intermediateSum"===this.yData[0])&&(this.yData[0]=null)}pointAttribs(t4,e4){let i3=this.options.upColor;i3&&!t4.options.color&&u2(t4.y)&&(t4.color=t4.y>0?i3:void 0);let s3=a2.prototype.pointAttribs.call(this,t4,e4);return delete s3.dashstyle,s3}getGraphPath(){return[["M",0,0]]}getCrispPath(){var _a;let t4=this.data.filter((t5=>u2(t5.y))),e4=this.yAxis,i3=t4.length,s3=((_a=this.graph)==null?void 0:_a.strokeWidth())||0,o3=this.xAxis.reversed,a3=this.yAxis.reversed,r3=this.options.stacking,n3=[];for(let l3=1;l3<i3;l3++){if(!(this.options.connectNulls||u2(this.data[t4[l3].index-1].y)))continue;let i4=t4[l3].box,h3=t4[l3-1],p3=h3.y||0,c3=t4[l3-1].box;if(!i4||!c3)continue;let g3=e4.waterfall.stacks[this.stackKey],f3=p3>0?-c3.height:0;if(g3&&c3&&i4){let t5;let p4=g3[l3-1];if(r3){let i5=p4.connectorThreshold;t5=d2(e4.translate(i5,false,true,false,true)+(a3?f3:0),s3)}else t5=d2(c3.y+(h3.minPointLengthOffset||0),s3);n3.push(["M",(c3.x||0)+(o3?0:c3.width||0),t5],["L",(i4.x||0)+(o3&&i4.width||0),t5])}if(c3&&n3.length&&(!r3&&p3<0&&!a3||p3>0&&a3)){let t5=n3[n3.length-2];t5&&"number"==typeof t5[2]&&(t5[2]+=c3.height||0);let e5=n3[n3.length-1];e5&&"number"==typeof e5[2]&&(e5[2]+=c3.height||0)}}return n3}drawGraph(){r2.prototype.drawGraph.call(this),this.graph&&this.graph.attr({d:this.getCrispPath()})}setStackedPoints(t4){var _a;let e4=this.options,i3=(_a=t4.waterfall)==null?void 0:_a.stacks,s3=e4.threshold||0,o3=this.stackKey,a3=this.xData,r3=a3.length,n3=s3,l3=n3,h3,p3=0,d3=0,c3=0,u3,g3,f3,b3,m3,y3,x2,P,S2=(t5,e5,i4,s4)=>{if(h3){if(u3)for(;i4<u3;i4++)h3.stackState[i4]+=s4;else h3.stackState[0]=t5,u3=h3.stackState.length;h3.stackState.push(h3.stackState[u3-1]+e5)}};if(t4.stacking&&i3&&this.reserveSpace()){P=i3.changed,(x2=i3.alreadyChanged)&&0>x2.indexOf(o3)&&(P=true),i3[o3]||(i3[o3]={});let t5=i3[o3];if(t5)for(let i4=0;i4<r3;i4++)(!t5[y3=a3[i4]]||P)&&(t5[y3]={negTotal:0,posTotal:0,stackTotal:0,threshold:0,stateIndex:0,stackState:[],label:P&&t5[y3]?t5[y3].label:void 0}),h3=t5[y3],(m3=this.yData[i4])>=0?h3.posTotal+=m3:h3.negTotal+=m3,b3=e4.data[i4],g3=h3.absolutePos=h3.posTotal,f3=h3.absoluteNeg=h3.negTotal,h3.stackTotal=g3+f3,u3=h3.stackState.length,b3&&b3.isIntermediateSum?(S2(c3,d3,0,c3),c3=d3,d3=s3,n3^=l3,l3^=n3,n3^=l3):b3&&b3.isSum?(S2(s3,p3,u3,0),n3=s3):(S2(n3,m3,0,p3),b3&&(p3+=m3,d3+=m3)),h3.stateIndex++,h3.threshold=n3,n3+=h3.stackTotal;i3.changed=false,i3.alreadyChanged||(i3.alreadyChanged=[]),i3.alreadyChanged.push(o3)}}getExtremes(){let t4,e4,i3;let s3=this.options.stacking;return s3?(t4=this.yAxis.waterfall.stacks,e4=this.stackedYNeg=[],i3=this.stackedYPos=[],"overlap"===s3?f2(t4[this.stackKey],(function(t5){e4.push(h2(t5.stackState)),i3.push(l2(t5.stackState))})):f2(t4[this.stackKey],(function(t5){e4.push(t5.negTotal+t5.threshold),i3.push(t5.posTotal+t5.threshold)})),{dataMin:h2(e4),dataMax:l2(i3)}):{dataMin:this.dataMin,dataMax:this.dataMax}}}return y2.defaultOptions=g2(a2.defaultOptions,o2),y2.compose=i2.compose,c2(y2.prototype,{pointValKey:"y",showLine:true,pointClass:s2}),n2(y2,"afterColumnTranslate",(function(){let{options:t4,points:e4,yAxis:i3}=this,s3=b2(t4.minPointLength,5),o3=s3/2,a3=t4.threshold||0,r3=t4.stacking,n3=i3.waterfall.stacks[this.stackKey],l3=a3,h3=a3,p3,f3,y3,x2;for(let t5=0;t5<e4.length;t5++){let b3=e4[t5],P=this.processedYData[t5],S2=c2({x:0,y:0,width:0,height:0},b3.shapeArgs||{});b3.box=S2;let M=[0,P],L2=b3.y||0;if(r3){if(n3){let e5=n3[t5];"overlap"===r3?(f3=e5.stackState[e5.stateIndex--],p3=L2>=0?f3:f3-L2,m2(e5,"absolutePos")&&delete e5.absolutePos,m2(e5,"absoluteNeg")&&delete e5.absoluteNeg):(L2>=0?(f3=e5.threshold+e5.posTotal,e5.posTotal-=L2,p3=f3):(f3=e5.threshold+e5.negTotal,e5.negTotal-=L2,p3=f3-L2),!e5.posTotal&&u2(e5.absolutePos)&&m2(e5,"absolutePos")&&(e5.posTotal=e5.absolutePos,delete e5.absolutePos),!e5.negTotal&&u2(e5.absoluteNeg)&&m2(e5,"absoluteNeg")&&(e5.negTotal=e5.absoluteNeg,delete e5.absoluteNeg)),b3.isSum||(e5.connectorThreshold=e5.threshold+e5.stackTotal),i3.reversed?(y3=L2>=0?p3-L2:p3+L2,x2=p3):(y3=p3,x2=p3-L2),b3.below=y3<=a3,S2.y=i3.translate(y3,false,true,false,true),S2.height=Math.abs(S2.y-i3.translate(x2,false,true,false,true));let s4=i3.waterfall.dummyStackItem;s4&&(s4.x=t5,s4.label=n3[t5].label,s4.setOffset(this.pointXOffset||0,this.barW||0,this.stackedYNeg[t5],this.stackedYPos[t5],void 0,this.xAxis))}}else p3=Math.max(h3,h3+L2)+M[0],S2.y=i3.translate(p3,false,true,false,true),b3.isSum?(S2.y=i3.translate(M[1],false,true,false,true),S2.height=Math.min(i3.translate(M[0],false,true,false,true),i3.len)-S2.y,b3.below=M[1]<=a3):b3.isIntermediateSum?(L2>=0?(y3=M[1]+l3,x2=l3):(y3=l3,x2=M[1]+l3),i3.reversed&&(y3^=x2,x2^=y3,y3^=x2),S2.y=i3.translate(y3,false,true,false,true),S2.height=Math.abs(S2.y-Math.min(i3.translate(x2,false,true,false,true),i3.len)),l3+=M[1],b3.below=y3<=a3):(S2.height=P>0?i3.translate(h3,false,true,false,true)-S2.y:i3.translate(h3,false,true,false,true)-i3.translate(h3-P,false,true,false,true),h3+=P,b3.below=h3<a3),S2.height<0&&(S2.y+=S2.height,S2.height*=-1);b3.plotY=S2.y,b3.yBottom=S2.y+S2.height,S2.height<=s3&&!b3.isNull?(S2.height=s3,S2.y-=o3,b3.yBottom=S2.y+S2.height,b3.plotY=S2.y,L2<0?b3.minPointLengthOffset=-o3:b3.minPointLengthOffset=o3):(b3.isNull&&(S2.width=0),b3.minPointLengthOffset=0);let C2=b3.plotY+(b3.negative?S2.height:0);b3.below&&(b3.plotY+=S2.height),b3.tooltipPos&&(this.chart.inverted?b3.tooltipPos[0]=i3.len-C2:b3.tooltipPos[1]=C2),b3.isInside=this.isPointInside(b3);let k2=d2(b3.yBottom,this.borderWidth);S2.y=d2(S2.y,this.borderWidth),S2.height=k2-S2.y,g2(true,b3.shapeArgs,S2)}}),{order:2}),t3.registerSeriesType("waterfall",y2),y2})),i(e2,"masters/highcharts-more.src.js",[e2["Core/Globals.js"],e2["Core/Series/SeriesRegistry.js"],e2["Extensions/Pane/Pane.js"],e2["Series/Bubble/BubbleSeries.js"],e2["Series/PackedBubble/PackedBubbleSeries.js"],e2["Series/PolarComposition.js"],e2["Core/Axis/RadialAxis.js"],e2["Series/Waterfall/WaterfallSeries.js"]],(function(t3,e3,i2,s2,o2,a2,r2,n2){return t3.RadialAxis=r2,s2.compose(t3.Axis,t3.Chart,t3.Legend),o2.compose(t3.Axis,t3.Chart,t3.Legend),i2.compose(t3.Chart,t3.Pointer),a2.compose(t3.Axis,t3.Chart,t3.Pointer,t3.Series,t3.Tick,t3.Point,e3.seriesTypes.areasplinerange,e3.seriesTypes.column,e3.seriesTypes.line,e3.seriesTypes.spline),n2.compose(t3.Axis,t3.Chart),t3}))}))})(highchartsMore$1);var highchartsMoreExports=highchartsMore$1.exports;const highchartsMore=getDefaultExportFromCjs(highchartsMoreExports);const alignBlockElement=event2=>{const itemToMove=document.querySelector(`#wrapper-circle-chart-${event2.target.renderTo.id} .pb-circle-chart-block`);const chartContainer=document.querySelector(`#${event2.target.renderTo.id}`);if(itemToMove!==null&&chartContainer!==null){itemToMove.style.height=`${event2.target.chartHeight}px`;itemToMove.style.width=`${event2.target.chartWidth}px`;if(chartContainer.firstChild!==null){chartContainer.firstChild.before(itemToMove)}}};const CircleChart=({align:align="center",aria:aria={},rounded:rounded=false,borderColor:borderColor=(rounded?null:""),borderWidth:borderWidth=(rounded?20:null),chartData:chartData,children:children,className:className,colors:colors2=[],customOptions:customOptions={},dark:dark=false,data:data={},dataLabelHtml:dataLabelHtml="<div>{point.name}</div>",dataLabels:dataLabels=false,height:height,htmlOptions:htmlOptions={},id:id,innerSize:innerSize="md",legend:legend=false,maxPointSize:maxPointSize=null,minPointSize:minPointSize=null,startAngle:startAngle=null,style:style="pie",title:title,tooltipHtml:tooltipHtml,useHtml:useHtml=false,zMin:zMin=null,layout:layout="horizontal",verticalAlign:verticalAlign="bottom",x:x2=0,y:y2=0,...props})=>{const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);highchartsMore(Highcharts$1);const setupTheme=()=>{dark?Highcharts$1.setOptions(highchartsDarkTheme):Highcharts$1.setOptions(highchartsTheme)};setupTheme();Highcharts$1.setOptions({tooltip:{headerFormat:null,pointFormat:tooltipHtml?tooltipHtml:'<span style="font-weight: bold; color:{point.color};">●</span>{point.name}: <b>{point.y}</b>',useHTML:useHtml}});const innerSizes={sm:"35%",md:"50%",lg:"85%",none:"0%"};const innerSizeFormat=size=>innerSizes[size];const filteredProps={...props};delete filteredProps.verticalAlign;const[options2,setOptions]=useState({});useEffect((()=>{const formattedChartData=chartData.map((obj=>{obj.y=obj.value;delete obj.value;return obj}));const staticOptions={title:{text:title},chart:{height:height,type:style,events:{render:event2=>alignBlockElement(event2),redraw:event2=>alignBlockElement(event2)}},legend:{align:align,verticalAlign:verticalAlign,layout:layout,x:x2,y:y2},plotOptions:{pie:{colors:colors2.length>0?mapColors(colors2):highchartsTheme.colors,dataLabels:{enabled:dataLabels,connectorShape:"straight",connectorWidth:3,format:dataLabelHtml},showInLegend:legend}},series:[{minPointSize:minPointSize,maxPointSize:maxPointSize,innerSize:borderWidth==20?"100%":innerSizeFormat(innerSize),data:formattedChartData,zMin:zMin,startAngle:startAngle,borderWidth:borderWidth,borderColor:borderColor}],credits:false};setOptions(merge(staticOptions,customOptions))}),[chartData]);return jsx$1(Fragment,{children:children?jsxs("div",{id:`wrapper-circle-chart-${id}`,children:[jsx$1(HighchartsReact,{containerProps:{className:classnames("pb_circle_chart",globalProps(filteredProps)),id:id,...ariaProps,...dataProps,...htmlProps},highcharts:Highcharts$1,options:options2}),jsx$1("div",{className:"pb-circle-chart-block",children:children})]}):jsx$1(HighchartsReact,{containerProps:{className:classnames("pb_circle_chart",globalProps(filteredProps)),id:id,...ariaProps,...dataProps,...htmlProps},highcharts:Highcharts$1,options:options2})})};const CircleIconButton=props=>{const{aria:aria={},className:className,dark:dark,data:data={},disabled:disabled,htmlOptions:htmlOptions={},icon:icon,id:id,loading:loading=false,onClick:onClick=noop$1,type:type,link:link,newWindow:newWindow,variant:variant}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_circle_icon_button_kit"),globalProps(props),className);return jsx$1("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id,children:jsx$1(Button,{dark:dark,disabled:disabled,htmlType:type,link:link,loading:loading,newWindow:newWindow,onClick:onClick,text:null,variant:variant,children:jsx$1(Icon,{fixedWidth:true,icon:icon})})})};const showElement=elem=>{elem.style.display="block";const height=elem.scrollHeight+"px";elem.style.height=height;elem.classList.add("is-visible");elem.style.overflow="hidden";window.setTimeout((()=>{if(!elem.classList.contains("is-visible")){elem.classList.add("is-visible")}elem.style.height="";elem.style.overflow="visible"}),300)};const hideElement=elem=>{elem.style.height=elem.scrollHeight+"px";window.setTimeout((()=>{elem.style.height="0";elem.style.paddingTop="0";elem.style.paddingBottom="0";elem.style.overflow="hidden"}),1);window.setTimeout((()=>{elem.classList.remove("is-visible");elem.style.overflow=""}),300)};const CollapsibleContext=createContext({});const CollapsibleContent=({children:children,className:className,...props})=>{const context=useContext(CollapsibleContext);const contentCSS=buildCss("pb_collapsible_content_kit");const contentSpacing=globalProps(props);const contentRef=useRef(null);useEffect((()=>{if(contentRef.current){if(context.collapsed){hideElement(contentRef.current)}else{showElement(contentRef.current)}}}),[context.collapsed]);return jsx$1("div",{className:classnames(contentCSS,contentSpacing,"toggle-content",className),"data-collapsible-content":"true",ref:contentRef,children:children})};const colorMap={default:"#242B42",light:"#687887",lighter:"#C1CDD6",link:"#0056CF",error:"#FF2229",success:"#00CA74"};const CollapsibleIcon=({collapsed:collapsed,icon:icon,iconSize:iconSize,iconColor:iconColor,onIconClick:onIconClick})=>{const color=colorMap[iconColor];const showIcon=icon2=>{if(icon2==="none"){return[]}else if(typeof icon2==="string"){return[icon2,icon2]}return icon2};const handleIconClick=e2=>{if(onIconClick){e2.stopPropagation();onIconClick()}};return jsx$1(Fragment,{children:icon!=="none"?collapsed?jsx$1("div",{className:"icon_wrapper",onClick:e2=>handleIconClick(e2),style:{verticalAlign:"middle",color:color},children:jsx$1(Icon,{icon:icon?showIcon(icon)[0]:"chevron-down",size:iconSize})},icon?showIcon(icon)[0]:"chevron-down"):jsx$1("div",{className:"icon_wrapper",onClick:e2=>handleIconClick(e2),style:{verticalAlign:"middle",color:color},children:jsx$1(Icon,{icon:icon?showIcon(icon)[1]:"chevron-up",size:iconSize})},icon?showIcon(icon)[1]:"chevron-up"):jsx$1("div",{})})};const CollapsibleMain=({children:children,className:className,cursor:cursor2="pointer",...props})=>{const{collapsed:collapsed,toggle:toggle,icon:icon,iconSize:iconSize,iconColor:iconColor,onIconClick:onIconClick,onClick:onClick}=useContext(CollapsibleContext);const mainCSS=buildCss("pb_collapsible_main_kit");const mainSpacing=globalProps(props,{cursor:cursor2});const handleCollapsibleClick=()=>{onClick&&onClick();const disableToggle=onClick&&onClick();if(disableToggle!==true){toggle()}};return jsx$1("div",{className:classnames(mainCSS,mainSpacing,className),children:jsx$1("div",{onClick:handleCollapsibleClick,children:jsxs(Flex,{spacing:"between",vertical:"center",children:[jsx$1(FlexItem,{children:children}),jsx$1(FlexItem,{children:jsx$1(CollapsibleIcon,{collapsed:collapsed,icon:icon,iconColor:iconColor,iconSize:iconSize,onIconClick:onIconClick})})]})})})};const Collapsible=({aria:aria={},className:className,children:children,collapsed:collapsed=true,data:data={},htmlOptions:htmlOptions={},icon:icon,iconColor:iconColor="default",iconSize:iconSize,onIconClick:onIconClick,onClick:onClick,id:id,...props})=>{const[isCollapsed,toggle,setIsCollapsed]=useCollapsible(collapsed);useEffect((()=>{setIsCollapsed(collapsed)}),[collapsed]);if(children.length!==2){throw new Error("Collapsible requires <CollapsibleMain> and <CollapsibleContent> to function properly.")}const FirstChild=children[0];const Main=FirstChild.type===CollapsibleMain?FirstChild:null;const Content=children[1];const{children:mainChildren=null,...mainProps}=Main?Main.props:{};const{children:contentChildren,...contentProps}=Content.props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_collapsible_kit"),globalProps(props),className);return jsx$1(CollapsibleContext.Provider,{value:{collapsed:isCollapsed,toggle:toggle,icon:icon,iconSize:iconSize,iconColor:iconColor,onIconClick:onIconClick,onClick:onClick},children:jsxs("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id,children:[Main?jsx$1(CollapsibleMain,{...mainProps,children:mainChildren}):FirstChild,jsx$1(CollapsibleContent,{...contentProps,children:contentChildren})]})})};Collapsible.Main=CollapsibleMain;Collapsible.Content=CollapsibleContent;Collapsible.Icon=CollapsibleIcon;const Title=props=>{if(props.variant);const{aria:aria={},children:children,className:className,color:color,data:data={},htmlOptions:htmlOptions={},id:id,size:size=3,bold:bold=true,tag:tag="h3",text:text,variant:variant=null}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const getBold=bold?"":"thin";const isSizeNumberOrString=typeof size==="number"||typeof size==="string";const buildResponsiveSizeCss=()=>{let css4="";if(!isSizeNumberOrString){Object.entries(size).forEach((sizeObj=>{css4+=`pb_title_kit_${sizeObj[0]}_${sizeObj[1]} `}))}return css4.trim()};const classes=classnames(buildCss("pb_title_kit",isSizeNumberOrString?`size_${size}`:"",variant,color,getBold),globalProps(props),buildResponsiveSizeCss(),className);const Tag=`${tag}`;return jsx$1(Tag,{...ariaProps,...dataProps,...htmlProps,className:classes,id:id,children:text||children})};const SectionSeparator=props=>{const{aria:aria={},children:children,className:className,data:data={},htmlOptions:htmlOptions={},id:id,lineStyle:lineStyle="solid",orientation:orientation="horizontal",text:text,dark:dark=false,variant:variant="card"}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_section_separator_kit",variant,orientation,lineStyle==="dashed"?lineStyle:""),globalProps(props),className);return jsx$1("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id,children:children&&children||text&&jsx$1("span",{children:jsx$1(Caption,{dark:dark,text:text})})})};var lib={exports:{}};var Modal$2={};var propTypes={exports:{}};var ReactPropTypesSecret$1="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";var ReactPropTypesSecret_1=ReactPropTypesSecret$1;var ReactPropTypesSecret=ReactPropTypesSecret_1;function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction;var factoryWithThrowingShims=function(){function shim(props,propName,componentName,location,propFullName,secret){if(secret===ReactPropTypesSecret){return}var err=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");err.name="Invariant Violation";throw err}shim.isRequired=shim;function getShim(){return shim}var ReactPropTypes={array:shim,bigint:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,elementType:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes};{propTypes.exports=factoryWithThrowingShims()}var propTypesExports=propTypes.exports;const PropTypes=getDefaultExportFromCjs(propTypesExports);var ModalPortal={exports:{}};var focusManager={};var tabbable={exports:{}};(function(module,exports){Object.defineProperty(exports,"__esModule",{value:true});exports.default=findTabbableDescendants;
|
6
|
+
*/(function(module){(function(){var hasOwn={}.hasOwnProperty;function classNames2(){var classes=[];for(var i=0;i<arguments.length;i++){var arg=arguments[i];if(!arg)continue;var argType=typeof arg;if(argType==="string"||argType==="number"){classes.push(arg)}else if(Array.isArray(arg)){if(arg.length){var inner=classNames2.apply(null,arg);if(inner){classes.push(inner)}}}else if(argType==="object"){if(arg.toString!==Object.prototype.toString&&!arg.toString.toString().includes("[native code]")){classes.push(arg.toString());continue}for(var key in arg){if(hasOwn.call(arg,key)&&arg[key]){classes.push(key)}}}}return classes.join(" ")}if(module.exports){classNames2.default=classNames2;module.exports=classNames2}else{window.classNames=classNames2}})()})(classnames$1);var classnamesExports=classnames$1.exports;const classnames=getDefaultExportFromCjs(classnamesExports);const buildPrefixedProps=(prefix2,data)=>Object.keys(data).reduce(((props,key)=>{props[`${prefix2}-${key}`]=data[key];return props}),{});const noop$1=()=>{};const buildAriaProps=aria=>buildPrefixedProps("aria",aria);const buildDataProps=data=>buildPrefixedProps("data",data);const buildCss=(...rules)=>classnames(rules).replace(/\s/g,"_");const buildHtmlProps=htmlOptions=>{const htmlProps={};Object.keys(htmlOptions).forEach((key=>{htmlProps[key]=htmlOptions[key]}));return htmlProps};const isEmpty$1=value=>!value||value=="";const titleizedWord=word=>word.charAt(0).toUpperCase()+word.slice(1).toLowerCase();const titleize=sentence=>isEmpty$1(sentence)?sentence:sentence.split(" ").map(titleizedWord).join(" ");const notEmpty=value=>!isEmpty$1(value);const joinPresent=(array,separator)=>filter(array,notEmpty).join(separator);const camelToSnakeCase=word=>word.split(/([A-Z])/g).map(((w2,i)=>{const prefix2=i>0?"_":"";return w2===w2.toLowerCase()?w2:prefix2+w2.toLowerCase()})).join("");const BitValues=[0,1];const getResponsivePropClasses=(prop,classPrefix)=>{const keys=Object.keys(prop);return keys.map((size=>{const propValue=typeof prop[size]==="string"?camelToSnakeCase(prop[size]):prop[size];return`${classPrefix}_${size}_${propValue}`})).join(" ")};const getPositioningPropsClasses=(position2,value)=>{let css4="";if(typeof value==="string"){css4+=`${position2}_${value}`}else if(typeof value==="object"&&value.inset){css4+=`${position2}_${value.value}_inset`}else if(typeof value==="object"){css4+=`${position2}_${value.value}`}return css4};const filterClassName=value=>{if(value.includes("%")){return value.replace("%","_percent")}else{return value}};const PROP_CATEGORIES={groupHoverProps:({groupHover:groupHover})=>groupHover?"group_hover ":"",hoverProps:({hover:hover})=>{let css4="";if(!hover)return css4;css4+=hover.shadow?`hover_shadow_${hover.shadow} `:"";css4+=hover.background?`hover_background-${hover.background} `:"";css4+=hover.scale?`hover_scale_${hover.scale} `:"";css4+=hover.color?`hover_color-${hover.color} `:"";return css4},spacingProps:({marginRight:marginRight,marginLeft:marginLeft,marginTop:marginTop,marginBottom:marginBottom,marginX:marginX,marginY:marginY,margin:margin,paddingRight:paddingRight,paddingLeft:paddingLeft,paddingTop:paddingTop,paddingBottom:paddingBottom,paddingX:paddingX,paddingY:paddingY,padding:padding})=>{let css4="";const spacingProps={marginRight:marginRight,marginLeft:marginLeft,marginTop:marginTop,marginBottom:marginBottom,marginX:marginX,marginY:marginY,margin:margin,paddingRight:paddingRight,paddingLeft:paddingLeft,paddingTop:paddingTop,paddingBottom:paddingBottom,paddingX:paddingX,paddingY:paddingY,padding:padding};const screenSizeValues=["xs","sm","md","lg","xl"];function handleObjectValue(properties,prefix2){let classResult="";const breakValue=properties.break||"on";const defaultValue=properties.default||null;Object.entries(properties).forEach((([key,value])=>{if(screenSizeValues.includes(key)){classResult+=`break_${breakValue}_${key}:${prefix2}_${value} `}}));if(defaultValue){classResult+=`${prefix2}_${defaultValue} `}return classResult}function getPrefix(key){const prefixes={marginRight:"mr",marginLeft:"ml",marginTop:"mt",marginBottom:"mb",marginX:"mx",marginY:"my",margin:"m",paddingRight:"pr",paddingLeft:"pl",paddingTop:"pt",paddingBottom:"pb",paddingX:"px",paddingY:"py",padding:"p"};return prefixes[key]}Object.entries(spacingProps).forEach((([key,value])=>{if(value){if(typeof value==="object"){css4+=handleObjectValue(value,getPrefix(key))}else{const prefix2=getPrefix(key);css4+=`${prefix2}_${value} `}}}));return css4.trim()},borderRadiusProps:({borderRadius:borderRadius2})=>{let css4="";css4+=borderRadius2?`border_radius_${borderRadius2} `:"";return css4},overflowProps:({overflow:overflow,overflowX:overflowX,overflowY:overflowY})=>{let css4="";css4+=overflow?`overflow_${overflow}`:"";css4+=overflowX?`overflow_x_${overflowX}`:"";css4+=overflowY?`overflow_y_${overflowY}`:"";return css4},truncateProps:({truncate:truncate})=>{if(typeof truncate==="object"){return""}else{return truncate?`truncate_${truncate}`:""}},darkProps:({dark:dark})=>dark?"dark":"",numberSpacingProps:({numberSpacing:numberSpacing})=>{let css4="";css4+=numberSpacing?`ns_${numberSpacing} `:"";return css4},minWidthProps:({minWidth:minWidth})=>{let css4="";css4+=minWidth?`min_width_${filterClassName(minWidth)} `:"";return css4.trimEnd()},maxWidthProps:({maxWidth:maxWidth})=>{let css4="";css4+=maxWidth?`max_width_${filterClassName(maxWidth)} `:"";return css4.trimEnd()},zIndexProps:zIndex=>{let css4="";Object.entries(zIndex).forEach((zIndexEntry=>{if(zIndexEntry[0]=="zIndex"){if(typeof zIndexEntry[1]=="number"){css4+=`z_index_${zIndexEntry[1]} `}else if(typeof zIndexEntry[1]=="object"){Object.entries(zIndexEntry[1]).forEach((zIndexObj=>{css4+=`z_index_${zIndexObj[0]}_${zIndexObj[1]} `}))}}}));return css4},shadowProps:({shadow:shadow})=>{let css4="";css4+=shadow?`shadow_${shadow} `:"";return css4},lineHeightProps:({lineHeight:lineHeight})=>{let css4="";css4+=lineHeight?`line_height_${lineHeight} `:"";return css4},displayProps:display=>{let css4="";Object.entries(display).forEach((displayEntry=>{if(displayEntry[0]=="display"){if(typeof displayEntry[1]=="string"){css4+=`display_${displayEntry[1]} `}else if(typeof displayEntry[1]=="object"){Object.entries(displayEntry[1]).forEach((displayObj=>{css4+=`display_${displayObj[0]}_${displayObj[1]} `}))}else;}}));return css4},cursorProps:({cursor:cursor2})=>{let css4="";css4+=cursor2?`cursor_${camelToSnakeCase(cursor2)}`:"";return css4},alignContentProps:({alignContent:alignContent})=>{if(typeof alignContent==="object"){return getResponsivePropClasses(alignContent,"align_content")}return alignContent?`align_content_${camelToSnakeCase(alignContent)}`:""},alignItemsProps:({alignItems:alignItems})=>{if(typeof alignItems==="object"){return getResponsivePropClasses(alignItems,"align_items")}else{return alignItems?`align_items_${camelToSnakeCase(alignItems)}`:""}},alignSelfProps:({alignSelf:alignSelf})=>{if(typeof alignSelf==="object"){return getResponsivePropClasses(alignSelf,"align_self")}else{return alignSelf?`align_self_${alignSelf}`:""}},flexDirectionProps:({flexDirection:flexDirection})=>{if(typeof flexDirection=="object"){return getResponsivePropClasses(flexDirection,"flex_direction")}else{return flexDirection?`flex_direction_${camelToSnakeCase(flexDirection)}`:""}},flexWrapProps:({flexWrap:flexWrap})=>{if(typeof flexWrap=="object"){return getResponsivePropClasses(flexWrap,"flex_wrap")}else{return flexWrap?`flex_wrap_${camelToSnakeCase(flexWrap)}`:""}},flexProps:({flex:flex})=>{if(typeof flex==="object"){return getResponsivePropClasses(flex,"flex")}else{return flex?`flex_${flex}`:""}},flexGrowProps:({flexGrow:flexGrow})=>{if(typeof flexGrow=="object"){return getResponsivePropClasses(flexGrow,"flex_grow")}else if(BitValues.includes(flexGrow)){return`flex_grow_${flexGrow}`}else{return""}},flexShrinkProps:({flexShrink:flexShrink})=>{if(typeof flexShrink=="object"){return getResponsivePropClasses(flexShrink,"flex_shrink")}else if(BitValues.includes(flexShrink)){return`flex_shrink_${flexShrink}`}else{return""}},justifyContentProps:({justifyContent:justifyContent})=>{if(typeof justifyContent==="object"){return getResponsivePropClasses(justifyContent,"justify_content")}else{return justifyContent?`justify_content_${camelToSnakeCase(justifyContent)}`:""}},justifySelfProps:({justifySelf:justifySelf})=>{if(typeof justifySelf==="object"){return getResponsivePropClasses(justifySelf,"justify_self")}else{return justifySelf?`justify_self_${justifySelf}`:""}},orderProps:({order:order})=>{if(typeof order==="object"){return getResponsivePropClasses(order,"flex_order")}else{return order?`flex_order_${order}`:""}},positionProps:({position:position2})=>{let css4="";css4+=position2&&position2!=="static"?`position_${position2}`:"";return css4},topProps:({top:top})=>getPositioningPropsClasses("top",top),rightProps:({right:right})=>getPositioningPropsClasses("right",right),bottomProps:({bottom:bottom})=>getPositioningPropsClasses("bottom",bottom),leftProps:({left:left})=>getPositioningPropsClasses("left",left),textAlignProps:({textAlign:textAlign})=>{if(typeof textAlign==="object"){return getResponsivePropClasses(textAlign,"text_align")}else{return textAlign?`text_align_${textAlign} `:""}},verticalAlignProps:({verticalAlign:verticalAlign})=>{if(typeof verticalAlign==="object"){return getResponsivePropClasses(verticalAlign,"vertical_align")}else{return verticalAlign?`vertical_align_${verticalAlign} `:""}}};const PROP_INLINE_CATEGORIES={heightProps:({height:height})=>height?{height:height}:{},maxHeightProps:({maxHeight:maxHeight})=>maxHeight?{maxHeight:maxHeight}:{},minHeightProps:({minHeight:minHeight})=>minHeight?{minHeight:minHeight}:{}};const globalProps=(props,defaultProps2={})=>{const allProps=Object.assign(Object.assign({},props),defaultProps2);return Object.keys(PROP_CATEGORIES).map((key=>PROP_CATEGORIES[key](allProps))).filter((value=>(value===null||value===void 0?void 0:value.length)>0)).join(" ")};const globalInlineProps=props=>{const styles=Object.keys(PROP_INLINE_CATEGORIES).reduce(((acc,key)=>{const result=PROP_INLINE_CATEGORIES[key](props);return Object.assign(Object.assign({},acc),typeof result==="object"?result:{})}),{});return styles};const domSafeProps=props=>{const notSafeProps=["marginRight","marginLeft","marginTop","marginBottom","marginX","marginY","margin","paddingRight","paddingLeft","paddingTop","paddingBottom","paddingX","paddingY","padding","dark","enableDrag"];return omit(props,notSafeProps)};const Flex=props=>{const{align:align="none",children:children,className:className,data:data={},inline:inline=false,horizontal:horizontal="left",htmlOptions:htmlOptions={},justify:justify="none",orientation:orientation="row",spacing:spacing2="none",gap:gap="none",rowGap:rowGap="none",columnGap:columnGap="none",reverse:reverse=false,vertical:vertical="top",wrap:wrap=false,alignSelf:alignSelf="none"}=props;const orientationClass=orientation!==void 0?`orientation_${orientation}`:"";const justifyClass=justify!=="none"?`justify_content_${justify}`:`justify_content_${horizontal}`;const alignClass=align!=="none"?`align_items_${align}`:`align_items_${vertical}`;const inlineClass=inline===true?"inline":"";const spacingClass=spacing2!==void 0?`spacing_${spacing2}`:"";const gapClass=gap!=="none"?`gap_${gap}`:"";const rowGapClass=rowGap!=="none"?`rowGap_${rowGap}`:"";const columnGapClass=columnGap!=="none"?`columnGap_${columnGap}`:"";const wrapClass=wrap===true?"wrap":"";const reverseClass=reverse===true?"reverse":"";const alignSelfClass=alignSelf!=="none"?`align_self_${alignSelf}`:"";const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const dynamicInlineProps=globalInlineProps(props);return jsx$1("div",Object.assign({className:classnames(buildCss("pb_flex_kit",orientationClass,justifyClass,alignClass,inlineClass,reverseClass,wrapClass,spacingClass,gapClass,rowGapClass,columnGapClass,alignSelfClass),globalProps(props),className),style:dynamicInlineProps},dataProps,htmlProps,{children:children}),void 0)};const FlexItem=props=>{const{children:children,className:className,fixedSize:fixedSize,grow:grow,htmlOptions:htmlOptions={},shrink:shrink,flex:flex="none",order:order="none",alignSelf:alignSelf,displayFlex:displayFlex}=props;const growClass=grow===true?"grow":"";const displayFlexClass=displayFlex===true?`display_flex_${displayFlex}`:"";const flexClass=flex!=="none"?`flex_${flex}`:"";const shrinkClass=shrink===true?"shrink":"";const alignSelfClass=alignSelf?`align_self_${alignSelf}`:"";const fixedStyle=fixedSize!==void 0?{flexBasis:`${fixedSize}`}:null;const orderClass=order!=="none"?`order_${order}`:null;const dynamicInlineProps=globalInlineProps(props);const combinedStyles=Object.assign(Object.assign({},fixedStyle),dynamicInlineProps);const htmlProps=buildHtmlProps(htmlOptions);return jsx$1("div",Object.assign({},htmlProps,{className:classnames(buildCss("pb_flex_item_kit",growClass,shrinkClass,flexClass,displayFlexClass),orderClass,alignSelfClass,globalProps(props),className),style:combinedStyles},{children:children}),void 0)};const isValidEmoji=emoji=>{const emojiRegex=new RegExp("^(\\p{Emoji}|\\uFE0F|\\u200D|\\u20E3)+$","u");return emojiRegex.test(emoji)};const flipMap={fa:{horizontal:"fa-flip-horizontal",vertical:"fa-flip-vertical",both:"fa-flip-horizontal fa-flip-vertical",none:""},svg:{horizontal:"flip_horizontal",vertical:"flip_vertical",both:"flip_horizontal flip_vertical",none:""}};const pulseMap={fa:"fa-pulse",svg:"pulse"};const spinMap={fa:"fa-spin",svg:"spin"};const rotateMap={fa:{90:"fa-rotate-90",180:"fa-rotate-180",270:"fa-rotate-270"},svg:{90:"rotate_90",180:"rotate_180",270:"rotate_270"}};const sizeMap={fa:{lg:"fa-lg",xs:"fa-xs",sm:"fa-sm","1x":"fa-1x","2x":"fa-2x","3x":"fa-3x","4x":"fa-4x","5x":"fa-5x","6x":"fa-6x","7x":"fa-7x","8x":"fa-8x","9x":"fa-9x","10x":"fa-10x","":""},svg:{lg:"svg_lg",xs:"svg_xs",sm:"svg_sm","1x":"svg_1x","2x":"svg_2x","3x":"svg_3x","4x":"svg_4x","5x":"svg_5x","6x":"svg_6x","7x":"svg_7x","8x":"svg_8x","9x":"svg_9x","10x":"svg_10x","":""}};const Icon=props=>{const{aria:aria={},border:border=false,className:className,color:color,customIcon:customIcon,data:data={},fixedWidth:fixedWidth=true,flip:flip="none",htmlOptions:htmlOptions={},icon:icon="",id:id,inverse:inverse=false,listItem:listItem=false,pull:pull,pulse:pulse=false,rotation:rotation,size:size,fontStyle:fontStyle="far",spin:spin=false,tabIndex:tabIndex}=props;let iconElement=typeof icon==="object"?icon:null;if(!customIcon&&!iconElement){const PowerIcon=window.PB_ICONS?window.PB_ICONS[icon]:null;if(PowerIcon){iconElement=jsx$1(PowerIcon,{},void 0)}}const isFA=!iconElement&&!customIcon;let classes=classnames(!iconElement&&!customIcon?"pb_icon_kit":"",iconElement||customIcon?"pb_custom_icon":fontStyle,iconElement?"svg-inline--fa":"",color?`color_${color}`:"",globalProps(props),className);const transformClasses=classnames(flip?flipMap[isFA?"fa":"svg"][flip]:null,pulse?pulseMap[isFA?"fa":"svg"]:null,rotation?rotateMap[isFA?"fa":"svg"][rotation]:null,spin?spinMap[isFA?"fa":"svg"]:null,size?sizeMap[isFA?"fa":"svg"][size]:null,border?isFA?"fa-border":"svg_border":null,fixedWidth?isFA?"fa-fw":"svg_fw":null,inverse?isFA?"fa-inverse":"svg_inverse":null,listItem?isFA?"fa-li":"svg_li":null,pull?isFA?`fa-pull-${pull}`:`pull_${pull}`:null);classes+=` ${transformClasses}`;if(isFA){const faClassList={"fa-border":border,"fa-inverse":inverse,"fa-li":listItem,[`fa-${size}`]:size,[`fa-pull-${pull}`]:pull};faClassList[`fa-${icon}`]=icon;classes+=` ${classnames(faClassList)}`}const classesEmoji=classnames("pb_icon_kit_emoji",globalProps(props),className);aria.label?null:aria.label=`${icon} icon`;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const displaySVG=customIcon2=>{if(iconElement||customIcon2)return jsx$1(Fragment,{children:React__default.cloneElement(iconElement||customIcon2,Object.assign(Object.assign(Object.assign(Object.assign({},dataProps),htmlProps),{className:classes,id:id,width:"auto",height:"auto"}),props.tabIndex!==void 0&&{tabIndex:tabIndex}))},void 0);else if(isValidEmoji(icon))return jsx$1(Fragment,{children:jsx$1("span",Object.assign({},dataProps,htmlProps,{className:classesEmoji,id:id},{children:icon}),void 0)},void 0);else return jsxs(Fragment,{children:[jsx$1("i",Object.assign({},dataProps,htmlProps,{className:classes,id:id}),void 0),jsx$1("span",Object.assign({},ariaProps,{hidden:true}),void 0)]},void 0)};return jsx$1(Fragment,{children:displaySVG(customIcon)},void 0)};var main={exports:{}};(function(module){module.exports=function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module2=installedModules[moduleId]={exports:{},id:moduleId,loaded:false};modules[moduleId].call(module2.exports,module2,module2.exports,__webpack_require__);module2.loaded=true;return module2.exports}__webpack_require__.m=modules;__webpack_require__.c=installedModules;__webpack_require__.p="";return __webpack_require__(0)}([function(module2,exports,__webpack_require__){module2.exports=__webpack_require__(1)},function(module2,exports,__webpack_require__){Object.defineProperty(exports,"__esModule",{value:true});function _interopRequireDefault2(obj){return obj&&obj.__esModule?obj:{default:obj}}var _Highlighter=__webpack_require__(2);var _Highlighter2=_interopRequireDefault2(_Highlighter);exports["default"]=_Highlighter2["default"];module2.exports=exports["default"]},function(module2,exports,__webpack_require__){Object.defineProperty(exports,"__esModule",{value:true});var _extends2=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key]}}}return target};exports["default"]=Highlighter2;function _interopRequireDefault2(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties2(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var _highlightWordsCore=__webpack_require__(3);var _propTypes3=__webpack_require__(4);var _propTypes22=_interopRequireDefault2(_propTypes3);var _react3=__webpack_require__(14);var _memoizeOne=__webpack_require__(15);var _memoizeOne2=_interopRequireDefault2(_memoizeOne);Highlighter2.propTypes={activeClassName:_propTypes22["default"].string,activeIndex:_propTypes22["default"].number,activeStyle:_propTypes22["default"].object,autoEscape:_propTypes22["default"].bool,className:_propTypes22["default"].string,findChunks:_propTypes22["default"].func,highlightClassName:_propTypes22["default"].oneOfType([_propTypes22["default"].object,_propTypes22["default"].string]),highlightStyle:_propTypes22["default"].object,highlightTag:_propTypes22["default"].oneOfType([_propTypes22["default"].node,_propTypes22["default"].func,_propTypes22["default"].string]),sanitize:_propTypes22["default"].func,searchWords:_propTypes22["default"].arrayOf(_propTypes22["default"].oneOfType([_propTypes22["default"].string,_propTypes22["default"].instanceOf(RegExp)])).isRequired,textToHighlight:_propTypes22["default"].string.isRequired,unhighlightTag:_propTypes22["default"].oneOfType([_propTypes22["default"].node,_propTypes22["default"].func,_propTypes22["default"].string]),unhighlightClassName:_propTypes22["default"].string,unhighlightStyle:_propTypes22["default"].object};function Highlighter2(_ref3){var _ref$activeClassName=_ref3.activeClassName;var activeClassName=_ref$activeClassName===void 0?"":_ref$activeClassName;var _ref$activeIndex=_ref3.activeIndex;var activeIndex=_ref$activeIndex===void 0?-1:_ref$activeIndex;var activeStyle=_ref3.activeStyle;var autoEscape=_ref3.autoEscape;var _ref$caseSensitive=_ref3.caseSensitive;var caseSensitive=_ref$caseSensitive===void 0?false:_ref$caseSensitive;var className=_ref3.className;var findChunks=_ref3.findChunks;var _ref$highlightClassName=_ref3.highlightClassName;var highlightClassName=_ref$highlightClassName===void 0?"":_ref$highlightClassName;var _ref$highlightStyle=_ref3.highlightStyle;var highlightStyle=_ref$highlightStyle===void 0?{}:_ref$highlightStyle;var _ref$highlightTag=_ref3.highlightTag;var highlightTag=_ref$highlightTag===void 0?"mark":_ref$highlightTag;var sanitize=_ref3.sanitize;var searchWords=_ref3.searchWords;var textToHighlight=_ref3.textToHighlight;var _ref$unhighlightTag=_ref3.unhighlightTag;var unhighlightTag=_ref$unhighlightTag===void 0?"span":_ref$unhighlightTag;var _ref$unhighlightClassName=_ref3.unhighlightClassName;var unhighlightClassName=_ref$unhighlightClassName===void 0?"":_ref$unhighlightClassName;var unhighlightStyle=_ref3.unhighlightStyle;var rest=_objectWithoutProperties2(_ref3,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightTag","unhighlightClassName","unhighlightStyle"]);var chunks=(0,_highlightWordsCore.findAll)({autoEscape:autoEscape,caseSensitive:caseSensitive,findChunks:findChunks,sanitize:sanitize,searchWords:searchWords,textToHighlight:textToHighlight});var HighlightTag=highlightTag;var highlightIndex=-1;var highlightClassNames="";var highlightStyles=void 0;var lowercaseProps=function lowercaseProps2(object){var mapped={};for(var key in object){mapped[key.toLowerCase()]=object[key]}return mapped};var memoizedLowercaseProps=(0,_memoizeOne2["default"])(lowercaseProps);return(0,_react3.createElement)("span",_extends2({className:className},rest,{children:chunks.map((function(chunk,index2){var text=textToHighlight.substr(chunk.start,chunk.end-chunk.start);if(chunk.highlight){highlightIndex++;var highlightClass=void 0;if(typeof highlightClassName==="object"){if(!caseSensitive){highlightClassName=memoizedLowercaseProps(highlightClassName);highlightClass=highlightClassName[text.toLowerCase()]}else{highlightClass=highlightClassName[text]}}else{highlightClass=highlightClassName}var isActive=highlightIndex===+activeIndex;highlightClassNames=highlightClass+" "+(isActive?activeClassName:"");highlightStyles=isActive===true&&activeStyle!=null?Object.assign({},highlightStyle,activeStyle):highlightStyle;var props={children:text,className:highlightClassNames,key:index2,style:highlightStyles};if(typeof HighlightTag!=="string"){props.highlightIndex=highlightIndex}return(0,_react3.createElement)(HighlightTag,props)}else{return(0,_react3.createElement)(unhighlightTag,{children:text,className:unhighlightClassName,key:index2,style:unhighlightStyle})}}))}))}module2.exports=exports["default"]},function(module2,exports){module2.exports=function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module3=installedModules[moduleId]={exports:{},id:moduleId,loaded:false};modules[moduleId].call(module3.exports,module3,module3.exports,__webpack_require__);module3.loaded=true;return module3.exports}__webpack_require__.m=modules;__webpack_require__.c=installedModules;__webpack_require__.p="";return __webpack_require__(0)}([function(module3,exports2,__webpack_require__){module3.exports=__webpack_require__(1)},function(module3,exports2,__webpack_require__){Object.defineProperty(exports2,"__esModule",{value:true});var _utils=__webpack_require__(2);Object.defineProperty(exports2,"combineChunks",{enumerable:true,get:function get2(){return _utils.combineChunks}});Object.defineProperty(exports2,"fillInChunks",{enumerable:true,get:function get2(){return _utils.fillInChunks}});Object.defineProperty(exports2,"findAll",{enumerable:true,get:function get2(){return _utils.findAll}});Object.defineProperty(exports2,"findChunks",{enumerable:true,get:function get2(){return _utils.findChunks}})},function(module3,exports2){Object.defineProperty(exports2,"__esModule",{value:true});exports2.findAll=function findAll2(_ref3){var autoEscape=_ref3.autoEscape,_ref$caseSensitive=_ref3.caseSensitive,caseSensitive=_ref$caseSensitive===void 0?false:_ref$caseSensitive,_ref$findChunks=_ref3.findChunks,findChunks=_ref$findChunks===void 0?defaultFindChunks:_ref$findChunks,sanitize=_ref3.sanitize,searchWords=_ref3.searchWords,textToHighlight=_ref3.textToHighlight;return fillInChunks({chunksToHighlight:combineChunks({chunks:findChunks({autoEscape:autoEscape,caseSensitive:caseSensitive,sanitize:sanitize,searchWords:searchWords,textToHighlight:textToHighlight})}),totalLength:textToHighlight?textToHighlight.length:0})};var combineChunks=exports2.combineChunks=function combineChunks2(_ref22){var chunks=_ref22.chunks;chunks=chunks.sort((function(first,second){return first.start-second.start})).reduce((function(processedChunks,nextChunk){if(processedChunks.length===0){return[nextChunk]}else{var prevChunk=processedChunks.pop();if(nextChunk.start<=prevChunk.end){var endIndex=Math.max(prevChunk.end,nextChunk.end);processedChunks.push({start:prevChunk.start,end:endIndex})}else{processedChunks.push(prevChunk,nextChunk)}return processedChunks}}),[]);return chunks};var defaultFindChunks=function defaultFindChunks2(_ref3){var autoEscape=_ref3.autoEscape,caseSensitive=_ref3.caseSensitive,_ref3$sanitize=_ref3.sanitize,sanitize=_ref3$sanitize===void 0?identity:_ref3$sanitize,searchWords=_ref3.searchWords,textToHighlight=_ref3.textToHighlight;textToHighlight=sanitize(textToHighlight);return searchWords.filter((function(searchWord){return searchWord})).reduce((function(chunks,searchWord){searchWord=sanitize(searchWord);if(autoEscape){searchWord=escapeRegExpFn(searchWord)}var regex=new RegExp(searchWord,caseSensitive?"g":"gi");var match2=void 0;while(match2=regex.exec(textToHighlight)){var start=match2.index;var end=regex.lastIndex;if(end>start){chunks.push({start:start,end:end})}if(match2.index==regex.lastIndex){regex.lastIndex++}}return chunks}),[])};exports2.findChunks=defaultFindChunks;var fillInChunks=exports2.fillInChunks=function fillInChunks2(_ref4){var chunksToHighlight=_ref4.chunksToHighlight,totalLength=_ref4.totalLength;var allChunks=[];var append2=function append22(start,end,highlight){if(end-start>0){allChunks.push({start:start,end:end,highlight:highlight})}};if(chunksToHighlight.length===0){append2(0,totalLength,false)}else{var lastIndex=0;chunksToHighlight.forEach((function(chunk){append2(lastIndex,chunk.start,false);append2(chunk.start,chunk.end,true);lastIndex=chunk.end}));append2(lastIndex,totalLength,false)}return allChunks};function identity(value){return value}function escapeRegExpFn(str){return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}}])},function(module2,exports,__webpack_require__){(function(process){if(process.env.NODE_ENV!=="production"){var REACT_ELEMENT_TYPE=typeof Symbol==="function"&&Symbol.for&&Symbol.for("react.element")||60103;var isValidElement=function(object){return typeof object==="object"&&object!==null&&object.$$typeof===REACT_ELEMENT_TYPE};var throwOnDirectAccess=true;module2.exports=__webpack_require__(6)(isValidElement,throwOnDirectAccess)}else{module2.exports=__webpack_require__(13)()}}).call(exports,__webpack_require__(5))},function(module2,exports){var process=module2.exports={};var cachedSetTimeout;var cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{if(typeof setTimeout==="function"){cachedSetTimeout=setTimeout}else{cachedSetTimeout=defaultSetTimout}}catch(e2){cachedSetTimeout=defaultSetTimout}try{if(typeof clearTimeout==="function"){cachedClearTimeout=clearTimeout}else{cachedClearTimeout=defaultClearTimeout}}catch(e2){cachedClearTimeout=defaultClearTimeout}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout){return setTimeout(fun,0)}if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout){cachedSetTimeout=setTimeout;return setTimeout(fun,0)}try{return cachedSetTimeout(fun,0)}catch(e2){try{return cachedSetTimeout.call(null,fun,0)}catch(e22){return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout){return clearTimeout(marker)}if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout){cachedClearTimeout=clearTimeout;return clearTimeout(marker)}try{return cachedClearTimeout(marker)}catch(e2){try{return cachedClearTimeout.call(null,marker)}catch(e22){return cachedClearTimeout.call(this,marker)}}}var queue=[];var draining=false;var currentQueue;var queueIndex=-1;function cleanUpNextTick(){if(!draining||!currentQueue){return}draining=false;if(currentQueue.length){queue=currentQueue.concat(queue)}else{queueIndex=-1}if(queue.length){drainQueue()}}function drainQueue(){if(draining){return}var timeout=runTimeout(cleanUpNextTick);draining=true;var len=queue.length;while(len){currentQueue=queue;queue=[];while(++queueIndex<len){if(currentQueue){currentQueue[queueIndex].run()}}queueIndex=-1;len=queue.length}currentQueue=null;draining=false;runClearTimeout(timeout)}process.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1){for(var i=1;i<arguments.length;i++){args[i-1]=arguments[i]}}queue.push(new Item(fun,args));if(queue.length===1&&!draining){runTimeout(drainQueue)}};function Item(fun,array){this.fun=fun;this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process.title="browser";process.browser=true;process.env={};process.argv=[];process.version="";process.versions={};function noop3(){}process.on=noop3;process.addListener=noop3;process.once=noop3;process.off=noop3;process.removeListener=noop3;process.removeAllListeners=noop3;process.emit=noop3;process.prependListener=noop3;process.prependOnceListener=noop3;process.listeners=function(name2){return[]};process.binding=function(name2){throw new Error("process.binding is not supported")};process.cwd=function(){return"/"};process.chdir=function(dir){throw new Error("process.chdir is not supported")};process.umask=function(){return 0}},function(module2,exports,__webpack_require__){(function(process){var emptyFunction2=__webpack_require__(7);var invariant=__webpack_require__(8);var warning2=__webpack_require__(9);var assign2=__webpack_require__(10);var ReactPropTypesSecret2=__webpack_require__(11);var checkPropTypes=__webpack_require__(12);module2.exports=function(isValidElement,throwOnDirectAccess){var ITERATOR_SYMBOL=typeof Symbol==="function"&&Symbol.iterator;var FAUX_ITERATOR_SYMBOL="@@iterator";function getIteratorFn(maybeIterable){var iteratorFn=maybeIterable&&(ITERATOR_SYMBOL&&maybeIterable[ITERATOR_SYMBOL]||maybeIterable[FAUX_ITERATOR_SYMBOL]);if(typeof iteratorFn==="function"){return iteratorFn}}var ANONYMOUS="<<anonymous>>";var ReactPropTypes={array:createPrimitiveTypeChecker("array"),bool:createPrimitiveTypeChecker("boolean"),func:createPrimitiveTypeChecker("function"),number:createPrimitiveTypeChecker("number"),object:createPrimitiveTypeChecker("object"),string:createPrimitiveTypeChecker("string"),symbol:createPrimitiveTypeChecker("symbol"),any:createAnyTypeChecker(),arrayOf:createArrayOfTypeChecker,element:createElementTypeChecker(),instanceOf:createInstanceTypeChecker,node:createNodeChecker(),objectOf:createObjectOfTypeChecker,oneOf:createEnumTypeChecker,oneOfType:createUnionTypeChecker,shape:createShapeTypeChecker,exact:createStrictShapeTypeChecker};function is(x2,y2){if(x2===y2){return x2!==0||1/x2===1/y2}else{return x2!==x2&&y2!==y2}}function PropTypeError(message){this.message=message;this.stack=""}PropTypeError.prototype=Error.prototype;function createChainableTypeChecker(validate){if(process.env.NODE_ENV!=="production"){var manualPropTypeCallCache={};var manualPropTypeWarningCount=0}function checkType(isRequired,props,propName,componentName,location,propFullName,secret){componentName=componentName||ANONYMOUS;propFullName=propFullName||propName;if(secret!==ReactPropTypesSecret2){if(throwOnDirectAccess){invariant(false,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types")}else if(process.env.NODE_ENV!=="production"&&typeof console!=="undefined"){var cacheKey=componentName+":"+propName;if(!manualPropTypeCallCache[cacheKey]&&manualPropTypeWarningCount<3){warning2(false,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",propFullName,componentName);manualPropTypeCallCache[cacheKey]=true;manualPropTypeWarningCount++}}}if(props[propName]==null){if(isRequired){if(props[propName]===null){return new PropTypeError("The "+location+" `"+propFullName+"` is marked as required "+("in `"+componentName+"`, but its value is `null`."))}return new PropTypeError("The "+location+" `"+propFullName+"` is marked as required in "+("`"+componentName+"`, but its value is `undefined`."))}return null}else{return validate(props,propName,componentName,location,propFullName)}}var chainedCheckType=checkType.bind(null,false);chainedCheckType.isRequired=checkType.bind(null,true);return chainedCheckType}function createPrimitiveTypeChecker(expectedType){function validate(props,propName,componentName,location,propFullName,secret){var propValue=props[propName];var propType=getPropType(propValue);if(propType!==expectedType){var preciseType=getPreciseType(propValue);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+preciseType+"` supplied to `"+componentName+"`, expected ")+("`"+expectedType+"`."))}return null}return createChainableTypeChecker(validate)}function createAnyTypeChecker(){return createChainableTypeChecker(emptyFunction2.thatReturnsNull)}function createArrayOfTypeChecker(typeChecker){function validate(props,propName,componentName,location,propFullName){if(typeof typeChecker!=="function"){return new PropTypeError("Property `"+propFullName+"` of component `"+componentName+"` has invalid PropType notation inside arrayOf.")}var propValue=props[propName];if(!Array.isArray(propValue)){var propType=getPropType(propValue);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+propType+"` supplied to `"+componentName+"`, expected an array."))}for(var i=0;i<propValue.length;i++){var error=typeChecker(propValue,i,componentName,location,propFullName+"["+i+"]",ReactPropTypesSecret2);if(error instanceof Error){return error}}return null}return createChainableTypeChecker(validate)}function createElementTypeChecker(){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];if(!isValidElement(propValue)){var propType=getPropType(propValue);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+propType+"` supplied to `"+componentName+"`, expected a single ReactElement."))}return null}return createChainableTypeChecker(validate)}function createInstanceTypeChecker(expectedClass){function validate(props,propName,componentName,location,propFullName){if(!(props[propName]instanceof expectedClass)){var expectedClassName=expectedClass.name||ANONYMOUS;var actualClassName=getClassName(props[propName]);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+actualClassName+"` supplied to `"+componentName+"`, expected ")+("instance of `"+expectedClassName+"`."))}return null}return createChainableTypeChecker(validate)}function createEnumTypeChecker(expectedValues){if(!Array.isArray(expectedValues)){process.env.NODE_ENV!=="production"?warning2(false,"Invalid argument supplied to oneOf, expected an instance of array."):void 0;return emptyFunction2.thatReturnsNull}function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];for(var i=0;i<expectedValues.length;i++){if(is(propValue,expectedValues[i])){return null}}var valuesString=JSON.stringify(expectedValues);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of value `"+propValue+"` "+("supplied to `"+componentName+"`, expected one of "+valuesString+"."))}return createChainableTypeChecker(validate)}function createObjectOfTypeChecker(typeChecker){function validate(props,propName,componentName,location,propFullName){if(typeof typeChecker!=="function"){return new PropTypeError("Property `"+propFullName+"` of component `"+componentName+"` has invalid PropType notation inside objectOf.")}var propValue=props[propName];var propType=getPropType(propValue);if(propType!=="object"){return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+propType+"` supplied to `"+componentName+"`, expected an object."))}for(var key in propValue){if(propValue.hasOwnProperty(key)){var error=typeChecker(propValue,key,componentName,location,propFullName+"."+key,ReactPropTypesSecret2);if(error instanceof Error){return error}}}return null}return createChainableTypeChecker(validate)}function createUnionTypeChecker(arrayOfTypeCheckers){if(!Array.isArray(arrayOfTypeCheckers)){process.env.NODE_ENV!=="production"?warning2(false,"Invalid argument supplied to oneOfType, expected an instance of array."):void 0;return emptyFunction2.thatReturnsNull}for(var i=0;i<arrayOfTypeCheckers.length;i++){var checker=arrayOfTypeCheckers[i];if(typeof checker!=="function"){warning2(false,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",getPostfixForTypeWarning(checker),i);return emptyFunction2.thatReturnsNull}}function validate(props,propName,componentName,location,propFullName){for(var i2=0;i2<arrayOfTypeCheckers.length;i2++){var checker2=arrayOfTypeCheckers[i2];if(checker2(props,propName,componentName,location,propFullName,ReactPropTypesSecret2)==null){return null}}return new PropTypeError("Invalid "+location+" `"+propFullName+"` supplied to "+("`"+componentName+"`."))}return createChainableTypeChecker(validate)}function createNodeChecker(){function validate(props,propName,componentName,location,propFullName){if(!isNode2(props[propName])){return new PropTypeError("Invalid "+location+" `"+propFullName+"` supplied to "+("`"+componentName+"`, expected a ReactNode."))}return null}return createChainableTypeChecker(validate)}function createShapeTypeChecker(shapeTypes){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];var propType=getPropType(propValue);if(propType!=="object"){return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type `"+propType+"` "+("supplied to `"+componentName+"`, expected `object`."))}for(var key in shapeTypes){var checker=shapeTypes[key];if(!checker){continue}var error=checker(propValue,key,componentName,location,propFullName+"."+key,ReactPropTypesSecret2);if(error){return error}}return null}return createChainableTypeChecker(validate)}function createStrictShapeTypeChecker(shapeTypes){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];var propType=getPropType(propValue);if(propType!=="object"){return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type `"+propType+"` "+("supplied to `"+componentName+"`, expected `object`."))}var allKeys=assign2({},props[propName],shapeTypes);for(var key in allKeys){var checker=shapeTypes[key];if(!checker){return new PropTypeError("Invalid "+location+" `"+propFullName+"` key `"+key+"` supplied to `"+componentName+"`.\nBad object: "+JSON.stringify(props[propName],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(shapeTypes),null," "))}var error=checker(propValue,key,componentName,location,propFullName+"."+key,ReactPropTypesSecret2);if(error){return error}}return null}return createChainableTypeChecker(validate)}function isNode2(propValue){switch(typeof propValue){case"number":case"string":case"undefined":return true;case"boolean":return!propValue;case"object":if(Array.isArray(propValue)){return propValue.every(isNode2)}if(propValue===null||isValidElement(propValue)){return true}var iteratorFn=getIteratorFn(propValue);if(iteratorFn){var iterator=iteratorFn.call(propValue);var step;if(iteratorFn!==propValue.entries){while(!(step=iterator.next()).done){if(!isNode2(step.value)){return false}}}else{while(!(step=iterator.next()).done){var entry=step.value;if(entry){if(!isNode2(entry[1])){return false}}}}}else{return false}return true;default:return false}}function isSymbol(propType,propValue){if(propType==="symbol"){return true}if(propValue["@@toStringTag"]==="Symbol"){return true}if(typeof Symbol==="function"&&propValue instanceof Symbol){return true}return false}function getPropType(propValue){var propType=typeof propValue;if(Array.isArray(propValue)){return"array"}if(propValue instanceof RegExp){return"object"}if(isSymbol(propType,propValue)){return"symbol"}return propType}function getPreciseType(propValue){if(typeof propValue==="undefined"||propValue===null){return""+propValue}var propType=getPropType(propValue);if(propType==="object"){if(propValue instanceof Date){return"date"}else if(propValue instanceof RegExp){return"regexp"}}return propType}function getPostfixForTypeWarning(value){var type=getPreciseType(value);switch(type){case"array":case"object":return"an "+type;case"boolean":case"date":case"regexp":return"a "+type;default:return type}}function getClassName(propValue){if(!propValue.constructor||!propValue.constructor.name){return ANONYMOUS}return propValue.constructor.name}ReactPropTypes.checkPropTypes=checkPropTypes;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}}).call(exports,__webpack_require__(5))},function(module2,exports){function makeEmptyFunction(arg){return function(){return arg}}var emptyFunction2=function emptyFunction22(){};emptyFunction2.thatReturns=makeEmptyFunction;emptyFunction2.thatReturnsFalse=makeEmptyFunction(false);emptyFunction2.thatReturnsTrue=makeEmptyFunction(true);emptyFunction2.thatReturnsNull=makeEmptyFunction(null);emptyFunction2.thatReturnsThis=function(){return this};emptyFunction2.thatReturnsArgument=function(arg){return arg};module2.exports=emptyFunction2},function(module2,exports,__webpack_require__){(function(process){var validateFormat=function validateFormat2(format){};if(process.env.NODE_ENV!=="production"){validateFormat=function validateFormat2(format){if(format===void 0){throw new Error("invariant requires an error message argument")}}}function invariant(condition,format,a2,b2,c2,d2,e2,f2){validateFormat(format);if(!condition){var error;if(format===void 0){error=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.")}else{var args=[a2,b2,c2,d2,e2,f2];var argIndex=0;error=new Error(format.replace(/%s/g,(function(){return args[argIndex++]})));error.name="Invariant Violation"}error.framesToPop=1;throw error}}module2.exports=invariant}).call(exports,__webpack_require__(5))},function(module2,exports,__webpack_require__){(function(process){var emptyFunction2=__webpack_require__(7);var warning2=emptyFunction2;if(process.env.NODE_ENV!=="production"){var printWarning=function printWarning2(format){for(var _len=arguments.length,args=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++){args[_key-1]=arguments[_key]}var argIndex=0;var message="Warning: "+format.replace(/%s/g,(function(){return args[argIndex++]}));if(typeof console!=="undefined"){console.error(message)}try{throw new Error(message)}catch(x2){}};warning2=function warning22(condition,format){if(format===void 0){throw new Error("`warning(condition, format, ...args)` requires a warning message argument")}if(format.indexOf("Failed Composite propType: ")===0){return}if(!condition){for(var _len2=arguments.length,args=Array(_len2>2?_len2-2:0),_key2=2;_key2<_len2;_key2++){args[_key2-2]=arguments[_key2]}printWarning.apply(void 0,[format].concat(args))}}}module2.exports=warning2}).call(exports,__webpack_require__(5))},function(module2,exports){var getOwnPropertySymbols=Object.getOwnPropertySymbols;var hasOwnProperty2=Object.prototype.hasOwnProperty;var propIsEnumerable=Object.prototype.propertyIsEnumerable;function toObject(val){if(val===null||val===void 0){throw new TypeError("Object.assign cannot be called with null or undefined")}return Object(val)}function shouldUseNative(){try{if(!Object.assign){return false}var test1=new String("abc");test1[5]="de";if(Object.getOwnPropertyNames(test1)[0]==="5"){return false}var test2={};for(var i=0;i<10;i++){test2["_"+String.fromCharCode(i)]=i}var order2=Object.getOwnPropertyNames(test2).map((function(n2){return test2[n2]}));if(order2.join("")!=="0123456789"){return false}var test3={};"abcdefghijklmnopqrst".split("").forEach((function(letter){test3[letter]=letter}));if(Object.keys(Object.assign({},test3)).join("")!=="abcdefghijklmnopqrst"){return false}return true}catch(err){return false}}module2.exports=shouldUseNative()?Object.assign:function(target,source){var from2;var to=toObject(target);var symbols;for(var s2=1;s2<arguments.length;s2++){from2=Object(arguments[s2]);for(var key in from2){if(hasOwnProperty2.call(from2,key)){to[key]=from2[key]}}if(getOwnPropertySymbols){symbols=getOwnPropertySymbols(from2);for(var i=0;i<symbols.length;i++){if(propIsEnumerable.call(from2,symbols[i])){to[symbols[i]]=from2[symbols[i]]}}}}return to}},function(module2,exports){var ReactPropTypesSecret2="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";module2.exports=ReactPropTypesSecret2},function(module2,exports,__webpack_require__){(function(process){if(process.env.NODE_ENV!=="production"){var invariant=__webpack_require__(8);var warning2=__webpack_require__(9);var ReactPropTypesSecret2=__webpack_require__(11);var loggedTypeFailures={}}function checkPropTypes(typeSpecs,values,location,componentName,getStack){if(process.env.NODE_ENV!=="production"){for(var typeSpecName in typeSpecs){if(typeSpecs.hasOwnProperty(typeSpecName)){var error;try{invariant(typeof typeSpecs[typeSpecName]==="function","%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",componentName||"React class",location,typeSpecName,typeof typeSpecs[typeSpecName]);error=typeSpecs[typeSpecName](values,typeSpecName,componentName,location,null,ReactPropTypesSecret2)}catch(ex){error=ex}warning2(!error||error instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",componentName||"React class",location,typeSpecName,typeof error);if(error instanceof Error&&!(error.message in loggedTypeFailures)){loggedTypeFailures[error.message]=true;var stack=getStack?getStack():"";warning2(false,"Failed %s type: %s%s",location,error.message,stack!=null?stack:"")}}}}}module2.exports=checkPropTypes}).call(exports,__webpack_require__(5))},function(module2,exports,__webpack_require__){var emptyFunction2=__webpack_require__(7);var invariant=__webpack_require__(8);var ReactPropTypesSecret2=__webpack_require__(11);module2.exports=function(){function shim(props,propName,componentName,location,propFullName,secret){if(secret===ReactPropTypesSecret2){return}invariant(false,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}shim.isRequired=shim;function getShim(){return shim}var ReactPropTypes={array:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim};ReactPropTypes.checkPropTypes=emptyFunction2;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}},function(module2,exports){module2.exports=React__default},function(module2,exports){var simpleIsEqual=function simpleIsEqual2(a2,b2){return a2===b2};function index2(resultFn){var isEqual3=arguments.length>1&&arguments[1]!==void 0?arguments[1]:simpleIsEqual;var lastThis=void 0;var lastArgs=[];var lastResult=void 0;var calledOnce=false;var isNewArgEqualToLast=function isNewArgEqualToLast2(newArg,index22){return isEqual3(newArg,lastArgs[index22])};var result=function result2(){for(var _len=arguments.length,newArgs=Array(_len),_key=0;_key<_len;_key++){newArgs[_key]=arguments[_key]}if(calledOnce&&lastThis===this&&newArgs.length===lastArgs.length&&newArgs.every(isNewArgEqualToLast)){return lastResult}calledOnce=true;lastThis=this;lastArgs=newArgs;lastResult=resultFn.apply(this,newArgs);return lastResult};return result}module2.exports=index2}])})(main);var mainExports=main.exports;const Highlighter=getDefaultExportFromCjs(mainExports);const Highlight=props=>{const{children:children,className:className="pb_highlight_kit",data:data={},highlightedText:highlightedText=["highlight"],htmlOptions:htmlOptions={},id:id="",text:text=""}=props;const htmlProps=buildHtmlProps(htmlOptions);const highlightContent=text||children;return jsx$1(Highlighter,Object.assign({autoEscape:true,data:data,highlightClassName:classnames(globalProps(props),className),highlightTag:"mark",id:id,searchWords:highlightedText,textToHighlight:highlightContent},htmlProps),void 0)};const Body$1=props=>{if(props.variant);const{aria:aria={},children:children,className:className,color:color="",data:data={},highlightedText:highlightedText=[],highlighting:highlighting=false,htmlOptions:htmlOptions={},id:id="",status:status=null,tag:tag="div",text:text="",variant:variant=null}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_body_kit",color,variant,status),globalProps(props),className);const Tag=`${tag}`;return jsxs(Tag,Object.assign({},ariaProps,dataProps,htmlProps,{className:classes,id:id},{children:[highlighting&&jsx$1(Highlight,Object.assign({highlightedText:highlightedText,text:text},{children:children}),void 0),!highlighting&&(text||children)]}),void 0)};const Caption=props=>{if(props.variant);const{aria:aria={},children:children,className:className,color:color,data:data={},htmlOptions:htmlOptions={},id:id,size:size="md",tag:tag="div",text:text,variant:variant=null}=props;const tagOptions=["h1","h2","h3","h4","h5","h6","p","span","div","caption"];const Tag=tagOptions.includes(tag)?tag:"div";const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const css4=classnames(buildCss("pb_caption_kit",size,variant,color),globalProps(props),className);return jsx$1(Tag,Object.assign({},ariaProps,dataProps,htmlProps,{className:css4,id:id},{children:text||children}),void 0)};const getPlacementProps=(placement,size)=>{let placementMapping={};switch(size){case"xxs":case"xs":placementMapping={"top-right":{top:"xs",right:"xs"},"bottom-left":{bottom:"xs",left:"xs"},"top-left":{top:"xs",left:"xs"},"bottom-right":{bottom:"xs",right:"xs"},"bottom-center":{bottom:"xs",className:"overlay_bottom_center"},"top-center":{top:"xs",className:"overlay_top_center"},"left-center":{left:"sm",className:"overlay_left_center"},"right-center":{right:"sm",className:"overlay_right_center"}};break;case"sm":placementMapping={"top-right":{top:"0",right:"xs"},"bottom-left":{bottom:"0",left:"xs"},"top-left":{top:"0",left:"xs"},"bottom-right":{bottom:"0",right:"xs"},"bottom-center":{bottom:"xs",className:"overlay_bottom_center"},"top-center":{top:"xs",className:"overlay_top_center"},"left-center":{left:"sm",className:"overlay_left_center"},"right-center":{right:"sm",className:"overlay_right_center"}};break;case"md":case"lg":placementMapping={"top-right":{top:"0",right:"0"},"bottom-left":{bottom:"0",left:"0"},"top-left":{top:"0",left:"0"},"bottom-right":{bottom:"0",right:"0"},"bottom-center":{bottom:"xs",className:"overlay_bottom_center"},"top-center":{top:"xs",className:"overlay_top_center"},"left-center":{left:"sm",className:"overlay_left_center"},"right-center":{right:"sm",className:"overlay_right_center"}};break;case"xl":placementMapping={"top-right":{top:{value:"xxs",inset:true},right:{value:"xxs",inset:true}},"bottom-left":{bottom:{value:"xxs",inset:true},left:{value:"xxs",inset:true}},"top-left":{top:{value:"xxs",inset:true},left:{value:"xxs",inset:true}},"bottom-right":{bottom:{value:"xxs",inset:true},right:{value:"xxs",inset:true}},"bottom-center":{bottom:"xs",className:"overlay_bottom_center"},"top-center":{top:"xs",className:"overlay_top_center"},"left-center":{left:"sm",className:"overlay_left_center"},"right-center":{right:"sm",className:"overlay_right_center"}};break}return placementMapping[placement]||{}};const Image=props=>{const{alt:alt="",aria:aria={},className:className,data:data={},htmlOptions:htmlOptions={},id:id,onError:onError=null,rounded:rounded=false,size:size="",transition:transition="fade",url:url=""}=props;const ariaProps=buildAriaProps(aria);const classes=classnames(buildCss("pb_image_kit",size?`size_${size}`:null),"lazyload",transition,{rounded:rounded},globalProps(props),className);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);return jsx$1("img",{...ariaProps,...dataProps,...htmlProps,alt:alt,className:classes,"data-src":url,id:id,onError:onError,src:url})};const OnlineStatus=props=>{const{aria:aria={},className:className,data:data={},htmlOptions:htmlOptions={},id:id,status:status="offline",size:size="sm",noBorder:noBorder=false}=props;aria.label=status;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const getBorder=noBorder?"no_border":"";const classes=classnames(buildCss("pb_online_status_kit",status,getBorder,"size",size),globalProps(props),className);return jsx$1("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id})};const Badge=props=>{const{aria:aria={},className:className,closeProps:closeProps={},data:data={},htmlOptions:htmlOptions={},id:id,removeIcon:removeIcon=false,removeOnClick:removeOnClick,rounded:rounded=false,text:text,variant:variant="neutral"}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const css4=classnames(buildCss("pb_badge_kit",variant==="success"?"success_sm":variant==="notificationError"?"notification_error":variant,rounded?"rounded":""),globalProps(props),className);const timesIcon=getAllIcons()["times"];return jsx$1("div",{...ariaProps,...dataProps,...htmlProps,className:css4,id:id,children:jsxs("span",{children:[text,removeIcon&&jsx$1("span",{onClick:removeOnClick,style:{cursor:"pointer"},...closeProps,children:jsx$1(Icon,{className:"svg-inline--fa",customIcon:timesIcon.icon,fixedWidth:true})})]})})};const IconCircle=props=>{const{aria:aria={},className:className,dark:dark=false,data:data={},htmlOptions:htmlOptions={},icon:icon,id:id,size:size="md",variant:variant="default"}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_icon_circle_kit",`size_${size}`,variant),globalProps(props),className);return jsx$1("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id,children:jsx$1(Icon,{dark:dark,icon:icon})})};function __rest(s2,e2){var t2={};for(var p2 in s2)if(Object.prototype.hasOwnProperty.call(s2,p2)&&e2.indexOf(p2)<0)t2[p2]=s2[p2];if(s2!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,p2=Object.getOwnPropertySymbols(s2);i<p2.length;i++){if(e2.indexOf(p2[i])<0&&Object.prototype.propertyIsEnumerable.call(s2,p2[i]))t2[p2[i]]=s2[p2[i]]}return t2}function __awaiter(thisArg,_arguments,P,generator){function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e2){reject(e2)}}function rejected(value){try{step(generator["throw"](value))}catch(e2){reject(e2)}}function step(result){result.done?resolve(result.value):adopt(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,[])).next())}))}function __generator(thisArg,body){var _={label:0,sent:function(){if(t2[0]&1)throw t2[1];return t2[1]},trys:[],ops:[]},f2,y2,t2,g2;return g2={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(g2[Symbol.iterator]=function(){return this}),g2;function verb(n2){return function(v2){return step([n2,v2])}}function step(op){if(f2)throw new TypeError("Generator is already executing.");while(g2&&(g2=0,op[0]&&(_=0)),_)try{if(f2=1,y2&&(t2=op[0]&2?y2["return"]:op[0]?y2["throw"]||((t2=y2["return"])&&t2.call(y2),0):y2.next)&&!(t2=t2.call(y2,op[1])).done)return t2;if(y2=0,t2)op=[op[0]&2,t2.value];switch(op[0]){case 0:case 1:t2=op;break;case 4:_.label++;return{value:op[1],done:false};case 5:_.label++;y2=op[1];op=[0];continue;case 7:op=_.ops.pop();_.trys.pop();continue;default:if(!(t2=_.trys,t2=t2.length>0&&t2[t2.length-1])&&(op[0]===6||op[0]===2)){_=0;continue}if(op[0]===3&&(!t2||op[1]>t2[0]&&op[1]<t2[3])){_.label=op[1];break}if(op[0]===6&&_.label<t2[1]){_.label=t2[1];t2=op;break}if(t2&&_.label<t2[2]){_.label=t2[2];_.ops.push(op);break}if(t2[2])_.ops.pop();_.trys.pop();continue}op=body.call(thisArg,_)}catch(e2){op=[6,e2];y2=0}finally{f2=t2=0}if(op[0]&5)throw op[1];return{value:op[0]?op[1]:void 0,done:true}}}function __read(o2,n2){var m2=typeof Symbol==="function"&&o2[Symbol.iterator];if(!m2)return o2;var i=m2.call(o2),r2,ar=[],e2;try{while((n2===void 0||n2-- >0)&&!(r2=i.next()).done)ar.push(r2.value)}catch(error){e2={error:error}}finally{try{if(r2&&!r2.done&&(m2=i["return"]))m2.call(i)}finally{if(e2)throw e2.error}}return ar}function __spread(){for(var ar=[],i=0;i<arguments.length;i++)ar=ar.concat(__read(arguments[i]));return ar}const DraggableContainer=props=>{const{aria:aria={},children:children,className:className,container:container,data:data={},htmlOptions:htmlOptions={},id:id}=props;const{handleDragOver:handleDragOver,handleDrop:handleDrop,activeContainer:activeContainer}=DraggableContext();const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_draggable_container"),`${activeContainer===container?"active":""}`,globalProps(props),className);return createElement("div",Object.assign({},ariaProps,dataProps,htmlProps,{className:classes,id:id,key:container,onDragOver:e2=>handleDragOver(e2,container),onDrop:()=>handleDrop(container)}),children)};const DraggableItem=props=>{const{aria:aria={},children:children,className:className,container:container,data:data={},htmlOptions:htmlOptions={},id:id,dragId:dragId}=props;const{isDragging:isDragging,handleDragStart:handleDragStart,handleDragEnter:handleDragEnter,handleDragEnd:handleDragEnd}=DraggableContext();const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_draggable_item"),`${isDragging===dragId?"is_dragging":""}`,globalProps(props),className);return createElement("div",Object.assign({},ariaProps,dataProps,htmlProps,{className:classes,draggable:true,id:id,key:dragId,onDragEnd:()=>handleDragEnd(),onDragEnter:()=>handleDragEnter(dragId,container),onDragStart:()=>handleDragStart(dragId,container)}),children)};const Draggable=props=>{const{aria:aria={},className:className,children:children,data:data={},htmlOptions:htmlOptions={},id:id}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_draggable"),globalProps(props),className);return jsx$1("div",Object.assign({},ariaProps,dataProps,htmlProps,{className:classes,id:id},{children:children}),void 0)};Draggable.Container=DraggableContainer;Draggable.Item=DraggableItem;const Header=props=>{const{children:children,className:className,headerColor:headerColor="category_1",headerColorStriped:headerColorStriped=false}=props;const headerCSS=buildCss("pb_card_header_kit",`${headerColor}`,headerColorStriped?"striped":"");const headerSpacing=globalProps(props);return jsx$1("div",Object.assign({className:classnames(headerCSS,headerSpacing,className)},{children:children}),void 0)};const Body=props=>{const{children:children,className:className}=props;const bodyCSS=buildCss("pb_card_body_kit");const bodySpacing=globalProps(props);return jsx$1("div",Object.assign({className:classnames(bodyCSS,bodySpacing,className)},{children:children}),void 0)};const Card=props=>{const{aria:aria={},background:background="none",borderNone:borderNone=false,borderRadius:borderRadius2="md",children:children,className:className,data:data={},dragId:dragId,dragHandle:dragHandle=true,draggableItem:draggableItem=false,highlight:highlight={},htmlOptions:htmlOptions={},selected:selected=false,tag:tag="div"}=props;const borderCSS=borderNone==true?"border_none":"";const selectedCSS=selected==true?"selected":"deselected";const backgroundCSS=background=="none"?"":`background_${background}`;const cardCss=buildCss("pb_card_kit",selectedCSS,borderCSS,`border_radius_${borderRadius2}`,backgroundCSS,{[`highlight_${highlight.position}`]:highlight.position,[`highlight_${highlight.color}`]:highlight.color});const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const cardChildren=React__default.Children.toArray(children);const dynamicInlineProps=globalInlineProps(props);const _a=htmlProps,{style:htmlStyle={}}=_a,restHtmlProps=__rest(_a,["style"]);const mergedStyles=Object.assign(Object.assign({},htmlStyle),dynamicInlineProps);const subComponentTags=tagName=>cardChildren.filter((c2=>get(c2,"type.displayName")===tagName)).map(((child,i)=>{if(React__default.isValidElement(child)){return React__default.cloneElement(child,{key:`${tagName.toLowerCase()}-${i}`})}}));const nonHeaderChildren=cardChildren.filter((child=>get(child,"type.displayName")!=="Header"));const tagOptions=["div","section","footer","header","article","aside","main","nav"];const Tag=tagOptions.includes(tag)?tag:"div";return jsx$1(Fragment,{children:draggableItem?jsx$1(Draggable.Item,Object.assign({dragId:dragId},{children:jsxs(Tag,Object.assign({},ariaProps,dataProps,{className:classnames(cardCss,globalProps(props),className)},restHtmlProps,{style:mergedStyles},{children:[subComponentTags("Header"),dragHandle?jsxs(Flex,{children:[jsx$1("span",Object.assign({className:"card_draggable_handle"},{children:jsx$1(Icon,{icon:"grip-dots-vertical",paddingRight:"xs",verticalAlign:"middle"},void 0)}),void 0),jsx$1("div",Object.assign({style:{width:"100%"}},{children:nonHeaderChildren}),void 0)]},void 0):nonHeaderChildren]}),void 0)}),dragId):jsxs(Tag,Object.assign({},ariaProps,dataProps,{className:classnames(cardCss,globalProps(props),className)},restHtmlProps,{style:mergedStyles},{children:[subComponentTags("Header"),nonHeaderChildren]}),void 0)},void 0)};Card.Header=Header;Card.Body=Body;const firstTwoInitials=name2=>name2.split(/\s/).map((name22=>name22[0])).join("").substring(0,2);const Avatar=props=>{const{aria:aria={},className:className,data:data={},htmlOptions:htmlOptions={},name:name2=void 0,componentOverlay:componentOverlay,id:id="",imageAlt:imageAlt="",imageUrl:imageUrl,size:size="md",status:status=null,dark:dark=false}=props;const dataProps=buildDataProps(data);const ariaProps=buildAriaProps(aria);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_avatar_kit",`size_${size}`),globalProps(props),className);const initials=name2&&firstTwoInitials(name2);dataProps["data-initials"]=initials;const[error,setError]=useState(false);const handleError=()=>setError(true);const canShowImage=imageUrl&&!error;const onlineStatusSize=["xxs","xs"].includes(size)?"sm":["sm","md"].includes(size)?"md":["lg","xl"].includes(size)?"lg":"sm";const onlineStatusPositionProps=["xxs","xs","sm"].includes(size)?{top:{inset:true,value:"0"},right:{inset:false,value:"xxs"}}:{bottom:{inset:true,value:"0"},right:{inset:true,value:size==="xl"?"sm":size==="lg"?"xs":"xxs"}};return jsx$1("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id,children:componentOverlay?jsxs(Flex,{display:"display_inline_block",position:"relative",children:[jsx$1("div",{className:"avatar_wrapper","data-initials":initials,children:canShowImage&&jsx$1(Image,{alt:imageAlt?imageAlt:name2,onError:handleError,url:imageUrl})}),componentOverlay.component==="badge"&&jsx$1(Card,{borderNone:true,borderRadius:"rounded",padding:"none",position:"absolute",...getPlacementProps(componentOverlay.placement,size),children:jsx$1(Badge,{rounded:true,text:componentOverlay.text,variant:componentOverlay.variant})}),componentOverlay.component==="iconCircle"&&jsx$1(Card,{borderNone:true,borderRadius:"rounded",htmlOptions:{style:{padding:"2px"}},position:"absolute",...getPlacementProps(componentOverlay.placement,size),children:jsx$1(IconCircle,{icon:componentOverlay.icon,size:"xxs",variant:componentOverlay.variant})})]}):jsxs(Fragment,{children:[jsx$1("div",{className:"avatar_wrapper","data-initials":initials,children:canShowImage&&jsx$1(Image,{alt:imageAlt?imageAlt:name2,onError:handleError,url:imageUrl})}),status&&jsx$1(OnlineStatus,{dark:dark,position:"absolute",size:onlineStatusSize,status:status,...onlineStatusPositionProps})]})})};const breakpoints={xs:"(max-width: 575px)",sm:"(min-width: 576px) and (max-width: 767px)",md:"(min-width: 768px) and (max-width: 991px)",lg:"(min-width: 992px) and (max-width: 1199px)",xl:"(min-width: 1200px)"};const getResponsiveValue=prop=>{if(typeof prop==="string"){return prop}for(const[bp,value]of Object.entries(prop||{})){if(bp!=="default"&&window.matchMedia(breakpoints[bp]).matches){return value}}return(prop==null?void 0:prop.default)||void 0};const Background=props=>{const{alt:alt=void 0,aria:aria={},backgroundColor:backgroundColor="light",backgroundPosition:backgroundPosition="",backgroundRepeat:backgroundRepeat="initial",backgroundSize:backgroundSize="cover",children:children,className:className,customColor:customColor,data:data={},htmlOptions:htmlOptions={},id:id,imageUrl:imageUrl="",tag:tag="div",transition:transition=""}=props;const[responsiveProps,setResponsiveProps]=useState({backgroundSize:getResponsiveValue(backgroundSize),backgroundPosition:getResponsiveValue(backgroundPosition),backgroundRepeat:getResponsiveValue(backgroundRepeat),backgroundColor:getResponsiveValue(backgroundColor),imageUrl:getResponsiveValue(imageUrl)});useEffect((()=>{const updateResponsiveProps=()=>{setResponsiveProps({backgroundSize:getResponsiveValue(props.backgroundSize),backgroundPosition:getResponsiveValue(props.backgroundPosition),backgroundRepeat:getResponsiveValue(props.backgroundRepeat),backgroundColor:getResponsiveValue(props.backgroundColor),imageUrl:getResponsiveValue(props.imageUrl)})};window.addEventListener("resize",updateResponsiveProps);return()=>window.removeEventListener("resize",updateResponsiveProps)}),[props]);const{backgroundColor:resBackgroundColor,backgroundPosition:resBackgroundPosition,backgroundRepeat:resBackgroundRepeat,backgroundSize:resBackgroundSize,imageUrl:resImageUrl}=responsiveProps;const classes=classnames(buildCss("pb_background_kit"),"lazyload",globalProps(props),transition,{[`pb_background_color_${resBackgroundColor}`]:resBackgroundColor&&!customColor,[`pb_background_custom_color`]:!!customColor},className);const backgroundStyle={backgroundColor:customColor||void 0,...resImageUrl!==""?{backgroundImage:resImageUrl?`url(${resImageUrl})`:void 0,backgroundRepeat:resBackgroundRepeat||void 0,backgroundPosition:resBackgroundPosition||void 0,backgroundSize:resBackgroundSize||void 0}:{}};const Tag=`${tag}`;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);return jsx$1(Tag,{...ariaProps,...dataProps,...htmlProps,alt:alt,className:classes,id:id,style:backgroundStyle,children:children})};var highchartsReact_min={exports:{}};(function(module,exports){!function(t2,e2){module.exports=e2(React__default)}("undefined"!=typeof self?self:commonjsGlobal,(function(t2){return function(t3){function e2(n2){if(r2[n2])return r2[n2].exports;var o2=r2[n2]={i:n2,l:false,exports:{}};return t3[n2].call(o2.exports,o2,o2.exports,e2),o2.l=true,o2.exports}var r2={};return e2.m=t3,e2.c=r2,e2.d=function(t4,r3,n2){e2.o(t4,r3)||Object.defineProperty(t4,r3,{configurable:false,enumerable:true,get:n2})},e2.n=function(t4){var r3=t4&&t4.__esModule?function(){return t4.default}:function(){return t4};return e2.d(r3,"a",r3),r3},e2.o=function(t4,e3){return Object.prototype.hasOwnProperty.call(t4,e3)},e2.p="",e2(e2.s=0)}([function(t3,e2,r2){function n2(){return n2=Object.assign?Object.assign.bind():function(t4){for(var e3=1;e3<arguments.length;e3++){var r3=arguments[e3];for(var n3 in r3)Object.prototype.hasOwnProperty.call(r3,n3)&&(t4[n3]=r3[n3])}return t4},n2.apply(this,arguments)}function o2(t4){return a2(t4)||i(t4)||u2(t4)||c2()}function c2(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u2(t4,e3){if(t4){if("string"==typeof t4)return f2(t4,e3);var r3=Object.prototype.toString.call(t4).slice(8,-1);return"Object"===r3&&t4.constructor&&(r3=t4.constructor.name),"Map"===r3||"Set"===r3?Array.from(t4):"Arguments"===r3||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r3)?f2(t4,e3):void 0}}function i(t4){if("undefined"!=typeof Symbol&&null!=t4[Symbol.iterator]||null!=t4["@@iterator"])return Array.from(t4)}function a2(t4){if(Array.isArray(t4))return f2(t4)}function f2(t4,e3){(null==e3||e3>t4.length)&&(e3=t4.length);for(var r3=0,n3=new Array(e3);r3<e3;r3++)n3[r3]=t4[r3];return n3}function s2(t4){"@babel/helpers - typeof";return(s2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t5){return typeof t5}:function(t5){return t5&&"function"==typeof Symbol&&t5.constructor===Symbol&&t5!==Symbol.prototype?"symbol":typeof t5})(t4)}Object.defineProperty(e2,"__esModule",{value:true}),r2.d(e2,"HighchartsReact",(function(){return d2}));var p2=r2(1),l2=r2.n(p2),y2="undefined"!=typeof window?p2.useLayoutEffect:p2.useEffect,d2=Object(p2.memo)(Object(p2.forwardRef)((function(t4,e3){var r3=Object(p2.useRef)(),c3=Object(p2.useRef)(),u3=Object(p2.useRef)(t4.constructorType),i2=Object(p2.useRef)(t4.highcharts);return y2((function(){function e4(){var e5=t4.highcharts||"object"===("undefined"==typeof window?"undefined":s2(window))&&window.Highcharts,n4=t4.constructorType||"chart";e5?e5[n4]?t4.options?c3.current=e5[n4](r3.current,t4.options,t4.callback):console.warn('The "options" property was not passed.'):console.warn('The "constructorType" property is incorrect or some required module is not imported.'):console.warn('The "highcharts" property was not passed.')}if(c3.current){if(false!==t4.allowChartUpdate)if(t4.constructorType!==u3.current||t4.highcharts!==i2.current)u3.current=t4.constructorType,i2.current=t4.highcharts,e4();else if(!t4.immutable&&c3.current){var n3;(n3=c3.current).update.apply(n3,[t4.options].concat(o2(t4.updateArgs||[true,true])))}else e4()}else e4()}),[t4.options,t4.allowChartUpdate,t4.updateArgs,t4.containerProps,t4.highcharts,t4.constructorType]),y2((function(){return function(){c3.current&&(c3.current.destroy(),c3.current=null)}}),[]),Object(p2.useImperativeHandle)(e3,(function(){return{get chart(){return c3.current},container:r3}}),[]),l2.a.createElement("div",n2({},t4.containerProps,{ref:r3}))})));e2.default=d2},function(e2,r2){e2.exports=t2}])}))})(highchartsReact_min);var highchartsReact_minExports=highchartsReact_min.exports;const HighchartsReact=getDefaultExportFromCjs(highchartsReact_minExports);var highcharts={exports:{}};(function(module){!function(t2,e2){module.exports?(e2.default=e2,module.exports=t2&&t2.document?e2(t2):e2):(t2.Highcharts&&t2.Highcharts.error(16,true),t2.Highcharts=e2(t2))}("undefined"!=typeof window?window:commonjsGlobal,(function(t2){var e2={};function i(e3,i2,s2,r2){!e3.hasOwnProperty(i2)&&(e3[i2]=r2.apply(null,s2),t2&&"function"==typeof CustomEvent&&t2.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:i2,module:e3[i2]}})))}return i(e2,"Core/Globals.js",[],(function(){var e3,i2;return(i2=e3||(e3={})).SVG_NS="http://www.w3.org/2000/svg",i2.product="Highcharts",i2.version="11.4.8",i2.win=void 0!==t2?t2:{},i2.doc=i2.win.document,i2.svg=i2.doc&&i2.doc.createElementNS&&!!i2.doc.createElementNS(i2.SVG_NS,"svg").createSVGRect,i2.userAgent=i2.win.navigator&&i2.win.navigator.userAgent||"",i2.isChrome=i2.win.chrome,i2.isFirefox=-1!==i2.userAgent.indexOf("Firefox"),i2.isMS=/(edge|msie|trident)/i.test(i2.userAgent)&&!i2.win.opera,i2.isSafari=!i2.isChrome&&-1!==i2.userAgent.indexOf("Safari"),i2.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(i2.userAgent),i2.isWebKit=-1!==i2.userAgent.indexOf("AppleWebKit"),i2.deg2rad=2*Math.PI/360,i2.hasBidiBug=i2.isFirefox&&4>parseInt(i2.userAgent.split("Firefox/")[1],10),i2.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],i2.noop=function(){},i2.supportsPassiveEvents=function(){let t3=false;if(!i2.isMS){let e4=Object.defineProperty({},"passive",{get:function(){t3=true}});i2.win.addEventListener&&i2.win.removeEventListener&&(i2.win.addEventListener("testPassive",i2.noop,e4),i2.win.removeEventListener("testPassive",i2.noop,e4))}return t3}(),i2.charts=[],i2.composed=[],i2.dateFormats={},i2.seriesTypes={},i2.symbolSizes={},i2.chartCount=0,e3})),i(e2,"Core/Utilities.js",[e2["Core/Globals.js"]],(function(t3){let e3;let{charts:i2,doc:s2,win:r2}=t3;function o2(e4,i3,s3,n3){let a3=i3?"Highcharts error":"Highcharts warning";32===e4&&(e4=`${a3}: Deprecated member`);let h3=p2(e4),l3=h3?`${a3} #${e4}: www.highcharts.com/errors/${e4}/`:e4.toString();if(void 0!==n3){let t4="";h3&&(l3+="?"),C2(n3,(function(e5,i4){t4+=`\n - ${i4}: ${e5}`,h3&&(l3+=encodeURI(i4)+"="+encodeURI(e5))})),l3+=t4}M(t3,"displayError",{chart:s3,code:e4,message:l3,params:n3},(function(){if(i3)throw Error(l3);r2.console&&-1===o2.messages.indexOf(l3)&&console.warn(l3)})),o2.messages.push(l3)}function n2(t4,e4){return parseInt(t4,e4||10)}function a2(t4){return"string"==typeof t4}function h2(t4){let e4=Object.prototype.toString.call(t4);return"[object Array]"===e4||"[object Array Iterator]"===e4}function l2(t4,e4){return!!t4&&"object"==typeof t4&&(!e4||!h2(t4))}function d2(t4){return l2(t4)&&"number"==typeof t4.nodeType}function c2(t4){let e4=t4&&t4.constructor;return!!(l2(t4,true)&&!d2(t4)&&e4&&e4.name&&"Object"!==e4.name)}function p2(t4){return"number"==typeof t4&&!isNaN(t4)&&t4<1/0&&t4>-1/0}function u2(t4){return null!=t4}function g2(t4,e4,i3){let s3;let r3=a2(e4)&&!u2(i3),o3=(e5,i4)=>{u2(e5)?t4.setAttribute(i4,e5):r3?(s3=t4.getAttribute(i4))||"class"!==i4||(s3=t4.getAttribute(i4+"Name")):t4.removeAttribute(i4)};return a2(e4)?o3(i3,e4):C2(e4,o3),s3}function f2(t4){return h2(t4)?t4:[t4]}function m2(t4,e4){let i3;for(i3 in t4||(t4={}),e4)t4[i3]=e4[i3];return t4}function x2(){let t4=arguments,e4=t4.length;for(let i3=0;i3<e4;i3++){let e5=t4[i3];if(null!=e5)return e5}}function y2(t4,e4){m2(t4.style,e4)}function b2(t4){return Math.pow(10,Math.floor(Math.log(t4)/Math.LN10))}function v2(t4,e4){return t4>1e14?t4:parseFloat(t4.toPrecision(e4||14))}(o2||(o2={})).messages=[],Math.easeInOutSine=function(t4){return-.5*(Math.cos(Math.PI*t4)-1)};let S2=Array.prototype.find?function(t4,e4){return t4.find(e4)}:function(t4,e4){let i3;let s3=t4.length;for(i3=0;i3<s3;i3++)if(e4(t4[i3],i3))return t4[i3]};function C2(t4,e4,i3){for(let s3 in t4)Object.hasOwnProperty.call(t4,s3)&&e4.call(i3||t4[s3],t4[s3],s3,t4)}function k2(t4,e4,i3){function s3(e5,i4){let s4=t4.removeEventListener;s4&&s4.call(t4,e5,i4,false)}function r3(i4){let r4,o4;t4.nodeName&&(e4?(r4={})[e4]=true:r4=i4,C2(r4,(function(t5,e5){if(i4[e5])for(o4=i4[e5].length;o4--;)s3(e5,i4[e5][o4].fn)})))}let o3="function"==typeof t4&&t4.prototype||t4;if(Object.hasOwnProperty.call(o3,"hcEvents")){let t5=o3.hcEvents;if(e4){let o4=t5[e4]||[];i3?(t5[e4]=o4.filter((function(t6){return i3!==t6.fn})),s3(e4,i3)):(r3(t5),t5[e4]=[])}else r3(t5),delete o3.hcEvents}}function M(e4,i3,r3,o3){if(r3=r3||{},s2.createEvent&&(e4.dispatchEvent||e4.fireEvent&&e4!==t3)){let t4=s2.createEvent("Events");t4.initEvent(i3,true,true),r3=m2(t4,r3),e4.dispatchEvent?e4.dispatchEvent(r3):e4.fireEvent(i3,r3)}else if(e4.hcEvents){r3.target||m2(r3,{preventDefault:function(){r3.defaultPrevented=true},target:e4,type:i3});let t4=[],s3=e4,o4=false;for(;s3.hcEvents;)Object.hasOwnProperty.call(s3,"hcEvents")&&s3.hcEvents[i3]&&(t4.length&&(o4=true),t4.unshift.apply(t4,s3.hcEvents[i3])),s3=Object.getPrototypeOf(s3);o4&&t4.sort(((t5,e5)=>t5.order-e5.order)),t4.forEach((t5=>{false===t5.fn.call(e4,r3)&&r3.preventDefault()}))}o3&&!r3.defaultPrevented&&o3.call(e4,r3)}C2({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},(function(e4,i3){t3[i3]=function(t4){return o2(32,false,void 0,{[`Highcharts.${i3}`]:`use Array.${e4}`}),Array.prototype[e4].apply(t4,[].slice.call(arguments,1))}}));let w2=function(){let t4=Math.random().toString(36).substring(2,9)+"-",i3=0;return function(){return"highcharts-"+(e3?"":t4)+i3++}}();return r2.jQuery&&(r2.jQuery.fn.highcharts=function(){let e4=[].slice.call(arguments);if(this[0])return e4[0]?(new(t3[a2(e4[0])?e4.shift():"Chart"])(this[0],e4[0],e4[1]),this):i2[g2(this[0],"data-highcharts-chart")]}),{addEvent:function(e4,i3,s3,r3={}){let o3="function"==typeof e4&&e4.prototype||e4;Object.hasOwnProperty.call(o3,"hcEvents")||(o3.hcEvents={});let n3=o3.hcEvents;t3.Point&&e4 instanceof t3.Point&&e4.series&&e4.series.chart&&(e4.series.chart.runTrackerClick=true);let a3=e4.addEventListener;a3&&a3.call(e4,i3,s3,!!t3.supportsPassiveEvents&&{passive:void 0===r3.passive?-1!==i3.indexOf("touch"):r3.passive,capture:false}),n3[i3]||(n3[i3]=[]);let h3={fn:s3,order:"number"==typeof r3.order?r3.order:1/0};return n3[i3].push(h3),n3[i3].sort(((t4,e5)=>t4.order-e5.order)),function(){k2(e4,i3,s3)}},arrayMax:function(t4){let e4=t4.length,i3=t4[0];for(;e4--;)t4[e4]>i3&&(i3=t4[e4]);return i3},arrayMin:function(t4){let e4=t4.length,i3=t4[0];for(;e4--;)t4[e4]<i3&&(i3=t4[e4]);return i3},attr:g2,clamp:function(t4,e4,i3){return t4>e4?t4<i3?t4:i3:e4},clearTimeout:function(t4){u2(t4)&&clearTimeout(t4)},correctFloat:v2,createElement:function(t4,e4,i3,r3,o3){let n3=s2.createElement(t4);return e4&&m2(n3,e4),o3&&y2(n3,{padding:"0",border:"none",margin:"0"}),i3&&y2(n3,i3),r3&&r3.appendChild(n3),n3},crisp:(t4,e4=0,i3)=>{let s3=e4%2/2,r3=i3?-1:1;return(Math.round(t4*r3-s3)+s3)*r3},css:y2,defined:u2,destroyObjectProperties:function(t4,e4,i3){C2(t4,(function(s3,r3){s3!==e4&&(s3==null?void 0:s3.destroy)&&s3.destroy(),((s3==null?void 0:s3.destroy)||!i3)&&delete t4[r3]}))},diffObjects:function(t4,e4,i3,s3){let r3={};return function t5(e5,r4,o3,n3){let a3=i3?r4:e5;C2(e5,(function(i4,d3){if(!n3&&s3&&s3.indexOf(d3)>-1&&r4[d3]){i4=f2(i4),o3[d3]=[];for(let e6=0;e6<Math.max(i4.length,r4[d3].length);e6++)r4[d3][e6]&&(void 0===i4[e6]?o3[d3][e6]=r4[d3][e6]:(o3[d3][e6]={},t5(i4[e6],r4[d3][e6],o3[d3][e6],n3+1)))}else l2(i4,true)&&!i4.nodeType?(o3[d3]=h2(i4)?[]:{},t5(i4,r4[d3]||{},o3[d3],n3+1),0!==Object.keys(o3[d3]).length||"colorAxis"===d3&&0===n3||delete o3[d3]):(e5[d3]!==r4[d3]||d3 in e5&&!(d3 in r4))&&"__proto__"!==d3&&"constructor"!==d3&&(o3[d3]=a3[d3])}))}(t4,e4,r3,0),r3},discardElement:function(t4){t4&&t4.parentElement&&t4.parentElement.removeChild(t4)},erase:function(t4,e4){let i3=t4.length;for(;i3--;)if(t4[i3]===e4){t4.splice(i3,1);break}},error:o2,extend:m2,extendClass:function(t4,e4){let i3=function(){};return i3.prototype=new t4,m2(i3.prototype,e4),i3},find:S2,fireEvent:M,getClosestDistance:function(t4,e4){let i3,r3,o3;let n3=!e4;return t4.forEach((t5=>{if(t5.length>1)for(o3=t5.length-1;o3>0;o3--)(r3=t5[o3]-t5[o3-1])<0&&!n3?(e4==null?void 0:e4(),e4=void 0):r3&&(void 0===i3||r3<i3)&&(i3=r3)})),i3},getMagnitude:b2,getNestedProperty:function(t4,e4){let i3=t4.split(".");for(;i3.length&&u2(e4);){let t5=i3.shift();if(void 0===t5||"__proto__"===t5)return;if("this"===t5){let t6;return l2(e4)&&(t6=e4["@this"]),t6??e4}let s3=e4[t5];if(!u2(s3)||"function"==typeof s3||"number"==typeof s3.nodeType||s3===r2)return;e4=s3}return e4},getStyle:function t4(e4,i3,s3){let o3;if("width"===i3){let i4=Math.min(e4.offsetWidth,e4.scrollWidth),s4=e4.getBoundingClientRect&&e4.getBoundingClientRect().width;return s4<i4&&s4>=i4-1&&(i4=Math.floor(s4)),Math.max(0,i4-(t4(e4,"padding-left",true)||0)-(t4(e4,"padding-right",true)||0))}if("height"===i3)return Math.max(0,Math.min(e4.offsetHeight,e4.scrollHeight)-(t4(e4,"padding-top",true)||0)-(t4(e4,"padding-bottom",true)||0));let a3=r2.getComputedStyle(e4,void 0);return a3&&(o3=a3.getPropertyValue(i3),x2(s3,"opacity"!==i3)&&(o3=n2(o3))),o3},inArray:function(t4,e4,i3){return o2(32,false,void 0,{"Highcharts.inArray":"use Array.indexOf"}),e4.indexOf(t4,i3)},insertItem:function(t4,e4){let i3;let s3=t4.options.index,r3=e4.length;for(i3=t4.options.isInternal?r3:0;i3<r3+1;i3++)if(!e4[i3]||p2(s3)&&s3<x2(e4[i3].options.index,e4[i3]._i)||e4[i3].options.isInternal){e4.splice(i3,0,t4);break}return i3},isArray:h2,isClass:c2,isDOMElement:d2,isFunction:function(t4){return"function"==typeof t4},isNumber:p2,isObject:l2,isString:a2,keys:function(t4){return o2(32,false,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t4)},merge:function(){let t4,e4=arguments,i3={},s3=function(t5,e5){return"object"!=typeof t5&&(t5={}),C2(e5,(function(i4,r4){"__proto__"!==r4&&"constructor"!==r4&&(!l2(i4,true)||c2(i4)||d2(i4)?t5[r4]=e5[r4]:t5[r4]=s3(t5[r4]||{},i4))})),t5};true===e4[0]&&(i3=e4[1],e4=Array.prototype.slice.call(e4,2));let r3=e4.length;for(t4=0;t4<r3;t4++)i3=s3(i3,e4[t4]);return i3},normalizeTickInterval:function(t4,e4,i3,s3,r3){let o3,n3=t4;i3=x2(i3,b2(t4));let a3=t4/i3;for(!e4&&(e4=r3?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],false===s3&&(1===i3?e4=e4.filter((function(t5){return t5%1==0})):i3<=.1&&(e4=[1/i3]))),o3=0;o3<e4.length&&(n3=e4[o3],(!r3||!(n3*i3>=t4))&&(r3||!(a3<=(e4[o3]+(e4[o3+1]||e4[o3]))/2)));o3++);return v2(n3*i3,-Math.round(Math.log(.001)/Math.LN10))},objectEach:C2,offset:function(t4){let e4=s2.documentElement,i3=t4.parentElement||t4.parentNode?t4.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:i3.top+(r2.pageYOffset||e4.scrollTop)-(e4.clientTop||0),left:i3.left+(r2.pageXOffset||e4.scrollLeft)-(e4.clientLeft||0),width:i3.width,height:i3.height}},pad:function(t4,e4,i3){return Array((e4||2)+1-String(t4).replace("-","").length).join(i3||"0")+t4},pick:x2,pInt:n2,pushUnique:function(t4,e4){return 0>t4.indexOf(e4)&&!!t4.push(e4)},relativeLength:function(t4,e4,i3){return/%$/.test(t4)?e4*parseFloat(t4)/100+(i3||0):parseFloat(t4)},removeEvent:k2,replaceNested:function(t4,...e4){let i3,s3;do{for(s3 of(i3=t4,e4))t4=t4.replace(s3[0],s3[1])}while(t4!==i3);return t4},splat:f2,stableSort:function(t4,e4){let i3,s3;let r3=t4.length;for(s3=0;s3<r3;s3++)t4[s3].safeI=s3;for(t4.sort((function(t5,s4){return 0===(i3=e4(t5,s4))?t5.safeI-s4.safeI:i3})),s3=0;s3<r3;s3++)delete t4[s3].safeI},syncTimeout:function(t4,e4,i3){return e4>0?setTimeout(t4,e4,i3):(t4.call(0,i3),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:w2,useSerialIds:function(t4){return e3=x2(t4,e3)},wrap:function(t4,e4,i3){let s3=t4[e4];t4[e4]=function(){let t5=arguments,e5=this;return i3.apply(this,[function(){return s3.apply(e5,arguments.length?arguments:t5)}].concat([].slice.call(arguments)))}}}})),i(e2,"Core/Chart/ChartDefaults.js",[],(function(){return{alignThresholds:false,panning:{enabled:false,type:"x"},styledMode:false,borderRadius:0,colorCount:10,allowMutatingData:true,ignoreHiddenSeries:true,spacing:[10,10,15,10],resetZoomButton:{theme:{},position:{}},reflow:true,type:"line",zooming:{singleTouch:false,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"#334eff",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}})),i(e2,"Core/Color/Palettes.js",[],(function(){return{colors:["#2caffe","#544fc5","#00e272","#fe6a35","#6b8abc","#d568fb","#2ee0ca","#fa4b42","#feb56a","#91e8e1"]}})),i(e2,"Core/Time.js",[e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{win:i2}=t3,{defined:s2,error:r2,extend:o2,isNumber:n2,isObject:a2,merge:h2,objectEach:l2,pad:d2,pick:c2,splat:p2,timeUnits:u2}=e3,g2=t3.isSafari&&i2.Intl&&i2.Intl.DateTimeFormat.prototype.formatRange,f2=t3.isSafari&&i2.Intl&&!i2.Intl.DateTimeFormat.prototype.formatRange;class m2{constructor(t4){this.options={},this.useUTC=false,this.variableTimezone=false,this.Date=i2.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(t4)}get(t4,e4){if(this.variableTimezone||this.timezoneOffset){let i3=e4.getTime(),s3=i3-this.getTimezoneOffset(e4);e4.setTime(s3);let r3=e4["getUTC"+t4]();return e4.setTime(i3),r3}return this.useUTC?e4["getUTC"+t4]():e4["get"+t4]()}set(t4,e4,i3){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===t4||"Seconds"===t4||"Minutes"===t4&&this.getTimezoneOffset(e4)%36e5==0)return e4["setUTC"+t4](i3);let s3=this.getTimezoneOffset(e4),r3=e4.getTime()-s3;e4.setTime(r3),e4["setUTC"+t4](i3);let o3=this.getTimezoneOffset(e4);return r3=e4.getTime()+o3,e4.setTime(r3)}return this.useUTC||g2&&"FullYear"===t4?e4["setUTC"+t4](i3):e4["set"+t4](i3)}update(t4={}){let e4=c2(t4.useUTC,true);this.options=t4=h2(true,this.options,t4),this.Date=t4.Date||i2.Date||Date,this.useUTC=e4,this.timezoneOffset=e4&&t4.timezoneOffset||void 0,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=e4&&!!(t4.getTimezoneOffset||t4.timezone)}makeTime(t4,e4,i3,s3,r3,o3){let n3,a3,h3;return this.useUTC?(n3=this.Date.UTC.apply(0,arguments),a3=this.getTimezoneOffset(n3),n3+=a3,a3!==(h3=this.getTimezoneOffset(n3))?n3+=h3-a3:a3-36e5!==this.getTimezoneOffset(n3-36e5)||f2||(n3-=36e5)):n3=new this.Date(t4,e4,c2(i3,1),c2(s3,0),c2(r3,0),c2(o3,0)).getTime(),n3}timezoneOffsetFunction(){let t4=this,e4=this.options,i3=e4.getTimezoneOffset;return this.useUTC?e4.timezone?t5=>{try{let i4=`shortOffset,${e4.timezone||""}`,[s3,r3,o3,a3,h3=0]=(m2.formatCache[i4]=m2.formatCache[i4]||Intl.DateTimeFormat("en",{timeZone:e4.timezone,timeZoneName:"shortOffset"})).format(t5).split(/(GMT|:)/).map(Number),l3=-(36e5*(o3+h3/60));if(n2(l3))return l3}catch(t6){r2(34)}return 0}:this.useUTC&&i3?t5=>6e4*i3(t5.valueOf()):()=>6e4*(t4.timezoneOffset||0):t5=>6e4*new Date(t5.toString()).getTimezoneOffset()}dateFormat(e4,i3,r3){if(!s2(i3)||isNaN(i3))return t3.defaultOptions.lang&&t3.defaultOptions.lang.invalidDate||"";e4=c2(e4,"%Y-%m-%d %H:%M:%S");let n3=this,a3=new this.Date(i3),h3=this.get("Hours",a3),p3=this.get("Day",a3),u3=this.get("Date",a3),g3=this.get("Month",a3),f3=this.get("FullYear",a3),m3=t3.defaultOptions.lang,x2=m3&&m3.weekdays,y2=m3&&m3.shortWeekdays;return l2(o2({a:y2?y2[p3]:x2[p3].substr(0,3),A:x2[p3],d:d2(u3),e:d2(u3,2," "),w:p3,b:m3.shortMonths[g3],B:m3.months[g3],m:d2(g3+1),o:g3+1,y:f3.toString().substr(2,2),Y:f3,H:d2(h3),k:h3,I:d2(h3%12||12),l:h3%12||12,M:d2(this.get("Minutes",a3)),p:h3<12?"AM":"PM",P:h3<12?"am":"pm",S:d2(this.get("Seconds",a3)),L:d2(Math.floor(i3%1e3),3)},t3.dateFormats),(function(t4,s3){for(;-1!==e4.indexOf("%"+s3);)e4=e4.replace("%"+s3,"function"==typeof t4?t4.call(n3,i3):t4)})),r3?e4.substr(0,1).toUpperCase()+e4.substr(1):e4}resolveDTLFormat(t4){return a2(t4,true)?t4:{main:(t4=p2(t4))[0],from:t4[1],to:t4[2]}}getTimeTicks(t4,e4,i3,r3){let n3,a3,h3,l3;let d3=this,p3=d3.Date,g3=[],f3={},m3=new p3(e4),x2=t4.unitRange,y2=t4.count||1;if(r3=c2(r3,1),s2(e4)){d3.set("Milliseconds",m3,x2>=u2.second?0:y2*Math.floor(d3.get("Milliseconds",m3)/y2)),x2>=u2.second&&d3.set("Seconds",m3,x2>=u2.minute?0:y2*Math.floor(d3.get("Seconds",m3)/y2)),x2>=u2.minute&&d3.set("Minutes",m3,x2>=u2.hour?0:y2*Math.floor(d3.get("Minutes",m3)/y2)),x2>=u2.hour&&d3.set("Hours",m3,x2>=u2.day?0:y2*Math.floor(d3.get("Hours",m3)/y2)),x2>=u2.day&&d3.set("Date",m3,x2>=u2.month?1:Math.max(1,y2*Math.floor(d3.get("Date",m3)/y2))),x2>=u2.month&&(d3.set("Month",m3,x2>=u2.year?0:y2*Math.floor(d3.get("Month",m3)/y2)),a3=d3.get("FullYear",m3)),x2>=u2.year&&(a3-=a3%y2,d3.set("FullYear",m3,a3)),x2===u2.week&&(l3=d3.get("Day",m3),d3.set("Date",m3,d3.get("Date",m3)-l3+r3+(l3<r3?-7:0))),a3=d3.get("FullYear",m3);let t5=d3.get("Month",m3),o3=d3.get("Date",m3),c3=d3.get("Hours",m3);e4=m3.getTime(),(d3.variableTimezone||!d3.useUTC)&&s2(i3)&&(h3=i3-e4>4*u2.month||d3.getTimezoneOffset(e4)!==d3.getTimezoneOffset(i3));let p4=m3.getTime();for(n3=1;p4<i3;)g3.push(p4),x2===u2.year?p4=d3.makeTime(a3+n3*y2,0):x2===u2.month?p4=d3.makeTime(a3,t5+n3*y2):h3&&(x2===u2.day||x2===u2.week)?p4=d3.makeTime(a3,t5,o3+n3*y2*(x2===u2.day?1:7)):h3&&x2===u2.hour&&y2>1?p4=d3.makeTime(a3,t5,o3,c3+n3*y2):p4+=x2*y2,n3++;g3.push(p4),x2<=u2.hour&&g3.length<1e4&&g3.forEach((function(t6){t6%18e5==0&&"000000000"===d3.dateFormat("%H%M%S%L",t6)&&(f3[t6]="day")}))}return g3.info=o2(t4,{higherRanks:f3,totalRange:x2*y2}),g3}getDateFormat(t4,e4,i3,s3){let r3=this.dateFormat("%m-%d %H:%M:%S.%L",e4),o3="01-01 00:00:00.000",n3={millisecond:15,second:12,minute:9,hour:6,day:3},a3="millisecond",h3=a3;for(a3 in u2){if(t4===u2.week&&+this.dateFormat("%w",e4)===i3&&r3.substr(6)===o3.substr(6)){a3="week";break}if(u2[a3]>t4){a3=h3;break}if(n3[a3]&&r3.substr(n3[a3])!==o3.substr(n3[a3]))break;"week"!==a3&&(h3=a3)}return this.resolveDTLFormat(s3[a3]).main}}return m2.formatCache={},m2})),i(e2,"Core/Defaults.js",[e2["Core/Chart/ChartDefaults.js"],e2["Core/Globals.js"],e2["Core/Color/Palettes.js"],e2["Core/Time.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2){let{isTouchDevice:o2}=e3,{fireEvent:n2,merge:a2}=r2,h2={colors:i2.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],decimalPoint:".",numericSymbols:["k","M","G","T","P","E"],resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{buttonTheme:{fill:"#f7f7f7",padding:8,r:2,stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontSize:"0.8em",fontWeight:"normal"},states:{hover:{fill:"#e6e6e6"},select:{fill:"#e6e9ff",style:{color:"#000000",fontWeight:"bold"}},disabled:{style:{color:"#cccccc"}}}}},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:true},chart:t3,title:{style:{color:"#333333",fontWeight:"bold"},text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{style:{color:"#666666",fontSize:"0.8em"},text:"",align:"center",widthAdjust:-44},caption:{margin:15,style:{color:"#666666",fontSize:"0.8em"},text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},legend:{enabled:true,align:"center",alignColumns:true,className:"highcharts-no-tooltip",events:{},layout:"horizontal",itemMarginBottom:2,itemMarginTop:2,labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{style:{fontSize:"0.8em"},activeColor:"#0022ff",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"0.8em",textDecoration:"none",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#666666",textDecoration:"line-through"},shadow:false,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:true,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontSize:"0.8em",fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:true,animation:{duration:300,easing:t4=>Math.sqrt(1-Math.pow(t4-1,2))},borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %e %b, %H:%M:%S.%L",second:"%A, %e %b, %H:%M:%S",minute:"%A, %e %b, %H:%M",hour:"%A, %e %b, %H:%M",day:"%A, %e %b %Y",week:"Week from %A, %e %b %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:false,snap:o2?25:10,headerFormat:'<span style="font-size: 0.8em">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:"#ffffff",borderWidth:void 0,shadow:true,stickOnContact:false,style:{color:"#333333",cursor:"default",fontSize:"0.8em"},useHTML:false},credits:{enabled:true,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"0.6em"},text:"Highcharts.com"}};h2.chart.styledMode=false;let l2=new s2(h2.time);return{defaultOptions:h2,defaultTime:l2,getOptions:function(){return h2},setOptions:function(t4){return n2(e3,"setOptions",{options:t4}),a2(true,h2,t4),(t4.time||t4.global)&&(e3.time?e3.time.update(a2(h2.global,h2.time,t4.global,t4.time)):e3.time=l2),h2}}})),i(e2,"Core/Color/Color.js",[e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{isNumber:i2,merge:s2,pInt:r2}=e3;class o2{static parse(t4){return t4?new o2(t4):o2.None}constructor(e4){let i3,s3,r3,n2;this.rgba=[NaN,NaN,NaN,NaN],this.input=e4;let a2=t3.Color;if(a2&&a2!==o2)return new a2(e4);if("object"==typeof e4&&void 0!==e4.stops)this.stops=e4.stops.map((t4=>new o2(t4[1])));else if("string"==typeof e4){if(this.input=e4=o2.names[e4.toLowerCase()]||e4,"#"===e4.charAt(0)){let t4=e4.length,i4=parseInt(e4.substr(1),16);7===t4?s3=[(16711680&i4)>>16,(65280&i4)>>8,255&i4,1]:4===t4&&(s3=[(3840&i4)>>4|(3840&i4)>>8,(240&i4)>>4|240&i4,(15&i4)<<4|15&i4,1])}if(!s3)for(r3=o2.parsers.length;r3--&&!s3;)(i3=(n2=o2.parsers[r3]).regex.exec(e4))&&(s3=n2.parse(i3))}s3&&(this.rgba=s3)}get(t4){let e4=this.input,r3=this.rgba;if("object"==typeof e4&&void 0!==this.stops){let i3=s2(e4);return i3.stops=[].slice.call(i3.stops),this.stops.forEach(((e5,s3)=>{i3.stops[s3]=[i3.stops[s3][0],e5.get(t4)]})),i3}return r3&&i2(r3[0])?"rgb"!==t4&&(t4||1!==r3[3])?"a"===t4?`${r3[3]}`:"rgba("+r3.join(",")+")":"rgb("+r3[0]+","+r3[1]+","+r3[2]+")":e4}brighten(t4){let e4=this.rgba;if(this.stops)this.stops.forEach((function(e5){e5.brighten(t4)}));else if(i2(t4)&&0!==t4)for(let i3=0;i3<3;i3++)e4[i3]+=r2(255*t4),e4[i3]<0&&(e4[i3]=0),e4[i3]>255&&(e4[i3]=255);return this}setOpacity(t4){return this.rgba[3]=t4,this}tweenTo(t4,e4){let s3=this.rgba,r3=t4.rgba;if(!i2(s3[0])||!i2(r3[0]))return t4.input||"none";let o3=1!==r3[3]||1!==s3[3];return(o3?"rgba(":"rgb(")+Math.round(r3[0]+(s3[0]-r3[0])*(1-e4))+","+Math.round(r3[1]+(s3[1]-r3[1])*(1-e4))+","+Math.round(r3[2]+(s3[2]-r3[2])*(1-e4))+(o3?","+(r3[3]+(s3[3]-r3[3])*(1-e4)):"")+")"}}return o2.names={white:"#ffffff",black:"#000000"},o2.parsers=[{regex:/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?(?:\.\d+)?)\s*\)/,parse:function(t4){return[r2(t4[1]),r2(t4[2]),r2(t4[3]),parseFloat(t4[4],10)]}},{regex:/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,parse:function(t4){return[r2(t4[1]),r2(t4[2]),r2(t4[3]),1]}}],o2.None=new o2(""),o2})),i(e2,"Core/Animation/Fx.js",[e2["Core/Color/Color.js"],e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{parse:s2}=t3,{win:r2}=e3,{isNumber:o2,objectEach:n2}=i2;class a2{constructor(t4,e4,i3){this.pos=NaN,this.options=e4,this.elem=t4,this.prop=i3}dSetter(){let t4=this.paths,e4=t4&&t4[0],i3=t4&&t4[1],s3=this.now||0,r3=[];if(1!==s3&&e4&&i3){if(e4.length===i3.length&&s3<1)for(let t5=0;t5<i3.length;t5++){let n3=e4[t5],a3=i3[t5],h2=[];for(let t6=0;t6<a3.length;t6++){let e5=n3[t6],i4=a3[t6];o2(e5)&&o2(i4)&&!("A"===a3[0]&&(4===t6||5===t6))?h2[t6]=e5+s3*(i4-e5):h2[t6]=i4}r3.push(h2)}else r3=i3}else r3=this.toD||[];this.elem.attr("d",r3,void 0,true)}update(){let t4=this.elem,e4=this.prop,i3=this.now,s3=this.options.step;this[e4+"Setter"]?this[e4+"Setter"]():t4.attr?t4.element&&t4.attr(e4,i3,null,true):t4.style[e4]=i3+this.unit,s3&&s3.call(t4,i3,this)}run(t4,e4,i3){let s3=this,o3=s3.options,n3=function(t5){return!n3.stopped&&s3.step(t5)},h2=r2.requestAnimationFrame||function(t5){setTimeout(t5,13)},l2=function(){for(let t5=0;t5<a2.timers.length;t5++)a2.timers[t5]()||a2.timers.splice(t5--,1);a2.timers.length&&h2(l2)};t4!==e4||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=t4,this.end=e4,this.unit=i3,this.now=this.start,this.pos=0,n3.elem=this.elem,n3.prop=this.prop,n3()&&1===a2.timers.push(n3)&&h2(l2)):(delete o3.curAnim[this.prop],o3.complete&&0===Object.keys(o3.curAnim).length&&o3.complete.call(this.elem))}step(t4){let e4,i3;let s3=+new Date,r3=this.options,o3=this.elem,a3=r3.complete,h2=r3.duration,l2=r3.curAnim;return o3.attr&&!o3.element?e4=false:t4||s3>=h2+this.startTime?(this.now=this.end,this.pos=1,this.update(),l2[this.prop]=true,i3=true,n2(l2,(function(t5){true!==t5&&(i3=false)})),i3&&a3&&a3.call(o3),e4=false):(this.pos=r3.easing((s3-this.startTime)/h2),this.now=this.start+(this.end-this.start)*this.pos,this.update(),e4=true),e4}initPath(t4,e4,i3){let s3=t4.startX,r3=t4.endX,n3=i3.slice(),a3=t4.isArea,h2=a3?2:1,l2=e4&&i3.length>e4.length&&i3.hasStackedCliffs,d2,c2,p2,u2,g2=e4&&e4.slice();if(!g2||l2)return[n3,n3];function f2(t5,e5){for(;t5.length<c2;){let i4=t5[0],s4=e5[c2-t5.length];if(s4&&"M"===i4[0]&&("C"===s4[0]?t5[0]=["C",i4[1],i4[2],i4[1],i4[2],i4[1],i4[2]]:t5[0]=["L",i4[1],i4[2]]),t5.unshift(i4),a3){let e6=t5.pop();t5.push(t5[t5.length-1],e6)}}}function m2(t5){for(;t5.length<c2;){let e5=t5[Math.floor(t5.length/h2)-1].slice();if("C"===e5[0]&&(e5[1]=e5[5],e5[2]=e5[6]),a3){let i4=t5[Math.floor(t5.length/h2)].slice();t5.splice(t5.length/2,0,e5,i4)}else t5.push(e5)}}if(s3&&r3&&r3.length){for(p2=0;p2<s3.length;p2++){if(s3[p2]===r3[0]){d2=p2;break}if(s3[0]===r3[r3.length-s3.length+p2]){d2=p2,u2=true;break}if(s3[s3.length-1]===r3[r3.length-s3.length+p2]){d2=s3.length-p2;break}}void 0===d2&&(g2=[])}return g2.length&&o2(d2)&&(c2=n3.length+d2*h2,u2?(f2(g2,n3),m2(n3)):(f2(n3,g2),m2(g2))),[g2,n3]}fillSetter(){a2.prototype.strokeSetter.apply(this,arguments)}strokeSetter(){this.elem.attr(this.prop,s2(this.start).tweenTo(s2(this.end),this.pos),void 0,true)}}return a2.timers=[],a2})),i(e2,"Core/Animation/AnimationUtilities.js",[e2["Core/Animation/Fx.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{defined:i2,getStyle:s2,isArray:r2,isNumber:o2,isObject:n2,merge:a2,objectEach:h2,pick:l2}=e3;function d2(t4){return n2(t4)?a2({duration:500,defer:0},t4):{duration:t4?500:0,defer:0}}function c2(e4,i3){let s3=t3.timers.length;for(;s3--;)t3.timers[s3].elem!==e4||i3&&i3!==t3.timers[s3].prop||(t3.timers[s3].stopped=true)}return{animate:function(e4,i3,l3){let d3,p2="",u2,g2,f2;n2(l3)||(f2=arguments,l3={duration:f2[2],easing:f2[3],complete:f2[4]}),o2(l3.duration)||(l3.duration=400),l3.easing="function"==typeof l3.easing?l3.easing:Math[l3.easing]||Math.easeInOutSine,l3.curAnim=a2(i3),h2(i3,(function(o3,n3){c2(e4,n3),g2=new t3(e4,l3,n3),u2=void 0,"d"===n3&&r2(i3.d)?(g2.paths=g2.initPath(e4,e4.pathArray,i3.d),g2.toD=i3.d,d3=0,u2=1):e4.attr?d3=e4.attr(n3):(d3=parseFloat(s2(e4,n3))||0,"opacity"!==n3&&(p2="px")),u2||(u2=o3),"string"==typeof u2&&u2.match("px")&&(u2=u2.replace(/px/g,"")),g2.run(d3,u2,p2)}))},animObject:d2,getDeferredAnimation:function(t4,e4,s3){let r3=d2(e4),o3=s3?[s3]:t4.series,a3=0,h3=0;return o3.forEach((t5=>{let s4=d2(t5.options.animation);a3=n2(e4)&&i2(e4.defer)?r3.defer:Math.max(a3,s4.duration+s4.defer),h3=Math.min(r3.duration,s4.duration)})),t4.renderer.forExport&&(a3=0),{defer:Math.max(0,a3-h3),duration:Math.min(a3,h3)}},setAnimation:function(t4,e4){e4.renderer.globalAnimation=l2(t4,e4.options.chart.animation,true)},stop:c2}})),i(e2,"Core/Renderer/HTML/AST.js",[e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{SVG_NS:i2,win:s2}=t3,{attr:r2,createElement:o2,css:n2,error:a2,isFunction:h2,isString:l2,objectEach:d2,splat:c2}=e3,{trustedTypes:p2}=s2,u2=p2&&h2(p2.createPolicy)&&p2.createPolicy("highcharts",{createHTML:t4=>t4}),g2=u2?u2.createHTML(""):"",f2=function(){try{return!!(new DOMParser).parseFromString(g2,"text/html")}catch(t4){return false}}();class m2{static filterUserAttributes(t4){return d2(t4,((e4,i3)=>{let s3=true;-1===m2.allowedAttributes.indexOf(i3)&&(s3=false),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(i3)&&(s3=l2(e4)&&m2.allowedReferences.some((t5=>0===e4.indexOf(t5)))),s3||(a2(33,false,void 0,{"Invalid attribute in config":`${i3}`}),delete t4[i3]),l2(e4)&&t4[i3]&&(t4[i3]=e4.replace(/</g,"<"))})),t4}static parseStyle(t4){return t4.split(";").reduce(((t5,e4)=>{let i3=e4.split(":").map((t6=>t6.trim())),s3=i3.shift();return s3&&i3.length&&(t5[s3.replace(/-([a-z])/g,(t6=>t6[1].toUpperCase()))]=i3.join(":")),t5}),{})}static setElementHTML(t4,e4){t4.innerHTML=m2.emptyHTML,e4&&new m2(e4).addToDOM(t4)}constructor(t4){this.nodes="string"==typeof t4?this.parseMarkup(t4):t4}addToDOM(e4){return function e5(s3,o3){let h3;return c2(s3).forEach((function(s4){let l3;let c3=s4.tagName,p3=s4.textContent?t3.doc.createTextNode(s4.textContent):void 0,u3=m2.bypassHTMLFiltering;if(c3){if("#text"===c3)l3=p3;else if(-1!==m2.allowedTags.indexOf(c3)||u3){let a3="svg"===c3?i2:o3.namespaceURI||i2,h4=t3.doc.createElementNS(a3,c3),g3=s4.attributes||{};d2(s4,(function(t4,e6){"tagName"!==e6&&"attributes"!==e6&&"children"!==e6&&"style"!==e6&&"textContent"!==e6&&(g3[e6]=t4)})),r2(h4,u3?g3:m2.filterUserAttributes(g3)),s4.style&&n2(h4,s4.style),p3&&h4.appendChild(p3),e5(s4.children||[],h4),l3=h4}else a2(33,false,void 0,{"Invalid tagName in config":c3})}l3&&o3.appendChild(l3),h3=l3})),h3}(this.nodes,e4)}parseMarkup(t4){let e4;let i3=[];if(t4=t4.trim().replace(/ style=(["'])/g," data-style=$1"),f2)e4=(new DOMParser).parseFromString(u2?u2.createHTML(t4):t4,"text/html");else{let i4=o2("div");i4.innerHTML=t4,e4={body:i4}}let s3=(t5,e5)=>{let i4=t5.nodeName.toLowerCase(),r3={tagName:i4};"#text"===i4&&(r3.textContent=t5.textContent||"");let o3=t5.attributes;if(o3){let t6={};[].forEach.call(o3,(e6=>{"data-style"===e6.name?r3.style=m2.parseStyle(e6.value):t6[e6.name]=e6.value})),r3.attributes=t6}if(t5.childNodes.length){let e6=[];[].forEach.call(t5.childNodes,(t6=>{s3(t6,e6)})),e6.length&&(r3.children=e6)}e5.push(r3)};return[].forEach.call(e4.body.childNodes,(t5=>s3(t5,i3))),i3}}return m2.allowedAttributes=["alt","aria-controls","aria-describedby","aria-expanded","aria-haspopup","aria-hidden","aria-label","aria-labelledby","aria-live","aria-pressed","aria-readonly","aria-roledescription","aria-selected","class","clip-path","color","colspan","cx","cy","d","dx","dy","disabled","fill","filterUnits","flood-color","flood-opacity","height","href","id","in","in2","markerHeight","markerWidth","offset","opacity","operator","orient","padding","paddingLeft","paddingRight","patternUnits","r","radius","refX","refY","role","scope","slope","src","startOffset","stdDeviation","stroke","stroke-linecap","stroke-width","style","tableValues","result","rowspan","summary","target","tabindex","text-align","text-anchor","textAnchor","textLength","title","type","valign","width","x","x1","x2","xlink:href","y","y1","y2","zIndex"],m2.allowedReferences=["https://","http://","mailto:","/","../","./","#"],m2.allowedTags=["a","abbr","b","br","button","caption","circle","clipPath","code","dd","defs","div","dl","dt","em","feComponentTransfer","feComposite","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMorphology","feOffset","feMerge","feMergeNode","filter","h1","h2","h3","h4","h5","h6","hr","i","img","li","linearGradient","marker","ol","p","path","pattern","pre","rect","small","span","stop","strong","style","sub","sup","svg","table","text","textPath","thead","title","tbody","tspan","td","th","tr","u","ul","#text"],m2.emptyHTML=g2,m2.bypassHTMLFiltering=false,m2})),i(e2,"Core/Templating.js",[e2["Core/Defaults.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{defaultOptions:i2,defaultTime:s2}=t3,{extend:r2,getNestedProperty:o2,isArray:n2,isNumber:a2,isObject:h2,pick:l2,pInt:d2}=e3,c2={add:(t4,e4)=>t4+e4,divide:(t4,e4)=>0!==e4?t4/e4:"",eq:(t4,e4)=>t4==e4,each:function(t4){let e4=arguments[arguments.length-1];return!!n2(t4)&&t4.map(((i3,s3)=>p2(e4.body,r2(h2(i3)?i3:{"@this":i3},{"@index":s3,"@first":0===s3,"@last":s3===t4.length-1})))).join("")},ge:(t4,e4)=>t4>=e4,gt:(t4,e4)=>t4>e4,if:t4=>!!t4,le:(t4,e4)=>t4<=e4,lt:(t4,e4)=>t4<e4,multiply:(t4,e4)=>t4*e4,ne:(t4,e4)=>t4!=e4,subtract:(t4,e4)=>t4-e4,unless:t4=>!t4};function p2(t4="",e4,r3){let n3=/\{([\w\:\.\,;\-\/<>%@"'’= #\(\)]+)\}/g,a3=/\(([\w\:\.\,;\-\/<>%@"'= ]+)\)/g,h3=[],d3=/f$/,g2=/\.(\d)/,f2=i2.lang,m2=r3&&r3.time||s2,x2=r3&&r3.numberFormatter||u2,y2=(t5="")=>{let i3;return"true"===t5||"false"!==t5&&((i3=Number(t5)).toString()===t5?i3:o2(t5,e4))},b2,v2,S2=0,C2;for(;null!==(b2=n3.exec(t4));){let i3=a3.exec(b2[1]);i3&&(b2=i3,C2=true),v2&&v2.isBlock||(v2={ctx:e4,expression:b2[1],find:b2[0],isBlock:"#"===b2[1].charAt(0),start:b2.index,startInner:b2.index+b2[0].length,length:b2[0].length});let s3=b2[1].split(" ")[0].replace("#","");c2[s3]&&(v2.isBlock&&s3===v2.fn&&S2++,v2.fn||(v2.fn=s3));let r4="else"===b2[1];if(v2.isBlock&&v2.fn&&(b2[1]===`/${v2.fn}`||r4)){if(S2)!r4&&S2--;else{let e5=v2.startInner,i4=t4.substr(e5,b2.index-e5);void 0===v2.body?(v2.body=i4,v2.startInner=b2.index+b2[0].length):v2.elseBody=i4,v2.find+=i4+b2[0],r4||(h3.push(v2),v2=void 0)}}else v2.isBlock||h3.push(v2);if(i3&&!(v2==null?void 0:v2.isBlock))break}return h3.forEach((i3=>{let s3,o3;let{body:n4,elseBody:a4,expression:h4,fn:u3}=i3;if(u3){let t5=[i3],l3=h4.split(" ");for(o3=c2[u3].length;o3--;)t5.unshift(y2(l3[o3+1]));s3=c2[u3].apply(e4,t5),i3.isBlock&&"boolean"==typeof s3&&(s3=p2(s3?n4:a4,e4,r3))}else{let t5=h4.split(":");if(s3=y2(t5.shift()||""),t5.length&&"number"==typeof s3){let e5=t5.join(":");if(d3.test(e5)){let t6=parseInt((e5.match(g2)||["","-1"])[1],10);null!==s3&&(s3=x2(s3,t6,f2.decimalPoint,e5.indexOf(",")>-1?f2.thousandsSep:""))}else s3=m2.dateFormat(e5,s3)}}t4=t4.replace(i3.find,l2(s3,""))})),C2?p2(t4,e4,r3):t4}function u2(t4,e4,s3,r3){let o3,n3;t4=+t4||0,e4=+e4;let h3=i2.lang,c3=(t4.toString().split(".")[1]||"").split("e")[0].length,p3=t4.toString().split("e"),u3=e4;-1===e4?e4=Math.min(c3,20):a2(e4)?e4&&p3[1]&&p3[1]<0&&((n3=e4+ +p3[1])>=0?(p3[0]=(+p3[0]).toExponential(n3).split("e")[0],e4=n3):(p3[0]=p3[0].split(".")[0]||0,t4=e4<20?(p3[0]*Math.pow(10,p3[1])).toFixed(e4):0,p3[1]=0)):e4=2;let g2=(Math.abs(p3[1]?p3[0]:t4)+Math.pow(10,-Math.max(e4,c3)-1)).toFixed(e4),f2=String(d2(g2)),m2=f2.length>3?f2.length%3:0;return s3=l2(s3,h3.decimalPoint),r3=l2(r3,h3.thousandsSep),o3=(t4<0?"-":"")+(m2?f2.substr(0,m2)+r3:""),0>+p3[1]&&!u3?o3="0":o3+=f2.substr(m2).replace(/(\d{3})(?=\d)/g,"$1"+r3),e4?o3+=s3+g2.slice(-e4):0==+o3&&(o3="0"),p3[1]&&0!=+o3&&(o3+="e"+p3[1]),o3}return{dateFormat:function(t4,e4,i3){return s2.dateFormat(t4,e4,i3)},format:p2,helpers:c2,numberFormat:u2}})),i(e2,"Core/Renderer/RendererRegistry.js",[e2["Core/Globals.js"]],(function(t3){var e3,i2;let s2;return(i2=e3||(e3={})).rendererTypes={},i2.getRendererType=function(t4=s2){return i2.rendererTypes[t4]||i2.rendererTypes[s2]},i2.registerRendererType=function(e4,r2,o2){i2.rendererTypes[e4]=r2,(!s2||o2)&&(s2=e4,t3.Renderer=r2)},e3})),i(e2,"Core/Renderer/RendererUtilities.js",[e2["Core/Utilities.js"]],(function(t3){var e3;let{clamp:i2,pick:s2,pushUnique:r2,stableSort:o2}=t3;return(e3||(e3={})).distribute=function t4(e4,n2,a2){let h2=e4,l2=h2.reducedLen||n2,d2=(t5,e5)=>t5.target-e5.target,c2=[],p2=e4.length,u2=[],g2=c2.push,f2,m2,x2,y2=true,b2,v2,S2=0,C2;for(f2=p2;f2--;)S2+=e4[f2].size;if(S2>l2){for(o2(e4,((t5,e5)=>(e5.rank||0)-(t5.rank||0))),x2=(C2=e4[0].rank===e4[e4.length-1].rank)?p2/2:-1,m2=C2?x2:p2-1;x2&&S2>l2;)b2=e4[f2=Math.floor(m2)],r2(u2,f2)&&(S2-=b2.size),m2+=x2,C2&&m2>=e4.length&&(x2/=2,m2=x2);u2.sort(((t5,e5)=>e5-t5)).forEach((t5=>g2.apply(c2,e4.splice(t5,1))))}for(o2(e4,d2),e4=e4.map((t5=>({size:t5.size,targets:[t5.target],align:s2(t5.align,.5)})));y2;){for(f2=e4.length;f2--;)b2=e4[f2],v2=(Math.min.apply(0,b2.targets)+Math.max.apply(0,b2.targets))/2,b2.pos=i2(v2-b2.size*b2.align,0,n2-b2.size);for(f2=e4.length,y2=false;f2--;)f2>0&&e4[f2-1].pos+e4[f2-1].size>e4[f2].pos&&(e4[f2-1].size+=e4[f2].size,e4[f2-1].targets=e4[f2-1].targets.concat(e4[f2].targets),e4[f2-1].align=.5,e4[f2-1].pos+e4[f2-1].size>n2&&(e4[f2-1].pos=n2-e4[f2-1].size),e4.splice(f2,1),y2=true)}return g2.apply(h2,c2),f2=0,e4.some((e5=>{let i3=0;return(e5.targets||[]).some((()=>(h2[f2].pos=e5.pos+i3,void 0!==a2&&Math.abs(h2[f2].pos-h2[f2].target)>a2)?(h2.slice(0,f2+1).forEach((t5=>delete t5.pos)),h2.reducedLen=(h2.reducedLen||n2)-.1*n2,h2.reducedLen>.1*n2&&t4(h2,n2,a2),true):(i3+=h2[f2].size,f2++,false)))})),o2(h2,d2),h2},e3})),i(e2,"Core/Renderer/SVG/SVGElement.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Color/Color.js"],e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){let{animate:r2,animObject:o2,stop:n2}=t3,{deg2rad:a2,doc:h2,svg:l2,SVG_NS:d2,win:c2}=i2,{addEvent:p2,attr:u2,createElement:g2,crisp:f2,css:m2,defined:x2,erase:y2,extend:b2,fireEvent:v2,isArray:S2,isFunction:C2,isObject:k2,isString:M,merge:w2,objectEach:T2,pick:A2,pInt:P,pushUnique:L2,replaceNested:O2,syncTimeout:D2,uniqueKey:E2}=s2;class I{_defaultGetter(t4){let e4=A2(this[t4+"Value"],this[t4],this.element?this.element.getAttribute(t4):null,0);return/^-?[\d\.]+$/.test(e4)&&(e4=parseFloat(e4)),e4}_defaultSetter(t4,e4,i3){i3.setAttribute(e4,t4)}add(t4){let e4;let i3=this.renderer,s3=this.element;return t4&&(this.parentGroup=t4),void 0!==this.textStr&&"text"===this.element.nodeName&&i3.buildText(this),this.added=true,(!t4||t4.handleZ||this.zIndex)&&(e4=this.zIndexSetter()),e4||(t4?t4.element:i3.box).appendChild(s3),this.onAdd&&this.onAdd(),this}addClass(t4,e4){let i3=e4?"":this.attr("class")||"";return(t4=(t4||"").split(/ /g).reduce((function(t5,e5){return-1===i3.indexOf(e5)&&t5.push(e5),t5}),i3?[i3]:[]).join(" "))!==i3&&this.attr("class",t4),this}afterSetters(){this.doTransform&&(this.updateTransform(),this.doTransform=false)}align(t4,e4,i3,s3=true){let r3,o3,n3,a3;let h3={},l3=this.renderer,d3=l3.alignedObjects,c3=!!t4;t4?(this.alignOptions=t4,this.alignByTranslate=e4,this.alignTo=i3):(t4=this.alignOptions||{},e4=this.alignByTranslate,i3=this.alignTo);let p3=!i3||M(i3)?i3||"renderer":void 0;p3&&(c3&&L2(d3,this),i3=void 0);let u3=A2(i3,l3[p3],l3),g3=t4.align,f3=t4.verticalAlign;return r3=(u3.x||0)+(t4.x||0),o3=(u3.y||0)+(t4.y||0),"right"===g3?n3=1:"center"===g3&&(n3=2),n3&&(r3+=((u3.width||0)-(t4.width||0))/n3),h3[e4?"translateX":"x"]=Math.round(r3),"bottom"===f3?a3=1:"middle"===f3&&(a3=2),a3&&(o3+=((u3.height||0)-(t4.height||0))/a3),h3[e4?"translateY":"y"]=Math.round(o3),s3&&(this[this.placed?"animate":"attr"](h3),this.placed=true),this.alignAttr=h3,this}alignSetter(t4){let e4={left:"start",center:"middle",right:"end"};e4[t4]&&(this.alignValue=t4,this.element.setAttribute("text-anchor",e4[t4]))}animate(t4,e4,i3){let s3=o2(A2(e4,this.renderer.globalAnimation,true)),n3=s3.defer;return h2.hidden&&(s3.duration=0),0!==s3.duration?(i3&&(s3.complete=i3),D2((()=>{this.element&&r2(this,t4,s3)}),n3)):(this.attr(t4,void 0,i3||s3.complete),T2(t4,(function(t5,e5){s3.step&&s3.step.call(this,t5,{prop:e5,pos:1,elem:this})}),this)),this}applyTextOutline(t4){let e4=this.element;-1!==t4.indexOf("contrast")&&(t4=t4.replace(/contrast/g,this.renderer.getContrast(e4.style.fill)));let s3=t4.split(" "),r3=s3[s3.length-1],o3=s3[0];if(o3&&"none"!==o3&&i2.svg){this.fakeTS=true,o3=o3.replace(/(^[\d\.]+)(.*?)$/g,(function(t6,e5,i4){return 2*Number(e5)+i4})),this.removeTextOutline();let t5=h2.createElementNS(d2,"tspan");u2(t5,{class:"highcharts-text-outline",fill:r3,stroke:r3,"stroke-width":o3,"stroke-linejoin":"round"});let i3=e4.querySelector("textPath")||e4;[].forEach.call(i3.childNodes,(e5=>{let i4=e5.cloneNode(true);i4.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach((t6=>i4.removeAttribute(t6))),t5.appendChild(i4)}));let s4=0;[].forEach.call(i3.querySelectorAll("text tspan"),(t6=>{s4+=Number(t6.getAttribute("dy"))}));let n3=h2.createElementNS(d2,"tspan");n3.textContent="",u2(n3,{x:Number(e4.getAttribute("x")),dy:-s4}),t5.appendChild(n3),i3.insertBefore(t5,i3.firstChild)}}attr(t4,e4,i3,s3){let{element:r3}=this,o3=I.symbolCustomAttribs,a3,h3,l3=this,d3;return"string"==typeof t4&&void 0!==e4&&(a3=t4,(t4={})[a3]=e4),"string"==typeof t4?l3=(this[t4+"Getter"]||this._defaultGetter).call(this,t4,r3):(T2(t4,(function(e5,i4){d3=false,s3||n2(this,i4),this.symbolName&&-1!==o3.indexOf(i4)&&(h3||(this.symbolAttr(t4),h3=true),d3=true),this.rotation&&("x"===i4||"y"===i4)&&(this.doTransform=true),d3||(this[i4+"Setter"]||this._defaultSetter).call(this,e5,i4,r3)}),this),this.afterSetters()),i3&&i3.call(this),l3}clip(t4){if(t4&&!t4.clipPath){let e4=E2()+"-",i3=this.renderer.createElement("clipPath").attr({id:e4}).add(this.renderer.defs);b2(t4,{clipPath:i3,id:e4,count:0}),t4.add(i3)}return this.attr("clip-path",t4?`url(${this.renderer.url}#${t4.id})`:"none")}crisp(t4,e4){e4=Math.round(e4||t4.strokeWidth||0);let i3=t4.x||this.x||0,s3=t4.y||this.y||0,r3=(t4.width||this.width||0)+i3,o3=(t4.height||this.height||0)+s3,n3=f2(i3,e4),a3=f2(s3,e4);return b2(t4,{x:n3,y:a3,width:f2(r3,e4)-n3,height:f2(o3,e4)-a3}),x2(t4.strokeWidth)&&(t4.strokeWidth=e4),t4}complexColor(t4,i3,s3){let r3=this.renderer,o3,n3,a3,h3,l3,d3,c3,p3,u3,g3,f3=[],m3;v2(this.renderer,"complexColor",{args:arguments},(function(){if(t4.radialGradient?n3="radialGradient":t4.linearGradient&&(n3="linearGradient"),n3){if(a3=t4[n3],l3=r3.gradients,d3=t4.stops,u3=s3.radialReference,S2(a3)&&(t4[n3]=a3={x1:a3[0],y1:a3[1],x2:a3[2],y2:a3[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===n3&&u3&&!x2(a3.gradientUnits)&&(h3=a3,a3=w2(a3,r3.getRadialAttr(u3,h3),{gradientUnits:"userSpaceOnUse"})),T2(a3,(function(t5,e4){"id"!==e4&&f3.push(e4,t5)})),T2(d3,(function(t5){f3.push(t5)})),l3[f3=f3.join(",")])g3=l3[f3].attr("id");else{a3.id=g3=E2();let t5=l3[f3]=r3.createElement(n3).attr(a3).add(r3.defs);t5.radAttr=h3,t5.stops=[],d3.forEach((function(i4){0===i4[1].indexOf("rgba")?(c3=(o3=e3.parse(i4[1])).get("rgb"),p3=o3.get("a")):(c3=i4[1],p3=1);let s4=r3.createElement("stop").attr({offset:i4[0],"stop-color":c3,"stop-opacity":p3}).add(t5);t5.stops.push(s4)}))}m3="url("+r3.url+"#"+g3+")",s3.setAttribute(i3,m3),s3.gradient=f3,t4.toString=function(){return m3}}}))}css(t4){let e4=this.styles,i3={},s3=this.element,r3,o3=!e4;if(e4&&T2(t4,(function(t5,s4){e4&&e4[s4]!==t5&&(i3[s4]=t5,o3=true)})),o3){e4&&(t4=b2(e4,i3)),null===t4.width||"auto"===t4.width?delete this.textWidth:"text"===s3.nodeName.toLowerCase()&&t4.width&&(r3=this.textWidth=P(t4.width)),b2(this.styles,t4),r3&&!l2&&this.renderer.forExport&&delete t4.width;let o4=w2(t4);s3.namespaceURI===this.SVG_NS&&(["textOutline","textOverflow","width"].forEach((t5=>o4&&delete o4[t5])),o4.color&&(o4.fill=o4.color)),m2(s3,o4)}return this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t4.textOutline&&this.applyTextOutline(t4.textOutline)),this}dashstyleSetter(t4){let e4,i3=this["stroke-width"];if("inherit"===i3&&(i3=1),t4=t4&&t4.toLowerCase()){let s3=t4.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(e4=s3.length;e4--;)s3[e4]=""+P(s3[e4])*A2(i3,NaN);t4=s3.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t4)}}destroy(){var _a;let t4=this,e4=t4.element||{},i3=t4.renderer,s3=e4.ownerSVGElement,r3="SPAN"===e4.nodeName&&t4.parentGroup||void 0,o3,a3;if(e4.onclick=e4.onmouseout=e4.onmouseover=e4.onmousemove=e4.point=null,n2(t4),t4.clipPath&&s3){let e5=t4.clipPath;[].forEach.call(s3.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(t5){t5.getAttribute("clip-path").indexOf(e5.element.id)>-1&&t5.removeAttribute("clip-path")})),t4.clipPath=e5.destroy()}if(t4.connector=(_a=t4.connector)==null?void 0:_a.destroy(),t4.stops){for(a3=0;a3<t4.stops.length;a3++)t4.stops[a3].destroy();t4.stops.length=0,t4.stops=void 0}for(t4.safeRemoveChild(e4);r3&&r3.div&&0===r3.div.childNodes.length;)o3=r3.parentGroup,t4.safeRemoveChild(r3.div),delete r3.div,r3=o3;t4.alignOptions&&y2(i3.alignedObjects,t4),T2(t4,(function(e5,i4){t4[i4]&&t4[i4].parentGroup===t4&&t4[i4].destroy&&t4[i4].destroy(),delete t4[i4]}))}dSetter(t4,e4,i3){S2(t4)&&("string"==typeof t4[0]&&(t4=this.renderer.pathToSegments(t4)),this.pathArray=t4,t4=t4.reduce(((t5,e5,i4)=>e5&&e5.join?(i4?t5+" ":"")+e5.join(" "):(e5||"").toString()),"")),/(NaN| {2}|^$)/.test(t4)&&(t4="M 0 0"),this[e4]!==t4&&(i3.setAttribute(e4,t4),this[e4]=t4)}fillSetter(t4,e4,i3){"string"==typeof t4?i3.setAttribute(e4,t4):t4&&this.complexColor(t4,e4,i3)}hrefSetter(t4,e4,i3){i3.setAttributeNS("http://www.w3.org/1999/xlink",e4,t4)}getBBox(t4,e4){let i3,s3,r3,o3;let{alignValue:n3,element:a3,renderer:h3,styles:l3,textStr:d3}=this,{cache:c3,cacheKeys:p3}=h3,u3=a3.namespaceURI===this.SVG_NS,g3=A2(e4,this.rotation,0),f3=h3.styledMode?a3&&I.prototype.getStyle.call(a3,"font-size"):l3.fontSize;if(x2(d3)&&(-1===(o3=d3.toString()).indexOf("<")&&(o3=o3.replace(/\d/g,"0")),o3+=["",h3.rootFontSize,f3,g3,this.textWidth,n3,l3.textOverflow,l3.fontWeight].join(",")),o3&&!t4&&(i3=c3[o3]),!i3||i3.polygon){if(u3||h3.forExport){try{r3=this.fakeTS&&function(t6){let e5=a3.querySelector(".highcharts-text-outline");e5&&m2(e5,{display:t6})},C2(r3)&&r3("none"),i3=a3.getBBox?b2({},a3.getBBox()):{width:a3.offsetWidth,height:a3.offsetHeight,x:0,y:0},C2(r3)&&r3("")}catch(t6){}(!i3||i3.width<0)&&(i3={x:0,y:0,width:0,height:0})}else i3=this.htmlGetBBox();s3=i3.height,u3&&(i3.height=s3={"11px,17":14,"13px,20":16}[`${f3||""},${Math.round(s3)}`]||s3),g3&&(i3=this.getRotatedBox(i3,g3));let t5={bBox:i3};v2(this,"afterGetBBox",t5),i3=t5.bBox}if(o3&&(""===d3||i3.height>0)){for(;p3.length>250;)delete c3[p3.shift()];c3[o3]||p3.push(o3),c3[o3]=i3}return i3}getRotatedBox(t4,e4){let{x:i3,y:s3,width:r3,height:o3}=t4,{alignValue:n3,translateY:h3,rotationOriginX:l3=0,rotationOriginY:d3=0}=this,c3={right:1,center:.5}[n3||0]||0,p3=Number(this.element.getAttribute("y")||0)-(h3?0:s3),u3=e4*a2,g3=(e4-90)*a2,f3=Math.cos(u3),m3=Math.sin(u3),x3=r3*f3,y3=r3*m3,b3=Math.cos(g3),v3=Math.sin(g3),[[S3,C3],[k3,M2]]=[l3,d3].map((t5=>[t5-t5*f3,t5*m3])),w3=i3+c3*(r3-x3)+S3+M2+p3*b3,T3=w3+x3,A3=T3-o3*b3,P2=A3-x3,L3=s3+p3-c3*y3-C3+k3+p3*v3,O3=L3+y3,D3=O3-o3*v3,E3=D3-y3,I2=Math.min(w3,T3,A3,P2),j=Math.min(L3,O3,D3,E3),B=Math.max(w3,T3,A3,P2)-I2,R2=Math.max(L3,O3,D3,E3)-j;return{x:I2,y:j,width:B,height:R2,polygon:[[w3,L3],[T3,O3],[A3,D3],[P2,E3]]}}getStyle(t4){return c2.getComputedStyle(this.element||this,"").getPropertyValue(t4)}hasClass(t4){return-1!==(""+this.attr("class")).split(" ").indexOf(t4)}hide(){return this.attr({visibility:"hidden"})}htmlGetBBox(){return{height:0,width:0,x:0,y:0}}constructor(t4,e4){this.onEvents={},this.opacity=1,this.SVG_NS=d2,this.element="span"===e4||"body"===e4?g2(e4):h2.createElementNS(this.SVG_NS,e4),this.renderer=t4,this.styles={},v2(this,"afterInit")}on(t4,e4){let{onEvents:i3}=this;return i3[t4]&&i3[t4](),i3[t4]=p2(this.element,t4,e4),this}opacitySetter(t4,e4,i3){let s3=Number(Number(t4).toFixed(3));this.opacity=s3,i3.setAttribute(e4,s3)}reAlign(){var _a;((_a=this.alignOptions)==null?void 0:_a.width)&&"left"!==this.alignOptions.align&&(this.alignOptions.width=this.getBBox().width,this.placed=false,this.align())}removeClass(t4){return this.attr("class",(""+this.attr("class")).replace(M(t4)?RegExp(`(^| )${t4}( |$)`):t4," ").replace(/ +/g," ").trim())}removeTextOutline(){let t4=this.element.querySelector("tspan.highcharts-text-outline");t4&&this.safeRemoveChild(t4)}safeRemoveChild(t4){let e4=t4.parentNode;e4&&e4.removeChild(t4)}setRadialReference(t4){let e4=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=t4,e4&&e4.radAttr&&e4.animate(this.renderer.getRadialAttr(t4,e4.radAttr)),this}shadow(t4){var _a;let{renderer:e4}=this,i3=w2(((_a=this.parentGroup)==null?void 0:_a.rotation)===90?{offsetX:-1,offsetY:-1}:{},k2(t4)?t4:{}),s3=e4.shadowDefinition(i3);return this.attr({filter:t4?`url(${e4.url}#${s3})`:"none"})}show(t4=true){return this.attr({visibility:t4?"inherit":"visible"})}"stroke-widthSetter"(t4,e4,i3){this[e4]=t4,i3.setAttribute(e4,t4)}strokeWidth(){if(!this.renderer.styledMode)return this["stroke-width"]||0;let t4=this.getStyle("stroke-width"),e4=0,i3;return/px$/.test(t4)?e4=P(t4):""!==t4&&(u2(i3=h2.createElementNS(d2,"rect"),{width:t4,"stroke-width":0}),this.element.parentNode.appendChild(i3),e4=i3.getBBox().width,i3.parentNode.removeChild(i3)),e4}symbolAttr(t4){let e4=this;I.symbolCustomAttribs.forEach((function(i3){e4[i3]=A2(t4[i3],e4[i3])})),e4.attr({d:e4.renderer.symbols[e4.symbolName](e4.x,e4.y,e4.width,e4.height,e4)})}textSetter(t4){t4!==this.textStr&&(delete this.textPxLength,this.textStr=t4,this.added&&this.renderer.buildText(this),this.reAlign())}titleSetter(t4){let e4=this.element,i3=e4.getElementsByTagName("title")[0]||h2.createElementNS(this.SVG_NS,"title");e4.insertBefore?e4.insertBefore(i3,e4.firstChild):e4.appendChild(i3),i3.textContent=O2(A2(t4,""),[/<[^>]*>/g,""]).replace(/</g,"<").replace(/>/g,">")}toFront(){let t4=this.element;return t4.parentNode.appendChild(t4),this}translate(t4,e4){return this.attr({translateX:t4,translateY:e4})}updateTransform(t4="transform"){var _a;let{element:e4,matrix:i3,rotation:s3=0,rotationOriginX:r3,rotationOriginY:o3,scaleX:n3,scaleY:a3,translateX:h3=0,translateY:l3=0}=this,d3=["translate("+h3+","+l3+")"];x2(i3)&&d3.push("matrix("+i3.join(",")+")"),s3&&(d3.push("rotate("+s3+" "+A2(r3,e4.getAttribute("x"),0)+" "+A2(o3,e4.getAttribute("y")||0)+")"),((_a=this.text)==null?void 0:_a.element.tagName)==="SPAN"&&this.text.attr({rotation:s3,rotationOriginX:(r3||0)-this.padding,rotationOriginY:(o3||0)-this.padding})),(x2(n3)||x2(a3))&&d3.push("scale("+A2(n3,1)+" "+A2(a3,1)+")"),d3.length&&!(this.text||this).textPath&&e4.setAttribute(t4,d3.join(" "))}visibilitySetter(t4,e4,i3){"inherit"===t4?i3.removeAttribute(e4):this[e4]!==t4&&i3.setAttribute(e4,t4),this[e4]=t4}xGetter(t4){return"circle"===this.element.nodeName&&("x"===t4?t4="cx":"y"===t4&&(t4="cy")),this._defaultGetter(t4)}zIndexSetter(t4,e4){let i3=this.renderer,s3=this.parentGroup,r3=(s3||i3).element||i3.box,o3=this.element,n3=r3===i3.box,a3,h3,l3,d3=false,c3,p3=this.added,u3;if(x2(t4)?(o3.setAttribute("data-z-index",t4),t4=+t4,this[e4]===t4&&(p3=false)):x2(this[e4])&&o3.removeAttribute("data-z-index"),this[e4]=t4,p3){for((t4=this.zIndex)&&s3&&(s3.handleZ=true),u3=(a3=r3.childNodes).length-1;u3>=0&&!d3;u3--)c3=!x2(l3=(h3=a3[u3]).getAttribute("data-z-index")),h3!==o3&&(t4<0&&c3&&!n3&&!u3?(r3.insertBefore(o3,a3[u3]),d3=true):(P(l3)<=t4||c3&&(!x2(t4)||t4>=0))&&(r3.insertBefore(o3,a3[u3+1]),d3=true));d3||(r3.insertBefore(o3,a3[n3?3:0]),d3=true)}return d3}}return I.symbolCustomAttribs=["anchorX","anchorY","clockwise","end","height","innerR","r","start","width","x","y"],I.prototype.strokeSetter=I.prototype.fillSetter,I.prototype.yGetter=I.prototype.xGetter,I.prototype.matrixSetter=I.prototype.rotationOriginXSetter=I.prototype.rotationOriginYSetter=I.prototype.rotationSetter=I.prototype.scaleXSetter=I.prototype.scaleYSetter=I.prototype.translateXSetter=I.prototype.translateYSetter=I.prototype.verticalAlignSetter=function(t4,e4){this[e4]=t4,this.doTransform=true},I})),i(e2,"Core/Renderer/SVG/SVGLabel.js",[e2["Core/Renderer/SVG/SVGElement.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{defined:i2,extend:s2,isNumber:r2,merge:o2,pick:n2,removeEvent:a2}=e3;class h2 extends t3{constructor(t4,e4,i3,s3,r3,o3,n3,a3,l2,d2){let c2;super(t4,"g"),this.paddingLeftSetter=this.paddingSetter,this.paddingRightSetter=this.paddingSetter,this.doUpdate=false,this.textStr=e4,this.x=i3,this.y=s3,this.anchorX=o3,this.anchorY=n3,this.baseline=l2,this.className=d2,this.addClass("button"===d2?"highcharts-no-tooltip":"highcharts-label"),d2&&this.addClass("highcharts-"+d2),this.text=t4.text(void 0,0,0,a3).attr({zIndex:1}),"string"==typeof r3&&((c2=/^url\((.*?)\)$/.test(r3))||this.renderer.symbols[r3])&&(this.symbolKey=r3),this.bBox=h2.emptyBBox,this.padding=3,this.baselineOffset=0,this.needsBox=t4.styledMode||c2,this.deferredAttr={},this.alignFactor=0}alignSetter(t4){let e4={left:0,center:.5,right:1}[t4];e4!==this.alignFactor&&(this.alignFactor=e4,this.bBox&&r2(this.xSetting)&&this.attr({x:this.xSetting}))}anchorXSetter(t4,e4){this.anchorX=t4,this.boxAttr(e4,Math.round(t4)-this.getCrispAdjust()-this.xSetting)}anchorYSetter(t4,e4){this.anchorY=t4,this.boxAttr(e4,t4-this.ySetting)}boxAttr(t4,e4){this.box?this.box.attr(t4,e4):this.deferredAttr[t4]=e4}css(e4){if(e4){let t4={};e4=o2(e4),h2.textProps.forEach((i3=>{void 0!==e4[i3]&&(t4[i3]=e4[i3],delete e4[i3])})),this.text.css(t4),"fontSize"in t4||"fontWeight"in t4?this.updateTextPadding():("width"in t4||"textOverflow"in t4)&&this.updateBoxSize()}return t3.prototype.css.call(this,e4)}destroy(){a2(this.element,"mouseenter"),a2(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t3.prototype.destroy.call(this)}fillSetter(t4,e4){t4&&(this.needsBox=true),this.fill=t4,this.boxAttr(e4,t4)}getBBox(t4,e4){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();let{padding:i3,height:s3=0,translateX:r3=0,translateY:o3=0,width:a3=0}=this,h3=n2(this.paddingLeft,i3),l2=e4??(this.rotation||0),d2={width:a3,height:s3,x:r3+this.bBox.x-h3,y:o3+this.bBox.y-i3+this.baselineOffset};return l2&&(d2=this.getRotatedBox(d2,l2)),d2}getCrispAdjust(){return(this.renderer.styledMode&&this.box?this.box.strokeWidth():this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2}heightSetter(t4){this.heightSetting=t4,this.doUpdate=true}afterSetters(){super.afterSetters(),this.doUpdate&&(this.updateBoxSize(),this.doUpdate=false)}onAdd(){this.text.add(this),this.attr({text:n2(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&i2(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})}paddingSetter(t4,e4){r2(t4)?t4!==this[e4]&&(this[e4]=t4,this.updateTextPadding()):this[e4]=void 0}rSetter(t4,e4){this.boxAttr(e4,t4)}strokeSetter(t4,e4){this.stroke=t4,this.boxAttr(e4,t4)}"stroke-widthSetter"(t4,e4){t4&&(this.needsBox=true),this["stroke-width"]=t4,this.boxAttr(e4,t4)}"text-alignSetter"(t4){this.textAlign=t4}textSetter(t4){void 0!==t4&&this.text.attr({text:t4}),this.updateTextPadding(),this.reAlign()}updateBoxSize(){let t4;let e4=this.text,o3={},n3=this.padding,a3=this.bBox=(!r2(this.widthSetting)||!r2(this.heightSetting)||this.textAlign)&&i2(e4.textStr)?e4.getBBox(void 0,0):h2.emptyBBox;this.width=this.getPaddedWidth(),this.height=(this.heightSetting||a3.height||0)+2*n3;let l2=this.renderer.fontMetrics(e4);if(this.baselineOffset=n3+Math.min((this.text.firstLineMetrics||l2).b,a3.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-l2.h)/2),this.needsBox&&!e4.textPath){if(!this.box){let t5=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect();t5.addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),t5.add(this)}t4=this.getCrispAdjust(),o3.x=t4,o3.y=(this.baseline?-this.baselineOffset:0)+t4,o3.width=Math.round(this.width),o3.height=Math.round(this.height),this.box.attr(s2(o3,this.deferredAttr)),this.deferredAttr={}}}updateTextPadding(){let t4=this.text;if(!t4.textPath){this.updateBoxSize();let e4=this.baseline?0:this.baselineOffset,s3=n2(this.paddingLeft,this.padding);i2(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(s3+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),(s3!==t4.x||e4!==t4.y)&&(t4.attr("x",s3),t4.hasBoxWidthChanged&&(this.bBox=t4.getBBox(true)),void 0!==e4&&t4.attr("y",e4)),t4.x=s3,t4.y=e4}}widthSetter(t4){this.widthSetting=r2(t4)?t4:void 0,this.doUpdate=true}getPaddedWidth(){let t4=this.padding,e4=n2(this.paddingLeft,t4),i3=n2(this.paddingRight,t4);return(this.widthSetting||this.bBox.width||0)+e4+i3}xSetter(t4){this.x=t4,this.alignFactor&&(t4-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=true),this.xSetting=Math.round(t4),this.attr("translateX",this.xSetting)}ySetter(t4){this.ySetting=this.y=Math.round(t4),this.attr("translateY",this.ySetting)}}return h2.emptyBBox={width:0,height:0,x:0,y:0},h2.textProps=["color","direction","fontFamily","fontSize","fontStyle","fontWeight","lineHeight","textAlign","textDecoration","textOutline","textOverflow","whiteSpace","width"],h2})),i(e2,"Core/Renderer/SVG/Symbols.js",[e2["Core/Utilities.js"]],(function(t3){let{defined:e3,isNumber:i2,pick:s2}=t3;function r2(t4,i3,r3,o3,n3){let a2=[];if(n3){let h2=n3.start||0,l2=s2(n3.r,r3),d2=s2(n3.r,o3||r3),c2=2e-4/(n3.borderRadius?1:Math.max(l2,1)),p2=Math.abs((n3.end||0)-h2-2*Math.PI)<c2,u2=(n3.end||0)-(p2?c2:0),g2=n3.innerR,f2=s2(n3.open,p2),m2=Math.cos(h2),x2=Math.sin(h2),y2=Math.cos(u2),b2=Math.sin(u2),v2=s2(n3.longArc,u2-h2-Math.PI<c2?0:1),S2=["A",l2,d2,0,v2,s2(n3.clockwise,1),t4+l2*y2,i3+d2*b2];S2.params={start:h2,end:u2,cx:t4,cy:i3},a2.push(["M",t4+l2*m2,i3+d2*x2],S2),e3(g2)&&((S2=["A",g2,g2,0,v2,e3(n3.clockwise)?1-n3.clockwise:0,t4+g2*m2,i3+g2*x2]).params={start:u2,end:h2,cx:t4,cy:i3},a2.push(f2?["M",t4+g2*y2,i3+g2*b2]:["L",t4+g2*y2,i3+g2*b2],S2)),f2||a2.push(["Z"])}return a2}function o2(t4,e4,i3,s3,r3){return r3&&r3.r?n2(t4,e4,i3,s3,r3):[["M",t4,e4],["L",t4+i3,e4],["L",t4+i3,e4+s3],["L",t4,e4+s3],["Z"]]}function n2(t4,e4,i3,s3,r3){let o3=(r3==null?void 0:r3.r)||0;return[["M",t4+o3,e4],["L",t4+i3-o3,e4],["A",o3,o3,0,0,1,t4+i3,e4+o3],["L",t4+i3,e4+s3-o3],["A",o3,o3,0,0,1,t4+i3-o3,e4+s3],["L",t4+o3,e4+s3],["A",o3,o3,0,0,1,t4,e4+s3-o3],["L",t4,e4+o3],["A",o3,o3,0,0,1,t4+o3,e4],["Z"]]}return{arc:r2,callout:function(t4,e4,s3,r3,o3){let a2=Math.min(o3&&o3.r||0,s3,r3),h2=a2+6,l2=o3&&o3.anchorX,d2=o3&&o3.anchorY||0,c2=n2(t4,e4,s3,r3,{r:a2});if(!i2(l2)||l2<s3&&l2>0&&d2<r3&&d2>0)return c2;if(t4+l2>s3-h2){if(d2>e4+h2&&d2<e4+r3-h2)c2.splice(3,1,["L",t4+s3,d2-6],["L",t4+s3+6,d2],["L",t4+s3,d2+6],["L",t4+s3,e4+r3-a2]);else if(l2<s3){let i3=d2<e4+h2,o4=i3?e4:e4+r3;c2.splice(i3?2:5,0,["L",l2,d2],["L",t4+s3-a2,o4])}else c2.splice(3,1,["L",t4+s3,r3/2],["L",l2,d2],["L",t4+s3,r3/2],["L",t4+s3,e4+r3-a2])}else if(t4+l2<h2){if(d2>e4+h2&&d2<e4+r3-h2)c2.splice(7,1,["L",t4,d2+6],["L",t4-6,d2],["L",t4,d2-6],["L",t4,e4+a2]);else if(l2>0){let i3=d2<e4+h2,s4=i3?e4:e4+r3;c2.splice(i3?1:6,0,["L",l2,d2],["L",t4+a2,s4])}else c2.splice(7,1,["L",t4,r3/2],["L",l2,d2],["L",t4,r3/2],["L",t4,e4+a2])}else d2>r3&&l2<s3-h2?c2.splice(5,1,["L",l2+6,e4+r3],["L",l2,e4+r3+6],["L",l2-6,e4+r3],["L",t4+a2,e4+r3]):d2<0&&l2>h2&&c2.splice(1,1,["L",l2-6,e4],["L",l2,e4-6],["L",l2+6,e4],["L",s3-a2,e4]);return c2},circle:function(t4,e4,i3,s3){return r2(t4+i3/2,e4+s3/2,i3/2,s3/2,{start:.5*Math.PI,end:2.5*Math.PI,open:false})},diamond:function(t4,e4,i3,s3){return[["M",t4+i3/2,e4],["L",t4+i3,e4+s3/2],["L",t4+i3/2,e4+s3],["L",t4,e4+s3/2],["Z"]]},rect:o2,roundedRect:n2,square:o2,triangle:function(t4,e4,i3,s3){return[["M",t4+i3/2,e4],["L",t4+i3,e4+s3],["L",t4,e4+s3],["Z"]]},"triangle-down":function(t4,e4,i3,s3){return[["M",t4,e4],["L",t4+i3,e4],["L",t4+i3/2,e4+s3],["Z"]]}}})),i(e2,"Core/Renderer/SVG/TextBuilder.js",[e2["Core/Renderer/HTML/AST.js"],e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{doc:s2,SVG_NS:r2,win:o2}=e3,{attr:n2,extend:a2,fireEvent:h2,isString:l2,objectEach:d2,pick:c2}=i2;return class{constructor(t4){let e4=t4.styles;this.renderer=t4.renderer,this.svgElement=t4,this.width=t4.textWidth,this.textLineHeight=e4&&e4.lineHeight,this.textOutline=e4&&e4.textOutline,this.ellipsis=!!(e4&&"ellipsis"===e4.textOverflow),this.noWrap=!!(e4&&"nowrap"===e4.whiteSpace)}buildSVG(){let e4=this.svgElement,i3=e4.element,r3=e4.renderer,o3=c2(e4.textStr,"").toString(),n3=-1!==o3.indexOf("<"),a3=i3.childNodes,h3=!e4.added&&r3.box,d3=[o3,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,e4.getStyle("font-size"),this.width].join(",");if(d3!==e4.textCache){e4.textCache=d3,delete e4.actualWidth;for(let t4=a3.length;t4--;)i3.removeChild(a3[t4]);if(n3||this.ellipsis||this.width||e4.textPath||-1!==o3.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(o3))){if(""!==o3){h3&&h3.appendChild(i3);let s3=new t3(o3);this.modifyTree(s3.nodes),s3.addToDOM(i3),this.modifyDOM(),this.ellipsis&&-1!==(i3.textContent||"").indexOf("…")&&e4.attr("title",this.unescapeEntities(e4.textStr||"",["<",">"])),h3&&h3.removeChild(i3)}}else i3.appendChild(s2.createTextNode(this.unescapeEntities(o3)));l2(this.textOutline)&&e4.applyTextOutline&&e4.applyTextOutline(this.textOutline)}}modifyDOM(){let t4;let e4=this.svgElement,i3=n2(e4.element,"x");for(e4.firstLineMetrics=void 0;t4=e4.element.firstChild;)if(/^[\s\u200B]*$/.test(t4.textContent||" "))e4.element.removeChild(t4);else break;[].forEach.call(e4.element.querySelectorAll("tspan.highcharts-br"),((t5,s3)=>{t5.nextSibling&&t5.previousSibling&&(0===s3&&1===t5.previousSibling.nodeType&&(e4.firstLineMetrics=e4.renderer.fontMetrics(t5.previousSibling)),n2(t5,{dy:this.getLineHeight(t5.nextSibling),x:i3}))}));let a3=this.width||0;if(!a3)return;let h3=(t5,o3)=>{let h4=t5.textContent||"",l4=h4.replace(/([^\^])-/g,"$1- ").split(" "),d3=!this.noWrap&&(l4.length>1||e4.element.childNodes.length>1),c3=this.getLineHeight(o3),p2=0,u2=e4.actualWidth;if(this.ellipsis)h4&&this.truncate(t5,h4,void 0,0,Math.max(0,a3-.8*c3),((t6,e5)=>t6.substring(0,e5)+"…"));else if(d3){let h5=[],d4=[];for(;o3.firstChild&&o3.firstChild!==t5;)d4.push(o3.firstChild),o3.removeChild(o3.firstChild);for(;l4.length;)l4.length&&!this.noWrap&&p2>0&&(h5.push(t5.textContent||""),t5.textContent=l4.join(" ").replace(/- /g,"-")),this.truncate(t5,void 0,l4,0===p2&&u2||0,a3,((t6,e5)=>l4.slice(0,e5).join(" ").replace(/- /g,"-"))),u2=e4.actualWidth,p2++;d4.forEach((e5=>{o3.insertBefore(e5,t5)})),h5.forEach((e5=>{o3.insertBefore(s2.createTextNode(e5),t5);let a4=s2.createElementNS(r2,"tspan");a4.textContent="",n2(a4,{dy:c3,x:i3}),o3.insertBefore(a4,t5)}))}},l3=t5=>{[].slice.call(t5.childNodes).forEach((i4=>{i4.nodeType===o2.Node.TEXT_NODE?h3(i4,t5):(-1!==i4.className.baseVal.indexOf("highcharts-br")&&(e4.actualWidth=0),l3(i4))}))};l3(e4.element)}getLineHeight(t4){let e4=t4.nodeType===o2.Node.TEXT_NODE?t4.parentElement:t4;return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e4||this.svgElement.element).h}modifyTree(t4){let e4=(i3,s3)=>{let{attributes:r3={},children:o3,style:n3={},tagName:h3}=i3,l3=this.renderer.styledMode;if("b"===h3||"strong"===h3?l3?r3.class="highcharts-strong":n3.fontWeight="bold":("i"===h3||"em"===h3)&&(l3?r3.class="highcharts-emphasized":n3.fontStyle="italic"),n3&&n3.color&&(n3.fill=n3.color),"br"===h3){r3.class="highcharts-br",i3.textContent="";let e5=t4[s3+1];e5&&e5.textContent&&(e5.textContent=e5.textContent.replace(/^ +/gm,""))}else"a"===h3&&o3&&o3.some((t5=>"#text"===t5.tagName))&&(i3.children=[{children:o3,tagName:"tspan"}]);"#text"!==h3&&"a"!==h3&&(i3.tagName="tspan"),a2(i3,{attributes:r3,style:n3}),o3&&o3.filter((t5=>"#text"!==t5.tagName)).forEach(e4)};t4.forEach(e4),h2(this.svgElement,"afterModifyTree",{nodes:t4})}truncate(t4,e4,i3,s3,r3,o3){let n3,a3;let h3=this.svgElement,{rotation:l3}=h3,d3=[],c3=i3?1:0,p2=(e4||i3||"").length,u2=p2,g2=function(e5,r4){let o4=r4||e5,n4=t4.parentNode;if(n4&&void 0===d3[o4]&&n4.getSubStringLength)try{d3[o4]=s3+n4.getSubStringLength(0,i3?o4+1:o4)}catch(t5){}return d3[o4]};if(h3.rotation=0,s3+(a3=g2(t4.textContent.length))>r3){for(;c3<=p2;)u2=Math.ceil((c3+p2)/2),i3&&(n3=o3(i3,u2)),a3=g2(u2,n3&&n3.length-1),c3===p2?c3=p2+1:a3>r3?p2=u2-1:c3=u2;0===p2?t4.textContent="":e4&&p2===e4.length-1||(t4.textContent=n3||o3(e4||i3,u2))}i3&&i3.splice(0,u2),h3.actualWidth=a3,h3.rotation=l3}unescapeEntities(t4,e4){return d2(this.renderer.escapes,(function(i3,s3){e4&&-1!==e4.indexOf(i3)||(t4=t4.toString().replace(RegExp(i3,"g"),s3))})),t4}}})),i(e2,"Core/Renderer/SVG/SVGRenderer.js",[e2["Core/Renderer/HTML/AST.js"],e2["Core/Defaults.js"],e2["Core/Color/Color.js"],e2["Core/Globals.js"],e2["Core/Renderer/RendererRegistry.js"],e2["Core/Renderer/SVG/SVGElement.js"],e2["Core/Renderer/SVG/SVGLabel.js"],e2["Core/Renderer/SVG/Symbols.js"],e2["Core/Renderer/SVG/TextBuilder.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2,o2,n2,a2,h2,l2){let d2;let{defaultOptions:c2}=e3,{charts:p2,deg2rad:u2,doc:g2,isFirefox:f2,isMS:m2,isWebKit:x2,noop:y2,SVG_NS:b2,symbolSizes:v2,win:S2}=s2,{addEvent:C2,attr:k2,createElement:M,crisp:w2,css:T2,defined:A2,destroyObjectProperties:P,extend:L2,isArray:O2,isNumber:D2,isObject:E2,isString:I,merge:j,pick:B,pInt:R2,replaceNested:z2,uniqueKey:N}=l2;class W2{constructor(t4,e4,i3,s3,r3,o3,n3){let a3,h3;let l3=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),d3=l3.element;n3||l3.css(this.getStyle(s3||{})),t4.appendChild(d3),k2(t4,"dir","ltr"),-1===t4.innerHTML.indexOf("xmlns")&&k2(d3,"xmlns",this.SVG_NS),this.box=d3,this.boxWrapper=l3,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(g2.createTextNode("Created with Highcharts 11.4.8")),this.defs=this.createElement("defs").add(),this.allowHTML=o3,this.forExport=r3,this.styledMode=n3,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.rootFontSize=l3.getStyle("font-size"),this.setSize(e4,i3,false),f2&&t4.getBoundingClientRect&&((a3=function(){T2(t4,{left:0,top:0}),h3=t4.getBoundingClientRect(),T2(t4,{left:Math.ceil(h3.left)-h3.left+"px",top:Math.ceil(h3.top)-h3.top+"px"})})(),this.unSubPixelFix=C2(S2,"resize",a3))}definition(e4){return new t3([e4]).addToDOM(this.defs.element)}getReferenceURL(){if((f2||x2)&&g2.getElementsByTagName("base").length){if(!A2(d2)){let e4=N(),i3=new t3([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:e4},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":`url(#${e4})`,fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(g2.body);T2(i3,{position:"fixed",top:0,left:0,zIndex:9e5});let s3=g2.elementFromPoint(6,6);d2="hitme"===(s3&&s3.id),g2.body.removeChild(i3)}if(d2)return z2(S2.location.href.split("#")[0],[/<[^>]*>/g,""],[/([\('\)])/g,"\\$1"],[/ /g,"%20"])}return""}getStyle(t4){return this.style=L2({fontFamily:"Helvetica, Arial, sans-serif",fontSize:"1rem"},t4),this.style}setStyle(t4){this.boxWrapper.css(this.getStyle(t4))}isHidden(){return!this.boxWrapper.getBBox().width}destroy(){let t4=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),P(this.gradients||{}),this.gradients=null,this.defs=t4.destroy(),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null,null}createElement(t4){return new this.Element(this,t4)}getRadialAttr(t4,e4){return{cx:t4[0]-t4[2]/2+(e4.cx||0)*t4[2],cy:t4[1]-t4[2]/2+(e4.cy||0)*t4[2],r:(e4.r||0)*t4[2]}}shadowDefinition(t4){let e4=[`highcharts-drop-shadow-${this.chartIndex}`,...Object.keys(t4).map((e5=>`${e5}-${t4[e5]}`))].join("-").toLowerCase().replace(/[^a-z\d\-]/g,""),i3=j({color:"#000000",offsetX:1,offsetY:1,opacity:.15,width:5},t4);return this.defs.element.querySelector(`#${e4}`)||this.definition({tagName:"filter",attributes:{id:e4,filterUnits:i3.filterUnits},children:this.getShadowFilterContent(i3)}),e4}getShadowFilterContent(t4){return[{tagName:"feDropShadow",attributes:{dx:t4.offsetX,dy:t4.offsetY,"flood-color":t4.color,"flood-opacity":Math.min(5*t4.opacity,1),stdDeviation:t4.width/2}}]}buildText(t4){new h2(t4).buildSVG()}getContrast(t4){let e4=i2.parse(t4).rgba.map((t5=>{let e5=t5/255;return e5<=.03928?e5/12.92:Math.pow((e5+.055)/1.055,2.4)})),s3=.2126*e4[0]+.7152*e4[1]+.0722*e4[2];return 1.05/(s3+.05)>(s3+.05)/.05?"#FFFFFF":"#000000"}button(e4,i3,s3,r3,o3={},n3,a3,h3,l3,d3){let p3=this.label(e4,i3,s3,l3,void 0,void 0,d3,void 0,"button"),u3=this.styledMode,g3=arguments,f3=0;o3=j(c2.global.buttonTheme,o3),u3&&(delete o3.fill,delete o3.stroke,delete o3["stroke-width"]);let x3=o3.states||{},y3=o3.style||{};delete o3.states,delete o3.style;let b3=[t3.filterUserAttributes(o3)],v3=[y3];return u3||["hover","select","disabled"].forEach(((e5,i4)=>{b3.push(j(b3[0],t3.filterUserAttributes(g3[i4+5]||x3[e5]||{}))),v3.push(b3[i4+1].style),delete b3[i4+1].style})),C2(p3.element,m2?"mouseover":"mouseenter",(function(){3!==f3&&p3.setState(1)})),C2(p3.element,m2?"mouseout":"mouseleave",(function(){3!==f3&&p3.setState(f3)})),p3.setState=(t4=0)=>{if(1!==t4&&(p3.state=f3=t4),p3.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t4]),!u3){p3.attr(b3[t4]);let e5=v3[t4];E2(e5)&&p3.css(e5)}},p3.attr(b3[0]),!u3&&(p3.css(L2({cursor:"default"},y3)),d3&&p3.text.css({pointerEvents:"none"})),p3.on("touchstart",(t4=>t4.stopPropagation())).on("click",(function(t4){3!==f3&&r3.call(p3,t4)}))}crispLine(t4,e4){let[i3,s3]=t4;return A2(i3[1])&&i3[1]===s3[1]&&(i3[1]=s3[1]=w2(i3[1],e4)),A2(i3[2])&&i3[2]===s3[2]&&(i3[2]=s3[2]=w2(i3[2],e4)),t4}path(t4){let e4=this.styledMode?{}:{fill:"none"};return O2(t4)?e4.d=t4:E2(t4)&&L2(e4,t4),this.createElement("path").attr(e4)}circle(t4,e4,i3){let s3=E2(t4)?t4:void 0===t4?{}:{x:t4,y:e4,r:i3},r3=this.createElement("circle");return r3.xSetter=r3.ySetter=function(t5,e5,i4){i4.setAttribute("c"+e5,t5)},r3.attr(s3)}arc(t4,e4,i3,s3,r3,o3){let n3;E2(t4)?(e4=(n3=t4).y,i3=n3.r,s3=n3.innerR,r3=n3.start,o3=n3.end,t4=n3.x):n3={innerR:s3,start:r3,end:o3};let a3=this.symbol("arc",t4,e4,i3,i3,n3);return a3.r=i3,a3}rect(t4,e4,i3,s3,r3,o3){let n3=E2(t4)?t4:void 0===t4?{}:{x:t4,y:e4,r:r3,width:Math.max(i3||0,0),height:Math.max(s3||0,0)},a3=this.createElement("rect");return this.styledMode||(void 0!==o3&&(n3["stroke-width"]=o3,L2(n3,a3.crisp(n3))),n3.fill="none"),a3.rSetter=function(t5,e5,i4){a3.r=t5,k2(i4,{rx:t5,ry:t5})},a3.rGetter=function(){return a3.r||0},a3.attr(n3)}roundedRect(t4){return this.symbol("roundedRect").attr(t4)}setSize(t4,e4,i3){this.width=t4,this.height=e4,this.boxWrapper.animate({width:t4,height:e4},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:B(i3,true)?void 0:0}),this.alignElements()}g(t4){let e4=this.createElement("g");return t4?e4.attr({class:"highcharts-"+t4}):e4}image(t4,e4,i3,s3,r3,o3){let n3={preserveAspectRatio:"none"};D2(e4)&&(n3.x=e4),D2(i3)&&(n3.y=i3),D2(s3)&&(n3.width=s3),D2(r3)&&(n3.height=r3);let a3=this.createElement("image").attr(n3),h3=function(e5){a3.attr({href:t4}),o3.call(a3,e5)};if(o3){a3.attr({href:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="});let e5=new S2.Image;C2(e5,"load",h3),e5.src=t4,e5.complete&&h3({})}else a3.attr({href:t4});return a3}symbol(t4,e4,i3,s3,r3,o3){let n3,a3,h3,l3;let d3=this,c3=/^url\((.*?)\)$/,u3=c3.test(t4),f3=!u3&&(this.symbols[t4]?t4:"circle"),m3=f3&&this.symbols[f3];if(m3)"number"==typeof e4&&(a3=m3.call(this.symbols,e4||0,i3||0,s3||0,r3||0,o3)),n3=this.path(a3),d3.styledMode||n3.attr("fill","none"),L2(n3,{symbolName:f3||void 0,x:e4,y:i3,width:s3,height:r3}),o3&&L2(n3,o3);else if(u3){h3=t4.match(c3)[1];let s4=n3=this.image(h3);s4.imgwidth=B(o3&&o3.width,v2[h3]&&v2[h3].width),s4.imgheight=B(o3&&o3.height,v2[h3]&&v2[h3].height),l3=t5=>t5.attr({width:t5.width,height:t5.height}),["width","height"].forEach((t5=>{s4[`${t5}Setter`]=function(t6,e5){this[e5]=t6;let{alignByTranslate:i4,element:s5,width:r4,height:n4,imgwidth:a4,imgheight:h4}=this,l4="width"===e5?a4:h4,d4=1;o3&&"within"===o3.backgroundSize&&r4&&n4&&a4&&h4?(d4=Math.min(r4/a4,n4/h4),k2(s5,{width:Math.round(a4*d4),height:Math.round(h4*d4)})):s5&&l4&&s5.setAttribute(e5,l4),!i4&&a4&&h4&&this.translate(((r4||0)-a4*d4)/2,((n4||0)-h4*d4)/2)}})),A2(e4)&&s4.attr({x:e4,y:i3}),s4.isImg=true,s4.symbolUrl=t4,A2(s4.imgwidth)&&A2(s4.imgheight)?l3(s4):(s4.attr({width:0,height:0}),M("img",{onload:function(){let t5=p2[d3.chartIndex];0===this.width&&(T2(this,{position:"absolute",top:"-999em"}),g2.body.appendChild(this)),v2[h3]={width:this.width,height:this.height},s4.imgwidth=this.width,s4.imgheight=this.height,s4.element&&l3(s4),this.parentNode&&this.parentNode.removeChild(this),d3.imgCount--,d3.imgCount||!t5||t5.hasLoaded||t5.onload()},src:h3}),this.imgCount++)}return n3}clipRect(t4,e4,i3,s3){return this.rect(t4,e4,i3,s3,0)}text(t4,e4,i3,s3){let r3={};if(s3&&(this.allowHTML||!this.forExport))return this.html(t4,e4,i3);r3.x=Math.round(e4||0),i3&&(r3.y=Math.round(i3)),A2(t4)&&(r3.text=t4);let o3=this.createElement("text").attr(r3);return s3&&(!this.forExport||this.allowHTML)||(o3.xSetter=function(t5,e5,i4){let s4=i4.getElementsByTagName("tspan"),r4=i4.getAttribute(e5);for(let i5=0,o4;i5<s4.length;i5++)(o4=s4[i5]).getAttribute(e5)===r4&&o4.setAttribute(e5,t5);i4.setAttribute(e5,t5)}),o3}fontMetrics(t4){let e4=R2(o2.prototype.getStyle.call(t4,"font-size")||0),i3=e4<24?e4+3:Math.round(1.2*e4),s3=Math.round(.8*i3);return{h:i3,b:s3,f:e4}}rotCorr(t4,e4,i3){let s3=t4;return e4&&i3&&(s3=Math.max(s3*Math.cos(e4*u2),4)),{x:-t4/3*Math.sin(e4*u2),y:s3}}pathToSegments(t4){let e4=[],i3=[],s3={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2};for(let r3=0;r3<t4.length;r3++)I(i3[0])&&D2(t4[r3])&&i3.length===s3[i3[0].toUpperCase()]&&t4.splice(r3,0,i3[0].replace("M","L").replace("m","l")),"string"==typeof t4[r3]&&(i3.length&&e4.push(i3.slice(0)),i3.length=0),i3.push(t4[r3]);return e4.push(i3.slice(0)),e4}label(t4,e4,i3,s3,r3,o3,a3,h3,l3){return new n2(this,t4,e4,i3,s3,r3,o3,a3,h3,l3)}alignElements(){this.alignedObjects.forEach((t4=>t4.align()))}}return L2(W2.prototype,{Element:o2,SVG_NS:b2,escapes:{"&":"&","<":"<",">":">","'":"'",'"':"""},symbols:a2,draw:y2}),r2.registerRendererType("svg",W2,true),W2})),i(e2,"Core/Renderer/HTML/HTMLElement.js",[e2["Core/Renderer/HTML/AST.js"],e2["Core/Globals.js"],e2["Core/Renderer/SVG/SVGElement.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){let{composed:r2}=e3,{attr:o2,css:n2,createElement:a2,defined:h2,extend:l2,pInt:d2,pushUnique:c2}=s2;function p2(t4,e4,s3){var _a;let r3=((_a=this.div)==null?void 0:_a.style)||s3.style;i2.prototype[`${e4}Setter`].call(this,t4,e4,s3),r3&&(r3[e4]=t4)}let u2=(t4,e4)=>{var _a;if(!t4.div){let s3=o2(t4.element,"class"),r3=t4.css,n3=a2("div",s3?{className:s3}:void 0,{position:"absolute",left:`${t4.translateX||0}px`,top:`${t4.translateY||0}px`,...t4.styles,display:t4.display,opacity:t4.opacity,visibility:t4.visibility},((_a=t4.parentGroup)==null?void 0:_a.div)||e4);t4.classSetter=(t5,e5,i3)=>{i3.setAttribute("class",t5),n3.className=t5},t4.translateXSetter=t4.translateYSetter=(e5,i3)=>{t4[i3]=e5,n3.style["translateX"===i3?"left":"top"]=`${e5}px`,t4.doTransform=true},t4.opacitySetter=t4.visibilitySetter=p2,t4.css=e5=>(r3.call(t4,e5),e5.cursor&&(n3.style.cursor=e5.cursor),e5.pointerEvents&&(n3.style.pointerEvents=e5.pointerEvents),t4),t4.on=function(){return i2.prototype.on.apply({element:n3,onEvents:t4.onEvents},arguments),t4},t4.div=n3}return t4.div};class g2 extends i2{static compose(t4){c2(r2,this.compose)&&(t4.prototype.html=function(t5,e4,i3){return new g2(this,"span").attr({text:t5,x:Math.round(e4),y:Math.round(i3)})})}constructor(t4,e4){super(t4,e4),this.css({position:"absolute",...t4.styledMode?{}:{fontFamily:t4.style.fontFamily,fontSize:t4.style.fontSize}}),this.element.style.whiteSpace="nowrap"}getSpanCorrection(t4,e4,i3){this.xCorr=-t4*i3,this.yCorr=-e4}css(t4){let e4;let{element:i3}=this,s3="SPAN"===i3.tagName&&t4&&"width"in t4,r3=s3&&t4.width;return s3&&(delete t4.width,this.textWidth=d2(r3)||void 0,e4=true),(t4==null?void 0:t4.textOverflow)==="ellipsis"&&(t4.whiteSpace="nowrap",t4.overflow="hidden"),l2(this.styles,t4),n2(i3,t4),e4&&this.updateTransform(),this}htmlGetBBox(){let{element:t4}=this;return{x:t4.offsetLeft,y:t4.offsetTop,width:t4.offsetWidth,height:t4.offsetHeight}}updateTransform(){var _a;if(!this.added){this.alignOnAdd=true;return}let{element:t4,renderer:e4,rotation:i3,rotationOriginX:s3,rotationOriginY:r3,styles:o3,textAlign:a3="left",textWidth:l3,translateX:d3=0,translateY:c3=0,x:p3=0,y:u3=0}=this,g3={left:0,center:.5,right:1}[a3],f3=o3.whiteSpace;if(n2(t4,{marginLeft:`${d3}px`,marginTop:`${c3}px`}),"SPAN"===t4.tagName){let o4=[i3,a3,t4.innerHTML,l3,this.textAlign].join(","),d4=-(((_a=this.parentGroup)==null?void 0:_a.padding)*1)||0,c4,m2=false;if(l3!==this.oldTextWidth){let e5=this.textPxLength?this.textPxLength:(n2(t4,{width:"",whiteSpace:f3||"nowrap"}),t4.offsetWidth),s4=l3||0;(s4>this.oldTextWidth||e5>s4)&&(/[ \-]/.test(t4.textContent||t4.innerText)||"ellipsis"===t4.style.textOverflow)&&(n2(t4,{width:e5>s4||i3?l3+"px":"auto",display:"block",whiteSpace:f3||"normal"}),this.oldTextWidth=l3,m2=true)}this.hasBoxWidthChanged=m2,o4!==this.cTT&&(c4=e4.fontMetrics(t4).b,h2(i3)&&(i3!==(this.oldRotation||0)||a3!==this.oldAlign)&&this.setSpanRotation(i3,d4,d4),this.getSpanCorrection(!h2(i3)&&this.textPxLength||t4.offsetWidth,c4,g3));let{xCorr:x2=0,yCorr:y2=0}=this,b2=(s3??p3)-x2-p3-d4,v2=(r3??u3)-y2-u3-d4;n2(t4,{left:`${p3+x2}px`,top:`${u3+y2}px`,transformOrigin:`${b2}px ${v2}px`}),this.cTT=o4,this.oldRotation=i3,this.oldAlign=a3}}setSpanRotation(t4,e4,i3){n2(this.element,{transform:`rotate(${t4}deg)`,transformOrigin:`${e4}% ${i3}px`})}add(t4){let e4;let i3=this.renderer.box.parentNode,s3=[];if(this.parentGroup=t4,t4&&!(e4=t4.div)){let r3=t4;for(;r3;)s3.push(r3),r3=r3.parentGroup;for(let t5 of s3.reverse())e4=u2(t5,i3)}return(e4||i3).appendChild(this.element),this.added=true,this.alignOnAdd&&this.updateTransform(),this}textSetter(e4){e4!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t3.setElementHTML(this.element,e4??""),this.textStr=e4,this.doTransform=true)}alignSetter(t4){this.alignValue=this.textAlign=t4,this.doTransform=true}xSetter(t4,e4){this[e4]=t4,this.doTransform=true}}let f2=g2.prototype;return f2.visibilitySetter=f2.opacitySetter=p2,f2.ySetter=f2.rotationSetter=f2.rotationOriginXSetter=f2.rotationOriginYSetter=f2.xSetter,g2})),i(e2,"Core/Axis/AxisDefaults.js",[],(function(){var t3,e3;return(e3=t3||(t3={})).xAxis={alignTicks:true,allowDecimals:void 0,panningEnabled:true,zIndex:2,zoomEnabled:true,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:false},second:{main:"%H:%M:%S",range:false},minute:{main:"%H:%M",range:false},hour:{main:"%H:%M",range:false},day:{main:"%e %b"},week:{main:"%e %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:false,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotationLimit:80,distance:15,enabled:true,indentation:10,overflow:"justify",reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:false,zIndex:7,style:{color:"#333333",cursor:"default",fontSize:"0.8em"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minorTicksPerMajor:5,minPadding:.01,offset:void 0,reversed:void 0,reversedStacks:false,showEmpty:true,showFirstLabel:true,showLastLabel:true,startOfWeek:1,startOnTick:false,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",useHTML:false,x:0,y:0,style:{color:"#666666",fontSize:"0.8em"}},visible:true,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#333333",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#333333"},e3.yAxis={reversedStacks:true,endOnTick:true,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:true,labels:{x:void 0},startOnTick:true,title:{text:"Values"},stackLabels:{animation:{},allowOverlap:false,enabled:false,crop:true,overflow:"justify",formatter:function(){let{numberFormatter:t4}=this.axis.chart;return t4(this.total||0,-1)},style:{color:"#000000",fontSize:"0.7em",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t3})),i(e2,"Core/Foundation.js",[e2["Core/Utilities.js"]],(function(t3){var e3;let{addEvent:i2,isFunction:s2,objectEach:r2,removeEvent:o2}=t3;return(e3||(e3={})).registerEventOptions=function(t4,e4){t4.eventOptions=t4.eventOptions||{},r2(e4.events,(function(e5,r3){t4.eventOptions[r3]!==e5&&(t4.eventOptions[r3]&&(o2(t4,r3,t4.eventOptions[r3]),delete t4.eventOptions[r3]),s2(e5)&&(t4.eventOptions[r3]=e5,i2(t4,r3,e5,{order:0})))}))},e3})),i(e2,"Core/Axis/Tick.js",[e2["Core/Templating.js"],e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{deg2rad:s2}=e3,{clamp:r2,correctFloat:o2,defined:n2,destroyObjectProperties:a2,extend:h2,fireEvent:l2,isNumber:d2,merge:c2,objectEach:p2,pick:u2}=i2;return class{constructor(t4,e4,i3,s3,r3){this.isNew=true,this.isNewLabel=true,this.axis=t4,this.pos=e4,this.type=i3||"",this.parameters=r3||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,l2(this,"init"),i3||s3||this.addLabel()}addLabel(){let e4=this,i3=e4.axis,s3=i3.options,r3=i3.chart,a3=i3.categories,c3=i3.logarithmic,p3=i3.names,g2=e4.pos,f2=u2(e4.options&&e4.options.labels,s3.labels),m2=i3.tickPositions,x2=g2===m2[0],y2=g2===m2[m2.length-1],b2=(!f2.step||1===f2.step)&&1===i3.tickInterval,v2=m2.info,S2=e4.label,C2,k2,M,w2=this.parameters.category||(a3?u2(a3[g2],p3[g2],g2):g2);c3&&d2(w2)&&(w2=o2(c3.lin2log(w2))),i3.dateTime&&(v2?C2=(k2=r3.time.resolveDTLFormat(s3.dateTimeLabelFormats[!s3.grid&&v2.higherRanks[g2]||v2.unitName])).main:d2(w2)&&(C2=i3.dateTime.getXDateFormat(w2,s3.dateTimeLabelFormats||{}))),e4.isFirst=x2,e4.isLast=y2;let T2={axis:i3,chart:r3,dateTimeLabelFormat:C2,isFirst:x2,isLast:y2,pos:g2,tick:e4,tickPositionInfo:v2,value:w2};l2(this,"labelFormat",T2);let A2=e5=>f2.formatter?f2.formatter.call(e5,e5):f2.format?(e5.text=i3.defaultLabelFormatter.call(e5),t3.format(f2.format,e5,r3)):i3.defaultLabelFormatter.call(e5),P=A2.call(T2,T2),L2=k2&&k2.list;L2?e4.shortenLabel=function(){for(M=0;M<L2.length;M++)if(h2(T2,{dateTimeLabelFormat:L2[M]}),S2.attr({text:A2.call(T2,T2)}),S2.getBBox().width<i3.getSlotWidth(e4)-2*(f2.padding||0))return;S2.attr({text:""})}:e4.shortenLabel=void 0,b2&&i3._addedPlotLB&&e4.moveLabel(P,f2),n2(S2)||e4.movedLabel?S2&&S2.textStr!==P&&!b2&&(!S2.textWidth||f2.style.width||S2.styles.width||S2.css({width:null}),S2.attr({text:P}),S2.textPxLength=S2.getBBox().width):(e4.label=S2=e4.createLabel(P,f2),e4.rotation=0)}createLabel(t4,e4,i3){let s3=this.axis,r3=s3.chart,o3=n2(t4)&&e4.enabled?r3.renderer.text(t4,i3==null?void 0:i3.x,i3==null?void 0:i3.y,e4.useHTML).add(s3.labelGroup):void 0;return o3&&(r3.styledMode||o3.css(c2(e4.style)),o3.textPxLength=o3.getBBox().width),o3}destroy(){a2(this,this.axis)}getPosition(t4,e4,i3,s3){let n3=this.axis,a3=n3.chart,h3=s3&&a3.oldChartHeight||a3.chartHeight,d3={x:t4?o2(n3.translate(e4+i3,void 0,void 0,s3)+n3.transB):n3.left+n3.offset+(n3.opposite?(s3&&a3.oldChartWidth||a3.chartWidth)-n3.right-n3.left:0),y:t4?h3-n3.bottom+n3.offset-(n3.opposite?n3.height:0):o2(h3-n3.translate(e4+i3,void 0,void 0,s3)-n3.transB)};return d3.y=r2(d3.y,-1e9,1e9),l2(this,"afterGetPosition",{pos:d3}),d3}getLabelPosition(t4,e4,i3,r3,o3,a3,h3,d3){let c3,p3;let g2=this.axis,f2=g2.transA,m2=g2.isLinked&&g2.linkedParent?g2.linkedParent.reversed:g2.reversed,x2=g2.staggerLines,y2=g2.tickRotCorr||{x:0,y:0},b2=r3||g2.reserveSpaceDefault?0:-g2.labelOffset*("center"===g2.labelAlign?.5:1),v2=o3.distance,S2={};return c3=0===g2.side?i3.rotation?-v2:-i3.getBBox().height:2===g2.side?y2.y+v2:Math.cos(i3.rotation*s2)*(y2.y-i3.getBBox(false,0).height/2),n2(o3.y)&&(c3=0===g2.side&&g2.horiz?o3.y+c3:o3.y),t4=t4+u2(o3.x,[0,1,0,-1][g2.side]*v2)+b2+y2.x-(a3&&r3?a3*f2*(m2?-1:1):0),e4=e4+c3-(a3&&!r3?a3*f2*(m2?1:-1):0),x2&&(p3=h3/(d3||1)%x2,g2.opposite&&(p3=x2-p3-1),e4+=p3*(g2.labelOffset/x2)),S2.x=t4,S2.y=Math.round(e4),l2(this,"afterGetLabelPosition",{pos:S2,tickmarkOffset:a3,index:h3}),S2}getLabelSize(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0}getMarkPath(t4,e4,i3,s3,r3=false,o3){return o3.crispLine([["M",t4,e4],["L",t4+(r3?0:-i3),e4+(r3?i3:0)]],s3)}handleOverflow(t4){let e4=this.axis,i3=e4.options.labels,r3=t4.x,o3=e4.chart.chartWidth,n3=e4.chart.spacing,a3=u2(e4.labelLeft,Math.min(e4.pos,n3[3])),h3=u2(e4.labelRight,Math.max(e4.isRadial?0:e4.pos+e4.len,o3-n3[1])),l3=this.label,d3=this.rotation,c3={left:0,center:.5,right:1}[e4.labelAlign||l3.attr("align")],p3=l3.getBBox().width,g2=e4.getSlotWidth(this),f2={},m2=g2,x2=1,y2,b2,v2;d3||"justify"!==i3.overflow?d3<0&&r3-c3*p3<a3?v2=Math.round(r3/Math.cos(d3*s2)-a3):d3>0&&r3+c3*p3>h3&&(v2=Math.round((o3-r3)/Math.cos(d3*s2))):(y2=r3-c3*p3,b2=r3+(1-c3)*p3,y2<a3?m2=t4.x+m2*(1-c3)-a3:b2>h3&&(m2=h3-t4.x+m2*c3,x2=-1),(m2=Math.min(g2,m2))<g2&&"center"===e4.labelAlign&&(t4.x+=x2*(g2-m2-c3*(g2-Math.min(p3,m2)))),(p3>m2||e4.autoRotation&&(l3.styles||{}).width)&&(v2=m2)),v2&&(this.shortenLabel?this.shortenLabel():(f2.width=Math.floor(v2)+"px",(i3.style||{}).textOverflow||(f2.textOverflow="ellipsis"),l3.css(f2)))}moveLabel(t4,e4){let i3=this,s3=i3.label,r3=i3.axis,o3=false,n3;s3&&s3.textStr===t4?(i3.movedLabel=s3,o3=true,delete i3.label):p2(r3.ticks,(function(e5){o3||e5.isNew||e5===i3||!e5.label||e5.label.textStr!==t4||(i3.movedLabel=e5.label,o3=true,e5.labelPos=i3.movedLabel.xy,delete e5.label)})),!o3&&(i3.labelPos||s3)&&(n3=i3.labelPos||s3.xy,i3.movedLabel=i3.createLabel(t4,e4,n3),i3.movedLabel&&i3.movedLabel.attr({opacity:0}))}render(t4,e4,i3){let s3=this.axis,r3=s3.horiz,n3=this.pos,a3=u2(this.tickmarkOffset,s3.tickmarkOffset),h3=this.getPosition(r3,n3,a3,e4),d3=h3.x,c3=h3.y,p3=s3.pos,g2=p3+s3.len,f2=r3?d3:c3;!s3.chart.polar&&this.isNew&&(o2(f2)<p3||f2>g2)&&(i3=0);let m2=u2(i3,this.label&&this.label.newOpacity,1);i3=u2(i3,1),this.isActive=true,this.renderGridLine(e4,i3),this.renderMark(h3,i3),this.renderLabel(h3,e4,m2,t4),this.isNew=false,l2(this,"afterRender")}renderGridLine(t4,e4){let i3=this.axis,s3=i3.options,r3={},o3=this.pos,n3=this.type,a3=u2(this.tickmarkOffset,i3.tickmarkOffset),h3=i3.chart.renderer,l3=this.gridLine,d3,c3=s3.gridLineWidth,p3=s3.gridLineColor,g2=s3.gridLineDashStyle;"minor"===this.type&&(c3=s3.minorGridLineWidth,p3=s3.minorGridLineColor,g2=s3.minorGridLineDashStyle),l3||(i3.chart.styledMode||(r3.stroke=p3,r3["stroke-width"]=c3||0,r3.dashstyle=g2),n3||(r3.zIndex=1),t4&&(e4=0),this.gridLine=l3=h3.path().attr(r3).addClass("highcharts-"+(n3?n3+"-":"")+"grid-line").add(i3.gridGroup)),l3&&(d3=i3.getPlotLinePath({value:o3+a3,lineWidth:l3.strokeWidth(),force:"pass",old:t4,acrossPanes:false}))&&l3[t4||this.isNew?"attr":"animate"]({d:d3,opacity:e4})}renderMark(t4,e4){let i3=this.axis,s3=i3.options,r3=i3.chart.renderer,o3=this.type,n3=i3.tickSize(o3?o3+"Tick":"tick"),a3=t4.x,h3=t4.y,l3=u2(s3["minor"!==o3?"tickWidth":"minorTickWidth"],!o3&&i3.isXAxis?1:0),d3=s3["minor"!==o3?"tickColor":"minorTickColor"],c3=this.mark,p3=!c3;n3&&(i3.opposite&&(n3[0]=-n3[0]),c3||(this.mark=c3=r3.path().addClass("highcharts-"+(o3?o3+"-":"")+"tick").add(i3.axisGroup),i3.chart.styledMode||c3.attr({stroke:d3,"stroke-width":l3})),c3[p3?"attr":"animate"]({d:this.getMarkPath(a3,h3,n3[0],c3.strokeWidth(),i3.horiz,r3),opacity:e4}))}renderLabel(t4,e4,i3,s3){let r3=this.axis,o3=r3.horiz,n3=r3.options,a3=this.label,h3=n3.labels,l3=h3.step,c3=u2(this.tickmarkOffset,r3.tickmarkOffset),p3=t4.x,g2=t4.y,f2=true;a3&&d2(p3)&&(a3.xy=t4=this.getLabelPosition(p3,g2,a3,o3,h3,c3,s3,l3),(!this.isFirst||this.isLast||n3.showFirstLabel)&&(!this.isLast||this.isFirst||n3.showLastLabel)?!o3||h3.step||h3.rotation||e4||0===i3||this.handleOverflow(t4):f2=false,l3&&s3%l3&&(f2=false),f2&&d2(t4.y)?(t4.opacity=i3,a3[this.isNewLabel?"attr":"animate"](t4).show(true),this.isNewLabel=false):(a3.hide(),this.isNewLabel=true))}replaceMovedLabel(){let t4=this.label,e4=this.axis;t4&&!this.isNew&&(t4.animate({opacity:0},void 0,t4.destroy),delete this.label),e4.isDirty=true,this.label=this.movedLabel,delete this.movedLabel}}})),i(e2,"Core/Axis/Axis.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Axis/AxisDefaults.js"],e2["Core/Color/Color.js"],e2["Core/Defaults.js"],e2["Core/Foundation.js"],e2["Core/Globals.js"],e2["Core/Axis/Tick.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2,o2,n2,a2){let{animObject:h2}=t3,{xAxis:l2,yAxis:d2}=e3,{defaultOptions:c2}=s2,{registerEventOptions:p2}=r2,{deg2rad:u2}=o2,{arrayMax:g2,arrayMin:f2,clamp:m2,correctFloat:x2,defined:y2,destroyObjectProperties:b2,erase:v2,error:S2,extend:C2,fireEvent:k2,getClosestDistance:M,insertItem:w2,isArray:T2,isNumber:A2,isString:P,merge:L2,normalizeTickInterval:O2,objectEach:D2,pick:E2,relativeLength:I,removeEvent:j,splat:B,syncTimeout:R2}=a2,z2=(t4,e4)=>O2(e4,void 0,void 0,E2(t4.options.allowDecimals,e4<.5||void 0!==t4.tickAmount),!!t4.tickAmount);C2(c2,{xAxis:l2,yAxis:L2(l2,d2)});class N{constructor(t4,e4,i3){this.init(t4,e4,i3)}init(t4,e4,i3=this.coll){let s3="xAxis"===i3,r3=this.isZAxis||(t4.inverted?!s3:s3);this.chart=t4,this.horiz=r3,this.isXAxis=s3,this.coll=i3,k2(this,"init",{userOptions:e4}),this.opposite=E2(e4.opposite,this.opposite),this.side=E2(e4.side,this.side,r3?this.opposite?0:2:this.opposite?1:3),this.setOptions(e4);let o3=this.options,n3=o3.labels;this.type??(this.type=o3.type||"linear"),this.uniqueNames??(this.uniqueNames=o3.uniqueNames??true),k2(this,"afterSetType"),this.userOptions=e4,this.minPixelPadding=0,this.reversed=E2(o3.reversed,this.reversed),this.visible=o3.visible,this.zoomEnabled=o3.zoomEnabled,this.hasNames="category"===this.type||true===o3.categories,this.categories=T2(o3.categories)&&o3.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=y2(o3.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len??(this.len=0),this.minRange=this.userMinRange=o3.minRange||o3.maxZoom,this.range=o3.range,this.offset=o3.offset||0,this.max=void 0,this.min=void 0;let a3=E2(o3.crosshair,B(t4.options.tooltip.crosshairs)[s3?0:1]);this.crosshair=true===a3?{}:a3,-1===t4.axes.indexOf(this)&&(s3?t4.axes.splice(t4.xAxis.length,0,this):t4.axes.push(this),w2(this,t4[this.coll])),t4.orderItems(this.coll),this.series=this.series||[],t4.inverted&&!this.isZAxis&&s3&&!y2(this.reversed)&&(this.reversed=true),this.labelRotation=A2(n3.rotation)?n3.rotation:void 0,p2(this,o3),k2(this,"afterInit")}setOptions(t4){let e4=this.horiz?{labels:{autoRotation:[-45],padding:4},margin:15}:{labels:{padding:1},title:{rotation:90*this.side}};this.options=L2(e4,c2[this.coll],t4),k2(this,"afterSetOptions",{userOptions:t4})}defaultLabelFormatter(){let t4=this.axis,{numberFormatter:e4}=this.chart,i3=A2(this.value)?this.value:NaN,s3=t4.chart.time,r3=t4.categories,o3=this.dateTimeLabelFormat,n3=c2.lang,a3=n3.numericSymbols,h3=n3.numericSymbolMagnitude||1e3,l3=t4.logarithmic?Math.abs(i3):t4.tickInterval,d3=a3&&a3.length,p3,u3;if(r3)u3=`${this.value}`;else if(o3)u3=s3.dateFormat(o3,i3);else if(d3&&a3&&l3>=1e3)for(;d3--&&void 0===u3;)l3>=(p3=Math.pow(h3,d3+1))&&10*i3%p3==0&&null!==a3[d3]&&0!==i3&&(u3=e4(i3/p3,-1)+a3[d3]);return void 0===u3&&(u3=Math.abs(i3)>=1e4?e4(i3,-1):e4(i3,-1,void 0,"")),u3}getSeriesExtremes(){let t4;let e4=this;k2(this,"getSeriesExtremes",null,(function(){e4.hasVisibleSeries=false,e4.dataMin=e4.dataMax=e4.threshold=void 0,e4.softThreshold=!e4.isXAxis,e4.series.forEach((i3=>{if(i3.reserveSpace()){let s3=i3.options,r3,o3=s3.threshold,n3,a3;if(e4.hasVisibleSeries=true,e4.positiveValuesOnly&&0>=(o3||0)&&(o3=void 0),e4.isXAxis)(r3=i3.xData)&&r3.length&&(r3=e4.logarithmic?r3.filter((t5=>t5>0)):r3,n3=(t4=i3.getXExtremes(r3)).min,a3=t4.max,A2(n3)||n3 instanceof Date||(r3=r3.filter(A2),n3=(t4=i3.getXExtremes(r3)).min,a3=t4.max),r3.length&&(e4.dataMin=Math.min(E2(e4.dataMin,n3),n3),e4.dataMax=Math.max(E2(e4.dataMax,a3),a3)));else{let t5=i3.applyExtremes();A2(t5.dataMin)&&(n3=t5.dataMin,e4.dataMin=Math.min(E2(e4.dataMin,n3),n3)),A2(t5.dataMax)&&(a3=t5.dataMax,e4.dataMax=Math.max(E2(e4.dataMax,a3),a3)),y2(o3)&&(e4.threshold=o3),(!s3.softThreshold||e4.positiveValuesOnly)&&(e4.softThreshold=false)}}}))})),k2(this,"afterGetSeriesExtremes")}translate(t4,e4,i3,s3,r3,o3){var _a;let n3=this.linkedParent||this,a3=s3&&n3.old?n3.old.min:n3.min;if(!A2(a3))return NaN;let h3=n3.minPixelPadding,l3=(n3.isOrdinal||((_a=n3.brokenAxis)==null?void 0:_a.hasBreaks)||n3.logarithmic&&r3)&&n3.lin2val,d3=1,c3=0,p3=s3&&n3.old?n3.old.transA:n3.transA,u3=0;return p3||(p3=n3.transA),i3&&(d3*=-1,c3=n3.len),n3.reversed&&(d3*=-1,c3-=d3*(n3.sector||n3.len)),e4?(u3=(t4=t4*d3+c3-h3)/p3+a3,l3&&(u3=n3.lin2val(u3))):(l3&&(t4=n3.val2lin(t4)),u3=d3*(t4-a3)*p3+c3+d3*h3+(A2(o3)?p3*o3:0),n3.isRadial||(u3=x2(u3))),u3}toPixels(t4,e4){return this.translate(t4,false,!this.horiz,void 0,true)+(e4?0:this.pos)}toValue(t4,e4){return this.translate(t4-(e4?0:this.pos),true,!this.horiz,void 0,true)}getPlotLinePath(t4){let e4=this,i3=e4.chart,s3=e4.left,r3=e4.top,o3=t4.old,n3=t4.value,a3=t4.lineWidth,h3=o3&&i3.oldChartHeight||i3.chartHeight,l3=o3&&i3.oldChartWidth||i3.chartWidth,d3=e4.transB,c3=t4.translatedValue,p3=t4.force,u3,g3,f3,x3,y3;function b3(t5,e5,i4){return"pass"!==p3&&(t5<e5||t5>i4)&&(p3?t5=m2(t5,e5,i4):y3=true),t5}let v3={value:n3,lineWidth:a3,old:o3,force:p3,acrossPanes:t4.acrossPanes,translatedValue:c3};return k2(this,"getPlotLinePath",v3,(function(t5){u3=f3=(c3=m2(c3=E2(c3,e4.translate(n3,void 0,void 0,o3)),-1e9,1e9))+d3,g3=x3=h3-c3-d3,A2(c3)?e4.horiz?(g3=r3,x3=h3-e4.bottom+(e4.options.isInternal?0:i3.scrollablePixelsY||0),u3=f3=b3(u3,s3,s3+e4.width)):(u3=s3,f3=l3-e4.right+(i3.scrollablePixelsX||0),g3=x3=b3(g3,r3,r3+e4.height)):(y3=true,p3=false),t5.path=y3&&!p3?void 0:i3.renderer.crispLine([["M",u3,g3],["L",f3,x3]],a3||1)})),v3.path}getLinearTickPositions(t4,e4,i3){let s3,r3,o3;let n3=x2(Math.floor(e4/t4)*t4),a3=x2(Math.ceil(i3/t4)*t4),h3=[];if(x2(n3+t4)===n3&&(o3=20),this.single)return[e4];for(s3=n3;s3<=a3&&(h3.push(s3),(s3=x2(s3+t4,o3))!==r3);)r3=s3;return h3}getMinorTickInterval(){let{minorTicks:t4,minorTickInterval:e4}=this.options;return true===t4?E2(e4,"auto"):false!==t4?e4:void 0}getMinorTickPositions(){let t4=this.options,e4=this.tickPositions,i3=this.minorTickInterval,s3=this.pointRangePadding||0,r3=(this.min||0)-s3,o3=(this.max||0)+s3,n3=o3-r3,a3=[],h3;if(n3&&n3/i3<this.len/3){let s4=this.logarithmic;if(s4)this.paddedTicks.forEach((function(t5,e5,r4){e5&&a3.push.apply(a3,s4.getLogTickPositions(i3,r4[e5-1],r4[e5],true))}));else if(this.dateTime&&"auto"===this.getMinorTickInterval())a3=a3.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(i3),r3,o3,t4.startOfWeek));else for(h3=r3+(e4[0]-r3)%i3;h3<=o3&&h3!==a3[0];h3+=i3)a3.push(h3)}return 0!==a3.length&&this.trimTicks(a3),a3}adjustForMinRange(){let t4=this.options,e4=this.logarithmic,{max:i3,min:s3,minRange:r3}=this,o3,n3,a3,h3;this.isXAxis&&void 0===r3&&!e4&&(r3=y2(t4.min)||y2(t4.max)||y2(t4.floor)||y2(t4.ceiling)?null:Math.min(5*(M(this.series.map((t5=>{var _a;return(t5.xIncrement?(_a=t5.xData)==null?void 0:_a.slice(0,2):t5.xData)||[]})))||0),this.dataMax-this.dataMin)),A2(i3)&&A2(s3)&&A2(r3)&&i3-s3<r3&&(n3=this.dataMax-this.dataMin>=r3,o3=(r3-i3+s3)/2,a3=[s3-o3,E2(t4.min,s3-o3)],n3&&(a3[2]=e4?e4.log2lin(this.dataMin):this.dataMin),h3=[(s3=g2(a3))+r3,E2(t4.max,s3+r3)],n3&&(h3[2]=e4?e4.log2lin(this.dataMax):this.dataMax),(i3=f2(h3))-s3<r3&&(a3[0]=i3-r3,a3[1]=E2(t4.min,i3-r3),s3=g2(a3))),this.minRange=r3,this.min=s3,this.max=i3}getClosest(){let t4,e4;if(this.categories)e4=1;else{let i3=[];this.series.forEach((function(t5){var _a;let s3=t5.closestPointRange;((_a=t5.xData)==null?void 0:_a.length)===1?i3.push(t5.xData[0]):!t5.noSharedTooltip&&y2(s3)&&t5.reserveSpace()&&(e4=y2(e4)?Math.min(e4,s3):s3)})),i3.length&&(i3.sort(((t5,e5)=>t5-e5)),t4=M([i3]))}return t4&&e4?Math.min(t4,e4):t4||e4}nameToX(t4){let e4=T2(this.options.categories),i3=e4?this.categories:this.names,s3=t4.options.x,r3;return t4.series.requireSorting=false,y2(s3)||(s3=this.uniqueNames&&i3?e4?i3.indexOf(t4.name):E2(i3.keys[t4.name],-1):t4.series.autoIncrement()),-1===s3?!e4&&i3&&(r3=i3.length):r3=s3,void 0!==r3?(this.names[r3]=t4.name,this.names.keys[t4.name]=r3):t4.x&&(r3=t4.x),r3}updateNames(){let t4=this,e4=this.names;e4.length>0&&(Object.keys(e4.keys).forEach((function(t5){delete e4.keys[t5]})),e4.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach((e5=>{e5.xIncrement=null,(!e5.points||e5.isDirtyData)&&(t4.max=Math.max(t4.max,e5.xData.length-1),e5.processData(),e5.generatePoints()),e5.data.forEach((function(i3,s3){let r3;(i3==null?void 0:i3.options)&&void 0!==i3.name&&void 0!==(r3=t4.nameToX(i3))&&r3!==i3.x&&(i3.x=r3,e5.xData[s3]=r3)}))})))}setAxisTranslation(){let t4=this,e4=t4.max-t4.min,i3=t4.linkedParent,s3=!!t4.categories,r3=t4.isXAxis,o3=t4.axisPointRange||0,n3,a3=0,h3=0,l3,d3=t4.transA;(r3||s3||o3)&&(n3=t4.getClosest(),i3?(a3=i3.minPointOffset,h3=i3.pointRangePadding):t4.series.forEach((function(e5){let i4=s3?1:r3?E2(e5.options.pointRange,n3,0):t4.axisPointRange||0,l4=e5.options.pointPlacement;if(o3=Math.max(o3,i4),!t4.single||s3){let t5=e5.is("xrange")?!r3:r3;a3=Math.max(a3,t5&&P(l4)?0:i4/2),h3=Math.max(h3,t5&&"on"===l4?0:i4)}})),l3=t4.ordinal&&t4.ordinal.slope&&n3?t4.ordinal.slope/n3:1,t4.minPointOffset=a3*=l3,t4.pointRangePadding=h3*=l3,t4.pointRange=Math.min(o3,t4.single&&s3?1:e4),r3&&n3&&(t4.closestPointRange=n3)),t4.translationSlope=t4.transA=d3=t4.staticScale||t4.len/(e4+h3||1),t4.transB=t4.horiz?t4.left:t4.bottom,t4.minPixelPadding=d3*a3,k2(this,"afterSetAxisTranslation")}minFromRange(){let{max:t4,min:e4}=this;return A2(t4)&&A2(e4)&&t4-e4||void 0}setTickInterval(t4){var _a,_b,_c,_d;let{categories:e4,chart:i3,dataMax:s3,dataMin:r3,dateTime:o3,isXAxis:n3,logarithmic:a3,options:h3,softThreshold:l3}=this,d3=A2(this.threshold)?this.threshold:void 0,c3=this.minRange||0,{ceiling:p3,floor:u3,linkedTo:g3,softMax:f3,softMin:m3}=h3,b3=A2(g3)&&((_a=i3[this.coll])==null?void 0:_a[g3]),v3=h3.tickPixelInterval,C3=h3.maxPadding,M2=h3.minPadding,w3=0,T3,P2=A2(h3.tickInterval)&&h3.tickInterval>=0?h3.tickInterval:void 0,L3,O3,D3,I2;if(o3||e4||b3||this.getTickAmount(),D3=E2(this.userMin,h3.min),I2=E2(this.userMax,h3.max),b3?(this.linkedParent=b3,T3=b3.getExtremes(),this.min=E2(T3.min,T3.dataMin),this.max=E2(T3.max,T3.dataMax),this.type!==b3.type&&S2(11,true,i3)):(l3&&y2(d3)&&A2(s3)&&A2(r3)&&(r3>=d3?(L3=d3,M2=0):s3<=d3&&(O3=d3,C3=0)),this.min=E2(D3,L3,r3),this.max=E2(I2,O3,s3)),A2(this.max)&&A2(this.min)&&(a3&&(this.positiveValuesOnly&&!t4&&0>=Math.min(this.min,E2(r3,this.min))&&S2(10,true,i3),this.min=x2(a3.log2lin(this.min),16),this.max=x2(a3.log2lin(this.max),16)),this.range&&A2(r3)&&(this.userMin=this.min=D3=Math.max(r3,this.minFromRange()||0),this.userMax=I2=this.max,this.range=void 0)),k2(this,"foundExtremes"),this.adjustForMinRange(),A2(this.min)&&A2(this.max)){if(!A2(this.userMin)&&A2(m3)&&m3<this.min&&(this.min=D3=m3),!A2(this.userMax)&&A2(f3)&&f3>this.max&&(this.max=I2=f3),e4||this.axisPointRange||((_b=this.stacking)==null?void 0:_b.usePercentage)||b3||!(w3=this.max-this.min)||(!y2(D3)&&M2&&(this.min-=w3*M2),y2(I2)||!C3||(this.max+=w3*C3)),!A2(this.userMin)&&A2(u3)&&(this.min=Math.max(this.min,u3)),!A2(this.userMax)&&A2(p3)&&(this.max=Math.min(this.max,p3)),l3&&A2(r3)&&A2(s3)){let t5=d3||0;!y2(D3)&&this.min<t5&&r3>=t5?this.min=h3.minRange?Math.min(t5,this.max-c3):t5:!y2(I2)&&this.max>t5&&s3<=t5&&(this.max=h3.minRange?Math.max(t5,this.min+c3):t5)}!i3.polar&&this.min>this.max&&(y2(h3.min)?this.max=this.min:y2(h3.max)&&(this.min=this.max)),w3=this.max-this.min}if(this.min!==this.max&&A2(this.min)&&A2(this.max)?b3&&!P2&&v3===b3.options.tickPixelInterval?this.tickInterval=P2=b3.tickInterval:this.tickInterval=E2(P2,this.tickAmount?w3/Math.max(this.tickAmount-1,1):void 0,e4?1:w3*v3/Math.max(this.len,v3)):this.tickInterval=1,n3&&!t4){let t5=this.min!==((_c=this.old)==null?void 0:_c.min)||this.max!==((_d=this.old)==null?void 0:_d.max);this.series.forEach((function(e5){var _a2;e5.forceCrop=(_a2=e5.forceCropping)==null?void 0:_a2.call(e5),e5.processData(t5)})),k2(this,"postProcessData",{hasExtremesChanged:t5})}this.setAxisTranslation(),k2(this,"initialAxisTranslation"),this.pointRange&&!P2&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval));let j2=E2(h3.minTickInterval,o3&&!this.series.some((t5=>t5.noSharedTooltip))?this.closestPointRange:0);!P2&&this.tickInterval<j2&&(this.tickInterval=j2),o3||a3||P2||(this.tickInterval=z2(this,this.tickInterval)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()}setTickPositions(){var _a,_b;let t4=this.options,e4=t4.tickPositions,i3=t4.tickPositioner,s3=this.getMinorTickInterval(),r3=!this.isPanning,o3=r3&&t4.startOnTick,n3=r3&&t4.endOnTick,a3=[],h3;if(this.tickmarkOffset=this.categories&&"between"===t4.tickmarkPlacement&&1===this.tickInterval?.5:0,this.single=this.min===this.max&&y2(this.min)&&!this.tickAmount&&(this.min%1==0||false!==t4.allowDecimals),e4)a3=e4.slice();else if(A2(this.min)&&A2(this.max)){if(!((_a=this.ordinal)==null?void 0:_a.positions)&&(this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))a3=[this.min,this.max],S2(19,false,this.chart);else if(this.dateTime)a3=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,t4.units),this.min,this.max,t4.startOfWeek,(_b=this.ordinal)==null?void 0:_b.positions,this.closestPointRange,true);else if(this.logarithmic)a3=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else{let t5=this.tickInterval,e5=t5;for(;e5<=2*t5;)if(a3=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&a3.length>this.tickAmount)this.tickInterval=z2(this,e5*=1.1);else break}a3.length>this.len&&(a3=[a3[0],a3[a3.length-1]])[0]===a3[1]&&(a3.length=1),i3&&(this.tickPositions=a3,(h3=i3.apply(this,[this.min,this.max]))&&(a3=h3))}this.tickPositions=a3,this.minorTickInterval="auto"===s3&&this.tickInterval?this.tickInterval/t4.minorTicksPerMajor:s3,this.paddedTicks=a3.slice(0),this.trimTicks(a3,o3,n3),!this.isLinked&&A2(this.min)&&A2(this.max)&&(this.single&&a3.length<2&&!this.categories&&!this.series.some((t5=>t5.is("heatmap")&&"between"===t5.options.pointPlacement))&&(this.min-=.5,this.max+=.5),e4||h3||this.adjustTickAmount()),k2(this,"afterSetTickPositions")}trimTicks(t4,e4,i3){let s3=t4[0],r3=t4[t4.length-1],o3=!this.isOrdinal&&this.minPointOffset||0;if(k2(this,"trimTicks"),!this.isLinked){if(e4&&s3!==-1/0)this.min=s3;else for(;this.min-o3>t4[0];)t4.shift();if(i3)this.max=r3;else for(;this.max+o3<t4[t4.length-1];)t4.pop();0===t4.length&&y2(s3)&&!this.options.tickPositions&&t4.push((r3+s3)/2)}}alignToOthers(){let t4;let e4=this,i3=e4.chart,s3=[this],r3=e4.options,o3=i3.options.chart,n3="yAxis"===this.coll&&o3.alignThresholds,a3=[];if(e4.thresholdAlignment=void 0,(false!==o3.alignTicks&&r3.alignTicks||n3)&&false!==r3.startOnTick&&false!==r3.endOnTick&&!e4.logarithmic){let r4=t5=>{let{horiz:e5,options:i4}=t5;return[e5?i4.left:i4.top,i4.width,i4.height,i4.pane].join(",")},o4=r4(this);i3[this.coll].forEach((function(i4){let{series:n4}=i4;n4.length&&n4.some((t5=>t5.visible))&&i4!==e4&&r4(i4)===o4&&(t4=true,s3.push(i4))}))}if(t4&&n3){s3.forEach((t6=>{let i4=t6.getThresholdAlignment(e4);A2(i4)&&a3.push(i4)}));let t5=a3.length>1?a3.reduce(((t6,e5)=>t6+=e5),0)/a3.length:void 0;s3.forEach((e5=>{e5.thresholdAlignment=t5}))}return t4}getThresholdAlignment(t4){if((!A2(this.dataMin)||this!==t4&&this.series.some((t5=>t5.isDirty||t5.isDirtyData)))&&this.getSeriesExtremes(),A2(this.threshold)){let t5=m2((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1);return this.options.reversed&&(t5=1-t5),t5}}getTickAmount(){let t4=this.options,e4=t4.tickPixelInterval,i3=t4.tickAmount;y2(t4.tickInterval)||i3||!(this.len<e4)||this.isRadial||this.logarithmic||!t4.startOnTick||!t4.endOnTick||(i3=2),!i3&&this.alignToOthers()&&(i3=Math.ceil(this.len/e4)+1),i3<4&&(this.finalTickAmt=i3,i3=5),this.tickAmount=i3}adjustTickAmount(){let t4=this,{finalTickAmt:e4,max:i3,min:s3,options:r3,tickPositions:o3,tickAmount:n3,thresholdAlignment:a3}=t4,h3=o3==null?void 0:o3.length,l3=E2(t4.threshold,t4.softThreshold?0:null),d3,c3,p3=t4.tickInterval,u3,g3=()=>o3.push(x2(o3[o3.length-1]+p3)),f3=()=>o3.unshift(x2(o3[0]-p3));if(A2(a3)&&(u3=a3<.5?Math.ceil(a3*(n3-1)):Math.floor(a3*(n3-1)),r3.reversed&&(u3=n3-1-u3)),t4.hasData()&&A2(s3)&&A2(i3)){let a4=()=>{t4.transA*=(h3-1)/(n3-1),t4.min=r3.startOnTick?o3[0]:Math.min(s3,o3[0]),t4.max=r3.endOnTick?o3[o3.length-1]:Math.max(i3,o3[o3.length-1])};if(A2(u3)&&A2(t4.threshold)){for(;o3[u3]!==l3||o3.length!==n3||o3[0]>s3||o3[o3.length-1]<i3;){for(o3.length=0,o3.push(t4.threshold);o3.length<n3;)void 0===o3[u3]||o3[u3]>t4.threshold?f3():g3();if(p3>8*t4.tickInterval)break;p3*=2}a4()}else if(h3<n3){for(;o3.length<n3;)o3.length%2||s3===l3?g3():f3();a4()}if(y2(e4)){for(c3=d3=o3.length;c3--;)(3===e4&&c3%2==1||e4<=2&&c3>0&&c3<d3-1)&&o3.splice(c3,1);t4.finalTickAmt=void 0}}}setScale(){var _a,_b;let{coll:t4,stacking:e4}=this,i3=false,s3=false;this.series.forEach((t5=>{i3=i3||t5.isDirtyData||t5.isDirty,s3=s3||t5.xAxis&&t5.xAxis.isDirty||false})),this.setAxisSize();let r3=this.len!==(this.old&&this.old.len);r3||i3||s3||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(e4&&"yAxis"===t4&&e4.buildStacks(),this.forceRedraw=false,this.userMinRange||(this.minRange=void 0),this.getSeriesExtremes(),this.setTickInterval(),e4&&"xAxis"===t4&&e4.buildStacks(),this.isDirty||(this.isDirty=r3||this.min!==((_a=this.old)==null?void 0:_a.min)||this.max!==((_b=this.old)==null?void 0:_b.max))):e4&&e4.cleanStacks(),i3&&delete this.allExtremes,k2(this,"afterSetScale")}setExtremes(t4,e4,i3=true,s3,r3){this.series.forEach((t5=>{delete t5.kdTree})),k2(this,"setExtremes",r3=C2(r3,{min:t4,max:e4}),(t5=>{this.userMin=t5.min,this.userMax=t5.max,this.eventArgs=t5,i3&&this.chart.redraw(s3)}))}setAxisSize(){let t4=this.chart,e4=this.options,i3=e4.offsets||[0,0,0,0],s3=this.horiz,r3=this.width=Math.round(I(E2(e4.width,t4.plotWidth-i3[3]+i3[1]),t4.plotWidth)),o3=this.height=Math.round(I(E2(e4.height,t4.plotHeight-i3[0]+i3[2]),t4.plotHeight)),n3=this.top=Math.round(I(E2(e4.top,t4.plotTop+i3[0]),t4.plotHeight,t4.plotTop)),a3=this.left=Math.round(I(E2(e4.left,t4.plotLeft+i3[3]),t4.plotWidth,t4.plotLeft));this.bottom=t4.chartHeight-o3-n3,this.right=t4.chartWidth-r3-a3,this.len=Math.max(s3?r3:o3,0),this.pos=s3?a3:n3}getExtremes(){let t4=this.logarithmic;return{min:t4?x2(t4.lin2log(this.min)):this.min,max:t4?x2(t4.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}}getThreshold(t4){let e4=this.logarithmic,i3=e4?e4.lin2log(this.min):this.min,s3=e4?e4.lin2log(this.max):this.max;return null===t4||t4===-1/0?t4=i3:t4===1/0?t4=s3:i3>t4?t4=i3:s3<t4&&(t4=s3),this.translate(t4,0,1,0,1)}autoLabelAlign(t4){let e4=(E2(t4,0)-90*this.side+720)%360,i3={align:"center"};return k2(this,"autoLabelAlign",i3,(function(t5){e4>15&&e4<165?t5.align="right":e4>195&&e4<345&&(t5.align="left")})),i3.align}tickSize(t4){let e4=this.options,i3=E2(e4["tick"===t4?"tickWidth":"minorTickWidth"],"tick"===t4&&this.isXAxis&&!this.categories?1:0),s3=e4["tick"===t4?"tickLength":"minorTickLength"],r3;i3&&s3&&("inside"===e4[t4+"Position"]&&(s3=-s3),r3=[s3,i3]);let o3={tickSize:r3};return k2(this,"afterTickSize",o3),o3.tickSize}labelMetrics(){let t4=this.chart.renderer,e4=this.ticks,i3=e4[Object.keys(e4)[0]]||{};return this.chart.renderer.fontMetrics(i3.label||i3.movedLabel||t4.box)}unsquish(){let t4=this.options.labels,e4=t4.padding||0,i3=this.horiz,s3=this.tickInterval,r3=this.len/(((this.categories?1:0)+this.max-this.min)/s3),o3=t4.rotation,n3=x2(.8*this.labelMetrics().h),a3=Math.max(this.max-this.min,0),h3=function(t5){let i4=(t5+2*e4)/(r3||1);return(i4=i4>1?Math.ceil(i4):1)*s3>a3&&t5!==1/0&&r3!==1/0&&a3&&(i4=Math.ceil(a3/s3)),x2(i4*s3)},l3=s3,d3,c3=Number.MAX_VALUE,p3;if(i3){if(!t4.staggerLines&&(A2(o3)?p3=[o3]:r3<t4.autoRotationLimit&&(p3=t4.autoRotation)),p3){let t5,e5;for(let i4 of p3)(i4===o3||i4&&i4>=-90&&i4<=90)&&(e5=(t5=h3(Math.abs(n3/Math.sin(u2*i4))))+Math.abs(i4/360))<c3&&(c3=e5,d3=i4,l3=t5)}}else l3=h3(.75*n3);return this.autoRotation=p3,this.labelRotation=E2(d3,A2(o3)?o3:0),t4.step?s3:l3}getSlotWidth(t4){let e4=this.chart,i3=this.horiz,s3=this.options.labels,r3=Math.max(this.tickPositions.length-(this.categories?0:1),1),o3=e4.margin[3];if(t4&&A2(t4.slotWidth))return t4.slotWidth;if(i3&&s3.step<2)return s3.rotation?0:(this.staggerLines||1)*this.len/r3;if(!i3){let t5=s3.style.width;if(void 0!==t5)return parseInt(String(t5),10);if(o3)return o3-e4.spacing[3]}return.33*e4.chartWidth}renderUnsquish(){let t4=this.chart,e4=t4.renderer,i3=this.tickPositions,s3=this.ticks,r3=this.options.labels,o3=r3.style,n3=this.horiz,a3=this.getSlotWidth(),h3=Math.max(1,Math.round(a3-(n3?2*(r3.padding||0):r3.distance||0))),l3={},d3=this.labelMetrics(),c3=o3.textOverflow,p3,u3,g3=0,f3,m3;if(P(r3.rotation)||(l3.rotation=r3.rotation||0),i3.forEach((function(t5){let e5=s3[t5];e5.movedLabel&&e5.replaceMovedLabel(),e5&&e5.label&&e5.label.textPxLength>g3&&(g3=e5.label.textPxLength)})),this.maxLabelLength=g3,this.autoRotation)g3>h3&&g3>d3.h?l3.rotation=this.labelRotation:this.labelRotation=0;else if(a3&&(p3=h3,!c3))for(u3="clip",m3=i3.length;!n3&&m3--;)(f3=s3[i3[m3]].label)&&("ellipsis"===f3.styles.textOverflow?f3.css({textOverflow:"clip"}):f3.textPxLength>a3&&f3.css({width:a3+"px"}),f3.getBBox().height>this.len/i3.length-(d3.h-d3.f)&&(f3.specificTextOverflow="ellipsis"));l3.rotation&&(p3=g3>.5*t4.chartHeight?.33*t4.chartHeight:g3,c3||(u3="ellipsis")),this.labelAlign=r3.align||this.autoLabelAlign(this.labelRotation),this.labelAlign&&(l3.align=this.labelAlign),i3.forEach((function(t5){let e5=s3[t5],i4=e5&&e5.label,r4=o3.width,n4={};i4&&(i4.attr(l3),e5.shortenLabel?e5.shortenLabel():p3&&!r4&&"nowrap"!==o3.whiteSpace&&(p3<i4.textPxLength||"SPAN"===i4.element.tagName)?(n4.width=p3+"px",c3||(n4.textOverflow=i4.specificTextOverflow||u3),i4.css(n4)):!i4.styles.width||n4.width||r4||i4.css({width:null}),delete i4.specificTextOverflow,e5.rotation=l3.rotation)}),this),this.tickRotCorr=e4.rotCorr(d3.b,this.labelRotation||0,0!==this.side)}hasData(){return this.series.some((function(t4){return t4.hasData()}))||this.options.showEmpty&&y2(this.min)&&y2(this.max)}addTitle(t4){let e4;let i3=this.chart.renderer,s3=this.horiz,r3=this.opposite,o3=this.options.title,n3=this.chart.styledMode;this.axisTitle||((e4=o3.textAlign)||(e4=(s3?{low:"left",middle:"center",high:"right"}:{low:r3?"right":"left",middle:"center",high:r3?"left":"right"})[o3.align]),this.axisTitle=i3.text(o3.text||"",0,0,o3.useHTML).attr({zIndex:7,rotation:o3.rotation||0,align:e4}).addClass("highcharts-axis-title"),n3||this.axisTitle.css(L2(o3.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=true),n3||o3.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[t4?"show":"hide"](t4)}generateTick(t4){let e4=this.ticks;e4[t4]?e4[t4].addLabel():e4[t4]=new n2(this,t4)}createGroups(){let{axisParent:t4,chart:e4,coll:i3,options:s3}=this,r3=e4.renderer,o3=(e5,o4,n3)=>r3.g(e5).attr({zIndex:n3}).addClass(`highcharts-${i3.toLowerCase()}${o4} `+(this.isRadial?`highcharts-radial-axis${o4} `:"")+(s3.className||"")).add(t4);this.axisGroup||(this.gridGroup=o3("grid","-grid",s3.gridZIndex),this.axisGroup=o3("axis","",s3.zIndex),this.labelGroup=o3("axis-labels","-labels",s3.labels.zIndex))}getOffset(){let t4=this,{chart:e4,horiz:i3,options:s3,side:r3,ticks:o3,tickPositions:n3,coll:a3}=t4,h3=e4.inverted&&!t4.isZAxis?[1,0,3,2][r3]:r3,l3=t4.hasData(),d3=s3.title,c3=s3.labels,p3=A2(s3.crossing),u3=e4.axisOffset,g3=e4.clipOffset,f3=[-1,1,1,-1][r3],m3,x3=0,b3,v3=0,S3=0,C3,M2;if(t4.showAxis=m3=l3||s3.showEmpty,t4.staggerLines=t4.horiz&&c3.staggerLines||void 0,t4.createGroups(),l3||t4.isLinked?(n3.forEach((function(e5){t4.generateTick(e5)})),t4.renderUnsquish(),t4.reserveSpaceDefault=0===r3||2===r3||{1:"left",3:"right"}[r3]===t4.labelAlign,E2(c3.reserveSpace,!p3&&null,"center"===t4.labelAlign||null,t4.reserveSpaceDefault)&&n3.forEach((function(t5){S3=Math.max(o3[t5].getLabelSize(),S3)})),t4.staggerLines&&(S3*=t4.staggerLines),t4.labelOffset=S3*(t4.opposite?-1:1)):D2(o3,(function(t5,e5){t5.destroy(),delete o3[e5]})),(d3==null?void 0:d3.text)&&false!==d3.enabled&&(t4.addTitle(m3),m3&&!p3&&false!==d3.reserveSpace&&(t4.titleOffset=x3=t4.axisTitle.getBBox()[i3?"height":"width"],v3=y2(b3=d3.offset)?0:E2(d3.margin,i3?5:10))),t4.renderLine(),t4.offset=f3*E2(s3.offset,u3[r3]?u3[r3]+(s3.margin||0):0),t4.tickRotCorr=t4.tickRotCorr||{x:0,y:0},M2=0===r3?-t4.labelMetrics().h:2===r3?t4.tickRotCorr.y:0,C3=Math.abs(S3)+v3,S3&&(C3-=M2,C3+=f3*(i3?E2(c3.y,t4.tickRotCorr.y+f3*c3.distance):E2(c3.x,f3*c3.distance))),t4.axisTitleMargin=E2(b3,C3),t4.getMaxLabelDimensions&&(t4.maxLabelDimensions=t4.getMaxLabelDimensions(o3,n3)),"colorAxis"!==a3&&g3){let e5=this.tickSize("tick");u3[r3]=Math.max(u3[r3],(t4.axisTitleMargin||0)+x3+f3*t4.offset,C3,n3&&n3.length&&e5?e5[0]+f3*t4.offset:0);let i4=!t4.axisLine||s3.offset?0:t4.axisLine.strokeWidth()/2;g3[h3]=Math.max(g3[h3],i4)}k2(this,"afterGetOffset")}getLinePath(t4){let e4=this.chart,i3=this.opposite,s3=this.offset,r3=this.horiz,o3=this.left+(i3?this.width:0)+s3,n3=e4.chartHeight-this.bottom-(i3?this.height:0)+s3;return i3&&(t4*=-1),e4.renderer.crispLine([["M",r3?this.left:o3,r3?n3:this.top],["L",r3?e4.chartWidth-this.right:o3,r3?n3:e4.chartHeight-this.bottom]],t4)}renderLine(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))}getTitlePosition(t4){let e4=this.horiz,i3=this.left,s3=this.top,r3=this.len,o3=this.options.title,n3=e4?i3:s3,a3=this.opposite,h3=this.offset,l3=o3.x,d3=o3.y,c3=this.chart.renderer.fontMetrics(t4),p3=t4?Math.max(t4.getBBox(false,0).height-c3.h-1,0):0,u3={low:n3+(e4?0:r3),middle:n3+r3/2,high:n3+(e4?r3:0)}[o3.align],g3=(e4?s3+this.height:i3)+(e4?1:-1)*(a3?-1:1)*(this.axisTitleMargin||0)+[-p3,p3,c3.f,-p3][this.side],f3={x:e4?u3+l3:g3+(a3?this.width:0)+h3+l3,y:e4?g3+d3-(a3?this.height:0)+h3:u3+d3};return k2(this,"afterGetTitlePosition",{titlePosition:f3}),f3}renderMinorTick(t4,e4){let i3=this.minorTicks;i3[t4]||(i3[t4]=new n2(this,t4,"minor")),e4&&i3[t4].isNew&&i3[t4].render(null,true),i3[t4].render(null,false,1)}renderTick(t4,e4,i3){let s3=this.isLinked,r3=this.ticks;(!s3||t4>=this.min&&t4<=this.max||this.grid&&this.grid.isColumn)&&(r3[t4]||(r3[t4]=new n2(this,t4)),i3&&r3[t4].isNew&&r3[t4].render(e4,true,-1),r3[t4].render(e4))}render(){let t4,e4;let i3=this,s3=i3.chart,r3=i3.logarithmic,a3=s3.renderer,l3=i3.options,d3=i3.isLinked,c3=i3.tickPositions,p3=i3.axisTitle,u3=i3.ticks,g3=i3.minorTicks,f3=i3.alternateBands,m3=l3.stackLabels,x3=l3.alternateGridColor,y3=l3.crossing,b3=i3.tickmarkOffset,v3=i3.axisLine,S3=i3.showAxis,C3=h2(a3.globalAnimation);if(i3.labelEdge.length=0,i3.overlap=false,[u3,g3,f3].forEach((function(t5){D2(t5,(function(t6){t6.isActive=false}))})),A2(y3)){let t5=this.isXAxis?s3.yAxis[0]:s3.xAxis[0],e5=[1,-1,-1,1][this.side];if(t5){let s4=t5.toPixels(y3,true);i3.horiz&&(s4=t5.len-s4),i3.offset=e5*s4}}if(i3.hasData()||d3){let a4=i3.chart.hasRendered&&i3.old&&A2(i3.old.min);i3.minorTickInterval&&!i3.categories&&i3.getMinorTickPositions().forEach((function(t5){i3.renderMinorTick(t5,a4)})),c3.length&&(c3.forEach((function(t5,e5){i3.renderTick(t5,e5,a4)})),b3&&(0===i3.min||i3.single)&&(u3[-1]||(u3[-1]=new n2(i3,-1,null,true)),u3[-1].render(-1))),x3&&c3.forEach((function(n3,a5){e4=void 0!==c3[a5+1]?c3[a5+1]+b3:i3.max-b3,a5%2==0&&n3<i3.max&&e4<=i3.max+(s3.polar?-b3:b3)&&(f3[n3]||(f3[n3]=new o2.PlotLineOrBand(i3,{})),t4=n3+b3,f3[n3].options={from:r3?r3.lin2log(t4):t4,to:r3?r3.lin2log(e4):e4,color:x3,className:"highcharts-alternate-grid"},f3[n3].render(),f3[n3].isActive=true)})),i3._addedPlotLB||(i3._addedPlotLB=true,(l3.plotLines||[]).concat(l3.plotBands||[]).forEach((function(t5){i3.addPlotBandOrLine(t5)})))}[u3,g3,f3].forEach((function(t5){let e5=[],i4=C3.duration;D2(t5,(function(t6,i5){t6.isActive||(t6.render(i5,false,0),t6.isActive=false,e5.push(i5))})),R2((function(){let i5=e5.length;for(;i5--;)t5[e5[i5]]&&!t5[e5[i5]].isActive&&(t5[e5[i5]].destroy(),delete t5[e5[i5]])}),t5!==f3&&s3.hasRendered&&i4?i4:0)})),v3&&(v3[v3.isPlaced?"animate":"attr"]({d:this.getLinePath(v3.strokeWidth())}),v3.isPlaced=true,v3[S3?"show":"hide"](S3)),p3&&S3&&(p3[p3.isNew?"attr":"animate"](i3.getTitlePosition(p3)),p3.isNew=false),m3&&m3.enabled&&i3.stacking&&i3.stacking.renderStackTotals(),i3.old={len:i3.len,max:i3.max,min:i3.min,transA:i3.transA,userMax:i3.userMax,userMin:i3.userMin},i3.isDirty=false,k2(this,"afterRender")}redraw(){this.visible&&(this.render(),this.plotLinesAndBands.forEach((function(t4){t4.render()}))),this.series.forEach((function(t4){t4.isDirty=true}))}getKeepProps(){return this.keepProps||N.keepProps}destroy(t4){let e4=this,i3=e4.plotLinesAndBands,s3=this.eventOptions;if(k2(this,"destroy",{keepEvents:t4}),t4||j(e4),[e4.ticks,e4.minorTicks,e4.alternateBands].forEach((function(t5){b2(t5)})),i3){let t5=i3.length;for(;t5--;)i3[t5].destroy()}for(let t5 in["axisLine","axisTitle","axisGroup","gridGroup","labelGroup","cross","scrollbar"].forEach((function(t6){e4[t6]&&(e4[t6]=e4[t6].destroy())})),e4.plotLinesAndBandsGroups)e4.plotLinesAndBandsGroups[t5]=e4.plotLinesAndBandsGroups[t5].destroy();D2(e4,(function(t5,i4){-1===e4.getKeepProps().indexOf(i4)&&delete e4[i4]})),this.eventOptions=s3}drawCrosshair(t4,e4){let s3=this.crosshair,r3=E2(s3&&s3.snap,true),o3=this.chart,n3,a3,h3,l3=this.cross,d3;if(k2(this,"drawCrosshair",{e:t4,point:e4}),t4||(t4=this.cross&&this.cross.e),s3&&false!==(y2(e4)||!r3)){if(r3?y2(e4)&&(a3=E2("colorAxis"!==this.coll?e4.crosshairPos:null,this.isXAxis?e4.plotX:this.len-e4.plotY)):a3=t4&&(this.horiz?t4.chartX-this.pos:this.len-t4.chartY+this.pos),y2(a3)&&(d3={value:e4&&(this.isXAxis?e4.x:E2(e4.stackY,e4.y)),translatedValue:a3},o3.polar&&C2(d3,{isCrosshair:true,chartX:t4&&t4.chartX,chartY:t4&&t4.chartY,point:e4}),n3=this.getPlotLinePath(d3)||null),!y2(n3)){this.hideCrosshair();return}h3=this.categories&&!this.isRadial,l3||(this.cross=l3=o3.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(h3?"category ":"thin ")+(s3.className||"")).attr({zIndex:E2(s3.zIndex,2)}).add(),!o3.styledMode&&(l3.attr({stroke:s3.color||(h3?i2.parse("#ccd3ff").setOpacity(.25).get():"#cccccc"),"stroke-width":E2(s3.width,1)}).css({"pointer-events":"none"}),s3.dashStyle&&l3.attr({dashstyle:s3.dashStyle}))),l3.show().attr({d:n3}),h3&&!s3.width&&l3.attr({"stroke-width":this.transA}),this.cross.e=t4}else this.hideCrosshair();k2(this,"afterDrawCrosshair",{e:t4,point:e4})}hideCrosshair(){this.cross&&this.cross.hide(),k2(this,"afterHideCrosshair")}update(t4,e4){let i3=this.chart;t4=L2(this.userOptions,t4),this.destroy(true),this.init(i3,t4),i3.isDirtyBox=true,E2(e4,true)&&i3.redraw()}remove(t4){let e4=this.chart,i3=this.coll,s3=this.series,r3=s3.length;for(;r3--;)s3[r3]&&s3[r3].remove(false);v2(e4.axes,this),v2(e4[i3]||[],this),e4.orderItems(i3),this.destroy(),e4.isDirtyBox=true,E2(t4,true)&&e4.redraw()}setTitle(t4,e4){this.update({title:t4},e4)}setCategories(t4,e4){this.update({categories:t4},e4)}}return N.keepProps=["coll","extKey","hcEvents","len","names","series","userMax","userMin"],N})),i(e2,"Core/Axis/DateTimeAxis.js",[e2["Core/Utilities.js"]],(function(t3){var e3;let{addEvent:i2,getMagnitude:s2,normalizeTickInterval:r2,timeUnits:o2}=t3;return function(t4){function e4(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function n2(){if("datetime"!==this.type){this.dateTime=void 0;return}this.dateTime||(this.dateTime=new a2(this))}t4.compose=function(t5){return t5.keepProps.includes("dateTime")||(t5.keepProps.push("dateTime"),t5.prototype.getTimeTicks=e4,i2(t5,"afterSetType",n2)),t5};class a2{constructor(t5){this.axis=t5}normalizeTimeTickInterval(t5,e5){let i3=e5||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]],n3=i3[i3.length-1],a3=o2[n3[0]],h2=n3[1],l2;for(l2=0;l2<i3.length&&(a3=o2[(n3=i3[l2])[0]],h2=n3[1],!i3[l2+1]||!(t5<=(a3*h2[h2.length-1]+o2[i3[l2+1][0]])/2));l2++);a3===o2.year&&t5<5*a3&&(h2=[1,2,5]);let d2=r2(t5/a3,h2,"year"===n3[0]?Math.max(s2(t5/a3),1):1);return{unitRange:a3,count:d2,unitName:n3[0]}}getXDateFormat(t5,e5){let{axis:i3}=this,s3=i3.chart.time;return i3.closestPointRange?s3.getDateFormat(i3.closestPointRange,t5,i3.options.startOfWeek,e5)||s3.resolveDTLFormat(e5.year).main:s3.resolveDTLFormat(e5.day).main}}t4.Additions=a2}(e3||(e3={})),e3})),i(e2,"Core/Axis/LogarithmicAxis.js",[e2["Core/Utilities.js"]],(function(t3){var e3;let{addEvent:i2,normalizeTickInterval:s2,pick:r2}=t3;return function(t4){function e4(){"logarithmic"!==this.type?this.logarithmic=void 0:this.logarithmic??(this.logarithmic=new n2(this))}function o2(){let t5=this.logarithmic;t5&&(this.lin2val=function(e5){return t5.lin2log(e5)},this.val2lin=function(e5){return t5.log2lin(e5)})}t4.compose=function(t5){return t5.keepProps.includes("logarithmic")||(t5.keepProps.push("logarithmic"),i2(t5,"afterSetType",e4),i2(t5,"afterInit",o2)),t5};class n2{constructor(t5){this.axis=t5}getLogTickPositions(t5,e5,i3,o3){let n3=this.axis,a2=n3.len,h2=n3.options,l2=[];if(o3||(this.minorAutoInterval=void 0),t5>=.5)t5=Math.round(t5),l2=n3.getLinearTickPositions(t5,e5,i3);else if(t5>=.08){let s3,r3,n4,a3,h3,d2,c2;let p2=Math.floor(e5);for(s3=t5>.3?[1,2,4]:t5>.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9],r3=p2;r3<i3+1&&!c2;r3++)for(n4=0,a3=s3.length;n4<a3&&!c2;n4++)(h3=this.log2lin(this.lin2log(r3)*s3[n4]))>e5&&(!o3||d2<=i3)&&void 0!==d2&&l2.push(d2),d2>i3&&(c2=true),d2=h3}else{let d2=this.lin2log(e5),c2=this.lin2log(i3),p2=o3?n3.getMinorTickInterval():h2.tickInterval,u2=h2.tickPixelInterval/(o3?5:1),g2=o3?a2/n3.tickPositions.length:a2;t5=s2(t5=r2("auto"===p2?null:p2,this.minorAutoInterval,(c2-d2)*u2/(g2||1))),l2=n3.getLinearTickPositions(t5,d2,c2).map(this.log2lin),o3||(this.minorAutoInterval=t5/5)}return o3||(n3.tickInterval=t5),l2}lin2log(t5){return Math.pow(10,t5)}log2lin(t5){return Math.log(t5)/Math.LN10}}t4.Additions=n2}(e3||(e3={})),e3})),i(e2,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[e2["Core/Utilities.js"]],(function(t3){var e3;let{erase:i2,extend:s2,isNumber:r2}=t3;return function(t4){let e4;function o2(t5){return this.addPlotBandOrLine(t5,"plotBands")}function n2(t5,i3){let s3=this.userOptions,r3=new e4(this,t5);if(this.visible&&(r3=r3.render()),r3){if(this._addedPlotLB||(this._addedPlotLB=true,(s3.plotLines||[]).concat(s3.plotBands||[]).forEach((t6=>{this.addPlotBandOrLine(t6)}))),i3){let e5=s3[i3]||[];e5.push(t5),s3[i3]=e5}this.plotLinesAndBands.push(r3)}return r3}function a2(t5){return this.addPlotBandOrLine(t5,"plotLines")}function h2(t5,e5,i3){i3=i3||this.options;let s3=this.getPlotLinePath({value:e5,force:true,acrossPanes:i3.acrossPanes}),o3=[],n3=this.horiz,a3=!r2(this.min)||!r2(this.max)||t5<this.min&&e5<this.min||t5>this.max&&e5>this.max,h3=this.getPlotLinePath({value:t5,force:true,acrossPanes:i3.acrossPanes}),l3,d3=1,c3;if(h3&&s3)for(a3&&(c3=h3.toString()===s3.toString(),d3=0),l3=0;l3<h3.length;l3+=2){let t6=h3[l3],e6=h3[l3+1],i4=s3[l3],r3=s3[l3+1];("M"===t6[0]||"L"===t6[0])&&("M"===e6[0]||"L"===e6[0])&&("M"===i4[0]||"L"===i4[0])&&("M"===r3[0]||"L"===r3[0])&&(n3&&i4[1]===t6[1]?(i4[1]+=d3,r3[1]+=d3):n3||i4[2]!==t6[2]||(i4[2]+=d3,r3[2]+=d3),o3.push(["M",t6[1],t6[2]],["L",e6[1],e6[2]],["L",r3[1],r3[2]],["L",i4[1],i4[2]],["Z"])),o3.isFlat=c3}return o3}function l2(t5){this.removePlotBandOrLine(t5)}function d2(t5){let e5=this.plotLinesAndBands,s3=this.options,r3=this.userOptions;if(e5){let o3=e5.length;for(;o3--;)e5[o3].id===t5&&e5[o3].destroy();[s3.plotLines||[],r3.plotLines||[],s3.plotBands||[],r3.plotBands||[]].forEach((function(e6){for(o3=e6.length;o3--;)(e6[o3]||{}).id===t5&&i2(e6,e6[o3])}))}}function c2(t5){this.removePlotBandOrLine(t5)}t4.compose=function(t5,i3){let r3=i3.prototype;return r3.addPlotBand||(e4=t5,s2(r3,{addPlotBand:o2,addPlotLine:a2,addPlotBandOrLine:n2,getPlotBandPath:h2,removePlotBand:l2,removePlotLine:c2,removePlotBandOrLine:d2})),i3}}(e3||(e3={})),e3})),i(e2,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[e2["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{addEvent:i2,arrayMax:s2,arrayMin:r2,defined:o2,destroyObjectProperties:n2,erase:a2,fireEvent:h2,merge:l2,objectEach:d2,pick:c2}=e3;class p2{static compose(e4,s3){return i2(e4,"afterInit",(function(){this.labelCollectors.push((()=>{var _a;let t4=[];for(let e5 of this.axes)for(let{label:i3,options:s4}of e5.plotLinesAndBands)i3&&!((_a=s4==null?void 0:s4.label)==null?void 0:_a.allowOverlap)&&t4.push(i3);return t4}))})),t3.compose(p2,s3)}constructor(t4,e4){this.axis=t4,this.options=e4,this.id=e4.id}render(){h2(this,"render");let{axis:t4,options:e4}=this,{horiz:i3,logarithmic:s3}=t4,{color:r3,events:n3,zIndex:a3=0}=e4,p3={},u2=t4.chart.renderer,g2=e4.to,f2=e4.from,m2=e4.value,x2=e4.borderWidth,y2=e4.label,{label:b2,svgElem:v2}=this,S2=[],C2,k2=o2(f2)&&o2(g2),M=o2(m2),w2=!v2,T2={class:"highcharts-plot-"+(k2?"band ":"line ")+(e4.className||"")},A2=k2?"bands":"lines";if(!t4.chart.styledMode&&(M?(T2.stroke=r3||"#999999",T2["stroke-width"]=c2(e4.width,1),e4.dashStyle&&(T2.dashstyle=e4.dashStyle)):k2&&(T2.fill=r3||"#e6e9ff",x2&&(T2.stroke=e4.borderColor,T2["stroke-width"]=x2))),p3.zIndex=a3,A2+="-"+a3,(C2=t4.plotLinesAndBandsGroups[A2])||(t4.plotLinesAndBandsGroups[A2]=C2=u2.g("plot-"+A2).attr(p3).add()),v2||(this.svgElem=v2=u2.path().attr(T2).add(C2)),o2(m2))S2=t4.getPlotLinePath({value:(s3==null?void 0:s3.log2lin(m2))??m2,lineWidth:v2.strokeWidth(),acrossPanes:e4.acrossPanes});else{if(!(o2(f2)&&o2(g2)))return;S2=t4.getPlotBandPath((s3==null?void 0:s3.log2lin(f2))??f2,(s3==null?void 0:s3.log2lin(g2))??g2,e4)}return!this.eventsAdded&&n3&&(d2(n3,((t5,e5)=>{v2==null?void 0:v2.on(e5,(t6=>{n3[e5].apply(this,[t6])}))})),this.eventsAdded=true),(w2||!v2.d)&&(S2==null?void 0:S2.length)?v2.attr({d:S2}):v2&&(S2?(v2.show(),v2.animate({d:S2})):v2.d&&(v2.hide(),b2&&(this.label=b2=b2.destroy()))),y2&&(o2(y2.text)||o2(y2.formatter))&&(S2==null?void 0:S2.length)&&t4.width>0&&t4.height>0&&!S2.isFlat?(y2=l2({align:i3&&k2?"center":void 0,x:i3?!k2&&4:10,verticalAlign:!i3&&k2?"middle":void 0,y:i3?k2?16:10:k2?6:-4,rotation:i3&&!k2?90:0,...k2?{inside:true}:{}},y2),this.renderLabel(y2,S2,k2,a3)):b2&&b2.hide(),this}renderLabel(t4,e4,i3,n3){var _a;let a3=this.axis,h3=a3.chart.renderer,d3=t4.inside,c3=this.label;c3||(this.label=c3=h3.text(this.getLabelText(t4),0,0,t4.useHTML).attr({align:t4.textAlign||t4.align,rotation:t4.rotation,class:"highcharts-plot-"+(i3?"band":"line")+"-label "+(t4.className||""),zIndex:n3}),a3.chart.styledMode||c3.css(l2({fontSize:"0.8em",textOverflow:i3&&!d3?"":"ellipsis"},t4.style)),c3.add());let p3=e4.xBounds||[e4[0][1],e4[1][1],i3?e4[2][1]:e4[0][1]],u2=e4.yBounds||[e4[0][2],e4[1][2],i3?e4[2][2]:e4[0][2]],g2=r2(p3),f2=r2(u2),m2=s2(p3)-g2;c3.align(t4,false,{x:g2,y:f2,width:m2,height:s2(u2)-f2}),(!c3.alignValue||"left"===c3.alignValue||o2(d3))&&c3.css({width:(((_a=t4.style)==null?void 0:_a.width)||(i3&&d3?m2:90===c3.rotation?a3.height-(c3.alignAttr.y-a3.top):(t4.clip?a3.width:a3.chart.chartWidth)-(c3.alignAttr.x-a3.left)))+"px"}),c3.show(true)}getLabelText(t4){return o2(t4.formatter)?t4.formatter.call(this):t4.text}destroy(){a2(this.axis.plotLinesAndBands,this),delete this.axis,n2(this)}}return p2})),i(e2,"Core/Tooltip.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Templating.js"],e2["Core/Globals.js"],e2["Core/Renderer/RendererUtilities.js"],e2["Core/Renderer/RendererRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2,o2){var n2;let{animObject:a2}=t3,{format:h2}=e3,{composed:l2,doc:d2,isSafari:c2}=i2,{distribute:p2}=s2,{addEvent:u2,clamp:g2,css:f2,discardElement:m2,extend:x2,fireEvent:y2,isArray:b2,isNumber:v2,isString:S2,merge:C2,pick:k2,pushUnique:M,splat:w2,syncTimeout:T2}=o2;class A2{constructor(t4,e4,i3){this.allowShared=true,this.crosshairs=[],this.distance=0,this.isHidden=true,this.isSticky=false,this.options={},this.outside=false,this.chart=t4,this.init(t4,e4),this.pointer=i3}bodyFormatter(t4){return t4.map((function(t5){let e4=t5.series.tooltipOptions;return(e4[(t5.point.formatPrefix||"point")+"Formatter"]||t5.point.tooltipFormatter).call(t5.point,e4[(t5.point.formatPrefix||"point")+"Format"]||"")}))}cleanSplit(t4){this.chart.series.forEach((function(e4){let i3=e4&&e4.tt;i3&&(!i3.isActive||t4?e4.tt=i3.destroy():i3.isActive=false)}))}defaultFormatter(t4){let e4;let i3=this.points||w2(this);return(e4=(e4=[t4.tooltipFooterHeaderFormatter(i3[0])]).concat(t4.bodyFormatter(i3))).push(t4.tooltipFooterHeaderFormatter(i3[0],true)),e4}destroy(){this.label&&(this.label=this.label.destroy()),this.split&&(this.cleanSplit(true),this.tt&&(this.tt=this.tt.destroy())),this.renderer&&(this.renderer=this.renderer.destroy(),m2(this.container)),o2.clearTimeout(this.hideTimer)}getAnchor(t4,e4){let i3;let{chart:s3,pointer:r3}=this,o3=s3.inverted,n3=s3.plotTop,a3=s3.plotLeft;if((t4=w2(t4))[0].series&&t4[0].series.yAxis&&!t4[0].series.yAxis.options.reversedStacks&&(t4=t4.slice().reverse()),this.followPointer&&e4)void 0===e4.chartX&&(e4=r3.normalize(e4)),i3=[e4.chartX-a3,e4.chartY-n3];else if(t4[0].tooltipPos)i3=t4[0].tooltipPos;else{let s4=0,r4=0;t4.forEach((function(t5){let e5=t5.pos(true);e5&&(s4+=e5[0],r4+=e5[1])})),s4/=t4.length,r4/=t4.length,this.shared&&t4.length>1&&e4&&(o3?s4=e4.chartX:r4=e4.chartY),i3=[s4-a3,r4-n3]}return i3.map(Math.round)}getClassName(t4,e4,i3){let s3=this.options,r3=t4.series,o3=r3.options;return[s3.className,"highcharts-label",i3&&"highcharts-tooltip-header",e4?"highcharts-tooltip-box":"highcharts-tooltip",!i3&&"highcharts-color-"+k2(t4.colorIndex,r3.colorIndex),o3&&o3.className].filter(S2).join(" ")}getLabel({anchorX:t4,anchorY:e4}={anchorX:0,anchorY:0}){let s3=this,o3=this.chart.styledMode,n3=this.options,a3=this.split&&this.allowShared,h3=this.container,l3=this.chart.renderer;if(this.label){let t5=!this.label.hasClass("highcharts-label");(!a3&&t5||a3&&!t5)&&this.destroy()}if(!this.label){if(this.outside){let t5=this.chart.options.chart.style,e5=r2.getRendererType();this.container=h3=i2.doc.createElement("div"),h3.className="highcharts-tooltip-container",f2(h3,{position:"absolute",top:"1px",pointerEvents:"none",zIndex:Math.max(this.options.style.zIndex||0,(t5&&t5.zIndex||0)+3)}),this.renderer=l3=new e5(h3,0,0,t5,void 0,void 0,l3.styledMode)}if(a3?this.label=l3.g("tooltip"):(this.label=l3.label("",t4,e4,n3.shape,void 0,void 0,n3.useHTML,void 0,"tooltip").attr({padding:n3.padding,r:n3.borderRadius}),o3||this.label.attr({fill:n3.backgroundColor,"stroke-width":n3.borderWidth||0}).css(n3.style).css({pointerEvents:n3.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none")})),s3.outside){let t5=this.label;[t5.xSetter,t5.ySetter].forEach(((e5,i3)=>{t5[i3?"ySetter":"xSetter"]=r3=>{e5.call(t5,s3.distance),t5[i3?"y":"x"]=r3,h3&&(h3.style[i3?"top":"left"]=`${r3}px`)}}))}this.label.attr({zIndex:8}).shadow(n3.shadow).add()}return h3&&!h3.parentElement&&i2.doc.body.appendChild(h3),this.label}getPlayingField(){let{body:t4,documentElement:e4}=d2,{chart:i3,distance:s3,outside:r3}=this;return{width:r3?Math.max(t4.scrollWidth,e4.scrollWidth,t4.offsetWidth,e4.offsetWidth,e4.clientWidth)-2*s3:i3.chartWidth,height:r3?Math.max(t4.scrollHeight,e4.scrollHeight,t4.offsetHeight,e4.offsetHeight,e4.clientHeight):i3.chartHeight}}getPosition(t4,e4,i3){var _a,_b;let{distance:s3,chart:r3,outside:o3,pointer:n3}=this,{inverted:a3,plotLeft:h3,plotTop:l3,polar:d3}=r3,{plotX:c3=0,plotY:p3=0}=i3,u3={},g3=a3&&i3.h||0,{height:f3,width:m3}=this.getPlayingField(),x3=n3.getChartPosition(),y3=t5=>t5*x3.scaleX,b3=t5=>t5*x3.scaleY,v3=i4=>{let n4="x"===i4;return[i4,n4?m3:f3,n4?t4:e4].concat(o3?[n4?y3(t4):b3(e4),n4?x3.left-s3+y3(c3+h3):x3.top-s3+b3(p3+l3),0,n4?m3:f3]:[n4?t4:e4,n4?c3+h3:p3+l3,n4?h3:l3,n4?h3+r3.plotWidth:l3+r3.plotHeight])},S3=v3("y"),C3=v3("x"),M2,w3=!!i3.negative;!d3&&((_b=(_a=r3.hoverSeries)==null?void 0:_a.yAxis)==null?void 0:_b.reversed)&&(w3=!w3);let T3=!this.followPointer&&k2(i3.ttBelow,!d3&&!a3===w3),A3=function(t5,e5,i4,r4,n4,a4,h4){let l4=o3?"y"===t5?b3(s3):y3(s3):s3,d4=(i4-r4)/2,c4=r4<n4-s3,p4=n4+s3+r4<e5,f4=n4-l4-i4+d4,m4=n4+l4-d4;if(T3&&p4)u3[t5]=m4;else if(!T3&&c4)u3[t5]=f4;else if(c4)u3[t5]=Math.min(h4-r4,f4-g3<0?f4:f4-g3);else{if(!p4)return false;u3[t5]=Math.max(a4,m4+g3+i4>e5?m4:m4+g3)}},P=function(t5,e5,i4,r4,o4){if(o4<s3||o4>e5-s3)return false;o4<i4/2?u3[t5]=1:o4>e5-r4/2?u3[t5]=e5-r4-2:u3[t5]=o4-i4/2},L2=function(t5){[S3,C3]=[C3,S3],M2=t5},O2=()=>{false!==A3.apply(0,S3)?false!==P.apply(0,C3)||M2||(L2(true),O2()):M2?u3.x=u3.y=0:(L2(true),O2())};return(a3&&!d3||this.len>1)&&L2(),O2(),u3}hide(t4){let e4=this;o2.clearTimeout(this.hideTimer),t4=k2(t4,this.options.hideDelay),this.isHidden||(this.hideTimer=T2((function(){let i3=e4.getLabel();e4.getLabel().animate({opacity:0},{duration:t4?150:t4,complete:()=>{i3.hide(),e4.container&&e4.container.remove()}}),e4.isHidden=true}),t4))}init(t4,e4){this.chart=t4,this.options=e4,this.crosshairs=[],this.isHidden=true,this.split=e4.split&&!t4.inverted&&!t4.polar,this.shared=e4.shared||this.split,this.outside=k2(e4.outside,!!(t4.scrollablePixelsX||t4.scrollablePixelsY))}shouldStickOnContact(t4){return!!(!this.followPointer&&this.options.stickOnContact&&(!t4||this.pointer.inClass(t4.target,"highcharts-tooltip")))}move(t4,e4,i3,s3){let r3=this,o3=a2(!r3.isHidden&&r3.options.animation),n3=r3.followPointer||(r3.len||0)>1,h3={x:t4,y:e4};n3||(h3.anchorX=i3,h3.anchorY=s3),o3.step=()=>r3.drawTracker(),r3.getLabel().animate(h3,o3)}refresh(t4,e4){let{chart:i3,options:s3,pointer:r3,shared:n3}=this,a3=w2(t4),l3=a3[0],d3=[],c3=s3.format,p3=s3.formatter||this.defaultFormatter,u3=i3.styledMode,f3={},m3=this.allowShared;if(!s3.enabled||!l3.series)return;o2.clearTimeout(this.hideTimer),this.allowShared=!(!b2(t4)&&t4.series&&t4.series.noSharedTooltip),m3=m3&&!this.allowShared,this.followPointer=!this.split&&l3.series.tooltipOptions.followPointer;let x3=this.getAnchor(t4,e4),v3=x3[0],C3=x3[1];n3&&this.allowShared?(r3.applyInactiveState(a3),a3.forEach((function(t5){t5.setState("hover"),d3.push(t5.getLabelConfig())})),(f3=l3.getLabelConfig()).points=d3):f3=l3.getLabelConfig(),this.len=d3.length;let M2=S2(c3)?h2(c3,f3,i3):p3.call(f3,this),T3=l3.series;if(this.distance=k2(T3.tooltipOptions.distance,16),false===M2)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(M2,a3);else{let t5=v3,o3=C3;if(e4&&r3.isDirectTouch&&(t5=e4.chartX-i3.plotLeft,o3=e4.chartY-i3.plotTop),i3.polar||false===T3.options.clip||a3.some((e5=>r3.isDirectTouch||e5.series.shouldShowTooltip(t5,o3)))){let t6=this.getLabel(m3&&this.tt||{});(!s3.style.width||u3)&&t6.css({width:(this.outside?this.getPlayingField():i3.spacingBox).width+"px"}),t6.attr({class:this.getClassName(l3),text:M2&&M2.join?M2.join(""):M2}),this.outside&&t6.attr({x:g2(t6.x||0,0,this.getPlayingField().width-(t6.width||0))}),u3||t6.attr({stroke:s3.borderColor||l3.color||T3.color||"#666666"}),this.updatePosition({plotX:v3,plotY:C3,negative:l3.negative,ttBelow:l3.ttBelow,h:x3[2]||0})}else{this.hide();return}}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=false}y2(this,"refresh")}renderSplit(t4,e4){var _a;let i3=this,{chart:s3,chart:{chartWidth:r3,chartHeight:o3,plotHeight:n3,plotLeft:a3,plotTop:h3,scrollablePixelsY:l3=0,scrollablePixelsX:u3,styledMode:f3},distance:m3,options:y3,options:{positioner:b3},pointer:v3}=i3,{scrollLeft:C3=0,scrollTop:M2=0}=((_a=s3.scrollablePlotArea)==null?void 0:_a.scrollingContainer)||{},w3=i3.outside&&"number"!=typeof u3?d2.documentElement.getBoundingClientRect():{left:C3,right:C3+r3,top:M2,bottom:M2+o3},T3=i3.getLabel(),A3=this.renderer||s3.renderer,P=!!(s3.xAxis[0]&&s3.xAxis[0].opposite),{left:L2,top:O2}=v3.getChartPosition(),D2=h3+M2,E2=0,I=n3-l3;function j(t5,e5,s4,r4,o4=true){let n4,a4;return s4?(n4=P?0:I,a4=g2(t5-r4/2,w3.left,w3.right-r4-(i3.outside?L2:0))):(n4=e5-D2,a4=g2(a4=o4?t5-r4-m3:t5+m3,o4?a4:w3.left,w3.right)),{x:a4,y:n4}}S2(t4)&&(t4=[false,t4]);let B=t4.slice(0,e4.length+1).reduce((function(t5,s4,r4){if(false!==s4&&""!==s4){let o4=e4[r4-1]||{isHeader:true,plotX:e4[0].plotX,plotY:n3,series:{}},l4=o4.isHeader,d3=l4?i3:o4.series,c3=d3.tt=function(t6,e5,s5){let r5=t6,{isHeader:o5,series:n4}=e5;if(!r5){let t7={padding:y3.padding,r:y3.borderRadius};f3||(t7.fill=y3.backgroundColor,t7["stroke-width"]=y3.borderWidth??1),r5=A3.label("",0,0,y3[o5?"headerShape":"shape"],void 0,void 0,y3.useHTML).addClass(i3.getClassName(e5,true,o5)).attr(t7).add(T3)}return r5.isActive=true,r5.attr({text:s5}),f3||r5.css(y3.style).attr({stroke:y3.borderColor||e5.color||n4.color||"#333333"}),r5}(d3.tt,o4,s4.toString()),p3=c3.getBBox(),u4=p3.width+c3.strokeWidth();l4&&(E2=p3.height,I+=E2,P&&(D2-=E2));let{anchorX:x3,anchorY:v4}=function(t6){let e5,i4;let{isHeader:s5,plotX:r5=0,plotY:o5=0,series:l5}=t6;if(s5)e5=Math.max(a3+r5,a3),i4=h3+n3/2;else{let{xAxis:t7,yAxis:s6}=l5;e5=t7.pos+g2(r5,-m3,t7.len+m3),l5.shouldShowTooltip(0,s6.pos-h3+o5,{ignoreX:true})&&(i4=s6.pos+o5)}return{anchorX:e5=g2(e5,w3.left-m3,w3.right+m3),anchorY:i4}}(o4);if("number"==typeof v4){let e5=p3.height+1,s5=b3?b3.call(i3,u4,e5,o4):j(x3,v4,l4,u4);t5.push({align:b3?0:void 0,anchorX:x3,anchorY:v4,boxWidth:u4,point:o4,rank:k2(s5.rank,l4?1:0),size:e5,target:s5.y,tt:c3,x:s5.x})}else c3.isActive=false}return t5}),[]);!b3&&B.some((t5=>{let{outside:e5}=i3,s4=(e5?L2:0)+t5.anchorX;return s4<w3.left&&s4+t5.boxWidth<w3.right||s4<L2-w3.left+t5.boxWidth&&w3.right-s4>s4}))&&(B=B.map((t5=>{let{x:e5,y:i4}=j(t5.anchorX,t5.anchorY,t5.point.isHeader,t5.boxWidth,false);return x2(t5,{target:i4,x:e5})}))),i3.cleanSplit(),p2(B,I);let R2={left:L2,right:L2};B.forEach((function(t5){let{x:e5,boxWidth:s4,isHeader:r4}=t5;!r4&&(i3.outside&&L2+e5<R2.left&&(R2.left=L2+e5),!r4&&i3.outside&&R2.left+s4>R2.right&&(R2.right=L2+e5))})),B.forEach((function(t5){let{x:e5,anchorX:s4,anchorY:r4,pos:o4,point:{isHeader:n4}}=t5,a4={visibility:void 0===o4?"hidden":"inherit",x:e5,y:(o4||0)+D2,anchorX:s4,anchorY:r4};if(i3.outside&&e5<s4){let t6=L2-R2.left;t6>0&&(n4||(a4.x=e5+t6,a4.anchorX=s4+t6),n4&&(a4.x=(R2.right-R2.left)/2,a4.anchorX=s4+t6))}t5.tt.attr(a4)}));let{container:z2,outside:N,renderer:W2}=i3;if(N&&z2&&W2){let{width:t5,height:e5,x:i4,y:s4}=T3.getBBox();W2.setSize(t5+i4,e5+s4,false),z2.style.left=R2.left+"px",z2.style.top=O2+"px"}c2&&T3.attr({opacity:1===T3.opacity?.999:1})}drawTracker(){if(!this.shouldStickOnContact()){this.tracker&&(this.tracker=this.tracker.destroy());return}let t4=this.chart,e4=this.label,i3=this.shared?t4.hoverPoints:t4.hoverPoint;if(!e4||!i3)return;let s3={x:0,y:0,width:0,height:0},r3=this.getAnchor(i3),o3=e4.getBBox();r3[0]+=t4.plotLeft-(e4.translateX||0),r3[1]+=t4.plotTop-(e4.translateY||0),s3.x=Math.min(0,r3[0]),s3.y=Math.min(0,r3[1]),s3.width=r3[0]<0?Math.max(Math.abs(r3[0]),o3.width-r3[0]):Math.max(Math.abs(r3[0]),o3.width),s3.height=r3[1]<0?Math.max(Math.abs(r3[1]),o3.height-Math.abs(r3[1])):Math.max(Math.abs(r3[1]),o3.height),this.tracker?this.tracker.attr(s3):(this.tracker=e4.renderer.rect(s3).addClass("highcharts-tracker").add(e4),t4.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}styledModeFormat(t4){return t4.replace('style="font-size: 0.8em"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')}tooltipFooterHeaderFormatter(t4,e4){let i3=t4.series,s3=i3.tooltipOptions,r3=i3.xAxis,o3=r3&&r3.dateTime,n3={isFooter:e4,labelConfig:t4},a3=s3.xDateFormat,l3=s3[e4?"footerFormat":"headerFormat"];return y2(this,"headerFormatter",n3,(function(e5){o3&&!a3&&v2(t4.key)&&(a3=o3.getXDateFormat(t4.key,s3.dateTimeLabelFormats)),o3&&a3&&(t4.point&&t4.point.tooltipDateKeys||["key"]).forEach((function(t5){l3=l3.replace("{point."+t5+"}","{point."+t5+":"+a3+"}")})),i3.chart.styledMode&&(l3=this.styledModeFormat(l3)),e5.text=h2(l3,{point:t4,series:i3},this.chart)})),n3.text}update(t4){this.destroy(),this.init(this.chart,C2(true,this.options,t4))}updatePosition(t4){let{chart:e4,container:i3,distance:s3,options:r3,pointer:o3,renderer:n3}=this,{height:a3=0,width:h3=0}=this.getLabel(),{left:l3,top:d3,scaleX:c3,scaleY:p3}=o3.getChartPosition(),u3=(r3.positioner||this.getPosition).call(this,h3,a3,t4),g3=(t4.plotX||0)+e4.plotLeft,m3=(t4.plotY||0)+e4.plotTop,x3;n3&&i3&&(r3.positioner&&(u3.x+=l3-s3,u3.y+=d3-s3),x3=(r3.borderWidth||0)+2*s3+2,n3.setSize(h3+x3,a3+x3,false),(1!==c3||1!==p3)&&(f2(i3,{transform:`scale(${c3}, ${p3})`}),g3*=c3,m3*=p3),g3+=l3-u3.x,m3+=d3-u3.y),this.move(Math.round(u3.x),Math.round(u3.y||0),g3,m3)}}return(n2=A2||(A2={})).compose=function(t4){M(l2,"Core.Tooltip")&&u2(t4,"afterInit",(function(){let t5=this.chart;t5.options.tooltip&&(t5.tooltip=new n2(t5,t5.options.tooltip,this))}))},A2})),i(e2,"Core/Series/Point.js",[e2["Core/Renderer/HTML/AST.js"],e2["Core/Animation/AnimationUtilities.js"],e2["Core/Defaults.js"],e2["Core/Templating.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2){let{animObject:o2}=e3,{defaultOptions:n2}=i2,{format:a2}=s2,{addEvent:h2,crisp:l2,erase:d2,extend:c2,fireEvent:p2,getNestedProperty:u2,isArray:g2,isFunction:f2,isNumber:m2,isObject:x2,merge:y2,pick:b2,syncTimeout:v2,removeEvent:S2,uniqueKey:C2}=r2;class k2{animateBeforeDestroy(){let t4=this,e4={x:t4.startXPos,opacity:0},i3=t4.getGraphicalProps();i3.singular.forEach((function(i4){t4[i4]=t4[i4].animate("dataLabel"===i4?{x:t4[i4].startXPos,y:t4[i4].startYPos,opacity:0}:e4)})),i3.plural.forEach((function(e5){t4[e5].forEach((function(e6){e6.element&&e6.animate(c2({x:t4.startXPos},e6.startYPos?{x:e6.startXPos,y:e6.startYPos}:{}))}))}))}applyOptions(t4,e4){let i3=this.series,s3=i3.options.pointValKey||i3.pointValKey;return c2(this,t4=k2.prototype.optionsToObject.call(this,t4)),this.options=this.options?c2(this.options,t4):t4,t4.group&&delete this.group,t4.dataLabels&&delete this.dataLabels,s3&&(this.y=k2.prototype.getNestedProperty.call(this,s3)),this.selected&&(this.state="select"),"name"in this&&void 0===e4&&i3.xAxis&&i3.xAxis.hasNames&&(this.x=i3.xAxis.nameToX(this)),void 0===this.x&&i3?this.x=e4??i3.autoIncrement():m2(t4.x)&&i3.options.relativeXValue&&(this.x=i3.autoIncrement(t4.x)),this.isNull=this.isValid&&!this.isValid(),this.formatPrefix=this.isNull?"null":"point",this}destroy(){if(!this.destroyed){let t4=this,e4=t4.series,i3=e4.chart,s3=e4.options.dataSorting,r3=i3.hoverPoints,n3=o2(t4.series.chart.renderer.globalAnimation),a3=()=>{for(let e5 in(t4.graphic||t4.graphics||t4.dataLabel||t4.dataLabels)&&(S2(t4),t4.destroyElements()),t4)delete t4[e5]};t4.legendItem&&i3.legend.destroyItem(t4),r3&&(t4.setState(),d2(r3,t4),r3.length||(i3.hoverPoints=null)),t4===i3.hoverPoint&&t4.onMouseOut(),s3&&s3.enabled?(this.animateBeforeDestroy(),v2(a3,n3.duration)):a3(),i3.pointCount--}this.destroyed=true}destroyElements(t4){let e4=this,i3=e4.getGraphicalProps(t4);i3.singular.forEach((function(t5){e4[t5]=e4[t5].destroy()})),i3.plural.forEach((function(t5){e4[t5].forEach((function(t6){t6&&t6.element&&t6.destroy()})),delete e4[t5]}))}firePointEvent(t4,e4,i3){let s3=this,r3=this.series.options;s3.manageEvent(t4),"click"===t4&&r3.allowPointSelect&&(i3=function(t5){!s3.destroyed&&s3.select&&s3.select(null,t5.ctrlKey||t5.metaKey||t5.shiftKey)}),p2(s3,t4,e4,i3)}getClassName(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")}getGraphicalProps(t4){let e4,i3;let s3=this,r3=[],o3={singular:[],plural:[]};for((t4=t4||{graphic:1,dataLabel:1}).graphic&&r3.push("graphic","connector"),t4.dataLabel&&r3.push("dataLabel","dataLabelPath","dataLabelUpper"),i3=r3.length;i3--;)s3[e4=r3[i3]]&&o3.singular.push(e4);return["graphic","dataLabel"].forEach((function(e5){let i4=e5+"s";t4[e5]&&s3[i4]&&o3.plural.push(i4)})),o3}getLabelConfig(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}}getNestedProperty(t4){return t4?0===t4.indexOf("custom.")?u2(t4,this.options):this[t4]:void 0}getZone(){let t4=this.series,e4=t4.zones,i3=t4.zoneAxis||"y",s3,r3=0;for(s3=e4[0];this[i3]>=s3.value;)s3=e4[++r3];return this.nonZonedColor||(this.nonZonedColor=this.color),s3&&s3.color&&!this.options.color?this.color=s3.color:this.color=this.nonZonedColor,s3}hasNewShapeType(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType}constructor(t4,e4,i3){this.formatPrefix="point",this.visible=true,this.series=t4,this.applyOptions(e4,i3),this.id??(this.id=C2()),this.resolveColor(),t4.chart.pointCount++,p2(this,"afterInit")}isValid(){return(m2(this.x)||this.x instanceof Date)&&m2(this.y)}optionsToObject(t4){let e4=this.series,i3=e4.options.keys,s3=i3||e4.pointArrayMap||["y"],r3=s3.length,o3={},n3,a3=0,h3=0;if(m2(t4)||null===t4)o3[s3[0]]=t4;else if(g2(t4))for(!i3&&t4.length>r3&&("string"==(n3=typeof t4[0])?o3.name=t4[0]:"number"===n3&&(o3.x=t4[0]),a3++);h3<r3;)i3&&void 0===t4[a3]||(s3[h3].indexOf(".")>0?k2.prototype.setNestedProperty(o3,t4[a3],s3[h3]):o3[s3[h3]]=t4[a3]),a3++,h3++;else"object"==typeof t4&&(o3=t4,t4.dataLabels&&(e4.hasDataLabels=()=>true),t4.marker&&(e4._hasPointMarkers=true));return o3}pos(t4,e4=this.plotY){if(!this.destroyed){let{plotX:i3,series:s3}=this,{chart:r3,xAxis:o3,yAxis:n3}=s3,a3=0,h3=0;if(m2(i3)&&m2(e4))return t4&&(a3=o3?o3.pos:r3.plotLeft,h3=n3?n3.pos:r3.plotTop),r3.inverted&&o3&&n3?[n3.len-e4+h3,o3.len-i3+a3]:[i3+a3,e4+h3]}}resolveColor(){let t4=this.series,e4=t4.chart.options.chart,i3=t4.chart.styledMode,s3,r3,o3=e4.colorCount,n3;delete this.nonZonedColor,t4.options.colorByPoint?(i3||(s3=(r3=t4.options.colors||t4.chart.options.colors)[t4.colorCounter],o3=r3.length),n3=t4.colorCounter,t4.colorCounter++,t4.colorCounter===o3&&(t4.colorCounter=0)):(i3||(s3=t4.color),n3=t4.colorIndex),this.colorIndex=b2(this.options.colorIndex,n3),this.color=b2(this.options.color,s3)}setNestedProperty(t4,e4,i3){return i3.split(".").reduce((function(t5,i4,s3,r3){let o3=r3.length-1===s3;return t5[i4]=o3?e4:x2(t5[i4],true)?t5[i4]:{},t5[i4]}),t4),t4}shouldDraw(){return!this.isNull}tooltipFormatter(t4){let e4=this.series,i3=e4.tooltipOptions,s3=b2(i3.valueDecimals,""),r3=i3.valuePrefix||"",o3=i3.valueSuffix||"";return e4.chart.styledMode&&(t4=e4.chart.tooltip.styledModeFormat(t4)),(e4.pointArrayMap||["y"]).forEach((function(e5){e5="{point."+e5,(r3||o3)&&(t4=t4.replace(RegExp(e5+"}","g"),r3+e5+"}"+o3)),t4=t4.replace(RegExp(e5+"}","g"),e5+":,."+s3+"f}")})),a2(t4,{point:this,series:this.series},e4.chart)}update(t4,e4,i3,s3){let r3;let o3=this,n3=o3.series,a3=o3.graphic,h3=n3.chart,l3=n3.options;function d3(){o3.applyOptions(t4);let s4=a3&&o3.hasMockGraphic,d4=null===o3.y?!s4:s4;a3&&d4&&(o3.graphic=a3.destroy(),delete o3.hasMockGraphic),x2(t4,true)&&(a3&&a3.element&&t4&&t4.marker&&void 0!==t4.marker.symbol&&(o3.graphic=a3.destroy()),(t4==null?void 0:t4.dataLabels)&&o3.dataLabel&&(o3.dataLabel=o3.dataLabel.destroy())),r3=o3.index,n3.updateParallelArrays(o3,r3),l3.data[r3]=x2(l3.data[r3],true)||x2(t4,true)?o3.options:b2(t4,l3.data[r3]),n3.isDirty=n3.isDirtyData=true,!n3.fixedBox&&n3.hasCartesianSeries&&(h3.isDirtyBox=true),"point"===l3.legendType&&(h3.isDirtyLegend=true),e4&&h3.redraw(i3)}e4=b2(e4,true),false===s3?d3():o3.firePointEvent("update",{options:t4},d3)}remove(t4,e4){this.series.removePoint(this.series.data.indexOf(this),t4,e4)}select(t4,e4){let i3=this,s3=i3.series,r3=s3.chart;t4=b2(t4,!i3.selected),this.selectedStaging=t4,i3.firePointEvent(t4?"select":"unselect",{accumulate:e4},(function(){i3.selected=i3.options.selected=t4,s3.options.data[s3.data.indexOf(i3)]=i3.options,i3.setState(t4&&"select"),e4||r3.getSelectedPoints().forEach((function(t5){let e5=t5.series;t5.selected&&t5!==i3&&(t5.selected=t5.options.selected=false,e5.options.data[e5.data.indexOf(t5)]=t5.options,t5.setState(r3.hoverPoints&&e5.options.inactiveOtherPoints?"inactive":""),t5.firePointEvent("unselect"))}))})),delete this.selectedStaging}onMouseOver(t4){let{inverted:e4,pointer:i3}=this.series.chart;i3&&(t4=t4?i3.normalize(t4):i3.getChartCoordinatesFromPoint(this,e4),i3.runPointActions(t4,this))}onMouseOut(){let t4=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t4.hoverPoints||[]).forEach((function(t5){t5.setState()})),t4.hoverPoints=t4.hoverPoint=null}manageEvent(t4){var _a,_b,_c,_d,_e,_f;let e4=y2(this.series.options.point,this.options),i3=(_a=e4.events)==null?void 0:_a[t4];f2(i3)&&(!((_b=this.hcEvents)==null?void 0:_b[t4])||((_d=(_c=this.hcEvents)==null?void 0:_c[t4])==null?void 0:_d.map((t5=>t5.fn)).indexOf(i3))===-1)?((_e=this.importedUserEvent)==null?void 0:_e.call(this),this.importedUserEvent=h2(this,t4,i3)):this.importedUserEvent&&!i3&&((_f=this.hcEvents)==null?void 0:_f[t4])&&(S2(this,t4),delete this.hcEvents[t4],Object.keys(this.hcEvents)||delete this.importedUserEvent)}setState(e4,i3){var _a;let s3=this.series,r3=this.state,o3=s3.options.states[e4||"normal"]||{},a3=n2.plotOptions[s3.type].marker&&s3.options.marker,h3=a3&&false===a3.enabled,l3=a3&&a3.states&&a3.states[e4||"normal"]||{},d3=false===l3.enabled,u3=this.marker||{},g3=s3.chart,f3=a3&&s3.markerAttribs,x3=s3.halo,y3,v3,S3,C3=s3.stateMarkerGraphic,k3;if((e4=e4||"")===this.state&&!i3||this.selected&&"select"!==e4||false===o3.enabled||e4&&(d3||h3&&false===l3.enabled)||e4&&u3.states&&u3.states[e4]&&false===u3.states[e4].enabled)return;if(this.state=e4,f3&&(y3=s3.markerAttribs(this,e4)),this.graphic&&!this.hasMockGraphic){if(r3&&this.graphic.removeClass("highcharts-point-"+r3),e4&&this.graphic.addClass("highcharts-point-"+e4),!g3.styledMode){v3=s3.pointAttribs(this,e4),S3=b2(g3.options.chart.animation,o3.animation);let t4=v3.opacity;s3.options.inactiveOtherPoints&&m2(t4)&&(this.dataLabels||[]).forEach((function(e5){e5&&!e5.hasClass("highcharts-data-label-hidden")&&(e5.animate({opacity:t4},S3),e5.connector&&e5.connector.animate({opacity:t4},S3))})),this.graphic.animate(v3,S3)}y3&&this.graphic.animate(y3,b2(g3.options.chart.animation,l3.animation,a3.animation)),C3&&C3.hide()}else e4&&l3&&(k3=u3.symbol||s3.symbol,C3&&C3.currentSymbol!==k3&&(C3=C3.destroy()),y3&&(C3?C3[i3?"animate":"attr"]({x:y3.x,y:y3.y}):k3&&(s3.stateMarkerGraphic=C3=g3.renderer.symbol(k3,y3.x,y3.y,y3.width,y3.height).add(s3.markerGroup),C3.currentSymbol=k3)),!g3.styledMode&&C3&&"inactive"!==this.state&&C3.attr(s3.pointAttribs(this,e4))),C3&&(C3[e4&&this.isInside?"show":"hide"](),C3.element.point=this,C3.addClass(this.getClassName(),true));let M=o3.halo,w2=this.graphic||C3,T2=w2&&w2.visibility||"inherit";M&&M.size&&w2&&"hidden"!==T2&&!this.isCluster?(x3||(s3.halo=x3=g3.renderer.path().add(w2.parentGroup)),x3.show()[i3?"animate":"attr"]({d:this.haloPath(M.size)}),x3.attr({class:"highcharts-halo highcharts-color-"+b2(this.colorIndex,s3.colorIndex)+(this.className?" "+this.className:""),visibility:T2,zIndex:-1}),x3.point=this,g3.styledMode||x3.attr(c2({fill:this.color||s3.color,"fill-opacity":M.opacity},t3.filterUserAttributes(M.attributes||{})))):((_a=x3==null?void 0:x3.point)==null?void 0:_a.haloPath)&&!x3.point.destroyed&&x3.animate({d:x3.point.haloPath(0)},null,x3.hide),p2(this,"afterSetState",{state:e4})}haloPath(t4){let e4=this.pos();return e4?this.series.chart.renderer.symbols.circle(l2(e4[0],1)-t4,e4[1]-t4,2*t4,2*t4):[]}}return k2})),i(e2,"Core/Pointer.js",[e2["Core/Color/Color.js"],e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){var s2;let{parse:r2}=t3,{charts:o2,composed:n2,isTouchDevice:a2}=e3,{addEvent:h2,attr:l2,css:d2,extend:c2,find:p2,fireEvent:u2,isNumber:g2,isObject:f2,objectEach:m2,offset:x2,pick:y2,pushUnique:b2,splat:v2}=i2;class S2{applyInactiveState(t4){let e4=[],i3;(t4||[]).forEach((function(t5){i3=t5.series,e4.push(i3),i3.linkedParent&&e4.push(i3.linkedParent),i3.linkedSeries&&(e4=e4.concat(i3.linkedSeries)),i3.navigatorSeries&&e4.push(i3.navigatorSeries)})),this.chart.series.forEach((function(t5){-1===e4.indexOf(t5)?t5.setState("inactive",true):t5.options.inactiveOtherPoints&&t5.setAllPointsToState("inactive")}))}destroy(){let t4=this;this.eventsToUnbind.forEach((t5=>t5())),this.eventsToUnbind=[],!e3.chartCount&&(S2.unbindDocumentMouseUp&&S2.unbindDocumentMouseUp.forEach((t5=>t5())),S2.unbindDocumentTouchEnd&&(S2.unbindDocumentTouchEnd=S2.unbindDocumentTouchEnd())),clearInterval(t4.tooltipTimeout),m2(t4,(function(e4,i3){t4[i3]=void 0}))}getSelectionMarkerAttrs(t4,e4){let i3={args:{chartX:t4,chartY:e4},attrs:{},shapeType:"rect"};return u2(this,"getSelectionMarkerAttrs",i3,(i4=>{let s3;let{chart:r3,zoomHor:o3,zoomVert:n3}=this,{mouseDownX:a3=0,mouseDownY:h3=0}=r3,l3=i4.attrs;l3.x=r3.plotLeft,l3.y=r3.plotTop,l3.width=o3?1:r3.plotWidth,l3.height=n3?1:r3.plotHeight,o3&&(s3=t4-a3,l3.width=Math.max(1,Math.abs(s3)),l3.x=(s3>0?0:s3)+a3),n3&&(s3=e4-h3,l3.height=Math.max(1,Math.abs(s3)),l3.y=(s3>0?0:s3)+h3)})),i3}drag(t4){let{chart:e4}=this,{mouseDownX:i3=0,mouseDownY:s3=0}=e4,{panning:o3,panKey:n3,selectionMarkerFill:a3}=e4.options.chart,h3=e4.plotLeft,l3=e4.plotTop,d3=e4.plotWidth,c3=e4.plotHeight,p3=f2(o3)?o3.enabled:o3,u3=n3&&t4[`${n3}Key`],g3=t4.chartX,m3=t4.chartY,x3,y3=this.selectionMarker;if((!y3||!y3.touch)&&(g3<h3?g3=h3:g3>h3+d3&&(g3=h3+d3),m3<l3?m3=l3:m3>l3+c3&&(m3=l3+c3),this.hasDragged=Math.sqrt(Math.pow(i3-g3,2)+Math.pow(s3-m3,2)),this.hasDragged>10)){x3=e4.isInsidePlot(i3-h3,s3-l3,{visiblePlotOnly:true});let{shapeType:n4,attrs:d4}=this.getSelectionMarkerAttrs(g3,m3);(e4.hasCartesianSeries||e4.mapView)&&this.hasZoom&&x3&&!u3&&!y3&&(this.selectionMarker=y3=e4.renderer[n4](),y3.attr({class:"highcharts-selection-marker",zIndex:7}).add(),e4.styledMode||y3.attr({fill:a3||r2("#334eff").setOpacity(.25).get()})),y3&&y3.attr(d4),x3&&!y3&&p3&&e4.pan(t4,o3)}}dragStart(t4){let e4=this.chart;e4.mouseIsDown=t4.type,e4.cancelClick=false,e4.mouseDownX=t4.chartX,e4.mouseDownY=t4.chartY}getSelectionBox(t4){let e4={args:{marker:t4},result:t4.getBBox()};return u2(this,"getSelectionBox",e4),e4.result}drop(t4){let e4;let{chart:i3,selectionMarker:s3}=this;for(let t5 of i3.axes)t5.isPanning&&(t5.isPanning=false,(t5.options.startOnTick||t5.options.endOnTick||t5.series.some((t6=>t6.boosted)))&&(t5.forceRedraw=true,t5.setExtremes(t5.userMin,t5.userMax,false),e4=true));if(e4&&i3.redraw(),s3&&t4){if(this.hasDragged){let e5=this.getSelectionBox(s3);i3.transform({axes:i3.axes.filter((t5=>t5.zoomEnabled&&("xAxis"===t5.coll&&this.zoomX||"yAxis"===t5.coll&&this.zoomY))),selection:{originalEvent:t4,xAxis:[],yAxis:[],...e5},from:e5})}g2(i3.index)&&(this.selectionMarker=s3.destroy())}i3&&g2(i3.index)&&(d2(i3.container,{cursor:i3._cursor}),i3.cancelClick=this.hasDragged>10,i3.mouseIsDown=false,this.hasDragged=0,this.pinchDown=[])}findNearestKDPoint(t4,e4,i3){let s3;return t4.forEach((function(t5){let r3=!(t5.noSharedTooltip&&e4)&&0>t5.options.findNearestPointBy.indexOf("y"),o3=t5.searchPoint(i3,r3);f2(o3,true)&&o3.series&&(!f2(s3,true)||function(t6,i4){var _a,_b;let s4=t6.distX-i4.distX,r4=t6.dist-i4.dist,o4=((_a=i4.series.group)==null?void 0:_a.zIndex)-((_b=t6.series.group)==null?void 0:_b.zIndex);return 0!==s4&&e4?s4:0!==r4?r4:0!==o4?o4:t6.series.index>i4.series.index?-1:1}(s3,o3)>0)&&(s3=o3)})),s3}getChartCoordinatesFromPoint(t4,e4){let{xAxis:i3,yAxis:s3}=t4.series,r3=t4.shapeArgs;if(i3&&s3){let o3=t4.clientX??t4.plotX??0,n3=t4.plotY||0;return t4.isNode&&r3&&g2(r3.x)&&g2(r3.y)&&(o3=r3.x,n3=r3.y),e4?{chartX:s3.len+s3.pos-n3,chartY:i3.len+i3.pos-o3}:{chartX:o3+i3.pos,chartY:n3+s3.pos}}if(r3&&r3.x&&r3.y)return{chartX:r3.x,chartY:r3.y}}getChartPosition(){if(this.chartPosition)return this.chartPosition;let{container:t4}=this.chart,e4=x2(t4);this.chartPosition={left:e4.left,top:e4.top,scaleX:1,scaleY:1};let{offsetHeight:i3,offsetWidth:s3}=t4;return s3>2&&i3>2&&(this.chartPosition.scaleX=e4.width/s3,this.chartPosition.scaleY=e4.height/i3),this.chartPosition}getCoordinates(t4){let e4={xAxis:[],yAxis:[]};for(let i3 of this.chart.axes)e4[i3.isXAxis?"xAxis":"yAxis"].push({axis:i3,value:i3.toValue(t4[i3.horiz?"chartX":"chartY"])});return e4}getHoverData(t4,e4,i3,s3,r3,o3){let n3=[],a3=function(t5){return t5.visible&&!(!r3&&t5.directTouch)&&y2(t5.options.enableMouseTracking,true)},h3=e4,l3,d3={chartX:o3?o3.chartX:void 0,chartY:o3?o3.chartY:void 0,shared:r3};u2(this,"beforeGetHoverData",d3),l3=h3&&!h3.stickyTracking?[h3]:i3.filter((t5=>t5.stickyTracking&&(d3.filter||a3)(t5)));let c3=s3&&t4||!o3?t4:this.findNearestKDPoint(l3,r3,o3);return h3=c3&&c3.series,c3&&(r3&&!h3.noSharedTooltip?(l3=i3.filter((function(t5){return d3.filter?d3.filter(t5):a3(t5)&&!t5.noSharedTooltip}))).forEach((function(t5){let e5=p2(t5.points,(function(t6){return t6.x===c3.x&&!t6.isNull}));f2(e5)&&(t5.boosted&&t5.boost&&(e5=t5.boost.getPoint(e5)),n3.push(e5))})):n3.push(c3)),u2(this,"afterGetHoverData",d3={hoverPoint:c3}),{hoverPoint:d3.hoverPoint,hoverSeries:h3,hoverPoints:n3}}getPointFromEvent(t4){let e4=t4.target,i3;for(;e4&&!i3;)i3=e4.point,e4=e4.parentNode;return i3}onTrackerMouseOut(t4){let e4=this.chart,i3=t4.relatedTarget,s3=e4.hoverSeries;this.isDirectTouch=false,!s3||!i3||s3.stickyTracking||this.inClass(i3,"highcharts-tooltip")||this.inClass(i3,"highcharts-series-"+s3.index)&&this.inClass(i3,"highcharts-tracker")||s3.onMouseOut()}inClass(t4,e4){let i3=t4,s3;for(;i3;){if(s3=l2(i3,"class")){if(-1!==s3.indexOf(e4))return true;if(-1!==s3.indexOf("highcharts-container"))return false}i3=i3.parentElement}}constructor(t4,e4){var _a;this.hasDragged=0,this.pointerCaptureEventsToUnbind=[],this.eventsToUnbind=[],this.options=e4,this.chart=t4,this.runChartClick=!!((_a=e4.chart.events)==null?void 0:_a.click),this.pinchDown=[],this.setDOMEvents(),u2(this,"afterInit")}normalize(t4,e4){let i3=t4.touches,s3=i3?i3.length?i3.item(0):y2(i3.changedTouches,t4.changedTouches)[0]:t4;e4||(e4=this.getChartPosition());let r3=s3.pageX-e4.left,o3=s3.pageY-e4.top;return c2(t4,{chartX:Math.round(r3/=e4.scaleX),chartY:Math.round(o3/=e4.scaleY)})}onContainerClick(t4){let e4=this.chart,i3=e4.hoverPoint,s3=this.normalize(t4),r3=e4.plotLeft,o3=e4.plotTop;!e4.cancelClick&&(i3&&this.inClass(s3.target,"highcharts-tracker")?(u2(i3.series,"click",c2(s3,{point:i3})),e4.hoverPoint&&i3.firePointEvent("click",s3)):(c2(s3,this.getCoordinates(s3)),e4.isInsidePlot(s3.chartX-r3,s3.chartY-o3,{visiblePlotOnly:true})&&u2(e4,"click",s3)))}onContainerMouseDown(t4){var _a;let i3=(1&(t4.buttons||t4.button))==1;t4=this.normalize(t4),e3.isFirefox&&0!==t4.button&&this.onContainerMouseMove(t4),(void 0===t4.button||i3)&&(this.zoomOption(t4),i3&&((_a=t4.preventDefault)==null?void 0:_a.call(t4)),this.dragStart(t4))}onContainerMouseLeave(t4){let{pointer:e4}=o2[y2(S2.hoverChartIndex,-1)]||{};t4=this.normalize(t4),this.onContainerMouseMove(t4),e4&&!this.inClass(t4.relatedTarget,"highcharts-tooltip")&&(e4.reset(),e4.chartPosition=void 0)}onContainerMouseEnter(){delete this.chartPosition}onContainerMouseMove(t4){let e4=this.chart,i3=e4.tooltip,s3=this.normalize(t4);this.setHoverChartIndex(t4),("mousedown"===e4.mouseIsDown||this.touchSelect(s3))&&this.drag(s3),!e4.openMenu&&(this.inClass(s3.target,"highcharts-tracker")||e4.isInsidePlot(s3.chartX-e4.plotLeft,s3.chartY-e4.plotTop,{visiblePlotOnly:true}))&&!(i3&&i3.shouldStickOnContact(s3))&&(this.inClass(s3.target,"highcharts-no-tooltip")?this.reset(false,0):this.runPointActions(s3))}onDocumentTouchEnd(t4){this.onDocumentMouseUp(t4)}onContainerTouchMove(t4){this.touchSelect(t4)?this.onContainerMouseMove(t4):this.touch(t4)}onContainerTouchStart(t4){this.touchSelect(t4)?this.onContainerMouseDown(t4):(this.zoomOption(t4),this.touch(t4,true))}onDocumentMouseMove(t4){let e4=this.chart,i3=e4.tooltip,s3=this.chartPosition,r3=this.normalize(t4,s3);!s3||e4.isInsidePlot(r3.chartX-e4.plotLeft,r3.chartY-e4.plotTop,{visiblePlotOnly:true})||i3&&i3.shouldStickOnContact(r3)||r3.target!==e4.container.ownerDocument&&this.inClass(r3.target,"highcharts-tracker")||this.reset()}onDocumentMouseUp(t4){var _a,_b;(_b=(_a=o2[y2(S2.hoverChartIndex,-1)])==null?void 0:_a.pointer)==null?void 0:_b.drop(t4)}pinch(t4){let e4=this,{chart:i3,hasZoom:s3,lastTouches:r3}=e4,o3=[].map.call(t4.touches||[],(t5=>e4.normalize(t5))),n3=o3.length,a3=1===n3&&(e4.inClass(t4.target,"highcharts-tracker")&&i3.runTrackerClick||e4.runChartClick),h3=i3.tooltip,l3=1===n3&&y2(h3==null?void 0:h3.options.followTouchMove,true);n3>1?e4.initiated=true:l3&&(e4.initiated=false),s3&&e4.initiated&&!a3&&false!==t4.cancelable&&t4.preventDefault(),"touchstart"===t4.type?(e4.pinchDown=o3,e4.res=true,i3.mouseDownX=t4.chartX):l3?this.runPointActions(e4.normalize(t4)):r3&&(u2(i3,"touchpan",{originalEvent:t4,touches:o3},(()=>{let e5=t5=>{let e6=t5[0],i4=t5[1]||e6;return{x:e6.chartX,y:e6.chartY,width:i4.chartX-e6.chartX,height:i4.chartY-e6.chartY}};i3.transform({axes:i3.axes.filter((t5=>t5.zoomEnabled&&(this.zoomHor&&t5.horiz||this.zoomVert&&!t5.horiz))),to:e5(o3),from:e5(r3),trigger:t4.type})})),e4.res&&(e4.res=false,this.reset(false,0))),e4.lastTouches=o3}reset(t4,e4){let i3=this.chart,s3=i3.hoverSeries,r3=i3.hoverPoint,o3=i3.hoverPoints,n3=i3.tooltip,a3=n3&&n3.shared?o3:r3;t4&&a3&&v2(a3).forEach((function(e5){e5.series.isCartesian&&void 0===e5.plotX&&(t4=false)})),t4?n3&&a3&&v2(a3).length&&(n3.refresh(a3),n3.shared&&o3?o3.forEach((function(t5){t5.setState(t5.state,true),t5.series.isCartesian&&(t5.series.xAxis.crosshair&&t5.series.xAxis.drawCrosshair(null,t5),t5.series.yAxis.crosshair&&t5.series.yAxis.drawCrosshair(null,t5))})):r3&&(r3.setState(r3.state,true),i3.axes.forEach((function(t5){t5.crosshair&&r3.series[t5.coll]===t5&&t5.drawCrosshair(null,r3)})))):(r3&&r3.onMouseOut(),o3&&o3.forEach((function(t5){t5.setState()})),s3&&s3.onMouseOut(),n3&&n3.hide(e4),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),i3.axes.forEach((function(t5){t5.hideCrosshair()})),i3.hoverPoints=i3.hoverPoint=void 0)}runPointActions(t4,e4,i3){let s3=this.chart,r3=s3.series,n3=s3.tooltip&&s3.tooltip.options.enabled?s3.tooltip:void 0,a3=!!n3&&n3.shared,l3=e4||s3.hoverPoint,d3=l3&&l3.series||s3.hoverSeries,c3=(!t4||"touchmove"!==t4.type)&&(!!e4||d3&&d3.directTouch&&this.isDirectTouch),u3=this.getHoverData(l3,d3,r3,c3,a3,t4);l3=u3.hoverPoint,d3=u3.hoverSeries;let g3=u3.hoverPoints,f3=d3&&d3.tooltipOptions.followPointer&&!d3.tooltipOptions.split,m3=a3&&d3&&!d3.noSharedTooltip;if(l3&&(i3||l3!==s3.hoverPoint||n3&&n3.isHidden)){if((s3.hoverPoints||[]).forEach((function(t5){-1===g3.indexOf(t5)&&t5.setState()})),s3.hoverSeries!==d3&&d3.onMouseOver(),this.applyInactiveState(g3),(g3||[]).forEach((function(t5){t5.setState("hover")})),s3.hoverPoint&&s3.hoverPoint.firePointEvent("mouseOut"),!l3.series)return;s3.hoverPoints=g3,s3.hoverPoint=l3,l3.firePointEvent("mouseOver",void 0,(()=>{n3&&l3&&n3.refresh(m3?g3:l3,t4)}))}else if(f3&&n3&&!n3.isHidden){let e5=n3.getAnchor([{}],t4);s3.isInsidePlot(e5[0],e5[1],{visiblePlotOnly:true})&&n3.updatePosition({plotX:e5[0],plotY:e5[1]})}this.unDocMouseMove||(this.unDocMouseMove=h2(s3.container.ownerDocument,"mousemove",(t5=>{var _a,_b;return(_b=(_a=o2[S2.hoverChartIndex??-1])==null?void 0:_a.pointer)==null?void 0:_b.onDocumentMouseMove(t5)})),this.eventsToUnbind.push(this.unDocMouseMove)),s3.axes.forEach((function(e5){let i4;let r4=y2((e5.crosshair||{}).snap,true);!r4||(i4=s3.hoverPoint)&&i4.series[e5.coll]===e5||(i4=p2(g3,(t5=>t5.series&&t5.series[e5.coll]===e5))),i4||!r4?e5.drawCrosshair(t4,i4):e5.hideCrosshair()}))}setDOMEvents(){let t4=this.chart.container,e4=t4.ownerDocument;t4.onmousedown=this.onContainerMouseDown.bind(this),t4.onmousemove=this.onContainerMouseMove.bind(this),t4.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(h2(t4,"mouseenter",this.onContainerMouseEnter.bind(this)),h2(t4,"mouseleave",this.onContainerMouseLeave.bind(this))),S2.unbindDocumentMouseUp||(S2.unbindDocumentMouseUp=[]),S2.unbindDocumentMouseUp.push(h2(e4,"mouseup",this.onDocumentMouseUp.bind(this)));let i3=this.chart.renderTo.parentElement;for(;i3&&"BODY"!==i3.tagName;)this.eventsToUnbind.push(h2(i3,"scroll",(()=>{delete this.chartPosition}))),i3=i3.parentElement;this.eventsToUnbind.push(h2(t4,"touchstart",this.onContainerTouchStart.bind(this),{passive:false}),h2(t4,"touchmove",this.onContainerTouchMove.bind(this),{passive:false})),S2.unbindDocumentTouchEnd||(S2.unbindDocumentTouchEnd=h2(e4,"touchend",this.onDocumentTouchEnd.bind(this),{passive:false})),this.setPointerCapture(),h2(this.chart,"redraw",this.setPointerCapture.bind(this))}setPointerCapture(){var _a,_b;if(!a2)return;let t4=this.pointerCaptureEventsToUnbind,e4=this.chart,i3=e4.container,s3=y2((_a=e4.options.tooltip)==null?void 0:_a.followTouchMove,true)&&e4.series.some((t5=>t5.options.findNearestPointBy.indexOf("y")>-1));!this.hasPointerCapture&&s3?(t4.push(h2(i3,"pointerdown",(t5=>{var _a2,_b2;((_a2=t5.target)==null?void 0:_a2.hasPointerCapture(t5.pointerId))&&((_b2=t5.target)==null?void 0:_b2.releasePointerCapture(t5.pointerId))})),h2(i3,"pointermove",(t5=>{var _a2,_b2;(_b2=(_a2=e4.pointer)==null?void 0:_a2.getPointFromEvent(t5))==null?void 0:_b2.onMouseOver(t5)}))),e4.styledMode||d2(i3,{"touch-action":"none"}),i3.className+=" highcharts-no-touch-action",this.hasPointerCapture=true):this.hasPointerCapture&&!s3&&(t4.forEach((t5=>t5())),t4.length=0,e4.styledMode||d2(i3,{"touch-action":y2((_b=e4.options.chart.style)==null?void 0:_b["touch-action"],"manipulation")}),i3.className=i3.className.replace(" highcharts-no-touch-action",""),this.hasPointerCapture=false)}setHoverChartIndex(t4){var _a;let i3=this.chart,s3=e3.charts[y2(S2.hoverChartIndex,-1)];if(s3&&s3!==i3){let e4={relatedTarget:i3.container};t4&&!(t4==null?void 0:t4.relatedTarget)&&(t4={...e4,...t4}),(_a=s3.pointer)==null?void 0:_a.onContainerMouseLeave(t4||e4)}s3&&s3.mouseIsDown||(S2.hoverChartIndex=i3.index)}touch(t4,e4){let i3;let{chart:s3,pinchDown:r3=[]}=this;this.setHoverChartIndex(),1===(t4=this.normalize(t4)).touches.length?s3.isInsidePlot(t4.chartX-s3.plotLeft,t4.chartY-s3.plotTop,{visiblePlotOnly:true})&&!s3.openMenu?(e4&&this.runPointActions(t4),"touchmove"===t4.type&&(i3=!!r3[0]&&Math.pow(r3[0].chartX-t4.chartX,2)+Math.pow(r3[0].chartY-t4.chartY,2)>=16),y2(i3,true)&&this.pinch(t4)):e4&&this.reset():2===t4.touches.length&&this.pinch(t4)}touchSelect(t4){return!!(this.chart.zooming.singleTouch&&t4.touches&&1===t4.touches.length)}zoomOption(t4){let e4=this.chart,i3=e4.inverted,s3=e4.zooming.type||"",r3,o3;/touch/.test(t4.type)&&(s3=y2(e4.zooming.pinchType,s3)),this.zoomX=r3=/x/.test(s3),this.zoomY=o3=/y/.test(s3),this.zoomHor=r3&&!i3||o3&&i3,this.zoomVert=o3&&!i3||r3&&i3,this.hasZoom=r3||o3}}return(s2=S2||(S2={})).compose=function(t4){b2(n2,"Core.Pointer")&&h2(t4,"beforeRender",(function(){this.pointer=new s2(this,this.options)}))},S2})),i(e2,"Core/Legend/LegendSymbol.js",[e2["Core/Utilities.js"]],(function(t3){var e3;let{extend:i2,merge:s2,pick:r2}=t3;return function(t4){function e4(t5,e5,o2){var _a,_b;let n2=this.legendItem=this.legendItem||{},{chart:a2,options:h2}=this,{baseline:l2=0,symbolWidth:d2,symbolHeight:c2}=t5,p2=this.symbol||"circle",u2=c2/2,g2=a2.renderer,f2=n2.group,m2=l2-Math.round((((_a=t5.fontMetrics)==null?void 0:_a.b)||c2)*(o2?.4:.3)),x2={},y2,b2=h2.marker,v2=0;if(a2.styledMode||(x2["stroke-width"]=Math.min(h2.lineWidth||0,24),h2.dashStyle?x2.dashstyle=h2.dashStyle:"square"===h2.linecap||(x2["stroke-linecap"]="round")),n2.line=g2.path().addClass("highcharts-graph").attr(x2).add(f2),o2&&(n2.area=g2.path().addClass("highcharts-area").add(f2)),x2["stroke-linecap"]&&(v2=Math.min(n2.line.strokeWidth(),d2)/2),d2){let t6=[["M",v2,m2],["L",d2-v2,m2]];n2.line.attr({d:t6}),(_b=n2.area)==null?void 0:_b.attr({d:[...t6,["L",d2-v2,l2],["L",v2,l2]]})}if(b2&&false!==b2.enabled&&d2){let t6=Math.min(r2(b2.radius,u2),u2);0===p2.indexOf("url")&&(b2=s2(b2,{width:c2,height:c2}),t6=0),n2.symbol=y2=g2.symbol(p2,d2/2-t6,m2-t6,2*t6,2*t6,i2({context:"legend"},b2)).addClass("highcharts-point").add(f2),y2.isMarker=true}}t4.areaMarker=function(t5,i3){e4.call(this,t5,i3,true)},t4.lineMarker=e4,t4.rectangle=function(t5,e5){let i3=e5.legendItem||{},s3=t5.options,o2=t5.symbolHeight,n2=s3.squareSymbol,a2=n2?o2:t5.symbolWidth;i3.symbol=this.chart.renderer.rect(n2?(t5.symbolWidth-o2)/2:0,t5.baseline-o2+1,a2,o2,r2(t5.options.symbolRadius,o2/2)).addClass("highcharts-point").attr({zIndex:3}).add(i3.group)}}(e3||(e3={})),e3})),i(e2,"Core/Series/SeriesDefaults.js",[],(function(){return{lineWidth:2,allowPointSelect:false,crisp:true,showCheckbox:false,animation:{duration:1e3},enableMouseTracking:true,events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:true},hover:{animation:{duration:150},enabled:true,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",borderWidth:0,defer:true,formatter:function(){let{numberFormatter:t3}=this.series.chart;return"number"!=typeof this.y?"":t3(this.y,-1)},padding:5,style:{fontSize:"0.7em",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:true,states:{normal:{animation:true},hover:{animation:{duration:150},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:150},opacity:.2}},stickyTracking:true,turboThreshold:1e3,findNearestPointBy:"x"}})),i(e2,"Core/Series/SeriesRegistry.js",[e2["Core/Globals.js"],e2["Core/Defaults.js"],e2["Core/Series/Point.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){var r2;let{defaultOptions:o2}=e3,{extend:n2,extendClass:a2,merge:h2}=s2;return function(e4){function s3(t4,s4){let r3=o2.plotOptions||{},n3=s4.defaultOptions,a3=s4.prototype;return a3.type=t4,a3.pointClass||(a3.pointClass=i2),!e4.seriesTypes[t4]&&(n3&&(r3[t4]=n3),e4.seriesTypes[t4]=s4,true)}e4.seriesTypes=t3.seriesTypes,e4.registerSeriesType=s3,e4.seriesType=function(t4,r3,l2,d2,c2){let p2=o2.plotOptions||{};if(r3=r3||"",p2[t4]=h2(p2[r3],l2),delete e4.seriesTypes[t4],s3(t4,a2(e4.seriesTypes[r3]||function(){},d2)),e4.seriesTypes[t4].prototype.type=t4,c2){class s4 extends i2{}n2(s4.prototype,c2),e4.seriesTypes[t4].prototype.pointClass=s4}return e4.seriesTypes[t4]}}(r2||(r2={})),r2})),i(e2,"Core/Series/Series.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Defaults.js"],e2["Core/Foundation.js"],e2["Core/Globals.js"],e2["Core/Legend/LegendSymbol.js"],e2["Core/Series/Point.js"],e2["Core/Series/SeriesDefaults.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Renderer/SVG/SVGElement.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2,o2,n2,a2,h2,l2){let{animObject:d2,setAnimation:c2}=t3,{defaultOptions:p2}=e3,{registerEventOptions:u2}=i2,{svg:g2,win:f2}=s2,{seriesTypes:m2}=a2,{arrayMax:x2,arrayMin:y2,clamp:b2,correctFloat:v2,crisp:S2,defined:C2,destroyObjectProperties:k2,diffObjects:M,erase:w2,error:T2,extend:A2,find:P,fireEvent:L2,getClosestDistance:O2,getNestedProperty:D2,insertItem:E2,isArray:I,isNumber:j,isString:B,merge:R2,objectEach:z2,pick:N,removeEvent:W2,splat:G,syncTimeout:H2}=l2;class X{constructor(){this.zoneAxis="y"}init(t4,e4){let i3;L2(this,"init",{options:e4});let s3=this,r3=t4.series;this.eventsToUnbind=[],s3.chart=t4,s3.options=s3.setOptions(e4);let o3=s3.options,n3=false!==o3.visible;s3.linkedSeries=[],s3.bindAxes(),A2(s3,{name:o3.name,state:"",visible:n3,selected:true===o3.selected}),u2(this,o3);let a3=o3.events;(a3&&a3.click||o3.point&&o3.point.events&&o3.point.events.click||o3.allowPointSelect)&&(t4.runTrackerClick=true),s3.getColor(),s3.getSymbol(),s3.parallelArrays.forEach((function(t5){s3[t5+"Data"]||(s3[t5+"Data"]=[])})),s3.isCartesian&&(t4.hasCartesianSeries=true),r3.length&&(i3=r3[r3.length-1]),s3._i=N(i3&&i3._i,-1)+1,s3.opacity=s3.options.opacity,t4.orderItems("series",E2(this,r3)),o3.dataSorting&&o3.dataSorting.enabled?s3.setDataSortingOptions():s3.points||s3.data||s3.setData(o3.data,false),L2(this,"afterInit")}is(t4){return m2[t4]&&this instanceof m2[t4]}bindAxes(){let t4;let e4=this,i3=e4.options,s3=e4.chart;L2(this,"bindAxes",null,(function(){(e4.axisTypes||[]).forEach((function(r3){(s3[r3]||[]).forEach((function(s4){t4=s4.options,(N(i3[r3],0)===s4.index||void 0!==i3[r3]&&i3[r3]===t4.id)&&(E2(e4,s4.series),e4[r3]=s4,s4.isDirty=true)})),e4[r3]||e4.optionalAxis===r3||T2(18,true,s3)}))})),L2(this,"afterBindAxes")}updateParallelArrays(t4,e4,i3){let s3=t4.series,r3=j(e4)?function(i4){let r4="y"===i4&&s3.toYData?s3.toYData(t4):t4[i4];s3[i4+"Data"][e4]=r4}:function(t5){Array.prototype[e4].apply(s3[t5+"Data"],i3)};s3.parallelArrays.forEach(r3)}hasData(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&this.yData.length>0}hasMarkerChanged(t4,e4){let i3=t4.marker,s3=e4.marker||{};return i3&&(s3.enabled&&!i3.enabled||s3.symbol!==i3.symbol||s3.height!==i3.height||s3.width!==i3.width)}autoIncrement(t4){let e4=this.options,i3=e4.pointIntervalUnit,s3=e4.relativeXValue,r3=this.chart.time,o3=this.xIncrement,n3,a3;return(o3=N(o3,e4.pointStart,0),this.pointInterval=a3=N(this.pointInterval,e4.pointInterval,1),s3&&j(t4)&&(a3*=t4),i3&&(n3=new r3.Date(o3),"day"===i3?r3.set("Date",n3,r3.get("Date",n3)+a3):"month"===i3?r3.set("Month",n3,r3.get("Month",n3)+a3):"year"===i3&&r3.set("FullYear",n3,r3.get("FullYear",n3)+a3),a3=n3.getTime()-o3),s3&&j(t4))?o3+a3:(this.xIncrement=o3+a3,o3)}setDataSortingOptions(){let t4=this.options;A2(this,{requireSorting:false,sorted:false,enabledDataSorting:true,allowDG:false}),C2(t4.pointRange)||(t4.pointRange=1)}setOptions(t4){var _a,_b;let e4;let i3=this.chart,s3=i3.options.plotOptions,r3=i3.userOptions||{},o3=R2(t4),n3=i3.styledMode,a3={plotOptions:s3,userOptions:o3};L2(this,"setOptions",a3);let h3=a3.plotOptions[this.type],l3=r3.plotOptions||{},d3=l3.series||{},c3=p2.plotOptions[this.type]||{},u3=l3[this.type]||{};this.userOptions=a3.userOptions;let g3=R2(h3,s3.series,u3,o3);this.tooltipOptions=R2(p2.tooltip,(_a=p2.plotOptions.series)==null?void 0:_a.tooltip,c3==null?void 0:c3.tooltip,i3.userOptions.tooltip,(_b=l3.series)==null?void 0:_b.tooltip,u3.tooltip,o3.tooltip),this.stickyTracking=N(o3.stickyTracking,u3.stickyTracking,d3.stickyTracking,!!this.tooltipOptions.shared&&!this.noSharedTooltip||g3.stickyTracking),null===h3.marker&&delete g3.marker,this.zoneAxis=g3.zoneAxis||"y";let f3=this.zones=(g3.zones||[]).map((t5=>({...t5})));return(g3.negativeColor||g3.negativeFillColor)&&!g3.zones&&(e4={value:g3[this.zoneAxis+"Threshold"]||g3.threshold||0,className:"highcharts-negative"},n3||(e4.color=g3.negativeColor,e4.fillColor=g3.negativeFillColor),f3.push(e4)),f3.length&&C2(f3[f3.length-1].value)&&f3.push(n3?{}:{color:this.color,fillColor:this.fillColor}),L2(this,"afterSetOptions",{options:g3}),g3}getName(){return N(this.options.name,"Series "+(this.index+1))}getCyclic(t4,e4,i3){let s3,r3;let o3=this.chart,n3=`${t4}Index`,a3=`${t4}Counter`,h3=(i3==null?void 0:i3.length)||o3.options.chart.colorCount;!e4&&(C2(r3=N("color"===t4?this.options.colorIndex:void 0,this[n3]))?s3=r3:(o3.series.length||(o3[a3]=0),s3=o3[a3]%h3,o3[a3]+=1),i3&&(e4=i3[s3])),void 0!==s3&&(this[n3]=s3),this[t4]=e4}getColor(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||p2.plotOptions[this.type].color,this.chart.options.colors)}getPointsCollection(){return(this.hasGroupedData?this.points:this.data)||[]}getSymbol(){let t4=this.options.marker;this.getCyclic("symbol",t4.symbol,this.chart.options.symbols)}findPointIndex(t4,e4){let i3,s3,r3;let n3=t4.id,a3=t4.x,h3=this.points,l3=this.options.dataSorting;if(n3){let t5=this.chart.get(n3);t5 instanceof o2&&(i3=t5)}else if(this.linkedParent||this.enabledDataSorting||this.options.relativeXValue){let e5=e6=>!e6.touched&&e6.index===t4.index;if(l3&&l3.matchByName?e5=e6=>!e6.touched&&e6.name===t4.name:this.options.relativeXValue&&(e5=e6=>!e6.touched&&e6.options.x===t4.x),!(i3=P(h3,e5)))return}return i3&&void 0!==(r3=i3&&i3.index)&&(s3=true),void 0===r3&&j(a3)&&(r3=this.xData.indexOf(a3,e4)),-1!==r3&&void 0!==r3&&this.cropped&&(r3=r3>=this.cropStart?r3-this.cropStart:r3),!s3&&j(r3)&&h3[r3]&&h3[r3].touched&&(r3=void 0),r3}updateData(t4,e4){let i3=this.options,s3=i3.dataSorting,r3=this.points,o3=[],n3=this.requireSorting,a3=t4.length===r3.length,h3,l3,d3,c3,p3=true;if(this.xIncrement=null,t4.forEach((function(t5,e5){let l4;let d4=C2(t5)&&this.pointClass.prototype.optionsToObject.call({series:this},t5)||{},p4=d4.x;d4.id||j(p4)?(-1===(l4=this.findPointIndex(d4,c3))||void 0===l4?o3.push(t5):r3[l4]&&t5!==i3.data[l4]?(r3[l4].update(t5,false,null,false),r3[l4].touched=true,n3&&(c3=l4+1)):r3[l4]&&(r3[l4].touched=true),(!a3||e5!==l4||s3&&s3.enabled||this.hasDerivedData)&&(h3=true)):o3.push(t5)}),this),h3)for(l3=r3.length;l3--;)(d3=r3[l3])&&!d3.touched&&d3.remove&&d3.remove(false,e4);else!a3||s3&&s3.enabled?p3=false:(t4.forEach((function(t5,e5){t5===r3[e5].y||r3[e5].destroyed||r3[e5].update(t5,false,null,false)})),o3.length=0);return r3.forEach((function(t5){t5&&(t5.touched=false)})),!!p3&&(o3.forEach((function(t5){this.addPoint(t5,false,null,null,false)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=x2(this.xData),this.autoIncrement()),true)}setData(t4,e4=true,i3,s3){var _a;let r3=this,o3=r3.points,n3=o3&&o3.length||0,a3=r3.options,h3=r3.chart,l3=a3.dataSorting,d3=r3.xAxis,c3=a3.turboThreshold,p3=this.xData,u3=this.yData,g3=r3.pointArrayMap,f3=g3&&g3.length,m3=a3.keys,x3,y3,b3,v3=0,S3=1,C3;h3.options.chart.allowMutatingData||(a3.data&&delete r3.options.data,r3.userOptions.data&&delete r3.userOptions.data,C3=R2(true,t4));let k3=(t4=C3||t4||[]).length;if(l3&&l3.enabled&&(t4=this.sortData(t4)),h3.options.chart.allowMutatingData&&false!==s3&&k3&&n3&&!r3.cropped&&!r3.hasGroupedData&&r3.visible&&!r3.boosted&&(b3=this.updateData(t4,i3)),!b3){r3.xIncrement=null,r3.colorCounter=0,this.parallelArrays.forEach((function(t5){r3[t5+"Data"].length=0}));let e5=c3&&k3>c3;if(e5){let i4=r3.getFirstValidPoint(t4),s4=r3.getFirstValidPoint(t4,k3-1,-1),o4=t5=>!!(I(t5)&&(m3||j(t5[0])));if(j(i4)&&j(s4))for(x3=0;x3<k3;x3++)p3[x3]=this.autoIncrement(),u3[x3]=t4[x3];else if(o4(i4)&&o4(s4)){if(f3){if(i4.length===f3)for(x3=0;x3<k3;x3++)p3[x3]=this.autoIncrement(),u3[x3]=t4[x3];else for(x3=0;x3<k3;x3++)y3=t4[x3],p3[x3]=y3[0],u3[x3]=y3.slice(1,f3+1)}else if(m3&&(v3=m3.indexOf("x"),S3=m3.indexOf("y"),v3=v3>=0?v3:0,S3=S3>=0?S3:1),1===i4.length&&(S3=0),v3===S3)for(x3=0;x3<k3;x3++)p3[x3]=this.autoIncrement(),u3[x3]=t4[x3][S3];else for(x3=0;x3<k3;x3++)y3=t4[x3],p3[x3]=y3[v3],u3[x3]=y3[S3]}else e5=false}if(!e5)for(x3=0;x3<k3;x3++)y3={series:r3},r3.pointClass.prototype.applyOptions.apply(y3,[t4[x3]]),r3.updateParallelArrays(y3,x3);for(u3&&B(u3[0])&&T2(14,true,h3),r3.data=[],r3.options.data=r3.userOptions.data=t4,x3=n3;x3--;)(_a=o3[x3])==null?void 0:_a.destroy();d3&&(d3.minRange=d3.userMinRange),r3.isDirty=h3.isDirtyBox=true,r3.isDirtyData=!!o3,i3=false}"point"===a3.legendType&&(this.processData(),this.generatePoints()),e4&&h3.redraw(i3)}sortData(t4){let e4=this,i3=e4.options.dataSorting.sortKey||"y",s3=function(t5,e5){return C2(e5)&&t5.pointClass.prototype.optionsToObject.call({series:t5},e5)||{}};return t4.forEach((function(i4,r3){t4[r3]=s3(e4,i4),t4[r3].index=r3}),this),t4.concat().sort(((t5,e5)=>{let s4=D2(i3,t5),r3=D2(i3,e5);return r3<s4?-1:r3>s4?1:0})).forEach((function(t5,e5){t5.x=e5}),this),e4.linkedSeries&&e4.linkedSeries.forEach((function(e5){let i4=e5.options,r3=i4.data;i4.dataSorting&&i4.dataSorting.enabled||!r3||(r3.forEach((function(i5,o3){r3[o3]=s3(e5,i5),t4[o3]&&(r3[o3].x=t4[o3].x,r3[o3].index=o3)})),e5.setData(r3,false))})),t4}getProcessedData(t4){let e4=this,i3=e4.xAxis,s3=e4.options.cropThreshold,r3=i3==null?void 0:i3.logarithmic,o3=e4.isCartesian,n3,a3,h3=0,l3,d3,c3,p3=e4.xData,u3=e4.yData,g3=false,f3=p3.length;i3&&(d3=(l3=i3.getExtremes()).min,c3=l3.max,g3=!!(i3.categories&&!i3.names.length)),o3&&e4.sorted&&!t4&&(!s3||f3>s3||e4.forceCrop)&&(p3[f3-1]<d3||p3[0]>c3?(p3=[],u3=[]):e4.yData&&(p3[0]<d3||p3[f3-1]>c3)&&(p3=(n3=this.cropData(e4.xData,e4.yData,d3,c3)).xData,u3=n3.yData,h3=n3.start,a3=true));let m3=O2([r3?p3.map(r3.log2lin):p3],(()=>e4.requireSorting&&!g3&&T2(15,false,e4.chart)));return{xData:p3,yData:u3,cropped:a3,cropStart:h3,closestPointRange:m3}}processData(t4){let e4=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e4.isDirty&&!this.yAxis.isDirty&&!t4)return false;let i3=this.getProcessedData();this.cropped=i3.cropped,this.cropStart=i3.cropStart,this.processedXData=i3.xData,this.processedYData=i3.yData,this.closestPointRange=this.basePointRange=i3.closestPointRange,L2(this,"afterProcessData")}cropData(t4,e4,i3,s3){let r3=t4.length,o3,n3,a3=0,h3=r3;for(o3=0;o3<r3;o3++)if(t4[o3]>=i3){a3=Math.max(0,o3-1);break}for(n3=o3;n3<r3;n3++)if(t4[n3]>s3){h3=n3+1;break}return{xData:t4.slice(a3,h3),yData:e4.slice(a3,h3),start:a3,end:h3}}generatePoints(){let t4=this.options,e4=this.processedData||t4.data,i3=this.processedXData,s3=this.processedYData,r3=this.pointClass,o3=i3.length,n3=this.cropStart||0,a3=this.hasGroupedData,h3=t4.keys,l3=[],d3=t4.dataGrouping&&t4.dataGrouping.groupAll?n3:0,c3,p3,u3,g3,f3=this.data;if(!f3&&!a3){let t5=[];t5.length=e4.length,f3=this.data=t5}for(h3&&a3&&(this.options.keys=false),g3=0;g3<o3;g3++)p3=n3+g3,a3?((u3=new r3(this,[i3[g3]].concat(G(s3[g3])))).dataGroup=this.groupMap[d3+g3],u3.dataGroup.options&&(u3.options=u3.dataGroup.options,A2(u3,u3.dataGroup.options),delete u3.dataLabels)):(u3=f3[p3])||void 0===e4[p3]||(f3[p3]=u3=new r3(this,e4[p3],i3[g3])),u3&&(u3.index=a3?d3+g3:p3,l3[g3]=u3);if(this.options.keys=h3,f3&&(o3!==(c3=f3.length)||a3))for(g3=0;g3<c3;g3++)g3!==n3||a3||(g3+=o3),f3[g3]&&(f3[g3].destroyElements(),f3[g3].plotX=void 0);this.data=f3,this.points=l3,L2(this,"afterGeneratePoints")}getXExtremes(t4){return{min:y2(t4),max:x2(t4)}}getExtremes(t4,e4){let i3=this.xAxis,s3=this.yAxis,r3=[],o3=this.requireSorting&&!this.is("column")?1:0,n3=!!s3&&s3.positiveValuesOnly,a3=e4||this.getExtremesFromAll||this.options.getExtremesFromAll,{processedXData:h3,processedYData:l3}=this,d3,c3,p3,u3,g3,f3,m3,b3=0,v3=0,S3=0;if(this.cropped&&a3){let t5=this.getProcessedData(true);h3=t5.xData,l3=t5.yData}let C3=(t4=t4||this.stackedYData||l3||[]).length,k3=h3||this.xData;for(i3&&(b3=(d3=i3.getExtremes()).min,v3=d3.max),f3=0;f3<C3;f3++)if(u3=k3[f3],c3=(j(g3=t4[f3])||I(g3))&&((j(g3)?g3>0:g3.length)||!n3),p3=e4||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!i3||(k3[f3+o3]||u3)>=b3&&(k3[f3-o3]||u3)<=v3,c3&&p3){if(m3=g3.length)for(;m3--;)j(g3[m3])&&(r3[S3++]=g3[m3]);else r3[S3++]=g3}let M2={activeYData:r3,dataMin:y2(r3),dataMax:x2(r3)};return L2(this,"afterGetExtremes",{dataExtremes:M2}),M2}applyExtremes(){let t4=this.getExtremes();return this.dataMin=t4.dataMin,this.dataMax=t4.dataMax,t4}getFirstValidPoint(t4,e4=0,i3=1){let s3=t4.length,r3=e4;for(;r3>=0&&r3<s3;){if(C2(t4[r3]))return t4[r3];r3+=i3}}translate(){var _a;this.processedXData||this.processData(),this.generatePoints();let t4=this.options,e4=t4.stacking,i3=this.xAxis,s3=i3.categories,r3=this.enabledDataSorting,o3=this.yAxis,n3=this.points,a3=n3.length,h3=this.pointPlacementToXValue(),l3=!!h3,d3=t4.threshold,c3=t4.startFromThreshold?d3:0,p3,u3,g3,f3,m3=Number.MAX_VALUE;function x3(t5){return b2(t5,-1e9,1e9)}for(p3=0;p3<a3;p3++){let t5;let a4=n3[p3],y3=a4.x,b3,S3,k3=a4.y,M2=a4.low,w3=e4&&((_a=o3.stacking)==null?void 0:_a.stacks[(this.negStacks&&k3<(c3?0:d3)?"-":"")+this.stackKey]);u3=i3.translate(y3,false,false,false,true,h3),a4.plotX=j(u3)?v2(x3(u3)):void 0,e4&&this.visible&&w3&&w3[y3]&&(f3=this.getStackIndicator(f3,y3,this.index),!a4.isNull&&f3.key&&(S3=(b3=w3[y3]).points[f3.key]),b3&&I(S3)&&(M2=S3[0],k3=S3[1],M2===c3&&f3.key===w3[y3].base&&(M2=N(j(d3)?d3:o3.min)),o3.positiveValuesOnly&&C2(M2)&&M2<=0&&(M2=void 0),a4.total=a4.stackTotal=N(b3.total),a4.percentage=C2(a4.y)&&b3.total?a4.y/b3.total*100:void 0,a4.stackY=k3,this.irregularWidths||b3.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))),a4.yBottom=C2(M2)?x3(o3.translate(M2,false,true,false,true)):void 0,this.dataModify&&(k3=this.dataModify.modifyValue(k3,p3)),j(k3)&&void 0!==a4.plotX&&(t5=j(t5=o3.translate(k3,false,true,false,true))?x3(t5):void 0),a4.plotY=t5,a4.isInside=this.isPointInside(a4),a4.clientX=l3?v2(i3.translate(y3,false,false,false,true,h3)):u3,a4.negative=(a4.y||0)<(d3||0),a4.category=N(s3&&s3[a4.x],a4.x),a4.isNull||false===a4.visible||(void 0!==g3&&(m3=Math.min(m3,Math.abs(u3-g3))),g3=u3),a4.zone=this.zones.length?a4.getZone():void 0,!a4.graphic&&this.group&&r3&&(a4.isNew=true)}this.closestPointRangePx=m3,L2(this,"afterTranslate")}getValidPoints(t4,e4,i3){let s3=this.chart;return(t4||this.points||[]).filter((function(t5){let{plotX:r3,plotY:o3}=t5;return!!((i3||!t5.isNull&&j(o3))&&(!e4||s3.isInsidePlot(r3,o3,{inverted:s3.inverted})))&&false!==t5.visible}))}getClipBox(){let{chart:t4,xAxis:e4,yAxis:i3}=this,{x:s3,y:r3,width:o3,height:n3}=R2(t4.clipBox);return e4&&e4.len!==t4.plotSizeX&&(o3=e4.len),i3&&i3.len!==t4.plotSizeY&&(n3=i3.len),t4.inverted&&!this.invertible&&([o3,n3]=[n3,o3]),{x:s3,y:r3,width:o3,height:n3}}getSharedClipKey(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0),this.sharedClipKey}setClip(){let{chart:t4,group:e4,markerGroup:i3}=this,s3=t4.sharedClips,r3=t4.renderer,o3=this.getClipBox(),n3=this.getSharedClipKey(),a3=s3[n3];a3?a3.animate(o3):s3[n3]=a3=r3.clipRect(o3),e4&&e4.clip(false===this.options.clip?void 0:a3),i3&&i3.clip()}animate(t4){let{chart:e4,group:i3,markerGroup:s3}=this,r3=e4.inverted,o3=d2(this.options.animation),n3=[this.getSharedClipKey(),o3.duration,o3.easing,o3.defer].join(","),a3=e4.sharedClips[n3],h3=e4.sharedClips[n3+"m"];if(t4&&i3){let t5=this.getClipBox();if(a3)a3.attr("height",t5.height);else{t5.width=0,r3&&(t5.x=e4.plotHeight),a3=e4.renderer.clipRect(t5),e4.sharedClips[n3]=a3;let i4={x:-99,y:-99,width:r3?e4.plotWidth+199:99,height:r3?99:e4.plotHeight+199};h3=e4.renderer.clipRect(i4),e4.sharedClips[n3+"m"]=h3}i3.clip(a3),s3==null?void 0:s3.clip(h3)}else if(a3&&!a3.hasClass("highcharts-animating")){let t5=this.getClipBox(),i4=o3.step;((s3==null?void 0:s3.element.childNodes.length)||e4.series.length>1)&&(o3.step=function(t6,e5){i4&&i4.apply(e5,arguments),"width"===e5.prop&&(h3==null?void 0:h3.element)&&h3.attr(r3?"height":"width",t6+99)}),a3.addClass("highcharts-animating").animate(t5,o3)}}afterAnimate(){this.setClip(),z2(this.chart.sharedClips,((t4,e4,i3)=>{t4&&!this.chart.container.querySelector(`[clip-path="url(#${t4.id})"]`)&&(t4.destroy(),delete i3[e4])})),this.finishedAnimating=true,L2(this,"afterAnimate")}drawPoints(t4=this.points){let e4,i3,s3,r3,o3,n3,a3;let h3=this.chart,l3=h3.styledMode,{colorAxis:d3,options:c3}=this,p3=c3.marker,u3=this[this.specialGroup||"markerGroup"],g3=this.xAxis,f3=N(p3.enabled,!g3||!!g3.isRadial||null,this.closestPointRangePx>=p3.enabledThreshold*p3.radius);if(false!==p3.enabled||this._hasPointMarkers)for(e4=0;e4<t4.length;e4++)if(r3=(s3=(i3=t4[e4]).graphic)?"animate":"attr",o3=i3.marker||{},n3=!!i3.marker,(f3&&void 0===o3.enabled||o3.enabled)&&!i3.isNull&&false!==i3.visible){let t5=N(o3.symbol,this.symbol,"rect");a3=this.markerAttribs(i3,i3.selected&&"select"),this.enabledDataSorting&&(i3.startXPos=g3.reversed?-(a3.width||0):g3.width);let e5=false!==i3.isInside;if(!s3&&e5&&((a3.width||0)>0||i3.hasImage)&&(i3.graphic=s3=h3.renderer.symbol(t5,a3.x,a3.y,a3.width,a3.height,n3?o3:p3).add(u3),this.enabledDataSorting&&h3.hasRendered&&(s3.attr({x:i3.startXPos}),r3="animate")),s3&&"animate"===r3&&s3[e5?"show":"hide"](e5).animate(a3),s3){let t6=this.pointAttribs(i3,l3||!i3.selected?void 0:"select");l3?d3&&s3.css({fill:t6.fill}):s3[r3](t6)}s3&&s3.addClass(i3.getClassName(),true)}else s3&&(i3.graphic=s3.destroy())}markerAttribs(t4,e4){let i3=this.options,s3=i3.marker,r3=t4.marker||{},o3=r3.symbol||s3.symbol,n3={},a3,h3,l3=N(r3.radius,s3&&s3.radius);e4&&(a3=s3.states[e4],l3=N((h3=r3.states&&r3.states[e4])&&h3.radius,a3&&a3.radius,l3&&l3+(a3&&a3.radiusPlus||0))),t4.hasImage=o3&&0===o3.indexOf("url"),t4.hasImage&&(l3=0);let d3=t4.pos();return j(l3)&&d3&&(i3.crisp&&(d3[0]=S2(d3[0],t4.hasImage?0:"rect"===o3?(s3==null?void 0:s3.lineWidth)||0:1)),n3.x=d3[0]-l3,n3.y=d3[1]-l3),l3&&(n3.width=n3.height=2*l3),n3}pointAttribs(t4,e4){let i3=this.options.marker,s3=t4&&t4.options,r3=s3&&s3.marker||{},o3=s3&&s3.color,n3=t4&&t4.color,a3=t4&&t4.zone&&t4.zone.color,h3,l3,d3=this.color,c3,p3,u3=N(r3.lineWidth,i3.lineWidth),g3=1;return d3=o3||a3||n3||d3,c3=r3.fillColor||i3.fillColor||d3,p3=r3.lineColor||i3.lineColor||d3,e4=e4||"normal",h3=i3.states[e4]||{},u3=N((l3=r3.states&&r3.states[e4]||{}).lineWidth,h3.lineWidth,u3+N(l3.lineWidthPlus,h3.lineWidthPlus,0)),c3=l3.fillColor||h3.fillColor||c3,{stroke:p3=l3.lineColor||h3.lineColor||p3,"stroke-width":u3,fill:c3,opacity:g3=N(l3.opacity,h3.opacity,g3)}}destroy(t4){let e4,i3,s3;let r3=this,o3=r3.chart,n3=/AppleWebKit\/533/.test(f2.navigator.userAgent),a3=r3.data||[];for(L2(r3,"destroy",{keepEventsForUpdate:t4}),this.removeEvents(t4),(r3.axisTypes||[]).forEach((function(t5){(s3=r3[t5])&&s3.series&&(w2(s3.series,r3),s3.isDirty=s3.forceRedraw=true)})),r3.legendItem&&r3.chart.legend.destroyItem(r3),e4=a3.length;e4--;)(i3=a3[e4])&&i3.destroy&&i3.destroy();for(let t5 of r3.zones)k2(t5,void 0,true);l2.clearTimeout(r3.animationTimeout),z2(r3,(function(t5,e5){t5 instanceof h2&&!t5.survive&&t5[n3&&"group"===e5?"hide":"destroy"]()})),o3.hoverSeries===r3&&(o3.hoverSeries=void 0),w2(o3.series,r3),o3.orderItems("series"),z2(r3,(function(e5,i4){t4&&"hcEvents"===i4||delete r3[i4]}))}applyZones(){let{area:t4,chart:e4,graph:i3,zones:s3,points:r3,xAxis:o3,yAxis:n3,zoneAxis:a3}=this,{inverted:h3,renderer:l3}=e4,d3=this[`${a3}Axis`],{isXAxis:c3,len:p3=0}=d3||{},u3=((i3==null?void 0:i3.strokeWidth())||0)/2+1,g3=(t5,e5=0,i4=0)=>{h3&&(i4=p3-i4);let{translated:s4=0,lineClip:r4}=t5,o4=i4-s4;r4==null?void 0:r4.push(["L",e5,Math.abs(o4)<u3?i4-u3*(o4<=0?-1:1):s4])};if(s3.length&&(i3||t4)&&d3&&j(d3.min)){let e5=d3.getExtremes().max,u4=t5=>{t5.forEach(((e6,i4)=>{("M"===e6[0]||"L"===e6[0])&&(t5[i4]=[e6[0],c3?p3-e6[1]:e6[1],c3?e6[2]:p3-e6[2]])}))};if(s3.forEach((t5=>{t5.lineClip=[],t5.translated=b2(d3.toPixels(N(t5.value,e5),true)||0,0,p3)})),i3&&!this.showLine&&i3.hide(),t4&&t4.hide(),"y"===a3&&r3.length<o3.len)for(let t5 of r3){let{plotX:e6,plotY:i4,zone:r4}=t5,o4=r4&&s3[s3.indexOf(r4)-1];r4&&g3(r4,e6,i4),o4&&g3(o4,e6,i4)}let f3=[],m3=d3.toPixels(d3.getExtremes().min,true);s3.forEach((e6=>{var _a,_b;let s4=e6.lineClip||[],r4=Math.round(e6.translated||0);o3.reversed&&s4.reverse();let{clip:a4,simpleClip:d4}=e6,p4=0,g4=0,x3=o3.len,y3=n3.len;c3?(p4=r4,x3=m3):(g4=r4,y3=m3);let b3=[["M",p4,g4],["L",x3,g4],["L",x3,y3],["L",p4,y3],["Z"]],v3=[b3[0],...s4,b3[1],b3[2],...f3,b3[3],b3[4]];f3=s4.reverse(),m3=r4,h3&&(u4(v3),t4&&u4(b3)),a4?(a4.animate({d:v3}),d4==null?void 0:d4.animate({d:b3})):(a4=e6.clip=l3.path(v3),t4&&(d4=e6.simpleClip=l3.path(b3))),i3&&((_a=e6.graph)==null?void 0:_a.clip(a4)),t4&&((_b=e6.area)==null?void 0:_b.clip(d4))}))}else this.visible&&(i3&&i3.show(),t4&&t4.show())}plotGroup(t4,e4,i3,s3,r3){let o3=this[t4],n3=!o3,a3={visibility:i3,zIndex:s3||.1};return C2(this.opacity)&&!this.chart.styledMode&&"inactive"!==this.state&&(a3.opacity=this.opacity),o3||(this[t4]=o3=this.chart.renderer.g().add(r3)),o3.addClass("highcharts-"+e4+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(C2(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(o3.hasClass("highcharts-tracker")?" highcharts-tracker":""),true),o3.attr(a3)[n3?"attr":"animate"](this.getPlotBox(e4)),o3}getPlotBox(t4){let e4=this.xAxis,i3=this.yAxis,s3=this.chart,r3=s3.inverted&&!s3.polar&&e4&&this.invertible&&"series"===t4;return s3.inverted&&(e4=i3,i3=this.xAxis),{translateX:e4?e4.left:s3.plotLeft,translateY:i3?i3.top:s3.plotTop,rotation:r3?90:0,rotationOriginX:r3?(e4.len-i3.len)/2:0,rotationOriginY:r3?(e4.len+i3.len)/2:0,scaleX:r3?-1:1,scaleY:1}}removeEvents(t4){let{eventsToUnbind:e4}=this;t4||W2(this),e4.length&&(e4.forEach((t5=>{t5()})),e4.length=0)}render(){var _a,_b,_c,_d,_e;let t4=this,{chart:e4,options:i3,hasRendered:s3}=t4,r3=d2(i3.animation),o3=t4.visible?"inherit":"hidden",n3=i3.zIndex,a3=e4.seriesGroup,h3=t4.finishedAnimating?0:r3.duration;L2(this,"render"),t4.plotGroup("group","series",o3,n3,a3),t4.markerGroup=t4.plotGroup("markerGroup","markers",o3,n3,a3),false!==i3.clip&&t4.setClip(),h3&&((_a=t4.animate)==null?void 0:_a.call(t4,true)),t4.drawGraph&&(t4.drawGraph(),t4.applyZones()),t4.visible&&t4.drawPoints(),(_b=t4.drawDataLabels)==null?void 0:_b.call(t4),(_c=t4.redrawPoints)==null?void 0:_c.call(t4),i3.enableMouseTracking&&((_d=t4.drawTracker)==null?void 0:_d.call(t4)),h3&&((_e=t4.animate)==null?void 0:_e.call(t4)),s3||(h3&&r3.defer&&(h3+=r3.defer),t4.animationTimeout=H2((()=>{t4.afterAnimate()}),h3||0)),t4.isDirty=false,t4.hasRendered=true,L2(t4,"afterRender")}redraw(){let t4=this.isDirty||this.isDirtyData;this.translate(),this.render(),t4&&delete this.kdTree}reserveSpace(){return this.visible||!this.chart.options.chart.ignoreHiddenSeries}searchPoint(t4,e4){let{xAxis:i3,yAxis:s3}=this,r3=this.chart.inverted;return this.searchKDTree({clientX:r3?i3.len-t4.chartY+i3.pos:t4.chartX-i3.pos,plotY:r3?s3.len-t4.chartX+s3.pos:t4.chartY-s3.pos},e4,t4)}buildKDTree(t4){this.buildingKdTree=true;let e4=this,i3=e4.options.findNearestPointBy.indexOf("y")>-1?2:1;delete e4.kdTree,H2((function(){e4.kdTree=function t5(i4,s3,r3){let o3,n3;let a3=i4==null?void 0:i4.length;if(a3)return o3=e4.kdAxisArray[s3%r3],i4.sort(((t6,e5)=>(t6[o3]||0)-(e5[o3]||0))),{point:i4[n3=Math.floor(a3/2)],left:t5(i4.slice(0,n3),s3+1,r3),right:t5(i4.slice(n3+1),s3+1,r3)}}(e4.getValidPoints(void 0,!e4.directTouch),i3,i3),e4.buildingKdTree=false}),e4.options.kdNow||(t4==null?void 0:t4.type)==="touchstart"?0:1)}searchKDTree(t4,e4,i3){let s3=this,[r3,o3]=this.kdAxisArray,n3=e4?"distX":"dist",a3=(s3.options.findNearestPointBy||"").indexOf("y")>-1?2:1,h3=!!s3.isBubble;if(this.kdTree||this.buildingKdTree||this.buildKDTree(i3),this.kdTree)return function t5(e5,i4,a4,l3){var _a;let d3=i4.point,c3=s3.kdAxisArray[a4%l3],p3,u3,g3=d3;!function(t6,e6){var _a2;let i5=t6[r3],s4=e6[r3],n4=C2(i5)&&C2(s4)?i5-s4:null,a5=t6[o3],l4=e6[o3],d4=C2(a5)&&C2(l4)?a5-l4:0,c4=h3&&((_a2=e6.marker)==null?void 0:_a2.radius)||0;e6.dist=Math.sqrt((n4&&n4*n4||0)+d4*d4)-c4,e6.distX=C2(n4)?Math.abs(n4)-c4:Number.MAX_VALUE}(e5,d3);let f3=(e5[c3]||0)-(d3[c3]||0)+(h3&&((_a=d3.marker)==null?void 0:_a.radius)||0),m3=f3<0?"left":"right",x3=f3<0?"right":"left";return i4[m3]&&(g3=(p3=t5(e5,i4[m3],a4+1,l3))[n3]<g3[n3]?p3:d3),i4[x3]&&Math.sqrt(f3*f3)<g3[n3]&&(g3=(u3=t5(e5,i4[x3],a4+1,l3))[n3]<g3[n3]?u3:g3),g3}(t4,this.kdTree,a3,a3)}pointPlacementToXValue(){let{options:t4,xAxis:e4}=this,i3=t4.pointPlacement;return"between"===i3&&(i3=e4.reversed?-.5:.5),j(i3)?i3*(t4.pointRange||e4.pointRange):0}isPointInside(t4){let{chart:e4,xAxis:i3,yAxis:s3}=this,{plotX:r3=-1,plotY:o3=-1}=t4;return o3>=0&&o3<=(s3?s3.len:e4.plotHeight)&&r3>=0&&r3<=(i3?i3.len:e4.plotWidth)}drawTracker(){var _a;let t4=this,e4=t4.options,i3=e4.trackByArea,s3=[].concat((i3?t4.areaPath:t4.graphPath)||[]),r3=t4.chart,o3=r3.pointer,n3=r3.renderer,a3=((_a=r3.options.tooltip)==null?void 0:_a.snap)||0,h3=()=>{e4.enableMouseTracking&&r3.hoverSeries!==t4&&t4.onMouseOver()},l3="rgba(192,192,192,"+(g2?1e-4:.002)+")",d3=t4.tracker;d3?d3.attr({d:s3}):t4.graph&&(t4.tracker=d3=n3.path(s3).attr({visibility:t4.visible?"inherit":"hidden",zIndex:2}).addClass(i3?"highcharts-tracker-area":"highcharts-tracker-line").add(t4.group),r3.styledMode||d3.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:l3,fill:i3?l3:"none","stroke-width":t4.graph.strokeWidth()+(i3?0:2*a3)}),[t4.tracker,t4.markerGroup,t4.dataLabelsGroup].forEach((t5=>{t5&&(t5.addClass("highcharts-tracker").on("mouseover",h3).on("mouseout",(t6=>{o3==null?void 0:o3.onTrackerMouseOut(t6)})),e4.cursor&&!r3.styledMode&&t5.css({cursor:e4.cursor}),t5.on("touchstart",h3))}))),L2(this,"afterDrawTracker")}addPoint(t4,e4,i3,s3,r3){let o3,n3;let a3=this.options,h3=this.data,l3=this.chart,d3=this.xAxis,c3=d3&&d3.hasNames&&d3.names,p3=a3.data,u3=this.xData;e4=N(e4,true);let g3={series:this};this.pointClass.prototype.applyOptions.apply(g3,[t4]);let f3=g3.x;if(n3=u3.length,this.requireSorting&&f3<u3[n3-1])for(o3=true;n3&&u3[n3-1]>f3;)n3--;this.updateParallelArrays(g3,"splice",[n3,0,0]),this.updateParallelArrays(g3,n3),c3&&g3.name&&(c3[f3]=g3.name),p3.splice(n3,0,t4),(o3||this.processedData)&&(this.data.splice(n3,0,null),this.processData()),"point"===a3.legendType&&this.generatePoints(),i3&&(h3[0]&&h3[0].remove?h3[0].remove(false):(h3.shift(),this.updateParallelArrays(g3,"shift"),p3.shift())),false!==r3&&L2(this,"addPoint",{point:g3}),this.isDirty=true,this.isDirtyData=true,e4&&l3.redraw(s3)}removePoint(t4,e4,i3){let s3=this,r3=s3.data,o3=r3[t4],n3=s3.points,a3=s3.chart,h3=function(){n3&&n3.length===r3.length&&n3.splice(t4,1),r3.splice(t4,1),s3.options.data.splice(t4,1),s3.updateParallelArrays(o3||{series:s3},"splice",[t4,1]),o3&&o3.destroy(),s3.isDirty=true,s3.isDirtyData=true,e4&&a3.redraw()};c2(i3,a3),e4=N(e4,true),o3?o3.firePointEvent("remove",null,h3):h3()}remove(t4,e4,i3,s3){let r3=this,o3=r3.chart;function n3(){r3.destroy(s3),o3.isDirtyLegend=o3.isDirtyBox=true,o3.linkSeries(s3),N(t4,true)&&o3.redraw(e4)}false!==i3?L2(r3,"remove",null,n3):n3()}update(t4,e4){var _a,_b,_c;L2(this,"update",{options:t4=M(t4,this.userOptions)});let i3=this,s3=i3.chart,r3=i3.userOptions,o3=i3.initialType||i3.type,n3=s3.options.plotOptions,a3=m2[o3].prototype,h3=i3.finishedAnimating&&{animation:false},l3={},d3,c3,p3=["colorIndex","eventOptions","navigatorSeries","symbolIndex","baseSeries"],u3=t4.type||r3.type||s3.options.chart.type,g3=!(this.hasDerivedData||u3&&u3!==this.type||void 0!==t4.pointStart||void 0!==t4.pointInterval||void 0!==t4.relativeXValue||t4.joinBy||t4.mapData||["dataGrouping","pointStart","pointInterval","pointIntervalUnit","keys"].some((t5=>i3.hasOptionChanged(t5))));u3=u3||o3,g3&&(p3.push("data","isDirtyData","isDirtyCanvas","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","hasDataLabels","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX","transformGroups"),false!==t4.visible&&p3.push("area","graph"),i3.parallelArrays.forEach((function(t5){p3.push(t5+"Data")})),t4.data&&(t4.dataSorting&&A2(i3.options.dataSorting,t4.dataSorting),this.setData(t4.data,false))),t4=R2(r3,{index:void 0===r3.index?i3.index:r3.index,pointStart:((_a=n3==null?void 0:n3.series)==null?void 0:_a.pointStart)??r3.pointStart??((_b=i3.xData)==null?void 0:_b[0])},!g3&&{data:i3.options.data},t4,h3),g3&&t4.data&&(t4.data=i3.options.data),(p3=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(p3)).forEach((function(t5){p3[t5]=i3[t5],delete i3[t5]}));let f3=false;if(m2[u3]){if(f3=u3!==i3.type,i3.remove(false,false,false,true),f3){if(s3.propFromSeries(),Object.setPrototypeOf)Object.setPrototypeOf(i3,m2[u3].prototype);else{let t5=Object.hasOwnProperty.call(i3,"hcEvents")&&i3.hcEvents;for(c3 in a3)i3[c3]=void 0;A2(i3,m2[u3].prototype),t5?i3.hcEvents=t5:delete i3.hcEvents}}}else T2(17,true,s3,{missingModuleFor:u3});if(p3.forEach((function(t5){i3[t5]=p3[t5]})),i3.init(s3,t4),g3&&this.points)for(let t5 of(false===(d3=i3.options).visible?(l3.graphic=1,l3.dataLabel=1):(this.hasMarkerChanged(d3,r3)&&(l3.graphic=1),((_c=i3.hasDataLabels)==null?void 0:_c.call(i3))||(l3.dataLabel=1)),this.points))t5&&t5.series&&(t5.resolveColor(),Object.keys(l3).length&&t5.destroyElements(l3),false===d3.showInLegend&&t5.legendItem&&s3.legend.destroyItem(t5));i3.initialType=o3,s3.linkSeries(),s3.setSortedData(),f3&&i3.linkedSeries.length&&(i3.isDirtyData=true),L2(this,"afterUpdate"),N(e4,true)&&s3.redraw(!!g3&&void 0)}setName(t4){this.name=this.options.name=this.userOptions.name=t4,this.chart.isDirtyLegend=true}hasOptionChanged(t4){var _a,_b;let e4=this.chart,i3=this.options[t4],s3=e4.options.plotOptions,r3=this.userOptions[t4],o3=N((_a=s3==null?void 0:s3[this.type])==null?void 0:_a[t4],(_b=s3==null?void 0:s3.series)==null?void 0:_b[t4]);return r3&&!C2(o3)?i3!==r3:i3!==N(o3,i3)}onMouseOver(){let t4=this.chart,e4=t4.hoverSeries,i3=t4.pointer;i3==null?void 0:i3.setHoverChartIndex(),e4&&e4!==this&&e4.onMouseOut(),this.options.events.mouseOver&&L2(this,"mouseOver"),this.setState("hover"),t4.hoverSeries=this}onMouseOut(){let t4=this.options,e4=this.chart,i3=e4.tooltip,s3=e4.hoverPoint;e4.hoverSeries=null,s3&&s3.onMouseOut(),this&&t4.events.mouseOut&&L2(this,"mouseOut"),i3&&!this.stickyTracking&&(!i3.shared||this.noSharedTooltip)&&i3.hide(),e4.series.forEach((function(t5){t5.setState("",true)}))}setState(t4,e4){let i3=this,s3=i3.options,r3=i3.graph,o3=s3.inactiveOtherPoints,n3=s3.states,a3=N(n3[t4||"normal"]&&n3[t4||"normal"].animation,i3.chart.options.chart.animation),h3=s3.lineWidth,l3=s3.opacity;if(t4=t4||"",i3.state!==t4&&([i3.group,i3.markerGroup,i3.dataLabelsGroup].forEach((function(e5){e5&&(i3.state&&e5.removeClass("highcharts-series-"+i3.state),t4&&e5.addClass("highcharts-series-"+t4))})),i3.state=t4,!i3.chart.styledMode)){if(n3[t4]&&false===n3[t4].enabled)return;if(t4&&(h3=n3[t4].lineWidth||h3+(n3[t4].lineWidthPlus||0),l3=N(n3[t4].opacity,l3)),r3&&!r3.dashstyle&&j(h3))for(let t5 of[r3,...this.zones.map((t6=>t6.graph))])t5==null?void 0:t5.animate({"stroke-width":h3},a3);o3||[i3.group,i3.markerGroup,i3.dataLabelsGroup,i3.labelBySeries].forEach((function(t5){t5&&t5.animate({opacity:l3},a3)}))}e4&&o3&&i3.points&&i3.setAllPointsToState(t4||void 0)}setAllPointsToState(t4){this.points.forEach((function(e4){e4.setState&&e4.setState(t4)}))}setVisible(t4,e4){var _a;let i3=this,s3=i3.chart,r3=s3.options.chart.ignoreHiddenSeries,o3=i3.visible;i3.visible=t4=i3.options.visible=i3.userOptions.visible=void 0===t4?!o3:t4;let n3=t4?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((t5=>{var _a2;(_a2=i3[t5])==null?void 0:_a2[n3]()})),(s3.hoverSeries===i3||((_a=s3.hoverPoint)==null?void 0:_a.series)===i3)&&i3.onMouseOut(),i3.legendItem&&s3.legend.colorizeItem(i3,t4),i3.isDirty=true,i3.options.stacking&&s3.series.forEach((t5=>{t5.options.stacking&&t5.visible&&(t5.isDirty=true)})),i3.linkedSeries.forEach((e5=>{e5.setVisible(t4,false)})),r3&&(s3.isDirtyBox=true),L2(i3,n3),false!==e4&&s3.redraw()}show(){this.setVisible(true)}hide(){this.setVisible(false)}select(t4){this.selected=t4=this.options.selected=void 0===t4?!this.selected:t4,this.checkbox&&(this.checkbox.checked=t4),L2(this,t4?"select":"unselect")}shouldShowTooltip(t4,e4,i3={}){return i3.series=this,i3.visiblePlotOnly=true,this.chart.isInsidePlot(t4,e4,i3)}drawLegendSymbol(t4,e4){var _a;(_a=r2[this.options.legendSymbol||"rectangle"])==null?void 0:_a.call(this,t4,e4)}}return X.defaultOptions=n2,X.types=a2.seriesTypes,X.registerType=a2.registerSeriesType,A2(X.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,directTouch:false,invertible:true,isCartesian:true,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:o2,requireSorting:true,sorted:true}),a2.series=X,X})),i(e2,"Core/Legend/Legend.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Foundation.js"],e2["Core/Globals.js"],e2["Core/Series/Series.js"],e2["Core/Series/Point.js"],e2["Core/Renderer/RendererUtilities.js"],e2["Core/Templating.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2,o2,n2,a2){var h2;let{animObject:l2,setAnimation:d2}=t3,{registerEventOptions:c2}=e3,{composed:p2,marginNames:u2}=i2,{distribute:g2}=o2,{format:f2}=n2,{addEvent:m2,createElement:x2,css:y2,defined:b2,discardElement:v2,find:S2,fireEvent:C2,isNumber:k2,merge:M,pick:w2,pushUnique:T2,relativeLength:A2,stableSort:P,syncTimeout:L2}=a2;class O2{constructor(t4,e4){this.allItems=[],this.initialItemY=0,this.itemHeight=0,this.itemMarginBottom=0,this.itemMarginTop=0,this.itemX=0,this.itemY=0,this.lastItemY=0,this.lastLineHeight=0,this.legendHeight=0,this.legendWidth=0,this.maxItemWidth=0,this.maxLegendWidth=0,this.offsetWidth=0,this.padding=0,this.pages=[],this.symbolHeight=0,this.symbolWidth=0,this.titleHeight=0,this.totalItemWidth=0,this.widthOption=0,this.chart=t4,this.setOptions(e4),e4.enabled&&(this.render(),c2(this,e4),m2(this.chart,"endResize",(function(){this.legend.positionCheckboxes()}))),m2(this.chart,"render",(()=>{this.options.enabled&&this.proximate&&(this.proximatePositions(),this.positionItems())}))}setOptions(t4){let e4=w2(t4.padding,8);this.options=t4,this.chart.styledMode||(this.itemStyle=t4.itemStyle,this.itemHiddenStyle=M(this.itemStyle,t4.itemHiddenStyle)),this.itemMarginTop=t4.itemMarginTop,this.itemMarginBottom=t4.itemMarginBottom,this.padding=e4,this.initialItemY=e4-5,this.symbolWidth=w2(t4.symbolWidth,16),this.pages=[],this.proximate="proximate"===t4.layout&&!this.chart.inverted,this.baseline=void 0}update(t4,e4){let i3=this.chart;this.setOptions(M(true,this.options,t4)),"events"in this.options&&c2(this,this.options),this.destroy(),i3.isDirtyLegend=i3.isDirtyBox=true,w2(e4,true)&&i3.redraw(),C2(this,"afterUpdate",{redraw:e4})}colorizeItem(t4,e4){let{area:i3,group:s3,label:r3,line:o3,symbol:n3}=t4.legendItem||{};if(s3==null?void 0:s3[e4?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){let{itemHiddenStyle:s4={}}=this,a3=s4.color,{fillColor:h3,fillOpacity:l3,lineColor:d3,marker:c3}=t4.options,p3=t5=>(!e4&&(t5.fill&&(t5.fill=a3),t5.stroke&&(t5.stroke=a3)),t5);r3==null?void 0:r3.css(M(e4?this.itemStyle:s4)),o3==null?void 0:o3.attr(p3({stroke:d3||t4.color})),n3&&n3.attr(p3(c3&&n3.isMarker?t4.pointAttribs():{fill:t4.color})),i3==null?void 0:i3.attr(p3({fill:h3||t4.color,"fill-opacity":h3?1:l3??.75}))}C2(this,"afterColorizeItem",{item:t4,visible:e4})}positionItems(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()}positionItem(t4){let{group:e4,x:i3=0,y:s3=0}=t4.legendItem||{},r3=this.options,o3=r3.symbolPadding,n3=!r3.rtl,a3=t4.checkbox;if(e4&&e4.element){let r4={translateX:n3?i3:this.legendWidth-i3-2*o3-4,translateY:s3};e4[b2(e4.translateY)?"animate":"attr"](r4,void 0,(()=>{C2(this,"afterPositionItem",{item:t4})}))}a3&&(a3.x=i3,a3.y=s3)}destroyItem(t4){let e4=t4.checkbox,i3=t4.legendItem||{};for(let t5 of["group","label","line","symbol"])i3[t5]&&(i3[t5]=i3[t5].destroy());e4&&v2(e4),t4.legendItem=void 0}destroy(){for(let t4 of this.getAllItems())this.destroyItem(t4);for(let t4 of["clipRect","up","down","pager","nav","box","title","group"])this[t4]&&(this[t4]=this[t4].destroy());this.display=null}positionCheckboxes(){let t4;let e4=this.group&&this.group.alignAttr,i3=this.clipHeight||this.legendHeight,s3=this.titleHeight;e4&&(t4=e4.translateY,this.allItems.forEach((function(r3){let o3;let n3=r3.checkbox;n3&&(o3=t4+s3+n3.y+(this.scrollOffset||0)+3,y2(n3,{left:e4.translateX+r3.checkboxOffset+n3.x-20+"px",top:o3+"px",display:this.proximate||o3>t4-6&&o3<t4+i3-6?"":"none"}))}),this))}renderTitle(){let t4=this.options,e4=this.padding,i3=t4.title,s3,r3=0;i3.text&&(this.title||(this.title=this.chart.renderer.label(i3.text,e4-3,e4-4,void 0,void 0,void 0,t4.useHTML,void 0,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(i3.style),this.title.add(this.group)),i3.width||this.title.css({width:this.maxLegendWidth+"px"}),r3=(s3=this.title.getBBox()).height,this.offsetWidth=s3.width,this.contentGroup.attr({translateY:r3})),this.titleHeight=r3}setText(t4){let e4=this.options;t4.legendItem.label.attr({text:e4.labelFormat?f2(e4.labelFormat,t4,this.chart):e4.labelFormatter.call(t4)})}renderItem(t4){let e4=t4.legendItem=t4.legendItem||{},i3=this.chart,s3=i3.renderer,r3=this.options,o3="horizontal"===r3.layout,n3=this.symbolWidth,a3=r3.symbolPadding||0,h3=this.itemStyle,l3=this.itemHiddenStyle,d3=o3?w2(r3.itemDistance,20):0,c3=!r3.rtl,p3=!t4.series,u3=!p3&&t4.series.drawLegendSymbol?t4.series:t4,g3=u3.options,f3=!!this.createCheckboxForItem&&g3&&g3.showCheckbox,m3=r3.useHTML,x3=t4.options.className,y3=e4.label,b3=n3+a3+d3+(f3?20:0);!y3&&(e4.group=s3.g("legend-item").addClass("highcharts-"+u3.type+"-series highcharts-color-"+t4.colorIndex+(x3?" "+x3:"")+(p3?" highcharts-series-"+t4.index:"")).attr({zIndex:1}).add(this.scrollGroup),e4.label=y3=s3.text("",c3?n3+a3:-a3,this.baseline||0,m3),i3.styledMode||y3.css(M(t4.visible?h3:l3)),y3.attr({align:c3?"left":"right",zIndex:2}).add(e4.group),!this.baseline&&(this.fontMetrics=s3.fontMetrics(y3),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,y3.attr("y",this.baseline),this.symbolHeight=w2(r3.symbolHeight,this.fontMetrics.f),r3.squareSymbol&&(this.symbolWidth=w2(r3.symbolWidth,Math.max(this.symbolHeight,16)),b3=this.symbolWidth+a3+d3+(f3?20:0),c3&&y3.attr("x",this.symbolWidth+a3))),u3.drawLegendSymbol(this,t4),this.setItemEvents&&this.setItemEvents(t4,y3,m3)),f3&&!t4.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t4),this.colorizeItem(t4,t4.visible),(i3.styledMode||!h3.width)&&y3.css({width:(r3.itemWidth||this.widthOption||i3.spacingBox.width)-b3+"px"}),this.setText(t4);let v3=y3.getBBox(),S3=this.fontMetrics&&this.fontMetrics.h||0;t4.itemWidth=t4.checkboxOffset=r3.itemWidth||e4.labelWidth||v3.width+b3,this.maxItemWidth=Math.max(this.maxItemWidth,t4.itemWidth),this.totalItemWidth+=t4.itemWidth,this.itemHeight=t4.itemHeight=Math.round(e4.labelHeight||(v3.height>1.5*S3?v3.height:S3))}layoutItem(t4){let e4=this.options,i3=this.padding,s3="horizontal"===e4.layout,r3=t4.itemHeight,o3=this.itemMarginBottom,n3=this.itemMarginTop,a3=s3?w2(e4.itemDistance,20):0,h3=this.maxLegendWidth,l3=e4.alignColumns&&this.totalItemWidth>h3?this.maxItemWidth:t4.itemWidth,d3=t4.legendItem||{};s3&&this.itemX-i3+l3>h3&&(this.itemX=i3,this.lastLineHeight&&(this.itemY+=n3+this.lastLineHeight+o3),this.lastLineHeight=0),this.lastItemY=n3+this.itemY+o3,this.lastLineHeight=Math.max(r3,this.lastLineHeight),d3.x=this.itemX,d3.y=this.itemY,s3?this.itemX+=l3:(this.itemY+=n3+r3+o3,this.lastLineHeight=r3),this.offsetWidth=this.widthOption||Math.max((s3?this.itemX-i3-(t4.checkbox?0:a3):l3)+i3,this.offsetWidth)}getAllItems(){let t4=[];return this.chart.series.forEach((function(e4){let i3=e4&&e4.options;e4&&w2(i3.showInLegend,!b2(i3.linkedTo)&&void 0,true)&&(t4=t4.concat((e4.legendItem||{}).labels||("point"===i3.legendType?e4.data:e4)))})),C2(this,"afterGetAllItems",{allItems:t4}),t4}getAlignment(){let t4=this.options;return this.proximate?t4.align.charAt(0)+"tv":t4.floating?"":t4.align.charAt(0)+t4.verticalAlign.charAt(0)+t4.layout.charAt(0)}adjustMargins(t4,e4){let i3=this.chart,s3=this.options,r3=this.getAlignment();r3&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(o3,n3){o3.test(r3)&&!b2(t4[n3])&&(i3[u2[n3]]=Math.max(i3[u2[n3]],i3.legend[(n3+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][n3]*s3[n3%2?"x":"y"]+w2(s3.margin,12)+e4[n3]+(i3.titleOffset[n3]||0)))}))}proximatePositions(){let t4;let e4=this.chart,i3=[],s3="left"===this.options.align;for(let r3 of(this.allItems.forEach((function(t5){let r4,o3,n3=s3,a3,h3;t5.yAxis&&(t5.xAxis.options.reversed&&(n3=!n3),t5.points&&(r4=S2(n3?t5.points:t5.points.slice(0).reverse(),(function(t6){return k2(t6.plotY)}))),o3=this.itemMarginTop+t5.legendItem.label.getBBox().height+this.itemMarginBottom,h3=t5.yAxis.top-e4.plotTop,a3=t5.visible?(r4?r4.plotY:t5.yAxis.height)+(h3-.3*o3):h3+t5.yAxis.height,i3.push({target:a3,size:o3,item:t5}))}),this),g2(i3,e4.plotHeight)))t4=r3.item.legendItem||{},k2(r3.pos)&&(t4.y=e4.plotTop-e4.spacing[0]+r3.pos)}render(){let t4=this.chart,e4=t4.renderer,i3=this.options,s3=this.padding,r3=this.getAllItems(),o3,n3,a3,h3=this.group,l3,d3=this.box;this.itemX=s3,this.itemY=this.initialItemY,this.offsetWidth=0,this.lastItemY=0,this.widthOption=A2(i3.width,t4.spacingBox.width-s3),l3=t4.spacingBox.width-2*s3-i3.x,["rm","lm"].indexOf(this.getAlignment().substring(0,2))>-1&&(l3/=2),this.maxLegendWidth=this.widthOption||l3,h3||(this.group=h3=e4.g("legend").addClass(i3.className||"").attr({zIndex:7}).add(),this.contentGroup=e4.g().attr({zIndex:1}).add(h3),this.scrollGroup=e4.g().add(this.contentGroup)),this.renderTitle(),P(r3,((t5,e5)=>(t5.options&&t5.options.legendIndex||0)-(e5.options&&e5.options.legendIndex||0))),i3.reversed&&r3.reverse(),this.allItems=r3,this.display=o3=!!r3.length,this.lastLineHeight=0,this.maxItemWidth=0,this.totalItemWidth=0,this.itemHeight=0,r3.forEach(this.renderItem,this),r3.forEach(this.layoutItem,this),n3=(this.widthOption||this.offsetWidth)+s3,a3=this.lastItemY+this.lastLineHeight+this.titleHeight,a3=this.handleOverflow(a3)+s3,d3||(this.box=d3=e4.rect().addClass("highcharts-legend-box").attr({r:i3.borderRadius}).add(h3)),t4.styledMode||d3.attr({stroke:i3.borderColor,"stroke-width":i3.borderWidth||0,fill:i3.backgroundColor||"none"}).shadow(i3.shadow),n3>0&&a3>0&&d3[d3.placed?"animate":"attr"](d3.crisp.call({},{x:0,y:0,width:n3,height:a3},d3.strokeWidth())),h3[o3?"show":"hide"](),t4.styledMode&&"none"===h3.getStyle("display")&&(n3=a3=0),this.legendWidth=n3,this.legendHeight=a3,o3&&this.align(),this.proximate||this.positionItems(),C2(this,"afterRender")}align(t4=this.chart.spacingBox){let e4=this.chart,i3=this.options,s3=t4.y;/(lth|ct|rth)/.test(this.getAlignment())&&e4.titleOffset[0]>0?s3+=e4.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&e4.titleOffset[2]>0&&(s3-=e4.titleOffset[2]),s3!==t4.y&&(t4=M(t4,{y:s3})),e4.hasRendered||(this.group.placed=false),this.group.align(M(i3,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":i3.verticalAlign}),true,t4)}handleOverflow(t4){let e4=this,i3=this.chart,s3=i3.renderer,r3=this.options,o3=r3.y,n3="top"===r3.verticalAlign,a3=this.padding,h3=r3.maxHeight,l3=r3.navigation,d3=w2(l3.animation,true),c3=l3.arrowSize||12,p3=this.pages,u3=this.allItems,g3=function(t5){"number"==typeof t5?S3.attr({height:t5}):S3&&(e4.clipRect=S3.destroy(),e4.contentGroup.clip()),e4.contentGroup.div&&(e4.contentGroup.div.style.clip=t5?"rect("+a3+"px,9999px,"+(a3+t5)+"px,0)":"auto")},f3=function(t5){return e4[t5]=s3.circle(0,0,1.3*c3).translate(c3/2,c3/2).add(v3),i3.styledMode||e4[t5].attr("fill","rgba(0,0,0,0.0001)"),e4[t5]},m3,x3,y3,b3=i3.spacingBox.height+(n3?-o3:o3)-a3,v3=this.nav,S3=this.clipRect;return"horizontal"!==r3.layout||"middle"===r3.verticalAlign||r3.floating||(b3/=2),h3&&(b3=Math.min(b3,h3)),p3.length=0,t4&&b3>0&&t4>b3&&false!==l3.enabled?(this.clipHeight=m3=Math.max(b3-20-this.titleHeight-a3,0),this.currentPage=w2(this.currentPage,1),this.fullHeight=t4,u3.forEach(((t5,e5)=>{let i4=(y3=t5.legendItem||{}).y||0,s4=Math.round(y3.label.getBBox().height),r4=p3.length;(!r4||i4-p3[r4-1]>m3&&(x3||i4)!==p3[r4-1])&&(p3.push(x3||i4),r4++),y3.pageIx=r4-1,x3&&((u3[e5-1].legendItem||{}).pageIx=r4-1),e5===u3.length-1&&i4+s4-p3[r4-1]>m3&&i4>p3[r4-1]&&(p3.push(i4),y3.pageIx=r4),i4!==x3&&(x3=i4)})),S3||(S3=e4.clipRect=s3.clipRect(0,a3-2,9999,0),e4.contentGroup.clip(S3)),g3(m3),v3||(this.nav=v3=s3.g().attr({zIndex:1}).add(this.group),this.up=s3.symbol("triangle",0,0,c3,c3).add(v3),f3("upTracker").on("click",(function(){e4.scroll(-1,d3)})),this.pager=s3.text("",15,10).addClass("highcharts-legend-navigation"),!i3.styledMode&&l3.style&&this.pager.css(l3.style),this.pager.add(v3),this.down=s3.symbol("triangle-down",0,0,c3,c3).add(v3),f3("downTracker").on("click",(function(){e4.scroll(1,d3)}))),e4.scroll(0),t4=b3):v3&&(g3(),this.nav=v3.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t4}scroll(t4,e4){let i3=this.chart,s3=this.pages,r3=s3.length,o3=this.clipHeight,n3=this.options.navigation,a3=this.pager,h3=this.padding,c3=this.currentPage+t4;c3>r3&&(c3=r3),c3>0&&(void 0!==e4&&d2(e4,i3),this.nav.attr({translateX:h3,translateY:o3+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach((function(t5){t5.attr({class:1===c3?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})})),a3.attr({text:c3+"/"+r3}),[this.down,this.downTracker].forEach((function(t5){t5.attr({x:18+this.pager.getBBox().width,class:c3===r3?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),this),i3.styledMode||(this.up.attr({fill:1===c3?n3.inactiveColor:n3.activeColor}),this.upTracker.css({cursor:1===c3?"default":"pointer"}),this.down.attr({fill:c3===r3?n3.inactiveColor:n3.activeColor}),this.downTracker.css({cursor:c3===r3?"default":"pointer"})),this.scrollOffset=-s3[c3-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=c3,this.positionCheckboxes(),L2((()=>{C2(this,"afterScroll",{currentPage:c3})}),l2(w2(e4,i3.renderer.globalAnimation,true)).duration))}setItemEvents(t4,e4,i3){let o3=this,n3=t4.legendItem||{},a3=o3.chart.renderer.boxWrapper,h3=t4 instanceof r2,l3=t4 instanceof s2,d3="highcharts-legend-"+(h3?"point":"series")+"-active",c3=o3.chart.styledMode,p3=i3?[e4,n3.symbol]:[n3.group],u3=e5=>{o3.allItems.forEach((i4=>{t4!==i4&&[i4].concat(i4.linkedSeries||[]).forEach((t5=>{t5.setState(e5,!h3)}))}))};for(let i4 of p3)i4&&i4.on("mouseover",(function(){t4.visible&&u3("inactive"),t4.setState("hover"),t4.visible&&a3.addClass(d3),c3||e4.css(o3.options.itemHoverStyle)})).on("mouseout",(function(){o3.chart.styledMode||e4.css(M(t4.visible?o3.itemStyle:o3.itemHiddenStyle)),u3(""),a3.removeClass(d3),t4.setState()})).on("click",(function(e5){let i5=function(){t4.setVisible&&t4.setVisible(),u3(t4.visible?"inactive":"")};a3.removeClass(d3),C2(o3,"itemClick",{browserEvent:e5,legendItem:t4},i5),h3?t4.firePointEvent("legendItemClick",{browserEvent:e5}):l3&&C2(t4,"legendItemClick",{browserEvent:e5})}))}createCheckboxForItem(t4){t4.checkbox=x2("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t4.selected,defaultChecked:t4.selected},this.options.itemCheckboxStyle,this.chart.container),m2(t4.checkbox,"click",(function(e4){let i3=e4.target;C2(t4.series||t4,"checkboxClick",{checked:i3.checked,item:t4},(function(){t4.select()}))}))}}return(h2=O2||(O2={})).compose=function(t4){T2(p2,"Core.Legend")&&m2(t4,"beforeMargins",(function(){this.legend=new h2(this,this.options.legend)}))},O2})),i(e2,"Core/Chart/Chart.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Axis/Axis.js"],e2["Core/Defaults.js"],e2["Core/Templating.js"],e2["Core/Foundation.js"],e2["Core/Globals.js"],e2["Core/Renderer/RendererRegistry.js"],e2["Core/Series/Series.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Renderer/SVG/SVGRenderer.js"],e2["Core/Time.js"],e2["Core/Utilities.js"],e2["Core/Renderer/HTML/AST.js"],e2["Core/Axis/Tick.js"]],(function(t3,e3,i2,s2,r2,o2,n2,a2,h2,l2,d2,c2,p2,u2){let{animate:g2,animObject:f2,setAnimation:m2}=t3,{defaultOptions:x2,defaultTime:y2}=i2,{numberFormat:b2}=s2,{registerEventOptions:v2}=r2,{charts:S2,doc:C2,marginNames:k2,svg:M,win:w2}=o2,{seriesTypes:T2}=h2,{addEvent:A2,attr:P,createElement:L2,css:O2,defined:D2,diffObjects:E2,discardElement:I,erase:j,error:B,extend:R2,find:z2,fireEvent:N,getStyle:W2,isArray:G,isNumber:H2,isObject:X,isString:F2,merge:Y,objectEach:U,pick:V2,pInt:$,relativeLength:Z,removeEvent:_,splat:q,syncTimeout:K,uniqueKey:J}=c2;class Q{static chart(t4,e4,i3){return new Q(t4,e4,i3)}constructor(t4,e4,i3){this.sharedClips={};let s3=[...arguments];(F2(t4)||t4.nodeName)&&(this.renderTo=s3.shift()),this.init(s3[0],s3[1])}setZoomOptions(){let t4=this.options.chart,e4=t4.zooming;this.zooming={...e4,type:V2(t4.zoomType,e4.type),key:V2(t4.zoomKey,e4.key),pinchType:V2(t4.pinchType,e4.pinchType),singleTouch:V2(t4.zoomBySingleTouch,e4.singleTouch,false),resetButton:Y(e4.resetButton,t4.resetZoomButton)}}init(t4,e4){N(this,"init",{args:arguments},(function(){let i3=Y(x2,t4),s3=i3.chart;this.userOptions=R2({},t4),this.margin=[],this.spacing=[],this.labelCollectors=[],this.callback=e4,this.isResizing=0,this.options=i3,this.axes=[],this.series=[],this.time=t4.time&&Object.keys(t4.time).length?new d2(t4.time):o2.time,this.numberFormatter=s3.numberFormatter||b2,this.styledMode=s3.styledMode,this.hasCartesianSeries=s3.showAxes,this.index=S2.length,S2.push(this),o2.chartCount++,v2(this,s3),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,this.setZoomOptions(),N(this,"afterInit"),this.firstRender()}))}initSeries(t4){let e4=this.options.chart,i3=t4.type||e4.type,s3=T2[i3];s3||B(17,true,this,{missingModuleFor:i3});let r3=new s3;return"function"==typeof r3.init&&r3.init(this,t4),r3}setSortedData(){this.getSeriesOrderByLinks().forEach((function(t4){t4.points||t4.data||!t4.enabledDataSorting||t4.setData(t4.options.data,false)}))}getSeriesOrderByLinks(){return this.series.concat().sort((function(t4,e4){return t4.linkedSeries.length||e4.linkedSeries.length?e4.linkedSeries.length-t4.linkedSeries.length:0}))}orderItems(t4,e4=0){let i3=this[t4],s3=this.options[t4]=q(this.options[t4]).slice(),r3=this.userOptions[t4]=this.userOptions[t4]?q(this.userOptions[t4]).slice():[];if(this.hasRendered&&(s3.splice(e4),r3.splice(e4)),i3)for(let t5=e4,o3=i3.length;t5<o3;++t5){let e5=i3[t5];e5&&(e5.index=t5,e5 instanceof a2&&(e5.name=e5.getName()),e5.options.isInternal||(s3[t5]=e5.options,r3[t5]=e5.userOptions))}}isInsidePlot(t4,e4,i3={}){var _a;let{inverted:s3,plotBox:r3,plotLeft:o3,plotTop:n3,scrollablePlotBox:a3}=this,{scrollLeft:h3=0,scrollTop:l3=0}=i3.visiblePlotOnly&&((_a=this.scrollablePlotArea)==null?void 0:_a.scrollingContainer)||{},d3=i3.series,c3=i3.visiblePlotOnly&&a3||r3,p3=i3.inverted?e4:t4,u3=i3.inverted?t4:e4,g3={x:p3,y:u3,isInsidePlot:true,options:i3};if(!i3.ignoreX){let t5=d3&&(s3&&!this.polar?d3.yAxis:d3.xAxis)||{pos:o3,len:1/0},e5=i3.paneCoordinates?t5.pos+p3:o3+p3;e5>=Math.max(h3+o3,t5.pos)&&e5<=Math.min(h3+o3+c3.width,t5.pos+t5.len)||(g3.isInsidePlot=false)}if(!i3.ignoreY&&g3.isInsidePlot){let t5=!s3&&i3.axis&&!i3.axis.isXAxis&&i3.axis||d3&&(s3?d3.xAxis:d3.yAxis)||{pos:n3,len:1/0},e5=i3.paneCoordinates?t5.pos+u3:n3+u3;e5>=Math.max(l3+n3,t5.pos)&&e5<=Math.min(l3+n3+c3.height,t5.pos+t5.len)||(g3.isInsidePlot=false)}return N(this,"afterIsInsidePlot",g3),g3.isInsidePlot}redraw(t4){N(this,"beforeRedraw");let e4=this.hasCartesianSeries?this.axes:this.colorAxis||[],i3=this.series,s3=this.pointer,r3=this.legend,o3=this.userOptions.legend,n3=this.renderer,a3=n3.isHidden(),h3=[],l3,d3,c3,p3=this.isDirtyBox,u3=this.isDirtyLegend,g3;for(n3.rootFontSize=n3.boxWrapper.getStyle("font-size"),this.setResponsive&&this.setResponsive(false),m2(!!this.hasRendered&&t4,this),a3&&this.temporaryDisplay(),this.layOutTitles(false),c3=i3.length;c3--;)if(((g3=i3[c3]).options.stacking||g3.options.centerInCategory)&&(d3=true,g3.isDirty)){l3=true;break}if(l3)for(c3=i3.length;c3--;)(g3=i3[c3]).options.stacking&&(g3.isDirty=true);i3.forEach((function(t5){t5.isDirty&&("point"===t5.options.legendType?("function"==typeof t5.updateTotals&&t5.updateTotals(),u3=true):o3&&(o3.labelFormatter||o3.labelFormat)&&(u3=true)),t5.isDirtyData&&N(t5,"updatedData")})),u3&&r3&&r3.options.enabled&&(r3.render(),this.isDirtyLegend=false),d3&&this.getStacks(),e4.forEach((function(t5){t5.updateNames(),t5.setScale()})),this.getMargins(),e4.forEach((function(t5){t5.isDirty&&(p3=true)})),e4.forEach((function(t5){let e5=t5.min+","+t5.max;t5.extKey!==e5&&(t5.extKey=e5,h3.push((function(){N(t5,"afterSetExtremes",R2(t5.eventArgs,t5.getExtremes())),delete t5.eventArgs}))),(p3||d3)&&t5.redraw()})),p3&&this.drawChartBox(),N(this,"predraw"),i3.forEach((function(t5){(p3||t5.isDirty)&&t5.visible&&t5.redraw(),t5.isDirtyData=false})),s3&&s3.reset(true),n3.draw(),N(this,"redraw"),N(this,"render"),a3&&this.temporaryDisplay(true),h3.forEach((function(t5){t5.call()}))}get(t4){let e4=this.series;function i3(e5){return e5.id===t4||e5.options&&e5.options.id===t4}let s3=z2(this.axes,i3)||z2(this.series,i3);for(let t5=0;!s3&&t5<e4.length;t5++)s3=z2(e4[t5].points||[],i3);return s3}getAxes(){let t4=this.userOptions;for(let i3 of(N(this,"getAxes"),["xAxis","yAxis"]))for(let s3 of t4[i3]=q(t4[i3]||{}))new e3(this,s3,i3);N(this,"afterGetAxes")}getSelectedPoints(){return this.series.reduce(((t4,e4)=>(e4.getPointsCollection().forEach((e5=>{V2(e5.selectedStaging,e5.selected)&&t4.push(e5)})),t4)),[])}getSelectedSeries(){return this.series.filter((function(t4){return t4.selected}))}setTitle(t4,e4,i3){this.applyDescription("title",t4),this.applyDescription("subtitle",e4),this.applyDescription("caption",void 0),this.layOutTitles(i3)}applyDescription(t4,e4){let i3=this,s3=this.options[t4]=Y(this.options[t4],e4),r3=this[t4];r3&&e4&&(this[t4]=r3=r3.destroy()),s3&&!r3&&((r3=this.renderer.text(s3.text,0,0,s3.useHTML).attr({align:s3.align,class:"highcharts-"+t4,zIndex:s3.zIndex||4}).add()).update=function(e5,s4){i3.applyDescription(t4,e5),i3.layOutTitles(s4)},this.styledMode||r3.css(R2("title"===t4?{fontSize:this.options.isStock?"1em":"1.2em"}:{},s3.style)),this[t4]=r3)}layOutTitles(t4=true){let e4=[0,0,0],i3=this.renderer,s3=this.spacingBox;["title","subtitle","caption"].forEach((function(t5){let r4=this[t5],o3=this.options[t5],n3=o3.verticalAlign||"top",a3="title"===t5?"top"===n3?-3:0:"top"===n3?e4[0]+2:0;if(r4){r4.css({width:(o3.width||s3.width+(o3.widthAdjust||0))+"px"});let t6=i3.fontMetrics(r4).b,h3=Math.round(r4.getBBox(o3.useHTML).height);r4.align(R2({y:"bottom"===n3?t6:a3+t6,height:h3},o3),false,"spacingBox"),o3.floating||("top"===n3?e4[0]=Math.ceil(e4[0]+h3):"bottom"===n3&&(e4[2]=Math.ceil(e4[2]+h3)))}}),this),e4[0]&&"top"===(this.options.title.verticalAlign||"top")&&(e4[0]+=this.options.title.margin),e4[2]&&"bottom"===this.options.caption.verticalAlign&&(e4[2]+=this.options.caption.margin);let r3=!this.titleOffset||this.titleOffset.join(",")!==e4.join(",");this.titleOffset=e4,N(this,"afterLayOutTitles"),!this.isDirtyBox&&r3&&(this.isDirtyBox=this.isDirtyLegend=r3,this.hasRendered&&t4&&this.isDirtyBox&&this.redraw())}getContainerBox(){let t4=[].map.call(this.renderTo.children,(t5=>{if(t5!==this.container){let e5=t5.style.display;return t5.style.display="none",[t5,e5]}})),e4={width:W2(this.renderTo,"width",true)||0,height:W2(this.renderTo,"height",true)||0};return t4.filter(Boolean).forEach((([t5,e5])=>{t5.style.display=e5})),e4}getChartSize(){var _a;let t4=this.options.chart,e4=t4.width,i3=t4.height,s3=this.getContainerBox(),r3=s3.height>1&&!(!((_a=this.renderTo.parentElement)==null?void 0:_a.style.height)&&"100%"===this.renderTo.style.height);this.chartWidth=Math.max(0,e4||s3.width||600),this.chartHeight=Math.max(0,Z(i3,this.chartWidth)||(r3?s3.height:400)),this.containerBox=s3}temporaryDisplay(t4){let e4=this.renderTo,i3;if(t4)for(;e4&&e4.style;)e4.hcOrigStyle&&(O2(e4,e4.hcOrigStyle),delete e4.hcOrigStyle),e4.hcOrigDetached&&(C2.body.removeChild(e4),e4.hcOrigDetached=false),e4=e4.parentNode;else for(;e4&&e4.style&&(C2.body.contains(e4)||e4.parentNode||(e4.hcOrigDetached=true,C2.body.appendChild(e4)),("none"===W2(e4,"display",false)||e4.hcOricDetached)&&(e4.hcOrigStyle={display:e4.style.display,height:e4.style.height,overflow:e4.style.overflow},i3={display:"block",overflow:"hidden"},e4!==this.renderTo&&(i3.height=0),O2(e4,i3),e4.offsetWidth||e4.style.setProperty("display","block","important")),(e4=e4.parentNode)!==C2.body););}setClassName(t4){this.container.className="highcharts-container "+(t4||"")}getContainer(){var _a;let t4=this.options,e4=t4.chart,i3="data-highcharts-chart",s3=J(),r3,o3=this.renderTo;o3||(this.renderTo=o3=e4.renderTo),F2(o3)&&(this.renderTo=o3=C2.getElementById(o3)),o3||B(13,true,this);let a3=$(P(o3,i3));H2(a3)&&S2[a3]&&S2[a3].hasRendered&&S2[a3].destroy(),P(o3,i3,this.index),o3.innerHTML=p2.emptyHTML,e4.skipClone||o3.offsetWidth||this.temporaryDisplay(),this.getChartSize();let h3=this.chartHeight,d3=this.chartWidth;O2(o3,{overflow:"hidden"}),this.styledMode||(r3=R2({position:"relative",overflow:"hidden",width:d3+"px",height:h3+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none",padding:"0px"},e4.style||{}));let c3=L2("div",{id:s3},r3,o3);this.container=c3,this.getChartSize(),d3===this.chartWidth||(d3=this.chartWidth,this.styledMode||O2(c3,{width:V2((_a=e4.style)==null?void 0:_a.width,d3+"px")})),this.containerBox=this.getContainerBox(),this._cursor=c3.style.cursor;let u3=e4.renderer||!M?n2.getRendererType(e4.renderer):l2;if(this.renderer=new u3(c3,d3,h3,void 0,e4.forExport,t4.exporting&&t4.exporting.allowHTML,this.styledMode),m2(void 0,this),this.setClassName(e4.className),this.styledMode)for(let e5 in t4.defs)this.renderer.definition(t4.defs[e5]);else this.renderer.setStyle(e4.style);this.renderer.chartIndex=this.index,N(this,"afterGetContainer")}getMargins(t4){let{spacing:e4,margin:i3,titleOffset:s3}=this;this.resetMargins(),s3[0]&&!D2(i3[0])&&(this.plotTop=Math.max(this.plotTop,s3[0]+e4[0])),s3[2]&&!D2(i3[2])&&(this.marginBottom=Math.max(this.marginBottom,s3[2]+e4[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(i3,e4),N(this,"getMargins"),t4||this.getAxisMargins()}getAxisMargins(){let t4=this,e4=t4.axisOffset=[0,0,0,0],i3=t4.colorAxis,s3=t4.margin,r3=function(t5){t5.forEach((function(t6){t6.visible&&t6.getOffset()}))};t4.hasCartesianSeries?r3(t4.axes):i3&&i3.length&&r3(i3),k2.forEach((function(i4,r4){D2(s3[r4])||(t4[i4]+=e4[r4])})),t4.setChartSize()}getOptions(){return E2(this.userOptions,x2)}reflow(t4){var _a;let e4=this,i3=e4.containerBox,s3=e4.getContainerBox();(_a=e4.pointer)==null?true:delete _a.chartPosition,!e4.isPrinting&&!e4.isResizing&&i3&&s3.width&&((s3.width!==i3.width||s3.height!==i3.height)&&(c2.clearTimeout(e4.reflowTimeout),e4.reflowTimeout=K((function(){e4.container&&e4.setSize(void 0,void 0,false)}),t4?100:0)),e4.containerBox=s3)}setReflow(){let t4=this,e4=e5=>{var _a;((_a=t4.options)==null?void 0:_a.chart.reflow)&&t4.hasLoaded&&t4.reflow(e5)};if("function"==typeof ResizeObserver)new ResizeObserver(e4).observe(t4.renderTo);else{let t5=A2(w2,"resize",e4);A2(this,"destroy",t5)}}setSize(t4,e4,i3){let s3=this,r3=s3.renderer;s3.isResizing+=1,m2(i3,s3);let o3=r3.globalAnimation;s3.oldChartHeight=s3.chartHeight,s3.oldChartWidth=s3.chartWidth,void 0!==t4&&(s3.options.chart.width=t4),void 0!==e4&&(s3.options.chart.height=e4),s3.getChartSize();let{chartWidth:n3,chartHeight:a3,scrollablePixelsX:h3=0,scrollablePixelsY:l3=0}=s3;(s3.isDirtyBox||n3!==s3.oldChartWidth||a3!==s3.oldChartHeight)&&(s3.styledMode||(o3?g2:O2)(s3.container,{width:`${n3+h3}px`,height:`${a3+l3}px`},o3),s3.setChartSize(true),r3.setSize(n3,a3,o3),s3.axes.forEach((function(t5){t5.isDirty=true,t5.setScale()})),s3.isDirtyLegend=true,s3.isDirtyBox=true,s3.layOutTitles(),s3.getMargins(),s3.redraw(o3),s3.oldChartHeight=void 0,N(s3,"resize"),setTimeout((()=>{s3&&N(s3,"endResize")}),f2(o3).duration)),s3.isResizing-=1}setChartSize(t4){let e4,i3,s3,r3;let{chartHeight:o3,chartWidth:n3,inverted:a3,spacing:h3,renderer:l3}=this,d3=this.clipOffset,c3=Math[a3?"floor":"round"];this.plotLeft=e4=Math.round(this.plotLeft),this.plotTop=i3=Math.round(this.plotTop),this.plotWidth=s3=Math.max(0,Math.round(n3-e4-this.marginRight)),this.plotHeight=r3=Math.max(0,Math.round(o3-i3-this.marginBottom)),this.plotSizeX=a3?r3:s3,this.plotSizeY=a3?s3:r3,this.spacingBox=l3.spacingBox={x:h3[3],y:h3[0],width:n3-h3[3]-h3[1],height:o3-h3[0]-h3[2]},this.plotBox=l3.plotBox={x:e4,y:i3,width:s3,height:r3},d3&&(this.clipBox={x:c3(d3[3]),y:c3(d3[0]),width:c3(this.plotSizeX-d3[1]-d3[3]),height:c3(this.plotSizeY-d3[0]-d3[2])}),t4||(this.axes.forEach((function(t5){t5.setAxisSize(),t5.setAxisTranslation()})),l3.alignElements()),N(this,"afterSetChartSize",{skipAxes:t4})}resetMargins(){N(this,"resetMargins");let t4=this,e4=t4.options.chart,i3=e4.plotBorderWidth||0,s3=i3/2;["margin","spacing"].forEach((function(i4){let s4=e4[i4],r3=X(s4)?s4:[s4,s4,s4,s4];["Top","Right","Bottom","Left"].forEach((function(s5,o3){t4[i4][o3]=V2(e4[i4+s5],r3[o3])}))})),k2.forEach((function(e5,i4){t4[e5]=V2(t4.margin[i4],t4.spacing[i4])})),t4.axisOffset=[0,0,0,0],t4.clipOffset=[s3,s3,s3,s3],t4.plotBorderWidth=i3}drawChartBox(){let t4=this.options.chart,e4=this.renderer,i3=this.chartWidth,s3=this.chartHeight,r3=this.styledMode,o3=this.plotBGImage,n3=t4.backgroundColor,a3=t4.plotBackgroundColor,h3=t4.plotBackgroundImage,l3=this.plotLeft,d3=this.plotTop,c3=this.plotWidth,p3=this.plotHeight,u3=this.plotBox,g3=this.clipRect,f3=this.clipBox,m3=this.chartBackground,x3=this.plotBackground,y3=this.plotBorder,b3,v3,S3,C3="animate";m3||(this.chartBackground=m3=e4.rect().addClass("highcharts-background").add(),C3="attr"),r3?b3=v3=m3.strokeWidth():(v3=(b3=t4.borderWidth||0)+(t4.shadow?8:0),S3={fill:n3||"none"},(b3||m3["stroke-width"])&&(S3.stroke=t4.borderColor,S3["stroke-width"]=b3),m3.attr(S3).shadow(t4.shadow)),m3[C3]({x:v3/2,y:v3/2,width:i3-v3-b3%2,height:s3-v3-b3%2,r:t4.borderRadius}),C3="animate",x3||(C3="attr",this.plotBackground=x3=e4.rect().addClass("highcharts-plot-background").add()),x3[C3](u3),!r3&&(x3.attr({fill:a3||"none"}).shadow(t4.plotShadow),h3&&(o3?(h3!==o3.attr("href")&&o3.attr("href",h3),o3.animate(u3)):this.plotBGImage=e4.image(h3,l3,d3,c3,p3).add())),g3?g3.animate({width:f3.width,height:f3.height}):this.clipRect=e4.clipRect(f3),C3="animate",y3||(C3="attr",this.plotBorder=y3=e4.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),r3||y3.attr({stroke:t4.plotBorderColor,"stroke-width":t4.plotBorderWidth||0,fill:"none"}),y3[C3](y3.crisp({x:l3,y:d3,width:c3,height:p3},-y3.strokeWidth())),this.isDirtyBox=false,N(this,"afterDrawChartBox")}propFromSeries(){let t4,e4,i3;let s3=this,r3=s3.options.chart,o3=s3.options.series;["inverted","angular","polar"].forEach((function(n3){for(e4=T2[r3.type],i3=r3[n3]||e4&&e4.prototype[n3],t4=o3&&o3.length;!i3&&t4--;)(e4=T2[o3[t4].type])&&e4.prototype[n3]&&(i3=true);s3[n3]=i3}))}linkSeries(t4){let e4=this,i3=e4.series;i3.forEach((function(t5){t5.linkedSeries.length=0})),i3.forEach((function(t5){let{linkedTo:i4}=t5.options;if(F2(i4)){let s3;(s3=":previous"===i4?e4.series[t5.index-1]:e4.get(i4))&&s3.linkedParent!==t5&&(s3.linkedSeries.push(t5),t5.linkedParent=s3,s3.enabledDataSorting&&t5.setDataSortingOptions(),t5.visible=V2(t5.options.visible,s3.options.visible,t5.visible))}})),N(this,"afterLinkSeries",{isUpdating:t4})}renderSeries(){this.series.forEach((function(t4){t4.translate(),t4.render()}))}render(){var _a;let t4=this.axes,e4=this.colorAxis,i3=this.renderer,s3=this.options.chart.axisLayoutRuns||2,r3=t5=>{t5.forEach((t6=>{t6.visible&&t6.render()}))},o3=0,n3=true,a3,h3=0;for(let e5 of(this.setTitle(),N(this,"beforeMargins"),(_a=this.getStacks)==null?void 0:_a.call(this),this.getMargins(true),this.setChartSize(),t4)){let{options:t5}=e5,{labels:i4}=t5;if(this.hasCartesianSeries&&e5.horiz&&e5.visible&&i4.enabled&&e5.series.length&&"colorAxis"!==e5.coll&&!this.polar){o3=t5.tickLength,e5.createGroups();let s4=new u2(e5,0,"",true),r4=s4.createLabel("x",i4);if(s4.destroy(),r4&&V2(i4.reserveSpace,!H2(t5.crossing))&&(o3=r4.getBBox().height+i4.distance+Math.max(t5.offset||0,0)),o3){r4==null?void 0:r4.destroy();break}}}for(this.plotHeight=Math.max(this.plotHeight-o3,0);(n3||a3||s3>1)&&h3<s3;){let e5=this.plotWidth,i4=this.plotHeight;for(let e6 of t4)0===h3?e6.setScale():(e6.horiz&&n3||!e6.horiz&&a3)&&e6.setTickInterval(true);0===h3?this.getAxisMargins():this.getMargins(),n3=e5/this.plotWidth>(h3?1:1.1),a3=i4/this.plotHeight>(h3?1:1.05),h3++}this.drawChartBox(),this.hasCartesianSeries?r3(t4):e4&&e4.length&&r3(e4),this.seriesGroup||(this.seriesGroup=i3.g("series-group").attr({zIndex:3}).shadow(this.options.chart.seriesGroupShadow).add()),this.renderSeries(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=true}addCredits(t4){let e4=this,i3=Y(true,this.options.credits,t4);i3.enabled&&!this.credits&&(this.credits=this.renderer.text(i3.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",(function(){i3.href&&(w2.location.href=i3.href)})).attr({align:i3.position.align,zIndex:8}),e4.styledMode||this.credits.css(i3.style),this.credits.add().align(i3.position),this.credits.update=function(t5){e4.credits=e4.credits.destroy(),e4.addCredits(t5)})}destroy(){let t4;let e4=this,i3=e4.axes,s3=e4.series,r3=e4.container,n3=r3&&r3.parentNode;for(N(e4,"destroy"),e4.renderer.forExport?j(S2,e4):S2[e4.index]=void 0,o2.chartCount--,e4.renderTo.removeAttribute("data-highcharts-chart"),_(e4),t4=i3.length;t4--;)i3[t4]=i3[t4].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t4=s3.length;t4--;)s3[t4]=s3[t4].destroy();["title","subtitle","chartBackground","plotBackground","plotBGImage","plotBorder","seriesGroup","clipRect","credits","pointer","rangeSelector","legend","resetZoomButton","tooltip","renderer"].forEach((function(t5){let i4=e4[t5];i4&&i4.destroy&&(e4[t5]=i4.destroy())})),r3&&(r3.innerHTML=p2.emptyHTML,_(r3),n3&&I(r3)),U(e4,(function(t5,i4){delete e4[i4]}))}firstRender(){var _a;let t4=this,e4=t4.options;t4.getContainer(),t4.resetMargins(),t4.setChartSize(),t4.propFromSeries(),t4.getAxes();let i3=G(e4.series)?e4.series:[];e4.series=[],i3.forEach((function(e5){t4.initSeries(e5)})),t4.linkSeries(),t4.setSortedData(),N(t4,"beforeRender"),t4.render(),(_a=t4.pointer)==null?void 0:_a.getChartPosition(),t4.renderer.imgCount||t4.hasLoaded||t4.onload(),t4.temporaryDisplay(true)}onload(){this.callbacks.concat([this.callback]).forEach((function(t4){t4&&void 0!==this.index&&t4.apply(this,[this])}),this),N(this,"load"),N(this,"render"),D2(this.index)&&this.setReflow(),this.warnIfA11yModuleNotLoaded(),this.hasLoaded=true}warnIfA11yModuleNotLoaded(){let{options:t4,title:e4}=this;!t4||this.accessibility||(this.renderer.boxWrapper.attr({role:"img","aria-label":(e4&&e4.element.textContent||"").replace(/</g,"<")}),t4.accessibility&&false===t4.accessibility.enabled||B('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',false,this))}addSeries(t4,e4,i3){let s3;let r3=this;return t4&&(e4=V2(e4,true),N(r3,"addSeries",{options:t4},(function(){s3=r3.initSeries(t4),r3.isDirtyLegend=true,r3.linkSeries(),s3.enabledDataSorting&&s3.setData(t4.data,false),N(r3,"afterAddSeries",{series:s3}),e4&&r3.redraw(i3)}))),s3}addAxis(t4,e4,i3,s3){return this.createAxis(e4?"xAxis":"yAxis",{axis:t4,redraw:i3,animation:s3})}addColorAxis(t4,e4,i3){return this.createAxis("colorAxis",{axis:t4,redraw:e4,animation:i3})}createAxis(t4,i3){let s3=new e3(this,i3.axis,t4);return V2(i3.redraw,true)&&this.redraw(i3.animation),s3}showLoading(t4){let e4=this,i3=e4.options,s3=i3.loading,r3=function(){o3&&O2(o3,{left:e4.plotLeft+"px",top:e4.plotTop+"px",width:e4.plotWidth+"px",height:e4.plotHeight+"px"})},o3=e4.loadingDiv,n3=e4.loadingSpan;o3||(e4.loadingDiv=o3=L2("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e4.container)),n3||(e4.loadingSpan=n3=L2("span",{className:"highcharts-loading-inner"},null,o3),A2(e4,"redraw",r3)),o3.className="highcharts-loading",p2.setElementHTML(n3,V2(t4,i3.lang.loading,"")),e4.styledMode||(O2(o3,R2(s3.style,{zIndex:10})),O2(n3,s3.labelStyle),e4.loadingShown||(O2(o3,{opacity:0,display:""}),g2(o3,{opacity:s3.style.opacity||.5},{duration:s3.showDuration||0}))),e4.loadingShown=true,r3()}hideLoading(){let t4=this.options,e4=this.loadingDiv;e4&&(e4.className="highcharts-loading highcharts-loading-hidden",this.styledMode||g2(e4,{opacity:0},{duration:t4.loading.hideDuration||100,complete:function(){O2(e4,{display:"none"})}})),this.loadingShown=false}update(t4,e4,i3,s3){let r3,o3,n3;let a3=this,h3={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},l3=t4.isResponsiveOptions,c3=[];N(a3,"update",{options:t4}),l3||a3.setResponsive(false,true),t4=E2(t4,a3.options),a3.userOptions=Y(a3.userOptions,t4);let p3=t4.chart;p3&&(Y(true,a3.options.chart,p3),this.setZoomOptions(),"className"in p3&&a3.setClassName(p3.className),("inverted"in p3||"polar"in p3||"type"in p3)&&(a3.propFromSeries(),r3=true),"alignTicks"in p3&&(r3=true),"events"in p3&&v2(this,p3),U(p3,(function(t5,e5){-1!==a3.propsRequireUpdateSeries.indexOf("chart."+e5)&&(o3=true),-1!==a3.propsRequireDirtyBox.indexOf(e5)&&(a3.isDirtyBox=true),-1===a3.propsRequireReflow.indexOf(e5)||(a3.isDirtyBox=true,l3||(n3=true))})),!a3.styledMode&&p3.style&&a3.renderer.setStyle(a3.options.chart.style||{})),!a3.styledMode&&t4.colors&&(this.options.colors=t4.colors),t4.time&&(this.time===y2&&(this.time=new d2(t4.time)),Y(true,a3.options.time,t4.time)),U(t4,(function(e5,i4){a3[i4]&&"function"==typeof a3[i4].update?a3[i4].update(e5,false):"function"==typeof a3[h3[i4]]?a3[h3[i4]](e5):"colors"!==i4&&-1===a3.collectionsWithUpdate.indexOf(i4)&&Y(true,a3.options[i4],t4[i4]),"chart"!==i4&&-1!==a3.propsRequireUpdateSeries.indexOf(i4)&&(o3=true)})),this.collectionsWithUpdate.forEach((function(e5){t4[e5]&&(q(t4[e5]).forEach((function(t5,s4){let r4;let o4=D2(t5.id);o4&&(r4=a3.get(t5.id)),!r4&&a3[e5]&&(r4=a3[e5][V2(t5.index,s4)])&&(o4&&D2(r4.options.id)||r4.options.isInternal)&&(r4=void 0),r4&&r4.coll===e5&&(r4.update(t5,false),i3&&(r4.touched=true)),!r4&&i3&&a3.collectionsWithInit[e5]&&(a3.collectionsWithInit[e5][0].apply(a3,[t5].concat(a3.collectionsWithInit[e5][1]||[]).concat([false])).touched=true)})),i3&&a3[e5].forEach((function(t5){t5.touched||t5.options.isInternal?delete t5.touched:c3.push(t5)})))})),c3.forEach((function(t5){t5.chart&&t5.remove&&t5.remove(false)})),r3&&a3.axes.forEach((function(t5){t5.update({},false)})),o3&&a3.getSeriesOrderByLinks().forEach((function(t5){t5.chart&&t5.update({},false)}),this);let u3=p3&&p3.width,g3=p3&&(F2(p3.height)?Z(p3.height,u3||a3.chartWidth):p3.height);n3||H2(u3)&&u3!==a3.chartWidth||H2(g3)&&g3!==a3.chartHeight?a3.setSize(u3,g3,s3):V2(e4,true)&&a3.redraw(s3),N(a3,"afterUpdate",{options:t4,redraw:e4,animation:s3})}setSubtitle(t4,e4){this.applyDescription("subtitle",t4),this.layOutTitles(e4)}setCaption(t4,e4){this.applyDescription("caption",t4),this.layOutTitles(e4)}showResetZoom(){let t4=this,e4=x2.lang,i3=t4.zooming.resetButton,s3=i3.theme,r3="chart"===i3.relativeTo||"spacingBox"===i3.relativeTo?null:"plotBox";function o3(){t4.zoomOut()}N(this,"beforeShowResetZoom",null,(function(){t4.resetZoomButton=t4.renderer.button(e4.resetZoom,null,null,o3,s3).attr({align:i3.position.align,title:e4.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(i3.position,false,r3)})),N(this,"afterShowResetZoom")}zoomOut(){N(this,"selection",{resetSelection:true},(()=>this.transform({reset:true,trigger:"zoom"})))}pan(t4,e4){let i3=this,s3="object"==typeof e4?e4:{enabled:e4,type:"x"},r3=s3.type,o3=r3&&i3[{x:"xAxis",xy:"axes",y:"yAxis"}[r3]].filter((t5=>t5.options.panningEnabled&&!t5.options.isInternal)),n3=i3.options.chart;(n3==null?void 0:n3.panning)&&(n3.panning=s3),N(this,"pan",{originalEvent:t4},(()=>{i3.transform({axes:o3,event:t4,to:{x:t4.chartX-(i3.mouseDownX||0),y:t4.chartY-(i3.mouseDownY||0)},trigger:"pan"}),O2(i3.container,{cursor:"move"})}))}transform(t4){var _a;let{axes:e4=this.axes,event:i3,from:s3={},reset:r3,selection:o3,to:n3={},trigger:a3}=t4,{inverted:h3}=this,l3=false,d3,c3;for(let t5 of((_a=this.hoverPoints)==null?void 0:_a.forEach((t6=>t6.setState())),e4)){let{horiz:e5,len:p3,minPointOffset:u3=0,options:g3,reversed:f3}=t5,m3=e5?"width":"height",x3=e5?"x":"y",y3=V2(n3[m3],t5.len),b3=V2(s3[m3],t5.len),v3=10>Math.abs(y3)?1:y3/b3,S3=(s3[x3]||0)+b3/2-t5.pos,C3=S3-((n3[x3]??t5.pos)+y3/2-t5.pos)/v3,k3=f3&&!h3||!f3&&h3?-1:1;if(!r3&&(S3<0||S3>t5.len))continue;let M2=t5.toValue(C3,true)+(o3||t5.isOrdinal?0:u3*k3),w3=t5.toValue(C3+p3/v3,true)-(o3||t5.isOrdinal?0:u3*k3||0),T3=t5.allExtremes;if(M2>w3&&([M2,w3]=[w3,M2]),1===v3&&!r3&&"yAxis"===t5.coll&&!T3){for(let e6 of t5.series){let t6=e6.getExtremes(e6.getProcessedData(true).yData,true);T3??(T3={dataMin:Number.MAX_VALUE,dataMax:-Number.MAX_VALUE}),H2(t6.dataMin)&&H2(t6.dataMax)&&(T3.dataMin=Math.min(t6.dataMin,T3.dataMin),T3.dataMax=Math.max(t6.dataMax,T3.dataMax))}t5.allExtremes=T3}let{dataMin:A3,dataMax:P2,min:L3,max:O3}=R2(t5.getExtremes(),T3||{}),E3=A3??g3.min,I2=P2??g3.max,j2=w3-M2,B2=t5.categories?0:Math.min(j2,I2-E3),z3=E3-B2*(D2(g3.min)?0:g3.minPadding),N2=I2+B2*(D2(g3.max)?0:g3.maxPadding),W3=t5.allowZoomOutside||1===v3||"zoom"!==a3&&v3>1,G2=Math.min(g3.min??z3,z3,W3?L3:z3),X2=Math.max(g3.max??N2,N2,W3?O3:N2);(!t5.isOrdinal||t5.options.overscroll||1!==v3||r3)&&(M2<G2&&(M2=G2,v3>=1&&(w3=M2+j2)),w3>X2&&(w3=X2,v3>=1&&(M2=w3-j2)),(r3||t5.series.length&&(M2!==L3||w3!==O3)&&M2>=G2&&w3<=X2)&&(o3?o3[t5.coll].push({axis:t5,min:M2,max:w3}):(t5.isPanning="zoom"!==a3,t5.isPanning&&(c3=true),t5.setExtremes(r3?void 0:M2,r3?void 0:w3,false,false,{move:C3,trigger:a3,scale:v3}),!r3&&(M2>G2||w3<X2)&&"mousewheel"!==a3&&(d3=true)),l3=true),i3&&(this[e5?"mouseDownX":"mouseDownY"]=i3[e5?"chartX":"chartY"]))}return l3&&(o3?N(this,"selection",o3,(()=>{delete t4.selection,t4.trigger="zoom",this.transform(t4)})):(!d3||c3||this.resetZoomButton?!d3&&this.resetZoomButton&&(this.resetZoomButton=this.resetZoomButton.destroy()):this.showResetZoom(),this.redraw("zoom"===a3&&(this.options.chart.animation??this.pointCount<100)))),l3}}return R2(Q.prototype,{callbacks:[],collectionsWithInit:{xAxis:[Q.prototype.addAxis,[true]],yAxis:[Q.prototype.addAxis,[false]],series:[Q.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:["backgroundColor","borderColor","borderWidth","borderRadius","plotBackgroundColor","plotBackgroundImage","plotBorderColor","plotBorderWidth","plotShadow","shadow"],propsRequireReflow:["margin","marginTop","marginRight","marginBottom","marginLeft","spacing","spacingTop","spacingRight","spacingBottom","spacingLeft"],propsRequireUpdateSeries:["chart.inverted","chart.polar","chart.ignoreHiddenSeries","chart.type","colors","plotOptions","time","tooltip"]}),Q})),i(e2,"Extensions/ScrollablePlotArea.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Globals.js"],e2["Core/Renderer/RendererRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){let{stop:r2}=t3,{composed:o2}=e3,{addEvent:n2,createElement:a2,css:h2,defined:l2,merge:d2,pushUnique:c2}=s2;function p2(){let t4=this.scrollablePlotArea;(this.scrollablePixelsX||this.scrollablePixelsY)&&!t4&&(this.scrollablePlotArea=t4=new g2(this)),t4==null?void 0:t4.applyFixed()}function u2(){this.chart.scrollablePlotArea&&(this.chart.scrollablePlotArea.isDirty=true)}class g2{static compose(t4,e4,i3){c2(o2,this.compose)&&(n2(t4,"afterInit",u2),n2(e4,"afterSetChartSize",(t5=>this.afterSetSize(t5.target,t5))),n2(e4,"render",p2),n2(i3,"show",u2))}static afterSetSize(t4,e4){let i3,s3,r3;let{minWidth:o3,minHeight:n3}=t4.options.chart.scrollablePlotArea||{},{clipBox:a3,plotBox:h3,inverted:c3,renderer:p3}=t4;if(!p3.forExport&&(o3?(t4.scrollablePixelsX=i3=Math.max(0,o3-t4.chartWidth),i3&&(t4.scrollablePlotBox=d2(t4.plotBox),h3.width=t4.plotWidth+=i3,a3[c3?"height":"width"]+=i3,r3=true)):n3&&(t4.scrollablePixelsY=s3=Math.max(0,n3-t4.chartHeight),l2(s3)&&(t4.scrollablePlotBox=d2(t4.plotBox),h3.height=t4.plotHeight+=s3,a3[c3?"width":"height"]+=s3,r3=false)),l2(r3)&&!e4.skipAxes))for(let e5 of t4.axes)e5.horiz===r3&&(e5.setAxisSize(),e5.setAxisTranslation())}constructor(t4){var _a;let e4;let s3=t4.options.chart,r3=i2.getRendererType(),o3=s3.scrollablePlotArea||{},l3=this.moveFixedElements.bind(this),d3={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};t4.scrollablePixelsX&&(d3.overflowX="auto"),t4.scrollablePixelsY&&(d3.overflowY="auto"),this.chart=t4;let c3=this.parentDiv=a2("div",{className:"highcharts-scrolling-parent"},{position:"relative"},t4.renderTo),p3=this.scrollingContainer=a2("div",{className:"highcharts-scrolling"},d3,c3),u3=this.innerContainer=a2("div",{className:"highcharts-inner-container"},void 0,p3),g3=this.fixedDiv=a2("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(((_a=s3.style)==null?void 0:_a.zIndex)||0)+2,top:0},void 0,true),f2=this.fixedRenderer=new r3(g3,t4.chartWidth,t4.chartHeight,s3.style);this.mask=f2.path().attr({fill:s3.backgroundColor||"#fff","fill-opacity":o3.opacity??.85,zIndex:-1}).addClass("highcharts-scrollable-mask").add(),p3.parentNode.insertBefore(g3,p3),h2(t4.renderTo,{overflow:"visible"}),n2(t4,"afterShowResetZoom",l3),n2(t4,"afterApplyDrilldown",l3),n2(t4,"afterLayOutTitles",l3),n2(p3,"scroll",(()=>{let{pointer:i3,hoverPoint:s4}=t4;i3&&(delete i3.chartPosition,s4&&(e4=s4),i3.runPointActions(void 0,e4,true))})),u3.appendChild(t4.container)}applyFixed(){var _a;let{chart:t4,fixedRenderer:e4,isDirty:i3,scrollingContainer:s3}=this,{axisOffset:o3,chartWidth:n3,chartHeight:a3,container:d3,plotHeight:c3,plotLeft:p3,plotTop:u3,plotWidth:g3,scrollablePixelsX:f2=0,scrollablePixelsY:m2=0}=t4,{scrollPositionX:x2=0,scrollPositionY:y2=0}=t4.options.chart.scrollablePlotArea||{},b2=n3+f2,v2=a3+m2;e4.setSize(n3,a3),(i3??true)&&(this.isDirty=false,this.moveFixedElements()),r2(t4.container),h2(d3,{width:`${b2}px`,height:`${v2}px`}),t4.renderer.boxWrapper.attr({width:b2,height:v2,viewBox:[0,0,b2,v2].join(" ")}),(_a=t4.chartBackground)==null?void 0:_a.attr({width:b2,height:v2}),h2(s3,{width:`${n3}px`,height:`${a3}px`}),l2(i3)||(s3.scrollLeft=f2*x2,s3.scrollTop=m2*y2);let S2=u3-o3[0]-1,C2=p3-o3[3]-1,k2=u3+c3+o3[2]+1,M=p3+g3+o3[1]+1,w2=p3+g3-f2,T2=u3+c3-m2,A2=[["M",0,0]];f2?A2=[["M",0,S2],["L",p3-1,S2],["L",p3-1,k2],["L",0,k2],["Z"],["M",w2,S2],["L",n3,S2],["L",n3,k2],["L",w2,k2],["Z"]]:m2&&(A2=[["M",C2,0],["L",C2,u3-1],["L",M,u3-1],["L",M,0],["Z"],["M",C2,T2],["L",C2,a3],["L",M,a3],["L",M,T2],["Z"]]),"adjustHeight"!==t4.redrawTrigger&&this.mask.attr({d:A2})}moveFixedElements(){let t4;let{container:e4,inverted:i3,scrollablePixelsX:s3,scrollablePixelsY:r3}=this.chart,o3=this.fixedRenderer,n3=g2.fixedSelectors;for(let a3 of(s3&&!i3?t4=".highcharts-yaxis":s3&&i3?t4=".highcharts-xaxis":r3&&!i3?t4=".highcharts-xaxis":r3&&i3&&(t4=".highcharts-yaxis"),t4&&n3.push(`${t4}:not(.highcharts-radial-axis)`,`${t4}-labels:not(.highcharts-radial-axis-labels)`),n3))[].forEach.call(e4.querySelectorAll(a3),(t5=>{(t5.namespaceURI===o3.SVG_NS?o3.box:o3.box.parentNode).appendChild(t5),t5.style.pointerEvents="auto"}))}}return g2.fixedSelectors=[".highcharts-breadcrumbs-group",".highcharts-contextbutton",".highcharts-caption",".highcharts-credits",".highcharts-drillup-button",".highcharts-legend",".highcharts-legend-checkbox",".highcharts-navigator-series",".highcharts-navigator-xaxis",".highcharts-navigator-yaxis",".highcharts-navigator",".highcharts-range-selector-group",".highcharts-reset-zoom",".highcharts-scrollbar",".highcharts-subtitle",".highcharts-title"],g2})),i(e2,"Core/Axis/Stacking/StackItem.js",[e2["Core/Templating.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{format:s2}=t3,{series:r2}=e3,{destroyObjectProperties:o2,fireEvent:n2,isNumber:a2,pick:h2}=i2;return class{constructor(t4,e4,i3,s3,r3){let o3=t4.chart.inverted,n3=t4.reversed;this.axis=t4;let a3=this.isNegative=!!i3!=!!n3;this.options=e4=e4||{},this.x=s3,this.total=null,this.cumulative=null,this.points={},this.hasValidPoints=false,this.stack=r3,this.leftCliff=0,this.rightCliff=0,this.alignOptions={align:e4.align||(o3?a3?"left":"right":"center"),verticalAlign:e4.verticalAlign||(o3?"middle":a3?"bottom":"top"),y:e4.y,x:e4.x},this.textAlign=e4.textAlign||(o3?a3?"right":"left":"center")}destroy(){o2(this,this.axis)}render(t4){let e4=this.axis.chart,i3=this.options,r3=i3.format,o3=r3?s2(r3,this,e4):i3.formatter.call(this);if(this.label)this.label.attr({text:o3,visibility:"hidden"});else{this.label=e4.renderer.label(o3,null,void 0,i3.shape,void 0,void 0,i3.useHTML,false,"stack-labels");let s3={r:i3.borderRadius||0,text:o3,padding:h2(i3.padding,5),visibility:"hidden"};e4.styledMode||(s3.fill=i3.backgroundColor,s3.stroke=i3.borderColor,s3["stroke-width"]=i3.borderWidth,this.label.css(i3.style||{})),this.label.attr(s3),this.label.added||this.label.add(t4)}this.label.labelrank=e4.plotSizeY,n2(this,"afterRender")}setOffset(t4,e4,i3,s3,o3,l2){let{alignOptions:d2,axis:c2,label:p2,options:u2,textAlign:g2}=this,f2=c2.chart,m2=this.getStackBox({xOffset:t4,width:e4,boxBottom:i3,boxTop:s3,defaultX:o3,xAxis:l2}),{verticalAlign:x2}=d2;if(p2&&m2){let t5=p2.getBBox(void 0,0),e5=p2.padding,i4="justify"===h2(u2.overflow,"justify"),s4;d2.x=u2.x||0,d2.y=u2.y||0;let{x:o4,y:n3}=this.adjustStackPosition({labelBox:t5,verticalAlign:x2,textAlign:g2});m2.x-=o4,m2.y-=n3,p2.align(d2,false,m2),(s4=f2.isInsidePlot(p2.alignAttr.x+d2.x+o4,p2.alignAttr.y+d2.y+n3))||(i4=false),i4&&r2.prototype.justifyDataLabel.call(c2,p2,d2,p2.alignAttr,t5,m2),p2.attr({x:p2.alignAttr.x,y:p2.alignAttr.y,rotation:u2.rotation,rotationOriginX:t5.width*{left:0,center:.5,right:1}[u2.textAlign||"center"],rotationOriginY:t5.height/2}),h2(!i4&&u2.crop,true)&&(s4=a2(p2.x)&&a2(p2.y)&&f2.isInsidePlot(p2.x-e5+(p2.width||0),p2.y)&&f2.isInsidePlot(p2.x+e5,p2.y)),p2[s4?"show":"hide"]()}n2(this,"afterSetOffset",{xOffset:t4,width:e4})}adjustStackPosition({labelBox:t4,verticalAlign:e4,textAlign:i3}){let s3={bottom:0,middle:1,top:2,right:1,center:0,left:-1},r3=s3[e4],o3=s3[i3];return{x:t4.width/2+t4.width/2*o3,y:t4.height/2*r3}}getStackBox(t4){let e4=this.axis,i3=e4.chart,{boxTop:s3,defaultX:r3,xOffset:o3,width:n3,boxBottom:l2}=t4,d2=e4.stacking.usePercentage?100:h2(s3,this.total,0),c2=e4.toPixels(d2),p2=t4.xAxis||i3.xAxis[0],u2=h2(r3,p2.translate(this.x))+o3,g2=Math.abs(c2-e4.toPixels(l2||a2(e4.min)&&e4.logarithmic&&e4.logarithmic.lin2log(e4.min)||0)),f2=i3.inverted,m2=this.isNegative;return f2?{x:(m2?c2:c2-g2)-i3.plotLeft,y:p2.height-u2-n3+p2.top-i3.plotTop,width:g2,height:n3}:{x:u2+p2.transB-i3.plotLeft,y:(m2?c2-g2:c2)-i3.plotTop,width:n3,height:g2}}}})),i(e2,"Core/Axis/Stacking/StackingAxis.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Axis/Axis.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Axis/Stacking/StackItem.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2){var o2;let{getDeferredAnimation:n2}=t3,{series:{prototype:a2}}=i2,{addEvent:h2,correctFloat:l2,defined:d2,destroyObjectProperties:c2,fireEvent:p2,isArray:u2,isNumber:g2,objectEach:f2,pick:m2}=r2;function x2(){let t4=this.inverted;this.axes.forEach((t5=>{t5.stacking&&t5.stacking.stacks&&t5.hasVisibleSeries&&(t5.stacking.oldStacks=t5.stacking.stacks)})),this.series.forEach((e4=>{let i3=e4.xAxis&&e4.xAxis.options||{};e4.options.stacking&&e4.reserveSpace()&&(e4.stackKey=[e4.type,m2(e4.options.stack,""),t4?i3.top:i3.left,t4?i3.height:i3.width].join(","))}))}function y2(){var _a;let t4=this.stacking;if(t4){let e4=t4.stacks;f2(e4,((t5,i3)=>{c2(t5),delete e4[i3]})),(_a=t4.stackTotalGroup)==null?void 0:_a.destroy()}}function b2(){this.stacking||(this.stacking=new w2(this))}function v2(t4,e4,i3,s3){return!d2(t4)||t4.x!==e4||s3&&t4.stackKey!==s3?t4={x:e4,index:0,key:s3,stackKey:s3}:t4.index++,t4.key=[i3,e4,t4.index].join(","),t4}function S2(){let t4;let e4=this,i3=e4.yAxis,s3=e4.stackKey||"",r3=i3.stacking.stacks,o3=e4.processedXData,n3=e4.options.stacking,a3=e4[n3+"Stacker"];a3&&[s3,"-"+s3].forEach((i4=>{var _a;let s4=o3.length,n4,h3,l3;for(;s4--;)n4=o3[s4],t4=e4.getStackIndicator(t4,n4,e4.index,i4),h3=(_a=r3[i4])==null?void 0:_a[n4],(l3=h3==null?void 0:h3.points[t4.key||""])&&a3.call(e4,l3,h3,s4)}))}function C2(t4,e4,i3){let s3=e4.total?100/e4.total:0;t4[0]=l2(t4[0]*s3),t4[1]=l2(t4[1]*s3),this.stackedYData[i3]=t4[1]}function k2(t4){(this.is("column")||this.is("columnrange"))&&(this.options.centerInCategory&&!this.options.stacking&&this.chart.series.length>1?a2.setStackedPoints.call(this,t4,"group"):t4.stacking.resetStacks())}function M(t4,e4){var _a,_b;let i3,r3,o3,n3,a3,h3,c3,p3,g3;let f3=e4||this.options.stacking;if(!f3||!this.reserveSpace()||({group:"xAxis"}[f3]||"yAxis")!==t4.coll)return;let x3=this.processedXData,y3=this.processedYData,b3=[],v3=y3.length,S3=this.options,C3=S3.threshold||0,k3=S3.startFromThreshold?C3:0,M2=S3.stack,w3=e4?`${this.type},${f3}`:this.stackKey||"",T2="-"+w3,A2=this.negStacks,P=t4.stacking,L2=P.stacks,O2=P.oldStacks;for(P.stacksTouched+=1,c3=0;c3<v3;c3++){p3=x3[c3],g3=y3[c3],h3=(i3=this.getStackIndicator(i3,p3,this.index)).key||"",L2[a3=(r3=A2&&g3<(k3?0:C3))?T2:w3]||(L2[a3]={}),L2[a3][p3]||(((_a=O2[a3])==null?void 0:_a[p3])?(L2[a3][p3]=O2[a3][p3],L2[a3][p3].total=null):L2[a3][p3]=new s2(t4,t4.options.stackLabels,!!r3,p3,M2)),o3=L2[a3][p3],null!==g3?(o3.points[h3]=o3.points[this.index]=[m2(o3.cumulative,k3)],d2(o3.cumulative)||(o3.base=h3),o3.touched=P.stacksTouched,i3.index>0&&false===this.singleStacks&&(o3.points[h3][0]=o3.points[this.index+","+p3+",0"][0])):(delete o3.points[h3],delete o3.points[this.index]);let e5=o3.total||0;"percent"===f3?(n3=r3?w3:T2,e5=A2&&((_b=L2[n3])==null?void 0:_b[p3])?(n3=L2[n3][p3]).total=Math.max(n3.total||0,e5)+Math.abs(g3)||0:l2(e5+(Math.abs(g3)||0))):"group"===f3?(u2(g3)&&(g3=g3[0]),null!==g3&&e5++):e5=l2(e5+(g3||0)),"group"===f3?o3.cumulative=(e5||1)-1:o3.cumulative=l2(m2(o3.cumulative,k3)+(g3||0)),o3.total=e5,null!==g3&&(o3.points[h3].push(o3.cumulative),b3[c3]=o3.cumulative,o3.hasValidPoints=true)}"percent"===f3&&(P.usePercentage=true),"group"!==f3&&(this.stackedYData=b3),P.oldStacks={}}class w2{constructor(t4){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t4}buildStacks(){let t4,e4;let i3=this.axis,s3=i3.series,r3="xAxis"===i3.coll,o3=i3.options.reversedStacks,n3=s3.length;for(this.resetStacks(),this.usePercentage=false,e4=n3;e4--;)t4=s3[o3?e4:n3-e4-1],r3&&t4.setGroupedPoints(i3),t4.setStackedPoints(i3);if(!r3)for(e4=0;e4<n3;e4++)s3[e4].modifyStacks();p2(i3,"afterBuildStacks")}cleanStacks(){this.oldStacks&&(this.stacks=this.oldStacks,f2(this.stacks,(t4=>{f2(t4,(t5=>{t5.cumulative=t5.total}))})))}resetStacks(){f2(this.stacks,(t4=>{f2(t4,((e4,i3)=>{g2(e4.touched)&&e4.touched<this.stacksTouched?(e4.destroy(),delete t4[i3]):(e4.total=null,e4.cumulative=null)}))}))}renderStackTotals(){var _a;let t4=this.axis,e4=t4.chart,i3=e4.renderer,s3=this.stacks,r3=n2(e4,((_a=t4.options.stackLabels)==null?void 0:_a.animation)||false),o3=this.stackTotalGroup=this.stackTotalGroup||i3.g("stack-labels").attr({zIndex:6,opacity:0}).add();o3.translate(e4.plotLeft,e4.plotTop),f2(s3,(t5=>{f2(t5,(t6=>{t6.render(o3)}))})),o3.animate({opacity:1},r3)}}return(o2||(o2={})).compose=function(t4,e4,i3){let s3=e4.prototype,r3=i3.prototype;s3.getStacks||(h2(t4,"init",b2),h2(t4,"destroy",y2),s3.getStacks=x2,r3.getStackIndicator=v2,r3.modifyStacks=S2,r3.percentStacker=C2,r3.setGroupedPoints=k2,r3.setStackedPoints=M)},o2})),i(e2,"Series/Line/LineSeries.js",[e2["Core/Series/Series.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{defined:s2,merge:r2,isObject:o2}=i2;class n2 extends t3{drawGraph(){let t4=this.options,e4=(this.gappedPath||this.getGraphPath).call(this),i3=this.chart.styledMode;[this,...this.zones].forEach(((s3,n3)=>{let a2,h2=s3.graph,l2=h2?"animate":"attr",d2=s3.dashStyle||t4.dashStyle;h2?(h2.endX=this.preventGraphAnimation?null:e4.xMap,h2.animate({d:e4})):e4.length&&(s3.graph=h2=this.chart.renderer.path(e4).addClass("highcharts-graph"+(n3?` highcharts-zone-graph-${n3-1} `:" ")+(n3&&s3.className||"")).attr({zIndex:1}).add(this.group)),h2&&!i3&&(a2={stroke:!n3&&t4.lineColor||s3.color||this.color||"#cccccc","stroke-width":t4.lineWidth||0,fill:this.fillGraph&&this.color||"none"},d2?a2.dashstyle=d2:"square"!==t4.linecap&&(a2["stroke-linecap"]=a2["stroke-linejoin"]="round"),h2[l2](a2).shadow(n3<2&&t4.shadow&&r2({filterUnits:"userSpaceOnUse"},o2(t4.shadow)?t4.shadow:{}))),h2&&(h2.startX=e4.xMap,h2.isArea=e4.isArea)}))}getGraphPath(t4,e4,i3){let r3=this,o3=r3.options,n3=[],a2=[],h2,l2=o3.step,d2=(t4=t4||r3.points).reversed;return d2&&t4.reverse(),(l2={right:1,center:2}[l2]||l2&&3)&&d2&&(l2=4-l2),(t4=this.getValidPoints(t4,false,!(o3.connectNulls&&!e4&&!i3))).forEach((function(d3,c2){let p2;let u2=d3.plotX,g2=d3.plotY,f2=t4[c2-1],m2=d3.isNull||"number"!=typeof g2;(d3.leftCliff||f2&&f2.rightCliff)&&!i3&&(h2=true),m2&&!s2(e4)&&c2>0?h2=!o3.connectNulls:m2&&!e4?h2=true:(0===c2||h2?p2=[["M",d3.plotX,d3.plotY]]:r3.getPointSpline?p2=[r3.getPointSpline(t4,d3,c2)]:l2?(p2=1===l2?[["L",f2.plotX,g2]]:2===l2?[["L",(f2.plotX+u2)/2,f2.plotY],["L",(f2.plotX+u2)/2,g2]]:[["L",u2,f2.plotY]]).push(["L",u2,g2]):p2=[["L",u2,g2]],a2.push(d3.x),l2&&(a2.push(d3.x),2===l2&&a2.push(d3.x)),n3.push.apply(n3,p2),h2=false)})),n3.xMap=a2,r3.graphPath=n3,n3}}return n2.defaultOptions=r2(t3.defaultOptions,{legendSymbol:"lineMarker"}),e3.registerSeriesType("line",n2),n2})),i(e2,"Series/Area/AreaSeriesDefaults.js",[],(function(){return{threshold:0,legendSymbol:"areaMarker"}})),i(e2,"Series/Area/AreaSeries.js",[e2["Series/Area/AreaSeriesDefaults.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{seriesTypes:{line:s2}}=e3,{extend:r2,merge:o2,objectEach:n2,pick:a2}=i2;class h2 extends s2{drawGraph(){this.areaPath=[],super.drawGraph.apply(this);let{areaPath:t4,options:e4}=this;[this,...this.zones].forEach(((i3,s3)=>{let r3={},o3=i3.fillColor||e4.fillColor,n3=i3.area,a3=n3?"animate":"attr";n3?(n3.endX=this.preventGraphAnimation?null:t4.xMap,n3.animate({d:t4})):(r3.zIndex=0,(n3=i3.area=this.chart.renderer.path(t4).addClass("highcharts-area"+(s3?` highcharts-zone-area-${s3-1} `:" ")+(s3&&i3.className||"")).add(this.group)).isArea=true),this.chart.styledMode||(r3.fill=o3||i3.color||this.color,r3["fill-opacity"]=o3?1:e4.fillOpacity??.75,n3.css({pointerEvents:this.stickyTracking?"none":"auto"})),n3[a3](r3),n3.startX=t4.xMap,n3.shiftUnit=e4.step?2:1}))}getGraphPath(t4){let e4,i3,r3;let o3=s2.prototype.getGraphPath,n3=this.options,h3=n3.stacking,l2=this.yAxis,d2=[],c2=[],p2=this.index,u2=l2.stacking.stacks[this.stackKey],g2=n3.threshold,f2=Math.round(l2.getThreshold(n3.threshold)),m2=a2(n3.connectNulls,"percent"===h3),x2=function(i4,s3,r4){let o4=t4[i4],n4=h3&&u2[o4.x].points[p2],a3=o4[r4+"Null"]||0,m3=o4[r4+"Cliff"]||0,x3,y3,b3=true;m3||a3?(x3=(a3?n4[0]:n4[1])+m3,y3=n4[0]+m3,b3=!!a3):!h3&&t4[s3]&&t4[s3].isNull&&(x3=y3=g2),void 0!==x3&&(c2.push({plotX:e4,plotY:null===x3?f2:l2.getThreshold(x3),isNull:b3,isCliff:true}),d2.push({plotX:e4,plotY:null===y3?f2:l2.getThreshold(y3),doCurve:false}))};t4=t4||this.points,h3&&(t4=this.getStackPoints(t4));for(let s3=0,o4=t4.length;s3<o4;++s3)h3||(t4[s3].leftCliff=t4[s3].rightCliff=t4[s3].leftNull=t4[s3].rightNull=void 0),i3=t4[s3].isNull,e4=a2(t4[s3].rectPlotX,t4[s3].plotX),r3=h3?a2(t4[s3].yBottom,f2):f2,i3&&!m2||(m2||x2(s3,s3-1,"left"),i3&&!h3&&m2||(c2.push(t4[s3]),d2.push({x:s3,plotX:e4,plotY:r3})),m2||x2(s3,s3+1,"right"));let y2=o3.call(this,c2,true,true);d2.reversed=true;let b2=o3.call(this,d2,true,true),v2=b2[0];v2&&"M"===v2[0]&&(b2[0]=["L",v2[1],v2[2]]);let S2=y2.concat(b2);S2.length&&S2.push(["Z"]);let C2=o3.call(this,c2,false,m2);return this.chart.series.length>1&&h3&&c2.some((t5=>t5.isCliff))&&(S2.hasStackedCliffs=C2.hasStackedCliffs=true),S2.xMap=y2.xMap,this.areaPath=S2,C2}getStackPoints(t4){let e4=this,i3=[],s3=[],r3=this.xAxis,o3=this.yAxis,h3=o3.stacking.stacks[this.stackKey],l2={},d2=o3.series,c2=d2.length,p2=o3.options.reversedStacks?1:-1,u2=d2.indexOf(e4);if(t4=t4||this.points,this.options.stacking){for(let e5=0;e5<t4.length;e5++)t4[e5].leftNull=t4[e5].rightNull=void 0,l2[t4[e5].x]=t4[e5];n2(h3,(function(t5,e5){null!==t5.total&&s3.push(e5)})),s3.sort((function(t5,e5){return t5-e5}));let g2=d2.map((t5=>t5.visible));s3.forEach((function(t5,n3){let f2=0,m2,x2;if(l2[t5]&&!l2[t5].isNull)i3.push(l2[t5]),[-1,1].forEach((function(i4){let r4=1===i4?"rightNull":"leftNull",o4=h3[s3[n3+i4]],a3=0;if(o4){let i5=u2;for(;i5>=0&&i5<c2;){let s4=d2[i5].index;!(m2=o4.points[s4])&&(s4===e4.index?l2[t5][r4]=true:g2[i5]&&(x2=h3[t5].points[s4])&&(a3-=x2[1]-x2[0])),i5+=p2}}l2[t5][1===i4?"rightCliff":"leftCliff"]=a3}));else{let e5=u2;for(;e5>=0&&e5<c2;){let i4=d2[e5].index;if(m2=h3[t5].points[i4]){f2=m2[1];break}e5+=p2}f2=a2(f2,0),f2=o3.translate(f2,0,1,0,1),i3.push({isNull:true,plotX:r3.translate(t5,0,0,0,1),x:t5,plotY:f2,yBottom:f2})}}))}return i3}}return h2.defaultOptions=o2(s2.defaultOptions,t3),r2(h2.prototype,{singleStacks:false}),e3.registerSeriesType("area",h2),h2})),i(e2,"Series/Spline/SplineSeries.js",[e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{line:i2}=t3.seriesTypes,{merge:s2,pick:r2}=e3;class o2 extends i2{getPointSpline(t4,e4,i3){let s3,o3,n2,a2;let h2=e4.plotX||0,l2=e4.plotY||0,d2=t4[i3-1],c2=t4[i3+1];function p2(t5){return t5&&!t5.isNull&&false!==t5.doCurve&&!e4.isCliff}if(p2(d2)&&p2(c2)){let t5=d2.plotX||0,i4=d2.plotY||0,r3=c2.plotX||0,p3=c2.plotY||0,u3=0;s3=(1.5*h2+t5)/2.5,o3=(1.5*l2+i4)/2.5,n2=(1.5*h2+r3)/2.5,a2=(1.5*l2+p3)/2.5,n2!==s3&&(u3=(a2-o3)*(n2-h2)/(n2-s3)+l2-a2),o3+=u3,a2+=u3,o3>i4&&o3>l2?(o3=Math.max(i4,l2),a2=2*l2-o3):o3<i4&&o3<l2&&(o3=Math.min(i4,l2),a2=2*l2-o3),a2>p3&&a2>l2?(a2=Math.max(p3,l2),o3=2*l2-a2):a2<p3&&a2<l2&&(a2=Math.min(p3,l2),o3=2*l2-a2),e4.rightContX=n2,e4.rightContY=a2,e4.controlPoints={low:[s3,o3],high:[n2,a2]}}let u2=["C",r2(d2.rightContX,d2.plotX,0),r2(d2.rightContY,d2.plotY,0),r2(s3,h2,0),r2(o3,l2,0),h2,l2];return d2.rightContX=d2.rightContY=void 0,u2}}return o2.defaultOptions=s2(i2.defaultOptions),t3.registerSeriesType("spline",o2),o2})),i(e2,"Series/AreaSpline/AreaSplineSeries.js",[e2["Series/Spline/SplineSeries.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{area:s2,area:{prototype:r2}}=e3.seriesTypes,{extend:o2,merge:n2}=i2;class a2 extends t3{}return a2.defaultOptions=n2(t3.defaultOptions,s2.defaultOptions),o2(a2.prototype,{getGraphPath:r2.getGraphPath,getStackPoints:r2.getStackPoints,drawGraph:r2.drawGraph}),e3.registerSeriesType("areaspline",a2),a2})),i(e2,"Series/Column/ColumnSeriesDefaults.js",[],(function(){return{borderRadius:3,centerInCategory:false,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:false,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:true,stickyTracking:false,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}})),i(e2,"Series/Column/ColumnSeries.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Color/Color.js"],e2["Series/Column/ColumnSeriesDefaults.js"],e2["Core/Globals.js"],e2["Core/Series/Series.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2,o2,n2){let{animObject:a2}=t3,{parse:h2}=e3,{noop:l2}=s2,{clamp:d2,crisp:c2,defined:p2,extend:u2,fireEvent:g2,isArray:f2,isNumber:m2,merge:x2,pick:y2,objectEach:b2}=n2;class v2 extends r2{animate(t4){let e4,i3;let s3=this,r3=this.yAxis,o3=r3.pos,n3=r3.reversed,h3=s3.options,{clipOffset:l3,inverted:c3}=this.chart,p3={},g3=c3?"translateX":"translateY";t4&&l3?(p3.scaleY=.001,i3=d2(r3.toPixels(h3.threshold),o3,o3+r3.len),c3?(i3+=n3?-Math.floor(l3[0]):Math.ceil(l3[2]),p3.translateX=i3-r3.len):(i3+=n3?Math.ceil(l3[0]):-Math.floor(l3[2]),p3.translateY=i3),s3.clipBox&&s3.setClip(),s3.group.attr(p3)):(e4=Number(s3.group.attr(g3)),s3.group.animate({scaleY:1},u2(a2(s3.options.animation),{step:function(t5,i4){s3.group&&(p3[g3]=e4+i4.pos*(o3-e4),s3.group.attr(p3))}})))}init(t4,e4){super.init.apply(this,arguments);let i3=this;(t4=i3.chart).hasRendered&&t4.series.forEach((function(t5){t5.type===i3.type&&(t5.isDirty=true)}))}getColumnMetrics(){var _a,_b;let t4=this,e4=t4.options,i3=t4.xAxis,s3=t4.yAxis,r3=i3.options.reversedStacks,o3=i3.reversed&&!r3||!i3.reversed&&r3,n3={},a3,h3=0;false===e4.grouping?h3=1:t4.chart.series.forEach((function(e5){let i4;let r4=e5.yAxis,o4=e5.options;e5.type===t4.type&&e5.reserveSpace()&&s3.len===r4.len&&s3.pos===r4.pos&&(o4.stacking&&"group"!==o4.stacking?(void 0===n3[a3=e5.stackKey]&&(n3[a3]=h3++),i4=n3[a3]):false!==o4.grouping&&(i4=h3++),e5.columnIndex=i4)}));let l3=Math.min(Math.abs(i3.transA)*(!((_a=i3.brokenAxis)==null?void 0:_a.hasBreaks)&&((_b=i3.ordinal)==null?void 0:_b.slope)||e4.pointRange||i3.closestPointRange||i3.tickInterval||1),i3.len),d3=l3*e4.groupPadding,c3=(l3-2*d3)/(h3||1),p3=Math.min(e4.maxPointWidth||i3.len,y2(e4.pointWidth,c3*(1-2*e4.pointPadding))),u3=(t4.columnIndex||0)+(o3?1:0);return t4.columnMetrics={width:p3,offset:(c3-p3)/2+(d3+u3*c3-l3/2)*(o3?-1:1),paddedWidth:c3,columnCount:h3},t4.columnMetrics}crispCol(t4,e4,i3,s3){let r3=this.borderWidth,o3=this.chart.inverted;return s3=c2(e4+s3,r3,o3)-(e4=c2(e4,r3,o3)),this.options.crisp&&(i3=c2(t4+i3,r3)-(t4=c2(t4,r3))),{x:t4,y:e4,width:i3,height:s3}}adjustForMissingColumns(t4,e4,i3,s3){var _a;if(!i3.isNull&&s3.columnCount>1){let r3=this.xAxis.series.filter((t5=>t5.visible)).map((t5=>t5.index)),o3=0,n3=0;b2((_a=this.xAxis.stacking)==null?void 0:_a.stacks,(t5=>{if("number"==typeof i3.x){let e5=t5[i3.x.toString()];if(e5&&f2(e5.points[this.index])){let t6=Object.keys(e5.points).filter((t7=>!t7.match(",")&&e5.points[t7]&&e5.points[t7].length>1)).map(parseFloat).filter((t7=>-1!==r3.indexOf(t7))).sort(((t7,e6)=>e6-t7));o3=t6.indexOf(this.index),n3=t6.length}}})),o3=this.xAxis.reversed?n3-1-o3:o3;let a3=(n3-1)*s3.paddedWidth+e4;t4=(i3.plotX||0)+a3/2-e4-o3*s3.paddedWidth}return t4}translate(){let t4=this,e4=t4.chart,i3=t4.options,s3=t4.dense=t4.closestPointRange*t4.xAxis.transA<2,o3=t4.borderWidth=y2(i3.borderWidth,s3?0:1),n3=t4.xAxis,a3=t4.yAxis,h3=i3.threshold,l3=y2(i3.minPointLength,5),c3=t4.getColumnMetrics(),u3=c3.width,f3=t4.pointXOffset=c3.offset,x3=t4.dataMin,b3=t4.dataMax,v3=t4.translatedThreshold=a3.getThreshold(h3),S2=t4.barW=Math.max(u3,1+2*o3);i3.pointPadding&&(S2=Math.ceil(S2)),r2.prototype.translate.apply(t4),t4.points.forEach((function(s4){let r3=y2(s4.yBottom,v3),o4=999+Math.abs(r3),g3=s4.plotX||0,C2=d2(s4.plotY,-o4,a3.len+o4),k2,M=Math.min(C2,r3),w2=Math.max(C2,r3)-M,T2=u3,A2=g3+f3,P=S2;l3&&Math.abs(w2)<l3&&(w2=l3,k2=!a3.reversed&&!s4.negative||a3.reversed&&s4.negative,m2(h3)&&m2(b3)&&s4.y===h3&&b3<=h3&&(a3.min||0)<h3&&(x3!==b3||(a3.max||0)<=h3)&&(k2=!k2,s4.negative=!s4.negative),M=Math.abs(M-v3)>l3?r3-l3:v3-(k2?l3:0)),p2(s4.options.pointWidth)&&(A2-=Math.round(((T2=P=Math.ceil(s4.options.pointWidth))-u3)/2)),i3.centerInCategory&&!i3.stacking&&(A2=t4.adjustForMissingColumns(A2,T2,s4,c3)),s4.barX=A2,s4.pointWidth=T2,s4.tooltipPos=e4.inverted?[d2(a3.len+a3.pos-e4.plotLeft-C2,a3.pos-e4.plotLeft,a3.len+a3.pos-e4.plotLeft),n3.len+n3.pos-e4.plotTop-A2-P/2,w2]:[n3.left-e4.plotLeft+A2+P/2,d2(C2+a3.pos-e4.plotTop,a3.pos-e4.plotTop,a3.len+a3.pos-e4.plotTop),w2],s4.shapeType=t4.pointClass.prototype.shapeType||"roundedRect",s4.shapeArgs=t4.crispCol(A2,s4.isNull?v3:M,P,s4.isNull?0:w2)})),g2(this,"afterColumnTranslate")}drawGraph(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")}pointAttribs(t4,e4){let i3=this.options,s3=this.pointAttrToOptions||{},r3=s3.stroke||"borderColor",o3=s3["stroke-width"]||"borderWidth",n3,a3,l3,d3=t4&&t4.color||this.color,c3=t4&&t4[r3]||i3[r3]||d3,p3=t4&&t4.options.dashStyle||i3.dashStyle,u3=t4&&t4[o3]||i3[o3]||this[o3]||0,g3=y2(t4&&t4.opacity,i3.opacity,1);t4&&this.zones.length&&(a3=t4.getZone(),d3=t4.options.color||a3&&(a3.color||t4.nonZonedColor)||this.color,a3&&(c3=a3.borderColor||c3,p3=a3.dashStyle||p3,u3=a3.borderWidth||u3)),e4&&t4&&(l3=(n3=x2(i3.states[e4],t4.options.states&&t4.options.states[e4]||{})).brightness,d3=n3.color||void 0!==l3&&h2(d3).brighten(n3.brightness).get()||d3,c3=n3[r3]||c3,u3=n3[o3]||u3,p3=n3.dashStyle||p3,g3=y2(n3.opacity,g3));let f3={fill:d3,stroke:c3,"stroke-width":u3,opacity:g3};return p3&&(f3.dashstyle=p3),f3}drawPoints(t4=this.points){let e4;let i3=this,s3=this.chart,r3=i3.options,o3=s3.renderer,n3=r3.animationLimit||250;t4.forEach((function(t5){let a3=t5.plotY,h3=t5.graphic,l3=!!h3,d3=h3&&s3.pointCount<n3?"animate":"attr";m2(a3)&&null!==t5.y?(e4=t5.shapeArgs,h3&&t5.hasNewShapeType()&&(h3=h3.destroy()),i3.enabledDataSorting&&(t5.startXPos=i3.xAxis.reversed?-(e4&&e4.width||0):i3.xAxis.width),!h3&&(t5.graphic=h3=o3[t5.shapeType](e4).add(t5.group||i3.group),h3&&i3.enabledDataSorting&&s3.hasRendered&&s3.pointCount<n3&&(h3.attr({x:t5.startXPos}),l3=true,d3="animate")),h3&&l3&&h3[d3](x2(e4)),s3.styledMode||h3[d3](i3.pointAttribs(t5,t5.selected&&"select")).shadow(false!==t5.allowShadow&&r3.shadow),h3&&(h3.addClass(t5.getClassName(),true),h3.attr({visibility:t5.visible?"inherit":"hidden"}))):h3&&(t5.graphic=h3.destroy())}))}drawTracker(t4=this.points){let e4;let i3=this,s3=i3.chart,r3=s3.pointer,o3=function(t5){let e5=r3==null?void 0:r3.getPointFromEvent(t5);r3&&e5&&i3.options.enableMouseTracking&&(r3.isDirectTouch=true,e5.onMouseOver(t5))};t4.forEach((function(t5){e4=f2(t5.dataLabels)?t5.dataLabels:t5.dataLabel?[t5.dataLabel]:[],t5.graphic&&(t5.graphic.element.point=t5),e4.forEach((function(e5){(e5.div||e5.element).point=t5}))})),i3._hasTracking||(i3.trackerGroups.forEach((function(t5){i3[t5]&&(i3[t5].addClass("highcharts-tracker").on("mouseover",o3).on("mouseout",(function(t6){r3==null?void 0:r3.onTrackerMouseOut(t6)})).on("touchstart",o3),!s3.styledMode&&i3.options.cursor&&i3[t5].css({cursor:i3.options.cursor}))})),i3._hasTracking=true),g2(this,"afterDrawTracker")}remove(){let t4=this,e4=t4.chart;e4.hasRendered&&e4.series.forEach((function(e5){e5.type===t4.type&&(e5.isDirty=true)})),r2.prototype.remove.apply(t4,arguments)}}return v2.defaultOptions=x2(r2.defaultOptions,i2),u2(v2.prototype,{directTouch:true,getSymbol:l2,negStacks:true,trackerGroups:["group","dataLabelsGroup"]}),o2.registerSeriesType("column",v2),v2})),i(e2,"Core/Series/DataLabel.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Templating.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){var s2;let{getDeferredAnimation:r2}=t3,{format:o2}=e3,{defined:n2,extend:a2,fireEvent:h2,isArray:l2,isString:d2,merge:c2,objectEach:p2,pick:u2,pInt:g2,splat:f2}=i2;return function(t4){function e4(){return v2(this).some((t5=>t5==null?void 0:t5.enabled))}function i3(t5,e5,i4,s4,r3){var _a;let{chart:o3,enabledDataSorting:h3}=this,l3=this.isCartesian&&o3.inverted,d3=t5.plotX,p3=t5.plotY,g3=i4.rotation||0,f3=n2(d3)&&n2(p3)&&o3.isInsidePlot(d3,Math.round(p3),{inverted:l3,paneCoordinates:true,series:this}),m3=0===g3&&"justify"===u2(i4.overflow,h3?"none":"justify"),x3=this.visible&&false!==t5.visible&&n2(d3)&&(t5.series.forceDL||h3&&!m3||f3||u2(i4.inside,!!this.options.stacking)&&s4&&o3.isInsidePlot(d3,l3?s4.x+1:s4.y+s4.height-1,{inverted:l3,paneCoordinates:true,series:this})),y3=t5.pos();if(x3&&y3){var b3;let n3=e5.getBBox(),d4=e5.getBBox(void 0,0),p4={right:1,center:.5}[i4.align||0]||0,v3={bottom:1,middle:.5}[i4.verticalAlign||0]||0;if(s4=a2({x:y3[0],y:Math.round(y3[1]),width:0,height:0},s4||{}),"plotEdges"===i4.alignTo&&this.isCartesian&&(s4[l3?"x":"y"]=0,s4[l3?"width":"height"]=((_a=this.yAxis)==null?void 0:_a.len)||0),a2(i4,{width:n3.width,height:n3.height}),b3=s4,h3&&this.xAxis&&!m3&&this.setDataLabelStartPos(t5,e5,r3,f3,b3),e5.align(c2(i4,{width:d4.width,height:d4.height}),false,s4,false),e5.alignAttr.x+=p4*(d4.width-n3.width),e5.alignAttr.y+=v3*(d4.height-n3.height),e5[e5.placed?"animate":"attr"]({x:e5.alignAttr.x+(n3.width-d4.width)/2,y:e5.alignAttr.y+(n3.height-d4.height)/2,rotationOriginX:(e5.width||0)/2,rotationOriginY:(e5.height||0)/2}),m3&&s4.height>=0)this.justifyDataLabel(e5,i4,e5.alignAttr,n3,s4,r3);else if(u2(i4.crop,true)){let{x:t6,y:i5}=e5.alignAttr;x3=o3.isInsidePlot(t6,i5,{paneCoordinates:true,series:this})&&o3.isInsidePlot(t6+n3.width-1,i5+n3.height-1,{paneCoordinates:true,series:this})}i4.shape&&!g3&&e5[r3?"attr":"animate"]({anchorX:y3[0],anchorY:y3[1]})}r3&&h3&&(e5.placed=false),x3||h3&&!m3?(e5.show(),e5.placed=true):(e5.hide(),e5.placed=false)}function s3(){return this.plotGroup("dataLabelsGroup","data-labels",this.hasRendered?"inherit":"hidden",this.options.dataLabels.zIndex||6)}function m2(t5){let e5=this.hasRendered||0,i4=this.initDataLabelsGroup().attr({opacity:+e5});return!e5&&i4&&(this.visible&&i4.show(),this.options.animation?i4.animate({opacity:1},t5):i4.attr({opacity:1})),i4}function x2(t5){var _a;let e5;t5=t5||this.points;let i4=this,s4=i4.chart,a3=i4.options,l3=s4.renderer,{backgroundColor:c3,plotBackgroundColor:m3}=s4.options.chart,x3=l3.getContrast(d2(m3)&&m3||d2(c3)&&c3||"#000000"),y3=v2(i4),{animation:S3,defer:C2}=y3[0],k2=C2?r2(s4,S3,i4):{defer:0,duration:0};h2(this,"drawDataLabels"),((_a=i4.hasDataLabels)==null?void 0:_a.call(i4))&&(e5=this.initDataLabels(k2),t5.forEach((t6=>{var _a2,_b;let r3=t6.dataLabels||[];f2(b2(y3,t6.dlOptions||((_a2=t6.options)==null?void 0:_a2.dataLabels))).forEach(((c5,f3)=>{let m4=c5.enabled&&(t6.visible||t6.dataLabelOnHidden)&&(!t6.isNull||t6.dataLabelOnNull)&&function(t7,e6){let i5=e6.filter;if(i5){let e7=i5.operator,s5=t7[i5.property],r4=i5.value;return">"===e7&&s5>r4||"<"===e7&&s5<r4||">="===e7&&s5>=r4||"<="===e7&&s5<=r4||"=="===e7&&s5==r4||"==="===e7&&s5===r4||"!="===e7&&s5!=r4||"!=="===e7&&s5!==r4}return true}(t6,c5),{backgroundColor:y4,borderColor:b3,distance:v3,style:S4={}}=c5,C3,k3,M,w2,T2={},A2=r3[f3],P=!A2,L2;m4&&(k3=u2(c5[t6.formatPrefix+"Format"],c5.format),C3=t6.getLabelConfig(),M=n2(k3)?o2(k3,C3,s4):(c5[t6.formatPrefix+"Formatter"]||c5.formatter).call(C3,c5),w2=c5.rotation,!s4.styledMode&&(S4.color=u2(c5.color,S4.color,d2(i4.color)?i4.color:void 0,"#000000"),"contrast"===S4.color?("none"!==y4&&(L2=y4),t6.contrastColor=l3.getContrast("auto"!==L2&&L2||t6.color||i4.color),S4.color=L2||!n2(v3)&&c5.inside||0>g2(v3||0)||a3.stacking?t6.contrastColor:x3):delete t6.contrastColor,a3.cursor&&(S4.cursor=a3.cursor)),T2={r:c5.borderRadius||0,rotation:w2,padding:c5.padding,zIndex:1},s4.styledMode||(T2.fill="auto"===y4?t6.color:y4,T2.stroke="auto"===b3?t6.color:b3,T2["stroke-width"]=c5.borderWidth),p2(T2,((t7,e6)=>{void 0===t7&&delete T2[e6]}))),!A2||m4&&n2(M)&&!!A2.div==!!c5.useHTML&&(A2.rotation&&c5.rotation||A2.rotation===c5.rotation)||(A2=void 0,P=true),m4&&n2(M)&&(A2?T2.text=M:(A2=l3.label(M,0,0,c5.shape,void 0,void 0,c5.useHTML,void 0,"data-label")).addClass(" highcharts-data-label-color-"+t6.colorIndex+" "+(c5.className||"")+(c5.useHTML?" highcharts-tracker":"")),A2&&(A2.options=c5,A2.attr(T2),s4.styledMode?S4.width&&A2.css({width:S4.width,textOverflow:S4.textOverflow}):A2.css(S4).shadow(c5.shadow),h2(A2,"beforeAddingDataLabel",{labelOptions:c5,point:t6}),A2.added||A2.add(e5),i4.alignDataLabel(t6,A2,c5,void 0,P),A2.isActive=true,r3[f3]&&r3[f3]!==A2&&r3[f3].destroy(),r3[f3]=A2))}));let c4=r3.length;for(;c4--;)r3[c4]&&r3[c4].isActive?r3[c4].isActive=false:((_b=r3[c4])==null?void 0:_b.destroy(),r3.splice(c4,1));t6.dataLabel=r3[0],t6.dataLabels=r3}))),h2(this,"afterDrawDataLabels")}function y2(t5,e5,i4,s4,r3,o3){let n3=this.chart,a3=e5.align,h3=e5.verticalAlign,l3=t5.box?0:t5.padding||0,d3=n3.inverted?this.yAxis:this.xAxis,c3=d3?d3.left-n3.plotLeft:0,p3=n3.inverted?this.xAxis:this.yAxis,u3=p3?p3.top-n3.plotTop:0,{x:g3=0,y:f3=0}=e5,m3,x3;return(m3=(i4.x||0)+l3+c3)<0&&("right"===a3&&g3>=0?(e5.align="left",e5.inside=true):g3-=m3,x3=true),(m3=(i4.x||0)+s4.width-l3+c3)>n3.plotWidth&&("left"===a3&&g3<=0?(e5.align="right",e5.inside=true):g3+=n3.plotWidth-m3,x3=true),(m3=i4.y+l3+u3)<0&&("bottom"===h3&&f3>=0?(e5.verticalAlign="top",e5.inside=true):f3-=m3,x3=true),(m3=(i4.y||0)+s4.height-l3+u3)>n3.plotHeight&&("top"===h3&&f3<=0?(e5.verticalAlign="bottom",e5.inside=true):f3+=n3.plotHeight-m3,x3=true),x3&&(e5.x=g3,e5.y=f3,t5.placed=!o3,t5.align(e5,void 0,r3)),x3}function b2(t5,e5){let i4=[],s4;if(l2(t5)&&!l2(e5))i4=t5.map((function(t6){return c2(t6,e5)}));else if(l2(e5)&&!l2(t5))i4=e5.map((function(e6){return c2(t5,e6)}));else if(l2(t5)||l2(e5)){if(l2(t5)&&l2(e5))for(s4=Math.max(t5.length,e5.length);s4--;)i4[s4]=c2(t5[s4],e5[s4])}else i4=c2(t5,e5);return i4}function v2(t5){var _a,_b;let e5=t5.chart.options.plotOptions;return f2(b2(b2((_a=e5==null?void 0:e5.series)==null?void 0:_a.dataLabels,(_b=e5==null?void 0:e5[t5.type])==null?void 0:_b.dataLabels),t5.options.dataLabels))}function S2(t5,e5,i4,s4,r3){let o3=this.chart,n3=o3.inverted,a3=this.xAxis,h3=a3.reversed,l3=((n3?e5.height:e5.width)||0)/2,d3=t5.pointWidth,c3=d3?d3/2:0;e5.startXPos=n3?r3.x:h3?-l3-c3:a3.width-l3+c3,e5.startYPos=n3?h3?this.yAxis.height-l3+c3:-l3-c3:r3.y,s4?"hidden"===e5.visibility&&(e5.show(),e5.attr({opacity:0}).animate({opacity:1})):e5.attr({opacity:1}).animate({opacity:0},void 0,e5.hide),o3.hasRendered&&(i4&&e5.attr({x:e5.startXPos,y:e5.startYPos}),e5.placed=true)}t4.compose=function(t5){let r3=t5.prototype;r3.initDataLabels||(r3.initDataLabels=m2,r3.initDataLabelsGroup=s3,r3.alignDataLabel=i3,r3.drawDataLabels=x2,r3.justifyDataLabel=y2,r3.setDataLabelStartPos=S2,r3.hasDataLabels=e4)}}(s2||(s2={})),s2})),i(e2,"Series/Column/ColumnDataLabel.js",[e2["Core/Series/DataLabel.js"],e2["Core/Globals.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){var r2;let{composed:o2}=e3,{series:n2}=i2,{merge:a2,pick:h2,pushUnique:l2}=s2;return function(e4){function i3(t4,e5,i4,s3,r3){let o3=this.chart.inverted,l3=t4.series,d2=(l3.xAxis?l3.xAxis.len:this.chart.plotSizeX)||0,c2=(l3.yAxis?l3.yAxis.len:this.chart.plotSizeY)||0,p2=t4.dlBox||t4.shapeArgs,u2=h2(t4.below,t4.plotY>h2(this.translatedThreshold,c2)),g2=h2(i4.inside,!!this.options.stacking);if(p2){if(s3=a2(p2),!("allow"===i4.overflow&&false===i4.crop)){s3.y<0&&(s3.height+=s3.y,s3.y=0);let t5=s3.y+s3.height-c2;t5>0&&t5<s3.height-1&&(s3.height-=t5)}o3&&(s3={x:c2-s3.y-s3.height,y:d2-s3.x-s3.width,width:s3.height,height:s3.width}),g2||(o3?(s3.x+=u2?0:s3.width,s3.width=0):(s3.y+=u2?s3.height:0,s3.height=0))}i4.align=h2(i4.align,!o3||g2?"center":u2?"right":"left"),i4.verticalAlign=h2(i4.verticalAlign,o3||g2?"middle":u2?"top":"bottom"),n2.prototype.alignDataLabel.call(this,t4,e5,i4,s3,r3),i4.inside&&t4.contrastColor&&e5.css({color:t4.contrastColor})}e4.compose=function(e5){t3.compose(n2),l2(o2,"ColumnDataLabel")&&(e5.prototype.alignDataLabel=i3)}}(r2||(r2={})),r2})),i(e2,"Series/Bar/BarSeries.js",[e2["Series/Column/ColumnSeries.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{extend:s2,merge:r2}=i2;class o2 extends t3{}return o2.defaultOptions=r2(t3.defaultOptions,{}),s2(o2.prototype,{inverted:true}),e3.registerSeriesType("bar",o2),o2})),i(e2,"Series/Scatter/ScatterSeriesDefaults.js",[],(function(){return{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:true},tooltip:{headerFormat:'<span style="color:{point.color}">●</span> <span style="font-size: 0.8em"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}})),i(e2,"Series/Scatter/ScatterSeries.js",[e2["Series/Scatter/ScatterSeriesDefaults.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{column:s2,line:r2}=e3.seriesTypes,{addEvent:o2,extend:n2,merge:a2}=i2;class h2 extends r2{applyJitter(){let t4=this,e4=this.options.jitter,i3=this.points.length;e4&&this.points.forEach((function(s3,r3){["x","y"].forEach((function(o3,n3){if(e4[o3]&&!s3.isNull){let a3=`plot${o3.toUpperCase()}`,h3=t4[`${o3}Axis`],l2=e4[o3]*h3.transA;if(h3&&!h3.logarithmic){let t5=Math.max(0,(s3[a3]||0)-l2),e5=Math.min(h3.len,(s3[a3]||0)+l2);s3[a3]=t5+(e5-t5)*function(t6){let e6=1e4*Math.sin(t6);return e6-Math.floor(e6)}(r3+n3*i3),"x"===o3&&(s3.clientX=s3.plotX)}}}))}))}drawGraph(){this.options.lineWidth?super.drawGraph():this.graph&&(this.graph=this.graph.destroy())}}return h2.defaultOptions=a2(r2.defaultOptions,t3),n2(h2.prototype,{drawTracker:s2.prototype.drawTracker,sorted:false,requireSorting:false,noSharedTooltip:true,trackerGroups:["group","markerGroup","dataLabelsGroup"]}),o2(h2,"afterTranslate",(function(){this.applyJitter()})),e3.registerSeriesType("scatter",h2),h2})),i(e2,"Series/CenteredUtilities.js",[e2["Core/Globals.js"],e2["Core/Series/Series.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){var s2,r2;let{deg2rad:o2}=t3,{fireEvent:n2,isNumber:a2,pick:h2,relativeLength:l2}=i2;return(r2=s2||(s2={})).getCenter=function(){let t4=this.options,i3=this.chart,s3=2*(t4.slicedOffset||0),r3=i3.plotWidth-2*s3,o3=i3.plotHeight-2*s3,d2=t4.center,c2=Math.min(r3,o3),p2=t4.thickness,u2,g2=t4.size,f2=t4.innerSize||0,m2,x2;"string"==typeof g2&&(g2=parseFloat(g2)),"string"==typeof f2&&(f2=parseFloat(f2));let y2=[h2(d2[0],"50%"),h2(d2[1],"50%"),h2(g2&&g2<0?void 0:t4.size,"100%"),h2(f2&&f2<0?void 0:t4.innerSize||0,"0%")];for(!i3.angular||this instanceof e3||(y2[3]=0),m2=0;m2<4;++m2)x2=y2[m2],u2=m2<2||2===m2&&/%$/.test(x2),y2[m2]=l2(x2,[r3,o3,c2,y2[2]][m2])+(u2?s3:0);return y2[3]>y2[2]&&(y2[3]=y2[2]),a2(p2)&&2*p2<y2[2]&&p2>0&&(y2[3]=y2[2]-2*p2),n2(this,"afterGetCenter",{positions:y2}),y2},r2.getStartAndEndRadians=function(t4,e4){let i3=a2(t4)?t4:0,s3=a2(e4)&&e4>i3&&e4-i3<360?e4:i3+360;return{start:o2*(i3+-90),end:o2*(s3+-90)}},s2})),i(e2,"Series/Pie/PiePoint.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Series/Point.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{setAnimation:s2}=t3,{addEvent:r2,defined:o2,extend:n2,isNumber:a2,pick:h2,relativeLength:l2}=i2;class d2 extends e3{getConnectorPath(t4){let e4=t4.dataLabelPosition,i3=t4.options||{},s3=i3.connectorShape,r3=this.connectorShapes[s3]||s3;return e4&&r3.call(this,{...e4.computed,alignment:e4.alignment},e4.connectorPosition,i3)||[]}getTranslate(){return this.sliced&&this.slicedTranslation||{translateX:0,translateY:0}}haloPath(t4){let e4=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e4.x,e4.y,e4.r+t4,e4.r+t4,{innerR:e4.r-1,start:e4.start,end:e4.end,borderRadius:e4.borderRadius})}constructor(t4,e4,i3){super(t4,e4,i3),this.half=0,this.name??(this.name="Slice");let s3=t5=>{this.slice("select"===t5.type)};r2(this,"select",s3),r2(this,"unselect",s3)}isValid(){return a2(this.y)&&this.y>=0}setVisible(t4,e4=true){t4!==this.visible&&this.update({visible:t4??!this.visible},e4,void 0,false)}slice(t4,e4,i3){let r3=this.series;s2(i3,r3.chart),e4=h2(e4,true),this.sliced=this.options.sliced=t4=o2(t4)?t4:!this.sliced,r3.options.data[r3.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate())}}return n2(d2.prototype,{connectorShapes:{fixedOffset:function(t4,e4,i3){let s3=e4.breakAt,r3=e4.touchingSliceAt,o3=i3.softConnector?["C",t4.x+("left"===t4.alignment?-5:5),t4.y,2*s3.x-r3.x,2*s3.y-r3.y,s3.x,s3.y]:["L",s3.x,s3.y];return[["M",t4.x,t4.y],o3,["L",r3.x,r3.y]]},straight:function(t4,e4){let i3=e4.touchingSliceAt;return[["M",t4.x,t4.y],["L",i3.x,i3.y]]},crookedLine:function(t4,e4,i3){let{breakAt:s3,touchingSliceAt:r3}=e4,{series:o3}=this,[n3,a3,h3]=o3.center,d3=h3/2,{plotLeft:c2,plotWidth:p2}=o3.chart,u2="left"===t4.alignment,{x:g2,y:f2}=t4,m2=s3.x;if(i3.crookDistance){let t5=l2(i3.crookDistance,1);m2=u2?n3+d3+(p2+c2-n3-d3)*(1-t5):c2+(n3-d3)*t5}else m2=n3+(a3-f2)*Math.tan((this.angle||0)-Math.PI/2);let x2=[["M",g2,f2]];return(u2?m2<=g2&&m2>=s3.x:m2>=g2&&m2<=s3.x)&&x2.push(["L",m2,f2]),x2.push(["L",s3.x,s3.y],["L",r3.x,r3.y]),x2}}}),d2})),i(e2,"Series/Pie/PieSeriesDefaults.js",[],(function(){return{borderRadius:3,center:[null,null],clip:false,colorByPoint:true,dataLabels:{connectorPadding:5,connectorShape:"crookedLine",crookDistance:void 0,distance:30,enabled:true,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:true,x:0},fillColor:void 0,ignoreHiddenPoint:true,inactiveOtherPoints:true,legendType:"point",marker:null,size:null,showInLegend:false,slicedOffset:10,stickyTracking:false,tooltip:{followPointer:true},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}})),i(e2,"Series/Pie/PieSeries.js",[e2["Series/CenteredUtilities.js"],e2["Series/Column/ColumnSeries.js"],e2["Core/Globals.js"],e2["Series/Pie/PiePoint.js"],e2["Series/Pie/PieSeriesDefaults.js"],e2["Core/Series/Series.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Renderer/SVG/Symbols.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2,o2,n2,a2,h2){let{getStartAndEndRadians:l2}=t3,{noop:d2}=i2,{clamp:c2,extend:p2,fireEvent:u2,merge:g2,pick:f2}=h2;class m2 extends o2{animate(t4){let e4=this,i3=e4.points,s3=e4.startAngleRad;t4||i3.forEach((function(t5){let i4=t5.graphic,r3=t5.shapeArgs;i4&&r3&&(i4.attr({r:f2(t5.startR,e4.center&&e4.center[3]/2),start:s3,end:s3}),i4.animate({r:r3.r,start:r3.start,end:r3.end},e4.options.animation))}))}drawEmpty(){let t4,e4;let i3=this.startAngleRad,s3=this.endAngleRad,r3=this.options;0===this.total&&this.center?(t4=this.center[0],e4=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(t4,e4,this.center[1]/2,0,i3,s3).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:a2.arc(t4,e4,this.center[2]/2,0,{start:i3,end:s3,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":r3.borderWidth,fill:r3.fillColor||"none",stroke:r3.color||"#cccccc"})):this.graph&&(this.graph=this.graph.destroy())}drawPoints(){let t4=this.chart.renderer;this.points.forEach((function(e4){e4.graphic&&e4.hasNewShapeType()&&(e4.graphic=e4.graphic.destroy()),e4.graphic||(e4.graphic=t4[e4.shapeType](e4.shapeArgs).add(e4.series.group),e4.delayedRendering=true)}))}generatePoints(){super.generatePoints(),this.updateTotals()}getX(t4,e4,i3,s3){let r3=this.center,o3=this.radii?this.radii[i3.index]||0:r3[2]/2,n3=s3.dataLabelPosition,a3=(n3==null?void 0:n3.distance)||0,h3=Math.asin(c2((t4-r3[1])/(o3+a3),-1,1));return r3[0]+Math.cos(h3)*(o3+a3)*(e4?-1:1)+(a3>0?(e4?-1:1)*(s3.padding||0):0)}hasData(){return!!this.processedXData.length}redrawPoints(){let t4,e4,i3,s3;let r3=this,o3=r3.chart;this.drawEmpty(),r3.group&&!o3.styledMode&&r3.group.shadow(r3.options.shadow),r3.points.forEach((function(n3){let a3={};e4=n3.graphic,!n3.isNull&&e4?(s3=n3.shapeArgs,t4=n3.getTranslate(),o3.styledMode||(i3=r3.pointAttribs(n3,n3.selected&&"select")),n3.delayedRendering?(e4.setRadialReference(r3.center).attr(s3).attr(t4),o3.styledMode||e4.attr(i3).attr({"stroke-linejoin":"round"}),n3.delayedRendering=false):(e4.setRadialReference(r3.center),o3.styledMode||g2(true,a3,i3),g2(true,a3,s3,t4),e4.animate(a3)),e4.attr({visibility:n3.visible?"inherit":"hidden"}),e4.addClass(n3.getClassName(),true)):e4&&(n3.graphic=e4.destroy())}))}sortByAngle(t4,e4){t4.sort((function(t5,i3){return void 0!==t5.angle&&(i3.angle-t5.angle)*e4}))}translate(t4){u2(this,"translate"),this.generatePoints();let e4=this.options,i3=e4.slicedOffset,s3=l2(e4.startAngle,e4.endAngle),r3=this.startAngleRad=s3.start,o3=(this.endAngleRad=s3.end)-r3,n3=this.points,a3=e4.ignoreHiddenPoint,h3=n3.length,d3,c3,p3,g3,f3,m3,x2,y2=0;for(t4||(this.center=t4=this.getCenter()),m3=0;m3<h3;m3++){x2=n3[m3],d3=r3+y2*o3,x2.isValid()&&(!a3||x2.visible)&&(y2+=x2.percentage/100),c3=r3+y2*o3;let e5={x:t4[0],y:t4[1],r:t4[2]/2,innerR:t4[3]/2,start:Math.round(1e3*d3)/1e3,end:Math.round(1e3*c3)/1e3};x2.shapeType="arc",x2.shapeArgs=e5,(p3=(c3+d3)/2)>1.5*Math.PI?p3-=2*Math.PI:p3<-Math.PI/2&&(p3+=2*Math.PI),x2.slicedTranslation={translateX:Math.round(Math.cos(p3)*i3),translateY:Math.round(Math.sin(p3)*i3)},g3=Math.cos(p3)*t4[2]/2,f3=Math.sin(p3)*t4[2]/2,x2.tooltipPos=[t4[0]+.7*g3,t4[1]+.7*f3],x2.half=p3<-Math.PI/2||p3>Math.PI/2?1:0,x2.angle=p3}u2(this,"afterTranslate")}updateTotals(){let t4=this.points,e4=t4.length,i3=this.options.ignoreHiddenPoint,s3,r3,o3=0;for(s3=0;s3<e4;s3++)(r3=t4[s3]).isValid()&&(!i3||r3.visible)&&(o3+=r3.y);for(s3=0,this.total=o3;s3<e4;s3++)(r3=t4[s3]).percentage=o3>0&&(r3.visible||!i3)?r3.y/o3*100:0,r3.total=o3}}return m2.defaultOptions=g2(o2.defaultOptions,r2),p2(m2.prototype,{axisTypes:[],directTouch:true,drawGraph:void 0,drawTracker:e3.prototype.drawTracker,getCenter:t3.getCenter,getSymbol:d2,invertible:false,isCartesian:false,noSharedTooltip:true,pointAttribs:e3.prototype.pointAttribs,pointClass:s2,requireSorting:false,searchPoint:d2,trackerGroups:["group","dataLabelsGroup"]}),n2.registerSeriesType("pie",m2),m2})),i(e2,"Series/Pie/PieDataLabel.js",[e2["Core/Series/DataLabel.js"],e2["Core/Globals.js"],e2["Core/Renderer/RendererUtilities.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,r2){var o2;let{composed:n2,noop:a2}=e3,{distribute:h2}=i2,{series:l2}=s2,{arrayMax:d2,clamp:c2,defined:p2,pick:u2,pushUnique:g2,relativeLength:f2}=r2;return function(e4){let i3={radialDistributionY:function(t4,e5){var _a;return(((_a=e5.dataLabelPosition)==null?void 0:_a.top)||0)+t4.distributeBox.pos},radialDistributionX:function(t4,e5,i4,s4,r4){let o4=r4.dataLabelPosition;return t4.getX(i4<((o4==null?void 0:o4.top)||0)+2||i4>((o4==null?void 0:o4.bottom)||0)-2?s4:i4,e5.half,e5,r4)},justify:function(t4,e5,i4,s4){var _a;return s4[0]+(t4.half?-1:1)*(i4+(((_a=e5.dataLabelPosition)==null?void 0:_a.distance)||0))},alignToPlotEdges:function(t4,e5,i4,s4){let r4=t4.getBBox().width;return e5?r4+s4:i4-r4-s4},alignToConnectors:function(t4,e5,i4,s4){let r4=0,o4;return t4.forEach((function(t5){(o4=t5.dataLabel.getBBox().width)>r4&&(r4=o4)})),e5?r4+s4:i4-r4-s4}};function s3(t4,e5){let{center:i4,options:s4}=this,r4=i4[2]/2,o4=t4.angle||0,n3=Math.cos(o4),a3=Math.sin(o4),h3=i4[0]+n3*r4,l3=i4[1]+a3*r4,d3=Math.min((s4.slicedOffset||0)+(s4.borderWidth||0),e5/5);return{natural:{x:h3+n3*e5,y:l3+a3*e5},computed:{},alignment:e5<0?"center":t4.half?"right":"left",connectorPosition:{breakAt:{x:h3+n3*d3,y:l3+a3*d3},touchingSliceAt:{x:h3,y:l3}},distance:e5}}function r3(){var _a;let t4=this,e5=t4.points,i4=t4.chart,s4=i4.plotWidth,r4=i4.plotHeight,o4=i4.plotLeft,n3=Math.round(i4.chartWidth/3),a3=t4.center,c3=a3[2]/2,g3=a3[1],m3=[[],[]],x2=[0,0,0,0],y2=t4.dataLabelPositioners,b2,v2,S2,C2=0;t4.visible&&((_a=t4.hasDataLabels)==null?void 0:_a.call(t4))&&(e5.forEach((t5=>{(t5.dataLabels||[]).forEach((t6=>{t6.shortened&&(t6.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t6.shortened=false)}))})),l2.prototype.drawDataLabels.apply(t4),e5.forEach((t5=>{(t5.dataLabels||[]).forEach(((e6,i5)=>{var _a2;let s5=a3[2]/2,r5=e6.options,o5=f2((r5==null?void 0:r5.distance)||0,s5);0===i5&&m3[t5.half].push(t5),!p2((_a2=r5==null?void 0:r5.style)==null?void 0:_a2.width)&&e6.getBBox().width>n3&&(e6.css({width:Math.round(.7*n3)+"px"}),e6.shortened=true),e6.dataLabelPosition=this.getDataLabelPosition(t5,o5),C2=Math.max(C2,o5)}))})),m3.forEach(((e6,n4)=>{let l3=e6.length,d3=[],f3,m4,b3=0,k2;l3&&(t4.sortByAngle(e6,n4-.5),C2>0&&(f3=Math.max(0,g3-c3-C2),m4=Math.min(g3+c3+C2,i4.plotHeight),e6.forEach((t5=>{(t5.dataLabels||[]).forEach((e7=>{var _a2;let s5=e7.dataLabelPosition;s5&&s5.distance>0&&(s5.top=Math.max(0,g3-c3-s5.distance),s5.bottom=Math.min(g3+c3+s5.distance,i4.plotHeight),b3=e7.getBBox().height||21,e7.lineHeight=i4.renderer.fontMetrics(e7.text||e7).h+2*e7.padding,t5.distributeBox={target:(((_a2=e7.dataLabelPosition)==null?void 0:_a2.natural.y)||0)-s5.top+e7.lineHeight/2,size:b3,rank:t5.y},d3.push(t5.distributeBox))}))})),h2(d3,k2=m4+b3-f3,k2/5)),e6.forEach((i5=>{(i5.dataLabels||[]).forEach((h3=>{let l4=h3.options||{},g4=i5.distributeBox,f4=h3.dataLabelPosition,m5=(f4==null?void 0:f4.natural.y)||0,b4=l4.connectorPadding||0,C3=h3.lineHeight||21,k3=(C3-h3.getBBox().height)/2,M=0,w2=m5,T2="inherit";if(f4){if(d3&&p2(g4)&&f4.distance>0&&(void 0===g4.pos?T2="hidden":(S2=g4.size,w2=y2.radialDistributionY(i5,h3))),l4.justify)M=y2.justify(i5,h3,c3,a3);else switch(l4.alignTo){case"connectors":M=y2.alignToConnectors(e6,n4,s4,o4);break;case"plotEdges":M=y2.alignToPlotEdges(h3,n4,s4,o4);break;default:M=y2.radialDistributionX(t4,i5,w2-k3,m5,h3)}if(f4.attribs={visibility:T2,align:f4.alignment},f4.posAttribs={x:M+(l4.x||0)+({left:b4,right:-b4}[f4.alignment]||0),y:w2+(l4.y||0)-C3/2},f4.computed.x=M,f4.computed.y=w2-k3,u2(l4.crop,true)){let t5;M-(v2=h3.getBBox().width)<b4&&1===n4?(t5=Math.round(v2-M+b4),x2[3]=Math.max(t5,x2[3])):M+v2>s4-b4&&0===n4&&(t5=Math.round(M+v2-s4+b4),x2[1]=Math.max(t5,x2[1])),w2-S2/2<0?x2[0]=Math.max(Math.round(-w2+S2/2),x2[0]):w2+S2/2>r4&&(x2[2]=Math.max(Math.round(w2+S2/2-r4),x2[2])),f4.sideOverflow=t5}}}))})))})),(0===d2(x2)||this.verifyDataLabelOverflow(x2))&&(this.placeDataLabels(),this.points.forEach((e6=>{(e6.dataLabels||[]).forEach((s5=>{var _a2;let{connectorColor:r5,connectorWidth:o5=1}=s5.options||{},n4=s5.dataLabelPosition;if(o5){let a4;b2=s5.connector,n4&&n4.distance>0?(a4=!b2,b2||(s5.connector=b2=i4.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+e6.colorIndex+(e6.className?" "+e6.className:"")).add(t4.dataLabelsGroup)),i4.styledMode||b2.attr({"stroke-width":o5,stroke:r5||e6.color||"#666666"}),b2[a4?"attr":"animate"]({d:e6.getConnectorPath(s5)}),b2.attr({visibility:(_a2=n4.attribs)==null?void 0:_a2.visibility})):b2&&(s5.connector=b2.destroy())}}))}))))}function o3(){this.points.forEach((t4=>{(t4.dataLabels||[]).forEach((t5=>{var _a;let e5=t5.dataLabelPosition;e5?(e5.sideOverflow&&(t5.css({width:Math.max(t5.getBBox().width-e5.sideOverflow,0)+"px",textOverflow:(((_a=t5.options)==null?void 0:_a.style)||{}).textOverflow||"ellipsis"}),t5.shortened=true),t5.attr(e5.attribs),t5[t5.moved?"animate":"attr"](e5.posAttribs),t5.moved=true):t5&&t5.attr({y:-9999})})),delete t4.distributeBox}),this)}function m2(t4){let e5=this.center,i4=this.options,s4=i4.center,r4=i4.minSize||80,o4=r4,n3=null!==i4.size;return!n3&&(null!==s4[0]?o4=Math.max(e5[2]-Math.max(t4[1],t4[3]),r4):(o4=Math.max(e5[2]-t4[1]-t4[3],r4),e5[0]+=(t4[3]-t4[1])/2),null!==s4[1]?o4=c2(o4,r4,e5[2]-Math.max(t4[0],t4[2])):(o4=c2(o4,r4,e5[2]-t4[0]-t4[2]),e5[1]+=(t4[0]-t4[2])/2),o4<e5[2]?(e5[2]=o4,e5[3]=Math.min(i4.thickness?Math.max(0,o4-2*i4.thickness):Math.max(0,f2(i4.innerSize||0,o4)),o4),this.translate(e5),this.drawDataLabels&&this.drawDataLabels()):n3=true),n3}e4.compose=function(e5){if(t3.compose(l2),g2(n2,"PieDataLabel")){let t4=e5.prototype;t4.dataLabelPositioners=i3,t4.alignDataLabel=a2,t4.drawDataLabels=r3,t4.getDataLabelPosition=s3,t4.placeDataLabels=o3,t4.verifyDataLabelOverflow=m2}}}(o2||(o2={})),o2})),i(e2,"Core/Geometry/GeometryUtilities.js",[],(function(){var t3,e3;return(e3=t3||(t3={})).getCenterOfPoints=function(t4){let e4=t4.reduce(((t5,e5)=>(t5.x+=e5.x,t5.y+=e5.y,t5)),{x:0,y:0});return{x:e4.x/t4.length,y:e4.y/t4.length}},e3.getDistanceBetweenPoints=function(t4,e4){return Math.sqrt(Math.pow(e4.x-t4.x,2)+Math.pow(e4.y-t4.y,2))},e3.getAngleBetweenPoints=function(t4,e4){return Math.atan2(e4.x-t4.x,e4.y-t4.y)},e3.pointInPolygon=function({x:t4,y:e4},i2){let s2=i2.length,r2,o2,n2=false;for(r2=0,o2=s2-1;r2<s2;o2=r2++){let[s3,a2]=i2[r2],[h2,l2]=i2[o2];a2>e4!=l2>e4&&t4<(h2-s3)*(e4-a2)/(l2-a2)+s3&&(n2=!n2)}return n2},t3})),i(e2,"Extensions/OverlappingDataLabels.js",[e2["Core/Geometry/GeometryUtilities.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{pointInPolygon:i2}=t3,{addEvent:s2,fireEvent:r2,objectEach:o2,pick:n2}=e3;function a2(t4){let e4=t4.length,s3=(t5,e5)=>!(e5.x>=t5.x+t5.width||e5.x+e5.width<=t5.x||e5.y>=t5.y+t5.height||e5.y+e5.height<=t5.y),o3=(t5,e5)=>{for(let s4 of t5)if(i2({x:s4[0],y:s4[1]},e5))return true;return false},n3,a3,l3,d2,c2,p2=false;for(let i3=0;i3<e4;i3++)(n3=t4[i3])&&(n3.oldOpacity=n3.opacity,n3.newOpacity=1,n3.absoluteBox=function(t5){var _a,_b;if(t5&&(!t5.alignAttr||t5.placed)){let e5=t5.box?0:t5.padding||0,i4=t5.alignAttr||{x:t5.attr("x"),y:t5.attr("y")},s4=t5.getBBox();return t5.width=s4.width,t5.height=s4.height,{x:i4.x+(((_a=t5.parentGroup)==null?void 0:_a.translateX)||0)+e5,y:i4.y+(((_b=t5.parentGroup)==null?void 0:_b.translateY)||0)+e5,width:(t5.width||0)-2*e5,height:(t5.height||0)-2*e5,polygon:s4==null?void 0:s4.polygon}}}(n3));t4.sort(((t5,e5)=>(e5.labelrank||0)-(t5.labelrank||0)));for(let i3=0;i3<e4;++i3){d2=(a3=t4[i3])&&a3.absoluteBox;let r3=d2==null?void 0:d2.polygon;for(let n4=i3+1;n4<e4;++n4){c2=(l3=t4[n4])&&l3.absoluteBox;let e5=false;if(d2&&c2&&a3!==l3&&0!==a3.newOpacity&&0!==l3.newOpacity&&"hidden"!==a3.visibility&&"hidden"!==l3.visibility){let t5=c2.polygon;if(r3&&t5&&r3!==t5?o3(r3,t5)&&(e5=true):s3(d2,c2)&&(e5=true),e5){let t6=a3.labelrank<l3.labelrank?a3:l3,e6=t6.text;t6.newOpacity=0,(e6==null?void 0:e6.element.querySelector("textPath"))&&e6.hide()}}}}for(let e5 of t4)h2(e5,this)&&(p2=true);p2&&r2(this,"afterHideAllOverlappingLabels")}function h2(t4,e4){let i3,s3,o3=false;return t4&&(s3=t4.newOpacity,t4.oldOpacity!==s3&&(t4.hasClass("highcharts-data-label")?(t4[s3?"removeClass":"addClass"]("highcharts-data-label-hidden"),i3=function(){e4.styledMode||t4.css({pointerEvents:s3?"auto":"none"})},o3=true,t4[t4.isOld?"animate":"attr"]({opacity:s3},void 0,i3),r2(e4,"afterHideOverlappingLabel")):t4.attr({opacity:s3})),t4.isOld=true),o3}function l2(){var _a;let t4=this,e4=[];for(let i3 of t4.labelCollectors||[])e4=e4.concat(i3());for(let i3 of t4.yAxis||[])i3.stacking&&i3.options.stackLabels&&!i3.options.stackLabels.allowOverlap&&o2(i3.stacking.stacks,(t5=>{o2(t5,(t6=>{t6.label&&e4.push(t6.label)}))}));for(let i3 of t4.series||[])if(i3.visible&&((_a=i3.hasDataLabels)==null?void 0:_a.call(i3))){let s3=i4=>{for(let s4 of i4)s4.visible&&(s4.dataLabels||[]).forEach((i5=>{var _a2;let r3=i5.options||{};i5.labelrank=n2(r3.labelrank,s4.labelrank,(_a2=s4.shapeArgs)==null?void 0:_a2.height),r3.allowOverlap??Number(r3.distance)>0?(i5.oldOpacity=i5.opacity,i5.newOpacity=1,h2(i5,t4)):e4.push(i5)}))};s3(i3.nodes||[]),s3(i3.points)}this.hideOverlappingLabels(e4)}return{compose:function(t4){let e4=t4.prototype;e4.hideOverlappingLabels||(e4.hideOverlappingLabels=a2,s2(t4,"render",l2))}}})),i(e2,"Extensions/BorderRadius.js",[e2["Core/Defaults.js"],e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{defaultOptions:s2}=t3,{noop:r2}=e3,{addEvent:o2,extend:n2,isObject:a2,merge:h2,relativeLength:l2}=i2,d2={radius:0,scope:"stack",where:void 0},c2=r2,p2=r2;function u2(t4,e4,i3,s3,r3={}){let o3=c2(t4,e4,i3,s3,r3),{innerR:n3=0,r:a3=i3,start:h3=0,end:d3=0}=r3;if(r3.open||!r3.borderRadius)return o3;let p3=d3-h3,g3=Math.sin(p3/2),f3=Math.max(Math.min(l2(r3.borderRadius||0,a3-n3),(a3-n3)/2,a3*g3/(1+g3)),0),m3=Math.min(f3,p3/Math.PI*2*n3),x3=o3.length-1;for(;x3--;)!function(t5,e5,i4){let s4,r4,o4;let n4=t5[e5],a4=t5[e5+1];if("Z"===a4[0]&&(a4=t5[0]),("M"===n4[0]||"L"===n4[0])&&"A"===a4[0]?(s4=n4,r4=a4,o4=true):"A"===n4[0]&&("M"===a4[0]||"L"===a4[0])&&(s4=a4,r4=n4),s4&&r4&&r4.params){let n5=r4[1],a5=r4[5],h4=r4.params,{start:l3,end:d4,cx:c3,cy:p4}=h4,u3=a5?n5-i4:n5+i4,g4=u3?Math.asin(i4/u3):0,f4=a5?g4:-g4,m4=Math.cos(g4)*u3;o4?(h4.start=l3+f4,s4[1]=c3+m4*Math.cos(l3),s4[2]=p4+m4*Math.sin(l3),t5.splice(e5+1,0,["A",i4,i4,0,0,1,c3+n5*Math.cos(h4.start),p4+n5*Math.sin(h4.start)])):(h4.end=d4-f4,r4[6]=c3+n5*Math.cos(h4.end),r4[7]=p4+n5*Math.sin(h4.end),t5.splice(e5+1,0,["A",i4,i4,0,0,1,c3+m4*Math.cos(d4),p4+m4*Math.sin(d4)])),r4[4]=Math.abs(h4.end-h4.start)<Math.PI?0:1}}(o3,x3,x3>1?m3:f3);return o3}function g2(){var _a,_b;if(this.options.borderRadius&&!(this.chart.is3d&&this.chart.is3d())){let{options:t4,yAxis:e4}=this,i3="percent"===t4.stacking,r3=(_b=(_a=s2.plotOptions)==null?void 0:_a[this.type])==null?void 0:_b.borderRadius,o3=f2(t4.borderRadius,a2(r3)?r3:{}),h3=e4.options.reversed;for(let s3 of this.points){let{shapeArgs:r4}=s3;if("roundedRect"===s3.shapeType&&r4){let{width:a3=0,height:d3=0,y:c3=0}=r4,p3=c3,u3=d3;if("stack"===o3.scope&&s3.stackTotal){let r5=e4.translate(i3?100:s3.stackTotal,false,true,false,true),o4=e4.translate(t4.threshold||0,false,true,false,true),n3=this.crispCol(0,Math.min(r5,o4),0,Math.abs(r5-o4));p3=n3.y,u3=n3.height}let g3=(s3.negative?-1:1)*(h3?-1:1)==-1,f3=o3.where;!f3&&this.is("waterfall")&&Math.abs((s3.yBottom||0)-(this.translatedThreshold||0))>this.borderWidth&&(f3="all"),f3||(f3="end");let m3=Math.min(l2(o3.radius,a3),a3/2,"all"===f3?d3/2:1/0)||0;"end"===f3&&(g3&&(p3-=m3),u3+=m3),n2(r4,{brBoxHeight:u3,brBoxY:p3,r:m3})}}}}function f2(t4,e4){return a2(t4)||(t4={radius:t4||0}),h2(d2,e4,t4)}function m2(){let t4=f2(this.options.borderRadius);for(let e4 of this.points){let i3=e4.shapeArgs;i3&&(i3.borderRadius=l2(t4.radius,(i3.r||0)-(i3.innerR||0)))}}function x2(t4,e4,i3,s3,r3={}){let o3=p2(t4,e4,i3,s3,r3),{r:n3=0,brBoxHeight:a3=s3,brBoxY:h3=e4}=r3,l3=e4-h3,d3=h3+a3-(e4+s3),c3=l3-n3>-.1?0:n3,u3=d3-n3>-.1?0:n3,g3=Math.max(c3&&l3,0),f3=Math.max(u3&&d3,0),m3=[t4+c3,e4],y2=[t4+i3-c3,e4],b2=[t4+i3,e4+c3],v2=[t4+i3,e4+s3-u3],S2=[t4+i3-u3,e4+s3],C2=[t4+u3,e4+s3],k2=[t4,e4+s3-u3],M=[t4,e4+c3],w2=(t5,e5)=>Math.sqrt(Math.pow(t5,2)-Math.pow(e5,2));if(g3){let t5=w2(c3,c3-g3);m3[0]-=t5,y2[0]+=t5,b2[1]=M[1]=e4+c3-g3}if(s3<c3-g3){let r4=w2(c3,c3-g3-s3);b2[0]=v2[0]=t4+i3-c3+r4,S2[0]=Math.min(b2[0],S2[0]),C2[0]=Math.max(v2[0],C2[0]),k2[0]=M[0]=t4+c3-r4,b2[1]=M[1]=e4+s3}if(f3){let t5=w2(u3,u3-f3);S2[0]+=t5,C2[0]-=t5,v2[1]=k2[1]=e4+s3-u3+f3}if(s3<u3-f3){let r4=w2(u3,u3-f3-s3);b2[0]=v2[0]=t4+i3-u3+r4,y2[0]=Math.min(b2[0],y2[0]),m3[0]=Math.max(v2[0],m3[0]),k2[0]=M[0]=t4+u3-r4,v2[1]=k2[1]=e4}return o3.length=0,o3.push(["M",...m3],["L",...y2],["A",c3,c3,0,0,1,...b2],["L",...v2],["A",u3,u3,0,0,1,...S2],["L",...C2],["A",u3,u3,0,0,1,...k2],["L",...M],["A",c3,c3,0,0,1,...m3],["Z"]),o3}return{compose:function(t4,e4,i3){let s3=t4.types.pie;if(!e4.symbolCustomAttribs.includes("borderRadius")){let r3=i3.prototype.symbols;o2(t4,"afterColumnTranslate",g2,{order:9}),o2(s3,"afterTranslate",m2),e4.symbolCustomAttribs.push("borderRadius","brBoxHeight","brBoxY"),c2=r3.arc,p2=r3.roundedRect,r3.arc=u2,r3.roundedRect=x2}},optionsToObject:f2}})),i(e2,"Core/Responsive.js",[e2["Core/Utilities.js"]],(function(t3){var e3;let{diffObjects:i2,extend:s2,find:r2,merge:o2,pick:n2,uniqueKey:a2}=t3;return function(t4){function e4(t5,e5){let i3=t5.condition;(i3.callback||function(){return this.chartWidth<=n2(i3.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=n2(i3.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=n2(i3.minWidth,0)&&this.chartHeight>=n2(i3.minHeight,0)}).call(this)&&e5.push(t5._id)}function h2(t5,e5){let s3=this.options.responsive,n3=this.currentResponsive,h3=[],l2;!e5&&s3&&s3.rules&&s3.rules.forEach((t6=>{void 0===t6._id&&(t6._id=a2()),this.matchResponsiveRule(t6,h3)}),this);let d2=o2(...h3.map((t6=>r2((s3||{}).rules||[],(e6=>e6._id===t6)))).map((t6=>t6&&t6.chartOptions)));d2.isResponsiveOptions=true,h3=h3.toString()||void 0;let c2=n3&&n3.ruleIds;h3===c2||(n3&&(this.currentResponsive=void 0,this.updatingResponsive=true,this.update(n3.undoOptions,t5,true),this.updatingResponsive=false),h3?((l2=i2(d2,this.options,true,this.collectionsWithUpdate)).isResponsiveOptions=true,this.currentResponsive={ruleIds:h3,mergedOptions:d2,undoOptions:l2},this.updatingResponsive||this.update(d2,t5,true)):this.currentResponsive=void 0)}t4.compose=function(t5){let i3=t5.prototype;return i3.matchResponsiveRule||s2(i3,{matchResponsiveRule:e4,setResponsive:h2}),t5}}(e3||(e3={})),e3})),i(e2,"masters/highcharts.src.js",[e2["Core/Globals.js"],e2["Core/Utilities.js"],e2["Core/Defaults.js"],e2["Core/Animation/Fx.js"],e2["Core/Animation/AnimationUtilities.js"],e2["Core/Renderer/HTML/AST.js"],e2["Core/Templating.js"],e2["Core/Renderer/RendererRegistry.js"],e2["Core/Renderer/RendererUtilities.js"],e2["Core/Renderer/SVG/SVGElement.js"],e2["Core/Renderer/SVG/SVGRenderer.js"],e2["Core/Renderer/HTML/HTMLElement.js"],e2["Core/Axis/Axis.js"],e2["Core/Axis/DateTimeAxis.js"],e2["Core/Axis/LogarithmicAxis.js"],e2["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],e2["Core/Axis/Tick.js"],e2["Core/Tooltip.js"],e2["Core/Series/Point.js"],e2["Core/Pointer.js"],e2["Core/Legend/Legend.js"],e2["Core/Legend/LegendSymbol.js"],e2["Core/Chart/Chart.js"],e2["Extensions/ScrollablePlotArea.js"],e2["Core/Axis/Stacking/StackingAxis.js"],e2["Core/Axis/Stacking/StackItem.js"],e2["Core/Series/Series.js"],e2["Core/Series/SeriesRegistry.js"],e2["Series/Column/ColumnDataLabel.js"],e2["Series/Pie/PieDataLabel.js"],e2["Core/Series/DataLabel.js"],e2["Extensions/OverlappingDataLabels.js"],e2["Extensions/BorderRadius.js"],e2["Core/Responsive.js"],e2["Core/Color/Color.js"],e2["Core/Time.js"]],(function(t3,e3,i2,s2,r2,o2,n2,a2,h2,l2,d2,c2,p2,u2,g2,f2,m2,x2,y2,b2,v2,S2,C2,k2,M,w2,T2,A2,P,L2,O2,D2,E2,I,j,B){return t3.AST=o2,t3.Axis=p2,t3.Chart=C2,t3.Color=j,t3.DataLabel=O2,t3.Fx=s2,t3.HTMLElement=c2,t3.Legend=v2,t3.LegendSymbol=S2,t3.OverlappingDataLabels=t3.OverlappingDataLabels||D2,t3.PlotLineOrBand=f2,t3.Point=y2,t3.Pointer=b2,t3.RendererRegistry=a2,t3.Series=T2,t3.SeriesRegistry=A2,t3.StackItem=w2,t3.SVGElement=l2,t3.SVGRenderer=d2,t3.Templating=n2,t3.Tick=m2,t3.Time=B,t3.Tooltip=x2,t3.animate=r2.animate,t3.animObject=r2.animObject,t3.chart=C2.chart,t3.color=j.parse,t3.dateFormat=n2.dateFormat,t3.defaultOptions=i2.defaultOptions,t3.distribute=h2.distribute,t3.format=n2.format,t3.getDeferredAnimation=r2.getDeferredAnimation,t3.getOptions=i2.getOptions,t3.numberFormat=n2.numberFormat,t3.seriesType=A2.seriesType,t3.setAnimation=r2.setAnimation,t3.setOptions=i2.setOptions,t3.stop=r2.stop,t3.time=i2.defaultTime,t3.timers=s2.timers,E2.compose(t3.Series,t3.SVGElement,t3.SVGRenderer),P.compose(t3.Series.types.column),O2.compose(t3.Series),u2.compose(t3.Axis),c2.compose(t3.SVGRenderer),v2.compose(t3.Chart),g2.compose(t3.Axis),D2.compose(t3.Chart),L2.compose(t3.Series.types.pie),f2.compose(t3.Chart,t3.Axis),b2.compose(t3.Chart),I.compose(t3.Chart),k2.compose(t3.Axis,t3.Chart,t3.Series),M.compose(t3.Axis,t3.Chart,t3.Series),x2.compose(t3.Pointer),e3.extend(t3,e3),t3})),e2["masters/highcharts.src.js"]._modules=e2,e2["masters/highcharts.src.js"]}))})(highcharts);var highchartsExports=highcharts.exports;const Highcharts$1=getDefaultExportFromCjs(highchartsExports);const mapColors=array=>{const regex=/(data)\-[1-8]/;const newArray=array.map((item=>regex.test(item)?`${colors$1[`data_${item[item.length-1]}`]}`:item));return newArray};const BarGraph=({aria:aria={},data:data={},align:align="center",axisTitle:axisTitle,dark:dark=false,chartData:chartData,className:className="pb_bar_graph",colors:colors2,htmlOptions:htmlOptions={},customOptions:customOptions={},axisFormat:axisFormat,id:id,pointStart:pointStart,stacking:stacking,subTitle:subTitle,type:type="column",title:title="Title",xAxisCategories:xAxisCategories,yAxisMin:yAxisMin,yAxisMax:yAxisMax,legend:legend=false,toggleLegendClick:toggleLegendClick=true,height:height,layout:layout="horizontal",verticalAlign:verticalAlign="bottom",x:x2=0,y:y2=0,...props})=>{const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const setupTheme=()=>{dark?Highcharts$1.setOptions(highchartsDarkTheme):Highcharts$1.setOptions(highchartsTheme)};setupTheme();const staticOptions={title:{text:title},chart:{height:height,type:type},subtitle:{text:subTitle},yAxis:[{labels:{format:typeof axisFormat==="string"?axisFormat:axisFormat&&axisFormat[0]?axisFormat[0].format:""},min:yAxisMin,max:yAxisMax,opposite:false,title:{text:Array.isArray(axisTitle)?axisTitle.length>0?axisTitle[0].name:null:axisTitle},plotLines:typeof yAxisMin!=="undefined"&&yAxisMin!==null?[]:[{value:0,zIndex:10,color:"#E4E8F0"}]}],xAxis:{categories:xAxisCategories},legend:{enabled:legend,align:align,verticalAlign:verticalAlign,layout:layout,x:x2,y:y2},colors:colors2!==void 0&&colors2.length>0?mapColors(colors2):highchartsTheme.colors,plotOptions:{series:{stacking:stacking,pointStart:pointStart,borderWidth:stacking?0:"",events:{},dataLabels:{enabled:false}}},series:chartData,credits:false};if(Array.isArray(axisTitle)&&axisTitle.length>1&&axisTitle[1].name){staticOptions.yAxis.push({labels:{format:typeof axisFormat==="string"?axisFormat:axisFormat[1].format},min:yAxisMin,max:yAxisMax,opposite:true,title:{text:axisTitle[1].name},plotLines:typeof yAxisMin!=="undefined"&&yAxisMin!==null?[]:[{value:0,zIndex:10,color:"#E4E8F0"}]})}if(!toggleLegendClick){staticOptions.plotOptions.series.events={legendItemClick:()=>false}}const filteredProps={...props};delete filteredProps.verticalAlign;const[options2,setOptions]=useState({});useEffect((()=>{setOptions(merge(staticOptions,customOptions))}),[chartData]);return jsx$1(HighchartsReact,{containerProps:{className:classnames(globalProps(filteredProps),className),id:id,...ariaProps,...dataProps,...htmlProps},highcharts:Highcharts$1,options:options2})};const buttonClassName=props=>{const{disabled:disabled=false,fullWidth:fullWidth=false,highlight:highlight,icon:icon,loading:loading=false,type:type="inline",variant:variant="primary",size:size=null}=props;let className="pb_button_kit";className+=`${variant!==null?`_${variant}`:""}`;className+=`${type!==null?`_${type}`:""}`;className+=`${fullWidth?"_block":""}`;className+=disabled?"_disabled":"_enabled";className+=loading?"_loading":"";className+=`${size!==null?` size_${size}`:""}`;className+=`${variant==="reaction"&&!isValidEmoji(icon)?` reaction_default`:""}`;className+=`${variant==="reaction"&&highlight?` active`:""}`;return className};const spinnerIcon=getAllIcons()["spinner"];const Button=props=>{const{aria:aria={},children:children,className:className,count:count2,data:data={},disabled:disabled,htmlOptions:htmlOptions={},icon:icon=null,iconRight:iconRight=false,id:id,loading:loading=false,onClick:onClick,tabIndex:tabIndex,link:link=null,newWindow:newWindow=false,target:target="",text:text,htmlType:htmlType="button",value:value,variant:variant,form:form=null}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const css4=classnames(buttonClassName(props),globalProps(props),className);const loadingIcon=jsx$1("div",{className:"loading-icon",children:jsx$1(Icon,{className:"svg-inline--fa",customIcon:spinnerIcon.icon,fixedWidth:true,pulse:true})});const content=jsxs("span",{className:"pb_button_content",children:[icon&&!iconRight&&jsx$1(Icon,{className:"button_with_icon",icon:icon}),jsx$1("span",{children:text||children}),icon&&iconRight&&jsx$1(Icon,{className:"button_with_icon_right",icon:icon})]});const ifLoading=()=>{if(loading){return jsx$1(Fragment,{children:loadingIcon})}else{return content}};const getTargetAttribute=()=>{if(target&&link){return target}else if(newWindow){return"_blank"}return null};const displayButton=()=>{if(link){return jsx$1("a",{...ariaProps,...dataProps,...htmlProps,className:css4,href:link,id:id,rel:target!=="child"?"noreferrer":null,role:"link",tabIndex:tabIndex,target:getTargetAttribute(),children:ifLoading()})}else if(variant==="reaction"){return jsxs("button",{...ariaProps,...dataProps,...htmlProps,className:css4,disabled:disabled,form:form,id:id,onClick:onClick,role:"button",tabIndex:tabIndex,type:htmlType,value:value,children:[icon&&isValidEmoji(icon)&&jsxs(Flex,{align:"center",children:[jsx$1(Icon,{icon:icon}),count2&&jsx$1(Caption,{paddingLeft:"xxs",size:"xs",children:count2})]}),!isValidEmoji(icon)&&jsx$1(Icon,{icon:icon?icon:"face-smile-plus"})]})}else{return jsx$1("button",{...ariaProps,...dataProps,...htmlProps,className:css4,disabled:disabled,form:form,id:id,onClick:onClick,role:"button",tabIndex:tabIndex,type:htmlType,value:value,children:ifLoading()})}};return jsx$1(Fragment,{children:displayButton()})};const Checkbox=props=>{const{aria:aria={},checked:checked=false,children:children,className:className,dark:dark=false,data:data={},disabled:disabled=false,error:error=false,htmlOptions:htmlOptions={},id:id,indeterminate:indeterminate=false,name:name2="",onChange:onChange2=()=>{},tabIndex:tabIndex,text:text="",value:value=""}=props;const checkRef=useRef(null);const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_checkbox_kit",checked?"checked":null,error?"error":null,indeterminate?"indeterminate":null),globalProps(props),className);useEffect((()=>{if(checkRef.current){checkRef.current.checked=checked;checkRef.current.indeterminate=indeterminate}}),[indeterminate,checked]);const checkboxChildren=()=>{if(children)return children;else return jsx$1("input",{defaultChecked:checked,disabled:disabled,name:name2,onChange:onChange2,ref:checkRef,tabIndex:tabIndex,type:"checkbox",value:value})};return jsxs("label",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id,children:[jsx$1(Fragment,{children:checkboxChildren()}),!indeterminate&&jsx$1("span",{className:"pb_checkbox_checkmark",children:jsx$1(Icon,{className:"check_icon",fixedWidth:true,icon:"check"})}),indeterminate&&jsx$1("span",{className:"pb_checkbox_indeterminate",children:jsx$1(Icon,{className:"indeterminate_icon",fixedWidth:true,icon:"minus"})}),jsx$1(Body$1,{className:"pb_checkbox_label",dark:dark,status:error?"negative":null,variant:null,children:text})]})};var highchartsMore$1={exports:{}};(function(module){!function(t2){module.exports?(t2.default=t2,module.exports=t2):t2("undefined"!=typeof Highcharts?Highcharts:void 0)}((function(t2){var e2=t2?t2._modules:{};function i(e3,i2,s2,o2){e3.hasOwnProperty(i2)||(e3[i2]=o2.apply(null,s2),"function"==typeof CustomEvent&&t2.win.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:i2,module:e3[i2]}})))}i(e2,"Extensions/Pane/PaneComposition.js",[e2["Core/Utilities.js"]],(function(t3){let{addEvent:e3,correctFloat:i2,defined:s2,pick:o2}=t3;function a2(t4){let e4;let i3=this;return t4&&i3.pane.forEach((s3=>{r2(t4.chartX-i3.plotLeft,t4.chartY-i3.plotTop,s3.center)&&(e4=s3)})),e4}function r2(t4,e4,o3,a3,r3){let n3=true,l3=o3[0],h3=o3[1],p2=Math.sqrt(Math.pow(t4-l3,2)+Math.pow(e4-h3,2));if(s2(a3)&&s2(r3)){let s3=Math.atan2(i2(e4-h3,8),i2(t4-l3,8));r3!==a3&&(n3=a3>r3?s3>=a3&&s3<=Math.PI||s3<=r3&&s3>=-Math.PI:s3>=a3&&s3<=i2(r3,8))}return p2<=Math.ceil(o3[2]/2)&&n3}function n2(t4){this.polar&&(t4.options.inverted&&([t4.x,t4.y]=[t4.y,t4.x]),t4.isInsidePlot=this.pane.some((e4=>r2(t4.x,t4.y,e4.center,e4.axis&&e4.axis.normalizedStartAngleRad,e4.axis&&e4.axis.normalizedEndAngleRad))))}function l2(t4){let e4=this.chart;t4.hoverPoint&&t4.hoverPoint.plotX&&t4.hoverPoint.plotY&&e4.hoverPane&&!r2(t4.hoverPoint.plotX,t4.hoverPoint.plotY,e4.hoverPane.center)&&(t4.hoverPoint=void 0)}function h2(t4){let e4=this.chart;e4.polar?(e4.hoverPane=e4.getHoverPane(t4),t4.filter=function(i3){return i3.visible&&!(!t4.shared&&i3.directTouch)&&o2(i3.options.enableMouseTracking,true)&&(!e4.hoverPane||i3.xAxis.pane===e4.hoverPane)}):e4.hoverPane=void 0}return{compose:function(t4,i3){let s3=t4.prototype;s3.getHoverPane||(s3.collectionsWithUpdate.push("pane"),s3.getHoverPane=a2,e3(t4,"afterIsInsidePlot",n2),e3(i3,"afterGetHoverData",l2),e3(i3,"beforeGetHoverData",h2))}}})),i(e2,"Extensions/Pane/PaneDefaults.js",[],(function(){return{pane:{center:["50%","50%"],size:"85%",innerSize:"0%",startAngle:0},background:{shape:"circle",borderRadius:0,borderWidth:1,borderColor:"#cccccc",backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,"#ffffff"],[1,"#e6e6e6"]]},from:-Number.MAX_VALUE,innerRadius:0,to:Number.MAX_VALUE,outerRadius:"105%"}}})),i(e2,"Extensions/Pane/Pane.js",[e2["Series/CenteredUtilities.js"],e2["Extensions/Pane/PaneComposition.js"],e2["Extensions/Pane/PaneDefaults.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){let{extend:o2,merge:a2,splat:r2}=s2;class n2{constructor(t4,e4){this.coll="pane",this.init(t4,e4)}init(t4,e4){this.chart=e4,this.background=[],e4.pane.push(this),this.setOptions(t4)}setOptions(t4){this.options=t4=a2(i2.pane,this.chart.angular?{background:{}}:void 0,t4)}render(){let t4=this.options,e4=this.chart.renderer;this.group||(this.group=e4.g("pane-group").attr({zIndex:t4.zIndex||0}).add()),this.updateCenter();let s3=this.options.background;if(s3){let t5=Math.max((s3=r2(s3)).length,this.background.length||0);for(let e5=0;e5<t5;e5++)s3[e5]&&this.axis?this.renderBackground(a2(i2.background,s3[e5]),e5):this.background[e5]&&(this.background[e5]=this.background[e5].destroy(),this.background.splice(e5,1))}}renderBackground(t4,e4){let i3={class:"highcharts-pane "+(t4.className||"")},s3="animate";this.chart.styledMode||o2(i3,{fill:t4.backgroundColor,stroke:t4.borderColor,"stroke-width":t4.borderWidth}),this.background[e4]||(this.background[e4]=this.chart.renderer.path().add(this.group),s3="attr"),this.background[e4][s3]({d:this.axis.getPlotBandPath(t4.from,t4.to,t4)}).attr(i3)}updateCenter(e4){this.center=(e4||this.axis||{}).center=t3.getCenter.call(this)}update(t4,e4){a2(true,this.options,t4),this.setOptions(this.options),this.render(),this.chart.axes.forEach((function(t5){t5.pane===this&&(t5.pane=null,t5.update({},e4))}),this)}}return n2.compose=e3.compose,n2})),i(e2,"Series/AreaRange/AreaRangePoint.js",[e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{area:{prototype:{pointClass:i2,pointClass:{prototype:s2}}}}=t3.seriesTypes,{defined:o2,isNumber:a2}=e3;return class extends i2{setState(){let t4=this.state,e4=this.series,i3=e4.chart.polar;o2(this.plotHigh)||(this.plotHigh=e4.yAxis.toPixels(this.high,true)),o2(this.plotLow)||(this.plotLow=this.plotY=e4.yAxis.toPixels(this.low,true)),e4.lowerStateMarkerGraphic=e4.stateMarkerGraphic,e4.stateMarkerGraphic=e4.upperStateMarkerGraphic,this.graphic=this.graphics&&this.graphics[1],this.plotY=this.plotHigh,i3&&a2(this.plotHighX)&&(this.plotX=this.plotHighX),s2.setState.apply(this,arguments),this.state=t4,this.plotY=this.plotLow,this.graphic=this.graphics&&this.graphics[0],i3&&a2(this.plotLowX)&&(this.plotX=this.plotLowX),e4.upperStateMarkerGraphic=e4.stateMarkerGraphic,e4.stateMarkerGraphic=e4.lowerStateMarkerGraphic,e4.lowerStateMarkerGraphic=void 0;let r2=e4.modifyMarkerSettings();s2.setState.apply(this,arguments),e4.restoreMarkerSettings(r2)}haloPath(){let t4=this.series.chart.polar,e4=[];return this.plotY=this.plotLow,t4&&a2(this.plotLowX)&&(this.plotX=this.plotLowX),this.isInside&&(e4=s2.haloPath.apply(this,arguments)),this.plotY=this.plotHigh,t4&&a2(this.plotHighX)&&(this.plotX=this.plotHighX),this.isTopInside&&(e4=e4.concat(s2.haloPath.apply(this,arguments))),e4}isValid(){return a2(this.low)&&a2(this.high)}}})),i(e2,"Series/AreaRange/AreaRangeSeries.js",[e2["Series/AreaRange/AreaRangePoint.js"],e2["Core/Globals.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){let{noop:o2}=e3,{area:a2,area:{prototype:r2},column:{prototype:n2}}=i2.seriesTypes,{addEvent:l2,defined:h2,extend:p2,isArray:d2,isNumber:c2,pick:u2,merge:g2}=s2;class f2 extends a2{toYData(t4){return[t4.low,t4.high]}highToXY(t4){let e4=this.chart,i3=this.xAxis.postTranslate(t4.rectPlotX||0,this.yAxis.len-(t4.plotHigh||0));t4.plotHighX=i3.x-e4.plotLeft,t4.plotHigh=i3.y-e4.plotTop,t4.plotLowX=t4.plotX}getGraphPath(t4){let e4=[],i3=[],s3=r2.getGraphPath,o3=this.options,a3=this.chart.polar,n3=a3&&false!==o3.connectEnds,l3=o3.connectNulls,h3,p3,d3,c3=o3.step;for(h3=(t4=t4||this.points).length;h3--;){p3=t4[h3];let s4=a3?{plotX:p3.rectPlotX,plotY:p3.yBottom,doCurve:false}:{plotX:p3.plotX,plotY:p3.plotY,doCurve:false};p3.isNull||n3||l3||t4[h3+1]&&!t4[h3+1].isNull||i3.push(s4),d3={polarPlotY:p3.polarPlotY,rectPlotX:p3.rectPlotX,yBottom:p3.yBottom,plotX:u2(p3.plotHighX,p3.plotX),plotY:p3.plotHigh,isNull:p3.isNull},i3.push(d3),e4.push(d3),p3.isNull||n3||l3||t4[h3-1]&&!t4[h3-1].isNull||i3.push(s4)}let g3=s3.call(this,t4);c3&&(true===c3&&(c3="left"),o3.step={left:"right",center:"center",right:"left"}[c3]);let f3=s3.call(this,e4),b2=s3.call(this,i3);o3.step=c3;let m2=[].concat(g3,f3);return!this.chart.polar&&b2[0]&&"M"===b2[0][0]&&(b2[0]=["L",b2[0][1],b2[0][2]]),this.graphPath=m2,this.areaPath=g3.concat(b2),m2.isArea=true,m2.xMap=g3.xMap,this.areaPath.xMap=g3.xMap,m2}drawDataLabels(){var _a,_b;let t4,e4,i3,s3,o3;let a3=this.points,n3=a3.length,l3=[],h3=this.options.dataLabels,c3=this.chart.inverted;if(h3){if(d2(h3)?(s3=h3[0]||{enabled:false},o3=h3[1]||{enabled:false}):((s3=p2({},h3)).x=h3.xHigh,s3.y=h3.yHigh,(o3=p2({},h3)).x=h3.xLow,o3.y=h3.yLow),s3.enabled||((_a=this.hasDataLabels)==null?void 0:_a.call(this))){for(t4=n3;t4--;)if(e4=a3[t4]){let{plotHigh:o4=0,plotLow:a4=0}=e4;i3=s3.inside?o4<a4:o4>a4,e4.y=e4.high,e4._plotY=e4.plotY,e4.plotY=o4,l3[t4]=e4.dataLabel,e4.dataLabel=e4.dataLabelUpper,e4.below=i3,c3?s3.align||(s3.align=i3?"right":"left"):s3.verticalAlign||(s3.verticalAlign=i3?"top":"bottom")}for(this.options.dataLabels=s3,r2.drawDataLabels&&r2.drawDataLabels.apply(this,arguments),t4=n3;t4--;)(e4=a3[t4])&&(e4.dataLabelUpper=e4.dataLabel,e4.dataLabel=l3[t4],delete e4.dataLabels,e4.y=e4.low,e4.plotY=e4._plotY)}if(o3.enabled||((_b=this.hasDataLabels)==null?void 0:_b.call(this))){for(t4=n3;t4--;)if(e4=a3[t4]){let{plotHigh:t5=0,plotLow:s4=0}=e4;i3=o3.inside?t5<s4:t5>s4,e4.below=!i3,c3?o3.align||(o3.align=i3?"left":"right"):o3.verticalAlign||(o3.verticalAlign=i3?"bottom":"top")}this.options.dataLabels=o3,r2.drawDataLabels&&r2.drawDataLabels.apply(this,arguments)}if(s3.enabled)for(t4=n3;t4--;)(e4=a3[t4])&&(e4.dataLabels=[e4.dataLabelUpper,e4.dataLabel].filter((function(t5){return!!t5})));this.options.dataLabels=h3}}alignDataLabel(){n2.alignDataLabel.apply(this,arguments)}modifyMarkerSettings(){let t4={marker:this.options.marker,symbol:this.symbol};if(this.options.lowMarker){let{options:{marker:t5,lowMarker:e4}}=this;this.options.marker=g2(t5,e4),e4.symbol&&(this.symbol=e4.symbol)}return t4}restoreMarkerSettings(t4){this.options.marker=t4.marker,this.symbol=t4.symbol}drawPoints(){let t4,e4;let i3=this.points.length,s3=this.modifyMarkerSettings();for(r2.drawPoints.apply(this,arguments),this.restoreMarkerSettings(s3),t4=0;t4<i3;)(e4=this.points[t4]).graphics=e4.graphics||[],e4.origProps={plotY:e4.plotY,plotX:e4.plotX,isInside:e4.isInside,negative:e4.negative,zone:e4.zone,y:e4.y},(e4.graphic||e4.graphics[0])&&(e4.graphics[0]=e4.graphic),e4.graphic=e4.graphics[1],e4.plotY=e4.plotHigh,h2(e4.plotHighX)&&(e4.plotX=e4.plotHighX),e4.y=u2(e4.high,e4.origProps.y),e4.negative=e4.y<(this.options.threshold||0),this.zones.length&&(e4.zone=e4.getZone()),this.chart.polar||(e4.isInside=e4.isTopInside=void 0!==e4.plotY&&e4.plotY>=0&&e4.plotY<=this.yAxis.len&&e4.plotX>=0&&e4.plotX<=this.xAxis.len),t4++;for(r2.drawPoints.apply(this,arguments),t4=0;t4<i3;)(e4=this.points[t4]).graphics=e4.graphics||[],(e4.graphic||e4.graphics[1])&&(e4.graphics[1]=e4.graphic),e4.graphic=e4.graphics[0],e4.origProps&&(p2(e4,e4.origProps),delete e4.origProps),t4++}hasMarkerChanged(t4,e4){let i3=t4.lowMarker,s3=e4.lowMarker||{};return i3&&(false===i3.enabled||s3.symbol!==i3.symbol||s3.height!==i3.height||s3.width!==i3.width)||super.hasMarkerChanged(t4,e4)}}return f2.defaultOptions=g2(a2.defaultOptions,{lineWidth:1,threshold:null,tooltip:{pointFormat:'<span style="color:{series.color}">●</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},trackByArea:true,dataLabels:{align:void 0,verticalAlign:void 0,xLow:0,xHigh:0,yLow:0,yHigh:0}}),l2(f2,"afterTranslate",(function(){"low,high"===this.pointArrayMap.join(",")&&this.points.forEach((t4=>{let e4=t4.high,i3=t4.plotY;t4.isNull?t4.plotY=void 0:(t4.plotLow=i3,t4.plotHigh=c2(e4)?this.yAxis.translate(this.dataModify?this.dataModify.modifyValue(e4):e4,false,true,void 0,true):void 0,this.dataModify&&(t4.yBottom=t4.plotHigh))}))}),{order:0}),l2(f2,"afterTranslate",(function(){this.points.forEach((t4=>{if(this.chart.polar)this.highToXY(t4),t4.plotLow=t4.plotY,t4.tooltipPos=[((t4.plotHighX||0)+(t4.plotLowX||0))/2,((t4.plotHigh||0)+(t4.plotLow||0))/2];else{let e4=t4.pos(false,t4.plotLow),i3=t4.pos(false,t4.plotHigh);e4&&i3&&(e4[0]=(e4[0]+i3[0])/2,e4[1]=(e4[1]+i3[1])/2),t4.tooltipPos=e4}}))}),{order:3}),p2(f2.prototype,{deferTranslatePolar:true,pointArrayMap:["low","high"],pointClass:t3,pointValKey:"low",setStackedPoints:o2}),i2.registerSeriesType("arearange",f2),f2})),i(e2,"Series/AreaSplineRange/AreaSplineRangeSeries.js",[e2["Series/AreaRange/AreaRangeSeries.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{spline:{prototype:s2}}=e3.seriesTypes,{merge:o2,extend:a2}=i2;class r2 extends t3{}return r2.defaultOptions=o2(t3.defaultOptions),a2(r2.prototype,{getPointSpline:s2.getPointSpline}),e3.registerSeriesType("areasplinerange",r2),r2})),i(e2,"Series/BoxPlot/BoxPlotSeriesDefaults.js",[],(function(){return{threshold:null,tooltip:{pointFormat:'<span style="color:{point.color}">●</span> <b>{series.name}</b><br/>Maximum: {point.high}<br/>Upper quartile: {point.q3}<br/>Median: {point.median}<br/>Lower quartile: {point.q1}<br/>Minimum: {point.low}<br/>'},whiskerLength:"50%",fillColor:"#ffffff",lineWidth:1,medianWidth:2,whiskerWidth:2}})),i(e2,"Series/BoxPlot/BoxPlotSeries.js",[e2["Series/BoxPlot/BoxPlotSeriesDefaults.js"],e2["Series/Column/ColumnSeries.js"],e2["Core/Globals.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,o2){let{noop:a2}=i2,{crisp:r2,extend:n2,merge:l2,pick:h2}=o2;class p2 extends e3{pointAttribs(){return{}}translate(){let t4=this.yAxis,e4=this.pointArrayMap;super.translate.apply(this),this.points.forEach((function(i3){e4.forEach((function(e5){null!==i3[e5]&&(i3[e5+"Plot"]=t4.translate(i3[e5],0,1,0,1))})),i3.plotHigh=i3.highPlot}))}drawPoints(){let t4,e4,i3,s3,o3,a3,n3,l3,p3,d2,c2,u2,g2;let f2=this.points,b2=this.options,m2=this.chart,y2=m2.renderer,x2=false!==this.doQuartiles,P=this.options.whiskerLength;for(let S2 of f2){let f3=(l3=S2.graphic)?"animate":"attr",M=S2.shapeArgs,L2={},C2={},k2={},v2={},A2=S2.color||this.color;if(void 0!==S2.plotY){let w2;p3=M.width,c2=(d2=M.x)+p3,u2=p3/2,t4=x2?S2.q1Plot:S2.lowPlot,e4=x2?S2.q3Plot:S2.lowPlot,i3=S2.highPlot,s3=S2.lowPlot,l3||(S2.graphic=l3=y2.g("point").add(this.group),S2.stem=y2.path().addClass("highcharts-boxplot-stem").add(l3),P&&(S2.whiskers=y2.path().addClass("highcharts-boxplot-whisker").add(l3)),x2&&(S2.box=y2.path(n3).addClass("highcharts-boxplot-box").add(l3)),S2.medianShape=y2.path(a3).addClass("highcharts-boxplot-median").add(l3)),m2.styledMode||(C2.stroke=S2.stemColor||b2.stemColor||A2,C2["stroke-width"]=h2(S2.stemWidth,b2.stemWidth,b2.lineWidth),C2.dashstyle=S2.stemDashStyle||b2.stemDashStyle||b2.dashStyle,S2.stem.attr(C2),P&&(k2.stroke=S2.whiskerColor||b2.whiskerColor||A2,k2["stroke-width"]=h2(S2.whiskerWidth,b2.whiskerWidth,b2.lineWidth),k2.dashstyle=S2.whiskerDashStyle||b2.whiskerDashStyle||b2.dashStyle,S2.whiskers.attr(k2)),x2&&(L2.fill=S2.fillColor||b2.fillColor||A2,L2.stroke=b2.lineColor||A2,L2["stroke-width"]=b2.lineWidth||0,L2.dashstyle=S2.boxDashStyle||b2.boxDashStyle||b2.dashStyle,S2.box.attr(L2)),v2.stroke=S2.medianColor||b2.medianColor||A2,v2["stroke-width"]=h2(S2.medianWidth,b2.medianWidth,b2.lineWidth),v2.dashstyle=S2.medianDashStyle||b2.medianDashStyle||b2.dashStyle,S2.medianShape.attr(v2));let T2=r2((S2.plotX||0)+(this.pointXOffset||0)+(this.barW||0)/2,S2.stem.strokeWidth());if(w2=[["M",T2,e4],["L",T2,i3],["M",T2,t4],["L",T2,s3]],S2.stem[f3]({d:w2}),x2){let i4=S2.box.strokeWidth();t4=r2(t4,i4),e4=r2(e4,i4),w2=[["M",d2=r2(d2,i4),e4],["L",d2,t4],["L",c2=r2(c2,i4),t4],["L",c2,e4],["L",d2,e4],["Z"]],S2.box[f3]({d:w2})}if(P){let t5=S2.whiskers.strokeWidth();i3=r2(S2.highPlot,t5),s3=r2(S2.lowPlot,t5),w2=[["M",r2(T2-(g2="string"==typeof P&&/%$/.test(P)?u2*parseFloat(P)/100:Number(P)/2)),i3],["L",r2(T2+g2),i3],["M",r2(T2-g2),s3],["L",r2(T2+g2),s3]],S2.whiskers[f3]({d:w2})}w2=[["M",d2,o3=r2(S2.medianPlot,S2.medianShape.strokeWidth())],["L",c2,o3]],S2.medianShape[f3]({d:w2})}}}toYData(t4){return[t4.low,t4.q1,t4.median,t4.q3,t4.high]}}return p2.defaultOptions=l2(e3.defaultOptions,t3),n2(p2.prototype,{pointArrayMap:["low","q1","median","q3","high"],pointValKey:"high",drawDataLabels:a2,setStackedPoints:a2}),s2.registerSeriesType("boxplot",p2),p2})),i(e2,"Series/Bubble/BubbleLegendDefaults.js",[],(function(){return{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:false,labels:{className:void 0,allowOverlap:false,format:"",formatter:void 0,align:"right",style:{fontSize:"0.9em",color:"#000000"},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:false,zIndex:1,zThreshold:0}})),i(e2,"Series/Bubble/BubbleLegendItem.js",[e2["Core/Color/Color.js"],e2["Core/Templating.js"],e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){let{parse:o2}=t3,{noop:a2}=i2,{arrayMax:r2,arrayMin:n2,isNumber:l2,merge:h2,pick:p2,stableSort:d2}=s2;return class{constructor(t4,e4){this.setState=a2,this.init(t4,e4)}init(t4,e4){this.options=t4,this.visible=true,this.chart=e4.chart,this.legend=e4}addToLegend(t4){t4.splice(this.options.legendIndex,0,this)}drawLegendSymbol(t4){let e4;let i3=p2(t4.options.itemDistance,20),s3=this.legendItem||{},o3=this.options,a3=o3.ranges,r3=o3.connectorDistance;if(!a3||!a3.length||!l2(a3[0].value)){t4.options.bubbleLegend.autoRanges=true;return}d2(a3,(function(t5,e5){return e5.value-t5.value})),this.ranges=a3,this.setOptions(),this.render();let n3=this.getMaxLabelSize(),h3=this.ranges[0].radius,c2=2*h3;e4=(e4=r3-h3+n3.width)>0?e4:0,this.maxLabel=n3,this.movementX="left"===o3.labels.align?e4:0,s3.labelWidth=c2+e4+i3,s3.labelHeight=c2+n3.height/2}setOptions(){let t4=this.ranges,e4=this.options,i3=this.chart.series[e4.seriesIndex],s3=this.legend.baseline,a3={zIndex:e4.zIndex,"stroke-width":e4.borderWidth},r3={zIndex:e4.zIndex,"stroke-width":e4.connectorWidth},n3={align:this.legend.options.rtl||"left"===e4.labels.align?"right":"left",zIndex:e4.zIndex},l3=i3.options.marker.fillOpacity,d3=this.chart.styledMode;t4.forEach((function(c2,u2){d3||(a3.stroke=p2(c2.borderColor,e4.borderColor,i3.color),a3.fill=p2(c2.color,e4.color,1!==l3?o2(i3.color).setOpacity(l3).get("rgba"):i3.color),r3.stroke=p2(c2.connectorColor,e4.connectorColor,i3.color)),t4[u2].radius=this.getRangeRadius(c2.value),t4[u2]=h2(t4[u2],{center:t4[0].radius-t4[u2].radius+s3}),d3||h2(true,t4[u2],{bubbleAttribs:h2(a3),connectorAttribs:h2(r3),labelAttribs:n3})}),this)}getRangeRadius(t4){let e4=this.options,i3=this.options.seriesIndex,s3=this.chart.series[i3],o3=e4.ranges[0].value,a3=e4.ranges[e4.ranges.length-1].value,r3=e4.minSize,n3=e4.maxSize;return s3.getRadius.call(this,a3,o3,r3,n3,t4)}render(){let t4=this.legendItem||{},e4=this.chart.renderer,i3=this.options.zThreshold;for(let s3 of(this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]}),t4.symbol=e4.g("bubble-legend"),t4.label=e4.g("bubble-legend-item").css(this.legend.itemStyle||{}),t4.symbol.translateX=0,t4.symbol.translateY=0,t4.symbol.add(t4.label),t4.label.add(t4.group),this.ranges))s3.value>=i3&&this.renderRange(s3);this.hideOverlappingLabels()}renderRange(t4){let e4=this.ranges[0],i3=this.legend,s3=this.options,o3=s3.labels,a3=this.chart,r3=a3.series[s3.seriesIndex],n3=a3.renderer,l3=this.symbols,h3=l3.labels,p3=t4.center,d3=Math.abs(t4.radius),c2=s3.connectorDistance||0,u2=o3.align,g2=i3.options.rtl,f2=s3.borderWidth,b2=s3.connectorWidth,m2=e4.radius||0,y2=p3-d3-f2/2+b2/2,x2=(y2%1?1:.5)-(b2%2?0:.5),P=n3.styledMode,S2=g2||"left"===u2?-c2:c2;"center"===u2&&(S2=0,s3.connectorDistance=0,t4.labelAttribs.align="center"),l3.bubbleItems.push(n3.circle(m2,p3+x2,d3).attr(P?{}:t4.bubbleAttribs).addClass((P?"highcharts-color-"+r3.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(s3.className||"")).add(this.legendItem.symbol)),l3.connectors.push(n3.path(n3.crispLine([["M",m2,y2],["L",m2+S2,y2]],s3.connectorWidth)).attr(P?{}:t4.connectorAttribs).addClass((P?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(s3.connectorClassName||"")).add(this.legendItem.symbol));let M=n3.text(this.formatLabel(t4)).attr(P?{}:t4.labelAttribs).css(P?{}:o3.style).addClass("highcharts-bubble-legend-labels "+(s3.labels.className||"")).add(this.legendItem.symbol),L2={x:m2+S2+s3.labels.x,y:y2+s3.labels.y+.4*M.getBBox().height};M.attr(L2),h3.push(M),M.placed=true,M.alignAttr=L2}getMaxLabelSize(){let t4,e4;return this.symbols.labels.forEach((function(i3){e4=i3.getBBox(true),t4=t4?e4.width>t4.width?e4:t4:e4})),t4||{}}formatLabel(t4){let i3=this.options,s3=i3.labels.formatter,o3=i3.labels.format,{numberFormatter:a3}=this.chart;return o3?e3.format(o3,t4):s3?s3.call(t4):a3(t4.value,1)}hideOverlappingLabels(){let t4=this.chart,e4=this.options.labels.allowOverlap,i3=this.symbols;!e4&&i3&&(t4.hideOverlappingLabels(i3.labels),i3.labels.forEach((function(t5,e5){t5.newOpacity?t5.newOpacity!==t5.oldOpacity&&i3.connectors[e5].show():i3.connectors[e5].hide()})))}getRanges(){let t4=this.legend.bubbleLegend,e4=t4.chart.series,i3=t4.options.ranges,s3,o3,a3=Number.MAX_VALUE,d3=-Number.MAX_VALUE;return e4.forEach((function(t5){t5.isBubble&&!t5.ignoreSeries&&(o3=t5.zData.filter(l2)).length&&(a3=p2(t5.options.zMin,Math.min(a3,Math.max(n2(o3),false===t5.options.displayNegative?t5.options.zThreshold:-Number.MAX_VALUE))),d3=p2(t5.options.zMax,Math.max(d3,r2(o3))))})),s3=a3===d3?[{value:d3}]:[{value:a3},{value:(a3+d3)/2},{value:d3,autoRanges:true}],i3.length&&i3[0].radius&&s3.reverse(),s3.forEach((function(t5,e5){i3&&i3[e5]&&(s3[e5]=h2(i3[e5],t5))})),s3}predictBubbleSizes(){let t4=this.chart,e4=t4.legend.options,i3=e4.floating,s3="horizontal"===e4.layout,o3=s3?t4.legend.lastLineHeight:0,a3=t4.plotSizeX,r3=t4.plotSizeY,n3=t4.series[this.options.seriesIndex],l3=n3.getPxExtremes(),h3=Math.ceil(l3.minPxSize),p3=Math.ceil(l3.maxPxSize),d3=Math.min(r3,a3),c2,u2=n3.options.maxSize;return i3||!/%$/.test(u2)?c2=p3:(c2=(d3+o3)*(u2=parseFloat(u2))/100/(u2/100+1),(s3&&r3-c2>=a3||!s3&&a3-c2>=r3)&&(c2=p3)),[h3,Math.ceil(c2)]}updateRanges(t4,e4){let i3=this.legend.options.bubbleLegend;i3.minSize=t4,i3.maxSize=e4,i3.ranges=this.getRanges()}correctSizes(){let t4=this.legend,e4=this.chart.series[this.options.seriesIndex].getPxExtremes();Math.abs(Math.ceil(e4.maxPxSize)-this.options.maxSize)>1&&(this.updateRanges(this.options.minSize,e4.maxPxSize),t4.render())}}})),i(e2,"Series/Bubble/BubbleLegendComposition.js",[e2["Series/Bubble/BubbleLegendDefaults.js"],e2["Series/Bubble/BubbleLegendItem.js"],e2["Core/Defaults.js"],e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,o2){let{setOptions:a2}=i2,{composed:r2}=s2,{addEvent:n2,objectEach:l2,pushUnique:h2,wrap:p2}=o2;function d2(t4,e4,i3){let s3,o3,a3;let r3=this.legend,n3=c2(this)>=0;r3&&r3.options.enabled&&r3.bubbleLegend&&r3.options.bubbleLegend.autoRanges&&n3?(s3=r3.bubbleLegend.options,o3=r3.bubbleLegend.predictBubbleSizes(),r3.bubbleLegend.updateRanges(o3[0],o3[1]),s3.placed||(r3.group.placed=false,r3.allItems.forEach((t5=>{(a3=t5.legendItem||{}).group&&(a3.group.translateY=void 0)}))),r3.render(),s3.placed||(this.getMargins(),this.axes.forEach((function(t5){t5.visible&&t5.render(),s3.placed||(t5.setScale(),t5.updateNames(),l2(t5.ticks,(function(t6){t6.isNew=true,t6.isNewLabel=true})))})),this.getMargins()),s3.placed=true,t4.call(this,e4,i3),r3.bubbleLegend.correctSizes(),b2(r3,u2(r3))):(t4.call(this,e4,i3),r3&&r3.options.enabled&&r3.bubbleLegend&&(r3.render(),b2(r3,u2(r3))))}function c2(t4){let e4=t4.series,i3=0;for(;i3<e4.length;){if(e4[i3]&&e4[i3].isBubble&&e4[i3].visible&&e4[i3].zData.length)return i3;i3++}return-1}function u2(t4){let e4=t4.allItems,i3=[],s3=e4.length,o3,a3,r3,n3=0,l3=0;for(n3=0;n3<s3;n3++)if(a3=e4[n3].legendItem||{},r3=(e4[n3+1]||{}).legendItem||{},a3.labelHeight&&(e4[n3].itemHeight=a3.labelHeight),e4[n3]===e4[s3-1]||a3.y!==r3.y){for(i3.push({height:0}),o3=i3[i3.length-1];l3<=n3;l3++)e4[l3].itemHeight>o3.height&&(o3.height=e4[l3].itemHeight);o3.step=n3}return i3}function g2(t4){let i3=this.bubbleLegend,s3=this.options,o3=s3.bubbleLegend,a3=c2(this.chart);i3&&i3.ranges&&i3.ranges.length&&(o3.ranges.length&&(o3.autoRanges=!!o3.ranges[0].autoRanges),this.destroyItem(i3)),a3>=0&&s3.enabled&&o3.enabled&&(o3.seriesIndex=a3,this.bubbleLegend=new e3(o3,this),this.bubbleLegend.addToLegend(t4.allItems))}function f2(t4){let e4;if(t4.defaultPrevented)return false;let i3=t4.legendItem,s3=this.chart,o3=i3.visible;this&&this.bubbleLegend&&(i3.visible=!o3,i3.ignoreSeries=o3,e4=c2(s3)>=0,this.bubbleLegend.visible!==e4&&(this.update({bubbleLegend:{enabled:e4}}),this.bubbleLegend.visible=e4),i3.visible=o3)}function b2(t4,e4){let i3=t4.allItems,s3=t4.options.rtl,o3,a3,r3,n3,l3=0;i3.forEach(((t5,i4)=>{(n3=t5.legendItem||{}).group&&(o3=n3.group.translateX||0,a3=n3.y||0,((r3=t5.movementX)||s3&&t5.ranges)&&(r3=s3?o3-t5.options.maxSize/2:o3+r3,n3.group.attr({translateX:r3})),i4>e4[l3].step&&l3++,n3.group.attr({translateY:Math.round(a3+e4[l3].height/2)}),n3.y=a3+e4[l3].height/2)}))}return{compose:function(e4,i3){h2(r2,"Series.BubbleLegend")&&(a2({legend:{bubbleLegend:t3}}),p2(e4.prototype,"drawChartBox",d2),n2(i3,"afterGetAllItems",g2),n2(i3,"itemClick",f2))}}})),i(e2,"Series/Bubble/BubblePoint.js",[e2["Core/Series/Point.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{seriesTypes:{scatter:{prototype:{pointClass:s2}}}}=e3,{extend:o2}=i2;class a2 extends s2{haloPath(e4){let i3=(e4&&this.marker&&this.marker.radius||0)+e4;if(this.series.chart.inverted){let t4=this.pos()||[0,0],{xAxis:e5,yAxis:s3,chart:o3}=this.series;return o3.renderer.symbols.circle(e5.len-t4[1]-i3,s3.len-t4[0]-i3,2*i3,2*i3)}return t3.prototype.haloPath.call(this,i3)}}return o2(a2.prototype,{ttBelow:false}),a2})),i(e2,"Series/Bubble/BubbleSeries.js",[e2["Series/Bubble/BubbleLegendComposition.js"],e2["Series/Bubble/BubblePoint.js"],e2["Core/Color/Color.js"],e2["Core/Globals.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,o2,a2){let{parse:r2}=i2,{composed:n2,noop:l2}=s2,{series:h2,seriesTypes:{column:{prototype:p2},scatter:d2}}=o2,{addEvent:c2,arrayMax:u2,arrayMin:g2,clamp:f2,extend:b2,isNumber:m2,merge:y2,pick:x2,pushUnique:P}=a2;function S2(){let t4=this.len,{coll:e4,isXAxis:i3,min:s3}=this,o3=i3?"xData":"yData",a3=(this.max||0)-(s3||0),r3=0,n3=t4,l3=t4/a3,h3;("xAxis"===e4||"yAxis"===e4)&&(this.series.forEach((t5=>{if(t5.bubblePadding&&t5.reserveSpace()){this.allowZoomOutside=true,h3=true;let e5=t5[o3];if(i3&&((t5.onPoint||t5).getRadii(0,0,t5),t5.onPoint&&(t5.radii=t5.onPoint.radii)),a3>0){let i4=e5.length;for(;i4--;)if(m2(e5[i4])&&this.dataMin<=e5[i4]&&e5[i4]<=this.max){let o4=t5.radii&&t5.radii[i4]||0;r3=Math.min((e5[i4]-s3)*l3-o4,r3),n3=Math.max((e5[i4]-s3)*l3+o4,n3)}}}})),h3&&a3>0&&!this.logarithmic&&(n3-=t4,l3*=(t4+Math.max(0,r3)-Math.min(n3,t4))/t4,[["min","userMin",r3],["max","userMax",n3]].forEach((t5=>{void 0===x2(this.options[t5[0]],this[t5[1]])&&(this[t5[0]]+=t5[2]/l3)}))))}class M extends d2{static compose(e4,i3,s3){t3.compose(i3,s3),P(n2,"Series.Bubble")&&c2(e4,"foundExtremes",S2)}animate(t4){!t4&&this.points.length<this.options.animationLimit&&this.points.forEach((function(t5){let{graphic:e4,plotX:i3=0,plotY:s3=0}=t5;e4&&e4.width&&(this.hasRendered||e4.attr({x:i3,y:s3,width:1,height:1}),e4.animate(this.markerAttribs(t5),this.options.animation))}),this)}getRadii(){let t4=this.zData,e4=this.yData,i3=[],s3,o3,a3,r3=this.chart.bubbleZExtremes,{minPxSize:n3,maxPxSize:l3}=this.getPxExtremes();if(!r3){let t5,e5=Number.MAX_VALUE,i4=-Number.MAX_VALUE;this.chart.series.forEach((s4=>{if(s4.bubblePadding&&s4.reserveSpace()){let o4=(s4.onPoint||s4).getZExtremes();o4&&(e5=Math.min(x2(e5,o4.zMin),o4.zMin),i4=Math.max(x2(i4,o4.zMax),o4.zMax),t5=true)}})),t5?(r3={zMin:e5,zMax:i4},this.chart.bubbleZExtremes=r3):r3={zMin:0,zMax:0}}for(o3=0,s3=t4.length;o3<s3;o3++)a3=t4[o3],i3.push(this.getRadius(r3.zMin,r3.zMax,n3,l3,a3,e4&&e4[o3]));this.radii=i3}getRadius(t4,e4,i3,s3,o3,a3){let r3=this.options,n3="width"!==r3.sizeBy,l3=r3.zThreshold,h3=e4-t4,p3=.5;if(null===a3||null===o3)return null;if(m2(o3)){if(r3.sizeByAbsoluteValue&&(o3=Math.abs(o3-l3),e4=h3=Math.max(e4-l3,Math.abs(t4-l3)),t4=0),o3<t4)return i3/2-1;h3>0&&(p3=(o3-t4)/h3)}return n3&&p3>=0&&(p3=Math.sqrt(p3)),Math.ceil(i3+p3*(s3-i3))/2}hasData(){return!!this.processedXData.length}markerAttribs(t4,e4){let i3=super.markerAttribs(t4,e4),{height:s3=0,width:o3=0}=i3;return this.chart.inverted?b2(i3,{x:(t4.plotX||0)-o3/2,y:(t4.plotY||0)-s3/2}):i3}pointAttribs(t4,e4){let i3=this.options.marker.fillOpacity,s3=h2.prototype.pointAttribs.call(this,t4,e4);return 1!==i3&&(s3.fill=r2(s3.fill).setOpacity(i3).get("rgba")),s3}translate(){super.translate.call(this),this.getRadii(),this.translateBubble()}translateBubble(){let{data:t4,options:e4,radii:i3}=this,{minPxSize:s3}=this.getPxExtremes(),o3=t4.length;for(;o3--;){let a3=t4[o3],r3=i3?i3[o3]:0;"z"===this.zoneAxis&&(a3.negative=(a3.z||0)<(e4.zThreshold||0)),m2(r3)&&r3>=s3/2?(a3.marker=b2(a3.marker,{radius:r3,width:2*r3,height:2*r3}),a3.dlBox={x:a3.plotX-r3,y:a3.plotY-r3,width:2*r3,height:2*r3}):(a3.shapeArgs=a3.plotY=a3.dlBox=void 0,a3.isInside=false)}}getPxExtremes(){let t4=Math.min(this.chart.plotWidth,this.chart.plotHeight),e4=e5=>{let i4;return"string"==typeof e5&&(i4=/%$/.test(e5),e5=parseInt(e5,10)),i4?t4*e5/100:e5},i3=e4(x2(this.options.minSize,8)),s3=Math.max(e4(x2(this.options.maxSize,"20%")),i3);return{minPxSize:i3,maxPxSize:s3}}getZExtremes(){let t4=this.options,e4=(this.zData||[]).filter(m2);if(e4.length){let i3=x2(t4.zMin,f2(g2(e4),false===t4.displayNegative?t4.zThreshold||0:-Number.MAX_VALUE,Number.MAX_VALUE)),s3=x2(t4.zMax,u2(e4));if(m2(i3)&&m2(s3))return{zMin:i3,zMax:s3}}}}return M.defaultOptions=y2(d2.defaultOptions,{dataLabels:{formatter:function(){let{numberFormatter:t4}=this.series.chart,{z:e4}=this.point;return m2(e4)?t4(e4,-1):""},inside:true,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:false,states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0,zThreshold:0,zoneAxis:"z"}),b2(M.prototype,{alignDataLabel:p2.alignDataLabel,applyZones:l2,bubblePadding:true,isBubble:true,pointArrayMap:["y","z"],pointClass:e3,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"}),c2(M,"updatedData",(t4=>{delete t4.target.chart.bubbleZExtremes})),c2(M,"remove",(t4=>{delete t4.target.chart.bubbleZExtremes})),o2.registerSeriesType("bubble",M),M})),i(e2,"Series/ColumnRange/ColumnRangePoint.js",[e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{seriesTypes:{column:{prototype:{pointClass:{prototype:i2}}},arearange:{prototype:{pointClass:s2}}}}=t3,{extend:o2,isNumber:a2}=e3;class r2 extends s2{isValid(){return a2(this.low)}}return o2(r2.prototype,{setState:i2.setState}),r2})),i(e2,"Series/ColumnRange/ColumnRangeSeries.js",[e2["Series/ColumnRange/ColumnRangePoint.js"],e2["Core/Globals.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){let{noop:o2}=e3,{seriesTypes:{arearange:a2,column:r2,column:{prototype:n2}}}=i2,{addEvent:l2,clamp:h2,extend:p2,isNumber:d2,merge:c2,pick:u2}=s2;class g2 extends a2{setOptions(){return c2(true,arguments[0],{stacking:void 0}),a2.prototype.setOptions.apply(this,arguments)}translate(){return n2.translate.apply(this)}pointAttribs(){return n2.pointAttribs.apply(this,arguments)}translate3dPoints(){return n2.translate3dPoints.apply(this,arguments)}translate3dShapes(){return n2.translate3dShapes.apply(this,arguments)}afterColumnTranslate(){let t4,e4,i3,s3;let o3=this.yAxis,a3=this.xAxis,r3=a3.startAngleRad,n3=this.chart,l3=this.xAxis.isRadial,p3=Math.max(n3.chartWidth,n3.chartHeight)+999;this.points.forEach((g3=>{let f2=g3.shapeArgs||{},b2=this.options.minPointLength,m2=g3.plotY,y2=o3.translate(g3.high,0,1,0,1);if(d2(y2)&&d2(m2)){if(g3.plotHigh=h2(y2,-p3,p3),g3.plotLow=h2(m2,-p3,p3),s3=g3.plotHigh,Math.abs(t4=u2(g3.rectPlotY,g3.plotY)-g3.plotHigh)<b2?(e4=b2-t4,t4+=e4,s3-=e4/2):t4<0&&(t4*=-1,s3-=t4),l3&&this.polar)i3=g3.barX+r3,g3.shapeType="arc",g3.shapeArgs=this.polar.arc(s3+t4,s3,i3,i3+g3.pointWidth);else{f2.height=t4,f2.y=s3;let{x:e5=0,width:i4=0}=f2;g3.shapeArgs=c2(g3.shapeArgs,this.crispCol(e5,s3,i4,t4)),g3.tooltipPos=n3.inverted?[o3.len+o3.pos-n3.plotLeft-s3-t4/2,a3.len+a3.pos-n3.plotTop-e5-i4/2,t4]:[a3.left-n3.plotLeft+e5+i4/2,o3.pos-n3.plotTop+s3+t4/2,t4]}}}))}}return g2.defaultOptions=c2(r2.defaultOptions,a2.defaultOptions,{borderRadius:{where:"all"},pointRange:null,legendSymbol:"rectangle",marker:null,states:{hover:{halo:false}}}),l2(g2,"afterColumnTranslate",(function(){g2.prototype.afterColumnTranslate.apply(this)}),{order:5}),p2(g2.prototype,{directTouch:true,pointClass:t3,trackerGroups:["group","dataLabelsGroup"],adjustForMissingColumns:n2.adjustForMissingColumns,animate:n2.animate,crispCol:n2.crispCol,drawGraph:o2,drawPoints:n2.drawPoints,getSymbol:o2,drawTracker:n2.drawTracker,getColumnMetrics:n2.getColumnMetrics}),i2.registerSeriesType("columnrange",g2),g2})),i(e2,"Series/ColumnPyramid/ColumnPyramidSeriesDefaults.js",[],(function(){return{}})),i(e2,"Series/ColumnPyramid/ColumnPyramidSeries.js",[e2["Series/ColumnPyramid/ColumnPyramidSeriesDefaults.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{column:s2}=e3.seriesTypes,{clamp:o2,merge:a2,pick:r2}=i2;class n2 extends s2{translate(){let t4=this.chart,e4=this.options,i3=this.dense=this.closestPointRange*this.xAxis.transA<2,s3=this.borderWidth=r2(e4.borderWidth,i3?0:1),a3=this.yAxis,n3=e4.threshold,l2=r2(e4.minPointLength,5),h2=this.getColumnMetrics(),p2=h2.width,d2=this.pointXOffset=h2.offset,c2=this.translatedThreshold=a3.getThreshold(n3),u2=this.barW=Math.max(p2,1+2*s3);for(let i4 of(t4.inverted&&(c2-=.5),e4.pointPadding&&(u2=Math.ceil(u2)),super.translate(),this.points)){let s4=r2(i4.yBottom,c2),g2=999+Math.abs(s4),f2=o2(i4.plotY,-g2,a3.len+g2),b2=u2/2,m2=Math.min(f2,s4),y2=Math.max(f2,s4)-m2,x2=i4.plotX+d2,P,S2,M,L2,C2,k2,v2,A2,w2,T2,N;e4.centerInCategory&&(x2=this.adjustForMissingColumns(x2,p2,i4,h2)),i4.barX=x2,i4.pointWidth=p2,i4.tooltipPos=t4.inverted?[a3.len+a3.pos-t4.plotLeft-f2,this.xAxis.len-x2-b2,y2]:[x2+b2,f2+a3.pos-t4.plotTop,y2],P=n3+(i4.total||i4.y),"percent"===e4.stacking&&(P=n3+(i4.y<0)?-100:100);let X=a3.toPixels(P,true);M=(S2=t4.plotHeight-X-(t4.plotHeight-c2))?b2*(m2-X)/S2:0,L2=S2?b2*(m2+y2-X)/S2:0,k2=x2-M+b2,v2=x2+M+b2,A2=x2+L2+b2,w2=x2-L2+b2,T2=m2-l2,N=m2+y2,i4.y<0&&(T2=m2,N=m2+y2+l2),t4.inverted&&(C2=a3.width-m2,S2=X-(a3.width-c2),M=b2*(X-C2)/S2,L2=b2*(X-(C2-y2))/S2,v2=(k2=x2+b2+M)-2*M,A2=x2-L2+b2,w2=x2+L2+b2,T2=m2,N=m2+y2-l2,i4.y<0&&(N=m2+y2+l2)),i4.shapeType="path",i4.shapeArgs={x:k2,y:T2,width:v2-k2,height:y2,d:[["M",k2,T2],["L",v2,T2],["L",A2,N],["L",w2,N],["Z"]]}}}}return n2.defaultOptions=a2(s2.defaultOptions,t3),e3.registerSeriesType("columnpyramid",n2),n2})),i(e2,"Series/ErrorBar/ErrorBarSeriesDefaults.js",[],(function(){return{color:"#000000",grouping:false,linkedTo:":previous",tooltip:{pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},whiskerWidth:null}})),i(e2,"Series/ErrorBar/ErrorBarSeries.js",[e2["Series/BoxPlot/BoxPlotSeries.js"],e2["Series/Column/ColumnSeries.js"],e2["Series/ErrorBar/ErrorBarSeriesDefaults.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,o2){let{arearange:a2}=s2.seriesTypes,{addEvent:r2,merge:n2,extend:l2}=o2;class h2 extends t3{getColumnMetrics(){return this.linkedParent&&this.linkedParent.columnMetrics||e3.prototype.getColumnMetrics.call(this)}drawDataLabels(){let t4=this.pointValKey;if(a2)for(let e4 of(a2.prototype.drawDataLabels.call(this),this.points))e4.y=e4[t4]}toYData(t4){return[t4.low,t4.high]}}return h2.defaultOptions=n2(t3.defaultOptions,i2),r2(h2,"afterTranslate",(function(){for(let t4 of this.points)t4.plotLow=t4.plotY}),{order:0}),l2(h2.prototype,{pointArrayMap:["low","high"],pointValKey:"high",doQuartiles:false}),s2.registerSeriesType("errorbar",h2),h2})),i(e2,"Series/Gauge/GaugePoint.js",[e2["Core/Series/SeriesRegistry.js"]],(function(t3){let{series:{prototype:{pointClass:e3}}}=t3;return class extends e3{setState(t4){this.state=t4}}})),i(e2,"Series/Gauge/GaugeSeries.js",[e2["Series/Gauge/GaugePoint.js"],e2["Core/Globals.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){let{noop:o2}=e3,{series:a2,seriesTypes:{column:r2}}=i2,{clamp:n2,isNumber:l2,extend:h2,merge:p2,pick:d2,pInt:c2,defined:u2}=s2;class g2 extends a2{translate(){let t4=this.yAxis,e4=this.options,i3=t4.center;this.generatePoints(),this.points.forEach((s3=>{let o3=p2(e4.dial,s3.dial),a3=c2(o3.radius)*i3[2]/200,r3=c2(o3.baseLength)*a3/100,h3=c2(o3.rearLength)*a3/100,d3=o3.baseWidth,g3=o3.topWidth,f2=e4.overshoot,b2=t4.startAngleRad+t4.translate(s3.y,void 0,void 0,void 0,true);(l2(f2)||false===e4.wrap)&&(f2=l2(f2)?f2/180*Math.PI:0,b2=n2(b2,t4.startAngleRad-f2,t4.endAngleRad+f2)),b2=180*b2/Math.PI,s3.shapeType="path";let m2=o3.path||[["M",-h3,-d3/2],["L",r3,-d3/2],["L",a3,-g3/2],["L",a3,g3/2],["L",r3,d3/2],["L",-h3,d3/2],["Z"]];s3.shapeArgs={d:m2,translateX:i3[0],translateY:i3[1],rotation:b2},s3.plotX=i3[0],s3.plotY=i3[1],u2(s3.y)&&t4.max-t4.min&&(s3.percentage=(s3.y-t4.min)/(t4.max-t4.min)*100)}))}drawPoints(){let t4=this,e4=t4.chart,i3=t4.yAxis.center,s3=t4.pivot,o3=t4.options,a3=o3.pivot,r3=e4.renderer;t4.points.forEach((i4=>{let s4=i4.graphic,a4=i4.shapeArgs,n3=a4.d,l3=p2(o3.dial,i4.dial);s4?(s4.animate(a4),a4.d=n3):i4.graphic=r3[i4.shapeType](a4).addClass("highcharts-dial").add(t4.group),e4.styledMode||i4.graphic[s4?"animate":"attr"]({stroke:l3.borderColor,"stroke-width":l3.borderWidth,fill:l3.backgroundColor})})),s3?s3.animate({translateX:i3[0],translateY:i3[1]}):a3&&(t4.pivot=r3.circle(0,0,a3.radius).attr({zIndex:2}).addClass("highcharts-pivot").translate(i3[0],i3[1]).add(t4.group),e4.styledMode||t4.pivot.attr({fill:a3.backgroundColor,stroke:a3.borderColor,"stroke-width":a3.borderWidth}))}animate(t4){let e4=this;t4||e4.points.forEach((t5=>{let i3=t5.graphic;i3&&(i3.attr({rotation:180*e4.yAxis.startAngleRad/Math.PI}),i3.animate({rotation:t5.shapeArgs.rotation},e4.options.animation))}))}render(){this.group=this.plotGroup("group","series",this.visible?"inherit":"hidden",this.options.zIndex,this.chart.seriesGroup),a2.prototype.render.call(this),this.group.clip(this.chart.clipRect)}setData(t4,e4){a2.prototype.setData.call(this,t4,false),this.processData(),this.generatePoints(),d2(e4,true)&&this.chart.redraw()}hasData(){return!!this.points.length}}return g2.defaultOptions=p2(a2.defaultOptions,{dataLabels:{borderColor:"#cccccc",borderRadius:3,borderWidth:1,crop:false,defer:false,enabled:true,verticalAlign:"top",y:15,zIndex:2},dial:{backgroundColor:"#000000",baseLength:"70%",baseWidth:3,borderColor:"#cccccc",borderWidth:0,radius:"80%",rearLength:"10%",topWidth:1},pivot:{radius:5,borderWidth:0,borderColor:"#cccccc",backgroundColor:"#000000"},tooltip:{headerFormat:""},showInLegend:false}),h2(g2.prototype,{angular:true,directTouch:true,drawGraph:o2,drawTracker:r2.prototype.drawTracker,fixedBox:true,forceDL:true,noSharedTooltip:true,pointClass:t3,trackerGroups:["group","dataLabelsGroup"]}),i2.registerSeriesType("gauge",g2),g2})),i(e2,"Series/DragNodesComposition.js",[e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{composed:i2}=t3,{addEvent:s2,pushUnique:o2}=e3;function a2(){let t4,e4,i3;let o3=this;o3.container&&(t4=s2(o3.container,"mousedown",(t5=>{let a3=o3.hoverPoint;a3&&a3.series&&a3.series.hasDraggableNodes&&a3.series.options.draggable&&(a3.series.onMouseDown(a3,t5),e4=s2(o3.container,"mousemove",(t6=>a3&&a3.series&&a3.series.onMouseMove(a3,t6))),i3=s2(o3.container.ownerDocument,"mouseup",(t6=>(e4(),i3(),a3&&a3.series&&a3.series.onMouseUp(a3,t6)))))}))),s2(o3,"destroy",(function(){t4()}))}return{compose:function(t4){o2(i2,"DragNodes")&&s2(t4,"load",a2)},onMouseDown:function(t4,e4){var _a;let i3=((_a=this.chart.pointer)==null?void 0:_a.normalize(e4))||e4;t4.fixedPosition={chartX:i3.chartX,chartY:i3.chartY,plotX:t4.plotX,plotY:t4.plotY},t4.inDragMode=true},onMouseMove:function(t4,e4){var _a;if(t4.fixedPosition&&t4.inDragMode){let i3,s3;let o3=this.chart,a3=((_a=o3.pointer)==null?void 0:_a.normalize(e4))||e4,r2=t4.fixedPosition.chartX-a3.chartX,n2=t4.fixedPosition.chartY-a3.chartY,l2=o3.graphLayoutsLookup;(Math.abs(r2)>5||Math.abs(n2)>5)&&(i3=t4.fixedPosition.plotX-r2,s3=t4.fixedPosition.plotY-n2,o3.isInsidePlot(i3,s3)&&(t4.plotX=i3,t4.plotY=s3,t4.hasDragged=true,this.redrawHalo(t4),l2.forEach((t5=>{t5.restartSimulation()}))))}},onMouseUp:function(t4){t4.fixedPosition&&(t4.hasDragged&&(this.layout.enableSimulation?this.layout.start():this.chart.redraw()),t4.inDragMode=t4.hasDragged=false,this.options.fixedDraggable||delete t4.fixedPosition)},redrawHalo:function(t4){t4&&this.halo&&this.halo.attr({d:t4.haloPath(this.options.states.hover.halo.size)})}}})),i(e2,"Series/GraphLayoutComposition.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{setAnimation:s2}=t3,{composed:o2}=e3,{addEvent:a2,pushUnique:r2}=i2;function n2(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach((t4=>{t4.updateSimulation()})),this.redraw())}function l2(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach((t4=>{t4.updateSimulation(false)})),this.redraw())}function h2(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach((t4=>{t4.stop()}))}function p2(){let t4,e4=false,i3=i4=>{i4.maxIterations--&&isFinite(i4.temperature)&&!i4.isStable()&&!i4.enableSimulation&&(i4.beforeStep&&i4.beforeStep(),i4.step(),t4=false,e4=true)};if(this.graphLayoutsLookup){for(s2(false,this),this.graphLayoutsLookup.forEach((t5=>t5.start()));!t4;)t4=true,this.graphLayoutsLookup.forEach(i3);e4&&this.series.forEach((t5=>{t5&&t5.layout&&t5.render()}))}}return{compose:function(t4){r2(o2,"GraphLayout")&&(a2(t4,"afterPrint",n2),a2(t4,"beforePrint",l2),a2(t4,"predraw",h2),a2(t4,"render",p2))},integrations:{},layouts:{}}})),i(e2,"Series/PackedBubble/PackedBubblePoint.js",[e2["Core/Chart/Chart.js"],e2["Core/Series/Point.js"],e2["Core/Series/SeriesRegistry.js"]],(function(t3,e3,i2){let{seriesTypes:{bubble:{prototype:{pointClass:s2}}}}=i2;return class extends s2{destroy(){var _a;return((_a=this.series)==null?void 0:_a.layout)&&this.series.layout.removeElementFromCollection(this,this.series.layout.nodes),e3.prototype.destroy.apply(this,arguments)}firePointEvent(){let t4=this.series.options;if(this.isParentNode&&t4.parentNode){let i3=t4.allowPointSelect;t4.allowPointSelect=t4.parentNode.allowPointSelect,e3.prototype.firePointEvent.apply(this,arguments),t4.allowPointSelect=i3}else e3.prototype.firePointEvent.apply(this,arguments)}select(){let i3=this.series.chart;this.isParentNode?(i3.getSelectedPoints=i3.getSelectedParentNodes,e3.prototype.select.apply(this,arguments),i3.getSelectedPoints=t3.prototype.getSelectedPoints):e3.prototype.select.apply(this,arguments)}}})),i(e2,"Series/PackedBubble/PackedBubbleSeriesDefaults.js",[e2["Core/Utilities.js"]],(function(t3){let{isNumber:e3}=t3;return{minSize:"10%",maxSize:"50%",sizeBy:"area",zoneAxis:"y",crisp:false,tooltip:{pointFormat:"Value: {point.value}"},draggable:true,useSimulation:true,parentNode:{allowPointSelect:false},dataLabels:{formatter:function(){let{numberFormatter:t4}=this.series.chart,{value:i2}=this.point;return e3(i2)?t4(i2,-1):""},parentNodeFormatter:function(){return this.name},parentNodeTextPath:{enabled:true},padding:0,style:{transition:"opacity 2000ms"}},layoutAlgorithm:{initialPositions:"circle",initialPositionRadius:20,bubblePadding:5,parentNodeLimit:false,seriesInteraction:true,dragBetweenSeries:false,parentNodeOptions:{maxIterations:400,gravitationalConstant:.03,maxSpeed:50,initialPositionRadius:100,seriesInteraction:true,marker:{fillColor:null,fillOpacity:1,lineWidth:null,lineColor:null,symbol:"circle"}},enableSimulation:true,type:"packedbubble",integration:"packedbubble",maxIterations:1e3,splitSeries:false,maxSpeed:5,gravitationalConstant:.01,friction:-.981}}})),i(e2,"Series/Networkgraph/VerletIntegration.js",[],(function(){return{attractive:function(t3,e3,i2){let s2=t3.getMass(),o2=-i2.x*e3*this.diffTemperature,a2=-i2.y*e3*this.diffTemperature;t3.fromNode.fixedPosition||(t3.fromNode.plotX-=o2*s2.fromNode/t3.fromNode.degree,t3.fromNode.plotY-=a2*s2.fromNode/t3.fromNode.degree),t3.toNode.fixedPosition||(t3.toNode.plotX+=o2*s2.toNode/t3.toNode.degree,t3.toNode.plotY+=a2*s2.toNode/t3.toNode.degree)},attractiveForceFunction:function(t3,e3){return(e3-t3)/t3},barycenter:function(){let t3=this.options.gravitationalConstant||0,e3=(this.barycenter.xFactor-(this.box.left+this.box.width)/2)*t3,i2=(this.barycenter.yFactor-(this.box.top+this.box.height)/2)*t3;this.nodes.forEach((function(t4){t4.fixedPosition||(t4.plotX-=e3/t4.mass/t4.degree,t4.plotY-=i2/t4.mass/t4.degree)}))},getK:function(t3){return Math.pow(t3.box.width*t3.box.height/t3.nodes.length,.5)},integrate:function(t3,e3){let i2=-t3.options.friction,s2=t3.options.maxSpeed,o2=e3.prevX,a2=e3.prevY,r2=(e3.plotX+e3.dispX-o2)*i2,n2=(e3.plotY+e3.dispY-a2)*i2,l2=Math.abs,h2=l2(r2)/(r2||1),p2=l2(n2)/(n2||1),d2=h2*Math.min(s2,Math.abs(r2)),c2=p2*Math.min(s2,Math.abs(n2));e3.prevX=e3.plotX+e3.dispX,e3.prevY=e3.plotY+e3.dispY,e3.plotX+=d2,e3.plotY+=c2,e3.temperature=t3.vectorLength({x:d2,y:c2})},repulsive:function(t3,e3,i2){let s2=e3*this.diffTemperature/t3.mass/t3.degree;t3.fixedPosition||(t3.plotX+=i2.x*s2,t3.plotY+=i2.y*s2)},repulsiveForceFunction:function(t3,e3){return(e3-t3)/t3*(e3>t3?1:0)}}})),i(e2,"Series/PackedBubble/PackedBubbleIntegration.js",[e2["Core/Globals.js"],e2["Series/Networkgraph/VerletIntegration.js"]],(function(t3,e3){let{noop:i2}=t3;return{barycenter:function(){let t4,e4;let i3=this.options.gravitationalConstant,s2=this.box,o2=this.nodes;for(let a2 of o2)this.options.splitSeries&&!a2.isParentNode?(t4=a2.series.parentNode.plotX,e4=a2.series.parentNode.plotY):(t4=s2.width/2,e4=s2.height/2),a2.fixedPosition||(a2.plotX-=(a2.plotX-t4)*i3/(a2.mass*Math.sqrt(o2.length)),a2.plotY-=(a2.plotY-e4)*i3/(a2.mass*Math.sqrt(o2.length)))},getK:i2,integrate:e3.integrate,repulsive:function(t4,e4,i3,s2){let o2=e4*this.diffTemperature/t4.mass/t4.degree,a2=i3.x*o2,r2=i3.y*o2;t4.fixedPosition||(t4.plotX+=a2,t4.plotY+=r2),s2.fixedPosition||(s2.plotX-=a2,s2.plotY-=r2)},repulsiveForceFunction:function(t4,e4,i3,s2){return Math.min(t4,(i3.marker.radius+s2.marker.radius)/2)}}})),i(e2,"Series/Networkgraph/EulerIntegration.js",[],(function(){return{attractive:function(t3,e3,i2,s2){let o2=t3.getMass(),a2=i2.x/s2*e3,r2=i2.y/s2*e3;t3.fromNode.fixedPosition||(t3.fromNode.dispX-=a2*o2.fromNode/t3.fromNode.degree,t3.fromNode.dispY-=r2*o2.fromNode/t3.fromNode.degree),t3.toNode.fixedPosition||(t3.toNode.dispX+=a2*o2.toNode/t3.toNode.degree,t3.toNode.dispY+=r2*o2.toNode/t3.toNode.degree)},attractiveForceFunction:function(t3,e3){return t3*t3/e3},barycenter:function(){let t3=this.options.gravitationalConstant,e3=this.barycenter.xFactor,i2=this.barycenter.yFactor;this.nodes.forEach((function(s2){if(!s2.fixedPosition){let o2=s2.getDegree(),a2=o2*(1+o2/2);s2.dispX+=(e3-s2.plotX)*t3*a2/s2.degree,s2.dispY+=(i2-s2.plotY)*t3*a2/s2.degree}}))},getK:function(t3){return Math.pow(t3.box.width*t3.box.height/t3.nodes.length,.3)},integrate:function(t3,e3){e3.dispX+=e3.dispX*t3.options.friction,e3.dispY+=e3.dispY*t3.options.friction;let i2=e3.temperature=t3.vectorLength({x:e3.dispX,y:e3.dispY});0!==i2&&(e3.plotX+=e3.dispX/i2*Math.min(Math.abs(e3.dispX),t3.temperature),e3.plotY+=e3.dispY/i2*Math.min(Math.abs(e3.dispY),t3.temperature))},repulsive:function(t3,e3,i2,s2){t3.dispX+=i2.x/s2*e3/t3.degree,t3.dispY+=i2.y/s2*e3/t3.degree},repulsiveForceFunction:function(t3,e3){return e3*e3/t3}}})),i(e2,"Series/Networkgraph/QuadTreeNode.js",[],(function(){class t3{constructor(t4){this.body=false,this.isEmpty=false,this.isInternal=false,this.nodes=[],this.box=t4,this.boxSize=Math.min(t4.width,t4.height)}divideBox(){let e3=this.box.width/2,i2=this.box.height/2;this.nodes[0]=new t3({left:this.box.left,top:this.box.top,width:e3,height:i2}),this.nodes[1]=new t3({left:this.box.left+e3,top:this.box.top,width:e3,height:i2}),this.nodes[2]=new t3({left:this.box.left+e3,top:this.box.top+i2,width:e3,height:i2}),this.nodes[3]=new t3({left:this.box.left,top:this.box.top+i2,width:e3,height:i2})}getBoxPosition(t4){let e3=t4.plotX<this.box.left+this.box.width/2,i2=t4.plotY<this.box.top+this.box.height/2;return e3?i2?0:3:i2?1:2}insert(e3,i2){let s2;this.isInternal?this.nodes[this.getBoxPosition(e3)].insert(e3,i2-1):(this.isEmpty=false,this.body?i2?(this.isInternal=true,this.divideBox(),true!==this.body&&(this.nodes[this.getBoxPosition(this.body)].insert(this.body,i2-1),this.body=true),this.nodes[this.getBoxPosition(e3)].insert(e3,i2-1)):((s2=new t3({top:e3.plotX||NaN,left:e3.plotY||NaN,width:.1,height:.1})).body=e3,s2.isInternal=false,this.nodes.push(s2)):(this.isInternal=false,this.body=e3))}updateMassAndCenter(){let t4=0,e3=0,i2=0;if(this.isInternal){for(let s2 of this.nodes)s2.isEmpty||(t4+=s2.mass,e3+=s2.plotX*s2.mass,i2+=s2.plotY*s2.mass);e3/=t4,i2/=t4}else this.body&&(t4=this.body.mass,e3=this.body.plotX,i2=this.body.plotY);this.mass=t4,this.plotX=e3,this.plotY=i2}}return t3})),i(e2,"Series/Networkgraph/QuadTree.js",[e2["Series/Networkgraph/QuadTreeNode.js"]],(function(t3){return class{constructor(e3,i2,s2,o2){this.box={left:e3,top:i2,width:s2,height:o2},this.maxDepth=25,this.root=new t3(this.box),this.root.isInternal=true,this.root.isRoot=true,this.root.divideBox()}calculateMassAndCenter(){this.visitNodeRecursive(null,null,(function(t4){t4.updateMassAndCenter()}))}insertNodes(t4){for(let e3 of t4)this.root.insert(e3,this.maxDepth)}visitNodeRecursive(t4,e3,i2){let s2;if(t4||(t4=this.root),t4===this.root&&e3&&(s2=e3(t4)),false!==s2){for(let o2 of t4.nodes){if(o2.isInternal){if(e3&&(s2=e3(o2)),false===s2)continue;this.visitNodeRecursive(o2,e3,i2)}else o2.body&&e3&&e3(o2.body);i2&&i2(o2)}t4===this.root&&i2&&i2(t4)}}}})),i(e2,"Series/Networkgraph/ReingoldFruchtermanLayout.js",[e2["Series/Networkgraph/EulerIntegration.js"],e2["Core/Globals.js"],e2["Series/GraphLayoutComposition.js"],e2["Series/Networkgraph/QuadTree.js"],e2["Core/Utilities.js"],e2["Series/Networkgraph/VerletIntegration.js"]],(function(t3,e3,i2,s2,o2,a2){let{win:r2}=e3,{clamp:n2,defined:l2,isFunction:h2,fireEvent:p2,pick:d2}=o2;class c2{constructor(){this.box={},this.currentStep=0,this.initialRendering=true,this.links=[],this.nodes=[],this.series=[],this.simulation=false}static compose(e4){i2.compose(e4),i2.integrations.euler=t3,i2.integrations.verlet=a2,i2.layouts["reingold-fruchterman"]=c2}init(t4){this.options=t4,this.nodes=[],this.links=[],this.series=[],this.box={x:0,y:0,width:0,height:0},this.setInitialRendering(true),this.integration=i2.integrations[t4.integration],this.enableSimulation=t4.enableSimulation,this.attractiveForce=d2(t4.attractiveForce,this.integration.attractiveForceFunction),this.repulsiveForce=d2(t4.repulsiveForce,this.integration.repulsiveForceFunction),this.approximation=t4.approximation}updateSimulation(t4){this.enableSimulation=d2(t4,this.options.enableSimulation)}start(){let t4=this.series,e4=this.options;this.currentStep=0,this.forces=t4[0]&&t4[0].forces||[],this.chart=t4[0]&&t4[0].chart,this.initialRendering&&(this.initPositions(),t4.forEach((function(t5){t5.finishedAnimating=true,t5.render()}))),this.setK(),this.resetSimulation(e4),this.enableSimulation&&this.step()}step(){let t4=this.series;for(let t5 of(this.currentStep++,"barnes-hut"===this.approximation&&(this.createQuadTree(),this.quadTree.calculateMassAndCenter()),this.forces||[]))this[t5+"Forces"](this.temperature);if(this.applyLimits(),this.temperature=this.coolDown(this.startTemperature,this.diffTemperature,this.currentStep),this.prevSystemTemperature=this.systemTemperature,this.systemTemperature=this.getSystemTemperature(),this.enableSimulation){for(let e4 of t4)e4.chart&&e4.render();this.maxIterations--&&isFinite(this.temperature)&&!this.isStable()?(this.simulation&&r2.cancelAnimationFrame(this.simulation),this.simulation=r2.requestAnimationFrame((()=>this.step()))):(this.simulation=false,this.series.forEach((t5=>{p2(t5,"afterSimulation")})))}}stop(){this.simulation&&r2.cancelAnimationFrame(this.simulation)}setArea(t4,e4,i3,s3){this.box={left:t4,top:e4,width:i3,height:s3}}setK(){this.k=this.options.linkLength||this.integration.getK(this)}addElementsToCollection(t4,e4){for(let i3 of t4)-1===e4.indexOf(i3)&&e4.push(i3)}removeElementFromCollection(t4,e4){let i3=e4.indexOf(t4);-1!==i3&&e4.splice(i3,1)}clear(){this.nodes.length=0,this.links.length=0,this.series.length=0,this.resetSimulation()}resetSimulation(){this.forcedStop=false,this.systemTemperature=0,this.setMaxIterations(),this.setTemperature(),this.setDiffTemperature()}restartSimulation(){this.simulation?this.resetSimulation():(this.setInitialRendering(false),this.enableSimulation?this.start():this.setMaxIterations(1),this.chart&&this.chart.redraw(),this.setInitialRendering(true))}setMaxIterations(t4){this.maxIterations=d2(t4,this.options.maxIterations)}setTemperature(){this.temperature=this.startTemperature=Math.sqrt(this.nodes.length)}setDiffTemperature(){this.diffTemperature=this.startTemperature/(this.options.maxIterations+1)}setInitialRendering(t4){this.initialRendering=t4}createQuadTree(){this.quadTree=new s2(this.box.left,this.box.top,this.box.width,this.box.height),this.quadTree.insertNodes(this.nodes)}initPositions(){let t4=this.options.initialPositions;if(h2(t4))for(let e4 of(t4.call(this),this.nodes))l2(e4.prevX)||(e4.prevX=e4.plotX),l2(e4.prevY)||(e4.prevY=e4.plotY),e4.dispX=0,e4.dispY=0;else"circle"===t4?this.setCircularPositions():this.setRandomPositions()}setCircularPositions(){let t4;let e4=this.box,i3=this.nodes,s3=2*Math.PI/(i3.length+1),o3=i3.filter((function(t5){return 0===t5.linksTo.length})),a3={},r3=this.options.initialPositionRadius,n3=t5=>{for(let e5 of t5.linksFrom||[])a3[e5.toNode.id]||(a3[e5.toNode.id]=true,l3.push(e5.toNode),n3(e5.toNode))},l3=[];for(let t5 of o3)l3.push(t5),n3(t5);if(l3.length)for(let t5 of i3)-1===l3.indexOf(t5)&&l3.push(t5);else l3=i3;for(let i4=0,o4=l3.length;i4<o4;++i4)(t4=l3[i4]).plotX=t4.prevX=d2(t4.plotX,e4.width/2+r3*Math.cos(i4*s3)),t4.plotY=t4.prevY=d2(t4.plotY,e4.height/2+r3*Math.sin(i4*s3)),t4.dispX=0,t4.dispY=0}setRandomPositions(){let t4;let e4=this.box,i3=this.nodes,s3=i3.length+1,o3=t5=>{let e5=t5*t5/Math.PI;return e5-Math.floor(e5)};for(let a3=0,r3=i3.length;a3<r3;++a3)(t4=i3[a3]).plotX=t4.prevX=d2(t4.plotX,e4.width*o3(a3)),t4.plotY=t4.prevY=d2(t4.plotY,e4.height*o3(s3+a3)),t4.dispX=0,t4.dispY=0}force(t4,...e4){this.integration[t4].apply(this,e4)}barycenterForces(){this.getBarycenter(),this.force("barycenter")}getBarycenter(){let t4=0,e4=0,i3=0;for(let s3 of this.nodes)e4+=s3.plotX*s3.mass,i3+=s3.plotY*s3.mass,t4+=s3.mass;return this.barycenter={x:e4,y:i3,xFactor:e4/t4,yFactor:i3/t4},this.barycenter}barnesHutApproximation(t4,e4){let i3,s3;let o3=this.getDistXY(t4,e4),a3=this.vectorLength(o3);return t4!==e4&&0!==a3&&(e4.isInternal?e4.boxSize/a3<this.options.theta&&0!==a3?(s3=this.repulsiveForce(a3,this.k),this.force("repulsive",t4,s3*e4.mass,o3,a3),i3=false):i3=true:(s3=this.repulsiveForce(a3,this.k),this.force("repulsive",t4,s3*e4.mass,o3,a3))),i3}repulsiveForces(){if("barnes-hut"===this.approximation)for(let t4 of this.nodes)this.quadTree.visitNodeRecursive(null,(e4=>this.barnesHutApproximation(t4,e4)));else{let t4,e4,i3;for(let s3 of this.nodes)for(let o3 of this.nodes)s3===o3||s3.fixedPosition||(i3=this.getDistXY(s3,o3),0!==(e4=this.vectorLength(i3))&&(t4=this.repulsiveForce(e4,this.k),this.force("repulsive",s3,t4*o3.mass,i3,e4)))}}attractiveForces(){let t4,e4,i3;for(let s3 of this.links)s3.fromNode&&s3.toNode&&(t4=this.getDistXY(s3.fromNode,s3.toNode),0!==(e4=this.vectorLength(t4))&&(i3=this.attractiveForce(e4,this.k),this.force("attractive",s3,i3,t4,e4)))}applyLimits(){for(let t4 of this.nodes)t4.fixedPosition||(this.integration.integrate(this,t4),this.applyLimitBox(t4,this.box),t4.dispX=0,t4.dispY=0)}applyLimitBox(t4,e4){let i3=t4.radius;t4.plotX=n2(t4.plotX,e4.left+i3,e4.width-i3),t4.plotY=n2(t4.plotY,e4.top+i3,e4.height-i3)}coolDown(t4,e4,i3){return t4-e4*i3}isStable(){return 1e-5>Math.abs(this.systemTemperature-this.prevSystemTemperature)||this.temperature<=0}getSystemTemperature(){let t4=0;for(let e4 of this.nodes)t4+=e4.temperature;return t4}vectorLength(t4){return Math.sqrt(t4.x*t4.x+t4.y*t4.y)}getDistR(t4,e4){let i3=this.getDistXY(t4,e4);return this.vectorLength(i3)}getDistXY(t4,e4){let i3=t4.plotX-e4.plotX,s3=t4.plotY-e4.plotY;return{x:i3,y:s3,absX:Math.abs(i3),absY:Math.abs(s3)}}}return c2})),i(e2,"Series/PackedBubble/PackedBubbleLayout.js",[e2["Series/GraphLayoutComposition.js"],e2["Series/PackedBubble/PackedBubbleIntegration.js"],e2["Series/Networkgraph/ReingoldFruchtermanLayout.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){let{addEvent:o2,pick:a2}=s2;function r2(){let t4=this.series,e4=[];return t4.forEach((t5=>{t5.parentNode&&t5.parentNode.selected&&e4.push(t5.parentNode)})),e4}function n2(){this.allDataPoints&&delete this.allDataPoints}class l2 extends i2{constructor(){super(...arguments),this.index=NaN,this.nodes=[],this.series=[]}static compose(s3){i2.compose(s3),t3.integrations.packedbubble=e3,t3.layouts.packedbubble=l2;let a3=s3.prototype;a3.getSelectedParentNodes||(o2(s3,"beforeRedraw",n2),a3.getSelectedParentNodes=r2)}beforeStep(){this.options.marker&&this.series.forEach((t4=>{t4&&t4.calculateParentRadius()}))}isStable(){let t4=Math.abs(this.prevSystemTemperature-this.systemTemperature);return 1>Math.abs(10*this.systemTemperature/Math.sqrt(this.nodes.length))&&t4<1e-5||this.temperature<=0}setCircularPositions(){let t4=this.box,e4=this.nodes,i3=2*Math.PI/(e4.length+1),s3=this.options.initialPositionRadius,o3,r3,n3=0;for(let l3 of e4)this.options.splitSeries&&!l3.isParentNode?(o3=l3.series.parentNode.plotX,r3=l3.series.parentNode.plotY):(o3=t4.width/2,r3=t4.height/2),l3.plotX=l3.prevX=a2(l3.plotX,o3+s3*Math.cos(l3.index||n3*i3)),l3.plotY=l3.prevY=a2(l3.plotY,r3+s3*Math.sin(l3.index||n3*i3)),l3.dispX=0,l3.dispY=0,n3++}repulsiveForces(){let t4,e4,i3;let s3=this,o3=s3.options.bubblePadding,a3=s3.nodes;a3.forEach((r3=>{r3.degree=r3.mass,r3.neighbours=0,a3.forEach((a4=>{t4=0,r3!==a4&&!r3.fixedPosition&&(s3.options.seriesInteraction||r3.series===a4.series)&&(i3=s3.getDistXY(r3,a4),(e4=s3.vectorLength(i3)-(r3.marker.radius+a4.marker.radius+o3))<0&&(r3.degree+=.01,r3.neighbours++,t4=s3.repulsiveForce(-e4/Math.sqrt(r3.neighbours),s3.k,r3,a4)),s3.force("repulsive",r3,t4*a4.mass,i3,a4,e4))}))}))}applyLimitBox(t4,e4){let i3,s3;this.options.splitSeries&&!t4.isParentNode&&this.options.parentNodeLimit&&(i3=this.getDistXY(t4,t4.series.parentNode),(s3=t4.series.parentNodeRadius-t4.marker.radius-this.vectorLength(i3))<0&&s3>-2*t4.marker.radius&&(t4.plotX-=.01*i3.x,t4.plotY-=.01*i3.y)),super.applyLimitBox(t4,e4)}}return t3.layouts.packedbubble=l2,l2})),i(e2,"Series/SimulationSeriesUtilities.js",[e2["Core/Utilities.js"],e2["Core/Animation/AnimationUtilities.js"]],(function(t3,e3){let{merge:i2,syncTimeout:s2}=t3,{animObject:o2}=e3;return{initDataLabels:function(){let t4=this.options.dataLabels;if(!this.dataLabelsGroup){let e4=this.initDataLabelsGroup();return!this.chart.styledMode&&(t4==null?void 0:t4.style)&&e4.css(t4.style),e4.attr({opacity:0}),this.visible&&e4.show(),e4}return this.dataLabelsGroup.attr(i2({opacity:1},this.getPlotBox("data-labels"))),this.dataLabelsGroup},initDataLabelsDefer:function(){var _a;let t4=this.options.dataLabels;(t4==null?void 0:t4.defer)&&((_a=this.options.layoutAlgorithm)==null?void 0:_a.enableSimulation)?s2((()=>{this.deferDataLabels=false}),t4?o2(t4.animation).defer:0):this.deferDataLabels=false}}})),i(e2,"Extensions/TextPath.js",[e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3){let{deg2rad:i2}=t3,{addEvent:s2,merge:o2,uniqueKey:a2,defined:r2,extend:n2}=e3;function l2(t4,e4){e4=o2(true,{enabled:true,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},e4);let i3=this.renderer.url,l3=this.text||this,h3=l3.textPath,{attributes:p3,enabled:d2}=e4;if(t4=t4||h3&&h3.path,h3&&h3.undo(),t4&&d2){let e5=s2(l3,"afterModifyTree",(e6=>{if(t4&&d2){let s3=t4.attr("id");s3||t4.attr("id",s3=a2());let o3={x:0,y:0};r2(p3.dx)&&(o3.dx=p3.dx,delete p3.dx),r2(p3.dy)&&(o3.dy=p3.dy,delete p3.dy),l3.attr(o3),this.attr({transform:""}),this.box&&(this.box=this.box.destroy());let h4=e6.nodes.slice(0);e6.nodes.length=0,e6.nodes[0]={tagName:"textPath",attributes:n2(p3,{"text-anchor":p3.textAnchor,href:`${i3}#${s3}`}),children:h4}}}));l3.textPath={path:t4,undo:e5}}else l3.attr({dx:0,dy:0}),delete l3.textPath;return this.added&&(l3.textCache="",this.renderer.buildText(l3)),this}function h2(t4){var _a;let e4=t4.bBox,s3=(_a=this.element)==null?void 0:_a.querySelector("textPath");if(s3){let t5=[],{b:o3,h:a3}=this.renderer.fontMetrics(this.element),r3=a3-o3,n3=RegExp('(<tspan>|<tspan(?!\\sclass="highcharts-br")[^>]*>|<\\/tspan>)',"g"),l3=s3.innerHTML.replace(n3,"").split(/<tspan class="highcharts-br"[^>]*>/),h3=l3.length,p3=(t6,e5)=>{let{x:a4,y:n4}=e5,l4=(s3.getRotationOfChar(t6)-90)*i2,h4=Math.cos(l4),p4=Math.sin(l4);return[[a4-r3*h4,n4-r3*p4],[a4+o3*h4,n4+o3*p4]]};for(let e5=0,i3=0;i3<h3;i3++){let o4=l3[i3].length;for(let a4=0;a4<o4;a4+=5)try{let o5=e5+a4+i3,[r4,n4]=p3(o5,s3.getStartPositionOfChar(o5));0===a4?(t5.push(n4),t5.push(r4)):(0===i3&&t5.unshift(n4),i3===h3-1&&t5.push(r4))}catch(t6){break}e5+=o4-1;try{let o5=e5+i3,a4=s3.getEndPositionOfChar(o5),[r4,n4]=p3(o5,a4);t5.unshift(n4),t5.unshift(r4)}catch(t6){break}}t5.length&&t5.push(t5[0].slice()),e4.polygon=t5}return e4}function p2(t4){var _a;let e4=t4.labelOptions,i3=t4.point,s3=e4[i3.formatPrefix+"TextPath"]||e4.textPath;s3&&!e4.useHTML&&(this.setTextPath(((_a=i3.getDataLabelPath)==null?void 0:_a.call(i3,this))||i3.graphic,s3),i3.dataLabelPath&&!s3.enabled&&(i3.dataLabelPath=i3.dataLabelPath.destroy()))}return{compose:function(t4){s2(t4,"afterGetBBox",h2),s2(t4,"beforeAddingDataLabel",p2);let e4=t4.prototype;e4.setTextPath||(e4.setTextPath=l2)}}})),i(e2,"Series/PackedBubble/PackedBubbleSeries.js",[e2["Core/Color/Color.js"],e2["Series/DragNodesComposition.js"],e2["Series/GraphLayoutComposition.js"],e2["Core/Globals.js"],e2["Series/PackedBubble/PackedBubblePoint.js"],e2["Series/PackedBubble/PackedBubbleSeriesDefaults.js"],e2["Series/PackedBubble/PackedBubbleLayout.js"],e2["Core/Series/SeriesRegistry.js"],e2["Series/SimulationSeriesUtilities.js"],e2["Core/Utilities.js"],e2["Core/Renderer/SVG/SVGElement.js"],e2["Extensions/TextPath.js"]],(function(t3,e3,i2,s2,o2,a2,r2,n2,l2,h2,p2,d2){let{parse:c2}=t3,{noop:u2}=s2,{series:{prototype:g2},seriesTypes:{bubble:f2}}=n2,{initDataLabels:b2,initDataLabelsDefer:m2}=l2,{addEvent:y2,clamp:x2,defined:P,extend:S2,fireEvent:M,isArray:L2,isNumber:C2,merge:k2,pick:v2}=h2;d2.compose(p2);class A2 extends f2{constructor(){super(...arguments),this.parentNodeMass=0,this.deferDataLabels=true}static compose(t4,i3,s3){f2.compose(t4,i3,s3),e3.compose(i3),r2.compose(i3)}accumulateAllPoints(){let t4;let e4=this.chart,i3=[];for(let s3 of e4.series)if(s3.is("packedbubble")&&s3.reserveSpace()){t4=s3.yData||[];for(let e5=0;e5<t4.length;e5++)i3.push([null,null,t4[e5],s3.index,e5,{id:e5,marker:{radius:0}}])}return i3}addLayout(){let t4=this.options.layoutAlgorithm=this.options.layoutAlgorithm||{},e4=t4.type||"packedbubble",s3=this.chart.options.chart,o3=this.chart.graphLayoutsStorage,a3=this.chart.graphLayoutsLookup,r3;o3||(this.chart.graphLayoutsStorage=o3={},this.chart.graphLayoutsLookup=a3=[]),(r3=o3[e4])||(t4.enableSimulation=P(s3.forExport)?!s3.forExport:t4.enableSimulation,o3[e4]=r3=new i2.layouts[e4],r3.init(t4),a3.splice(r3.index,0,r3)),this.layout=r3,this.points.forEach((t5=>{t5.mass=2,t5.degree=1,t5.collisionNmb=1})),r3.setArea(0,0,this.chart.plotWidth,this.chart.plotHeight),r3.addElementsToCollection([this],r3.series),r3.addElementsToCollection(this.points,r3.nodes)}addSeriesLayout(){let t4=this.options.layoutAlgorithm=this.options.layoutAlgorithm||{},e4=t4.type||"packedbubble",s3=this.chart.graphLayoutsStorage,o3=this.chart.graphLayoutsLookup,a3=k2(t4,t4.parentNodeOptions,{enableSimulation:this.layout.options.enableSimulation}),r3=s3[e4+"-series"];r3||(s3[e4+"-series"]=r3=new i2.layouts[e4],r3.init(a3),o3.splice(r3.index,0,r3)),this.parentNodeLayout=r3,this.createParentNodes()}calculateParentRadius(){let t4=this.seriesBox();this.parentNodeRadius=x2(Math.sqrt(2*this.parentNodeMass/Math.PI)+20,20,t4?Math.max(Math.sqrt(Math.pow(t4.width,2)+Math.pow(t4.height,2))/2+20,20):Math.sqrt(2*this.parentNodeMass/Math.PI)+20),this.parentNode&&(this.parentNode.marker.radius=this.parentNode.radius=this.parentNodeRadius)}calculateZExtremes(){let t4=this.chart.series,e4=this.options.zMin,i3=this.options.zMax,s3=1/0,o3=-1/0;return e4&&i3?[e4,i3]:(t4.forEach((t5=>{t5.yData.forEach((t6=>{P(t6)&&(t6>o3&&(o3=t6),t6<s3&&(s3=t6))}))})),[e4=v2(e4,s3),i3=v2(i3,o3)])}checkOverlap(t4,e4){let i3=t4[0]-e4[0],s3=t4[1]-e4[1];return Math.sqrt(i3*i3+s3*s3)-Math.abs(t4[2]+e4[2])<-.001}createParentNodes(){let t4=this.pointClass,e4=this.chart,i3=this.parentNodeLayout,s3=this.layout.options,o3,a3=this.parentNode,r3={radius:this.parentNodeRadius,lineColor:this.color,fillColor:c2(this.color).brighten(.4).get()};s3.parentNodeOptions&&(r3=k2(s3.parentNodeOptions.marker||{},r3)),this.parentNodeMass=0,this.points.forEach((t5=>{this.parentNodeMass+=Math.PI*Math.pow(t5.marker.radius,2)})),this.calculateParentRadius(),i3.nodes.forEach((t5=>{t5.seriesIndex===this.index&&(o3=true)})),i3.setArea(0,0,e4.plotWidth,e4.plotHeight),o3||(a3||(a3=new t4(this,{mass:this.parentNodeRadius/2,marker:r3,dataLabels:{inside:false},states:{normal:{marker:r3},hover:{marker:r3}},dataLabelOnNull:true,degree:this.parentNodeRadius,isParentNode:true,seriesIndex:this.index})),this.parentNode&&(a3.plotX=this.parentNode.plotX,a3.plotY=this.parentNode.plotY),this.parentNode=a3,i3.addElementsToCollection([this],i3.series),i3.addElementsToCollection([a3],i3.nodes))}deferLayout(){let t4=this.options.layoutAlgorithm;this.visible&&(this.addLayout(),t4.splitSeries&&this.addSeriesLayout())}destroy(){this.chart.graphLayoutsLookup&&this.chart.graphLayoutsLookup.forEach((t4=>{t4.removeElementFromCollection(this,t4.series)}),this),this.parentNode&&this.parentNodeLayout&&(this.parentNodeLayout.removeElementFromCollection(this.parentNode,this.parentNodeLayout.nodes),this.parentNode.dataLabel&&(this.parentNode.dataLabel=this.parentNode.dataLabel.destroy())),g2.destroy.apply(this,arguments)}drawDataLabels(){!this.deferDataLabels&&(g2.drawDataLabels.call(this,this.points),this.parentNode&&(this.parentNode.formatPrefix="parentNode",g2.drawDataLabels.call(this,[this.parentNode])))}drawGraph(){var _a;if(!this.layout||!this.layout.options.splitSeries)return;let t4=this.chart,e4=this.layout.options.parentNodeOptions.marker,i3={fill:e4.fillColor||c2(this.color).brighten(.4).get(),opacity:e4.fillOpacity,stroke:e4.lineColor||this.color,"stroke-width":v2(e4.lineWidth,this.options.lineWidth)},s3={};this.parentNodesGroup=this.plotGroup("parentNodesGroup","parentNode",this.visible?"inherit":"hidden",.1,t4.seriesGroup),(_a=this.group)==null?void 0:_a.attr({zIndex:2}),this.calculateParentRadius(),this.parentNode&&P(this.parentNode.plotX)&&P(this.parentNode.plotY)&&P(this.parentNodeRadius)&&(s3=k2({x:this.parentNode.plotX-this.parentNodeRadius,y:this.parentNode.plotY-this.parentNodeRadius,width:2*this.parentNodeRadius,height:2*this.parentNodeRadius},i3),this.parentNode.graphic||(this.graph=this.parentNode.graphic=t4.renderer.symbol(i3.symbol).add(this.parentNodesGroup)),this.parentNode.graphic.attr(s3))}drawTracker(){let t4;let e4=this.parentNode;super.drawTracker(),e4&&(t4=L2(e4.dataLabels)?e4.dataLabels:e4.dataLabel?[e4.dataLabel]:[],e4.graphic&&(e4.graphic.element.point=e4),t4.forEach((t5=>{(t5.div||t5.element).point=e4})))}getPointRadius(){let t4,e4,i3,s3;let o3=this.chart,a3=o3.plotWidth,r3=o3.plotHeight,n3=this.options,l3=n3.useSimulation,h3=Math.min(a3,r3),p3={},d3=[],c3=o3.allDataPoints||[],u3=c3.length;["minSize","maxSize"].forEach((t5=>{let e5=parseInt(n3[t5],10),i4=/%$/.test(n3[t5]);p3[t5]=i4?h3*e5/100:e5*Math.sqrt(u3)})),o3.minRadius=t4=p3.minSize/Math.sqrt(u3),o3.maxRadius=e4=p3.maxSize/Math.sqrt(u3);let g3=l3?this.calculateZExtremes():[t4,e4];c3.forEach(((o4,a4)=>{i3=l3?x2(o4[2],g3[0],g3[1]):o4[2],0===(s3=this.getRadius(g3[0],g3[1],t4,e4,i3))&&(s3=null),c3[a4][2]=s3,d3.push(s3)})),this.radii=d3}init(){return g2.init.apply(this,arguments),m2.call(this),this.eventsToUnbind.push(y2(this,"updatedData",(function(){this.chart.series.forEach((t4=>{t4.type===this.type&&(t4.isDirty=true)}),this)}))),this}onMouseUp(t4){if(t4.fixedPosition&&!t4.removed){let i3;let s3=this.layout,o3=this.parentNodeLayout;o3&&s3.options.dragBetweenSeries&&o3.nodes.forEach((e4=>{t4&&t4.marker&&e4!==t4.series.parentNode&&(i3=s3.getDistXY(t4,e4),s3.vectorLength(i3)-e4.marker.radius-t4.marker.radius<0&&(e4.series.addPoint(k2(t4.options,{plotX:t4.plotX,plotY:t4.plotY}),false),s3.removeElementFromCollection(t4,s3.nodes),t4.remove()))})),e3.onMouseUp.apply(this,arguments)}}placeBubbles(t4){let e4=this.checkOverlap,i3=this.positionBubble,s3=[],o3=1,a3=0,r3=0,n3,l3=[],h3,p3=t4.sort(((t5,e5)=>e5[2]-t5[2]));if(p3.length){if(s3.push([[0,0,p3[0][2],p3[0][3],p3[0][4]]]),p3.length>1)for(s3.push([[0,0-p3[1][2]-p3[0][2],p3[1][2],p3[1][3],p3[1][4]]]),h3=2;h3<p3.length;h3++)p3[h3][2]=p3[h3][2]||1,e4(n3=i3(s3[o3][a3],s3[o3-1][r3],p3[h3]),s3[o3][0])?(s3.push([]),r3=0,s3[o3+1].push(i3(s3[o3][a3],s3[o3][0],p3[h3])),o3++,a3=0):o3>1&&s3[o3-1][r3+1]&&e4(n3,s3[o3-1][r3+1])?(r3++,s3[o3].push(i3(s3[o3][a3],s3[o3-1][r3],p3[h3])),a3++):(a3++,s3[o3].push(n3));this.chart.stages=s3,this.chart.rawPositions=[].concat.apply([],s3),this.resizeRadius(),l3=this.chart.rawPositions}return l3}pointAttribs(t4,e4){let i3=this.options,s3=t4&&t4.isParentNode,o3=i3.marker;s3&&i3.layoutAlgorithm&&i3.layoutAlgorithm.parentNodeOptions&&(o3=i3.layoutAlgorithm.parentNodeOptions.marker);let a3=o3.fillOpacity,r3=g2.pointAttribs.call(this,t4,e4);return 1!==a3&&(r3["fill-opacity"]=a3),r3}positionBubble(t4,e4,i3){let s3=Math.asin,o3=Math.acos,a3=Math.pow,r3=Math.abs,n3=(0,Math.sqrt)(a3(t4[0]-e4[0],2)+a3(t4[1]-e4[1],2)),l3=o3((a3(n3,2)+a3(i3[2]+e4[2],2)-a3(i3[2]+t4[2],2))/(2*(i3[2]+e4[2])*n3)),h3=s3(r3(t4[0]-e4[0])/n3),p3=(t4[1]-e4[1]<0?0:Math.PI)+l3+h3*((t4[0]-e4[0])*(t4[1]-e4[1])<0?1:-1),d3=Math.cos(p3),c3=Math.sin(p3);return[e4[0]+(e4[2]+i3[2])*c3,e4[1]-(e4[2]+i3[2])*d3,i3[2],i3[3],i3[4]]}render(){let t4=[];g2.render.apply(this,arguments),!this.options.dataLabels.allowOverlap&&(this.data.forEach((e4=>{L2(e4.dataLabels)&&e4.dataLabels.forEach((e5=>{t4.push(e5)}))})),this.options.useSimulation&&this.chart.hideOverlappingLabels(t4))}resizeRadius(){let t4,e4,i3,s3,o3;let a3=this.chart,r3=a3.rawPositions,n3=Math.min,l3=Math.max,h3=a3.plotLeft,p3=a3.plotTop,d3=a3.plotHeight,c3=a3.plotWidth;for(let a4 of(t4=i3=Number.POSITIVE_INFINITY,e4=s3=Number.NEGATIVE_INFINITY,r3))o3=a4[2],t4=n3(t4,a4[0]-o3),e4=l3(e4,a4[0]+o3),i3=n3(i3,a4[1]-o3),s3=l3(s3,a4[1]+o3);let u3=[e4-t4,s3-i3],g3=[(c3-h3)/u3[0],(d3-p3)/u3[1]],f3=n3.apply([],g3);if(Math.abs(f3-1)>1e-10){for(let t5 of r3)t5[2]*=f3;this.placeBubbles(r3)}else a3.diffY=d3/2+p3-i3-(s3-i3)/2,a3.diffX=c3/2+h3-t4-(e4-t4)/2}seriesBox(){let t4;let e4=this.chart,i3=this.data,s3=Math.max,o3=Math.min,a3=[e4.plotLeft,e4.plotLeft+e4.plotWidth,e4.plotTop,e4.plotTop+e4.plotHeight];return i3.forEach((e5=>{P(e5.plotX)&&P(e5.plotY)&&e5.marker.radius&&(t4=e5.marker.radius,a3[0]=o3(a3[0],e5.plotX-t4),a3[1]=s3(a3[1],e5.plotX+t4),a3[2]=o3(a3[2],e5.plotY-t4),a3[3]=s3(a3[3],e5.plotY+t4))})),C2(a3.width/a3.height)?a3:null}setVisible(){let t4=this;g2.setVisible.apply(t4,arguments),t4.parentNodeLayout&&t4.graph?t4.visible?(t4.graph.show(),t4.parentNode.dataLabel&&t4.parentNode.dataLabel.show()):(t4.graph.hide(),t4.parentNodeLayout.removeElementFromCollection(t4.parentNode,t4.parentNodeLayout.nodes),t4.parentNode.dataLabel&&t4.parentNode.dataLabel.hide()):t4.layout&&(t4.visible?t4.layout.addElementsToCollection(t4.points,t4.layout.nodes):t4.points.forEach((e4=>{t4.layout.removeElementFromCollection(e4,t4.layout.nodes)})))}translate(){let t4,e4,i3;let s3=this.chart,o3=this.data,a3=this.index,r3=this.options.useSimulation;for(let n3 of(this.processedXData=this.xData,this.generatePoints(),P(s3.allDataPoints)||(s3.allDataPoints=this.accumulateAllPoints(),this.getPointRadius()),r3?i3=s3.allDataPoints:(i3=this.placeBubbles(s3.allDataPoints),this.options.draggable=false),i3))n3[3]===a3&&(t4=o3[n3[4]],e4=v2(n3[2],void 0),r3||(t4.plotX=n3[0]-s3.plotLeft+s3.diffX,t4.plotY=n3[1]-s3.plotTop+s3.diffY),C2(e4)&&(t4.marker=S2(t4.marker,{radius:e4,width:2*e4,height:2*e4}),t4.radius=e4));r3&&this.deferLayout(),M(this,"afterTranslate")}}return A2.defaultOptions=k2(f2.defaultOptions,a2),S2(A2.prototype,{pointClass:o2,axisTypes:[],directTouch:true,forces:["barycenter","repulsive"],hasDraggableNodes:true,invertible:false,isCartesian:false,noSharedTooltip:true,pointArrayMap:["value"],pointValKey:"value",requireSorting:false,trackerGroups:["group","dataLabelsGroup","parentNodesGroup"],initDataLabels:b2,alignDataLabel:g2.alignDataLabel,indexateNodes:u2,onMouseDown:e3.onMouseDown,onMouseMove:e3.onMouseMove,redrawHalo:e3.redrawHalo,searchPoint:u2}),n2.registerSeriesType("packedbubble",A2),A2})),i(e2,"Series/Polygon/PolygonSeriesDefaults.js",[],(function(){return{marker:{enabled:false,states:{hover:{enabled:false}}},stickyTracking:false,tooltip:{followPointer:true,pointFormat:""},trackByArea:true,legendSymbol:"rectangle"}})),i(e2,"Series/Polygon/PolygonSeries.js",[e2["Core/Globals.js"],e2["Series/Polygon/PolygonSeriesDefaults.js"],e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){let{noop:o2}=t3,{area:a2,line:r2,scatter:n2}=i2.seriesTypes,{extend:l2,merge:h2}=s2;class p2 extends n2{getGraphPath(){let t4=r2.prototype.getGraphPath.call(this),e4=t4.length+1;for(;e4--;)(e4===t4.length||"M"===t4[e4][0])&&e4>0&&t4.splice(e4,0,["Z"]);return this.areaPath=t4,t4}drawGraph(){this.options.fillColor=this.color,a2.prototype.drawGraph.call(this)}}return p2.defaultOptions=h2(n2.defaultOptions,e3),l2(p2.prototype,{type:"polygon",drawTracker:r2.prototype.drawTracker,setStackedPoints:o2}),i2.registerSeriesType("polygon",p2),p2})),i(e2,"Core/Axis/RadialAxisDefaults.js",[],(function(){return{circular:{gridLineWidth:1,labels:{align:void 0,x:0,y:void 0,style:{textOverflow:"none"}},maxPadding:0,minPadding:0,showLastLabel:false,tickLength:0},radial:{gridLineInterpolation:"circle",gridLineWidth:1,labels:{align:"right",padding:5,x:-3,y:-2},showLastLabel:false,title:{x:4,text:null,rotation:90}},radialGauge:{endOnTick:false,gridLineWidth:0,labels:{align:"center",distance:-25,x:0,y:void 0},lineWidth:1,minorGridLineWidth:0,minorTickInterval:"auto",minorTickLength:10,minorTickPosition:"inside",minorTickWidth:1,startOnTick:false,tickLength:10,tickPixelInterval:100,tickPosition:"inside",tickWidth:2,title:{rotation:0,text:""},zIndex:2}}})),i(e2,"Core/Axis/RadialAxis.js",[e2["Core/Axis/RadialAxisDefaults.js"],e2["Core/Defaults.js"],e2["Core/Globals.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2){var o2;let{defaultOptions:a2}=e3,{composed:r2,noop:n2}=i2,{addEvent:l2,correctFloat:h2,defined:p2,extend:d2,fireEvent:c2,isObject:u2,merge:g2,pick:f2,pushUnique:b2,relativeLength:m2,wrap:y2}=s2;return function(e4){function s3(){this.autoConnect=this.isCircular&&void 0===f2(this.userMax,this.options.max)&&h2(this.endAngleRad-this.startAngleRad)===h2(2*Math.PI),!this.isCircular&&this.chart.inverted&&this.max++,this.autoConnect&&(this.max+=this.categories&&1||this.pointRange||this.closestPointRange||0)}function o3(){return()=>{if(this.isRadial&&this.tickPositions&&this.options.labels&&true!==this.options.labels.allowOverlap)return this.tickPositions.map((t4=>this.ticks[t4]&&this.ticks[t4].label)).filter((t4=>!!t4))}}function x2(){return n2}function P(t4,e5,i3){let s4=this.pane.center,o4=t4.value,a3,r3,n3;return this.isCircular?(p2(o4)?t4.point&&(t4.point.shapeArgs||{}).start&&(o4=this.chart.inverted?this.translate(t4.point.rectPlotY,true):t4.point.x):(r3=t4.chartX||0,n3=t4.chartY||0,o4=this.translate(Math.atan2(n3-i3,r3-e5)-this.startAngleRad,true)),r3=(a3=this.getPosition(o4)).x,n3=a3.y):(p2(o4)||(r3=t4.chartX,n3=t4.chartY),p2(r3)&&p2(n3)&&(i3=s4[1]+this.chart.plotTop,o4=this.translate(Math.min(Math.sqrt(Math.pow(r3-e5,2)+Math.pow(n3-i3,2)),s4[2]/2)-s4[3]/2,true))),[o4,r3||0,n3||0]}function S2(t4,e5,i3){let s4=this.pane.center,o4=this.chart,a3=this.left||0,r3=this.top||0,n3,l3=f2(e5,s4[2]/2-this.offset),h3;return void 0===i3&&(i3=this.horiz?0:this.center&&-this.center[3]/2),i3&&(l3+=i3),this.isCircular||void 0!==e5?((h3=this.chart.renderer.symbols.arc(a3+s4[0],r3+s4[1],l3,l3,{start:this.startAngleRad,end:this.endAngleRad,open:true,innerR:0})).xBounds=[a3+s4[0]],h3.yBounds=[r3+s4[1]-l3]):(n3=this.postTranslate(this.angleRad,l3),h3=[["M",this.center[0]+o4.plotLeft,this.center[1]+o4.plotTop],["L",n3.x,n3.y]]),h3}function M(){this.constructor.prototype.getOffset.call(this),this.chart.axisOffset[this.side]=0}function L2(t4,e5,i3){let s4=this.chart,o4=t5=>{if("string"==typeof t5){let e6=parseInt(t5,10);return d3.test(t5)&&(e6=e6*n3/100),e6}return t5},a3=this.center,r3=this.startAngleRad,n3=a3[2]/2,l3=Math.min(this.offset,0),h3=this.left||0,p3=this.top||0,d3=/%$/,c3=this.isCircular,u3,g3,b3,m3,y3,x3,P2=f2(o4(i3.outerRadius),n3),S3=o4(i3.innerRadius),M2=f2(o4(i3.thickness),10);if("polygon"===this.options.gridLineInterpolation)x3=this.getPlotLinePath({value:t4}).concat(this.getPlotLinePath({value:e5,reverse:true}));else{t4=Math.max(t4,this.min),e5=Math.min(e5,this.max);let o5=this.translate(t4),n4=this.translate(e5);c3||(P2=o5||0,S3=n4||0),"circle"!==i3.shape&&c3?(u3=r3+(o5||0),g3=r3+(n4||0)):(u3=-Math.PI/2,g3=1.5*Math.PI,y3=true),P2-=l3,M2-=l3,x3=s4.renderer.symbols.arc(h3+a3[0],p3+a3[1],P2,P2,{start:Math.min(u3,g3),end:Math.max(u3,g3),innerR:f2(S3,P2-M2),open:y3,borderRadius:i3.borderRadius}),c3&&(b3=(g3+u3)/2,m3=h3+a3[0]+a3[2]/2*Math.cos(b3),x3.xBounds=b3>-Math.PI/2&&b3<Math.PI/2?[m3,s4.plotWidth]:[0,m3],x3.yBounds=[p3+a3[1]+a3[2]/2*Math.sin(b3)],x3.yBounds[0]+=b3>-Math.PI&&b3<0||b3>Math.PI?-10:10)}return x3}function C2(t4){let e5=this.pane.center,i3=this.chart,s4=i3.inverted,o4=t4.reverse,a3=this.pane.options.background?this.pane.options.background[0]||this.pane.options.background:{},r3=a3.innerRadius||"0%",n3=a3.outerRadius||"100%",l3=e5[0]+i3.plotLeft,h3=e5[1]+i3.plotTop,p3=this.height,d3=t4.isCrosshair,c3=e5[3]/2,u3=t4.value,g3,f3,b3,y3,x3,P2,S3,M2,L3,C3=this.getPosition(u3),k3=C3.x,v3=C3.y;if(d3&&(u3=(M2=this.getCrosshairPosition(t4,l3,h3))[0],k3=M2[1],v3=M2[2]),this.isCircular)f3=Math.sqrt(Math.pow(k3-l3,2)+Math.pow(v3-h3,2)),b3="string"==typeof r3?m2(r3,1):r3/f3,y3="string"==typeof n3?m2(n3,1):n3/f3,e5&&c3&&(b3<(g3=c3/f3)&&(b3=g3),y3<g3&&(y3=g3)),L3=[["M",l3+b3*(k3-l3),h3-b3*(h3-v3)],["L",k3-(1-y3)*(k3-l3),v3+(1-y3)*(h3-v3)]];else if((u3=this.translate(u3))&&(u3<0||u3>p3)&&(u3=0),"circle"===this.options.gridLineInterpolation)L3=this.getLinePath(0,u3,c3);else if(L3=[],i3[s4?"yAxis":"xAxis"].forEach((t5=>{t5.pane===this.pane&&(x3=t5)})),x3){S3=x3.tickPositions,x3.autoConnect&&(S3=S3.concat([S3[0]])),o4&&(S3=S3.slice().reverse()),u3&&(u3+=c3);for(let t5=0;t5<S3.length;t5++)P2=x3.getPosition(S3[t5],u3),L3.push(t5?["L",P2.x,P2.y]:["M",P2.x,P2.y])}return L3}function k2(t4,e5){let i3=this.translate(t4);return this.postTranslate(this.isCircular?i3:this.angleRad,f2(this.isCircular?e5:i3<0?0:i3,this.center[2]/2)-this.offset)}function v2(){let t4=this.center,e5=this.chart,i3=this.options.title;return{x:e5.plotLeft+t4[0]+(i3.x||0),y:e5.plotTop+t4[1]-{high:.5,middle:.25,low:0}[i3.align]*t4[2]+(i3.y||0)}}function A2(t4){t4.beforeSetTickPositions=s3,t4.createLabelCollector=o3,t4.getCrosshairPosition=P,t4.getLinePath=S2,t4.getOffset=M,t4.getPlotBandPath=L2,t4.getPlotLinePath=C2,t4.getPosition=k2,t4.getTitlePosition=v2,t4.postTranslate=D2,t4.setAxisSize=B,t4.setAxisTranslation=z2,t4.setOptions=O2}function w2(){let t4=this.chart,e5=this.options,i3=t4.angular&&this.isXAxis,s4=this.pane,o4=s4&&s4.options;if(!i3&&s4&&(t4.angular||t4.polar)){let t5=2*Math.PI,i4=(f2(o4.startAngle,0)-90)*Math.PI/180,s5=(f2(o4.endAngle,f2(o4.startAngle,0)+360)-90)*Math.PI/180;this.angleRad=(e5.angle||0)*Math.PI/180,this.startAngleRad=i4,this.endAngleRad=s5,this.offset=e5.offset||0;let a3=(i4%t5+t5)%t5,r3=(s5%t5+t5)%t5;a3>Math.PI&&(a3-=t5),r3>Math.PI&&(r3-=t5),this.normalizedStartAngleRad=a3,this.normalizedEndAngleRad=r3}}function T2(t4){this.isRadial&&(t4.align=void 0,t4.preventDefault())}function N(){if(this.chart&&this.chart.labelCollectors){let t4=this.labelCollector?this.chart.labelCollectors.indexOf(this.labelCollector):-1;t4>=0&&this.chart.labelCollectors.splice(t4,1)}}function X(t4){let e5;let i3=this.chart,s4=i3.angular,o4=i3.polar,a3=this.isXAxis,r3=this.coll,l3=t4.userOptions.pane||0,h3=this.pane=i3.pane&&i3.pane[l3];if("colorAxis"===r3){this.isRadial=false;return}s4?(s4&&a3?(this.isHidden=true,this.createLabelCollector=x2,this.getOffset=n2,this.redraw=E2,this.render=E2,this.setScale=n2,this.setCategories=n2,this.setTitle=n2):A2(this),e5=!a3):o4&&(A2(this),e5=this.horiz),s4||o4?(this.isRadial=true,this.labelCollector||(this.labelCollector=this.createLabelCollector()),this.labelCollector&&i3.labelCollectors.push(this.labelCollector)):this.isRadial=false,h3&&e5&&(h3.axis=this),this.isCircular=e5}function R2(){this.isRadial&&this.beforeSetTickPositions()}function Y(t4){let e5=this.label;if(!e5)return;let i3=this.axis,s4=e5.getBBox(),o4=i3.options.labels,a3=(i3.translate(this.pos)+i3.startAngleRad+Math.PI/2)/Math.PI*180%360,r3=Math.round(a3),n3=p2(o4.y)?0:-(.3*s4.height),l3=o4.y,h3,d3=20,c3=o4.align,u3="end",g3=r3<0?r3+360:r3,b3=g3,y3=0,x3=0;i3.isRadial&&(h3=i3.getPosition(this.pos,i3.center[2]/2+m2(f2(o4.distance,-25),i3.center[2]/2,-i3.center[2]/2)),"auto"===o4.rotation?e5.attr({rotation:a3}):p2(l3)||(l3=i3.chart.renderer.fontMetrics(e5).b-s4.height/2),p2(c3)||(i3.isCircular?(s4.width>i3.len*i3.tickInterval/(i3.max-i3.min)&&(d3=0),c3=a3>d3&&a3<180-d3?"left":a3>180+d3&&a3<360-d3?"right":"center"):c3="center",e5.attr({align:c3})),"auto"===c3&&2===i3.tickPositions.length&&i3.isCircular&&(g3>90&&g3<180?g3=180-g3:g3>270&&g3<=360&&(g3=540-g3),b3>180&&b3<=360&&(b3=360-b3),(i3.pane.options.startAngle===r3||i3.pane.options.startAngle===r3+360||i3.pane.options.startAngle===r3-360)&&(u3="start"),c3=r3>=-90&&r3<=90||r3>=-360&&r3<=-270||r3>=270&&r3<=360?"start"===u3?"right":"left":"start"===u3?"left":"right",b3>70&&b3<110&&(c3="center"),g3<15||g3>=180&&g3<195?y3=.3*s4.height:g3>=15&&g3<=35?y3="start"===u3?0:.75*s4.height:g3>=195&&g3<=215?y3="start"===u3?.75*s4.height:0:g3>35&&g3<=90?y3="start"===u3?-(.25*s4.height):s4.height:g3>215&&g3<=270&&(y3="start"===u3?s4.height:-(.25*s4.height)),b3<15?x3="start"===u3?-(.15*s4.height):.15*s4.height:b3>165&&b3<=180&&(x3="start"===u3?.15*s4.height:-(.15*s4.height)),e5.attr({align:c3}),e5.translate(x3,y3+n3)),t4.pos.x=h3.x+(o4.x||0),t4.pos.y=h3.y+(l3||0))}function j(t4){this.axis.getPosition&&d2(t4.pos,this.axis.getPosition(this.pos))}function I({options:t4}){t4.xAxis&&g2(true,e4.radialDefaultOptions.circular,t4.xAxis),t4.yAxis&&g2(true,e4.radialDefaultOptions.radialGauge,t4.yAxis)}function D2(t4,e5){let i3=this.chart,s4=this.center;return t4=this.startAngleRad+t4,{x:i3.plotLeft+s4[0]+Math.cos(t4)*e5,y:i3.plotTop+s4[1]+Math.sin(t4)*e5}}function E2(){this.isDirty=false}function B(){let t4,e5;this.constructor.prototype.setAxisSize.call(this),this.isRadial&&(this.pane.updateCenter(this),t4=this.center=this.pane.center.slice(),this.isCircular?this.sector=this.endAngleRad-this.startAngleRad:(e5=this.postTranslate(this.angleRad,t4[3]/2),t4[0]=e5.x-this.chart.plotLeft,t4[1]=e5.y-this.chart.plotTop),this.len=this.width=this.height=(t4[2]-t4[3])*f2(this.sector,1)/2)}function z2(){this.constructor.prototype.setAxisTranslation.call(this),this.center&&(this.isCircular?this.transA=(this.endAngleRad-this.startAngleRad)/(this.max-this.min||1):this.transA=(this.center[2]-this.center[3])/2/(this.max-this.min||1),this.isXAxis?this.minPixelPadding=this.transA*this.minPointOffset:this.minPixelPadding=0)}function O2(t4){let{coll:i3}=this,{angular:s4,inverted:o4,polar:r3}=this.chart,n3={};s4?this.isXAxis||(n3=g2(a2.yAxis,e4.radialDefaultOptions.radialGauge)):r3&&(n3=this.horiz?g2(a2.xAxis,e4.radialDefaultOptions.circular):g2("xAxis"===i3?a2.xAxis:a2.yAxis,e4.radialDefaultOptions.radial)),o4&&"yAxis"===i3&&(n3.stackLabels=u2(a2.yAxis,true)?a2.yAxis.stackLabels:{},n3.reversedStacks=true);let l3=this.options=g2(n3,t4);l3.plotBands||(l3.plotBands=[]),c2(this,"afterSetOptions")}function W2(t4,e5,i3,s4,o4,a3,r3){let n3;let l3=this.axis;return l3.isRadial?["M",e5,i3,"L",(n3=l3.getPosition(this.pos,l3.center[2]/2+s4)).x,n3.y]:t4.call(this,e5,i3,s4,o4,a3,r3)}e4.radialDefaultOptions=g2(t3),e4.compose=function(t4,e5){return b2(r2,"Axis.Radial")&&(l2(t4,"afterInit",w2),l2(t4,"autoLabelAlign",T2),l2(t4,"destroy",N),l2(t4,"init",X),l2(t4,"initialAxisTranslation",R2),l2(e5,"afterGetLabelPosition",Y),l2(e5,"afterGetPosition",j),l2(i2,"setOptions",I),y2(e5.prototype,"getMarkPath",W2)),t4}}(o2||(o2={})),o2})),i(e2,"Series/PolarComposition.js",[e2["Core/Animation/AnimationUtilities.js"],e2["Core/Globals.js"],e2["Core/Series/Series.js"],e2["Extensions/Pane/Pane.js"],e2["Core/Axis/RadialAxis.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2,s2,o2,a2){let{animObject:r2}=t3,{composed:n2}=e3,{addEvent:l2,defined:h2,find:p2,isNumber:d2,merge:c2,pick:u2,pushUnique:g2,relativeLength:f2,splat:b2,uniqueKey:m2,wrap:y2}=a2;function x2(){(this.pane||[]).forEach((t4=>{t4.render()}))}function P(t4){let e4=t4.args[0].xAxis,i3=t4.args[0].yAxis,s3=t4.args[0].chart;e4&&i3&&("polygon"===i3.gridLineInterpolation?(e4.startOnTick=true,e4.endOnTick=true):"polygon"===e4.gridLineInterpolation&&s3.inverted&&(i3.startOnTick=true,i3.endOnTick=true))}function S2(){this.pane||(this.pane=[]),this.options.pane=b2(this.options.pane),this.options.pane.forEach((t4=>{new s2(t4,this)}),this)}function M(t4){let e4=t4.args.marker,i3=this.chart.xAxis[0],s3=this.chart.yAxis[0],o3=this.chart.inverted,a3=o3?s3:i3,r3=o3?i3:s3;if(this.chart.polar){t4.preventDefault();let i4=(e4.attr?e4.attr("start"):e4.start)-a3.startAngleRad,s4=e4.attr?e4.attr("r"):e4.r,o4=(e4.attr?e4.attr("end"):e4.end)-a3.startAngleRad,n3=e4.attr?e4.attr("innerR"):e4.innerR;t4.result.x=i4+a3.pos,t4.result.width=o4-i4,t4.result.y=r3.len+r3.pos-s4,t4.result.height=s4-n3}}function L2(t4){let e4=this.chart;if(e4.polar&&e4.hoverPane&&e4.hoverPane.axis){t4.preventDefault();let i3=e4.hoverPane.center,s3=e4.mouseDownX||0,o3=e4.mouseDownY||0,a3=t4.args.chartY,r3=t4.args.chartX,n3=2*Math.PI,l3=e4.hoverPane.axis.startAngleRad,h3=e4.hoverPane.axis.endAngleRad,p3=e4.inverted?e4.xAxis[0]:e4.yAxis[0],d3={},c3="arc";if(d3.x=i3[0]+e4.plotLeft,d3.y=i3[1]+e4.plotTop,this.zoomHor){let t5=l3>0?h3-l3:Math.abs(l3)+Math.abs(h3),u3=Math.atan2(o3-e4.plotTop-i3[1],s3-e4.plotLeft-i3[0])-l3,g3=Math.atan2(a3-e4.plotTop-i3[1],r3-e4.plotLeft-i3[0])-l3;d3.r=i3[2]/2,d3.innerR=i3[3]/2,u3<=0&&(u3+=n3),g3<=0&&(g3+=n3),g3<u3&&(g3=[u3,u3=g3][0]),t5<n3&&l3+g3>h3+(n3-t5)/2&&(g3=u3,u3=l3<=0?l3:0);let f3=d3.start=Math.max(u3+l3,l3),b3=d3.end=Math.min(g3+l3,h3);if("polygon"===p3.options.gridLineInterpolation){let t6=e4.hoverPane.axis,s4=f3-t6.startAngleRad+t6.pos,o4=p3.getPlotLinePath({value:p3.max}),a4=t6.toValue(s4),r4=t6.toValue(s4+(b3-f3));if(a4<t6.getExtremes().min){let{min:e5,max:i4}=t6.getExtremes();a4=i4-(e5-a4)}if(r4<t6.getExtremes().min){let{min:e5,max:i4}=t6.getExtremes();r4=i4-(e5-r4)}r4<a4&&(r4=[a4,a4=r4][0]),(o4=A2(o4,a4,r4,t6)).push(["L",i3[0]+e4.plotLeft,e4.plotTop+i3[1]]),d3.d=o4,c3="path"}}if(this.zoomVert){let t5=e4.inverted?e4.xAxis[0]:e4.yAxis[0],n4=Math.sqrt(Math.pow(s3-e4.plotLeft-i3[0],2)+Math.pow(o3-e4.plotTop-i3[1],2)),p4=Math.sqrt(Math.pow(r3-e4.plotLeft-i3[0],2)+Math.pow(a3-e4.plotTop-i3[1],2));if(p4<n4&&(n4=[p4,p4=n4][0]),p4>i3[2]/2&&(p4=i3[2]/2),n4<i3[3]/2&&(n4=i3[3]/2),this.zoomHor||(d3.start=l3,d3.end=h3),d3.r=p4,d3.innerR=n4,"polygon"===t5.options.gridLineInterpolation){let e5=t5.toValue(t5.len+t5.pos-n4),i4=t5.toValue(t5.len+t5.pos-p4),s4=t5.getPlotLinePath({value:i4}).concat(t5.getPlotLinePath({value:e5,reverse:true}));d3.d=s4,c3="path"}}if(this.zoomHor&&this.zoomVert&&"polygon"===p3.options.gridLineInterpolation){let t5=e4.hoverPane.axis,i4=d3.start||0,s4=d3.end||0,o4=i4-t5.startAngleRad+t5.pos,a4=t5.toValue(o4),r4=t5.toValue(o4+(s4-i4));if(d3.d instanceof Array){let t6=d3.d.slice(0,d3.d.length/2),i5=d3.d.slice(d3.d.length/2,d3.d.length);i5=[...i5].reverse();let s5=e4.hoverPane.axis;t6=A2(t6,a4,r4,s5),(i5=A2(i5,a4,r4,s5))&&(i5[0][0]="L"),i5=[...i5].reverse(),d3.d=t6.concat(i5),c3="path"}}t4.attrs=d3,t4.shapeType=c3}}function C2(){let t4=this.chart;t4.polar&&(this.polar=new E2(this),t4.inverted&&(this.isRadialSeries=true,this.is("column")&&(this.isRadialBar=true)))}function k2(){if(this.chart.polar&&this.xAxis){let{xAxis:t4,yAxis:i3}=this,s3=this.chart;this.kdByAngle=s3.tooltip&&s3.tooltip.shared,this.kdByAngle||s3.inverted?this.searchPoint=v2:this.options.findNearestPointBy="xy";let o3=this.points,a3=o3.length;for(;a3--;)this.is("column")||this.is("columnrange")||this.polar.toXY(o3[a3]),s3.hasParallelCoordinates||this.yAxis.reversed||(u2(o3[a3].y,Number.MIN_VALUE)<i3.min||o3[a3].x<t4.min||o3[a3].x>t4.max?(o3[a3].isNull=true,o3[a3].plotY=NaN):o3[a3].isNull=o3[a3].isValid&&!o3[a3].isValid());this.hasClipCircleSetter||(this.hasClipCircleSetter=!!this.eventsToUnbind.push(l2(this,"afterRender",(function(){let t5;s3.polar&&false!==this.options.clip&&(t5=this.yAxis.pane.center,this.clipCircle?this.clipCircle.animate({x:t5[0],y:t5[1],r:t5[2]/2,innerR:t5[3]/2}):this.clipCircle=function(t6,e4,i4,s4,o4){let a4=m2(),r3=t6.createElement("clipPath").attr({id:a4}).add(t6.defs),n3=o4?t6.arc(e4,i4,s4,o4,0,2*Math.PI).add(r3):t6.circle(e4,i4,s4).add(r3);return n3.id=a4,n3.clipPath=r3,n3}(s3.renderer,t5[0],t5[1],t5[2]/2,t5[3]/2),this.group.clip(this.clipCircle),this.setClip=e3.noop)}))))}}function v2(t4){let e4=this.chart,i3=this.xAxis,s3=this.yAxis,o3=i3.pane&&i3.pane.center,a3=t4.chartX-(o3&&o3[0]||0)-e4.plotLeft,r3=t4.chartY-(o3&&o3[1]||0)-e4.plotTop,n3=e4.inverted?{clientX:t4.chartX-s3.pos,plotY:t4.chartY-i3.pos}:{clientX:180+-180/Math.PI*Math.atan2(a3,r3)};return this.searchKDTree(n3)}function A2(t4,e4,i3,s3){let o3=s3.tickInterval,a3=s3.tickPositions,r3=p2(a3,(t5=>t5>=i3)),n3=p2([...a3].reverse(),(t5=>t5<=e4));return h2(r3)||(r3=a3[a3.length-1]),h2(n3)||(n3=a3[0],r3+=o3,t4[0][0]="L",t4.unshift(t4[t4.length-3])),(t4=t4.slice(a3.indexOf(n3),a3.indexOf(r3)+1))[0][0]="M",t4}function w2(t4,e4){return p2(this.pane||[],(t5=>t5.options.id===e4))||t4.call(this,e4)}function T2(t4,e4,s3,o3,a3,r3){let n3,l3,h3;let p3=this.chart,d3=u2(o3.inside,!!this.options.stacking);if(p3.polar){if(n3=e4.rectPlotX/Math.PI*180,p3.inverted)this.forceDL=p3.isInsidePlot(e4.plotX,e4.plotY),d3&&e4.shapeArgs?(l3=e4.shapeArgs,a3=c2(a3,{x:(h3=this.yAxis.postTranslate(((l3.start||0)+(l3.end||0))/2-this.xAxis.startAngleRad,e4.barX+e4.pointWidth/2)).x-p3.plotLeft,y:h3.y-p3.plotTop})):e4.tooltipPos&&(a3=c2(a3,{x:e4.tooltipPos[0],y:e4.tooltipPos[1]})),o3.align=u2(o3.align,"center"),o3.verticalAlign=u2(o3.verticalAlign,"middle");else{var g3;let t5,e5;null===(g3=o3).align&&(t5=n3>20&&n3<160?"left":n3>200&&n3<340?"right":"center",g3.align=t5),null===g3.verticalAlign&&(e5=n3<45||n3>315?"bottom":n3>135&&n3<225?"top":"middle",g3.verticalAlign=e5),o3=g3}i2.prototype.alignDataLabel.call(this,e4,s3,o3,a3,r3),this.isRadialBar&&e4.shapeArgs&&e4.shapeArgs.start===e4.shapeArgs.end?s3.hide():s3.show()}else t4.call(this,e4,s3,o3,a3,r3)}function N(){let t4=this.options,e4=t4.stacking,i3=this.chart,s3=this.xAxis,o3=this.yAxis,r3=o3.reversed,n3=o3.center,l3=s3.startAngleRad,p3=s3.endAngleRad-l3,c3=t4.threshold,u3=0,g3,b3,m3,y3,x3,P2=0,S3=0,M2,L3,C3,k3,v3,A3,w3,T3;if(s3.isRadial)for(m3=(g3=this.points).length,y3=o3.translate(o3.min),x3=o3.translate(o3.max),c3=t4.threshold||0,i3.inverted&&d2(c3)&&h2(u3=o3.translate(c3))&&(u3<0?u3=0:u3>p3&&(u3=p3),this.translatedThreshold=u3+l3);m3--;){if(A3=(b3=g3[m3]).barX,L3=b3.x,C3=b3.y,b3.shapeType="arc",i3.inverted){b3.plotY=o3.translate(C3),e4&&o3.stacking?(v3=o3.stacking.stacks[(C3<0?"-":"")+this.stackKey],this.visible&&v3&&v3[L3]&&!b3.isNull&&(k3=v3[L3].points[this.getStackIndicator(void 0,L3,this.index).key],P2=o3.translate(k3[0]),S3=o3.translate(k3[1]),h2(P2)&&(P2=a2.clamp(P2,0,p3)))):(P2=u3,S3=b3.plotY),P2>S3&&(S3=[P2,P2=S3][0]),r3?S3>y3?S3=y3:P2<x3?P2=x3:(P2>y3||S3<x3)&&(P2=S3=p3):P2<y3?P2=y3:S3>x3?S3=x3:(S3<y3||P2>x3)&&(P2=S3=0),o3.min>o3.max&&(P2=S3=r3?p3:0),P2+=l3,S3+=l3,n3&&(b3.barX=A3+=n3[3]/2),w3=Math.max(A3,0),T3=Math.max(A3+b3.pointWidth,0);let i4=t4.borderRadius,s4=f2(("object"==typeof i4?i4.radius:i4)||0,T3-w3);b3.shapeArgs={x:n3[0],y:n3[1],r:T3,innerR:w3,start:P2,end:S3,borderRadius:s4},b3.opacity=P2===S3?0:void 0,b3.plotY=(h2(this.translatedThreshold)&&(P2<this.translatedThreshold?P2:S3))-l3}else P2=A3+l3,b3.shapeArgs=this.polar.arc(b3.yBottom,b3.plotY,P2,P2+b3.pointWidth),b3.shapeArgs.borderRadius=0;this.polar.toXY(b3),i3.inverted?(M2=o3.postTranslate(b3.rectPlotY,A3+b3.pointWidth/2),b3.tooltipPos=[M2.x-i3.plotLeft,M2.y-i3.plotTop]):b3.tooltipPos=[b3.plotX,b3.plotY],n3&&(b3.ttBelow=b3.plotY>n3[1])}}function X(t4,e4){let i3,s3;let o3=this;if(this.chart.polar){e4=e4||this.points;for(let t5=0;t5<e4.length;t5++)if(!e4[t5].isNull){i3=t5;break}false!==this.options.connectEnds&&void 0!==i3&&(this.connectEnds=true,e4.splice(e4.length,0,e4[i3]),s3=true),e4.forEach((t5=>{void 0===t5.polarPlotY&&o3.polar.toXY(t5)}))}let a3=t4.apply(this,[].slice.call(arguments,1));return s3&&e4.pop(),a3}function R2(t4,e4){let i3=this.chart,s3={xAxis:[],yAxis:[]};return i3.polar?i3.axes.forEach((t5=>{if("colorAxis"===t5.coll)return;let o3=t5.isXAxis,a3=t5.center,r3=e4.chartX-a3[0]-i3.plotLeft,n3=e4.chartY-a3[1]-i3.plotTop;s3[o3?"xAxis":"yAxis"].push({axis:t5,value:t5.translate(o3?Math.PI-Math.atan2(r3,n3):Math.sqrt(Math.pow(r3,2)+Math.pow(n3,2)),true)})})):s3=t4.call(this,e4),s3}function Y(t4,e4){this.chart.polar||t4.call(this,e4)}function j(t4,i3){let s3=this,o3=this.chart,a3=this.group,n3=this.markerGroup,l3=this.xAxis&&this.xAxis.center,h3=o3.plotLeft,p3=o3.plotTop,d3=this.options.animation,c3,g3,f3,b3,m3,y3;o3.polar?s3.isRadialBar?i3||(s3.startAngleRad=u2(s3.translatedThreshold,s3.xAxis.startAngleRad),e3.seriesTypes.pie.prototype.animate.call(s3,i3)):(d3=r2(d3),s3.is("column")?i3||(g3=l3[3]/2,s3.points.forEach((t5=>{f3=t5.graphic,m3=(b3=t5.shapeArgs)&&b3.r,y3=b3&&b3.innerR,f3&&b3&&(f3.attr({r:g3,innerR:g3}),f3.animate({r:m3,innerR:y3},s3.options.animation))}))):i3?(c3={translateX:l3[0]+h3,translateY:l3[1]+p3,scaleX:.001,scaleY:.001},a3.attr(c3),n3&&n3.attr(c3)):(c3={translateX:h3,translateY:p3,scaleX:1,scaleY:1},a3.animate(c3,d3),n3&&n3.animate(c3,d3))):t4.call(this,i3)}function I(t4,e4,i3,s3){let o3,a3;if(this.chart.polar){if(s3){let t5=(a3=function t6(e5,i5,s4,o4){let a4,r3,n3,l3,h3,p3;let d3=o4?1:0,c3=(a4=i5>=0&&i5<=e5.length-1?i5:i5<0?e5.length-1+i5:0)-1<0?e5.length-(1+d3):a4-1,u3=a4+1>e5.length-1?d3:a4+1,g3=e5[c3],f3=e5[u3],b3=g3.plotX,m3=g3.plotY,y3=f3.plotX,x3=f3.plotY,P2=e5[a4].plotX,S3=e5[a4].plotY;r3=(1.5*P2+b3)/2.5,n3=(1.5*S3+m3)/2.5,l3=(1.5*P2+y3)/2.5,h3=(1.5*S3+x3)/2.5;let M2=Math.sqrt(Math.pow(r3-P2,2)+Math.pow(n3-S3,2)),L3=Math.sqrt(Math.pow(l3-P2,2)+Math.pow(h3-S3,2)),C3=Math.atan2(n3-S3,r3-P2);p3=Math.PI/2+(C3+Math.atan2(h3-S3,l3-P2))/2,Math.abs(C3-p3)>Math.PI/2&&(p3-=Math.PI),r3=P2+Math.cos(p3)*M2,n3=S3+Math.sin(p3)*M2;let k3={rightContX:l3=P2+Math.cos(Math.PI+p3)*L3,rightContY:h3=S3+Math.sin(Math.PI+p3)*L3,leftContX:r3,leftContY:n3,plotX:P2,plotY:S3};return s4&&(k3.prevPointCont=t6(e5,c3,false,o4)),k3}(e4,s3,true,this.connectEnds)).prevPointCont&&a3.prevPointCont.rightContX,i4=a3.prevPointCont&&a3.prevPointCont.rightContY;o3=["C",d2(t5)?t5:a3.plotX,d2(i4)?i4:a3.plotY,d2(a3.leftContX)?a3.leftContX:a3.plotX,d2(a3.leftContY)?a3.leftContY:a3.plotY,a3.plotX,a3.plotY]}else o3=["M",i3.plotX,i3.plotY]}else o3=t4.call(this,e4,i3,s3);return o3}function D2(t4,e4,i3=this.plotY){if(!this.destroyed){let{plotX:s3,series:o3}=this,{chart:a3}=o3;return a3.polar&&d2(s3)&&d2(i3)?[s3+(e4?a3.plotLeft:0),i3+(e4?a3.plotTop:0)]:t4.call(this,e4,i3)}}class E2{static compose(t4,e4,i3,a3,r3,h3,p3,d3,c3,u3){if(s2.compose(e4,i3),o2.compose(t4,r3),g2(n2,"Polar")){let t5=e4.prototype,s3=h3.prototype,o3=i3.prototype,r4=a3.prototype;if(l2(e4,"afterDrawChartBox",x2),l2(e4,"getAxes",S2),l2(e4,"init",P),y2(t5,"get",w2),y2(o3,"getCoordinates",R2),y2(o3,"pinch",Y),l2(i3,"getSelectionMarkerAttrs",L2),l2(i3,"getSelectionBox",M),l2(a3,"afterInit",C2),l2(a3,"afterTranslate",k2,{order:2}),l2(a3,"afterColumnTranslate",N,{order:4}),y2(r4,"animate",j),y2(s3,"pos",D2),d3){let t6=d3.prototype;y2(t6,"alignDataLabel",T2),y2(t6,"animate",j)}if(c3&&y2(c3.prototype,"getGraphPath",X),u3){let t6=u3.prototype;y2(t6,"getPointSpline",I),p3&&(p3.prototype.getPointSpline=t6.getPointSpline)}}}constructor(t4){this.series=t4}arc(t4,e4,i3,s3){let o3=this.series,a3=o3.xAxis.center,r3=o3.yAxis.len,n3=a3[3]/2,l3=r3-e4+n3,h3=r3-u2(t4,r3)+n3;return o3.yAxis.reversed&&(l3<0&&(l3=n3),h3<0&&(h3=n3)),{x:a3[0],y:a3[1],r:l3,innerR:h3,start:i3,end:s3}}toXY(t4){let e4=this.series,i3=e4.chart,s3=e4.xAxis,o3=e4.yAxis,a3=t4.plotX,r3=i3.inverted,n3=t4.y,l3=t4.plotY,h3=r3?a3:o3.len-l3,p3;if(r3&&e4&&!e4.isRadialBar&&(t4.plotY=l3=d2(n3)?o3.translate(n3):0),t4.rectPlotX=a3,t4.rectPlotY=l3,o3.center&&(h3+=o3.center[3]/2),d2(l3)){let e5=r3?o3.postTranslate(l3,h3):s3.postTranslate(a3,h3);t4.plotX=t4.polarPlotX=e5.x-i3.plotLeft,t4.plotY=t4.polarPlotY=e5.y-i3.plotTop}e4.kdByAngle?((p3=(a3/Math.PI*180+s3.pane.options.startAngle)%360)<0&&(p3+=360),t4.clientX=p3):t4.clientX=t4.plotX}}return E2})),i(e2,"Core/Axis/WaterfallAxis.js",[e2["Core/Globals.js"],e2["Core/Axis/Stacking/StackItem.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){var s2;let{composed:o2}=t3,{addEvent:a2,objectEach:r2,pushUnique:n2}=i2;return function(t4){function i3(){let t5=this.waterfall.stacks;t5&&(t5.changed=false,delete t5.alreadyChanged)}function s3(){let t5=this.options.stackLabels;t5&&t5.enabled&&this.waterfall.stacks&&this.waterfall.renderStackTotals()}function l2(){this.waterfall||(this.waterfall=new p2(this))}function h2(){let t5=this.axes;for(let e4 of this.series)if(e4.options.stacking){for(let e5 of t5)e5.isXAxis||(e5.waterfall.stacks.changed=true);break}}t4.compose=function(t5,e4){n2(o2,"Axis.Waterfall")&&(a2(t5,"init",l2),a2(t5,"afterBuildStacks",i3),a2(t5,"afterRender",s3),a2(e4,"beforeRedraw",h2))};class p2{constructor(t5){this.axis=t5,this.stacks={changed:false}}renderStackTotals(){let t5=this.axis,i4=t5.waterfall.stacks,s4=t5.stacking&&t5.stacking.stackTotalGroup,o3=new e3(t5,t5.options.stackLabels||{},false,0,void 0);this.dummyStackItem=o3,s4&&r2(i4,(t6=>{r2(t6,((t7,i5)=>{o3.total=t7.stackTotal,o3.x=+i5,t7.label&&(o3.label=t7.label),e3.prototype.render.call(o3,s4),t7.label=o3.label,delete o3.label}))})),o3.total=null}}t4.Composition=p2}(s2||(s2={})),s2})),i(e2,"Series/Waterfall/WaterfallPoint.js",[e2["Series/Column/ColumnSeries.js"],e2["Core/Series/Point.js"],e2["Core/Utilities.js"]],(function(t3,e3,i2){let{isNumber:s2}=i2;class o2 extends t3.prototype.pointClass{getClassName(){let t4=e3.prototype.getClassName.call(this);return this.isSum?t4+=" highcharts-sum":this.isIntermediateSum&&(t4+=" highcharts-intermediate-sum"),t4}isValid(){return s2(this.y)||this.isSum||!!this.isIntermediateSum}}return o2})),i(e2,"Series/Waterfall/WaterfallSeriesDefaults.js",[],(function(){return{dataLabels:{inside:true},lineWidth:1,lineColor:"#333333",dashStyle:"Dot",borderColor:"#333333",states:{hover:{lineWidthPlus:0}}}})),i(e2,"Series/Waterfall/WaterfallSeries.js",[e2["Core/Series/SeriesRegistry.js"],e2["Core/Utilities.js"],e2["Core/Axis/WaterfallAxis.js"],e2["Series/Waterfall/WaterfallPoint.js"],e2["Series/Waterfall/WaterfallSeriesDefaults.js"]],(function(t3,e3,i2,s2,o2){let{column:a2,line:r2}=t3.seriesTypes,{addEvent:n2,arrayMax:l2,arrayMin:h2,correctFloat:p2,crisp:d2,extend:c2,isNumber:u2,merge:g2,objectEach:f2,pick:b2}=e3;function m2(t4,e4){return Object.hasOwnProperty.call(t4,e4)}class y2 extends a2{generatePoints(){a2.prototype.generatePoints.apply(this);for(let t4=0,e4=this.points.length;t4<e4;t4++){let e5=this.points[t4],i3=this.processedYData[t4];u2(i3)&&(e5.isIntermediateSum||e5.isSum)&&(e5.y=p2(i3))}}processData(t4){let e4,i3,s3,o3,a3,r3;let n3=this.options,l3=this.yData,h3=n3.data,d3=l3.length,c3=n3.threshold||0;s3=i3=o3=a3=0;for(let t5=0;t5<d3;t5++)r3=l3[t5],e4=h3&&h3[t5]?h3[t5]:{},"sum"===r3||e4.isSum?l3[t5]=p2(s3):"intermediateSum"===r3||e4.isIntermediateSum?(l3[t5]=p2(i3),i3=0):(s3+=r3,i3+=r3),o3=Math.min(s3,o3),a3=Math.max(s3,a3);super.processData.call(this,t4),n3.stacking||(this.dataMin=o3+c3,this.dataMax=a3)}toYData(t4){return t4.isSum?"sum":t4.isIntermediateSum?"intermediateSum":t4.y}updateParallelArrays(t4,e4){super.updateParallelArrays.call(this,t4,e4),("sum"===this.yData[0]||"intermediateSum"===this.yData[0])&&(this.yData[0]=null)}pointAttribs(t4,e4){let i3=this.options.upColor;i3&&!t4.options.color&&u2(t4.y)&&(t4.color=t4.y>0?i3:void 0);let s3=a2.prototype.pointAttribs.call(this,t4,e4);return delete s3.dashstyle,s3}getGraphPath(){return[["M",0,0]]}getCrispPath(){var _a;let t4=this.data.filter((t5=>u2(t5.y))),e4=this.yAxis,i3=t4.length,s3=((_a=this.graph)==null?void 0:_a.strokeWidth())||0,o3=this.xAxis.reversed,a3=this.yAxis.reversed,r3=this.options.stacking,n3=[];for(let l3=1;l3<i3;l3++){if(!(this.options.connectNulls||u2(this.data[t4[l3].index-1].y)))continue;let i4=t4[l3].box,h3=t4[l3-1],p3=h3.y||0,c3=t4[l3-1].box;if(!i4||!c3)continue;let g3=e4.waterfall.stacks[this.stackKey],f3=p3>0?-c3.height:0;if(g3&&c3&&i4){let t5;let p4=g3[l3-1];if(r3){let i5=p4.connectorThreshold;t5=d2(e4.translate(i5,false,true,false,true)+(a3?f3:0),s3)}else t5=d2(c3.y+(h3.minPointLengthOffset||0),s3);n3.push(["M",(c3.x||0)+(o3?0:c3.width||0),t5],["L",(i4.x||0)+(o3&&i4.width||0),t5])}if(c3&&n3.length&&(!r3&&p3<0&&!a3||p3>0&&a3)){let t5=n3[n3.length-2];t5&&"number"==typeof t5[2]&&(t5[2]+=c3.height||0);let e5=n3[n3.length-1];e5&&"number"==typeof e5[2]&&(e5[2]+=c3.height||0)}}return n3}drawGraph(){r2.prototype.drawGraph.call(this),this.graph&&this.graph.attr({d:this.getCrispPath()})}setStackedPoints(t4){var _a;let e4=this.options,i3=(_a=t4.waterfall)==null?void 0:_a.stacks,s3=e4.threshold||0,o3=this.stackKey,a3=this.xData,r3=a3.length,n3=s3,l3=n3,h3,p3=0,d3=0,c3=0,u3,g3,f3,b3,m3,y3,x2,P,S2=(t5,e5,i4,s4)=>{if(h3){if(u3)for(;i4<u3;i4++)h3.stackState[i4]+=s4;else h3.stackState[0]=t5,u3=h3.stackState.length;h3.stackState.push(h3.stackState[u3-1]+e5)}};if(t4.stacking&&i3&&this.reserveSpace()){P=i3.changed,(x2=i3.alreadyChanged)&&0>x2.indexOf(o3)&&(P=true),i3[o3]||(i3[o3]={});let t5=i3[o3];if(t5)for(let i4=0;i4<r3;i4++)(!t5[y3=a3[i4]]||P)&&(t5[y3]={negTotal:0,posTotal:0,stackTotal:0,threshold:0,stateIndex:0,stackState:[],label:P&&t5[y3]?t5[y3].label:void 0}),h3=t5[y3],(m3=this.yData[i4])>=0?h3.posTotal+=m3:h3.negTotal+=m3,b3=e4.data[i4],g3=h3.absolutePos=h3.posTotal,f3=h3.absoluteNeg=h3.negTotal,h3.stackTotal=g3+f3,u3=h3.stackState.length,b3&&b3.isIntermediateSum?(S2(c3,d3,0,c3),c3=d3,d3=s3,n3^=l3,l3^=n3,n3^=l3):b3&&b3.isSum?(S2(s3,p3,u3,0),n3=s3):(S2(n3,m3,0,p3),b3&&(p3+=m3,d3+=m3)),h3.stateIndex++,h3.threshold=n3,n3+=h3.stackTotal;i3.changed=false,i3.alreadyChanged||(i3.alreadyChanged=[]),i3.alreadyChanged.push(o3)}}getExtremes(){let t4,e4,i3;let s3=this.options.stacking;return s3?(t4=this.yAxis.waterfall.stacks,e4=this.stackedYNeg=[],i3=this.stackedYPos=[],"overlap"===s3?f2(t4[this.stackKey],(function(t5){e4.push(h2(t5.stackState)),i3.push(l2(t5.stackState))})):f2(t4[this.stackKey],(function(t5){e4.push(t5.negTotal+t5.threshold),i3.push(t5.posTotal+t5.threshold)})),{dataMin:h2(e4),dataMax:l2(i3)}):{dataMin:this.dataMin,dataMax:this.dataMax}}}return y2.defaultOptions=g2(a2.defaultOptions,o2),y2.compose=i2.compose,c2(y2.prototype,{pointValKey:"y",showLine:true,pointClass:s2}),n2(y2,"afterColumnTranslate",(function(){let{options:t4,points:e4,yAxis:i3}=this,s3=b2(t4.minPointLength,5),o3=s3/2,a3=t4.threshold||0,r3=t4.stacking,n3=i3.waterfall.stacks[this.stackKey],l3=a3,h3=a3,p3,f3,y3,x2;for(let t5=0;t5<e4.length;t5++){let b3=e4[t5],P=this.processedYData[t5],S2=c2({x:0,y:0,width:0,height:0},b3.shapeArgs||{});b3.box=S2;let M=[0,P],L2=b3.y||0;if(r3){if(n3){let e5=n3[t5];"overlap"===r3?(f3=e5.stackState[e5.stateIndex--],p3=L2>=0?f3:f3-L2,m2(e5,"absolutePos")&&delete e5.absolutePos,m2(e5,"absoluteNeg")&&delete e5.absoluteNeg):(L2>=0?(f3=e5.threshold+e5.posTotal,e5.posTotal-=L2,p3=f3):(f3=e5.threshold+e5.negTotal,e5.negTotal-=L2,p3=f3-L2),!e5.posTotal&&u2(e5.absolutePos)&&m2(e5,"absolutePos")&&(e5.posTotal=e5.absolutePos,delete e5.absolutePos),!e5.negTotal&&u2(e5.absoluteNeg)&&m2(e5,"absoluteNeg")&&(e5.negTotal=e5.absoluteNeg,delete e5.absoluteNeg)),b3.isSum||(e5.connectorThreshold=e5.threshold+e5.stackTotal),i3.reversed?(y3=L2>=0?p3-L2:p3+L2,x2=p3):(y3=p3,x2=p3-L2),b3.below=y3<=a3,S2.y=i3.translate(y3,false,true,false,true),S2.height=Math.abs(S2.y-i3.translate(x2,false,true,false,true));let s4=i3.waterfall.dummyStackItem;s4&&(s4.x=t5,s4.label=n3[t5].label,s4.setOffset(this.pointXOffset||0,this.barW||0,this.stackedYNeg[t5],this.stackedYPos[t5],void 0,this.xAxis))}}else p3=Math.max(h3,h3+L2)+M[0],S2.y=i3.translate(p3,false,true,false,true),b3.isSum?(S2.y=i3.translate(M[1],false,true,false,true),S2.height=Math.min(i3.translate(M[0],false,true,false,true),i3.len)-S2.y,b3.below=M[1]<=a3):b3.isIntermediateSum?(L2>=0?(y3=M[1]+l3,x2=l3):(y3=l3,x2=M[1]+l3),i3.reversed&&(y3^=x2,x2^=y3,y3^=x2),S2.y=i3.translate(y3,false,true,false,true),S2.height=Math.abs(S2.y-Math.min(i3.translate(x2,false,true,false,true),i3.len)),l3+=M[1],b3.below=y3<=a3):(S2.height=P>0?i3.translate(h3,false,true,false,true)-S2.y:i3.translate(h3,false,true,false,true)-i3.translate(h3-P,false,true,false,true),h3+=P,b3.below=h3<a3),S2.height<0&&(S2.y+=S2.height,S2.height*=-1);b3.plotY=S2.y,b3.yBottom=S2.y+S2.height,S2.height<=s3&&!b3.isNull?(S2.height=s3,S2.y-=o3,b3.yBottom=S2.y+S2.height,b3.plotY=S2.y,L2<0?b3.minPointLengthOffset=-o3:b3.minPointLengthOffset=o3):(b3.isNull&&(S2.width=0),b3.minPointLengthOffset=0);let C2=b3.plotY+(b3.negative?S2.height:0);b3.below&&(b3.plotY+=S2.height),b3.tooltipPos&&(this.chart.inverted?b3.tooltipPos[0]=i3.len-C2:b3.tooltipPos[1]=C2),b3.isInside=this.isPointInside(b3);let k2=d2(b3.yBottom,this.borderWidth);S2.y=d2(S2.y,this.borderWidth),S2.height=k2-S2.y,g2(true,b3.shapeArgs,S2)}}),{order:2}),t3.registerSeriesType("waterfall",y2),y2})),i(e2,"masters/highcharts-more.src.js",[e2["Core/Globals.js"],e2["Core/Series/SeriesRegistry.js"],e2["Extensions/Pane/Pane.js"],e2["Series/Bubble/BubbleSeries.js"],e2["Series/PackedBubble/PackedBubbleSeries.js"],e2["Series/PolarComposition.js"],e2["Core/Axis/RadialAxis.js"],e2["Series/Waterfall/WaterfallSeries.js"]],(function(t3,e3,i2,s2,o2,a2,r2,n2){return t3.RadialAxis=r2,s2.compose(t3.Axis,t3.Chart,t3.Legend),o2.compose(t3.Axis,t3.Chart,t3.Legend),i2.compose(t3.Chart,t3.Pointer),a2.compose(t3.Axis,t3.Chart,t3.Pointer,t3.Series,t3.Tick,t3.Point,e3.seriesTypes.areasplinerange,e3.seriesTypes.column,e3.seriesTypes.line,e3.seriesTypes.spline),n2.compose(t3.Axis,t3.Chart),t3}))}))})(highchartsMore$1);var highchartsMoreExports=highchartsMore$1.exports;const highchartsMore=getDefaultExportFromCjs(highchartsMoreExports);const alignBlockElement=event2=>{const itemToMove=document.querySelector(`#wrapper-circle-chart-${event2.target.renderTo.id} .pb-circle-chart-block`);const chartContainer=document.querySelector(`#${event2.target.renderTo.id}`);if(itemToMove!==null&&chartContainer!==null){itemToMove.style.height=`${event2.target.chartHeight}px`;itemToMove.style.width=`${event2.target.chartWidth}px`;if(chartContainer.firstChild!==null){chartContainer.firstChild.before(itemToMove)}}};const CircleChart=({align:align="center",aria:aria={},rounded:rounded=false,borderColor:borderColor=(rounded?null:""),borderWidth:borderWidth=(rounded?20:null),chartData:chartData,children:children,className:className,colors:colors2=[],customOptions:customOptions={},dark:dark=false,data:data={},dataLabelHtml:dataLabelHtml="<div>{point.name}</div>",dataLabels:dataLabels=false,height:height,htmlOptions:htmlOptions={},id:id,innerSize:innerSize="md",legend:legend=false,maxPointSize:maxPointSize=null,minPointSize:minPointSize=null,startAngle:startAngle=null,style:style="pie",title:title,tooltipHtml:tooltipHtml,useHtml:useHtml=false,zMin:zMin=null,layout:layout="horizontal",verticalAlign:verticalAlign="bottom",x:x2=0,y:y2=0,...props})=>{const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);highchartsMore(Highcharts$1);const setupTheme=()=>{dark?Highcharts$1.setOptions(highchartsDarkTheme):Highcharts$1.setOptions(highchartsTheme)};setupTheme();Highcharts$1.setOptions({tooltip:{headerFormat:null,pointFormat:tooltipHtml?tooltipHtml:'<span style="font-weight: bold; color:{point.color};">●</span>{point.name}: <b>{point.y}</b>',useHTML:useHtml}});const innerSizes={sm:"35%",md:"50%",lg:"85%",none:"0%"};const innerSizeFormat=size=>innerSizes[size];const filteredProps={...props};delete filteredProps.verticalAlign;const[options2,setOptions]=useState({});useEffect((()=>{const formattedChartData=chartData.map((obj=>{obj.y=obj.value;delete obj.value;return obj}));const staticOptions={title:{text:title},chart:{height:height,type:style,events:{render:event2=>alignBlockElement(event2),redraw:event2=>alignBlockElement(event2)}},legend:{align:align,verticalAlign:verticalAlign,layout:layout,x:x2,y:y2},plotOptions:{pie:{colors:colors2.length>0?mapColors(colors2):highchartsTheme.colors,dataLabels:{enabled:dataLabels,connectorShape:"straight",connectorWidth:3,format:dataLabelHtml},showInLegend:legend}},series:[{minPointSize:minPointSize,maxPointSize:maxPointSize,innerSize:borderWidth==20?"100%":innerSizeFormat(innerSize),data:formattedChartData,zMin:zMin,startAngle:startAngle,borderWidth:borderWidth,borderColor:borderColor}],credits:false};setOptions(merge(staticOptions,customOptions))}),[chartData]);return jsx$1(Fragment,{children:children?jsxs("div",{id:`wrapper-circle-chart-${id}`,children:[jsx$1(HighchartsReact,{containerProps:{className:classnames("pb_circle_chart",globalProps(filteredProps)),id:id,...ariaProps,...dataProps,...htmlProps},highcharts:Highcharts$1,options:options2}),jsx$1("div",{className:"pb-circle-chart-block",children:children})]}):jsx$1(HighchartsReact,{containerProps:{className:classnames("pb_circle_chart",globalProps(filteredProps)),id:id,...ariaProps,...dataProps,...htmlProps},highcharts:Highcharts$1,options:options2})})};const CircleIconButton=props=>{const{aria:aria={},className:className,dark:dark,data:data={},disabled:disabled,htmlOptions:htmlOptions={},icon:icon,id:id,loading:loading=false,onClick:onClick=noop$1,type:type,link:link,newWindow:newWindow,variant:variant}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_circle_icon_button_kit"),globalProps(props),className);return jsx$1("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id,children:jsx$1(Button,{dark:dark,disabled:disabled,htmlType:type,link:link,loading:loading,newWindow:newWindow,onClick:onClick,text:null,variant:variant,children:jsx$1(Icon,{fixedWidth:true,icon:icon})})})};const showElement=elem=>{elem.style.display="block";const height=elem.scrollHeight+"px";elem.style.height=height;elem.classList.add("is-visible");elem.style.overflow="hidden";window.setTimeout((()=>{if(!elem.classList.contains("is-visible")){elem.classList.add("is-visible")}elem.style.height="";elem.style.overflow="visible"}),300)};const hideElement=elem=>{elem.style.height=elem.scrollHeight+"px";window.setTimeout((()=>{elem.style.height="0";elem.style.paddingTop="0";elem.style.paddingBottom="0";elem.style.overflow="hidden"}),1);window.setTimeout((()=>{elem.classList.remove("is-visible");elem.style.overflow=""}),300)};const CollapsibleContext=createContext({});const CollapsibleContent=({children:children,className:className,...props})=>{const context=useContext(CollapsibleContext);const contentCSS=buildCss("pb_collapsible_content_kit");const contentSpacing=globalProps(props);const contentRef=useRef(null);useEffect((()=>{if(contentRef.current){if(context.collapsed){hideElement(contentRef.current)}else{showElement(contentRef.current)}}}),[context.collapsed]);return jsx$1("div",{className:classnames(contentCSS,contentSpacing,"toggle-content",className),"data-collapsible-content":"true",ref:contentRef,children:children})};const colorMap={default:"#242B42",light:"#687887",lighter:"#C1CDD6",link:"#0056CF",error:"#FF2229",success:"#00CA74"};const CollapsibleIcon=({collapsed:collapsed,icon:icon,iconSize:iconSize,iconColor:iconColor,onIconClick:onIconClick})=>{const color=colorMap[iconColor];const showIcon=icon2=>{if(icon2==="none"){return[]}else if(typeof icon2==="string"){return[icon2,icon2]}return icon2};const handleIconClick=e2=>{if(onIconClick){e2.stopPropagation();onIconClick()}};return jsx$1(Fragment,{children:icon!=="none"?collapsed?jsx$1("div",{className:"icon_wrapper",onClick:e2=>handleIconClick(e2),style:{verticalAlign:"middle",color:color},children:jsx$1(Icon,{icon:icon?showIcon(icon)[0]:"chevron-down",size:iconSize})},icon?showIcon(icon)[0]:"chevron-down"):jsx$1("div",{className:"icon_wrapper",onClick:e2=>handleIconClick(e2),style:{verticalAlign:"middle",color:color},children:jsx$1(Icon,{icon:icon?showIcon(icon)[1]:"chevron-up",size:iconSize})},icon?showIcon(icon)[1]:"chevron-up"):jsx$1("div",{})})};const CollapsibleMain=({children:children,className:className,cursor:cursor2="pointer",...props})=>{const{collapsed:collapsed,toggle:toggle,icon:icon,iconSize:iconSize,iconColor:iconColor,onIconClick:onIconClick,onClick:onClick}=useContext(CollapsibleContext);const mainCSS=buildCss("pb_collapsible_main_kit");const mainSpacing=globalProps(props,{cursor:cursor2});const handleCollapsibleClick=()=>{onClick&&onClick();const disableToggle=onClick&&onClick();if(disableToggle!==true){toggle()}};return jsx$1("div",{className:classnames(mainCSS,mainSpacing,className),children:jsx$1("div",{onClick:handleCollapsibleClick,children:jsxs(Flex,{spacing:"between",vertical:"center",children:[jsx$1(FlexItem,{children:children}),jsx$1(FlexItem,{children:jsx$1(CollapsibleIcon,{collapsed:collapsed,icon:icon,iconColor:iconColor,iconSize:iconSize,onIconClick:onIconClick})})]})})})};const Collapsible=({aria:aria={},className:className,children:children,collapsed:collapsed=true,data:data={},htmlOptions:htmlOptions={},icon:icon,iconColor:iconColor="default",iconSize:iconSize,onIconClick:onIconClick,onClick:onClick,id:id,...props})=>{const[isCollapsed,toggle,setIsCollapsed]=useCollapsible(collapsed);useEffect((()=>{setIsCollapsed(collapsed)}),[collapsed]);if(children.length!==2){throw new Error("Collapsible requires <CollapsibleMain> and <CollapsibleContent> to function properly.")}const FirstChild=children[0];const Main=FirstChild.type===CollapsibleMain?FirstChild:null;const Content=children[1];const{children:mainChildren=null,...mainProps}=Main?Main.props:{};const{children:contentChildren,...contentProps}=Content.props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_collapsible_kit"),globalProps(props),className);return jsx$1(CollapsibleContext.Provider,{value:{collapsed:isCollapsed,toggle:toggle,icon:icon,iconSize:iconSize,iconColor:iconColor,onIconClick:onIconClick,onClick:onClick},children:jsxs("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id,children:[Main?jsx$1(CollapsibleMain,{...mainProps,children:mainChildren}):FirstChild,jsx$1(CollapsibleContent,{...contentProps,children:contentChildren})]})})};Collapsible.Main=CollapsibleMain;Collapsible.Content=CollapsibleContent;Collapsible.Icon=CollapsibleIcon;const Title=props=>{if(props.variant);const{aria:aria={},children:children,className:className,color:color,data:data={},htmlOptions:htmlOptions={},id:id,size:size=3,bold:bold=true,tag:tag="h3",text:text,variant:variant=null}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const getBold=bold?"":"thin";const isSizeNumberOrString=typeof size==="number"||typeof size==="string";const buildResponsiveSizeCss=()=>{let css4="";if(!isSizeNumberOrString){Object.entries(size).forEach((sizeObj=>{css4+=`pb_title_kit_${sizeObj[0]}_${sizeObj[1]} `}))}return css4.trim()};const classes=classnames(buildCss("pb_title_kit",isSizeNumberOrString?`size_${size}`:"",variant,color,getBold),globalProps(props),buildResponsiveSizeCss(),className);const Tag=`${tag}`;return jsx$1(Tag,{...ariaProps,...dataProps,...htmlProps,className:classes,id:id,children:text||children})};const SectionSeparator=props=>{const{aria:aria={},children:children,className:className,data:data={},htmlOptions:htmlOptions={},id:id,lineStyle:lineStyle="solid",orientation:orientation="horizontal",text:text,dark:dark=false,variant:variant="card"}=props;const ariaProps=buildAriaProps(aria);const dataProps=buildDataProps(data);const htmlProps=buildHtmlProps(htmlOptions);const classes=classnames(buildCss("pb_section_separator_kit",variant,orientation,lineStyle==="dashed"?lineStyle:""),globalProps(props),className);return jsx$1("div",{...ariaProps,...dataProps,...htmlProps,className:classes,id:id,children:children&&children||text&&jsx$1("span",{children:jsx$1(Caption,{dark:dark,text:text})})})};var lib={exports:{}};var Modal$2={};var propTypes={exports:{}};var ReactPropTypesSecret$1="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";var ReactPropTypesSecret_1=ReactPropTypesSecret$1;var ReactPropTypesSecret=ReactPropTypesSecret_1;function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction;var factoryWithThrowingShims=function(){function shim(props,propName,componentName,location,propFullName,secret){if(secret===ReactPropTypesSecret){return}var err=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");err.name="Invariant Violation";throw err}shim.isRequired=shim;function getShim(){return shim}var ReactPropTypes={array:shim,bigint:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,elementType:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes};{propTypes.exports=factoryWithThrowingShims()}var propTypesExports=propTypes.exports;const PropTypes=getDefaultExportFromCjs(propTypesExports);var ModalPortal={exports:{}};var focusManager={};var tabbable={exports:{}};(function(module,exports){Object.defineProperty(exports,"__esModule",{value:true});exports.default=findTabbableDescendants;
|
7
7
|
/*!
|
8
8
|
* Adapted from jQuery UI core
|
9
9
|
*
|