Liferay.Loader.define("layout-content-page-editor-web@2.0.110/page_editor/app/components/layout-data-items/Root", ['module', 'exports', 'require', 'frontend-js-react-web$classnames', 'frontend-js-react-web$react', '../../../prop-types/index', '../TopperEmpty'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports.default = void 0;

    var _classnames = _interopRequireDefault(require("frontend-js-react-web$classnames"));

    var _react = _interopRequireDefault(require("frontend-js-react-web$react"));

    var _index = require("../../../prop-types/index");

    var _TopperEmpty = _interopRequireDefault(require("../TopperEmpty"));

    function _interopRequireDefault(obj) {
      return obj && obj.__esModule ? obj : { default: obj };
    }

    /**
     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
     *
     * This library is free software; you can redistribute it and/or modify it under
     * the terms of the GNU Lesser General Public License as published by the Free
     * Software Foundation; either version 2.1 of the License, or (at your option)
     * any later version.
     *
     * This library is distributed in the hope that it will be useful, but WITHOUT
     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
     * details.
     */
    var Root = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
      var children = _ref.children,
          item = _ref.item;
      return (/*#__PURE__*/_react.default.createElement(_TopperEmpty.default, {
          item: item
        }, /*#__PURE__*/_react.default.createElement("div", {
          className: (0, _classnames.default)('page-editor__root'),
          ref: ref
        }, _react.default.Children.count(children) ? children : /*#__PURE__*/_react.default.createElement("div", {
          className: (0, _classnames.default)('page-editor__no-fragments-message')
        }, /*#__PURE__*/_react.default.createElement("div", {
          className: "page-editor__no-fragments-message__title"
        }, Liferay.Language.get('place-fragments-here')))))
      );
    });

    Root.displayName = 'Root';
    var _default = Root;
    exports.default = _default;
    //# sourceMappingURL=Root.js.map
  }
});
//# sourceMappingURL=Root.js.map