-(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{724:function(o,a,t){"use strict";t.r(a),t.d(a,"default",function(){return k});var n,s,r,c=t(0),e=t.n(c),p=t(6),i=t.n(p),d=t(3),u=t.n(d),l=t(7),h=t.n(l),f=t(38),m=t.n(f),w=(t(1),t(12)),I=t(18),b=t(2),y=t.n(b),v=t(17),M=t.n(v),g=t(194),j=t(13),O=t(4),S=t(693),L=t(193),R=t(694),T=t(196),U=t(195),k=Object(w.connect)(function(o,a){return{accountIds:o.getIn(["user_lists","following",a.params.accountId,"items"]),hasMore:!!o.getIn(["user_lists","following",a.params.accountId,"next"])}})((r=s=function(o){function a(){var t,n,s;i()(this,a);for(var r=arguments.length,c=Array(r),e=0;e<r;e++)c[e]=arguments[e];return t=n=u()(this,o.call.apply(o,[this].concat(c))),n.handleLoadMore=m()(function(){n.props.dispatch(Object(j.v)(n.props.params.accountId))},300,{leading:!0}),s=t,u()(n,s)}return h()(a,o),a.prototype.componentWillMount=function(){this.props.dispatch(Object(j.w)(this.props.params.accountId)),this.props.dispatch(Object(j.z)(this.props.params.accountId))},a.prototype.componentWillReceiveProps=function(o){o.params.accountId!==this.props.params.accountId&&o.params.accountId&&(this.props.dispatch(Object(j.w)(o.params.accountId)),this.props.dispatch(Object(j.z)(o.params.accountId)))},a.prototype.render=function(){var o=this.props,a=o.shouldUpdateScroll,t=o.accountIds,n=o.hasMore;if(!t)return e()(L.a,{},void 0,e()(g.a,{}));var s=e()(O.b,{id:"account.follows.empty",defaultMessage:"This user doesn't follow anyone yet."});return e()(L.a,{},void 0,e()(T.a,{}),e()(U.a,{scrollKey:"following",hasMore:n,onLoadMore:this.handleLoadMore,shouldUpdateScroll:a,prepend:e()(R.a,{accountId:this.props.params.accountId,hideTabs:!0}),alwaysPrepend:!0,alwaysShowScrollbar:!0,emptyMessage:s},void 0,t.map(function(o){return e()(S.a,{id:o,withNote:!1},o)})))},a}(I.a),s.propTypes={params:y.a.object.isRequired,dispatch:y.a.func.isRequired,shouldUpdateScroll:y.a.func,accountIds:M.a.list,hasMore:y.a.bool},n=r))||n}}]);
+(window.webpackJsonp=window.webpackJsonp||[]).push([[28],{795:function(a,t,o){"use strict";o.r(t),o.d(t,"default",(function(){return _}));var c,e,n,s=o(0),r=o(2),i=o(7),p=o(1),u=o(62),d=o.n(u),l=(o(3),o(13)),b=o(18),h=o(5),m=o.n(h),f=o(14),j=o.n(f),I=o(300),O=o(25),y=o(6),w=o(1026),g=o(731),v=o(1057),M=o(738),k=o(1023),A=o(1030),_=Object(l.connect)((function(a,t){return{isAccount:!!a.getIn(["accounts",t.params.accountId]),accountIds:a.getIn(["user_lists","following",t.params.accountId,"items"]),hasMore:!!a.getIn(["user_lists","following",t.params.accountId,"next"]),blockedBy:a.getIn(["relationships",t.params.accountId,"blocked_by"],!1)}}))((n=e=function(a){function t(){for(var t,o=arguments.length,c=new Array(o),e=0;e<o;e++)c[e]=arguments[e];return t=a.call.apply(a,[this].concat(c))||this,Object(p.a)(Object(r.a)(t),"handleLoadMore",d()((function(){t.props.dispatch(Object(O.z)(t.props.params.accountId))}),300,{leading:!0})),t}Object(i.a)(t,a);var o=t.prototype;return o.componentWillMount=function(){this.props.accountIds||(this.props.dispatch(Object(O.A)(this.props.params.accountId)),this.props.dispatch(Object(O.D)(this.props.params.accountId)))},o.componentWillReceiveProps=function(a){a.params.accountId!==this.props.params.accountId&&a.params.accountId&&(this.props.dispatch(Object(O.A)(a.params.accountId)),this.props.dispatch(Object(O.D)(a.params.accountId)))},o.render=function(){var a=this.props,t=a.shouldUpdateScroll,o=a.accountIds,c=a.hasMore,e=a.blockedBy,n=a.isAccount,r=a.multiColumn;if(!n)return Object(s.a)(g.a,{},void 0,Object(s.a)(A.a,{}));if(!o)return Object(s.a)(g.a,{},void 0,Object(s.a)(I.a,{}));var i=e?Object(s.a)(y.b,{id:"empty_column.account_unavailable",defaultMessage:"Profile unavailable"}):Object(s.a)(y.b,{id:"account.follows.empty",defaultMessage:"This user doesn't follow anyone yet."});return Object(s.a)(g.a,{},void 0,Object(s.a)(M.a,{multiColumn:r}),Object(s.a)(k.a,{scrollKey:"following",hasMore:c,onLoadMore:this.handleLoadMore,shouldUpdateScroll:t,prepend:Object(s.a)(v.a,{accountId:this.props.params.accountId,hideTabs:!0}),alwaysPrepend:!0,emptyMessage:i,bindToDocument:!r},void 0,e?[]:o.map((function(a){return Object(s.a)(w.a,{id:a,withNote:!1},a)}))))},t}(b.a),Object(p.a)(e,"propTypes",{params:m.a.object.isRequired,dispatch:m.a.func.isRequired,shouldUpdateScroll:m.a.func,accountIds:j.a.list,hasMore:m.a.bool,blockedBy:m.a.bool,isAccount:m.a.bool,multiColumn:m.a.bool}),c=n))||c}}]);
//# sourceMappingURL=following.js.map
\ No newline at end of file