highcharts 10.2.0 → 10.2.1

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.
Files changed (763) hide show
  1. package/bower.json +1 -1
  2. package/css/highcharts.css +10 -20
  3. package/css/themes/dark-unica.css +10 -20
  4. package/css/themes/grid-light.css +10 -20
  5. package/css/themes/sand-signika.css +10 -20
  6. package/es-modules/Accessibility/Accessibility.js +6 -0
  7. package/es-modules/Accessibility/Components/LegendComponent.js +8 -8
  8. package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +3 -2
  9. package/es-modules/Accessibility/Options/A11yDefaults.js +1 -1
  10. package/es-modules/Core/Axis/Axis.js +3 -0
  11. package/es-modules/Core/Axis/Axis3D.js +1 -1
  12. package/es-modules/Core/Axis/AxisDefaults.js +1 -1
  13. package/es-modules/Core/Axis/BrokenAxis.js +1 -1
  14. package/es-modules/Core/Axis/Color/ColorAxisDefaults.js +4 -0
  15. package/es-modules/Core/Axis/NavigatorAxis.js +2 -2
  16. package/es-modules/Core/Axis/OrdinalAxis.js +2 -2
  17. package/es-modules/Core/Axis/RadialAxis.js +1 -1
  18. package/es-modules/Core/Axis/Stacking/StackItem.js +262 -0
  19. package/es-modules/Core/Axis/Stacking/StackingAxis.js +468 -0
  20. package/es-modules/Core/Axis/TreeGrid/TreeGridAxis.js +732 -0
  21. package/es-modules/Core/Axis/TreeGrid/TreeGridTick.js +313 -0
  22. package/es-modules/Core/Axis/WaterfallAxis.js +1 -1
  23. package/es-modules/Core/Axis/ZAxis.js +73 -70
  24. package/es-modules/Core/Chart/Chart.js +16 -2
  25. package/es-modules/Core/Chart/Chart3D.js +2 -2
  26. package/es-modules/Core/Chart/ChartDefaults.js +151 -2
  27. package/es-modules/Core/Chart/StockChart.js +5 -3
  28. package/es-modules/Core/DefaultOptions.js +2 -1
  29. package/es-modules/Core/Geometry/CircleUtilities.js +4 -4
  30. package/es-modules/Core/Globals.js +2 -1
  31. package/es-modules/{Extensions → Core}/Math3D.js +48 -43
  32. package/es-modules/Core/Navigator.js +24 -7
  33. package/es-modules/Core/Pointer.js +7 -9
  34. package/es-modules/Core/Renderer/HTML/AST.js +4 -1
  35. package/es-modules/Core/Renderer/SVG/SVGElement.js +103 -163
  36. package/es-modules/Core/Renderer/SVG/SVGLabel.js +29 -27
  37. package/es-modules/Core/Renderer/SVG/SVGRenderer.js +3 -3
  38. package/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +1 -1
  39. package/es-modules/Core/Renderer/SVG/TextBuilder.js +5 -3
  40. package/es-modules/Core/Scrollbar.js +3 -1
  41. package/es-modules/Core/Series/DataLabel.js +8 -6
  42. package/es-modules/Core/Series/Point.js +2 -2
  43. package/es-modules/Core/Series/Series.js +36 -31
  44. package/es-modules/Core/Series/Series3D.js +1 -1
  45. package/es-modules/Core/Series/SeriesDefaults.js +8 -3
  46. package/es-modules/Core/Series/SeriesRegistry.js +6 -29
  47. package/es-modules/Core/Tooltip.js +14 -3
  48. package/es-modules/Core/Utilities.js +1 -3
  49. package/es-modules/Data/DataConverter.js +5 -0
  50. package/es-modules/Data/DataPromise.js +1 -1
  51. package/es-modules/Data/DataSeriesComposition.js +288 -0
  52. package/es-modules/Data/DataSeriesConverter.js +1 -1
  53. package/es-modules/Data/DataTable.js +2 -2
  54. package/es-modules/Data/Modifiers/ChainModifier.js +1 -1
  55. package/es-modules/Data/Modifiers/DataModifier.js +1 -1
  56. package/es-modules/Data/Modifiers/GroupModifier.js +1 -1
  57. package/es-modules/Data/Modifiers/InvertModifier.js +1 -1
  58. package/es-modules/Data/Modifiers/RangeModifier.js +1 -1
  59. package/es-modules/Data/Modifiers/SeriesPointsModifier.js +1 -1
  60. package/es-modules/Data/Modifiers/SortModifier.js +1 -1
  61. package/es-modules/Data/Parsers/DataParser.js +1 -1
  62. package/es-modules/Data/Stores/DataStore.js +1 -1
  63. package/es-modules/Extensions/Annotations/Annotation.js +347 -1156
  64. package/es-modules/Extensions/Annotations/AnnotationChart.js +291 -0
  65. package/es-modules/Extensions/Annotations/AnnotationDefaults.js +624 -0
  66. package/es-modules/Extensions/Annotations/ControlPoint.js +89 -64
  67. package/es-modules/Extensions/Annotations/{Mixins/ControllableMixin.js → Controllables/Controllable.js} +300 -241
  68. package/es-modules/Extensions/Annotations/Controllables/ControllableCircle.js +63 -50
  69. package/es-modules/Extensions/Annotations/Controllables/ControllableDefaults.js +95 -0
  70. package/es-modules/Extensions/Annotations/Controllables/ControllableEllipse.js +90 -61
  71. package/es-modules/Extensions/Annotations/Controllables/ControllableImage.js +50 -44
  72. package/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +95 -78
  73. package/es-modules/Extensions/Annotations/Controllables/ControllablePath.js +167 -51
  74. package/es-modules/Extensions/Annotations/Controllables/ControllableRect.js +53 -52
  75. package/es-modules/Extensions/Annotations/{Mixins/EventEmitterMixin.js → EventEmitter.js} +136 -116
  76. package/es-modules/Extensions/Annotations/MockPoint.js +210 -145
  77. package/es-modules/Extensions/Annotations/NavigationBindings.js +272 -674
  78. package/es-modules/Extensions/Annotations/NavigationBindingsDefaults.js +396 -0
  79. package/es-modules/Extensions/Annotations/NavigationBindingsUtilities.js +98 -0
  80. package/es-modules/Extensions/Annotations/Popup/Popup.js +295 -0
  81. package/es-modules/Extensions/Annotations/Popup/PopupAnnotations.js +177 -0
  82. package/es-modules/Extensions/Annotations/Popup/PopupComposition.js +81 -0
  83. package/es-modules/Extensions/Annotations/Popup/PopupIndicators.js +609 -0
  84. package/es-modules/Extensions/Annotations/Popup/PopupTabs.js +134 -0
  85. package/es-modules/Extensions/Annotations/Types/BasicAnnotation.js +10 -14
  86. package/es-modules/Extensions/Annotations/Types/CrookedLine.js +11 -19
  87. package/es-modules/Extensions/Annotations/Types/ElliottWave.js +10 -10
  88. package/es-modules/Extensions/Annotations/Types/Fibonacci.js +28 -20
  89. package/es-modules/Extensions/Annotations/Types/FibonacciTimeZones.js +63 -63
  90. package/es-modules/Extensions/Annotations/Types/InfinityLine.js +10 -19
  91. package/es-modules/Extensions/Annotations/Types/Measure.js +255 -249
  92. package/es-modules/Extensions/Annotations/Types/Pitchfork.js +11 -17
  93. package/es-modules/Extensions/Annotations/Types/TimeCycles.js +20 -17
  94. package/es-modules/Extensions/Annotations/Types/Tunnel.js +12 -13
  95. package/es-modules/Extensions/Annotations/Types/VerticalLine.js +11 -15
  96. package/es-modules/Extensions/Boost/Boost.js +320 -15
  97. package/es-modules/Extensions/Boost/BoostChart.js +245 -0
  98. package/es-modules/Extensions/Boost/BoostSeries.js +927 -0
  99. package/es-modules/Extensions/Boost/BoostableMap.js +21 -5
  100. package/es-modules/Extensions/Boost/Boostables.js +13 -2
  101. package/es-modules/Extensions/Boost/NamedColors.js +15 -6
  102. package/es-modules/Extensions/Boost/WGLDrawMode.js +36 -0
  103. package/es-modules/Extensions/Boost/WGLRenderer.js +288 -295
  104. package/es-modules/Extensions/Boost/WGLShader.js +370 -376
  105. package/es-modules/Extensions/Boost/WGLVertexBuffer.js +192 -0
  106. package/es-modules/Extensions/BoostCanvas.js +62 -46
  107. package/es-modules/Extensions/Breadcrumbs.js +4 -0
  108. package/es-modules/Extensions/DataGrouping.js +65 -27
  109. package/es-modules/Extensions/Debugger/Debugger.js +60 -22
  110. package/es-modules/Extensions/DraggablePoints.js +4 -3
  111. package/es-modules/Extensions/Drilldown.js +7 -8
  112. package/es-modules/Extensions/{ExportData.js → ExportData/ExportData.js} +341 -530
  113. package/es-modules/Extensions/ExportData/ExportDataDefaults.js +272 -0
  114. package/es-modules/Extensions/Exporting/Exporting.js +5 -1
  115. package/es-modules/Extensions/Exporting/ExportingDefaults.js +3 -1
  116. package/es-modules/Extensions/{FullScreen.js → Exporting/Fullscreen.js} +72 -27
  117. package/es-modules/Extensions/MarkerClusters.js +2 -0
  118. package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +1 -1
  119. package/es-modules/Extensions/Oldie/Oldie.js +1 -1
  120. package/es-modules/Extensions/ParallelCoordinates.js +11 -7
  121. package/es-modules/Extensions/ScrollablePlotArea.js +1 -1
  122. package/es-modules/Extensions/SeriesLabel/SeriesLabel.js +2 -2
  123. package/es-modules/Extensions/Sonification/ChartSonify.js +1 -1
  124. package/es-modules/Maps/MapPointer.js +1 -1
  125. package/es-modules/Maps/MapView.js +2 -1
  126. package/es-modules/Series/{Area3DSeries.js → Area3D/Area3DSeries.js} +42 -20
  127. package/es-modules/Series/AreaRange/AreaRangeSeries.js +8 -2
  128. package/es-modules/Series/Bubble/BubbleLegendComposition.js +223 -231
  129. package/es-modules/Series/Bubble/BubbleLegendItem.js +46 -45
  130. package/es-modules/Series/Bubble/BubbleSeries.js +85 -66
  131. package/es-modules/Series/Column/ColumnSeries.js +2 -0
  132. package/es-modules/Series/Column3D/Column3DComposition.js +2 -2
  133. package/es-modules/Series/ColumnPyramid/ColumnPyramidSeries.js +1 -1
  134. package/es-modules/Series/Cylinder/CylinderComposition.js +1 -1
  135. package/es-modules/Series/DependencyWheel/DependencyWheelPoint.js +24 -11
  136. package/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +16 -2
  137. package/es-modules/Series/DragNodesComposition.js +166 -0
  138. package/es-modules/Series/Funnel3D/Funnel3DSeries.js +1 -1
  139. package/es-modules/Series/Gantt/GanttSeries.js +1 -1
  140. package/es-modules/Series/GraphLayoutComposition.js +130 -0
  141. package/es-modules/Series/Heatmap/HeatmapSeries.js +5 -1
  142. package/es-modules/Series/Lollipop/LollipopPoint.js +21 -11
  143. package/es-modules/Series/Lollipop/LollipopSeries.js +15 -10
  144. package/es-modules/Series/Map/MapSeries.js +6 -1
  145. package/es-modules/Series/MapBubble/MapBubblePoint.js +15 -17
  146. package/es-modules/Series/MapBubble/MapBubbleSeries.js +19 -19
  147. package/es-modules/Series/Networkgraph/EulerIntegration.js +199 -0
  148. package/es-modules/Series/Networkgraph/NetworkgraphPoint.js +290 -0
  149. package/es-modules/Series/Networkgraph/NetworkgraphSeries.js +401 -0
  150. package/es-modules/Series/Networkgraph/NetworkgraphSeriesDefaults.js +545 -0
  151. package/es-modules/Series/Networkgraph/QuadTree.js +66 -272
  152. package/es-modules/Series/Networkgraph/QuadTreeNode.js +271 -0
  153. package/es-modules/Series/Networkgraph/{Layouts.js → ReingoldFruchtermanLayout.js} +240 -259
  154. package/es-modules/Series/Networkgraph/VerletIntegration.js +193 -0
  155. package/es-modules/Series/Organization/OrganizationSeries.js +9 -1
  156. package/es-modules/Series/PackedBubble/PackedBubbleIntegration.js +81 -0
  157. package/es-modules/Series/PackedBubble/{PackedBubbleComposition.js → PackedBubbleLayout.js} +114 -77
  158. package/es-modules/Series/PackedBubble/PackedBubblePoint.js +2 -2
  159. package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +197 -570
  160. package/es-modules/Series/PackedBubble/PackedBubbleSeriesDefaults.js +394 -0
  161. package/es-modules/Series/Pie/PieSeries.js +3 -1
  162. package/es-modules/Series/PolarComposition.js +12 -12
  163. package/es-modules/Series/Sankey/SankeySeries.js +13 -1
  164. package/es-modules/Series/Scatter/ScatterSeries.js +4 -1
  165. package/es-modules/Series/Scatter3D/Scatter3DSeries.js +1 -1
  166. package/es-modules/Series/SeriesOnPointComposition.js +5 -1
  167. package/es-modules/Series/SolidGauge/SolidGaugeSeries.js +1 -1
  168. package/es-modules/Series/Sunburst/SunburstPoint.js +5 -6
  169. package/es-modules/Series/Sunburst/SunburstSeries.js +24 -2
  170. package/es-modules/Series/Timeline/TimelineSeries.js +2 -0
  171. package/es-modules/Series/Treemap/TreemapSeries.js +3 -3
  172. package/es-modules/Series/Vector/VectorSeries.js +2 -4
  173. package/es-modules/Series/Wordcloud/WordcloudSeries.js +1 -1
  174. package/es-modules/Series/Wordcloud/WordcloudUtils.js +1 -1
  175. package/es-modules/Series/XRange/XRangePoint.js +54 -45
  176. package/es-modules/Series/XRange/XRangeSeries.js +121 -273
  177. package/es-modules/Series/XRange/XRangeSeriesDefaults.js +211 -0
  178. package/es-modules/Stock/Indicators/ABands/ABandsIndicator.js +10 -2
  179. package/es-modules/Stock/Indicators/AD/ADIndicator.js +5 -0
  180. package/es-modules/Stock/Indicators/AO/AOIndicator.js +22 -11
  181. package/es-modules/Stock/Indicators/APO/APOIndicator.js +6 -1
  182. package/es-modules/Stock/Indicators/ATR/ATRIndicator.js +16 -3
  183. package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +15 -2
  184. package/es-modules/Stock/Indicators/AroonOscillator/AroonOscillatorIndicator.js +6 -2
  185. package/es-modules/Stock/Indicators/BB/BBIndicator.js +5 -1
  186. package/es-modules/Stock/Indicators/CCI/CCIIndicator.js +16 -3
  187. package/es-modules/Stock/Indicators/CMF/CMFIndicator.js +20 -0
  188. package/es-modules/Stock/Indicators/CMO/CMOIndicator.js +15 -1
  189. package/es-modules/Stock/Indicators/Chaikin/ChaikinIndicator.js +7 -2
  190. package/es-modules/Stock/Indicators/DEMA/DEMAIndicator.js +25 -0
  191. package/es-modules/Stock/Indicators/DMI/DMIIndicator.js +5 -0
  192. package/es-modules/Stock/Indicators/DPO/DPOIndicator.js +19 -8
  193. package/es-modules/Stock/Indicators/EMA/EMAIndicator.js +10 -0
  194. package/es-modules/Stock/Indicators/IKH/IKHIndicator.js +34 -15
  195. package/es-modules/Stock/Indicators/KeltnerChannels/KeltnerChannelsIndicator.js +25 -0
  196. package/es-modules/Stock/Indicators/Klinger/KlingerIndicator.js +12 -1
  197. package/es-modules/Stock/Indicators/LinearRegression/{LinearRegression.js → LinearRegressionIndicator.js} +11 -1
  198. package/es-modules/Stock/Indicators/LinearRegressionAngle/{LinearRegressionAngle.js → LinearRegressionAngleIndicator.js} +12 -7
  199. package/es-modules/Stock/Indicators/LinearRegressionIntercept/{LinearRegressionIntercept.js → LinearRegressionInterceptIndicator.js} +11 -1
  200. package/es-modules/Stock/Indicators/LinearRegressionSlopes/{LinearRegressionSlopes.js → LinearRegressionSlopesIndicator.js} +11 -1
  201. package/es-modules/Stock/Indicators/MACD/MACDIndicator.js +21 -10
  202. package/es-modules/Stock/Indicators/MFI/MFIIndicator.js +23 -10
  203. package/es-modules/Stock/Indicators/Momentum/MomentumIndicator.js +30 -2
  204. package/es-modules/Stock/Indicators/NATR/NATRIndicator.js +16 -1
  205. package/es-modules/Stock/Indicators/OBV/OBVIndicator.js +10 -0
  206. package/es-modules/Stock/Indicators/PC/PCIndicator.js +13 -8
  207. package/es-modules/Stock/Indicators/PPO/PPOIndicator.js +14 -4
  208. package/es-modules/Stock/Indicators/PSAR/PSARIndicator.js +16 -3
  209. package/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +16 -6
  210. package/es-modules/Stock/Indicators/PivotPoints/PivotPointsPoint.js +16 -12
  211. package/es-modules/Stock/Indicators/PriceEnvelopes/PriceEnvelopesIndicator.js +25 -0
  212. package/es-modules/Stock/Indicators/ROC/ROCIndicator.js +15 -2
  213. package/es-modules/Stock/Indicators/RSI/RSIIndicator.js +20 -2
  214. package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +1 -1
  215. package/es-modules/Stock/Indicators/SlowStochastic/SlowStochasticIndicator.js +25 -0
  216. package/es-modules/Stock/Indicators/Stochastic/StochasticIndicator.js +15 -0
  217. package/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +17 -3
  218. package/es-modules/Stock/Indicators/TRIX/TRIXIndicator.js +25 -0
  219. package/es-modules/Stock/Indicators/TrendLine/TrendLineIndicator.js +14 -4
  220. package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +32 -3
  221. package/es-modules/Stock/Indicators/VBP/VBPPoint.js +6 -6
  222. package/es-modules/Stock/Indicators/VWAP/VWAPIndicator.js +11 -1
  223. package/es-modules/Stock/Indicators/WMA/WMAIndicator.js +30 -2
  224. package/es-modules/Stock/Indicators/WilliamsR/WilliamsRIndicator.js +10 -0
  225. package/es-modules/Stock/Indicators/Zigzag/ZigzagIndicator.js +11 -1
  226. package/es-modules/Stock/StockToolbar.js +568 -0
  227. package/es-modules/Stock/StockTools.js +256 -0
  228. package/es-modules/Stock/StockToolsBindings.js +114 -629
  229. package/es-modules/Stock/StockToolsDefaults.js +1190 -0
  230. package/es-modules/Stock/StockToolsGui.js +150 -1771
  231. package/es-modules/Stock/StockToolsUtilities.js +423 -0
  232. package/es-modules/masters/highcharts-3d.src.js +5 -4
  233. package/es-modules/masters/highcharts-gantt.src.js +1 -1
  234. package/es-modules/masters/highcharts-more.src.js +4 -3
  235. package/es-modules/masters/highcharts.src.js +5 -2
  236. package/es-modules/masters/highmaps.src.js +1 -1
  237. package/es-modules/masters/highstock.src.js +1 -1
  238. package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
  239. package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
  240. package/es-modules/masters/indicators/ao.src.js +1 -1
  241. package/es-modules/masters/indicators/apo.src.js +1 -1
  242. package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
  243. package/es-modules/masters/indicators/aroon.src.js +1 -1
  244. package/es-modules/masters/indicators/atr.src.js +1 -1
  245. package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
  246. package/es-modules/masters/indicators/cci.src.js +1 -1
  247. package/es-modules/masters/indicators/chaikin.src.js +1 -1
  248. package/es-modules/masters/indicators/cmf.src.js +1 -1
  249. package/es-modules/masters/indicators/cmo.src.js +1 -1
  250. package/es-modules/masters/indicators/dema.src.js +1 -1
  251. package/es-modules/masters/indicators/disparity-index.src.js +1 -1
  252. package/es-modules/masters/indicators/dmi.src.js +1 -1
  253. package/es-modules/masters/indicators/dpo.src.js +1 -1
  254. package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
  255. package/es-modules/masters/indicators/indicators-all.src.js +5 -7
  256. package/es-modules/masters/indicators/indicators.src.js +1 -1
  257. package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
  258. package/es-modules/masters/indicators/klinger.src.js +1 -1
  259. package/es-modules/masters/indicators/macd.src.js +1 -1
  260. package/es-modules/masters/indicators/mfi.src.js +1 -1
  261. package/es-modules/masters/indicators/momentum.src.js +1 -1
  262. package/es-modules/masters/indicators/natr.src.js +1 -1
  263. package/es-modules/masters/indicators/obv.src.js +1 -1
  264. package/es-modules/masters/indicators/pivot-points.src.js +1 -1
  265. package/es-modules/masters/indicators/ppo.src.js +1 -1
  266. package/es-modules/masters/indicators/price-channel.src.js +1 -1
  267. package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
  268. package/es-modules/masters/indicators/psar.src.js +1 -1
  269. package/es-modules/masters/indicators/regressions.src.js +5 -5
  270. package/es-modules/masters/indicators/roc.src.js +1 -1
  271. package/es-modules/masters/indicators/rsi.src.js +1 -1
  272. package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
  273. package/es-modules/masters/indicators/stochastic.src.js +1 -1
  274. package/es-modules/masters/indicators/supertrend.src.js +1 -1
  275. package/es-modules/masters/indicators/tema.src.js +1 -1
  276. package/es-modules/masters/indicators/trendline.src.js +1 -1
  277. package/es-modules/masters/indicators/trix.src.js +1 -1
  278. package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
  279. package/es-modules/masters/indicators/vwap.src.js +1 -1
  280. package/es-modules/masters/indicators/williams-r.src.js +1 -1
  281. package/es-modules/masters/indicators/wma.src.js +1 -1
  282. package/es-modules/masters/indicators/zigzag.src.js +1 -1
  283. package/es-modules/masters/modules/accessibility.src.js +1 -1
  284. package/es-modules/masters/modules/annotations-advanced.src.js +6 -4
  285. package/es-modules/masters/modules/annotations.src.js +6 -4
  286. package/es-modules/masters/modules/arc-diagram.src.js +1 -1
  287. package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
  288. package/es-modules/masters/modules/boost-canvas.src.js +1 -1
  289. package/es-modules/masters/modules/boost.src.js +6 -2
  290. package/es-modules/masters/modules/broken-axis.src.js +1 -1
  291. package/es-modules/masters/modules/bullet.src.js +1 -1
  292. package/es-modules/masters/modules/coloraxis.src.js +1 -1
  293. package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
  294. package/es-modules/masters/modules/cylinder.src.js +1 -1
  295. package/es-modules/masters/modules/data.src.js +1 -1
  296. package/es-modules/masters/modules/datagrouping.src.js +1 -1
  297. package/es-modules/masters/modules/debugger.src.js +5 -3
  298. package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
  299. package/es-modules/masters/modules/dotplot.src.js +1 -1
  300. package/es-modules/masters/modules/drag-panes.src.js +1 -1
  301. package/es-modules/masters/modules/draggable-points.src.js +1 -1
  302. package/es-modules/masters/modules/drilldown.src.js +1 -1
  303. package/es-modules/masters/modules/dumbbell.src.js +1 -1
  304. package/es-modules/masters/modules/export-data.src.js +5 -2
  305. package/es-modules/masters/modules/exporting.src.js +1 -2
  306. package/es-modules/masters/modules/full-screen.src.js +6 -2
  307. package/es-modules/masters/modules/funnel.src.js +1 -1
  308. package/es-modules/masters/modules/funnel3d.src.js +1 -1
  309. package/es-modules/masters/modules/gantt.src.js +3 -2
  310. package/es-modules/masters/modules/grid-axis.src.js +1 -1
  311. package/es-modules/masters/modules/heatmap.src.js +1 -1
  312. package/es-modules/masters/modules/heikinashi.src.js +1 -1
  313. package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
  314. package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
  315. package/es-modules/masters/modules/item-series.src.js +1 -1
  316. package/es-modules/masters/modules/lollipop.src.js +1 -1
  317. package/es-modules/masters/modules/map.src.js +2 -2
  318. package/es-modules/masters/modules/marker-clusters.src.js +1 -1
  319. package/es-modules/masters/modules/networkgraph.src.js +5 -2
  320. package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
  321. package/es-modules/masters/modules/offline-exporting.src.js +1 -1
  322. package/es-modules/masters/modules/oldie-polyfills.src.js +1 -1
  323. package/es-modules/masters/modules/oldie.src.js +1 -1
  324. package/es-modules/masters/modules/organization.src.js +1 -1
  325. package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
  326. package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
  327. package/es-modules/masters/modules/pareto.src.js +1 -1
  328. package/es-modules/masters/modules/pathfinder.src.js +1 -1
  329. package/es-modules/masters/modules/pattern-fill.src.js +1 -1
  330. package/es-modules/masters/modules/price-indicator.src.js +1 -1
  331. package/es-modules/masters/modules/pyramid3d.src.js +1 -1
  332. package/es-modules/masters/modules/sankey.src.js +1 -1
  333. package/es-modules/masters/modules/series-label.src.js +1 -1
  334. package/es-modules/masters/modules/series-on-point.src.js +1 -1
  335. package/es-modules/masters/modules/solid-gauge.src.js +1 -1
  336. package/es-modules/masters/modules/sonification.src.js +1 -1
  337. package/es-modules/masters/modules/static-scale.src.js +1 -1
  338. package/es-modules/masters/modules/stock-tools.src.js +10 -3
  339. package/es-modules/masters/modules/stock.src.js +1 -1
  340. package/es-modules/masters/modules/streamgraph.src.js +1 -1
  341. package/es-modules/masters/modules/sunburst.src.js +1 -1
  342. package/es-modules/masters/modules/tilemap.src.js +1 -1
  343. package/es-modules/masters/modules/timeline.src.js +1 -1
  344. package/es-modules/masters/modules/treegrid.src.js +2 -2
  345. package/es-modules/masters/modules/treemap.src.js +1 -1
  346. package/es-modules/masters/modules/variable-pie.src.js +1 -1
  347. package/es-modules/masters/modules/variwide.src.js +1 -1
  348. package/es-modules/masters/modules/vector.src.js +1 -1
  349. package/es-modules/masters/modules/venn.src.js +1 -1
  350. package/es-modules/masters/modules/windbarb.src.js +1 -1
  351. package/es-modules/masters/modules/wordcloud.src.js +1 -1
  352. package/es-modules/masters/modules/xrange.src.js +5 -2
  353. package/es-modules/masters/themes/avocado.src.js +1 -1
  354. package/es-modules/masters/themes/brand-dark.src.js +1 -1
  355. package/es-modules/masters/themes/brand-light.src.js +1 -1
  356. package/es-modules/masters/themes/dark-blue.src.js +1 -1
  357. package/es-modules/masters/themes/dark-green.src.js +1 -1
  358. package/es-modules/masters/themes/dark-unica.src.js +1 -1
  359. package/es-modules/masters/themes/gray.src.js +1 -1
  360. package/es-modules/masters/themes/grid-light.src.js +1 -1
  361. package/es-modules/masters/themes/grid.src.js +1 -1
  362. package/es-modules/masters/themes/high-contrast-dark.src.js +1 -1
  363. package/es-modules/masters/themes/high-contrast-light.src.js +1 -1
  364. package/es-modules/masters/themes/sand-signika.src.js +1 -1
  365. package/es-modules/masters/themes/skies.src.js +1 -1
  366. package/es-modules/masters/themes/sunset.src.js +1 -1
  367. package/highcharts-3d.js +98 -99
  368. package/highcharts-3d.js.map +1 -1
  369. package/highcharts-3d.src.js +232 -211
  370. package/highcharts-gantt.js +808 -809
  371. package/highcharts-gantt.js.map +1 -1
  372. package/highcharts-gantt.src.js +2308 -2136
  373. package/highcharts-more.d.ts +5 -8
  374. package/highcharts-more.js +201 -194
  375. package/highcharts-more.js.map +1 -1
  376. package/highcharts-more.src.d.ts +5 -8
  377. package/highcharts-more.src.js +3671 -3275
  378. package/highcharts.d.ts +1400 -885
  379. package/highcharts.js +593 -595
  380. package/highcharts.js.map +1 -1
  381. package/highcharts.src.d.ts +1400 -885
  382. package/highcharts.src.js +847 -716
  383. package/highmaps.js +762 -763
  384. package/highmaps.js.map +1 -1
  385. package/highmaps.src.js +1288 -1129
  386. package/highstock.js +796 -798
  387. package/highstock.js.map +1 -1
  388. package/highstock.src.js +953 -762
  389. package/indicators/acceleration-bands.js +1 -1
  390. package/indicators/acceleration-bands.js.map +1 -1
  391. package/indicators/acceleration-bands.src.js +11 -3
  392. package/indicators/accumulation-distribution.js +1 -1
  393. package/indicators/accumulation-distribution.js.map +1 -1
  394. package/indicators/accumulation-distribution.src.js +6 -1
  395. package/indicators/ao.js +6 -6
  396. package/indicators/ao.js.map +1 -1
  397. package/indicators/ao.src.js +23 -14
  398. package/indicators/apo.js +1 -1
  399. package/indicators/apo.js.map +1 -1
  400. package/indicators/apo.src.js +6 -1
  401. package/indicators/aroon-oscillator.js +10 -10
  402. package/indicators/aroon-oscillator.js.map +1 -1
  403. package/indicators/aroon-oscillator.src.js +7 -3
  404. package/indicators/aroon.js +1 -1
  405. package/indicators/aroon.js.map +1 -1
  406. package/indicators/aroon.src.js +16 -3
  407. package/indicators/atr.js +1 -1
  408. package/indicators/atr.js.map +1 -1
  409. package/indicators/atr.src.js +17 -4
  410. package/indicators/bollinger-bands.js +1 -1
  411. package/indicators/bollinger-bands.js.map +1 -1
  412. package/indicators/bollinger-bands.src.js +6 -2
  413. package/indicators/cci.js +1 -1
  414. package/indicators/cci.js.map +1 -1
  415. package/indicators/cci.src.js +17 -4
  416. package/indicators/chaikin.js +8 -8
  417. package/indicators/chaikin.js.map +1 -1
  418. package/indicators/chaikin.src.js +13 -5
  419. package/indicators/cmf.js +1 -1
  420. package/indicators/cmf.js.map +1 -1
  421. package/indicators/cmf.src.js +21 -1
  422. package/indicators/cmo.js +1 -1
  423. package/indicators/cmo.js.map +1 -1
  424. package/indicators/cmo.src.js +16 -2
  425. package/indicators/dema.js +1 -1
  426. package/indicators/dema.js.map +1 -1
  427. package/indicators/dema.src.js +26 -1
  428. package/indicators/disparity-index.js +1 -1
  429. package/indicators/disparity-index.src.js +1 -1
  430. package/indicators/dmi.js +1 -1
  431. package/indicators/dmi.js.map +1 -1
  432. package/indicators/dmi.src.js +6 -1
  433. package/indicators/dpo.js +1 -1
  434. package/indicators/dpo.js.map +1 -1
  435. package/indicators/dpo.src.js +20 -9
  436. package/indicators/ichimoku-kinko-hyo.js +1 -1
  437. package/indicators/ichimoku-kinko-hyo.js.map +1 -1
  438. package/indicators/ichimoku-kinko-hyo.src.js +35 -16
  439. package/indicators/indicators-all.js +199 -199
  440. package/indicators/indicators-all.js.map +1 -1
  441. package/indicators/indicators-all.src.js +754 -162
  442. package/indicators/indicators.js +1 -1
  443. package/indicators/indicators.js.map +1 -1
  444. package/indicators/indicators.src.js +12 -2
  445. package/indicators/keltner-channels.js +1 -1
  446. package/indicators/keltner-channels.js.map +1 -1
  447. package/indicators/keltner-channels.src.js +26 -1
  448. package/indicators/klinger.js +12 -12
  449. package/indicators/klinger.js.map +1 -1
  450. package/indicators/klinger.src.js +13 -4
  451. package/indicators/macd.js +1 -1
  452. package/indicators/macd.js.map +1 -1
  453. package/indicators/macd.src.js +22 -13
  454. package/indicators/mfi.js +1 -1
  455. package/indicators/mfi.js.map +1 -1
  456. package/indicators/mfi.src.js +24 -11
  457. package/indicators/momentum.js +1 -1
  458. package/indicators/momentum.js.map +1 -1
  459. package/indicators/momentum.src.js +31 -3
  460. package/indicators/natr.js +1 -1
  461. package/indicators/natr.js.map +1 -1
  462. package/indicators/natr.src.js +17 -3
  463. package/indicators/obv.js +1 -1
  464. package/indicators/obv.js.map +1 -1
  465. package/indicators/obv.src.js +11 -1
  466. package/indicators/pivot-points.js +1 -1
  467. package/indicators/pivot-points.js.map +1 -1
  468. package/indicators/pivot-points.src.js +32 -19
  469. package/indicators/ppo.js +1 -1
  470. package/indicators/ppo.js.map +1 -1
  471. package/indicators/ppo.src.js +15 -5
  472. package/indicators/price-channel.js +1 -1
  473. package/indicators/price-channel.js.map +1 -1
  474. package/indicators/price-channel.src.js +14 -9
  475. package/indicators/price-envelopes.js +1 -1
  476. package/indicators/price-envelopes.js.map +1 -1
  477. package/indicators/price-envelopes.src.js +26 -1
  478. package/indicators/psar.js +1 -1
  479. package/indicators/psar.js.map +1 -1
  480. package/indicators/psar.src.js +17 -4
  481. package/indicators/regressions.js +12 -11
  482. package/indicators/regressions.js.map +1 -1
  483. package/indicators/regressions.src.js +50 -15
  484. package/indicators/roc.js +1 -1
  485. package/indicators/roc.js.map +1 -1
  486. package/indicators/roc.src.js +16 -3
  487. package/indicators/rsi.js +1 -1
  488. package/indicators/rsi.js.map +1 -1
  489. package/indicators/rsi.src.js +21 -3
  490. package/indicators/slow-stochastic.js +1 -1
  491. package/indicators/slow-stochastic.js.map +1 -1
  492. package/indicators/slow-stochastic.src.js +26 -1
  493. package/indicators/stochastic.js +1 -1
  494. package/indicators/stochastic.js.map +1 -1
  495. package/indicators/stochastic.src.js +16 -1
  496. package/indicators/supertrend.js +7 -7
  497. package/indicators/supertrend.js.map +1 -1
  498. package/indicators/supertrend.src.js +18 -6
  499. package/indicators/tema.js +1 -1
  500. package/indicators/tema.src.js +1 -1
  501. package/indicators/trendline.js +1 -1
  502. package/indicators/trendline.js.map +1 -1
  503. package/indicators/trendline.src.js +15 -5
  504. package/indicators/trix.js +1 -1
  505. package/indicators/trix.js.map +1 -1
  506. package/indicators/trix.src.js +26 -1
  507. package/indicators/volume-by-price.js +17 -17
  508. package/indicators/volume-by-price.js.map +1 -1
  509. package/indicators/volume-by-price.src.js +38 -10
  510. package/indicators/vwap.js +1 -1
  511. package/indicators/vwap.js.map +1 -1
  512. package/indicators/vwap.src.js +12 -2
  513. package/indicators/williams-r.js +1 -1
  514. package/indicators/williams-r.js.map +1 -1
  515. package/indicators/williams-r.src.js +11 -1
  516. package/indicators/wma.js +1 -1
  517. package/indicators/wma.js.map +1 -1
  518. package/indicators/wma.src.js +31 -3
  519. package/indicators/zigzag.js +1 -1
  520. package/indicators/zigzag.js.map +1 -1
  521. package/indicators/zigzag.src.js +12 -2
  522. package/modules/accessibility.js +183 -182
  523. package/modules/accessibility.js.map +1 -1
  524. package/modules/accessibility.src.js +559 -554
  525. package/modules/annotations-advanced.d.ts +1 -1
  526. package/modules/annotations-advanced.js +193 -192
  527. package/modules/annotations-advanced.js.map +1 -1
  528. package/modules/annotations-advanced.src.d.ts +1 -1
  529. package/modules/annotations-advanced.src.js +9263 -8654
  530. package/modules/annotations.d.ts +1 -1
  531. package/modules/annotations.js +128 -126
  532. package/modules/annotations.js.map +1 -1
  533. package/modules/annotations.src.d.ts +1 -1
  534. package/modules/annotations.src.js +6699 -6063
  535. package/modules/arc-diagram.js +1 -1
  536. package/modules/arc-diagram.src.js +1 -1
  537. package/modules/arrow-symbols.js +1 -1
  538. package/modules/arrow-symbols.src.js +1 -1
  539. package/modules/boost-canvas.d.ts +19 -0
  540. package/modules/boost-canvas.js +81 -16
  541. package/modules/boost-canvas.js.map +1 -1
  542. package/modules/boost-canvas.src.d.ts +19 -0
  543. package/modules/boost-canvas.src.js +3334 -50
  544. package/modules/boost.d.ts +8 -26
  545. package/modules/boost.js +84 -77
  546. package/modules/boost.js.map +1 -1
  547. package/modules/boost.src.d.ts +8 -26
  548. package/modules/boost.src.js +2423 -1888
  549. package/modules/broken-axis.js +2 -2
  550. package/modules/broken-axis.js.map +1 -1
  551. package/modules/broken-axis.src.js +2 -2
  552. package/modules/bullet.js +1 -1
  553. package/modules/bullet.src.js +1 -1
  554. package/modules/coloraxis.js +1 -1
  555. package/modules/coloraxis.js.map +1 -1
  556. package/modules/coloraxis.src.js +5 -1
  557. package/modules/current-date-indicator.js +1 -1
  558. package/modules/current-date-indicator.src.js +1 -1
  559. package/modules/cylinder.js +9 -9
  560. package/modules/cylinder.js.map +1 -1
  561. package/modules/cylinder.src.js +2 -2
  562. package/modules/data.js +1 -1
  563. package/modules/data.src.js +1 -1
  564. package/modules/datagrouping.d.ts +22 -0
  565. package/modules/datagrouping.js +4 -4
  566. package/modules/datagrouping.js.map +1 -1
  567. package/modules/datagrouping.src.d.ts +22 -0
  568. package/modules/datagrouping.src.js +66 -28
  569. package/modules/debugger.js +6 -5
  570. package/modules/debugger.js.map +1 -1
  571. package/modules/debugger.src.js +81 -40
  572. package/modules/dependency-wheel.js +12 -12
  573. package/modules/dependency-wheel.js.map +1 -1
  574. package/modules/dependency-wheel.src.js +41 -14
  575. package/modules/dotplot.js +1 -1
  576. package/modules/dotplot.src.js +1 -1
  577. package/modules/drag-panes.js +1 -1
  578. package/modules/drag-panes.src.js +1 -1
  579. package/modules/draggable-points.js +5 -5
  580. package/modules/draggable-points.js.map +1 -1
  581. package/modules/draggable-points.src.js +5 -4
  582. package/modules/drilldown.d.ts +0 -10
  583. package/modules/drilldown.js +29 -29
  584. package/modules/drilldown.js.map +1 -1
  585. package/modules/drilldown.src.d.ts +0 -10
  586. package/modules/drilldown.src.js +12 -9
  587. package/modules/dumbbell.js +1 -1
  588. package/modules/dumbbell.src.js +1 -1
  589. package/modules/export-data.js +25 -24
  590. package/modules/export-data.js.map +1 -1
  591. package/modules/export-data.src.js +607 -499
  592. package/modules/exporting.js +38 -38
  593. package/modules/exporting.js.map +1 -1
  594. package/modules/exporting.src.js +559 -507
  595. package/modules/full-screen.js +8 -8
  596. package/modules/full-screen.js.map +1 -1
  597. package/modules/full-screen.src.js +76 -26
  598. package/modules/funnel.js +1 -1
  599. package/modules/funnel.src.js +1 -1
  600. package/modules/funnel3d.js +2 -2
  601. package/modules/funnel3d.js.map +1 -1
  602. package/modules/funnel3d.src.js +2 -2
  603. package/modules/gantt.js +217 -216
  604. package/modules/gantt.js.map +1 -1
  605. package/modules/gantt.src.js +1481 -1440
  606. package/modules/grid-axis.js +1 -1
  607. package/modules/grid-axis.src.js +1 -1
  608. package/modules/heatmap.js +1 -1
  609. package/modules/heatmap.js.map +1 -1
  610. package/modules/heatmap.src.js +10 -2
  611. package/modules/heikinashi.js +1 -1
  612. package/modules/heikinashi.src.js +1 -1
  613. package/modules/histogram-bellcurve.js +1 -1
  614. package/modules/histogram-bellcurve.src.js +1 -1
  615. package/modules/hollowcandlestick.js +1 -1
  616. package/modules/hollowcandlestick.src.js +1 -1
  617. package/modules/item-series.js +1 -1
  618. package/modules/item-series.src.js +1 -1
  619. package/modules/lollipop.js +6 -6
  620. package/modules/lollipop.js.map +1 -1
  621. package/modules/lollipop.src.js +37 -22
  622. package/modules/map.d.ts +3 -3
  623. package/modules/map.js +171 -171
  624. package/modules/map.js.map +1 -1
  625. package/modules/map.src.d.ts +3 -3
  626. package/modules/map.src.js +442 -414
  627. package/modules/marker-clusters.js +1 -1
  628. package/modules/marker-clusters.js.map +1 -1
  629. package/modules/marker-clusters.src.js +3 -1
  630. package/modules/networkgraph.js +55 -50
  631. package/modules/networkgraph.js.map +1 -1
  632. package/modules/networkgraph.src.js +2259 -1938
  633. package/modules/no-data-to-display.js +1 -1
  634. package/modules/no-data-to-display.src.js +1 -1
  635. package/modules/offline-exporting.js +2 -2
  636. package/modules/offline-exporting.src.js +2 -2
  637. package/modules/oldie-polyfills.js +1 -1
  638. package/modules/oldie-polyfills.src.js +1 -1
  639. package/modules/oldie.js +2 -2
  640. package/modules/oldie.src.js +2 -2
  641. package/modules/organization.js +15 -15
  642. package/modules/organization.js.map +1 -1
  643. package/modules/organization.src.js +10 -2
  644. package/modules/overlapping-datalabels.js +1 -1
  645. package/modules/overlapping-datalabels.src.js +1 -1
  646. package/modules/parallel-coordinates.js +11 -11
  647. package/modules/parallel-coordinates.js.map +1 -1
  648. package/modules/parallel-coordinates.src.js +13 -8
  649. package/modules/pareto.js +1 -1
  650. package/modules/pareto.src.js +1 -1
  651. package/modules/pathfinder.js +1 -1
  652. package/modules/pathfinder.src.js +1 -1
  653. package/modules/pattern-fill.js +1 -1
  654. package/modules/pattern-fill.src.js +1 -1
  655. package/modules/price-indicator.js +1 -1
  656. package/modules/price-indicator.src.js +1 -1
  657. package/modules/pyramid3d.js +1 -1
  658. package/modules/pyramid3d.src.js +1 -1
  659. package/modules/sankey.js +1 -1
  660. package/modules/sankey.js.map +1 -1
  661. package/modules/sankey.src.js +14 -2
  662. package/modules/series-label.js +5 -5
  663. package/modules/series-label.js.map +1 -1
  664. package/modules/series-label.src.js +3 -3
  665. package/modules/series-on-point.js +1 -1
  666. package/modules/series-on-point.js.map +1 -1
  667. package/modules/series-on-point.src.js +6 -2
  668. package/modules/solid-gauge.js +1 -1
  669. package/modules/solid-gauge.src.js +2 -2
  670. package/modules/sonification.d.ts +2 -2
  671. package/modules/sonification.js +1 -1
  672. package/modules/sonification.src.d.ts +2 -2
  673. package/modules/sonification.src.js +2 -2
  674. package/modules/static-scale.js +1 -1
  675. package/modules/static-scale.src.js +1 -1
  676. package/modules/stock-tools.d.ts +1 -23
  677. package/modules/stock-tools.js +109 -179
  678. package/modules/stock-tools.js.map +1 -1
  679. package/modules/stock-tools.src.d.ts +1 -23
  680. package/modules/stock-tools.src.js +2605 -6335
  681. package/modules/stock.d.ts +8 -0
  682. package/modules/stock.js +105 -105
  683. package/modules/stock.js.map +1 -1
  684. package/modules/stock.src.d.ts +8 -0
  685. package/modules/stock.src.js +105 -45
  686. package/modules/streamgraph.js +1 -1
  687. package/modules/streamgraph.src.js +1 -1
  688. package/modules/sunburst.js +72 -72
  689. package/modules/sunburst.js.map +1 -1
  690. package/modules/sunburst.src.js +38 -12
  691. package/modules/tilemap.js +1 -1
  692. package/modules/tilemap.src.js +1 -1
  693. package/modules/timeline.js +1 -1
  694. package/modules/timeline.js.map +1 -1
  695. package/modules/timeline.src.js +3 -1
  696. package/modules/treegrid.js +57 -57
  697. package/modules/treegrid.js.map +1 -1
  698. package/modules/treegrid.src.js +1022 -1014
  699. package/modules/treemap.js +1 -1
  700. package/modules/treemap.js.map +1 -1
  701. package/modules/treemap.src.js +8 -4
  702. package/modules/variable-pie.js +1 -1
  703. package/modules/variable-pie.src.js +1 -1
  704. package/modules/variwide.js +1 -1
  705. package/modules/variwide.src.js +1 -1
  706. package/modules/vector.js +2 -2
  707. package/modules/vector.js.map +1 -1
  708. package/modules/vector.src.js +3 -5
  709. package/modules/venn.js +1 -1
  710. package/modules/venn.src.js +5 -5
  711. package/modules/windbarb.js +1 -1
  712. package/modules/windbarb.src.js +1 -1
  713. package/modules/wordcloud.js +1 -1
  714. package/modules/wordcloud.src.js +3 -3
  715. package/modules/xrange.js +17 -17
  716. package/modules/xrange.js.map +1 -1
  717. package/modules/xrange.src.js +411 -397
  718. package/package.json +1 -1
  719. package/themes/avocado.js +1 -1
  720. package/themes/avocado.src.js +1 -1
  721. package/themes/brand-dark.js +1 -1
  722. package/themes/brand-dark.src.js +1 -1
  723. package/themes/brand-light.js +1 -1
  724. package/themes/brand-light.src.js +1 -1
  725. package/themes/dark-blue.js +1 -1
  726. package/themes/dark-blue.src.js +1 -1
  727. package/themes/dark-green.js +1 -1
  728. package/themes/dark-green.src.js +1 -1
  729. package/themes/dark-unica.js +1 -1
  730. package/themes/dark-unica.src.js +1 -1
  731. package/themes/gray.js +1 -1
  732. package/themes/gray.src.js +1 -1
  733. package/themes/grid-light.js +1 -1
  734. package/themes/grid-light.src.js +1 -1
  735. package/themes/grid.js +1 -1
  736. package/themes/grid.src.js +1 -1
  737. package/themes/high-contrast-dark.js +1 -1
  738. package/themes/high-contrast-dark.src.js +1 -1
  739. package/themes/high-contrast-light.js +1 -1
  740. package/themes/high-contrast-light.src.js +1 -1
  741. package/themes/sand-signika.js +1 -1
  742. package/themes/sand-signika.src.js +1 -1
  743. package/themes/skies.js +1 -1
  744. package/themes/skies.src.js +1 -1
  745. package/themes/sunset.js +1 -1
  746. package/themes/sunset.src.js +1 -1
  747. package/es-modules/Core/Axis/StackingAxis.js +0 -215
  748. package/es-modules/Core/Axis/TreeGridAxis.js +0 -720
  749. package/es-modules/Core/Axis/TreeGridTick.js +0 -317
  750. package/es-modules/Extensions/Annotations/AnnotationsDefaults.js +0 -0
  751. package/es-modules/Extensions/Annotations/Mixins/MarkerMixin.js +0 -179
  752. package/es-modules/Extensions/Annotations/Popup.js +0 -1123
  753. package/es-modules/Extensions/Boost/BoostAttach.js +0 -154
  754. package/es-modules/Extensions/Boost/BoostInit.js +0 -324
  755. package/es-modules/Extensions/Boost/BoostOptions.js +0 -245
  756. package/es-modules/Extensions/Boost/BoostOverrides.js +0 -386
  757. package/es-modules/Extensions/Boost/BoostUtils.js +0 -255
  758. package/es-modules/Extensions/Boost/WGLVBuffer.js +0 -153
  759. package/es-modules/Extensions/Stacking.js +0 -517
  760. package/es-modules/Series/Networkgraph/DraggableNodes.js +0 -132
  761. package/es-modules/Series/Networkgraph/Integrations.js +0 -348
  762. package/es-modules/Series/Networkgraph/Networkgraph.js +0 -1180
  763. package/es-modules/Series/XRange/XRangeComposition.js +0 -49
@@ -24,36 +24,18 @@ declare module "../highcharts" {
24
24
  */
25
25
  isChartSeriesBoosting(chart: Chart): boolean;
26
26
  }
27
- interface Series {
28
- /**
29
- * If implemented in the core, parts of this can probably be shared with
30
- * other similar methods in Highcharts.
31
- */
32
- destroyGraphics(): void;
33
- /**
34
- * Enter boost mode and apply boost-specific properties.
35
- */
36
- enterBoost(): void;
37
- /**
38
- * Exit from boost mode and restore non-boost properties.
39
- */
40
- exitBoost(): void;
41
- /**
42
- * Return a full Point object based on the index. The boost module uses
43
- * stripped point objects for performance reasons.
44
- *
45
- * @param boostPoint
46
- * A stripped-down point object
47
- *
48
- * @return A Point object as per
49
- * https://api.highcharts.com/highcharts#Point
50
- */
51
- getPoint(boostPoint: (object|Point)): Point;
52
- }
53
27
  /**
54
28
  * Initialize the canvas boost.
55
29
  */
56
30
  function initCanvasBoost(): void;
31
+ /**
32
+ * Override a bunch of methods the same way. If the number of points is
33
+ * below the threshold, run the original method. If not, check for a canvas
34
+ * version or do nothing.
35
+ *
36
+ * Note that we're not overriding any of these for heatmaps.
37
+ */
38
+ function wrapSeriesFunctions(): void;
57
39
  }
58
40
  export default factory;
59
41
  export let Highcharts: typeof _Highcharts;
package/modules/boost.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- Highcharts JS v10.2.0 (2022-07-05)
2
+ Highcharts JS v10.2.1 (2022-08-29)
3
3
 
4
4
  Boost module
5
5
 
@@ -9,84 +9,91 @@
9
9
  License: www.highcharts.com/license
10
10
 
11
11
  */
12
- (function(b){"object"===typeof module&&module.exports?(b["default"]=b,module.exports=b):"function"===typeof define&&define.amd?define("highcharts/modules/boost",["highcharts"],function(t){b(t);b.Highcharts=t;return b}):b("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(b){function t(b,y,A,m){b.hasOwnProperty(y)||(b[y]=m.apply(null,A),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:y,module:b[y]}})))}b=b?b._modules:{};t(b,"Extensions/Boost/Boostables.js",
13
- [],function(){return"area areaspline arearange column columnrange bar line scatter heatmap bubble treemap".split(" ")});t(b,"Extensions/Boost/BoostableMap.js",[b["Extensions/Boost/Boostables.js"]],function(b){var n={};b.forEach(function(b){n[b]=1});return n});t(b,"Extensions/Boost/WGLShader.js",[b["Core/Utilities.js"]],function(b){var n=b.clamp,A=b.error,m=b.pick;return function(d){function b(){c.length&&A("[highcharts boost] shader error - "+c.join("\n"))}function y(a,f){var k=d.createShader("vertex"===
14
- f?d.VERTEX_SHADER:d.FRAGMENT_SHADER);d.shaderSource(k,a);d.compileShader(k);return d.getShaderParameter(k,d.COMPILE_STATUS)?k:(c.push("when compiling "+f+" shader:\n"+d.getShaderInfoLog(k)),!1)}function q(){function k(a){return d.getUniformLocation(h,a)}var p=y("#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 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 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 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 checkTreshold) {\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 (checkTreshold > 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 && 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}",
15
- "vertex"),l=y("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");if(!p||!l)return h=!1,b(),!1;
16
- h=d.createProgram();d.attachShader(h,p);d.attachShader(h,l);d.linkProgram(h);if(!d.getProgramParameter(h,d.LINK_STATUS))return c.push(d.getProgramInfoLog(h)),b(),h=!1;d.useProgram(h);d.bindAttribLocation(h,0,"aVertexPosition");e=k("uPMatrix");r=k("pSize");w=k("fillColor");V=k("isBubble");G=k("bubbleSizeAbs");D=k("bubbleSizeByArea");W=k("uSampler");F=k("skipTranslation");a=k("isCircle");f=k("isInverted");return!0}function u(a,c){d&&h&&(a=x[a]=x[a]||d.getUniformLocation(h,a),d.uniform1f(a,c))}var x=
17
- {},h,e,r,w,V,G,D,F,a,f,c=[],W;return d&&!q()?!1:{psUniform:function(){return r},pUniform:function(){return e},fillColorUniform:function(){return w},setBubbleUniforms:function(k,c,f,e){void 0===e&&(e=1);var l=k.options,g=Number.MAX_VALUE,b=-Number.MAX_VALUE;if(d&&h&&k.is("bubble")){var r=k.getPxExtremes();g=m(l.zMin,n(c,!1===l.displayNegative?l.zThreshold:-Number.MAX_VALUE,g));b=m(l.zMax,Math.max(b,f));d.uniform1i(V,1);d.uniform1i(a,1);d.uniform1i(D,"width"!==k.options.sizeBy);d.uniform1i(G,k.options.sizeByAbsoluteValue);
18
- u("bubbleZMin",g);u("bubbleZMax",b);u("bubbleZThreshold",k.options.zThreshold);u("bubbleMinSize",r.minPxSize*e);u("bubbleMaxSize",r.maxPxSize*e)}},bind:function(){d&&h&&d.useProgram(h)},program:function(){return h},create:q,setUniform:u,setPMatrix:function(a){d&&h&&d.uniformMatrix4fv(e,!1,a)},setColor:function(a){d&&h&&d.uniform4f(w,a[0]/255,a[1]/255,a[2]/255,a[3])},setPointSize:function(a){d&&h&&d.uniform1f(r,a)},setSkipTranslation:function(a){d&&h&&d.uniform1i(F,!0===a?1:0)},setTexture:function(a){d&&
19
- h&&d.uniform1i(W,a)},setDrawAsCircle:function(c){d&&h&&d.uniform1i(a,c?1:0)},reset:function(){d&&h&&(d.uniform1i(V,0),d.uniform1i(a,0))},setInverted:function(a){d&&h&&d.uniform1i(f,a)},destroy:function(){d&&h&&(d.deleteProgram(h),h=!1)}}}});t(b,"Extensions/Boost/WGLVBuffer.js",[],function(){return function(b,y,A){function m(){d&&(b.deleteBuffer(d),v=d=!1);u=0;n=A||2;x=[]}var d=!1,v=!1,n=A||2,q=!1,u=0,x;return{destroy:m,bind:function(){if(!d)return!1;b.vertexAttribPointer(v,n,b.FLOAT,!1,0,0)},data:x,
20
- build:function(h,e,r){var w;x=h||[];if(!(x&&0!==x.length||q))return m(),!1;n=r||n;d&&b.deleteBuffer(d);q||(w=new Float32Array(x));d=b.createBuffer();b.bindBuffer(b.ARRAY_BUFFER,d);b.bufferData(b.ARRAY_BUFFER,q||w,b.STATIC_DRAW);v=b.getAttribLocation(y.program(),e);b.enableVertexAttribArray(v);return!0},render:function(h,e,r){var w=q?q.length:x.length;if(!d||!w)return!1;if(!h||h>w||0>h)h=0;if(!e||e>w)e=w;if(h>=e)return!1;b.drawArrays(b[(r||"points").toUpperCase()],h/n,(e-h)/n);return!0},allocate:function(b){u=
21
- -1;q=new Float32Array(4*b)},push:function(b,e,d,w){q&&(q[++u]=b,q[++u]=e,q[++u]=d,q[++u]=w)}}}});t(b,"Extensions/Boost/WGLRenderer.js",[b["Core/Color/Color.js"],b["Extensions/Boost/WGLShader.js"],b["Extensions/Boost/WGLVBuffer.js"],b["Core/Globals.js"],b["Core/Utilities.js"]],function(b,y,A,m,d){var v=b.parse,n=m.doc,q=m.win,u=d.isNumber,x=d.isObject,h=d.merge,e=d.objectEach,r=d.pick;return function(d){function w(){return z.pixelRatio||q.devicePixelRatio||1}function G(a){if(a.isSeriesBoosting){var c=
22
- !!a.options.stacking;var k=a.xData||a.options.xData||a.processedXData;c=(c?a.data:k||a.options.data).length;"treemap"===a.type?c*=12:"heatmap"===a.type?c*=6:fa[a.type]&&(c*=2);return c}return 0}function D(){g.clear(g.COLOR_BUFFER_BIT|g.DEPTH_BUFFER_BIT)}function F(a,c){function k(a){a&&(c.colorData.push(a[0]),c.colorData.push(a[1]),c.colorData.push(a[2]),c.colorData.push(a[3]))}function f(a,f,b,g,l){void 0===g&&(g=1);k(l);1===la||z.useGPUTranslations&&!c.skipTranslation||(a*=la,f*=la,g*=la);z.usePreallocated?
23
- (Q.push(a,f,b?1:0,g),sa+=4):(M.push(a),M.push(f),M.push(b?la:0),M.push(g))}function b(){c.segments.length&&(c.segments[c.segments.length-1].to=M.length||sa)}function g(){c.segments.length&&c.segments[c.segments.length-1].from===(M.length||sa)||(b(),c.segments.push({from:M.length||sa}))}function l(a,c,b,g,l){k(l);f(a+b,c);k(l);f(a,c);k(l);f(a,c+g);k(l);f(a,c+g);k(l);f(a+b,c+g);k(l);f(a+b,c)}function e(a,k){z.useGPUTranslations||(c.skipTranslation=!0,a.x=y.toPixels(a.x,!0),a.y=D.toPixels(a.y,!0));k?
24
- M=[a.x,a.y,0,2].concat(M):f(a.x,a.y,0,2)}var d=a.pointArrayMap&&"low,high"===a.pointArrayMap.join(","),r=a.chart,B=a.options,h=!!B.stacking,W=B.data,p=a.xAxis.getExtremes(),q=p.min,m=p.max;p=a.yAxis.getExtremes();var u=p.min,ba=p.max,n=a.xData||B.xData||a.processedXData,V=a.yData||B.yData||a.processedYData,G=a.zData||B.zData||a.processedZData,D=a.yAxis,y=a.xAxis,A=a.chart.plotWidth,t=!n||0===n.length,F=B.connectNulls;p=a.points||!1;var O=!1,L=!1,J,da,S=h?a.data:n||W,I={x:Number.MAX_VALUE,y:0},pa=
25
- {x:-Number.MAX_VALUE,y:0},aa=0,U=!1,E,C,N,Ca,K=-1,ea=!1,P=!1,T,Sa="undefined"===typeof r.index,Da=!1,Ea=!1,H=!1,Qa=fa[a.type],Fa=!1,Ka=!0,La=!0,Ra=B.zoneAxis||"y",qa=B.zones||!1,R=!1,Ma=B.threshold,Ga=!1,la=w();if(!(B.boostData&&0<B.boostData.length)){B.gapSize&&(Ga="value"!==B.gapUnit?B.gapSize*a.closestPointRange:B.gapSize);if(qa){var ra=[];qa.forEach(function(a,c){if(a.color){var f=v(a.color).rgba;f[0]/=255;f[1]/=255;f[2]/=255;ra[c]=f;R||"undefined"!==typeof a.value||(R=f)}});R||(n=a.pointAttribs&&
26
- a.pointAttribs().fill||a.color,R=v(n).rgba,R[0]/=255,R[1]/=255,R[2]/=255)}r.inverted&&(A=a.chart.plotHeight);a.closestPointRangePx=Number.MAX_VALUE;g();if(p&&0<p.length)c.skipTranslation=!0,c.drawMode="triangles",p[0].node&&p[0].node.levelDynamic&&p.sort(function(a,c){if(a.node){if(a.node.levelDynamic>c.node.levelDynamic)return 1;if(a.node.levelDynamic<c.node.levelDynamic)return-1}return 0}),p.forEach(function(c){var f=c.plotY;if("undefined"!==typeof f&&!isNaN(f)&&null!==c.y&&c.shapeArgs){var k=c.shapeArgs;
27
- f=k.x;f=void 0===f?0:f;var b=k.y;b=void 0===b?0:b;var g=k.width;g=void 0===g?0:g;k=k.height;k=void 0===k?0:k;var e=r.styledMode?c.series.colorAttribs(c):e=c.series.pointAttribs(c);c=e["stroke-width"]||0;H=v(e.fill).rgba;H[0]/=255;H[1]/=255;H[2]/=255;a.is("treemap")&&(c=c||1,da=v(e.stroke).rgba,da[0]/=255,da[1]/=255,da[2]/=255,l(f,b,g,k,da),c/=2);a.is("heatmap")&&r.inverted&&(f=y.len-f,b=D.len-b,g=-g,k=-k);l(f+c,b+c,g-2*c,k-2*c,H)}});else{for(p=function(){N=S[++K];if("undefined"===typeof N)return"continue";
28
- if(Sa)return"break";var k=W&&W[K];!t&&x(k,!0)&&k.color&&(H=v(k.color).rgba,H[0]/=255,H[1]/=255,H[2]/=255);t?(E=N[0],C=N[1],S[K+1]&&(P=S[K+1][0]),S[K-1]&&(ea=S[K-1][0]),3<=N.length&&(Ca=N[2],N[2]>c.zMax&&(c.zMax=N[2]),N[2]<c.zMin&&(c.zMin=N[2]))):(E=N,C=V[K],S[K+1]&&(P=S[K+1]),S[K-1]&&(ea=S[K-1]),G&&G.length&&(Ca=G[K],G[K]>c.zMax&&(c.zMax=G[K]),G[K]<c.zMin&&(c.zMin=G[K])));if(!F&&(null===E||null===C))return g(),"continue";P&&P>=q&&P<=m&&(Da=!0);ea&&ea>=q&&ea<=m&&(Ea=!0);d?(t&&(C=N.slice(1,3)),T=C[0],
29
- C=C[1]):h&&(E=N.x,C=N.stackY,T=C-N.y);null!==u&&"undefined"!==typeof u&&null!==ba&&"undefined"!==typeof ba&&(Ka=C>=u&&C<=ba);E>m&&pa.x<m&&(pa.x=E,pa.y=C);E<q&&I.x>q&&(I.x=E,I.y=C);if(null===C&&F)return"continue";if(null===C||!Ka&&!Da&&!Ea)return g(),"continue";(P>=q||E>=q)&&(ea<=m||E<=m)&&(Fa=!0);if(!Fa&&!Da&&!Ea)return"continue";Ga&&E-ea>Ga&&g();if(qa){var b;qa.some(function(a,c){var f=qa[c-1];return"x"===Ra?"undefined"!==typeof a.value&&E<=a.value?(ra[c]&&(!f||E>=f.value)&&(b=ra[c]),!0):!1:"undefined"!==
30
- typeof a.value&&C<=a.value?(ra[c]&&(!f||C>=f.value)&&(b=ra[c]),!0):!1});H=b||R||H}if(!z.useGPUTranslations&&(c.skipTranslation=!0,E=y.toPixels(E,!0),C=D.toPixels(C,!0),E>A&&"points"===c.drawMode))return"continue";c.hasMarkers&&Fa&&!1!==O&&(a.closestPointRangePx=Math.min(a.closestPointRangePx,Math.abs(E-O)));if(!z.useGPUTranslations&&!z.usePreallocated&&O&&1>Math.abs(E-O)&&L&&1>Math.abs(C-L))return z.debug.showSkipSummary&&++aa,"continue";if(Qa){J=T;if(!1===T||"undefined"===typeof T)J=0>C?C:0;d||h||
31
- (J=Math.max(null===Ma?u:Ma,u));z.useGPUTranslations||(J=D.toPixels(J,!0));f(E,J,0,0,H)}B.step&&!La&&f(E,L,0,2,H);f(E,C,0,"bubble"===a.type?Ca||1:2,H);O=E;L=C;U=!0;La=!1};K<S.length-1&&"break"!==p(););z.debug.showSkipSummary&&console.log("skipped points:",aa);U||!1===F||"line_strip"!==a.drawMode||(I.x<Number.MAX_VALUE&&e(I,!0),pa.x>-Number.MAX_VALUE&&e(pa))}b()}}function a(){I=[];P.data=M=[];L=[];Q&&Q.destroy()}function f(a){if(l){var c=w();l.setUniform("xAxisTrans",a.transA*c);l.setUniform("xAxisMin",
32
- a.min);l.setUniform("xAxisMinPad",a.minPixelPadding*c);l.setUniform("xAxisPointRange",a.pointRange);l.setUniform("xAxisLen",a.len*c);l.setUniform("xAxisPos",a.pos*c);l.setUniform("xAxisCVSCoord",!a.horiz);l.setUniform("xAxisIsLog",!!a.logarithmic);l.setUniform("xAxisReversed",!!a.reversed)}}function c(a){if(l){var c=w();l.setUniform("yAxisTrans",a.transA*c);l.setUniform("yAxisMin",a.min);l.setUniform("yAxisMinPad",a.minPixelPadding*c);l.setUniform("yAxisPointRange",a.pointRange);l.setUniform("yAxisLen",
33
- a.len*c);l.setUniform("yAxisPos",a.pos*c);l.setUniform("yAxisCVSCoord",!a.horiz);l.setUniform("yAxisIsLog",!!a.logarithmic);l.setUniform("yAxisReversed",!!a.reversed)}}function W(a,c){l.setUniform("hasThreshold",a);l.setUniform("translatedThreshold",c)}function k(k){var e=w();if(k)O=k.chartWidth*e,t=k.chartHeight*e;else return!1;if(!(g&&O&&t&&l))return!1;z.debug.timeRendering&&console.time("gl rendering");g.canvas.width=O;g.canvas.height=t;l.bind();g.viewport(0,0,O,t);l.setPMatrix([2/O,0,0,0,0,-(2/
34
- t),0,0,0,0,-2,0,-1,1,-1,1]);1<z.lineWidth&&!m.isMS&&g.lineWidth(z.lineWidth);Q.build(P.data,"aVertexPosition",4);Q.bind();l.setInverted(k.inverted);I.forEach(function(a,d){var p=a.series.options,h=p.marker;var w="undefined"!==typeof p.lineWidth?p.lineWidth:1;var B=p.threshold,q=u(B),m=a.series.yAxis.getThreshold(B);B=r(p.marker?p.marker.enabled:null,a.series.xAxis.isRadial?!0:null,a.series.closestPointRangePx>2*((p.marker?p.marker.radius:10)||10));h=aa[h&&h.symbol||a.series.symbol]||aa.circle;if(0!==
35
- a.segments.length&&a.segments[0].from!==a.segments[0].to){h.isReady&&(g.bindTexture(g.TEXTURE_2D,h.handle),l.setTexture(h.handle));k.styledMode?h=a.series.markerGroup&&a.series.markerGroup.getStyle("fill"):(h="points"===a.drawMode&&a.series.pointAttribs&&a.series.pointAttribs().fill||a.series.color,p.colorByPoint&&(h=a.series.chart.options.colors[d]));a.series.fillOpacity&&p.fillOpacity&&(h=(new b(h)).setOpacity(r(p.fillOpacity,1)).get());h=v(h).rgba;z.useAlpha||(h[3]=1);"lines"===a.drawMode&&z.useAlpha&&
36
- 1>h[3]&&(h[3]/=10);"add"===p.boostBlending?(g.blendFunc(g.SRC_ALPHA,g.ONE),g.blendEquation(g.FUNC_ADD)):"mult"===p.boostBlending||"multiply"===p.boostBlending?g.blendFunc(g.DST_COLOR,g.ZERO):"darken"===p.boostBlending?(g.blendFunc(g.ONE,g.ONE),g.blendEquation(g.FUNC_MIN)):g.blendFuncSeparate(g.SRC_ALPHA,g.ONE_MINUS_SRC_ALPHA,g.ONE,g.ONE_MINUS_SRC_ALPHA);l.reset();0<a.colorData.length?(l.setUniform("hasColor",1),d=A(g,l),d.build(a.colorData,"aColor",4),d.bind()):g.disableVertexAttribArray(g.getAttribLocation(l.program(),
37
- "aColor"));l.setColor(h);f(a.series.xAxis);c(a.series.yAxis);W(q,m);"points"===a.drawMode&&l.setPointSize(2*r(p.marker&&p.marker.radius,.5)*e);l.setSkipTranslation(a.skipTranslation);"bubble"===a.series.type&&l.setBubbleUniforms(a.series,a.zMin,a.zMax,e);l.setDrawAsCircle(T[a.series.type]||!1);if(0<w||"line_strip"!==a.drawMode)for(w=0;w<a.segments.length;w++)Q.render(a.segments[w].from,a.segments[w].to,a.drawMode);if(a.hasMarkers&&B)for(l.setPointSize(2*r(p.marker&&p.marker.radius,5)*e),l.setDrawAsCircle(!0),
38
- w=0;w<a.segments.length;w++)Q.render(a.segments[w].from,a.segments[w].to,"POINTS")}});z.debug.timeRendering&&console.timeEnd("gl rendering");d&&d();a()}function p(a){D();if(a.renderer.forExport)return k(a);U?k(a):setTimeout(function(){p(a)},1)}var l=!1,Q=!1,sa=0,g=!1,O=0,t=0,M=!1,L=!1,P={},U=!1,I=[],aa={},fa={column:!0,columnrange:!0,bar:!0,area:!0,areaspline:!0,arearange:!0},T={scatter:!0,bubble:!0},z={pointSize:1,lineWidth:1,fillColor:"#AA00AA",useAlpha:!0,usePreallocated:!1,useGPUTranslations:!1,
39
- debug:{timeRendering:!1,timeSeriesProcessing:!1,timeSetup:!1,timeBufferCopy:!1,timeKDTree:!1,showSkipSummary:!1}};return P={allocateBufferForSingleSeries:function(a){var c=0;z.usePreallocated&&(a.isSeriesBoosting&&(c=G(a)),Q.allocate(c))},pushSeries:function(a){0<I.length&&I[I.length-1].hasMarkers&&(I[I.length-1].markerTo=L.length);z.debug.timeSeriesProcessing&&console.time("building "+a.type+" series");var c={segments:[],markerFrom:L.length,colorData:[],series:a,zMin:Number.MAX_VALUE,zMax:-Number.MAX_VALUE,
40
- hasMarkers:a.options.marker?!1!==a.options.marker.enabled:!1,showMarkers:!0,drawMode:{area:"lines",arearange:"lines",areaspline:"lines",column:"lines",columnrange:"lines",bar:"lines",line:"line_strip",scatter:"points",heatmap:"triangles",treemap:"triangles",bubble:"points"}[a.type]||"line_strip"};a.index>=I.length?I.push(c):I[a.index]=c;F(a,c);z.debug.timeSeriesProcessing&&console.timeEnd("building "+a.type+" series")},setSize:function(a,c){O===a&&t===c||!l||(O=a,t=c,l.bind(),l.setPMatrix([2/O,0,
41
- 0,0,0,-(2/t),0,0,0,0,-2,0,-1,1,-1,1]))},inited:function(){return U},setThreshold:W,init:function(c,f){function k(a,c){var k={isReady:!1,texture:n.createElement("canvas"),handle:g.createTexture()},f=k.texture.getContext("2d");aa[a]=k;k.texture.width=512;k.texture.height=512;f.mozImageSmoothingEnabled=!1;f.webkitImageSmoothingEnabled=!1;f.msImageSmoothingEnabled=!1;f.imageSmoothingEnabled=!1;f.strokeStyle="rgba(255, 255, 255, 0)";f.fillStyle="#FFF";c(f);try{g.activeTexture(g.TEXTURE0),g.bindTexture(g.TEXTURE_2D,
42
- k.handle),g.texImage2D(g.TEXTURE_2D,0,g.RGBA,g.RGBA,g.UNSIGNED_BYTE,k.texture),g.texParameteri(g.TEXTURE_2D,g.TEXTURE_WRAP_S,g.CLAMP_TO_EDGE),g.texParameteri(g.TEXTURE_2D,g.TEXTURE_WRAP_T,g.CLAMP_TO_EDGE),g.texParameteri(g.TEXTURE_2D,g.TEXTURE_MAG_FILTER,g.LINEAR),g.texParameteri(g.TEXTURE_2D,g.TEXTURE_MIN_FILTER,g.LINEAR),g.bindTexture(g.TEXTURE_2D,null),k.isReady=!0}catch(ca){}}var b=0,e=["webgl","experimental-webgl","moz-webgl","webkit-3d"];U=!1;if(!c)return!1;for(z.debug.timeSetup&&console.time("gl setup");b<
43
- e.length&&!(g=c.getContext(e[b],{}));b++);if(g)f||a();else return!1;g.enable(g.BLEND);g.blendFunc(g.SRC_ALPHA,g.ONE_MINUS_SRC_ALPHA);g.disable(g.DEPTH_TEST);g.depthFunc(g.LESS);l=y(g);if(!l)return!1;Q=A(g,l);k("circle",function(a){a.beginPath();a.arc(256,256,256,0,2*Math.PI);a.stroke();a.fill()});k("square",function(a){a.fillRect(0,0,512,512)});k("diamond",function(a){a.beginPath();a.moveTo(256,0);a.lineTo(512,256);a.lineTo(256,512);a.lineTo(0,256);a.lineTo(256,0);a.fill()});k("triangle",function(a){a.beginPath();
44
- a.moveTo(0,512);a.lineTo(256,0);a.lineTo(512,512);a.lineTo(0,512);a.fill()});k("triangle-down",function(a){a.beginPath();a.moveTo(0,0);a.lineTo(256,512);a.lineTo(512,0);a.lineTo(0,0);a.fill()});U=!0;z.debug.timeSetup&&console.timeEnd("gl setup");return!0},render:p,settings:z,valid:function(){return!1!==g},clear:D,flush:a,setXAxis:f,setYAxis:c,data:M,gl:function(){return g},allocateBuffer:function(a){var c=0;z.usePreallocated&&(a.series.forEach(function(a){a.isSeriesBoosting&&(c+=G(a))}),Q.allocate(c))},
45
- destroy:function(){a();Q.destroy();l.destroy();g&&(e(aa,function(a){a.handle&&g.deleteTexture(a.handle)}),g.canvas.width=1,g.canvas.height=1)},setOptions:function(a){"pixelRatio"in a||(a.pixelRatio=1);h(!0,z,a)}}}});t(b,"Extensions/Boost/BoostAttach.js",[b["Core/Chart/Chart.js"],b["Extensions/Boost/WGLRenderer.js"],b["Core/Globals.js"],b["Core/Utilities.js"]],function(b,y,t,m){var d=t.doc,v=m.error,n;return function(q,m){var x=q.chartWidth,h=q.chartHeight,e=q,r=q.seriesGroup||m.group,w=d.implementation.hasFeature("www.http://w3.org/TR/SVG11/feature#Extensibility",
46
- "1.1");e=q.isChartSeriesBoosting()?q:m;w=!1;n||(n=d.createElement("canvas"));e.renderTarget||(e.canvas=n,q.renderer.forExport||!w?(e.renderTarget=q.renderer.image("",0,0,x,h).addClass("highcharts-boost-canvas").add(r),e.boostClear=function(){e.renderTarget.attr({href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="})},e.boostCopy=function(){e.boostResizeTarget();e.renderTarget.attr({href:e.canvas.toDataURL("image/png")})}):(e.renderTargetFo=
47
- q.renderer.createElement("foreignObject").add(r),e.renderTarget=d.createElement("canvas"),e.renderTargetCtx=e.renderTarget.getContext("2d"),e.renderTargetFo.element.appendChild(e.renderTarget),e.boostClear=function(){e.renderTarget.width=e.canvas.width;e.renderTarget.height=e.canvas.height},e.boostCopy=function(){e.renderTarget.width=e.canvas.width;e.renderTarget.height=e.canvas.height;e.renderTargetCtx.drawImage(e.canvas,0,0)}),e.boostResizeTarget=function(){x=q.chartWidth;h=q.chartHeight;(e.renderTargetFo||
48
- e.renderTarget).attr({x:0,y:0,width:x,height:h}).css({pointerEvents:"none",mixedBlendMode:"normal",opacity:1});e instanceof b&&e.markerGroup.translate(q.plotLeft,q.plotTop)},e.boostClipRect=q.renderer.clipRect(),(e.renderTargetFo||e.renderTarget).clip(e.boostClipRect),e instanceof b&&(e.markerGroup=e.renderer.g().add(r),e.markerGroup.translate(m.xAxis.pos,m.yAxis.pos)));e.canvas.width=x;e.canvas.height=h;e.boostClipRect.attr(q.getBoostClipRect(e));e.boostResizeTarget();e.boostClear();e.ogl||(e.ogl=
49
- y(function(){e.ogl.settings.debug.timeBufferCopy&&console.time("buffer copy");e.boostCopy();e.ogl.settings.debug.timeBufferCopy&&console.timeEnd("buffer copy")}),e.ogl.init(e.canvas)||v("[highcharts boost] - unable to init WebGL renderer"),e.ogl.setOptions(q.options.boost||{}),e instanceof b&&e.ogl.allocateBuffer(q));e.ogl.setSize(x,h);return e.ogl}});t(b,"Extensions/Boost/BoostUtils.js",[b["Core/Globals.js"],b["Extensions/Boost/BoostableMap.js"],b["Extensions/Boost/BoostAttach.js"],b["Core/Utilities.js"]],
50
- function(b,y,t,m){function d(){for(var b=[],e=0;e<arguments.length;e++)b[e]=arguments[e];var d=-Number.MAX_VALUE;b.forEach(function(b){if("undefined"!==typeof b&&null!==b&&"undefined"!==typeof b.length&&0<b.length)return d=b.length,!0});return d}function v(b,e,d){b&&e.renderTarget&&e.canvas&&!(d||e.chart).isChartSeriesBoosting()&&b.render(d||e.chart)}function n(b,e){b&&e.renderTarget&&e.canvas&&!e.chart.isChartSeriesBoosting()&&b.allocateBufferForSingleSeries(e)}function q(b,e,d,h,m,n){m=m||0;h=h||
51
- 3E3;for(var a=m+h,f=!0;f&&m<a&&m<b.length;)f=e(b[m],m),++m;f&&(m<b.length?n?q(b,e,d,h,m,n):x.requestAnimationFrame?x.requestAnimationFrame(function(){q(b,e,d,h,m)}):setTimeout(function(){q(b,e,d,h,m)}):d&&d())}function u(){var b=0,e,d=["webgl","experimental-webgl","moz-webgl","webkit-3d"],m=!1;if("undefined"!==typeof x.WebGLRenderingContext)for(e=h.createElement("canvas");b<d.length;b++)try{if(m=e.getContext(d[b]),"undefined"!==typeof m&&null!==m)return!0}catch(D){}return!1}var x=b.win,h=b.doc,e=
52
- m.pick;m={patientMax:d,boostEnabled:function(b){return e(b&&b.options&&b.options.boost&&b.options.boost.enabled,!0)},shouldForceChartSeriesBoosting:function(b){var h=0,m=0,q=e(b.options.boost&&b.options.boost.allowForce,!0);if("undefined"!==typeof b.boostForceChartBoost)return b.boostForceChartBoost;if(1<b.series.length)for(var n=0;n<b.series.length;n++){var r=b.series[n];0!==r.options.boostThreshold&&!1!==r.visible&&"heatmap"!==r.type&&(y[r.type]&&++m,d(r.processedXData,r.options.data,r.points)>=
53
- (r.options.boostThreshold||Number.MAX_VALUE)&&++h)}b.boostForceChartBoost=q&&(m===b.series.length&&0<h||5<h);return b.boostForceChartBoost},renderIfNotSeriesBoosting:v,allocateIfNotSeriesBoosting:n,eachAsync:q,hasWebGLSupport:u,pointDrawHandler:function(b){var e=!0;this.chart.options&&this.chart.options.boost&&(e="undefined"===typeof this.chart.options.boost.enabled?!0:this.chart.options.boost.enabled);if(!e||!this.isSeriesBoosting)return b.call(this);this.chart.isBoosting=!0;if(b=t(this.chart,this))n(b,
54
- this),b.pushSeries(this);v(b,this)}};b.hasWebGLSupport=u;return m});t(b,"Extensions/Boost/BoostInit.js",[b["Core/Chart/Chart.js"],b["Core/Globals.js"],b["Core/Series/Series.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"],b["Extensions/Boost/BoostUtils.js"],b["Extensions/Boost/BoostAttach.js"]],function(b,t,A,m,d,v,L){var q=t.noop,n=m.seriesTypes,x=d.addEvent,h=d.extend,e=d.fireEvent,r=d.wrap,w=v.eachAsync,y=v.pointDrawHandler,G=v.allocateIfNotSeriesBoosting,D=v.renderIfNotSeriesBoosting,
55
- F=v.shouldForceChartSeriesBoosting,a;return function(){h(A.prototype,{renderCanvas:function(){function c(a,c){var b=!1,f="undefined"===typeof h.index,k=!0;if("undefined"===typeof a)return!0;if(!f){if(ma){var e=a[0];var d=a[1]}else e=a,d=r[c];ba?(ma&&(d=a.slice(1,3)),b=d[0],d=d[1]):ta&&(e=a.x,d=a.stackY,b=d-a.y);X||(k=d>=y&&d<=u);if(null!==d&&e>=v&&e<=t&&k)if(a=m.toPixels(e,!0),V){if("undefined"===typeof Y||a===F){ba||(b=d);if("undefined"===typeof ca||d>na)na=d,ca=c;if("undefined"===typeof Y||b<ha)ha=
56
- b,Y=c}oa&&a===F||("undefined"!==typeof Y&&(d=g.toPixels(na,!0),B=g.toPixels(ha,!0),ia(a,d,ca),B!==d&&ia(a,B,Y)),Y=ca=void 0,F=a)}else d=Math.ceil(g.toPixels(d,!0)),ia(a,d,c)}return!f}function b(){e(f,"renderedCanvas");delete f.buildKDTree;f.buildKDTree();va.debug.timeKDTree&&console.timeEnd("kd tree building")}var f=this,d=f.options||{},l=!1,h=f.chart,m=this.xAxis,g=this.yAxis,n=d.xData||f.processedXData,r=d.yData||f.processedYData,x=d.data;l=m.getExtremes();var v=l.min,t=l.max;l=g.getExtremes();
57
- var y=l.min,u=l.max,A={},F,V=!!f.sampling,z=!1!==d.enableMouseTracking,B=g.getThreshold(d.threshold),ba=f.pointArrayMap&&"low,high"===f.pointArrayMap.join(","),ta=!!d.stacking,ka=f.cropStart||0,X=f.requireSorting,ma=!n,ha,na,Y,ca,oa="x"===d.findNearestPointBy,ua=this.xData||this.options.xData||this.processedXData||!1,ia=function(c,b,f){c=Math.ceil(c);a=oa?c:c+","+b;z&&!A[a]&&(A[a]=!0,h.inverted&&(c=m.len-c,b=g.len-b),wa.push({x:ua?ua[ka+f]:!1,clientX:c,plotX:c,plotY:b,i:ka+f}))};l=L(h,f);h.isBoosting=
58
- !0;var va=l.settings;if(this.visible){(this.points||this.graph)&&this.destroyGraphics();h.isChartSeriesBoosting()?(this.markerGroup&&this.markerGroup!==h.markerGroup&&this.markerGroup.destroy(),this.markerGroup=h.markerGroup,this.renderTarget&&(this.renderTarget=this.renderTarget.destroy())):(this.markerGroup===h.markerGroup&&(this.markerGroup=void 0),this.markerGroup=f.plotGroup("markerGroup","markers",!0,1,h.seriesGroup));var wa=this.points=[];f.buildKDTree=q;l&&(G(l,this),l.pushSeries(f),D(l,this,
59
- h));h.renderer.forExport||(va.debug.timeKDTree&&console.time("kd tree building"),w(ta?f.data:n||x,c,b))}}});["heatmap","treemap"].forEach(function(a){n[a]&&r(n[a].prototype,"drawPoints",y)});if(n.bubble){var f=n.bubble.prototype;delete f.buildKDTree;r(f,"markerAttribs",function(a){return this.isSeriesBoosting?!1:a.apply(this,[].slice.call(arguments,1))})}n.scatter.prototype.fill=!0;h(n.area.prototype,{fill:!0,fillOpacity:!0,sampling:!0});h(n.areaspline.prototype,{fill:!0,fillOpacity:!0,sampling:!0});
60
- h(n.column.prototype,{fill:!0,sampling:!0});b.prototype.propsRequireUpdateSeries.push("boost");b.prototype.callbacks.push(function(a){x(a,"predraw",function(){a.boostForceChartBoost=void 0;a.boostForceChartBoost=F(a);a.isBoosting=!1;!a.isChartSeriesBoosting()&&a.didBoost&&(a.didBoost=!1);a.boostClear&&a.boostClear();a.canvas&&a.ogl&&a.isChartSeriesBoosting()&&(a.didBoost=!0,a.ogl.allocateBuffer(a));a.markerGroup&&a.xAxis&&0<a.xAxis.length&&a.yAxis&&0<a.yAxis.length&&a.markerGroup.translate(a.xAxis[0].pos,
61
- a.yAxis[0].pos)});x(a,"render",function(){a.ogl&&a.isChartSeriesBoosting()&&a.ogl.render(a)});var b=-1,c=-1;x(a.pointer,"afterGetHoverData",function(){var f=a.hoverSeries;if(a.markerGroup&&f){var k=a.inverted?f.yAxis:f.xAxis;f=a.inverted?f.xAxis:f.yAxis;if(k&&k.pos!==b||f&&f.pos!==c)a.markerGroup.translate(k.pos,f.pos),b=k.pos,c=f.pos}})})}});t(b,"Extensions/BoostCanvas.js",[b["Core/Chart/Chart.js"],b["Core/Color/Color.js"],b["Core/Globals.js"],b["Core/Series/Series.js"],b["Core/Series/SeriesRegistry.js"],
62
- b["Core/Utilities.js"]],function(b,t,A,m,d,v){var n=t.parse,q=A.doc,y=A.noop,x=d.seriesTypes,h=v.addEvent,e=v.extend,r=v.fireEvent,w=v.isNumber,V=v.merge,G=v.pick,D=v.wrap,F;return function(){A.seriesTypes.heatmap&&D(A.seriesTypes.heatmap.prototype,"drawPoints",function(){var a=this.chart,b=this.getContext(),c=this.chart.inverted,e=this.xAxis,k=this.yAxis;b?(this.points.forEach(function(f){var d=f.plotY;if("undefined"!==typeof d&&!isNaN(d)&&null!==f.y&&b){var h=f.shapeArgs||{};d=h.x;d=void 0===d?
63
- 0:d;var m=h.y;m=void 0===m?0:m;var g=h.width;g=void 0===g?0:g;h=h.height;h=void 0===h?0:h;f=a.styledMode?f.series.colorAttribs(f):f.series.pointAttribs(f);b.fillStyle=f.fill;c?b.fillRect(k.len-m+e.left,e.len-d+k.top,-h,-g):b.fillRect(d+e.left,m+k.top,g,h)}}),this.canvasToSVG()):this.chart.showLoading("Your browser doesn't support HTML5 canvas, <br>please use a modern browser")});e(m.prototype,{getContext:function(){var a=this.chart,b=a.chartWidth,c=a.chartHeight,d=a.seriesGroup||this.group,k=this,
64
- e=function(a,b,c,f,d,k,e){a.call(this,c,b,f,d,k,e)};a.isChartSeriesBoosting()&&(k=a,d=a.seriesGroup);var h=k.ctx;k.canvas||(k.canvas=q.createElement("canvas"),k.renderTarget=a.renderer.image("",0,0,b,c).addClass("highcharts-boost-canvas").add(d),k.ctx=h=k.canvas.getContext("2d"),a.inverted&&["moveTo","lineTo","rect","arc"].forEach(function(a){D(h,a,e)}),k.boostCopy=function(){k.renderTarget.attr({href:k.canvas.toDataURL("image/png")})},k.boostClear=function(){h.clearRect(0,0,k.canvas.width,k.canvas.height);
65
- k===this&&k.renderTarget.attr({href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="})},k.boostClipRect=a.renderer.clipRect(),k.renderTarget.clip(k.boostClipRect));k.canvas.width!==b&&(k.canvas.width=b);k.canvas.height!==c&&(k.canvas.height=c);k.renderTarget.attr({x:0,y:0,width:b,height:c,style:"pointer-events: none",href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="});
66
- k.boostClipRect.attr(a.getBoostClipRect(k));return h},canvasToSVG:function(){this.chart.isChartSeriesBoosting()?this.boostClear&&this.boostClear():(this.boostCopy||this.chart.boostCopy)&&(this.boostCopy||this.chart.boostCopy)()},cvsLineTo:function(a,b,c){a.lineTo(b,c)},renderCanvas:function(){var a=this,b=a.options,c=a.chart,d=this.xAxis,k=this.yAxis,m=(c.options.boost||{}).timeRendering||!1,l=0,q=a.processedXData,x=a.processedYData,g=b.data,u=d.getExtremes(),D=u.min,M=u.max;u=k.getExtremes();var L=
67
- u.min,P=u.max,U={},I,aa=!!a.sampling,fa=b.marker&&b.marker.radius,T=this.cvsDrawPoint,z=b.lineWidth?this.cvsLineTo:void 0,B=fa&&1>=fa?this.cvsMarkerSquare:this.cvsMarkerCircle,ba=this.cvsStrokeBatch||1E3,ta=!1!==b.enableMouseTracking,ka;u=b.threshold;var X=k.getThreshold(u),ma=w(u),ha=X,na=this.fill,Y=a.pointArrayMap&&"low,high"===a.pointArrayMap.join(","),ca=!!b.stacking,oa=a.cropStart||0;u=c.options.loading;var ua=a.requireSorting,ia,va=b.connectNulls,wa=!q,ya,za,ja,xa,Aa,Z=ca?a.data:q||g,Na=a.fillOpacity?
68
- t.parse(a.color).setOpacity(G(b.fillOpacity,.75)).get():a.color,Ha=function(){na?(J.fillStyle=Na,J.fill()):(J.strokeStyle=a.color,J.lineWidth=b.lineWidth,J.stroke())},Ia=function(b,f,d,k){0===l&&(J.beginPath(),z&&(J.lineJoin="round"));c.scroller&&"highcharts-navigator-series"===a.options.className?(f+=c.scroller.top,d&&(d+=c.scroller.top)):f+=c.plotTop;b+=c.plotLeft;ia?J.moveTo(b,f):T?T(J,b,f,d,ka):z?z(J,b,f):B&&B.call(a,J,b,f,fa,k);l+=1;l===ba&&(Ha(),l=0);ka={clientX:b,plotY:f,yBottom:d}},Oa="x"===
69
- b.findNearestPointBy,Ja=this.xData||this.options.xData||this.processedXData||!1,Ba=function(a,b,f){Aa=Oa?a:a+","+b;ta&&!U[Aa]&&(U[Aa]=!0,c.inverted&&(a=d.len-a,b=k.len-b),Pa.push({x:Ja?Ja[oa+f]:!1,clientX:a,plotX:a,plotY:b,i:oa+f}))};this.renderTarget&&this.renderTarget.attr({href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="});(this.points||this.graph)&&this.destroyGraphics();a.plotGroup("group","series",a.visible?"visible":"hidden",
70
- b.zIndex,c.seriesGroup);a.markerGroup=a.group;h(a,"destroy",function(){a.markerGroup=null});var Pa=this.points=[];var J=this.getContext();a.buildKDTree=y;this.boostClear&&this.boostClear();this.visible&&(99999<g.length&&(c.options.loading=V(u,{labelStyle:{backgroundColor:n("#ffffff").setOpacity(.75).get(),padding:"1em",borderRadius:"0.5em"},style:{backgroundColor:"none",opacity:1}}),v.clearTimeout(F),c.showLoading("Drawing..."),c.options.loading=u),m&&console.time("canvas rendering"),A.eachAsync(Z,
71
- function(b,f){var e=!1,h=!1,g=!1,l=!1,m="undefined"===typeof c.index,q=!0;if(!m){if(wa){var n=b[0];var p=b[1];Z[f+1]&&(g=Z[f+1][0]);Z[f-1]&&(l=Z[f-1][0])}else n=b,p=x[f],Z[f+1]&&(g=Z[f+1]),Z[f-1]&&(l=Z[f-1]);g&&g>=D&&g<=M&&(e=!0);l&&l>=D&&l<=M&&(h=!0);if(Y){wa&&(p=b.slice(1,3));var r=p[0];p=p[1]}else ca&&(n=b.x,p=b.stackY,r=p-b.y);b=null===p;ua||(q=p>=L&&p<=P);if(!b&&(n>=D&&n<=M&&q||e||h))if(n=Math.round(d.toPixels(n,!0)),aa){if("undefined"===typeof ja||n===I){Y||(r=p);if("undefined"===typeof xa||
72
- p>za)za=p,xa=f;if("undefined"===typeof ja||r<ya)ya=r,ja=f}n!==I&&("undefined"!==typeof ja&&(p=k.toPixels(za,!0),X=k.toPixels(ya,!0),Ia(n,ma?Math.min(p,ha):p,ma?Math.max(X,ha):X,f),Ba(n,p,xa),X!==p&&Ba(n,X,ja)),ja=xa=void 0,I=n)}else p=Math.round(k.toPixels(p,!0)),Ia(n,p,X,f),Ba(n,p,f);ia=b&&!va;0===f%5E4&&(a.boostCopy||a.chart.boostCopy)&&(a.boostCopy||a.chart.boostCopy)()}return!m},function(){var b=c.loadingDiv,f=c.loadingShown;Ha();a.canvasToSVG();m&&console.timeEnd("canvas rendering");r(a,"renderedCanvas");
73
- f&&(e(b.style,{transition:"opacity 250ms",opacity:0}),c.loadingShown=!1,F=setTimeout(function(){b.parentNode&&b.parentNode.removeChild(b);c.loadingDiv=c.loadingSpan=null},250));delete a.buildKDTree;a.buildKDTree()},c.renderer.forExport?Number.MAX_VALUE:void 0))}});x.scatter.prototype.cvsMarkerCircle=function(a,b,c,d){a.moveTo(b,c);a.arc(b,c,d,0,2*Math.PI,!1)};x.scatter.prototype.cvsMarkerSquare=function(a,b,c,d){a.rect(b-d,c-d,2*d,2*d)};x.scatter.prototype.fill=!0;x.bubble&&(x.bubble.prototype.cvsMarkerCircle=
74
- function(a,b,c,d,e){a.moveTo(b,c);a.arc(b,c,this.radii&&this.radii[e],0,2*Math.PI,!1)},x.bubble.prototype.cvsStrokeBatch=1);e(x.area.prototype,{cvsDrawPoint:function(a,b,c,d,e){e&&b!==e.clientX&&(a.moveTo(e.clientX,e.yBottom),a.lineTo(e.clientX,e.plotY),a.lineTo(b,c),a.lineTo(b,d))},fill:!0,fillOpacity:!0,sampling:!0});e(x.column.prototype,{cvsDrawPoint:function(a,b,c,d){a.rect(b-1,c,1,d-c)},fill:!0,sampling:!0});b.prototype.callbacks.push(function(a){h(a,"predraw",function(){a.renderTarget&&a.renderTarget.attr({href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="});
75
- a.canvas&&a.canvas.getContext("2d").clearRect(0,0,a.canvas.width,a.canvas.height)});h(a,"render",function(){a.boostCopy&&a.boostCopy()})})}});t(b,"Extensions/Boost/BoostOverrides.js",[b["Core/Chart/Chart.js"],b["Core/DefaultOptions.js"],b["Core/Series/Point.js"],b["Core/Series/Series.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"],b["Extensions/Boost/BoostUtils.js"],b["Extensions/Boost/Boostables.js"],b["Extensions/Boost/BoostableMap.js"]],function(b,t,A,m,d,v,L,q,u){t=t.getOptions;
76
- var n=d.seriesTypes;d=v.addEvent;var h=v.error,e=v.isArray,r=v.isNumber,w=v.pick,y=v.wrap,G=L.boostEnabled,D=L.shouldForceChartSeriesBoosting,F=t().plotOptions;b.prototype.isChartSeriesBoosting=function(){return w(this.options.boost&&this.options.boost.seriesThreshold,50)<=this.series.length||D(this)};b.prototype.getBoostClipRect=function(a){var b={x:this.plotLeft,y:this.plotTop,width:this.plotWidth,height:this.plotHeight};a===this&&(a=this.inverted?this.xAxis:this.yAxis,1>=a.length?(b.y=Math.min(a[0].pos,
77
- b.y),b.height=a[0].pos-this.plotTop+a[0].len):b.height=this.plotHeight);return b};m.prototype.getPoint=function(a){var b=a,c=this.xData||this.options.xData||this.processedXData||!1;!a||a instanceof this.pointClass||(b=(new this.pointClass).init(this,this.options.data[a.i],c?c[a.i]:void 0),b.category=w(this.xAxis.categories?this.xAxis.categories[b.x]:b.x,b.x),b.dist=a.dist,b.distX=a.distX,b.plotX=a.plotX,b.plotY=a.plotY,b.index=a.i,b.isInside=this.isPointInside(a));return b};y(m.prototype,"searchPoint",
78
- function(a){return this.getPoint(a.apply(this,[].slice.call(arguments,1)))});y(A.prototype,"haloPath",function(a){var b=this.series,c=this.plotX,d=this.plotY,e=b.chart.inverted;b.isSeriesBoosting&&e&&(this.plotX=b.yAxis.len-d,this.plotY=b.xAxis.len-c);var h=a.apply(this,Array.prototype.slice.call(arguments,1));b.isSeriesBoosting&&e&&(this.plotX=c,this.plotY=d);return h});y(m.prototype,"markerAttribs",function(a,b){var c=b.plotX,d=b.plotY,e=this.chart.inverted;this.isSeriesBoosting&&e&&(b.plotX=this.yAxis.len-
79
- d,b.plotY=this.xAxis.len-c);var f=a.apply(this,Array.prototype.slice.call(arguments,1));this.isSeriesBoosting&&e&&(b.plotX=c,b.plotY=d);return f});d(m,"destroy",function(){var a=this,b=a.chart;b.markerGroup===a.markerGroup&&(a.markerGroup=null);b.hoverPoints&&(b.hoverPoints=b.hoverPoints.filter(function(b){return b.series===a}));b.hoverPoint&&b.hoverPoint.series===a&&(b.hoverPoint=null)});y(m.prototype,"getExtremes",function(a){return this.isSeriesBoosting&&this.hasExtremes&&this.hasExtremes()?{}:
80
- a.apply(this,Array.prototype.slice.call(arguments,1))});["translate","generatePoints","drawTracker","drawPoints","render"].forEach(function(a){function b(b){var c=this.options.stacking&&("translate"===a||"generatePoints"===a);if(!this.isSeriesBoosting||c||!G(this.chart)||"heatmap"===this.type||"treemap"===this.type||!u[this.type]||0===this.options.boostThreshold)b.call(this);else if(this[a+"Canvas"])this[a+"Canvas"]()}y(m.prototype,a,b);"translate"===a&&"column bar arearange columnrange heatmap treemap".split(" ").forEach(function(c){n[c]&&
81
- y(n[c].prototype,a,b)})});y(m.prototype,"processData",function(a){function b(a){return c.forceCrop?!1:c.chart.isChartSeriesBoosting()||(a?a.length:0)>=(c.options.boostThreshold||Number.MAX_VALUE)}var c=this,d=this.options.data;G(this.chart)&&u[this.type]?(b(d)&&"heatmap"!==this.type&&"treemap"!==this.type&&!this.options.stacking&&this.hasExtremes&&this.hasExtremes(!0)||(a.apply(this,Array.prototype.slice.call(arguments,1)),d=this.processedXData),(this.isSeriesBoosting=b(d))?(d=void 0,this.options.data&&
82
- this.options.data.length&&(d=this.getFirstValidPoint(this.options.data),r(d)||e(d)||h(12,!1,this.chart)),this.enterBoost()):this.exitBoost&&this.exitBoost()):a.apply(this,Array.prototype.slice.call(arguments,1))});d(m,"hide",function(){this.canvas&&this.renderTarget&&(this.ogl&&this.ogl.clear(),this.boostClear())});m.prototype.enterBoost=function(){this.alteredByBoost=[];["allowDG","directTouch","stickyTracking"].forEach(function(a){this.alteredByBoost.push({prop:a,val:this[a],own:Object.hasOwnProperty.call(this,
83
- a)})},this);this.directTouch=this.allowDG=!1;this.finishedAnimating=this.stickyTracking=!0;this.labelBySeries&&(this.labelBySeries=this.labelBySeries.destroy())};m.prototype.exitBoost=function(){(this.alteredByBoost||[]).forEach(function(a){a.own?this[a.prop]=a.val:delete this[a.prop]},this);this.boostClear&&this.boostClear()};m.prototype.hasExtremes=function(a){var b=this.options,c=this.xAxis&&this.xAxis.options,d=this.yAxis&&this.yAxis.options,e=this.colorAxis&&this.colorAxis.options;return b.data.length>
84
- (b.boostThreshold||Number.MAX_VALUE)&&r(d.min)&&r(d.max)&&(!a||r(c.min)&&r(c.max))&&(!e||r(e.min)&&r(e.max))};m.prototype.destroyGraphics=function(){var a=this,b=this,c=this.points,d,e;if(c)for(e=0;e<c.length;e+=1)(d=c[e])&&d.destroyElements&&d.destroyElements();["graph","area","tracker"].forEach(function(a){b[a]&&(b[a]=b[a].destroy())});this.getZonesGraphs&&this.getZonesGraphs([["graph","highcharts-graph"]]).forEach(function(b){var c=a[b[0]];c&&(a[b[0]]=c.destroy())})};q.forEach(function(a){F[a]&&
85
- (F[a].boostThreshold=5E3,F[a].boostData=[],n[a].prototype.fillOpacity=!0)})});t(b,"Extensions/Boost/NamedColors.js",[b["Core/Color/Color.js"]],function(b){var n={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",
12
+ (function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/boost",["highcharts"],function(x){a(x);a.Highcharts=x;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function x(a,g,c,P){a.hasOwnProperty(g)||(a[g]=P.apply(null,c),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:g,module:a[g]}})))}a=a?a._modules:{};x(a,"Extensions/Boost/Boostables.js",
13
+ [],function(){return"area areaspline arearange column columnrange bar line scatter heatmap bubble treemap".split(" ")});x(a,"Extensions/Boost/BoostableMap.js",[a["Extensions/Boost/Boostables.js"]],function(a){var g={};a.forEach(function(a){g[a]=!0});return g});x(a,"Extensions/Boost/BoostChart.js",[a["Extensions/Boost/BoostableMap.js"],a["Core/Utilities.js"]],function(a,g){function c(b){var e=b.series,g=b.boost=b.boost||{},p=b.options.boost||{},c=F(p.seriesThreshold,50);if(e.length>=c)return!0;if(1===
14
+ e.length)return!1;p=p.allowForce;if("undefined"===typeof p)for(p=!0,c=0,b=b.xAxis;c<b.length;c++){var k=b[c];if(F(k.min,-Infinity)>F(k.dataMin,-Infinity)||F(k.max,Infinity)<F(k.dataMax,Infinity)){p=!1;break}}if("undefined"!==typeof g.forceChartBoost){if(p)return g.forceChartBoost;g.forceChartBoost=void 0}for(var t=c=b=0;t<e.length;t++){var G=e[t];k=G.options;0!==k.boostThreshold&&!1!==G.visible&&"heatmap"!==G.type&&(a[G.type]&&++b,u(G.processedXData,k.data,G.points)>=(k.boostThreshold||Number.MAX_VALUE)&&
15
+ ++c)}g.forceChartBoost=p&&(b===e.length&&0<c||5<c);return g.forceChartBoost}function t(b){e(b,"predraw",function(){b.boost=b.boost||{};b.boost.forceChartBoost=void 0;b.boosted=!1;b.boost.clear&&b.boost.clear();b.boost.canvas&&b.boost.wgl&&c(b)&&b.boost.wgl.allocateBuffer(b);b.boost.markerGroup&&b.xAxis&&0<b.xAxis.length&&b.yAxis&&0<b.yAxis.length&&b.boost.markerGroup.translate(b.xAxis[0].pos,b.yAxis[0].pos)});e(b,"render",function(){b.boost&&b.boost.wgl&&c(b)&&b.boost.wgl.render(b)});var a=-1,g=-1;
16
+ e(b.pointer,"afterGetHoverData",function(){var e=b.hoverSeries;b.boost=b.boost||{};if(b.boost.markerGroup&&e){var u=b.inverted?e.yAxis:e.xAxis;e=b.inverted?e.xAxis:e.yAxis;if(u&&u.pos!==a||e&&e.pos!==g)b.boost.markerGroup.translate(u.pos,e.pos),a=u.pos,g=e.pos}})}function u(){for(var b=[],e=0;e<arguments.length;e++)b[e]=arguments[e];var a=-Number.MAX_VALUE;b.forEach(function(b){if("undefined"!==typeof b&&null!==b&&"undefined"!==typeof b.length&&0<b.length)return a=b.length,!0});return a}var e=g.addEvent,
17
+ F=g.pick,k=[];return{compose:function(b,e){e&&-1===k.indexOf(b)&&(k.push(b),b.prototype.callbacks.push(t));return b},getBoostClipRect:function(b,e){var a={x:b.plotLeft,y:b.plotTop,width:b.plotWidth,height:b.plotHeight};e===b&&(e=b.inverted?b.xAxis:b.yAxis,1>=e.length?(a.y=Math.min(e[0].pos,a.y),a.height=e[0].pos-b.plotTop+e[0].len):a.height=b.plotHeight);return a},isChartSeriesBoosting:c}});x(a,"Extensions/Boost/WGLDrawMode.js",[],function(){return{area:"LINES",arearange:"LINES",areaspline:"LINES",
18
+ column:"LINES",columnrange:"LINES",bar:"LINES",line:"LINE_STRIP",scatter:"POINTS",heatmap:"TRIANGLES",treemap:"TRIANGLES",bubble:"POINTS"}});x(a,"Extensions/Boost/WGLShader.js",[a["Core/Utilities.js"]],function(a){var g=a.clamp,c=a.error,t=a.pick;return function(){function a(a){this.errors=[];this.uLocations={};(this.gl=a)&&this.createShader()}a.prototype.bind=function(){this.gl&&this.shaderProgram&&this.gl.useProgram(this.shaderProgram)};a.prototype.createShader=function(){var a=this,g=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 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 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 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 checkTreshold) {\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 (checkTreshold > 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 && 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}",
19
+ "vertex"),c=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"),b=function(b){return a.gl.getUniformLocation(a.shaderProgram,
20
+ b)};if(!g||!c)return this.shaderProgram=!1,this.handleErrors(),!1;this.shaderProgram=this.gl.createProgram();this.gl.attachShader(this.shaderProgram,g);this.gl.attachShader(this.shaderProgram,c);this.gl.linkProgram(this.shaderProgram);if(!this.gl.getProgramParameter(this.shaderProgram,this.gl.LINK_STATUS))return this.errors.push(this.gl.getProgramInfoLog(this.shaderProgram)),this.handleErrors(),this.shaderProgram=!1;this.gl.useProgram(this.shaderProgram);this.gl.bindAttribLocation(this.shaderProgram,
21
+ 0,"aVertexPosition");this.pUniform=b("uPMatrix");this.psUniform=b("pSize");this.fcUniform=b("fillColor");this.isBubbleUniform=b("isBubble");this.bubbleSizeAbsUniform=b("bubbleSizeAbs");this.bubbleSizeAreaUniform=b("bubbleSizeByArea");this.uSamplerUniform=b("uSampler");this.skipTranslationUniform=b("skipTranslation");this.isCircleUniform=b("isCircle");this.isInverted=b("isInverted");return!0};a.prototype.handleErrors=function(){this.errors.length&&c("[highcharts boost] shader error - "+this.errors.join("\n"))};
22
+ a.prototype.stringToProgram=function(a,g){var e=this.gl.createShader("vertex"===g?this.gl.VERTEX_SHADER:this.gl.FRAGMENT_SHADER);this.gl.shaderSource(e,a);this.gl.compileShader(e);return this.gl.getShaderParameter(e,this.gl.COMPILE_STATUS)?e:(this.errors.push("when compiling "+g+" shader:\n"+this.gl.getShaderInfoLog(e)),!1)};a.prototype.destroy=function(){this.gl&&this.shaderProgram&&(this.gl.deleteProgram(this.shaderProgram),this.shaderProgram=!1)};a.prototype.fillColorUniform=function(){return this.fcUniform};
23
+ a.prototype.getProgram=function(){return this.shaderProgram};a.prototype.pointSizeUniform=function(){return this.psUniform};a.prototype.perspectiveUniform=function(){return this.pUniform};a.prototype.reset=function(){this.gl&&this.shaderProgram&&(this.gl.uniform1i(this.isBubbleUniform,0),this.gl.uniform1i(this.isCircleUniform,0))};a.prototype.setBubbleUniforms=function(a,c,k,b){void 0===b&&(b=1);var e=a.options,u=Number.MAX_VALUE,p=-Number.MAX_VALUE;if(this.gl&&this.shaderProgram&&a.is("bubble")){var F=
24
+ a.getPxExtremes();u=t(e.zMin,g(c,!1===e.displayNegative?e.zThreshold:-Number.MAX_VALUE,u));p=t(e.zMax,Math.max(p,k));this.gl.uniform1i(this.isBubbleUniform,1);this.gl.uniform1i(this.isCircleUniform,1);this.gl.uniform1i(this.bubbleSizeAreaUniform,"width"!==a.options.sizeBy);this.gl.uniform1i(this.bubbleSizeAbsUniform,a.options.sizeByAbsoluteValue);this.setUniform("bubbleMinSize",F.minPxSize*b);this.setUniform("bubbleMaxSize",F.maxPxSize*b);this.setUniform("bubbleZMin",u);this.setUniform("bubbleZMax",
25
+ p);this.setUniform("bubbleZThreshold",a.options.zThreshold)}};a.prototype.setColor=function(a){this.gl&&this.shaderProgram&&this.gl.uniform4f(this.fcUniform,a[0]/255,a[1]/255,a[2]/255,a[3])};a.prototype.setDrawAsCircle=function(a){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.isCircleUniform,a?1:0)};a.prototype.setInverted=function(a){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.isInverted,a)};a.prototype.setPMatrix=function(a){this.gl&&this.shaderProgram&&this.gl.uniformMatrix4fv(this.pUniform,
26
+ !1,a)};a.prototype.setPointSize=function(a){this.gl&&this.shaderProgram&&this.gl.uniform1f(this.psUniform,a)};a.prototype.setSkipTranslation=function(a){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.skipTranslationUniform,!0===a?1:0)};a.prototype.setTexture=function(a){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.uSamplerUniform,a)};a.prototype.setUniform=function(a,g){this.gl&&this.shaderProgram&&(a=this.uLocations[a]=this.uLocations[a]||this.gl.getUniformLocation(this.shaderProgram,
27
+ a),this.gl.uniform1f(a,g))};return a}()});x(a,"Extensions/Boost/WGLVertexBuffer.js",[],function(){return function(){function a(a,c,t){this.buffer=!1;this.iterator=0;this.vertAttribute=this.preAllocated=!1;this.components=t||2;this.dataComponents=t;this.gl=a;this.shader=c}a.prototype.allocate=function(a){this.iterator=-1;this.preAllocated=new Float32Array(4*a)};a.prototype.bind=function(){if(!this.buffer)return!1;this.gl.vertexAttribPointer(this.vertAttribute,this.components,this.gl.FLOAT,!1,0,0)};
28
+ a.prototype.build=function(a,c,t){var g;this.data=a||[];if(!(this.data&&0!==this.data.length||this.preAllocated))return this.destroy(),!1;this.components=t||this.components;this.buffer&&this.gl.deleteBuffer(this.buffer);this.preAllocated||(g=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||g,this.gl.STATIC_DRAW);this.vertAttribute=this.gl.getAttribLocation(this.shader.getProgram(),
29
+ c);this.gl.enableVertexAttribArray(this.vertAttribute);return!0};a.prototype.destroy=function(){this.buffer&&(this.gl.deleteBuffer(this.buffer),this.vertAttribute=this.buffer=!1);this.iterator=0;this.components=this.dataComponents||2;this.data=[]};a.prototype.push=function(a,c,t,u){this.preAllocated&&(this.preAllocated[++this.iterator]=a,this.preAllocated[++this.iterator]=c,this.preAllocated[++this.iterator]=t,this.preAllocated[++this.iterator]=u)};a.prototype.render=function(a,c,t){var g=this.preAllocated?
30
+ this.preAllocated.length:this.data.length;if(!this.buffer||!g)return!1;if(!a||a>g||0>a)a=0;if(!c||c>g)c=g;if(a>=c)return!1;this.gl.drawArrays(this.gl[t||"POINTS"],a/this.components,(c-a)/this.components);return!0};return a}()});x(a,"Extensions/Boost/WGLRenderer.js",[a["Core/Color/Color.js"],a["Core/Globals.js"],a["Core/Utilities.js"],a["Extensions/Boost/WGLDrawMode.js"],a["Extensions/Boost/WGLShader.js"],a["Extensions/Boost/WGLVertexBuffer.js"]],function(a,g,c,x,u,e){var t=a.parse,k=g.doc,b=g.win,
31
+ P=c.isNumber,ta=c.isObject,p=c.merge,L=c.objectEach,M=c.pick,y={column:!0,columnrange:!0,bar:!0,area:!0,areaspline:!0,arearange:!0},G={scatter:!0,bubble:!0},z=["webgl","experimental-webgl","moz-webgl","webkit-3d"];return function(){function c(a){this.data=[];this.height=0;this.isInited=!1;this.markerData=[];this.series=[];this.textureHandles={};this.width=0;this.postRenderCallback=a;this.settings={pointSize:1,lineWidth:1,fillColor:"#AA00AA",useAlpha:!0,usePreallocated:!1,useGPUTranslations:!1,debug:{timeRendering:!1,
32
+ timeSeriesProcessing:!1,timeSetup:!1,timeBufferCopy:!1,timeKDTree:!1,showSkipSummary:!1}}}c.orthoMatrix=function(a,b){return[2/a,0,0,0,0,-(2/b),0,0,0,0,-2,0,-1,1,-1,1]};c.seriesPointCount=function(a){if(a.boosted){var l=!!a.options.stacking;var b=a.xData||a.options.xData||a.processedXData;l=(l?a.data:b||a.options.data).length;"treemap"===a.type?l*=12:"heatmap"===a.type?l*=6:y[a.type]&&(l*=2);return l}return 0};c.prototype.getPixelRatio=function(){return this.settings.pixelRatio||b.devicePixelRatio||
33
+ 1};c.prototype.setOptions=function(a){"pixelRatio"in a||(a.pixelRatio=1);p(!0,this.settings,a)};c.prototype.allocateBuffer=function(a){var l=this.vbuffer,b=0;this.settings.usePreallocated&&(a.series.forEach(function(a){a.boosted&&(b+=c.seriesPointCount(a))}),l&&l.allocate(b))};c.prototype.allocateBufferForSingleSeries=function(a){var l=this.vbuffer,b=0;this.settings.usePreallocated&&(a.boosted&&(b=c.seriesPointCount(a)),l&&l.allocate(b))};c.prototype.clear=function(){var a=this.gl;a&&a.clear(a.COLOR_BUFFER_BIT|
34
+ a.DEPTH_BUFFER_BIT)};c.prototype.pushSeriesData=function(a,b){var l=this,c=this.data,e=this.settings,f=this.vbuffer,n=a.pointArrayMap&&"low,high"===a.pointArrayMap.join(","),q=a.chart,r=a.options,O=!!r.stacking,ea=r.data,d=a.xAxis.getExtremes(),T=d.min,g=d.max;d=a.yAxis.getExtremes();var k=d.min,u=d.max,p=a.xData||r.xData||a.processedXData,G=a.yData||r.yData||a.processedYData,z=a.zData||r.zData||a.processedZData,x=a.yAxis,M=a.xAxis,F=!p||0===p.length,H=r.connectNulls;d=a.points||!1;var v=O?a.data:
35
+ p||ea,W={x:Number.MAX_VALUE,y:0},Q={x:-Number.MAX_VALUE,y:0},h="undefined"===typeof q.index,m=y[a.type],Aa=r.zoneAxis||"y",ca=r.zones||!1,Y=r.threshold,da=this.getPixelRatio(),ua=a.chart.plotWidth,ha=!1,ia=!1,aa,U,ya=0,P=!1,D,A,I,ja,B=-1,S=!1,Z=!1,N,L=!1,ra=!1,C=!1,va=!1,wa=!0,sa=!0,K=!1,E=!1,ba=0;if(!(r.boostData&&0<r.boostData.length)){r.gapSize&&(E="value"!==r.gapUnit?r.gapSize*a.closestPointRange:r.gapSize);if(ca){var ka=[];ca.forEach(function(a,b){if(a.color){var h=t(a.color).rgba;h[0]/=255;
36
+ h[1]/=255;h[2]/=255;ka[b]=h;K||"undefined"!==typeof a.value||(K=h)}});K||(p=a.pointAttribs&&a.pointAttribs().fill||a.color,K=t(p).rgba,K[0]/=255,K[1]/=255,K[2]/=255)}q.inverted&&(ua=a.chart.plotHeight);a.closestPointRangePx=Number.MAX_VALUE;var V=function(a){a&&(b.colorData.push(a[0]),b.colorData.push(a[1]),b.colorData.push(a[2]),b.colorData.push(a[3]))},R=function(a,h,m,n,l){void 0===n&&(n=1);V(l);1===da||e.useGPUTranslations&&!b.skipTranslation||(a*=da,h*=da,n*=da);e.usePreallocated&&f?(f.push(a,
37
+ h,m?1:0,n),ba+=4):(c.push(a),c.push(h),c.push(m?da:0),c.push(n))},Ca=function(){b.segments.length&&(b.segments[b.segments.length-1].to=c.length||ba)},za=function(){b.segments.length&&b.segments[b.segments.length-1].from===(c.length||ba)||(Ca(),b.segments.push({from:c.length||ba}))},Da=function(a,h,b,f,m){V(m);R(a+b,h);V(m);R(a,h);V(m);R(a,h+f);V(m);R(a,h+f);V(m);R(a+b,h+f);V(m);R(a+b,h)};za();if(d&&0<d.length)b.skipTranslation=!0,b.drawMode="TRIANGLES",d[0].node&&d[0].node.levelDynamic&&d.sort(function(a,
38
+ h){if(a.node){if(a.node.levelDynamic>h.node.levelDynamic)return 1;if(a.node.levelDynamic<h.node.levelDynamic)return-1}return 0}),d.forEach(function(h){var b=h.plotY;if("undefined"!==typeof b&&!isNaN(b)&&null!==h.y&&h.shapeArgs){var f=h.shapeArgs;b=f.x;b=void 0===b?0:b;var m=f.y;m=void 0===m?0:m;var n=f.width;n=void 0===n?0:n;f=f.height;f=void 0===f?0:f;var l=q.styledMode?h.series.colorAttribs(h):l=h.series.pointAttribs(h);h=l["stroke-width"]||0;C=t(l.fill).rgba;C[0]/=255;C[1]/=255;C[2]/=255;a.is("treemap")&&
39
+ (h=h||1,U=t(l.stroke).rgba,U[0]/=255,U[1]/=255,U[2]/=255,Da(b,m,n,f,U),h/=2);a.is("heatmap")&&q.inverted&&(b=M.len-b,m=x.len-m,n=-n,f=-f);Da(b+h,m+h,n-2*h,f-2*h,C)}});else{for(d=function(){I=v[++B];if("undefined"===typeof I)return"continue";if(h)return"break";var f=ea&&ea[B];!F&&ta(f,!0)&&f.color&&(C=t(f.color).rgba,C[0]/=255,C[1]/=255,C[2]/=255);F?(D=I[0],A=I[1],v[B+1]&&(Z=v[B+1][0]),v[B-1]&&(S=v[B-1][0]),3<=I.length&&(ja=I[2],I[2]>b.zMax&&(b.zMax=I[2]),I[2]<b.zMin&&(b.zMin=I[2]))):(D=I,A=G[B],v[B+
40
+ 1]&&(Z=v[B+1]),v[B-1]&&(S=v[B-1]),z&&z.length&&(ja=z[B],z[B]>b.zMax&&(b.zMax=z[B]),z[B]<b.zMin&&(b.zMin=z[B])));if(!H&&(null===D||null===A))return za(),"continue";Z&&Z>=T&&Z<=g&&(L=!0);S&&S>=T&&S<=g&&(ra=!0);n?(F&&(A=I.slice(1,3)),N=A[0],A=A[1]):O&&(D=I.x,A=I.stackY,N=A-I.y);null!==k&&"undefined"!==typeof k&&null!==u&&"undefined"!==typeof u&&(wa=A>=k&&A<=u);D>g&&Q.x<g&&(Q.x=D,Q.y=A);D<T&&W.x>T&&(W.x=D,W.y=A);if(null===A&&H)return"continue";if(null===A||!wa&&!L&&!ra)return za(),"continue";(Z>=T||D>=
41
+ T)&&(S<=g||D<=g)&&(va=!0);if(!va&&!L&&!ra)return"continue";E&&D-S>E&&za();if(ca){var l;ca.some(function(a,h){var b=ca[h-1];return"x"===Aa?"undefined"!==typeof a.value&&D<=a.value?(ka[h]&&(!b||D>=b.value)&&(l=ka[h]),!0):!1:"undefined"!==typeof a.value&&A<=a.value?(ka[h]&&(!b||A>=b.value)&&(l=ka[h]),!0):!1});C=l||K||C}if(!e.useGPUTranslations&&(b.skipTranslation=!0,D=M.toPixels(D,!0),A=x.toPixels(A,!0),D>ua&&"POINTS"===b.drawMode))return"continue";b.hasMarkers&&va&&!1!==ha&&(a.closestPointRangePx=Math.min(a.closestPointRangePx,
42
+ Math.abs(D-ha)));if(!e.useGPUTranslations&&!e.usePreallocated&&ha&&1>Math.abs(D-ha)&&ia&&1>Math.abs(A-ia))return e.debug.showSkipSummary&&++ya,"continue";if(m){aa=N;if(!1===N||"undefined"===typeof N)aa=0>A?A:0;n||O||(aa=Math.max(null===Y?k:Y,k));e.useGPUTranslations||(aa=x.toPixels(aa,!0));R(D,aa,0,0,C)}r.step&&!sa&&R(D,ia,0,2,C);R(D,A,0,"bubble"===a.type?ja||1:2,C);ha=D;ia=A;P=!0;sa=!1};B<v.length-1&&"break"!==d(););e.debug.showSkipSummary&&console.log("skipped points:",ya);d=function(a,h){e.useGPUTranslations||
43
+ (b.skipTranslation=!0,a.x=M.toPixels(a.x,!0),a.y=x.toPixels(a.y,!0));h?l.data=[a.x,a.y,0,2].concat(l.data):R(a.x,a.y,0,2)};P||!1===H||"line_strip"!==a.drawMode||(W.x<Number.MAX_VALUE&&d(W,!0),Q.x>-Number.MAX_VALUE&&d(Q))}Ca()}};c.prototype.pushSeries=function(a){var b=this.markerData,l=this.series,c=this.settings;0<l.length&&l[l.length-1].hasMarkers&&(l[l.length-1].markerTo=b.length);c.debug.timeSeriesProcessing&&console.time("building "+a.type+" series");b={segments:[],markerFrom:b.length,colorData:[],
44
+ series:a,zMin:Number.MAX_VALUE,zMax:-Number.MAX_VALUE,hasMarkers:a.options.marker?!1!==a.options.marker.enabled:!1,showMarkers:!0,drawMode:x[a.type]||"LINE_STRIP"};a.index>=l.length?l.push(b):l[a.index]=b;this.pushSeriesData(a,b);c.debug.timeSeriesProcessing&&console.timeEnd("building "+a.type+" series")};c.prototype.flush=function(){var a=this.vbuffer;this.data=[];this.markerData=[];this.series=[];a&&a.destroy()};c.prototype.setXAxis=function(a){var b=this.shader;if(b){var c=this.getPixelRatio();
45
+ b.setUniform("xAxisTrans",a.transA*c);b.setUniform("xAxisMin",a.min);b.setUniform("xAxisMinPad",a.minPixelPadding*c);b.setUniform("xAxisPointRange",a.pointRange);b.setUniform("xAxisLen",a.len*c);b.setUniform("xAxisPos",a.pos*c);b.setUniform("xAxisCVSCoord",!a.horiz);b.setUniform("xAxisIsLog",!!a.logarithmic);b.setUniform("xAxisReversed",!!a.reversed)}};c.prototype.setYAxis=function(a){var b=this.shader;if(b){var c=this.getPixelRatio();b.setUniform("yAxisTrans",a.transA*c);b.setUniform("yAxisMin",
46
+ a.min);b.setUniform("yAxisMinPad",a.minPixelPadding*c);b.setUniform("yAxisPointRange",a.pointRange);b.setUniform("yAxisLen",a.len*c);b.setUniform("yAxisPos",a.pos*c);b.setUniform("yAxisCVSCoord",!a.horiz);b.setUniform("yAxisIsLog",!!a.logarithmic);b.setUniform("yAxisReversed",!!a.reversed)}};c.prototype.setThreshold=function(a,b){var c=this.shader;c&&(c.setUniform("hasThreshold",a),c.setUniform("translatedThreshold",b))};c.prototype.renderChart=function(b){var l=this,w=this.gl,k=this.settings,p=this.shader,
47
+ f=this.vbuffer,n=this.getPixelRatio();if(b)this.width=b.chartWidth*n,this.height=b.chartHeight*n;else return!1;var q=this.height,r=this.width;if(!(w&&p&&r&&q))return!1;k.debug.timeRendering&&console.time("gl rendering");w.canvas.width=r;w.canvas.height=q;p.bind();w.viewport(0,0,r,q);p.setPMatrix(c.orthoMatrix(r,q));1<k.lineWidth&&!g.isMS&&w.lineWidth(k.lineWidth);f&&(f.build(this.data,"aVertexPosition",4),f.bind());p.setInverted(b.inverted);this.series.forEach(function(c,g){var d=c.series.options,
48
+ r=d.marker,q="undefined"!==typeof d.lineWidth?d.lineWidth:1,O=d.threshold,u=P(O),z=c.series.yAxis.getThreshold(O);O=M(d.marker?d.marker.enabled:null,c.series.xAxis.isRadial?!0:null,c.series.closestPointRangePx>2*((d.marker?d.marker.radius:10)||10));r=l.textureHandles[r&&r.symbol||c.series.symbol]||l.textureHandles.circle;if(0!==c.segments.length&&c.segments[0].from!==c.segments[0].to&&(r.isReady&&(w.bindTexture(w.TEXTURE_2D,r.handle),p.setTexture(r.handle)),b.styledMode?r=c.series.markerGroup&&c.series.markerGroup.getStyle("fill"):
49
+ (r="POINTS"===c.drawMode&&c.series.pointAttribs&&c.series.pointAttribs().fill||c.series.color,d.colorByPoint&&(r=c.series.chart.options.colors[g])),c.series.fillOpacity&&d.fillOpacity&&(r=(new a(r)).setOpacity(M(d.fillOpacity,1)).get()),r=t(r).rgba,k.useAlpha||(r[3]=1),"LINES"===c.drawMode&&k.useAlpha&&1>r[3]&&(r[3]/=10),"add"===d.boostBlending?(w.blendFunc(w.SRC_ALPHA,w.ONE),w.blendEquation(w.FUNC_ADD)):"mult"===d.boostBlending||"multiply"===d.boostBlending?w.blendFunc(w.DST_COLOR,w.ZERO):"darken"===
50
+ d.boostBlending?(w.blendFunc(w.ONE,w.ONE),w.blendEquation(w.FUNC_MIN)):w.blendFuncSeparate(w.SRC_ALPHA,w.ONE_MINUS_SRC_ALPHA,w.ONE,w.ONE_MINUS_SRC_ALPHA),p.reset(),0<c.colorData.length?(p.setUniform("hasColor",1),g=new e(w,p),g.build(c.colorData,"aColor",4),g.bind()):w.disableVertexAttribArray(w.getAttribLocation(p.getProgram(),"aColor")),p.setColor(r),l.setXAxis(c.series.xAxis),l.setYAxis(c.series.yAxis),l.setThreshold(u,z),"POINTS"===c.drawMode&&p.setPointSize(2*M(d.marker&&d.marker.radius,.5)*
51
+ n),p.setSkipTranslation(c.skipTranslation),"bubble"===c.series.type&&p.setBubbleUniforms(c.series,c.zMin,c.zMax,n),p.setDrawAsCircle(G[c.series.type]||!1),f)){if(0<q||"LINE_STRIP"!==c.drawMode)for(q=0;q<c.segments.length;q++)f.render(c.segments[q].from,c.segments[q].to,c.drawMode);if(c.hasMarkers&&O)for(p.setPointSize(2*M(d.marker&&d.marker.radius,5)*n),p.setDrawAsCircle(!0),q=0;q<c.segments.length;q++)f.render(c.segments[q].from,c.segments[q].to,"POINTS")}});k.debug.timeRendering&&console.timeEnd("gl rendering");
52
+ this.postRenderCallback&&this.postRenderCallback(this);this.flush()};c.prototype.render=function(a){var b=this;this.clear();if(a.renderer.forExport)return this.renderChart(a);this.isInited?this.renderChart(a):setTimeout(function(){b.render(a)},1)};c.prototype.setSize=function(a,b){var e=this.shader;!e||this.width===a&&this.height===b||(this.width=a,this.height=b,e.bind(),e.setPMatrix(c.orthoMatrix(a,b)))};c.prototype.init=function(a,b){var c=this,g=this.settings;this.isInited=!1;if(!a)return!1;g.debug.timeSetup&&
53
+ console.time("gl setup");for(var l=0;l<z.length&&!(this.gl=a.getContext(z[l],{}));++l);var f=this.gl;if(f)b||this.flush();else return!1;f.enable(f.BLEND);f.blendFunc(f.SRC_ALPHA,f.ONE_MINUS_SRC_ALPHA);f.disable(f.DEPTH_TEST);f.depthFunc(f.LESS);a=this.shader=new u(f);if(!a)return!1;this.vbuffer=new e(f,a);a=function(a,b){var n={isReady:!1,texture:k.createElement("canvas"),handle:f.createTexture()},e=n.texture.getContext("2d");c.textureHandles[a]=n;n.texture.width=512;n.texture.height=512;e.mozImageSmoothingEnabled=
54
+ !1;e.webkitImageSmoothingEnabled=!1;e.msImageSmoothingEnabled=!1;e.imageSmoothingEnabled=!1;e.strokeStyle="rgba(255, 255, 255, 0)";e.fillStyle="#FFF";b(e);try{f.activeTexture(f.TEXTURE0),f.bindTexture(f.TEXTURE_2D,n.handle),f.texImage2D(f.TEXTURE_2D,0,f.RGBA,f.RGBA,f.UNSIGNED_BYTE,n.texture),f.texParameteri(f.TEXTURE_2D,f.TEXTURE_WRAP_S,f.CLAMP_TO_EDGE),f.texParameteri(f.TEXTURE_2D,f.TEXTURE_WRAP_T,f.CLAMP_TO_EDGE),f.texParameteri(f.TEXTURE_2D,f.TEXTURE_MAG_FILTER,f.LINEAR),f.texParameteri(f.TEXTURE_2D,
55
+ f.TEXTURE_MIN_FILTER,f.LINEAR),f.bindTexture(f.TEXTURE_2D,null),n.isReady=!0}catch(ma){}};a("circle",function(a){a.beginPath();a.arc(256,256,256,0,2*Math.PI);a.stroke();a.fill()});a("square",function(a){a.fillRect(0,0,512,512)});a("diamond",function(a){a.beginPath();a.moveTo(256,0);a.lineTo(512,256);a.lineTo(256,512);a.lineTo(0,256);a.lineTo(256,0);a.fill()});a("triangle",function(a){a.beginPath();a.moveTo(0,512);a.lineTo(256,0);a.lineTo(512,512);a.lineTo(0,512);a.fill()});a("triangle-down",function(a){a.beginPath();
56
+ a.moveTo(0,0);a.lineTo(256,512);a.lineTo(512,0);a.lineTo(0,0);a.fill()});this.isInited=!0;g.debug.timeSetup&&console.timeEnd("gl setup");return!0};c.prototype.destroy=function(){var a=this.gl,b=this.shader,c=this.vbuffer;this.flush();c&&c.destroy();b&&b.destroy();a&&(L(this.textureHandles,function(b){b.handle&&a.deleteTexture(b.handle)}),a.canvas.width=1,a.canvas.height=1)};return c}()});x(a,"Extensions/Boost/BoostSeries.js",[a["Extensions/Boost/BoostableMap.js"],a["Extensions/Boost/Boostables.js"],
57
+ a["Extensions/Boost/BoostChart.js"],a["Core/DefaultOptions.js"],a["Core/Globals.js"],a["Core/Utilities.js"],a["Extensions/Boost/WGLRenderer.js"]],function(a,g,c,x,u,e,F){function k(a,b){var h=b.boost;a&&h&&h.target&&h.canvas&&!ma(b.chart)&&a.allocateBufferForSingleSeries(b)}function b(a){return pa(a&&a.options&&a.options.boost&&a.options.boost.enabled,!0)}function t(a,b){var h=a.constructor,f=a.seriesGroup||b.group,c=a.chartWidth,m=a.chartHeight,e=a,n="undefined"!==typeof SVGForeignObjectElement;
58
+ e=ma(a)?a:b;var d=e.boost=e.boost||{};n=!1;Q||(Q=T.createElement("canvas"));d.target||(d.canvas=Q,a.renderer.forExport||!n?(e.renderTarget=d.target=a.renderer.image("",0,0,c,m).addClass("highcharts-boost-canvas").add(f),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=a.renderer.createElement("foreignObject").add(f),
59
+ e.renderTarget=d.target=T.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(){c=a.chartWidth;m=a.chartHeight;(d.targetFo||d.target).attr({x:0,y:0,width:c,height:m}).css({pointerEvents:"none",mixedBlendMode:"normal",opacity:1});e instanceof
60
+ h&&e.boost.markerGroup.translate(a.plotLeft,a.plotTop)},d.clipRect=a.renderer.clipRect(),(d.targetFo||d.target).clip(d.clipRect),e instanceof h&&(e.boost.markerGroup=e.renderer.g().add(f).translate(b.xAxis.pos,b.yAxis.pos)));d.canvas.width=c;d.canvas.height=m;d.clipRect&&d.clipRect.attr(O(a,e));d.resize();d.clear();d.wgl||(d.wgl=new F(function(a){a.settings.debug.timeBufferCopy&&console.time("buffer copy");d.copy();a.settings.debug.timeBufferCopy&&console.timeEnd("buffer copy")}),d.wgl.init(d.canvas)||
61
+ oa("[highcharts boost] - unable to init WebGL renderer"),d.wgl.setOptions(a.options.boost||{}),e instanceof h&&d.wgl.allocateBuffer(a));d.wgl.setSize(c,m);return d.wgl}function P(a){var b=a.points;if(b){var h=void 0,c=void 0;for(c=0;c<b.length;c+=1)(h=b[c])&&h.destroyElements&&h.destroyElements()}["graph","area","tracker"].forEach(function(b){var h=a[b];h&&(a[b]=h.destroy())});a.getZonesGraphs&&a.getZonesGraphs([["graph","highcharts-graph"]]).forEach(function(b){var h=a[b[0]];h&&(a[b[0]]=h.destroy())})}
62
+ function p(a,b,c,f,d,e){d=d||0;f=f||3E3;for(var h=d+f,m=!0;m&&d<h&&d<a.length;)m=b(a[d],d),++d;m&&(d<a.length?e?p(a,b,c,f,d,e):na.requestAnimationFrame?na.requestAnimationFrame(function(){p(a,b,c,f,d)}):setTimeout(p,0,a,b,c,f,d):c&&c())}function L(a){a.boost=a.boost||{getPoint:function(b){return l(a,b)}};var b=a.boost.altered=[];["allowDG","directTouch","stickyTracking"].forEach(function(c){b.push({prop:c,val:a[c],own:Object.hasOwnProperty.call(a,c)})});a.allowDG=!1;a.directTouch=!1;a.stickyTracking=
63
+ !0;a.finishedAnimating=!0;a.labelBySeries&&(a.labelBySeries=a.labelBySeries.destroy())}function M(a){var b=a.boost;b&&((b.altered||[]).forEach(function(b){b.own?a[b.prop]=b.val:delete a[b.prop]}),b.clear&&b.clear())}function y(a,b){var c=a.options,f=a.xAxis&&a.xAxis.options,d=a.yAxis&&a.yAxis.options;a=a.colorAxis&&a.colorAxis.options;return c.data.length>(c.boostThreshold||Number.MAX_VALUE)&&X(d.min)&&X(d.max)&&(!b||X(f.min)&&X(f.max))&&(!a||X(a.min)&&X(a.max))}function G(){var a=this,b=a.chart;
64
+ b.boost&&b.boost.markerGroup===a.markerGroup&&(a.markerGroup=null);b.hoverPoints&&(b.hoverPoints=b.hoverPoints.filter(function(b){return b.series===a}));b.hoverPoint&&b.hoverPoint.series===a&&(b.hoverPoint=null)}function z(){var a=this.boost;a&&a.canvas&&a.target&&(a.wgl&&a.wgl.clear(),a.clear&&a.clear())}function W(a){var b=a.boost;b&&b.canvas&&b.target&&b.wgl&&!ma(a.chart)&&b.wgl.render(a.chart)}function l(a,b){var c=a.options,f=a.xAxis,d=a.pointClass;if(b instanceof d)return b;c=a.xData||c.xData||
65
+ a.processedXData||!1;d=(new d).init(a,a.options.data[b.i],c?c[b.i]:void 0);d.category=pa(f.categories?f.categories[d.x]:d.x,d.x);d.dist=b.dist;d.distX=b.distX;d.plotX=b.plotX;d.plotY=b.plotY;d.index=b.i;d.isInside=a.isPointInside(d);return d}function ea(){function a(a,b){var c="undefined"===typeof d.index,h=!1,n=!0;if("undefined"===typeof a)return!0;if(!c){if(M){var q=a[0];var m=a[1]}else q=a,m=r[b];B?(M&&(m=a.slice(1,3)),h=m[0],m=m[1]):G&&(q=a.x,m=a.stackY,h=m-a.y);y||(n=(m||0)>=T&&m<=v);if(null!==
66
+ m&&q>=l&&q<=O&&n)if(a=f.toPixels(q,!0),w){if("undefined"===typeof E||a===J){B||(h=m);if("undefined"===typeof ba||m>K)K=m,ba=b;if("undefined"===typeof E||h<na)na=h,E=b}F&&a===J||("undefined"!==typeof E&&(m=e.toPixels(K,!0),H=e.toPixels(na,!0),V(a,m,ba),H!==m&&V(a,H,E)),E=ba=void 0,J=a)}else m=Math.ceil(e.toPixels(m,!0)),V(a,m,b)}return!c}var b=this,c=this.options||{},d=this.chart,f=this.xAxis,e=this.yAxis,n=c.xData||this.processedXData,r=c.yData||this.processedYData,g=c.data,q=f.getExtremes(),l=q.min,
67
+ O=q.max;q=e.getExtremes();var T=q.min,v=q.max,u={},w=!!this.sampling,z=!1!==c.enableMouseTracking;q=c.threshold;var B=this.pointArrayMap&&"low,high"===this.pointArrayMap.join(","),G=!!c.stacking,x=this.cropStart||0,y=this.requireSorting,M=!n,F="x"===c.findNearestPointBy,C=this.xData||this.options.xData||this.processedXData||!1;c=!1;var J,H=e.getThreshold(q),na,K,E,ba;c=t(d,this);d.boosted=!0;if(this.visible){(this.points||this.graph)&&P(this);ma(d)?(this.markerGroup&&this.markerGroup!==d.boost.markerGroup&&
68
+ this.markerGroup.destroy(),this.markerGroup=d.boost.markerGroup,this.boost&&this.boost.target&&(this.renderTarget=this.boost.target=this.boost.target.destroy())):(d.boost&&this.markerGroup===d.boost.markerGroup&&(this.markerGroup=void 0),this.markerGroup=this.plotGroup("markerGroup","markers",!0,1,d.seriesGroup));var ka=this.points=[],V=function(a,b,c){a=Math.ceil(a);qa=F?a:a+","+b;z&&!u[qa]&&(u[qa]=!0,d.inverted&&(a=f.len-a,b=e.len-b),ka.push({x:C?C[x+c]:!1,clientX:a,plotX:a,plotY:b,i:x+c}))};this.buildKDTree=
69
+ Fa;c&&(k(c,this),c.pushSeries(this),W(this));var R=c.settings;c=function(){Ga(b,"renderedCanvas");delete b.buildKDTree;b.buildKDTree();R.debug.timeKDTree&&console.timeEnd("kd tree building")};d.renderer.forExport||(R.debug.timeKDTree&&console.time("kd tree building"),p(G?this.data:n||g,a,c))}}function w(a){var b=this.series,c=this.plotX||0,d=this.plotY||0,f=b.chart.inverted;b.boosted&&f&&(this.plotX=b.yAxis.len-d,this.plotY=b.xAxis.len-c);var e=a.apply(this,[].slice.call(arguments,1));b.boosted&&
70
+ f&&(this.plotX=c,this.plotY=d);return e}function la(a){var b=!0;this.chart.options&&this.chart.options.boost&&(b="undefined"===typeof this.chart.options.boost.enabled?!0:this.chart.options.boost.enabled);if(!b||!this.boosted)return a.call(this);this.chart.boosted=!0;if(a=t(this.chart,this))k(a,this),a.pushSeries(this);W(this)}function xa(c,d,f){function e(c){var d=this.options.stacking&&("translate"===f||"generatePoints"===f);this.boosted&&!d&&b(this.chart)&&"heatmap"!==this.type&&"treemap"!==this.type&&
71
+ a[this.type]&&0!==this.options.boostThreshold?"render"===f&&this.renderCanvas&&this.renderCanvas():c.call(this)}H(c,f,e);"translate"===f&&["column","arearange","columnrange","heatmap","treemap"].forEach(function(a){d[a]&&H(d[a].prototype,f,e)})}function f(a){return this.boosted&&y(this)?{}:a.apply(this,[].slice.call(arguments,1))}function n(a,b){var c=b.plotX||0,d=b.plotY||0,f=this.chart.inverted;this.boosted&&f&&(b.plotX=this.yAxis.len-d,b.plotY=this.xAxis.len-c);var e=a.apply(this,[].slice.call(arguments,
72
+ 1));this.boosted&&f&&(b.plotX=c,b.plotY=d);return e}function q(c){var d=this,f=this.options.data,e=function(a){return d.forceCrop?!1:ma(d.chart)||(a?a.length:0)>=(d.options.boostThreshold||Number.MAX_VALUE)};b(this.chart)&&a[this.type]?(e(f)&&"heatmap"!==this.type&&"treemap"!==this.type&&!this.options.stacking&&y(this,!0)||(c.apply(this,[].slice.call(arguments,1)),f=this.processedXData),(this.boosted=e(f))?(f=void 0,this.options.data&&this.options.data.length&&(f=this.getFirstValidPoint(this.options.data),
73
+ X(f)||Ha(f)||oa(12,!1,this.chart)),L(this)):M(this)):c.apply(this,[].slice.call(arguments,1))}function r(a){var b=a.apply(this,[].slice.call(arguments,1));return this.boost&&b?this.boost.getPoint(b):b}var O=c.getBoostClipRect,ma=c.isChartSeriesBoosting,d=x.getOptions,T=u.doc,Fa=u.noop,na=u.win,J=e.addEvent,oa=e.error,fa=e.extend,Ga=e.fireEvent,Ha=e.isArray,X=e.isNumber,pa=e.pick,H=e.wrap,v=[],qa,Q;return{compose:function(a,b,c){var e=a.prototype.pointClass;-1===v.indexOf(e)&&(v.push(e),H(e.prototype,
74
+ "haloPath",w));if(-1===v.indexOf(a)){v.push(a);J(a,"destroy",G);J(a,"hide",z);var h=a.prototype;c&&(h.renderCanvas=ea);H(h,"getExtremes",f);H(h,"markerAttribs",n);H(h,"processData",q);H(h,"searchPoint",r);["translate","generatePoints","drawTracker","drawPoints","render"].forEach(function(a){return xa(h,b,a)})}if(-1===v.indexOf(d)){v.push(d);var l=d().plotOptions;g.forEach(function(a){var c=l[a];c&&(c.boostThreshold=5E3,c.boostData=[],b[a].prototype.fillOpacity=!0)})}if(c){var m=b.area,p=b.areaspline,
75
+ k=b.bubble;c=b.column;e=b.heatmap;var t=b.scatter,O=b.treemap;m&&-1===v.indexOf(m)&&(v.push(m),fa(m.prototype,{fill:!0,fillOpacity:!0,sampling:!0}));p&&-1===v.indexOf(p)&&(v.push(p),fa(p.prototype,{fill:!0,fillOpacity:!0,sampling:!0}));k&&-1===v.indexOf(k)&&(v.push(k),m=k.prototype,delete m.buildKDTree,H(m,"markerAttribs",function(a){return this.boosted?!1:a.apply(this,[].slice.call(arguments,1))}));c&&-1===v.indexOf(c)&&(v.push(c),fa(c.prototype,{fill:!0,sampling:!0}));t&&-1===v.indexOf(t)&&(v.push(t),
76
+ t.prototype.fill=!0);[e,O].forEach(function(a){a&&-1===v.indexOf(a)&&(v.push(a),H(a.prototype,"drawPoints",la))})}return a},destroyGraphics:P,getPoint:l}});x(a,"Extensions/BoostCanvas.js",[a["Extensions/Boost/BoostChart.js"],a["Extensions/Boost/BoostSeries.js"],a["Core/Chart/Chart.js"],a["Core/Color/Color.js"],a["Core/Globals.js"],a["Core/Series/Series.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,g,c,x,u,e,F,k){var b=a.getBoostClipRect,t=a.isChartSeriesBoosting,P=g.destroyGraphics,
77
+ p=x.parse,L=u.doc,M=u.noop,y=F.seriesTypes,G=k.addEvent,z=k.extend,W=k.fireEvent,l=k.isNumber,ea=k.merge,w=k.pick,la=k.wrap,xa;return function(){u.seriesTypes.heatmap&&la(u.seriesTypes.heatmap.prototype,"drawPoints",function(){var a=this.chart,b=this.getContext(),c=this.chart.inverted,e=this.xAxis,g=this.yAxis;b?(this.points.forEach(function(f){var d=f.plotY;if("undefined"!==typeof d&&!isNaN(d)&&null!==f.y&&b){var n=f.shapeArgs||{};d=n.x;d=void 0===d?0:d;var q=n.y;q=void 0===q?0:q;var r=n.width;r=
78
+ void 0===r?0:r;n=n.height;n=void 0===n?0:n;f=a.styledMode?f.series.colorAttribs(f):f.series.pointAttribs(f);b.fillStyle=f.fill;c?b.fillRect(g.len-q+e.left,e.len-d+g.top,-n,-r):b.fillRect(d+e.left,q+g.top,r,n)}}),this.canvasToSVG()):this.chart.showLoading("Your browser doesn't support HTML5 canvas, <br>please use a modern browser")});z(e.prototype,{getContext:function(){var a=this.chart,c=t(a)?a:this,e=c===a?a.seriesGroup:a.seriesGroup||this.group,g=a.chartWidth,l=a.chartHeight,p=function(a,b,c,d,
79
+ f,e,n){a.call(this,c,b,d,f,e,n)},d=c.boost=c.boost||{};var k=d.targetCtx;d.canvas||(d.canvas=L.createElement("canvas"),d.target=a.renderer.image("",0,0,g,l).addClass("highcharts-boost-canvas").add(e),k=d.targetCtx=d.canvas.getContext("2d"),a.inverted&&["moveTo","lineTo","rect","arc"].forEach(function(a){la(k,a,p)}),d.copy=function(){d.target.attr({href:d.canvas.toDataURL("image/png")})},d.clear=function(){k.clearRect(0,0,d.canvas.width,d.canvas.height);c===d.target&&d.target.attr({href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="})},
80
+ d.clipRect=a.renderer.clipRect(),d.target.clip(d.clipRect));d.canvas.width!==g&&(d.canvas.width=g);d.canvas.height!==l&&(d.canvas.height=l);d.target.attr({x:0,y:0,width:g,height:l,style:"pointer-events: none",href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="});d.clipRect&&d.clipRect.attr(b(a,c));return k},canvasToSVG:function(){t(this.chart)?this.boost&&this.boost.clear&&this.boost.clear():this.boost&&this.boost.copy?this.boost.copy():
81
+ this.chart.boost&&this.chart.boost.copy&&this.chart.boost.copy()},cvsLineTo:function(a,b,c){a.lineTo(b,c)},renderCanvas:function(){var a=this,b=a.options,c=a.chart,e=this.xAxis,g=this.yAxis,t=(c.options.boost||{}).timeRendering||!1,d=0,y=a.processedXData,F=a.processedYData,L=b.data,J=e.getExtremes(),oa=J.min,fa=J.max;J=g.getExtremes();var la=J.min,ta=J.max,X={},pa,H=!!a.sampling,v=b.marker&&b.marker.radius,qa=this.cvsDrawPoint,Q=b.lineWidth?this.cvsLineTo:void 0,h=v&&1>=v?this.cvsMarkerSquare:this.cvsMarkerCircle,
82
+ m=this.cvsStrokeBatch||1E3,Aa=!1!==b.enableMouseTracking,ca;J=b.threshold;var Y=g.getThreshold(J),da=l(J),ua=Y,ha=this.fill,ia=a.pointArrayMap&&"low,high"===a.pointArrayMap.join(","),aa=!!b.stacking,U=a.cropStart||0;J=c.options.loading;var ya=a.requireSorting,Ba,D=b.connectNulls,A=!y,I,ja,B,S,Z,N=aa?a.data:y||L,Ea=a.fillOpacity?x.parse(a.color).setOpacity(w(b.fillOpacity,.75)).get():a.color,ra=function(){ha?(E.fillStyle=Ea,E.fill()):(E.strokeStyle=a.color,E.lineWidth=b.lineWidth,E.stroke())},C=function(b,
83
+ f,e,g){0===d&&(E.beginPath(),Q&&(E.lineJoin="round"));c.scroller&&"highcharts-navigator-series"===a.options.className?(f+=c.scroller.top,e&&(e+=c.scroller.top)):f+=c.plotTop;b+=c.plotLeft;Ba?E.moveTo(b,f):qa?qa(E,b,f,e,ca):Q?Q(E,b,f):h&&h.call(a,E,b,f,v,g);d+=1;d===m&&(ra(),d=0);ca={clientX:b,plotY:f,yBottom:e}},va="x"===b.findNearestPointBy,wa=this.xData||this.options.xData||this.processedXData||!1,sa=function(a,b,d){Z=va?a:a+","+b;Aa&&!X[Z]&&(X[Z]=!0,c.inverted&&(a=e.len-a,b=g.len-b),K.push({x:wa?
84
+ wa[U+d]:!1,clientX:a,plotX:a,plotY:b,i:U+d}))};y=this.boost||{};y.target&&y.target.attr({href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="});(this.points||this.graph)&&P(this);a.plotGroup("group","series",a.visible?"visible":"hidden",b.zIndex,c.seriesGroup);a.markerGroup=a.group;G(a,"destroy",function(){a.markerGroup=null});var K=this.points=[];var E=this.getContext();a.buildKDTree=M;y.clear&&y.clear();this.visible&&(99999<L.length&&
85
+ (c.options.loading=ea(J,{labelStyle:{backgroundColor:p("#ffffff").setOpacity(.75).get(),padding:"1em",borderRadius:"0.5em"},style:{backgroundColor:"none",opacity:1}}),k.clearTimeout(xa),c.showLoading("Drawing..."),c.options.loading=J),t&&console.time("canvas rendering"),u.eachAsync(N,function(b,d){var f=!1,h=!1,n=!1,r=!1,l="undefined"===typeof c.index,m=!0;if(!l){if(A){var q=b[0];var k=b[1];N[d+1]&&(n=N[d+1][0]);N[d-1]&&(r=N[d-1][0])}else q=b,k=F[d],N[d+1]&&(n=N[d+1]),N[d-1]&&(r=N[d-1]);n&&n>=oa&&
86
+ n<=fa&&(f=!0);r&&r>=oa&&r<=fa&&(h=!0);if(ia){A&&(k=b.slice(1,3));var p=k[0];k=k[1]}else aa&&(q=b.x,k=b.stackY,p=k-b.y);b=null===k;ya||(m=k>=la&&k<=ta);if(!b&&(q>=oa&&q<=fa&&m||f||h))if(q=Math.round(e.toPixels(q,!0)),H){if("undefined"===typeof B||q===pa){ia||(p=k);if("undefined"===typeof S||k>ja)ja=k,S=d;if("undefined"===typeof B||p<I)I=p,B=d}q!==pa&&("undefined"!==typeof B&&(k=g.toPixels(ja,!0),Y=g.toPixels(I,!0),C(q,da?Math.min(k,ua):k,da?Math.max(Y,ua):Y,d),sa(q,k,S),Y!==k&&sa(q,Y,B)),B=S=void 0,
87
+ pa=q)}else k=Math.round(g.toPixels(k,!0)),C(q,k,Y,d),sa(q,k,d);Ba=b&&!D;0===d%5E4&&(a.boost&&a.boost.copy?a.boost.copy():a.chart.boost&&a.chart.boost.copy&&a.chart.boost.copy())}return!l},function(){var b=c.loadingDiv,d=c.loadingShown;ra();a.canvasToSVG();t&&console.timeEnd("canvas rendering");W(a,"renderedCanvas");d&&(z(b.style,{transition:"opacity 250ms",opacity:0}),c.loadingShown=!1,xa=setTimeout(function(){b.parentNode&&b.parentNode.removeChild(b);c.loadingDiv=c.loadingSpan=null},250));delete a.buildKDTree;
88
+ a.buildKDTree()},c.renderer.forExport?Number.MAX_VALUE:void 0))}});y.scatter.prototype.cvsMarkerCircle=function(a,b,c,e){a.moveTo(b,c);a.arc(b,c,e,0,2*Math.PI,!1)};y.scatter.prototype.cvsMarkerSquare=function(a,b,c,e){a.rect(b-e,c-e,2*e,2*e)};y.scatter.prototype.fill=!0;y.bubble&&(y.bubble.prototype.cvsMarkerCircle=function(a,b,c,e,g){a.moveTo(b,c);a.arc(b,c,this.radii&&this.radii[g],0,2*Math.PI,!1)},y.bubble.prototype.cvsStrokeBatch=1);z(y.area.prototype,{cvsDrawPoint:function(a,b,c,e,g){g&&b!==
89
+ g.clientX&&(a.moveTo(g.clientX,g.yBottom),a.lineTo(g.clientX,g.plotY),a.lineTo(b,c),a.lineTo(b,e))},fill:!0,fillOpacity:!0,sampling:!0});z(y.column.prototype,{cvsDrawPoint:function(a,b,c,e){a.rect(b-1,c,1,e-c)},fill:!0,sampling:!0});c.prototype.callbacks.push(function(a){G(a,"predraw",function(){var a=this.boost||{};a.target&&a.target.attr({href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="});a.canvas&&a.canvas.getContext("2d").clearRect(0,
90
+ 0,a.canvas.width,a.canvas.height)});G(a,"render",function(){a.boost&&a.boost.copy&&a.boost.copy()})})}});x(a,"Extensions/Boost/NamedColors.js",[],function(){return{defaultHTMLColorMap:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",
86
91
  cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",feldspar:"#d19275",
87
92
  firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",
88
93
  lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslateblue:"#8470ff",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",
89
94
  midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",
90
- salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",violetred:"#d02090",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};return b.names=n});t(b,"Extensions/Boost/Boost.js",[b["Extensions/Boost/BoostUtils.js"],
91
- b["Extensions/Boost/BoostInit.js"],b["Extensions/BoostCanvas.js"],b["Core/Utilities.js"]],function(b,t,A,m){m=m.error;b=b.hasWebGLSupport;b()?t():"undefined"!==typeof A?A():m(26)});t(b,"masters/modules/boost.src.js",[],function(){})});
95
+ salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",violetred:"#d02090",wheat:"#f5deb3",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}}});x(a,"Extensions/Boost/Boost.js",[a["Extensions/Boost/BoostChart.js"],a["Extensions/Boost/BoostSeries.js"],
96
+ a["Core/Globals.js"],a["Extensions/BoostCanvas.js"],a["Extensions/Boost/NamedColors.js"],a["Core/Utilities.js"]],function(a,g,c,x,u,e){function t(){var a=!1;if("undefined"!==typeof b.WebGLRenderingContext){var c=P.createElement("canvas");for(var e=0;e<L.length;++e)try{if(a=c.getContext(L[e]),"undefined"!==typeof a&&null!==a)return!0}catch(z){}}return!1}var k=this&&this.__assign||function(){k=Object.assign||function(a){for(var b,c=1,e=arguments.length;c<e;c++){b=arguments[c];for(var g in b)Object.prototype.hasOwnProperty.call(b,
97
+ g)&&(a[g]=b[g])}return a};return k.apply(this,arguments)},b=c.win,P=c.doc,ta=e.error,p=[],L=["webgl","experimental-webgl","moz-webgl","webkit-3d"];c={compose:function(b,c,e,z){var y=t();y||("undefined"!==typeof x?x():ta(26));z&&-1===p.indexOf(z)&&(p.push(z),z.names=k(k({},z.names),u.defaultHTMLColorMap));a.compose(b,y);g.compose(c,e,y)},hasWebGLSupport:t};"";return c});x(a,"masters/modules/boost.src.js",[a["Core/Globals.js"],a["Extensions/Boost/Boost.js"]],function(a,g){a.hasWebGLSupport=g.hasWebGLSupport;
98
+ g.compose(a.Chart,a.Series,a.seriesTypes,a.Color)})});
92
99
  //# sourceMappingURL=boost.js.map