import { cloneDeep as e } from "lodash";
const a = "2.0.0", t = (o) => {
  const r = e(o);
  return r.version !== a ? {
    config: {
      barWidth: r.barWidth,
      audioRate: r.audioRate,
      hideScrollbar: r.hideScrollbar,
      splitChannels: r.splitChannels,
      barGap: r.barGap,
      mediaControls: r.mediaControls,
      cursorWidth: r.cursorWidth,
      autoCenter: r.autoCenter,
      barAlign: r.barAlign,
      sampleRate: r.sampleRate,
      url: r.url,
      autoplay: r.autoplay,
      cursorColor: r.cursorColor,
      waveColor: r.waveColor,
      progressColor: r.progressColor,
      normalize: r.normalize,
      minPxPerSec: r.minPxPerSec,
      barRadius: r.barRadius,
      autoScroll: r.autoScroll,
      height: r.height
    },
    version: a
  } : o;
};
export {
  a as VERSION,
  t as upgradeWavesurfer
};
