1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1242],{75407:function(e,t,n){var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.TooltipBorder=t.Tooltip=t.Title=t.Subtitle=t.SmallValuesGrouping=t.Size=t.Shadow=t.SeriesTemplate=t.SeriesBorder=t.Series=t.SelectionStyle=t.PieChartTitleSubtitle=t.PieChartTitle=t.Margin=t.LoadingIndicator=t.LegendTitleSubtitle=t.LegendTitle=t.Legend=t.Label=t.Image=t.HoverStyle=t.Hatching=t.Format=t.Font=t.Export=t.Connector=t.CommonSeriesSettings=t.CommonAnnotationSettings=t.Border=t.ArgumentFormat=t.AnnotationBorder=t.Annotation=t.Animation=t.AdaptiveLayout=t.PieChart=void 0;var r=n(70899),a=n(45697),l=n(76907),s=n(85287),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._WidgetClass=r.default,t.subscribableOptions=["loadingIndicator","loadingIndicator.show"],t.independentEvents=["onDisposing","onDone","onDrawn","onExported","onExporting","onFileSaving","onIncidentOccurred","onInitialized","onLegendClick","onPointClick","onTooltipHidden","onTooltipShown"],t._defaults={defaultLoadingIndicator:"loadingIndicator"},t._expectedChildren={adaptiveLayout:{optionName:"adaptiveLayout",isCollectionItem:!1},animation:{optionName:"animation",isCollectionItem:!1},annotation:{optionName:"annotations",isCollectionItem:!0},commonAnnotationSettings:{optionName:"commonAnnotationSettings",isCollectionItem:!1},commonSeriesSettings:{optionName:"commonSeriesSettings",isCollectionItem:!1},export:{optionName:"export",isCollectionItem:!1},legend:{optionName:"legend",isCollectionItem:!1},loadingIndicator:{optionName:"loadingIndicator",isCollectionItem:!1},margin:{optionName:"margin",isCollectionItem:!1}
1,pieChartTitle:{optionName:"title",isCollectionItem:!1},series:{optionName:"series",isCollectionItem:!0},seriesTemplate:{optionName:"seriesTemplate",isCollectionItem:!1},size:{optionName:"size",isCollectionItem:!1},title:{optionName:"title",isCollectionItem:!1},tooltip:{optionName:"tooltip",isCollectionItem:!1}},t._templateProps=[{tmplOption:"centerTemplate",render:"centerRender",component:"centerComponent",keyFn:"centerKeyFn"}],t}return o(t,e),Object.defineProperty(t.prototype,"instance",{get:function(){return this._instance},enumerable:!1,configurable:!0}),t}(l.Component);t.PieChart=u,u.propTypes={adaptiveLayout:a.object,animation:a.oneOfType([a.bool,a.object]),annotations:a.array,commonAnnotationSettings:a.object,customizeAnnotation:a.func,customizeLabel:a.func,customizePoint:a.func,diameter:a.number,disabled:a.bool,elementAttr:a.object,export:a.object,innerRadius:a.number,legend:a.object,loadingIndicator:a.object,margin:a.object,minDiameter:a.number,onDisposing:a.func,onDone:a.func,onDrawn:a.func,onExported:a.func,onExporting:a.func,onFileSaving:a.func,onIncidentOccurred:a.func,onInitialized:a.func,onLegendClick:a.func,onOptionChanged:a.func,onPointClick:a.func,onPointHoverChanged:a.func,onPointSelectionChanged:a.func,onTooltipHidden:a.func,onTooltipShown:a.func,palette:a.oneOfType([a.array,a.oneOf(["Bright","Harmony Light","Ocean","Pastel","Soft","Soft Pastel","Vintage","Violet","Carmine","Dark Moon","Dark Violet","Green Mist","Soft Blue","Material","Office"])]),paletteExtensionMode:a.oneOf(["alternate","blend","extrapolate"]),pathModified:a.bool,pointSelectionMode:a.oneOf(["single","multiple"]),redrawOnResize:a.bool,resolveLabelOverlapping:a.oneOf(["hide","none","shift"]),rtlEnabled:a.bool,segmentsDirection:a.oneOf(["anticlockwise","clockwise"]),series:a.oneOfType([a.array,a.object]),seriesTemplate:a.object,size:a.object,sizeGroup:a.string,startAngle:a.number,theme:a.oneOf(["generic.dark","generic.light","generic.contrast","generic.carmine","generic.darkmoon","generic.darkviolet","generic.greenmist","generic.softblue","material.blue.light","material.lime.light","material.orange.light","material.purple.light","material.teal.light"]),title:a.oneOfType([a.object,a.string]),tooltip:a.object,type:a.oneOf(["donut","doughnut","pie"])};var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="adaptiveLayout",t}(s.default);t.AdaptiveLayout=c;var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="animation",t}(s.default);t.Animation=p;var m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="annotations",t.IsCollectionItem=!0,t.ExpectedChildren={annotationBorder:{optionName:"border",isCollectionItem:!1},border:{optionName:"border",isCollectionItem:!1},font:{optionName:"font",isCollectionItem:!1},image:{optionName:"image",isCollectionItem:!1},shadow:{optionName:"shadow",isCollectionItem:!1}},t.TemplateProps=[{tmplOption:"template",render:"render",component:"component",keyFn:"keyFn"},{tmplOption:"tooltipTemplate",render:"tooltipRender",component:"tooltipComponent",keyFn:"tooltipKeyFn"}],t}(s.default);t.Annotation=m;var d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="border",t}(s.default);t.AnnotationBorder=d;var h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="argumentFormat",t}(s.default);t.ArgumentFormat=h;var f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="border",t}(s.default);t.Border=f;var g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="commonAnnotationSettings",t.TemplateProps=[{tmplOption:"template",render:"render",component:"component",keyFn:"keyFn"},{tmplOption:"tooltipTemplate",render:"tooltipRender",component:"tooltipComponent",keyFn:"tooltipKeyFn"}],t}(s.default);t.CommonAnnotationSettings=g;var v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="commonSeriesSettings",t.ExpectedChildren={border:{optionName:"border",isCollectionItem:!1},hoverStyle:{optionName:"hoverStyle",isCollectionItem:!1},label:{optionName:"label",isCollectionItem:!1},selectionStyle:{optionName:"selectionStyle",isCollectionItem:!1},seriesBorder:{optionName:"border",isCollectionItem:!1},smallValuesGrouping:{optionName:"smallValuesGrouping",isCollectionItem:!1}},t}(s.default);t.CommonSeriesSettings=v;var y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="connector",t}(s.default);t.Connector=y;var C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="export",t}(s.default);t.Export=C;var _=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="font",t}(s.default);t.Font=_;var b=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="format",t}(s.default);t.Format=b;var S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="hatching",t}(s.default);t.Hatching=S;var N=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="hoverStyle",t.ExpectedChildren={border:{optionName:"border",isCollectionItem:!1},hatching:{optionName:"hatching",isCollectionItem:!1},seriesBorder:{optionName:"border",isCollectionItem:!1}},t}(s.default);t.HoverStyle=N;var I=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="image",t}(s.default);t.Image=I;var x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="label",t.ExpectedChildren={argumentFormat:{optionName:"argumentFormat",isCollectionItem:!1},border:{optionName:"border",isCollectionItem:!1}
1,connector:{optionName:"connector",isCollectionItem:!1},font:{optionName:"font",isCollectionItem:!1},format:{optionName:"format",isCollectionItem:!1},seriesBorder:{optionName:"border",isCollectionItem:!1}},t}(s.default);t.Label=x;var O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="legend",t.ExpectedChildren={annotationBorder:{optionName:"border",isCollectionItem:!1},border:{optionName:"border",isCollectionItem:!1},font:{optionName:"font",isCollectionItem:!1},legendTitle:{optionName:"title",isCollectionItem:!1},margin:{optionName:"margin",isCollectionItem:!1},title:{optionName:"title",isCollectionItem:!1}},t.TemplateProps=[{tmplOption:"markerTemplate",render:"markerRender",component:"markerComponent",keyFn:"markerKeyFn"}],t}(s.default);t.Legend=O;var T=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="title",t.ExpectedChildren={font:{optionName:"font",isCollectionItem:!1},legendTitleSubtitle:{optionName:"subtitle",isCollectionItem:!1},margin:{optionName:"margin",isCollectionItem:!1},subtitle:{optionName:"subtitle",isCollectionItem:!1}},t}(s.default);t.LegendTitle=T;var E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="subtitle",t.ExpectedChildren={font:{optionName:"font",isCollectionItem:!1}},t}(s.default);t.LegendTitleSubtitle=E;var L=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="loadingIndicator",t.DefaultsProps={defaultShow:"show"},t.ExpectedChildren={font:{optionName:"font",isCollectionItem:!1}},t}(s.default);t.LoadingIndicator=L;var P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="margin",t}(s.default);t.Margin=P;var A=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="title",t.ExpectedChildren={font:{optionName:"font",isCollectionItem:!1},margin:{optionName:"margin",isCollectionItem:!1},pieChartTitleSubtitle:{optionName:"subtitle",isCollectionItem:!1},subtitle:{optionName:"subtitle",isCollectionItem:!1}},t}(s.default);t.PieChartTitle=A;var j=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="subtitle",t.ExpectedChildren={font:{optionName:"font",isCollectionItem:!1}},t}(s.default);t.PieChartTitleSubtitle=j;var F=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="selectionStyle",t.ExpectedChildren={border:{optionName:"border",isCollectionItem:!1},hatching:{optionName:"hatching",isCollectionItem:!1},seriesBorder:{optionName:"border",isCollectionItem:!1}},t}(s.default);t.SelectionStyle=F;var k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="series",t.IsCollectionItem=!0,t}(s.default);t.Series=k;var D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="border",t}(s.default);t.SeriesBorder=D;var z=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="seriesTemplate",t}(s.default);t.SeriesTemplate=z;var w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="shadow",t}(s.default);t.Shadow=w;var M=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="size",t}(s.default);t.Size=M;var R=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="smallValuesGrouping",t}(s.default);t.SmallValuesGrouping=R;var B=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="subtitle",t}(s.default);t.Subtitle=B;var G=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="title",t}(s.default);t.Title=G;var V=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="tooltip",t.ExpectedChildren={argumentFormat:{optionName:"argumentFormat",isCollectionItem:!1},border:{optionName:"border",isCollectionItem:!1},font:{optionName:"font",isCollectionItem:!1},format:{optionName:"format",isCollectionItem:!1},shadow:{optionName:"shadow",isCollectionItem:!1},tooltipBorder:{optionName:"border",isCollectionItem:!1}},t.TemplateProps=[{tmplOption:"contentTemplate",render:"contentRender",component:"
1contentComponent",keyFn:"contentKeyFn"}],t}(s.default);t.Tooltip=V;var H=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.OptionName="border",t}(s.default);t.TooltipBorder=H,t.default=u},70899:function(e,t,n){n.r(t),n.d(t,{default:function(){return I}});var i=n(32256),o=n(96864),r=n(44099),a=n(50450),l=n(63419),s=n(56065),u=n(652),c=n(16755),p=n(72264),m=Number;function d(){this.setDomain(arguments[0],arguments[1]).setCodomain(arguments[2],arguments[3]).setInverted(!1)}d.prototype={constructor:d,setDomain:function(e,t){return this._domain1=m(e),this._domain2=m(t),this._domainDelta=this._domain2-this._domain1,this},setCodomain:function(e,t){return this._codomain1=m(e),this._codomain2=m(t),this._codomainDelta=this._codomain2-this._codomain1,this},setInverted(e){this.inverted=e},getDomain:function(){return[this._domain1,this._domain2]},getCodomain:function(){return[this._codomain1,this._codomain2]},getDomainStart:function(){return this._domain1},getDomainEnd:function(){return this._domain2},getCodomainStart:function(){return this._codomain1},getCodomainEnd:function(){return this._codomain2},getDomainRange:function(){return this._domainDelta},getCodomainRange:function(){return this._codomainDelta},translate:function(e){var t=(m(e)-this._domain1)/this._domainDelta;return this.inverted&&(t=1-t),0<=t&&t<=1?this._codomain1+t*this._codomainDelta:NaN},adjust:function(e){var t=(m(e)-this._domain1)/this._domainDelta,n=NaN;return t<0?n=this._domain1:t>1?n=this._domain2:0<=t&&t<=1&&(n=m(e)),n}};var h=n(30677),{states:f}=i.default,g=i.default.pieSeriesSpacing,v=f.normalMark,y=f.hoverMark,C=f.selectedMark,_=[f.resetItem,f.applyHover,f.applySelected,f.applySelected];function b(e){return(0,a.kE)(e)?e>1?e=1:e<0&&(e=0):e=void 0,e}var S=function(){function e(e,t){return e.filter(function(e){return e!==t})}var t=[],n={};return{queue:function(i){var o=i.getSizeGroup();t=e(t,i).concat(i),clearTimeout(n[o]),n[o]=setTimeout(function(){var e,n,i;e=t.filter(e=>e._isVisible()&&e.getSizeGroup()===o),n=Math.min.apply(null,e.map(e=>e.getSizeGroupLayout().radius)),i=e.filter(e=>e.getSizeGroupLayout().radius===n),e.forEach(e=>e.render({force:!0,sizeGroupLayout:i.length?i[0].getSizeGroupLayout():{}}))})},remove:function(i){(t=e(t,i)).length||(n={})}}}(),N=c.P.inherit({_themeSection:"pie",_layoutManagerOptions:function(){return(0,r.l)(!0,{},this.callBase(),{piePercentage:b(this._themeManager.getOptions("diameter")),minPiePercentage:b(this._themeManager.getOptions("minDiameter"))})},_customChangesOrder:["CENTER_TEMPLATE"],_optionChangesMap:{diameter:"REINIT",minDiameter:"REINIT",sizeGroup:"REINIT",centerTemplate:"CENTER_TEMPLATE"},_change_CENTER_TEMPLATE(){this._renderCenterTemplate()},_disposeCore:function(){S.remove(this),this.callBase(),this._centerTemplateGroup.linkOff().dispose()},_groupSeries:function(){var e=this.series;this._groupsData={groups:[{series:e,valueOptions:{valueType:"numeric"}}],argumentOptions:e[0]&&e[0].getOptions()}},getArgumentAxis:function(){return null},_getValueAxis:function(){var e=(new d).setCodomain(360,0);return{getTranslator:function(){return e},setBusinessRange:function(t){e.setDomain(t.min,t.max)}}},_populateBusinessRange:function(){this.series.map(function(e){var t=new s.e;return t.addRange(e.getRangeData().val),e.getValueAxis().setBusinessRange(t),t})},_specialProcessSeries:function(){(0,l.S6)(this.series,function(e,t){t.arrangePoints()})},_checkPaneName:function(){return!0},_processSingleSeries:function(e){this.callBase(e),e.arrangePoints()},_handleSeriesDataUpdated:function(){var e=0;this.series.forEach(function(t){e=Math.max(t.getPointsCount(),e)}),this.series.forEach(function(t){t.setMaxPointsCount(e)}),this.callBase()},_getLegendOptions:function(e){var t=this.callBase(e),n=t.legendData;return n.argument=e.argument,n.argumentIndex=e.argumentIndex,n.points=[e],t},_getLegendTargets:function(){var e=this,t={};
1(e.series||[]).forEach(function(e){e.getPoints().forEach(function(n){var i=n.argument.valueOf(),o=e.getPointsByArg(i).indexOf(n),r=i.valueOf().toString()+o;t[r]=t[r]||[];var a=t[r].push(n);n.index=t[r][a-2]?t[r][a-2].index:Object.keys(t).length-1,n.argumentIndex=o})});var n=[];return(0,l.S6)(t,function(t,i){i.forEach(function(t,i){if(0===i){n.push(e._getLegendOptions(t));return}var o=n[n.length-1];o.legendData.points.push(t),o.visible||(o.visible=t.isVisible())})}),n},_getLayoutTargets:function(){return[{canvas:this._canvas}]},_getLayoutSeries:function(e,t){var n,i=this._canvas,o=!1;return n=this.layoutManager.applyPieChartSeriesLayout(i,e,!0),e.forEach(function(e){e.correctPosition(n,i),o=e.drawLabelsWOPoints()||o}),o&&(n=this.layoutManager.applyPieChartSeriesLayout(i,e,t.hideLayoutLabels)),e.forEach(function(e){e.hideLabels()}),this._sizeGroupLayout={x:n.centerX,y:n.centerY,radius:n.radiusOuter,drawOptions:t},n},_getLayoutSeriesForEqualPies:function(e,t){var n=this._canvas,i=this.layoutManager.applyEqualPieChartLayout(e,t);return e.forEach(function(e){e.correctPosition(i,n),e.drawLabelsWOPoints()}),this.layoutManager.correctPieLabelRadius(e,i,n),i},_updateSeriesDimensions:function(e){var t,n,i,o=this._getVisibleSeries(),r=o.length,a=e.sizeGroupLayout;r&&(n=((i=a?this._getLayoutSeriesForEqualPies(o,a):this._getLayoutSeries(o,e)).radiusOuter-i.radiusInner-g*(r-1))/r,t=i.radiusInner,this._setGeometry(i),o.forEach(function(e){e.correctRadius({radiusInner:t,radiusOuter:t+n}),t+=n+g}))},_renderSeries:function(e,t,n){if(this._calculateSeriesLayout(e,t),!e.sizeGroupLayout&&this.get
1SizeGroup()){S.queue(this),this._clearCanvas();return}this._renderSeriesElements(e,n)},_createHtmlStructure(){this.callBase(),this._centerTemplateGroup=this._renderer.g().attr({class:"dxc-hole-template"}).linkOn(this._renderer.root,"center-template").css((0,o.FI)(this._themeManager._font)).linkAppend()},_renderExtraElements(){this._requestChange(["CENTER_TEMPLATE"])},_renderCenterTemplate(){var e=this.option("centerTemplate"),t=this._centerTemplateGroup.clear();e&&(t.attr({visibility:"hidden"}),(e=this._getTemplate(e)).render({model:this,container:t.element,onRendered:()=>{var e=t.getBBox();t.move(this._center.x-(e.x+e.width/2),this._center.y-(e.y+e.height/2)),t.attr({visibility:"visible"})}}))},getInnerRadius(){return this._innerRadius},_getLegendCallBack:function(){var e=this,t=this._legend,n=this._getLegendTargets().map(function(e){return e.legendData});return function(i){n.forEach(function(n){var o,r=[],a=t.getActionCallback({index:n.id});e.series.forEach(function(e){var t=e.getPointsByKeys(n.argument,n.argumentIndex);r.push.apply(r,t)}),i&&i.argument===n.argument&&i.argumentIndex===n.argumentIndex&&r.push(i),a((o=v,r.forEach(e=>{var t,n=null===(t=e.series)||void 0===t?void 0:t.getOptions(),i=e.fullState;"none"===(null==n?void 0:n.hoverMode)&&(i&=~y),"none"===(null==n?void 0:n.selectionMode)&&(i&=~C),o|=i}),_[o]))})}},_locateLabels(e){var t,n,i=0;do n=this._adjustSeriesLabels("shift"===e),t=this._resolveLabelOverlapping(e);while((t||n)&&++i<5)},_adjustSeriesLabels:function(e){return this.series.reduce((t,n)=>n.adjustLabels(e)||t,!1)},_applyExtraSettings:p.noop,_resolveLabelOverlappingShift:function(){var e=this,t="anticlockwise"===e.option("segmentsDirection"),n=e.series.reduce(function(e,t){return(e[t.getOptions().label.position]||e.outside).push(t),e},{inside:[],columns:[],outside:[]}),i=!1;return n.inside.length>0&&(i=a(n.inside.reduce(function(e,t){return t.getVisiblePoints().reduce(function(e,t){return e.left.push(t),e},e)},{left:[],right:[]}),l)||i),i=n.columns.reduce((e,t)=>a(r(t),l)||e,i),n.outside.length>0&&(i=a(n.outside.reduce(function(e,t){return r(t,e)},null),function(t,n){return(0,o.l$)(t,-n,e._center)})||i),i;function r(e,t){return e.getVisiblePoints().reduce(function(e,t){var n=(0,o.LW)(t.middleAngle);return(n<=90||n>=270?e.right:e.left).push(t),e},t||{left:[],right:[]})}function a(n,i){var o;return t&&(n.left.reverse(),n.right.reverse()),o=c.F.resolveLabelOverlappingInOneDirection(n.left,e._canvas,!1,!1,i),c.F.resolveLabelOverlappingInOneDirection(n.right,e._canvas,!1,!1,i)||o}function l(e,t){return{x:e.x,y:e.y-t}}},_setGeometry:function(e){var{centerX:t,centerY:n,radiusInner:i}=e;this._center={x:t,y:n},this._innerRadius=i},_disposeSeries(e){this.callBase.apply(this,arguments),this._abstractSeries=null},_legendDataField:"point",_legendItemTextField:"argument",_applyPointMarkersAutoHiding:p.noop,_renderTrackers:p.noop,_trackerType:"PieTracker",_createScrollBar:p.noop,_updateAxesLayout:p.noop,_applyClipRects:p.noop,_appendAdditionalSeriesGroups:p.noop,_prepareToRender:p.noop,_isLegendInside:p.noop,_renderAxes:p.noop,_shrinkAxes:p.noop,_isRotated:p.noop,_seriesPopulatedHandlerCore:p.noop,_reinitAxes:p.noop,_correctAxes:p.noop,_getExtraOptions:function(){return{startAngle:this.option("startAngle"),innerRadius:this.option("innerRadius"),segmentsDirection:this.option("segmentsDirection"),type:this.option("type")}},getSizeGroup:function(){return this._themeManager.getOptions("sizeGroup")},getSizeGroupLayout:function(){return this._sizeGroupLayout||{}}});(0,l.S6)(["startAngle","innerRadius","segmentsDirection","type"],function(e,t){N.prototype._optionChangesMap[t]="REFRESH_SERIES_DATA_INIT"}),N.addPlugin(h.G.core),N.addPlugin(h.G.pieChart),(0,u.Z)("dxPieChart",N);var I=N},51242:function(e,t,n){n.r(t);var i=n(85893),o=n(67294),r=n(62690),a=n(75407),l=n.n(a),s=n(92077),u=n.n(s),c=n(75218);t.default=e=>{let{users:t}=e,{Registration:n,Gender:a}=t,[s,p]=(0,o.useState)([]);return(0,o.useEffect)(()=>{p(t["User Interests"].States)},[t]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(r.Chart,{palette:"Harmony Light",dataSource:n,id:"registration-chart",children:[(0,i.jsx)(r.CommonSeriesSettings,{argumentField:"month",type:"splinearea"}),(0,i.jsx)(r.Series,{valueField:"count",name:"User Count",color:"#FF5547"}),(0,i.jsx)(r.ArgumentAxis,{valueMarginsEnabled:!1}),(0,i.jsx)(r.Legend,{verticalAlignment:"bottom",horizontalAlignment:"center"})]}),(0,i.jsxs)(l(),{className:"mt-20",palette:"Soft Blue",dataSource:a,id:"gender-pie-chart",children:[(0,i.jsx)(r.Legend,{orientation:"horizontal",itemTextPosition:"right",horizontalAlignment:"center",verticalAlignment:"bottom",columnCount:4}),(0,i.jsx)(r.Series,{argumentField:"gender",valueField:"number",children:(0,i.jsxs)(r.Label,{visible:!0,position:"columns",customizeText:e=>"".concat(e.argument,": ").concat(u()(e.valueText).format("a")),children:[(0,i.jsx)(r.Font,{size:14}),(0,i.jsx)(r.Connector,{visible:!0,width:.3})]})})]}),(0,i.jsxs)(l(),{className:"mt-20",id:"verification-pie-chart",palette:"Green Mist",dataSource:t["Verification Status"],children:[(0,i.jsx)(r.Legend,{orientation:"horizontal",itemTextPosition:"right",horizontalAlignment:"center",verticalAlignment:"bottom",columnCount:4}),(0,i.jsx)(r.Series,{argumentField:"status",valueField:"number",children:(0,i.jsxs)(r.Label,{visible:!0,position:"columns",customizeText:e=>"".concat(e.argument,": ").concat(e.percentText),children:[(0,i.jsx)(r.Font,{size:14}),(0,i.jsx)(r.Connector,{visible:!0,width:.3})]})})]}),(0,i.jsxs)("div",{className:"mt-28",children:[(0,i.jsxs)("div",{className:"mb-3",children:[(0,i.jsx)("p",{className:"pl-3 pt-2 text-dark-grey medium",children:"User Interests"}),(0,i.jsx)("hr",{})]}),(0,i.jsx)("div",{className:"mt-10 flex justify-end",children:(0,i.jsxs)("select",{defaultValue:"States",className:"w-6/12 sm:w-4/12 h-10 select-input",onChange:e=>{p(t["User Interests"][e.currentTarget.value])},children:[(0,i.jsx)("option",{value:"States",children:"States"}),(0,i.jsx)("option",{value:"Ministries",children:"Ministries"}),(0,i.jsx)("option",{value:"SDGs",children:"SDGs"}),(0,i.jsx)("option",{value:"Sectors",children:"Sectors"})]})}),(0,i.jsxs)(r.Chart,{id:"user-chart",className:"mt-8",dataSource:s,children:[(0,i.jsx)(r.Series,{valueField:"count",argumentField:"name",name:"Interest",type:"bar",color:"#E4AA24"}),(0,i.jsx)(r.ArgumentAxis,{children:(0,i.jsx)(r.Label,{rotationAngle:(0,c.C5)()&&window.innerWidth>=640?40:90,overlappingBehavior:"rotate",textOverflow:"ellipsis"})}),(0,i.jsx)(r.Legend,{verticalAlignment:"bottom",horizontalAlignment:"center",itemTextPosition:"top",visible:"false"}),(0,i.jsx)(r.Tooltip,{enabled:!0,location:"edge",customizeTooltip:e=>"".concat(e.argument,": ").concat(e.percentText)})]})]})]})}}}]); 2//#
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.