forked from AkkomaGang/akkoma
2 lines
No EOL
1.8 KiB
JavaScript
2 lines
No EOL
1.8 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[80],{704:function(t,e,a){"use strict";a.r(e),a.d(e,"default",function(){return M});var s,n,o,c=a(0),r=a(2),i=a(7),u=a(1),p=a(3),d=a.n(p),l=a(12),b=a(5),h=a.n(b),f=a(18),j=a.n(f),m=a(293),O=a(49),g=a(459),w=a(662),y=a(664),I=a(6),v=a(19),k=a(963),R=Object(I.f)({heading:{id:"column.reblogged_by",defaultMessage:"Boosted by"}}),M=Object(l.connect)(function(t,e){return{accountIds:t.getIn(["user_lists","reblogged_by",e.params.statusId])}})(s=Object(I.g)((o=n=function(t){function e(){for(var e,a=arguments.length,s=new Array(a),n=0;n<a;n++)s[n]=arguments[n];return e=t.call.apply(t,[this].concat(s))||this,Object(u.a)(Object(r.a)(e),"handleHeaderClick",function(){e.column.scrollTop()}),Object(u.a)(Object(r.a)(e),"setRef",function(t){e.column=t}),e}Object(i.a)(e,t);var a=e.prototype;return a.componentWillMount=function(){this.props.accountIds||this.props.dispatch(Object(O.r)(this.props.params.statusId))},a.componentWillReceiveProps=function(t){t.params.statusId!==this.props.params.statusId&&t.params.statusId&&this.props.dispatch(Object(O.r)(t.params.statusId))},a.render=function(){var t=this.props,e=t.intl,a=t.accountIds;if(!a)return Object(c.a)(w.a,{},void 0,Object(c.a)(m.a,{}));var s=Object(c.a)(I.b,{id:"status.reblogs.empty",defaultMessage:"No one has boosted this toot yet. When someone does, they will show up here."});return d.a.createElement(w.a,{ref:this.setRef},Object(c.a)(y.a,{icon:"retweet",title:e.formatMessage(R.heading),onClick:this.handleHeaderClick,showBackButton:!0}),Object(c.a)(k.a,{scrollKey:"reblogs",emptyMessage:s},void 0,a.map(function(t){return Object(c.a)(g.a,{id:t,withNote:!1},t)})))},e}(v.a),Object(u.a)(n,"propTypes",{params:h.a.object.isRequired,dispatch:h.a.func.isRequired,accountIds:j.a.list,intl:h.a.object.isRequired}),s=o))||s)||s}}]);
|
|
//# sourceMappingURL=reblogs.js.map
|