/* Highcharts JS v9.3.1 (2021-11-05) 3D features for Highcharts JS License: www.highcharts.com/license */ 'use strict';(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/highcharts-3d",["highcharts"],function(E){a(E);a.Highcharts=E;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function E(a,w,t,D){a.hasOwnProperty(w)||(a[w]=D.apply(null,t))}a=a?a._modules:{};E(a,"Extensions/Math3D.js",[a["Core/Globals.js"],a["Core/Utilities.js"]],function(a,w){function t(d,c,b){c=0g&&y-g>Math.PI/2+.0001?(c=c.concat(this.curveTo(b,e,h,r,g,g+Math.PI/2,I,d)),c=c.concat(this.curveTo(b,e,h,r,g+Math.PI/2,y,I,d))):yMath.PI/2+.0001?(c=c.concat(this.curveTo(b, e,h,r,g,g-Math.PI/2,I,d)),c=c.concat(this.curveTo(b,e,h,r,g-Math.PI/2,y,I,d))):[["C",b+h*Math.cos(g)-h*B*a*Math.sin(g)+I,e+r*Math.sin(g)+r*B*a*Math.cos(g)+d,b+h*Math.cos(y)+h*B*a*Math.sin(y)+I,e+r*Math.sin(y)-r*B*a*Math.cos(y)+d,b+h*Math.cos(y)+I,e+r*Math.sin(y)+d]]};m.prototype.toLinePath=function(b,e){var h=[];b.forEach(function(b){h.push(["L",b.x,b.y])});b.length&&(h[0][0]="M",e&&h.push(["Z"]));return h};m.prototype.toLineSegments=function(b){var e=[],h=!0;b.forEach(function(b){e.push(h?["M",b.x, b.y]:["L",b.x,b.y]);h=!h});return e};m.prototype.face3d=function(d){var c=this,h=this.createElement("path");h.vertexes=[];h.insidePlotArea=!1;h.enabled=!0;h.attr=function(h){if("object"===typeof h&&(e(h.enabled)||e(h.vertexes)||e(h.insidePlotArea))){this.enabled=q(h.enabled,this.enabled);this.vertexes=q(h.vertexes,this.vertexes);this.insidePlotArea=q(h.insidePlotArea,this.insidePlotArea);delete h.enabled;delete h.vertexes;delete h.insidePlotArea;var g=k(this.vertexes,b[c.chartIndex],this.insidePlotArea), y=c.toLinePath(g,!0);g=A(g);h.d=y;h.visibility=this.enabled&&0b.faces.length;)h.faces.pop().destroy();for(;h.faces.length< b.faces.length;)h.faces.push(d.face3d().add(h));for(var g=0;gb.faces.length;)h.faces.pop().destroy();for(;h.faces.lengthb?{x:m[b].x,y:m[b].y+10,z:m[b].z}:m[0].x===m[7].x&&4<=b?{x:m[b].x+10,y:m[b].y,z:m[b].z}:0===n&&2>b||5A(r)?y=[r,0]:0>A(c)?y=[c,1]:e&&(C.push(e),y=0>A(b)?[r,0]:0>A(g)?[c,1]:[r,0]);return y};var p=J([3,2,1,0],[7,6,5,4],"front");e=p[0];var G=p[1];p=J([1,6,7,0],[4,5,2,3],"top");a=p[0];var l=p[1]; p=J([1,2,5,6],[0,7,4,3],"side");J=p[0];p=p[1];1===p?u+=1E6*(f.plotWidth-r):p||(u+=1E6*r);u+=10*(!l||0<=q&&180>=q||360>q&&357.5Math.PI&&(b=2*Math.PI-b);return b}var h=b.x||0,r=b.y||0,g=b.start||0,c=(b.end||0)-.00001,d=b.r||0,a=b.innerR||0,n=b.depth||0,f=b.alpha|| 0,q=b.beta||0,u=Math.cos(g),p=Math.sin(g);b=Math.cos(c);var k=Math.sin(c),l=d*Math.cos(q);d*=Math.cos(f);var A=a*Math.cos(q),v=a*Math.cos(f);a=n*Math.sin(q);var B=n*Math.sin(f);n=[["M",h+l*u,r+d*p]];n=n.concat(m.curveTo(h,r,l,d,g,c,0,0));n.push(["L",h+A*b,r+v*k]);n=n.concat(m.curveTo(h,r,A,v,c,g,0,0));n.push(["Z"]);var z=0-z?g:c>-z?-z:g;var t=cx&&gH-q&&gb?-1:0},u=f([{x:d,y:q,z:n},{x:a,y:q,z:n},{x:a,y:q,z:0},{x:d,y:q,z:0}]),m=f([{x:d,y:h,z:0},{x:a,y:h,z:0},{x:a,y:h,z:n},{x:d,y:h,z:n}]),k=f([{x:d,y:h,z:0},{x:d,y:h,z:n},{x:d, y:q,z:n},{x:d,y:q,z:0}]),p=f([{x:a,y:h,z:n},{x:a,y:h,z:0},{x:a,y:q,z:0},{x:a,y:q,z:n}]),l=f([{x:d,y:q,z:0},{x:a,y:q,z:0},{x:a,y:h,z:0},{x:d,y:h,z:0}]);f=f([{x:d,y:h,z:n},{x:a,y:h,z:n},{x:a,y:q,z:n},{x:d,y:q,z:n}]);var C=!1,G=!1,B=!1,A=!1;[].concat(e.xAxis,e.yAxis,e.zAxis).forEach(function(b){b&&(b.horiz?b.opposite?G=!0:C=!0:b.opposite?A=!0:B=!0)});var t=function(e,c,d){for(var g=["size","color","visible"],a={},q=0;qd*g[a][c]?a= q:d*g[q][c]===d*g[a][c]&&g[q].zf&&(k=Math.min(k,1-Math.abs((c+h)/(f+h))%1)); dm&&(k=0>m?Math.min(k,(a+n)/(-m+a+n)):Math.min(k,1-(a+n)/(m+n)%1));qthis.pos&&(d(this.start)||d(this.end))){var b=this.start||[1,0,0,1,0,0],e=this.end||[1,0,0,1,0,0];var c=[];for(var a=0;6>a;a++)c.push(this.pos*e[a]+(1-this.pos)*b[a])}else c=this.end;this.elem.attr(this.prop,c,null,!0)};c(!0,x,a.defaultOptions);l(b,"init",B);l(b,"addSeries",e);l(b,"afterDrawChartBox",n);l(b,"afterGetContainer",u); l(b,"afterInit",q);l(b,"afterSetChartSize",k);l(b,"beforeRedraw",C);l(b,"beforeRender",A);p(g,"isInsidePlot",m);p(b,"renderSeries",t);p(b,"setClassName",w)}})(k||(k={}));"";return k});E(a,"Core/Axis/ZAxis.js",[a["Core/Axis/Axis.js"],a["Core/Utilities.js"]],function(a,w){var t=this&&this.__extends||function(){var a=function(c,b){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,c){b.__proto__=c}||function(b,c){for(var a in c)c.hasOwnProperty(a)&&(b[a]=c[a])};return a(c,b)};return function(c, b){function d(){this.constructor=c}a(c,b);c.prototype=null===b?Object.create(b):(d.prototype=b.prototype,new d)}}(),F=w.addEvent,f=w.merge,z=w.pick,v=w.splat,x=function(){function a(){}a.compose=function(c){F(c,"afterGetAxes",a.onAfterGetAxes);c=c.prototype;c.addZAxis=a.wrapAddZAxis;c.collectionsWithInit.zAxis=[c.addZAxis];c.collectionsWithUpdate.push("zAxis")};a.onAfterGetAxes=function(){var c=this,b=this.options;b=b.zAxis=v(b.zAxis||{});c.is3d()&&(c.zAxis=[],b.forEach(function(b,a){b.index=a;b.isX= !0;c.addZAxis(b).setScale()}))};a.wrapAddZAxis=function(c){return new l(this,c)};return a}(),l=function(a){function c(b,c){b=a.call(this,b,c)||this;b.isZAxis=!0;return b}t(c,a);c.prototype.getSeriesExtremes=function(){var b=this,c=b.chart;b.hasVisibleSeries=!1;b.dataMin=b.dataMax=b.ignoreMinPadding=b.ignoreMaxPadding=void 0;b.stacking&&b.stacking.buildStacks();b.series.forEach(function(a){if(a.visible||!c.options.chart.ignoreHiddenSeries)b.hasVisibleSeries=!0,a=a.zData,a.length&&(b.dataMin=Math.min(z(b.dataMin, a[0]),Math.min.apply(null,a)),b.dataMax=Math.max(z(b.dataMax,a[0]),Math.max.apply(null,a)))})};c.prototype.setAxisSize=function(){var b=this.chart;a.prototype.setAxisSize.call(this);this.width=this.len=b.options.chart.options3d&&b.options.chart.options3d.depth||0;this.right=b.chartWidth-this.width-this.left};c.prototype.setOptions=function(b){b=f({offset:0,lineWidth:0},b);this.isZAxis=!0;a.prototype.setOptions.call(this,b);this.coll="zAxis"};c.ZChartComposition=x;return c}(a);return l});E(a,"Core/Axis/Tick3D.js", [a["Core/Utilities.js"]],function(a){var w=a.addEvent,t=a.extend,F=a.wrap;return function(){function a(){}a.compose=function(f){w(f,"afterGetLabelPosition",a.onAfterGetLabelPosition);F(f.prototype,"getMarkPath",a.wrapGetMarkPath)};a.onAfterGetLabelPosition=function(a){var f=this.axis.axis3D;f&&t(a.pos,f.fix3dPosition(a.pos))};a.wrapGetMarkPath=function(a){var f=this.axis.axis3D,t=a.apply(this,[].slice.call(arguments,1));if(f){var l=t[0],d=t[1];if("M"===l[0]&&"L"===d[0])return f=[f.fix3dPosition({x:l[1], y:l[2],z:0}),f.fix3dPosition({x:d[1],y:d[2],z:0})],this.axis.chart.renderer.toLineSegments(f)}return t};return a}()});E(a,"Core/Axis/Axis3D.js",[a["Core/Globals.js"],a["Extensions/Math3D.js"],a["Core/Axis/Tick.js"],a["Core/Axis/Tick3D.js"],a["Core/Utilities.js"]],function(a,w,t,D,f){var z=a.deg2rad,v=w.perspective,x=w.perspective3D,l=w.shapeArea,d=f.addEvent,c=f.merge,b=f.pick,p=f.wrap,k=function(){function c(b){this.axis=b}c.prototype.fix3dPosition=function(e,c){var a=this.axis,d=a.chart;if("colorAxis"=== a.coll||!d.chart3d||!d.is3d())return e;var n=z*d.options.chart.options3d.alpha,f=z*d.options.chart.options3d.beta,p=b(c&&a.options.title.position3d,a.options.labels.position3d);c=b(c&&a.options.title.skew3d,a.options.labels.skew3d);var k=d.chart3d.frame3d,m=d.plotLeft,t=d.plotWidth+m,A=d.plotTop,x=d.plotHeight+A,h=d=0,r={x:0,y:1,z:0},g=!1;e=a.axis3D.swapZ({x:e.x,y:e.y,z:0});if(a.isZAxis)if(a.opposite){if(null===k.axes.z.top)return{};h=e.y-A;e.x=k.axes.z.top.x;e.y=k.axes.z.top.y;m=k.axes.z.top.xDir; g=!k.top.frontFacing}else{if(null===k.axes.z.bottom)return{};h=e.y-x;e.x=k.axes.z.bottom.x;e.y=k.axes.z.bottom.y;m=k.axes.z.bottom.xDir;g=!k.bottom.frontFacing}else if(a.horiz)if(a.opposite){if(null===k.axes.x.top)return{};h=e.y-A;e.y=k.axes.x.top.y;e.z=k.axes.x.top.z;m=k.axes.x.top.xDir;g=!k.top.frontFacing}else{if(null===k.axes.x.bottom)return{};h=e.y-x;e.y=k.axes.x.bottom.y;e.z=k.axes.x.bottom.z;m=k.axes.x.bottom.xDir;g=!k.bottom.frontFacing}else if(a.opposite){if(null===k.axes.y.right)return{}; d=e.x-t;e.x=k.axes.y.right.x;e.z=k.axes.y.right.z;m=k.axes.y.right.xDir;m={x:m.z,y:m.y,z:-m.x}}else{if(null===k.axes.y.left)return{};d=e.x-m;e.x=k.axes.y.left.x;e.z=k.axes.y.left.z;m=k.axes.y.left.xDir}"chart"!==p&&("flap"===p?a.horiz?(f=Math.sin(n),n=Math.cos(n),a.opposite&&(f=-f),g&&(f=-f),r={x:m.z*f,y:n,z:-m.x*f}):m={x:Math.cos(f),y:0,z:Math.sin(f)}:"ortho"===p?a.horiz?(r=Math.cos(n),p=Math.sin(f)*r,n=-Math.sin(n),f=-r*Math.cos(f),r={x:m.y*f-m.z*n,y:m.z*p-m.x*f,z:m.x*n-m.y*p},n=1/Math.sqrt(r.x* r.x+r.y*r.y+r.z*r.z),g&&(n=-n),r={x:n*r.x,y:n*r.y,z:n*r.z}):m={x:Math.cos(f),y:0,z:Math.sin(f)}:a.horiz?r={x:Math.sin(f)*Math.sin(n),y:Math.cos(n),z:-Math.cos(f)*Math.sin(n)}:m={x:Math.cos(f),y:0,z:Math.sin(f)});e.x+=d*m.x+h*r.x;e.y+=d*m.y+h*r.y;e.z+=d*m.z+h*r.z;d=v([e],a.chart)[0];c&&(0>l(v([e,{x:e.x+m.x,y:e.y+m.y,z:e.z+m.z},{x:e.x+r.x,y:e.y+r.y,z:e.z+r.z}],a.chart))&&(m={x:-m.x,y:-m.y,z:-m.z}),e=v([{x:e.x,y:e.y,z:e.z},{x:e.x+m.x,y:e.y+m.y,z:e.z+m.z},{x:e.x+r.x,y:e.y+r.y,z:e.z+r.z}],a.chart),d.matrix= [e[1].x-e[0].x,e[1].y-e[0].y,e[2].x-e[0].x,e[2].y-e[0].y,d.x,d.y],d.matrix[4]-=d.x*d.matrix[0]+d.y*d.matrix[2],d.matrix[5]-=d.x*d.matrix[1]+d.y*d.matrix[3]);return d};c.prototype.swapZ=function(b,a){var e=this.axis;return e.isZAxis?(a=a?0:e.chart.plotLeft,{x:a+b.z,y:b.y,z:b.x-a}):b};return c}();return function(){function a(){}a.compose=function(b){c(!0,b.defaultOptions,a.defaultOptions);b.keepProps.push("axis3D");d(b,"init",a.onInit);d(b,"afterSetOptions",a.onAfterSetOptions);d(b,"drawCrosshair", a.onDrawCrosshair);b=b.prototype;p(b,"getLinePath",a.wrapGetLinePath);p(b,"getPlotBandPath",a.wrapGetPlotBandPath);p(b,"getPlotLinePath",a.wrapGetPlotLinePath);p(b,"getSlotWidth",a.wrapGetSlotWidth);p(b,"getTitlePosition",a.wrapGetTitlePosition);D.compose(t)};a.onAfterSetOptions=function(){var a=this.chart,c=this.options;a.is3d&&a.is3d()&&"colorAxis"!==this.coll&&(c.tickWidth=b(c.tickWidth,0),c.gridLineWidth=b(c.gridLineWidth,1))};a.onDrawCrosshair=function(b){this.chart.is3d()&&"colorAxis"!==this.coll&& b.point&&(b.point.crosshairPos=this.isXAxis?b.point.axisXpos:this.len-b.point.axisYpos)};a.onInit=function(){this.axis3D||(this.axis3D=new k(this))};a.wrapGetLinePath=function(b){return this.chart.is3d()&&"colorAxis"!==this.coll?[]:b.apply(this,[].slice.call(arguments,1))};a.wrapGetPlotBandPath=function(b){if(!this.chart.is3d()||"colorAxis"===this.coll)return b.apply(this,[].slice.call(arguments,1));var a=arguments,c=a[2],e=[];a=this.getPlotLinePath({value:a[1]});c=this.getPlotLinePath({value:c}); if(a&&c)for(var d=0;d=c.min&&u<=c.max:!1}else b.plotZ=this.zPadding;b.axisXpos=b.plotX;b.axisYpos=b.plotY;b.axisZpos=b.plotZ;d.push({x:b.plotX,y:b.plotY,z:b.plotZ});n.push(b.plotX||0)}this.rawPointsX=n;a=f(d,a,!0);for(e=0;eq&&(e[a[1]]+=e[a[0]]+p,e[a[0]]=-p,q=0);q+e[a[1]]>b[a[0]+"Axis"].len&&0!==e[a[1]]&&(e[a[1]]=b[a[0]+"Axis"].len-e[a[0]]);if(0!==e[a[1]]&&(e[a[0]]>=b[a[0]+"Axis"].len||e[a[0]]+e[a[1]]<=p)){for(var d in e)e[d]="y"===d?-9999:0;c.outside3dPlot=!0}});"rect"===c.shapeType&& (c.shapeType="cuboid");e.z=f;e.depth=d;e.insidePlotArea=!0;l={x:e.x+e.width/2,y:e.y,z:f+d/2};a.inverted&&(l.x=e.height,l.y=c.clientX);c.plot3d=k([l],a,!0,!1)[0];n=k([{x:n[0],y:n[1],z:f+d/2}],a,!0,!1)[0];c.tooltipPos=[n.x,n.y]}});b.z=f};v(b,"animate",function(b){if(this.chart.is3d()){var a=arguments[1],c=this.yAxis,e=this,d=this.yAxis.reversed;p&&(a?e.data.forEach(function(b){null!==b.y&&(b.height=b.shapeArgs.height,b.shapey=b.shapeArgs.y,b.shapeArgs.height=1,d||(b.shapeArgs.y=b.stackY?b.plotY+c.translate(b.stackY): b.plotY+(b.negative?-b.height:b.height)))}):(e.data.forEach(function(b){if(null!==b.y&&(b.shapeArgs.height=b.height,b.shapeArgs.y=b.shapey,b.graphic))b.graphic[b.outside3dPlot?"attr":"animate"](b.shapeArgs,e.options.animation)}),this.drawDataLabels()))}else b.apply(this,[].slice.call(arguments,1))});v(b,"plotGroup",function(b,a,c,d,f,k){"dataLabelsGroup"!==a&&this.chart.is3d()&&(this[a]&&delete this[a],k&&(this.chart.columnGroup||(this.chart.columnGroup=this.chart.renderer.g("columnGroup").add(k)), this[a]=this.chart.columnGroup,this.chart.columnGroup.attr(this.getPlotBox()),this[a].survive=!0,"group"===a||"markerGroup"===a))&&(arguments[3]="visible");return b.apply(this,Array.prototype.slice.call(arguments,1))});v(b,"setVisible",function(b,a){var c=this;c.chart.is3d()&&c.data.forEach(function(b){b.visible=b.options.visible=a="undefined"===typeof a?!A(c.visible,b.visible):a;c.options.data[c.data.indexOf(b)]=b.options;b.graphic&&b.graphic.attr({visibility:a?"visible":"hidden"})});b.apply(this, Array.prototype.slice.call(arguments,1))});w(a,"afterInit",function(){if(this.chart.is3d()){var b=this.options,a=b.grouping,c=b.stacking,d=this.yAxis.options.reversedStacks,f=0;if("undefined"===typeof a||a){a=x(this.chart,c);f=b.stack||0;for(c=0;c=m.alpha&&(p.y+=a.shapeArgs.width));p=k([p],e,!0,!1)[0];f.x=p.x-q;f.y=a.outside3dPlot?-9E9:p.y}b.apply(this,[].slice.call(arguments,1))});v(z.prototype,"getStackBox",function(b,a,c,d,p,l,t,v){var e=b.apply(this,[].slice.call(arguments,1));if(a.is3d()&&c.base){var q=+c.base.split(",")[0],n=a.series[q];q=a.options.chart.options3d;n&&n instanceof f.seriesTypes.column&&(n={x:e.x+(a.inverted?t:l/2),y:e.y,z:n.options.depth/2},a.inverted&&(e.width=0,90<=q.alpha&& 270>=q.alpha&&(n.y+=l)),n=k([n],a,!0,!1)[0],e.x=n.x-l/2,e.y=n.y)}return e});"";return a});E(a,"Series/Pie3D/Pie3DPoint.js",[a["Core/Series/SeriesRegistry.js"]],function(a){var w=this&&this.__extends||function(){var a=function(f,t){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,f){a.__proto__=f}||function(a,f){for(var l in f)f.hasOwnProperty(l)&&(a[l]=f[l])};return a(f,t)};return function(f,t){function v(){this.constructor=f}a(f,t);f.prototype=null===t?Object.create(t):(v.prototype= t.prototype,new v)}}();a=a.seriesTypes.pie.prototype.pointClass;var t=a.prototype.haloPath;return function(a){function f(){var f=null!==a&&a.apply(this,arguments)||this;f.series=void 0;return f}w(f,a);f.prototype.haloPath=function(){return this.series.chart.is3d()?[]:t.apply(this,arguments)};return f}(a)});E(a,"Series/Pie3D/Pie3DSeries.js",[a["Core/Globals.js"],a["Series/Pie3D/Pie3DPoint.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,w,t,D){var f=this&&this.__extends|| function(){var a=function(d,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,a){b.__proto__=a}||function(b,a){for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c])};return a(d,c)};return function(d,c){function b(){this.constructor=d}a(d,c);d.prototype=null===c?Object.create(c):(b.prototype=c.prototype,new b)}}(),z=a.deg2rad,v=a.svg;a=D.extend;var x=D.pick;t=function(a){function d(){return null!==a&&a.apply(this,arguments)||this}f(d,a);d.prototype.addPoint=function(){a.prototype.addPoint.apply(this, arguments);this.chart.is3d()&&this.update(this.userOptions,!0)};d.prototype.animate=function(c){if(this.chart.is3d()){var b=this.options.animation;var d=this.center;var f=this.group,l=this.markerGroup;v&&(!0===b&&(b={}),c?(f.oldtranslateX=x(f.oldtranslateX,f.translateX),f.oldtranslateY=x(f.oldtranslateY,f.translateY),d={translateX:d[0],translateY:d[1],scaleX:.001,scaleY:.001},f.attr(d),l&&(l.attrSetters=f.attrSetters,l.attr(d))):(d={translateX:f.oldtranslateX,translateY:f.oldtranslateY,scaleX:1,scaleY:1}, f.animate(d,b),l&&l.animate(d,b)))}else a.prototype.animate.apply(this,arguments)};d.prototype.drawDataLabels=function(){if(this.chart.is3d()){var c=this.chart.options.chart.options3d;this.data.forEach(function(b){var a=b.shapeArgs,d=a.r,f=(a.start+a.end)/2;b=b.labelPosition;var e=b.connectorPosition,l=-d*(1-Math.cos((a.alpha||c.alpha)*z))*Math.sin(f),t=d*(Math.cos((a.beta||c.beta)*z)-1)*Math.cos(f);[b.natural,e.breakAt,e.touchingSliceAt].forEach(function(b){b.x+=t;b.y+=l})})}a.prototype.drawDataLabels.apply(this, arguments)};d.prototype.pointAttribs=function(c){var b=a.prototype.pointAttribs.apply(this,arguments),d=this.options;this.chart.is3d()&&!this.chart.styledMode&&(b.stroke=d.edgeColor||c.color||this.color,b["stroke-width"]=x(d.edgeWidth,1));return b};d.prototype.translate=function(){a.prototype.translate.apply(this,arguments);if(this.chart.is3d()){var c=this,b=c.options,d=b.depth||0,f=c.chart.options.chart.options3d,l=f.alpha,e=f.beta,n=b.stacking?(b.stack||0)*d:c._i*d;n+=d/2;!1!==b.grouping&&(n=0); c.data.forEach(function(a){var f=a.shapeArgs;a.shapeType="arc3d";f.z=n;f.depth=.75*d;f.alpha=l;f.beta=e;f.center=c.center;f=(f.end+f.start)/2;a.slicedTranslation={translateX:Math.round(Math.cos(f)*b.slicedOffset*Math.cos(l*z)),translateY:Math.round(Math.sin(f)*b.slicedOffset*Math.cos(l*z))}})}};return d}(t.seriesTypes.pie);a(t.prototype,{pointClass:w});"";return t});E(a,"Series/Pie3D/Pie3DComposition.js",[a["Series/Pie3D/Pie3DPoint.js"],a["Series/Pie3D/Pie3DSeries.js"],a["Core/Series/SeriesRegistry.js"]], function(a,w,t){t.seriesTypes.pie.prototype.pointClass.prototype.haloPath=a.prototype.haloPath;t.seriesTypes.pie=w});E(a,"Series/Scatter3D/Scatter3DPoint.js",[a["Series/Scatter/ScatterSeries.js"],a["Core/Utilities.js"]],function(a,w){var t=this&&this.__extends||function(){var a=function(f,t){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,f){a.__proto__=f}||function(a,f){for(var d in f)f.hasOwnProperty(d)&&(a[d]=f[d])};return a(f,t)};return function(f,t){function v(){this.constructor= f}a(f,t);f.prototype=null===t?Object.create(t):(v.prototype=t.prototype,new v)}}(),F=w.defined;return function(a){function f(){var f=null!==a&&a.apply(this,arguments)||this;f.options=void 0;f.series=void 0;return f}t(f,a);f.prototype.applyOptions=function(){a.prototype.applyOptions.apply(this,arguments);F(this.z)||(this.z=0);return this};return f}(a.prototype.pointClass)});E(a,"Series/Scatter3D/Scatter3DSeries.js",[a["Extensions/Math3D.js"],a["Series/Scatter3D/Scatter3DPoint.js"],a["Series/Scatter/ScatterSeries.js"], a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,w,t,D,f){var z=this&&this.__extends||function(){var a=function(d,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return a(d,c)};return function(d,c){function b(){this.constructor=d}a(d,c);d.prototype=null===c?Object.create(c):(b.prototype=c.prototype,new b)}}(),v=a.pointCameraDistance;a=f.extend;var x=f.merge;f=function(a){function d(){var c= null!==a&&a.apply(this,arguments)||this;c.data=void 0;c.options=void 0;c.points=void 0;return c}z(d,a);d.prototype.pointAttribs=function(c){var b=a.prototype.pointAttribs.apply(this,arguments);this.chart.is3d()&&c&&(b.zIndex=v(c,this.chart));return b};d.defaultOptions=x(t.defaultOptions,{tooltip:{pointFormat:"x: {point.x}
y: {point.y}
z: {point.z}
"}});return d}(t);a(f.prototype,{axisTypes:["xAxis","yAxis","zAxis"],directTouch:!0,parallelArrays:["x","y","z"],pointArrayMap:["x", "y","z"],pointClass:w});D.registerSeriesType("scatter3d",f);"";return f});E(a,"Series/Area3DSeries.js",[a["Extensions/Math3D.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,w,t){var F=a.perspective;a=w.seriesTypes;var f=a.line,z=t.pick;t=t.wrap;t(a.area.prototype,"getGraphPath",function(a){var t=a.apply(this,[].slice.call(arguments,1));if(!this.chart.is3d())return t;var l=f.prototype.getGraphPath,d=this.options;var c=[];var b=[],p=z(d.connectNulls,"percent"===d.stacking), k=Math.round(this.yAxis.getThreshold(d.threshold));if(this.rawPointsX)for(var v=0;vd.beta?d.depth- Math.round(this.zPadding||0):Math.round(this.zPadding||0))}));c.reversed=!0;c=l.call(this,c,!0,!0);c[0]&&"M"===c[0][0]&&(c[0]=["L",c[0][1],c[0][2]]);this.areaPath&&(c=this.areaPath.splice(0,this.areaPath.length/2).concat(c),c.xMap=this.areaPath.xMap,this.areaPath=c,l.call(this,b,!1,p));return t})});E(a,"masters/highcharts-3d.src.js",[a["Core/Globals.js"],a["Core/Renderer/SVG/SVGRenderer3D.js"],a["Core/Chart/Chart3D.js"],a["Core/Axis/ZAxis.js"],a["Core/Axis/Axis3D.js"]],function(a,w,t,D,f){w.compose(a.SVGRenderer); t.compose(a.Chart,a.Fx);D.ZChartComposition.compose(a.Chart);f.compose(a.Axis)})}); //# sourceMappingURL=highcharts-3d.js.map