"use strict";
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
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 __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
  // If the importer is in node compatibility mode or this is not an ESM
  // file that has been converted to a CommonJS file using a Babel-
  // compatible transform (i.e. "__esModule" has not been set), then set
  // "default" to the CommonJS "module.exports" for node compatibility.
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
  mod
));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var dynamic_plugins_map_exports = {};
__export(dynamic_plugins_map_exports, {
  dynamicPluginsMap: () => dynamicPluginsMap,
  resolvePlugins: () => resolvePlugins
});
module.exports = __toCommonJS(dynamic_plugins_map_exports);
const dynamicPluginsMap = {
  // @ts-ignore $TSFixMe
  ai: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-ai" */
    "./../plugin-ai/editor.js"
  ))).then(
    (m) => m.pluginAi
  ),
  audio: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-audio" */
    "./../plugin-audio/editor.js"
  ))).then((m) => m.pluginAudio),
  actionButton: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-button" */
    "./../plugin-button/editor.js"
  ))).then((m) => m.pluginActionButton),
  card: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-card" */
    "./../plugin-card/editor.js"
  ))).then((m) => m.pluginCard),
  linkButton: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-button" */
    "./../plugin-button/editor.js"
  ))).then((m) => m.pluginLinkButton),
  codeBlock: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-code-block" */
    "./../plugin-code-block/editor.js"
  ))).then((m) => m.pluginCodeBlock),
  collapsibleList: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-collapsible-list" */
    "./../plugin-collapsible-list/editor.js"
  ))).then((m) => m.pluginCollapsibleList),
  divider: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-divider" */
    "./../plugin-divider/editor.js"
  ))).then((m) => m.pluginDivider),
  emoji: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-emoji" */
    "./../plugin-emoji/editor.js"
  ))).then((m) => m.pluginEmoji),
  file: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-file-upload" */
    "./../plugin-file-upload/editor.js"
  ))).then((m) => m.pluginFileUpload),
  fontFamily: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-font-family" */
    "./../plugin-font-family/editor.js"
  ))).then((m) => m.pluginFontFamily),
  gallery: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-gallery" */
    "./../plugin-gallery/editor.js"
  ))).then((m) => m.pluginGallery),
  giphy: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-giphy" */
    "./../plugin-giphy/editor.js"
  ))).then((m) => m.pluginGiphy),
  hashtag: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-hashtag" */
    "./../plugin-hashtag/editor.js"
  ))).then((m) => m.pluginHashtag),
  heading: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-headings" */
    "./../plugin-headings/editor.js"
  ))).then((m) => m.pluginHeadings),
  html: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-html" */
    "./../plugin-html/editor.js"
  ))).then((m) => m.pluginHtml),
  image: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-image" */
    "./../plugin-image/editor.js"
  ))).then((m) => m.pluginImage),
  indent: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-indent" */
    "./../plugin-indent/editor.js"
  ))).then((m) => m.pluginIndent),
  inlineAi: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-inline-ai" */
    "./../plugin-inline-ai/editor.js"
  ))).then((m) => m.pluginInlineAi),
  lineSpacing: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-line-spacing" */
    "./../plugin-line-spacing/editor.js"
  ))).then((m) => m.pluginLineSpacing),
  link: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-link" */
    "./../plugin-link/editor.js"
  ))).then((m) => m.pluginLink),
  linkPreview: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-link-preview" */
    "./../plugin-link-preview/editor.js"
  ))).then((m) => m.pluginLinkPreview),
  mentions: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-mentions" */
    "./../plugin-mentions/editor.js"
  ))).then((m) => m.pluginMentions),
  shape: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-shape" */
    "./../plugin-shape/editor.js"
  ))).then((m) => m.pluginShape),
  poll: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-poll" */
    "./../plugin-social-polls/editor.js"
  ))).then((m) => m.pluginPoll),
  spoiler: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-spoiler" */
    "./../plugin-spoiler/editor.js"
  ))).then((m) => m.pluginSpoiler),
  table: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-table" */
    "./../plugin-table/editor.js"
  ))).then((m) => m.pluginTable),
  toc: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-toc" */
    "./../plugin-toc/editor.js"
  ))).then((m) => m.pluginToc),
  textColor: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-text-color" */
    "./../plugin-text-color/text-color-editor.js"
  ))).then((m) => m.pluginTextColor),
  textHighlight: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-text-highlight" */
    "./../plugin-text-color/text-highlight-editor.js"
  ))).then((m) => m.pluginTextHighlight),
  verticalEmbed: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-vertical-embed" */
    "./../plugin-vertical-embed/editor.js"
  ))).then((m) => m.pluginVerticalEmbed),
  video: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-video" */
    "./../plugin-video/editor.js"
  ))).then((m) => m.pluginVideo),
  smartBlock: () => Promise.resolve().then(() => __toESM(require(
    /* webpackChunkName: "ricos_plugin-smart-block" */
    "./../plugin-smart-block/editor.js"
  ))).then((m) => m.pluginSmartBlock)
};
const resolvePlugins = async (pluginTypes) => {
  const entries = await Promise.all(
    pluginTypes.filter((type) => dynamicPluginsMap[type]).map(async (type) => {
      const loader = dynamicPluginsMap[type];
      const creator = await loader();
      return [type, typeof creator === "function" ? creator : creator.default];
    })
  );
  return Object.fromEntries(entries);
};
//# sourceMappingURL=dynamic-plugins-map.js.map
