/* Highcharts JS v9.1.0 (2021-05-03) Old IE (v6, v7, v8) module for Highcharts v6+. (c) 2010-2021 Highsoft AS Author: Torstein Honsi License: www.highcharts.com/license */ (function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/oldie",["highcharts"],function(C){a(C);a.Highcharts=C;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function C(a,z,r,D){a.hasOwnProperty(z)||(a[z]=D.apply(null,r))}a=a?a._modules:{};C(a,"Extensions/Math3D.js",[a["Core/Globals.js"],a["Core/Utilities.js"]],function(a,z){function r(a,e,t){e=0v&&m-v>Math.PI/2+.0001?(f=f.concat(l(a,e,b,k,v,v+Math.PI/2,c,d)),f=f.concat(l(a,e,b,k,v+Math.PI/2,m,c,d))):mMath.PI/2+.0001?(f=f.concat(l(a,e,b,k,v,v-Math.PI/2,c,d)),f=f.concat(l(a,e,b,k,v-Math.PI/2,m,c,d))):[["C",a+b*Math.cos(v)-b*I*n*Math.sin(v)+c,e+k*Math.sin(v)+k*I*n*Math.cos(v)+d,a+b*Math.cos(m)+b*I*n*Math.sin(m)+c,e+k*Math.sin(m)-k*I*n*Math.cos(m)+d,a+b*Math.cos(m)+c,e+k*Math.sin(m)+d]]}var g=a.animObject,e=z.parse,t=r.charts,q=r.deg2rad,C=D.perspective,F=D.shapeArea,w= p.defined,Q=p.extend,O=p.merge,G=p.pick,N=Math.cos,H=Math.sin,K=Math.PI,I=4*(Math.sqrt(2)-1)/3/(K/2);u.prototype.elements3d=J;u.prototype.toLinePath=function(a,e){var b=[];a.forEach(function(a){b.push(["L",a.x,a.y])});a.length&&(b[0][0]="M",e&&b.push(["Z"]));return b};u.prototype.toLineSegments=function(a){var e=[],b=!0;a.forEach(function(a){e.push(b?["M",a.x,a.y]:["L",a.x,a.y]);b=!b});return e};u.prototype.face3d=function(a){var e=this,b=this.createElement("path");b.vertexes=[];b.insidePlotArea= !1;b.enabled=!0;b.attr=function(a){if("object"===typeof a&&(w(a.enabled)||w(a.vertexes)||w(a.insidePlotArea))){this.enabled=G(a.enabled,this.enabled);this.vertexes=G(a.vertexes,this.vertexes);this.insidePlotArea=G(a.insidePlotArea,this.insidePlotArea);delete a.enabled;delete a.vertexes;delete a.insidePlotArea;var b=C(this.vertexes,t[e.chartIndex],this.insidePlotArea),m=e.toLinePath(b,!0);b=F(b);a.d=m;a.visibility=this.enabled&&0a.faces.length;)b.faces.pop().destroy();for(;b.faces.lengtha.faces.length;)b.faces.pop().destroy();for(;b.faces.lengthd?{x:g[d].x,y:g[d].y+10,z:g[d].z}:g[0].x===g[7].x&&4<=d?{x:g[d].x+10,y:g[d].y,z:g[d].z}:0===f&&2>d||5F(n)?f=[n,0]:0>F(m)?f=[m,1]:a&&(L.push(a),f=0>F(c)?[n,0]:0>F(d)?[m,1]:[n,0]);return f};var B=x([3,2,1,0],[7,6,5,4],"front");a=B[0];var A=B[1];B=x([1,6,7,0],[4,5,2,3],"top");d=B[0];var E=B[1];B=x([1,2,5,6],[0,7,4,3],"side");x=B[0];B=B[1];1===B?h+=1E6*(n.plotWidth-k):B||(h+=1E6*k);h+=10*(!E||0<=y&&180>=y||360> y&&357.5Math.PI&&(c=2*Math.PI-c);return c}var b=a.x||0,k=a.y||0,g=a.start||0,m=(a.end||0)-.00001,c=a.r||0,d=a.innerR||0,f=a.depth||0,n=a.alpha||0,y=a.beta||0,h=Math.cos(g),t=Math.sin(g);a=Math.cos(m);var L=Math.sin(m),x=c*Math.cos(y);c*=Math.cos(n);var B=d*Math.cos(y), p=d*Math.cos(n);d=f*Math.sin(y);var E=f*Math.sin(n);f=[["M",b+x*h,k+c*t]];f=f.concat(l(b,k,x,c,g,m,0,0));f.push(["L",b+B*a,k+p*L]);f=f.concat(l(b,k,B,p,m,g,0,0));f.push(["Z"]);var r=0-r?g:m>-r?-r:g;var q=mu&&gK-y&&g/g,"<$1title>").replace(/height=([^" ]+)/g,'height="$1"').replace(/width=([^" ]+)/g,'width="$1"').replace(/hc-svg-href="([^"]+)">/g,'xlink:href="$1"/>').replace(/ id=([^" >]+)/g,' id="$1"').replace(/class=([^" >]+)/g,'class="$1"').replace(/ transform /g," ").replace(/:(path|rect)/g,"$1").replace(/style="([^"]+)"/g,function(a){return a.toLowerCase()})},a.prototype.isReadyToRender= function(){var a=this;return J||F!=F.top||"complete"===q.readyState?!0:(q.attachEvent("onreadystatechange",function(){q.detachEvent("onreadystatechange",a.firstRender);"complete"===q.readyState&&a.firstRender()}),!1)},q.createElementNS||(q.createElementNS=function(a,d){return q.createElement(d)}),r.addEventListenerPolyfill=function(a,d){function c(a){a.target=a.srcElement||F;d.call(b,a)}var b=this;b.attachEvent&&(b.hcEventsIE||(b.hcEventsIE={}),d.hcKey||(d.hcKey=m()),b.hcEventsIE[d.hcKey]=c,b.attachEvent("on"+ a,c))},r.removeEventListenerPolyfill=function(a,d){this.detachEvent&&(d=this.hcEventsIE[d.hcKey],this.detachEvent("on"+a,d))},a={docMode8:q&&8===q.documentMode,init:function(a,d){var c=["<",d,' filled="f" stroked="f"'],b=["position: ","absolute",";"],e="div"===d;("shape"===d||e)&&b.push("left:0;top:0;width:1px;height:1px;");b.push("visibility: ",e?"hidden":"visible");c.push(' style="',b.join(""),'"/>');d&&(c=e||"span"===d||"img"===d?c.join(""):a.prepVML(c),this.element=O(c));this.renderer=a},add:function(a){var c= this.renderer,f=this.element,b=c.box,e=a&&a.inverted;b=a?a.element||a:b;a&&(this.parentGroup=a);e&&c.invertChild(f,b);b.appendChild(f);this.added=!0;this.alignOnAdd&&!this.deferUpdateTransform&&this.updateTransform();if(this.onAdd)this.onAdd();this.className&&this.attr("class",this.className);return this},updateTransform:u.prototype.htmlUpdateTransform,setSpanRotation:function(){var a=this.rotation,d=Math.cos(a*g),f=Math.sin(a*g);G(this.element,{filter:a?["progid:DXImageTransform.Microsoft.Matrix(M11=", d,", M12=",-f,", M21=",f,", M22=",d,", sizingMethod='auto expand')"].join(""):"none"})},getSpanCorrection:function(a,d,f,b,e){var c=b?Math.cos(b*g):1,n=b?Math.sin(b*g):0,h=k(this.elemHeight,this.element.offsetHeight);this.xCorr=0>c&&-a;this.yCorr=0>n&&-h;var l=0>c*n;this.xCorr+=n*d*(l?1-f:f);this.yCorr-=c*d*(b?l?f:1-f:1);e&&"left"!==e&&(this.xCorr-=a*f*(0>c?-1:1),b&&(this.yCorr-=h*f*(0>n?-1:1)),G(this.element,{textAlign:e}))},pathToVML:function(a){for(var c=a.length,f=[];c--;)R(a[c])?f[c]=Math.round(10* a[c])-5:"Z"===a[c]?f[c]="x":(f[c]=a[c],!a.isArc||"wa"!==a[c]&&"at"!==a[c]||(f[c+5]===f[c+7]&&(f[c+7]+=a[c+7]>a[c+5]?1:-1),f[c+6]===f[c+8]&&(f[c+8]+=a[c+8]>a[c+6]?1:-1)));return f.join(" ")||"x"},clip:function(a){var c=this;if(a){var f=a.members;K(f,c);f.push(c);c.destroyClip=function(){K(f,c)};a=a.getCSS(c)}else c.destroyClip&&c.destroyClip(),a={clip:c.docMode8?"inherit":"rect(auto)"};return c.css(a)},css:u.prototype.htmlCss,safeRemoveChild:function(a){a.parentNode&&H(a)},destroy:function(){this.destroyClip&& this.destroyClip();return u.prototype.destroy.apply(this)},on:function(a,d){this.element["on"+a]=function(){var a=F.event;a.target=a.srcElement;d(a)};return this},cutOffPath:function(a,d){a=a.split(/[ ,]/);var c=a.length;if(9===c||11===c)a[c-4]=a[c-2]=v(a[c-2])-10*d;return a.join(" ")},shadow:function(a,d,b){var c=[],f,e=this.element,g=this.renderer,l=e.style,m=e.path;m&&"string"!==typeof m.value&&(m="x");var p=m;if(a){var q=k(a.width,3);var t=(a.opacity||.15)/q;for(f=1;3>=f;f++){var r=2*q+1-2*f; b&&(p=this.cutOffPath(m.value,r+.5));var u=[''];var w=O(g.prepVML(u),null,{left:v(l.left)+k(a.offsetX,1)+"px",top:v(l.top)+k(a.offsetY,1)+"px"});b&&(w.cutOff=r+1);u=[''];O(g.prepVML(u),null,null,w);d?d.element.appendChild(w):e.parentNode.insertBefore(w,e);c.push(w)}this.shadows=c}return this},updateShadows:z,setAttr:function(a, d){this.docMode8?this.element[a]=d:this.element.setAttribute(a,d)},getAttr:function(a){return this.docMode8?this.element[a]:this.element.getAttribute(a)},classSetter:function(a){(this.added?this.element:this).className=a},dashstyleSetter:function(a,d,b){(b.getElementsByTagName("stroke")[0]||O(this.renderer.prepVML([""]),null,null,b))[d]=a||"solid";this[d]=a},dSetter:function(a,d,b){var c=this.shadows;a=a||[];this.d=a.join&&a.join(" ");b.path=a=this.pathToVML(a);if(c)for(b=c.length;b--;)c[b].path= c[b].cutOff?this.cutOffPath(a,c[b].cutOff):a;this.setAttr(d,a)},fillSetter:function(a,d,b){var c=b.nodeName;"SPAN"===c?b.style.color=a:"IMG"!==c&&(b.filled="none"!==a,this.setAttr("fillcolor",this.renderer.color(a,b,d,this)))},"fill-opacitySetter":function(a,d,b){O(this.renderer.prepVML(["<",d.split("-")[0],' opacity="',a,'"/>']),null,null,b)},opacitySetter:z,rotationSetter:function(a,d,b){b=b.style;this[d]=b[d]=a;b.left=-Math.round(Math.sin(a*g)+1)+"px";b.top=Math.round(Math.cos(a*g))+"px"},strokeSetter:function(a, d,b){this.setAttr("strokecolor",this.renderer.color(a,b,d,this))},"stroke-widthSetter":function(a,d,b){b.stroked=!!a;this[d]=a;R(a)&&(a+="px");this.setAttr("strokeweight",a)},titleSetter:function(a,d){this.setAttr(d,a)},visibilitySetter:function(a,d,b){"inherit"===a&&(a="visible");this.shadows&&this.shadows.forEach(function(c){c.style[d]=a});"DIV"===b.nodeName&&(a="hidden"===a?"-999em":0,this.docMode8||(b.style[d]=a?"visible":"hidden"),d="top");b.style[d]=a},xSetter:function(a,d,b){this[d]=a;"x"=== d?d="left":"y"===d&&(d="top");this.updateClipping?(this[d]=a,this.updateClipping()):b.style[d]=a},zIndexSetter:function(a,d,b){b.style[d]=a},fillGetter:function(){return this.getAttr("fillcolor")||""},strokeGetter:function(){return this.getAttr("strokecolor")||""},classGetter:function(){return this.getAttr("className")||""}},a["stroke-opacitySetter"]=a["fill-opacitySetter"],r.VMLElement=a=D(u,a),a.prototype.ySetter=a.prototype.widthSetter=a.prototype.heightSetter=a.prototype.xSetter,C={Element:a, isIE8:-1'];O(c.prepVML(g),null,null,d)};q=a[0];r=a[a.length-1];0r[0]&&a.push([1,r[1]]);a.forEach(function(a,c){f.test(a[1])?(M=e(a[1]),k=M.get("rgb"),m=M.get("a")):(k=a[1],m=1);F.push(100*a[0]+"% "+k);c?(z=m,A=k):(v=m,C=k)});if("fill"===b)if("gradient"===h)q=p.x1||p[0]||0,r=p.y1||p[1]||0,t=p.x2||p[2]||0,u=p.y2||p[3]||0,D='angle="'+(90-180*Math.atan((u- r)/(t-q))/Math.PI)+'"',G();else{b=p.r;var I=2*b,J=2*b,K=p.cx,N=p.cy,H=d.radialReference,P;p=function(){H&&(P=n.getBBox(),K+=(H[0]-P.x)/P.width-.5,N+=(H[1]-P.y)/P.height-.5,I*=H[2]/P.width,J*=H[2]/P.height);D='src="'+w().global.VMLRadialGradientURL+'" size="'+I+","+J+'" origin="0.5,0.5" position="'+K+","+N+'" color2="'+C+'" ';G()};n.added?p():n.onAdd=p;l=A}else l=k}else if(f.test(a)&&"IMG"!==d.tagName){var M=e(a);n[b+"-opacitySetter"](M.get("a"),b,d);l=M.get("rgb")}else p=d.getElementsByTagName(b), p.length&&(p[0].opacity=1,p[0].type="solid"),l=a;return l},prepVML:function(a){var c=this.isIE8;a=a.join("");c?(a=a.replace("/>",' xmlns="urn:schemas-microsoft-com:vml" />'),a=-1===a.indexOf('style="')?a.replace("/>",' style="display:inline-block;behavior:url(#default#VML);" />'):a.replace('style="','style="display:inline-block;behavior:url(#default#VML);')):a=a.replace("<","