PageSourceSearch

https://www.quantsightpro.com/_next/static/chunks/json_percent.c1f44a5267cd3e5c.js

js quantsightpro.com collected 2026-10-06 01:54:19 UTC 36,598 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6199],{30:(t,e,i)=>{i.d(e,{R:()=>l});var s=i(67225),a=i(73084);class l extends s.E{constructor(){super(...arguments),this._display=this._root._renderer.makeRadialText("",this.textStyle)}_afterNew(){super._afterNew()}_beforeChanged(){super._beforeChanged(),this._display.clear(),this.isDirty("textType")&&(this._display.textType=this.get("textType"),this.markDirtyBounds()),this.isDirty("radius")&&(this._display.radius=this.get("radius"),this.markDirtyBounds()),this.isDirty("startAngle")&&(this._display.startAngle=(this.get("startAngle",0)+90)*a.RADIANS,this.markDirtyBounds()),this.isDirty("inside")&&(this._display.inside=this.get("inside"),this.markDirtyBounds()),this.isDirty("orientation")&&(this._display.orientation=this.get("orientation"),this.markDirtyBounds()),this.isDirty("kerning")&&(this._display.kerning=this.get("kerning"),this.markDirtyBounds())}}l.className="RadialText",l.classNames=s.E.classNames.concat([l.className])},8333:(t,e,i)=>{i.d(e,{i:()=>h});var s=i(67623),a=i(98996),l=i(30),r=i(73084),n=i(55395);class h extends a.J{constructor(){super(...arguments),this._flipped=!1}_afterNew(){this._textKeys.push("textType","kerning"),super._afterNew()}_makeText(){this._text=this.children.push(l.R.new(this._root,{}))}baseRadius(){let t=this.getPrivate("radius",0),e=this.getPrivate("innerRadius",0),i=this.get("baseRadius",0);return e+n.relativeToValue(i,t-e)}radius(){let t=this.get("inside",!1);return this.baseRadius()+this.get("radius",0)*(t?-1:1)}_updateChildren(){if(super._updateChildren(),this.isDirty("baseRadius")||this.isPrivateDirty("radius")||this.isPrivateDirty("innerRadius")||this.isDirty("labelAngle")||this.isDirty("radius")||this.isDirty("inside")||this.isDirty("orientation")||this.isDirty("textType")){let t=this.get("textType","adjusted"),e=this.get("inside",!1),i=this.get("orientation"),a=r.normalizeAngle(this.get("labelAngle",0));this._text.set("startAngle",this.get("labelAngle",0)),this._text.set("inside",e);let l=r.sin(a),n=r.cos(a),h=this.baseRadius(),o=this.radius();if(this._display.angle=0,"circular"==t)this.setAll({paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}),this.setRaw("x",void 0),this.setRaw("y",void 0),this._text.set("orientation",i),this._text.set("radius",o);else{0==h&&(a=0,o=0);let e=o*n,r=o*l;"radial"==t?(this.setRaw("x",e),this.setRaw("y",r),a<90||a>270||"auto"!=i?(this._display.angle=a,this._flipped=!1):(this._display.angle=a+180,this._flipped=!0),this._dirty.rotation=!1):"adjusted"==t?(this.setRaw("centerX",s.yP),this.setRaw("centerY",s.yP),this.setRaw("x",e),this.setRaw("y",r)):"regular"==t&&(this.setRaw("x",e),this.setRaw("y",r))}this.markDirtyPosition(),this.markDirtyBounds()}}_updatePosition(){let t=this.get("textType","regular"),e=this.get("inside",!1),i=0,a=0,l=this.get("labelAngle",0),n=this.localBounds(),h=n.right-n.left,o=n.bottom-n.top;if("radial"==t){if(this._flipped){let t=this.get("centerX");t instanceof s.QE&&(h*=1-2*t.value),i=h*r.cos(l),a=h*r.sin(l)}}else e||"adjusted"!=t||(i=h/2*r.cos(l),a=o/2*r.sin(l));this.setRaw("dx",i),this.setRaw("dy",a),super._updatePosition()}get text(){return this._text}}h.className="RadialLabel",h.classNames=a.J.classNames.concat([h.className])},27928:(t,e,i)=>{i.d(e,{J:()=>h});var s=i(54963),a=i(92906),l=i(67623),r=i(41346),n=i(73084);class h extends s.A{constructor(){super(...arguments),this.ix=0,this.iy=0,this._generator=(0,r.A)()}_getTooltipPoint(){let t=this.get("tooltipX"),e=this.get("tooltipY"),i=0,s=0;a.isNumber(t)&&(i=t),a.isNumber(e)&&(s=e);let r=this.get("radius",0),n=this.get("innerRadius",0),h=this.get("dRadius",0),o=this.get("dInnerRadius",0);return r+=h,(n+=o)<0&&(n=r+n),t instanceof l.QE&&(i=this.ix*(n+(r-n)*t.value)),e instanceof l.QE&&(s=this.iy*(n+(r-n)*e.value)),this.get("arc")>=360&&0==n&&(i=0,s=0),{x:i,y:s}}_beforeChanged(){super._beforeChanged(),(this.isDirty("radius")||this.isDirty("arc")||this.isDirty("innerRadius")||this.isDirty("startAngle")||this.isDirty("dRadius")||this.isDirty("dInnerRadius")||this.isDirty("cornerRadius")||this.isDirty("shiftRadius"))&&(this._clear=!0)}_changed(){if(super._changed(),this._clear){let t=this.get("startAngle",0),e=this.get("arc",0),i=this._generator;e<0&&(t+=e,e*=-1),e>.1&&i.cornerRadius(this.get("cornerRadius",0)),i.context(this._display);let s=this.get("radius",0),a=this.get("innerRadius",0),l=this.get("dRadius",0),r=this.get("dInnerRadius",0);s+=l,(a+=r)<0&&(a=s+a),i({innerRadius:a,outerRadius:s,startAngle:(t+90)*n.RADIANS,endAngle:(t+e+90)*n.RADIANS});let h=t+e/2;this.ix=n.cos(h),this.iy=n.sin(h);let o=this.get("shiftRadius",0);this.setRaw("dx",this.ix*o),this.setRaw("dy",this.iy*o),this.markDirtyPosition()}}}
1h.className="Slice",h.classNames=s.A.classNames.concat([h.className])},41346:(t,e,i)=>{i.d(e,{A:()=>d});var s=i(73595),a=i(31145),l=i(5828);function r(t){return t.innerRadius}function n(t){return t.outerRadius}function h(t){return t.startAngle}function o(t){return t.endAngle}function c(t){return t&&t.padAngle}function u(t,e,i,s,l,r,n){var h=t-i,o=e-s,c=(n?r:-r)/(0,a.RZ)(h*h+o*o),u=c*o,d=-c*h,g=t+u,p=e+d,y=i+u,_=s+d,m=(g+y)/2,x=(p+_)/2,f=y-g,b=_-p,v=f*f+b*b,k=l-r,D=g*_-y*p,A=(b<0?-1:1)*(0,a.RZ)((0,a.T9)(0,k*k*v-D*D)),T=(D*b-f*A)/v,w=(-D*f-b*A)/v,P=(D*b+f*A)/v,N=(-D*f+b*A)/v,R=T-m,C=w-x,L=P-m,S=N-x;return R*R+C*C>L*L+S*S&&(T=P,w=N),{cx:T,cy:w,x01:-u,y01:-d,x11:T*(l/k-1),y11:w*(l/k-1)}}function d(){var t=r,e=n,i=(0,s.A)(0),d=null,g=h,p=o,y=c,_=null,m=(0,l.i)(x);function x(){var s,l,r=+t.apply(this,arguments),n=+e.apply(this,arguments),h=g.apply(this,arguments)-a.TW,o=p.apply(this,arguments)-a.TW,c=(0,a.tn)(o-h),x=o>h;if(_||(_=s=m()),n<r&&(l=n,n=r,r=l),n>a.Ni)if(c>a.FA-a.Ni)_.moveTo(n*(0,a.gn)(h),n*(0,a.F8)(h)),_.arc(0,0,n,h,o,!x),r>a.Ni&&(_.moveTo(r*(0,a.gn)(o),r*(0,a.F8)(o)),_.arc(0,0,r,o,h,x));else{var f,b,v=h,k=o,D=h,A=o,T=c,w=c,P=y.apply(this,arguments)/2,N=P>a.Ni&&(d?+d.apply(this,arguments):(0,a.RZ)(r*r+n*n)),R=(0,a.jk)((0,a.tn)(n-r)/2,+i.apply(this,arguments)),C=R,L=R;if(N>a.Ni){var S=(0,a.qR)(N/r*(0,a.F8)(P)),I=(0,a.qR)(N/n*(0,a.F8)(P));(T-=2*S)>a.Ni?(S*=x?1:-1,D+=S,A-=S):(T=0,D=A=(h+o)/2),(w-=2*I)>a.Ni?(I*=x?1:-1,v+=I,k-=I):(w=0,v=k=(h+o)/2)}var M=n*(0,a.gn)(v),F=n*(0,a.F8)(v),B=r*(0,a.gn)(A),W=r*(0,a.F8)(A);if(R>a.Ni){var H,V=n*(0,a.gn)(k),z=n*(0,a.F8)(k),j=r*(0,a.gn)(D),X=r*(0,a.F8)(D);if(c<a.pi)if(H=function(t,e,i,s,l,r,n,h){var o=i-t,c=s-e,u=n-l,d=h-r,g=d*o-u*c;if(!(g*g<a.Ni))return g=(u*(e-r)-d*(t-l))/g,[t+g*o,e+g*c]}(M,F,j,X,V,z,B,W)){var O=M-H[0],Y=F-H[1],Q=V-H[0],E=z-H[1],Z=1/(0,a.F8)((0,a.HQ)((O*Q+Y*E)/((0,a.RZ)(O*O+Y*Y)*(0,a.RZ)(Q*Q+E*E)))/2),q=(0,a.RZ)(H[0]*H[0]+H[1]*H[1]);C=(0,a.jk)(R,(r-q)/(Z-1)),L=(0,a.jk)(R,(n-q)/(Z+1))}else C=L=0}w>a.Ni?L>a.Ni?(f=u(j,X,M,F,n,L,x),b=u(V,z,B,W,n,L,x),_.moveTo(f.cx+f.x01,f.cy+f.y01),L<R?_.arc(f.cx,f.cy,L,(0,a.FP)(f.y01,f.x01),(0,a.FP)(b.y01,b.x01),!x):(_.arc(f.cx,f.cy,L,(0,a.FP)(f.y01,f.x01),(0,a.FP)(f.y11,f.x11),!x),_.arc(0,0,n,(0,a.FP)(f.cy+f.y11,f.cx+f.x11),(0,a.FP)(b.cy+b.y11,b.cx+b.x11),!x),_.arc(b.cx,b.cy,L,(0,a.FP)(b.y11,b.x11),(0,a.FP)(b.y01,b.x01),!x))):(_.moveTo(M,F),_.arc(0,0,n,v,k,!x)):_.moveTo(M,F),r>a.Ni&&T>a.Ni?C>a.Ni?(f=u(B,W,V,z,r,-C,x),b=u(M,F,j,X,r,-C,x),_.lineTo(f.cx+f.x01,f.cy+f.y01),C<R?_.arc(f.cx,f.cy,C,(0,a.FP)(f.y01,f.x01),(0,a.FP)(b.y01,b.x01),!x):(_.arc(f.cx,f.cy,C,(0,a.FP)(f.y01,f.x01),(0,a.FP)(f.y11,f.x11),!x),_.arc(0,0,r,(0,a.FP)(f.cy+f.y11,f.cx+f.x11),(0,a.FP)(b.cy+b.y11,b.cx+b.x11),x),_.arc(b.cx,b.cy,C,(0,a.FP)(b.y11,b.x11),(0,a.FP)(b.y01,b.x01),!x))):_.arc(0,0,r,A,D,x):_.lineTo(B,W)}else _.moveTo(0,0);if(_.closePath(),s)return _=null,s+""||null}return x.centroid=function(){var i=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,s=(+g.apply(this,arguments)+ +p.apply(this,arguments))/2-a.pi/2;return[(0,a.gn)(s)*i,(0,a.F8)(s)*i]},x.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:(0,s.A)(+e),x):t},x.outerRadius=function(t){return arguments.length?(e="function"==typeof t?t:(0,s.A)(+t),x):e},x.cornerRadius=function(t){return arguments.length?(i="function"==typeof t?t:(0,s.A)(+t),x):i},x.padRadius=function(t){return arguments.length?(d=null==t?null:"function"==typeof t?t:(0,s.A)(+t),x):d},x.startAngle=function(t){return arguments.length?(g="function"==typeof t?t:(0,s.A)(+t),x):g},x.endAngle=function(t){return arguments.length?(p="function"==typeof t?t:(0,s.A)(+t),x):p},x.padAngle=function(t){return arguments.length?(y="function"==typeof t?t:(0,s.A)(+t),x):y},x.context=function(t){return arguments.length?(_=null==t?null:t,x):_},x}},74280:(t,e,i)=>{i.d(e,{FunnelSeries:()=>N,FunnelSlice:()=>w,PercentChart:()=>o,PercentSeries:()=>_,PictorialStackedSeries:()=>C,PieChart:()=>f,PieSeries:()=>T,PyramidSeries:()=>R,SlicedChart:()=>L});var s=i(48510),a=i(60478),l=i(67623),r=i(24219),n=i(53436);class h extends a.S{setupDefaultRules(){super.setupDefaultRules();let t=this._root.interfaceColors,e=this.rule.bind(this);e("PercentSeries").setAll({legendLabelText:"{category}",legendValueText:"{valuePercentTotal.formatNumber('0.00p')}",colors:r.e.new(this._root,{}),width:l.Q2,height:l.Q2}),e("PieChart").setAll({radius:(0,l.KN)(80),startAngle:-90,endAngle:270}),e("PieSeries").setAll({alignLabels:!0,startAngle:-90,endAngle:270}),e("PieSeries").states.create("hidden",{endAngle:-90,opacity:0}
1),e("Slice",["pie"]).setAll({position:"absolute",isMeasured:!1,x:0,y:0,toggleKey:"active",tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}",strokeWidth:1,strokeOpacity:1,role:"figure",lineJoin:"round"}),e("Slice",["pie"]).states.create("active",{shiftRadius:20,scale:1}),e("Slice",["pie"]).states.create("hoverActive",{scale:1.04}),e("Slice",["pie"]).states.create("hover",{scale:1.04}),e("RadialLabel",["pie"]).setAll({textType:"aligned",radius:10,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",paddingTop:5,paddingBottom:5,populateText:!0}),e("Tick",["pie"]).setAll({location:1}),e("SlicedChart").setAll({paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10}),e("FunnelSeries").setAll({startLocation:0,endLocation:1,orientation:"vertical",alignLabels:!0,sequencedInterpolation:!0}),e("FunnelSlice").setAll({interactive:!0,expandDistance:0}),e("FunnelSlice").states.create("hover",{expandDistance:.15}),e("Label",["funnel"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:l.yP}),e("Label",["funnel","horizontal"]).setAll({centerX:0,centerY:l.yP,rotation:-90}),e("Label",["funnel","vertical"]).setAll({centerY:l.yP,centerX:0}),e("Tick",["funnel"]).setAll({location:1}),e("FunnelSlice",["funnel","link"]).setAll({fillOpacity:.5,strokeOpacity:0,expandDistance:-.1}),e("FunnelSlice",["funnel","link","vertical"]).setAll({height:10}),e("FunnelSlice",["funnel","link","horizontal"]).setAll({width:10}),e("PyramidSeries").setAll({valueIs:"area"}),e("FunnelSlice",["pyramid","link"]).setAll({fillOpacity:.5}),e("FunnelSlice",["pyramid","link","vertical"]).setAll({height:0}),e("FunnelSlice",["pyramid","link","horizontal"]).setAll({width:0}),e("FunnelSlice",["pyramid"]).setAll({interactive:!0,expandDistance:0}),e("FunnelSlice",["pyramid"]).states.create("hover",{expandDistance:.15}),e("Label",["pyramid"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:l.yP}),e("Label",["pyramid","horizontal"]).setAll({centerX:0,centerY:l.yP,rotation:-90}),e("Label",["pyramid","vertical"]).setAll({centerY:l.yP,centerX:0}),e("Tick",["pyramid"]).setAll({location:1}),e("FunnelSlice",["pictorial"]).setAll({interactive:!0,tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}"}),e("Label",["pictorial"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:l.yP}),e("Label",["pictorial","horizontal"]).setAll({centerX:0,centerY:l.yP,rotation:-90}),e("Label",["pictorial","vertical"]).setAll({centerY:l.yP,centerX:0}),e("FunnelSlice",["pictorial","link"]).setAll({fillOpacity:.5,width:0,height:0}),e("Tick",["pictorial"]).setAll({location:.5});{let i=e("Graphics",["pictorial","background"]);i.setAll({fillOpacity:.2}),(0,n.w)(i,"fill",t,"alternativeBackground")}}}class o extends s.d{_afterNew(){this._defaultThemes.push(h.new(this._root)),super._afterNew(),this.chartContainer.children.push(this.seriesContainer),this.seriesContainer.children.push(this.bulletsContainer)}_processSeries(t){super._processSeries(t),this.seriesContainer.children.moveValue(this.bulletsContainer,this.seriesContainer.children.length-1)}}o.className="PercentChart",o.classNames=s.d.classNames.concat([o.className]);var c=i(71450),u=i(15851),d=i(90888),g=i(54963),p=i(73995),y=i(92906);class _ extends u.s{constructor(){super(...arguments),this.slicesContainer=this.children.push(d.m.new(this._root,{position:"absolute",isMeasured:!1})),this.labelsContainer=this.children.push(d.m.new(this._root,{position:"absolute",isMeasured:!1})),this.ticksContainer=this.children.push(d.m.new(this._root,{position:"absolute",isMeasured:!1})),this._lLabels=[],this._rLabels=[],this._hLabels=[],this.slices=this.addDisposer(this._makeSlices()),this.labels=this.addDisposer(this._makeLabels()),this.ticks=this.addDisposer(this._makeTicks())}_applyThemes(t=!1){let e=this.get("colors");return e&&e.reset(),super._applyThemes(t)}makeSlice(t){let e=this.slicesContainer.children.push(this.slices.make());return e.on("fill",()=>{this.updateLegendMarker(t)}),e.on("fillPattern",()=>{this.updateLegendMarker(t)}),e.on("stroke",()=>{this.updateLegendMarker(t)}
1),e._setDataItem(t),t.set("slice",e),this.slices.push(e),e}makeLabel(t){let e=this.labelsContainer.children.push(this.labels.make());return e._setDataItem(t),t.set("label",e),this.labels.push(e),e}_shouldMakeBullet(t){return null!=t.get("value")}makeTick(t){let e=this.ticksContainer.children.push(this.ticks.make());return e._setDataItem(t),t.set("tick",e),this.ticks.push(e),e}_afterNew(){this.fields.push("category","fill"),super._afterNew()}_onDataClear(){let t=this.get("colors");t&&t.reset();let e=this.get("patterns");e&&e.reset()}_prepareChildren(){if(super._prepareChildren(),this._lLabels=[],this._rLabels=[],this._hLabels=[],this._valuesDirty){let t=0,e=0,i=0,s=1/0,a=0;p.each(this._dataItems,i=>{let s=i.get("valueWorking",0);t+=s,e+=Math.abs(s)}),p.each(this._dataItems,t=>{let l=t.get("valueWorking",0);l>i&&(i=l),l<s&&(s=l),a++;let r=l/e;0==e&&(r=0),t.setRaw("valuePercentTotal",100*r)}),this.setPrivateRaw("valueLow",s),this.setPrivateRaw("valueHigh",i),this.setPrivateRaw("valueSum",t),this.setPrivateRaw("valueAverage",t/a),this.setPrivateRaw("valueAbsoluteSum",e)}}show(t){let e=Object.create(null,{show:{get:()=>super.show}});return(0,c.sH)(this,void 0,void 0,function*(){let i=[];i.push(e.show.call(this,t)),i.push(this._sequencedShowHide(!0,t)),yield Promise.all(i)})}hide(t){let e=Object.create(null,{hide:{get:()=>super.hide}});return(0,c.sH)(this,void 0,void 0,function*(){let i=[];i.push(e.hide.call(this,t)),i.push(this._sequencedShowHide(!1,t)),yield Promise.all(i)})}_updateChildren(){super._updateChildren(),this._valuesDirty&&p.each(this._dataItems,t=>{t.get("label").text.markDirtyText()}),(this.isDirty("legendLabelText")||this.isDirty("legendValueText"))&&p.each(this._dataItems,t=>{this.updateLegendValue(t)}),this._arrange()}_arrange(){this._arrangeDown(this._lLabels),this._arrangeUp(this._lLabels),this._arrangeDown(this._rLabels),this._arrangeUp(this._rLabels),this._arrangeLeft(this._hLabels),this._arrangeRight(this._hLabels),p.each(this.dataItems,t=>{this._updateTick(t)})}_afterChanged(){super._afterChanged(),this._arrange()}processDataItem(t){if(super.processDataItem(t),null==t.get("fill")){let e=this.get("colors");e&&t.setRaw("fill",e.next())}if(null==t.get("fillPattern")){let e=this.get("patterns");e&&t.setRaw("fillPattern",e.next())}}showDataItem(t,e){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return(0,c.sH)(this,void 0,void 0,function*(){let s=[i.showDataItem.call(this,t,e)];y.isNumber(e)||(e=this.get("stateAnimationDuration",0));let a=this.get("stateAnimationEasing"),l=t.get("value"),r=t.animate({key:"valueWorking",to:l,duration:e,easing:a});r&&s.push(r.waitForStop());let n=t.get("tick");n&&s.push(n.show(e));let h=t.get("label");h&&s.push(h.show(e));let o=t.get("slice");o&&s.push(o.show(e)),o.get("active")&&o.states.applyAnimate("active"),yield Promise.all(s)})}hideDataItem(t,e){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return(0,c.sH)(this,void 0,void 0,function*(){let s=[i.hideDataItem.call(this,t,e)],a=this.states.create("hidden",{});y.isNumber(e)||(e=a.get("stateAnimationDuration",this.get("stateAnimationDuration",0)));let l=a.get("stateAnimationEasing",this.get("stateAnimationEasing")),r=t.animate({key:"valueWorking",to:0,duration:e,easing:l});r&&s.push(r.waitForStop());let n=t.get("tick");n&&s.push(n.hide(e));let h=t.get("label");h&&s.push(h.hide(e));let o=t.get("slice");o.hideTooltip(),o&&s.push(o.hide(e)),yield Promise.all(s)})}disposeDataItem(t){super.disposeDataItem(t);let e=t.get("label");e&&(this.labels.removeValue(e),e.dispose());let i=t.get("tick");i&&(this.ticks.removeValue(i),i.dispose());let s=t.get("slice");
1s&&(this.slices.removeValue(s),s.dispose())}hoverDataItem(t){let e=t.get("slice");e&&!e.isHidden()&&e.hover()}unhoverDataItem(t){let e=t.get("slice");e&&e.unhover()}updateLegendMarker(t){if(t){let e=t.get("slice");if(e){let i=t.get("legendDataItem");if(i){let t=i.get("markerRectangle");p.each(g.o,i=>{null!=e.get(i)&&t.set(i,e.get(i))})}}}}_arrangeDown(t){if(t){let e=this._getNextDown();t.sort((t,e)=>t.y>e.y?1:t.y<e.y?-1:0),p.each(t,t=>{let i=t.label.adjustedLocalBounds(),s=i.top;t.y+s<e&&(t.y=e-s),t.label.set("y",t.y),e=t.y+i.bottom})}}_getNextUp(){return this.labelsContainer.maxHeight()}_getNextDown(){return 0}_arrangeUp(t){if(t){let e=this._getNextUp();t.sort((t,e)=>t.y<e.y?1:t.y>e.y?-1:0),p.each(t,t=>{let i=t.label.adjustedLocalBounds(),s=i.bottom;t.y+s>e&&(t.y=e-s),t.label.set("y",t.y),e=t.y+i.top})}}_arrangeRight(t){if(t){let e=0;t.sort((t,e)=>t.y>e.y?1:t.y<e.y?-1:0),p.each(t,t=>{let i=t.label.adjustedLocalBounds(),s=i.left;t.y+s<e&&(t.y=e-s),t.label.set("x",t.y),e=t.y+i.right})}}_arrangeLeft(t){if(t){let e=this.labelsContainer.maxWidth();t.sort((t,e)=>t.y<e.y?1:t.y>e.y?-1:0),p.each(t,t=>{let i=t.label.adjustedLocalBounds(),s=i.right;t.y+s>e&&(t.y=e-s),t.label.set("x",t.y),e=t.y+i.left})}}_updateSize(){super._updateSize(),this.markDirty()}_updateTick(t){}_dispose(){super._dispose();let t=this.chart;t&&t.series.removeValue(this)}}_.className="PercentSeries",_.classNames=u.s.classNames.concat([_.className]);var m=i(55395),x=i(73084);class f extends o{constructor(){super(...arguments),this._maxRadius=1}_afterNew(){super._afterNew(),this.seriesContainer.setAll({x:l.yP,y:l.yP})}_prepareChildren(){super._prepareChildren();let t=this.chartContainer,e=t.innerWidth(),i=t.innerHeight(),s=this.get("startAngle",0),a=this.get("endAngle",0),r=this.get("innerRadius"),n=x.getArcBounds(0,0,s,a,1),h=e/(n.right-n.left),o=i/(n.bottom-n.top),c={left:0,right:0,top:0,bottom:0};if(r instanceof l.QE){let t=r.value,l=Math.min(h,o);t=Math.max(l*t,l-Math.min(i,e))/l,c=x.getArcBounds(0,0,s,a,t),this.setPrivateRaw("irModifyer",t/r.value)}n=x.mergeBounds([n,c]);let u=this._maxRadius;this._maxRadius=Math.min(h,o);let d=m.relativeToValue(this.get("radius",0),this._maxRadius);this.seriesContainer.setAll({dy:-d*(n.bottom+n.top)/2,dx:-d*(n.right+n.left)/2}),(this.isDirty("startAngle")||this.isDirty("endAngle")||u!=this._maxRadius)&&this.series.each(t=>{t._markDirtyKey("startAngle")}),(this.isDirty("innerRadius")||this.isDirty("radius"))&&this.series.each(t=>{t._markDirtyKey("innerRadius")})}radius(t){let e=m.relativeToValue(this.get("radius",0),this._maxRadius),i=m.relativeToValue(this.get("innerRadius",0),e);if(t){let s=this.series.indexOf(t),a=this.series.length,l=t.get("radius");return null!=l?i+m.relativeToValue(l,e-i):i+(e-i)/a*(s+1)}return e}innerRadius(t){let e=this.radius(),i=m.relativeToValue(this.get("innerRadius",0),e);if(i<0&&(i=e+i),t){let s=this.series.indexOf(t),a=this.series.length,l=t.get("innerRadius");return null!=l?i+m.relativeToValue(l,e-i):i+(e-i)/a*s}return i}_updateSize(){super._updateSize(),this.markDirtyKey("radius")}}f.className="PieChart",f.classNames=o.classNames.concat([f.className]);var b=i(47088),v=i(27928),k=i(44547),D=i(8333),A=i(47514);class T extends _{_makeSlices(){return new A.TS(b.Bj.new({}),()=>v.J._new(this._root,{themeTags:m.mergeTags(this.slices.template.get("themeTags",[]),["pie","series"])},[this.slices.template]))}_makeLabels(){return new A.TS(b.Bj.new({}),()=>D.i._new(this._root,{themeTags:m.mergeTags(this.labels.template.get("themeTags",[]),["pie","series"])},[this.labels.template]))}_makeTicks(){return new A.TS(b.Bj.new({}),()=>k.g._new(this._root,{themeTags:m.mergeTags(this.ticks.template.get("themeTags",[]),["pie","series"])},[this.ticks.template]))}processDataItem(t){super.processDataItem(t);let e=this.makeSlice(t);e.on("scale",()=>{this._updateTick(t)}),e.on("shiftRadius",()=>{this._updateTick(t)}),e.events.on("positionchanged",()=>{this._updateTick(t)});let i=this.makeLabel(t);i.events.on("positionchanged",()=>{this._updateTick(t)}),this.makeTick(t),e.events.on("positionchanged",()=>{i.markDirty()})}_getNextUp(){let t=this.chart;return t?t._maxRadius:this.labelsContainer.maxHeight()/2}_getNextDown(){let t=this.chart;return t?-t._maxRadius:-this.labelsContainer.maxHeight()/2}_prepareChildren(){super._prepareChildren();let t=this.chart;if(t){if(this.isDirty("alignLabels")){let t=this.labels.template;if(this.get("alignLabels"))t.set("textType","aligned");else{let e=t.get("textType");(null==e||"aligned"==e)&&t.set("textType","adjusted")}}
1if(this._valuesDirty||this.isDirty("radius")||this.isDirty("innerRadius")||this.isDirty("startAngle")||this.isDirty("endAngle")||this.isDirty("alignLabels")){this.markDirtyBounds();let e=this.get("startAngle",t.get("startAngle",-90)),i=this.get("endAngle",t.get("endAngle",270))-e,s=e,a=t.radius(this);this.setPrivateRaw("radius",a);let r=t.innerRadius(this)*t.getPrivate("irModifyer",1);r<0&&(r=a+r),p.each(this._dataItems,t=>{this.updateLegendValue(t);let e=i*t.get("valuePercentTotal")/100,n=t.get("slice");if(n){n.set("radius",a),n.set("innerRadius",r),n.set("startAngle",s),n.set("arc",e);let i=t.get("fill");n._setDefault("fill",i),n._setDefault("stroke",i);let l=t.get("fillPattern");n._setDefault("fillPattern",l)}let h=x.normalizeAngle(s+e/2),o=t.get("label");if(o&&(o.setPrivate("radius",a),o.setPrivate("innerRadius",r),o.set("labelAngle",h),"aligned"==o.get("textType"))){let t=a+o.get("radius",0),e=a*x.sin(h);h>90&&h<=270?(o.isHidden()||o.isHiding()||this._lLabels.push({label:o,y:e}),t*=-1,t-=this.labelsContainer.get("paddingLeft",0),o.set("centerX",l.Q2),o.setPrivateRaw("left",!0)):(o.isHidden()||o.isHiding()||this._rLabels.push({label:o,y:e}),t+=this.labelsContainer.get("paddingRight",0),o.set("centerX",0),o.setPrivateRaw("left",!1)),o.set("x",t),o.set("y",a*x.sin(h))}s+=e,this._updateTick(t)})}}}_updateTick(t){let e=t.get("tick"),i=t.get("label"),s=t.get("slice"),a=e.get("location",1);if(e&&i&&s){let t=(s.get("shiftRadius",0)+s.get("radius",0))*s.get("scale",1)*a,l=i.get("labelAngle",0),r=x.cos(l),n=x.sin(l),h=this.labelsContainer,o=h.get("paddingLeft",0),c=h.get("paddingRight",0),u=0,d=0;u=i.x(),d=i.y();let g=[];if(0!=u||0!=d){if("circular"==i.get("textType")){let t=i.radius()-i.get("paddingBottom",0),e=i.get("labelAngle",0);u=t*x.cos(e),d=t*x.sin(e)}let e=-c;i.getPrivate("left")&&(e=o),g=[{x:s.x()+t*r,y:s.y()+t*n},{x:u+e,y:d},{x:u,y:d}]}e.set("points",g)}}_positionBullet(t){let e=t.get("sprite");if(e){let i=e.dataItem.get("slice");if(i){let s=i.get("innerRadius",0),a=i.get("radius",0),l=i.get("startAngle",0),r=i.get("arc",0),n=t.get("locationX",.5),h=t.get("locationY",.5),o=l+r*n,c=s+(a-s)*h;e.setAll({x:x.cos(o)*c,y:x.sin(o)*c})}}}}T.className="PieSeries",T.classNames=_.classNames.concat([T.className]);class w extends g.A{constructor(){super(...arguments),this._projectionDirty=!1,this._tlx=0,this._tly=0,this._trx=0,this._try=0,this._blx=0,this._bly=0,this._brx=0,this._bry=0,this._cprx=0,this._cplx=0,this._cpry=0,this._cply=0}_afterNew(){super._afterNew(),this.set("draw",t=>{let e=Math.min(this.width(),this.height())/2,i=m.relativeToValue(this.get("cornerRadiusTL",0),e),s=m.relativeToValue(this.get("cornerRadiusTR",0),e),a=m.relativeToValue(this.get("cornerRadiusBR",0),e),l=m.relativeToValue(this.get("cornerRadiusBL",0),e),r=this._trx,n=this._try,h=this._tlx,o=this._tly,c=this._brx,u=this._bry,d=this._blx,g=this._bly;n==o&&(n-=.01),u==g&&(u-=.01);let p=x.getAngle({x:h,y:o},{x:r,y:n}),y=x.getAngle({x:r,y:n},{x:c,y:u}),_=x.getAngle({x:c,y:u},{x:d,y:g}),f=x.getAngle({x:d,y:g},{x:h,y:o});"horizontal"==this.get("orientation")?(i=Math.min(i,Math.abs(o-n)/2),s=Math.min(s,Math.abs(o-n)/2),a=Math.min(a,Math.abs(g-u)/2),l=Math.min(l,Math.abs(g-u)/2)):(i=Math.min(i,Math.abs(h-r)/2),s=Math.min(s,Math.abs(h-r)/2),a=Math.min(a,Math.abs(d-c)/2),l=Math.min(l,Math.abs(d-c)/2));let b=h-i*x.tan((p-f)/2)*x.cos(f),v=o-i*x.tan((p-f)/2)*x.sin(f),k=h-i*x.tan((f-p)/2)*x.cos(p),D=o-i*x.tan((f-p)/2)*x.sin(p),A=r-s*x.tan((y-p)/2)*x.cos(p),T=n-s*x.tan((y-p)/2)*x.sin(p),w=r-s*x.tan((p-y)/2)*x.cos(y),P=n-s*x.tan((p-y)/2)*x.sin(y),N=c-a*x.tan((_-y)/2)*x.cos(y),R=u-a*x.tan((_-y)/2)*x.sin(y),C=c-a*x.tan((y-_)/2)*x.cos(_),L=u-a*x.tan((y-_)/2)*x.sin(_),S=d-l*x.tan((f-_)/2)*x.cos(_),I=g-l*x.tan((f-_)/2)*x.sin(_),M=d-l*x.tan((_-f)/2)*x.cos(f),F=g-l*x.tan((_-f)/2)*x.sin(f);t.moveTo(k,D),t.lineTo(A,T),t.arcTo(r,n,w,P,s),t.quadraticCurveTo(this._cprx,this._cpry,N,R),t.arcTo(c,u,C,L,a),t.lineTo(S,I),t.arcTo(d,g,M,F,l),t.quadraticCurveTo(this._cplx,this._cply,b,v),t.arcTo(h,o,k,D,i)})}getPoint(t,e){let i=this.width(),s=this.height(),a=this.get("topWidth",0),l=this.get("bottomWidth",0);
1if("vertical"==this.get("orientation")){let i=-a/2,r=a/2,n=i+(-l/2-i)*e;return{x:n+(r+(l/2-r)*e-n)*t,y:s*e}}{let s=-a/2,r=a/2,n=s+(-l/2-s)*t;return{x:i*t,y:n+(r+(l/2-r)*t-n)*e}}}_changed(){if(this.isDirty("topWidth")||this.isDirty("bottomWidth")||this.isDirty("expandDistance")||this.isDirty("orientation")||this.isDirty("width")||this.isDirty("height")){let t=this.width(),e=this.height(),i=this.get("topWidth",0),s=this.get("bottomWidth",0);this._clear=!0;let a=this.get("expandDistance",0);"vertical"==this.get("orientation")?(this._tlx=-i/2,this._tly=0,this._trx=i/2,this._try=0,this._brx=s/2,this._bry=e,this._blx=-s/2,this._bly=e,this._cprx=this._trx+(this._brx-this._trx)/2+a*e,this._cpry=this._try+.5*e,this._cplx=this._tlx+(this._blx-this._tlx)/2-a*e,this._cply=this._tly+.5*e):(this._tly=i/2,this._tlx=0,this._try=-i/2,this._trx=0,this._bry=-s/2,this._brx=t,this._bly=s/2,this._blx=t,this._cpry=this._try+(this._bry-this._try)/2-a*t,this._cprx=this._trx+.5*t,this._cply=this._tly+(this._bly-this._tly)/2+a*t,this._cplx=this._tlx+.5*t)}super._changed()}}w.className="FunnelSlice",w.classNames=g.A.classNames.concat([w.className]);var P=i(98996);class N extends _{constructor(){super(...arguments),this._tag="funnel",this.links=this.addDisposer(this._makeLinks()),this._total=0,this._count=0,this._nextCoord=0,this._opposite=!1}_makeSlices(){return new A.TS(b.Bj.new({}),()=>w._new(this._root,{themeTags:m.mergeTags(this.slices.template.get("themeTags",[]),[this._tag,"series","slice",this.get("orientation")])},[this.slices.template]))}_makeLabels(){return new A.TS(b.Bj.new({}),()=>P.J._new(this._root,{themeTags:m.mergeTags(this.labels.template.get("themeTags",[]),[this._tag,"series","label",this.get("orientation")])},[this.labels.template]))}_makeTicks(){return new A.TS(b.Bj.new({}),()=>k.g._new(this._root,{themeTags:m.mergeTags(this.ticks.template.get("themeTags",[]),[this._tag,"series","tick",this.get("orientation")])},[this.ticks.template]))}_makeLinks(){return new A.TS(b.Bj.new({}),()=>w._new(this._root,{themeTags:m.mergeTags(this.links.template.get("themeTags",[]),[this._tag,"series","link",this.get("orientation")])},[this.links.template]))}makeLink(t){let e=this.slicesContainer.children.push(this.links.make());return e._setDataItem(t),t.set("link",e),this.links.push(e),e}_afterNew(){super._afterNew();
1let t=this.slicesContainer;t.setAll({isMeasured:!0,position:"relative",width:(0,l.KN)(100),height:(0,l.KN)(100)}),t.onPrivate("width",()=>{this.markDirtySize()}),t.onPrivate("height",()=>{this.markDirtySize()}),"vertical"==this.get("orientation")?this.set("layout",this._root.horizontalLayout):this.set("layout",this._root.verticalLayout)}processDataItem(t){super.processDataItem(t);let e=this.makeSlice(t);e._setDataItem(t),t.set("slice",e),this.makeLink(t);let i=this.makeLabel(t);i.on("x",()=>{this._updateTick(t)}),i.on("y",()=>{this._updateTick(t)}),this.makeTick(t),e.events.on("positionchanged",()=>{i.markDirty()}),e.events.on("boundschanged",()=>{let t=e.dataItem;t&&this._updateTick(t)})}_updateChildren(){this._opposite=!1,0==this.children.indexOf(this.labelsContainer)&&(this._opposite=!0);let t=0,e=0;if(p.each(this.dataItems,i=>{let s=i.get("value");y.isNumber(s)&&(e++,s>0?t+=Math.abs(i.get("valueWorking",s)/s):this.get("ignoreZeroValues",!1)||i.isHidden()?e--:t+=1)}),this._total=1/e*t,this._count=e,this.isDirty("alignLabels")&&this._fixLayout(),this._total>0&&(this._valuesDirty||this._sizeDirty)){let t,e=this.slicesContainer;t="vertical"==this.get("orientation")?e.innerHeight():e.innerWidth(),this._nextCoord=this.get("startLocation",0)*t,this.markDirtyBounds();let i=0;p.each(this._dataItems,t=>{this.updateLegendValue(t),t.set("index",i),i++;let e=t.get("slice"),s=t.get("tick"),a=t.get("label"),l=t.get("link"),r=t.get("fill"),n=t.get("fillPattern");e._setDefault("fill",r),e._setDefault("stroke",r),e._setDefault("fillPattern",n),l._setDefault("fill",r),l._setDefault("stroke",r);let h=t.get("value");y.isNumber(h)&&(0==h&&this.get("ignoreZeroValues")?(e.setPrivate("visible",!1),s.setPrivate("visible",!1),a.setPrivate("visible",!1)):(e.setPrivate("visible",!0),s.setPrivate("visible",!0),a.setPrivate("visible",!0),this.decorateSlice(t),this.isLast(t)?l.setPrivate("visible",!1):t.isHidden()||l.setPrivate("visible",!0)))})}super._updateChildren()}_fixLayout(){let t=this.get("orientation"),e=this.labelsContainer,i=this.labels.template;this.get("alignLabels")?(e.set("position","relative"),e.setAll({isMeasured:!0}),"vertical"==t?(this.set("layout",this._root.horizontalLayout),i.setAll({centerX:l.Q2,x:l.Q2})):(this.set("layout",this._root.verticalLayout),i.setAll({centerX:0,x:0}))):(e.setAll({isMeasured:!1,position:"absolute"}),"vertical"==t?(e.setAll({x:l.yP}),i.setAll({centerX:l.yP,x:0})):(e.setAll({y:l.yP}),i.setAll({centerX:l.yP,y:0}))),this.markDirtySize()}getNextValue(t){let e=t.get("index"),i=t.get("valueWorking",0);if(e<this.dataItems.length-1){let t=this.dataItems[e+1];if(i=t.get("valueWorking",0),t.isHidden()||0==t.get("value")&&this.get("ignoreZeroValues"))return this.getNextValue(t)}return i}isLast(t){let e=t.get("index");if(e==this.dataItems.length-1);else for(let t=e+1;t<this.dataItems.length;t++)if(!this.dataItems[t].isHidden())return!1;return!0}decorateSlice(t){let e=this.get("orientation"),i=t.get("slice"),s=t.get("label"),a=t.get("link"),l=this.slicesContainer,r=l.innerWidth(),n=l.innerHeight(),h=r;"horizontal"==e&&(h=n);let o=this.getNextValue(t),c=t.get("value",0),u=Math.abs(t.get("valueWorking",c)),d=this.get("bottomRatio",0),g=this.getPrivate("valueHigh",0),p=1;0!=c?p=u/Math.abs(c):t.isHidden()&&(p=1e-6),this._nextCoord==1/0&&(this._nextCoord=0);let y=u/g*h,_=(u-(u-o)*d)/g*h;i.setAll({topWidth:y,bottomWidth:_,orientation:e}),a.setAll({topWidth:_,bottomWidth:(u-(u-o))/g*h,orientation:e});let m=this.get("startLocation",0),x=this.get("endLocation",1);if("vertical"==e){let t=a.height()*p;n=n*(x-m)+t,i.set("y",this._nextCoord);let e=Math.min(1e5,Math.max(0,n/this._count*p/this._total-t));i.setAll({height:e,x:r/2});let l=this._nextCoord+e/2;s.set("y",l),this._nextCoord+=e+t,a.setAll({y:this._nextCoord-t,x:r/2})}else{let t=a.width()*p;r=r*(x-m)+t,i.set("x",this._nextCoord);let e=Math.min(1e5,Math.max(0,r/this._count*p/this._total-t));i.setAll({width:e,y:n/2});let l=this._nextCoord+e/2;s.set("x",l),this._nextCoord+=e+t,a.setAll({x:this._nextCoord-t,y:n/2})}}hideDataItem(t,e){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return(0,c.sH)(this,void 0,void 0,function*(){return t.get("link").hide(e),i.hideDataItem.call(this,t,e)})}showDataItem(t,e){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return(0,c.sH)(this,void 0,void 0,function*(){return t.get("link").show(e),i.showDataItem.call(this,t,e)})}_updateTick(t){if(this.get("alignLabels")){let e=t.get("tick"),i=t.get("label"),s=t.get("slice");
1if(e&&s&&i){let t=this.labelsContainer,a=this.slicesContainer,l=e.get("location",.5),r=t.width(),n=t.height(),h=t.get("paddingLeft",0),o=t.get("paddingRight",0),c=t.get("paddingTop",0),u=t.get("paddingBottom",0),d={x:0,y:0},g={x:0,y:0},p={x:0,y:0};this._opposite&&(l=1-l),"vertical"==this.get("orientation")?(d=s.getPoint(l,.5),d.x+=s.x()+a.x(),d.y+=s.y()+a.y(),this._opposite?(g.x=r,g.y=i.y(),p.x=r-h):(g.x=a.x()+a.width(),g.y=i.y(),p.x=g.x+r-i.width()-o),p.y=g.y):(d=s.getPoint(.5,l),d.x+=s.x()+a.x(),d.y+=s.y()+a.y(),this._opposite?(g.y=n,g.x=i.x(),p.y=n-c):(g.y=a.y()+a.height(),g.x=i.x(),p.y=g.y+n-i.height()-u),p.x=g.x),e.set("points",[d,g,p])}}}disposeDataItem(t){super.disposeDataItem(t);let e=t.get("link");e&&(this.links.removeValue(e),e.dispose())}_positionBullet(t){let e=t.get("sprite");if(e){let i=e.dataItem.get("slice");if(i){let s=i.width(),a=i.height(),l=t.get("locationX",.5),r=t.get("locationY",.5),n=0,h=0;"horizontal"==this.get("orientation")?h=a/2:n=s/2,e.setAll({x:i.x()+s*l-n,y:i.y()-h+a*r})}}}}N.className="FunnelSeries",N.classNames=_.classNames.concat([N.className]);class R extends N{constructor(){super(...arguments),this._tag="pyramid"}_prepareChildren(){super._prepareChildren(),this._nextSize=void 0}decorateSlice(t){let e,i,s=this.get("orientation"),a=this.slicesContainer,r=t.get("slice"),n=t.get("label"),h=t.get("link"),o=this.get("valueIs","area"),c=this.getPrivate("valueAbsoluteSum",0);if(0==c)return;let u=this.get("startLocation",0),d=this.get("endLocation",1),g=this.get("topWidth",0),p=this.get("bottomWidth",l.Q2),_=Math.abs(t.get("valueWorking",0)),x=t.get("value",0),f=a.innerHeight(),b=a.innerWidth(),v=h.width(),k=h.height();"horizontal"==s&&([b,f]=[f,b],[v,k]=[k,v]);let D=b/2,A=1;0!=x?A=_/Math.abs(x):t.isHidden()&&(A=1e-6),k*=A,f=f*(d-u)-k*(this._count*this._total-1);let T=m.relativeToValue(g,b);y.isNumber(this._nextSize)||(this._nextSize=T);let w=m.relativeToValue(p,b),P=this._nextSize,N=Math.tan(Math.PI/2-Math.atan2(f,T-w));if(0==N&&(N=1e-8),"area"==o){let t=(T+w)/2*f*_/c,s=Math.abs(P*P-2*t*N);i=(e=(P-Math.sqrt(s))/N)>0?(2*t-e*P)/e:P}else i=P-(e=f*_/c)*N;let R=this._nextCoord+e/2,C=D,L=this._nextCoord,S=D,I=L+e;"vertical"==s?(n.set("y",R),n.get("opacity")>0&&this._rLabels.push({label:n,y:R}),r.set("height",e)):(n.set("x",R),n.get("opacity")>0&&this._hLabels.push({label:n,y:R}),[C,L]=[L,C],[S,I]=[I,S],r.set("width",e)),r.setAll({orientation:s,bottomWidth:i,topWidth:P,x:C,y:L}),h.setAll({orientation:s,x:S,y:I,topWidth:i,bottomWidth:i}),this._nextSize=i,this._nextCoord+=e+k}}R.className="PyramidSeries",R.classNames=N.classNames.concat([R.className]);class C extends R{constructor(){super(...arguments),this._tag="pictorial",this.seriesMask=g.A.new(this._root,{position:"absolute",x:l.yP,y:l.yP,centerX:l.yP,centerY:l.yP}),this.seriesGraphics=this.slicesContainer.children.push(g.A.new(this._root,{themeTags:["pictorial","background"],position:"absolute",x:l.yP,y:l.yP,centerX:l.yP,centerY:l.yP}))}_afterNew(){super._afterNew(),this.set("topWidth",l.Q2),this.set("bottomWidth",l.Q2),this.set("valueIs","height"),this.slicesContainer.set("mask",this.seriesMask)}
1_updateScale(){let t=this.slicesContainer,e=t.innerWidth(),i=t.innerHeight(),s=this.seriesMask,a=this.seriesGraphics,l=s.get("scale",1),r=s.localBounds(),n=r.right-r.left,h=r.bottom-r.top;(l="horizontal"==this.get("orientation")?e/n:i/h)!=1/0&&l!=NaN&&(s.set("scale",l),s.set("x",e/2),s.set("y",i/2),a.set("scale",l),a.set("x",e/2),a.set("y",i/2))}_prepareChildren(){if(super._prepareChildren(),this.isDirty("svgPath")){let t=this.get("svgPath");this.seriesMask.set("svgPath",t),this.seriesGraphics.set("svgPath",t)}this._updateScale()}}C.className="PictorialStackedSeries",C.classNames=R.classNames.concat([C.className]);class L extends o{_afterNew(){super._afterNew(),this.seriesContainer.setAll({isMeasured:!0,layout:this._root.horizontalLayout})}}L.className="SlicedChart",L.classNames=o.classNames.concat([L.className])}}]);

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.