highcharts 13.0.2 → 13.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1166) hide show
  1. package/bower.json +1 -1
  2. package/css/highcharts.css +6 -2
  3. package/es-modules/Accessibility/Components/InfoRegionsComponent.js +10 -6
  4. package/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js +2 -1
  5. package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +25 -1
  6. package/es-modules/Accessibility/KeyboardNavigation.js +1 -1
  7. package/es-modules/Accessibility/Utils/HTMLUtilities.js +13 -3
  8. package/es-modules/Core/Animation/AnimationUtilities.js +7 -2
  9. package/es-modules/Core/Animation/Fx.js +1 -0
  10. package/es-modules/Core/Axis/Axis.js +181 -211
  11. package/es-modules/Core/Axis/Axis3DComposition.js +13 -15
  12. package/es-modules/Core/Axis/AxisDefaults.js +9 -8
  13. package/es-modules/Core/Axis/BrokenAxis.js +5 -4
  14. package/es-modules/Core/Axis/Color/ColorAxis.js +66 -54
  15. package/es-modules/Core/Axis/Color/ColorAxisComposition.js +3 -0
  16. package/es-modules/Core/Axis/Color/ColorAxisDefaults.js +6 -4
  17. package/es-modules/Core/Axis/DateTimeAxis.js +4 -3
  18. package/es-modules/Core/Axis/GridAxis.js +17 -13
  19. package/es-modules/Core/Axis/LogarithmicAxis.js +4 -3
  20. package/es-modules/Core/Axis/NavigatorAxisComposition.js +3 -4
  21. package/es-modules/Core/Axis/OrdinalAxis.js +0 -15
  22. package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +135 -72
  23. package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js +72 -124
  24. package/es-modules/Core/Axis/RadialAxis.js +50 -7
  25. package/es-modules/Core/Axis/ScrollbarAxis.js +3 -0
  26. package/es-modules/Core/Axis/Stacking/StackItem.js +49 -75
  27. package/es-modules/Core/Axis/Stacking/StackingAxis.js +34 -22
  28. package/es-modules/Core/Axis/Tick.js +95 -92
  29. package/es-modules/Core/Axis/TreeGrid/TreeGridAxis.js +9 -13
  30. package/es-modules/Core/Axis/WaterfallAxis.js +1 -1
  31. package/es-modules/Core/Chart/Chart.js +13 -4
  32. package/es-modules/Core/Chart/StockChart.js +20 -26
  33. package/es-modules/Core/Defaults.js +18 -0
  34. package/es-modules/Core/Globals.js +9 -7
  35. package/es-modules/Core/Pointer.js +7 -8
  36. package/es-modules/Core/Renderer/HTML/AST.js +18 -11
  37. package/es-modules/Core/Renderer/HTML/HTMLElement.js +5 -1
  38. package/es-modules/Core/Renderer/SVG/SVGElement.js +1 -0
  39. package/es-modules/Core/Renderer/SVG/SVGRenderer.js +1 -1
  40. package/es-modules/Core/Renderer/SVG/Symbols.js +1 -1
  41. package/es-modules/Core/Renderer/SVG/TextBuilder.js +6 -2
  42. package/es-modules/Core/Series/OverlappingDataLabels.js +41 -32
  43. package/es-modules/Core/Series/Point.js +14 -11
  44. package/es-modules/Core/Series/Series.js +21 -10
  45. package/es-modules/Core/Tooltip.js +35 -40
  46. package/es-modules/Data/DataCursor.js +3 -2
  47. package/es-modules/Data/DataTable.js +21 -2
  48. package/es-modules/Data/DataTableCore.js +28 -4
  49. package/es-modules/Data/Formula/FormulaParser.js +30 -10
  50. package/es-modules/Extensions/Annotations/Annotation.js +5 -7
  51. package/es-modules/Extensions/Annotations/AnnotationChart.js +2 -1
  52. package/es-modules/Extensions/Boost/BoostSeries.js +4 -13
  53. package/es-modules/Extensions/Breadcrumbs/Breadcrumbs.js +6 -4
  54. package/es-modules/Extensions/Breadcrumbs/BreadcrumbsDefaults.js +1 -1
  55. package/es-modules/Extensions/Data.js +4 -2
  56. package/es-modules/Extensions/DragPanes/DragPanes.js +6 -9
  57. package/es-modules/Extensions/Drilldown/Drilldown.js +9 -4
  58. package/es-modules/Extensions/ExportData/ExportData.js +24 -4
  59. package/es-modules/Extensions/Pane/Pane.js +1 -1
  60. package/es-modules/Extensions/ParallelCoordinates/ParallelAxis.js +5 -4
  61. package/es-modules/Extensions/StaticScale.js +13 -11
  62. package/es-modules/Series/Area/AreaSeriesDefaults.js +1 -1
  63. package/es-modules/Series/AreaRange/AreaRangeSeriesDefaults.js +1 -1
  64. package/es-modules/Series/AreaSpline/AreaSplineSeries.js +1 -1
  65. package/es-modules/Series/AreaSplineRange/AreaSplineRangeSeries.js +1 -1
  66. package/es-modules/Series/Bar/BarSeries.js +1 -1
  67. package/es-modules/Series/Bellcurve/BellcurveSeriesDefaults.js +1 -1
  68. package/es-modules/Series/BoxPlot/BoxPlotSeriesDefaults.js +1 -1
  69. package/es-modules/Series/Bubble/BubbleSeries.js +1 -1
  70. package/es-modules/Series/Bullet/BulletSeriesDefaults.js +1 -1
  71. package/es-modules/Series/Candlestick/CandlestickSeriesDefaults.js +1 -1
  72. package/es-modules/Series/Column/ColumnSeriesDefaults.js +6 -3
  73. package/es-modules/Series/ColumnPyramid/ColumnPyramidSeriesDefaults.js +2 -3
  74. package/es-modules/Series/ColumnRange/ColumnRangeSeriesDefaults.js +1 -1
  75. package/es-modules/Series/Contour/ContourSeriesDefaults.js +12 -14
  76. package/es-modules/Series/ErrorBar/ErrorBarSeriesDefaults.js +1 -1
  77. package/es-modules/Series/Flags/FlagsPoint.js +4 -2
  78. package/es-modules/Series/Flags/FlagsPointOptions.js +12 -0
  79. package/es-modules/Series/Flags/FlagsSeries.js +8 -7
  80. package/es-modules/Series/Flags/FlagsSeriesDefaults.js +7 -7
  81. package/es-modules/Series/Flags/FlagsSeriesOptions.js +12 -0
  82. package/es-modules/Series/Flags/FlagsSymbols.js +5 -3
  83. package/es-modules/Series/Funnel/FunnelSeriesDefaults.js +1 -1
  84. package/es-modules/Series/Gauge/GaugeSeries.js +1 -1
  85. package/es-modules/Series/GeoHeatmap/GeoHeatmapSeries.js +1 -1
  86. package/es-modules/Series/HLC/HLCSeriesDefaults.js +1 -7
  87. package/es-modules/Series/Heatmap/HeatmapSeriesDefaults.js +1 -1
  88. package/es-modules/Series/HeikinAshi/HeikinAshiSeriesDefaults.js +1 -1
  89. package/es-modules/Series/Histogram/HistogramSeriesDefaults.js +1 -1
  90. package/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +1 -1
  91. package/es-modules/Series/Item/ItemSeriesDefaults.js +1 -1
  92. package/es-modules/Series/Line/LineSeries.js +0 -1
  93. package/es-modules/Series/Map/MapSeriesDefaults.js +1 -1
  94. package/es-modules/Series/MapBubble/MapBubbleSeries.js +0 -1
  95. package/es-modules/Series/MapLine/MapLineSeriesDefaults.js +1 -1
  96. package/es-modules/Series/MapPoint/MapPointSeriesDefaults.js +0 -1
  97. package/es-modules/Series/Networkgraph/ReingoldFruchtermanLayout.js +5 -5
  98. package/es-modules/Series/OHLC/OHLCSeriesDefaults.js +0 -1
  99. package/es-modules/Series/PackedBubble/PackedBubbleChart.js +18 -0
  100. package/es-modules/Series/PackedBubble/PackedBubbleDataLabelOptions.js +12 -0
  101. package/es-modules/Series/PackedBubble/PackedBubbleIntegration.js +3 -3
  102. package/es-modules/Series/PackedBubble/PackedBubbleLayout.js +2 -2
  103. package/es-modules/Series/PackedBubble/PackedBubblePoint.js +1 -1
  104. package/es-modules/Series/PackedBubble/PackedBubblePointOptions.js +12 -0
  105. package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +20 -20
  106. package/es-modules/Series/PackedBubble/PackedBubbleSeriesDefaults.js +2 -2
  107. package/es-modules/Series/PackedBubble/PackedBubbleSeriesOptions.js +12 -0
  108. package/es-modules/Series/ParetoSeries/ParetoPoint.js +17 -0
  109. package/es-modules/Series/ParetoSeries/ParetoPointOptions.js +12 -0
  110. package/es-modules/Series/ParetoSeries/ParetoSeries.js +3 -3
  111. package/es-modules/Series/ParetoSeries/ParetoSeriesDefaults.js +1 -1
  112. package/es-modules/Series/ParetoSeries/ParetoSeriesOptions.js +12 -0
  113. package/es-modules/Series/PathUtilities.js +3 -1
  114. package/es-modules/Series/Pictorial/PictorialPointOptions.js +12 -0
  115. package/es-modules/Series/Pictorial/PictorialSeries.js +5 -25
  116. package/es-modules/Series/Pictorial/PictorialSeriesDefaults.js +45 -0
  117. package/es-modules/Series/Pictorial/PictorialSeriesOptions.js +12 -0
  118. package/es-modules/Series/Pie/PieSeriesDefaults.js +1 -1
  119. package/es-modules/Series/Pie3D/Pie3DPoint.js +1 -1
  120. package/es-modules/Series/Pie3D/Pie3DSeries.js +6 -6
  121. package/es-modules/Series/PolarComposition.js +22 -21
  122. package/es-modules/Series/Polygon/PolygonPoint.js +17 -0
  123. package/es-modules/Series/Polygon/PolygonPointOptions.js +12 -0
  124. package/es-modules/Series/Polygon/PolygonSeriesDefaults.js +1 -1
  125. package/es-modules/Series/Polygon/PolygonSeriesOptions.js +12 -0
  126. package/es-modules/Series/Pyramid/PyramidPoint.js +19 -0
  127. package/es-modules/Series/Pyramid/PyramidPointOptions.js +14 -0
  128. package/es-modules/Series/Pyramid/PyramidSeries.js +1 -1
  129. package/es-modules/Series/Pyramid/PyramidSeriesDefaults.js +1 -1
  130. package/es-modules/Series/Pyramid/PyramidSeriesOptions.js +14 -0
  131. package/es-modules/Series/Pyramid3D/Pyramid3DPoint.js +19 -0
  132. package/es-modules/Series/Pyramid3D/Pyramid3DPointOptions.js +14 -0
  133. package/es-modules/Series/Pyramid3D/Pyramid3DSeries.js +1 -1
  134. package/es-modules/Series/Pyramid3D/Pyramid3DSeriesOptions.js +14 -0
  135. package/es-modules/Series/Renko/RenkoSeriesDefaults.js +1 -2
  136. package/es-modules/Series/Sankey/SankeySeriesDefaults.js +6 -7
  137. package/es-modules/Series/Scatter/ScatterSeriesDefaults.js +1 -1
  138. package/es-modules/Series/SolidGauge/SolidGaugeSeriesDefaults.js +1 -1
  139. package/es-modules/Series/Spline/SplineSeries.js +1 -1
  140. package/es-modules/Series/Streamgraph/StreamgraphSeriesDefaults.js +1 -1
  141. package/es-modules/Series/Sunburst/SunburstSeriesDefaults.js +1 -1
  142. package/es-modules/Series/TiledWebMap/TiledWebMapSeriesDefaults.js +2 -2
  143. package/es-modules/Series/Tilemap/TilemapSeriesDefaults.js +1 -1
  144. package/es-modules/Series/Timeline/TimelineSeriesDefaults.js +1 -1
  145. package/es-modules/Series/Treemap/TreemapSeriesDefaults.js +1 -1
  146. package/es-modules/Series/VariablePie/VariablePieSeriesDefaults.js +1 -1
  147. package/es-modules/Series/Variwide/VariwideComposition.js +11 -8
  148. package/es-modules/Series/Vector/VectorSeriesDefaults.js +1 -1
  149. package/es-modules/Series/Venn/VennSeriesDefaults.js +1 -1
  150. package/es-modules/Series/Waterfall/WaterfallSeriesDefaults.js +1 -1
  151. package/es-modules/Series/Windbarb/WindbarbSeriesDefaults.js +1 -1
  152. package/es-modules/Shared/Utilities.js +7 -0
  153. package/es-modules/Stock/Indicators/ABands/ABandsIndicator.js +1 -1
  154. package/es-modules/Stock/Indicators/AD/ADIndicator.js +0 -1
  155. package/es-modules/Stock/Indicators/AO/AOIndicator.js +1 -1
  156. package/es-modules/Stock/Indicators/APO/APOIndicator.js +1 -1
  157. package/es-modules/Stock/Indicators/ATR/ATRIndicator.js +0 -1
  158. package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +1 -1
  159. package/es-modules/Stock/Indicators/AroonOscillator/AroonOscillatorIndicator.js +2 -2
  160. package/es-modules/Stock/Indicators/BB/BBIndicator.js +0 -1
  161. package/es-modules/Stock/Indicators/CCI/CCIIndicator.js +0 -1
  162. package/es-modules/Stock/Indicators/CMF/CMFIndicator.js +0 -1
  163. package/es-modules/Stock/Indicators/CMO/CMOIndicator.js +0 -1
  164. package/es-modules/Stock/Indicators/Chaikin/ChaikinIndicator.js +1 -1
  165. package/es-modules/Stock/Indicators/DEMA/DEMAIndicator.js +1 -1
  166. package/es-modules/Stock/Indicators/DMI/DMIIndicator.js +3 -3
  167. package/es-modules/Stock/Indicators/DPO/DPOIndicator.js +1 -1
  168. package/es-modules/Stock/Indicators/DisparityIndex/DisparityIndexIndicator.js +3 -3
  169. package/es-modules/Stock/Indicators/EMA/EMAIndicator.js +0 -1
  170. package/es-modules/Stock/Indicators/IKH/IKHIndicator.js +0 -1
  171. package/es-modules/Stock/Indicators/KeltnerChannels/KeltnerChannelsIndicator.js +1 -1
  172. package/es-modules/Stock/Indicators/LinearRegression/LinearRegressionIndicator.js +0 -1
  173. package/es-modules/Stock/Indicators/LinearRegressionAngle/LinearRegressionAngleIndicator.js +0 -1
  174. package/es-modules/Stock/Indicators/LinearRegressionIntercept/LinearRegressionInterceptIndicator.js +0 -1
  175. package/es-modules/Stock/Indicators/LinearRegressionSlopes/LinearRegressionSlopesIndicator.js +0 -1
  176. package/es-modules/Stock/Indicators/MACD/MACDIndicator.js +0 -1
  177. package/es-modules/Stock/Indicators/MFI/MFIIndicator.js +0 -1
  178. package/es-modules/Stock/Indicators/Momentum/MomentumIndicator.js +0 -1
  179. package/es-modules/Stock/Indicators/NATR/NATRIndicator.js +0 -1
  180. package/es-modules/Stock/Indicators/OBV/OBVIndicator.js +0 -1
  181. package/es-modules/Stock/Indicators/PC/PCIndicator.js +1 -1
  182. package/es-modules/Stock/Indicators/PPO/PPOIndicator.js +1 -1
  183. package/es-modules/Stock/Indicators/PSAR/PSARIndicator.js +0 -1
  184. package/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +0 -1
  185. package/es-modules/Stock/Indicators/PriceEnvelopes/PriceEnvelopesIndicator.js +0 -1
  186. package/es-modules/Stock/Indicators/ROC/ROCIndicator.js +0 -1
  187. package/es-modules/Stock/Indicators/RSI/RSIIndicator.js +0 -1
  188. package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +1 -1
  189. package/es-modules/Stock/Indicators/Stochastic/StochasticIndicator.js +3 -3
  190. package/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +1 -1
  191. package/es-modules/Stock/Indicators/TEMA/TEMAIndicator.js +1 -1
  192. package/es-modules/Stock/Indicators/TRIX/TRIXIndicator.js +1 -1
  193. package/es-modules/Stock/Indicators/TrendLine/TrendLineIndicator.js +0 -1
  194. package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +1 -1
  195. package/es-modules/Stock/Indicators/VWAP/VWAPIndicator.js +0 -1
  196. package/es-modules/Stock/Indicators/WMA/WMAIndicator.js +0 -1
  197. package/es-modules/Stock/Indicators/WilliamsR/WilliamsRIndicator.js +1 -1
  198. package/es-modules/Stock/Indicators/Zigzag/ZigzagIndicator.js +0 -1
  199. package/es-modules/Stock/Navigator/ChartNavigatorComposition.js +5 -5
  200. package/es-modules/Stock/Navigator/Navigator.js +1 -5
  201. package/es-modules/Stock/Navigator/StandaloneNavigator.js +38 -8
  202. package/es-modules/Stock/RangeSelector/RangeSelectorComposition.js +2 -2
  203. package/es-modules/Stock/Scrollbar/ScrollbarDefaults.js +1 -3
  204. package/es-modules/masters/highcharts-3d.src.js +1 -1
  205. package/es-modules/masters/highcharts-autoload.src.js +1 -1
  206. package/es-modules/masters/highcharts-gantt.src.js +1 -1
  207. package/es-modules/masters/highcharts-more.src.js +1 -1
  208. package/es-modules/masters/highcharts.src.js +1 -1
  209. package/es-modules/masters/highmaps.src.js +1 -1
  210. package/es-modules/masters/highstock.src.js +1 -1
  211. package/es-modules/masters/i18n/fr-FR.src.d.ts +1 -1
  212. package/es-modules/masters/i18n/fr-FR.src.js +1 -1
  213. package/es-modules/masters/i18n/nb-NO.src.d.ts +1 -1
  214. package/es-modules/masters/i18n/nb-NO.src.js +1 -1
  215. package/es-modules/masters/i18n/zh-CN.src.d.ts +1 -1
  216. package/es-modules/masters/i18n/zh-CN.src.js +1 -1
  217. package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
  218. package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
  219. package/es-modules/masters/indicators/ao.src.js +1 -1
  220. package/es-modules/masters/indicators/apo.src.js +1 -1
  221. package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
  222. package/es-modules/masters/indicators/aroon.src.js +1 -1
  223. package/es-modules/masters/indicators/atr.src.js +1 -1
  224. package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
  225. package/es-modules/masters/indicators/cci.src.js +1 -1
  226. package/es-modules/masters/indicators/chaikin.src.js +1 -1
  227. package/es-modules/masters/indicators/cmf.src.js +1 -1
  228. package/es-modules/masters/indicators/cmo.src.js +1 -1
  229. package/es-modules/masters/indicators/dema.src.js +1 -1
  230. package/es-modules/masters/indicators/disparity-index.src.js +1 -1
  231. package/es-modules/masters/indicators/dmi.src.js +1 -1
  232. package/es-modules/masters/indicators/dpo.src.js +1 -1
  233. package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
  234. package/es-modules/masters/indicators/indicators-all.src.js +1 -1
  235. package/es-modules/masters/indicators/indicators.src.js +1 -1
  236. package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
  237. package/es-modules/masters/indicators/klinger.src.js +1 -1
  238. package/es-modules/masters/indicators/macd.src.js +1 -1
  239. package/es-modules/masters/indicators/mfi.src.js +1 -1
  240. package/es-modules/masters/indicators/momentum.src.js +1 -1
  241. package/es-modules/masters/indicators/natr.src.js +1 -1
  242. package/es-modules/masters/indicators/obv.src.js +1 -1
  243. package/es-modules/masters/indicators/pivot-points.src.js +1 -1
  244. package/es-modules/masters/indicators/ppo.src.js +1 -1
  245. package/es-modules/masters/indicators/price-channel.src.js +1 -1
  246. package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
  247. package/es-modules/masters/indicators/psar.src.js +1 -1
  248. package/es-modules/masters/indicators/regressions.src.js +1 -1
  249. package/es-modules/masters/indicators/roc.src.js +1 -1
  250. package/es-modules/masters/indicators/rsi.src.js +1 -1
  251. package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
  252. package/es-modules/masters/indicators/stochastic.src.js +1 -1
  253. package/es-modules/masters/indicators/supertrend.src.js +1 -1
  254. package/es-modules/masters/indicators/tema.src.js +1 -1
  255. package/es-modules/masters/indicators/trendline.src.js +1 -1
  256. package/es-modules/masters/indicators/trix.src.js +1 -1
  257. package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
  258. package/es-modules/masters/indicators/vwap.src.js +1 -1
  259. package/es-modules/masters/indicators/williams-r.src.js +1 -1
  260. package/es-modules/masters/indicators/wma.src.js +1 -1
  261. package/es-modules/masters/indicators/zigzag.src.js +1 -1
  262. package/es-modules/masters/modules/accessibility.src.js +1 -1
  263. package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
  264. package/es-modules/masters/modules/annotations.src.js +1 -1
  265. package/es-modules/masters/modules/arc-diagram.src.js +1 -1
  266. package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
  267. package/es-modules/masters/modules/boost-canvas.src.js +1 -1
  268. package/es-modules/masters/modules/boost.src.js +1 -1
  269. package/es-modules/masters/modules/broken-axis.src.js +1 -1
  270. package/es-modules/masters/modules/bullet.src.js +1 -1
  271. package/es-modules/masters/modules/coloraxis.src.js +1 -1
  272. package/es-modules/masters/modules/contour.src.js +1 -1
  273. package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
  274. package/es-modules/masters/modules/cylinder.src.js +1 -1
  275. package/es-modules/masters/modules/data-sorting.src.js +1 -1
  276. package/es-modules/masters/modules/data-tools.src.js +1 -1
  277. package/es-modules/masters/modules/data.src.js +1 -1
  278. package/es-modules/masters/modules/datagrouping.src.js +1 -1
  279. package/es-modules/masters/modules/debugger.src.js +1 -1
  280. package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
  281. package/es-modules/masters/modules/dotplot.src.js +1 -1
  282. package/es-modules/masters/modules/drag-panes.src.js +1 -1
  283. package/es-modules/masters/modules/draggable-points.src.js +1 -1
  284. package/es-modules/masters/modules/drilldown.src.js +1 -1
  285. package/es-modules/masters/modules/dumbbell.src.js +1 -1
  286. package/es-modules/masters/modules/export-data.src.js +1 -1
  287. package/es-modules/masters/modules/exporting.src.js +1 -1
  288. package/es-modules/masters/modules/flowmap.src.js +1 -1
  289. package/es-modules/masters/modules/full-screen.src.js +1 -1
  290. package/es-modules/masters/modules/funnel.src.js +1 -1
  291. package/es-modules/masters/modules/funnel3d.src.js +1 -1
  292. package/es-modules/masters/modules/gantt.src.js +1 -1
  293. package/es-modules/masters/modules/geoheatmap.src.js +1 -1
  294. package/es-modules/masters/modules/grid-axis.src.js +1 -1
  295. package/es-modules/masters/modules/heatmap.src.js +1 -1
  296. package/es-modules/masters/modules/heikinashi.src.js +1 -1
  297. package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
  298. package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
  299. package/es-modules/masters/modules/item-series.src.js +1 -1
  300. package/es-modules/masters/modules/lollipop.src.js +1 -1
  301. package/es-modules/masters/modules/map.src.js +1 -1
  302. package/es-modules/masters/modules/marker-clusters.src.js +1 -1
  303. package/es-modules/masters/modules/mouse-wheel-zoom.src.js +1 -1
  304. package/es-modules/masters/modules/navigator.src.js +1 -1
  305. package/es-modules/masters/modules/networkgraph.src.js +1 -1
  306. package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
  307. package/es-modules/masters/modules/non-cartesian-zoom.src.js +1 -1
  308. package/es-modules/masters/modules/offline-exporting.src.js +1 -1
  309. package/es-modules/masters/modules/organization.src.js +1 -1
  310. package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
  311. package/es-modules/masters/modules/pareto.src.js +1 -1
  312. package/es-modules/masters/modules/pathfinder.src.js +1 -1
  313. package/es-modules/masters/modules/pattern-fill.src.js +1 -1
  314. package/es-modules/masters/modules/pictorial.src.js +1 -1
  315. package/es-modules/masters/modules/pointandfigure.src.js +1 -1
  316. package/es-modules/masters/modules/price-indicator.src.js +1 -1
  317. package/es-modules/masters/modules/pyramid3d.src.js +1 -1
  318. package/es-modules/masters/modules/renko.src.js +1 -1
  319. package/es-modules/masters/modules/sankey.src.js +1 -1
  320. package/es-modules/masters/modules/series-label.src.js +1 -1
  321. package/es-modules/masters/modules/series-on-point.src.js +1 -1
  322. package/es-modules/masters/modules/solid-gauge.src.js +1 -1
  323. package/es-modules/masters/modules/sonification.src.js +1 -1
  324. package/es-modules/masters/modules/static-scale.src.js +1 -1
  325. package/es-modules/masters/modules/stock-tools.src.js +1 -1
  326. package/es-modules/masters/modules/stock.src.js +1 -1
  327. package/es-modules/masters/modules/streamgraph.src.js +1 -1
  328. package/es-modules/masters/modules/sunburst.src.js +1 -1
  329. package/es-modules/masters/modules/textpath.src.js +1 -1
  330. package/es-modules/masters/modules/tiledwebmap.src.js +1 -1
  331. package/es-modules/masters/modules/tilemap.src.js +1 -1
  332. package/es-modules/masters/modules/timeline.src.js +1 -1
  333. package/es-modules/masters/modules/treegraph.src.js +1 -1
  334. package/es-modules/masters/modules/treegrid.src.js +1 -1
  335. package/es-modules/masters/modules/treemap.src.js +1 -1
  336. package/es-modules/masters/modules/variable-pie.src.js +1 -1
  337. package/es-modules/masters/modules/variwide.src.js +1 -1
  338. package/es-modules/masters/modules/vector.src.js +1 -1
  339. package/es-modules/masters/modules/venn.src.js +1 -1
  340. package/es-modules/masters/modules/windbarb.src.js +1 -1
  341. package/es-modules/masters/modules/wordcloud.src.js +1 -1
  342. package/es-modules/masters/modules/xrange.src.js +1 -1
  343. package/es-modules/masters/standalone-navigator.src.js +1 -1
  344. package/es-modules/masters/themes/adaptive.src.js +1 -1
  345. package/es-modules/masters/themes/avocado.src.js +1 -1
  346. package/es-modules/masters/themes/dark-unica.src.js +1 -1
  347. package/es-modules/masters/themes/grid-light.src.js +1 -1
  348. package/es-modules/masters/themes/high-contrast.src.js +1 -1
  349. package/es-modules/masters/themes/sand-signika.src.js +1 -1
  350. package/es-modules/masters/themes/sunset.src.js +1 -1
  351. package/es-modules/tsconfig.tsbuildinfo +1 -1
  352. package/esm/highcharts-3d.js +2 -2
  353. package/esm/highcharts-3d.src.js +38 -61
  354. package/esm/highcharts-autoload.js +2 -2
  355. package/esm/highcharts-autoload.src.js +18 -39
  356. package/esm/highcharts-gantt.js +1 -1
  357. package/esm/highcharts-gantt.src.js +1 -1
  358. package/esm/highcharts-more.js +2 -2
  359. package/esm/highcharts-more.src.js +142 -120
  360. package/esm/highcharts.js +4 -4
  361. package/esm/highcharts.src.js +824 -750
  362. package/esm/highmaps.js +1 -1
  363. package/esm/highmaps.src.js +1 -1
  364. package/esm/highstock.js +1 -1
  365. package/esm/highstock.src.js +1 -1
  366. package/esm/i18n/fr-FR.js +2 -2
  367. package/esm/i18n/fr-FR.src.js +17 -38
  368. package/esm/i18n/nb-NO.js +2 -2
  369. package/esm/i18n/nb-NO.src.js +17 -38
  370. package/esm/i18n/zh-CN.js +2 -2
  371. package/esm/i18n/zh-CN.src.js +17 -38
  372. package/esm/indicators/acceleration-bands.js +2 -2
  373. package/esm/indicators/acceleration-bands.src.js +18 -39
  374. package/esm/indicators/accumulation-distribution.js +2 -2
  375. package/esm/indicators/accumulation-distribution.src.js +17 -39
  376. package/esm/indicators/ao.js +2 -2
  377. package/esm/indicators/ao.src.js +18 -39
  378. package/esm/indicators/apo.js +2 -2
  379. package/esm/indicators/apo.src.js +18 -39
  380. package/esm/indicators/aroon-oscillator.js +2 -2
  381. package/esm/indicators/aroon-oscillator.src.js +19 -40
  382. package/esm/indicators/aroon.js +2 -2
  383. package/esm/indicators/aroon.src.js +18 -39
  384. package/esm/indicators/atr.js +2 -2
  385. package/esm/indicators/atr.src.js +17 -39
  386. package/esm/indicators/bollinger-bands.js +2 -2
  387. package/esm/indicators/bollinger-bands.src.js +17 -39
  388. package/esm/indicators/cci.js +2 -2
  389. package/esm/indicators/cci.src.js +17 -39
  390. package/esm/indicators/chaikin.js +2 -2
  391. package/esm/indicators/chaikin.src.js +18 -40
  392. package/esm/indicators/cmf.js +2 -2
  393. package/esm/indicators/cmf.src.js +17 -39
  394. package/esm/indicators/cmo.js +2 -2
  395. package/esm/indicators/cmo.src.js +17 -39
  396. package/esm/indicators/dema.js +2 -2
  397. package/esm/indicators/dema.src.js +18 -39
  398. package/esm/indicators/disparity-index.js +2 -2
  399. package/esm/indicators/disparity-index.src.js +20 -41
  400. package/esm/indicators/dmi.js +2 -2
  401. package/esm/indicators/dmi.src.js +20 -41
  402. package/esm/indicators/dpo.js +2 -2
  403. package/esm/indicators/dpo.src.js +18 -39
  404. package/esm/indicators/ichimoku-kinko-hyo.js +2 -2
  405. package/esm/indicators/ichimoku-kinko-hyo.src.js +18 -40
  406. package/esm/indicators/indicators-all.js +2 -2
  407. package/esm/indicators/indicators-all.src.js +76 -99
  408. package/esm/indicators/indicators.js +2 -2
  409. package/esm/indicators/indicators.src.js +48 -46
  410. package/esm/indicators/keltner-channels.js +2 -2
  411. package/esm/indicators/keltner-channels.src.js +18 -39
  412. package/esm/indicators/klinger.js +2 -2
  413. package/esm/indicators/klinger.src.js +17 -38
  414. package/esm/indicators/macd.js +2 -2
  415. package/esm/indicators/macd.src.js +17 -39
  416. package/esm/indicators/mfi.js +2 -2
  417. package/esm/indicators/mfi.src.js +17 -39
  418. package/esm/indicators/momentum.js +2 -2
  419. package/esm/indicators/momentum.src.js +17 -39
  420. package/esm/indicators/natr.js +2 -2
  421. package/esm/indicators/natr.src.js +17 -39
  422. package/esm/indicators/obv.js +2 -2
  423. package/esm/indicators/obv.src.js +17 -39
  424. package/esm/indicators/pivot-points.js +2 -2
  425. package/esm/indicators/pivot-points.src.js +17 -39
  426. package/esm/indicators/ppo.js +2 -2
  427. package/esm/indicators/ppo.src.js +18 -39
  428. package/esm/indicators/price-channel.js +2 -2
  429. package/esm/indicators/price-channel.src.js +18 -39
  430. package/esm/indicators/price-envelopes.js +2 -2
  431. package/esm/indicators/price-envelopes.src.js +17 -39
  432. package/esm/indicators/psar.js +2 -2
  433. package/esm/indicators/psar.src.js +17 -39
  434. package/esm/indicators/regressions.js +2 -2
  435. package/esm/indicators/regressions.src.js +17 -42
  436. package/esm/indicators/roc.js +2 -2
  437. package/esm/indicators/roc.src.js +17 -39
  438. package/esm/indicators/rsi.js +2 -2
  439. package/esm/indicators/rsi.src.js +17 -39
  440. package/esm/indicators/slow-stochastic.js +2 -2
  441. package/esm/indicators/slow-stochastic.src.js +17 -38
  442. package/esm/indicators/stochastic.js +2 -2
  443. package/esm/indicators/stochastic.src.js +20 -41
  444. package/esm/indicators/supertrend.js +2 -2
  445. package/esm/indicators/supertrend.src.js +19 -40
  446. package/esm/indicators/tema.js +2 -2
  447. package/esm/indicators/tema.src.js +18 -39
  448. package/esm/indicators/trendline.js +2 -2
  449. package/esm/indicators/trendline.src.js +17 -39
  450. package/esm/indicators/trix.js +2 -2
  451. package/esm/indicators/trix.src.js +18 -39
  452. package/esm/indicators/volume-by-price.js +2 -2
  453. package/esm/indicators/volume-by-price.src.js +18 -39
  454. package/esm/indicators/vwap.js +2 -2
  455. package/esm/indicators/vwap.src.js +17 -39
  456. package/esm/indicators/williams-r.js +2 -2
  457. package/esm/indicators/williams-r.src.js +18 -39
  458. package/esm/indicators/wma.js +2 -2
  459. package/esm/indicators/wma.src.js +17 -39
  460. package/esm/indicators/zigzag.js +2 -2
  461. package/esm/indicators/zigzag.src.js +17 -39
  462. package/esm/modules/accessibility.js +2 -2
  463. package/esm/modules/accessibility.src.js +90 -76
  464. package/esm/modules/annotations-advanced.js +3 -3
  465. package/esm/modules/annotations-advanced.src.js +36 -58
  466. package/esm/modules/annotations.js +3 -3
  467. package/esm/modules/annotations.src.js +36 -58
  468. package/esm/modules/arc-diagram.js +2 -2
  469. package/esm/modules/arc-diagram.src.js +18 -39
  470. package/esm/modules/arrow-symbols.js +3 -3
  471. package/esm/modules/arrow-symbols.src.js +17 -38
  472. package/esm/modules/boost-canvas.js +2 -2
  473. package/esm/modules/boost-canvas.src.js +57 -63
  474. package/esm/modules/boost.js +2 -2
  475. package/esm/modules/boost.src.js +56 -62
  476. package/esm/modules/broken-axis.js +2 -2
  477. package/esm/modules/broken-axis.src.js +21 -41
  478. package/esm/modules/bullet.js +2 -2
  479. package/esm/modules/bullet.src.js +18 -39
  480. package/esm/modules/coloraxis.js +2 -2
  481. package/esm/modules/coloraxis.src.js +92 -96
  482. package/esm/modules/contour.js +3 -3
  483. package/esm/modules/contour.src.js +29 -52
  484. package/esm/modules/current-date-indicator.js +2 -2
  485. package/esm/modules/current-date-indicator.src.js +17 -38
  486. package/esm/modules/cylinder.js +2 -2
  487. package/esm/modules/cylinder.src.js +18 -39
  488. package/esm/modules/data-sorting.js +2 -2
  489. package/esm/modules/data-sorting.src.js +18 -39
  490. package/esm/modules/data-tools.js +2 -2
  491. package/esm/modules/data-tools.src.js +110 -67
  492. package/esm/modules/data.js +4 -4
  493. package/esm/modules/data.src.js +53 -48
  494. package/esm/modules/datagrouping.js +2 -2
  495. package/esm/modules/datagrouping.src.js +52 -48
  496. package/esm/modules/debugger.js +2 -2
  497. package/esm/modules/debugger.src.js +17 -38
  498. package/esm/modules/dependency-wheel.js +2 -2
  499. package/esm/modules/dependency-wheel.src.js +17 -38
  500. package/esm/modules/dotplot.js +2 -2
  501. package/esm/modules/dotplot.src.js +17 -38
  502. package/esm/modules/drag-panes.js +2 -2
  503. package/esm/modules/drag-panes.src.js +22 -46
  504. package/esm/modules/draggable-points.js +2 -2
  505. package/esm/modules/draggable-points.src.js +17 -38
  506. package/esm/modules/drilldown.js +2 -2
  507. package/esm/modules/drilldown.src.js +40 -54
  508. package/esm/modules/dumbbell.js +2 -2
  509. package/esm/modules/dumbbell.src.js +18 -39
  510. package/esm/modules/export-data.js +2 -2
  511. package/esm/modules/export-data.src.js +42 -43
  512. package/esm/modules/exporting.js +2 -2
  513. package/esm/modules/exporting.src.js +26 -47
  514. package/esm/modules/flowmap.js +2 -2
  515. package/esm/modules/flowmap.src.js +17 -38
  516. package/esm/modules/full-screen.js +2 -2
  517. package/esm/modules/full-screen.src.js +17 -38
  518. package/esm/modules/funnel.js +2 -2
  519. package/esm/modules/funnel.src.js +21 -42
  520. package/esm/modules/funnel3d.js +2 -2
  521. package/esm/modules/funnel3d.src.js +18 -39
  522. package/esm/modules/gantt.js +2 -2
  523. package/esm/modules/gantt.src.js +84 -104
  524. package/esm/modules/geoheatmap.js +2 -2
  525. package/esm/modules/geoheatmap.src.js +18 -39
  526. package/esm/modules/grid-axis.js +2 -2
  527. package/esm/modules/grid-axis.src.js +34 -51
  528. package/esm/modules/heatmap.js +2 -2
  529. package/esm/modules/heatmap.src.js +20 -41
  530. package/esm/modules/heikinashi.js +2 -2
  531. package/esm/modules/heikinashi.src.js +18 -39
  532. package/esm/modules/histogram-bellcurve.js +2 -2
  533. package/esm/modules/histogram-bellcurve.src.js +19 -40
  534. package/esm/modules/hollowcandlestick.js +2 -2
  535. package/esm/modules/hollowcandlestick.src.js +18 -39
  536. package/esm/modules/item-series.js +2 -2
  537. package/esm/modules/item-series.src.js +19 -40
  538. package/esm/modules/lollipop.js +2 -2
  539. package/esm/modules/lollipop.src.js +18 -39
  540. package/esm/modules/map.js +2 -2
  541. package/esm/modules/map.src.js +64 -63
  542. package/esm/modules/marker-clusters.js +2 -2
  543. package/esm/modules/marker-clusters.src.js +49 -46
  544. package/esm/modules/mouse-wheel-zoom.js +2 -2
  545. package/esm/modules/mouse-wheel-zoom.src.js +17 -38
  546. package/esm/modules/navigator.js +2 -2
  547. package/esm/modules/navigator.src.js +72 -67
  548. package/esm/modules/networkgraph.js +2 -2
  549. package/esm/modules/networkgraph.src.js +24 -45
  550. package/esm/modules/no-data-to-display.js +2 -2
  551. package/esm/modules/no-data-to-display.src.js +17 -38
  552. package/esm/modules/non-cartesian-zoom.js +2 -2
  553. package/esm/modules/non-cartesian-zoom.src.js +17 -38
  554. package/esm/modules/offline-exporting.js +2 -2
  555. package/esm/modules/offline-exporting.src.js +19 -40
  556. package/esm/modules/organization.js +2 -2
  557. package/esm/modules/organization.src.js +20 -39
  558. package/esm/modules/parallel-coordinates.js +2 -2
  559. package/esm/modules/parallel-coordinates.src.js +24 -44
  560. package/esm/modules/pareto.js +2 -2
  561. package/esm/modules/pareto.src.js +21 -42
  562. package/esm/modules/pathfinder.js +2 -2
  563. package/esm/modules/pathfinder.src.js +20 -39
  564. package/esm/modules/pattern-fill.js +2 -2
  565. package/esm/modules/pattern-fill.src.js +17 -38
  566. package/esm/modules/pictorial.js +2 -2
  567. package/esm/modules/pictorial.src.js +71 -65
  568. package/esm/modules/pointandfigure.js +2 -2
  569. package/esm/modules/pointandfigure.src.js +47 -44
  570. package/esm/modules/price-indicator.js +2 -2
  571. package/esm/modules/price-indicator.src.js +17 -38
  572. package/esm/modules/pyramid3d.js +2 -2
  573. package/esm/modules/pyramid3d.src.js +18 -39
  574. package/esm/modules/renko.js +2 -2
  575. package/esm/modules/renko.src.js +18 -40
  576. package/esm/modules/sankey.js +2 -2
  577. package/esm/modules/sankey.src.js +24 -46
  578. package/esm/modules/series-label.js +2 -2
  579. package/esm/modules/series-label.src.js +17 -38
  580. package/esm/modules/series-on-point.js +2 -2
  581. package/esm/modules/series-on-point.src.js +47 -44
  582. package/esm/modules/solid-gauge.js +2 -2
  583. package/esm/modules/solid-gauge.src.js +18 -39
  584. package/esm/modules/sonification.js +2 -2
  585. package/esm/modules/sonification.src.js +18 -39
  586. package/esm/modules/static-scale.js +2 -2
  587. package/esm/modules/static-scale.src.js +30 -49
  588. package/esm/modules/stock-tools.js +2 -2
  589. package/esm/modules/stock-tools.src.js +29 -50
  590. package/esm/modules/stock.js +2 -2
  591. package/esm/modules/stock.src.js +117 -141
  592. package/esm/modules/streamgraph.js +2 -2
  593. package/esm/modules/streamgraph.src.js +18 -39
  594. package/esm/modules/sunburst.js +2 -2
  595. package/esm/modules/sunburst.src.js +38 -57
  596. package/esm/modules/textpath.js +2 -2
  597. package/esm/modules/textpath.src.js +17 -38
  598. package/esm/modules/tiledwebmap.js +3 -3
  599. package/esm/modules/tiledwebmap.src.js +19 -40
  600. package/esm/modules/tilemap.js +2 -2
  601. package/esm/modules/tilemap.src.js +22 -40
  602. package/esm/modules/timeline.js +2 -2
  603. package/esm/modules/timeline.src.js +19 -40
  604. package/esm/modules/treegraph.js +2 -2
  605. package/esm/modules/treegraph.src.js +23 -42
  606. package/esm/modules/treegrid.js +2 -2
  607. package/esm/modules/treegrid.src.js +47 -67
  608. package/esm/modules/treemap.js +2 -2
  609. package/esm/modules/treemap.src.js +34 -53
  610. package/esm/modules/variable-pie.js +2 -2
  611. package/esm/modules/variable-pie.src.js +19 -40
  612. package/esm/modules/variwide.js +2 -2
  613. package/esm/modules/variwide.src.js +28 -46
  614. package/esm/modules/vector.js +2 -2
  615. package/esm/modules/vector.src.js +18 -39
  616. package/esm/modules/venn.js +2 -2
  617. package/esm/modules/venn.src.js +18 -39
  618. package/esm/modules/windbarb.js +2 -2
  619. package/esm/modules/windbarb.src.js +18 -39
  620. package/esm/modules/wordcloud.js +2 -2
  621. package/esm/modules/wordcloud.src.js +18 -39
  622. package/esm/modules/xrange.js +2 -2
  623. package/esm/modules/xrange.src.js +18 -39
  624. package/esm/standalone-navigator.js +4 -4
  625. package/esm/standalone-navigator.src.js +876 -776
  626. package/esm/themes/adaptive.js +2 -2
  627. package/esm/themes/adaptive.src.js +17 -38
  628. package/esm/themes/avocado.js +2 -2
  629. package/esm/themes/avocado.src.js +17 -38
  630. package/esm/themes/dark-unica.js +2 -2
  631. package/esm/themes/dark-unica.src.js +17 -38
  632. package/esm/themes/grid-light.js +2 -2
  633. package/esm/themes/grid-light.src.js +17 -38
  634. package/esm/themes/high-contrast.js +2 -2
  635. package/esm/themes/high-contrast.src.js +17 -38
  636. package/esm/themes/sand-signika.js +2 -2
  637. package/esm/themes/sand-signika.src.js +17 -38
  638. package/esm/themes/sunset.js +2 -2
  639. package/esm/themes/sunset.src.js +17 -38
  640. package/highcharts-3d.js +2 -2
  641. package/highcharts-3d.src.js +43 -66
  642. package/highcharts-autoload.d.ts +0 -1
  643. package/highcharts-autoload.js +4 -4
  644. package/highcharts-autoload.src.d.ts +0 -1
  645. package/highcharts-autoload.src.js +833 -778
  646. package/highcharts-gantt.js +4 -4
  647. package/highcharts-gantt.src.js +895 -839
  648. package/highcharts-more.d.ts +10 -0
  649. package/highcharts-more.js +2 -2
  650. package/highcharts-more.src.d.ts +10 -0
  651. package/highcharts-more.src.js +147 -125
  652. package/highcharts.d.ts +2785 -80144
  653. package/highcharts.js +4 -4
  654. package/highcharts.src.d.ts +2785 -80144
  655. package/highcharts.src.js +832 -777
  656. package/highmaps.js +4 -4
  657. package/highmaps.src.js +915 -845
  658. package/highstock.js +4 -4
  659. package/highstock.src.js +903 -874
  660. package/i18n/fr-FR.js +2 -2
  661. package/i18n/fr-FR.src.js +26 -37
  662. package/i18n/nb-NO.js +2 -2
  663. package/i18n/nb-NO.src.js +26 -37
  664. package/i18n/zh-CN.js +2 -2
  665. package/i18n/zh-CN.src.js +26 -37
  666. package/indicators/acceleration-bands.js +2 -2
  667. package/indicators/acceleration-bands.src.js +23 -44
  668. package/indicators/accumulation-distribution.js +2 -2
  669. package/indicators/accumulation-distribution.src.js +22 -44
  670. package/indicators/ao.js +2 -2
  671. package/indicators/ao.src.js +23 -44
  672. package/indicators/apo.js +2 -2
  673. package/indicators/apo.src.js +23 -44
  674. package/indicators/aroon-oscillator.js +2 -2
  675. package/indicators/aroon-oscillator.src.js +24 -45
  676. package/indicators/aroon.js +2 -2
  677. package/indicators/aroon.src.js +23 -44
  678. package/indicators/atr.js +2 -2
  679. package/indicators/atr.src.js +22 -44
  680. package/indicators/bollinger-bands.js +2 -2
  681. package/indicators/bollinger-bands.src.js +22 -44
  682. package/indicators/cci.js +2 -2
  683. package/indicators/cci.src.js +22 -44
  684. package/indicators/chaikin.js +2 -2
  685. package/indicators/chaikin.src.js +23 -45
  686. package/indicators/cmf.js +2 -2
  687. package/indicators/cmf.src.js +22 -44
  688. package/indicators/cmo.js +2 -2
  689. package/indicators/cmo.src.js +22 -44
  690. package/indicators/dema.js +2 -2
  691. package/indicators/dema.src.js +23 -44
  692. package/indicators/disparity-index.js +2 -2
  693. package/indicators/disparity-index.src.js +25 -46
  694. package/indicators/dmi.js +2 -2
  695. package/indicators/dmi.src.js +25 -46
  696. package/indicators/dpo.js +2 -2
  697. package/indicators/dpo.src.js +23 -44
  698. package/indicators/ichimoku-kinko-hyo.js +2 -2
  699. package/indicators/ichimoku-kinko-hyo.src.js +23 -45
  700. package/indicators/indicators-all.js +2 -2
  701. package/indicators/indicators-all.src.js +81 -104
  702. package/indicators/indicators.js +2 -2
  703. package/indicators/indicators.src.js +53 -51
  704. package/indicators/keltner-channels.js +2 -2
  705. package/indicators/keltner-channels.src.js +23 -44
  706. package/indicators/klinger.js +2 -2
  707. package/indicators/klinger.src.js +22 -43
  708. package/indicators/macd.js +2 -2
  709. package/indicators/macd.src.js +22 -44
  710. package/indicators/mfi.js +2 -2
  711. package/indicators/mfi.src.js +22 -44
  712. package/indicators/momentum.js +2 -2
  713. package/indicators/momentum.src.js +22 -44
  714. package/indicators/natr.js +2 -2
  715. package/indicators/natr.src.js +22 -44
  716. package/indicators/obv.js +2 -2
  717. package/indicators/obv.src.js +22 -44
  718. package/indicators/pivot-points.js +2 -2
  719. package/indicators/pivot-points.src.js +22 -44
  720. package/indicators/ppo.js +2 -2
  721. package/indicators/ppo.src.js +23 -44
  722. package/indicators/price-channel.js +2 -2
  723. package/indicators/price-channel.src.js +23 -44
  724. package/indicators/price-envelopes.js +2 -2
  725. package/indicators/price-envelopes.src.js +22 -44
  726. package/indicators/psar.js +2 -2
  727. package/indicators/psar.src.js +22 -44
  728. package/indicators/regressions.js +2 -2
  729. package/indicators/regressions.src.js +22 -47
  730. package/indicators/roc.js +2 -2
  731. package/indicators/roc.src.js +22 -44
  732. package/indicators/rsi.js +2 -2
  733. package/indicators/rsi.src.js +22 -44
  734. package/indicators/slow-stochastic.js +2 -2
  735. package/indicators/slow-stochastic.src.js +22 -43
  736. package/indicators/stochastic.js +2 -2
  737. package/indicators/stochastic.src.js +25 -46
  738. package/indicators/supertrend.js +2 -2
  739. package/indicators/supertrend.src.js +24 -45
  740. package/indicators/tema.js +2 -2
  741. package/indicators/tema.src.js +23 -44
  742. package/indicators/trendline.js +2 -2
  743. package/indicators/trendline.src.js +22 -44
  744. package/indicators/trix.js +2 -2
  745. package/indicators/trix.src.js +23 -44
  746. package/indicators/volume-by-price.js +2 -2
  747. package/indicators/volume-by-price.src.js +23 -44
  748. package/indicators/vwap.js +2 -2
  749. package/indicators/vwap.src.js +22 -44
  750. package/indicators/williams-r.js +2 -2
  751. package/indicators/williams-r.src.js +23 -44
  752. package/indicators/wma.js +2 -2
  753. package/indicators/wma.src.js +22 -44
  754. package/indicators/zigzag.js +2 -2
  755. package/indicators/zigzag.src.js +22 -44
  756. package/modules/accessibility.js +2 -2
  757. package/modules/accessibility.src.js +95 -81
  758. package/modules/annotations-advanced.js +9 -9
  759. package/modules/annotations-advanced.src.js +41 -63
  760. package/modules/annotations.js +3 -3
  761. package/modules/annotations.src.js +41 -63
  762. package/modules/arc-diagram.js +2 -2
  763. package/modules/arc-diagram.src.js +23 -44
  764. package/modules/arrow-symbols.js +2 -2
  765. package/modules/arrow-symbols.src.js +17 -38
  766. package/modules/boost-canvas.js +2 -2
  767. package/modules/boost-canvas.src.js +62 -68
  768. package/modules/boost.js +2 -2
  769. package/modules/boost.src.js +61 -67
  770. package/modules/broken-axis.js +2 -2
  771. package/modules/broken-axis.src.js +26 -46
  772. package/modules/bullet.js +2 -2
  773. package/modules/bullet.src.js +23 -44
  774. package/modules/coloraxis.js +2 -2
  775. package/modules/coloraxis.src.js +97 -101
  776. package/modules/contour.js +5 -5
  777. package/modules/contour.src.js +111 -117
  778. package/modules/current-date-indicator.js +2 -2
  779. package/modules/current-date-indicator.src.js +17 -38
  780. package/modules/cylinder.js +2 -2
  781. package/modules/cylinder.src.js +23 -44
  782. package/modules/data-sorting.js +2 -2
  783. package/modules/data-sorting.src.js +18 -39
  784. package/modules/data-tools.js +2 -2
  785. package/modules/data-tools.src.js +110 -67
  786. package/modules/data.js +4 -4
  787. package/modules/data.src.js +58 -53
  788. package/modules/datagrouping.js +2 -2
  789. package/modules/datagrouping.src.js +57 -53
  790. package/modules/debugger.js +2 -2
  791. package/modules/debugger.src.js +17 -38
  792. package/modules/dependency-wheel.js +2 -2
  793. package/modules/dependency-wheel.src.js +22 -43
  794. package/modules/dotplot.js +2 -2
  795. package/modules/dotplot.src.js +22 -43
  796. package/modules/drag-panes.js +2 -2
  797. package/modules/drag-panes.src.js +22 -46
  798. package/modules/draggable-points.js +2 -2
  799. package/modules/draggable-points.src.js +17 -38
  800. package/modules/drilldown.js +2 -2
  801. package/modules/drilldown.src.js +45 -59
  802. package/modules/dumbbell.js +2 -2
  803. package/modules/dumbbell.src.js +23 -44
  804. package/modules/export-data.js +2 -2
  805. package/modules/export-data.src.js +47 -48
  806. package/modules/exporting.js +2 -2
  807. package/modules/exporting.src.js +31 -52
  808. package/modules/flowmap.js +2 -2
  809. package/modules/flowmap.src.js +22 -43
  810. package/modules/full-screen.js +2 -2
  811. package/modules/full-screen.src.js +22 -43
  812. package/modules/funnel.js +2 -2
  813. package/modules/funnel.src.js +26 -47
  814. package/modules/funnel3d.js +2 -2
  815. package/modules/funnel3d.src.js +23 -44
  816. package/modules/gantt.js +8 -8
  817. package/modules/gantt.src.js +93 -113
  818. package/modules/geoheatmap.js +2 -2
  819. package/modules/geoheatmap.src.js +23 -44
  820. package/modules/grid-axis.js +2 -2
  821. package/modules/grid-axis.src.js +39 -56
  822. package/modules/heatmap.js +4 -4
  823. package/modules/heatmap.src.js +101 -105
  824. package/modules/heikinashi.js +2 -2
  825. package/modules/heikinashi.src.js +23 -44
  826. package/modules/histogram-bellcurve.js +2 -2
  827. package/modules/histogram-bellcurve.src.js +24 -45
  828. package/modules/hollowcandlestick.js +2 -2
  829. package/modules/hollowcandlestick.src.js +23 -44
  830. package/modules/item-series.js +2 -2
  831. package/modules/item-series.src.js +24 -45
  832. package/modules/lollipop.js +2 -2
  833. package/modules/lollipop.src.js +23 -44
  834. package/modules/map.js +4 -4
  835. package/modules/map.src.js +146 -128
  836. package/modules/marker-clusters.js +2 -2
  837. package/modules/marker-clusters.src.js +49 -46
  838. package/modules/mouse-wheel-zoom.js +2 -2
  839. package/modules/mouse-wheel-zoom.src.js +17 -38
  840. package/modules/navigator.js +2 -2
  841. package/modules/navigator.src.js +77 -72
  842. package/modules/networkgraph.js +2 -2
  843. package/modules/networkgraph.src.js +29 -50
  844. package/modules/no-data-to-display.js +2 -2
  845. package/modules/no-data-to-display.src.js +22 -43
  846. package/modules/non-cartesian-zoom.js +2 -2
  847. package/modules/non-cartesian-zoom.src.js +17 -38
  848. package/modules/offline-exporting.js +2 -2
  849. package/modules/offline-exporting.src.js +24 -45
  850. package/modules/organization.js +3 -3
  851. package/modules/organization.src.js +25 -44
  852. package/modules/parallel-coordinates.js +2 -2
  853. package/modules/parallel-coordinates.src.js +29 -49
  854. package/modules/pareto.js +2 -2
  855. package/modules/pareto.src.js +26 -47
  856. package/modules/pathfinder.js +2 -2
  857. package/modules/pathfinder.src.js +25 -44
  858. package/modules/pattern-fill.js +2 -2
  859. package/modules/pattern-fill.src.js +17 -38
  860. package/modules/pictorial.js +2 -2
  861. package/modules/pictorial.src.js +76 -70
  862. package/modules/pointandfigure.js +2 -2
  863. package/modules/pointandfigure.src.js +52 -49
  864. package/modules/price-indicator.js +2 -2
  865. package/modules/price-indicator.src.js +17 -38
  866. package/modules/pyramid3d.js +2 -2
  867. package/modules/pyramid3d.src.js +23 -44
  868. package/modules/renko.js +2 -2
  869. package/modules/renko.src.js +23 -45
  870. package/modules/sankey.js +2 -2
  871. package/modules/sankey.src.js +29 -51
  872. package/modules/series-label.js +2 -2
  873. package/modules/series-label.src.js +22 -43
  874. package/modules/series-on-point.js +2 -2
  875. package/modules/series-on-point.src.js +52 -49
  876. package/modules/solid-gauge.js +2 -2
  877. package/modules/solid-gauge.src.js +23 -44
  878. package/modules/sonification.js +2 -2
  879. package/modules/sonification.src.js +23 -44
  880. package/modules/static-scale.js +2 -2
  881. package/modules/static-scale.src.js +30 -49
  882. package/modules/stock-tools.js +2 -2
  883. package/modules/stock-tools.src.js +34 -55
  884. package/modules/stock.js +6 -6
  885. package/modules/stock.src.js +132 -154
  886. package/modules/streamgraph.js +2 -2
  887. package/modules/streamgraph.src.js +23 -44
  888. package/modules/sunburst.js +2 -2
  889. package/modules/sunburst.src.js +43 -62
  890. package/modules/textpath.js +2 -2
  891. package/modules/textpath.src.js +17 -38
  892. package/modules/tiledwebmap.js +3 -3
  893. package/modules/tiledwebmap.src.js +24 -45
  894. package/modules/tilemap.js +2 -2
  895. package/modules/tilemap.src.js +27 -45
  896. package/modules/timeline.js +2 -2
  897. package/modules/timeline.src.js +24 -45
  898. package/modules/treegraph.js +2 -2
  899. package/modules/treegraph.src.js +28 -47
  900. package/modules/treegrid.js +2 -2
  901. package/modules/treegrid.src.js +52 -72
  902. package/modules/treemap.js +2 -2
  903. package/modules/treemap.src.js +39 -58
  904. package/modules/variable-pie.js +2 -2
  905. package/modules/variable-pie.src.js +24 -45
  906. package/modules/variwide.js +2 -2
  907. package/modules/variwide.src.js +33 -51
  908. package/modules/vector.js +2 -2
  909. package/modules/vector.src.js +23 -44
  910. package/modules/venn.js +2 -2
  911. package/modules/venn.src.js +23 -44
  912. package/modules/windbarb.js +2 -2
  913. package/modules/windbarb.src.js +23 -44
  914. package/modules/wordcloud.js +2 -2
  915. package/modules/wordcloud.src.js +23 -44
  916. package/modules/xrange.js +2 -2
  917. package/modules/xrange.src.js +23 -44
  918. package/options/abands.d.ts +183 -8
  919. package/options/abands.src.d.ts +183 -8
  920. package/options/ad.d.ts +176 -5
  921. package/options/ad.src.d.ts +176 -5
  922. package/options/ao.d.ts +202 -0
  923. package/options/ao.src.d.ts +202 -0
  924. package/options/apo.d.ts +178 -8
  925. package/options/apo.src.d.ts +178 -8
  926. package/options/arcdiagram.d.ts +785 -0
  927. package/options/arcdiagram.src.d.ts +785 -0
  928. package/options/area.d.ts +226 -0
  929. package/options/area.src.d.ts +226 -0
  930. package/options/arearange.d.ts +229 -8
  931. package/options/arearange.src.d.ts +229 -8
  932. package/options/areaspline.d.ts +1344 -8
  933. package/options/areaspline.src.d.ts +1344 -8
  934. package/options/areasplinerange.d.ts +972 -8
  935. package/options/areasplinerange.src.d.ts +972 -8
  936. package/options/aroon.d.ts +219 -0
  937. package/options/aroon.src.d.ts +219 -0
  938. package/options/aroonoscillator.d.ts +1140 -8
  939. package/options/aroonoscillator.src.d.ts +1140 -8
  940. package/options/atr.d.ts +210 -0
  941. package/options/atr.src.d.ts +210 -0
  942. package/options/bar.d.ts +183 -10
  943. package/options/bar.src.d.ts +183 -10
  944. package/options/bb.d.ts +1232 -0
  945. package/options/bb.src.d.ts +1232 -0
  946. package/options/bellcurve.d.ts +1167 -8
  947. package/options/bellcurve.src.d.ts +1167 -8
  948. package/options/boxplot.d.ts +163 -10
  949. package/options/boxplot.src.d.ts +163 -10
  950. package/options/bubble.d.ts +1005 -8
  951. package/options/bubble.src.d.ts +1005 -8
  952. package/options/bullet.d.ts +953 -8
  953. package/options/bullet.src.d.ts +953 -8
  954. package/options/candlestick.d.ts +1309 -8
  955. package/options/candlestick.src.d.ts +1309 -8
  956. package/options/cci.d.ts +210 -0
  957. package/options/cci.src.d.ts +210 -0
  958. package/options/chaikin.d.ts +180 -8
  959. package/options/chaikin.src.d.ts +180 -8
  960. package/options/cmf.d.ts +211 -0
  961. package/options/cmf.src.d.ts +211 -0
  962. package/options/cmo.d.ts +175 -5
  963. package/options/cmo.src.d.ts +175 -5
  964. package/options/column.d.ts +252 -2
  965. package/options/column.src.d.ts +252 -2
  966. package/options/columnpyramid.d.ts +1296 -0
  967. package/options/columnpyramid.src.d.ts +1296 -0
  968. package/options/columnrange.d.ts +216 -2
  969. package/options/columnrange.src.d.ts +216 -2
  970. package/options/contour.d.ts +1148 -0
  971. package/options/contour.src.d.ts +1148 -0
  972. package/options/cylinder.d.ts +183 -2
  973. package/options/cylinder.src.d.ts +183 -2
  974. package/options/dema.d.ts +1181 -0
  975. package/options/dema.src.d.ts +1181 -0
  976. package/options/dependencywheel.d.ts +315 -0
  977. package/options/dependencywheel.src.d.ts +315 -0
  978. package/options/disparityindex.d.ts +1157 -8
  979. package/options/disparityindex.src.d.ts +1157 -8
  980. package/options/dmi.d.ts +1227 -0
  981. package/options/dmi.src.d.ts +1227 -0
  982. package/options/dpo.d.ts +1140 -8
  983. package/options/dpo.src.d.ts +1140 -8
  984. package/options/dumbbell.d.ts +286 -0
  985. package/options/dumbbell.src.d.ts +286 -0
  986. package/options/ema.d.ts +1156 -5
  987. package/options/ema.src.d.ts +1156 -5
  988. package/options/errorbar.d.ts +1286 -0
  989. package/options/errorbar.src.d.ts +1286 -0
  990. package/options/flags.d.ts +1269 -8
  991. package/options/flags.src.d.ts +1269 -8
  992. package/options/flowmap.d.ts +551 -0
  993. package/options/flowmap.src.d.ts +551 -0
  994. package/options/funnel.d.ts +728 -10
  995. package/options/funnel.src.d.ts +728 -10
  996. package/options/gantt.d.ts +1011 -0
  997. package/options/gantt.src.d.ts +1011 -0
  998. package/options/gauge.d.ts +675 -0
  999. package/options/gauge.src.d.ts +675 -0
  1000. package/options/geoheatmap.d.ts +585 -8
  1001. package/options/geoheatmap.src.d.ts +585 -8
  1002. package/options/heatmap.d.ts +1054 -8
  1003. package/options/heatmap.src.d.ts +1054 -8
  1004. package/options/heikinashi.d.ts +178 -10
  1005. package/options/heikinashi.src.d.ts +178 -10
  1006. package/options/histogram.d.ts +1226 -0
  1007. package/options/histogram.src.d.ts +1226 -0
  1008. package/options/hlc.d.ts +223 -2
  1009. package/options/hlc.src.d.ts +223 -2
  1010. package/options/hollowcandlestick.d.ts +1335 -0
  1011. package/options/hollowcandlestick.src.d.ts +1335 -0
  1012. package/options/ikh.d.ts +228 -5
  1013. package/options/ikh.src.d.ts +228 -5
  1014. package/options/item.d.ts +217 -8
  1015. package/options/item.src.d.ts +217 -8
  1016. package/options/keltnerchannels.d.ts +1220 -0
  1017. package/options/keltnerchannels.src.d.ts +1220 -0
  1018. package/options/klinger.d.ts +1162 -0
  1019. package/options/klinger.src.d.ts +1162 -0
  1020. package/options/line.d.ts +1377 -8
  1021. package/options/line.src.d.ts +1377 -8
  1022. package/options/linearregression.d.ts +199 -5
  1023. package/options/linearregression.src.d.ts +199 -5
  1024. package/options/linearregressionangle.d.ts +1157 -5
  1025. package/options/linearregressionangle.src.d.ts +1157 -5
  1026. package/options/linearregressionintercept.d.ts +240 -0
  1027. package/options/linearregressionintercept.src.d.ts +240 -0
  1028. package/options/linearregressionslope.d.ts +240 -0
  1029. package/options/linearregressionslope.src.d.ts +240 -0
  1030. package/options/lollipop.d.ts +949 -0
  1031. package/options/lollipop.src.d.ts +949 -0
  1032. package/options/macd.d.ts +254 -0
  1033. package/options/macd.src.d.ts +254 -0
  1034. package/options/map.d.ts +150 -8
  1035. package/options/map.src.d.ts +150 -8
  1036. package/options/mapbubble.d.ts +1016 -8
  1037. package/options/mapbubble.src.d.ts +1016 -8
  1038. package/options/mapline.d.ts +994 -0
  1039. package/options/mapline.src.d.ts +994 -0
  1040. package/options/mappoint.d.ts +1105 -1
  1041. package/options/mappoint.src.d.ts +1105 -1
  1042. package/options/mfi.d.ts +181 -5
  1043. package/options/mfi.src.d.ts +181 -5
  1044. package/options/momentum.d.ts +215 -0
  1045. package/options/momentum.src.d.ts +215 -0
  1046. package/options/natr.d.ts +170 -5
  1047. package/options/natr.src.d.ts +170 -5
  1048. package/options/networkgraph.d.ts +365 -0
  1049. package/options/networkgraph.src.d.ts +365 -0
  1050. package/options/obv.d.ts +170 -5
  1051. package/options/obv.src.d.ts +170 -5
  1052. package/options/ohlc.d.ts +183 -7
  1053. package/options/ohlc.src.d.ts +183 -7
  1054. package/options/organization.d.ts +808 -0
  1055. package/options/organization.src.d.ts +808 -0
  1056. package/options/packedbubble.d.ts +877 -8
  1057. package/options/packedbubble.src.d.ts +877 -8
  1058. package/options/pareto.d.ts +1028 -0
  1059. package/options/pareto.src.d.ts +1028 -0
  1060. package/options/pc.d.ts +183 -8
  1061. package/options/pc.src.d.ts +183 -8
  1062. package/options/pictorial.d.ts +202 -2
  1063. package/options/pictorial.src.d.ts +202 -2
  1064. package/options/pie.d.ts +196 -8
  1065. package/options/pie.src.d.ts +196 -8
  1066. package/options/pivotpoints.d.ts +1199 -0
  1067. package/options/pivotpoints.src.d.ts +1199 -0
  1068. package/options/pointandfigure.d.ts +980 -0
  1069. package/options/pointandfigure.src.d.ts +980 -0
  1070. package/options/polygon.d.ts +234 -0
  1071. package/options/polygon.src.d.ts +234 -0
  1072. package/options/ppo.d.ts +1156 -8
  1073. package/options/ppo.src.d.ts +1156 -8
  1074. package/options/priceenvelopes.d.ts +1229 -0
  1075. package/options/priceenvelopes.src.d.ts +1229 -0
  1076. package/options/psar.d.ts +1156 -5
  1077. package/options/psar.src.d.ts +1156 -5
  1078. package/options/pyramid.d.ts +837 -2
  1079. package/options/pyramid.src.d.ts +837 -2
  1080. package/options/renko.d.ts +247 -10
  1081. package/options/renko.src.d.ts +247 -10
  1082. package/options/roc.d.ts +1215 -0
  1083. package/options/roc.src.d.ts +1215 -0
  1084. package/options/rsi.d.ts +1157 -5
  1085. package/options/rsi.src.d.ts +1157 -5
  1086. package/options/sankey.d.ts +276 -8
  1087. package/options/sankey.src.d.ts +276 -8
  1088. package/options/scatter.d.ts +3043 -1018
  1089. package/options/scatter.src.d.ts +3043 -1018
  1090. package/options/series.d.ts +175 -0
  1091. package/options/series.src.d.ts +175 -0
  1092. package/options/slowstochastic.d.ts +183 -0
  1093. package/options/slowstochastic.src.d.ts +183 -0
  1094. package/options/sma.d.ts +211 -0
  1095. package/options/sma.src.d.ts +211 -0
  1096. package/options/solidgauge.d.ts +218 -0
  1097. package/options/solidgauge.src.d.ts +218 -0
  1098. package/options/spline.d.ts +230 -0
  1099. package/options/spline.src.d.ts +230 -0
  1100. package/options/stochastic.d.ts +1170 -8
  1101. package/options/stochastic.src.d.ts +1170 -8
  1102. package/options/streamgraph.d.ts +1345 -8
  1103. package/options/streamgraph.src.d.ts +1345 -8
  1104. package/options/sunburst.d.ts +286 -9
  1105. package/options/sunburst.src.d.ts +286 -9
  1106. package/options/supertrend.d.ts +1208 -0
  1107. package/options/supertrend.src.d.ts +1208 -0
  1108. package/options/tema.d.ts +1140 -8
  1109. package/options/tema.src.d.ts +1140 -8
  1110. package/options/tiledwebmap.d.ts +164 -0
  1111. package/options/tiledwebmap.src.d.ts +164 -0
  1112. package/options/tilemap.d.ts +687 -0
  1113. package/options/tilemap.src.d.ts +687 -0
  1114. package/options/timeline.d.ts +282 -0
  1115. package/options/timeline.src.d.ts +282 -0
  1116. package/options/treegraph.d.ts +982 -0
  1117. package/options/treegraph.src.d.ts +982 -0
  1118. package/options/treemap.d.ts +1396 -22
  1119. package/options/treemap.src.d.ts +1396 -22
  1120. package/options/trendline.d.ts +211 -0
  1121. package/options/trendline.src.d.ts +211 -0
  1122. package/options/trix.d.ts +178 -8
  1123. package/options/trix.src.d.ts +178 -8
  1124. package/options/variablepie.d.ts +686 -8
  1125. package/options/variablepie.src.d.ts +686 -8
  1126. package/options/variwide.d.ts +178 -2
  1127. package/options/variwide.src.d.ts +178 -2
  1128. package/options/vbp.d.ts +576 -0
  1129. package/options/vbp.src.d.ts +576 -0
  1130. package/options/vector.d.ts +660 -0
  1131. package/options/vector.src.d.ts +660 -0
  1132. package/options/venn.d.ts +654 -0
  1133. package/options/venn.src.d.ts +654 -0
  1134. package/options/vwap.d.ts +1157 -5
  1135. package/options/vwap.src.d.ts +1157 -5
  1136. package/options/waterfall.d.ts +1254 -8
  1137. package/options/waterfall.src.d.ts +1254 -8
  1138. package/options/williamsr.d.ts +209 -0
  1139. package/options/williamsr.src.d.ts +209 -0
  1140. package/options/windbarb.d.ts +222 -2
  1141. package/options/windbarb.src.d.ts +222 -2
  1142. package/options/wma.d.ts +1156 -5
  1143. package/options/wma.src.d.ts +1156 -5
  1144. package/options/wordcloud.d.ts +682 -0
  1145. package/options/wordcloud.src.d.ts +682 -0
  1146. package/options/xrange.d.ts +1168 -0
  1147. package/options/xrange.src.d.ts +1168 -0
  1148. package/options/zigzag.d.ts +1197 -0
  1149. package/options/zigzag.src.d.ts +1197 -0
  1150. package/package.json +1 -1
  1151. package/standalone-navigator.js +4 -4
  1152. package/standalone-navigator.src.js +884 -803
  1153. package/themes/adaptive.js +2 -2
  1154. package/themes/adaptive.src.js +22 -43
  1155. package/themes/avocado.js +2 -2
  1156. package/themes/avocado.src.js +17 -38
  1157. package/themes/dark-unica.js +2 -2
  1158. package/themes/dark-unica.src.js +17 -38
  1159. package/themes/grid-light.js +2 -2
  1160. package/themes/grid-light.src.js +17 -38
  1161. package/themes/high-contrast.js +2 -2
  1162. package/themes/high-contrast.src.js +17 -38
  1163. package/themes/sand-signika.js +2 -2
  1164. package/themes/sand-signika.src.js +17 -38
  1165. package/themes/sunset.js +2 -2
  1166. package/themes/sunset.src.js +17 -38
@@ -1,6 +1,6 @@
1
1
  // SPDX-License-Identifier: LicenseRef-Highcharts
2
2
  /**
3
- * @license Highcharts JS v13.0.2 (2026-08-27)
3
+ * @license Highcharts JS v13.1.0 (2026-09-18)
4
4
  * @module highcharts/modules/annotations-advanced
5
5
  * @requires highcharts
6
6
  *
@@ -18,48 +18,27 @@ import * as __WEBPACK_EXTERNAL_MODULE__highcharts_src_js_8202131d__ from "../hig
18
18
  /******/
19
19
  /************************************************************************/
20
20
  /******/ /* webpack/runtime/compat get default export */
21
- /******/ (() => {
22
- /******/ // getDefaultExport function for compatibility with non-harmony modules
23
- /******/ __webpack_require__.n = (module) => {
24
- /******/ const getter = module && module.__esModule ?
25
- /******/ () => (module['default']) :
26
- /******/ () => (module);
27
- /******/ __webpack_require__.d(getter, { a: getter });
28
- /******/ return getter;
29
- /******/ };
30
- /******/ })();
21
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
22
+ /******/ __webpack_require__.n = (module) => {
23
+ /******/ const getter = module && module.__esModule ?
24
+ /******/ () => (module['default']) :
25
+ /******/ () => (module);
26
+ /******/ __webpack_require__.d(getter, { a: getter });
27
+ /******/ return getter;
28
+ /******/ };
31
29
  /******/
32
30
  /******/ /* webpack/runtime/define property getters */
33
- /******/ (() => {
34
- /******/ // define getter/value functions for harmony exports
35
- /******/ __webpack_require__.d = (exports, definition) => {
36
- /******/ if(Array.isArray(definition)) {
37
- /******/ var i = 0;
38
- /******/ while(i < definition.length) {
39
- /******/ var key = definition[i++];
40
- /******/ var binding = definition[i++];
41
- /******/ if(!__webpack_require__.o(exports, key)) {
42
- /******/ if(binding === 0) {
43
- /******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
44
- /******/ } else {
45
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
46
- /******/ }
47
- /******/ } else if(binding === 0) { i++; }
48
- /******/ }
49
- /******/ } else {
50
- /******/ for(var key in definition) {
51
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
52
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
53
- /******/ }
54
- /******/ }
31
+ /******/ // define getter/value functions for harmony exports
32
+ /******/ __webpack_require__.d = (exports, definition) => {
33
+ /******/ for(var key in definition) {
34
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
35
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
55
36
  /******/ }
56
- /******/ };
57
- /******/ })();
37
+ /******/ }
38
+ /******/ };
58
39
  /******/
59
40
  /******/ /* webpack/runtime/hasOwnProperty shorthand */
60
- /******/ (() => {
61
- /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
62
- /******/ })();
41
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop));
63
42
  /******/
64
43
  /************************************************************************/
65
44
 
@@ -141,7 +120,8 @@ function chartCallback() {
141
120
  {}).columnHeaderFormatter,
142
121
  // If second row doesn't have xValues
143
122
  // then it is a title row thus multiple level header is in use.
144
- multiLevelHeaders = !event.dataRows[1].xValues, annotationHeader = (chart.options.lang &&
123
+ // The row is missing altogether when the chart has no data, #25090.
124
+ multiLevelHeaders = !event.dataRows[1]?.xValues, annotationHeader = (chart.options.lang &&
145
125
  chart.options.lang.exportData &&
146
126
  chart.options.lang.exportData.annotationHeader), columnHeaderFormatter = function (index) {
147
127
  let s;
@@ -1878,7 +1858,7 @@ class MockPoint {
1878
1858
  (0,external_highcharts_src_js_default_namespaceObject.defined)(plotY) &&
1879
1859
  plotY >= 0 && plotY <= yAxis.len;
1880
1860
  }
1881
- (0,external_highcharts_src_js_default_namespaceObject.fireEvent)(this.series.chart, 'afterIsInsidePlot', e);
1861
+ ;(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(this.series.chart, 'afterIsInsidePlot', e);
1882
1862
  return e.isInsidePlot;
1883
1863
  }
1884
1864
  /**
@@ -4599,7 +4579,7 @@ function addIndicatorList(chart, parentDiv, listType, filter) {
4599
4579
  filteredSeriesArray = filterSeriesArray.call(this, series);
4600
4580
  }
4601
4581
  // Sort indicators alphabetically.
4602
- (0,external_highcharts_src_js_default_namespaceObject.stableSort)(filteredSeriesArray, (a, b) => {
4582
+ ;(0,external_highcharts_src_js_default_namespaceObject.stableSort)(filteredSeriesArray, (a, b) => {
4603
4583
  const seriesAName = a.indicatorFullName.toLowerCase(), seriesBName = b.indicatorFullName.toLowerCase();
4604
4584
  return (seriesAName < seriesBName) ?
4605
4585
  -1 : (seriesAName > seriesBName) ? 1 : 0;
@@ -4817,7 +4797,7 @@ function addSelectionOptions(chart, optionName, selectBox, indicatorType, parame
4817
4797
  series.type === 'column') {
4818
4798
  selectedOption = seriesOptions.id;
4819
4799
  }
4820
- (0,external_highcharts_src_js_default_namespaceObject.createElement)('option', {
4800
+ ;(0,external_highcharts_src_js_default_namespaceObject.createElement)('option', {
4821
4801
  value: seriesOptions.id
4822
4802
  }, void 0, selectBox).appendChild(PopupIndicators_doc.createTextNode(seriesName));
4823
4803
  }
@@ -5143,7 +5123,7 @@ function switchTabs(disableTab) {
5143
5123
  return;
5144
5124
  }
5145
5125
  ['click', 'touchstart'].forEach((eventName) => {
5146
- (0,external_highcharts_src_js_default_namespaceObject.addEvent)(tab, eventName, function () {
5126
+ ;(0,external_highcharts_src_js_default_namespaceObject.addEvent)(tab, eventName, function () {
5147
5127
  // Reset class on other elements
5148
5128
  deselectAll.call(popup);
5149
5129
  selectTab.call(popup, this, i);
@@ -5526,7 +5506,7 @@ class Popup extends Shared_BaseForm {
5526
5506
  this.container.style.height = this.container.offsetHeight + 'px';
5527
5507
  }
5528
5508
  }
5529
- (0,external_highcharts_src_js_default_namespaceObject.extend)(Popup.prototype, {
5509
+ ;(0,external_highcharts_src_js_default_namespaceObject.extend)(Popup.prototype, {
5530
5510
  annotations: Popup_PopupAnnotations,
5531
5511
  indicators: Popup_PopupIndicators,
5532
5512
  tabs: Popup_PopupTabs
@@ -5848,13 +5828,11 @@ class Annotation extends Annotations_EventEmitter {
5848
5828
  * @internal
5849
5829
  */
5850
5830
  destroy() {
5851
- const chart = this.chart, destroyItem = function (item) {
5852
- item.destroy();
5853
- };
5854
- this.labels.forEach(destroyItem);
5855
- this.shapes.forEach(destroyItem);
5856
- this.clipXAxis = null;
5857
- this.clipYAxis = null;
5831
+ const chart = this.chart;
5832
+ (0,external_highcharts_src_js_default_namespaceObject.destroyObjectProperties)(this.labels);
5833
+ (0,external_highcharts_src_js_default_namespaceObject.destroyObjectProperties)(this.shapes);
5834
+ delete this.clipXAxis;
5835
+ delete this.clipYAxis;
5858
5836
  (0,external_highcharts_src_js_default_namespaceObject.erase)(chart.labelCollectors, this.labelCollector);
5859
5837
  super.destroy();
5860
5838
  this.destroyControlTarget();
@@ -5866,7 +5844,7 @@ class Annotation extends Annotations_EventEmitter {
5866
5844
  */
5867
5845
  destroyItem(item) {
5868
5846
  // Erase from shapes or labels array
5869
- (0,external_highcharts_src_js_default_namespaceObject.erase)(this[item.itemType + 's'], item);
5847
+ ;(0,external_highcharts_src_js_default_namespaceObject.erase)(this[item.itemType + 's'], item);
5870
5848
  item.destroy();
5871
5849
  }
5872
5850
  /** @internal */
@@ -6150,7 +6128,7 @@ class Annotation extends Annotations_EventEmitter {
6150
6128
  if (redraw ?? true) {
6151
6129
  chart.drawAnnotations();
6152
6130
  }
6153
- (0,external_highcharts_src_js_default_namespaceObject.fireEvent)(this, 'afterUpdate');
6131
+ ;(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(this, 'afterUpdate');
6154
6132
  this.isUpdating = false;
6155
6133
  }
6156
6134
  }
@@ -6963,7 +6941,7 @@ function selectableAnnotation(annotationType) {
6963
6941
  selectAndShowPopup.call(this, e);
6964
6942
  }
6965
6943
  }
6966
- (0,external_highcharts_src_js_default_namespaceObject.merge)(true, annotationType.prototype.defaultOptions.events, {
6944
+ ;(0,external_highcharts_src_js_default_namespaceObject.merge)(true, annotationType.prototype.defaultOptions.events, {
6967
6945
  click: selectAndShowPopup,
6968
6946
  touchstart: saveCoords,
6969
6947
  touchend: checkForTouchmove
@@ -7104,7 +7082,7 @@ class NavigationBindings {
7104
7082
  if (navigation.selectedButtonElement.classList === button.classList) {
7105
7083
  shouldEventBeFired = false;
7106
7084
  }
7107
- (0,external_highcharts_src_js_default_namespaceObject.fireEvent)(navigation, 'deselectButton', { button: navigation.selectedButtonElement });
7085
+ ;(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(navigation, 'deselectButton', { button: navigation.selectedButtonElement });
7108
7086
  if (navigation.nextEvent) {
7109
7087
  // Remove in-progress annotations adders:
7110
7088
  if (navigation.currentUserDetails &&
@@ -7242,7 +7220,7 @@ class NavigationBindings {
7242
7220
  * Modified config
7243
7221
  */
7244
7222
  fieldsToOptions(fields, config) {
7245
- (0,external_highcharts_src_js_default_namespaceObject.objectEach)(fields, (value, field) => {
7223
+ ;(0,external_highcharts_src_js_default_namespaceObject.objectEach)(fields, (value, field) => {
7246
7224
  const parsedValue = parseFloat(value), path = field.split('.'), pathLength = path.length - 1;
7247
7225
  // If it's a number (not "format" options), parse it:
7248
7226
  if ((0,external_highcharts_src_js_default_namespaceObject.isNumber)(parsedValue) &&
@@ -7365,7 +7343,7 @@ class NavigationBindings {
7365
7343
  else {
7366
7344
  parent[key] = nextParent;
7367
7345
  }
7368
- (0,external_highcharts_src_js_default_namespaceObject.objectEach)(option, (nestedOption, nestedKey) => {
7346
+ ;(0,external_highcharts_src_js_default_namespaceObject.objectEach)(option, (nestedOption, nestedKey) => {
7369
7347
  traverse(nestedOption, nestedKey, key === 0 ?
7370
7348
  parentEditables :
7371
7349
  nestedEditables[key], nextParent, key);
@@ -7388,7 +7366,7 @@ class NavigationBindings {
7388
7366
  }
7389
7367
  }
7390
7368
  }
7391
- (0,external_highcharts_src_js_default_namespaceObject.objectEach)(options, (option, key) => {
7369
+ ;(0,external_highcharts_src_js_default_namespaceObject.objectEach)(options, (option, key) => {
7392
7370
  if (key === 'typeOptions' &&
7393
7371
  visualOptions['type'] !== 'basicAnnotation' // #23575
7394
7372
  ) {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Highcharts JS v13.0.2 (2026-08-27)
2
+ * Highcharts JS v13.1.0 (2026-09-18)
3
3
  * @module highcharts/modules/annotations
4
4
  * @requires highcharts
5
5
  *
@@ -10,7 +10,7 @@
10
10
  *
11
11
  * A commercial license may be required depending on use,
12
12
  * see www.highcharts.com/license
13
- */import*as t from"../highcharts.js";let e={};e.n=t=>{let i=t&&t.__esModule?()=>t.default:()=>t;return e.d(i,{a:i}),i},e.d=(t,i)=>{if(Array.isArray(i))for(var s=0;s<i.length;){var o=i[s++],n=i[s++];e.o(t,o)?0===n&&s++:0===n?Object.defineProperty(t,o,{enumerable:!0,value:i[s++]}):Object.defineProperty(t,o,{enumerable:!0,get:n})}else for(var o in i)e.o(i,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:i[o]})},e.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let i=t.default;var s,o,n,a,r,h=e.n(i);function l(t,e){let i=this.initAnnotation(t);return this.options.annotations.push(i.options),(e??!0)&&(i.redraw(),i.graphic.attr({opacity:1})),i}function c(){let t=this;t.plotBoxClip=this.renderer.clipRect(this.plotBox),t.controlPointsGroup=t.renderer.g("control-points").attr({zIndex:99}).clip(t.plotBoxClip).add(),t.options.annotations.forEach((e,i)=>{if(!t.annotations.some(t=>t.options===e)){let s=t.initAnnotation(e);t.options.annotations[i]=s.options}}),t.drawAnnotations(),(0,i.addEvent)(t,"redraw",t.drawAnnotations),(0,i.addEvent)(t,"destroy",function(){t.plotBoxClip.destroy(),t.controlPointsGroup.destroy()}),(0,i.addEvent)(t,"exportData",function(e){let i=t.annotations,s=(this.options.exporting&&this.options.exporting.csv||{}).columnHeaderFormatter,o=!e.dataRows[1].xValues,n=t.options.lang&&t.options.lang.exportData&&t.options.lang.exportData.annotationHeader,a=e.dataRows[0].length,r=t.options.exporting?.csv?.annotations?.itemDelimiter,h=t.options.exporting?.csv?.annotations?.join;i.forEach(t=>{t.options.labelOptions?.includeInDataExport&&t.labels.forEach(t=>{if(t.options.text){let i=t.options.text;t.points.forEach(t=>{let s=t.x,o=t.series.xAxis?t.series.xAxis.index:-1,n=!1;if(-1===o){let t=e.dataRows[0].length,a=Array(t);for(let e=0;e<t;++e)a[e]="";a.push(i),a.xValues=[],a.xValues[o]=s,e.dataRows.push(a),n=!0}if(n||e.dataRows.forEach(t=>{!n&&t.xValues&&void 0!==o&&s===t.xValues[o]&&(h&&t.length>a?t[t.length-1]+=r+i:t.push(i),n=!0)}),!n){let t=e.dataRows[0].length,n=Array(t);for(let e=0;e<t;++e)n[e]="";n[0]=s,n.push(i),n.xValues=[],void 0!==o&&(n.xValues[o]=s),e.dataRows.push(n)}})}})});let l=0;e.dataRows.forEach(t=>{l=Math.max(l,t.length)});let c=l-e.dataRows[0].length;for(let t=0;t<c;t++){let i=function(t){let e;return s&&!1!==(e=s(t))?e:(e=n+" "+t,o)?{columnTitle:e,topLevelColumnTitle:e}:e}(t+1);o?(e.dataRows[0].push(i.topLevelColumnTitle),e.dataRows[1].push(i.columnTitle)):e.dataRows[0].push(i)}})}function p(){this.plotBoxClip.attr(this.plotBox),this.annotations.forEach(t=>{t.redraw(),t.graphic.animate({opacity:1},t.animationConfig)})}function d(t){let e=this.annotations,s="annotations"===t.coll?t:(0,i.find)(e,function(e){return e.options.id===t});s&&((0,i.fireEvent)(s,"remove"),(0,i.erase)(this.options.annotations,s.options),(0,i.erase)(e,s),s.destroy())}function u(){let t=this.options.annotations,e=this.userOptions.annotations;this.annotations=[],(0,i.isArray)(this.options.annotations)||(this.options.annotations=[]),(0,i.isObject)(e,!0)&&(0,i.isObject)(t,!0)&&this.options.annotations.push(t)}function g(t){this.chart.hasDraggedAnnotation||t.apply(this,Array.prototype.slice.call(arguments,1))}(o||(o={})).compose=function(t,e,s){let o=e.prototype;if(!o.addAnnotation){let n=s.prototype;(0,i.addEvent)(e,"afterInit",u),o.addAnnotation=l,o.callbacks.push(c),o.collectionsWithInit.annotations=[l],o.collectionsWithUpdate.push("annotations"),o.drawAnnotations=p,o.removeAnnotation=d,o.initAnnotation=function(e){let i=new(t.types[e.type]||t)(this,e);return this.annotations.push(i),i},(0,i.wrap)(n,"onContainerMouseDown",g)}};let m=o,f={visible:!0,animation:{},crop:!0,draggable:"xy",labelOptions:{align:"center",allowOverlap:!1,backgroundColor:"rgba(0, 0, 0, 0.75)",borderColor:"var(--highcharts-neutral-color-100)",borderRadius:3,borderWidth:1,className:"highcharts-no-tooltip",crop:!1,formatter:function(){return(0,i.defined)(this.y)?""+this.y:"Annotation label"},includeInDataExport:!0,overflow:"justify",padding:5,shadow:!1,shape:"callout",style:{fontSize:"0.7em",fontWeight:"normal",color:"contrast"},useHTML:!1,verticalAlign:"bottom",x:0,y:-16},shapeOptions:{stroke:"rgba(0, 0, 0, 0.75)",strokeWidth:1,fill:"rgba(0, 0, 0, 0.75)",r:0,snap:2},controlPointOptions:{events:{},style:{cursor:"pointer",fill:"var(--highcharts-background-color)",stroke:"var(--highcharts-neutral-color-100)","stroke-width":2},height:10,symbol:"circle",visible:!1,width:10},events:{},typeOptions:{},types:{},zIndex:6},{doc:v,isTouchDevice:y}=h(),x=class{addEvents(){let t=this,e=function(e){(0,i.addEvent)(e,y?"touchstart":"mousedown",e=>{t.onMouseDown(e)},{passive:!1})};if(e(this.graphic.element),(t.labels||[]).forEach(t=>{t.options.useHTML&&t.graphic.text&&!t.graphic.text.foreignObject&&e(t.graphic.text.element)}),(0,i.objectEach)(t.options.events,(e,s)=>{let o=function(i){"click"===s&&t.cancelClick||e.call(t,t.chart.pointer?.normalize(i),t.target,t)};-1===(t.nonDOMEvents||[]).indexOf(s)?((0,i.addEvent)(t.graphic.element,s,o,{passive:!1}),t.graphic.div&&(0,i.addEvent)(t.graphic.div,s,o,{passive:!1})):(0,i.addEvent)(t,s,o,{passive:!1})}),t.options.draggable&&((0,i.addEvent)(t,"drag",t.onDrag),!t.graphic.renderer.styledMode)){let e={cursor:{x:"ew-resize",y:"ns-resize",xy:"move"}[t.options.draggable]};t.graphic.css(e),(t.labels||[]).forEach(t=>{t.options.useHTML&&t.graphic.text&&!t.graphic.text.foreignObject&&t.graphic.text.css(e)})}t.isUpdating||(0,i.fireEvent)(t,"add")}destroy(){this.removeDocEvents(),(0,i.removeEvent)(this),this.hcEvents=null}mouseMoveToRadians(t,e,i){let s=t.prevChartY-i,o=t.prevChartX-e,n=t.chartY-i,a=t.chartX-e,r;return this.chart.inverted&&(r=o,o=s,s=r,r=a,a=n,n=r),Math.atan2(n,a)-Math.atan2(s,o)}mouseMoveToScale(t,e,i){let s=t.prevChartX-e,o=t.prevChartY-i,n=t.chartX-e,a=t.chartY-i,r=(n||1)/(s||1),h=(a||1)/(o||1);if(this.chart.inverted){let t=h;h=r,r=t}return{x:r,y:h}}mouseMoveToTranslation(t){let e=t.chartX-t.prevChartX,i=t.chartY-t.prevChartY,s;return this.chart.inverted&&(s=i,i=e,e=s),{x:e,y:i}}onDrag(t){if(this.chart.isInsidePlot(t.chartX-this.chart.plotLeft,t.chartY-this.chart.plotTop,{visiblePlotOnly:!0})){let e=this.mouseMoveToTranslation(t);"x"===this.options.draggable&&(e.y=0),"y"===this.options.draggable&&(e.x=0),this.points.length?this.translate(e.x,e.y):(this.shapes.forEach(t=>t.translate(e.x,e.y)),this.labels.forEach(t=>t.translate(e.x,e.y))),this.redraw(!1)}}onMouseDown(t){if(t.preventDefault&&t.preventDefault(),2===t.button)return;let e=this,s=e.chart.pointer,o=t?.sourceCapabilities?.firesTouchEvents||!1,n=(t=s?.normalize(t)||t).chartX,a=t.chartY;e.cancelClick=!1,e.chart.hasDraggedAnnotation=!0,e.removeDrag=(0,i.addEvent)(v,y||o?"touchmove":"mousemove",function(t){e.hasDragged=!0,(t=s?.normalize(t)||t).prevChartX=n,t.prevChartY=a,(0,i.fireEvent)(e,"drag",t),n=t.chartX,a=t.chartY},y||o?{passive:!1}:void 0),e.removeMouseUp=(0,i.addEvent)(v,y||o?"touchend":"mouseup",function(){let t=(e.target&&e.target.annotation)??e.target;t&&(t.cancelClick=e.hasDragged),e.cancelClick=e.hasDragged,e.chart.hasDraggedAnnotation=!1,e.hasDragged&&(0,i.fireEvent)(t??e,"afterUpdate"),e.hasDragged=!1,e.onMouseUp()},y||o?{passive:!1}:void 0)}onMouseUp(){this.removeDocEvents()}removeDocEvents(){this.removeDrag&&(this.removeDrag=this.removeDrag()),this.removeMouseUp&&(this.removeMouseUp=this.removeMouseUp())}},b=class extends x{constructor(t,e,i,s){super(),this.nonDOMEvents=["drag"],this.chart=t,this.target=e,this.options=i,this.index=i.index??s}destroy(){super.destroy(),this.graphic&&(this.graphic=this.graphic.destroy()),this.chart=null,this.target=null,this.options=null}redraw(t){this.graphic[t?"animate":"attr"](this.options.positioner.call(this,this.target,this))}render(){let t=this.chart,e=this.options;this.graphic=t.renderer.symbol(e.symbol,0,0,e.width,e.height).add(t.controlPointsGroup).css(e.style),this.setVisibility(e.visible),this.addEvents()}setVisibility(t){this.graphic[t?"show":"hide"](),this.options.visible=t}update(t){let e=this.chart,s=this.target,o=this.index,n=(0,i.merge)(!0,this.options,t);this.destroy(),this.constructor(e,s,n,o),this.render(e.controlPointsGroup),this.redraw()}},A={backgroundColor:"color",backgroundColors:"color",borderColor:"color",borderRadius:"string",color:"color",fill:"color",fontSize:"string",labels:"string",name:"string",stroke:"color",title:"string"},E={annotationsFieldsTypes:A,getAssignedAxis:function(t){return t.filter(t=>{let e=t.axis.getExtremes(),s=e.min,o=e.max,n=t.axis.minPointOffset??0;return(0,i.isNumber)(s)&&(0,i.isNumber)(o)&&t.value>=s-n&&t.value<=o+n&&!t.axis.options.isInternal})[0]},getAxisFromOptions:function(t,e,s){return(0,i.isNumber)(s)?t[e][s]:(0,i.defined)(s)?(0,i.find)(t[e],t=>t.options.id===s):void 0},getFieldType:function(t,e){let s=A[t],o=typeof e;return(0,i.defined)(s)&&(o=s),({string:"text",number:"number",boolean:"checkbox",color:"color"})[o]}},w=t.default.SeriesRegistry;var k=e.n(w);let{getAxisFromOptions:C}=E,{series:{prototype:P}}=k();class O{static fromPoint(t){return new O(t.series.chart,null,{x:t.x,y:t.y,xAxis:t.series.xAxis,yAxis:t.series.yAxis})}static pointToPixels(t,e){let i=t.series,s=i.chart,o=t.plotX||0,n=t.plotY||0,a;return s.inverted&&(t.mock?(o=t.plotY,n=t.plotX):(o=s.plotWidth-(t.plotY||0),n=s.plotHeight-(t.plotX||0))),i&&!e&&(o+=(a=i.getPlotBox()).translateX,n+=a.translateY),{x:o,y:n}}static pointToOptions(t){return{x:t.x,y:t.y,xAxis:t.series.xAxis,yAxis:t.series.yAxis}}constructor(t,e,i){this.mock=!0,this.point=this,this.series={visible:!0,chart:t,getPlotBox:P.getPlotBox},this.target=e||null,this.options=i,this.applyOptions(this.getOptions())}applyOptions(t){this.command=t.command,this.setAxis(t,"x"),this.setAxis(t,"y"),this.refresh()}getOptions(){return this.hasDynamicOptions()&&"function"==typeof this.options?this.options(this.target):this.options}hasDynamicOptions(){return"function"==typeof this.options}isInsidePlot(){let t=this.plotX,e=this.plotY,s=this.series.xAxis,o=this.series.yAxis,n={x:t,y:e,isInsidePlot:!0,options:{}};return s&&(n.isInsidePlot=(0,i.defined)(t)&&t>=0&&t<=s.len),o&&(n.isInsidePlot=n.isInsidePlot&&(0,i.defined)(e)&&e>=0&&e<=o.len),(0,i.fireEvent)(this.series.chart,"afterIsInsidePlot",n),n.isInsidePlot}refresh(){let t=this.series,e=t.xAxis,i=t.yAxis,s=this.getOptions();e?(this.x=s.x,this.plotX=e.toPixels(s.x,!0)):(this.x=void 0,this.plotX=s.x),i?(this.y=s.y,this.plotY=i.toPixels(s.y,!0)):(this.y=null,this.plotY=s.y),this.isInside=this.isInsidePlot()}refreshOptions(){let t=this.series,e=t.xAxis,i=t.yAxis;this.x=this.options.x=e?this.options.x=e.toValue(this.plotX,!0):this.plotX,this.y=this.options.y=i?i.toValue(this.plotY,!0):this.plotY}rotate(t,e,i){if(!this.hasDynamicOptions()){let s=Math.cos(i),o=Math.sin(i),n=this.plotX-t,a=this.plotY-e;this.plotX=n*s-a*o+t,this.plotY=n*o+a*s+e,this.refreshOptions()}}scale(t,e,i,s){if(!this.hasDynamicOptions()){let o=this.plotX*i,n=this.plotY*s;this.plotX=(1-i)*t+o,this.plotY=(1-s)*e+n,this.refreshOptions()}}setAxis(t,e){let i=e+"Axis",s=t[i],o=this.series.chart;this.series[i]="object"==typeof s?s:C(o,i,s)||null}toAnchor(){let t=[this.plotX,this.plotY,0,0];return this.series.chart.inverted&&(t[0]=this.plotY,t[1]=this.plotX),t}translate(t,e,i,s){this.hasDynamicOptions()||(this.plotX+=i,this.plotY+=s,this.refreshOptions())}}!function(t){function e(){let t=this.controlPoints,e=this.options.controlPoints||[];e.forEach((s,o)=>{let n=(0,i.merge)(this.options.controlPointOptions,s);n.index||(n.index=o),e[o]=n,t.push(new b(this.chart,this,n))})}function s(t){let e=t.series.getPlotBox(),s=t.series.chart,o=t.mock?t.toAnchor():s.tooltip&&s.tooltip.getAnchor.call({chart:t.series.chart},t)||[0,0,0,0],n={x:o[0]+(this.options.x||0),y:o[1]+(this.options.y||0),height:o[2]||0,width:o[3]||0};return{relativePosition:n,absolutePosition:(0,i.merge)(n,{x:n.x+(t.mock?e.translateX:s.plotLeft),y:n.y+(t.mock?e.translateY:s.plotTop)})}}function o(){this.controlPoints.forEach(t=>t.destroy()),this.chart=null,this.controlPoints=null,this.points=null,this.options=null,this.annotation&&(this.annotation=null)}function n(){let t=this.options;return t.points||t.point&&(0,i.splat)(t.point)}function a(){let t,e,i=this.getPointsOptions(),s=this.points,o=i?.length||0;for(t=0;t<o;t++){if(!(e=this.point(i[t],s[t]))){s.length=0;return}e.mock&&e.refresh(),s[t]=e}return s}function r(t,e){if(t&&t.series)return t;if(!e||null===e.series){if((0,i.isObject)(t))e=new O(this.chart,this,t);else if((0,i.isString)(t))e=this.chart.get(t)||null;else if("function"==typeof t){let i=t.call(e,this);e=i.series?i:new O(this.chart,this,t)}}return e}function h(t){this.controlPoints.forEach(e=>e.redraw(t))}function l(){this.controlPoints.forEach(t=>t.render())}function c(t,e,i,s,o){if(this.chart.inverted){let t=e;e=i,i=t}this.points.forEach((n,a)=>this.transformPoint(t,e,i,s,o,a),this)}function p(t,e,i,s,o,n){let a=this.points[n];a.mock||(a=this.points[n]=O.fromPoint(a)),a[t](e,i,s,o)}function d(t,e){this.transform("translate",null,null,t,e)}function u(t,e,i){this.transformPoint("translate",null,null,t,e,i)}t.compose=function(t){let g=t.prototype;g.addControlPoints||(0,i.merge)(!0,g,{addControlPoints:e,anchor:s,destroyControlTarget:o,getPointsOptions:n,linkPoints:a,point:r,redrawControlPoints:h,renderControlPoints:l,transform:c,transformPoint:p,translate:d,translatePoint:u})}}(n||(n={}));let M=n;class N{constructor(t,e,i,s){this.annotation=t,this.chart=t.chart,this.collection="label"===s?"labels":"shapes",this.controlPoints=[],this.options=e,this.points=[],this.index=i,this.itemType=s,this.init(t,e,i)}attr(){this.graphic.attr.apply(this.graphic,arguments)}attrsFromOptions(t){let e,i,s=this.constructor.attrsMap,o={},n=this.chart.styledMode;for(e in t)i=s[e],void 0===s[e]||n&&-1!==["fill","stroke","stroke-width"].indexOf(i)||(o[i]=t[e]);return o}destroy(){this.graphic&&(this.graphic=this.graphic.destroy()),this.tracker&&(this.tracker=this.tracker.destroy()),this.destroyControlTarget()}calculateAnnotationSize(t,e,i){let s=i.toPixels(t,!0);return Math.abs(i.toPixels(t+e,!0)-s)}init(t,e,i){this.annotation=t,this.chart=t.chart,this.options=e,this.points=[],this.controlPoints=[],this.index=i,this.linkPoints(),this.addControlPoints()}redraw(t){this.redrawControlPoints(t)}render(t){this.options.className&&this.graphic&&this.graphic.addClass(this.options.className),this.renderControlPoints()}rotate(t,e,i){this.transform("rotate",t,e,i)}scale(t,e,i,s){this.transform("scale",t,e,i,s)}setControlPointsVisibility(t){this.controlPoints.forEach(e=>{e.setVisibility(t)})}shouldBeDrawn(){return!!this.points.length}translateShape(t,e,i){let s=this.annotation.chart,o=this.annotation.userOptions,n=s.annotations.indexOf(this.annotation),a=s.options.annotations[n];this.translatePoint(t,e,0),i&&this.translatePoint(t,e,1),a[this.collection][this.index].point=this.options.point,o[this.collection][this.index].point=this.options.point}update(t){let e=this.annotation,s=(0,i.merge)(!0,this.options,t),o=this.graphic.parentGroup,n=this.constructor;this.destroy();let a=new n(e,s,this.index,this.itemType);(0,i.merge)(!0,this,a),this.render(o),this.redraw()}}M.compose(N);let B=N,{defaultMarkers:T}={defaultMarkers:{arrow:{tagName:"marker",attributes:{id:"arrow",refY:5,refX:9,markerWidth:10,markerHeight:10},children:[{tagName:"path",attributes:{d:"M 0 0 L 10 5 L 0 10 Z","stroke-width":0}}]},"reverse-arrow":{tagName:"marker",attributes:{id:"reverse-arrow",refY:5,refX:1,markerWidth:10,markerHeight:10},children:[{tagName:"path",attributes:{d:"M 0 5 L 10 0 L 10 10 Z","stroke-width":0}}]}}},L=D("marker-end"),I=D("marker-start"),S="rgba(192,192,192,"+(h().svg?1e-4:.002)+")";function D(t){return function(e){this.attr(t,"url(#"+e+")")}}function Y(){this.options.defs=(0,i.merge)(T,this.options.defs||{})}function X(t,e){let s={attributes:{id:t}},o={stroke:e.color||"none",fill:e.color||"rgba(0, 0, 0, 0.75)"};s.children=e.children&&e.children.map(function(t){return(0,i.merge)(o,t)});let n=(0,i.merge)(!0,{attributes:{markerWidth:20,markerHeight:20,refX:0,refY:0,orient:"auto"}},e,s),a=this.definition(n);return a.id=t,a}class F extends B{static compose(t,e){let s=e.prototype;s.addMarker||((0,i.addEvent)(t,"afterGetContainer",Y),s.addMarker=X)}constructor(t,e,i){super(t,e,i,"shape"),this.type="path"}init(t,e,s){(0,i.defined)(e.yAxis)&&e.points.forEach(t=>{t&&"string"!=typeof t&&(t.yAxis=e.yAxis)}),(0,i.defined)(e.xAxis)&&e.points.forEach(t=>{t&&"string"!=typeof t&&(t.xAxis=e.xAxis)}),super.init(t,e,s)}toD(){let t=this.options.d;if(t)return"function"==typeof t?t.call(this):t;let e=this.points,i=e.length,s=[],o=i,n=e[0],a=o&&this.anchor(n).absolutePosition,r=0,h;if(a)for(s.push(["M",a.x,a.y]);++r<i&&o;)h=(n=e[r]).command||"L",a=this.anchor(n).absolutePosition,"M"===h||"L"===h?s.push([h,a.x,a.y]):"Z"===h&&s.push([h]),o=n.series.visible;return o&&this.graphic?this.chart.renderer.crispLine(s,this.graphic.strokeWidth()):null}shouldBeDrawn(){return super.shouldBeDrawn()||!!this.options.d}render(t){let e=this.options,s=this.attrsFromOptions(e);this.graphic=this.annotation.chart.renderer.path([["M",0,0]]).attr(s).add(t),this.tracker=this.annotation.chart.renderer.path([["M",0,0]]).addClass("highcharts-tracker-line").attr({zIndex:2}).add(t),this.annotation.chart.styledMode||this.tracker.attr({"stroke-linejoin":"round",stroke:S,fill:S,"stroke-width":this.graphic.strokeWidth()+2*e.snap}),super.render(),(0,i.extend)(this.graphic,{markerStartSetter:I,markerEndSetter:L}),this.setMarkers(this)}redraw(t){if(this.graphic){let e=this.toD(),i=t?"animate":"attr";e?(this.graphic[i]({d:e}),this.tracker[i]({d:e})):(this.graphic.attr({d:"M 0 -9000000000"}),this.tracker.attr({d:"M 0 -9000000000"})),this.graphic.placed=this.tracker.placed=!!e}super.redraw(t)}setMarkers(t){let e=t.options,s=t.chart,o=s.options.defs,n=e.fill,a=(0,i.defined)(n)&&"none"!==n?n:e.stroke;["markerStart","markerEnd"].forEach(function(n){let r,h,l,c,p=e[n];if(p){for(l in o)if((p===((r=o[l]).attributes&&r.attributes.id)||p===r.id)&&"marker"===r.tagName){h=r;break}h&&(c=t[n]=s.renderer.addMarker((e.id||(0,i.uniqueKey)())+"-"+p,(0,i.merge)(h,{color:a})),t.attr(n,c.getAttribute("id")))}})}}F.attrsMap={dashStyle:"dashstyle",strokeWidth:"stroke-width",stroke:"stroke",fill:"fill",zIndex:"zIndex"};class U extends B{constructor(t,e,i){super(t,e,i,"shape"),this.type="rect",this.translate=super.translateShape}init(t,e,s){let{point:o,xAxis:n,yAxis:a}=e;o&&"string"!=typeof o&&((0,i.defined)(n)&&(o.xAxis=n),(0,i.defined)(a)&&(o.yAxis=a)),super.init(t,e,s)}render(t){let e=this.attrsFromOptions(this.options);this.graphic=this.annotation.chart.renderer.rect(0,-9e9,0,0).attr(e).add(t),super.render()}redraw(t){if(this.graphic){let e=this.points[0],s=this.anchor(e).absolutePosition,o=this.options.width||0,n=this.options.height||0;if(s){let a=(0,i.defined)(this.options.xAxis)?this.chart.xAxis[this.options.xAxis]:void 0,r=(0,i.defined)(this.options.yAxis)?this.chart.yAxis[this.options.yAxis]:void 0;a&&(0,i.defined)(e.x)&&(o=this.calculateAnnotationSize(e.x,o,a)),r&&(0,i.defined)(e.y)&&(n=this.calculateAnnotationSize(e.y,n,r)),this.graphic[t?"animate":"attr"]({x:s.x,y:s.y,width:o,height:n})}else this.attr({x:0,y:-9e9});this.graphic.placed=!!s}super.redraw(t)}}U.attrsMap=(0,i.merge)(F.attrsMap,{width:"width",height:"height"});class R extends B{constructor(t,e,i){super(t,e,i,"shape"),this.type="circle",this.translate=super.translateShape}init(t,e,s){let{point:o,xAxis:n,yAxis:a}=e;o&&"string"!=typeof o&&((0,i.defined)(n)&&(o.xAxis=n),(0,i.defined)(a)&&(o.yAxis=a)),super.init(t,e,s)}redraw(t){if(this.graphic){let e=this.points[0],s=this.anchor(e).absolutePosition,o=this.options.r||0;if(s){let n=(0,i.defined)(this.options.yAxis)?this.chart.yAxis[this.options.yAxis]:void 0;n&&(0,i.defined)(e.y)&&(o=this.calculateAnnotationSize(e.y,o,n)),this.graphic[t?"animate":"attr"]({x:s.x,y:s.y,r:o})}else this.graphic.attr({x:0,y:-9e9});this.graphic.placed=!!s}super.redraw.call(this,t)}render(t){let e=this.attrsFromOptions(this.options);this.graphic=this.annotation.chart.renderer.circle(0,-9e9,0).attr(e).add(t),super.render()}setRadius(t){this.options.r=t}}R.attrsMap=(0,i.merge)(F.attrsMap,{r:"r"});class W extends B{constructor(t,e,i){super(t,e,i,"shape"),this.type="ellipse"}init(t,e,s){(0,i.defined)(e.yAxis)&&e.points.forEach(t=>{t&&"string"!=typeof t&&(t.yAxis=e.yAxis)}),(0,i.defined)(e.xAxis)&&e.points.forEach(t=>{t&&"string"!=typeof t&&(t.xAxis=e.xAxis)}),super.init(t,e,s)}render(t){this.graphic=this.annotation.chart.renderer.createElement("ellipse").attr(this.attrsFromOptions(this.options)).add(t),super.render()}translate(t,e){super.translateShape(t,e,!0)}getDistanceFromLine(t,e,i,s){return Math.abs((e.y-t.y)*i-(e.x-t.x)*s+e.x*t.y-e.y*t.x)/Math.sqrt((e.y-t.y)*(e.y-t.y)+(e.x-t.x)*(e.x-t.x))}getAttrs(t,e){let i=t.x,s=t.y,o=e.x,n=e.y,a=(i+o)/2,r=Math.sqrt((i-o)*(i-o)/4+(s-n)*(s-n)/4),h=180*Math.atan((n-s)/(o-i))/Math.PI;return a<i&&(h+=180),{cx:a,cy:(s+n)/2,rx:r,ry:this.getRY(),angle:h}}getRY(){let t=this.getYAxis();return(0,i.defined)(t)?Math.abs(t.toPixels(this.options.ry)-t.toPixels(0)):this.options.ry}getYAxis(){let t=this.options.yAxis;return this.chart.yAxis[t]}getAbsolutePosition(t){return this.anchor(t).absolutePosition}redraw(t){if(this.graphic){let e=this.getAbsolutePosition(this.points[0]),i=this.getAbsolutePosition(this.points[1]),s=this.getAttrs(e,i);e?this.graphic[t?"animate":"attr"]({cx:s.cx,cy:s.cy,rx:s.rx,ry:s.ry,rotation:s.angle,rotationOriginX:s.cx,rotationOriginY:s.cy}):this.graphic.attr({x:0,y:-9e9}),this.graphic.placed=!!e}super.redraw(t)}setYRadius(t){let e=this.annotation.userOptions.shapes;this.options.ry=t,e&&e[0]&&(e[0].ry=t,e[0].ry=t)}}W.attrsMap=(0,i.merge)(F.attrsMap,{ry:"ry"});let j=t.default.Templating;var z=e.n(j);let{format:V}=z();function q(t,e,s,o,n){let a=n&&n.anchorX,r=n&&n.anchorY,h,l,c=s/2;return(0,i.isNumber)(a)&&(0,i.isNumber)(r)&&(h=[["M",a,r]],(l=e-r)<0&&(l=-o-l),l<s&&(c=a<t+s/2?l:s-l),r>e+o?h.push(["L",t+c,e+o]):r<e?h.push(["L",t+c,e]):a<t?h.push(["L",t,e+o/2]):a>t+s&&h.push(["L",t+s,e+o/2])),h||[]}class $ extends B{static alignedPosition(t,e){return{x:Math.round((e.x||0)+(t.x||0)+(e.width-(t.width||0))*(0,i.getAlignFactor)(t.align)),y:Math.round((e.y||0)+(t.y||0)+(e.height-(t.height||0))*(0,i.getAlignFactor)(t.verticalAlign))}}static compose(t){t.prototype.symbols.connector=q}static justifiedOptions(t,e,i,s){let o,n=i.align,a=i.verticalAlign,r=e.box?0:e.padding||0,h=e.getBBox(),l={align:n,verticalAlign:a,x:i.x,y:i.y,width:e.width,height:e.height},c=(s.x||0)-t.plotLeft,p=(s.y||0)-t.plotTop;return(o=c+r)<0&&("right"===n?l.align="left":l.x=(l.x||0)-o),(o=c+h.width-r)>t.plotWidth&&("left"===n?l.align="right":l.x=(l.x||0)+t.plotWidth-o),(o=p+r)<0&&("bottom"===a?l.verticalAlign="top":l.y=(l.y||0)-o),(o=p+h.height-r)>t.plotHeight&&("top"===a?l.verticalAlign="bottom":l.y=(l.y||0)+t.plotHeight-o),l}constructor(t,e,i){super(t,e,i,"label")}translatePoint(t,e){super.translatePoint(t,e,0)}translate(t,e){var i,s;let o=this.annotation.chart,n=this.annotation.userOptions,a=o.annotations.indexOf(this.annotation),r=o.options.annotations[a];if(o.inverted){let i=t;t=e,e=i}(i=this.options).x||(i.x=0),(s=this.options).y||(s.y=0),this.options.x+=t,this.options.y+=e,r[this.collection][this.index].x=this.options.x,r[this.collection][this.index].y=this.options.y,n[this.collection][this.index].x=this.options.x,n[this.collection][this.index].y=this.options.y}render(t){let e=this.options,i=this.attrsFromOptions(e),s=e.style,o=this.annotation.chart.options.chart,n=o.plotBackgroundColor||o.backgroundColor;if(this.graphic=this.annotation.chart.renderer.label("",0,-9999,e.shape,void 0,void 0,e.useHTML,void 0,"annotation-label").attr(i).add(t),!this.annotation.chart.styledMode){if(s?.color==="contrast"){let t=!e.shape||$.shapesWithoutBackground.indexOf(e.shape)>-1||"none"===e.backgroundColor?n:e.backgroundColor;s.color=this.annotation.chart.renderer.getContrast("string"==typeof t?t:"string"==typeof n?n:"#ffffff")}this.graphic.css(e.style||{}).shadow(e.shadow)}this.graphic.labelrank=e.labelrank,super.render()}redraw(t){let e=this.options,i=this.text||e.format||e.text,s=this.graphic,o=this.points[0];if(!s)return void this.redraw(t);s.attr({text:i?V(String(i),o,this.annotation.chart):e.formatter.call(o,o)});let n=this.anchor(o),a=this.position(n);a?(s.alignAttr=a,a.anchorX=n.absolutePosition.x,a.anchorY=n.absolutePosition.y,s[t?"animate":"attr"](a)):s.attr({x:0,y:-9999}),s.placed=!!a,super.redraw(t)}anchor(t){let e=super.anchor.apply(this,arguments),i=this.options.x||0,s=this.options.y||0;return e.absolutePosition.x-=i,e.absolutePosition.y-=s,e.relativePosition.x-=i,e.relativePosition.y-=s,e}position(t){let e=this.graphic,s=this.annotation.chart,o=s.tooltip,n=this.points[0],a=this.options,r=t.absolutePosition,h=t.relativePosition,l,c,p,d,u=n.series.visible&&O.prototype.isInsidePlot.call(n);if(e&&u){let{width:t=0,height:g=0}=e;a.distance&&o?l=o.getPosition.call({chart:s,distance:a.distance??16,getPlayingField:o.getPlayingField,pointer:o.pointer},t,g,{plotX:h.x,plotY:h.y,negative:n.negative,ttBelow:n.ttBelow,h:h.height||h.width}):a.positioner?l=a.positioner.call(this,this):(c={x:r.x,y:r.y,width:0,height:0},l=$.alignedPosition((0,i.extend)(a,{width:t,height:g}),c),"justify"===this.options.overflow&&(l=$.alignedPosition($.justifiedOptions(s,e,a,l),c))),a.crop&&(p=l.x-s.plotLeft,d=l.y-s.plotTop,u=s.isInsidePlot(p,d)&&s.isInsidePlot(p+t,d+g))}return u?l:null}}$.attrsMap={backgroundColor:"fill",borderColor:"stroke",borderWidth:"stroke-width",zIndex:"zIndex",borderRadius:"r",padding:"padding"},$.shapesWithoutBackground=["connector"];class H extends B{constructor(t,e,i){super(t,e,i,"shape"),this.type="image",this.translate=super.translateShape}render(t){let e=this.attrsFromOptions(this.options),i=this.options;this.graphic=this.annotation.chart.renderer.image(i.src,0,-9e9,i.width,i.height).attr(e).add(t),this.graphic.width=i.width,this.graphic.height=i.height,super.render()}redraw(t){if(this.graphic){let e=this.anchor(this.points[0]),i=$.prototype.position.call(this,e);i?this.graphic[t?"animate":"attr"]({x:i.x,y:i.y}):this.graphic.attr({x:0,y:-9e9}),this.graphic.placed=!!i}super.redraw(t)}}H.attrsMap={width:"width",height:"height",zIndex:"zIndex"};let G=t.default.AST;var K=e.n(G);let _=t=>`<?xml version="1.0" encoding="utf-8"?>
13
+ */import*as t from"../highcharts.js";let e={};e.n=t=>{let i=t&&t.__esModule?()=>t.default:()=>t;return e.d(i,{a:i}),i},e.d=(t,i)=>{for(var s in i)e.o(i,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:i[s]})},e.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let i=t.default;var s,o,n,a,r,h=e.n(i);function l(t,e){let i=this.initAnnotation(t);return this.options.annotations.push(i.options),(e??!0)&&(i.redraw(),i.graphic.attr({opacity:1})),i}function c(){let t=this;t.plotBoxClip=this.renderer.clipRect(this.plotBox),t.controlPointsGroup=t.renderer.g("control-points").attr({zIndex:99}).clip(t.plotBoxClip).add(),t.options.annotations.forEach((e,i)=>{if(!t.annotations.some(t=>t.options===e)){let s=t.initAnnotation(e);t.options.annotations[i]=s.options}}),t.drawAnnotations(),(0,i.addEvent)(t,"redraw",t.drawAnnotations),(0,i.addEvent)(t,"destroy",function(){t.plotBoxClip.destroy(),t.controlPointsGroup.destroy()}),(0,i.addEvent)(t,"exportData",function(e){let i=t.annotations,s=(this.options.exporting&&this.options.exporting.csv||{}).columnHeaderFormatter,o=!e.dataRows[1]?.xValues,n=t.options.lang&&t.options.lang.exportData&&t.options.lang.exportData.annotationHeader,a=e.dataRows[0].length,r=t.options.exporting?.csv?.annotations?.itemDelimiter,h=t.options.exporting?.csv?.annotations?.join;i.forEach(t=>{t.options.labelOptions?.includeInDataExport&&t.labels.forEach(t=>{if(t.options.text){let i=t.options.text;t.points.forEach(t=>{let s=t.x,o=t.series.xAxis?t.series.xAxis.index:-1,n=!1;if(-1===o){let t=e.dataRows[0].length,a=Array(t);for(let e=0;e<t;++e)a[e]="";a.push(i),a.xValues=[],a.xValues[o]=s,e.dataRows.push(a),n=!0}if(n||e.dataRows.forEach(t=>{!n&&t.xValues&&void 0!==o&&s===t.xValues[o]&&(h&&t.length>a?t[t.length-1]+=r+i:t.push(i),n=!0)}),!n){let t=e.dataRows[0].length,n=Array(t);for(let e=0;e<t;++e)n[e]="";n[0]=s,n.push(i),n.xValues=[],void 0!==o&&(n.xValues[o]=s),e.dataRows.push(n)}})}})});let l=0;e.dataRows.forEach(t=>{l=Math.max(l,t.length)});let c=l-e.dataRows[0].length;for(let t=0;t<c;t++){let i=function(t){let e;return s&&!1!==(e=s(t))?e:(e=n+" "+t,o)?{columnTitle:e,topLevelColumnTitle:e}:e}(t+1);o?(e.dataRows[0].push(i.topLevelColumnTitle),e.dataRows[1].push(i.columnTitle)):e.dataRows[0].push(i)}})}function p(){this.plotBoxClip.attr(this.plotBox),this.annotations.forEach(t=>{t.redraw(),t.graphic.animate({opacity:1},t.animationConfig)})}function d(t){let e=this.annotations,s="annotations"===t.coll?t:(0,i.find)(e,function(e){return e.options.id===t});s&&((0,i.fireEvent)(s,"remove"),(0,i.erase)(this.options.annotations,s.options),(0,i.erase)(e,s),s.destroy())}function u(){let t=this.options.annotations,e=this.userOptions.annotations;this.annotations=[],(0,i.isArray)(this.options.annotations)||(this.options.annotations=[]),(0,i.isObject)(e,!0)&&(0,i.isObject)(t,!0)&&this.options.annotations.push(t)}function g(t){this.chart.hasDraggedAnnotation||t.apply(this,Array.prototype.slice.call(arguments,1))}(o||(o={})).compose=function(t,e,s){let o=e.prototype;if(!o.addAnnotation){let n=s.prototype;(0,i.addEvent)(e,"afterInit",u),o.addAnnotation=l,o.callbacks.push(c),o.collectionsWithInit.annotations=[l],o.collectionsWithUpdate.push("annotations"),o.drawAnnotations=p,o.removeAnnotation=d,o.initAnnotation=function(e){let i=new(t.types[e.type]||t)(this,e);return this.annotations.push(i),i},(0,i.wrap)(n,"onContainerMouseDown",g)}};let m=o,f={visible:!0,animation:{},crop:!0,draggable:"xy",labelOptions:{align:"center",allowOverlap:!1,backgroundColor:"rgba(0, 0, 0, 0.75)",borderColor:"var(--highcharts-neutral-color-100)",borderRadius:3,borderWidth:1,className:"highcharts-no-tooltip",crop:!1,formatter:function(){return(0,i.defined)(this.y)?""+this.y:"Annotation label"},includeInDataExport:!0,overflow:"justify",padding:5,shadow:!1,shape:"callout",style:{fontSize:"0.7em",fontWeight:"normal",color:"contrast"},useHTML:!1,verticalAlign:"bottom",x:0,y:-16},shapeOptions:{stroke:"rgba(0, 0, 0, 0.75)",strokeWidth:1,fill:"rgba(0, 0, 0, 0.75)",r:0,snap:2},controlPointOptions:{events:{},style:{cursor:"pointer",fill:"var(--highcharts-background-color)",stroke:"var(--highcharts-neutral-color-100)","stroke-width":2},height:10,symbol:"circle",visible:!1,width:10},events:{},typeOptions:{},types:{},zIndex:6},{doc:v,isTouchDevice:y}=h(),x=class{addEvents(){let t=this,e=function(e){(0,i.addEvent)(e,y?"touchstart":"mousedown",e=>{t.onMouseDown(e)},{passive:!1})};if(e(this.graphic.element),(t.labels||[]).forEach(t=>{t.options.useHTML&&t.graphic.text&&!t.graphic.text.foreignObject&&e(t.graphic.text.element)}),(0,i.objectEach)(t.options.events,(e,s)=>{let o=function(i){"click"===s&&t.cancelClick||e.call(t,t.chart.pointer?.normalize(i),t.target,t)};-1===(t.nonDOMEvents||[]).indexOf(s)?((0,i.addEvent)(t.graphic.element,s,o,{passive:!1}),t.graphic.div&&(0,i.addEvent)(t.graphic.div,s,o,{passive:!1})):(0,i.addEvent)(t,s,o,{passive:!1})}),t.options.draggable&&((0,i.addEvent)(t,"drag",t.onDrag),!t.graphic.renderer.styledMode)){let e={cursor:{x:"ew-resize",y:"ns-resize",xy:"move"}[t.options.draggable]};t.graphic.css(e),(t.labels||[]).forEach(t=>{t.options.useHTML&&t.graphic.text&&!t.graphic.text.foreignObject&&t.graphic.text.css(e)})}t.isUpdating||(0,i.fireEvent)(t,"add")}destroy(){this.removeDocEvents(),(0,i.removeEvent)(this),this.hcEvents=null}mouseMoveToRadians(t,e,i){let s=t.prevChartY-i,o=t.prevChartX-e,n=t.chartY-i,a=t.chartX-e,r;return this.chart.inverted&&(r=o,o=s,s=r,r=a,a=n,n=r),Math.atan2(n,a)-Math.atan2(s,o)}mouseMoveToScale(t,e,i){let s=t.prevChartX-e,o=t.prevChartY-i,n=t.chartX-e,a=t.chartY-i,r=(n||1)/(s||1),h=(a||1)/(o||1);if(this.chart.inverted){let t=h;h=r,r=t}return{x:r,y:h}}mouseMoveToTranslation(t){let e=t.chartX-t.prevChartX,i=t.chartY-t.prevChartY,s;return this.chart.inverted&&(s=i,i=e,e=s),{x:e,y:i}}onDrag(t){if(this.chart.isInsidePlot(t.chartX-this.chart.plotLeft,t.chartY-this.chart.plotTop,{visiblePlotOnly:!0})){let e=this.mouseMoveToTranslation(t);"x"===this.options.draggable&&(e.y=0),"y"===this.options.draggable&&(e.x=0),this.points.length?this.translate(e.x,e.y):(this.shapes.forEach(t=>t.translate(e.x,e.y)),this.labels.forEach(t=>t.translate(e.x,e.y))),this.redraw(!1)}}onMouseDown(t){if(t.preventDefault&&t.preventDefault(),2===t.button)return;let e=this,s=e.chart.pointer,o=t?.sourceCapabilities?.firesTouchEvents||!1,n=(t=s?.normalize(t)||t).chartX,a=t.chartY;e.cancelClick=!1,e.chart.hasDraggedAnnotation=!0,e.removeDrag=(0,i.addEvent)(v,y||o?"touchmove":"mousemove",function(t){e.hasDragged=!0,(t=s?.normalize(t)||t).prevChartX=n,t.prevChartY=a,(0,i.fireEvent)(e,"drag",t),n=t.chartX,a=t.chartY},y||o?{passive:!1}:void 0),e.removeMouseUp=(0,i.addEvent)(v,y||o?"touchend":"mouseup",function(){let t=(e.target&&e.target.annotation)??e.target;t&&(t.cancelClick=e.hasDragged),e.cancelClick=e.hasDragged,e.chart.hasDraggedAnnotation=!1,e.hasDragged&&(0,i.fireEvent)(t??e,"afterUpdate"),e.hasDragged=!1,e.onMouseUp()},y||o?{passive:!1}:void 0)}onMouseUp(){this.removeDocEvents()}removeDocEvents(){this.removeDrag&&(this.removeDrag=this.removeDrag()),this.removeMouseUp&&(this.removeMouseUp=this.removeMouseUp())}},b=class extends x{constructor(t,e,i,s){super(),this.nonDOMEvents=["drag"],this.chart=t,this.target=e,this.options=i,this.index=i.index??s}destroy(){super.destroy(),this.graphic&&(this.graphic=this.graphic.destroy()),this.chart=null,this.target=null,this.options=null}redraw(t){this.graphic[t?"animate":"attr"](this.options.positioner.call(this,this.target,this))}render(){let t=this.chart,e=this.options;this.graphic=t.renderer.symbol(e.symbol,0,0,e.width,e.height).add(t.controlPointsGroup).css(e.style),this.setVisibility(e.visible),this.addEvents()}setVisibility(t){this.graphic[t?"show":"hide"](),this.options.visible=t}update(t){let e=this.chart,s=this.target,o=this.index,n=(0,i.merge)(!0,this.options,t);this.destroy(),this.constructor(e,s,n,o),this.render(e.controlPointsGroup),this.redraw()}},A={backgroundColor:"color",backgroundColors:"color",borderColor:"color",borderRadius:"string",color:"color",fill:"color",fontSize:"string",labels:"string",name:"string",stroke:"color",title:"string"},E={annotationsFieldsTypes:A,getAssignedAxis:function(t){return t.filter(t=>{let e=t.axis.getExtremes(),s=e.min,o=e.max,n=t.axis.minPointOffset??0;return(0,i.isNumber)(s)&&(0,i.isNumber)(o)&&t.value>=s-n&&t.value<=o+n&&!t.axis.options.isInternal})[0]},getAxisFromOptions:function(t,e,s){return(0,i.isNumber)(s)?t[e][s]:(0,i.defined)(s)?(0,i.find)(t[e],t=>t.options.id===s):void 0},getFieldType:function(t,e){let s=A[t],o=typeof e;return(0,i.defined)(s)&&(o=s),({string:"text",number:"number",boolean:"checkbox",color:"color"})[o]}},w=t.default.SeriesRegistry;var k=e.n(w);let{getAxisFromOptions:C}=E,{series:{prototype:P}}=k(),O=class t{static fromPoint(e){return new t(e.series.chart,null,{x:e.x,y:e.y,xAxis:e.series.xAxis,yAxis:e.series.yAxis})}static pointToPixels(t,e){let i=t.series,s=i.chart,o=t.plotX||0,n=t.plotY||0,a;return s.inverted&&(t.mock?(o=t.plotY,n=t.plotX):(o=s.plotWidth-(t.plotY||0),n=s.plotHeight-(t.plotX||0))),i&&!e&&(o+=(a=i.getPlotBox()).translateX,n+=a.translateY),{x:o,y:n}}static pointToOptions(t){return{x:t.x,y:t.y,xAxis:t.series.xAxis,yAxis:t.series.yAxis}}constructor(t,e,i){this.mock=!0,this.point=this,this.series={visible:!0,chart:t,getPlotBox:P.getPlotBox},this.target=e||null,this.options=i,this.applyOptions(this.getOptions())}applyOptions(t){this.command=t.command,this.setAxis(t,"x"),this.setAxis(t,"y"),this.refresh()}getOptions(){return this.hasDynamicOptions()&&"function"==typeof this.options?this.options(this.target):this.options}hasDynamicOptions(){return"function"==typeof this.options}isInsidePlot(){let t=this.plotX,e=this.plotY,s=this.series.xAxis,o=this.series.yAxis,n={x:t,y:e,isInsidePlot:!0,options:{}};return s&&(n.isInsidePlot=(0,i.defined)(t)&&t>=0&&t<=s.len),o&&(n.isInsidePlot=n.isInsidePlot&&(0,i.defined)(e)&&e>=0&&e<=o.len),(0,i.fireEvent)(this.series.chart,"afterIsInsidePlot",n),n.isInsidePlot}refresh(){let t=this.series,e=t.xAxis,i=t.yAxis,s=this.getOptions();e?(this.x=s.x,this.plotX=e.toPixels(s.x,!0)):(this.x=void 0,this.plotX=s.x),i?(this.y=s.y,this.plotY=i.toPixels(s.y,!0)):(this.y=null,this.plotY=s.y),this.isInside=this.isInsidePlot()}refreshOptions(){let t=this.series,e=t.xAxis,i=t.yAxis;this.x=this.options.x=e?this.options.x=e.toValue(this.plotX,!0):this.plotX,this.y=this.options.y=i?i.toValue(this.plotY,!0):this.plotY}rotate(t,e,i){if(!this.hasDynamicOptions()){let s=Math.cos(i),o=Math.sin(i),n=this.plotX-t,a=this.plotY-e;this.plotX=n*s-a*o+t,this.plotY=n*o+a*s+e,this.refreshOptions()}}scale(t,e,i,s){if(!this.hasDynamicOptions()){let o=this.plotX*i,n=this.plotY*s;this.plotX=(1-i)*t+o,this.plotY=(1-s)*e+n,this.refreshOptions()}}setAxis(t,e){let i=e+"Axis",s=t[i],o=this.series.chart;this.series[i]="object"==typeof s?s:C(o,i,s)||null}toAnchor(){let t=[this.plotX,this.plotY,0,0];return this.series.chart.inverted&&(t[0]=this.plotY,t[1]=this.plotX),t}translate(t,e,i,s){this.hasDynamicOptions()||(this.plotX+=i,this.plotY+=s,this.refreshOptions())}};!function(t){function e(){let t=this.controlPoints,e=this.options.controlPoints||[];e.forEach((s,o)=>{let n=(0,i.merge)(this.options.controlPointOptions,s);n.index||(n.index=o),e[o]=n,t.push(new b(this.chart,this,n))})}function s(t){let e=t.series.getPlotBox(),s=t.series.chart,o=t.mock?t.toAnchor():s.tooltip&&s.tooltip.getAnchor.call({chart:t.series.chart},t)||[0,0,0,0],n={x:o[0]+(this.options.x||0),y:o[1]+(this.options.y||0),height:o[2]||0,width:o[3]||0};return{relativePosition:n,absolutePosition:(0,i.merge)(n,{x:n.x+(t.mock?e.translateX:s.plotLeft),y:n.y+(t.mock?e.translateY:s.plotTop)})}}function o(){this.controlPoints.forEach(t=>t.destroy()),this.chart=null,this.controlPoints=null,this.points=null,this.options=null,this.annotation&&(this.annotation=null)}function n(){let t=this.options;return t.points||t.point&&(0,i.splat)(t.point)}function a(){let t,e,i=this.getPointsOptions(),s=this.points,o=i?.length||0;for(t=0;t<o;t++){if(!(e=this.point(i[t],s[t]))){s.length=0;return}e.mock&&e.refresh(),s[t]=e}return s}function r(t,e){if(t&&t.series)return t;if(!e||null===e.series){if((0,i.isObject)(t))e=new O(this.chart,this,t);else if((0,i.isString)(t))e=this.chart.get(t)||null;else if("function"==typeof t){let i=t.call(e,this);e=i.series?i:new O(this.chart,this,t)}}return e}function h(t){this.controlPoints.forEach(e=>e.redraw(t))}function l(){this.controlPoints.forEach(t=>t.render())}function c(t,e,i,s,o){if(this.chart.inverted){let t=e;e=i,i=t}this.points.forEach((n,a)=>this.transformPoint(t,e,i,s,o,a),this)}function p(t,e,i,s,o,n){let a=this.points[n];a.mock||(a=this.points[n]=O.fromPoint(a)),a[t](e,i,s,o)}function d(t,e){this.transform("translate",null,null,t,e)}function u(t,e,i){this.transformPoint("translate",null,null,t,e,i)}t.compose=function(t){let g=t.prototype;g.addControlPoints||(0,i.merge)(!0,g,{addControlPoints:e,anchor:s,destroyControlTarget:o,getPointsOptions:n,linkPoints:a,point:r,redrawControlPoints:h,renderControlPoints:l,transform:c,transformPoint:p,translate:d,translatePoint:u})}}(n||(n={}));let M=n;class N{constructor(t,e,i,s){this.annotation=t,this.chart=t.chart,this.collection="label"===s?"labels":"shapes",this.controlPoints=[],this.options=e,this.points=[],this.index=i,this.itemType=s,this.init(t,e,i)}attr(){this.graphic.attr.apply(this.graphic,arguments)}attrsFromOptions(t){let e,i,s=this.constructor.attrsMap,o={},n=this.chart.styledMode;for(e in t)i=s[e],void 0===s[e]||n&&-1!==["fill","stroke","stroke-width"].indexOf(i)||(o[i]=t[e]);return o}destroy(){this.graphic&&(this.graphic=this.graphic.destroy()),this.tracker&&(this.tracker=this.tracker.destroy()),this.destroyControlTarget()}calculateAnnotationSize(t,e,i){let s=i.toPixels(t,!0);return Math.abs(i.toPixels(t+e,!0)-s)}init(t,e,i){this.annotation=t,this.chart=t.chart,this.options=e,this.points=[],this.controlPoints=[],this.index=i,this.linkPoints(),this.addControlPoints()}redraw(t){this.redrawControlPoints(t)}render(t){this.options.className&&this.graphic&&this.graphic.addClass(this.options.className),this.renderControlPoints()}rotate(t,e,i){this.transform("rotate",t,e,i)}scale(t,e,i,s){this.transform("scale",t,e,i,s)}setControlPointsVisibility(t){this.controlPoints.forEach(e=>{e.setVisibility(t)})}shouldBeDrawn(){return!!this.points.length}translateShape(t,e,i){let s=this.annotation.chart,o=this.annotation.userOptions,n=s.annotations.indexOf(this.annotation),a=s.options.annotations[n];this.translatePoint(t,e,0),i&&this.translatePoint(t,e,1),a[this.collection][this.index].point=this.options.point,o[this.collection][this.index].point=this.options.point}update(t){let e=this.annotation,s=(0,i.merge)(!0,this.options,t),o=this.graphic.parentGroup,n=this.constructor;this.destroy();let a=new n(e,s,this.index,this.itemType);(0,i.merge)(!0,this,a),this.render(o),this.redraw()}}M.compose(N);let B=N,{defaultMarkers:T}={defaultMarkers:{arrow:{tagName:"marker",attributes:{id:"arrow",refY:5,refX:9,markerWidth:10,markerHeight:10},children:[{tagName:"path",attributes:{d:"M 0 0 L 10 5 L 0 10 Z","stroke-width":0}}]},"reverse-arrow":{tagName:"marker",attributes:{id:"reverse-arrow",refY:5,refX:1,markerWidth:10,markerHeight:10},children:[{tagName:"path",attributes:{d:"M 0 5 L 10 0 L 10 10 Z","stroke-width":0}}]}}},L=D("marker-end"),I=D("marker-start"),S="rgba(192,192,192,"+(h().svg?1e-4:.002)+")";function D(t){return function(e){this.attr(t,"url(#"+e+")")}}function Y(){this.options.defs=(0,i.merge)(T,this.options.defs||{})}function X(t,e){let s={attributes:{id:t}},o={stroke:e.color||"none",fill:e.color||"rgba(0, 0, 0, 0.75)"};s.children=e.children&&e.children.map(function(t){return(0,i.merge)(o,t)});let n=(0,i.merge)(!0,{attributes:{markerWidth:20,markerHeight:20,refX:0,refY:0,orient:"auto"}},e,s),a=this.definition(n);return a.id=t,a}class F extends B{static compose(t,e){let s=e.prototype;s.addMarker||((0,i.addEvent)(t,"afterGetContainer",Y),s.addMarker=X)}constructor(t,e,i){super(t,e,i,"shape"),this.type="path"}init(t,e,s){(0,i.defined)(e.yAxis)&&e.points.forEach(t=>{t&&"string"!=typeof t&&(t.yAxis=e.yAxis)}),(0,i.defined)(e.xAxis)&&e.points.forEach(t=>{t&&"string"!=typeof t&&(t.xAxis=e.xAxis)}),super.init(t,e,s)}toD(){let t=this.options.d;if(t)return"function"==typeof t?t.call(this):t;let e=this.points,i=e.length,s=[],o=i,n=e[0],a=o&&this.anchor(n).absolutePosition,r=0,h;if(a)for(s.push(["M",a.x,a.y]);++r<i&&o;)h=(n=e[r]).command||"L",a=this.anchor(n).absolutePosition,"M"===h||"L"===h?s.push([h,a.x,a.y]):"Z"===h&&s.push([h]),o=n.series.visible;return o&&this.graphic?this.chart.renderer.crispLine(s,this.graphic.strokeWidth()):null}shouldBeDrawn(){return super.shouldBeDrawn()||!!this.options.d}render(t){let e=this.options,s=this.attrsFromOptions(e);this.graphic=this.annotation.chart.renderer.path([["M",0,0]]).attr(s).add(t),this.tracker=this.annotation.chart.renderer.path([["M",0,0]]).addClass("highcharts-tracker-line").attr({zIndex:2}).add(t),this.annotation.chart.styledMode||this.tracker.attr({"stroke-linejoin":"round",stroke:S,fill:S,"stroke-width":this.graphic.strokeWidth()+2*e.snap}),super.render(),(0,i.extend)(this.graphic,{markerStartSetter:I,markerEndSetter:L}),this.setMarkers(this)}redraw(t){if(this.graphic){let e=this.toD(),i=t?"animate":"attr";e?(this.graphic[i]({d:e}),this.tracker[i]({d:e})):(this.graphic.attr({d:"M 0 -9000000000"}),this.tracker.attr({d:"M 0 -9000000000"})),this.graphic.placed=this.tracker.placed=!!e}super.redraw(t)}setMarkers(t){let e=t.options,s=t.chart,o=s.options.defs,n=e.fill,a=(0,i.defined)(n)&&"none"!==n?n:e.stroke;["markerStart","markerEnd"].forEach(function(n){let r,h,l,c,p=e[n];if(p){for(l in o)if((p===((r=o[l]).attributes&&r.attributes.id)||p===r.id)&&"marker"===r.tagName){h=r;break}h&&(c=t[n]=s.renderer.addMarker((e.id||(0,i.uniqueKey)())+"-"+p,(0,i.merge)(h,{color:a})),t.attr(n,c.getAttribute("id")))}})}}F.attrsMap={dashStyle:"dashstyle",strokeWidth:"stroke-width",stroke:"stroke",fill:"fill",zIndex:"zIndex"};class U extends B{constructor(t,e,i){super(t,e,i,"shape"),this.type="rect",this.translate=super.translateShape}init(t,e,s){let{point:o,xAxis:n,yAxis:a}=e;o&&"string"!=typeof o&&((0,i.defined)(n)&&(o.xAxis=n),(0,i.defined)(a)&&(o.yAxis=a)),super.init(t,e,s)}render(t){let e=this.attrsFromOptions(this.options);this.graphic=this.annotation.chart.renderer.rect(0,-9e9,0,0).attr(e).add(t),super.render()}redraw(t){if(this.graphic){let e=this.points[0],s=this.anchor(e).absolutePosition,o=this.options.width||0,n=this.options.height||0;if(s){let a=(0,i.defined)(this.options.xAxis)?this.chart.xAxis[this.options.xAxis]:void 0,r=(0,i.defined)(this.options.yAxis)?this.chart.yAxis[this.options.yAxis]:void 0;a&&(0,i.defined)(e.x)&&(o=this.calculateAnnotationSize(e.x,o,a)),r&&(0,i.defined)(e.y)&&(n=this.calculateAnnotationSize(e.y,n,r)),this.graphic[t?"animate":"attr"]({x:s.x,y:s.y,width:o,height:n})}else this.attr({x:0,y:-9e9});this.graphic.placed=!!s}super.redraw(t)}}U.attrsMap=(0,i.merge)(F.attrsMap,{width:"width",height:"height"});class R extends B{constructor(t,e,i){super(t,e,i,"shape"),this.type="circle",this.translate=super.translateShape}init(t,e,s){let{point:o,xAxis:n,yAxis:a}=e;o&&"string"!=typeof o&&((0,i.defined)(n)&&(o.xAxis=n),(0,i.defined)(a)&&(o.yAxis=a)),super.init(t,e,s)}redraw(t){if(this.graphic){let e=this.points[0],s=this.anchor(e).absolutePosition,o=this.options.r||0;if(s){let n=(0,i.defined)(this.options.yAxis)?this.chart.yAxis[this.options.yAxis]:void 0;n&&(0,i.defined)(e.y)&&(o=this.calculateAnnotationSize(e.y,o,n)),this.graphic[t?"animate":"attr"]({x:s.x,y:s.y,r:o})}else this.graphic.attr({x:0,y:-9e9});this.graphic.placed=!!s}super.redraw.call(this,t)}render(t){let e=this.attrsFromOptions(this.options);this.graphic=this.annotation.chart.renderer.circle(0,-9e9,0).attr(e).add(t),super.render()}setRadius(t){this.options.r=t}}R.attrsMap=(0,i.merge)(F.attrsMap,{r:"r"});class W extends B{constructor(t,e,i){super(t,e,i,"shape"),this.type="ellipse"}init(t,e,s){(0,i.defined)(e.yAxis)&&e.points.forEach(t=>{t&&"string"!=typeof t&&(t.yAxis=e.yAxis)}),(0,i.defined)(e.xAxis)&&e.points.forEach(t=>{t&&"string"!=typeof t&&(t.xAxis=e.xAxis)}),super.init(t,e,s)}render(t){this.graphic=this.annotation.chart.renderer.createElement("ellipse").attr(this.attrsFromOptions(this.options)).add(t),super.render()}translate(t,e){super.translateShape(t,e,!0)}getDistanceFromLine(t,e,i,s){return Math.abs((e.y-t.y)*i-(e.x-t.x)*s+e.x*t.y-e.y*t.x)/Math.sqrt((e.y-t.y)*(e.y-t.y)+(e.x-t.x)*(e.x-t.x))}getAttrs(t,e){let i=t.x,s=t.y,o=e.x,n=e.y,a=(i+o)/2,r=Math.sqrt((i-o)*(i-o)/4+(s-n)*(s-n)/4),h=180*Math.atan((n-s)/(o-i))/Math.PI;return a<i&&(h+=180),{cx:a,cy:(s+n)/2,rx:r,ry:this.getRY(),angle:h}}getRY(){let t=this.getYAxis();return(0,i.defined)(t)?Math.abs(t.toPixels(this.options.ry)-t.toPixels(0)):this.options.ry}getYAxis(){let t=this.options.yAxis;return this.chart.yAxis[t]}getAbsolutePosition(t){return this.anchor(t).absolutePosition}redraw(t){if(this.graphic){let e=this.getAbsolutePosition(this.points[0]),i=this.getAbsolutePosition(this.points[1]),s=this.getAttrs(e,i);e?this.graphic[t?"animate":"attr"]({cx:s.cx,cy:s.cy,rx:s.rx,ry:s.ry,rotation:s.angle,rotationOriginX:s.cx,rotationOriginY:s.cy}):this.graphic.attr({x:0,y:-9e9}),this.graphic.placed=!!e}super.redraw(t)}setYRadius(t){let e=this.annotation.userOptions.shapes;this.options.ry=t,e&&e[0]&&(e[0].ry=t,e[0].ry=t)}}W.attrsMap=(0,i.merge)(F.attrsMap,{ry:"ry"});let j=t.default.Templating;var z=e.n(j);let{format:V}=z();function q(t,e,s,o,n){let a=n&&n.anchorX,r=n&&n.anchorY,h,l,c=s/2;return(0,i.isNumber)(a)&&(0,i.isNumber)(r)&&(h=[["M",a,r]],(l=e-r)<0&&(l=-o-l),l<s&&(c=a<t+s/2?l:s-l),r>e+o?h.push(["L",t+c,e+o]):r<e?h.push(["L",t+c,e]):a<t?h.push(["L",t,e+o/2]):a>t+s&&h.push(["L",t+s,e+o/2])),h||[]}class $ extends B{static alignedPosition(t,e){return{x:Math.round((e.x||0)+(t.x||0)+(e.width-(t.width||0))*(0,i.getAlignFactor)(t.align)),y:Math.round((e.y||0)+(t.y||0)+(e.height-(t.height||0))*(0,i.getAlignFactor)(t.verticalAlign))}}static compose(t){t.prototype.symbols.connector=q}static justifiedOptions(t,e,i,s){let o,n=i.align,a=i.verticalAlign,r=e.box?0:e.padding||0,h=e.getBBox(),l={align:n,verticalAlign:a,x:i.x,y:i.y,width:e.width,height:e.height},c=(s.x||0)-t.plotLeft,p=(s.y||0)-t.plotTop;return(o=c+r)<0&&("right"===n?l.align="left":l.x=(l.x||0)-o),(o=c+h.width-r)>t.plotWidth&&("left"===n?l.align="right":l.x=(l.x||0)+t.plotWidth-o),(o=p+r)<0&&("bottom"===a?l.verticalAlign="top":l.y=(l.y||0)-o),(o=p+h.height-r)>t.plotHeight&&("top"===a?l.verticalAlign="bottom":l.y=(l.y||0)+t.plotHeight-o),l}constructor(t,e,i){super(t,e,i,"label")}translatePoint(t,e){super.translatePoint(t,e,0)}translate(t,e){var i,s;let o=this.annotation.chart,n=this.annotation.userOptions,a=o.annotations.indexOf(this.annotation),r=o.options.annotations[a];if(o.inverted){let i=t;t=e,e=i}(i=this.options).x||(i.x=0),(s=this.options).y||(s.y=0),this.options.x+=t,this.options.y+=e,r[this.collection][this.index].x=this.options.x,r[this.collection][this.index].y=this.options.y,n[this.collection][this.index].x=this.options.x,n[this.collection][this.index].y=this.options.y}render(t){let e=this.options,i=this.attrsFromOptions(e),s=e.style,o=this.annotation.chart.options.chart,n=o.plotBackgroundColor||o.backgroundColor;if(this.graphic=this.annotation.chart.renderer.label("",0,-9999,e.shape,void 0,void 0,e.useHTML,void 0,"annotation-label").attr(i).add(t),!this.annotation.chart.styledMode){if(s?.color==="contrast"){let t=!e.shape||$.shapesWithoutBackground.indexOf(e.shape)>-1||"none"===e.backgroundColor?n:e.backgroundColor;s.color=this.annotation.chart.renderer.getContrast("string"==typeof t?t:"string"==typeof n?n:"#ffffff")}this.graphic.css(e.style||{}).shadow(e.shadow)}this.graphic.labelrank=e.labelrank,super.render()}redraw(t){let e=this.options,i=this.text||e.format||e.text,s=this.graphic,o=this.points[0];if(!s)return void this.redraw(t);s.attr({text:i?V(String(i),o,this.annotation.chart):e.formatter.call(o,o)});let n=this.anchor(o),a=this.position(n);a?(s.alignAttr=a,a.anchorX=n.absolutePosition.x,a.anchorY=n.absolutePosition.y,s[t?"animate":"attr"](a)):s.attr({x:0,y:-9999}),s.placed=!!a,super.redraw(t)}anchor(t){let e=super.anchor.apply(this,arguments),i=this.options.x||0,s=this.options.y||0;return e.absolutePosition.x-=i,e.absolutePosition.y-=s,e.relativePosition.x-=i,e.relativePosition.y-=s,e}position(t){let e=this.graphic,s=this.annotation.chart,o=s.tooltip,n=this.points[0],a=this.options,r=t.absolutePosition,h=t.relativePosition,l,c,p,d,u=n.series.visible&&O.prototype.isInsidePlot.call(n);if(e&&u){let{width:t=0,height:g=0}=e;a.distance&&o?l=o.getPosition.call({chart:s,distance:a.distance??16,getPlayingField:o.getPlayingField,pointer:o.pointer},t,g,{plotX:h.x,plotY:h.y,negative:n.negative,ttBelow:n.ttBelow,h:h.height||h.width}):a.positioner?l=a.positioner.call(this,this):(c={x:r.x,y:r.y,width:0,height:0},l=$.alignedPosition((0,i.extend)(a,{width:t,height:g}),c),"justify"===this.options.overflow&&(l=$.alignedPosition($.justifiedOptions(s,e,a,l),c))),a.crop&&(p=l.x-s.plotLeft,d=l.y-s.plotTop,u=s.isInsidePlot(p,d)&&s.isInsidePlot(p+t,d+g))}return u?l:null}}$.attrsMap={backgroundColor:"fill",borderColor:"stroke",borderWidth:"stroke-width",zIndex:"zIndex",borderRadius:"r",padding:"padding"},$.shapesWithoutBackground=["connector"];class H extends B{constructor(t,e,i){super(t,e,i,"shape"),this.type="image",this.translate=super.translateShape}render(t){let e=this.attrsFromOptions(this.options),i=this.options;this.graphic=this.annotation.chart.renderer.image(i.src,0,-9e9,i.width,i.height).attr(e).add(t),this.graphic.width=i.width,this.graphic.height=i.height,super.render()}redraw(t){if(this.graphic){let e=this.anchor(this.points[0]),i=$.prototype.position.call(this,e);i?this.graphic[t?"animate":"attr"]({x:i.x,y:i.y}):this.graphic.attr({x:0,y:-9e9}),this.graphic.placed=!!i}super.redraw(t)}}H.attrsMap={width:"width",height:"height",zIndex:"zIndex"};let G=t.default.AST;var K=e.n(G);let _=t=>`<?xml version="1.0" encoding="utf-8"?>
14
14
  <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 ${t} ${t}">`,Z="#4B4B4D",J={"close.svg":`${_(32)}
15
15
  <polygon fill="${Z}" points="24.308,8.756 23.248,7.695 16.002,14.941 8.757,7.695 7.695,8.754 14.941,16.001 7.696,23.246
16
16
  8.755,24.308 16.002,17.061 23.247,24.307 24.308,23.248 17.062,16.001"/>
@@ -31,4 +31,4 @@
31
31
  M7.686,20.375l9.939-9.939l1.439,1.439l-9.939,9.939L7.686,20.375z M18.686,9.375l0.939-0.939l3.939,3.939l-0.939,0.939
32
32
  L18.686,9.375z M6.974,21.784l3.242,3.242l-4.215,0.973L6.974,21.784z"/>
33
33
  </svg>
34
- `},Q=(t,e,i)=>{let s,o=i[t];return"renderer"===e&&o?(o=encodeURIComponent(o),s=`url("data:image/svg+xml;charset=utf-8,${o}")`):s=e.startsWith("http")&&e.match(/\.(png|svg|jpe?g|gif)$/ig)?'url("'+e+'")':`url("${e}${t}")`,s},tt=class{constructor(t,e){this.iconsURL=e,this.container=this.createPopupContainer(t),this.closeButton=this.addCloseButton()}createPopupContainer(t,e="highcharts-popup highcharts-no-tooltip"){return(0,i.createElement)("div",{className:e},void 0,t)}addCloseButton(t="highcharts-popup-close"){let e=(0,i.createElement)("button",{className:t},void 0,this.container);return(0,i.createElement)("span",{className:"highcharts-icon"},{backgroundImage:Q("close.svg",this.iconsURL,J)},e),["click","touchstart"].forEach(t=>{(0,i.addEvent)(e,t,this.closeButtonEvents.bind(this))}),(0,i.addEvent)(document,"keydown",t=>{"Escape"===t.code&&this.closeButtonEvents()}),e}closeButtonEvents(){this.closePopup()}showPopup(t="highcharts-annotation-toolbar"){let e=this.container,i=this.closeButton;this.type=void 0,e.innerHTML=K().emptyHTML,e.className.indexOf(t)>=0&&(e.classList.remove(t),e.removeAttribute("style")),e.appendChild(i),e.style.display="block",e.style.height=""}closePopup(){this.container.style.display="none"}},te=t.default.Color;var ti=e.n(te);let{doc:ts,isFirefox:to}=h();function tn(t,e,s,o,n,a){let r,h;if(!e)return;let l=this.addInput,c=this.lang;(0,i.objectEach)(o,(o,a)=>{r=""!==s?s+"."+a:a,(0,i.isObject)(o)&&(!(0,i.isArray)(o)||(0,i.isArray)(o)&&(0,i.isObject)(o[0])?((h=c[a]||a).match(/\d/g)||n.push([!0,h,t]),tn.call(this,t,e,r,o,n,!1)):n.push([this,r,"annotation",t,o]))}),a&&((0,i.stableSort)(n,t=>t[1].match(/format/g)?-1:1),to&&n.reverse(),n.forEach(t=>{!0===t[0]?(0,i.createElement)("span",{className:"highcharts-annotation-title"},void 0,t[2]).appendChild(ts.createTextNode(t[1])):(t[4]={value:t[4][0],type:t[4][1]},l.apply(t[0],t.splice(1)))}))}let{doc:ta}=h(),{seriesTypes:tr}=k();(s=a||(a={}))[s["params.algorithm"]=0]="params.algorithm",s[s["params.average"]=1]="params.average";let th={"algorithm-pivotpoints":["standard","fibonacci","camarilla"],"average-disparityindex":["sma","ema","dema","tema","wma"]};function tl(t){let e=(0,i.createElement)("div",{className:"highcharts-popup-lhs-col"},void 0,t),s=(0,i.createElement)("div",{className:"highcharts-popup-rhs-col"},void 0,t);return(0,i.createElement)("div",{className:"highcharts-popup-rhs-col-wrapper"},void 0,s),{lhsCol:e,rhsCol:s}}function tc(t,e,s,o){let n=e.params||e.options.params;o.innerHTML=K().emptyHTML,(0,i.createElement)("h3",{className:"highcharts-indicator-title"},void 0,o).appendChild(ta.createTextNode(ty(e,s).indicatorFullName)),(0,i.createElement)("input",{type:"hidden",name:"highcharts-type-"+s,value:s},void 0,o),tx.call(this,s,"series",t,o,e,e.linkedParent&&e.linkedParent.options.id),n.volumeSeriesID&&tx.call(this,s,"volume",t,o,e,e.linkedParent&&n.volumeSeriesID),td.call(this,t,"params",n,s,o)}function tp(t,e,s,o){function n(e,s){let o=m.parentNode.children[1];tc.call(a,t,e,s,m),o&&(o.style.display="block"),c&&e.options&&(0,i.createElement)("input",{type:"hidden",name:"highcharts-id-"+s,value:e.options.id},void 0,m).setAttribute("highcharts-data-series-id",e.options.id)}let a=this,r=a.lang,h=e.querySelectorAll(".highcharts-popup-lhs-col")[0],l=e.querySelectorAll(".highcharts-popup-rhs-col")[0],c="edit"===s,p=c?t.series:t.options.plotOptions||{};if(!t&&p)return;let d,u=[];c||(0,i.isArray)(p)?(0,i.isArray)(p)&&(u=tv.call(this,p)):u=tf.call(this,p,o),(0,i.stableSort)(u,(t,e)=>{let i=t.indicatorFullName.toLowerCase(),s=e.indicatorFullName.toLowerCase();return i<s?-1:+(i>s)}),h.children[1]&&h.children[1].remove();let g=(0,i.createElement)("ul",{className:"highcharts-indicator-list"},void 0,h),m=l.querySelectorAll(".highcharts-popup-rhs-col-wrapper")[0];if(u.forEach(t=>{let{indicatorFullName:e,indicatorType:s,series:o}=t;d=(0,i.createElement)("li",{className:"highcharts-indicator-list"},void 0,g);let a=(0,i.createElement)("button",{className:"highcharts-indicator-list-item",textContent:e},void 0,d);["click","touchstart"].forEach(t=>{(0,i.addEvent)(a,t,function(){n(o,s)})})}),u.length>0){let{series:t,indicatorType:e}=u[0];n(t,e)}else c||(K().setElementHTML(m.parentNode.children[0],r.noFilterMatch||""),m.parentNode.children[1].style.display="none")}function td(t,e,s,o,n){if(!t)return;let r=this.addInput;(0,i.objectEach)(s,(s,h)=>{let l=e+"."+h;if((0,i.defined)(s)&&l)if((0,i.isObject)(s)&&(r.call(this,l,o,n,{}),td.call(this,t,l,s,o,n)),l in a){let i=tg.call(this,o,l,n);tm.call(this,t,e,i,o,h,s)}else"params.volumeSeriesID"===l||(0,i.isArray)(s)||r.call(this,l,o,n,{value:s,type:"number"})})}function tu(t,e){let s=this,o=e.querySelectorAll(".highcharts-popup-lhs-col")[0],n=this.lang.clearFilter,a=(0,i.createElement)("div",{className:"highcharts-input-wrapper"},void 0,o),r=function(e){tp.call(s,t,s.container,"add",e)},h=this.addInput("searchIndicators","input",a,{value:"",type:"text",htmlFor:"search-indicators",labelClassName:"highcharts-input-search-indicators-label"}),l=(0,i.createElement)("a",{textContent:n},void 0,a);h.classList.add("highcharts-input-search-indicators"),l.classList.add("clear-filter-button"),(0,i.addEvent)(h,"input",function(){r(this.value),this.value.length?l.style.display="inline-block":l.style.display="none"}),["click","touchstart"].forEach(t=>{(0,i.addEvent)(l,t,function(){h.value="",r(""),l.style.display="none"})})}function tg(t,e,s){let o=e.split("."),n=o[o.length-1],a="highcharts-"+e+"-type-"+t,r=this.lang;(0,i.createElement)("label",{htmlFor:a},null,s).appendChild(ta.createTextNode(r[n]||e));let h=(0,i.createElement)("select",{name:a,className:"highcharts-popup-field",id:"highcharts-select-"+e},null,s);return h.setAttribute("id","highcharts-select-"+e),h}function tm(t,e,s,o,n,a,r){"series"===e||"volume"===e?t.series.forEach(t=>{let o=t.options,n=o.name||o.params?t.name:o.id||"";"highcharts-navigator-series"!==o.id&&o.id!==(r&&r.options&&r.options.id)&&((0,i.defined)(a)||"volume"!==e||"column"!==t.type||(a=o.id),(0,i.createElement)("option",{value:o.id},void 0,s).appendChild(ta.createTextNode(n)))}):o&&n&&th[n+"-"+o].forEach(t=>{(0,i.createElement)("option",{value:t},void 0,s).appendChild(ta.createTextNode(t))}),(0,i.defined)(a)&&(s.value=a)}function tf(t,e){let s,o=this.chart&&this.chart.options.lang,n=o&&o.navigation&&o.navigation.popup&&o.navigation.popup.indicatorAliases,a=new Map;return(0,i.objectEach)(t,(t,i)=>{let o=t&&t.options;if(t.params||o&&o.params){let{indicatorFullName:o,indicatorType:r}=ty(t,i);if(e){let i=RegExp(e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"i"),h=n&&n[r]&&n[r].join(" ")||"";(o.match(i)||h.match(i))&&(s={indicatorFullName:o,indicatorType:r,series:t},a.set(r.toLowerCase(),s))}else s={indicatorFullName:o,indicatorType:r,series:t},a.set(r.toLowerCase(),s)}}),Array.from(a.values())}function tv(t){let e=[];return t.forEach(t=>{t.is("sma")&&e.push({indicatorFullName:t.name,indicatorType:t.type,series:t})}),e}function ty(t,e){let i=t.options,s=tr[e]&&tr[e].prototype.nameBase||e.toUpperCase(),o=e;return i&&i.type&&(o=t.options.type,s=t.name),{indicatorFullName:s,indicatorType:o}}function tx(t,e,s,o,n,a){if(!s)return;let r=tg.call(this,t,e,o);tm.call(this,s,e,r,void 0,void 0,void 0,n),(0,i.defined)(a)&&(r.value=a)}let{doc:tb}=h();function tA(){let t=this.container;return(0,i.createElement)("div",{className:"highcharts-tab-item-content highcharts-no-mousewheel"},void 0,t)}function tE(t,e){let s=this.container,o=this.lang,n="highcharts-tab-item";0===e&&(n+=" highcharts-tab-disabled");let a=(0,i.createElement)("button",{className:n},void 0,s);return a.appendChild(tb.createTextNode(o[t+"Button"]||t)),a.setAttribute("highcharts-data-tab-type",t),a}function tw(){let t=this.container,e=t.querySelectorAll(".highcharts-tab-item"),i=t.querySelectorAll(".highcharts-tab-item-content");for(let t=0;t<e.length;t++)e[t].classList.remove("highcharts-tab-item-active"),i[t].classList.remove("highcharts-tab-item-show")}function tk(t,e){let i=this.container.querySelectorAll(".highcharts-tab-item-content");t.className+=" highcharts-tab-item-active",i[e].className+=" highcharts-tab-item-show"}function tC(t){let e=this;this.container.querySelectorAll(".highcharts-tab-item").forEach((s,o)=>{(0!==t||"edit"!==s.getAttribute("highcharts-data-tab-type"))&&["click","touchstart"].forEach(t=>{(0,i.addEvent)(s,t,function(){tw.call(e),tk.call(e,this,o)})})})}let{doc:tP}=h(),{getOptions:tO}=h();class tM extends tt{constructor(t,e,s){super(t,e),this.chart=s,this.lang=(tO().lang.navigation||{}).popup||{},(0,i.addEvent)(this.container,"mousedown",()=>{let t=s&&s.navigationBindings&&s.navigationBindings.activeAnnotation;if(t){t.cancelClick=!0;let e=(0,i.addEvent)(tP,"click",()=>{setTimeout(()=>{t.cancelClick=!1},0),e()})}})}addInput(t,e,s,o){let n=t.split("."),a=n[n.length-1],r=this.lang,h="highcharts-"+e+"-"+(o.htmlFor??a);if(a.match(/^\d+$/)||(0,i.createElement)("label",{htmlFor:h,className:o.labelClassName},void 0,s).appendChild(tP.createTextNode(r[a]||a)),"color"===o.type&&this.chart?.container)return this.createColorInput(t,h,o,s,this.chart.container);let l=(0,i.createElement)("input",{name:h,value:o.value,type:o.type,className:"highcharts-popup-field"},void 0,s);return l.setAttribute("highcharts-data-name",t),l}createColorInput(t,e,s,o,n){let{value:a,alpha:r}=function(t,e){let i=t=>("0"+Math.round(t).toString(16)).slice(-2).toUpperCase(),s=t=>{let[e,s,o,n]=ti().parse(t).rgba;return{value:"#"+i(e)+i(s)+i(o),alpha:n}};if(t.startsWith("rgb")||t.startsWith("rgba"))return s(t);if(t.startsWith("color")||t.startsWith("var")){let o=tP.createElement("span");o.style.setProperty("color",t),e.appendChild(o);let n=window.getComputedStyle(o).color;if(e.removeChild(o),n.startsWith("color")){let t=n.match(RegExp("color\\s*\\(\\s*srgb\\s+([\\d.]+)\\s+([\\d.]+)\\s+([\\d.]+)\\s+(?:\\s*\\/\\s*([\\d.]+))?\\s*\\)"));if(t){let e=Math.round(255*parseFloat(t[1])),s=Math.round(255*parseFloat(t[2])),o=Math.round(255*parseFloat(t[3])),n=t[4]?parseFloat(t[4]):1;return{value:"#"+i(e)+i(s)+i(o),alpha:n}}}if(n.startsWith("rgb")||n.startsWith("rgba"))return s(n)}return{value:t,alpha:1}}(s.value||"",n),h=ti().parse(s.value||"").rgba[3],l=isNaN(h)?r:h,c=(0,i.createElement)("div",{className:"highcharts-popup-color-wrapper"},void 0,o),p=(0,i.createElement)("input",{type:"color",value:a,className:"highcharts-popup-field highcharts-popup-field-color"},void 0,c),d=(0,i.createElement)("input",{name:e,id:e,value:a,type:"text",className:"highcharts-popup-field highcharts-popup-field-text"},void 0,c);d.setAttribute("highcharts-data-name",t);let u=(0,i.createElement)("span",{className:"highcharts-popup-color-separator"},void 0,c),g=(0,i.createElement)("input",{type:"number",value:String(Math.round(100*l)),className:"highcharts-popup-field highcharts-popup-opacity-percentage",min:"0",max:"100",step:"1"},void 0,c),m=(0,i.createElement)("span",{className:"highcharts-popup-opacity-percent-suffix"},void 0,c);m.appendChild(tP.createTextNode(" %"));let f=(0,i.createElement)("input",{type:"range",value:String(Math.round(100*l)),className:"highcharts-popup-opacity-slider",min:"0",max:"100",step:"1"},void 0,o);f.style.setProperty("--highcharts-popup-opacity-track-color",a),f.style.setProperty("display","none");let v=()=>{let t=/^#[0-9A-Fa-f]{6}$/.test(d.value);u.style.display=t?"":"none",g.style.display=t?"":"none",m.style.display=t?"":"none"};v();let y=t=>{let e=t.target,s=(0,i.clamp)(Number(e.value),0,100);f.value=String(s),g.value=String(Math.round(s))},x=t=>{t.target===p?d.value=p.value.toUpperCase():p.value=d.value,f.style.setProperty("--highcharts-popup-opacity-track-color",p.value),v()};return(0,i.addEvent)(o,"mousedown",t=>{t.target!==g&&t.target!==f&&(f.style.display="none")}),(0,i.addEvent)(g,"focus",()=>{f.style.display=""}),(0,i.addEvent)(g,"input",y),(0,i.addEvent)(f,"input",y),(0,i.addEvent)(p,"input",x),(0,i.addEvent)(d,"input",x),c}closeButtonEvents(){if(this.chart){let t=this.chart.navigationBindings;(0,i.fireEvent)(t,"closePopup"),t&&t.selectedButtonElement&&(0,i.fireEvent)(t,"deselectButton",{button:t.selectedButtonElement})}else super.closeButtonEvents()}addButton(t,e,s,o,n){let a=(0,i.createElement)("button",void 0,void 0,t);return a.appendChild(tP.createTextNode(e)),n&&["click","touchstart"].forEach(t=>{(0,i.addEvent)(a,t,()=>{let t,e,i,a,r;return this.closePopup(),n((t=Array.prototype.slice.call(o.querySelectorAll("input")),e=Array.prototype.slice.call(o.querySelectorAll("select")),i=o.querySelectorAll("#highcharts-select-series > option:checked")[0],a=o.querySelectorAll("#highcharts-select-volume > option:checked")[0],r={actionType:s,linkedTo:i&&i.getAttribute("value")||"",fields:{}},t.forEach(t=>{let e=t.getAttribute("highcharts-data-name");if(t.getAttribute("highcharts-data-series-id"))r.seriesId=t.value;else if(e){let i=t.closest(".highcharts-popup-color-wrapper"),s=i?.querySelector(".highcharts-popup-opacity-percentage"),o=s?Number(s.value)/100:1;if(s){let i=ti().parse(t.value).rgba;r.fields[e]=Number.isNaN(i[0])?t.value:`rgba(${i[0]},${i[1]},${i[2]},${o})`}else r.fields[e]=t.value}else r.type=t.value}),e.forEach(t=>{let e=t.id;if("highcharts-select-series"!==e&&"highcharts-select-volume"!==e){let i=e.split("highcharts-select-")[1];r.fields[i]=t.value}}),a&&(r.fields["params.volumeSeriesID"]=a.getAttribute("value")||""),r))})}),a}showForm(t,e,i,s){e&&(this.showPopup(),"indicators"===t&&this.indicators.addForm.call(this,e,i,s),"annotation-toolbar"===t&&this.annotations.addToolbar.call(this,e,i,s),"annotation-edit"===t&&this.annotations.addForm.call(this,e,i,s),"flag"===t&&this.annotations.addForm.call(this,e,i,s,!0),this.type=t,this.container.style.height=this.container.offsetHeight+"px")}}(0,i.extend)(tM.prototype,{annotations:{addForm:function(t,e,s,o){if(!t)return;let n=this.container,a=this.lang,r=(0,i.createElement)("h2",{className:"highcharts-popup-main-title"},void 0,n);r.appendChild(ts.createTextNode(a[e.langKey]||e.langKey||"")),r=(0,i.createElement)("div",{className:"highcharts-popup-lhs-col highcharts-popup-lhs-full"},void 0,n);let h=(0,i.createElement)("div",{className:"highcharts-popup-bottom-row"},void 0,n);tn.call(this,r,t,"",e,[],!0),this.addButton(h,o?a.addButton||"Add":a.saveButton||"Save",o?"add":"save",n,s)},addToolbar:function(t,e,s){let o=this.lang,n=this.container,a=this.showForm,r="highcharts-annotation-toolbar";-1===n.className.indexOf(r)&&(n.className+=" "+r+" highcharts-no-mousewheel"),t&&(n.style.top=t.plotTop+10+"px");let h=(0,i.createElement)("p",{className:"highcharts-annotation-label"},void 0,n);h.setAttribute("aria-label","Annotation type"),h.appendChild(ts.createTextNode((o[e.langKey]||e.langKey)??(e.shapes&&e.shapes[0].type)??""));let l=this.addButton(n,o.editButton||"Edit","edit",n,()=>{a.call(this,"annotation-edit",t,e,s)});l.className+=" highcharts-annotation-edit-button",(0,i.createElement)("span",{className:"highcharts-icon"},{backgroundImage:Q("edit.svg",this.iconsURL,J)},l),l=this.addButton(n,o.removeButton||"Remove","remove",n,s),l.className+=" highcharts-annotation-remove-button",(0,i.createElement)("span",{className:"highcharts-icon"},{backgroundImage:Q("destroy.svg",this.iconsURL,J)},l)}},indicators:{addForm:function(t,e,i){let s,o=this.lang;if(!t)return;this.tabs.init.call(this,t);let n=this.container.querySelectorAll(".highcharts-tab-item-content");tl(n[0]),tu.call(this,t,n[0]),tp.call(this,t,n[0],"add"),s=n[0].querySelectorAll(".highcharts-popup-rhs-col")[0],this.addButton(s,o.addButton||"add","add",s,i),tl(n[1]),tp.call(this,t,n[1],"edit"),s=n[1].querySelectorAll(".highcharts-popup-rhs-col")[0],this.addButton(s,o.saveButton||"save","edit",s,i),this.addButton(s,o.removeButton||"remove","remove",s,i)},getAmount:function(){let t=0;return this.series.forEach(e=>{(e.params||e.options.params)&&t++}),t}},tabs:{init:function(t){if(!t)return;let e=this.indicators.getAmount.call(t),i=tE.call(this,"add");tE.call(this,"edit",e),tA.call(this),tA.call(this),tC.call(this,e),tk.call(this,i,0)}}});let{composed:tN}=h();function tB(){this.popup&&this.popup.closePopup()}function tT(t){this.popup||(this.popup=new tM(this.chart.container,this.chart.options.navigation.iconsURL||this.chart.options.stockTools&&this.chart.options.stockTools.gui.iconsURL||"renderer",this.chart)),this.popup.showForm(t.formType,this.chart,t.options,t.onSubmit)}function tL(t,e){this.inClass(e.target,"highcharts-popup")||t.apply(this,Array.prototype.slice.call(arguments,1))}let tI=function(t,e){(0,i.pushUnique)(tN,"Popup")&&((0,i.addEvent)(t,"closePopup",tB),(0,i.addEvent)(t,"showPopup",tT),(0,i.wrap)(e.prototype,"onContainerMouseDown",tL))},{defaultOptions:tS}=h();function tD(t,e){let s={};return["labels","shapes"].forEach(o=>{let n=t[o],a=e[o];n&&(a?s[o]=(0,i.splat)(a).map((t,e)=>(0,i.merge)(n[e],t)):s[o]=t[o])}),s}class tY extends x{static compose(t,e,i,s){m.compose(tY,t,i),$.compose(s),F.compose(t,s),e.compose(tY,t),tI(e,i)}constructor(t,e){super(),this.coll="annotations",this.chart=t,this.points=[],this.controlPoints=[],this.coll="annotations",this.index=-1,this.labels=[],this.shapes=[],this.setOptions(e),this.userOptions=e;let i=tD(this.options,e);this.options.labels=i.labels,this.options.shapes=i.shapes,this.init(t,this.options)}addClipPaths(){this.setClipAxes(),this.clipXAxis&&this.clipYAxis&&this.options.crop&&(this.clipRect=this.chart.renderer.clipRect(this.getClipBox()))}addLabels(){let t=this.options.labels||[];t.forEach((e,s)=>{let o=this.initLabel(e,s);(0,i.merge)(!0,t[s],o.options)})}addShapes(){let t=this.options.shapes||[];t.forEach((e,s)=>{let o=this.initShape(e,s);(0,i.merge)(!0,t[s],o.options)})}destroy(){let t=this.chart,e=function(t){t.destroy()};this.labels.forEach(e),this.shapes.forEach(e),this.clipXAxis=null,this.clipYAxis=null,(0,i.erase)(t.labelCollectors,this.labelCollector),super.destroy(),this.destroyControlTarget(),(0,i.destroyObjectProperties)(this,t)}destroyItem(t){(0,i.erase)(this[t.itemType+"s"],t),t.destroy()}getClipBox(){if(this.clipXAxis&&this.clipYAxis)return{x:this.clipXAxis.left,y:this.clipYAxis.top,width:this.clipXAxis.width,height:this.clipYAxis.height}}initProperties(t,e){this.setOptions(e);let i=tD(this.options,e);this.options.labels=i.labels,this.options.shapes=i.shapes,this.chart=t,this.points=[],this.controlPoints=[],this.coll="annotations",this.userOptions=e,this.labels=[],this.shapes=[]}init(t,e,s=this.index){let o=this.chart,n=this.options.animation;this.index=s,this.linkPoints(),this.addControlPoints(),this.addShapes(),this.addLabels(),this.setLabelCollector(),this.animationConfig=(0,i.getDeferredAnimation)(o,n)}initLabel(t,e){this.options.labelOptions?.align;let s=new $(this,(0,i.merge)(this.options.labelOptions,{controlPointOptions:this.options.controlPointOptions},t),e);return s.itemType="label",this.labels.push(s),s}initShape(t,e){let s=(0,i.merge)(this.options.shapeOptions,{controlPointOptions:this.options.controlPointOptions},t),o=new tY.shapesMap[s.type||"rect"](this,s,e);return o.itemType="shape",this.shapes.push(o),o}redraw(t){this.linkPoints(),this.graphic||this.render(),this.clipRect&&this.clipRect.animate(this.getClipBox()),this.redrawItems(this.shapes,t),this.redrawItems(this.labels,t),this.redrawControlPoints(t)}redrawItem(t,e){if(t.linkPoints(),t.shouldBeDrawn()){let i,s;t.graphic||this.renderItem(t),t.redraw((e??!0)&&t.graphic.placed),t.points.length&&(i=t.graphic,s=t.points.some(t=>!1!==t.series.visible&&!1!==t.visible),i&&(s?"hidden"===i.visibility&&i.show():i.hide()))}else this.destroyItem(t)}redrawItems(t,e){let i=t.length;for(;i--;)this.redrawItem(t[i],e)}remove(){return this.chart.removeAnnotation(this)}render(){let t=this.chart.renderer;this.graphic=t.g("annotation").addClass(this.options.className||"").attr({opacity:0,zIndex:this.options.zIndex,visibility:this.options.visible?"inherit":"hidden"}).add(),this.shapesGroup=t.g("annotation-shapes").add(this.graphic),this.options.crop&&this.shapesGroup.clip(this.chart.plotBoxClip),this.labelsGroup=t.g("annotation-labels").attr({translateX:0,translateY:0}).add(this.graphic),this.addClipPaths(),this.clipRect&&this.graphic.clip(this.clipRect),this.renderItems(this.shapes),this.renderItems(this.labels),this.addEvents(),this.renderControlPoints()}renderItem(t){t.render("label"===t.itemType?this.labelsGroup:this.shapesGroup)}renderItems(t){let e=t.length;for(;e--;)this.renderItem(t[e])}setClipAxes(){let t=this.chart.xAxis,e=this.chart.yAxis,i=[...this.options.labels??[],...this.options.shapes??[]].reduce((i,s)=>{let o=s&&(s.point||"points"in s&&s.points?.[0]);return[t[o&&o.xAxis]||i[0],e[o&&o.yAxis]||i[1]]},[]);this.clipXAxis=i[0],this.clipYAxis=i[1]}setControlPointsVisibility(t){let e=function(e){e.setControlPointsVisibility(t)};this.controlPoints.forEach(e=>{e.setVisibility(t)}),this.shapes.forEach(e),this.labels.forEach(e)}setLabelCollector(){let t=this;t.labelCollector=function(){return t.labels.reduce(function(t,e){return e.options.allowOverlap||t.push(e.graphic),t},[])},t.chart.labelCollectors.push(t.labelCollector)}setOptions(t){var e;this.options=(0,i.merge)(this.defaultOptions,t.type&&this.defaultOptions.types?.[t.type]||{},t),(e=this.options).typeOptions||(e.typeOptions={})}setVisibility(t){let e=this.options,s=this.chart.navigationBindings,o=t??!e.visible;if(this.graphic.attr("visibility",o?"inherit":"hidden"),!o){let t=function(t){t.setControlPointsVisibility(o)};this.shapes.forEach(t),this.labels.forEach(t),s.activeAnnotation===this&&s.popup&&"annotation-toolbar"===s.popup.type&&(0,i.fireEvent)(s,"closePopup")}e.visible=o}update(t,e){let s=this.chart,o=tD(this.userOptions,t),n=s.annotations.indexOf(this),a=(0,i.merge)(!0,this.userOptions,t);a.labels=o.labels,a.shapes=o.shapes,this.destroy(),this.initProperties(s,a),this.init(s,a),s.options.annotations[n]=this.options,this.isUpdating=!0,(e??!0)&&s.drawAnnotations(),(0,i.fireEvent)(this,"afterUpdate"),this.isUpdating=!1}}tY.ControlPoint=b,tY.MockPoint=O,tY.shapesMap={rect:U,circle:R,ellipse:W,path:F,image:H},tY.types={},tY.prototype.defaultOptions=f,tS.annotations=f,tY.prototype.nonDOMEvents=["add","afterUpdate","drag","remove"],M.compose(tY);var tX=r||(r={});tX.compose=function(t){return t.navigation||(t.navigation=new tF(t)),t};class tF{constructor(t){this.updates=[],this.chart=t}addUpdate(t){this.chart.navigation.updates.push(t)}update(t,e){this.updates.forEach(i=>{i.call(this.chart,t,e)})}}tX.Additions=tF;let tU=r,{getAssignedAxis:tR}=E,tW={lang:{navigation:{popup:{simpleShapes:"Simple shapes",lines:"Lines",circle:"Circle",ellipse:"Ellipse",rectangle:"Rectangle",label:"Label",shapeOptions:"Shape options",typeOptions:"Details",fill:"Fill",format:"Text",strokeWidth:"Line width",stroke:"Line color",title:"Title",name:"Name",labelOptions:"Label options",labels:"Labels",backgroundColor:"Background color",backgroundColors:"Background colors",borderColor:"Border color",borderRadius:"Border radius",borderWidth:"Border width",style:"Style",padding:"Padding",fontSize:"Font size",color:"Color",height:"Height",shapes:"Shape options"}}},navigation:{bindingsClassName:"highcharts-bindings-container",bindings:{circleAnnotation:{className:"highcharts-circle-annotation",start:function(t){let e=this.chart.pointer?.getCoordinates(t),s=e&&tR(e.xAxis),o=e&&tR(e.yAxis),n=this.chart.options.navigation;if(s&&o)return this.chart.addAnnotation((0,i.merge)({langKey:"circle",type:"basicAnnotation",shapes:[{type:"circle",point:{x:s.value,y:o.value,xAxis:s.axis.index,yAxis:o.axis.index},r:5}]},n.annotationsOptions,n.bindings.circleAnnotation.annotationsOptions))},steps:[function(t,e){let s,o=e.options.shapes,n=o&&o[0]&&o[0].point||{};if((0,i.isNumber)(n.xAxis)&&(0,i.isNumber)(n.yAxis)){let e=this.chart.inverted,i=this.chart.xAxis[n.xAxis].toPixels(n.x),o=this.chart.yAxis[n.yAxis].toPixels(n.y);s=Math.max(Math.sqrt(Math.pow(e?o-t.chartX:i-t.chartX,2)+Math.pow(e?i-t.chartY:o-t.chartY,2)),5)}e.update({shapes:[{r:s}]})}]},ellipseAnnotation:{className:"highcharts-ellipse-annotation",start:function(t){let e=this.chart.pointer?.getCoordinates(t),s=e&&tR(e.xAxis),o=e&&tR(e.yAxis),n=this.chart.options.navigation;if(s&&o)return this.chart.addAnnotation((0,i.merge)({langKey:"ellipse",type:"basicAnnotation",shapes:[{type:"ellipse",xAxis:s.axis.index,yAxis:o.axis.index,points:[{x:s.value,y:o.value},{x:s.value,y:o.value}],ry:1}]},n.annotationsOptions,n.bindings.ellipseAnnotation.annotationsOptions))},steps:[function(t,e){let i=e.shapes[0],s=i.getAbsolutePosition(i.points[1]);i.translatePoint(t.chartX-s.x,t.chartY-s.y,1),i.redraw(!1)},function(t,e){let i=e.shapes[0],s=i.getAbsolutePosition(i.points[0]),o=i.getAbsolutePosition(i.points[1]),n=i.getDistanceFromLine(s,o,t.chartX,t.chartY),a=i.getYAxis(),r=Math.abs(a.toValue(0)-a.toValue(n));i.setYRadius(r),i.redraw(!1)}]},rectangleAnnotation:{className:"highcharts-rectangle-annotation",start:function(t){let e=this.chart.pointer?.getCoordinates(t),s=e&&tR(e.xAxis),o=e&&tR(e.yAxis);if(!s||!o)return;let n=s.value,a=o.value,r=s.axis.index,h=o.axis.index,l=this.chart.options.navigation;return this.chart.addAnnotation((0,i.merge)({langKey:"rectangle",type:"basicAnnotation",shapes:[{type:"path",points:[{xAxis:r,yAxis:h,x:n,y:a},{xAxis:r,yAxis:h,x:n,y:a},{xAxis:r,yAxis:h,x:n,y:a},{xAxis:r,yAxis:h,x:n,y:a},{command:"Z"}]}]},l.annotationsOptions,l.bindings.rectangleAnnotation.annotationsOptions))},steps:[function(t,e){let i=e.options.shapes,s=i&&i[0]&&i[0].points||[],o=this.chart.pointer?.getCoordinates(t),n=o&&tR(o.xAxis),a=o&&tR(o.yAxis);if(n&&a){let t=n.value,i=a.value;s[1].x=t,s[2].x=t,s[2].y=i,s[3].y=i,e.update({shapes:[{points:s}]})}}]},labelAnnotation:{className:"highcharts-label-annotation",start:function(t){let e=this.chart.pointer?.getCoordinates(t),s=e&&tR(e.xAxis),o=e&&tR(e.yAxis),n=this.chart.options.navigation;if(s&&o)return this.chart.addAnnotation((0,i.merge)({langKey:"label",type:"basicAnnotation",labelOptions:{format:"{y:.2f}",overflow:"none",crop:!0},labels:[{point:{xAxis:s.axis.index,yAxis:o.axis.index,x:s.value,y:o.value}}]},n.annotationsOptions,n.bindings.labelAnnotation.annotationsOptions))}}},events:{},annotationsOptions:{animation:{defer:0}}}},{setOptions:tj}=h(),{format:tz}=z(),{composed:tV,doc:tq,win:t$}=h(),{getAssignedAxis:tH,getFieldType:tG}=E;function tK(){this.chart.navigationBindings&&this.chart.navigationBindings.deselectAnnotation()}function t_(){this.navigationBindings&&this.navigationBindings.destroy()}function tZ(){let t=this.options;t&&t.navigation&&t.navigation.bindings&&(this.navigationBindings=new t2(this,t.navigation),this.navigationBindings.initEvents(),this.navigationBindings.initUpdate())}function tJ(){let t=this.navigationBindings,e="highcharts-disabled-btn";if(this&&t){let s=!1;if(this.series.forEach(t=>{!t.options.isInternal&&t.visible&&(s=!0)}),this.navigationBindings&&this.navigationBindings.container&&this.navigationBindings.container[0]){let o=this.navigationBindings.container[0];(0,i.objectEach)(t.boundClassNames,(t,i)=>{let n=o.querySelectorAll("."+i);if(n)for(let i=0;i<n.length;i++){let o=n[i],a=o.className;"normal"===t.noDataState||s?-1!==a.indexOf(e)&&o.classList.remove(e):-1===a.indexOf(e)&&(o.className+=" "+e)}})}}}function tQ(){this.deselectAnnotation()}function t0(){this.selectedButtonElement=null}function t1(t){let e,s,o=t.prototype.defaultOptions.events&&t.prototype.defaultOptions.events.click;function n(t){let e=this,s=e.chart.navigationBindings,n=s.activeAnnotation;o&&o.call(e,t),n!==e?(s.deselectAnnotation(),s.activeAnnotation=e,e.setControlPointsVisibility(!0),(0,i.fireEvent)(s,"showPopup",{annotation:e,formType:"annotation-toolbar",options:s.annotationToFields(e),onSubmit:function(t){if("remove"===t.actionType)s.activeAnnotation=!1,s.chart.removeAnnotation(e);else{let i={};s.fieldsToOptions(t.fields,i),s.deselectAnnotation();let o=i.typeOptions;"measure"===e.options.type&&(o.crosshairY.enabled=0!==o.crosshairY.strokeWidth,o.crosshairX.enabled=0!==o.crosshairX.strokeWidth),e.update(i)}}})):(0,i.fireEvent)(s,"closePopup"),t.activeAnnotation=!0}(0,i.merge)(!0,t.prototype.defaultOptions.events,{click:n,touchstart:function(t){e=t.touches[0].clientX,s=t.touches[0].clientY},touchend:function(t){e&&Math.sqrt(Math.pow(e-t.changedTouches[0].clientX,2)+Math.pow(s-t.changedTouches[0].clientY,2))>=4||n.call(this,t)}})}class t2{static compose(t,e){(0,i.pushUnique)(tV,"NavigationBindings")&&((0,i.addEvent)(t,"remove",tK),t1(t),(0,i.objectEach)(t.types,t=>{t1(t)}),(0,i.addEvent)(e,"destroy",t_),(0,i.addEvent)(e,"load",tZ),(0,i.addEvent)(e,"render",tJ),(0,i.addEvent)(t2,"closePopup",tQ),(0,i.addEvent)(t2,"deselectButton",t0),tj(tW))}constructor(t,e){this.boundClassNames=void 0,this.chart=t,this.options=e,this.eventsToUnbind=[],this.container=this.chart.container.getElementsByClassName(this.options.bindingsClassName||""),this.container.length||(this.container=tq.getElementsByClassName(this.options.bindingsClassName||""))}getCoords(t){let e=this.chart.pointer?.getCoordinates(t);return[e&&tH(e.xAxis),e&&tH(e.yAxis)]}initEvents(){let t=this,e=t.chart,s=t.container,o=t.options;t.boundClassNames={},(0,i.objectEach)(o.bindings||{},e=>{t.boundClassNames[e.className]=e}),[].forEach.call(s,e=>{t.eventsToUnbind.push((0,i.addEvent)(e,"click",i=>{let s=t.getButtonEvents(e,i);s&&!s.button.classList.contains("highcharts-disabled-btn")&&t.bindingsButtonClick(s.button,s.events,i)}))}),(0,i.objectEach)(o.events||{},(e,s)=>{(0,i.isFunction)(e)&&t.eventsToUnbind.push((0,i.addEvent)(t,s,e,{passive:!1}))}),t.eventsToUnbind.push((0,i.addEvent)(e.container,"click",function(i){!e.cancelClick&&e.isInsidePlot(i.chartX-e.plotLeft,i.chartY-e.plotTop,{visiblePlotOnly:!0})&&t.bindingsChartClick(this,i)})),t.eventsToUnbind.push((0,i.addEvent)(e.container,h().isTouchDevice?"touchmove":"mousemove",function(e){t.bindingsContainerMouseMove(this,e)},h().isTouchDevice?{passive:!1}:void 0))}initUpdate(){let t=this;tU.compose(this.chart).navigation.addUpdate(e=>{t.update(e)})}bindingsButtonClick(t,e,s){let o=this.chart,n=o.renderer.boxWrapper,a=!0;this.selectedButtonElement&&(this.selectedButtonElement.classList===t.classList&&(a=!1),(0,i.fireEvent)(this,"deselectButton",{button:this.selectedButtonElement}),this.nextEvent&&(this.currentUserDetails&&"annotations"===this.currentUserDetails.coll&&o.removeAnnotation(this.currentUserDetails),this.mouseMoveEvent=this.nextEvent=!1)),a?(this.selectedButton=e,this.selectedButtonElement=t,(0,i.fireEvent)(this,"selectButton",{button:t}),e.init&&e.init.call(this,t,s),(e.start||e.steps)&&o.renderer.boxWrapper.addClass("highcharts-draw-mode")):(o.stockTools&&t.classList.remove("highcharts-active"),n.removeClass("highcharts-draw-mode"),this.nextEvent=!1,this.mouseMoveEvent=!1,this.selectedButton=null)}bindingsChartClick(t,e){t=this.chart;let s=this.activeAnnotation,o=this.selectedButton,n=t.renderer.boxWrapper;s&&(s.cancelClick||e.activeAnnotation||!e.target.parentNode||function(t,e){let i=t$.Element.prototype,s=i.matches||i.msMatchesSelector||i.webkitMatchesSelector,o=null;if(i.closest)o=i.closest.call(t,e);else do{if(s.call(t,e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return o}(e.target,".highcharts-popup")?s.cancelClick&&setTimeout(()=>{s.cancelClick=!1},0):(0,i.fireEvent)(this,"closePopup")),o&&o.start&&(this.nextEvent?(this.nextEvent(e,this.currentUserDetails),this.steps&&(this.stepIndex++,o.steps[this.stepIndex]?this.mouseMoveEvent=this.nextEvent=o.steps[this.stepIndex]:((0,i.fireEvent)(this,"deselectButton",{button:this.selectedButtonElement}),n.removeClass("highcharts-draw-mode"),o.end&&o.end.call(this,e,this.currentUserDetails),this.nextEvent=!1,this.mouseMoveEvent=!1,this.selectedButton=null))):(this.currentUserDetails=o.start.call(this,e),this.currentUserDetails&&o.steps?(this.stepIndex=0,this.steps=!0,this.mouseMoveEvent=this.nextEvent=o.steps[this.stepIndex]):((0,i.fireEvent)(this,"deselectButton",{button:this.selectedButtonElement}),n.removeClass("highcharts-draw-mode"),this.steps=!1,this.selectedButton=null,o.end&&o.end.call(this,e,this.currentUserDetails))))}bindingsContainerMouseMove(t,e){this.mouseMoveEvent&&this.mouseMoveEvent(e,this.currentUserDetails)}fieldsToOptions(t,e){return(0,i.objectEach)(t,(t,s)=>{let o=parseFloat(t),n=s.split("."),a=n.length-1;if(!(0,i.isNumber)(o)||t.match(/px|em/g)||s.match(/format/g)||s.match(/title/g)||(t=o),"undefined"!==t){let i=e;n.forEach((e,s)=>{if("__proto__"!==e&&"constructor"!==e){let o=n[s+1]??"";a===s?i[e]=t:(i[e]||(i[e]=o.match(/\d/g)?[]:{}),i=i[e])}})}}),e}deselectAnnotation(){this.activeAnnotation&&(this.activeAnnotation.setControlPointsVisibility(!1),this.activeAnnotation=!1)}annotationToFields(t){let e=t.options,s=t2.annotationsEditable,o=s.nestedOptions,n=e.type??e.shapes?.[0]?.type??e.labels?.[0]?.type??"label",a=t2.annotationsNonEditable[e.langKey]||[],r={langKey:e.langKey,type:n};function h(e,s,n,r,l){let c;n&&(0,i.defined)(e)&&-1===a.indexOf(s)&&((n.indexOf&&n.indexOf(s))>=0||n[s]||!0===n)&&((0,i.isArray)(e)?(r[s]=[],e.forEach((t,e)=>{(0,i.isObject)(t)?(r[s][e]={},(0,i.objectEach)(t,(t,i)=>{h(t,i,o[s],r[s][e],s)})):h(t,0,o[s],r[s],s)})):(0,i.isObject)(e)?(c={},(0,i.isArray)(r)?(r.push(c),c[s]={},c=c[s]):r[s]=c,(0,i.objectEach)(e,(t,e)=>{h(t,e,0===s?n:o[s],c,s)})):"format"===s?r[s]=[tz(e,t.labels[0].points[0]).toString(),"text"]:(0,i.isArray)(r)?r.push([e,tG(l,e)]):r[s]=[e,tG(s,e)])}return(0,i.objectEach)(e,(t,a)=>{"typeOptions"===a&&"basicAnnotation"!==r.type?(r[a]={},(0,i.objectEach)(e[a],(t,e)=>{h(t,e,o,r[a],e)})):h(t,a,s[n],r,a)}),r}getClickedClassNames(t,e){let s=e.target,o=[],n;for(;s&&s.tagName&&((n=(0,i.attr)(s,"class"))&&(o=o.concat(n.split(" ").map(t=>[t,s]))),(s=s.parentNode)!==t););return o}getButtonEvents(t,e){let i,s=this;return this.getClickedClassNames(t,e).forEach(t=>{s.boundClassNames[t[0]]&&!i&&(i={events:s.boundClassNames[t[0]],button:t[1]})}),i}update(t){this.options=(0,i.merge)(!0,this.options,t),this.removeEvents(),this.initEvents()}removeEvents(){this.eventsToUnbind.forEach(t=>t())}destroy(){this.removeEvents()}}t2.annotationsEditable={nestedOptions:{labelOptions:["style","format","backgroundColor"],labels:["style"],label:["style"],style:["fontSize","color"],background:["fill","strokeWidth","stroke"],innerBackground:["fill","strokeWidth","stroke"],outerBackground:["fill","strokeWidth","stroke"],shapeOptions:["fill","strokeWidth","stroke"],shapes:["fill","strokeWidth","stroke"],line:["strokeWidth","stroke"],backgroundColors:[!0],connector:["fill","strokeWidth","stroke"],crosshairX:["strokeWidth","stroke"],crosshairY:["strokeWidth","stroke"]},circle:["shapes"],ellipse:["shapes"],verticalLine:[],label:["labelOptions"],measure:["background","crosshairY","crosshairX"],fibonacci:[],tunnel:["background","line","height"],pitchfork:["innerBackground","outerBackground"],rect:["shapes"],crookedLine:[],basicAnnotation:["shapes","labelOptions"]},t2.annotationsNonEditable={rectangle:["crosshairX","crosshairY","labelOptions"],ellipse:["labelOptions"],circle:["labelOptions"]};let t9=h();t9.Annotation=t9.Annotation||tY,t9.NavigationBindings=t9.NavigationBindings||t2,t9.Annotation.compose(t9.Chart,t9.NavigationBindings,t9.Pointer,t9.SVGRenderer);let t5=h();export{t5 as default};
34
+ `},Q=(t,e,i)=>{let s,o=i[t];return"renderer"===e&&o?(o=encodeURIComponent(o),s=`url("data:image/svg+xml;charset=utf-8,${o}")`):s=e.startsWith("http")&&e.match(/\.(png|svg|jpe?g|gif)$/ig)?'url("'+e+'")':`url("${e}${t}")`,s},tt=class{constructor(t,e){this.iconsURL=e,this.container=this.createPopupContainer(t),this.closeButton=this.addCloseButton()}createPopupContainer(t,e="highcharts-popup highcharts-no-tooltip"){return(0,i.createElement)("div",{className:e},void 0,t)}addCloseButton(t="highcharts-popup-close"){let e=(0,i.createElement)("button",{className:t},void 0,this.container);return(0,i.createElement)("span",{className:"highcharts-icon"},{backgroundImage:Q("close.svg",this.iconsURL,J)},e),["click","touchstart"].forEach(t=>{(0,i.addEvent)(e,t,this.closeButtonEvents.bind(this))}),(0,i.addEvent)(document,"keydown",t=>{"Escape"===t.code&&this.closeButtonEvents()}),e}closeButtonEvents(){this.closePopup()}showPopup(t="highcharts-annotation-toolbar"){let e=this.container,i=this.closeButton;this.type=void 0,e.innerHTML=K().emptyHTML,e.className.indexOf(t)>=0&&(e.classList.remove(t),e.removeAttribute("style")),e.appendChild(i),e.style.display="block",e.style.height=""}closePopup(){this.container.style.display="none"}},te=t.default.Color;var ti=e.n(te);let{doc:ts,isFirefox:to}=h();function tn(t,e,s,o,n,a){let r,h;if(!e)return;let l=this.addInput,c=this.lang;(0,i.objectEach)(o,(o,a)=>{r=""!==s?s+"."+a:a,(0,i.isObject)(o)&&(!(0,i.isArray)(o)||(0,i.isArray)(o)&&(0,i.isObject)(o[0])?((h=c[a]||a).match(/\d/g)||n.push([!0,h,t]),tn.call(this,t,e,r,o,n,!1)):n.push([this,r,"annotation",t,o]))}),a&&((0,i.stableSort)(n,t=>t[1].match(/format/g)?-1:1),to&&n.reverse(),n.forEach(t=>{!0===t[0]?(0,i.createElement)("span",{className:"highcharts-annotation-title"},void 0,t[2]).appendChild(ts.createTextNode(t[1])):(t[4]={value:t[4][0],type:t[4][1]},l.apply(t[0],t.splice(1)))}))}let{doc:ta}=h(),{seriesTypes:tr}=k();(s=a||(a={}))[s["params.algorithm"]=0]="params.algorithm",s[s["params.average"]=1]="params.average";let th={"algorithm-pivotpoints":["standard","fibonacci","camarilla"],"average-disparityindex":["sma","ema","dema","tema","wma"]};function tl(t){let e=(0,i.createElement)("div",{className:"highcharts-popup-lhs-col"},void 0,t),s=(0,i.createElement)("div",{className:"highcharts-popup-rhs-col"},void 0,t);return(0,i.createElement)("div",{className:"highcharts-popup-rhs-col-wrapper"},void 0,s),{lhsCol:e,rhsCol:s}}function tc(t,e,s,o){let n=e.params||e.options.params;o.innerHTML=K().emptyHTML,(0,i.createElement)("h3",{className:"highcharts-indicator-title"},void 0,o).appendChild(ta.createTextNode(ty(e,s).indicatorFullName)),(0,i.createElement)("input",{type:"hidden",name:"highcharts-type-"+s,value:s},void 0,o),tx.call(this,s,"series",t,o,e,e.linkedParent&&e.linkedParent.options.id),n.volumeSeriesID&&tx.call(this,s,"volume",t,o,e,e.linkedParent&&n.volumeSeriesID),td.call(this,t,"params",n,s,o)}function tp(t,e,s,o){function n(e,s){let o=m.parentNode.children[1];tc.call(a,t,e,s,m),o&&(o.style.display="block"),c&&e.options&&(0,i.createElement)("input",{type:"hidden",name:"highcharts-id-"+s,value:e.options.id},void 0,m).setAttribute("highcharts-data-series-id",e.options.id)}let a=this,r=a.lang,h=e.querySelectorAll(".highcharts-popup-lhs-col")[0],l=e.querySelectorAll(".highcharts-popup-rhs-col")[0],c="edit"===s,p=c?t.series:t.options.plotOptions||{};if(!t&&p)return;let d,u=[];c||(0,i.isArray)(p)?(0,i.isArray)(p)&&(u=tv.call(this,p)):u=tf.call(this,p,o),(0,i.stableSort)(u,(t,e)=>{let i=t.indicatorFullName.toLowerCase(),s=e.indicatorFullName.toLowerCase();return i<s?-1:+(i>s)}),h.children[1]&&h.children[1].remove();let g=(0,i.createElement)("ul",{className:"highcharts-indicator-list"},void 0,h),m=l.querySelectorAll(".highcharts-popup-rhs-col-wrapper")[0];if(u.forEach(t=>{let{indicatorFullName:e,indicatorType:s,series:o}=t;d=(0,i.createElement)("li",{className:"highcharts-indicator-list"},void 0,g);let a=(0,i.createElement)("button",{className:"highcharts-indicator-list-item",textContent:e},void 0,d);["click","touchstart"].forEach(t=>{(0,i.addEvent)(a,t,function(){n(o,s)})})}),u.length>0){let{series:t,indicatorType:e}=u[0];n(t,e)}else c||(K().setElementHTML(m.parentNode.children[0],r.noFilterMatch||""),m.parentNode.children[1].style.display="none")}function td(t,e,s,o,n){if(!t)return;let r=this.addInput;(0,i.objectEach)(s,(s,h)=>{let l=e+"."+h;if((0,i.defined)(s)&&l)if((0,i.isObject)(s)&&(r.call(this,l,o,n,{}),td.call(this,t,l,s,o,n)),l in a){let i=tg.call(this,o,l,n);tm.call(this,t,e,i,o,h,s)}else"params.volumeSeriesID"===l||(0,i.isArray)(s)||r.call(this,l,o,n,{value:s,type:"number"})})}function tu(t,e){let s=this,o=e.querySelectorAll(".highcharts-popup-lhs-col")[0],n=this.lang.clearFilter,a=(0,i.createElement)("div",{className:"highcharts-input-wrapper"},void 0,o),r=function(e){tp.call(s,t,s.container,"add",e)},h=this.addInput("searchIndicators","input",a,{value:"",type:"text",htmlFor:"search-indicators",labelClassName:"highcharts-input-search-indicators-label"}),l=(0,i.createElement)("a",{textContent:n},void 0,a);h.classList.add("highcharts-input-search-indicators"),l.classList.add("clear-filter-button"),(0,i.addEvent)(h,"input",function(){r(this.value),this.value.length?l.style.display="inline-block":l.style.display="none"}),["click","touchstart"].forEach(t=>{(0,i.addEvent)(l,t,function(){h.value="",r(""),l.style.display="none"})})}function tg(t,e,s){let o=e.split("."),n=o[o.length-1],a="highcharts-"+e+"-type-"+t,r=this.lang;(0,i.createElement)("label",{htmlFor:a},null,s).appendChild(ta.createTextNode(r[n]||e));let h=(0,i.createElement)("select",{name:a,className:"highcharts-popup-field",id:"highcharts-select-"+e},null,s);return h.setAttribute("id","highcharts-select-"+e),h}function tm(t,e,s,o,n,a,r){"series"===e||"volume"===e?t.series.forEach(t=>{let o=t.options,n=o.name||o.params?t.name:o.id||"";"highcharts-navigator-series"!==o.id&&o.id!==(r&&r.options&&r.options.id)&&((0,i.defined)(a)||"volume"!==e||"column"!==t.type||(a=o.id),(0,i.createElement)("option",{value:o.id},void 0,s).appendChild(ta.createTextNode(n)))}):o&&n&&th[n+"-"+o].forEach(t=>{(0,i.createElement)("option",{value:t},void 0,s).appendChild(ta.createTextNode(t))}),(0,i.defined)(a)&&(s.value=a)}function tf(t,e){let s,o=this.chart&&this.chart.options.lang,n=o&&o.navigation&&o.navigation.popup&&o.navigation.popup.indicatorAliases,a=new Map;return(0,i.objectEach)(t,(t,i)=>{let o=t&&t.options;if(t.params||o&&o.params){let{indicatorFullName:o,indicatorType:r}=ty(t,i);if(e){let i=RegExp(e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"i"),h=n&&n[r]&&n[r].join(" ")||"";(o.match(i)||h.match(i))&&(s={indicatorFullName:o,indicatorType:r,series:t},a.set(r.toLowerCase(),s))}else s={indicatorFullName:o,indicatorType:r,series:t},a.set(r.toLowerCase(),s)}}),Array.from(a.values())}function tv(t){let e=[];return t.forEach(t=>{t.is("sma")&&e.push({indicatorFullName:t.name,indicatorType:t.type,series:t})}),e}function ty(t,e){let i=t.options,s=tr[e]&&tr[e].prototype.nameBase||e.toUpperCase(),o=e;return i&&i.type&&(o=t.options.type,s=t.name),{indicatorFullName:s,indicatorType:o}}function tx(t,e,s,o,n,a){if(!s)return;let r=tg.call(this,t,e,o);tm.call(this,s,e,r,void 0,void 0,void 0,n),(0,i.defined)(a)&&(r.value=a)}let{doc:tb}=h();function tA(){let t=this.container;return(0,i.createElement)("div",{className:"highcharts-tab-item-content highcharts-no-mousewheel"},void 0,t)}function tE(t,e){let s=this.container,o=this.lang,n="highcharts-tab-item";0===e&&(n+=" highcharts-tab-disabled");let a=(0,i.createElement)("button",{className:n},void 0,s);return a.appendChild(tb.createTextNode(o[t+"Button"]||t)),a.setAttribute("highcharts-data-tab-type",t),a}function tw(){let t=this.container,e=t.querySelectorAll(".highcharts-tab-item"),i=t.querySelectorAll(".highcharts-tab-item-content");for(let t=0;t<e.length;t++)e[t].classList.remove("highcharts-tab-item-active"),i[t].classList.remove("highcharts-tab-item-show")}function tk(t,e){let i=this.container.querySelectorAll(".highcharts-tab-item-content");t.className+=" highcharts-tab-item-active",i[e].className+=" highcharts-tab-item-show"}function tC(t){let e=this;this.container.querySelectorAll(".highcharts-tab-item").forEach((s,o)=>{(0!==t||"edit"!==s.getAttribute("highcharts-data-tab-type"))&&["click","touchstart"].forEach(t=>{(0,i.addEvent)(s,t,function(){tw.call(e),tk.call(e,this,o)})})})}let{doc:tP}=h(),{getOptions:tO}=h();class tM extends tt{constructor(t,e,s){super(t,e),this.chart=s,this.lang=(tO().lang.navigation||{}).popup||{},(0,i.addEvent)(this.container,"mousedown",()=>{let t=s&&s.navigationBindings&&s.navigationBindings.activeAnnotation;if(t){t.cancelClick=!0;let e=(0,i.addEvent)(tP,"click",()=>{setTimeout(()=>{t.cancelClick=!1},0),e()})}})}addInput(t,e,s,o){let n=t.split("."),a=n[n.length-1],r=this.lang,h="highcharts-"+e+"-"+(o.htmlFor??a);if(a.match(/^\d+$/)||(0,i.createElement)("label",{htmlFor:h,className:o.labelClassName},void 0,s).appendChild(tP.createTextNode(r[a]||a)),"color"===o.type&&this.chart?.container)return this.createColorInput(t,h,o,s,this.chart.container);let l=(0,i.createElement)("input",{name:h,value:o.value,type:o.type,className:"highcharts-popup-field"},void 0,s);return l.setAttribute("highcharts-data-name",t),l}createColorInput(t,e,s,o,n){let{value:a,alpha:r}=function(t,e){let i=t=>("0"+Math.round(t).toString(16)).slice(-2).toUpperCase(),s=t=>{let[e,s,o,n]=ti().parse(t).rgba;return{value:"#"+i(e)+i(s)+i(o),alpha:n}};if(t.startsWith("rgb")||t.startsWith("rgba"))return s(t);if(t.startsWith("color")||t.startsWith("var")){let o=tP.createElement("span");o.style.setProperty("color",t),e.appendChild(o);let n=window.getComputedStyle(o).color;if(e.removeChild(o),n.startsWith("color")){let t=n.match(RegExp("color\\s*\\(\\s*srgb\\s+([\\d.]+)\\s+([\\d.]+)\\s+([\\d.]+)\\s+(?:\\s*\\/\\s*([\\d.]+))?\\s*\\)"));if(t){let e=Math.round(255*parseFloat(t[1])),s=Math.round(255*parseFloat(t[2])),o=Math.round(255*parseFloat(t[3])),n=t[4]?parseFloat(t[4]):1;return{value:"#"+i(e)+i(s)+i(o),alpha:n}}}if(n.startsWith("rgb")||n.startsWith("rgba"))return s(n)}return{value:t,alpha:1}}(s.value||"",n),h=ti().parse(s.value||"").rgba[3],l=isNaN(h)?r:h,c=(0,i.createElement)("div",{className:"highcharts-popup-color-wrapper"},void 0,o),p=(0,i.createElement)("input",{type:"color",value:a,className:"highcharts-popup-field highcharts-popup-field-color"},void 0,c),d=(0,i.createElement)("input",{name:e,id:e,value:a,type:"text",className:"highcharts-popup-field highcharts-popup-field-text"},void 0,c);d.setAttribute("highcharts-data-name",t);let u=(0,i.createElement)("span",{className:"highcharts-popup-color-separator"},void 0,c),g=(0,i.createElement)("input",{type:"number",value:String(Math.round(100*l)),className:"highcharts-popup-field highcharts-popup-opacity-percentage",min:"0",max:"100",step:"1"},void 0,c),m=(0,i.createElement)("span",{className:"highcharts-popup-opacity-percent-suffix"},void 0,c);m.appendChild(tP.createTextNode(" %"));let f=(0,i.createElement)("input",{type:"range",value:String(Math.round(100*l)),className:"highcharts-popup-opacity-slider",min:"0",max:"100",step:"1"},void 0,o);f.style.setProperty("--highcharts-popup-opacity-track-color",a),f.style.setProperty("display","none");let v=()=>{let t=/^#[0-9A-Fa-f]{6}$/.test(d.value);u.style.display=t?"":"none",g.style.display=t?"":"none",m.style.display=t?"":"none"};v();let y=t=>{let e=t.target,s=(0,i.clamp)(Number(e.value),0,100);f.value=String(s),g.value=String(Math.round(s))},x=t=>{t.target===p?d.value=p.value.toUpperCase():p.value=d.value,f.style.setProperty("--highcharts-popup-opacity-track-color",p.value),v()};return(0,i.addEvent)(o,"mousedown",t=>{t.target!==g&&t.target!==f&&(f.style.display="none")}),(0,i.addEvent)(g,"focus",()=>{f.style.display=""}),(0,i.addEvent)(g,"input",y),(0,i.addEvent)(f,"input",y),(0,i.addEvent)(p,"input",x),(0,i.addEvent)(d,"input",x),c}closeButtonEvents(){if(this.chart){let t=this.chart.navigationBindings;(0,i.fireEvent)(t,"closePopup"),t&&t.selectedButtonElement&&(0,i.fireEvent)(t,"deselectButton",{button:t.selectedButtonElement})}else super.closeButtonEvents()}addButton(t,e,s,o,n){let a=(0,i.createElement)("button",void 0,void 0,t);return a.appendChild(tP.createTextNode(e)),n&&["click","touchstart"].forEach(t=>{(0,i.addEvent)(a,t,()=>{let t,e,i,a,r;return this.closePopup(),n((t=Array.prototype.slice.call(o.querySelectorAll("input")),e=Array.prototype.slice.call(o.querySelectorAll("select")),i=o.querySelectorAll("#highcharts-select-series > option:checked")[0],a=o.querySelectorAll("#highcharts-select-volume > option:checked")[0],r={actionType:s,linkedTo:i&&i.getAttribute("value")||"",fields:{}},t.forEach(t=>{let e=t.getAttribute("highcharts-data-name");if(t.getAttribute("highcharts-data-series-id"))r.seriesId=t.value;else if(e){let i=t.closest(".highcharts-popup-color-wrapper"),s=i?.querySelector(".highcharts-popup-opacity-percentage"),o=s?Number(s.value)/100:1;if(s){let i=ti().parse(t.value).rgba;r.fields[e]=Number.isNaN(i[0])?t.value:`rgba(${i[0]},${i[1]},${i[2]},${o})`}else r.fields[e]=t.value}else r.type=t.value}),e.forEach(t=>{let e=t.id;if("highcharts-select-series"!==e&&"highcharts-select-volume"!==e){let i=e.split("highcharts-select-")[1];r.fields[i]=t.value}}),a&&(r.fields["params.volumeSeriesID"]=a.getAttribute("value")||""),r))})}),a}showForm(t,e,i,s){e&&(this.showPopup(),"indicators"===t&&this.indicators.addForm.call(this,e,i,s),"annotation-toolbar"===t&&this.annotations.addToolbar.call(this,e,i,s),"annotation-edit"===t&&this.annotations.addForm.call(this,e,i,s),"flag"===t&&this.annotations.addForm.call(this,e,i,s,!0),this.type=t,this.container.style.height=this.container.offsetHeight+"px")}}(0,i.extend)(tM.prototype,{annotations:{addForm:function(t,e,s,o){if(!t)return;let n=this.container,a=this.lang,r=(0,i.createElement)("h2",{className:"highcharts-popup-main-title"},void 0,n);r.appendChild(ts.createTextNode(a[e.langKey]||e.langKey||"")),r=(0,i.createElement)("div",{className:"highcharts-popup-lhs-col highcharts-popup-lhs-full"},void 0,n);let h=(0,i.createElement)("div",{className:"highcharts-popup-bottom-row"},void 0,n);tn.call(this,r,t,"",e,[],!0),this.addButton(h,o?a.addButton||"Add":a.saveButton||"Save",o?"add":"save",n,s)},addToolbar:function(t,e,s){let o=this.lang,n=this.container,a=this.showForm,r="highcharts-annotation-toolbar";-1===n.className.indexOf(r)&&(n.className+=" "+r+" highcharts-no-mousewheel"),t&&(n.style.top=t.plotTop+10+"px");let h=(0,i.createElement)("p",{className:"highcharts-annotation-label"},void 0,n);h.setAttribute("aria-label","Annotation type"),h.appendChild(ts.createTextNode((o[e.langKey]||e.langKey)??(e.shapes&&e.shapes[0].type)??""));let l=this.addButton(n,o.editButton||"Edit","edit",n,()=>{a.call(this,"annotation-edit",t,e,s)});l.className+=" highcharts-annotation-edit-button",(0,i.createElement)("span",{className:"highcharts-icon"},{backgroundImage:Q("edit.svg",this.iconsURL,J)},l),l=this.addButton(n,o.removeButton||"Remove","remove",n,s),l.className+=" highcharts-annotation-remove-button",(0,i.createElement)("span",{className:"highcharts-icon"},{backgroundImage:Q("destroy.svg",this.iconsURL,J)},l)}},indicators:{addForm:function(t,e,i){let s,o=this.lang;if(!t)return;this.tabs.init.call(this,t);let n=this.container.querySelectorAll(".highcharts-tab-item-content");tl(n[0]),tu.call(this,t,n[0]),tp.call(this,t,n[0],"add"),s=n[0].querySelectorAll(".highcharts-popup-rhs-col")[0],this.addButton(s,o.addButton||"add","add",s,i),tl(n[1]),tp.call(this,t,n[1],"edit"),s=n[1].querySelectorAll(".highcharts-popup-rhs-col")[0],this.addButton(s,o.saveButton||"save","edit",s,i),this.addButton(s,o.removeButton||"remove","remove",s,i)},getAmount:function(){let t=0;return this.series.forEach(e=>{(e.params||e.options.params)&&t++}),t}},tabs:{init:function(t){if(!t)return;let e=this.indicators.getAmount.call(t),i=tE.call(this,"add");tE.call(this,"edit",e),tA.call(this),tA.call(this),tC.call(this,e),tk.call(this,i,0)}}});let{composed:tN}=h();function tB(){this.popup&&this.popup.closePopup()}function tT(t){this.popup||(this.popup=new tM(this.chart.container,this.chart.options.navigation.iconsURL||this.chart.options.stockTools&&this.chart.options.stockTools.gui.iconsURL||"renderer",this.chart)),this.popup.showForm(t.formType,this.chart,t.options,t.onSubmit)}function tL(t,e){this.inClass(e.target,"highcharts-popup")||t.apply(this,Array.prototype.slice.call(arguments,1))}let tI=function(t,e){(0,i.pushUnique)(tN,"Popup")&&((0,i.addEvent)(t,"closePopup",tB),(0,i.addEvent)(t,"showPopup",tT),(0,i.wrap)(e.prototype,"onContainerMouseDown",tL))},{defaultOptions:tS}=h();function tD(t,e){let s={};return["labels","shapes"].forEach(o=>{let n=t[o],a=e[o];n&&(a?s[o]=(0,i.splat)(a).map((t,e)=>(0,i.merge)(n[e],t)):s[o]=t[o])}),s}class tY extends x{static compose(t,e,i,s){m.compose(tY,t,i),$.compose(s),F.compose(t,s),e.compose(tY,t),tI(e,i)}constructor(t,e){super(),this.coll="annotations",this.chart=t,this.points=[],this.controlPoints=[],this.coll="annotations",this.index=-1,this.labels=[],this.shapes=[],this.setOptions(e),this.userOptions=e;let i=tD(this.options,e);this.options.labels=i.labels,this.options.shapes=i.shapes,this.init(t,this.options)}addClipPaths(){this.setClipAxes(),this.clipXAxis&&this.clipYAxis&&this.options.crop&&(this.clipRect=this.chart.renderer.clipRect(this.getClipBox()))}addLabels(){let t=this.options.labels||[];t.forEach((e,s)=>{let o=this.initLabel(e,s);(0,i.merge)(!0,t[s],o.options)})}addShapes(){let t=this.options.shapes||[];t.forEach((e,s)=>{let o=this.initShape(e,s);(0,i.merge)(!0,t[s],o.options)})}destroy(){let t=this.chart;(0,i.destroyObjectProperties)(this.labels),(0,i.destroyObjectProperties)(this.shapes),delete this.clipXAxis,delete this.clipYAxis,(0,i.erase)(t.labelCollectors,this.labelCollector),super.destroy(),this.destroyControlTarget(),(0,i.destroyObjectProperties)(this,t)}destroyItem(t){(0,i.erase)(this[t.itemType+"s"],t),t.destroy()}getClipBox(){if(this.clipXAxis&&this.clipYAxis)return{x:this.clipXAxis.left,y:this.clipYAxis.top,width:this.clipXAxis.width,height:this.clipYAxis.height}}initProperties(t,e){this.setOptions(e);let i=tD(this.options,e);this.options.labels=i.labels,this.options.shapes=i.shapes,this.chart=t,this.points=[],this.controlPoints=[],this.coll="annotations",this.userOptions=e,this.labels=[],this.shapes=[]}init(t,e,s=this.index){let o=this.chart,n=this.options.animation;this.index=s,this.linkPoints(),this.addControlPoints(),this.addShapes(),this.addLabels(),this.setLabelCollector(),this.animationConfig=(0,i.getDeferredAnimation)(o,n)}initLabel(t,e){this.options.labelOptions?.align;let s=new $(this,(0,i.merge)(this.options.labelOptions,{controlPointOptions:this.options.controlPointOptions},t),e);return s.itemType="label",this.labels.push(s),s}initShape(t,e){let s=(0,i.merge)(this.options.shapeOptions,{controlPointOptions:this.options.controlPointOptions},t),o=new tY.shapesMap[s.type||"rect"](this,s,e);return o.itemType="shape",this.shapes.push(o),o}redraw(t){this.linkPoints(),this.graphic||this.render(),this.clipRect&&this.clipRect.animate(this.getClipBox()),this.redrawItems(this.shapes,t),this.redrawItems(this.labels,t),this.redrawControlPoints(t)}redrawItem(t,e){if(t.linkPoints(),t.shouldBeDrawn()){let i,s;t.graphic||this.renderItem(t),t.redraw((e??!0)&&t.graphic.placed),t.points.length&&(i=t.graphic,s=t.points.some(t=>!1!==t.series.visible&&!1!==t.visible),i&&(s?"hidden"===i.visibility&&i.show():i.hide()))}else this.destroyItem(t)}redrawItems(t,e){let i=t.length;for(;i--;)this.redrawItem(t[i],e)}remove(){return this.chart.removeAnnotation(this)}render(){let t=this.chart.renderer;this.graphic=t.g("annotation").addClass(this.options.className||"").attr({opacity:0,zIndex:this.options.zIndex,visibility:this.options.visible?"inherit":"hidden"}).add(),this.shapesGroup=t.g("annotation-shapes").add(this.graphic),this.options.crop&&this.shapesGroup.clip(this.chart.plotBoxClip),this.labelsGroup=t.g("annotation-labels").attr({translateX:0,translateY:0}).add(this.graphic),this.addClipPaths(),this.clipRect&&this.graphic.clip(this.clipRect),this.renderItems(this.shapes),this.renderItems(this.labels),this.addEvents(),this.renderControlPoints()}renderItem(t){t.render("label"===t.itemType?this.labelsGroup:this.shapesGroup)}renderItems(t){let e=t.length;for(;e--;)this.renderItem(t[e])}setClipAxes(){let t=this.chart.xAxis,e=this.chart.yAxis,i=[...this.options.labels??[],...this.options.shapes??[]].reduce((i,s)=>{let o=s&&(s.point||"points"in s&&s.points?.[0]);return[t[o&&o.xAxis]||i[0],e[o&&o.yAxis]||i[1]]},[]);this.clipXAxis=i[0],this.clipYAxis=i[1]}setControlPointsVisibility(t){let e=function(e){e.setControlPointsVisibility(t)};this.controlPoints.forEach(e=>{e.setVisibility(t)}),this.shapes.forEach(e),this.labels.forEach(e)}setLabelCollector(){let t=this;t.labelCollector=function(){return t.labels.reduce(function(t,e){return e.options.allowOverlap||t.push(e.graphic),t},[])},t.chart.labelCollectors.push(t.labelCollector)}setOptions(t){var e;this.options=(0,i.merge)(this.defaultOptions,t.type&&this.defaultOptions.types?.[t.type]||{},t),(e=this.options).typeOptions||(e.typeOptions={})}setVisibility(t){let e=this.options,s=this.chart.navigationBindings,o=t??!e.visible;if(this.graphic.attr("visibility",o?"inherit":"hidden"),!o){let t=function(t){t.setControlPointsVisibility(o)};this.shapes.forEach(t),this.labels.forEach(t),s.activeAnnotation===this&&s.popup&&"annotation-toolbar"===s.popup.type&&(0,i.fireEvent)(s,"closePopup")}e.visible=o}update(t,e){let s=this.chart,o=tD(this.userOptions,t),n=s.annotations.indexOf(this),a=(0,i.merge)(!0,this.userOptions,t);a.labels=o.labels,a.shapes=o.shapes,this.destroy(),this.initProperties(s,a),this.init(s,a),s.options.annotations[n]=this.options,this.isUpdating=!0,(e??!0)&&s.drawAnnotations(),(0,i.fireEvent)(this,"afterUpdate"),this.isUpdating=!1}}tY.ControlPoint=b,tY.MockPoint=O,tY.shapesMap={rect:U,circle:R,ellipse:W,path:F,image:H},tY.types={},tY.prototype.defaultOptions=f,tS.annotations=f,tY.prototype.nonDOMEvents=["add","afterUpdate","drag","remove"],M.compose(tY);var tX=r||(r={});tX.compose=function(t){return t.navigation||(t.navigation=new tF(t)),t};class tF{constructor(t){this.updates=[],this.chart=t}addUpdate(t){this.chart.navigation.updates.push(t)}update(t,e){this.updates.forEach(i=>{i.call(this.chart,t,e)})}}tX.Additions=tF;let tU=r,{getAssignedAxis:tR}=E,tW={lang:{navigation:{popup:{simpleShapes:"Simple shapes",lines:"Lines",circle:"Circle",ellipse:"Ellipse",rectangle:"Rectangle",label:"Label",shapeOptions:"Shape options",typeOptions:"Details",fill:"Fill",format:"Text",strokeWidth:"Line width",stroke:"Line color",title:"Title",name:"Name",labelOptions:"Label options",labels:"Labels",backgroundColor:"Background color",backgroundColors:"Background colors",borderColor:"Border color",borderRadius:"Border radius",borderWidth:"Border width",style:"Style",padding:"Padding",fontSize:"Font size",color:"Color",height:"Height",shapes:"Shape options"}}},navigation:{bindingsClassName:"highcharts-bindings-container",bindings:{circleAnnotation:{className:"highcharts-circle-annotation",start:function(t){let e=this.chart.pointer?.getCoordinates(t),s=e&&tR(e.xAxis),o=e&&tR(e.yAxis),n=this.chart.options.navigation;if(s&&o)return this.chart.addAnnotation((0,i.merge)({langKey:"circle",type:"basicAnnotation",shapes:[{type:"circle",point:{x:s.value,y:o.value,xAxis:s.axis.index,yAxis:o.axis.index},r:5}]},n.annotationsOptions,n.bindings.circleAnnotation.annotationsOptions))},steps:[function(t,e){let s,o=e.options.shapes,n=o&&o[0]&&o[0].point||{};if((0,i.isNumber)(n.xAxis)&&(0,i.isNumber)(n.yAxis)){let e=this.chart.inverted,i=this.chart.xAxis[n.xAxis].toPixels(n.x),o=this.chart.yAxis[n.yAxis].toPixels(n.y);s=Math.max(Math.sqrt(Math.pow(e?o-t.chartX:i-t.chartX,2)+Math.pow(e?i-t.chartY:o-t.chartY,2)),5)}e.update({shapes:[{r:s}]})}]},ellipseAnnotation:{className:"highcharts-ellipse-annotation",start:function(t){let e=this.chart.pointer?.getCoordinates(t),s=e&&tR(e.xAxis),o=e&&tR(e.yAxis),n=this.chart.options.navigation;if(s&&o)return this.chart.addAnnotation((0,i.merge)({langKey:"ellipse",type:"basicAnnotation",shapes:[{type:"ellipse",xAxis:s.axis.index,yAxis:o.axis.index,points:[{x:s.value,y:o.value},{x:s.value,y:o.value}],ry:1}]},n.annotationsOptions,n.bindings.ellipseAnnotation.annotationsOptions))},steps:[function(t,e){let i=e.shapes[0],s=i.getAbsolutePosition(i.points[1]);i.translatePoint(t.chartX-s.x,t.chartY-s.y,1),i.redraw(!1)},function(t,e){let i=e.shapes[0],s=i.getAbsolutePosition(i.points[0]),o=i.getAbsolutePosition(i.points[1]),n=i.getDistanceFromLine(s,o,t.chartX,t.chartY),a=i.getYAxis(),r=Math.abs(a.toValue(0)-a.toValue(n));i.setYRadius(r),i.redraw(!1)}]},rectangleAnnotation:{className:"highcharts-rectangle-annotation",start:function(t){let e=this.chart.pointer?.getCoordinates(t),s=e&&tR(e.xAxis),o=e&&tR(e.yAxis);if(!s||!o)return;let n=s.value,a=o.value,r=s.axis.index,h=o.axis.index,l=this.chart.options.navigation;return this.chart.addAnnotation((0,i.merge)({langKey:"rectangle",type:"basicAnnotation",shapes:[{type:"path",points:[{xAxis:r,yAxis:h,x:n,y:a},{xAxis:r,yAxis:h,x:n,y:a},{xAxis:r,yAxis:h,x:n,y:a},{xAxis:r,yAxis:h,x:n,y:a},{command:"Z"}]}]},l.annotationsOptions,l.bindings.rectangleAnnotation.annotationsOptions))},steps:[function(t,e){let i=e.options.shapes,s=i&&i[0]&&i[0].points||[],o=this.chart.pointer?.getCoordinates(t),n=o&&tR(o.xAxis),a=o&&tR(o.yAxis);if(n&&a){let t=n.value,i=a.value;s[1].x=t,s[2].x=t,s[2].y=i,s[3].y=i,e.update({shapes:[{points:s}]})}}]},labelAnnotation:{className:"highcharts-label-annotation",start:function(t){let e=this.chart.pointer?.getCoordinates(t),s=e&&tR(e.xAxis),o=e&&tR(e.yAxis),n=this.chart.options.navigation;if(s&&o)return this.chart.addAnnotation((0,i.merge)({langKey:"label",type:"basicAnnotation",labelOptions:{format:"{y:.2f}",overflow:"none",crop:!0},labels:[{point:{xAxis:s.axis.index,yAxis:o.axis.index,x:s.value,y:o.value}}]},n.annotationsOptions,n.bindings.labelAnnotation.annotationsOptions))}}},events:{},annotationsOptions:{animation:{defer:0}}}},{setOptions:tj}=h(),{format:tz}=z(),{composed:tV,doc:tq,win:t$}=h(),{getAssignedAxis:tH,getFieldType:tG}=E;function tK(){this.chart.navigationBindings&&this.chart.navigationBindings.deselectAnnotation()}function t_(){this.navigationBindings&&this.navigationBindings.destroy()}function tZ(){let t=this.options;t&&t.navigation&&t.navigation.bindings&&(this.navigationBindings=new t2(this,t.navigation),this.navigationBindings.initEvents(),this.navigationBindings.initUpdate())}function tJ(){let t=this.navigationBindings,e="highcharts-disabled-btn";if(this&&t){let s=!1;if(this.series.forEach(t=>{!t.options.isInternal&&t.visible&&(s=!0)}),this.navigationBindings&&this.navigationBindings.container&&this.navigationBindings.container[0]){let o=this.navigationBindings.container[0];(0,i.objectEach)(t.boundClassNames,(t,i)=>{let n=o.querySelectorAll("."+i);if(n)for(let i=0;i<n.length;i++){let o=n[i],a=o.className;"normal"===t.noDataState||s?-1!==a.indexOf(e)&&o.classList.remove(e):-1===a.indexOf(e)&&(o.className+=" "+e)}})}}}function tQ(){this.deselectAnnotation()}function t0(){this.selectedButtonElement=null}function t1(t){let e,s,o=t.prototype.defaultOptions.events&&t.prototype.defaultOptions.events.click;function n(t){let e=this,s=e.chart.navigationBindings,n=s.activeAnnotation;o&&o.call(e,t),n!==e?(s.deselectAnnotation(),s.activeAnnotation=e,e.setControlPointsVisibility(!0),(0,i.fireEvent)(s,"showPopup",{annotation:e,formType:"annotation-toolbar",options:s.annotationToFields(e),onSubmit:function(t){if("remove"===t.actionType)s.activeAnnotation=!1,s.chart.removeAnnotation(e);else{let i={};s.fieldsToOptions(t.fields,i),s.deselectAnnotation();let o=i.typeOptions;"measure"===e.options.type&&(o.crosshairY.enabled=0!==o.crosshairY.strokeWidth,o.crosshairX.enabled=0!==o.crosshairX.strokeWidth),e.update(i)}}})):(0,i.fireEvent)(s,"closePopup"),t.activeAnnotation=!0}(0,i.merge)(!0,t.prototype.defaultOptions.events,{click:n,touchstart:function(t){e=t.touches[0].clientX,s=t.touches[0].clientY},touchend:function(t){e&&Math.sqrt(Math.pow(e-t.changedTouches[0].clientX,2)+Math.pow(s-t.changedTouches[0].clientY,2))>=4||n.call(this,t)}})}class t2{static compose(t,e){(0,i.pushUnique)(tV,"NavigationBindings")&&((0,i.addEvent)(t,"remove",tK),t1(t),(0,i.objectEach)(t.types,t=>{t1(t)}),(0,i.addEvent)(e,"destroy",t_),(0,i.addEvent)(e,"load",tZ),(0,i.addEvent)(e,"render",tJ),(0,i.addEvent)(t2,"closePopup",tQ),(0,i.addEvent)(t2,"deselectButton",t0),tj(tW))}constructor(t,e){this.boundClassNames=void 0,this.chart=t,this.options=e,this.eventsToUnbind=[],this.container=this.chart.container.getElementsByClassName(this.options.bindingsClassName||""),this.container.length||(this.container=tq.getElementsByClassName(this.options.bindingsClassName||""))}getCoords(t){let e=this.chart.pointer?.getCoordinates(t);return[e&&tH(e.xAxis),e&&tH(e.yAxis)]}initEvents(){let t=this,e=t.chart,s=t.container,o=t.options;t.boundClassNames={},(0,i.objectEach)(o.bindings||{},e=>{t.boundClassNames[e.className]=e}),[].forEach.call(s,e=>{t.eventsToUnbind.push((0,i.addEvent)(e,"click",i=>{let s=t.getButtonEvents(e,i);s&&!s.button.classList.contains("highcharts-disabled-btn")&&t.bindingsButtonClick(s.button,s.events,i)}))}),(0,i.objectEach)(o.events||{},(e,s)=>{(0,i.isFunction)(e)&&t.eventsToUnbind.push((0,i.addEvent)(t,s,e,{passive:!1}))}),t.eventsToUnbind.push((0,i.addEvent)(e.container,"click",function(i){!e.cancelClick&&e.isInsidePlot(i.chartX-e.plotLeft,i.chartY-e.plotTop,{visiblePlotOnly:!0})&&t.bindingsChartClick(this,i)})),t.eventsToUnbind.push((0,i.addEvent)(e.container,h().isTouchDevice?"touchmove":"mousemove",function(e){t.bindingsContainerMouseMove(this,e)},h().isTouchDevice?{passive:!1}:void 0))}initUpdate(){let t=this;tU.compose(this.chart).navigation.addUpdate(e=>{t.update(e)})}bindingsButtonClick(t,e,s){let o=this.chart,n=o.renderer.boxWrapper,a=!0;this.selectedButtonElement&&(this.selectedButtonElement.classList===t.classList&&(a=!1),(0,i.fireEvent)(this,"deselectButton",{button:this.selectedButtonElement}),this.nextEvent&&(this.currentUserDetails&&"annotations"===this.currentUserDetails.coll&&o.removeAnnotation(this.currentUserDetails),this.mouseMoveEvent=this.nextEvent=!1)),a?(this.selectedButton=e,this.selectedButtonElement=t,(0,i.fireEvent)(this,"selectButton",{button:t}),e.init&&e.init.call(this,t,s),(e.start||e.steps)&&o.renderer.boxWrapper.addClass("highcharts-draw-mode")):(o.stockTools&&t.classList.remove("highcharts-active"),n.removeClass("highcharts-draw-mode"),this.nextEvent=!1,this.mouseMoveEvent=!1,this.selectedButton=null)}bindingsChartClick(t,e){t=this.chart;let s=this.activeAnnotation,o=this.selectedButton,n=t.renderer.boxWrapper;s&&(s.cancelClick||e.activeAnnotation||!e.target.parentNode||function(t,e){let i=t$.Element.prototype,s=i.matches||i.msMatchesSelector||i.webkitMatchesSelector,o=null;if(i.closest)o=i.closest.call(t,e);else do{if(s.call(t,e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return o}(e.target,".highcharts-popup")?s.cancelClick&&setTimeout(()=>{s.cancelClick=!1},0):(0,i.fireEvent)(this,"closePopup")),o&&o.start&&(this.nextEvent?(this.nextEvent(e,this.currentUserDetails),this.steps&&(this.stepIndex++,o.steps[this.stepIndex]?this.mouseMoveEvent=this.nextEvent=o.steps[this.stepIndex]:((0,i.fireEvent)(this,"deselectButton",{button:this.selectedButtonElement}),n.removeClass("highcharts-draw-mode"),o.end&&o.end.call(this,e,this.currentUserDetails),this.nextEvent=!1,this.mouseMoveEvent=!1,this.selectedButton=null))):(this.currentUserDetails=o.start.call(this,e),this.currentUserDetails&&o.steps?(this.stepIndex=0,this.steps=!0,this.mouseMoveEvent=this.nextEvent=o.steps[this.stepIndex]):((0,i.fireEvent)(this,"deselectButton",{button:this.selectedButtonElement}),n.removeClass("highcharts-draw-mode"),this.steps=!1,this.selectedButton=null,o.end&&o.end.call(this,e,this.currentUserDetails))))}bindingsContainerMouseMove(t,e){this.mouseMoveEvent&&this.mouseMoveEvent(e,this.currentUserDetails)}fieldsToOptions(t,e){return(0,i.objectEach)(t,(t,s)=>{let o=parseFloat(t),n=s.split("."),a=n.length-1;if(!(0,i.isNumber)(o)||t.match(/px|em/g)||s.match(/format/g)||s.match(/title/g)||(t=o),"undefined"!==t){let i=e;n.forEach((e,s)=>{if("__proto__"!==e&&"constructor"!==e){let o=n[s+1]??"";a===s?i[e]=t:(i[e]||(i[e]=o.match(/\d/g)?[]:{}),i=i[e])}})}}),e}deselectAnnotation(){this.activeAnnotation&&(this.activeAnnotation.setControlPointsVisibility(!1),this.activeAnnotation=!1)}annotationToFields(t){let e=t.options,s=t2.annotationsEditable,o=s.nestedOptions,n=e.type??e.shapes?.[0]?.type??e.labels?.[0]?.type??"label",a=t2.annotationsNonEditable[e.langKey]||[],r={langKey:e.langKey,type:n};function h(e,s,n,r,l){let c;n&&(0,i.defined)(e)&&-1===a.indexOf(s)&&((n.indexOf&&n.indexOf(s))>=0||n[s]||!0===n)&&((0,i.isArray)(e)?(r[s]=[],e.forEach((t,e)=>{(0,i.isObject)(t)?(r[s][e]={},(0,i.objectEach)(t,(t,i)=>{h(t,i,o[s],r[s][e],s)})):h(t,0,o[s],r[s],s)})):(0,i.isObject)(e)?(c={},(0,i.isArray)(r)?(r.push(c),c[s]={},c=c[s]):r[s]=c,(0,i.objectEach)(e,(t,e)=>{h(t,e,0===s?n:o[s],c,s)})):"format"===s?r[s]=[tz(e,t.labels[0].points[0]).toString(),"text"]:(0,i.isArray)(r)?r.push([e,tG(l,e)]):r[s]=[e,tG(s,e)])}return(0,i.objectEach)(e,(t,a)=>{"typeOptions"===a&&"basicAnnotation"!==r.type?(r[a]={},(0,i.objectEach)(e[a],(t,e)=>{h(t,e,o,r[a],e)})):h(t,a,s[n],r,a)}),r}getClickedClassNames(t,e){let s=e.target,o=[],n;for(;s&&s.tagName&&((n=(0,i.attr)(s,"class"))&&(o=o.concat(n.split(" ").map(t=>[t,s]))),(s=s.parentNode)!==t););return o}getButtonEvents(t,e){let i,s=this;return this.getClickedClassNames(t,e).forEach(t=>{s.boundClassNames[t[0]]&&!i&&(i={events:s.boundClassNames[t[0]],button:t[1]})}),i}update(t){this.options=(0,i.merge)(!0,this.options,t),this.removeEvents(),this.initEvents()}removeEvents(){this.eventsToUnbind.forEach(t=>t())}destroy(){this.removeEvents()}}t2.annotationsEditable={nestedOptions:{labelOptions:["style","format","backgroundColor"],labels:["style"],label:["style"],style:["fontSize","color"],background:["fill","strokeWidth","stroke"],innerBackground:["fill","strokeWidth","stroke"],outerBackground:["fill","strokeWidth","stroke"],shapeOptions:["fill","strokeWidth","stroke"],shapes:["fill","strokeWidth","stroke"],line:["strokeWidth","stroke"],backgroundColors:[!0],connector:["fill","strokeWidth","stroke"],crosshairX:["strokeWidth","stroke"],crosshairY:["strokeWidth","stroke"]},circle:["shapes"],ellipse:["shapes"],verticalLine:[],label:["labelOptions"],measure:["background","crosshairY","crosshairX"],fibonacci:[],tunnel:["background","line","height"],pitchfork:["innerBackground","outerBackground"],rect:["shapes"],crookedLine:[],basicAnnotation:["shapes","labelOptions"]},t2.annotationsNonEditable={rectangle:["crosshairX","crosshairY","labelOptions"],ellipse:["labelOptions"],circle:["labelOptions"]};let t9=h();t9.Annotation=t9.Annotation||tY,t9.NavigationBindings=t9.NavigationBindings||t2,t9.Annotation.compose(t9.Chart,t9.NavigationBindings,t9.Pointer,t9.SVGRenderer);let t5=h();export{t5 as default};