/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
var a={Chart:"chart",Text:"chartText",Overlay:"chartOverlay",Overlays:"chartOverlays",Legend:"chartLegend",CursorCrosshair:"cursorCrosshair",Axis:"chartAxis",GaugeAxisTick:"gaugeAxisTick",GaugeNeedle:"gaugeNeedle",CategoryAxisFormat:"category",NumberAxisFormat:"number",DateAxisFormat:"date",Guide:"chartGuide",ScatterSeries:"scatterSeries",PieSeries:"pieSeries",PieTick:"pieTick",GaugeSeries:"gaugeSeries",LineSeries:"lineSeries",BarSeries:"barSeries",HistogramSeries:"histogramSeries",BoxPlotSeries:"boxPlotSeries",RadarSeries:"radarSeries",ComboLineAndBarSeries:"comboLineAndBarSeries",HeatSeries:"heatSeries",Buffer:"buffer",SizePolicy:"sizeScale",CalendarDateParts:"calendarDateParts"},l={Count:"count",Sum:"sum",Minimum:"min",Maximum:"max",Average:"avg",StandardDeviation:"stddev",Variance:"var",ContinuousPercentile:"percentile-continuous",DiscretePercentile:"percentile-discrete",EnvelopeAggregate:"envelope-aggregate",CentroidAggregate:"centroid-aggregate",ConvexHullAggregate:"convex-hull-aggregate",NoAggregation:"no_aggregation"},d={None:"none",Log:"logarithmic",Sqrt:"squareRoot"},S={Single:"singleColor",Match:"colorMatch"},m={Left:"left",Right:"right",Top:"top",Bottom:"bottom"},h={Side:"sideBySide",Stacked:"stacked",Stacked100:"stacked100"},y={Side:"sideBySide",MeanLines:"meanLines"},u={Ascending:"ASC",Descending:"DESC"},f={statisticType:l.Count,sortingOrder:u.Ascending},C={Bezier:"bezier",MonotoneX:"monotoneX",MonotoneY:"monotoneY"},x={Second:"seconds",Minute:"minutes",Hour:"hours",Day:"days",Week:"weeks",Month:"months",Quarter:"quarters",Year:"years"},v={DayOfMonth:"dayOfMonth",DayOfWeek:"dayOfWeek",DayOfYear:"dayOfYear",HourOfDay:"hourOfDay",MonthOfYear:"monthOfYear",MinuteOfDay:"minuteOfDay",WeekOfYear:"weekOfYear",QuarterOfYear:"quarterOfYear"};var O={Gradient:"gradient",Renderer:"renderer"},p={Null:"null",Zero:"zero",Interpolate:"interpolate"},A={Start:"equalIntervalsFromStartTime",End:"equalIntervalsFromEndTime"},B={Hide:"hide",Rotate:"rotate",Stagger:"stagger",Wrap:"wrap"},k={Same:"same",Newer:"newer",Older:"older",Unrecognized:"unrecognized"},D={Value:"value",Date:"date",Category:"category"},M={FeatureGauge:"featureGauge",StatisticGauge:"statisticGauge"},L={Linear:"linear",Logarithmic:"logarithmic"},b={Radial:"radial",Circular:"circular",Horizontal:"horizontal"},z={YValue:"arcgis-charts-y-value",Mean:"arcgis-charts-mean",Median:"arcgis-charts-median",Category:"arcgis-charts-category",MultiAxes:"arcgis-charts-multi-axes"},P={singleCalendarView:"SingleCalendarView",sequentialCalendarViews:"SequentialCalendarViews"},q={equalInterval:"equal-interval",quantile:"quantile",naturalBreaks:"natural-breaks",manual:"manual"};function g(e){return e.size===2&&e.has(a.LineSeries)&&e.has(a.BarSeries)}function c(e){return e.size===2&&e.has(a.LineSeries)&&e.has(a.BoxPlotSeries)||e.size===1&&e.has(a.BoxPlotSeries)}function T(e,r){let i;if(e!==void 0&&e.length>0)if(r!==void 0&&r>=0&&r<e.length)i=e[r].type;else{let t=new Set(e.map(o=>o.type)),s=g(t),n=c(t);s===!0?i=a.ComboLineAndBarSeries:n?i=a.BoxPlotSeries:t.size>=2?i=void 0:i=e[0].type}return i}function w(e,r=!0){return r?e?.xTemporalBinning:e?.yTemporalBinning}export{a,l as b,d as c,S as d,m as e,h as f,y as g,u as h,f as i,C as j,x as k,v as l,O as m,p as n,A as o,B as p,k as q,D as r,M as s,L as t,b as u,z as v,P as w,q as x,T as y,w as z};
