(window.webpackJsonp=window.webpackJsonp||[]).push([[54],{1013:function(e,t,s){"use strict";s.r(t),s.d(t,"default",(function(){return v}));var o,a,n=s(0),i=s(29),c=s.n(i),u=(s(1),s(12)),d=s(4),r=s(18),l=s(3),m=s.n(l),b=s(16),p=s.n(b),h=s(281),g=s(957),j=s(962),M=s(1304),f=s(85),O=s(1296);const L=Object(d.f)({heading:{id:"column.mutes",defaultMessage:"Muted users"}});let v=Object(u.connect)((e=>({accountIds:e.getIn(["user_lists","mutes","items"]),hasMore:!!e.getIn(["user_lists","mutes","next"]),isLoading:e.getIn(["user_lists","mutes","isLoading"],!0)})))(o=Object(d.g)(((a=class extends r.a{constructor(){super(...arguments),this.handleLoadMore=c()((()=>{this.props.dispatch(Object(f.k)())}),300,{leading:!0})}componentWillMount(){this.props.dispatch(Object(f.l)())}render(){const{intl:e,hasMore:t,accountIds:s,multiColumn:o,isLoading:a}=this.props;if(!s)return Object(n.a)(g.a,{},void 0,Object(n.a)(h.b,{}));const i=Object(n.a)(d.b,{id:"empty_column.mutes",defaultMessage:"You haven't muted any users yet."});return Object(n.a)(g.a,{bindToDocument:!o,icon:"volume-off",heading:e.formatMessage(L.heading)},void 0,Object(n.a)(j.a,{}),Object(n.a)(O.a,{scrollKey:"mutes",onLoadMore:this.handleLoadMore,hasMore:t,isLoading:a,emptyMessage:i,bindToDocument:!o},void 0,s.map((e=>Object(n.a)(M.a,{id:e,defaultAction:"mute"},e)))))}}).propTypes={params:m.a.object.isRequired,dispatch:m.a.func.isRequired,hasMore:m.a.bool,isLoading:m.a.bool,accountIds:p.a.list,intl:m.a.object.isRequired,multiColumn:m.a.bool},o=a))||o)||o}}]);
//# sourceMappingURL=mutes-03d1c10831c2122964b8.chunk.js.map