import { cloneDeep as l } from "lodash";
const a = "2.0.0", t = (e) => {
  const o = l(e);
  return o.version !== a ? {
    base: {
      clickToPlay: o.clickToPlay,
      halfDomeMode: o.halfDomeMode,
      cameraAutoRotation: o.cameraAutoRotation,
      loop: o.loop,
      isReversal: o.isReversal,
      isScale: o.isScale,
      autoPlay: o.autoPlay,
      resolution: o.resolution,
      poster: o.poster,
      videoMode: o.videoMode,
      url: o.url,
      defaultFov: o.defaultFov
    },
    version: a
  } : e;
};
export {
  a as VERSION,
  t as upgradeVrVideo
};
