(window.webpackJsonp=window.webpackJsonp||[]).push([[95],{1103:function(e,t,s){"use strict";s.r(t),s.d(t,"default",(function(){return R}));var a,o,r=s(0),i=s(1),n=s.n(i),c=s(12),d=s(3),l=s.n(d),u=s(16),p=s.n(u),h=s(371),b=s(57),m=s(959),f=s(1292),g=s(28),j=s(1294),O=s(4),I=s(18),w=s(1295);const y=Object(O.f)({heading:{id:"column.reblogged_by",defaultMessage:"Boosted by"},refresh:{id:"refresh",defaultMessage:"Refresh"}});let R=Object(c.connect)(((e,t)=>({accountIds:e.getIn(["user_lists","reblogged_by",t.params.statusId])})))(a=Object(O.g)(((o=class extends I.a{constructor(){super(...arguments),this.handleHeaderClick=()=>{this.column.scrollTop()},this.setRef=e=>{this.column=e},this.handleRefresh=()=>{this.props.dispatch(Object(b.r)(this.props.params.statusId))}}componentWillMount(){this.props.accountIds||this.props.dispatch(Object(b.r)(this.props.params.statusId))}componentWillReceiveProps(e){e.params.statusId!==this.props.params.statusId&&e.params.statusId&&this.props.dispatch(Object(b.r)(e.params.statusId))}render(){const{intl:e,accountIds:t,multiColumn:s}=this.props;if(!t)return Object(r.a)(f.a,{},void 0,Object(r.a)(h.b,{}));const a=Object(r.a)(O.b,{id:"status.reblogs.empty",defaultMessage:"No one has boosted this post yet. When someone does, they will show up here."});return n.a.createElement(f.a,{ref:this.setRef},Object(r.a)(j.a,{icon:"retweet",title:e.formatMessage(y.heading),onClick:this.handleHeaderClick,showBackButton:!0,multiColumn:s,extraButton:Object(r.a)("button",{className:"column-header__button",title:e.formatMessage(y.refresh),"aria-label":e.formatMessage(y.refresh),onClick:this.handleRefresh},void 0,Object(r.a)(g.a,{id:"refresh"}))}),Object(r.a)(w.a,{scrollKey:"reblogs",emptyMessage:a,bindToDocument:!s},void 0,t.map((e=>Object(r.a)(m.a,{id:e,withNote:!1},e)))))}}).propTypes={params:l.a.object.isRequired,dispatch:l.a.func.isRequired,accountIds:p.a.list,multiColumn:l.a.bool,intl:l.a.object.isRequired},a=o))||a)||a}}]);
//# sourceMappingURL=reblogs-3e40b7576ccd3f7e4107.chunk.js.map