webpackHotUpdate(0,{

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

"use strict";
eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(5);\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__Inputs__ = __webpack_require__(218);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__Output__ = __webpack_require__(211);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__Description__ = __webpack_require__(216);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__Dictionary__ = __webpack_require__(207);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__lib_model_helper__ = __webpack_require__(31);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__settings_css__ = __webpack_require__(213);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__settings_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__settings_css__);\n\n\n\n\n\n\n\n\n\n\n\nclass Settings extends __WEBPACK_IMPORTED_MODULE_0_react___default.a.Component {\n\n  render() {\n    const instance = this.props.instance.getModelEntity();\n    const tdef = instance.typeDefinition;\n    const inputs = tdef.provided.array;\n    const outputs = tdef.required.array;\n\n    return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(\n      'div',\n      { className: 'panel' },\n      __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(\n        'h3',\n        null,\n        Object(__WEBPACK_IMPORTED_MODULE_5__lib_model_helper__[\"a\" /* getType */])(tdef.metaClassName()),\n        ':'\n      ),\n      __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_3__Description__[\"a\" /* default */], { instance: this.props.instance }),\n      __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(\n        'h3',\n        null,\n        'Parameters:'\n      ),\n      __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4__Dictionary__[\"a\" /* default */], { instance: this.props.instance.getModelEntity() }),\n      __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(\n        'h3',\n        null,\n        'Inputs:'\n      ),\n      __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1__Inputs__[\"a\" /* default */], { inputs: inputs, instance: instance }),\n      __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(\n        'h3',\n        null,\n        'Outputs:'\n      ),\n      __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Outputs, { outputs: outputs, instance: instance })\n    );\n  }\n}\n/* harmony export (immutable) */ __webpack_exports__[\"a\"] = Settings;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjA2LmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vL2Jyb3dzZXItdGVzdGVyL3NyYy9jb21wb25lbnRzL1NldHRpbmdzL2luZGV4LmpzP2FhYWMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0IGZyb20gJ3JlYWN0JztcblxuaW1wb3J0IElucHV0cyBmcm9tICcuLi9JbnB1dHMnO1xuaW1wb3J0IE91dHB1dCBmcm9tICcuLi9PdXRwdXQnO1xuaW1wb3J0IERlc2NyaXB0aW9uIGZyb20gJy4uL0Rlc2NyaXB0aW9uJztcbmltcG9ydCBEaWN0aW9uYXJ5IGZyb20gJy4uL0RpY3Rpb25hcnknO1xuXG5pbXBvcnQgeyBnZXRUeXBlIH0gZnJvbSAnLi4vLi4vbGliL21vZGVsLWhlbHBlcic7XG5cbmltcG9ydCAnLi9zZXR0aW5ncy5jc3MnO1xuXG5leHBvcnQgZGVmYXVsdCBjbGFzcyBTZXR0aW5ncyBleHRlbmRzIFJlYWN0LkNvbXBvbmVudCB7XG5cbiAgcmVuZGV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BO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUNBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBRUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBRUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBRUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBWEE7QUFjQTtBQXZCQTs7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///206\n");

/***/ }),

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

"use strict";
eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(5);\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__output_css__ = __webpack_require__(212);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__output_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__output_css__);\n\n\n\n\nclass Output extends __WEBPACK_IMPORTED_MODULE_0_react___default.a.Component {\n\n  constructor(props) {\n    super(props);\n    this.state = { messages: [] };\n  }\n\n  componentDidMount() {\n    const oldFunc = this.props.instance[`out_${this.props.port.name}`];\n    const self = this;\n    function decoratedOutput(msg) {\n      oldFunc(msg);\n      self.setState({ messages: self.state.messages.concat(msg) });\n    }\n    this.props.instance[`out_${this.props.port.name}`] = decoratedOutput;\n  }\n\n  render() {\n    return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(\n      'div',\n      { className: 'output' },\n      __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(\n        'span',\n        null,\n        __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(\n          'strong',\n          null,\n          '\"',\n          this.props.port.name,\n          '\"'\n        ),\n        ' messages:'\n      ),\n      __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(\n        'ul',\n        { className: 'list' },\n        this.state.messages.map((msg, i) => __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(\n          'li',\n          { key: i },\n          msg\n        ))\n      )\n    );\n  }\n}\n/* unused harmony export default */\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjExLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vL2Jyb3dzZXItdGVzdGVyL3NyYy9jb21wb25lbnRzL091dHB1dC9pbmRleC5qcz9hMDhjIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCc7XG5cbmltcG9ydCAnLi9vdXRwdXQuY3NzJztcblxuZXhwb3J0IGRlZmF1bHQgY2xhc3MgT3V0cHV0IGV4dGVuZHMgUmVhY3QuQ29tcG9uZW50IHtcblxuICBjb25zdHJ1Y3Rvcihwcm9wcykge1xuICAgIHN1cGVyKHByb3BzKTtcbiAgICB0aGlzLnN0YXRlID0geyBtZXNzYWdlczogW10gfTtcbiAgfVxuXG4gIGNvbXBvbmVudERpZE1vdW50KCkge1xuICAgIGNvbnN0IG9sZEZ1bmMgPSB0aGlzLnByb3BzLmluc3RhbmNlW2BvdXRfJHt0aGlzLnByb3BzLnBvcnQubmFtZX1gXTtcbiAgICBjb25zdCBzZWxmID0gdGhpcztcbiAgICBmdW5jdGlvbiBkZWNvcmF0ZWRPdXRwdXQobXNnKSB7XG4gICAgICBvbGRGdW5jKG1zZyk7XG4gICAgICBzZWxmLnNldFN0YXRlKHsgbWVzc2FnZXM6IHNlbGYuc3RhdGUubWVzc2FnZXMuY29uY2F0KG1zZykgfSk7XG4gICAgfVxuICAgIHRoaXMucHJvcHMuaW5zdGFuY2VbYG91dF8ke3RoaXMucHJvcHMucG9ydC5uYW1lfWBdID0gZGVjb3JhdGVkT3V0cHV0O1xuICB9XG5cbiAgcmVuZGVyKCkge1xuICAgIHJldHVybiAoXG4gICAgICA8ZGl2IGNsYXNzTmFtZT1cIm91dHB1dFwiPlxuICAgICAgICA8c3Bhbj48c3Ryb25nPlwie3RoaXMucHJvcHMucG9ydC5uYW1lfVwiPC9zdHJvbmc+IG1lc3NhZ2VzOjwvc3Bhbj5cbiAgICAgICAgPHVsIGNsYXNzTmFtZT1cImxpc3RcIj5cbiAgICAgICAgICB7dGhpcy5zdGF0ZS5tZXNzYWdlcy5tYXAoKG1zZywgaSkgPT4gKFxuICAgICAgICAgICAgPGxpIGtleT17aX0+e21zZ308L2xpPlxuICAgICAgICAgICkpfVxuICAgICAgICA8L3VsPlxuICAgICAgPC9kaXY+XG4gICAgKTtcbiAgfVxufVxuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIGJyb3dzZXItdGVzdGVyL3NyYy9jb21wb25lbnRzL091dHB1dC9pbmRleC5qcyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUNBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFBQTtBQUFBO0FBQUE7QUFGQTtBQUZBO0FBU0E7QUE1QkE7OyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///211\n");

/***/ }),

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

"use strict";
eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(5);\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__Input__ = __webpack_require__(209);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__lib_model_helper__ = __webpack_require__(31);\n\n\n\n\nconst Inputs = ({ inputs, instance }) => {\n  const typeClass = instance.getModelEntity().typeDefinition.metaClassName();\n\n  if (inputs.length > 0) {\n    return inputs.map((input, i) => __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1__Input__[\"a\" /* default */], { key: i, port: input, instance: instance }));\n  } else {\n    return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(\n      'em',\n      { className: 'muted' },\n      'This ',\n      Object(__WEBPACK_IMPORTED_MODULE_2__lib_model_helper__[\"a\" /* getType */])(typeClass),\n      ' has no input port'\n    );\n  }\n};\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (Inputs);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjE4LmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vL2Jyb3dzZXItdGVzdGVyL3NyYy9jb21wb25lbnRzL0lucHV0cy9pbmRleC5qcz9hZTA5Il0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCc7XG5pbXBvcnQgSW5wdXQgZnJvbSAnLi4vSW5wdXQnO1xuaW1wb3J0IHsgZ2V0VHlwZSB9IGZyb20gJy4uLy4uL2xpYi9tb2RlbC1oZWxwZXInO1xuXG5jb25zdCBJbnB1dHMgPSAoeyBpbnB1dHMsIGluc3RhbmNlIH0pID0+IHtcbiAgY29uc3QgdHlwZUNsYXNzID0gaW5zdGFuY2UuZ2V0TW9kZWxFbnRpdH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