'use strict';

var vue = require('vue');
require('./src/video-viewer.vue.js');
var videoViewer_vue_vue_type_script_setup_true_lang = require('./src/video-viewer.vue2.js');

"use strict";
const MeVideoViewer = (url) => {
  const mountNode = document.createElement("div");
  document.body.appendChild(mountNode);
  const app = vue.createVNode(videoViewer_vue_vue_type_script_setup_true_lang.default, {
    url,
    close: () => {
      vue.render(null, mountNode);
      document.body.removeChild(mountNode);
    }
  });
  vue.render(app, mountNode);
};

exports.MeVideoViewer = MeVideoViewer;
//# sourceMappingURL=index.js.map
