webpackJsonp([21],{1355:function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var a=n(1),i=n.n(a),o=n(0),c=n.n(o),s=n(36),u=n(198),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(e){var t=e.hub,n=r(e,["hub"]);return c.a.createElement(s.a,p({},n,{icon:u.a.hubOnlineStatusToColor(t.connect_state.id)+" sitemap"}))};l.propTypes={hub:i.a.object.isRequired},t.a=l},899:function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),i=n.n(a),o=n(8),c=n.n(o),s=n(331),u=n(862),p=n(133),l=n(132),f=n(198),b=n(13),d=n(1355),h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m={itemNameGetter:function(e){return e.identity.name},itemStatusGetter:function(e){return f.a.hubOnlineStatusToColor(e.connect_state.id)},itemHeaderDescriptionGetter:function(e){return i.a.createElement(s.a,{text:e.identity.description,emojify:!0})},itemHeaderIconGetter:function(e){return i.a.createElement(d.a,{hub:e})}},v=function(e){return e?parseInt(e.id):null},O=i.a.createClass({displayName:"Hubs",mixins:[c.a.connect(p.a,"hubSessions")],render:function(){var e=this.props,t=e.params,n=r(e,["params"]);return i.a.createElement(u.a,h({activeId:v(t),baseUrl:"hubs",items:this.state.hubSessions,newCaption:"Connect",newDescription:"Connect to a new hub",newIcon:"sitemap",editAccess:b.default.HUBS_EDIT,actions:l.a,unreadInfoStore:p.a},m,n),this.props.children)}});t.default=O}});
//# sourceMappingURL=hubs.13621bb218ab660a8900.chunk.js.map