import { __require as requireUtils } from "../utils.js";
import { __require as requirePatterns } from "../patterns.js";
var players;
var hasRequiredPlayers;
function requirePlayers() {
  if (hasRequiredPlayers) return players;
  hasRequiredPlayers = 1;
  var __defProp = Object.defineProperty;
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
  var __getOwnPropNames = Object.getOwnPropertyNames;
  var __hasOwnProp = Object.prototype.hasOwnProperty;
  var __export = (target, all) => {
    for (var name in all)
      __defProp(target, name, { get: all[name], enumerable: true });
  };
  var __copyProps = (to, from, except, desc) => {
    if (from && typeof from === "object" || typeof from === "function") {
      for (let key of __getOwnPropNames(from))
        if (!__hasOwnProp.call(to, key) && key !== except)
          __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
    }
    return to;
  };
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
  var players_exports = {};
  __export(players_exports, {
    default: () => players_default
  });
  players = __toCommonJS(players_exports);
  var import_utils2 = /* @__PURE__ */ requireUtils();
  var import_patterns2 = /* @__PURE__ */ requirePatterns();
  var players_default = [
    {
      key: "youtube",
      name: "YouTube",
      canPlay: import_patterns2.canPlay.youtube,
      lazyPlayer: (0, import_utils2.lazy)(() => import(
        /* webpackChunkName: 'reactPlayerYouTube' */
        "../../../../../../../_virtual/YouTube.js"
      ).then((n) => n.Y))
    },
    {
      key: "soundcloud",
      name: "SoundCloud",
      canPlay: import_patterns2.canPlay.soundcloud,
      lazyPlayer: (0, import_utils2.lazy)(() => import(
        /* webpackChunkName: 'reactPlayerSoundCloud' */
        "../../../../../../../_virtual/SoundCloud.js"
      ).then((n) => n.S))
    },
    {
      key: "vimeo",
      name: "Vimeo",
      canPlay: import_patterns2.canPlay.vimeo,
      lazyPlayer: (0, import_utils2.lazy)(() => import(
        /* webpackChunkName: 'reactPlayerVimeo' */
        "../../../../../../../_virtual/Vimeo.js"
      ).then((n) => n.V))
    },
    {
      key: "mux",
      name: "Mux",
      canPlay: import_patterns2.canPlay.mux,
      lazyPlayer: (0, import_utils2.lazy)(() => import(
        /* webpackChunkName: 'reactPlayerMux' */
        "../../../../../../../_virtual/Mux.js"
      ).then((n) => n.M))
    },
    {
      key: "facebook",
      name: "Facebook",
      canPlay: import_patterns2.canPlay.facebook,
      lazyPlayer: (0, import_utils2.lazy)(() => import(
        /* webpackChunkName: 'reactPlayerFacebook' */
        "../../../../../../../_virtual/Facebook.js"
      ).then((n) => n.F))
    },
    {
      key: "streamable",
      name: "Streamable",
      canPlay: import_patterns2.canPlay.streamable,
      lazyPlayer: (0, import_utils2.lazy)(() => import(
        /* webpackChunkName: 'reactPlayerStreamable' */
        "../../../../../../../_virtual/Streamable.js"
      ).then((n) => n.S))
    },
    {
      key: "wistia",
      name: "Wistia",
      canPlay: import_patterns2.canPlay.wistia,
      lazyPlayer: (0, import_utils2.lazy)(() => import(
        /* webpackChunkName: 'reactPlayerWistia' */
        "../../../../../../../_virtual/Wistia.js"
      ).then((n) => n.W))
    },
    {
      key: "twitch",
      name: "Twitch",
      canPlay: import_patterns2.canPlay.twitch,
      lazyPlayer: (0, import_utils2.lazy)(() => import(
        /* webpackChunkName: 'reactPlayerTwitch' */
        "../../../../../../../_virtual/Twitch.js"
      ).then((n) => n.T))
    },
    {
      key: "dailymotion",
      name: "DailyMotion",
      canPlay: import_patterns2.canPlay.dailymotion,
      lazyPlayer: (0, import_utils2.lazy)(() => import(
        /* webpackChunkName: 'reactPlayerDailyMotion' */
        "../../../../../../../_virtual/DailyMotion.js"
      ).then((n) => n.D))
    },
    {
      key: "mixcloud",
      name: "Mixcloud",
      canPlay: import_patterns2.canPlay.mixcloud,
      lazyPlayer: (0, import_utils2.lazy)(() => import(
        /* webpackChunkName: 'reactPlayerMixcloud' */
        "../../../../../../../_virtual/Mixcloud.js"
      ).then((n) => n.M))
    },
    {
      key: "vidyard",
      name: "Vidyard",
      canPlay: import_patterns2.canPlay.vidyard,
      lazyPlayer: (0, import_utils2.lazy)(() => import(
        /* webpackChunkName: 'reactPlayerVidyard' */
        "../../../../../../../_virtual/Vidyard.js"
      ).then((n) => n.V))
    },
    {
      key: "kaltura",
      name: "Kaltura",
      canPlay: import_patterns2.canPlay.kaltura,
      lazyPlayer: (0, import_utils2.lazy)(() => import(
        /* webpackChunkName: 'reactPlayerKaltura' */
        "../../../../../../../_virtual/Kaltura.js"
      ).then((n) => n.K))
    },
    {
      key: "file",
      name: "FilePlayer",
      canPlay: import_patterns2.canPlay.file,
      canEnablePIP: (url) => {
        return import_patterns2.canPlay.file(url) && (document.pictureInPictureEnabled || (0, import_utils2.supportsWebKitPresentationMode)()) && !import_patterns2.AUDIO_EXTENSIONS.test(url);
      },
      lazyPlayer: (0, import_utils2.lazy)(() => import(
        /* webpackChunkName: 'reactPlayerFilePlayer' */
        "../../../../../../../_virtual/FilePlayer.js"
      ).then((n) => n.F))
    }
  ];
  return players;
}
export {
  requirePlayers as __require
};
//# sourceMappingURL=index.js.map
