Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.130/page_editor/app/selectors/selectLayoutDataItemLabel",["module","exports","require","../config/constants/layoutDataItemTypeLabels","../config/constants/layoutDataItemTypes"],(function(e,t,n){window;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({fragmentEntryLinks:e},t,{useCustomName:n=!0}={}){var i,r,f;if(n&&(null===(i=t.config)||void 0===i?void 0:i.name))return t.config.name;if(t.type===o.LAYOUT_DATA_ITEM_TYPES.fragment&&(null===(r=e[null===(f=t.config)||void 0===f?void 0:f.fragmentEntryLinkId])||void 0===r?void 0:r.name))return e[t.config.fragmentEntryLinkId].name;return a.LAYOUT_DATA_ITEM_TYPE_LABELS[t.type]||t.type||Liferay.Language.get("element")};var a=n("../config/constants/layoutDataItemTypeLabels"),o=n("../config/constants/layoutDataItemTypes")}));
//# sourceMappingURL=selectLayoutDataItemLabel.js.map