Pleroma/priv/static/packs/flavours/glitch/async/getting_started_misc.js
2020-05-20 07:55:14 +02:00

2 lines
2.9 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[68],{809: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(9),t(6),t(8)),u=t(1),b=(t(3),t(5)),f=t.n(b),g=t(756),l=t(761),m=t(7),p=t(21),h=t(1103),M=t(1104),O=t(45),_=t(15);var 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){Object(c.a)(t,e);var a;a=t;function t(){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 t.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++}")))},t}(p.a),Object(u.a)(i,"propTypes",{intl:f.a.object.isRequired,dispatch:f.a.func.isRequired}),s=n))||s)||s}}]);
//# sourceMappingURL=getting_started_misc.js.map