Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.130/page_editor/plugins/fragments-widgets/components/SearchResultsPanel",["module","exports","require","@frontend-taglib-clay$clayui/empty-state","@frontend-taglib-clay$clayui/loading-indicator","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react","./TabCollection"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var l=d(a("@frontend-taglib-clay$clayui/empty-state")),i=d(a("@frontend-taglib-clay$clayui/loading-indicator")),r=d(a("liferay!frontend-js-react-web$prop-types")),n=d(a("liferay!frontend-js-react-web$react")),o=d(a("./TabCollection"));function d(e){return e&&e.__esModule?e:{default:e}}function s({filteredTabs:e,loading:t=!1}){return t?n.default.createElement(i.default,{className:"mt-3",small:!0}):e.length?n.default.createElement("div",{className:"overflow-auto px-3"},e.map(((e,t)=>n.default.createElement("div",{key:t},n.default.createElement("div",{className:"font-weight-semi-bold page-editor__fragments-widgets__search-results-panel__filter-subtitle py-2"},e.label),e.collections.map(((e,t)=>n.default.createElement(o.default,{collection:e,initialOpen:!0,isSearchResult:!0,key:t}))))))):n.default.createElement(l.default,{description:Liferay.Language.get("try-again-with-a-different-search"),imgSrc:"".concat(themeDisplay.getPathThemeImages(),"/states/search_state.gif"),small:!0,title:Liferay.Language.get("no-results-found")})}s.proptypes={filteredTabs:r.default.object.isRequired,loading:r.default.bool}}}));
//# sourceMappingURL=SearchResultsPanel.js.map