forked from AkkomaGang/akkoma
2 lines
7.6 KiB
JavaScript
2 lines
7.6 KiB
JavaScript
|
webpackJsonp([19],{150:function(n,e,t){"use strict";t.d(e,"a",function(){return p});var o=t(2),i=t.n(o),a=t(1),c=t.n(a),r=t(3),l=t.n(r),u=t(4),s=t.n(u),d=t(0),f=t.n(d),p=function(n){function e(){var t,o,i;c()(this,e);for(var a=arguments.length,r=Array(a),u=0;u<a;u++)r[u]=arguments[u];return t=o=l()(this,n.call.apply(n,[this].concat(r))),o.handleClick=function(){o.props.onClick()},i=t,l()(o,i)}return s()(e,n),e.prototype.render=function(){var n=this.props,e=n.type,t=n.active,o=n.columnHeaderId,a="";return this.props.icon&&(a=i()("i",{className:"fa fa-fw fa-"+this.props.icon+" column-header__icon"})),i()("div",{role:"heading",tabIndex:"0",className:"column-header "+(t?"active":""),onClick:this.handleClick,id:o||null},void 0,a,e)},e}(f.a.PureComponent)},259:function(n,e,t){"use strict";t.d(e,"a",function(){return b});var o=t(2),i=t.n(o),a=t(1),c=t.n(a),r=t(3),l=t.n(r),u=t(4),s=t.n(u),d=t(42),f=t.n(d),p=t(0),h=t.n(p),m=t(150),g=t(91),v=t(33),b=function(n){function e(){var t,o,i;c()(this,e);for(var a=arguments.length,r=Array(a),u=0;u<a;u++)r[u]=arguments[u];return t=o=l()(this,n.call.apply(n,[this].concat(r))),o.handleHeaderClick=function(){var n=o.node.querySelector(".scrollable");n&&(o._interruptScrollAnimation=Object(g.b)(n))},o.handleScroll=f()(function(){void 0!==o._interruptScrollAnimation&&o._interruptScrollAnimation()},200),o.setRef=function(n){o.node=n},i=t,l()(o,i)}return s()(e,n),e.prototype.scrollTop=function(){var n=this.node.querySelector(".scrollable");n&&(this._interruptScrollAnimation=Object(g.b)(n))},e.prototype.render=function(){var n=this.props,e=n.heading,t=n.icon,o=n.children,a=n.active,c=n.hideHeadingOnMobile,r=e&&(!c||c&&!Object(v.b)(window.innerWidth)),l=r&&e.replace(/ /g,"-"),u=r&&i()(m.a,{icon:t,active:a,type:e,onClick:this.handleHeaderClick,columnHeaderId:l});return h.a.createElement("div",{ref:this.setRef,role:"region","aria-labelledby":l,className:"column",onScroll:this.handleScroll},u,o)},e}(h.a.PureComponent)},272:function(n,e,t){"use strict";t.d(e,"a",function(){return b});var o,i,a=t(2),c=t.n(a),r=t(1),l=t.n(r),u=t(3),s=t.n(u),d=t(4),f=t.n(d),p=t(0),h=t.n(p),m=t(6),g=t(5),v=t.n(g),b=(i=o=function(n){function e(){var t,o,i;l()(this,e);for(var a=arguments.length,c=Array(a),r=0;r<a;r++)c[r]=arguments[r];return t=o=s()(this,n.call.apply(n,[this].concat(c))),o.handleClick=function(){window.history&&1===window.history.length?o.context.router.history.push("/"):o.context.router.history.goBack()},i=t,s()(o,i)}return f()(e,n),e.prototype.render=function(){return c()("div",{className:"column-back-button--slim"},void 0,c()("div",{role:"button",tabIndex:"0",onClick:this.handleClick,className:"column-back-button column-back-button--slim-button"},void 0,c()("i",{className:"fa fa-fw fa-chevron-left column-back-button__icon"}),c()(m.b,{id:"column_back_button.label",defaultMessage:"Back"})))},e}(h.a.PureComponent),o.contextTypes={router:v.a.object},i)},771:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t.d(e,"default",function(){return R});var o,i,a,c,r=t(2),l=t.n(r),u=t(1),s=t.n(u),d=t(3),f=t.n(d),p=t(4),h=t.n(p),m=t(0),g=(t.n(m),t(9)),v=t(5),b=t.n(v),y=t(12),w=t.n(y),k=t(271),j=t(152),M=t(259),O=t(272),_=t(777),C=t(106),I=t(6),q=t(11),N=t.n(q),A=Object(I.f)({heading:{id:"column.mutes",defaultMessage:"Muted users"}}),S=function(n){return{accountIds:n.getIn(["user_lists","mutes","items"])}},R=(o=Object(g.connect)(S))(i=Object(I.g)((c=a=function(n){function e(){var t,o,i;s()(this,e);for(var a=arguments.length,c=Array(a),r=0;r<a;r++)c[r]=arguments[r];return t=o=f()(this,n.call.apply(n,[this].concat(c))),o.handleScroll=function(n){var e=n.target;e.scrollTop===e.scrollHeight-e.clientHeight&&o.props.dispatch(Object(C.c)())},i=t,f()(o,i)}return h()(e,n),e.prototype.componentWillMount=function(){this.props.dispatch(Object(C.d)())},e.prototype.render=function(){var n=this.props,e=n.intl,t=n.accountIds;return t?l()(M.a,{icon:"volume-off",heading:e.formatMessage(A.heading)},void 0,l()(O.a,{}),l()(j.a,{scrollKey:"mutes"},void 0,l()("div",{className:"scrollable mutes",onScroll:this.handleSc
|
||
|
//# sourceMappingURL=mutes-60c139f123f8d11ed903.js.map
|