highcharts 13.0.1 → 13.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bower.json +2 -3
- package/es-modules/Accessibility/A11yI18n.js +4 -4
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +6 -4
- package/es-modules/Accessibility/Components/LegendComponent.js +2 -2
- package/es-modules/Accessibility/Components/NavigatorComponent.js +2 -2
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +13 -10
- package/es-modules/Accessibility/Components/ZoomComponent.js +2 -2
- package/es-modules/Accessibility/FocusBorder.js +2 -2
- package/es-modules/Accessibility/Options/DeprecatedOptions.js +1 -2
- package/es-modules/Core/Animation/AnimationUtilities.js +3 -2
- package/es-modules/Core/Axis/Axis.js +48 -57
- package/es-modules/Core/Axis/Axis3DComposition.js +8 -6
- package/es-modules/Core/Axis/BrokenAxis.js +6 -5
- package/es-modules/Core/Axis/Color/ColorAxis.js +17 -10
- package/es-modules/Core/Axis/Color/ColorAxisComposition.js +2 -2
- package/es-modules/Core/Axis/GridAxis.js +4 -4
- package/es-modules/Core/Axis/LogarithmicAxis.js +5 -3
- package/es-modules/Core/Axis/NavigatorAxisComposition.js +2 -2
- package/es-modules/Core/Axis/OrdinalAxis.js +9 -7
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +3 -2
- package/es-modules/Core/Axis/RadialAxis.js +15 -9
- package/es-modules/Core/Axis/ScrollbarAxis.js +3 -3
- package/es-modules/Core/Axis/Stacking/StackItem.js +5 -5
- package/es-modules/Core/Axis/Stacking/StackingAxis.js +4 -4
- package/es-modules/Core/Axis/Tick.js +10 -11
- package/es-modules/Core/Axis/TreeGrid/TreeGridTick.js +3 -3
- package/es-modules/Core/Chart/Chart.js +14 -14
- package/es-modules/Core/Chart/Chart3D.js +3 -3
- package/es-modules/Core/Chart/ChartDefaults.js +23 -0
- package/es-modules/Core/Chart/MapChart.js +7 -5
- package/es-modules/Core/Chart/StockChart.js +15 -11
- package/es-modules/Core/Color/Color.js +3 -1
- package/es-modules/Core/Defaults.js +35 -0
- package/es-modules/Core/Globals.js +1 -1
- package/es-modules/Core/Legend/Legend.js +16 -12
- package/es-modules/Core/Legend/LegendSymbol.js +2 -2
- package/es-modules/Core/MSPointer.js +2 -2
- package/es-modules/Core/Math3D.js +6 -7
- package/es-modules/Core/Pointer.js +9 -9
- package/es-modules/Core/Renderer/RendererUtilities.js +2 -2
- package/es-modules/Core/Renderer/SVG/SVGElement.js +11 -9
- package/es-modules/Core/Renderer/SVG/SVGElement3D.js +2 -2
- package/es-modules/Core/Renderer/SVG/SVGLabel.js +5 -5
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +5 -5
- package/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +11 -9
- package/es-modules/Core/Renderer/SVG/Symbols.js +6 -5
- package/es-modules/Core/Renderer/SVG/TextBuilder.js +2 -2
- package/es-modules/Core/Responsive.js +7 -5
- package/es-modules/Core/Series/DataLabel.js +8 -6
- package/es-modules/Core/Series/OverlappingDataLabels.js +5 -2
- package/es-modules/Core/Series/Point.js +3 -3
- package/es-modules/Core/Series/Series.js +37 -21
- package/es-modules/Core/Series/Series3D.js +2 -2
- package/es-modules/Core/Templating.js +2 -2
- package/es-modules/Core/Tooltip.js +11 -7
- package/es-modules/Core/Utilities.js +4 -3
- package/es-modules/Data/Connectors/DataConnector.js +2 -2
- package/es-modules/Data/Connectors/GoogleSheetsConnector.js +2 -2
- package/es-modules/Data/DataTable.js +17 -0
- package/es-modules/Extensions/Annotations/Annotation.js +4 -4
- package/es-modules/Extensions/Annotations/AnnotationChart.js +2 -2
- package/es-modules/Extensions/Annotations/ControlPoint.js +2 -2
- package/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +2 -2
- package/es-modules/Extensions/Annotations/EventEmitter.js +4 -4
- package/es-modules/Extensions/Annotations/NavigationBindings.js +6 -3
- package/es-modules/Extensions/Annotations/NavigationBindingsUtilities.js +2 -2
- package/es-modules/Extensions/Annotations/Popup/Popup.js +3 -2
- package/es-modules/Extensions/Annotations/Popup/PopupAnnotations.js +4 -6
- package/es-modules/Extensions/Annotations/Types/Measure.js +3 -3
- package/es-modules/Extensions/Annotations/Types/VerticalLine.js +3 -3
- package/es-modules/Extensions/Boost/BoostChart.js +11 -4
- package/es-modules/Extensions/Boost/BoostSeries.js +8 -9
- package/es-modules/Extensions/Boost/WGLRenderer.js +9 -6
- package/es-modules/Extensions/Boost/WGLShader.js +3 -3
- package/es-modules/Extensions/BoostCanvas.js +2 -2
- package/es-modules/Extensions/Breadcrumbs/Breadcrumbs.js +5 -4
- package/es-modules/Extensions/DataGrouping/DataGrouping.js +2 -2
- package/es-modules/Extensions/DataGrouping/DataGroupingAxisComposition.js +4 -3
- package/es-modules/Extensions/DataGrouping/DataGroupingSeriesComposition.js +2 -2
- package/es-modules/Extensions/DraggablePoints/DragDropProps.js +2 -3
- package/es-modules/Extensions/ExportData/ExportData.js +17 -16
- package/es-modules/Extensions/Exporting/Exporting.js +7 -7
- package/es-modules/Extensions/MouseWheelZoom/MouseWheelZoom.js +2 -2
- package/es-modules/Extensions/Pane/PaneComposition.js +2 -2
- package/es-modules/Extensions/ParallelCoordinates/ParallelAxis.js +2 -2
- package/es-modules/Extensions/PatternFill.js +7 -5
- package/es-modules/Extensions/PriceIndication.js +5 -4
- package/es-modules/Extensions/SeriesLabel/SeriesLabel.js +7 -7
- package/es-modules/Extensions/Sonification/MIDI.js +2 -3
- package/es-modules/Extensions/Sonification/Sonification.js +2 -2
- package/es-modules/Extensions/Sonification/SonificationSpeaker.js +3 -2
- package/es-modules/Extensions/Sonification/SynthPatch.js +3 -3
- package/es-modules/Extensions/Sonification/TimelineFromChart.js +11 -11
- package/es-modules/Gantt/Legacy.js +2 -2
- package/es-modules/Gantt/Pathfinder.js +3 -3
- package/es-modules/Gantt/PathfinderAlgorithms.js +4 -3
- package/es-modules/Gantt/Tree.js +1 -1
- package/es-modules/Maps/MapNavigation.js +4 -4
- package/es-modules/Maps/MapPointer.js +2 -2
- package/es-modules/Maps/MapView.js +2 -2
- package/es-modules/Series/ArcDiagram/ArcDiagramSeries.js +8 -6
- package/es-modules/Series/Area/AreaSeries.js +4 -5
- package/es-modules/Series/BoxPlot/BoxPlotSeries.js +13 -4
- package/es-modules/Series/Bubble/BubbleLegendItem.js +10 -6
- package/es-modules/Series/Bubble/BubbleSeries.js +10 -9
- package/es-modules/Series/Bullet/BulletSeries.js +17 -10
- package/es-modules/Series/CenteredUtilities.js +7 -5
- package/es-modules/Series/Column/ColumnSeries.js +2 -2
- package/es-modules/Series/Column3D/Column3DComposition.js +6 -5
- package/es-modules/Series/ColumnPyramid/ColumnPyramidSeries.js +4 -4
- package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +4 -2
- package/es-modules/Series/Cylinder/CylinderComposition.js +2 -2
- package/es-modules/Series/DataModifyComposition.js +9 -7
- package/es-modules/Series/DotPlot/DotPlotSeries.js +3 -2
- package/es-modules/Series/Dumbbell/DumbbellPoint.js +14 -3
- package/es-modules/Series/Dumbbell/DumbbellSeries.js +24 -7
- package/es-modules/Series/FlowMap/FlowMapPoint.js +5 -3
- package/es-modules/Series/FlowMap/FlowMapSeries.js +17 -9
- package/es-modules/Series/Funnel/FunnelSeries.js +2 -2
- package/es-modules/Series/Funnel3D/Funnel3DSeries.js +7 -5
- package/es-modules/Series/Gauge/GaugeSeries.js +2 -2
- package/es-modules/Series/GeoHeatmap/GeoHeatmapSeries.js +4 -4
- package/es-modules/Series/Heatmap/HeatmapPoint.js +6 -6
- package/es-modules/Series/Heatmap/HeatmapPointOptions.js +12 -0
- package/es-modules/Series/Heatmap/HeatmapSeries.js +13 -13
- package/es-modules/Series/Heatmap/HeatmapSeriesOptions.js +12 -0
- package/es-modules/Series/Histogram/HistogramPoint.js +17 -0
- package/es-modules/Series/Histogram/HistogramPointOptions.js +12 -0
- package/es-modules/Series/Histogram/HistogramSeries.js +14 -2
- package/es-modules/Series/Histogram/HistogramSeriesOptions.js +12 -0
- package/es-modules/Series/InterpolationUtilities.js +5 -5
- package/es-modules/Series/Item/ItemPointOptions.js +14 -0
- package/es-modules/Series/Item/ItemSeries.js +18 -6
- package/es-modules/Series/Item/ItemSeriesOptions.js +14 -0
- package/es-modules/Series/Map/MapPoint.js +5 -3
- package/es-modules/Series/Map/MapSeries.js +5 -8
- package/es-modules/Series/Networkgraph/NetworkgraphPoint.js +3 -3
- package/es-modules/Series/Networkgraph/NetworkgraphSeries.js +4 -2
- package/es-modules/Series/Networkgraph/ReingoldFruchtermanLayout.js +18 -9
- package/es-modules/Series/NodesComposition.js +9 -10
- package/es-modules/Series/Organization/OrganizationPoint.js +3 -2
- package/es-modules/Series/PackedBubble/PackedBubbleLayout.js +3 -3
- package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +5 -5
- package/es-modules/Series/Pictorial/PictorialSeries.js +4 -2
- package/es-modules/Series/Pie/PieDataLabel.js +2 -2
- package/es-modules/Series/Pie/PiePoint.js +2 -2
- package/es-modules/Series/Pie/PieSeries.js +3 -2
- package/es-modules/Series/Pie3D/Pie3DSeries.js +8 -4
- package/es-modules/Series/PolarComposition.js +8 -7
- package/es-modules/Series/Sankey/SankeySeries.js +11 -5
- package/es-modules/Series/Scatter/ScatterSeries.js +6 -5
- package/es-modules/Series/SolidGauge/SolidGaugeSeries.js +2 -2
- package/es-modules/Series/Spline/SplineSeries.js +5 -5
- package/es-modules/Series/TiledWebMap/TiledWebMapSeries.js +8 -6
- package/es-modules/Series/Tilemap/TilemapShapes.js +2 -2
- package/es-modules/Series/Timeline/TimelinePoint.js +2 -2
- package/es-modules/Series/Timeline/TimelineSeries.js +4 -3
- package/es-modules/Series/TreeUtilities.js +16 -7
- package/es-modules/Series/Treegraph/TreegraphLink.js +2 -2
- package/es-modules/Series/Treemap/TreemapPoint.js +2 -2
- package/es-modules/Series/Treemap/TreemapSeries.js +14 -11
- package/es-modules/Series/VariablePie/VariablePieSeries.js +6 -4
- package/es-modules/Series/Variwide/VariwideSeries.js +2 -2
- package/es-modules/Series/Waterfall/WaterfallSeries.js +2 -2
- package/es-modules/Series/Windbarb/WindbarbSeries.js +2 -2
- package/es-modules/Shared/TimeBase.js +8 -2
- package/es-modules/Shared/Utilities.js +9 -7
- package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +3 -3
- package/es-modules/Stock/Indicators/DPO/DPOIndicator.js +4 -3
- package/es-modules/Stock/Indicators/RSI/RSIIndicator.js +1 -1
- package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +2 -2
- package/es-modules/Stock/Navigator/ChartNavigatorComposition.js +4 -4
- package/es-modules/Stock/Navigator/Navigator.js +26 -26
- package/es-modules/Stock/Navigator/StandaloneNavigator.js +4 -4
- package/es-modules/Stock/RangeSelector/RangeSelector.js +15 -11
- package/es-modules/Stock/RangeSelector/RangeSelectorComposition.js +3 -3
- package/es-modules/Stock/Scrollbar/Scrollbar.js +8 -7
- package/es-modules/Stock/StockTools/StockToolbar.js +5 -5
- package/es-modules/Stock/StockTools/StockTools.js +2 -2
- package/es-modules/Stock/StockTools/StockToolsGui.js +4 -2
- 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 +7 -2
- 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 +40 -32
- package/esm/highcharts-autoload.js +1 -1
- package/esm/highcharts-autoload.src.js +1 -1
- 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 +90 -56
- package/esm/highcharts.js +4 -4
- package/esm/highcharts.src.js +312 -207
- 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 +1 -1
- package/esm/i18n/fr-FR.src.js +1 -1
- package/esm/i18n/nb-NO.js +1 -1
- package/esm/i18n/nb-NO.src.js +1 -1
- package/esm/i18n/zh-CN.js +1 -1
- package/esm/i18n/zh-CN.src.js +1 -1
- package/esm/indicators/acceleration-bands.js +1 -1
- package/esm/indicators/acceleration-bands.src.js +1 -1
- package/esm/indicators/accumulation-distribution.js +1 -1
- package/esm/indicators/accumulation-distribution.src.js +1 -1
- package/esm/indicators/ao.js +1 -1
- package/esm/indicators/ao.src.js +1 -1
- package/esm/indicators/apo.js +1 -1
- package/esm/indicators/apo.src.js +1 -1
- package/esm/indicators/aroon-oscillator.js +1 -1
- package/esm/indicators/aroon-oscillator.src.js +1 -1
- package/esm/indicators/aroon.js +2 -2
- package/esm/indicators/aroon.src.js +3 -3
- package/esm/indicators/atr.js +1 -1
- package/esm/indicators/atr.src.js +1 -1
- package/esm/indicators/bollinger-bands.js +1 -1
- package/esm/indicators/bollinger-bands.src.js +1 -1
- package/esm/indicators/cci.js +1 -1
- package/esm/indicators/cci.src.js +1 -1
- package/esm/indicators/chaikin.js +1 -1
- package/esm/indicators/chaikin.src.js +1 -1
- package/esm/indicators/cmf.js +1 -1
- package/esm/indicators/cmf.src.js +1 -1
- package/esm/indicators/cmo.js +1 -1
- package/esm/indicators/cmo.src.js +1 -1
- package/esm/indicators/dema.js +1 -1
- package/esm/indicators/dema.src.js +1 -1
- package/esm/indicators/disparity-index.js +1 -1
- package/esm/indicators/disparity-index.src.js +1 -1
- package/esm/indicators/dmi.js +1 -1
- package/esm/indicators/dmi.src.js +1 -1
- package/esm/indicators/dpo.js +2 -2
- package/esm/indicators/dpo.src.js +4 -3
- package/esm/indicators/ichimoku-kinko-hyo.js +1 -1
- package/esm/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/esm/indicators/indicators-all.js +2 -2
- package/esm/indicators/indicators-all.src.js +8 -7
- package/esm/indicators/indicators.js +2 -2
- package/esm/indicators/indicators.src.js +2 -2
- package/esm/indicators/keltner-channels.js +1 -1
- package/esm/indicators/keltner-channels.src.js +1 -1
- package/esm/indicators/klinger.js +1 -1
- package/esm/indicators/klinger.src.js +1 -1
- package/esm/indicators/macd.js +1 -1
- package/esm/indicators/macd.src.js +1 -1
- package/esm/indicators/mfi.js +1 -1
- package/esm/indicators/mfi.src.js +1 -1
- package/esm/indicators/momentum.js +1 -1
- package/esm/indicators/momentum.src.js +1 -1
- package/esm/indicators/natr.js +1 -1
- package/esm/indicators/natr.src.js +1 -1
- package/esm/indicators/obv.js +1 -1
- package/esm/indicators/obv.src.js +1 -1
- package/esm/indicators/pivot-points.js +1 -1
- package/esm/indicators/pivot-points.src.js +1 -1
- package/esm/indicators/ppo.js +1 -1
- package/esm/indicators/ppo.src.js +1 -1
- package/esm/indicators/price-channel.js +1 -1
- package/esm/indicators/price-channel.src.js +1 -1
- package/esm/indicators/price-envelopes.js +1 -1
- package/esm/indicators/price-envelopes.src.js +1 -1
- package/esm/indicators/psar.js +1 -1
- package/esm/indicators/psar.src.js +1 -1
- package/esm/indicators/regressions.js +1 -1
- package/esm/indicators/regressions.src.js +1 -1
- package/esm/indicators/roc.js +1 -1
- package/esm/indicators/roc.src.js +1 -1
- package/esm/indicators/rsi.js +1 -1
- package/esm/indicators/rsi.src.js +2 -2
- package/esm/indicators/slow-stochastic.js +1 -1
- package/esm/indicators/slow-stochastic.src.js +1 -1
- package/esm/indicators/stochastic.js +1 -1
- package/esm/indicators/stochastic.src.js +1 -1
- package/esm/indicators/supertrend.js +1 -1
- package/esm/indicators/supertrend.src.js +1 -1
- package/esm/indicators/tema.js +1 -1
- package/esm/indicators/tema.src.js +1 -1
- package/esm/indicators/trendline.js +1 -1
- package/esm/indicators/trendline.src.js +1 -1
- package/esm/indicators/trix.js +1 -1
- package/esm/indicators/trix.src.js +1 -1
- package/esm/indicators/volume-by-price.js +1 -1
- package/esm/indicators/volume-by-price.src.js +1 -1
- package/esm/indicators/vwap.js +1 -1
- package/esm/indicators/vwap.src.js +1 -1
- package/esm/indicators/williams-r.js +1 -1
- package/esm/indicators/williams-r.src.js +1 -1
- package/esm/indicators/wma.js +1 -1
- package/esm/indicators/wma.src.js +1 -1
- package/esm/indicators/zigzag.js +1 -1
- package/esm/indicators/zigzag.src.js +1 -1
- package/esm/modules/accessibility.js +2 -2
- package/esm/modules/accessibility.src.js +69 -63
- package/esm/modules/annotations-advanced.js +3 -3
- package/esm/modules/annotations-advanced.src.js +25 -23
- package/esm/modules/annotations.js +3 -3
- package/esm/modules/annotations.src.js +21 -19
- package/esm/modules/arc-diagram.js +2 -2
- package/esm/modules/arc-diagram.src.js +16 -15
- package/esm/modules/arrow-symbols.js +1 -1
- package/esm/modules/arrow-symbols.src.js +1 -1
- package/esm/modules/boost-canvas.js +2 -2
- package/esm/modules/boost-canvas.src.js +29 -20
- package/esm/modules/boost.js +2 -2
- package/esm/modules/boost.src.js +28 -19
- package/esm/modules/broken-axis.js +2 -2
- package/esm/modules/broken-axis.src.js +6 -5
- package/esm/modules/bullet.js +2 -2
- package/esm/modules/bullet.src.js +17 -10
- package/esm/modules/coloraxis.js +2 -2
- package/esm/modules/coloraxis.src.js +18 -11
- package/esm/modules/contour.js +1 -1
- package/esm/modules/contour.src.js +1 -1
- package/esm/modules/current-date-indicator.js +1 -1
- package/esm/modules/current-date-indicator.src.js +1 -1
- package/esm/modules/cylinder.js +2 -2
- package/esm/modules/cylinder.src.js +9 -10
- package/esm/modules/data-sorting.js +1 -1
- package/esm/modules/data-sorting.src.js +1 -1
- package/esm/modules/data-tools.js +2 -2
- package/esm/modules/data-tools.src.js +20 -3
- package/esm/modules/data.js +1 -1
- package/esm/modules/data.src.js +1 -1
- package/esm/modules/datagrouping.js +2 -2
- package/esm/modules/datagrouping.src.js +6 -5
- package/esm/modules/debugger.js +1 -1
- package/esm/modules/debugger.src.js +1 -1
- package/esm/modules/dependency-wheel.js +1 -1
- package/esm/modules/dependency-wheel.src.js +1 -1
- package/esm/modules/dotplot.js +2 -2
- package/esm/modules/dotplot.src.js +3 -2
- package/esm/modules/drag-panes.js +1 -1
- package/esm/modules/drag-panes.src.js +1 -1
- package/esm/modules/draggable-points.js +2 -2
- package/esm/modules/draggable-points.src.js +2 -3
- package/esm/modules/drilldown.js +2 -2
- package/esm/modules/drilldown.src.js +5 -4
- package/esm/modules/dumbbell.js +2 -2
- package/esm/modules/dumbbell.src.js +37 -9
- package/esm/modules/export-data.js +2 -2
- package/esm/modules/export-data.src.js +17 -16
- package/esm/modules/exporting.js +2 -2
- package/esm/modules/exporting.src.js +7 -7
- package/esm/modules/flowmap.js +2 -2
- package/esm/modules/flowmap.src.js +21 -11
- package/esm/modules/full-screen.js +1 -1
- package/esm/modules/full-screen.src.js +1 -1
- package/esm/modules/funnel.js +2 -2
- package/esm/modules/funnel.src.js +2 -2
- package/esm/modules/funnel3d.js +2 -2
- package/esm/modules/funnel3d.src.js +14 -13
- package/esm/modules/gantt.js +2 -2
- package/esm/modules/gantt.src.js +93 -76
- package/esm/modules/geoheatmap.js +2 -2
- package/esm/modules/geoheatmap.src.js +8 -8
- package/esm/modules/grid-axis.js +2 -2
- package/esm/modules/grid-axis.src.js +4 -4
- package/esm/modules/heatmap.js +2 -2
- package/esm/modules/heatmap.src.js +22 -22
- package/esm/modules/heikinashi.js +1 -1
- package/esm/modules/heikinashi.src.js +1 -1
- package/esm/modules/histogram-bellcurve.js +1 -1
- package/esm/modules/histogram-bellcurve.src.js +15 -3
- package/esm/modules/hollowcandlestick.js +1 -1
- package/esm/modules/hollowcandlestick.src.js +1 -1
- package/esm/modules/item-series.js +2 -2
- package/esm/modules/item-series.src.js +18 -6
- package/esm/modules/lollipop.js +1 -1
- package/esm/modules/lollipop.src.js +1 -1
- package/esm/modules/map.js +2 -2
- package/esm/modules/map.src.js +65 -57
- package/esm/modules/marker-clusters.js +1 -1
- package/esm/modules/marker-clusters.src.js +1 -1
- package/esm/modules/mouse-wheel-zoom.js +2 -2
- package/esm/modules/mouse-wheel-zoom.src.js +3 -3
- package/esm/modules/navigator.js +2 -2
- package/esm/modules/navigator.src.js +47 -45
- package/esm/modules/networkgraph.js +2 -2
- package/esm/modules/networkgraph.src.js +31 -21
- package/esm/modules/no-data-to-display.js +1 -1
- package/esm/modules/no-data-to-display.src.js +1 -1
- package/esm/modules/non-cartesian-zoom.js +1 -1
- package/esm/modules/non-cartesian-zoom.src.js +1 -1
- package/esm/modules/offline-exporting.js +1 -1
- package/esm/modules/offline-exporting.src.js +1 -1
- package/esm/modules/organization.js +2 -2
- package/esm/modules/organization.src.js +3 -2
- package/esm/modules/parallel-coordinates.js +2 -2
- package/esm/modules/parallel-coordinates.src.js +2 -2
- package/esm/modules/pareto.js +1 -1
- package/esm/modules/pareto.src.js +1 -1
- package/esm/modules/pathfinder.js +2 -2
- package/esm/modules/pathfinder.src.js +7 -6
- package/esm/modules/pattern-fill.js +2 -2
- package/esm/modules/pattern-fill.src.js +7 -5
- package/esm/modules/pictorial.js +2 -2
- package/esm/modules/pictorial.src.js +10 -6
- package/esm/modules/pointandfigure.js +1 -1
- package/esm/modules/pointandfigure.src.js +1 -1
- package/esm/modules/price-indicator.js +2 -2
- package/esm/modules/price-indicator.src.js +5 -4
- package/esm/modules/pyramid3d.js +1 -1
- package/esm/modules/pyramid3d.src.js +1 -1
- package/esm/modules/renko.js +1 -1
- package/esm/modules/renko.src.js +1 -1
- package/esm/modules/sankey.js +2 -2
- package/esm/modules/sankey.src.js +34 -20
- package/esm/modules/series-label.js +2 -2
- package/esm/modules/series-label.src.js +7 -7
- package/esm/modules/series-on-point.js +1 -1
- package/esm/modules/series-on-point.src.js +1 -1
- package/esm/modules/solid-gauge.js +2 -2
- package/esm/modules/solid-gauge.src.js +2 -2
- package/esm/modules/sonification.js +2 -2
- package/esm/modules/sonification.src.js +19 -19
- package/esm/modules/static-scale.js +1 -1
- package/esm/modules/static-scale.src.js +1 -1
- package/esm/modules/stock-tools.js +3 -3
- package/esm/modules/stock-tools.src.js +15 -10
- package/esm/modules/stock.js +2 -2
- package/esm/modules/stock.src.js +90 -76
- package/esm/modules/streamgraph.js +1 -1
- package/esm/modules/streamgraph.src.js +1 -1
- package/esm/modules/sunburst.js +2 -2
- package/esm/modules/sunburst.src.js +41 -26
- package/esm/modules/textpath.js +1 -1
- package/esm/modules/textpath.src.js +1 -1
- package/esm/modules/tiledwebmap.js +2 -2
- package/esm/modules/tiledwebmap.src.js +8 -6
- package/esm/modules/tilemap.js +2 -2
- package/esm/modules/tilemap.src.js +3 -3
- package/esm/modules/timeline.js +2 -2
- package/esm/modules/timeline.src.js +5 -4
- package/esm/modules/treegraph.js +2 -2
- package/esm/modules/treegraph.src.js +17 -8
- package/esm/modules/treegrid.js +2 -2
- package/esm/modules/treegrid.src.js +28 -18
- package/esm/modules/treemap.js +2 -2
- package/esm/modules/treemap.src.js +35 -22
- package/esm/modules/variable-pie.js +2 -2
- package/esm/modules/variable-pie.src.js +6 -4
- package/esm/modules/variwide.js +2 -2
- package/esm/modules/variwide.src.js +2 -2
- package/esm/modules/vector.js +1 -1
- package/esm/modules/vector.src.js +1 -1
- package/esm/modules/venn.js +1 -1
- package/esm/modules/venn.src.js +1 -1
- package/esm/modules/windbarb.js +2 -2
- package/esm/modules/windbarb.src.js +2 -2
- package/esm/modules/wordcloud.js +1 -1
- package/esm/modules/wordcloud.src.js +1 -1
- package/esm/modules/xrange.js +1 -1
- package/esm/modules/xrange.src.js +1 -1
- package/esm/standalone-navigator.js +4 -4
- package/esm/standalone-navigator.src.js +355 -249
- package/esm/themes/adaptive.js +1 -1
- package/esm/themes/adaptive.src.js +1 -1
- package/esm/themes/avocado.js +1 -1
- package/esm/themes/avocado.src.js +1 -1
- package/esm/themes/dark-unica.js +1 -1
- package/esm/themes/dark-unica.src.js +1 -1
- package/esm/themes/grid-light.js +1 -1
- package/esm/themes/grid-light.src.js +1 -1
- package/esm/themes/high-contrast.js +1 -1
- package/esm/themes/high-contrast.src.js +1 -1
- package/esm/themes/sand-signika.js +1 -1
- package/esm/themes/sand-signika.src.js +1 -1
- package/esm/themes/sunset.js +1 -1
- package/esm/themes/sunset.src.js +1 -1
- package/highcharts-3d.js +2 -2
- package/highcharts-3d.src.js +40 -32
- package/highcharts-autoload.d.ts +8 -2
- package/highcharts-autoload.js +4 -4
- package/highcharts-autoload.src.d.ts +8 -2
- package/highcharts-autoload.src.js +313 -208
- package/highcharts-gantt.js +4 -4
- package/highcharts-gantt.src.js +404 -283
- package/highcharts-more.js +2 -2
- package/highcharts-more.src.js +90 -56
- package/highcharts.d.ts +61 -4
- package/highcharts.js +4 -4
- package/highcharts.src.d.ts +61 -4
- package/highcharts.src.js +312 -207
- package/highmaps.js +4 -4
- package/highmaps.src.js +390 -272
- package/highstock.js +4 -4
- package/highstock.src.js +413 -293
- package/i18n/fr-FR.js +1 -1
- package/i18n/fr-FR.src.js +1 -1
- package/i18n/nb-NO.js +1 -1
- package/i18n/nb-NO.src.js +1 -1
- package/i18n/zh-CN.js +1 -1
- package/i18n/zh-CN.src.js +1 -1
- package/indicators/acceleration-bands.js +1 -1
- package/indicators/acceleration-bands.src.js +1 -1
- package/indicators/accumulation-distribution.js +1 -1
- package/indicators/accumulation-distribution.src.js +1 -1
- package/indicators/ao.js +1 -1
- package/indicators/ao.src.js +1 -1
- package/indicators/apo.js +1 -1
- package/indicators/apo.src.js +1 -1
- package/indicators/aroon-oscillator.js +1 -1
- package/indicators/aroon-oscillator.src.js +1 -1
- package/indicators/aroon.js +2 -2
- package/indicators/aroon.src.js +3 -3
- package/indicators/atr.js +1 -1
- package/indicators/atr.src.js +1 -1
- package/indicators/bollinger-bands.js +1 -1
- package/indicators/bollinger-bands.src.js +1 -1
- package/indicators/cci.js +1 -1
- package/indicators/cci.src.js +1 -1
- package/indicators/chaikin.js +1 -1
- package/indicators/chaikin.src.js +1 -1
- package/indicators/cmf.js +1 -1
- package/indicators/cmf.src.js +1 -1
- package/indicators/cmo.js +1 -1
- package/indicators/cmo.src.js +1 -1
- package/indicators/dema.js +1 -1
- package/indicators/dema.src.js +1 -1
- package/indicators/disparity-index.js +1 -1
- package/indicators/disparity-index.src.js +1 -1
- package/indicators/dmi.js +1 -1
- package/indicators/dmi.src.js +1 -1
- package/indicators/dpo.js +2 -2
- package/indicators/dpo.src.js +4 -3
- package/indicators/ichimoku-kinko-hyo.js +1 -1
- package/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/indicators/indicators-all.js +2 -2
- package/indicators/indicators-all.src.js +8 -7
- package/indicators/indicators.js +2 -2
- package/indicators/indicators.src.js +2 -2
- package/indicators/keltner-channels.js +1 -1
- package/indicators/keltner-channels.src.js +1 -1
- package/indicators/klinger.js +1 -1
- package/indicators/klinger.src.js +1 -1
- package/indicators/macd.js +1 -1
- package/indicators/macd.src.js +1 -1
- package/indicators/mfi.js +1 -1
- package/indicators/mfi.src.js +1 -1
- package/indicators/momentum.js +1 -1
- package/indicators/momentum.src.js +1 -1
- package/indicators/natr.js +1 -1
- package/indicators/natr.src.js +1 -1
- package/indicators/obv.js +1 -1
- package/indicators/obv.src.js +1 -1
- package/indicators/pivot-points.js +1 -1
- package/indicators/pivot-points.src.js +1 -1
- package/indicators/ppo.js +1 -1
- package/indicators/ppo.src.js +1 -1
- package/indicators/price-channel.js +1 -1
- package/indicators/price-channel.src.js +1 -1
- package/indicators/price-envelopes.js +1 -1
- package/indicators/price-envelopes.src.js +1 -1
- package/indicators/psar.js +1 -1
- package/indicators/psar.src.js +1 -1
- package/indicators/regressions.js +1 -1
- package/indicators/regressions.src.js +1 -1
- package/indicators/roc.js +1 -1
- package/indicators/roc.src.js +1 -1
- package/indicators/rsi.js +1 -1
- package/indicators/rsi.src.js +2 -2
- package/indicators/slow-stochastic.js +1 -1
- package/indicators/slow-stochastic.src.js +1 -1
- package/indicators/stochastic.js +1 -1
- package/indicators/stochastic.src.js +1 -1
- package/indicators/supertrend.js +1 -1
- package/indicators/supertrend.src.js +1 -1
- package/indicators/tema.js +1 -1
- package/indicators/tema.src.js +1 -1
- package/indicators/trendline.js +1 -1
- package/indicators/trendline.src.js +1 -1
- package/indicators/trix.js +1 -1
- package/indicators/trix.src.js +1 -1
- package/indicators/volume-by-price.js +1 -1
- package/indicators/volume-by-price.src.js +1 -1
- package/indicators/vwap.js +1 -1
- package/indicators/vwap.src.js +1 -1
- package/indicators/williams-r.js +1 -1
- package/indicators/williams-r.src.js +1 -1
- package/indicators/wma.js +1 -1
- package/indicators/wma.src.js +1 -1
- package/indicators/zigzag.js +1 -1
- package/indicators/zigzag.src.js +1 -1
- package/modules/accessibility.js +2 -2
- package/modules/accessibility.src.js +69 -63
- package/modules/annotations-advanced.js +3 -3
- package/modules/annotations-advanced.src.js +25 -23
- package/modules/annotations.js +3 -3
- package/modules/annotations.src.js +21 -19
- package/modules/arc-diagram.js +2 -2
- package/modules/arc-diagram.src.js +16 -15
- package/modules/arrow-symbols.js +1 -1
- package/modules/arrow-symbols.src.js +1 -1
- package/modules/boost-canvas.js +2 -2
- package/modules/boost-canvas.src.js +29 -20
- package/modules/boost.js +2 -2
- package/modules/boost.src.js +28 -19
- package/modules/broken-axis.js +2 -2
- package/modules/broken-axis.src.js +6 -5
- package/modules/bullet.js +2 -2
- package/modules/bullet.src.js +17 -10
- package/modules/coloraxis.js +2 -2
- package/modules/coloraxis.src.js +18 -11
- package/modules/contour.js +4 -4
- package/modules/contour.src.js +19 -12
- package/modules/current-date-indicator.js +1 -1
- package/modules/current-date-indicator.src.js +1 -1
- package/modules/cylinder.js +2 -2
- package/modules/cylinder.src.js +9 -10
- package/modules/data-sorting.js +1 -1
- package/modules/data-sorting.src.js +1 -1
- package/modules/data-tools.js +2 -2
- package/modules/data-tools.src.js +20 -3
- package/modules/data.js +1 -1
- package/modules/data.src.js +1 -1
- package/modules/datagrouping.js +2 -2
- package/modules/datagrouping.src.js +6 -5
- package/modules/debugger.js +1 -1
- package/modules/debugger.src.js +1 -1
- package/modules/dependency-wheel.js +1 -1
- package/modules/dependency-wheel.src.js +1 -1
- package/modules/dotplot.js +2 -2
- package/modules/dotplot.src.js +3 -2
- package/modules/drag-panes.js +1 -1
- package/modules/drag-panes.src.js +1 -1
- package/modules/draggable-points.js +2 -2
- package/modules/draggable-points.src.js +2 -3
- package/modules/drilldown.js +2 -2
- package/modules/drilldown.src.js +5 -4
- package/modules/dumbbell.js +2 -2
- package/modules/dumbbell.src.js +37 -9
- package/modules/export-data.js +2 -2
- package/modules/export-data.src.js +17 -16
- package/modules/exporting.js +2 -2
- package/modules/exporting.src.js +7 -7
- package/modules/flowmap.js +2 -2
- package/modules/flowmap.src.js +21 -11
- package/modules/full-screen.js +1 -1
- package/modules/full-screen.src.js +1 -1
- package/modules/funnel.js +2 -2
- package/modules/funnel.src.js +2 -2
- package/modules/funnel3d.js +2 -2
- package/modules/funnel3d.src.js +14 -13
- package/modules/gantt.js +6 -6
- package/modules/gantt.src.js +96 -79
- package/modules/geoheatmap.d.ts +0 -12
- package/modules/geoheatmap.js +2 -2
- package/modules/geoheatmap.src.d.ts +0 -12
- package/modules/geoheatmap.src.js +8 -8
- package/modules/grid-axis.js +2 -2
- package/modules/grid-axis.src.js +4 -4
- package/modules/heatmap.d.ts +0 -12
- package/modules/heatmap.js +4 -4
- package/modules/heatmap.src.d.ts +0 -12
- package/modules/heatmap.src.js +40 -33
- package/modules/heikinashi.js +1 -1
- package/modules/heikinashi.src.js +1 -1
- package/modules/histogram-bellcurve.js +1 -1
- package/modules/histogram-bellcurve.src.js +15 -3
- package/modules/hollowcandlestick.js +1 -1
- package/modules/hollowcandlestick.src.js +1 -1
- package/modules/item-series.js +2 -2
- package/modules/item-series.src.js +18 -6
- package/modules/lollipop.js +1 -1
- package/modules/lollipop.src.js +1 -1
- package/modules/map.d.ts +0 -12
- package/modules/map.js +4 -4
- package/modules/map.src.d.ts +0 -12
- package/modules/map.src.js +83 -68
- package/modules/marker-clusters.js +1 -1
- package/modules/marker-clusters.src.js +1 -1
- package/modules/mouse-wheel-zoom.js +2 -2
- package/modules/mouse-wheel-zoom.src.js +3 -3
- package/modules/navigator.js +2 -2
- package/modules/navigator.src.js +47 -45
- package/modules/networkgraph.js +2 -2
- package/modules/networkgraph.src.js +31 -21
- package/modules/no-data-to-display.js +1 -1
- package/modules/no-data-to-display.src.js +1 -1
- package/modules/non-cartesian-zoom.js +1 -1
- package/modules/non-cartesian-zoom.src.js +1 -1
- package/modules/offline-exporting.js +1 -1
- package/modules/offline-exporting.src.js +1 -1
- package/modules/organization.js +2 -2
- package/modules/organization.src.js +3 -2
- package/modules/parallel-coordinates.js +2 -2
- package/modules/parallel-coordinates.src.js +2 -2
- package/modules/pareto.js +1 -1
- package/modules/pareto.src.js +1 -1
- package/modules/pathfinder.js +2 -2
- package/modules/pathfinder.src.js +7 -6
- package/modules/pattern-fill.js +2 -2
- package/modules/pattern-fill.src.js +7 -5
- package/modules/pictorial.js +2 -2
- package/modules/pictorial.src.js +10 -6
- package/modules/pointandfigure.js +1 -1
- package/modules/pointandfigure.src.js +1 -1
- package/modules/price-indicator.js +2 -2
- package/modules/price-indicator.src.js +5 -4
- package/modules/pyramid3d.js +1 -1
- package/modules/pyramid3d.src.js +1 -1
- package/modules/renko.js +1 -1
- package/modules/renko.src.js +1 -1
- package/modules/sankey.js +2 -2
- package/modules/sankey.src.js +34 -20
- package/modules/series-label.js +2 -2
- package/modules/series-label.src.js +7 -7
- package/modules/series-on-point.js +1 -1
- package/modules/series-on-point.src.js +1 -1
- package/modules/solid-gauge.js +2 -2
- package/modules/solid-gauge.src.js +2 -2
- package/modules/sonification.js +2 -2
- package/modules/sonification.src.js +19 -19
- package/modules/static-scale.js +1 -1
- package/modules/static-scale.src.js +1 -1
- package/modules/stock-tools.js +3 -3
- package/modules/stock-tools.src.js +15 -10
- package/modules/stock.js +6 -6
- package/modules/stock.src.js +105 -89
- package/modules/streamgraph.js +1 -1
- package/modules/streamgraph.src.js +1 -1
- package/modules/sunburst.js +2 -2
- package/modules/sunburst.src.js +41 -26
- package/modules/textpath.js +1 -1
- package/modules/textpath.src.js +1 -1
- package/modules/tiledwebmap.js +2 -2
- package/modules/tiledwebmap.src.js +8 -6
- package/modules/tilemap.js +2 -2
- package/modules/tilemap.src.js +3 -3
- package/modules/timeline.js +2 -2
- package/modules/timeline.src.js +5 -4
- package/modules/treegraph.js +2 -2
- package/modules/treegraph.src.js +17 -8
- package/modules/treegrid.js +2 -2
- package/modules/treegrid.src.js +28 -18
- package/modules/treemap.js +2 -2
- package/modules/treemap.src.js +35 -22
- package/modules/variable-pie.js +2 -2
- package/modules/variable-pie.src.js +6 -4
- package/modules/variwide.js +2 -2
- package/modules/variwide.src.js +2 -2
- package/modules/vector.js +1 -1
- package/modules/vector.src.js +1 -1
- package/modules/venn.js +1 -1
- package/modules/venn.src.js +1 -1
- package/modules/windbarb.js +2 -2
- package/modules/windbarb.src.js +2 -2
- package/modules/wordcloud.js +1 -1
- package/modules/wordcloud.src.js +1 -1
- package/modules/xrange.js +1 -1
- package/modules/xrange.src.js +1 -1
- package/package.json +2 -3
- package/standalone-navigator.js +4 -4
- package/standalone-navigator.src.js +355 -249
- package/themes/adaptive.js +1 -1
- package/themes/adaptive.src.js +1 -1
- package/themes/avocado.js +1 -1
- package/themes/avocado.src.js +1 -1
- package/themes/dark-unica.js +1 -1
- package/themes/dark-unica.src.js +1 -1
- package/themes/grid-light.js +1 -1
- package/themes/grid-light.src.js +1 -1
- package/themes/high-contrast.js +1 -1
- package/themes/high-contrast.src.js +1 -1
- package/themes/sand-signika.js +1 -1
- package/themes/sand-signika.src.js +1 -1
- package/themes/sunset.js +1 -1
- package/themes/sunset.src.js +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// SPDX-License-Identifier: LicenseRef-Highcharts
|
|
2
2
|
/**
|
|
3
|
-
* @license Highcharts JS v13.0.
|
|
3
|
+
* @license Highcharts JS v13.0.2 (2026-08-27)
|
|
4
4
|
* @module highcharts/modules/annotations
|
|
5
5
|
* @requires highcharts
|
|
6
6
|
*
|
|
@@ -181,7 +181,7 @@ var highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default
|
|
|
181
181
|
function chartAddAnnotation(options, redraw) {
|
|
182
182
|
const annotation = this.initAnnotation(options);
|
|
183
183
|
this.options.annotations.push(annotation.options);
|
|
184
|
-
if (
|
|
184
|
+
if (redraw ?? true) {
|
|
185
185
|
annotation.redraw();
|
|
186
186
|
annotation.graphic.attr({
|
|
187
187
|
opacity: 1
|
|
@@ -1379,7 +1379,8 @@ class EventEmitter {
|
|
|
1379
1379
|
emitter.removeMouseUp = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.addEvent)(doc, isTouchDevice || firesTouchEvents ? 'touchend' : 'mouseup', function () {
|
|
1380
1380
|
// Sometimes the target is the annotation and sometimes its the
|
|
1381
1381
|
// controllable
|
|
1382
|
-
const annotation = (
|
|
1382
|
+
const annotation = ((emitter.target && emitter.target.annotation) ??
|
|
1383
|
+
emitter.target);
|
|
1383
1384
|
if (annotation) {
|
|
1384
1385
|
// Keep annotation selected after dragging control point
|
|
1385
1386
|
annotation.cancelClick = emitter.hasDragged;
|
|
@@ -1388,8 +1389,7 @@ class EventEmitter {
|
|
|
1388
1389
|
emitter.chart.hasDraggedAnnotation = false;
|
|
1389
1390
|
if (emitter.hasDragged) {
|
|
1390
1391
|
// ControlPoints vs Annotation:
|
|
1391
|
-
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.fireEvent)((
|
|
1392
|
-
emitter), 'afterUpdate');
|
|
1392
|
+
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.fireEvent)((annotation ?? emitter), 'afterUpdate');
|
|
1393
1393
|
}
|
|
1394
1394
|
emitter.hasDragged = false;
|
|
1395
1395
|
emitter.onMouseUp();
|
|
@@ -1478,7 +1478,7 @@ class ControlPoint extends Annotations_EventEmitter {
|
|
|
1478
1478
|
this.chart = chart;
|
|
1479
1479
|
this.target = target;
|
|
1480
1480
|
this.options = options;
|
|
1481
|
-
this.index = (
|
|
1481
|
+
this.index = (options.index ?? index);
|
|
1482
1482
|
}
|
|
1483
1483
|
/* *
|
|
1484
1484
|
*
|
|
@@ -1630,7 +1630,7 @@ function getAssignedAxis(coords) {
|
|
|
1630
1630
|
const extremes = coord.axis.getExtremes(), axisMin = extremes.min, axisMax = extremes.max,
|
|
1631
1631
|
// Correct axis edges when axis has series
|
|
1632
1632
|
// with pointRange (like column)
|
|
1633
|
-
minPointOffset = (
|
|
1633
|
+
minPointOffset = (coord.axis.minPointOffset ?? 0);
|
|
1634
1634
|
return (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.isNumber)(axisMin) && (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.isNumber)(axisMax) &&
|
|
1635
1635
|
coord.value >= (axisMin - minPointOffset) &&
|
|
1636
1636
|
coord.value <= (axisMax + minPointOffset) &&
|
|
@@ -3870,7 +3870,7 @@ class ControllableLabel extends Controllables_Controllable {
|
|
|
3870
3870
|
if (itemOptions.distance && tooltip) {
|
|
3871
3871
|
itemPosition = tooltip.getPosition.call({
|
|
3872
3872
|
chart,
|
|
3873
|
-
distance: (
|
|
3873
|
+
distance: (itemOptions.distance ?? 16),
|
|
3874
3874
|
getPlayingField: tooltip.getPlayingField,
|
|
3875
3875
|
pointer: tooltip.pointer
|
|
3876
3876
|
}, width, height, {
|
|
@@ -4366,11 +4366,9 @@ function addToolbar(chart, options, callback) {
|
|
|
4366
4366
|
className: 'highcharts-annotation-label'
|
|
4367
4367
|
}, void 0, popupDiv);
|
|
4368
4368
|
label.setAttribute('aria-label', 'Annotation type');
|
|
4369
|
-
label.appendChild(PopupAnnotations_doc.createTextNode((
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
// Basic shapes:
|
|
4373
|
-
options.shapes && options.shapes[0].type, '')));
|
|
4369
|
+
label.appendChild(PopupAnnotations_doc.createTextNode(((lang[options.langKey] || options.langKey) ??
|
|
4370
|
+
(options.shapes && options.shapes[0].type) ??
|
|
4371
|
+
'')));
|
|
4374
4372
|
// Add buttons
|
|
4375
4373
|
let button = this.addButton(popupDiv, lang.editButton || 'Edit', 'edit', popupDiv, () => {
|
|
4376
4374
|
showForm.call(this, 'annotation-edit', chart, options, callback);
|
|
@@ -5423,7 +5421,8 @@ class Popup extends Shared_BaseForm {
|
|
|
5423
5421
|
* Return created input element.
|
|
5424
5422
|
*/
|
|
5425
5423
|
addInput(option, indicatorType, parentDiv, inputAttributes) {
|
|
5426
|
-
const optionParamList = option.split('.'), optionName = optionParamList[optionParamList.length - 1], lang = this.lang, inputName = 'highcharts-' + indicatorType + '-' +
|
|
5424
|
+
const optionParamList = option.split('.'), optionName = optionParamList[optionParamList.length - 1], lang = this.lang, inputName = 'highcharts-' + indicatorType + '-' +
|
|
5425
|
+
(inputAttributes.htmlFor ?? optionName);
|
|
5427
5426
|
if (!optionName.match(/^\d+$/)) {
|
|
5428
5427
|
// Add label
|
|
5429
5428
|
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.createElement)('label', {
|
|
@@ -6046,7 +6045,7 @@ class Annotation extends Annotations_EventEmitter {
|
|
|
6046
6045
|
if (!item.graphic) {
|
|
6047
6046
|
this.renderItem(item);
|
|
6048
6047
|
}
|
|
6049
|
-
item.redraw((
|
|
6048
|
+
item.redraw((animation ?? true) && item.graphic.placed);
|
|
6050
6049
|
if (item.points.length) {
|
|
6051
6050
|
adjustVisibility(item);
|
|
6052
6051
|
}
|
|
@@ -6189,7 +6188,7 @@ class Annotation extends Annotations_EventEmitter {
|
|
|
6189
6188
|
* annotation's visibility is toggled.
|
|
6190
6189
|
*/
|
|
6191
6190
|
setVisibility(visible) {
|
|
6192
|
-
const options = this.options, navigation = this.chart.navigationBindings, visibility = (
|
|
6191
|
+
const options = this.options, navigation = this.chart.navigationBindings, visibility = (visible ?? !options.visible);
|
|
6193
6192
|
this.graphic.attr('visibility', visibility ? 'inherit' : 'hidden');
|
|
6194
6193
|
if (!visibility) {
|
|
6195
6194
|
const setItemControlPointsVisibility = function (item) {
|
|
@@ -6225,7 +6224,7 @@ class Annotation extends Annotations_EventEmitter {
|
|
|
6225
6224
|
// Update options in chart options, used in exporting (#9767, #21507):
|
|
6226
6225
|
chart.options.annotations[userOptionsIndex] = this.options;
|
|
6227
6226
|
this.isUpdating = true;
|
|
6228
|
-
if (
|
|
6227
|
+
if (redraw ?? true) {
|
|
6229
6228
|
chart.drawAnnotations();
|
|
6230
6229
|
}
|
|
6231
6230
|
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.fireEvent)(this, 'afterUpdate');
|
|
@@ -7334,7 +7333,7 @@ class NavigationBindings {
|
|
|
7334
7333
|
let parent = config;
|
|
7335
7334
|
path.forEach((name, index) => {
|
|
7336
7335
|
if (name !== '__proto__' && name !== 'constructor') {
|
|
7337
|
-
const nextName = (
|
|
7336
|
+
const nextName = (path[index + 1] ?? '');
|
|
7338
7337
|
if (pathLength === index) {
|
|
7339
7338
|
// Last index, put value:
|
|
7340
7339
|
parent[name] = value;
|
|
@@ -7380,7 +7379,10 @@ class NavigationBindings {
|
|
|
7380
7379
|
* Annotation options to be displayed in popup box
|
|
7381
7380
|
*/
|
|
7382
7381
|
annotationToFields(annotation) {
|
|
7383
|
-
const options = annotation.options, editables = NavigationBindings.annotationsEditable, nestedEditables = editables.nestedOptions, type =
|
|
7382
|
+
const options = annotation.options, editables = NavigationBindings.annotationsEditable, nestedEditables = editables.nestedOptions, type = options.type ??
|
|
7383
|
+
options.shapes?.[0]?.type ??
|
|
7384
|
+
options.labels?.[0]?.type ??
|
|
7385
|
+
'label', nonEditables = NavigationBindings.annotationsNonEditable[options.langKey] || [], visualOptions = {
|
|
7384
7386
|
langKey: options.langKey,
|
|
7385
7387
|
type: type
|
|
7386
7388
|
};
|
package/modules/arc-diagram.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
!/**
|
|
2
|
-
* Highcharts JS v13.0.
|
|
2
|
+
* Highcharts JS v13.0.2 (2026-08-27)
|
|
3
3
|
* @module modules/arc-diagram
|
|
4
4
|
* @requires highcharts/modules/sankey
|
|
5
5
|
*
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
*
|
|
11
11
|
* A commercial license may be required depending on use,
|
|
12
12
|
* see www.highcharts.com/license
|
|
13
|
-
*/function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts,t._Highcharts.SeriesRegistry,t._Highcharts.Series,t._Highcharts.SVGRenderer,t._Highcharts.SVGElement):"function"==typeof define&&define.amd?define("highcharts/modules/arc-diagram",["highcharts/highcharts"],function(t){return e(t,t.SeriesRegistry,t.Series,t.SVGRenderer,t.SVGElement)}):"object"==typeof exports?exports["highcharts/modules/arc-diagram"]=e(t._Highcharts,t._Highcharts.SeriesRegistry,t._Highcharts.Series,t._Highcharts.SVGRenderer,t._Highcharts.SVGElement):t.Highcharts=e(t.Highcharts,t.Highcharts.SeriesRegistry,t.Highcharts.Series,t.Highcharts.SVGRenderer,t.Highcharts.SVGElement)}("u"<typeof window?this:window,(t,e,o,s,i)=>(()=>{"use strict";var n,r,a,h={28(t){t.exports=i},540(t){t.exports=s},820(t){t.exports=o},512(t){t.exports=e},944(e){e.exports=t}};let l={};function d(t){let e=l[t];if(void 0!==e)return e.exports;let o=l[t]={exports:{}};return h[t](o,o.exports,d),o.exports}d.n=t=>{let e=t&&t.__esModule?()=>t.default:()=>t;return d.d(e,{a:e}),e},d.d=(t,e)=>{if(Array.isArray(e))for(var o=0;o<e.length;){var s=e[o++],i=e[o++];d.o(t,s)?0===i&&o++:0===i?Object.defineProperty(t,s,{enumerable:!0,value:e[o++]}):Object.defineProperty(t,s,{enumerable:!0,get:i})}else for(var s in e)d.o(e,s)&&!d.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},d.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let p={};d.d(p,{default:()=>F});var c=d(944),u=d.n(c),f=d(512),m=d.n(f);let{series:{prototype:g,prototype:{pointClass:{prototype:y}}}}=m();!function(t){function e(){if(!this.hasDataLabels?.()&&this.nodes)for(let t of this.nodes)t.destroyElements({dataLabel:1})}function o(){return this.data=[].concat(this.points||[],this.nodes),g.destroy.apply(this,arguments)}function s(){this.nodes&&(this.nodes.forEach(t=>{t.destroy()}),this.nodes.length=0),g.setData.apply(this,arguments)}function i(t){let e=arguments,o=this.isNode?this.linksTo.concat(this.linksFrom):[this.fromNode,this.toNode];"select"!==t&&o.forEach(t=>{t&&t.series&&(y.setState.apply(t,e),!t.isNode&&(t.fromNode.graphic&&y.setState.apply(t.fromNode,e),t.toNode&&t.toNode.graphic&&y.setState.apply(t.toNode,e)))}),y.setState.apply(this,e)}function n(t,e,o,s){let i=this.series.options.nodes,n=this.series.options.data,r=n?.length||0,a=n?.[this.index];if(y.update.call(this,t,!this.isNode&&e,o,s),this.isNode){let t=(i||[]).reduce((t,e,o)=>this.id===e.id?o:t,-1),s=(0,c.merge)(i&&i[t]||{},n?.[this.index]||{});n&&(a?n[this.index]=a:n.length=r),i?t>=0?i[t]=s:i.push(s):this.series.options.nodes=[s],(0,c.pick)(e,!0)&&this.series.chart.redraw(o)}}t.compose=function(t,r){let a=t.prototype,h=r.prototype;return a.setNodeState=i,a.setState=i,a.update=n,h.destroy=o,h.setData=s,(0,c.addEvent)(r,"afterUpdate",e),r},t.createNode=function(t){let e=this.pointClass,o=(t,e)=>(0,c.find)(t,t=>t.id===e),s=o(this.nodes,t),i;if(!s){i=this.options.nodes&&o(this.options.nodes,t);let n=new e(this,(0,c.extend)({className:"highcharts-node",isNode:!0,id:t,y:1},i));n.linksTo=[],n.linksFrom=[],n.getSum=function(){let t=0,e=0;return n.linksTo.forEach(e=>{t+=e.weight||0}),n.linksFrom.forEach(t=>{e+=t.weight||0}),Math.max(t,e)},n.offset=function(t,e){let o=0;for(let s=0;s<n[e].length;s++){if(n[e][s]===t)return o;o+=n[e][s].weight}},n.hasShape=function(){let t=0;return n.linksTo.forEach(e=>{e.outgoing&&t++}),!n.linksTo.length||t!==n.linksTo.length},n.index=this.nodes.push(n)-1,s=n}return s.formatPrefix="node",s.name=s.name||s.options.id||"",s.mass=(0,c.pick)(s.options.mass,s.options.marker&&s.options.marker.radius,this.options.marker&&this.options.marker.radius,4),s},t.destroy=o,t.generatePoints=function(){let t=this.chart,e={};g.generatePoints.call(this),this.nodes||(this.nodes=[]),this.colorCounter=0,this.nodes.forEach(t=>{t.linksFrom.length=0,t.linksTo.length=0,t.level=t.options.level}),this.points.forEach(o=>{(0,c.defined)(o.from)&&(e[o.from]||(e[o.from]=this.createNode(o.from)),e[o.from].linksFrom.push(o),o.fromNode=e[o.from],t.styledMode?o.colorIndex=(0,c.pick)(o.options.colorIndex,e[o.from].colorIndex):o.color=o.options.color||e[o.from].color),(0,c.defined)(o.to)&&(e[o.to]||(e[o.to]=this.createNode(o.to)),e[o.to].linksTo.push(o),o.toNode=e[o.to]),o.name=o.name||o.id},this),this.nodeLookup=e},t.setNodeState=i,t.updateNode=n}(r||(r={}));let x=r,{seriesTypes:{sankey:{prototype:{pointClass:k}}}}=m();class b extends k{isValid(){return!0}}(0,c.extend)(b.prototype,{setState:x.setNodeState});var S=a||(a={});S.compose=function(t,e){return t.sankeyColumn=new L(t,e),t};class L{constructor(t,e){this.points=t,this.series=e}getTranslationFactor(t){let e=this.points,o=e.slice(),s=t.chart,i=t.options.minLinkWidth||0,n,r=0,a,h=(s.plotSizeY||0)-(t.options.borderWidth||0)-(e.length-1)*t.nodePadding;for(;e.length;){for(r=h/e.sankeyColumn.sum(),n=!1,a=e.length;a--;)e[a].getSum()*r<i&&(e.splice(a,1),h=Math.max(0,h-i),n=!0);if(!n)break}for(let t of(e.length=0,o))e.push(t);return r}top(t){let e=this.series,o=e.nodePadding,s=this.points.reduce((s,i)=>(s>0&&(s+=o),s+=Math.max(i.getSum()*t,e.options.minLinkWidth||0)),0);return(0,c.getAlignFactor)(e.options.nodeAlignment||"center")*((e.chart.plotSizeY||0)-s)}left(t){let e=this.series,o=e.chart,s=e.options.equalNodes,i=o.inverted?o.plotHeight:o.plotWidth,n=e.nodePadding,r=this.points.reduce((o,r)=>(o>0&&(o+=n),o+=s?i/r.series.nodes.length-n:Math.max(r.getSum()*t,e.options.minLinkWidth||0)),0);return((o.plotSizeX||0)-Math.round(r))/2}sum(){return this.points.reduce((t,e)=>t+e.getSum(),0)}offset(t,e){let o=this.points,s=this.series,i=s.nodePadding,n=0,r;if(s.is("organization")&&t.hangsFrom)return{absoluteTop:t.hangsFrom.nodeY};for(let a=0;a<o.length;a++){let h=o[a].getSum(),l=Math.max(h*e,s.options.minLinkWidth||0),d=t.options[s.chart.inverted?"offsetHorizontal":"offsetVertical"],p=t.options.offset||0;if(r=h?l+i:0,o[a]===t)return{relativeTop:n+((0,c.defined)(d)?(0,c.relativeLength)(d,l):(0,c.relativeLength)(p,r))};n+=r}}}S.SankeyColumnAdditions=L;let P=a;var v=d(820),N=d.n(v),T=d(540),C=d.n(T),M=d(28),H=d.n(M);let{composed:W,deg2rad:A}=u();n=H(),(0,c.pushUnique)(W,"TextPath")&&((0,c.addEvent)(n,"afterGetBBox",function(t){let e=t.bBox,o=this.element?.querySelector("textPath");if(o){let t=[],{b:s,h:i}=this.renderer.fontMetrics(this.element),n=i-s,r=RegExp('(<tspan>|<tspan(?!\\sclass="highcharts-br")[^>]*>|<\\/tspan>)',"g"),a=o.innerHTML.replace(r,"").split(/<tspan class="highcharts-br"[^>]*>/),h=a.length,l=(t,e)=>{let{x:i,y:r}=e,a=(o.getRotationOfChar(t)-90)*A,h=Math.cos(a),l=Math.sin(a);return[[i-n*h,r-n*l],[i+s*h,r+s*l]]};for(let e=0,s=0;s<h;s++){let i=a[s].length;for(let n=0;n<i;n+=5)try{let i=e+n+s,[r,a]=l(i,o.getStartPositionOfChar(i));0===n?(t.push(a),t.push(r)):(0===s&&t.unshift(a),s===h-1&&t.push(r))}catch{break}e+=i-1;try{let i=e+s,n=o.getEndPositionOfChar(i),[r,a]=l(i,n);t.unshift(a),t.unshift(r)}catch{break}}t.length&&t.push(t[0].slice()),e.polygon=t}return e}),(0,c.addEvent)(n,"beforeAddingDataLabel",function(t){let e=t.labelOptions,o=t.point,s=e[o.formatPrefix+"TextPath"]||e.textPath;s&&!e.useHTML&&(this.setTextPath(o.getDataLabelPath?.(this)||o.graphic,s),o.dataLabelPath&&!s.enabled&&(o.dataLabelPath=o.dataLabelPath.destroy()))}),n.prototype.setTextPath=n.prototype.setTextPath??function(t,e){let o=this.renderer.url,s=this.text||this,i=s.textPath,{attributes:n,enabled:r}=(0,c.merge)({enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},e);if(t=t||i&&i.path,i?.undo(),t&&r){let e=(0,c.addEvent)(s,"afterModifyTree",e=>{if(t&&r){let i=t.attr("id");i||t.attr("id",i=(0,c.uniqueKey)());let r={x:0,y:0};(0,c.defined)(n.dx)&&(r.dx=n.dx,delete n.dx),(0,c.defined)(n.dy)&&(r.dy=n.dy,delete n.dy),s.attr(r),this.attr({transform:""}),this.box&&(this.box=this.box.destroy());let a=e.nodes.slice(0);e.nodes.length=0,e.nodes[0]={tagName:"textPath",attributes:(0,c.extend)(n,{"text-anchor":n.textAnchor,href:`${o}#${i}`}),children:a}}});s.textPath={path:t,undo:e}}else s.attr({dx:0,dy:0}),delete s.textPath;return this.added&&(s.textCache="",this.renderer.buildText(s)),this});let{prototype:{symbols:w}}=C(),{seriesTypes:{column:E,sankey:O}}=m();class z extends O{createNodeColumns(){let t=this,e=t.chart,o=P.compose([],t);return o.sankeyColumn.maxLength=e.inverted?e.plotHeight:e.plotWidth,o.sankeyColumn.getTranslationFactor=t=>{let s=o.slice(),i=this.options.minLinkWidth||0,n,r=0,a,h,l=0,d=1,p=0,c=(e.plotSizeX||0)-(t.options.marker&&t.options.marker.lineWidth||0)-(o.length-1)*t.nodePadding;for(;o.length;){for(r=c/o.sankeyColumn.sum(),n=!1,a=o.length;a--;){h=o[a].getSum()*r*d;let t=Math.min(e.plotHeight,e.plotWidth);h>t?d=Math.min(t/h,d):h<i&&(o.splice(a,1),c-=i,h=i,n=!0),p+=h*(1-d)/2,l=Math.max(l,h)}if(!n)break}return o.length=0,s.forEach(t=>{t.scale=d,o.push(t)}),o.sankeyColumn.maxRadius=l,o.sankeyColumn.scale=d,o.sankeyColumn.additionalSpace=p,r},o.sankeyColumn.offset=function(s,i){let n=s.series.options.equalNodes,r=t.nodePadding,a=Math.min(e.plotWidth,e.plotHeight,(o.sankeyColumn.maxLength||0)/t.nodes.length-r),h=o.sankeyColumn.additionalSpace||0,l;for(let e=0;e<o.length;e++){let d=o[e].getSum()*(o.sankeyColumn.scale||0),p=n?a:Math.max(d*i,t.options.minLinkWidth||0);if(l=d?p+r:0,o[e]===s)return{relativeLeft:h+(0,c.relativeLength)(s.options.offset||0,l)};h+=l}},t.nodes.forEach(function(t){t.column=0,o.push(t)}),[o]}translateLink(t){let e=t.fromNode,o=t.toNode,s=this.chart,i=this.translationFactor,n=t.options,r=this.options,a=(0,c.pick)(n.linkWeight,r.linkWeight,Math.max((t.weight||0)*i*e.scale,this.options.minLinkWidth||0)),h=t.series.options.centeredLinks,l=e.nodeY,d=(e,o)=>{let s=(e.offset(t,o)||0)*i;return Math.min(e.nodeX+s,e.nodeX+(e.shapeArgs&&e.shapeArgs.height||0)-a)},p=h?e.nodeX+((e.shapeArgs.height||0)-a)/2:d(e,"linksFrom"),u=h?o.nodeX+((o.shapeArgs.height||0)-a)/2:d(o,"linksTo"),f=l;p>u&&([p,u]=[u,p]),r.reversed&&([p,u]=[u,p],f=(s.plotSizeY||0)-f),t.shapeType="path",t.linkBase=[p,p+a,u,u+a];let m=(u+a-p)/Math.abs(u+a-p)*(0,c.pick)(r.linkRadius,Math.min(Math.abs(u+a-p)/2,e.nodeY-Math.abs(a)));t.shapeArgs={d:[["M",p,f],["A",(u+a-p)/2,m,0,0,1,u+a,f],["L",u,f],["A",(u-p-a)/2,m-a,0,0,0,p+a,f],["Z"]]},t.dlBox={x:p+(u-p)/2,y:f-m,height:a,width:0},t.tooltipPos=s.inverted?[(s.plotSizeY||0)-t.dlBox.y-a/2,(s.plotSizeX||0)-t.dlBox.x]:[t.dlBox.x,t.dlBox.y+a/2],t.y=t.plotY=1,t.x=t.plotX=1,t.color||(t.color=e.color)}translateNode(t,e){let o=this.translationFactor,s=this.chart,i=s.inverted?s.plotWidth:s.plotHeight,n=this.options,r=Math.min(s.plotWidth,s.plotHeight,i/t.series.nodes.length-this.nodePadding),a=t.getSum()*(e.sankeyColumn.scale||0),h=n.equalNodes?r:Math.max(a*o,this.options.minLinkWidth||0),l=n.marker?.lineWidth||0,d=e.sankeyColumn.offset(t,o),p=(0,c.crisp)((0,c.pick)(d&&d.absoluteLeft,(e.sankeyColumn.left(o)||0)+(d&&d.relativeLeft||0)),l),u=(0,c.merge)(n.marker,t.options.marker),f=u.symbol,m=u.radius,g=parseInt(n.offset??"100",10)*((s.inverted?s.plotWidth:s.plotHeight)-((0,c.crisp)(this.colDistance*(t.column||0)+(u.lineWidth||0)/2,l)+(e.sankeyColumn.scale||0)*(e.sankeyColumn.maxRadius||0)/2))/100;if(t.sum=a,a){t.nodeX=p,t.nodeY=g;let e=t.options.width||n.width||h,o=t.options.height||n.height||h,i=g;n.reversed&&(i=(s.plotSizeY||0)-g,s.inverted&&(i=(s.plotSizeY||0)-g)),this.mapOptionsToLevel&&(t.dlOptions={...O.getDLOptions({level:this.mapOptionsToLevel[t.level],optionsPoint:t.options}),zIndex:void 0},delete t.dlOptions.zIndex),t.plotX=1,t.plotY=1,t.tooltipPos=s.inverted?[(s.plotSizeY||0)-i-o/2,(s.plotSizeX||0)-p-e/2]:[p+e/2,i+o/2],t.shapeType="path",t.shapeArgs={d:w[f||"circle"](p,i-(m||o)/2,m||e,m||o),width:m||e,height:m||o},t.dlBox={x:p+e/2,y:i,height:0,width:0}}else t.dlOptions={enabled:!1}}drawDataLabels(){if(this.options.dataLabels){let t=this.options.dataLabels.textPath;E.prototype.drawDataLabels.call(this,this.nodes),this.options.dataLabels.textPath=this.options.dataLabels.linkTextPath,E.prototype.drawDataLabels.call(this,this.data),this.options.dataLabels.textPath=t}}pointAttribs(t,e){if(t&&t.isNode){let{...t}=N().prototype.pointAttribs.apply(this,arguments);return t}return super.pointAttribs.apply(this,arguments)}markerAttribs(t){return t.isNode?super.markerAttribs.apply(this,arguments):{}}}z.defaultOptions=(0,c.merge)(O.defaultOptions,{centeredLinks:!1,equalNodes:!1,dataLabels:{linkTextPath:{attributes:{startOffset:"25%"}}},marker:{fillOpacity:1,lineWidth:0,states:{},symbol:"circle"},offset:"100%",reversed:!1}),(0,c.extend)(z.prototype,{orderNodes:!1}),z.prototype.pointClass=b,m().registerSeriesType("arcdiagram",z);let F=u();return p.default})());
|
|
13
|
+
*/function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts,t._Highcharts.SeriesRegistry,t._Highcharts.Series,t._Highcharts.SVGRenderer,t._Highcharts.SVGElement):"function"==typeof define&&define.amd?define("highcharts/modules/arc-diagram",["highcharts/highcharts"],function(t){return e(t,t.SeriesRegistry,t.Series,t.SVGRenderer,t.SVGElement)}):"object"==typeof exports?exports["highcharts/modules/arc-diagram"]=e(t._Highcharts,t._Highcharts.SeriesRegistry,t._Highcharts.Series,t._Highcharts.SVGRenderer,t._Highcharts.SVGElement):t.Highcharts=e(t.Highcharts,t.Highcharts.SeriesRegistry,t.Highcharts.Series,t.Highcharts.SVGRenderer,t.Highcharts.SVGElement)}("u"<typeof window?this:window,(t,e,o,s,i)=>(()=>{"use strict";var n,r,a,h={28(t){t.exports=i},540(t){t.exports=s},820(t){t.exports=o},512(t){t.exports=e},944(e){e.exports=t}};let l={};function d(t){let e=l[t];if(void 0!==e)return e.exports;let o=l[t]={exports:{}};return h[t](o,o.exports,d),o.exports}d.n=t=>{let e=t&&t.__esModule?()=>t.default:()=>t;return d.d(e,{a:e}),e},d.d=(t,e)=>{if(Array.isArray(e))for(var o=0;o<e.length;){var s=e[o++],i=e[o++];d.o(t,s)?0===i&&o++:0===i?Object.defineProperty(t,s,{enumerable:!0,value:e[o++]}):Object.defineProperty(t,s,{enumerable:!0,get:i})}else for(var s in e)d.o(e,s)&&!d.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},d.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let p={};d.d(p,{default:()=>F});var c=d(944),u=d.n(c),f=d(512),m=d.n(f);let{series:{prototype:g,prototype:{pointClass:{prototype:y}}}}=m();!function(t){function e(){if(!this.hasDataLabels?.()&&this.nodes)for(let t of this.nodes)t.destroyElements({dataLabel:1})}function o(){return this.data=[].concat(this.points||[],this.nodes),g.destroy.apply(this,arguments)}function s(){this.nodes&&(this.nodes.forEach(t=>{t.destroy()}),this.nodes.length=0),g.setData.apply(this,arguments)}function i(t){let e=arguments,o=this.isNode?this.linksTo.concat(this.linksFrom):[this.fromNode,this.toNode];"select"!==t&&o.forEach(t=>{t&&t.series&&(y.setState.apply(t,e),!t.isNode&&(t.fromNode.graphic&&y.setState.apply(t.fromNode,e),t.toNode&&t.toNode.graphic&&y.setState.apply(t.toNode,e)))}),y.setState.apply(this,e)}function n(t,e,o,s){let i=this.series.options.nodes,n=this.series.options.data,r=n?.length||0,a=n?.[this.index];if(y.update.call(this,t,!this.isNode&&e,o,s),this.isNode){let t=(i||[]).reduce((t,e,o)=>this.id===e.id?o:t,-1),s=(0,c.merge)(i&&i[t]||{},n?.[this.index]||{});n&&(a?n[this.index]=a:n.length=r),i?t>=0?i[t]=s:i.push(s):this.series.options.nodes=[s],(e??!0)&&this.series.chart.redraw(o)}}t.compose=function(t,r){let a=t.prototype,h=r.prototype;return a.setNodeState=i,a.setState=i,a.update=n,h.destroy=o,h.setData=s,(0,c.addEvent)(r,"afterUpdate",e),r},t.createNode=function(t){let e=this.pointClass,o=(t,e)=>(0,c.find)(t,t=>t.id===e),s=o(this.nodes,t),i;if(!s){i=this.options.nodes&&o(this.options.nodes,t);let n=new e(this,(0,c.extend)({className:"highcharts-node",isNode:!0,id:t,y:1},i));n.linksTo=[],n.linksFrom=[],n.getSum=function(){let t=0,e=0;return n.linksTo.forEach(e=>{t+=e.weight||0}),n.linksFrom.forEach(t=>{e+=t.weight||0}),Math.max(t,e)},n.offset=function(t,e){let o=0;for(let s=0;s<n[e].length;s++){if(n[e][s]===t)return o;o+=n[e][s].weight}},n.hasShape=function(){let t=0;return n.linksTo.forEach(e=>{e.outgoing&&t++}),!n.linksTo.length||t!==n.linksTo.length},n.index=this.nodes.push(n)-1,s=n}return s.formatPrefix="node",s.name=s.name||s.options.id||"",s.mass=s.options.mass??(s.options.marker&&s.options.marker.radius)??(this.options.marker&&this.options.marker.radius)??4,s},t.destroy=o,t.generatePoints=function(){let t=this.chart,e={};g.generatePoints.call(this),this.nodes||(this.nodes=[]),this.colorCounter=0,this.nodes.forEach(t=>{t.linksFrom.length=0,t.linksTo.length=0,t.level=t.options.level}),this.points.forEach(o=>{(0,c.defined)(o.from)&&(e[o.from]||(e[o.from]=this.createNode(o.from)),e[o.from].linksFrom.push(o),o.fromNode=e[o.from],t.styledMode?o.colorIndex=o.options.colorIndex??e[o.from].colorIndex:o.color=o.options.color||e[o.from].color),(0,c.defined)(o.to)&&(e[o.to]||(e[o.to]=this.createNode(o.to)),e[o.to].linksTo.push(o),o.toNode=e[o.to]),o.name=o.name||o.id},this),this.nodeLookup=e},t.setNodeState=i,t.updateNode=n}(r||(r={}));let x=r,{seriesTypes:{sankey:{prototype:{pointClass:k}}}}=m();class b extends k{isValid(){return!0}}(0,c.extend)(b.prototype,{setState:x.setNodeState});var S=a||(a={});S.compose=function(t,e){return t.sankeyColumn=new L(t,e),t};class L{constructor(t,e){this.points=t,this.series=e}getTranslationFactor(t){let e=this.points,o=e.slice(),s=t.chart,i=t.options.minLinkWidth||0,n,r=0,a,h=(s.plotSizeY||0)-(t.options.borderWidth||0)-(e.length-1)*t.nodePadding;for(;e.length;){for(r=h/e.sankeyColumn.sum(),n=!1,a=e.length;a--;)e[a].getSum()*r<i&&(e.splice(a,1),h=Math.max(0,h-i),n=!0);if(!n)break}for(let t of(e.length=0,o))e.push(t);return r}top(t){let e=this.series,o=e.nodePadding,s=this.points.reduce((s,i)=>(s>0&&(s+=o),s+=Math.max(i.getSum()*t,e.options.minLinkWidth||0)),0);return(0,c.getAlignFactor)(e.options.nodeAlignment||"center")*((e.chart.plotSizeY||0)-s)}left(t){let e=this.series,o=e.chart,s=e.options.equalNodes,i=o.inverted?o.plotHeight:o.plotWidth,n=e.nodePadding,r=this.points.reduce((o,r)=>(o>0&&(o+=n),o+=s?i/r.series.nodes.length-n:Math.max(r.getSum()*t,e.options.minLinkWidth||0)),0);return((o.plotSizeX||0)-Math.round(r))/2}sum(){return this.points.reduce((t,e)=>t+e.getSum(),0)}offset(t,e){let o=this.points,s=this.series,i=s.nodePadding,n=0,r;if(s.is("organization")&&t.hangsFrom)return{absoluteTop:t.hangsFrom.nodeY};for(let a=0;a<o.length;a++){let h=o[a].getSum(),l=Math.max(h*e,s.options.minLinkWidth||0),d=t.options[s.chart.inverted?"offsetHorizontal":"offsetVertical"],p=t.options.offset||0;if(r=h?l+i:0,o[a]===t)return{relativeTop:n+((0,c.defined)(d)?(0,c.relativeLength)(d,l):(0,c.relativeLength)(p,r))};n+=r}}}S.SankeyColumnAdditions=L;let P=a;var v=d(820),N=d.n(v),T=d(540),C=d.n(T),M=d(28),H=d.n(M);let{composed:W,deg2rad:A}=u();n=H(),(0,c.pushUnique)(W,"TextPath")&&((0,c.addEvent)(n,"afterGetBBox",function(t){let e=t.bBox,o=this.element?.querySelector("textPath");if(o){let t=[],{b:s,h:i}=this.renderer.fontMetrics(this.element),n=i-s,r=RegExp('(<tspan>|<tspan(?!\\sclass="highcharts-br")[^>]*>|<\\/tspan>)',"g"),a=o.innerHTML.replace(r,"").split(/<tspan class="highcharts-br"[^>]*>/),h=a.length,l=(t,e)=>{let{x:i,y:r}=e,a=(o.getRotationOfChar(t)-90)*A,h=Math.cos(a),l=Math.sin(a);return[[i-n*h,r-n*l],[i+s*h,r+s*l]]};for(let e=0,s=0;s<h;s++){let i=a[s].length;for(let n=0;n<i;n+=5)try{let i=e+n+s,[r,a]=l(i,o.getStartPositionOfChar(i));0===n?(t.push(a),t.push(r)):(0===s&&t.unshift(a),s===h-1&&t.push(r))}catch{break}e+=i-1;try{let i=e+s,n=o.getEndPositionOfChar(i),[r,a]=l(i,n);t.unshift(a),t.unshift(r)}catch{break}}t.length&&t.push(t[0].slice()),e.polygon=t}return e}),(0,c.addEvent)(n,"beforeAddingDataLabel",function(t){let e=t.labelOptions,o=t.point,s=e[o.formatPrefix+"TextPath"]||e.textPath;s&&!e.useHTML&&(this.setTextPath(o.getDataLabelPath?.(this)||o.graphic,s),o.dataLabelPath&&!s.enabled&&(o.dataLabelPath=o.dataLabelPath.destroy()))}),n.prototype.setTextPath=n.prototype.setTextPath??function(t,e){let o=this.renderer.url,s=this.text||this,i=s.textPath,{attributes:n,enabled:r}=(0,c.merge)({enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},e);if(t=t||i&&i.path,i?.undo(),t&&r){let e=(0,c.addEvent)(s,"afterModifyTree",e=>{if(t&&r){let i=t.attr("id");i||t.attr("id",i=(0,c.uniqueKey)());let r={x:0,y:0};(0,c.defined)(n.dx)&&(r.dx=n.dx,delete n.dx),(0,c.defined)(n.dy)&&(r.dy=n.dy,delete n.dy),s.attr(r),this.attr({transform:""}),this.box&&(this.box=this.box.destroy());let a=e.nodes.slice(0);e.nodes.length=0,e.nodes[0]={tagName:"textPath",attributes:(0,c.extend)(n,{"text-anchor":n.textAnchor,href:`${o}#${i}`}),children:a}}});s.textPath={path:t,undo:e}}else s.attr({dx:0,dy:0}),delete s.textPath;return this.added&&(s.textCache="",this.renderer.buildText(s)),this});let{prototype:{symbols:w}}=C(),{seriesTypes:{column:E,sankey:O}}=m();class z extends O{createNodeColumns(){let t=this,e=t.chart,o=P.compose([],t);return o.sankeyColumn.maxLength=e.inverted?e.plotHeight:e.plotWidth,o.sankeyColumn.getTranslationFactor=t=>{let s=o.slice(),i=this.options.minLinkWidth||0,n,r=0,a,h,l=0,d=1,p=0,c=(e.plotSizeX||0)-(t.options.marker&&t.options.marker.lineWidth||0)-(o.length-1)*t.nodePadding;for(;o.length;){for(r=c/o.sankeyColumn.sum(),n=!1,a=o.length;a--;){h=o[a].getSum()*r*d;let t=Math.min(e.plotHeight,e.plotWidth);h>t?d=Math.min(t/h,d):h<i&&(o.splice(a,1),c-=i,h=i,n=!0),p+=h*(1-d)/2,l=Math.max(l,h)}if(!n)break}return o.length=0,s.forEach(t=>{t.scale=d,o.push(t)}),o.sankeyColumn.maxRadius=l,o.sankeyColumn.scale=d,o.sankeyColumn.additionalSpace=p,r},o.sankeyColumn.offset=function(s,i){let n=s.series.options.equalNodes,r=t.nodePadding,a=Math.min(e.plotWidth,e.plotHeight,(o.sankeyColumn.maxLength||0)/t.nodes.length-r),h=o.sankeyColumn.additionalSpace||0,l;for(let e=0;e<o.length;e++){let d=o[e].getSum()*(o.sankeyColumn.scale||0),p=n?a:Math.max(d*i,t.options.minLinkWidth||0);if(l=d?p+r:0,o[e]===s)return{relativeLeft:h+(0,c.relativeLength)(s.options.offset||0,l)};h+=l}},t.nodes.forEach(function(t){t.column=0,o.push(t)}),[o]}translateLink(t){let e=t.fromNode,o=t.toNode,s=this.chart,i=this.translationFactor,n=t.options,r=this.options,a=n.linkWeight??r.linkWeight??Math.max((t.weight||0)*i*e.scale,this.options.minLinkWidth||0),h=t.series.options.centeredLinks,l=e.nodeY,d=(e,o)=>{let s=(e.offset(t,o)||0)*i;return Math.min(e.nodeX+s,e.nodeX+(e.shapeArgs&&e.shapeArgs.height||0)-a)},p=h?e.nodeX+((e.shapeArgs.height||0)-a)/2:d(e,"linksFrom"),c=h?o.nodeX+((o.shapeArgs.height||0)-a)/2:d(o,"linksTo"),u=l;p>c&&([p,c]=[c,p]),r.reversed&&([p,c]=[c,p],u=(s.plotSizeY||0)-u),t.shapeType="path",t.linkBase=[p,p+a,c,c+a];let f=(c+a-p)/Math.abs(c+a-p)*(r.linkRadius??Math.min(Math.abs(c+a-p)/2,e.nodeY-Math.abs(a)));t.shapeArgs={d:[["M",p,u],["A",(c+a-p)/2,f,0,0,1,c+a,u],["L",c,u],["A",(c-p-a)/2,f-a,0,0,0,p+a,u],["Z"]]},t.dlBox={x:p+(c-p)/2,y:u-f,height:a,width:0},t.tooltipPos=s.inverted?[(s.plotSizeY||0)-t.dlBox.y-a/2,(s.plotSizeX||0)-t.dlBox.x]:[t.dlBox.x,t.dlBox.y+a/2],t.y=t.plotY=1,t.x=t.plotX=1,t.color||(t.color=e.color)}translateNode(t,e){let o=this.translationFactor,s=this.chart,i=s.inverted?s.plotWidth:s.plotHeight,n=this.options,r=Math.min(s.plotWidth,s.plotHeight,i/t.series.nodes.length-this.nodePadding),a=t.getSum()*(e.sankeyColumn.scale||0),h=n.equalNodes?r:Math.max(a*o,this.options.minLinkWidth||0),l=n.marker?.lineWidth||0,d=e.sankeyColumn.offset(t,o),p=(0,c.crisp)((d&&d.absoluteLeft)??(e.sankeyColumn.left(o)||0)+(d&&d.relativeLeft||0),l),u=(0,c.merge)(n.marker,t.options.marker),f=u.symbol,m=u.radius,g=parseInt(n.offset??"100",10)*((s.inverted?s.plotWidth:s.plotHeight)-((0,c.crisp)(this.colDistance*(t.column||0)+(u.lineWidth||0)/2,l)+(e.sankeyColumn.scale||0)*(e.sankeyColumn.maxRadius||0)/2))/100;if(t.sum=a,a){t.nodeX=p,t.nodeY=g;let e=t.options.width||n.width||h,o=t.options.height||n.height||h,i=g;n.reversed&&(i=(s.plotSizeY||0)-g,s.inverted&&(i=(s.plotSizeY||0)-g)),this.mapOptionsToLevel&&(t.dlOptions={...O.getDLOptions({level:this.mapOptionsToLevel[t.level],optionsPoint:t.options}),zIndex:void 0},delete t.dlOptions.zIndex),t.plotX=1,t.plotY=1,t.tooltipPos=s.inverted?[(s.plotSizeY||0)-i-o/2,(s.plotSizeX||0)-p-e/2]:[p+e/2,i+o/2],t.shapeType="path",t.shapeArgs={d:w[f||"circle"](p,i-(m||o)/2,m||e,m||o),width:m||e,height:m||o},t.dlBox={x:p+e/2,y:i,height:0,width:0}}else t.dlOptions={enabled:!1}}drawDataLabels(){if(this.options.dataLabels){let t=this.options.dataLabels.textPath;E.prototype.drawDataLabels.call(this,this.nodes),this.options.dataLabels.textPath=this.options.dataLabels.linkTextPath,E.prototype.drawDataLabels.call(this,this.data),this.options.dataLabels.textPath=t}}pointAttribs(t,e){if(t&&t.isNode){let{...t}=N().prototype.pointAttribs.apply(this,arguments);return t}return super.pointAttribs.apply(this,arguments)}markerAttribs(t){return t.isNode?super.markerAttribs.apply(this,arguments):{}}}z.defaultOptions=(0,c.merge)(O.defaultOptions,{centeredLinks:!1,equalNodes:!1,dataLabels:{linkTextPath:{attributes:{startOffset:"25%"}}},marker:{fillOpacity:1,lineWidth:0,states:{},symbol:"circle"},offset:"100%",reversed:!1}),(0,c.extend)(z.prototype,{orderNodes:!1}),z.prototype.pointClass=b,m().registerSeriesType("arcdiagram",z);let F=u();return p.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.0.2 (2026-08-27)
|
|
4
4
|
* @module modules/arc-diagram
|
|
5
5
|
* @requires highcharts/modules/sankey
|
|
6
6
|
*
|
|
@@ -261,13 +261,10 @@ var NodesComposition;
|
|
|
261
261
|
// For use in formats
|
|
262
262
|
node.name = node.name || node.options.id || '';
|
|
263
263
|
// Mass is used in networkgraph:
|
|
264
|
-
node.mass = (
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
this.options.marker && this.options.marker.radius,
|
|
269
|
-
// Default:
|
|
270
|
-
4);
|
|
264
|
+
node.mass = (node.options.mass ??
|
|
265
|
+
(node.options.marker && node.options.marker.radius) ??
|
|
266
|
+
(this.options.marker && this.options.marker.radius) ??
|
|
267
|
+
4);
|
|
271
268
|
return node;
|
|
272
269
|
}
|
|
273
270
|
NodesComposition.createNode = createNode;
|
|
@@ -310,7 +307,9 @@ var NodesComposition;
|
|
|
310
307
|
point.fromNode = nodeLookup[point.from];
|
|
311
308
|
// Point color defaults to the fromNode's color
|
|
312
309
|
if (chart.styledMode) {
|
|
313
|
-
point.colorIndex =
|
|
310
|
+
point.colorIndex =
|
|
311
|
+
point.options.colorIndex ??
|
|
312
|
+
nodeLookup[point.from].colorIndex;
|
|
314
313
|
}
|
|
315
314
|
else {
|
|
316
315
|
point.color =
|
|
@@ -408,7 +407,7 @@ var NodesComposition;
|
|
|
408
407
|
else {
|
|
409
408
|
this.series.options.nodes = [nodeConfig];
|
|
410
409
|
}
|
|
411
|
-
if (
|
|
410
|
+
if (redraw ?? true) {
|
|
412
411
|
this.series.chart.redraw(animation);
|
|
413
412
|
}
|
|
414
413
|
}
|
|
@@ -1374,9 +1373,11 @@ class ArcDiagramSeries extends SankeySeries {
|
|
|
1374
1373
|
* @internal
|
|
1375
1374
|
*/
|
|
1376
1375
|
translateLink(point) {
|
|
1377
|
-
const series = this, fromNode = point.fromNode, toNode = point.toNode, chart = this.chart, translationFactor = series.translationFactor, pointOptions = point.options, seriesOptions = series.options, linkWeight = (
|
|
1378
|
-
|
|
1379
|
-
|
|
1376
|
+
const series = this, fromNode = point.fromNode, toNode = point.toNode, chart = this.chart, translationFactor = series.translationFactor, pointOptions = point.options, seriesOptions = series.options, linkWeight = (pointOptions.linkWeight ??
|
|
1377
|
+
seriesOptions.linkWeight ??
|
|
1378
|
+
Math.max((point.weight || 0) *
|
|
1379
|
+
translationFactor *
|
|
1380
|
+
fromNode.scale, series.options.minLinkWidth || 0)), centeredLinks = point.series.options.centeredLinks, nodeTop = fromNode.nodeY;
|
|
1380
1381
|
const getX = (node, fromOrTo) => {
|
|
1381
1382
|
const linkLeft = ((node.offset(point, fromOrTo) || 0) *
|
|
1382
1383
|
translationFactor);
|
|
@@ -1405,7 +1406,7 @@ class ArcDiagramSeries extends SankeySeries {
|
|
|
1405
1406
|
toX,
|
|
1406
1407
|
toX + linkWeight
|
|
1407
1408
|
];
|
|
1408
|
-
const linkRadius = ((toX + linkWeight - fromX) / Math.abs(toX + linkWeight - fromX)) * (
|
|
1409
|
+
const linkRadius = ((toX + linkWeight - fromX) / Math.abs(toX + linkWeight - fromX)) * (seriesOptions.linkRadius ?? Math.min(Math.abs(toX + linkWeight - fromX) / 2, fromNode.nodeY - Math.abs(linkWeight)));
|
|
1409
1410
|
point.shapeArgs = {
|
|
1410
1411
|
d: [
|
|
1411
1412
|
['M', fromX, bottom],
|
|
@@ -1462,7 +1463,7 @@ class ArcDiagramSeries extends SankeySeries {
|
|
|
1462
1463
|
const series = this, translationFactor = series.translationFactor, chart = series.chart, maxNodesLength = chart.inverted ?
|
|
1463
1464
|
chart.plotWidth : chart.plotHeight, options = series.options, maxRadius = Math.min(chart.plotWidth, chart.plotHeight, maxNodesLength / node.series.nodes.length - this.nodePadding), sum = node.getSum() * (column.sankeyColumn.scale || 0), equalNodes = options.equalNodes, nodeHeight = equalNodes ?
|
|
1464
1465
|
maxRadius :
|
|
1465
|
-
Math.max(sum * translationFactor, this.options.minLinkWidth || 0), lineWidth = options.marker?.lineWidth || 0, nodeOffset = column.sankeyColumn.offset(node, translationFactor), fromNodeLeft = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.crisp)((
|
|
1466
|
+
Math.max(sum * translationFactor, this.options.minLinkWidth || 0), lineWidth = options.marker?.lineWidth || 0, nodeOffset = column.sankeyColumn.offset(node, translationFactor), fromNodeLeft = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.crisp)(((nodeOffset && nodeOffset.absoluteLeft) ?? ((column.sankeyColumn.left(translationFactor) || 0) +
|
|
1466
1467
|
(nodeOffset && nodeOffset.relativeLeft || 0))), lineWidth), markerOptions = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.merge)(options.marker, node.options.marker), symbol = markerOptions.symbol, markerRadius = markerOptions.radius, top = parseInt(options.offset ?? '100', 10) *
|
|
1467
1468
|
((chart.inverted ?
|
|
1468
1469
|
chart.plotWidth : chart.plotHeight) - ((0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.crisp)(this.colDistance * (node.column || 0) +
|
package/modules/arrow-symbols.js
CHANGED
package/modules/boost-canvas.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
!/**
|
|
2
|
-
* Highcharts JS v13.0.
|
|
2
|
+
* Highcharts JS v13.0.2 (2026-08-27)
|
|
3
3
|
* @module highcharts/modules/boost-canvas
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
*
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
*
|
|
11
11
|
* A commercial license may be required depending on use,
|
|
12
12
|
* see www.highcharts.com/license
|
|
13
|
-
*/function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts,t._Highcharts.Color):"function"==typeof define&&define.amd?define("highcharts/modules/boost-canvas",["highcharts/highcharts"],function(t){return e(t,t.Color)}):"object"==typeof exports?exports["highcharts/modules/boost-canvas"]=e(t._Highcharts,t._Highcharts.Color):t.Highcharts=e(t.Highcharts,t.Highcharts.Color)}("u"<typeof window?this:window,(t,e)=>(()=>{"use strict";let i,s;var r,o={620(t){t.exports=e},944(e){e.exports=t}};let n={};function a(t){let e=n[t];if(void 0!==e)return e.exports;let i=n[t]={exports:{}};return o[t](i,i.exports,a),i.exports}a.n=t=>{let e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},a.d=(t,e)=>{if(Array.isArray(e))for(var i=0;i<e.length;){var s=e[i++],r=e[i++];a.o(t,s)?0===r&&i++:0===r?Object.defineProperty(t,s,{enumerable:!0,value:e[i++]}):Object.defineProperty(t,s,{enumerable:!0,get:r})}else for(var s in e)a.o(e,s)&&!a.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let l={};a.d(l,{default:()=>tm});var h=a(944),u=a.n(h);let d=["area","areaspline","arearange","column","columnrange","bar","line","scatter","heatmap","bubble","treemap"],c={};d.forEach(t=>{c[t]=!0});let{composed:g}=u();function m(t){let e=t.series,i=t.boost=t.boost||{},s=t.options.boost||{},r=(0,h.pick)(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((0,h.pick)(e.min,-1/0)>(0,h.pick)(e.dataMin,-1/0)||(0,h.pick)(e.max,1/0)<(0,h.pick)(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,l=0,u;for(let t of e)0!==(u=t.options).boostThreshold&&!1!==t.visible&&"heatmap"!==t.type&&(++a,c[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)&&++l);return i.forceChartBoost=o&&(n===e.length&&l===n||!!i.markerGroup&&n===a&&l===n||l>5),i.forceChartBoost}function p(t){function e(){t.boost&&t.boost.wgl&&m(t)&&t.boost.wgl.render(t)}(0,h.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&&m(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,h.addEvent)(t,"load",e,{order:-1}),(0,h.addEvent)(t,"redraw",e);let i=-1,s=-1;(0,h.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 f={compose:function(t,e){return e&&(0,h.pushUnique)(g,"Boost.Chart")&&t.prototype.callbacks.push(p),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;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:m};var b=a(620),x=a.n(b);let A={area:"LINES",arearange:"LINES",areaspline:"LINES",column:"LINES",columnrange:"LINES",bar:"LINES",line:"LINE_STRIP",scatter:"POINTS",heatmap:"TRIANGLES",treemap:"TRIANGLES",bubble:"POINTS"},y=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,h.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 r=t.options,o=Number.MAX_VALUE,n=-Number.MAX_VALUE;if(this.gl&&this.shaderProgram&&t.is("bubble")){let a=t.getPxExtremes();o=(0,h.pick)(r.zMin,(0,h.clamp)(e,!1===r.displayNegative?r.zThreshold:-Number.MAX_VALUE,o)),n=(0,h.pick)(r.zMax,Math.max(n,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",a.minPxSize*s),this.setUniform("bubbleMaxSize",a.maxPxSize*s),this.setUniform("bubbleZMin",o),this.setUniform("bubbleZMax",n),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)}}},v=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:P}=f,{parse:T}=x(),{doc:C,win:M}=u(),E={column:!0,columnrange:!0,bar:!0,area:!0,areaspline:!0,arearange:!0},k={scatter:!0,bubble:!0},S=["webgl","experimental-webgl","moz-webgl","webkit-3d"],w={},R=(t,e)=>{if(w[e])return w[e];let i=0===e.indexOf("var(")&&t[e.slice(4,-1).trim()];if(i)return w[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=R(t,i[1]),o=R(t,i[2]),n=new(x())(r).tweenTo(new(x())(o),s);return w[e]=n,n}}return e};class U{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:E[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||M.devicePixelRatio||1}setOptions(t){"pixelRatio"in t||(t.pixelRatio=1),(0,h.merge)(!0,this.settings,t)}allocateBuffer(t){let e=this.vbuffer,i=0;this.settings.usePreallocated&&(t.series.forEach(t=>{t.boosted&&(i+=U.seriesPointCount(t))}),e&&e.allocate(i))}allocateBufferForSingleSeries(t){let e=this.vbuffer,i=0;this.settings.usePreallocated&&(t.boosted&&(i=U.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,r=this.vbuffer,o=t.pointArrayMap&&"low,high"===t.pointArrayMap.join(","),{chart:n,options:a,sorted:l,xAxis:u,yAxis:d}=t,c=!!a.stacking,g=a.data,m=t.xAxis.getExtremes(),p=m.min-(t.xAxis.minPointOffset||0),f=m.max+(t.xAxis.minPointOffset||0),b=t.yAxis.getExtremes(),A=b.min-(t.yAxis.minPointOffset||0),y=b.max+(t.yAxis.minPointOffset||0),v=(t.getColumn("x").length?t.getColumn("x"):void 0)||a.xData||t.getColumn("x",!0),P=(t.getColumn("y").length?t.getColumn("y"):void 0)||a.yData||t.getColumn("y",!0),C=(t.getColumn("z").length?t.getColumn("z"):void 0)||a.zData||t.getColumn("z",!0),M=!v||0===v.length,{colorByPoint:k,connectNulls:S,threshold:w,zoneAxis:U="y",zones:N}=a,L=t.points||!1,_=c?t.data:v||g,z={x:Number.MAX_VALUE,y:0},D={x:-Number.MAX_VALUE,y:0},O=void 0===n.index,G=E[t.type],I=this.getPixelRatio(),B=n.options.colors||[],V=t.chart.plotWidth,X=!1,F=!1,H,j,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,tu=!1,td=0,tc=0;if(a.boostData&&a.boostData.length>0)return;if(a.gapSize&&(tu="value"!==a.gapUnit?a.gapSize*t.closestPointRange:a.gapSize),n.boost){let t=n.renderer.circle(0,0,1).attr({fill:"var(--highcharts-background-color)"}).add(),e=new(x())(getComputedStyle(t.element).getPropertyValue("fill")).get(),i=new(x())(n.palette?.cssVars.dark["--highcharts-background-color"]||"").get();t.destroy(),n.boost.cssVars=n.palette?.cssVars[e===i?"dark":"light"]}let tg=n.boost?.cssVars||{};if(N?.length&&(tl=[],N.forEach((t,e)=>{if("string"==typeof t.color){let i=T(R(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=T("string"==typeof e?R(tg,e):"").rgba,th[0]/=255,th[1]/=255,th[2]/=255}n.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,o,n,a=1,l)=>{tm(l),1!==I&&(!s.useGPUTranslations||e.skipTranslation)&&(t*=I,o*=I,a*=I),s.usePreallocated&&r?(r.push(t,o,+!!n,a),td+=4):(i.push(t),i.push(o),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(),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:a=0,height:l=0}=e.shapeArgs;i=(s=n.styledMode?e.series.colorAttribs(e):s=e.series.pointAttribs(e))["stroke-width"]||0,"string"==typeof s.fill&&(s.fill=R(tg,s.fill)),tr=T(s.fill).rgba,tr[0]/=255,tr[1]/=255,tr[2]/=255,t.is("treemap")&&(i=i||1,"string"==typeof s.stroke&&(s.stroke=R(tg,s.stroke)),j=T(s.stroke).rgba,j[0]/=255,j[1]/=255,j[2]/=255,tx(r,o,a,l,j),i/=2),t.is("heatmap")&&n.inverted&&(r=u.len-r,o=d.len-o,a=-a,l=-l),tx(r+i,o+i,a-2*i,l-2*i,tr)}}),tf();return}for(;J<_.length-1;){if(void 0===(Z=_[++J]))continue;if(O)break;let i=g&&g[J];if(!M){let e;(0,h.isObject)(i,!0)&&i.color&&(e=T(i.color).rgba);let s=t.options.keys?.indexOf("color");Array.isArray(i)&&s&&"string"==typeof i[s]?e=T(i[s]).rgba:k&&(tc%=B.length,e=T(R(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(M?(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=P?.[J],_[J+1]&&(tt=_[J+1]),_[J-1]&&($=_[J-1]),C&&C.length&&(Q=C[J],C[J]>e.zMax&&(e.zMax=C[J]),C[J]<e.zMin&&(e.zMin=C[J]))),!S&&(null===K||null===q)){tb();continue}if(tt&&tt>=p&&tt<=f&&(ti=!0),$&&$>=p&&$<=f&&(ts=!0),o?(M&&(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!=A&&null!=y&&(tn=q>=A&&q<=y),!l&&!tn||(K>f&&D.x<f&&(D.x=K,D.y=q),K<p&&z.x>p&&(z.x=K,z.y=q),null===q&&S))continue;if(null===q||!tn&&_.length>1&&!ti&&!ts){tb();continue}if((l&&(tt>=p||K>=p)&&($<=f||K<=f)||!l&&K>=p&&K<=f)&&(to=!0),to||ti||ts){if(tu&&K-$>tu&&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=u.toPixels(K,!0),q=d.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&&(H=te||0,(!1===te||void 0===te)&&(H=q<0?q:0),(o||c)&&!d.logarithmic||(H=Math.max(w??A,A)),s.useGPUTranslations||(H=d.toPixels(H,!0)),tp(K,H,!1,0,tr)),a.step&&!ta&&tp(K,F,!1,2,tr),tp(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=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)};!W&&!1!==S&&"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:A[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,r=this.vbuffer;w={};let o=this.getPixelRatio();if(!t)return!1;this.width=t.chartWidth*o,this.height=t.chartHeight*o;let n=this.height,a=this.width,l=t.options.colors||[];if(!e||!s||!a||!n)return!1;i.debug.timeRendering&&console.time("gl rendering"),e.canvas.width=a,e.canvas.height=n,s.bind(),e.viewport(0,0,a,n),s.setPMatrix(U.orthoMatrix(a,n)),i.lineWidth>1&&!u().isMS&&e.lineWidth(i.lineWidth),r&&(r.build(this.data,"aVertexPosition",4),r.bind()),s.setInverted(t.inverted),this.series.forEach((a,u)=>{let d=a.series.options,c=d.marker,g=void 0!==d.lineWidth?d.lineWidth:1,m=d.threshold,p=(0,h.isNumber)(m),f=a.series.yAxis.getThreshold(m),b=(0,h.pick)(d.marker?d.marker.enabled:null,!!a.series.xAxis.isRadial||null,a.series.closestPointRangePx>2*((d.marker?d.marker.radius:10)||10)),A=this.textureHandles[c&&c.symbol||a.series.symbol]||this.textureHandles.circle,y,C,M,E=[];if(0!==a.segments.length&&a.segments[0].from!==a.segments[0].to&&(A.isReady&&(e.bindTexture(e.TEXTURE_2D,A.handle),s.setTexture(A.handle)),t.styledMode?a.series.markerGroup===a.series.chart.boost?.markerGroup?(delete a.series.markerGroup,a.series.markerGroup=a.series.plotGroup("markerGroup","markers","visible",1,t.seriesGroup).addClass("highcharts-tracker"),M=a.series.markerGroup.getStyle("fill"),a.series.markerGroup.destroy(),a.series.markerGroup=a.series.chart.boost?.markerGroup):M=a.series.markerGroup?.getStyle("fill"):(M="POINTS"===a.drawMode&&a.series.pointAttribs&&a.series.pointAttribs().fill||a.series.color,d.colorByPoint&&"string"==typeof l[u]&&(M=l[u])),a.series.fillOpacity&&d.fillOpacity&&M&&(M=new(x())(M).setOpacity((0,h.pick)(d.fillOpacity,1)).get()),"string"==typeof M&&(M=R(t.boost?.cssVars||{},M)),E=T(M).rgba,i.useAlpha||(E[3]=1),"add"===d.boostBlending?(e.blendFunc(e.SRC_ALPHA,e.ONE),e.blendEquation(e.FUNC_ADD)):"mult"===d.boostBlending||"multiply"===d.boostBlending?e.blendFunc(e.DST_COLOR,e.ZERO):"darken"===d.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(),a.colorData.length>0?(s.setUniform("hasColor",1),(C=new v(e,s)).build(Array(a.segments[0].from).concat(a.colorData),"aColor",4),C.bind()):(s.setUniform("hasColor",0),e.disableVertexAttribArray(e.getAttribLocation(s.getProgram(),"aColor"))),s.setColor(E),this.setXAxis(a.series.xAxis),this.setYAxis(a.series.yAxis),this.setThreshold(p,f),"POINTS"===a.drawMode&&s.setPointSize(2*(0,h.pick)(d.marker&&d.marker.radius,.5)*o),s.setSkipTranslation(a.skipTranslation),"bubble"===a.series.type&&s.setBubbleUniforms(a.series,a.zMin,a.zMax,o),s.setDrawAsCircle(k[a.series.type]||!1),r)){if(g>0||"LINE_STRIP"!==a.drawMode){let{x:i,y:s,width:l,height:h}=P(t,a.series);for(e.enable(e.SCISSOR_TEST),e.scissor(i*o,n-(s+h)*o,l*o,h*o),y=0;y<a.segments.length;y++)r.render(a.segments[y].from,a.segments[y].to,a.drawMode);e.disable(e.SCISSOR_TEST)}if(a.hasMarkers&&b)for(s.setPointSize(2*(0,h.pick)(d.marker&&d.marker.radius,5)*o),s.setDrawAsCircle(!0),y=0;y<a.segments.length;y++)r.render(a.segments[y].from,a.segments[y].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(U.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<S.length&&(this.gl=t.getContext(S[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 y(s);if(!r)return!1;this.vbuffer=new v(s,r);let o=(t,e)=>{let i={isReady:!1,texture:C.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,h.objectEach)(this.textureHandles,e=>{e.handle&&t.deleteTexture(e.handle)}),t.canvas.width=1,t.canvas.height=1)}}let{setLength:N,splice:L}={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}}},_=class{constructor(t={}){this.isDataTable=!0,this.autoId=!t.id,this.columns={},this.id=t.id||(0,h.uniqueKey)(),this.rowCount=0,this.versionTag=(0,h.uniqueKey)();let e=0;(0,h.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,h.objectEach)(this.columns,(e,i)=>{e.length!==t&&(this.columns[i]=N(e,t))})}deleteRows(t,e=1){if(e>0&&t<this.rowCount){let i=0;(0,h.objectEach)(this.columns,(s,r)=>{this.columns[r]=L(s,t,e).array,i=s.length}),this.rowCount=i}(0,h.fireEvent)(this,"afterDeleteRows",{rowIndex:t,rowCount:e}),this.versionTag=(0,h.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,h.objectEach)(t,(t,e)=>{this.columns[e]=t.slice(),s=t.length}),this.applyRowCount(s),i?.silent||((0,h.fireEvent)(this,"afterSetColumns"),this.versionTag=(0,h.uniqueKey)())}setRow(t,e=this.rowCount,i,s){var r;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++)o[r=a[t]]||(o[r]=Array(this.rowCount));(0,h.objectEach)(o,(s,r)=>{s&&(i?s=L(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,h.fireEvent)(this,"afterSetRows",{rowIndex:e}),this.versionTag=(0,h.uniqueKey)())}getModified(){return this.modified||this}},{getBoostClipRect:z,isChartSeriesBoosting:D}=f,{getOptions:O}=u(),{composed:G,doc:I,noop:B,win:V}=u();function X(t,e){let i=e.boost;t&&i&&i.target&&i.canvas&&!D(e.chart)&&t.allocateBufferForSingleSeries(e)}function F(t){return(0,h.pick)(t&&t.options&&t.options.boost&&t.options.boost.enabled,!0)}function H(t,e){let i=t.constructor,r=t.seriesGroup||e.group,o=t.chartWidth,n=t.chartHeight,a=t,l="u">typeof SVGForeignObjectElement,u=!1;D(t)?a=t:(a=e,u=!!(e.options.events?.click||e.options.point?.events?.click));let d=a.boost=a.boost||{};if(l=!1,s||(s=I.createElement("canvas")),!d.target&&(d.canvas=s,t.renderer.forExport||!l?(a.renderTarget=d.target=t.renderer.image("",0,0,o,n).addClass("highcharts-boost-canvas").add(r),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(r),a.renderTarget=d.target=I.createElement("canvas"),d.targetCtx=d.target.getContext("2d"),d.targetFo.element.appendChild(d.target),d.clear=function(){d.target.width=d.canvas.width,d.target.height=d.canvas.height},d.copy=function(){d.target.width=d.canvas.width,d.target.height=d.canvas.height,d.targetCtx.drawImage(d.canvas,0,0)}),d.resize=function(){o=t.chartWidth,n=t.chartHeight,(d.targetFo||d.target).attr({x:0,y:0,width:o,height:n}).css({pointerEvents:u?void 0:"none",mixedBlendMode:"normal",opacity:1}).addClass(u?"highcharts-tracker":""),a instanceof i&&a.boost?.markerGroup?.translate(t.plotLeft,t.plotTop)},d.clipRect=t.renderer.clipRect(),(d.targetFo||d.target).attr({zIndex:e.options.zIndex}),a instanceof i&&(a.boost.markerGroup=a.renderer.g().add(r).translate(e.xAxis.pos,e.yAxis.pos))),d.canvas.width=o,d.canvas.height=n,d.clipRect){let e=z(t,a);d.clipRect.attr(e),t.navigator||e.width!==t.clipBox.width||e.height!==t.clipBox.height?(d.targetFo||d.target).clip(d.clipRect):r?.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 U(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,h.error)("[highcharts boost] - unable to init WebGL renderer"),d.wgl.setOptions(t.options.boost||{}),a instanceof i&&d.wgl.allocateBuffer(t)),d.wgl.setSize(o,n),d.wgl}function j(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,h.destroyObjectProperties)(e,void 0,!0)}function Y(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?Y(t,e,i,s,r,o):V.requestAnimationFrame?V.requestAnimationFrame(function(){Y(t,e,i,s,r)}):setTimeout(Y,0,t,e,i,s,r):i&&i())}function W(t,e){let i=t.options,s=(0,h.pick)(i.boostThreshold,Number.MAX_VALUE);if(0===s)return!1;let r=t.dataTable.getModified().rowCount,o=t.xAxis&&t.xAxis.options,n=t.yAxis&&t.yAxis.options,a=t.colorAxis&&t.colorAxis.options;return r>=s&&(0,h.isNumber)(n?.min)&&(0,h.isNumber)(n?.max)&&(!e||(0,h.isNumber)(o?.min)&&(0,h.isNumber)(o?.max))&&(!a||(0,h.isNumber)(a.min)&&(0,h.isNumber)(a.max))}let K=(t,e)=>{let{options:i,forceCrop:s,chart:r}=t,o=(0,h.pick)(i.boostThreshold,Number.MAX_VALUE);return!s&&0!==o&&(D(r)||(e?.length??0)>=o)};function q(){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 Z(){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 Q(t){let e=t.boost;e&&e.canvas&&e.target&&e.wgl&&!D(t.chart)&&e.wgl.render(t.chart)}function J(t,e){let i=t.options,s=t.xAxis,r=t.pointClass;if(e instanceof r)return e;let o=i.data,n=t.is("scatter"),a=(n&&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,l=t.getColumn("y",!0)||i.yData||!1,u=e.i,d=o?.[u]?.color,c=new r(t,n&&a&&l?[a[u],l[u]]:((0,h.isArray)(o)?o:[])[u],a?a[u]:void 0);if(n&&i?.keys?.length){let t=i.keys;for(let e=t.length-1;e>-1;e--)c[t[e]]=o[u][e]}return c.category=(0,h.pick)(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 $(t){let{options:e,xAxis:i,yAxis:s}=this;if(!this.isDirty&&!i.isDirty&&!s.isDirty&&!t)return!1;this.yAxis.setTickInterval();let r=e.boostThreshold||0,o=e.cropThreshold,n=this.getColumn("x"),a=i.getExtremes(),l=a.max??Number.MAX_VALUE,u=a.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,h.isNumber)(s.options.min)?s.options.min:-Number.MAX_VALUE),f=s.userMax??((0,h.isNumber)(s.options.max)?s.options.max:Number.MAX_VALUE);if(!this.boosted&&i.old&&s.old&&u>=(i.old.min??-Number.MAX_VALUE)&&l<=(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:n,y:d}),!0;let b=this.dataTable.rowCount;if(!r||b<r||o&&!this.forceCrop&&!this.getExtremesFromAll&&!e.getExtremesFromAll&&b<o)return this.dataTable.getModified().setColumns({x:n,y:d}),!0;let x=[],A=[],y=[],v=!((0,h.isNumber)(a.max)||(0,h.isNumber)(a.min)),P=!((0,h.isNumber)(c.max)||(0,h.isNumber)(c.min)),T=!1,C,M=n[0],E=n[0],k,S=d?.[0],w=d?.[0];for(let t=0,e=n.length;t<e;++t)C=n[t],k=d?.[t],C>=u&&C<=l&&k>=p&&k<=f?(x.push(C),A.push(k),y.push(t),v&&(M=Math.max(M,C),E=Math.min(E,C)),P&&(S=Math.max(S,k),w=Math.min(w,k))):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(S,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 _,this.hasProcessedDataTable=!0),this.dataTable.getModified().setColumns({x:x,y:A}),!0}function tt(){let t=this.options||{},e=this.chart,s=e.boost,r=this.boost,o=this.xAxis,n=this.yAxis,a=t.xData||this.getColumn("x",!0),l=t.yData||this.getColumn("y",!0),u=this.getColumn("low",!0),d=this.getColumn("high",!0),c=t.data,g=o.getExtremes(),m=g.min-(o.minPointOffset||0),p=g.max+(o.minPointOffset||0),f=n.getExtremes(),b=f.min-(n.minPointOffset||0),x=f.max+(n.minPointOffset||0),A={},y=!!this.sampling,v=t.enableMouseTracking,P=t.threshold,T=this.pointArrayMap&&"low,high"===this.pointArrayMap.join(","),C=!!t.stacking,M=this.cropStart||0,E=this.requireSorting,k=!a,S="x"===t.findNearestPointBy,w=(this.getColumn("x").length?this.getColumn("x"):void 0)||this.options.xData||this.getColumn("x",!0),R=(0,h.pick)(t.lineWidth,1),U=t.nullInteraction&&b,N=e.tooltip,L=!1,_,z=n.getThreshold(P),O,G,I,V;if(!this.boosted||(this.points?.forEach(t=>{t?.destroyElements?.()}),this.points=[],N&&!N.isHidden?(e.hoverPoint?.series===this||e.hoverPoints?.some(t=>t.series===this))&&(e.hoverPoint=e.hoverPoints=void 0,N.hide(0)):e.hoverPoints&&(e.hoverPoints=e.hoverPoints.filter(t=>t.series!==this)),o.isPanning||n.isPanning)||(L=H(e,this),e.boosted=!0,!this.visible))return;(this.points||this.graph)&&j(this),D(e)?(this.markerGroup&&this.markerGroup!==s?.markerGroup&&this.markerGroup.destroy(),this.markerGroup=s?.markerGroup,r&&r.target&&(this.renderTarget=r.target=r.target.destroy())):(this.markerGroup===s?.markerGroup&&(this.markerGroup=void 0),this.markerGroup=this.plotGroup("markerGroup","markers","visible",1,e.seriesGroup).addClass("highcharts-tracker"));let F=this.points=[],W=(t,s,r,a)=>{let l=!!w&&w[M+r],h=t=>{e.inverted&&(t=o.len-t,s=n.len-s),F.push({destroy:B,x:l,clientX:t,plotX:t,plotY:s,i:M+r,percentage:a})};t=Math.ceil(t),i=S?t:t+","+s,v&&(A[i]?l===w[w.length-1]&&(F.length--,h(t)):(A[i]=!0,h(t)))};this.buildKDTree=B,(0,h.fireEvent)(this,"renderCanvas"),s&&R>1&&this.is("line")&&(s.lineWidthFilter?.remove(),s.lineWidthFilter=e.renderer.definition({tagName:"filter",children:[{tagName:"feMorphology",attributes:{operator:"dilate",radius:.25*R}}],attributes:{id:"linewidth"}}),(r?.target||s.target)?.attr({filter:"url(#linewidth)"})),L&&(X(L,this),L.pushSeries(this),Q(this));let K=L.settings,q=(0,h.isNumber)(K.chunkSize)&&K.chunkSize>0?K.chunkSize:3e3,Z=()=>{(0,h.fireEvent)(this,"renderedCanvas"),delete this.buildKDTree,this.options&&this.buildKDTree(),K.debug.timeKDTree&&console.timeEnd("kd tree building")};e.renderer.forExport||(K.debug.timeKDTree&&console.time("kd tree building"),Y(C?this.data.slice(M):a||c,function(t,i){let s=void 0===e.index,r,a,c,g,f,A=!1,v=!0;return!(0,h.defined)(t)||(!s&&(k?(r=t[0],a=t[1]):(r=t,a=l[i]??U??null),T?(k&&(a=t.slice(1,3)),A=u[i],a=d[i]):C&&(r=t.x,A=(a=t.stackY)-t.y,f=t.percentage),E||(v=(a||0)>=b&&a<=x),null!==a&&r>=m&&r<=p&&v&&(c=o.toPixels(r,!0),y?((void 0===I||c===_)&&(T||(A=a),(void 0===V||a>G)&&(G=a,V=i),(void 0===I||A<O)&&(O=A,I=i)),S&&c===_||(void 0!==I&&(g=n.toPixels(G,!0),z=n.toPixels(O,!0),W(c,g,V,f),z!==g&&W(c,z,I,f)),I=V=void 0,_=c)):W(c,g=Math.ceil(n.toPixels(a,!0)),i,f))),!s)},Z,q))}function te(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=H(this.chart,this);i&&(X(i,this),i.pushSeries(this)),Q(this)}function ti(t){if(this.boosted){if(W(this,!0))return{};if(this.xAxis?.isPanning||this.yAxis?.isPanning)return this}return t.apply(this,[].slice.call(arguments,1))}function ts(t){let e=this.options.data;if(F(this.chart)&&c[this.type]){let s=this.is("scatter")&&!this.is("bubble")&&!this.is("treemap")&&!this.is("heatmap");if(!K(this,e)||s||this.is("treemap")||this.options.stacking||!W(this,!0)){if(this.boosted&&(this.xAxis?.isPanning||this.yAxis?.isPanning))return;s&&"treegrid"!==this.yAxis.type?$.call(this,arguments[1]):t.apply(this,[].slice.call(arguments,1)),e=this.getColumn("x",!0)}if(this.boosted=K(this,e),this.boosted){let t;this.options.data?.length&&(t=this.getFirstValidPoint(this.options.data),(0,h.isNumber)(t)||(0,h.isArray)(t)||this.is("treemap")||(0,h.error)(12,!1,this.chart));var i=this;i.boost=i.boost||{getPoint:t=>J(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 tr(t){let e=t.apply(this,[].slice.call(arguments,1));return this.boost&&e?this.boost.getPoint(e):e}let to={compose:function(t,e,i,s){if((0,h.pushUnique)(G,"Boost.Series")){let r=O().plotOptions,o=t.prototype;if((0,h.addEvent)(t,"destroy",q),(0,h.addEvent)(t,"hide",Z),s&&(o.renderCanvas=tt),(0,h.wrap)(o,"getExtremes",ti),(0,h.wrap)(o,"processData",ts),(0,h.wrap)(o,"searchPoint",tr),["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&&F(this.chart)&&"heatmap"!==this.type&&"treemap"!==this.type&&c[this.type]&&0!==this.options.boostThreshold?"render"===i&&this.renderCanvas&&this.renderCanvas():t.call(this)}if((0,h.wrap)(t,i,s),"translate"===i)for(let t of["column","arearange","columnrange","heatmap","treemap"])e[t]&&(0,h.wrap)(e[t].prototype,i,s)})(o,e,t)),(0,h.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))}),d.forEach(t=>{let i=r[t];i&&(i.boostThreshold=5e3,i.boostData=[],e[t].prototype.fillOpacity=!0)}),s){let{area:t,areaspline:i,bubble:s,column:r,heatmap:o,scatter:n,treemap:a}=e;if(t&&(0,h.extend)(t.prototype,{fill:!0,fillOpacity:!0,sampling:!0}),i&&(0,h.extend)(i.prototype,{fill:!0,fillOpacity:!0,sampling:!0}),s){let t=s.prototype;delete t.buildKDTree,(0,h.wrap)(t,"markerAttribs",function(t){return!this.boosted&&t.apply(this,[].slice.call(arguments,1))})}r&&(0,h.extend)(r.prototype,{fill:!0,sampling:!0}),n&&(n.prototype.fill=!0),[o,a].forEach(t=>{t&&(0,h.wrap)(t.prototype,"drawPoints",te)})}}return t},destroyGraphics:j,eachAsync:Y,getPoint:J},{getBoostClipRect:tn,isChartSeriesBoosting:ta}=f,{destroyGraphics:tl}=to,{parse:th}=x(),{doc:tu,noop:td}=u();!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 r(t,e,i,s,r){t.moveTo(e,i),t.arc(e,i,this.radii&&this.radii[r],0,2*Math.PI,!1)}function o(t,e,i,s){t.rect(e-1,i,1,s-i)}function n(){this.boost&&this.boost.copy&&this.boost.copy()}function a(){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 l(){ta(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=ta(e)?e:this,r=s===e?e.seriesGroup:e.seriesGroup||this.group,o=e.chartWidth,n=e.chartHeight,a=function(t,e,i,s,r,o,n){t.call(this,i,e,s,r,o,n)},l=s.boost=s.boost||{};return t=l.targetCtx,l.canvas||(l.canvas=tu.createElement("canvas"),l.target=e.renderer.image("",0,0,o,n).addClass("highcharts-boost-canvas").add(r),t=l.targetCtx=l.canvas.getContext("2d"),e.inverted&&["moveTo","lineTo","rect","arc"].forEach(e=>{(0,h.wrap)(t,e,a)}),l.copy=function(){l.target.attr({href:l.canvas.toDataURL("image/png")})},l.clear=function(){t.clearRect(0,0,l.canvas.width,l.canvas.height),s===l.target&&l.target.attr({href:i})},l.clipRect=e.renderer.clipRect(),l.target.clip(l.clipRect)),l.canvas.width!==o&&(l.canvas.width=o),l.canvas.height!==n&&(l.canvas.height=n),l.target.attr({x:0,y:0,width:o,height:n,style:"pointer-events: none",href:i}),l.clipRect&&l.clipRect.attr(tn(e,s)),t}function c(){let t=this,s=t.options,r=t.chart,o=t.xAxis,n=t.yAxis,a=r.options.boost||{},l={timeRendering:a.timeRendering||!1,timeSeriesProcessing:a.timeSeriesProcessing||!1,timeSetup:a.timeSetup||!1},u=t.getColumn("x",!0),d=t.getColumn("y",!0),c=s.data||[],g=o.getExtremes(),m=g.min,p=g.max,f=n.getExtremes(),b=f.min,A=f.max,y={},v=!!t.sampling,P=s.marker&&s.marker.radius,T=t.cvsStrokeBatch||1e3,C=s.enableMouseTracking,M=s.threshold,E=(0,h.isNumber)(M),k=n.getThreshold(M),S=t.fill,w=t.pointArrayMap&&"low,high"===t.pointArrayMap.join(","),R=!!s.stacking,U=t.cropStart||0,N=r.options.loading,L=t.requireSorting,_=s.connectNulls,z=!u,D=R?t.data:u||c,O=t.fillOpacity?x().parse(t.color).setOpacity((0,h.pick)(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)&&tl(t),t.plotGroup("group","series",t.visible?"visible":"hidden",s.zIndex,r.seriesGroup),t.markerGroup=t.group,(0,h.addEvent)(t,"destroy",function(){t.markerGroup=null});let F=this.points=[],H=this.getContext();if(t.buildKDTree=td,I.clear&&I.clear(),!t.visible)return;c.length>99999&&(r.options.loading=(0,h.merge)(N,{labelStyle:{backgroundColor:th("var(--highcharts-background-color)").setOpacity(.75).get(),padding:"1em",borderRadius:"0.5em"},style:{backgroundColor:"none",opacity:1}}),(0,h.internalClearTimeout)(e),r.showLoading("Drawing..."),r.options.loading=N),l.timeRendering&&console.time("canvas rendering");let j=0,Y,W,K=k,q,Z,Q,J,$,tt,te=function(){S?(H.fillStyle=O,H.fill()):(H.strokeStyle=t.color,H.lineWidth=s.lineWidth,H.stroke())},ti=function(e,i,s,o){0===j&&(H.beginPath(),V&&(H.lineJoin="round")),r.scroller&&"highcharts-navigator-series"===t.options.className?(i+=r.scroller.top,s&&(s+=r.scroller.top)):i+=r.plotTop,e+=r.plotLeft,q?H.moveTo(e,i):B?B(H,e,i,s,W):V?V(H,e,i):X&&X.call(t,H,e,i,P,o),(j+=1)===T&&(te(),j=0),W={clientX:e,plotY:i,yBottom:s}},ts=(this.getColumn("x").length?this.getColumn("x"):void 0)||this.options.xData||!!this.getColumn("x",!0).length&&this.getColumn("x",!0),tr=function(t,e,i){tt=G?t:t+","+e,C&&!y[tt]&&(y[tt]=!0,r.inverted&&(t=o.len-t,e=n.len-e),F.push({x:!!ts&&ts[U+i],clientX:t,plotX:t,plotY:e,i:U+i}))};to.eachAsync(D,(e,i)=>{let s=void 0===r.index,a,l,h,u,c,g,f=!1,x=!1,y=NaN,P=NaN,T=!0;return!s&&(z?(a=e[0],l=e[1],D[i+1]&&(y=D[i+1][0]),D[i-1]&&(P=D[i-1][0])):(a=e,l=d[i],D[i+1]&&(y=D[i+1]),D[i-1]&&(P=D[i-1])),y&&y>=m&&y<=p&&(f=!0),P&&P>=m&&P<=p&&(x=!0),w?(z&&(l=e.slice(1,3)),g=l[0],l=l[1]):R&&(a=e.x,g=(l=e.stackY)-e.y),c=null===l,L||(T=l>=b&&l<=A),!c&&(a>=m&&a<=p&&T||f||x)&&(h=Math.round(o.toPixels(a,!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&&(u=n.toPixels(Q,!0),K=n.toPixels(Z,!0),ti(h,E?Math.min(u,k):u,E?Math.max(K,k):K,i),tr(h,u,$),K!==u&&tr(h,K,J)),J=$=void 0,Y=h)):(ti(h,u=Math.round(n.toPixels(l,!0)),K,i),tr(h,u,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=r.loadingDiv,s=r.loadingShown;te(),t.canvasToSVG(),l.timeRendering&&console.timeEnd("canvas rendering"),(0,h.fireEvent)(t,"renderedCanvas"),s&&(i.style.transition="opacity 250ms",i.opacity=0,r.loadingShown=!1,e=setTimeout(function(){i.parentNode&&i.parentNode.removeChild(i),r.loadingDiv=r.loadingSpan=null},250)),delete t.buildKDTree,t.buildKDTree()},r.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 m(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 f=e.prototype;if(!f.renderCanvas){let{area:e,bubble:b,column:x,heatmap:A,scatter:y}=i;if(t.prototype.callbacks.push(t=>{(0,h.addEvent)(t,"predraw",a),(0,h.addEvent)(t,"render",n)}),f.canvasToSVG=l,f.cvsLineTo=u,f.getContext=d,f.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=r,t.cvsStrokeBatch=1}if(x){let t=x.prototype;t.cvsDrawPoint=o,t.fill=!0,t.sampling=!0}if(A){let t=A.prototype;(0,h.wrap)(t,"drawPoints",p)}if(y){let t=y.prototype;t.cvsMarkerCircle=g,t.cvsMarkerSquare=m,t.fill=!0}}}}(r||(r={}));let tc=r,tg=u();tg.initCanvasBoost=function(){tc.compose(tg.Chart,tg.Series,tg.seriesTypes)};let tm=u();return l.default})());
|
|
13
|
+
*/function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts,t._Highcharts.Color):"function"==typeof define&&define.amd?define("highcharts/modules/boost-canvas",["highcharts/highcharts"],function(t){return e(t,t.Color)}):"object"==typeof exports?exports["highcharts/modules/boost-canvas"]=e(t._Highcharts,t._Highcharts.Color):t.Highcharts=e(t.Highcharts,t.Highcharts.Color)}("u"<typeof window?this:window,(t,e)=>(()=>{"use strict";let i,s;var r,o={620(t){t.exports=e},944(e){e.exports=t}};let n={};function a(t){let e=n[t];if(void 0!==e)return e.exports;let i=n[t]={exports:{}};return o[t](i,i.exports,a),i.exports}a.n=t=>{let e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},a.d=(t,e)=>{if(Array.isArray(e))for(var i=0;i<e.length;){var s=e[i++],r=e[i++];a.o(t,s)?0===r&&i++:0===r?Object.defineProperty(t,s,{enumerable:!0,value:e[i++]}):Object.defineProperty(t,s,{enumerable:!0,get:r})}else for(var s in e)a.o(e,s)&&!a.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let l={};a.d(l,{default:()=>tm});var h=a(944),u=a.n(h);let d=["area","areaspline","arearange","column","columnrange","bar","line","scatter","heatmap","bubble","treemap"],c={};d.forEach(t=>{c[t]=!0});let{composed:g}=u();function m(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,l=0,h;for(let t of e)0!==(h=t.options).boostThreshold&&!1!==t.visible&&"heatmap"!==t.type&&(++a,c[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),h.data||[],t.points)>=(h.boostThreshold||Number.MAX_VALUE)&&++l);return i.forceChartBoost=o&&(n===e.length&&l===n||!!i.markerGroup&&n===a&&l===n||l>5),i.forceChartBoost}function f(t){function e(){t.boost&&t.boost.wgl&&m(t)&&t.boost.wgl.render(t)}(0,h.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&&m(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,h.addEvent)(t,"load",e,{order:-1}),(0,h.addEvent)(t,"redraw",e);let i=-1,s=-1;(0,h.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 p={compose:function(t,e){return e&&(0,h.pushUnique)(g,"Boost.Chart")&&t.prototype.callbacks.push(f),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:m};var b=a(620),x=a.n(b);let A={area:"LINES",arearange:"LINES",areaspline:"LINES",column:"LINES",columnrange:"LINES",bar:"LINES",line:"LINE_STRIP",scatter:"POINTS",heatmap:"TRIANGLES",treemap:"TRIANGLES",bubble:"POINTS"},y=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,h.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 r=t.options,o=Number.MAX_VALUE,n=-Number.MAX_VALUE;if(this.gl&&this.shaderProgram&&t.is("bubble")){let a=t.getPxExtremes();o=r.zMin??(0,h.clamp)(e,!1===r.displayNegative?r.zThreshold:-Number.MAX_VALUE,o),n=r.zMax??Math.max(n,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",a.minPxSize*s),this.setUniform("bubbleMaxSize",a.maxPxSize*s),this.setUniform("bubbleZMin",o),this.setUniform("bubbleZMax",n),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)}}},v=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:P}=p,{parse:T}=x(),{doc:C,win:M}=u(),E={column:!0,columnrange:!0,bar:!0,area:!0,areaspline:!0,arearange:!0},S={scatter:!0,bubble:!0},k=["webgl","experimental-webgl","moz-webgl","webkit-3d"],w={},R=(t,e)=>{if(w[e])return w[e];let i=0===e.indexOf("var(")&&t[e.slice(4,-1).trim()];if(i)return w[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=R(t,i[1]),o=R(t,i[2]),n=new(x())(r).tweenTo(new(x())(o),s);return w[e]=n,n}}return e};class U{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:E[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||M.devicePixelRatio||1}setOptions(t){"pixelRatio"in t||(t.pixelRatio=1),(0,h.merge)(!0,this.settings,t)}allocateBuffer(t){let e=this.vbuffer,i=0;this.settings.usePreallocated&&(t.series.forEach(t=>{t.boosted&&(i+=U.seriesPointCount(t))}),e&&e.allocate(i))}allocateBufferForSingleSeries(t){let e=this.vbuffer,i=0;this.settings.usePreallocated&&(t.boosted&&(i=U.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,r=this.vbuffer,o=t.pointArrayMap&&"low,high"===t.pointArrayMap.join(","),{chart:n,options:a,sorted:l,xAxis:u,yAxis:d}=t,c=!!a.stacking,g=a.data,m=t.xAxis.getExtremes(),f=m.min-(t.xAxis.minPointOffset||0),p=m.max+(t.xAxis.minPointOffset||0),b=t.yAxis.getExtremes(),A=b.min-(t.yAxis.minPointOffset||0),y=b.max+(t.yAxis.minPointOffset||0),v=(t.getColumn("x").length?t.getColumn("x"):void 0)||a.xData||t.getColumn("x",!0),P=(t.getColumn("y").length?t.getColumn("y"):void 0)||a.yData||t.getColumn("y",!0),C=(t.getColumn("z").length?t.getColumn("z"):void 0)||a.zData||t.getColumn("z",!0),M=!v||0===v.length,{colorByPoint:S,connectNulls:k,threshold:w,zoneAxis:U="y",zones:N}=a,L=t.points||!1,_=c?t.data:v||g,z={x:Number.MAX_VALUE,y:0},D={x:-Number.MAX_VALUE,y:0},O=void 0===n.index,G=E[t.type],I=this.getPixelRatio(),B=n.options.colors||[],V=t.chart.plotWidth,X=!1,F=!1,H,j,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,tu=!1,td=0,tc=0;if(a.boostData&&a.boostData.length>0)return;if(a.gapSize&&(tu="value"!==a.gapUnit?a.gapSize*t.closestPointRange:a.gapSize),n.boost){let t=n.renderer.circle(0,0,1).attr({fill:"var(--highcharts-background-color)"}).add(),e=new(x())(getComputedStyle(t.element).getPropertyValue("fill")).get(),i=new(x())(n.palette?.cssVars.dark["--highcharts-background-color"]||"").get();t.destroy(),n.boost.cssVars=n.palette?.cssVars[e===i?"dark":"light"]}let tg=n.boost?.cssVars||{};if(N?.length&&(tl=[],N.forEach((t,e)=>{if("string"==typeof t.color){let i=T(R(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=T("string"==typeof e?R(tg,e):"").rgba,th[0]/=255,th[1]/=255,th[2]/=255}n.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,o,n,a=1,l)=>{tm(l),1!==I&&(!s.useGPUTranslations||e.skipTranslation)&&(t*=I,o*=I,a*=I),s.usePreallocated&&r?(r.push(t,o,+!!n,a),td+=4):(i.push(t),i.push(o),i.push(n?I:0),i.push(a))},tp=()=>{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)||(tp(),e.segments.push({from:i.length||td}))},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:a=0,height:l=0}=e.shapeArgs;i=(s=n.styledMode?e.series.colorAttribs(e):s=e.series.pointAttribs(e))["stroke-width"]||0,"string"==typeof s.fill&&(s.fill=R(tg,s.fill)),tr=T(s.fill).rgba,tr[0]/=255,tr[1]/=255,tr[2]/=255,t.is("treemap")&&(i=i||1,"string"==typeof s.stroke&&(s.stroke=R(tg,s.stroke)),j=T(s.stroke).rgba,j[0]/=255,j[1]/=255,j[2]/=255,tx(r,o,a,l,j),i/=2),t.is("heatmap")&&n.inverted&&(r=u.len-r,o=d.len-o,a=-a,l=-l),tx(r+i,o+i,a-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(!M){let e;(0,h.isObject)(i,!0)&&i.color&&(e=T(i.color).rgba);let s=t.options.keys?.indexOf("color");Array.isArray(i)&&s&&"string"==typeof i[s]?e=T(i[s]).rgba:S&&(tc%=B.length,e=T(R(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(M?(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=P?.[J],_[J+1]&&(tt=_[J+1]),_[J-1]&&($=_[J-1]),C&&C.length&&(Q=C[J],C[J]>e.zMax&&(e.zMax=C[J]),C[J]<e.zMin&&(e.zMin=C[J]))),!k&&(null===K||null===q)){tb();continue}if(tt&&tt>=f&&tt<=p&&(ti=!0),$&&$>=f&&$<=p&&(ts=!0),o?(M&&(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!=A&&null!=y&&(tn=q>=A&&q<=y),!l&&!tn||(K>p&&D.x<p&&(D.x=K,D.y=q),K<f&&z.x>f&&(z.x=K,z.y=q),null===q&&k))continue;if(null===q||!tn&&_.length>1&&!ti&&!ts){tb();continue}if((l&&(tt>=f||K>=f)&&($<=p||K<=p)||!l&&K>=f&&K<=p)&&(to=!0),to||ti||ts){if(tu&&K-$>tu&&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=u.toPixels(K,!0),q=d.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&&(H=te||0,(!1===te||void 0===te)&&(H=q<0?q:0),(o||c)&&!d.logarithmic||(H=Math.max(w??A,A)),s.useGPUTranslations||(H=d.toPixels(H,!0)),tf(K,H,!1,0,tr)),a.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=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}tf(t.x,t.y,0,2)};!W&&!1!==k&&"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:A[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,r=this.vbuffer;w={};let o=this.getPixelRatio();if(!t)return!1;this.width=t.chartWidth*o,this.height=t.chartHeight*o;let n=this.height,a=this.width,l=t.options.colors||[];if(!e||!s||!a||!n)return!1;i.debug.timeRendering&&console.time("gl rendering"),e.canvas.width=a,e.canvas.height=n,s.bind(),e.viewport(0,0,a,n),s.setPMatrix(U.orthoMatrix(a,n)),i.lineWidth>1&&!u().isMS&&e.lineWidth(i.lineWidth),r&&(r.build(this.data,"aVertexPosition",4),r.bind()),s.setInverted(t.inverted),this.series.forEach((a,u)=>{let d=a.series.options,c=d.marker,g=void 0!==d.lineWidth?d.lineWidth:1,m=d.threshold,f=(0,h.isNumber)(m),p=a.series.yAxis.getThreshold(m),b=(d.marker?d.marker.enabled:null)??(!!a.series.xAxis.isRadial||null)??a.series.closestPointRangePx>2*((d.marker?d.marker.radius:10)||10),A=this.textureHandles[c&&c.symbol||a.series.symbol]||this.textureHandles.circle,y,C,M,E=[];if(0!==a.segments.length&&a.segments[0].from!==a.segments[0].to&&(A.isReady&&(e.bindTexture(e.TEXTURE_2D,A.handle),s.setTexture(A.handle)),t.styledMode?a.series.markerGroup===a.series.chart.boost?.markerGroup?(delete a.series.markerGroup,a.series.markerGroup=a.series.plotGroup("markerGroup","markers","visible",1,t.seriesGroup).addClass("highcharts-tracker"),M=a.series.markerGroup.getStyle("fill"),a.series.markerGroup.destroy(),a.series.markerGroup=a.series.chart.boost?.markerGroup):M=a.series.markerGroup?.getStyle("fill"):(M="POINTS"===a.drawMode&&a.series.pointAttribs&&a.series.pointAttribs().fill||a.series.color,d.colorByPoint&&"string"==typeof l[u]&&(M=l[u])),a.series.fillOpacity&&d.fillOpacity&&M&&(M=new(x())(M).setOpacity(d.fillOpacity??1).get()),"string"==typeof M&&(M=R(t.boost?.cssVars||{},M)),E=T(M).rgba,i.useAlpha||(E[3]=1),"add"===d.boostBlending?(e.blendFunc(e.SRC_ALPHA,e.ONE),e.blendEquation(e.FUNC_ADD)):"mult"===d.boostBlending||"multiply"===d.boostBlending?e.blendFunc(e.DST_COLOR,e.ZERO):"darken"===d.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(),a.colorData.length>0?(s.setUniform("hasColor",1),(C=new v(e,s)).build(Array(a.segments[0].from).concat(a.colorData),"aColor",4),C.bind()):(s.setUniform("hasColor",0),e.disableVertexAttribArray(e.getAttribLocation(s.getProgram(),"aColor"))),s.setColor(E),this.setXAxis(a.series.xAxis),this.setYAxis(a.series.yAxis),this.setThreshold(f,p),"POINTS"===a.drawMode&&s.setPointSize(((d.marker&&d.marker.radius)??.5)*2*o),s.setSkipTranslation(a.skipTranslation),"bubble"===a.series.type&&s.setBubbleUniforms(a.series,a.zMin,a.zMax,o),s.setDrawAsCircle(S[a.series.type]||!1),r)){if(g>0||"LINE_STRIP"!==a.drawMode){let{x:i,y:s,width:l,height:h}=P(t,a.series);for(e.enable(e.SCISSOR_TEST),e.scissor(i*o,n-(s+h)*o,l*o,h*o),y=0;y<a.segments.length;y++)r.render(a.segments[y].from,a.segments[y].to,a.drawMode);e.disable(e.SCISSOR_TEST)}if(a.hasMarkers&&b)for(s.setPointSize(((d.marker&&d.marker.radius)??5)*2*o),s.setDrawAsCircle(!0),y=0;y<a.segments.length;y++)r.render(a.segments[y].from,a.segments[y].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(U.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<k.length&&(this.gl=t.getContext(k[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 y(s);if(!r)return!1;this.vbuffer=new v(s,r);let o=(t,e)=>{let i={isReady:!1,texture:C.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,h.objectEach)(this.textureHandles,e=>{e.handle&&t.deleteTexture(e.handle)}),t.canvas.width=1,t.canvas.height=1)}}let{setLength:N,splice:L}={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}}},_=class{constructor(t={}){this.isDataTable=!0,this.autoId=!t.id,this.columns={},this.id=t.id||(0,h.uniqueKey)(),this.rowCount=0,this.versionTag=(0,h.uniqueKey)();let e=0;(0,h.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,h.objectEach)(this.columns,(e,i)=>{e.length!==t&&(this.columns[i]=N(e,t))})}deleteRows(t,e=1){if(e>0&&t<this.rowCount){let i=0;(0,h.objectEach)(this.columns,(s,r)=>{this.columns[r]=L(s,t,e).array,i=s.length}),this.rowCount=i}(0,h.fireEvent)(this,"afterDeleteRows",{rowIndex:t,rowCount:e}),this.versionTag=(0,h.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,h.objectEach)(t,(t,e)=>{this.columns[e]=t.slice(),s=t.length}),this.applyRowCount(s),i?.silent||((0,h.fireEvent)(this,"afterSetColumns"),this.versionTag=(0,h.uniqueKey)())}setRow(t,e=this.rowCount,i,s){var r;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++)o[r=a[t]]||(o[r]=Array(this.rowCount));(0,h.objectEach)(o,(s,r)=>{s&&(i?s=L(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,h.fireEvent)(this,"afterSetRows",{rowIndex:e}),this.versionTag=(0,h.uniqueKey)())}getModified(){return this.modified||this}},{getBoostClipRect:z,isChartSeriesBoosting:D}=p,{getOptions:O}=u(),{composed:G,doc:I,noop:B,win:V}=u();function X(t,e){let i=e.boost;t&&i&&i.target&&i.canvas&&!D(e.chart)&&t.allocateBufferForSingleSeries(e)}function F(t){return(t&&t.options&&t.options.boost&&t.options.boost.enabled)??!0}function H(t,e){let i=t.constructor,r=t.seriesGroup||e.group,o=t.chartWidth,n=t.chartHeight,a=t,l="u">typeof SVGForeignObjectElement,u=!1;D(t)?a=t:(a=e,u=!!(e.options.events?.click||e.options.point?.events?.click));let d=a.boost=a.boost||{};if(l=!1,s||(s=I.createElement("canvas")),!d.target&&(d.canvas=s,t.renderer.forExport||!l?(a.renderTarget=d.target=t.renderer.image("",0,0,o,n).addClass("highcharts-boost-canvas").add(r),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(r),a.renderTarget=d.target=I.createElement("canvas"),d.targetCtx=d.target.getContext("2d"),d.targetFo.element.appendChild(d.target),d.clear=function(){d.target.width=d.canvas.width,d.target.height=d.canvas.height},d.copy=function(){d.target.width=d.canvas.width,d.target.height=d.canvas.height,d.targetCtx.drawImage(d.canvas,0,0)}),d.resize=function(){o=t.chartWidth,n=t.chartHeight,(d.targetFo||d.target).attr({x:0,y:0,width:o,height:n}).css({pointerEvents:u?void 0:"none",mixedBlendMode:"normal",opacity:1}).addClass(u?"highcharts-tracker":""),a instanceof i&&a.boost?.markerGroup?.translate(t.plotLeft,t.plotTop)},d.clipRect=t.renderer.clipRect(),(d.targetFo||d.target).attr({zIndex:e.options.zIndex}),a instanceof i&&(a.boost.markerGroup=a.renderer.g().add(r).translate(e.xAxis.pos,e.yAxis.pos))),d.canvas.width=o,d.canvas.height=n,d.clipRect){let e=z(t,a);d.clipRect.attr(e),t.navigator||e.width!==t.clipBox.width||e.height!==t.clipBox.height?(d.targetFo||d.target).clip(d.clipRect):r?.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 U(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,h.error)("[highcharts boost] - unable to init WebGL renderer"),d.wgl.setOptions(t.options.boost||{}),a instanceof i&&d.wgl.allocateBuffer(t)),d.wgl.setSize(o,n),d.wgl}function j(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,h.destroyObjectProperties)(e,void 0,!0)}function Y(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?Y(t,e,i,s,r,o):V.requestAnimationFrame?V.requestAnimationFrame(function(){Y(t,e,i,s,r)}):setTimeout(Y,0,t,e,i,s,r):i&&i())}function W(t,e){let i=t.options.boostThreshold??Number.MAX_VALUE;if(0===i)return!1;let s=t.dataTable.getModified().rowCount,r=t.xAxis&&t.xAxis.options,o=t.yAxis&&t.yAxis.options,n=t.colorAxis&&t.colorAxis.options;return s>=i&&(0,h.isNumber)(o?.min)&&(0,h.isNumber)(o?.max)&&(!e||(0,h.isNumber)(r?.min)&&(0,h.isNumber)(r?.max))&&(!n||(0,h.isNumber)(n.min)&&(0,h.isNumber)(n.max))}let K=(t,e)=>{let{options:i,forceCrop:s,chart:r}=t,o=i.boostThreshold??Number.MAX_VALUE;return!s&&0!==o&&(D(r)||(e?.length??0)>=o)};function q(){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 Z(){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 Q(t){let e=t.boost;e&&e.canvas&&e.target&&e.wgl&&!D(t.chart)&&e.wgl.render(t.chart)}function J(t,e){let i=t.options,s=t.xAxis,r=t.pointClass;if(e instanceof r)return e;let o=i.data,n=t.is("scatter"),a=(n&&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,l=t.getColumn("y",!0)||i.yData||!1,u=e.i,d=o?.[u]?.color,c=new r(t,n&&a&&l?[a[u],l[u]]:((0,h.isArray)(o)?o:[])[u],a?a[u]:void 0);if(n&&i?.keys?.length){let t=i.keys;for(let e=t.length-1;e>-1;e--)c[t[e]]=o[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 $(t){let{options:e,xAxis:i,yAxis:s}=this;if(!this.isDirty&&!i.isDirty&&!s.isDirty&&!t)return!1;this.yAxis.setTickInterval();let r=e.boostThreshold||0,o=e.cropThreshold,n=this.getColumn("x"),a=i.getExtremes(),l=a.max??Number.MAX_VALUE,u=a.min??-Number.MAX_VALUE,d=this.getColumn("y"),c=s.getExtremes(),g=c.max??Number.MAX_VALUE,m=c.min??-Number.MAX_VALUE,f=s.userMin??((0,h.isNumber)(s.options.min)?s.options.min:-Number.MAX_VALUE),p=s.userMax??((0,h.isNumber)(s.options.max)?s.options.max:Number.MAX_VALUE);if(!this.boosted&&i.old&&s.old&&u>=(i.old.min??-Number.MAX_VALUE)&&l<=(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:n,y:d}),!0;let b=this.dataTable.rowCount;if(!r||b<r||o&&!this.forceCrop&&!this.getExtremesFromAll&&!e.getExtremesFromAll&&b<o)return this.dataTable.getModified().setColumns({x:n,y:d}),!0;let x=[],A=[],y=[],v=!((0,h.isNumber)(a.max)||(0,h.isNumber)(a.min)),P=!((0,h.isNumber)(c.max)||(0,h.isNumber)(c.min)),T=!1,C,M=n[0],E=n[0],S,k=d?.[0],w=d?.[0];for(let t=0,e=n.length;t<e;++t)C=n[t],S=d?.[t],C>=u&&C<=l&&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 _,this.hasProcessedDataTable=!0),this.dataTable.getModified().setColumns({x:x,y:A}),!0}function tt(){let t=this.options||{},e=this.chart,s=e.boost,r=this.boost,o=this.xAxis,n=this.yAxis,a=t.xData||this.getColumn("x",!0),l=t.yData||this.getColumn("y",!0),u=this.getColumn("low",!0),d=this.getColumn("high",!0),c=t.data,g=o.getExtremes(),m=g.min-(o.minPointOffset||0),f=g.max+(o.minPointOffset||0),p=n.getExtremes(),b=p.min-(n.minPointOffset||0),x=p.max+(n.minPointOffset||0),A={},y=!!this.sampling,v=t.enableMouseTracking,P=t.threshold,T=this.pointArrayMap&&"low,high"===this.pointArrayMap.join(","),C=!!t.stacking,M=this.cropStart||0,E=this.requireSorting,S=!a,k="x"===t.findNearestPointBy,w=(this.getColumn("x").length?this.getColumn("x"):void 0)||this.options.xData||this.getColumn("x",!0),R=t.lineWidth??1,U=t.nullInteraction&&b,N=e.tooltip,L=!1,_,z=n.getThreshold(P),O,G,I,V;if(!this.boosted||(this.points?.forEach(t=>{t?.destroyElements?.()}),this.points=[],N&&!N.isHidden?(e.hoverPoint?.series===this||e.hoverPoints?.some(t=>t.series===this))&&(e.hoverPoint=e.hoverPoints=void 0,N.hide(0)):e.hoverPoints&&(e.hoverPoints=e.hoverPoints.filter(t=>t.series!==this)),o.isPanning||n.isPanning)||(L=H(e,this),e.boosted=!0,!this.visible))return;(this.points||this.graph)&&j(this),D(e)?(this.markerGroup&&this.markerGroup!==s?.markerGroup&&this.markerGroup.destroy(),this.markerGroup=s?.markerGroup,r&&r.target&&(this.renderTarget=r.target=r.target.destroy())):(this.markerGroup===s?.markerGroup&&(this.markerGroup=void 0),this.markerGroup=this.plotGroup("markerGroup","markers","visible",1,e.seriesGroup).addClass("highcharts-tracker"));let F=this.points=[],W=(t,s,r,a)=>{let l=!!w&&w[M+r],h=t=>{e.inverted&&(t=o.len-t,s=n.len-s),F.push({destroy:B,x:l,clientX:t,plotX:t,plotY:s,i:M+r,percentage:a})};t=Math.ceil(t),i=k?t:t+","+s,v&&(A[i]?l===w[w.length-1]&&(F.length--,h(t)):(A[i]=!0,h(t)))};this.buildKDTree=B,(0,h.fireEvent)(this,"renderCanvas"),s&&R>1&&this.is("line")&&(s.lineWidthFilter?.remove(),s.lineWidthFilter=e.renderer.definition({tagName:"filter",children:[{tagName:"feMorphology",attributes:{operator:"dilate",radius:.25*R}}],attributes:{id:"linewidth"}}),(r?.target||s.target)?.attr({filter:"url(#linewidth)"})),L&&(X(L,this),L.pushSeries(this),Q(this));let K=L.settings,q=(0,h.isNumber)(K.chunkSize)&&K.chunkSize>0?K.chunkSize:3e3,Z=()=>{(0,h.fireEvent)(this,"renderedCanvas"),delete this.buildKDTree,this.options&&this.buildKDTree(),K.debug.timeKDTree&&console.timeEnd("kd tree building")};e.renderer.forExport||(K.debug.timeKDTree&&console.time("kd tree building"),Y(C?this.data.slice(M):a||c,function(t,i){let s=void 0===e.index,r,a,c,g,p,A=!1,v=!0;return!(0,h.defined)(t)||(!s&&(S?(r=t[0],a=t[1]):(r=t,a=l[i]??U??null),T?(S&&(a=t.slice(1,3)),A=u[i],a=d[i]):C&&(r=t.x,A=(a=t.stackY)-t.y,p=t.percentage),E||(v=(a||0)>=b&&a<=x),null!==a&&r>=m&&r<=f&&v&&(c=o.toPixels(r,!0),y?((void 0===I||c===_)&&(T||(A=a),(void 0===V||a>G)&&(G=a,V=i),(void 0===I||A<O)&&(O=A,I=i)),k&&c===_||(void 0!==I&&(g=n.toPixels(G,!0),z=n.toPixels(O,!0),W(c,g,V,p),z!==g&&W(c,z,I,p)),I=V=void 0,_=c)):W(c,g=Math.ceil(n.toPixels(a,!0)),i,p))),!s)},Z,q))}function te(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=H(this.chart,this);i&&(X(i,this),i.pushSeries(this)),Q(this)}function ti(t){if(this.boosted){if(W(this,!0))return{};if(this.xAxis?.isPanning||this.yAxis?.isPanning)return this}return t.apply(this,[].slice.call(arguments,1))}function ts(t){let e=this.options.data;if(F(this.chart)&&c[this.type]){let s=this.is("scatter")&&!this.is("bubble")&&!this.is("treemap")&&!this.is("heatmap");if(!K(this,e)||s||this.is("treemap")||this.options.stacking||!W(this,!0)){if(this.boosted&&(this.xAxis?.isPanning||this.yAxis?.isPanning))return;s&&"treegrid"!==this.yAxis.type?$.call(this,arguments[1]):t.apply(this,[].slice.call(arguments,1)),e=this.getColumn("x",!0)}if(this.boosted=K(this,e),this.boosted){let t;this.options.data?.length&&(t=this.getFirstValidPoint(this.options.data),(0,h.isNumber)(t)||(0,h.isArray)(t)||this.is("treemap")||(0,h.error)(12,!1,this.chart));var i=this;i.boost=i.boost||{getPoint:t=>J(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 tr(t){let e=t.apply(this,[].slice.call(arguments,1));return this.boost&&e?this.boost.getPoint(e):e}let to={compose:function(t,e,i,s){if((0,h.pushUnique)(G,"Boost.Series")){let r=O().plotOptions,o=t.prototype;if((0,h.addEvent)(t,"destroy",q),(0,h.addEvent)(t,"hide",Z),s&&(o.renderCanvas=tt),(0,h.wrap)(o,"getExtremes",ti),(0,h.wrap)(o,"processData",ts),(0,h.wrap)(o,"searchPoint",tr),["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&&F(this.chart)&&"heatmap"!==this.type&&"treemap"!==this.type&&c[this.type]&&0!==this.options.boostThreshold?"render"===i&&this.renderCanvas&&this.renderCanvas():t.call(this)}if((0,h.wrap)(t,i,s),"translate"===i)for(let t of["column","arearange","columnrange","heatmap","treemap"])e[t]&&(0,h.wrap)(e[t].prototype,i,s)})(o,e,t)),(0,h.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))}),d.forEach(t=>{let i=r[t];i&&(i.boostThreshold=5e3,i.boostData=[],e[t].prototype.fillOpacity=!0)}),s){let{area:t,areaspline:i,bubble:s,column:r,heatmap:o,scatter:n,treemap:a}=e;if(t&&(0,h.extend)(t.prototype,{fill:!0,fillOpacity:!0,sampling:!0}),i&&(0,h.extend)(i.prototype,{fill:!0,fillOpacity:!0,sampling:!0}),s){let t=s.prototype;delete t.buildKDTree,(0,h.wrap)(t,"markerAttribs",function(t){return!this.boosted&&t.apply(this,[].slice.call(arguments,1))})}r&&(0,h.extend)(r.prototype,{fill:!0,sampling:!0}),n&&(n.prototype.fill=!0),[o,a].forEach(t=>{t&&(0,h.wrap)(t.prototype,"drawPoints",te)})}}return t},destroyGraphics:j,eachAsync:Y,getPoint:J},{getBoostClipRect:tn,isChartSeriesBoosting:ta}=p,{destroyGraphics:tl}=to,{parse:th}=x(),{doc:tu,noop:td}=u();!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 r(t,e,i,s,r){t.moveTo(e,i),t.arc(e,i,this.radii&&this.radii[r],0,2*Math.PI,!1)}function o(t,e,i,s){t.rect(e-1,i,1,s-i)}function n(){this.boost&&this.boost.copy&&this.boost.copy()}function a(){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 l(){ta(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=ta(e)?e:this,r=s===e?e.seriesGroup:e.seriesGroup||this.group,o=e.chartWidth,n=e.chartHeight,a=function(t,e,i,s,r,o,n){t.call(this,i,e,s,r,o,n)},l=s.boost=s.boost||{};return t=l.targetCtx,l.canvas||(l.canvas=tu.createElement("canvas"),l.target=e.renderer.image("",0,0,o,n).addClass("highcharts-boost-canvas").add(r),t=l.targetCtx=l.canvas.getContext("2d"),e.inverted&&["moveTo","lineTo","rect","arc"].forEach(e=>{(0,h.wrap)(t,e,a)}),l.copy=function(){l.target.attr({href:l.canvas.toDataURL("image/png")})},l.clear=function(){t.clearRect(0,0,l.canvas.width,l.canvas.height),s===l.target&&l.target.attr({href:i})},l.clipRect=e.renderer.clipRect(),l.target.clip(l.clipRect)),l.canvas.width!==o&&(l.canvas.width=o),l.canvas.height!==n&&(l.canvas.height=n),l.target.attr({x:0,y:0,width:o,height:n,style:"pointer-events: none",href:i}),l.clipRect&&l.clipRect.attr(tn(e,s)),t}function c(){let t=this,s=t.options,r=t.chart,o=t.xAxis,n=t.yAxis,a=r.options.boost||{},l={timeRendering:a.timeRendering||!1,timeSeriesProcessing:a.timeSeriesProcessing||!1,timeSetup:a.timeSetup||!1},u=t.getColumn("x",!0),d=t.getColumn("y",!0),c=s.data||[],g=o.getExtremes(),m=g.min,f=g.max,p=n.getExtremes(),b=p.min,A=p.max,y={},v=!!t.sampling,P=s.marker&&s.marker.radius,T=t.cvsStrokeBatch||1e3,C=s.enableMouseTracking,M=s.threshold,E=(0,h.isNumber)(M),S=n.getThreshold(M),k=t.fill,w=t.pointArrayMap&&"low,high"===t.pointArrayMap.join(","),R=!!s.stacking,U=t.cropStart||0,N=r.options.loading,L=t.requireSorting,_=s.connectNulls,z=!u,D=R?t.data:u||c,O=t.fillOpacity?x().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)&&tl(t),t.plotGroup("group","series",t.visible?"visible":"hidden",s.zIndex,r.seriesGroup),t.markerGroup=t.group,(0,h.addEvent)(t,"destroy",function(){t.markerGroup=null});let F=this.points=[],H=this.getContext();if(t.buildKDTree=td,I.clear&&I.clear(),!t.visible)return;c.length>99999&&(r.options.loading=(0,h.merge)(N,{labelStyle:{backgroundColor:th("var(--highcharts-background-color)").setOpacity(.75).get(),padding:"1em",borderRadius:"0.5em"},style:{backgroundColor:"none",opacity:1}}),(0,h.internalClearTimeout)(e),r.showLoading("Drawing..."),r.options.loading=N),l.timeRendering&&console.time("canvas rendering");let j=0,Y,W,K=S,q,Z,Q,J,$,tt,te=function(){k?(H.fillStyle=O,H.fill()):(H.strokeStyle=t.color,H.lineWidth=s.lineWidth,H.stroke())},ti=function(e,i,s,o){0===j&&(H.beginPath(),V&&(H.lineJoin="round")),r.scroller&&"highcharts-navigator-series"===t.options.className?(i+=r.scroller.top,s&&(s+=r.scroller.top)):i+=r.plotTop,e+=r.plotLeft,q?H.moveTo(e,i):B?B(H,e,i,s,W):V?V(H,e,i):X&&X.call(t,H,e,i,P,o),(j+=1)===T&&(te(),j=0),W={clientX:e,plotY:i,yBottom:s}},ts=(this.getColumn("x").length?this.getColumn("x"):void 0)||this.options.xData||!!this.getColumn("x",!0).length&&this.getColumn("x",!0),tr=function(t,e,i){tt=G?t:t+","+e,C&&!y[tt]&&(y[tt]=!0,r.inverted&&(t=o.len-t,e=n.len-e),F.push({x:!!ts&&ts[U+i],clientX:t,plotX:t,plotY:e,i:U+i}))};to.eachAsync(D,(e,i)=>{let s=void 0===r.index,a,l,h,u,c,g,p=!1,x=!1,y=NaN,P=NaN,T=!0;return!s&&(z?(a=e[0],l=e[1],D[i+1]&&(y=D[i+1][0]),D[i-1]&&(P=D[i-1][0])):(a=e,l=d[i],D[i+1]&&(y=D[i+1]),D[i-1]&&(P=D[i-1])),y&&y>=m&&y<=f&&(p=!0),P&&P>=m&&P<=f&&(x=!0),w?(z&&(l=e.slice(1,3)),g=l[0],l=l[1]):R&&(a=e.x,g=(l=e.stackY)-e.y),c=null===l,L||(T=l>=b&&l<=A),!c&&(a>=m&&a<=f&&T||p||x)&&(h=Math.round(o.toPixels(a,!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&&(u=n.toPixels(Q,!0),K=n.toPixels(Z,!0),ti(h,E?Math.min(u,S):u,E?Math.max(K,S):K,i),tr(h,u,$),K!==u&&tr(h,K,J)),J=$=void 0,Y=h)):(ti(h,u=Math.round(n.toPixels(l,!0)),K,i),tr(h,u,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=r.loadingDiv,s=r.loadingShown;te(),t.canvasToSVG(),l.timeRendering&&console.timeEnd("canvas rendering"),(0,h.fireEvent)(t,"renderedCanvas"),s&&(i.style.transition="opacity 250ms",i.opacity=0,r.loadingShown=!1,e=setTimeout(function(){i.parentNode&&i.parentNode.removeChild(i),r.loadingDiv=r.loadingSpan=null},250)),delete t.buildKDTree,t.buildKDTree()},r.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 m(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 p=e.prototype;if(!p.renderCanvas){let{area:e,bubble:b,column:x,heatmap:A,scatter:y}=i;if(t.prototype.callbacks.push(t=>{(0,h.addEvent)(t,"predraw",a),(0,h.addEvent)(t,"render",n)}),p.canvasToSVG=l,p.cvsLineTo=u,p.getContext=d,p.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=r,t.cvsStrokeBatch=1}if(x){let t=x.prototype;t.cvsDrawPoint=o,t.fill=!0,t.sampling=!0}if(A){let t=A.prototype;(0,h.wrap)(t,"drawPoints",f)}if(y){let t=y.prototype;t.cvsMarkerCircle=g,t.cvsMarkerSquare=m,t.fill=!0}}}}(r||(r={}));let tc=r,tg=u();tg.initCanvasBoost=function(){tc.compose(tg.Chart,tg.Series,tg.seriesTypes)};let tm=u();return l.default})());
|