"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 content_exports = {};
__export(content_exports, {
  ACTION_BUTTON_TYPE: () => require("./../ricos-content/index.js").ACTION_BUTTON_TYPE,
  AUDIO_TYPE: () => require("./../ricos-content/index.js").AUDIO_TYPE,
  AppEmbedData_AppType: () => require("./../ricos-schema/next-schema/index.js").AppEmbedData_AppType,
  ButtonData_Type: () => require("./../ricos-schema/next-schema/index.js").ButtonData_Type,
  CODE_BLOCK_TYPE: () => require("./../ricos-content/index.js").CODE_BLOCK_TYPE,
  COLLAPSIBLE_LIST_TYPE: () => require("./../ricos-content/index.js").COLLAPSIBLE_LIST_TYPE,
  CollapsibleListData_Direction: () => require("./../ricos-schema/next-schema/index.js").CollapsibleListData_Direction,
  DIVIDER_TYPE: () => require("./../ricos-content/index.js").DIVIDER_TYPE,
  Decoration_Type: () => require("./../ricos-schema/next-schema/index.js").Decoration_Type,
  DividerData_Alignment: () => require("./../ricos-schema/next-schema/index.js").DividerData_Alignment,
  DividerData_LineStyle: () => require("./../ricos-schema/next-schema/index.js").DividerData_LineStyle,
  DividerData_Width: () => require("./../ricos-schema/next-schema/index.js").DividerData_Width,
  EMBED_TYPE: () => require("./../ricos-content/index.js").EMBED_TYPE,
  EMOJI_TYPE: () => require("./../ricos-content/index.js").EMOJI_TYPE,
  EXTERNAL_MENTIONS_TYPE: () => require("./../ricos-content/index.js").EXTERNAL_MENTIONS_TYPE,
  FILE_UPLOAD_TYPE: () => require("./../ricos-content/index.js").FILE_UPLOAD_TYPE,
  FontSizeData_fontType: () => require("./../ricos-schema/next-schema/index.js").FontSizeData_fontType,
  GALLERY_TYPE: () => require("./../ricos-content/index.js").GALLERY_TYPE,
  GIFData_GIFType: () => require("./../ricos-schema/next-schema/index.js").GIFData_GIFType,
  GIPHY_TYPE: () => require("./../ricos-content/index.js").GIPHY_TYPE,
  GalleryOptions_ItemStyle_Crop: () => require("./../ricos-schema/next-schema/index.js").GalleryOptions_ItemStyle_Crop,
  GalleryOptions_Layout_Orientation: () => require("./../ricos-schema/next-schema/index.js").GalleryOptions_Layout_Orientation,
  GalleryOptions_Layout_Type: () => require("./../ricos-schema/next-schema/index.js").GalleryOptions_Layout_Type,
  GalleryOptions_Thumbnails_Alignment: () => require("./../ricos-schema/next-schema/index.js").GalleryOptions_Thumbnails_Alignment,
  HASHTAG_TYPE: () => require("./../ricos-content/index.js").HASHTAG_TYPE,
  HEADINGS_DROPDOWN_TYPE: () => require("./../ricos-content/index.js").HEADINGS_DROPDOWN_TYPE,
  HTMLData_Source: () => require("./../ricos-schema/next-schema/index.js").HTMLData_Source,
  HTML_TYPE: () => require("./../ricos-content/index.js").HTML_TYPE,
  IMAGE_TYPE: () => require("./../ricos-content/index.js").IMAGE_TYPE,
  LINE_SPACING_TYPE: () => require("./../ricos-content/index.js").LINE_SPACING_TYPE,
  LINK_BUTTON_TYPE: () => require("./../ricos-content/index.js").LINK_BUTTON_TYPE,
  LINK_PREVIEW_TYPE: () => require("./../ricos-content/index.js").LINK_PREVIEW_TYPE,
  LINK_TYPE: () => require("./../ricos-content/index.js").LINK_TYPE,
  Link_Target: () => require("./../ricos-schema/next-schema/index.js").Link_Target,
  MENTION_TYPE: () => require("./../ricos-content/index.js").MENTION_TYPE,
  Node_Type: () => require("./../ricos-schema/next-schema/index.js").Node_Type,
  POLL_TYPE: () => require("./../ricos-content/index.js").POLL_TYPE,
  PluginContainerData_Alignment: () => require("./../ricos-schema/next-schema/index.js").PluginContainerData_Alignment,
  PluginContainerData_Width_Type: () => require("./../ricos-schema/next-schema/index.js").PluginContainerData_Width_Type,
  PollData_Design_PollDesign_Background_Type: () => require("./../ricos-schema/next-schema/index.js").PollData_Design_PollDesign_Background_Type,
  PollData_Layout_PollLayout_Direction: () => require("./../ricos-schema/next-schema/index.js").PollData_Layout_PollLayout_Direction,
  PollData_Layout_PollLayout_Type: () => require("./../ricos-schema/next-schema/index.js").PollData_Layout_PollLayout_Type,
  PollData_Poll_Settings_Permissions_ViewRole: () => require("./../ricos-schema/next-schema/index.js").PollData_Poll_Settings_Permissions_ViewRole,
  PollData_Poll_Settings_Permissions_VoteRole: () => require("./../ricos-schema/next-schema/index.js").PollData_Poll_Settings_Permissions_VoteRole,
  RICOS_ANCHOR_TYPE: () => require("./../ricos-content/index.js").RICOS_ANCHOR_TYPE,
  RICOS_DIVIDER_TYPE: () => require("./../ricos-content/index.js").RICOS_DIVIDER_TYPE,
  RICOS_FILE_TYPE: () => require("./../ricos-content/index.js").RICOS_FILE_TYPE,
  RICOS_GALLERY_TYPE: () => require("./../ricos-content/index.js").RICOS_GALLERY_TYPE,
  RICOS_GIPHY_TYPE: () => require("./../ricos-content/index.js").RICOS_GIPHY_TYPE,
  RICOS_IMAGE_TYPE: () => require("./../ricos-content/index.js").RICOS_IMAGE_TYPE,
  RICOS_LAYOUT_TYPE: () => require("./../ricos-content/index.js").RICOS_LAYOUT_TYPE,
  RICOS_LINK_BUTTON_TYPE: () => require("./../ricos-content/index.js").RICOS_LINK_BUTTON_TYPE,
  RICOS_LINK_PREVIEW_TYPE: () => require("./../ricos-content/index.js").RICOS_LINK_PREVIEW_TYPE,
  RICOS_LINK_TYPE: () => require("./../ricos-content/index.js").RICOS_LINK_TYPE,
  RICOS_MENTION_TYPE: () => require("./../ricos-content/index.js").RICOS_MENTION_TYPE,
  RICOS_POLL_TYPE: () => require("./../ricos-content/index.js").RICOS_POLL_TYPE,
  RICOS_SHAPE_TYPE: () => require("./../ricos-content/index.js").RICOS_SHAPE_TYPE,
  RICOS_VERTICAL_EMBED_TYPE: () => require("./../ricos-content/index.js").RICOS_VERTICAL_EMBED_TYPE,
  RICOS_VIDEO_TYPE: () => require("./../ricos-content/index.js").RICOS_VIDEO_TYPE,
  RichContent: () => require("./../ricos-schema/next-schema/index.js").RichContent,
  SHAPE_TYPE: () => require("./../ricos-content/index.js").SHAPE_TYPE,
  SPOILER_TYPE: () => require("./../ricos-content/index.js").SPOILER_TYPE,
  TABLE_TYPE: () => require("./../ricos-content/index.js").TABLE_TYPE,
  TEXT_COLOR_TYPE: () => require("./../ricos-content/index.js").TEXT_COLOR_TYPE,
  TEXT_HIGHLIGHT_TYPE: () => require("./../ricos-content/index.js").TEXT_HIGHLIGHT_TYPE,
  TIPTAP_SHAPE_TYPE: () => require("./../ricos-content/index.js").TIPTAP_SHAPE_TYPE,
  TOC_TYPE: () => require("./../ricos-content/index.js").TOC_TYPE,
  TextStyle_TextAlignment: () => require("./../ricos-schema/next-schema/index.js").TextStyle_TextAlignment,
  VERTICAL_EMBED_TYPE: () => require("./../ricos-content/index.js").VERTICAL_EMBED_TYPE,
  VIDEO_TYPE: () => require("./../ricos-content/index.js").VIDEO_TYPE,
  Version: () => require("./../ricos-content/index.js").Version,
  compare: () => require("./../ricos-content/index.js").compare,
  convertItemData: () => convertItemData,
  createContent: () => require("./../ricos-content/index.js").createContent,
  createEmptyContent: () => createEmptyContent,
  createParagraphNode: () => createParagraphNode,
  createTextNode: () => createTextNode,
  ensureContentId: () => ensureContentId,
  extract: () => extract,
  extractMedia: () => require("./../ricos-content/lib/extract-media.js").extractMedia,
  fromCKEditorHtml: () => fromCKEditorHtml,
  fromPlainText: () => fromPlainText,
  fromRichTextHtml: () => fromRichTextHtml,
  getAnchorableNodesQuery: () => getAnchorableNodesQuery,
  getContentLength: () => getContentLength,
  getCountableNodes: () => getCountableNodes,
  getMediaData: () => getMediaData,
  getPluginData: () => getPluginData,
  getText: () => getText,
  getTextDirection: () => require("./../ricos-content/index.js").getTextDirection,
  initializeMetadata: () => initializeMetadata,
  isContentStateEmpty: () => require("./../ricos-content/index.js").isContentStateEmpty,
  isRichContent: () => isRichContent,
  isRichContentEmpty: () => isRichContentEmpty,
  isRichContentEqual: () => isRichContentEqual,
  modify: () => modify,
  resolveFileUrl: () => require("./../ricos-media/index.js").resolveFileUrl,
  setupContentBuilder: () => setupContentBuilder,
  toHtml: () => toHtml,
  toPlainText: () => toPlainText,
  toPlainTextSync: () => toPlainTextSync,
  toTranslatables: () => toTranslatables,
  translateContent: () => translateContent,
  truncateContent: () => truncateContent,
  truncateRichContent: () => truncateRichContent
});
module.exports = __toCommonJS(content_exports);
const createEmptyContent = require("./../ricos-content/lib/create-empty-content.js").createEmptyContent;
const ensureContentId = require("./../ricos-content/lib/metadata-utils.js").ensureContentId;
const fromPlainText = require("./../ricos-content/lib/converters.js").fromPlainText;
const fromCKEditorHtml = require("./../ricos-content/lib/server-side-converters.js").fromCKEditorHtml;
const fromRichTextHtml = require("./../ricos-content/lib/server-side-converters.js").fromRichTextHtml;
const translateContent = require("./../ricos-content/lib/translate.js").translateContent;
const truncateRichContent = require("./../ricos-content/lib/truncate-rich-content.js").truncateRichContent;
const truncateContent = require("./../ricos-content/lib/truncate-content.js").truncateContent;
const getContentLength = require("./../ricos-content/lib/get-content-length.js").getContentLength;
const getMediaData = require("./../ricos-content/RicosContentAPI/get-media-data.js").getMediaData;
const getPluginData = require("./../ricos-content/lib/content-application.js").getPluginData;
const getText = require("./../ricos-content/lib/content-application.js").getText;
const toHtml = require("./../ricos-content/lib/server-side-converters.js").toHtml;
const toPlainText = require("./../ricos-content/lib/converters.js").toPlainText;
const toPlainTextSync = require("./../ricos-content/lib/to-plain-text-sync.js").toPlainTextSync;
const toTranslatables = require("./../ricos-content/lib/translate.js").toTranslatables;
function isRichContent(content) {
  return (0, require("./../ricos-content/index.js").isRichContent)(content);
}
const isRichContentEmpty = require("./../ricos-content/index.js").isRichContentEmpty;
const isRichContentEqual = require("./../ricos-content/lib/is-rich-content-equal.js").isRichContentEqual;
const modify = require("./../ricos-content/lib/modify.js").modify;
const extract = require("./../ricos-content/lib/extract.js").extract;
const createParagraphNode = require("./../ricos-content/lib/node-utils.js").createParagraphNode;
const createTextNode = require("./../ricos-content/lib/node-utils.js").createTextNode;
const initializeMetadata = require("./../ricos-content/lib/node-utils.js").initializeMetadata;
const setupContentBuilder = require("./../ricos-content/lib/content.js").setupContentBuilder;
const getCountableNodes = require("./../ricos-content/lib/truncate-content.js").getCountableNodes;
const getAnchorableNodesQuery = require("./../ricos-content-query/index.js").getAnchorableNodesQuery;
const convertItemData = require("./../_shared/media/convert-to-gallery-item-list.js").convertToGalleryItemList;
//# sourceMappingURL=content.js.map
