/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
const r = {}, s = {}, i = {
  selectedChartId: "",
  chartAxesBoundDataMap: r,
  scatterplotData: s,
  timeBinningIntervalMap: {},
  chartDataMap: {}
}, c = (t) => {
  const { chartId: a, isXAxis: n, isLogarithmic: e } = t;
  return `${a}_${n ? "x" : "y"}${e ? "_log" : ""}`;
}, o = (t) => {
  const a = t.selectedChartId;
  t.chartAxesBoundDataMap[a] = void 0;
}, d = (t) => t.timeBinningIntervalMap[t.selectedChartId], h = (t, a) => {
  const n = t.selectedChartId;
  t.timeBinningIntervalMap[n] || (t.timeBinningIntervalMap[n] = a);
}, I = (t) => {
  t.timeBinningIntervalMap[t.selectedChartId] = void 0;
}, l = (t, a) => {
  const n = t.selectedChartId;
  t.chartDataMap[n] = a;
}, g = (t) => {
  const a = t.selectedChartId;
  return t.chartDataMap[a];
};
export {
  d as a,
  h as b,
  g as c,
  o as d,
  l as e,
  c as g,
  I as r,
  i as s
};
