import { cloneDeep as o } from "lodash";
const n = "2.0.0", i = (r) => {
  const e = o(r);
  return e.version !== n ? {
    carousel: {
      iframes: e.iframes,
      pagination: e.pagination,
      freeMode: e.freeMode,
      reverseDirection: e.reverseDirection,
      slidesPerView: e.slidesPerView,
      speed: e.speed,
      spaceBetween: e.spaceBetween,
      autoplay: e.autoplay,
      pauseOnMouseEnter: e.pauseOnMouseEnter,
      delay: e.delay,
      paginationType: e.paginationType,
      rewind: e.rewind,
      loop: e.loop,
      grabCursor: e.grabCursor,
      effect: e.effect,
      stopOnLastSlide: e.stopOnLastSlide,
      roundLengths: e.roundLengths,
      direction: e.direction
    },
    version: n
  } : r;
};
export {
  n as VERSION,
  i as upgradeIframeCarousel
};
