(window.webpackJsonp=window.webpackJsonp||[]).push([[89],{1109: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),u=s.n(i),c=(s(1),s(12)),d=s(4),r=s(3),l=s.n(r),m=s(16),b=s.n(m),p=s(371),h=s(1292),g=s(1303),j=s(959),M=s(141),f=s(18),O=s(1295);const L=Object(d.f)({heading:{id:"column.mutes",defaultMessage:"Muted users"}});let v=Object(c.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 f.a{constructor(){super(...arguments),this.handleLoadMore=u()((()=>{this.props.dispatch(Object(M.k)())}),300,{leading:!0})}componentWillMount(){this.props.dispatch(Object(M.l)())}render(){const{intl:e,accountIds:t,hasMore:s,multiColumn:o,isLoading:a}=this.props;if(!t)return Object(n.a)(h.a,{},void 0,Object(n.a)(p.b,{}));const i=Object(n.a)(d.b,{id:"empty_column.mutes",defaultMessage:"You haven't muted any users yet."});return Object(n.a)(h.a,{bindToDocument:!o,name:"mutes",icon:"volume-off",heading:e.formatMessage(L.heading)},void 0,Object(n.a)(g.a,{}),Object(n.a)(O.a,{scrollKey:"mutes",onLoadMore:this.handleLoadMore,hasMore:s,isLoading:a,emptyMessage:i,bindToDocument:!o},void 0,t.map((e=>Object(n.a)(j.a,{id:e,defaultAction:"mute"},e)))))}}).propTypes={params:l.a.object.isRequired,dispatch:l.a.func.isRequired,hasMore:l.a.bool,isLoading:l.a.bool,accountIds:b.a.list,intl:l.a.object.isRequired,multiColumn:l.a.bool},o=a))||o)||o}}]);
//# sourceMappingURL=mutes-51307949d72d185a4e9a.chunk.js.map