"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.privateApis = void 0;
var interfaceApis = _interopRequireWildcard(require("@wordpress/interface"));
var _lockUnlock = require("./lock-unlock");
var _entitiesSavedStates = require("./components/entities-saved-states");
var _contentSlotFill = _interopRequireDefault(require("./components/editor-interface/content-slot-fill"));
var _backButton = _interopRequireDefault(require("./components/header/back-button"));
var _editor = _interopRequireDefault(require("./components/editor"));
var _plugin = _interopRequireDefault(require("./components/post-excerpt/plugin"));
var _postCardPanel = _interopRequireDefault(require("./components/post-card-panel"));
var _preferencesModal = _interopRequireDefault(require("./components/preferences-modal"));
var _actions = require("./components/post-actions/actions");
var _postFields = _interopRequireDefault(require("./components/post-fields"));
var _toolsMoreMenuGroup = _interopRequireDefault(require("./components/more-menu/tools-more-menu-group"));
var _viewMoreMenuGroup = _interopRequireDefault(require("./components/more-menu/view-more-menu-group"));
var _resizableEditor = _interopRequireDefault(require("./components/resizable-editor"));
var _globalStylesProvider = require("./components/global-styles-provider");
var _fields = require("@wordpress/fields");
var _api = require("./bindings/api");
var _getTemplateInfo = require("./utils/get-template-info");
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
/**
 * WordPress dependencies
 */

/**
 * Internal dependencies
 */

const {
  store: interfaceStore,
  ...remainingInterfaceApis
} = interfaceApis;
const privateApis = exports.privateApis = {};
(0, _lockUnlock.lock)(privateApis, {
  CreateTemplatePartModal: _fields.CreateTemplatePartModal,
  BackButton: _backButton.default,
  EntitiesSavedStatesExtensible: _entitiesSavedStates.EntitiesSavedStatesExtensible,
  Editor: _editor.default,
  EditorContentSlotFill: _contentSlotFill.default,
  GlobalStylesProvider: _globalStylesProvider.GlobalStylesProvider,
  mergeBaseAndUserConfigs: _globalStylesProvider.mergeBaseAndUserConfigs,
  PluginPostExcerpt: _plugin.default,
  PostCardPanel: _postCardPanel.default,
  PreferencesModal: _preferencesModal.default,
  usePostActions: _actions.usePostActions,
  usePostFields: _postFields.default,
  ToolsMoreMenuGroup: _toolsMoreMenuGroup.default,
  ViewMoreMenuGroup: _viewMoreMenuGroup.default,
  ResizableEditor: _resizableEditor.default,
  registerCoreBlockBindingsSources: _api.registerCoreBlockBindingsSources,
  getTemplateInfo: _getTemplateInfo.getTemplateInfo,
  // This is a temporary private API while we're updating the site editor to use EditorProvider.
  interfaceStore,
  ...remainingInterfaceApis
});
//# sourceMappingURL=private-apis.js.map