highcharts 13.0.2 → 13.1.0
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 +6 -2
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +10 -6
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js +2 -1
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +25 -1
- package/es-modules/Accessibility/KeyboardNavigation.js +1 -1
- package/es-modules/Accessibility/Utils/HTMLUtilities.js +13 -3
- package/es-modules/Core/Animation/AnimationUtilities.js +7 -2
- package/es-modules/Core/Animation/Fx.js +1 -0
- package/es-modules/Core/Axis/Axis.js +181 -211
- package/es-modules/Core/Axis/Axis3DComposition.js +13 -15
- package/es-modules/Core/Axis/AxisDefaults.js +9 -8
- package/es-modules/Core/Axis/BrokenAxis.js +5 -4
- package/es-modules/Core/Axis/Color/ColorAxis.js +66 -54
- package/es-modules/Core/Axis/Color/ColorAxisComposition.js +3 -0
- package/es-modules/Core/Axis/Color/ColorAxisDefaults.js +6 -4
- package/es-modules/Core/Axis/DateTimeAxis.js +4 -3
- package/es-modules/Core/Axis/GridAxis.js +17 -13
- package/es-modules/Core/Axis/LogarithmicAxis.js +4 -3
- package/es-modules/Core/Axis/NavigatorAxisComposition.js +3 -4
- package/es-modules/Core/Axis/OrdinalAxis.js +0 -15
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +135 -72
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js +72 -124
- package/es-modules/Core/Axis/RadialAxis.js +50 -7
- package/es-modules/Core/Axis/ScrollbarAxis.js +3 -0
- package/es-modules/Core/Axis/Stacking/StackItem.js +49 -75
- package/es-modules/Core/Axis/Stacking/StackingAxis.js +34 -22
- package/es-modules/Core/Axis/Tick.js +95 -92
- package/es-modules/Core/Axis/TreeGrid/TreeGridAxis.js +9 -13
- package/es-modules/Core/Axis/WaterfallAxis.js +1 -1
- package/es-modules/Core/Chart/Chart.js +13 -4
- package/es-modules/Core/Chart/StockChart.js +20 -26
- package/es-modules/Core/Defaults.js +18 -0
- package/es-modules/Core/Globals.js +9 -7
- package/es-modules/Core/Pointer.js +7 -8
- package/es-modules/Core/Renderer/HTML/AST.js +18 -11
- package/es-modules/Core/Renderer/HTML/HTMLElement.js +5 -1
- package/es-modules/Core/Renderer/SVG/SVGElement.js +1 -0
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +1 -1
- package/es-modules/Core/Renderer/SVG/Symbols.js +1 -1
- package/es-modules/Core/Renderer/SVG/TextBuilder.js +6 -2
- package/es-modules/Core/Series/OverlappingDataLabels.js +41 -32
- package/es-modules/Core/Series/Point.js +14 -11
- package/es-modules/Core/Series/Series.js +21 -10
- package/es-modules/Core/Tooltip.js +35 -40
- package/es-modules/Data/DataCursor.js +3 -2
- package/es-modules/Data/DataTable.js +21 -2
- package/es-modules/Data/DataTableCore.js +28 -4
- package/es-modules/Data/Formula/FormulaParser.js +30 -10
- package/es-modules/Extensions/Annotations/Annotation.js +5 -7
- package/es-modules/Extensions/Annotations/AnnotationChart.js +2 -1
- package/es-modules/Extensions/Boost/BoostSeries.js +4 -13
- package/es-modules/Extensions/Breadcrumbs/Breadcrumbs.js +6 -4
- package/es-modules/Extensions/Breadcrumbs/BreadcrumbsDefaults.js +1 -1
- package/es-modules/Extensions/Data.js +4 -2
- package/es-modules/Extensions/DragPanes/DragPanes.js +6 -9
- package/es-modules/Extensions/Drilldown/Drilldown.js +9 -4
- package/es-modules/Extensions/ExportData/ExportData.js +24 -4
- package/es-modules/Extensions/Pane/Pane.js +1 -1
- package/es-modules/Extensions/ParallelCoordinates/ParallelAxis.js +5 -4
- package/es-modules/Extensions/StaticScale.js +13 -11
- package/es-modules/Series/Area/AreaSeriesDefaults.js +1 -1
- package/es-modules/Series/AreaRange/AreaRangeSeriesDefaults.js +1 -1
- package/es-modules/Series/AreaSpline/AreaSplineSeries.js +1 -1
- package/es-modules/Series/AreaSplineRange/AreaSplineRangeSeries.js +1 -1
- package/es-modules/Series/Bar/BarSeries.js +1 -1
- package/es-modules/Series/Bellcurve/BellcurveSeriesDefaults.js +1 -1
- package/es-modules/Series/BoxPlot/BoxPlotSeriesDefaults.js +1 -1
- package/es-modules/Series/Bubble/BubbleSeries.js +1 -1
- package/es-modules/Series/Bullet/BulletSeriesDefaults.js +1 -1
- package/es-modules/Series/Candlestick/CandlestickSeriesDefaults.js +1 -1
- package/es-modules/Series/Column/ColumnSeriesDefaults.js +6 -3
- package/es-modules/Series/ColumnPyramid/ColumnPyramidSeriesDefaults.js +2 -3
- package/es-modules/Series/ColumnRange/ColumnRangeSeriesDefaults.js +1 -1
- package/es-modules/Series/Contour/ContourSeriesDefaults.js +12 -14
- package/es-modules/Series/ErrorBar/ErrorBarSeriesDefaults.js +1 -1
- package/es-modules/Series/Flags/FlagsPoint.js +4 -2
- package/es-modules/Series/Flags/FlagsPointOptions.js +12 -0
- package/es-modules/Series/Flags/FlagsSeries.js +8 -7
- package/es-modules/Series/Flags/FlagsSeriesDefaults.js +7 -7
- package/es-modules/Series/Flags/FlagsSeriesOptions.js +12 -0
- package/es-modules/Series/Flags/FlagsSymbols.js +5 -3
- package/es-modules/Series/Funnel/FunnelSeriesDefaults.js +1 -1
- package/es-modules/Series/Gauge/GaugeSeries.js +1 -1
- package/es-modules/Series/GeoHeatmap/GeoHeatmapSeries.js +1 -1
- package/es-modules/Series/HLC/HLCSeriesDefaults.js +1 -7
- package/es-modules/Series/Heatmap/HeatmapSeriesDefaults.js +1 -1
- package/es-modules/Series/HeikinAshi/HeikinAshiSeriesDefaults.js +1 -1
- package/es-modules/Series/Histogram/HistogramSeriesDefaults.js +1 -1
- package/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +1 -1
- package/es-modules/Series/Item/ItemSeriesDefaults.js +1 -1
- package/es-modules/Series/Line/LineSeries.js +0 -1
- package/es-modules/Series/Map/MapSeriesDefaults.js +1 -1
- package/es-modules/Series/MapBubble/MapBubbleSeries.js +0 -1
- package/es-modules/Series/MapLine/MapLineSeriesDefaults.js +1 -1
- package/es-modules/Series/MapPoint/MapPointSeriesDefaults.js +0 -1
- package/es-modules/Series/Networkgraph/ReingoldFruchtermanLayout.js +5 -5
- package/es-modules/Series/OHLC/OHLCSeriesDefaults.js +0 -1
- package/es-modules/Series/PackedBubble/PackedBubbleChart.js +18 -0
- package/es-modules/Series/PackedBubble/PackedBubbleDataLabelOptions.js +12 -0
- package/es-modules/Series/PackedBubble/PackedBubbleIntegration.js +3 -3
- package/es-modules/Series/PackedBubble/PackedBubbleLayout.js +2 -2
- package/es-modules/Series/PackedBubble/PackedBubblePoint.js +1 -1
- package/es-modules/Series/PackedBubble/PackedBubblePointOptions.js +12 -0
- package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +20 -20
- package/es-modules/Series/PackedBubble/PackedBubbleSeriesDefaults.js +2 -2
- package/es-modules/Series/PackedBubble/PackedBubbleSeriesOptions.js +12 -0
- package/es-modules/Series/ParetoSeries/ParetoPoint.js +17 -0
- package/es-modules/Series/ParetoSeries/ParetoPointOptions.js +12 -0
- package/es-modules/Series/ParetoSeries/ParetoSeries.js +3 -3
- package/es-modules/Series/ParetoSeries/ParetoSeriesDefaults.js +1 -1
- package/es-modules/Series/ParetoSeries/ParetoSeriesOptions.js +12 -0
- package/es-modules/Series/PathUtilities.js +3 -1
- package/es-modules/Series/Pictorial/PictorialPointOptions.js +12 -0
- package/es-modules/Series/Pictorial/PictorialSeries.js +5 -25
- package/es-modules/Series/Pictorial/PictorialSeriesDefaults.js +45 -0
- package/es-modules/Series/Pictorial/PictorialSeriesOptions.js +12 -0
- package/es-modules/Series/Pie/PieSeriesDefaults.js +1 -1
- package/es-modules/Series/Pie3D/Pie3DPoint.js +1 -1
- package/es-modules/Series/Pie3D/Pie3DSeries.js +6 -6
- package/es-modules/Series/PolarComposition.js +22 -21
- package/es-modules/Series/Polygon/PolygonPoint.js +17 -0
- package/es-modules/Series/Polygon/PolygonPointOptions.js +12 -0
- package/es-modules/Series/Polygon/PolygonSeriesDefaults.js +1 -1
- package/es-modules/Series/Polygon/PolygonSeriesOptions.js +12 -0
- package/es-modules/Series/Pyramid/PyramidPoint.js +19 -0
- package/es-modules/Series/Pyramid/PyramidPointOptions.js +14 -0
- package/es-modules/Series/Pyramid/PyramidSeries.js +1 -1
- package/es-modules/Series/Pyramid/PyramidSeriesDefaults.js +1 -1
- package/es-modules/Series/Pyramid/PyramidSeriesOptions.js +14 -0
- package/es-modules/Series/Pyramid3D/Pyramid3DPoint.js +19 -0
- package/es-modules/Series/Pyramid3D/Pyramid3DPointOptions.js +14 -0
- package/es-modules/Series/Pyramid3D/Pyramid3DSeries.js +1 -1
- package/es-modules/Series/Pyramid3D/Pyramid3DSeriesOptions.js +14 -0
- package/es-modules/Series/Renko/RenkoSeriesDefaults.js +1 -2
- package/es-modules/Series/Sankey/SankeySeriesDefaults.js +6 -7
- package/es-modules/Series/Scatter/ScatterSeriesDefaults.js +1 -1
- package/es-modules/Series/SolidGauge/SolidGaugeSeriesDefaults.js +1 -1
- package/es-modules/Series/Spline/SplineSeries.js +1 -1
- package/es-modules/Series/Streamgraph/StreamgraphSeriesDefaults.js +1 -1
- package/es-modules/Series/Sunburst/SunburstSeriesDefaults.js +1 -1
- package/es-modules/Series/TiledWebMap/TiledWebMapSeriesDefaults.js +2 -2
- package/es-modules/Series/Tilemap/TilemapSeriesDefaults.js +1 -1
- package/es-modules/Series/Timeline/TimelineSeriesDefaults.js +1 -1
- package/es-modules/Series/Treemap/TreemapSeriesDefaults.js +1 -1
- package/es-modules/Series/VariablePie/VariablePieSeriesDefaults.js +1 -1
- package/es-modules/Series/Variwide/VariwideComposition.js +11 -8
- package/es-modules/Series/Vector/VectorSeriesDefaults.js +1 -1
- package/es-modules/Series/Venn/VennSeriesDefaults.js +1 -1
- package/es-modules/Series/Waterfall/WaterfallSeriesDefaults.js +1 -1
- package/es-modules/Series/Windbarb/WindbarbSeriesDefaults.js +1 -1
- package/es-modules/Shared/Utilities.js +7 -0
- package/es-modules/Stock/Indicators/ABands/ABandsIndicator.js +1 -1
- package/es-modules/Stock/Indicators/AD/ADIndicator.js +0 -1
- package/es-modules/Stock/Indicators/AO/AOIndicator.js +1 -1
- package/es-modules/Stock/Indicators/APO/APOIndicator.js +1 -1
- package/es-modules/Stock/Indicators/ATR/ATRIndicator.js +0 -1
- package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +1 -1
- package/es-modules/Stock/Indicators/AroonOscillator/AroonOscillatorIndicator.js +2 -2
- package/es-modules/Stock/Indicators/BB/BBIndicator.js +0 -1
- package/es-modules/Stock/Indicators/CCI/CCIIndicator.js +0 -1
- package/es-modules/Stock/Indicators/CMF/CMFIndicator.js +0 -1
- package/es-modules/Stock/Indicators/CMO/CMOIndicator.js +0 -1
- package/es-modules/Stock/Indicators/Chaikin/ChaikinIndicator.js +1 -1
- package/es-modules/Stock/Indicators/DEMA/DEMAIndicator.js +1 -1
- package/es-modules/Stock/Indicators/DMI/DMIIndicator.js +3 -3
- package/es-modules/Stock/Indicators/DPO/DPOIndicator.js +1 -1
- package/es-modules/Stock/Indicators/DisparityIndex/DisparityIndexIndicator.js +3 -3
- package/es-modules/Stock/Indicators/EMA/EMAIndicator.js +0 -1
- package/es-modules/Stock/Indicators/IKH/IKHIndicator.js +0 -1
- package/es-modules/Stock/Indicators/KeltnerChannels/KeltnerChannelsIndicator.js +1 -1
- package/es-modules/Stock/Indicators/LinearRegression/LinearRegressionIndicator.js +0 -1
- package/es-modules/Stock/Indicators/LinearRegressionAngle/LinearRegressionAngleIndicator.js +0 -1
- package/es-modules/Stock/Indicators/LinearRegressionIntercept/LinearRegressionInterceptIndicator.js +0 -1
- package/es-modules/Stock/Indicators/LinearRegressionSlopes/LinearRegressionSlopesIndicator.js +0 -1
- package/es-modules/Stock/Indicators/MACD/MACDIndicator.js +0 -1
- package/es-modules/Stock/Indicators/MFI/MFIIndicator.js +0 -1
- package/es-modules/Stock/Indicators/Momentum/MomentumIndicator.js +0 -1
- package/es-modules/Stock/Indicators/NATR/NATRIndicator.js +0 -1
- package/es-modules/Stock/Indicators/OBV/OBVIndicator.js +0 -1
- package/es-modules/Stock/Indicators/PC/PCIndicator.js +1 -1
- package/es-modules/Stock/Indicators/PPO/PPOIndicator.js +1 -1
- package/es-modules/Stock/Indicators/PSAR/PSARIndicator.js +0 -1
- package/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +0 -1
- package/es-modules/Stock/Indicators/PriceEnvelopes/PriceEnvelopesIndicator.js +0 -1
- package/es-modules/Stock/Indicators/ROC/ROCIndicator.js +0 -1
- package/es-modules/Stock/Indicators/RSI/RSIIndicator.js +0 -1
- package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +1 -1
- package/es-modules/Stock/Indicators/Stochastic/StochasticIndicator.js +3 -3
- package/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +1 -1
- package/es-modules/Stock/Indicators/TEMA/TEMAIndicator.js +1 -1
- package/es-modules/Stock/Indicators/TRIX/TRIXIndicator.js +1 -1
- package/es-modules/Stock/Indicators/TrendLine/TrendLineIndicator.js +0 -1
- package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +1 -1
- package/es-modules/Stock/Indicators/VWAP/VWAPIndicator.js +0 -1
- package/es-modules/Stock/Indicators/WMA/WMAIndicator.js +0 -1
- package/es-modules/Stock/Indicators/WilliamsR/WilliamsRIndicator.js +1 -1
- package/es-modules/Stock/Indicators/Zigzag/ZigzagIndicator.js +0 -1
- package/es-modules/Stock/Navigator/ChartNavigatorComposition.js +5 -5
- package/es-modules/Stock/Navigator/Navigator.js +1 -5
- package/es-modules/Stock/Navigator/StandaloneNavigator.js +38 -8
- package/es-modules/Stock/RangeSelector/RangeSelectorComposition.js +2 -2
- package/es-modules/Stock/Scrollbar/ScrollbarDefaults.js +1 -3
- 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 +1 -1
- 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 +1 -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 +1 -1
- 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 +38 -61
- package/esm/highcharts-autoload.js +2 -2
- package/esm/highcharts-autoload.src.js +18 -39
- package/esm/highcharts-gantt.js +1 -1
- package/esm/highcharts-gantt.src.js +1 -1
- package/esm/highcharts-more.js +2 -2
- package/esm/highcharts-more.src.js +142 -120
- package/esm/highcharts.js +4 -4
- package/esm/highcharts.src.js +824 -750
- package/esm/highmaps.js +1 -1
- package/esm/highmaps.src.js +1 -1
- package/esm/highstock.js +1 -1
- package/esm/highstock.src.js +1 -1
- package/esm/i18n/fr-FR.js +2 -2
- package/esm/i18n/fr-FR.src.js +17 -38
- package/esm/i18n/nb-NO.js +2 -2
- package/esm/i18n/nb-NO.src.js +17 -38
- package/esm/i18n/zh-CN.js +2 -2
- package/esm/i18n/zh-CN.src.js +17 -38
- package/esm/indicators/acceleration-bands.js +2 -2
- package/esm/indicators/acceleration-bands.src.js +18 -39
- package/esm/indicators/accumulation-distribution.js +2 -2
- package/esm/indicators/accumulation-distribution.src.js +17 -39
- package/esm/indicators/ao.js +2 -2
- package/esm/indicators/ao.src.js +18 -39
- package/esm/indicators/apo.js +2 -2
- package/esm/indicators/apo.src.js +18 -39
- package/esm/indicators/aroon-oscillator.js +2 -2
- package/esm/indicators/aroon-oscillator.src.js +19 -40
- package/esm/indicators/aroon.js +2 -2
- package/esm/indicators/aroon.src.js +18 -39
- package/esm/indicators/atr.js +2 -2
- package/esm/indicators/atr.src.js +17 -39
- package/esm/indicators/bollinger-bands.js +2 -2
- package/esm/indicators/bollinger-bands.src.js +17 -39
- package/esm/indicators/cci.js +2 -2
- package/esm/indicators/cci.src.js +17 -39
- package/esm/indicators/chaikin.js +2 -2
- package/esm/indicators/chaikin.src.js +18 -40
- package/esm/indicators/cmf.js +2 -2
- package/esm/indicators/cmf.src.js +17 -39
- package/esm/indicators/cmo.js +2 -2
- package/esm/indicators/cmo.src.js +17 -39
- package/esm/indicators/dema.js +2 -2
- package/esm/indicators/dema.src.js +18 -39
- package/esm/indicators/disparity-index.js +2 -2
- package/esm/indicators/disparity-index.src.js +20 -41
- package/esm/indicators/dmi.js +2 -2
- package/esm/indicators/dmi.src.js +20 -41
- package/esm/indicators/dpo.js +2 -2
- package/esm/indicators/dpo.src.js +18 -39
- package/esm/indicators/ichimoku-kinko-hyo.js +2 -2
- package/esm/indicators/ichimoku-kinko-hyo.src.js +18 -40
- package/esm/indicators/indicators-all.js +2 -2
- package/esm/indicators/indicators-all.src.js +76 -99
- package/esm/indicators/indicators.js +2 -2
- package/esm/indicators/indicators.src.js +48 -46
- package/esm/indicators/keltner-channels.js +2 -2
- package/esm/indicators/keltner-channels.src.js +18 -39
- package/esm/indicators/klinger.js +2 -2
- package/esm/indicators/klinger.src.js +17 -38
- package/esm/indicators/macd.js +2 -2
- package/esm/indicators/macd.src.js +17 -39
- package/esm/indicators/mfi.js +2 -2
- package/esm/indicators/mfi.src.js +17 -39
- package/esm/indicators/momentum.js +2 -2
- package/esm/indicators/momentum.src.js +17 -39
- package/esm/indicators/natr.js +2 -2
- package/esm/indicators/natr.src.js +17 -39
- package/esm/indicators/obv.js +2 -2
- package/esm/indicators/obv.src.js +17 -39
- package/esm/indicators/pivot-points.js +2 -2
- package/esm/indicators/pivot-points.src.js +17 -39
- package/esm/indicators/ppo.js +2 -2
- package/esm/indicators/ppo.src.js +18 -39
- package/esm/indicators/price-channel.js +2 -2
- package/esm/indicators/price-channel.src.js +18 -39
- package/esm/indicators/price-envelopes.js +2 -2
- package/esm/indicators/price-envelopes.src.js +17 -39
- package/esm/indicators/psar.js +2 -2
- package/esm/indicators/psar.src.js +17 -39
- package/esm/indicators/regressions.js +2 -2
- package/esm/indicators/regressions.src.js +17 -42
- package/esm/indicators/roc.js +2 -2
- package/esm/indicators/roc.src.js +17 -39
- package/esm/indicators/rsi.js +2 -2
- package/esm/indicators/rsi.src.js +17 -39
- package/esm/indicators/slow-stochastic.js +2 -2
- package/esm/indicators/slow-stochastic.src.js +17 -38
- package/esm/indicators/stochastic.js +2 -2
- package/esm/indicators/stochastic.src.js +20 -41
- package/esm/indicators/supertrend.js +2 -2
- package/esm/indicators/supertrend.src.js +19 -40
- package/esm/indicators/tema.js +2 -2
- package/esm/indicators/tema.src.js +18 -39
- package/esm/indicators/trendline.js +2 -2
- package/esm/indicators/trendline.src.js +17 -39
- package/esm/indicators/trix.js +2 -2
- package/esm/indicators/trix.src.js +18 -39
- package/esm/indicators/volume-by-price.js +2 -2
- package/esm/indicators/volume-by-price.src.js +18 -39
- package/esm/indicators/vwap.js +2 -2
- package/esm/indicators/vwap.src.js +17 -39
- package/esm/indicators/williams-r.js +2 -2
- package/esm/indicators/williams-r.src.js +18 -39
- package/esm/indicators/wma.js +2 -2
- package/esm/indicators/wma.src.js +17 -39
- package/esm/indicators/zigzag.js +2 -2
- package/esm/indicators/zigzag.src.js +17 -39
- package/esm/modules/accessibility.js +2 -2
- package/esm/modules/accessibility.src.js +90 -76
- package/esm/modules/annotations-advanced.js +3 -3
- package/esm/modules/annotations-advanced.src.js +36 -58
- package/esm/modules/annotations.js +3 -3
- package/esm/modules/annotations.src.js +36 -58
- package/esm/modules/arc-diagram.js +2 -2
- package/esm/modules/arc-diagram.src.js +18 -39
- package/esm/modules/arrow-symbols.js +3 -3
- package/esm/modules/arrow-symbols.src.js +17 -38
- package/esm/modules/boost-canvas.js +2 -2
- package/esm/modules/boost-canvas.src.js +57 -63
- package/esm/modules/boost.js +2 -2
- package/esm/modules/boost.src.js +56 -62
- package/esm/modules/broken-axis.js +2 -2
- package/esm/modules/broken-axis.src.js +21 -41
- package/esm/modules/bullet.js +2 -2
- package/esm/modules/bullet.src.js +18 -39
- package/esm/modules/coloraxis.js +2 -2
- package/esm/modules/coloraxis.src.js +92 -96
- package/esm/modules/contour.js +3 -3
- package/esm/modules/contour.src.js +29 -52
- package/esm/modules/current-date-indicator.js +2 -2
- package/esm/modules/current-date-indicator.src.js +17 -38
- package/esm/modules/cylinder.js +2 -2
- package/esm/modules/cylinder.src.js +18 -39
- package/esm/modules/data-sorting.js +2 -2
- package/esm/modules/data-sorting.src.js +18 -39
- package/esm/modules/data-tools.js +2 -2
- package/esm/modules/data-tools.src.js +110 -67
- package/esm/modules/data.js +4 -4
- package/esm/modules/data.src.js +53 -48
- package/esm/modules/datagrouping.js +2 -2
- package/esm/modules/datagrouping.src.js +52 -48
- package/esm/modules/debugger.js +2 -2
- package/esm/modules/debugger.src.js +17 -38
- package/esm/modules/dependency-wheel.js +2 -2
- package/esm/modules/dependency-wheel.src.js +17 -38
- package/esm/modules/dotplot.js +2 -2
- package/esm/modules/dotplot.src.js +17 -38
- package/esm/modules/drag-panes.js +2 -2
- package/esm/modules/drag-panes.src.js +22 -46
- package/esm/modules/draggable-points.js +2 -2
- package/esm/modules/draggable-points.src.js +17 -38
- package/esm/modules/drilldown.js +2 -2
- package/esm/modules/drilldown.src.js +40 -54
- package/esm/modules/dumbbell.js +2 -2
- package/esm/modules/dumbbell.src.js +18 -39
- package/esm/modules/export-data.js +2 -2
- package/esm/modules/export-data.src.js +42 -43
- package/esm/modules/exporting.js +2 -2
- package/esm/modules/exporting.src.js +26 -47
- package/esm/modules/flowmap.js +2 -2
- package/esm/modules/flowmap.src.js +17 -38
- package/esm/modules/full-screen.js +2 -2
- package/esm/modules/full-screen.src.js +17 -38
- package/esm/modules/funnel.js +2 -2
- package/esm/modules/funnel.src.js +21 -42
- package/esm/modules/funnel3d.js +2 -2
- package/esm/modules/funnel3d.src.js +18 -39
- package/esm/modules/gantt.js +2 -2
- package/esm/modules/gantt.src.js +84 -104
- package/esm/modules/geoheatmap.js +2 -2
- package/esm/modules/geoheatmap.src.js +18 -39
- package/esm/modules/grid-axis.js +2 -2
- package/esm/modules/grid-axis.src.js +34 -51
- package/esm/modules/heatmap.js +2 -2
- package/esm/modules/heatmap.src.js +20 -41
- package/esm/modules/heikinashi.js +2 -2
- package/esm/modules/heikinashi.src.js +18 -39
- package/esm/modules/histogram-bellcurve.js +2 -2
- package/esm/modules/histogram-bellcurve.src.js +19 -40
- package/esm/modules/hollowcandlestick.js +2 -2
- package/esm/modules/hollowcandlestick.src.js +18 -39
- package/esm/modules/item-series.js +2 -2
- package/esm/modules/item-series.src.js +19 -40
- package/esm/modules/lollipop.js +2 -2
- package/esm/modules/lollipop.src.js +18 -39
- package/esm/modules/map.js +2 -2
- package/esm/modules/map.src.js +64 -63
- package/esm/modules/marker-clusters.js +2 -2
- package/esm/modules/marker-clusters.src.js +49 -46
- package/esm/modules/mouse-wheel-zoom.js +2 -2
- package/esm/modules/mouse-wheel-zoom.src.js +17 -38
- package/esm/modules/navigator.js +2 -2
- package/esm/modules/navigator.src.js +72 -67
- package/esm/modules/networkgraph.js +2 -2
- package/esm/modules/networkgraph.src.js +24 -45
- package/esm/modules/no-data-to-display.js +2 -2
- package/esm/modules/no-data-to-display.src.js +17 -38
- package/esm/modules/non-cartesian-zoom.js +2 -2
- package/esm/modules/non-cartesian-zoom.src.js +17 -38
- package/esm/modules/offline-exporting.js +2 -2
- package/esm/modules/offline-exporting.src.js +19 -40
- package/esm/modules/organization.js +2 -2
- package/esm/modules/organization.src.js +20 -39
- package/esm/modules/parallel-coordinates.js +2 -2
- package/esm/modules/parallel-coordinates.src.js +24 -44
- package/esm/modules/pareto.js +2 -2
- package/esm/modules/pareto.src.js +21 -42
- package/esm/modules/pathfinder.js +2 -2
- package/esm/modules/pathfinder.src.js +20 -39
- package/esm/modules/pattern-fill.js +2 -2
- package/esm/modules/pattern-fill.src.js +17 -38
- package/esm/modules/pictorial.js +2 -2
- package/esm/modules/pictorial.src.js +71 -65
- package/esm/modules/pointandfigure.js +2 -2
- package/esm/modules/pointandfigure.src.js +47 -44
- package/esm/modules/price-indicator.js +2 -2
- package/esm/modules/price-indicator.src.js +17 -38
- package/esm/modules/pyramid3d.js +2 -2
- package/esm/modules/pyramid3d.src.js +18 -39
- package/esm/modules/renko.js +2 -2
- package/esm/modules/renko.src.js +18 -40
- package/esm/modules/sankey.js +2 -2
- package/esm/modules/sankey.src.js +24 -46
- package/esm/modules/series-label.js +2 -2
- package/esm/modules/series-label.src.js +17 -38
- package/esm/modules/series-on-point.js +2 -2
- package/esm/modules/series-on-point.src.js +47 -44
- package/esm/modules/solid-gauge.js +2 -2
- package/esm/modules/solid-gauge.src.js +18 -39
- package/esm/modules/sonification.js +2 -2
- package/esm/modules/sonification.src.js +18 -39
- package/esm/modules/static-scale.js +2 -2
- package/esm/modules/static-scale.src.js +30 -49
- package/esm/modules/stock-tools.js +2 -2
- package/esm/modules/stock-tools.src.js +29 -50
- package/esm/modules/stock.js +2 -2
- package/esm/modules/stock.src.js +117 -141
- package/esm/modules/streamgraph.js +2 -2
- package/esm/modules/streamgraph.src.js +18 -39
- package/esm/modules/sunburst.js +2 -2
- package/esm/modules/sunburst.src.js +38 -57
- package/esm/modules/textpath.js +2 -2
- package/esm/modules/textpath.src.js +17 -38
- package/esm/modules/tiledwebmap.js +3 -3
- package/esm/modules/tiledwebmap.src.js +19 -40
- package/esm/modules/tilemap.js +2 -2
- package/esm/modules/tilemap.src.js +22 -40
- package/esm/modules/timeline.js +2 -2
- package/esm/modules/timeline.src.js +19 -40
- package/esm/modules/treegraph.js +2 -2
- package/esm/modules/treegraph.src.js +23 -42
- package/esm/modules/treegrid.js +2 -2
- package/esm/modules/treegrid.src.js +47 -67
- package/esm/modules/treemap.js +2 -2
- package/esm/modules/treemap.src.js +34 -53
- package/esm/modules/variable-pie.js +2 -2
- package/esm/modules/variable-pie.src.js +19 -40
- package/esm/modules/variwide.js +2 -2
- package/esm/modules/variwide.src.js +28 -46
- package/esm/modules/vector.js +2 -2
- package/esm/modules/vector.src.js +18 -39
- package/esm/modules/venn.js +2 -2
- package/esm/modules/venn.src.js +18 -39
- package/esm/modules/windbarb.js +2 -2
- package/esm/modules/windbarb.src.js +18 -39
- package/esm/modules/wordcloud.js +2 -2
- package/esm/modules/wordcloud.src.js +18 -39
- package/esm/modules/xrange.js +2 -2
- package/esm/modules/xrange.src.js +18 -39
- package/esm/standalone-navigator.js +4 -4
- package/esm/standalone-navigator.src.js +876 -776
- package/esm/themes/adaptive.js +2 -2
- package/esm/themes/adaptive.src.js +17 -38
- package/esm/themes/avocado.js +2 -2
- package/esm/themes/avocado.src.js +17 -38
- package/esm/themes/dark-unica.js +2 -2
- package/esm/themes/dark-unica.src.js +17 -38
- package/esm/themes/grid-light.js +2 -2
- package/esm/themes/grid-light.src.js +17 -38
- package/esm/themes/high-contrast.js +2 -2
- package/esm/themes/high-contrast.src.js +17 -38
- package/esm/themes/sand-signika.js +2 -2
- package/esm/themes/sand-signika.src.js +17 -38
- package/esm/themes/sunset.js +2 -2
- package/esm/themes/sunset.src.js +17 -38
- package/highcharts-3d.js +2 -2
- package/highcharts-3d.src.js +43 -66
- package/highcharts-autoload.d.ts +0 -1
- package/highcharts-autoload.js +4 -4
- package/highcharts-autoload.src.d.ts +0 -1
- package/highcharts-autoload.src.js +833 -778
- package/highcharts-gantt.js +4 -4
- package/highcharts-gantt.src.js +895 -839
- package/highcharts-more.d.ts +10 -0
- package/highcharts-more.js +2 -2
- package/highcharts-more.src.d.ts +10 -0
- package/highcharts-more.src.js +147 -125
- package/highcharts.d.ts +2785 -80144
- package/highcharts.js +4 -4
- package/highcharts.src.d.ts +2785 -80144
- package/highcharts.src.js +832 -777
- package/highmaps.js +4 -4
- package/highmaps.src.js +915 -845
- package/highstock.js +4 -4
- package/highstock.src.js +903 -874
- package/i18n/fr-FR.js +2 -2
- package/i18n/fr-FR.src.js +26 -37
- package/i18n/nb-NO.js +2 -2
- package/i18n/nb-NO.src.js +26 -37
- package/i18n/zh-CN.js +2 -2
- package/i18n/zh-CN.src.js +26 -37
- package/indicators/acceleration-bands.js +2 -2
- package/indicators/acceleration-bands.src.js +23 -44
- package/indicators/accumulation-distribution.js +2 -2
- package/indicators/accumulation-distribution.src.js +22 -44
- package/indicators/ao.js +2 -2
- package/indicators/ao.src.js +23 -44
- package/indicators/apo.js +2 -2
- package/indicators/apo.src.js +23 -44
- package/indicators/aroon-oscillator.js +2 -2
- package/indicators/aroon-oscillator.src.js +24 -45
- package/indicators/aroon.js +2 -2
- package/indicators/aroon.src.js +23 -44
- package/indicators/atr.js +2 -2
- package/indicators/atr.src.js +22 -44
- package/indicators/bollinger-bands.js +2 -2
- package/indicators/bollinger-bands.src.js +22 -44
- package/indicators/cci.js +2 -2
- package/indicators/cci.src.js +22 -44
- package/indicators/chaikin.js +2 -2
- package/indicators/chaikin.src.js +23 -45
- package/indicators/cmf.js +2 -2
- package/indicators/cmf.src.js +22 -44
- package/indicators/cmo.js +2 -2
- package/indicators/cmo.src.js +22 -44
- package/indicators/dema.js +2 -2
- package/indicators/dema.src.js +23 -44
- package/indicators/disparity-index.js +2 -2
- package/indicators/disparity-index.src.js +25 -46
- package/indicators/dmi.js +2 -2
- package/indicators/dmi.src.js +25 -46
- package/indicators/dpo.js +2 -2
- package/indicators/dpo.src.js +23 -44
- package/indicators/ichimoku-kinko-hyo.js +2 -2
- package/indicators/ichimoku-kinko-hyo.src.js +23 -45
- package/indicators/indicators-all.js +2 -2
- package/indicators/indicators-all.src.js +81 -104
- package/indicators/indicators.js +2 -2
- package/indicators/indicators.src.js +53 -51
- package/indicators/keltner-channels.js +2 -2
- package/indicators/keltner-channels.src.js +23 -44
- package/indicators/klinger.js +2 -2
- package/indicators/klinger.src.js +22 -43
- package/indicators/macd.js +2 -2
- package/indicators/macd.src.js +22 -44
- package/indicators/mfi.js +2 -2
- package/indicators/mfi.src.js +22 -44
- package/indicators/momentum.js +2 -2
- package/indicators/momentum.src.js +22 -44
- package/indicators/natr.js +2 -2
- package/indicators/natr.src.js +22 -44
- package/indicators/obv.js +2 -2
- package/indicators/obv.src.js +22 -44
- package/indicators/pivot-points.js +2 -2
- package/indicators/pivot-points.src.js +22 -44
- package/indicators/ppo.js +2 -2
- package/indicators/ppo.src.js +23 -44
- package/indicators/price-channel.js +2 -2
- package/indicators/price-channel.src.js +23 -44
- package/indicators/price-envelopes.js +2 -2
- package/indicators/price-envelopes.src.js +22 -44
- package/indicators/psar.js +2 -2
- package/indicators/psar.src.js +22 -44
- package/indicators/regressions.js +2 -2
- package/indicators/regressions.src.js +22 -47
- package/indicators/roc.js +2 -2
- package/indicators/roc.src.js +22 -44
- package/indicators/rsi.js +2 -2
- package/indicators/rsi.src.js +22 -44
- package/indicators/slow-stochastic.js +2 -2
- package/indicators/slow-stochastic.src.js +22 -43
- package/indicators/stochastic.js +2 -2
- package/indicators/stochastic.src.js +25 -46
- package/indicators/supertrend.js +2 -2
- package/indicators/supertrend.src.js +24 -45
- package/indicators/tema.js +2 -2
- package/indicators/tema.src.js +23 -44
- package/indicators/trendline.js +2 -2
- package/indicators/trendline.src.js +22 -44
- package/indicators/trix.js +2 -2
- package/indicators/trix.src.js +23 -44
- package/indicators/volume-by-price.js +2 -2
- package/indicators/volume-by-price.src.js +23 -44
- package/indicators/vwap.js +2 -2
- package/indicators/vwap.src.js +22 -44
- package/indicators/williams-r.js +2 -2
- package/indicators/williams-r.src.js +23 -44
- package/indicators/wma.js +2 -2
- package/indicators/wma.src.js +22 -44
- package/indicators/zigzag.js +2 -2
- package/indicators/zigzag.src.js +22 -44
- package/modules/accessibility.js +2 -2
- package/modules/accessibility.src.js +95 -81
- package/modules/annotations-advanced.js +9 -9
- package/modules/annotations-advanced.src.js +41 -63
- package/modules/annotations.js +3 -3
- package/modules/annotations.src.js +41 -63
- package/modules/arc-diagram.js +2 -2
- package/modules/arc-diagram.src.js +23 -44
- package/modules/arrow-symbols.js +2 -2
- package/modules/arrow-symbols.src.js +17 -38
- package/modules/boost-canvas.js +2 -2
- package/modules/boost-canvas.src.js +62 -68
- package/modules/boost.js +2 -2
- package/modules/boost.src.js +61 -67
- package/modules/broken-axis.js +2 -2
- package/modules/broken-axis.src.js +26 -46
- package/modules/bullet.js +2 -2
- package/modules/bullet.src.js +23 -44
- package/modules/coloraxis.js +2 -2
- package/modules/coloraxis.src.js +97 -101
- package/modules/contour.js +5 -5
- package/modules/contour.src.js +111 -117
- package/modules/current-date-indicator.js +2 -2
- package/modules/current-date-indicator.src.js +17 -38
- package/modules/cylinder.js +2 -2
- package/modules/cylinder.src.js +23 -44
- package/modules/data-sorting.js +2 -2
- package/modules/data-sorting.src.js +18 -39
- package/modules/data-tools.js +2 -2
- package/modules/data-tools.src.js +110 -67
- package/modules/data.js +4 -4
- package/modules/data.src.js +58 -53
- package/modules/datagrouping.js +2 -2
- package/modules/datagrouping.src.js +57 -53
- package/modules/debugger.js +2 -2
- package/modules/debugger.src.js +17 -38
- package/modules/dependency-wheel.js +2 -2
- package/modules/dependency-wheel.src.js +22 -43
- package/modules/dotplot.js +2 -2
- package/modules/dotplot.src.js +22 -43
- package/modules/drag-panes.js +2 -2
- package/modules/drag-panes.src.js +22 -46
- package/modules/draggable-points.js +2 -2
- package/modules/draggable-points.src.js +17 -38
- package/modules/drilldown.js +2 -2
- package/modules/drilldown.src.js +45 -59
- package/modules/dumbbell.js +2 -2
- package/modules/dumbbell.src.js +23 -44
- package/modules/export-data.js +2 -2
- package/modules/export-data.src.js +47 -48
- package/modules/exporting.js +2 -2
- package/modules/exporting.src.js +31 -52
- package/modules/flowmap.js +2 -2
- package/modules/flowmap.src.js +22 -43
- package/modules/full-screen.js +2 -2
- package/modules/full-screen.src.js +22 -43
- package/modules/funnel.js +2 -2
- package/modules/funnel.src.js +26 -47
- package/modules/funnel3d.js +2 -2
- package/modules/funnel3d.src.js +23 -44
- package/modules/gantt.js +8 -8
- package/modules/gantt.src.js +93 -113
- package/modules/geoheatmap.js +2 -2
- package/modules/geoheatmap.src.js +23 -44
- package/modules/grid-axis.js +2 -2
- package/modules/grid-axis.src.js +39 -56
- package/modules/heatmap.js +4 -4
- package/modules/heatmap.src.js +101 -105
- package/modules/heikinashi.js +2 -2
- package/modules/heikinashi.src.js +23 -44
- package/modules/histogram-bellcurve.js +2 -2
- package/modules/histogram-bellcurve.src.js +24 -45
- package/modules/hollowcandlestick.js +2 -2
- package/modules/hollowcandlestick.src.js +23 -44
- package/modules/item-series.js +2 -2
- package/modules/item-series.src.js +24 -45
- package/modules/lollipop.js +2 -2
- package/modules/lollipop.src.js +23 -44
- package/modules/map.js +4 -4
- package/modules/map.src.js +146 -128
- package/modules/marker-clusters.js +2 -2
- package/modules/marker-clusters.src.js +49 -46
- package/modules/mouse-wheel-zoom.js +2 -2
- package/modules/mouse-wheel-zoom.src.js +17 -38
- package/modules/navigator.js +2 -2
- package/modules/navigator.src.js +77 -72
- package/modules/networkgraph.js +2 -2
- package/modules/networkgraph.src.js +29 -50
- package/modules/no-data-to-display.js +2 -2
- package/modules/no-data-to-display.src.js +22 -43
- package/modules/non-cartesian-zoom.js +2 -2
- package/modules/non-cartesian-zoom.src.js +17 -38
- package/modules/offline-exporting.js +2 -2
- package/modules/offline-exporting.src.js +24 -45
- package/modules/organization.js +3 -3
- package/modules/organization.src.js +25 -44
- package/modules/parallel-coordinates.js +2 -2
- package/modules/parallel-coordinates.src.js +29 -49
- package/modules/pareto.js +2 -2
- package/modules/pareto.src.js +26 -47
- package/modules/pathfinder.js +2 -2
- package/modules/pathfinder.src.js +25 -44
- package/modules/pattern-fill.js +2 -2
- package/modules/pattern-fill.src.js +17 -38
- package/modules/pictorial.js +2 -2
- package/modules/pictorial.src.js +76 -70
- package/modules/pointandfigure.js +2 -2
- package/modules/pointandfigure.src.js +52 -49
- package/modules/price-indicator.js +2 -2
- package/modules/price-indicator.src.js +17 -38
- package/modules/pyramid3d.js +2 -2
- package/modules/pyramid3d.src.js +23 -44
- package/modules/renko.js +2 -2
- package/modules/renko.src.js +23 -45
- package/modules/sankey.js +2 -2
- package/modules/sankey.src.js +29 -51
- package/modules/series-label.js +2 -2
- package/modules/series-label.src.js +22 -43
- package/modules/series-on-point.js +2 -2
- package/modules/series-on-point.src.js +52 -49
- package/modules/solid-gauge.js +2 -2
- package/modules/solid-gauge.src.js +23 -44
- package/modules/sonification.js +2 -2
- package/modules/sonification.src.js +23 -44
- package/modules/static-scale.js +2 -2
- package/modules/static-scale.src.js +30 -49
- package/modules/stock-tools.js +2 -2
- package/modules/stock-tools.src.js +34 -55
- package/modules/stock.js +6 -6
- package/modules/stock.src.js +132 -154
- package/modules/streamgraph.js +2 -2
- package/modules/streamgraph.src.js +23 -44
- package/modules/sunburst.js +2 -2
- package/modules/sunburst.src.js +43 -62
- package/modules/textpath.js +2 -2
- package/modules/textpath.src.js +17 -38
- package/modules/tiledwebmap.js +3 -3
- package/modules/tiledwebmap.src.js +24 -45
- package/modules/tilemap.js +2 -2
- package/modules/tilemap.src.js +27 -45
- package/modules/timeline.js +2 -2
- package/modules/timeline.src.js +24 -45
- package/modules/treegraph.js +2 -2
- package/modules/treegraph.src.js +28 -47
- package/modules/treegrid.js +2 -2
- package/modules/treegrid.src.js +52 -72
- package/modules/treemap.js +2 -2
- package/modules/treemap.src.js +39 -58
- package/modules/variable-pie.js +2 -2
- package/modules/variable-pie.src.js +24 -45
- package/modules/variwide.js +2 -2
- package/modules/variwide.src.js +33 -51
- package/modules/vector.js +2 -2
- package/modules/vector.src.js +23 -44
- package/modules/venn.js +2 -2
- package/modules/venn.src.js +23 -44
- package/modules/windbarb.js +2 -2
- package/modules/windbarb.src.js +23 -44
- package/modules/wordcloud.js +2 -2
- package/modules/wordcloud.src.js +23 -44
- package/modules/xrange.js +2 -2
- package/modules/xrange.src.js +23 -44
- package/options/abands.d.ts +183 -8
- package/options/abands.src.d.ts +183 -8
- package/options/ad.d.ts +176 -5
- package/options/ad.src.d.ts +176 -5
- package/options/ao.d.ts +202 -0
- package/options/ao.src.d.ts +202 -0
- package/options/apo.d.ts +178 -8
- package/options/apo.src.d.ts +178 -8
- package/options/arcdiagram.d.ts +785 -0
- package/options/arcdiagram.src.d.ts +785 -0
- package/options/area.d.ts +226 -0
- package/options/area.src.d.ts +226 -0
- package/options/arearange.d.ts +229 -8
- package/options/arearange.src.d.ts +229 -8
- package/options/areaspline.d.ts +1344 -8
- package/options/areaspline.src.d.ts +1344 -8
- package/options/areasplinerange.d.ts +972 -8
- package/options/areasplinerange.src.d.ts +972 -8
- package/options/aroon.d.ts +219 -0
- package/options/aroon.src.d.ts +219 -0
- package/options/aroonoscillator.d.ts +1140 -8
- package/options/aroonoscillator.src.d.ts +1140 -8
- package/options/atr.d.ts +210 -0
- package/options/atr.src.d.ts +210 -0
- package/options/bar.d.ts +183 -10
- package/options/bar.src.d.ts +183 -10
- package/options/bb.d.ts +1232 -0
- package/options/bb.src.d.ts +1232 -0
- package/options/bellcurve.d.ts +1167 -8
- package/options/bellcurve.src.d.ts +1167 -8
- package/options/boxplot.d.ts +163 -10
- package/options/boxplot.src.d.ts +163 -10
- package/options/bubble.d.ts +1005 -8
- package/options/bubble.src.d.ts +1005 -8
- package/options/bullet.d.ts +953 -8
- package/options/bullet.src.d.ts +953 -8
- package/options/candlestick.d.ts +1309 -8
- package/options/candlestick.src.d.ts +1309 -8
- package/options/cci.d.ts +210 -0
- package/options/cci.src.d.ts +210 -0
- package/options/chaikin.d.ts +180 -8
- package/options/chaikin.src.d.ts +180 -8
- package/options/cmf.d.ts +211 -0
- package/options/cmf.src.d.ts +211 -0
- package/options/cmo.d.ts +175 -5
- package/options/cmo.src.d.ts +175 -5
- package/options/column.d.ts +252 -2
- package/options/column.src.d.ts +252 -2
- package/options/columnpyramid.d.ts +1296 -0
- package/options/columnpyramid.src.d.ts +1296 -0
- package/options/columnrange.d.ts +216 -2
- package/options/columnrange.src.d.ts +216 -2
- package/options/contour.d.ts +1148 -0
- package/options/contour.src.d.ts +1148 -0
- package/options/cylinder.d.ts +183 -2
- package/options/cylinder.src.d.ts +183 -2
- package/options/dema.d.ts +1181 -0
- package/options/dema.src.d.ts +1181 -0
- package/options/dependencywheel.d.ts +315 -0
- package/options/dependencywheel.src.d.ts +315 -0
- package/options/disparityindex.d.ts +1157 -8
- package/options/disparityindex.src.d.ts +1157 -8
- package/options/dmi.d.ts +1227 -0
- package/options/dmi.src.d.ts +1227 -0
- package/options/dpo.d.ts +1140 -8
- package/options/dpo.src.d.ts +1140 -8
- package/options/dumbbell.d.ts +286 -0
- package/options/dumbbell.src.d.ts +286 -0
- package/options/ema.d.ts +1156 -5
- package/options/ema.src.d.ts +1156 -5
- package/options/errorbar.d.ts +1286 -0
- package/options/errorbar.src.d.ts +1286 -0
- package/options/flags.d.ts +1269 -8
- package/options/flags.src.d.ts +1269 -8
- package/options/flowmap.d.ts +551 -0
- package/options/flowmap.src.d.ts +551 -0
- package/options/funnel.d.ts +728 -10
- package/options/funnel.src.d.ts +728 -10
- package/options/gantt.d.ts +1011 -0
- package/options/gantt.src.d.ts +1011 -0
- package/options/gauge.d.ts +675 -0
- package/options/gauge.src.d.ts +675 -0
- package/options/geoheatmap.d.ts +585 -8
- package/options/geoheatmap.src.d.ts +585 -8
- package/options/heatmap.d.ts +1054 -8
- package/options/heatmap.src.d.ts +1054 -8
- package/options/heikinashi.d.ts +178 -10
- package/options/heikinashi.src.d.ts +178 -10
- package/options/histogram.d.ts +1226 -0
- package/options/histogram.src.d.ts +1226 -0
- package/options/hlc.d.ts +223 -2
- package/options/hlc.src.d.ts +223 -2
- package/options/hollowcandlestick.d.ts +1335 -0
- package/options/hollowcandlestick.src.d.ts +1335 -0
- package/options/ikh.d.ts +228 -5
- package/options/ikh.src.d.ts +228 -5
- package/options/item.d.ts +217 -8
- package/options/item.src.d.ts +217 -8
- package/options/keltnerchannels.d.ts +1220 -0
- package/options/keltnerchannels.src.d.ts +1220 -0
- package/options/klinger.d.ts +1162 -0
- package/options/klinger.src.d.ts +1162 -0
- package/options/line.d.ts +1377 -8
- package/options/line.src.d.ts +1377 -8
- package/options/linearregression.d.ts +199 -5
- package/options/linearregression.src.d.ts +199 -5
- package/options/linearregressionangle.d.ts +1157 -5
- package/options/linearregressionangle.src.d.ts +1157 -5
- package/options/linearregressionintercept.d.ts +240 -0
- package/options/linearregressionintercept.src.d.ts +240 -0
- package/options/linearregressionslope.d.ts +240 -0
- package/options/linearregressionslope.src.d.ts +240 -0
- package/options/lollipop.d.ts +949 -0
- package/options/lollipop.src.d.ts +949 -0
- package/options/macd.d.ts +254 -0
- package/options/macd.src.d.ts +254 -0
- package/options/map.d.ts +150 -8
- package/options/map.src.d.ts +150 -8
- package/options/mapbubble.d.ts +1016 -8
- package/options/mapbubble.src.d.ts +1016 -8
- package/options/mapline.d.ts +994 -0
- package/options/mapline.src.d.ts +994 -0
- package/options/mappoint.d.ts +1105 -1
- package/options/mappoint.src.d.ts +1105 -1
- package/options/mfi.d.ts +181 -5
- package/options/mfi.src.d.ts +181 -5
- package/options/momentum.d.ts +215 -0
- package/options/momentum.src.d.ts +215 -0
- package/options/natr.d.ts +170 -5
- package/options/natr.src.d.ts +170 -5
- package/options/networkgraph.d.ts +365 -0
- package/options/networkgraph.src.d.ts +365 -0
- package/options/obv.d.ts +170 -5
- package/options/obv.src.d.ts +170 -5
- package/options/ohlc.d.ts +183 -7
- package/options/ohlc.src.d.ts +183 -7
- package/options/organization.d.ts +808 -0
- package/options/organization.src.d.ts +808 -0
- package/options/packedbubble.d.ts +877 -8
- package/options/packedbubble.src.d.ts +877 -8
- package/options/pareto.d.ts +1028 -0
- package/options/pareto.src.d.ts +1028 -0
- package/options/pc.d.ts +183 -8
- package/options/pc.src.d.ts +183 -8
- package/options/pictorial.d.ts +202 -2
- package/options/pictorial.src.d.ts +202 -2
- package/options/pie.d.ts +196 -8
- package/options/pie.src.d.ts +196 -8
- package/options/pivotpoints.d.ts +1199 -0
- package/options/pivotpoints.src.d.ts +1199 -0
- package/options/pointandfigure.d.ts +980 -0
- package/options/pointandfigure.src.d.ts +980 -0
- package/options/polygon.d.ts +234 -0
- package/options/polygon.src.d.ts +234 -0
- package/options/ppo.d.ts +1156 -8
- package/options/ppo.src.d.ts +1156 -8
- package/options/priceenvelopes.d.ts +1229 -0
- package/options/priceenvelopes.src.d.ts +1229 -0
- package/options/psar.d.ts +1156 -5
- package/options/psar.src.d.ts +1156 -5
- package/options/pyramid.d.ts +837 -2
- package/options/pyramid.src.d.ts +837 -2
- package/options/renko.d.ts +247 -10
- package/options/renko.src.d.ts +247 -10
- package/options/roc.d.ts +1215 -0
- package/options/roc.src.d.ts +1215 -0
- package/options/rsi.d.ts +1157 -5
- package/options/rsi.src.d.ts +1157 -5
- package/options/sankey.d.ts +276 -8
- package/options/sankey.src.d.ts +276 -8
- package/options/scatter.d.ts +3043 -1018
- package/options/scatter.src.d.ts +3043 -1018
- package/options/series.d.ts +175 -0
- package/options/series.src.d.ts +175 -0
- package/options/slowstochastic.d.ts +183 -0
- package/options/slowstochastic.src.d.ts +183 -0
- package/options/sma.d.ts +211 -0
- package/options/sma.src.d.ts +211 -0
- package/options/solidgauge.d.ts +218 -0
- package/options/solidgauge.src.d.ts +218 -0
- package/options/spline.d.ts +230 -0
- package/options/spline.src.d.ts +230 -0
- package/options/stochastic.d.ts +1170 -8
- package/options/stochastic.src.d.ts +1170 -8
- package/options/streamgraph.d.ts +1345 -8
- package/options/streamgraph.src.d.ts +1345 -8
- package/options/sunburst.d.ts +286 -9
- package/options/sunburst.src.d.ts +286 -9
- package/options/supertrend.d.ts +1208 -0
- package/options/supertrend.src.d.ts +1208 -0
- package/options/tema.d.ts +1140 -8
- package/options/tema.src.d.ts +1140 -8
- package/options/tiledwebmap.d.ts +164 -0
- package/options/tiledwebmap.src.d.ts +164 -0
- package/options/tilemap.d.ts +687 -0
- package/options/tilemap.src.d.ts +687 -0
- package/options/timeline.d.ts +282 -0
- package/options/timeline.src.d.ts +282 -0
- package/options/treegraph.d.ts +982 -0
- package/options/treegraph.src.d.ts +982 -0
- package/options/treemap.d.ts +1396 -22
- package/options/treemap.src.d.ts +1396 -22
- package/options/trendline.d.ts +211 -0
- package/options/trendline.src.d.ts +211 -0
- package/options/trix.d.ts +178 -8
- package/options/trix.src.d.ts +178 -8
- package/options/variablepie.d.ts +686 -8
- package/options/variablepie.src.d.ts +686 -8
- package/options/variwide.d.ts +178 -2
- package/options/variwide.src.d.ts +178 -2
- package/options/vbp.d.ts +576 -0
- package/options/vbp.src.d.ts +576 -0
- package/options/vector.d.ts +660 -0
- package/options/vector.src.d.ts +660 -0
- package/options/venn.d.ts +654 -0
- package/options/venn.src.d.ts +654 -0
- package/options/vwap.d.ts +1157 -5
- package/options/vwap.src.d.ts +1157 -5
- package/options/waterfall.d.ts +1254 -8
- package/options/waterfall.src.d.ts +1254 -8
- package/options/williamsr.d.ts +209 -0
- package/options/williamsr.src.d.ts +209 -0
- package/options/windbarb.d.ts +222 -2
- package/options/windbarb.src.d.ts +222 -2
- package/options/wma.d.ts +1156 -5
- package/options/wma.src.d.ts +1156 -5
- package/options/wordcloud.d.ts +682 -0
- package/options/wordcloud.src.d.ts +682 -0
- package/options/xrange.d.ts +1168 -0
- package/options/xrange.src.d.ts +1168 -0
- package/options/zigzag.d.ts +1197 -0
- package/options/zigzag.src.d.ts +1197 -0
- package/package.json +1 -1
- package/standalone-navigator.js +4 -4
- package/standalone-navigator.src.js +884 -803
- package/themes/adaptive.js +2 -2
- package/themes/adaptive.src.js +22 -43
- package/themes/avocado.js +2 -2
- package/themes/avocado.src.js +17 -38
- package/themes/dark-unica.js +2 -2
- package/themes/dark-unica.src.js +17 -38
- package/themes/grid-light.js +2 -2
- package/themes/grid-light.src.js +17 -38
- package/themes/high-contrast.js +2 -2
- package/themes/high-contrast.src.js +17 -38
- package/themes/sand-signika.js +2 -2
- package/themes/sand-signika.src.js +17 -38
- package/themes/sunset.js +2 -2
- package/themes/sunset.src.js +17 -38
package/modules/boost.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
!/**
|
|
2
|
-
* Highcharts JS v13.0
|
|
2
|
+
* Highcharts JS v13.1.0 (2026-09-18)
|
|
3
3
|
* @module highcharts/modules/boost
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
*
|
|
@@ -11,4 +11,4 @@
|
|
|
11
11
|
* A commercial license may be required depending on use,
|
|
12
12
|
* see www.highcharts.com/license
|
|
13
13
|
*
|
|
14
|
-
* */function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(e._Highcharts,e._Highcharts.Color):"function"==typeof define&&define.amd?define("highcharts/modules/boost",["highcharts/highcharts"],function(e){return t(e,e.Color)}):"object"==typeof exports?exports["highcharts/modules/boost"]=t(e._Highcharts,e._Highcharts.Color):e.Highcharts=t(e.Highcharts,e.Highcharts.Color)}("u"<typeof window?this:window,(e,t)=>(()=>{"use strict";let i,r,s;var o,n,a,l,h,d,f={620(e){e.exports=t},944(t){t.exports=e}};let u={};function g(e){let t=u[e];if(void 0!==t)return t.exports;let i=u[e]={exports:{}};return f[e](i,i.exports,g),i.exports}g.n=e=>{let t=e&&e.__esModule?()=>e.default:()=>e;return g.d(t,{a:t}),t},g.d=(e,t)=>{if(Array.isArray(t))for(var i=0;i<t.length;){var r=t[i++],s=t[i++];g.o(e,r)?0===s&&i++:0===s?Object.defineProperty(e,r,{enumerable:!0,value:t[i++]}):Object.defineProperty(e,r,{enumerable:!0,get:s})}else for(var r in t)g.o(t,r)&&!g.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},g.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);let m={};g.d(m,{default:()=>ex});var c=g(944),b=g.n(c);let p=["area","areaspline","arearange","column","columnrange","bar","line","scatter","heatmap","bubble","treemap"],x={};p.forEach(e=>{x[e]=!0});let{composed:A}=b();function y(e){let t=e.series,i=e.boost=e.boost||{},r=e.options.boost||{},s=r.seriesThreshold??50;if(t.length>=s)return!0;if(1===t.length)return!1;let o=r.allowForce;if(void 0===o){for(let t of(o=!0,e.xAxis))if((t.min??-1/0)>(t.dataMin??-1/0)||(t.max??1/0)<(t.dataMax??1/0)){o=!1;break}}if(void 0!==i.forceChartBoost){if(o)return i.forceChartBoost;i.forceChartBoost=void 0}let n=0,a=0,l=0,h;for(let e of t)0!==(h=e.options).boostThreshold&&!1!==e.visible&&"heatmap"!==e.type&&(++a,x[e.type]&&++n,function(...e){let t=-Number.MAX_VALUE;return e.forEach(e=>{if(null!=e&&void 0!==e.length&&e.length>0)return t=e.length,!0}),t}(e.getColumn("x",!0),h.data||[],e.points)>=(h.boostThreshold||Number.MAX_VALUE)&&++l);return i.forceChartBoost=o&&(n===t.length&&l===n||!!i.markerGroup&&n===a&&l===n||l>5),i.forceChartBoost}function v(e){function t(){e.boost&&e.boost.wgl&&y(e)&&e.boost.wgl.render(e)}(0,c.addEvent)(e,"predraw",function(){e.boost=e.boost||{},e.boost.forceChartBoost=void 0,e.boosted=!1,e.axes.some(e=>e.isPanning)||e.boost.clear?.(),e.boost.canvas&&e.boost.wgl&&y(e)&&e.boost.wgl.allocateBuffer(e),e.boost.markerGroup&&e.xAxis&&e.xAxis.length>0&&e.yAxis&&e.yAxis.length>0&&e.boost.markerGroup.translate(e.xAxis[0].pos,e.yAxis[0].pos)}),(0,c.addEvent)(e,"load",t,{order:-1}),(0,c.addEvent)(e,"redraw",t);let i=-1,r=-1;(0,c.addEvent)(e.pointer,"afterGetHoverData",t=>{let s=t.hoverPoint?.series;if(e.boost=e.boost||{},e.boost.markerGroup&&s){let t=e.inverted?s.yAxis:s.xAxis,o=e.inverted?s.xAxis:s.yAxis;(t&&t.pos!==i||o&&o.pos!==r)&&(e.series.forEach(e=>{e.halo?.hide()}),e.boost.markerGroup.translate(t.pos,o.pos),i=t.pos,r=o.pos)}})}let P={compose:function(e,t){return t&&(0,c.pushUnique)(A,"Boost.Chart")&&e.prototype.callbacks.push(v),e},getBoostClipRect:function(e,t){let i=e.navigator,r={x:e.plotLeft,y:e.plotTop,width:e.plotWidth,height:e.plotHeight};if(i&&e.inverted?(r.width+=i.top+i.height,i.opposite||(r.x=i.left)):i&&!e.inverted&&(r.height=i.top+i.height-e.plotTop),t.is){let{xAxis:i,yAxis:s}=t;if(r=e.getClipBox(t),e.inverted){let e=r.width;r.width=r.height,r.height=e,r.x=s.pos,r.y=i.pos}else r.x=i.pos,r.y=s.pos}if(t===e){let t=e.inverted?e.xAxis:e.yAxis;e.inverted||i||!e.clipBox||(r.width=e.clipBox.width,r.height=e.clipBox.height),t.length<=1&&(r.y=Math.min(t[0].pos,r.y),r.height=t[0].pos-e.plotTop+t[0].len)}return r},isChartSeriesBoosting:y};var T=g(620),C=g.n(T);let k={area:"LINES",arearange:"LINES",areaspline:"LINES",column:"LINES",columnrange:"LINES",bar:"LINES",line:"LINE_STRIP",scatter:"POINTS",heatmap:"TRIANGLES",treemap:"TRIANGLES",bubble:"POINTS"},E=class{constructor(e){if(this.errors=[],this.uLocations={},this.gl=e,e&&!this.createShader())return}bind(){this.gl&&this.shaderProgram&&this.gl.useProgram(this.shaderProgram)}createShader(){let e=this.stringToProgram("#version 100\n#define LN10 2.302585092994046\nprecision highp float;\nattribute vec4 aVertexPosition;\nattribute vec4 aColor;\nvarying highp vec2 position;\nvarying highp vec4 vColor;\nuniform mat4 uPMatrix;\nuniform float pSize;\nuniform float translatedThreshold;\nuniform bool hasThreshold;\nuniform bool skipTranslation;\nuniform float xAxisTrans;\nuniform float xAxisMin;\nuniform float xAxisMax;\nuniform float xAxisMinPad;\nuniform float xAxisPointRange;\nuniform float xAxisLen;\nuniform bool xAxisPostTranslate;\nuniform float xAxisOrdinalSlope;\nuniform float xAxisOrdinalOffset;\nuniform float xAxisPos;\nuniform bool xAxisCVSCoord;\nuniform bool xAxisIsLog;\nuniform bool xAxisReversed;\nuniform float yAxisTrans;\nuniform float yAxisMin;\nuniform float yAxisMax;\nuniform float yAxisMinPad;\nuniform float yAxisPointRange;\nuniform float yAxisLen;\nuniform bool yAxisPostTranslate;\nuniform float yAxisOrdinalSlope;\nuniform float yAxisOrdinalOffset;\nuniform float yAxisPos;\nuniform bool yAxisCVSCoord;\nuniform bool yAxisIsLog;\nuniform bool yAxisReversed;\nuniform bool isCircle;\nuniform bool isBubble;\nuniform bool bubbleSizeByArea;\nuniform float bubbleZMin;\nuniform float bubbleZMax;\nuniform float bubbleZThreshold;\nuniform float bubbleMinSize;\nuniform float bubbleMaxSize;\nuniform bool bubbleSizeAbs;\nuniform bool isInverted;\nfloat bubbleRadius(){\nfloat value = aVertexPosition.w;\nfloat zMax = bubbleZMax;\nfloat zMin = bubbleZMin;\nfloat radius = 0.0;\nfloat pos = 0.0;\nfloat zRange = zMax - zMin;\nif (bubbleSizeAbs){\nvalue = value - bubbleZThreshold;\nzMax = max(zMax - bubbleZThreshold, zMin - bubbleZThreshold);\nzMin = 0.0;\n}\nif (value < zMin){\nradius = bubbleZMin / 2.0 - 1.0;\n} else {\npos = zRange > 0.0 ? (value - zMin) / zRange : 0.5;\nif (bubbleSizeByArea && pos > 0.0){\npos = sqrt(pos);\n}\nradius = ceil(bubbleMinSize + pos * (bubbleMaxSize - bubbleMinSize)) / 2.0;\n}\nreturn radius * 2.0;\n}\nfloat translate(float val,\nfloat pointPlacement,\nfloat localA,\nfloat localMin,\nfloat minPixelPadding,\nfloat pointRange,\nfloat len,\nbool cvsCoord,\nbool isLog,\nbool reversed\n){\nfloat sign = 1.0;\nfloat cvsOffset = 0.0;\nif (cvsCoord) {\nsign *= -1.0;\ncvsOffset = len;\n}\nif (isLog) {\nval = log(val) / LN10;\n}\nif (reversed) {\nsign *= -1.0;\ncvsOffset -= sign * len;\n}\nreturn sign * (val - localMin) * localA + cvsOffset + \n(sign * minPixelPadding);\n}\nfloat xToPixels(float value) {\nif (skipTranslation){\nreturn value;// + xAxisPos;\n}\nreturn translate(value, 0.0, xAxisTrans, xAxisMin, xAxisMinPad, xAxisPointRange, xAxisLen, xAxisCVSCoord, xAxisIsLog, xAxisReversed);// + xAxisPos;\n}\nfloat yToPixels(float value, float checkThreshold) {\nfloat v;\nif (skipTranslation){\nv = value;// + yAxisPos;\n} else {\nv = translate(value, 0.0, yAxisTrans, yAxisMin, yAxisMinPad, yAxisPointRange, yAxisLen, yAxisCVSCoord, yAxisIsLog, yAxisReversed);// + yAxisPos;\nif (v > yAxisLen) {\nv = yAxisLen;\n}\n}\nif (checkThreshold > 0.0 && hasThreshold) {\nv = min(v, translatedThreshold);\n}\nreturn v;\n}\nvoid main(void) {\nif (isBubble){\ngl_PointSize = bubbleRadius();\n} else {\ngl_PointSize = pSize;\n}\nvColor = aColor;\nif (!skipTranslation && isCircle && (\naVertexPosition.x < xAxisMin ||\naVertexPosition.x > xAxisMax ||\naVertexPosition.y < yAxisMin ||\naVertexPosition.y > yAxisMax\n)) {\ngl_Position = uPMatrix * vec4(2.0, 2.0, 2.0, 1.0);\n} else if (skipTranslation && isInverted) {\ngl_Position = uPMatrix * vec4(aVertexPosition.y + yAxisPos, aVertexPosition.x + xAxisPos, 0.0, 1.0);\n} else if (isInverted) {\ngl_Position = uPMatrix * vec4(yToPixels(aVertexPosition.y, aVertexPosition.z) + yAxisPos, xToPixels(aVertexPosition.x) + xAxisPos, 0.0, 1.0);\n} else {\ngl_Position = uPMatrix * vec4(xToPixels(aVertexPosition.x) + xAxisPos, yToPixels(aVertexPosition.y, aVertexPosition.z) + yAxisPos, 0.0, 1.0);\n}\n}","vertex"),t=this.stringToProgram("precision highp float;\nuniform vec4 fillColor;\nvarying highp vec2 position;\nvarying highp vec4 vColor;\nuniform sampler2D uSampler;\nuniform bool isCircle;\nuniform bool hasColor;\nvoid main(void) {\nvec4 col = fillColor;\nvec4 tcol = texture2D(uSampler, gl_PointCoord.st);\nif (hasColor) {\ncol = vColor;\n}\nif (isCircle) {\ncol *= tcol;\nif (tcol.r < 0.0) {\ndiscard;\n} else {\ngl_FragColor = col;\n}\n} else {\ngl_FragColor = col;\n}\n}","fragment"),i=e=>this.gl.getUniformLocation(this.shaderProgram,e);return e&&t?(this.shaderProgram=this.gl.createProgram(),this.gl.attachShader(this.shaderProgram,e),this.gl.attachShader(this.shaderProgram,t),this.gl.linkProgram(this.shaderProgram),this.gl.getProgramParameter(this.shaderProgram,this.gl.LINK_STATUS))?(this.gl.useProgram(this.shaderProgram),this.gl.bindAttribLocation(this.shaderProgram,0,"aVertexPosition"),this.pUniform=i("uPMatrix"),this.psUniform=i("pSize"),this.fcUniform=i("fillColor"),this.isBubbleUniform=i("isBubble"),this.bubbleSizeAbsUniform=i("bubbleSizeAbs"),this.bubbleSizeAreaUniform=i("bubbleSizeByArea"),this.uSamplerUniform=i("uSampler"),this.skipTranslationUniform=i("skipTranslation"),this.isCircleUniform=i("isCircle"),this.isInverted=i("isInverted"),!0):(this.errors.push(this.gl.getProgramInfoLog(this.shaderProgram)),this.handleErrors(),this.shaderProgram=!1,!1):(this.shaderProgram=!1,this.handleErrors(),!1)}handleErrors(){this.errors.length&&(0,c.error)("[highcharts boost] shader error - "+this.errors.join("\n"))}stringToProgram(e,t){let i=this.gl.createShader("vertex"===t?this.gl.VERTEX_SHADER:this.gl.FRAGMENT_SHADER);return(this.gl.shaderSource(i,e),this.gl.compileShader(i),this.gl.getShaderParameter(i,this.gl.COMPILE_STATUS))?i:(this.errors.push("when compiling "+t+" shader:\n"+this.gl.getShaderInfoLog(i)),!1)}destroy(){this.gl&&this.shaderProgram&&(this.gl.deleteProgram(this.shaderProgram),this.shaderProgram=!1)}fillColorUniform(){return this.fcUniform}getProgram(){return this.shaderProgram}pointSizeUniform(){return this.psUniform}perspectiveUniform(){return this.pUniform}reset(){this.gl&&this.shaderProgram&&(this.gl.uniform1i(this.isBubbleUniform,0),this.gl.uniform1i(this.isCircleUniform,0))}setBubbleUniforms(e,t,i,r=1){let s=e.options,o=Number.MAX_VALUE,n=-Number.MAX_VALUE;if(this.gl&&this.shaderProgram&&e.is("bubble")){let a=e.getPxExtremes();o=s.zMin??(0,c.clamp)(t,!1===s.displayNegative?s.zThreshold:-Number.MAX_VALUE,o),n=s.zMax??Math.max(n,i),this.gl.uniform1i(this.isBubbleUniform,1),this.gl.uniform1i(this.isCircleUniform,1),this.gl.uniform1i(this.bubbleSizeAreaUniform,"width"!==e.options.sizeBy),this.gl.uniform1i(this.bubbleSizeAbsUniform,e.options.sizeByAbsoluteValue),this.setUniform("bubbleMinSize",a.minPxSize*r),this.setUniform("bubbleMaxSize",a.maxPxSize*r),this.setUniform("bubbleZMin",o),this.setUniform("bubbleZMax",n),this.setUniform("bubbleZThreshold",e.options.zThreshold)}}setColor(e){this.gl&&this.shaderProgram&&this.gl.uniform4f(this.fcUniform,e[0]/255,e[1]/255,e[2]/255,e[3])}setDrawAsCircle(e){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.isCircleUniform,+!!e)}setInverted(e){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.isInverted,e)}setPMatrix(e){this.gl&&this.shaderProgram&&this.gl.uniformMatrix4fv(this.pUniform,!1,e)}setPointSize(e){this.gl&&this.shaderProgram&&this.gl.uniform1f(this.psUniform,e)}setSkipTranslation(e){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.skipTranslationUniform,+(!0===e))}setTexture(e){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.uSamplerUniform,e)}setUniform(e,t){if(this.gl&&this.shaderProgram){let i=this.uLocations[e]=this.uLocations[e]||this.gl.getUniformLocation(this.shaderProgram,e);this.gl.uniform1f(i,t)}}},M=class{constructor(e,t,i){this.buffer=!1,this.iterator=0,this.preAllocated=!1,this.vertAttribute=!1,this.components=i||2,this.dataComponents=i,this.gl=e,this.shader=t}allocate(e){this.iterator=-1,this.preAllocated=new Float32Array(4*e)}bind(){if(!this.buffer)return!1;this.gl.vertexAttribPointer(this.vertAttribute,this.components,this.gl.FLOAT,!1,0,0)}build(e,t,i){let r;return(this.data=e||[],this.data&&0!==this.data.length||this.preAllocated)?(this.components=i||this.components,this.buffer&&this.gl.deleteBuffer(this.buffer),this.preAllocated||(r=new Float32Array(this.data)),this.buffer=this.gl.createBuffer(),this.gl.bindBuffer(this.gl.ARRAY_BUFFER,this.buffer),this.gl.bufferData(this.gl.ARRAY_BUFFER,this.preAllocated||r,this.gl.STATIC_DRAW),this.vertAttribute=this.gl.getAttribLocation(this.shader.getProgram(),t),this.gl.enableVertexAttribArray(this.vertAttribute),r=!1,!0):(this.destroy(),!1)}destroy(){this.buffer&&(this.gl.deleteBuffer(this.buffer),this.buffer=!1,this.vertAttribute=!1),this.iterator=0,this.components=this.dataComponents||2,this.data=[]}push(e,t,i,r){this.preAllocated&&(this.preAllocated[++this.iterator]=e,this.preAllocated[++this.iterator]=t,this.preAllocated[++this.iterator]=i,this.preAllocated[++this.iterator]=r)}render(e,t,i){let r=this.preAllocated?this.preAllocated.length:this.data?.length||0;return!!this.buffer&&!!r&&((!e||e>r||e<0)&&(e=0),(!t||t>r)&&(t=r),!(e>=t)&&(i=i||"POINTS",this.gl.drawArrays(this.gl[i],e/this.components,(t-e)/this.components),!0))}},{getBoostClipRect:w}=P,{parse:S}=C(),{doc:U,win:R}=b(),N={column:!0,columnrange:!0,bar:!0,area:!0,areaspline:!0,arearange:!0},_={scatter:!0,bubble:!0},L=["webgl","experimental-webgl","moz-webgl","webkit-3d"],z={},D=(e,t)=>{if(z[t])return z[t];let i=0===t.indexOf("var(")&&e[t.slice(4,-1).trim()];if(i)return z[t]=i,i;if(0===t.indexOf("color-mix(")){let i=/^color-mix\(in srgb,([a-z0-9\(\)\-\#]+),([a-z0-9\(\)\-\#]+) ([0-9\.%]+)/.exec(t);if(i){let r=parseFloat(i[3])/100,s=D(e,i[1]),o=D(e,i[2]),n=new(C())(s).tweenTo(new(C())(o),r);return z[t]=n,n}}return t};class O{static orthoMatrix(e,t){return[2/e,0,0,0,0,-(2/t),0,0,0,0,-2,0,-1,1,-1,1]}static seriesPointCount(e){let t,i,r;return e.boosted?(t=!!e.options.stacking,i=(e.getColumn("x").length?e.getColumn("x"):void 0)||e.options.xData||e.getColumn("x",!0),r=(t?e.data:i||e.options.data).length,"treemap"===e.type?r*=12:"heatmap"===e.type?r*=6:N[e.type]&&(r*=2),r):0}constructor(e){this.data=[],this.height=0,this.isInited=!1,this.markerData=[],this.series=[],this.textureHandles={},this.width=0,this.postRenderCallback=e,this.settings={pointSize:1,lineWidth:1,fillColor:"#AA00AA",useAlpha:!0,usePreallocated:!1,useGPUTranslations:!1,debug:{timeRendering:!1,timeSeriesProcessing:!1,timeSetup:!1,timeBufferCopy:!1,timeKDTree:!1,showSkipSummary:!1}}}getPixelRatio(){return this.settings.pixelRatio||R.devicePixelRatio||1}setOptions(e){"pixelRatio"in e||(e.pixelRatio=1),(0,c.merge)(!0,this.settings,e)}allocateBuffer(e){let t=this.vbuffer,i=0;this.settings.usePreallocated&&(e.series.forEach(e=>{e.boosted&&(i+=O.seriesPointCount(e))}),t&&t.allocate(i))}allocateBufferForSingleSeries(e){let t=this.vbuffer,i=0;this.settings.usePreallocated&&(e.boosted&&(i=O.seriesPointCount(e)),t&&t.allocate(i))}clear(){let e=this.gl;e&&e.clear(e.COLOR_BUFFER_BIT|e.DEPTH_BUFFER_BIT)}pushSeriesData(e,t){let i=this.data,r=this.settings,s=this.vbuffer,o=e.pointArrayMap&&"low,high"===e.pointArrayMap.join(","),{chart:n,options:a,sorted:l,xAxis:h,yAxis:d}=e,f=!!a.stacking,u=a.data,g=e.xAxis.getExtremes(),m=g.min-(e.xAxis.minPointOffset||0),b=g.max+(e.xAxis.minPointOffset||0),p=e.yAxis.getExtremes(),x=p.min-(e.yAxis.minPointOffset||0),A=p.max+(e.yAxis.minPointOffset||0),y=(e.getColumn("x").length?e.getColumn("x"):void 0)||a.xData||e.getColumn("x",!0),v=(e.getColumn("y").length?e.getColumn("y"):void 0)||a.yData||e.getColumn("y",!0),P=(e.getColumn("z").length?e.getColumn("z"):void 0)||a.zData||e.getColumn("z",!0),T=!y||0===y.length,{colorByPoint:k,connectNulls:E,threshold:M,zoneAxis:w="y",zones:U}=a,R=e.points||!1,_=f?e.data:y||u,L={x:Number.MAX_VALUE,y:0},z={x:-Number.MAX_VALUE,y:0},O=void 0===n.index,I=N[e.type],G=this.getPixelRatio(),B=n.options.colors||[],V=e.chart.plotWidth,X=!1,F=!1,H,j,q=0,W=!1,Y,K,Z,Q,$=-1,J=!1,ee=!1,et,ei=!1,er=!1,es,eo=!1,en=!0,ea=!0,el=[],eh=!1,ed=!1,ef=0,eu=0;if(a.boostData&&a.boostData.length>0)return;if(a.gapSize&&(ed="value"!==a.gapUnit?a.gapSize*e.closestPointRange:a.gapSize),n.boost){let e=n.renderer.circle(0,0,1).attr({fill:"var(--highcharts-background-color)"}).add(),t=new(C())(getComputedStyle(e.element).getPropertyValue("fill")).get(),i=new(C())(n.palette?.cssVars.dark["--highcharts-background-color"]||"").get();e.destroy(),n.boost.cssVars=n.palette?.cssVars[t===i?"dark":"light"]}let eg=n.boost?.cssVars||{};if(U?.length&&(el=[],U.forEach((e,t)=>{if("string"==typeof e.color){let i=S(D(eg,e.color)).rgba;i[0]/=255,i[1]/=255,i[2]/=255,el[t]=i,eh||void 0!==e.value||(eh=i)}}),!eh)){let t=e.pointAttribs&&e.pointAttribs().fill||e.color;eh=S("string"==typeof t?D(eg,t):"").rgba,eh[0]/=255,eh[1]/=255,eh[2]/=255}n.inverted&&(V=e.chart.plotHeight),e.closestPointRangePx=Number.MAX_VALUE;let em=e=>{e&&(t.colorData.push(e[0]),t.colorData.push(e[1]),t.colorData.push(e[2]),t.colorData.push(e[3]))},ec=(e,o,n,a=1,l)=>{em(l),1!==G&&(!r.useGPUTranslations||t.skipTranslation)&&(e*=G,o*=G,a*=G),r.usePreallocated&&s?(s.push(e,o,+!!n,a),ef+=4):(i.push(e),i.push(o),i.push(n?G:0),i.push(a))},eb=()=>{t.segments.length&&(t.segments[t.segments.length-1].to=i.length||ef)},ep=()=>{t.segments.length&&t.segments[t.segments.length-1].from===(i.length||ef)||(eb(),t.segments.push({from:i.length||ef}))},ex=(e,t,i,r,s)=>{em(s),ec(e+i,t),em(s),ec(e,t),em(s),ec(e,t+r),em(s),ec(e,t+r),em(s),ec(e+i,t+r),em(s),ec(e+i,t)};if(ep(),R&&R.length>0){t.skipTranslation=!0,t.drawMode="TRIANGLES",R[0].node&&R[0].node.levelDynamic&&R.sort((e,t)=>{if(e.node){if(e.node.levelDynamic>t.node.levelDynamic)return 1;if(e.node.levelDynamic<t.node.levelDynamic)return -1}return 0}),R.forEach(t=>{let i,r,s=t.plotY;if(void 0!==s&&!isNaN(s)&&null!==t.y&&t.shapeArgs){let{x:s=0,y:o=0,width:a=0,height:l=0}=t.shapeArgs;i=(r=n.styledMode?t.series.colorAttribs(t):r=t.series.pointAttribs(t))["stroke-width"]||0,"string"==typeof r.fill&&(r.fill=D(eg,r.fill)),es=S(r.fill).rgba,es[0]/=255,es[1]/=255,es[2]/=255,e.is("treemap")&&(i=i||1,"string"==typeof r.stroke&&(r.stroke=D(eg,r.stroke)),j=S(r.stroke).rgba,j[0]/=255,j[1]/=255,j[2]/=255,ex(s,o,a,l,j),i/=2),e.is("heatmap")&&n.inverted&&(s=h.len-s,o=d.len-o,a=-a,l=-l),ex(s+i,o+i,a-2*i,l-2*i,es)}}),eb();return}for(;$<_.length-1;){if(void 0===(Z=_[++$]))continue;if(O)break;let i=u&&u[$];if(!T){let t;(0,c.isObject)(i,!0)&&i.color&&(t=S(i.color).rgba);let r=e.options.keys?.indexOf("color");Array.isArray(i)&&r&&"string"==typeof i[r]?t=S(i[r]).rgba:k&&(eu%=B.length,t=S(D(eg,B[eu])).rgba),t&&((es=t)[0]=t[0]/255,es[1]=t[1]/255,es[2]=t[2]/255,es[3]=t[3]),eu++}if(T?(Y=Z[0],K=Z[1],_[$+1]&&(ee=_[$+1][0]),_[$-1]&&(J=_[$-1][0]),Z.length>=3&&(Q=Z[2],Z[2]>t.zMax&&(t.zMax=Z[2]),Z[2]<t.zMin&&(t.zMin=Z[2]))):(Y=Z,K=v?.[$],_[$+1]&&(ee=_[$+1]),_[$-1]&&(J=_[$-1]),P&&P.length&&(Q=P[$],P[$]>t.zMax&&(t.zMax=P[$]),P[$]<t.zMin&&(t.zMin=P[$]))),!E&&(null===Y||null===K)){ep();continue}if(ee&&ee>=m&&ee<=b&&(ei=!0),J&&J>=m&&J<=b&&(er=!0),o?(T&&(K=Z.slice(1,3)),et=e.getColumn("low",!0)?.[$],K=e.getColumn("high",!0)?.[$]||0):f&&(Y=Z.x,et=(K=Z.stackY)-Z.y),null!=x&&null!=A&&(en=K>=x&&K<=A),!l&&!en||(Y>b&&z.x<b&&(z.x=Y,z.y=K),Y<m&&L.x>m&&(L.x=Y,L.y=K),null===K&&E))continue;if(null===K||!en&&_.length>1&&!ei&&!er){ep();continue}if((l&&(ee>=m||Y>=m)&&(J<=b||Y<=b)||!l&&Y>=m&&Y<=b)&&(eo=!0),eo||ei||er){if(ed&&Y-J>ed&&ep(),U?.length){let e,t,i="x"===w?Y:K;U.some((e,r)=>void 0!==e.value&&i<e.value&&(t=r,!0)),void 0!==t&&el[t]&&(e=el[t]),es=e||eh||es}if(r.useGPUTranslations||(t.skipTranslation=!0,Y=h.toPixels(Y,!0),K=d.toPixels(K,!0),!(Y>V)||"POINTS"!==t.drawMode)){if(t.hasMarkers&&eo&&!1!==X&&(e.closestPointRangePx=Math.min(e.closestPointRangePx,Math.abs(Y-X))),!r.useGPUTranslations&&!r.usePreallocated&&X&&1>Math.abs(Y-X)&&F&&1>Math.abs(K-F)){r.debug.showSkipSummary&&++q;continue}I&&(H=et||0,(!1===et||void 0===et)&&(H=K<0?K:0),(o||f)&&!d.logarithmic||(H=Math.max(M??x,x)),r.useGPUTranslations||(H=d.toPixels(H,!0)),ec(Y,H,!1,0,es)),a.step&&!ea&&ec(Y,F,!1,2,es),ec(Y,K,!1,"bubble"===e.type?Q||1:2,es),X=Y,F=K,W=!0,ea=!1}}}r.debug.showSkipSummary&&console.log("skipped points:",q);let eA=(e,i)=>{if(r.useGPUTranslations||(t.skipTranslation=!0,e.x=h.toPixels(e.x,!0),e.y=d.toPixels(e.y,!0)),i){this.data=[e.x,e.y,0,2].concat(this.data);return}ec(e.x,e.y,0,2)};!W&&!1!==E&&"line_strip"===e.drawMode&&(L.x<Number.MAX_VALUE&&eA(L,!0),z.x>-Number.MAX_VALUE&&eA(z)),eb()}pushSeries(e){let t=this.markerData,i=this.series,r=this.settings;i.length>0&&i[i.length-1].hasMarkers&&(i[i.length-1].markerTo=t.length),r.debug.timeSeriesProcessing&&console.time("building "+e.type+" series");let s={segments:[],markerFrom:t.length,colorData:[],series:e,zMin:Number.MAX_VALUE,zMax:-Number.MAX_VALUE,hasMarkers:!!e.options.marker&&!1!==e.options.marker.enabled,showMarkers:!0,drawMode:k[e.type]||"LINE_STRIP"};e.index>=i.length?i.push(s):i[e.index]=s,this.pushSeriesData(e,s),r.debug.timeSeriesProcessing&&console.timeEnd("building "+e.type+" series")}flush(){let e=this.vbuffer;this.data=[],this.markerData=[],this.series=[],e&&e.destroy()}setXAxis(e){let t=this.shader;if(!t)return;let i=this.getPixelRatio();t.setUniform("xAxisTrans",e.transA*i),t.setUniform("xAxisMin",e.min),t.setUniform("xAxisMax",e.max),t.setUniform("xAxisMinPad",e.minPixelPadding*i),t.setUniform("xAxisPointRange",e.pointRange),t.setUniform("xAxisLen",e.len*i),t.setUniform("xAxisPos",e.pos*i),t.setUniform("xAxisCVSCoord",!e.horiz),t.setUniform("xAxisIsLog",!!e.logarithmic),t.setUniform("xAxisReversed",!!e.reversed)}setYAxis(e){let t=this.shader;if(!t)return;let i=this.getPixelRatio();t.setUniform("yAxisTrans",e.transA*i),t.setUniform("yAxisMin",e.min),t.setUniform("yAxisMax",e.max),t.setUniform("yAxisMinPad",e.minPixelPadding*i),t.setUniform("yAxisPointRange",e.pointRange),t.setUniform("yAxisLen",e.len*i),t.setUniform("yAxisPos",e.pos*i),t.setUniform("yAxisCVSCoord",!e.horiz),t.setUniform("yAxisIsLog",!!e.logarithmic),t.setUniform("yAxisReversed",!!e.reversed)}setThreshold(e,t){let i=this.shader;i&&(i.setUniform("hasThreshold",e),i.setUniform("translatedThreshold",t))}renderChart(e){let t=this.gl,i=this.settings,r=this.shader,s=this.vbuffer;z={};let o=this.getPixelRatio();if(!e)return!1;this.width=e.chartWidth*o,this.height=e.chartHeight*o;let n=this.height,a=this.width,l=e.options.colors||[];if(!t||!r||!a||!n)return!1;i.debug.timeRendering&&console.time("gl rendering"),t.canvas.width=a,t.canvas.height=n,r.bind(),t.viewport(0,0,a,n),r.setPMatrix(O.orthoMatrix(a,n)),i.lineWidth>1&&!b().isMS&&t.lineWidth(i.lineWidth),s&&(s.build(this.data,"aVertexPosition",4),s.bind()),r.setInverted(e.inverted),this.series.forEach((a,h)=>{let d=a.series.options,f=d.marker,u=void 0!==d.lineWidth?d.lineWidth:1,g=d.threshold,m=(0,c.isNumber)(g),b=a.series.yAxis.getThreshold(g),p=(d.marker?d.marker.enabled:null)??(!!a.series.xAxis.isRadial||null)??a.series.closestPointRangePx>2*((d.marker?d.marker.radius:10)||10),x=this.textureHandles[f&&f.symbol||a.series.symbol]||this.textureHandles.circle,A,y,v,P=[];if(0!==a.segments.length&&a.segments[0].from!==a.segments[0].to&&(x.isReady&&(t.bindTexture(t.TEXTURE_2D,x.handle),r.setTexture(x.handle)),e.styledMode?a.series.markerGroup===a.series.chart.boost?.markerGroup?(delete a.series.markerGroup,a.series.markerGroup=a.series.plotGroup("markerGroup","markers","visible",1,e.seriesGroup).addClass("highcharts-tracker"),v=a.series.markerGroup.getStyle("fill"),a.series.markerGroup.destroy(),a.series.markerGroup=a.series.chart.boost?.markerGroup):v=a.series.markerGroup?.getStyle("fill"):(v="POINTS"===a.drawMode&&a.series.pointAttribs&&a.series.pointAttribs().fill||a.series.color,d.colorByPoint&&"string"==typeof l[h]&&(v=l[h])),a.series.fillOpacity&&d.fillOpacity&&v&&(v=new(C())(v).setOpacity(d.fillOpacity??1).get()),"string"==typeof v&&(v=D(e.boost?.cssVars||{},v)),P=S(v).rgba,i.useAlpha||(P[3]=1),"add"===d.boostBlending?(t.blendFunc(t.SRC_ALPHA,t.ONE),t.blendEquation(t.FUNC_ADD)):"mult"===d.boostBlending||"multiply"===d.boostBlending?t.blendFunc(t.DST_COLOR,t.ZERO):"darken"===d.boostBlending?(t.blendFunc(t.ONE,t.ONE),t.blendEquation(t.FUNC_MIN)):t.blendFuncSeparate(t.SRC_ALPHA,t.ONE_MINUS_SRC_ALPHA,t.ONE,t.ONE_MINUS_SRC_ALPHA),r.reset(),a.colorData.length>0?(r.setUniform("hasColor",1),(y=new M(t,r)).build(Array(a.segments[0].from).concat(a.colorData),"aColor",4),y.bind()):(r.setUniform("hasColor",0),t.disableVertexAttribArray(t.getAttribLocation(r.getProgram(),"aColor"))),r.setColor(P),this.setXAxis(a.series.xAxis),this.setYAxis(a.series.yAxis),this.setThreshold(m,b),"POINTS"===a.drawMode&&r.setPointSize(((d.marker&&d.marker.radius)??.5)*2*o),r.setSkipTranslation(a.skipTranslation),"bubble"===a.series.type&&r.setBubbleUniforms(a.series,a.zMin,a.zMax,o),r.setDrawAsCircle(_[a.series.type]||!1),s)){if(u>0||"LINE_STRIP"!==a.drawMode){let{x:i,y:r,width:l,height:h}=w(e,a.series);for(t.enable(t.SCISSOR_TEST),t.scissor(i*o,n-(r+h)*o,l*o,h*o),A=0;A<a.segments.length;A++)s.render(a.segments[A].from,a.segments[A].to,a.drawMode);t.disable(t.SCISSOR_TEST)}if(a.hasMarkers&&p)for(r.setPointSize(((d.marker&&d.marker.radius)??5)*2*o),r.setDrawAsCircle(!0),A=0;A<a.segments.length;A++)s.render(a.segments[A].from,a.segments[A].to,"POINTS")}}),i.debug.timeRendering&&console.timeEnd("gl rendering"),this.postRenderCallback&&this.postRenderCallback(this),this.flush()}render(e){if(this.clear(),e.renderer.forExport)return this.renderChart(e);this.isInited?this.renderChart(e):setTimeout(()=>{this.render(e)},1)}setSize(e,t){let i=this.shader;i&&(this.width!==e||this.height!==t)&&(this.width=e,this.height=t,i.bind(),i.setPMatrix(O.orthoMatrix(e,t)))}init(e,t){let i=this.settings;if(this.isInited=!1,!e)return!1;i.debug.timeSetup&&console.time("gl setup");for(let t=0;t<L.length&&(this.gl=e.getContext(L[t],{}),!this.gl);++t);let r=this.gl;if(!r)return!1;t||this.flush(),r.enable(r.BLEND),r.blendFunc(r.SRC_ALPHA,r.ONE_MINUS_SRC_ALPHA),r.disable(r.DEPTH_TEST),r.depthFunc(r.LESS);let s=this.shader=new E(r);if(!s)return!1;this.vbuffer=new M(r,s);let o=(e,t)=>{let i={isReady:!1,texture:U.createElement("canvas"),handle:r.createTexture()},s=i.texture.getContext("2d");this.textureHandles[e]=i,i.texture.width=512,i.texture.height=512,s.mozImageSmoothingEnabled=!1,s.webkitImageSmoothingEnabled=!1,s.msImageSmoothingEnabled=!1,s.imageSmoothingEnabled=!1,s.strokeStyle="rgba(255, 255, 255, 0)",s.fillStyle="#FFF",t(s);try{r.activeTexture(r.TEXTURE0),r.bindTexture(r.TEXTURE_2D,i.handle),r.texImage2D(r.TEXTURE_2D,0,r.RGBA,r.RGBA,r.UNSIGNED_BYTE,i.texture),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_S,r.CLAMP_TO_EDGE),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_T,r.CLAMP_TO_EDGE),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MAG_FILTER,r.LINEAR),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MIN_FILTER,r.LINEAR),r.bindTexture(r.TEXTURE_2D,null),i.isReady=!0}catch{}};return o("circle",e=>{e.beginPath(),e.arc(256,256,256,0,2*Math.PI),e.stroke(),e.fill()}),o("square",e=>{e.fillRect(0,0,512,512)}),o("diamond",e=>{e.beginPath(),e.moveTo(256,0),e.lineTo(512,256),e.lineTo(256,512),e.lineTo(0,256),e.lineTo(256,0),e.fill()}),o("triangle",e=>{e.beginPath(),e.moveTo(0,512),e.lineTo(256,0),e.lineTo(512,512),e.lineTo(0,512),e.fill()}),o("triangle-down",e=>{e.beginPath(),e.moveTo(0,0),e.lineTo(256,512),e.lineTo(512,0),e.lineTo(0,0),e.fill()}),this.isInited=!0,i.debug.timeSetup&&console.timeEnd("gl setup"),!0}destroy(){let e=this.gl,t=this.shader,i=this.vbuffer;this.flush(),i&&i.destroy(),t&&t.destroy(),e&&((0,c.objectEach)(this.textureHandles,t=>{t.handle&&e.deleteTexture(t.handle)}),e.canvas.width=1,e.canvas.height=1)}}let{setLength:I,splice:G}={convertToNumber:function(e,t){switch(typeof e){case"boolean":return+!!e;case"number":return isNaN(e)&&!t?null:e;default:return isNaN(e=parseFloat(`${e??""}`))&&!t?null:e}},setLength:function(e,t,i){return Array.isArray(e)?(e.length=t,e):e[i?"subarray":"slice"](0,t)},splice:function(e,t,i,r,s=[]){if(Array.isArray(e))return Array.isArray(s)||(s=Array.from(s)),{removed:e.splice(t,i,...s),array:e};let o=Object.getPrototypeOf(e).constructor,n=e[r?"subarray":"slice"](t,t+i),a=new o(e.length-i+s.length);return a.set(e.subarray(0,t),0),a.set(s,t),a.set(e.subarray(t+i),t+s.length),{removed:n,array:a}}},B=class{constructor(e={}){this.isDataTable=!0,this.autoId=!e.id,this.columns={},this.id=e.id||(0,c.uniqueKey)(),this.rowCount=0,this.versionTag=(0,c.uniqueKey)();let t=0;(0,c.objectEach)(e.columns||{},(e,i)=>{this.columns[i]=e.slice(),t=Math.max(t,e.length)}),this.applyRowCount(t)}applyRowCount(e){this.rowCount=e,(0,c.objectEach)(this.columns,(t,i)=>{t.length!==e&&(this.columns[i]=I(t,e))})}deleteRows(e,t=1){if(t>0&&e<this.rowCount){let i=0;(0,c.objectEach)(this.columns,(r,s)=>{this.columns[s]=G(r,e,t).array,i=r.length}),this.rowCount=i}(0,c.fireEvent)(this,"afterDeleteRows",{rowIndex:e,rowCount:t}),this.versionTag=(0,c.uniqueKey)()}getColumn(e,t){return this.columns[e]}getColumns(e,t){return(e||Object.keys(this.columns)).reduce((e,t)=>(e[t]=this.columns[t],e),{})}getRowObject(e,t){let i={},r=this.columns;for(let s of(t??(t=Object.keys(this.columns)),t))i[s]=r[s]?.[e];return i}setColumn(e,t=[],i=0,r){this.setColumns({[e]:t},i,r)}setColumns(e,t,i){let r=this.rowCount;(0,c.objectEach)(e,(e,t)=>{this.columns[t]=e.slice(),r=e.length}),this.applyRowCount(r),i?.silent||((0,c.fireEvent)(this,"afterSetColumns"),this.versionTag=(0,c.uniqueKey)())}setRow(e,t=this.rowCount,i,r){var s;let{columns:o}=this,n=i?this.rowCount+1:t+1,a=Object.keys(e);if(r?.addColumns!==!1)for(let e=0,t=a.length;e<t;e++)o[s=a[e]]||(o[s]=Array(this.rowCount));(0,c.objectEach)(o,(r,s)=>{r&&(i?r=G(r,t,0,!0,[e[s]]).array:r[t]=s in e?e[s]:r[t],o[s]=r)}),this.applyRowCount(Math.max(n,this.rowCount)),r?.silent||((0,c.fireEvent)(this,"afterSetRows",{rowIndex:t}),this.versionTag=(0,c.uniqueKey)())}getModified(){return this.modified||this}},{getBoostClipRect:V,isChartSeriesBoosting:X}=P,{getOptions:F}=b(),{composed:H,doc:j,noop:q,win:W}=b();function Y(e,t){let i=t.boost;e&&i&&i.target&&i.canvas&&!X(t.chart)&&e.allocateBufferForSingleSeries(t)}function K(e){return(e&&e.options&&e.options.boost&&e.options.boost.enabled)??!0}function Z(e,t){let i=e.constructor,s=e.seriesGroup||t.group,o=e.chartWidth,n=e.chartHeight,a=e,l="u">typeof SVGForeignObjectElement,h=!1;X(e)?a=e:(a=t,h=!!(t.options.events?.click||t.options.point?.events?.click));let d=a.boost=a.boost||{};if(l=!1,r||(r=j.createElement("canvas")),!d.target&&(d.canvas=r,e.renderer.forExport||!l?(a.renderTarget=d.target=e.renderer.image("",0,0,o,n).addClass("highcharts-boost-canvas").add(s),d.clear=function(){d.target.attr({href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="})},d.copy=function(){d.resize(),d.target.attr({href:d.canvas.toDataURL("image/png")})}):(d.targetFo=e.renderer.createElement("foreignObject").add(s),a.renderTarget=d.target=j.createElement("canvas"),d.targetCtx=d.target.getContext("2d"),d.targetFo.element.appendChild(d.target),d.clear=function(){d.target.width=d.canvas.width,d.target.height=d.canvas.height},d.copy=function(){d.target.width=d.canvas.width,d.target.height=d.canvas.height,d.targetCtx.drawImage(d.canvas,0,0)}),d.resize=function(){o=e.chartWidth,n=e.chartHeight,(d.targetFo||d.target).attr({x:0,y:0,width:o,height:n}).css({pointerEvents:h?void 0:"none",mixedBlendMode:"normal",opacity:1}).addClass(h?"highcharts-tracker":""),a instanceof i&&a.boost?.markerGroup?.translate(e.plotLeft,e.plotTop)},d.clipRect=e.renderer.clipRect(),(d.targetFo||d.target).attr({zIndex:t.options.zIndex}),a instanceof i&&(a.boost.markerGroup=a.renderer.g().add(s).translate(t.xAxis.pos,t.yAxis.pos))),d.canvas.width=o,d.canvas.height=n,d.clipRect){let t=V(e,a);d.clipRect.attr(t),e.navigator||t.width!==e.clipBox.width||t.height!==e.clipBox.height?(d.targetFo||d.target).clip(d.clipRect):s?.clip(e.renderer.clipRect(t.x-4,t.y,t.width+4,t.height+4))}return d.resize(),d.clear(),!d.wgl&&(d.wgl=new O(e=>{e.settings.debug.timeBufferCopy&&console.time("buffer copy"),d.copy(),e.settings.debug.timeBufferCopy&&console.timeEnd("buffer copy")}),d.wgl.init(d.canvas)||(0,c.error)("[highcharts boost] - unable to init WebGL renderer"),d.wgl.setOptions(e.options.boost||{}),a instanceof i&&d.wgl.allocateBuffer(e)),d.wgl.setSize(o,n),d.wgl}function Q(e){let t=e.points;if(t){let e,i;for(i=0;i<t.length;i+=1)(e=t[i])&&e.destroyElements&&e.destroyElements()}for(let t of(["graph","area","tracker"].forEach(t=>{let i=e[t];i&&(e[t]=i.destroy())}),e.zones))(0,c.destroyObjectProperties)(t,void 0,!0)}function $(e,t,i,r,s,o){let n=(s=s||0)+(r=r||3e3),a=!0;for(;a&&s<n&&s<e.length;)a=t(e[s],s),++s;a&&(s<e.length?o?$(e,t,i,r,s,o):W.requestAnimationFrame?W.requestAnimationFrame(function(){$(e,t,i,r,s)}):setTimeout($,0,e,t,i,r,s):i&&i())}function J(e,t){let i=e.options.boostThreshold??Number.MAX_VALUE;if(0===i)return!1;let r=e.dataTable.getModified().rowCount,s=e.xAxis&&e.xAxis.options,o=e.yAxis&&e.yAxis.options,n=e.colorAxis&&e.colorAxis.options;return r>=i&&(0,c.isNumber)(o?.min)&&(0,c.isNumber)(o?.max)&&(!t||(0,c.isNumber)(s?.min)&&(0,c.isNumber)(s?.max))&&(!n||(0,c.isNumber)(n.min)&&(0,c.isNumber)(n.max))}let ee=(e,t)=>{let{options:i,forceCrop:r,chart:s}=e,o=i.boostThreshold??Number.MAX_VALUE;return!r&&0!==o&&(X(s)||(t?.length??0)>=o)};function et(){let e=this,t=e.chart;t.boost&&t.boost.markerGroup===e.markerGroup&&(e.markerGroup=void 0),t.hoverPoints&&(t.hoverPoints=t.hoverPoints.filter(function(t){return t.series===e})),t.hoverPoint&&t.hoverPoint.series===e&&(t.hoverPoint=void 0)}function ei(){let e=this.boost,t=this.chart.boost,i=t?.markerGroup;e&&e.canvas&&e.target&&(e.wgl&&e.wgl.clear(),e.clear&&e.clear()),i&&this.markerGroup===i&&this.chart.series.some(e=>e.visible&&e.markerGroup===i)&&i.show()}function er(e){let t=e.boost;t&&t.canvas&&t.target&&t.wgl&&!X(e.chart)&&t.wgl.render(e.chart)}function es(e,t){let i=e.options,r=e.xAxis,s=e.pointClass;if(t instanceof s)return t;let o=i.data,n=e.is("scatter"),a=(n&&e.getColumn("x",!0).length?e.getColumn("x",!0):void 0)||(e.getColumn("x").length?e.getColumn("x"):void 0)||i.xData||e.getColumn("x",!0)||!1,l=e.getColumn("y",!0)||i.yData||!1,h=t.i,d=o?.[h]?.color,f=new s(e,n&&a&&l?[a[h],l[h]]:((0,c.isArray)(o)?o:[])[h],a?a[h]:void 0);if(n&&i?.keys?.length){let e=i.keys;for(let t=e.length-1;t>-1;t--)f[e[t]]=o[h][t]}return f.category=r.categories?r.categories[f.x]:f.x??f.x,f.key=f.name??f.category,f.dist=t.dist,f.distX=t.distX,f.plotX=t.plotX,f.plotY=t.plotY,f.percentage=t.percentage,f.isInside=e.isPointInside(f),d&&(f.color=d),f}function eo(e){let{options:t,xAxis:i,yAxis:r}=this;if(!this.isDirty&&!i.isDirty&&!r.isDirty&&!e)return!1;this.yAxis.setTickInterval();let s=t.boostThreshold||0,o=t.cropThreshold,n=this.getColumn("x"),a=i.getExtremes(),l=a.max??Number.MAX_VALUE,h=a.min??-Number.MAX_VALUE,d=this.getColumn("y"),f=r.getExtremes(),u=f.max??Number.MAX_VALUE,g=f.min??-Number.MAX_VALUE,m=r.userMin??((0,c.isNumber)(r.options.min)?r.options.min:-Number.MAX_VALUE),b=r.userMax??((0,c.isNumber)(r.options.max)?r.options.max:Number.MAX_VALUE);if(!this.boosted&&i.old&&r.old&&h>=(i.old.min??-Number.MAX_VALUE)&&l<=(i.old.max??Number.MAX_VALUE)&&g>=(r.old.min??-Number.MAX_VALUE)&&u<=(r.old.max??Number.MAX_VALUE))return this.dataTable.getModified().setColumns({x:n,y:d}),!0;let p=this.dataTable.rowCount;if(!s||p<s||o&&!this.forceCrop&&!this.getExtremesFromAll&&!t.getExtremesFromAll&&p<o)return this.dataTable.getModified().setColumns({x:n,y:d}),!0;let x=[],A=[],y=[],v=!((0,c.isNumber)(a.max)||(0,c.isNumber)(a.min)),P=!((0,c.isNumber)(f.max)||(0,c.isNumber)(f.min)),T=!1,C,k=n[0],E=n[0],M,w=d?.[0],S=d?.[0];for(let e=0,t=n.length;e<t;++e)C=n[e],M=d?.[e],C>=h&&C<=l&&M>=m&&M<=b?(x.push(C),A.push(M),y.push(e),v&&(k=Math.max(k,C),E=Math.min(E,C)),P&&(w=Math.max(w,M),S=Math.min(S,M))):T=!0;return v&&(i.dataMax=Math.max(k,i.dataMax||0),i.dataMin=Math.min(E,i.dataMin||0)),P&&(r.dataMax=Math.max(w,r.dataMax||0),r.dataMin=Math.min(S,r.dataMin||0)),this.cropped=T,this.cropStart=0,T&&!this.dataTable.modified&&(this.dataTable.modified=new B,this.hasProcessedDataTable=!0),this.dataTable.getModified().setColumns({x:x,y:A}),!0}function en(){let e=this.options||{},t=this.chart,r=t.boost,s=this.boost,o=this.xAxis,n=this.yAxis,a=e.xData||this.getColumn("x",!0),l=e.yData||this.getColumn("y",!0),h=this.getColumn("low",!0),d=this.getColumn("high",!0),f=e.data,u=o.getExtremes(),g=u.min-(o.minPointOffset||0),m=u.max+(o.minPointOffset||0),b=n.getExtremes(),p=b.min-(n.minPointOffset||0),x=b.max+(n.minPointOffset||0),A={},y=!!this.sampling,v=e.enableMouseTracking,P=e.threshold,T=this.pointArrayMap&&"low,high"===this.pointArrayMap.join(","),C=!!e.stacking,k=this.cropStart||0,E=this.requireSorting,M=!a,w="x"===e.findNearestPointBy,S=(this.getColumn("x").length?this.getColumn("x"):void 0)||this.options.xData||this.getColumn("x",!0),U=e.lineWidth??1,R=e.nullInteraction&&p,N=t.tooltip,_=!1,L,z=n.getThreshold(P),D,O,I,G;if(!this.boosted||(this.points?.forEach(e=>{e?.destroyElements?.()}),this.points=[],N&&!N.isHidden?(t.hoverPoint?.series===this||t.hoverPoints?.some(e=>e.series===this))&&(t.hoverPoint=t.hoverPoints=void 0,N.hide(0)):t.hoverPoints&&(t.hoverPoints=t.hoverPoints.filter(e=>e.series!==this)),o.isPanning||n.isPanning)||(_=Z(t,this),t.boosted=!0,!this.visible))return;(this.points||this.graph)&&Q(this),X(t)?(this.markerGroup&&this.markerGroup!==r?.markerGroup&&this.markerGroup.destroy(),this.markerGroup=r?.markerGroup,s&&s.target&&(this.renderTarget=s.target=s.target.destroy())):(this.markerGroup===r?.markerGroup&&(this.markerGroup=void 0),this.markerGroup=this.plotGroup("markerGroup","markers","visible",1,t.seriesGroup).addClass("highcharts-tracker"));let B=this.points=[],V=(e,r,s,a)=>{let l=!!S&&S[k+s],h=e=>{t.inverted&&(e=o.len-e,r=n.len-r),B.push({destroy:q,x:l,clientX:e,plotX:e,plotY:r,i:k+s,percentage:a})};e=Math.ceil(e),i=w?e:e+","+r,v&&(A[i]?l===S[S.length-1]&&(B.length--,h(e)):(A[i]=!0,h(e)))};this.buildKDTree=q,(0,c.fireEvent)(this,"renderCanvas"),r&&U>1&&this.is("line")&&(r.lineWidthFilter?.remove(),r.lineWidthFilter=t.renderer.definition({tagName:"filter",children:[{tagName:"feMorphology",attributes:{operator:"dilate",radius:.25*U}}],attributes:{id:"linewidth"}}),(s?.target||r.target)?.attr({filter:"url(#linewidth)"})),_&&(Y(_,this),_.pushSeries(this),er(this));let F=_.settings,H=(0,c.isNumber)(F.chunkSize)&&F.chunkSize>0?F.chunkSize:3e3,j=()=>{(0,c.fireEvent)(this,"renderedCanvas"),delete this.buildKDTree,this.options&&this.buildKDTree(),F.debug.timeKDTree&&console.timeEnd("kd tree building")};t.renderer.forExport||(F.debug.timeKDTree&&console.time("kd tree building"),$(C?this.data.slice(k):a||f,function(e,i){let r=void 0===t.index,s,a,f,u,b,A=!1,v=!0;return!(0,c.defined)(e)||(!r&&(M?(s=e[0],a=e[1]):(s=e,a=l[i]??R??null),T?(M&&(a=e.slice(1,3)),A=h[i],a=d[i]):C&&(s=e.x,A=(a=e.stackY)-e.y,b=e.percentage),E||(v=(a||0)>=p&&a<=x),null!==a&&s>=g&&s<=m&&v&&(f=o.toPixels(s,!0),y?((void 0===I||f===L)&&(T||(A=a),(void 0===G||a>O)&&(O=a,G=i),(void 0===I||A<D)&&(D=A,I=i)),w&&f===L||(void 0!==I&&(u=n.toPixels(O,!0),z=n.toPixels(D,!0),V(f,u,G,b),z!==u&&V(f,z,I,b)),I=G=void 0,L=f)):V(f,u=Math.ceil(n.toPixels(a,!0)),i,b))),!r)},j,H))}function ea(e){let t=!0;if(this.chart.options&&this.chart.options.boost&&(t=void 0===this.chart.options.boost.enabled||this.chart.options.boost.enabled),!t||!this.boosted)return e.call(this);this.chart.boosted=!0;let i=Z(this.chart,this);i&&(Y(i,this),i.pushSeries(this)),er(this)}function el(e){if(this.boosted){if(J(this,!0))return{};if(this.xAxis?.isPanning||this.yAxis?.isPanning)return this}return e.apply(this,[].slice.call(arguments,1))}function eh(e){let t=this.options.data;if(K(this.chart)&&x[this.type]){let r=this.is("scatter")&&!this.is("bubble")&&!this.is("treemap")&&!this.is("heatmap");if(!ee(this,t)||r||this.is("treemap")||this.options.stacking||!J(this,!0)){if(this.boosted&&(this.xAxis?.isPanning||this.yAxis?.isPanning))return;r&&"treegrid"!==this.yAxis.type?eo.call(this,arguments[1]):e.apply(this,[].slice.call(arguments,1)),t=this.getColumn("x",!0)}if(this.boosted=ee(this,t),this.boosted){let e;this.options.data?.length&&(e=this.getFirstValidPoint(this.options.data),(0,c.isNumber)(e)||(0,c.isArray)(e)||this.is("treemap")||(0,c.error)(12,!1,this.chart));var i=this;i.boost=i.boost||{getPoint:e=>es(i,e)};let t=i.boost.altered=[];if(["allowDG","directTouch","stickyTracking"].forEach(e=>{t.push({prop:e,val:i[e],own:Object.hasOwnProperty.call(i,e)})}),i.allowDG=!1,i.directTouch=!1,i.stickyTracking=!0,i.finishedAnimating=!0,i.labelBySeries&&(i.labelBySeries=i.labelBySeries.destroy()),i.is("scatter")&&!i.is("treemap")&&i.data.length){for(let e of i.data)e?.destroy?.();i.data.length=0,i.points.length=0}}else!function(e){let t=e.boost,i=e.chart,r=i.boost;if(r?.markerGroup)for(let e of(r.markerGroup.destroy(),r.markerGroup=void 0,i.series))e.markerGroup=void 0,e.markerGroup=e.plotGroup("markerGroup","markers","visible",1,i.seriesGroup).addClass("highcharts-tracker");t&&((t.altered||[]).forEach(t=>{t.own?e[t.prop]=t.val:delete e[t.prop]}),t.clear&&t.clear()),(i.seriesGroup||e.group)?.clip()}(this)}else e.apply(this,[].slice.call(arguments,1))}function ed(e){let t=e.apply(this,[].slice.call(arguments,1));return this.boost&&t?this.boost.getPoint(t):t}let ef=function(e,t,i,r){if((0,c.pushUnique)(H,"Boost.Series")){let s=F().plotOptions,o=e.prototype;if((0,c.addEvent)(e,"destroy",et),(0,c.addEvent)(e,"hide",ei),r&&(o.renderCanvas=en),(0,c.wrap)(o,"getExtremes",el),(0,c.wrap)(o,"processData",eh),(0,c.wrap)(o,"searchPoint",ed),["translate","generatePoints","drawTracker","drawPoints","render"].forEach(e=>(function(e,t,i){function r(e){let t=this.options.stacking&&("translate"===i||"generatePoints"===i);this.boosted&&!t&&K(this.chart)&&"heatmap"!==this.type&&"treemap"!==this.type&&x[this.type]&&0!==this.options.boostThreshold?"render"===i&&this.renderCanvas&&this.renderCanvas():e.call(this)}if((0,c.wrap)(e,i,r),"translate"===i)for(let e of["column","arearange","columnrange","heatmap","treemap"])t[e]&&(0,c.wrap)(t[e].prototype,i,r)})(o,t,e)),(0,c.wrap)(i.prototype,"firePointEvent",function(e,t,i){if("click"===t&&this.series.boosted){let e=i.point;if((e.dist||e.distX)>=(e.series.options.marker?.radius??10))return}return e.apply(this,[].slice.call(arguments,1))}),p.forEach(e=>{let i=s[e];i&&(i.boostThreshold=5e3,i.boostData=[],t[e].prototype.fillOpacity=!0)}),r){let{area:e,areaspline:i,bubble:r,column:s,heatmap:o,scatter:n,treemap:a}=t;if(e&&(0,c.extend)(e.prototype,{fill:!0,fillOpacity:!0,sampling:!0}),i&&(0,c.extend)(i.prototype,{fill:!0,fillOpacity:!0,sampling:!0}),r){let e=r.prototype;delete e.buildKDTree,(0,c.wrap)(e,"markerAttribs",function(e){return!this.boosted&&e.apply(this,[].slice.call(arguments,1))})}s&&(0,c.extend)(s.prototype,{fill:!0,sampling:!0}),n&&(n.prototype.fill=!0),[o,a].forEach(e=>{e&&(0,c.wrap)(e.prototype,"drawPoints",ea)})}}return e},eu={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",feldspar:"#d19275",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslateblue:"#8470ff",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",violetred:"#d02090",wheat:"#f5deb3",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},{doc:eg,win:em}=b(),ec=["webgl","experimental-webgl","moz-webgl","webkit-3d"];function eb(){let e;if(void 0!==em.WebGLRenderingContext){e=eg.createElement("canvas");for(let t=0;t<ec.length;++t)try{if(null!=e.getContext(ec[t]))return!0}catch{}}return!1}let ep=b();ep.hasWebGLSupport=eb,o=ep.Chart,n=ep.Axis,a=ep.Series,l=ep.seriesTypes,h=ep.Point,d=ep.Color,(s=eb())||(void 0!==b().initCanvasBoost?b().initCanvasBoost():(0,c.error)(26)),d&&!d.names.lightgoldenrodyellow&&(d.names={...d.names,...eu}),P.compose(o,s),ef(a,l,h,s),(0,c.addEvent)(n,"setExtremes",function(e){for(let t of[this.chart,...this.series].map(e=>e.renderTarget).filter(Boolean)){let{horiz:i,pos:r}=this,s=i?"scaleX":"scaleY",o=i?"translateX":"translateY",n=t?.[s]??1,a=1,l=0,h=1,d="none";this.isPanning&&(a=(e.scale??1)*n,l=(t?.[o]||0)-a*(e.move||0)+n*r-a*r,h=.7,d="blur(3px)"),t?.attr({[s]:a,[o]:l}).css({transition:"250ms filter, 250ms opacity",filter:d,opacity:h})}if(!this.isPanning)for(let e of this.series)e.boost&&e.is("scatter")&&!e.is("bubble")&&!e.is("treemap")&&!e.is("heatmap")&&(e.isDirty=!0)});let ex=b();return m.default})());
|
|
14
|
+
* */function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(e._Highcharts.Color,e._Highcharts):"function"==typeof define&&define.amd?define("highcharts/modules/boost",["highcharts/highcharts"],function(e){return t(e.Color,e)}):"object"==typeof exports?exports["highcharts/modules/boost"]=t(e._Highcharts.Color,e._Highcharts):e.Highcharts=t(e.Highcharts.Color,e.Highcharts)}("u"<typeof window?this:window,(e,t)=>(()=>{"use strict";let i,r,s;var o,n,a,l,h,d,f={620(t){t.exports=e},944(e){e.exports=t}};let u={};function g(e){let t=u[e];if(void 0!==t)return t.exports;let i=u[e]={exports:{}};return f[e](i,i.exports,g),i.exports}g.n=e=>{let t=e&&e.__esModule?()=>e.default:()=>e;return g.d(t,{a:t}),t},g.d=(e,t)=>{for(var i in t)g.o(t,i)&&!g.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},g.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);let c={};g.d(c,{default:()=>ex});var m=g(944),b=g.n(m);let p=["area","areaspline","arearange","column","columnrange","bar","line","scatter","heatmap","bubble","treemap"],x={};p.forEach(e=>{x[e]=!0});let{composed:A}=b();function y(e){let t=e.series,i=e.boost=e.boost||{},r=e.options.boost||{},s=r.seriesThreshold??50;if(t.length>=s)return!0;if(1===t.length)return!1;let o=r.allowForce;if(void 0===o){for(let t of(o=!0,e.xAxis))if((t.min??-1/0)>(t.dataMin??-1/0)||(t.max??1/0)<(t.dataMax??1/0)){o=!1;break}}if(void 0!==i.forceChartBoost){if(o)return i.forceChartBoost;i.forceChartBoost=void 0}let n=0,a=0,l=0,h;for(let e of t)0!==(h=e.options).boostThreshold&&!1!==e.visible&&"heatmap"!==e.type&&(++a,x[e.type]&&++n,function(...e){let t=-Number.MAX_VALUE;return e.forEach(e=>{if(null!=e&&void 0!==e.length&&e.length>0)return t=e.length,!0}),t}(e.getColumn("x",!0),h.data||[],e.points)>=(h.boostThreshold||Number.MAX_VALUE)&&++l);return i.forceChartBoost=o&&(n===t.length&&l===n||!!i.markerGroup&&n===a&&l===n||l>5),i.forceChartBoost}function v(e){function t(){e.boost&&e.boost.wgl&&y(e)&&e.boost.wgl.render(e)}(0,m.addEvent)(e,"predraw",function(){e.boost=e.boost||{},e.boost.forceChartBoost=void 0,e.boosted=!1,e.axes.some(e=>e.isPanning)||e.boost.clear?.(),e.boost.canvas&&e.boost.wgl&&y(e)&&e.boost.wgl.allocateBuffer(e),e.boost.markerGroup&&e.xAxis&&e.xAxis.length>0&&e.yAxis&&e.yAxis.length>0&&e.boost.markerGroup.translate(e.xAxis[0].pos,e.yAxis[0].pos)}),(0,m.addEvent)(e,"load",t,{order:-1}),(0,m.addEvent)(e,"redraw",t);let i=-1,r=-1;(0,m.addEvent)(e.pointer,"afterGetHoverData",t=>{let s=t.hoverPoint?.series;if(e.boost=e.boost||{},e.boost.markerGroup&&s){let t=e.inverted?s.yAxis:s.xAxis,o=e.inverted?s.xAxis:s.yAxis;(t&&t.pos!==i||o&&o.pos!==r)&&(e.series.forEach(e=>{e.halo?.hide()}),e.boost.markerGroup.translate(t.pos,o.pos),i=t.pos,r=o.pos)}})}let P={compose:function(e,t){return t&&(0,m.pushUnique)(A,"Boost.Chart")&&e.prototype.callbacks.push(v),e},getBoostClipRect:function(e,t){let i=e.navigator,r={x:e.plotLeft,y:e.plotTop,width:e.plotWidth,height:e.plotHeight};if(i&&e.inverted?(r.width+=i.top+i.height,i.opposite||(r.x=i.left)):i&&!e.inverted&&(r.height=i.top+i.height-e.plotTop),t.is){let{xAxis:i,yAxis:s}=t;if(r=e.getClipBox(t),e.inverted){let e=r.width;r.width=r.height,r.height=e,r.x=s.pos,r.y=i.pos}else r.x=i.pos,r.y=s.pos}if(t===e){let t=e.inverted?e.xAxis:e.yAxis;e.inverted||i||!e.clipBox||(r.width=e.clipBox.width,r.height=e.clipBox.height),t.length<=1&&(r.y=Math.min(t[0].pos,r.y),r.height=t[0].pos-e.plotTop+t[0].len)}return r},isChartSeriesBoosting:y};var T=g(620),C=g.n(T);let k={area:"LINES",arearange:"LINES",areaspline:"LINES",column:"LINES",columnrange:"LINES",bar:"LINES",line:"LINE_STRIP",scatter:"POINTS",heatmap:"TRIANGLES",treemap:"TRIANGLES",bubble:"POINTS"},E=class{constructor(e){if(this.errors=[],this.uLocations={},this.gl=e,e&&!this.createShader())return}bind(){this.gl&&this.shaderProgram&&this.gl.useProgram(this.shaderProgram)}createShader(){let e=this.stringToProgram("#version 100\n#define LN10 2.302585092994046\nprecision highp float;\nattribute vec4 aVertexPosition;\nattribute vec4 aColor;\nvarying highp vec2 position;\nvarying highp vec4 vColor;\nuniform mat4 uPMatrix;\nuniform float pSize;\nuniform float translatedThreshold;\nuniform bool hasThreshold;\nuniform bool skipTranslation;\nuniform float xAxisTrans;\nuniform float xAxisMin;\nuniform float xAxisMax;\nuniform float xAxisMinPad;\nuniform float xAxisPointRange;\nuniform float xAxisLen;\nuniform bool xAxisPostTranslate;\nuniform float xAxisOrdinalSlope;\nuniform float xAxisOrdinalOffset;\nuniform float xAxisPos;\nuniform bool xAxisCVSCoord;\nuniform bool xAxisIsLog;\nuniform bool xAxisReversed;\nuniform float yAxisTrans;\nuniform float yAxisMin;\nuniform float yAxisMax;\nuniform float yAxisMinPad;\nuniform float yAxisPointRange;\nuniform float yAxisLen;\nuniform bool yAxisPostTranslate;\nuniform float yAxisOrdinalSlope;\nuniform float yAxisOrdinalOffset;\nuniform float yAxisPos;\nuniform bool yAxisCVSCoord;\nuniform bool yAxisIsLog;\nuniform bool yAxisReversed;\nuniform bool isCircle;\nuniform bool isBubble;\nuniform bool bubbleSizeByArea;\nuniform float bubbleZMin;\nuniform float bubbleZMax;\nuniform float bubbleZThreshold;\nuniform float bubbleMinSize;\nuniform float bubbleMaxSize;\nuniform bool bubbleSizeAbs;\nuniform bool isInverted;\nfloat bubbleRadius(){\nfloat value = aVertexPosition.w;\nfloat zMax = bubbleZMax;\nfloat zMin = bubbleZMin;\nfloat radius = 0.0;\nfloat pos = 0.0;\nfloat zRange = zMax - zMin;\nif (bubbleSizeAbs){\nvalue = value - bubbleZThreshold;\nzMax = max(zMax - bubbleZThreshold, zMin - bubbleZThreshold);\nzMin = 0.0;\n}\nif (value < zMin){\nradius = bubbleZMin / 2.0 - 1.0;\n} else {\npos = zRange > 0.0 ? (value - zMin) / zRange : 0.5;\nif (bubbleSizeByArea && pos > 0.0){\npos = sqrt(pos);\n}\nradius = ceil(bubbleMinSize + pos * (bubbleMaxSize - bubbleMinSize)) / 2.0;\n}\nreturn radius * 2.0;\n}\nfloat translate(float val,\nfloat pointPlacement,\nfloat localA,\nfloat localMin,\nfloat minPixelPadding,\nfloat pointRange,\nfloat len,\nbool cvsCoord,\nbool isLog,\nbool reversed\n){\nfloat sign = 1.0;\nfloat cvsOffset = 0.0;\nif (cvsCoord) {\nsign *= -1.0;\ncvsOffset = len;\n}\nif (isLog) {\nval = log(val) / LN10;\n}\nif (reversed) {\nsign *= -1.0;\ncvsOffset -= sign * len;\n}\nreturn sign * (val - localMin) * localA + cvsOffset + \n(sign * minPixelPadding);\n}\nfloat xToPixels(float value) {\nif (skipTranslation){\nreturn value;// + xAxisPos;\n}\nreturn translate(value, 0.0, xAxisTrans, xAxisMin, xAxisMinPad, xAxisPointRange, xAxisLen, xAxisCVSCoord, xAxisIsLog, xAxisReversed);// + xAxisPos;\n}\nfloat yToPixels(float value, float checkThreshold) {\nfloat v;\nif (skipTranslation){\nv = value;// + yAxisPos;\n} else {\nv = translate(value, 0.0, yAxisTrans, yAxisMin, yAxisMinPad, yAxisPointRange, yAxisLen, yAxisCVSCoord, yAxisIsLog, yAxisReversed);// + yAxisPos;\nif (v > yAxisLen) {\nv = yAxisLen;\n}\n}\nif (checkThreshold > 0.0 && hasThreshold) {\nv = min(v, translatedThreshold);\n}\nreturn v;\n}\nvoid main(void) {\nif (isBubble){\ngl_PointSize = bubbleRadius();\n} else {\ngl_PointSize = pSize;\n}\nvColor = aColor;\nif (!skipTranslation && isCircle && (\naVertexPosition.x < xAxisMin ||\naVertexPosition.x > xAxisMax ||\naVertexPosition.y < yAxisMin ||\naVertexPosition.y > yAxisMax\n)) {\ngl_Position = uPMatrix * vec4(2.0, 2.0, 2.0, 1.0);\n} else if (skipTranslation && isInverted) {\ngl_Position = uPMatrix * vec4(aVertexPosition.y + yAxisPos, aVertexPosition.x + xAxisPos, 0.0, 1.0);\n} else if (isInverted) {\ngl_Position = uPMatrix * vec4(yToPixels(aVertexPosition.y, aVertexPosition.z) + yAxisPos, xToPixels(aVertexPosition.x) + xAxisPos, 0.0, 1.0);\n} else {\ngl_Position = uPMatrix * vec4(xToPixels(aVertexPosition.x) + xAxisPos, yToPixels(aVertexPosition.y, aVertexPosition.z) + yAxisPos, 0.0, 1.0);\n}\n}","vertex"),t=this.stringToProgram("precision highp float;\nuniform vec4 fillColor;\nvarying highp vec2 position;\nvarying highp vec4 vColor;\nuniform sampler2D uSampler;\nuniform bool isCircle;\nuniform bool hasColor;\nvoid main(void) {\nvec4 col = fillColor;\nvec4 tcol = texture2D(uSampler, gl_PointCoord.st);\nif (hasColor) {\ncol = vColor;\n}\nif (isCircle) {\ncol *= tcol;\nif (tcol.r < 0.0) {\ndiscard;\n} else {\ngl_FragColor = col;\n}\n} else {\ngl_FragColor = col;\n}\n}","fragment"),i=e=>this.gl.getUniformLocation(this.shaderProgram,e);return e&&t?(this.shaderProgram=this.gl.createProgram(),this.gl.attachShader(this.shaderProgram,e),this.gl.attachShader(this.shaderProgram,t),this.gl.linkProgram(this.shaderProgram),this.gl.getProgramParameter(this.shaderProgram,this.gl.LINK_STATUS))?(this.gl.useProgram(this.shaderProgram),this.gl.bindAttribLocation(this.shaderProgram,0,"aVertexPosition"),this.pUniform=i("uPMatrix"),this.psUniform=i("pSize"),this.fcUniform=i("fillColor"),this.isBubbleUniform=i("isBubble"),this.bubbleSizeAbsUniform=i("bubbleSizeAbs"),this.bubbleSizeAreaUniform=i("bubbleSizeByArea"),this.uSamplerUniform=i("uSampler"),this.skipTranslationUniform=i("skipTranslation"),this.isCircleUniform=i("isCircle"),this.isInverted=i("isInverted"),!0):(this.errors.push(this.gl.getProgramInfoLog(this.shaderProgram)),this.handleErrors(),this.shaderProgram=!1,!1):(this.shaderProgram=!1,this.handleErrors(),!1)}handleErrors(){this.errors.length&&(0,m.error)("[highcharts boost] shader error - "+this.errors.join("\n"))}stringToProgram(e,t){let i=this.gl.createShader("vertex"===t?this.gl.VERTEX_SHADER:this.gl.FRAGMENT_SHADER);return(this.gl.shaderSource(i,e),this.gl.compileShader(i),this.gl.getShaderParameter(i,this.gl.COMPILE_STATUS))?i:(this.errors.push("when compiling "+t+" shader:\n"+this.gl.getShaderInfoLog(i)),!1)}destroy(){this.gl&&this.shaderProgram&&(this.gl.deleteProgram(this.shaderProgram),this.shaderProgram=!1)}fillColorUniform(){return this.fcUniform}getProgram(){return this.shaderProgram}pointSizeUniform(){return this.psUniform}perspectiveUniform(){return this.pUniform}reset(){this.gl&&this.shaderProgram&&(this.gl.uniform1i(this.isBubbleUniform,0),this.gl.uniform1i(this.isCircleUniform,0))}setBubbleUniforms(e,t,i,r=1){let s=e.options,o=Number.MAX_VALUE,n=-Number.MAX_VALUE;if(this.gl&&this.shaderProgram&&e.is("bubble")){let a=e.getPxExtremes();o=s.zMin??(0,m.clamp)(t,!1===s.displayNegative?s.zThreshold:-Number.MAX_VALUE,o),n=s.zMax??Math.max(n,i),this.gl.uniform1i(this.isBubbleUniform,1),this.gl.uniform1i(this.isCircleUniform,1),this.gl.uniform1i(this.bubbleSizeAreaUniform,"width"!==e.options.sizeBy),this.gl.uniform1i(this.bubbleSizeAbsUniform,e.options.sizeByAbsoluteValue),this.setUniform("bubbleMinSize",a.minPxSize*r),this.setUniform("bubbleMaxSize",a.maxPxSize*r),this.setUniform("bubbleZMin",o),this.setUniform("bubbleZMax",n),this.setUniform("bubbleZThreshold",e.options.zThreshold)}}setColor(e){this.gl&&this.shaderProgram&&this.gl.uniform4f(this.fcUniform,e[0]/255,e[1]/255,e[2]/255,e[3])}setDrawAsCircle(e){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.isCircleUniform,+!!e)}setInverted(e){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.isInverted,e)}setPMatrix(e){this.gl&&this.shaderProgram&&this.gl.uniformMatrix4fv(this.pUniform,!1,e)}setPointSize(e){this.gl&&this.shaderProgram&&this.gl.uniform1f(this.psUniform,e)}setSkipTranslation(e){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.skipTranslationUniform,+(!0===e))}setTexture(e){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.uSamplerUniform,e)}setUniform(e,t){if(this.gl&&this.shaderProgram){let i=this.uLocations[e]=this.uLocations[e]||this.gl.getUniformLocation(this.shaderProgram,e);this.gl.uniform1f(i,t)}}},M=class{constructor(e,t,i){this.buffer=!1,this.iterator=0,this.preAllocated=!1,this.vertAttribute=!1,this.components=i||2,this.dataComponents=i,this.gl=e,this.shader=t}allocate(e){this.iterator=-1,this.preAllocated=new Float32Array(4*e)}bind(){if(!this.buffer)return!1;this.gl.vertexAttribPointer(this.vertAttribute,this.components,this.gl.FLOAT,!1,0,0)}build(e,t,i){let r;return(this.data=e||[],this.data&&0!==this.data.length||this.preAllocated)?(this.components=i||this.components,this.buffer&&this.gl.deleteBuffer(this.buffer),this.preAllocated||(r=new Float32Array(this.data)),this.buffer=this.gl.createBuffer(),this.gl.bindBuffer(this.gl.ARRAY_BUFFER,this.buffer),this.gl.bufferData(this.gl.ARRAY_BUFFER,this.preAllocated||r,this.gl.STATIC_DRAW),this.vertAttribute=this.gl.getAttribLocation(this.shader.getProgram(),t),this.gl.enableVertexAttribArray(this.vertAttribute),r=!1,!0):(this.destroy(),!1)}destroy(){this.buffer&&(this.gl.deleteBuffer(this.buffer),this.buffer=!1,this.vertAttribute=!1),this.iterator=0,this.components=this.dataComponents||2,this.data=[]}push(e,t,i,r){this.preAllocated&&(this.preAllocated[++this.iterator]=e,this.preAllocated[++this.iterator]=t,this.preAllocated[++this.iterator]=i,this.preAllocated[++this.iterator]=r)}render(e,t,i){let r=this.preAllocated?this.preAllocated.length:this.data?.length||0;return!!this.buffer&&!!r&&((!e||e>r||e<0)&&(e=0),(!t||t>r)&&(t=r),!(e>=t)&&(i=i||"POINTS",this.gl.drawArrays(this.gl[i],e/this.components,(t-e)/this.components),!0))}},{getBoostClipRect:w}=P,{parse:S}=C(),{doc:U,win:R}=b(),_={column:!0,columnrange:!0,bar:!0,area:!0,areaspline:!0,arearange:!0},N={scatter:!0,bubble:!0},L=["webgl","experimental-webgl","moz-webgl","webkit-3d"],z={},D=(e,t)=>{if(z[t])return z[t];let i=0===t.indexOf("var(")&&e[t.slice(4,-1).trim()];if(i)return z[t]=i,i;if(0===t.indexOf("color-mix(")){let i=/^color-mix\(in srgb,([a-z0-9\(\)\-\#]+),([a-z0-9\(\)\-\#]+) ([0-9\.%]+)/.exec(t);if(i){let r=parseFloat(i[3])/100,s=D(e,i[1]),o=D(e,i[2]),n=new(C())(s).tweenTo(new(C())(o),r);return z[t]=n,n}}return t},O=class e{static orthoMatrix(e,t){return[2/e,0,0,0,0,-(2/t),0,0,0,0,-2,0,-1,1,-1,1]}static seriesPointCount(e){let t,i,r;return e.boosted?(t=!!e.options.stacking,i=(e.getColumn("x").length?e.getColumn("x"):void 0)||e.options.xData||e.getColumn("x",!0),r=(t?e.data:i||e.options.data).length,"treemap"===e.type?r*=12:"heatmap"===e.type?r*=6:_[e.type]&&(r*=2),r):0}constructor(e){this.data=[],this.height=0,this.isInited=!1,this.markerData=[],this.series=[],this.textureHandles={},this.width=0,this.postRenderCallback=e,this.settings={pointSize:1,lineWidth:1,fillColor:"#AA00AA",useAlpha:!0,usePreallocated:!1,useGPUTranslations:!1,debug:{timeRendering:!1,timeSeriesProcessing:!1,timeSetup:!1,timeBufferCopy:!1,timeKDTree:!1,showSkipSummary:!1}}}getPixelRatio(){return this.settings.pixelRatio||R.devicePixelRatio||1}setOptions(e){"pixelRatio"in e||(e.pixelRatio=1),(0,m.merge)(!0,this.settings,e)}allocateBuffer(t){let i=this.vbuffer,r=0;this.settings.usePreallocated&&(t.series.forEach(t=>{t.boosted&&(r+=e.seriesPointCount(t))}),i&&i.allocate(r))}allocateBufferForSingleSeries(t){let i=this.vbuffer,r=0;this.settings.usePreallocated&&(t.boosted&&(r=e.seriesPointCount(t)),i&&i.allocate(r))}clear(){let e=this.gl;e&&e.clear(e.COLOR_BUFFER_BIT|e.DEPTH_BUFFER_BIT)}pushSeriesData(e,t){let i=this.data,r=this.settings,s=this.vbuffer,o=e.pointArrayMap&&"low,high"===e.pointArrayMap.join(","),{chart:n,options:a,sorted:l,xAxis:h,yAxis:d}=e,f=!!a.stacking,u=a.data,g=e.xAxis.getExtremes(),c=g.min-(e.xAxis.minPointOffset||0),b=g.max+(e.xAxis.minPointOffset||0),p=e.yAxis.getExtremes(),x=p.min-(e.yAxis.minPointOffset||0),A=p.max+(e.yAxis.minPointOffset||0),y=(e.getColumn("x").length?e.getColumn("x"):void 0)||a.xData||e.getColumn("x",!0),v=(e.getColumn("y").length?e.getColumn("y"):void 0)||a.yData||e.getColumn("y",!0),P=(e.getColumn("z").length?e.getColumn("z"):void 0)||a.zData||e.getColumn("z",!0),T=!y||0===y.length,{colorByPoint:k,connectNulls:E,threshold:M,zoneAxis:w="y",zones:U}=a,R=e.points||!1,N=f?e.data:y||u,L={x:Number.MAX_VALUE,y:0},z={x:-Number.MAX_VALUE,y:0},O=void 0===n.index,I=_[e.type],G=this.getPixelRatio(),B=n.options.colors||[],V=e.chart.plotWidth,X=!1,F=!1,H,j,q=0,W=!1,K,Y,Z,Q,$=-1,J=!1,ee=!1,et,ei=!1,er=!1,es,eo=!1,en=!0,ea=!0,el=[],eh=!1,ed=!1,ef=0,eu=0;if(a.boostData&&a.boostData.length>0)return;if(a.gapSize&&(ed="value"!==a.gapUnit?a.gapSize*e.closestPointRange:a.gapSize),n.boost){let e=n.renderer.circle(0,0,1).attr({fill:"var(--highcharts-background-color)"}).add(),t=new(C())(getComputedStyle(e.element).getPropertyValue("fill")).get(),i=new(C())(n.palette?.cssVars.dark["--highcharts-background-color"]||"").get();e.destroy(),n.boost.cssVars=n.palette?.cssVars[t===i?"dark":"light"]}let eg=n.boost?.cssVars||{};if(U?.length&&(el=[],U.forEach((e,t)=>{if("string"==typeof e.color){let i=S(D(eg,e.color)).rgba;i[0]/=255,i[1]/=255,i[2]/=255,el[t]=i,eh||void 0!==e.value||(eh=i)}}),!eh)){let t=e.pointAttribs&&e.pointAttribs().fill||e.color;eh=S("string"==typeof t?D(eg,t):"").rgba,eh[0]/=255,eh[1]/=255,eh[2]/=255}n.inverted&&(V=e.chart.plotHeight),e.closestPointRangePx=Number.MAX_VALUE;let ec=e=>{e&&(t.colorData.push(e[0]),t.colorData.push(e[1]),t.colorData.push(e[2]),t.colorData.push(e[3]))},em=(e,o,n,a=1,l)=>{ec(l),1!==G&&(!r.useGPUTranslations||t.skipTranslation)&&(e*=G,o*=G,a*=G),r.usePreallocated&&s?(s.push(e,o,+!!n,a),ef+=4):(i.push(e),i.push(o),i.push(n?G:0),i.push(a))},eb=()=>{t.segments.length&&(t.segments[t.segments.length-1].to=i.length||ef)},ep=()=>{t.segments.length&&t.segments[t.segments.length-1].from===(i.length||ef)||(eb(),t.segments.push({from:i.length||ef}))},ex=(e,t,i,r,s)=>{ec(s),em(e+i,t),ec(s),em(e,t),ec(s),em(e,t+r),ec(s),em(e,t+r),ec(s),em(e+i,t+r),ec(s),em(e+i,t)};if(ep(),R&&R.length>0){t.skipTranslation=!0,t.drawMode="TRIANGLES",R[0].node&&R[0].node.levelDynamic&&R.sort((e,t)=>{if(e.node){if(e.node.levelDynamic>t.node.levelDynamic)return 1;if(e.node.levelDynamic<t.node.levelDynamic)return -1}return 0}),R.forEach(t=>{let i,r,s=t.plotY;if(void 0!==s&&!isNaN(s)&&null!==t.y&&t.shapeArgs){let{x:s=0,y:o=0,width:a=0,height:l=0}=t.shapeArgs;i=(r=n.styledMode?t.series.colorAttribs(t):r=t.series.pointAttribs(t))["stroke-width"]||0,"string"==typeof r.fill&&(r.fill=D(eg,r.fill)),es=S(r.fill).rgba,es[0]/=255,es[1]/=255,es[2]/=255,e.is("treemap")&&(i=i||1,"string"==typeof r.stroke&&(r.stroke=D(eg,r.stroke)),j=S(r.stroke).rgba,j[0]/=255,j[1]/=255,j[2]/=255,ex(s,o,a,l,j),i/=2),e.is("heatmap")&&n.inverted&&(s=h.len-s,o=d.len-o,a=-a,l=-l),ex(s+i,o+i,a-2*i,l-2*i,es)}}),eb();return}for(;$<N.length-1;){if(void 0===(Z=N[++$]))continue;if(O)break;let i=u&&u[$];if(!T){let t;(0,m.isObject)(i,!0)&&i.color&&(t=S(i.color).rgba);let r=e.options.keys?.indexOf("color");Array.isArray(i)&&r&&"string"==typeof i[r]?t=S(i[r]).rgba:k&&(eu%=B.length,t=S(D(eg,B[eu])).rgba),t&&((es=t)[0]=t[0]/255,es[1]=t[1]/255,es[2]=t[2]/255,es[3]=t[3]),eu++}if(T?(K=Z[0],Y=Z[1],N[$+1]&&(ee=N[$+1][0]),N[$-1]&&(J=N[$-1][0]),Z.length>=3&&(Q=Z[2],Z[2]>t.zMax&&(t.zMax=Z[2]),Z[2]<t.zMin&&(t.zMin=Z[2]))):(K=Z,Y=v?.[$],N[$+1]&&(ee=N[$+1]),N[$-1]&&(J=N[$-1]),P&&P.length&&(Q=P[$],P[$]>t.zMax&&(t.zMax=P[$]),P[$]<t.zMin&&(t.zMin=P[$]))),!E&&(null===K||null===Y)){ep();continue}if(ee&&ee>=c&&ee<=b&&(ei=!0),J&&J>=c&&J<=b&&(er=!0),o?(T&&(Y=Z.slice(1,3)),et=e.getColumn("low",!0)?.[$],Y=e.getColumn("high",!0)?.[$]||0):f&&(K=Z.x,et=(Y=Z.stackY)-Z.y),null!=x&&null!=A&&(en=Y>=x&&Y<=A),!l&&!en||(K>b&&z.x<b&&(z.x=K,z.y=Y),K<c&&L.x>c&&(L.x=K,L.y=Y),null===Y&&E))continue;if(null===Y||!en&&N.length>1&&!ei&&!er){ep();continue}if((l&&(ee>=c||K>=c)&&(J<=b||K<=b)||!l&&K>=c&&K<=b)&&(eo=!0),eo||ei||er){if(ed&&K-J>ed&&ep(),U?.length){let e,t,i="x"===w?K:Y;U.some((e,r)=>void 0!==e.value&&i<e.value&&(t=r,!0)),void 0!==t&&el[t]&&(e=el[t]),es=e||eh||es}if(r.useGPUTranslations||(t.skipTranslation=!0,K=h.toPixels(K,!0),Y=d.toPixels(Y,!0),!(K>V)||"POINTS"!==t.drawMode)){if(t.hasMarkers&&eo&&!1!==X&&(e.closestPointRangePx=Math.min(e.closestPointRangePx,Math.abs(K-X))),!r.useGPUTranslations&&!r.usePreallocated&&X&&1>Math.abs(K-X)&&F&&1>Math.abs(Y-F)){r.debug.showSkipSummary&&++q;continue}I&&(H=et||0,(!1===et||void 0===et)&&(H=Y<0?Y:0),(o||f)&&!d.logarithmic||(H=Math.max(M??x,x)),r.useGPUTranslations||(H=d.toPixels(H,!0)),em(K,H,!1,0,es)),a.step&&!ea&&em(K,F,!1,2,es),em(K,Y,!1,"bubble"===e.type?Q||1:2,es),X=K,F=Y,W=!0,ea=!1}}}r.debug.showSkipSummary&&console.log("skipped points:",q);let eA=(e,i)=>{if(r.useGPUTranslations||(t.skipTranslation=!0,e.x=h.toPixels(e.x,!0),e.y=d.toPixels(e.y,!0)),i){this.data=[e.x,e.y,0,2].concat(this.data);return}em(e.x,e.y,0,2)};!W&&!1!==E&&"line_strip"===e.drawMode&&(L.x<Number.MAX_VALUE&&eA(L,!0),z.x>-Number.MAX_VALUE&&eA(z)),eb()}pushSeries(e){let t=this.markerData,i=this.series,r=this.settings;i.length>0&&i[i.length-1].hasMarkers&&(i[i.length-1].markerTo=t.length),r.debug.timeSeriesProcessing&&console.time("building "+e.type+" series");let s={segments:[],markerFrom:t.length,colorData:[],series:e,zMin:Number.MAX_VALUE,zMax:-Number.MAX_VALUE,hasMarkers:!!e.options.marker&&!1!==e.options.marker.enabled,showMarkers:!0,drawMode:k[e.type]||"LINE_STRIP"};e.index>=i.length?i.push(s):i[e.index]=s,this.pushSeriesData(e,s),r.debug.timeSeriesProcessing&&console.timeEnd("building "+e.type+" series")}flush(){let e=this.vbuffer;this.data=[],this.markerData=[],this.series=[],e&&e.destroy()}setXAxis(e){let t=this.shader;if(!t)return;let i=this.getPixelRatio();t.setUniform("xAxisTrans",e.transA*i),t.setUniform("xAxisMin",e.min),t.setUniform("xAxisMax",e.max),t.setUniform("xAxisMinPad",e.minPixelPadding*i),t.setUniform("xAxisPointRange",e.pointRange),t.setUniform("xAxisLen",e.len*i),t.setUniform("xAxisPos",e.pos*i),t.setUniform("xAxisCVSCoord",!e.horiz),t.setUniform("xAxisIsLog",!!e.logarithmic),t.setUniform("xAxisReversed",!!e.reversed)}setYAxis(e){let t=this.shader;if(!t)return;let i=this.getPixelRatio();t.setUniform("yAxisTrans",e.transA*i),t.setUniform("yAxisMin",e.min),t.setUniform("yAxisMax",e.max),t.setUniform("yAxisMinPad",e.minPixelPadding*i),t.setUniform("yAxisPointRange",e.pointRange),t.setUniform("yAxisLen",e.len*i),t.setUniform("yAxisPos",e.pos*i),t.setUniform("yAxisCVSCoord",!e.horiz),t.setUniform("yAxisIsLog",!!e.logarithmic),t.setUniform("yAxisReversed",!!e.reversed)}setThreshold(e,t){let i=this.shader;i&&(i.setUniform("hasThreshold",e),i.setUniform("translatedThreshold",t))}renderChart(t){let i=this.gl,r=this.settings,s=this.shader,o=this.vbuffer;z={};let n=this.getPixelRatio();if(!t)return!1;this.width=t.chartWidth*n,this.height=t.chartHeight*n;let a=this.height,l=this.width,h=t.options.colors||[];if(!i||!s||!l||!a)return!1;r.debug.timeRendering&&console.time("gl rendering"),i.canvas.width=l,i.canvas.height=a,s.bind(),i.viewport(0,0,l,a),s.setPMatrix(e.orthoMatrix(l,a)),r.lineWidth>1&&!b().isMS&&i.lineWidth(r.lineWidth),o&&(o.build(this.data,"aVertexPosition",4),o.bind()),s.setInverted(t.inverted),this.series.forEach((e,l)=>{let d=e.series.options,f=d.marker,u=void 0!==d.lineWidth?d.lineWidth:1,g=d.threshold,c=(0,m.isNumber)(g),b=e.series.yAxis.getThreshold(g),p=(d.marker?d.marker.enabled:null)??(!!e.series.xAxis.isRadial||null)??e.series.closestPointRangePx>2*((d.marker?d.marker.radius:10)||10),x=this.textureHandles[f&&f.symbol||e.series.symbol]||this.textureHandles.circle,A,y,v,P=[];if(0!==e.segments.length&&e.segments[0].from!==e.segments[0].to&&(x.isReady&&(i.bindTexture(i.TEXTURE_2D,x.handle),s.setTexture(x.handle)),t.styledMode?e.series.markerGroup===e.series.chart.boost?.markerGroup?(delete e.series.markerGroup,e.series.markerGroup=e.series.plotGroup("markerGroup","markers","visible",1,t.seriesGroup).addClass("highcharts-tracker"),v=e.series.markerGroup.getStyle("fill"),e.series.markerGroup.destroy(),e.series.markerGroup=e.series.chart.boost?.markerGroup):v=e.series.markerGroup?.getStyle("fill"):(v="POINTS"===e.drawMode&&e.series.pointAttribs&&e.series.pointAttribs().fill||e.series.color,d.colorByPoint&&"string"==typeof h[l]&&(v=h[l])),e.series.fillOpacity&&d.fillOpacity&&v&&(v=new(C())(v).setOpacity(d.fillOpacity??1).get()),"string"==typeof v&&(v=D(t.boost?.cssVars||{},v)),P=S(v).rgba,r.useAlpha||(P[3]=1),"add"===d.boostBlending?(i.blendFunc(i.SRC_ALPHA,i.ONE),i.blendEquation(i.FUNC_ADD)):"mult"===d.boostBlending||"multiply"===d.boostBlending?i.blendFunc(i.DST_COLOR,i.ZERO):"darken"===d.boostBlending?(i.blendFunc(i.ONE,i.ONE),i.blendEquation(i.FUNC_MIN)):i.blendFuncSeparate(i.SRC_ALPHA,i.ONE_MINUS_SRC_ALPHA,i.ONE,i.ONE_MINUS_SRC_ALPHA),s.reset(),e.colorData.length>0?(s.setUniform("hasColor",1),(y=new M(i,s)).build(Array(e.segments[0].from).concat(e.colorData),"aColor",4),y.bind()):(s.setUniform("hasColor",0),i.disableVertexAttribArray(i.getAttribLocation(s.getProgram(),"aColor"))),s.setColor(P),this.setXAxis(e.series.xAxis),this.setYAxis(e.series.yAxis),this.setThreshold(c,b),"POINTS"===e.drawMode&&s.setPointSize(((d.marker&&d.marker.radius)??.5)*2*n),s.setSkipTranslation(e.skipTranslation),"bubble"===e.series.type&&s.setBubbleUniforms(e.series,e.zMin,e.zMax,n),s.setDrawAsCircle(N[e.series.type]||!1),o)){if(u>0||"LINE_STRIP"!==e.drawMode){let{x:r,y:s,width:l,height:h}=w(t,e.series);for(i.enable(i.SCISSOR_TEST),i.scissor(r*n,a-(s+h)*n,l*n,h*n),A=0;A<e.segments.length;A++)o.render(e.segments[A].from,e.segments[A].to,e.drawMode);i.disable(i.SCISSOR_TEST)}if(e.hasMarkers&&p)for(s.setPointSize(((d.marker&&d.marker.radius)??5)*2*n),s.setDrawAsCircle(!0),A=0;A<e.segments.length;A++)o.render(e.segments[A].from,e.segments[A].to,"POINTS")}}),r.debug.timeRendering&&console.timeEnd("gl rendering"),this.postRenderCallback&&this.postRenderCallback(this),this.flush()}render(e){if(this.clear(),e.renderer.forExport)return this.renderChart(e);this.isInited?this.renderChart(e):setTimeout(()=>{this.render(e)},1)}setSize(t,i){let r=this.shader;r&&(this.width!==t||this.height!==i)&&(this.width=t,this.height=i,r.bind(),r.setPMatrix(e.orthoMatrix(t,i)))}init(e,t){let i=this.settings;if(this.isInited=!1,!e)return!1;i.debug.timeSetup&&console.time("gl setup");for(let t=0;t<L.length&&(this.gl=e.getContext(L[t],{}),!this.gl);++t);let r=this.gl;if(!r)return!1;t||this.flush(),r.enable(r.BLEND),r.blendFunc(r.SRC_ALPHA,r.ONE_MINUS_SRC_ALPHA),r.disable(r.DEPTH_TEST),r.depthFunc(r.LESS);let s=this.shader=new E(r);if(!s)return!1;this.vbuffer=new M(r,s);let o=(e,t)=>{let i={isReady:!1,texture:U.createElement("canvas"),handle:r.createTexture()},s=i.texture.getContext("2d");this.textureHandles[e]=i,i.texture.width=512,i.texture.height=512,s.mozImageSmoothingEnabled=!1,s.webkitImageSmoothingEnabled=!1,s.msImageSmoothingEnabled=!1,s.imageSmoothingEnabled=!1,s.strokeStyle="rgba(255, 255, 255, 0)",s.fillStyle="#FFF",t(s);try{r.activeTexture(r.TEXTURE0),r.bindTexture(r.TEXTURE_2D,i.handle),r.texImage2D(r.TEXTURE_2D,0,r.RGBA,r.RGBA,r.UNSIGNED_BYTE,i.texture),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_S,r.CLAMP_TO_EDGE),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_T,r.CLAMP_TO_EDGE),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MAG_FILTER,r.LINEAR),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MIN_FILTER,r.LINEAR),r.bindTexture(r.TEXTURE_2D,null),i.isReady=!0}catch{}};return o("circle",e=>{e.beginPath(),e.arc(256,256,256,0,2*Math.PI),e.stroke(),e.fill()}),o("square",e=>{e.fillRect(0,0,512,512)}),o("diamond",e=>{e.beginPath(),e.moveTo(256,0),e.lineTo(512,256),e.lineTo(256,512),e.lineTo(0,256),e.lineTo(256,0),e.fill()}),o("triangle",e=>{e.beginPath(),e.moveTo(0,512),e.lineTo(256,0),e.lineTo(512,512),e.lineTo(0,512),e.fill()}),o("triangle-down",e=>{e.beginPath(),e.moveTo(0,0),e.lineTo(256,512),e.lineTo(512,0),e.lineTo(0,0),e.fill()}),this.isInited=!0,i.debug.timeSetup&&console.timeEnd("gl setup"),!0}destroy(){let e=this.gl,t=this.shader,i=this.vbuffer;this.flush(),i&&i.destroy(),t&&t.destroy(),e&&((0,m.objectEach)(this.textureHandles,t=>{t.handle&&e.deleteTexture(t.handle)}),e.canvas.width=1,e.canvas.height=1)}},{setLength:I,splice:G}={convertToNumber:function(e,t){switch(typeof e){case"boolean":return+!!e;case"number":return isNaN(e)&&!t?null:e;default:return isNaN(e=parseFloat(`${e??""}`))&&!t?null:e}},setLength:function(e,t,i){return Array.isArray(e)?(e.length=t,e):e[i?"subarray":"slice"](0,t)},splice:function(e,t,i,r,s=[]){if(Array.isArray(e))return Array.isArray(s)||(s=Array.from(s)),{removed:e.splice(t,i,...s),array:e};let o=Object.getPrototypeOf(e).constructor,n=e[r?"subarray":"slice"](t,t+i),a=new o(e.length-i+s.length);return a.set(e.subarray(0,t),0),a.set(s,t),a.set(e.subarray(t+i),t+s.length),{removed:n,array:a}}},B=class{constructor(e={}){this.isDataTable=!0;let t=this.isPollutingKey(e.id)?void 0:e.id;this.autoId=!t,this.columns={},this.id=t||(0,m.uniqueKey)(),this.rowCount=0,this.versionTag=(0,m.uniqueKey)();let i=0;(0,m.objectEach)(e.columns||{},(e,t)=>{"__proto__"!==t&&"constructor"!==t&&(this.columns[t]=e.slice(),i=Math.max(i,e.length))}),this.applyRowCount(i)}isPollutingKey(e){return"__proto__"===e||"constructor"===e}applyRowCount(e){this.rowCount=e,(0,m.objectEach)(this.columns,(t,i)=>{t.length!==e&&(this.columns[i]=I(t,e))})}deleteRows(e,t=1){if(t>0&&e<this.rowCount){let i=0;(0,m.objectEach)(this.columns,(r,s)=>{this.columns[s]=G(r,e,t).array,i=r.length}),this.rowCount=i}(0,m.fireEvent)(this,"afterDeleteRows",{rowIndex:e,rowCount:t}),this.versionTag=(0,m.uniqueKey)()}getColumn(e,t){return this.columns[e]}getColumns(e,t){return(e||Object.keys(this.columns)).reduce((e,t)=>(e[t]=this.columns[t],e),{})}getRowObject(e,t){let i={},r=this.columns;for(let s of(t??(t=Object.keys(this.columns)),t))i[s]=r[s]?.[e];return i}setColumn(e,t=[],i=0,r){this.setColumns({[e]:t},i,r)}setColumns(e,t,i){let r=this.rowCount;(0,m.objectEach)(e,(e,t)=>{"__proto__"!==t&&"constructor"!==t&&(this.columns[t]=e.slice(),r=e.length)}),this.applyRowCount(r),i?.silent||((0,m.fireEvent)(this,"afterSetColumns"),this.versionTag=(0,m.uniqueKey)())}setRow(e,t=this.rowCount,i,r){let{columns:s}=this,o=i?this.rowCount+1:t+1,n=Object.keys(e);if(r?.addColumns!==!1)for(let e=0,t=n.length;e<t;e++){let t=n[e];this.isPollutingKey(t)||Object.hasOwnProperty.call(s,t)||(s[t]=Array(this.rowCount))}(0,m.objectEach)(s,(r,o)=>{r&&(i?r=G(r,t,0,!0,[e[o]]).array:r[t]=o in e?e[o]:r[t],s[o]=r)}),this.applyRowCount(Math.max(o,this.rowCount)),r?.silent||((0,m.fireEvent)(this,"afterSetRows",{rowIndex:t}),this.versionTag=(0,m.uniqueKey)())}getModified(){return this.modified||this}},{getBoostClipRect:V,isChartSeriesBoosting:X}=P,{getOptions:F}=b(),{composed:H,doc:j,noop:q,win:W}=b();function K(e,t){let i=t.boost;e&&i&&i.target&&i.canvas&&!X(t.chart)&&e.allocateBufferForSingleSeries(t)}function Y(e){return(e&&e.options&&e.options.boost&&e.options.boost.enabled)??!0}function Z(e,t){let i=e.constructor,s=e.seriesGroup||t.group,o=e.chartWidth,n=e.chartHeight,a=e,l="u">typeof SVGForeignObjectElement,h=!1;X(e)?a=e:(a=t,h=!!(t.options.events?.click||t.options.point?.events?.click));let d=a.boost=a.boost||{};if(l=!1,r||(r=j.createElement("canvas")),!d.target&&(d.canvas=r,e.renderer.forExport||!l?(a.renderTarget=d.target=e.renderer.image("",0,0,o,n).addClass("highcharts-boost-canvas").add(s),d.clear=function(){d.target.attr({href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="})},d.copy=function(){d.resize(),d.target.attr({href:d.canvas.toDataURL("image/png")})}):(d.targetFo=e.renderer.createElement("foreignObject").add(s),a.renderTarget=d.target=j.createElement("canvas"),d.targetCtx=d.target.getContext("2d"),d.targetFo.element.appendChild(d.target),d.clear=function(){d.target.width=d.canvas.width,d.target.height=d.canvas.height},d.copy=function(){d.target.width=d.canvas.width,d.target.height=d.canvas.height,d.targetCtx.drawImage(d.canvas,0,0)}),d.resize=function(){o=e.chartWidth,n=e.chartHeight,(d.targetFo||d.target).attr({x:0,y:0,width:o,height:n}).css({pointerEvents:h?void 0:"none",mixedBlendMode:"normal",opacity:1}).addClass(h?"highcharts-tracker":""),a instanceof i&&a.boost?.markerGroup?.translate(e.plotLeft,e.plotTop)},d.clipRect=e.renderer.clipRect(),(d.targetFo||d.target).attr({zIndex:t.options.zIndex}),a instanceof i&&(a.boost.markerGroup=a.renderer.g().add(s).translate(t.xAxis.pos,t.yAxis.pos))),d.canvas.width=o,d.canvas.height=n,d.clipRect){let t=V(e,a);d.clipRect.attr(t),e.navigator||t.width!==e.clipBox.width||t.height!==e.clipBox.height?(d.targetFo||d.target).clip(d.clipRect):s?.clip(e.renderer.clipRect(t.x-4,t.y,t.width+4,t.height+4))}return d.resize(),d.clear(),!d.wgl&&(d.wgl=new O(e=>{e.settings.debug.timeBufferCopy&&console.time("buffer copy"),d.copy(),e.settings.debug.timeBufferCopy&&console.timeEnd("buffer copy")}),d.wgl.init(d.canvas)||(0,m.error)("[highcharts boost] - unable to init WebGL renderer"),d.wgl.setOptions(e.options.boost||{}),a instanceof i&&d.wgl.allocateBuffer(e)),d.wgl.setSize(o,n),d.wgl}function Q(e){let t=e.points;for(let i of(t?.forEach(e=>{e?.destroyElements?.()}),["graph","area","tracker"].forEach(t=>{e[t]=e[t]?.destroy()}),e.zones))(0,m.destroyObjectProperties)(i,void 0,!0)}function $(e,t,i,r,s,o){let n=(s=s||0)+(r=r||3e3),a=!0;for(;a&&s<n&&s<e.length;)a=t(e[s],s),++s;a&&(s<e.length?o?$(e,t,i,r,s,o):W.requestAnimationFrame?W.requestAnimationFrame(function(){$(e,t,i,r,s)}):setTimeout($,0,e,t,i,r,s):i&&i())}function J(e,t){let i=e.options.boostThreshold??Number.MAX_VALUE;if(0===i)return!1;let r=e.dataTable.getModified().rowCount,s=e.xAxis&&e.xAxis.options,o=e.yAxis&&e.yAxis.options,n=e.colorAxis&&e.colorAxis.options;return r>=i&&(0,m.isNumber)(o?.min)&&(0,m.isNumber)(o?.max)&&(!t||(0,m.isNumber)(s?.min)&&(0,m.isNumber)(s?.max))&&(!n||(0,m.isNumber)(n.min)&&(0,m.isNumber)(n.max))}let ee=(e,t)=>{let{options:i,forceCrop:r,chart:s}=e,o=i.boostThreshold??Number.MAX_VALUE;return!r&&0!==o&&(X(s)||(t?.length??0)>=o)};function et(){let e=this,t=e.chart;t.boost&&t.boost.markerGroup===e.markerGroup&&(e.markerGroup=void 0),t.hoverPoints&&(t.hoverPoints=t.hoverPoints.filter(function(t){return t.series===e})),t.hoverPoint&&t.hoverPoint.series===e&&(t.hoverPoint=void 0)}function ei(){let e=this.boost,t=this.chart.boost,i=t?.markerGroup;e&&e.canvas&&e.target&&(e.wgl&&e.wgl.clear(),e.clear&&e.clear()),i&&this.markerGroup===i&&this.chart.series.some(e=>e.visible&&e.markerGroup===i)&&i.show()}function er(e){let t=e.boost;t&&t.canvas&&t.target&&t.wgl&&!X(e.chart)&&t.wgl.render(e.chart)}function es(e,t){let i=e.options,r=e.xAxis,s=e.pointClass;if(t instanceof s)return t;let o=i.data,n=e.is("scatter"),a=(n&&e.getColumn("x",!0).length?e.getColumn("x",!0):void 0)||(e.getColumn("x").length?e.getColumn("x"):void 0)||i.xData||e.getColumn("x",!0)||!1,l=e.getColumn("y",!0)||i.yData||!1,h=t.i,d=o?.[h]?.color,f=new s(e,n&&a&&l?[a[h],l[h]]:((0,m.isArray)(o)?o:[])[h],a?a[h]:void 0);if(n&&i?.keys?.length){let e=i.keys;for(let t=e.length-1;t>-1;t--)f[e[t]]=o[h][t]}return f.category=r.categories?r.categories[f.x]:f.x??f.x,f.key=f.name??f.category,f.dist=t.dist,f.distX=t.distX,f.plotX=t.plotX,f.plotY=t.plotY,f.percentage=t.percentage,f.isInside=e.isPointInside(f),d&&(f.color=d),f}function eo(e){let{options:t,xAxis:i,yAxis:r}=this;if(!this.isDirty&&!i.isDirty&&!r.isDirty&&!e)return!1;this.yAxis.setTickInterval();let s=t.boostThreshold||0,o=t.cropThreshold,n=this.getColumn("x"),a=i.getExtremes(),l=a.max??Number.MAX_VALUE,h=a.min??-Number.MAX_VALUE,d=this.getColumn("y"),f=r.getExtremes(),u=f.max??Number.MAX_VALUE,g=f.min??-Number.MAX_VALUE,c=r.userMin??((0,m.isNumber)(r.options.min)?r.options.min:-Number.MAX_VALUE),b=r.userMax??((0,m.isNumber)(r.options.max)?r.options.max:Number.MAX_VALUE);if(!this.boosted&&i.old&&r.old&&h>=(i.old.min??-Number.MAX_VALUE)&&l<=(i.old.max??Number.MAX_VALUE)&&g>=(r.old.min??-Number.MAX_VALUE)&&u<=(r.old.max??Number.MAX_VALUE))return this.dataTable.getModified().setColumns({x:n,y:d}),!0;let p=this.dataTable.rowCount;if(!s||p<s||o&&!this.forceCrop&&!this.getExtremesFromAll&&!t.getExtremesFromAll&&p<o)return this.dataTable.getModified().setColumns({x:n,y:d}),!0;let x=[],A=[],y=[],v=!((0,m.isNumber)(a.max)||(0,m.isNumber)(a.min)),P=!((0,m.isNumber)(f.max)||(0,m.isNumber)(f.min)),T=!1,C,k=n[0],E=n[0],M,w=d?.[0],S=d?.[0];for(let e=0,t=n.length;e<t;++e)C=n[e],M=d?.[e],C>=h&&C<=l&&M>=c&&M<=b?(x.push(C),A.push(M),y.push(e),v&&(k=Math.max(k,C),E=Math.min(E,C)),P&&(w=Math.max(w,M),S=Math.min(S,M))):T=!0;return v&&(i.dataMax=Math.max(k,i.dataMax||0),i.dataMin=Math.min(E,i.dataMin||0)),P&&(r.dataMax=Math.max(w,r.dataMax||0),r.dataMin=Math.min(S,r.dataMin||0)),this.cropped=T,this.cropStart=0,T&&!this.dataTable.modified&&(this.dataTable.modified=new B,this.hasProcessedDataTable=!0),this.dataTable.getModified().setColumns({x:x,y:A}),!0}function en(){let e=this.options||{},t=this.chart,r=t.boost,s=this.boost,o=this.xAxis,n=this.yAxis,a=e.xData||this.getColumn("x",!0),l=e.yData||this.getColumn("y",!0),h=this.getColumn("low",!0),d=this.getColumn("high",!0),f=e.data,u=o.getExtremes(),g=u.min-(o.minPointOffset||0),c=u.max+(o.minPointOffset||0),b=n.getExtremes(),p=b.min-(n.minPointOffset||0),x=b.max+(n.minPointOffset||0),A={},y=!!this.sampling,v=e.enableMouseTracking,P=e.threshold,T=this.pointArrayMap&&"low,high"===this.pointArrayMap.join(","),C=!!e.stacking,k=this.cropStart||0,E=this.requireSorting,M=!a,w="x"===e.findNearestPointBy,S=(this.getColumn("x").length?this.getColumn("x"):void 0)||this.options.xData||this.getColumn("x",!0),U=e.lineWidth??1,R=e.nullInteraction&&p,_=t.tooltip,N=!1,L,z=n.getThreshold(P),D,O,I,G;if(!this.boosted||(this.points?.forEach(e=>{e?.destroyElements?.()}),this.points=[],_&&!_.isHidden?(t.hoverPoint?.series===this||t.hoverPoints?.some(e=>e.series===this))&&(t.hoverPoint=t.hoverPoints=void 0,_.hide(0)):t.hoverPoints&&(t.hoverPoints=t.hoverPoints.filter(e=>e.series!==this)),o.isPanning||n.isPanning)||(N=Z(t,this),t.boosted=!0,!this.visible))return;(this.points||this.graph)&&Q(this),X(t)?(this.markerGroup&&this.markerGroup!==r?.markerGroup&&this.markerGroup.destroy(),this.markerGroup=r?.markerGroup,s&&s.target&&(this.renderTarget=s.target=s.target.destroy())):(this.markerGroup===r?.markerGroup&&(this.markerGroup=void 0),this.markerGroup=this.plotGroup("markerGroup","markers","visible",1,t.seriesGroup).addClass("highcharts-tracker"));let B=this.points=[],V=(e,r,s,a)=>{let l=!!S&&S[k+s],h=e=>{t.inverted&&(e=o.len-e,r=n.len-r),B.push({destroy:q,x:l,clientX:e,plotX:e,plotY:r,i:k+s,percentage:a})};e=Math.ceil(e),i=w?e:e+","+r,v&&(A[i]?l===S[S.length-1]&&(B.length--,h(e)):(A[i]=!0,h(e)))};this.buildKDTree=q,(0,m.fireEvent)(this,"renderCanvas"),r&&U>1&&this.is("line")&&(r.lineWidthFilter?.remove(),r.lineWidthFilter=t.renderer.definition({tagName:"filter",children:[{tagName:"feMorphology",attributes:{operator:"dilate",radius:.25*U}}],attributes:{id:"linewidth"}}),(s?.target||r.target)?.attr({filter:"url(#linewidth)"})),N&&(K(N,this),N.pushSeries(this),er(this));let F=N.settings,H=(0,m.isNumber)(F.chunkSize)&&F.chunkSize>0?F.chunkSize:3e3,j=()=>{(0,m.fireEvent)(this,"renderedCanvas"),delete this.buildKDTree,this.options&&this.buildKDTree(),F.debug.timeKDTree&&console.timeEnd("kd tree building")};t.renderer.forExport||(F.debug.timeKDTree&&console.time("kd tree building"),$(C?this.data.slice(k):a||f,function(e,i){let r=void 0===t.index,s,a,f,u,b,A=!1,v=!0;return!(0,m.defined)(e)||(!r&&(M?(s=e[0],a=e[1]):(s=e,a=l[i]??R??null),T?(M&&(a=e.slice(1,3)),A=h[i],a=d[i]):C&&(s=e.x,A=(a=e.stackY)-e.y,b=e.percentage),E||(v=(a||0)>=p&&a<=x),null!==a&&s>=g&&s<=c&&v&&(f=o.toPixels(s,!0),y?((void 0===I||f===L)&&(T||(A=a),(void 0===G||a>O)&&(O=a,G=i),(void 0===I||A<D)&&(D=A,I=i)),w&&f===L||(void 0!==I&&(u=n.toPixels(O,!0),z=n.toPixels(D,!0),V(f,u,G,b),z!==u&&V(f,z,I,b)),I=G=void 0,L=f)):V(f,u=Math.ceil(n.toPixels(a,!0)),i,b))),!r)},j,H))}function ea(e){let t=!0;if(this.chart.options&&this.chart.options.boost&&(t=void 0===this.chart.options.boost.enabled||this.chart.options.boost.enabled),!t||!this.boosted)return e.call(this);this.chart.boosted=!0;let i=Z(this.chart,this);i&&(K(i,this),i.pushSeries(this)),er(this)}function el(e){if(this.boosted){if(J(this,!0))return{};if(this.xAxis?.isPanning||this.yAxis?.isPanning)return this}return e.apply(this,[].slice.call(arguments,1))}function eh(e){let t=this.options.data;if(Y(this.chart)&&x[this.type]){let r=this.is("scatter")&&!this.is("bubble")&&!this.is("treemap")&&!this.is("heatmap");if(!ee(this,t)||r||this.is("treemap")||this.options.stacking||!J(this,!0)){if(this.boosted&&(this.xAxis?.isPanning||this.yAxis?.isPanning))return;r&&"treegrid"!==this.yAxis.type?eo.call(this,arguments[1]):e.apply(this,[].slice.call(arguments,1)),t=this.getColumn("x",!0)}if(this.boosted=ee(this,t),this.boosted){let e;this.options.data?.length&&(e=this.getFirstValidPoint(this.options.data),(0,m.isNumber)(e)||(0,m.isArray)(e)||this.is("treemap")||(0,m.error)(12,!1,this.chart));var i=this;i.boost=i.boost||{getPoint:e=>es(i,e)};let t=i.boost.altered=[];if(["allowDG","directTouch","stickyTracking"].forEach(e=>{t.push({prop:e,val:i[e],own:Object.hasOwnProperty.call(i,e)})}),i.allowDG=!1,i.directTouch=!1,i.stickyTracking=!0,i.finishedAnimating=!0,i.labelBySeries&&(i.labelBySeries=i.labelBySeries.destroy()),i.is("scatter")&&!i.is("treemap")&&i.data.length){for(let e of i.data)e?.destroy?.();i.data.length=0,i.points.length=0}}else!function(e){let t=e.boost,i=e.chart,r=i.boost;if(r?.markerGroup)for(let e of(r.markerGroup.destroy(),r.markerGroup=void 0,i.series))e.markerGroup=void 0,e.markerGroup=e.plotGroup("markerGroup","markers","visible",1,i.seriesGroup).addClass("highcharts-tracker");t&&((t.altered||[]).forEach(t=>{t.own?e[t.prop]=t.val:delete e[t.prop]}),t.clear&&t.clear()),(i.seriesGroup||e.group)?.clip()}(this)}else e.apply(this,[].slice.call(arguments,1))}function ed(e){let t=e.apply(this,[].slice.call(arguments,1));return this.boost&&t?this.boost.getPoint(t):t}let ef=function(e,t,i,r){if((0,m.pushUnique)(H,"Boost.Series")){let s=F().plotOptions,o=e.prototype;if((0,m.addEvent)(e,"destroy",et),(0,m.addEvent)(e,"hide",ei),r&&(o.renderCanvas=en),(0,m.wrap)(o,"getExtremes",el),(0,m.wrap)(o,"processData",eh),(0,m.wrap)(o,"searchPoint",ed),["translate","generatePoints","drawTracker","drawPoints","render"].forEach(e=>(function(e,t,i){function r(e){let t=this.options.stacking&&("translate"===i||"generatePoints"===i);this.boosted&&!t&&Y(this.chart)&&"heatmap"!==this.type&&"treemap"!==this.type&&x[this.type]&&0!==this.options.boostThreshold?"render"===i&&this.renderCanvas&&this.renderCanvas():e.call(this)}if((0,m.wrap)(e,i,r),"translate"===i)for(let e of["column","arearange","columnrange","heatmap","treemap"])t[e]&&(0,m.wrap)(t[e].prototype,i,r)})(o,t,e)),(0,m.wrap)(i.prototype,"firePointEvent",function(e,t,i){if("click"===t&&this.series.boosted){let e=i.point;if((e.dist||e.distX)>=(e.series.options.marker?.radius??10))return}return e.apply(this,[].slice.call(arguments,1))}),p.forEach(e=>{let i=s[e];i&&(i.boostThreshold=5e3,i.boostData=[],t[e].prototype.fillOpacity=!0)}),r){let{area:e,areaspline:i,bubble:r,column:s,heatmap:o,scatter:n,treemap:a}=t;if(e&&(0,m.extend)(e.prototype,{fill:!0,fillOpacity:!0,sampling:!0}),i&&(0,m.extend)(i.prototype,{fill:!0,fillOpacity:!0,sampling:!0}),r){let e=r.prototype;delete e.buildKDTree,(0,m.wrap)(e,"markerAttribs",function(e){return!this.boosted&&e.apply(this,[].slice.call(arguments,1))})}s&&(0,m.extend)(s.prototype,{fill:!0,sampling:!0}),n&&(n.prototype.fill=!0),[o,a].forEach(e=>{e&&(0,m.wrap)(e.prototype,"drawPoints",ea)})}}return e},eu={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",feldspar:"#d19275",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslateblue:"#8470ff",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",violetred:"#d02090",wheat:"#f5deb3",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},{doc:eg,win:ec}=b(),em=["webgl","experimental-webgl","moz-webgl","webkit-3d"];function eb(){let e;if(void 0!==ec.WebGLRenderingContext){e=eg.createElement("canvas");for(let t=0;t<em.length;++t)try{if(null!=e.getContext(em[t]))return!0}catch{}}return!1}let ep=b();ep.hasWebGLSupport=eb,o=ep.Chart,n=ep.Axis,a=ep.Series,l=ep.seriesTypes,h=ep.Point,d=ep.Color,(s=eb())||(void 0!==b().initCanvasBoost?b().initCanvasBoost():(0,m.error)(26)),d&&!d.names.lightgoldenrodyellow&&(d.names={...d.names,...eu}),P.compose(o,s),ef(a,l,h,s),(0,m.addEvent)(n,"setExtremes",function(e){for(let t of[this.chart,...this.series].map(e=>e.renderTarget).filter(Boolean)){let{horiz:i,pos:r}=this,s=i?"scaleX":"scaleY",o=i?"translateX":"translateY",n=t?.[s]??1,a=1,l=0,h=1,d="none";this.isPanning&&(a=(e.scale??1)*n,l=(t?.[o]||0)-a*(e.move||0)+n*r-a*r,h=.7,d="blur(3px)"),t?.attr({[s]:a,[o]:l}).css({transition:"250ms filter, 250ms opacity",filter:d,opacity:h})}if(!this.isPanning)for(let e of this.series)e.boost&&e.is("scatter")&&!e.is("bubble")&&!e.is("treemap")&&!e.is("heatmap")&&(e.isDirty=!0)});let ex=b();return c.default})());
|
package/modules/boost.src.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// SPDX-License-Identifier: LicenseRef-Highcharts
|
|
2
2
|
/**
|
|
3
|
-
* @license Highcharts JS v13.0
|
|
3
|
+
* @license Highcharts JS v13.1.0 (2026-09-18)
|
|
4
4
|
* @module highcharts/modules/boost
|
|
5
5
|
* @requires highcharts
|
|
6
6
|
*
|
|
@@ -15,14 +15,14 @@
|
|
|
15
15
|
* */
|
|
16
16
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
17
17
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
18
|
-
module.exports = factory(root["_Highcharts"], root["_Highcharts"]
|
|
18
|
+
module.exports = factory(root["_Highcharts"]["Color"], root["_Highcharts"]);
|
|
19
19
|
else if(typeof define === 'function' && define.amd)
|
|
20
|
-
define("highcharts/modules/boost", ["highcharts/highcharts"], function (amd1) {return factory(amd1
|
|
20
|
+
define("highcharts/modules/boost", ["highcharts/highcharts"], function (amd1) {return factory(amd1["Color"],amd1);});
|
|
21
21
|
else if(typeof exports === 'object')
|
|
22
|
-
exports["highcharts/modules/boost"] = factory(root["_Highcharts"], root["_Highcharts"]
|
|
22
|
+
exports["highcharts/modules/boost"] = factory(root["_Highcharts"]["Color"], root["_Highcharts"]);
|
|
23
23
|
else
|
|
24
|
-
root["Highcharts"] = factory(root["Highcharts"], root["Highcharts"]
|
|
25
|
-
})(typeof window === 'undefined' ? this : window, (
|
|
24
|
+
root["Highcharts"] = factory(root["Highcharts"]["Color"], root["Highcharts"]);
|
|
25
|
+
})(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__620__, __WEBPACK_EXTERNAL_MODULE__944__) => {
|
|
26
26
|
return /******/ (() => { // webpackBootstrap
|
|
27
27
|
/******/ "use strict";
|
|
28
28
|
/******/ var __webpack_modules__ = ({
|
|
@@ -69,48 +69,27 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__944__;
|
|
|
69
69
|
/******/
|
|
70
70
|
/************************************************************************/
|
|
71
71
|
/******/ /* webpack/runtime/compat get default export */
|
|
72
|
-
/******/
|
|
73
|
-
/******/
|
|
74
|
-
/******/
|
|
75
|
-
/******/
|
|
76
|
-
/******/
|
|
77
|
-
/******/
|
|
78
|
-
/******/
|
|
79
|
-
/******/
|
|
80
|
-
/******/ };
|
|
81
|
-
/******/ })();
|
|
72
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
73
|
+
/******/ __webpack_require__.n = (module) => {
|
|
74
|
+
/******/ const getter = module && module.__esModule ?
|
|
75
|
+
/******/ () => (module['default']) :
|
|
76
|
+
/******/ () => (module);
|
|
77
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
78
|
+
/******/ return getter;
|
|
79
|
+
/******/ };
|
|
82
80
|
/******/
|
|
83
81
|
/******/ /* webpack/runtime/define property getters */
|
|
84
|
-
/******/
|
|
85
|
-
/******/
|
|
86
|
-
/******/
|
|
87
|
-
/******/ if(
|
|
88
|
-
/******/
|
|
89
|
-
/******/ while(i < definition.length) {
|
|
90
|
-
/******/ var key = definition[i++];
|
|
91
|
-
/******/ var binding = definition[i++];
|
|
92
|
-
/******/ if(!__webpack_require__.o(exports, key)) {
|
|
93
|
-
/******/ if(binding === 0) {
|
|
94
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
|
|
95
|
-
/******/ } else {
|
|
96
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
|
|
97
|
-
/******/ }
|
|
98
|
-
/******/ } else if(binding === 0) { i++; }
|
|
99
|
-
/******/ }
|
|
100
|
-
/******/ } else {
|
|
101
|
-
/******/ for(var key in definition) {
|
|
102
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
103
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
104
|
-
/******/ }
|
|
105
|
-
/******/ }
|
|
82
|
+
/******/ // define getter/value functions for harmony exports
|
|
83
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
84
|
+
/******/ for(var key in definition) {
|
|
85
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
86
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
106
87
|
/******/ }
|
|
107
|
-
/******/ }
|
|
108
|
-
/******/ }
|
|
88
|
+
/******/ }
|
|
89
|
+
/******/ };
|
|
109
90
|
/******/
|
|
110
91
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
111
|
-
/******/ (
|
|
112
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
113
|
-
/******/ })();
|
|
92
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop));
|
|
114
93
|
/******/
|
|
115
94
|
/************************************************************************/
|
|
116
95
|
let __webpack_exports__ = {};
|
|
@@ -414,7 +393,7 @@ function onChartCallback(chart) {
|
|
|
414
393
|
chart.boost.markerGroup.translate(chart.xAxis[0].pos, chart.yAxis[0].pos);
|
|
415
394
|
}
|
|
416
395
|
}
|
|
417
|
-
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.addEvent)(chart, 'predraw', preRender);
|
|
396
|
+
;(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.addEvent)(chart, 'predraw', preRender);
|
|
418
397
|
// Use the load event rather than redraw, otherwise user load events will
|
|
419
398
|
// fire too early (#18755)
|
|
420
399
|
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.addEvent)(chart, 'load', canvasToSVG, { order: -1 });
|
|
@@ -1400,7 +1379,7 @@ class WGLRenderer {
|
|
|
1400
1379
|
if (!('pixelRatio' in options)) {
|
|
1401
1380
|
options.pixelRatio = 1;
|
|
1402
1381
|
}
|
|
1403
|
-
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.merge)(true, this.settings, options);
|
|
1382
|
+
;(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.merge)(true, this.settings, options);
|
|
1404
1383
|
}
|
|
1405
1384
|
/**
|
|
1406
1385
|
* Allocate a float buffer to fit all series
|
|
@@ -2638,13 +2617,19 @@ const { setLength: DataTableCore_setLength, splice: DataTableCore_splice } = Dat
|
|
|
2638
2617
|
class DataTableCore {
|
|
2639
2618
|
constructor(options = {}) {
|
|
2640
2619
|
this.isDataTable = true;
|
|
2641
|
-
|
|
2620
|
+
// Reject IDs that would pollute the prototype of ID-keyed maps.
|
|
2621
|
+
const id = this.isPollutingKey(options.id) ? void 0 : options.id;
|
|
2622
|
+
this.autoId = !id;
|
|
2642
2623
|
this.columns = {};
|
|
2643
|
-
this.id = (
|
|
2624
|
+
this.id = (id || (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.uniqueKey)());
|
|
2644
2625
|
this.rowCount = 0;
|
|
2645
2626
|
this.versionTag = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.uniqueKey)();
|
|
2646
2627
|
let rowCount = 0;
|
|
2647
2628
|
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.objectEach)(options.columns || {}, (column, columnId) => {
|
|
2629
|
+
if (columnId === '__proto__' ||
|
|
2630
|
+
columnId === 'constructor') {
|
|
2631
|
+
return;
|
|
2632
|
+
}
|
|
2648
2633
|
this.columns[columnId] = column.slice();
|
|
2649
2634
|
rowCount = Math.max(rowCount, column.length);
|
|
2650
2635
|
});
|
|
@@ -2655,6 +2640,17 @@ class DataTableCore {
|
|
|
2655
2640
|
* Functions
|
|
2656
2641
|
*
|
|
2657
2642
|
* */
|
|
2643
|
+
/**
|
|
2644
|
+
* Checks whether a key would pollute the prototype if used to index a
|
|
2645
|
+
* plain object (e.g. as a column ID or table ID).
|
|
2646
|
+
*
|
|
2647
|
+
* @private
|
|
2648
|
+
* @param {string|undefined} key The key to check.
|
|
2649
|
+
* @return {boolean} True if the key is unsafe to use.
|
|
2650
|
+
*/
|
|
2651
|
+
isPollutingKey(key) {
|
|
2652
|
+
return key === '__proto__' || key === 'constructor';
|
|
2653
|
+
}
|
|
2658
2654
|
/**
|
|
2659
2655
|
* Applies a row count to the table by setting the `rowCount` property and
|
|
2660
2656
|
* adjusting the length of all columns.
|
|
@@ -2701,7 +2697,7 @@ class DataTableCore {
|
|
|
2701
2697
|
});
|
|
2702
2698
|
this.rowCount = length;
|
|
2703
2699
|
}
|
|
2704
|
-
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.fireEvent)(this, 'afterDeleteRows', { rowIndex, rowCount });
|
|
2700
|
+
;(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.fireEvent)(this, 'afterDeleteRows', { rowIndex, rowCount });
|
|
2705
2701
|
this.versionTag = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.uniqueKey)();
|
|
2706
2702
|
}
|
|
2707
2703
|
/**
|
|
@@ -2813,6 +2809,10 @@ class DataTableCore {
|
|
|
2813
2809
|
setColumns(columns, rowIndex, eventDetail) {
|
|
2814
2810
|
let rowCount = this.rowCount;
|
|
2815
2811
|
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.objectEach)(columns, (column, columnId) => {
|
|
2812
|
+
if (columnId === '__proto__' ||
|
|
2813
|
+
columnId === 'constructor') {
|
|
2814
|
+
return;
|
|
2815
|
+
}
|
|
2816
2816
|
this.columns[columnId] = column.slice();
|
|
2817
2817
|
rowCount = column.length;
|
|
2818
2818
|
});
|
|
@@ -2851,14 +2851,17 @@ class DataTableCore {
|
|
|
2851
2851
|
* @emits #afterSetRows
|
|
2852
2852
|
*/
|
|
2853
2853
|
setRow(row, rowIndex = this.rowCount, insert, eventDetail) {
|
|
2854
|
-
var _a;
|
|
2855
2854
|
const { columns } = this, indexRowCount = insert ? this.rowCount + 1 : rowIndex + 1, rowKeys = Object.keys(row);
|
|
2856
2855
|
if (eventDetail?.addColumns !== false) {
|
|
2857
2856
|
for (let i = 0, iEnd = rowKeys.length; i < iEnd; i++) {
|
|
2858
|
-
|
|
2857
|
+
const rowKey = rowKeys[i];
|
|
2858
|
+
if (!this.isPollutingKey(rowKey) &&
|
|
2859
|
+
!Object.hasOwnProperty.call(columns, rowKey)) {
|
|
2860
|
+
columns[rowKey] = new Array(this.rowCount);
|
|
2861
|
+
}
|
|
2859
2862
|
}
|
|
2860
2863
|
}
|
|
2861
|
-
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.objectEach)(columns, (column, columnId) => {
|
|
2864
|
+
;(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.objectEach)(columns, (column, columnId) => {
|
|
2862
2865
|
if (column) {
|
|
2863
2866
|
if (insert) {
|
|
2864
2867
|
column = DataTableCore_splice(column, rowIndex, 0, true, [row[columnId]]).array;
|
|
@@ -3029,7 +3032,7 @@ function BoostSeries_compose(SeriesClass, seriesTypes, PointClass, wglMode) {
|
|
|
3029
3032
|
if (wglMode) {
|
|
3030
3033
|
seriesProto.renderCanvas = seriesRenderCanvas;
|
|
3031
3034
|
}
|
|
3032
|
-
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.wrap)(seriesProto, 'getExtremes', wrapSeriesGetExtremes);
|
|
3035
|
+
;(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.wrap)(seriesProto, 'getExtremes', wrapSeriesGetExtremes);
|
|
3033
3036
|
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.wrap)(seriesProto, 'processData', wrapSeriesProcessData);
|
|
3034
3037
|
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.wrap)(seriesProto, 'searchPoint', wrapSeriesSearchPoint);
|
|
3035
3038
|
[
|
|
@@ -3275,20 +3278,11 @@ function createAndAttachRenderer(chart, series) {
|
|
|
3275
3278
|
*/
|
|
3276
3279
|
function destroyGraphics(series) {
|
|
3277
3280
|
const points = series.points;
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
point = points[i];
|
|
3282
|
-
if (point && point.destroyElements) {
|
|
3283
|
-
point.destroyElements(); // #7557
|
|
3284
|
-
}
|
|
3285
|
-
}
|
|
3286
|
-
}
|
|
3281
|
+
points?.forEach((point) => {
|
|
3282
|
+
point?.destroyElements?.(); // #7557
|
|
3283
|
+
});
|
|
3287
3284
|
['graph', 'area', 'tracker'].forEach((prop) => {
|
|
3288
|
-
|
|
3289
|
-
if (seriesProp) {
|
|
3290
|
-
series[prop] = seriesProp.destroy();
|
|
3291
|
-
}
|
|
3285
|
+
series[prop] = series[prop]?.destroy();
|
|
3292
3286
|
});
|
|
3293
3287
|
for (const zone of series.zones) {
|
|
3294
3288
|
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.destroyObjectProperties)(zone, void 0, true);
|
|
@@ -3901,7 +3895,7 @@ function seriesRenderCanvas() {
|
|
|
3901
3895
|
const boostOptions = renderer.settings, chunkSize = ((0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.isNumber)(boostOptions.chunkSize) && boostOptions.chunkSize > 0 ?
|
|
3902
3896
|
boostOptions.chunkSize :
|
|
3903
3897
|
CHUNK_SIZE), doneProcessing = () => {
|
|
3904
|
-
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.fireEvent)(this, 'renderedCanvas');
|
|
3898
|
+
;(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.fireEvent)(this, 'renderedCanvas');
|
|
3905
3899
|
// Go back to prototype, ready to build
|
|
3906
3900
|
delete this.buildKDTree;
|
|
3907
3901
|
// Check that options exist, as async processing
|
|
@@ -3975,7 +3969,7 @@ function wrapSeriesFunctions(seriesProto, seriesTypes, method) {
|
|
|
3975
3969
|
this.renderCanvas();
|
|
3976
3970
|
}
|
|
3977
3971
|
}
|
|
3978
|
-
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.wrap)(seriesProto, method, branch);
|
|
3972
|
+
;(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.wrap)(seriesProto, method, branch);
|
|
3979
3973
|
// Special case for some types, when translate method is already wrapped
|
|
3980
3974
|
if (method === 'translate') {
|
|
3981
3975
|
for (const type of [
|
package/modules/broken-axis.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
!/**
|
|
2
|
-
* Highcharts JS v13.0
|
|
2
|
+
* Highcharts JS v13.1.0 (2026-09-18)
|
|
3
3
|
* @module highcharts/modules/broken-axis
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
*
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
*
|
|
9
9
|
* A commercial license may be required depending on use,
|
|
10
10
|
* see www.highcharts.com/license
|
|
11
|
-
*/function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(e._Highcharts,e._Highcharts
|
|
11
|
+
*/function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(e._Highcharts.StackItem,e._Highcharts):"function"==typeof define&&define.amd?define("highcharts/modules/broken-axis",["highcharts/highcharts"],function(e){return t(e.StackItem,e)}):"object"==typeof exports?exports["highcharts/modules/broken-axis"]=t(e._Highcharts.StackItem,e._Highcharts):e.Highcharts=t(e.Highcharts.StackItem,e.Highcharts)}("u"<typeof window?this:window,(e,t)=>(()=>{"use strict";var i,r={184(t){t.exports=e},944(e){e.exports=t}};let s={};function n(e){let t=s[e];if(void 0!==t)return t.exports;let i=s[e]={exports:{}};return r[e](i,i.exports,n),i.exports}n.n=e=>{let t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);let o={};n.d(o,{default:()=>m});var a=n(944),f=n.n(a),l=n(184),h=n.n(l);let{composed:u}=f();!function(e){function t(){void 0!==this.brokenAxis&&this.brokenAxis.setBreaks(this.options.breaks,!1)}function i(){Object.keys(this.options.breaks?.[0]||{}).length&&(this.options.ordinal=!1)}function r(){let e=this.brokenAxis;if(e?.hasBreaks){let t=this.tickPositions,i=this.tickPositions.info,r=[];for(let i=0;i<t.length;i++)e.isInAnyBreak(t[i])||r.push(t[i]);this.tickPositions=r,this.tickPositions.info=i}}function s(){this.brokenAxis||(this.brokenAxis=new c(this))}function n(){let{isDirty:e,options:{connectNulls:t},points:i,xAxis:r,yAxis:s}=this;if(e){let e=i.length;for(;e--;){let n=i[e],o=(null!==n.y||!1!==t)&&(r?.brokenAxis?.isInAnyBreak(n.x,!0)||s?.brokenAxis?.isInAnyBreak(n.y,!0));n.visible=!o&&!1!==n.options.visible}}}function o(){this.drawBreaks(this.xAxis,["x"]),this.drawBreaks(this.yAxis,this.pointArrayMap??["y"])}function f(e,t){let i,r,s,n=this,o=n.points;if(e?.brokenAxis?.hasBreaks){let f=e.brokenAxis;t.forEach(function(t){i=f?.breakArray||[],r=e.isXAxis?e.min:n.options.threshold??e.min,o.forEach(function(n){s=n["stack"+t.toUpperCase()]??n[t],i.forEach(function(t){if((0,a.isNumber)(r)&&(0,a.isNumber)(s)){let i="";r<t.from&&s>t.to||r>t.from&&s<t.from?i="pointBreak":(r<t.from&&s>t.from&&s<t.to||r>t.from&&s>t.to&&s<t.from)&&(i="pointInBreak"),i&&(0,a.fireEvent)(e,i,{point:n,brk:t})}})})})}}function l(){let e=this.currentDataGrouping,t=e?.gapSize,i=this.points.slice(),r=this.yAxis,s=this.options.gapSize,n=i.length-1;if(s&&n>0){let e,o;for("value"!==this.options.gapUnit&&(s*=this.basePointRange),t&&t>s&&t>=this.basePointRange&&(s=t);n--;)if(o&&!1!==o.visible||(o=i[n+1]),e=i[n],!1!==o.visible&&!1!==e.visible){if(o.x-e.x>s){let t=(e.x+o.x)/2;i.splice(n+1,0,{isNull:!0,x:t}),r.stacking&&this.options.stacking&&((r.stacking.stacks[this.stackKey][t]=new(h())(r,!1,t,this.stack??"")).total=0)}o=e}}return this.getGraphPath(i)}e.compose=function(e,h){if((0,a.pushUnique)(u,"Axis.Broken")){(0,a.addEvent)(e,"init",s),(0,a.addEvent)(e,"afterInit",t),(0,a.addEvent)(e,"afterSetTickPositions",r),(0,a.addEvent)(e,"afterSetOptions",i);let u=h.prototype;u.drawBreaks=f,u.gappedPath=l,(0,a.addEvent)(h,"afterGeneratePoints",n),(0,a.addEvent)(h,"afterRender",o)}return e};class c{static isInBreak(e,t){let i=e.repeat||1/0,r=e.from,s=e.to-e.from,n=t>=r?(t-r)%i:i-(r-t)%i;return e.inclusive?n<=s:n<s&&0!==n}static lin2Val(e){let t=this.min||0,i=this.brokenAxis,r=i?.breakArray;if(!r?.length||!(0,a.isNumber)(e))return e;let s=e;if(e>t)for(let e of r)if(e.from>s)break;else e.to<=s&&e.to>t?s+=e.len:c.isInBreak(e,s)&&(s+=e.len);else if(e<t)for(let e of r)if(e.from>t)break;else e.from>=s&&e.from<t?s-=e.len:c.isInBreak(e,s)&&(s-=e.len);return s}static val2Lin(e){let t=this.min||0,i=this.brokenAxis,r=i?.breakArray;if(!r?.length||!(0,a.isNumber)(e))return e;let s=e;if(e>t){for(let i of r)if(i.to<=e&&i.to>t)s-=i.len;else if(i.from>e)break;else if(c.isInBreak(i,e)){s-=e-i.from;break}}else if(e<t){for(let i of r)if(i.from>=e&&i.from<t)s+=i.len;else if(i.from>t)break;else if(c.isInBreak(i,e)){s+=i.to-e;break}}return s}constructor(e){this.axis=e}findBreakAt(e,t){return(0,a.find)(t,function(t){return t.from<e&&e<t.to})}isInAnyBreak(e,t){let i=this.axis,r=i.options.breaks||[],s=r.length,n,o,f;if(s&&(0,a.isNumber)(e)){for(;s--;)c.isInBreak(r[s],e)&&(n=!0,o||(o=r[s].showPoints??!i.isXAxis));f=n&&t?n&&!o:n}return f}setBreaks(e,t){let i=this,r=i.axis,s=r.chart.time,n=(0,a.isArray)(e)&&!!Object.keys(e?.[0]||{}).length;r.isDirty=(i.hasBreaks??!1)!==n,i.hasBreaks=n,e?.forEach(e=>{e.from=s.parse(e.from)||0,e.to=s.parse(e.to)||0}),e!==r.options.breaks&&(r.options.breaks=r.userOptions.breaks=e),r.forceRedraw=!0,r.series.forEach(function(e){e.isDirty=!0}),n||r.val2lin!==c.val2Lin||(delete r.val2lin,delete r.lin2val),n&&(r.userOptions.ordinal=!1,r.lin2val=c.lin2Val,r.val2lin=c.val2Lin,r.setExtremes=function(e,t,s,n,o){if(i.hasBreaks&&!r.treeGrid?.tree){let r,s=this.brokenAxis.breakArray||[];for(;r=i.findBreakAt(e,s);)e=r.to;for(;r=i.findBreakAt(t,s);)t=r.from;t<e&&(t=e)}r.constructor.prototype.setExtremes.call(this,e,t,s,n,o)},r.setAxisTranslation=function(){if(r.constructor.prototype.setAxisTranslation.call(this),i.unitLength=void 0,i.hasBreaks){let e=r.options.breaks||[],t=[],s=[],n=r.pointRangePadding??0,o=0,f,l,h=r.userMin??r.min,u=r.userMax??r.max,k,m,p=(0,a.isNumber)(h)?Math.min(r.dataMin??h,h):r.dataMin??h,b=(0,a.isNumber)(u)?Math.max(r.dataMax??u,u):r.dataMax??u;r.treeGrid?.tree||e.forEach(function(e){l=e.repeat||1/0,(0,a.isNumber)(h)&&(0,a.isNumber)(u)&&(c.isInBreak(e,h)&&(h+=e.to%l-h%l),c.isInBreak(e,u)&&(u-=u%l-e.from%l))}),(0,a.isNumber)(p)&&(0,a.isNumber)(b)&&e.forEach(function(e){for(k=e.from,l=e.repeat||1/0;k-l>p;)k-=l;for(;k<p;)k+=l;for(m=k;m<b;m+=l)t.push({value:m,move:"in"}),t.push({value:m+e.to-e.from,move:"out",size:e.breakSize})}),t.sort(function(e,t){return e.value===t.value?("in"!==e.move)-("in"!==t.move):e.value-t.value}),f=0,k=p,t.forEach(e=>{1===(f+="in"===e.move?1:-1)&&"in"===e.move&&(k=e.value),0===f&&(0,a.isNumber)(k)&&(s.push({from:k,to:e.value,len:e.value-k-(e.size||0)}),(0,a.isNumber)(h)&&(0,a.isNumber)(u)&&k<u&&e.value>h&&(o+=e.value-k-(e.size||0)))}),i.breakArray=s,(0,a.isNumber)(h)&&(0,a.isNumber)(u)&&(0,a.isNumber)(r.min)&&(i.unitLength=u-h-o+n,(0,a.fireEvent)(r,"afterBreaks"),r.staticScale?r.transA=r.staticScale:i.unitLength&&(r.transA*=(u-r.min+n)/i.unitLength),n&&(r.minPixelPadding=r.transA*(r.minPointOffset||0)),r.min=h,r.max=u)}}),(t??!0)&&r.chart.redraw()}}e.Additions=c}(i||(i={}));let c=i,k=f();k.BrokenAxis=k.BrokenAxis||c,k.BrokenAxis.compose(k.Axis,k.Series);let m=f();return o.default})());
|