webpackJsonp([18],{1538:function(e,t,a){t=e.exports=a(3)(void 0),t.push([e.i,"#sidebar .simple-layout{height:100%;padding:20px;margin-left:auto;margin-right:auto}#sidebar .simple-layout>div{display:flex;flex-direction:column;height:100%}#sidebar .simple-layout .layout-content{display:flex;flex-direction:column;overflow-y:auto;flex:1 1 100%}#sidebar .simple-layout .layout-content>div{width:100%}#sidebar .simple-layout .divider.top{margin-bottom:10px}#sidebar .system-log .message-list{width:100%}#sidebar .system-log .status.item i{float:left}#sidebar .system-log .status.item .text{margin-top:5px;margin-bottom:10px;overflow:hidden}#sidebar .system-log .status.item .time{color:gray}",""])},1626:function(e,t,a){var s=a(1538);"string"==typeof s&&(s=[[e.i,s,""]]);var i={};i.transform=void 0,a(4)(s,i),s.locals&&(e.exports=s.locals)},891:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a(0),i=a.n(s),o=a(8),n=a.n(o),l=a(127),r=a(206),m=a(354),c=a(135),d=a(319),u=a(58),p=a(126),g=a(867),f=a(1626),y=(a.n(f),function(e){return{log_message:e}}),v=function(e){var t=e.messages;return t?0===t.length?i.a.createElement(p.a,{description:"No messages to show"}):i.a.createElement(g.a,{className:"events",messages:t.map(y)}):i.a.createElement(u.a,{text:"Loading messages"})},h=i.a.createClass({displayName:"SystemLog",mixins:[l.a,n.a.connect(m.a,"messages")],componentWillMount:function(){r.a.setActive(!0),r.a.setRead(),m.a.isInitialized()||r.a.fetchMessages()},componentWillUnmount:function(){r.a.setActive(!1)},shouldComponentUpdate:function(e,t){return t.messages!==this.state.messages},render:function(){return i.a.createElement("div",{className:"simple-layout"},i.a.createElement("div",{className:"wrapper"},i.a.createElement(c.a,{icon:"blue history",title:"Events",component:i.a.createElement(d.a,{action:r.a.clear})}),i.a.createElement("div",{className:"ui divider top"}),i.a.createElement("div",{className:"layout-content system-log"},i.a.createElement(v,{messages:this.state.messages}))))}});t.default=h}});
//# sourceMappingURL=events.77dee9dbe68c094ed76b.chunk.js.map