1import{au as H}from"./5YXSnQcP.js";function k(y,h){for(var u=0;u<h.length;u++){const g=h[u];if(typeof g!="string"&&!Array.isArray(g)){for(const r in g)if(r!=="default"&&!(r in y)){const c=Object.getOwnPropertyDescriptor(g,r);c&&Object.defineProperty(y,r,c.get?c:{enumerable:!0,get:()=>g[r]})}}}return Object.freeze(Object.defineProperty(y,Symbol.toStringTag,{value:"Module"}))}var j={exports:{}},O;function q(){return O||(O=1,function(y){(function(h){y.exports?(h.default=h,y.exports=h):h(typeof Highcharts<"u"?Highcharts:void 0)})(function(h){var u=h?h._modules:{};function g(r,c,v,x){r.hasOwnProperty(c)||(r[c]=x.apply(null,v),typeof CustomEvent=="function"&&h.win.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:c,module:r[c]}})))}g(u,"Series/VariablePie/VariablePieSeriesDefaults.js",[],function(){return{minPointSize:"10%",maxPointSize:"100%",zMin:void 0,zMax:void 0,sizeBy:"area",tooltip:{pointFormat:'<span style="color:{point.color}">â</span> {series.name}<br/>Value: {point.y}<br/>Size: {point.z}<br/>'}}}),g(u,"Series/VariablePie/VariablePieSeries.js",[u["Core/Series/SeriesRegistry.js"],u["Core/Utilities.js"],u["Series/VariablePie/VariablePieSeriesDefaults.js"]],function(r,c,v){let{pie:x}=r.seriesTypes,{arrayMax:C,arrayMin:D,clamp:R,extend:w,fireEvent:T,merge:_,pick:V}=c;class b extends x{calculateExtremes(){let e,a,l=this.chart,d=l.plotWidth,t=l.plotHeight,n=this.options,o=2*(n.slicedOffset||0),s=this.zData,M=Math.min(d,t)-o,f={},P=this.center||this.getCenter();for(let p of["minPointSize","maxPointSize"]){let i=n[p],z=/%$/.test(i);i=parseInt(i,10),f[p]=z?M*i/100:2*i}this.minPxSize=P[3]+f.minPointSize,this.maxPxSize=R(P[2],P[3]+f.minPointSize,f.maxPointSize),s.length&&(e=V(n.zMin,D(s.filter(this.zValEval))),a=V(n.zMax,C(s.filter(this.zValEval))),this.getRadii(e,a,this.minPxSize,this.maxPxSize))}getRadii(e,a,l,d){let t,n,o,s=this.zData,M=[],f=this.options.sizeBy!=="radius",P=a-e;for(let p=0;p<s.length;p++)(n=this.zValEval(s[p])?s[p]:e)<=e?o=l/2:n>=a?o=d/2:(t=P>0?(n-e)/P:.5,f&&(t=Math.sqrt(t)),o=Math.ceil(l+t*(d-l))/2),M.push(o);this.radii=M}redraw(){this.center=null,super.redraw()}getDataLabelPosition(e,a){let{center:l,options:d}=this,t=e.angle||0,n=this.radii[e.index],o=l[0]+Math.cos(t)*n,s=l[1]+Math.sin(t)*n,M=Math.min((d.slicedOffset||0)+(d.borderWidth||0),a/5);return{distance:a,natural:{x:o+Math.cos(t)*a,y:s+Math.sin(t)*a},computed:{},alignment:e.half?"right":"left",connectorPosition:{breakAt:{x:o+Math.cos(t)*M,y:s+Math.sin(t)*M},touchingSliceAt:{x:o,y:s}}}}translate(e){this.generatePoints();let a=this.options,l=a.slicedOffset,d=a.startAngle||0,t=Math.PI/180*(d-90),n=Math.PI/180*(V(a.endAngle,d+360)-90),o=n-t,s=this.points,M=a.ignoreHiddenPoint,f=0,P,p,i,z,E,m,A;this.startAngleRad=t,this.endAngleRad=n,this.calculateExtremes(),e||(this.center=e=this.getCenter());for(let S=0;S<s.length;S++)m=s[S],A=this.radii[S],P=t+f*o,(!M||m.visible)&&(f+=m.percentage/100),p=t+f*o,m.shapeType="arc",m.shapeArgs={x:e[0],y:e[1],r:A,innerR:e[3]/2,start:Math.round(1e3*P)/1e3,end:Math.round(1e3*p)/1e3},(i=(p+P)/2)>1.5*Math.PI?i-=2*Math.PI:i<-Math.PI/2&&(i+=2*Math.PI),m.slicedTranslation={translateX:Math.round(Math.cos(i)*l),translateY:Math.round(Math.sin(i)*l)},z=Math.cos(i)*e[2]/2,E=Math.sin(i)*e[2]/2,m.tooltipPos=[e[0]+.7*z,e[1]+.7*E],m.half=i<-Math.PI/2||i>Math.PI/2?1:0,m.angle=i;T(this,"afterTranslate")}zValEval(e){return!(typeof e!="number"||isNaN(e))||null}}return b.defaultOptions=_(x.defaultOptions,v),w(b.prototype,{pointArrayMap:["y","z"],parallelArrays:["x","y","z"]}),r.registerSeriesType("variablepie",b),b}),g(u,"masters/modules/variable-pie.src.js",[u["Core/Globals.js"]],function(r){return r})})}(j)),j.exports}var I=q();const N=H(I),F=k({__proto__:null,default:N},[I]);export{F as v};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.