highcharts 13.0.2 → 13.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1166) hide show
  1. package/bower.json +1 -1
  2. package/css/highcharts.css +6 -2
  3. package/es-modules/Accessibility/Components/InfoRegionsComponent.js +10 -6
  4. package/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js +2 -1
  5. package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +25 -1
  6. package/es-modules/Accessibility/KeyboardNavigation.js +1 -1
  7. package/es-modules/Accessibility/Utils/HTMLUtilities.js +13 -3
  8. package/es-modules/Core/Animation/AnimationUtilities.js +7 -2
  9. package/es-modules/Core/Animation/Fx.js +1 -0
  10. package/es-modules/Core/Axis/Axis.js +181 -211
  11. package/es-modules/Core/Axis/Axis3DComposition.js +13 -15
  12. package/es-modules/Core/Axis/AxisDefaults.js +9 -8
  13. package/es-modules/Core/Axis/BrokenAxis.js +5 -4
  14. package/es-modules/Core/Axis/Color/ColorAxis.js +66 -54
  15. package/es-modules/Core/Axis/Color/ColorAxisComposition.js +3 -0
  16. package/es-modules/Core/Axis/Color/ColorAxisDefaults.js +6 -4
  17. package/es-modules/Core/Axis/DateTimeAxis.js +4 -3
  18. package/es-modules/Core/Axis/GridAxis.js +17 -13
  19. package/es-modules/Core/Axis/LogarithmicAxis.js +4 -3
  20. package/es-modules/Core/Axis/NavigatorAxisComposition.js +3 -4
  21. package/es-modules/Core/Axis/OrdinalAxis.js +0 -15
  22. package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +135 -72
  23. package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js +72 -124
  24. package/es-modules/Core/Axis/RadialAxis.js +50 -7
  25. package/es-modules/Core/Axis/ScrollbarAxis.js +3 -0
  26. package/es-modules/Core/Axis/Stacking/StackItem.js +49 -75
  27. package/es-modules/Core/Axis/Stacking/StackingAxis.js +34 -22
  28. package/es-modules/Core/Axis/Tick.js +95 -92
  29. package/es-modules/Core/Axis/TreeGrid/TreeGridAxis.js +9 -13
  30. package/es-modules/Core/Axis/WaterfallAxis.js +1 -1
  31. package/es-modules/Core/Chart/Chart.js +13 -4
  32. package/es-modules/Core/Chart/StockChart.js +20 -26
  33. package/es-modules/Core/Defaults.js +18 -0
  34. package/es-modules/Core/Globals.js +9 -7
  35. package/es-modules/Core/Pointer.js +7 -8
  36. package/es-modules/Core/Renderer/HTML/AST.js +19 -12
  37. package/es-modules/Core/Renderer/HTML/HTMLElement.js +5 -1
  38. package/es-modules/Core/Renderer/SVG/SVGElement.js +1 -0
  39. package/es-modules/Core/Renderer/SVG/SVGRenderer.js +1 -1
  40. package/es-modules/Core/Renderer/SVG/Symbols.js +1 -1
  41. package/es-modules/Core/Renderer/SVG/TextBuilder.js +6 -2
  42. package/es-modules/Core/Series/OverlappingDataLabels.js +41 -32
  43. package/es-modules/Core/Series/Point.js +14 -11
  44. package/es-modules/Core/Series/Series.js +21 -10
  45. package/es-modules/Core/Tooltip.js +35 -40
  46. package/es-modules/Data/DataCursor.js +3 -2
  47. package/es-modules/Data/DataTable.js +21 -2
  48. package/es-modules/Data/DataTableCore.js +28 -4
  49. package/es-modules/Data/Formula/FormulaParser.js +30 -10
  50. package/es-modules/Extensions/Annotations/Annotation.js +5 -7
  51. package/es-modules/Extensions/Annotations/AnnotationChart.js +2 -1
  52. package/es-modules/Extensions/Boost/BoostSeries.js +4 -13
  53. package/es-modules/Extensions/Breadcrumbs/Breadcrumbs.js +6 -4
  54. package/es-modules/Extensions/Breadcrumbs/BreadcrumbsDefaults.js +1 -1
  55. package/es-modules/Extensions/Data.js +4 -2
  56. package/es-modules/Extensions/DragPanes/DragPanes.js +6 -9
  57. package/es-modules/Extensions/Drilldown/Drilldown.js +9 -4
  58. package/es-modules/Extensions/ExportData/ExportData.js +24 -4
  59. package/es-modules/Extensions/Pane/Pane.js +1 -1
  60. package/es-modules/Extensions/ParallelCoordinates/ParallelAxis.js +5 -4
  61. package/es-modules/Extensions/StaticScale.js +13 -11
  62. package/es-modules/Series/Area/AreaSeriesDefaults.js +1 -1
  63. package/es-modules/Series/AreaRange/AreaRangeSeriesDefaults.js +1 -1
  64. package/es-modules/Series/AreaSpline/AreaSplineSeries.js +1 -1
  65. package/es-modules/Series/AreaSplineRange/AreaSplineRangeSeries.js +1 -1
  66. package/es-modules/Series/Bar/BarSeries.js +1 -1
  67. package/es-modules/Series/Bellcurve/BellcurveSeriesDefaults.js +1 -1
  68. package/es-modules/Series/BoxPlot/BoxPlotSeriesDefaults.js +1 -1
  69. package/es-modules/Series/Bubble/BubbleSeries.js +1 -1
  70. package/es-modules/Series/Bullet/BulletSeriesDefaults.js +1 -1
  71. package/es-modules/Series/Candlestick/CandlestickSeriesDefaults.js +1 -1
  72. package/es-modules/Series/Column/ColumnSeriesDefaults.js +6 -3
  73. package/es-modules/Series/ColumnPyramid/ColumnPyramidSeriesDefaults.js +2 -3
  74. package/es-modules/Series/ColumnRange/ColumnRangeSeriesDefaults.js +1 -1
  75. package/es-modules/Series/Contour/ContourSeriesDefaults.js +12 -14
  76. package/es-modules/Series/ErrorBar/ErrorBarSeriesDefaults.js +1 -1
  77. package/es-modules/Series/Flags/FlagsPoint.js +4 -2
  78. package/es-modules/Series/Flags/FlagsPointOptions.js +12 -0
  79. package/es-modules/Series/Flags/FlagsSeries.js +8 -7
  80. package/es-modules/Series/Flags/FlagsSeriesDefaults.js +7 -7
  81. package/es-modules/Series/Flags/FlagsSeriesOptions.js +12 -0
  82. package/es-modules/Series/Flags/FlagsSymbols.js +5 -3
  83. package/es-modules/Series/Funnel/FunnelSeriesDefaults.js +1 -1
  84. package/es-modules/Series/Gauge/GaugeSeries.js +1 -1
  85. package/es-modules/Series/GeoHeatmap/GeoHeatmapSeries.js +1 -1
  86. package/es-modules/Series/HLC/HLCSeriesDefaults.js +1 -7
  87. package/es-modules/Series/Heatmap/HeatmapSeriesDefaults.js +1 -1
  88. package/es-modules/Series/HeikinAshi/HeikinAshiSeriesDefaults.js +1 -1
  89. package/es-modules/Series/Histogram/HistogramSeriesDefaults.js +1 -1
  90. package/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +1 -1
  91. package/es-modules/Series/Item/ItemSeriesDefaults.js +1 -1
  92. package/es-modules/Series/Line/LineSeries.js +0 -1
  93. package/es-modules/Series/Map/MapSeriesDefaults.js +1 -1
  94. package/es-modules/Series/MapBubble/MapBubbleSeries.js +0 -1
  95. package/es-modules/Series/MapLine/MapLineSeriesDefaults.js +1 -1
  96. package/es-modules/Series/MapPoint/MapPointSeriesDefaults.js +0 -1
  97. package/es-modules/Series/Networkgraph/ReingoldFruchtermanLayout.js +5 -5
  98. package/es-modules/Series/OHLC/OHLCSeriesDefaults.js +0 -1
  99. package/es-modules/Series/PackedBubble/PackedBubbleChart.js +18 -0
  100. package/es-modules/Series/PackedBubble/PackedBubbleDataLabelOptions.js +12 -0
  101. package/es-modules/Series/PackedBubble/PackedBubbleIntegration.js +3 -3
  102. package/es-modules/Series/PackedBubble/PackedBubbleLayout.js +2 -2
  103. package/es-modules/Series/PackedBubble/PackedBubblePoint.js +1 -1
  104. package/es-modules/Series/PackedBubble/PackedBubblePointOptions.js +12 -0
  105. package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +20 -20
  106. package/es-modules/Series/PackedBubble/PackedBubbleSeriesDefaults.js +2 -2
  107. package/es-modules/Series/PackedBubble/PackedBubbleSeriesOptions.js +12 -0
  108. package/es-modules/Series/ParetoSeries/ParetoPoint.js +17 -0
  109. package/es-modules/Series/ParetoSeries/ParetoPointOptions.js +12 -0
  110. package/es-modules/Series/ParetoSeries/ParetoSeries.js +3 -3
  111. package/es-modules/Series/ParetoSeries/ParetoSeriesDefaults.js +1 -1
  112. package/es-modules/Series/ParetoSeries/ParetoSeriesOptions.js +12 -0
  113. package/es-modules/Series/PathUtilities.js +3 -1
  114. package/es-modules/Series/Pictorial/PictorialPointOptions.js +12 -0
  115. package/es-modules/Series/Pictorial/PictorialSeries.js +5 -25
  116. package/es-modules/Series/Pictorial/PictorialSeriesDefaults.js +45 -0
  117. package/es-modules/Series/Pictorial/PictorialSeriesOptions.js +12 -0
  118. package/es-modules/Series/Pie/PieSeriesDefaults.js +1 -1
  119. package/es-modules/Series/Pie3D/Pie3DPoint.js +1 -1
  120. package/es-modules/Series/Pie3D/Pie3DSeries.js +6 -6
  121. package/es-modules/Series/PolarComposition.js +22 -21
  122. package/es-modules/Series/Polygon/PolygonPoint.js +17 -0
  123. package/es-modules/Series/Polygon/PolygonPointOptions.js +12 -0
  124. package/es-modules/Series/Polygon/PolygonSeriesDefaults.js +1 -1
  125. package/es-modules/Series/Polygon/PolygonSeriesOptions.js +12 -0
  126. package/es-modules/Series/Pyramid/PyramidPoint.js +19 -0
  127. package/es-modules/Series/Pyramid/PyramidPointOptions.js +14 -0
  128. package/es-modules/Series/Pyramid/PyramidSeries.js +1 -1
  129. package/es-modules/Series/Pyramid/PyramidSeriesDefaults.js +1 -1
  130. package/es-modules/Series/Pyramid/PyramidSeriesOptions.js +14 -0
  131. package/es-modules/Series/Pyramid3D/Pyramid3DPoint.js +19 -0
  132. package/es-modules/Series/Pyramid3D/Pyramid3DPointOptions.js +14 -0
  133. package/es-modules/Series/Pyramid3D/Pyramid3DSeries.js +1 -1
  134. package/es-modules/Series/Pyramid3D/Pyramid3DSeriesOptions.js +14 -0
  135. package/es-modules/Series/Renko/RenkoSeriesDefaults.js +1 -2
  136. package/es-modules/Series/Sankey/SankeySeriesDefaults.js +6 -7
  137. package/es-modules/Series/Scatter/ScatterSeriesDefaults.js +1 -1
  138. package/es-modules/Series/SolidGauge/SolidGaugeSeriesDefaults.js +1 -1
  139. package/es-modules/Series/Spline/SplineSeries.js +1 -1
  140. package/es-modules/Series/Streamgraph/StreamgraphSeriesDefaults.js +1 -1
  141. package/es-modules/Series/Sunburst/SunburstSeriesDefaults.js +1 -1
  142. package/es-modules/Series/TiledWebMap/TiledWebMapSeriesDefaults.js +2 -2
  143. package/es-modules/Series/Tilemap/TilemapSeriesDefaults.js +1 -1
  144. package/es-modules/Series/Timeline/TimelineSeriesDefaults.js +1 -1
  145. package/es-modules/Series/Treemap/TreemapSeriesDefaults.js +1 -1
  146. package/es-modules/Series/VariablePie/VariablePieSeriesDefaults.js +1 -1
  147. package/es-modules/Series/Variwide/VariwideComposition.js +11 -8
  148. package/es-modules/Series/Vector/VectorSeriesDefaults.js +1 -1
  149. package/es-modules/Series/Venn/VennSeriesDefaults.js +1 -1
  150. package/es-modules/Series/Waterfall/WaterfallSeriesDefaults.js +1 -1
  151. package/es-modules/Series/Windbarb/WindbarbSeriesDefaults.js +1 -1
  152. package/es-modules/Shared/Utilities.js +7 -0
  153. package/es-modules/Stock/Indicators/ABands/ABandsIndicator.js +1 -1
  154. package/es-modules/Stock/Indicators/AD/ADIndicator.js +0 -1
  155. package/es-modules/Stock/Indicators/AO/AOIndicator.js +1 -1
  156. package/es-modules/Stock/Indicators/APO/APOIndicator.js +1 -1
  157. package/es-modules/Stock/Indicators/ATR/ATRIndicator.js +0 -1
  158. package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +1 -1
  159. package/es-modules/Stock/Indicators/AroonOscillator/AroonOscillatorIndicator.js +2 -2
  160. package/es-modules/Stock/Indicators/BB/BBIndicator.js +0 -1
  161. package/es-modules/Stock/Indicators/CCI/CCIIndicator.js +0 -1
  162. package/es-modules/Stock/Indicators/CMF/CMFIndicator.js +0 -1
  163. package/es-modules/Stock/Indicators/CMO/CMOIndicator.js +0 -1
  164. package/es-modules/Stock/Indicators/Chaikin/ChaikinIndicator.js +1 -1
  165. package/es-modules/Stock/Indicators/DEMA/DEMAIndicator.js +1 -1
  166. package/es-modules/Stock/Indicators/DMI/DMIIndicator.js +3 -3
  167. package/es-modules/Stock/Indicators/DPO/DPOIndicator.js +1 -1
  168. package/es-modules/Stock/Indicators/DisparityIndex/DisparityIndexIndicator.js +3 -3
  169. package/es-modules/Stock/Indicators/EMA/EMAIndicator.js +0 -1
  170. package/es-modules/Stock/Indicators/IKH/IKHIndicator.js +0 -1
  171. package/es-modules/Stock/Indicators/KeltnerChannels/KeltnerChannelsIndicator.js +1 -1
  172. package/es-modules/Stock/Indicators/LinearRegression/LinearRegressionIndicator.js +0 -1
  173. package/es-modules/Stock/Indicators/LinearRegressionAngle/LinearRegressionAngleIndicator.js +0 -1
  174. package/es-modules/Stock/Indicators/LinearRegressionIntercept/LinearRegressionInterceptIndicator.js +0 -1
  175. package/es-modules/Stock/Indicators/LinearRegressionSlopes/LinearRegressionSlopesIndicator.js +0 -1
  176. package/es-modules/Stock/Indicators/MACD/MACDIndicator.js +0 -1
  177. package/es-modules/Stock/Indicators/MFI/MFIIndicator.js +0 -1
  178. package/es-modules/Stock/Indicators/Momentum/MomentumIndicator.js +0 -1
  179. package/es-modules/Stock/Indicators/NATR/NATRIndicator.js +0 -1
  180. package/es-modules/Stock/Indicators/OBV/OBVIndicator.js +0 -1
  181. package/es-modules/Stock/Indicators/PC/PCIndicator.js +1 -1
  182. package/es-modules/Stock/Indicators/PPO/PPOIndicator.js +1 -1
  183. package/es-modules/Stock/Indicators/PSAR/PSARIndicator.js +0 -1
  184. package/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +0 -1
  185. package/es-modules/Stock/Indicators/PriceEnvelopes/PriceEnvelopesIndicator.js +0 -1
  186. package/es-modules/Stock/Indicators/ROC/ROCIndicator.js +0 -1
  187. package/es-modules/Stock/Indicators/RSI/RSIIndicator.js +0 -1
  188. package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +1 -1
  189. package/es-modules/Stock/Indicators/Stochastic/StochasticIndicator.js +3 -3
  190. package/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +1 -1
  191. package/es-modules/Stock/Indicators/TEMA/TEMAIndicator.js +1 -1
  192. package/es-modules/Stock/Indicators/TRIX/TRIXIndicator.js +1 -1
  193. package/es-modules/Stock/Indicators/TrendLine/TrendLineIndicator.js +0 -1
  194. package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +1 -1
  195. package/es-modules/Stock/Indicators/VWAP/VWAPIndicator.js +0 -1
  196. package/es-modules/Stock/Indicators/WMA/WMAIndicator.js +0 -1
  197. package/es-modules/Stock/Indicators/WilliamsR/WilliamsRIndicator.js +1 -1
  198. package/es-modules/Stock/Indicators/Zigzag/ZigzagIndicator.js +0 -1
  199. package/es-modules/Stock/Navigator/ChartNavigatorComposition.js +5 -5
  200. package/es-modules/Stock/Navigator/Navigator.js +1 -5
  201. package/es-modules/Stock/Navigator/StandaloneNavigator.js +38 -8
  202. package/es-modules/Stock/RangeSelector/RangeSelectorComposition.js +2 -2
  203. package/es-modules/Stock/Scrollbar/ScrollbarDefaults.js +1 -3
  204. package/es-modules/masters/highcharts-3d.src.js +1 -1
  205. package/es-modules/masters/highcharts-autoload.src.js +1 -1
  206. package/es-modules/masters/highcharts-gantt.src.js +1 -1
  207. package/es-modules/masters/highcharts-more.src.js +1 -1
  208. package/es-modules/masters/highcharts.src.js +1 -1
  209. package/es-modules/masters/highmaps.src.js +1 -1
  210. package/es-modules/masters/highstock.src.js +1 -1
  211. package/es-modules/masters/i18n/fr-FR.src.d.ts +1 -1
  212. package/es-modules/masters/i18n/fr-FR.src.js +1 -1
  213. package/es-modules/masters/i18n/nb-NO.src.d.ts +1 -1
  214. package/es-modules/masters/i18n/nb-NO.src.js +1 -1
  215. package/es-modules/masters/i18n/zh-CN.src.d.ts +1 -1
  216. package/es-modules/masters/i18n/zh-CN.src.js +1 -1
  217. package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
  218. package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
  219. package/es-modules/masters/indicators/ao.src.js +1 -1
  220. package/es-modules/masters/indicators/apo.src.js +1 -1
  221. package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
  222. package/es-modules/masters/indicators/aroon.src.js +1 -1
  223. package/es-modules/masters/indicators/atr.src.js +1 -1
  224. package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
  225. package/es-modules/masters/indicators/cci.src.js +1 -1
  226. package/es-modules/masters/indicators/chaikin.src.js +1 -1
  227. package/es-modules/masters/indicators/cmf.src.js +1 -1
  228. package/es-modules/masters/indicators/cmo.src.js +1 -1
  229. package/es-modules/masters/indicators/dema.src.js +1 -1
  230. package/es-modules/masters/indicators/disparity-index.src.js +1 -1
  231. package/es-modules/masters/indicators/dmi.src.js +1 -1
  232. package/es-modules/masters/indicators/dpo.src.js +1 -1
  233. package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
  234. package/es-modules/masters/indicators/indicators-all.src.js +1 -1
  235. package/es-modules/masters/indicators/indicators.src.js +1 -1
  236. package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
  237. package/es-modules/masters/indicators/klinger.src.js +1 -1
  238. package/es-modules/masters/indicators/macd.src.js +1 -1
  239. package/es-modules/masters/indicators/mfi.src.js +1 -1
  240. package/es-modules/masters/indicators/momentum.src.js +1 -1
  241. package/es-modules/masters/indicators/natr.src.js +1 -1
  242. package/es-modules/masters/indicators/obv.src.js +1 -1
  243. package/es-modules/masters/indicators/pivot-points.src.js +1 -1
  244. package/es-modules/masters/indicators/ppo.src.js +1 -1
  245. package/es-modules/masters/indicators/price-channel.src.js +1 -1
  246. package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
  247. package/es-modules/masters/indicators/psar.src.js +1 -1
  248. package/es-modules/masters/indicators/regressions.src.js +1 -1
  249. package/es-modules/masters/indicators/roc.src.js +1 -1
  250. package/es-modules/masters/indicators/rsi.src.js +1 -1
  251. package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
  252. package/es-modules/masters/indicators/stochastic.src.js +1 -1
  253. package/es-modules/masters/indicators/supertrend.src.js +1 -1
  254. package/es-modules/masters/indicators/tema.src.js +1 -1
  255. package/es-modules/masters/indicators/trendline.src.js +1 -1
  256. package/es-modules/masters/indicators/trix.src.js +1 -1
  257. package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
  258. package/es-modules/masters/indicators/vwap.src.js +1 -1
  259. package/es-modules/masters/indicators/williams-r.src.js +1 -1
  260. package/es-modules/masters/indicators/wma.src.js +1 -1
  261. package/es-modules/masters/indicators/zigzag.src.js +1 -1
  262. package/es-modules/masters/modules/accessibility.src.js +1 -1
  263. package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
  264. package/es-modules/masters/modules/annotations.src.js +1 -1
  265. package/es-modules/masters/modules/arc-diagram.src.js +1 -1
  266. package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
  267. package/es-modules/masters/modules/boost-canvas.src.js +1 -1
  268. package/es-modules/masters/modules/boost.src.js +1 -1
  269. package/es-modules/masters/modules/broken-axis.src.js +1 -1
  270. package/es-modules/masters/modules/bullet.src.js +1 -1
  271. package/es-modules/masters/modules/coloraxis.src.js +1 -1
  272. package/es-modules/masters/modules/contour.src.js +1 -1
  273. package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
  274. package/es-modules/masters/modules/cylinder.src.js +1 -1
  275. package/es-modules/masters/modules/data-sorting.src.js +1 -1
  276. package/es-modules/masters/modules/data-tools.src.js +1 -1
  277. package/es-modules/masters/modules/data.src.js +1 -1
  278. package/es-modules/masters/modules/datagrouping.src.js +1 -1
  279. package/es-modules/masters/modules/debugger.src.js +1 -1
  280. package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
  281. package/es-modules/masters/modules/dotplot.src.js +1 -1
  282. package/es-modules/masters/modules/drag-panes.src.js +1 -1
  283. package/es-modules/masters/modules/draggable-points.src.js +1 -1
  284. package/es-modules/masters/modules/drilldown.src.js +1 -1
  285. package/es-modules/masters/modules/dumbbell.src.js +1 -1
  286. package/es-modules/masters/modules/export-data.src.js +1 -1
  287. package/es-modules/masters/modules/exporting.src.js +1 -1
  288. package/es-modules/masters/modules/flowmap.src.js +1 -1
  289. package/es-modules/masters/modules/full-screen.src.js +1 -1
  290. package/es-modules/masters/modules/funnel.src.js +1 -1
  291. package/es-modules/masters/modules/funnel3d.src.js +1 -1
  292. package/es-modules/masters/modules/gantt.src.js +1 -1
  293. package/es-modules/masters/modules/geoheatmap.src.js +1 -1
  294. package/es-modules/masters/modules/grid-axis.src.js +1 -1
  295. package/es-modules/masters/modules/heatmap.src.js +1 -1
  296. package/es-modules/masters/modules/heikinashi.src.js +1 -1
  297. package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
  298. package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
  299. package/es-modules/masters/modules/item-series.src.js +1 -1
  300. package/es-modules/masters/modules/lollipop.src.js +1 -1
  301. package/es-modules/masters/modules/map.src.js +1 -1
  302. package/es-modules/masters/modules/marker-clusters.src.js +1 -1
  303. package/es-modules/masters/modules/mouse-wheel-zoom.src.js +1 -1
  304. package/es-modules/masters/modules/navigator.src.js +1 -1
  305. package/es-modules/masters/modules/networkgraph.src.js +1 -1
  306. package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
  307. package/es-modules/masters/modules/non-cartesian-zoom.src.js +1 -1
  308. package/es-modules/masters/modules/offline-exporting.src.js +1 -1
  309. package/es-modules/masters/modules/organization.src.js +1 -1
  310. package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
  311. package/es-modules/masters/modules/pareto.src.js +1 -1
  312. package/es-modules/masters/modules/pathfinder.src.js +1 -1
  313. package/es-modules/masters/modules/pattern-fill.src.js +1 -1
  314. package/es-modules/masters/modules/pictorial.src.js +1 -1
  315. package/es-modules/masters/modules/pointandfigure.src.js +1 -1
  316. package/es-modules/masters/modules/price-indicator.src.js +1 -1
  317. package/es-modules/masters/modules/pyramid3d.src.js +1 -1
  318. package/es-modules/masters/modules/renko.src.js +1 -1
  319. package/es-modules/masters/modules/sankey.src.js +1 -1
  320. package/es-modules/masters/modules/series-label.src.js +1 -1
  321. package/es-modules/masters/modules/series-on-point.src.js +1 -1
  322. package/es-modules/masters/modules/solid-gauge.src.js +1 -1
  323. package/es-modules/masters/modules/sonification.src.js +1 -1
  324. package/es-modules/masters/modules/static-scale.src.js +1 -1
  325. package/es-modules/masters/modules/stock-tools.src.js +1 -1
  326. package/es-modules/masters/modules/stock.src.js +1 -1
  327. package/es-modules/masters/modules/streamgraph.src.js +1 -1
  328. package/es-modules/masters/modules/sunburst.src.js +1 -1
  329. package/es-modules/masters/modules/textpath.src.js +1 -1
  330. package/es-modules/masters/modules/tiledwebmap.src.js +1 -1
  331. package/es-modules/masters/modules/tilemap.src.js +1 -1
  332. package/es-modules/masters/modules/timeline.src.js +1 -1
  333. package/es-modules/masters/modules/treegraph.src.js +1 -1
  334. package/es-modules/masters/modules/treegrid.src.js +1 -1
  335. package/es-modules/masters/modules/treemap.src.js +1 -1
  336. package/es-modules/masters/modules/variable-pie.src.js +1 -1
  337. package/es-modules/masters/modules/variwide.src.js +1 -1
  338. package/es-modules/masters/modules/vector.src.js +1 -1
  339. package/es-modules/masters/modules/venn.src.js +1 -1
  340. package/es-modules/masters/modules/windbarb.src.js +1 -1
  341. package/es-modules/masters/modules/wordcloud.src.js +1 -1
  342. package/es-modules/masters/modules/xrange.src.js +1 -1
  343. package/es-modules/masters/standalone-navigator.src.js +1 -1
  344. package/es-modules/masters/themes/adaptive.src.js +1 -1
  345. package/es-modules/masters/themes/avocado.src.js +1 -1
  346. package/es-modules/masters/themes/dark-unica.src.js +1 -1
  347. package/es-modules/masters/themes/grid-light.src.js +1 -1
  348. package/es-modules/masters/themes/high-contrast.src.js +1 -1
  349. package/es-modules/masters/themes/sand-signika.src.js +1 -1
  350. package/es-modules/masters/themes/sunset.src.js +1 -1
  351. package/es-modules/tsconfig.tsbuildinfo +1 -1
  352. package/esm/highcharts-3d.js +2 -2
  353. package/esm/highcharts-3d.src.js +38 -61
  354. package/esm/highcharts-autoload.js +2 -2
  355. package/esm/highcharts-autoload.src.js +18 -39
  356. package/esm/highcharts-gantt.js +1 -1
  357. package/esm/highcharts-gantt.src.js +1 -1
  358. package/esm/highcharts-more.js +2 -2
  359. package/esm/highcharts-more.src.js +142 -120
  360. package/esm/highcharts.js +4 -4
  361. package/esm/highcharts.src.js +825 -751
  362. package/esm/highmaps.js +1 -1
  363. package/esm/highmaps.src.js +1 -1
  364. package/esm/highstock.js +1 -1
  365. package/esm/highstock.src.js +1 -1
  366. package/esm/i18n/fr-FR.js +2 -2
  367. package/esm/i18n/fr-FR.src.js +17 -38
  368. package/esm/i18n/nb-NO.js +2 -2
  369. package/esm/i18n/nb-NO.src.js +17 -38
  370. package/esm/i18n/zh-CN.js +2 -2
  371. package/esm/i18n/zh-CN.src.js +17 -38
  372. package/esm/indicators/acceleration-bands.js +2 -2
  373. package/esm/indicators/acceleration-bands.src.js +18 -39
  374. package/esm/indicators/accumulation-distribution.js +2 -2
  375. package/esm/indicators/accumulation-distribution.src.js +17 -39
  376. package/esm/indicators/ao.js +2 -2
  377. package/esm/indicators/ao.src.js +18 -39
  378. package/esm/indicators/apo.js +2 -2
  379. package/esm/indicators/apo.src.js +18 -39
  380. package/esm/indicators/aroon-oscillator.js +2 -2
  381. package/esm/indicators/aroon-oscillator.src.js +19 -40
  382. package/esm/indicators/aroon.js +2 -2
  383. package/esm/indicators/aroon.src.js +18 -39
  384. package/esm/indicators/atr.js +2 -2
  385. package/esm/indicators/atr.src.js +17 -39
  386. package/esm/indicators/bollinger-bands.js +2 -2
  387. package/esm/indicators/bollinger-bands.src.js +17 -39
  388. package/esm/indicators/cci.js +2 -2
  389. package/esm/indicators/cci.src.js +17 -39
  390. package/esm/indicators/chaikin.js +2 -2
  391. package/esm/indicators/chaikin.src.js +18 -40
  392. package/esm/indicators/cmf.js +2 -2
  393. package/esm/indicators/cmf.src.js +17 -39
  394. package/esm/indicators/cmo.js +2 -2
  395. package/esm/indicators/cmo.src.js +17 -39
  396. package/esm/indicators/dema.js +2 -2
  397. package/esm/indicators/dema.src.js +18 -39
  398. package/esm/indicators/disparity-index.js +2 -2
  399. package/esm/indicators/disparity-index.src.js +20 -41
  400. package/esm/indicators/dmi.js +2 -2
  401. package/esm/indicators/dmi.src.js +20 -41
  402. package/esm/indicators/dpo.js +2 -2
  403. package/esm/indicators/dpo.src.js +18 -39
  404. package/esm/indicators/ichimoku-kinko-hyo.js +2 -2
  405. package/esm/indicators/ichimoku-kinko-hyo.src.js +18 -40
  406. package/esm/indicators/indicators-all.js +2 -2
  407. package/esm/indicators/indicators-all.src.js +76 -99
  408. package/esm/indicators/indicators.js +2 -2
  409. package/esm/indicators/indicators.src.js +48 -46
  410. package/esm/indicators/keltner-channels.js +2 -2
  411. package/esm/indicators/keltner-channels.src.js +18 -39
  412. package/esm/indicators/klinger.js +2 -2
  413. package/esm/indicators/klinger.src.js +17 -38
  414. package/esm/indicators/macd.js +2 -2
  415. package/esm/indicators/macd.src.js +17 -39
  416. package/esm/indicators/mfi.js +2 -2
  417. package/esm/indicators/mfi.src.js +17 -39
  418. package/esm/indicators/momentum.js +2 -2
  419. package/esm/indicators/momentum.src.js +17 -39
  420. package/esm/indicators/natr.js +2 -2
  421. package/esm/indicators/natr.src.js +17 -39
  422. package/esm/indicators/obv.js +2 -2
  423. package/esm/indicators/obv.src.js +17 -39
  424. package/esm/indicators/pivot-points.js +2 -2
  425. package/esm/indicators/pivot-points.src.js +17 -39
  426. package/esm/indicators/ppo.js +2 -2
  427. package/esm/indicators/ppo.src.js +18 -39
  428. package/esm/indicators/price-channel.js +2 -2
  429. package/esm/indicators/price-channel.src.js +18 -39
  430. package/esm/indicators/price-envelopes.js +2 -2
  431. package/esm/indicators/price-envelopes.src.js +17 -39
  432. package/esm/indicators/psar.js +2 -2
  433. package/esm/indicators/psar.src.js +17 -39
  434. package/esm/indicators/regressions.js +2 -2
  435. package/esm/indicators/regressions.src.js +17 -42
  436. package/esm/indicators/roc.js +2 -2
  437. package/esm/indicators/roc.src.js +17 -39
  438. package/esm/indicators/rsi.js +2 -2
  439. package/esm/indicators/rsi.src.js +17 -39
  440. package/esm/indicators/slow-stochastic.js +2 -2
  441. package/esm/indicators/slow-stochastic.src.js +17 -38
  442. package/esm/indicators/stochastic.js +2 -2
  443. package/esm/indicators/stochastic.src.js +20 -41
  444. package/esm/indicators/supertrend.js +2 -2
  445. package/esm/indicators/supertrend.src.js +19 -40
  446. package/esm/indicators/tema.js +2 -2
  447. package/esm/indicators/tema.src.js +18 -39
  448. package/esm/indicators/trendline.js +2 -2
  449. package/esm/indicators/trendline.src.js +17 -39
  450. package/esm/indicators/trix.js +2 -2
  451. package/esm/indicators/trix.src.js +18 -39
  452. package/esm/indicators/volume-by-price.js +2 -2
  453. package/esm/indicators/volume-by-price.src.js +18 -39
  454. package/esm/indicators/vwap.js +2 -2
  455. package/esm/indicators/vwap.src.js +17 -39
  456. package/esm/indicators/williams-r.js +2 -2
  457. package/esm/indicators/williams-r.src.js +18 -39
  458. package/esm/indicators/wma.js +2 -2
  459. package/esm/indicators/wma.src.js +17 -39
  460. package/esm/indicators/zigzag.js +2 -2
  461. package/esm/indicators/zigzag.src.js +17 -39
  462. package/esm/modules/accessibility.js +2 -2
  463. package/esm/modules/accessibility.src.js +90 -76
  464. package/esm/modules/annotations-advanced.js +3 -3
  465. package/esm/modules/annotations-advanced.src.js +36 -58
  466. package/esm/modules/annotations.js +3 -3
  467. package/esm/modules/annotations.src.js +36 -58
  468. package/esm/modules/arc-diagram.js +2 -2
  469. package/esm/modules/arc-diagram.src.js +18 -39
  470. package/esm/modules/arrow-symbols.js +3 -3
  471. package/esm/modules/arrow-symbols.src.js +17 -38
  472. package/esm/modules/boost-canvas.js +2 -2
  473. package/esm/modules/boost-canvas.src.js +57 -63
  474. package/esm/modules/boost.js +2 -2
  475. package/esm/modules/boost.src.js +56 -62
  476. package/esm/modules/broken-axis.js +2 -2
  477. package/esm/modules/broken-axis.src.js +21 -41
  478. package/esm/modules/bullet.js +2 -2
  479. package/esm/modules/bullet.src.js +18 -39
  480. package/esm/modules/coloraxis.js +2 -2
  481. package/esm/modules/coloraxis.src.js +92 -96
  482. package/esm/modules/contour.js +3 -3
  483. package/esm/modules/contour.src.js +29 -52
  484. package/esm/modules/current-date-indicator.js +2 -2
  485. package/esm/modules/current-date-indicator.src.js +17 -38
  486. package/esm/modules/cylinder.js +2 -2
  487. package/esm/modules/cylinder.src.js +18 -39
  488. package/esm/modules/data-sorting.js +2 -2
  489. package/esm/modules/data-sorting.src.js +18 -39
  490. package/esm/modules/data-tools.js +2 -2
  491. package/esm/modules/data-tools.src.js +110 -67
  492. package/esm/modules/data.js +4 -4
  493. package/esm/modules/data.src.js +53 -48
  494. package/esm/modules/datagrouping.js +2 -2
  495. package/esm/modules/datagrouping.src.js +52 -48
  496. package/esm/modules/debugger.js +2 -2
  497. package/esm/modules/debugger.src.js +17 -38
  498. package/esm/modules/dependency-wheel.js +2 -2
  499. package/esm/modules/dependency-wheel.src.js +17 -38
  500. package/esm/modules/dotplot.js +2 -2
  501. package/esm/modules/dotplot.src.js +17 -38
  502. package/esm/modules/drag-panes.js +2 -2
  503. package/esm/modules/drag-panes.src.js +22 -46
  504. package/esm/modules/draggable-points.js +2 -2
  505. package/esm/modules/draggable-points.src.js +17 -38
  506. package/esm/modules/drilldown.js +2 -2
  507. package/esm/modules/drilldown.src.js +40 -54
  508. package/esm/modules/dumbbell.js +2 -2
  509. package/esm/modules/dumbbell.src.js +18 -39
  510. package/esm/modules/export-data.js +2 -2
  511. package/esm/modules/export-data.src.js +42 -43
  512. package/esm/modules/exporting.js +2 -2
  513. package/esm/modules/exporting.src.js +26 -47
  514. package/esm/modules/flowmap.js +2 -2
  515. package/esm/modules/flowmap.src.js +17 -38
  516. package/esm/modules/full-screen.js +2 -2
  517. package/esm/modules/full-screen.src.js +17 -38
  518. package/esm/modules/funnel.js +2 -2
  519. package/esm/modules/funnel.src.js +21 -42
  520. package/esm/modules/funnel3d.js +2 -2
  521. package/esm/modules/funnel3d.src.js +18 -39
  522. package/esm/modules/gantt.js +2 -2
  523. package/esm/modules/gantt.src.js +84 -104
  524. package/esm/modules/geoheatmap.js +2 -2
  525. package/esm/modules/geoheatmap.src.js +18 -39
  526. package/esm/modules/grid-axis.js +2 -2
  527. package/esm/modules/grid-axis.src.js +34 -51
  528. package/esm/modules/heatmap.js +2 -2
  529. package/esm/modules/heatmap.src.js +20 -41
  530. package/esm/modules/heikinashi.js +2 -2
  531. package/esm/modules/heikinashi.src.js +18 -39
  532. package/esm/modules/histogram-bellcurve.js +2 -2
  533. package/esm/modules/histogram-bellcurve.src.js +19 -40
  534. package/esm/modules/hollowcandlestick.js +2 -2
  535. package/esm/modules/hollowcandlestick.src.js +18 -39
  536. package/esm/modules/item-series.js +2 -2
  537. package/esm/modules/item-series.src.js +19 -40
  538. package/esm/modules/lollipop.js +2 -2
  539. package/esm/modules/lollipop.src.js +18 -39
  540. package/esm/modules/map.js +2 -2
  541. package/esm/modules/map.src.js +64 -63
  542. package/esm/modules/marker-clusters.js +2 -2
  543. package/esm/modules/marker-clusters.src.js +49 -46
  544. package/esm/modules/mouse-wheel-zoom.js +2 -2
  545. package/esm/modules/mouse-wheel-zoom.src.js +17 -38
  546. package/esm/modules/navigator.js +2 -2
  547. package/esm/modules/navigator.src.js +72 -67
  548. package/esm/modules/networkgraph.js +2 -2
  549. package/esm/modules/networkgraph.src.js +24 -45
  550. package/esm/modules/no-data-to-display.js +2 -2
  551. package/esm/modules/no-data-to-display.src.js +17 -38
  552. package/esm/modules/non-cartesian-zoom.js +2 -2
  553. package/esm/modules/non-cartesian-zoom.src.js +17 -38
  554. package/esm/modules/offline-exporting.js +2 -2
  555. package/esm/modules/offline-exporting.src.js +19 -40
  556. package/esm/modules/organization.js +2 -2
  557. package/esm/modules/organization.src.js +20 -39
  558. package/esm/modules/parallel-coordinates.js +2 -2
  559. package/esm/modules/parallel-coordinates.src.js +24 -44
  560. package/esm/modules/pareto.js +2 -2
  561. package/esm/modules/pareto.src.js +21 -42
  562. package/esm/modules/pathfinder.js +2 -2
  563. package/esm/modules/pathfinder.src.js +20 -39
  564. package/esm/modules/pattern-fill.js +2 -2
  565. package/esm/modules/pattern-fill.src.js +17 -38
  566. package/esm/modules/pictorial.js +2 -2
  567. package/esm/modules/pictorial.src.js +71 -65
  568. package/esm/modules/pointandfigure.js +2 -2
  569. package/esm/modules/pointandfigure.src.js +47 -44
  570. package/esm/modules/price-indicator.js +2 -2
  571. package/esm/modules/price-indicator.src.js +17 -38
  572. package/esm/modules/pyramid3d.js +2 -2
  573. package/esm/modules/pyramid3d.src.js +18 -39
  574. package/esm/modules/renko.js +2 -2
  575. package/esm/modules/renko.src.js +18 -40
  576. package/esm/modules/sankey.js +2 -2
  577. package/esm/modules/sankey.src.js +24 -46
  578. package/esm/modules/series-label.js +2 -2
  579. package/esm/modules/series-label.src.js +17 -38
  580. package/esm/modules/series-on-point.js +2 -2
  581. package/esm/modules/series-on-point.src.js +47 -44
  582. package/esm/modules/solid-gauge.js +2 -2
  583. package/esm/modules/solid-gauge.src.js +18 -39
  584. package/esm/modules/sonification.js +2 -2
  585. package/esm/modules/sonification.src.js +18 -39
  586. package/esm/modules/static-scale.js +2 -2
  587. package/esm/modules/static-scale.src.js +30 -49
  588. package/esm/modules/stock-tools.js +2 -2
  589. package/esm/modules/stock-tools.src.js +29 -50
  590. package/esm/modules/stock.js +2 -2
  591. package/esm/modules/stock.src.js +117 -141
  592. package/esm/modules/streamgraph.js +2 -2
  593. package/esm/modules/streamgraph.src.js +18 -39
  594. package/esm/modules/sunburst.js +2 -2
  595. package/esm/modules/sunburst.src.js +38 -57
  596. package/esm/modules/textpath.js +2 -2
  597. package/esm/modules/textpath.src.js +17 -38
  598. package/esm/modules/tiledwebmap.js +3 -3
  599. package/esm/modules/tiledwebmap.src.js +19 -40
  600. package/esm/modules/tilemap.js +2 -2
  601. package/esm/modules/tilemap.src.js +22 -40
  602. package/esm/modules/timeline.js +2 -2
  603. package/esm/modules/timeline.src.js +19 -40
  604. package/esm/modules/treegraph.js +2 -2
  605. package/esm/modules/treegraph.src.js +23 -42
  606. package/esm/modules/treegrid.js +2 -2
  607. package/esm/modules/treegrid.src.js +47 -67
  608. package/esm/modules/treemap.js +2 -2
  609. package/esm/modules/treemap.src.js +34 -53
  610. package/esm/modules/variable-pie.js +2 -2
  611. package/esm/modules/variable-pie.src.js +19 -40
  612. package/esm/modules/variwide.js +2 -2
  613. package/esm/modules/variwide.src.js +28 -46
  614. package/esm/modules/vector.js +2 -2
  615. package/esm/modules/vector.src.js +18 -39
  616. package/esm/modules/venn.js +2 -2
  617. package/esm/modules/venn.src.js +18 -39
  618. package/esm/modules/windbarb.js +2 -2
  619. package/esm/modules/windbarb.src.js +18 -39
  620. package/esm/modules/wordcloud.js +2 -2
  621. package/esm/modules/wordcloud.src.js +18 -39
  622. package/esm/modules/xrange.js +2 -2
  623. package/esm/modules/xrange.src.js +18 -39
  624. package/esm/standalone-navigator.js +4 -4
  625. package/esm/standalone-navigator.src.js +877 -777
  626. package/esm/themes/adaptive.js +2 -2
  627. package/esm/themes/adaptive.src.js +17 -38
  628. package/esm/themes/avocado.js +2 -2
  629. package/esm/themes/avocado.src.js +17 -38
  630. package/esm/themes/dark-unica.js +2 -2
  631. package/esm/themes/dark-unica.src.js +17 -38
  632. package/esm/themes/grid-light.js +2 -2
  633. package/esm/themes/grid-light.src.js +17 -38
  634. package/esm/themes/high-contrast.js +2 -2
  635. package/esm/themes/high-contrast.src.js +17 -38
  636. package/esm/themes/sand-signika.js +2 -2
  637. package/esm/themes/sand-signika.src.js +17 -38
  638. package/esm/themes/sunset.js +2 -2
  639. package/esm/themes/sunset.src.js +17 -38
  640. package/highcharts-3d.js +2 -2
  641. package/highcharts-3d.src.js +43 -66
  642. package/highcharts-autoload.d.ts +0 -1
  643. package/highcharts-autoload.js +4 -4
  644. package/highcharts-autoload.src.d.ts +0 -1
  645. package/highcharts-autoload.src.js +834 -779
  646. package/highcharts-gantt.js +4 -4
  647. package/highcharts-gantt.src.js +896 -840
  648. package/highcharts-more.d.ts +10 -0
  649. package/highcharts-more.js +2 -2
  650. package/highcharts-more.src.d.ts +10 -0
  651. package/highcharts-more.src.js +147 -125
  652. package/highcharts.d.ts +2785 -80144
  653. package/highcharts.js +4 -4
  654. package/highcharts.src.d.ts +2785 -80144
  655. package/highcharts.src.js +833 -778
  656. package/highmaps.js +4 -4
  657. package/highmaps.src.js +916 -846
  658. package/highstock.js +4 -4
  659. package/highstock.src.js +904 -875
  660. package/i18n/fr-FR.js +2 -2
  661. package/i18n/fr-FR.src.js +26 -37
  662. package/i18n/nb-NO.js +2 -2
  663. package/i18n/nb-NO.src.js +26 -37
  664. package/i18n/zh-CN.js +2 -2
  665. package/i18n/zh-CN.src.js +26 -37
  666. package/indicators/acceleration-bands.js +2 -2
  667. package/indicators/acceleration-bands.src.js +23 -44
  668. package/indicators/accumulation-distribution.js +2 -2
  669. package/indicators/accumulation-distribution.src.js +22 -44
  670. package/indicators/ao.js +2 -2
  671. package/indicators/ao.src.js +23 -44
  672. package/indicators/apo.js +2 -2
  673. package/indicators/apo.src.js +23 -44
  674. package/indicators/aroon-oscillator.js +2 -2
  675. package/indicators/aroon-oscillator.src.js +24 -45
  676. package/indicators/aroon.js +2 -2
  677. package/indicators/aroon.src.js +23 -44
  678. package/indicators/atr.js +2 -2
  679. package/indicators/atr.src.js +22 -44
  680. package/indicators/bollinger-bands.js +2 -2
  681. package/indicators/bollinger-bands.src.js +22 -44
  682. package/indicators/cci.js +2 -2
  683. package/indicators/cci.src.js +22 -44
  684. package/indicators/chaikin.js +2 -2
  685. package/indicators/chaikin.src.js +23 -45
  686. package/indicators/cmf.js +2 -2
  687. package/indicators/cmf.src.js +22 -44
  688. package/indicators/cmo.js +2 -2
  689. package/indicators/cmo.src.js +22 -44
  690. package/indicators/dema.js +2 -2
  691. package/indicators/dema.src.js +23 -44
  692. package/indicators/disparity-index.js +2 -2
  693. package/indicators/disparity-index.src.js +25 -46
  694. package/indicators/dmi.js +2 -2
  695. package/indicators/dmi.src.js +25 -46
  696. package/indicators/dpo.js +2 -2
  697. package/indicators/dpo.src.js +23 -44
  698. package/indicators/ichimoku-kinko-hyo.js +2 -2
  699. package/indicators/ichimoku-kinko-hyo.src.js +23 -45
  700. package/indicators/indicators-all.js +2 -2
  701. package/indicators/indicators-all.src.js +81 -104
  702. package/indicators/indicators.js +2 -2
  703. package/indicators/indicators.src.js +53 -51
  704. package/indicators/keltner-channels.js +2 -2
  705. package/indicators/keltner-channels.src.js +23 -44
  706. package/indicators/klinger.js +2 -2
  707. package/indicators/klinger.src.js +22 -43
  708. package/indicators/macd.js +2 -2
  709. package/indicators/macd.src.js +22 -44
  710. package/indicators/mfi.js +2 -2
  711. package/indicators/mfi.src.js +22 -44
  712. package/indicators/momentum.js +2 -2
  713. package/indicators/momentum.src.js +22 -44
  714. package/indicators/natr.js +2 -2
  715. package/indicators/natr.src.js +22 -44
  716. package/indicators/obv.js +2 -2
  717. package/indicators/obv.src.js +22 -44
  718. package/indicators/pivot-points.js +2 -2
  719. package/indicators/pivot-points.src.js +22 -44
  720. package/indicators/ppo.js +2 -2
  721. package/indicators/ppo.src.js +23 -44
  722. package/indicators/price-channel.js +2 -2
  723. package/indicators/price-channel.src.js +23 -44
  724. package/indicators/price-envelopes.js +2 -2
  725. package/indicators/price-envelopes.src.js +22 -44
  726. package/indicators/psar.js +2 -2
  727. package/indicators/psar.src.js +22 -44
  728. package/indicators/regressions.js +2 -2
  729. package/indicators/regressions.src.js +22 -47
  730. package/indicators/roc.js +2 -2
  731. package/indicators/roc.src.js +22 -44
  732. package/indicators/rsi.js +2 -2
  733. package/indicators/rsi.src.js +22 -44
  734. package/indicators/slow-stochastic.js +2 -2
  735. package/indicators/slow-stochastic.src.js +22 -43
  736. package/indicators/stochastic.js +2 -2
  737. package/indicators/stochastic.src.js +25 -46
  738. package/indicators/supertrend.js +2 -2
  739. package/indicators/supertrend.src.js +24 -45
  740. package/indicators/tema.js +2 -2
  741. package/indicators/tema.src.js +23 -44
  742. package/indicators/trendline.js +2 -2
  743. package/indicators/trendline.src.js +22 -44
  744. package/indicators/trix.js +2 -2
  745. package/indicators/trix.src.js +23 -44
  746. package/indicators/volume-by-price.js +2 -2
  747. package/indicators/volume-by-price.src.js +23 -44
  748. package/indicators/vwap.js +2 -2
  749. package/indicators/vwap.src.js +22 -44
  750. package/indicators/williams-r.js +2 -2
  751. package/indicators/williams-r.src.js +23 -44
  752. package/indicators/wma.js +2 -2
  753. package/indicators/wma.src.js +22 -44
  754. package/indicators/zigzag.js +2 -2
  755. package/indicators/zigzag.src.js +22 -44
  756. package/modules/accessibility.js +2 -2
  757. package/modules/accessibility.src.js +95 -81
  758. package/modules/annotations-advanced.js +9 -9
  759. package/modules/annotations-advanced.src.js +41 -63
  760. package/modules/annotations.js +3 -3
  761. package/modules/annotations.src.js +41 -63
  762. package/modules/arc-diagram.js +2 -2
  763. package/modules/arc-diagram.src.js +23 -44
  764. package/modules/arrow-symbols.js +2 -2
  765. package/modules/arrow-symbols.src.js +17 -38
  766. package/modules/boost-canvas.js +2 -2
  767. package/modules/boost-canvas.src.js +62 -68
  768. package/modules/boost.js +2 -2
  769. package/modules/boost.src.js +61 -67
  770. package/modules/broken-axis.js +2 -2
  771. package/modules/broken-axis.src.js +26 -46
  772. package/modules/bullet.js +2 -2
  773. package/modules/bullet.src.js +23 -44
  774. package/modules/coloraxis.js +2 -2
  775. package/modules/coloraxis.src.js +97 -101
  776. package/modules/contour.js +5 -5
  777. package/modules/contour.src.js +111 -117
  778. package/modules/current-date-indicator.js +2 -2
  779. package/modules/current-date-indicator.src.js +17 -38
  780. package/modules/cylinder.js +2 -2
  781. package/modules/cylinder.src.js +23 -44
  782. package/modules/data-sorting.js +2 -2
  783. package/modules/data-sorting.src.js +18 -39
  784. package/modules/data-tools.js +2 -2
  785. package/modules/data-tools.src.js +110 -67
  786. package/modules/data.js +4 -4
  787. package/modules/data.src.js +58 -53
  788. package/modules/datagrouping.js +2 -2
  789. package/modules/datagrouping.src.js +57 -53
  790. package/modules/debugger.js +2 -2
  791. package/modules/debugger.src.js +17 -38
  792. package/modules/dependency-wheel.js +2 -2
  793. package/modules/dependency-wheel.src.js +22 -43
  794. package/modules/dotplot.js +2 -2
  795. package/modules/dotplot.src.js +22 -43
  796. package/modules/drag-panes.js +2 -2
  797. package/modules/drag-panes.src.js +22 -46
  798. package/modules/draggable-points.js +2 -2
  799. package/modules/draggable-points.src.js +17 -38
  800. package/modules/drilldown.js +2 -2
  801. package/modules/drilldown.src.js +45 -59
  802. package/modules/dumbbell.js +2 -2
  803. package/modules/dumbbell.src.js +23 -44
  804. package/modules/export-data.js +2 -2
  805. package/modules/export-data.src.js +47 -48
  806. package/modules/exporting.js +2 -2
  807. package/modules/exporting.src.js +31 -52
  808. package/modules/flowmap.js +2 -2
  809. package/modules/flowmap.src.js +22 -43
  810. package/modules/full-screen.js +2 -2
  811. package/modules/full-screen.src.js +22 -43
  812. package/modules/funnel.js +2 -2
  813. package/modules/funnel.src.js +26 -47
  814. package/modules/funnel3d.js +2 -2
  815. package/modules/funnel3d.src.js +23 -44
  816. package/modules/gantt.js +8 -8
  817. package/modules/gantt.src.js +93 -113
  818. package/modules/geoheatmap.js +2 -2
  819. package/modules/geoheatmap.src.js +23 -44
  820. package/modules/grid-axis.js +2 -2
  821. package/modules/grid-axis.src.js +39 -56
  822. package/modules/heatmap.js +4 -4
  823. package/modules/heatmap.src.js +101 -105
  824. package/modules/heikinashi.js +2 -2
  825. package/modules/heikinashi.src.js +23 -44
  826. package/modules/histogram-bellcurve.js +2 -2
  827. package/modules/histogram-bellcurve.src.js +24 -45
  828. package/modules/hollowcandlestick.js +2 -2
  829. package/modules/hollowcandlestick.src.js +23 -44
  830. package/modules/item-series.js +2 -2
  831. package/modules/item-series.src.js +24 -45
  832. package/modules/lollipop.js +2 -2
  833. package/modules/lollipop.src.js +23 -44
  834. package/modules/map.js +4 -4
  835. package/modules/map.src.js +146 -128
  836. package/modules/marker-clusters.js +2 -2
  837. package/modules/marker-clusters.src.js +49 -46
  838. package/modules/mouse-wheel-zoom.js +2 -2
  839. package/modules/mouse-wheel-zoom.src.js +17 -38
  840. package/modules/navigator.js +2 -2
  841. package/modules/navigator.src.js +77 -72
  842. package/modules/networkgraph.js +2 -2
  843. package/modules/networkgraph.src.js +29 -50
  844. package/modules/no-data-to-display.js +2 -2
  845. package/modules/no-data-to-display.src.js +22 -43
  846. package/modules/non-cartesian-zoom.js +2 -2
  847. package/modules/non-cartesian-zoom.src.js +17 -38
  848. package/modules/offline-exporting.js +2 -2
  849. package/modules/offline-exporting.src.js +24 -45
  850. package/modules/organization.js +3 -3
  851. package/modules/organization.src.js +25 -44
  852. package/modules/parallel-coordinates.js +2 -2
  853. package/modules/parallel-coordinates.src.js +29 -49
  854. package/modules/pareto.js +2 -2
  855. package/modules/pareto.src.js +26 -47
  856. package/modules/pathfinder.js +2 -2
  857. package/modules/pathfinder.src.js +25 -44
  858. package/modules/pattern-fill.js +2 -2
  859. package/modules/pattern-fill.src.js +17 -38
  860. package/modules/pictorial.js +2 -2
  861. package/modules/pictorial.src.js +76 -70
  862. package/modules/pointandfigure.js +2 -2
  863. package/modules/pointandfigure.src.js +52 -49
  864. package/modules/price-indicator.js +2 -2
  865. package/modules/price-indicator.src.js +17 -38
  866. package/modules/pyramid3d.js +2 -2
  867. package/modules/pyramid3d.src.js +23 -44
  868. package/modules/renko.js +2 -2
  869. package/modules/renko.src.js +23 -45
  870. package/modules/sankey.js +2 -2
  871. package/modules/sankey.src.js +29 -51
  872. package/modules/series-label.js +2 -2
  873. package/modules/series-label.src.js +22 -43
  874. package/modules/series-on-point.js +2 -2
  875. package/modules/series-on-point.src.js +52 -49
  876. package/modules/solid-gauge.js +2 -2
  877. package/modules/solid-gauge.src.js +23 -44
  878. package/modules/sonification.js +2 -2
  879. package/modules/sonification.src.js +23 -44
  880. package/modules/static-scale.js +2 -2
  881. package/modules/static-scale.src.js +30 -49
  882. package/modules/stock-tools.js +2 -2
  883. package/modules/stock-tools.src.js +34 -55
  884. package/modules/stock.js +6 -6
  885. package/modules/stock.src.js +132 -154
  886. package/modules/streamgraph.js +2 -2
  887. package/modules/streamgraph.src.js +23 -44
  888. package/modules/sunburst.js +2 -2
  889. package/modules/sunburst.src.js +43 -62
  890. package/modules/textpath.js +2 -2
  891. package/modules/textpath.src.js +17 -38
  892. package/modules/tiledwebmap.js +3 -3
  893. package/modules/tiledwebmap.src.js +24 -45
  894. package/modules/tilemap.js +2 -2
  895. package/modules/tilemap.src.js +27 -45
  896. package/modules/timeline.js +2 -2
  897. package/modules/timeline.src.js +24 -45
  898. package/modules/treegraph.js +2 -2
  899. package/modules/treegraph.src.js +28 -47
  900. package/modules/treegrid.js +2 -2
  901. package/modules/treegrid.src.js +52 -72
  902. package/modules/treemap.js +2 -2
  903. package/modules/treemap.src.js +39 -58
  904. package/modules/variable-pie.js +2 -2
  905. package/modules/variable-pie.src.js +24 -45
  906. package/modules/variwide.js +2 -2
  907. package/modules/variwide.src.js +33 -51
  908. package/modules/vector.js +2 -2
  909. package/modules/vector.src.js +23 -44
  910. package/modules/venn.js +2 -2
  911. package/modules/venn.src.js +23 -44
  912. package/modules/windbarb.js +2 -2
  913. package/modules/windbarb.src.js +23 -44
  914. package/modules/wordcloud.js +2 -2
  915. package/modules/wordcloud.src.js +23 -44
  916. package/modules/xrange.js +2 -2
  917. package/modules/xrange.src.js +23 -44
  918. package/options/abands.d.ts +183 -8
  919. package/options/abands.src.d.ts +183 -8
  920. package/options/ad.d.ts +176 -5
  921. package/options/ad.src.d.ts +176 -5
  922. package/options/ao.d.ts +202 -0
  923. package/options/ao.src.d.ts +202 -0
  924. package/options/apo.d.ts +178 -8
  925. package/options/apo.src.d.ts +178 -8
  926. package/options/arcdiagram.d.ts +785 -0
  927. package/options/arcdiagram.src.d.ts +785 -0
  928. package/options/area.d.ts +226 -0
  929. package/options/area.src.d.ts +226 -0
  930. package/options/arearange.d.ts +229 -8
  931. package/options/arearange.src.d.ts +229 -8
  932. package/options/areaspline.d.ts +1344 -8
  933. package/options/areaspline.src.d.ts +1344 -8
  934. package/options/areasplinerange.d.ts +972 -8
  935. package/options/areasplinerange.src.d.ts +972 -8
  936. package/options/aroon.d.ts +219 -0
  937. package/options/aroon.src.d.ts +219 -0
  938. package/options/aroonoscillator.d.ts +1140 -8
  939. package/options/aroonoscillator.src.d.ts +1140 -8
  940. package/options/atr.d.ts +210 -0
  941. package/options/atr.src.d.ts +210 -0
  942. package/options/bar.d.ts +183 -10
  943. package/options/bar.src.d.ts +183 -10
  944. package/options/bb.d.ts +1232 -0
  945. package/options/bb.src.d.ts +1232 -0
  946. package/options/bellcurve.d.ts +1167 -8
  947. package/options/bellcurve.src.d.ts +1167 -8
  948. package/options/boxplot.d.ts +163 -10
  949. package/options/boxplot.src.d.ts +163 -10
  950. package/options/bubble.d.ts +1005 -8
  951. package/options/bubble.src.d.ts +1005 -8
  952. package/options/bullet.d.ts +953 -8
  953. package/options/bullet.src.d.ts +953 -8
  954. package/options/candlestick.d.ts +1309 -8
  955. package/options/candlestick.src.d.ts +1309 -8
  956. package/options/cci.d.ts +210 -0
  957. package/options/cci.src.d.ts +210 -0
  958. package/options/chaikin.d.ts +180 -8
  959. package/options/chaikin.src.d.ts +180 -8
  960. package/options/cmf.d.ts +211 -0
  961. package/options/cmf.src.d.ts +211 -0
  962. package/options/cmo.d.ts +175 -5
  963. package/options/cmo.src.d.ts +175 -5
  964. package/options/column.d.ts +252 -2
  965. package/options/column.src.d.ts +252 -2
  966. package/options/columnpyramid.d.ts +1296 -0
  967. package/options/columnpyramid.src.d.ts +1296 -0
  968. package/options/columnrange.d.ts +216 -2
  969. package/options/columnrange.src.d.ts +216 -2
  970. package/options/contour.d.ts +1148 -0
  971. package/options/contour.src.d.ts +1148 -0
  972. package/options/cylinder.d.ts +183 -2
  973. package/options/cylinder.src.d.ts +183 -2
  974. package/options/dema.d.ts +1181 -0
  975. package/options/dema.src.d.ts +1181 -0
  976. package/options/dependencywheel.d.ts +315 -0
  977. package/options/dependencywheel.src.d.ts +315 -0
  978. package/options/disparityindex.d.ts +1157 -8
  979. package/options/disparityindex.src.d.ts +1157 -8
  980. package/options/dmi.d.ts +1227 -0
  981. package/options/dmi.src.d.ts +1227 -0
  982. package/options/dpo.d.ts +1140 -8
  983. package/options/dpo.src.d.ts +1140 -8
  984. package/options/dumbbell.d.ts +286 -0
  985. package/options/dumbbell.src.d.ts +286 -0
  986. package/options/ema.d.ts +1156 -5
  987. package/options/ema.src.d.ts +1156 -5
  988. package/options/errorbar.d.ts +1286 -0
  989. package/options/errorbar.src.d.ts +1286 -0
  990. package/options/flags.d.ts +1269 -8
  991. package/options/flags.src.d.ts +1269 -8
  992. package/options/flowmap.d.ts +551 -0
  993. package/options/flowmap.src.d.ts +551 -0
  994. package/options/funnel.d.ts +728 -10
  995. package/options/funnel.src.d.ts +728 -10
  996. package/options/gantt.d.ts +1011 -0
  997. package/options/gantt.src.d.ts +1011 -0
  998. package/options/gauge.d.ts +675 -0
  999. package/options/gauge.src.d.ts +675 -0
  1000. package/options/geoheatmap.d.ts +585 -8
  1001. package/options/geoheatmap.src.d.ts +585 -8
  1002. package/options/heatmap.d.ts +1054 -8
  1003. package/options/heatmap.src.d.ts +1054 -8
  1004. package/options/heikinashi.d.ts +178 -10
  1005. package/options/heikinashi.src.d.ts +178 -10
  1006. package/options/histogram.d.ts +1226 -0
  1007. package/options/histogram.src.d.ts +1226 -0
  1008. package/options/hlc.d.ts +223 -2
  1009. package/options/hlc.src.d.ts +223 -2
  1010. package/options/hollowcandlestick.d.ts +1335 -0
  1011. package/options/hollowcandlestick.src.d.ts +1335 -0
  1012. package/options/ikh.d.ts +228 -5
  1013. package/options/ikh.src.d.ts +228 -5
  1014. package/options/item.d.ts +217 -8
  1015. package/options/item.src.d.ts +217 -8
  1016. package/options/keltnerchannels.d.ts +1220 -0
  1017. package/options/keltnerchannels.src.d.ts +1220 -0
  1018. package/options/klinger.d.ts +1162 -0
  1019. package/options/klinger.src.d.ts +1162 -0
  1020. package/options/line.d.ts +1377 -8
  1021. package/options/line.src.d.ts +1377 -8
  1022. package/options/linearregression.d.ts +199 -5
  1023. package/options/linearregression.src.d.ts +199 -5
  1024. package/options/linearregressionangle.d.ts +1157 -5
  1025. package/options/linearregressionangle.src.d.ts +1157 -5
  1026. package/options/linearregressionintercept.d.ts +240 -0
  1027. package/options/linearregressionintercept.src.d.ts +240 -0
  1028. package/options/linearregressionslope.d.ts +240 -0
  1029. package/options/linearregressionslope.src.d.ts +240 -0
  1030. package/options/lollipop.d.ts +949 -0
  1031. package/options/lollipop.src.d.ts +949 -0
  1032. package/options/macd.d.ts +254 -0
  1033. package/options/macd.src.d.ts +254 -0
  1034. package/options/map.d.ts +150 -8
  1035. package/options/map.src.d.ts +150 -8
  1036. package/options/mapbubble.d.ts +1016 -8
  1037. package/options/mapbubble.src.d.ts +1016 -8
  1038. package/options/mapline.d.ts +994 -0
  1039. package/options/mapline.src.d.ts +994 -0
  1040. package/options/mappoint.d.ts +1105 -1
  1041. package/options/mappoint.src.d.ts +1105 -1
  1042. package/options/mfi.d.ts +181 -5
  1043. package/options/mfi.src.d.ts +181 -5
  1044. package/options/momentum.d.ts +215 -0
  1045. package/options/momentum.src.d.ts +215 -0
  1046. package/options/natr.d.ts +170 -5
  1047. package/options/natr.src.d.ts +170 -5
  1048. package/options/networkgraph.d.ts +365 -0
  1049. package/options/networkgraph.src.d.ts +365 -0
  1050. package/options/obv.d.ts +170 -5
  1051. package/options/obv.src.d.ts +170 -5
  1052. package/options/ohlc.d.ts +183 -7
  1053. package/options/ohlc.src.d.ts +183 -7
  1054. package/options/organization.d.ts +808 -0
  1055. package/options/organization.src.d.ts +808 -0
  1056. package/options/packedbubble.d.ts +877 -8
  1057. package/options/packedbubble.src.d.ts +877 -8
  1058. package/options/pareto.d.ts +1028 -0
  1059. package/options/pareto.src.d.ts +1028 -0
  1060. package/options/pc.d.ts +183 -8
  1061. package/options/pc.src.d.ts +183 -8
  1062. package/options/pictorial.d.ts +202 -2
  1063. package/options/pictorial.src.d.ts +202 -2
  1064. package/options/pie.d.ts +196 -8
  1065. package/options/pie.src.d.ts +196 -8
  1066. package/options/pivotpoints.d.ts +1199 -0
  1067. package/options/pivotpoints.src.d.ts +1199 -0
  1068. package/options/pointandfigure.d.ts +980 -0
  1069. package/options/pointandfigure.src.d.ts +980 -0
  1070. package/options/polygon.d.ts +234 -0
  1071. package/options/polygon.src.d.ts +234 -0
  1072. package/options/ppo.d.ts +1156 -8
  1073. package/options/ppo.src.d.ts +1156 -8
  1074. package/options/priceenvelopes.d.ts +1229 -0
  1075. package/options/priceenvelopes.src.d.ts +1229 -0
  1076. package/options/psar.d.ts +1156 -5
  1077. package/options/psar.src.d.ts +1156 -5
  1078. package/options/pyramid.d.ts +837 -2
  1079. package/options/pyramid.src.d.ts +837 -2
  1080. package/options/renko.d.ts +247 -10
  1081. package/options/renko.src.d.ts +247 -10
  1082. package/options/roc.d.ts +1215 -0
  1083. package/options/roc.src.d.ts +1215 -0
  1084. package/options/rsi.d.ts +1157 -5
  1085. package/options/rsi.src.d.ts +1157 -5
  1086. package/options/sankey.d.ts +276 -8
  1087. package/options/sankey.src.d.ts +276 -8
  1088. package/options/scatter.d.ts +3043 -1018
  1089. package/options/scatter.src.d.ts +3043 -1018
  1090. package/options/series.d.ts +175 -0
  1091. package/options/series.src.d.ts +175 -0
  1092. package/options/slowstochastic.d.ts +183 -0
  1093. package/options/slowstochastic.src.d.ts +183 -0
  1094. package/options/sma.d.ts +211 -0
  1095. package/options/sma.src.d.ts +211 -0
  1096. package/options/solidgauge.d.ts +218 -0
  1097. package/options/solidgauge.src.d.ts +218 -0
  1098. package/options/spline.d.ts +230 -0
  1099. package/options/spline.src.d.ts +230 -0
  1100. package/options/stochastic.d.ts +1170 -8
  1101. package/options/stochastic.src.d.ts +1170 -8
  1102. package/options/streamgraph.d.ts +1345 -8
  1103. package/options/streamgraph.src.d.ts +1345 -8
  1104. package/options/sunburst.d.ts +286 -9
  1105. package/options/sunburst.src.d.ts +286 -9
  1106. package/options/supertrend.d.ts +1208 -0
  1107. package/options/supertrend.src.d.ts +1208 -0
  1108. package/options/tema.d.ts +1140 -8
  1109. package/options/tema.src.d.ts +1140 -8
  1110. package/options/tiledwebmap.d.ts +164 -0
  1111. package/options/tiledwebmap.src.d.ts +164 -0
  1112. package/options/tilemap.d.ts +687 -0
  1113. package/options/tilemap.src.d.ts +687 -0
  1114. package/options/timeline.d.ts +282 -0
  1115. package/options/timeline.src.d.ts +282 -0
  1116. package/options/treegraph.d.ts +982 -0
  1117. package/options/treegraph.src.d.ts +982 -0
  1118. package/options/treemap.d.ts +1396 -22
  1119. package/options/treemap.src.d.ts +1396 -22
  1120. package/options/trendline.d.ts +211 -0
  1121. package/options/trendline.src.d.ts +211 -0
  1122. package/options/trix.d.ts +178 -8
  1123. package/options/trix.src.d.ts +178 -8
  1124. package/options/variablepie.d.ts +686 -8
  1125. package/options/variablepie.src.d.ts +686 -8
  1126. package/options/variwide.d.ts +178 -2
  1127. package/options/variwide.src.d.ts +178 -2
  1128. package/options/vbp.d.ts +576 -0
  1129. package/options/vbp.src.d.ts +576 -0
  1130. package/options/vector.d.ts +660 -0
  1131. package/options/vector.src.d.ts +660 -0
  1132. package/options/venn.d.ts +654 -0
  1133. package/options/venn.src.d.ts +654 -0
  1134. package/options/vwap.d.ts +1157 -5
  1135. package/options/vwap.src.d.ts +1157 -5
  1136. package/options/waterfall.d.ts +1254 -8
  1137. package/options/waterfall.src.d.ts +1254 -8
  1138. package/options/williamsr.d.ts +209 -0
  1139. package/options/williamsr.src.d.ts +209 -0
  1140. package/options/windbarb.d.ts +222 -2
  1141. package/options/windbarb.src.d.ts +222 -2
  1142. package/options/wma.d.ts +1156 -5
  1143. package/options/wma.src.d.ts +1156 -5
  1144. package/options/wordcloud.d.ts +682 -0
  1145. package/options/wordcloud.src.d.ts +682 -0
  1146. package/options/xrange.d.ts +1168 -0
  1147. package/options/xrange.src.d.ts +1168 -0
  1148. package/options/zigzag.d.ts +1197 -0
  1149. package/options/zigzag.src.d.ts +1197 -0
  1150. package/package.json +1 -1
  1151. package/standalone-navigator.js +4 -4
  1152. package/standalone-navigator.src.js +885 -804
  1153. package/themes/adaptive.js +2 -2
  1154. package/themes/adaptive.src.js +22 -43
  1155. package/themes/avocado.js +2 -2
  1156. package/themes/avocado.src.js +17 -38
  1157. package/themes/dark-unica.js +2 -2
  1158. package/themes/dark-unica.src.js +17 -38
  1159. package/themes/grid-light.js +2 -2
  1160. package/themes/grid-light.src.js +17 -38
  1161. package/themes/high-contrast.js +2 -2
  1162. package/themes/high-contrast.src.js +17 -38
  1163. package/themes/sand-signika.js +2 -2
  1164. package/themes/sand-signika.src.js +17 -38
  1165. package/themes/sunset.js +2 -2
  1166. package/themes/sunset.src.js +17 -38
@@ -1,6 +1,6 @@
1
1
  // SPDX-License-Identifier: LicenseRef-Highcharts
2
2
  /**
3
- * @license Highcharts JS v13.0.2 (2026-08-27)
3
+ * @license Highcharts JS v13.1.1 (2026-09-20)
4
4
  * @module highcharts/modules/streamgraph
5
5
  * @requires highcharts
6
6
  *
@@ -18,48 +18,27 @@ import * as __WEBPACK_EXTERNAL_MODULE__highcharts_src_js_8202131d__ from "../hig
18
18
  /******/
19
19
  /************************************************************************/
20
20
  /******/ /* webpack/runtime/compat get default export */
21
- /******/ (() => {
22
- /******/ // getDefaultExport function for compatibility with non-harmony modules
23
- /******/ __webpack_require__.n = (module) => {
24
- /******/ const getter = module && module.__esModule ?
25
- /******/ () => (module['default']) :
26
- /******/ () => (module);
27
- /******/ __webpack_require__.d(getter, { a: getter });
28
- /******/ return getter;
29
- /******/ };
30
- /******/ })();
21
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
22
+ /******/ __webpack_require__.n = (module) => {
23
+ /******/ const getter = module && module.__esModule ?
24
+ /******/ () => (module['default']) :
25
+ /******/ () => (module);
26
+ /******/ __webpack_require__.d(getter, { a: getter });
27
+ /******/ return getter;
28
+ /******/ };
31
29
  /******/
32
30
  /******/ /* webpack/runtime/define property getters */
33
- /******/ (() => {
34
- /******/ // define getter/value functions for harmony exports
35
- /******/ __webpack_require__.d = (exports, definition) => {
36
- /******/ if(Array.isArray(definition)) {
37
- /******/ var i = 0;
38
- /******/ while(i < definition.length) {
39
- /******/ var key = definition[i++];
40
- /******/ var binding = definition[i++];
41
- /******/ if(!__webpack_require__.o(exports, key)) {
42
- /******/ if(binding === 0) {
43
- /******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
44
- /******/ } else {
45
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
46
- /******/ }
47
- /******/ } else if(binding === 0) { i++; }
48
- /******/ }
49
- /******/ } else {
50
- /******/ for(var key in definition) {
51
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
52
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
53
- /******/ }
54
- /******/ }
31
+ /******/ // define getter/value functions for harmony exports
32
+ /******/ __webpack_require__.d = (exports, definition) => {
33
+ /******/ for(var key in definition) {
34
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
35
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
55
36
  /******/ }
56
- /******/ };
57
- /******/ })();
37
+ /******/ }
38
+ /******/ };
58
39
  /******/
59
40
  /******/ /* webpack/runtime/hasOwnProperty shorthand */
60
- /******/ (() => {
61
- /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
62
- /******/ })();
41
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop));
63
42
  /******/
64
43
  /************************************************************************/
65
44
 
@@ -133,7 +112,7 @@ const StreamgraphSeriesDefaults = {
133
112
  * specified, it is inherited from [chart.type](#chart.type).
134
113
  *
135
114
  * @extends series,plotOptions.streamgraph
136
- * @excluding dataParser, dataURL, step, boostThreshold, boostBlending
115
+ * @excluding step, boostThreshold, boostBlending
137
116
  * @product highcharts highstock
138
117
  * @requires modules/streamgraph
139
118
  * @apioption series.streamgraph
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Highcharts JS v13.0.2 (2026-08-27)
2
+ * Highcharts JS v13.1.1 (2026-09-20)
3
3
  * @module highcharts/modules/sunburst
4
4
  * @requires highcharts
5
5
  *
@@ -8,4 +8,4 @@
8
8
  *
9
9
  * A commercial license may be required depending on use,
10
10
  * see www.highcharts.com/license
11
- */import*as t from"../highcharts.js";let e={};e.n=t=>{let i=t&&t.__esModule?()=>t.default:()=>t;return e.d(i,{a:i}),i},e.d=(t,i)=>{if(Array.isArray(i))for(var s=0;s<i.length;){var r=i[s++],o=i[s++];e.o(t,r)?0===o&&s++:0===o?Object.defineProperty(t,r,{enumerable:!0,value:i[s++]}):Object.defineProperty(t,r,{enumerable:!0,get:o})}else for(var r in i)e.o(i,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:i[r]})},e.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let i=t.default;var s,r,o,a,l,n=e.n(i);let d={mainBreadcrumb:"Main"},h=t.default.Templating,{format:p}=e.n(h)(),{composed:u}=n();function c(){if(this.breadcrumbs){let t=this.resetZoomButton&&this.resetZoomButton.getBBox(),e=this.breadcrumbs.options;t&&"right"===e.position.align&&"plotBox"===e.relativeTo&&this.breadcrumbs.alignBreadcrumbsGroup(-t.width-e.buttonSpacing)}}function g(){this.breadcrumbs&&(this.breadcrumbs.destroy(),this.breadcrumbs=void 0)}function v(){let t=this.breadcrumbs;if(t&&!t.options.floating&&t.level){let e=t.options,i=e.buttonTheme,s=(i.height||0)+2*(i.padding||0)+e.buttonSpacing,r=e.position.verticalAlign;"bottom"===r?(this.marginBottom=(this.marginBottom||0)+s,t.yOffset=s):"middle"!==r?(this.plotTop+=s,t.yOffset=-s):t.yOffset=void 0}}function b(){this.breadcrumbs&&this.breadcrumbs.redraw()}function f(t){!0===t.resetSelection&&this.breadcrumbs&&this.breadcrumbs.alignBreadcrumbsGroup()}class m{static compose(t,e){(0,i.pushUnique)(u,"Breadcrumbs")&&((0,i.addEvent)(t,"destroy",g),(0,i.addEvent)(t,"afterShowResetZoom",c),(0,i.addEvent)(t,"getMargins",v),(0,i.addEvent)(t,"redraw",b),(0,i.addEvent)(t,"selection",f),(0,i.extend)(e.lang,d))}constructor(t,e){this.elementList={},this.isDirty=!0,this.level=0,this.list=[];let s=(0,i.merge)(t.options.drilldown&&t.options.drilldown.drillUpButton,m.defaultOptions,t.options.navigation&&t.options.navigation.breadcrumbs,e);this.chart=t,this.options=s||{}}updateProperties(t){this.setList(t),this.setLevel(),this.isDirty=!0}setList(t){this.list=t}setLevel(){this.level=this.list.length&&this.list.length-1}getLevel(){return this.level}getButtonText(t){let e=this.chart,s=this.options,r=e.options.lang,o=s.format??(s.showFullPath?"{level.name}":"← {level.name}"),a=r&&(r.drillUpText??r.mainBreadcrumb),l=s.formatter&&s.formatter(t)||p(o,{level:t.levelOptions},e)||"";return((0,i.isString)(l)&&!l.length||"← "===l)&&(0,i.defined)(a)&&(l=s.showFullPath?a:"← "+a),l}redraw(){this.isDirty&&this.render(),this.group&&this.group.align(),this.isDirty=!1}render(){let t=this.chart,e=this.options;!this.group&&e&&(this.group=t.renderer.g("breadcrumbs-group").addClass("highcharts-no-tooltip highcharts-breadcrumbs").attr({zIndex:e.zIndex}).add()),e.showFullPath?this.renderFullPathButtons():this.renderSingleButton(),this.alignBreadcrumbsGroup()}renderFullPathButtons(){this.destroySingleButton(),this.resetElementListState(),this.updateListElements(),this.destroyListElements()}renderSingleButton(){let t=this.chart,e=this.list,i=this.options.buttonSpacing;this.destroyListElements();let s=this.group?this.group.getBBox().width:i,r=e[e.length-2];!t.drillUpButton&&this.level>0?t.drillUpButton=this.renderButton(r,s,i):t.drillUpButton&&(this.level>0?this.updateSingleButton():this.destroySingleButton())}alignBreadcrumbsGroup(t){if(this.group){let e=this.options,s=e.buttonTheme,r=e.position,o="chart"===e.relativeTo||"spacingBox"===e.relativeTo?void 0:"plotBox",a=this.group.getBBox(),l=2*(s.padding||0)+e.buttonSpacing;r.width=a.width+l,r.height=a.height+l;let n=(0,i.merge)(r);t&&(n.x+=t),this.options.rtl&&(n.x+=r.width),n.y=n.y??this.yOffset??0,this.group.align(n,!0,o)}}renderButton(t,e,s){let r=this,o=this.chart,a=r.options,l=(0,i.merge)(a.buttonTheme),n=o.renderer.button(r.getButtonText(t),e,s,function(e){let s,o=a.events&&a.events.click;o&&(s=o.call(r,e,t,r)),!1!==s&&(a.showFullPath?e.newLevel=t.level:e.newLevel=r.level-1,(0,i.fireEvent)(r,"up",e))},l).addClass("highcharts-breadcrumbs-button").add(r.group);return o.styledMode||n.attr(a.style),n}renderSeparator(t,e){let i=this.chart,s=this.options.separator,r=i.renderer.label(s.text,t,e,void 0,void 0,void 0,!1).addClass("highcharts-breadcrumbs-separator").add(this.group);return i.styledMode||r.css(s.style),r}update(t){(0,i.merge)(!0,this.options,t),this.destroy(),this.isDirty=!0}updateSingleButton(){let t=this.chart,e=this.list[this.level-1];t.drillUpButton&&t.drillUpButton.attr({text:this.getButtonText(e)})}destroy(){this.destroySingleButton(),this.destroyListElements(!0),this.group&&this.group.destroy(),this.group=void 0}destroyListElements(t){let e=this.elementList;(0,i.objectEach)(e,(i,s)=>{(t||!e[s].updated)&&((i=e[s]).button&&i.button.destroy(),i.separator&&i.separator.destroy(),delete i.button,delete i.separator,delete e[s])}),t&&(this.elementList={})}destroySingleButton(){this.chart.drillUpButton&&(this.chart.drillUpButton.destroy(),this.chart.drillUpButton=void 0)}resetElementListState(){(0,i.objectEach)(this.elementList,t=>{t.updated=!1})}updateListElements(){let t=this.elementList,e=this.options.buttonSpacing,i=this.list,s=this.options.rtl,r=s?-1:1,o=function(t,e){return r*t.getBBox().width+r*e},a=function(t,e,i){t.translate(e-t.getBBox().width,i)},l=this.group?o(this.group,e):e,n,d;for(let h=0,p=i.length;h<p;++h){let u,c,g=h===p-1;t[(d=i[h]).level]?(u=(n=t[d.level]).button,n.separator||g?n.separator&&g&&(n.separator.destroy(),delete n.separator):(l+=r*e,n.separator=this.renderSeparator(l,e),s&&a(n.separator,l,e),l+=o(n.separator,e)),t[d.level].updated=!0):(u=this.renderButton(d,l,e),s&&a(u,l,e),l+=o(u,e),g||(c=this.renderSeparator(l,e),s&&a(c,l,e),l+=o(c,e)),t[d.level]={button:u,separator:c,updated:!0}),u&&u.setState(2*!!g)}}}m.defaultOptions={buttonSpacing:5,buttonTheme:{fill:"none",height:18,padding:2,"stroke-width":0,zIndex:7,states:{select:{fill:"none"}},style:{color:"var(--highcharts-highlight-color-80)"}},floating:!1,format:void 0,relativeTo:"plotBox",rtl:!1,position:{align:"left",verticalAlign:"top",x:0,y:void 0},separator:{text:"/",style:{color:"var(--highcharts-neutral-color-60)",fontSize:"0.8em"}},showFullPath:!0,style:{},useHTML:!1,zIndex:7};let x=t.default.Color;var y=e.n(x);let L=t.default.SeriesRegistry;var P=e.n(L);let T=t.default.SVGElement;var w=e.n(T);let{column:{prototype:A}}=P().seriesTypes;var O=o||(o={});function S(t){let e=this.series,i=e.chart.renderer;this.moveToTopOnHover&&this.graphic&&(e.stateMarkerGraphic||(e.stateMarkerGraphic=new(w())(i,"use").css({pointerEvents:"none"}).add(this.graphic.parentGroup)),t?.state==="hover"?(this.graphic.attr({id:this.id}),e.stateMarkerGraphic.attr({href:`${i.url}#${this.id}`,visibility:"visible"})):e.stateMarkerGraphic.attr({href:""}))}O.pointMembers={dataLabelOnNull:!0,moveToTopOnHover:!0,isValid:function(){return null!==this.value&&this.value!==1/0&&this.value!==-1/0&&(void 0===this.value||!isNaN(this.value))}},O.seriesMembers={colorKey:"value",axisTypes:["xAxis","yAxis","colorAxis"],parallelArrays:["x","y","value"],pointArrayMap:["value"],trackerGroups:["group","markerGroup","dataLabelsGroup"],colorAttribs:function(t){let e={};return(0,i.defined)(t.color)&&(!t.state||"normal"===t.state)&&(e[this.colorProp||"fill"]=t.color),e},pointAttribs:A.pointAttribs},O.compose=function(t){let e=t.prototype.pointClass;return(0,i.addEvent)(e,"afterSetState",S),t};let R=o,M=t.default.Series;var C=e.n(M);let B=class{constructor(t,e,i,s){this.height=t,this.width=e,this.plot=s,this.direction=i,this.startDirection=i,this.total=0,this.nW=0,this.lW=0,this.nH=0,this.lH=0,this.elArr=[],this.lP={total:0,lH:0,nH:0,lW:0,nW:0,nR:0,lR:0,aspectRatio:function(t,e){return Math.max(t/e,e/t)}}}addElement(t){this.lP.total=this.elArr[this.elArr.length-1],this.total=this.total+t,0===this.direction?(this.lW=this.nW,this.lP.lH=this.lP.total/this.lW,this.lP.lR=this.lP.aspectRatio(this.lW,this.lP.lH),this.nW=this.total/this.height,this.lP.nH=this.lP.total/this.nW,this.lP.nR=this.lP.aspectRatio(this.nW,this.lP.nH)):(this.lH=this.nH,this.lP.lW=this.lP.total/this.lH,this.lP.lR=this.lP.aspectRatio(this.lP.lW,this.lH),this.nH=this.total/this.width,this.lP.nW=this.lP.total/this.nH,this.lP.nR=this.lP.aspectRatio(this.lP.nW,this.nH)),this.elArr.push(t)}reset(){this.nW=0,this.lW=0,this.elArr=[],this.total=0}},I=class{constructor(){this.childrenTotal=0,this.visible=!1}init(t,e,i,s,r,o,a){return this.id=t,this.i=e,this.children=i,this.height=s,this.level=r,this.series=o,this.parent=a,this}},N=function(t,e){let{animatableAttribs:i,onComplete:s,css:r,renderer:o}=e,a=t.series&&t.series.chart.hasRendered?void 0:t.series&&t.series.options.animation,l=t.graphic;if(e.attribs={...e.attribs,class:t.getClassName()},t.shouldDraw())l||(t.graphic=l="text"===e.shapeType?o.text():"image"===e.shapeType?o.image(e.imageUrl||"").attr(e.shapeArgs||{}):o[e.shapeType](e.shapeArgs||{}),l.add(e.group)),r&&l.css(r),l.attr(e.attribs).animate(i,!e.isNew&&a,s);else if(l){let e=()=>{t.graphic=l=l&&l.destroy(),"function"==typeof s&&s()};Object.keys(i).length?l.animate(i,void 0,()=>e()):e()}},{pie:{prototype:{pointClass:E}},scatter:{prototype:{pointClass:D}}}=P().seriesTypes;class G extends D{constructor(){super(...arguments),this.groupedPointsAmount=0,this.shapeType="rect"}draw(t){N(this,t)}getClassName(){let t=this.series,e=t.options,i=super.getClassName();return this.node.level<=t.nodeMap[t.rootNode].level&&this.node.children.length?i+=" highcharts-above-level":this.node.isGroup||this.node.isLeaf||t.nodeMap[t.rootNode].isGroup||(e.interactByLeaf??!e.allowTraversingTree)?this.node.isGroup||this.node.isLeaf||t.nodeMap[t.rootNode].isGroup||(i+=" highcharts-internal-node"):i+=" highcharts-internal-node-interactive",i}isValid(){return!!(this.id||(0,i.isNumber)(this.value))}setState(t){super.setState.apply(this,arguments),this.graphic&&this.graphic.attr({zIndex:+("hover"===t)})}shouldDraw(){return(0,i.isNumber)(this.plotY)&&null!==this.y}}(0,i.extend)(G.prototype,{setVisible:E.prototype.setVisible});let z={allowTraversingTree:!1,animationLimit:250,borderRadius:0,showInLegend:!1,marker:void 0,colorByPoint:!1,dataLabels:{enabled:!0,formatter:function(){let t=this&&this.point?this.point:{};return(0,i.isString)(t.name)?t.name:""},headers:!1,inside:!0,padding:2,verticalAlign:"middle",style:{textOverflow:"ellipsis"}},tooltip:{headerFormat:"",pointFormat:"<b>{point.name}</b>: {point.value}<br/>",clusterFormat:"+ {point.groupedPointsAmount} more...<br/>"},ignoreHiddenPoint:!0,layoutAlgorithm:"sliceAndDice",layoutStartingDirection:"vertical",alternateStartingDirection:!1,levelIsConstant:!0,traverseUpButton:{position:{align:"right",x:-10,y:10}},borderColor:"var(--highcharts-neutral-color-10)",borderWidth:1,colorKey:"colorValue",opacity:.15,states:{hover:{borderColor:"var(--highcharts-neutral-color-40)",brightness:.1*!P().seriesTypes.heatmap,halo:!1,opacity:.75,shadow:!1}},legendSymbol:"rectangle",traverseToLeaf:!1,cluster:{className:void 0,color:void 0,enabled:!1,pixelWidth:void 0,pixelHeight:void 0,name:void 0,reductionFactor:void 0,minimumClusterSize:5,layoutAlgorithm:{distance:0,gridSize:0,kmeansThreshold:0},marker:{lineWidth:0,radius:0}}};(a||(a={})).recursive=function t(e,i,s){let r=i.call(s||this,e);!1!==r&&t(r,i,s)};let k=a,U={getColor:function(t,e){let i,s,r,o,a,l,n=e.index,d=e.mapOptionsToLevel,h=e.parentColor,p=e.parentColorIndex,u=e.series,c=e.colors,g=e.siblings,v=u.points,b=u.chart.options.chart;if(t){let f;i=v[t.i],s=d[t.level]||{},i&&s.colorByPoint&&(o=i.index%(c?c.length:b.colorCount),r=c&&c[o]),u.chart.styledMode||(a=(i&&i.options.color)??(s&&s.color)??r??(h&&((f=s&&s.colorVariation)&&"brightness"===f.key&&n&&g?y().parse(h).brighten(f.to*(n/g)).get():h))??u.color),l=(i&&i.options.colorIndex)??(s&&s.colorIndex)??o??p??e.colorIndex}return{color:a,colorIndex:l}},getLevelOptions:function(t){let e,s,r,o,a,l,n={};if((0,i.isObject)(t))for(o=(0,i.isNumber)(t.from)?t.from:1,l=t.levels,s={},e=(0,i.isObject)(t.defaults)?t.defaults:{},(0,i.isArray)(l)&&(s=l.reduce((t,s)=>{let r,a,l;return(0,i.isObject)(s)&&(0,i.isNumber)(s.level)&&(a=(l=(0,i.merge)({},s)).levelIsConstant??e.levelIsConstant,delete l.levelIsConstant,delete l.level,r=s.level+(a?0:o-1),(0,i.isObject)(t[r])?(0,i.merge)(!0,t[r],l):t[r]=l),t},{})),a=(0,i.isNumber)(t.to)?t.to:1,r=0;r<=a;r++)n[r]=(0,i.merge)({},e,(0,i.isObject)(s[r])?s[r]:{});return n},getNodeWidth:function(t,e){let{chart:s,options:r}=t,{nodeDistance:o=0,nodeWidth:a=0}=r,{plotSizeX:l=1}=s;if("auto"===a){if("string"==typeof o&&/%$/.test(o))return l/(e+parseFloat(o)/100*(e-1));let t=Number(o);return(l+t)/(e||1)-t}return(0,i.relativeLength)(a,l)},setTreeValues:function t(e,s){let r=s.before,o=s.idRoot,a=s.mapIdToNode[o],l=!1!==s.levelIsConstant,n=s.points[e.i],d=n&&n.options||{},h=[],p=0;e.levelDynamic=e.level-(l?0:a.level),e.name=(n&&n.name)??"",e.visible=o===e.id||!0===s.visible,"function"==typeof r&&(e=r(e,s)),e.children.forEach((r,o)=>{let a=(0,i.extend)({},s);(0,i.extend)(a,{index:o,siblings:e.children.length,visible:e.visible}),r=t(r,a),h.push(r),r.visible&&(p+=r.val)});let u=d.value??p;return e.visible=u>=0&&(p>0||e.visible),e.children=h,e.childrenTotal=p,e.isLeaf=e.visible&&!p,e.val=u,e},updateRootId:function(t){let e,s;return(0,i.isObject)(t)&&(s=(0,i.isObject)(t.options)?t.options:{},e=t.rootNode??s.rootId??"",(0,i.isObject)(t.userOptions)&&(t.userOptions.rootId=e),t.rootNode=e),e}},{parse:V}=y(),{composed:W,noop:H}=n(),{column:F,scatter:j}=P().seriesTypes,{getColor:Y,getLevelOptions:X,updateRootId:$}=U;C().keepProps.push("simulation","hadOutsideDataLabels");let q=!1;function K(){let t=this.xAxis,e=this.yAxis;if(t&&e)if(this.is("treemap")){let s={endOnTick:!1,startOnTick:!1,visible:!1};this.is("treegraph")||(s.min=0,s.max=100,s.tickPositions=[]),(0,i.merge)(!0,t.options,s,t.userOptions),(0,i.merge)(!0,e.options,s,e.userOptions),t.visible=t.options.visible,e.visible=e.options.visible,this.is("treegraph")&&(this.isCartesian=t.visible),q=!0}else q&&(e.setOptions(e.userOptions),t.setOptions(t.userOptions),q=!1)}class Z extends j{constructor(){super(...arguments),this.simulation=0}static compose(t){(0,i.pushUnique)(W,"TreemapSeries")&&(0,i.addEvent)(t,"afterBindAxes",K)}algorithmCalcPoints(t,e,s,r){let o=s.plot,a=s.elArr.length-1,l,n,d,h,p=s.lW,u=s.lH,c,g=0;for(let t of(e?(p=s.nW,u=s.nH):c=s.elArr[a],s.elArr))(e||g<a)&&(0===s.direction?(l=o.x,n=o.y,h=t/(d=p)):(l=o.x,n=o.y,d=t/(h=u)),r.push({x:l,y:n,width:d,height:(0,i.correctFloat)(h)}),0===s.direction?o.y=o.y+h:o.x=o.x+d),g+=1;s.reset(),0===s.direction?s.width=s.width-p:s.height=s.height-u,o.y=o.parent.y+(o.parent.height-s.height),o.x=o.parent.x+(o.parent.width-s.width),t&&(s.direction=1-s.direction),e||s.addElement(c)}algorithmFill(t,e,i){let s=[],r,o=e.direction,a=e.x,l=e.y,n=e.width,d=e.height,h,p,u,c;for(let g of i)r=e.width*e.height*(g.val/e.val),h=a,p=l,0===o?(n-=u=r/(c=d),a+=u):(d-=c=r/(u=n),l+=c),s.push({x:h,y:p,width:u,height:c,direction:0,val:0}),t&&(o=1-o);return s}algorithmLowAspectRatio(t,e,i){let s=[],r={x:e.x,y:e.y,parent:e},o=e.direction,a=i.length-1,l=new B(e.height,e.width,o,r),n,d=0;for(let o of i)n=e.width*e.height*(o.val/e.val),l.addElement(n),l.lP.nR>l.lP.lR&&this.algorithmCalcPoints(t,!1,l,s,r),d===a&&this.algorithmCalcPoints(t,!0,l,s,r),++d;return s}alignDataLabel(t,e,i){F.prototype.alignDataLabel.apply(this,arguments),t.dataLabel&&t.dataLabel.attr({zIndex:(t.node.zIndex||0)+1})}applyTreeGrouping(){let t=this,e=t.parentList||{},{cluster:s}=t.options,r=s?.minimumClusterSize||5;if(s?.enabled){let o={},a=t=>{if(t?.point?.shapeArgs){let{width:e=0,height:r=0}=t.point.shapeArgs,{pixelWidth:a=0,pixelHeight:l=0}=s,n=(0,i.defined)(l),d=l?a*l:a*a;(e<a||r<(n?l:a)||e*r<d)&&!t.isGroup&&(0,i.defined)(t.parent)&&(o[t.parent]||(o[t.parent]=[]),o[t.parent].push(t))}t?.children.forEach(t=>{a(t)})};for(let l in a(t.tree),o)o[l]&&o[l].length>r&&o[l].forEach(r=>{let o=e[l].indexOf(r.i);if(-1!==o){e[l].splice(o,1);let a=`highcharts-grouped-treemap-points-${r.parent||"root"}`,n=t.points.find(t=>t.id===a);if(!n){let r=t.pointClass,o=t.points.length;n=new r(t,{className:s.className,color:s.color,id:a,index:o,isGroup:!0,value:0}),(0,i.extend)(n,{formatPrefix:"cluster"}),t.points.push(n),e[l].push(o),e[a]=[]}let d=n.groupedPointsAmount+1,h=t.points[n.index].options.value||0,p=s.name||`+ ${d}`;t.points[n.index].groupedPointsAmount=d,t.points[n.index].options.value=h+(r.point.value||0),t.points[n.index].name=p,e[a].push(r.point.index)}});t.nodeMap={},t.nodeList=[],t.parentList=e;let l=t.buildTree("",-1,0,t.parentList);t.translate(l)}}calculateChildrenAreas(t,e){let s=this.options,r=this.mapOptionsToLevel[t.level+1],o=(r?.layoutAlgorithm&&this[r?.layoutAlgorithm]&&r.layoutAlgorithm)??s.layoutAlgorithm,a=s.alternateStartingDirection,l=t.children.filter(e=>t.isGroup||!e.ignore),n=r?.groupPadding??s.groupPadding??0,d=this.nodeMap[this.rootNode];if(!o)return;let h=[],p=d.pointValues?.width||0,u=d.pointValues?.height||0;r?.layoutStartingDirection&&(e.direction=+("vertical"!==r.layoutStartingDirection)),h=this[o](e,l);let c=-1;for(let t of l){let s=h[++c];t===d&&(p=p||s.width,u=s.height);let r=n/(this.xAxis.len/u),o=n/(this.yAxis.len/u);if(t.values=(0,i.merge)(s,{val:t.childrenTotal,direction:a?1-e.direction:e.direction}),t.children.length&&t.point.dataLabels?.length){let e=(0,i.arrayMax)(t.point.dataLabels.map(t=>t.options?.headers&&t.height||0))/(this.yAxis.len/u);e<t.values.height/2&&(t.values.y+=e,t.values.height-=e)}if(n){let e=Math.min(r,t.values.width/4),i=Math.min(o,t.values.height/4);t.values.x+=e,t.values.width-=2*e,t.values.y+=i,t.values.height-=2*i}t.pointValues=(0,i.merge)(s,{x:s.x/this.axisRatio,y:100-s.y-s.height,width:s.width/this.axisRatio}),t.children.length&&this.calculateChildrenAreas(t,t.values)}let g=(t,e=[],i=!0)=>(t.children.forEach(t=>{i&&t.isLeaf?e.push(t.point):i||t.isLeaf||e.push(t.point),t.children.length&&g(t,e,i)}),e);if("leaf"===s.nodeSizeBy&&t===d&&this.hasOutsideDataLabels&&!g(d,void 0,!1).some(t=>(0,i.isNumber)(t.options.value))&&!(0,i.isNumber)(d.point?.options.value)){let s=g(d),r=s.map(t=>t.options.value||0),o=s.map(({node:{pointValues:t}})=>t?t.width*t.height:0),a=r.reduce((t,e)=>t+e,0),l=o.reduce((t,e)=>t+e,0)/a,n=0,h=0;s.forEach((t,e)=>{let s=r[e]?o[e]/r[e]:1,a=(0,i.clamp)(s/l,.8,1.4),d=1-a;t.value&&(o[e]<20&&(d*=o[e]/20),d>h&&(h=d),d<n&&(n=d),t.simulatedValue=(t.simulatedValue||t.value)/a)}),(n<-.05||h>.05)&&this.simulation<10?(this.simulation++,this.setTreeValues(t),e.val=t.val,this.calculateChildrenAreas(t,e)):(s.forEach(t=>{delete t.simulatedValue}),this.setTreeValues(t),this.simulation=0)}}createList(t){let e=this.chart,i=e.breadcrumbs,s=[];if(i){let i=0;s.push({level:i,levelOptions:e.series[0]});let r=t.target.nodeMap[t.newRootId],o=[];for(;r.parent||""===r.parent;)o.push(r),r=t.target.nodeMap[r.parent];for(let t of o.reverse())s.push({level:++i,levelOptions:t});s.length<=1&&(s.length=0)}return s}drawDataLabels(){let t=this.mapOptionsToLevel,e=this.points.filter(function(t){return t.node.visible||(0,i.defined)(t.dataLabel)}),s=(0,i.splat)(this.options.dataLabels||{})[0]?.padding,r=e.some(t=>(0,i.isNumber)(t.plotY));for(let o of e){let e={},a={style:e},l=t[o.node.level];if((!o.node.isLeaf&&!o.node.isGroup||o.node.isGroup&&o.node.level<=this.nodeMap[this.rootNode].level)&&(a.enabled=!1),l?.dataLabels&&((0,i.merge)(!0,a,(0,i.splat)(l.dataLabels)[0]),this.hasDataLabels=()=>!0),o.node.isLeaf?a.inside=!0:a.headers&&(a.verticalAlign="top"),o.shapeArgs&&r){let{height:t=0,width:r=0}=o.shapeArgs;if(r>32&&t>16&&o.shouldDraw()){let l=r-2*((0,i.splat)(a.padding)[0]||(0,i.splat)(s)[0]||0);e.width=`${l}px`,e.lineClamp??(e.lineClamp=Math.floor(t/16)),this.options.allowTraversingTree&&(e.visibility="inherit"),o.dataLabel?.attr({width:a.headers?l:void 0})}else e.width=`${r}px`,e.visibility="hidden"}o.dlOptions=(0,i.merge)(a,o.options.dataLabels,{zIndex:void 0}),delete o.dlOptions.zIndex}super.drawDataLabels(e)}drawPoints(t=this.points){let e=this.chart,s=e.renderer,r=e.styledMode,o=this.options,a=r?{}:o.shadow,l=o.borderRadius,n=e.pointCount<o.animationLimit,d=o.allowTraversingTree;for(let e of t){let t={},h={},p={},u="level-group-"+e.node.level,c=!!e.graphic,g=n&&c,v=e.shapeArgs;e.shouldDraw()&&(e.isInside=!0,l&&(h.r=l),(0,i.merge)(!0,g?t:h,c?v:{},r?{}:this.pointAttribs(e,e.selected?"select":void 0)),this.colorAttribs&&r&&(0,i.extend)(p,this.colorAttribs(e)),this[u]||(this[u]=s.g(u).attr({zIndex:-(e.node.level||0)}).add(this.group),this[u].survive=!0)),e.draw({animatableAttribs:t,attribs:h,css:p,group:this[u],imageUrl:e.imageUrl,renderer:s,shadow:a,shapeArgs:v,shapeType:e.shapeType}),d&&e.graphic&&(e.drillId=o.interactByLeaf?this.drillToByLeaf(e):this.drillToByGroup(e))}}drillToByGroup(t){return(!t.node.isLeaf||!!t.node.isGroup)&&t.id}drillToByLeaf(t){let{traverseToLeaf:e}=t.series.options,i=!1,s;if(t.node.parent!==this.rootNode&&t.node.isLeaf)if(e)i=t.id;else for(s=t.node;!i;)void 0!==s.parent&&(s=this.nodeMap[s.parent]),s.parent===this.rootNode&&(i=s.id);return i}drillToNode(t,e){(0,i.error)(32,!1,void 0,{"treemap.drillToNode":"use treemap.setRootNode"}),this.setRootNode(t,e)}drillUp(){let t=this.nodeMap[this.rootNode];t&&(0,i.isString)(t.parent)&&this.setRootNode(t.parent,!0,{trigger:"traverseUpButton"})}getExtremes(){let{dataMin:t,dataMax:e}=super.getExtremes(this.colorValueData);return this.valueMin=t,this.valueMax=e,super.getExtremes()}getListOfParents(t,e){let s=(0,i.isArray)(t)?t:[],r=(0,i.isArray)(e)?e:[],o=s.reduce(function(t,e,i){let s=e.parent??"";return void 0===t[s]&&(t[s]=[]),t[s].push(i),t},{"":[]});for(let t of Object.keys(o)){let e=o[t];if(""!==t&&-1===r.indexOf(t)){for(let t of e)o[""].push(t);delete o[t]}}return o}getTree(){let t=this.data.map(function(t){return t.id});return this.parentList=this.getListOfParents(this.data,t),this.nodeMap={},this.nodeList=[],this.buildTree("",-1,0,this.parentList||{})}buildTree(t,e,s,r,o){let a=[],l=this.points[e],n=0,d;for(let e of r[t]||[])n=Math.max((d=this.buildTree(this.points[e].id,e,s+1,r,t)).height+1,n),a.push(d),this.is("treegraph")&&(d.visible=!0);let h=new this.NodeClass().init(t,e,a,n,s,this,o);for(let t of a)t.parentNode=h;return this.nodeMap[h.id]=h,this.nodeList.push(h),l&&(l.node=h,h.point=l,(0,i.defined)(l.options.x)||(l.x=s)),h}hasData(){return!!this.dataTable.rowCount}init(t,e){let s=this,r=(0,i.merge)(e.drillUpButton,e.breadcrumbs),o=(0,i.addEvent)(s,"setOptions",t=>{let e=t.userOptions;(0,i.defined)(e.allowDrillToNode)&&!(0,i.defined)(e.allowTraversingTree)&&(e.allowTraversingTree=e.allowDrillToNode,delete e.allowDrillToNode),(0,i.defined)(e.drillUpButton)&&!(0,i.defined)(e.traverseUpButton)&&(e.traverseUpButton=e.drillUpButton,delete e.drillUpButton);let s=(0,i.splat)(e.dataLabels||{});e.levels?.forEach(t=>{s.push.apply(s,(0,i.splat)(t.dataLabels||{}))}),this.hasOutsideDataLabels=s.some(t=>t.headers)});super.init(t,e),delete s.opacity,s.eventsToUnbind.push(o),s.options.allowTraversingTree&&(s.eventsToUnbind.push((0,i.addEvent)(s,"click",s.onClickDrillToNode)),s.eventsToUnbind.push((0,i.addEvent)(s,"setRootNode",function(t){let e=s.chart;e.breadcrumbs&&e.breadcrumbs.updateProperties(s.createList(t))})),s.eventsToUnbind.push((0,i.addEvent)(s,"update",function(t,e){let i=this.chart.breadcrumbs;i&&t.options.breadcrumbs&&i.update(t.options.breadcrumbs),this.hadOutsideDataLabels=this.hasOutsideDataLabels})),s.eventsToUnbind.push((0,i.addEvent)(s,"destroy",function(t){let e=this.chart;e.breadcrumbs&&!t.keepEventsForUpdate&&(e.breadcrumbs.destroy(),e.breadcrumbs=void 0)}))),t.breadcrumbs||(t.breadcrumbs=new m(t,r)),s.eventsToUnbind.push((0,i.addEvent)(t.breadcrumbs,"up",function(t){let e=this.level-t.newLevel;for(let t=0;t<e;t++)s.drillUp()}))}onClickDrillToNode(t){let e=t.point,s=e?.drillId;(0,i.isString)(s)&&(e.setState(""),this.setRootNode(s,!0,{trigger:"click"}))}pointAttribs(t,e){let s=(0,i.isObject)(this.mapOptionsToLevel)?this.mapOptionsToLevel:{},r=t?.node&&s[t.node.level]||{},o=this.options,a=e&&o.states&&o.states[e]||{},l=t?.node&&t.getClassName()||"",n={stroke:t&&t.borderColor||r.borderColor||a.borderColor||o.borderColor,"stroke-width":(t&&t.borderWidth)??r.borderWidth??a.borderWidth??o.borderWidth,dashstyle:t?.borderDashStyle||r.borderDashStyle||a.borderDashStyle||o.borderDashStyle,fill:t?.color||this.color};return -1!==l.indexOf("highcharts-above-level")?(n.fill="none",n["stroke-width"]=0):-1!==l.indexOf("highcharts-internal-node-interactive")?(n["fill-opacity"]=a.opacity??o.opacity??1,n.cursor="pointer"):-1!==l.indexOf("highcharts-internal-node")?n.fill="none":e&&a.brightness&&(n.fill=V(n.fill).brighten(a.brightness).get()),n}setColorRecursive(t,e,i,s,r){let o=this?.chart,a=o?.options?.colors;if(t){let o=Y(t,{colors:a,index:s,mapOptionsToLevel:this.mapOptionsToLevel,parentColor:e,parentColorIndex:i,series:this,siblings:r}),l=this.points[t.i];l&&(l.color=o.color,l.colorIndex=o.colorIndex);let n=-1;for(let e of t.children||[])this.setColorRecursive(e,o.color,o.colorIndex,++n,t.children.length)}}setPointValues(){let t=this,{points:e,xAxis:s,yAxis:r}=t,o=t.chart.styledMode,a=e=>o?0:t.pointAttribs(e)["stroke-width"]||0;for(let t of e){let{pointValues:e,visible:o}=t.node;if(e&&o){let{height:o,width:l,x:n,y:d}=e,h=a(t),p=s.toPixels(n,!0),u=s.toPixels(n+l,!0),c=r.toPixels(d,!0),g=r.toPixels(d+o,!0),v=0===p?h/2:(0,i.crisp)(s.toPixels(n,!0),h,!0),b=u===s.len?s.len-h/2:(0,i.crisp)(s.toPixels(n+l,!0),h,!0),f=c===r.len?r.len-h/2:(0,i.crisp)(r.toPixels(d,!0),h,!0),m=0===g?h/2:(0,i.crisp)(r.toPixels(d+o,!0),h,!0),x={x:Math.min(v,b),y:Math.min(f,m),width:Math.abs(b-v),height:Math.abs(m-f)};t.plotX=x.x+x.width/2,t.plotY=x.y+x.height/2,t.shapeArgs=x}else delete t.plotX,delete t.plotY}}setRootNode(t,e,s){let r=(0,i.extend)({newRootId:t,previousRootId:this.rootNode,redraw:e??!0,series:this},s);(0,i.fireEvent)(this,"setRootNode",r,function(t){let e=t.series;e.idPreviousRoot=t.previousRootId,e.rootNode=t.newRootId,e.isDirty=!0,t.redraw&&e.chart.redraw()})}setState(t){this.options.inactiveOtherPoints=!0,super.setState(t,!1),this.options.inactiveOtherPoints=!1}setTreeValues(t){let e=this.options,s=this.rootNode,r=this.nodeMap[s],o="boolean"!=typeof e.levelIsConstant||e.levelIsConstant,a=[],l=this.points[t.i],n=0;for(let e of t.children)e=this.setTreeValues(e),a.push(e),e.ignore||(n+=e.val);(0,i.stableSort)(a,(t,e)=>(t.sortIndex||0)-(e.sortIndex||0));let d=l?.simulatedValue??l?.options.value??n;return l&&(l.value=d),l?.isGroup&&e.cluster?.reductionFactor&&(d/=e.cluster.reductionFactor),t.parentNode?.point?.isGroup&&this.rootNode!==t.parent&&(t.visible=!1),(0,i.extend)(t,{children:a,childrenTotal:n,ignore:!((l?.visible??!0)&&d>0),isLeaf:t.visible&&!("treegraph"===this.type?a.length>0:n),isGroup:l?.isGroup,levelDynamic:t.level-(o?0:r.level),name:l?.name??"",sortIndex:l?.sortIndex??-d,val:d}),t}sliceAndDice(t,e){return this.algorithmFill(!0,t,e)}squarified(t,e){return this.algorithmLowAspectRatio(!0,t,e)}strip(t,e){return this.algorithmLowAspectRatio(!1,t,e)}stripes(t,e){return this.algorithmFill(!1,t,e)}translate(t){let e=this,s=e.options,r=!t,o=$(e),a,l,n,d;t||o.startsWith("highcharts-grouped-treemap-points-")||((this.points||[]).forEach(t=>{t.isGroup&&t.destroy()}),super.translate(),t=e.getTree()),e.tree=t=t||e.tree,a=e.nodeMap[o],""===o||a||(e.setRootNode("",!1),o=e.rootNode,a=e.nodeMap[o]),a.point?.isGroup||(e.mapOptionsToLevel=X({from:a.level+1,levels:s.levels,to:t.height,defaults:{levelIsConstant:e.options.levelIsConstant,colorByPoint:s.colorByPoint}})),k.recursive(e.nodeMap[e.rootNode],t=>{let i=t.parent,s=!1;return t.visible=!0,(i||""===i)&&(s=e.nodeMap[i]),s}),k.recursive(e.nodeMap[e.rootNode].children,t=>{let e=!1;for(let i of t)i.visible=!0,i.children.length&&(e=(e||[]).concat(i.children));return e}),e.setTreeValues(t),e.axisRatio=e.xAxis.len/e.yAxis.len,e.nodeMap[""].pointValues=l={x:0,y:0,width:100,height:100},e.nodeMap[""].values=n=(0,i.merge)(l,{width:l.width*e.axisRatio,direction:+("vertical"!==s.layoutStartingDirection),val:t.val}),(this.hasOutsideDataLabels||this.hadOutsideDataLabels)&&this.drawDataLabels(),e.calculateChildrenAreas(t,n),e.colorAxis||s.colorByPoint||e.setColorRecursive(e.tree),s.allowTraversingTree&&a.pointValues&&(d=a.pointValues,e.xAxis.setExtremes(d.x,d.x+d.width,!1),e.yAxis.setExtremes(d.y,d.y+d.height,!1),e.xAxis.setScale(),e.yAxis.setScale()),e.setPointValues(),r&&e.applyTreeGrouping()}}Z.defaultOptions=(0,i.merge)(j.defaultOptions,z),(0,i.extend)(Z.prototype,{buildKDTree:H,colorAttribs:R.seriesMembers.colorAttribs,colorKey:"colorValue",directTouch:!0,getExtremesFromAll:!0,getSymbol:H,optionalAxis:"colorAxis",parallelArrays:["x","y","value","colorValue"],pointArrayMap:["value","colorValue"],pointClass:G,NodeClass:I,trackerGroups:["group","dataLabelsGroup"],utils:k}),R.compose(Z),P().registerSeriesType("treemap",Z);let{deg2rad:_}=n();(s=l||(l={})).getCenter=function(){let t=this.options,e=this.chart,s=2*(t.slicedOffset||0),r=e.plotWidth-2*s,o=e.plotHeight-2*s,a=t.center,l=Math.min(r,o),n=t.thickness,d,h=t.size,p=t.innerSize||0,u,c;"string"==typeof h&&(h=parseFloat(h)),"string"==typeof p&&(p=parseFloat(p));let g=[a?.[0]??"50%",a?.[1]??"50%",(h&&h<0?void 0:t.size)??"100%",(p&&p<0?void 0:t.innerSize||0)??"0%"];for(u=0;u<4;++u)c=g[u],d=u<2||2===u&&/%$/.test(c),g[u]=(0,i.relativeLength)(c,[r,o,l,g[2]][u])+(d?s:0);return g[3]>g[2]&&(g[3]=g[2]),(0,i.isNumber)(n)&&2*n<g[2]&&n>0&&(g[3]=g[2]-2*n),(0,i.fireEvent)(this,"afterGetCenter",{positions:g}),g},s.getStartAndEndRadians=function(t,e){let s=(0,i.isNumber)(t)?t:0,r=(0,i.isNumber)(e)&&e>s&&e-s<360?e:s+360;return{start:_*(s+-90),end:_*(r+-90)}};let J=l,{series:{prototype:{pointClass:Q}},seriesTypes:{treemap:{prototype:{pointClass:tt}}}}=P();class te extends tt{getDataLabelPath(t){let e=this.series.chart.renderer,s=this.shapeExisting,r=s.r+(0,i.pInt)(t.options?.distance||0),o=s.start,a=s.end,l=o+(a-o)/2,n=l<0&&l>-Math.PI||l>Math.PI,d;return o===-Math.PI/2&&(0,i.correctFloat)(a)===(0,i.correctFloat)(1.5*Math.PI)&&(o=-Math.PI+Math.PI/360,a=-Math.PI/360,n=!0),a-o>Math.PI&&(n=!1,d=!0,a-o>2*Math.PI-.01&&(o+=.01,a-=.01)),this.dataLabelPath&&(this.dataLabelPath=this.dataLabelPath.destroy()),this.dataLabelPath=e.arc({open:!0,longArc:+!!d}).attr({start:n?o:a,end:n?a:o,clockwise:+n,x:s.x,y:s.y,r:(r+s.innerR)/2}).add(e.defs),this.dataLabelPath}isValid(){return!0}}(0,i.extend)(te.prototype,{getClassName:Q.prototype.getClassName,haloPath:Q.prototype.haloPath,setState:Q.prototype.setState});let{seriesTypes:{treemap:ti}}=P();function ts(t,e){let s=[];if((0,i.isNumber)(t)&&(0,i.isNumber)(e)&&t<=e)for(let i=t;i<=e;i++)s.push(i);return s}let tr={calculateLevelSizes:function(t,e){let s=(0,i.isObject)(e)?e:{},r,o=0,a,l,n,d;if((0,i.isObject)(t)){for(let e of(r=(0,i.merge)({},t),l=ts((0,i.isNumber)(s.from)?s.from:0,(0,i.isNumber)(s.to)?s.to:0),n=Object.keys(r).filter(t=>-1===l.indexOf(+t)),a=d=(0,i.isNumber)(s.diffRadius)?s.diffRadius:0,l)){let t=r[e],i=t.levelSize.unit,s=t.levelSize.value;"weight"===i?o+=s:"percentage"===i?(t.levelSize={unit:"pixels",value:s/100*a},d-=t.levelSize.value):"pixels"===i&&(d-=s)}for(let t of l){let e=r[t];if("weight"===e.levelSize.unit){let i=e.levelSize.value;r[t].levelSize={unit:"pixels",value:i/o*d}}}for(let t of n)r[t].levelSize={value:0,unit:"pixels"}}return r},getLevelFromAndTo:function({level:t,height:e}){return{from:t>0?t:1,to:t+e}},range:ts,recursive:ti.prototype.utils.recursive},{composed:to,deg2rad:ta}=n(),{getCenter:tl,getStartAndEndRadians:tn}=J,{noop:td}=n(),{column:th,treemap:tp}=P().seriesTypes,{getColor:tu,getLevelOptions:tc,setTreeValues:tg,updateRootId:tv}=U;r=w(),(0,i.pushUnique)(to,"TextPath")&&((0,i.addEvent)(r,"afterGetBBox",function(t){let e=t.bBox,i=this.element?.querySelector("textPath");if(i){let t=[],{b:s,h:r}=this.renderer.fontMetrics(this.element),o=r-s,a=RegExp('(<tspan>|<tspan(?!\\sclass="highcharts-br")[^>]*>|<\\/tspan>)',"g"),l=i.innerHTML.replace(a,"").split(/<tspan class="highcharts-br"[^>]*>/),n=l.length,d=(t,e)=>{let{x:r,y:a}=e,l=(i.getRotationOfChar(t)-90)*ta,n=Math.cos(l),d=Math.sin(l);return[[r-o*n,a-o*d],[r+s*n,a+s*d]]};for(let e=0,s=0;s<n;s++){let r=l[s].length;for(let o=0;o<r;o+=5)try{let r=e+o+s,[a,l]=d(r,i.getStartPositionOfChar(r));0===o?(t.push(l),t.push(a)):(0===s&&t.unshift(l),s===n-1&&t.push(a))}catch{break}e+=r-1;try{let r=e+s,o=i.getEndPositionOfChar(r),[a,l]=d(r,o);t.unshift(l),t.unshift(a)}catch{break}}t.length&&t.push(t[0].slice()),e.polygon=t}return e}),(0,i.addEvent)(r,"beforeAddingDataLabel",function(t){let e=t.labelOptions,i=t.point,s=e[i.formatPrefix+"TextPath"]||e.textPath;s&&!e.useHTML&&(this.setTextPath(i.getDataLabelPath?.(this)||i.graphic,s),i.dataLabelPath&&!s.enabled&&(i.dataLabelPath=i.dataLabelPath.destroy()))}),r.prototype.setTextPath=r.prototype.setTextPath??function(t,e){let s=this.renderer.url,r=this.text||this,o=r.textPath,{attributes:a,enabled:l}=(0,i.merge)({enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},e);if(t=t||o&&o.path,o?.undo(),t&&l){let e=(0,i.addEvent)(r,"afterModifyTree",e=>{if(t&&l){let o=t.attr("id");o||t.attr("id",o=(0,i.uniqueKey)());let l={x:0,y:0};(0,i.defined)(a.dx)&&(l.dx=a.dx,delete a.dx),(0,i.defined)(a.dy)&&(l.dy=a.dy,delete a.dy),r.attr(l),this.attr({transform:""}),this.box&&(this.box=this.box.destroy());let n=e.nodes.slice(0);e.nodes.length=0,e.nodes[0]={tagName:"textPath",attributes:(0,i.extend)(a,{"text-anchor":a.textAnchor,href:`${s}#${o}`}),children:n}}});r.textPath={path:t,undo:e}}else r.attr({dx:0,dy:0}),delete r.textPath;return this.added&&(r.textCache="",this.renderer.buildText(r)),this});let tb=180/Math.PI,tf=function(t,e,i,s){return{x:t+Math.cos(i)*s,y:e+Math.sin(i)*s}};function tm(t,e){let i=e.mapIdToNode,s=t.parent,r=s?i[s]:void 0,o=e.series,a=o.chart,l=o.points[t.i],n=tu(t,{colors:o.options.colors||a&&a.options.colors,colorIndex:o.colorIndex,index:e.index,mapOptionsToLevel:e.mapOptionsToLevel,parentColor:r&&r.color,parentColorIndex:r&&r.colorIndex,series:e.series,siblings:e.siblings});return t.color=n.color,t.colorIndex=n.colorIndex,l&&(l.color=t.color,l.colorIndex=t.colorIndex,t.sliced=t.id!==e.idRoot&&l.sliced),t}class tx extends tp{alignDataLabel(t,e,i){if(!i.textPath||!i.textPath.enabled)return e.placed=!1,super.alignDataLabel.apply(this,arguments)}animate(t){let e,i=this.chart,s=[i.plotWidth/2,i.plotHeight/2],r=i.plotLeft,o=i.plotTop,a=this.group;t?(e={translateX:s[0]+r,translateY:s[1]+o,scaleX:.001,scaleY:.001,rotation:10,opacity:.01},a.attr(e)):(e={translateX:r,translateY:o,scaleX:1,scaleY:1,rotation:0,opacity:1},a.animate(e,this.options.animation))}drawPoints(){let t=this,e=t.mapOptionsToLevel,s=t.shapeRoot,r=t.group,o=t.hasRendered,a=t.rootNode,l=t.idPreviousRoot,n=t.nodeMap,d=n[l],h=d&&d.shapeArgs,p=t.points,u=t.startAndEndRadians,c=t.chart,g=c&&c.options&&c.options.chart||{},v="boolean"!=typeof g.animation||g.animation,b=t.center,f={x:b[0],y:b[1]},m=b[3]/2,x=t.chart.renderer,y=!!(v&&o&&a!==l&&t.dataLabelsGroup),L,P=!1,T=!1;for(let d of(y&&(t.dataLabelsGroup.attr({opacity:0}),L=function(){P=!0,t.dataLabelsGroup.animate({opacity:1,visibility:"inherit"})}),p)){let p,g,b=d.node,y=e[b.level],P=d.shapeExisting||{},w=b.shapeArgs||{},A=!!(b.visible&&b.shapeArgs);w.borderRadius=t.options.borderRadius,p=o&&v?function(t,e){let i=e.point,s=e.radians,r=e.innerR,o=e.idRoot,a=e.idPreviousRoot,l=e.shapeExisting,n=e.shapeRoot,d=e.shapePreviousRoot,h=e.visible,p={},u={end:t.end,start:t.start,innerR:t.innerR,r:t.r,x:t.x,y:t.y};return h?!i.graphic&&d&&((p=o===i.id?{start:s.start,end:s.end}:d.end<=t.start?{start:s.end,end:s.end}:{start:s.start,end:s.start}).innerR=p.r=r):i.graphic&&(a===i.id?u={innerR:r,r:r}:n&&(u=n.end<=l.start?{innerR:r,r:r,start:s.end,end:s.end}:{innerR:r,r:r,start:s.start,end:s.start})),{from:p,to:u}}(w,{center:f,point:d,radians:u,innerR:m,idRoot:a,idPreviousRoot:l,shapeExisting:P,shapeRoot:s,shapePreviousRoot:h,visible:A}):{to:w,from:{}},(0,i.extend)(d,{shapeExisting:w,tooltipPos:[w.plotX,w.plotY],drillId:function(t,e,i){let s;return t.node.isLeaf||(s=e===t.id?i[e].parent:t.id),s}(d,a,n),name:""+(d.name||d.id||d.index),plotX:w.plotX,plotY:w.plotY,value:b.val,isInside:A,isNull:!A}),d.dlOptions={...function(t){let e=t.point,s=(0,i.isObject)(t.shapeArgs)?t.shapeArgs:{},{end:r=0,radius:o=0,start:a=0}=s,l=(0,i.isObject)(t.optionsPoint)?t.optionsPoint.dataLabels:{},n=(0,i.splat)((0,i.isObject)(t.level)?t.level.dataLabels:{})[0],d=(0,i.merge)(n,l),h=d.style=d.style||{},p=(0,i.splat)(d.padding||0),u=p[3%p.length],c=p[1%p.length],{innerArcLength:g=0,outerArcLength:v=0}=e,b,f,m=d.rotationMode,x=(0,i.defined)(h.width)?parseInt(h.width||"0",10):void 0;return(0,i.isNumber)(d.rotation)||(("auto"===m||"circular"===m)&&(d.useHTML&&"circular"===m&&(m="auto"),g<1&&v>o?(b=0,e.dataLabelPath&&"circular"===m&&(d.textPath={enabled:!0}),r-a<Math.PI&&(x=.7*o)):g>1&&v>1.5*o?"circular"===m?d.textPath={enabled:!0,attributes:{dy:5}}:m="parallel":(e.dataLabel?.textPath&&"circular"===m&&(d.textPath={enabled:!1}),m="perpendicular")),"auto"!==m&&"circular"!==m&&(e.dataLabel?.textPath&&(d.textPath={enabled:!1}),b=r-(r-a)/2),"parallel"===m?x=Math.min(2.5*o,(v+g)/2):!(0,i.defined)(x)&&o&&(x=1===e.node.level?2*o:o),"perpendicular"===m&&(v<16?x=1:s.radius&&(h.lineClamp=Math.floor(g/16)||1,x=o-(g<16?(16-g)/(v-g)*o:0))),x=Math.max((x||0)-u-c,1),f=(b||0)*tb%180,"parallel"===m&&(f-=90),f>90?f-=180:f<-90&&(f+=180),d.rotation=f),d.textPath&&(0===e.shapeExisting.innerR&&d.textPath.enabled?(d.rotation=0,d.textPath.enabled=!1,x=Math.max(2*e.shapeExisting.r-u-c,1)):e.dlOptions?.textPath&&!e.dlOptions.textPath.enabled&&"circular"===m&&(d.textPath.enabled=!0),d.textPath.enabled&&(d.rotation=0,x=Math.max((v+g)/2-u-c,1),h.whiteSpace="nowrap")),h.width=x+"px",d}({point:d,level:y,optionsPoint:d.options,shapeArgs:w}),zIndex:void 0},delete d.dlOptions.zIndex,!T&&A&&(T=!0,g=L),d.draw({animatableAttribs:p.to,attribs:(0,i.extend)(p.from,!c.styledMode&&t.pointAttribs(d,d.selected&&"select")),onComplete:g,group:r,renderer:x,shapeType:"arc",shapeArgs:w})}y&&T?(t.hasRendered=!1,t.options.dataLabels.defer=!0,th.prototype.drawDataLabels.call(t),t.hasRendered=!0,P&&L?.()):th.prototype.drawDataLabels.call(t),t.idPreviousRoot=a}layoutAlgorithm(t,e,s){let r=t.start,o=t.end-r,a=t.val,l=t.x,n=t.y,d=s&&(0,i.isObject)(s.levelSize)&&(0,i.isNumber)(s.levelSize.value)?s.levelSize.value:0,h=t.r,p=h+d,u=s&&(0,i.isNumber)(s.slicedOffset)?s.slicedOffset:0;return(e||[]).reduce((t,e)=>{let i=1/a*e.val*o,s=tf(l,n,r+i/2,u),c={x:e.sliced?s.x:l,y:e.sliced?s.y:n,innerR:h,r:p,radius:d,start:r,end:r+i};return t.push(c),r=c.end,t},[])}setRootNode(t,e,i){if(1===this.nodeMap[t].level&&1===this.nodeList.filter(t=>1===t.level).length){if(""===this.idPreviousRoot)return;t=""}super.setRootNode(t,e,i)}setShapeArgs(t,e,s){let r=s[t.level+1],o=t.children.filter(function(t){return t.visible}),a=[];a=this.layoutAlgorithm(e,o,r);let l=-1;for(let t of o){let e=a[++l],r=e.start+(e.end-e.start)/2,o=e.innerR+(e.r-e.innerR)/2,n=e.end-e.start,d=0===e.innerR&&n>6.28?{x:e.x,y:e.y}:tf(e.x,e.y,r,o),h=t.val?t.childrenTotal>t.val?t.childrenTotal:t.val:t.childrenTotal;this.points[t.i]&&(this.points[t.i].innerArcLength=n*e.innerR,this.points[t.i].outerArcLength=n*e.r),t.shapeArgs=(0,i.merge)(e,{plotX:d.x,plotY:d.y}),t.values=(0,i.merge)(e,{val:h}),t.children.length&&this.setShapeArgs(t,t.values,s)}}translate(){let t=this.options,e=this.center=this.getCenter(),s=this.startAndEndRadians=tn(t.startAngle,t.endAngle),r=e[3]/2,o=e[2]/2,a=tv(this),l=this.nodeMap,n,d=l&&l[a],h={};this.shapeRoot=d&&d.shapeArgs,this.generatePoints(),(0,i.fireEvent)(this,"afterTranslate");let p=this.tree=this.getTree();d=(l=this.nodeMap)[a];let u=l[(0,i.isString)(d.parent)?d.parent:""],{from:c,to:g}=tr.getLevelFromAndTo(d);n=tc({from:c,levels:this.options.levels,to:g,defaults:{colorByPoint:t.colorByPoint,dataLabels:t.dataLabels,levelIsConstant:t.levelIsConstant,levelSize:t.levelSize,slicedOffset:t.slicedOffset}}),n=tr.calculateLevelSizes(n,{diffRadius:o-r,from:c,to:g}),tg(p,{before:tm,idRoot:a,levelIsConstant:t.levelIsConstant,mapOptionsToLevel:n,mapIdToNode:l,points:this.points,series:this});let v=l[""].shapeArgs={end:s.end,r:r,start:s.start,val:d.val,x:e[0],y:e[1]};for(let t of(this.setShapeArgs(u,v,n),this.mapOptionsToLevel=n,this.points))h[t.id]&&(0,i.error)(31,!1,this.chart),h[t.id]=!0}}tx.defaultOptions=(0,i.merge)(tp.defaultOptions,{center:["50%","50%"],clip:!1,colorByPoint:!1,opacity:1,dataLabels:{allowOverlap:!0,defer:!0,rotationMode:"circular",style:{textOverflow:"ellipsis"}},rootId:void 0,levelIsConstant:!0,levelSize:{value:1,unit:"weight"},slicedOffset:10}),(0,i.extend)(tx.prototype,{axisTypes:[],drawDataLabels:td,getCenter:tl,isCartesian:!1,onPointSupported:!0,pointAttribs:th.prototype.pointAttribs,pointClass:te,NodeClass:class extends I{},utils:tr}),P().registerSeriesType("sunburst",tx);let ty=n();ty.Breadcrumbs=ty.Breadcrumbs||m,ty.Breadcrumbs.compose(ty.Chart,ty.defaultOptions),Z.compose(ty.Series);let tL=n();export{tL as default};
11
+ */import*as t from"../highcharts.js";let e={};e.n=t=>{let i=t&&t.__esModule?()=>t.default:()=>t;return e.d(i,{a:i}),i},e.d=(t,i)=>{for(var s in i)e.o(i,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:i[s]})},e.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let i=t.default;var s,r,o,l,a,n=e.n(i);let d={mainBreadcrumb:"Main"},h=t.default.Templating,{format:p}=(e.n(h))(),{composed:u}=n();function c(){if(this.breadcrumbs){let t=this.resetZoomButton&&this.resetZoomButton.getBBox(),e=this.breadcrumbs.options;t&&"right"===e.position.align&&"plotBox"===e.relativeTo&&this.breadcrumbs.alignBreadcrumbsGroup(-t.width-e.buttonSpacing)}}function g(){this.breadcrumbs&&(this.breadcrumbs.destroy(),this.breadcrumbs=void 0)}function v(){let t=this.breadcrumbs;if(t&&!t.options.floating&&t.level){let e=t.options,i=e.buttonTheme,s=(i.height||0)+2*(i.padding||0)+e.buttonSpacing,r=e.position.verticalAlign;"bottom"===r?(this.marginBottom=(this.marginBottom||0)+s,t.yOffset=s):"middle"!==r?(this.plotTop+=s,t.yOffset=-s):t.yOffset=void 0}}function b(){this.breadcrumbs&&this.breadcrumbs.redraw()}function f(t){!0===t.resetSelection&&this.breadcrumbs&&this.breadcrumbs.alignBreadcrumbsGroup()}class m{static compose(t,e){(0,i.pushUnique)(u,"Breadcrumbs")&&((0,i.addEvent)(t,"destroy",g),(0,i.addEvent)(t,"afterShowResetZoom",c),(0,i.addEvent)(t,"getMargins",v),(0,i.addEvent)(t,"redraw",b),(0,i.addEvent)(t,"selection",f),(0,i.extend)(e.lang,d))}constructor(t,e){this.elementList={},this.isDirty=!0,this.level=0,this.list=[];let s=(0,i.merge)(t.options.drilldown&&t.options.drilldown.drillUpButton,m.defaultOptions,t.options.navigation&&t.options.navigation.breadcrumbs,e);this.chart=t,this.options=s||{}}updateProperties(t){this.setList(t),this.setLevel(),this.isDirty=!0}setList(t){this.list=t}setLevel(){this.level=this.list.length&&this.list.length-1}getLevel(){return this.level}getButtonText(t){let e=this.chart,s=this.options,r=e.options.lang,o=s.format??(s.showFullPath?"{level.name}":"← {level.name}"),l=r&&(r.drillUpText??r.mainBreadcrumb),a=s.formatter&&s.formatter(t)||p(o,{level:t.levelOptions},e)||"";return((0,i.isString)(a)&&!a.length||"← "===a)&&(0,i.defined)(l)&&(a=s.showFullPath?l:"← "+l),a}redraw(){this.isDirty&&this.render(),this.group&&this.group.align(),this.isDirty=!1}render(){let t=this.chart,e=this.options;!this.group&&e&&(this.group=t.renderer.g("breadcrumbs-group").addClass("highcharts-no-tooltip highcharts-breadcrumbs").attr({zIndex:e.zIndex}).add()),e.showFullPath?this.renderFullPathButtons():this.renderSingleButton(),this.alignBreadcrumbsGroup()}renderFullPathButtons(){this.destroySingleButton(),this.resetElementListState(),this.updateListElements(),this.destroyListElements()}renderSingleButton(){let t=this.chart,e=this.list,i=this.options.buttonSpacing;this.destroyListElements();let s=this.group?this.group.getBBox().width:i,r=e[e.length-2];!t.drillUpButton&&this.level>0?t.drillUpButton=this.renderButton(r,s,i):t.drillUpButton&&(this.level>0?this.updateSingleButton():this.destroySingleButton())}alignBreadcrumbsGroup(t){if(this.group){let e=this.options,s=e.buttonTheme,r=e.position,o="chart"===e.relativeTo||"spacingBox"===e.relativeTo?void 0:"plotBox",l=this.group.getBBox(),a=2*(s.padding||0)+e.buttonSpacing;r.width=l.width+a,r.height=l.height+a;let n=(0,i.merge)(r);t&&(n.x+=t),this.options.rtl&&(n.x+=r.width),n.y=n.y??this.yOffset??0,this.group.align(n,!0,o)}}renderButton(t,e,s){let r=this,o=this.chart,l=r.options,a=(0,i.merge)(l.buttonTheme,o.styledMode?void 0:{style:l.style});return o.renderer.button(r.getButtonText(t),e,s,function(e){let s,o=l.events&&l.events.click;o&&(s=o.call(r,e,t,r)),!1!==s&&(l.showFullPath?e.newLevel=t.level:e.newLevel=r.level-1,(0,i.fireEvent)(r,"up",e))},a).addClass("highcharts-breadcrumbs-button").add(r.group)}renderSeparator(t,e){let i=this.chart,s=this.options.separator,r=i.renderer.label(s.text,t,e,void 0,void 0,void 0,!1).addClass("highcharts-breadcrumbs-separator").add(this.group);return i.styledMode||r.css(s.style),r}update(t){(0,i.merge)(!0,this.options,t),this.destroy(),this.isDirty=!0}updateSingleButton(){let t=this.chart,e=this.list[this.level-1];t.drillUpButton&&t.drillUpButton.attr({text:this.getButtonText(e)})}destroy(){this.destroySingleButton(),this.destroyListElements(!0),this.group&&this.group.destroy(),this.group=void 0}destroyListElements(t){let e=this.elementList;(0,i.objectEach)(e,(i,s)=>{(t||!e[s].updated)&&((i=e[s]).button&&i.button.destroy(),i.separator&&i.separator.destroy(),delete i.button,delete i.separator,delete e[s])}),t&&(this.elementList={})}destroySingleButton(){this.chart.drillUpButton&&(this.chart.drillUpButton.destroy(),this.chart.drillUpButton=void 0)}resetElementListState(){(0,i.objectEach)(this.elementList,t=>{t.updated=!1})}updateListElements(){let t=this.elementList,e=this.options.buttonSpacing,i=this.list,s=this.options.rtl,r=s?-1:1,o=function(t,e){return r*t.getBBox().width+r*e},l=function(t,e,i){t.translate(e-t.getBBox().width,i)},a=this.group?o(this.group,e):e,n,d;for(let h=0,p=i.length;h<p;++h){let u,c,g=h===p-1;t[(d=i[h]).level]?(u=(n=t[d.level]).button,n.separator||g?n.separator&&g&&(n.separator.destroy(),delete n.separator):(a+=r*e,n.separator=this.renderSeparator(a,e),s&&l(n.separator,a,e),a+=o(n.separator,e)),t[d.level].updated=!0):(u=this.renderButton(d,a,e),s&&l(u,a,e),a+=o(u,e),g||(c=this.renderSeparator(a,e),s&&l(c,a,e),a+=o(c,e)),t[d.level]={button:u,separator:c,updated:!0}),u&&u.setState(2*!!g)}}}m.defaultOptions={buttonSpacing:5,buttonTheme:{fill:"none",height:18,padding:2,"stroke-width":0,zIndex:7,states:{select:{fill:"none"}},style:{color:"var(--highcharts-highlight-color-80)"}},floating:!1,format:void 0,relativeTo:"plotBox",rtl:!1,position:{align:"left",verticalAlign:"top",x:0,y:void 0},separator:{text:"/",style:{color:"var(--highcharts-neutral-color-60)",fontSize:"0.8em"}},showFullPath:!0,style:{},useHTML:!1,zIndex:7};let x=t.default.Color;var y=e.n(x);let L=t.default.SeriesRegistry;var P=e.n(L);let T=t.default.SVGElement;var w=e.n(T);let{column:{prototype:A}}=P().seriesTypes;var O=o||(o={});function S(t){let e=this.series,i=e.chart.renderer;this.moveToTopOnHover&&this.graphic&&(e.stateMarkerGraphic||(e.stateMarkerGraphic=new(w())(i,"use").css({pointerEvents:"none"}).add(this.graphic.parentGroup)),t?.state==="hover"?(this.graphic.attr({id:this.id}),e.stateMarkerGraphic.attr({href:`${i.url}#${this.id}`,visibility:"visible"})):e.stateMarkerGraphic.attr({href:""}))}O.pointMembers={dataLabelOnNull:!0,moveToTopOnHover:!0,isValid:function(){return null!==this.value&&1/0!==this.value&&-1/0!==this.value&&(void 0===this.value||!isNaN(this.value))}},O.seriesMembers={colorKey:"value",axisTypes:["xAxis","yAxis","colorAxis"],parallelArrays:["x","y","value"],pointArrayMap:["value"],trackerGroups:["group","markerGroup","dataLabelsGroup"],colorAttribs:function(t){let e={};return(0,i.defined)(t.color)&&(!t.state||"normal"===t.state)&&(e[this.colorProp||"fill"]=t.color),e},pointAttribs:A.pointAttribs},O.compose=function(t){let e=t.prototype.pointClass;return(0,i.addEvent)(e,"afterSetState",S),t};let R=o,M=t.default.Series;var C=e.n(M);let B=class{constructor(t,e,i,s){this.height=t,this.width=e,this.plot=s,this.direction=i,this.startDirection=i,this.total=0,this.nW=0,this.lW=0,this.nH=0,this.lH=0,this.elArr=[],this.lP={total:0,lH:0,nH:0,lW:0,nW:0,nR:0,lR:0,aspectRatio:function(t,e){return Math.max(t/e,e/t)}}}addElement(t){this.lP.total=this.elArr[this.elArr.length-1],this.total=this.total+t,0===this.direction?(this.lW=this.nW,this.lP.lH=this.lP.total/this.lW,this.lP.lR=this.lP.aspectRatio(this.lW,this.lP.lH),this.nW=this.total/this.height,this.lP.nH=this.lP.total/this.nW,this.lP.nR=this.lP.aspectRatio(this.nW,this.lP.nH)):(this.lH=this.nH,this.lP.lW=this.lP.total/this.lH,this.lP.lR=this.lP.aspectRatio(this.lP.lW,this.lH),this.nH=this.total/this.width,this.lP.nW=this.lP.total/this.nH,this.lP.nR=this.lP.aspectRatio(this.lP.nW,this.nH)),this.elArr.push(t)}reset(){this.nW=0,this.lW=0,this.elArr=[],this.total=0}},I=class{constructor(){this.childrenTotal=0,this.visible=!1}init(t,e,i,s,r,o,l){return this.id=t,this.i=e,this.children=i,this.height=s,this.level=r,this.series=o,this.parent=l,this}},N=function(t,e){let{animatableAttribs:i,onComplete:s,css:r,renderer:o}=e,l=t.series&&t.series.chart.hasRendered?void 0:t.series&&t.series.options.animation,a=t.graphic;if(e.attribs={...e.attribs,class:t.getClassName()},t.shouldDraw())a||(t.graphic=a="text"===e.shapeType?o.text():"image"===e.shapeType?o.image(e.imageUrl||"").attr(e.shapeArgs||{}):o[e.shapeType](e.shapeArgs||{}),a.add(e.group)),r&&a.css(r),a.attr(e.attribs).animate(i,!e.isNew&&l,s);else if(a){let e=()=>{t.graphic=a=a&&a.destroy(),"function"==typeof s&&s()};Object.keys(i).length?a.animate(i,void 0,()=>e()):e()}},{pie:{prototype:{pointClass:E}},scatter:{prototype:{pointClass:D}}}=P().seriesTypes;class G extends D{constructor(){super(...arguments),this.groupedPointsAmount=0,this.shapeType="rect"}draw(t){N(this,t)}getClassName(){let t=this.series,e=t.options,i=super.getClassName();return this.node.level<=t.nodeMap[t.rootNode].level&&this.node.children.length?i+=" highcharts-above-level":this.node.isGroup||this.node.isLeaf||t.nodeMap[t.rootNode].isGroup||(e.interactByLeaf??!e.allowTraversingTree)?this.node.isGroup||this.node.isLeaf||t.nodeMap[t.rootNode].isGroup||(i+=" highcharts-internal-node"):i+=" highcharts-internal-node-interactive",i}isValid(){return!!(this.id||(0,i.isNumber)(this.value))}setState(t){super.setState.apply(this,arguments),this.graphic&&this.graphic.attr({zIndex:+("hover"===t)})}shouldDraw(){return(0,i.isNumber)(this.plotY)&&null!==this.y}}(0,i.extend)(G.prototype,{setVisible:E.prototype.setVisible});let z={allowTraversingTree:!1,animationLimit:250,borderRadius:0,showInLegend:!1,marker:void 0,colorByPoint:!1,dataLabels:{enabled:!0,formatter:function(){let t=this&&this.point?this.point:{};return(0,i.isString)(t.name)?t.name:""},headers:!1,inside:!0,padding:2,verticalAlign:"middle",style:{textOverflow:"ellipsis"}},tooltip:{headerFormat:"",pointFormat:"<b>{point.name}</b>: {point.value}<br/>",clusterFormat:"+ {point.groupedPointsAmount} more...<br/>"},ignoreHiddenPoint:!0,layoutAlgorithm:"sliceAndDice",layoutStartingDirection:"vertical",alternateStartingDirection:!1,levelIsConstant:!0,traverseUpButton:{position:{align:"right",x:-10,y:10}},borderColor:"var(--highcharts-neutral-color-10)",borderWidth:1,colorKey:"colorValue",opacity:.15,states:{hover:{borderColor:"var(--highcharts-neutral-color-40)",brightness:.1*!P().seriesTypes.heatmap,halo:!1,opacity:.75,shadow:!1}},legendSymbol:"rectangle",traverseToLeaf:!1,cluster:{className:void 0,color:void 0,enabled:!1,pixelWidth:void 0,pixelHeight:void 0,name:void 0,reductionFactor:void 0,minimumClusterSize:5,layoutAlgorithm:{distance:0,gridSize:0,kmeansThreshold:0},marker:{lineWidth:0,radius:0}}};(l||(l={})).recursive=function t(e,i,s){let r=i.call(s||this,e);!1!==r&&t(r,i,s)};let k=l,U={getColor:function(t,e){let i,s,r,o,l,a,n=e.index,d=e.mapOptionsToLevel,h=e.parentColor,p=e.parentColorIndex,u=e.series,c=e.colors,g=e.siblings,v=u.points,b=u.chart.options.chart;if(t){let f;i=v[t.i],s=d[t.level]||{},i&&s.colorByPoint&&(o=i.index%(c?c.length:b.colorCount),r=c&&c[o]),u.chart.styledMode||(l=(i&&i.options.color)??(s&&s.color)??r??(h&&((f=s&&s.colorVariation)&&"brightness"===f.key&&n&&g?y().parse(h).brighten(f.to*(n/g)).get():h))??u.color),a=(i&&i.options.colorIndex)??(s&&s.colorIndex)??o??p??e.colorIndex}return{color:l,colorIndex:a}},getLevelOptions:function(t){let e,s,r,o,l,a,n={};if((0,i.isObject)(t))for(o=(0,i.isNumber)(t.from)?t.from:1,a=t.levels,s={},e=(0,i.isObject)(t.defaults)?t.defaults:{},(0,i.isArray)(a)&&(s=a.reduce((t,s)=>{let r,l,a;return(0,i.isObject)(s)&&(0,i.isNumber)(s.level)&&(l=(a=(0,i.merge)({},s)).levelIsConstant??e.levelIsConstant,delete a.levelIsConstant,delete a.level,r=s.level+(l?0:o-1),(0,i.isObject)(t[r])?(0,i.merge)(!0,t[r],a):t[r]=a),t},{})),l=(0,i.isNumber)(t.to)?t.to:1,r=0;r<=l;r++)n[r]=(0,i.merge)({},e,(0,i.isObject)(s[r])?s[r]:{});return n},getNodeWidth:function(t,e){let{chart:s,options:r}=t,{nodeDistance:o=0,nodeWidth:l=0}=r,{plotSizeX:a=1}=s;if("auto"===l){if("string"==typeof o&&/%$/.test(o))return a/(e+parseFloat(o)/100*(e-1));let t=Number(o);return(a+t)/(e||1)-t}return(0,i.relativeLength)(l,a)},setTreeValues:function t(e,s){let r=s.before,o=s.idRoot,l=s.mapIdToNode[o],a=!1!==s.levelIsConstant,n=s.points[e.i],d=n&&n.options||{},h=[],p=0;e.levelDynamic=e.level-(a?0:l.level),e.name=(n&&n.name)??"",e.visible=o===e.id||!0===s.visible,"function"==typeof r&&(e=r(e,s)),e.children.forEach((r,o)=>{let l=(0,i.extend)({},s);(0,i.extend)(l,{index:o,siblings:e.children.length,visible:e.visible}),r=t(r,l),h.push(r),r.visible&&(p+=r.val)});let u=d.value??p;return e.visible=u>=0&&(p>0||e.visible),e.children=h,e.childrenTotal=p,e.isLeaf=e.visible&&!p,e.val=u,e},updateRootId:function(t){let e,s;return(0,i.isObject)(t)&&(s=(0,i.isObject)(t.options)?t.options:{},e=t.rootNode??s.rootId??"",(0,i.isObject)(t.userOptions)&&(t.userOptions.rootId=e),t.rootNode=e),e}},{parse:V}=y(),{composed:W,noop:H}=n(),{column:F,scatter:j}=P().seriesTypes,{getColor:Y,getLevelOptions:X,updateRootId:$}=U;C().keepProps.push("simulation","hadOutsideDataLabels");let q=!1;function K(){let t=this.xAxis,e=this.yAxis;if(t&&e)if(this.is("treemap")){let s={endOnTick:!1,startOnTick:!1,visible:!1};this.is("treegraph")||(s.min=0,s.max=100,s.tickPositions=[]),(0,i.merge)(!0,t.options,s,t.userOptions),(0,i.merge)(!0,e.options,s,e.userOptions),t.visible=t.options.visible,e.visible=e.options.visible,this.is("treegraph")&&(this.isCartesian=t.visible),q=!0}else q&&(e.setOptions(e.userOptions),t.setOptions(t.userOptions),q=!1)}class Z extends j{constructor(){super(...arguments),this.simulation=0}static compose(t){(0,i.pushUnique)(W,"TreemapSeries")&&(0,i.addEvent)(t,"afterBindAxes",K)}algorithmCalcPoints(t,e,s,r){let o=s.plot,l=s.elArr.length-1,a,n,d,h,p=s.lW,u=s.lH,c,g=0;for(let t of(e?(p=s.nW,u=s.nH):c=s.elArr[l],s.elArr))(e||g<l)&&(0===s.direction?(a=o.x,n=o.y,h=t/(d=p)):(a=o.x,n=o.y,d=t/(h=u)),r.push({x:a,y:n,width:d,height:(0,i.correctFloat)(h)}),0===s.direction?o.y=o.y+h:o.x=o.x+d),g+=1;s.reset(),0===s.direction?s.width=s.width-p:s.height=s.height-u,o.y=o.parent.y+(o.parent.height-s.height),o.x=o.parent.x+(o.parent.width-s.width),t&&(s.direction=1-s.direction),e||s.addElement(c)}algorithmFill(t,e,i){let s=[],r,o=e.direction,l=e.x,a=e.y,n=e.width,d=e.height,h,p,u,c;for(let g of i)r=e.width*e.height*(g.val/e.val),h=l,p=a,0===o?(n-=u=r/(c=d),l+=u):(d-=c=r/(u=n),a+=c),s.push({x:h,y:p,width:u,height:c,direction:0,val:0}),t&&(o=1-o);return s}algorithmLowAspectRatio(t,e,i){let s=[],r={x:e.x,y:e.y,parent:e},o=e.direction,l=i.length-1,a=new B(e.height,e.width,o,r),n,d=0;for(let o of i)n=e.width*e.height*(o.val/e.val),a.addElement(n),a.lP.nR>a.lP.lR&&this.algorithmCalcPoints(t,!1,a,s,r),d===l&&this.algorithmCalcPoints(t,!0,a,s,r),++d;return s}alignDataLabel(t,e,i){F.prototype.alignDataLabel.apply(this,arguments),t.dataLabel&&t.dataLabel.attr({zIndex:(t.node.zIndex||0)+1})}applyTreeGrouping(){let t=this,e=t.parentList||{},{cluster:s}=t.options,r=s?.minimumClusterSize||5;if(s?.enabled){let o={},l=t=>{if(t?.point?.shapeArgs){let{width:e=0,height:r=0}=t.point.shapeArgs,{pixelWidth:l=0,pixelHeight:a=0}=s,n=(0,i.defined)(a),d=a?l*a:l*l;(e<l||r<(n?a:l)||e*r<d)&&!t.isGroup&&(0,i.defined)(t.parent)&&(o[t.parent]||(o[t.parent]=[]),o[t.parent].push(t))}t?.children.forEach(t=>{l(t)})};for(let a in l(t.tree),o)o[a]&&o[a].length>r&&o[a].forEach(r=>{let o=e[a].indexOf(r.i);if(-1!==o){e[a].splice(o,1);let l=`highcharts-grouped-treemap-points-${r.parent||"root"}`,n=t.points.find(t=>t.id===l);if(!n){let r=t.pointClass,o=t.points.length;n=new r(t,{className:s.className,color:s.color,id:l,index:o,isGroup:!0,value:0}),(0,i.extend)(n,{formatPrefix:"cluster"}),t.points.push(n),e[a].push(o),e[l]=[]}let d=n.groupedPointsAmount+1,h=t.points[n.index].options.value||0,p=s.name||`+ ${d}`;t.points[n.index].groupedPointsAmount=d,t.points[n.index].options.value=h+(r.point.value||0),t.points[n.index].name=p,e[l].push(r.point.index)}});t.nodeMap={},t.nodeList=[],t.parentList=e;let a=t.buildTree("",-1,0,t.parentList);t.translate(a)}}calculateChildrenAreas(t,e){let s=this.options,r=this.mapOptionsToLevel[t.level+1],o=(r?.layoutAlgorithm&&this[r?.layoutAlgorithm]&&r.layoutAlgorithm)??s.layoutAlgorithm,l=s.alternateStartingDirection,a=t.children.filter(e=>t.isGroup||!e.ignore),n=r?.groupPadding??s.groupPadding??0,d=this.nodeMap[this.rootNode];if(!o)return;let h=[],p=d.pointValues?.width||0,u=d.pointValues?.height||0;r?.layoutStartingDirection&&(e.direction=+("vertical"!==r.layoutStartingDirection)),h=this[o](e,a);let c=-1;for(let t of a){let s=h[++c];t===d&&(p=p||s.width,u=s.height);let r=n/(this.xAxis.len/u),o=n/(this.yAxis.len/u);if(t.values=(0,i.merge)(s,{val:t.childrenTotal,direction:l?1-e.direction:e.direction}),t.children.length&&t.point.dataLabels?.length){let e=(0,i.arrayMax)(t.point.dataLabels.map(t=>t.options?.headers&&t.height||0))/(this.yAxis.len/u);e<t.values.height/2&&(t.values.y+=e,t.values.height-=e)}if(n){let e=Math.min(r,t.values.width/4),i=Math.min(o,t.values.height/4);t.values.x+=e,t.values.width-=2*e,t.values.y+=i,t.values.height-=2*i}t.pointValues=(0,i.merge)(s,{x:s.x/this.axisRatio,y:100-s.y-s.height,width:s.width/this.axisRatio}),t.children.length&&this.calculateChildrenAreas(t,t.values)}let g=(t,e=[],i=!0)=>(t.children.forEach(t=>{i&&t.isLeaf?e.push(t.point):i||t.isLeaf||e.push(t.point),t.children.length&&g(t,e,i)}),e);if("leaf"===s.nodeSizeBy&&t===d&&this.hasOutsideDataLabels&&!g(d,void 0,!1).some(t=>(0,i.isNumber)(t.options.value))&&!(0,i.isNumber)(d.point?.options.value)){let s=g(d),r=s.map(t=>t.options.value||0),o=s.map(({node:{pointValues:t}})=>t?t.width*t.height:0),l=r.reduce((t,e)=>t+e,0),a=o.reduce((t,e)=>t+e,0)/l,n=0,h=0;s.forEach((t,e)=>{let s=r[e]?o[e]/r[e]:1,l=(0,i.clamp)(s/a,.8,1.4),d=1-l;t.value&&(o[e]<20&&(d*=o[e]/20),d>h&&(h=d),d<n&&(n=d),t.simulatedValue=(t.simulatedValue||t.value)/l)}),(n<-.05||h>.05)&&this.simulation<10?(this.simulation++,this.setTreeValues(t),e.val=t.val,this.calculateChildrenAreas(t,e)):(s.forEach(t=>{delete t.simulatedValue}),this.setTreeValues(t),this.simulation=0)}}createList(t){let e=this.chart,i=e.breadcrumbs,s=[];if(i){let i=0;s.push({level:i,levelOptions:e.series[0]});let r=t.target.nodeMap[t.newRootId],o=[];for(;r.parent||""===r.parent;)o.push(r),r=t.target.nodeMap[r.parent];for(let t of o.reverse())s.push({level:++i,levelOptions:t});s.length<=1&&(s.length=0)}return s}drawDataLabels(){let t=this.mapOptionsToLevel,e=this.points.filter(function(t){return t.node.visible||(0,i.defined)(t.dataLabel)}),s=(0,i.splat)(this.options.dataLabels||{})[0]?.padding,r=e.some(t=>(0,i.isNumber)(t.plotY));for(let o of e){let e={},l={style:e},a=t[o.node.level];if((!o.node.isLeaf&&!o.node.isGroup||o.node.isGroup&&o.node.level<=this.nodeMap[this.rootNode].level)&&(l.enabled=!1),a?.dataLabels&&((0,i.merge)(!0,l,(0,i.splat)(a.dataLabels)[0]),this.hasDataLabels=()=>!0),o.node.isLeaf?l.inside=!0:l.headers&&(l.verticalAlign="top"),o.shapeArgs&&r){let{height:t=0,width:r=0}=o.shapeArgs;if(r>32&&t>16&&o.shouldDraw()){let a=r-2*((0,i.splat)(l.padding)[0]||(0,i.splat)(s)[0]||0);e.width=`${a}px`,e.lineClamp??(e.lineClamp=Math.floor(t/16)),this.options.allowTraversingTree&&(e.visibility="inherit"),o.dataLabel?.attr({width:l.headers?a:void 0})}else e.width=`${r}px`,e.visibility="hidden"}o.dlOptions=(0,i.merge)(l,o.options.dataLabels,{zIndex:void 0}),delete o.dlOptions.zIndex}super.drawDataLabels(e)}drawPoints(t=this.points){let e=this.chart,s=e.renderer,r=e.styledMode,o=this.options,l=r?{}:o.shadow,a=o.borderRadius,n=e.pointCount<o.animationLimit,d=o.allowTraversingTree;for(let e of t){let t={},h={},p={},u="level-group-"+e.node.level,c=!!e.graphic,g=n&&c,v=e.shapeArgs;e.shouldDraw()&&(e.isInside=!0,a&&(h.r=a),(0,i.merge)(!0,g?t:h,c?v:{},r?{}:this.pointAttribs(e,e.selected?"select":void 0)),this.colorAttribs&&r&&(0,i.extend)(p,this.colorAttribs(e)),this[u]||(this[u]=s.g(u).attr({zIndex:-(e.node.level||0)}).add(this.group),this[u].survive=!0)),e.draw({animatableAttribs:t,attribs:h,css:p,group:this[u],imageUrl:e.imageUrl,renderer:s,shadow:l,shapeArgs:v,shapeType:e.shapeType}),d&&e.graphic&&(e.drillId=o.interactByLeaf?this.drillToByLeaf(e):this.drillToByGroup(e))}}drillToByGroup(t){return(!t.node.isLeaf||!!t.node.isGroup)&&t.id}drillToByLeaf(t){let{traverseToLeaf:e}=t.series.options,i=!1,s;if(t.node.parent!==this.rootNode&&t.node.isLeaf)if(e)i=t.id;else for(s=t.node;!i;)void 0!==s.parent&&(s=this.nodeMap[s.parent]),s.parent===this.rootNode&&(i=s.id);return i}drillToNode(t,e){(0,i.error)(32,!1,void 0,{"treemap.drillToNode":"use treemap.setRootNode"}),this.setRootNode(t,e)}drillUp(){let t=this.nodeMap[this.rootNode];t&&(0,i.isString)(t.parent)&&this.setRootNode(t.parent,!0,{trigger:"traverseUpButton"})}getExtremes(){let{dataMin:t,dataMax:e}=super.getExtremes(this.colorValueData);return this.valueMin=t,this.valueMax=e,super.getExtremes()}getListOfParents(t,e){let s=(0,i.isArray)(t)?t:[],r=(0,i.isArray)(e)?e:[],o=s.reduce(function(t,e,i){let s=e.parent??"";return void 0===t[s]&&(t[s]=[]),t[s].push(i),t},{"":[]});for(let t of Object.keys(o)){let e=o[t];if(""!==t&&-1===r.indexOf(t)){for(let t of e)o[""].push(t);delete o[t]}}return o}getTree(){let t=this.data.map(function(t){return t.id});return this.parentList=this.getListOfParents(this.data,t),this.nodeMap={},this.nodeList=[],this.buildTree("",-1,0,this.parentList||{})}buildTree(t,e,s,r,o){let l=[],a=this.points[e],n=0,d;for(let e of r[t]||[])n=Math.max((d=this.buildTree(this.points[e].id,e,s+1,r,t)).height+1,n),l.push(d),this.is("treegraph")&&(d.visible=!0);let h=new this.NodeClass().init(t,e,l,n,s,this,o);for(let t of l)t.parentNode=h;return this.nodeMap[h.id]=h,this.nodeList.push(h),a&&(a.node=h,h.point=a,(0,i.defined)(a.options.x)||(a.x=s)),h}hasData(){return!!this.dataTable.rowCount}init(t,e){let s=this,r=(0,i.merge)(e.drillUpButton,e.breadcrumbs),o=(0,i.addEvent)(s,"setOptions",t=>{let e=t.userOptions;(0,i.defined)(e.allowDrillToNode)&&!(0,i.defined)(e.allowTraversingTree)&&(e.allowTraversingTree=e.allowDrillToNode,delete e.allowDrillToNode),(0,i.defined)(e.drillUpButton)&&!(0,i.defined)(e.traverseUpButton)&&(e.traverseUpButton=e.drillUpButton,delete e.drillUpButton);let s=(0,i.splat)(e.dataLabels||{});e.levels?.forEach(t=>{s.push.apply(s,(0,i.splat)(t.dataLabels||{}))}),this.hasOutsideDataLabels=s.some(t=>t.headers)});super.init(t,e),delete s.opacity,s.eventsToUnbind.push(o),s.options.allowTraversingTree&&(s.eventsToUnbind.push((0,i.addEvent)(s,"click",s.onClickDrillToNode)),s.eventsToUnbind.push((0,i.addEvent)(s,"setRootNode",function(t){let e=s.chart;e.breadcrumbs&&e.breadcrumbs.updateProperties(s.createList(t))})),s.eventsToUnbind.push((0,i.addEvent)(s,"update",function(t,e){let i=this.chart.breadcrumbs;i&&t.options.breadcrumbs&&i.update(t.options.breadcrumbs),this.hadOutsideDataLabels=this.hasOutsideDataLabels})),s.eventsToUnbind.push((0,i.addEvent)(s,"destroy",function(t){let e=this.chart;e.breadcrumbs&&!t.keepEventsForUpdate&&(e.breadcrumbs.destroy(),e.breadcrumbs=void 0)}))),t.breadcrumbs||(t.breadcrumbs=new m(t,r)),s.eventsToUnbind.push((0,i.addEvent)(t.breadcrumbs,"up",function(t){let e=this.level-t.newLevel;for(let t=0;t<e;t++)s.drillUp()}))}onClickDrillToNode(t){let e=t.point,s=e?.drillId;(0,i.isString)(s)&&(e.setState(""),this.setRootNode(s,!0,{trigger:"click"}))}pointAttribs(t,e){let s=(0,i.isObject)(this.mapOptionsToLevel)?this.mapOptionsToLevel:{},r=t?.node&&s[t.node.level]||{},o=this.options,l=e&&o.states&&o.states[e]||{},a=t?.node&&t.getClassName()||"",n={stroke:t&&t.borderColor||r.borderColor||l.borderColor||o.borderColor,"stroke-width":(t&&t.borderWidth)??r.borderWidth??l.borderWidth??o.borderWidth,dashstyle:t?.borderDashStyle||r.borderDashStyle||l.borderDashStyle||o.borderDashStyle,fill:t?.color||this.color};return -1!==a.indexOf("highcharts-above-level")?(n.fill="none",n["stroke-width"]=0):-1!==a.indexOf("highcharts-internal-node-interactive")?(n["fill-opacity"]=l.opacity??o.opacity??1,n.cursor="pointer"):-1!==a.indexOf("highcharts-internal-node")?n.fill="none":e&&l.brightness&&(n.fill=V(n.fill).brighten(l.brightness).get()),n}setColorRecursive(t,e,i,s,r){let o=this?.chart,l=o?.options?.colors;if(t){let o=Y(t,{colors:l,index:s,mapOptionsToLevel:this.mapOptionsToLevel,parentColor:e,parentColorIndex:i,series:this,siblings:r}),a=this.points[t.i];a&&(a.color=o.color,a.colorIndex=o.colorIndex);let n=-1;for(let e of t.children||[])this.setColorRecursive(e,o.color,o.colorIndex,++n,t.children.length)}}setPointValues(){let t=this,{points:e,xAxis:s,yAxis:r}=t,o=t.chart.styledMode,l=e=>o?0:t.pointAttribs(e)["stroke-width"]||0;for(let t of e){let{pointValues:e,visible:o}=t.node;if(e&&o){let{height:o,width:a,x:n,y:d}=e,h=l(t),p=s.toPixels(n,!0),u=s.toPixels(n+a,!0),c=r.toPixels(d,!0),g=r.toPixels(d+o,!0),v=0===p?h/2:(0,i.crisp)(s.toPixels(n,!0),h,!0),b=u===s.len?s.len-h/2:(0,i.crisp)(s.toPixels(n+a,!0),h,!0),f=c===r.len?r.len-h/2:(0,i.crisp)(r.toPixels(d,!0),h,!0),m=0===g?h/2:(0,i.crisp)(r.toPixels(d+o,!0),h,!0),x={x:Math.min(v,b),y:Math.min(f,m),width:Math.abs(b-v),height:Math.abs(m-f)};t.plotX=x.x+x.width/2,t.plotY=x.y+x.height/2,t.shapeArgs=x}else delete t.plotX,delete t.plotY}}setRootNode(t,e,s){let r=(0,i.extend)({newRootId:t,previousRootId:this.rootNode,redraw:e??!0,series:this},s);(0,i.fireEvent)(this,"setRootNode",r,function(t){let e=t.series;e.idPreviousRoot=t.previousRootId,e.rootNode=t.newRootId,e.isDirty=!0,t.redraw&&e.chart.redraw()})}setState(t){this.options.inactiveOtherPoints=!0,super.setState(t,!1),this.options.inactiveOtherPoints=!1}setTreeValues(t){let e=this.options,s=this.rootNode,r=this.nodeMap[s],o="boolean"!=typeof e.levelIsConstant||e.levelIsConstant,l=[],a=this.points[t.i],n=0;for(let e of t.children)e=this.setTreeValues(e),l.push(e),e.ignore||(n+=e.val);(0,i.stableSort)(l,(t,e)=>(t.sortIndex||0)-(e.sortIndex||0));let d=a?.simulatedValue??a?.options.value??n;return a&&(a.value=d),a?.isGroup&&e.cluster?.reductionFactor&&(d/=e.cluster.reductionFactor),t.parentNode?.point?.isGroup&&this.rootNode!==t.parent&&(t.visible=!1),(0,i.extend)(t,{children:l,childrenTotal:n,ignore:!((a?.visible??!0)&&d>0),isLeaf:t.visible&&!("treegraph"===this.type?l.length>0:n),isGroup:a?.isGroup,levelDynamic:t.level-(o?0:r.level),name:a?.name??"",sortIndex:a?.sortIndex??-d,val:d}),t}sliceAndDice(t,e){return this.algorithmFill(!0,t,e)}squarified(t,e){return this.algorithmLowAspectRatio(!0,t,e)}strip(t,e){return this.algorithmLowAspectRatio(!1,t,e)}stripes(t,e){return this.algorithmFill(!1,t,e)}translate(t){let e=this,s=e.options,r=!t,o=$(e),l,a,n,d;t||o.startsWith("highcharts-grouped-treemap-points-")||((this.points||[]).forEach(t=>{t.isGroup&&t.destroy()}),super.translate(),t=e.getTree()),e.tree=t=t||e.tree,l=e.nodeMap[o],""===o||l||(e.setRootNode("",!1),o=e.rootNode,l=e.nodeMap[o]),l.point?.isGroup||(e.mapOptionsToLevel=X({from:l.level+1,levels:s.levels,to:t.height,defaults:{levelIsConstant:e.options.levelIsConstant,colorByPoint:s.colorByPoint}})),k.recursive(e.nodeMap[e.rootNode],t=>{let i=t.parent,s=!1;return t.visible=!0,(i||""===i)&&(s=e.nodeMap[i]),s}),k.recursive(e.nodeMap[e.rootNode].children,t=>{let e=!1;for(let i of t)i.visible=!0,i.children.length&&(e=(e||[]).concat(i.children));return e}),e.setTreeValues(t),e.axisRatio=e.xAxis.len/e.yAxis.len,e.nodeMap[""].pointValues=a={x:0,y:0,width:100,height:100},e.nodeMap[""].values=n=(0,i.merge)(a,{width:a.width*e.axisRatio,direction:+("vertical"!==s.layoutStartingDirection),val:t.val}),(this.hasOutsideDataLabels||this.hadOutsideDataLabels)&&this.drawDataLabels(),e.calculateChildrenAreas(t,n),e.colorAxis||s.colorByPoint||e.setColorRecursive(e.tree),s.allowTraversingTree&&l.pointValues&&(d=l.pointValues,e.xAxis.setExtremes(d.x,d.x+d.width,!1),e.yAxis.setExtremes(d.y,d.y+d.height,!1),e.xAxis.setScale(),e.yAxis.setScale()),e.setPointValues(),r&&e.applyTreeGrouping()}}Z.defaultOptions=(0,i.merge)(j.defaultOptions,z),(0,i.extend)(Z.prototype,{buildKDTree:H,colorAttribs:R.seriesMembers.colorAttribs,colorKey:"colorValue",directTouch:!0,getExtremesFromAll:!0,getSymbol:H,optionalAxis:"colorAxis",parallelArrays:["x","y","value","colorValue"],pointArrayMap:["value","colorValue"],pointClass:G,NodeClass:I,trackerGroups:["group","dataLabelsGroup"],utils:k}),R.compose(Z),P().registerSeriesType("treemap",Z);let{deg2rad:_}=n();(s=a||(a={})).getCenter=function(){let t=this.options,e=this.chart,s=2*(t.slicedOffset||0),r=e.plotWidth-2*s,o=e.plotHeight-2*s,l=t.center,a=Math.min(r,o),n=t.thickness,d,h=t.size,p=t.innerSize||0,u,c;"string"==typeof h&&(h=parseFloat(h)),"string"==typeof p&&(p=parseFloat(p));let g=[l?.[0]??"50%",l?.[1]??"50%",(h&&h<0?void 0:t.size)??"100%",(p&&p<0?void 0:t.innerSize||0)??"0%"];for(u=0;u<4;++u)c=g[u],d=u<2||2===u&&/%$/.test(c),g[u]=(0,i.relativeLength)(c,[r,o,a,g[2]][u])+(d?s:0);return g[3]>g[2]&&(g[3]=g[2]),(0,i.isNumber)(n)&&2*n<g[2]&&n>0&&(g[3]=g[2]-2*n),(0,i.fireEvent)(this,"afterGetCenter",{positions:g}),g},s.getStartAndEndRadians=function(t,e){let s=(0,i.isNumber)(t)?t:0,r=(0,i.isNumber)(e)&&e>s&&e-s<360?e:s+360;return{start:_*(s+-90),end:_*(r+-90)}};let J=a,{series:{prototype:{pointClass:Q}},seriesTypes:{treemap:{prototype:{pointClass:tt}}}}=P();class te extends tt{getDataLabelPath(t){let e=this.series.chart.renderer,s=this.shapeExisting,r=s.r+(0,i.pInt)(t.options?.distance||0),o=s.start,l=s.end,a=o+(l-o)/2,n=a<0&&a>-Math.PI||a>Math.PI,d;return o===-Math.PI/2&&(0,i.correctFloat)(l)===(0,i.correctFloat)(1.5*Math.PI)&&(o=-Math.PI+Math.PI/360,l=-Math.PI/360,n=!0),l-o>Math.PI&&(n=!1,d=!0,l-o>2*Math.PI-.01&&(o+=.01,l-=.01)),this.dataLabelPath&&(this.dataLabelPath=this.dataLabelPath.destroy()),this.dataLabelPath=e.arc({open:!0,longArc:+!!d}).attr({start:n?o:l,end:n?l:o,clockwise:+n,x:s.x,y:s.y,r:(r+s.innerR)/2}).add(e.defs),this.dataLabelPath}isValid(){return!0}}(0,i.extend)(te.prototype,{getClassName:Q.prototype.getClassName,haloPath:Q.prototype.haloPath,setState:Q.prototype.setState});let{seriesTypes:{treemap:ti}}=P();function ts(t,e){let s=[];if((0,i.isNumber)(t)&&(0,i.isNumber)(e)&&t<=e)for(let i=t;i<=e;i++)s.push(i);return s}let tr={calculateLevelSizes:function(t,e){let s=(0,i.isObject)(e)?e:{},r,o=0,l,a,n,d;if((0,i.isObject)(t)){for(let e of(r=(0,i.merge)({},t),a=ts((0,i.isNumber)(s.from)?s.from:0,(0,i.isNumber)(s.to)?s.to:0),n=Object.keys(r).filter(t=>-1===a.indexOf(+t)),l=d=(0,i.isNumber)(s.diffRadius)?s.diffRadius:0,a)){let t=r[e],i=t.levelSize.unit,s=t.levelSize.value;"weight"===i?o+=s:"percentage"===i?(t.levelSize={unit:"pixels",value:s/100*l},d-=t.levelSize.value):"pixels"===i&&(d-=s)}for(let t of a){let e=r[t];if("weight"===e.levelSize.unit){let i=e.levelSize.value;r[t].levelSize={unit:"pixels",value:i/o*d}}}for(let t of n)r[t].levelSize={value:0,unit:"pixels"}}return r},getLevelFromAndTo:function({level:t,height:e}){return{from:t>0?t:1,to:t+e}},range:ts,recursive:ti.prototype.utils.recursive},{composed:to,deg2rad:tl}=n(),{getCenter:ta,getStartAndEndRadians:tn}=J,{noop:td}=n(),{column:th,treemap:tp}=P().seriesTypes,{getColor:tu,getLevelOptions:tc,setTreeValues:tg,updateRootId:tv}=U;r=w(),(0,i.pushUnique)(to,"TextPath")&&((0,i.addEvent)(r,"afterGetBBox",function(t){let e=t.bBox,i=this.element?.querySelector("textPath");if(i){let t=[],{b:s,h:r}=this.renderer.fontMetrics(this.element),o=r-s,l=RegExp('(<tspan>|<tspan(?!\\sclass="highcharts-br")[^>]*>|<\\/tspan>)',"g"),a=i.innerHTML.replace(l,"").split(/<tspan class="highcharts-br"[^>]*>/),n=a.length,d=(t,e)=>{let{x:r,y:l}=e,a=(i.getRotationOfChar(t)-90)*tl,n=Math.cos(a),d=Math.sin(a);return[[r-o*n,l-o*d],[r+s*n,l+s*d]]};for(let e=0,s=0;s<n;s++){let r=a[s].length;for(let o=0;o<r;o+=5)try{let r=e+o+s,[l,a]=d(r,i.getStartPositionOfChar(r));0===o?(t.push(a),t.push(l)):(0===s&&t.unshift(a),s===n-1&&t.push(l))}catch{break}e+=r-1;try{let r=e+s,o=i.getEndPositionOfChar(r),[l,a]=d(r,o);t.unshift(a),t.unshift(l)}catch{break}}t.length&&t.push(t[0].slice()),e.polygon=t}return e}),(0,i.addEvent)(r,"beforeAddingDataLabel",function(t){let e=t.labelOptions,i=t.point,s=e[i.formatPrefix+"TextPath"]||e.textPath;s&&!e.useHTML&&(this.setTextPath(i.getDataLabelPath?.(this)||i.graphic,s),i.dataLabelPath&&!s.enabled&&(i.dataLabelPath=i.dataLabelPath.destroy()))}),r.prototype.setTextPath=r.prototype.setTextPath??function(t,e){let s=this.renderer.url,r=this.text||this,o=r.textPath,{attributes:l,enabled:a}=(0,i.merge)({enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},e);if(t=t||o&&o.path,o?.undo(),t&&a){let e=(0,i.addEvent)(r,"afterModifyTree",e=>{if(t&&a){let o=t.attr("id");o||t.attr("id",o=(0,i.uniqueKey)());let a={x:0,y:0};(0,i.defined)(l.dx)&&(a.dx=l.dx,delete l.dx),(0,i.defined)(l.dy)&&(a.dy=l.dy,delete l.dy),r.attr(a),this.attr({transform:""}),this.box&&(this.box=this.box.destroy());let n=e.nodes.slice(0);e.nodes.length=0,e.nodes[0]={tagName:"textPath",attributes:(0,i.extend)(l,{"text-anchor":l.textAnchor,href:`${s}#${o}`}),children:n}}});r.textPath={path:t,undo:e}}else r.attr({dx:0,dy:0}),delete r.textPath;return this.added&&(r.textCache="",this.renderer.buildText(r)),this});let tb=180/Math.PI,tf=function(t,e,i,s){return{x:t+Math.cos(i)*s,y:e+Math.sin(i)*s}};function tm(t,e){let i=e.mapIdToNode,s=t.parent,r=s?i[s]:void 0,o=e.series,l=o.chart,a=o.points[t.i],n=tu(t,{colors:o.options.colors||l&&l.options.colors,colorIndex:o.colorIndex,index:e.index,mapOptionsToLevel:e.mapOptionsToLevel,parentColor:r&&r.color,parentColorIndex:r&&r.colorIndex,series:e.series,siblings:e.siblings});return t.color=n.color,t.colorIndex=n.colorIndex,a&&(a.color=t.color,a.colorIndex=t.colorIndex,t.sliced=t.id!==e.idRoot&&a.sliced),t}class tx extends tp{alignDataLabel(t,e,i){if(!i.textPath||!i.textPath.enabled)return e.placed=!1,super.alignDataLabel.apply(this,arguments)}animate(t){let e,i=this.chart,s=[i.plotWidth/2,i.plotHeight/2],r=i.plotLeft,o=i.plotTop,l=this.group;t?(e={translateX:s[0]+r,translateY:s[1]+o,scaleX:.001,scaleY:.001,rotation:10,opacity:.01},l.attr(e)):(e={translateX:r,translateY:o,scaleX:1,scaleY:1,rotation:0,opacity:1},l.animate(e,this.options.animation))}drawPoints(){let t=this,e=t.mapOptionsToLevel,s=t.shapeRoot,r=t.group,o=t.hasRendered,l=t.rootNode,a=t.idPreviousRoot,n=t.nodeMap,d=n[a],h=d&&d.shapeArgs,p=t.points,u=t.startAndEndRadians,c=t.chart,g=c&&c.options&&c.options.chart||{},v="boolean"!=typeof g.animation||g.animation,b=t.center,f={x:b[0],y:b[1]},m=b[3]/2,x=t.chart.renderer,y=!!(v&&o&&l!==a&&t.dataLabelsGroup),L,P=!1,T=!1;for(let d of(y&&(t.dataLabelsGroup.attr({opacity:0}),L=function(){P=!0,t.dataLabelsGroup.animate({opacity:1,visibility:"inherit"})}),p)){let p,g,b=d.node,y=e[b.level],P=d.shapeExisting||{},w=b.shapeArgs||{},A=!!(b.visible&&b.shapeArgs);w.borderRadius=t.options.borderRadius,p=o&&v?function(t,e){let i=e.point,s=e.radians,r=e.innerR,o=e.idRoot,l=e.idPreviousRoot,a=e.shapeExisting,n=e.shapeRoot,d=e.shapePreviousRoot,h=e.visible,p={},u={end:t.end,start:t.start,innerR:t.innerR,r:t.r,x:t.x,y:t.y};return h?!i.graphic&&d&&((p=o===i.id?{start:s.start,end:s.end}:d.end<=t.start?{start:s.end,end:s.end}:{start:s.start,end:s.start}).innerR=p.r=r):i.graphic&&(l===i.id?u={innerR:r,r:r}:n&&(u=n.end<=a.start?{innerR:r,r:r,start:s.end,end:s.end}:{innerR:r,r:r,start:s.start,end:s.start})),{from:p,to:u}}(w,{center:f,point:d,radians:u,innerR:m,idRoot:l,idPreviousRoot:a,shapeExisting:P,shapeRoot:s,shapePreviousRoot:h,visible:A}):{to:w,from:{}},(0,i.extend)(d,{shapeExisting:w,tooltipPos:[w.plotX,w.plotY],drillId:function(t,e,i){let s;return t.node.isLeaf||(s=e===t.id?i[e].parent:t.id),s}(d,l,n),name:""+(d.name||d.id||d.index),plotX:w.plotX,plotY:w.plotY,value:b.val,isInside:A,isNull:!A}),d.dlOptions={...function(t){let e=t.point,s=(0,i.isObject)(t.shapeArgs)?t.shapeArgs:{},{end:r=0,radius:o=0,start:l=0}=s,a=(0,i.isObject)(t.optionsPoint)?t.optionsPoint.dataLabels:{},n=(0,i.splat)((0,i.isObject)(t.level)?t.level.dataLabels:{})[0],d=(0,i.merge)(n,a),h=d.style=d.style||{},p=(0,i.splat)(d.padding||0),u=p[3%p.length],c=p[1%p.length],{innerArcLength:g=0,outerArcLength:v=0}=e,b,f,m=d.rotationMode,x=(0,i.defined)(h.width)?parseInt(h.width||"0",10):void 0;return(0,i.isNumber)(d.rotation)||(("auto"===m||"circular"===m)&&(d.useHTML&&"circular"===m&&(m="auto"),g<1&&v>o?(b=0,e.dataLabelPath&&"circular"===m&&(d.textPath={enabled:!0}),r-l<Math.PI&&(x=.7*o)):g>1&&v>1.5*o?"circular"===m?d.textPath={enabled:!0,attributes:{dy:5}}:m="parallel":(e.dataLabel?.textPath&&"circular"===m&&(d.textPath={enabled:!1}),m="perpendicular")),"auto"!==m&&"circular"!==m&&(e.dataLabel?.textPath&&(d.textPath={enabled:!1}),b=r-(r-l)/2),"parallel"===m?x=Math.min(2.5*o,(v+g)/2):!(0,i.defined)(x)&&o&&(x=1===e.node.level?2*o:o),"perpendicular"===m&&(v<16?x=1:s.radius&&(h.lineClamp=Math.floor(g/16)||1,x=o-(g<16?(16-g)/(v-g)*o:0))),x=Math.max((x||0)-u-c,1),f=(b||0)*tb%180,"parallel"===m&&(f-=90),f>90?f-=180:f<-90&&(f+=180),d.rotation=f),d.textPath&&(0===e.shapeExisting.innerR&&d.textPath.enabled?(d.rotation=0,d.textPath.enabled=!1,x=Math.max(2*e.shapeExisting.r-u-c,1)):e.dlOptions?.textPath&&!e.dlOptions.textPath.enabled&&"circular"===m&&(d.textPath.enabled=!0),d.textPath.enabled&&(d.rotation=0,x=Math.max((v+g)/2-u-c,1),h.whiteSpace="nowrap")),h.width=x+"px",d}({point:d,level:y,optionsPoint:d.options,shapeArgs:w}),zIndex:void 0},delete d.dlOptions.zIndex,!T&&A&&(T=!0,g=L),d.draw({animatableAttribs:p.to,attribs:(0,i.extend)(p.from,!c.styledMode&&t.pointAttribs(d,d.selected&&"select")),onComplete:g,group:r,renderer:x,shapeType:"arc",shapeArgs:w})}y&&T?(t.hasRendered=!1,t.options.dataLabels.defer=!0,th.prototype.drawDataLabels.call(t),t.hasRendered=!0,P&&L?.()):th.prototype.drawDataLabels.call(t),t.idPreviousRoot=l}layoutAlgorithm(t,e,s){let r=t.start,o=t.end-r,l=t.val,a=t.x,n=t.y,d=s&&(0,i.isObject)(s.levelSize)&&(0,i.isNumber)(s.levelSize.value)?s.levelSize.value:0,h=t.r,p=h+d,u=s&&(0,i.isNumber)(s.slicedOffset)?s.slicedOffset:0;return(e||[]).reduce((t,e)=>{let i=1/l*e.val*o,s=tf(a,n,r+i/2,u),c={x:e.sliced?s.x:a,y:e.sliced?s.y:n,innerR:h,r:p,radius:d,start:r,end:r+i};return t.push(c),r=c.end,t},[])}setRootNode(t,e,i){if(1===this.nodeMap[t].level&&1===this.nodeList.filter(t=>1===t.level).length){if(""===this.idPreviousRoot)return;t=""}super.setRootNode(t,e,i)}setShapeArgs(t,e,s){let r=s[t.level+1],o=t.children.filter(function(t){return t.visible}),l=[];l=this.layoutAlgorithm(e,o,r);let a=-1;for(let t of o){let e=l[++a],r=e.start+(e.end-e.start)/2,o=e.innerR+(e.r-e.innerR)/2,n=e.end-e.start,d=0===e.innerR&&n>6.28?{x:e.x,y:e.y}:tf(e.x,e.y,r,o),h=t.val?t.childrenTotal>t.val?t.childrenTotal:t.val:t.childrenTotal;this.points[t.i]&&(this.points[t.i].innerArcLength=n*e.innerR,this.points[t.i].outerArcLength=n*e.r),t.shapeArgs=(0,i.merge)(e,{plotX:d.x,plotY:d.y}),t.values=(0,i.merge)(e,{val:h}),t.children.length&&this.setShapeArgs(t,t.values,s)}}translate(){let t=this.options,e=this.center=this.getCenter(),s=this.startAndEndRadians=tn(t.startAngle,t.endAngle),r=e[3]/2,o=e[2]/2,l=tv(this),a=this.nodeMap,n,d=a&&a[l],h={};this.shapeRoot=d&&d.shapeArgs,this.generatePoints(),(0,i.fireEvent)(this,"afterTranslate");let p=this.tree=this.getTree();d=(a=this.nodeMap)[l];let u=a[(0,i.isString)(d.parent)?d.parent:""],{from:c,to:g}=tr.getLevelFromAndTo(d);n=tc({from:c,levels:this.options.levels,to:g,defaults:{colorByPoint:t.colorByPoint,dataLabels:t.dataLabels,levelIsConstant:t.levelIsConstant,levelSize:t.levelSize,slicedOffset:t.slicedOffset}}),n=tr.calculateLevelSizes(n,{diffRadius:o-r,from:c,to:g}),tg(p,{before:tm,idRoot:l,levelIsConstant:t.levelIsConstant,mapOptionsToLevel:n,mapIdToNode:a,points:this.points,series:this});let v=a[""].shapeArgs={end:s.end,r:r,start:s.start,val:d.val,x:e[0],y:e[1]};for(let t of(this.setShapeArgs(u,v,n),this.mapOptionsToLevel=n,this.points))h[t.id]&&(0,i.error)(31,!1,this.chart),h[t.id]=!0}}tx.defaultOptions=(0,i.merge)(tp.defaultOptions,{center:["50%","50%"],clip:!1,colorByPoint:!1,opacity:1,dataLabels:{allowOverlap:!0,defer:!0,rotationMode:"circular",style:{textOverflow:"ellipsis"}},rootId:void 0,levelIsConstant:!0,levelSize:{value:1,unit:"weight"},slicedOffset:10}),(0,i.extend)(tx.prototype,{axisTypes:[],drawDataLabels:td,getCenter:ta,isCartesian:!1,onPointSupported:!0,pointAttribs:th.prototype.pointAttribs,pointClass:te,NodeClass:class extends I{},utils:tr}),P().registerSeriesType("sunburst",tx);let ty=n();ty.Breadcrumbs=ty.Breadcrumbs||m,ty.Breadcrumbs.compose(ty.Chart,ty.defaultOptions),Z.compose(ty.Series);let tL=n();export{tL as default};
@@ -1,6 +1,6 @@
1
1
  // SPDX-License-Identifier: LicenseRef-Highcharts
2
2
  /**
3
- * @license Highcharts JS v13.0.2 (2026-08-27)
3
+ * @license Highcharts JS v13.1.1 (2026-09-20)
4
4
  * @module highcharts/modules/sunburst
5
5
  * @requires highcharts
6
6
  *
@@ -16,48 +16,27 @@ import * as __WEBPACK_EXTERNAL_MODULE__highcharts_src_js_8202131d__ from "../hig
16
16
  /******/
17
17
  /************************************************************************/
18
18
  /******/ /* webpack/runtime/compat get default export */
19
- /******/ (() => {
20
- /******/ // getDefaultExport function for compatibility with non-harmony modules
21
- /******/ __webpack_require__.n = (module) => {
22
- /******/ const getter = module && module.__esModule ?
23
- /******/ () => (module['default']) :
24
- /******/ () => (module);
25
- /******/ __webpack_require__.d(getter, { a: getter });
26
- /******/ return getter;
27
- /******/ };
28
- /******/ })();
19
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
20
+ /******/ __webpack_require__.n = (module) => {
21
+ /******/ const getter = module && module.__esModule ?
22
+ /******/ () => (module['default']) :
23
+ /******/ () => (module);
24
+ /******/ __webpack_require__.d(getter, { a: getter });
25
+ /******/ return getter;
26
+ /******/ };
29
27
  /******/
30
28
  /******/ /* webpack/runtime/define property getters */
31
- /******/ (() => {
32
- /******/ // define getter/value functions for harmony exports
33
- /******/ __webpack_require__.d = (exports, definition) => {
34
- /******/ if(Array.isArray(definition)) {
35
- /******/ var i = 0;
36
- /******/ while(i < definition.length) {
37
- /******/ var key = definition[i++];
38
- /******/ var binding = definition[i++];
39
- /******/ if(!__webpack_require__.o(exports, key)) {
40
- /******/ if(binding === 0) {
41
- /******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
42
- /******/ } else {
43
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
44
- /******/ }
45
- /******/ } else if(binding === 0) { i++; }
46
- /******/ }
47
- /******/ } else {
48
- /******/ for(var key in definition) {
49
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
50
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
51
- /******/ }
52
- /******/ }
29
+ /******/ // define getter/value functions for harmony exports
30
+ /******/ __webpack_require__.d = (exports, definition) => {
31
+ /******/ for(var key in definition) {
32
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
33
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
53
34
  /******/ }
54
- /******/ };
55
- /******/ })();
35
+ /******/ }
36
+ /******/ };
56
37
  /******/
57
38
  /******/ /* webpack/runtime/hasOwnProperty shorthand */
58
- /******/ (() => {
59
- /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
60
- /******/ })();
39
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop));
61
40
  /******/
62
41
  /************************************************************************/
63
42
 
@@ -304,7 +283,7 @@ const options = {
304
283
  * `.highcharts-breadcrumbs-buttons .highcharts-button` rule with its
305
284
  * different states.
306
285
  *
307
- * @type {Highcharts.SVGAttributes}
286
+ * @type {Highcharts.CSSObject}
308
287
  * @since 10.0.0
309
288
  */
310
289
  style: {},
@@ -666,7 +645,12 @@ class Breadcrumbs {
666
645
  * Returns the SVG button
667
646
  */
668
647
  renderButton(breadcrumb, posX, posY) {
669
- const breadcrumbs = this, chart = this.chart, breadcrumbsOptions = breadcrumbs.options, buttonTheme = (0,external_highcharts_src_js_default_namespaceObject.merge)(breadcrumbsOptions.buttonTheme);
648
+ const breadcrumbs = this, chart = this.chart, breadcrumbsOptions = breadcrumbs.options,
649
+ // The `style` option is CSS for the button text, so it belongs in
650
+ // the theme's `style` rather than being applied afterwards. A
651
+ // later `setState` re-applies the normal state style, which would
652
+ // otherwise wipe it (#25357).
653
+ buttonTheme = (0,external_highcharts_src_js_default_namespaceObject.merge)(breadcrumbsOptions.buttonTheme, chart.styledMode ? void 0 : { style: breadcrumbsOptions.style });
670
654
  const button = chart.renderer
671
655
  .button(breadcrumbs.getButtonText(breadcrumb), posX, posY, function (e /* @todo (Event|any) */) {
672
656
  // Extract events from button object and call
@@ -690,14 +674,11 @@ class Breadcrumbs {
690
674
  else {
691
675
  e.newLevel = breadcrumb.level;
692
676
  }
693
- (0,external_highcharts_src_js_default_namespaceObject.fireEvent)(breadcrumbs, 'up', e);
677
+ ;(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(breadcrumbs, 'up', e);
694
678
  }
695
679
  }, buttonTheme)
696
680
  .addClass('highcharts-breadcrumbs-button')
697
681
  .add(breadcrumbs.group);
698
- if (!chart.styledMode) {
699
- button.attr(breadcrumbsOptions.style);
700
- }
701
682
  return button;
702
683
  }
703
684
  /**
@@ -723,7 +704,7 @@ class Breadcrumbs {
723
704
  return separator;
724
705
  }
725
706
  update(options) {
726
- (0,external_highcharts_src_js_default_namespaceObject.merge)(true, this.options, options);
707
+ ;(0,external_highcharts_src_js_default_namespaceObject.merge)(true, this.options, options);
727
708
  this.destroy();
728
709
  this.isDirty = true;
729
710
  }
@@ -794,7 +775,7 @@ class Breadcrumbs {
794
775
  * @function Highcharts.Breadcrumbs#resetElementListState
795
776
  */
796
777
  resetElementListState() {
797
- (0,external_highcharts_src_js_default_namespaceObject.objectEach)(this.elementList, (element) => {
778
+ ;(0,external_highcharts_src_js_default_namespaceObject.objectEach)(this.elementList, (element) => {
798
779
  element.updated = false;
799
780
  });
800
781
  }
@@ -1410,7 +1391,7 @@ class TreemapPoint extends ScatterPoint {
1410
1391
  return (0,external_highcharts_src_js_default_namespaceObject.isNumber)(this.plotY) && this.y !== null;
1411
1392
  }
1412
1393
  }
1413
- (0,external_highcharts_src_js_default_namespaceObject.extend)(TreemapPoint.prototype, {
1394
+ ;(0,external_highcharts_src_js_default_namespaceObject.extend)(TreemapPoint.prototype, {
1414
1395
  setVisible: PiePoint.prototype.setVisible
1415
1396
  });
1416
1397
  /* *
@@ -2072,7 +2053,7 @@ const TreemapSeriesDefaults = {
2072
2053
  * not specified, it is inherited from [chart.type](#chart.type).
2073
2054
  *
2074
2055
  * @extends series,plotOptions.treemap
2075
- * @excluding dataParser, dataURL, stack, dataSorting
2056
+ * @excluding stack, dataSorting
2076
2057
  * @product highcharts
2077
2058
  * @requires modules/treemap
2078
2059
  * @apioption series.treemap
@@ -2500,7 +2481,7 @@ function onSeriesAfterBindAxes() {
2500
2481
  treeAxisDefaults.max = axisMax;
2501
2482
  treeAxisDefaults.tickPositions = [];
2502
2483
  }
2503
- (0,external_highcharts_src_js_default_namespaceObject.merge)(true, xAxis.options, treeAxisDefaults, xAxis.userOptions);
2484
+ ;(0,external_highcharts_src_js_default_namespaceObject.merge)(true, xAxis.options, treeAxisDefaults, xAxis.userOptions);
2504
2485
  (0,external_highcharts_src_js_default_namespaceObject.merge)(true, yAxis.options, treeAxisDefaults, yAxis.userOptions);
2505
2486
  // Set the properties on the axis object
2506
2487
  xAxis.visible = xAxis.options.visible;
@@ -3038,7 +3019,7 @@ class TreemapSeries extends ScatterSeries {
3038
3019
  if (borderRadius) {
3039
3020
  attribs.r = borderRadius;
3040
3021
  }
3041
- (0,external_highcharts_src_js_default_namespaceObject.merge)(true, // Extend object
3022
+ ;(0,external_highcharts_src_js_default_namespaceObject.merge)(true, // Extend object
3042
3023
  // Which object to extend
3043
3024
  shouldAnimate ? animatableAttribs : attribs,
3044
3025
  // Add shapeArgs to animate/attr if graphic exists
@@ -3127,7 +3108,7 @@ class TreemapSeries extends ScatterSeries {
3127
3108
  * @private
3128
3109
  */
3129
3110
  drillToNode(id, redraw) {
3130
- (0,external_highcharts_src_js_default_namespaceObject.error)(32, false, void 0, { 'treemap.drillToNode': 'use treemap.setRootNode' });
3111
+ ;(0,external_highcharts_src_js_default_namespaceObject.error)(32, false, void 0, { 'treemap.drillToNode': 'use treemap.setRootNode' });
3131
3112
  this.setRootNode(id, redraw);
3132
3113
  }
3133
3114
  drillUp() {
@@ -3519,7 +3500,7 @@ class TreemapSeries extends ScatterSeries {
3519
3500
  }
3520
3501
  }
3521
3502
  // Sort the children
3522
- (0,external_highcharts_src_js_default_namespaceObject.stableSort)(children, (a, b) => ((a.sortIndex || 0) - (b.sortIndex || 0)));
3503
+ ;(0,external_highcharts_src_js_default_namespaceObject.stableSort)(children, (a, b) => ((a.sortIndex || 0) - (b.sortIndex || 0)));
3523
3504
  // Set the values
3524
3505
  let val = point?.simulatedValue ?? point?.options.value ?? childrenTotal;
3525
3506
  if (point) {
@@ -3531,7 +3512,7 @@ class TreemapSeries extends ScatterSeries {
3531
3512
  if (tree.parentNode?.point?.isGroup && series.rootNode !== tree.parent) {
3532
3513
  tree.visible = false;
3533
3514
  }
3534
- (0,external_highcharts_src_js_default_namespaceObject.extend)(tree, {
3515
+ ;(0,external_highcharts_src_js_default_namespaceObject.extend)(tree, {
3535
3516
  children: children,
3536
3517
  childrenTotal: childrenTotal,
3537
3518
  // Ignore this node if point is not visible
@@ -3754,7 +3735,7 @@ var CenteredUtilities;
3754
3735
  thickness * 2 < positions[2] && thickness > 0) {
3755
3736
  positions[3] = positions[2] - thickness * 2;
3756
3737
  }
3757
- (0,external_highcharts_src_js_default_namespaceObject.fireEvent)(this, 'afterGetCenter', { positions });
3738
+ ;(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(this, 'afterGetCenter', { positions });
3758
3739
  return positions;
3759
3740
  }
3760
3741
  CenteredUtilities.getCenter = getCenter;
@@ -3892,7 +3873,7 @@ class SunburstPoint extends SunburstPoint_TreemapPoint {
3892
3873
  return true;
3893
3874
  }
3894
3875
  }
3895
- (0,external_highcharts_src_js_default_namespaceObject.extend)(SunburstPoint.prototype, {
3876
+ ;(0,external_highcharts_src_js_default_namespaceObject.extend)(SunburstPoint.prototype, {
3896
3877
  getClassName: Point.prototype.getClassName,
3897
3878
  haloPath: Point.prototype.haloPath,
3898
3879
  setState: Point.prototype.setState
@@ -4364,7 +4345,7 @@ const SunburstSeriesDefaults = {
4364
4345
  * not specified, it is inherited from [chart.type](#chart.type).
4365
4346
  *
4366
4347
  * @extends series,plotOptions.sunburst
4367
- * @excluding dataParser, dataURL, stack, dataSorting, boostThreshold,
4348
+ * @excluding stack, dataSorting, boostThreshold,
4368
4349
  * boostBlending
4369
4350
  * @product highcharts
4370
4351
  * @requires modules/sunburst
@@ -5119,7 +5100,7 @@ class SunburstSeries extends SunburstSeries_TreemapSeries {
5119
5100
  from: {}
5120
5101
  };
5121
5102
  }
5122
- (0,external_highcharts_src_js_default_namespaceObject.extend)(point, {
5103
+ ;(0,external_highcharts_src_js_default_namespaceObject.extend)(point, {
5123
5104
  shapeExisting: shape, // Store for use in animation
5124
5105
  tooltipPos: [shape.plotX, shape.plotY],
5125
5106
  drillId: getDrillId(point, idRoot, nodeMap),
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Highcharts JS v13.0.2 (2026-08-27)
2
+ * Highcharts JS v13.1.1 (2026-09-20)
3
3
  * @module highcharts/modules/textpath
4
4
  * @requires highcharts
5
5
  *
@@ -8,4 +8,4 @@
8
8
  *
9
9
  * A commercial license may be required depending on use,
10
10
  * see www.highcharts.com/license
11
- */import*as t from"../highcharts.js";let e={};e.n=t=>{let a=t&&t.__esModule?()=>t.default:()=>t;return e.d(a,{a:a}),a},e.d=(t,a)=>{if(Array.isArray(a))for(var r=0;r<a.length;){var h=a[r++],n=a[r++];e.o(t,h)?0===n&&r++:0===n?Object.defineProperty(t,h,{enumerable:!0,value:a[r++]}):Object.defineProperty(t,h,{enumerable:!0,get:n})}else for(var h in a)e.o(a,h)&&!e.o(t,h)&&Object.defineProperty(t,h,{enumerable:!0,get:a[h]})},e.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let a=t.default;var r,h=e.n(a);let{composed:n,deg2rad:s}=h();r=h().SVGElement,(0,a.pushUnique)(n,"TextPath")&&((0,a.addEvent)(r,"afterGetBBox",function(t){let e=t.bBox,a=this.element?.querySelector("textPath");if(a){let t=[],{b:r,h}=this.renderer.fontMetrics(this.element),n=h-r,l=RegExp('(<tspan>|<tspan(?!\\sclass="highcharts-br")[^>]*>|<\\/tspan>)',"g"),i=a.innerHTML.replace(l,"").split(/<tspan class="highcharts-br"[^>]*>/),d=i.length,o=(t,e)=>{let{x:h,y:l}=e,i=(a.getRotationOfChar(t)-90)*s,d=Math.cos(i),o=Math.sin(i);return[[h-n*d,l-n*o],[h+r*d,l+r*o]]};for(let e=0,r=0;r<d;r++){let h=i[r].length;for(let n=0;n<h;n+=5)try{let h=e+n+r,[s,l]=o(h,a.getStartPositionOfChar(h));0===n?(t.push(l),t.push(s)):(0===r&&t.unshift(l),r===d-1&&t.push(s))}catch{break}e+=h-1;try{let h=e+r,n=a.getEndPositionOfChar(h),[s,l]=o(h,n);t.unshift(l),t.unshift(s)}catch{break}}t.length&&t.push(t[0].slice()),e.polygon=t}return e}),(0,a.addEvent)(r,"beforeAddingDataLabel",function(t){let e=t.labelOptions,a=t.point,r=e[a.formatPrefix+"TextPath"]||e.textPath;r&&!e.useHTML&&(this.setTextPath(a.getDataLabelPath?.(this)||a.graphic,r),a.dataLabelPath&&!r.enabled&&(a.dataLabelPath=a.dataLabelPath.destroy()))}),r.prototype.setTextPath=r.prototype.setTextPath??function(t,e){let r=this.renderer.url,h=this.text||this,n=h.textPath,{attributes:s,enabled:l}=(0,a.merge)({enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},e);if(t=t||n&&n.path,n?.undo(),t&&l){let e=(0,a.addEvent)(h,"afterModifyTree",e=>{if(t&&l){let n=t.attr("id");n||t.attr("id",n=(0,a.uniqueKey)());let l={x:0,y:0};(0,a.defined)(s.dx)&&(l.dx=s.dx,delete s.dx),(0,a.defined)(s.dy)&&(l.dy=s.dy,delete s.dy),h.attr(l),this.attr({transform:""}),this.box&&(this.box=this.box.destroy());let i=e.nodes.slice(0);e.nodes.length=0,e.nodes[0]={tagName:"textPath",attributes:(0,a.extend)(s,{"text-anchor":s.textAnchor,href:`${r}#${n}`}),children:i}}});h.textPath={path:t,undo:e}}else h.attr({dx:0,dy:0}),delete h.textPath;return this.added&&(h.textCache="",this.renderer.buildText(h)),this});let l=h();export{l as default};
11
+ */import*as t from"../highcharts.js";let e={};e.n=t=>{let a=t&&t.__esModule?()=>t.default:()=>t;return e.d(a,{a:a}),a},e.d=(t,a)=>{for(var r in a)e.o(a,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:a[r]})},e.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let a=t.default;var r,h=e.n(a);let{composed:s,deg2rad:n}=h();r=h().SVGElement,(0,a.pushUnique)(s,"TextPath")&&((0,a.addEvent)(r,"afterGetBBox",function(t){let e=t.bBox,a=this.element?.querySelector("textPath");if(a){let t=[],{b:r,h}=this.renderer.fontMetrics(this.element),s=h-r,d=RegExp('(<tspan>|<tspan(?!\\sclass="highcharts-br")[^>]*>|<\\/tspan>)',"g"),i=a.innerHTML.replace(d,"").split(/<tspan class="highcharts-br"[^>]*>/),l=i.length,o=(t,e)=>{let{x:h,y:d}=e,i=(a.getRotationOfChar(t)-90)*n,l=Math.cos(i),o=Math.sin(i);return[[h-s*l,d-s*o],[h+r*l,d+r*o]]};for(let e=0,r=0;r<l;r++){let h=i[r].length;for(let s=0;s<h;s+=5)try{let h=e+s+r,[n,d]=o(h,a.getStartPositionOfChar(h));0===s?(t.push(d),t.push(n)):(0===r&&t.unshift(d),r===l-1&&t.push(n))}catch{break}e+=h-1;try{let h=e+r,s=a.getEndPositionOfChar(h),[n,d]=o(h,s);t.unshift(d),t.unshift(n)}catch{break}}t.length&&t.push(t[0].slice()),e.polygon=t}return e}),(0,a.addEvent)(r,"beforeAddingDataLabel",function(t){let e=t.labelOptions,a=t.point,r=e[a.formatPrefix+"TextPath"]||e.textPath;r&&!e.useHTML&&(this.setTextPath(a.getDataLabelPath?.(this)||a.graphic,r),a.dataLabelPath&&!r.enabled&&(a.dataLabelPath=a.dataLabelPath.destroy()))}),r.prototype.setTextPath=r.prototype.setTextPath??function(t,e){let r=this.renderer.url,h=this.text||this,s=h.textPath,{attributes:n,enabled:d}=(0,a.merge)({enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},e);if(t=t||s&&s.path,s?.undo(),t&&d){let e=(0,a.addEvent)(h,"afterModifyTree",e=>{if(t&&d){let s=t.attr("id");s||t.attr("id",s=(0,a.uniqueKey)());let d={x:0,y:0};(0,a.defined)(n.dx)&&(d.dx=n.dx,delete n.dx),(0,a.defined)(n.dy)&&(d.dy=n.dy,delete n.dy),h.attr(d),this.attr({transform:""}),this.box&&(this.box=this.box.destroy());let i=e.nodes.slice(0);e.nodes.length=0,e.nodes[0]={tagName:"textPath",attributes:(0,a.extend)(n,{"text-anchor":n.textAnchor,href:`${r}#${s}`}),children:i}}});h.textPath={path:t,undo:e}}else h.attr({dx:0,dy:0}),delete h.textPath;return this.added&&(h.textCache="",this.renderer.buildText(h)),this});let d=h();export{d as default};