pleroma/priv/static/packs/flavours/glitch/async/getting_started_misc.js

2 lines
No EOL
3.3 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[59],{680:function(a,e,t){"use strict";t.r(e),t.d(e,"default",function(){return k});var o,i,s,n,c=t(1),r=t(6),d=t(0),u=t(2),b=(t(3),t(5)),l=t.n(b),f=t(640),g=t(644),h=t(7),O=t(24),_=t(917),p=t(918),m=t(45),j=t(20),v=t(159),M=Object(h.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.switch_to_vanilla={id:"navigation_bar.switch_to_vanilla",defaultMessage:"Switch to Vanilla Flavour"},o)),k=Object(j.connect)()(i=Object(h.g)((n=s=function(i){function a(){for(var e,a=arguments.length,t=new Array(a),o=0;o<a;o++)t[o]=arguments[o];return e=i.call.apply(i,[this].concat(t))||this,Object(u.a)(Object(d.a)(Object(d.a)(e)),"openOnboardingModal",function(a){e.props.dispatch(Object(m.d)("ONBOARDING"))}),Object(u.a)(Object(d.a)(Object(d.a)(e)),"openFeaturedAccountsModal",function(a){e.props.dispatch(Object(m.d)("PINNED_ACCOUNTS_EDITOR"))}),Object(u.a)(Object(d.a)(Object(d.a)(e)),"switch_flavour_vanilla",function(a){e.props.dispatch(Object(v.e)("vanilla"))}),e}return Object(r.a)(a,i),a.prototype.render=function(){var a=this.props.intl;return Object(c.a)(f.a,{icon:"ellipsis-h",heading:a.formatMessage(M.heading)},void 0,Object(c.a)(g.a,{}),Object(c.a)("div",{className:"scrollable"},void 0,Object(c.a)(p.a,{text:a.formatMessage(M.subheading)}),Object(c.a)(_.a,{icon:"star",text:a.formatMessage(M.favourites),to:"/favourites"},"{i++}"),Object(c.a)(_.a,{icon:"thumb-tack",text:a.formatMessage(M.pins),to:"/pinned"},"{i++}"),Object(c.a)(_.a,{icon:"users",text:a.formatMessage(M.featured_users),onClick:this.openFeaturedAccountsModal},"{i++}"),Object(c.a)(_.a,{icon:"volume-off",text:a.formatMessage(M.mutes),to:"/mutes"},"{i++}"),Object(c.a)(_.a,{icon:"ban",text:a.formatMessage(M.blocks),to:"/blocks"},"{i++}"),Object(c.a)(_.a,{icon:"minus-circle",text:a.formatMessage(M.domain_blocks),to:"/domain_blocks"},"{i++}"),Object(c.a)(_.a,{icon:"question",text:a.formatMessage(M.keyboard_shortcuts),to:"/keyboard-shortcuts"},"{i++}"),Object(c.a)(_.a,{icon:"book",text:a.formatMessage(M.info),href:"/about/more"},"{i++}"),Object(c.a)(_.a,{icon:"hand-o-right",text:a.formatMessage(M.show_me_around),onClick:this.openOnboardingModal},"{i++}"),Object(c.a)(_.a,{icon:"exchange",text:a.formatMessage(M.switch_to_vanilla),onClick:this.switch_flavour_vanilla},"{i++}")))},a}(O.a),Object(u.a)(s,"propTypes",{intl:l.a.object.isRequired,dispatch:l.a.func.isRequired,switchFlavour:l.a.func.isRequired}),i=n))||i)||i}}]);
//# sourceMappingURL=getting_started_misc.js.map