Pleroma/priv/static/packs/flavours/glitch/async/getting_started.js

2 lines
9.1 KiB
JavaScript
Raw Normal View History

2020-05-20 07:55:14 +02:00
(window.webpackJsonp=window.webpackJsonp||[]).push([[67],{231:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return o})),n.d(t,"d",(function(){return r}));var i=n(12),a="TRENDS_FETCH_REQUEST",s="TRENDS_FETCH_SUCCESS",o="TRENDS_FETCH_FAIL",r=function(){return function(e,t){e(c()),Object(i.a)(t).get("/api/v1/trends").then((function(t){var n=t.data;return e(u(n))})).catch((function(t){return e(l(t))}))}},c=function(){return{type:a,skipLoading:!0}},u=function(e){return{type:s,trends:e,skipLoading:!0}},l=function(e){return{type:o,error:e,skipLoading:!0,skipAlert:!0}}},785:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i,a=n(0),s=(n(9),n(6),n(8)),o=n(3),r=n.n(o),c=n(7);var u=Object(c.g)(i=function(e){Object(s.a)(n,e);var t;t=n;function n(){return e.apply(this,arguments)||this}return n.prototype.render=function(){return Object(a.a)("div",{className:"getting-started__footer"},void 0,Object(a.a)("p",{},void 0,Object(a.a)(c.b,{id:"getting_started.mastofe_notice",defaultMessage:"Mastofe is a libre distribution of the frontend from {glitchsoc}, a friendly fork of {mastodon}. You can contribute or report issues at {mastofe}.",values:{mastofe:Object(a.a)("a",{href:"https://git.pleroma.social/pleroma/mastofe",rel:"noopener noreferrer",target:"_blank"},void 0,"Mastofe"),glitchsoc:Object(a.a)("a",{href:"https://github.com/glitch-soc/mastodon",rel:"noopener noreferrer",target:"_blank"},void 0,"glitch-soc"),mastodon:Object(a.a)("a",{href:"https://github.com/tootsuite/mastodon",rel:"noopener noreferrer",target:"_blank"},void 0,"Mastodon"),pleroma:Object(a.a)("a",{href:"https://pleroma.social",rel:"noopener noreferrer",target:"_blank"},void 0,"Pleroma")}})))},n}(r.a.PureComponent))||i},792:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return P}));var i,a,s,o,r=n(0),c=(n(9),n(6),n(8)),u=n(1),l=(n(3),n(756)),d=n(1103),f=n(1104),g=n(7),b=n(15),m=n(45),p=n(5),h=n.n(p),_=n(16),O=n.n(_),v=n(21),j=n(18),M=n(24),y=n(4),k=n(57),w=n(30),T=n(150),q=n(768),I=n(785),R=n(203),x=n(864);var C=Object(g.f)(((i={heading:{id:"getting_started.heading",defaultMessage:"Getting started"},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"},navigation_subheading:{id:"column_subheading.navigation",defaultMessage:"Navigation"},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"},bookmarks:{id:"navigation_bar.bookmarks",defaultMessage:"Bookmarks"},preferences:{id:"navigation_bar.preferences",defaultMessage:"Preferences"},settings:{id:"navigation_bar.app_settings",defaultMessage:"App settings"},follow_requests:{id:"navigation_bar.follow_requests",defaultMessage:"Follow requests"},lists:{id:"navigation_bar.lists",defaultMessage:"Lists"},keyboard_shortcuts:{id:"navigation_bar.keyboard_shortcuts",defaultMessage:"Keyboard shortcuts"}}).lists={id:"navigation_bar.lists",defaultMessage:"Lists"},i.lists_subheading={id:"column_subheading.lists",defaultMessage:"Lists"},i.misc={id:"navigation_bar.misc",defaultMessage:"Misc"},i.menu={id:"getting_started.heading",defaultMessage:"Getting started"},i.profile_directory={id:"getting_started.directory",defaultMessage:"Profile directory"},i)),N=function(e,t){return 0===e?void 0:t&&e>=t?t+"+":e},P=Object(b.connect)((function(){var e=Object(k.a)([function(e){return e.get("lists")}],(function(e){return e?e.toList().filter((function(e){return!!e})).sort((function(e,t){return e.get("title").localeCompare(t.get("title"))})):e}));return function(t){return{lists:e(t),myAccount:t.getIn(["accounts",j.m]),columns:t.getIn(["settings","columns"]),unreadFollowRequests:t.getIn(["user_lists","follow_requests","items"],Object(y.List)()).size,unreadNotifications:t.getIn(["notifications","unread"])
2018-09-16 23:17:34 +02:00
//# sourceMappingURL=getting_started.js.map