"use strict";
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 get_all_plugin_testkits_exports = {};
__export(get_all_plugin_testkits_exports, {
  getAllPluginsTestkits: () => getAllPluginsTestkits
});
module.exports = __toCommonJS(get_all_plugin_testkits_exports);
var import_testkit = require("./../ricos-common-plugins/quick-actions/testkit.js");
var import_testkit2 = require("./../ricos-common-plugins/testkit.js");
var import_wix_rich_content_common = require("./../wix-rich-content-common/index.js");
var import_testkit3 = require("./../plugin-ai/testkit.js");
var import_testkit4 = require("./../plugin-audio/testkit.js");
var import_testkit5 = require("./../plugin-button/testkit.js");
var import_testkit6 = require("./../plugin-code-block/testkit.js");
var import_testkit7 = require("./../plugin-collapsible-list/testkit.js");
var import_testkit8 = require("./../plugin-divider/testkit.js");
var import_testkit9 = require("./../plugin-emoji/testkit.js");
var import_testkit10 = require("./../plugin-file-upload/testkit.js");
var import_testkit11 = require("./../plugin-gallery/testkit.js");
var import_testkit12 = require("./../plugin-giphy/testkit.js");
var import_testkit13 = require("./../plugin-headings/testkit.js");
var import_testkit14 = require("./../plugin-html/testkit.js");
var import_testkit15 = require("./../plugin-image/testkit.js");
var import_testkit16 = require("./../plugin-inline-ai/testkit.js");
var import_testkit17 = require("./../plugin-link-preview/testkit.js");
var import_testkit18 = require("./../plugin-link/testkit.js");
var import_testkit19 = require("./../plugin-shape/testkit.js");
var import_cell_testkit = require("./../plugin-smart-block/cell.testkit.js");
var import_testkit20 = require("./../plugin-smart-block/testkit.js");
var import_testkit21 = require("./../plugin-social-polls/testkit.js");
var import_testkit22 = require("./../plugin-spoiler/testkit.js");
var import_testkit23 = require("./../plugin-table/testkit.js");
var import_testkit24 = require("./../plugin-text-color/sketch/testkit.js");
var import_testkit25 = require("./../plugin-text-color/testkit.js");
var import_testkit26 = require("./../plugin-vertical-embed/testkit.js");
var import_testkit27 = require("./../plugin-video/testkit.js");
const createDangerousErrorTestkit = (getBase) => {
  return {
    content: {
      atIndex: (index) => {
        return {
          exists: async () => {
            const errorContent = getBase().$$((0, import_wix_rich_content_common.dataHook)("rendering-error")).get(index);
            return errorContent.exists();
          }
        };
      }
    }
  };
};
const getAllPluginsTestkits = ({ getBase }) => {
  return {
    actionButton: (0, import_testkit5.createActionButtonTestkit)(getBase),
    ai: (0, import_testkit3.createAiTestkit)(getBase),
    inlineAi: (0, import_testkit16.createInlineAiTestkit)(getBase),
    audio: (0, import_testkit4.createAudioTestkit)(getBase),
    codeBlock: (0, import_testkit6.createCodeBlockTestkit)(getBase),
    collapsibleList: (0, import_testkit7.createCollapsibleListTestkit)(getBase),
    divider: (0, import_testkit8.createDividerTestkit)(getBase),
    emoji: (0, import_testkit9.createEmojiTestkit)(getBase),
    fileUpload: (0, import_testkit10.createFileUploadTestkit)(getBase),
    gallery: (0, import_testkit11.createGalleryTestkit)(getBase),
    gif: (0, import_testkit12.createGiphyTestkit)(getBase),
    heading: (0, import_testkit13.createHeadingsTestkit)(getBase),
    html: (0, import_testkit14.createHtmlTestkit)(getBase),
    image: (0, import_testkit15.createImageTestkit)(getBase),
    linkButton: (0, import_testkit5.createLinkButtonTestkit)(getBase),
    linkPreview: (0, import_testkit17.createLinkPreviewTestkit)(getBase),
    link: (0, import_testkit18.createLinkTestkit)(getBase),
    poll: (0, import_testkit21.createPollsTestkit)(getBase),
    quickActions: (0, import_testkit.createQuickActionsTestkit)(getBase),
    shape: (0, import_testkit19.createShapeTestkit)(getBase),
    sketch: (0, import_testkit24.createSketchTestkit)(getBase),
    spoiler: (0, import_testkit22.createSpoilerTestkit)(getBase),
    table: (0, import_testkit23.createTableTestkit)(getBase),
    textColor: (0, import_testkit25.createTextColorTestkit)(getBase),
    verticalEmbed: (0, import_testkit26.createVerticalEmbedTestkit)(getBase),
    video: (0, import_testkit27.createVideoTestkit)(getBase),
    smartBlock: (0, import_testkit20.createSmartBlockTestkit)(getBase),
    smartBlockCell: (0, import_cell_testkit.createSmartBlockCellTestkit)(getBase),
    dangerousError: createDangerousErrorTestkit(getBase),
    // commons
    bulletList: import_testkit2.commonPluginTestkits.bulletList(getBase),
    fontSize: import_testkit2.commonPluginTestkits.fontSize(getBase),
    blockquote: import_testkit2.commonPluginTestkits.blockquote(getBase),
    title: import_testkit2.commonPluginTestkits.title(getBase),
    bold: import_testkit2.commonPluginTestkits.bold(getBase),
    italic: import_testkit2.commonPluginTestkits.italic(getBase),
    selectionHighlight: import_testkit2.commonPluginTestkits.selectionHighlight(getBase),
    textAlign: import_testkit2.commonPluginTestkits.textAlign(getBase),
    layout: import_testkit2.commonPluginTestkits.layout(getBase),
    layoutCell: import_testkit2.commonPluginTestkits.layoutCell(getBase),
    lineSpacing: import_testkit2.commonPluginTestkits.lineSpacing(getBase),
    strikethrough: import_testkit2.commonPluginTestkits.strikethrough(getBase),
    gapSpacer: import_testkit2.commonPluginTestkits.gapSpacer(getBase)
  };
};
//# sourceMappingURL=get-all-plugin-testkits.js.map
