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.
- package/bower.json +1 -1
- package/es-modules/Core/Axis/Axis.js +1 -1
- package/es-modules/Core/Renderer/SVG/SVGElement.js +8 -2
- package/es-modules/Core/Renderer/SVG/TextBuilder.js +1 -1
- package/es-modules/Core/Tooltip.js +2 -1
- package/es-modules/Core/Utilities.js +53 -53
- package/es-modules/Extensions/Boost/WGLRenderer.js +12 -4
- package/es-modules/Extensions/Drilldown/Drilldown.js +3 -3
- package/es-modules/Series/Line/LineSeries.js +2 -4
- package/es-modules/Stock/RangeSelector/RangeSelector.js +1 -1
- package/es-modules/tsconfig.tsbuildinfo +1 -1
- package/highcharts-3d.js +2 -2
- package/highcharts-3d.src.js +5 -5
- package/highcharts-gantt.js +5 -5
- package/highcharts-gantt.src.js +30 -25
- package/highcharts-more.js +2 -2
- package/highcharts-more.src.js +5 -5
- package/highcharts.js +3 -3
- package/highcharts.src.js +24 -19
- package/highmaps.js +5 -5
- package/highmaps.src.js +27 -22
- package/highstock.js +5 -5
- package/highstock.src.js +30 -25
- package/indicators/acceleration-bands.js +2 -2
- package/indicators/acceleration-bands.src.js +5 -5
- package/indicators/accumulation-distribution.js +2 -2
- package/indicators/accumulation-distribution.src.js +5 -5
- package/indicators/ao.js +2 -2
- package/indicators/ao.src.js +5 -5
- package/indicators/apo.js +2 -2
- package/indicators/apo.src.js +5 -5
- package/indicators/aroon-oscillator.js +2 -2
- package/indicators/aroon-oscillator.src.js +5 -5
- package/indicators/aroon.js +2 -2
- package/indicators/aroon.src.js +5 -5
- package/indicators/atr.js +2 -2
- package/indicators/atr.src.js +5 -5
- package/indicators/bollinger-bands.js +2 -2
- package/indicators/bollinger-bands.src.js +5 -5
- package/indicators/cci.js +2 -2
- package/indicators/cci.src.js +5 -5
- package/indicators/chaikin.js +2 -2
- package/indicators/chaikin.src.js +5 -5
- package/indicators/cmf.js +2 -2
- package/indicators/cmf.src.js +5 -5
- package/indicators/cmo.js +2 -2
- package/indicators/cmo.src.js +5 -5
- package/indicators/dema.js +2 -2
- package/indicators/dema.src.js +5 -5
- package/indicators/disparity-index.js +2 -2
- package/indicators/disparity-index.src.js +5 -5
- package/indicators/dmi.js +2 -2
- package/indicators/dmi.src.js +5 -5
- package/indicators/dpo.js +2 -2
- package/indicators/dpo.src.js +5 -5
- package/indicators/ema.js +1 -1
- package/indicators/ema.src.js +4 -4
- package/indicators/ichimoku-kinko-hyo.js +2 -2
- package/indicators/ichimoku-kinko-hyo.src.js +5 -5
- package/indicators/indicators-all.js +2 -2
- package/indicators/indicators-all.src.js +5 -5
- package/indicators/indicators.js +2 -2
- package/indicators/indicators.src.js +5 -5
- package/indicators/keltner-channels.js +2 -2
- package/indicators/keltner-channels.src.js +5 -5
- package/indicators/klinger.js +2 -2
- package/indicators/klinger.src.js +5 -5
- package/indicators/macd.js +2 -2
- package/indicators/macd.src.js +5 -5
- package/indicators/mfi.js +2 -2
- package/indicators/mfi.src.js +5 -5
- package/indicators/momentum.js +2 -2
- package/indicators/momentum.src.js +5 -5
- package/indicators/natr.js +2 -2
- package/indicators/natr.src.js +5 -5
- package/indicators/obv.js +2 -2
- package/indicators/obv.src.js +5 -5
- package/indicators/pivot-points.js +2 -2
- package/indicators/pivot-points.src.js +5 -5
- package/indicators/ppo.js +2 -2
- package/indicators/ppo.src.js +5 -5
- package/indicators/price-channel.js +2 -2
- package/indicators/price-channel.src.js +5 -5
- package/indicators/price-envelopes.js +2 -2
- package/indicators/price-envelopes.src.js +5 -5
- package/indicators/psar.js +2 -2
- package/indicators/psar.src.js +5 -5
- package/indicators/regressions.js +2 -2
- package/indicators/regressions.src.js +5 -5
- package/indicators/roc.js +2 -2
- package/indicators/roc.src.js +5 -5
- package/indicators/rsi.js +2 -2
- package/indicators/rsi.src.js +5 -5
- package/indicators/slow-stochastic.js +2 -2
- package/indicators/slow-stochastic.src.js +5 -5
- package/indicators/stochastic.js +2 -2
- package/indicators/stochastic.src.js +5 -5
- package/indicators/supertrend.js +2 -2
- package/indicators/supertrend.src.js +5 -5
- package/indicators/tema.js +2 -2
- package/indicators/tema.src.js +5 -5
- package/indicators/trendline.js +2 -2
- package/indicators/trendline.src.js +5 -5
- package/indicators/trix.js +2 -2
- package/indicators/trix.src.js +5 -5
- package/indicators/volume-by-price.js +2 -2
- package/indicators/volume-by-price.src.js +5 -5
- package/indicators/vwap.js +2 -2
- package/indicators/vwap.src.js +5 -5
- package/indicators/williams-r.js +2 -2
- package/indicators/williams-r.src.js +5 -5
- package/indicators/wma.js +2 -2
- package/indicators/wma.src.js +5 -5
- package/indicators/zigzag.js +2 -2
- package/indicators/zigzag.src.js +5 -5
- package/modules/accessibility.js +2 -2
- package/modules/accessibility.src.js +5 -5
- package/modules/annotations-advanced.js +4 -4
- package/modules/annotations-advanced.src.js +8 -8
- package/modules/annotations.js +2 -2
- package/modules/annotations.src.js +7 -7
- package/modules/arc-diagram.js +2 -2
- package/modules/arc-diagram.src.js +5 -5
- package/modules/arrow-symbols.js +2 -2
- package/modules/arrow-symbols.src.js +5 -5
- package/modules/boost-canvas.js +2 -2
- package/modules/boost-canvas.src.js +21 -10
- package/modules/boost.js +2 -2
- package/modules/boost.src.js +21 -10
- package/modules/broken-axis.js +2 -2
- package/modules/broken-axis.src.js +5 -5
- package/modules/bullet.js +2 -2
- package/modules/bullet.src.js +5 -5
- package/modules/coloraxis.js +2 -2
- package/modules/coloraxis.src.js +5 -5
- package/modules/current-date-indicator.js +2 -2
- package/modules/current-date-indicator.src.js +5 -5
- package/modules/cylinder.js +2 -2
- package/modules/cylinder.src.js +5 -5
- package/modules/data-tools.js +2 -2
- package/modules/data-tools.src.js +5 -5
- package/modules/data.js +2 -2
- package/modules/data.src.js +5 -5
- package/modules/datagrouping.js +2 -2
- package/modules/datagrouping.src.js +5 -5
- package/modules/debugger.js +2 -2
- package/modules/debugger.src.js +5 -5
- package/modules/dependency-wheel.js +2 -2
- package/modules/dependency-wheel.src.js +5 -5
- package/modules/dotplot.js +2 -2
- package/modules/dotplot.src.js +5 -5
- package/modules/drag-panes.js +2 -2
- package/modules/drag-panes.src.js +5 -5
- package/modules/draggable-points.js +2 -2
- package/modules/draggable-points.src.js +5 -5
- package/modules/drilldown.js +2 -2
- package/modules/drilldown.src.js +8 -8
- package/modules/dumbbell.js +2 -2
- package/modules/dumbbell.src.js +5 -5
- package/modules/export-data.js +2 -2
- package/modules/export-data.src.js +5 -5
- package/modules/exporting.js +2 -2
- package/modules/exporting.src.js +5 -5
- package/modules/flowmap.js +2 -2
- package/modules/flowmap.src.js +5 -5
- package/modules/full-screen.js +2 -2
- package/modules/full-screen.src.js +5 -5
- package/modules/funnel.js +2 -2
- package/modules/funnel.src.js +5 -5
- package/modules/funnel3d.js +2 -2
- package/modules/funnel3d.src.js +5 -5
- package/modules/gantt.js +5 -5
- package/modules/gantt.src.js +9 -9
- package/modules/geoheatmap.js +2 -2
- package/modules/geoheatmap.src.js +5 -5
- package/modules/grid-axis.js +2 -2
- package/modules/grid-axis.src.js +5 -5
- package/modules/heatmap.js +3 -3
- package/modules/heatmap.src.js +6 -6
- package/modules/heikinashi.js +2 -2
- package/modules/heikinashi.src.js +5 -5
- package/modules/histogram-bellcurve.js +2 -2
- package/modules/histogram-bellcurve.src.js +5 -5
- package/modules/hollowcandlestick.js +2 -2
- package/modules/hollowcandlestick.src.js +5 -5
- package/modules/item-series.js +2 -2
- package/modules/item-series.src.js +5 -5
- package/modules/lollipop.js +2 -2
- package/modules/lollipop.src.js +5 -5
- package/modules/map.js +4 -4
- package/modules/map.src.js +6 -6
- package/modules/marker-clusters.js +2 -2
- package/modules/marker-clusters.src.js +5 -5
- package/modules/mouse-wheel-zoom.js +2 -2
- package/modules/mouse-wheel-zoom.src.js +5 -5
- package/modules/navigator.js +2 -2
- package/modules/navigator.src.js +5 -5
- package/modules/networkgraph.js +2 -2
- package/modules/networkgraph.src.js +5 -5
- package/modules/no-data-to-display.js +2 -2
- package/modules/no-data-to-display.src.js +5 -5
- package/modules/offline-exporting.js +2 -2
- package/modules/offline-exporting.src.js +6 -6
- package/modules/organization.js +2 -2
- package/modules/organization.src.js +5 -5
- package/modules/overlapping-datalabels.js +2 -2
- package/modules/overlapping-datalabels.src.js +5 -5
- package/modules/parallel-coordinates.js +2 -2
- package/modules/parallel-coordinates.src.js +5 -5
- package/modules/pareto.js +2 -2
- package/modules/pareto.src.js +5 -5
- package/modules/pathfinder.js +2 -2
- package/modules/pathfinder.src.js +5 -5
- package/modules/pattern-fill.js +2 -2
- package/modules/pattern-fill.src.js +5 -5
- package/modules/pictorial.js +2 -2
- package/modules/pictorial.src.js +5 -5
- package/modules/pointandfigure.js +2 -2
- package/modules/pointandfigure.src.js +5 -5
- package/modules/price-indicator.js +2 -2
- package/modules/price-indicator.src.js +5 -5
- package/modules/pyramid3d.js +2 -2
- package/modules/pyramid3d.src.js +5 -5
- package/modules/renko.js +2 -2
- package/modules/renko.src.js +5 -5
- package/modules/sankey.js +2 -2
- package/modules/sankey.src.js +5 -5
- package/modules/series-label.js +2 -2
- package/modules/series-label.src.js +5 -5
- package/modules/series-on-point.js +2 -2
- package/modules/series-on-point.src.js +5 -5
- package/modules/solid-gauge.js +2 -2
- package/modules/solid-gauge.src.js +5 -5
- package/modules/sonification.js +2 -2
- package/modules/sonification.src.js +5 -5
- package/modules/static-scale.js +2 -2
- package/modules/static-scale.src.js +5 -5
- package/modules/stock-tools.js +2 -2
- package/modules/stock-tools.src.js +7 -7
- package/modules/stock.js +5 -5
- package/modules/stock.src.js +9 -9
- package/modules/streamgraph.js +2 -2
- package/modules/streamgraph.src.js +5 -5
- package/modules/sunburst.js +2 -2
- package/modules/sunburst.src.js +5 -5
- package/modules/textpath.js +2 -2
- package/modules/textpath.src.js +5 -5
- package/modules/tiledwebmap.js +2 -2
- package/modules/tiledwebmap.src.js +5 -5
- package/modules/tilemap.js +2 -2
- package/modules/tilemap.src.js +5 -5
- package/modules/timeline.js +2 -2
- package/modules/timeline.src.js +5 -5
- package/modules/treegraph.js +2 -2
- package/modules/treegraph.src.js +5 -5
- package/modules/treegrid.js +2 -2
- package/modules/treegrid.src.js +5 -5
- package/modules/treemap.js +2 -2
- package/modules/treemap.src.js +5 -5
- package/modules/variable-pie.js +2 -2
- package/modules/variable-pie.src.js +5 -5
- package/modules/variwide.js +2 -2
- package/modules/variwide.src.js +5 -5
- package/modules/vector.js +2 -2
- package/modules/vector.src.js +5 -5
- package/modules/venn.js +2 -2
- package/modules/venn.src.js +5 -5
- package/modules/windbarb.js +2 -2
- package/modules/windbarb.src.js +5 -5
- package/modules/wordcloud.js +2 -2
- package/modules/wordcloud.src.js +5 -5
- package/modules/xrange.js +2 -2
- package/modules/xrange.src.js +5 -5
- package/package.json +1 -1
- package/standalone-navigator.js +3 -3
- package/standalone-navigator.src.js +25 -20
- package/themes/avocado.js +2 -2
- package/themes/avocado.src.js +5 -5
- package/themes/brand-dark.js +2 -2
- package/themes/brand-dark.src.js +5 -5
- package/themes/brand-light.js +2 -2
- package/themes/brand-light.src.js +5 -5
- package/themes/dark-blue.js +2 -2
- package/themes/dark-blue.src.js +5 -5
- package/themes/dark-green.js +2 -2
- package/themes/dark-green.src.js +5 -5
- package/themes/dark-unica.js +2 -2
- package/themes/dark-unica.src.js +5 -5
- package/themes/gray.js +2 -2
- package/themes/gray.src.js +5 -5
- package/themes/grid-light.js +2 -2
- package/themes/grid-light.src.js +5 -5
- package/themes/grid.js +2 -2
- package/themes/grid.src.js +5 -5
- package/themes/high-contrast-dark.js +2 -2
- package/themes/high-contrast-dark.src.js +5 -5
- package/themes/high-contrast-light.js +2 -2
- package/themes/high-contrast-light.src.js +5 -5
- package/themes/sand-signika.js +2 -2
- package/themes/sand-signika.src.js +5 -5
- package/themes/skies.js +2 -2
- package/themes/skies.src.js +5 -5
- package/themes/sunset.js +2 -2
- package/themes/sunset.src.js +5 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
!/**
|
|
2
|
-
* Highcharts JS v12.0.
|
|
2
|
+
* Highcharts JS v12.0.2 (2024-12-04)
|
|
3
3
|
* @module highcharts/modules/parallel-coordinates
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
*
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
* (c) 2010-2024 Pawel Fus
|
|
9
9
|
*
|
|
10
10
|
* License: www.highcharts.com/license
|
|
11
|
-
*/function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(
|
|
11
|
+
*/function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts,t._Highcharts.Templating):"function"==typeof define&&define.amd?define("highcharts/modules/parallel-coordinates",["highcharts/highcharts"],function(t){return e(t,t.Templating)}):"object"==typeof exports?exports["highcharts/modules/parallel-coordinates"]=e(t._Highcharts,t._Highcharts.Templating):t.Highcharts=e(t.Highcharts,t.Highcharts.Templating)}("undefined"==typeof window?this:window,(t,e)=>(()=>{"use strict";var i,s,o,a={984:t=>{t.exports=e},944:e=>{e.exports=t}},l={};function r(t){var e=l[t];if(void 0!==e)return e.exports;var i=l[t]={exports:{}};return a[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 n={};r.d(n,{default:()=>F});var h=r(944),p=/*#__PURE__*/r.n(h);let c={chart:{parallelCoordinates:!1,parallelAxes:{lineWidth:1,title:{text:"",reserveSpace:!1},labels:{x:0,y:4,align:"center",reserveSpace:!1},offset:0}},xAxis:{lineWidth:0,tickLength:0,opposite:!0,type:"category"}},{addEvent:d,arrayMax:f,arrayMin:u,isNumber:x,merge:g,pick:y}=p();class m{constructor(t){this.axis=t}setPosition(t,e){let i=this.axis,s=i.chart,o=((this.position||0)+.5)/(s.parallelInfo.counter+1);s.polar?e.angle=360*o:(e[t[0]]=100*o+"%",i[t[1]]=e[t[1]]=0,i[t[2]]=e[t[2]]=null,i[t[3]]=e[t[3]]=null)}}!function(t){function e(t){let e=this.chart,i=this.parallelCoordinates,s=["left","width","height","top"];if(e.hasParallelCoordinates){if(e.inverted&&(s=s.reverse()),this.isXAxis)this.options=g(this.options,c.xAxis,t.userOptions);else{let o=e.yAxis.indexOf(this);this.options=g(this.options,this.chart.options.chart.parallelAxes,t.userOptions),i.position=y(i.position,o>=0?o:e.yAxis.length),i.setPosition(s,this.options)}}}function i(t){let e=this.chart,i=this.parallelCoordinates;if(i&&e&&e.hasParallelCoordinates&&!this.isXAxis){let e=i.position,s=[];this.series.forEach(function(t){t.visible&&x(e)&&(s=(t.pointArrayMap||["y"]).reduce((i,s)=>[...i,t.getColumn(s)?.[e]??null],s))}),s=s.filter(x),this.dataMin=u(s),this.dataMax=f(s),t.preventDefault()}}function s(){this.parallelCoordinates||(this.parallelCoordinates=new m(this))}t.compose=function(t){t.keepProps.includes("parallel")||(t.keepProps.push("parallel"),d(t,"init",s),d(t,"afterSetOptions",e),d(t,"getSeriesExtremes",i))}}(i||(i={}));let A=i;var v=r(984),P=/*#__PURE__*/r.n(v);let{composed:b}=p(),{format:C}=P(),{addEvent:I,defined:X,erase:T,extend:M,insertItem:H,isArray:O,isNumber:_,pushUnique:w}=p();!function(t){function e(){let t=this.chart,e=this.points,i=e&&e.length,s=Number.MAX_VALUE,o,a;if(this.chart.hasParallelCoordinates){for(let l=0;l<i;l++)X((a=e[l]).y)?(t.polar?a.plotX=t.yAxis[l].angleRad||0:t.inverted?a.plotX=t.plotHeight-t.yAxis[l].top+t.plotTop:a.plotX=t.yAxis[l].left-t.plotLeft,a.clientX=a.plotX,a.plotY=t.yAxis[l].translate(a.y,!1,!0,void 0,!0),_(a.high)&&(a.plotHigh=t.yAxis[l].translate(a.high,!1,!0,void 0,!0)),void 0!==o&&(s=Math.min(s,Math.abs(a.plotX-o))),o=a.plotX,a.isInside=t.isInsidePlot(a.plotX,a.plotY,{inverted:t.inverted})):a.isNull=!0;this.closestPointRangePx=s}}function i(t){let e=this.chart;if(e.hasParallelCoordinates){for(let t of e.axes)H(this,t.series),t.isDirty=!0;this.xAxis=e.xAxis[0],this.yAxis=e.yAxis[0],t.preventDefault()}}function s(){let t=this.chart;if(t.hasParallelCoordinates)for(let e of t.axes||[])e&&e.series&&(T(e.series,this),e.isDirty=e.forceRedraw=!0)}function o(){let t=this.chart;if(t?.hasParallelCoordinates)for(let e of this.points){let i;let s=t.yAxis[e.x||0],o=s.options,a=o.tooltipValueFormat??o.labels.format;i=a?C(a,M(e,{value:e.y}),t):s.dateTime?t.time.dateFormat(t.time.resolveDTLFormat(o.dateTimeLabelFormats?.[s.tickPositions.info?.unitName||"year"]||"").main,e.y??void 0):O(o.categories)?o.categories[e.y??-1]:String(e.y??""),e.formattedValue=i}}t.compose=function(t){w(b,"ParallelSeries")&&(I(t,"afterTranslate",e,{order:1}),I(t,"bindAxes",i),I(t,"destroy",s),I(t,"afterGeneratePoints",o))}}(s||(s={}));let E=s,{addEvent:L,defined:S,merge:N,splat:j}=p();class D{constructor(t){this.chart=t}setParallelInfo(t){let e=this.chart||this,i=t.series;for(let t of(e.parallelInfo={counter:0},i))t.data&&(e.parallelInfo.counter=Math.max(e.parallelInfo.counter,t.data.length-1))}}!function(t){function e(t){let e=t.args[0],i=j(e.yAxis||{}),s=[],o=i.length;if(this.hasParallelCoordinates=e.chart&&e.chart.parallelCoordinates,this.hasParallelCoordinates){for(this.setParallelInfo(e);o<=this.parallelInfo.counter;o++)s.push({});e.legend||(e.legend={}),e.legend&&void 0===e.legend.enabled&&(e.legend.enabled=!1),N(!0,e,{boost:{seriesThreshold:Number.MAX_VALUE},plotOptions:{series:{boostThreshold:Number.MAX_VALUE}}}),e.yAxis=i.concat(s),e.xAxis=N(c.xAxis,j(e.xAxis||{})[0])}}function i(t){let e=t.options;if(e.chart&&(S(e.chart.parallelCoordinates)&&(this.hasParallelCoordinates=e.chart.parallelCoordinates),this.options.chart.parallelAxes=N(this.options.chart.parallelAxes,e.chart.parallelAxes)),this.hasParallelCoordinates)for(let t of(e.series&&this.setParallelInfo(e),this.yAxis))t.update({},!1)}t.compose=function(t,s,o,a){A.compose(t),E.compose(a);let l=D.prototype,r=s.prototype;r.setParallelInfo||(r.setParallelInfo=l.setParallelInfo,L(s,"init",e),L(s,"update",i),N(!0,o.chart,c.chart))}}(o||(o={}));let V=o,k=p();V.compose(k.Axis,k.Chart,k.defaultOptions,k.Series);let F=p();return n.default})());
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highcharts JS v12.0.
|
|
2
|
+
* @license Highcharts JS v12.0.2 (2024-12-04)
|
|
3
3
|
* @module highcharts/modules/parallel-coordinates
|
|
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(
|
|
14
|
+
module.exports = factory(root["_Highcharts"], root["_Highcharts"]["Templating"]);
|
|
15
15
|
else if(typeof define === 'function' && define.amd)
|
|
16
|
-
define("highcharts/parallel-coordinates", [
|
|
16
|
+
define("highcharts/modules/parallel-coordinates", ["highcharts/highcharts"], function (amd1) {return factory(amd1,amd1["Templating"]);});
|
|
17
17
|
else if(typeof exports === 'object')
|
|
18
|
-
exports["highcharts/parallel-coordinates"] = factory(
|
|
18
|
+
exports["highcharts/modules/parallel-coordinates"] = factory(root["_Highcharts"], root["_Highcharts"]["Templating"]);
|
|
19
19
|
else
|
|
20
20
|
root["Highcharts"] = factory(root["Highcharts"], root["Highcharts"]["Templating"]);
|
|
21
|
-
})(this, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__984__) => {
|
|
21
|
+
})(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__984__) => {
|
|
22
22
|
return /******/ (() => { // webpackBootstrap
|
|
23
23
|
/******/ "use strict";
|
|
24
24
|
/******/ var __webpack_modules__ = ({
|
package/modules/pareto.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
!/**
|
|
2
|
-
* Highcharts JS v12.0.
|
|
2
|
+
* Highcharts JS v12.0.2 (2024-12-04)
|
|
3
3
|
* @module highcharts/modules/pareto
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
*
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
* (c) 2010-2024 Sebastian Bochan
|
|
9
9
|
*
|
|
10
10
|
* License: www.highcharts.com/license
|
|
11
|
-
*/function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(
|
|
11
|
+
*/function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(e._Highcharts,e._Highcharts.Series,e._Highcharts.SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/modules/pareto",["highcharts/highcharts"],function(e){return t(e,e.Series,e.SeriesRegistry)}):"object"==typeof exports?exports["highcharts/modules/pareto"]=t(e._Highcharts,e._Highcharts.Series,e._Highcharts.SeriesRegistry):e.Highcharts=t(e.Highcharts,e.Highcharts.Series,e.Highcharts.SeriesRegistry)}("undefined"==typeof window?this:window,(e,t,s)=>(()=>{"use strict";var i,r={820:e=>{e.exports=t},512:e=>{e.exports=s},944:t=>{t.exports=e}},a={};function n(e){var t=a[e];if(void 0!==t)return t.exports;var s=a[e]={exports:{}};return r[e](s,s.exports,n),s.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o={};n.d(o,{default:()=>H});var h=n(944),d=/*#__PURE__*/n.n(h),p=n(820),u=/*#__PURE__*/n.n(p);let{noop:l}=d(),{addEvent:c,defined:f}=d();!function(e){function t(){u().prototype.init.apply(this,arguments),this.initialised=!1,this.baseSeries=null,this.eventRemovers=[],this.addEvents()}function s(){let e=this.chart,t=this.options.baseSeries,s=f(t)&&(e.series[t]||e.get(t));this.baseSeries=s||null}function i(){this.eventRemovers.push(c(this.chart,"afterLinkSeries",()=>{this.setBaseSeries(),this.baseSeries&&!this.initialised&&(this.setDerivedData(),this.addBaseSeriesEvents(),this.initialised=!0)}))}function r(){this.eventRemovers.push(c(this.baseSeries,"updatedData",()=>{this.setDerivedData()}),c(this.baseSeries,"destroy",()=>{this.baseSeries=null,this.initialised=!1}))}function a(){this.eventRemovers.forEach(e=>{e()}),u().prototype.destroy.apply(this,arguments)}e.hasDerivedData=!0,e.setDerivedData=l,e.compose=function(e){let n=e.prototype;return n.addBaseSeriesEvents=r,n.addEvents=i,n.destroy=a,n.init=t,n.setBaseSeries=s,e},e.init=t,e.setBaseSeries=s,e.addEvents=i,e.addBaseSeriesEvents=r,e.destroy=a}(i||(i={}));let v=i;var y=n(512),S=/*#__PURE__*/n.n(y);let{line:g}=S().seriesTypes,{correctFloat:m,merge:D,extend:b}=d();class x extends g{sumPointsPercents(e,t,s,i){let r=[],a=0,n=0,o=0,h;for(let d of e)null!==d&&(i?n+=d:(h=d/s*100,r.push([t[a],m(o+h)]),o+=h)),++a;return i?n:r}setDerivedData(){let e=this.baseSeries?.getColumn("x")||[],t=this.baseSeries?.getColumn("y")||[],s=this.sumPointsPercents(t,e,null,!0);this.setData(this.sumPointsPercents(t,e,s,!1),!1)}}x.defaultOptions=D(g.defaultOptions,{zIndex:3}),b(x.prototype,{hasDerivedData:v.hasDerivedData}),v.compose(x),S().registerSeriesType("pareto",x);let H=d();return o.default})());
|
package/modules/pareto.src.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highcharts JS v12.0.
|
|
2
|
+
* @license Highcharts JS v12.0.2 (2024-12-04)
|
|
3
3
|
* @module highcharts/modules/pareto
|
|
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(
|
|
14
|
+
module.exports = factory(root["_Highcharts"], root["_Highcharts"]["Series"], root["_Highcharts"]["SeriesRegistry"]);
|
|
15
15
|
else if(typeof define === 'function' && define.amd)
|
|
16
|
-
define("highcharts/pareto", [
|
|
16
|
+
define("highcharts/modules/pareto", ["highcharts/highcharts"], function (amd1) {return factory(amd1,amd1["Series"],amd1["SeriesRegistry"]);});
|
|
17
17
|
else if(typeof exports === 'object')
|
|
18
|
-
exports["highcharts/pareto"] = factory(
|
|
18
|
+
exports["highcharts/modules/pareto"] = factory(root["_Highcharts"], root["_Highcharts"]["Series"], root["_Highcharts"]["SeriesRegistry"]);
|
|
19
19
|
else
|
|
20
20
|
root["Highcharts"] = factory(root["Highcharts"], root["Highcharts"]["Series"], root["Highcharts"]["SeriesRegistry"]);
|
|
21
|
-
})(this, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__820__, __WEBPACK_EXTERNAL_MODULE__512__) => {
|
|
21
|
+
})(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__820__, __WEBPACK_EXTERNAL_MODULE__512__) => {
|
|
22
22
|
return /******/ (() => { // webpackBootstrap
|
|
23
23
|
/******/ "use strict";
|
|
24
24
|
/******/ var __webpack_modules__ = ({
|
package/modules/pathfinder.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
!/**
|
|
2
|
-
* Highcharts Gantt JS v12.0.
|
|
2
|
+
* Highcharts Gantt JS v12.0.2 (2024-12-04)
|
|
3
3
|
* @module highcharts/modules/pathfinder
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
*
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
* (c) 2016-2024 Øystein Moseng
|
|
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").Point):"function"==typeof define&&define.amd?define("highcharts/pathfinder",[["highcharts/highcharts"],["highcharts/highcharts","Point"]],e):"object"==typeof exports?exports["highcharts/pathfinder"]=e(require("highcharts"),require("highcharts").Point):t.Highcharts=e(t.Highcharts,t.Highcharts.Point)}(this,(t,e)=>(()=>{"use strict";var n,i={260:t=>{t.exports=e},944:e=>{e.exports=t}},r={};function a(t){var e=r[t];if(void 0!==e)return e.exports;var n=r[t]={exports:{}};return i[t](n,n.exports,a),n.exports}a.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},a.d=(t,e)=>{for(var n in e)a.o(e,n)&&!a.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var o={};a.d(o,{default:()=>F});var s=a(944),h=/*#__PURE__*/a.n(s);let{defined:c,error:l,merge:x,objectEach:M}=h(),d=h().deg2rad,y=Math.max,p=Math.min,f=class{constructor(t,e,n){this.init(t,e,n)}init(t,e,n){this.fromPoint=t,this.toPoint=e,this.options=n,this.chart=t.series.chart,this.pathfinder=this.chart.pathfinder}renderPath(t,e){let n=this.chart,i=n.styledMode,r=this.pathfinder,a={},o=this.graphics&&this.graphics.path;r.group||(r.group=n.renderer.g().addClass("highcharts-pathfinder-group").attr({zIndex:-1}).add(n.seriesGroup)),r.group.translate(n.plotLeft,n.plotTop),o&&o.renderer||(o=n.renderer.path().add(r.group),i||o.attr({opacity:0})),o.attr(e),a.d=t,i||(a.opacity=1),o.animate(a),this.graphics=this.graphics||{},this.graphics.path=o}addMarker(t,e,n){let i,r,a,o,s,h,c,l;let x=this.fromPoint.series.chart,M=x.pathfinder,y=x.renderer,p="start"===t?this.fromPoint:this.toPoint,f=p.getPathfinderAnchorPoint(e);e.enabled&&((l="start"===t?n[1]:n[n.length-2])&&"M"===l[0]||"L"===l[0])&&(c={x:l[1],y:l[2]},r=p.getRadiansToVector(c,f),i=p.getMarkerVector(r,e.radius,f),a=-r/d,e.width&&e.height?(s=e.width,h=e.height):s=h=2*e.radius,this.graphics=this.graphics||{},o={x:i.x-s/2,y:i.y-h/2,width:s,height:h,rotation:a,rotationOriginX:i.x,rotationOriginY:i.y},this.graphics[t]?this.graphics[t].animate(o):(this.graphics[t]=y.symbol(e.symbol).addClass("highcharts-point-connecting-path-"+t+"-marker highcharts-color-"+this.fromPoint.colorIndex).attr(o).add(M.group),y.styledMode||this.graphics[t].attr({fill:e.color||this.fromPoint.color,stroke:e.lineColor,"stroke-width":e.lineWidth,opacity:0}).animate({opacity:1},p.series.options.animation)))}getPath(t){let e=this.pathfinder,n=this.chart,i=e.algorithms[t.type],r=e.chartObstacles;return"function"!=typeof i?(l('"'+t.type+'" is not a Pathfinder algorithm.'),{path:[],obstacles:[]}):(i.requiresObstacles&&!r&&(r=e.chartObstacles=e.getChartObstacles(t),n.options.connectors.algorithmMargin=t.algorithmMargin,e.chartObstacleMetrics=e.getObstacleMetrics(r)),i(this.fromPoint.getPathfinderAnchorPoint(t.startMarker),this.toPoint.getPathfinderAnchorPoint(t.endMarker),x({chartObstacles:r,lineObstacles:e.lineObstacles||[],obstacleMetrics:e.chartObstacleMetrics,hardBounds:{xMin:0,xMax:n.plotWidth,yMin:0,yMax:n.plotHeight},obstacleOptions:{margin:t.algorithmMargin},startDirectionX:e.getAlgorithmStartDirection(t.startMarker)},t)))}render(){let t=this.fromPoint,e=t.series,n=e.chart,i=n.pathfinder,r={},a=x(n.options.connectors,e.options.connectors,t.options.connectors,this.options);!n.styledMode&&(r.stroke=a.lineColor||t.color,r["stroke-width"]=a.lineWidth,a.dashStyle&&(r.dashstyle=a.dashStyle)),r.class="highcharts-point-connecting-path highcharts-color-"+t.colorIndex,c((a=x(r,a)).marker.radius)||(a.marker.radius=p(y(Math.ceil((a.algorithmMargin||8)/2)-1,1),5));let o=this.getPath(a),s=o.path;o.obstacles&&(i.lineObstacles=i.lineObstacles||[],i.lineObstacles=i.lineObstacles.concat(o.obstacles)),this.renderPath(s,r),this.addMarker("start",x(a.marker,a.startMarker),s),this.addMarker("end",x(a.marker,a.endMarker),s)}destroy(){this.graphics&&(M(this.graphics,function(t){t.destroy()}),delete this.graphics)}},u={applyRadius:function(t,e){let n=[];for(let i=0;i<t.length;i++){let r=t[i][1],a=t[i][2];if("number"==typeof r&&"number"==typeof a){if(0===i)n.push(["M",r,a]);else if(i===t.length-1)n.push(["L",r,a]);else if(e){let o=t[i-1],s=t[i+1];if(o&&s){let t=o[1],i=o[2],h=s[1],c=s[2];if("number"==typeof t&&"number"==typeof h&&"number"==typeof i&&"number"==typeof c&&t!==h&&i!==c){let o=t<h?1:-1,s=i<c?1:-1;n.push(["L",r-o*Math.min(Math.abs(r-t),e),a-s*Math.min(Math.abs(a-i),e)],["C",r,a,r,a,r+o*Math.min(Math.abs(r-h),e),a+s*Math.min(Math.abs(a-c),e)])}}}else n.push(["L",r,a])}}return n}},{pick:g}=h(),{min:m,max:b,abs:P}=Math;function v(t,e,n){let i=e-1e-7,r=n||0,a=t.length-1,o,s;for(;r<=a;)if((s=i-t[o=a+r>>1].xMin)>0)r=o+1;else{if(!(s<0))return o;a=o-1}return r>0?r-1:0}function O(t,e){let n=v(t,e.x+1)+1;for(;n--;){var i;if(t[n].xMax>=e.x&&(i=t[n],e.x<=i.xMax&&e.x>=i.xMin&&e.y<=i.yMax&&e.y>=i.yMin))return n}return -1}function k(t){let e=[];if(t.length){e.push(["M",t[0].start.x,t[0].start.y]);for(let n=0;n<t.length;++n)e.push(["L",t[n].end.x,t[n].end.y])}return e}function w(t,e){t.yMin=b(t.yMin,e.yMin),t.yMax=m(t.yMax,e.yMax),t.xMin=b(t.xMin,e.xMin),t.xMax=m(t.xMax,e.xMax)}let A=function(t,e,n){let i=[],r=n.chartObstacles,a=O(r,t),o=O(r,e),s,h=g(n.startDirectionX,P(e.x-t.x)>P(e.y-t.y))?"x":"y",c,l,x,M;function d(t,e,n,i,r){let a={x:t.x,y:t.y};return a[e]=n[i||e]+(r||0),a}function y(t,e,n){let i=P(e[n]-t[n+"Min"])>P(e[n]-t[n+"Max"]);return d(e,n,t,n+(i?"Max":"Min"),i?1:-1)}o>-1?(s={start:l=y(r[o],e,h),end:e},M=l):M=e,a>-1&&(l=y(c=r[a],t,h),i.push({start:t,end:l}),l[h]>=t[h]==l[h]>=M[h]&&(x=t[h="y"===h?"x":"y"]<e[h],i.push({start:l,end:d(l,h,c,h+(x?"Max":"Min"),x?1:-1)}),h="y"===h?"x":"y"));let p=i.length?i[i.length-1].end:t;l=d(p,h,M),i.push({start:p,end:l});let f=d(l,h="y"===h?"x":"y",M);return i.push({start:l,end:f}),i.push(s),{path:u.applyRadius(k(i),n.radius),obstacles:i}};function I(t,e,n){let i=g(n.startDirectionX,P(e.x-t.x)>P(e.y-t.y)),r=i?"x":"y",a=[],o=n.obstacleMetrics,s=m(t.x,e.x)-o.maxWidth-10,h=b(t.x,e.x)+o.maxWidth+10,c=m(t.y,e.y)-o.maxHeight-10,l=b(t.y,e.y)+o.maxHeight+10,x,M,d,y=!1,p=n.chartObstacles,f=v(p,h),u=v(p,s);function A(t,e,n){let i,r,a,o;let s=t.x<e.x?1:-1;t.x<e.x?(i=t,r=e):(i=e,r=t),t.y<e.y?(o=t,a=e):(o=e,a=t);let h=s<0?m(v(p,r.x),p.length-1):0;for(;p[h]&&(s>0&&p[h].xMin<=r.x||s<0&&p[h].xMax>=i.x);){if(p[h].xMin<=r.x&&p[h].xMax>=i.x&&p[h].yMin<=a.y&&p[h].yMax>=o.y){if(n)return{y:t.y,x:t.x<e.x?p[h].xMin-1:p[h].xMax+1,obstacle:p[h]};return{x:t.x,y:t.y<e.y?p[h].yMin-1:p[h].yMax+1,obstacle:p[h]}}h+=s}return e}function I(t,e,n,i,r){let a=r.soft,o=r.hard,s=i?"x":"y",h={x:e.x,y:e.y},c={x:e.x,y:e.y},l=t[s+"Max"]>=a[s+"Max"],x=t[s+"Min"]<=a[s+"Min"],M=t[s+"Max"]>=o[s+"Max"],d=t[s+"Min"]<=o[s+"Min"],y=P(t[s+"Min"]-e[s]),p=P(t[s+"Max"]-e[s]),f=10>P(y-p)?e[s]<n[s]:p<y;c[s]=t[s+"Min"],h[s]=t[s+"Max"];let u=A(e,c,i)[s]!==c[s],g=A(e,h,i)[s]!==h[s];return f=u?!g||f:!g&&f,f=x?!l||f:!l&&f,f=d?!M||f:!M&&f}for((f=O(p=p.slice(u,f+1),e))>-1&&(d=function(t,e,i){let r=m(t.xMax-e.x,e.x-t.xMin)<m(t.yMax-e.y,e.y-t.yMin),a=I(t,e,i,r,{soft:n.hardBounds,hard:n.hardBounds});return r?{y:e.y,x:t[a?"xMax":"xMin"]+(a?1:-1)}:{x:e.x,y:t[a?"yMax":"yMin"]+(a?1:-1)}}(p[f],e,t),a.push({end:e,start:d}),e=d);(f=O(p,e))>-1;)M=e[r]-t[r]<0,(d={x:e.x,y:e.y})[r]=p[f][M?r+"Max":r+"Min"]+(M?1:-1),a.push({end:e,start:d}),e=d;return{path:k(x=(x=function t(e,i,r){let a,o,x,M,d,f,u;if(e.x===i.x&&e.y===i.y)return[];let g=r?"x":"y",P=n.obstacleOptions.margin,v={soft:{xMin:s,xMax:h,yMin:c,yMax:l},hard:n.hardBounds};return(d=O(p,e))>-1?(M=I(d=p[d],e,i,r,v),w(d,n.hardBounds),u=r?{y:e.y,x:d[M?"xMax":"xMin"]+(M?1:-1)}:{x:e.x,y:d[M?"yMax":"yMin"]+(M?1:-1)},(f=O(p,u))>-1&&(w(f=p[f],n.hardBounds),u[g]=M?b(d[g+"Max"]-P+1,(f[g+"Min"]+d[g+"Max"])/2):m(d[g+"Min"]+P-1,(f[g+"Max"]+d[g+"Min"])/2),e.x===u.x&&e.y===u.y?(y&&(u[g]=M?b(d[g+"Max"],f[g+"Max"])+1:m(d[g+"Min"],f[g+"Min"])-1),y=!y):y=!1),o=[{start:e,end:u}]):(a=A(e,{x:r?i.x:e.x,y:r?e.y:i.y},r),o=[{start:e,end:{x:a.x,y:a.y}}],a[r?"x":"y"]!==i[r?"x":"y"]&&(M=I(a.obstacle,a,i,!r,v),w(a.obstacle,n.hardBounds),x={x:r?a.x:a.obstacle[M?"xMax":"xMin"]+(M?1:-1),y:r?a.obstacle[M?"yMax":"yMin"]+(M?1:-1):a.y},r=!r,o=o.concat(t({x:a.x,y:a.y},x,r)))),o=o.concat(t(o[o.length-1].end,i,!r))}(t,e,i)).concat(a.reverse())),obstacles:x}}A.requiresObstacles=!0,I.requiresObstacles=!0;let R={connectors:{type:"straight",radius:0,lineWidth:1,marker:{enabled:!1,align:"center",verticalAlign:"middle",inside:!1,lineWidth:1},startMarker:{symbol:"diamond"},endMarker:{symbol:"arrow-filled"}}},{setOptions:L}=h(),{defined:B,error:E,merge:C}=h();function W(t){let e=t.shapeArgs;if(e)return{xMin:e.x||0,xMax:(e.x||0)+(e.width||0),yMin:e.y||0,yMax:(e.y||0)+(e.height||0)};let n=t.graphic&&t.graphic.getBBox();return n?{xMin:t.plotX-n.width/2,xMax:t.plotX+n.width/2,yMin:t.plotY-n.height/2,yMax:t.plotY+n.height/2}:null}!function(t){function e(t){let e,n;let i=W(this);switch(t.align){case"right":e="xMax";break;case"left":e="xMin"}switch(t.verticalAlign){case"top":n="yMin";break;case"bottom":n="yMax"}return{x:e?i[e]:(i.xMin+i.xMax)/2,y:n?i[n]:(i.yMin+i.yMax)/2}}function n(t,e){let n;return!B(e)&&(n=W(this))&&(e={x:(n.xMin+n.xMax)/2,y:(n.yMin+n.yMax)/2}),Math.atan2(e.y-t.y,t.x-e.x)}function i(t,e,n){let i=2*Math.PI,r=W(this),a=r.xMax-r.xMin,o=r.yMax-r.yMin,s=Math.atan2(o,a),h=a/2,c=o/2,l=r.xMin+h,x=r.yMin+c,M={x:l,y:x},d=t,y=1,p=!1,f=1,u=1;for(;d<-Math.PI;)d+=i;for(;d>Math.PI;)d-=i;return y=Math.tan(d),d>-s&&d<=s?(u=-1,p=!0):d>s&&d<=Math.PI-s?u=-1:d>Math.PI-s||d<=-(Math.PI-s)?(f=-1,p=!0):f=-1,p?(M.x+=f*h,M.y+=u*h*y):(M.x+=o/(2*y)*f,M.y+=u*c),n.x!==l&&(M.x=n.x),n.y!==x&&(M.y=n.y),{x:M.x+e*Math.cos(d),y:M.y-e*Math.sin(d)}}t.compose=function(t,r,a){let o=a.prototype;o.getPathfinderAnchorPoint||(t.prototype.callbacks.push(function(t){!1!==t.options.connectors.enabled&&((t.options.pathfinder||t.series.reduce(function(t,e){return e.options&&C(!0,e.options.connectors=e.options.connectors||{},e.options.pathfinder),t||e.options&&e.options.pathfinder},!1))&&(C(!0,t.options.connectors=t.options.connectors||{},t.options.pathfinder),E('WARNING: Pathfinder options have been renamed. Use "chart.connectors" or "series.connectors" instead.')),this.pathfinder=new r(this),this.pathfinder.update(!0))}),o.getMarkerVector=i,o.getPathfinderAnchorPoint=e,o.getRadiansToVector=n,L(R))}}(n||(n={}));let X=n;var q=a(260),H=/*#__PURE__*/a.n(q);let{addEvent:j,defined:D,pick:S,splat:V}=h(),Y=Math.max,G=Math.min;class T{static compose(t,e){X.compose(t,T,e)}constructor(t){this.init(t)}init(t){this.chart=t,this.connections=[],j(t,"redraw",function(){this.pathfinder.update()})}update(t){let e=this.chart,n=this,i=n.connections;n.connections=[],e.series.forEach(function(t){t.visible&&!t.options.isInternal&&t.points.forEach(function(t){let i;let r=t.options;r&&r.dependency&&(r.connect=r.dependency);let a=t.options?.connect?V(t.options.connect):[];t.visible&&!1!==t.isInside&&a.forEach(r=>{let a="string"==typeof r?r:r.to;a&&(i=e.get(a)),i instanceof H()&&i.series.visible&&i.visible&&!1!==i.isInside&&n.connections.push(new f(t,i,"string"==typeof r?{}:r))})})});for(let t=0,e,r,a=i.length,o=n.connections.length;t<a;++t){r=!1;let a=i[t];for(e=0;e<o;++e){let t=n.connections[e];if((a.options&&a.options.type)===(t.options&&t.options.type)&&a.fromPoint===t.fromPoint&&a.toPoint===t.toPoint){t.graphics=a.graphics,r=!0;break}}r||a.destroy()}delete this.chartObstacles,delete this.lineObstacles,n.renderConnections(t)}renderConnections(t){t?this.chart.series.forEach(function(t){let e=function(){let e=t.chart.pathfinder;(e&&e.connections||[]).forEach(function(e){e.fromPoint&&e.fromPoint.series===t&&e.render()}),t.pathfinderRemoveRenderEvent&&(t.pathfinderRemoveRenderEvent(),delete t.pathfinderRemoveRenderEvent)};!1===t.options.animation?e():t.pathfinderRemoveRenderEvent=j(t,"afterAnimate",e)}):this.connections.forEach(function(t){t.render()})}getChartObstacles(t){let e=this.chart.series,n=S(t.algorithmMargin,0),i=[],r;for(let t=0,r=e.length;t<r;++t)if(e[t].visible&&!e[t].options.isInternal)for(let r=0,a=e[t].points.length,o,s;r<a;++r)(s=e[t].points[r]).visible&&(o=function(t){let e=t.shapeArgs;if(e)return{xMin:e.x||0,xMax:(e.x||0)+(e.width||0),yMin:e.y||0,yMax:(e.y||0)+(e.height||0)};let n=t.graphic&&t.graphic.getBBox();return n?{xMin:t.plotX-n.width/2,xMax:t.plotX+n.width/2,yMin:t.plotY-n.height/2,yMax:t.plotY+n.height/2}:null}(s))&&i.push({xMin:o.xMin-n,xMax:o.xMax+n,yMin:o.yMin-n,yMax:o.yMax+n});return i=i.sort(function(t,e){return t.xMin-e.xMin}),D(t.algorithmMargin)||(r=t.algorithmMargin=function(t){let e;let n=t.length,i=[];for(let r=0;r<n;++r)for(let a=r+1;a<n;++a)(e=function t(e,n,i){let r=S(i,10),a=e.yMax+r>n.yMin-r&&e.yMin-r<n.yMax+r,o=e.xMax+r>n.xMin-r&&e.xMin-r<n.xMax+r,s=a?e.xMin>n.xMax?e.xMin-n.xMax:n.xMin-e.xMax:1/0,h=o?e.yMin>n.yMax?e.yMin-n.yMax:n.yMin-e.yMax:1/0;return o&&a?r?t(e,n,Math.floor(r/2)):1/0:G(s,h)}(t[r],t[a]))<80&&i.push(e);return i.push(80),Y(Math.floor(i.sort(function(t,e){return t-e})[Math.floor(i.length/10)]/2-1),1)}(i),i.forEach(function(t){t.xMin-=r,t.xMax+=r,t.yMin-=r,t.yMax+=r})),i}getObstacleMetrics(t){let e=0,n=0,i,r,a=t.length;for(;a--;)i=t[a].xMax-t[a].xMin,r=t[a].yMax-t[a].yMin,e<i&&(e=i),n<r&&(n=r);return{maxHeight:n,maxWidth:e}}getAlgorithmStartDirection(t){let e="left"!==t.align&&"right"!==t.align,n="top"!==t.verticalAlign&&"bottom"!==t.verticalAlign;return e?!!n&&void 0:!!n||void 0}}function N(t,e,n,i){return[["M",t,e+i/2],["L",t+n,e],["L",t,e+i/2],["L",t+n,e+i]]}function _(t,e,n,i){return N(t,e,n/2,i)}function z(t,e,n,i){return[["M",t+n,e],["L",t,e+i/2],["L",t+n,e+i],["Z"]]}function U(t,e,n,i){return z(t,e,n/2,i)}T.prototype.algorithms={fastAvoid:I,straight:function(t,e){return{path:[["M",t.x,t.y],["L",e.x,e.y]],obstacles:[{start:t,end:e}]}},simpleConnect:A};let Z=h();Z.Pathfinder=Z.Pathfinder||T,({compose:function(t){let e=t.prototype.symbols;e.arrow=N,e["arrow-filled"]=z,e["arrow-filled-half"]=U,e["arrow-half"]=_,e["triangle-left"]=z,e["triangle-left-half"]=U}}).compose(Z.SVGRenderer),Z.Pathfinder.compose(Z.Chart,Z.Point);let F=h();return o.default})());
|
|
11
|
+
*/function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts,t._Highcharts.Point):"function"==typeof define&&define.amd?define("highcharts/modules/pathfinder",["highcharts/highcharts"],function(t){return e(t,t.Point)}):"object"==typeof exports?exports["highcharts/modules/pathfinder"]=e(t._Highcharts,t._Highcharts.Point):t.Highcharts=e(t.Highcharts,t.Highcharts.Point)}("undefined"==typeof window?this:window,(t,e)=>(()=>{"use strict";var n,i={260:t=>{t.exports=e},944:e=>{e.exports=t}},r={};function a(t){var e=r[t];if(void 0!==e)return e.exports;var n=r[t]={exports:{}};return i[t](n,n.exports,a),n.exports}a.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},a.d=(t,e)=>{for(var n in e)a.o(e,n)&&!a.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var o={};a.d(o,{default:()=>F});var s=a(944),h=/*#__PURE__*/a.n(s);let{defined:c,error:l,merge:x,objectEach:M}=h(),d=h().deg2rad,y=Math.max,p=Math.min,f=class{constructor(t,e,n){this.init(t,e,n)}init(t,e,n){this.fromPoint=t,this.toPoint=e,this.options=n,this.chart=t.series.chart,this.pathfinder=this.chart.pathfinder}renderPath(t,e){let n=this.chart,i=n.styledMode,r=this.pathfinder,a={},o=this.graphics&&this.graphics.path;r.group||(r.group=n.renderer.g().addClass("highcharts-pathfinder-group").attr({zIndex:-1}).add(n.seriesGroup)),r.group.translate(n.plotLeft,n.plotTop),o&&o.renderer||(o=n.renderer.path().add(r.group),i||o.attr({opacity:0})),o.attr(e),a.d=t,i||(a.opacity=1),o.animate(a),this.graphics=this.graphics||{},this.graphics.path=o}addMarker(t,e,n){let i,r,a,o,s,h,c,l;let x=this.fromPoint.series.chart,M=x.pathfinder,y=x.renderer,p="start"===t?this.fromPoint:this.toPoint,f=p.getPathfinderAnchorPoint(e);e.enabled&&((l="start"===t?n[1]:n[n.length-2])&&"M"===l[0]||"L"===l[0])&&(c={x:l[1],y:l[2]},r=p.getRadiansToVector(c,f),i=p.getMarkerVector(r,e.radius,f),a=-r/d,e.width&&e.height?(s=e.width,h=e.height):s=h=2*e.radius,this.graphics=this.graphics||{},o={x:i.x-s/2,y:i.y-h/2,width:s,height:h,rotation:a,rotationOriginX:i.x,rotationOriginY:i.y},this.graphics[t]?this.graphics[t].animate(o):(this.graphics[t]=y.symbol(e.symbol).addClass("highcharts-point-connecting-path-"+t+"-marker highcharts-color-"+this.fromPoint.colorIndex).attr(o).add(M.group),y.styledMode||this.graphics[t].attr({fill:e.color||this.fromPoint.color,stroke:e.lineColor,"stroke-width":e.lineWidth,opacity:0}).animate({opacity:1},p.series.options.animation)))}getPath(t){let e=this.pathfinder,n=this.chart,i=e.algorithms[t.type],r=e.chartObstacles;return"function"!=typeof i?(l('"'+t.type+'" is not a Pathfinder algorithm.'),{path:[],obstacles:[]}):(i.requiresObstacles&&!r&&(r=e.chartObstacles=e.getChartObstacles(t),n.options.connectors.algorithmMargin=t.algorithmMargin,e.chartObstacleMetrics=e.getObstacleMetrics(r)),i(this.fromPoint.getPathfinderAnchorPoint(t.startMarker),this.toPoint.getPathfinderAnchorPoint(t.endMarker),x({chartObstacles:r,lineObstacles:e.lineObstacles||[],obstacleMetrics:e.chartObstacleMetrics,hardBounds:{xMin:0,xMax:n.plotWidth,yMin:0,yMax:n.plotHeight},obstacleOptions:{margin:t.algorithmMargin},startDirectionX:e.getAlgorithmStartDirection(t.startMarker)},t)))}render(){let t=this.fromPoint,e=t.series,n=e.chart,i=n.pathfinder,r={},a=x(n.options.connectors,e.options.connectors,t.options.connectors,this.options);!n.styledMode&&(r.stroke=a.lineColor||t.color,r["stroke-width"]=a.lineWidth,a.dashStyle&&(r.dashstyle=a.dashStyle)),r.class="highcharts-point-connecting-path highcharts-color-"+t.colorIndex,c((a=x(r,a)).marker.radius)||(a.marker.radius=p(y(Math.ceil((a.algorithmMargin||8)/2)-1,1),5));let o=this.getPath(a),s=o.path;o.obstacles&&(i.lineObstacles=i.lineObstacles||[],i.lineObstacles=i.lineObstacles.concat(o.obstacles)),this.renderPath(s,r),this.addMarker("start",x(a.marker,a.startMarker),s),this.addMarker("end",x(a.marker,a.endMarker),s)}destroy(){this.graphics&&(M(this.graphics,function(t){t.destroy()}),delete this.graphics)}},u={applyRadius:function(t,e){let n=[];for(let i=0;i<t.length;i++){let r=t[i][1],a=t[i][2];if("number"==typeof r&&"number"==typeof a){if(0===i)n.push(["M",r,a]);else if(i===t.length-1)n.push(["L",r,a]);else if(e){let o=t[i-1],s=t[i+1];if(o&&s){let t=o[1],i=o[2],h=s[1],c=s[2];if("number"==typeof t&&"number"==typeof h&&"number"==typeof i&&"number"==typeof c&&t!==h&&i!==c){let o=t<h?1:-1,s=i<c?1:-1;n.push(["L",r-o*Math.min(Math.abs(r-t),e),a-s*Math.min(Math.abs(a-i),e)],["C",r,a,r,a,r+o*Math.min(Math.abs(r-h),e),a+s*Math.min(Math.abs(a-c),e)])}}}else n.push(["L",r,a])}}return n}},{pick:g}=h(),{min:m,max:b,abs:P}=Math;function v(t,e,n){let i=e-1e-7,r=n||0,a=t.length-1,o,s;for(;r<=a;)if((s=i-t[o=a+r>>1].xMin)>0)r=o+1;else{if(!(s<0))return o;a=o-1}return r>0?r-1:0}function O(t,e){let n=v(t,e.x+1)+1;for(;n--;){var i;if(t[n].xMax>=e.x&&(i=t[n],e.x<=i.xMax&&e.x>=i.xMin&&e.y<=i.yMax&&e.y>=i.yMin))return n}return -1}function k(t){let e=[];if(t.length){e.push(["M",t[0].start.x,t[0].start.y]);for(let n=0;n<t.length;++n)e.push(["L",t[n].end.x,t[n].end.y])}return e}function w(t,e){t.yMin=b(t.yMin,e.yMin),t.yMax=m(t.yMax,e.yMax),t.xMin=b(t.xMin,e.xMin),t.xMax=m(t.xMax,e.xMax)}let A=function(t,e,n){let i=[],r=n.chartObstacles,a=O(r,t),o=O(r,e),s,h=g(n.startDirectionX,P(e.x-t.x)>P(e.y-t.y))?"x":"y",c,l,x,M;function d(t,e,n,i,r){let a={x:t.x,y:t.y};return a[e]=n[i||e]+(r||0),a}function y(t,e,n){let i=P(e[n]-t[n+"Min"])>P(e[n]-t[n+"Max"]);return d(e,n,t,n+(i?"Max":"Min"),i?1:-1)}o>-1?(s={start:l=y(r[o],e,h),end:e},M=l):M=e,a>-1&&(l=y(c=r[a],t,h),i.push({start:t,end:l}),l[h]>=t[h]==l[h]>=M[h]&&(x=t[h="y"===h?"x":"y"]<e[h],i.push({start:l,end:d(l,h,c,h+(x?"Max":"Min"),x?1:-1)}),h="y"===h?"x":"y"));let p=i.length?i[i.length-1].end:t;l=d(p,h,M),i.push({start:p,end:l});let f=d(l,h="y"===h?"x":"y",M);return i.push({start:l,end:f}),i.push(s),{path:u.applyRadius(k(i),n.radius),obstacles:i}};function I(t,e,n){let i=g(n.startDirectionX,P(e.x-t.x)>P(e.y-t.y)),r=i?"x":"y",a=[],o=n.obstacleMetrics,s=m(t.x,e.x)-o.maxWidth-10,h=b(t.x,e.x)+o.maxWidth+10,c=m(t.y,e.y)-o.maxHeight-10,l=b(t.y,e.y)+o.maxHeight+10,x,M,d,y=!1,p=n.chartObstacles,f=v(p,h),u=v(p,s);function A(t,e,n){let i,r,a,o;let s=t.x<e.x?1:-1;t.x<e.x?(i=t,r=e):(i=e,r=t),t.y<e.y?(o=t,a=e):(o=e,a=t);let h=s<0?m(v(p,r.x),p.length-1):0;for(;p[h]&&(s>0&&p[h].xMin<=r.x||s<0&&p[h].xMax>=i.x);){if(p[h].xMin<=r.x&&p[h].xMax>=i.x&&p[h].yMin<=a.y&&p[h].yMax>=o.y){if(n)return{y:t.y,x:t.x<e.x?p[h].xMin-1:p[h].xMax+1,obstacle:p[h]};return{x:t.x,y:t.y<e.y?p[h].yMin-1:p[h].yMax+1,obstacle:p[h]}}h+=s}return e}function I(t,e,n,i,r){let a=r.soft,o=r.hard,s=i?"x":"y",h={x:e.x,y:e.y},c={x:e.x,y:e.y},l=t[s+"Max"]>=a[s+"Max"],x=t[s+"Min"]<=a[s+"Min"],M=t[s+"Max"]>=o[s+"Max"],d=t[s+"Min"]<=o[s+"Min"],y=P(t[s+"Min"]-e[s]),p=P(t[s+"Max"]-e[s]),f=10>P(y-p)?e[s]<n[s]:p<y;c[s]=t[s+"Min"],h[s]=t[s+"Max"];let u=A(e,c,i)[s]!==c[s],g=A(e,h,i)[s]!==h[s];return f=u?!g||f:!g&&f,f=x?!l||f:!l&&f,f=d?!M||f:!M&&f}for((f=O(p=p.slice(u,f+1),e))>-1&&(d=function(t,e,i){let r=m(t.xMax-e.x,e.x-t.xMin)<m(t.yMax-e.y,e.y-t.yMin),a=I(t,e,i,r,{soft:n.hardBounds,hard:n.hardBounds});return r?{y:e.y,x:t[a?"xMax":"xMin"]+(a?1:-1)}:{x:e.x,y:t[a?"yMax":"yMin"]+(a?1:-1)}}(p[f],e,t),a.push({end:e,start:d}),e=d);(f=O(p,e))>-1;)M=e[r]-t[r]<0,(d={x:e.x,y:e.y})[r]=p[f][M?r+"Max":r+"Min"]+(M?1:-1),a.push({end:e,start:d}),e=d;return{path:k(x=(x=function t(e,i,r){let a,o,x,M,d,f,u;if(e.x===i.x&&e.y===i.y)return[];let g=r?"x":"y",P=n.obstacleOptions.margin,v={soft:{xMin:s,xMax:h,yMin:c,yMax:l},hard:n.hardBounds};return(d=O(p,e))>-1?(M=I(d=p[d],e,i,r,v),w(d,n.hardBounds),u=r?{y:e.y,x:d[M?"xMax":"xMin"]+(M?1:-1)}:{x:e.x,y:d[M?"yMax":"yMin"]+(M?1:-1)},(f=O(p,u))>-1&&(w(f=p[f],n.hardBounds),u[g]=M?b(d[g+"Max"]-P+1,(f[g+"Min"]+d[g+"Max"])/2):m(d[g+"Min"]+P-1,(f[g+"Max"]+d[g+"Min"])/2),e.x===u.x&&e.y===u.y?(y&&(u[g]=M?b(d[g+"Max"],f[g+"Max"])+1:m(d[g+"Min"],f[g+"Min"])-1),y=!y):y=!1),o=[{start:e,end:u}]):(a=A(e,{x:r?i.x:e.x,y:r?e.y:i.y},r),o=[{start:e,end:{x:a.x,y:a.y}}],a[r?"x":"y"]!==i[r?"x":"y"]&&(M=I(a.obstacle,a,i,!r,v),w(a.obstacle,n.hardBounds),x={x:r?a.x:a.obstacle[M?"xMax":"xMin"]+(M?1:-1),y:r?a.obstacle[M?"yMax":"yMin"]+(M?1:-1):a.y},r=!r,o=o.concat(t({x:a.x,y:a.y},x,r)))),o=o.concat(t(o[o.length-1].end,i,!r))}(t,e,i)).concat(a.reverse())),obstacles:x}}A.requiresObstacles=!0,I.requiresObstacles=!0;let R={connectors:{type:"straight",radius:0,lineWidth:1,marker:{enabled:!1,align:"center",verticalAlign:"middle",inside:!1,lineWidth:1},startMarker:{symbol:"diamond"},endMarker:{symbol:"arrow-filled"}}},{setOptions:L}=h(),{defined:B,error:E,merge:H}=h();function C(t){let e=t.shapeArgs;if(e)return{xMin:e.x||0,xMax:(e.x||0)+(e.width||0),yMin:e.y||0,yMax:(e.y||0)+(e.height||0)};let n=t.graphic&&t.graphic.getBBox();return n?{xMin:t.plotX-n.width/2,xMax:t.plotX+n.width/2,yMin:t.plotY-n.height/2,yMax:t.plotY+n.height/2}:null}!function(t){function e(t){let e,n;let i=C(this);switch(t.align){case"right":e="xMax";break;case"left":e="xMin"}switch(t.verticalAlign){case"top":n="yMin";break;case"bottom":n="yMax"}return{x:e?i[e]:(i.xMin+i.xMax)/2,y:n?i[n]:(i.yMin+i.yMax)/2}}function n(t,e){let n;return!B(e)&&(n=C(this))&&(e={x:(n.xMin+n.xMax)/2,y:(n.yMin+n.yMax)/2}),Math.atan2(e.y-t.y,t.x-e.x)}function i(t,e,n){let i=2*Math.PI,r=C(this),a=r.xMax-r.xMin,o=r.yMax-r.yMin,s=Math.atan2(o,a),h=a/2,c=o/2,l=r.xMin+h,x=r.yMin+c,M={x:l,y:x},d=t,y=1,p=!1,f=1,u=1;for(;d<-Math.PI;)d+=i;for(;d>Math.PI;)d-=i;return y=Math.tan(d),d>-s&&d<=s?(u=-1,p=!0):d>s&&d<=Math.PI-s?u=-1:d>Math.PI-s||d<=-(Math.PI-s)?(f=-1,p=!0):f=-1,p?(M.x+=f*h,M.y+=u*h*y):(M.x+=o/(2*y)*f,M.y+=u*c),n.x!==l&&(M.x=n.x),n.y!==x&&(M.y=n.y),{x:M.x+e*Math.cos(d),y:M.y-e*Math.sin(d)}}t.compose=function(t,r,a){let o=a.prototype;o.getPathfinderAnchorPoint||(t.prototype.callbacks.push(function(t){!1!==t.options.connectors.enabled&&((t.options.pathfinder||t.series.reduce(function(t,e){return e.options&&H(!0,e.options.connectors=e.options.connectors||{},e.options.pathfinder),t||e.options&&e.options.pathfinder},!1))&&(H(!0,t.options.connectors=t.options.connectors||{},t.options.pathfinder),E('WARNING: Pathfinder options have been renamed. Use "chart.connectors" or "series.connectors" instead.')),this.pathfinder=new r(this),this.pathfinder.update(!0))}),o.getMarkerVector=i,o.getPathfinderAnchorPoint=e,o.getRadiansToVector=n,L(R))}}(n||(n={}));let W=n;var X=a(260),_=/*#__PURE__*/a.n(X);let{addEvent:j,defined:D,pick:S,splat:V}=h(),Y=Math.max,q=Math.min;class G{static compose(t,e){W.compose(t,G,e)}constructor(t){this.init(t)}init(t){this.chart=t,this.connections=[],j(t,"redraw",function(){this.pathfinder.update()})}update(t){let e=this.chart,n=this,i=n.connections;n.connections=[],e.series.forEach(function(t){t.visible&&!t.options.isInternal&&t.points.forEach(function(t){let i;let r=t.options;r&&r.dependency&&(r.connect=r.dependency);let a=t.options?.connect?V(t.options.connect):[];t.visible&&!1!==t.isInside&&a.forEach(r=>{let a="string"==typeof r?r:r.to;a&&(i=e.get(a)),i instanceof _()&&i.series.visible&&i.visible&&!1!==i.isInside&&n.connections.push(new f(t,i,"string"==typeof r?{}:r))})})});for(let t=0,e,r,a=i.length,o=n.connections.length;t<a;++t){r=!1;let a=i[t];for(e=0;e<o;++e){let t=n.connections[e];if((a.options&&a.options.type)===(t.options&&t.options.type)&&a.fromPoint===t.fromPoint&&a.toPoint===t.toPoint){t.graphics=a.graphics,r=!0;break}}r||a.destroy()}delete this.chartObstacles,delete this.lineObstacles,n.renderConnections(t)}renderConnections(t){t?this.chart.series.forEach(function(t){let e=function(){let e=t.chart.pathfinder;(e&&e.connections||[]).forEach(function(e){e.fromPoint&&e.fromPoint.series===t&&e.render()}),t.pathfinderRemoveRenderEvent&&(t.pathfinderRemoveRenderEvent(),delete t.pathfinderRemoveRenderEvent)};!1===t.options.animation?e():t.pathfinderRemoveRenderEvent=j(t,"afterAnimate",e)}):this.connections.forEach(function(t){t.render()})}getChartObstacles(t){let e=this.chart.series,n=S(t.algorithmMargin,0),i=[],r;for(let t=0,r=e.length;t<r;++t)if(e[t].visible&&!e[t].options.isInternal)for(let r=0,a=e[t].points.length,o,s;r<a;++r)(s=e[t].points[r]).visible&&(o=function(t){let e=t.shapeArgs;if(e)return{xMin:e.x||0,xMax:(e.x||0)+(e.width||0),yMin:e.y||0,yMax:(e.y||0)+(e.height||0)};let n=t.graphic&&t.graphic.getBBox();return n?{xMin:t.plotX-n.width/2,xMax:t.plotX+n.width/2,yMin:t.plotY-n.height/2,yMax:t.plotY+n.height/2}:null}(s))&&i.push({xMin:o.xMin-n,xMax:o.xMax+n,yMin:o.yMin-n,yMax:o.yMax+n});return i=i.sort(function(t,e){return t.xMin-e.xMin}),D(t.algorithmMargin)||(r=t.algorithmMargin=function(t){let e;let n=t.length,i=[];for(let r=0;r<n;++r)for(let a=r+1;a<n;++a)(e=function t(e,n,i){let r=S(i,10),a=e.yMax+r>n.yMin-r&&e.yMin-r<n.yMax+r,o=e.xMax+r>n.xMin-r&&e.xMin-r<n.xMax+r,s=a?e.xMin>n.xMax?e.xMin-n.xMax:n.xMin-e.xMax:1/0,h=o?e.yMin>n.yMax?e.yMin-n.yMax:n.yMin-e.yMax:1/0;return o&&a?r?t(e,n,Math.floor(r/2)):1/0:q(s,h)}(t[r],t[a]))<80&&i.push(e);return i.push(80),Y(Math.floor(i.sort(function(t,e){return t-e})[Math.floor(i.length/10)]/2-1),1)}(i),i.forEach(function(t){t.xMin-=r,t.xMax+=r,t.yMin-=r,t.yMax+=r})),i}getObstacleMetrics(t){let e=0,n=0,i,r,a=t.length;for(;a--;)i=t[a].xMax-t[a].xMin,r=t[a].yMax-t[a].yMin,e<i&&(e=i),n<r&&(n=r);return{maxHeight:n,maxWidth:e}}getAlgorithmStartDirection(t){let e="left"!==t.align&&"right"!==t.align,n="top"!==t.verticalAlign&&"bottom"!==t.verticalAlign;return e?!!n&&void 0:!!n||void 0}}function T(t,e,n,i){return[["M",t,e+i/2],["L",t+n,e],["L",t,e+i/2],["L",t+n,e+i]]}function N(t,e,n,i){return T(t,e,n/2,i)}function z(t,e,n,i){return[["M",t+n,e],["L",t,e+i/2],["L",t+n,e+i],["Z"]]}function U(t,e,n,i){return z(t,e,n/2,i)}G.prototype.algorithms={fastAvoid:I,straight:function(t,e){return{path:[["M",t.x,t.y],["L",e.x,e.y]],obstacles:[{start:t,end:e}]}},simpleConnect:A};let Z=h();Z.Pathfinder=Z.Pathfinder||G,({compose:function(t){let e=t.prototype.symbols;e.arrow=T,e["arrow-filled"]=z,e["arrow-filled-half"]=U,e["arrow-half"]=N,e["triangle-left"]=z,e["triangle-left-half"]=U}}).compose(Z.SVGRenderer),Z.Pathfinder.compose(Z.Chart,Z.Point);let F=h();return o.default})());
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highcharts Gantt JS v12.0.
|
|
2
|
+
* @license Highcharts Gantt JS v12.0.2 (2024-12-04)
|
|
3
3
|
* @module highcharts/modules/pathfinder
|
|
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(
|
|
14
|
+
module.exports = factory(root["_Highcharts"], root["_Highcharts"]["Point"]);
|
|
15
15
|
else if(typeof define === 'function' && define.amd)
|
|
16
|
-
define("highcharts/pathfinder", [
|
|
16
|
+
define("highcharts/modules/pathfinder", ["highcharts/highcharts"], function (amd1) {return factory(amd1,amd1["Point"]);});
|
|
17
17
|
else if(typeof exports === 'object')
|
|
18
|
-
exports["highcharts/pathfinder"] = factory(
|
|
18
|
+
exports["highcharts/modules/pathfinder"] = factory(root["_Highcharts"], root["_Highcharts"]["Point"]);
|
|
19
19
|
else
|
|
20
20
|
root["Highcharts"] = factory(root["Highcharts"], root["Highcharts"]["Point"]);
|
|
21
|
-
})(this, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__260__) => {
|
|
21
|
+
})(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__260__) => {
|
|
22
22
|
return /******/ (() => { // webpackBootstrap
|
|
23
23
|
/******/ "use strict";
|
|
24
24
|
/******/ var __webpack_modules__ = ({
|
package/modules/pattern-fill.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
!/**
|
|
2
|
-
* Highcharts JS v12.0.
|
|
2
|
+
* Highcharts JS v12.0.2 (2024-12-04)
|
|
3
3
|
* @module highcharts/modules/pattern-fill
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
*
|
|
@@ -9,4 +9,4 @@
|
|
|
9
9
|
* Author: Torstein Hønsi, Øystein Moseng
|
|
10
10
|
*
|
|
11
11
|
* License: www.highcharts.com/license
|
|
12
|
-
*/function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(
|
|
12
|
+
*/function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts):"function"==typeof define&&define.amd?define("highcharts/modules/pattern-fill",["highcharts/highcharts"],function(t){return e(t)}):"object"==typeof exports?exports["highcharts/modules/pattern-fill"]=e(t._Highcharts):t.Highcharts=e(t.Highcharts)}("undefined"==typeof window?this:window,t=>(()=>{"use strict";var e={944:e=>{e.exports=t}},r={};function i(t){var a=r[t];if(void 0!==a)return a.exports;var o=r[t]={exports:{}};return e[t](o,o.exports,i),o.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var r in e)i.o(e,r)&&!i.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var a={};i.d(a,{default:()=>R});var o=i(944),n=/*#__PURE__*/i.n(o);let{animObject:h}=n(),{getOptions:s}=n(),{addEvent:l,defined:p,erase:c,extend:d,merge:f,pick:g,removeEvent:u,wrap:m}=n(),x=function(){let t=[],e=s().colors,r=0;for(let i of["M 0 0 L 5 5 M 4.5 -0.5 L 5.5 0.5 M -0.5 4.5 L 0.5 5.5","M 0 5 L 5 0 M -0.5 0.5 L 0.5 -0.5 M 4.5 5.5 L 5.5 4.5","M 2 0 L 2 5 M 4 0 L 4 5","M 0 2 L 5 2 M 0 4 L 5 4","M 0 1.5 L 2.5 1.5 L 2.5 0 M 2.5 5 L 2.5 3.5 L 5 3.5"])t.push({path:i,color:e[r++],width:5,height:5,patternTransform:"scale(1.4 1.4)"});for(let i of(r=5,["M 0 0 L 5 10 L 10 0","M 3 3 L 8 3 L 8 8 L 3 8 Z","M 5 5 m -4 0 a 4 4 0 1 1 8 0 a 4 4 0 1 1 -8 0","M 0 0 L 10 10 M 9 -1 L 11 1 M -1 9 L 1 11","M 0 10 L 10 0 M -1 1 L 1 -1 M 9 11 L 11 9"]))t.push({path:i,color:e[r],width:10,height:10}),r+=5;return t}();function y(t,e){let r=JSON.stringify(t),i=r.length||0,a=0,o=0,n;if(e){n=Math.max(Math.floor(i/500),1);for(let t=0;t<i;t+=n)a+=r.charCodeAt(t);a&=a}for(;o<i;++o)a=(a<<5)-a+r.charCodeAt(o),a&=a;return a.toString(16).replace("-","1")}function w(){if(this.renderer&&(this.renderer.defIds||[]).filter(t=>t&&t.indexOf&&0===t.indexOf("highcharts-pattern-")).length){for(let t of this.series)if(t.visible)for(let e of t.points){let t=e.options&&e.options.color;t&&t.pattern&&(t.pattern._width="defer",t.pattern._height="defer")}this.redraw(!1)}}function M(){let t={},e=this.renderer,r=(e.defIds||[]).filter(t=>t.indexOf&&0===t.indexOf("highcharts-pattern-"));if(r.length)for(let i of([].forEach.call(this.renderTo.querySelectorAll('[color^="url("], [fill^="url("], [stroke^="url("]'),r=>{let i=r.getAttribute("fill")||r.getAttribute("color")||r.getAttribute("stroke");i&&(t[i.replace(e.url,"").replace("url(#","").replace(")","")]=!0)}),r))!t[i]&&(c(e.defIds,i),e.patternElements[i]&&(e.patternElements[i].destroy(),delete e.patternElements[i]))}function b(){let t=this.options.color;t&&t.pattern&&("string"==typeof t.pattern.path&&(t.pattern.path={d:t.pattern.path}),this.color=this.options.color=f(this.series.options.color,t))}function _(t){let e=t.args[0],r=t.args[1],i=t.args[2],a=this.chartIndex||0,o=e.pattern,n="#333333";if(void 0!==e.patternIndex&&x&&(o=x[e.patternIndex]),!o)return!0;if(o.image||"string"==typeof o.path||o.path&&o.path.d){let t=i.parentNode&&i.parentNode.getAttribute("class");t=t&&t.indexOf("highcharts-legend")>-1,("defer"===o._width||"defer"===o._height)&&A.call({graphic:{element:i}},o),(t||!o.id)&&((o=f({},o)).id="highcharts-pattern-"+a+"-"+y(o)+y(o,!0)),this.addPattern(o,!this.forExport&&g(o.animation,this.globalAnimation,{duration:100})),n=`url(${this.url}#${o.id+(this.forExport?"-export":"")})`}else n=o.color||n;return i.setAttribute(r,n),e.toString=function(){return n},!1}function L(){let t=this.chart.isResizing;if(this.isDirtyData||t||!this.chart.hasRendered)for(let e of this.points){let r=e.options&&e.options.color;r&&r.pattern&&(t&&!(e.shapeArgs&&e.shapeArgs.width&&e.shapeArgs.height)?(r.pattern._width="defer",r.pattern._height="defer"):e.calculatePatternDimensions(r.pattern))}}function A(t){if(t.width&&t.height)return;let e=this.graphic&&(this.graphic.getBBox&&this.graphic.getBBox(!0)||this.graphic.element&&this.graphic.element.getBBox())||{},r=this.shapeArgs;if(r&&(e.width=r.width||e.width,e.height=r.height||e.height,e.x=r.x||e.x,e.y=r.y||e.y),t.image){if(!e.width||!e.height){t._width="defer",t._height="defer";let e=this.series.chart.mapView&&this.series.chart.mapView.getSVGTransform().scaleY;p(e)&&e<0&&(t._inverted=!0);return}t.aspectRatio&&(e.aspectRatio=e.width/e.height,t.aspectRatio>e.aspectRatio?e.aspectWidth=e.height*t.aspectRatio:e.aspectHeight=e.width/t.aspectRatio),t._width=t.width||Math.ceil(e.aspectWidth||e.width),t._height=t.height||Math.ceil(e.aspectHeight||e.height)}t.width||(t._x=t.x||0,t._x+=e.x-Math.round(e.aspectWidth?Math.abs(e.aspectWidth-e.width)/2:0)),t.height||(t._y=t.y||0,t._y+=e.y-Math.round(e.aspectHeight?Math.abs(e.aspectHeight-e.height)/2:0))}function C(t,e){let r=g(e,!0),i=h(r),a=t.color||"#333333",o=t.height||("number"==typeof t._height?t._height:0)||32,s=t.width||("number"==typeof t._width?t._width:0)||32,l,p=t.id,c;if(!p&&(this.idCounter=this.idCounter||0,p="highcharts-pattern-"+this.idCounter+"-"+(this.chartIndex||0),++this.idCounter),this.forExport&&(p+="-export"),this.defIds=this.defIds||[],this.defIds.indexOf(p)>-1)return;this.defIds.push(p);let d={id:p,patternUnits:"userSpaceOnUse",patternContentUnits:t.patternContentUnits||"userSpaceOnUse",width:s,height:o,x:t._x||t.x||0,y:t._y||t.y||0};t._inverted&&(d.patternTransform="scale(1, -1)",t.patternTransform&&(t.patternTransform+=" scale(1, -1)")),t.patternTransform&&(d.patternTransform=t.patternTransform);let f=this.createElement("pattern").attr(d).add(this.defs);if(f.id=p,t.path){if(c=n().isObject(t.path)?t.path:{d:t.path},t.backgroundColor){let e;e=t.backgroundColor,this.rect(0,0,s,o).attr({fill:e}).add(f)}l={d:c.d},this.styledMode||(l.stroke=c.stroke||a,l["stroke-width"]=g(c.strokeWidth,2),l.fill=c.fill||"none"),c.transform&&(l.transform=c.transform),this.createElement("path").attr(l).add(f),f.color=a}else t.image&&(r?this.image(t.image,0,0,s,o,function(){this.animate({opacity:g(t.opacity,1)},i),u(this.element,"load")}).attr({opacity:0}).add(f):this.image(t.image,0,0,s,o).add(f));return t.image&&r||void 0===t.opacity||[].forEach.call(f.element.childNodes,e=>{e.setAttribute("opacity",t.opacity)}),this.patternElements=this.patternElements||{},this.patternElements[p]=f,f}function E(t){let e=this.options.color;e&&e.pattern&&!e.pattern.color?(delete this.options.color,t.apply(this,[].slice.call(arguments,1)),e.pattern.color=this.color,this.color=this.options.color=e):t.apply(this,[].slice.call(arguments,1))}function O(){if(!this.chart?.mapView)return;let t=this.chart.renderer,e=t.patternElements;t.defIds?.length&&e&&this.points.filter(function(t){return!!t.graphic&&(t.graphic.element.hasAttribute("fill")||t.graphic.element.hasAttribute("color")||t.graphic.element.hasAttribute("stroke"))&&!t.options.color?.pattern?.image&&!!t.group?.scaleX&&!!t.group?.scaleY}).map(function(e){return{id:(e.graphic?.element.getAttribute("fill")||e.graphic?.element.getAttribute("color")||e.graphic?.element.getAttribute("stroke")||"").replace(t.url,"").replace("url(#","").replace(")",""),x:e.group?.scaleX||1,y:e.group?.scaleY||1}}).filter(function(t,e,r){return""!==t.id&&-1!==t.id.indexOf("highcharts-pattern-")&&!r.some(function(r,i){return r.id===t.id&&i<e})}).forEach(function(t){let r=t.id;e[r].scaleX=1/t.x,e[r].scaleY=1/t.y,e[r].updateTransform("patternTransform")})}let v={compose:function(t,e,r){let i=e.prototype.pointClass,a=i.prototype;a.calculatePatternDimensions||(l(t,"endResize",w),l(t,"redraw",M),d(a,{calculatePatternDimensions:A}),l(i,"afterInit",b),l(e,"render",L),m(e.prototype,"getColor",E),l(e,"afterRender",O),l(e,"mapZoomComplete",O),d(r.prototype,{addPattern:C}),l(r,"complexColor",_))},patterns:x},I=n();I.patterns=v.patterns,v.compose(I.Chart,I.Series,I.SVGRenderer);let R=n();return a.default})());
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highcharts JS v12.0.
|
|
2
|
+
* @license Highcharts JS v12.0.2 (2024-12-04)
|
|
3
3
|
* @module highcharts/modules/pattern-fill
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
*
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
*/
|
|
13
13
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
14
14
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
15
|
-
module.exports = factory(
|
|
15
|
+
module.exports = factory(root["_Highcharts"]);
|
|
16
16
|
else if(typeof define === 'function' && define.amd)
|
|
17
|
-
define("highcharts/pattern-fill", [
|
|
17
|
+
define("highcharts/modules/pattern-fill", ["highcharts/highcharts"], function (amd1) {return factory(amd1);});
|
|
18
18
|
else if(typeof exports === 'object')
|
|
19
|
-
exports["highcharts/pattern-fill"] = factory(
|
|
19
|
+
exports["highcharts/modules/pattern-fill"] = factory(root["_Highcharts"]);
|
|
20
20
|
else
|
|
21
21
|
root["Highcharts"] = factory(root["Highcharts"]);
|
|
22
|
-
})(this, (__WEBPACK_EXTERNAL_MODULE__944__) => {
|
|
22
|
+
})(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__944__) => {
|
|
23
23
|
return /******/ (() => { // webpackBootstrap
|
|
24
24
|
/******/ "use strict";
|
|
25
25
|
/******/ var __webpack_modules__ = ({
|
package/modules/pictorial.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
!/**
|
|
2
|
-
* Highcharts JS v12.0.
|
|
2
|
+
* Highcharts JS v12.0.2 (2024-12-04)
|
|
3
3
|
* @module highcharts/modules/pictorial
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
*
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
* (c) 2010-2024 Torstein Honsi, Magdalena Gut
|
|
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").Series.types.column,require("highcharts").Chart,require("highcharts").SeriesRegistry,require("highcharts").Series,require("highcharts").StackItem,require("highcharts").SVGRenderer):"function"==typeof define&&define.amd?define("highcharts/pictorial",[["highcharts/highcharts"],["highcharts/highcharts","Series","types","column"],["highcharts/highcharts","Chart"],["highcharts/highcharts","SeriesRegistry"],["highcharts/highcharts","Series"],["highcharts/highcharts","StackItem"],["highcharts/highcharts","SVGRenderer"]],e):"object"==typeof exports?exports["highcharts/pictorial"]=e(require("highcharts"),require("highcharts").Series.types.column,require("highcharts").Chart,require("highcharts").SeriesRegistry,require("highcharts").Series,require("highcharts").StackItem,require("highcharts").SVGRenderer):t.Highcharts=e(t.Highcharts,t.Highcharts.Series.types.column,t.Highcharts.Chart,t.Highcharts.SeriesRegistry,t.Highcharts.Series,t.Highcharts.StackItem,t.Highcharts.SVGRenderer)}(this,(t,e,r,i,s,a,h)=>(()=>{"use strict";var o={960:t=>{t.exports=r},540:t=>{t.exports=h},448:t=>{t.exports=e},820:t=>{t.exports=s},512:t=>{t.exports=i},184:t=>{t.exports=a},944:e=>{e.exports=t}},n={};function l(t){var e=n[t];if(void 0!==e)return e.exports;var r=n[t]={exports:{}};return o[t](r,r.exports,l),r.exports}l.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return l.d(e,{a:e}),e},l.d=(t,e)=>{for(var r in e)l.o(e,r)&&!l.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},l.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var p={};l.d(p,{default:()=>tp});var d=l(944),c=/*#__PURE__*/l.n(d);l(448);let{animObject:f}=c(),{getOptions:g}=c(),{addEvent:u,defined:m,erase:x,extend:w,merge:y,pick:b,removeEvent:A,wrap:M}=c(),S=function(){let t=[],e=g().colors,r=0;for(let i of["M 0 0 L 5 5 M 4.5 -0.5 L 5.5 0.5 M -0.5 4.5 L 0.5 5.5","M 0 5 L 5 0 M -0.5 0.5 L 0.5 -0.5 M 4.5 5.5 L 5.5 4.5","M 2 0 L 2 5 M 4 0 L 4 5","M 0 2 L 5 2 M 0 4 L 5 4","M 0 1.5 L 2.5 1.5 L 2.5 0 M 2.5 5 L 2.5 3.5 L 5 3.5"])t.push({path:i,color:e[r++],width:5,height:5,patternTransform:"scale(1.4 1.4)"});for(let i of(r=5,["M 0 0 L 5 10 L 10 0","M 3 3 L 8 3 L 8 8 L 3 8 Z","M 5 5 m -4 0 a 4 4 0 1 1 8 0 a 4 4 0 1 1 -8 0","M 0 0 L 10 10 M 9 -1 L 11 1 M -1 9 L 1 11","M 0 10 L 10 0 M -1 1 L 1 -1 M 9 11 L 11 9"]))t.push({path:i,color:e[r],width:10,height:10}),r+=5;return t}();function C(t,e){let r=JSON.stringify(t),i=r.length||0,s=0,a=0,h;if(e){h=Math.max(Math.floor(i/500),1);for(let t=0;t<i;t+=h)s+=r.charCodeAt(t);s&=s}for(;a<i;++a)s=(s<<5)-s+r.charCodeAt(a),s&=s;return s.toString(16).replace("-","1")}function k(){if(this.renderer&&(this.renderer.defIds||[]).filter(t=>t&&t.indexOf&&0===t.indexOf("highcharts-pattern-")).length){for(let t of this.series)if(t.visible)for(let e of t.points){let t=e.options&&e.options.color;t&&t.pattern&&(t.pattern._width="defer",t.pattern._height="defer")}this.redraw(!1)}}function v(){let t={},e=this.renderer,r=(e.defIds||[]).filter(t=>t.indexOf&&0===t.indexOf("highcharts-pattern-"));if(r.length)for(let i of([].forEach.call(this.renderTo.querySelectorAll('[color^="url("], [fill^="url("], [stroke^="url("]'),r=>{let i=r.getAttribute("fill")||r.getAttribute("color")||r.getAttribute("stroke");i&&(t[i.replace(e.url,"").replace("url(#","").replace(")","")]=!0)}),r))!t[i]&&(x(e.defIds,i),e.patternElements[i]&&(e.patternElements[i].destroy(),delete e.patternElements[i]))}function E(){let t=this.options.color;t&&t.pattern&&("string"==typeof t.pattern.path&&(t.pattern.path={d:t.pattern.path}),this.color=this.options.color=y(this.series.options.color,t))}function L(t){let e=t.args[0],r=t.args[1],i=t.args[2],s=this.chartIndex||0,a=e.pattern,h="#333333";if(void 0!==e.patternIndex&&S&&(a=S[e.patternIndex]),!a)return!0;if(a.image||"string"==typeof a.path||a.path&&a.path.d){let t=i.parentNode&&i.parentNode.getAttribute("class");t=t&&t.indexOf("highcharts-legend")>-1,("defer"===a._width||"defer"===a._height)&&O.call({graphic:{element:i}},a),(t||!a.id)&&((a=y({},a)).id="highcharts-pattern-"+s+"-"+C(a)+C(a,!0)),this.addPattern(a,!this.forExport&&b(a.animation,this.globalAnimation,{duration:100})),h=`url(${this.url}#${a.id+(this.forExport?"-export":"")})`}else h=a.color||h;return i.setAttribute(r,h),e.toString=function(){return h},!1}function _(){let t=this.chart.isResizing;if(this.isDirtyData||t||!this.chart.hasRendered)for(let e of this.points){let r=e.options&&e.options.color;r&&r.pattern&&(t&&!(e.shapeArgs&&e.shapeArgs.width&&e.shapeArgs.height)?(r.pattern._width="defer",r.pattern._height="defer"):e.calculatePatternDimensions(r.pattern))}}function O(t){if(t.width&&t.height)return;let e=this.graphic&&(this.graphic.getBBox&&this.graphic.getBBox(!0)||this.graphic.element&&this.graphic.element.getBBox())||{},r=this.shapeArgs;if(r&&(e.width=r.width||e.width,e.height=r.height||e.height,e.x=r.x||e.x,e.y=r.y||e.y),t.image){if(!e.width||!e.height){t._width="defer",t._height="defer";let e=this.series.chart.mapView&&this.series.chart.mapView.getSVGTransform().scaleY;m(e)&&e<0&&(t._inverted=!0);return}t.aspectRatio&&(e.aspectRatio=e.width/e.height,t.aspectRatio>e.aspectRatio?e.aspectWidth=e.height*t.aspectRatio:e.aspectHeight=e.width/t.aspectRatio),t._width=t.width||Math.ceil(e.aspectWidth||e.width),t._height=t.height||Math.ceil(e.aspectHeight||e.height)}t.width||(t._x=t.x||0,t._x+=e.x-Math.round(e.aspectWidth?Math.abs(e.aspectWidth-e.width)/2:0)),t.height||(t._y=t.y||0,t._y+=e.y-Math.round(e.aspectHeight?Math.abs(e.aspectHeight-e.height)/2:0))}function G(t,e){let r=b(e,!0),i=f(r),s=t.color||"#333333",a=t.height||("number"==typeof t._height?t._height:0)||32,h=t.width||("number"==typeof t._width?t._width:0)||32,o,n=t.id,l;if(!n&&(this.idCounter=this.idCounter||0,n="highcharts-pattern-"+this.idCounter+"-"+(this.chartIndex||0),++this.idCounter),this.forExport&&(n+="-export"),this.defIds=this.defIds||[],this.defIds.indexOf(n)>-1)return;this.defIds.push(n);let p={id:n,patternUnits:"userSpaceOnUse",patternContentUnits:t.patternContentUnits||"userSpaceOnUse",width:h,height:a,x:t._x||t.x||0,y:t._y||t.y||0};t._inverted&&(p.patternTransform="scale(1, -1)",t.patternTransform&&(t.patternTransform+=" scale(1, -1)")),t.patternTransform&&(p.patternTransform=t.patternTransform);let d=this.createElement("pattern").attr(p).add(this.defs);if(d.id=n,t.path){if(l=c().isObject(t.path)?t.path:{d:t.path},t.backgroundColor){let e;e=t.backgroundColor,this.rect(0,0,h,a).attr({fill:e}).add(d)}o={d:l.d},this.styledMode||(o.stroke=l.stroke||s,o["stroke-width"]=b(l.strokeWidth,2),o.fill=l.fill||"none"),l.transform&&(o.transform=l.transform),this.createElement("path").attr(o).add(d),d.color=s}else t.image&&(r?this.image(t.image,0,0,h,a,function(){this.animate({opacity:b(t.opacity,1)},i),A(this.element,"load")}).attr({opacity:0}).add(d):this.image(t.image,0,0,h,a).add(d));return t.image&&r||void 0===t.opacity||[].forEach.call(d.element.childNodes,e=>{e.setAttribute("opacity",t.opacity)}),this.patternElements=this.patternElements||{},this.patternElements[n]=d,d}function R(t){let e=this.options.color;e&&e.pattern&&!e.pattern.color?(delete this.options.color,t.apply(this,[].slice.call(arguments,1)),e.pattern.color=this.color,this.color=this.options.color=e):t.apply(this,[].slice.call(arguments,1))}function I(){if(!this.chart?.mapView)return;let t=this.chart.renderer,e=t.patternElements;t.defIds?.length&&e&&this.points.filter(function(t){return!!t.graphic&&(t.graphic.element.hasAttribute("fill")||t.graphic.element.hasAttribute("color")||t.graphic.element.hasAttribute("stroke"))&&!t.options.color?.pattern?.image&&!!t.group?.scaleX&&!!t.group?.scaleY}).map(function(e){return{id:(e.graphic?.element.getAttribute("fill")||e.graphic?.element.getAttribute("color")||e.graphic?.element.getAttribute("stroke")||"").replace(t.url,"").replace("url(#","").replace(")",""),x:e.group?.scaleX||1,y:e.group?.scaleY||1}}).filter(function(t,e,r){return""!==t.id&&-1!==t.id.indexOf("highcharts-pattern-")&&!r.some(function(r,i){return r.id===t.id&&i<e})}).forEach(function(t){let r=t.id;e[r].scaleX=1/t.x,e[r].scaleY=1/t.y,e[r].updateTransform("patternTransform")})}var q=l(960),B=/*#__PURE__*/l.n(q),W=l(512),D=/*#__PURE__*/l.n(W);let{defined:T}=c(),H={rescalePatternFill:function(t,e,r,i,s=1){let a=t&&t.attr("fill"),h=a&&a.match(/url\(([^)]+)\)/);if(h){let a=document.querySelector(`${h[1]} path`);if(a){let h=a.getBBox();if(0===h.width){let e=a.parentElement;t.renderer.box.appendChild(a),h=a.getBBox(),e.appendChild(a)}let o=1/(h.width+s),n=e/i/h.height,l=h.width/h.height,p=r/e,d=-h.width/2;l<p&&(o=o*l/p),a.setAttribute("stroke-width",s/(r*o)),a.setAttribute("transform",`translate(0.5, 0)scale(${o} ${n}) translate(${d+s*o/2}, ${-h.y})`)}}},invertShadowGroup:function(t,e){let r=e.chart.inverted;r&&t.attr({rotation:r?90:0,scaleX:r?-1:1})},getStackMetrics:function(t,e){let r=t.len,i=0;return e&&T(e.max)&&(i=t.toPixels(e.max,!0),r=t.len-i),{height:r,y:i}}},P=D().seriesTypes.column.prototype.pointClass,{rescalePatternFill:j,getStackMetrics:U}=H,V=class extends P{setState(){super.setState.apply(this,arguments);let t=this.series,e=t.options.paths;if(this.graphic&&this.shapeArgs&&e){let r=e[this.index%e.length];j(this.graphic,U(t.yAxis,r).height,this.shapeArgs.width||0,this.shapeArgs.height||1/0,this.series.options.borderWidth||0)}}};var X=l(820),$=/*#__PURE__*/l.n(X),Y=l(184),F=/*#__PURE__*/l.n(Y),N=l(540),z=/*#__PURE__*/l.n(N);let Z=D().seriesTypes.column;({compose:function(t,e,r){let i=e.prototype.pointClass,s=i.prototype;s.calculatePatternDimensions||(u(t,"endResize",k),u(t,"redraw",v),w(s,{calculatePatternDimensions:O}),u(i,"afterInit",E),u(e,"render",_),M(e.prototype,"getColor",R),u(e,"afterRender",I),u(e,"mapZoomComplete",I),w(r.prototype,{addPattern:G}),u(r,"complexColor",L))},patterns:S}).compose(B(),$(),z());let{animObject:J}=c(),{getStackMetrics:K,invertShadowGroup:Q,rescalePatternFill:tt}=H,{addEvent:te,defined:tr,merge:ti,objectEach:ts,pick:ta}=c();class th extends Z{animate(t){let{chart:e,group:r}=this,i=J(this.options.animation),s=[this.getSharedClipKey(),i.duration,i.easing,i.defer].join(","),a=e.sharedClips[s];if(t&&r){let t=this.getClipBox();a||(t.y=t.height,t.height=0,a=e.renderer.clipRect(t),e.sharedClips[s]=a),r.clip(a)}else if(a&&!a.hasClass("highcharts-animating")){let t=this.getClipBox();a.addClass("highcharts-animating").animate(t,i)}}animateDrilldown(){}animateDrillupFrom(){}pointAttribs(t){let e=super.pointAttribs.apply(this,arguments),r=this.options.paths;if(t&&t.shapeArgs&&r){let i=r[t.index%r.length],{y:s,height:a}=K(this.yAxis,i),h=i.definition;h!==t.pathDef?(t.pathDef=h,e.fill={pattern:{path:{d:h,fill:e.fill,strokeWidth:e["stroke-width"],stroke:e.stroke},x:t.shapeArgs.x,y:s,width:t.shapeArgs.width||0,height:a,patternContentUnits:"objectBoundingBox",backgroundColor:"none",color:"#ff0000"}}):t.pathDef&&t.graphic&&delete e.fill}return delete e.stroke,delete e.strokeWidth,e}getExtremes(){let t=super.getExtremes.apply(this,arguments),e=this.options.paths;return e&&e.forEach(function(e){tr(e.max)&&tr(t.dataMax)&&e.max>t.dataMax&&(t.dataMax=e.max)}),t}}function to(t){let e=Object.keys(t.points).filter(t=>t.split(",").length>1),r=t.axis.chart.series,i=e.map(t=>parseFloat(t.split(",")[0])),s=-1;i.forEach(t=>{r[t]&&r[t].visible&&(s=t)});let a=t.axis.chart.series[s];if(a&&a.is("pictorial")&&t.axis.hasData()&&a.xAxis.hasData()){let e=a.xAxis,r=t.axis.options,i=t.axis.chart,s=t.shadow,h=e.toPixels(t.x,!0),o=i.inverted?e.len-h:h,n=a.options.paths||[],l=t.x%n.length,p=n[l],d=a.getColumnMetrics&&a.getColumnMetrics().width,{height:c,y:f}=K(a.yAxis,p),g=r.stackShadow,u=ta(g&&g.borderWidth,a.options.borderWidth,1);if(!s&&g&&g.enabled&&p)t.shadowGroup||(t.shadowGroup=i.renderer.g("shadow-group").add()),t.shadowGroup.attr({translateX:i.inverted?t.axis.pos:e.pos,translateY:i.inverted?e.pos:t.axis.pos}),t.shadow=i.renderer.rect(o,f,d,c).attr({fill:{pattern:{path:{d:p.definition,fill:g.color||"#dedede",strokeWidth:u,stroke:g.borderColor||"transparent"},x:o,y:f,width:d,height:c,patternContentUnits:"objectBoundingBox",backgroundColor:"none",color:"#dedede"}}}).add(t.shadowGroup),Q(t.shadowGroup,t.axis),tt(t.shadow,c,d,c,u),t.setOffset(a.pointXOffset||0,a.barW||0);else if(s&&t.shadowGroup){s.animate({x:o,y:f,width:d,height:c});let r=s.attr("fill"),h=r&&r.match(/url\(([^)]+)\)/);h&&i.renderer.patternElements&&i.renderer.patternElements[h[1].slice(1)].animate({x:o,y:f,width:d,height:c}),t.shadowGroup.animate({translateX:i.inverted?t.axis.pos:e.pos,translateY:i.inverted?e.pos:t.axis.pos}),Q(t.shadowGroup,t.axis),tt(s,c,d,c,u),t.setOffset(a.pointXOffset||0,a.barW||0)}}else t.shadow&&t.shadowGroup&&(t.shadow.destroy(),t.shadow=void 0,t.shadowGroup.destroy(),t.shadowGroup=void 0)}function tn(t,e){t.axes&&t.axes.forEach(function(t){t.stacking&&ts(t.stacking.stacks,function(t){ts(t,function(t){e(t)})})})}function tl(t){tn(t,function(t){t.shadow&&t.shadowGroup&&(t.shadow.destroy(),t.shadowGroup.destroy(),delete t.shadow,delete t.shadowGroup)})}th.defaultOptions=ti(Z.defaultOptions,{borderWidth:0}),te(th,"afterRender",function(){let t=this,e=t.options.paths,r=/url\(([^)]+)\)/;t.points.forEach(function(i){if(i.graphic&&i.shapeArgs&&e){let s=e[i.index%e.length],a=i.graphic.attr("fill"),h=a&&a.match(r),{y:o,height:n}=K(t.yAxis,s);if(h&&t.chart.renderer.patternElements){let e=t.chart.renderer.patternElements[h[1].slice(1)];e&&e.animate({x:i.shapeArgs.x,y:o,width:i.shapeArgs.width||0,height:n})}tt(i.graphic,K(t.yAxis,s).height,i.shapeArgs.width||0,i.shapeArgs.height||1/0,t.options.borderWidth||0)}})}),te(B(),"render",function(){tn(this,to)}),te(F(),"afterSetOffset",function(t){if(this.shadow){let{chart:e,len:r}=this.axis,{xOffset:i,width:s}=t,a=e.inverted?i-e.xAxis[0].len:i,h=e.inverted?-r:0;this.shadow.attr({translateX:a,translateY:h}),this.shadow.animate({width:s})}}),te(B(),"afterDrilldown",function(){tl(this)}),te(B(),"afterDrillUp",function(){tl(this)}),th.prototype.pointClass=V,D().registerSeriesType("pictorial",th);let tp=c();return p.default})());
|
|
11
|
+
*/function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts,t._Highcharts.Series.types.column,t._Highcharts.Chart,t._Highcharts.SeriesRegistry,t._Highcharts.Series,t._Highcharts.StackItem,t._Highcharts.SVGRenderer):"function"==typeof define&&define.amd?define("highcharts/modules/pictorial",["highcharts/highcharts"],function(t){return e(t,t.Series,["types"],["column"],t.Chart,t.SeriesRegistry,t.Series,t.StackItem,t.SVGRenderer)}):"object"==typeof exports?exports["highcharts/modules/pictorial"]=e(t._Highcharts,t._Highcharts.Series.types.column,t._Highcharts.Chart,t._Highcharts.SeriesRegistry,t._Highcharts.Series,t._Highcharts.StackItem,t._Highcharts.SVGRenderer):t.Highcharts=e(t.Highcharts,t.Highcharts.Series.types.column,t.Highcharts.Chart,t.Highcharts.SeriesRegistry,t.Highcharts.Series,t.Highcharts.StackItem,t.Highcharts.SVGRenderer)}("undefined"==typeof window?this:window,(t,e,r,i,s,a,o)=>(()=>{"use strict";var h={960:t=>{t.exports=r},540:t=>{t.exports=o},448:t=>{t.exports=e},820:t=>{t.exports=s},512:t=>{t.exports=i},184:t=>{t.exports=a},944:e=>{e.exports=t}},n={};function l(t){var e=n[t];if(void 0!==e)return e.exports;var r=n[t]={exports:{}};return h[t](r,r.exports,l),r.exports}l.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return l.d(e,{a:e}),e},l.d=(t,e)=>{for(var r in e)l.o(e,r)&&!l.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},l.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var p={};l.d(p,{default:()=>tp});var d=l(944),c=/*#__PURE__*/l.n(d);l(448);let{animObject:f}=c(),{getOptions:g}=c(),{addEvent:u,defined:m,erase:x,extend:w,merge:y,pick:b,removeEvent:A,wrap:M}=c(),S=function(){let t=[],e=g().colors,r=0;for(let i of["M 0 0 L 5 5 M 4.5 -0.5 L 5.5 0.5 M -0.5 4.5 L 0.5 5.5","M 0 5 L 5 0 M -0.5 0.5 L 0.5 -0.5 M 4.5 5.5 L 5.5 4.5","M 2 0 L 2 5 M 4 0 L 4 5","M 0 2 L 5 2 M 0 4 L 5 4","M 0 1.5 L 2.5 1.5 L 2.5 0 M 2.5 5 L 2.5 3.5 L 5 3.5"])t.push({path:i,color:e[r++],width:5,height:5,patternTransform:"scale(1.4 1.4)"});for(let i of(r=5,["M 0 0 L 5 10 L 10 0","M 3 3 L 8 3 L 8 8 L 3 8 Z","M 5 5 m -4 0 a 4 4 0 1 1 8 0 a 4 4 0 1 1 -8 0","M 0 0 L 10 10 M 9 -1 L 11 1 M -1 9 L 1 11","M 0 10 L 10 0 M -1 1 L 1 -1 M 9 11 L 11 9"]))t.push({path:i,color:e[r],width:10,height:10}),r+=5;return t}();function _(t,e){let r=JSON.stringify(t),i=r.length||0,s=0,a=0,o;if(e){o=Math.max(Math.floor(i/500),1);for(let t=0;t<i;t+=o)s+=r.charCodeAt(t);s&=s}for(;a<i;++a)s=(s<<5)-s+r.charCodeAt(a),s&=s;return s.toString(16).replace("-","1")}function C(){if(this.renderer&&(this.renderer.defIds||[]).filter(t=>t&&t.indexOf&&0===t.indexOf("highcharts-pattern-")).length){for(let t of this.series)if(t.visible)for(let e of t.points){let t=e.options&&e.options.color;t&&t.pattern&&(t.pattern._width="defer",t.pattern._height="defer")}this.redraw(!1)}}function k(){let t={},e=this.renderer,r=(e.defIds||[]).filter(t=>t.indexOf&&0===t.indexOf("highcharts-pattern-"));if(r.length)for(let i of([].forEach.call(this.renderTo.querySelectorAll('[color^="url("], [fill^="url("], [stroke^="url("]'),r=>{let i=r.getAttribute("fill")||r.getAttribute("color")||r.getAttribute("stroke");i&&(t[i.replace(e.url,"").replace("url(#","").replace(")","")]=!0)}),r))!t[i]&&(x(e.defIds,i),e.patternElements[i]&&(e.patternElements[i].destroy(),delete e.patternElements[i]))}function v(){let t=this.options.color;t&&t.pattern&&("string"==typeof t.pattern.path&&(t.pattern.path={d:t.pattern.path}),this.color=this.options.color=y(this.series.options.color,t))}function E(t){let e=t.args[0],r=t.args[1],i=t.args[2],s=this.chartIndex||0,a=e.pattern,o="#333333";if(void 0!==e.patternIndex&&S&&(a=S[e.patternIndex]),!a)return!0;if(a.image||"string"==typeof a.path||a.path&&a.path.d){let t=i.parentNode&&i.parentNode.getAttribute("class");t=t&&t.indexOf("highcharts-legend")>-1,("defer"===a._width||"defer"===a._height)&&L.call({graphic:{element:i}},a),(t||!a.id)&&((a=y({},a)).id="highcharts-pattern-"+s+"-"+_(a)+_(a,!0)),this.addPattern(a,!this.forExport&&b(a.animation,this.globalAnimation,{duration:100})),o=`url(${this.url}#${a.id+(this.forExport?"-export":"")})`}else o=a.color||o;return i.setAttribute(r,o),e.toString=function(){return o},!1}function H(){let t=this.chart.isResizing;if(this.isDirtyData||t||!this.chart.hasRendered)for(let e of this.points){let r=e.options&&e.options.color;r&&r.pattern&&(t&&!(e.shapeArgs&&e.shapeArgs.width&&e.shapeArgs.height)?(r.pattern._width="defer",r.pattern._height="defer"):e.calculatePatternDimensions(r.pattern))}}function L(t){if(t.width&&t.height)return;let e=this.graphic&&(this.graphic.getBBox&&this.graphic.getBBox(!0)||this.graphic.element&&this.graphic.element.getBBox())||{},r=this.shapeArgs;if(r&&(e.width=r.width||e.width,e.height=r.height||e.height,e.x=r.x||e.x,e.y=r.y||e.y),t.image){if(!e.width||!e.height){t._width="defer",t._height="defer";let e=this.series.chart.mapView&&this.series.chart.mapView.getSVGTransform().scaleY;m(e)&&e<0&&(t._inverted=!0);return}t.aspectRatio&&(e.aspectRatio=e.width/e.height,t.aspectRatio>e.aspectRatio?e.aspectWidth=e.height*t.aspectRatio:e.aspectHeight=e.width/t.aspectRatio),t._width=t.width||Math.ceil(e.aspectWidth||e.width),t._height=t.height||Math.ceil(e.aspectHeight||e.height)}t.width||(t._x=t.x||0,t._x+=e.x-Math.round(e.aspectWidth?Math.abs(e.aspectWidth-e.width)/2:0)),t.height||(t._y=t.y||0,t._y+=e.y-Math.round(e.aspectHeight?Math.abs(e.aspectHeight-e.height)/2:0))}function O(t,e){let r=b(e,!0),i=f(r),s=t.color||"#333333",a=t.height||("number"==typeof t._height?t._height:0)||32,o=t.width||("number"==typeof t._width?t._width:0)||32,h,n=t.id,l;if(!n&&(this.idCounter=this.idCounter||0,n="highcharts-pattern-"+this.idCounter+"-"+(this.chartIndex||0),++this.idCounter),this.forExport&&(n+="-export"),this.defIds=this.defIds||[],this.defIds.indexOf(n)>-1)return;this.defIds.push(n);let p={id:n,patternUnits:"userSpaceOnUse",patternContentUnits:t.patternContentUnits||"userSpaceOnUse",width:o,height:a,x:t._x||t.x||0,y:t._y||t.y||0};t._inverted&&(p.patternTransform="scale(1, -1)",t.patternTransform&&(t.patternTransform+=" scale(1, -1)")),t.patternTransform&&(p.patternTransform=t.patternTransform);let d=this.createElement("pattern").attr(p).add(this.defs);if(d.id=n,t.path){if(l=c().isObject(t.path)?t.path:{d:t.path},t.backgroundColor){let e;e=t.backgroundColor,this.rect(0,0,o,a).attr({fill:e}).add(d)}h={d:l.d},this.styledMode||(h.stroke=l.stroke||s,h["stroke-width"]=b(l.strokeWidth,2),h.fill=l.fill||"none"),l.transform&&(h.transform=l.transform),this.createElement("path").attr(h).add(d),d.color=s}else t.image&&(r?this.image(t.image,0,0,o,a,function(){this.animate({opacity:b(t.opacity,1)},i),A(this.element,"load")}).attr({opacity:0}).add(d):this.image(t.image,0,0,o,a).add(d));return t.image&&r||void 0===t.opacity||[].forEach.call(d.element.childNodes,e=>{e.setAttribute("opacity",t.opacity)}),this.patternElements=this.patternElements||{},this.patternElements[n]=d,d}function G(t){let e=this.options.color;e&&e.pattern&&!e.pattern.color?(delete this.options.color,t.apply(this,[].slice.call(arguments,1)),e.pattern.color=this.color,this.color=this.options.color=e):t.apply(this,[].slice.call(arguments,1))}function R(){if(!this.chart?.mapView)return;let t=this.chart.renderer,e=t.patternElements;t.defIds?.length&&e&&this.points.filter(function(t){return!!t.graphic&&(t.graphic.element.hasAttribute("fill")||t.graphic.element.hasAttribute("color")||t.graphic.element.hasAttribute("stroke"))&&!t.options.color?.pattern?.image&&!!t.group?.scaleX&&!!t.group?.scaleY}).map(function(e){return{id:(e.graphic?.element.getAttribute("fill")||e.graphic?.element.getAttribute("color")||e.graphic?.element.getAttribute("stroke")||"").replace(t.url,"").replace("url(#","").replace(")",""),x:e.group?.scaleX||1,y:e.group?.scaleY||1}}).filter(function(t,e,r){return""!==t.id&&-1!==t.id.indexOf("highcharts-pattern-")&&!r.some(function(r,i){return r.id===t.id&&i<e})}).forEach(function(t){let r=t.id;e[r].scaleX=1/t.x,e[r].scaleY=1/t.y,e[r].updateTransform("patternTransform")})}var I=l(960),B=/*#__PURE__*/l.n(I),W=l(512),D=/*#__PURE__*/l.n(W);let{defined:T}=c(),P={rescalePatternFill:function(t,e,r,i,s=1){let a=t&&t.attr("fill"),o=a&&a.match(/url\(([^)]+)\)/);if(o){let a=document.querySelector(`${o[1]} path`);if(a){let o=a.getBBox();if(0===o.width){let e=a.parentElement;t.renderer.box.appendChild(a),o=a.getBBox(),e.appendChild(a)}let h=1/(o.width+s),n=e/i/o.height,l=o.width/o.height,p=r/e,d=-o.width/2;l<p&&(h=h*l/p),a.setAttribute("stroke-width",s/(r*h)),a.setAttribute("transform",`translate(0.5, 0)scale(${h} ${n}) translate(${d+s*h/2}, ${-o.y})`)}}},invertShadowGroup:function(t,e){let r=e.chart.inverted;r&&t.attr({rotation:r?90:0,scaleX:r?-1:1})},getStackMetrics:function(t,e){let r=t.len,i=0;return e&&T(e.max)&&(i=t.toPixels(e.max,!0),r=t.len-i),{height:r,y:i}}},j=D().seriesTypes.column.prototype.pointClass,{rescalePatternFill:U,getStackMetrics:V}=P,X=class extends j{setState(){super.setState.apply(this,arguments);let t=this.series,e=t.options.paths;if(this.graphic&&this.shapeArgs&&e){let r=e[this.index%e.length];U(this.graphic,V(t.yAxis,r).height,this.shapeArgs.width||0,this.shapeArgs.height||1/0,this.series.options.borderWidth||0)}}};var $=l(820),Y=/*#__PURE__*/l.n($),F=l(184),N=/*#__PURE__*/l.n(F),q=l(540),z=/*#__PURE__*/l.n(q);let Z=D().seriesTypes.column;({compose:function(t,e,r){let i=e.prototype.pointClass,s=i.prototype;s.calculatePatternDimensions||(u(t,"endResize",C),u(t,"redraw",k),w(s,{calculatePatternDimensions:L}),u(i,"afterInit",v),u(e,"render",H),M(e.prototype,"getColor",G),u(e,"afterRender",R),u(e,"mapZoomComplete",R),w(r.prototype,{addPattern:O}),u(r,"complexColor",E))},patterns:S}).compose(B(),Y(),z());let{animObject:J}=c(),{getStackMetrics:K,invertShadowGroup:Q,rescalePatternFill:tt}=P,{addEvent:te,defined:tr,merge:ti,objectEach:ts,pick:ta}=c();class to extends Z{animate(t){let{chart:e,group:r}=this,i=J(this.options.animation),s=[this.getSharedClipKey(),i.duration,i.easing,i.defer].join(","),a=e.sharedClips[s];if(t&&r){let t=this.getClipBox();a||(t.y=t.height,t.height=0,a=e.renderer.clipRect(t),e.sharedClips[s]=a),r.clip(a)}else if(a&&!a.hasClass("highcharts-animating")){let t=this.getClipBox();a.addClass("highcharts-animating").animate(t,i)}}animateDrilldown(){}animateDrillupFrom(){}pointAttribs(t){let e=super.pointAttribs.apply(this,arguments),r=this.options.paths;if(t&&t.shapeArgs&&r){let i=r[t.index%r.length],{y:s,height:a}=K(this.yAxis,i),o=i.definition;o!==t.pathDef?(t.pathDef=o,e.fill={pattern:{path:{d:o,fill:e.fill,strokeWidth:e["stroke-width"],stroke:e.stroke},x:t.shapeArgs.x,y:s,width:t.shapeArgs.width||0,height:a,patternContentUnits:"objectBoundingBox",backgroundColor:"none",color:"#ff0000"}}):t.pathDef&&t.graphic&&delete e.fill}return delete e.stroke,delete e.strokeWidth,e}getExtremes(){let t=super.getExtremes.apply(this,arguments),e=this.options.paths;return e&&e.forEach(function(e){tr(e.max)&&tr(t.dataMax)&&e.max>t.dataMax&&(t.dataMax=e.max)}),t}}function th(t){let e=Object.keys(t.points).filter(t=>t.split(",").length>1),r=t.axis.chart.series,i=e.map(t=>parseFloat(t.split(",")[0])),s=-1;i.forEach(t=>{r[t]&&r[t].visible&&(s=t)});let a=t.axis.chart.series[s];if(a&&a.is("pictorial")&&t.axis.hasData()&&a.xAxis.hasData()){let e=a.xAxis,r=t.axis.options,i=t.axis.chart,s=t.shadow,o=e.toPixels(t.x,!0),h=i.inverted?e.len-o:o,n=a.options.paths||[],l=t.x%n.length,p=n[l],d=a.getColumnMetrics&&a.getColumnMetrics().width,{height:c,y:f}=K(a.yAxis,p),g=r.stackShadow,u=ta(g&&g.borderWidth,a.options.borderWidth,1);if(!s&&g&&g.enabled&&p)t.shadowGroup||(t.shadowGroup=i.renderer.g("shadow-group").add()),t.shadowGroup.attr({translateX:i.inverted?t.axis.pos:e.pos,translateY:i.inverted?e.pos:t.axis.pos}),t.shadow=i.renderer.rect(h,f,d,c).attr({fill:{pattern:{path:{d:p.definition,fill:g.color||"#dedede",strokeWidth:u,stroke:g.borderColor||"transparent"},x:h,y:f,width:d,height:c,patternContentUnits:"objectBoundingBox",backgroundColor:"none",color:"#dedede"}}}).add(t.shadowGroup),Q(t.shadowGroup,t.axis),tt(t.shadow,c,d,c,u),t.setOffset(a.pointXOffset||0,a.barW||0);else if(s&&t.shadowGroup){s.animate({x:h,y:f,width:d,height:c});let r=s.attr("fill"),o=r&&r.match(/url\(([^)]+)\)/);o&&i.renderer.patternElements&&i.renderer.patternElements[o[1].slice(1)].animate({x:h,y:f,width:d,height:c}),t.shadowGroup.animate({translateX:i.inverted?t.axis.pos:e.pos,translateY:i.inverted?e.pos:t.axis.pos}),Q(t.shadowGroup,t.axis),tt(s,c,d,c,u),t.setOffset(a.pointXOffset||0,a.barW||0)}}else t.shadow&&t.shadowGroup&&(t.shadow.destroy(),t.shadow=void 0,t.shadowGroup.destroy(),t.shadowGroup=void 0)}function tn(t,e){t.axes&&t.axes.forEach(function(t){t.stacking&&ts(t.stacking.stacks,function(t){ts(t,function(t){e(t)})})})}function tl(t){tn(t,function(t){t.shadow&&t.shadowGroup&&(t.shadow.destroy(),t.shadowGroup.destroy(),delete t.shadow,delete t.shadowGroup)})}to.defaultOptions=ti(Z.defaultOptions,{borderWidth:0}),te(to,"afterRender",function(){let t=this,e=t.options.paths,r=/url\(([^)]+)\)/;t.points.forEach(function(i){if(i.graphic&&i.shapeArgs&&e){let s=e[i.index%e.length],a=i.graphic.attr("fill"),o=a&&a.match(r),{y:h,height:n}=K(t.yAxis,s);if(o&&t.chart.renderer.patternElements){let e=t.chart.renderer.patternElements[o[1].slice(1)];e&&e.animate({x:i.shapeArgs.x,y:h,width:i.shapeArgs.width||0,height:n})}tt(i.graphic,K(t.yAxis,s).height,i.shapeArgs.width||0,i.shapeArgs.height||1/0,t.options.borderWidth||0)}})}),te(B(),"render",function(){tn(this,th)}),te(N(),"afterSetOffset",function(t){if(this.shadow){let{chart:e,len:r}=this.axis,{xOffset:i,width:s}=t,a=e.inverted?i-e.xAxis[0].len:i,o=e.inverted?-r:0;this.shadow.attr({translateX:a,translateY:o}),this.shadow.animate({width:s})}}),te(B(),"afterDrilldown",function(){tl(this)}),te(B(),"afterDrillUp",function(){tl(this)}),to.prototype.pointClass=X,D().registerSeriesType("pictorial",to);let tp=c();return p.default})());
|
package/modules/pictorial.src.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highcharts JS v12.0.
|
|
2
|
+
* @license Highcharts JS v12.0.2 (2024-12-04)
|
|
3
3
|
* @module highcharts/modules/pictorial
|
|
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(
|
|
14
|
+
module.exports = factory(root["_Highcharts"], root["_Highcharts"]["Series"]["types"]["column"], root["_Highcharts"]["Chart"], root["_Highcharts"]["SeriesRegistry"], root["_Highcharts"]["Series"], root["_Highcharts"]["StackItem"], root["_Highcharts"]["SVGRenderer"]);
|
|
15
15
|
else if(typeof define === 'function' && define.amd)
|
|
16
|
-
define("highcharts/pictorial", [
|
|
16
|
+
define("highcharts/modules/pictorial", ["highcharts/highcharts"], function (amd1) {return factory(amd1,amd1["Series"],["types"],["column"],amd1["Chart"],amd1["SeriesRegistry"],amd1["Series"],amd1["StackItem"],amd1["SVGRenderer"]);});
|
|
17
17
|
else if(typeof exports === 'object')
|
|
18
|
-
exports["highcharts/pictorial"] = factory(
|
|
18
|
+
exports["highcharts/modules/pictorial"] = factory(root["_Highcharts"], root["_Highcharts"]["Series"]["types"]["column"], root["_Highcharts"]["Chart"], root["_Highcharts"]["SeriesRegistry"], root["_Highcharts"]["Series"], root["_Highcharts"]["StackItem"], root["_Highcharts"]["SVGRenderer"]);
|
|
19
19
|
else
|
|
20
20
|
root["Highcharts"] = factory(root["Highcharts"], root["Highcharts"]["Series"]["types"]["column"], root["Highcharts"]["Chart"], root["Highcharts"]["SeriesRegistry"], root["Highcharts"]["Series"], root["Highcharts"]["StackItem"], root["Highcharts"]["SVGRenderer"]);
|
|
21
|
-
})(this, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__448__, __WEBPACK_EXTERNAL_MODULE__960__, __WEBPACK_EXTERNAL_MODULE__512__, __WEBPACK_EXTERNAL_MODULE__820__, __WEBPACK_EXTERNAL_MODULE__184__, __WEBPACK_EXTERNAL_MODULE__540__) => {
|
|
21
|
+
})(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__448__, __WEBPACK_EXTERNAL_MODULE__960__, __WEBPACK_EXTERNAL_MODULE__512__, __WEBPACK_EXTERNAL_MODULE__820__, __WEBPACK_EXTERNAL_MODULE__184__, __WEBPACK_EXTERNAL_MODULE__540__) => {
|
|
22
22
|
return /******/ (() => { // webpackBootstrap
|
|
23
23
|
/******/ "use strict";
|
|
24
24
|
/******/ var __webpack_modules__ = ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
!/**
|
|
2
|
-
* Highstock JS v12.0.
|
|
2
|
+
* Highstock JS v12.0.2 (2024-12-04)
|
|
3
3
|
* @module highcharts/modules/pointandfigure
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
* @requires highcharts/modules/stock
|
|
@@ -9,4 +9,4 @@
|
|
|
9
9
|
* (c) 2010-2024 Kamil Musialowski
|
|
10
10
|
*
|
|
11
11
|
* License: www.highcharts.com/license
|
|
12
|
-
*/function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(
|
|
12
|
+
*/function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(e._Highcharts,e._Highcharts.SeriesRegistry,e._Highcharts.RendererRegistry):"function"==typeof define&&define.amd?define("highcharts/modules/pointandfigure",["highcharts/highcharts"],function(e){return t(e,e.SeriesRegistry,e.RendererRegistry)}):"object"==typeof exports?exports["highcharts/modules/pointandfigure"]=t(e._Highcharts,e._Highcharts.SeriesRegistry,e._Highcharts.RendererRegistry):e.Highcharts=t(e.Highcharts,e.Highcharts.SeriesRegistry,e.Highcharts.RendererRegistry)}("undefined"==typeof window?this:window,(e,t,r)=>(()=>{"use strict";var s,o={608:e=>{e.exports=r},512:e=>{e.exports=t},944:t=>{t.exports=e}},i={};function n(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return o[e](r,r.exports,n),r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var a={};n.d(a,{default:()=>w});var h=n(944),l=/*#__PURE__*/n.n(h),p=n(512),u=/*#__PURE__*/n.n(p);let{seriesTypes:{scatter:{prototype:{pointClass:d}}}}=u(),c=class extends d{resolveMarker(){let e=this.series.options;this.marker=this.options.marker=this.upTrend?e.markerUp:e.marker,this.color=this.options.marker.lineColor}resolveColor(){super.resolveColor(),this.resolveMarker()}getClassName(){return super.getClassName.call(this)+(this.upTrend?" highcharts-point-up":" highcharts-point-down")}};var g=n(608),f=/*#__PURE__*/n.n(g);!function(e){let t=[];function r(e,t,r,s){return[["M",e,t],["L",e+r,t+s],["M",e+r,t],["L",e,t+s],["Z"]]}e.compose=function(e){-1===t.indexOf(e)&&(t.push(e),e.prototype.symbols.cross=r);let s=f().getRendererType();t.indexOf(s)&&t.push(s)}}(s||(s={}));let m=s,{composed:y}=l(),{scatter:x,column:{prototype:b}}=u().seriesTypes,{extend:k,merge:C,pushUnique:R,isNumber:v,relativeLength:M}=l();class H extends x{constructor(){super(...arguments),this.allowDG=!1}static compose(e){R(y,"pointandfigure")&&m.compose(e)}init(){super.init.apply(this,arguments),this.pnfDataGroups=[]}getProcessedData(){let e;if(!this.pnfDataGroups)return{modified:this.dataTable.modified,cropped:!1,cropStart:0,closestPointRange:1};let t=this.dataTable.modified,r=this.options,s=this.getColumn("x",!0),o=this.getColumn("y",!0),i=r.boxSize,n=v(i)?i:M(i,o[0]),a=this.pnfDataGroups,h=n*r.reversalAmount;function l(e,t,r){let s=a[a.length-1],o=t?1:-1,i=Math.floor(o*(e-r)/n);for(let e=1;e<=i;e++){let t=r+n*e*o;s.y.push(t)}}if(this.calculatedBoxSize=n,this.isDirtyData||0===a.length){this.pnfDataGroups.length=0;for(let t=0;t<o.length;t++){let r=s[t],i=o[t],h=o[0];if(i-h>=n){e=!0,a.push({x:r,y:[i],upTrend:e});break}if(h-i>=n){e=!1,a.push({x:r,y:[i],upTrend:e});break}}o.forEach((t,r)=>{let o=s[r],i=function(e){let t=e[e.length-1].y;return t[t.length-1]}(a);e&&(t-i>=n&&l(t,e,i),i-t>=h&&(e=!1,a.push({x:o,y:[],upTrend:e}),l(t,e,i))),!e&&(i-t>=n&&l(t,e,i),t-i>=h&&(e=!0,a.push({x:o,y:[],upTrend:e}),l(t,e,i)))})}let p=[],u=[],d=[];return a.forEach(e=>{let t=e.x,r=e.upTrend;e.y.forEach(e=>{u.push(t),d.push(e),p.push({x:t,y:e,upTrend:r})})}),t.setColumn("x",u),t.setColumn("y",d),this.pnfDataGroups=a,this.processedData=p,{modified:t,cropped:!1,cropStart:0,closestPointRange:1}}markerAttribs(e){let t=this.options,r={},s=e.pos();return r.width=this.markerWidth,r.height=this.markerHeight,s&&r.width&&r.height&&(r.x=s[0]-Math.round(r.width)/2,r.y=s[1]-Math.round(r.height)/2),t.crisp&&r.x&&(r.x=Math.floor(r.x)),r}translate(){let e=this.getColumnMetrics(),t=this.calculatedBoxSize;this.markerWidth=e.width+e.paddedWidth+e.offset,this.markerHeight=this.yAxis.toPixels(0)-this.yAxis.toPixels(t),super.translate()}}H.defaultOptions=C(x.defaultOptions,{boxSize:"1%",reversalAmount:3,tooltip:{pointFormat:'<span style="color:{point.color}">●</span> <b> {series.name}</b><br/>Close: {point.y:.2f}<br/>',headerFormat:""},turboThreshold:0,groupPadding:.2,pointPadding:.1,pointRange:null,dataGrouping:{enabled:!1},markerUp:{symbol:"cross",lineColor:"#00FF00",lineWidth:2},marker:{symbol:"circle",fillColor:"transparent",lineColor:"#FF0000",lineWidth:2},legendSymbol:"lineMarker"}),k(H.prototype,{takeOrdinalPosition:!0,pnfDataGroups:[],getColumnMetrics:b.getColumnMetrics,pointClass:c,sorted:!0}),u().registerSeriesType("pointandfigure",H);let S=l();H.compose(S.Renderer);let w=l();return a.default})());
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highstock JS v12.0.
|
|
2
|
+
* @license Highstock JS v12.0.2 (2024-12-04)
|
|
3
3
|
* @module highcharts/modules/pointandfigure
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
* @requires highcharts/modules/stock
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
*/
|
|
13
13
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
14
14
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
15
|
-
module.exports = factory(
|
|
15
|
+
module.exports = factory(root["_Highcharts"], root["_Highcharts"]["SeriesRegistry"], root["_Highcharts"]["RendererRegistry"]);
|
|
16
16
|
else if(typeof define === 'function' && define.amd)
|
|
17
|
-
define("highcharts/pointandfigure", [
|
|
17
|
+
define("highcharts/modules/pointandfigure", ["highcharts/highcharts"], function (amd1) {return factory(amd1,amd1["SeriesRegistry"],amd1["RendererRegistry"]);});
|
|
18
18
|
else if(typeof exports === 'object')
|
|
19
|
-
exports["highcharts/pointandfigure"] = factory(
|
|
19
|
+
exports["highcharts/modules/pointandfigure"] = factory(root["_Highcharts"], root["_Highcharts"]["SeriesRegistry"], root["_Highcharts"]["RendererRegistry"]);
|
|
20
20
|
else
|
|
21
21
|
root["Highcharts"] = factory(root["Highcharts"], root["Highcharts"]["SeriesRegistry"], root["Highcharts"]["RendererRegistry"]);
|
|
22
|
-
})(this, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__512__, __WEBPACK_EXTERNAL_MODULE__608__) => {
|
|
22
|
+
})(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__512__, __WEBPACK_EXTERNAL_MODULE__608__) => {
|
|
23
23
|
return /******/ (() => { // webpackBootstrap
|
|
24
24
|
/******/ "use strict";
|
|
25
25
|
/******/ var __webpack_modules__ = ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
!/**
|
|
2
|
-
* Highstock JS v12.0.
|
|
2
|
+
* Highstock JS v12.0.2 (2024-12-04)
|
|
3
3
|
* @module highcharts/modules/price-indicator
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
* @requires highcharts/modules/stock
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
* Author: Torstein Honsi
|
|
11
11
|
*
|
|
12
12
|
* License: www.highcharts.com/license
|
|
13
|
-
*/function(s,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(
|
|
13
|
+
*/function(s,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(s._Highcharts):"function"==typeof define&&define.amd?define("highcharts/modules/price-indicator",["highcharts/highcharts"],function(s){return e(s)}):"object"==typeof exports?exports["highcharts/modules/price-indicator"]=e(s._Highcharts):s.Highcharts=e(s.Highcharts)}("undefined"==typeof window?this:window,s=>(()=>{"use strict";var e={944:e=>{e.exports=s}},i={};function t(s){var r=i[s];if(void 0!==r)return r.exports;var o=i[s]={exports:{}};return e[s](o,o.exports,t),o.exports}t.n=s=>{var e=s&&s.__esModule?()=>s.default:()=>s;return t.d(e,{a:e}),e},t.d=(s,e)=>{for(var i in e)t.o(e,i)&&!t.o(s,i)&&Object.defineProperty(s,i,{enumerable:!0,get:e[i]})},t.o=(s,e)=>Object.prototype.hasOwnProperty.call(s,e);var r={};t.d(r,{default:()=>p});var o=t(944),a=/*#__PURE__*/t.n(o);let{composed:c}=a(),{addEvent:l,merge:h,pushUnique:n}=a();function d(){let s=this.options,e=s.lastVisiblePrice,i=s.lastPrice;if((e||i)&&"highcharts-navigator-series"!==s.id){let t=this.xAxis,r=this.yAxis,o=r.crosshair,a=r.cross,c=r.crossLabel,l=this.points,n=l.length,d=this.dataTable.rowCount,p=this.getColumn("x")[d-1],b=this.getColumn("y")[d-1]??this.getColumn("close")[d-1];if(i&&i.enabled&&(r.crosshair=r.options.crosshair=s.lastPrice,!this.chart.styledMode&&r.crosshair&&r.options.crosshair&&s.lastPrice&&(r.crosshair.color=r.options.crosshair.color=s.lastPrice.color||this.color),r.cross=this.lastPrice,this.lastPriceLabel&&this.lastPriceLabel.destroy(),delete r.crossLabel,r.drawCrosshair(null,{x:p,y:b,plotX:t.toPixels(p,!0),plotY:r.toPixels(b,!0)}),this.yAxis.cross&&(this.lastPrice=this.yAxis.cross,this.lastPrice.addClass("highcharts-color-"+this.colorIndex),this.lastPrice.y=b),this.lastPriceLabel=r.crossLabel),e&&e.enabled&&n>0){r.crosshair=r.options.crosshair=h({color:"transparent"},s.lastVisiblePrice),r.cross=this.lastVisiblePrice;let e=l[n-1].isInside?l[n-1]:l[n-2];this.lastVisiblePriceLabel&&this.lastVisiblePriceLabel.destroy(),delete r.crossLabel,r.drawCrosshair(null,e),r.cross&&(this.lastVisiblePrice=r.cross,e&&"number"==typeof e.y&&(this.lastVisiblePrice.y=e.y)),this.lastVisiblePriceLabel=r.crossLabel}r.crosshair=r.options.crosshair=o,r.cross=a,r.crossLabel=c}}({compose:function(s){n(c,"PriceIndication")&&l(s,"afterRender",d)}}).compose(a().Series);let p=a();return r.default})());
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highstock JS v12.0.
|
|
2
|
+
* @license Highstock JS v12.0.2 (2024-12-04)
|
|
3
3
|
* @module highcharts/modules/price-indicator
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
* @requires highcharts/modules/stock
|
|
@@ -13,14 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
15
15
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
16
|
-
module.exports = factory(
|
|
16
|
+
module.exports = factory(root["_Highcharts"]);
|
|
17
17
|
else if(typeof define === 'function' && define.amd)
|
|
18
|
-
define("highcharts/price-indicator", [
|
|
18
|
+
define("highcharts/modules/price-indicator", ["highcharts/highcharts"], function (amd1) {return factory(amd1);});
|
|
19
19
|
else if(typeof exports === 'object')
|
|
20
|
-
exports["highcharts/price-indicator"] = factory(
|
|
20
|
+
exports["highcharts/modules/price-indicator"] = factory(root["_Highcharts"]);
|
|
21
21
|
else
|
|
22
22
|
root["Highcharts"] = factory(root["Highcharts"]);
|
|
23
|
-
})(this, (__WEBPACK_EXTERNAL_MODULE__944__) => {
|
|
23
|
+
})(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__944__) => {
|
|
24
24
|
return /******/ (() => { // webpackBootstrap
|
|
25
25
|
/******/ "use strict";
|
|
26
26
|
/******/ var __webpack_modules__ = ({
|
package/modules/pyramid3d.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
!/**
|
|
2
|
-
* Highcharts JS v12.0.
|
|
2
|
+
* Highcharts JS v12.0.2 (2024-12-04)
|
|
3
3
|
* @module highcharts/modules/pyramid3d
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
* @requires highcharts/highcharts-3d
|
|
@@ -11,4 +11,4 @@
|
|
|
11
11
|
* (c) 2010-2024 Kacper Madej
|
|
12
12
|
*
|
|
13
13
|
* License: www.highcharts.com/license
|
|
14
|
-
*/function(e,
|
|
14
|
+
*/function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(e._Highcharts,e._Highcharts.SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/modules/pyramid3d",["highcharts/highcharts"],function(e){return t(e,e.SeriesRegistry)}):"object"==typeof exports?exports["highcharts/modules/pyramid3d"]=t(e._Highcharts,e._Highcharts.SeriesRegistry):e.Highcharts=t(e.Highcharts,e.Highcharts.SeriesRegistry)}("undefined"==typeof window?this:window,(e,t)=>(()=>{"use strict";var r={512:e=>{e.exports=t},944:t=>{t.exports=e}},s={};function i(e){var t=s[e];if(void 0!==t)return t.exports;var o=s[e]={exports:{}};return r[e](o,o.exports,i),o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o={};i.d(o,{default:()=>f});var a=i(944),n=/*#__PURE__*/i.n(a),d=i(512),h=/*#__PURE__*/i.n(d);let{funnel3d:p}=h().seriesTypes,{merge:c}=n();class u extends p{}u.defaultOptions=c(p.defaultOptions,{reversed:!0,neckHeight:0,neckWidth:0,dataLabels:{verticalAlign:"top"}}),h().registerSeriesType("pyramid3d",u);let f=n();return o.default})());
|