Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.151/page_editor/app/components/layout_data_items/Root",["module","exports","require","liferay!frontend-js-react-web$react","../../../prop_types/index","../../contexts/StoreContext","../../utils/getLayoutDataItemTopperUniqueClassName","../../utils/isItemEmpty","../topper/TopperEmpty"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=_interopRequireDefault(a("liferay!frontend-js-react-web$react")),o=(a("../../../prop_types/index"),a("../../contexts/StoreContext")),i=_interopRequireDefault(a("../../utils/getLayoutDataItemTopperUniqueClassName")),l=_interopRequireDefault(a("../../utils/isItemEmpty")),n=_interopRequireDefault(a("../topper/TopperEmpty"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const e=r.default.forwardRef((({children:e,item:t},a)=>{const u=(0,o.useSelectorCallback)((e=>(0,l.default)(t,e.layoutData,e.selectedViewportSize)),[t]);return r.default.createElement(n.default,{className:(0,i.default)(t.itemId),item:t},r.default.createElement("div",{className:"page-editor__root",ref:a},u&&r.default.createElement("div",{className:"page-editor__no-fragments-state"},r.default.createElement("p",{className:"page-editor__no-fragments-state__message"},Liferay.Language.get("place-fragments-or-widgets-here"))),e))}));e.displayName="Root";var u=e;t.default=u}}));
//# sourceMappingURL=Root.js.map