highcharts 12.6.0 → 12.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (777) hide show
  1. package/LICENSE.txt +6 -1
  2. package/bower.json +1 -1
  3. package/es-modules/Core/Chart/Chart.js +8 -2
  4. package/es-modules/Core/Defaults.js +4 -0
  5. package/es-modules/Core/Globals.js +1 -1
  6. package/es-modules/Core/Renderer/HTML/AST.js +19 -11
  7. package/es-modules/Core/Renderer/SVG/SVGRenderer.js +1 -1
  8. package/es-modules/Core/Series/Point.js +8 -1
  9. package/es-modules/Core/Series/Series.js +7 -0
  10. package/es-modules/Extensions/Annotations/NavigationBindingsDefaults.js +1 -1
  11. package/es-modules/Extensions/Annotations/Popup/PopupComposition.js +1 -1
  12. package/es-modules/Extensions/Breadcrumbs/Breadcrumbs.js +6 -4
  13. package/es-modules/Extensions/Breadcrumbs/BreadcrumbsDefaults.js +1 -1
  14. package/es-modules/Extensions/Exporting/ExportingDefaults.js +1 -1
  15. package/es-modules/Stock/StockTools/StockToolbar.js +1 -1
  16. package/es-modules/masters/highcharts-3d.src.js +1 -1
  17. package/es-modules/masters/highcharts-gantt.src.js +1 -1
  18. package/es-modules/masters/highcharts-more.src.js +1 -1
  19. package/es-modules/masters/highcharts.src.js +1 -1
  20. package/es-modules/masters/highmaps.src.js +1 -1
  21. package/es-modules/masters/highstock.src.js +1 -1
  22. package/es-modules/masters/i18n/fr-FR.src.d.ts +1 -1
  23. package/es-modules/masters/i18n/fr-FR.src.js +1 -1
  24. package/es-modules/masters/i18n/nb-NO.src.d.ts +1 -1
  25. package/es-modules/masters/i18n/nb-NO.src.js +1 -1
  26. package/es-modules/masters/i18n/zh-CN.src.d.ts +1 -1
  27. package/es-modules/masters/i18n/zh-CN.src.js +1 -1
  28. package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
  29. package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
  30. package/es-modules/masters/indicators/ao.src.js +1 -1
  31. package/es-modules/masters/indicators/apo.src.js +1 -1
  32. package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
  33. package/es-modules/masters/indicators/aroon.src.js +1 -1
  34. package/es-modules/masters/indicators/atr.src.js +1 -1
  35. package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
  36. package/es-modules/masters/indicators/cci.src.js +1 -1
  37. package/es-modules/masters/indicators/chaikin.src.js +1 -1
  38. package/es-modules/masters/indicators/cmf.src.js +1 -1
  39. package/es-modules/masters/indicators/cmo.src.js +1 -1
  40. package/es-modules/masters/indicators/dema.src.js +1 -1
  41. package/es-modules/masters/indicators/disparity-index.src.js +1 -1
  42. package/es-modules/masters/indicators/dmi.src.js +1 -1
  43. package/es-modules/masters/indicators/dpo.src.js +1 -1
  44. package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
  45. package/es-modules/masters/indicators/indicators-all.src.js +1 -1
  46. package/es-modules/masters/indicators/indicators.src.js +1 -1
  47. package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
  48. package/es-modules/masters/indicators/klinger.src.js +1 -1
  49. package/es-modules/masters/indicators/macd.src.js +1 -1
  50. package/es-modules/masters/indicators/mfi.src.js +1 -1
  51. package/es-modules/masters/indicators/momentum.src.js +1 -1
  52. package/es-modules/masters/indicators/natr.src.js +1 -1
  53. package/es-modules/masters/indicators/obv.src.js +1 -1
  54. package/es-modules/masters/indicators/pivot-points.src.js +1 -1
  55. package/es-modules/masters/indicators/ppo.src.js +1 -1
  56. package/es-modules/masters/indicators/price-channel.src.js +1 -1
  57. package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
  58. package/es-modules/masters/indicators/psar.src.js +1 -1
  59. package/es-modules/masters/indicators/regressions.src.js +1 -1
  60. package/es-modules/masters/indicators/roc.src.js +1 -1
  61. package/es-modules/masters/indicators/rsi.src.js +1 -1
  62. package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
  63. package/es-modules/masters/indicators/stochastic.src.js +1 -1
  64. package/es-modules/masters/indicators/supertrend.src.js +1 -1
  65. package/es-modules/masters/indicators/tema.src.js +1 -1
  66. package/es-modules/masters/indicators/trendline.src.js +1 -1
  67. package/es-modules/masters/indicators/trix.src.js +1 -1
  68. package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
  69. package/es-modules/masters/indicators/vwap.src.js +1 -1
  70. package/es-modules/masters/indicators/williams-r.src.js +1 -1
  71. package/es-modules/masters/indicators/wma.src.js +1 -1
  72. package/es-modules/masters/indicators/zigzag.src.js +1 -1
  73. package/es-modules/masters/modules/accessibility.src.js +1 -1
  74. package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
  75. package/es-modules/masters/modules/annotations.src.js +1 -1
  76. package/es-modules/masters/modules/arc-diagram.src.js +1 -1
  77. package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
  78. package/es-modules/masters/modules/boost-canvas.src.js +1 -1
  79. package/es-modules/masters/modules/boost.src.js +1 -1
  80. package/es-modules/masters/modules/broken-axis.src.js +1 -1
  81. package/es-modules/masters/modules/bullet.src.js +1 -1
  82. package/es-modules/masters/modules/coloraxis.src.js +1 -1
  83. package/es-modules/masters/modules/contour.src.js +1 -1
  84. package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
  85. package/es-modules/masters/modules/cylinder.src.js +1 -1
  86. package/es-modules/masters/modules/data-tools.src.js +1 -1
  87. package/es-modules/masters/modules/data.src.js +1 -1
  88. package/es-modules/masters/modules/datagrouping.src.js +1 -1
  89. package/es-modules/masters/modules/debugger.src.js +1 -1
  90. package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
  91. package/es-modules/masters/modules/dotplot.src.js +1 -1
  92. package/es-modules/masters/modules/drag-panes.src.js +1 -1
  93. package/es-modules/masters/modules/draggable-points.src.js +1 -1
  94. package/es-modules/masters/modules/drilldown.src.js +1 -1
  95. package/es-modules/masters/modules/dumbbell.src.js +1 -1
  96. package/es-modules/masters/modules/export-data.src.js +1 -1
  97. package/es-modules/masters/modules/exporting.src.js +1 -1
  98. package/es-modules/masters/modules/flowmap.src.js +1 -1
  99. package/es-modules/masters/modules/full-screen.src.js +1 -1
  100. package/es-modules/masters/modules/funnel.src.js +1 -1
  101. package/es-modules/masters/modules/funnel3d.src.js +1 -1
  102. package/es-modules/masters/modules/gantt.src.js +1 -1
  103. package/es-modules/masters/modules/geoheatmap.src.js +1 -1
  104. package/es-modules/masters/modules/grid-axis.src.js +1 -1
  105. package/es-modules/masters/modules/heatmap.src.js +1 -1
  106. package/es-modules/masters/modules/heikinashi.src.js +1 -1
  107. package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
  108. package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
  109. package/es-modules/masters/modules/item-series.src.js +1 -1
  110. package/es-modules/masters/modules/lollipop.src.js +1 -1
  111. package/es-modules/masters/modules/map.src.js +1 -1
  112. package/es-modules/masters/modules/marker-clusters.src.js +1 -1
  113. package/es-modules/masters/modules/mouse-wheel-zoom.src.js +1 -1
  114. package/es-modules/masters/modules/navigator.src.js +1 -1
  115. package/es-modules/masters/modules/networkgraph.src.js +1 -1
  116. package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
  117. package/es-modules/masters/modules/non-cartesian-zoom.src.js +1 -1
  118. package/es-modules/masters/modules/offline-exporting.src.js +1 -1
  119. package/es-modules/masters/modules/organization.src.js +1 -1
  120. package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
  121. package/es-modules/masters/modules/pareto.src.js +1 -1
  122. package/es-modules/masters/modules/pathfinder.src.js +1 -1
  123. package/es-modules/masters/modules/pattern-fill.src.js +1 -1
  124. package/es-modules/masters/modules/pictorial.src.js +1 -1
  125. package/es-modules/masters/modules/pointandfigure.src.js +1 -1
  126. package/es-modules/masters/modules/price-indicator.src.js +1 -1
  127. package/es-modules/masters/modules/pyramid3d.src.js +1 -1
  128. package/es-modules/masters/modules/renko.src.js +1 -1
  129. package/es-modules/masters/modules/sankey.src.js +1 -1
  130. package/es-modules/masters/modules/series-label.src.js +1 -1
  131. package/es-modules/masters/modules/series-on-point.src.js +1 -1
  132. package/es-modules/masters/modules/solid-gauge.src.js +1 -1
  133. package/es-modules/masters/modules/sonification.src.js +1 -1
  134. package/es-modules/masters/modules/static-scale.src.js +1 -1
  135. package/es-modules/masters/modules/stock-tools.src.js +1 -1
  136. package/es-modules/masters/modules/stock.src.js +1 -1
  137. package/es-modules/masters/modules/streamgraph.src.js +1 -1
  138. package/es-modules/masters/modules/sunburst.src.js +1 -1
  139. package/es-modules/masters/modules/textpath.src.js +1 -1
  140. package/es-modules/masters/modules/tiledwebmap.src.js +1 -1
  141. package/es-modules/masters/modules/tilemap.src.js +1 -1
  142. package/es-modules/masters/modules/timeline.src.js +1 -1
  143. package/es-modules/masters/modules/treegraph.src.js +1 -1
  144. package/es-modules/masters/modules/treegrid.src.js +1 -1
  145. package/es-modules/masters/modules/treemap.src.js +1 -1
  146. package/es-modules/masters/modules/variable-pie.src.js +1 -1
  147. package/es-modules/masters/modules/variwide.src.js +1 -1
  148. package/es-modules/masters/modules/vector.src.js +1 -1
  149. package/es-modules/masters/modules/venn.src.js +1 -1
  150. package/es-modules/masters/modules/windbarb.src.js +1 -1
  151. package/es-modules/masters/modules/wordcloud.src.js +1 -1
  152. package/es-modules/masters/modules/xrange.src.js +1 -1
  153. package/es-modules/masters/standalone-navigator.src.js +1 -1
  154. package/es-modules/masters/themes/adaptive.src.js +1 -1
  155. package/es-modules/masters/themes/avocado.src.js +1 -1
  156. package/es-modules/masters/themes/brand-dark.src.js +1 -1
  157. package/es-modules/masters/themes/brand-light.src.js +1 -1
  158. package/es-modules/masters/themes/dark-blue.src.js +1 -1
  159. package/es-modules/masters/themes/dark-green.src.js +1 -1
  160. package/es-modules/masters/themes/dark-unica.src.js +1 -1
  161. package/es-modules/masters/themes/gray.src.js +1 -1
  162. package/es-modules/masters/themes/grid-light.src.js +1 -1
  163. package/es-modules/masters/themes/grid.src.js +1 -1
  164. package/es-modules/masters/themes/high-contrast-dark.src.js +1 -1
  165. package/es-modules/masters/themes/high-contrast-light.src.js +1 -1
  166. package/es-modules/masters/themes/sand-signika.src.js +1 -1
  167. package/es-modules/masters/themes/skies.src.js +1 -1
  168. package/es-modules/masters/themes/sunset.src.js +1 -1
  169. package/es-modules/tsconfig.tsbuildinfo +1 -1
  170. package/esm/highcharts-3d.js +1 -1
  171. package/esm/highcharts-3d.src.js +1 -1
  172. package/esm/highcharts-gantt.js +1 -1
  173. package/esm/highcharts-gantt.src.js +1 -1
  174. package/esm/highcharts-more.js +1 -1
  175. package/esm/highcharts-more.src.js +1 -1
  176. package/esm/highcharts.js +3 -3
  177. package/esm/highcharts.src.js +48 -16
  178. package/esm/highmaps.js +1 -1
  179. package/esm/highmaps.src.js +1 -1
  180. package/esm/highstock.js +1 -1
  181. package/esm/highstock.src.js +1 -1
  182. package/esm/i18n/fr-FR.js +1 -1
  183. package/esm/i18n/fr-FR.src.js +1 -1
  184. package/esm/i18n/nb-NO.js +1 -1
  185. package/esm/i18n/nb-NO.src.js +1 -1
  186. package/esm/i18n/zh-CN.js +1 -1
  187. package/esm/i18n/zh-CN.src.js +1 -1
  188. package/esm/indicators/acceleration-bands.js +1 -1
  189. package/esm/indicators/acceleration-bands.src.js +1 -1
  190. package/esm/indicators/accumulation-distribution.js +1 -1
  191. package/esm/indicators/accumulation-distribution.src.js +1 -1
  192. package/esm/indicators/ao.js +1 -1
  193. package/esm/indicators/ao.src.js +1 -1
  194. package/esm/indicators/apo.js +1 -1
  195. package/esm/indicators/apo.src.js +1 -1
  196. package/esm/indicators/aroon-oscillator.js +1 -1
  197. package/esm/indicators/aroon-oscillator.src.js +1 -1
  198. package/esm/indicators/aroon.js +1 -1
  199. package/esm/indicators/aroon.src.js +1 -1
  200. package/esm/indicators/atr.js +1 -1
  201. package/esm/indicators/atr.src.js +1 -1
  202. package/esm/indicators/bollinger-bands.js +1 -1
  203. package/esm/indicators/bollinger-bands.src.js +1 -1
  204. package/esm/indicators/cci.js +1 -1
  205. package/esm/indicators/cci.src.js +1 -1
  206. package/esm/indicators/chaikin.js +1 -1
  207. package/esm/indicators/chaikin.src.js +1 -1
  208. package/esm/indicators/cmf.js +1 -1
  209. package/esm/indicators/cmf.src.js +1 -1
  210. package/esm/indicators/cmo.js +1 -1
  211. package/esm/indicators/cmo.src.js +1 -1
  212. package/esm/indicators/dema.js +1 -1
  213. package/esm/indicators/dema.src.js +1 -1
  214. package/esm/indicators/disparity-index.js +1 -1
  215. package/esm/indicators/disparity-index.src.js +1 -1
  216. package/esm/indicators/dmi.js +1 -1
  217. package/esm/indicators/dmi.src.js +1 -1
  218. package/esm/indicators/dpo.js +1 -1
  219. package/esm/indicators/dpo.src.js +1 -1
  220. package/esm/indicators/ichimoku-kinko-hyo.js +1 -1
  221. package/esm/indicators/ichimoku-kinko-hyo.src.js +1 -1
  222. package/esm/indicators/indicators-all.js +1 -1
  223. package/esm/indicators/indicators-all.src.js +1 -1
  224. package/esm/indicators/indicators.js +1 -1
  225. package/esm/indicators/indicators.src.js +1 -1
  226. package/esm/indicators/keltner-channels.js +1 -1
  227. package/esm/indicators/keltner-channels.src.js +1 -1
  228. package/esm/indicators/klinger.js +1 -1
  229. package/esm/indicators/klinger.src.js +1 -1
  230. package/esm/indicators/macd.js +1 -1
  231. package/esm/indicators/macd.src.js +1 -1
  232. package/esm/indicators/mfi.js +1 -1
  233. package/esm/indicators/mfi.src.js +1 -1
  234. package/esm/indicators/momentum.js +1 -1
  235. package/esm/indicators/momentum.src.js +1 -1
  236. package/esm/indicators/natr.js +1 -1
  237. package/esm/indicators/natr.src.js +1 -1
  238. package/esm/indicators/obv.js +1 -1
  239. package/esm/indicators/obv.src.js +1 -1
  240. package/esm/indicators/pivot-points.js +1 -1
  241. package/esm/indicators/pivot-points.src.js +1 -1
  242. package/esm/indicators/ppo.js +1 -1
  243. package/esm/indicators/ppo.src.js +1 -1
  244. package/esm/indicators/price-channel.js +1 -1
  245. package/esm/indicators/price-channel.src.js +1 -1
  246. package/esm/indicators/price-envelopes.js +1 -1
  247. package/esm/indicators/price-envelopes.src.js +1 -1
  248. package/esm/indicators/psar.js +1 -1
  249. package/esm/indicators/psar.src.js +1 -1
  250. package/esm/indicators/regressions.js +1 -1
  251. package/esm/indicators/regressions.src.js +1 -1
  252. package/esm/indicators/roc.js +1 -1
  253. package/esm/indicators/roc.src.js +1 -1
  254. package/esm/indicators/rsi.js +1 -1
  255. package/esm/indicators/rsi.src.js +1 -1
  256. package/esm/indicators/slow-stochastic.js +1 -1
  257. package/esm/indicators/slow-stochastic.src.js +1 -1
  258. package/esm/indicators/stochastic.js +1 -1
  259. package/esm/indicators/stochastic.src.js +1 -1
  260. package/esm/indicators/supertrend.js +1 -1
  261. package/esm/indicators/supertrend.src.js +1 -1
  262. package/esm/indicators/tema.js +1 -1
  263. package/esm/indicators/tema.src.js +1 -1
  264. package/esm/indicators/trendline.js +1 -1
  265. package/esm/indicators/trendline.src.js +1 -1
  266. package/esm/indicators/trix.js +1 -1
  267. package/esm/indicators/trix.src.js +1 -1
  268. package/esm/indicators/volume-by-price.js +1 -1
  269. package/esm/indicators/volume-by-price.src.js +1 -1
  270. package/esm/indicators/vwap.js +1 -1
  271. package/esm/indicators/vwap.src.js +1 -1
  272. package/esm/indicators/williams-r.js +1 -1
  273. package/esm/indicators/williams-r.src.js +1 -1
  274. package/esm/indicators/wma.js +1 -1
  275. package/esm/indicators/wma.src.js +1 -1
  276. package/esm/indicators/zigzag.js +1 -1
  277. package/esm/indicators/zigzag.src.js +1 -1
  278. package/esm/modules/accessibility.js +1 -1
  279. package/esm/modules/accessibility.src.js +1 -1
  280. package/esm/modules/annotations-advanced.js +2 -2
  281. package/esm/modules/annotations-advanced.src.js +3 -3
  282. package/esm/modules/annotations.js +2 -2
  283. package/esm/modules/annotations.src.js +3 -3
  284. package/esm/modules/arc-diagram.js +1 -1
  285. package/esm/modules/arc-diagram.src.js +1 -1
  286. package/esm/modules/arrow-symbols.js +1 -1
  287. package/esm/modules/arrow-symbols.src.js +1 -1
  288. package/esm/modules/boost-canvas.js +1 -1
  289. package/esm/modules/boost-canvas.src.js +1 -1
  290. package/esm/modules/boost.js +1 -1
  291. package/esm/modules/boost.src.js +1 -1
  292. package/esm/modules/broken-axis.js +1 -1
  293. package/esm/modules/broken-axis.src.js +1 -1
  294. package/esm/modules/bullet.js +1 -1
  295. package/esm/modules/bullet.src.js +1 -1
  296. package/esm/modules/coloraxis.js +1 -1
  297. package/esm/modules/coloraxis.src.js +1 -1
  298. package/esm/modules/contour.js +1 -1
  299. package/esm/modules/contour.src.js +1 -1
  300. package/esm/modules/current-date-indicator.js +1 -1
  301. package/esm/modules/current-date-indicator.src.js +1 -1
  302. package/esm/modules/cylinder.js +1 -1
  303. package/esm/modules/cylinder.src.js +1 -1
  304. package/esm/modules/data-tools.js +1 -1
  305. package/esm/modules/data-tools.src.js +1 -1
  306. package/esm/modules/data.js +1 -1
  307. package/esm/modules/data.src.js +1 -1
  308. package/esm/modules/datagrouping.js +1 -1
  309. package/esm/modules/datagrouping.src.js +1 -1
  310. package/esm/modules/debugger.js +1 -1
  311. package/esm/modules/debugger.src.js +1 -1
  312. package/esm/modules/dependency-wheel.js +1 -1
  313. package/esm/modules/dependency-wheel.src.js +1 -1
  314. package/esm/modules/dotplot.js +1 -1
  315. package/esm/modules/dotplot.src.js +1 -1
  316. package/esm/modules/drag-panes.js +1 -1
  317. package/esm/modules/drag-panes.src.js +1 -1
  318. package/esm/modules/draggable-points.js +1 -1
  319. package/esm/modules/draggable-points.src.js +1 -1
  320. package/esm/modules/drilldown.js +2 -2
  321. package/esm/modules/drilldown.src.js +8 -6
  322. package/esm/modules/dumbbell.js +1 -1
  323. package/esm/modules/dumbbell.src.js +1 -1
  324. package/esm/modules/export-data.js +1 -1
  325. package/esm/modules/export-data.src.js +1 -1
  326. package/esm/modules/exporting.js +2 -2
  327. package/esm/modules/exporting.src.js +2 -2
  328. package/esm/modules/flowmap.js +1 -1
  329. package/esm/modules/flowmap.src.js +1 -1
  330. package/esm/modules/full-screen.js +1 -1
  331. package/esm/modules/full-screen.src.js +1 -1
  332. package/esm/modules/funnel.js +1 -1
  333. package/esm/modules/funnel.src.js +1 -1
  334. package/esm/modules/funnel3d.js +1 -1
  335. package/esm/modules/funnel3d.src.js +1 -1
  336. package/esm/modules/gantt.js +1 -1
  337. package/esm/modules/gantt.src.js +1 -1
  338. package/esm/modules/geoheatmap.js +1 -1
  339. package/esm/modules/geoheatmap.src.js +1 -1
  340. package/esm/modules/grid-axis.js +1 -1
  341. package/esm/modules/grid-axis.src.js +1 -1
  342. package/esm/modules/heatmap.js +1 -1
  343. package/esm/modules/heatmap.src.js +1 -1
  344. package/esm/modules/heikinashi.js +1 -1
  345. package/esm/modules/heikinashi.src.js +1 -1
  346. package/esm/modules/histogram-bellcurve.js +1 -1
  347. package/esm/modules/histogram-bellcurve.src.js +1 -1
  348. package/esm/modules/hollowcandlestick.js +1 -1
  349. package/esm/modules/hollowcandlestick.src.js +1 -1
  350. package/esm/modules/item-series.js +1 -1
  351. package/esm/modules/item-series.src.js +1 -1
  352. package/esm/modules/lollipop.js +1 -1
  353. package/esm/modules/lollipop.src.js +1 -1
  354. package/esm/modules/map.js +1 -1
  355. package/esm/modules/map.src.js +1 -1
  356. package/esm/modules/marker-clusters.js +1 -1
  357. package/esm/modules/marker-clusters.src.js +1 -1
  358. package/esm/modules/mouse-wheel-zoom.js +1 -1
  359. package/esm/modules/mouse-wheel-zoom.src.js +1 -1
  360. package/esm/modules/navigator.js +1 -1
  361. package/esm/modules/navigator.src.js +1 -1
  362. package/esm/modules/networkgraph.js +1 -1
  363. package/esm/modules/networkgraph.src.js +1 -1
  364. package/esm/modules/no-data-to-display.js +1 -1
  365. package/esm/modules/no-data-to-display.src.js +1 -1
  366. package/esm/modules/non-cartesian-zoom.js +1 -1
  367. package/esm/modules/non-cartesian-zoom.src.js +1 -1
  368. package/esm/modules/offline-exporting.js +1 -1
  369. package/esm/modules/offline-exporting.src.js +1 -1
  370. package/esm/modules/organization.js +1 -1
  371. package/esm/modules/organization.src.js +1 -1
  372. package/esm/modules/parallel-coordinates.js +1 -1
  373. package/esm/modules/parallel-coordinates.src.js +1 -1
  374. package/esm/modules/pareto.js +1 -1
  375. package/esm/modules/pareto.src.js +1 -1
  376. package/esm/modules/pathfinder.js +1 -1
  377. package/esm/modules/pathfinder.src.js +1 -1
  378. package/esm/modules/pattern-fill.js +1 -1
  379. package/esm/modules/pattern-fill.src.js +1 -1
  380. package/esm/modules/pictorial.js +1 -1
  381. package/esm/modules/pictorial.src.js +1 -1
  382. package/esm/modules/pointandfigure.js +1 -1
  383. package/esm/modules/pointandfigure.src.js +1 -1
  384. package/esm/modules/price-indicator.js +1 -1
  385. package/esm/modules/price-indicator.src.js +1 -1
  386. package/esm/modules/pyramid3d.js +1 -1
  387. package/esm/modules/pyramid3d.src.js +1 -1
  388. package/esm/modules/renko.js +1 -1
  389. package/esm/modules/renko.src.js +1 -1
  390. package/esm/modules/sankey.js +1 -1
  391. package/esm/modules/sankey.src.js +1 -1
  392. package/esm/modules/series-label.js +1 -1
  393. package/esm/modules/series-label.src.js +1 -1
  394. package/esm/modules/series-on-point.js +1 -1
  395. package/esm/modules/series-on-point.src.js +1 -1
  396. package/esm/modules/solid-gauge.js +1 -1
  397. package/esm/modules/solid-gauge.src.js +1 -1
  398. package/esm/modules/sonification.js +1 -1
  399. package/esm/modules/sonification.src.js +1 -1
  400. package/esm/modules/static-scale.js +1 -1
  401. package/esm/modules/static-scale.src.js +1 -1
  402. package/esm/modules/stock-tools.js +2 -2
  403. package/esm/modules/stock-tools.src.js +3 -3
  404. package/esm/modules/stock.js +1 -1
  405. package/esm/modules/stock.src.js +1 -1
  406. package/esm/modules/streamgraph.js +1 -1
  407. package/esm/modules/streamgraph.src.js +1 -1
  408. package/esm/modules/sunburst.js +2 -2
  409. package/esm/modules/sunburst.src.js +8 -6
  410. package/esm/modules/textpath.js +1 -1
  411. package/esm/modules/textpath.src.js +1 -1
  412. package/esm/modules/tiledwebmap.js +1 -1
  413. package/esm/modules/tiledwebmap.src.js +1 -1
  414. package/esm/modules/tilemap.js +1 -1
  415. package/esm/modules/tilemap.src.js +1 -1
  416. package/esm/modules/timeline.js +1 -1
  417. package/esm/modules/timeline.src.js +1 -1
  418. package/esm/modules/treegraph.js +1 -1
  419. package/esm/modules/treegraph.src.js +1 -1
  420. package/esm/modules/treegrid.js +1 -1
  421. package/esm/modules/treegrid.src.js +1 -1
  422. package/esm/modules/treemap.js +2 -2
  423. package/esm/modules/treemap.src.js +8 -6
  424. package/esm/modules/variable-pie.js +1 -1
  425. package/esm/modules/variable-pie.src.js +1 -1
  426. package/esm/modules/variwide.js +1 -1
  427. package/esm/modules/variwide.src.js +1 -1
  428. package/esm/modules/vector.js +1 -1
  429. package/esm/modules/vector.src.js +1 -1
  430. package/esm/modules/venn.js +1 -1
  431. package/esm/modules/venn.src.js +1 -1
  432. package/esm/modules/windbarb.js +1 -1
  433. package/esm/modules/windbarb.src.js +1 -1
  434. package/esm/modules/wordcloud.js +1 -1
  435. package/esm/modules/wordcloud.src.js +1 -1
  436. package/esm/modules/xrange.js +1 -1
  437. package/esm/modules/xrange.src.js +1 -1
  438. package/esm/standalone-navigator.js +3 -3
  439. package/esm/standalone-navigator.src.js +50 -18
  440. package/esm/themes/adaptive.js +1 -1
  441. package/esm/themes/adaptive.src.js +1 -1
  442. package/esm/themes/avocado.js +1 -1
  443. package/esm/themes/avocado.src.js +1 -1
  444. package/esm/themes/brand-dark.js +1 -1
  445. package/esm/themes/brand-dark.src.js +1 -1
  446. package/esm/themes/brand-light.js +1 -1
  447. package/esm/themes/brand-light.src.js +1 -1
  448. package/esm/themes/dark-blue.js +1 -1
  449. package/esm/themes/dark-blue.src.js +1 -1
  450. package/esm/themes/dark-green.js +1 -1
  451. package/esm/themes/dark-green.src.js +1 -1
  452. package/esm/themes/dark-unica.js +1 -1
  453. package/esm/themes/dark-unica.src.js +1 -1
  454. package/esm/themes/gray.js +1 -1
  455. package/esm/themes/gray.src.js +1 -1
  456. package/esm/themes/grid-light.js +1 -1
  457. package/esm/themes/grid-light.src.js +1 -1
  458. package/esm/themes/grid.js +1 -1
  459. package/esm/themes/grid.src.js +1 -1
  460. package/esm/themes/high-contrast-dark.js +1 -1
  461. package/esm/themes/high-contrast-dark.src.js +1 -1
  462. package/esm/themes/high-contrast-light.js +1 -1
  463. package/esm/themes/high-contrast-light.src.js +1 -1
  464. package/esm/themes/sand-signika.js +1 -1
  465. package/esm/themes/sand-signika.src.js +1 -1
  466. package/esm/themes/skies.js +1 -1
  467. package/esm/themes/skies.src.js +1 -1
  468. package/esm/themes/sunset.js +1 -1
  469. package/esm/themes/sunset.src.js +1 -1
  470. package/highcharts-3d.js +1 -1
  471. package/highcharts-3d.src.js +1 -1
  472. package/highcharts-gantt.js +3 -3
  473. package/highcharts-gantt.src.js +53 -21
  474. package/highcharts-more.js +1 -1
  475. package/highcharts-more.src.js +1 -1
  476. package/highcharts.d.ts +5 -2
  477. package/highcharts.js +3 -3
  478. package/highcharts.src.d.ts +5 -2
  479. package/highcharts.src.js +48 -16
  480. package/highmaps.js +3 -3
  481. package/highmaps.src.js +51 -19
  482. package/highstock.js +3 -3
  483. package/highstock.src.js +53 -21
  484. package/i18n/fr-FR.js +1 -1
  485. package/i18n/fr-FR.src.js +1 -1
  486. package/i18n/nb-NO.js +1 -1
  487. package/i18n/nb-NO.src.js +1 -1
  488. package/i18n/zh-CN.js +1 -1
  489. package/i18n/zh-CN.src.js +1 -1
  490. package/indicators/acceleration-bands.js +1 -1
  491. package/indicators/acceleration-bands.src.js +1 -1
  492. package/indicators/accumulation-distribution.js +1 -1
  493. package/indicators/accumulation-distribution.src.js +1 -1
  494. package/indicators/ao.js +1 -1
  495. package/indicators/ao.src.js +1 -1
  496. package/indicators/apo.js +1 -1
  497. package/indicators/apo.src.js +1 -1
  498. package/indicators/aroon-oscillator.js +1 -1
  499. package/indicators/aroon-oscillator.src.js +1 -1
  500. package/indicators/aroon.js +1 -1
  501. package/indicators/aroon.src.js +1 -1
  502. package/indicators/atr.js +1 -1
  503. package/indicators/atr.src.js +1 -1
  504. package/indicators/bollinger-bands.js +1 -1
  505. package/indicators/bollinger-bands.src.js +1 -1
  506. package/indicators/cci.js +1 -1
  507. package/indicators/cci.src.js +1 -1
  508. package/indicators/chaikin.js +1 -1
  509. package/indicators/chaikin.src.js +1 -1
  510. package/indicators/cmf.js +1 -1
  511. package/indicators/cmf.src.js +1 -1
  512. package/indicators/cmo.js +1 -1
  513. package/indicators/cmo.src.js +1 -1
  514. package/indicators/dema.js +1 -1
  515. package/indicators/dema.src.js +1 -1
  516. package/indicators/disparity-index.js +1 -1
  517. package/indicators/disparity-index.src.js +1 -1
  518. package/indicators/dmi.js +1 -1
  519. package/indicators/dmi.src.js +1 -1
  520. package/indicators/dpo.js +1 -1
  521. package/indicators/dpo.src.js +1 -1
  522. package/indicators/ichimoku-kinko-hyo.js +1 -1
  523. package/indicators/ichimoku-kinko-hyo.src.js +1 -1
  524. package/indicators/indicators-all.js +1 -1
  525. package/indicators/indicators-all.src.js +1 -1
  526. package/indicators/indicators.js +1 -1
  527. package/indicators/indicators.src.js +1 -1
  528. package/indicators/keltner-channels.js +1 -1
  529. package/indicators/keltner-channels.src.js +1 -1
  530. package/indicators/klinger.js +1 -1
  531. package/indicators/klinger.src.js +1 -1
  532. package/indicators/macd.js +1 -1
  533. package/indicators/macd.src.js +1 -1
  534. package/indicators/mfi.js +1 -1
  535. package/indicators/mfi.src.js +1 -1
  536. package/indicators/momentum.js +1 -1
  537. package/indicators/momentum.src.js +1 -1
  538. package/indicators/natr.js +1 -1
  539. package/indicators/natr.src.js +1 -1
  540. package/indicators/obv.js +1 -1
  541. package/indicators/obv.src.js +1 -1
  542. package/indicators/pivot-points.js +1 -1
  543. package/indicators/pivot-points.src.js +1 -1
  544. package/indicators/ppo.js +1 -1
  545. package/indicators/ppo.src.js +1 -1
  546. package/indicators/price-channel.js +1 -1
  547. package/indicators/price-channel.src.js +1 -1
  548. package/indicators/price-envelopes.js +1 -1
  549. package/indicators/price-envelopes.src.js +1 -1
  550. package/indicators/psar.js +1 -1
  551. package/indicators/psar.src.js +1 -1
  552. package/indicators/regressions.js +1 -1
  553. package/indicators/regressions.src.js +1 -1
  554. package/indicators/roc.js +1 -1
  555. package/indicators/roc.src.js +1 -1
  556. package/indicators/rsi.js +1 -1
  557. package/indicators/rsi.src.js +1 -1
  558. package/indicators/slow-stochastic.js +1 -1
  559. package/indicators/slow-stochastic.src.js +1 -1
  560. package/indicators/stochastic.js +1 -1
  561. package/indicators/stochastic.src.js +1 -1
  562. package/indicators/supertrend.js +1 -1
  563. package/indicators/supertrend.src.js +1 -1
  564. package/indicators/tema.js +1 -1
  565. package/indicators/tema.src.js +1 -1
  566. package/indicators/trendline.js +1 -1
  567. package/indicators/trendline.src.js +1 -1
  568. package/indicators/trix.js +1 -1
  569. package/indicators/trix.src.js +1 -1
  570. package/indicators/volume-by-price.js +1 -1
  571. package/indicators/volume-by-price.src.js +1 -1
  572. package/indicators/vwap.js +1 -1
  573. package/indicators/vwap.src.js +1 -1
  574. package/indicators/williams-r.js +1 -1
  575. package/indicators/williams-r.src.js +1 -1
  576. package/indicators/wma.js +1 -1
  577. package/indicators/wma.src.js +1 -1
  578. package/indicators/zigzag.js +1 -1
  579. package/indicators/zigzag.src.js +1 -1
  580. package/modules/accessibility.js +1 -1
  581. package/modules/accessibility.src.js +1 -1
  582. package/modules/annotations-advanced.js +2 -2
  583. package/modules/annotations-advanced.src.js +3 -3
  584. package/modules/annotations.js +2 -2
  585. package/modules/annotations.src.js +3 -3
  586. package/modules/arc-diagram.js +1 -1
  587. package/modules/arc-diagram.src.js +1 -1
  588. package/modules/arrow-symbols.js +1 -1
  589. package/modules/arrow-symbols.src.js +1 -1
  590. package/modules/boost-canvas.js +1 -1
  591. package/modules/boost-canvas.src.js +1 -1
  592. package/modules/boost.js +1 -1
  593. package/modules/boost.src.js +1 -1
  594. package/modules/broken-axis.js +1 -1
  595. package/modules/broken-axis.src.js +1 -1
  596. package/modules/bullet.js +1 -1
  597. package/modules/bullet.src.js +1 -1
  598. package/modules/coloraxis.js +1 -1
  599. package/modules/coloraxis.src.js +1 -1
  600. package/modules/contour.js +2 -2
  601. package/modules/contour.src.js +2 -2
  602. package/modules/current-date-indicator.js +1 -1
  603. package/modules/current-date-indicator.src.js +1 -1
  604. package/modules/cylinder.js +1 -1
  605. package/modules/cylinder.src.js +1 -1
  606. package/modules/data-tools.js +1 -1
  607. package/modules/data-tools.src.js +1 -1
  608. package/modules/data.js +1 -1
  609. package/modules/data.src.js +1 -1
  610. package/modules/datagrouping.js +1 -1
  611. package/modules/datagrouping.src.js +1 -1
  612. package/modules/debugger.js +1 -1
  613. package/modules/debugger.src.js +1 -1
  614. package/modules/dependency-wheel.js +1 -1
  615. package/modules/dependency-wheel.src.js +1 -1
  616. package/modules/dotplot.js +1 -1
  617. package/modules/dotplot.src.js +1 -1
  618. package/modules/drag-panes.js +1 -1
  619. package/modules/drag-panes.src.js +1 -1
  620. package/modules/draggable-points.js +1 -1
  621. package/modules/draggable-points.src.js +1 -1
  622. package/modules/drilldown.js +2 -2
  623. package/modules/drilldown.src.js +8 -6
  624. package/modules/dumbbell.js +1 -1
  625. package/modules/dumbbell.src.js +1 -1
  626. package/modules/export-data.js +1 -1
  627. package/modules/export-data.src.js +1 -1
  628. package/modules/exporting.js +2 -2
  629. package/modules/exporting.src.js +2 -2
  630. package/modules/flowmap.js +1 -1
  631. package/modules/flowmap.src.js +1 -1
  632. package/modules/full-screen.js +1 -1
  633. package/modules/full-screen.src.js +1 -1
  634. package/modules/funnel.js +1 -1
  635. package/modules/funnel.src.js +1 -1
  636. package/modules/funnel3d.js +1 -1
  637. package/modules/funnel3d.src.js +1 -1
  638. package/modules/gantt.js +3 -3
  639. package/modules/gantt.src.js +4 -4
  640. package/modules/geoheatmap.js +1 -1
  641. package/modules/geoheatmap.src.js +1 -1
  642. package/modules/grid-axis.js +1 -1
  643. package/modules/grid-axis.src.js +1 -1
  644. package/modules/heatmap.js +2 -2
  645. package/modules/heatmap.src.js +2 -2
  646. package/modules/heikinashi.js +1 -1
  647. package/modules/heikinashi.src.js +1 -1
  648. package/modules/histogram-bellcurve.js +1 -1
  649. package/modules/histogram-bellcurve.src.js +1 -1
  650. package/modules/hollowcandlestick.js +1 -1
  651. package/modules/hollowcandlestick.src.js +1 -1
  652. package/modules/item-series.js +1 -1
  653. package/modules/item-series.src.js +1 -1
  654. package/modules/lollipop.js +1 -1
  655. package/modules/lollipop.src.js +1 -1
  656. package/modules/map.js +2 -2
  657. package/modules/map.src.js +2 -2
  658. package/modules/marker-clusters.js +1 -1
  659. package/modules/marker-clusters.src.js +1 -1
  660. package/modules/mouse-wheel-zoom.js +1 -1
  661. package/modules/mouse-wheel-zoom.src.js +1 -1
  662. package/modules/navigator.js +1 -1
  663. package/modules/navigator.src.js +1 -1
  664. package/modules/networkgraph.js +1 -1
  665. package/modules/networkgraph.src.js +1 -1
  666. package/modules/no-data-to-display.js +1 -1
  667. package/modules/no-data-to-display.src.js +1 -1
  668. package/modules/non-cartesian-zoom.js +1 -1
  669. package/modules/non-cartesian-zoom.src.js +1 -1
  670. package/modules/offline-exporting.js +1 -1
  671. package/modules/offline-exporting.src.js +1 -1
  672. package/modules/organization.js +1 -1
  673. package/modules/organization.src.js +1 -1
  674. package/modules/parallel-coordinates.js +1 -1
  675. package/modules/parallel-coordinates.src.js +1 -1
  676. package/modules/pareto.js +1 -1
  677. package/modules/pareto.src.js +1 -1
  678. package/modules/pathfinder.js +1 -1
  679. package/modules/pathfinder.src.js +1 -1
  680. package/modules/pattern-fill.js +1 -1
  681. package/modules/pattern-fill.src.js +1 -1
  682. package/modules/pictorial.js +1 -1
  683. package/modules/pictorial.src.js +1 -1
  684. package/modules/pointandfigure.js +1 -1
  685. package/modules/pointandfigure.src.js +1 -1
  686. package/modules/price-indicator.js +1 -1
  687. package/modules/price-indicator.src.js +1 -1
  688. package/modules/pyramid3d.js +1 -1
  689. package/modules/pyramid3d.src.js +1 -1
  690. package/modules/renko.js +1 -1
  691. package/modules/renko.src.js +1 -1
  692. package/modules/sankey.js +1 -1
  693. package/modules/sankey.src.js +1 -1
  694. package/modules/series-label.js +1 -1
  695. package/modules/series-label.src.js +1 -1
  696. package/modules/series-on-point.js +1 -1
  697. package/modules/series-on-point.src.js +1 -1
  698. package/modules/solid-gauge.js +1 -1
  699. package/modules/solid-gauge.src.js +1 -1
  700. package/modules/sonification.js +1 -1
  701. package/modules/sonification.src.js +1 -1
  702. package/modules/static-scale.js +1 -1
  703. package/modules/static-scale.src.js +1 -1
  704. package/modules/stock-tools.js +2 -2
  705. package/modules/stock-tools.src.js +3 -3
  706. package/modules/stock.js +3 -3
  707. package/modules/stock.src.js +4 -4
  708. package/modules/streamgraph.js +1 -1
  709. package/modules/streamgraph.src.js +1 -1
  710. package/modules/sunburst.js +2 -2
  711. package/modules/sunburst.src.js +8 -6
  712. package/modules/textpath.js +1 -1
  713. package/modules/textpath.src.js +1 -1
  714. package/modules/tiledwebmap.js +1 -1
  715. package/modules/tiledwebmap.src.js +1 -1
  716. package/modules/tilemap.js +1 -1
  717. package/modules/tilemap.src.js +1 -1
  718. package/modules/timeline.js +1 -1
  719. package/modules/timeline.src.js +1 -1
  720. package/modules/treegraph.js +1 -1
  721. package/modules/treegraph.src.js +1 -1
  722. package/modules/treegrid.js +1 -1
  723. package/modules/treegrid.src.js +1 -1
  724. package/modules/treemap.js +2 -2
  725. package/modules/treemap.src.js +8 -6
  726. package/modules/variable-pie.js +1 -1
  727. package/modules/variable-pie.src.js +1 -1
  728. package/modules/variwide.js +1 -1
  729. package/modules/variwide.src.js +1 -1
  730. package/modules/vector.js +1 -1
  731. package/modules/vector.src.js +1 -1
  732. package/modules/venn.js +1 -1
  733. package/modules/venn.src.js +1 -1
  734. package/modules/windbarb.js +1 -1
  735. package/modules/windbarb.src.js +1 -1
  736. package/modules/wordcloud.js +1 -1
  737. package/modules/wordcloud.src.js +1 -1
  738. package/modules/xrange.js +1 -1
  739. package/modules/xrange.src.js +1 -1
  740. package/options/sunburst.d.ts +1 -1
  741. package/options/sunburst.src.d.ts +1 -1
  742. package/options/treemap.d.ts +1 -1
  743. package/options/treemap.src.d.ts +1 -1
  744. package/package.json +1 -1
  745. package/standalone-navigator.js +3 -3
  746. package/standalone-navigator.src.js +50 -18
  747. package/themes/adaptive.js +1 -1
  748. package/themes/adaptive.src.js +1 -1
  749. package/themes/avocado.js +1 -1
  750. package/themes/avocado.src.js +1 -1
  751. package/themes/brand-dark.js +1 -1
  752. package/themes/brand-dark.src.js +1 -1
  753. package/themes/brand-light.js +1 -1
  754. package/themes/brand-light.src.js +1 -1
  755. package/themes/dark-blue.js +1 -1
  756. package/themes/dark-blue.src.js +1 -1
  757. package/themes/dark-green.js +1 -1
  758. package/themes/dark-green.src.js +1 -1
  759. package/themes/dark-unica.js +1 -1
  760. package/themes/dark-unica.src.js +1 -1
  761. package/themes/gray.js +1 -1
  762. package/themes/gray.src.js +1 -1
  763. package/themes/grid-light.js +1 -1
  764. package/themes/grid-light.src.js +1 -1
  765. package/themes/grid.js +1 -1
  766. package/themes/grid.src.js +1 -1
  767. package/themes/high-contrast-dark.js +1 -1
  768. package/themes/high-contrast-dark.src.js +1 -1
  769. package/themes/high-contrast-light.js +1 -1
  770. package/themes/high-contrast-light.src.js +1 -1
  771. package/themes/sand-signika.js +1 -1
  772. package/themes/sand-signika.src.js +1 -1
  773. package/themes/skies.js +1 -1
  774. package/themes/skies.src.js +1 -1
  775. package/themes/sunset.js +1 -1
  776. package/themes/sunset.src.js +1 -1
  777. package/.github/workflows/codeql.yml +0 -99
@@ -1,5 +1,5 @@
1
1
  !/**
2
- * Highcharts JS v12.6.0 (2026-04-13)
2
+ * Highcharts JS v12.6.2 (2026-09-21)
3
3
  * @module highcharts/modules/annotations
4
4
  * @requires highcharts
5
5
  *
@@ -10,4 +10,4 @@
10
10
  *
11
11
  * A commercial license may be required depending on use.
12
12
  * See www.highcharts.com/license
13
- */function(t,i){"object"==typeof exports&&"object"==typeof module?module.exports=i(t._Highcharts,t._Highcharts.SeriesRegistry,t._Highcharts.Templating,t._Highcharts.AST,t._Highcharts.Color):"function"==typeof define&&define.amd?define("highcharts/modules/annotations",["highcharts/highcharts"],function(t){return i(t,t.SeriesRegistry,t.Templating,t.AST,t.Color)}):"object"==typeof exports?exports["highcharts/modules/annotations"]=i(t._Highcharts,t._Highcharts.SeriesRegistry,t._Highcharts.Templating,t._Highcharts.AST,t._Highcharts.Color):t.Highcharts=i(t.Highcharts,t.Highcharts.SeriesRegistry,t.Highcharts.Templating,t.Highcharts.AST,t.Highcharts.Color)}("u"<typeof window?this:window,(t,i,e,s,o)=>(()=>{"use strict";var n,a,r,h,l,c={512:t=>{t.exports=i},620:t=>{t.exports=o},660:t=>{t.exports=s},944:i=>{i.exports=t},984:t=>{t.exports=e}},p={};function d(t){var i=p[t];if(void 0!==i)return i.exports;var e=p[t]={exports:{}};return c[t](e,e.exports,d),e.exports}d.n=t=>{var i=t&&t.__esModule?()=>t.default:()=>t;return d.d(i,{a:i}),i},d.d=(t,i)=>{for(var e in i)d.o(i,e)&&!d.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:i[e]})},d.o=(t,i)=>Object.prototype.hasOwnProperty.call(t,i);var u={};d.d(u,{default:()=>iA});var g=d(944),f=d.n(g);let{doc:y,win:m}=f();function v(t,i,e,s={}){let o="function"==typeof t&&t.prototype||t;Object.hasOwnProperty.call(o,"hcEvents")||(o.hcEvents={});let n=o.hcEvents;f().Point&&t instanceof f().Point&&t.series&&t.series.chart&&(t.series.chart.runTrackerClick=!0);let a=t.addEventListener;a&&a.call(t,i,e,!!f().supportsPassiveEvents&&{passive:void 0===s.passive?-1!==i.indexOf("touch"):s.passive,capture:!1}),n[i]||(n[i]=[]);let r={fn:e,order:"number"==typeof s.order?s.order:1/0};return n[i].push(r),n[i].sort((t,i)=>t.order-i.order),function(){D(t,i,e)}}function x(t,i,e,s,o){var n,a,r;let h=y.createElement(t);return i&&k(h,i),o&&(n={padding:"0",border:"none",margin:"0"},k(h.style,n)),e&&(a=h,r=e,k(a.style,r)),s&&s.appendChild(h),h}function b(t){return null!=t}function A(t,i){let e=t.length;for(;e--;)if(t[e]===i){t.splice(e,1);break}}function k(t,i){let e;for(e in t||(t={}),i)t[e]=i[e];return t}function w(t,i,e,s){if(e=e||{},y?.createEvent&&(t.dispatchEvent||t.fireEvent&&t!==f())){let s=y.createEvent("Events");s.initEvent(i,!0,!0),e=k(s,e),t.dispatchEvent?t.dispatchEvent(e):t.fireEvent(i,e)}else if(t.hcEvents){e.target||k(e,{preventDefault:function(){e.defaultPrevented=!0},target:t,type:i});let s=[],o=t,n=!1;for(;o.hcEvents;)Object.hasOwnProperty.call(o,"hcEvents")&&o.hcEvents[i]&&(s.length&&(n=!0),s.unshift.apply(s,o.hcEvents[i])),o=Object.getPrototypeOf(o);n&&s.sort((t,i)=>t.order-i.order),s.forEach(i=>{!1===i.fn.call(t,e,t)&&e.preventDefault()})}s&&!e.defaultPrevented&&s.call(t,e)}let C=(t="")=>({center:.5,right:1,middle:.5,bottom:1})[t]||0,P=Array.prototype.find?function(t,i){return t.find(i)}:function(t,i){let e,s=t.length;for(e=0;e<s;e++)if(i(t[e],e))return t[e]};function E(t){return M(t)&&"number"==typeof t.nodeType}function O(t){return"number"==typeof t&&!isNaN(t)&&t<1/0&&t>-1/0}function B(t){return"string"==typeof t}function N(t){let i=Object.prototype.toString.call(t);return"[object Array]"===i||"[object Array Iterator]"===i}function M(t,i){return!!t&&"object"==typeof t&&(!i||!N(t))}function T(t,...i){let e,s=[t,...i],o={},n=function(t,i){return"object"!=typeof t&&(t={}),I(i,function(e,s){if("__proto__"!==s&&"constructor"!==s){let o;!M(e,!0)||(o=e?.constructor,M(e,!0)&&!E(e)&&o?.name&&"Object"!==o.name)||E(e)?t[s]=i[s]:t[s]=n(t[s]||{},e)}}),t};!0===t&&(o=s[1],s=Array.prototype.slice.call(s,2));let a=s.length;for(e=0;e<a;e++)o=n(o,s[e]);return o}function I(t,i,e){for(let s in t)Object.hasOwnProperty.call(t,s)&&i.call(e||t[s],t[s],s,t)}function S(){let t=arguments,i=t.length;for(let e=0;e<i;e++){let i=t[e];if(null!=i)return i}}function L(t,i){return 0>t.indexOf(i)&&!!t.push(i)}function D(t,i,e){function s(i,e){let s=t.removeEventListener;s&&s.call(t,i,e,!1)}function o(e){let o,n;t.nodeName&&(i?(o={})[i]=!0:o=e,I(o,function(t,i){if(e[i])for(n=e[i].length;n--;)s(i,e[i][n].fn)}))}let n="function"==typeof t&&t.prototype||t;if(Object.hasOwnProperty.call(n,"hcEvents")){let t=n.hcEvents;if(i){let n=t[i]||[];e?(t[i]=n.filter(function(t){return e!==t.fn}),s(i,e)):(o(t),t[i]=[])}else o(t),delete n.hcEvents}}function Y(t,i){let e,s,o=t.length;for(s=0;s<o;s++)t[s].safeI=s;for(t.sort(function(t,s){return 0===(e=i(t,s))?t.safeI-s.safeI:e}),s=0;s<o;s++)delete t[s].safeI}function X(t,i,e){let s=t[i];t[i]=function(){let t=arguments,i=this;return e.apply(this,[function(){return s.apply(i,arguments.length?arguments:t)}].concat([].slice.call(arguments)))}}function R(t,i){let e=this.initAnnotation(t);return this.options.annotations.push(e.options),S(i,!0)&&(e.redraw(),e.graphic.attr({opacity:1})),e}function F(){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((i,e)=>{if(!t.annotations.some(t=>t.options===i)){let s=t.initAnnotation(i);t.options.annotations[e]=s.options}}),t.drawAnnotations(),v(t,"redraw",t.drawAnnotations),v(t,"destroy",function(){t.plotBoxClip.destroy(),t.controlPointsGroup.destroy()}),v(t,"exportData",function(i){let e=t.annotations,s=(this.options.exporting&&this.options.exporting.csv||{}).columnHeaderFormatter,o=!i.dataRows[1].xValues,n=t.options.lang&&t.options.lang.exportData&&t.options.lang.exportData.annotationHeader,a=i.dataRows[0].length,r=t.options.exporting?.csv?.annotations?.itemDelimiter,h=t.options.exporting?.csv?.annotations?.join;e.forEach(t=>{t.options.labelOptions?.includeInDataExport&&t.labels.forEach(t=>{if(t.options.text){let e=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=i.dataRows[0].length,a=Array(t);for(let i=0;i<t;++i)a[i]="";a.push(e),a.xValues=[],a.xValues[o]=s,i.dataRows.push(a),n=!0}if(n||i.dataRows.forEach(t=>{!n&&t.xValues&&void 0!==o&&s===t.xValues[o]&&(h&&t.length>a?t[t.length-1]+=r+e:t.push(e),n=!0)}),!n){let t=i.dataRows[0].length,n=Array(t);for(let i=0;i<t;++i)n[i]="";n[0]=s,n.push(e),n.xValues=[],void 0!==o&&(n.xValues[o]=s),i.dataRows.push(n)}})}})});let l=0;i.dataRows.forEach(t=>{l=Math.max(l,t.length)});let c=l-i.dataRows[0].length;for(let t=0;t<c;t++){let e=function(t){let i;return s&&!1!==(i=s(t))?i:(i=n+" "+t,o)?{columnTitle:i,topLevelColumnTitle:i}:i}(t+1);o?(i.dataRows[0].push(e.topLevelColumnTitle),i.dataRows[1].push(e.columnTitle)):i.dataRows[0].push(e)}})}function U(){this.plotBoxClip.attr(this.plotBox),this.annotations.forEach(t=>{t.redraw(),t.graphic.animate({opacity:1},t.animationConfig)})}function W(t){let i=this.annotations,e="annotations"===t.coll?t:P(i,function(i){return i.options.id===t});e&&(w(e,"remove"),A(this.options.annotations,e.options),A(i,e),e.destroy())}function H(){let t=this.options.annotations,i=this.userOptions.annotations;this.annotations=[],N(this.options.annotations)||(this.options.annotations=[]),M(i,!0)&&M(t,!0)&&this.options.annotations.push(t)}function j(t){this.chart.hasDraggedAnnotation||t.apply(this,Array.prototype.slice.call(arguments,1))}(a||(a={})).compose=function(t,i,e){let s=i.prototype;if(!s.addAnnotation){let o=e.prototype;v(i,"afterInit",H),s.addAnnotation=R,s.callbacks.push(F),s.collectionsWithInit.annotations=[R],s.collectionsWithUpdate.push("annotations"),s.drawAnnotations=U,s.removeAnnotation=W,s.initAnnotation=function(i){let e=new(t.types[i.type]||t)(this,i);return this.annotations.push(e),e},X(o,"onContainerMouseDown",j)}};let z=a,V={visible:!0,animation:{},crop:!0,draggable:"xy",labelOptions:{align:"center",allowOverlap:!1,backgroundColor:"rgba(0, 0, 0, 0.75)",borderColor:"#000000",borderRadius:3,borderWidth:1,className:"highcharts-no-tooltip",crop:!1,formatter:function(){return b(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:"#ffffff",stroke:"#000000","stroke-width":2},height:10,symbol:"circle",visible:!1,width:10},events:{},typeOptions:{},types:{},zIndex:6},{doc:q,isTouchDevice:_}=f(),G=class{addEvents(){let t=this,i=function(i){v(i,_?"touchstart":"mousedown",i=>{t.onMouseDown(i)},{passive:!1})};if(i(this.graphic.element),(t.labels||[]).forEach(t=>{t.options.useHTML&&t.graphic.text&&!t.graphic.text.foreignObject&&i(t.graphic.text.element)}),I(t.options.events,(i,e)=>{let s=function(s){"click"===e&&t.cancelClick||i.call(t,t.chart.pointer?.normalize(s),t.target,t)};-1===(t.nonDOMEvents||[]).indexOf(e)?(v(t.graphic.element,e,s,{passive:!1}),t.graphic.div&&v(t.graphic.div,e,s,{passive:!1})):v(t,e,s,{passive:!1})}),t.options.draggable&&(v(t,"drag",t.onDrag),!t.graphic.renderer.styledMode)){let i={cursor:{x:"ew-resize",y:"ns-resize",xy:"move"}[t.options.draggable]};t.graphic.css(i),(t.labels||[]).forEach(t=>{t.options.useHTML&&t.graphic.text&&!t.graphic.text.foreignObject&&t.graphic.text.css(i)})}t.isUpdating||w(t,"add")}destroy(){this.removeDocEvents(),D(this),this.hcEvents=null}mouseMoveToRadians(t,i,e){let s=t.prevChartY-e,o=t.prevChartX-i,n=t.chartY-e,a=t.chartX-i,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,i,e){let s=t.prevChartX-i,o=t.prevChartY-e,n=t.chartX-i,a=t.chartY-e,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 i=t.chartX-t.prevChartX,e=t.chartY-t.prevChartY,s;return this.chart.inverted&&(s=e,e=i,i=s),{x:i,y:e}}onDrag(t){if(this.chart.isInsidePlot(t.chartX-this.chart.plotLeft,t.chartY-this.chart.plotTop,{visiblePlotOnly:!0})){let i=this.mouseMoveToTranslation(t);"x"===this.options.draggable&&(i.y=0),"y"===this.options.draggable&&(i.x=0),this.points.length?this.translate(i.x,i.y):(this.shapes.forEach(t=>t.translate(i.x,i.y)),this.labels.forEach(t=>t.translate(i.x,i.y))),this.redraw(!1)}}onMouseDown(t){if(t.preventDefault&&t.preventDefault(),2===t.button)return;let i=this,e=i.chart.pointer,s=t?.sourceCapabilities?.firesTouchEvents||!1,o=(t=e?.normalize(t)||t).chartX,n=t.chartY;i.cancelClick=!1,i.chart.hasDraggedAnnotation=!0,i.removeDrag=v(q,_||s?"touchmove":"mousemove",function(t){i.hasDragged=!0,(t=e?.normalize(t)||t).prevChartX=o,t.prevChartY=n,w(i,"drag",t),o=t.chartX,n=t.chartY},_||s?{passive:!1}:void 0),i.removeMouseUp=v(q,_||s?"touchend":"mouseup",function(){let t=S(i.target&&i.target.annotation,i.target);t&&(t.cancelClick=i.hasDragged),i.cancelClick=i.hasDragged,i.chart.hasDraggedAnnotation=!1,i.hasDragged&&w(S(t,i),"afterUpdate"),i.hasDragged=!1,i.onMouseUp()},_||s?{passive:!1}:void 0)}onMouseUp(){this.removeDocEvents()}removeDocEvents(){this.removeDrag&&(this.removeDrag=this.removeDrag()),this.removeMouseUp&&(this.removeMouseUp=this.removeMouseUp())}},K=class extends G{constructor(t,i,e,s){super(),this.nonDOMEvents=["drag"],this.chart=t,this.target=i,this.options=e,this.index=S(e.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,i=this.options;this.graphic=t.renderer.symbol(i.symbol,0,0,i.width,i.height).add(t.controlPointsGroup).css(i.style),this.setVisibility(i.visible),this.addEvents()}setVisibility(t){this.graphic[t?"show":"hide"](),this.options.visible=t}update(t){let i=this.chart,e=this.target,s=this.index,o=T(!0,this.options,t);this.destroy(),this.constructor(i,e,o,s),this.render(i.controlPointsGroup),this.redraw()}};var $=d(512),Z=d.n($);let{series:{prototype:J}}=Z();class Q{static fromPoint(t){return new Q(t.series.chart,null,{x:t.x,y:t.y,xAxis:t.series.xAxis,yAxis:t.series.yAxis})}static pointToPixels(t,i){let e=t.series,s=e.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))),e&&!i&&(o+=(a=e.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,i,e){this.mock=!0,this.point=this,this.series={visible:!0,chart:t,getPlotBox:J.getPlotBox},this.target=i||null,this.options=e,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,i=this.plotY,e=this.series.xAxis,s=this.series.yAxis,o={x:t,y:i,isInsidePlot:!0,options:{}};return e&&(o.isInsidePlot=b(t)&&t>=0&&t<=e.len),s&&(o.isInsidePlot=o.isInsidePlot&&b(i)&&i>=0&&i<=s.len),w(this.series.chart,"afterIsInsidePlot",o),o.isInsidePlot}refresh(){let t=this.series,i=t.xAxis,e=t.yAxis,s=this.getOptions();i?(this.x=s.x,this.plotX=i.toPixels(s.x,!0)):(this.x=void 0,this.plotX=s.x),e?(this.y=s.y,this.plotY=e.toPixels(s.y,!0)):(this.y=null,this.plotY=s.y),this.isInside=this.isInsidePlot()}refreshOptions(){let t=this.series,i=t.xAxis,e=t.yAxis;this.x=this.options.x=i?this.options.x=i.toValue(this.plotX,!0):this.plotX,this.y=this.options.y=e?e.toValue(this.plotY,!0):this.plotY}rotate(t,i,e){if(!this.hasDynamicOptions()){let s=Math.cos(e),o=Math.sin(e),n=this.plotX-t,a=this.plotY-i;this.plotX=n*s-a*o+t,this.plotY=n*o+a*s+i,this.refreshOptions()}}scale(t,i,e,s){if(!this.hasDynamicOptions()){let o=this.plotX*e,n=this.plotY*s;this.plotX=(1-e)*t+o,this.plotY=(1-s)*i+n,this.refreshOptions()}}setAxis(t,i){let e=i+"Axis",s=t[e],o=this.series.chart;this.series[e]="object"==typeof s?s:b(s)?o[e][s]||o.get(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,i,e,s){this.hasDynamicOptions()||(this.plotX+=e,this.plotY+=s,this.refreshOptions())}}!function(t){function i(){let t=this.controlPoints,i=this.options.controlPoints||[];i.forEach((e,s)=>{let o=T(this.options.controlPointOptions,e);o.index||(o.index=s),i[s]=o,t.push(new K(this.chart,this,o))})}function e(t){let i=t.series.getPlotBox(),e=t.series.chart,s=t.mock?t.toAnchor():e.tooltip&&e.tooltip.getAnchor.call({chart:t.series.chart},t)||[0,0,0,0],o={x:s[0]+(this.options.x||0),y:s[1]+(this.options.y||0),height:s[2]||0,width:s[3]||0};return{relativePosition:o,absolutePosition:T(o,{x:o.x+(t.mock?i.translateX:e.plotLeft),y:o.y+(t.mock?i.translateY:e.plotTop)})}}function s(){this.controlPoints.forEach(t=>t.destroy()),this.chart=null,this.controlPoints=null,this.points=null,this.options=null,this.annotation&&(this.annotation=null)}function o(){var t;let i=this.options;return i.points||i.point&&(N(t=i.point)?t:[t])}function n(){let t,i,e=this.getPointsOptions(),s=this.points,o=e?.length||0;for(t=0;t<o;t++){if(!(i=this.point(e[t],s[t]))){s.length=0;return}i.mock&&i.refresh(),s[t]=i}return s}function a(t,i){if(t&&t.series)return t;if(!i||null===i.series){if(M(t))i=new Q(this.chart,this,t);else if(B(t))i=this.chart.get(t)||null;else if("function"==typeof t){let e=t.call(i,this);i=e.series?e:new Q(this.chart,this,t)}}return i}function r(t){this.controlPoints.forEach(i=>i.redraw(t))}function h(){this.controlPoints.forEach(t=>t.render())}function l(t,i,e,s,o){if(this.chart.inverted){let t=i;i=e,e=t}this.points.forEach((n,a)=>this.transformPoint(t,i,e,s,o,a),this)}function c(t,i,e,s,o,n){let a=this.points[n];a.mock||(a=this.points[n]=Q.fromPoint(a)),a[t](i,e,s,o)}function p(t,i){this.transform("translate",null,null,t,i)}function d(t,i,e){this.transformPoint("translate",null,null,t,i,e)}t.compose=function(t){let u=t.prototype;u.addControlPoints||T(!0,u,{addControlPoints:i,anchor:e,destroyControlTarget:s,getPointsOptions:o,linkPoints:n,point:a,redrawControlPoints:r,renderControlPoints:h,transform:l,transformPoint:c,translate:p,translatePoint:d})}}(r||(r={}));let tt=r;class ti{constructor(t,i,e,s){this.annotation=t,this.chart=t.chart,this.collection="label"===s?"labels":"shapes",this.controlPoints=[],this.options=i,this.points=[],this.index=e,this.itemType=s,this.init(t,i,e)}attr(){this.graphic.attr.apply(this.graphic,arguments)}attrsFromOptions(t){let i,e,s=this.constructor.attrsMap,o={},n=this.chart.styledMode;for(i in t)e=s[i],void 0===s[i]||n&&-1!==["fill","stroke","stroke-width"].indexOf(e)||(o[e]=t[i]);return o}destroy(){this.graphic&&(this.graphic=this.graphic.destroy()),this.tracker&&(this.tracker=this.tracker.destroy()),this.destroyControlTarget()}calculateAnnotationSize(t,i,e){let s=e.toPixels(t,!0);return Math.abs(e.toPixels(t+i,!0)-s)}init(t,i,e){this.annotation=t,this.chart=t.chart,this.options=i,this.points=[],this.controlPoints=[],this.index=e,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,i,e){this.transform("rotate",t,i,e)}scale(t,i,e,s){this.transform("scale",t,i,e,s)}setControlPointsVisibility(t){this.controlPoints.forEach(i=>{i.setVisibility(t)})}shouldBeDrawn(){return!!this.points.length}translateShape(t,i,e){let s=this.annotation.chart,o=this.annotation.userOptions,n=s.annotations.indexOf(this.annotation),a=s.options.annotations[n];this.translatePoint(t,i,0),e&&this.translatePoint(t,i,1),a[this.collection][this.index].point=this.options.point,o[this.collection][this.index].point=this.options.point}update(t){let i=this.annotation,e=T(!0,this.options,t),s=this.graphic.parentGroup,o=this.constructor;this.destroy(),T(!0,this,new o(i,e,this.index,this.itemType)),this.render(s),this.redraw()}}tt.compose(ti);let te=ti,{defaultMarkers:ts}={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}}]}}},to=tr("marker-end"),tn=tr("marker-start"),ta="rgba(192,192,192,"+(f().svg?1e-4:.002)+")";function tr(t){return function(i){this.attr(t,"url(#"+i+")")}}function th(){this.options.defs=T(ts,this.options.defs||{})}function tl(t,i){let e={attributes:{id:t}},s={stroke:i.color||"none",fill:i.color||"rgba(0, 0, 0, 0.75)"};e.children=i.children&&i.children.map(function(t){return T(s,t)});let o=T(!0,{attributes:{markerWidth:20,markerHeight:20,refX:0,refY:0,orient:"auto"}},i,e),n=this.definition(o);return n.id=t,n}class tc extends te{static compose(t,i){let e=i.prototype;e.addMarker||(v(t,"afterGetContainer",th),e.addMarker=tl)}constructor(t,i,e){super(t,i,e,"shape"),this.type="path"}init(t,i,e){b(i.yAxis)&&i.points.forEach(t=>{t&&"string"!=typeof t&&(t.yAxis=i.yAxis)}),b(i.xAxis)&&i.points.forEach(t=>{t&&"string"!=typeof t&&(t.xAxis=i.xAxis)}),super.init(t,i,e)}toD(){let t=this.options.d;if(t)return"function"==typeof t?t.call(this):t;let i=this.points,e=i.length,s=[],o=e,n=i[0],a=o&&this.anchor(n).absolutePosition,r=0,h;if(a)for(s.push(["M",a.x,a.y]);++r<e&&o;)h=(n=i[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 i=this.options,e=this.attrsFromOptions(i);this.graphic=this.annotation.chart.renderer.path([["M",0,0]]).attr(e).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:ta,fill:ta,"stroke-width":this.graphic.strokeWidth()+2*i.snap}),super.render(),k(this.graphic,{markerStartSetter:tn,markerEndSetter:to}),this.setMarkers(this)}redraw(t){if(this.graphic){let i=this.toD(),e=t?"animate":"attr";i?(this.graphic[e]({d:i}),this.tracker[e]({d:i})):(this.graphic.attr({d:"M 0 -9000000000"}),this.tracker.attr({d:"M 0 -9000000000"})),this.graphic.placed=this.tracker.placed=!!i}super.redraw(t)}setMarkers(t){let i=t.options,e=t.chart,s=e.options.defs,o=i.fill,n=b(o)&&"none"!==o?o:i.stroke;["markerStart","markerEnd"].forEach(function(o){let a,r,h,l,c=i[o];if(c){for(h in s)if((c===((a=s[h]).attributes&&a.attributes.id)||c===a.id)&&"marker"===a.tagName){r=a;break}r&&(l=t[o]=e.renderer.addMarker((i.id||(0,g.uniqueKey)())+"-"+c,T(r,{color:n})),t.attr(o,l.getAttribute("id")))}})}}tc.attrsMap={dashStyle:"dashstyle",strokeWidth:"stroke-width",stroke:"stroke",fill:"fill",zIndex:"zIndex"};class tp extends te{constructor(t,i,e){super(t,i,e,"shape"),this.type="rect",this.translate=super.translateShape}init(t,i,e){let{point:s,xAxis:o,yAxis:n}=i;s&&"string"!=typeof s&&(b(o)&&(s.xAxis=o),b(n)&&(s.yAxis=n)),super.init(t,i,e)}render(t){let i=this.attrsFromOptions(this.options);this.graphic=this.annotation.chart.renderer.rect(0,-9e9,0,0).attr(i).add(t),super.render()}redraw(t){if(this.graphic){let i=this.points[0],e=this.anchor(i).absolutePosition,s=this.options.width||0,o=this.options.height||0;if(e){let n=b(this.options.xAxis)?this.chart.xAxis[this.options.xAxis]:void 0,a=b(this.options.yAxis)?this.chart.yAxis[this.options.yAxis]:void 0;n&&b(i.x)&&(s=this.calculateAnnotationSize(i.x,s,n)),a&&b(i.y)&&(o=this.calculateAnnotationSize(i.y,o,a)),this.graphic[t?"animate":"attr"]({x:e.x,y:e.y,width:s,height:o})}else this.attr({x:0,y:-9e9});this.graphic.placed=!!e}super.redraw(t)}}tp.attrsMap=T(tc.attrsMap,{width:"width",height:"height"});class td extends te{constructor(t,i,e){super(t,i,e,"shape"),this.type="circle",this.translate=super.translateShape}init(t,i,e){let{point:s,xAxis:o,yAxis:n}=i;s&&"string"!=typeof s&&(b(o)&&(s.xAxis=o),b(n)&&(s.yAxis=n)),super.init(t,i,e)}redraw(t){if(this.graphic){let i=this.points[0],e=this.anchor(i).absolutePosition,s=this.options.r||0;if(e){let o=b(this.options.yAxis)?this.chart.yAxis[this.options.yAxis]:void 0;o&&b(i.y)&&(s=this.calculateAnnotationSize(i.y,s,o)),this.graphic[t?"animate":"attr"]({x:e.x,y:e.y,r:s})}else this.graphic.attr({x:0,y:-9e9});this.graphic.placed=!!e}super.redraw.call(this,t)}render(t){let i=this.attrsFromOptions(this.options);this.graphic=this.annotation.chart.renderer.circle(0,-9e9,0).attr(i).add(t),super.render()}setRadius(t){this.options.r=t}}td.attrsMap=T(tc.attrsMap,{r:"r"});class tu extends te{constructor(t,i,e){super(t,i,e,"shape"),this.type="ellipse"}init(t,i,e){b(i.yAxis)&&i.points.forEach(t=>{t&&"string"!=typeof t&&(t.yAxis=i.yAxis)}),b(i.xAxis)&&i.points.forEach(t=>{t&&"string"!=typeof t&&(t.xAxis=i.xAxis)}),super.init(t,i,e)}render(t){this.graphic=this.annotation.chart.renderer.createElement("ellipse").attr(this.attrsFromOptions(this.options)).add(t),super.render()}translate(t,i){super.translateShape(t,i,!0)}getDistanceFromLine(t,i,e,s){return Math.abs((i.y-t.y)*e-(i.x-t.x)*s+i.x*t.y-i.y*t.x)/Math.sqrt((i.y-t.y)*(i.y-t.y)+(i.x-t.x)*(i.x-t.x))}getAttrs(t,i){let e=t.x,s=t.y,o=i.x,n=i.y,a=(e+o)/2,r=Math.sqrt((e-o)*(e-o)/4+(s-n)*(s-n)/4),h=180*Math.atan((n-s)/(o-e))/Math.PI;return a<e&&(h+=180),{cx:a,cy:(s+n)/2,rx:r,ry:this.getRY(),angle:h}}getRY(){let t=this.getYAxis();return b(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 i=this.getAbsolutePosition(this.points[0]),e=this.getAbsolutePosition(this.points[1]),s=this.getAttrs(i,e);i?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=!!i}super.redraw(t)}setYRadius(t){let i=this.annotation.userOptions.shapes;this.options.ry=t,i&&i[0]&&(i[0].ry=t,i[0].ry=t)}}tu.attrsMap=T(tc.attrsMap,{ry:"ry"});var tg=d(984),tf=d.n(tg);let{format:ty}=tf();function tm(t,i,e,s,o){let n=o&&o.anchorX,a=o&&o.anchorY,r,h,l=e/2;return O(n)&&O(a)&&(r=[["M",n,a]],(h=i-a)<0&&(h=-s-h),h<e&&(l=n<t+e/2?h:e-h),a>i+s?r.push(["L",t+l,i+s]):a<i?r.push(["L",t+l,i]):n<t?r.push(["L",t,i+s/2]):n>t+e&&r.push(["L",t+e,i+s/2])),r||[]}class tv extends te{static alignedPosition(t,i){return{x:Math.round((i.x||0)+(t.x||0)+(i.width-(t.width||0))*C(t.align)),y:Math.round((i.y||0)+(t.y||0)+(i.height-(t.height||0))*C(t.verticalAlign))}}static compose(t){t.prototype.symbols.connector=tm}static justifiedOptions(t,i,e,s){let o,n=e.align,a=e.verticalAlign,r=i.box?0:i.padding||0,h=i.getBBox(),l={align:n,verticalAlign:a,x:e.x,y:e.y,width:i.width,height:i.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,i,e){super(t,i,e,"label")}translatePoint(t,i){super.translatePoint(t,i,0)}translate(t,i){var e,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 e=t;t=i,i=e}(e=this.options).x||(e.x=0),(s=this.options).y||(s.y=0),this.options.x+=t,this.options.y+=i,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 i=this.options,e=this.attrsFromOptions(i),s=i.style,o=this.annotation.chart.options.chart,n=o.plotBackgroundColor||o.backgroundColor;if(this.graphic=this.annotation.chart.renderer.label("",0,-9999,i.shape,void 0,void 0,i.useHTML,void 0,"annotation-label").attr(e).add(t),!this.annotation.chart.styledMode){if(s?.color==="contrast"){let t=!i.shape||tv.shapesWithoutBackground.indexOf(i.shape)>-1||"none"===i.backgroundColor?n:i.backgroundColor;s.color=this.annotation.chart.renderer.getContrast("string"==typeof t?t:"string"==typeof n?n:"#ffffff")}this.graphic.css(i.style||{}).shadow(i.shadow)}this.graphic.labelrank=i.labelrank,super.render()}redraw(t){let i=this.options,e=this.text||i.format||i.text,s=this.graphic,o=this.points[0];if(!s)return void this.redraw(t);s.attr({text:e?ty(String(e),o,this.annotation.chart):i.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 i=super.anchor.apply(this,arguments),e=this.options.x||0,s=this.options.y||0;return i.absolutePosition.x-=e,i.absolutePosition.y-=s,i.relativePosition.x-=e,i.relativePosition.y-=s,i}position(t){let i=this.graphic,e=this.annotation.chart,s=e.tooltip,o=this.points[0],n=this.options,a=t.absolutePosition,r=t.relativePosition,h,l,c,p,d=o.series.visible&&Q.prototype.isInsidePlot.call(o);if(i&&d){let{width:t=0,height:u=0}=i;n.distance&&s?h=s.getPosition.call({chart:e,distance:S(n.distance,16),getPlayingField:s.getPlayingField,pointer:s.pointer},t,u,{plotX:r.x,plotY:r.y,negative:o.negative,ttBelow:o.ttBelow,h:r.height||r.width}):n.positioner?h=n.positioner.call(this,this):(l={x:a.x,y:a.y,width:0,height:0},h=tv.alignedPosition(k(n,{width:t,height:u}),l),"justify"===this.options.overflow&&(h=tv.alignedPosition(tv.justifiedOptions(e,i,n,h),l))),n.crop&&(c=h.x-e.plotLeft,p=h.y-e.plotTop,d=e.isInsidePlot(c,p)&&e.isInsidePlot(c+t,p+u))}return d?h:null}}tv.attrsMap={backgroundColor:"fill",borderColor:"stroke",borderWidth:"stroke-width",zIndex:"zIndex",borderRadius:"r",padding:"padding"},tv.shapesWithoutBackground=["connector"];class tx extends te{constructor(t,i,e){super(t,i,e,"shape"),this.type="image",this.translate=super.translateShape}render(t){let i=this.attrsFromOptions(this.options),e=this.options;this.graphic=this.annotation.chart.renderer.image(e.src,0,-9e9,e.width,e.height).attr(i).add(t),this.graphic.width=e.width,this.graphic.height=e.height,super.render()}redraw(t){if(this.graphic){let i=this.anchor(this.points[0]),e=tv.prototype.position.call(this,i);e?this.graphic[t?"animate":"attr"]({x:e.x,y:e.y}):this.graphic.attr({x:0,y:-9e9}),this.graphic.placed=!!e}super.redraw(t)}}tx.attrsMap={width:"width",height:"height",zIndex:"zIndex"};var tb=d(660),tA=d.n(tb);let tk=class{constructor(t,i){this.iconsURL=i,this.container=this.createPopupContainer(t),this.closeButton=this.addCloseButton()}createPopupContainer(t,i="highcharts-popup highcharts-no-tooltip"){return x("div",{className:i},void 0,t)}addCloseButton(t="highcharts-popup-close"){let i=this,e=this.iconsURL,s=x("button",{className:t},void 0,this.container);return x("span",{className:"highcharts-icon"},{backgroundImage:"url("+(e.match(/png|svg|jpeg|jpg|gif/ig)?e:e+"close.svg")+")"},s),["click","touchstart"].forEach(t=>{v(s,t,i.closeButtonEvents.bind(i))}),v(document,"keydown",function(t){"Escape"===t.code&&i.closeButtonEvents()}),s}closeButtonEvents(){this.closePopup()}showPopup(t="highcharts-annotation-toolbar"){let i=this.container,e=this.closeButton;this.type=void 0,i.innerHTML=tA().emptyHTML,i.className.indexOf(t)>=0&&(i.classList.remove(t),i.removeAttribute("style")),i.appendChild(e),i.style.display="block",i.style.height=""}closePopup(){this.container.style.display="none"}};var tw=d(620),tC=d.n(tw);let{doc:tP,isFirefox:tE}=f();function tO(t,i,e,s,o,n){let a,r;if(!i)return;let h=this.addInput,l=this.lang;I(s,(s,n)=>{a=""!==e?e+"."+n:n,M(s)&&(!N(s)||N(s)&&M(s[0])?((r=l[n]||n).match(/\d/g)||o.push([!0,r,t]),tO.call(this,t,i,a,s,o,!1)):o.push([this,a,"annotation",t,s]))}),n&&(Y(o,t=>t[1].match(/format/g)?-1:1),tE&&o.reverse(),o.forEach(t=>{!0===t[0]?x("span",{className:"highcharts-annotation-title"},void 0,t[2]).appendChild(tP.createTextNode(t[1])):(t[4]={value:t[4][0],type:t[4][1]},h.apply(t[0],t.splice(1)))}))}let{doc:tB}=f(),{seriesTypes:tN}=Z();(n=h||(h={}))[n["params.algorithm"]=0]="params.algorithm",n[n["params.average"]=1]="params.average";let tM={"algorithm-pivotpoints":["standard","fibonacci","camarilla"],"average-disparityindex":["sma","ema","dema","tema","wma"]};function tT(t){let i=x("div",{className:"highcharts-popup-lhs-col"},void 0,t),e=x("div",{className:"highcharts-popup-rhs-col"},void 0,t);return x("div",{className:"highcharts-popup-rhs-col-wrapper"},void 0,e),{lhsCol:i,rhsCol:e}}function tI(t,i,e,s){let o=i.params||i.options.params;s.innerHTML=tA().emptyHTML,x("h3",{className:"highcharts-indicator-title"},void 0,s).appendChild(tB.createTextNode(tU(i,e).indicatorFullName)),x("input",{type:"hidden",name:"highcharts-type-"+e,value:e},void 0,s),tW.call(this,e,"series",t,s,i,i.linkedParent&&i.linkedParent.options.id),o.volumeSeriesID&&tW.call(this,e,"volume",t,s,i,i.linkedParent&&o.volumeSeriesID),tL.call(this,t,"params",o,e,s)}function tS(t,i,e,s){function o(i,e){let s=g.parentNode.children[1];tI.call(n,t,i,e,g),s&&(s.style.display="block"),l&&i.options&&x("input",{type:"hidden",name:"highcharts-id-"+e,value:i.options.id},void 0,g).setAttribute("highcharts-data-series-id",i.options.id)}let n=this,a=n.lang,r=i.querySelectorAll(".highcharts-popup-lhs-col")[0],h=i.querySelectorAll(".highcharts-popup-rhs-col")[0],l="edit"===e,c=l?t.series:t.options.plotOptions||{};if(!t&&c)return;let p,d=[];l||N(c)?N(c)&&(d=tF.call(this,c)):d=tR.call(this,c,s),Y(d,(t,i)=>{let e=t.indicatorFullName.toLowerCase(),s=i.indicatorFullName.toLowerCase();return e<s?-1:+(e>s)}),r.children[1]&&r.children[1].remove();let u=x("ul",{className:"highcharts-indicator-list"},void 0,r),g=h.querySelectorAll(".highcharts-popup-rhs-col-wrapper")[0];if(d.forEach(t=>{let{indicatorFullName:i,indicatorType:e,series:s}=t;p=x("li",{className:"highcharts-indicator-list"},void 0,u);let n=x("button",{className:"highcharts-indicator-list-item",textContent:i},void 0,p);["click","touchstart"].forEach(t=>{v(n,t,function(){o(s,e)})})}),d.length>0){let{series:t,indicatorType:i}=d[0];o(t,i)}else l||(tA().setElementHTML(g.parentNode.children[0],a.noFilterMatch||""),g.parentNode.children[1].style.display="none")}function tL(t,i,e,s,o){if(!t)return;let n=this.addInput;I(e,(e,a)=>{let r=i+"."+a;if(b(e)&&r)if(M(e)&&(n.call(this,r,s,o,{}),tL.call(this,t,r,e,s,o)),r in h){let n=tY.call(this,s,r,o);tX.call(this,t,i,n,s,a,e)}else"params.volumeSeriesID"===r||N(e)||n.call(this,r,s,o,{value:e,type:"number"})})}function tD(t,i){let e=this,s=i.querySelectorAll(".highcharts-popup-lhs-col")[0],o=this.lang.clearFilter,n=x("div",{className:"highcharts-input-wrapper"},void 0,s),a=function(i){tS.call(e,t,e.container,"add",i)},r=this.addInput("searchIndicators","input",n,{value:"",type:"text",htmlFor:"search-indicators",labelClassName:"highcharts-input-search-indicators-label"}),h=x("a",{textContent:o},void 0,n);r.classList.add("highcharts-input-search-indicators"),h.classList.add("clear-filter-button"),v(r,"input",function(){a(this.value),this.value.length?h.style.display="inline-block":h.style.display="none"}),["click","touchstart"].forEach(t=>{v(h,t,function(){r.value="",a(""),h.style.display="none"})})}function tY(t,i,e){let s=i.split("."),o=s[s.length-1],n="highcharts-"+i+"-type-"+t,a=this.lang;x("label",{htmlFor:n},null,e).appendChild(tB.createTextNode(a[o]||i));let r=x("select",{name:n,className:"highcharts-popup-field",id:"highcharts-select-"+i},null,e);return r.setAttribute("id","highcharts-select-"+i),r}function tX(t,i,e,s,o,n,a){"series"===i||"volume"===i?t.series.forEach(t=>{let s=t.options,o=s.name||s.params?t.name:s.id||"";"highcharts-navigator-series"!==s.id&&s.id!==(a&&a.options&&a.options.id)&&(b(n)||"volume"!==i||"column"!==t.type||(n=s.id),x("option",{value:s.id},void 0,e).appendChild(tB.createTextNode(o)))}):s&&o&&tM[o+"-"+s].forEach(t=>{x("option",{value:t},void 0,e).appendChild(tB.createTextNode(t))}),b(n)&&(e.value=n)}function tR(t,i){let e,s=this.chart&&this.chart.options.lang,o=s&&s.navigation&&s.navigation.popup&&s.navigation.popup.indicatorAliases,n=new Map;return I(t,(t,s)=>{let a=t&&t.options;if(t.params||a&&a.params){let{indicatorFullName:a,indicatorType:r}=tU(t,s);if(i){let s=RegExp(i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"i"),h=o&&o[r]&&o[r].join(" ")||"";(a.match(s)||h.match(s))&&(e={indicatorFullName:a,indicatorType:r,series:t},n.set(r.toLowerCase(),e))}else e={indicatorFullName:a,indicatorType:r,series:t},n.set(r.toLowerCase(),e)}}),Array.from(n.values())}function tF(t){let i=[];return t.forEach(t=>{t.is("sma")&&i.push({indicatorFullName:t.name,indicatorType:t.type,series:t})}),i}function tU(t,i){let e=t.options,s=tN[i]&&tN[i].prototype.nameBase||i.toUpperCase(),o=i;return e&&e.type&&(o=t.options.type,s=t.name),{indicatorFullName:s,indicatorType:o}}function tW(t,i,e,s,o,n){if(!e)return;let a=tY.call(this,t,i,s);tX.call(this,e,i,a,void 0,void 0,void 0,o),b(n)&&(a.value=n)}let{doc:tH}=f();function tj(){return x("div",{className:"highcharts-tab-item-content highcharts-no-mousewheel"},void 0,this.container)}function tz(t,i){let e=this.container,s=this.lang,o="highcharts-tab-item";0===i&&(o+=" highcharts-tab-disabled");let n=x("button",{className:o},void 0,e);return n.appendChild(tH.createTextNode(s[t+"Button"]||t)),n.setAttribute("highcharts-data-tab-type",t),n}function tV(){let t=this.container,i=t.querySelectorAll(".highcharts-tab-item"),e=t.querySelectorAll(".highcharts-tab-item-content");for(let t=0;t<i.length;t++)i[t].classList.remove("highcharts-tab-item-active"),e[t].classList.remove("highcharts-tab-item-show")}function tq(t,i){let e=this.container.querySelectorAll(".highcharts-tab-item-content");t.className+=" highcharts-tab-item-active",e[i].className+=" highcharts-tab-item-show"}function t_(t){let i=this;this.container.querySelectorAll(".highcharts-tab-item").forEach((e,s)=>{(0!==t||"edit"!==e.getAttribute("highcharts-data-tab-type"))&&["click","touchstart"].forEach(t=>{v(e,t,function(){tV.call(i),tq.call(i,this,s)})})})}let{doc:tG}=f(),{getOptions:tK}=f();class t$ extends tk{constructor(t,i,e){super(t,i),this.chart=e,this.lang=(tK().lang.navigation||{}).popup||{},v(this.container,"mousedown",()=>{let t=e&&e.navigationBindings&&e.navigationBindings.activeAnnotation;if(t){t.cancelClick=!0;let i=v(tG,"click",()=>{setTimeout(()=>{t.cancelClick=!1},0),i()})}})}addInput(t,i,e,s){let o=t.split("."),n=o[o.length-1],a=this.lang,r="highcharts-"+i+"-"+S(s.htmlFor,n);if(n.match(/^\d+$/)||x("label",{htmlFor:r,className:s.labelClassName},void 0,e).appendChild(tG.createTextNode(a[n]||n)),"color"===s.type&&this.chart?.container)return this.createColorInput(t,r,s,e,this.chart.container);let h=x("input",{name:r,value:s.value,type:s.type,className:"highcharts-popup-field"},void 0,e);return h.setAttribute("highcharts-data-name",t),h}createColorInput(t,i,e,s,o){let{value:n,alpha:a}=function(t,i){let e=t=>("0"+Math.round(t).toString(16)).slice(-2).toUpperCase(),s=t=>{let[i,s,o,n]=tC().parse(t).rgba;return{value:"#"+e(i)+e(s)+e(o),alpha:n}};if(t.startsWith("rgb")||t.startsWith("rgba"))return s(t);if(t.startsWith("color")||t.startsWith("var")){let o=tG.createElement("span");o.style.setProperty("color",t),i.appendChild(o);let n=window.getComputedStyle(o).color;if(i.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 i=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:"#"+e(i)+e(s)+e(o),alpha:n}}}if(n.startsWith("rgb")||n.startsWith("rgba"))return s(n)}return{value:t,alpha:1}}(e.value||"",o),r=tC().parse(e.value||"").rgba[3],h=isNaN(r)?a:r,l=x("div",{className:"highcharts-popup-color-wrapper"},void 0,s),c=x("input",{type:"color",value:n,className:"highcharts-popup-field highcharts-popup-field-color"},void 0,l),p=x("input",{name:i,id:i,value:n,type:"text",className:"highcharts-popup-field highcharts-popup-field-text"},void 0,l);p.setAttribute("highcharts-data-name",t);let d=x("span",{className:"highcharts-popup-color-separator"},void 0,l),u=x("input",{type:"number",value:String(Math.round(100*h)),className:"highcharts-popup-field highcharts-popup-opacity-percentage",min:"0",max:"100",step:"1"},void 0,l),g=x("span",{className:"highcharts-popup-opacity-percent-suffix"},void 0,l);g.appendChild(tG.createTextNode(" %"));let f=x("input",{type:"range",value:String(Math.round(100*h)),className:"highcharts-popup-opacity-slider",min:"0",max:"100",step:"1"},void 0,s);f.style.setProperty("--highcharts-popup-opacity-track-color",n),f.style.setProperty("display","none");let y=()=>{let t=/^#[0-9A-Fa-f]{6}$/.test(p.value);d.style.display=t?"":"none",u.style.display=t?"":"none",g.style.display=t?"":"none"};y();let m=t=>{var i;let e=(i=Number(t.target.value),i>0?i<100?i:100:0);f.value=String(e),u.value=String(Math.round(e))},b=t=>{t.target===c?p.value=c.value.toUpperCase():c.value=p.value,f.style.setProperty("--highcharts-popup-opacity-track-color",c.value),y()};return v(s,"mousedown",t=>{t.target!==u&&t.target!==f&&(f.style.display="none")}),v(u,"focus",()=>{f.style.display=""}),v(u,"input",m),v(f,"input",m),v(c,"input",b),v(p,"input",b),l}closeButtonEvents(){if(this.chart){let t=this.chart.navigationBindings;w(t,"closePopup"),t&&t.selectedButtonElement&&w(t,"deselectButton",{button:t.selectedButtonElement})}else super.closeButtonEvents()}addButton(t,i,e,s,o){let n=x("button",void 0,void 0,t);return n.appendChild(tG.createTextNode(i)),o&&["click","touchstart"].forEach(t=>{v(n,t,()=>{let t,i,n,a,r;return this.closePopup(),o((t=Array.prototype.slice.call(s.querySelectorAll("input")),i=Array.prototype.slice.call(s.querySelectorAll("select")),n=s.querySelectorAll("#highcharts-select-series > option:checked")[0],a=s.querySelectorAll("#highcharts-select-volume > option:checked")[0],r={actionType:e,linkedTo:n&&n.getAttribute("value")||"",fields:{}},t.forEach(t=>{let i=t.getAttribute("highcharts-data-name");if(t.getAttribute("highcharts-data-series-id"))r.seriesId=t.value;else if(i){let e=t.closest(".highcharts-popup-color-wrapper"),s=e?.querySelector(".highcharts-popup-opacity-percentage"),o=s?Number(s.value)/100:1;if(s){let e=tC().parse(t.value).rgba;r.fields[i]=Number.isNaN(e[0])?t.value:`rgba(${e[0]},${e[1]},${e[2]},${o})`}else r.fields[i]=t.value}else r.type=t.value}),i.forEach(t=>{let i=t.id;if("highcharts-select-series"!==i&&"highcharts-select-volume"!==i){let e=i.split("highcharts-select-")[1];r.fields[e]=t.value}}),a&&(r.fields["params.volumeSeriesID"]=a.getAttribute("value")||""),r))})}),n}showForm(t,i,e,s){i&&(this.showPopup(),"indicators"===t&&this.indicators.addForm.call(this,i,e,s),"annotation-toolbar"===t&&this.annotations.addToolbar.call(this,i,e,s),"annotation-edit"===t&&this.annotations.addForm.call(this,i,e,s),"flag"===t&&this.annotations.addForm.call(this,i,e,s,!0),this.type=t,this.container.style.height=this.container.offsetHeight+"px")}}k(t$.prototype,{annotations:{addForm:function(t,i,e,s){if(!t)return;let o=this.container,n=this.lang,a=x("h2",{className:"highcharts-popup-main-title"},void 0,o);a.appendChild(tP.createTextNode(n[i.langKey]||i.langKey||"")),a=x("div",{className:"highcharts-popup-lhs-col highcharts-popup-lhs-full"},void 0,o);let r=x("div",{className:"highcharts-popup-bottom-row"},void 0,o);tO.call(this,a,t,"",i,[],!0),this.addButton(r,s?n.addButton||"Add":n.saveButton||"Save",s?"add":"save",o,e)},addToolbar:function(t,i,e){let s=this.lang,o=this.container,n=this.showForm,a="highcharts-annotation-toolbar";-1===o.className.indexOf(a)&&(o.className+=" "+a+" highcharts-no-mousewheel"),t&&(o.style.top=t.plotTop+10+"px");let r=x("p",{className:"highcharts-annotation-label"},void 0,o);r.setAttribute("aria-label","Annotation type"),r.appendChild(tP.createTextNode(S(s[i.langKey]||i.langKey,i.shapes&&i.shapes[0].type,"")));let h=this.addButton(o,s.editButton||"Edit","edit",o,()=>{n.call(this,"annotation-edit",t,i,e)});h.className+=" highcharts-annotation-edit-button",x("span",{className:"highcharts-icon"},{backgroundImage:`url(${this.iconsURL}edit.svg)`},h),h=this.addButton(o,s.removeButton||"Remove","remove",o,e),h.className+=" highcharts-annotation-remove-button",x("span",{className:"highcharts-icon"},{backgroundImage:`url(${this.iconsURL}destroy.svg)`},h)}},indicators:{addForm:function(t,i,e){let s,o=this.lang;if(!t)return;this.tabs.init.call(this,t);let n=this.container.querySelectorAll(".highcharts-tab-item-content");tT(n[0]),tD.call(this,t,n[0]),tS.call(this,t,n[0],"add"),s=n[0].querySelectorAll(".highcharts-popup-rhs-col")[0],this.addButton(s,o.addButton||"add","add",s,e),tT(n[1]),tS.call(this,t,n[1],"edit"),s=n[1].querySelectorAll(".highcharts-popup-rhs-col")[0],this.addButton(s,o.saveButton||"save","edit",s,e),this.addButton(s,o.removeButton||"remove","remove",s,e)},getAmount:function(){let t=0;return this.series.forEach(i=>{(i.params||i.options.params)&&t++}),t}},tabs:{init:function(t){if(!t)return;let i=this.indicators.getAmount.call(t),e=tz.call(this,"add");tz.call(this,"edit",i),tj.call(this),tj.call(this),t_.call(this,i),tq.call(this,e,0)}}});let{composed:tZ}=f();function tJ(){this.popup&&this.popup.closePopup()}function tQ(t){this.popup||(this.popup=new t$(this.chart.container,this.chart.options.navigation.iconsURL||this.chart.options.stockTools&&this.chart.options.stockTools.gui.iconsURL||"https://code.highcharts.com/12.6.0/gfx/stock-icons/",this.chart)),this.popup.showForm(t.formType,this.chart,t.options,t.onSubmit)}function t0(t,i){this.inClass(i.target,"highcharts-popup")||t.apply(this,Array.prototype.slice.call(arguments,1))}let t1=function(t,i){L(tZ,"Popup")&&(v(t,"closePopup",tJ),v(t,"showPopup",tQ),X(i.prototype,"onContainerMouseDown",t0))},{getDeferredAnimation:t2}=f(),{defaultOptions:t9}=f();function t5(t,i){let e={};return["labels","shapes"].forEach(s=>{let o=t[s],n=i[s];if(o)if(n)e[s]=(N(n)?n:[n]).map((t,i)=>T(o[i],t));else e[s]=t[s]}),e}class t4 extends G{static compose(t,i,e,s){z.compose(t4,t,e),tv.compose(s),tc.compose(t,s),i.compose(t4,t),t1(i,e)}constructor(t,i){super(),this.coll="annotations",this.chart=t,this.points=[],this.controlPoints=[],this.coll="annotations",this.index=-1,this.labels=[],this.shapes=[],this.setOptions(i),this.userOptions=i;const e=t5(this.options,i);this.options.labels=e.labels,this.options.shapes=e.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((i,e)=>{let s=this.initLabel(i,e);T(!0,t[e],s.options)})}addShapes(){let t=this.options.shapes||[];t.forEach((i,e)=>{let s=this.initShape(i,e);T(!0,t[e],s.options)})}destroy(){var t;let i=this.chart,e=function(t){t.destroy()};this.labels.forEach(e),this.shapes.forEach(e),this.clipXAxis=null,this.clipYAxis=null,A(i.labelCollectors,this.labelCollector),super.destroy(),this.destroyControlTarget(),t=this,I(t,function(e,s){e!==i&&e?.destroy&&e.destroy(),e?.destroy,delete t[s]})}destroyItem(t){A(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,i){this.setOptions(i);let e=t5(this.options,i);this.options.labels=e.labels,this.options.shapes=e.shapes,this.chart=t,this.points=[],this.controlPoints=[],this.coll="annotations",this.userOptions=i,this.labels=[],this.shapes=[]}init(t,i,e=this.index){let s=this.chart,o=this.options.animation;this.index=e,this.linkPoints(),this.addControlPoints(),this.addShapes(),this.addLabels(),this.setLabelCollector(),this.animationConfig=t2(s,o)}initLabel(t,i){this.options.labelOptions?.align;let e=new tv(this,T(this.options.labelOptions,{controlPointOptions:this.options.controlPointOptions},t),i);return e.itemType="label",this.labels.push(e),e}initShape(t,i){let e=T(this.options.shapeOptions,{controlPointOptions:this.options.controlPointOptions},t),s=new t4.shapesMap[e.type||"rect"](this,e,i);return s.itemType="shape",this.shapes.push(s),s}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,i){if(t.linkPoints(),t.shouldBeDrawn()){let e,s;t.graphic||this.renderItem(t),t.redraw(S(i,!0)&&t.graphic.placed),t.points.length&&(e=t.graphic,s=t.points.some(t=>!1!==t.series.visible&&!1!==t.visible),e&&(s?"hidden"===e.visibility&&e.show():e.hide()))}else this.destroyItem(t)}redrawItems(t,i){let e=t.length;for(;e--;)this.redrawItem(t[e],i)}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 i=t.length;for(;i--;)this.renderItem(t[i])}setClipAxes(){let t=this.chart.xAxis,i=this.chart.yAxis,e=[...this.options.labels??[],...this.options.shapes??[]].reduce((e,s)=>{let o=s&&(s.point||"points"in s&&s.points?.[0]);return[t[o&&o.xAxis]||e[0],i[o&&o.yAxis]||e[1]]},[]);this.clipXAxis=e[0],this.clipYAxis=e[1]}setControlPointsVisibility(t){let i=function(i){i.setControlPointsVisibility(t)};this.controlPoints.forEach(i=>{i.setVisibility(t)}),this.shapes.forEach(i),this.labels.forEach(i)}setLabelCollector(){let t=this;t.labelCollector=function(){return t.labels.reduce(function(t,i){return i.options.allowOverlap||t.push(i.graphic),t},[])},t.chart.labelCollectors.push(t.labelCollector)}setOptions(t){var i;this.options=T(this.defaultOptions,t.type&&this.defaultOptions.types?.[t.type]||{},t),(i=this.options).typeOptions||(i.typeOptions={})}setVisibility(t){let i=this.options,e=this.chart.navigationBindings,s=S(t,!i.visible);if(this.graphic.attr("visibility",s?"inherit":"hidden"),!s){let t=function(t){t.setControlPointsVisibility(s)};this.shapes.forEach(t),this.labels.forEach(t),e.activeAnnotation===this&&e.popup&&"annotation-toolbar"===e.popup.type&&w(e,"closePopup")}i.visible=s}update(t,i){let e=this.chart,s=t5(this.userOptions,t),o=e.annotations.indexOf(this),n=T(!0,this.userOptions,t);n.labels=s.labels,n.shapes=s.shapes,this.destroy(),this.initProperties(e,n),this.init(e,n),e.options.annotations[o]=this.options,this.isUpdating=!0,S(i,!0)&&e.drawAnnotations(),w(this,"afterUpdate"),this.isUpdating=!1}}t4.ControlPoint=K,t4.MockPoint=Q,t4.shapesMap={rect:tp,circle:td,ellipse:tu,path:tc,image:tx},t4.types={},t4.prototype.defaultOptions=V,t9.annotations=V,t4.prototype.nonDOMEvents=["add","afterUpdate","drag","remove"],tt.compose(t4);var t6=l||(l={});t6.compose=function(t){return t.navigation||(t.navigation=new t3(t)),t};class t3{constructor(t){this.updates=[],this.chart=t}addUpdate(t){this.chart.navigation.updates.push(t)}update(t,i){this.updates.forEach(e=>{e.call(this.chart,t,i)})}}t6.Additions=t3;let t7=l,t8={backgroundColor:"color",backgroundColors:"color",borderColor:"color",borderRadius:"string",color:"color",fill:"color",fontSize:"string",labels:"string",name:"string",stroke:"color",title:"string"},it={annotationsFieldsTypes:t8,getAssignedAxis:function(t){return t.filter(t=>{let i=t.axis.getExtremes(),e=i.min,s=i.max,o=S(t.axis.minPointOffset,0);return O(e)&&O(s)&&t.value>=e-o&&t.value<=s+o&&!t.axis.options.isInternal})[0]},getFieldType:function(t,i){let e=t8[t],s=typeof i;return b(e)&&(s=e),({string:"text",number:"number",boolean:"checkbox",color:"color"})[s]}},{getAssignedAxis:ii}=it,ie={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 i=this.chart.pointer?.getCoordinates(t),e=i&&ii(i.xAxis),s=i&&ii(i.yAxis),o=this.chart.options.navigation;if(e&&s)return this.chart.addAnnotation(T({langKey:"circle",type:"basicAnnotation",shapes:[{type:"circle",point:{x:e.value,y:s.value,xAxis:e.axis.index,yAxis:s.axis.index},r:5}]},o.annotationsOptions,o.bindings.circleAnnotation.annotationsOptions))},steps:[function(t,i){let e,s=i.options.shapes,o=s&&s[0]&&s[0].point||{};if(O(o.xAxis)&&O(o.yAxis)){let i=this.chart.inverted,s=this.chart.xAxis[o.xAxis].toPixels(o.x),n=this.chart.yAxis[o.yAxis].toPixels(o.y);e=Math.max(Math.sqrt(Math.pow(i?n-t.chartX:s-t.chartX,2)+Math.pow(i?s-t.chartY:n-t.chartY,2)),5)}i.update({shapes:[{r:e}]})}]},ellipseAnnotation:{className:"highcharts-ellipse-annotation",start:function(t){let i=this.chart.pointer?.getCoordinates(t),e=i&&ii(i.xAxis),s=i&&ii(i.yAxis),o=this.chart.options.navigation;if(e&&s)return this.chart.addAnnotation(T({langKey:"ellipse",type:"basicAnnotation",shapes:[{type:"ellipse",xAxis:e.axis.index,yAxis:s.axis.index,points:[{x:e.value,y:s.value},{x:e.value,y:s.value}],ry:1}]},o.annotationsOptions,o.bindings.ellipseAnnotation.annotationsOptions))},steps:[function(t,i){let e=i.shapes[0],s=e.getAbsolutePosition(e.points[1]);e.translatePoint(t.chartX-s.x,t.chartY-s.y,1),e.redraw(!1)},function(t,i){let e=i.shapes[0],s=e.getAbsolutePosition(e.points[0]),o=e.getAbsolutePosition(e.points[1]),n=e.getDistanceFromLine(s,o,t.chartX,t.chartY),a=e.getYAxis(),r=Math.abs(a.toValue(0)-a.toValue(n));e.setYRadius(r),e.redraw(!1)}]},rectangleAnnotation:{className:"highcharts-rectangle-annotation",start:function(t){let i=this.chart.pointer?.getCoordinates(t),e=i&&ii(i.xAxis),s=i&&ii(i.yAxis);if(!e||!s)return;let o=e.value,n=s.value,a=e.axis.index,r=s.axis.index,h=this.chart.options.navigation;return this.chart.addAnnotation(T({langKey:"rectangle",type:"basicAnnotation",shapes:[{type:"path",points:[{xAxis:a,yAxis:r,x:o,y:n},{xAxis:a,yAxis:r,x:o,y:n},{xAxis:a,yAxis:r,x:o,y:n},{xAxis:a,yAxis:r,x:o,y:n},{command:"Z"}]}]},h.annotationsOptions,h.bindings.rectangleAnnotation.annotationsOptions))},steps:[function(t,i){let e=i.options.shapes,s=e&&e[0]&&e[0].points||[],o=this.chart.pointer?.getCoordinates(t),n=o&&ii(o.xAxis),a=o&&ii(o.yAxis);if(n&&a){let t=n.value,e=a.value;s[1].x=t,s[2].x=t,s[2].y=e,s[3].y=e,i.update({shapes:[{points:s}]})}}]},labelAnnotation:{className:"highcharts-label-annotation",start:function(t){let i=this.chart.pointer?.getCoordinates(t),e=i&&ii(i.xAxis),s=i&&ii(i.yAxis),o=this.chart.options.navigation;if(e&&s)return this.chart.addAnnotation(T({langKey:"label",type:"basicAnnotation",labelOptions:{format:"{y:.2f}",overflow:"none",crop:!0},labels:[{point:{xAxis:e.axis.index,yAxis:s.axis.index,x:e.value,y:s.value}}]},o.annotationsOptions,o.bindings.labelAnnotation.annotationsOptions))}}},events:{},annotationsOptions:{animation:{defer:0}}}},{setOptions:is}=f(),{format:io}=tf(),{composed:ia,doc:ir,win:ih}=f(),{getAssignedAxis:il,getFieldType:ic}=it;function ip(){this.chart.navigationBindings&&this.chart.navigationBindings.deselectAnnotation()}function id(){this.navigationBindings&&this.navigationBindings.destroy()}function iu(){let t=this.options;t&&t.navigation&&t.navigation.bindings&&(this.navigationBindings=new ix(this,t.navigation),this.navigationBindings.initEvents(),this.navigationBindings.initUpdate())}function ig(){let t=this.navigationBindings,i="highcharts-disabled-btn";if(this&&t){let e=!1;if(this.series.forEach(t=>{!t.options.isInternal&&t.visible&&(e=!0)}),this.navigationBindings&&this.navigationBindings.container&&this.navigationBindings.container[0]){let s=this.navigationBindings.container[0];I(t.boundClassNames,(t,o)=>{let n=s.querySelectorAll("."+o);if(n)for(let s=0;s<n.length;s++){let o=n[s],a=o.className;"normal"===t.noDataState||e?-1!==a.indexOf(i)&&o.classList.remove(i):-1===a.indexOf(i)&&(o.className+=" "+i)}})}}}function iy(){this.deselectAnnotation()}function im(){this.selectedButtonElement=null}function iv(t){let i,e,s=t.prototype.defaultOptions.events&&t.prototype.defaultOptions.events.click;function o(t){let i=this,e=i.chart.navigationBindings,o=e.activeAnnotation;s&&s.call(i,t),o!==i?(e.deselectAnnotation(),e.activeAnnotation=i,i.setControlPointsVisibility(!0),w(e,"showPopup",{annotation:i,formType:"annotation-toolbar",options:e.annotationToFields(i),onSubmit:function(t){if("remove"===t.actionType)e.activeAnnotation=!1,e.chart.removeAnnotation(i);else{let s={};e.fieldsToOptions(t.fields,s),e.deselectAnnotation();let o=s.typeOptions;"measure"===i.options.type&&(o.crosshairY.enabled=0!==o.crosshairY.strokeWidth,o.crosshairX.enabled=0!==o.crosshairX.strokeWidth),i.update(s)}}})):w(e,"closePopup"),t.activeAnnotation=!0}T(!0,t.prototype.defaultOptions.events,{click:o,touchstart:function(t){i=t.touches[0].clientX,e=t.touches[0].clientY},touchend:function(t){i&&Math.sqrt(Math.pow(i-t.changedTouches[0].clientX,2)+Math.pow(e-t.changedTouches[0].clientY,2))>=4||o.call(this,t)}})}class ix{static compose(t,i){L(ia,"NavigationBindings")&&(v(t,"remove",ip),iv(t),I(t.types,t=>{iv(t)}),v(i,"destroy",id),v(i,"load",iu),v(i,"render",ig),v(ix,"closePopup",iy),v(ix,"deselectButton",im),is(ie))}constructor(t,i){this.boundClassNames=void 0,this.chart=t,this.options=i,this.eventsToUnbind=[],this.container=this.chart.container.getElementsByClassName(this.options.bindingsClassName||""),this.container.length||(this.container=ir.getElementsByClassName(this.options.bindingsClassName||""))}getCoords(t){let i=this.chart.pointer?.getCoordinates(t);return[i&&il(i.xAxis),i&&il(i.yAxis)]}initEvents(){let t=this,i=t.chart,e=t.container,s=t.options;t.boundClassNames={},I(s.bindings||{},i=>{t.boundClassNames[i.className]=i}),[].forEach.call(e,i=>{t.eventsToUnbind.push(v(i,"click",e=>{let s=t.getButtonEvents(i,e);s&&!s.button.classList.contains("highcharts-disabled-btn")&&t.bindingsButtonClick(s.button,s.events,e)}))}),I(s.events||{},(i,e)=>{"function"==typeof i&&t.eventsToUnbind.push(v(t,e,i,{passive:!1}))}),t.eventsToUnbind.push(v(i.container,"click",function(e){!i.cancelClick&&i.isInsidePlot(e.chartX-i.plotLeft,e.chartY-i.plotTop,{visiblePlotOnly:!0})&&t.bindingsChartClick(this,e)})),t.eventsToUnbind.push(v(i.container,f().isTouchDevice?"touchmove":"mousemove",function(i){t.bindingsContainerMouseMove(this,i)},f().isTouchDevice?{passive:!1}:void 0))}initUpdate(){let t=this;t7.compose(this.chart).navigation.addUpdate(i=>{t.update(i)})}bindingsButtonClick(t,i,e){let s=this.chart,o=s.renderer.boxWrapper,n=!0;this.selectedButtonElement&&(this.selectedButtonElement.classList===t.classList&&(n=!1),w(this,"deselectButton",{button:this.selectedButtonElement}),this.nextEvent&&(this.currentUserDetails&&"annotations"===this.currentUserDetails.coll&&s.removeAnnotation(this.currentUserDetails),this.mouseMoveEvent=this.nextEvent=!1)),n?(this.selectedButton=i,this.selectedButtonElement=t,w(this,"selectButton",{button:t}),i.init&&i.init.call(this,t,e),(i.start||i.steps)&&s.renderer.boxWrapper.addClass("highcharts-draw-mode")):(s.stockTools&&t.classList.remove("highcharts-active"),o.removeClass("highcharts-draw-mode"),this.nextEvent=!1,this.mouseMoveEvent=!1,this.selectedButton=null)}bindingsChartClick(t,i){t=this.chart;let e=this.activeAnnotation,s=this.selectedButton,o=t.renderer.boxWrapper;e&&(e.cancelClick||i.activeAnnotation||!i.target.parentNode||function(t,i){let e=ih.Element.prototype,s=e.matches||e.msMatchesSelector||e.webkitMatchesSelector,o=null;if(e.closest)o=e.closest.call(t,i);else do{if(s.call(t,i))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return o}(i.target,".highcharts-popup")?e.cancelClick&&setTimeout(()=>{e.cancelClick=!1},0):w(this,"closePopup")),s&&s.start&&(this.nextEvent?(this.nextEvent(i,this.currentUserDetails),this.steps&&(this.stepIndex++,s.steps[this.stepIndex]?this.mouseMoveEvent=this.nextEvent=s.steps[this.stepIndex]:(w(this,"deselectButton",{button:this.selectedButtonElement}),o.removeClass("highcharts-draw-mode"),s.end&&s.end.call(this,i,this.currentUserDetails),this.nextEvent=!1,this.mouseMoveEvent=!1,this.selectedButton=null))):(this.currentUserDetails=s.start.call(this,i),this.currentUserDetails&&s.steps?(this.stepIndex=0,this.steps=!0,this.mouseMoveEvent=this.nextEvent=s.steps[this.stepIndex]):(w(this,"deselectButton",{button:this.selectedButtonElement}),o.removeClass("highcharts-draw-mode"),this.steps=!1,this.selectedButton=null,s.end&&s.end.call(this,i,this.currentUserDetails))))}bindingsContainerMouseMove(t,i){this.mouseMoveEvent&&this.mouseMoveEvent(i,this.currentUserDetails)}fieldsToOptions(t,i){return I(t,(t,e)=>{let s=parseFloat(t),o=e.split("."),n=o.length-1;if(!O(s)||t.match(/px|em/g)||e.match(/format/g)||(t=s),"undefined"!==t){let e=i;o.forEach((i,s)=>{if("__proto__"!==i&&"constructor"!==i){let a=S(o[s+1],"");n===s?e[i]=t:(e[i]||(e[i]=a.match(/\d/g)?[]:{}),e=e[i])}})}}),i}deselectAnnotation(){this.activeAnnotation&&(this.activeAnnotation.setControlPointsVisibility(!1),this.activeAnnotation=!1)}annotationToFields(t){let i=t.options,e=ix.annotationsEditable,s=e.nestedOptions,o=S(i.type,i.shapes?.[0]?.type,i.labels?.[0]?.type,"label"),n=ix.annotationsNonEditable[i.langKey]||[],a={langKey:i.langKey,type:o};function r(i,e,o,a,h){let l;o&&b(i)&&-1===n.indexOf(e)&&((o.indexOf&&o.indexOf(e))>=0||o[e]||!0===o)&&(N(i)?(a[e]=[],i.forEach((t,i)=>{M(t)?(a[e][i]={},I(t,(t,o)=>{r(t,o,s[e],a[e][i],e)})):r(t,0,s[e],a[e],e)})):M(i)?(l={},N(a)?(a.push(l),l[e]={},l=l[e]):a[e]=l,I(i,(t,i)=>{r(t,i,0===e?o:s[e],l,e)})):"format"===e?a[e]=[io(i,t.labels[0].points[0]).toString(),"text"]:N(a)?a.push([i,ic(h,i)]):a[e]=[i,ic(e,i)])}return I(i,(t,n)=>{"typeOptions"===n&&"basicAnnotation"!==a.type?(a[n]={},I(i[n],(t,i)=>{r(t,i,s,a[n],i)})):r(t,n,e[o],a,n)}),a}getClickedClassNames(t,i){var e,s;let o,n,a,r=i.target,h=[],l;for(;r&&r.tagName&&(e=r,n=B(s="class")&&!b(void 0),a=(t,i)=>{b(t)?e.setAttribute(i,t):n?(o=e.getAttribute(i))||"class"!==i||(o=e.getAttribute(i+"Name")):e.removeAttribute(i)},B(s)?a(void 0,s):I(s,a),(l=o)&&(h=h.concat(l.split(" ").map(t=>[t,r]))),(r=r.parentNode)!==t););return h}getButtonEvents(t,i){let e,s=this;return this.getClickedClassNames(t,i).forEach(t=>{s.boundClassNames[t[0]]&&!e&&(e={events:s.boundClassNames[t[0]],button:t[1]})}),e}update(t){this.options=T(!0,this.options,t),this.removeEvents(),this.initEvents()}removeEvents(){this.eventsToUnbind.forEach(t=>t())}destroy(){this.removeEvents()}}ix.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"]},ix.annotationsNonEditable={rectangle:["crosshairX","crosshairY","labelOptions"],ellipse:["labelOptions"],circle:["labelOptions"]};let ib=f();ib.Annotation=ib.Annotation||t4,ib.NavigationBindings=ib.NavigationBindings||ix,ib.Annotation.compose(ib.Chart,ib.NavigationBindings,ib.Pointer,ib.SVGRenderer);let iA=f();return u.default})());
13
+ */function(t,i){"object"==typeof exports&&"object"==typeof module?module.exports=i(t._Highcharts,t._Highcharts.SeriesRegistry,t._Highcharts.Templating,t._Highcharts.AST,t._Highcharts.Color):"function"==typeof define&&define.amd?define("highcharts/modules/annotations",["highcharts/highcharts"],function(t){return i(t,t.SeriesRegistry,t.Templating,t.AST,t.Color)}):"object"==typeof exports?exports["highcharts/modules/annotations"]=i(t._Highcharts,t._Highcharts.SeriesRegistry,t._Highcharts.Templating,t._Highcharts.AST,t._Highcharts.Color):t.Highcharts=i(t.Highcharts,t.Highcharts.SeriesRegistry,t.Highcharts.Templating,t.Highcharts.AST,t.Highcharts.Color)}("u"<typeof window?this:window,(t,i,e,s,o)=>(()=>{"use strict";var n,a,r,h,l,c={512:t=>{t.exports=i},620:t=>{t.exports=o},660:t=>{t.exports=s},944:i=>{i.exports=t},984:t=>{t.exports=e}},p={};function d(t){var i=p[t];if(void 0!==i)return i.exports;var e=p[t]={exports:{}};return c[t](e,e.exports,d),e.exports}d.n=t=>{var i=t&&t.__esModule?()=>t.default:()=>t;return d.d(i,{a:i}),i},d.d=(t,i)=>{for(var e in i)d.o(i,e)&&!d.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:i[e]})},d.o=(t,i)=>Object.prototype.hasOwnProperty.call(t,i);var u={};d.d(u,{default:()=>iA});var g=d(944),f=d.n(g);let{doc:y,win:m}=f();function v(t,i,e,s={}){let o="function"==typeof t&&t.prototype||t;Object.hasOwnProperty.call(o,"hcEvents")||(o.hcEvents={});let n=o.hcEvents;f().Point&&t instanceof f().Point&&t.series&&t.series.chart&&(t.series.chart.runTrackerClick=!0);let a=t.addEventListener;a&&a.call(t,i,e,!!f().supportsPassiveEvents&&{passive:void 0===s.passive?-1!==i.indexOf("touch"):s.passive,capture:!1}),n[i]||(n[i]=[]);let r={fn:e,order:"number"==typeof s.order?s.order:1/0};return n[i].push(r),n[i].sort((t,i)=>t.order-i.order),function(){D(t,i,e)}}function x(t,i,e,s,o){var n,a,r;let h=y.createElement(t);return i&&k(h,i),o&&(n={padding:"0",border:"none",margin:"0"},k(h.style,n)),e&&(a=h,r=e,k(a.style,r)),s&&s.appendChild(h),h}function b(t){return null!=t}function A(t,i){let e=t.length;for(;e--;)if(t[e]===i){t.splice(e,1);break}}function k(t,i){let e;for(e in t||(t={}),i)t[e]=i[e];return t}function w(t,i,e,s){if(e=e||{},y?.createEvent&&(t.dispatchEvent||t.fireEvent&&t!==f())){let s=y.createEvent("Events");s.initEvent(i,!0,!0),e=k(s,e),t.dispatchEvent?t.dispatchEvent(e):t.fireEvent(i,e)}else if(t.hcEvents){e.target||k(e,{preventDefault:function(){e.defaultPrevented=!0},target:t,type:i});let s=[],o=t,n=!1;for(;o.hcEvents;)Object.hasOwnProperty.call(o,"hcEvents")&&o.hcEvents[i]&&(s.length&&(n=!0),s.unshift.apply(s,o.hcEvents[i])),o=Object.getPrototypeOf(o);n&&s.sort((t,i)=>t.order-i.order),s.forEach(i=>{!1===i.fn.call(t,e,t)&&e.preventDefault()})}s&&!e.defaultPrevented&&s.call(t,e)}let C=(t="")=>({center:.5,right:1,middle:.5,bottom:1})[t]||0,P=Array.prototype.find?function(t,i){return t.find(i)}:function(t,i){let e,s=t.length;for(e=0;e<s;e++)if(i(t[e],e))return t[e]};function E(t){return M(t)&&"number"==typeof t.nodeType}function O(t){return"number"==typeof t&&!isNaN(t)&&t<1/0&&t>-1/0}function B(t){return"string"==typeof t}function N(t){let i=Object.prototype.toString.call(t);return"[object Array]"===i||"[object Array Iterator]"===i}function M(t,i){return!!t&&"object"==typeof t&&(!i||!N(t))}function T(t,...i){let e,s=[t,...i],o={},n=function(t,i){return"object"!=typeof t&&(t={}),I(i,function(e,s){if("__proto__"!==s&&"constructor"!==s){let o;!M(e,!0)||(o=e?.constructor,M(e,!0)&&!E(e)&&o?.name&&"Object"!==o.name)||E(e)?t[s]=i[s]:t[s]=n(t[s]||{},e)}}),t};!0===t&&(o=s[1],s=Array.prototype.slice.call(s,2));let a=s.length;for(e=0;e<a;e++)o=n(o,s[e]);return o}function I(t,i,e){for(let s in t)Object.hasOwnProperty.call(t,s)&&i.call(e||t[s],t[s],s,t)}function S(){let t=arguments,i=t.length;for(let e=0;e<i;e++){let i=t[e];if(null!=i)return i}}function L(t,i){return 0>t.indexOf(i)&&!!t.push(i)}function D(t,i,e){function s(i,e){let s=t.removeEventListener;s&&s.call(t,i,e,!1)}function o(e){let o,n;t.nodeName&&(i?(o={})[i]=!0:o=e,I(o,function(t,i){if(e[i])for(n=e[i].length;n--;)s(i,e[i][n].fn)}))}let n="function"==typeof t&&t.prototype||t;if(Object.hasOwnProperty.call(n,"hcEvents")){let t=n.hcEvents;if(i){let n=t[i]||[];e?(t[i]=n.filter(function(t){return e!==t.fn}),s(i,e)):(o(t),t[i]=[])}else o(t),delete n.hcEvents}}function Y(t,i){let e,s,o=t.length;for(s=0;s<o;s++)t[s].safeI=s;for(t.sort(function(t,s){return 0===(e=i(t,s))?t.safeI-s.safeI:e}),s=0;s<o;s++)delete t[s].safeI}function X(t,i,e){let s=t[i];t[i]=function(){let t=arguments,i=this;return e.apply(this,[function(){return s.apply(i,arguments.length?arguments:t)}].concat([].slice.call(arguments)))}}function R(t,i){let e=this.initAnnotation(t);return this.options.annotations.push(e.options),S(i,!0)&&(e.redraw(),e.graphic.attr({opacity:1})),e}function F(){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((i,e)=>{if(!t.annotations.some(t=>t.options===i)){let s=t.initAnnotation(i);t.options.annotations[e]=s.options}}),t.drawAnnotations(),v(t,"redraw",t.drawAnnotations),v(t,"destroy",function(){t.plotBoxClip.destroy(),t.controlPointsGroup.destroy()}),v(t,"exportData",function(i){let e=t.annotations,s=(this.options.exporting&&this.options.exporting.csv||{}).columnHeaderFormatter,o=!i.dataRows[1].xValues,n=t.options.lang&&t.options.lang.exportData&&t.options.lang.exportData.annotationHeader,a=i.dataRows[0].length,r=t.options.exporting?.csv?.annotations?.itemDelimiter,h=t.options.exporting?.csv?.annotations?.join;e.forEach(t=>{t.options.labelOptions?.includeInDataExport&&t.labels.forEach(t=>{if(t.options.text){let e=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=i.dataRows[0].length,a=Array(t);for(let i=0;i<t;++i)a[i]="";a.push(e),a.xValues=[],a.xValues[o]=s,i.dataRows.push(a),n=!0}if(n||i.dataRows.forEach(t=>{!n&&t.xValues&&void 0!==o&&s===t.xValues[o]&&(h&&t.length>a?t[t.length-1]+=r+e:t.push(e),n=!0)}),!n){let t=i.dataRows[0].length,n=Array(t);for(let i=0;i<t;++i)n[i]="";n[0]=s,n.push(e),n.xValues=[],void 0!==o&&(n.xValues[o]=s),i.dataRows.push(n)}})}})});let l=0;i.dataRows.forEach(t=>{l=Math.max(l,t.length)});let c=l-i.dataRows[0].length;for(let t=0;t<c;t++){let e=function(t){let i;return s&&!1!==(i=s(t))?i:(i=n+" "+t,o)?{columnTitle:i,topLevelColumnTitle:i}:i}(t+1);o?(i.dataRows[0].push(e.topLevelColumnTitle),i.dataRows[1].push(e.columnTitle)):i.dataRows[0].push(e)}})}function U(){this.plotBoxClip.attr(this.plotBox),this.annotations.forEach(t=>{t.redraw(),t.graphic.animate({opacity:1},t.animationConfig)})}function W(t){let i=this.annotations,e="annotations"===t.coll?t:P(i,function(i){return i.options.id===t});e&&(w(e,"remove"),A(this.options.annotations,e.options),A(i,e),e.destroy())}function H(){let t=this.options.annotations,i=this.userOptions.annotations;this.annotations=[],N(this.options.annotations)||(this.options.annotations=[]),M(i,!0)&&M(t,!0)&&this.options.annotations.push(t)}function j(t){this.chart.hasDraggedAnnotation||t.apply(this,Array.prototype.slice.call(arguments,1))}(a||(a={})).compose=function(t,i,e){let s=i.prototype;if(!s.addAnnotation){let o=e.prototype;v(i,"afterInit",H),s.addAnnotation=R,s.callbacks.push(F),s.collectionsWithInit.annotations=[R],s.collectionsWithUpdate.push("annotations"),s.drawAnnotations=U,s.removeAnnotation=W,s.initAnnotation=function(i){let e=new(t.types[i.type]||t)(this,i);return this.annotations.push(e),e},X(o,"onContainerMouseDown",j)}};let z=a,V={visible:!0,animation:{},crop:!0,draggable:"xy",labelOptions:{align:"center",allowOverlap:!1,backgroundColor:"rgba(0, 0, 0, 0.75)",borderColor:"#000000",borderRadius:3,borderWidth:1,className:"highcharts-no-tooltip",crop:!1,formatter:function(){return b(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:"#ffffff",stroke:"#000000","stroke-width":2},height:10,symbol:"circle",visible:!1,width:10},events:{},typeOptions:{},types:{},zIndex:6},{doc:q,isTouchDevice:_}=f(),G=class{addEvents(){let t=this,i=function(i){v(i,_?"touchstart":"mousedown",i=>{t.onMouseDown(i)},{passive:!1})};if(i(this.graphic.element),(t.labels||[]).forEach(t=>{t.options.useHTML&&t.graphic.text&&!t.graphic.text.foreignObject&&i(t.graphic.text.element)}),I(t.options.events,(i,e)=>{let s=function(s){"click"===e&&t.cancelClick||i.call(t,t.chart.pointer?.normalize(s),t.target,t)};-1===(t.nonDOMEvents||[]).indexOf(e)?(v(t.graphic.element,e,s,{passive:!1}),t.graphic.div&&v(t.graphic.div,e,s,{passive:!1})):v(t,e,s,{passive:!1})}),t.options.draggable&&(v(t,"drag",t.onDrag),!t.graphic.renderer.styledMode)){let i={cursor:{x:"ew-resize",y:"ns-resize",xy:"move"}[t.options.draggable]};t.graphic.css(i),(t.labels||[]).forEach(t=>{t.options.useHTML&&t.graphic.text&&!t.graphic.text.foreignObject&&t.graphic.text.css(i)})}t.isUpdating||w(t,"add")}destroy(){this.removeDocEvents(),D(this),this.hcEvents=null}mouseMoveToRadians(t,i,e){let s=t.prevChartY-e,o=t.prevChartX-i,n=t.chartY-e,a=t.chartX-i,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,i,e){let s=t.prevChartX-i,o=t.prevChartY-e,n=t.chartX-i,a=t.chartY-e,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 i=t.chartX-t.prevChartX,e=t.chartY-t.prevChartY,s;return this.chart.inverted&&(s=e,e=i,i=s),{x:i,y:e}}onDrag(t){if(this.chart.isInsidePlot(t.chartX-this.chart.plotLeft,t.chartY-this.chart.plotTop,{visiblePlotOnly:!0})){let i=this.mouseMoveToTranslation(t);"x"===this.options.draggable&&(i.y=0),"y"===this.options.draggable&&(i.x=0),this.points.length?this.translate(i.x,i.y):(this.shapes.forEach(t=>t.translate(i.x,i.y)),this.labels.forEach(t=>t.translate(i.x,i.y))),this.redraw(!1)}}onMouseDown(t){if(t.preventDefault&&t.preventDefault(),2===t.button)return;let i=this,e=i.chart.pointer,s=t?.sourceCapabilities?.firesTouchEvents||!1,o=(t=e?.normalize(t)||t).chartX,n=t.chartY;i.cancelClick=!1,i.chart.hasDraggedAnnotation=!0,i.removeDrag=v(q,_||s?"touchmove":"mousemove",function(t){i.hasDragged=!0,(t=e?.normalize(t)||t).prevChartX=o,t.prevChartY=n,w(i,"drag",t),o=t.chartX,n=t.chartY},_||s?{passive:!1}:void 0),i.removeMouseUp=v(q,_||s?"touchend":"mouseup",function(){let t=S(i.target&&i.target.annotation,i.target);t&&(t.cancelClick=i.hasDragged),i.cancelClick=i.hasDragged,i.chart.hasDraggedAnnotation=!1,i.hasDragged&&w(S(t,i),"afterUpdate"),i.hasDragged=!1,i.onMouseUp()},_||s?{passive:!1}:void 0)}onMouseUp(){this.removeDocEvents()}removeDocEvents(){this.removeDrag&&(this.removeDrag=this.removeDrag()),this.removeMouseUp&&(this.removeMouseUp=this.removeMouseUp())}},K=class extends G{constructor(t,i,e,s){super(),this.nonDOMEvents=["drag"],this.chart=t,this.target=i,this.options=e,this.index=S(e.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,i=this.options;this.graphic=t.renderer.symbol(i.symbol,0,0,i.width,i.height).add(t.controlPointsGroup).css(i.style),this.setVisibility(i.visible),this.addEvents()}setVisibility(t){this.graphic[t?"show":"hide"](),this.options.visible=t}update(t){let i=this.chart,e=this.target,s=this.index,o=T(!0,this.options,t);this.destroy(),this.constructor(i,e,o,s),this.render(i.controlPointsGroup),this.redraw()}};var $=d(512),Z=d.n($);let{series:{prototype:J}}=Z();class Q{static fromPoint(t){return new Q(t.series.chart,null,{x:t.x,y:t.y,xAxis:t.series.xAxis,yAxis:t.series.yAxis})}static pointToPixels(t,i){let e=t.series,s=e.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))),e&&!i&&(o+=(a=e.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,i,e){this.mock=!0,this.point=this,this.series={visible:!0,chart:t,getPlotBox:J.getPlotBox},this.target=i||null,this.options=e,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,i=this.plotY,e=this.series.xAxis,s=this.series.yAxis,o={x:t,y:i,isInsidePlot:!0,options:{}};return e&&(o.isInsidePlot=b(t)&&t>=0&&t<=e.len),s&&(o.isInsidePlot=o.isInsidePlot&&b(i)&&i>=0&&i<=s.len),w(this.series.chart,"afterIsInsidePlot",o),o.isInsidePlot}refresh(){let t=this.series,i=t.xAxis,e=t.yAxis,s=this.getOptions();i?(this.x=s.x,this.plotX=i.toPixels(s.x,!0)):(this.x=void 0,this.plotX=s.x),e?(this.y=s.y,this.plotY=e.toPixels(s.y,!0)):(this.y=null,this.plotY=s.y),this.isInside=this.isInsidePlot()}refreshOptions(){let t=this.series,i=t.xAxis,e=t.yAxis;this.x=this.options.x=i?this.options.x=i.toValue(this.plotX,!0):this.plotX,this.y=this.options.y=e?e.toValue(this.plotY,!0):this.plotY}rotate(t,i,e){if(!this.hasDynamicOptions()){let s=Math.cos(e),o=Math.sin(e),n=this.plotX-t,a=this.plotY-i;this.plotX=n*s-a*o+t,this.plotY=n*o+a*s+i,this.refreshOptions()}}scale(t,i,e,s){if(!this.hasDynamicOptions()){let o=this.plotX*e,n=this.plotY*s;this.plotX=(1-e)*t+o,this.plotY=(1-s)*i+n,this.refreshOptions()}}setAxis(t,i){let e=i+"Axis",s=t[e],o=this.series.chart;this.series[e]="object"==typeof s?s:b(s)?o[e][s]||o.get(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,i,e,s){this.hasDynamicOptions()||(this.plotX+=e,this.plotY+=s,this.refreshOptions())}}!function(t){function i(){let t=this.controlPoints,i=this.options.controlPoints||[];i.forEach((e,s)=>{let o=T(this.options.controlPointOptions,e);o.index||(o.index=s),i[s]=o,t.push(new K(this.chart,this,o))})}function e(t){let i=t.series.getPlotBox(),e=t.series.chart,s=t.mock?t.toAnchor():e.tooltip&&e.tooltip.getAnchor.call({chart:t.series.chart},t)||[0,0,0,0],o={x:s[0]+(this.options.x||0),y:s[1]+(this.options.y||0),height:s[2]||0,width:s[3]||0};return{relativePosition:o,absolutePosition:T(o,{x:o.x+(t.mock?i.translateX:e.plotLeft),y:o.y+(t.mock?i.translateY:e.plotTop)})}}function s(){this.controlPoints.forEach(t=>t.destroy()),this.chart=null,this.controlPoints=null,this.points=null,this.options=null,this.annotation&&(this.annotation=null)}function o(){var t;let i=this.options;return i.points||i.point&&(N(t=i.point)?t:[t])}function n(){let t,i,e=this.getPointsOptions(),s=this.points,o=e?.length||0;for(t=0;t<o;t++){if(!(i=this.point(e[t],s[t]))){s.length=0;return}i.mock&&i.refresh(),s[t]=i}return s}function a(t,i){if(t&&t.series)return t;if(!i||null===i.series){if(M(t))i=new Q(this.chart,this,t);else if(B(t))i=this.chart.get(t)||null;else if("function"==typeof t){let e=t.call(i,this);i=e.series?e:new Q(this.chart,this,t)}}return i}function r(t){this.controlPoints.forEach(i=>i.redraw(t))}function h(){this.controlPoints.forEach(t=>t.render())}function l(t,i,e,s,o){if(this.chart.inverted){let t=i;i=e,e=t}this.points.forEach((n,a)=>this.transformPoint(t,i,e,s,o,a),this)}function c(t,i,e,s,o,n){let a=this.points[n];a.mock||(a=this.points[n]=Q.fromPoint(a)),a[t](i,e,s,o)}function p(t,i){this.transform("translate",null,null,t,i)}function d(t,i,e){this.transformPoint("translate",null,null,t,i,e)}t.compose=function(t){let u=t.prototype;u.addControlPoints||T(!0,u,{addControlPoints:i,anchor:e,destroyControlTarget:s,getPointsOptions:o,linkPoints:n,point:a,redrawControlPoints:r,renderControlPoints:h,transform:l,transformPoint:c,translate:p,translatePoint:d})}}(r||(r={}));let tt=r;class ti{constructor(t,i,e,s){this.annotation=t,this.chart=t.chart,this.collection="label"===s?"labels":"shapes",this.controlPoints=[],this.options=i,this.points=[],this.index=e,this.itemType=s,this.init(t,i,e)}attr(){this.graphic.attr.apply(this.graphic,arguments)}attrsFromOptions(t){let i,e,s=this.constructor.attrsMap,o={},n=this.chart.styledMode;for(i in t)e=s[i],void 0===s[i]||n&&-1!==["fill","stroke","stroke-width"].indexOf(e)||(o[e]=t[i]);return o}destroy(){this.graphic&&(this.graphic=this.graphic.destroy()),this.tracker&&(this.tracker=this.tracker.destroy()),this.destroyControlTarget()}calculateAnnotationSize(t,i,e){let s=e.toPixels(t,!0);return Math.abs(e.toPixels(t+i,!0)-s)}init(t,i,e){this.annotation=t,this.chart=t.chart,this.options=i,this.points=[],this.controlPoints=[],this.index=e,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,i,e){this.transform("rotate",t,i,e)}scale(t,i,e,s){this.transform("scale",t,i,e,s)}setControlPointsVisibility(t){this.controlPoints.forEach(i=>{i.setVisibility(t)})}shouldBeDrawn(){return!!this.points.length}translateShape(t,i,e){let s=this.annotation.chart,o=this.annotation.userOptions,n=s.annotations.indexOf(this.annotation),a=s.options.annotations[n];this.translatePoint(t,i,0),e&&this.translatePoint(t,i,1),a[this.collection][this.index].point=this.options.point,o[this.collection][this.index].point=this.options.point}update(t){let i=this.annotation,e=T(!0,this.options,t),s=this.graphic.parentGroup,o=this.constructor;this.destroy(),T(!0,this,new o(i,e,this.index,this.itemType)),this.render(s),this.redraw()}}tt.compose(ti);let te=ti,{defaultMarkers:ts}={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}}]}}},to=tr("marker-end"),tn=tr("marker-start"),ta="rgba(192,192,192,"+(f().svg?1e-4:.002)+")";function tr(t){return function(i){this.attr(t,"url(#"+i+")")}}function th(){this.options.defs=T(ts,this.options.defs||{})}function tl(t,i){let e={attributes:{id:t}},s={stroke:i.color||"none",fill:i.color||"rgba(0, 0, 0, 0.75)"};e.children=i.children&&i.children.map(function(t){return T(s,t)});let o=T(!0,{attributes:{markerWidth:20,markerHeight:20,refX:0,refY:0,orient:"auto"}},i,e),n=this.definition(o);return n.id=t,n}class tc extends te{static compose(t,i){let e=i.prototype;e.addMarker||(v(t,"afterGetContainer",th),e.addMarker=tl)}constructor(t,i,e){super(t,i,e,"shape"),this.type="path"}init(t,i,e){b(i.yAxis)&&i.points.forEach(t=>{t&&"string"!=typeof t&&(t.yAxis=i.yAxis)}),b(i.xAxis)&&i.points.forEach(t=>{t&&"string"!=typeof t&&(t.xAxis=i.xAxis)}),super.init(t,i,e)}toD(){let t=this.options.d;if(t)return"function"==typeof t?t.call(this):t;let i=this.points,e=i.length,s=[],o=e,n=i[0],a=o&&this.anchor(n).absolutePosition,r=0,h;if(a)for(s.push(["M",a.x,a.y]);++r<e&&o;)h=(n=i[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 i=this.options,e=this.attrsFromOptions(i);this.graphic=this.annotation.chart.renderer.path([["M",0,0]]).attr(e).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:ta,fill:ta,"stroke-width":this.graphic.strokeWidth()+2*i.snap}),super.render(),k(this.graphic,{markerStartSetter:tn,markerEndSetter:to}),this.setMarkers(this)}redraw(t){if(this.graphic){let i=this.toD(),e=t?"animate":"attr";i?(this.graphic[e]({d:i}),this.tracker[e]({d:i})):(this.graphic.attr({d:"M 0 -9000000000"}),this.tracker.attr({d:"M 0 -9000000000"})),this.graphic.placed=this.tracker.placed=!!i}super.redraw(t)}setMarkers(t){let i=t.options,e=t.chart,s=e.options.defs,o=i.fill,n=b(o)&&"none"!==o?o:i.stroke;["markerStart","markerEnd"].forEach(function(o){let a,r,h,l,c=i[o];if(c){for(h in s)if((c===((a=s[h]).attributes&&a.attributes.id)||c===a.id)&&"marker"===a.tagName){r=a;break}r&&(l=t[o]=e.renderer.addMarker((i.id||(0,g.uniqueKey)())+"-"+c,T(r,{color:n})),t.attr(o,l.getAttribute("id")))}})}}tc.attrsMap={dashStyle:"dashstyle",strokeWidth:"stroke-width",stroke:"stroke",fill:"fill",zIndex:"zIndex"};class tp extends te{constructor(t,i,e){super(t,i,e,"shape"),this.type="rect",this.translate=super.translateShape}init(t,i,e){let{point:s,xAxis:o,yAxis:n}=i;s&&"string"!=typeof s&&(b(o)&&(s.xAxis=o),b(n)&&(s.yAxis=n)),super.init(t,i,e)}render(t){let i=this.attrsFromOptions(this.options);this.graphic=this.annotation.chart.renderer.rect(0,-9e9,0,0).attr(i).add(t),super.render()}redraw(t){if(this.graphic){let i=this.points[0],e=this.anchor(i).absolutePosition,s=this.options.width||0,o=this.options.height||0;if(e){let n=b(this.options.xAxis)?this.chart.xAxis[this.options.xAxis]:void 0,a=b(this.options.yAxis)?this.chart.yAxis[this.options.yAxis]:void 0;n&&b(i.x)&&(s=this.calculateAnnotationSize(i.x,s,n)),a&&b(i.y)&&(o=this.calculateAnnotationSize(i.y,o,a)),this.graphic[t?"animate":"attr"]({x:e.x,y:e.y,width:s,height:o})}else this.attr({x:0,y:-9e9});this.graphic.placed=!!e}super.redraw(t)}}tp.attrsMap=T(tc.attrsMap,{width:"width",height:"height"});class td extends te{constructor(t,i,e){super(t,i,e,"shape"),this.type="circle",this.translate=super.translateShape}init(t,i,e){let{point:s,xAxis:o,yAxis:n}=i;s&&"string"!=typeof s&&(b(o)&&(s.xAxis=o),b(n)&&(s.yAxis=n)),super.init(t,i,e)}redraw(t){if(this.graphic){let i=this.points[0],e=this.anchor(i).absolutePosition,s=this.options.r||0;if(e){let o=b(this.options.yAxis)?this.chart.yAxis[this.options.yAxis]:void 0;o&&b(i.y)&&(s=this.calculateAnnotationSize(i.y,s,o)),this.graphic[t?"animate":"attr"]({x:e.x,y:e.y,r:s})}else this.graphic.attr({x:0,y:-9e9});this.graphic.placed=!!e}super.redraw.call(this,t)}render(t){let i=this.attrsFromOptions(this.options);this.graphic=this.annotation.chart.renderer.circle(0,-9e9,0).attr(i).add(t),super.render()}setRadius(t){this.options.r=t}}td.attrsMap=T(tc.attrsMap,{r:"r"});class tu extends te{constructor(t,i,e){super(t,i,e,"shape"),this.type="ellipse"}init(t,i,e){b(i.yAxis)&&i.points.forEach(t=>{t&&"string"!=typeof t&&(t.yAxis=i.yAxis)}),b(i.xAxis)&&i.points.forEach(t=>{t&&"string"!=typeof t&&(t.xAxis=i.xAxis)}),super.init(t,i,e)}render(t){this.graphic=this.annotation.chart.renderer.createElement("ellipse").attr(this.attrsFromOptions(this.options)).add(t),super.render()}translate(t,i){super.translateShape(t,i,!0)}getDistanceFromLine(t,i,e,s){return Math.abs((i.y-t.y)*e-(i.x-t.x)*s+i.x*t.y-i.y*t.x)/Math.sqrt((i.y-t.y)*(i.y-t.y)+(i.x-t.x)*(i.x-t.x))}getAttrs(t,i){let e=t.x,s=t.y,o=i.x,n=i.y,a=(e+o)/2,r=Math.sqrt((e-o)*(e-o)/4+(s-n)*(s-n)/4),h=180*Math.atan((n-s)/(o-e))/Math.PI;return a<e&&(h+=180),{cx:a,cy:(s+n)/2,rx:r,ry:this.getRY(),angle:h}}getRY(){let t=this.getYAxis();return b(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 i=this.getAbsolutePosition(this.points[0]),e=this.getAbsolutePosition(this.points[1]),s=this.getAttrs(i,e);i?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=!!i}super.redraw(t)}setYRadius(t){let i=this.annotation.userOptions.shapes;this.options.ry=t,i&&i[0]&&(i[0].ry=t,i[0].ry=t)}}tu.attrsMap=T(tc.attrsMap,{ry:"ry"});var tg=d(984),tf=d.n(tg);let{format:ty}=tf();function tm(t,i,e,s,o){let n=o&&o.anchorX,a=o&&o.anchorY,r,h,l=e/2;return O(n)&&O(a)&&(r=[["M",n,a]],(h=i-a)<0&&(h=-s-h),h<e&&(l=n<t+e/2?h:e-h),a>i+s?r.push(["L",t+l,i+s]):a<i?r.push(["L",t+l,i]):n<t?r.push(["L",t,i+s/2]):n>t+e&&r.push(["L",t+e,i+s/2])),r||[]}class tv extends te{static alignedPosition(t,i){return{x:Math.round((i.x||0)+(t.x||0)+(i.width-(t.width||0))*C(t.align)),y:Math.round((i.y||0)+(t.y||0)+(i.height-(t.height||0))*C(t.verticalAlign))}}static compose(t){t.prototype.symbols.connector=tm}static justifiedOptions(t,i,e,s){let o,n=e.align,a=e.verticalAlign,r=i.box?0:i.padding||0,h=i.getBBox(),l={align:n,verticalAlign:a,x:e.x,y:e.y,width:i.width,height:i.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,i,e){super(t,i,e,"label")}translatePoint(t,i){super.translatePoint(t,i,0)}translate(t,i){var e,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 e=t;t=i,i=e}(e=this.options).x||(e.x=0),(s=this.options).y||(s.y=0),this.options.x+=t,this.options.y+=i,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 i=this.options,e=this.attrsFromOptions(i),s=i.style,o=this.annotation.chart.options.chart,n=o.plotBackgroundColor||o.backgroundColor;if(this.graphic=this.annotation.chart.renderer.label("",0,-9999,i.shape,void 0,void 0,i.useHTML,void 0,"annotation-label").attr(e).add(t),!this.annotation.chart.styledMode){if(s?.color==="contrast"){let t=!i.shape||tv.shapesWithoutBackground.indexOf(i.shape)>-1||"none"===i.backgroundColor?n:i.backgroundColor;s.color=this.annotation.chart.renderer.getContrast("string"==typeof t?t:"string"==typeof n?n:"#ffffff")}this.graphic.css(i.style||{}).shadow(i.shadow)}this.graphic.labelrank=i.labelrank,super.render()}redraw(t){let i=this.options,e=this.text||i.format||i.text,s=this.graphic,o=this.points[0];if(!s)return void this.redraw(t);s.attr({text:e?ty(String(e),o,this.annotation.chart):i.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 i=super.anchor.apply(this,arguments),e=this.options.x||0,s=this.options.y||0;return i.absolutePosition.x-=e,i.absolutePosition.y-=s,i.relativePosition.x-=e,i.relativePosition.y-=s,i}position(t){let i=this.graphic,e=this.annotation.chart,s=e.tooltip,o=this.points[0],n=this.options,a=t.absolutePosition,r=t.relativePosition,h,l,c,p,d=o.series.visible&&Q.prototype.isInsidePlot.call(o);if(i&&d){let{width:t=0,height:u=0}=i;n.distance&&s?h=s.getPosition.call({chart:e,distance:S(n.distance,16),getPlayingField:s.getPlayingField,pointer:s.pointer},t,u,{plotX:r.x,plotY:r.y,negative:o.negative,ttBelow:o.ttBelow,h:r.height||r.width}):n.positioner?h=n.positioner.call(this,this):(l={x:a.x,y:a.y,width:0,height:0},h=tv.alignedPosition(k(n,{width:t,height:u}),l),"justify"===this.options.overflow&&(h=tv.alignedPosition(tv.justifiedOptions(e,i,n,h),l))),n.crop&&(c=h.x-e.plotLeft,p=h.y-e.plotTop,d=e.isInsidePlot(c,p)&&e.isInsidePlot(c+t,p+u))}return d?h:null}}tv.attrsMap={backgroundColor:"fill",borderColor:"stroke",borderWidth:"stroke-width",zIndex:"zIndex",borderRadius:"r",padding:"padding"},tv.shapesWithoutBackground=["connector"];class tx extends te{constructor(t,i,e){super(t,i,e,"shape"),this.type="image",this.translate=super.translateShape}render(t){let i=this.attrsFromOptions(this.options),e=this.options;this.graphic=this.annotation.chart.renderer.image(e.src,0,-9e9,e.width,e.height).attr(i).add(t),this.graphic.width=e.width,this.graphic.height=e.height,super.render()}redraw(t){if(this.graphic){let i=this.anchor(this.points[0]),e=tv.prototype.position.call(this,i);e?this.graphic[t?"animate":"attr"]({x:e.x,y:e.y}):this.graphic.attr({x:0,y:-9e9}),this.graphic.placed=!!e}super.redraw(t)}}tx.attrsMap={width:"width",height:"height",zIndex:"zIndex"};var tb=d(660),tA=d.n(tb);let tk=class{constructor(t,i){this.iconsURL=i,this.container=this.createPopupContainer(t),this.closeButton=this.addCloseButton()}createPopupContainer(t,i="highcharts-popup highcharts-no-tooltip"){return x("div",{className:i},void 0,t)}addCloseButton(t="highcharts-popup-close"){let i=this,e=this.iconsURL,s=x("button",{className:t},void 0,this.container);return x("span",{className:"highcharts-icon"},{backgroundImage:"url("+(e.match(/png|svg|jpeg|jpg|gif/ig)?e:e+"close.svg")+")"},s),["click","touchstart"].forEach(t=>{v(s,t,i.closeButtonEvents.bind(i))}),v(document,"keydown",function(t){"Escape"===t.code&&i.closeButtonEvents()}),s}closeButtonEvents(){this.closePopup()}showPopup(t="highcharts-annotation-toolbar"){let i=this.container,e=this.closeButton;this.type=void 0,i.innerHTML=tA().emptyHTML,i.className.indexOf(t)>=0&&(i.classList.remove(t),i.removeAttribute("style")),i.appendChild(e),i.style.display="block",i.style.height=""}closePopup(){this.container.style.display="none"}};var tw=d(620),tC=d.n(tw);let{doc:tP,isFirefox:tE}=f();function tO(t,i,e,s,o,n){let a,r;if(!i)return;let h=this.addInput,l=this.lang;I(s,(s,n)=>{a=""!==e?e+"."+n:n,M(s)&&(!N(s)||N(s)&&M(s[0])?((r=l[n]||n).match(/\d/g)||o.push([!0,r,t]),tO.call(this,t,i,a,s,o,!1)):o.push([this,a,"annotation",t,s]))}),n&&(Y(o,t=>t[1].match(/format/g)?-1:1),tE&&o.reverse(),o.forEach(t=>{!0===t[0]?x("span",{className:"highcharts-annotation-title"},void 0,t[2]).appendChild(tP.createTextNode(t[1])):(t[4]={value:t[4][0],type:t[4][1]},h.apply(t[0],t.splice(1)))}))}let{doc:tB}=f(),{seriesTypes:tN}=Z();(n=h||(h={}))[n["params.algorithm"]=0]="params.algorithm",n[n["params.average"]=1]="params.average";let tM={"algorithm-pivotpoints":["standard","fibonacci","camarilla"],"average-disparityindex":["sma","ema","dema","tema","wma"]};function tT(t){let i=x("div",{className:"highcharts-popup-lhs-col"},void 0,t),e=x("div",{className:"highcharts-popup-rhs-col"},void 0,t);return x("div",{className:"highcharts-popup-rhs-col-wrapper"},void 0,e),{lhsCol:i,rhsCol:e}}function tI(t,i,e,s){let o=i.params||i.options.params;s.innerHTML=tA().emptyHTML,x("h3",{className:"highcharts-indicator-title"},void 0,s).appendChild(tB.createTextNode(tU(i,e).indicatorFullName)),x("input",{type:"hidden",name:"highcharts-type-"+e,value:e},void 0,s),tW.call(this,e,"series",t,s,i,i.linkedParent&&i.linkedParent.options.id),o.volumeSeriesID&&tW.call(this,e,"volume",t,s,i,i.linkedParent&&o.volumeSeriesID),tL.call(this,t,"params",o,e,s)}function tS(t,i,e,s){function o(i,e){let s=g.parentNode.children[1];tI.call(n,t,i,e,g),s&&(s.style.display="block"),l&&i.options&&x("input",{type:"hidden",name:"highcharts-id-"+e,value:i.options.id},void 0,g).setAttribute("highcharts-data-series-id",i.options.id)}let n=this,a=n.lang,r=i.querySelectorAll(".highcharts-popup-lhs-col")[0],h=i.querySelectorAll(".highcharts-popup-rhs-col")[0],l="edit"===e,c=l?t.series:t.options.plotOptions||{};if(!t&&c)return;let p,d=[];l||N(c)?N(c)&&(d=tF.call(this,c)):d=tR.call(this,c,s),Y(d,(t,i)=>{let e=t.indicatorFullName.toLowerCase(),s=i.indicatorFullName.toLowerCase();return e<s?-1:+(e>s)}),r.children[1]&&r.children[1].remove();let u=x("ul",{className:"highcharts-indicator-list"},void 0,r),g=h.querySelectorAll(".highcharts-popup-rhs-col-wrapper")[0];if(d.forEach(t=>{let{indicatorFullName:i,indicatorType:e,series:s}=t;p=x("li",{className:"highcharts-indicator-list"},void 0,u);let n=x("button",{className:"highcharts-indicator-list-item",textContent:i},void 0,p);["click","touchstart"].forEach(t=>{v(n,t,function(){o(s,e)})})}),d.length>0){let{series:t,indicatorType:i}=d[0];o(t,i)}else l||(tA().setElementHTML(g.parentNode.children[0],a.noFilterMatch||""),g.parentNode.children[1].style.display="none")}function tL(t,i,e,s,o){if(!t)return;let n=this.addInput;I(e,(e,a)=>{let r=i+"."+a;if(b(e)&&r)if(M(e)&&(n.call(this,r,s,o,{}),tL.call(this,t,r,e,s,o)),r in h){let n=tY.call(this,s,r,o);tX.call(this,t,i,n,s,a,e)}else"params.volumeSeriesID"===r||N(e)||n.call(this,r,s,o,{value:e,type:"number"})})}function tD(t,i){let e=this,s=i.querySelectorAll(".highcharts-popup-lhs-col")[0],o=this.lang.clearFilter,n=x("div",{className:"highcharts-input-wrapper"},void 0,s),a=function(i){tS.call(e,t,e.container,"add",i)},r=this.addInput("searchIndicators","input",n,{value:"",type:"text",htmlFor:"search-indicators",labelClassName:"highcharts-input-search-indicators-label"}),h=x("a",{textContent:o},void 0,n);r.classList.add("highcharts-input-search-indicators"),h.classList.add("clear-filter-button"),v(r,"input",function(){a(this.value),this.value.length?h.style.display="inline-block":h.style.display="none"}),["click","touchstart"].forEach(t=>{v(h,t,function(){r.value="",a(""),h.style.display="none"})})}function tY(t,i,e){let s=i.split("."),o=s[s.length-1],n="highcharts-"+i+"-type-"+t,a=this.lang;x("label",{htmlFor:n},null,e).appendChild(tB.createTextNode(a[o]||i));let r=x("select",{name:n,className:"highcharts-popup-field",id:"highcharts-select-"+i},null,e);return r.setAttribute("id","highcharts-select-"+i),r}function tX(t,i,e,s,o,n,a){"series"===i||"volume"===i?t.series.forEach(t=>{let s=t.options,o=s.name||s.params?t.name:s.id||"";"highcharts-navigator-series"!==s.id&&s.id!==(a&&a.options&&a.options.id)&&(b(n)||"volume"!==i||"column"!==t.type||(n=s.id),x("option",{value:s.id},void 0,e).appendChild(tB.createTextNode(o)))}):s&&o&&tM[o+"-"+s].forEach(t=>{x("option",{value:t},void 0,e).appendChild(tB.createTextNode(t))}),b(n)&&(e.value=n)}function tR(t,i){let e,s=this.chart&&this.chart.options.lang,o=s&&s.navigation&&s.navigation.popup&&s.navigation.popup.indicatorAliases,n=new Map;return I(t,(t,s)=>{let a=t&&t.options;if(t.params||a&&a.params){let{indicatorFullName:a,indicatorType:r}=tU(t,s);if(i){let s=RegExp(i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"i"),h=o&&o[r]&&o[r].join(" ")||"";(a.match(s)||h.match(s))&&(e={indicatorFullName:a,indicatorType:r,series:t},n.set(r.toLowerCase(),e))}else e={indicatorFullName:a,indicatorType:r,series:t},n.set(r.toLowerCase(),e)}}),Array.from(n.values())}function tF(t){let i=[];return t.forEach(t=>{t.is("sma")&&i.push({indicatorFullName:t.name,indicatorType:t.type,series:t})}),i}function tU(t,i){let e=t.options,s=tN[i]&&tN[i].prototype.nameBase||i.toUpperCase(),o=i;return e&&e.type&&(o=t.options.type,s=t.name),{indicatorFullName:s,indicatorType:o}}function tW(t,i,e,s,o,n){if(!e)return;let a=tY.call(this,t,i,s);tX.call(this,e,i,a,void 0,void 0,void 0,o),b(n)&&(a.value=n)}let{doc:tH}=f();function tj(){return x("div",{className:"highcharts-tab-item-content highcharts-no-mousewheel"},void 0,this.container)}function tz(t,i){let e=this.container,s=this.lang,o="highcharts-tab-item";0===i&&(o+=" highcharts-tab-disabled");let n=x("button",{className:o},void 0,e);return n.appendChild(tH.createTextNode(s[t+"Button"]||t)),n.setAttribute("highcharts-data-tab-type",t),n}function tV(){let t=this.container,i=t.querySelectorAll(".highcharts-tab-item"),e=t.querySelectorAll(".highcharts-tab-item-content");for(let t=0;t<i.length;t++)i[t].classList.remove("highcharts-tab-item-active"),e[t].classList.remove("highcharts-tab-item-show")}function tq(t,i){let e=this.container.querySelectorAll(".highcharts-tab-item-content");t.className+=" highcharts-tab-item-active",e[i].className+=" highcharts-tab-item-show"}function t_(t){let i=this;this.container.querySelectorAll(".highcharts-tab-item").forEach((e,s)=>{(0!==t||"edit"!==e.getAttribute("highcharts-data-tab-type"))&&["click","touchstart"].forEach(t=>{v(e,t,function(){tV.call(i),tq.call(i,this,s)})})})}let{doc:tG}=f(),{getOptions:tK}=f();class t$ extends tk{constructor(t,i,e){super(t,i),this.chart=e,this.lang=(tK().lang.navigation||{}).popup||{},v(this.container,"mousedown",()=>{let t=e&&e.navigationBindings&&e.navigationBindings.activeAnnotation;if(t){t.cancelClick=!0;let i=v(tG,"click",()=>{setTimeout(()=>{t.cancelClick=!1},0),i()})}})}addInput(t,i,e,s){let o=t.split("."),n=o[o.length-1],a=this.lang,r="highcharts-"+i+"-"+S(s.htmlFor,n);if(n.match(/^\d+$/)||x("label",{htmlFor:r,className:s.labelClassName},void 0,e).appendChild(tG.createTextNode(a[n]||n)),"color"===s.type&&this.chart?.container)return this.createColorInput(t,r,s,e,this.chart.container);let h=x("input",{name:r,value:s.value,type:s.type,className:"highcharts-popup-field"},void 0,e);return h.setAttribute("highcharts-data-name",t),h}createColorInput(t,i,e,s,o){let{value:n,alpha:a}=function(t,i){let e=t=>("0"+Math.round(t).toString(16)).slice(-2).toUpperCase(),s=t=>{let[i,s,o,n]=tC().parse(t).rgba;return{value:"#"+e(i)+e(s)+e(o),alpha:n}};if(t.startsWith("rgb")||t.startsWith("rgba"))return s(t);if(t.startsWith("color")||t.startsWith("var")){let o=tG.createElement("span");o.style.setProperty("color",t),i.appendChild(o);let n=window.getComputedStyle(o).color;if(i.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 i=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:"#"+e(i)+e(s)+e(o),alpha:n}}}if(n.startsWith("rgb")||n.startsWith("rgba"))return s(n)}return{value:t,alpha:1}}(e.value||"",o),r=tC().parse(e.value||"").rgba[3],h=isNaN(r)?a:r,l=x("div",{className:"highcharts-popup-color-wrapper"},void 0,s),c=x("input",{type:"color",value:n,className:"highcharts-popup-field highcharts-popup-field-color"},void 0,l),p=x("input",{name:i,id:i,value:n,type:"text",className:"highcharts-popup-field highcharts-popup-field-text"},void 0,l);p.setAttribute("highcharts-data-name",t);let d=x("span",{className:"highcharts-popup-color-separator"},void 0,l),u=x("input",{type:"number",value:String(Math.round(100*h)),className:"highcharts-popup-field highcharts-popup-opacity-percentage",min:"0",max:"100",step:"1"},void 0,l),g=x("span",{className:"highcharts-popup-opacity-percent-suffix"},void 0,l);g.appendChild(tG.createTextNode(" %"));let f=x("input",{type:"range",value:String(Math.round(100*h)),className:"highcharts-popup-opacity-slider",min:"0",max:"100",step:"1"},void 0,s);f.style.setProperty("--highcharts-popup-opacity-track-color",n),f.style.setProperty("display","none");let y=()=>{let t=/^#[0-9A-Fa-f]{6}$/.test(p.value);d.style.display=t?"":"none",u.style.display=t?"":"none",g.style.display=t?"":"none"};y();let m=t=>{var i;let e=(i=Number(t.target.value),i>0?i<100?i:100:0);f.value=String(e),u.value=String(Math.round(e))},b=t=>{t.target===c?p.value=c.value.toUpperCase():c.value=p.value,f.style.setProperty("--highcharts-popup-opacity-track-color",c.value),y()};return v(s,"mousedown",t=>{t.target!==u&&t.target!==f&&(f.style.display="none")}),v(u,"focus",()=>{f.style.display=""}),v(u,"input",m),v(f,"input",m),v(c,"input",b),v(p,"input",b),l}closeButtonEvents(){if(this.chart){let t=this.chart.navigationBindings;w(t,"closePopup"),t&&t.selectedButtonElement&&w(t,"deselectButton",{button:t.selectedButtonElement})}else super.closeButtonEvents()}addButton(t,i,e,s,o){let n=x("button",void 0,void 0,t);return n.appendChild(tG.createTextNode(i)),o&&["click","touchstart"].forEach(t=>{v(n,t,()=>{let t,i,n,a,r;return this.closePopup(),o((t=Array.prototype.slice.call(s.querySelectorAll("input")),i=Array.prototype.slice.call(s.querySelectorAll("select")),n=s.querySelectorAll("#highcharts-select-series > option:checked")[0],a=s.querySelectorAll("#highcharts-select-volume > option:checked")[0],r={actionType:e,linkedTo:n&&n.getAttribute("value")||"",fields:{}},t.forEach(t=>{let i=t.getAttribute("highcharts-data-name");if(t.getAttribute("highcharts-data-series-id"))r.seriesId=t.value;else if(i){let e=t.closest(".highcharts-popup-color-wrapper"),s=e?.querySelector(".highcharts-popup-opacity-percentage"),o=s?Number(s.value)/100:1;if(s){let e=tC().parse(t.value).rgba;r.fields[i]=Number.isNaN(e[0])?t.value:`rgba(${e[0]},${e[1]},${e[2]},${o})`}else r.fields[i]=t.value}else r.type=t.value}),i.forEach(t=>{let i=t.id;if("highcharts-select-series"!==i&&"highcharts-select-volume"!==i){let e=i.split("highcharts-select-")[1];r.fields[e]=t.value}}),a&&(r.fields["params.volumeSeriesID"]=a.getAttribute("value")||""),r))})}),n}showForm(t,i,e,s){i&&(this.showPopup(),"indicators"===t&&this.indicators.addForm.call(this,i,e,s),"annotation-toolbar"===t&&this.annotations.addToolbar.call(this,i,e,s),"annotation-edit"===t&&this.annotations.addForm.call(this,i,e,s),"flag"===t&&this.annotations.addForm.call(this,i,e,s,!0),this.type=t,this.container.style.height=this.container.offsetHeight+"px")}}k(t$.prototype,{annotations:{addForm:function(t,i,e,s){if(!t)return;let o=this.container,n=this.lang,a=x("h2",{className:"highcharts-popup-main-title"},void 0,o);a.appendChild(tP.createTextNode(n[i.langKey]||i.langKey||"")),a=x("div",{className:"highcharts-popup-lhs-col highcharts-popup-lhs-full"},void 0,o);let r=x("div",{className:"highcharts-popup-bottom-row"},void 0,o);tO.call(this,a,t,"",i,[],!0),this.addButton(r,s?n.addButton||"Add":n.saveButton||"Save",s?"add":"save",o,e)},addToolbar:function(t,i,e){let s=this.lang,o=this.container,n=this.showForm,a="highcharts-annotation-toolbar";-1===o.className.indexOf(a)&&(o.className+=" "+a+" highcharts-no-mousewheel"),t&&(o.style.top=t.plotTop+10+"px");let r=x("p",{className:"highcharts-annotation-label"},void 0,o);r.setAttribute("aria-label","Annotation type"),r.appendChild(tP.createTextNode(S(s[i.langKey]||i.langKey,i.shapes&&i.shapes[0].type,"")));let h=this.addButton(o,s.editButton||"Edit","edit",o,()=>{n.call(this,"annotation-edit",t,i,e)});h.className+=" highcharts-annotation-edit-button",x("span",{className:"highcharts-icon"},{backgroundImage:`url(${this.iconsURL}edit.svg)`},h),h=this.addButton(o,s.removeButton||"Remove","remove",o,e),h.className+=" highcharts-annotation-remove-button",x("span",{className:"highcharts-icon"},{backgroundImage:`url(${this.iconsURL}destroy.svg)`},h)}},indicators:{addForm:function(t,i,e){let s,o=this.lang;if(!t)return;this.tabs.init.call(this,t);let n=this.container.querySelectorAll(".highcharts-tab-item-content");tT(n[0]),tD.call(this,t,n[0]),tS.call(this,t,n[0],"add"),s=n[0].querySelectorAll(".highcharts-popup-rhs-col")[0],this.addButton(s,o.addButton||"add","add",s,e),tT(n[1]),tS.call(this,t,n[1],"edit"),s=n[1].querySelectorAll(".highcharts-popup-rhs-col")[0],this.addButton(s,o.saveButton||"save","edit",s,e),this.addButton(s,o.removeButton||"remove","remove",s,e)},getAmount:function(){let t=0;return this.series.forEach(i=>{(i.params||i.options.params)&&t++}),t}},tabs:{init:function(t){if(!t)return;let i=this.indicators.getAmount.call(t),e=tz.call(this,"add");tz.call(this,"edit",i),tj.call(this),tj.call(this),t_.call(this,i),tq.call(this,e,0)}}});let{composed:tZ}=f();function tJ(){this.popup&&this.popup.closePopup()}function tQ(t){this.popup||(this.popup=new t$(this.chart.container,this.chart.options.navigation.iconsURL||this.chart.options.stockTools&&this.chart.options.stockTools.gui.iconsURL||"https://code.highcharts.com/12.6.2/gfx/stock-icons/",this.chart)),this.popup.showForm(t.formType,this.chart,t.options,t.onSubmit)}function t0(t,i){this.inClass(i.target,"highcharts-popup")||t.apply(this,Array.prototype.slice.call(arguments,1))}let t1=function(t,i){L(tZ,"Popup")&&(v(t,"closePopup",tJ),v(t,"showPopup",tQ),X(i.prototype,"onContainerMouseDown",t0))},{getDeferredAnimation:t2}=f(),{defaultOptions:t9}=f();function t5(t,i){let e={};return["labels","shapes"].forEach(s=>{let o=t[s],n=i[s];if(o)if(n)e[s]=(N(n)?n:[n]).map((t,i)=>T(o[i],t));else e[s]=t[s]}),e}class t4 extends G{static compose(t,i,e,s){z.compose(t4,t,e),tv.compose(s),tc.compose(t,s),i.compose(t4,t),t1(i,e)}constructor(t,i){super(),this.coll="annotations",this.chart=t,this.points=[],this.controlPoints=[],this.coll="annotations",this.index=-1,this.labels=[],this.shapes=[],this.setOptions(i),this.userOptions=i;const e=t5(this.options,i);this.options.labels=e.labels,this.options.shapes=e.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((i,e)=>{let s=this.initLabel(i,e);T(!0,t[e],s.options)})}addShapes(){let t=this.options.shapes||[];t.forEach((i,e)=>{let s=this.initShape(i,e);T(!0,t[e],s.options)})}destroy(){var t;let i=this.chart,e=function(t){t.destroy()};this.labels.forEach(e),this.shapes.forEach(e),this.clipXAxis=null,this.clipYAxis=null,A(i.labelCollectors,this.labelCollector),super.destroy(),this.destroyControlTarget(),t=this,I(t,function(e,s){e!==i&&e?.destroy&&e.destroy(),e?.destroy,delete t[s]})}destroyItem(t){A(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,i){this.setOptions(i);let e=t5(this.options,i);this.options.labels=e.labels,this.options.shapes=e.shapes,this.chart=t,this.points=[],this.controlPoints=[],this.coll="annotations",this.userOptions=i,this.labels=[],this.shapes=[]}init(t,i,e=this.index){let s=this.chart,o=this.options.animation;this.index=e,this.linkPoints(),this.addControlPoints(),this.addShapes(),this.addLabels(),this.setLabelCollector(),this.animationConfig=t2(s,o)}initLabel(t,i){this.options.labelOptions?.align;let e=new tv(this,T(this.options.labelOptions,{controlPointOptions:this.options.controlPointOptions},t),i);return e.itemType="label",this.labels.push(e),e}initShape(t,i){let e=T(this.options.shapeOptions,{controlPointOptions:this.options.controlPointOptions},t),s=new t4.shapesMap[e.type||"rect"](this,e,i);return s.itemType="shape",this.shapes.push(s),s}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,i){if(t.linkPoints(),t.shouldBeDrawn()){let e,s;t.graphic||this.renderItem(t),t.redraw(S(i,!0)&&t.graphic.placed),t.points.length&&(e=t.graphic,s=t.points.some(t=>!1!==t.series.visible&&!1!==t.visible),e&&(s?"hidden"===e.visibility&&e.show():e.hide()))}else this.destroyItem(t)}redrawItems(t,i){let e=t.length;for(;e--;)this.redrawItem(t[e],i)}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 i=t.length;for(;i--;)this.renderItem(t[i])}setClipAxes(){let t=this.chart.xAxis,i=this.chart.yAxis,e=[...this.options.labels??[],...this.options.shapes??[]].reduce((e,s)=>{let o=s&&(s.point||"points"in s&&s.points?.[0]);return[t[o&&o.xAxis]||e[0],i[o&&o.yAxis]||e[1]]},[]);this.clipXAxis=e[0],this.clipYAxis=e[1]}setControlPointsVisibility(t){let i=function(i){i.setControlPointsVisibility(t)};this.controlPoints.forEach(i=>{i.setVisibility(t)}),this.shapes.forEach(i),this.labels.forEach(i)}setLabelCollector(){let t=this;t.labelCollector=function(){return t.labels.reduce(function(t,i){return i.options.allowOverlap||t.push(i.graphic),t},[])},t.chart.labelCollectors.push(t.labelCollector)}setOptions(t){var i;this.options=T(this.defaultOptions,t.type&&this.defaultOptions.types?.[t.type]||{},t),(i=this.options).typeOptions||(i.typeOptions={})}setVisibility(t){let i=this.options,e=this.chart.navigationBindings,s=S(t,!i.visible);if(this.graphic.attr("visibility",s?"inherit":"hidden"),!s){let t=function(t){t.setControlPointsVisibility(s)};this.shapes.forEach(t),this.labels.forEach(t),e.activeAnnotation===this&&e.popup&&"annotation-toolbar"===e.popup.type&&w(e,"closePopup")}i.visible=s}update(t,i){let e=this.chart,s=t5(this.userOptions,t),o=e.annotations.indexOf(this),n=T(!0,this.userOptions,t);n.labels=s.labels,n.shapes=s.shapes,this.destroy(),this.initProperties(e,n),this.init(e,n),e.options.annotations[o]=this.options,this.isUpdating=!0,S(i,!0)&&e.drawAnnotations(),w(this,"afterUpdate"),this.isUpdating=!1}}t4.ControlPoint=K,t4.MockPoint=Q,t4.shapesMap={rect:tp,circle:td,ellipse:tu,path:tc,image:tx},t4.types={},t4.prototype.defaultOptions=V,t9.annotations=V,t4.prototype.nonDOMEvents=["add","afterUpdate","drag","remove"],tt.compose(t4);var t6=l||(l={});t6.compose=function(t){return t.navigation||(t.navigation=new t3(t)),t};class t3{constructor(t){this.updates=[],this.chart=t}addUpdate(t){this.chart.navigation.updates.push(t)}update(t,i){this.updates.forEach(e=>{e.call(this.chart,t,i)})}}t6.Additions=t3;let t7=l,t8={backgroundColor:"color",backgroundColors:"color",borderColor:"color",borderRadius:"string",color:"color",fill:"color",fontSize:"string",labels:"string",name:"string",stroke:"color",title:"string"},it={annotationsFieldsTypes:t8,getAssignedAxis:function(t){return t.filter(t=>{let i=t.axis.getExtremes(),e=i.min,s=i.max,o=S(t.axis.minPointOffset,0);return O(e)&&O(s)&&t.value>=e-o&&t.value<=s+o&&!t.axis.options.isInternal})[0]},getFieldType:function(t,i){let e=t8[t],s=typeof i;return b(e)&&(s=e),({string:"text",number:"number",boolean:"checkbox",color:"color"})[s]}},{getAssignedAxis:ii}=it,ie={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 i=this.chart.pointer?.getCoordinates(t),e=i&&ii(i.xAxis),s=i&&ii(i.yAxis),o=this.chart.options.navigation;if(e&&s)return this.chart.addAnnotation(T({langKey:"circle",type:"basicAnnotation",shapes:[{type:"circle",point:{x:e.value,y:s.value,xAxis:e.axis.index,yAxis:s.axis.index},r:5}]},o.annotationsOptions,o.bindings.circleAnnotation.annotationsOptions))},steps:[function(t,i){let e,s=i.options.shapes,o=s&&s[0]&&s[0].point||{};if(O(o.xAxis)&&O(o.yAxis)){let i=this.chart.inverted,s=this.chart.xAxis[o.xAxis].toPixels(o.x),n=this.chart.yAxis[o.yAxis].toPixels(o.y);e=Math.max(Math.sqrt(Math.pow(i?n-t.chartX:s-t.chartX,2)+Math.pow(i?s-t.chartY:n-t.chartY,2)),5)}i.update({shapes:[{r:e}]})}]},ellipseAnnotation:{className:"highcharts-ellipse-annotation",start:function(t){let i=this.chart.pointer?.getCoordinates(t),e=i&&ii(i.xAxis),s=i&&ii(i.yAxis),o=this.chart.options.navigation;if(e&&s)return this.chart.addAnnotation(T({langKey:"ellipse",type:"basicAnnotation",shapes:[{type:"ellipse",xAxis:e.axis.index,yAxis:s.axis.index,points:[{x:e.value,y:s.value},{x:e.value,y:s.value}],ry:1}]},o.annotationsOptions,o.bindings.ellipseAnnotation.annotationsOptions))},steps:[function(t,i){let e=i.shapes[0],s=e.getAbsolutePosition(e.points[1]);e.translatePoint(t.chartX-s.x,t.chartY-s.y,1),e.redraw(!1)},function(t,i){let e=i.shapes[0],s=e.getAbsolutePosition(e.points[0]),o=e.getAbsolutePosition(e.points[1]),n=e.getDistanceFromLine(s,o,t.chartX,t.chartY),a=e.getYAxis(),r=Math.abs(a.toValue(0)-a.toValue(n));e.setYRadius(r),e.redraw(!1)}]},rectangleAnnotation:{className:"highcharts-rectangle-annotation",start:function(t){let i=this.chart.pointer?.getCoordinates(t),e=i&&ii(i.xAxis),s=i&&ii(i.yAxis);if(!e||!s)return;let o=e.value,n=s.value,a=e.axis.index,r=s.axis.index,h=this.chart.options.navigation;return this.chart.addAnnotation(T({langKey:"rectangle",type:"basicAnnotation",shapes:[{type:"path",points:[{xAxis:a,yAxis:r,x:o,y:n},{xAxis:a,yAxis:r,x:o,y:n},{xAxis:a,yAxis:r,x:o,y:n},{xAxis:a,yAxis:r,x:o,y:n},{command:"Z"}]}]},h.annotationsOptions,h.bindings.rectangleAnnotation.annotationsOptions))},steps:[function(t,i){let e=i.options.shapes,s=e&&e[0]&&e[0].points||[],o=this.chart.pointer?.getCoordinates(t),n=o&&ii(o.xAxis),a=o&&ii(o.yAxis);if(n&&a){let t=n.value,e=a.value;s[1].x=t,s[2].x=t,s[2].y=e,s[3].y=e,i.update({shapes:[{points:s}]})}}]},labelAnnotation:{className:"highcharts-label-annotation",start:function(t){let i=this.chart.pointer?.getCoordinates(t),e=i&&ii(i.xAxis),s=i&&ii(i.yAxis),o=this.chart.options.navigation;if(e&&s)return this.chart.addAnnotation(T({langKey:"label",type:"basicAnnotation",labelOptions:{format:"{y:.2f}",overflow:"none",crop:!0},labels:[{point:{xAxis:e.axis.index,yAxis:s.axis.index,x:e.value,y:s.value}}]},o.annotationsOptions,o.bindings.labelAnnotation.annotationsOptions))}}},events:{},annotationsOptions:{animation:{defer:0}}}},{setOptions:is}=f(),{format:io}=tf(),{composed:ia,doc:ir,win:ih}=f(),{getAssignedAxis:il,getFieldType:ic}=it;function ip(){this.chart.navigationBindings&&this.chart.navigationBindings.deselectAnnotation()}function id(){this.navigationBindings&&this.navigationBindings.destroy()}function iu(){let t=this.options;t&&t.navigation&&t.navigation.bindings&&(this.navigationBindings=new ix(this,t.navigation),this.navigationBindings.initEvents(),this.navigationBindings.initUpdate())}function ig(){let t=this.navigationBindings,i="highcharts-disabled-btn";if(this&&t){let e=!1;if(this.series.forEach(t=>{!t.options.isInternal&&t.visible&&(e=!0)}),this.navigationBindings&&this.navigationBindings.container&&this.navigationBindings.container[0]){let s=this.navigationBindings.container[0];I(t.boundClassNames,(t,o)=>{let n=s.querySelectorAll("."+o);if(n)for(let s=0;s<n.length;s++){let o=n[s],a=o.className;"normal"===t.noDataState||e?-1!==a.indexOf(i)&&o.classList.remove(i):-1===a.indexOf(i)&&(o.className+=" "+i)}})}}}function iy(){this.deselectAnnotation()}function im(){this.selectedButtonElement=null}function iv(t){let i,e,s=t.prototype.defaultOptions.events&&t.prototype.defaultOptions.events.click;function o(t){let i=this,e=i.chart.navigationBindings,o=e.activeAnnotation;s&&s.call(i,t),o!==i?(e.deselectAnnotation(),e.activeAnnotation=i,i.setControlPointsVisibility(!0),w(e,"showPopup",{annotation:i,formType:"annotation-toolbar",options:e.annotationToFields(i),onSubmit:function(t){if("remove"===t.actionType)e.activeAnnotation=!1,e.chart.removeAnnotation(i);else{let s={};e.fieldsToOptions(t.fields,s),e.deselectAnnotation();let o=s.typeOptions;"measure"===i.options.type&&(o.crosshairY.enabled=0!==o.crosshairY.strokeWidth,o.crosshairX.enabled=0!==o.crosshairX.strokeWidth),i.update(s)}}})):w(e,"closePopup"),t.activeAnnotation=!0}T(!0,t.prototype.defaultOptions.events,{click:o,touchstart:function(t){i=t.touches[0].clientX,e=t.touches[0].clientY},touchend:function(t){i&&Math.sqrt(Math.pow(i-t.changedTouches[0].clientX,2)+Math.pow(e-t.changedTouches[0].clientY,2))>=4||o.call(this,t)}})}class ix{static compose(t,i){L(ia,"NavigationBindings")&&(v(t,"remove",ip),iv(t),I(t.types,t=>{iv(t)}),v(i,"destroy",id),v(i,"load",iu),v(i,"render",ig),v(ix,"closePopup",iy),v(ix,"deselectButton",im),is(ie))}constructor(t,i){this.boundClassNames=void 0,this.chart=t,this.options=i,this.eventsToUnbind=[],this.container=this.chart.container.getElementsByClassName(this.options.bindingsClassName||""),this.container.length||(this.container=ir.getElementsByClassName(this.options.bindingsClassName||""))}getCoords(t){let i=this.chart.pointer?.getCoordinates(t);return[i&&il(i.xAxis),i&&il(i.yAxis)]}initEvents(){let t=this,i=t.chart,e=t.container,s=t.options;t.boundClassNames={},I(s.bindings||{},i=>{t.boundClassNames[i.className]=i}),[].forEach.call(e,i=>{t.eventsToUnbind.push(v(i,"click",e=>{let s=t.getButtonEvents(i,e);s&&!s.button.classList.contains("highcharts-disabled-btn")&&t.bindingsButtonClick(s.button,s.events,e)}))}),I(s.events||{},(i,e)=>{"function"==typeof i&&t.eventsToUnbind.push(v(t,e,i,{passive:!1}))}),t.eventsToUnbind.push(v(i.container,"click",function(e){!i.cancelClick&&i.isInsidePlot(e.chartX-i.plotLeft,e.chartY-i.plotTop,{visiblePlotOnly:!0})&&t.bindingsChartClick(this,e)})),t.eventsToUnbind.push(v(i.container,f().isTouchDevice?"touchmove":"mousemove",function(i){t.bindingsContainerMouseMove(this,i)},f().isTouchDevice?{passive:!1}:void 0))}initUpdate(){let t=this;t7.compose(this.chart).navigation.addUpdate(i=>{t.update(i)})}bindingsButtonClick(t,i,e){let s=this.chart,o=s.renderer.boxWrapper,n=!0;this.selectedButtonElement&&(this.selectedButtonElement.classList===t.classList&&(n=!1),w(this,"deselectButton",{button:this.selectedButtonElement}),this.nextEvent&&(this.currentUserDetails&&"annotations"===this.currentUserDetails.coll&&s.removeAnnotation(this.currentUserDetails),this.mouseMoveEvent=this.nextEvent=!1)),n?(this.selectedButton=i,this.selectedButtonElement=t,w(this,"selectButton",{button:t}),i.init&&i.init.call(this,t,e),(i.start||i.steps)&&s.renderer.boxWrapper.addClass("highcharts-draw-mode")):(s.stockTools&&t.classList.remove("highcharts-active"),o.removeClass("highcharts-draw-mode"),this.nextEvent=!1,this.mouseMoveEvent=!1,this.selectedButton=null)}bindingsChartClick(t,i){t=this.chart;let e=this.activeAnnotation,s=this.selectedButton,o=t.renderer.boxWrapper;e&&(e.cancelClick||i.activeAnnotation||!i.target.parentNode||function(t,i){let e=ih.Element.prototype,s=e.matches||e.msMatchesSelector||e.webkitMatchesSelector,o=null;if(e.closest)o=e.closest.call(t,i);else do{if(s.call(t,i))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return o}(i.target,".highcharts-popup")?e.cancelClick&&setTimeout(()=>{e.cancelClick=!1},0):w(this,"closePopup")),s&&s.start&&(this.nextEvent?(this.nextEvent(i,this.currentUserDetails),this.steps&&(this.stepIndex++,s.steps[this.stepIndex]?this.mouseMoveEvent=this.nextEvent=s.steps[this.stepIndex]:(w(this,"deselectButton",{button:this.selectedButtonElement}),o.removeClass("highcharts-draw-mode"),s.end&&s.end.call(this,i,this.currentUserDetails),this.nextEvent=!1,this.mouseMoveEvent=!1,this.selectedButton=null))):(this.currentUserDetails=s.start.call(this,i),this.currentUserDetails&&s.steps?(this.stepIndex=0,this.steps=!0,this.mouseMoveEvent=this.nextEvent=s.steps[this.stepIndex]):(w(this,"deselectButton",{button:this.selectedButtonElement}),o.removeClass("highcharts-draw-mode"),this.steps=!1,this.selectedButton=null,s.end&&s.end.call(this,i,this.currentUserDetails))))}bindingsContainerMouseMove(t,i){this.mouseMoveEvent&&this.mouseMoveEvent(i,this.currentUserDetails)}fieldsToOptions(t,i){return I(t,(t,e)=>{let s=parseFloat(t),o=e.split("."),n=o.length-1;if(!O(s)||t.match(/px|em/g)||e.match(/format/g)||(t=s),"undefined"!==t){let e=i;o.forEach((i,s)=>{if("__proto__"!==i&&"constructor"!==i){let a=S(o[s+1],"");n===s?e[i]=t:(e[i]||(e[i]=a.match(/\d/g)?[]:{}),e=e[i])}})}}),i}deselectAnnotation(){this.activeAnnotation&&(this.activeAnnotation.setControlPointsVisibility(!1),this.activeAnnotation=!1)}annotationToFields(t){let i=t.options,e=ix.annotationsEditable,s=e.nestedOptions,o=S(i.type,i.shapes?.[0]?.type,i.labels?.[0]?.type,"label"),n=ix.annotationsNonEditable[i.langKey]||[],a={langKey:i.langKey,type:o};function r(i,e,o,a,h){let l;o&&b(i)&&-1===n.indexOf(e)&&((o.indexOf&&o.indexOf(e))>=0||o[e]||!0===o)&&(N(i)?(a[e]=[],i.forEach((t,i)=>{M(t)?(a[e][i]={},I(t,(t,o)=>{r(t,o,s[e],a[e][i],e)})):r(t,0,s[e],a[e],e)})):M(i)?(l={},N(a)?(a.push(l),l[e]={},l=l[e]):a[e]=l,I(i,(t,i)=>{r(t,i,0===e?o:s[e],l,e)})):"format"===e?a[e]=[io(i,t.labels[0].points[0]).toString(),"text"]:N(a)?a.push([i,ic(h,i)]):a[e]=[i,ic(e,i)])}return I(i,(t,n)=>{"typeOptions"===n&&"basicAnnotation"!==a.type?(a[n]={},I(i[n],(t,i)=>{r(t,i,s,a[n],i)})):r(t,n,e[o],a,n)}),a}getClickedClassNames(t,i){var e,s;let o,n,a,r=i.target,h=[],l;for(;r&&r.tagName&&(e=r,n=B(s="class")&&!b(void 0),a=(t,i)=>{b(t)?e.setAttribute(i,t):n?(o=e.getAttribute(i))||"class"!==i||(o=e.getAttribute(i+"Name")):e.removeAttribute(i)},B(s)?a(void 0,s):I(s,a),(l=o)&&(h=h.concat(l.split(" ").map(t=>[t,r]))),(r=r.parentNode)!==t););return h}getButtonEvents(t,i){let e,s=this;return this.getClickedClassNames(t,i).forEach(t=>{s.boundClassNames[t[0]]&&!e&&(e={events:s.boundClassNames[t[0]],button:t[1]})}),e}update(t){this.options=T(!0,this.options,t),this.removeEvents(),this.initEvents()}removeEvents(){this.eventsToUnbind.forEach(t=>t())}destroy(){this.removeEvents()}}ix.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"]},ix.annotationsNonEditable={rectangle:["crosshairX","crosshairY","labelOptions"],ellipse:["labelOptions"],circle:["labelOptions"]};let ib=f();ib.Annotation=ib.Annotation||t4,ib.NavigationBindings=ib.NavigationBindings||ix,ib.Annotation.compose(ib.Chart,ib.NavigationBindings,ib.Pointer,ib.SVGRenderer);let iA=f();return u.default})());
@@ -1,6 +1,6 @@
1
1
  // SPDX-License-Identifier: LicenseRef-Highcharts
2
2
  /**
3
- * @license Highcharts JS v12.6.0 (2026-04-13)
3
+ * @license Highcharts JS v12.6.2 (2026-09-21)
4
4
  * @module highcharts/modules/annotations
5
5
  * @requires highcharts
6
6
  *
@@ -6773,7 +6773,7 @@ function onNavigationBindingsShowPopup(config) {
6773
6773
  this.popup = new Popup_Popup(this.chart.container, (this.chart.options.navigation.iconsURL ||
6774
6774
  (this.chart.options.stockTools &&
6775
6775
  this.chart.options.stockTools.gui.iconsURL) ||
6776
- 'https://code.highcharts.com/12.6.0/gfx/stock-icons/'), this.chart);
6776
+ 'https://code.highcharts.com/12.6.2/gfx/stock-icons/'), this.chart);
6777
6777
  }
6778
6778
  this.popup.showForm(config.formType, this.chart, config.options, config.onSubmit);
6779
6779
  }
@@ -7971,7 +7971,7 @@ const navigation = {
7971
7971
  * from a different server.
7972
7972
  *
7973
7973
  * @type {string}
7974
- * @default https://code.highcharts.com/12.6.0/gfx/stock-icons/
7974
+ * @default https://code.highcharts.com/12.6.2/gfx/stock-icons/
7975
7975
  * @since 7.1.3
7976
7976
  * @apioption navigation.iconsURL
7977
7977
  */
@@ -1,5 +1,5 @@
1
1
  !/**
2
- * Highcharts JS v12.6.0 (2026-04-13)
2
+ * Highcharts JS v12.6.2 (2026-09-21)
3
3
  * @module modules/arc-diagram
4
4
  * @requires highcharts/modules/sankey
5
5
  *
@@ -1,6 +1,6 @@
1
1
  // SPDX-License-Identifier: LicenseRef-Highcharts
2
2
  /**
3
- * @license Highcharts JS v12.6.0 (2026-04-13)
3
+ * @license Highcharts JS v12.6.2 (2026-09-21)
4
4
  * @module modules/arc-diagram
5
5
  * @requires highcharts/modules/sankey
6
6
  *
@@ -1,5 +1,5 @@
1
1
  !/**
2
- * Highcharts JS v12.6.0 (2026-04-13)
2
+ * Highcharts JS v12.6.2 (2026-09-21)
3
3
  * @module highcharts/modules/arrow-symbols
4
4
  * @requires highcharts
5
5
  *
@@ -1,6 +1,6 @@
1
1
  // SPDX-License-Identifier: LicenseRef-Highcharts
2
2
  /**
3
- * @license Highcharts JS v12.6.0 (2026-04-13)
3
+ * @license Highcharts JS v12.6.2 (2026-09-21)
4
4
  * @module highcharts/modules/arrow-symbols
5
5
  * @requires highcharts
6
6
  *
@@ -1,5 +1,5 @@
1
1
  !/**
2
- * Highcharts JS v12.6.0 (2026-04-13)
2
+ * Highcharts JS v12.6.2 (2026-09-21)
3
3
  * @module highcharts/modules/boost-canvas
4
4
  * @requires highcharts
5
5
  *
@@ -1,6 +1,6 @@
1
1
  // SPDX-License-Identifier: LicenseRef-Highcharts
2
2
  /**
3
- * @license Highcharts JS v12.6.0 (2026-04-13)
3
+ * @license Highcharts JS v12.6.2 (2026-09-21)
4
4
  * @module highcharts/modules/boost-canvas
5
5
  * @requires highcharts
6
6
  *
package/modules/boost.js CHANGED
@@ -1,5 +1,5 @@
1
1
  !/**
2
- * Highcharts JS v12.6.0 (2026-04-13)
2
+ * Highcharts JS v12.6.2 (2026-09-21)
3
3
  * @module highcharts/modules/boost
4
4
  * @requires highcharts
5
5
  *
@@ -1,6 +1,6 @@
1
1
  // SPDX-License-Identifier: LicenseRef-Highcharts
2
2
  /**
3
- * @license Highcharts JS v12.6.0 (2026-04-13)
3
+ * @license Highcharts JS v12.6.2 (2026-09-21)
4
4
  * @module highcharts/modules/boost
5
5
  * @requires highcharts
6
6
  *
@@ -1,5 +1,5 @@
1
1
  !/**
2
- * Highcharts JS v12.6.0 (2026-04-13)
2
+ * Highcharts JS v12.6.2 (2026-09-21)
3
3
  * @module highcharts/modules/broken-axis
4
4
  * @requires highcharts
5
5
  *
@@ -1,6 +1,6 @@
1
1
  // SPDX-License-Identifier: LicenseRef-Highcharts
2
2
  /**
3
- * @license Highcharts JS v12.6.0 (2026-04-13)
3
+ * @license Highcharts JS v12.6.2 (2026-09-21)
4
4
  * @module highcharts/modules/broken-axis
5
5
  * @requires highcharts
6
6
  *
package/modules/bullet.js CHANGED
@@ -1,5 +1,5 @@
1
1
  !/**
2
- * Highcharts JS v12.6.0 (2026-04-13)
2
+ * Highcharts JS v12.6.2 (2026-09-21)
3
3
  * @module highcharts/modules/bullet
4
4
  * @requires highcharts
5
5
  *
@@ -1,6 +1,6 @@
1
1
  // SPDX-License-Identifier: LicenseRef-Highcharts
2
2
  /**
3
- * @license Highcharts JS v12.6.0 (2026-04-13)
3
+ * @license Highcharts JS v12.6.2 (2026-09-21)
4
4
  * @module highcharts/modules/bullet
5
5
  * @requires highcharts
6
6
  *
@@ -1,5 +1,5 @@
1
1
  !/**
2
- * Highcharts JS v12.6.0 (2026-04-13)
2
+ * Highcharts JS v12.6.2 (2026-09-21)
3
3
  * @module highcharts/modules/color-axis
4
4
  * @requires highcharts
5
5
  *
@@ -1,6 +1,6 @@
1
1
  // SPDX-License-Identifier: LicenseRef-Highcharts
2
2
  /**
3
- * @license Highcharts JS v12.6.0 (2026-04-13)
3
+ * @license Highcharts JS v12.6.2 (2026-09-21)
4
4
  * @module highcharts/modules/color-axis
5
5
  * @requires highcharts
6
6
  *
@@ -1,5 +1,5 @@
1
1
  !/**
2
- * Highmaps JS v12.6.0 (2026-04-13)
2
+ * Highmaps JS v12.6.2 (2026-09-21)
3
3
  * @module highcharts/modules/contour
4
4
  * @requires highcharts
5
5
  *
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * License: www.highcharts.com/license
9
9
  */function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(e._Highcharts,e._Highcharts.Axis,e._Highcharts.Color,e._Highcharts.SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/modules/contour",["highcharts/highcharts"],function(e){return t(e,e.Axis,e.Color,e.SeriesRegistry)}):"object"==typeof exports?exports["highcharts/modules/contour"]=t(e._Highcharts,e._Highcharts.Axis,e._Highcharts.Color,e._Highcharts.SeriesRegistry):e.Highcharts=t(e.Highcharts,e.Highcharts.Axis,e.Highcharts.Color,e.Highcharts.SeriesRegistry)}("u"<typeof window?this:window,(e,t,i,r)=>(()=>{"use strict";var o,s,n,l,a={512:e=>{e.exports=r},532:e=>{e.exports=t},620:e=>{e.exports=i},944:t=>{t.exports=e}},h={};function u(e){var t=h[e];if(void 0!==t)return t.exports;var i=h[e]={exports:{}};return a[e](i,i.exports,u),i.exports}u.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return u.d(t,{a:t}),t},u.d=(e,t)=>{for(var i in t)u.o(t,i)&&!u.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},u.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var f={};u.d(f,{default:()=>K});var c=u(944),d=u.n(c),p=u(532),g=u.n(p),m=u(620),v=u.n(m);let{doc:x,win:y}=d();function C(e,t,i,r={}){let o="function"==typeof e&&e.prototype||e;Object.hasOwnProperty.call(o,"hcEvents")||(o.hcEvents={});let s=o.hcEvents;d().Point&&e instanceof d().Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);let n=e.addEventListener;n&&n.call(e,t,i,!!d().supportsPassiveEvents&&{passive:void 0===r.passive?-1!==t.indexOf("touch"):r.passive,capture:!1}),s[t]||(s[t]=[]);let l={fn:i,order:"number"==typeof r.order?r.order:1/0};return s[t].push(l),s[t].sort((e,t)=>e.order-t.order),function(){!function(e,t,i){function r(t,i){let r=e.removeEventListener;r&&r.call(e,t,i,!1)}function o(i){let o,s;e.nodeName&&(t?(o={})[t]=!0:o=i,O(o,function(e,t){if(i[t])for(s=i[t].length;s--;)r(t,i[t][s].fn)}))}let s="function"==typeof e&&e.prototype||e;if(Object.hasOwnProperty.call(s,"hcEvents")){let e=s.hcEvents;if(t){let s=e[t]||[];i?(e[t]=s.filter(function(e){return i!==e.fn}),r(t,i)):(o(e),e[t]=[])}else o(e),delete s.hcEvents}}(e,t,i)}}function b(e,t,i,r){let o={};return!function e(t,o,s,n){let l=i?o:t;O(t,function(i,a){if(!n&&r&&r.indexOf(a)>-1&&o[a]){var h;i=w(h=i)?h:[h],s[a]=[];for(let t=0;t<Math.max(i.length,o[a].length);t++)o[a][t]&&(void 0===i[t]?s[a][t]=o[a][t]:(s[a][t]={},e(i[t],o[a][t],s[a][t],n+1)))}else I(i,!0)&&!i.nodeType?(s[a]=w(i)?[]:{},e(i,o[a]||{},s[a],n+1),0===Object.keys(s[a]).length&&("colorAxis"!==a||0!==n)&&delete s[a]):(t[a]!==o[a]||a in t&&!(a in o))&&"__proto__"!==a&&"constructor"!==a&&(s[a]=l[a])})}(e,t,o,0),o}function U(e,t){let i;for(i in e||(e={}),t)e[i]=t[i];return e}function A(e){return I(e)&&"number"==typeof e.nodeType}function w(e){let t=Object.prototype.toString.call(e);return"[object Array]"===t||"[object Array Iterator]"===t}function I(e,t){return!!e&&"object"==typeof e&&(!t||!w(e))}function E(e,...t){let i,r=[e,...t],o={},s=function(e,t){return"object"!=typeof e&&(e={}),O(t,function(i,r){if("__proto__"!==r&&"constructor"!==r){let o;!I(i,!0)||(o=i?.constructor,I(i,!0)&&!A(i)&&o?.name&&"Object"!==o.name)||A(i)?e[r]=t[r]:e[r]=s(e[r]||{},i)}}),e};!0===e&&(o=r[1],r=Array.prototype.slice.call(r,2));let n=r.length;for(i=0;i<n;i++)o=s(o,r[i]);return o}function O(e,t,i){for(let r in e)Object.hasOwnProperty.call(e,r)&&t.call(i||e[r],e[r],r,e)}function P(){let e=arguments,t=e.length;for(let i=0;i<t;i++){let t=e[i];if(null!=t)return t}}function S(e,t,i){return/%$/.test(e)?t*parseFloat(e)/100+(i||0):parseFloat(e)}Array.prototype.find;let{parse:M}=v();(o=s||(s={})).initDataClasses=function(e){let t=this.chart,i=this.legendItem=this.legendItem||{},r=this.options,o=e.dataClasses||[],s,n,l=t.options.chart.colorCount,a=0,h;this.dataClasses=n=[],i.labels=[];for(let e=0,i=o.length;e<i;++e)s=E(s=o[e]),n.push(s),(t.styledMode||!s.color)&&("category"===r.dataClassColor?(t.styledMode||(l=(h=t.options.colors||[]).length,s.color=h[a]),s.colorIndex=a,++a===l&&(a=0)):s.color=M(r.minColor).tweenTo(M(r.maxColor),i<2?.5:e/(i-1)))},o.initStops=function(){let e=this.options,t=this.stops=e.stops||[[0,e.minColor||""],[1,e.maxColor||""]];for(let e=0,i=t.length;e<i;++e)t[e].color=M(t[e][1])},o.normalizedValue=function(e){let t=this.max||0,i=this.min||0;return this.logarithmic&&(e=this.logarithmic.log2lin(e)),1-(t-e)/(t-i||1)},o.toColor=function(e,t){let i,r,o,s,n,l,a=this.dataClasses,h=this.stops;if(a){for(l=a.length;l--;)if(r=(n=a[l]).from,o=n.to,(void 0===r||e>=r)&&(void 0===o||e<=o)){s=n.color,t&&(t.dataClass=l,t.colorIndex=n.colorIndex);break}}else{for(i=this.normalizedValue(e),l=h.length;l--&&!(i>h[l][0]););r=h[l]||h[l+1],i=1-((o=h[l+1]||r)[0]-i)/(o[0]-r[0]||1),s=r.color.tweenTo(o.color,i)}return s};let L=s,{parse:B}=v();!function(e){let t;function i(){let{userOptions:e}=this;if(this.colorAxis=[],e.colorAxis){var i;e.colorAxis=w(i=e.colorAxis)?i:[i],e.colorAxis.map(e=>new t(this,e))}}function r(e){let t=this.chart.colorAxis||[],i=t=>{let i=e.allItems.indexOf(t);-1!==i&&(this.destroyItem(e.allItems[i]),e.allItems.splice(i,1))},r=[],o,s;for(t.forEach(function(e){o=e.options,o?.showInLegend&&(o.dataClasses&&o.visible?r=r.concat(e.getDataClassLegendSymbols()):o.visible&&r.push(e),e.series.forEach(function(e){(!e.options.showInLegend||o.dataClasses)&&("point"===e.options.legendType?e.points.forEach(function(e){i(e)}):i(e))}))}),s=r.length;s--;)e.allItems.unshift(r[s])}function o(e){e.visible&&e.item.legendColor&&e.item.legendItem.symbol.attr({fill:e.item.legendColor})}function s(e){this.chart.colorAxis?.forEach(t=>{t.update({},e.redraw)})}function n(){(this.chart.colorAxis?.length||this.colorAttribs)&&this.translateColors()}function l(){let e=this.axisTypes;e?-1===e.indexOf("colorAxis")&&e.push("colorAxis"):this.axisTypes=["colorAxis"]}function a(e){let t=this,i=e?"show":"hide";t.visible=t.options.visible=!!e,["graphic","dataLabel"].forEach(function(e){t[e]&&t[e][i]()}),this.series.buildKDTree()}function h(){let e=this,t=this.getPointsCollection(),i=this.options.nullColor,r=this.colorAxis,o=this.colorKey;t.forEach(t=>{let s=t.getNestedProperty(o),n=t.options.color||(t.isNull||null===t.value?i:r&&void 0!==s?r.toColor(s,t):t.color||e.color);n&&t.color!==n&&(t.color=n,"point"===e.options.legendType&&t.legendItem&&t.legendItem.label&&e.chart.legend.colorizeItem(t,t.visible))})}function u(){this.elem.attr("fill",B(this.start).tweenTo(B(this.end),this.pos),void 0,!0)}function f(){this.elem.attr("stroke",B(this.start).tweenTo(B(this.end),this.pos),void 0,!0)}e.compose=function(e,c,d,p,g){var m;let v,x=c.prototype,y=d.prototype,b=g.prototype;x.collectionsWithUpdate.includes("colorAxis")||(t=e,x.collectionsWithUpdate.push("colorAxis"),x.collectionsWithInit.colorAxis=[x.addColorAxis],C(c,"afterCreateAxes",i),v=(m=c).prototype.createAxis,m.prototype.createAxis=function(e,i){if("colorAxis"!==e)return v.apply(this,arguments);let r=new t(this,E(i.axis,{index:this[e].length,isX:!1}));return this.isDirtyLegend=!0,this.axes.forEach(e=>{e.series=[]}),this.series.forEach(e=>{e.bindAxes(),e.isDirtyData=!0}),P(i.redraw,!0)&&this.redraw(i.animation),r},y.fillSetter=u,y.strokeSetter=f,C(p,"afterGetAllItems",r),C(p,"afterColorizeItem",o),C(p,"afterUpdate",s),U(b,{optionalAxis:"colorAxis",translateColors:h}),U(b.pointClass.prototype,{setVisible:a}),C(g,"afterTranslate",n,{order:1}),C(g,"bindAxes",l))},e.pointSetVisible=a}(n||(n={}));let T=n;var F=u(512),N=u.n(F);let{defaultOptions:V}=d(),{series:_}=N();V.colorAxis=E(V.xAxis,{lineWidth:0,minPadding:0,maxPadding:0,gridLineColor:"#ffffff",gridLineWidth:1,tickPixelInterval:72,startOnTick:!0,endOnTick:!0,offset:0,marker:{animation:{duration:50},width:.01,color:"#999999"},labels:{distance:8,overflow:"justify",rotation:0},minColor:"#e6e9ff",maxColor:"#0022ff",tickLength:5,title:{margin:5},showInLegend:!0});class D extends g(){static compose(e,t,i,r){T.compose(D,e,t,i,r)}constructor(e,t){super(e,t),this.coll="colorAxis",this.visible=!0,this.init(e,t)}init(e,t){let i=e.options.legend||{},r=t.layout?"vertical"!==t.layout:"vertical"!==i.layout;this.side=t.side||r?2:1,this.reversed=t.reversed,this.opposite=!r,super.init(e,t,"colorAxis"),this.userOptions=t,w(e.userOptions.colorAxis)&&(e.userOptions.colorAxis[this.index]=t),t.dataClasses&&this.initDataClasses(t),this.initStops(),this.horiz=r,this.zoomEnabled=!1}hasData(){return!!(this.tickPositions||[]).length}setTickPositions(){if(!this.dataClasses)return super.setTickPositions()}setOptions(e){let t=this.chart.options.legend||{},i=V.colorAxis,r=E("vertical"!==(e.layout||t.layout||i.layout)?{title:{rotation:0}}:{title:{rotation:90,margin:10}},i,e,{showEmpty:!1,visible:this.chart.options.legend.enabled&&!1!==e.visible});super.setOptions(r),this.options.crosshair=this.options.marker}setAxisSize(){let e=this.chart,t=this.legendItem?.symbol,{width:i,height:r}=this.getSize();t&&(this.left=+t.attr("x"),this.top=+t.attr("y"),this.width=i=+t.attr("width"),this.height=r=+t.attr("height"),this.right=e.chartWidth-this.left-i,this.bottom=e.chartHeight-this.top-r,this.pos=this.horiz?this.left:this.top),this.len=(this.horiz?i:r)||D.defaultLegendLength}getOffset(){let e=this.legendItem?.group,t=this.chart.axisOffset[this.side];if(e){this.axisParent=e,super.getOffset();let i=this.chart.legend;i.allItems.forEach(function(e){e instanceof D&&e.drawLegendSymbol(i,e)}),i.render(),this.chart.getMargins(!0),this.added||(this.added=!0),this.labelLeft=0,this.labelRight=this.width,this.chart.axisOffset[this.side]=t}}setLegendColor(){let e=this.horiz,t=this.reversed,i=+!!t,r=+!t,o=e?[i,0,r,0]:[0,r,0,i];this.legendColor={linearGradient:{x1:o[0],y1:o[1],x2:o[2],y2:o[3]},stops:this.stops}}drawLegendSymbol(e,t){let i=t.legendItem||{},r=e.padding,o=e.options,s=this.options.labels,n=P(o.itemDistance,10),l=this.horiz,{width:a,height:h}=this.getSize(),u=P(o.labelPadding,l?16:30);this.setLegendColor();let f=0,c=0;if(this.options.title?.text&&!this.axisTitle){this.axisGroup||(this.axisParent=i.group,this.createGroups());let e=this.len,t=this.top,r=this.left,o=this.width;this.len=l?a:h,this.top=0,this.left=0,this.width=a,this.addTitle(!0),this.len=e,this.top=t,this.left=r,this.width=o}if(this.axisTitle){let e=this.axisTitle.getBBox();f=e.height,c=e.width}let d=this.options.title||{},p=this.axisTitle?d.margin??0:0,g=l?f+p:0;i.symbol||(i.symbol=this.chart.renderer.symbol("roundedRect").attr({r:o.symbolRadius??3,zIndex:1}).add(i.group)),i.symbol.attr({x:0,y:(e.baseline||0)-11+g,width:a,height:h}),l?(i.labelWidth=Math.max(a+r+n,c||0),i.labelHeight=h+r+u+f+p):(i.labelWidth=a+r+(s.x??s.distance??0)+(this.maxLabelLength||0)+(c||0)+p,i.labelHeight=Math.max(h+r,f||0))}getTitlePosition(e){let t=super.getTitlePosition(e),i=this.options.title?.margin??0;if(this.horiz&&e)t.y=this.top-i;else if(!this.horiz&&e){let e=this.options.labels||{},r=e.x??e.distance??0;t.x=this.left+this.width+r+(this.maxLabelLength||0)+i}return t}setState(e){this.series.forEach(function(t){t.setState(e)})}setVisible(){}getSeriesExtremes(){let e=this.series,t,i,r,o,s=e.length;for(this.dataMin=1/0,this.dataMax=-1/0;s--;){for(let n of(i=(o=e[s]).colorKey=P(o.options.colorKey,o.colorKey,o.pointValKey,o.zoneAxis,"y"),r=o[i+"Min"]&&o[i+"Max"],[i,"value","y"]))if((t=o.getColumn(n)).length)break;if(r)o.minColorValue=o[i+"Min"],o.maxColorValue=o[i+"Max"];else{let e=_.prototype.getExtremes.call(o,t);o.minColorValue=e.dataMin,o.maxColorValue=e.dataMax}null!=o.minColorValue&&null!=o.maxColorValue&&(this.dataMin=Math.min(this.dataMin,o.minColorValue),this.dataMax=Math.max(this.dataMax,o.maxColorValue)),r||_.prototype.applyExtremes.call(o)}}drawCrosshair(e,t){let i,r=this.legendItem||{},o=t?.plotX,s=t?.plotY,n=this.pos,l=this.len;t&&((i=this.toPixels(t.getNestedProperty(t.series.colorKey)))<n?i=n-2:i>n+l&&(i=n+l+2),t.plotX=i,t.plotY=this.len-i,super.drawCrosshair(e,t),t.plotX=o,t.plotY=s,this.cross&&!this.cross.addedToColorAxis&&r.group&&(this.cross.addClass("highcharts-coloraxis-marker").add(r.group),this.cross.addedToColorAxis=!0,this.chart.styledMode||"object"!=typeof this.crosshair||this.cross.attr({fill:this.crosshair.color})))}getPlotLinePath(e){let t=this.left,i=e.translatedValue,r=this.top;return"number"==typeof i&&!isNaN(i)&&i<1/0&&i>-1/0?this.horiz?[["M",i-4,r-6],["L",i+4,r-6],["L",i,r],["Z"]]:[["M",t,i],["L",t-6,i+6],["L",t-6,i-6],["Z"]]:super.getPlotLinePath(e)}update(e,t){let i=this.chart.legend;this.series.forEach(e=>{e.isDirtyData=!0}),(e.dataClasses&&i.allItems||this.dataClasses)&&this.destroyItems(),super.update(e,t),this.legendItem?.label&&(this.setLegendColor(),i.colorizeItem(this,!0))}destroyItems(){let e=this.chart,t=this.legendItem||{};if(t.label)e.legend.destroyItem(this);else if(t.labels)for(let i of t.labels)e.legend.destroyItem(i);e.isDirtyLegend=!0}destroy(){this.chart.isDirtyLegend=!0,this.destroyItems(),super.destroy(...[].slice.call(arguments))}remove(e){this.destroyItems(),super.remove(e)}getDataClassLegendSymbols(){let e,t=this,i=t.chart,r=t.legendItem&&t.legendItem.labels||[],o=i.options.legend,s=P(o.valueDecimals,-1),n=P(o.valueSuffix,""),l=e=>t.series.reduce((t,i)=>(t.push(...i.points.filter(t=>t.dataClass===e)),t),[]);return r.length||t.dataClasses.forEach((o,a)=>{let h=o.from,u=o.to,{numberFormatter:f}=i,c=!0;e="",void 0===h?e="< ":void 0===u&&(e="> "),void 0!==h&&(e+=f(h,s)+n),void 0!==h&&void 0!==u&&(e+=" - "),void 0!==u&&(e+=f(u,s)+n),r.push(U({chart:i,name:e,options:{},drawLegendSymbol:_.prototype.drawLegendSymbol,visible:!0,isDataClass:!0,setState:e=>{for(let t of l(a))t.setState(e)},setVisible:function(){this.visible=c=t.visible=!c;let e=[];for(let t of l(a))t.setVisible(c),t.hiddenInDataClass=!c,-1===e.indexOf(t.series)&&e.push(t.series);i.legend.colorizeItem(this,c),e.forEach(e=>{!function(e,t,i,r){if(i=i||{},x?.createEvent&&(e.dispatchEvent||e.fireEvent&&e!==d())){let r=x.createEvent("Events");r.initEvent(t,!0,!0),i=U(r,i),e.dispatchEvent?e.dispatchEvent(i):e.fireEvent(t,i)}else if(e.hcEvents){i.target||U(i,{preventDefault:function(){i.defaultPrevented=!0},target:e,type:t});let r=[],o=e,s=!1;for(;o.hcEvents;)Object.hasOwnProperty.call(o,"hcEvents")&&o.hcEvents[t]&&(r.length&&(s=!0),r.unshift.apply(r,o.hcEvents[t])),o=Object.getPrototypeOf(o);s&&r.sort((e,t)=>e.order-t.order),r.forEach(t=>{!1===t.fn.call(e,i,e)&&i.preventDefault()})}}(e,"afterDataClassLegendClick")})}},o))}),r}getSize(){let{chart:e,horiz:t}=this,{height:i,width:r}=this.options,{legend:o}=e.options;return{width:P(null!=r?S(r,e.chartWidth):void 0,o?.symbolWidth,t?D.defaultLegendLength:12),height:P(null!=i?S(i,e.chartHeight):void 0,o?.symbolHeight,t?12:D.defaultLegendLength)}}}D.defaultLegendLength=200,D.keepProps=["legendItem"],U(D.prototype,L),Array.prototype.push.apply(g().keepProps,D.keepProps);/**
10
- * @license Highcharts JS v12.6.0 (2026-04-13)
10
+ * @license Highcharts JS v12.6.2 (2026-09-21)
11
11
  * @module highcharts/modules/color-axis
12
12
  * @requires highcharts
13
13
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highmaps JS v12.6.0 (2026-04-13)
2
+ * @license Highmaps JS v12.6.2 (2026-09-21)
3
3
  * @module highcharts/modules/contour
4
4
  * @requires highcharts
5
5
  *
@@ -3005,7 +3005,7 @@ Array.prototype.push.apply((highcharts_Axis_commonjs_highcharts_Axis_commonjs2_h
3005
3005
  ;// ./code/es-modules/masters/modules/coloraxis.src.js
3006
3006
  // SPDX-License-Identifier: LicenseRef-Highcharts
3007
3007
  /**
3008
- * @license Highcharts JS v12.6.0 (2026-04-13)
3008
+ * @license Highcharts JS v12.6.2 (2026-09-21)
3009
3009
  * @module highcharts/modules/color-axis
3010
3010
  * @requires highcharts
3011
3011
  *
@@ -1,5 +1,5 @@
1
1
  !/**
2
- * Highcharts Gantt JS v12.6.0 (2026-04-13)
2
+ * Highcharts Gantt JS v12.6.2 (2026-09-21)
3
3
  * @module highcharts/modules/current-date-indicator
4
4
  * @requires highcharts
5
5
  *
@@ -1,6 +1,6 @@
1
1
  // SPDX-License-Identifier: LicenseRef-Highcharts
2
2
  /**
3
- * @license Highcharts Gantt JS v12.6.0 (2026-04-13)
3
+ * @license Highcharts Gantt JS v12.6.2 (2026-09-21)
4
4
  * @module highcharts/modules/current-date-indicator
5
5
  * @requires highcharts
6
6
  *
@@ -1,5 +1,5 @@
1
1
  !/**
2
- * Highcharts JS v12.6.0 (2026-04-13)
2
+ * Highcharts JS v12.6.2 (2026-09-21)
3
3
  * @module highcharts/modules/cylinder
4
4
  * @requires highcharts
5
5
  * @requires highcharts/highcharts-3d
@@ -1,6 +1,6 @@
1
1
  // SPDX-License-Identifier: LicenseRef-Highcharts
2
2
  /**
3
- * @license Highcharts JS v12.6.0 (2026-04-13)
3
+ * @license Highcharts JS v12.6.2 (2026-09-21)
4
4
  * @module highcharts/modules/cylinder
5
5
  * @requires highcharts
6
6
  * @requires highcharts/highcharts-3d
@@ -1,5 +1,5 @@
1
1
  !/**
2
- * Highcharts JS v12.6.0 (2026-04-13)
2
+ * Highcharts JS v12.6.2 (2026-09-21)
3
3
  * @module highcharts/modules/data-tools
4
4
  * @requires highcharts
5
5
  *