import a from "./index.es39.js";
import "./index.es40.js";
import "./index.es41.js";
import "./index.es42.js";
import "./index.es43.js";
import "./index.es44.js";
import "./index.es45.js";
import "./index.es46.js";
import "./index.es47.js";
import "./index.es48.js";
import "./index.es49.js";
import "./index.es50.js";
import "./index.es51.js";
import "./index.es52.js";
import "./index.es53.js";
import "./index.es54.js";
import "./index.es55.js";
import "./index.es56.js";
import "./index.es57.js";
import "./index.es58.js";
import "./index.es59.js";
import "./index.es60.js";
import "./index.es61.js";
import "./index.es62.js";
import "./index.es63.js";
import "./index.es64.js";
import "./index.es65.js";
import "./index.es66.js";
import n from "./index.es23.js";
import p from "./index.es22.js";
const m = " - ", s = n.Calendars.gregorian, c = {
  year: 0,
  month: 1,
  date: 2
}, l = (t, e = null) => {
  if (!t || !(t.description || t.start_date))
    return null;
  let o = e;
  if (!o) {
    const r = p.isBrowser() && navigator.language;
    o = new n(r, s);
  }
  if (t.description)
    return t.description;
  const i = [];
  if (t.start_date) {
    const r = o.parseDate(t.start_date);
    i.push(o.format(r, t.accuracy));
  }
  if (t.range && t.end_date) {
    const r = o.parseDate(t.end_date);
    i.push(o.format(r, t.accuracy));
  }
  return a.isEmpty(i) ? null : i.join(m);
}, u = (t) => {
  const e = [], o = new Date(t.start_date), i = new Date(t.end_date);
  for (let r = o.getFullYear(); r <= i.getFullYear(); r += 1)
    e.push(r);
  return e;
}, G = {
  Accuracy: c,
  getDateView: l,
  getYearRange: u
};
export {
  G as default
};
//# sourceMappingURL=index.es28.js.map
