2020-01-22 16:00:23 +01:00
|
|
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[66],{715:function(e,a,t){"use strict";t.r(a),t.d(a,"default",function(){return v});var o,s,i,n,r=t(0),d=t(2),c=t(7),u=t(1),b=(t(3),t(5)),f=t.n(b),g=t(662),l=t(668),m=t(6),p=t(19),h=t(1019),M=t(1020),O=t(42),_=t(12),j=Object(m.f)(((o={heading:{id:"column.heading",defaultMessage:"Misc"},subheading:{id:"column.subheading",defaultMessage:"Miscellaneous options"},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"},info:{id:"navigation_bar.info",defaultMessage:"Extended information"},show_me_around:{id:"getting_started.onboarding",defaultMessage:"Show me around"},pins:{id:"navigation_bar.pins",defaultMessage:"Pinned toots"}}).info={id:"navigation_bar.info",defaultMessage:"Extended information"},o.keyboard_shortcuts={id:"navigation_bar.keyboard_shortcuts",defaultMessage:"Keyboard shortcuts"},o.featured_users={id:"navigation_bar.featured_users",defaultMessage:"Featured users"},o)),v=Object(_.connect)()(s=Object(m.g)((n=i=function(e){function a(){for(var a,t=arguments.length,o=new Array(t),s=0;s<t;s++)o[s]=arguments[s];return a=e.call.apply(e,[this].concat(o))||this,Object(u.a)(Object(d.a)(a),"openOnboardingModal",function(e){a.props.dispatch(Object(O.d)("ONBOARDING"))}),Object(u.a)(Object(d.a)(a),"openFeaturedAccountsModal",function(e){a.props.dispatch(Object(O.d)("PINNED_ACCOUNTS_EDITOR"))}),a}return Object(c.a)(a,e),a.prototype.render=function(){var e=this.props.intl;return Object(r.a)(g.a,{icon:"ellipsis-h",heading:e.formatMessage(j.heading)},void 0,Object(r.a)(l.a,{}),Object(r.a)("div",{className:"scrollable"},void 0,Object(r.a)(M.a,{text:e.formatMessage(j.subheading)}),Object(r.a)(h.a,{icon:"star",text:e.formatMessage(j.favourites),to:"/favourites"},"{i++}"),Object(r.a)(h.a,{icon:"thumb-tack",text:e.formatMessage(j.pins),to:"/pinned"},"{i++}"),Object(r.a)(h.a,{icon:"users",text:e.formatMessage(j.featured_users),onClick:this.openFeaturedAccountsModal},"{i++}"),Object(r.a)(h.a,{icon:"volume-off",text:e.formatMessage(j.mutes),to:"/mutes"},"{i++}"),Object(r.a)(h.a,{icon:"ban",text:e.formatMessage(j.blocks),to:"/blocks"},"{i++}"),Object(r.a)(h.a,{icon:"minus-circle",text:e.formatMessage(j.domain_blocks),to:"/domain_blocks"},"{i++}"),Object(r.a)(h.a,{icon:"question",text:e.formatMessage(j.keyboard_shortcuts),to:"/keyboard-shortcuts"},"{i++}"),Object(r.a)(h.a,{icon:"book",text:e.formatMessage(j.info),href:"/about/more"},"{i++}"),Object(r.a)(h.a,{icon:"hand-o-right",text:e.formatMessage(j.show_me_around),onClick:this.openOnboardingModal},"{i++}")))},a}(p.a),Object(u.a)(i,"propTypes",{intl:f.a.object.isRequired,dispatch:f.a.func.isRequired}),s=n))||s)||s}}]);
|