highcharts 13.0.0 → 13.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bower.json +1 -1
- package/css/highcharts.css +2 -1
- package/es-modules/Accessibility/A11yI18n.js +4 -4
- package/es-modules/Accessibility/Accessibility.js +38 -1
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +6 -4
- package/es-modules/Accessibility/Components/LegendComponent.js +3 -4
- package/es-modules/Accessibility/Components/NavigatorComponent.js +3 -4
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +13 -10
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +8 -4
- package/es-modules/Accessibility/Components/ZoomComponent.js +2 -2
- package/es-modules/Accessibility/FocusBorder.js +2 -2
- package/es-modules/Accessibility/Options/A11yDefaults.js +12 -3
- package/es-modules/Accessibility/Options/DeprecatedOptions.js +1 -2
- package/es-modules/Accessibility/ProxyElement.js +1 -0
- package/es-modules/Core/Animation/AnimationUtilities.js +34 -43
- package/es-modules/Core/Animation/Fx.js +16 -19
- package/es-modules/Core/Axis/Axis.js +49 -59
- package/es-modules/Core/Axis/Axis3DComposition.js +8 -6
- package/es-modules/Core/Axis/AxisDefaults.js +12 -2
- package/es-modules/Core/Axis/BrokenAxis.js +6 -5
- package/es-modules/Core/Axis/Color/ColorAxis.js +24 -12
- package/es-modules/Core/Axis/Color/ColorAxisComposition.js +3 -3
- package/es-modules/Core/Axis/GridAxis.js +12 -5
- package/es-modules/Core/Axis/LogarithmicAxis.js +5 -3
- package/es-modules/Core/Axis/NavigatorAxisComposition.js +2 -2
- package/es-modules/Core/Axis/OrdinalAxis.js +21 -11
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +3 -2
- package/es-modules/Core/Axis/RadialAxis.js +23 -22
- package/es-modules/Core/Axis/ScrollbarAxis.js +3 -3
- package/es-modules/Core/Axis/Stacking/StackItem.js +5 -5
- package/es-modules/Core/Axis/Stacking/StackingAxis.js +5 -6
- package/es-modules/Core/Axis/Tick.js +10 -11
- package/es-modules/Core/Axis/TreeGrid/TreeGridAxis.js +1 -1
- package/es-modules/Core/Axis/TreeGrid/TreeGridTick.js +3 -3
- package/es-modules/Core/Chart/Chart.js +58 -53
- package/es-modules/Core/Chart/Chart3D.js +3 -3
- package/es-modules/Core/Chart/ChartDefaults.js +24 -1
- package/es-modules/Core/Chart/MapChart.js +7 -10
- package/es-modules/Core/Chart/StockChart.js +15 -11
- package/es-modules/Core/Color/Color.js +3 -1
- package/es-modules/Core/Defaults.js +44 -2
- package/es-modules/Core/Globals.js +1 -1
- package/es-modules/Core/Legend/Legend.js +20 -17
- package/es-modules/Core/Legend/LegendSymbol.js +2 -2
- package/es-modules/Core/MSPointer.js +2 -2
- package/es-modules/Core/Math3D.js +6 -7
- package/es-modules/Core/Pointer.js +20 -10
- package/es-modules/Core/Renderer/HTML/AST.js +5 -1
- package/es-modules/Core/Renderer/HTML/HTMLElement.js +23 -16
- package/es-modules/Core/Renderer/RendererUtilities.js +2 -2
- package/es-modules/Core/Renderer/SVG/SVGElement.js +12 -11
- package/es-modules/Core/Renderer/SVG/SVGElement3D.js +2 -2
- package/es-modules/Core/Renderer/SVG/SVGLabel.js +5 -5
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +6 -6
- package/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +13 -12
- package/es-modules/Core/Renderer/SVG/Symbols.js +6 -5
- package/es-modules/Core/Renderer/SVG/TextBuilder.js +2 -2
- package/es-modules/Core/Responsive.js +7 -5
- package/es-modules/Core/Series/DataLabel.js +9 -8
- package/es-modules/Core/Series/OverlappingDataLabels.js +5 -2
- package/es-modules/Core/Series/Point.js +31 -24
- package/es-modules/Core/Series/Series.js +125 -82
- package/es-modules/Core/Series/Series3D.js +2 -2
- package/es-modules/Core/Series/SeriesDefaults.js +33 -0
- package/es-modules/Core/Templating.js +18 -15
- package/es-modules/Core/Tooltip.js +12 -9
- package/es-modules/Core/Utilities.js +4 -3
- package/es-modules/Data/Connectors/DataConnector.js +2 -2
- package/es-modules/Data/Connectors/GoogleSheetsConnector.js +2 -2
- package/es-modules/Data/DataTable.js +17 -0
- package/es-modules/Data/DataTableCore.js +1 -1
- package/es-modules/Extensions/Annotations/Annotation.js +5 -6
- package/es-modules/Extensions/Annotations/AnnotationChart.js +2 -2
- package/es-modules/Extensions/Annotations/AnnotationDefaults.js +4 -4
- package/es-modules/Extensions/Annotations/ControlPoint.js +2 -2
- package/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +2 -2
- package/es-modules/Extensions/Annotations/EventEmitter.js +4 -4
- package/es-modules/Extensions/Annotations/MockPoint.js +7 -9
- package/es-modules/Extensions/Annotations/NavigationBindings.js +6 -3
- package/es-modules/Extensions/Annotations/NavigationBindingsUtilities.js +31 -4
- package/es-modules/Extensions/Annotations/Popup/Popup.js +3 -2
- package/es-modules/Extensions/Annotations/Popup/PopupAnnotations.js +6 -8
- package/es-modules/Extensions/Annotations/Types/CrookedLine.js +4 -4
- package/es-modules/Extensions/Annotations/Types/Measure.js +28 -10
- package/es-modules/Extensions/Annotations/Types/TimeCycles.js +4 -2
- package/es-modules/Extensions/Annotations/Types/Tunnel.js +3 -1
- package/es-modules/Extensions/Annotations/Types/VerticalLine.js +3 -3
- package/es-modules/Extensions/Boost/Boost.js +13 -0
- package/es-modules/Extensions/Boost/BoostChart.js +11 -4
- package/es-modules/Extensions/Boost/BoostSeries.js +17 -11
- package/es-modules/Extensions/Boost/WGLRenderer.js +9 -6
- package/es-modules/Extensions/Boost/WGLShader.js +3 -3
- package/es-modules/Extensions/BoostCanvas.js +2 -2
- package/es-modules/Extensions/BorderRadius.js +12 -10
- package/es-modules/Extensions/Breadcrumbs/Breadcrumbs.js +6 -5
- package/es-modules/Extensions/DataGrouping/DataGrouping.js +2 -2
- package/es-modules/Extensions/DataGrouping/DataGroupingAxisComposition.js +4 -3
- package/es-modules/Extensions/DataGrouping/DataGroupingSeriesComposition.js +2 -2
- package/es-modules/Extensions/DraggablePoints/DragDropProps.js +2 -3
- package/es-modules/Extensions/DraggablePoints/DraggableChart.js +1 -2
- package/es-modules/Extensions/Drilldown/Drilldown.js +1 -2
- package/es-modules/Extensions/Drilldown/DrilldownSeries.js +1 -2
- package/es-modules/Extensions/ExportData/ExportData.js +21 -16
- package/es-modules/Extensions/Exporting/Exporting.js +28 -28
- package/es-modules/Extensions/Exporting/ExportingDefaults.js +32 -0
- package/es-modules/Extensions/MarkerClusters/MarkerClusterScatter.js +1 -2
- package/es-modules/Extensions/MarkerClusters/MarkerClusters.js +1 -2
- package/es-modules/Extensions/MouseWheelZoom/MouseWheelZoom.js +2 -2
- package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +31 -4
- package/es-modules/Extensions/Pane/PaneComposition.js +2 -2
- package/es-modules/Extensions/Pane/PaneDefaults.js +1 -1
- package/es-modules/Extensions/ParallelCoordinates/ParallelAxis.js +2 -2
- package/es-modules/Extensions/ParallelCoordinates/ParallelCoordinates.js +3 -0
- package/es-modules/Extensions/PatternFill.js +7 -5
- package/es-modules/Extensions/PriceIndication.js +5 -4
- package/es-modules/Extensions/ScrollablePlotArea.js +8 -2
- package/es-modules/Extensions/SeriesLabel/SeriesLabel.js +8 -9
- package/es-modules/Extensions/Sonification/MIDI.js +2 -3
- package/es-modules/Extensions/Sonification/Sonification.js +2 -2
- package/es-modules/Extensions/Sonification/SonificationSpeaker.js +3 -2
- package/es-modules/Extensions/Sonification/SynthPatch.js +4 -4
- package/es-modules/Extensions/Sonification/TimelineFromChart.js +11 -11
- package/es-modules/Gantt/Legacy.js +2 -2
- package/es-modules/Gantt/Pathfinder.js +3 -3
- package/es-modules/Gantt/PathfinderAlgorithms.js +4 -3
- package/es-modules/Gantt/Tree.js +1 -1
- package/es-modules/Maps/GeoJSONComposition.js +14 -1
- package/es-modules/Maps/MapNavigation.js +4 -4
- package/es-modules/Maps/MapPointer.js +2 -2
- package/es-modules/Maps/MapView.js +3 -3
- package/es-modules/Series/ArcDiagram/ArcDiagramSeries.js +8 -6
- package/es-modules/Series/Area/AreaSeries.js +4 -5
- package/es-modules/Series/AreaRange/AreaRangeSeries.js +87 -147
- package/es-modules/Series/AreaRange/AreaRangeSeriesDefaults.js +42 -4
- package/es-modules/Series/Bellcurve/BellcurveSeries.js +10 -6
- package/es-modules/Series/BoxPlot/BoxPlotSeries.js +40 -32
- package/es-modules/Series/BoxPlot/BoxPlotSeriesDefaults.js +33 -1
- package/es-modules/Series/Bubble/BubbleLegendItem.js +10 -6
- package/es-modules/Series/Bubble/BubbleSeries.js +25 -9
- package/es-modules/Series/Bullet/BulletSeries.js +17 -10
- package/es-modules/Series/Candlestick/CandlestickSeries.js +3 -3
- package/es-modules/Series/CenteredUtilities.js +12 -9
- package/es-modules/Series/ColorMapComposition.js +7 -4
- package/es-modules/Series/Column/ColumnPoint.js +2 -0
- package/es-modules/Series/Column/ColumnSeries.js +14 -14
- package/es-modules/Series/Column/ColumnSeriesDefaults.js +4 -2
- package/es-modules/Series/Column3D/Column3DComposition.js +22 -19
- package/es-modules/Series/ColumnPyramid/ColumnPyramidPoint.js +18 -0
- package/es-modules/Series/ColumnPyramid/ColumnPyramidPointOptions.js +12 -0
- package/es-modules/Series/ColumnPyramid/ColumnPyramidSeries.js +7 -6
- package/es-modules/Series/ColumnPyramid/ColumnPyramidSeriesOptions.js +12 -0
- package/es-modules/Series/ColumnRange/ColumnRangePoint.js +2 -0
- package/es-modules/Series/ColumnRange/ColumnRangePointOptions.js +12 -0
- package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +13 -144
- package/es-modules/Series/ColumnRange/ColumnRangeSeriesDefaults.js +148 -0
- package/es-modules/Series/ColumnRange/ColumnRangeSeriesOptions.js +12 -0
- package/es-modules/Series/Contour/ContourPoint.js +2 -0
- package/es-modules/Series/Contour/ContourSeries.js +1 -0
- package/es-modules/Series/Contour/ContourSeriesDefaults.js +7 -0
- package/es-modules/Series/Contour/ContourShader.js +9 -1
- package/es-modules/Series/CrossSymbol.js +3 -2
- package/es-modules/Series/Cylinder/CylinderComposition.js +12 -12
- package/es-modules/Series/Cylinder/CylinderPoint.js +2 -0
- package/es-modules/Series/Cylinder/CylinderPointOptions.js +15 -0
- package/es-modules/Series/Cylinder/CylinderSeries.js +2 -1
- package/es-modules/Series/Cylinder/CylinderSeriesOptions.js +15 -0
- package/es-modules/Series/Cylinder/SVGElement3DCylinder.js +2 -0
- package/es-modules/Series/DataModifyComposition.js +9 -7
- package/es-modules/Series/DependencyWheel/DependencyWheelPoint.js +3 -1
- package/es-modules/Series/DependencyWheel/DependencyWheelPointOptions.js +14 -0
- package/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +8 -8
- package/es-modules/Series/DependencyWheel/DependencyWheelSeriesOptions.js +14 -0
- package/es-modules/Series/DerivedComposition.js +9 -8
- package/es-modules/Series/DotPlot/DotPlotPoint.js +18 -0
- package/es-modules/Series/DotPlot/DotPlotPointOptions.js +12 -0
- package/es-modules/Series/DotPlot/DotPlotSeries.js +6 -4
- package/es-modules/Series/DotPlot/DotPlotSeriesOptions.js +12 -0
- package/es-modules/Series/DragNodesComposition.js +11 -8
- package/es-modules/Series/DrawPointUtilities.js +3 -1
- package/es-modules/Series/Dumbbell/DumbbellPoint.js +19 -6
- package/es-modules/Series/Dumbbell/DumbbellPointOptions.js +12 -0
- package/es-modules/Series/Dumbbell/DumbbellSeries.js +33 -15
- package/es-modules/Series/Dumbbell/DumbbellSeriesOptions.js +12 -0
- package/es-modules/Series/ErrorBar/ErrorBarPoint.js +18 -0
- package/es-modules/Series/ErrorBar/ErrorBarPointOptions.js +12 -0
- package/es-modules/Series/ErrorBar/ErrorBarSeries.js +6 -9
- package/es-modules/Series/ErrorBar/ErrorBarSeriesDefaults.js +15 -1
- package/es-modules/Series/ErrorBar/ErrorBarSeriesOptions.js +12 -0
- package/es-modules/Series/Flags/FlagsSeries.js +5 -14
- package/es-modules/Series/Flags/FlagsSeriesDefaults.js +2 -1
- package/es-modules/Series/FlowMap/FlowMapPoint.js +5 -3
- package/es-modules/Series/FlowMap/FlowMapSeries.js +17 -9
- package/es-modules/Series/Funnel/FunnelSeries.js +25 -26
- package/es-modules/Series/Funnel/FunnelSeriesDefaults.js +12 -0
- package/es-modules/Series/Funnel3D/Funnel3DSeries.js +7 -5
- package/es-modules/Series/Gantt/GanttSeries.js +2 -1
- package/es-modules/Series/Gauge/GaugeSeries.js +2 -2
- package/es-modules/Series/GeoHeatmap/GeoHeatmapSeries.js +9 -9
- package/es-modules/Series/GraphLayoutComposition.js +3 -3
- package/es-modules/Series/Heatmap/HeatmapPoint.js +6 -6
- package/es-modules/Series/Heatmap/HeatmapPointOptions.js +12 -0
- package/es-modules/Series/Heatmap/HeatmapSeries.js +13 -13
- package/es-modules/Series/Heatmap/HeatmapSeriesOptions.js +12 -0
- package/es-modules/Series/Histogram/HistogramPoint.js +17 -0
- package/es-modules/Series/Histogram/HistogramPointOptions.js +12 -0
- package/es-modules/Series/Histogram/HistogramSeries.js +15 -3
- package/es-modules/Series/Histogram/HistogramSeriesOptions.js +12 -0
- package/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +9 -9
- package/es-modules/Series/InterpolationUtilities.js +5 -5
- package/es-modules/Series/Item/ItemPointOptions.js +14 -0
- package/es-modules/Series/Item/ItemSeries.js +18 -6
- package/es-modules/Series/Item/ItemSeriesOptions.js +14 -0
- package/es-modules/Series/Map/MapPoint.js +5 -3
- package/es-modules/Series/Map/MapSeries.js +6 -10
- package/es-modules/Series/Map/MapSeriesDefaults.js +11 -1
- package/es-modules/Series/Networkgraph/NetworkgraphPoint.js +3 -3
- package/es-modules/Series/Networkgraph/NetworkgraphSeries.js +14 -9
- package/es-modules/Series/Networkgraph/NetworkgraphSeriesDefaults.js +12 -0
- package/es-modules/Series/Networkgraph/ReingoldFruchtermanLayout.js +18 -9
- package/es-modules/Series/NodesComposition.js +9 -10
- package/es-modules/Series/OHLC/OHLCPoint.js +2 -2
- package/es-modules/Series/OHLC/OHLCSeries.js +1 -0
- package/es-modules/Series/Organization/OrganizationPoint.js +3 -2
- package/es-modules/Series/Organization/OrganizationSeries.js +29 -7
- package/es-modules/Series/Organization/OrganizationSeriesDefaults.js +11 -4
- package/es-modules/Series/PackedBubble/PackedBubbleLayout.js +3 -3
- package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +5 -5
- package/es-modules/Series/Pictorial/PictorialSeries.js +4 -2
- package/es-modules/Series/Pie/PieDataLabel.js +2 -2
- package/es-modules/Series/Pie/PiePoint.js +3 -4
- package/es-modules/Series/Pie/PieSeries.js +3 -2
- package/es-modules/Series/Pie3D/Pie3DSeries.js +8 -4
- package/es-modules/Series/PolarComposition.js +13 -14
- package/es-modules/Series/Polygon/PolygonSeries.js +2 -2
- package/es-modules/Series/Polygon/PolygonSeriesDefaults.js +20 -0
- package/es-modules/Series/RangeDataLabel.js +128 -0
- package/es-modules/Series/Sankey/SankeySeries.js +13 -7
- package/es-modules/Series/Sankey/SankeySeriesDefaults.js +2 -2
- package/es-modules/Series/Scatter/ScatterSeries.js +6 -5
- package/es-modules/Series/Scatter/ScatterSeriesDefaults.js +2 -0
- package/es-modules/Series/SimulationSeriesUtilities.js +1 -2
- package/es-modules/Series/SolidGauge/SolidGaugeSeries.js +4 -4
- package/es-modules/Series/Spline/SplineSeries.js +5 -5
- package/es-modules/Series/Sunburst/SunburstSeriesDefaults.js +8 -0
- package/es-modules/Series/TiledWebMap/TiledWebMapSeries.js +20 -12
- package/es-modules/Series/Tilemap/TilemapSeriesDefaults.js +2 -1
- package/es-modules/Series/Tilemap/TilemapShapes.js +2 -2
- package/es-modules/Series/Timeline/TimelinePoint.js +2 -2
- package/es-modules/Series/Timeline/TimelineSeries.js +13 -6
- package/es-modules/Series/TreeUtilities.js +16 -7
- package/es-modules/Series/Treegraph/TreegraphLink.js +2 -2
- package/es-modules/Series/Treegraph/TreegraphSeries.js +22 -13
- package/es-modules/Series/Treemap/TreemapPoint.js +2 -2
- package/es-modules/Series/Treemap/TreemapSeries.js +14 -11
- package/es-modules/Series/Treemap/TreemapSeriesDefaults.js +22 -1
- package/es-modules/Series/VariablePie/VariablePieSeries.js +6 -4
- package/es-modules/Series/VariablePie/VariablePieSeriesDefaults.js +3 -2
- package/es-modules/Series/Variwide/VariwideSeries.js +2 -2
- package/es-modules/Series/Vector/VectorSeries.js +7 -9
- package/es-modules/Series/Venn/VennSeries.js +3 -4
- package/es-modules/Series/Waterfall/WaterfallSeries.js +3 -3
- package/es-modules/Series/Windbarb/WindbarbSeries.js +8 -10
- package/es-modules/Series/XRange/XRangeSeries.js +8 -8
- package/es-modules/Shared/TimeBase.js +13 -8
- package/es-modules/Shared/Utilities.js +9 -7
- package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +3 -3
- package/es-modules/Stock/Indicators/DPO/DPOIndicator.js +4 -3
- package/es-modules/Stock/Indicators/RSI/RSIIndicator.js +1 -1
- package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +2 -2
- package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +1 -2
- package/es-modules/Stock/Navigator/ChartNavigatorComposition.js +4 -4
- package/es-modules/Stock/Navigator/Navigator.js +26 -26
- package/es-modules/Stock/Navigator/NavigatorDefaults.js +9 -2
- package/es-modules/Stock/Navigator/NavigatorSymbols.js +2 -1
- package/es-modules/Stock/Navigator/StandaloneNavigator.js +55 -14
- package/es-modules/Stock/RangeSelector/RangeSelector.js +15 -11
- package/es-modules/Stock/RangeSelector/RangeSelectorComposition.js +3 -3
- package/es-modules/Stock/Scrollbar/Scrollbar.js +8 -7
- package/es-modules/Stock/StockTools/StockToolbar.js +6 -6
- package/es-modules/Stock/StockTools/StockTools.js +2 -2
- package/es-modules/Stock/StockTools/StockToolsBindings.js +7 -7
- package/es-modules/Stock/StockTools/StockToolsGui.js +6 -4
- package/es-modules/masters/highcharts-3d.src.js +1 -1
- package/es-modules/masters/highcharts-autoload.src.js +1 -1
- package/es-modules/masters/highcharts-gantt.src.js +1 -1
- package/es-modules/masters/highcharts-more.src.js +1 -1
- package/es-modules/masters/highcharts.src.js +13 -8
- package/es-modules/masters/highmaps.src.js +1 -1
- package/es-modules/masters/highstock.src.js +1 -1
- package/es-modules/masters/i18n/fr-FR.src.d.ts +1 -1
- package/es-modules/masters/i18n/fr-FR.src.js +1 -1
- package/es-modules/masters/i18n/nb-NO.src.d.ts +1 -1
- package/es-modules/masters/i18n/nb-NO.src.js +1 -1
- package/es-modules/masters/i18n/zh-CN.src.d.ts +1 -1
- package/es-modules/masters/i18n/zh-CN.src.js +1 -1
- package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
- package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
- package/es-modules/masters/indicators/ao.src.js +1 -1
- package/es-modules/masters/indicators/apo.src.js +1 -1
- package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
- package/es-modules/masters/indicators/aroon.src.js +1 -1
- package/es-modules/masters/indicators/atr.src.js +1 -1
- package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
- package/es-modules/masters/indicators/cci.src.js +1 -1
- package/es-modules/masters/indicators/chaikin.src.js +1 -1
- package/es-modules/masters/indicators/cmf.src.js +1 -1
- package/es-modules/masters/indicators/cmo.src.js +1 -1
- package/es-modules/masters/indicators/dema.src.js +1 -1
- package/es-modules/masters/indicators/disparity-index.src.js +1 -1
- package/es-modules/masters/indicators/dmi.src.js +1 -1
- package/es-modules/masters/indicators/dpo.src.js +1 -1
- package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/es-modules/masters/indicators/indicators-all.src.js +1 -1
- package/es-modules/masters/indicators/indicators.src.js +1 -1
- package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
- package/es-modules/masters/indicators/klinger.src.js +1 -1
- package/es-modules/masters/indicators/macd.src.js +1 -1
- package/es-modules/masters/indicators/mfi.src.js +1 -1
- package/es-modules/masters/indicators/momentum.src.js +1 -1
- package/es-modules/masters/indicators/natr.src.js +1 -1
- package/es-modules/masters/indicators/obv.src.js +1 -1
- package/es-modules/masters/indicators/pivot-points.src.js +1 -1
- package/es-modules/masters/indicators/ppo.src.js +1 -1
- package/es-modules/masters/indicators/price-channel.src.js +1 -1
- package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
- package/es-modules/masters/indicators/psar.src.js +1 -1
- package/es-modules/masters/indicators/regressions.src.js +1 -1
- package/es-modules/masters/indicators/roc.src.js +1 -1
- package/es-modules/masters/indicators/rsi.src.js +1 -1
- package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
- package/es-modules/masters/indicators/stochastic.src.js +1 -1
- package/es-modules/masters/indicators/supertrend.src.js +1 -1
- package/es-modules/masters/indicators/tema.src.js +1 -1
- package/es-modules/masters/indicators/trendline.src.js +1 -1
- package/es-modules/masters/indicators/trix.src.js +1 -1
- package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
- package/es-modules/masters/indicators/vwap.src.js +1 -1
- package/es-modules/masters/indicators/williams-r.src.js +1 -1
- package/es-modules/masters/indicators/wma.src.js +1 -1
- package/es-modules/masters/indicators/zigzag.src.js +1 -1
- package/es-modules/masters/modules/accessibility.src.js +1 -1
- package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
- package/es-modules/masters/modules/annotations.src.js +1 -1
- package/es-modules/masters/modules/arc-diagram.src.js +1 -1
- package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
- package/es-modules/masters/modules/boost-canvas.src.js +1 -1
- package/es-modules/masters/modules/boost.src.js +1 -1
- package/es-modules/masters/modules/broken-axis.src.js +1 -1
- package/es-modules/masters/modules/bullet.src.js +1 -1
- package/es-modules/masters/modules/coloraxis.src.js +1 -1
- package/es-modules/masters/modules/contour.src.js +1 -1
- package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
- package/es-modules/masters/modules/cylinder.src.js +1 -1
- package/es-modules/masters/modules/data-sorting.src.js +1 -1
- package/es-modules/masters/modules/data-tools.src.js +1 -1
- package/es-modules/masters/modules/data.src.js +1 -1
- package/es-modules/masters/modules/datagrouping.src.js +1 -1
- package/es-modules/masters/modules/debugger.src.js +1 -1
- package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
- package/es-modules/masters/modules/dotplot.src.js +1 -1
- package/es-modules/masters/modules/drag-panes.src.js +1 -1
- package/es-modules/masters/modules/draggable-points.src.js +1 -1
- package/es-modules/masters/modules/drilldown.src.js +1 -1
- package/es-modules/masters/modules/dumbbell.src.js +1 -1
- package/es-modules/masters/modules/export-data.src.js +1 -1
- package/es-modules/masters/modules/exporting.src.js +1 -1
- package/es-modules/masters/modules/flowmap.src.js +2 -1
- package/es-modules/masters/modules/full-screen.src.js +1 -1
- package/es-modules/masters/modules/funnel.src.js +1 -1
- package/es-modules/masters/modules/funnel3d.src.js +1 -1
- package/es-modules/masters/modules/gantt.src.js +1 -1
- package/es-modules/masters/modules/geoheatmap.src.js +1 -1
- package/es-modules/masters/modules/grid-axis.src.js +1 -1
- package/es-modules/masters/modules/heatmap.src.js +1 -1
- package/es-modules/masters/modules/heikinashi.src.js +1 -1
- package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
- package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
- package/es-modules/masters/modules/item-series.src.js +1 -1
- package/es-modules/masters/modules/lollipop.src.js +1 -1
- package/es-modules/masters/modules/map.src.js +1 -1
- package/es-modules/masters/modules/marker-clusters.src.js +1 -1
- package/es-modules/masters/modules/mouse-wheel-zoom.src.js +1 -1
- package/es-modules/masters/modules/navigator.src.js +1 -1
- package/es-modules/masters/modules/networkgraph.src.js +1 -1
- package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
- package/es-modules/masters/modules/non-cartesian-zoom.src.js +1 -1
- package/es-modules/masters/modules/offline-exporting.src.js +1 -1
- package/es-modules/masters/modules/organization.src.js +1 -1
- package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
- package/es-modules/masters/modules/pareto.src.js +1 -1
- package/es-modules/masters/modules/pathfinder.src.js +1 -1
- package/es-modules/masters/modules/pattern-fill.src.js +1 -1
- package/es-modules/masters/modules/pictorial.src.js +1 -1
- package/es-modules/masters/modules/pointandfigure.src.js +1 -1
- package/es-modules/masters/modules/price-indicator.src.js +1 -1
- package/es-modules/masters/modules/pyramid3d.src.js +1 -1
- package/es-modules/masters/modules/renko.src.js +1 -1
- package/es-modules/masters/modules/sankey.src.js +1 -1
- package/es-modules/masters/modules/series-label.src.js +1 -1
- package/es-modules/masters/modules/series-on-point.src.js +1 -1
- package/es-modules/masters/modules/solid-gauge.src.js +1 -1
- package/es-modules/masters/modules/sonification.src.js +1 -1
- package/es-modules/masters/modules/static-scale.src.js +1 -1
- package/es-modules/masters/modules/stock-tools.src.js +1 -1
- package/es-modules/masters/modules/stock.src.js +1 -1
- package/es-modules/masters/modules/streamgraph.src.js +1 -1
- package/es-modules/masters/modules/sunburst.src.js +3 -2
- package/es-modules/masters/modules/textpath.src.js +1 -1
- package/es-modules/masters/modules/tiledwebmap.src.js +1 -1
- package/es-modules/masters/modules/tilemap.src.js +1 -1
- package/es-modules/masters/modules/timeline.src.js +1 -1
- package/es-modules/masters/modules/treegraph.src.js +1 -1
- package/es-modules/masters/modules/treegrid.src.js +1 -1
- package/es-modules/masters/modules/treemap.src.js +1 -1
- package/es-modules/masters/modules/variable-pie.src.js +1 -1
- package/es-modules/masters/modules/variwide.src.js +1 -1
- package/es-modules/masters/modules/vector.src.js +1 -1
- package/es-modules/masters/modules/venn.src.js +1 -1
- package/es-modules/masters/modules/windbarb.src.js +1 -1
- package/es-modules/masters/modules/wordcloud.src.js +1 -1
- package/es-modules/masters/modules/xrange.src.js +1 -1
- package/es-modules/masters/standalone-navigator.src.js +1 -1
- package/es-modules/masters/themes/adaptive.src.js +1 -1
- package/es-modules/masters/themes/avocado.src.js +1 -1
- package/es-modules/masters/themes/dark-unica.src.js +1 -1
- package/es-modules/masters/themes/grid-light.src.js +1 -1
- package/es-modules/masters/themes/high-contrast.src.js +1 -1
- package/es-modules/masters/themes/sand-signika.src.js +1 -1
- package/es-modules/masters/themes/sunset.src.js +1 -1
- package/es-modules/tsconfig.tsbuildinfo +1 -1
- package/esm/highcharts-3d.js +2 -2
- package/esm/highcharts-3d.src.js +78 -55
- package/esm/highcharts-autoload.js +2 -2
- package/esm/highcharts-autoload.src.js +22 -8
- package/esm/highcharts-gantt.js +2 -2
- package/esm/highcharts-gantt.src.js +1 -24
- package/esm/highcharts-more.js +2 -2
- package/esm/highcharts-more.src.js +1198 -981
- package/esm/highcharts.js +5 -5
- package/esm/highcharts.src.js +702 -515
- package/esm/highmaps.js +2 -2
- package/esm/highmaps.src.js +1 -24
- package/esm/highstock.js +2 -2
- package/esm/highstock.src.js +1 -24
- package/esm/i18n/fr-FR.js +2 -2
- package/esm/i18n/fr-FR.src.js +22 -8
- package/esm/i18n/nb-NO.js +2 -2
- package/esm/i18n/nb-NO.src.js +22 -8
- package/esm/i18n/zh-CN.js +2 -2
- package/esm/i18n/zh-CN.src.js +22 -8
- package/esm/indicators/acceleration-bands.js +2 -2
- package/esm/indicators/acceleration-bands.src.js +22 -8
- package/esm/indicators/accumulation-distribution.js +2 -2
- package/esm/indicators/accumulation-distribution.src.js +22 -8
- package/esm/indicators/ao.js +2 -2
- package/esm/indicators/ao.src.js +22 -8
- package/esm/indicators/apo.js +2 -2
- package/esm/indicators/apo.src.js +22 -8
- package/esm/indicators/aroon-oscillator.js +2 -2
- package/esm/indicators/aroon-oscillator.src.js +22 -8
- package/esm/indicators/aroon.js +2 -2
- package/esm/indicators/aroon.src.js +24 -10
- package/esm/indicators/atr.js +2 -2
- package/esm/indicators/atr.src.js +22 -8
- package/esm/indicators/bollinger-bands.js +2 -2
- package/esm/indicators/bollinger-bands.src.js +22 -8
- package/esm/indicators/cci.js +2 -2
- package/esm/indicators/cci.src.js +22 -8
- package/esm/indicators/chaikin.js +2 -2
- package/esm/indicators/chaikin.src.js +22 -8
- package/esm/indicators/cmf.js +2 -2
- package/esm/indicators/cmf.src.js +22 -8
- package/esm/indicators/cmo.js +2 -2
- package/esm/indicators/cmo.src.js +22 -8
- package/esm/indicators/dema.js +2 -2
- package/esm/indicators/dema.src.js +22 -8
- package/esm/indicators/disparity-index.js +2 -2
- package/esm/indicators/disparity-index.src.js +22 -8
- package/esm/indicators/dmi.js +2 -2
- package/esm/indicators/dmi.src.js +22 -8
- package/esm/indicators/dpo.js +2 -2
- package/esm/indicators/dpo.src.js +25 -10
- package/esm/indicators/ichimoku-kinko-hyo.js +2 -2
- package/esm/indicators/ichimoku-kinko-hyo.src.js +22 -8
- package/esm/indicators/indicators-all.js +2 -2
- package/esm/indicators/indicators-all.src.js +31 -17
- package/esm/indicators/indicators.js +2 -2
- package/esm/indicators/indicators.src.js +24 -10
- package/esm/indicators/keltner-channels.js +2 -2
- package/esm/indicators/keltner-channels.src.js +22 -8
- package/esm/indicators/klinger.js +2 -2
- package/esm/indicators/klinger.src.js +22 -8
- package/esm/indicators/macd.js +2 -2
- package/esm/indicators/macd.src.js +22 -8
- package/esm/indicators/mfi.js +2 -2
- package/esm/indicators/mfi.src.js +22 -8
- package/esm/indicators/momentum.js +2 -2
- package/esm/indicators/momentum.src.js +22 -8
- package/esm/indicators/natr.js +2 -2
- package/esm/indicators/natr.src.js +22 -8
- package/esm/indicators/obv.js +2 -2
- package/esm/indicators/obv.src.js +22 -8
- package/esm/indicators/pivot-points.js +2 -2
- package/esm/indicators/pivot-points.src.js +22 -8
- package/esm/indicators/ppo.js +2 -2
- package/esm/indicators/ppo.src.js +22 -8
- package/esm/indicators/price-channel.js +2 -2
- package/esm/indicators/price-channel.src.js +22 -8
- package/esm/indicators/price-envelopes.js +2 -2
- package/esm/indicators/price-envelopes.src.js +22 -8
- package/esm/indicators/psar.js +2 -2
- package/esm/indicators/psar.src.js +22 -8
- package/esm/indicators/regressions.js +2 -2
- package/esm/indicators/regressions.src.js +22 -8
- package/esm/indicators/roc.js +2 -2
- package/esm/indicators/roc.src.js +22 -8
- package/esm/indicators/rsi.js +2 -2
- package/esm/indicators/rsi.src.js +23 -9
- package/esm/indicators/slow-stochastic.js +2 -2
- package/esm/indicators/slow-stochastic.src.js +22 -8
- package/esm/indicators/stochastic.js +2 -2
- package/esm/indicators/stochastic.src.js +22 -8
- package/esm/indicators/supertrend.js +2 -2
- package/esm/indicators/supertrend.src.js +22 -8
- package/esm/indicators/tema.js +2 -2
- package/esm/indicators/tema.src.js +22 -8
- package/esm/indicators/trendline.js +2 -2
- package/esm/indicators/trendline.src.js +22 -8
- package/esm/indicators/trix.js +2 -2
- package/esm/indicators/trix.src.js +22 -8
- package/esm/indicators/volume-by-price.js +2 -2
- package/esm/indicators/volume-by-price.src.js +23 -10
- package/esm/indicators/vwap.js +2 -2
- package/esm/indicators/vwap.src.js +22 -8
- package/esm/indicators/williams-r.js +2 -2
- package/esm/indicators/williams-r.src.js +22 -8
- package/esm/indicators/wma.js +2 -2
- package/esm/indicators/wma.src.js +22 -8
- package/esm/indicators/zigzag.js +2 -2
- package/esm/indicators/zigzag.src.js +22 -8
- package/esm/modules/accessibility.js +2 -2
- package/esm/modules/accessibility.src.js +564 -92
- package/esm/modules/annotations-advanced.js +11 -11
- package/esm/modules/annotations-advanced.src.js +224 -162
- package/esm/modules/annotations.js +11 -11
- package/esm/modules/annotations.src.js +184 -144
- package/esm/modules/arc-diagram.js +2 -2
- package/esm/modules/arc-diagram.src.js +37 -22
- package/esm/modules/arrow-symbols.js +3 -3
- package/esm/modules/arrow-symbols.src.js +22 -8
- package/esm/modules/boost-canvas.js +2 -2
- package/esm/modules/boost-canvas.src.js +60 -30
- package/esm/modules/boost.js +2 -2
- package/esm/modules/boost.src.js +72 -29
- package/esm/modules/broken-axis.js +2 -2
- package/esm/modules/broken-axis.src.js +27 -12
- package/esm/modules/bullet.js +2 -2
- package/esm/modules/bullet.src.js +38 -17
- package/esm/modules/coloraxis.js +2 -2
- package/esm/modules/coloraxis.src.js +47 -21
- package/esm/modules/contour.js +3 -3
- package/esm/modules/contour.src.js +46 -13
- package/esm/modules/current-date-indicator.js +2 -2
- package/esm/modules/current-date-indicator.src.js +22 -8
- package/esm/modules/cylinder.js +2 -2
- package/esm/modules/cylinder.src.js +46 -28
- package/esm/modules/data-sorting.js +2 -2
- package/esm/modules/data-sorting.src.js +22 -8
- package/esm/modules/data-tools.js +2 -2
- package/esm/modules/data-tools.src.js +44 -13
- package/esm/modules/data.js +4 -4
- package/esm/modules/data.src.js +23 -9
- package/esm/modules/datagrouping.js +2 -2
- package/esm/modules/datagrouping.src.js +28 -13
- package/esm/modules/debugger.js +2 -2
- package/esm/modules/debugger.src.js +22 -8
- package/esm/modules/dependency-wheel.js +2 -2
- package/esm/modules/dependency-wheel.src.js +428 -17
- package/esm/modules/dotplot.js +2 -2
- package/esm/modules/dotplot.src.js +27 -11
- package/esm/modules/drag-panes.js +2 -2
- package/esm/modules/drag-panes.src.js +22 -8
- package/esm/modules/draggable-points.js +2 -2
- package/esm/modules/draggable-points.src.js +24 -12
- package/esm/modules/drilldown.js +2 -2
- package/esm/modules/drilldown.src.js +38 -25
- package/esm/modules/dumbbell.js +2 -2
- package/esm/modules/dumbbell.src.js +72 -27
- package/esm/modules/export-data.js +2 -2
- package/esm/modules/export-data.src.js +42 -23
- package/esm/modules/exporting.js +2 -2
- package/esm/modules/exporting.src.js +83 -37
- package/esm/modules/flowmap.js +3 -2
- package/esm/modules/flowmap.src.js +43 -18
- package/esm/modules/full-screen.js +2 -2
- package/esm/modules/full-screen.src.js +22 -8
- package/esm/modules/funnel.js +2 -2
- package/esm/modules/funnel.src.js +73 -42
- package/esm/modules/funnel3d.js +2 -2
- package/esm/modules/funnel3d.src.js +35 -20
- package/esm/modules/gantt.js +2 -2
- package/esm/modules/gantt.src.js +542 -100
- package/esm/modules/geoheatmap.js +2 -2
- package/esm/modules/geoheatmap.src.js +35 -21
- package/esm/modules/grid-axis.js +2 -2
- package/esm/modules/grid-axis.src.js +33 -12
- package/esm/modules/heatmap.js +2 -2
- package/esm/modules/heatmap.src.js +50 -33
- package/esm/modules/heikinashi.js +2 -2
- package/esm/modules/heikinashi.src.js +22 -8
- package/esm/modules/histogram-bellcurve.js +2 -2
- package/esm/modules/histogram-bellcurve.src.js +56 -25
- package/esm/modules/hollowcandlestick.js +2 -2
- package/esm/modules/hollowcandlestick.src.js +31 -17
- package/esm/modules/item-series.js +2 -2
- package/esm/modules/item-series.src.js +72 -13
- package/esm/modules/lollipop.js +2 -2
- package/esm/modules/lollipop.src.js +22 -8
- package/esm/modules/map.js +2 -2
- package/esm/modules/map.src.js +148 -91
- package/esm/modules/marker-clusters.js +2 -2
- package/esm/modules/marker-clusters.src.js +25 -13
- package/esm/modules/mouse-wheel-zoom.js +2 -2
- package/esm/modules/mouse-wheel-zoom.src.js +54 -13
- package/esm/modules/navigator.js +2 -2
- package/esm/modules/navigator.src.js +534 -74
- package/esm/modules/networkgraph.js +2 -2
- package/esm/modules/networkgraph.src.js +87 -46
- package/esm/modules/no-data-to-display.js +2 -2
- package/esm/modules/no-data-to-display.src.js +22 -8
- package/esm/modules/non-cartesian-zoom.js +2 -2
- package/esm/modules/non-cartesian-zoom.src.js +22 -8
- package/esm/modules/offline-exporting.js +2 -2
- package/esm/modules/offline-exporting.src.js +53 -12
- package/esm/modules/organization.js +4 -2
- package/esm/modules/organization.src.js +63 -19
- package/esm/modules/parallel-coordinates.js +2 -2
- package/esm/modules/parallel-coordinates.src.js +26 -9
- package/esm/modules/pareto.js +2 -2
- package/esm/modules/pareto.src.js +31 -16
- package/esm/modules/pathfinder.js +2 -2
- package/esm/modules/pathfinder.src.js +28 -13
- package/esm/modules/pattern-fill.js +2 -2
- package/esm/modules/pattern-fill.src.js +28 -12
- package/esm/modules/pictorial.js +2 -2
- package/esm/modules/pictorial.src.js +36 -19
- package/esm/modules/pointandfigure.js +2 -2
- package/esm/modules/pointandfigure.src.js +26 -11
- package/esm/modules/price-indicator.js +2 -2
- package/esm/modules/price-indicator.src.js +26 -11
- package/esm/modules/pyramid3d.js +2 -2
- package/esm/modules/pyramid3d.src.js +22 -8
- package/esm/modules/renko.js +2 -2
- package/esm/modules/renko.src.js +22 -8
- package/esm/modules/sankey.js +2 -2
- package/esm/modules/sankey.src.js +59 -31
- package/esm/modules/series-label.js +2 -2
- package/esm/modules/series-label.src.js +31 -18
- package/esm/modules/series-on-point.js +2 -2
- package/esm/modules/series-on-point.src.js +23 -9
- package/esm/modules/solid-gauge.js +2 -2
- package/esm/modules/solid-gauge.src.js +40 -20
- package/esm/modules/sonification.js +2 -2
- package/esm/modules/sonification.src.js +45 -30
- package/esm/modules/static-scale.js +2 -2
- package/esm/modules/static-scale.src.js +22 -8
- package/esm/modules/stock-tools.js +3 -3
- package/esm/modules/stock-tools.src.js +73 -27
- package/esm/modules/stock.js +2 -2
- package/esm/modules/stock.src.js +554 -122
- package/esm/modules/streamgraph.js +2 -2
- package/esm/modules/streamgraph.src.js +22 -8
- package/esm/modules/sunburst.js +2 -2
- package/esm/modules/sunburst.src.js +110 -45
- package/esm/modules/textpath.js +2 -2
- package/esm/modules/textpath.src.js +22 -8
- package/esm/modules/tiledwebmap.js +3 -3
- package/esm/modules/tiledwebmap.src.js +44 -19
- package/esm/modules/tilemap.js +2 -2
- package/esm/modules/tilemap.src.js +27 -12
- package/esm/modules/timeline.js +2 -2
- package/esm/modules/timeline.src.js +35 -14
- package/esm/modules/treegraph.js +2 -2
- package/esm/modules/treegraph.src.js +59 -27
- package/esm/modules/treegrid.js +2 -2
- package/esm/modules/treegrid.src.js +58 -27
- package/esm/modules/treemap.js +2 -2
- package/esm/modules/treemap.src.js +89 -36
- package/esm/modules/variable-pie.js +2 -2
- package/esm/modules/variable-pie.src.js +30 -13
- package/esm/modules/variwide.js +2 -2
- package/esm/modules/variwide.src.js +23 -9
- package/esm/modules/vector.js +2 -2
- package/esm/modules/vector.src.js +28 -16
- package/esm/modules/venn.js +2 -2
- package/esm/modules/venn.src.js +28 -13
- package/esm/modules/windbarb.js +2 -2
- package/esm/modules/windbarb.src.js +29 -17
- package/esm/modules/wordcloud.js +2 -2
- package/esm/modules/wordcloud.src.js +25 -9
- package/esm/modules/xrange.js +2 -2
- package/esm/modules/xrange.src.js +29 -15
- package/esm/standalone-navigator.js +5 -5
- package/esm/standalone-navigator.src.js +808 -570
- package/esm/themes/adaptive.js +3 -3
- package/esm/themes/adaptive.src.js +22 -8
- package/esm/themes/avocado.js +2 -2
- package/esm/themes/avocado.src.js +22 -8
- package/esm/themes/dark-unica.js +2 -2
- package/esm/themes/dark-unica.src.js +22 -8
- package/esm/themes/grid-light.js +2 -2
- package/esm/themes/grid-light.src.js +22 -8
- package/esm/themes/high-contrast.js +2 -2
- package/esm/themes/high-contrast.src.js +22 -8
- package/esm/themes/sand-signika.js +2 -2
- package/esm/themes/sand-signika.src.js +22 -8
- package/esm/themes/sunset.js +2 -2
- package/esm/themes/sunset.src.js +22 -8
- package/highcharts-3d.js +2 -2
- package/highcharts-3d.src.js +116 -92
- package/highcharts-autoload.d.ts +15 -5
- package/highcharts-autoload.js +4 -4
- package/highcharts-autoload.src.d.ts +15 -5
- package/highcharts-autoload.src.js +724 -499
- package/highcharts-gantt.js +4 -4
- package/highcharts-gantt.src.js +851 -590
- package/highcharts-more.d.ts +7 -3
- package/highcharts-more.js +2 -2
- package/highcharts-more.src.d.ts +7 -3
- package/highcharts-more.src.js +1313 -1095
- package/highcharts.d.ts +34795 -25647
- package/highcharts.js +4 -4
- package/highcharts.src.d.ts +34795 -25647
- package/highcharts.src.js +723 -498
- package/highmaps.js +4 -4
- package/highmaps.src.js +863 -583
- package/highstock.js +4 -4
- package/highstock.src.js +899 -619
- package/i18n/fr-FR.js +2 -2
- package/i18n/fr-FR.src.js +32 -16
- package/i18n/nb-NO.js +2 -2
- package/i18n/nb-NO.src.js +32 -16
- package/i18n/zh-CN.js +2 -2
- package/i18n/zh-CN.src.js +32 -16
- package/indicators/acceleration-bands.js +2 -2
- package/indicators/acceleration-bands.src.js +31 -16
- package/indicators/accumulation-distribution.js +2 -2
- package/indicators/accumulation-distribution.src.js +31 -16
- package/indicators/ao.js +2 -2
- package/indicators/ao.src.js +31 -16
- package/indicators/apo.js +2 -2
- package/indicators/apo.src.js +31 -16
- package/indicators/aroon-oscillator.js +2 -2
- package/indicators/aroon-oscillator.src.js +31 -16
- package/indicators/aroon.js +2 -2
- package/indicators/aroon.src.js +33 -18
- package/indicators/atr.js +2 -2
- package/indicators/atr.src.js +31 -16
- package/indicators/bollinger-bands.js +2 -2
- package/indicators/bollinger-bands.src.js +31 -16
- package/indicators/cci.js +2 -2
- package/indicators/cci.src.js +31 -16
- package/indicators/chaikin.js +2 -2
- package/indicators/chaikin.src.js +31 -16
- package/indicators/cmf.js +2 -2
- package/indicators/cmf.src.js +31 -16
- package/indicators/cmo.js +2 -2
- package/indicators/cmo.src.js +31 -16
- package/indicators/dema.js +2 -2
- package/indicators/dema.src.js +31 -16
- package/indicators/disparity-index.js +2 -2
- package/indicators/disparity-index.src.js +31 -16
- package/indicators/dmi.js +2 -2
- package/indicators/dmi.src.js +31 -16
- package/indicators/dpo.js +2 -2
- package/indicators/dpo.src.js +34 -18
- package/indicators/ichimoku-kinko-hyo.js +2 -2
- package/indicators/ichimoku-kinko-hyo.src.js +41 -26
- package/indicators/indicators-all.js +2 -2
- package/indicators/indicators-all.src.js +52 -37
- package/indicators/indicators.js +2 -2
- package/indicators/indicators.src.js +39 -24
- package/indicators/keltner-channels.js +2 -2
- package/indicators/keltner-channels.src.js +31 -16
- package/indicators/klinger.js +2 -2
- package/indicators/klinger.src.js +31 -16
- package/indicators/macd.js +2 -2
- package/indicators/macd.src.js +31 -16
- package/indicators/mfi.js +2 -2
- package/indicators/mfi.src.js +31 -16
- package/indicators/momentum.js +2 -2
- package/indicators/momentum.src.js +31 -16
- package/indicators/natr.js +2 -2
- package/indicators/natr.src.js +31 -16
- package/indicators/obv.js +2 -2
- package/indicators/obv.src.js +31 -16
- package/indicators/pivot-points.js +2 -2
- package/indicators/pivot-points.src.js +31 -16
- package/indicators/ppo.js +2 -2
- package/indicators/ppo.src.js +31 -16
- package/indicators/price-channel.js +2 -2
- package/indicators/price-channel.src.js +31 -16
- package/indicators/price-envelopes.js +2 -2
- package/indicators/price-envelopes.src.js +31 -16
- package/indicators/psar.js +2 -2
- package/indicators/psar.src.js +31 -16
- package/indicators/regressions.js +2 -2
- package/indicators/regressions.src.js +31 -16
- package/indicators/roc.js +2 -2
- package/indicators/roc.src.js +31 -16
- package/indicators/rsi.js +2 -2
- package/indicators/rsi.src.js +32 -17
- package/indicators/slow-stochastic.js +2 -2
- package/indicators/slow-stochastic.src.js +31 -16
- package/indicators/stochastic.js +2 -2
- package/indicators/stochastic.src.js +31 -16
- package/indicators/supertrend.js +2 -2
- package/indicators/supertrend.src.js +31 -16
- package/indicators/tema.js +2 -2
- package/indicators/tema.src.js +31 -16
- package/indicators/trendline.js +2 -2
- package/indicators/trendline.src.js +31 -16
- package/indicators/trix.js +2 -2
- package/indicators/trix.src.js +31 -16
- package/indicators/volume-by-price.js +2 -2
- package/indicators/volume-by-price.src.js +32 -18
- package/indicators/vwap.js +2 -2
- package/indicators/vwap.src.js +31 -16
- package/indicators/williams-r.js +2 -2
- package/indicators/williams-r.src.js +31 -16
- package/indicators/wma.js +2 -2
- package/indicators/wma.src.js +31 -16
- package/indicators/zigzag.js +2 -2
- package/indicators/zigzag.src.js +31 -16
- package/modules/accessibility.d.ts +47 -0
- package/modules/accessibility.js +2 -2
- package/modules/accessibility.src.d.ts +47 -0
- package/modules/accessibility.src.js +603 -130
- package/modules/annotations-advanced.js +11 -11
- package/modules/annotations-advanced.src.js +246 -183
- package/modules/annotations.js +11 -11
- package/modules/annotations.src.js +206 -165
- package/modules/arc-diagram.js +2 -2
- package/modules/arc-diagram.src.js +58 -42
- package/modules/arrow-symbols.js +2 -2
- package/modules/arrow-symbols.src.js +28 -13
- package/modules/boost-canvas.js +2 -2
- package/modules/boost-canvas.src.js +69 -38
- package/modules/boost.js +2 -2
- package/modules/boost.src.js +81 -37
- package/modules/broken-axis.js +2 -2
- package/modules/broken-axis.src.js +36 -20
- package/modules/bullet.js +2 -2
- package/modules/bullet.src.js +50 -28
- package/modules/coloraxis.js +2 -2
- package/modules/coloraxis.src.js +65 -38
- package/modules/contour.js +5 -5
- package/modules/contour.src.js +91 -44
- package/modules/current-date-indicator.js +2 -2
- package/modules/current-date-indicator.src.js +28 -13
- package/modules/cylinder.js +2 -2
- package/modules/cylinder.src.js +67 -48
- package/modules/data-sorting.js +2 -2
- package/modules/data-sorting.src.js +28 -13
- package/modules/data-tools.js +2 -2
- package/modules/data-tools.src.js +50 -18
- package/modules/data.js +2 -2
- package/modules/data.src.js +50 -35
- package/modules/datagrouping.js +2 -2
- package/modules/datagrouping.src.js +42 -26
- package/modules/debugger.js +2 -2
- package/modules/debugger.src.js +28 -13
- package/modules/dependency-wheel.d.ts +7 -1
- package/modules/dependency-wheel.js +2 -2
- package/modules/dependency-wheel.src.d.ts +7 -1
- package/modules/dependency-wheel.src.js +440 -28
- package/modules/dotplot.js +2 -2
- package/modules/dotplot.src.js +36 -19
- package/modules/drag-panes.js +2 -2
- package/modules/drag-panes.src.js +28 -13
- package/modules/draggable-points.js +2 -2
- package/modules/draggable-points.src.js +30 -17
- package/modules/drilldown.js +2 -2
- package/modules/drilldown.src.js +49 -35
- package/modules/dumbbell.js +2 -2
- package/modules/dumbbell.src.js +86 -40
- package/modules/export-data.d.ts +66 -1
- package/modules/export-data.js +2 -2
- package/modules/export-data.src.d.ts +66 -1
- package/modules/export-data.src.js +56 -36
- package/modules/exporting.d.ts +0 -103
- package/modules/exporting.js +2 -2
- package/modules/exporting.src.d.ts +0 -103
- package/modules/exporting.src.js +97 -50
- package/modules/flowmap.js +3 -2
- package/modules/flowmap.src.js +52 -26
- package/modules/full-screen.js +2 -2
- package/modules/full-screen.src.js +31 -16
- package/modules/funnel.d.ts +3 -3
- package/modules/funnel.js +2 -2
- package/modules/funnel.src.d.ts +3 -3
- package/modules/funnel.src.js +82 -50
- package/modules/funnel3d.js +2 -2
- package/modules/funnel3d.src.js +56 -40
- package/modules/gantt.d.ts +47 -0
- package/modules/gantt.js +8 -8
- package/modules/gantt.src.d.ts +47 -0
- package/modules/gantt.src.js +602 -156
- package/modules/geoheatmap.d.ts +13 -12
- package/modules/geoheatmap.js +2 -2
- package/modules/geoheatmap.src.d.ts +13 -12
- package/modules/geoheatmap.src.js +44 -29
- package/modules/grid-axis.js +2 -2
- package/modules/grid-axis.src.js +42 -20
- package/modules/heatmap.d.ts +0 -12
- package/modules/heatmap.js +4 -4
- package/modules/heatmap.src.d.ts +0 -12
- package/modules/heatmap.src.js +102 -71
- package/modules/heikinashi.js +2 -2
- package/modules/heikinashi.src.js +31 -16
- package/modules/histogram-bellcurve.js +2 -2
- package/modules/histogram-bellcurve.src.js +70 -38
- package/modules/hollowcandlestick.js +2 -2
- package/modules/hollowcandlestick.src.js +45 -30
- package/modules/item-series.js +2 -2
- package/modules/item-series.src.js +81 -21
- package/modules/lollipop.js +2 -2
- package/modules/lollipop.src.js +36 -21
- package/modules/map.d.ts +0 -20
- package/modules/map.js +4 -4
- package/modules/map.src.d.ts +0 -20
- package/modules/map.src.js +212 -140
- package/modules/marker-clusters.js +2 -2
- package/modules/marker-clusters.src.js +31 -18
- package/modules/mouse-wheel-zoom.js +2 -2
- package/modules/mouse-wheel-zoom.src.js +60 -18
- package/modules/navigator.d.ts +47 -0
- package/modules/navigator.js +2 -2
- package/modules/navigator.src.d.ts +47 -0
- package/modules/navigator.src.js +556 -95
- package/modules/networkgraph.js +2 -2
- package/modules/networkgraph.src.js +99 -57
- package/modules/no-data-to-display.js +2 -2
- package/modules/no-data-to-display.src.js +31 -16
- package/modules/non-cartesian-zoom.js +2 -2
- package/modules/non-cartesian-zoom.src.js +28 -13
- package/modules/offline-exporting.js +2 -2
- package/modules/offline-exporting.src.js +67 -25
- package/modules/organization.js +4 -2
- package/modules/organization.src.js +75 -30
- package/modules/parallel-coordinates.js +2 -2
- package/modules/parallel-coordinates.src.js +37 -19
- package/modules/pareto.js +2 -2
- package/modules/pareto.src.js +45 -29
- package/modules/pathfinder.js +2 -2
- package/modules/pathfinder.src.js +37 -21
- package/modules/pattern-fill.js +2 -2
- package/modules/pattern-fill.src.js +34 -17
- package/modules/pictorial.js +2 -2
- package/modules/pictorial.src.js +62 -43
- package/modules/pointandfigure.js +2 -2
- package/modules/pointandfigure.src.js +35 -19
- package/modules/price-indicator.js +2 -2
- package/modules/price-indicator.src.js +32 -16
- package/modules/pyramid3d.js +2 -2
- package/modules/pyramid3d.src.js +31 -16
- package/modules/renko.js +2 -2
- package/modules/renko.src.js +34 -19
- package/modules/sankey.js +2 -2
- package/modules/sankey.src.js +80 -51
- package/modules/series-label.js +2 -2
- package/modules/series-label.src.js +42 -28
- package/modules/series-on-point.js +2 -2
- package/modules/series-on-point.src.js +40 -25
- package/modules/solid-gauge.d.ts +3 -3
- package/modules/solid-gauge.js +2 -2
- package/modules/solid-gauge.src.d.ts +3 -3
- package/modules/solid-gauge.src.js +54 -33
- package/modules/sonification.js +2 -2
- package/modules/sonification.src.js +56 -40
- package/modules/static-scale.js +2 -2
- package/modules/static-scale.src.js +28 -13
- package/modules/stock-tools.js +3 -3
- package/modules/stock-tools.src.js +90 -43
- package/modules/stock.d.ts +47 -0
- package/modules/stock.js +6 -6
- package/modules/stock.src.d.ts +47 -0
- package/modules/stock.src.js +650 -185
- package/modules/streamgraph.js +2 -2
- package/modules/streamgraph.src.js +31 -16
- package/modules/sunburst.js +2 -2
- package/modules/sunburst.src.js +137 -71
- package/modules/textpath.js +2 -2
- package/modules/textpath.src.js +28 -13
- package/modules/tiledwebmap.js +3 -3
- package/modules/tiledwebmap.src.js +65 -32
- package/modules/tilemap.js +2 -2
- package/modules/tilemap.src.js +41 -25
- package/modules/timeline.js +2 -2
- package/modules/timeline.src.js +47 -25
- package/modules/treegraph.js +2 -2
- package/modules/treegraph.src.js +83 -50
- package/modules/treegrid.js +2 -2
- package/modules/treegrid.src.js +76 -44
- package/modules/treemap.js +2 -2
- package/modules/treemap.src.js +116 -62
- package/modules/variable-pie.js +2 -2
- package/modules/variable-pie.src.js +39 -21
- package/modules/variwide.js +2 -2
- package/modules/variwide.src.js +32 -17
- package/modules/vector.js +2 -2
- package/modules/vector.src.js +37 -24
- package/modules/venn.js +2 -2
- package/modules/venn.src.js +42 -26
- package/modules/windbarb.js +2 -2
- package/modules/windbarb.src.js +51 -38
- package/modules/wordcloud.js +2 -2
- package/modules/wordcloud.src.js +34 -17
- package/modules/xrange.js +2 -2
- package/modules/xrange.src.js +43 -28
- package/options/abands.d.ts +722 -83
- package/options/abands.src.d.ts +722 -83
- package/options/ad.d.ts +381 -26
- package/options/ad.src.d.ts +381 -26
- package/options/ao.d.ts +744 -70
- package/options/ao.src.d.ts +744 -70
- package/options/apo.d.ts +381 -26
- package/options/apo.src.d.ts +381 -26
- package/options/arcdiagram.d.ts +80 -534
- package/options/arcdiagram.src.d.ts +80 -534
- package/options/area.d.ts +432 -129
- package/options/area.src.d.ts +432 -129
- package/options/arearange.d.ts +46 -4
- package/options/arearange.src.d.ts +46 -4
- package/options/areaspline.d.ts +141 -866
- package/options/areaspline.src.d.ts +141 -866
- package/options/areasplinerange.d.ts +221 -871
- package/options/areasplinerange.src.d.ts +221 -871
- package/options/aroon.d.ts +432 -124
- package/options/aroon.src.d.ts +432 -124
- package/options/aroonoscillator.d.ts +127 -689
- package/options/aroonoscillator.src.d.ts +127 -689
- package/options/atr.d.ts +381 -71
- package/options/atr.src.d.ts +381 -71
- package/options/bar.d.ts +103 -12
- package/options/bar.src.d.ts +103 -12
- package/options/bb.d.ts +87 -762
- package/options/bb.src.d.ts +87 -762
- package/options/bellcurve.d.ts +87 -364
- package/options/bellcurve.src.d.ts +87 -364
- package/options/boxplot.d.ts +82 -13
- package/options/boxplot.src.d.ts +82 -13
- package/options/bubble.d.ts +83 -874
- package/options/bubble.src.d.ts +83 -874
- package/options/bullet.d.ts +354 -717
- package/options/bullet.src.d.ts +354 -717
- package/options/candlestick.d.ts +99 -1214
- package/options/candlestick.src.d.ts +99 -1214
- package/options/cci.d.ts +381 -26
- package/options/cci.src.d.ts +381 -26
- package/options/chaikin.d.ts +728 -83
- package/options/chaikin.src.d.ts +728 -83
- package/options/cmf.d.ts +381 -26
- package/options/cmf.src.d.ts +381 -26
- package/options/cmo.d.ts +730 -79
- package/options/cmo.src.d.ts +730 -79
- package/options/column.d.ts +1265 -99
- package/options/column.src.d.ts +1265 -99
- package/options/columnpyramid.d.ts +102 -1158
- package/options/columnpyramid.src.d.ts +102 -1158
- package/options/columnrange.d.ts +952 -95
- package/options/columnrange.src.d.ts +952 -95
- package/options/contour.d.ts +31 -443
- package/options/contour.src.d.ts +31 -443
- package/options/cylinder.d.ts +100 -12
- package/options/cylinder.src.d.ts +100 -12
- package/options/dema.d.ts +80 -736
- package/options/dema.src.d.ts +80 -736
- package/options/dependencywheel.d.ts +599 -218
- package/options/dependencywheel.src.d.ts +599 -218
- package/options/disparityindex.d.ts +84 -365
- package/options/disparityindex.src.d.ts +84 -365
- package/options/dmi.d.ts +86 -775
- package/options/dmi.src.d.ts +86 -775
- package/options/dpo.d.ts +83 -365
- package/options/dpo.src.d.ts +83 -365
- package/options/dumbbell.d.ts +27 -4
- package/options/dumbbell.src.d.ts +27 -4
- package/options/ema.d.ts +81 -703
- package/options/ema.src.d.ts +81 -703
- package/options/errorbar.d.ts +91 -1161
- package/options/errorbar.src.d.ts +91 -1161
- package/options/flags.d.ts +98 -1192
- package/options/flags.src.d.ts +98 -1192
- package/options/flowmap.d.ts +48 -373
- package/options/flowmap.src.d.ts +48 -373
- package/options/funnel.d.ts +40 -3
- package/options/funnel.src.d.ts +40 -3
- package/options/gantt.d.ts +37 -40
- package/options/gantt.src.d.ts +37 -40
- package/options/gauge.d.ts +398 -472
- package/options/gauge.src.d.ts +398 -472
- package/options/geoheatmap.d.ts +462 -63
- package/options/geoheatmap.src.d.ts +462 -63
- package/options/heatmap.d.ts +31 -380
- package/options/heatmap.src.d.ts +31 -380
- package/options/heikinashi.d.ts +20 -2
- package/options/heikinashi.src.d.ts +20 -2
- package/options/hlc.d.ts +20 -2
- package/options/hlc.src.d.ts +20 -2
- package/options/ikh.d.ts +750 -103
- package/options/ikh.src.d.ts +750 -103
- package/options/item.d.ts +34 -74
- package/options/item.src.d.ts +34 -74
- package/options/keltnerchannels.d.ts +87 -708
- package/options/keltnerchannels.src.d.ts +87 -708
- package/options/klinger.d.ts +34 -365
- package/options/klinger.src.d.ts +34 -365
- package/options/line.d.ts +151 -851
- package/options/line.src.d.ts +151 -851
- package/options/linearregression.d.ts +960 -85
- package/options/linearregression.src.d.ts +960 -85
- package/options/linearregressionangle.d.ts +96 -699
- package/options/linearregressionangle.src.d.ts +96 -699
- package/options/linearregressionintercept.d.ts +381 -26
- package/options/linearregressionintercept.src.d.ts +381 -26
- package/options/linearregressionslope.d.ts +381 -26
- package/options/linearregressionslope.src.d.ts +381 -26
- package/options/lollipop.d.ts +214 -851
- package/options/lollipop.src.d.ts +214 -851
- package/options/macd.d.ts +386 -83
- package/options/macd.src.d.ts +386 -83
- package/options/map.d.ts +470 -36
- package/options/map.src.d.ts +470 -36
- package/options/mapbubble.d.ts +43 -532
- package/options/mapbubble.src.d.ts +43 -532
- package/options/mapline.d.ts +135 -58
- package/options/mapline.src.d.ts +135 -58
- package/options/mappoint.d.ts +205 -283
- package/options/mappoint.src.d.ts +205 -283
- package/options/mfi.d.ts +772 -82
- package/options/mfi.src.d.ts +772 -82
- package/options/momentum.d.ts +381 -71
- package/options/momentum.src.d.ts +381 -71
- package/options/natr.d.ts +776 -75
- package/options/natr.src.d.ts +776 -75
- package/options/networkgraph.d.ts +184 -207
- package/options/networkgraph.src.d.ts +184 -207
- package/options/obv.d.ts +426 -26
- package/options/obv.src.d.ts +426 -26
- package/options/ohlc.d.ts +77 -14
- package/options/ohlc.src.d.ts +77 -14
- package/options/packedbubble.d.ts +76 -696
- package/options/packedbubble.src.d.ts +76 -696
- package/options/pareto.d.ts +28 -364
- package/options/pareto.src.d.ts +28 -364
- package/options/pc.d.ts +724 -85
- package/options/pc.src.d.ts +724 -85
- package/options/pictorial.d.ts +1093 -58
- package/options/pictorial.src.d.ts +1093 -58
- package/options/pie.d.ts +595 -129
- package/options/pie.src.d.ts +595 -129
- package/options/pivotpoints.d.ts +34 -365
- package/options/pivotpoints.src.d.ts +34 -365
- package/options/pointandfigure.d.ts +10 -50
- package/options/pointandfigure.src.d.ts +10 -50
- package/options/polygon.d.ts +803 -74
- package/options/polygon.src.d.ts +803 -74
- package/options/ppo.d.ts +34 -365
- package/options/ppo.src.d.ts +34 -365
- package/options/priceenvelopes.d.ts +93 -719
- package/options/priceenvelopes.src.d.ts +93 -719
- package/options/psar.d.ts +34 -365
- package/options/psar.src.d.ts +34 -365
- package/options/pyramid.d.ts +35 -3
- package/options/pyramid.src.d.ts +35 -3
- package/options/renko.d.ts +25 -2
- package/options/renko.src.d.ts +25 -2
- package/options/roc.d.ts +78 -712
- package/options/roc.src.d.ts +78 -712
- package/options/rsi.d.ts +34 -365
- package/options/rsi.src.d.ts +34 -365
- package/options/sankey.d.ts +27 -5
- package/options/sankey.src.d.ts +27 -5
- package/options/scatter.d.ts +896 -290
- package/options/scatter.src.d.ts +896 -290
- package/options/series.d.ts +938 -83
- package/options/series.src.d.ts +938 -83
- package/options/slowstochastic.d.ts +381 -26
- package/options/slowstochastic.src.d.ts +381 -26
- package/options/sma.d.ts +729 -79
- package/options/sma.src.d.ts +729 -79
- package/options/solidgauge.d.ts +882 -105
- package/options/solidgauge.src.d.ts +882 -105
- package/options/spline.d.ts +389 -90
- package/options/spline.src.d.ts +389 -90
- package/options/stochastic.d.ts +83 -716
- package/options/stochastic.src.d.ts +83 -716
- package/options/streamgraph.d.ts +97 -364
- package/options/streamgraph.src.d.ts +97 -364
- package/options/sunburst.d.ts +87 -19
- package/options/sunburst.src.d.ts +87 -19
- package/options/supertrend.d.ts +77 -749
- package/options/supertrend.src.d.ts +77 -749
- package/options/tema.d.ts +83 -365
- package/options/tema.src.d.ts +83 -365
- package/options/tiledwebmap.d.ts +13 -72
- package/options/tiledwebmap.src.d.ts +13 -72
- package/options/tilemap.d.ts +372 -533
- package/options/tilemap.src.d.ts +372 -533
- package/options/timeline.d.ts +49 -154
- package/options/timeline.src.d.ts +49 -154
- package/options/treegraph.d.ts +174 -696
- package/options/treegraph.src.d.ts +174 -696
- package/options/treemap.d.ts +468 -1079
- package/options/treemap.src.d.ts +468 -1079
- package/options/trendline.d.ts +381 -26
- package/options/trendline.src.d.ts +381 -26
- package/options/trix.d.ts +712 -82
- package/options/trix.src.d.ts +712 -82
- package/options/variablepie.d.ts +130 -587
- package/options/variablepie.src.d.ts +130 -587
- package/options/variwide.d.ts +1123 -94
- package/options/variwide.src.d.ts +1123 -94
- package/options/vbp.d.ts +57 -383
- package/options/vbp.src.d.ts +57 -383
- package/options/vector.d.ts +22 -58
- package/options/vector.src.d.ts +22 -58
- package/options/venn.d.ts +32 -78
- package/options/venn.src.d.ts +32 -78
- package/options/vwap.d.ts +122 -703
- package/options/vwap.src.d.ts +122 -703
- package/options/waterfall.d.ts +139 -1150
- package/options/waterfall.src.d.ts +139 -1150
- package/options/williamsr.d.ts +381 -76
- package/options/williamsr.src.d.ts +381 -76
- package/options/windbarb.d.ts +39 -2
- package/options/windbarb.src.d.ts +39 -2
- package/options/wma.d.ts +78 -704
- package/options/wma.src.d.ts +78 -704
- package/options/wordcloud.d.ts +98 -595
- package/options/wordcloud.src.d.ts +98 -595
- package/options/xrange.d.ts +166 -1056
- package/options/xrange.src.d.ts +166 -1056
- package/options/zigzag.d.ts +34 -410
- package/options/zigzag.src.d.ts +34 -410
- package/package.json +1 -1
- package/standalone-navigator.js +4 -4
- package/standalone-navigator.src.js +829 -553
- package/themes/adaptive.js +2 -2
- package/themes/adaptive.src.js +33 -18
- package/themes/avocado.js +2 -2
- package/themes/avocado.src.js +28 -13
- package/themes/dark-unica.js +2 -2
- package/themes/dark-unica.src.js +28 -13
- package/themes/grid-light.js +2 -2
- package/themes/grid-light.src.js +28 -13
- package/themes/high-contrast.js +2 -2
- package/themes/high-contrast.src.js +28 -13
- package/themes/sand-signika.js +2 -2
- package/themes/sand-signika.src.js +28 -13
- package/themes/sunset.js +2 -2
- package/themes/sunset.src.js +28 -13
- package/css/.stylelintrc.json +0 -8
package/esm/highcharts-more.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Highcharts JS v13.0.
|
|
2
|
+
* Highcharts JS v13.0.2 (2026-08-27)
|
|
3
3
|
* @module highcharts/highcharts-more
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
*
|
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
*
|
|
8
8
|
* A commercial license may be required depending on use,
|
|
9
9
|
* see www.highcharts.com/license
|
|
10
|
-
*/import*as t from"./highcharts.js";var e,i,s,a,o,r={};r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var i in e)r.o(e,i)&&!r.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let n=t.default;var l=r.n(n);let h=t.default.SeriesRegistry;var p=r.n(h);let{deg2rad:d}=l();(e=s||(s={})).getCenter=function(){let t=this.options,e=this.chart,i=2*(t.slicedOffset||0),s=e.plotWidth-2*i,a=e.plotHeight-2*i,o=t.center,r=Math.min(s,a),l=t.thickness,h,p=t.size,d=t.innerSize||0,c,u;"string"==typeof p&&(p=parseFloat(p)),"string"==typeof d&&(d=parseFloat(d));let g=[(0,n.pick)(o?.[0],"50%"),(0,n.pick)(o?.[1],"50%"),(0,n.pick)(p&&p<0?void 0:t.size,"100%"),(0,n.pick)(d&&d<0?void 0:t.innerSize||0,"0%")];for(c=0;c<4;++c)u=g[c],h=c<2||2===c&&/%$/.test(u),g[c]=(0,n.relativeLength)(u,[s,a,r,g[2]][c])+(h?i:0);return g[3]>g[2]&&(g[3]=g[2]),(0,n.isNumber)(l)&&2*l<g[2]&&l>0&&(g[3]=g[2]-2*l),(0,n.fireEvent)(this,"afterGetCenter",{positions:g}),g},e.getStartAndEndRadians=function(t,e){let i=(0,n.isNumber)(t)?t:0,s=(0,n.isNumber)(e)&&e>i&&e-i<360?e:i+360;return{start:d*(i+-90),end:d*(s+-90)}};let c=s;function u(t){let e,i=this;return t&&i.pane.forEach(s=>{g(t.chartX-i.plotLeft,t.chartY-i.plotTop,s.center)&&(e=s)}),e}function g(t,e,i,s,a){let o=!0,r=i[0],l=i[1],h=2*Math.PI,p=Math.sqrt(Math.pow(t-r,2)+Math.pow(e-l,2));if((0,n.defined)(s)&&(0,n.defined)(a)){let i=Math.atan2((0,n.correctFloat)(e-l,8),(0,n.correctFloat)(t-r,8));i=(i+h)%h,s=(s+h)%h,Math.abs((a=(a+h)%h)-s)>1e-6&&(o=s>a?i>=s||i<=a:i>=s&&i<=a)}else o=!0;return p<=Math.ceil(i[2]/2)&&o}function f(t){this.polar&&(t.options.inverted&&([t.x,t.y]=[t.y,t.x]),t.isInsidePlot=this.pane.some(e=>g(t.x,t.y,e.center,e.axis&&e.axis.normalizedStartAngleRad,e.axis&&e.axis.normalizedEndAngleRad)))}function m(t){let e=this.chart;t.hoverPoint&&t.hoverPoint.plotX&&t.hoverPoint.plotY&&e.hoverPane&&!g(t.hoverPoint.plotX,t.hoverPoint.plotY,e.hoverPane.center)&&(t.hoverPoint=void 0)}function b(t){let e=this.chart;e.polar?(e.hoverPane=e.getHoverPane(t),t.filter=function(i){return i.visible&&!(!t.shared&&i.directTouch)&&(0,n.pick)(i.options.enableMouseTracking,!0)&&(!e.hoverPane||i.xAxis.pane===e.hoverPane)}):e.hoverPane=void 0}let{defaultOptions:y}=l(),x={shape:"arc",borderRadius:void 0,borderWidth:0,borderColor:"var(--highcharts-neutral-color-20)",backgroundColor:"var(--highcharts-neutral-color-3)",from:-Number.MAX_VALUE,to:Number.MAX_VALUE,outerRadius:"100%"},v={borderRadius:3,margin:void 0};y.pane=v;class P{constructor(t,e){this.coll="pane",this.init(t,e)}init(t,e){this.chart=e,this.background=[],e.pane.push(this),this.setOptions(t)}hasSeriesType(t){return!!(this.chart.options?.chart?.type===t||this.chart.options?.series?.some(e=>e.type===t))}setOptions(t){this.options=(0,n.merge)(v,this.chart.angular?{background:{},innerSize:"85%"}:{},t)}render(){let t=this.options,e=this.chart.renderer;this.group||(this.group=e.g("pane-group").attr({zIndex:t.zIndex||0}).add()),this.updateCenter();let i=this.options.background;if(i){let t=Math.max((i=(0,n.splat)(i)).length,this.background.length||0);for(let e=0;e<t;e++)i[e]&&this.axis?this.renderBackground((0,n.merge)(x,{borderRadius:this.options.borderRadius},i[e]),e):this.background[e]&&(this.background[e]=this.background[e].destroy(),this.background.splice(e,1))}}renderBackground(t,e){let i={class:"highcharts-pane "+(t.className||"")},s="animate";this.chart.styledMode||(0,n.extend)(i,{fill:t.backgroundColor,stroke:t.borderColor,"stroke-width":t.borderWidth}),this.background[e]||(this.background[e]=this.chart.renderer.path().add(this.group),s="attr"),this.background[e][s]({d:this.axis.getPlotBandPath(t.from,t.to,t)}).attr(i)}updateCenter(){let{axis:t,chart:e,options:i}=this,{plotHeight:s,plotWidth:a}=e,o=i.center?.[1],r=i.margin,l=this.axis?.options.labels,h=i.thickness,p=Array.isArray(r)?r:[r,r,r,r],d=[],u=i.size,g,f=0,m=0,b=Math.min(e.series.reduce((t,e)=>{if(!e.is("gauge")||e.yAxis?.pane!==this)return t;let i=(0,n.splat)(e.options.dataLabels)[0],s=0;return i&&!1!==i.enabled&&(s=(1-(0,n.getAlignFactor)(i.verticalAlign))*30+(i.y||0)),Math.max(t,s)},0),.3*s);if(l?.enabled){let t=String(l.style?.fontSize||""),e=(/px$/.test(t)?parseFloat(t):/em$/.test(t)?12*parseFloat(t):12)*1.2;m=Math.max(l.distance||0,0)+e/2}if(p.forEach((t,e)=>{d[e]=t??Math.max(m||0)}),t&&(void 0===u||void 0===o)){let{endAngleRad:e,startAngleRad:o}=t,r=2*Math.PI/360,l=.5+.5*Math.max(Math.sin((o<Math.PI/2&&e>Math.PI/2||(0,n.splat)(i.background).some(t=>t?.shape==="circle")?Math.PI:Math.max(Math.abs(o+Math.PI/2),Math.abs(e+Math.PI/2)))-Math.PI/2),Math.sin(0*r));if(g=(s-d[0]-d[2])/l,void 0===u){let t=(u=Math.max(Math.min(g,a-d[1]-d[3]),1))+d[0]+d[2]+2*(b-s);t>0&&(u=Math.max(1,u-(f=t)))}}this.center=(t||{}).center=c.getCenter.call(this),(0,n.isNumber)(u)&&u>=0&&(this.center[2]=u,(0,n.isNumber)(h)?this.center[3]=this.center[2]-2*h:this.center[3]=Math.min(u,(0,n.relativeLength)(i.innerSize||0,u))),!(0,n.defined)(o)&&(i.size?this.center[1]=s/2:(0,n.isNumber)(g)&&(this.center[1]=(g+this.center[2]-f)/4+d[0]))}update(t,e){(0,n.merge)(!0,this.options,t),this.setOptions(this.options),this.render(),this.chart.axes.forEach(function(t){t.pane===this&&(t.pane=null,t.update({},e))},this)}}P.compose=function(t,e){let i=t.prototype;i.getHoverPane||(i.collectionsWithUpdate.push("pane"),i.getHoverPane=u,(0,n.addEvent)(t,"afterIsInsidePlot",f),(0,n.addEvent)(e,"afterGetHoverData",m),(0,n.addEvent)(e,"beforeGetHoverData",b))};let{area:{prototype:{pointClass:M,pointClass:{prototype:k}}}}=p().seriesTypes,L=class extends M{setState(){let t=this.state,e=this.series,i=e.chart.polar;(0,n.defined)(this.plotHigh)||(this.plotHigh=e.yAxis.toPixels(this.high,!0)),(0,n.defined)(this.plotLow)||(this.plotLow=this.plotY=e.yAxis.toPixels(this.low,!0)),e.lowerStateMarkerGraphic=e.stateMarkerGraphic,e.stateMarkerGraphic=e.upperStateMarkerGraphic,this.graphic=this.graphics&&this.graphics[1],this.plotY=this.plotHigh,i&&(0,n.isNumber)(this.plotHighX)&&(this.plotX=this.plotHighX),k.setState.apply(this,arguments),this.state=t,this.plotY=this.plotLow,this.graphic=this.graphics&&this.graphics[0],i&&(0,n.isNumber)(this.plotLowX)&&(this.plotX=this.plotLowX),e.upperStateMarkerGraphic=e.stateMarkerGraphic,e.stateMarkerGraphic=e.lowerStateMarkerGraphic,e.lowerStateMarkerGraphic=void 0;let s=e.modifyMarkerSettings();k.setState.apply(this,arguments),e.restoreMarkerSettings(s)}haloPath(){let t=this.series.chart.polar,e=[];return this.plotY=this.plotLow,t&&(0,n.isNumber)(this.plotLowX)&&(this.plotX=this.plotLowX),this.isInside&&(e=k.haloPath.apply(this,arguments)),this.plotY=this.plotHigh,t&&(0,n.isNumber)(this.plotHighX)&&(this.plotX=this.plotHighX),this.isTopInside&&(e=e.concat(k.haloPath.apply(this,arguments))),e}isValid(){return(0,n.isNumber)(this.low)&&(0,n.isNumber)(this.high)}},{noop:w}=l(),{area:A,area:{prototype:N},column:{prototype:S}}=p().seriesTypes;class T extends A{toYData(t){return[t.low,t.high]}highToXY(t){let e=this.chart,i=this.xAxis.postTranslate(t.rectPlotX||0,this.yAxis.len-(t.plotHigh||0));t.plotHighX=i.x-e.plotLeft,t.plotHigh=i.y-e.plotTop,t.plotLowX=t.plotX}getGraphPath(t){let e=[],i=[],s=N.getGraphPath,a=this.options,o=this.chart.polar,r=o&&!1!==a.connectEnds,l=a.connectNulls,h,p,d,c=a.step;for(h=(t=t||this.points).length;h--;){p=t[h];let s=o?{plotX:p.rectPlotX,plotY:p.yBottom,doCurve:!1}:{plotX:p.plotX,plotY:p.plotY,doCurve:!1};p.isNull||r||l||t[h+1]&&!t[h+1].isNull||i.push(s),d={polarPlotY:p.polarPlotY,rectPlotX:p.rectPlotX,yBottom:p.yBottom,plotX:(0,n.pick)(p.plotHighX,p.plotX),plotY:p.plotHigh,isNull:p.isNull},i.push(d),e.push(d),p.isNull||r||l||t[h-1]&&!t[h-1].isNull||i.push(s)}let u=s.call(this,t);c&&(!0===c&&(c="left"),a.step=({left:"right",center:"center",right:"left"})[c]);let g=s.call(this,e),f=s.call(this,i);a.step=c;let m=[].concat(u,g);return!this.chart.polar&&f[0]&&"M"===f[0][0]&&(f[0]=["L",f[0][1],f[0][2]]),this.graphPath=m,this.areaPath=u.concat(f),m.isArea=!0,m.xMap=u.xMap,this.areaPath.xMap=u.xMap,m}drawDataLabels(){let t,e,i,s,a,o=this.points,r=o.length,l=[],h=this.options.dataLabels,p=this.chart.inverted;if(h){if((0,n.isArray)(h)?(s=h[0]||{enabled:!1},a=h[1]||{enabled:!1}):((s=(0,n.extend)({},h)).x=h.xHigh,s.y=h.yHigh,(a=(0,n.extend)({},h)).x=h.xLow,a.y=h.yLow),s.enabled||this.hasDataLabels?.()){for(t=r;t--;)if(e=o[t]){let{plotHigh:a=0,plotLow:o=0}=e;i=s.inside?a<o:a>o,e.y=e.high,e._plotY=e.plotY,e.plotY=a,l[t]=e.dataLabel,e.dataLabel=e.dataLabelUpper,e.below=i,p?s.align||(s.align=i?"right":"left"):s.verticalAlign||(s.verticalAlign=i?"top":"bottom")}for(this.options.dataLabels=s,N.drawDataLabels&&N.drawDataLabels.apply(this,arguments),t=r;t--;)(e=o[t])&&(e.dataLabelUpper=e.dataLabel,e.dataLabel=l[t],delete e.dataLabels,e.y=e.low,e.plotY=e._plotY)}if(a.enabled||this.hasDataLabels?.()){for(t=r;t--;)if(e=o[t]){let{plotHigh:t=0,plotLow:s=0}=e;i=a.inside?t<s:t>s,e.below=!i,p?a.align||(a.align=i?"left":"right"):a.verticalAlign||(a.verticalAlign=i?"bottom":"top")}this.options.dataLabels=a,N.drawDataLabels&&N.drawDataLabels.apply(this,arguments)}if(s.enabled)for(t=r;t--;)(e=o[t])&&(e.dataLabels=[e.dataLabelUpper,e.dataLabel].filter(function(t){return!!t}));this.options.dataLabels=h}}alignDataLabel(){S.alignDataLabel.apply(this,arguments)}modifyMarkerSettings(){let t={marker:this.options.marker,symbol:this.symbol};if(this.options.lowMarker){let{options:{marker:t,lowMarker:e}}=this;this.options.marker=(0,n.merge)(t,e),e.symbol&&(this.symbol=e.symbol)}return t}restoreMarkerSettings(t){this.options.marker=t.marker,this.symbol=t.symbol}drawPoints(){let t,e,i=this.points.length,s=this.modifyMarkerSettings();for(N.drawPoints.apply(this,arguments),this.restoreMarkerSettings(s),t=0;t<i;)(e=this.points[t]).graphics=e.graphics||[],e.origProps={plotY:e.plotY,plotX:e.plotX,isInside:e.isInside,negative:e.negative,zone:e.zone,y:e.y},(e.graphic||e.graphics[0])&&(e.graphics[0]=e.graphic),e.graphic=e.graphics[1],e.plotY=e.plotHigh,(0,n.defined)(e.plotHighX)&&(e.plotX=e.plotHighX),e.y=(0,n.pick)(e.high,e.origProps.y),e.negative=e.y<(this.options.threshold||0),this.zones.length&&(e.zone=e.getZone()),this.chart.polar||(e.isInside=e.isTopInside=void 0!==e.plotY&&e.plotY>=0&&e.plotY<=this.yAxis.len&&e.plotX>=0&&e.plotX<=this.xAxis.len),t++;for(N.drawPoints.apply(this,arguments),t=0;t<i;)(e=this.points[t]).graphics=e.graphics||[],(e.graphic||e.graphics[1])&&(e.graphics[1]=e.graphic),e.graphic=e.graphics[0],e.origProps&&((0,n.extend)(e,e.origProps),delete e.origProps),t++}hasMarkerChanged(t,e){let i=t.lowMarker,s=e.lowMarker||{};return i&&(!1===i.enabled||s.symbol!==i.symbol||s.height!==i.height||s.width!==i.width)||super.hasMarkerChanged(t,e)}}T.defaultOptions=(0,n.merge)(A.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:!0,dataLabels:{align:void 0,verticalAlign:void 0,xLow:0,xHigh:0,yLow:0,yHigh:0}}),(0,n.addEvent)(T,"afterTranslate",function(){"low,high"===this.pointArrayMap.join(",")&&this.points.forEach(t=>{let e=t.high,i=t.plotY;t.isNull?t.plotY=void 0:(t.plotLow=i,t.plotHigh=(0,n.isNumber)(e)?this.yAxis.translate(this.dataModify?this.dataModify.modifyValue(e):e,!1,!0,void 0,!0):void 0,this.dataModify&&(t.yBottom=t.plotHigh))})},{order:0}),(0,n.addEvent)(T,"afterTranslate",function(){this.points.forEach(t=>{if(this.chart.polar)this.highToXY(t),t.plotLow=t.plotY,t.tooltipPos=[((t.plotHighX||0)+(t.plotLowX||0))/2,((t.plotHigh||0)+(t.plotLow||0))/2];else{let e=t.pos(!1,void 0,t.plotLow),i=t.pos(!1,void 0,t.plotHigh);e&&i&&(e[0]=(e[0]+i[0])/2,e[1]=(e[1]+i[1])/2),t.tooltipPos=e}})},{order:3}),(0,n.extend)(T.prototype,{deferTranslatePolar:!0,pointArrayMap:["low","high"],pointClass:L,pointValKey:"low",setStackedPoints:w}),p().registerSeriesType("arearange",T);let C=T,{spline:{prototype:X}}=p().seriesTypes;class Y extends C{}Y.defaultOptions=(0,n.merge)(C.defaultOptions),(0,n.extend)(Y.prototype,{getPointSpline:X.getPointSpline}),p().registerSeriesType("areasplinerange",Y);let E=t.default.Series.types.column;var R=r.n(E);let{noop:I}=l();class z extends R(){pointAttribs(){return{fill:this.color}}getWhiskerPair(t,e,i,s,a){let o=a.whiskers.strokeWidth(),r=(i,s)=>{let a=(0,n.relativeLength)(i,2*t)/2,r=(0,n.crisp)(s,o);return[["M",(0,n.crisp)(e-a),r],["L",(0,n.crisp)(e+a),r]]};return[...r(i,a.highPlot),...r(s,a.lowPlot)]}translate(){let t=this.yAxis,e=this.pointArrayMap;super.translate.apply(this),this.points.forEach(function(i){e.forEach(function(e){null!==i[e]&&(i[e+"Plot"]=t.translate(i[e],0,1,0,1))}),i.plotHigh=i.highPlot})}drawPoints(){let t,e,i,s,a,o,r,l,h,p,d,c=this.points,u=this.options,g=this.chart,f=g.renderer,m=!1!==this.doQuartiles,b=this.options.whiskerLength;for(let y of c){let c=(l=y.graphic)?"animate":"attr",x=y.shapeArgs,v={},P={},M={},k={},L=y.color||this.color,w=y.options.whiskerLength||b;if(void 0!==y.plotY){let A;h=x.width,d=(p=x.x)+h,t=m?y.q1Plot:y.lowPlot,e=m?y.q3Plot:y.lowPlot,i=y.highPlot,s=y.lowPlot,l||(y.graphic=l=f.g("point").add(this.group),y.stem=f.path().addClass("highcharts-boxplot-stem").add(l),b&&(y.whiskers=f.path().addClass("highcharts-boxplot-whisker").add(l)),m&&(y.box=f.path(r).addClass("highcharts-boxplot-box").add(l)),y.medianShape=f.path(o).addClass("highcharts-boxplot-median").add(l)),g.styledMode||(P.stroke=y.stemColor||u.stemColor||L,P["stroke-width"]=(0,n.pick)(y.stemWidth,u.stemWidth,u.lineWidth),P.dashstyle=y.stemDashStyle||u.stemDashStyle||u.dashStyle,y.stem.attr(P),w&&(M.stroke=y.whiskerColor||u.whiskerColor||L,M["stroke-width"]=(0,n.pick)(y.whiskerWidth,u.whiskerWidth,u.lineWidth),M.dashstyle=y.whiskerDashStyle||u.whiskerDashStyle||u.dashStyle,y.whiskers.attr(M)),m&&(v.fill=y.fillColor||u.fillColor||L,v.stroke=u.lineColor||L,v["stroke-width"]=u.lineWidth||0,v.dashstyle=y.boxDashStyle||u.boxDashStyle||u.dashStyle,y.box.attr(v)),k.stroke=y.medianColor||u.medianColor||L,k["stroke-width"]=(0,n.pick)(y.medianWidth,u.medianWidth,u.lineWidth),k.dashstyle=y.medianDashStyle||u.medianDashStyle||u.dashStyle,y.medianShape.attr(k));let N=(0,n.crisp)((y.plotX||0)+(this.pointXOffset||0)+(this.barW||0)/2,y.stem.strokeWidth());if(A=[["M",N,e],["L",N,i],["M",N,t],["L",N,s]],y.stem[c]({d:A}),m){let i=y.box.strokeWidth();t=(0,n.crisp)(t,i),e=(0,n.crisp)(e,i),A=[["M",p=(0,n.crisp)(p,i),e],["L",p,t],["L",d=(0,n.crisp)(d,i),t],["L",d,e],["L",p,e],["Z"]],y.box[c]({d:A})}if(w){let t=h/2,e=this.getWhiskerPair(t,N,y.upperWhiskerLength??u.upperWhiskerLength??w,y.lowerWhiskerLength??u.lowerWhiskerLength??w,y);y.whiskers[c]({d:e})}A=[["M",p,a=(0,n.crisp)(y.medianPlot,y.medianShape.strokeWidth())],["L",d,a]],y.medianShape[c]({d:A})}}}toYData(t){return[t.low,t.q1,t.median,t.q3,t.high]}}z.defaultOptions=(0,n.merge)(R().defaultOptions,{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:"var(--highcharts-background-color)",lineWidth:1,medianWidth:2,whiskerWidth:2}),(0,n.extend)(z.prototype,{pointArrayMap:["low","q1","median","q3","high"],pointValKey:"high",drawDataLabels:I,setStackedPoints:I}),p().registerSeriesType("boxplot",z);let D=z,O={borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:"0.9em",color:"var(--highcharts-neutral-color-100)"},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:!1,zIndex:1,zThreshold:0},B=t.default.Templating;var W=r.n(B);let{noop:F}=l(),H=class{constructor(t,e){this.setState=F,this.init(t,e)}init(t,e){this.options=t,this.visible=!0,this.chart=e.chart,this.legend=e}addToLegend(t){t.splice(this.options.legendIndex,0,this)}drawLegendSymbol(t){let e,i=(0,n.pick)(t.options.itemDistance,20),s=this.legendItem||{},a=this.options,o=a.ranges,r=a.connectorDistance;if(!o||!o.length||!(0,n.isNumber)(o[0].value)){t.options.bubbleLegend.autoRanges=!0;return}(0,n.stableSort)(o,function(t,e){return e.value-t.value}),this.ranges=o,this.setOptions(),this.render();let l=this.getMaxLabelSize(),h=this.ranges[0].radius,p=2*h;e=(e=r-h+l.width)>0?e:0,this.maxLabel=l,this.movementX="left"===a.labels.align?e:0,s.labelWidth=p+e+i,s.labelHeight=p+l.height/2}setOptions(){let t=this.ranges,e=this.options,i=this.chart.series[e.seriesIndex],s=this.legend.baseline,a={zIndex:e.zIndex,"stroke-width":e.borderWidth},o={zIndex:e.zIndex,"stroke-width":e.connectorWidth},r={align:this.legend.options.rtl||"left"===e.labels.align?"right":"left",zIndex:e.zIndex},l=i.options.marker.fillOpacity,h=this.chart.styledMode;t.forEach(function(p,d){h||(a.stroke=(0,n.pick)(p.borderColor,e.borderColor,i.color),a.fill=p.color||e.color,a.fill||(a.fill=i.color,a["fill-opacity"]=l??1),o.stroke=(0,n.pick)(p.connectorColor,e.connectorColor,i.color)),t[d].radius=this.getRangeRadius(p.value),t[d]=(0,n.merge)(t[d],{center:t[0].radius-t[d].radius+s}),h||(0,n.merge)(!0,t[d],{bubbleAttribs:(0,n.merge)(a),connectorAttribs:(0,n.merge)(o),labelAttribs:r})},this)}getRangeRadius(t){let e=this.options,i=this.options.seriesIndex,s=this.chart.series[i],a=e.ranges[0].value,o=e.ranges[e.ranges.length-1].value,r=e.minSize,n=e.maxSize;return s.getRadius.call(this,o,a,r,n,t)}render(){let t=this.legendItem||{},e=this.chart.renderer,i=this.options.zThreshold;for(let s of(this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]}),t.symbol=e.g("bubble-legend"),t.label=e.g("bubble-legend-item").css(this.legend.itemStyle||{}),t.symbol.translateX=0,t.symbol.translateY=0,t.symbol.add(t.label),t.label.add(t.group),this.ranges))s.value>=i&&this.renderRange(s);this.hideOverlappingLabels()}renderRange(t){let e=this.ranges[0],i=this.legend,s=this.options,a=s.labels,o=this.chart,r=o.series[s.seriesIndex],n=o.renderer,l=this.symbols,h=l.labels,p=t.center,d=Math.abs(t.radius),c=s.connectorDistance||0,u=a.align,g=i.options.rtl,f=s.borderWidth,m=s.connectorWidth,b=e.radius||0,y=p-d-f/2+m/2,x=(y%1?1:.5)-(m%2?0:.5),v=n.styledMode,P=g||"left"===u?-c:c;"center"===u&&(P=0,s.connectorDistance=0,t.labelAttribs.align="center"),l.bubbleItems.push(n.circle(b,p+x,d).attr(v?{}:t.bubbleAttribs).addClass((v?"highcharts-color-"+r.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(s.className||"")).add(this.legendItem.symbol)),l.connectors.push(n.path(n.crispLine([["M",b,y],["L",b+P,y]],s.connectorWidth)).attr(v?{}:t.connectorAttribs).addClass((v?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(s.connectorClassName||"")).add(this.legendItem.symbol));let M=n.text(this.formatLabel(t)).attr(v?{}:t.labelAttribs).css(v?{}:a.style).addClass("highcharts-bubble-legend-labels "+(s.labels.className||"")).add(this.legendItem.symbol),k={x:b+P+s.labels.x,y:y+s.labels.y+.4*M.getBBox().height};M.attr(k),h.push(M),M.placed=!0,M.alignAttr=k}getMaxLabelSize(){let t,e;return this.symbols.labels.forEach(function(i){e=i.getBBox(!0),t=t?e.width>t.width?e:t:e}),t||{}}formatLabel(t){let e=this.options,i=e.labels.formatter,s=e.labels.format,{numberFormatter:a}=this.chart;return s?W().format(s,t,this.chart):i?i.call(t,t):a(t.value,1)}hideOverlappingLabels(){let t=this.chart,e=this.options.labels.allowOverlap,i=this.symbols;!e&&i&&(t.hideOverlappingLabels(i.labels),i.labels.forEach(function(t,e){t.newOpacity?t.newOpacity!==t.oldOpacity&&i.connectors[e].show():i.connectors[e].hide()}))}getRanges(){let t=this.legend.bubbleLegend,e=t.chart.series,i=t.options.ranges,s,a,o=Number.MAX_VALUE,r=-Number.MAX_VALUE;return e.forEach(function(t){t.isBubble&&!t.ignoreSeries&&(a=t.getColumn("z").filter(n.isNumber)).length&&(o=(0,n.pick)(t.options.zMin,Math.min(o,Math.max((0,n.arrayMin)(a),!1===t.options.displayNegative?t.options.zThreshold:-Number.MAX_VALUE))),r=(0,n.pick)(t.options.zMax,Math.max(r,(0,n.arrayMax)(a))))}),s=o===r?[{value:r}]:[{value:o},{value:(o+r)/2},{value:r,autoRanges:!0}],i.length&&i[0].radius&&s.reverse(),s.forEach(function(t,e){i&&i[e]&&(s[e]=(0,n.merge)(i[e],t))}),s}predictBubbleSizes(){let t=this.chart,e=t.legend.options,i=e.floating,s="horizontal"===e.layout,a=s?t.legend.lastLineHeight:0,o=t.plotSizeX,r=t.plotSizeY,n=t.series[this.options.seriesIndex],l=n.getPxExtremes(),h=Math.ceil(l.minPxSize),p=Math.ceil(l.maxPxSize),d=Math.min(r,o),c,u=n.options.maxSize;return i||!/%$/.test(u)?c=p:(c=(d+a)*(u=parseFloat(u))/100/(u/100+1),(s&&r-c>=o||!s&&o-c>=r)&&(c=p)),[h,Math.ceil(c)]}updateRanges(t,e){let i=this.legend.options.bubbleLegend;i.minSize=t,i.maxSize=e,i.ranges=this.getRanges()}correctSizes(){let t=this.legend,e=this.chart.series[this.options.seriesIndex].getPxExtremes();Math.abs(Math.ceil(e.maxPxSize)-this.options.maxSize)>1&&(this.updateRanges(this.options.minSize,e.maxPxSize),t.render())}},{setOptions:G}=l(),{composed:q}=l();function V(t,e,i){let s,a,o,r=this.legend,l=U(this)>=0;r&&r.options.enabled&&r.bubbleLegend&&r.options.bubbleLegend.autoRanges&&l?(s=r.bubbleLegend.options,a=r.bubbleLegend.predictBubbleSizes(),r.bubbleLegend.updateRanges(a[0],a[1]),s.placed||(r.group.placed=!1,r.allItems.forEach(t=>{(o=t.legendItem||{}).group&&(o.group.translateY=void 0)})),r.render(),s.placed||(this.getMargins(),this.axes.forEach(t=>{t.setScale(),t.updateNames(),(0,n.objectEach)(t.ticks,function(t){t.isNew=!0,t.isNewLabel=!0})}),this.getMargins()),s.placed=!0,t.call(this,e,i),r.bubbleLegend.correctSizes()):(t.call(this,e,i),r&&r.options.enabled&&r.bubbleLegend&&r.render())}function U(t){let e=t.series,i=0;for(;i<e.length;){if(e[i]&&e[i].isBubble&&e[i].visible&&e[i].dataTable.rowCount)return i;i++}return -1}function K(t){let e=this.bubbleLegend,i=this.options,s=i.bubbleLegend,a=U(this.chart);e&&e.ranges&&e.ranges.length&&(s.ranges.length&&(s.autoRanges=!!s.ranges[0].autoRanges),this.destroyItem(e)),a>=0&&i.enabled&&s.enabled&&(s.seriesIndex=a,this.bubbleLegend=new H(s,this),this.bubbleLegend.addToLegend(t.allItems))}function j(){if(this.bubbleLegend){let t=this.allItems,e=this.options.rtl,i=function(t){let e=t.allItems,i=[],s=e.length,a,o,r,n=0,l=0;for(n=0;n<s;n++)if(o=e[n].legendItem||{},r=(e[n+1]||{}).legendItem||{},o.labelHeight&&(e[n].itemHeight=o.labelHeight),e[n]===e[s-1]||o.y!==r.y){for(i.push({height:0}),a=i[i.length-1];l<=n;l++)e[l].itemHeight>a.height&&(a.height=e[l].itemHeight);a.step=n}return i}(this),s,a,o,r,n=0;t.forEach((t,l)=>{(r=t.legendItem||{}).group&&(s=r.group.translateX||0,a=r.y||0,((o=t.movementX)||e&&t.ranges)&&(o=e?s-t.options.maxSize/2:s+o,r.group.attr({translateX:o})),l>i[n].step&&n++,r.group.attr({translateY:Math.round(a+i[n].height/2)}),r.y=a+i[n].height/2)})}}function Z(t){let e;if(t.defaultPrevented)return!1;let i=t.legendItem,s=this.chart,a=i.visible;this&&this.bubbleLegend&&(i.visible=!a,i.ignoreSeries=a,e=U(s)>=0,this.bubbleLegend.visible!==e&&(this.update({bubbleLegend:{enabled:e}}),this.bubbleLegend.visible=e),i.visible=a)}let _=function(t,e){(0,n.pushUnique)(q,"Series.BubbleLegend")&&(G({legend:{bubbleLegend:O}}),(0,n.wrap)(t.prototype,"drawChartBox",V),(0,n.addEvent)(e,"afterGetAllItems",K),(0,n.addEvent)(e,"afterRender",j),(0,n.addEvent)(e,"itemClick",Z))},$=t.default.Point;var Q=r.n($);let{seriesTypes:{scatter:{prototype:{pointClass:J}}}}=p();class tt extends J{haloPath(t){let e=(t&&this.marker&&this.marker.radius||0)+t;if(this.series.chart.inverted){let t=this.pos()||[0,0],{xAxis:i,yAxis:s,chart:a}=this.series,o=2*e;return a.renderer.symbols.circle((i?.len||0)-t[1]-e,(s?.len||0)-t[0]-e,o,o)}return Q().prototype.haloPath.call(this,e)}}(0,n.extend)(tt.prototype,{ttBelow:!1});let{composed:te,noop:ti}=l(),{series:ts,seriesTypes:{column:{prototype:ta},scatter:to}}=p();function tr(){let t=this.len,{coll:e,isXAxis:i,min:s}=this,a=(this.max||0)-(s||0),o=0,r=t,l=t/a,h;("xAxis"===e||"yAxis"===e)&&(this.series.forEach(t=>{if(t.bubblePadding&&t.reserveSpace()){this.allowZoomOutside=!0,h=!0;let e=t.getColumn(i?"x":"y");if(i&&((t.onPoint||t).getRadii(0,0,t),t.onPoint&&(t.radii=t.onPoint.radii)),a>0){let i=e.length;for(;i--;)if((0,n.isNumber)(e[i])&&this.dataMin<=e[i]&&e[i]<=this.max){let a=t.radii&&t.radii[i]||0;o=Math.min((e[i]-s)*l-a,o),r=Math.max((e[i]-s)*l+a,r)}}}}),h&&a>0&&!this.logarithmic&&(r-=t,l*=(t+Math.max(0,o)-Math.min(r,t))/t,[["min","userMin",o],["max","userMax",r]].forEach(t=>{void 0===(0,n.pick)(this.options[t[0]],this[t[1]])&&(this[t[0]]+=t[2]/l)})))}function tn(){let{ticks:t,tickPositions:e,dataMin:i=0,dataMax:s=0,categories:a}=this,o=this.options.type;if((a?.length||"category"===o)&&this.series.find(t=>t.bubblePadding)){let a=e.length;for(;a--;){let o=t[e[a]],r=o.pos||0;(r>s||r<i)&&o.label?.hide()}}}class tl extends to{static compose(t,e,i){_(e,i),(0,n.pushUnique)(te,"Series.Bubble")&&((0,n.addEvent)(t,"foundExtremes",tr),(0,n.addEvent)(t,"afterRender",tn))}animate(t){!t&&this.points.length<this.options.animationLimit&&this.points.forEach(function(t){let{graphic:e,plotX:i=0,plotY:s=0}=t;e&&e.width&&(this.hasRendered||e.attr({x:i,y:s,width:1,height:1}),e.animate(this.markerAttribs(t),this.options.animation))},this)}getRadii(){let t=[...this.getColumn("z",!1,!0)],e=this.getColumn("y"),i=[],s,a,o,r=this.chart.bubbleZExtremes,{minPxSize:l,maxPxSize:h}=this.getPxExtremes();if(!r){let t,e=Number.MAX_VALUE,i=-Number.MAX_VALUE;this.chart.series.forEach(s=>{if(s.bubblePadding&&s.reserveSpace()){let a=(s.onPoint||s).getZExtremes();a&&(e=Math.min((0,n.pick)(e,a.zMin),a.zMin),i=Math.max((0,n.pick)(i,a.zMax),a.zMax),t=!0)}}),t?(r={zMin:e,zMax:i},this.chart.bubbleZExtremes=r):r={zMin:0,zMax:0}}for(a=0,s=t.length;a<s;a++)o=t[a],i.push(this.getRadius(r.zMin,r.zMax,l,h,o,e&&e[a]));this.radii=i}getRadius(t,e,i,s,a,o){let r=this.options,l="width"!==r.sizeBy,h=r.zThreshold,p=e-t,d=.5;if(null===o||null===a)return null;if((0,n.isNumber)(a)){if(r.sizeByAbsoluteValue&&(a=Math.abs(a-h),e=p=Math.max(e-h,Math.abs(t-h)),t=0),a<t)return i/2-1;p>0&&(d=(a-t)/p)}return l&&d>=0&&(d=Math.sqrt(d)),Math.ceil(i+d*(s-i))/2}hasData(){return!!this.dataTable.rowCount}markerAttribs(t,e){let i=super.markerAttribs(t,e),{height:s=0,width:a=0}=i;return this.chart.inverted?(0,n.extend)(i,{x:(t.plotX||0)-a/2,y:(t.plotY||0)-s/2}):i}pointAttribs(t,e){let i=this.options.marker,s=i?.fillOpacity,a=ts.prototype.pointAttribs.call(this,t,e);return a["fill-opacity"]=s??1,a}translate(){super.translate.call(this),this.getRadii(),this.translateBubble()}translateBubble(){let{options:t,radii:e}=this,{minPxSize:i}=this.getPxExtremes();this.data.concat(this.condemnedPoints).forEach((s,a)=>{let{plotX:o=0,plotY:r=0}=s,l=s.condemned?s.marker?.radius||0:e?e[a]:0;"z"===this.zoneAxis&&(s.negative=(s.z||0)<(t.zThreshold||0)),(0,n.isNumber)(l)&&(s.marker=(0,n.extend)(s.marker,{radius:l,width:2*l,height:2*l})),(0,n.isNumber)(l)&&l>=i/2?s.dlBox={x:o-l,y:r-l,width:2*l,height:2*l}:(s.shapeArgs=s.plotY=s.dlBox=void 0,s.isInside=!1)})}getPxExtremes(){let t=Math.min(this.chart.plotWidth,this.chart.plotHeight),e=e=>{let i;return"string"==typeof e&&(i=/%$/.test(e),e=parseInt(e,10)),i?t*e/100:e},i=e((0,n.pick)(this.options.minSize,8)),s=Math.max(e((0,n.pick)(this.options.maxSize,"20%")),i);return{minPxSize:i,maxPxSize:s}}getZExtremes(){let t=this.options,e=this.getColumn("z").filter(n.isNumber);if(e.length){let i=(0,n.pick)(t.zMin,(0,n.clamp)((0,n.arrayMin)(e),!1===t.displayNegative?t.zThreshold||0:-Number.MAX_VALUE,Number.MAX_VALUE)),s=(0,n.pick)(t.zMax,(0,n.arrayMax)(e));if((0,n.isNumber)(i)&&(0,n.isNumber)(s))return{zMin:i,zMax:s}}}searchKDTree(t,e,i,s=ti,a=ti){return s=(t,e,i)=>{let s=t[i]||0,a=e[i]||0,o,r=!1;return s===a?o=t.index>e.index?t:e:s<0&&a<0?(o=s-(t.marker?.radius||0)>=a-(e.marker?.radius||0)?t:e,r=!0):o=s<a?t:e,[o,r]},a=(t,e,i)=>!i&&t>e||t<e,super.searchKDTree(t,e,i,s,a)}}tl.defaultOptions=(0,n.merge)(to.defaultOptions,{dataLabels:{formatter:function(){let{numberFormatter:t}=this.series.chart,{z:e}=this.point;return(0,n.isNumber)(e)?t(e,-1):""},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:!1,states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0,zThreshold:0,zoneAxis:"z"}),(0,n.extend)(tl.prototype,{alignDataLabel:ta.alignDataLabel,applyZones:ti,bubblePadding:!0,isBubble:!0,keysAffectYAxis:["y"],pointArrayMap:["y","z"],pointClass:tt,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"}),(0,n.addEvent)(tl,"updatedData",t=>{delete t.target.chart.bubbleZExtremes}),(0,n.addEvent)(tl,"remove",t=>{delete t.target.chart.bubbleZExtremes}),(0,n.addEvent)(tl,"update",t=>{let e=t.target.options;((0,n.defined)(e.zMin)||(0,n.defined)(e.zMax))&&delete t.target.chart.bubbleZExtremes}),p().registerSeriesType("bubble",tl);let{seriesTypes:{column:{prototype:{pointClass:{prototype:th}}},arearange:{prototype:{pointClass:tp}}}}=p();class td extends tp{isValid(){return(0,n.isNumber)(this.low)}}(0,n.extend)(td.prototype,{setState:th.setState});let{noop:tc}=l(),{seriesTypes:{arearange:tu,column:tg,column:{prototype:tf}}}=p();class tm extends tu{setOptions(){return(0,n.merge)(!0,arguments[0],{stacking:void 0}),tu.prototype.setOptions.apply(this,arguments)}translate(){return tf.translate.apply(this)}pointAttribs(){return tf.pointAttribs.apply(this,arguments)}translate3dPoints(){return tf.translate3dPoints.apply(this,arguments)}translate3dShapes(){return tf.translate3dShapes.apply(this,arguments)}afterColumnTranslate(){let t,e,i,s,a=this.yAxis,o=this.xAxis,r=o.startAngleRad,l=this.chart,h=this.xAxis.isRadial,p=Math.max(l.chartWidth,l.chartHeight)+999;function d(t){return(0,n.clamp)(t,-p,p)}this.points.forEach(p=>{let c=p.shapeArgs||{},u=this.options.minPointLength,g=p.plotY,f=a.translate(p.high,0,1,0,1);if((0,n.isNumber)(f)&&(0,n.isNumber)(g))if(p.plotHigh=d(f),p.plotLow=d(g),s=p.plotHigh,Math.abs(t=(0,n.pick)(p.rectPlotY,p.plotY)-p.plotHigh)<u?(e=u-t,t+=e,s-=e/2):t<0&&(t*=-1,s-=t),h&&this.polar)i=p.barX+r,p.shapeType="arc",p.shapeArgs=this.polar.arc(s+t,s,i,i+(p.pointWidth||0));else{c.height=t,c.y=s;let{x:e=0,width:i=0}=c;p.shapeArgs=(0,n.merge)(p.shapeArgs,this.crispCol(e,s,i,t)),p.tooltipPos=l.inverted?[a.len+a.pos-l.plotLeft-s-t/2,o.len+o.pos-l.plotTop-e-i/2,t]:[o.left-l.plotLeft+e+i/2,a.pos-l.plotTop+s+t/2,t]}})}}tm.defaultOptions=(0,n.merge)(tg.defaultOptions,tu.defaultOptions,{borderRadius:{where:"all"},pointRange:null,legendSymbol:"rectangle",marker:null,states:{hover:{halo:!1}}}),(0,n.addEvent)(tm,"afterColumnTranslate",function(){tm.prototype.afterColumnTranslate.apply(this)},{order:5}),(0,n.extend)(tm.prototype,{directTouch:!0,pointClass:td,trackerGroups:["group","dataLabelsGroup"],adjustForMissingColumns:tf.adjustForMissingColumns,animate:tf.animate,crispCol:tf.crispCol,drawGraph:tc,drawPoints:tf.drawPoints,getSymbol:tc,drawTracker:tf.drawTracker,getColumnMetrics:tf.getColumnMetrics}),p().registerSeriesType("columnrange",tm);let{column:tb}=p().seriesTypes;class ty extends tb{translate(){let t=this.chart,e=this.options,i=this.dense=this.closestPointRange*this.xAxis.transA<2,s=this.borderWidth=(0,n.pick)(e.borderWidth,+!i),a=this.yAxis,o=e.threshold,r=(0,n.pick)(e.minPointLength,5),l=this.getColumnMetrics(),h=l.width,p=this.pointXOffset=l.offset,d=this.translatedThreshold=a.getThreshold(o),c=this.barW=Math.max(h,1+2*s);for(let i of(t.inverted&&(d-=.5),e.pointPadding&&(c=Math.ceil(c)),super.translate(),this.points)){let s=(0,n.pick)(i.yBottom,d),u=999+Math.abs(s),g=(0,n.clamp)(i.plotY,-u,a.len+u),f=c/2,m=Math.min(g,s),b=Math.max(g,s)-m,y=i.plotX+p,x,v,P,M,k,L,w,A,N,S,T;e.centerInCategory&&(y=this.adjustForMissingColumns(y,h,i,l)),i.barX=y,i.pointWidth=h,i.tooltipPos=t.inverted?[a.len+a.pos-t.plotLeft-g,this.xAxis.len-y-f,b]:[y+f,g+a.pos-t.plotTop,b],x=o+(i.total||i.y),"percent"===e.stacking&&(x=o+(i.y<0)?-100:100);let C=a.toPixels(x,!0);P=(v=t.plotHeight-C-(t.plotHeight-d))?f*(m-C)/v:0,M=v?f*(m+b-C)/v:0,L=y-P+f,w=y+P+f,A=y+M+f,N=y-M+f,S=m-r,T=m+b,i.y<0&&(S=m,T=m+b+r),t.inverted&&(k=a.width-m,v=C-(a.width-d),P=f*(C-k)/v,M=f*(C-(k-b))/v,w=(L=y+f+P)-2*P,A=y-M+f,N=y+M+f,S=m,T=m+b-r,i.y<0&&(T=m+b+r)),i.shapeType="path",i.shapeArgs={x:L,y:S,width:w-L,height:b,d:[["M",L,S],["L",w,S],["L",A,T],["L",N,T],["Z"]]}}}}ty.defaultOptions=(0,n.merge)(tb.defaultOptions,{}),p().registerSeriesType("columnpyramid",ty);let{arearange:tx}=p().seriesTypes;class tv extends D{getColumnMetrics(){return this.linkedParent&&this.linkedParent.columnMetrics||R().prototype.getColumnMetrics.call(this)}drawDataLabels(){let t=this.pointValKey;if(tx)for(let e of(tx.prototype.drawDataLabels.call(this),this.points))e.y=e[t]}toYData(t){return[t.low,t.high]}}tv.defaultOptions=(0,n.merge)(D.defaultOptions,{color:"var(--highcharts-neutral-color-100)",grouping:!1,linkedTo:":previous",tooltip:{pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},whiskerWidth:null}),(0,n.addEvent)(tv,"afterTranslate",function(){for(let t of this.points)t.plotLow=t.plotY},{order:0}),(0,n.extend)(tv.prototype,{pointArrayMap:["low","high"],pointValKey:"high",doQuartiles:!1}),p().registerSeriesType("errorbar",tv);let{series:{prototype:{pointClass:tP}}}=p(),{noop:tM}=l(),{series:tk,seriesTypes:{column:tL}}=p();class tw extends tk{translate(){let t=this.yAxis,e=this.options,i=t.center;this.generatePoints(),this.points.forEach(s=>{if(!(0,n.isNumber)(s.y))return;let a=(0,n.merge)(e.dial,s.dial),o=(0,n.relativeLength)(a.radius,i[2]/2),r=(0,n.relativeLength)(a.baseLength,o),l=Math.min((0,n.relativeLength)(a.rearLength,o),o),h=Math.min((0,n.relativeLength)(a.baseWidth,o),o),p=(0,n.relativeLength)(a.topWidth,o),d=(0,n.relativeLength)(a.borderRadius,o),c=Math.min(d,h/2),u=Math.min(d,p/2),g=e.wrap??t.endAngleRad-t.startAngleRad>2*Math.PI-.01,f=e.overshoot,m=t.startAngleRad+t.translate(s.y,void 0,void 0,void 0,!0);((0,n.isNumber)(f)||!g)&&(f=(0,n.isNumber)(f)?f/180*Math.PI:0,m=(0,n.clamp)(m,t.startAngleRad-f,t.endAngleRad+f)),s.tooltipPos=[i[0]+Math.cos(m)*o,i[1]+Math.sin(m)*o],m=180*m/Math.PI,s.shapeType="path",s.shapeArgs={d:a.path||[["M",c-l,-h/2],["L",r,-h/2],["L",o-u,-p/2],["A",u,u,0,0,1,o,-p/2+u],["L",o,p/2-u],["A",u,u,0,0,1,o-u,p/2],["L",r,h/2],["L",c-l,h/2],["A",c,c,0,0,1,-l,h/2-c],["L",-l,c-h/2],["A",c,c,0,0,1,c-l,-h/2],["Z"]],translateX:i[0],translateY:i[1],rotation:m},s.plotX=i[0],s.plotY=i[1],(0,n.defined)(s.y)&&t.max-t.min&&(s.percentage=(s.y-t.min)/(t.max-t.min)*100)})}drawPoints(){let t=this,e=t.chart,i=t.yAxis.center,s=t.pivot,a=t.options,o=a.pivot,r=e.renderer,l=(0,n.relativeLength)(o?.radius||0,i[2]/2);t.points.forEach(i=>{if((0,n.isNumber)(i.y)){let s=i.graphic,o=i.shapeArgs,l=o.d,h=(0,n.merge)(a.dial,i.dial);s?(s.animate(o),o.d=l):i.graphic=r[i.shapeType](o).addClass("highcharts-dial").add(t.group),!e.styledMode&&i.graphic&&i.graphic[s?"animate":"attr"]({stroke:h.borderColor,"stroke-width":h.borderWidth,fill:h.backgroundColor})}}),s?s.animate({translateX:i[0],translateY:i[1],r:l}):o&&(t.pivot=r.circle(0,0,l).attr({zIndex:2}).addClass("highcharts-pivot").translate(i[0],i[1]).add(t.group),e.styledMode||t.pivot.attr({fill:o.backgroundColor,stroke:o.borderColor,"stroke-width":o.borderWidth}))}animate(t){let e=this;t||e.points.forEach(t=>{let i=t.graphic;i&&(i.attr({rotation:180*e.yAxis.startAngleRad/Math.PI}),i.animate({rotation:t.shapeArgs.rotation},e.options.animation))})}setData(t,e){tk.prototype.setData.call(this,t,!1),this.processData(),this.generatePoints(),(0,n.pick)(e,!0)&&this.chart.redraw()}hasData(){return!!this.points.length}}tw.defaultOptions=(0,n.merge)(tk.defaultOptions,{clip:!1,color:"var(--highcharts-neutral-color-20)",dataLabels:{crop:!1,defer:!1,distance:0,enabled:!0,padding:5,verticalAlign:"top",style:{fontSize:"1.4em"},y:25,zIndex:2},dial:{backgroundColor:"var(--highcharts-neutral-color-100)",baseLength:0,baseWidth:"18%",borderColor:"var(--highcharts-neutral-color-20)",borderRadius:"9%",borderWidth:0,radius:"70%",rearLength:"9%",topWidth:"4%"},pivot:{radius:"4%",borderWidth:2,borderColor:"var(--highcharts-neutral-color-100)",backgroundColor:"var(--highcharts-background-color)"},threshold:0,tooltip:{headerFormat:""},showInLegend:!1}),(0,n.extend)(tw.prototype,{angular:!0,directTouch:!0,drawGraph:tM,drawTracker:tL.prototype.drawTracker,fixedBox:!0,forceDL:!0,noSharedTooltip:!0,pointClass:class extends tP{setState(t){this.state=t}},trackerGroups:["group","dataLabelsGroup"]}),p().registerSeriesType("gauge",tw);let tA=t.default.Color;var tN=r.n(tA);let{composed:tS}=l();function tT(){let t,e,i,s,a=this;a.container&&(t=(0,n.addEvent)(a.container,"mousedown",t=>{e&&e(),i&&i(),(s=a.hoverPoint)&&s.series&&s.series.hasDraggableNodes&&s.series.options.draggable&&(s.series.onMouseDown(s,t),e=(0,n.addEvent)(a.container,"mousemove",t=>s&&s.series&&s.series.onMouseMove(s,t)),i=(0,n.addEvent)(a.container.ownerDocument,"mouseup",t=>(e(),i(),s&&s.series&&s.series.onMouseUp(s,t))))})),(0,n.addEvent)(a,"destroy",function(){t()})}let tC={compose:function(t){(0,n.pushUnique)(tS,"DragNodes")&&(0,n.addEvent)(t,"load",tT)},onMouseDown:function(t,e){let{panKey:i}=this.chart.options.chart;if(i&&e[`${i}Key`])return;let s=this.chart.pointer?.normalize(e)||e;t.fixedPosition={chartX:s.chartX,chartY:s.chartY,plotX:t.plotX,plotY:t.plotY},t.inDragMode=!0},onMouseMove:function(t,e){if(t.fixedPosition&&t.inDragMode){let i,s,a=this.chart,o=a.pointer?.normalize(e)||e,r=t.fixedPosition.chartX-o.chartX,n=t.fixedPosition.chartY-o.chartY,l=a.graphLayoutsLookup;(Math.abs(r)>5||Math.abs(n)>5)&&(i=t.fixedPosition.plotX-r,s=t.fixedPosition.plotY-n,a.isInsidePlot(i,s)&&(t.plotX=i,t.plotY=s,t.hasDragged=!0,this.redrawHalo(t),l.forEach(t=>{t.restartSimulation()})))}},onMouseUp:function(t){t.fixedPosition&&(t.hasDragged&&(this.layout.enableSimulation?this.layout.start():this.chart.redraw()),t.inDragMode=t.hasDragged=!1,this.options.fixedDraggable||delete t.fixedPosition)},redrawHalo:function(t){t&&this.halo&&this.halo.attr({d:t.haloPath(this.options.states.hover.halo.size)})}},{setAnimation:tX}=l(),{composed:tY}=l();function tE(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach(t=>{t.updateSimulation()}),this.redraw())}function tR(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach(t=>{t.updateSimulation(!1)}),this.redraw())}function tI(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach(t=>{t.stop()})}function tz(){let t,e=!1,i=i=>{i.maxIterations--&&isFinite(i.temperature)&&!i.isStable()&&!i.enableSimulation&&(i.beforeStep&&i.beforeStep(),i.step(),t=!1,e=!0)};if(this.graphLayoutsLookup&&!this.pointer?.hasDragged){for(tX(!1,this),this.graphLayoutsLookup.forEach(t=>t.start());!t;)t=!0,this.graphLayoutsLookup.forEach(i);e&&this.series.forEach(t=>{t&&t.layout&&t.render()})}}let tD=function(t){(0,n.pushUnique)(tY,"GraphLayout")&&((0,n.addEvent)(t,"afterPrint",tE),(0,n.addEvent)(t,"beforePrint",tR),(0,n.addEvent)(t,"predraw",tI),(0,n.addEvent)(t,"render",tz))},tO={},tB={},tW=t.default.Chart;var tF=r.n(tW);let{seriesTypes:{bubble:{prototype:{pointClass:tH}}}}=p(),tG=class extends tH{destroy(){return this.series?.layout&&this.series.layout.removeElementFromCollection(this,this.series.layout.nodes),Q().prototype.destroy.apply(this,arguments)}firePointEvent(){let t=this.series.options;if(this.isParentNode&&t.parentNode){let e=t.allowPointSelect;t.allowPointSelect=t.parentNode.allowPointSelect,Q().prototype.firePointEvent.apply(this,arguments),t.allowPointSelect=e}else Q().prototype.firePointEvent.apply(this,arguments)}select(){let t=this.series.chart;this.isParentNode?(t.getSelectedPoints=t.getSelectedParentNodes,Q().prototype.select.apply(this,arguments),t.getSelectedPoints=tF().prototype.getSelectedPoints):Q().prototype.select.apply(this,arguments)}setState(t,e){this?.graphic?.parentGroup?.element&&super.setState(t,e)}},tq={attractive:function(t,e,i){let s=t.getMass(),a=-i.x*e*this.diffTemperature,o=-i.y*e*this.diffTemperature;t.fromNode.fixedPosition||(t.fromNode.plotX-=a*s.fromNode/t.fromNode.degree,t.fromNode.plotY-=o*s.fromNode/t.fromNode.degree),t.toNode.fixedPosition||(t.toNode.plotX+=a*s.toNode/t.toNode.degree,t.toNode.plotY+=o*s.toNode/t.toNode.degree)},attractiveForceFunction:function(t,e){return(e-t)/t},barycenter:function(){let t=this.options.gravitationalConstant||0,e=(this.barycenter.xFactor-(this.box.left+this.box.width)/2)*t,i=(this.barycenter.yFactor-(this.box.top+this.box.height)/2)*t;this.nodes.forEach(function(t){t.fixedPosition||(t.plotX-=e/t.mass/t.degree,t.plotY-=i/t.mass/t.degree)})},getK:function(t){return Math.pow(t.box.width*t.box.height/t.nodes.length,.5)},integrate:function(t,e){let i=-t.options.friction,s=t.options.maxSpeed,a=e.prevX,o=e.prevY,r=(e.plotX+e.dispX-a)*i,n=(e.plotY+e.dispY-o)*i,l=Math.abs,h=l(r)/(r||1),p=l(n)/(n||1),d=h*Math.min(s,Math.abs(r)),c=p*Math.min(s,Math.abs(n));e.prevX=e.plotX+e.dispX,e.prevY=e.plotY+e.dispY,e.plotX+=d,e.plotY+=c,e.temperature=t.vectorLength({x:d,y:c})},repulsive:function(t,e,i){let s=e*this.diffTemperature/t.mass/t.degree;t.fixedPosition||(t.plotX+=i.x*s,t.plotY+=i.y*s)},repulsiveForceFunction:function(t,e){return(e-t)/t*(e>t)}},{noop:tV}=l(),tU={barycenter:function(){let t,e,i=this.options.gravitationalConstant||0,s=this.box,a=this.nodes,o=Math.sqrt(a.length);for(let r of a)if(!r.fixedPosition){let a=r.mass*o,n=r.plotX||0,l=r.plotY||0,h=r.series,p=h.parentNode;this.resolveSplitSeries(r)&&p&&!r.isParentNode?(t=p.plotX||0,e=p.plotY||0):(t=s.width/2,e=s.height/2),r.plotX=n-(n-t)*i/a,r.plotY=l-(l-e)*i/a,h.chart.hoverPoint===r&&h.redrawHalo&&h.halo&&h.redrawHalo(r)}},getK:tV,integrate:tq.integrate,repulsive:function(t,e,i,s){let a=e*this.diffTemperature/t.mass/t.degree,o=i.x*a,r=i.y*a;t.fixedPosition||(t.plotX+=o,t.plotY+=r),s.fixedPosition||(s.plotX-=o,s.plotY-=r)},repulsiveForceFunction:function(t,e,i,s){return Math.min(t,(i.marker.radius+s.marker.radius)/2)}},tK={attractive:function(t,e,i,s){let a=t.getMass(),o=i.x/s*e,r=i.y/s*e;t.fromNode.fixedPosition||(t.fromNode.dispX-=o*a.fromNode/t.fromNode.degree,t.fromNode.dispY-=r*a.fromNode/t.fromNode.degree),t.toNode.fixedPosition||(t.toNode.dispX+=o*a.toNode/t.toNode.degree,t.toNode.dispY+=r*a.toNode/t.toNode.degree)},attractiveForceFunction:function(t,e){return t*t/e},barycenter:function(){let t=this.options.gravitationalConstant,e=this.barycenter.xFactor,i=this.barycenter.yFactor;this.nodes.forEach(function(s){if(!s.fixedPosition){let a=s.getDegree(),o=a*(1+a/2);s.dispX+=(e-s.plotX)*t*o/s.degree,s.dispY+=(i-s.plotY)*t*o/s.degree}})},getK:function(t){return Math.pow(t.box.width*t.box.height/t.nodes.length,.3)},integrate:function(t,e){e.dispX+=e.dispX*t.options.friction,e.dispY+=e.dispY*t.options.friction;let i=e.temperature=t.vectorLength({x:e.dispX,y:e.dispY});0!==i&&(e.plotX+=e.dispX/i*Math.min(Math.abs(e.dispX),t.temperature),e.plotY+=e.dispY/i*Math.min(Math.abs(e.dispY),t.temperature))},repulsive:function(t,e,i,s){t.dispX+=i.x/s*e/t.degree,t.dispY+=i.y/s*e/t.degree},repulsiveForceFunction:function(t,e){return e*e/t}};class tj{constructor(t){this.body=!1,this.isEmpty=!1,this.isInternal=!1,this.nodes=[],this.box=t,this.boxSize=Math.min(t.width,t.height)}divideBox(){let t=this.box.width/2,e=this.box.height/2;this.nodes[0]=new tj({left:this.box.left,top:this.box.top,width:t,height:e}),this.nodes[1]=new tj({left:this.box.left+t,top:this.box.top,width:t,height:e}),this.nodes[2]=new tj({left:this.box.left+t,top:this.box.top+e,width:t,height:e}),this.nodes[3]=new tj({left:this.box.left,top:this.box.top+e,width:t,height:e})}getBoxPosition(t){let e=t.plotX<this.box.left+this.box.width/2,i=t.plotY<this.box.top+this.box.height/2;return e?3*!i:i?1:2}insert(t,e){let i;this.isInternal?this.nodes[this.getBoxPosition(t)].insert(t,e-1):(this.isEmpty=!1,this.body?e?(this.isInternal=!0,this.divideBox(),!0!==this.body&&(this.nodes[this.getBoxPosition(this.body)].insert(this.body,e-1),this.body=!0),this.nodes[this.getBoxPosition(t)].insert(t,e-1)):((i=new tj({top:t.plotX||NaN,left:t.plotY||NaN,width:.1,height:.1})).body=t,i.isInternal=!1,this.nodes.push(i)):(this.isInternal=!1,this.body=t))}updateMassAndCenter(){let t=0,e=0,i=0;if(this.isInternal){for(let s of this.nodes)s.isEmpty||(t+=s.mass,e+=s.plotX*s.mass,i+=s.plotY*s.mass);e/=t,i/=t}else this.body&&(t=this.body.mass,e=this.body.plotX,i=this.body.plotY);this.mass=t,this.plotX=e,this.plotY=i}}let tZ=class{constructor(t,e,i,s){this.box={left:t,top:e,width:i,height:s},this.maxDepth=25,this.root=new tj(this.box),this.root.isInternal=!0,this.root.isRoot=!0,this.root.divideBox()}calculateMassAndCenter(){this.visitNodeRecursive(null,null,function(t){t.updateMassAndCenter()})}insertNodes(t){for(let e of t)this.root.insert(e,this.maxDepth)}visitNodeRecursive(t,e,i){let s;if(t||(t=this.root),t===this.root&&e&&(s=e(t)),!1!==s){for(let a of t.nodes){if(a.isInternal){if(e&&(s=e(a)),!1===s)continue;this.visitNodeRecursive(a,e,i)}else a.body&&e&&e(a.body);i&&i(a)}t===this.root&&i&&i(t)}}},{win:t_}=l();class t${constructor(){this.box={},this.currentStep=0,this.initialRendering=!0,this.links=[],this.nodes=[],this.series=[],this.simulation=!1}static compose(t){tD(t),tO.euler=tK,tO.verlet=tq,tB["reingold-fruchterman"]=t$}init(t){this.options=t,this.nodes=[],this.links=[],this.series=[],this.box={x:0,y:0,width:0,height:0},this.setInitialRendering(!0),this.integration=tO[t.integration],this.enableSimulation=t.enableSimulation,this.attractiveForce=(0,n.pick)(t.attractiveForce,this.integration.attractiveForceFunction),this.repulsiveForce=(0,n.pick)(t.repulsiveForce,this.integration.repulsiveForceFunction),this.approximation=t.approximation}updateSimulation(t){this.enableSimulation=(0,n.pick)(t,this.options.enableSimulation)}start(){let t=this.series,e=this.options;this.currentStep=0,this.forces=t[0]&&t[0].forces||[],this.chart=t[0]&&t[0].chart,this.initialRendering&&(this.initPositions(),t.forEach(function(t){t.finishedAnimating=!0,t.render()})),this.setK(),this.resetSimulation(e),this.enableSimulation&&this.step()}step(){let t=this.series;for(let t of(this.currentStep++,"barnes-hut"===this.approximation&&(this.createQuadTree(),this.quadTree.calculateMassAndCenter()),this.forces||[]))this[t+"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 e of t)e.chart&&e.render();this.maxIterations--&&isFinite(this.temperature)&&!this.isStable()?(this.simulation&&t_.cancelAnimationFrame(this.simulation),this.simulation=t_.requestAnimationFrame(()=>this.step())):(this.simulation=!1,this.series.forEach(t=>{(0,n.fireEvent)(t,"afterSimulation")}))}}stop(){this.simulation&&t_.cancelAnimationFrame(this.simulation)}setArea(t,e,i,s){this.box={left:t,top:e,width:i,height:s}}setK(){this.k=this.options.linkLength||this.integration.getK(this)}addElementsToCollection(t,e){for(let i of t)-1===e.indexOf(i)&&e.push(i)}removeElementFromCollection(t,e){let i=e.indexOf(t);-1!==i&&e.splice(i,1)}clear(){this.nodes.length=0,this.links.length=0,this.series.length=0,this.resetSimulation()}resetSimulation(){this.forcedStop=!1,this.systemTemperature=0,this.setMaxIterations(),this.setTemperature(),this.setDiffTemperature()}restartSimulation(){this.simulation?this.resetSimulation():(this.setInitialRendering(!1),this.enableSimulation?this.start():this.setMaxIterations(1),this.chart&&this.chart.redraw(),this.setInitialRendering(!0))}setMaxIterations(t){this.maxIterations=(0,n.pick)(t,this.options.maxIterations)}setTemperature(){this.temperature=this.startTemperature=Math.sqrt(this.nodes.length)}setDiffTemperature(){this.diffTemperature=this.startTemperature/(this.options.maxIterations+1)}setInitialRendering(t){this.initialRendering=t}createQuadTree(){this.quadTree=new tZ(this.box.left,this.box.top,this.box.width,this.box.height),this.quadTree.insertNodes(this.nodes)}initPositions(){let t=this.options.initialPositions;if((0,n.isFunction)(t))for(let e of(t.call(this),this.nodes))(0,n.defined)(e.prevX)||(e.prevX=e.plotX),(0,n.defined)(e.prevY)||(e.prevY=e.plotY),e.dispX=0,e.dispY=0;else"circle"===t?this.setCircularPositions():this.setRandomPositions()}setCircularPositions(){let t,e=this.box,i=this.nodes,s=2*Math.PI/(i.length+1),a=i.filter(function(t){return 0===t.linksTo.length}),o={},r=this.options.initialPositionRadius,l=t=>{for(let e of t.linksFrom||[])o[e.toNode.id]||(o[e.toNode.id]=!0,h.push(e.toNode),l(e.toNode))},h=[];for(let t of a)h.push(t),l(t);if(h.length)for(let t of i)-1===h.indexOf(t)&&h.push(t);else h=i;for(let i=0,a=h.length;i<a;++i)(t=h[i]).plotX=t.prevX=(0,n.pick)(t.plotX,e.width/2+r*Math.cos(i*s)),t.plotY=t.prevY=(0,n.pick)(t.plotY,e.height/2+r*Math.sin(i*s)),t.dispX=0,t.dispY=0}setRandomPositions(){let t,e=this.box,i=this.nodes,s=i.length+1,a=t=>{let e=t*t/Math.PI;return e-Math.floor(e)};for(let o=0,r=i.length;o<r;++o)(t=i[o]).plotX=t.prevX=(0,n.pick)(t.plotX,e.width*a(o)),t.plotY=t.prevY=(0,n.pick)(t.plotY,e.height*a(s+o)),t.dispX=0,t.dispY=0}force(t,...e){this.integration[t].apply(this,e)}barycenterForces(){this.getBarycenter(),this.force("barycenter")}getBarycenter(){let t=0,e=0,i=0;for(let s of this.nodes)e+=s.plotX*s.mass,i+=s.plotY*s.mass,t+=s.mass;return this.barycenter={x:e,y:i,xFactor:e/t,yFactor:i/t},this.barycenter}barnesHutApproximation(t,e){let i,s,a=this.getDistXY(t,e),o=this.vectorLength(a);return t!==e&&0!==o&&(e.isInternal?e.boxSize/o<this.options.theta&&0!==o?(s=this.repulsiveForce(o,this.k),this.force("repulsive",t,s*e.mass,a,o),i=!1):i=!0:(s=this.repulsiveForce(o,this.k),this.force("repulsive",t,s*e.mass,a,o))),i}repulsiveForces(){if("barnes-hut"===this.approximation)for(let t of this.nodes)this.quadTree.visitNodeRecursive(null,e=>this.barnesHutApproximation(t,e));else{let t,e,i;for(let s of this.nodes)for(let a of this.nodes)s===a||s.fixedPosition||(i=this.getDistXY(s,a),0!==(e=this.vectorLength(i))&&(t=this.repulsiveForce(e,this.k),this.force("repulsive",s,t*a.mass,i,e)))}}attractiveForces(){let t,e,i;for(let s of this.links)s.fromNode&&s.toNode&&(t=this.getDistXY(s.fromNode,s.toNode),0!==(e=this.vectorLength(t))&&(i=this.attractiveForce(e,this.k),this.force("attractive",s,i,t,e)))}applyLimits(){for(let t of this.nodes)t.fixedPosition||(this.integration.integrate(this,t),this.applyLimitBox(t,this.box),t.dispX=0,t.dispY=0)}applyLimitBox(t,e){let i=t.radius;t.plotX=(0,n.clamp)(t.plotX,e.left+i,e.width-i),t.plotY=(0,n.clamp)(t.plotY,e.top+i,e.height-i)}coolDown(t,e,i){return t-e*i}isStable(){return 1e-5>Math.abs(this.systemTemperature-this.prevSystemTemperature)||this.temperature<=0}getSystemTemperature(){let t=0;for(let e of this.nodes)t+=e.temperature;return t}vectorLength(t){return Math.sqrt(t.x*t.x+t.y*t.y)}getDistR(t,e){let i=this.getDistXY(t,e);return this.vectorLength(i)}getDistXY(t,e){let i=t.plotX-e.plotX,s=t.plotY-e.plotY;return{x:i,y:s,absX:Math.abs(i),absY:Math.abs(s)}}}let tQ=t$;function tJ(){let t=this.series,e=[];return t.forEach(t=>{t.parentNode&&t.parentNode.selected&&e.push(t.parentNode)}),e}function t0(){this.allDataPoints&&delete this.allDataPoints}class t1 extends tQ{constructor(){super(...arguments),this.index=NaN,this.nodes=[],this.series=[]}static compose(t){tQ.compose(t),tO.packedbubble=tU,tB.packedbubble=t1;let e=t.prototype;e.getSelectedParentNodes||((0,n.addEvent)(t,"beforeRedraw",t0),e.getSelectedParentNodes=tJ),e.allParentNodes||(e.allParentNodes=[])}beforeStep(){this.options.marker&&this.series.forEach(t=>{t&&t.calculateParentRadius()})}isStable(){let t=Math.abs(this.prevSystemTemperature-this.systemTemperature);return 1>Math.abs(10*this.systemTemperature/Math.sqrt(this.nodes.length))&&t<1e-5||this.temperature<=0}setCircularPositions(){let t=this.box,e=[...this.nodes,...this?.chart?.allParentNodes||[]],i=2*Math.PI/(e.length+1),s=this.options.initialPositionRadius,a,o,r=0;for(let l of e)this.resolveSplitSeries(l)&&!l.isParentNode?(a=l.series.parentNode.plotX,o=l.series.parentNode.plotY):(a=t.width/2,o=t.height/2),l.plotX=l.prevX=(0,n.pick)(l.plotX,a+s*Math.cos(l.index||r*i)),l.plotY=l.prevY=(0,n.pick)(l.plotY,o+s*Math.sin(l.index||r*i)),l.dispX=0,l.dispY=0,r++}repulsiveForces(){let{options:t,k:e}=this,{bubblePadding:i=0,seriesInteraction:s}=t,a=[...this.nodes,...this?.chart?.allParentNodes||[]];for(let t of a){let o=t.series,r=t.fixedPosition,n=(t.marker?.radius||0)+i;for(let i of(t.degree=t.mass,t.neighbors=0,a)){let a=i.series;if(t!==i&&!r&&(s||o===a)&&!(o===a&&(i.isParentNode||t.isParentNode))){let s,a=this.getDistXY(t,i),o=this.vectorLength(a)-(n+(i.marker?.radius||0));o<0&&(t.degree+=.01,s=this.repulsiveForce(-o/Math.sqrt(++t.neighbors),e,t,i)*i.mass),this.force("repulsive",t,s||0,a,i,o)}}}}resolveSplitSeries(t){let e=t.series?.options?.layoutAlgorithm?.splitSeries;return!(0,n.defined)(e)&&t.series.chart?.options?.plotOptions?.packedbubble?.layoutAlgorithm?.splitSeries||e||!1}applyLimitBox(t,e){let i,s;this.resolveSplitSeries(t)&&!t.isParentNode&&this.options.parentNodeLimit&&(i=this.getDistXY(t,t.series.parentNode),(s=t.series.parentNodeRadius-t.marker.radius-this.vectorLength(i))<0&&s>-2*t.marker.radius&&(t.plotX-=.01*i.x,t.plotY-=.01*i.y)),super.applyLimitBox(t,e)}}tB.packedbubble=t1;let{animObject:t2}=l(),t3=t.default.SVGElement;var t5=r.n(t3);let{composed:t8,deg2rad:t9}=l(),{parse:t6}=tN(),{noop:t4}=l(),{series:{prototype:t7},seriesTypes:{bubble:et}}=p(),{initDataLabels:ee,initDataLabelsDefer:ei}={initDataLabels:function(){let t=this.options.dataLabels;if(!this.dataLabelsGroup){let e=this.initDataLabelsGroup(0,t);return!this.chart.styledMode&&t?.style&&e.css(t.style),e.attr({opacity:0}),this.visible&&(this.options.animation&&t?.animation?e.animate({opacity:1},t.animation):e.attr({opacity:1}),e.show()),e}return this.dataLabelsGroup.attr({opacity:1,...this.getPlotBox("data-labels")}),this.dataLabelsGroup},initDataLabelsDefer:function(){let t=this.options.dataLabels;t?.defer&&this.options.layoutAlgorithm?.enableSimulation?(0,n.syncTimeout)(()=>{this.deferDataLabels=!1},t?t2(t.animation).defer:0):this.deferDataLabels=!1}};i=t5(),(0,n.pushUnique)(t8,"TextPath")&&((0,n.addEvent)(i,"afterGetBBox",function(t){let e=t.bBox,i=this.element?.querySelector("textPath");if(i){let t=[],{b:s,h:a}=this.renderer.fontMetrics(this.element),o=a-s,r=RegExp('(<tspan>|<tspan(?!\\sclass="highcharts-br")[^>]*>|<\\/tspan>)',"g"),n=i.innerHTML.replace(r,"").split(/<tspan class="highcharts-br"[^>]*>/),l=n.length,h=(t,e)=>{let{x:a,y:r}=e,n=(i.getRotationOfChar(t)-90)*t9,l=Math.cos(n),h=Math.sin(n);return[[a-o*l,r-o*h],[a+s*l,r+s*h]]};for(let e=0,s=0;s<l;s++){let a=n[s].length;for(let o=0;o<a;o+=5)try{let a=e+o+s,[r,n]=h(a,i.getStartPositionOfChar(a));0===o?(t.push(n),t.push(r)):(0===s&&t.unshift(n),s===l-1&&t.push(r))}catch{break}e+=a-1;try{let a=e+s,o=i.getEndPositionOfChar(a),[r,n]=h(a,o);t.unshift(n),t.unshift(r)}catch{break}}t.length&&t.push(t[0].slice()),e.polygon=t}return e}),(0,n.addEvent)(i,"beforeAddingDataLabel",function(t){let e=t.labelOptions,i=t.point,s=e[i.formatPrefix+"TextPath"]||e.textPath;s&&!e.useHTML&&(this.setTextPath(i.getDataLabelPath?.(this)||i.graphic,s),i.dataLabelPath&&!s.enabled&&(i.dataLabelPath=i.dataLabelPath.destroy()))}),i.prototype.setTextPath=i.prototype.setTextPath??function(t,e){let i=this.renderer.url,s=this.text||this,a=s.textPath,{attributes:o,enabled:r}=(0,n.merge)({enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},e);if(t=t||a&&a.path,a?.undo(),t&&r){let e=(0,n.addEvent)(s,"afterModifyTree",e=>{if(t&&r){let a=t.attr("id");a||t.attr("id",a=(0,n.uniqueKey)());let r={x:0,y:0};(0,n.defined)(o.dx)&&(r.dx=o.dx,delete o.dx),(0,n.defined)(o.dy)&&(r.dy=o.dy,delete o.dy),s.attr(r),this.attr({transform:""}),this.box&&(this.box=this.box.destroy());let l=e.nodes.slice(0);e.nodes.length=0,e.nodes[0]={tagName:"textPath",attributes:(0,n.extend)(o,{"text-anchor":o.textAnchor,href:`${i}#${a}`}),children:l}}});s.textPath={path:t,undo:e}}else s.attr({dx:0,dy:0}),delete s.textPath;return this.added&&(s.textCache="",this.renderer.buildText(s)),this});class es extends et{constructor(){super(...arguments),this.parentNodeMass=0,this.deferDataLabels=!0}static compose(t,e,i){et.compose(t,e,i),tC.compose(e),t1.compose(e)}accumulateAllPoints(){let t=this.chart,e=[];for(let i of t.series)if(i.is("packedbubble")&&i.reserveSpace()){let t=i.getColumn("value");for(let s=0;s<t.length;s++)e.push([null,null,t[s],i.index,s,{id:s,marker:{radius:0}}])}return e}addLayout(){let t=this.options.layoutAlgorithm=this.options.layoutAlgorithm||{},e=t.type||"packedbubble",i=this.chart.options.chart,s=this.chart.graphLayoutsStorage,a=this.chart.graphLayoutsLookup,o;s||(this.chart.graphLayoutsStorage=s={},this.chart.graphLayoutsLookup=a=[]),(o=s[e])||(t.enableSimulation=(0,n.defined)(i.forExport)?!i.forExport:t.enableSimulation,s[e]=o=new tB[e],o.init(t),a.splice(o.index,0,o)),this.layout=o,this.points.forEach(t=>{t.mass=2,t.degree=1,t.collisionNmb=1}),o.setArea(0,0,this.chart.plotWidth,this.chart.plotHeight),o.addElementsToCollection([this],o.series),o.addElementsToCollection(this.points,o.nodes)}addSeriesLayout(){let t=this.options.layoutAlgorithm=this.options.layoutAlgorithm||{},e=t.type||"packedbubble",i=this.chart.graphLayoutsStorage,s=this.chart.graphLayoutsLookup,a=(0,n.merge)(t,t.parentNodeOptions,{enableSimulation:this.layout.options.enableSimulation}),o=i[e+"-series"];o||(i[e+"-series"]=o=new tB[e],o.init(a),s.splice(o.index,0,o)),this.parentNodeLayout=o,this.createParentNodes()}calculateParentRadius(){let t=this.seriesBox();this.parentNodeRadius=(0,n.clamp)(Math.sqrt(2*this.parentNodeMass/Math.PI)+20,20,t?Math.max(Math.sqrt(Math.pow(t.width,2)+Math.pow(t.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 t=this.chart.series,e=this.options.zMin,i=this.options.zMax,s=1/0,a=-1/0;return e&&i?[e,i]:(t.forEach(t=>{t.getColumn("value").forEach(t=>{(0,n.defined)(t)&&(t>a&&(a=t),t<s&&(s=t))})}),[e=(0,n.pick)(e,s),i=(0,n.pick)(i,a)])}checkOverlap(t,e){let i=t[0]-e[0],s=t[1]-e[1];return Math.sqrt(i*i+s*s)-Math.abs(t[2]+e[2])<-.001}createParentNodes(){let t=this.pointClass,e=this.chart,i=this.parentNodeLayout,s=this.layout.options,a,o=this.parentNode,r={radius:this.parentNodeRadius,lineColor:this.color,fillColor:t6(this.color).brighten(.4).get()};s.parentNodeOptions&&(r=(0,n.merge)(s.parentNodeOptions.marker||{},r)),this.parentNodeMass=0,this.points.forEach(t=>{this.parentNodeMass+=Math.PI*Math.pow(t.marker.radius,2)}),this.calculateParentRadius(),i.nodes.forEach(t=>{t.seriesIndex===this.index&&(a=!0)}),i.setArea(0,0,e.plotWidth,e.plotHeight),a||(o||(o=new t(this,{mass:this.parentNodeRadius/2,marker:r,dataLabels:{inside:!1},states:{normal:{marker:r},hover:{marker:r}},dataLabelOnNull:!0,degree:this.parentNodeRadius,isParentNode:!0,seriesIndex:this.index}),this.chart.allParentNodes.push(o)),this.parentNode&&(o.plotX=this.parentNode.plotX,o.plotY=this.parentNode.plotY),this.parentNode=o,i.addElementsToCollection([this],i.series),i.addElementsToCollection([o],i.nodes))}deferLayout(){let t=this.options.layoutAlgorithm;this.visible&&(this.addLayout(),t.splitSeries&&this.addSeriesLayout())}destroy(){this.chart.graphLayoutsLookup&&this.chart.graphLayoutsLookup.forEach(t=>{t.removeElementFromCollection(this,t.series)},this),this.parentNode&&this.parentNodeLayout&&(this.parentNodeLayout.removeElementFromCollection(this.parentNode,this.parentNodeLayout.nodes),this.parentNode.dataLabel&&(this.parentNode.dataLabel=this.parentNode.dataLabel.destroy())),t7.destroy.apply(this,arguments)}drawDataLabels(){!this.deferDataLabels&&(t7.drawDataLabels.call(this,this.points),this.parentNode&&(this.parentNode.formatPrefix="parentNode",t7.drawDataLabels.call(this,[this.parentNode])))}drawGraph(){if(!this.layout||!this.layout.options.splitSeries)return;let t=this.chart,e=this.layout.options.parentNodeOptions.marker,i={fill:e.fillColor||t6(this.color).brighten(.4).get(),opacity:e.fillOpacity,stroke:e.lineColor||this.color,"stroke-width":(0,n.pick)(e.lineWidth,this.options.lineWidth)},s={};this.parentNodesGroup=this.plotGroup("parentNodesGroup","parentNode",this.visible?"inherit":"hidden",.1,t.seriesGroup),this.group?.attr({zIndex:2}),this.calculateParentRadius(),this.parentNode&&(0,n.defined)(this.parentNode.plotX)&&(0,n.defined)(this.parentNode.plotY)&&(0,n.defined)(this.parentNodeRadius)&&(s=(0,n.merge)({x:this.parentNode.plotX-this.parentNodeRadius,y:this.parentNode.plotY-this.parentNodeRadius,width:2*this.parentNodeRadius,height:2*this.parentNodeRadius},i),this.parentNode.graphic||(this.graph=this.parentNode.graphic=t.renderer.symbol(i.symbol).add(this.parentNodesGroup)),this.parentNode.graphic.attr(s))}drawTracker(){let t,e=this.parentNode;super.drawTracker(),e&&(t=(0,n.isArray)(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[],e.graphic&&(e.graphic.element.point=e),t.forEach(t=>{(t.div||t.element).point=e}))}getPointRadius(){let t,e,i,s,a=this.chart,o=a.plotWidth,r=a.plotHeight,l=this.options,h=l.useSimulation,p=Math.min(o,r),d={},c=[],u=a.allDataPoints||[],g=u.length;["minSize","maxSize"].forEach(t=>{let e=parseInt(l[t],10),i=/%$/.test(l[t]);d[t]=i?p*e/100:e*Math.sqrt(g)}),a.minRadius=t=d.minSize/Math.sqrt(g),a.maxRadius=e=d.maxSize/Math.sqrt(g);let f=h?this.calculateZExtremes():[t,e];u.forEach((a,o)=>{i=h?(0,n.clamp)(a[2],f[0],f[1]):a[2],0===(s=this.getRadius(f[0],f[1],t,e,i))&&(s=null),u[o][2]=s,c.push(s)}),this.radii=c}init(){return t7.init.apply(this,arguments),ei.call(this),this.eventsToUnbind.push((0,n.addEvent)(this,"updatedData",function(){this.chart.series.forEach(t=>{t.type===this.type&&(t.isDirty=!0)},this)})),this}onMouseUp(t){if(t.fixedPosition&&!t.removed){let e,i=this.layout,s=this.parentNodeLayout;!t.isParentNode&&s&&i.options.dragBetweenSeries&&s.nodes.forEach(s=>{t&&t.marker&&s!==t.series.parentNode&&(e=i.getDistXY(t,s),i.vectorLength(e)-s.marker.radius-t.marker.radius<0&&(s.series.addPoint((0,n.merge)(t.options,{plotX:t.plotX,plotY:t.plotY}),!1),i.removeElementFromCollection(t,i.nodes),t.remove()))}),tC.onMouseUp.apply(this,arguments)}}placeBubbles(t){let e=this.checkOverlap,i=this.positionBubble,s=[],a=1,o=0,r=0,n,l=[],h,p=t.sort((t,e)=>e[2]-t[2]);if(p.length){if(s.push([[0,0,p[0][2],p[0][3],p[0][4]]]),p.length>1)for(s.push([[0,0-p[1][2]-p[0][2],p[1][2],p[1][3],p[1][4]]]),h=2;h<p.length;h++)p[h][2]=p[h][2]||1,e(n=i(s[a][o],s[a-1][r],p[h]),s[a][0])?(s.push([]),r=0,s[a+1].push(i(s[a][o],s[a][0],p[h])),a++,o=0):a>1&&s[a-1][r+1]&&e(n,s[a-1][r+1])?(r++,s[a].push(i(s[a][o],s[a-1][r],p[h])),o++):(o++,s[a].push(n));this.chart.stages=s,this.chart.rawPositions=[].concat.apply([],s),this.resizeRadius(),l=this.chart.rawPositions}return l}pointAttribs(t,e){let i=this.options,s=t&&t.isParentNode,a=i.marker;s&&i.layoutAlgorithm&&i.layoutAlgorithm.parentNodeOptions&&(a=i.layoutAlgorithm.parentNodeOptions.marker);let o=a.fillOpacity,r=t7.pointAttribs.call(this,t,e);return 1!==o&&(r["fill-opacity"]=o),r}positionBubble(t,e,i){let s=Math.asin,a=Math.acos,o=Math.pow,r=Math.abs,n=(0,Math.sqrt)(o(t[0]-e[0],2)+o(t[1]-e[1],2)),l=a((o(n,2)+o(i[2]+e[2],2)-o(i[2]+t[2],2))/(2*(i[2]+e[2])*n)),h=s(r(t[0]-e[0])/n),p=(t[1]-e[1]<0?0:Math.PI)+l+h*((t[0]-e[0])*(t[1]-e[1])<0?1:-1),d=Math.cos(p),c=Math.sin(p);return[e[0]+(e[2]+i[2])*c,e[1]-(e[2]+i[2])*d,i[2],i[3],i[4]]}render(){let t=[];t7.render.apply(this,arguments),!this.options.dataLabels.allowOverlap&&(this.data.forEach(e=>{(0,n.isArray)(e.dataLabels)&&e.dataLabels.forEach(e=>{t.push(e)})}),this.options.useSimulation&&this.chart.hideOverlappingLabels(t))}resizeRadius(){let t,e,i,s,a,o=this.chart,r=o.rawPositions,n=Math.min,l=Math.max,h=o.plotLeft,p=o.plotTop,d=o.plotHeight,c=o.plotWidth;for(let o of(t=i=1/0,e=s=-1/0,r))a=o[2],t=n(t,o[0]-a),e=l(e,o[0]+a),i=n(i,o[1]-a),s=l(s,o[1]+a);let u=[e-t,s-i],g=[(c-h)/u[0],(d-p)/u[1]],f=n.apply([],g);if(Math.abs(f-1)>1e-10){for(let t of r)t[2]*=f;this.placeBubbles(r)}else o.diffY=d/2+p-i-(s-i)/2,o.diffX=c/2+h-t-(e-t)/2}seriesBox(){let t,e=this.chart,i=this.data,s=Math.max,a=Math.min,o=[e.plotLeft,e.plotLeft+e.plotWidth,e.plotTop,e.plotTop+e.plotHeight];return i.forEach(e=>{(0,n.defined)(e.plotX)&&(0,n.defined)(e.plotY)&&e.marker.radius&&(t=e.marker.radius,o[0]=a(o[0],e.plotX-t),o[1]=s(o[1],e.plotX+t),o[2]=a(o[2],e.plotY-t),o[3]=s(o[3],e.plotY+t))}),(0,n.isNumber)(o.width/o.height)?o:null}setVisible(){let t=this;t7.setVisible.apply(t,arguments),t.parentNodeLayout&&t.graph?t.visible?(t.graph.show(),t.parentNode.dataLabel&&t.parentNode.dataLabel.show()):(t.graph.hide(),t.parentNodeLayout.removeElementFromCollection(t.parentNode,t.parentNodeLayout.nodes),t.parentNode.dataLabel&&t.parentNode.dataLabel.hide()):t.layout&&(t.visible?t.layout.addElementsToCollection(t.points,t.layout.nodes):t.points.forEach(e=>{t.layout.removeElementFromCollection(e,t.layout.nodes)}))}translate(){let t,e,i,s=this.chart,a=this.data,o=this.index,r=this.options.useSimulation;for(let l of(this.generatePoints(),(0,n.defined)(s.allDataPoints)||(s.allDataPoints=this.accumulateAllPoints(),this.getPointRadius()),r?i=s.allDataPoints:(i=this.placeBubbles(s.allDataPoints),this.options.draggable=!1),i))l[3]===o&&(t=a[l[4]],e=(0,n.pick)(l[2],void 0),r||(t.plotX=l[0]-s.plotLeft+s.diffX,t.plotY=l[1]-s.plotTop+s.diffY),(0,n.isNumber)(e)&&(t.marker=(0,n.extend)(t.marker,{radius:e,width:2*e,height:2*e}),t.radius=e));r&&this.deferLayout(),(0,n.fireEvent)(this,"afterTranslate")}}es.defaultOptions=(0,n.merge)(et.defaultOptions,{minSize:"10%",maxSize:"50%",sizeBy:"area",zoneAxis:"y",crisp:!1,tooltip:{pointFormat:"Value: {point.value}"},draggable:!0,useSimulation:!0,parentNode:{allowPointSelect:!1},dataLabels:{formatter:function(){let{numberFormatter:t}=this.series.chart,{value:e}=this.point;return(0,n.isNumber)(e)?t(e,-1):""},parentNodeFormatter:function(){return this.name||""},parentNodeTextPath:{enabled:!0},padding:0,style:{transition:"opacity 2000ms"}},layoutAlgorithm:{initialPositions:"circle",initialPositionRadius:20,bubblePadding:5,parentNodeLimit:!1,seriesInteraction:!0,dragBetweenSeries:!1,parentNodeOptions:{maxIterations:400,gravitationalConstant:.03,maxSpeed:50,initialPositionRadius:100,seriesInteraction:!0,marker:{fillColor:null,fillOpacity:1,lineWidth:null,lineColor:null,symbol:"circle"}},enableSimulation:!0,type:"packedbubble",integration:"packedbubble",maxIterations:1e3,splitSeries:!1,maxSpeed:5,gravitationalConstant:.01,friction:-.981},stickyTracking:!1}),(0,n.extend)(es.prototype,{pointClass:tG,axisTypes:[],directTouch:!0,forces:["barycenter","repulsive"],hasDraggableNodes:!0,invertible:!1,isCartesian:!1,noSharedTooltip:!0,pointArrayMap:["value"],pointValKey:"value",requireSorting:!1,trackerGroups:["group","dataLabelsGroup","parentNodesGroup"],initDataLabels:ee,alignDataLabel:t7.alignDataLabel,indexateNodes:t4,onMouseDown:tC.onMouseDown,onMouseMove:tC.onMouseMove,redrawHalo:tC.redrawHalo,searchPoint:t4}),p().registerSeriesType("packedbubble",es);let{noop:ea}=l(),{area:eo,line:er,scatter:en}=p().seriesTypes;class el extends en{getGraphPath(){let t=er.prototype.getGraphPath.call(this),e=t.length+1;for(;e--;)(e===t.length||"M"===t[e][0])&&e>0&&t.splice(e,0,["Z"]);return this.areaPath=t,t}drawGraph(){this.options.fillColor=this.color,eo.prototype.drawGraph.call(this)}}el.defaultOptions=(0,n.merge)(en.defaultOptions,{marker:{enabled:!1,states:{hover:{enabled:!1}}},stickyTracking:!1,tooltip:{followPointer:!0,pointFormat:""},trackByArea:!0,legendSymbol:"rectangle"}),(0,n.extend)(el.prototype,{type:"polygon",drawTracker:er.prototype.drawTracker,setStackedPoints:ea}),p().registerSeriesType("polygon",el);let{defaultOptions:eh}=l(),{noop:ep}=l(),ed={radius:0,scope:"stack",where:void 0};function ec(t,e){return(0,n.isObject)(t)||(t={radius:t||0}),(0,n.merge)(ed,e,t)}let eu=t.default.Series;var eg=r.n(eu);let ef={circular:{gridLineWidth:1,labels:{align:void 0,x:0,y:void 0},maxPadding:0,minPadding:0,showLastLabel:!1,tickLength:0},radial:{gridLineInterpolation:"circle",gridLineWidth:1,labels:{align:"right",padding:5,x:-3,y:-2},showLastLabel:!1,title:{x:4,text:null,rotation:90}},radialGauge:{gridLineWidth:0,labels:{align:"center",distance:15,x:0,y:void 0},minorGridLineWidth:0,minorTickLength:5,minorTickPosition:"inside",minorTicksPerMajor:10,minorTickWidth:1,tickLength:void 0,tickWidth:2,tickPixelInterval:100,tickPosition:"inside",title:{rotation:0,text:""},zIndex:2}},{defaultOptions:em}=l(),{composed:eb,noop:ey}=l();!function(t){function e(){this.autoConnect=this.isCircular&&void 0===(0,n.pick)(this.userMax,this.options.max)&&(0,n.correctFloat)(this.endAngleRad-this.startAngleRad)===(0,n.correctFloat)(2*Math.PI),!this.isCircular&&this.chart.inverted&&this.max++,this.autoConnect&&(0,n.isNumber)(this.max)&&(this.max+=this.categories&&1||this.pointRange||this.closestPointRange||0)}function i(){return()=>{if(this.isRadial&&this.tickPositions&&this.options.labels&&!0!==this.options.labels.allowOverlap)return this.tickPositions.map(t=>this.ticks[t]?.label).filter(t=>!!t)}}function s(){return ey}function a(t,e,i){let s=this.pane.center,a=t.value,o,r,l;return this.isCircular?((0,n.defined)(a)?t.point&&(t.point.shapeArgs||{}).start&&(a=this.chart.inverted?this.translate(t.point.rectPlotY,!0):t.point.x):(r=t.chartX||0,l=t.chartY||0,a=this.translate(Math.atan2(l-i,r-e)-this.startAngleRad,!0)),r=(o=this.getPosition(a)).x,l=o.y):((0,n.defined)(a)||(r=t.chartX,l=t.chartY),(0,n.defined)(r)&&(0,n.defined)(l)&&(i=s[1]+this.chart.plotTop,a=this.translate(Math.min(Math.sqrt(Math.pow(r-e,2)+Math.pow(l-i,2)),s[2]/2)-s[3]/2,!0))),[a,r||0,l||0]}function o(t,e,i){let s=this.pane.center,a=this.chart,o=this.left||0,r=this.top||0,l,h,p=(0,n.pick)(e,s[2]/2-this.offset);return i??(i=this.horiz?0:this.center&&-this.center[3]/2),i&&i>0&&(p+=i),this.isCircular||void 0!==e?((h=this.chart.renderer.symbols.arc(o+s[0],r+s[1],p,p,{start:this.startAngleRad,end:this.endAngleRad,open:!0,innerR:0})).xBounds=[o+s[0]],h.yBounds=[r+s[1]-p]):(l=this.postTranslate(this.angleRad,p),h=[["M",this.center[0]+a.plotLeft,this.center[1]+a.plotTop],["L",l.x,l.y]]),h}function r(){this.constructor.prototype.getOffset.call(this);let t=this.options.offset??(this.pane.hasSeriesType("gauge")?"-20%":void 0);(0,n.defined)(t)&&(this.offset=-1*(0,n.relativeLength)(t,this.center[2]/2)),this.chart.axisOffset[this.side]=0}function h(t,e,i){let s=this.chart,a=t=>{if("string"==typeof t){let e=parseInt(t,10);return g.test(t)&&(e=e*p/100),e}return t},o=this.center,{endAngleRad:r,startAngleRad:l}=this,h=ec(i.borderRadius??this.pane.options.borderRadius),p=o[2]/2,d=Math.min(this.offset||0,0),c=this.left||0,u=this.top||0,g=/%$/,f=this.isCircular,m=this.options.plotBands||[],b=m.indexOf(i),y,x,v,P,M,k,L=(0,n.pick)(a(i.outerRadius),p),w=a(i.innerRadius),A=a(i.thickness),N=!0,S=!0;if(h.radius&&"stack"===h.scope&&b>-1&&(m[b-1]&&m[b-1].to===t&&(N=!1),m[b+1]&&m[b+1].from===e&&(S=!1)),"polygon"===this.options.gridLineInterpolation)k=this.getPlotLinePath({value:t}).concat(this.getPlotLinePath({value:e,reverse:!0}));else{(0,n.isNumber)(this.min)&&(t=Math.max(t,this.min)),(0,n.isNumber)(this.max)&&(e=Math.min(e,this.max));let a=this.translate(t),p=this.translate(e);f||(L=a||0,w=p||0),(0,n.isNumber)(this.min)||(0,n.isNumber)(this.max)||i.color||i.className?"circle"!==i.shape&&f?(y=l+(a||0),x=l+(p||0)):(y=-Math.PI/2,x=1.5*Math.PI,M=!0):(y=l,x=r),L-=d,(0,n.isNumber)(A)&&(A-=d),k=s.renderer.symbols.arc(c+o[0],u+o[1],L,L,{start:Math.min(y,x),end:Math.max(y,x),innerR:(0,n.pick)(w,(0,n.isNumber)(A)?L-A:void 0,this.center[3]/2),open:M,borderRadius:h.radius,brStart:N,brEnd:S}),f&&(v=(x+y)/2,P=c+o[0]+o[2]/2*Math.cos(v),k.xBounds=v>-Math.PI/2&&v<Math.PI/2?[P,s.plotWidth]:[0,P],k.yBounds=[u+o[1]+o[2]/2*Math.sin(v)],k.yBounds[0]+=v>-Math.PI&&v<0||v>Math.PI?-10:10)}return k}function p(t){let e=this.pane.center,i=this.chart,s=i.inverted,a=t.reverse,o=this.pane.options.background,r=o?(0,n.splat)(o)[0]:{},l=r.innerRadius||"0%",h=r.outerRadius||"100%",p=e[0]+i.plotLeft,d=e[1]+i.plotTop,c=this.height,u=t.isCrosshair,g=e[3]/2,f=i.time.parse(t.value)||0,m,b,y,x,v,P,M,k,L,w=this.getPosition(f,e[2]/2+(this.isCircular?this.offset:0)),A=w.x,N=w.y;if(u&&(f=(k=this.getCrosshairPosition(t,p,d))[0]||0,A=k[1],N=k[2]),this.isCircular)b=Math.sqrt(Math.pow(A-p,2)+Math.pow(N-d,2)),y="string"==typeof l?(0,n.relativeLength)(l,1):l/b,x="string"==typeof h?(0,n.relativeLength)(h,1):h/b,e&&g&&(y<(m=g/b)&&(y=m),x<m&&(x=m)),L=[["M",p+y*(A-p),d-y*(d-N)],["L",A-(1-x)*(A-p),N+(1-x)*(d-N)]];else{let t=this.translate(f);if(t&&(t<0||t>c)&&(t=0),"circle"===this.options.gridLineInterpolation)L=this.getLinePath(0,t,g);else if(L=[],i[s?"yAxis":"xAxis"].forEach(t=>{t.pane===this.pane&&(v=t)}),v){M=v.tickPositions,v.autoConnect&&(M=M.concat([M[0]])),a&&(M=M.slice().reverse()),t&&(t+=g);for(let e=0;e<M.length;e++)P=v.getPosition(M[e],t),L.push(e?["L",P.x,P.y]:["M",P.x,P.y])}}return L}function d(t,e){let i=this.translate(t);return this.postTranslate(this.isCircular?i:this.angleRad,(0,n.pick)(this.isCircular?e:i<0?0:i,this.center[2]/2)-this.offset)}function c(){let t=this.center,e=this.chart,i=this.options.title;return{x:e.plotLeft+t[0]+(i.x||0),y:e.plotTop+t[1]-({high:.5,middle:.25,low:0})[i.align]*t[2]+(i.y||0)}}function u(t){t.beforeSetTickPositions=e,t.createLabelCollector=i,t.getCrosshairPosition=a,t.getLinePath=o,t.getOffset=r,t.getPlotBandPath=h,t.getPlotLinePath=p,t.getPosition=d,t.getTitlePosition=c,t.postTranslate=k,t.setAxisSize=w,t.setAxisTranslation=A,t.setOptions=N}function g(){let t=this.chart,e=this.options,i=t.angular&&this.isXAxis,s=this.pane,a=s?.options;if(!i&&s&&(t.angular||t.polar)){let i=2*Math.PI,s=a.startAngle??(t.angular?-135:0),o=(s-90)*Math.PI/180,r=((0,n.pick)(a.endAngle,s+(t.angular?270:360))-90)*Math.PI/180;this.angleRad=(e.angle||0)*Math.PI/180,this.startAngleRad=o,this.endAngleRad=r;let l=(o%i+i)%i,h=(r%i+i)%i;l>Math.PI&&(l-=i),h>Math.PI&&(h-=i),this.normalizedStartAngleRad=l,this.normalizedEndAngleRad=h}}function f(t){if(this.chart.angular){let{options:e,pane:i}=this;i.hasSeriesType("gauge")&&(t.tickSize=[e[`${t.prefix}Length`]??10,e[`${t.prefix}Width`]??1],"inside"===e[`${t.prefix}Position`]&&(t.tickSize[0]*=-1))}}function m(t){this.isRadial&&(t.align=void 0,t.preventDefault())}function b(){if(this.chart?.labelCollectors){let t=this.labelCollector?this.chart.labelCollectors.indexOf(this.labelCollector):-1;t>=0&&this.chart.labelCollectors.splice(t,1)}}function y(t){let e,i=this.chart,a=i.angular,o=i.polar,r=this.isXAxis,n=this.coll,l=t.userOptions.pane||0,h=this.pane=i.pane&&i.pane[l];if("colorAxis"===n){this.isRadial=!1;return}if(a){if(a&&r)this.isHidden=!0,this.createLabelCollector=s,this.getOffset=ey,this.redraw=L,this.render=L,this.setCategories=ey,this.setTitle=ey;else u(this);e=!r}else o&&(u(this),e=this.horiz);a||o?(this.isRadial=!0,this.labelCollector||(this.labelCollector=this.createLabelCollector()),this.labelCollector&&i.labelCollectors.push(this.labelCollector)):this.isRadial=!1,h&&e&&(h.axis=this),this.isCircular=e}function x(){this.isRadial&&this.beforeSetTickPositions?.()}function v(t){let e=this.label;if(!e)return;let i=this.axis,s=e.getBBox(),a=i.options.labels,o=(i.translate(this.pos)+i.startAngleRad+Math.PI/2)/Math.PI*180%360,r=Math.round(o),l=(0,n.defined)(a.y)?0:-(.3*s.height),h=a.y,p,d=20,c=a.align,u="end",g=r<0?r+360:r,f=g,m=0,b=0;i.isRadial&&(p=i.getPosition(this.pos,i.center[2]/2+(0,n.relativeLength)(a.distance??-25,i.center[2]/2)+i.offset),"auto"===a.rotation?e.attr({rotation:o}):(0,n.defined)(h)||(h=i.chart.renderer.fontMetrics(e).b-s.height/2),(0,n.defined)(c)||(i.isCircular?(s.width>i.len*i.tickInterval/(i.max-i.min)&&(d=0),c=o>d&&o<180-d?"left":o>180+d&&o<360-d?"right":"center"):c="center",e.attr({align:c})),"auto"===c&&2===i.tickPositions.length&&i.isCircular&&(g>90&&g<180?g=180-g:g>270&&g<=360&&(g=540-g),f>180&&f<=360&&(f=360-f),(i.pane.options.startAngle===r||i.pane.options.startAngle===r+360||i.pane.options.startAngle===r-360)&&(u="start"),c=r>=-90&&r<=90||r>=-360&&r<=-270||r>=270&&r<=360?"start"===u?"right":"left":"start"===u?"left":"right",f>70&&f<110&&(c="center"),g<15||g>=180&&g<195?m=.3*s.height:g>=15&&g<=35?m="start"===u?0:.75*s.height:g>=195&&g<=215?m="start"===u?.75*s.height:0:g>35&&g<=90?m="start"===u?-(.25*s.height):s.height:g>215&&g<=270&&(m="start"===u?s.height:-(.25*s.height)),f<15?b="start"===u?-(.15*s.height):.15*s.height:f>165&&f<=180&&(b="start"===u?.15*s.height:-(.15*s.height)),e.attr({align:c}),e.translate(b,m+l)),t.pos.x=p.x+(a.x||0),t.pos.y=p.y+(h||0))}function P(t){this.axis.getPosition&&(0,n.extend)(t.pos,this.axis.getPosition(this.pos))}function M({options:e}){e.xAxis&&(0,n.merge)(!0,t.radialDefaultOptions.circular,e.xAxis),e.yAxis&&(0,n.merge)(!0,t.radialDefaultOptions.radialGauge,e.yAxis)}function k(t,e){let i=this.chart,s=this.center;return t=this.startAngleRad+t,{x:i.plotLeft+s[0]+Math.cos(t)*e,y:i.plotTop+s[1]+Math.sin(t)*e}}function L(){this.isDirty=!1}function w(){let t,e;this.constructor.prototype.setAxisSize.call(this),this.isRadial&&(this.pane.updateCenter(),t=this.center=this.pane.center.slice(),this.isCircular?(this.sector=this.endAngleRad-this.startAngleRad,this.len=this.width=this.height=t[2]*this.sector/2):(e=this.postTranslate(this.angleRad,t[3]/2),t[0]=e.x-this.chart.plotLeft,t[1]=e.y-this.chart.plotTop,this.len=this.width=this.height=(t[2]-t[3])/2))}function A(){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 N(e){let{coll:i}=this,{angular:s,inverted:a,polar:o}=this.chart,r={};s?this.isXAxis||(r=(0,n.merge)(em.yAxis,t.radialDefaultOptions.radialGauge)):o&&(r=this.horiz?(0,n.merge)(em.xAxis,t.radialDefaultOptions.circular):(0,n.merge)("xAxis"===i?em.xAxis:em.yAxis,t.radialDefaultOptions.radial)),a&&"yAxis"===i&&(r.stackLabels=(0,n.isObject)(em.yAxis,!0)?em.yAxis.stackLabels:{},r.reversedStacks=!0);let l=this.options=(0,n.merge)(r,e);l.plotBands||(l.plotBands=[]),(0,n.fireEvent)(this,"afterSetOptions")}function S(t){return!(0,n.defined)(this.options.minorTicks)&&this.pane.hasSeriesType("gauge")?"auto":t.apply(this,Array.prototype.slice.call(arguments,1))}function T(t,e,i,s,a,o,r){let n,l=this.axis;return l.isRadial?["M",e,i,"L",(n=l.getPosition(this.pos,l.center[2]/2+s)).x,n.y]:t.call(this,e,i,s,a,o,r)}t.radialDefaultOptions=(0,n.merge)(ef),t.compose=function(t,e){return(0,n.pushUnique)(eb,"Axis.Radial")&&((0,n.addEvent)(t,"afterInit",g),(0,n.addEvent)(t,"afterTickSize",f),(0,n.addEvent)(t,"autoLabelAlign",m),(0,n.addEvent)(t,"destroy",b),(0,n.addEvent)(t,"init",y),(0,n.addEvent)(t,"initialAxisTranslation",x),(0,n.addEvent)(e,"afterGetLabelPosition",v),(0,n.addEvent)(e,"afterGetPosition",P),(0,n.addEvent)(l(),"setOptions",M),(0,n.wrap)(t.prototype,"getMinorTickInterval",S),(0,n.wrap)(e.prototype,"getMarkPath",T)),t}}(a||(a={}));let ex=a,{animObject:ev}=l(),{defaultOptions:eP}=l(),{composed:eM}=l();function ek(){(this.pane||[]).forEach(t=>{t.render()})}function eL(t){let e=t.args[0].xAxis,i=t.args[0].yAxis,s=t.args[0].chart;e&&i&&("polygon"===i.gridLineInterpolation?(e.startOnTick=!0,e.endOnTick=!0):"polygon"===e.gridLineInterpolation&&s.inverted&&(i.startOnTick=!0,i.endOnTick=!0))}function ew(){this.pane||(this.pane=[]),this.options.pane=(0,n.splat)(this.options.pane||{}),(0,n.splat)(this.userOptions.pane||{}).forEach(t=>{new P(t,this)},this)}function eA(t){let e=t.args.marker,i=this.chart.xAxis[0],s=this.chart.yAxis[0],a=this.chart.inverted,o=a?s:i,r=a?i:s;if(this.chart.polar){t.preventDefault();let i=(e.attr?e.attr("start"):e.start)-o.startAngleRad,s=e.attr?e.attr("r"):e.r,a=(e.attr?e.attr("end"):e.end)-o.startAngleRad,n=e.attr?e.attr("innerR"):e.innerR;t.result.x=i+o.pos,t.result.width=a-i,t.result.y=r.len+r.pos-s,t.result.height=s-n}}function eN(t){let e=this.chart;if(e.polar&&e.hoverPane&&e.hoverPane.axis){t.preventDefault();let i=e.hoverPane.center,s=e.mouseDownX||0,a=e.mouseDownY||0,o=t.args.chartY,r=t.args.chartX,n=2*Math.PI,l=e.hoverPane.axis.startAngleRad,h=e.hoverPane.axis.endAngleRad,p=e.inverted?e.xAxis[0]:e.yAxis[0],d={},c="arc";if(d.x=i[0]+e.plotLeft,d.y=i[1]+e.plotTop,this.zoomHor){let t=l>0?h-l:Math.abs(l)+Math.abs(h),u=Math.atan2(a-e.plotTop-i[1],s-e.plotLeft-i[0])-l,g=Math.atan2(o-e.plotTop-i[1],r-e.plotLeft-i[0])-l;d.r=i[2]/2,d.innerR=i[3]/2,u<=0&&(u+=n),g<=0&&(g+=n),g<u&&(g=[u,u=g][0]),t<n&&l+g>h+(n-t)/2&&(g=u,u=l<=0?l:0);let f=d.start=Math.max(u+l,l),m=d.end=Math.min(g+l,h);if("polygon"===p.options.gridLineInterpolation){let t=e.hoverPane.axis,s=f-t.startAngleRad+t.pos,a=p.getPlotLinePath({value:p.max}),o=t.toValue(s),r=t.toValue(s+(m-f));if(o<t.getExtremes().min){let{min:e,max:i}=t.getExtremes();o=i-(e-o)}if(r<t.getExtremes().min){let{min:e,max:i}=t.getExtremes();r=i-(e-r)}r<o&&(r=[o,o=r][0]),(a=eY(a,o,r,t)).push(["L",i[0]+e.plotLeft,e.plotTop+i[1]]),d.d=a,c="path"}}if(this.zoomVert){let t=e.inverted?e.xAxis[0]:e.yAxis[0],n=Math.sqrt(Math.pow(s-e.plotLeft-i[0],2)+Math.pow(a-e.plotTop-i[1],2)),p=Math.sqrt(Math.pow(r-e.plotLeft-i[0],2)+Math.pow(o-e.plotTop-i[1],2));if(p<n&&(n=[p,p=n][0]),p>i[2]/2&&(p=i[2]/2),n<i[3]/2&&(n=i[3]/2),this.zoomHor||(d.start=l,d.end=h),d.r=p,d.innerR=n,"polygon"===t.options.gridLineInterpolation){let e=t.toValue(t.len+t.pos-n),i=t.toValue(t.len+t.pos-p);d.d=t.getPlotLinePath({value:i}).concat(t.getPlotLinePath({value:e,reverse:!0})),c="path"}}if(this.zoomHor&&this.zoomVert&&"polygon"===p.options.gridLineInterpolation){let t=e.hoverPane.axis,i=d.start||0,s=d.end||0,a=i-t.startAngleRad+t.pos,o=t.toValue(a),r=t.toValue(a+(s-i));if(d.d instanceof Array){let t=d.d.slice(0,d.d.length/2),i=d.d.slice(d.d.length/2,d.d.length);i=[...i].reverse();let s=e.hoverPane.axis;t=eY(t,o,r,s),(i=eY(i,o,r,s))&&(i[0][0]="L"),i=[...i].reverse(),d.d=t.concat(i),c="path"}}t.attrs=d,t.shapeType=c}}function eS(){let t=this.chart;t.polar&&(this.polar=new eH(this),t.inverted&&(this.isRadialSeries=!0,this.is("column")&&(this.isRadialBar=!0)))}function eT(){let{chart:t,options:e,yAxis:i}=this;if(e.borderRadius&&t.polar&&t.inverted){let t=eP.plotOptions?.[this.type]?.borderRadius,{scope:s,where:a="end"}=ec(e.borderRadius,(0,n.isObject)(t)?t:{});for(let t of this.points){let{shapeArgs:o}=t;if("arc"===t.shapeType&&o){let r="all"===a,n=!0;e.stacking&&"stack"===s&&(r=t.stackY===t.y&&"all"===a,n=t.stackY===t.stackTotal),i.reversed&&([r,n]=[n,r]),o.brStart=r,o.brEnd=n}}}}function eC(){if(this.chart.polar&&this.xAxis){let{xAxis:t,yAxis:e}=this,i=this.chart;this.kdByAngle=i.tooltip&&i.tooltip.shared,this.kdByAngle||i.inverted?this.searchPoint=eX:this.options.findNearestPointBy="xy";let s=this.points,a=s.length;for(;a--;)this.is("column")||this.is("columnrange")||this.polar.toXY(s[a]),i.hasParallelCoordinates||this.yAxis.reversed||((0,n.pick)(s[a].y,5e-324)<e.min||s[a].x<t.min||s[a].x>t.max?(s[a].isNull=!0,s[a].plotY=NaN):s[a].isNull=s[a].isValid&&!s[a].isValid());this.hasClipCircleSetter||(this.hasClipCircleSetter=!!this.eventsToUnbind.push((0,n.addEvent)(this,"afterRender",function(){let t;if(i.polar&&!1!==this.options.clip){if(t=this.yAxis.pane.center,this.clipCircle)this.clipCircle.animate({x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2});else{var e,s,a,o,r;let l,h,p;this.clipCircle=(e=i.renderer,s=t[0],a=t[1],o=t[2]/2,r=t[3]/2,l=(0,n.uniqueKey)(),h=e.createElement("clipPath").attr({id:l}).add(e.defs),(p=r?e.arc(s,a,o,r,0,2*Math.PI).add(h):e.circle(s,a,o).add(h)).id=l,p.clipPath=h,p)}this.group.clip(this.clipCircle),this.setClip=l().noop}})))}}function eX(t){let e=this.chart,i=this.xAxis,s=this.yAxis,a=i.pane&&i.pane.center,o=t.chartX-(a&&a[0]||0)-e.plotLeft,r=t.chartY-(a&&a[1]||0)-e.plotTop,n=e.inverted?{clientX:t.chartX-s.pos,plotY:t.chartY-i.pos}:{clientX:180+-180/Math.PI*Math.atan2(o,r)};return this.searchKDTree(n)}function eY(t,e,i,s){let a=s.tickInterval,o=s.tickPositions,r=(0,n.find)(o,t=>t>=i),l=(0,n.find)([...o].reverse(),t=>t<=e);return(0,n.defined)(r)||(r=o[o.length-1]),(0,n.defined)(l)||(l=o[0],r+=a,t[0][0]="L",t.unshift(t[t.length-3])),(t=t.slice(o.indexOf(l),o.indexOf(r)+1))[0][0]="M",t}function eE(t,e){return(0,n.find)(this.pane||[],t=>t.options.id===e)||t.call(this,e)}function eR(t,e,i,s,a,o){let r,l,h,p=this.chart,d=(0,n.pick)(s.inside,!!this.options.stacking);if(p.polar){if(r=e.rectPlotX/Math.PI*180,p.inverted)this.forceDL=p.isInsidePlot(e.plotX,e.plotY),d&&e.shapeArgs?(l=e.shapeArgs,h=this.yAxis.postTranslate(((l.start||0)+(l.end||0))/2-this.xAxis.startAngleRad,e.barX+(e.pointWidth||0)/2),a=(0,n.merge)(a,{x:h.x-p.plotLeft,y:h.y-p.plotTop})):e.tooltipPos&&(a=(0,n.merge)(a,{x:e.tooltipPos[0],y:e.tooltipPos[1]})),s.align=(0,n.pick)(s.align,"center"),s.verticalAlign=(0,n.pick)(s.verticalAlign,"middle");else{var c;null===(c=s).align&&(c.align=r>20&&r<160?"left":r>200&&r<340?"right":"center"),null===c.verticalAlign&&(c.verticalAlign=r<45||r>315?"bottom":r>135&&r<225?"top":"middle"),s=c}eg().prototype.alignDataLabel.call(this,e,i,s,a,o),this.isRadialBar&&e.shapeArgs&&e.shapeArgs.start===e.shapeArgs.end?i.hide():i.show()}else t.call(this,e,i,s,a,o)}function eI(){let t=this.options,e=t.stacking,i=this.chart,s=this.xAxis,a=this.yAxis,o=a.reversed,r=a.center,l=s.startAngleRad,h=s.endAngleRad-l,p=t.threshold,d=0,c,u,g,f,m,b=0,y=0,x,v,P,M,k,L,w,A;if(s.isRadial)for(g=(c=this.points).length,f=a.translate(a.min),m=a.translate(a.max),p=t.threshold||0,i.inverted&&(0,n.isNumber)(p)&&(d=a.translate(p),(0,n.defined)(d)&&(d<0?d=0:d>h&&(d=h),this.translatedThreshold=d+l));g--;){if(L=(u=c[g]).barX,v=u.x,P=u.y,u.shapeType="arc",i.inverted){u.plotY=a.translate(P),e&&a.stacking?(k=a.stacking.stacks[(P<0?"-":"")+this.stackKey],this.visible&&k&&k[v]&&!u.isNull&&(M=k[v].points[this.getStackIndicator(void 0,v,this.index).key],b=a.translate(M[0]),y=a.translate(M[1]),(0,n.defined)(b)&&(b=(0,n.clamp)(b,0,h)))):(b=d,y=u.plotY),b>y&&(y=[b,b=y][0]),o?y>f?y=f:b<m?b=m:(b>f||y<m)&&(b=y=h):b<f?b=f:y>m?y=m:(y<f||b>m)&&(b=y=0),a.min>a.max&&(b=y=o?h:0),b+=l,y+=l,r&&(u.barX=L+=r[3]/2),w=Math.max(L,0),A=Math.max(L+(u.pointWidth||0),0);let i=t.borderRadius,s="object"==typeof i?i.radius:i,p=(0,n.relativeLength)(s||0,A-w);u.shapeArgs={x:r[0],y:r[1],r:A,innerR:w,start:b,end:y,borderRadius:p},u.opacity=b===y?0:void 0,u.plotY=((0,n.defined)(this.translatedThreshold)&&(b<this.translatedThreshold?b:y))-l}else b=L+l,u.shapeArgs=this.polar.arc(u.yBottom,u.plotY,b,b+(u.pointWidth||0)),u.shapeArgs.borderRadius=0;this.polar.toXY(u),i.inverted?(x=a.postTranslate(u.rectPlotY,L+(u.pointWidth||0)/2),u.tooltipPos=[x.x-i.plotLeft,x.y-i.plotTop]):u.tooltipPos=[u.plotX,u.plotY],r&&(u.ttBelow=u.plotY>r[1])}}function ez(t,e){let i,s,a=this;if(this.chart.polar){e=e||this.points;for(let t=0;t<e.length;t++)if(!e[t].isNull){i=t;break}!1!==this.options.connectEnds&&void 0!==i&&(this.connectEnds=!0,e.splice(e.length,0,e[i]),s=!0),e.forEach(t=>{void 0===t.polarPlotY&&a.polar.toXY(t)})}let o=t.apply(this,[].slice.call(arguments,1));return s&&e.pop(),o}function eD(t,e){let i=this.chart,s={xAxis:[],yAxis:[]};return i.polar?i.axes.forEach(t=>{if("colorAxis"===t.coll)return;let a=t.isXAxis,o=t.center,r=e.chartX-o[0]-i.plotLeft,n=e.chartY-o[1]-i.plotTop;s[a?"xAxis":"yAxis"].push({axis:t,value:t.translate(a?Math.PI-Math.atan2(r,n):Math.sqrt(Math.pow(r,2)+Math.pow(n,2)),!0)})}):s=t.call(this,e),s}function eO(t,e){this.chart.polar||t.call(this,e)}function eB(t,e){let i=this,s=this.chart,a=this.group,o=this.markerGroup,r=this.xAxis&&this.xAxis.center,h=s.plotLeft,p=s.plotTop,d=this.options.animation,c,u,g,f,m,b;s.polar?i.isRadialBar?e||(i.startAngleRad=(0,n.pick)(i.translatedThreshold,i.xAxis.startAngleRad),l().seriesTypes.pie.prototype.animate.call(i,e)):(d=ev(d),i.is("column")?e||(u=r[3]/2,i.points.forEach(t=>{g=t.graphic,m=(f=t.shapeArgs)&&f.r,b=f&&f.innerR,g&&f&&(g.attr({r:u,innerR:u}),g.animate({r:m,innerR:b},i.options.animation))})):e?(c={translateX:r[0]+h,translateY:r[1]+p,scaleX:.001,scaleY:.001},a.attr(c),o&&o.attr(c)):(c={translateX:h,translateY:p,scaleX:1,scaleY:1},a.animate(c,d),o&&o.animate(c,d))):t.call(this,e)}function eW(t,e,i,s){let a,o;if(this.chart.polar)if(s){let t=(o=function t(e,i,s,a){let o,r,n,l,h,p,d=+!!a,c=(o=i>=0&&i<=e.length-1?i:i<0?e.length-1+i:0)-1<0?e.length-(1+d):o-1,u=o+1>e.length-1?d:o+1,g=e[c],f=e[u],m=g.plotX,b=g.plotY,y=f.plotX,x=f.plotY,v=e[o].plotX,P=e[o].plotY;r=(1.5*v+m)/2.5,n=(1.5*P+b)/2.5,l=(1.5*v+y)/2.5,h=(1.5*P+x)/2.5;let M=Math.sqrt(Math.pow(r-v,2)+Math.pow(n-P,2)),k=Math.sqrt(Math.pow(l-v,2)+Math.pow(h-P,2)),L=Math.atan2(n-P,r-v);p=Math.PI/2+(L+Math.atan2(h-P,l-v))/2,Math.abs(L-p)>Math.PI/2&&(p-=Math.PI),r=v+Math.cos(p)*M,n=P+Math.sin(p)*M;let w={rightContX:l=v+Math.cos(Math.PI+p)*k,rightContY:h=P+Math.sin(Math.PI+p)*k,leftContX:r,leftContY:n,plotX:v,plotY:P};return s&&(w.prevPointCont=t(e,c,!1,a)),w}(e,s,!0,this.connectEnds)).prevPointCont&&o.prevPointCont.rightContX,i=o.prevPointCont&&o.prevPointCont.rightContY;a=["C",(0,n.isNumber)(t)?t:o.plotX,(0,n.isNumber)(i)?i:o.plotY,(0,n.isNumber)(o.leftContX)?o.leftContX:o.plotX,(0,n.isNumber)(o.leftContY)?o.leftContY:o.plotY,o.plotX,o.plotY]}else a=["M",i.plotX,i.plotY];else a=t.call(this,e,i,s);return a}function eF(t,e,i=this.plotX,s=this.plotY){let{series:a}=this,{chart:o}=a||{};return o?.polar&&(0,n.isNumber)(i)&&(0,n.isNumber)(s)?[i+(e?o.plotLeft:0),s+(e?o.plotTop:0)]:t.call(this,e,i,s)}class eH{static compose(t,e,i,s,a,o,r,l,h,p){if(P.compose(e,i),ex.compose(t,a),(0,n.pushUnique)(eM,"Polar")){let t=e.prototype,a=o.prototype,d=i.prototype,c=s.prototype;if((0,n.addEvent)(e,"afterDrawChartBox",ek),(0,n.addEvent)(e,"createAxes",ew),(0,n.addEvent)(e,"init",eL),(0,n.wrap)(t,"get",eE),(0,n.wrap)(d,"getCoordinates",eD),(0,n.wrap)(d,"pinch",eO),(0,n.addEvent)(i,"getSelectionMarkerAttrs",eN),(0,n.addEvent)(i,"getSelectionBox",eA),(0,n.addEvent)(s,"afterInit",eS),(0,n.addEvent)(s,"afterColumnTranslate",eT,{order:9}),(0,n.addEvent)(s,"afterTranslate",eC,{order:2}),(0,n.addEvent)(s,"afterColumnTranslate",eI,{order:4}),(0,n.wrap)(c,"animate",eB),(0,n.wrap)(a,"pos",eF),l){let t=l.prototype;(0,n.wrap)(t,"alignDataLabel",eR),(0,n.wrap)(t,"animate",eB)}if(h){let t=h.prototype;(0,n.wrap)(t,"getGraphPath",ez)}if(p){let t=p.prototype;(0,n.wrap)(t,"getPointSpline",eW),r&&(r.prototype.getPointSpline=t.getPointSpline)}}}constructor(t){this.series=t}arc(t,e,i,s){let a=this.series,o=a.xAxis.center,r=a.yAxis.len,l=o[3]/2,h=r-e+l,p=r-(0,n.pick)(t,r)+l;return a.yAxis.reversed&&(h<0&&(h=l),p<0&&(p=l)),{x:o[0],y:o[1],r:h,innerR:p,start:i,end:s}}toXY(t){let e=this.series,i=e.chart,s=e.xAxis,a=e.yAxis,o=t.plotX,r=i.inverted,l=t.y,h=t.plotY,p=r?o:a.len-h,d;if(r&&e&&!e.isRadialBar&&(t.plotY=h=(0,n.isNumber)(l)?a.translate(l):0),t.rectPlotX=o,t.rectPlotY=h,a.center&&(p+=a.center[3]/2),(0,n.isNumber)(h)){let e=r?a.postTranslate(h,p):s.postTranslate(o,p);t.plotX=t.polarPlotX=e.x-i.plotLeft,t.plotY=t.polarPlotY=e.y-i.plotTop}e.kdByAngle?((d=(o/Math.PI*180+(s.pane.options.startAngle||0))%360)<0&&(d+=360),t.clientX=d):t.clientX=t.plotX}}let eG=t.default.StackItem;var eq=r.n(eG);let{composed:eV}=l();!function(t){function e(){let t=this.waterfall?.stacks;t&&(t.changed=!1,delete t.alreadyChanged)}function i(){let t=this.options.stackLabels;t?.enabled&&this.waterfall?.stacks&&this.waterfall.renderStackTotals()}function s(){this.waterfall||(this.waterfall=new o(this))}function a(){let t=this.axes;for(let e of this.series)if(e.options.stacking){for(let e of t)!e.isXAxis&&e.waterfall&&(e.waterfall.stacks.changed=!0);break}}t.compose=function(t,o){(0,n.pushUnique)(eV,"Axis.Waterfall")&&((0,n.addEvent)(t,"init",s),(0,n.addEvent)(t,"afterBuildStacks",e),(0,n.addEvent)(t,"afterRender",i),(0,n.addEvent)(o,"beforeRedraw",a))};class o{constructor(t){this.axis=t,this.stacks={changed:!1}}renderStackTotals(){let t=this.axis,e=t.waterfall?.stacks,i=t.stacking?.stackTotalGroup,s=new(eq())(t,t.options.stackLabels||{},!1,0,void 0);this.dummyStackItem=s,i&&(0,n.objectEach)(e,t=>{(0,n.objectEach)(t,(t,e)=>{s.total=t.stackTotal,s.x=+e,t.label&&(s.label=t.label),eq().prototype.render.call(s,i),t.label=s.label,delete s.label})}),s.total=null}}t.Composition=o}(o||(o={}));let eU=o;class eK extends R().prototype.pointClass{getClassName(){let t=Q().prototype.getClassName.call(this);return this.isSum?t+=" highcharts-sum":this.isIntermediateSum&&(t+=" highcharts-intermediate-sum"),t}isValid(){return(0,n.isNumber)(this.y)||this.isSum||!!this.isIntermediateSum}}let{column:ej,line:eZ}=p().seriesTypes;function e_(t,e){return Object.hasOwnProperty.call(t,e)}class e$ extends ej{generatePoints(){ej.prototype.generatePoints.apply(this);let t=this.getColumn("y",!0);for(let e=0,i=this.points.length;e<i;e++){let i=this.points[e],s=t[e];(0,n.isNumber)(s)&&(i.isIntermediateSum||i.isSum)&&(i.y=(0,n.correctFloat)(s))}}processData(t){let e,i,s,a,o,r=this.options,l=this.getColumn("y"),h=this.getColumn("isSum"),p=this.getColumn("isIntermediateSum"),d=l.length,c=r.threshold||0;i=e=s=a=0;for(let t=0;t<d;t++)"sum"===(o=l[t])||h[t]?l[t]=(0,n.correctFloat)(i):"intermediateSum"===o||p[t]?(l[t]=(0,n.correctFloat)(e),e=0):(i+=o,e+=o),s=Math.min(i,s),a=Math.max(i,a);super.processData.call(this,t),r.stacking||(this.dataMin=s+c,this.dataMax=a)}toYData(t){return t.isSum?"sum":t.isIntermediateSum?"intermediateSum":t.y}pointAttribs(t,e){let i=this.options.upColor;i&&!t.options.color&&(0,n.isNumber)(t.y)&&(t.color=t.y>0?i:void 0);let s=ej.prototype.pointAttribs.call(this,t,e);return delete s.dashstyle,s}getGraphPath(){return this.graph?.pathArray||[["M",0,0]]}getCrispPath(){let t=this.points.filter(t=>(0,n.isNumber)(t.y)),e=this.yAxis,i=t.length,s=this.graph?.strokeWidth()||0,a=this.xAxis.reversed,o=this.yAxis.reversed,r=this.options.stacking,l=[];for(let h=1;h<i;h++){if(!(this.options.connectNulls||(0,n.isNumber)(this.data[t[h].index-1].y)))continue;let i=t[h].box,p=t[h-1],d=p.y||0,c=t[h-1].box;if(!i||!c)continue;let u=e.waterfall?.stacks[this.stackKey],g=d>0?-c.height:0;if(u&&c&&i){let t,d=u[h-1];t=r?(0,n.crisp)(e.translate(d.connectorThreshold||0,!1,!0,!1,!0)+(o?g:0),s):(0,n.crisp)(c.y+(p.minPointLengthOffset||0),s),l.push(["M",(c.x||0)+(a?0:c.width||0),t],["L",(i.x||0)+(a&&i.width||0),t])}if(c&&l.length&&(!r&&d<0&&!o||d>0&&o)){let t=l[l.length-2];t&&"number"==typeof t[2]&&(t[2]+=c.height||0);let e=l[l.length-1];e&&"number"==typeof e[2]&&(e[2]+=c.height||0)}}return l}drawGraph(){eZ.prototype.drawGraph.call(this),this.graph?.animate({d:this.getCrispPath()})}setStackedPoints(t){let e=this.options,i=t.waterfall?.stacks,s=e.threshold||0,a=this.stackKey,o=this.getColumn("x"),r=this.getColumn("y"),l=o.length,h=s,p=h,d,c=0,u=0,g=0,f,m,b,y,x,v,P,M,k=(t,e,i,s)=>{if(d){if(f)for(;i<f;i++)d.stackState[i]+=s;else d.stackState[0]=t,f=d.stackState.length;d.stackState.push(d.stackState[f-1]+e)}};if(t.stacking&&i&&this.reserveSpace()){M=i.changed,(P=i.alreadyChanged)&&0>P.indexOf(a)&&(M=!0),i[a]||(i[a]={});let t=i[a];if(t)for(let i=0;i<l;i++)(!t[v=o[i]]||M)&&(t[v]={negTotal:0,posTotal:0,stackTotal:0,threshold:0,stateIndex:0,stackState:[],label:M&&t[v]?t[v].label:void 0}),d=t[v],(x=r[i])>=0?d.posTotal+=x:d.negTotal+=x,y=e.data?.[i],m=d.absolutePos=d.posTotal,b=d.absoluteNeg=d.negTotal,d.stackTotal=m+b,f=d.stackState.length,(0,n.isObject)(y,!0)&&y.isIntermediateSum?(k(g,u,0,g),g=u,u=s,h^=p,p^=h,h^=p):(0,n.isObject)(y,!0)&&y.isSum?(k(s,c,f,0),h=s):(k(h,x,0,c),y&&(c+=x,u+=x)),d.stateIndex++,d.threshold=h,h+=d.stackTotal;i.changed=!1,i.alreadyChanged||(i.alreadyChanged=[]),i.alreadyChanged.push(a)}}getExtremes(){let t,e,i=this.options.stacking,s=this.yAxis,a=s.waterfall?.stacks;return i&&a?(t=this.stackedYNeg=[],e=this.stackedYPos=[],"overlap"===i?(0,n.objectEach)(a[this.stackKey],function(i){t.push((0,n.arrayMin)(i.stackState)),e.push((0,n.arrayMax)(i.stackState))}):(0,n.objectEach)(a[this.stackKey],function(i){t.push(i.negTotal+i.threshold),e.push(i.posTotal+i.threshold)}),{dataMin:(0,n.arrayMin)(t),dataMax:(0,n.arrayMax)(e)}):{dataMin:this.dataMin,dataMax:this.dataMax}}}e$.defaultOptions=(0,n.merge)(ej.defaultOptions,{dataLabels:{inside:!0},lineWidth:1,lineColor:"var(--highcharts-neutral-color-80)",dashStyle:"Dot",borderColor:"var(--highcharts-neutral-color-80)",states:{hover:{lineWidthPlus:0}}}),e$.compose=eU.compose,(0,n.extend)(e$.prototype,{pointValKey:"y",showLine:!0,pointClass:eK}),(0,n.addEvent)(e$,"afterColumnTranslate",function(){let{options:t,points:e,yAxis:i}=this,s=(0,n.pick)(t.minPointLength,5),a=s/2,o=t.threshold||0,r=t.stacking,l=i.waterfall?.stacks[this.stackKey],h=this.getColumn("y",!0),p=o,d=o,c,u,g;for(let t=0;t<e.length;t++){let f=e[t],m=h[t],b=f.shapeArgs,y=(0,n.extend)({x:0,y:0,width:0,height:0},b||{});f.box=y;let x=[0,m],v=f.y||0;if(r){if(l){let e=l[t];"overlap"===r?(u=e.stackState[e.stateIndex--],c=v>=0?u:u-v,e_(e,"absolutePos")&&delete e.absolutePos,e_(e,"absoluteNeg")&&delete e.absoluteNeg):(v>=0?(u=e.threshold+e.posTotal,e.posTotal-=v,c=u):(u=e.threshold+e.negTotal,e.negTotal-=v,c=u-v),!e.posTotal&&(0,n.isNumber)(e.absolutePos)&&e_(e,"absolutePos")&&(e.posTotal=e.absolutePos,delete e.absolutePos),!e.negTotal&&(0,n.isNumber)(e.absoluteNeg)&&e_(e,"absoluteNeg")&&(e.negTotal=e.absoluteNeg,delete e.absoluteNeg)),f.isSum||(e.connectorThreshold=e.threshold+e.stackTotal),g=c-Math.abs(v),i.reversed&&([c,g]=[g,c]),f.below=c<=o,y.y=i.translate(c,!1,!0,!1,!0),y.height=i.translate(g,!1,!0,!1,!0)-y.y;let s=i.waterfall?.dummyStackItem;s&&(s.x=t,s.label=l[t].label,s.setOffset(this.pointXOffset||0,this.barW||0,this.stackedYNeg[t],this.stackedYPos[t],void 0,this.xAxis))}}else c=Math.max(d,d+v)+x[0],y.y=i.translate(c,!1,!0,!1,!0),f.isSum?(y.y=i.translate(x[1],!1,!0,!1,!0),y.height=Math.min(i.translate(x[0],!1,!0,!1,!0),i.len)-y.y,f.below=x[1]<=o):f.isIntermediateSum?(v>=0?(c=x[1]+p,g=p):(c=p,g=x[1]+p),i.reversed&&([c,g]=[g,c]),y.y=i.translate(c,!1,!0,!1,!0),y.height=Math.abs(y.y-Math.min(i.translate(g,!1,!0,!1,!0),i.len)),p+=x[1],f.below=c<=o):(y.height=m>0?i.translate(d,!1,!0,!1,!0)-y.y:i.translate(d+m,!1,!0,!1,!0)-i.translate(d,!1,!0,!1,!0),f.below=(d+=m)<o);y.height<0&&(y.y+=y.height,y.height*=-1),f.plotY=y.y,f.yBottom=y.y+y.height,y.height<=s&&!f.isNull?(y.height=s,y.y-=a,f.yBottom=y.y+y.height,f.plotY=y.y,v<0?f.minPointLengthOffset=-a:f.minPointLengthOffset=a):(f.isNull&&(y.width=0),f.minPointLengthOffset=0);let P=f.plotY+(f.negative?y.height:0);f.below&&(f.plotY+=y.height),f.tooltipPos&&(this.chart.inverted?f.tooltipPos[0]=i.len-P:f.tooltipPos[1]=P),f.isInside=this.isPointInside(f);let M=(0,n.crisp)(f.yBottom,this.borderWidth);y.y=(0,n.crisp)(y.y,this.borderWidth),y.height=M-y.y,(0,n.merge)(!0,f.shapeArgs,y)}},{order:2}),p().registerSeriesType("waterfall",e$);let eQ=l();eQ.RadialAxis=ex,tl.compose(eQ.Axis,eQ.Chart,eQ.Legend),es.compose(eQ.Axis,eQ.Chart,eQ.Legend),P.compose(eQ.Chart,eQ.Pointer),eH.compose(eQ.Axis,eQ.Chart,eQ.Pointer,eQ.Series,eQ.Tick,eQ.Point,p().seriesTypes.areasplinerange,p().seriesTypes.column,p().seriesTypes.line,p().seriesTypes.spline),e$.compose(eQ.Axis,eQ.Chart);let eJ=eQ;export{eJ as default};
|
|
10
|
+
*/import*as t from"./highcharts.js";let e={};e.n=t=>{let i=t&&t.__esModule?()=>t.default:()=>t;return e.d(i,{a:i}),i},e.d=(t,i)=>{if(Array.isArray(i))for(var s=0;s<i.length;){var a=i[s++],o=i[s++];e.o(t,a)?0===o&&s++:0===o?Object.defineProperty(t,a,{enumerable:!0,value:i[s++]}):Object.defineProperty(t,a,{enumerable:!0,get:o})}else for(var a in i)e.o(i,a)&&!e.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:i[a]})},e.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let i=t.default;var s,a,o,r,n,l,h=e.n(i);let p=t.default.SeriesRegistry;var d=e.n(p);let{deg2rad:c}=h();(s=o||(o={})).getCenter=function(){let t=this.options,e=this.chart,s=2*(t.slicedOffset||0),a=e.plotWidth-2*s,o=e.plotHeight-2*s,r=t.center,n=Math.min(a,o),l=t.thickness,h,p=t.size,d=t.innerSize||0,c,u;"string"==typeof p&&(p=parseFloat(p)),"string"==typeof d&&(d=parseFloat(d));let g=[r?.[0]??"50%",r?.[1]??"50%",(p&&p<0?void 0:t.size)??"100%",(d&&d<0?void 0:t.innerSize||0)??"0%"];for(c=0;c<4;++c)u=g[c],h=c<2||2===c&&/%$/.test(u),g[c]=(0,i.relativeLength)(u,[a,o,n,g[2]][c])+(h?s:0);return g[3]>g[2]&&(g[3]=g[2]),(0,i.isNumber)(l)&&2*l<g[2]&&l>0&&(g[3]=g[2]-2*l),(0,i.fireEvent)(this,"afterGetCenter",{positions:g}),g},s.getStartAndEndRadians=function(t,e){let s=(0,i.isNumber)(t)?t:0,a=(0,i.isNumber)(e)&&e>s&&e-s<360?e:s+360;return{start:c*(s+-90),end:c*(a+-90)}};let u=o;function g(t){let e,i=this;return t&&i.pane.forEach(s=>{m(t.chartX-i.plotLeft,t.chartY-i.plotTop,s.center)&&(e=s)}),e}function m(t,e,s,a,o){let r=!0,n=s[0],l=s[1],h=2*Math.PI,p=Math.sqrt(Math.pow(t-n,2)+Math.pow(e-l,2));if((0,i.defined)(a)&&(0,i.defined)(o)){let s=Math.atan2((0,i.correctFloat)(e-l,8),(0,i.correctFloat)(t-n,8));s=(s+h)%h,a=(a+h)%h,Math.abs((o=(o+h)%h)-a)>1e-6&&(r=a>o?s>=a||s<=o:s>=a&&s<=o)}else r=!0;return p<=Math.ceil(s[2]/2)&&r}function f(t){this.polar&&(t.options.inverted&&([t.x,t.y]=[t.y,t.x]),t.isInsidePlot=this.pane.some(e=>m(t.x,t.y,e.center,e.axis&&e.axis.normalizedStartAngleRad,e.axis&&e.axis.normalizedEndAngleRad)))}function b(t){let e=this.chart;t.hoverPoint&&t.hoverPoint.plotX&&t.hoverPoint.plotY&&e.hoverPane&&!m(t.hoverPoint.plotX,t.hoverPoint.plotY,e.hoverPane.center)&&(t.hoverPoint=void 0)}function y(t){let e=this.chart;e.polar?(e.hoverPane=e.getHoverPane(t),t.filter=function(i){return i.visible&&!(!t.shared&&i.directTouch)&&(i.options.enableMouseTracking??!0)&&(!e.hoverPane||i.xAxis.pane===e.hoverPane)}):e.hoverPane=void 0}let{defaultOptions:x}=h(),v={shape:"arc",borderRadius:void 0,borderWidth:0,borderColor:"var(--highcharts-neutral-color-20)",backgroundColor:"var(--highcharts-neutral-color-3)",from:-Number.MAX_VALUE,to:Number.MAX_VALUE,outerRadius:"100%"},P={borderRadius:3,margin:void 0};x.pane=P;class M{constructor(t,e){this.coll="pane",this.init(t,e)}init(t,e){this.chart=e,this.background=[],e.pane.push(this),this.setOptions(t)}hasSeriesType(t){return!!(this.chart.options?.chart?.type===t||this.chart.options?.series?.some(e=>e.type===t))}setOptions(t){this.options=(0,i.merge)(P,this.chart.angular?{background:{},innerSize:"85%"}:{},t)}render(){let t=this.options,e=this.chart.renderer;this.group||(this.group=e.g("pane-group").attr({zIndex:t.zIndex||0}).add()),this.updateCenter();let s=this.options.background;if(s){let t=Math.max((s=(0,i.splat)(s)).length,this.background.length||0);for(let e=0;e<t;e++)s[e]&&this.axis?this.renderBackground((0,i.merge)(v,{borderRadius:this.options.borderRadius},s[e]),e):this.background[e]&&(this.background[e]=this.background[e].destroy(),this.background.splice(e,1))}}renderBackground(t,e){let s={class:"highcharts-pane "+(t.className||"")},a="animate";this.chart.styledMode||(0,i.extend)(s,{fill:t.backgroundColor,stroke:t.borderColor,"stroke-width":t.borderWidth}),this.background[e]||(this.background[e]=this.chart.renderer.path().add(this.group),a="attr"),this.background[e][a]({d:this.axis.getPlotBandPath(t.from,t.to,t)}).attr(s)}updateCenter(){let{axis:t,chart:e,options:s}=this,{plotHeight:a,plotWidth:o}=e,r=s.center?.[1],n=s.margin,l=this.axis?.options.labels,h=s.thickness,p=Array.isArray(n)?n:[n,n,n,n],d=[],c=s.size,g,m=0,f=0,b=Math.min(e.series.reduce((t,e)=>{if(!e.is("gauge")||e.yAxis?.pane!==this)return t;let s=(0,i.splat)(e.options.dataLabels)[0],a=0;return s&&!1!==s.enabled&&(a=(1-(0,i.getAlignFactor)(s.verticalAlign))*30+(s.y||0)),Math.max(t,a)},0),.3*a);if(l?.enabled){let t=String(l.style?.fontSize||""),e=(/px$/.test(t)?parseFloat(t):/em$/.test(t)?12*parseFloat(t):12)*1.2;f=Math.max(l.distance||0,0)+e/2}if(p.forEach((t,e)=>{d[e]=t??Math.max(f||0)}),t&&(void 0===c||void 0===r)){let{endAngleRad:e,startAngleRad:r}=t,n=2*Math.PI/360,l=.5+.5*Math.max(Math.sin((r<Math.PI/2&&e>Math.PI/2||(0,i.splat)(s.background).some(t=>t?.shape==="circle")?Math.PI:Math.max(Math.abs(r+Math.PI/2),Math.abs(e+Math.PI/2)))-Math.PI/2),Math.sin(0*n));if(g=(a-d[0]-d[2])/l,void 0===c){let t=(c=Math.max(Math.min(g,o-d[1]-d[3]),1))+d[0]+d[2]+2*(b-a);t>0&&(c=Math.max(1,c-(m=t)))}}this.center=(t||{}).center=u.getCenter.call(this),(0,i.isNumber)(c)&&c>=0&&(this.center[2]=c,(0,i.isNumber)(h)?this.center[3]=this.center[2]-2*h:this.center[3]=Math.min(c,(0,i.relativeLength)(s.innerSize||0,c))),!(0,i.defined)(r)&&(s.size?this.center[1]=a/2:(0,i.isNumber)(g)&&(this.center[1]=(g+this.center[2]-m)/4+d[0]))}update(t,e){(0,i.merge)(!0,this.options,t),this.setOptions(this.options),this.render(),this.chart.axes.forEach(function(t){t.pane===this&&(t.pane=null,t.update({},e))},this)}}M.compose=function(t,e){let s=t.prototype;s.getHoverPane||(s.collectionsWithUpdate.push("pane"),s.getHoverPane=g,(0,i.addEvent)(t,"afterIsInsidePlot",f),(0,i.addEvent)(e,"afterGetHoverData",b),(0,i.addEvent)(e,"beforeGetHoverData",y))};let{area:{prototype:{pointClass:L,pointClass:{prototype:k}}}}=d().seriesTypes,w=class extends L{setState(){let t=this.state,e=this.series,s=e.chart.polar;(0,i.defined)(this.plotHigh)||(this.plotHigh=e.yAxis.toPixels(this.high,!0)),(0,i.defined)(this.plotLow)||(this.plotLow=this.plotY=e.yAxis.toPixels(this.low,!0)),e.lowerStateMarkerGraphic=e.stateMarkerGraphic,e.stateMarkerGraphic=e.upperStateMarkerGraphic,this.graphic=this.graphics&&this.graphics[1],this.plotY=this.plotHigh,s&&(0,i.isNumber)(this.plotHighX)&&(this.plotX=this.plotHighX),k.setState.apply(this,arguments),this.state=t,this.plotY=this.plotLow,this.graphic=this.graphics&&this.graphics[0],s&&(0,i.isNumber)(this.plotLowX)&&(this.plotX=this.plotLowX),e.upperStateMarkerGraphic=e.stateMarkerGraphic,e.stateMarkerGraphic=e.lowerStateMarkerGraphic,e.lowerStateMarkerGraphic=void 0;let a=e.modifyMarkerSettings();k.setState.apply(this,arguments),e.restoreMarkerSettings(a)}haloPath(){let t=this.series.chart.polar,e=[];return this.plotY=this.plotLow,t&&(0,i.isNumber)(this.plotLowX)&&(this.plotX=this.plotLowX),this.isInside&&(e=k.haloPath.apply(this,arguments)),this.plotY=this.plotHigh,t&&(0,i.isNumber)(this.plotHighX)&&(this.plotX=this.plotHighX),this.isTopInside&&(e=e.concat(k.haloPath.apply(this,arguments))),e}isValid(){return(0,i.isNumber)(this.low)&&(0,i.isNumber)(this.high)}},A=t.default.Series.types.column;var N=e.n(A);!function(t){let e={close:["plotClose"],high:["highPlot","plotHigh"],low:["lowPlot","plotLow"],median:["medianPlot"],open:["plotOpen"],q1:["q1Plot"],q3:["q3Plot"],y:["plotY"]};function s(t,s){for(let a of e[s]??[]){let e=t[a];if((0,i.isNumber)(e))return e}}function a(t,e){return e&&t.pointArrayMap.indexOf(e)>-1?e:t.pointValKey}function o(t,e,o,r,n){let l=s(t,a(this,o.alignToKey)),h=t.shapeArgs,p=t.plotY,d=t.dlBox,c=t.below;if((0,i.isNumber)(l)){let e,a;t.plotY=l,h&&!o.inside&&(t.dlBox={x:h.x??0,y:(0,i.crisp)(l,this.borderWidth,this.chart.inverted),width:h.width??0,height:0});let r=(e=s(t,"high"),a=s(t,"low"),t.below=!!((0,i.isNumber)(e)&&(0,i.isNumber)(a))&&(o.inside?l===Math.min(e,a):l===Math.max(e,a)));this.chart.inverted?o.align??(o.align=r?"right":"left"):o.verticalAlign??(o.verticalAlign=r?"top":"bottom")}N().prototype.alignDataLabel.call(this,t,e,o,r,n),t.plotY=p,t.dlBox=d,t.below=c}t.compose=function(t){return t.prototype.alignDataLabel=o,t},t.formatter=function(t){let e=t.alignToKey?this.getNestedProperty(t.alignToKey):this.y,s=(0,i.isNumber)(e)?e:this.y;return(0,i.isNumber)(s)?this.series.chart.numberFormatter(s,-1):""},t.applyAlignToKeyValue=function(t){let{alignToKey:e,format:i}=t;e&&i&&(t.format=i.replace(/\{(?:point\.)?y([:}])/g,"{point."+e+"$1"))},t.resolveAlignToKey=a,t.alignDataLabel=o}(r||(r={}));let S=r,{noop:T}=h(),{area:C,area:{prototype:X}}=d().seriesTypes,Y={lineWidth:1,threshold:null,tooltip:{pointFormat:'<span style="color:{series.color}">●</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},trackByArea:!0,dataLabels:{align:void 0,formatter:S.formatter,verticalAlign:void 0,xLow:0,xHigh:0,yLow:0,yHigh:0}};class E extends C{toYData(t){return[t.low,t.high]}highToXY(t){let e=this.chart,i=this.xAxis.postTranslate(t.rectPlotX||0,this.yAxis.len-(t.plotHigh||0));t.plotHighX=i.x-e.plotLeft,t.plotHigh=i.y-e.plotTop,t.plotLowX=t.plotX}getGraphPath(t){let e=[],i=[],s=X.getGraphPath,a=this.options,o=this.chart.polar,r=o&&!1!==a.connectEnds,n=a.connectNulls,l,h,p,d=a.step;for(l=(t=t||this.points).length;l--;){h=t[l];let s=o?{plotX:h.rectPlotX,plotY:h.yBottom,doCurve:!1}:{plotX:h.plotX,plotY:h.plotY,doCurve:!1};h.isNull||r||n||t[l+1]&&!t[l+1].isNull||i.push(s),p={polarPlotY:h.polarPlotY,rectPlotX:h.rectPlotX,yBottom:h.yBottom,plotX:h.plotHighX??h.plotX,plotY:h.plotHigh,isNull:h.isNull},i.push(p),e.push(p),h.isNull||r||n||t[l-1]&&!t[l-1].isNull||i.push(s)}let c=s.call(this,t);d&&(!0===d&&(d="left"),a.step=({left:"right",center:"center",right:"left"})[d]);let u=s.call(this,e),g=s.call(this,i);a.step=d;let m=[].concat(c,u);return!this.chart.polar&&g[0]&&"M"===g[0][0]&&(g[0]=["L",g[0][1],g[0][2]]),this.graphPath=m,this.areaPath=c.concat(g),m.isArea=!0,m.xMap=c.xMap,this.areaPath.xMap=c.xMap,m}drawDataLabels(){let t=this,e=t.options.dataLabels;if(e){let s,a=(s=t.options.dataLabels,(0,i.isArray)(s)?Array.from({length:Math.max(s.length,2)},(e,a)=>{let o=s[a],r=0===a?"high":1===a?"low":t.pointValKey,n=o?.alignToKey??r;return(0,i.merge)(o??{enabled:!1},{alignToKey:n})}):s?.alignToKey?[(0,i.merge)(s,"high"===s.alignToKey?{x:s.xHigh,y:s.yHigh}:"low"===s.alignToKey?{x:s.xLow,y:s.yLow}:{})]:[(0,i.merge)(s,{alignToKey:"high",x:s?.xHigh,y:s?.yHigh}),(0,i.merge)(s,{alignToKey:"low",x:s?.xLow,y:s?.yLow})]);for(let i of(a.forEach(S.applyAlignToKeyValue),t.options.dataLabels=a,X.drawDataLabels&&X.drawDataLabels.call(t),t.options.dataLabels=e,t.points)){let e=i.dataLabels??[];i.dataLabelUpper=e.find(e=>"high"===S.resolveAlignToKey(t,e.options?.alignToKey)),i.dataLabel=e.find(e=>"low"===S.resolveAlignToKey(t,e.options?.alignToKey))}}}modifyMarkerSettings(){let t={marker:this.options.marker,symbol:this.symbol};if(this.options.lowMarker){let{options:{marker:t,lowMarker:e}}=this;this.options.marker=(0,i.merge)(t,e),e.symbol&&(this.symbol=e.symbol)}return t}restoreMarkerSettings(t){this.options.marker=t.marker,this.symbol=t.symbol}drawPoints(){let t,e,s=this.points.length,a=this.modifyMarkerSettings();for(X.drawPoints.apply(this,arguments),this.restoreMarkerSettings(a),t=0;t<s;)(e=this.points[t]).graphics=e.graphics||[],e.origProps={plotY:e.plotY,plotX:e.plotX,isInside:e.isInside,negative:e.negative,zone:e.zone,y:e.y},(e.graphic||e.graphics[0])&&(e.graphics[0]=e.graphic),e.graphic=e.graphics[1],e.plotY=e.plotHigh,(0,i.defined)(e.plotHighX)&&(e.plotX=e.plotHighX),e.y=e.high??e.origProps.y,e.negative=e.y<(this.options.threshold||0),this.zones.length&&(e.zone=e.getZone()),this.chart.polar||(e.isInside=e.isTopInside=void 0!==e.plotY&&e.plotY>=0&&e.plotY<=this.yAxis.len&&e.plotX>=0&&e.plotX<=this.xAxis.len),t++;for(X.drawPoints.apply(this,arguments),t=0;t<s;)(e=this.points[t]).graphics=e.graphics||[],(e.graphic||e.graphics[1])&&(e.graphics[1]=e.graphic),e.graphic=e.graphics[0],e.origProps&&((0,i.extend)(e,e.origProps),delete e.origProps),t++}hasMarkerChanged(t,e){let i=t.lowMarker,s=e.lowMarker||{};return i&&(!1===i.enabled||s.symbol!==i.symbol||s.height!==i.height||s.width!==i.width)||super.hasMarkerChanged(t,e)}}E.defaultOptions=(0,i.merge)(C.defaultOptions,Y),(0,i.addEvent)(E,"afterTranslate",function(){"low,high"===this.pointArrayMap.join(",")&&this.points.forEach(t=>{let e=t.high,s=t.plotY;t.isNull?t.plotY=void 0:(t.plotLow=s,t.plotHigh=(0,i.isNumber)(e)?this.yAxis.translate(this.dataModify?this.dataModify.modifyValue(e):e,!1,!0,void 0,!0):void 0,this.dataModify&&(t.yBottom=t.plotHigh))})},{order:0}),(0,i.addEvent)(E,"afterTranslate",function(){this.points.forEach(t=>{if(this.chart.polar)this.highToXY(t),t.plotLow=t.plotY,t.tooltipPos=[((t.plotHighX||0)+(t.plotLowX||0))/2,((t.plotHigh||0)+(t.plotLow||0))/2];else{let e=t.pos(!1,void 0,t.plotLow),i=t.pos(!1,void 0,t.plotHigh);e&&i&&(e[0]=(e[0]+i[0])/2,e[1]=(e[1]+i[1])/2),t.tooltipPos=e}})},{order:3}),(0,i.extend)(E.prototype,{deferTranslatePolar:!0,pointArrayMap:["low","high"],pointClass:w,pointValKey:"low",setStackedPoints:T}),S.compose(E),d().registerSeriesType("arearange",E);let R=E,{spline:{prototype:I}}=d().seriesTypes;class z extends R{}z.defaultOptions=(0,i.merge)(R.defaultOptions),(0,i.extend)(z.prototype,{getPointSpline:I.getPointSpline}),d().registerSeriesType("areasplinerange",z);let{defaultOptions:O}=h(),{noop:D}=h(),B={radius:0,scope:"stack",where:void 0};function W(t,e){return(0,i.isObject)(t)||(t={radius:t||0}),(0,i.merge)(B,e,t)}let{noop:F}=h();class H extends N(){pointAttribs(){return{fill:this.color}}getWhiskerPair(t,e,s,a,o){let r=o.whiskers.strokeWidth(),n=(s,a)=>{let o=(0,i.relativeLength)(s,2*t)/2,n=(0,i.crisp)(a,r);return[["M",(0,i.crisp)(e-o),n],["L",(0,i.crisp)(e+o),n]]};return[...n(s,o.highPlot),...n(a,o.lowPlot)]}translate(){let t=this.yAxis,e=this.pointArrayMap;super.translate.apply(this),this.points.forEach(function(i){e.forEach(function(e){let s=i[e];null!==s&&(i[`${e}Plot`]=t.translate(s,!1,!0,!1,!0))}),i.plotHigh=i.highPlot})}drawPoints(){let t,e,s,a,o,r,n,l,h,p,d,c=this.points,u=this.options,g=this.chart,m=g.renderer,f=!1!==this.doQuartiles,b=this.options.whiskerLength;for(let y of c){let c=(l=y.graphic)?"animate":"attr",x=y.shapeArgs,v={},P={},M={},L={},k=y.color||this.color,w=y.options.whiskerLength||b;if(void 0!==y.plotY){h=x.width,d=(p=x.x)+h,t=f?y.q1Plot:y.lowPlot,e=f?y.q3Plot:y.lowPlot,s=y.highPlot,a=y.lowPlot,l||(y.graphic=l=m.g("point").add(this.group),y.stem=m.path().addClass("highcharts-boxplot-stem").add(l),b&&(y.whiskers=m.path().addClass("highcharts-boxplot-whisker").add(l)),f&&(y.box=m.path(n).addClass("highcharts-boxplot-box").add(l)),y.medianShape=m.path(r).addClass("highcharts-boxplot-median").add(l)),g.styledMode||(P.stroke=y.stemColor||u.stemColor||k,P["stroke-width"]=y.stemWidth??u.stemWidth??u.lineWidth,P.dashstyle=y.stemDashStyle||u.stemDashStyle||u.dashStyle,y.stem.attr(P),w&&(M.stroke=y.whiskerColor||u.whiskerColor||k,M["stroke-width"]=y.whiskerWidth??u.whiskerWidth??u.lineWidth,M.dashstyle=y.whiskerDashStyle||u.whiskerDashStyle||u.dashStyle,y.whiskers.attr(M)),f&&(v.fill=y.fillColor||u.fillColor||k,v.stroke=u.lineColor||k,v["stroke-width"]=u.lineWidth||0,v.dashstyle=y.boxDashStyle||u.boxDashStyle||u.dashStyle,y.box.attr(v)),L.stroke=y.medianColor||u.medianColor||k,L["stroke-width"]=y.medianWidth??u.medianWidth??u.lineWidth,L.dashstyle=y.medianDashStyle||u.medianDashStyle||u.dashStyle,y.medianShape.attr(L));let A=(0,i.crisp)((y.plotX||0)+(this.pointXOffset||0)+(this.barW||0)/2,y.stem.strokeWidth());if(y.stem[c]({d:[["M",A,e],["L",A,s],["M",A,t],["L",A,a]]}),f){let s=y.box.strokeWidth();t=(0,i.crisp)(t,s),e=(0,i.crisp)(e,s),p=(0,i.crisp)(p,s),d=(0,i.crisp)(d,s);let a=Math.min((0,i.relativeLength)(W(u.borderRadius).radius,d-p),(d-p)/2,Math.abs(t-e)/2);y.box[c]({d:m.symbols.roundedRect(p,Math.min(t,e),d-p,Math.abs(t-e),{r:a})})}if(w){let t=h/2,e=this.getWhiskerPair(t,A,y.upperWhiskerLength??u.upperWhiskerLength??w,y.lowerWhiskerLength??u.lowerWhiskerLength??w,y);y.whiskers[c]({d:e})}o=(0,i.crisp)(y.medianPlot,y.medianShape.strokeWidth()),y.medianShape[c]({d:[["M",p,o],["L",d,o]]})}}}toYData(t){return[t.low,t.q1,t.median,t.q3,t.high]}}H.defaultOptions=(0,i.merge)(N().defaultOptions,{borderRadius:0,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:"var(--highcharts-background-color)",lineWidth:1,medianWidth:2,whiskerWidth:2}),(0,i.extend)(H.prototype,{pointArrayMap:["low","q1","median","q3","high"],pointValKey:"high",setStackedPoints:F}),S.compose(H),d().registerSeriesType("boxplot",H);let G=H,q={borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:"0.9em",color:"var(--highcharts-neutral-color-100)"},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:!1,zIndex:1,zThreshold:0},K=t.default.Templating;var V=e.n(K);let{noop:U}=h(),j=class{constructor(t,e){this.setState=U,this.init(t,e)}init(t,e){this.options=t,this.visible=!0,this.chart=e.chart,this.legend=e}addToLegend(t){t.splice(this.options.legendIndex,0,this)}drawLegendSymbol(t){let e,s=t.options.itemDistance??20,a=this.legendItem||{},o=this.options,r=o.ranges,n=o.connectorDistance;if(!r||!r.length||!(0,i.isNumber)(r[0].value)){t.options.bubbleLegend.autoRanges=!0;return}(0,i.stableSort)(r,function(t,e){return e.value-t.value}),this.ranges=r,this.setOptions(),this.render();let l=this.getMaxLabelSize(),h=this.ranges[0].radius,p=2*h;e=(e=n-h+l.width)>0?e:0,this.maxLabel=l,this.movementX="left"===o.labels.align?e:0,a.labelWidth=p+e+s,a.labelHeight=p+l.height/2}setOptions(){let t=this.ranges,e=this.options,s=this.chart.series[e.seriesIndex],a=this.legend.baseline,o={zIndex:e.zIndex,"stroke-width":e.borderWidth},r={zIndex:e.zIndex,"stroke-width":e.connectorWidth},n={align:this.legend.options.rtl||"left"===e.labels.align?"right":"left",zIndex:e.zIndex},l=s.options.marker.fillOpacity,h=this.chart.styledMode;t.forEach(function(p,d){h||(o.stroke=p.borderColor??e.borderColor??s.color,o.fill=p.color||e.color,o.fill||(o.fill=s.color,o["fill-opacity"]=l??1),r.stroke=p.connectorColor??e.connectorColor??s.color),t[d].radius=this.getRangeRadius(p.value),t[d]=(0,i.merge)(t[d],{center:t[0].radius-t[d].radius+a}),h||(0,i.merge)(!0,t[d],{bubbleAttribs:(0,i.merge)(o),connectorAttribs:(0,i.merge)(r),labelAttribs:n})},this)}getRangeRadius(t){let e=this.options,i=this.options.seriesIndex,s=this.chart.series[i],a=e.ranges[0].value,o=e.ranges[e.ranges.length-1].value,r=e.minSize,n=e.maxSize;return s.getRadius.call(this,o,a,r,n,t)}render(){let t=this.legendItem||{},e=this.chart.renderer,i=this.options.zThreshold;for(let s of(this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]}),t.symbol=e.g("bubble-legend"),t.label=e.g("bubble-legend-item").css(this.legend.itemStyle||{}),t.symbol.translateX=0,t.symbol.translateY=0,t.symbol.add(t.label),t.label.add(t.group),this.ranges))s.value>=i&&this.renderRange(s);this.hideOverlappingLabels()}renderRange(t){let e=this.ranges[0],i=this.legend,s=this.options,a=s.labels,o=this.chart,r=o.series[s.seriesIndex],n=o.renderer,l=this.symbols,h=l.labels,p=t.center,d=Math.abs(t.radius),c=s.connectorDistance||0,u=a.align,g=i.options.rtl,m=s.borderWidth,f=s.connectorWidth,b=e.radius||0,y=p-d-m/2+f/2,x=(y%1?1:.5)-(f%2?0:.5),v=n.styledMode,P=g||"left"===u?-c:c;"center"===u&&(P=0,s.connectorDistance=0,t.labelAttribs.align="center"),l.bubbleItems.push(n.circle(b,p+x,d).attr(v?{}:t.bubbleAttribs).addClass((v?"highcharts-color-"+r.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(s.className||"")).add(this.legendItem.symbol)),l.connectors.push(n.path(n.crispLine([["M",b,y],["L",b+P,y]],s.connectorWidth)).attr(v?{}:t.connectorAttribs).addClass((v?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(s.connectorClassName||"")).add(this.legendItem.symbol));let M=n.text(this.formatLabel(t)).attr(v?{}:t.labelAttribs).css(v?{}:a.style).addClass("highcharts-bubble-legend-labels "+(s.labels.className||"")).add(this.legendItem.symbol),L={x:b+P+s.labels.x,y:y+s.labels.y+.4*M.getBBox().height};M.attr(L),h.push(M),M.placed=!0,M.alignAttr=L}getMaxLabelSize(){let t,e;return this.symbols.labels.forEach(function(i){e=i.getBBox(!0),t=t?e.width>t.width?e:t:e}),t||{}}formatLabel(t){let e=this.options,i=e.labels.formatter,s=e.labels.format,{numberFormatter:a}=this.chart;return s?V().format(s,t,this.chart):i?i.call(t,t):a(t.value,1)}hideOverlappingLabels(){let t=this.chart,e=this.options.labels.allowOverlap,i=this.symbols;!e&&i&&(t.hideOverlappingLabels(i.labels),i.labels.forEach(function(t,e){t.newOpacity?t.newOpacity!==t.oldOpacity&&i.connectors[e].show():i.connectors[e].hide()}))}getRanges(){let t=this.legend.bubbleLegend,e=t.chart.series,s=t.options.ranges,a,o,r=Number.MAX_VALUE,n=-Number.MAX_VALUE;return e.forEach(function(t){t.isBubble&&!t.ignoreSeries&&(o=t.getColumn("z").filter(i.isNumber)).length&&(r=t.options.zMin??Math.min(r,Math.max((0,i.arrayMin)(o),!1===t.options.displayNegative?t.options.zThreshold:-Number.MAX_VALUE)),n=t.options.zMax??Math.max(n,(0,i.arrayMax)(o)))}),a=r===n?[{value:n}]:[{value:r},{value:(r+n)/2},{value:n,autoRanges:!0}],s.length&&s[0].radius&&a.reverse(),a.forEach(function(t,e){s&&s[e]&&(a[e]=(0,i.merge)(s[e],t))}),a}predictBubbleSizes(){let t=this.chart,e=t.legend.options,i=e.floating,s="horizontal"===e.layout,a=s?t.legend.lastLineHeight:0,o=t.plotSizeX,r=t.plotSizeY,n=t.series[this.options.seriesIndex],l=n.getPxExtremes(),h=Math.ceil(l.minPxSize),p=Math.ceil(l.maxPxSize),d=Math.min(r,o),c,u=n.options.maxSize;return i||!/%$/.test(u)?c=p:(c=(d+a)*(u=parseFloat(u))/100/(u/100+1),(s&&r-c>=o||!s&&o-c>=r)&&(c=p)),[h,Math.ceil(c)]}updateRanges(t,e){let i=this.legend.options.bubbleLegend;i.minSize=t,i.maxSize=e,i.ranges=this.getRanges()}correctSizes(){let t=this.legend,e=this.chart.series[this.options.seriesIndex].getPxExtremes();Math.abs(Math.ceil(e.maxPxSize)-this.options.maxSize)>1&&(this.updateRanges(this.options.minSize,e.maxPxSize),t.render())}},{setOptions:Z}=h(),{composed:$}=h();function _(t,e,s){let a,o,r,n=this.legend,l=Q(this)>=0;n&&n.options.enabled&&n.bubbleLegend&&n.options.bubbleLegend.autoRanges&&l?(a=n.bubbleLegend.options,o=n.bubbleLegend.predictBubbleSizes(),n.bubbleLegend.updateRanges(o[0],o[1]),a.placed||(n.group.placed=!1,n.allItems.forEach(t=>{(r=t.legendItem||{}).group&&(r.group.translateY=void 0)})),n.render(),a.placed||(this.getMargins(),this.axes.forEach(t=>{t.setScale(),t.updateNames(),(0,i.objectEach)(t.ticks,function(t){t.isNew=!0,t.isNewLabel=!0})}),this.getMargins()),a.placed=!0,t.call(this,e,s),n.bubbleLegend.correctSizes()):(t.call(this,e,s),n&&n.options.enabled&&n.bubbleLegend&&n.render())}function Q(t){let e=t.series,i=0;for(;i<e.length;){if(e[i]&&e[i].isBubble&&e[i].visible&&e[i].dataTable.rowCount)return i;i++}return -1}function J(t){let e=this.bubbleLegend,i=this.options,s=i.bubbleLegend,a=Q(this.chart);e&&e.ranges&&e.ranges.length&&(s.ranges.length&&(s.autoRanges=!!s.ranges[0].autoRanges),this.destroyItem(e)),a>=0&&i.enabled&&s.enabled&&(s.seriesIndex=a,this.bubbleLegend=new j(s,this),this.bubbleLegend.addToLegend(t.allItems))}function tt(){if(this.bubbleLegend){let t=this.allItems,e=this.options.rtl,i=function(t){let e=t.allItems,i=[],s=e.length,a,o,r,n=0,l=0;for(n=0;n<s;n++)if(o=e[n].legendItem||{},r=(e[n+1]||{}).legendItem||{},o.labelHeight&&(e[n].itemHeight=o.labelHeight),e[n]===e[s-1]||o.y!==r.y){for(i.push({height:0}),a=i[i.length-1];l<=n;l++)e[l].itemHeight>a.height&&(a.height=e[l].itemHeight);a.step=n}return i}(this),s,a,o,r,n=0;t.forEach((t,l)=>{(r=t.legendItem||{}).group&&(s=r.group.translateX||0,a=r.y||0,((o=t.movementX)||e&&t.ranges)&&(o=e?s-t.options.maxSize/2:s+o,r.group.attr({translateX:o})),l>i[n].step&&n++,r.group.attr({translateY:Math.round(a+i[n].height/2)}),r.y=a+i[n].height/2)})}}function te(t){let e;if(t.defaultPrevented)return!1;let i=t.legendItem,s=this.chart,a=i.visible;this&&this.bubbleLegend&&(i.visible=!a,i.ignoreSeries=a,e=Q(s)>=0,this.bubbleLegend.visible!==e&&(this.update({bubbleLegend:{enabled:e}}),this.bubbleLegend.visible=e),i.visible=a)}let ti=function(t,e){(0,i.pushUnique)($,"Series.BubbleLegend")&&(Z({legend:{bubbleLegend:q}}),(0,i.wrap)(t.prototype,"drawChartBox",_),(0,i.addEvent)(e,"afterGetAllItems",J),(0,i.addEvent)(e,"afterRender",tt),(0,i.addEvent)(e,"itemClick",te))},ts=t.default.Point;var ta=e.n(ts);let{seriesTypes:{scatter:{prototype:{pointClass:to}}}}=d();class tr extends to{haloPath(t){let e=(t&&this.marker&&this.marker.radius||0)+t;if(this.series.chart.inverted){let t=this.pos()||[0,0],{xAxis:i,yAxis:s,chart:a}=this.series,o=2*e;return a.renderer.symbols.circle((i?.len||0)-t[1]-e,(s?.len||0)-t[0]-e,o,o)}return ta().prototype.haloPath.call(this,e)}}(0,i.extend)(tr.prototype,{ttBelow:!1});let{composed:tn,noop:tl}=h(),{series:th,seriesTypes:{column:{prototype:tp},scatter:td}}=d();function tc(){let t=this.len,{coll:e,isXAxis:s,min:a}=this,o=(this.max||0)-(a||0),r=0,n=t,l=t/o,h;("xAxis"===e||"yAxis"===e)&&(this.series.forEach(t=>{if(t.bubblePadding&&t.reserveSpace()){this.allowZoomOutside=!0,h=!0;let e=t.getColumn(s?"x":"y");if(s&&((t.onPoint||t).getRadii(0,0,t),t.onPoint&&(t.radii=t.onPoint.radii)),o>0){let s=e.length;for(;s--;)if((0,i.isNumber)(e[s])&&this.dataMin<=e[s]&&e[s]<=this.max){let i=t.radii&&t.radii[s]||0;r=Math.min((e[s]-a)*l-i,r),n=Math.max((e[s]-a)*l+i,n)}}}}),h&&o>0&&!this.logarithmic&&(n-=t,l*=(t+Math.max(0,r)-Math.min(n,t))/t,[["min","userMin",r],["max","userMax",n]].forEach(t=>{void 0===(this.options[t[0]]??this[t[1]])&&(this[t[0]]+=t[2]/l)})))}function tu(){let{ticks:t,tickPositions:e,dataMin:i=0,dataMax:s=0,categories:a}=this,o=this.options.type;if((a?.length||"category"===o)&&this.series.find(t=>t.bubblePadding)){let a=e.length;for(;a--;){let o=t[e[a]],r=o.pos||0;(r>s||r<i)&&o.label?.hide()}}}class tg extends td{static compose(t,e,s){ti(e,s),(0,i.pushUnique)(tn,"Series.Bubble")&&((0,i.addEvent)(t,"foundExtremes",tc),(0,i.addEvent)(t,"afterRender",tu))}animate(t){!t&&this.points.length<this.options.animationLimit&&this.points.forEach(function(t){let{graphic:e,plotX:i=0,plotY:s=0}=t;e&&e.width&&(this.hasRendered||e.attr({x:i,y:s,width:1,height:1}),e.animate(this.markerAttribs(t),this.options.animation))},this)}getRadii(){let t=[...this.getColumn("z",!1,!0)],e=this.getColumn("y"),i=[],s,a,o,r=this.chart.bubbleZExtremes,{minPxSize:n,maxPxSize:l}=this.getPxExtremes();if(!r){let t,e=Number.MAX_VALUE,i=-Number.MAX_VALUE;this.chart.series.forEach(s=>{if(s.bubblePadding&&s.reserveSpace()){let a=(s.onPoint||s).getZExtremes();a&&(e=Math.min(e??a.zMin,a.zMin),i=Math.max(i??a.zMax,a.zMax),t=!0)}}),t?(r={zMin:e,zMax:i},this.chart.bubbleZExtremes=r):r={zMin:0,zMax:0}}for(a=0,s=t.length;a<s;a++)o=t[a],i.push(this.getRadius(r.zMin,r.zMax,n,l,o,e&&e[a]));this.radii=i}getRadius(t,e,s,a,o,r){let n=this.options,l="width"!==n.sizeBy,h=n.zThreshold,p=e-t,d=.5;if(null===r||null===o)return null;if((0,i.isNumber)(o)){if(n.sizeByAbsoluteValue&&(o=Math.abs(o-h),e=p=Math.max(e-h,Math.abs(t-h)),t=0),o<t)return s/2-1;p>0&&(d=(o-t)/p)}return l&&d>=0&&(d=Math.sqrt(d)),Math.ceil(s+d*(a-s))/2}hasData(){return!!this.dataTable.rowCount}markerAttribs(t,e){let s=super.markerAttribs(t,e),{height:a=0,width:o=0}=s;return this.chart.inverted?(0,i.extend)(s,{x:(t.plotX||0)-o/2,y:(t.plotY||0)-a/2}):s}pointAttribs(t,e){let i=this.options.marker,s=i?.fillOpacity,a=th.prototype.pointAttribs.call(this,t,e);return a["fill-opacity"]=s??1,a}translate(){super.translate.call(this),this.getRadii(),this.translateBubble()}translateBubble(){let{options:t,radii:e}=this,{minPxSize:s}=this.getPxExtremes();this.data.concat(this.condemnedPoints).forEach((a,o)=>{let{plotX:r=0,plotY:n=0}=a,l=a.condemned?a.marker?.radius||0:e?e[o]:0;"z"===this.zoneAxis&&(a.negative=(a.z||0)<(t.zThreshold||0)),(0,i.isNumber)(l)&&(a.marker=(0,i.extend)(a.marker,{radius:l,width:2*l,height:2*l})),(0,i.isNumber)(l)&&l>=s/2?a.dlBox={x:r-l,y:n-l,width:2*l,height:2*l}:(a.shapeArgs=a.plotY=a.dlBox=void 0,a.isInside=!1)})}getPxExtremes(){let t=Math.min(this.chart.plotWidth,this.chart.plotHeight),e=e=>{let i;return"string"==typeof e&&(i=/%$/.test(e),e=parseInt(e,10)),i?t*e/100:e},i=e(this.options.minSize??8),s=Math.max(e(this.options.maxSize??"20%"),i);return{minPxSize:i,maxPxSize:s}}getZExtremes(){let t=this.options,e=this.getColumn("z").filter(i.isNumber);if(e.length){let s=t.zMin??(0,i.clamp)((0,i.arrayMin)(e),!1===t.displayNegative?t.zThreshold||0:-Number.MAX_VALUE,Number.MAX_VALUE),a=t.zMax??(0,i.arrayMax)(e);if((0,i.isNumber)(s)&&(0,i.isNumber)(a))return{zMin:s,zMax:a}}}searchKDTree(t,e,i,s=tl,a=tl){return s=(t,e,i)=>{let s=t[i]||0,a=e[i]||0,o,r=!1;return s===a?o=t.index>e.index?t:e:s<0&&a<0?(o=s-(t.marker?.radius||0)>=a-(e.marker?.radius||0)?t:e,r=!0):o=s<a?t:e,[o,r]},a=(t,e,i)=>!i&&t>e||t<e,super.searchKDTree(t,e,i,s,a)}}tg.defaultOptions=(0,i.merge)(td.defaultOptions,{dataLabels:{formatter:function(){let{numberFormatter:t}=this.series.chart,{z:e}=this.point;return(0,i.isNumber)(e)?t(e,-1):""},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:!1,states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0,zThreshold:0,zoneAxis:"z"}),(0,i.extend)(tg.prototype,{alignDataLabel:tp.alignDataLabel,applyZones:tl,bubblePadding:!0,isBubble:!0,keysAffectYAxis:["y"],pointArrayMap:["y","z"],pointClass:tr,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"}),(0,i.addEvent)(tg,"updatedData",t=>{delete t.target.chart.bubbleZExtremes}),(0,i.addEvent)(tg,"remove",t=>{delete t.target.chart.bubbleZExtremes}),(0,i.addEvent)(tg,"update",t=>{let e=t.target.options;((0,i.defined)(e.zMin)||(0,i.defined)(e.zMax))&&delete t.target.chart.bubbleZExtremes}),d().registerSeriesType("bubble",tg);let{seriesTypes:{column:{prototype:{pointClass:{prototype:tm}}},arearange:{prototype:{pointClass:tf}}}}=d();class tb extends tf{isValid(){return(0,i.isNumber)(this.low)}}(0,i.extend)(tb.prototype,{setState:tm.setState});let{noop:ty}=h(),{seriesTypes:{arearange:tx,column:tv,column:{prototype:tP}}}=d();class tM extends tx{setOptions(){return(0,i.merge)(!0,arguments[0],{stacking:void 0}),tx.prototype.setOptions.apply(this,arguments)}translate(){return tP.translate.apply(this)}pointAttribs(){return tP.pointAttribs.apply(this,arguments)}translate3dPoints(){return tP.translate3dPoints.apply(this,arguments)}translate3dShapes(){return tP.translate3dShapes.apply(this,arguments)}afterColumnTranslate(){let t,e,s,a,o=this.yAxis,r=this.xAxis,n=r.startAngleRad,l=this.chart,h=this.xAxis.isRadial,p=Math.max(l.chartWidth,l.chartHeight)+999;function d(t){return(0,i.clamp)(t,-p,p)}this.points.forEach(p=>{let c=p.shapeArgs||{},u=this.options.minPointLength,g=p.plotY,m=o.translate(p.high,0,1,0,1);if((0,i.isNumber)(m)&&(0,i.isNumber)(g))if(p.plotHigh=d(m),p.plotLow=d(g),a=p.plotHigh,Math.abs(t=(p.rectPlotY??p.plotY)-p.plotHigh)<u?(e=u-t,t+=e,a-=e/2):t<0&&(t*=-1,a-=t),h&&this.polar)s=p.barX+n,p.shapeType="arc",p.shapeArgs=this.polar.arc(a+t,a,s,s+(p.pointWidth||0));else{c.height=t,c.y=a;let{x:e=0,width:s=0}=c;p.shapeArgs=(0,i.merge)(p.shapeArgs,this.crispCol(e,a,s,t)),p.tooltipPos=l.inverted?[o.len+o.pos-l.plotLeft-a-t/2,r.len+r.pos-l.plotTop-e-s/2,t]:[r.left-l.plotLeft+e+s/2,o.pos-l.plotTop+a+t/2,t]}})}}tM.defaultOptions=(0,i.merge)(tv.defaultOptions,tx.defaultOptions,{borderRadius:{where:"all"},pointRange:null,legendSymbol:"rectangle",marker:null,states:{hover:{halo:!1}}}),(0,i.addEvent)(tM,"afterColumnTranslate",function(){tM.prototype.afterColumnTranslate.apply(this)},{order:5}),(0,i.extend)(tM.prototype,{directTouch:!0,pointClass:tb,trackerGroups:["group","dataLabelsGroup"],adjustForMissingColumns:tP.adjustForMissingColumns,animate:tP.animate,crispCol:tP.crispCol,drawGraph:ty,drawPoints:tP.drawPoints,getSymbol:ty,drawTracker:tP.drawTracker,getColumnMetrics:tP.getColumnMetrics}),d().registerSeriesType("columnrange",tM);let{column:tL}=d().seriesTypes;class tk extends tL{translate(){let t=this.chart,e=this.options,s=this.dense=this.closestPointRange*this.xAxis.transA<2,a=this.borderWidth=e.borderWidth??+!s,o=this.yAxis,r=e.threshold,n=e.minPointLength??5,l=this.getColumnMetrics(),h=l.width,p=this.pointXOffset=l.offset,d=this.translatedThreshold=o.getThreshold(r),c=this.barW=Math.max(h,1+2*a);for(let s of(t.inverted&&(d-=.5),e.pointPadding&&(c=Math.ceil(c)),super.translate(),this.points)){let a=s.yBottom??d,u=999+Math.abs(a),g=(0,i.clamp)(s.plotY,-u,o.len+u),m=c/2,f=Math.min(g,a),b=Math.max(g,a)-f,y=s.plotX+p,x,v,P,M,L,k,w,A,N,S,T;e.centerInCategory&&(y=this.adjustForMissingColumns(y,h,s,l)),s.barX=y,s.pointWidth=h,s.tooltipPos=t.inverted?[o.len+o.pos-t.plotLeft-g,this.xAxis.len-y-m,b]:[y+m,g+o.pos-t.plotTop,b],x=r+(s.total||s.y),"percent"===e.stacking&&(x=r+(s.y<0)?-100:100);let C=o.toPixels(x,!0);P=(v=t.plotHeight-C-(t.plotHeight-d))?m*(f-C)/v:0,M=v?m*(f+b-C)/v:0,k=y-P+m,w=y+P+m,A=y+M+m,N=y-M+m,S=f-n,T=f+b,s.y<0&&(S=f,T=f+b+n),t.inverted&&(L=o.width-f,v=C-(o.width-d),P=m*(C-L)/v,M=m*(C-(L-b))/v,w=(k=y+m+P)-2*P,A=y-M+m,N=y+M+m,S=f,T=f+b-n,s.y<0&&(T=f+b+n)),s.shapeType="path",s.shapeArgs={x:k,y:S,width:w-k,height:b,d:[["M",k,S],["L",w,S],["L",A,T],["L",N,T],["Z"]]}}}}tk.defaultOptions=(0,i.merge)(tL.defaultOptions,{}),d().registerSeriesType("columnpyramid",tk);let{arearange:tw}=d().seriesTypes;class tA extends G{getColumnMetrics(){return this.linkedParent&&this.linkedParent.columnMetrics||N().prototype.getColumnMetrics.call(this)}drawDataLabels(){tw&&tw.prototype.drawDataLabels.call(this)}toYData(t){return[t.low,t.high]}}tA.defaultOptions=(0,i.merge)(G.defaultOptions,{color:"var(--highcharts-neutral-color-100)",dataLabels:{},grouping:!1,linkedTo:":previous",tooltip:{pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},whiskerWidth:null},{dataLabels:{formatter:S.formatter}}),(0,i.addEvent)(tA,"afterTranslate",function(){for(let t of this.points)t.plotLow=t.plotY},{order:0}),(0,i.extend)(tA.prototype,{pointArrayMap:["low","high"],pointValKey:"high",doQuartiles:!1}),d().registerSeriesType("errorbar",tA);let{series:{prototype:{pointClass:tN}}}=d(),{noop:tS}=h(),{series:tT,seriesTypes:{column:tC}}=d();class tX extends tT{translate(){let t=this.yAxis,e=this.options,s=t.center;this.generatePoints(),this.points.forEach(a=>{if(!(0,i.isNumber)(a.y))return;let o=(0,i.merge)(e.dial,a.dial),r=(0,i.relativeLength)(o.radius,s[2]/2),n=(0,i.relativeLength)(o.baseLength,r),l=Math.min((0,i.relativeLength)(o.rearLength,r),r),h=Math.min((0,i.relativeLength)(o.baseWidth,r),r),p=(0,i.relativeLength)(o.topWidth,r),d=(0,i.relativeLength)(o.borderRadius,r),c=Math.min(d,h/2),u=Math.min(d,p/2),g=e.wrap??t.endAngleRad-t.startAngleRad>2*Math.PI-.01,m=e.overshoot,f=t.startAngleRad+t.translate(a.y,void 0,void 0,void 0,!0);((0,i.isNumber)(m)||!g)&&(m=(0,i.isNumber)(m)?m/180*Math.PI:0,f=(0,i.clamp)(f,t.startAngleRad-m,t.endAngleRad+m)),a.tooltipPos=[s[0]+Math.cos(f)*r,s[1]+Math.sin(f)*r],f=180*f/Math.PI,a.shapeType="path",a.shapeArgs={d:o.path||[["M",c-l,-h/2],["L",n,-h/2],["L",r-u,-p/2],["A",u,u,0,0,1,r,-p/2+u],["L",r,p/2-u],["A",u,u,0,0,1,r-u,p/2],["L",n,h/2],["L",c-l,h/2],["A",c,c,0,0,1,-l,h/2-c],["L",-l,c-h/2],["A",c,c,0,0,1,c-l,-h/2],["Z"]],translateX:s[0],translateY:s[1],rotation:f},a.plotX=s[0],a.plotY=s[1],(0,i.defined)(a.y)&&t.max-t.min&&(a.percentage=(a.y-t.min)/(t.max-t.min)*100)})}drawPoints(){let t=this,e=t.chart,s=t.yAxis.center,a=t.pivot,o=t.options,r=o.pivot,n=e.renderer,l=(0,i.relativeLength)(r?.radius||0,s[2]/2);t.points.forEach(s=>{if((0,i.isNumber)(s.y)){let a=s.graphic,r=s.shapeArgs,l=r.d,h=(0,i.merge)(o.dial,s.dial);a?(a.animate(r),r.d=l):s.graphic=n[s.shapeType](r).addClass("highcharts-dial").add(t.group),!e.styledMode&&s.graphic&&s.graphic[a?"animate":"attr"]({stroke:h.borderColor,"stroke-width":h.borderWidth,fill:h.backgroundColor})}}),a?a.animate({translateX:s[0],translateY:s[1],r:l}):r&&(t.pivot=n.circle(0,0,l).attr({zIndex:2}).addClass("highcharts-pivot").translate(s[0],s[1]).add(t.group),e.styledMode||t.pivot.attr({fill:r.backgroundColor,stroke:r.borderColor,"stroke-width":r.borderWidth}))}animate(t){let e=this;t||e.points.forEach(t=>{let i=t.graphic;i&&(i.attr({rotation:180*e.yAxis.startAngleRad/Math.PI}),i.animate({rotation:t.shapeArgs.rotation},e.options.animation))})}setData(t,e){tT.prototype.setData.call(this,t,!1),this.processData(),this.generatePoints(),(e??!0)&&this.chart.redraw()}hasData(){return!!this.points.length}}tX.defaultOptions=(0,i.merge)(tT.defaultOptions,{clip:!1,color:"var(--highcharts-neutral-color-20)",dataLabels:{crop:!1,defer:!1,distance:0,enabled:!0,padding:5,verticalAlign:"top",style:{fontSize:"1.4em"},y:25,zIndex:2},dial:{backgroundColor:"var(--highcharts-neutral-color-100)",baseLength:0,baseWidth:"18%",borderColor:"var(--highcharts-neutral-color-20)",borderRadius:"9%",borderWidth:0,radius:"70%",rearLength:"9%",topWidth:"4%"},pivot:{radius:"4%",borderWidth:2,borderColor:"var(--highcharts-neutral-color-100)",backgroundColor:"var(--highcharts-background-color)"},threshold:0,tooltip:{headerFormat:""},showInLegend:!1}),(0,i.extend)(tX.prototype,{angular:!0,directTouch:!0,drawGraph:tS,drawTracker:tC.prototype.drawTracker,fixedBox:!0,forceDL:!0,noSharedTooltip:!0,pointClass:class extends tN{setState(t){this.state=t}},trackerGroups:["group","dataLabelsGroup"]}),d().registerSeriesType("gauge",tX);let tY=t.default.Color;var tE=e.n(tY);let{composed:tR}=h();function tI(){let t,e,s,a,o=this;o.container&&(t=(0,i.addEvent)(o.container,"mousedown",t=>{e&&e(),s&&s(),(a=o.hoverPoint)&&a.series&&a.series.hasDraggableNodes&&a.series.options.draggable&&(a.series.onMouseDown(a,t),e=(0,i.addEvent)(o.container,"mousemove",t=>a&&a.series&&a.series.onMouseMove(a,t)),s=(0,i.addEvent)(o.container.ownerDocument,"mouseup",t=>(e(),s(),a&&a.series&&a.series.onMouseUp(a,t))))})),(0,i.addEvent)(o,"destroy",function(){t()})}let tz={compose:function(t){(0,i.pushUnique)(tR,"DragNodes")&&(0,i.addEvent)(t,"load",tI)},onMouseDown:function(t,e){let{panKey:i}=this.chart.options.chart;if(i&&e[`${i}Key`])return;let s=this.chart.pointer?.normalize(e)||e;t.fixedPosition={chartX:s.chartX,chartY:s.chartY,plotX:t.plotX,plotY:t.plotY},t.inDragMode=!0},onMouseMove:function(t,e){if(t.fixedPosition&&t.inDragMode){let i,s,a=this.chart,o=a.pointer?.normalize(e)||e,r=t.fixedPosition.chartX-o.chartX,n=t.fixedPosition.chartY-o.chartY,l=a.graphLayoutsLookup;(Math.abs(r)>5||Math.abs(n)>5)&&(i=t.fixedPosition.plotX-r,s=t.fixedPosition.plotY-n,a.isInsidePlot(i,s)&&(t.plotX=i,t.plotY=s,t.hasDragged=!0,this.redrawHalo(t),l.forEach(t=>{t.restartSimulation()})))}},onMouseUp:function(t){t.fixedPosition&&(t.hasDragged&&(this.layout.enableSimulation?this.layout.start():this.chart.redraw()),t.inDragMode=t.hasDragged=!1,this.options.fixedDraggable||delete t.fixedPosition)},redrawHalo:function(t){t&&this.halo&&this.halo.attr({d:t.haloPath((0,i.isObject)(this.options.states?.hover?.halo)&&this.options.states?.hover?.halo.size||0)})}},{composed:tO}=h();function tD(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach(t=>{t.updateSimulation()}),this.redraw())}function tB(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach(t=>{t.updateSimulation(!1)}),this.redraw())}function tW(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach(t=>{t.stop()})}function tF(){let t,e=!1,s=i=>{i.maxIterations--&&isFinite(i.temperature)&&!i.isStable()&&!i.enableSimulation&&(i.beforeStep&&i.beforeStep(),i.step(),t=!1,e=!0)};if(this.graphLayoutsLookup&&!this.pointer?.hasDragged){for((0,i.setAnimation)(!1,this),this.graphLayoutsLookup.forEach(t=>t.start());!t;)t=!0,this.graphLayoutsLookup.forEach(s);e&&this.series.forEach(t=>{t&&t.layout&&(t.render(),(0,i.fireEvent)(t,"afterSimulation"))})}}let tH=function(t){(0,i.pushUnique)(tO,"GraphLayout")&&((0,i.addEvent)(t,"afterPrint",tD),(0,i.addEvent)(t,"beforePrint",tB),(0,i.addEvent)(t,"predraw",tW),(0,i.addEvent)(t,"render",tF))},tG={},tq={},tK=t.default.Chart;var tV=e.n(tK);let{seriesTypes:{bubble:{prototype:{pointClass:tU}}}}=d(),tj=class extends tU{destroy(){return this.series?.layout&&this.series.layout.removeElementFromCollection(this,this.series.layout.nodes),ta().prototype.destroy.apply(this,arguments)}firePointEvent(){let t=this.series.options;if(this.isParentNode&&t.parentNode){let e=t.allowPointSelect;t.allowPointSelect=t.parentNode.allowPointSelect,ta().prototype.firePointEvent.apply(this,arguments),t.allowPointSelect=e}else ta().prototype.firePointEvent.apply(this,arguments)}select(){let t=this.series.chart;this.isParentNode?(t.getSelectedPoints=t.getSelectedParentNodes,ta().prototype.select.apply(this,arguments),t.getSelectedPoints=tV().prototype.getSelectedPoints):ta().prototype.select.apply(this,arguments)}setState(t,e){this?.graphic?.parentGroup?.element&&super.setState(t,e)}},tZ={attractive:function(t,e,i){let s=t.getMass(),a=-i.x*e*this.diffTemperature,o=-i.y*e*this.diffTemperature;t.fromNode.fixedPosition||(t.fromNode.plotX-=a*s.fromNode/t.fromNode.degree,t.fromNode.plotY-=o*s.fromNode/t.fromNode.degree),t.toNode.fixedPosition||(t.toNode.plotX+=a*s.toNode/t.toNode.degree,t.toNode.plotY+=o*s.toNode/t.toNode.degree)},attractiveForceFunction:function(t,e){return(e-t)/t},barycenter:function(){let t=this.options.gravitationalConstant||0,e=(this.barycenter.xFactor-(this.box.left+this.box.width)/2)*t,i=(this.barycenter.yFactor-(this.box.top+this.box.height)/2)*t;this.nodes.forEach(function(t){t.fixedPosition||(t.plotX-=e/t.mass/t.degree,t.plotY-=i/t.mass/t.degree)})},getK:function(t){return Math.pow(t.box.width*t.box.height/t.nodes.length,.5)},integrate:function(t,e){let i=-t.options.friction,s=t.options.maxSpeed,a=e.prevX,o=e.prevY,r=(e.plotX+e.dispX-a)*i,n=(e.plotY+e.dispY-o)*i,l=Math.abs,h=l(r)/(r||1),p=l(n)/(n||1),d=h*Math.min(s,Math.abs(r)),c=p*Math.min(s,Math.abs(n));e.prevX=e.plotX+e.dispX,e.prevY=e.plotY+e.dispY,e.plotX+=d,e.plotY+=c,e.temperature=t.vectorLength({x:d,y:c})},repulsive:function(t,e,i){let s=e*this.diffTemperature/t.mass/t.degree;t.fixedPosition||(t.plotX+=i.x*s,t.plotY+=i.y*s)},repulsiveForceFunction:function(t,e){return(e-t)/t*(e>t)}},{noop:t$}=h(),t_={barycenter:function(){let t,e,i=this.options.gravitationalConstant||0,s=this.box,a=this.nodes,o=Math.sqrt(a.length);for(let r of a)if(!r.fixedPosition){let a=r.mass*o,n=r.plotX||0,l=r.plotY||0,h=r.series,p=h.parentNode;this.resolveSplitSeries(r)&&p&&!r.isParentNode?(t=p.plotX||0,e=p.plotY||0):(t=s.width/2,e=s.height/2),r.plotX=n-(n-t)*i/a,r.plotY=l-(l-e)*i/a,h.chart.hoverPoint===r&&h.redrawHalo&&h.halo&&h.redrawHalo(r)}},getK:t$,integrate:tZ.integrate,repulsive:function(t,e,i,s){let a=e*this.diffTemperature/t.mass/t.degree,o=i.x*a,r=i.y*a;t.fixedPosition||(t.plotX+=o,t.plotY+=r),s.fixedPosition||(s.plotX-=o,s.plotY-=r)},repulsiveForceFunction:function(t,e,i,s){return Math.min(t,(i.marker.radius+s.marker.radius)/2)}},tQ={attractive:function(t,e,i,s){let a=t.getMass(),o=i.x/s*e,r=i.y/s*e;t.fromNode.fixedPosition||(t.fromNode.dispX-=o*a.fromNode/t.fromNode.degree,t.fromNode.dispY-=r*a.fromNode/t.fromNode.degree),t.toNode.fixedPosition||(t.toNode.dispX+=o*a.toNode/t.toNode.degree,t.toNode.dispY+=r*a.toNode/t.toNode.degree)},attractiveForceFunction:function(t,e){return t*t/e},barycenter:function(){let t=this.options.gravitationalConstant,e=this.barycenter.xFactor,i=this.barycenter.yFactor;this.nodes.forEach(function(s){if(!s.fixedPosition){let a=s.getDegree(),o=a*(1+a/2);s.dispX+=(e-s.plotX)*t*o/s.degree,s.dispY+=(i-s.plotY)*t*o/s.degree}})},getK:function(t){return Math.pow(t.box.width*t.box.height/t.nodes.length,.3)},integrate:function(t,e){e.dispX+=e.dispX*t.options.friction,e.dispY+=e.dispY*t.options.friction;let i=e.temperature=t.vectorLength({x:e.dispX,y:e.dispY});0!==i&&(e.plotX+=e.dispX/i*Math.min(Math.abs(e.dispX),t.temperature),e.plotY+=e.dispY/i*Math.min(Math.abs(e.dispY),t.temperature))},repulsive:function(t,e,i,s){t.dispX+=i.x/s*e/t.degree,t.dispY+=i.y/s*e/t.degree},repulsiveForceFunction:function(t,e){return e*e/t}};class tJ{constructor(t){this.body=!1,this.isEmpty=!1,this.isInternal=!1,this.nodes=[],this.box=t,this.boxSize=Math.min(t.width,t.height)}divideBox(){let t=this.box.width/2,e=this.box.height/2;this.nodes[0]=new tJ({left:this.box.left,top:this.box.top,width:t,height:e}),this.nodes[1]=new tJ({left:this.box.left+t,top:this.box.top,width:t,height:e}),this.nodes[2]=new tJ({left:this.box.left+t,top:this.box.top+e,width:t,height:e}),this.nodes[3]=new tJ({left:this.box.left,top:this.box.top+e,width:t,height:e})}getBoxPosition(t){let e=t.plotX<this.box.left+this.box.width/2,i=t.plotY<this.box.top+this.box.height/2;return e?3*!i:i?1:2}insert(t,e){let i;this.isInternal?this.nodes[this.getBoxPosition(t)].insert(t,e-1):(this.isEmpty=!1,this.body?e?(this.isInternal=!0,this.divideBox(),!0!==this.body&&(this.nodes[this.getBoxPosition(this.body)].insert(this.body,e-1),this.body=!0),this.nodes[this.getBoxPosition(t)].insert(t,e-1)):((i=new tJ({top:t.plotX||NaN,left:t.plotY||NaN,width:.1,height:.1})).body=t,i.isInternal=!1,this.nodes.push(i)):(this.isInternal=!1,this.body=t))}updateMassAndCenter(){let t=0,e=0,i=0;if(this.isInternal){for(let s of this.nodes)s.isEmpty||(t+=s.mass,e+=s.plotX*s.mass,i+=s.plotY*s.mass);e/=t,i/=t}else this.body&&(t=this.body.mass,e=this.body.plotX,i=this.body.plotY);this.mass=t,this.plotX=e,this.plotY=i}}let t0=class{constructor(t,e,i,s){this.box={left:t,top:e,width:i,height:s},this.maxDepth=25,this.root=new tJ(this.box),this.root.isInternal=!0,this.root.isRoot=!0,this.root.divideBox()}calculateMassAndCenter(){this.visitNodeRecursive(null,null,function(t){t.updateMassAndCenter()})}insertNodes(t){for(let e of t)this.root.insert(e,this.maxDepth)}visitNodeRecursive(t,e,i){let s;if(t||(t=this.root),t===this.root&&e&&(s=e(t)),!1!==s){for(let a of t.nodes){if(a.isInternal){if(e&&(s=e(a)),!1===s)continue;this.visitNodeRecursive(a,e,i)}else a.body&&e&&e(a.body);i&&i(a)}t===this.root&&i&&i(t)}}},{win:t1}=h();class t2{constructor(){this.box={},this.currentStep=0,this.initialRendering=!0,this.links=[],this.nodes=[],this.series=[],this.simulation=!1}static compose(t){tH(t),tG.euler=tQ,tG.verlet=tZ,tq["reingold-fruchterman"]=t2}init(t){this.options=t,this.nodes=[],this.links=[],this.series=[],this.box={x:0,y:0,width:0,height:0},this.setInitialRendering(!0),this.integration=tG[t.integration],this.enableSimulation=t.enableSimulation,this.attractiveForce=t.attractiveForce??this.integration.attractiveForceFunction,this.repulsiveForce=t.repulsiveForce??this.integration.repulsiveForceFunction,this.approximation=t.approximation}updateSimulation(t){this.enableSimulation=t??this.options.enableSimulation}start(){let t=this.series,e=this.options;this.currentStep=0,this.forces=t[0]&&t[0].forces||[],this.chart=t[0]&&t[0].chart,this.initialRendering&&(this.initPositions(),t.forEach(function(t){t.finishedAnimating=!0,t.render()})),this.setK(),this.resetSimulation(e),this.enableSimulation&&this.step()}step(){let t=this.series;for(let t of(this.currentStep++,"barnes-hut"===this.approximation&&(this.createQuadTree(),this.quadTree.calculateMassAndCenter()),this.forces||[]))this[t+"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 e of t)e.chart&&e.render();this.maxIterations--&&isFinite(this.temperature)&&!this.isStable()?(this.simulation&&t1.cancelAnimationFrame(this.simulation),this.simulation=t1.requestAnimationFrame(()=>this.step())):(this.simulation=!1,this.series.forEach(t=>{(0,i.fireEvent)(t,"afterSimulation")}))}}stop(){this.simulation&&t1.cancelAnimationFrame(this.simulation)}setArea(t,e,i,s){this.box={left:t,top:e,width:i,height:s}}setK(){this.k=this.options.linkLength||this.integration.getK(this)}addElementsToCollection(t,e){for(let i of t)-1===e.indexOf(i)&&e.push(i)}removeElementFromCollection(t,e){let i=e.indexOf(t);-1!==i&&e.splice(i,1)}clear(){this.nodes.length=0,this.links.length=0,this.series.length=0,this.resetSimulation()}resetSimulation(){this.forcedStop=!1,this.systemTemperature=0,this.setMaxIterations(),this.setTemperature(),this.setDiffTemperature()}restartSimulation(){this.simulation?this.resetSimulation():(this.setInitialRendering(!1),this.enableSimulation?this.start():this.setMaxIterations(1),this.chart&&this.chart.redraw(),this.setInitialRendering(!0))}setMaxIterations(t){this.maxIterations=t??this.options.maxIterations}setTemperature(){this.temperature=this.startTemperature=Math.sqrt(this.nodes.length)}setDiffTemperature(){this.diffTemperature=this.startTemperature/(this.options.maxIterations+1)}setInitialRendering(t){this.initialRendering=t}createQuadTree(){this.quadTree=new t0(this.box.left,this.box.top,this.box.width,this.box.height),this.quadTree.insertNodes(this.nodes)}initPositions(){let t=this.options.initialPositions;if((0,i.isFunction)(t))for(let e of(t.call(this),this.nodes))(0,i.defined)(e.prevX)||(e.prevX=e.plotX),(0,i.defined)(e.prevY)||(e.prevY=e.plotY),e.dispX=0,e.dispY=0;else"circle"===t?this.setCircularPositions():this.setRandomPositions()}setCircularPositions(){let t,e=this.box,i=this.nodes,s=2*Math.PI/(i.length+1),a=i.filter(function(t){return 0===t.linksTo.length}),o={},r=this.options.initialPositionRadius,n=t=>{for(let e of t.linksFrom||[])o[e.toNode.id]||(o[e.toNode.id]=!0,l.push(e.toNode),n(e.toNode))},l=[];for(let t of a)l.push(t),n(t);if(l.length)for(let t of i)-1===l.indexOf(t)&&l.push(t);else l=i;for(let i=0,a=l.length;i<a;++i)(t=l[i]).plotX=t.prevX=t.plotX??e.width/2+r*Math.cos(i*s),t.plotY=t.prevY=t.plotY??e.height/2+r*Math.sin(i*s),t.dispX=0,t.dispY=0}setRandomPositions(){let t,e=this.box,i=this.nodes,s=i.length+1,a=t=>{let e=t*t/Math.PI;return e-Math.floor(e)};for(let o=0,r=i.length;o<r;++o)(t=i[o]).plotX=t.prevX=t.plotX??e.width*a(o),t.plotY=t.prevY=t.plotY??e.height*a(s+o),t.dispX=0,t.dispY=0}force(t,...e){this.integration[t].apply(this,e)}barycenterForces(){this.getBarycenter(),this.force("barycenter")}getBarycenter(){let t=0,e=0,i=0;for(let s of this.nodes)e+=s.plotX*s.mass,i+=s.plotY*s.mass,t+=s.mass;return this.barycenter={x:e,y:i,xFactor:e/t,yFactor:i/t},this.barycenter}barnesHutApproximation(t,e){let i,s,a=this.getDistXY(t,e),o=this.vectorLength(a);return t!==e&&0!==o&&(e.isInternal?e.boxSize/o<this.options.theta&&0!==o?(s=this.repulsiveForce(o,this.k),this.force("repulsive",t,s*e.mass,a,o),i=!1):i=!0:(s=this.repulsiveForce(o,this.k),this.force("repulsive",t,s*e.mass,a,o))),i}repulsiveForces(){if("barnes-hut"===this.approximation)for(let t of this.nodes)this.quadTree.visitNodeRecursive(null,e=>this.barnesHutApproximation(t,e));else{let t,e,i;for(let s of this.nodes)for(let a of this.nodes)s===a||s.fixedPosition||(i=this.getDistXY(s,a),0!==(e=this.vectorLength(i))&&(t=this.repulsiveForce(e,this.k),this.force("repulsive",s,t*a.mass,i,e)))}}attractiveForces(){let t,e,i;for(let s of this.links)s.fromNode&&s.toNode&&(t=this.getDistXY(s.fromNode,s.toNode),0!==(e=this.vectorLength(t))&&(i=this.attractiveForce(e,this.k),this.force("attractive",s,i,t,e)))}applyLimits(){for(let t of this.nodes)t.fixedPosition||(this.integration.integrate(this,t),this.applyLimitBox(t,this.box),t.dispX=0,t.dispY=0)}applyLimitBox(t,e){let s=t.radius;t.plotX=(0,i.clamp)(t.plotX,e.left+s,e.width-s),t.plotY=(0,i.clamp)(t.plotY,e.top+s,e.height-s)}coolDown(t,e,i){return t-e*i}isStable(){return 1e-5>Math.abs(this.systemTemperature-this.prevSystemTemperature)||this.temperature<=0}getSystemTemperature(){let t=0;for(let e of this.nodes)t+=e.temperature;return t}vectorLength(t){return Math.sqrt(t.x*t.x+t.y*t.y)}getDistR(t,e){let i=this.getDistXY(t,e);return this.vectorLength(i)}getDistXY(t,e){let i=t.plotX-e.plotX,s=t.plotY-e.plotY;return{x:i,y:s,absX:Math.abs(i),absY:Math.abs(s)}}}let t3=t2;function t5(){let t=this.series,e=[];return t.forEach(t=>{t.parentNode&&t.parentNode.selected&&e.push(t.parentNode)}),e}function t8(){this.allDataPoints&&delete this.allDataPoints}class t9 extends t3{constructor(){super(...arguments),this.index=NaN,this.nodes=[],this.series=[]}static compose(t){t3.compose(t),tG.packedbubble=t_,tq.packedbubble=t9;let e=t.prototype;e.getSelectedParentNodes||((0,i.addEvent)(t,"beforeRedraw",t8),e.getSelectedParentNodes=t5),e.allParentNodes||(e.allParentNodes=[])}beforeStep(){this.options.marker&&this.series.forEach(t=>{t&&t.calculateParentRadius()})}isStable(){let t=Math.abs(this.prevSystemTemperature-this.systemTemperature);return 1>Math.abs(10*this.systemTemperature/Math.sqrt(this.nodes.length))&&t<1e-5||this.temperature<=0}setCircularPositions(){let t=this.box,e=[...this.nodes,...this?.chart?.allParentNodes||[]],i=2*Math.PI/(e.length+1),s=this.options.initialPositionRadius,a,o,r=0;for(let n of e)this.resolveSplitSeries(n)&&!n.isParentNode?(a=n.series.parentNode.plotX,o=n.series.parentNode.plotY):(a=t.width/2,o=t.height/2),n.plotX=n.prevX=n.plotX??a+s*Math.cos(n.index||r*i),n.plotY=n.prevY=n.plotY??o+s*Math.sin(n.index||r*i),n.dispX=0,n.dispY=0,r++}repulsiveForces(){let{options:t,k:e}=this,{bubblePadding:i=0,seriesInteraction:s}=t,a=[...this.nodes,...this?.chart?.allParentNodes||[]];for(let t of a){let o=t.series,r=t.fixedPosition,n=(t.marker?.radius||0)+i;for(let i of(t.degree=t.mass,t.neighbors=0,a)){let a=i.series;if(t!==i&&!r&&(s||o===a)&&!(o===a&&(i.isParentNode||t.isParentNode))){let s,a=this.getDistXY(t,i),o=this.vectorLength(a)-(n+(i.marker?.radius||0));o<0&&(t.degree+=.01,s=this.repulsiveForce(-o/Math.sqrt(++t.neighbors),e,t,i)*i.mass),this.force("repulsive",t,s||0,a,i,o)}}}}resolveSplitSeries(t){let e=t.series?.options?.layoutAlgorithm?.splitSeries;return!(0,i.defined)(e)&&t.series.chart?.options?.plotOptions?.packedbubble?.layoutAlgorithm?.splitSeries||e||!1}applyLimitBox(t,e){let i,s;this.resolveSplitSeries(t)&&!t.isParentNode&&this.options.parentNodeLimit&&(i=this.getDistXY(t,t.series.parentNode),(s=t.series.parentNodeRadius-t.marker.radius-this.vectorLength(i))<0&&s>-2*t.marker.radius&&(t.plotX-=.01*i.x,t.plotY-=.01*i.y)),super.applyLimitBox(t,e)}}tq.packedbubble=t9;let t6=t.default.SVGElement;var t4=e.n(t6);let{composed:t7,deg2rad:et}=h(),{parse:ee}=tE(),{noop:ei}=h(),{series:{prototype:es},seriesTypes:{bubble:ea}}=d(),{initDataLabels:eo,initDataLabelsDefer:er}={initDataLabels:function(){let t=this.options.dataLabels;if(!this.dataLabelsGroup){let e=this.initDataLabelsGroup(0,t);return!this.chart.styledMode&&t?.style&&e.css(t.style),e.attr({opacity:0}),this.visible&&(this.options.animation&&t?.animation?e.animate({opacity:1},t.animation):e.attr({opacity:1}),e.show()),e}return this.dataLabelsGroup.attr({opacity:1,...this.getPlotBox("data-labels")}),this.dataLabelsGroup},initDataLabelsDefer:function(){let t=this.options.dataLabels;t?.defer&&this.options.layoutAlgorithm?.enableSimulation?(0,i.syncTimeout)(()=>{this.deferDataLabels=!1},t?(0,i.animObject)(t.animation).defer:0):this.deferDataLabels=!1}};a=t4(),(0,i.pushUnique)(t7,"TextPath")&&((0,i.addEvent)(a,"afterGetBBox",function(t){let e=t.bBox,i=this.element?.querySelector("textPath");if(i){let t=[],{b:s,h:a}=this.renderer.fontMetrics(this.element),o=a-s,r=RegExp('(<tspan>|<tspan(?!\\sclass="highcharts-br")[^>]*>|<\\/tspan>)',"g"),n=i.innerHTML.replace(r,"").split(/<tspan class="highcharts-br"[^>]*>/),l=n.length,h=(t,e)=>{let{x:a,y:r}=e,n=(i.getRotationOfChar(t)-90)*et,l=Math.cos(n),h=Math.sin(n);return[[a-o*l,r-o*h],[a+s*l,r+s*h]]};for(let e=0,s=0;s<l;s++){let a=n[s].length;for(let o=0;o<a;o+=5)try{let a=e+o+s,[r,n]=h(a,i.getStartPositionOfChar(a));0===o?(t.push(n),t.push(r)):(0===s&&t.unshift(n),s===l-1&&t.push(r))}catch{break}e+=a-1;try{let a=e+s,o=i.getEndPositionOfChar(a),[r,n]=h(a,o);t.unshift(n),t.unshift(r)}catch{break}}t.length&&t.push(t[0].slice()),e.polygon=t}return e}),(0,i.addEvent)(a,"beforeAddingDataLabel",function(t){let e=t.labelOptions,i=t.point,s=e[i.formatPrefix+"TextPath"]||e.textPath;s&&!e.useHTML&&(this.setTextPath(i.getDataLabelPath?.(this)||i.graphic,s),i.dataLabelPath&&!s.enabled&&(i.dataLabelPath=i.dataLabelPath.destroy()))}),a.prototype.setTextPath=a.prototype.setTextPath??function(t,e){let s=this.renderer.url,a=this.text||this,o=a.textPath,{attributes:r,enabled:n}=(0,i.merge)({enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},e);if(t=t||o&&o.path,o?.undo(),t&&n){let e=(0,i.addEvent)(a,"afterModifyTree",e=>{if(t&&n){let o=t.attr("id");o||t.attr("id",o=(0,i.uniqueKey)());let n={x:0,y:0};(0,i.defined)(r.dx)&&(n.dx=r.dx,delete r.dx),(0,i.defined)(r.dy)&&(n.dy=r.dy,delete r.dy),a.attr(n),this.attr({transform:""}),this.box&&(this.box=this.box.destroy());let l=e.nodes.slice(0);e.nodes.length=0,e.nodes[0]={tagName:"textPath",attributes:(0,i.extend)(r,{"text-anchor":r.textAnchor,href:`${s}#${o}`}),children:l}}});a.textPath={path:t,undo:e}}else a.attr({dx:0,dy:0}),delete a.textPath;return this.added&&(a.textCache="",this.renderer.buildText(a)),this});class en extends ea{constructor(){super(...arguments),this.parentNodeMass=0,this.deferDataLabels=!0}static compose(t,e,i){ea.compose(t,e,i),tz.compose(e),t9.compose(e)}accumulateAllPoints(){let t=this.chart,e=[];for(let i of t.series)if(i.is("packedbubble")&&i.reserveSpace()){let t=i.getColumn("value");for(let s=0;s<t.length;s++)e.push([null,null,t[s],i.index,s,{id:s,marker:{radius:0}}])}return e}addLayout(){let t=this.options.layoutAlgorithm=this.options.layoutAlgorithm||{},e=t.type||"packedbubble",s=this.chart.options.chart,a=this.chart.graphLayoutsStorage,o=this.chart.graphLayoutsLookup,r;a||(this.chart.graphLayoutsStorage=a={},this.chart.graphLayoutsLookup=o=[]),(r=a[e])||(t.enableSimulation=(0,i.defined)(s.forExport)?!s.forExport:t.enableSimulation,a[e]=r=new tq[e],r.init(t),o.splice(r.index,0,r)),this.layout=r,this.points.forEach(t=>{t.mass=2,t.degree=1,t.collisionNmb=1}),r.setArea(0,0,this.chart.plotWidth,this.chart.plotHeight),r.addElementsToCollection([this],r.series),r.addElementsToCollection(this.points,r.nodes)}addSeriesLayout(){let t=this.options.layoutAlgorithm=this.options.layoutAlgorithm||{},e=t.type||"packedbubble",s=this.chart.graphLayoutsStorage,a=this.chart.graphLayoutsLookup,o=(0,i.merge)(t,t.parentNodeOptions,{enableSimulation:this.layout.options.enableSimulation}),r=s[e+"-series"];r||(s[e+"-series"]=r=new tq[e],r.init(o),a.splice(r.index,0,r)),this.parentNodeLayout=r,this.createParentNodes()}calculateParentRadius(){let t=this.seriesBox();this.parentNodeRadius=(0,i.clamp)(Math.sqrt(2*this.parentNodeMass/Math.PI)+20,20,t?Math.max(Math.sqrt(Math.pow(t.width,2)+Math.pow(t.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 t=this.chart.series,e=this.options.zMin,s=this.options.zMax,a=1/0,o=-1/0;return e&&s?[e,s]:(t.forEach(t=>{t.getColumn("value").forEach(t=>{(0,i.defined)(t)&&(t>o&&(o=t),t<a&&(a=t))})}),[e=e??a,s=s??o])}checkOverlap(t,e){let i=t[0]-e[0],s=t[1]-e[1];return Math.sqrt(i*i+s*s)-Math.abs(t[2]+e[2])<-.001}createParentNodes(){let t=this.pointClass,e=this.chart,s=this.parentNodeLayout,a=this.layout.options,o,r=this.parentNode,n={radius:this.parentNodeRadius,lineColor:this.color,fillColor:ee(this.color).brighten(.4).get()};a.parentNodeOptions&&(n=(0,i.merge)(a.parentNodeOptions.marker||{},n)),this.parentNodeMass=0,this.points.forEach(t=>{this.parentNodeMass+=Math.PI*Math.pow(t.marker.radius,2)}),this.calculateParentRadius(),s.nodes.forEach(t=>{t.seriesIndex===this.index&&(o=!0)}),s.setArea(0,0,e.plotWidth,e.plotHeight),o||(r||(r=new t(this,{mass:this.parentNodeRadius/2,marker:n,dataLabels:{inside:!1},states:{normal:{marker:n},hover:{marker:n}},dataLabelOnNull:!0,degree:this.parentNodeRadius,isParentNode:!0,seriesIndex:this.index}),this.chart.allParentNodes.push(r)),this.parentNode&&(r.plotX=this.parentNode.plotX,r.plotY=this.parentNode.plotY),this.parentNode=r,s.addElementsToCollection([this],s.series),s.addElementsToCollection([r],s.nodes))}deferLayout(){let t=this.options.layoutAlgorithm;this.visible&&(this.addLayout(),t.splitSeries&&this.addSeriesLayout())}destroy(){this.chart.graphLayoutsLookup&&this.chart.graphLayoutsLookup.forEach(t=>{t.removeElementFromCollection(this,t.series)},this),this.parentNode&&this.parentNodeLayout&&(this.parentNodeLayout.removeElementFromCollection(this.parentNode,this.parentNodeLayout.nodes),this.parentNode.dataLabel&&(this.parentNode.dataLabel=this.parentNode.dataLabel.destroy())),es.destroy.apply(this,arguments)}drawDataLabels(){!this.deferDataLabels&&(es.drawDataLabels.call(this,this.points),this.parentNode&&(this.parentNode.formatPrefix="parentNode",es.drawDataLabels.call(this,[this.parentNode])))}drawGraph(){if(!this.layout||!this.layout.options.splitSeries)return;let t=this.chart,e=this.layout.options.parentNodeOptions.marker,s={fill:e.fillColor||ee(this.color).brighten(.4).get(),opacity:e.fillOpacity,stroke:e.lineColor||this.color,"stroke-width":e.lineWidth??this.options.lineWidth},a={};this.parentNodesGroup=this.plotGroup("parentNodesGroup","parentNode",this.visible?"inherit":"hidden",.1,t.seriesGroup),this.group?.attr({zIndex:2}),this.calculateParentRadius(),this.parentNode&&(0,i.defined)(this.parentNode.plotX)&&(0,i.defined)(this.parentNode.plotY)&&(0,i.defined)(this.parentNodeRadius)&&(a=(0,i.merge)({x:this.parentNode.plotX-this.parentNodeRadius,y:this.parentNode.plotY-this.parentNodeRadius,width:2*this.parentNodeRadius,height:2*this.parentNodeRadius},s),this.parentNode.graphic||(this.graph=this.parentNode.graphic=t.renderer.symbol(s.symbol).add(this.parentNodesGroup)),this.parentNode.graphic.attr(a))}drawTracker(){let t,e=this.parentNode;super.drawTracker(),e&&(t=(0,i.isArray)(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[],e.graphic&&(e.graphic.element.point=e),t.forEach(t=>{(t.div||t.element).point=e}))}getPointRadius(){let t,e,s,a,o=this.chart,r=o.plotWidth,n=o.plotHeight,l=this.options,h=l.useSimulation,p=Math.min(r,n),d={},c=[],u=o.allDataPoints||[],g=u.length;["minSize","maxSize"].forEach(t=>{let e=parseInt(l[t],10),i=/%$/.test(l[t]);d[t]=i?p*e/100:e*Math.sqrt(g)}),o.minRadius=t=d.minSize/Math.sqrt(g),o.maxRadius=e=d.maxSize/Math.sqrt(g);let m=h?this.calculateZExtremes():[t,e];u.forEach((o,r)=>{s=h?(0,i.clamp)(o[2],m[0],m[1]):o[2],0===(a=this.getRadius(m[0],m[1],t,e,s))&&(a=null),u[r][2]=a,c.push(a)}),this.radii=c}init(){return es.init.apply(this,arguments),er.call(this),this.eventsToUnbind.push((0,i.addEvent)(this,"updatedData",function(){this.chart.series.forEach(t=>{t.type===this.type&&(t.isDirty=!0)},this)})),this}onMouseUp(t){if(t.fixedPosition&&!t.removed){let e,s=this.layout,a=this.parentNodeLayout;!t.isParentNode&&a&&s.options.dragBetweenSeries&&a.nodes.forEach(a=>{t&&t.marker&&a!==t.series.parentNode&&(e=s.getDistXY(t,a),s.vectorLength(e)-a.marker.radius-t.marker.radius<0&&(a.series.addPoint((0,i.merge)(t.options,{plotX:t.plotX,plotY:t.plotY}),!1),s.removeElementFromCollection(t,s.nodes),t.remove()))}),tz.onMouseUp.apply(this,arguments)}}placeBubbles(t){let e=this.checkOverlap,i=this.positionBubble,s=[],a=1,o=0,r=0,n,l=[],h,p=t.sort((t,e)=>e[2]-t[2]);if(p.length){if(s.push([[0,0,p[0][2],p[0][3],p[0][4]]]),p.length>1)for(s.push([[0,0-p[1][2]-p[0][2],p[1][2],p[1][3],p[1][4]]]),h=2;h<p.length;h++)p[h][2]=p[h][2]||1,e(n=i(s[a][o],s[a-1][r],p[h]),s[a][0])?(s.push([]),r=0,s[a+1].push(i(s[a][o],s[a][0],p[h])),a++,o=0):a>1&&s[a-1][r+1]&&e(n,s[a-1][r+1])?(r++,s[a].push(i(s[a][o],s[a-1][r],p[h])),o++):(o++,s[a].push(n));this.chart.stages=s,this.chart.rawPositions=[].concat.apply([],s),this.resizeRadius(),l=this.chart.rawPositions}return l}pointAttribs(t,e){let i=this.options,s=t&&t.isParentNode,a=i.marker;s&&i.layoutAlgorithm&&i.layoutAlgorithm.parentNodeOptions&&(a=i.layoutAlgorithm.parentNodeOptions.marker);let o=a.fillOpacity,r=es.pointAttribs.call(this,t,e);return 1!==o&&(r["fill-opacity"]=o),r}positionBubble(t,e,i){let s=Math.asin,a=Math.acos,o=Math.pow,r=Math.abs,n=(0,Math.sqrt)(o(t[0]-e[0],2)+o(t[1]-e[1],2)),l=a((o(n,2)+o(i[2]+e[2],2)-o(i[2]+t[2],2))/(2*(i[2]+e[2])*n)),h=s(r(t[0]-e[0])/n),p=(t[1]-e[1]<0?0:Math.PI)+l+h*((t[0]-e[0])*(t[1]-e[1])<0?1:-1),d=Math.cos(p),c=Math.sin(p);return[e[0]+(e[2]+i[2])*c,e[1]-(e[2]+i[2])*d,i[2],i[3],i[4]]}render(){let t=[];es.render.apply(this,arguments),!this.options.dataLabels.allowOverlap&&(this.data.forEach(e=>{(0,i.isArray)(e.dataLabels)&&e.dataLabels.forEach(e=>{t.push(e)})}),this.options.useSimulation&&this.chart.hideOverlappingLabels(t))}resizeRadius(){let t,e,i,s,a,o=this.chart,r=o.rawPositions,n=Math.min,l=Math.max,h=o.plotLeft,p=o.plotTop,d=o.plotHeight,c=o.plotWidth;for(let o of(t=i=1/0,e=s=-1/0,r))a=o[2],t=n(t,o[0]-a),e=l(e,o[0]+a),i=n(i,o[1]-a),s=l(s,o[1]+a);let u=[e-t,s-i],g=[(c-h)/u[0],(d-p)/u[1]],m=n.apply([],g);if(Math.abs(m-1)>1e-10){for(let t of r)t[2]*=m;this.placeBubbles(r)}else o.diffY=d/2+p-i-(s-i)/2,o.diffX=c/2+h-t-(e-t)/2}seriesBox(){let t,e=this.chart,s=this.data,a=Math.max,o=Math.min,r=[e.plotLeft,e.plotLeft+e.plotWidth,e.plotTop,e.plotTop+e.plotHeight];return s.forEach(e=>{(0,i.defined)(e.plotX)&&(0,i.defined)(e.plotY)&&e.marker.radius&&(t=e.marker.radius,r[0]=o(r[0],e.plotX-t),r[1]=a(r[1],e.plotX+t),r[2]=o(r[2],e.plotY-t),r[3]=a(r[3],e.plotY+t))}),(0,i.isNumber)(r.width/r.height)?r:null}setVisible(){let t=this;es.setVisible.apply(t,arguments),t.parentNodeLayout&&t.graph?t.visible?(t.graph.show(),t.parentNode.dataLabel&&t.parentNode.dataLabel.show()):(t.graph.hide(),t.parentNodeLayout.removeElementFromCollection(t.parentNode,t.parentNodeLayout.nodes),t.parentNode.dataLabel&&t.parentNode.dataLabel.hide()):t.layout&&(t.visible?t.layout.addElementsToCollection(t.points,t.layout.nodes):t.points.forEach(e=>{t.layout.removeElementFromCollection(e,t.layout.nodes)}))}translate(){let t,e,s,a=this.chart,o=this.data,r=this.index,n=this.options.useSimulation;for(let l of(this.generatePoints(),(0,i.defined)(a.allDataPoints)||(a.allDataPoints=this.accumulateAllPoints(),this.getPointRadius()),n?s=a.allDataPoints:(s=this.placeBubbles(a.allDataPoints),this.options.draggable=!1),s))l[3]===r&&(t=o[l[4]],e=l[2]??void 0,n||(t.plotX=l[0]-a.plotLeft+a.diffX,t.plotY=l[1]-a.plotTop+a.diffY),(0,i.isNumber)(e)&&(t.marker=(0,i.extend)(t.marker,{radius:e,width:2*e,height:2*e}),t.radius=e));n&&this.deferLayout(),(0,i.fireEvent)(this,"afterTranslate")}}en.defaultOptions=(0,i.merge)(ea.defaultOptions,{minSize:"10%",maxSize:"50%",sizeBy:"area",zoneAxis:"y",crisp:!1,tooltip:{pointFormat:"Value: {point.value}"},draggable:!0,useSimulation:!0,parentNode:{allowPointSelect:!1},dataLabels:{formatter:function(){let{numberFormatter:t}=this.series.chart,{value:e}=this.point;return(0,i.isNumber)(e)?t(e,-1):""},parentNodeFormatter:function(){return this.name||""},parentNodeTextPath:{enabled:!0},padding:0,style:{transition:"opacity 2000ms"}},layoutAlgorithm:{initialPositions:"circle",initialPositionRadius:20,bubblePadding:5,parentNodeLimit:!1,seriesInteraction:!0,dragBetweenSeries:!1,parentNodeOptions:{maxIterations:400,gravitationalConstant:.03,maxSpeed:50,initialPositionRadius:100,seriesInteraction:!0,marker:{fillColor:null,fillOpacity:1,lineWidth:null,lineColor:null,symbol:"circle"}},enableSimulation:!0,type:"packedbubble",integration:"packedbubble",maxIterations:1e3,splitSeries:!1,maxSpeed:5,gravitationalConstant:.01,friction:-.981},stickyTracking:!1}),(0,i.extend)(en.prototype,{pointClass:tj,axisTypes:[],directTouch:!0,forces:["barycenter","repulsive"],hasDraggableNodes:!0,invertible:!1,isCartesian:!1,noSharedTooltip:!0,pointArrayMap:["value"],pointValKey:"value",requireSorting:!1,trackerGroups:["group","dataLabelsGroup","parentNodesGroup"],initDataLabels:eo,alignDataLabel:es.alignDataLabel,indexateNodes:ei,onMouseDown:tz.onMouseDown,onMouseMove:tz.onMouseMove,redrawHalo:tz.redrawHalo,searchPoint:ei}),d().registerSeriesType("packedbubble",en);let{noop:el}=h(),{area:eh,line:ep,scatter:ed}=d().seriesTypes;class ec extends ed{getGraphPath(){let t=ep.prototype.getGraphPath.call(this),e=t.length+1;for(;e--;)(e===t.length||"M"===t[e][0])&&e>0&&t.splice(e,0,["Z"]);return this.areaPath=t,t}drawGraph(){eh.prototype.drawGraph.call(this)}}ec.defaultOptions=(0,i.merge)(ed.defaultOptions,{fillOpacity:1,marker:{enabled:!1,states:{hover:{enabled:!1}}},stickyTracking:!1,tooltip:{followPointer:!0,pointFormat:""},trackByArea:!0,legendSymbol:"rectangle"}),(0,i.extend)(ec.prototype,{type:"polygon",drawTracker:ep.prototype.drawTracker,setStackedPoints:el}),d().registerSeriesType("polygon",ec);let eu=t.default.Series;var eg=e.n(eu);let em={circular:{gridLineWidth:1,labels:{align:void 0,x:0,y:void 0},maxPadding:0,minPadding:0,showLastLabel:!1,tickLength:0},radial:{gridLineInterpolation:"circle",gridLineWidth:1,labels:{align:"right",padding:5,x:-3,y:-2},showLastLabel:!1,title:{x:4,text:null,rotation:90}},radialGauge:{gridLineWidth:0,labels:{align:"center",distance:15,x:0,y:void 0},minorGridLineWidth:0,minorTickLength:5,minorTickPosition:"inside",minorTicksPerMajor:10,minorTickWidth:1,tickLength:void 0,tickWidth:2,tickPixelInterval:100,tickPosition:"inside",title:{rotation:0,text:""},zIndex:2}},{defaultOptions:ef}=h(),{composed:eb,noop:ey}=h();!function(t){function e(){this.autoConnect=this.isCircular&&void 0===(this.userMax??this.options.max)&&(0,i.correctFloat)(this.endAngleRad-this.startAngleRad)===(0,i.correctFloat)(2*Math.PI),!this.isCircular&&this.chart.inverted&&this.max++,this.autoConnect&&(0,i.isNumber)(this.max)&&(this.max+=this.categories&&1||this.pointRange||this.closestPointRange||0)}function s(){return()=>{if(this.isRadial&&this.tickPositions&&this.options.labels&&!0!==this.options.labels.allowOverlap)return this.tickPositions.map(t=>this.ticks[t]?.label).filter(t=>!!t)}}function a(){return ey}function o(t,e,s){let a=this.pane.center,o=t.value,r,n,l;return this.isCircular?((0,i.defined)(o)?t.point&&(t.point.shapeArgs||{}).start&&(o=this.chart.inverted?this.translate(t.point.rectPlotY,!0):t.point.x):(n=t.chartX||0,l=t.chartY||0,o=this.translate(Math.atan2(l-s,n-e)-this.startAngleRad,!0)),n=(r=this.getPosition(o)).x,l=r.y):((0,i.defined)(o)||(n=t.chartX,l=t.chartY),(0,i.defined)(n)&&(0,i.defined)(l)&&(s=a[1]+this.chart.plotTop,o=this.translate(Math.min(Math.sqrt(Math.pow(n-e,2)+Math.pow(l-s,2)),a[2]/2)-a[3]/2,!0))),[o,n||0,l||0]}function r(t,e,i){let s=this.pane.center,a=this.chart,o=this.left||0,r=this.top||0,n,l,h=e??s[2]/2-this.offset;return i??(i=this.horiz?0:this.center&&-this.center[3]/2),i&&i>0&&(h+=i),this.isCircular||void 0!==e?((l=this.chart.renderer.symbols.arc(o+s[0],r+s[1],h,h,{start:this.startAngleRad,end:this.endAngleRad,open:!0,innerR:0})).xBounds=[o+s[0]],l.yBounds=[r+s[1]-h]):(n=this.postTranslate(this.angleRad,h),l=[["M",this.center[0]+a.plotLeft,this.center[1]+a.plotTop],["L",n.x,n.y]]),l}function n(){this.constructor.prototype.getOffset.call(this);let t=this.options.offset??(this.pane.hasSeriesType("gauge")?"-20%":void 0);(0,i.defined)(t)&&(this.offset=-1*(0,i.relativeLength)(t,this.center[2]/2)),this.chart.axisOffset[this.side]=0}function l(t,e,s){let a=this.chart,o=t=>{if("string"==typeof t){let e=parseInt(t,10);return g.test(t)&&(e=e*p/100),e}return t},r=this.center,{endAngleRad:n,startAngleRad:l}=this,h=W(s.borderRadius??this.pane.options.borderRadius),p=r[2]/2,d=Math.min(this.offset||0,0),c=this.left||0,u=this.top||0,g=/%$/,m=this.isCircular,f=this.options.plotBands||[],b=f.indexOf(s),y,x,v,P,M,L,k=o(s.outerRadius)??p,w=o(s.innerRadius),A=o(s.thickness),N=!0,S=!0;if(h.radius&&"stack"===h.scope&&b>-1&&(f[b-1]&&f[b-1].to===t&&(N=!1),f[b+1]&&f[b+1].from===e&&(S=!1)),"polygon"===this.options.gridLineInterpolation)L=this.getPlotLinePath({value:t}).concat(this.getPlotLinePath({value:e,reverse:!0}));else{(0,i.isNumber)(this.min)&&(t=Math.max(t,this.min)),(0,i.isNumber)(this.max)&&(e=Math.min(e,this.max));let o=this.translate(t),p=this.translate(e);m||(k=o||0,w=p||0),(0,i.isNumber)(this.min)||(0,i.isNumber)(this.max)||s.color||s.className?"circle"!==s.shape&&m?(y=l+(o||0),x=l+(p||0)):(y=-Math.PI/2,x=1.5*Math.PI,M=!0):(y=l,x=n),k-=d,(0,i.isNumber)(A)&&(A-=d),L=a.renderer.symbols.arc(c+r[0],u+r[1],k,k,{start:Math.min(y,x),end:Math.max(y,x),innerR:w??((0,i.isNumber)(A)?k-A:this.center[3]/2),open:M,borderRadius:h.radius,brStart:N,brEnd:S}),m&&(v=(x+y)/2,P=c+r[0]+r[2]/2*Math.cos(v),L.xBounds=v>-Math.PI/2&&v<Math.PI/2?[P,a.plotWidth]:[0,P],L.yBounds=[u+r[1]+r[2]/2*Math.sin(v)],L.yBounds[0]+=v>-Math.PI&&v<0||v>Math.PI?-10:10)}return L}function p(t){let e=this.pane.center,s=this.chart,a=s.inverted,o=t.reverse,r=this.pane.options.background,n=r?(0,i.splat)(r)[0]:{},l=n.innerRadius||"0%",h=n.outerRadius||"100%",p=e[0]+s.plotLeft,d=e[1]+s.plotTop,c=this.height,u=t.isCrosshair,g=e[3]/2,m=s.time.parse(t.value)||0,f,b,y,x,v,P,M,L,k,w=this.getPosition(m,e[2]/2+(this.isCircular?this.offset:0)),A=w.x,N=w.y;if(u&&(m=(L=this.getCrosshairPosition(t,p,d))[0]||0,A=L[1],N=L[2]),this.isCircular)b=Math.sqrt(Math.pow(A-p,2)+Math.pow(N-d,2)),y="string"==typeof l?(0,i.relativeLength)(l,1):l/b,x="string"==typeof h?(0,i.relativeLength)(h,1):h/b,e&&g&&(y<(f=g/b)&&(y=f),x<f&&(x=f)),k=[["M",p+y*(A-p),d-y*(d-N)],["L",A-(1-x)*(A-p),N+(1-x)*(d-N)]];else{let t=(0,i.clamp)(this.translate(m),0,c);if("circle"===this.options.gridLineInterpolation)k=this.getLinePath(0,t,g);else if(k=[],s[a?"yAxis":"xAxis"].forEach(t=>{t.pane===this.pane&&(v=t)}),v){M=v.tickPositions,v.autoConnect&&(M=M.concat([M[0]])),o&&(M=M.slice().reverse()),t&&(t+=g);for(let e=0;e<M.length;e++)P=v.getPosition(M[e],t),k.push(e?["L",P.x,P.y]:["M",P.x,P.y])}}return k}function d(t,e){let i=this.translate(t),s=(this.center&&this.center[2]||0)/2;return this.postTranslate(this.isCircular?i:this.angleRad,(this.isCircular?e??s:"number"==typeof i&&i<0?0:i??s)-this.offset)}function c(){let t=this.center,e=this.chart,i=this.options.title;return{x:e.plotLeft+t[0]+(i.x||0),y:e.plotTop+t[1]-({high:.5,middle:.25,low:0})[i.align]*t[2]+(i.y||0)}}function u(t){t.beforeSetTickPositions=e,t.createLabelCollector=s,t.getCrosshairPosition=o,t.getLinePath=r,t.getOffset=n,t.getPlotBandPath=l,t.getPlotLinePath=p,t.getPosition=d,t.getTitlePosition=c,t.postTranslate=L,t.setAxisSize=w,t.setAxisTranslation=A,t.setOptions=N}function g(){let t=this.chart,e=this.options,i=t.angular&&this.isXAxis,s=this.pane,a=s?.options;if(!i&&s&&(t.angular||t.polar)){let i=2*Math.PI,s=a.startAngle??(t.angular?-135:0),o=(s-90)*Math.PI/180,r=((a.endAngle??s+(t.angular?270:360))-90)*Math.PI/180;this.angleRad=(e.angle||0)*Math.PI/180,this.startAngleRad=o,this.endAngleRad=r;let n=(o%i+i)%i,l=(r%i+i)%i;n>Math.PI&&(n-=i),l>Math.PI&&(l-=i),this.normalizedStartAngleRad=n,this.normalizedEndAngleRad=l}}function m(t){if(this.chart.angular){let{options:e,pane:i}=this;i.hasSeriesType("gauge")&&(t.tickSize=[e[`${t.prefix}Length`]??10,e[`${t.prefix}Width`]??1],"inside"===e[`${t.prefix}Position`]&&(t.tickSize[0]*=-1))}}function f(t){this.isRadial&&(t.align=void 0,t.preventDefault())}function b(){if(this.chart?.labelCollectors){let t=this.labelCollector?this.chart.labelCollectors.indexOf(this.labelCollector):-1;t>=0&&this.chart.labelCollectors.splice(t,1)}}function y(t){let e,i=this.chart,s=i.angular,o=i.polar,r=this.isXAxis,n=this.coll,l=t.userOptions.pane||0,h=this.pane=i.pane&&i.pane[l];if("colorAxis"===n){this.isRadial=!1;return}if(s){if(s&&r)this.isHidden=!0,this.createLabelCollector=a,this.getOffset=ey,this.redraw=k,this.render=k,this.setCategories=ey,this.setTitle=ey;else u(this);e=!r}else o&&(u(this),e=this.horiz);s||o?(this.isRadial=!0,this.labelCollector||(this.labelCollector=this.createLabelCollector()),this.labelCollector&&i.labelCollectors.push(this.labelCollector)):this.isRadial=!1,h&&e&&(h.axis=this),this.isCircular=e}function x(){this.isRadial&&this.beforeSetTickPositions?.()}function v(t){let e=this.label;if(!e)return;let s=this.axis,a=e.getBBox(),o=s.options.labels,r=(s.translate(this.pos)+s.startAngleRad+Math.PI/2)/Math.PI*180%360,n=Math.round(r),l=(0,i.defined)(o.y)?0:-(.3*a.height),h=o.y,p,d=20,c=o.align,u="end",g=n<0?n+360:n,m=g,f=0,b=0;s.isRadial&&(p=s.getPosition(this.pos,s.center[2]/2+(0,i.relativeLength)(o.distance??-25,s.center[2]/2)+s.offset),"auto"===o.rotation?e.attr({rotation:r}):(0,i.defined)(h)||(h=s.chart.renderer.fontMetrics(e).b-a.height/2),(0,i.defined)(c)||(s.isCircular?(a.width>s.len*s.tickInterval/(s.max-s.min)&&(d=0),c=r>d&&r<180-d?"left":r>180+d&&r<360-d?"right":"center"):c="center",e.attr({align:c})),"auto"===c&&2===s.tickPositions.length&&s.isCircular&&(g>90&&g<180?g=180-g:g>270&&g<=360&&(g=540-g),m>180&&m<=360&&(m=360-m),(s.pane.options.startAngle===n||s.pane.options.startAngle===n+360||s.pane.options.startAngle===n-360)&&(u="start"),c=n>=-90&&n<=90||n>=-360&&n<=-270||n>=270&&n<=360?"start"===u?"right":"left":"start"===u?"left":"right",m>70&&m<110&&(c="center"),g<15||g>=180&&g<195?f=.3*a.height:g>=15&&g<=35?f="start"===u?0:.75*a.height:g>=195&&g<=215?f="start"===u?.75*a.height:0:g>35&&g<=90?f="start"===u?-(.25*a.height):a.height:g>215&&g<=270&&(f="start"===u?a.height:-(.25*a.height)),m<15?b="start"===u?-(.15*a.height):.15*a.height:m>165&&m<=180&&(b="start"===u?.15*a.height:-(.15*a.height)),e.attr({align:c}),e.translate(b,f+l)),t.pos.x=p.x+(o.x||0),t.pos.y=p.y+(h||0))}function P(t){this.axis.getPosition&&(0,i.extend)(t.pos,this.axis.getPosition(this.pos))}function M({options:e}){e.xAxis&&(0,i.merge)(!0,t.radialDefaultOptions.circular,e.xAxis),e.yAxis&&(0,i.merge)(!0,t.radialDefaultOptions.radialGauge,e.yAxis)}function L(t,e){let i=this.chart,s=this.center;return t=this.startAngleRad+t,{x:i.plotLeft+s[0]+Math.cos(t)*e,y:i.plotTop+s[1]+Math.sin(t)*e}}function k(){this.isDirty=!1}function w(){let t,e;this.constructor.prototype.setAxisSize.call(this),this.isRadial&&(this.pane.updateCenter(),t=this.center=this.pane.center.slice(),this.isCircular?(this.sector=this.endAngleRad-this.startAngleRad,this.len=this.width=this.height=t[2]*this.sector/2):(e=this.postTranslate(this.angleRad,t[3]/2),t[0]=e.x-this.chart.plotLeft,t[1]=e.y-this.chart.plotTop,this.len=this.width=this.height=(t[2]-t[3])/2))}function A(){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 N(e){let{coll:s}=this,{angular:a,inverted:o,polar:r}=this.chart,n={};a?this.isXAxis||(n=(0,i.merge)(ef.yAxis,t.radialDefaultOptions.radialGauge)):r&&(n=this.horiz?(0,i.merge)(ef.xAxis,t.radialDefaultOptions.circular):(0,i.merge)("xAxis"===s?ef.xAxis:ef.yAxis,t.radialDefaultOptions.radial)),o&&"yAxis"===s&&(n.stackLabels=(0,i.isObject)(ef.yAxis,!0)?ef.yAxis.stackLabels:{},n.reversedStacks=!0);let l=this.options=(0,i.merge)(n,e);l.plotBands||(l.plotBands=[]),(0,i.fireEvent)(this,"afterSetOptions")}function S(t){return!(0,i.defined)(this.options.minorTicks)&&this.pane.hasSeriesType("gauge")?"auto":t.apply(this,Array.prototype.slice.call(arguments,1))}function T(t,e,i,s,a,o,r){let n,l=this.axis;return l.isRadial?["M",e,i,"L",(n=l.getPosition(this.pos,l.center[2]/2+s)).x,n.y]:t.call(this,e,i,s,a,o,r)}t.radialDefaultOptions=(0,i.merge)(em),t.compose=function(t,e){return(0,i.pushUnique)(eb,"Axis.Radial")&&((0,i.addEvent)(t,"afterInit",g),(0,i.addEvent)(t,"afterTickSize",m),(0,i.addEvent)(t,"autoLabelAlign",f),(0,i.addEvent)(t,"destroy",b),(0,i.addEvent)(t,"init",y),(0,i.addEvent)(t,"initialAxisTranslation",x),(0,i.addEvent)(e,"afterGetLabelPosition",v),(0,i.addEvent)(e,"afterGetPosition",P),(0,i.addEvent)(h(),"setOptions",M),(0,i.wrap)(t.prototype,"getMinorTickInterval",S),(0,i.wrap)(e.prototype,"getMarkPath",T)),t}}(n||(n={}));let ex=n,{defaultOptions:ev}=h(),{composed:eP}=h();function eM(){(this.pane||[]).forEach(t=>{t.render()})}function eL(t){let e=t.args[0].xAxis,i=t.args[0].yAxis,s=t.args[0].chart;e&&i&&("polygon"===i.gridLineInterpolation?(e.startOnTick=!0,e.endOnTick=!0):"polygon"===e.gridLineInterpolation&&s.inverted&&(i.startOnTick=!0,i.endOnTick=!0))}function ek(){this.pane||(this.pane=[]),this.options.pane=(0,i.splat)(this.options.pane||{}),(0,i.splat)(this.userOptions.pane||{}).forEach(t=>{new M(t,this)},this)}function ew(t){let e=t.args.marker,i=this.chart.xAxis[0],s=this.chart.yAxis[0],a=this.chart.inverted,o=a?s:i,r=a?i:s;if(this.chart.polar){t.preventDefault();let i=(e.attr?e.attr("start"):e.start)-o.startAngleRad,s=e.attr?e.attr("r"):e.r,a=(e.attr?e.attr("end"):e.end)-o.startAngleRad,n=e.attr?e.attr("innerR"):e.innerR;t.result.x=i+o.pos,t.result.width=a-i,t.result.y=r.len+r.pos-s,t.result.height=s-n}}function eA(t){let e=this.chart;if(e.polar&&e.hoverPane&&e.hoverPane.axis){t.preventDefault();let i=e.hoverPane.center,s=e.mouseDownX||0,a=e.mouseDownY||0,o=t.args.chartY,r=t.args.chartX,n=2*Math.PI,l=e.hoverPane.axis.startAngleRad,h=e.hoverPane.axis.endAngleRad,p=e.inverted?e.xAxis[0]:e.yAxis[0],d={},c="arc";if(d.x=i[0]+e.plotLeft,d.y=i[1]+e.plotTop,this.zoomHor){let t=l>0?h-l:Math.abs(l)+Math.abs(h),u=Math.atan2(a-e.plotTop-i[1],s-e.plotLeft-i[0])-l,g=Math.atan2(o-e.plotTop-i[1],r-e.plotLeft-i[0])-l;d.r=i[2]/2,d.innerR=i[3]/2,u<=0&&(u+=n),g<=0&&(g+=n),g<u&&(g=[u,u=g][0]),t<n&&l+g>h+(n-t)/2&&(g=u,u=l<=0?l:0);let m=d.start=Math.max(u+l,l),f=d.end=Math.min(g+l,h);if("polygon"===p.options.gridLineInterpolation){let t=e.hoverPane.axis,s=m-t.startAngleRad+t.pos,a=p.getPlotLinePath({value:p.max}),o=t.toValue(s),r=t.toValue(s+(f-m));if(o<t.getExtremes().min){let{min:e,max:i}=t.getExtremes();o=i-(e-o)}if(r<t.getExtremes().min){let{min:e,max:i}=t.getExtremes();r=i-(e-r)}r<o&&(r=[o,o=r][0]),(a=eX(a,o,r,t)).push(["L",i[0]+e.plotLeft,e.plotTop+i[1]]),d.d=a,c="path"}}if(this.zoomVert){let t=e.inverted?e.xAxis[0]:e.yAxis[0],n=Math.sqrt(Math.pow(s-e.plotLeft-i[0],2)+Math.pow(a-e.plotTop-i[1],2)),p=Math.sqrt(Math.pow(r-e.plotLeft-i[0],2)+Math.pow(o-e.plotTop-i[1],2));if(p<n&&(n=[p,p=n][0]),p>i[2]/2&&(p=i[2]/2),n<i[3]/2&&(n=i[3]/2),this.zoomHor||(d.start=l,d.end=h),d.r=p,d.innerR=n,"polygon"===t.options.gridLineInterpolation){let e=t.toValue(t.len+t.pos-n),i=t.toValue(t.len+t.pos-p);d.d=t.getPlotLinePath({value:i}).concat(t.getPlotLinePath({value:e,reverse:!0})),c="path"}}if(this.zoomHor&&this.zoomVert&&"polygon"===p.options.gridLineInterpolation){let t=e.hoverPane.axis,i=d.start||0,s=d.end||0,a=i-t.startAngleRad+t.pos,o=t.toValue(a),r=t.toValue(a+(s-i));if(d.d instanceof Array){let t=d.d.slice(0,d.d.length/2),i=d.d.slice(d.d.length/2,d.d.length);i=[...i].reverse();let s=e.hoverPane.axis;t=eX(t,o,r,s),(i=eX(i,o,r,s))&&(i[0][0]="L"),i=[...i].reverse(),d.d=t.concat(i),c="path"}}t.attrs=d,t.shapeType=c}}function eN(){let t=this.chart;t.polar&&(this.polar=new eF(this),t.inverted&&(this.isRadialSeries=!0,this.is("column")&&(this.isRadialBar=!0)))}function eS(){let{chart:t,options:e,yAxis:s}=this;if(e.borderRadius&&t.polar&&t.inverted){let t=ev.plotOptions?.[this.type]?.borderRadius,{scope:a,where:o="end"}=W(e.borderRadius,(0,i.isObject)(t)?t:{});for(let t of this.points){let{shapeArgs:i}=t;if("arc"===t.shapeType&&i){let r="all"===o,n=!0;e.stacking&&"stack"===a&&(r=t.stackY===t.y&&"all"===o,n=t.stackY===t.stackTotal),s.reversed&&([r,n]=[n,r]),i.brStart=r,i.brEnd=n}}}}function eT(){if(this.chart.polar&&this.xAxis){let{xAxis:t,yAxis:e}=this,s=this.chart;this.kdByAngle=s.tooltip&&s.tooltip.shared,this.kdByAngle||s.inverted?this.searchPoint=eC:this.options.findNearestPointBy="xy";let a=this.points,o=a.length;for(;o--;)this.is("column")||this.is("columnrange")||this.polar.toXY(a[o]),s.hasParallelCoordinates||this.yAxis.reversed||((a[o].y??5e-324)<e.min||a[o].x<t.min||a[o].x>t.max?(a[o].isNull=!0,a[o].plotY=NaN):a[o].isNull=a[o].isValid&&!a[o].isValid());this.hasClipCircleSetter||(this.hasClipCircleSetter=!!this.eventsToUnbind.push((0,i.addEvent)(this,"afterRender",function(){let t;if(s.polar&&!1!==this.options.clip){if(t=this.yAxis.pane.center,this.clipCircle)this.clipCircle.animate({x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2});else{var e,a,o,r,n;let l,h,p;this.clipCircle=(e=s.renderer,a=t[0],o=t[1],r=t[2]/2,n=t[3]/2,l=(0,i.uniqueKey)(),h=e.createElement("clipPath").attr({id:l}).add(e.defs),(p=n?e.arc(a,o,r,n,0,2*Math.PI).add(h):e.circle(a,o,r).add(h)).id=l,p.clipPath=h,p)}this.group.clip(this.clipCircle),this.setClip=h().noop}})))}}function eC(t){let e=this.chart,i=this.xAxis,s=this.yAxis,a=i.pane&&i.pane.center,o=t.chartX-(a&&a[0]||0)-e.plotLeft,r=t.chartY-(a&&a[1]||0)-e.plotTop,n=e.inverted?{clientX:t.chartX-s.pos,plotY:t.chartY-i.pos}:{clientX:180+-180/Math.PI*Math.atan2(o,r)};return this.searchKDTree(n)}function eX(t,e,s,a){let o=a.tickInterval,r=a.tickPositions,n=(0,i.find)(r,t=>t>=s),l=(0,i.find)([...r].reverse(),t=>t<=e);return(0,i.defined)(n)||(n=r[r.length-1]),(0,i.defined)(l)||(l=r[0],n+=o,t[0][0]="L",t.unshift(t[t.length-3])),(t=t.slice(r.indexOf(l),r.indexOf(n)+1))[0][0]="M",t}function eY(t,e){return(0,i.find)(this.pane||[],t=>t.options.id===e)||t.call(this,e)}function eE(t,e,s,a,o,r){let n,l,h,p=this.chart,d=a.inside??!!this.options.stacking;if(p.polar){if(n=e.rectPlotX/Math.PI*180,p.inverted)this.forceDL=p.isInsidePlot(e.plotX,e.plotY),d&&e.shapeArgs?(l=e.shapeArgs,h=this.yAxis.postTranslate(((l.start||0)+(l.end||0))/2-this.xAxis.startAngleRad,e.barX+(e.pointWidth||0)/2),o=(0,i.merge)(o,{x:h.x-p.plotLeft,y:h.y-p.plotTop})):e.tooltipPos&&(o=(0,i.merge)(o,{x:e.tooltipPos[0],y:e.tooltipPos[1]})),a.align=a.align??"center",a.verticalAlign=a.verticalAlign??"middle";else{var c;null===(c=a).align&&(c.align=n>20&&n<160?"left":n>200&&n<340?"right":"center"),null===c.verticalAlign&&(c.verticalAlign=n<45||n>315?"bottom":n>135&&n<225?"top":"middle"),a=c}eg().prototype.alignDataLabel.call(this,e,s,a,o,r),this.isRadialBar&&e.shapeArgs&&e.shapeArgs.start===e.shapeArgs.end?s.hide():s.show()}else t.call(this,e,s,a,o,r)}function eR(){let{chart:t,options:e,xAxis:s,yAxis:a}=this,o=e.stacking,{center:r,reversed:n}=a,{endAngleRad:l,startAngleRad:h}=s,p=l-h,d=e.threshold,c=0,u,g,m,f,b,y=0,x=0,v,P,M,L,k,w,A,N;if(s.isRadial)for(m=(u=this.points).length,f=a.translate(a.min),b=a.translate(a.max),d=e.threshold||0,t.inverted&&(0,i.isNumber)(d)&&(c=a.translate(d),(0,i.defined)(c)&&(c<0?c=0:c>p&&(c=p),this.translatedThreshold=c+h));m--;){if(w=(g=u[m]).barX,P=g.x,M=g.y,g.shapeType="arc",t.inverted){g.plotY=a.translate(M),o&&a.stacking?(k=a.stacking.stacks[(M<0?"-":"")+this.stackKey],this.visible&&k&&k[P]&&!g.isNull&&(L=k[P].points[this.getStackIndicator(void 0,P,this.index).key],y=a.translate(L[0]),x=a.translate(L[1]),(0,i.defined)(y)&&(y=(0,i.clamp)(y,0,p)))):(y=c,x=g.plotY),y>x&&(x=[y,y=x][0]),n?x>f?x=f:y<b?y=b:(y>f||x<b)&&(y=x=p):y<f?y=f:x>b?x=b:(x<f||y>b)&&(y=x=0),a.min>a.max&&(y=x=n?p:0),y+=h,x+=h,r&&(g.barX=w+=r[3]/2),A=Math.max(w,0),N=Math.max(w+(g.pointWidth||0),0);let t=W(e.borderRadius),s=(0,i.relativeLength)(t.radius,N-A);g.shapeArgs={x:r[0],y:r[1],r:N,innerR:A,start:y,end:x,borderRadius:s},g.opacity=y===x?0:void 0,g.plotY=((0,i.defined)(this.translatedThreshold)&&(y<this.translatedThreshold?y:x))-h}else y=w+h,g.shapeArgs=this.polar.arc(g.yBottom,g.plotY,y,y+(g.pointWidth||0)),g.shapeArgs.borderRadius=0;this.polar.toXY(g),t.inverted?(v=a.postTranslate(g.rectPlotY,w+(g.pointWidth||0)/2),g.tooltipPos=[v.x-t.plotLeft,v.y-t.plotTop]):g.tooltipPos=[g.plotX,g.plotY],r&&(g.ttBelow=g.plotY>r[1])}}function eI(t,e){let i,s,a=this;if(this.chart.polar){e=e||this.points;for(let t=0;t<e.length;t++)if(!e[t].isNull){i=t;break}!1!==this.options.connectEnds&&void 0!==i&&(this.connectEnds=!0,e.splice(e.length,0,e[i]),s=!0),e.forEach(t=>{void 0===t.polarPlotY&&a.polar.toXY(t)})}let o=t.apply(this,[].slice.call(arguments,1));return s&&e.pop(),o}function ez(t,e){let i=this.chart,s={xAxis:[],yAxis:[]};return i.polar?i.axes.forEach(t=>{if("colorAxis"===t.coll)return;let a=t.isXAxis,o=t.center,r=e.chartX-o[0]-i.plotLeft,n=e.chartY-o[1]-i.plotTop;s[a?"xAxis":"yAxis"].push({axis:t,value:t.translate(a?Math.PI-Math.atan2(r,n):Math.sqrt(Math.pow(r,2)+Math.pow(n,2)),!0)})}):s=t.call(this,e),s}function eO(t,e){this.chart.polar||t.call(this,e)}function eD(t,e){let s=this,a=this.chart,o=this.group,r=this.markerGroup,n=this.xAxis&&this.xAxis.center,l=a.plotLeft,p=a.plotTop,d=this.options.animation,c,u,g,m,f,b;a.polar?s.isRadialBar?e||(s.startAngleRad=s.translatedThreshold??s.xAxis.startAngleRad,h().seriesTypes.pie.prototype.animate.call(s,e)):(d=(0,i.animObject)(d),s.is("column")?e||(u=n[3]/2,s.points.forEach(t=>{g=t.graphic,f=(m=t.shapeArgs)&&m.r,b=m&&m.innerR,g&&m&&(g.attr({r:u,innerR:u}),g.animate({r:f,innerR:b},s.options.animation))})):e?(c={translateX:n[0]+l,translateY:n[1]+p,scaleX:.001,scaleY:.001},o.attr(c),r&&r.attr(c)):(c={translateX:l,translateY:p,scaleX:1,scaleY:1},o.animate(c,d),r&&r.animate(c,d))):t.call(this,e)}function eB(t,e,s,a){let o,r;if(this.chart.polar)if(a){let t=(r=function t(e,i,s,a){let o,r,n,l,h,p,d=+!!a,c=(o=i>=0&&i<=e.length-1?i:i<0?e.length-1+i:0)-1<0?e.length-(1+d):o-1,u=o+1>e.length-1?d:o+1,g=e[c],m=e[u],f=g.plotX,b=g.plotY,y=m.plotX,x=m.plotY,v=e[o].plotX,P=e[o].plotY;r=(1.5*v+f)/2.5,n=(1.5*P+b)/2.5,l=(1.5*v+y)/2.5,h=(1.5*P+x)/2.5;let M=Math.sqrt(Math.pow(r-v,2)+Math.pow(n-P,2)),L=Math.sqrt(Math.pow(l-v,2)+Math.pow(h-P,2)),k=Math.atan2(n-P,r-v);p=Math.PI/2+(k+Math.atan2(h-P,l-v))/2,Math.abs(k-p)>Math.PI/2&&(p-=Math.PI),r=v+Math.cos(p)*M,n=P+Math.sin(p)*M;let w={rightContX:l=v+Math.cos(Math.PI+p)*L,rightContY:h=P+Math.sin(Math.PI+p)*L,leftContX:r,leftContY:n,plotX:v,plotY:P};return s&&(w.prevPointCont=t(e,c,!1,a)),w}(e,a,!0,this.connectEnds)).prevPointCont&&r.prevPointCont.rightContX,s=r.prevPointCont&&r.prevPointCont.rightContY;o=["C",(0,i.isNumber)(t)?t:r.plotX,(0,i.isNumber)(s)?s:r.plotY,(0,i.isNumber)(r.leftContX)?r.leftContX:r.plotX,(0,i.isNumber)(r.leftContY)?r.leftContY:r.plotY,r.plotX,r.plotY]}else o=["M",s.plotX,s.plotY];else o=t.call(this,e,s,a);return o}function eW(t,e,s=this.plotX,a=this.plotY){let{series:o}=this,{chart:r}=o||{};return r?.polar&&(0,i.isNumber)(s)&&(0,i.isNumber)(a)?[s+(e?r.plotLeft:0),a+(e?r.plotTop:0)]:t.call(this,e,s,a)}class eF{static compose(t,e,s,a,o,r,n,l,h,p){if(M.compose(e,s),ex.compose(t,o),(0,i.pushUnique)(eP,"Polar")){let t=e.prototype,o=r.prototype,d=s.prototype,c=a.prototype;if((0,i.addEvent)(e,"afterDrawChartBox",eM),(0,i.addEvent)(e,"createAxes",ek),(0,i.addEvent)(e,"init",eL),(0,i.wrap)(t,"get",eY),(0,i.wrap)(d,"getCoordinates",ez),(0,i.wrap)(d,"pinch",eO),(0,i.addEvent)(s,"getSelectionMarkerAttrs",eA),(0,i.addEvent)(s,"getSelectionBox",ew),(0,i.addEvent)(a,"afterInit",eN),(0,i.addEvent)(a,"afterColumnTranslate",eS,{order:9}),(0,i.addEvent)(a,"afterTranslate",eT,{order:2}),(0,i.addEvent)(a,"afterColumnTranslate",eR,{order:4}),(0,i.wrap)(c,"animate",eD),(0,i.wrap)(o,"pos",eW),l){let t=l.prototype;(0,i.wrap)(t,"alignDataLabel",eE),(0,i.wrap)(t,"animate",eD)}if(h){let t=h.prototype;(0,i.wrap)(t,"getGraphPath",eI)}if(p){let t=p.prototype;(0,i.wrap)(t,"getPointSpline",eB),n&&(n.prototype.getPointSpline=t.getPointSpline)}}}constructor(t){this.series=t}arc(t,e,i,s){let a=this.series,o=a.xAxis.center,r=a.yAxis.len,n=o[3]/2,l=r-e+n,h=r-(t??r)+n;return a.yAxis.reversed&&(l<0&&(l=n),h<0&&(h=n)),{x:o[0],y:o[1],r:l,innerR:h,start:i,end:s}}toXY(t){let e=this.series,s=e.chart,a=e.xAxis,o=e.yAxis,r=t.plotX,n=s.inverted,l=t.y,h=t.plotY,p=n?r:o.len-h,d;if(n&&e&&!e.isRadialBar&&(t.plotY=h=(0,i.isNumber)(l)?o.translate(l):0),t.rectPlotX=r,t.rectPlotY=h,o.center&&(p+=o.center[3]/2),(0,i.isNumber)(h)){let e=n?o.postTranslate(h,p):a.postTranslate(r,p);t.plotX=t.polarPlotX=e.x-s.plotLeft,t.plotY=t.polarPlotY=e.y-s.plotTop}e.kdByAngle?((d=(r/Math.PI*180+(a.pane.options.startAngle||0))%360)<0&&(d+=360),t.clientX=d):t.clientX=t.plotX}}let eH=t.default.StackItem;var eG=e.n(eH);let{composed:eq}=h();!function(t){function e(){let t=this.waterfall?.stacks;t&&(t.changed=!1,delete t.alreadyChanged)}function s(){let t=this.options.stackLabels;t?.enabled&&this.waterfall?.stacks&&this.waterfall.renderStackTotals()}function a(){this.waterfall||(this.waterfall=new r(this))}function o(){let t=this.axes;for(let e of this.series)if(e.options.stacking){for(let e of t)!e.isXAxis&&e.waterfall&&(e.waterfall.stacks.changed=!0);break}}t.compose=function(t,r){(0,i.pushUnique)(eq,"Axis.Waterfall")&&((0,i.addEvent)(t,"init",a),(0,i.addEvent)(t,"afterBuildStacks",e),(0,i.addEvent)(t,"afterRender",s),(0,i.addEvent)(r,"beforeRedraw",o))};class r{constructor(t){this.axis=t,this.stacks={changed:!1}}renderStackTotals(){let t=this.axis,e=t.waterfall?.stacks,s=t.stacking?.stackTotalGroup,a=new(eG())(t,t.options.stackLabels||{},!1,0,void 0);this.dummyStackItem=a,s&&(0,i.objectEach)(e,t=>{(0,i.objectEach)(t,(t,e)=>{a.total=t.stackTotal,a.x=+e,t.label&&(a.label=t.label),eG().prototype.render.call(a,s),t.label=a.label,delete a.label})}),a.total=null}}t.Composition=r}(l||(l={}));let eK=l;class eV extends N().prototype.pointClass{getClassName(){let t=ta().prototype.getClassName.call(this);return this.isSum?t+=" highcharts-sum":this.isIntermediateSum&&(t+=" highcharts-intermediate-sum"),t}isValid(){return(0,i.isNumber)(this.y)||this.isSum||!!this.isIntermediateSum}}let{column:eU,line:ej}=d().seriesTypes;function eZ(t,e){return Object.hasOwnProperty.call(t,e)}class e$ extends eU{generatePoints(){eU.prototype.generatePoints.apply(this);let t=this.getColumn("y",!0);for(let e=0,s=this.points.length;e<s;e++){let s=this.points[e],a=t[e];(0,i.isNumber)(a)&&(s.isIntermediateSum||s.isSum)&&(s.y=(0,i.correctFloat)(a))}}processData(t){let e,s,a,o,r,n=this.options,l=this.getColumn("y"),h=this.getColumn("isSum"),p=this.getColumn("isIntermediateSum"),d=l.length,c=n.threshold||0;s=e=a=o=0;for(let t=0;t<d;t++)"sum"===(r=l[t])||h[t]?l[t]=(0,i.correctFloat)(s):"intermediateSum"===r||p[t]?(l[t]=(0,i.correctFloat)(e),e=0):(s+=r,e+=r),a=Math.min(s,a),o=Math.max(s,o);super.processData.call(this,t),n.stacking||(this.dataMin=a+c,this.dataMax=o)}toYData(t){return t.isSum?"sum":t.isIntermediateSum?"intermediateSum":t.y}pointAttribs(t,e){let s=this.options.upColor;s&&t&&!t.options.color&&(0,i.isNumber)(t.y)&&(t.color=t.y>0?s:void 0);let a=eU.prototype.pointAttribs.call(this,t,e);return delete a.dashstyle,a}getGraphPath(){return this.graph?.pathArray||[["M",0,0]]}getCrispPath(){let t=this.points.filter(t=>(0,i.isNumber)(t.y)),e=this.yAxis,s=t.length,a=this.graph?.strokeWidth()||0,o=this.xAxis.reversed,r=this.yAxis.reversed,n=this.options.stacking,l=[];for(let h=1;h<s;h++){if(!(this.options.connectNulls||(0,i.isNumber)(this.data[t[h].index-1].y)))continue;let s=t[h].box,p=t[h-1],d=p.y||0,c=t[h-1].box;if(!s||!c)continue;let u=e.waterfall?.stacks[this.stackKey],g=d>0?-c.height:0;if(u&&c&&s){let t,d=u[h-1];t=n?(0,i.crisp)(e.translate(d.connectorThreshold||0,!1,!0,!1,!0)+(r?g:0),a):(0,i.crisp)(c.y+(p.minPointLengthOffset||0),a),l.push(["M",(c.x||0)+(o?0:c.width||0),t],["L",(s.x||0)+(o&&s.width||0),t])}if(c&&l.length&&(!n&&d<0&&!r||d>0&&r)){let t=l[l.length-2];t&&"number"==typeof t[2]&&(t[2]+=c.height||0);let e=l[l.length-1];e&&"number"==typeof e[2]&&(e[2]+=c.height||0)}}return l}drawGraph(){ej.prototype.drawGraph.call(this),this.graph?.animate({d:this.getCrispPath()})}setStackedPoints(t){let e=this.options,s=t.waterfall?.stacks,a=e.threshold||0,o=this.stackKey,r=this.getColumn("x"),n=this.getColumn("y"),l=r.length,h=a,p=h,d,c=0,u=0,g=0,m,f,b,y,x,v,P,M,L=(t,e,i,s)=>{if(d){if(m)for(;i<m;i++)d.stackState[i]+=s;else d.stackState[0]=t,m=d.stackState.length;d.stackState.push(d.stackState[m-1]+e)}};if(t.stacking&&s&&this.reserveSpace()){M=s.changed,(P=s.alreadyChanged)&&0>P.indexOf(o)&&(M=!0),s[o]||(s[o]={});let t=s[o];if(t)for(let s=0;s<l;s++)(!t[v=r[s]]||M)&&(t[v]={negTotal:0,posTotal:0,stackTotal:0,threshold:0,stateIndex:0,stackState:[],label:M&&t[v]?t[v].label:void 0}),d=t[v],(x=n[s])>=0?d.posTotal+=x:d.negTotal+=x,y=e.data?.[s],f=d.absolutePos=d.posTotal,b=d.absoluteNeg=d.negTotal,d.stackTotal=f+b,m=d.stackState.length,(0,i.isObject)(y,!0)&&y.isIntermediateSum?(L(g,u,0,g),g=u,u=a,h^=p,p^=h,h^=p):(0,i.isObject)(y,!0)&&y.isSum?(L(a,c,m,0),h=a):(L(h,x,0,c),y&&(c+=x,u+=x)),d.stateIndex++,d.threshold=h,h+=d.stackTotal;s.changed=!1,s.alreadyChanged||(s.alreadyChanged=[]),s.alreadyChanged.push(o)}}getExtremes(){let t,e,s=this.options.stacking,a=this.yAxis,o=a.waterfall?.stacks;return s&&o?(t=this.stackedYNeg=[],e=this.stackedYPos=[],"overlap"===s?(0,i.objectEach)(o[this.stackKey],function(s){t.push((0,i.arrayMin)(s.stackState)),e.push((0,i.arrayMax)(s.stackState))}):(0,i.objectEach)(o[this.stackKey],function(i){t.push(i.negTotal+i.threshold),e.push(i.posTotal+i.threshold)}),{dataMin:(0,i.arrayMin)(t),dataMax:(0,i.arrayMax)(e)}):{dataMin:this.dataMin,dataMax:this.dataMax}}}e$.defaultOptions=(0,i.merge)(eU.defaultOptions,{dataLabels:{inside:!0},lineWidth:1,lineColor:"var(--highcharts-neutral-color-80)",dashStyle:"Dot",borderColor:"var(--highcharts-neutral-color-80)",states:{hover:{lineWidthPlus:0}}}),e$.compose=eK.compose,(0,i.extend)(e$.prototype,{pointValKey:"y",showLine:!0,pointClass:eV}),(0,i.addEvent)(e$,"afterColumnTranslate",function(){let{options:t,points:e,yAxis:s}=this,a=t.minPointLength??5,o=a/2,r=t.threshold||0,n=t.stacking,l=s.waterfall?.stacks[this.stackKey],h=this.getColumn("y",!0),p=r,d=r,c,u,g;for(let t=0;t<e.length;t++){let m=e[t],f=h[t],b=m.shapeArgs,y=(0,i.extend)({x:0,y:0,width:0,height:0},b||{});m.box=y;let x=[0,f],v=m.y||0;if(n){if(l){let e=l[t];"overlap"===n?(u=e.stackState[e.stateIndex--],c=v>=0?u:u-v,eZ(e,"absolutePos")&&delete e.absolutePos,eZ(e,"absoluteNeg")&&delete e.absoluteNeg):(v>=0?(u=e.threshold+e.posTotal,e.posTotal-=v,c=u):(u=e.threshold+e.negTotal,e.negTotal-=v,c=u-v),!e.posTotal&&(0,i.isNumber)(e.absolutePos)&&eZ(e,"absolutePos")&&(e.posTotal=e.absolutePos,delete e.absolutePos),!e.negTotal&&(0,i.isNumber)(e.absoluteNeg)&&eZ(e,"absoluteNeg")&&(e.negTotal=e.absoluteNeg,delete e.absoluteNeg)),m.isSum||(e.connectorThreshold=e.threshold+e.stackTotal),g=c-Math.abs(v),s.reversed&&([c,g]=[g,c]),m.below=c<=r,y.y=s.translate(c,!1,!0,!1,!0),y.height=s.translate(g,!1,!0,!1,!0)-y.y;let a=s.waterfall?.dummyStackItem;a&&(a.x=t,a.label=l[t].label,a.setOffset(this.pointXOffset||0,this.barW||0,this.stackedYNeg[t],this.stackedYPos[t],void 0,this.xAxis))}}else c=Math.max(d,d+v)+x[0],y.y=s.translate(c,!1,!0,!1,!0),m.isSum?(y.y=s.translate(x[1],!1,!0,!1,!0),y.height=Math.min(s.translate(x[0],!1,!0,!1,!0),s.len)-y.y,m.below=x[1]<=r):m.isIntermediateSum?(v>=0?(c=x[1]+p,g=p):(c=p,g=x[1]+p),s.reversed&&([c,g]=[g,c]),y.y=s.translate(c,!1,!0,!1,!0),y.height=Math.abs(y.y-Math.min(s.translate(g,!1,!0,!1,!0),s.len)),p+=x[1],m.below=c<=r):(y.height=f>0?s.translate(d,!1,!0,!1,!0)-y.y:s.translate(d+f,!1,!0,!1,!0)-s.translate(d,!1,!0,!1,!0),m.below=(d+=f)<r);y.height<0&&(y.y+=y.height,y.height*=-1),m.plotY=y.y,m.yBottom=y.y+y.height,y.height<=a&&!m.isNull?(y.height=a,y.y-=o,m.yBottom=y.y+y.height,m.plotY=y.y,v<0?m.minPointLengthOffset=-o:m.minPointLengthOffset=o):(m.isNull&&(y.width=0),m.minPointLengthOffset=0);let P=m.plotY+(m.negative?y.height:0);m.below&&(m.plotY+=y.height),m.tooltipPos&&(this.chart.inverted?m.tooltipPos[0]=s.len-P:m.tooltipPos[1]=P),m.isInside=this.isPointInside(m);let M=(0,i.crisp)(m.yBottom,this.borderWidth);y.y=(0,i.crisp)(y.y,this.borderWidth),y.height=M-y.y,(0,i.merge)(!0,m.shapeArgs,y)}},{order:2}),d().registerSeriesType("waterfall",e$);let e_=h();e_.RadialAxis=ex,tg.compose(e_.Axis,e_.Chart,e_.Legend),en.compose(e_.Axis,e_.Chart,e_.Legend),M.compose(e_.Chart,e_.Pointer),eF.compose(e_.Axis,e_.Chart,e_.Pointer,e_.Series,e_.Tick,e_.Point,d().seriesTypes.areasplinerange,d().seriesTypes.column,d().seriesTypes.line,d().seriesTypes.spline),e$.compose(e_.Axis,e_.Chart);let eQ=e_;export{eQ as default};
|