import { cloneDeep as s } from "lodash";
const i = "2.0.0", l = (o) => {
  const e = s(o);
  return e.version !== i ? {
    style: e.css,
    slider: {
      min: e.slider.min,
      max: e.slider.max,
      defaultValue: e.slider.defaultValue,
      showTooltip: e.slider.showTooltip,
      step: e.slider.step,
      tooltipPosition: e.slider.tooltipPosition,
      tooltips: e.slider.tooltips
    },
    version: i
  } : o;
};
export {
  i as VERSION,
  l as upgradeSlider
};
