webpackHotUpdate(0,{

/***/ 228:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_prop_types__ = __webpack_require__(223);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_prop_types__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__collapsable_css__ = __webpack_require__(230);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__collapsable_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__collapsable_css__);\n\n\n\n\n\nclass Collapsable extends __WEBPACK_IMPORTED_MODULE_0_react___default.a.Component {\n\n  constructor(props) {\n    super(props);\n    this.state = { collapsed: props.collapsed };\n  }\n\n  toggle() {\n    this.setState({ collapsed: !this.state.collapsed });\n  }\n\n  render() {\n    const contentClasses = ['content'];\n    if (this.state.collapsed) {\n      contentClasses.push('collapsed');\n    }\n\n    return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(\n      'div',\n      { className: 'collapsable', style: this.props.style },\n      __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(\n        'h3',\n        { className: 'clickable', onClick: () => this.toggle() },\n        __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(\n          'span',\n          null,\n          this.props.title,\n          ':'\n        ),\n        __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(\n          'span',\n          { className: 'status' },\n          this.state.collapsed ? 'Show' : 'Hide'\n        )\n      ),\n      __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(\n        'div',\n        { className: contentClasses.join(' ') },\n        this.props.children\n      )\n    );\n  }\n}\n/* harmony export (immutable) */ __webpack_exports__[\"a\"] = Collapsable;\n\n\nCollapsable.propTypes = {\n  title: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.string.isRequired,\n  children: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.element.isRequired,\n  collapsed: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.bool,\n  style: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.object\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjI4LmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vL2Jyb3dzZXItdGVzdGVyL3NyYy9jb21wb25lbnRzL0NvbGxhcHNhYmxlL2luZGV4LmpzPzgxNmIiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0IGZyb20gJ3JlYWN0JztcbmltcG9ydCBQcm9wVHlwZXMgZnJvbSAncHJvcC10eXBlcyc7XG5cbmltcG9ydCAnLi9jb2xsYXBzYWJsZS5jc3MnO1xuXG5leHBvcnQgZGVmYXVsdCBjbGFzcyBDb2xsYXBzYWJsZSBleHRlbmRzIFJlYWN0LkNvbXBvbmVudCB7XG5cbiAgY29uc3RydWN0b3IocHJvcHMpIHtcbiAgICBzdXBlcihwcm9wcyk7XG4gICAgdGhpcy5zdGF0ZSA9IHsgY29sbGFwc2VkOiBwcm9wcy5jb2xsYXBzZWQgfTtcbiAgfVxuXG4gIHRvZ2dsZSgpIHtcbiAgICB0aGlzLnNldFN0YXRlKHsgY29sbGFwc2VkOiAhdGhpcy5zdGF0ZS5jb2xsYXBzZWQgfSk7XG4gIH1cblxuICByZW5kZXIoKSB7XG4gICAgY29uc3QgY29udGVudENsYXNzZXMgPSBbJ2NvbnRlbnQnXTtcbiAgICBpZiAodGhpcy5zdGF0ZS5jb2xsYXBzZWQpIHtcbiAgICAgIGNvbnRlbnRDbGFzc2VzLnB1c2goJ2NvbGxhcHNlZCcpO1xuICAgIH1cblxuICAgIHJldHVybiAoX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