/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import u from"./T3ITHIXK.js";import t from"./YJXWQGXE.js";import s from"./4M24PBXE.js";import r from"./NZ74TAOS.js";import q from"./LBXY473V.js";import p from"./GY3RSMKZ.js";import o from"./R36L7W4M.js";import n from"./7A5EYKNV.js";import m from"./35D3IFUI.js";import l from"./4ATHCFYH.js";import k from"./35I3DXJA.js";import j from"./7PAMOVYK.js";import i from"./UA7RVRWG.js";import h from"./NCCSBCYU.js";import g from"./L4PX5RPL.js";import e from"./SH2BQWAG.js";import d from"./NG2WISQ2.js";import c from"./S6PFI7AC.js";import b from"./KFUE7LVT.js";import"./UG7LOBJE.js";import a from"./AD6GOUND.js";import"./4B3QBH5T.js";import"./FUPYXGG6.js";import"./IHRGRUHQ.js";import"./KUVOINJC.js";import{a as f}from"./NKG4FLLR.js";import"./RPU6VCJ4.js";import"./OR4HXHSY.js";export default $arcgis.t(([,,,,,,,,,,,,,,,{Nc:o,P:p,na:n,z:S,za:c},{q:y},{c:d},,,,,,,,,,,,,,{ja:l},{b:k,c:F,d:L},{b:g,d:u,f:b,h:I,j:v,t:_},w])=>{var D=Object.defineProperty,M=Object.getOwnPropertyDescriptor,x=(m,i,r,t)=>{for(var e=M(i,r),s=m.length-1,h;s>=0;s--)(h=m[s])&&(e=h(i,r,e)||e);return e&&D(i,r,e),e},a=class extends L{constructor(){super(...arguments),this._chartType=f.RadarSeries}async setup(i){await this.loadConfigFromLayer(i),this.setupLocalProps(),i.config!==void 0&&await this.updateSeriesFromLayerFilter(),this.initDefaultSeries(),typeof this.resolveSetup=="function"&&this.resolveSetup()}generateDefaultConfig(){let i=c(this.commonStrings);return i.series=[n({commonStrings:this.commonStrings,objectIDField:o(this.layerInfo.layer).idField})],i}initDefaultSeries(){this.defaultSeries=n({commonStrings:this.commonStrings,objectIDField:o(this.layerInfo.layer).idField})}resetSeriesStyling(){for(let i=0;i<this.seriesLength;i+=1){let r=p({colorIndex:i,opacity:S});if(F(r,i,this._config),b(r,i,this._config),this.layerInfo!==void 0){let t=this.getSeriesId(i),e=l({config:this._config,seriesIndex:i,layerInfo:this.layerInfo,commonStrings:this.commonStrings});e!==o(this.layerInfo.layer).idField&&k(e??t,i,this._config)}g(this.defaultSeries?.lineSymbol?.style,i,this._config),u(this.defaultSeries?.lineSymbol?.width,i,this._config),I(this.defaultSeries?.markerSymbol?.style,i,this._config),v(this.defaultSeries?.markerSymbol?.size,i,this._config)}this._config.colorMatch=!0}resetAvailable(){let i=!this.colorMatch,r=!1;if(!i)for(let t=0;t<this.seriesLength;t+=1){if(this.layerInfo!==void 0){let e=l({config:this._config,seriesIndex:t,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),s=this.getSeriesName(t);e!==void 0&&e!==o(this.layerInfo.layer).idField&&e!==s&&(r=!0)}if(this.defaultSeries?.lineSymbol?.style!==void 0&&this.defaultSeries?.lineSymbol.style!==this.getSeriesLineStyle(t)||this.defaultSeries?.lineSymbol?.width!==void 0&&this.defaultSeries?.lineSymbol.width!==this.getSeriesLineWidth(t)||this.defaultSeries?.markerSymbol?.style!==void 0&&this.defaultSeries?.markerSymbol?.style!==this.getSeriesMarkerStyle(t)||this.defaultSeries?.markerSymbol?.size!==void 0&&this.defaultSeries?.markerSymbol?.size!==this.getSeriesMarkerSize(t)){r=!0;break}}return i||r}};x([d],a.prototype,"resetSeriesStyling");var j=[_,w];y(a,j);return a},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","core/sql","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a,b,c,d,e,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u)