1import{a as C}from"./chunk-LMH7CWJD.js";import"./chunk-ZUU3DWDH.js";var R,T,p={};p.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return p.d(e,{a:e}),e},p.d=(t,e)=>{for(var o in e)p.o(e,o)&&!p.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},p.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var G=C,x=p.n(G),{doc:et,win:ot}=x();function E(t,e){let o;for(o in t||(t={}),e)t[o]=e[o];return t}function B(t){return A(t)&&typeof t.nodeType=="number"}function L(t){return typeof t=="number"&&!isNaN(t)&&t<1/0&&t>-1/0}function A(t,e){let o;return!!t&&typeof t=="object"&&(!e||(o=Object.prototype.toString.call(t))!=="[object Array]"&&o!=="[object Array Iterator]")}function z(t,...e){let o,r=[t,...e],a={},l=function(s,d){return typeof s!="object"&&(s={}),H(d,function(n,i){if(i!=="__proto__"&&i!=="constructor"){let u;!A(n,!0)||(u=n?.constructor,A(n,!0)&&!B(n)&&u?.name&&u.name!=="Object")||B(n)?s[i]=d[i]:s[i]=l(s[i]||{},n)}}),s};t===!0&&(a=r[1],r=Array.prototype.slice.call(r,2));let c=r.length;for(o=0;o<c;o++)a=l(a,r[o]);return a}function H(t,e,o){for(let r in t)Object.hasOwnProperty.call(t,r)&&e.call(o||t[r],t[r],r,t)}function k(){let t=arguments,e=t.length;for(let o=0;o<e;o++){let r=t[o];if(r!=null)return r}}function W(t,e){return parseInt(t,e||10)}Array.prototype.find;var{defaultOptions:rt}=x(),{noop:at}=x(),J={radius:0,scope:"stack",where:void 0};function K(t,e){return A(t)||(t={radius:t||0}),z(J,e,t)}var Q=K,U=C.SeriesRegistry,F=p.n(U),X=C.Color,{parse:S}=p.n(X)();(R=T||(T={})).initDataClasses=function(t){let e=this.chart,o=this.legendItem=this.legendItem||{},r=this.options,a=t.dataClasses||[],l,c,s=e.options.chart.colorCount,d=0,n;this.dataClasses=c=[],o.labels=[];for(let i=0,u=a.length;i<u;++i)l=z(l=a[i]),c.push(l),(e.styledMode||!l.color)&&(r.dataClassColor==="category"?(e.styledMode||(s=(n=e.options.colors||[]).length,l.color=n[d]),l.colorIndex=d,++d===s&&(d=0)):l.color=S(r.minColor).tweenTo(S(r.maxColor),u<2?.5:i/(u-1)))},R.initStops=function(){let t=this.options,e=this.stops=t.stops||[[0,t.minColor||""],[1,t.maxColor||""]];for(let o=0,r=e.length;o<r;++o)e[o].color=S(e[o][1])},R.normalizedValue=function(t){let e=this.max||0,o=this.min||0;return this.logarithmic&&(t=this.logarithmic.log2lin(t)),1-(e-t)/(e-o||1)},R.toColor=function(t,e){let o,r,a,l,c,s,d=this.dataClasses,n=this.stops;if(d){for(s=d.length;s--;)if(r=(c=d[s]).from,a=c.to,(r===void 0||t>=r)&&(a===void 0||t<=a)){l=c.color,e&&(e.dataClass=s,e.colorIndex=c.colorIndex);break}}else{for(o=this.normalizedValue(t),s=n.length;s--&&!(o>n[s][0]););r=n[s]||n[s+1],o=1-((a=n[s+1]||r)[0]-o)/(a[0]-r[0]||1),l=r.color.tweenTo(a.color,o)}return l};var Y=T,Z=function(t){E(t,Y)},{gauge:N,pie:$}=F().seriesTypes,v=class extends N{translate(){let e=this.yAxis;Z(e),!e.dataClasses&&e.options.dataClasses&&e.initDataClasses(e.options),e.initStops(),N.prototype.translate.call(this)}drawPoints(){let e,o=this.yAxis,r=o.center,a=this.options,l=this.chart.renderer,c=a.overshoot,s=a.rounded&&a.borderRadius===void 0,d=L(c)?c/180*Math.PI:0;for(let h of(L(a.threshold)&&(e=o.startAngleRad+o.translate(a.threshold,void 0,void 0,void 0,!0)),this.thresholdAngleRad=k(e,o.startAngleRad),this.points))if(!h.isNull){var n,i,u,M;let b=W(k(h.options.radius,a.radius,100))*r[2]/200,D=W(k(h.options.innerRadius,a.innerRadius,60))*r[2]/200,j=Math.min(o.startAngleRad,o.endAngleRad),w=Math.max(o.startAngleRad,o.endAngleRad),f=h.graphic,g=o.startAngleRad+o.translate(h.y,void 0,void 0,void 0,!0),m,I,y=o.toColor(h.y,h),O=h.getClassName();y==="none"&&(y=h.color||this.color||"none"),y!=="none"&&(h.color=y),n=g,i=j-d,u=w+d,g=n>i?n<u?n:u:i,a.wrap===!1&&(g=(M=g)>j?M<w?M:w:j);let V=s?(b-D)/2/b:0,P=Math.min(g,this.thresholdAngleRad)-V,_=Math.max(g,this.thresholdAngleRad)+V;_-P>2*Math.PI&&(_=P+2*Math.PI);let q=s?"50%":0;a.borderRadius&&(q=Q(a.borderRadius).radius),h.shapeArgs=m={x:r[0],y:r[1],r:b,innerR:D,start:P,end:_,borderRadius:q},h.startR=b,f?(I=m.d,f.animate(E({fill:y},m)),I&&(m.d=I)):h.graphic=f=l.arc(m).attr({fill:y,"sweep-flag":0}).add(this.group),this.chart.styledMode?this.yAxis?.stops&&(O=O.replace(/highcharts-color-\d/gm,"").trim()):(a.linecap!=="square"&&f.attr({"stroke-linecap":"round","stroke-linejoin":"round"}),f.attr({stroke:a.borderColor||"none","stroke-width":a.borderWidth||0})),f&&f.addClass(O)}}animate(e){e||(this.startAngleRad=this.thresholdAngleRad,$.prototype.animate.call(this,e))}};v.defaultOptions=z(N.defaultOptions,{colorByPoint:!0,dataLabels:{y:0}}),F().registerSeriesType("solidgauge",v);var st=x();export{st as default};
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.