webpackJsonp([21],{671:function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},a=n(1),u=i(a),o=n(5),s=i(o),c=n(203),l=i(c),d=n(215),f=i(d),p=n(112),m=i(p),h=n(85),b=i(h),v=n(113),y=i(v),I=n(6),_=i(I),S=n(49),g=n(91),E={itemNameGetter:function(e){return e.identity.name},itemStatusGetter:function(e){return y["default"].hubOnlineStatusToColor(e.connect_state.id)},itemDescriptionGetter:function(e){return u["default"].createElement(l["default"],{text:e.identity.description,emojify:!0})},itemIconGetter:function(e){return u["default"].createElement(g.HubIconFormatter,{size:"large",hub:e})},itemHeaderGetter:function(e,t,n){return u["default"].createElement(S.ActionMenu,{caption:e.identity.name,actions:b["default"],itemData:e,ids:["reconnect","favorite"]},n)}},G=u["default"].createClass({displayName:"Hubs",mixins:[s["default"].connect(m["default"],"hubSessions")],_getActiveId:function(){return this.props.params?parseInt(this.props.params.id):null},render:function(){return u["default"].createElement(f["default"],r({activeId:this._getActiveId(),baseUrl:"hubs",itemUrl:"hubs/session",location:this.props.location,items:this.state.hubSessions,newButtonCaption:"Connect",editAccess:_["default"].HUBS_EDIT,actions:b["default"],unreadInfoStore:m["default"]},E),this.props.children)}});t["default"]=G}});
//# sourceMappingURL=hubs.chunk.js.map