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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
let t,e;/**
|
|
2
|
-
* Highcharts JS v13.0
|
|
2
|
+
* Highcharts JS v13.1.0 (2026-09-18)
|
|
3
3
|
* @module highcharts/modules/boost-canvas
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
*
|
|
@@ -10,4 +10,4 @@ let t,e;/**
|
|
|
10
10
|
*
|
|
11
11
|
* A commercial license may be required depending on use,
|
|
12
12
|
* see www.highcharts.com/license
|
|
13
|
-
*/import*as i from"../highcharts.js";let s={};s.n=t=>{let e=t&&t.__esModule?()=>t.default:()=>t;return s.d(e,{a:e}),e},s.d=(t,e)=>{if(Array.isArray(e))for(var i=0;i<e.length;){var r=e[i++],o=e[i++];s.o(t,r)?0===o&&i++:0===o?Object.defineProperty(t,r,{enumerable:!0,value:e[i++]}):Object.defineProperty(t,r,{enumerable:!0,get:o})}else for(var r in e)s.o(e,r)&&!s.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let r=i.default;var o,n=s.n(r);let a=["area","areaspline","arearange","column","columnrange","bar","line","scatter","heatmap","bubble","treemap"],l={};a.forEach(t=>{l[t]=!0});let{composed:h}=n();function d(t){let e=t.series,i=t.boost=t.boost||{},s=t.options.boost||{},r=s.seriesThreshold??50;if(e.length>=r)return!0;if(1===e.length)return!1;let o=s.allowForce;if(void 0===o){for(let e of(o=!0,t.xAxis))if((e.min??-1/0)>(e.dataMin??-1/0)||(e.max??1/0)<(e.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,h=0,d;for(let t of e)0!==(d=t.options).boostThreshold&&!1!==t.visible&&"heatmap"!==t.type&&(++a,l[t.type]&&++n,function(...t){let e=-Number.MAX_VALUE;return t.forEach(t=>{if(null!=t&&void 0!==t.length&&t.length>0)return e=t.length,!0}),e}(t.getColumn("x",!0),d.data||[],t.points)>=(d.boostThreshold||Number.MAX_VALUE)&&++h);return i.forceChartBoost=o&&(n===e.length&&h===n||!!i.markerGroup&&n===a&&h===n||h>5),i.forceChartBoost}function u(t){function e(){t.boost&&t.boost.wgl&&d(t)&&t.boost.wgl.render(t)}(0,r.addEvent)(t,"predraw",function(){t.boost=t.boost||{},t.boost.forceChartBoost=void 0,t.boosted=!1,t.axes.some(t=>t.isPanning)||t.boost.clear?.(),t.boost.canvas&&t.boost.wgl&&d(t)&&t.boost.wgl.allocateBuffer(t),t.boost.markerGroup&&t.xAxis&&t.xAxis.length>0&&t.yAxis&&t.yAxis.length>0&&t.boost.markerGroup.translate(t.xAxis[0].pos,t.yAxis[0].pos)}),(0,r.addEvent)(t,"load",e,{order:-1}),(0,r.addEvent)(t,"redraw",e);let i=-1,s=-1;(0,r.addEvent)(t.pointer,"afterGetHoverData",e=>{let r=e.hoverPoint?.series;if(t.boost=t.boost||{},t.boost.markerGroup&&r){let e=t.inverted?r.yAxis:r.xAxis,o=t.inverted?r.xAxis:r.yAxis;(e&&e.pos!==i||o&&o.pos!==s)&&(t.series.forEach(t=>{t.halo?.hide()}),t.boost.markerGroup.translate(e.pos,o.pos),i=e.pos,s=o.pos)}})}let c={compose:function(t,e){return e&&(0,r.pushUnique)(h,"Boost.Chart")&&t.prototype.callbacks.push(u),t},getBoostClipRect:function(t,e){let i=t.navigator,s={x:t.plotLeft,y:t.plotTop,width:t.plotWidth,height:t.plotHeight};if(i&&t.inverted?(s.width+=i.top+i.height,i.opposite||(s.x=i.left)):i&&!t.inverted&&(s.height=i.top+i.height-t.plotTop),e.is){let{xAxis:i,yAxis:r}=e;if(s=t.getClipBox(e),t.inverted){let t=s.width;s.width=s.height,s.height=t,s.x=r.pos,s.y=i.pos}else s.x=i.pos,s.y=r.pos}if(e===t){let e=t.inverted?t.xAxis:t.yAxis;t.inverted||i||!t.clipBox||(s.width=t.clipBox.width,s.height=t.clipBox.height),e.length<=1&&(s.y=Math.min(e[0].pos,s.y),s.height=e[0].pos-t.plotTop+e[0].len)}return s},isChartSeriesBoosting:d},g=i.default.Color;var m=s.n(g);let f={area:"LINES",arearange:"LINES",areaspline:"LINES",column:"LINES",columnrange:"LINES",bar:"LINES",line:"LINE_STRIP",scatter:"POINTS",heatmap:"TRIANGLES",treemap:"TRIANGLES",bubble:"POINTS"},p=class{constructor(t){if(this.errors=[],this.uLocations={},this.gl=t,t&&!this.createShader())return}bind(){this.gl&&this.shaderProgram&&this.gl.useProgram(this.shaderProgram)}createShader(){let t=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"),e=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=t=>this.gl.getUniformLocation(this.shaderProgram,t);return t&&e?(this.shaderProgram=this.gl.createProgram(),this.gl.attachShader(this.shaderProgram,t),this.gl.attachShader(this.shaderProgram,e),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,r.error)("[highcharts boost] shader error - "+this.errors.join("\n"))}stringToProgram(t,e){let i=this.gl.createShader("vertex"===e?this.gl.VERTEX_SHADER:this.gl.FRAGMENT_SHADER);return(this.gl.shaderSource(i,t),this.gl.compileShader(i),this.gl.getShaderParameter(i,this.gl.COMPILE_STATUS))?i:(this.errors.push("when compiling "+e+" 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(t,e,i,s=1){let o=t.options,n=Number.MAX_VALUE,a=-Number.MAX_VALUE;if(this.gl&&this.shaderProgram&&t.is("bubble")){let l=t.getPxExtremes();n=o.zMin??(0,r.clamp)(e,!1===o.displayNegative?o.zThreshold:-Number.MAX_VALUE,n),a=o.zMax??Math.max(a,i),this.gl.uniform1i(this.isBubbleUniform,1),this.gl.uniform1i(this.isCircleUniform,1),this.gl.uniform1i(this.bubbleSizeAreaUniform,"width"!==t.options.sizeBy),this.gl.uniform1i(this.bubbleSizeAbsUniform,t.options.sizeByAbsoluteValue),this.setUniform("bubbleMinSize",l.minPxSize*s),this.setUniform("bubbleMaxSize",l.maxPxSize*s),this.setUniform("bubbleZMin",n),this.setUniform("bubbleZMax",a),this.setUniform("bubbleZThreshold",t.options.zThreshold)}}setColor(t){this.gl&&this.shaderProgram&&this.gl.uniform4f(this.fcUniform,t[0]/255,t[1]/255,t[2]/255,t[3])}setDrawAsCircle(t){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.isCircleUniform,+!!t)}setInverted(t){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.isInverted,t)}setPMatrix(t){this.gl&&this.shaderProgram&&this.gl.uniformMatrix4fv(this.pUniform,!1,t)}setPointSize(t){this.gl&&this.shaderProgram&&this.gl.uniform1f(this.psUniform,t)}setSkipTranslation(t){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.skipTranslationUniform,+(!0===t))}setTexture(t){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.uSamplerUniform,t)}setUniform(t,e){if(this.gl&&this.shaderProgram){let i=this.uLocations[t]=this.uLocations[t]||this.gl.getUniformLocation(this.shaderProgram,t);this.gl.uniform1f(i,e)}}},b=class{constructor(t,e,i){this.buffer=!1,this.iterator=0,this.preAllocated=!1,this.vertAttribute=!1,this.components=i||2,this.dataComponents=i,this.gl=t,this.shader=e}allocate(t){this.iterator=-1,this.preAllocated=new Float32Array(4*t)}bind(){if(!this.buffer)return!1;this.gl.vertexAttribPointer(this.vertAttribute,this.components,this.gl.FLOAT,!1,0,0)}build(t,e,i){let s;return(this.data=t||[],this.data&&0!==this.data.length||this.preAllocated)?(this.components=i||this.components,this.buffer&&this.gl.deleteBuffer(this.buffer),this.preAllocated||(s=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||s,this.gl.STATIC_DRAW),this.vertAttribute=this.gl.getAttribLocation(this.shader.getProgram(),e),this.gl.enableVertexAttribArray(this.vertAttribute),s=!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(t,e,i,s){this.preAllocated&&(this.preAllocated[++this.iterator]=t,this.preAllocated[++this.iterator]=e,this.preAllocated[++this.iterator]=i,this.preAllocated[++this.iterator]=s)}render(t,e,i){let s=this.preAllocated?this.preAllocated.length:this.data?.length||0;return!!this.buffer&&!!s&&((!t||t>s||t<0)&&(t=0),(!e||e>s)&&(e=s),!(t>=e)&&(i=i||"POINTS",this.gl.drawArrays(this.gl[i],t/this.components,(e-t)/this.components),!0))}},{getBoostClipRect:x}=c,{parse:A}=m(),{doc:y,win:v}=n(),P={column:!0,columnrange:!0,bar:!0,area:!0,areaspline:!0,arearange:!0},T={scatter:!0,bubble:!0},C=["webgl","experimental-webgl","moz-webgl","webkit-3d"],M={},E=(t,e)=>{if(M[e])return M[e];let i=0===e.indexOf("var(")&&t[e.slice(4,-1).trim()];if(i)return M[e]=i,i;if(0===e.indexOf("color-mix(")){let i=/^color-mix\(in srgb,([a-z0-9\(\)\-\#]+),([a-z0-9\(\)\-\#]+) ([0-9\.%]+)/.exec(e);if(i){let s=parseFloat(i[3])/100,r=E(t,i[1]),o=E(t,i[2]),n=new(m())(r).tweenTo(new(m())(o),s);return M[e]=n,n}}return e};class S{static orthoMatrix(t,e){return[2/t,0,0,0,0,-(2/e),0,0,0,0,-2,0,-1,1,-1,1]}static seriesPointCount(t){let e,i,s;return t.boosted?(e=!!t.options.stacking,i=(t.getColumn("x").length?t.getColumn("x"):void 0)||t.options.xData||t.getColumn("x",!0),s=(e?t.data:i||t.options.data).length,"treemap"===t.type?s*=12:"heatmap"===t.type?s*=6:P[t.type]&&(s*=2),s):0}constructor(t){this.data=[],this.height=0,this.isInited=!1,this.markerData=[],this.series=[],this.textureHandles={},this.width=0,this.postRenderCallback=t,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||v.devicePixelRatio||1}setOptions(t){"pixelRatio"in t||(t.pixelRatio=1),(0,r.merge)(!0,this.settings,t)}allocateBuffer(t){let e=this.vbuffer,i=0;this.settings.usePreallocated&&(t.series.forEach(t=>{t.boosted&&(i+=S.seriesPointCount(t))}),e&&e.allocate(i))}allocateBufferForSingleSeries(t){let e=this.vbuffer,i=0;this.settings.usePreallocated&&(t.boosted&&(i=S.seriesPointCount(t)),e&&e.allocate(i))}clear(){let t=this.gl;t&&t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT)}pushSeriesData(t,e){let i=this.data,s=this.settings,o=this.vbuffer,n=t.pointArrayMap&&"low,high"===t.pointArrayMap.join(","),{chart:a,options:l,sorted:h,xAxis:d,yAxis:u}=t,c=!!l.stacking,g=l.data,f=t.xAxis.getExtremes(),p=f.min-(t.xAxis.minPointOffset||0),b=f.max+(t.xAxis.minPointOffset||0),x=t.yAxis.getExtremes(),y=x.min-(t.yAxis.minPointOffset||0),v=x.max+(t.yAxis.minPointOffset||0),T=(t.getColumn("x").length?t.getColumn("x"):void 0)||l.xData||t.getColumn("x",!0),C=(t.getColumn("y").length?t.getColumn("y"):void 0)||l.yData||t.getColumn("y",!0),M=(t.getColumn("z").length?t.getColumn("z"):void 0)||l.zData||t.getColumn("z",!0),S=!T||0===T.length,{colorByPoint:k,connectNulls:w,threshold:R,zoneAxis:U="y",zones:N}=l,L=t.points||!1,_=c?t.data:T||g,z={x:Number.MAX_VALUE,y:0},D={x:-Number.MAX_VALUE,y:0},O=void 0===a.index,G=P[t.type],I=this.getPixelRatio(),B=a.options.colors||[],V=t.chart.plotWidth,X=!1,F=!1,j,H,Y=0,W=!1,K,q,Z,Q,J=-1,$=!1,tt=!1,te,ti=!1,ts=!1,tr,to=!1,tn=!0,ta=!0,tl=[],th=!1,td=!1,tu=0,tc=0;if(l.boostData&&l.boostData.length>0)return;if(l.gapSize&&(td="value"!==l.gapUnit?l.gapSize*t.closestPointRange:l.gapSize),a.boost){let t=a.renderer.circle(0,0,1).attr({fill:"var(--highcharts-background-color)"}).add(),e=new(m())(getComputedStyle(t.element).getPropertyValue("fill")).get(),i=new(m())(a.palette?.cssVars.dark["--highcharts-background-color"]||"").get();t.destroy(),a.boost.cssVars=a.palette?.cssVars[e===i?"dark":"light"]}let tg=a.boost?.cssVars||{};if(N?.length&&(tl=[],N.forEach((t,e)=>{if("string"==typeof t.color){let i=A(E(tg,t.color)).rgba;i[0]/=255,i[1]/=255,i[2]/=255,tl[e]=i,th||void 0!==t.value||(th=i)}}),!th)){let e=t.pointAttribs&&t.pointAttribs().fill||t.color;th=A("string"==typeof e?E(tg,e):"").rgba,th[0]/=255,th[1]/=255,th[2]/=255}a.inverted&&(V=t.chart.plotHeight),t.closestPointRangePx=Number.MAX_VALUE;let tm=t=>{t&&(e.colorData.push(t[0]),e.colorData.push(t[1]),e.colorData.push(t[2]),e.colorData.push(t[3]))},tf=(t,r,n,a=1,l)=>{tm(l),1!==I&&(!s.useGPUTranslations||e.skipTranslation)&&(t*=I,r*=I,a*=I),s.usePreallocated&&o?(o.push(t,r,+!!n,a),tu+=4):(i.push(t),i.push(r),i.push(n?I:0),i.push(a))},tp=()=>{e.segments.length&&(e.segments[e.segments.length-1].to=i.length||tu)},tb=()=>{e.segments.length&&e.segments[e.segments.length-1].from===(i.length||tu)||(tp(),e.segments.push({from:i.length||tu}))},tx=(t,e,i,s,r)=>{tm(r),tf(t+i,e),tm(r),tf(t,e),tm(r),tf(t,e+s),tm(r),tf(t,e+s),tm(r),tf(t+i,e+s),tm(r),tf(t+i,e)};if(tb(),L&&L.length>0){e.skipTranslation=!0,e.drawMode="TRIANGLES",L[0].node&&L[0].node.levelDynamic&&L.sort((t,e)=>{if(t.node){if(t.node.levelDynamic>e.node.levelDynamic)return 1;if(t.node.levelDynamic<e.node.levelDynamic)return -1}return 0}),L.forEach(e=>{let i,s,r=e.plotY;if(void 0!==r&&!isNaN(r)&&null!==e.y&&e.shapeArgs){let{x:r=0,y:o=0,width:n=0,height:l=0}=e.shapeArgs;i=(s=a.styledMode?e.series.colorAttribs(e):s=e.series.pointAttribs(e))["stroke-width"]||0,"string"==typeof s.fill&&(s.fill=E(tg,s.fill)),tr=A(s.fill).rgba,tr[0]/=255,tr[1]/=255,tr[2]/=255,t.is("treemap")&&(i=i||1,"string"==typeof s.stroke&&(s.stroke=E(tg,s.stroke)),H=A(s.stroke).rgba,H[0]/=255,H[1]/=255,H[2]/=255,tx(r,o,n,l,H),i/=2),t.is("heatmap")&&a.inverted&&(r=d.len-r,o=u.len-o,n=-n,l=-l),tx(r+i,o+i,n-2*i,l-2*i,tr)}}),tp();return}for(;J<_.length-1;){if(void 0===(Z=_[++J]))continue;if(O)break;let i=g&&g[J];if(!S){let e;(0,r.isObject)(i,!0)&&i.color&&(e=A(i.color).rgba);let s=t.options.keys?.indexOf("color");Array.isArray(i)&&s&&"string"==typeof i[s]?e=A(i[s]).rgba:k&&(tc%=B.length,e=A(E(tg,B[tc])).rgba),e&&((tr=e)[0]=e[0]/255,tr[1]=e[1]/255,tr[2]=e[2]/255,tr[3]=e[3]),tc++}if(S?(K=Z[0],q=Z[1],_[J+1]&&(tt=_[J+1][0]),_[J-1]&&($=_[J-1][0]),Z.length>=3&&(Q=Z[2],Z[2]>e.zMax&&(e.zMax=Z[2]),Z[2]<e.zMin&&(e.zMin=Z[2]))):(K=Z,q=C?.[J],_[J+1]&&(tt=_[J+1]),_[J-1]&&($=_[J-1]),M&&M.length&&(Q=M[J],M[J]>e.zMax&&(e.zMax=M[J]),M[J]<e.zMin&&(e.zMin=M[J]))),!w&&(null===K||null===q)){tb();continue}if(tt&&tt>=p&&tt<=b&&(ti=!0),$&&$>=p&&$<=b&&(ts=!0),n?(S&&(q=Z.slice(1,3)),te=t.getColumn("low",!0)?.[J],q=t.getColumn("high",!0)?.[J]||0):c&&(K=Z.x,te=(q=Z.stackY)-Z.y),null!=y&&null!=v&&(tn=q>=y&&q<=v),!h&&!tn||(K>b&&D.x<b&&(D.x=K,D.y=q),K<p&&z.x>p&&(z.x=K,z.y=q),null===q&&w))continue;if(null===q||!tn&&_.length>1&&!ti&&!ts){tb();continue}if((h&&(tt>=p||K>=p)&&($<=b||K<=b)||!h&&K>=p&&K<=b)&&(to=!0),to||ti||ts){if(td&&K-$>td&&tb(),N?.length){let t,e,i="x"===U?K:q;N.some((t,s)=>void 0!==t.value&&i<t.value&&(e=s,!0)),void 0!==e&&tl[e]&&(t=tl[e]),tr=t||th||tr}if(s.useGPUTranslations||(e.skipTranslation=!0,K=d.toPixels(K,!0),q=u.toPixels(q,!0),!(K>V)||"POINTS"!==e.drawMode)){if(e.hasMarkers&&to&&!1!==X&&(t.closestPointRangePx=Math.min(t.closestPointRangePx,Math.abs(K-X))),!s.useGPUTranslations&&!s.usePreallocated&&X&&1>Math.abs(K-X)&&F&&1>Math.abs(q-F)){s.debug.showSkipSummary&&++Y;continue}G&&(j=te||0,(!1===te||void 0===te)&&(j=q<0?q:0),(n||c)&&!u.logarithmic||(j=Math.max(R??y,y)),s.useGPUTranslations||(j=u.toPixels(j,!0)),tf(K,j,!1,0,tr)),l.step&&!ta&&tf(K,F,!1,2,tr),tf(K,q,!1,"bubble"===t.type?Q||1:2,tr),X=K,F=q,W=!0,ta=!1}}}s.debug.showSkipSummary&&console.log("skipped points:",Y);let tA=(t,i)=>{if(s.useGPUTranslations||(e.skipTranslation=!0,t.x=d.toPixels(t.x,!0),t.y=u.toPixels(t.y,!0)),i){this.data=[t.x,t.y,0,2].concat(this.data);return}tf(t.x,t.y,0,2)};!W&&!1!==w&&"line_strip"===t.drawMode&&(z.x<Number.MAX_VALUE&&tA(z,!0),D.x>-Number.MAX_VALUE&&tA(D)),tp()}pushSeries(t){let e=this.markerData,i=this.series,s=this.settings;i.length>0&&i[i.length-1].hasMarkers&&(i[i.length-1].markerTo=e.length),s.debug.timeSeriesProcessing&&console.time("building "+t.type+" series");let r={segments:[],markerFrom:e.length,colorData:[],series:t,zMin:Number.MAX_VALUE,zMax:-Number.MAX_VALUE,hasMarkers:!!t.options.marker&&!1!==t.options.marker.enabled,showMarkers:!0,drawMode:f[t.type]||"LINE_STRIP"};t.index>=i.length?i.push(r):i[t.index]=r,this.pushSeriesData(t,r),s.debug.timeSeriesProcessing&&console.timeEnd("building "+t.type+" series")}flush(){let t=this.vbuffer;this.data=[],this.markerData=[],this.series=[],t&&t.destroy()}setXAxis(t){let e=this.shader;if(!e)return;let i=this.getPixelRatio();e.setUniform("xAxisTrans",t.transA*i),e.setUniform("xAxisMin",t.min),e.setUniform("xAxisMax",t.max),e.setUniform("xAxisMinPad",t.minPixelPadding*i),e.setUniform("xAxisPointRange",t.pointRange),e.setUniform("xAxisLen",t.len*i),e.setUniform("xAxisPos",t.pos*i),e.setUniform("xAxisCVSCoord",!t.horiz),e.setUniform("xAxisIsLog",!!t.logarithmic),e.setUniform("xAxisReversed",!!t.reversed)}setYAxis(t){let e=this.shader;if(!e)return;let i=this.getPixelRatio();e.setUniform("yAxisTrans",t.transA*i),e.setUniform("yAxisMin",t.min),e.setUniform("yAxisMax",t.max),e.setUniform("yAxisMinPad",t.minPixelPadding*i),e.setUniform("yAxisPointRange",t.pointRange),e.setUniform("yAxisLen",t.len*i),e.setUniform("yAxisPos",t.pos*i),e.setUniform("yAxisCVSCoord",!t.horiz),e.setUniform("yAxisIsLog",!!t.logarithmic),e.setUniform("yAxisReversed",!!t.reversed)}setThreshold(t,e){let i=this.shader;i&&(i.setUniform("hasThreshold",t),i.setUniform("translatedThreshold",e))}renderChart(t){let e=this.gl,i=this.settings,s=this.shader,o=this.vbuffer;M={};let a=this.getPixelRatio();if(!t)return!1;this.width=t.chartWidth*a,this.height=t.chartHeight*a;let l=this.height,h=this.width,d=t.options.colors||[];if(!e||!s||!h||!l)return!1;i.debug.timeRendering&&console.time("gl rendering"),e.canvas.width=h,e.canvas.height=l,s.bind(),e.viewport(0,0,h,l),s.setPMatrix(S.orthoMatrix(h,l)),i.lineWidth>1&&!n().isMS&&e.lineWidth(i.lineWidth),o&&(o.build(this.data,"aVertexPosition",4),o.bind()),s.setInverted(t.inverted),this.series.forEach((n,h)=>{let u=n.series.options,c=u.marker,g=void 0!==u.lineWidth?u.lineWidth:1,f=u.threshold,p=(0,r.isNumber)(f),y=n.series.yAxis.getThreshold(f),v=(u.marker?u.marker.enabled:null)??(!!n.series.xAxis.isRadial||null)??n.series.closestPointRangePx>2*((u.marker?u.marker.radius:10)||10),P=this.textureHandles[c&&c.symbol||n.series.symbol]||this.textureHandles.circle,C,M,S,k=[];if(0!==n.segments.length&&n.segments[0].from!==n.segments[0].to&&(P.isReady&&(e.bindTexture(e.TEXTURE_2D,P.handle),s.setTexture(P.handle)),t.styledMode?n.series.markerGroup===n.series.chart.boost?.markerGroup?(delete n.series.markerGroup,n.series.markerGroup=n.series.plotGroup("markerGroup","markers","visible",1,t.seriesGroup).addClass("highcharts-tracker"),S=n.series.markerGroup.getStyle("fill"),n.series.markerGroup.destroy(),n.series.markerGroup=n.series.chart.boost?.markerGroup):S=n.series.markerGroup?.getStyle("fill"):(S="POINTS"===n.drawMode&&n.series.pointAttribs&&n.series.pointAttribs().fill||n.series.color,u.colorByPoint&&"string"==typeof d[h]&&(S=d[h])),n.series.fillOpacity&&u.fillOpacity&&S&&(S=new(m())(S).setOpacity(u.fillOpacity??1).get()),"string"==typeof S&&(S=E(t.boost?.cssVars||{},S)),k=A(S).rgba,i.useAlpha||(k[3]=1),"add"===u.boostBlending?(e.blendFunc(e.SRC_ALPHA,e.ONE),e.blendEquation(e.FUNC_ADD)):"mult"===u.boostBlending||"multiply"===u.boostBlending?e.blendFunc(e.DST_COLOR,e.ZERO):"darken"===u.boostBlending?(e.blendFunc(e.ONE,e.ONE),e.blendEquation(e.FUNC_MIN)):e.blendFuncSeparate(e.SRC_ALPHA,e.ONE_MINUS_SRC_ALPHA,e.ONE,e.ONE_MINUS_SRC_ALPHA),s.reset(),n.colorData.length>0?(s.setUniform("hasColor",1),(M=new b(e,s)).build(Array(n.segments[0].from).concat(n.colorData),"aColor",4),M.bind()):(s.setUniform("hasColor",0),e.disableVertexAttribArray(e.getAttribLocation(s.getProgram(),"aColor"))),s.setColor(k),this.setXAxis(n.series.xAxis),this.setYAxis(n.series.yAxis),this.setThreshold(p,y),"POINTS"===n.drawMode&&s.setPointSize(((u.marker&&u.marker.radius)??.5)*2*a),s.setSkipTranslation(n.skipTranslation),"bubble"===n.series.type&&s.setBubbleUniforms(n.series,n.zMin,n.zMax,a),s.setDrawAsCircle(T[n.series.type]||!1),o)){if(g>0||"LINE_STRIP"!==n.drawMode){let{x:i,y:s,width:r,height:h}=x(t,n.series);for(e.enable(e.SCISSOR_TEST),e.scissor(i*a,l-(s+h)*a,r*a,h*a),C=0;C<n.segments.length;C++)o.render(n.segments[C].from,n.segments[C].to,n.drawMode);e.disable(e.SCISSOR_TEST)}if(n.hasMarkers&&v)for(s.setPointSize(((u.marker&&u.marker.radius)??5)*2*a),s.setDrawAsCircle(!0),C=0;C<n.segments.length;C++)o.render(n.segments[C].from,n.segments[C].to,"POINTS")}}),i.debug.timeRendering&&console.timeEnd("gl rendering"),this.postRenderCallback&&this.postRenderCallback(this),this.flush()}render(t){if(this.clear(),t.renderer.forExport)return this.renderChart(t);this.isInited?this.renderChart(t):setTimeout(()=>{this.render(t)},1)}setSize(t,e){let i=this.shader;i&&(this.width!==t||this.height!==e)&&(this.width=t,this.height=e,i.bind(),i.setPMatrix(S.orthoMatrix(t,e)))}init(t,e){let i=this.settings;if(this.isInited=!1,!t)return!1;i.debug.timeSetup&&console.time("gl setup");for(let e=0;e<C.length&&(this.gl=t.getContext(C[e],{}),!this.gl);++e);let s=this.gl;if(!s)return!1;e||this.flush(),s.enable(s.BLEND),s.blendFunc(s.SRC_ALPHA,s.ONE_MINUS_SRC_ALPHA),s.disable(s.DEPTH_TEST),s.depthFunc(s.LESS);let r=this.shader=new p(s);if(!r)return!1;this.vbuffer=new b(s,r);let o=(t,e)=>{let i={isReady:!1,texture:y.createElement("canvas"),handle:s.createTexture()},r=i.texture.getContext("2d");this.textureHandles[t]=i,i.texture.width=512,i.texture.height=512,r.mozImageSmoothingEnabled=!1,r.webkitImageSmoothingEnabled=!1,r.msImageSmoothingEnabled=!1,r.imageSmoothingEnabled=!1,r.strokeStyle="rgba(255, 255, 255, 0)",r.fillStyle="#FFF",e(r);try{s.activeTexture(s.TEXTURE0),s.bindTexture(s.TEXTURE_2D,i.handle),s.texImage2D(s.TEXTURE_2D,0,s.RGBA,s.RGBA,s.UNSIGNED_BYTE,i.texture),s.texParameteri(s.TEXTURE_2D,s.TEXTURE_WRAP_S,s.CLAMP_TO_EDGE),s.texParameteri(s.TEXTURE_2D,s.TEXTURE_WRAP_T,s.CLAMP_TO_EDGE),s.texParameteri(s.TEXTURE_2D,s.TEXTURE_MAG_FILTER,s.LINEAR),s.texParameteri(s.TEXTURE_2D,s.TEXTURE_MIN_FILTER,s.LINEAR),s.bindTexture(s.TEXTURE_2D,null),i.isReady=!0}catch{}};return o("circle",t=>{t.beginPath(),t.arc(256,256,256,0,2*Math.PI),t.stroke(),t.fill()}),o("square",t=>{t.fillRect(0,0,512,512)}),o("diamond",t=>{t.beginPath(),t.moveTo(256,0),t.lineTo(512,256),t.lineTo(256,512),t.lineTo(0,256),t.lineTo(256,0),t.fill()}),o("triangle",t=>{t.beginPath(),t.moveTo(0,512),t.lineTo(256,0),t.lineTo(512,512),t.lineTo(0,512),t.fill()}),o("triangle-down",t=>{t.beginPath(),t.moveTo(0,0),t.lineTo(256,512),t.lineTo(512,0),t.lineTo(0,0),t.fill()}),this.isInited=!0,i.debug.timeSetup&&console.timeEnd("gl setup"),!0}destroy(){let t=this.gl,e=this.shader,i=this.vbuffer;this.flush(),i&&i.destroy(),e&&e.destroy(),t&&((0,r.objectEach)(this.textureHandles,e=>{e.handle&&t.deleteTexture(e.handle)}),t.canvas.width=1,t.canvas.height=1)}}let{setLength:k,splice:w}={convertToNumber:function(t,e){switch(typeof t){case"boolean":return+!!t;case"number":return isNaN(t)&&!e?null:t;default:return isNaN(t=parseFloat(`${t??""}`))&&!e?null:t}},setLength:function(t,e,i){return Array.isArray(t)?(t.length=e,t):t[i?"subarray":"slice"](0,e)},splice:function(t,e,i,s,r=[]){if(Array.isArray(t))return Array.isArray(r)||(r=Array.from(r)),{removed:t.splice(e,i,...r),array:t};let o=Object.getPrototypeOf(t).constructor,n=t[s?"subarray":"slice"](e,e+i),a=new o(t.length-i+r.length);return a.set(t.subarray(0,e),0),a.set(r,e),a.set(t.subarray(e+i),e+r.length),{removed:n,array:a}}},R=class{constructor(t={}){this.isDataTable=!0,this.autoId=!t.id,this.columns={},this.id=t.id||(0,r.uniqueKey)(),this.rowCount=0,this.versionTag=(0,r.uniqueKey)();let e=0;(0,r.objectEach)(t.columns||{},(t,i)=>{this.columns[i]=t.slice(),e=Math.max(e,t.length)}),this.applyRowCount(e)}applyRowCount(t){this.rowCount=t,(0,r.objectEach)(this.columns,(e,i)=>{e.length!==t&&(this.columns[i]=k(e,t))})}deleteRows(t,e=1){if(e>0&&t<this.rowCount){let i=0;(0,r.objectEach)(this.columns,(s,r)=>{this.columns[r]=w(s,t,e).array,i=s.length}),this.rowCount=i}(0,r.fireEvent)(this,"afterDeleteRows",{rowIndex:t,rowCount:e}),this.versionTag=(0,r.uniqueKey)()}getColumn(t,e){return this.columns[t]}getColumns(t,e){return(t||Object.keys(this.columns)).reduce((t,e)=>(t[e]=this.columns[e],t),{})}getRowObject(t,e){let i={},s=this.columns;for(let r of(e??(e=Object.keys(this.columns)),e))i[r]=s[r]?.[t];return i}setColumn(t,e=[],i=0,s){this.setColumns({[t]:e},i,s)}setColumns(t,e,i){let s=this.rowCount;(0,r.objectEach)(t,(t,e)=>{this.columns[e]=t.slice(),s=t.length}),this.applyRowCount(s),i?.silent||((0,r.fireEvent)(this,"afterSetColumns"),this.versionTag=(0,r.uniqueKey)())}setRow(t,e=this.rowCount,i,s){var o;let{columns:n}=this,a=i?this.rowCount+1:e+1,l=Object.keys(t);if(s?.addColumns!==!1)for(let t=0,e=l.length;t<e;t++)n[o=l[t]]||(n[o]=Array(this.rowCount));(0,r.objectEach)(n,(s,r)=>{s&&(i?s=w(s,e,0,!0,[t[r]]).array:s[e]=r in t?t[r]:s[e],n[r]=s)}),this.applyRowCount(Math.max(a,this.rowCount)),s?.silent||((0,r.fireEvent)(this,"afterSetRows",{rowIndex:e}),this.versionTag=(0,r.uniqueKey)())}getModified(){return this.modified||this}},{getBoostClipRect:U,isChartSeriesBoosting:N}=c,{getOptions:L}=n(),{composed:_,doc:z,noop:D,win:O}=n();function G(t,e){let i=e.boost;t&&i&&i.target&&i.canvas&&!N(e.chart)&&t.allocateBufferForSingleSeries(e)}function I(t){return(t&&t.options&&t.options.boost&&t.options.boost.enabled)??!0}function B(t,i){let s=t.constructor,o=t.seriesGroup||i.group,n=t.chartWidth,a=t.chartHeight,l=t,h="u">typeof SVGForeignObjectElement,d=!1;N(t)?l=t:(l=i,d=!!(i.options.events?.click||i.options.point?.events?.click));let u=l.boost=l.boost||{};if(h=!1,e||(e=z.createElement("canvas")),!u.target&&(u.canvas=e,t.renderer.forExport||!h?(l.renderTarget=u.target=t.renderer.image("",0,0,n,a).addClass("highcharts-boost-canvas").add(o),u.clear=function(){u.target.attr({href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="})},u.copy=function(){u.resize(),u.target.attr({href:u.canvas.toDataURL("image/png")})}):(u.targetFo=t.renderer.createElement("foreignObject").add(o),l.renderTarget=u.target=z.createElement("canvas"),u.targetCtx=u.target.getContext("2d"),u.targetFo.element.appendChild(u.target),u.clear=function(){u.target.width=u.canvas.width,u.target.height=u.canvas.height},u.copy=function(){u.target.width=u.canvas.width,u.target.height=u.canvas.height,u.targetCtx.drawImage(u.canvas,0,0)}),u.resize=function(){n=t.chartWidth,a=t.chartHeight,(u.targetFo||u.target).attr({x:0,y:0,width:n,height:a}).css({pointerEvents:d?void 0:"none",mixedBlendMode:"normal",opacity:1}).addClass(d?"highcharts-tracker":""),l instanceof s&&l.boost?.markerGroup?.translate(t.plotLeft,t.plotTop)},u.clipRect=t.renderer.clipRect(),(u.targetFo||u.target).attr({zIndex:i.options.zIndex}),l instanceof s&&(l.boost.markerGroup=l.renderer.g().add(o).translate(i.xAxis.pos,i.yAxis.pos))),u.canvas.width=n,u.canvas.height=a,u.clipRect){let e=U(t,l);u.clipRect.attr(e),t.navigator||e.width!==t.clipBox.width||e.height!==t.clipBox.height?(u.targetFo||u.target).clip(u.clipRect):o?.clip(t.renderer.clipRect(e.x-4,e.y,e.width+4,e.height+4))}return u.resize(),u.clear(),!u.wgl&&(u.wgl=new S(t=>{t.settings.debug.timeBufferCopy&&console.time("buffer copy"),u.copy(),t.settings.debug.timeBufferCopy&&console.timeEnd("buffer copy")}),u.wgl.init(u.canvas)||(0,r.error)("[highcharts boost] - unable to init WebGL renderer"),u.wgl.setOptions(t.options.boost||{}),l instanceof s&&u.wgl.allocateBuffer(t)),u.wgl.setSize(n,a),u.wgl}function V(t){let e=t.points;if(e){let t,i;for(i=0;i<e.length;i+=1)(t=e[i])&&t.destroyElements&&t.destroyElements()}for(let e of(["graph","area","tracker"].forEach(e=>{let i=t[e];i&&(t[e]=i.destroy())}),t.zones))(0,r.destroyObjectProperties)(e,void 0,!0)}function X(t,e,i,s,r,o){let n=(r=r||0)+(s=s||3e3),a=!0;for(;a&&r<n&&r<t.length;)a=e(t[r],r),++r;a&&(r<t.length?o?X(t,e,i,s,r,o):O.requestAnimationFrame?O.requestAnimationFrame(function(){X(t,e,i,s,r)}):setTimeout(X,0,t,e,i,s,r):i&&i())}function F(t,e){let i=t.options.boostThreshold??Number.MAX_VALUE;if(0===i)return!1;let s=t.dataTable.getModified().rowCount,o=t.xAxis&&t.xAxis.options,n=t.yAxis&&t.yAxis.options,a=t.colorAxis&&t.colorAxis.options;return s>=i&&(0,r.isNumber)(n?.min)&&(0,r.isNumber)(n?.max)&&(!e||(0,r.isNumber)(o?.min)&&(0,r.isNumber)(o?.max))&&(!a||(0,r.isNumber)(a.min)&&(0,r.isNumber)(a.max))}let j=(t,e)=>{let{options:i,forceCrop:s,chart:r}=t,o=i.boostThreshold??Number.MAX_VALUE;return!s&&0!==o&&(N(r)||(e?.length??0)>=o)};function H(){let t=this,e=t.chart;e.boost&&e.boost.markerGroup===t.markerGroup&&(t.markerGroup=void 0),e.hoverPoints&&(e.hoverPoints=e.hoverPoints.filter(function(e){return e.series===t})),e.hoverPoint&&e.hoverPoint.series===t&&(e.hoverPoint=void 0)}function Y(){let t=this.boost,e=this.chart.boost,i=e?.markerGroup;t&&t.canvas&&t.target&&(t.wgl&&t.wgl.clear(),t.clear&&t.clear()),i&&this.markerGroup===i&&this.chart.series.some(t=>t.visible&&t.markerGroup===i)&&i.show()}function W(t){let e=t.boost;e&&e.canvas&&e.target&&e.wgl&&!N(t.chart)&&e.wgl.render(t.chart)}function K(t,e){let i=t.options,s=t.xAxis,o=t.pointClass;if(e instanceof o)return e;let n=i.data,a=t.is("scatter"),l=(a&&t.getColumn("x",!0).length?t.getColumn("x",!0):void 0)||(t.getColumn("x").length?t.getColumn("x"):void 0)||i.xData||t.getColumn("x",!0)||!1,h=t.getColumn("y",!0)||i.yData||!1,d=e.i,u=n?.[d]?.color,c=new o(t,a&&l&&h?[l[d],h[d]]:((0,r.isArray)(n)?n:[])[d],l?l[d]:void 0);if(a&&i?.keys?.length){let t=i.keys;for(let e=t.length-1;e>-1;e--)c[t[e]]=n[d][e]}return c.category=s.categories?s.categories[c.x]:c.x??c.x,c.key=c.name??c.category,c.dist=e.dist,c.distX=e.distX,c.plotX=e.plotX,c.plotY=e.plotY,c.percentage=e.percentage,c.isInside=t.isPointInside(c),u&&(c.color=u),c}function q(t){let{options:e,xAxis:i,yAxis:s}=this;if(!this.isDirty&&!i.isDirty&&!s.isDirty&&!t)return!1;this.yAxis.setTickInterval();let o=e.boostThreshold||0,n=e.cropThreshold,a=this.getColumn("x"),l=i.getExtremes(),h=l.max??Number.MAX_VALUE,d=l.min??-Number.MAX_VALUE,u=this.getColumn("y"),c=s.getExtremes(),g=c.max??Number.MAX_VALUE,m=c.min??-Number.MAX_VALUE,f=s.userMin??((0,r.isNumber)(s.options.min)?s.options.min:-Number.MAX_VALUE),p=s.userMax??((0,r.isNumber)(s.options.max)?s.options.max:Number.MAX_VALUE);if(!this.boosted&&i.old&&s.old&&d>=(i.old.min??-Number.MAX_VALUE)&&h<=(i.old.max??Number.MAX_VALUE)&&m>=(s.old.min??-Number.MAX_VALUE)&&g<=(s.old.max??Number.MAX_VALUE))return this.dataTable.getModified().setColumns({x:a,y:u}),!0;let b=this.dataTable.rowCount;if(!o||b<o||n&&!this.forceCrop&&!this.getExtremesFromAll&&!e.getExtremesFromAll&&b<n)return this.dataTable.getModified().setColumns({x:a,y:u}),!0;let x=[],A=[],y=[],v=!((0,r.isNumber)(l.max)||(0,r.isNumber)(l.min)),P=!((0,r.isNumber)(c.max)||(0,r.isNumber)(c.min)),T=!1,C,M=a[0],E=a[0],S,k=u?.[0],w=u?.[0];for(let t=0,e=a.length;t<e;++t)C=a[t],S=u?.[t],C>=d&&C<=h&&S>=f&&S<=p?(x.push(C),A.push(S),y.push(t),v&&(M=Math.max(M,C),E=Math.min(E,C)),P&&(k=Math.max(k,S),w=Math.min(w,S))):T=!0;return v&&(i.dataMax=Math.max(M,i.dataMax||0),i.dataMin=Math.min(E,i.dataMin||0)),P&&(s.dataMax=Math.max(k,s.dataMax||0),s.dataMin=Math.min(w,s.dataMin||0)),this.cropped=T,this.cropStart=0,T&&!this.dataTable.modified&&(this.dataTable.modified=new R,this.hasProcessedDataTable=!0),this.dataTable.getModified().setColumns({x:x,y:A}),!0}function Z(){let e=this.options||{},i=this.chart,s=i.boost,o=this.boost,n=this.xAxis,a=this.yAxis,l=e.xData||this.getColumn("x",!0),h=e.yData||this.getColumn("y",!0),d=this.getColumn("low",!0),u=this.getColumn("high",!0),c=e.data,g=n.getExtremes(),m=g.min-(n.minPointOffset||0),f=g.max+(n.minPointOffset||0),p=a.getExtremes(),b=p.min-(a.minPointOffset||0),x=p.max+(a.minPointOffset||0),A={},y=!!this.sampling,v=e.enableMouseTracking,P=e.threshold,T=this.pointArrayMap&&"low,high"===this.pointArrayMap.join(","),C=!!e.stacking,M=this.cropStart||0,E=this.requireSorting,S=!l,k="x"===e.findNearestPointBy,w=(this.getColumn("x").length?this.getColumn("x"):void 0)||this.options.xData||this.getColumn("x",!0),R=e.lineWidth??1,U=e.nullInteraction&&b,L=i.tooltip,_=!1,z,O=a.getThreshold(P),I,F,j,H;if(!this.boosted||(this.points?.forEach(t=>{t?.destroyElements?.()}),this.points=[],L&&!L.isHidden?(i.hoverPoint?.series===this||i.hoverPoints?.some(t=>t.series===this))&&(i.hoverPoint=i.hoverPoints=void 0,L.hide(0)):i.hoverPoints&&(i.hoverPoints=i.hoverPoints.filter(t=>t.series!==this)),n.isPanning||a.isPanning)||(_=B(i,this),i.boosted=!0,!this.visible))return;(this.points||this.graph)&&V(this),N(i)?(this.markerGroup&&this.markerGroup!==s?.markerGroup&&this.markerGroup.destroy(),this.markerGroup=s?.markerGroup,o&&o.target&&(this.renderTarget=o.target=o.target.destroy())):(this.markerGroup===s?.markerGroup&&(this.markerGroup=void 0),this.markerGroup=this.plotGroup("markerGroup","markers","visible",1,i.seriesGroup).addClass("highcharts-tracker"));let Y=this.points=[],K=(e,s,r,o)=>{let l=!!w&&w[M+r],h=t=>{i.inverted&&(t=n.len-t,s=a.len-s),Y.push({destroy:D,x:l,clientX:t,plotX:t,plotY:s,i:M+r,percentage:o})};e=Math.ceil(e),t=k?e:e+","+s,v&&(A[t]?l===w[w.length-1]&&(Y.length--,h(e)):(A[t]=!0,h(e)))};this.buildKDTree=D,(0,r.fireEvent)(this,"renderCanvas"),s&&R>1&&this.is("line")&&(s.lineWidthFilter?.remove(),s.lineWidthFilter=i.renderer.definition({tagName:"filter",children:[{tagName:"feMorphology",attributes:{operator:"dilate",radius:.25*R}}],attributes:{id:"linewidth"}}),(o?.target||s.target)?.attr({filter:"url(#linewidth)"})),_&&(G(_,this),_.pushSeries(this),W(this));let q=_.settings,Z=(0,r.isNumber)(q.chunkSize)&&q.chunkSize>0?q.chunkSize:3e3,Q=()=>{(0,r.fireEvent)(this,"renderedCanvas"),delete this.buildKDTree,this.options&&this.buildKDTree(),q.debug.timeKDTree&&console.timeEnd("kd tree building")};i.renderer.forExport||(q.debug.timeKDTree&&console.time("kd tree building"),X(C?this.data.slice(M):l||c,function(t,e){let s=void 0===i.index,o,l,c,g,p,A=!1,v=!0;return!(0,r.defined)(t)||(!s&&(S?(o=t[0],l=t[1]):(o=t,l=h[e]??U??null),T?(S&&(l=t.slice(1,3)),A=d[e],l=u[e]):C&&(o=t.x,A=(l=t.stackY)-t.y,p=t.percentage),E||(v=(l||0)>=b&&l<=x),null!==l&&o>=m&&o<=f&&v&&(c=n.toPixels(o,!0),y?((void 0===j||c===z)&&(T||(A=l),(void 0===H||l>F)&&(F=l,H=e),(void 0===j||A<I)&&(I=A,j=e)),k&&c===z||(void 0!==j&&(g=a.toPixels(F,!0),O=a.toPixels(I,!0),K(c,g,H,p),O!==g&&K(c,O,j,p)),j=H=void 0,z=c)):K(c,g=Math.ceil(a.toPixels(l,!0)),e,p))),!s)},Q,Z))}function Q(t){let e=!0;if(this.chart.options&&this.chart.options.boost&&(e=void 0===this.chart.options.boost.enabled||this.chart.options.boost.enabled),!e||!this.boosted)return t.call(this);this.chart.boosted=!0;let i=B(this.chart,this);i&&(G(i,this),i.pushSeries(this)),W(this)}function J(t){if(this.boosted){if(F(this,!0))return{};if(this.xAxis?.isPanning||this.yAxis?.isPanning)return this}return t.apply(this,[].slice.call(arguments,1))}function $(t){let e=this.options.data;if(I(this.chart)&&l[this.type]){let s=this.is("scatter")&&!this.is("bubble")&&!this.is("treemap")&&!this.is("heatmap");if(!j(this,e)||s||this.is("treemap")||this.options.stacking||!F(this,!0)){if(this.boosted&&(this.xAxis?.isPanning||this.yAxis?.isPanning))return;s&&"treegrid"!==this.yAxis.type?q.call(this,arguments[1]):t.apply(this,[].slice.call(arguments,1)),e=this.getColumn("x",!0)}if(this.boosted=j(this,e),this.boosted){let t;this.options.data?.length&&(t=this.getFirstValidPoint(this.options.data),(0,r.isNumber)(t)||(0,r.isArray)(t)||this.is("treemap")||(0,r.error)(12,!1,this.chart));var i=this;i.boost=i.boost||{getPoint:t=>K(i,t)};let e=i.boost.altered=[];if(["allowDG","directTouch","stickyTracking"].forEach(t=>{e.push({prop:t,val:i[t],own:Object.hasOwnProperty.call(i,t)})}),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 t of i.data)t?.destroy?.();i.data.length=0,i.points.length=0}}else!function(t){let e=t.boost,i=t.chart,s=i.boost;if(s?.markerGroup)for(let t of(s.markerGroup.destroy(),s.markerGroup=void 0,i.series))t.markerGroup=void 0,t.markerGroup=t.plotGroup("markerGroup","markers","visible",1,i.seriesGroup).addClass("highcharts-tracker");e&&((e.altered||[]).forEach(e=>{e.own?t[e.prop]=e.val:delete t[e.prop]}),e.clear&&e.clear()),(i.seriesGroup||t.group)?.clip()}(this)}else t.apply(this,[].slice.call(arguments,1))}function tt(t){let e=t.apply(this,[].slice.call(arguments,1));return this.boost&&e?this.boost.getPoint(e):e}let te={compose:function(t,e,i,s){if((0,r.pushUnique)(_,"Boost.Series")){let o=L().plotOptions,n=t.prototype;if((0,r.addEvent)(t,"destroy",H),(0,r.addEvent)(t,"hide",Y),s&&(n.renderCanvas=Z),(0,r.wrap)(n,"getExtremes",J),(0,r.wrap)(n,"processData",$),(0,r.wrap)(n,"searchPoint",tt),["translate","generatePoints","drawTracker","drawPoints","render"].forEach(t=>(function(t,e,i){function s(t){let e=this.options.stacking&&("translate"===i||"generatePoints"===i);this.boosted&&!e&&I(this.chart)&&"heatmap"!==this.type&&"treemap"!==this.type&&l[this.type]&&0!==this.options.boostThreshold?"render"===i&&this.renderCanvas&&this.renderCanvas():t.call(this)}if((0,r.wrap)(t,i,s),"translate"===i)for(let t of["column","arearange","columnrange","heatmap","treemap"])e[t]&&(0,r.wrap)(e[t].prototype,i,s)})(n,e,t)),(0,r.wrap)(i.prototype,"firePointEvent",function(t,e,i){if("click"===e&&this.series.boosted){let t=i.point;if((t.dist||t.distX)>=(t.series.options.marker?.radius??10))return}return t.apply(this,[].slice.call(arguments,1))}),a.forEach(t=>{let i=o[t];i&&(i.boostThreshold=5e3,i.boostData=[],e[t].prototype.fillOpacity=!0)}),s){let{area:t,areaspline:i,bubble:s,column:o,heatmap:n,scatter:a,treemap:l}=e;if(t&&(0,r.extend)(t.prototype,{fill:!0,fillOpacity:!0,sampling:!0}),i&&(0,r.extend)(i.prototype,{fill:!0,fillOpacity:!0,sampling:!0}),s){let t=s.prototype;delete t.buildKDTree,(0,r.wrap)(t,"markerAttribs",function(t){return!this.boosted&&t.apply(this,[].slice.call(arguments,1))})}o&&(0,r.extend)(o.prototype,{fill:!0,sampling:!0}),a&&(a.prototype.fill=!0),[n,l].forEach(t=>{t&&(0,r.wrap)(t.prototype,"drawPoints",Q)})}}return t},destroyGraphics:V,eachAsync:X,getPoint:K},{getBoostClipRect:ti,isChartSeriesBoosting:ts}=c,{destroyGraphics:tr}=te,{parse:to}=m(),{doc:tn,noop:ta}=n();!function(t){let e,i="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=";function s(t,e,i,s,r){r&&e!==r.clientX&&(t.moveTo(r.clientX,r.yBottom),t.lineTo(r.clientX,r.plotY),t.lineTo(e,i),t.lineTo(e,s))}function o(t,e,i,s,r){t.moveTo(e,i),t.arc(e,i,this.radii&&this.radii[r],0,2*Math.PI,!1)}function n(t,e,i,s){t.rect(e-1,i,1,s-i)}function a(){this.boost&&this.boost.copy&&this.boost.copy()}function l(){let t=this.boost||{};t.target&&t.target.attr({href:i}),t.canvas&&t.canvas.getContext("2d").clearRect(0,0,t.canvas.width,t.canvas.height)}function h(){ts(this.chart)?this.boost&&this.boost.clear&&this.boost.clear():this.boost&&this.boost.copy?this.boost.copy():this.chart.boost&&this.chart.boost.copy&&this.chart.boost.copy()}function d(t,e,i){t.lineTo(e,i)}function u(){let t,e=this.chart,s=ts(e)?e:this,o=s===e?e.seriesGroup:e.seriesGroup||this.group,n=e.chartWidth,a=e.chartHeight,l=function(t,e,i,s,r,o,n){t.call(this,i,e,s,r,o,n)},h=s.boost=s.boost||{};return t=h.targetCtx,h.canvas||(h.canvas=tn.createElement("canvas"),h.target=e.renderer.image("",0,0,n,a).addClass("highcharts-boost-canvas").add(o),t=h.targetCtx=h.canvas.getContext("2d"),e.inverted&&["moveTo","lineTo","rect","arc"].forEach(e=>{(0,r.wrap)(t,e,l)}),h.copy=function(){h.target.attr({href:h.canvas.toDataURL("image/png")})},h.clear=function(){t.clearRect(0,0,h.canvas.width,h.canvas.height),s===h.target&&h.target.attr({href:i})},h.clipRect=e.renderer.clipRect(),h.target.clip(h.clipRect)),h.canvas.width!==n&&(h.canvas.width=n),h.canvas.height!==a&&(h.canvas.height=a),h.target.attr({x:0,y:0,width:n,height:a,style:"pointer-events: none",href:i}),h.clipRect&&h.clipRect.attr(ti(e,s)),t}function c(){let t=this,s=t.options,o=t.chart,n=t.xAxis,a=t.yAxis,l=o.options.boost||{},h={timeRendering:l.timeRendering||!1,timeSeriesProcessing:l.timeSeriesProcessing||!1,timeSetup:l.timeSetup||!1},d=t.getColumn("x",!0),u=t.getColumn("y",!0),c=s.data||[],g=n.getExtremes(),f=g.min,p=g.max,b=a.getExtremes(),x=b.min,A=b.max,y={},v=!!t.sampling,P=s.marker&&s.marker.radius,T=t.cvsStrokeBatch||1e3,C=s.enableMouseTracking,M=s.threshold,E=(0,r.isNumber)(M),S=a.getThreshold(M),k=t.fill,w=t.pointArrayMap&&"low,high"===t.pointArrayMap.join(","),R=!!s.stacking,U=t.cropStart||0,N=o.options.loading,L=t.requireSorting,_=s.connectNulls,z=!d,D=R?t.data:d||c,O=t.fillOpacity?m().parse(t.color).setOpacity(s.fillOpacity??.75).get():t.color,G="x"===s.findNearestPointBy,I=this.boost||{},B=t.cvsDrawPoint,V=s.lineWidth?t.cvsLineTo:void 0,X=P&&P<=1?t.cvsMarkerSquare:t.cvsMarkerCircle;I.target&&I.target.attr({href:i}),(t.points||t.graph)&&tr(t),t.plotGroup("group","series",t.visible?"visible":"hidden",s.zIndex,o.seriesGroup),t.markerGroup=t.group,(0,r.addEvent)(t,"destroy",function(){t.markerGroup=null});let F=this.points=[],j=this.getContext();if(t.buildKDTree=ta,I.clear&&I.clear(),!t.visible)return;c.length>99999&&(o.options.loading=(0,r.merge)(N,{labelStyle:{backgroundColor:to("var(--highcharts-background-color)").setOpacity(.75).get(),padding:"1em",borderRadius:"0.5em"},style:{backgroundColor:"none",opacity:1}}),(0,r.internalClearTimeout)(e),o.showLoading("Drawing..."),o.options.loading=N),h.timeRendering&&console.time("canvas rendering");let H=0,Y,W,K=S,q,Z,Q,J,$,tt,ti=function(){k?(j.fillStyle=O,j.fill()):(j.strokeStyle=t.color,j.lineWidth=s.lineWidth,j.stroke())},ts=function(e,i,s,r){0===H&&(j.beginPath(),V&&(j.lineJoin="round")),o.scroller&&"highcharts-navigator-series"===t.options.className?(i+=o.scroller.top,s&&(s+=o.scroller.top)):i+=o.plotTop,e+=o.plotLeft,q?j.moveTo(e,i):B?B(j,e,i,s,W):V?V(j,e,i):X&&X.call(t,j,e,i,P,r),(H+=1)===T&&(ti(),H=0),W={clientX:e,plotY:i,yBottom:s}},tn=(this.getColumn("x").length?this.getColumn("x"):void 0)||this.options.xData||!!this.getColumn("x",!0).length&&this.getColumn("x",!0),tl=function(t,e,i){tt=G?t:t+","+e,C&&!y[tt]&&(y[tt]=!0,o.inverted&&(t=n.len-t,e=a.len-e),F.push({x:!!tn&&tn[U+i],clientX:t,plotX:t,plotY:e,i:U+i}))};te.eachAsync(D,(e,i)=>{let s=void 0===o.index,r,l,h,d,c,g,m=!1,b=!1,y=NaN,P=NaN,T=!0;return!s&&(z?(r=e[0],l=e[1],D[i+1]&&(y=D[i+1][0]),D[i-1]&&(P=D[i-1][0])):(r=e,l=u[i],D[i+1]&&(y=D[i+1]),D[i-1]&&(P=D[i-1])),y&&y>=f&&y<=p&&(m=!0),P&&P>=f&&P<=p&&(b=!0),w?(z&&(l=e.slice(1,3)),g=l[0],l=l[1]):R&&(r=e.x,g=(l=e.stackY)-e.y),c=null===l,L||(T=l>=x&&l<=A),!c&&(r>=f&&r<=p&&T||m||b)&&(h=Math.round(n.toPixels(r,!0)),v?((void 0===J||h===Y)&&(w||(g=l),(void 0===$||l>Q)&&(Q=l,$=i),(void 0===J||g<Z)&&(Z=g,J=i)),h!==Y&&(void 0!==J&&(d=a.toPixels(Q,!0),K=a.toPixels(Z,!0),ts(h,E?Math.min(d,S):d,E?Math.max(K,S):K,i),tl(h,d,$),K!==d&&tl(h,K,J)),J=$=void 0,Y=h)):(ts(h,d=Math.round(a.toPixels(l,!0)),K,i),tl(h,d,i))),q=c&&!_,i%5e4==0&&(t.boost&&t.boost.copy?t.boost.copy():t.chart.boost&&t.chart.boost.copy&&t.chart.boost.copy())),!s},function(){let i=o.loadingDiv,s=o.loadingShown;ti(),t.canvasToSVG(),h.timeRendering&&console.timeEnd("canvas rendering"),(0,r.fireEvent)(t,"renderedCanvas"),s&&(i.style.transition="opacity 250ms",i.opacity=0,o.loadingShown=!1,e=setTimeout(function(){i.parentNode&&i.parentNode.removeChild(i),o.loadingDiv=o.loadingSpan=null},250)),delete t.buildKDTree,t.buildKDTree()},o.renderer.forExport?Number.MAX_VALUE:void 0)}function g(t,e,i,s){t.moveTo(e,i),t.arc(e,i,s,0,2*Math.PI,!1)}function f(t,e,i,s){t.rect(e-s,i-s,2*s,2*s)}function p(){let t=this.chart,e=this.getContext(),i=this.chart.inverted,s=this.xAxis,r=this.yAxis;e?(this.points.forEach(o=>{let n=o.plotY;if(void 0!==n&&!isNaN(n)&&null!==o.y&&e){let{x:n=0,y:a=0,width:l=0,height:h=0}=o.shapeArgs||{};e.fillStyle=(t.styledMode?o.series.colorAttribs(o):o.series.pointAttribs(o)).fill,i?e.fillRect(r.len-a+s.left,s.len-n+r.top,-h,-l):e.fillRect(n+s.left,a+r.top,l,h)}}),this.canvasToSVG()):this.chart.showLoading("Your browser doesn't support HTML5 canvas, <br>please use a modern browser")}t.compose=function(t,e,i){let m=e.prototype;if(!m.renderCanvas){let{area:e,bubble:b,column:x,heatmap:A,scatter:y}=i;if(t.prototype.callbacks.push(t=>{(0,r.addEvent)(t,"predraw",l),(0,r.addEvent)(t,"render",a)}),m.canvasToSVG=h,m.cvsLineTo=d,m.getContext=u,m.renderCanvas=c,e){let t=e.prototype;t.cvsDrawPoint=s,t.fill=!0,t.fillOpacity=!0,t.sampling=!0}if(b){let t=b.prototype;t.cvsMarkerCircle=o,t.cvsStrokeBatch=1}if(x){let t=x.prototype;t.cvsDrawPoint=n,t.fill=!0,t.sampling=!0}if(A){let t=A.prototype;(0,r.wrap)(t,"drawPoints",p)}if(y){let t=y.prototype;t.cvsMarkerCircle=g,t.cvsMarkerSquare=f,t.fill=!0}}}}(o||(o={}));let tl=o,th=n();th.initCanvasBoost=function(){tl.compose(th.Chart,th.Series,th.seriesTypes)};let td=n();export{td as default};
|
|
13
|
+
*/import*as i from"../highcharts.js";let s={};s.n=t=>{let e=t&&t.__esModule?()=>t.default:()=>t;return s.d(e,{a:e}),e},s.d=(t,e)=>{for(var i in e)s.o(e,i)&&!s.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let r=i.default;var o,n=s.n(r);let a=["area","areaspline","arearange","column","columnrange","bar","line","scatter","heatmap","bubble","treemap"],l={};a.forEach(t=>{l[t]=!0});let{composed:h}=n();function u(t){let e=t.series,i=t.boost=t.boost||{},s=t.options.boost||{},r=s.seriesThreshold??50;if(e.length>=r)return!0;if(1===e.length)return!1;let o=s.allowForce;if(void 0===o){for(let e of(o=!0,t.xAxis))if((e.min??-1/0)>(e.dataMin??-1/0)||(e.max??1/0)<(e.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,h=0,u;for(let t of e)0!==(u=t.options).boostThreshold&&!1!==t.visible&&"heatmap"!==t.type&&(++a,l[t.type]&&++n,function(...t){let e=-Number.MAX_VALUE;return t.forEach(t=>{if(null!=t&&void 0!==t.length&&t.length>0)return e=t.length,!0}),e}(t.getColumn("x",!0),u.data||[],t.points)>=(u.boostThreshold||Number.MAX_VALUE)&&++h);return i.forceChartBoost=o&&(n===e.length&&h===n||!!i.markerGroup&&n===a&&h===n||h>5),i.forceChartBoost}function d(t){function e(){t.boost&&t.boost.wgl&&u(t)&&t.boost.wgl.render(t)}(0,r.addEvent)(t,"predraw",function(){t.boost=t.boost||{},t.boost.forceChartBoost=void 0,t.boosted=!1,t.axes.some(t=>t.isPanning)||t.boost.clear?.(),t.boost.canvas&&t.boost.wgl&&u(t)&&t.boost.wgl.allocateBuffer(t),t.boost.markerGroup&&t.xAxis&&t.xAxis.length>0&&t.yAxis&&t.yAxis.length>0&&t.boost.markerGroup.translate(t.xAxis[0].pos,t.yAxis[0].pos)}),(0,r.addEvent)(t,"load",e,{order:-1}),(0,r.addEvent)(t,"redraw",e);let i=-1,s=-1;(0,r.addEvent)(t.pointer,"afterGetHoverData",e=>{let r=e.hoverPoint?.series;if(t.boost=t.boost||{},t.boost.markerGroup&&r){let e=t.inverted?r.yAxis:r.xAxis,o=t.inverted?r.xAxis:r.yAxis;(e&&e.pos!==i||o&&o.pos!==s)&&(t.series.forEach(t=>{t.halo?.hide()}),t.boost.markerGroup.translate(e.pos,o.pos),i=e.pos,s=o.pos)}})}let c={compose:function(t,e){return e&&(0,r.pushUnique)(h,"Boost.Chart")&&t.prototype.callbacks.push(d),t},getBoostClipRect:function(t,e){let i=t.navigator,s={x:t.plotLeft,y:t.plotTop,width:t.plotWidth,height:t.plotHeight};if(i&&t.inverted?(s.width+=i.top+i.height,i.opposite||(s.x=i.left)):i&&!t.inverted&&(s.height=i.top+i.height-t.plotTop),e.is){let{xAxis:i,yAxis:r}=e;if(s=t.getClipBox(e),t.inverted){let t=s.width;s.width=s.height,s.height=t,s.x=r.pos,s.y=i.pos}else s.x=i.pos,s.y=r.pos}if(e===t){let e=t.inverted?t.xAxis:t.yAxis;t.inverted||i||!t.clipBox||(s.width=t.clipBox.width,s.height=t.clipBox.height),e.length<=1&&(s.y=Math.min(e[0].pos,s.y),s.height=e[0].pos-t.plotTop+e[0].len)}return s},isChartSeriesBoosting:u},g=i.default.Color;var m=s.n(g);let p={area:"LINES",arearange:"LINES",areaspline:"LINES",column:"LINES",columnrange:"LINES",bar:"LINES",line:"LINE_STRIP",scatter:"POINTS",heatmap:"TRIANGLES",treemap:"TRIANGLES",bubble:"POINTS"},f=class{constructor(t){if(this.errors=[],this.uLocations={},this.gl=t,t&&!this.createShader())return}bind(){this.gl&&this.shaderProgram&&this.gl.useProgram(this.shaderProgram)}createShader(){let t=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"),e=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=t=>this.gl.getUniformLocation(this.shaderProgram,t);return t&&e?(this.shaderProgram=this.gl.createProgram(),this.gl.attachShader(this.shaderProgram,t),this.gl.attachShader(this.shaderProgram,e),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,r.error)("[highcharts boost] shader error - "+this.errors.join("\n"))}stringToProgram(t,e){let i=this.gl.createShader("vertex"===e?this.gl.VERTEX_SHADER:this.gl.FRAGMENT_SHADER);return(this.gl.shaderSource(i,t),this.gl.compileShader(i),this.gl.getShaderParameter(i,this.gl.COMPILE_STATUS))?i:(this.errors.push("when compiling "+e+" 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(t,e,i,s=1){let o=t.options,n=Number.MAX_VALUE,a=-Number.MAX_VALUE;if(this.gl&&this.shaderProgram&&t.is("bubble")){let l=t.getPxExtremes();n=o.zMin??(0,r.clamp)(e,!1===o.displayNegative?o.zThreshold:-Number.MAX_VALUE,n),a=o.zMax??Math.max(a,i),this.gl.uniform1i(this.isBubbleUniform,1),this.gl.uniform1i(this.isCircleUniform,1),this.gl.uniform1i(this.bubbleSizeAreaUniform,"width"!==t.options.sizeBy),this.gl.uniform1i(this.bubbleSizeAbsUniform,t.options.sizeByAbsoluteValue),this.setUniform("bubbleMinSize",l.minPxSize*s),this.setUniform("bubbleMaxSize",l.maxPxSize*s),this.setUniform("bubbleZMin",n),this.setUniform("bubbleZMax",a),this.setUniform("bubbleZThreshold",t.options.zThreshold)}}setColor(t){this.gl&&this.shaderProgram&&this.gl.uniform4f(this.fcUniform,t[0]/255,t[1]/255,t[2]/255,t[3])}setDrawAsCircle(t){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.isCircleUniform,+!!t)}setInverted(t){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.isInverted,t)}setPMatrix(t){this.gl&&this.shaderProgram&&this.gl.uniformMatrix4fv(this.pUniform,!1,t)}setPointSize(t){this.gl&&this.shaderProgram&&this.gl.uniform1f(this.psUniform,t)}setSkipTranslation(t){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.skipTranslationUniform,+(!0===t))}setTexture(t){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.uSamplerUniform,t)}setUniform(t,e){if(this.gl&&this.shaderProgram){let i=this.uLocations[t]=this.uLocations[t]||this.gl.getUniformLocation(this.shaderProgram,t);this.gl.uniform1f(i,e)}}},b=class{constructor(t,e,i){this.buffer=!1,this.iterator=0,this.preAllocated=!1,this.vertAttribute=!1,this.components=i||2,this.dataComponents=i,this.gl=t,this.shader=e}allocate(t){this.iterator=-1,this.preAllocated=new Float32Array(4*t)}bind(){if(!this.buffer)return!1;this.gl.vertexAttribPointer(this.vertAttribute,this.components,this.gl.FLOAT,!1,0,0)}build(t,e,i){let s;return(this.data=t||[],this.data&&0!==this.data.length||this.preAllocated)?(this.components=i||this.components,this.buffer&&this.gl.deleteBuffer(this.buffer),this.preAllocated||(s=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||s,this.gl.STATIC_DRAW),this.vertAttribute=this.gl.getAttribLocation(this.shader.getProgram(),e),this.gl.enableVertexAttribArray(this.vertAttribute),s=!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(t,e,i,s){this.preAllocated&&(this.preAllocated[++this.iterator]=t,this.preAllocated[++this.iterator]=e,this.preAllocated[++this.iterator]=i,this.preAllocated[++this.iterator]=s)}render(t,e,i){let s=this.preAllocated?this.preAllocated.length:this.data?.length||0;return!!this.buffer&&!!s&&((!t||t>s||t<0)&&(t=0),(!e||e>s)&&(e=s),!(t>=e)&&(i=i||"POINTS",this.gl.drawArrays(this.gl[i],t/this.components,(e-t)/this.components),!0))}},{getBoostClipRect:x}=c,{parse:A}=m(),{doc:y,win:v}=n(),P={column:!0,columnrange:!0,bar:!0,area:!0,areaspline:!0,arearange:!0},T={scatter:!0,bubble:!0},C=["webgl","experimental-webgl","moz-webgl","webkit-3d"],M={},E=(t,e)=>{if(M[e])return M[e];let i=0===e.indexOf("var(")&&t[e.slice(4,-1).trim()];if(i)return M[e]=i,i;if(0===e.indexOf("color-mix(")){let i=/^color-mix\(in srgb,([a-z0-9\(\)\-\#]+),([a-z0-9\(\)\-\#]+) ([0-9\.%]+)/.exec(e);if(i){let s=parseFloat(i[3])/100,r=E(t,i[1]),o=E(t,i[2]),n=new(m())(r).tweenTo(new(m())(o),s);return M[e]=n,n}}return e},S=class t{static orthoMatrix(t,e){return[2/t,0,0,0,0,-(2/e),0,0,0,0,-2,0,-1,1,-1,1]}static seriesPointCount(t){let e,i,s;return t.boosted?(e=!!t.options.stacking,i=(t.getColumn("x").length?t.getColumn("x"):void 0)||t.options.xData||t.getColumn("x",!0),s=(e?t.data:i||t.options.data).length,"treemap"===t.type?s*=12:"heatmap"===t.type?s*=6:P[t.type]&&(s*=2),s):0}constructor(t){this.data=[],this.height=0,this.isInited=!1,this.markerData=[],this.series=[],this.textureHandles={},this.width=0,this.postRenderCallback=t,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||v.devicePixelRatio||1}setOptions(t){"pixelRatio"in t||(t.pixelRatio=1),(0,r.merge)(!0,this.settings,t)}allocateBuffer(e){let i=this.vbuffer,s=0;this.settings.usePreallocated&&(e.series.forEach(e=>{e.boosted&&(s+=t.seriesPointCount(e))}),i&&i.allocate(s))}allocateBufferForSingleSeries(e){let i=this.vbuffer,s=0;this.settings.usePreallocated&&(e.boosted&&(s=t.seriesPointCount(e)),i&&i.allocate(s))}clear(){let t=this.gl;t&&t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT)}pushSeriesData(t,e){let i=this.data,s=this.settings,o=this.vbuffer,n=t.pointArrayMap&&"low,high"===t.pointArrayMap.join(","),{chart:a,options:l,sorted:h,xAxis:u,yAxis:d}=t,c=!!l.stacking,g=l.data,p=t.xAxis.getExtremes(),f=p.min-(t.xAxis.minPointOffset||0),b=p.max+(t.xAxis.minPointOffset||0),x=t.yAxis.getExtremes(),y=x.min-(t.yAxis.minPointOffset||0),v=x.max+(t.yAxis.minPointOffset||0),T=(t.getColumn("x").length?t.getColumn("x"):void 0)||l.xData||t.getColumn("x",!0),C=(t.getColumn("y").length?t.getColumn("y"):void 0)||l.yData||t.getColumn("y",!0),M=(t.getColumn("z").length?t.getColumn("z"):void 0)||l.zData||t.getColumn("z",!0),S=!T||0===T.length,{colorByPoint:k,connectNulls:w,threshold:R,zoneAxis:U="y",zones:N}=l,_=t.points||!1,L=c?t.data:T||g,z={x:Number.MAX_VALUE,y:0},D={x:-Number.MAX_VALUE,y:0},O=void 0===a.index,G=P[t.type],I=this.getPixelRatio(),B=a.options.colors||[],V=t.chart.plotWidth,X=!1,F=!1,j,H,K=0,Y=!1,W,q,Z,Q,J=-1,$=!1,tt=!1,te,ti=!1,ts=!1,tr,to=!1,tn=!0,ta=!0,tl=[],th=!1,tu=!1,td=0,tc=0;if(l.boostData&&l.boostData.length>0)return;if(l.gapSize&&(tu="value"!==l.gapUnit?l.gapSize*t.closestPointRange:l.gapSize),a.boost){let t=a.renderer.circle(0,0,1).attr({fill:"var(--highcharts-background-color)"}).add(),e=new(m())(getComputedStyle(t.element).getPropertyValue("fill")).get(),i=new(m())(a.palette?.cssVars.dark["--highcharts-background-color"]||"").get();t.destroy(),a.boost.cssVars=a.palette?.cssVars[e===i?"dark":"light"]}let tg=a.boost?.cssVars||{};if(N?.length&&(tl=[],N.forEach((t,e)=>{if("string"==typeof t.color){let i=A(E(tg,t.color)).rgba;i[0]/=255,i[1]/=255,i[2]/=255,tl[e]=i,th||void 0!==t.value||(th=i)}}),!th)){let e=t.pointAttribs&&t.pointAttribs().fill||t.color;th=A("string"==typeof e?E(tg,e):"").rgba,th[0]/=255,th[1]/=255,th[2]/=255}a.inverted&&(V=t.chart.plotHeight),t.closestPointRangePx=Number.MAX_VALUE;let tm=t=>{t&&(e.colorData.push(t[0]),e.colorData.push(t[1]),e.colorData.push(t[2]),e.colorData.push(t[3]))},tp=(t,r,n,a=1,l)=>{tm(l),1!==I&&(!s.useGPUTranslations||e.skipTranslation)&&(t*=I,r*=I,a*=I),s.usePreallocated&&o?(o.push(t,r,+!!n,a),td+=4):(i.push(t),i.push(r),i.push(n?I:0),i.push(a))},tf=()=>{e.segments.length&&(e.segments[e.segments.length-1].to=i.length||td)},tb=()=>{e.segments.length&&e.segments[e.segments.length-1].from===(i.length||td)||(tf(),e.segments.push({from:i.length||td}))},tx=(t,e,i,s,r)=>{tm(r),tp(t+i,e),tm(r),tp(t,e),tm(r),tp(t,e+s),tm(r),tp(t,e+s),tm(r),tp(t+i,e+s),tm(r),tp(t+i,e)};if(tb(),_&&_.length>0){e.skipTranslation=!0,e.drawMode="TRIANGLES",_[0].node&&_[0].node.levelDynamic&&_.sort((t,e)=>{if(t.node){if(t.node.levelDynamic>e.node.levelDynamic)return 1;if(t.node.levelDynamic<e.node.levelDynamic)return -1}return 0}),_.forEach(e=>{let i,s,r=e.plotY;if(void 0!==r&&!isNaN(r)&&null!==e.y&&e.shapeArgs){let{x:r=0,y:o=0,width:n=0,height:l=0}=e.shapeArgs;i=(s=a.styledMode?e.series.colorAttribs(e):s=e.series.pointAttribs(e))["stroke-width"]||0,"string"==typeof s.fill&&(s.fill=E(tg,s.fill)),tr=A(s.fill).rgba,tr[0]/=255,tr[1]/=255,tr[2]/=255,t.is("treemap")&&(i=i||1,"string"==typeof s.stroke&&(s.stroke=E(tg,s.stroke)),H=A(s.stroke).rgba,H[0]/=255,H[1]/=255,H[2]/=255,tx(r,o,n,l,H),i/=2),t.is("heatmap")&&a.inverted&&(r=u.len-r,o=d.len-o,n=-n,l=-l),tx(r+i,o+i,n-2*i,l-2*i,tr)}}),tf();return}for(;J<L.length-1;){if(void 0===(Z=L[++J]))continue;if(O)break;let i=g&&g[J];if(!S){let e;(0,r.isObject)(i,!0)&&i.color&&(e=A(i.color).rgba);let s=t.options.keys?.indexOf("color");Array.isArray(i)&&s&&"string"==typeof i[s]?e=A(i[s]).rgba:k&&(tc%=B.length,e=A(E(tg,B[tc])).rgba),e&&((tr=e)[0]=e[0]/255,tr[1]=e[1]/255,tr[2]=e[2]/255,tr[3]=e[3]),tc++}if(S?(W=Z[0],q=Z[1],L[J+1]&&(tt=L[J+1][0]),L[J-1]&&($=L[J-1][0]),Z.length>=3&&(Q=Z[2],Z[2]>e.zMax&&(e.zMax=Z[2]),Z[2]<e.zMin&&(e.zMin=Z[2]))):(W=Z,q=C?.[J],L[J+1]&&(tt=L[J+1]),L[J-1]&&($=L[J-1]),M&&M.length&&(Q=M[J],M[J]>e.zMax&&(e.zMax=M[J]),M[J]<e.zMin&&(e.zMin=M[J]))),!w&&(null===W||null===q)){tb();continue}if(tt&&tt>=f&&tt<=b&&(ti=!0),$&&$>=f&&$<=b&&(ts=!0),n?(S&&(q=Z.slice(1,3)),te=t.getColumn("low",!0)?.[J],q=t.getColumn("high",!0)?.[J]||0):c&&(W=Z.x,te=(q=Z.stackY)-Z.y),null!=y&&null!=v&&(tn=q>=y&&q<=v),!h&&!tn||(W>b&&D.x<b&&(D.x=W,D.y=q),W<f&&z.x>f&&(z.x=W,z.y=q),null===q&&w))continue;if(null===q||!tn&&L.length>1&&!ti&&!ts){tb();continue}if((h&&(tt>=f||W>=f)&&($<=b||W<=b)||!h&&W>=f&&W<=b)&&(to=!0),to||ti||ts){if(tu&&W-$>tu&&tb(),N?.length){let t,e,i="x"===U?W:q;N.some((t,s)=>void 0!==t.value&&i<t.value&&(e=s,!0)),void 0!==e&&tl[e]&&(t=tl[e]),tr=t||th||tr}if(s.useGPUTranslations||(e.skipTranslation=!0,W=u.toPixels(W,!0),q=d.toPixels(q,!0),!(W>V)||"POINTS"!==e.drawMode)){if(e.hasMarkers&&to&&!1!==X&&(t.closestPointRangePx=Math.min(t.closestPointRangePx,Math.abs(W-X))),!s.useGPUTranslations&&!s.usePreallocated&&X&&1>Math.abs(W-X)&&F&&1>Math.abs(q-F)){s.debug.showSkipSummary&&++K;continue}G&&(j=te||0,(!1===te||void 0===te)&&(j=q<0?q:0),(n||c)&&!d.logarithmic||(j=Math.max(R??y,y)),s.useGPUTranslations||(j=d.toPixels(j,!0)),tp(W,j,!1,0,tr)),l.step&&!ta&&tp(W,F,!1,2,tr),tp(W,q,!1,"bubble"===t.type?Q||1:2,tr),X=W,F=q,Y=!0,ta=!1}}}s.debug.showSkipSummary&&console.log("skipped points:",K);let tA=(t,i)=>{if(s.useGPUTranslations||(e.skipTranslation=!0,t.x=u.toPixels(t.x,!0),t.y=d.toPixels(t.y,!0)),i){this.data=[t.x,t.y,0,2].concat(this.data);return}tp(t.x,t.y,0,2)};!Y&&!1!==w&&"line_strip"===t.drawMode&&(z.x<Number.MAX_VALUE&&tA(z,!0),D.x>-Number.MAX_VALUE&&tA(D)),tf()}pushSeries(t){let e=this.markerData,i=this.series,s=this.settings;i.length>0&&i[i.length-1].hasMarkers&&(i[i.length-1].markerTo=e.length),s.debug.timeSeriesProcessing&&console.time("building "+t.type+" series");let r={segments:[],markerFrom:e.length,colorData:[],series:t,zMin:Number.MAX_VALUE,zMax:-Number.MAX_VALUE,hasMarkers:!!t.options.marker&&!1!==t.options.marker.enabled,showMarkers:!0,drawMode:p[t.type]||"LINE_STRIP"};t.index>=i.length?i.push(r):i[t.index]=r,this.pushSeriesData(t,r),s.debug.timeSeriesProcessing&&console.timeEnd("building "+t.type+" series")}flush(){let t=this.vbuffer;this.data=[],this.markerData=[],this.series=[],t&&t.destroy()}setXAxis(t){let e=this.shader;if(!e)return;let i=this.getPixelRatio();e.setUniform("xAxisTrans",t.transA*i),e.setUniform("xAxisMin",t.min),e.setUniform("xAxisMax",t.max),e.setUniform("xAxisMinPad",t.minPixelPadding*i),e.setUniform("xAxisPointRange",t.pointRange),e.setUniform("xAxisLen",t.len*i),e.setUniform("xAxisPos",t.pos*i),e.setUniform("xAxisCVSCoord",!t.horiz),e.setUniform("xAxisIsLog",!!t.logarithmic),e.setUniform("xAxisReversed",!!t.reversed)}setYAxis(t){let e=this.shader;if(!e)return;let i=this.getPixelRatio();e.setUniform("yAxisTrans",t.transA*i),e.setUniform("yAxisMin",t.min),e.setUniform("yAxisMax",t.max),e.setUniform("yAxisMinPad",t.minPixelPadding*i),e.setUniform("yAxisPointRange",t.pointRange),e.setUniform("yAxisLen",t.len*i),e.setUniform("yAxisPos",t.pos*i),e.setUniform("yAxisCVSCoord",!t.horiz),e.setUniform("yAxisIsLog",!!t.logarithmic),e.setUniform("yAxisReversed",!!t.reversed)}setThreshold(t,e){let i=this.shader;i&&(i.setUniform("hasThreshold",t),i.setUniform("translatedThreshold",e))}renderChart(e){let i=this.gl,s=this.settings,o=this.shader,a=this.vbuffer;M={};let l=this.getPixelRatio();if(!e)return!1;this.width=e.chartWidth*l,this.height=e.chartHeight*l;let h=this.height,u=this.width,d=e.options.colors||[];if(!i||!o||!u||!h)return!1;s.debug.timeRendering&&console.time("gl rendering"),i.canvas.width=u,i.canvas.height=h,o.bind(),i.viewport(0,0,u,h),o.setPMatrix(t.orthoMatrix(u,h)),s.lineWidth>1&&!n().isMS&&i.lineWidth(s.lineWidth),a&&(a.build(this.data,"aVertexPosition",4),a.bind()),o.setInverted(e.inverted),this.series.forEach((t,n)=>{let u=t.series.options,c=u.marker,g=void 0!==u.lineWidth?u.lineWidth:1,p=u.threshold,f=(0,r.isNumber)(p),y=t.series.yAxis.getThreshold(p),v=(u.marker?u.marker.enabled:null)??(!!t.series.xAxis.isRadial||null)??t.series.closestPointRangePx>2*((u.marker?u.marker.radius:10)||10),P=this.textureHandles[c&&c.symbol||t.series.symbol]||this.textureHandles.circle,C,M,S,k=[];if(0!==t.segments.length&&t.segments[0].from!==t.segments[0].to&&(P.isReady&&(i.bindTexture(i.TEXTURE_2D,P.handle),o.setTexture(P.handle)),e.styledMode?t.series.markerGroup===t.series.chart.boost?.markerGroup?(delete t.series.markerGroup,t.series.markerGroup=t.series.plotGroup("markerGroup","markers","visible",1,e.seriesGroup).addClass("highcharts-tracker"),S=t.series.markerGroup.getStyle("fill"),t.series.markerGroup.destroy(),t.series.markerGroup=t.series.chart.boost?.markerGroup):S=t.series.markerGroup?.getStyle("fill"):(S="POINTS"===t.drawMode&&t.series.pointAttribs&&t.series.pointAttribs().fill||t.series.color,u.colorByPoint&&"string"==typeof d[n]&&(S=d[n])),t.series.fillOpacity&&u.fillOpacity&&S&&(S=new(m())(S).setOpacity(u.fillOpacity??1).get()),"string"==typeof S&&(S=E(e.boost?.cssVars||{},S)),k=A(S).rgba,s.useAlpha||(k[3]=1),"add"===u.boostBlending?(i.blendFunc(i.SRC_ALPHA,i.ONE),i.blendEquation(i.FUNC_ADD)):"mult"===u.boostBlending||"multiply"===u.boostBlending?i.blendFunc(i.DST_COLOR,i.ZERO):"darken"===u.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),o.reset(),t.colorData.length>0?(o.setUniform("hasColor",1),(M=new b(i,o)).build(Array(t.segments[0].from).concat(t.colorData),"aColor",4),M.bind()):(o.setUniform("hasColor",0),i.disableVertexAttribArray(i.getAttribLocation(o.getProgram(),"aColor"))),o.setColor(k),this.setXAxis(t.series.xAxis),this.setYAxis(t.series.yAxis),this.setThreshold(f,y),"POINTS"===t.drawMode&&o.setPointSize(((u.marker&&u.marker.radius)??.5)*2*l),o.setSkipTranslation(t.skipTranslation),"bubble"===t.series.type&&o.setBubbleUniforms(t.series,t.zMin,t.zMax,l),o.setDrawAsCircle(T[t.series.type]||!1),a)){if(g>0||"LINE_STRIP"!==t.drawMode){let{x:s,y:r,width:o,height:n}=x(e,t.series);for(i.enable(i.SCISSOR_TEST),i.scissor(s*l,h-(r+n)*l,o*l,n*l),C=0;C<t.segments.length;C++)a.render(t.segments[C].from,t.segments[C].to,t.drawMode);i.disable(i.SCISSOR_TEST)}if(t.hasMarkers&&v)for(o.setPointSize(((u.marker&&u.marker.radius)??5)*2*l),o.setDrawAsCircle(!0),C=0;C<t.segments.length;C++)a.render(t.segments[C].from,t.segments[C].to,"POINTS")}}),s.debug.timeRendering&&console.timeEnd("gl rendering"),this.postRenderCallback&&this.postRenderCallback(this),this.flush()}render(t){if(this.clear(),t.renderer.forExport)return this.renderChart(t);this.isInited?this.renderChart(t):setTimeout(()=>{this.render(t)},1)}setSize(e,i){let s=this.shader;s&&(this.width!==e||this.height!==i)&&(this.width=e,this.height=i,s.bind(),s.setPMatrix(t.orthoMatrix(e,i)))}init(t,e){let i=this.settings;if(this.isInited=!1,!t)return!1;i.debug.timeSetup&&console.time("gl setup");for(let e=0;e<C.length&&(this.gl=t.getContext(C[e],{}),!this.gl);++e);let s=this.gl;if(!s)return!1;e||this.flush(),s.enable(s.BLEND),s.blendFunc(s.SRC_ALPHA,s.ONE_MINUS_SRC_ALPHA),s.disable(s.DEPTH_TEST),s.depthFunc(s.LESS);let r=this.shader=new f(s);if(!r)return!1;this.vbuffer=new b(s,r);let o=(t,e)=>{let i={isReady:!1,texture:y.createElement("canvas"),handle:s.createTexture()},r=i.texture.getContext("2d");this.textureHandles[t]=i,i.texture.width=512,i.texture.height=512,r.mozImageSmoothingEnabled=!1,r.webkitImageSmoothingEnabled=!1,r.msImageSmoothingEnabled=!1,r.imageSmoothingEnabled=!1,r.strokeStyle="rgba(255, 255, 255, 0)",r.fillStyle="#FFF",e(r);try{s.activeTexture(s.TEXTURE0),s.bindTexture(s.TEXTURE_2D,i.handle),s.texImage2D(s.TEXTURE_2D,0,s.RGBA,s.RGBA,s.UNSIGNED_BYTE,i.texture),s.texParameteri(s.TEXTURE_2D,s.TEXTURE_WRAP_S,s.CLAMP_TO_EDGE),s.texParameteri(s.TEXTURE_2D,s.TEXTURE_WRAP_T,s.CLAMP_TO_EDGE),s.texParameteri(s.TEXTURE_2D,s.TEXTURE_MAG_FILTER,s.LINEAR),s.texParameteri(s.TEXTURE_2D,s.TEXTURE_MIN_FILTER,s.LINEAR),s.bindTexture(s.TEXTURE_2D,null),i.isReady=!0}catch{}};return o("circle",t=>{t.beginPath(),t.arc(256,256,256,0,2*Math.PI),t.stroke(),t.fill()}),o("square",t=>{t.fillRect(0,0,512,512)}),o("diamond",t=>{t.beginPath(),t.moveTo(256,0),t.lineTo(512,256),t.lineTo(256,512),t.lineTo(0,256),t.lineTo(256,0),t.fill()}),o("triangle",t=>{t.beginPath(),t.moveTo(0,512),t.lineTo(256,0),t.lineTo(512,512),t.lineTo(0,512),t.fill()}),o("triangle-down",t=>{t.beginPath(),t.moveTo(0,0),t.lineTo(256,512),t.lineTo(512,0),t.lineTo(0,0),t.fill()}),this.isInited=!0,i.debug.timeSetup&&console.timeEnd("gl setup"),!0}destroy(){let t=this.gl,e=this.shader,i=this.vbuffer;this.flush(),i&&i.destroy(),e&&e.destroy(),t&&((0,r.objectEach)(this.textureHandles,e=>{e.handle&&t.deleteTexture(e.handle)}),t.canvas.width=1,t.canvas.height=1)}},{setLength:k,splice:w}={convertToNumber:function(t,e){switch(typeof t){case"boolean":return+!!t;case"number":return isNaN(t)&&!e?null:t;default:return isNaN(t=parseFloat(`${t??""}`))&&!e?null:t}},setLength:function(t,e,i){return Array.isArray(t)?(t.length=e,t):t[i?"subarray":"slice"](0,e)},splice:function(t,e,i,s,r=[]){if(Array.isArray(t))return Array.isArray(r)||(r=Array.from(r)),{removed:t.splice(e,i,...r),array:t};let o=Object.getPrototypeOf(t).constructor,n=t[s?"subarray":"slice"](e,e+i),a=new o(t.length-i+r.length);return a.set(t.subarray(0,e),0),a.set(r,e),a.set(t.subarray(e+i),e+r.length),{removed:n,array:a}}},R=class{constructor(t={}){this.isDataTable=!0;let e=this.isPollutingKey(t.id)?void 0:t.id;this.autoId=!e,this.columns={},this.id=e||(0,r.uniqueKey)(),this.rowCount=0,this.versionTag=(0,r.uniqueKey)();let i=0;(0,r.objectEach)(t.columns||{},(t,e)=>{"__proto__"!==e&&"constructor"!==e&&(this.columns[e]=t.slice(),i=Math.max(i,t.length))}),this.applyRowCount(i)}isPollutingKey(t){return"__proto__"===t||"constructor"===t}applyRowCount(t){this.rowCount=t,(0,r.objectEach)(this.columns,(e,i)=>{e.length!==t&&(this.columns[i]=k(e,t))})}deleteRows(t,e=1){if(e>0&&t<this.rowCount){let i=0;(0,r.objectEach)(this.columns,(s,r)=>{this.columns[r]=w(s,t,e).array,i=s.length}),this.rowCount=i}(0,r.fireEvent)(this,"afterDeleteRows",{rowIndex:t,rowCount:e}),this.versionTag=(0,r.uniqueKey)()}getColumn(t,e){return this.columns[t]}getColumns(t,e){return(t||Object.keys(this.columns)).reduce((t,e)=>(t[e]=this.columns[e],t),{})}getRowObject(t,e){let i={},s=this.columns;for(let r of(e??(e=Object.keys(this.columns)),e))i[r]=s[r]?.[t];return i}setColumn(t,e=[],i=0,s){this.setColumns({[t]:e},i,s)}setColumns(t,e,i){let s=this.rowCount;(0,r.objectEach)(t,(t,e)=>{"__proto__"!==e&&"constructor"!==e&&(this.columns[e]=t.slice(),s=t.length)}),this.applyRowCount(s),i?.silent||((0,r.fireEvent)(this,"afterSetColumns"),this.versionTag=(0,r.uniqueKey)())}setRow(t,e=this.rowCount,i,s){let{columns:o}=this,n=i?this.rowCount+1:e+1,a=Object.keys(t);if(s?.addColumns!==!1)for(let t=0,e=a.length;t<e;t++){let e=a[t];this.isPollutingKey(e)||Object.hasOwnProperty.call(o,e)||(o[e]=Array(this.rowCount))}(0,r.objectEach)(o,(s,r)=>{s&&(i?s=w(s,e,0,!0,[t[r]]).array:s[e]=r in t?t[r]:s[e],o[r]=s)}),this.applyRowCount(Math.max(n,this.rowCount)),s?.silent||((0,r.fireEvent)(this,"afterSetRows",{rowIndex:e}),this.versionTag=(0,r.uniqueKey)())}getModified(){return this.modified||this}},{getBoostClipRect:U,isChartSeriesBoosting:N}=c,{getOptions:_}=n(),{composed:L,doc:z,noop:D,win:O}=n();function G(t,e){let i=e.boost;t&&i&&i.target&&i.canvas&&!N(e.chart)&&t.allocateBufferForSingleSeries(e)}function I(t){return(t&&t.options&&t.options.boost&&t.options.boost.enabled)??!0}function B(t,i){let s=t.constructor,o=t.seriesGroup||i.group,n=t.chartWidth,a=t.chartHeight,l=t,h="u">typeof SVGForeignObjectElement,u=!1;N(t)?l=t:(l=i,u=!!(i.options.events?.click||i.options.point?.events?.click));let d=l.boost=l.boost||{};if(h=!1,e||(e=z.createElement("canvas")),!d.target&&(d.canvas=e,t.renderer.forExport||!h?(l.renderTarget=d.target=t.renderer.image("",0,0,n,a).addClass("highcharts-boost-canvas").add(o),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=t.renderer.createElement("foreignObject").add(o),l.renderTarget=d.target=z.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(){n=t.chartWidth,a=t.chartHeight,(d.targetFo||d.target).attr({x:0,y:0,width:n,height:a}).css({pointerEvents:u?void 0:"none",mixedBlendMode:"normal",opacity:1}).addClass(u?"highcharts-tracker":""),l instanceof s&&l.boost?.markerGroup?.translate(t.plotLeft,t.plotTop)},d.clipRect=t.renderer.clipRect(),(d.targetFo||d.target).attr({zIndex:i.options.zIndex}),l instanceof s&&(l.boost.markerGroup=l.renderer.g().add(o).translate(i.xAxis.pos,i.yAxis.pos))),d.canvas.width=n,d.canvas.height=a,d.clipRect){let e=U(t,l);d.clipRect.attr(e),t.navigator||e.width!==t.clipBox.width||e.height!==t.clipBox.height?(d.targetFo||d.target).clip(d.clipRect):o?.clip(t.renderer.clipRect(e.x-4,e.y,e.width+4,e.height+4))}return d.resize(),d.clear(),!d.wgl&&(d.wgl=new S(t=>{t.settings.debug.timeBufferCopy&&console.time("buffer copy"),d.copy(),t.settings.debug.timeBufferCopy&&console.timeEnd("buffer copy")}),d.wgl.init(d.canvas)||(0,r.error)("[highcharts boost] - unable to init WebGL renderer"),d.wgl.setOptions(t.options.boost||{}),l instanceof s&&d.wgl.allocateBuffer(t)),d.wgl.setSize(n,a),d.wgl}function V(t){let e=t.points;for(let i of(e?.forEach(t=>{t?.destroyElements?.()}),["graph","area","tracker"].forEach(e=>{t[e]=t[e]?.destroy()}),t.zones))(0,r.destroyObjectProperties)(i,void 0,!0)}function X(t,e,i,s,r,o){let n=(r=r||0)+(s=s||3e3),a=!0;for(;a&&r<n&&r<t.length;)a=e(t[r],r),++r;a&&(r<t.length?o?X(t,e,i,s,r,o):O.requestAnimationFrame?O.requestAnimationFrame(function(){X(t,e,i,s,r)}):setTimeout(X,0,t,e,i,s,r):i&&i())}function F(t,e){let i=t.options.boostThreshold??Number.MAX_VALUE;if(0===i)return!1;let s=t.dataTable.getModified().rowCount,o=t.xAxis&&t.xAxis.options,n=t.yAxis&&t.yAxis.options,a=t.colorAxis&&t.colorAxis.options;return s>=i&&(0,r.isNumber)(n?.min)&&(0,r.isNumber)(n?.max)&&(!e||(0,r.isNumber)(o?.min)&&(0,r.isNumber)(o?.max))&&(!a||(0,r.isNumber)(a.min)&&(0,r.isNumber)(a.max))}let j=(t,e)=>{let{options:i,forceCrop:s,chart:r}=t,o=i.boostThreshold??Number.MAX_VALUE;return!s&&0!==o&&(N(r)||(e?.length??0)>=o)};function H(){let t=this,e=t.chart;e.boost&&e.boost.markerGroup===t.markerGroup&&(t.markerGroup=void 0),e.hoverPoints&&(e.hoverPoints=e.hoverPoints.filter(function(e){return e.series===t})),e.hoverPoint&&e.hoverPoint.series===t&&(e.hoverPoint=void 0)}function K(){let t=this.boost,e=this.chart.boost,i=e?.markerGroup;t&&t.canvas&&t.target&&(t.wgl&&t.wgl.clear(),t.clear&&t.clear()),i&&this.markerGroup===i&&this.chart.series.some(t=>t.visible&&t.markerGroup===i)&&i.show()}function Y(t){let e=t.boost;e&&e.canvas&&e.target&&e.wgl&&!N(t.chart)&&e.wgl.render(t.chart)}function W(t,e){let i=t.options,s=t.xAxis,o=t.pointClass;if(e instanceof o)return e;let n=i.data,a=t.is("scatter"),l=(a&&t.getColumn("x",!0).length?t.getColumn("x",!0):void 0)||(t.getColumn("x").length?t.getColumn("x"):void 0)||i.xData||t.getColumn("x",!0)||!1,h=t.getColumn("y",!0)||i.yData||!1,u=e.i,d=n?.[u]?.color,c=new o(t,a&&l&&h?[l[u],h[u]]:((0,r.isArray)(n)?n:[])[u],l?l[u]:void 0);if(a&&i?.keys?.length){let t=i.keys;for(let e=t.length-1;e>-1;e--)c[t[e]]=n[u][e]}return c.category=s.categories?s.categories[c.x]:c.x??c.x,c.key=c.name??c.category,c.dist=e.dist,c.distX=e.distX,c.plotX=e.plotX,c.plotY=e.plotY,c.percentage=e.percentage,c.isInside=t.isPointInside(c),d&&(c.color=d),c}function q(t){let{options:e,xAxis:i,yAxis:s}=this;if(!this.isDirty&&!i.isDirty&&!s.isDirty&&!t)return!1;this.yAxis.setTickInterval();let o=e.boostThreshold||0,n=e.cropThreshold,a=this.getColumn("x"),l=i.getExtremes(),h=l.max??Number.MAX_VALUE,u=l.min??-Number.MAX_VALUE,d=this.getColumn("y"),c=s.getExtremes(),g=c.max??Number.MAX_VALUE,m=c.min??-Number.MAX_VALUE,p=s.userMin??((0,r.isNumber)(s.options.min)?s.options.min:-Number.MAX_VALUE),f=s.userMax??((0,r.isNumber)(s.options.max)?s.options.max:Number.MAX_VALUE);if(!this.boosted&&i.old&&s.old&&u>=(i.old.min??-Number.MAX_VALUE)&&h<=(i.old.max??Number.MAX_VALUE)&&m>=(s.old.min??-Number.MAX_VALUE)&&g<=(s.old.max??Number.MAX_VALUE))return this.dataTable.getModified().setColumns({x:a,y:d}),!0;let b=this.dataTable.rowCount;if(!o||b<o||n&&!this.forceCrop&&!this.getExtremesFromAll&&!e.getExtremesFromAll&&b<n)return this.dataTable.getModified().setColumns({x:a,y:d}),!0;let x=[],A=[],y=[],v=!((0,r.isNumber)(l.max)||(0,r.isNumber)(l.min)),P=!((0,r.isNumber)(c.max)||(0,r.isNumber)(c.min)),T=!1,C,M=a[0],E=a[0],S,k=d?.[0],w=d?.[0];for(let t=0,e=a.length;t<e;++t)C=a[t],S=d?.[t],C>=u&&C<=h&&S>=p&&S<=f?(x.push(C),A.push(S),y.push(t),v&&(M=Math.max(M,C),E=Math.min(E,C)),P&&(k=Math.max(k,S),w=Math.min(w,S))):T=!0;return v&&(i.dataMax=Math.max(M,i.dataMax||0),i.dataMin=Math.min(E,i.dataMin||0)),P&&(s.dataMax=Math.max(k,s.dataMax||0),s.dataMin=Math.min(w,s.dataMin||0)),this.cropped=T,this.cropStart=0,T&&!this.dataTable.modified&&(this.dataTable.modified=new R,this.hasProcessedDataTable=!0),this.dataTable.getModified().setColumns({x:x,y:A}),!0}function Z(){let e=this.options||{},i=this.chart,s=i.boost,o=this.boost,n=this.xAxis,a=this.yAxis,l=e.xData||this.getColumn("x",!0),h=e.yData||this.getColumn("y",!0),u=this.getColumn("low",!0),d=this.getColumn("high",!0),c=e.data,g=n.getExtremes(),m=g.min-(n.minPointOffset||0),p=g.max+(n.minPointOffset||0),f=a.getExtremes(),b=f.min-(a.minPointOffset||0),x=f.max+(a.minPointOffset||0),A={},y=!!this.sampling,v=e.enableMouseTracking,P=e.threshold,T=this.pointArrayMap&&"low,high"===this.pointArrayMap.join(","),C=!!e.stacking,M=this.cropStart||0,E=this.requireSorting,S=!l,k="x"===e.findNearestPointBy,w=(this.getColumn("x").length?this.getColumn("x"):void 0)||this.options.xData||this.getColumn("x",!0),R=e.lineWidth??1,U=e.nullInteraction&&b,_=i.tooltip,L=!1,z,O=a.getThreshold(P),I,F,j,H;if(!this.boosted||(this.points?.forEach(t=>{t?.destroyElements?.()}),this.points=[],_&&!_.isHidden?(i.hoverPoint?.series===this||i.hoverPoints?.some(t=>t.series===this))&&(i.hoverPoint=i.hoverPoints=void 0,_.hide(0)):i.hoverPoints&&(i.hoverPoints=i.hoverPoints.filter(t=>t.series!==this)),n.isPanning||a.isPanning)||(L=B(i,this),i.boosted=!0,!this.visible))return;(this.points||this.graph)&&V(this),N(i)?(this.markerGroup&&this.markerGroup!==s?.markerGroup&&this.markerGroup.destroy(),this.markerGroup=s?.markerGroup,o&&o.target&&(this.renderTarget=o.target=o.target.destroy())):(this.markerGroup===s?.markerGroup&&(this.markerGroup=void 0),this.markerGroup=this.plotGroup("markerGroup","markers","visible",1,i.seriesGroup).addClass("highcharts-tracker"));let K=this.points=[],W=(e,s,r,o)=>{let l=!!w&&w[M+r],h=t=>{i.inverted&&(t=n.len-t,s=a.len-s),K.push({destroy:D,x:l,clientX:t,plotX:t,plotY:s,i:M+r,percentage:o})};e=Math.ceil(e),t=k?e:e+","+s,v&&(A[t]?l===w[w.length-1]&&(K.length--,h(e)):(A[t]=!0,h(e)))};this.buildKDTree=D,(0,r.fireEvent)(this,"renderCanvas"),s&&R>1&&this.is("line")&&(s.lineWidthFilter?.remove(),s.lineWidthFilter=i.renderer.definition({tagName:"filter",children:[{tagName:"feMorphology",attributes:{operator:"dilate",radius:.25*R}}],attributes:{id:"linewidth"}}),(o?.target||s.target)?.attr({filter:"url(#linewidth)"})),L&&(G(L,this),L.pushSeries(this),Y(this));let q=L.settings,Z=(0,r.isNumber)(q.chunkSize)&&q.chunkSize>0?q.chunkSize:3e3,Q=()=>{(0,r.fireEvent)(this,"renderedCanvas"),delete this.buildKDTree,this.options&&this.buildKDTree(),q.debug.timeKDTree&&console.timeEnd("kd tree building")};i.renderer.forExport||(q.debug.timeKDTree&&console.time("kd tree building"),X(C?this.data.slice(M):l||c,function(t,e){let s=void 0===i.index,o,l,c,g,f,A=!1,v=!0;return!(0,r.defined)(t)||(!s&&(S?(o=t[0],l=t[1]):(o=t,l=h[e]??U??null),T?(S&&(l=t.slice(1,3)),A=u[e],l=d[e]):C&&(o=t.x,A=(l=t.stackY)-t.y,f=t.percentage),E||(v=(l||0)>=b&&l<=x),null!==l&&o>=m&&o<=p&&v&&(c=n.toPixels(o,!0),y?((void 0===j||c===z)&&(T||(A=l),(void 0===H||l>F)&&(F=l,H=e),(void 0===j||A<I)&&(I=A,j=e)),k&&c===z||(void 0!==j&&(g=a.toPixels(F,!0),O=a.toPixels(I,!0),W(c,g,H,f),O!==g&&W(c,O,j,f)),j=H=void 0,z=c)):W(c,g=Math.ceil(a.toPixels(l,!0)),e,f))),!s)},Q,Z))}function Q(t){let e=!0;if(this.chart.options&&this.chart.options.boost&&(e=void 0===this.chart.options.boost.enabled||this.chart.options.boost.enabled),!e||!this.boosted)return t.call(this);this.chart.boosted=!0;let i=B(this.chart,this);i&&(G(i,this),i.pushSeries(this)),Y(this)}function J(t){if(this.boosted){if(F(this,!0))return{};if(this.xAxis?.isPanning||this.yAxis?.isPanning)return this}return t.apply(this,[].slice.call(arguments,1))}function $(t){let e=this.options.data;if(I(this.chart)&&l[this.type]){let s=this.is("scatter")&&!this.is("bubble")&&!this.is("treemap")&&!this.is("heatmap");if(!j(this,e)||s||this.is("treemap")||this.options.stacking||!F(this,!0)){if(this.boosted&&(this.xAxis?.isPanning||this.yAxis?.isPanning))return;s&&"treegrid"!==this.yAxis.type?q.call(this,arguments[1]):t.apply(this,[].slice.call(arguments,1)),e=this.getColumn("x",!0)}if(this.boosted=j(this,e),this.boosted){let t;this.options.data?.length&&(t=this.getFirstValidPoint(this.options.data),(0,r.isNumber)(t)||(0,r.isArray)(t)||this.is("treemap")||(0,r.error)(12,!1,this.chart));var i=this;i.boost=i.boost||{getPoint:t=>W(i,t)};let e=i.boost.altered=[];if(["allowDG","directTouch","stickyTracking"].forEach(t=>{e.push({prop:t,val:i[t],own:Object.hasOwnProperty.call(i,t)})}),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 t of i.data)t?.destroy?.();i.data.length=0,i.points.length=0}}else!function(t){let e=t.boost,i=t.chart,s=i.boost;if(s?.markerGroup)for(let t of(s.markerGroup.destroy(),s.markerGroup=void 0,i.series))t.markerGroup=void 0,t.markerGroup=t.plotGroup("markerGroup","markers","visible",1,i.seriesGroup).addClass("highcharts-tracker");e&&((e.altered||[]).forEach(e=>{e.own?t[e.prop]=e.val:delete t[e.prop]}),e.clear&&e.clear()),(i.seriesGroup||t.group)?.clip()}(this)}else t.apply(this,[].slice.call(arguments,1))}function tt(t){let e=t.apply(this,[].slice.call(arguments,1));return this.boost&&e?this.boost.getPoint(e):e}let te={compose:function(t,e,i,s){if((0,r.pushUnique)(L,"Boost.Series")){let o=_().plotOptions,n=t.prototype;if((0,r.addEvent)(t,"destroy",H),(0,r.addEvent)(t,"hide",K),s&&(n.renderCanvas=Z),(0,r.wrap)(n,"getExtremes",J),(0,r.wrap)(n,"processData",$),(0,r.wrap)(n,"searchPoint",tt),["translate","generatePoints","drawTracker","drawPoints","render"].forEach(t=>(function(t,e,i){function s(t){let e=this.options.stacking&&("translate"===i||"generatePoints"===i);this.boosted&&!e&&I(this.chart)&&"heatmap"!==this.type&&"treemap"!==this.type&&l[this.type]&&0!==this.options.boostThreshold?"render"===i&&this.renderCanvas&&this.renderCanvas():t.call(this)}if((0,r.wrap)(t,i,s),"translate"===i)for(let t of["column","arearange","columnrange","heatmap","treemap"])e[t]&&(0,r.wrap)(e[t].prototype,i,s)})(n,e,t)),(0,r.wrap)(i.prototype,"firePointEvent",function(t,e,i){if("click"===e&&this.series.boosted){let t=i.point;if((t.dist||t.distX)>=(t.series.options.marker?.radius??10))return}return t.apply(this,[].slice.call(arguments,1))}),a.forEach(t=>{let i=o[t];i&&(i.boostThreshold=5e3,i.boostData=[],e[t].prototype.fillOpacity=!0)}),s){let{area:t,areaspline:i,bubble:s,column:o,heatmap:n,scatter:a,treemap:l}=e;if(t&&(0,r.extend)(t.prototype,{fill:!0,fillOpacity:!0,sampling:!0}),i&&(0,r.extend)(i.prototype,{fill:!0,fillOpacity:!0,sampling:!0}),s){let t=s.prototype;delete t.buildKDTree,(0,r.wrap)(t,"markerAttribs",function(t){return!this.boosted&&t.apply(this,[].slice.call(arguments,1))})}o&&(0,r.extend)(o.prototype,{fill:!0,sampling:!0}),a&&(a.prototype.fill=!0),[n,l].forEach(t=>{t&&(0,r.wrap)(t.prototype,"drawPoints",Q)})}}return t},destroyGraphics:V,eachAsync:X,getPoint:W},{getBoostClipRect:ti,isChartSeriesBoosting:ts}=c,{destroyGraphics:tr}=te,{parse:to}=m(),{doc:tn,noop:ta}=n();!function(t){let e,i="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=";function s(t,e,i,s,r){r&&e!==r.clientX&&(t.moveTo(r.clientX,r.yBottom),t.lineTo(r.clientX,r.plotY),t.lineTo(e,i),t.lineTo(e,s))}function o(t,e,i,s,r){t.moveTo(e,i),t.arc(e,i,this.radii&&this.radii[r],0,2*Math.PI,!1)}function n(t,e,i,s){t.rect(e-1,i,1,s-i)}function a(){this.boost&&this.boost.copy&&this.boost.copy()}function l(){let t=this.boost||{};t.target&&t.target.attr({href:i}),t.canvas&&t.canvas.getContext("2d").clearRect(0,0,t.canvas.width,t.canvas.height)}function h(){ts(this.chart)?this.boost&&this.boost.clear&&this.boost.clear():this.boost&&this.boost.copy?this.boost.copy():this.chart.boost&&this.chart.boost.copy&&this.chart.boost.copy()}function u(t,e,i){t.lineTo(e,i)}function d(){let t,e=this.chart,s=ts(e)?e:this,o=s===e?e.seriesGroup:e.seriesGroup||this.group,n=e.chartWidth,a=e.chartHeight,l=function(t,e,i,s,r,o,n){t.call(this,i,e,s,r,o,n)},h=s.boost=s.boost||{};return t=h.targetCtx,h.canvas||(h.canvas=tn.createElement("canvas"),h.target=e.renderer.image("",0,0,n,a).addClass("highcharts-boost-canvas").add(o),t=h.targetCtx=h.canvas.getContext("2d"),e.inverted&&["moveTo","lineTo","rect","arc"].forEach(e=>{(0,r.wrap)(t,e,l)}),h.copy=function(){h.target.attr({href:h.canvas.toDataURL("image/png")})},h.clear=function(){t.clearRect(0,0,h.canvas.width,h.canvas.height),s===h.target&&h.target.attr({href:i})},h.clipRect=e.renderer.clipRect(),h.target.clip(h.clipRect)),h.canvas.width!==n&&(h.canvas.width=n),h.canvas.height!==a&&(h.canvas.height=a),h.target.attr({x:0,y:0,width:n,height:a,style:"pointer-events: none",href:i}),h.clipRect&&h.clipRect.attr(ti(e,s)),t}function c(){let t=this,s=t.options,o=t.chart,n=t.xAxis,a=t.yAxis,l=o.options.boost||{},h={timeRendering:l.timeRendering||!1,timeSeriesProcessing:l.timeSeriesProcessing||!1,timeSetup:l.timeSetup||!1},u=t.getColumn("x",!0),d=t.getColumn("y",!0),c=s.data||[],g=n.getExtremes(),p=g.min,f=g.max,b=a.getExtremes(),x=b.min,A=b.max,y={},v=!!t.sampling,P=s.marker&&s.marker.radius,T=t.cvsStrokeBatch||1e3,C=s.enableMouseTracking,M=s.threshold,E=(0,r.isNumber)(M),S=a.getThreshold(M),k=t.fill,w=t.pointArrayMap&&"low,high"===t.pointArrayMap.join(","),R=!!s.stacking,U=t.cropStart||0,N=o.options.loading,_=t.requireSorting,L=s.connectNulls,z=!u,D=R?t.data:u||c,O=t.fillOpacity?m().parse(t.color).setOpacity(s.fillOpacity??.75).get():t.color,G="x"===s.findNearestPointBy,I=this.boost||{},B=t.cvsDrawPoint,V=s.lineWidth?t.cvsLineTo:void 0,X=P&&P<=1?t.cvsMarkerSquare:t.cvsMarkerCircle;I.target&&I.target.attr({href:i}),(t.points||t.graph)&&tr(t),t.plotGroup("group","series",t.visible?"visible":"hidden",s.zIndex,o.seriesGroup),t.markerGroup=t.group,(0,r.addEvent)(t,"destroy",function(){t.markerGroup=null});let F=this.points=[],j=this.getContext();if(t.buildKDTree=ta,I.clear&&I.clear(),!t.visible)return;c.length>99999&&(o.options.loading=(0,r.merge)(N,{labelStyle:{backgroundColor:to("var(--highcharts-background-color)").setOpacity(.75).get(),padding:"1em",borderRadius:"0.5em"},style:{backgroundColor:"none",opacity:1}}),(0,r.internalClearTimeout)(e),o.showLoading("Drawing..."),o.options.loading=N),h.timeRendering&&console.time("canvas rendering");let H=0,K,Y,W=S,q,Z,Q,J,$,tt,ti=function(){k?(j.fillStyle=O,j.fill()):(j.strokeStyle=t.color,j.lineWidth=s.lineWidth,j.stroke())},ts=function(e,i,s,r){0===H&&(j.beginPath(),V&&(j.lineJoin="round")),o.scroller&&"highcharts-navigator-series"===t.options.className?(i+=o.scroller.top,s&&(s+=o.scroller.top)):i+=o.plotTop,e+=o.plotLeft,q?j.moveTo(e,i):B?B(j,e,i,s,Y):V?V(j,e,i):X&&X.call(t,j,e,i,P,r),(H+=1)===T&&(ti(),H=0),Y={clientX:e,plotY:i,yBottom:s}},tn=(this.getColumn("x").length?this.getColumn("x"):void 0)||this.options.xData||!!this.getColumn("x",!0).length&&this.getColumn("x",!0),tl=function(t,e,i){tt=G?t:t+","+e,C&&!y[tt]&&(y[tt]=!0,o.inverted&&(t=n.len-t,e=a.len-e),F.push({x:!!tn&&tn[U+i],clientX:t,plotX:t,plotY:e,i:U+i}))};te.eachAsync(D,(e,i)=>{let s=void 0===o.index,r,l,h,u,c,g,m=!1,b=!1,y=0/0,P=0/0,T=!0;return!s&&(z?(r=e[0],l=e[1],D[i+1]&&(y=D[i+1][0]),D[i-1]&&(P=D[i-1][0])):(r=e,l=d[i],D[i+1]&&(y=D[i+1]),D[i-1]&&(P=D[i-1])),y&&y>=p&&y<=f&&(m=!0),P&&P>=p&&P<=f&&(b=!0),w?(z&&(l=e.slice(1,3)),g=l[0],l=l[1]):R&&(r=e.x,g=(l=e.stackY)-e.y),c=null===l,_||(T=l>=x&&l<=A),!c&&(r>=p&&r<=f&&T||m||b)&&(h=Math.round(n.toPixels(r,!0)),v?((void 0===J||h===K)&&(w||(g=l),(void 0===$||l>Q)&&(Q=l,$=i),(void 0===J||g<Z)&&(Z=g,J=i)),h!==K&&(void 0!==J&&(u=a.toPixels(Q,!0),W=a.toPixels(Z,!0),ts(h,E?Math.min(u,S):u,E?Math.max(W,S):W,i),tl(h,u,$),W!==u&&tl(h,W,J)),J=$=void 0,K=h)):(ts(h,u=Math.round(a.toPixels(l,!0)),W,i),tl(h,u,i))),q=c&&!L,i%5e4==0&&(t.boost&&t.boost.copy?t.boost.copy():t.chart.boost&&t.chart.boost.copy&&t.chart.boost.copy())),!s},function(){let i=o.loadingDiv,s=o.loadingShown;ti(),t.canvasToSVG(),h.timeRendering&&console.timeEnd("canvas rendering"),(0,r.fireEvent)(t,"renderedCanvas"),s&&(i.style.transition="opacity 250ms",i.opacity=0,o.loadingShown=!1,e=setTimeout(function(){i.parentNode&&i.parentNode.removeChild(i),o.loadingDiv=o.loadingSpan=null},250)),delete t.buildKDTree,t.buildKDTree()},o.renderer.forExport?Number.MAX_VALUE:void 0)}function g(t,e,i,s){t.moveTo(e,i),t.arc(e,i,s,0,2*Math.PI,!1)}function p(t,e,i,s){t.rect(e-s,i-s,2*s,2*s)}function f(){let t=this.chart,e=this.getContext(),i=this.chart.inverted,s=this.xAxis,r=this.yAxis;e?(this.points.forEach(o=>{let n=o.plotY;if(void 0!==n&&!isNaN(n)&&null!==o.y&&e){let{x:n=0,y:a=0,width:l=0,height:h=0}=o.shapeArgs||{};e.fillStyle=(t.styledMode?o.series.colorAttribs(o):o.series.pointAttribs(o)).fill,i?e.fillRect(r.len-a+s.left,s.len-n+r.top,-h,-l):e.fillRect(n+s.left,a+r.top,l,h)}}),this.canvasToSVG()):this.chart.showLoading("Your browser doesn't support HTML5 canvas, <br>please use a modern browser")}t.compose=function(t,e,i){let m=e.prototype;if(!m.renderCanvas){let{area:e,bubble:b,column:x,heatmap:A,scatter:y}=i;if(t.prototype.callbacks.push(t=>{(0,r.addEvent)(t,"predraw",l),(0,r.addEvent)(t,"render",a)}),m.canvasToSVG=h,m.cvsLineTo=u,m.getContext=d,m.renderCanvas=c,e){let t=e.prototype;t.cvsDrawPoint=s,t.fill=!0,t.fillOpacity=!0,t.sampling=!0}if(b){let t=b.prototype;t.cvsMarkerCircle=o,t.cvsStrokeBatch=1}if(x){let t=x.prototype;t.cvsDrawPoint=n,t.fill=!0,t.sampling=!0}if(A){let t=A.prototype;(0,r.wrap)(t,"drawPoints",f)}if(y){let t=y.prototype;t.cvsMarkerCircle=g,t.cvsMarkerSquare=p,t.fill=!0}}}}(o||(o={}));let tl=o,th=n();th.initCanvasBoost=function(){tl.compose(th.Chart,th.Series,th.seriesTypes)};let tu=n();export{tu as default};
|
|
@@ -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-canvas
|
|
5
5
|
* @requires highcharts
|
|
6
6
|
*
|
|
@@ -18,48 +18,27 @@ import * as __WEBPACK_EXTERNAL_MODULE__highcharts_src_js_8202131d__ from "../hig
|
|
|
18
18
|
/******/
|
|
19
19
|
/************************************************************************/
|
|
20
20
|
/******/ /* webpack/runtime/compat get default export */
|
|
21
|
-
/******/
|
|
22
|
-
/******/
|
|
23
|
-
/******/
|
|
24
|
-
/******/
|
|
25
|
-
/******/
|
|
26
|
-
/******/
|
|
27
|
-
/******/
|
|
28
|
-
/******/
|
|
29
|
-
/******/ };
|
|
30
|
-
/******/ })();
|
|
21
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
22
|
+
/******/ __webpack_require__.n = (module) => {
|
|
23
|
+
/******/ const getter = module && module.__esModule ?
|
|
24
|
+
/******/ () => (module['default']) :
|
|
25
|
+
/******/ () => (module);
|
|
26
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
27
|
+
/******/ return getter;
|
|
28
|
+
/******/ };
|
|
31
29
|
/******/
|
|
32
30
|
/******/ /* webpack/runtime/define property getters */
|
|
33
|
-
/******/
|
|
34
|
-
/******/
|
|
35
|
-
/******/
|
|
36
|
-
/******/ if(
|
|
37
|
-
/******/
|
|
38
|
-
/******/ while(i < definition.length) {
|
|
39
|
-
/******/ var key = definition[i++];
|
|
40
|
-
/******/ var binding = definition[i++];
|
|
41
|
-
/******/ if(!__webpack_require__.o(exports, key)) {
|
|
42
|
-
/******/ if(binding === 0) {
|
|
43
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
|
|
44
|
-
/******/ } else {
|
|
45
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
|
|
46
|
-
/******/ }
|
|
47
|
-
/******/ } else if(binding === 0) { i++; }
|
|
48
|
-
/******/ }
|
|
49
|
-
/******/ } else {
|
|
50
|
-
/******/ for(var key in definition) {
|
|
51
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
52
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
53
|
-
/******/ }
|
|
54
|
-
/******/ }
|
|
31
|
+
/******/ // define getter/value functions for harmony exports
|
|
32
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
33
|
+
/******/ for(var key in definition) {
|
|
34
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
35
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
55
36
|
/******/ }
|
|
56
|
-
/******/ }
|
|
57
|
-
/******/ }
|
|
37
|
+
/******/ }
|
|
38
|
+
/******/ };
|
|
58
39
|
/******/
|
|
59
40
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
60
|
-
/******/ (
|
|
61
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
62
|
-
/******/ })();
|
|
41
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop));
|
|
63
42
|
/******/
|
|
64
43
|
/************************************************************************/
|
|
65
44
|
|
|
@@ -357,7 +336,7 @@ function onChartCallback(chart) {
|
|
|
357
336
|
chart.boost.markerGroup.translate(chart.xAxis[0].pos, chart.yAxis[0].pos);
|
|
358
337
|
}
|
|
359
338
|
}
|
|
360
|
-
(0,external_highcharts_src_js_default_namespaceObject.addEvent)(chart, 'predraw', preRender);
|
|
339
|
+
;(0,external_highcharts_src_js_default_namespaceObject.addEvent)(chart, 'predraw', preRender);
|
|
361
340
|
// Use the load event rather than redraw, otherwise user load events will
|
|
362
341
|
// fire too early (#18755)
|
|
363
342
|
(0,external_highcharts_src_js_default_namespaceObject.addEvent)(chart, 'load', canvasToSVG, { order: -1 });
|
|
@@ -1343,7 +1322,7 @@ class WGLRenderer {
|
|
|
1343
1322
|
if (!('pixelRatio' in options)) {
|
|
1344
1323
|
options.pixelRatio = 1;
|
|
1345
1324
|
}
|
|
1346
|
-
(0,external_highcharts_src_js_default_namespaceObject.merge)(true, this.settings, options);
|
|
1325
|
+
;(0,external_highcharts_src_js_default_namespaceObject.merge)(true, this.settings, options);
|
|
1347
1326
|
}
|
|
1348
1327
|
/**
|
|
1349
1328
|
* Allocate a float buffer to fit all series
|
|
@@ -2581,13 +2560,19 @@ const { setLength: DataTableCore_setLength, splice: DataTableCore_splice } = Dat
|
|
|
2581
2560
|
class DataTableCore {
|
|
2582
2561
|
constructor(options = {}) {
|
|
2583
2562
|
this.isDataTable = true;
|
|
2584
|
-
|
|
2563
|
+
// Reject IDs that would pollute the prototype of ID-keyed maps.
|
|
2564
|
+
const id = this.isPollutingKey(options.id) ? void 0 : options.id;
|
|
2565
|
+
this.autoId = !id;
|
|
2585
2566
|
this.columns = {};
|
|
2586
|
-
this.id = (
|
|
2567
|
+
this.id = (id || (0,external_highcharts_src_js_default_namespaceObject.uniqueKey)());
|
|
2587
2568
|
this.rowCount = 0;
|
|
2588
2569
|
this.versionTag = (0,external_highcharts_src_js_default_namespaceObject.uniqueKey)();
|
|
2589
2570
|
let rowCount = 0;
|
|
2590
2571
|
(0,external_highcharts_src_js_default_namespaceObject.objectEach)(options.columns || {}, (column, columnId) => {
|
|
2572
|
+
if (columnId === '__proto__' ||
|
|
2573
|
+
columnId === 'constructor') {
|
|
2574
|
+
return;
|
|
2575
|
+
}
|
|
2591
2576
|
this.columns[columnId] = column.slice();
|
|
2592
2577
|
rowCount = Math.max(rowCount, column.length);
|
|
2593
2578
|
});
|
|
@@ -2598,6 +2583,17 @@ class DataTableCore {
|
|
|
2598
2583
|
* Functions
|
|
2599
2584
|
*
|
|
2600
2585
|
* */
|
|
2586
|
+
/**
|
|
2587
|
+
* Checks whether a key would pollute the prototype if used to index a
|
|
2588
|
+
* plain object (e.g. as a column ID or table ID).
|
|
2589
|
+
*
|
|
2590
|
+
* @private
|
|
2591
|
+
* @param {string|undefined} key The key to check.
|
|
2592
|
+
* @return {boolean} True if the key is unsafe to use.
|
|
2593
|
+
*/
|
|
2594
|
+
isPollutingKey(key) {
|
|
2595
|
+
return key === '__proto__' || key === 'constructor';
|
|
2596
|
+
}
|
|
2601
2597
|
/**
|
|
2602
2598
|
* Applies a row count to the table by setting the `rowCount` property and
|
|
2603
2599
|
* adjusting the length of all columns.
|
|
@@ -2644,7 +2640,7 @@ class DataTableCore {
|
|
|
2644
2640
|
});
|
|
2645
2641
|
this.rowCount = length;
|
|
2646
2642
|
}
|
|
2647
|
-
(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(this, 'afterDeleteRows', { rowIndex, rowCount });
|
|
2643
|
+
;(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(this, 'afterDeleteRows', { rowIndex, rowCount });
|
|
2648
2644
|
this.versionTag = (0,external_highcharts_src_js_default_namespaceObject.uniqueKey)();
|
|
2649
2645
|
}
|
|
2650
2646
|
/**
|
|
@@ -2756,6 +2752,10 @@ class DataTableCore {
|
|
|
2756
2752
|
setColumns(columns, rowIndex, eventDetail) {
|
|
2757
2753
|
let rowCount = this.rowCount;
|
|
2758
2754
|
(0,external_highcharts_src_js_default_namespaceObject.objectEach)(columns, (column, columnId) => {
|
|
2755
|
+
if (columnId === '__proto__' ||
|
|
2756
|
+
columnId === 'constructor') {
|
|
2757
|
+
return;
|
|
2758
|
+
}
|
|
2759
2759
|
this.columns[columnId] = column.slice();
|
|
2760
2760
|
rowCount = column.length;
|
|
2761
2761
|
});
|
|
@@ -2794,14 +2794,17 @@ class DataTableCore {
|
|
|
2794
2794
|
* @emits #afterSetRows
|
|
2795
2795
|
*/
|
|
2796
2796
|
setRow(row, rowIndex = this.rowCount, insert, eventDetail) {
|
|
2797
|
-
var _a;
|
|
2798
2797
|
const { columns } = this, indexRowCount = insert ? this.rowCount + 1 : rowIndex + 1, rowKeys = Object.keys(row);
|
|
2799
2798
|
if (eventDetail?.addColumns !== false) {
|
|
2800
2799
|
for (let i = 0, iEnd = rowKeys.length; i < iEnd; i++) {
|
|
2801
|
-
|
|
2800
|
+
const rowKey = rowKeys[i];
|
|
2801
|
+
if (!this.isPollutingKey(rowKey) &&
|
|
2802
|
+
!Object.hasOwnProperty.call(columns, rowKey)) {
|
|
2803
|
+
columns[rowKey] = new Array(this.rowCount);
|
|
2804
|
+
}
|
|
2802
2805
|
}
|
|
2803
2806
|
}
|
|
2804
|
-
(0,external_highcharts_src_js_default_namespaceObject.objectEach)(columns, (column, columnId) => {
|
|
2807
|
+
;(0,external_highcharts_src_js_default_namespaceObject.objectEach)(columns, (column, columnId) => {
|
|
2805
2808
|
if (column) {
|
|
2806
2809
|
if (insert) {
|
|
2807
2810
|
column = DataTableCore_splice(column, rowIndex, 0, true, [row[columnId]]).array;
|
|
@@ -2972,7 +2975,7 @@ function BoostSeries_compose(SeriesClass, seriesTypes, PointClass, wglMode) {
|
|
|
2972
2975
|
if (wglMode) {
|
|
2973
2976
|
seriesProto.renderCanvas = seriesRenderCanvas;
|
|
2974
2977
|
}
|
|
2975
|
-
(0,external_highcharts_src_js_default_namespaceObject.wrap)(seriesProto, 'getExtremes', wrapSeriesGetExtremes);
|
|
2978
|
+
;(0,external_highcharts_src_js_default_namespaceObject.wrap)(seriesProto, 'getExtremes', wrapSeriesGetExtremes);
|
|
2976
2979
|
(0,external_highcharts_src_js_default_namespaceObject.wrap)(seriesProto, 'processData', wrapSeriesProcessData);
|
|
2977
2980
|
(0,external_highcharts_src_js_default_namespaceObject.wrap)(seriesProto, 'searchPoint', wrapSeriesSearchPoint);
|
|
2978
2981
|
[
|
|
@@ -3218,20 +3221,11 @@ function createAndAttachRenderer(chart, series) {
|
|
|
3218
3221
|
*/
|
|
3219
3222
|
function destroyGraphics(series) {
|
|
3220
3223
|
const points = series.points;
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
point = points[i];
|
|
3225
|
-
if (point && point.destroyElements) {
|
|
3226
|
-
point.destroyElements(); // #7557
|
|
3227
|
-
}
|
|
3228
|
-
}
|
|
3229
|
-
}
|
|
3224
|
+
points?.forEach((point) => {
|
|
3225
|
+
point?.destroyElements?.(); // #7557
|
|
3226
|
+
});
|
|
3230
3227
|
['graph', 'area', 'tracker'].forEach((prop) => {
|
|
3231
|
-
|
|
3232
|
-
if (seriesProp) {
|
|
3233
|
-
series[prop] = seriesProp.destroy();
|
|
3234
|
-
}
|
|
3228
|
+
series[prop] = series[prop]?.destroy();
|
|
3235
3229
|
});
|
|
3236
3230
|
for (const zone of series.zones) {
|
|
3237
3231
|
(0,external_highcharts_src_js_default_namespaceObject.destroyObjectProperties)(zone, void 0, true);
|
|
@@ -3844,7 +3838,7 @@ function seriesRenderCanvas() {
|
|
|
3844
3838
|
const boostOptions = renderer.settings, chunkSize = ((0,external_highcharts_src_js_default_namespaceObject.isNumber)(boostOptions.chunkSize) && boostOptions.chunkSize > 0 ?
|
|
3845
3839
|
boostOptions.chunkSize :
|
|
3846
3840
|
CHUNK_SIZE), doneProcessing = () => {
|
|
3847
|
-
(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(this, 'renderedCanvas');
|
|
3841
|
+
;(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(this, 'renderedCanvas');
|
|
3848
3842
|
// Go back to prototype, ready to build
|
|
3849
3843
|
delete this.buildKDTree;
|
|
3850
3844
|
// Check that options exist, as async processing
|
|
@@ -3918,7 +3912,7 @@ function wrapSeriesFunctions(seriesProto, seriesTypes, method) {
|
|
|
3918
3912
|
this.renderCanvas();
|
|
3919
3913
|
}
|
|
3920
3914
|
}
|
|
3921
|
-
(0,external_highcharts_src_js_default_namespaceObject.wrap)(seriesProto, method, branch);
|
|
3915
|
+
;(0,external_highcharts_src_js_default_namespaceObject.wrap)(seriesProto, method, branch);
|
|
3922
3916
|
// Special case for some types, when translate method is already wrapped
|
|
3923
3917
|
if (method === 'translate') {
|
|
3924
3918
|
for (const type of [
|
|
@@ -4551,7 +4545,7 @@ var BoostCanvas;
|
|
|
4551
4545
|
if (boostSettings.timeRendering) {
|
|
4552
4546
|
console.timeEnd('canvas rendering'); // eslint-disable-line no-console
|
|
4553
4547
|
}
|
|
4554
|
-
(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(series, 'renderedCanvas');
|
|
4548
|
+
;(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(series, 'renderedCanvas');
|
|
4555
4549
|
// Do not use chart.hideLoading, as it runs JS animation and
|
|
4556
4550
|
// will be blocked by buildKDTree. CSS animation looks good, but
|
|
4557
4551
|
// then it must be deleted in timeout. If we add the module to
|