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__Outputs__ = __webpack_require__(219);\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(__WEBPACK_IMPORTED_MODULE_2__Outputs__[\"a\" /* default */], { 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjA2LmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vL2Jyb3dzZXItdGVzdGVyL3NyYy9jb21wb25lbnRzL1NldHRpbmdzL2luZGV4LmpzP2FhYWMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0IGZyb20gJ3JlYWN0JztcblxuaW1wb3J0IElucHV0cyBmcm9tICcuLi9JbnB1dHMnO1xuaW1wb3J0IE91dHB1dHMgZnJvbSAnLi4vT3V0cHV0cyc7XG5pbXBvcnQgRGVzY3JpcHRpb24gZnJvbSAnLi4vRGVzY3JpcHRpb24nO1xuaW1wb3J0IERpY3Rpb25hcnkgZnJvbSAnLi4vRGljdGlvbmFyeSc7XG5cbmltcG9ydCB7IGdldFR5cGUgfSBmcm9tICcuLi8uLi9saWIvbW9kZWwtaGVscGVyJztcblxuaW1wb3J0ICcuL3NldHRpbmdzLmNzcyc7XG5cbmV4cG9ydCBkZWZhdWx0IGNsYXNzIFNldHRpbmdzIGV4dGVuZHMgU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QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBQ0E7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFFQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFFQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFFQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFYQTtBQWNBO0FBdkJBOzsiLCJzb3VyY2VSb290IjoiIn0=\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/* harmony export (immutable) */ __webpack_exports__[\"a\"] = Output;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjExLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vL2Jyb3dzZXItdGVzdGVyL3NyYy9jb21wb25lbnRzL091dHB1dC9pbmRleC5qcz9hMDhjIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCc7XG5cbmltcG9ydCAnLi9vdXRwdXQuY3NzJztcblxuZXhwb3J0IGRlZmF1bHQgY2xhc3MgT3V0cHV0IGV4dGVuZHMgUmVhY3QuQ29tcG9uZW50IHtcblxuICBjb25zdHJ1Y3Rvcihwcm9wcykge1xuICAgIHN1cGVyKHByb3BzKTtcbiAgICB0aGlzLnN0YXRlID0geyBtZXNzYWdlczogW10gfTtcbiAgfVxuXG4gIGNvbXBvbmVudERpZE1vdW50KCkge1xuICAgIGNvbnN0IG9sZEZ1bmMgPSB0aGlzLnByb3BzLmluc3RhbmNlW2BvdXRfJHt0aGlzLnByb3BzLnBvcnQubmFtZX1gXTtcbiAgICBjb25zdCBzZWxmID0gdGhpcztcbiAgICBmdW5jdGlvbiBkZWNvcmF0ZWRPdXRwdXQobXNnKSB7XG4gICAgICBvbGRGdW5jKG1zZyk7XG4gICAgICBzZWxmLnNldFN0YXRlKHsgbWVzc2FnZXM6IHNlbGYuc3RhdGUubWVzc2FnZXMuY29uY2F0KG1z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internal:///211\n");

/***/ }),

/***/ 219:
/***/ (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__ = __webpack_require__(211);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__lib_model_helper__ = __webpack_require__(31);\n\n\n\n\nconst Inputs = ({ outputs, instance }) => {\n  const typeClass = instance.getModelEntity().typeDefinition.metaClassName();\n\n  if (outputs.length > 0) {\n    return outputs.map((output, i) => __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1__Output__[\"a\" /* default */], { key: i, port: output, 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 output port'\n    );\n  }\n};\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (Inputs);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjE5LmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vL2Jyb3dzZXItdGVzdGVyL3NyYy9jb21wb25lbnRzL091dHB1dHMvaW5kZXguanM/ZDQ2ZSJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuaW1wb3J0IE91dHB1dCBmcm9tICcuLi9PdXRwdXQnO1xuaW1wb3J0IHsgZ2V0VHlwZSB9IGZyb20gJy4uLy4uL2xpYi9tb2RlbC1oZWxwZXInO1xuXG5jb25zdCBJbnB1dHMgPSAoeyBvdXRwdXRzLCBpbnN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