Liferay.Loader.define("segments-web@3.0.68/js/components/criteria_sidebar/CriteriaSidebar.es",["module","exports","require","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react","../../utils/types.es","./CriteriaSidebarCollapse.es","./CriteriaSidebarSearchBar.es"],(function(e,r,t){window;{Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;l(t("liferay!frontend-js-react-web$prop-types"));var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=s();if(r&&r.has(e))return r.get(e);var t={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var i=a?Object.getOwnPropertyDescriptor(e,n):null;i&&(i.get||i.set)?Object.defineProperty(t,n,i):t[n]=e[n]}t.default=e,r&&r.set(e,t);return t}(t("liferay!frontend-js-react-web$react")),n=(t("../../utils/types.es"),l(t("./CriteriaSidebarCollapse.es"))),i=l(t("./CriteriaSidebarSearchBar.es"));function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e){return e&&e.__esModule?e:{default:e}}function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}class e extends a.Component{constructor(...e){super(...e),o(this,"state",{searchValue:""}),o(this,"_handleOnSearchChange",(e=>{this.setState({searchValue:e})}))}render(){const{onTitleClicked:e,propertyGroups:r,propertyKey:t}=this.props,{searchValue:s}=this.state;return a.default.createElement("div",{className:"criteria-sidebar-root"},a.default.createElement("div",{className:"sidebar-header"},Liferay.Language.get("properties")),a.default.createElement("div",{className:"sidebar-search"},a.default.createElement(i.default,{onChange:this._handleOnSearchChange,searchValue:s})),a.default.createElement("div",{className:"sidebar-collapse"},a.default.createElement(n.default,{onCollapseClick:e,propertyGroups:r,propertyKey:t,searchValue:s})))}}var c=e;r.default=c}}));
//# sourceMappingURL=CriteriaSidebar.es.js.map