highcharts 12.0.1 → 12.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (304) hide show
  1. package/bower.json +1 -1
  2. package/es-modules/Core/Axis/Axis.js +1 -1
  3. package/es-modules/Core/Renderer/SVG/SVGElement.js +8 -2
  4. package/es-modules/Core/Renderer/SVG/TextBuilder.js +1 -1
  5. package/es-modules/Core/Tooltip.js +2 -1
  6. package/es-modules/Core/Utilities.js +53 -53
  7. package/es-modules/Extensions/Boost/WGLRenderer.js +12 -4
  8. package/es-modules/Extensions/Drilldown/Drilldown.js +3 -3
  9. package/es-modules/Series/Line/LineSeries.js +2 -4
  10. package/es-modules/Stock/RangeSelector/RangeSelector.js +1 -1
  11. package/es-modules/tsconfig.tsbuildinfo +1 -1
  12. package/highcharts-3d.js +2 -2
  13. package/highcharts-3d.src.js +5 -5
  14. package/highcharts-gantt.js +5 -5
  15. package/highcharts-gantt.src.js +30 -25
  16. package/highcharts-more.js +2 -2
  17. package/highcharts-more.src.js +5 -5
  18. package/highcharts.js +3 -3
  19. package/highcharts.src.js +24 -19
  20. package/highmaps.js +5 -5
  21. package/highmaps.src.js +27 -22
  22. package/highstock.js +5 -5
  23. package/highstock.src.js +30 -25
  24. package/indicators/acceleration-bands.js +2 -2
  25. package/indicators/acceleration-bands.src.js +5 -5
  26. package/indicators/accumulation-distribution.js +2 -2
  27. package/indicators/accumulation-distribution.src.js +5 -5
  28. package/indicators/ao.js +2 -2
  29. package/indicators/ao.src.js +5 -5
  30. package/indicators/apo.js +2 -2
  31. package/indicators/apo.src.js +5 -5
  32. package/indicators/aroon-oscillator.js +2 -2
  33. package/indicators/aroon-oscillator.src.js +5 -5
  34. package/indicators/aroon.js +2 -2
  35. package/indicators/aroon.src.js +5 -5
  36. package/indicators/atr.js +2 -2
  37. package/indicators/atr.src.js +5 -5
  38. package/indicators/bollinger-bands.js +2 -2
  39. package/indicators/bollinger-bands.src.js +5 -5
  40. package/indicators/cci.js +2 -2
  41. package/indicators/cci.src.js +5 -5
  42. package/indicators/chaikin.js +2 -2
  43. package/indicators/chaikin.src.js +5 -5
  44. package/indicators/cmf.js +2 -2
  45. package/indicators/cmf.src.js +5 -5
  46. package/indicators/cmo.js +2 -2
  47. package/indicators/cmo.src.js +5 -5
  48. package/indicators/dema.js +2 -2
  49. package/indicators/dema.src.js +5 -5
  50. package/indicators/disparity-index.js +2 -2
  51. package/indicators/disparity-index.src.js +5 -5
  52. package/indicators/dmi.js +2 -2
  53. package/indicators/dmi.src.js +5 -5
  54. package/indicators/dpo.js +2 -2
  55. package/indicators/dpo.src.js +5 -5
  56. package/indicators/ema.js +1 -1
  57. package/indicators/ema.src.js +4 -4
  58. package/indicators/ichimoku-kinko-hyo.js +2 -2
  59. package/indicators/ichimoku-kinko-hyo.src.js +5 -5
  60. package/indicators/indicators-all.js +2 -2
  61. package/indicators/indicators-all.src.js +5 -5
  62. package/indicators/indicators.js +2 -2
  63. package/indicators/indicators.src.js +5 -5
  64. package/indicators/keltner-channels.js +2 -2
  65. package/indicators/keltner-channels.src.js +5 -5
  66. package/indicators/klinger.js +2 -2
  67. package/indicators/klinger.src.js +5 -5
  68. package/indicators/macd.js +2 -2
  69. package/indicators/macd.src.js +5 -5
  70. package/indicators/mfi.js +2 -2
  71. package/indicators/mfi.src.js +5 -5
  72. package/indicators/momentum.js +2 -2
  73. package/indicators/momentum.src.js +5 -5
  74. package/indicators/natr.js +2 -2
  75. package/indicators/natr.src.js +5 -5
  76. package/indicators/obv.js +2 -2
  77. package/indicators/obv.src.js +5 -5
  78. package/indicators/pivot-points.js +2 -2
  79. package/indicators/pivot-points.src.js +5 -5
  80. package/indicators/ppo.js +2 -2
  81. package/indicators/ppo.src.js +5 -5
  82. package/indicators/price-channel.js +2 -2
  83. package/indicators/price-channel.src.js +5 -5
  84. package/indicators/price-envelopes.js +2 -2
  85. package/indicators/price-envelopes.src.js +5 -5
  86. package/indicators/psar.js +2 -2
  87. package/indicators/psar.src.js +5 -5
  88. package/indicators/regressions.js +2 -2
  89. package/indicators/regressions.src.js +5 -5
  90. package/indicators/roc.js +2 -2
  91. package/indicators/roc.src.js +5 -5
  92. package/indicators/rsi.js +2 -2
  93. package/indicators/rsi.src.js +5 -5
  94. package/indicators/slow-stochastic.js +2 -2
  95. package/indicators/slow-stochastic.src.js +5 -5
  96. package/indicators/stochastic.js +2 -2
  97. package/indicators/stochastic.src.js +5 -5
  98. package/indicators/supertrend.js +2 -2
  99. package/indicators/supertrend.src.js +5 -5
  100. package/indicators/tema.js +2 -2
  101. package/indicators/tema.src.js +5 -5
  102. package/indicators/trendline.js +2 -2
  103. package/indicators/trendline.src.js +5 -5
  104. package/indicators/trix.js +2 -2
  105. package/indicators/trix.src.js +5 -5
  106. package/indicators/volume-by-price.js +2 -2
  107. package/indicators/volume-by-price.src.js +5 -5
  108. package/indicators/vwap.js +2 -2
  109. package/indicators/vwap.src.js +5 -5
  110. package/indicators/williams-r.js +2 -2
  111. package/indicators/williams-r.src.js +5 -5
  112. package/indicators/wma.js +2 -2
  113. package/indicators/wma.src.js +5 -5
  114. package/indicators/zigzag.js +2 -2
  115. package/indicators/zigzag.src.js +5 -5
  116. package/modules/accessibility.js +2 -2
  117. package/modules/accessibility.src.js +5 -5
  118. package/modules/annotations-advanced.js +4 -4
  119. package/modules/annotations-advanced.src.js +8 -8
  120. package/modules/annotations.js +2 -2
  121. package/modules/annotations.src.js +7 -7
  122. package/modules/arc-diagram.js +2 -2
  123. package/modules/arc-diagram.src.js +5 -5
  124. package/modules/arrow-symbols.js +2 -2
  125. package/modules/arrow-symbols.src.js +5 -5
  126. package/modules/boost-canvas.js +2 -2
  127. package/modules/boost-canvas.src.js +21 -10
  128. package/modules/boost.js +2 -2
  129. package/modules/boost.src.js +21 -10
  130. package/modules/broken-axis.js +2 -2
  131. package/modules/broken-axis.src.js +5 -5
  132. package/modules/bullet.js +2 -2
  133. package/modules/bullet.src.js +5 -5
  134. package/modules/coloraxis.js +2 -2
  135. package/modules/coloraxis.src.js +5 -5
  136. package/modules/current-date-indicator.js +2 -2
  137. package/modules/current-date-indicator.src.js +5 -5
  138. package/modules/cylinder.js +2 -2
  139. package/modules/cylinder.src.js +5 -5
  140. package/modules/data-tools.js +2 -2
  141. package/modules/data-tools.src.js +5 -5
  142. package/modules/data.js +2 -2
  143. package/modules/data.src.js +5 -5
  144. package/modules/datagrouping.js +2 -2
  145. package/modules/datagrouping.src.js +5 -5
  146. package/modules/debugger.js +2 -2
  147. package/modules/debugger.src.js +5 -5
  148. package/modules/dependency-wheel.js +2 -2
  149. package/modules/dependency-wheel.src.js +5 -5
  150. package/modules/dotplot.js +2 -2
  151. package/modules/dotplot.src.js +5 -5
  152. package/modules/drag-panes.js +2 -2
  153. package/modules/drag-panes.src.js +5 -5
  154. package/modules/draggable-points.js +2 -2
  155. package/modules/draggable-points.src.js +5 -5
  156. package/modules/drilldown.js +2 -2
  157. package/modules/drilldown.src.js +8 -8
  158. package/modules/dumbbell.js +2 -2
  159. package/modules/dumbbell.src.js +5 -5
  160. package/modules/export-data.js +2 -2
  161. package/modules/export-data.src.js +5 -5
  162. package/modules/exporting.js +2 -2
  163. package/modules/exporting.src.js +5 -5
  164. package/modules/flowmap.js +2 -2
  165. package/modules/flowmap.src.js +5 -5
  166. package/modules/full-screen.js +2 -2
  167. package/modules/full-screen.src.js +5 -5
  168. package/modules/funnel.js +2 -2
  169. package/modules/funnel.src.js +5 -5
  170. package/modules/funnel3d.js +2 -2
  171. package/modules/funnel3d.src.js +5 -5
  172. package/modules/gantt.js +5 -5
  173. package/modules/gantt.src.js +9 -9
  174. package/modules/geoheatmap.js +2 -2
  175. package/modules/geoheatmap.src.js +5 -5
  176. package/modules/grid-axis.js +2 -2
  177. package/modules/grid-axis.src.js +5 -5
  178. package/modules/heatmap.js +3 -3
  179. package/modules/heatmap.src.js +6 -6
  180. package/modules/heikinashi.js +2 -2
  181. package/modules/heikinashi.src.js +5 -5
  182. package/modules/histogram-bellcurve.js +2 -2
  183. package/modules/histogram-bellcurve.src.js +5 -5
  184. package/modules/hollowcandlestick.js +2 -2
  185. package/modules/hollowcandlestick.src.js +5 -5
  186. package/modules/item-series.js +2 -2
  187. package/modules/item-series.src.js +5 -5
  188. package/modules/lollipop.js +2 -2
  189. package/modules/lollipop.src.js +5 -5
  190. package/modules/map.js +4 -4
  191. package/modules/map.src.js +6 -6
  192. package/modules/marker-clusters.js +2 -2
  193. package/modules/marker-clusters.src.js +5 -5
  194. package/modules/mouse-wheel-zoom.js +2 -2
  195. package/modules/mouse-wheel-zoom.src.js +5 -5
  196. package/modules/navigator.js +2 -2
  197. package/modules/navigator.src.js +5 -5
  198. package/modules/networkgraph.js +2 -2
  199. package/modules/networkgraph.src.js +5 -5
  200. package/modules/no-data-to-display.js +2 -2
  201. package/modules/no-data-to-display.src.js +5 -5
  202. package/modules/offline-exporting.js +2 -2
  203. package/modules/offline-exporting.src.js +6 -6
  204. package/modules/organization.js +2 -2
  205. package/modules/organization.src.js +5 -5
  206. package/modules/overlapping-datalabels.js +2 -2
  207. package/modules/overlapping-datalabels.src.js +5 -5
  208. package/modules/parallel-coordinates.js +2 -2
  209. package/modules/parallel-coordinates.src.js +5 -5
  210. package/modules/pareto.js +2 -2
  211. package/modules/pareto.src.js +5 -5
  212. package/modules/pathfinder.js +2 -2
  213. package/modules/pathfinder.src.js +5 -5
  214. package/modules/pattern-fill.js +2 -2
  215. package/modules/pattern-fill.src.js +5 -5
  216. package/modules/pictorial.js +2 -2
  217. package/modules/pictorial.src.js +5 -5
  218. package/modules/pointandfigure.js +2 -2
  219. package/modules/pointandfigure.src.js +5 -5
  220. package/modules/price-indicator.js +2 -2
  221. package/modules/price-indicator.src.js +5 -5
  222. package/modules/pyramid3d.js +2 -2
  223. package/modules/pyramid3d.src.js +5 -5
  224. package/modules/renko.js +2 -2
  225. package/modules/renko.src.js +5 -5
  226. package/modules/sankey.js +2 -2
  227. package/modules/sankey.src.js +5 -5
  228. package/modules/series-label.js +2 -2
  229. package/modules/series-label.src.js +5 -5
  230. package/modules/series-on-point.js +2 -2
  231. package/modules/series-on-point.src.js +5 -5
  232. package/modules/solid-gauge.js +2 -2
  233. package/modules/solid-gauge.src.js +5 -5
  234. package/modules/sonification.js +2 -2
  235. package/modules/sonification.src.js +5 -5
  236. package/modules/static-scale.js +2 -2
  237. package/modules/static-scale.src.js +5 -5
  238. package/modules/stock-tools.js +2 -2
  239. package/modules/stock-tools.src.js +7 -7
  240. package/modules/stock.js +5 -5
  241. package/modules/stock.src.js +9 -9
  242. package/modules/streamgraph.js +2 -2
  243. package/modules/streamgraph.src.js +5 -5
  244. package/modules/sunburst.js +2 -2
  245. package/modules/sunburst.src.js +5 -5
  246. package/modules/textpath.js +2 -2
  247. package/modules/textpath.src.js +5 -5
  248. package/modules/tiledwebmap.js +2 -2
  249. package/modules/tiledwebmap.src.js +5 -5
  250. package/modules/tilemap.js +2 -2
  251. package/modules/tilemap.src.js +5 -5
  252. package/modules/timeline.js +2 -2
  253. package/modules/timeline.src.js +5 -5
  254. package/modules/treegraph.js +2 -2
  255. package/modules/treegraph.src.js +5 -5
  256. package/modules/treegrid.js +2 -2
  257. package/modules/treegrid.src.js +5 -5
  258. package/modules/treemap.js +2 -2
  259. package/modules/treemap.src.js +5 -5
  260. package/modules/variable-pie.js +2 -2
  261. package/modules/variable-pie.src.js +5 -5
  262. package/modules/variwide.js +2 -2
  263. package/modules/variwide.src.js +5 -5
  264. package/modules/vector.js +2 -2
  265. package/modules/vector.src.js +5 -5
  266. package/modules/venn.js +2 -2
  267. package/modules/venn.src.js +5 -5
  268. package/modules/windbarb.js +2 -2
  269. package/modules/windbarb.src.js +5 -5
  270. package/modules/wordcloud.js +2 -2
  271. package/modules/wordcloud.src.js +5 -5
  272. package/modules/xrange.js +2 -2
  273. package/modules/xrange.src.js +5 -5
  274. package/package.json +1 -1
  275. package/standalone-navigator.js +3 -3
  276. package/standalone-navigator.src.js +25 -20
  277. package/themes/avocado.js +2 -2
  278. package/themes/avocado.src.js +5 -5
  279. package/themes/brand-dark.js +2 -2
  280. package/themes/brand-dark.src.js +5 -5
  281. package/themes/brand-light.js +2 -2
  282. package/themes/brand-light.src.js +5 -5
  283. package/themes/dark-blue.js +2 -2
  284. package/themes/dark-blue.src.js +5 -5
  285. package/themes/dark-green.js +2 -2
  286. package/themes/dark-green.src.js +5 -5
  287. package/themes/dark-unica.js +2 -2
  288. package/themes/dark-unica.src.js +5 -5
  289. package/themes/gray.js +2 -2
  290. package/themes/gray.src.js +5 -5
  291. package/themes/grid-light.js +2 -2
  292. package/themes/grid-light.src.js +5 -5
  293. package/themes/grid.js +2 -2
  294. package/themes/grid.src.js +5 -5
  295. package/themes/high-contrast-dark.js +2 -2
  296. package/themes/high-contrast-dark.src.js +5 -5
  297. package/themes/high-contrast-light.js +2 -2
  298. package/themes/high-contrast-light.src.js +5 -5
  299. package/themes/sand-signika.js +2 -2
  300. package/themes/sand-signika.src.js +5 -5
  301. package/themes/skies.js +2 -2
  302. package/themes/skies.src.js +5 -5
  303. package/themes/sunset.js +2 -2
  304. package/themes/sunset.src.js +5 -5
@@ -1,5 +1,5 @@
1
1
  !/**
2
- * Highcharts JS v12.0.1 (2024-11-28)
2
+ * Highcharts JS v12.0.2 (2024-12-04)
3
3
  * @module highcharts/modules/wordcloud
4
4
  * @requires highcharts
5
5
  *
@@ -7,4 +7,4 @@
7
7
  * Authors: Jon Arild Nygard
8
8
  *
9
9
  * License: www.highcharts.com/license
10
- */function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("highcharts"),require("highcharts").SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/wordcloud",[["highcharts/highcharts"],["highcharts/highcharts","SeriesRegistry"]],e):"object"==typeof exports?exports["highcharts/wordcloud"]=e(require("highcharts"),require("highcharts").SeriesRegistry):t.Highcharts=e(t.Highcharts,t.Highcharts.SeriesRegistry)}(this,(t,e)=>(()=>{"use strict";var i={512:t=>{t.exports=e},944:e=>{e.exports=t}},o={};function r(t){var e=o[t];if(void 0!==e)return e.exports;var n=o[t]={exports:{}};return i[t](n,n.exports,r),n.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var i in e)r.o(e,i)&&!r.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var n={};r.d(n,{default:()=>Z});var a=r(944),l=/*#__PURE__*/r.n(a);let s={draw:function(t,e){let{animatableAttribs:i,onComplete:o,css:r,renderer:n}=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||(l="text"===e.shapeType?n.text():"image"===e.shapeType?n.image(e.imageUrl||"").attr(e.shapeArgs||{}):n[e.shapeType](e.shapeArgs||{}),t.graphic=l,l.add(e.group)),r&&l.css(r),l.attr(e.attribs).animate(i,!e.isNew&&a,o);else if(l){let e=()=>{t.graphic=l=l&&l.destroy(),"function"==typeof o&&o()};Object.keys(i).length?l.animate(i,void 0,()=>e()):e()}}};var h=r(512),p=/*#__PURE__*/r.n(h);let{column:{prototype:{pointClass:d}}}=p().seriesTypes,{extend:g}=l();class u extends d{isValid(){return!0}}g(u.prototype,{weight:1});let{deg2rad:c}=l(),{extend:m,find:f,isNumber:x,isObject:y,merge:b}=l();function w(t,e){return!(e.left>t.right||e.right<t.left||e.top>t.bottom||e.bottom<t.top)}function M(t){let e,i=t.axes||[];return i.length||(i=[],t.concat([t[0]]).reduce((t,e)=>{let o=function(t,e){let i=e[0]-t[0],o=e[1]-t[1];return[[-o,i],[o,-i]]}(t,e)[0];return f(i,t=>t[0]===o[0]&&t[1]===o[1])||i.push(o),e}),t.axes=i),i}function S(t,e){let i=t.map(t=>{let i=t[0],o=t[1];return i*e[0]+o*e[1]});return{min:Math.min.apply(this,i),max:Math.max.apply(this,i)}}function F(t,e){let i=M(t),o=M(e);return!f(i.concat(o),i=>(function(t,e,i){let o=S(e,t),r=S(i,t);return!!(r.min>o.max||r.max<o.min)})(i,t,e))}function P(t,e){let i=4*t,o=Math.ceil((Math.sqrt(i)-1)/2),r=2*o+1,n=Math.pow(r,2),a=!1;return r-=1,t<=1e4&&("boolean"==typeof a&&i>=n-r&&(a={x:o-(n-i),y:-o}),n-=r,"boolean"==typeof a&&i>=n-r&&(a={x:-o,y:-o+(n-i)}),n-=r,"boolean"==typeof a&&(a=i>=n-r?{x:-o+(n-i),y:o}:{x:o,y:o-(n-i-r)}),a.x*=5,a.y*=5),a}function A(t,e){let i=Math.pow(10,x(e)?e:14);return Math.round(t*i)/i}function v(t,e){let i=t[0],o=t[1],r=-(c*e),n=Math.cos(r),a=Math.sin(r);return[A(i*n-o*a),A(i*a+o*n)]}function T(t,e,i){let o=v([t[0]-e[0],t[1]-e[1]],i);return[o[0]+e[0],o[1]+e[1]]}let{noop:z}=l(),{column:R}=p().seriesTypes,{extend:X,isArray:B,isNumber:C,isObject:W,merge:N}=l(),{archimedeanSpiral:O,extendPlayingField:q,getBoundingBoxFromPolygon:D,getPlayingField:H,getPolygon:j,getRandomPosition:Y,getRotation:E,getScale:L,getSpiral:_,intersectionTesting:U,isPolygonsColliding:V,rectangularSpiral:k,rotate2DToOrigin:I,rotate2DToPoint:G,squareSpiral:J,updateFieldBoundaries:K}={archimedeanSpiral:function(t,e){let i=e.field,o=i.width*i.width+i.height*i.height,r=.8*t,n=!1;return t<=1e4&&!(Math.min(Math.abs((n={x:r*Math.cos(r),y:r*Math.sin(r)}).x),Math.abs(n.y))<o)&&(n=!1),n},extendPlayingField:function(t,e){let i,o,r,n,a,l,s,h;return y(t)&&y(e)?(i=e.bottom-e.top,l=(a=(o=e.right-e.left)*(r=t.ratioX)>i*(n=t.ratioY)?o:i)*r,s=a*n,h=b(t,{width:t.width+2*l,height:t.height+2*s})):h=t,h},getBoundingBoxFromPolygon:function(t){return t.reduce(function(t,e){let i=e[0],o=e[1];return t.left=Math.min(i,t.left),t.right=Math.max(i,t.right),t.bottom=Math.max(o,t.bottom),t.top=Math.min(o,t.top),t},{left:Number.MAX_VALUE,right:-Number.MAX_VALUE,bottom:-Number.MAX_VALUE,top:Number.MAX_VALUE})},getPlayingField:function(t,e,i){let o=i.reduce(function(t,e){let i=e.dimensions,o=Math.max(i.width,i.height);return t.maxHeight=Math.max(t.maxHeight,i.height),t.maxWidth=Math.max(t.maxWidth,i.width),t.area+=o*o,t},{maxHeight:0,maxWidth:0,area:0}),r=Math.max(o.maxHeight,o.maxWidth,.85*Math.sqrt(o.area)),n=t>e?t/e:1,a=e>t?e/t:1;return{width:r*n,height:r*a,ratioX:n,ratioY:a}},getPolygon:function(t,e,i,o,r){let n=[t,e],a=t-i/2,l=t+i/2,s=e-o/2,h=e+o/2;return[[a,s],[l,s],[l,h],[a,h]].map(function(t){return T(t,n,-r)})},getRandomPosition:function(t){return Math.round(t*(Math.random()+.5)/2)},getRotation:function(t,e,i,o){let r=!1,n;return x(t)&&x(e)&&x(i)&&x(o)&&t>0&&e>-1&&o>i&&(n=(o-i)/(t-1||1),r=i+e%t*n),r},getScale:function(t,e,i){let o=2*Math.max(Math.abs(i.top),Math.abs(i.bottom)),r=2*Math.max(Math.abs(i.left),Math.abs(i.right));return Math.min(r>0?1/r*t:1,o>0?1/o*e:1)},getSpiral:function(t,e){let i=[];for(let o=1;o<1e4;o++)i.push(t(o,e));return t=>t<=1e4&&i[t-1]},intersectionTesting:function(t,e){let i=e.placed,o=e.field,r=e.rectangle,n=e.polygon,a=e.spiral,l=t.rect=m({},r),s=1,h={x:0,y:0};for(t.polygon=n,t.rotation=e.rotation;!1!==h&&(function(t,e){let i=t.rect,o=t.polygon,r=t.lastCollidedWith,n=function(e){let r=w(i,e.rect);return r&&(t.rotation%90||e.rotation%90)&&(r=F(o,e.polygon)),r},a=!1;return!r||(a=n(r))||delete t.lastCollidedWith,a||(a=!!f(e,function(e){let i=n(e);return i&&(t.lastCollidedWith=e),i})),a}(t,i)||function(t,e){let i={left:-(e.width/2),right:e.width/2,top:-(e.height/2),bottom:e.height/2};return!(i.left<t.left&&i.right>t.right&&i.top<t.top&&i.bottom>t.bottom)}(l,o));)y(h=a(s))&&(l.left=r.left+h.x,l.right=r.right+h.x,l.top=r.top+h.y,l.bottom=r.bottom+h.y,t.polygon=function(t,e,i){return i.map(function(i){return[i[0]+t,i[1]+e]})}(h.x,h.y,n)),s++;return h},isPolygonsColliding:F,isRectanglesIntersecting:w,rectangularSpiral:function(t,e){let i=P(t,e),o=e.field;return i&&(i.x*=o.ratioX,i.y*=o.ratioY),i},rotate2DToOrigin:v,rotate2DToPoint:T,squareSpiral:P,updateFieldBoundaries:function(t,e){return(!x(t.left)||t.left>e.left)&&(t.left=e.left),(!x(t.right)||t.right<e.right)&&(t.right=e.right),(!x(t.top)||t.top>e.top)&&(t.top=e.top),(!x(t.bottom)||t.bottom<e.bottom)&&(t.bottom=e.bottom),t}};class Q extends R{pointAttribs(t,e){let i=l().seriesTypes.column.prototype.pointAttribs.call(this,t,e);return delete i.stroke,delete i["stroke-width"],i}deriveFontSize(t,e,i){let o=C(t)?t:0,r=C(e)?e:1;return Math.floor(Math.max(C(i)?i:1,o*r))}drawPoints(){let t=this.hasRendered,e=this.xAxis,i=this.yAxis,o=this.chart,r=this.group,n=this.options,a=n.animation,l=n.allowExtendPlayingField,h=o.renderer,p=[],d=this.placementStrategy[n.placementStrategy],g=n.rotation,u=this.points.map(function(t){return t.weight}),c=Math.max.apply(null,u),m=this.points.concat().sort((t,e)=>e.weight-t.weight),f=h.text().add(r),x;for(let t of(this.group.attr({scaleX:1,scaleY:1}),m)){let e=1/c*t.weight,i=X({fontSize:this.deriveFontSize(e,n.maxFontSize,n.minFontSize)+"px"},n.style);f.css(i).attr({x:0,y:0,text:t.name});let o=f.getBBox(!0);t.dimensions={height:o.height,width:o.width}}x=H(e.len,i.len,m);let y=_(this.spirals[n.spiral],{field:x});for(let e of m){let i=1/c*e.weight,o=X({fontSize:this.deriveFontSize(i,n.maxFontSize,n.minFontSize)+"px"},n.style),u=d(e,{data:m,field:x,placed:p,rotation:g}),f=X(this.pointAttribs(e,e.selected&&"select"),{align:"center","alignment-baseline":"middle","dominant-baseline":"middle",x:u.x,y:u.y,text:e.name,rotation:C(u.rotation)?u.rotation:void 0}),b=j(u.x,u.y,e.dimensions.width,e.dimensions.height,u.rotation),w=D(b),M=U(e,{rectangle:w,polygon:b,field:x,placed:p,spiral:y,rotation:u.rotation}),S;!M&&l&&(x=q(x,w),M=U(e,{rectangle:w,polygon:b,field:x,placed:p,spiral:y,rotation:u.rotation})),W(M)?(f.x=(f.x||0)+M.x,f.y=(f.y||0)+M.y,w.left+=M.x,w.right+=M.x,w.top+=M.y,w.bottom+=M.y,x=K(x,w),p.push(e),e.isNull=!1,e.isInside=!0):e.isNull=!0,a&&(S={x:f.x,y:f.y},t?(delete f.x,delete f.y):(f.x=0,f.y=0)),s.draw(e,{animatableAttribs:S,attribs:f,css:o,group:r,renderer:h,shapeArgs:void 0,shapeType:"text"})}f=f.destroy();let b=L(e.len,i.len,x);this.group.attr({scaleX:b,scaleY:b})}hasData(){return W(this)&&!0===this.visible&&B(this.points)&&this.points.length>0}getPlotBox(){let t=this.chart,e=t.inverted,i=this[e?"yAxis":"xAxis"],o=this[e?"xAxis":"yAxis"],r=i?i.len:t.plotWidth,n=o?o.len:t.plotHeight;return{translateX:(i?i.left:t.plotLeft)+r/2,translateY:(o?o.top:t.plotTop)+n/2,scaleX:1,scaleY:1}}}Q.defaultOptions=N(R.defaultOptions,{allowExtendPlayingField:!0,animation:{duration:500},borderWidth:0,clip:!1,colorByPoint:!0,cropThreshold:1/0,minFontSize:1,maxFontSize:25,placementStrategy:"center",rotation:{from:0,orientations:2,to:90},showInLegend:!1,spiral:"rectangular",style:{fontFamily:"sans-serif",fontWeight:"900",whiteSpace:"nowrap"},tooltip:{followPointer:!0,pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.weight}</b><br/>'}}),X(Q.prototype,{animate:z,animateDrilldown:z,animateDrillupFrom:z,isCartesian:!1,pointClass:u,setClip:z,placementStrategy:{random:function(t,e){let i=e.field,o=e.rotation;return{x:Y(i.width)-i.width/2,y:Y(i.height)-i.height/2,rotation:E(o.orientations,t.index,o.from,o.to)}},center:function(t,e){let i=e.rotation;return{x:0,y:0,rotation:E(i.orientations,t.index,i.from,i.to)}}},pointArrayMap:["weight"],spirals:{archimedean:O,rectangular:k,square:J},utils:{extendPlayingField:q,getRotation:E,isPolygonsColliding:V,rotate2DToOrigin:I,rotate2DToPoint:G}}),p().registerSeriesType("wordcloud",Q);let Z=l();return n.default})());
10
+ */function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts,t._Highcharts.SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/modules/wordcloud",["highcharts/highcharts"],function(t){return e(t,t.SeriesRegistry)}):"object"==typeof exports?exports["highcharts/modules/wordcloud"]=e(t._Highcharts,t._Highcharts.SeriesRegistry):t.Highcharts=e(t.Highcharts,t.Highcharts.SeriesRegistry)}("undefined"==typeof window?this:window,(t,e)=>(()=>{"use strict";var i={512:t=>{t.exports=e},944:e=>{e.exports=t}},o={};function n(t){var e=o[t];if(void 0!==e)return e.exports;var r=o[t]={exports:{}};return i[t](r,r.exports,n),r.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var r={};n.d(r,{default:()=>Z});var a=n(944),l=/*#__PURE__*/n.n(a);let s={draw:function(t,e){let{animatableAttribs:i,onComplete:o,css:n,renderer:r}=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||(l="text"===e.shapeType?r.text():"image"===e.shapeType?r.image(e.imageUrl||"").attr(e.shapeArgs||{}):r[e.shapeType](e.shapeArgs||{}),t.graphic=l,l.add(e.group)),n&&l.css(n),l.attr(e.attribs).animate(i,!e.isNew&&a,o);else if(l){let e=()=>{t.graphic=l=l&&l.destroy(),"function"==typeof o&&o()};Object.keys(i).length?l.animate(i,void 0,()=>e()):e()}}};var h=n(512),d=/*#__PURE__*/n.n(h);let{column:{prototype:{pointClass:p}}}=d().seriesTypes,{extend:u}=l();class g extends p{isValid(){return!0}}u(g.prototype,{weight:1});let{deg2rad:c}=l(),{extend:m,find:f,isNumber:x,isObject:y,merge:b}=l();function w(t,e){return!(e.left>t.right||e.right<t.left||e.top>t.bottom||e.bottom<t.top)}function M(t){let e,i=t.axes||[];return i.length||(i=[],t.concat([t[0]]).reduce((t,e)=>{let o=function(t,e){let i=e[0]-t[0],o=e[1]-t[1];return[[-o,i],[o,-i]]}(t,e)[0];return f(i,t=>t[0]===o[0]&&t[1]===o[1])||i.push(o),e}),t.axes=i),i}function S(t,e){let i=t.map(t=>{let i=t[0],o=t[1];return i*e[0]+o*e[1]});return{min:Math.min.apply(this,i),max:Math.max.apply(this,i)}}function F(t,e){let i=M(t),o=M(e);return!f(i.concat(o),i=>(function(t,e,i){let o=S(e,t),n=S(i,t);return!!(n.min>o.max||n.max<o.min)})(i,t,e))}function P(t,e){let i=4*t,o=Math.ceil((Math.sqrt(i)-1)/2),n=2*o+1,r=Math.pow(n,2),a=!1;return n-=1,t<=1e4&&("boolean"==typeof a&&i>=r-n&&(a={x:o-(r-i),y:-o}),r-=n,"boolean"==typeof a&&i>=r-n&&(a={x:-o,y:-o+(r-i)}),r-=n,"boolean"==typeof a&&(a=i>=r-n?{x:-o+(r-i),y:o}:{x:o,y:o-(r-i-n)}),a.x*=5,a.y*=5),a}function A(t,e){let i=Math.pow(10,x(e)?e:14);return Math.round(t*i)/i}function v(t,e){let i=t[0],o=t[1],n=-(c*e),r=Math.cos(n),a=Math.sin(n);return[A(i*r-o*a),A(i*a+o*r)]}function T(t,e,i){let o=v([t[0]-e[0],t[1]-e[1]],i);return[o[0]+e[0],o[1]+e[1]]}let{noop:H}=l(),{column:z}=d().seriesTypes,{extend:R,isArray:X,isNumber:B,isObject:C,merge:W}=l(),{archimedeanSpiral:_,extendPlayingField:N,getBoundingBoxFromPolygon:O,getPlayingField:D,getPolygon:j,getRandomPosition:Y,getRotation:E,getScale:L,getSpiral:U,intersectionTesting:V,isPolygonsColliding:q,rectangularSpiral:k,rotate2DToOrigin:I,rotate2DToPoint:G,squareSpiral:J,updateFieldBoundaries:K}={archimedeanSpiral:function(t,e){let i=e.field,o=i.width*i.width+i.height*i.height,n=.8*t,r=!1;return t<=1e4&&!(Math.min(Math.abs((r={x:n*Math.cos(n),y:n*Math.sin(n)}).x),Math.abs(r.y))<o)&&(r=!1),r},extendPlayingField:function(t,e){let i,o,n,r,a,l,s,h;return y(t)&&y(e)?(i=e.bottom-e.top,l=(a=(o=e.right-e.left)*(n=t.ratioX)>i*(r=t.ratioY)?o:i)*n,s=a*r,h=b(t,{width:t.width+2*l,height:t.height+2*s})):h=t,h},getBoundingBoxFromPolygon:function(t){return t.reduce(function(t,e){let i=e[0],o=e[1];return t.left=Math.min(i,t.left),t.right=Math.max(i,t.right),t.bottom=Math.max(o,t.bottom),t.top=Math.min(o,t.top),t},{left:Number.MAX_VALUE,right:-Number.MAX_VALUE,bottom:-Number.MAX_VALUE,top:Number.MAX_VALUE})},getPlayingField:function(t,e,i){let o=i.reduce(function(t,e){let i=e.dimensions,o=Math.max(i.width,i.height);return t.maxHeight=Math.max(t.maxHeight,i.height),t.maxWidth=Math.max(t.maxWidth,i.width),t.area+=o*o,t},{maxHeight:0,maxWidth:0,area:0}),n=Math.max(o.maxHeight,o.maxWidth,.85*Math.sqrt(o.area)),r=t>e?t/e:1,a=e>t?e/t:1;return{width:n*r,height:n*a,ratioX:r,ratioY:a}},getPolygon:function(t,e,i,o,n){let r=[t,e],a=t-i/2,l=t+i/2,s=e-o/2,h=e+o/2;return[[a,s],[l,s],[l,h],[a,h]].map(function(t){return T(t,r,-n)})},getRandomPosition:function(t){return Math.round(t*(Math.random()+.5)/2)},getRotation:function(t,e,i,o){let n=!1,r;return x(t)&&x(e)&&x(i)&&x(o)&&t>0&&e>-1&&o>i&&(r=(o-i)/(t-1||1),n=i+e%t*r),n},getScale:function(t,e,i){let o=2*Math.max(Math.abs(i.top),Math.abs(i.bottom)),n=2*Math.max(Math.abs(i.left),Math.abs(i.right));return Math.min(n>0?1/n*t:1,o>0?1/o*e:1)},getSpiral:function(t,e){let i=[];for(let o=1;o<1e4;o++)i.push(t(o,e));return t=>t<=1e4&&i[t-1]},intersectionTesting:function(t,e){let i=e.placed,o=e.field,n=e.rectangle,r=e.polygon,a=e.spiral,l=t.rect=m({},n),s=1,h={x:0,y:0};for(t.polygon=r,t.rotation=e.rotation;!1!==h&&(function(t,e){let i=t.rect,o=t.polygon,n=t.lastCollidedWith,r=function(e){let n=w(i,e.rect);return n&&(t.rotation%90||e.rotation%90)&&(n=F(o,e.polygon)),n},a=!1;return!n||(a=r(n))||delete t.lastCollidedWith,a||(a=!!f(e,function(e){let i=r(e);return i&&(t.lastCollidedWith=e),i})),a}(t,i)||function(t,e){let i={left:-(e.width/2),right:e.width/2,top:-(e.height/2),bottom:e.height/2};return!(i.left<t.left&&i.right>t.right&&i.top<t.top&&i.bottom>t.bottom)}(l,o));)y(h=a(s))&&(l.left=n.left+h.x,l.right=n.right+h.x,l.top=n.top+h.y,l.bottom=n.bottom+h.y,t.polygon=function(t,e,i){return i.map(function(i){return[i[0]+t,i[1]+e]})}(h.x,h.y,r)),s++;return h},isPolygonsColliding:F,isRectanglesIntersecting:w,rectangularSpiral:function(t,e){let i=P(t,e),o=e.field;return i&&(i.x*=o.ratioX,i.y*=o.ratioY),i},rotate2DToOrigin:v,rotate2DToPoint:T,squareSpiral:P,updateFieldBoundaries:function(t,e){return(!x(t.left)||t.left>e.left)&&(t.left=e.left),(!x(t.right)||t.right<e.right)&&(t.right=e.right),(!x(t.top)||t.top>e.top)&&(t.top=e.top),(!x(t.bottom)||t.bottom<e.bottom)&&(t.bottom=e.bottom),t}};class Q extends z{pointAttribs(t,e){let i=l().seriesTypes.column.prototype.pointAttribs.call(this,t,e);return delete i.stroke,delete i["stroke-width"],i}deriveFontSize(t,e,i){let o=B(t)?t:0,n=B(e)?e:1;return Math.floor(Math.max(B(i)?i:1,o*n))}drawPoints(){let t=this.hasRendered,e=this.xAxis,i=this.yAxis,o=this.chart,n=this.group,r=this.options,a=r.animation,l=r.allowExtendPlayingField,h=o.renderer,d=[],p=this.placementStrategy[r.placementStrategy],u=r.rotation,g=this.points.map(function(t){return t.weight}),c=Math.max.apply(null,g),m=this.points.concat().sort((t,e)=>e.weight-t.weight),f=h.text().add(n),x;for(let t of(this.group.attr({scaleX:1,scaleY:1}),m)){let e=1/c*t.weight,i=R({fontSize:this.deriveFontSize(e,r.maxFontSize,r.minFontSize)+"px"},r.style);f.css(i).attr({x:0,y:0,text:t.name});let o=f.getBBox(!0);t.dimensions={height:o.height,width:o.width}}x=D(e.len,i.len,m);let y=U(this.spirals[r.spiral],{field:x});for(let e of m){let i=1/c*e.weight,o=R({fontSize:this.deriveFontSize(i,r.maxFontSize,r.minFontSize)+"px"},r.style),g=p(e,{data:m,field:x,placed:d,rotation:u}),f=R(this.pointAttribs(e,e.selected&&"select"),{align:"center","alignment-baseline":"middle","dominant-baseline":"middle",x:g.x,y:g.y,text:e.name,rotation:B(g.rotation)?g.rotation:void 0}),b=j(g.x,g.y,e.dimensions.width,e.dimensions.height,g.rotation),w=O(b),M=V(e,{rectangle:w,polygon:b,field:x,placed:d,spiral:y,rotation:g.rotation}),S;!M&&l&&(x=N(x,w),M=V(e,{rectangle:w,polygon:b,field:x,placed:d,spiral:y,rotation:g.rotation})),C(M)?(f.x=(f.x||0)+M.x,f.y=(f.y||0)+M.y,w.left+=M.x,w.right+=M.x,w.top+=M.y,w.bottom+=M.y,x=K(x,w),d.push(e),e.isNull=!1,e.isInside=!0):e.isNull=!0,a&&(S={x:f.x,y:f.y},t?(delete f.x,delete f.y):(f.x=0,f.y=0)),s.draw(e,{animatableAttribs:S,attribs:f,css:o,group:n,renderer:h,shapeArgs:void 0,shapeType:"text"})}f=f.destroy();let b=L(e.len,i.len,x);this.group.attr({scaleX:b,scaleY:b})}hasData(){return C(this)&&!0===this.visible&&X(this.points)&&this.points.length>0}getPlotBox(){let t=this.chart,e=t.inverted,i=this[e?"yAxis":"xAxis"],o=this[e?"xAxis":"yAxis"],n=i?i.len:t.plotWidth,r=o?o.len:t.plotHeight;return{translateX:(i?i.left:t.plotLeft)+n/2,translateY:(o?o.top:t.plotTop)+r/2,scaleX:1,scaleY:1}}}Q.defaultOptions=W(z.defaultOptions,{allowExtendPlayingField:!0,animation:{duration:500},borderWidth:0,clip:!1,colorByPoint:!0,cropThreshold:1/0,minFontSize:1,maxFontSize:25,placementStrategy:"center",rotation:{from:0,orientations:2,to:90},showInLegend:!1,spiral:"rectangular",style:{fontFamily:"sans-serif",fontWeight:"900",whiteSpace:"nowrap"},tooltip:{followPointer:!0,pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.weight}</b><br/>'}}),R(Q.prototype,{animate:H,animateDrilldown:H,animateDrillupFrom:H,isCartesian:!1,pointClass:g,setClip:H,placementStrategy:{random:function(t,e){let i=e.field,o=e.rotation;return{x:Y(i.width)-i.width/2,y:Y(i.height)-i.height/2,rotation:E(o.orientations,t.index,o.from,o.to)}},center:function(t,e){let i=e.rotation;return{x:0,y:0,rotation:E(i.orientations,t.index,i.from,i.to)}}},pointArrayMap:["weight"],spirals:{archimedean:_,rectangular:k,square:J},utils:{extendPlayingField:N,getRotation:E,isPolygonsColliding:q,rotate2DToOrigin:I,rotate2DToPoint:G}}),d().registerSeriesType("wordcloud",Q);let Z=l();return r.default})());
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts JS v12.0.1 (2024-11-28)
2
+ * @license Highcharts JS v12.0.2 (2024-12-04)
3
3
  * @module highcharts/modules/wordcloud
4
4
  * @requires highcharts
5
5
  *
@@ -10,14 +10,14 @@
10
10
  */
11
11
  (function webpackUniversalModuleDefinition(root, factory) {
12
12
  if(typeof exports === 'object' && typeof module === 'object')
13
- module.exports = factory(require("highcharts"), require("highcharts")["SeriesRegistry"]);
13
+ module.exports = factory(root["_Highcharts"], root["_Highcharts"]["SeriesRegistry"]);
14
14
  else if(typeof define === 'function' && define.amd)
15
- define("highcharts/wordcloud", [["highcharts/highcharts"], ["highcharts/highcharts","SeriesRegistry"]], factory);
15
+ define("highcharts/modules/wordcloud", ["highcharts/highcharts"], function (amd1) {return factory(amd1,amd1["SeriesRegistry"]);});
16
16
  else if(typeof exports === 'object')
17
- exports["highcharts/wordcloud"] = factory(require("highcharts"), require("highcharts")["SeriesRegistry"]);
17
+ exports["highcharts/modules/wordcloud"] = factory(root["_Highcharts"], root["_Highcharts"]["SeriesRegistry"]);
18
18
  else
19
19
  root["Highcharts"] = factory(root["Highcharts"], root["Highcharts"]["SeriesRegistry"]);
20
- })(this, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__512__) => {
20
+ })(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__512__) => {
21
21
  return /******/ (() => { // webpackBootstrap
22
22
  /******/ "use strict";
23
23
  /******/ var __webpack_modules__ = ({
package/modules/xrange.js CHANGED
@@ -1,5 +1,5 @@
1
1
  !/**
2
- * Highcharts JS v12.0.1 (2024-11-28)
2
+ * Highcharts JS v12.0.2 (2024-12-04)
3
3
  * @module highcharts/modules/xrange
4
4
  * @requires highcharts
5
5
  *
@@ -8,4 +8,4 @@
8
8
  * (c) 2010-2024 Torstein Honsi, Lars A. V. Cabrera
9
9
  *
10
10
  * License: www.highcharts.com/license
11
- */function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("highcharts"),require("highcharts").Color,require("highcharts").SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/xrange",[["highcharts/highcharts"],["highcharts/highcharts","Color"],["highcharts/highcharts","SeriesRegistry"]],e):"object"==typeof exports?exports["highcharts/xrange"]=e(require("highcharts"),require("highcharts").Color,require("highcharts").SeriesRegistry):t.Highcharts=e(t.Highcharts,t.Highcharts.Color,t.Highcharts.SeriesRegistry)}(this,(t,e,i)=>(()=>{"use strict";var s={620:t=>{t.exports=e},512:t=>{t.exports=i},944:e=>{e.exports=t}},r={};function o(t){var e=r[t];if(void 0!==e)return e.exports;var i=r[t]={exports:{}};return s[t](i,i.exports,o),i.exports}o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var i in e)o.o(e,i)&&!o.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var a={};o.d(a,{default:()=>N});var l=o(944),n=/*#__PURE__*/o.n(l),h=o(620),p=/*#__PURE__*/o.n(h),c=o(512),d=/*#__PURE__*/o.n(c);let{correctFloat:g,isNumber:u,isObject:x}=n(),{column:{prototype:{pointClass:y}}}=d().seriesTypes,{extend:f}=n();class m extends y{static getColorByCategory(t,e){let i=t.options.colors||t.chart.options.colors,s=i?i.length:t.chart.options.chart.colorCount,r=e.y%s,o=i&&i[r];return{colorIndex:r,color:o}}resolveColor(){let t=this.series;if(t.options.colorByPoint&&!this.options.color){let e=m.getColorByCategory(t,this);t.chart.styledMode||(this.color=e.color),this.options.colorIndex||(this.colorIndex=e.colorIndex)}else this.color=this.options.color||t.color}constructor(t,e){super(t,e),this.y||(this.y=0)}applyOptions(t,e){return super.applyOptions(t,e),this.x2=this.series.chart.time.parse(this.x2),this.isNull=!this.isValid?.(),this}setState(){super.setState.apply(this,arguments),this.series.drawPoint(this,this.series.getAnimationVerb())}isValid(){return"number"==typeof this.x&&"number"==typeof this.x2}}f(m.prototype,{ttBelow:!1,tooltipDateKeys:["x","x2"]});let{composed:b,noop:A}=n(),{parse:C}=p(),{column:w}=d().seriesTypes,{addEvent:v,clamp:M,crisp:P,defined:R,extend:S,find:X,isNumber:B,isObject:L,merge:O,pick:F,pushUnique:I,relativeLength:T}=n();function j(){let t,e;if(this.isXAxis){for(let i of(t=F(this.dataMax,-Number.MAX_VALUE),this.series)){let s=i.dataTable.getColumn("x2",!0)||i.dataTable.getColumn("end",!0);if(s)for(let i of s)B(i)&&i>t&&(t=i,e=!0)}e&&(this.dataMax=t)}}class q extends w{static compose(t){I(b,"Series.XRange")&&v(t,"afterGetSeriesExtremes",j)}init(){super.init.apply(this,arguments),this.options.stacking=void 0}getColumnMetrics(){let t=()=>{for(let t of this.chart.series){let e=t.xAxis;t.xAxis=t.yAxis,t.yAxis=e}};t();let e=super.getColumnMetrics();return t(),e}cropData(t,e,i){let s=t.getColumn("x")||[],r=t.getColumn("x2");t.setColumn("x",r,void 0,{silent:!0});let o=super.cropData(t,e,i);return t.setColumn("x",s.slice(o.start,o.end),void 0,{silent:!0}),o}findPointIndex(t){let e;let{cropStart:i,points:s}=this,{id:r}=t;if(r){let t=X(s,t=>t.id===r);e=t?t.index:void 0}if(void 0===e){let i=X(s,e=>e.x===t.x&&e.x2===t.x2&&!e.touched);e=i?i.index:void 0}return this.cropped&&B(e)&&B(i)&&e>=i&&(e-=i),e}alignDataLabel(t){let e=t.plotX;t.plotX=F(t.dlBox&&t.dlBox.centerX,t.plotX),t.dataLabel&&t.shapeArgs?.width&&t.dataLabel.css({width:`${t.shapeArgs.width}px`}),super.alignDataLabel.apply(this,arguments),t.plotX=e}translatePoint(t){let e=this.xAxis,i=this.yAxis,s=this.columnMetrics,r=this.options,o=r.minPointLength||0,a=(t.shapeArgs&&t.shapeArgs.width||0)/2,l=this.pointXOffset=s.offset,n=F(t.x2,t.x+(t.len||0)),h=r.borderRadius,p=this.chart.plotTop,c=this.chart.plotLeft,d=t.plotX,g=e.translate(n,0,0,0,1),u=Math.abs(g-d),x=this.chart.inverted,y=F(r.borderWidth,1),f,m,b=s.offset,A=Math.round(s.width),C,w,v,S;o&&((f=o-u)<0&&(f=0),d-=f/2,g+=f/2),d=Math.max(d,-10),g=M(g,-10,e.len+10),R(t.options.pointWidth)&&(b-=(Math.ceil(t.options.pointWidth)-A)/2,A=Math.ceil(t.options.pointWidth)),r.pointPlacement&&B(t.plotY)&&i.categories&&(t.plotY=i.translate(t.y,0,1,0,1,r.pointPlacement));let X=P(Math.min(d,g),y),I=P(Math.max(d,g),y)-X,j=Math.min(T("object"==typeof h?h.radius:h||0,A),Math.min(I,A)/2),q={x:X,y:P((t.plotY||0)+b,y),width:I,height:A,r:j};t.shapeArgs=q,x?t.tooltipPos[1]+=l+a:t.tooltipPos[0]-=a+l-q.width/2,w=(C=q.x)+q.width,C<0||w>e.len?(C=M(C,0,e.len),v=(w=M(w,0,e.len))-C,t.dlBox=O(q,{x:C,width:w-C,centerX:v?v/2:null})):t.dlBox=null;let D=t.tooltipPos,N=x?1:0,V=x?0:1,Y=this.columnMetrics?this.columnMetrics.offset:-s.width/2;x?D[N]+=q.width/2:D[N]=M(D[N]+(e.reversed?-1:0)*q.width,e.left-c,e.left+e.len-c-1),D[V]=M(D[V]+(x?-1:1)*Y,i.top-p,i.top+i.len-p-1),(m=t.partialFill)&&(L(m)&&(m=m.amount),B(m)||(m=0),t.partShapeArgs=O(q),S=Math.max(Math.round(u*m+t.plotX-d),0),t.clipRectArgs={x:e.reversed?q.x+u-S:q.x,y:q.y,width:S,height:q.height}),t.key=t.category||t.name,t.yCategory=i.categories?.[t.y??-1]}translate(){for(let t of(super.translate.apply(this,arguments),this.points))this.translatePoint(t)}drawPoint(t,e){let i=this.options,s=this.chart.renderer,r=t.shapeType,o=t.shapeArgs,a=t.partShapeArgs,l=t.clipRectArgs,n=t.state,h=i.states[n||"normal"]||{},p=void 0===n?"attr":e,c=this.pointAttribs(t,n),d=F(this.chart.options.chart.animation,h.animation),g=t.graphic,u=t.partialFill;if(t.isNull||!1===t.visible)g&&(t.graphic=g.destroy());else if(g?g.rect[e](o):(t.graphic=g=s.g("point").addClass(t.getClassName()).add(t.group||this.group),g.rect=s[r](O(o)).addClass(t.getClassName()).addClass("highcharts-partfill-original").add(g)),a&&(g.partRect?(g.partRect[e](O(a)),g.partialClipRect[e](O(l))):(g.partialClipRect=s.clipRect(l.x,l.y,l.width,l.height),g.partRect=s[r](a).addClass("highcharts-partfill-overlay").add(g).clip(g.partialClipRect))),!this.chart.styledMode&&(g.rect[e](c,d).shadow(i.shadow),a)){L(u)||(u={}),L(i.partialFill)&&(u=O(i.partialFill,u));let e=u.fill||C(c.fill).brighten(-.3).get()||C(t.color||this.color).brighten(-.3).get();c.fill=e,g.partRect[p](c,d).shadow(i.shadow)}}drawPoints(){let t=this.getAnimationVerb();for(let e of this.points)this.drawPoint(e,t)}getAnimationVerb(){return this.chart.pointCount<(this.options.animationLimit||250)?"animate":"attr"}isPointInside(t){let e=t.shapeArgs,i=t.plotX,s=t.plotY;return e?void 0!==i&&void 0!==s&&s>=0&&s<=this.yAxis.len&&(e.x||0)+(e.width||0)>=0&&i<=this.xAxis.len:super.isPointInside.apply(this,arguments)}}q.defaultOptions=O(w.defaultOptions,{colorByPoint:!0,dataLabels:{formatter:function(){let t=this.partialFill;if(x(t)&&(t=t.amount),u(t)&&t>0)return g(100*t)+"%"},inside:!0,verticalAlign:"middle",style:{whiteSpace:"nowrap"}},tooltip:{headerFormat:'<span style="font-size: 0.8em">{ucfirst point.x} - {point.x2}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.yCategory}</b><br/>'},borderRadius:3,pointRange:0}),S(q.prototype,{pointClass:m,pointArrayMap:["x2","y"],getExtremesFromAll:!0,keysAffectYAxis:["y"],parallelArrays:["x","x2","y"],requireSorting:!1,type:"xrange",animate:d().series.prototype.animate,autoIncrement:A,buildKDTree:A}),d().registerSeriesType("xrange",q);let D=n();q.compose(D.Axis);let N=n();return a.default})());
11
+ */function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts,t._Highcharts.Color,t._Highcharts.SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/modules/xrange",["highcharts/highcharts"],function(t){return e(t,t.Color,t.SeriesRegistry)}):"object"==typeof exports?exports["highcharts/modules/xrange"]=e(t._Highcharts,t._Highcharts.Color,t._Highcharts.SeriesRegistry):t.Highcharts=e(t.Highcharts,t.Highcharts.Color,t.Highcharts.SeriesRegistry)}("undefined"==typeof window?this:window,(t,e,i)=>(()=>{"use strict";var s={620:t=>{t.exports=e},512:t=>{t.exports=i},944:e=>{e.exports=t}},o={};function r(t){var e=o[t];if(void 0!==e)return e.exports;var i=o[t]={exports:{}};return s[t](i,i.exports,r),i.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var i in e)r.o(e,i)&&!r.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var a={};r.d(a,{default:()=>D});var l=r(944),n=/*#__PURE__*/r.n(l),h=r(620),p=/*#__PURE__*/r.n(h),d=r(512),c=/*#__PURE__*/r.n(d);let{correctFloat:g,isNumber:x,isObject:u}=n(),{column:{prototype:{pointClass:y}}}=c().seriesTypes,{extend:f}=n();class m extends y{static getColorByCategory(t,e){let i=t.options.colors||t.chart.options.colors,s=i?i.length:t.chart.options.chart.colorCount,o=e.y%s,r=i&&i[o];return{colorIndex:o,color:r}}resolveColor(){let t=this.series;if(t.options.colorByPoint&&!this.options.color){let e=m.getColorByCategory(t,this);t.chart.styledMode||(this.color=e.color),this.options.colorIndex||(this.colorIndex=e.colorIndex)}else this.color=this.options.color||t.color}constructor(t,e){super(t,e),this.y||(this.y=0)}applyOptions(t,e){return super.applyOptions(t,e),this.x2=this.series.chart.time.parse(this.x2),this.isNull=!this.isValid?.(),this}setState(){super.setState.apply(this,arguments),this.series.drawPoint(this,this.series.getAnimationVerb())}isValid(){return"number"==typeof this.x&&"number"==typeof this.x2}}f(m.prototype,{ttBelow:!1,tooltipDateKeys:["x","x2"]});let{composed:b,noop:A}=n(),{parse:C}=p(),{column:w}=c().seriesTypes,{addEvent:v,clamp:M,crisp:P,defined:R,extend:S,find:X,isNumber:H,isObject:B,merge:L,pick:O,pushUnique:_,relativeLength:F}=n();function I(){let t,e;if(this.isXAxis){for(let i of(t=O(this.dataMax,-Number.MAX_VALUE),this.series)){let s=i.dataTable.getColumn("x2",!0)||i.dataTable.getColumn("end",!0);if(s)for(let i of s)H(i)&&i>t&&(t=i,e=!0)}e&&(this.dataMax=t)}}class T extends w{static compose(t){_(b,"Series.XRange")&&v(t,"afterGetSeriesExtremes",I)}init(){super.init.apply(this,arguments),this.options.stacking=void 0}getColumnMetrics(){let t=()=>{for(let t of this.chart.series){let e=t.xAxis;t.xAxis=t.yAxis,t.yAxis=e}};t();let e=super.getColumnMetrics();return t(),e}cropData(t,e,i){let s=t.getColumn("x")||[],o=t.getColumn("x2");t.setColumn("x",o,void 0,{silent:!0});let r=super.cropData(t,e,i);return t.setColumn("x",s.slice(r.start,r.end),void 0,{silent:!0}),r}findPointIndex(t){let e;let{cropStart:i,points:s}=this,{id:o}=t;if(o){let t=X(s,t=>t.id===o);e=t?t.index:void 0}if(void 0===e){let i=X(s,e=>e.x===t.x&&e.x2===t.x2&&!e.touched);e=i?i.index:void 0}return this.cropped&&H(e)&&H(i)&&e>=i&&(e-=i),e}alignDataLabel(t){let e=t.plotX;t.plotX=O(t.dlBox&&t.dlBox.centerX,t.plotX),t.dataLabel&&t.shapeArgs?.width&&t.dataLabel.css({width:`${t.shapeArgs.width}px`}),super.alignDataLabel.apply(this,arguments),t.plotX=e}translatePoint(t){let e=this.xAxis,i=this.yAxis,s=this.columnMetrics,o=this.options,r=o.minPointLength||0,a=(t.shapeArgs&&t.shapeArgs.width||0)/2,l=this.pointXOffset=s.offset,n=O(t.x2,t.x+(t.len||0)),h=o.borderRadius,p=this.chart.plotTop,d=this.chart.plotLeft,c=t.plotX,g=e.translate(n,0,0,0,1),x=Math.abs(g-c),u=this.chart.inverted,y=O(o.borderWidth,1),f,m,b=s.offset,A=Math.round(s.width),C,w,v,S;r&&((f=r-x)<0&&(f=0),c-=f/2,g+=f/2),c=Math.max(c,-10),g=M(g,-10,e.len+10),R(t.options.pointWidth)&&(b-=(Math.ceil(t.options.pointWidth)-A)/2,A=Math.ceil(t.options.pointWidth)),o.pointPlacement&&H(t.plotY)&&i.categories&&(t.plotY=i.translate(t.y,0,1,0,1,o.pointPlacement));let X=P(Math.min(c,g),y),_=P(Math.max(c,g),y)-X,I=Math.min(F("object"==typeof h?h.radius:h||0,A),Math.min(_,A)/2),T={x:X,y:P((t.plotY||0)+b,y),width:_,height:A,r:I};t.shapeArgs=T,u?t.tooltipPos[1]+=l+a:t.tooltipPos[0]-=a+l-T.width/2,w=(C=T.x)+T.width,C<0||w>e.len?(C=M(C,0,e.len),v=(w=M(w,0,e.len))-C,t.dlBox=L(T,{x:C,width:w-C,centerX:v?v/2:null})):t.dlBox=null;let j=t.tooltipPos,D=u?1:0,N=u?0:1,V=this.columnMetrics?this.columnMetrics.offset:-s.width/2;u?j[D]+=T.width/2:j[D]=M(j[D]+(e.reversed?-1:0)*T.width,e.left-d,e.left+e.len-d-1),j[N]=M(j[N]+(u?-1:1)*V,i.top-p,i.top+i.len-p-1),(m=t.partialFill)&&(B(m)&&(m=m.amount),H(m)||(m=0),t.partShapeArgs=L(T),S=Math.max(Math.round(x*m+t.plotX-c),0),t.clipRectArgs={x:e.reversed?T.x+x-S:T.x,y:T.y,width:S,height:T.height}),t.key=t.category||t.name,t.yCategory=i.categories?.[t.y??-1]}translate(){for(let t of(super.translate.apply(this,arguments),this.points))this.translatePoint(t)}drawPoint(t,e){let i=this.options,s=this.chart.renderer,o=t.shapeType,r=t.shapeArgs,a=t.partShapeArgs,l=t.clipRectArgs,n=t.state,h=i.states[n||"normal"]||{},p=void 0===n?"attr":e,d=this.pointAttribs(t,n),c=O(this.chart.options.chart.animation,h.animation),g=t.graphic,x=t.partialFill;if(t.isNull||!1===t.visible)g&&(t.graphic=g.destroy());else if(g?g.rect[e](r):(t.graphic=g=s.g("point").addClass(t.getClassName()).add(t.group||this.group),g.rect=s[o](L(r)).addClass(t.getClassName()).addClass("highcharts-partfill-original").add(g)),a&&(g.partRect?(g.partRect[e](L(a)),g.partialClipRect[e](L(l))):(g.partialClipRect=s.clipRect(l.x,l.y,l.width,l.height),g.partRect=s[o](a).addClass("highcharts-partfill-overlay").add(g).clip(g.partialClipRect))),!this.chart.styledMode&&(g.rect[e](d,c).shadow(i.shadow),a)){B(x)||(x={}),B(i.partialFill)&&(x=L(i.partialFill,x));let e=x.fill||C(d.fill).brighten(-.3).get()||C(t.color||this.color).brighten(-.3).get();d.fill=e,g.partRect[p](d,c).shadow(i.shadow)}}drawPoints(){let t=this.getAnimationVerb();for(let e of this.points)this.drawPoint(e,t)}getAnimationVerb(){return this.chart.pointCount<(this.options.animationLimit||250)?"animate":"attr"}isPointInside(t){let e=t.shapeArgs,i=t.plotX,s=t.plotY;return e?void 0!==i&&void 0!==s&&s>=0&&s<=this.yAxis.len&&(e.x||0)+(e.width||0)>=0&&i<=this.xAxis.len:super.isPointInside.apply(this,arguments)}}T.defaultOptions=L(w.defaultOptions,{colorByPoint:!0,dataLabels:{formatter:function(){let t=this.partialFill;if(u(t)&&(t=t.amount),x(t)&&t>0)return g(100*t)+"%"},inside:!0,verticalAlign:"middle",style:{whiteSpace:"nowrap"}},tooltip:{headerFormat:'<span style="font-size: 0.8em">{ucfirst point.x} - {point.x2}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.yCategory}</b><br/>'},borderRadius:3,pointRange:0}),S(T.prototype,{pointClass:m,pointArrayMap:["x2","y"],getExtremesFromAll:!0,keysAffectYAxis:["y"],parallelArrays:["x","x2","y"],requireSorting:!1,type:"xrange",animate:c().series.prototype.animate,autoIncrement:A,buildKDTree:A}),c().registerSeriesType("xrange",T);let j=n();T.compose(j.Axis);let D=n();return a.default})());
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts JS v12.0.1 (2024-11-28)
2
+ * @license Highcharts JS v12.0.2 (2024-12-04)
3
3
  * @module highcharts/modules/xrange
4
4
  * @requires highcharts
5
5
  *
@@ -11,14 +11,14 @@
11
11
  */
12
12
  (function webpackUniversalModuleDefinition(root, factory) {
13
13
  if(typeof exports === 'object' && typeof module === 'object')
14
- module.exports = factory(require("highcharts"), require("highcharts")["Color"], require("highcharts")["SeriesRegistry"]);
14
+ module.exports = factory(root["_Highcharts"], root["_Highcharts"]["Color"], root["_Highcharts"]["SeriesRegistry"]);
15
15
  else if(typeof define === 'function' && define.amd)
16
- define("highcharts/xrange", [["highcharts/highcharts"], ["highcharts/highcharts","Color"], ["highcharts/highcharts","SeriesRegistry"]], factory);
16
+ define("highcharts/modules/xrange", ["highcharts/highcharts"], function (amd1) {return factory(amd1,amd1["Color"],amd1["SeriesRegistry"]);});
17
17
  else if(typeof exports === 'object')
18
- exports["highcharts/xrange"] = factory(require("highcharts"), require("highcharts")["Color"], require("highcharts")["SeriesRegistry"]);
18
+ exports["highcharts/modules/xrange"] = factory(root["_Highcharts"], root["_Highcharts"]["Color"], root["_Highcharts"]["SeriesRegistry"]);
19
19
  else
20
20
  root["Highcharts"] = factory(root["Highcharts"], root["Highcharts"]["Color"], root["Highcharts"]["SeriesRegistry"]);
21
- })(this, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__620__, __WEBPACK_EXTERNAL_MODULE__512__) => {
21
+ })(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__620__, __WEBPACK_EXTERNAL_MODULE__512__) => {
22
22
  return /******/ (() => { // webpackBootstrap
23
23
  /******/ "use strict";
24
24
  /******/ var __webpack_modules__ = ({
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "highcharts",
3
3
  "description": "JavaScript charting framework",
4
4
  "homepage": "http://www.highcharts.com",
5
- "version": "12.0.1",
5
+ "version": "12.0.2",
6
6
  "author": "Highsoft AS <support@highcharts.com> (http://www.highcharts.com/about)",
7
7
  "main": "highcharts.js",
8
8
  "repository": {