2018-08-12 07:29:30 -06:00
|
|
|
webpackJsonp([22],{155:function(e,t,a){"use strict";a.d(t,"a",function(){return m});var n=a(2),o=a.n(n),s=a(1),i=a.n(s),r=a(3),l=a.n(r),c=a(4),u=a.n(c),d=a(0),f=a.n(d),g=a(10),p=a.n(g),m=function(e){function t(){var a,n,o;i()(this,t);for(var s=arguments.length,r=Array(s),c=0;c<s;c++)r[c]=arguments[c];return a=n=l()(this,e.call.apply(e,[this].concat(r))),n.handleClick=function(){n.props.onClick()},o=a,l()(n,o)}return u()(t,e),t.prototype.render=function(){var e=this.props,t=e.icon,a=e.type,n=e.active,s=e.columnHeaderId,i="";return t&&(i=o()("i",{className:"fa fa-fw fa-"+t+" column-header__icon"})),o()("h1",{className:p()("column-header",{active:n}),id:s||null},void 0,o()("button",{onClick:this.handleClick},void 0,i,a))},t}(f.a.PureComponent)},274:function(e,t,a){"use strict";a.d(t,"a",function(){return h});var n=a(2),o=a.n(n),s=a(1),i=a.n(s),r=a(3),l=a.n(r),c=a(4),u=a.n(c),d=a(32),f=a.n(d),g=a(0),p=a.n(g),m=a(155),b=a(91),v=a(43),h=function(e){function t(){var a,n,o;i()(this,t);for(var s=arguments.length,r=Array(s),c=0;c<s;c++)r[c]=arguments[c];return a=n=l()(this,e.call.apply(e,[this].concat(r))),n.handleHeaderClick=function(){var e=n.node.querySelector(".scrollable");e&&(n._interruptScrollAnimation=Object(b.b)(e))},n.handleScroll=f()(function(){void 0!==n._interruptScrollAnimation&&n._interruptScrollAnimation()},200),n.setRef=function(e){n.node=e},o=a,l()(n,o)}return u()(t,e),t.prototype.scrollTop=function(){var e=this.node.querySelector(".scrollable");e&&(this._interruptScrollAnimation=Object(b.b)(e))},t.prototype.render=function(){var e=this.props,t=e.heading,a=e.icon,n=e.children,s=e.active,i=e.hideHeadingOnMobile,r=t&&(!i||i&&!Object(v.b)(window.innerWidth)),l=r&&t.replace(/ /g,"-"),c=r&&o()(m.a,{icon:a,active:s,type:t,onClick:this.handleHeaderClick,columnHeaderId:l});return p.a.createElement("div",{ref:this.setRef,role:"region","aria-labelledby":l,className:"column",onScroll:this.handleScroll},c,n)},t}(p.a.PureComponent)},819:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),a.d(t,"default",function(){return L});var n,o,s,i,r=a(2),l=a.n(r),c=a(1),u=a.n(c),d=a(3),f=a.n(d),g=a(4),p=a.n(g),m=a(0),b=(a.n(m),a(274)),v=a(897),h=a(898),_=a(7),M=a(9),k=a(5),y=a.n(k),w=a(14),q=a.n(w),N=a(12),P=a.n(N),x=a(13),C=a(22),R=a(325),j=a(8),A=(a.n(j),a(44)),O=a(886),F=Object(_.f)({home_timeline:{id:"tabs_bar.home",defaultMessage:"Home"},notifications:{id:"tabs_bar.notifications",defaultMessage:"Notifications"},public_timeline:{id:"navigation_bar.public_timeline",defaultMessage:"Federated timeline"},settings_subheading:{id:"column_subheading.settings",defaultMessage:"Settings"},community_timeline:{id:"navigation_bar.community_timeline",defaultMessage:"Local timeline"},direct:{id:"navigation_bar.direct",defaultMessage:"Direct messages"},preferences:{id:"navigation_bar.preferences",defaultMessage:"Preferences"},follow_requests:{id:"navigation_bar.follow_requests",defaultMessage:"Follow requests"},favourites:{id:"navigation_bar.favourites",defaultMessage:"Favourites"},blocks:{id:"navigation_bar.blocks",defaultMessage:"Blocked users"},domain_blocks:{id:"navigation_bar.domain_blocks",defaultMessage:"Hidden domains"},mutes:{id:"navigation_bar.mutes",defaultMessage:"Muted users"},pins:{id:"navigation_bar.pins",defaultMessage:"Pinned toots"},lists:{id:"navigation_bar.lists",defaultMessage:"Lists"},discover:{id:"navigation_bar.discover",defaultMessage:"Discover"},personal:{id:"navigation_bar.personal",defaultMessage:"Personal"},security:{id:"navigation_bar.security",defaultMessage:"Security"}}),S=function(e){return{myAccount:e.getIn(["accounts",x.i]),unreadFollowRequests:e.getIn(["user_lists","follow_requests","items"],Object(j.List)()).size,customPanelEnabled:e.getIn(["custom_panel","enabled"]),customPanel:e.getIn(["custom_panel","panel"])}},H=function(e){return{fetchFollowRequests:function(){return e(Object(C.v)())},fetchPanel:function(){return e(Object(R.c)())},fetchPleromaConfig:function(){return e(Object(R.d)())}}},I=function(e,t){return 0===e?void 0:t&&e>=t?t+"+":e},L=(n=Object(M.connect)(S,H))(o=Object(_.g)
|