/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{k as i}from"./KUVOINJC.js";import{a as r,y as n}from"./NKG4FLLR.js";function a(e){switch(e){case r.BarSeries:return i.BarChart;case r.LineSeries:return i.LineChart;case r.ComboLineAndBarSeries:return i.ComboBarLineChart;case r.BoxPlotSeries:return i.BoxPlot;case r.PieSeries:return i.PieChart;case r.ScatterSeries:return i.Scatterplot;case r.HeatSeries:return i.HeatChart;case r.HistogramSeries:return i.Histogram;case r.GaugeSeries:return i.Gauge;case r.RadarSeries:return i.RadarChart;default:return}}function c(e){let t=n(e.series);return a(t)}function d(e,t){let s=a(e?.chartType);return e!==void 0&&s===t}function f(e){return e!==void 0&&"config"in e}function S(e){return e?.chartType===r.BarSeries}function p(e){return e?.chartType===r.LineSeries}function y(e){let t=e?.chartType;return t===r.LineSeries||t===r.BarSeries||t===r.ComboLineAndBarSeries||t===r.RadarSeries}function h(e){return e?.chartType===r.PieSeries}function l(e){return e?.chartType===r.BoxPlotSeries}function T(e){return e?.chartType===r.ScatterSeries}function g(e){return e?.chartType===r.HistogramSeries}function m(e){return e?.chartType===r.HeatSeries}function B(e){let t=[r.BarSeries,r.BoxPlotSeries,r.HistogramSeries,r.ScatterSeries,r.LineSeries,r.ComboLineAndBarSeries,r.HeatSeries];return e!==void 0&&t.includes(e.chartType)&&"getAxisTitleText"in e&&typeof e.getAxisTitleText=="function"}function x(e){return e!==void 0&&"getGuideVisibility"in e&&typeof e.getGuideVisibility=="function"}function v(e){return e!==void 0&&"addXAxisGuide"in e&&typeof e.addXAxisGuide=="function"}function C(e){return e!==void 0&&"addYAxisGuide"in e&&typeof e.addYAxisGuide=="function"}function b(e){return e!==void 0&&"legendVisibility"in e}function A(e){return e!==void 0&&"temporalBinningSize"in e}export{a,c as b,d as c,f as d,S as e,p as f,y as g,h,l as i,T as j,g as k,m as l,B as m,x as n,v as o,C as p,b as q,A as r};
