X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;ds=sidebyside;f=priv%2Fstatic%2Fpacks%2Ffeatures%2Fgetting_started.js;h=21450c8e157a086baa34bdb54403b5dbf678cb9e;hb=423ea497bb2a7225f4f0d0e1ebff93466b3ec124;hp=a804f737eeb309cdd2f41345ab3073483771fa57;hpb=5b62acf6e9a38f8d14a9fb37cc85e646fb0169e3;p=akkoma
diff --git a/priv/static/packs/features/getting_started.js b/priv/static/packs/features/getting_started.js
index a804f737e..21450c8e1 100644
--- a/priv/static/packs/features/getting_started.js
+++ b/priv/static/packs/features/getting_started.js
@@ -1,2 +1,2 @@
-(window.webpackJsonp=window.webpackJsonp||[]).push([[28],{694:function(e,t,a){"use strict";a.d(t,"a",function(){return j});var i,s,o=a(0),n=a(2),r=a(7),c=a(1),u=a(12),d=a(3),l=a.n(d),b=a(6),g=a(310),f=a(20),p=a(638),m=a(47),v=Object(b.f)({logoutMessage:{id:"confirmations.logout.message",defaultMessage:"Are you sure you want to log out?"},logoutConfirm:{id:"confirmations.logout.confirm",defaultMessage:"Log out"}}),j=(i=Object(u.connect)(null,function(e,t){var a=t.intl;return{onLogout:function(){e(Object(m.d)("CONFIRM",{message:a.formatMessage(v.logoutMessage),confirm:a.formatMessage(v.logoutConfirm),onConfirm:function(){return Object(p.a)()}}))}}}),Object(b.g)(s=i(s=function(e){function t(){for(var t,a=arguments.length,i=new Array(a),s=0;s=1190?this.context.router.history.replace("/timelines/home"):t()},a.render=function(){var e,t,a=this.props,i=a.intl,s=a.myAccount,o=a.multiColumn,r=a.unreadFollowRequests,c=[],g=1,f=o?0:60;return o?(c.push(Object(n.a)(l.a,{text:i.formatMessage(q.discover)},g++),Object(n.a)(d.a,{icon:"users",text:i.formatMessage(q.community_timeline),to:"/timelines/public/local"},g++),Object(n.a)(d.a,{icon:"globe",text:i.formatMessage(q.public_timeline),to:"/timelines/public"},g++)),f+=130,O.n&&(c.push(Object(n.a)(d.a,{icon:"address-book",text:i.formatMessage(q.profile_directory),to:"/directory"},g++)),f+=48),c.push(Object(n.a)(l.a,{text:i.formatMessage(q.personal)},g++)),f+=34):O.n&&(c.push(Object(n.a)(d.a,{icon:"address-book",text:i.formatMessage(q.profile_directory),to:"/directory"},g++)),f+=48),c.push(Object(n.a)(d.a,{icon:"envelope",text:i.formatMessage(q.direct),to:"/timelines/direct"},g++),Object(n.a)(d.a,{icon:"star",text:i.formatMessage(q.favourites),to:"/favourites"},g++),Object(n.a)(d.a,{icon:"list-ul",text:i.formatMessage(q.lists),to:"/lists"},g++)),f+=144,(s.get("locked")||r>0)&&(c.push(Object(n.a)(d.a,{icon:"user-plus",text:i.formatMessage(q.follow_requests),badge:(e=r,t=40,0===e?void 0:t&&e>=t?t+"+":e),to:"/follow_requests"},g++)),f+=48),o||(c.push(Object(n.a)(l.a,{text:i.formatMessage(q.settings_subheading)},g++),Object(n.a)(d.a,{icon:"gears",text:i.formatMessage(q.preferences),href:"/settings/preferences"},g++)),f+=82),Object(n.a)(u.a,{bindToDocument:!o,label:i.formatMessage(q.menu)},void 0,o&&Object(n.a)("div",{className:"column-header__wrapper"},void 0,Object(n.a)("h1",{className:"column-header"},void 0,Object(n.a)("button",{},void 0,Object(n.a)(y.a,{id:"bars",className:"column-header__icon",fixedWidth:!0}),Object(n.a)(b.b,{id:"getting_started.heading",defaultMessage:"Getting started"})))),Object(n.a)("div",{className:"getting-started"},void 0,Object(n.a)("div",{className:"getting-started__wrapper",style:{height:f}},void 0,!o&&Object(n.a)(M.a,{account:s}),c),!o&&Object(n.a)("div",{className:"flex-spacer"}),Object(n.a)(w.a,{withHotkeys:o})),o&&O.r&&Object(n.a)(k.a,{}))},t}(j.a),Object(c.a)(s,"contextTypes",{router:p.a.object.isRequired}),Object(c.a)(s,"propTypes",{intl:p.a.object.isRequired,myAccount:v.a.map.isRequired,columns:v.a.list,multiColumn:p.a.bool,fetchFollowRequests:p.a.func.isRequired,unreadFollowRequests:p.a.number,unreadNotifications:p.a.number}),i=o))||i)||i},770:function(e,t,a){"use strict";var i=a(12),s=a(258),o=a(0),n=a(7),r=a(1),c=(a(3),a(19)),u=a(5),d=a.n(u),l=a(18),b=a.n(l),g=a(676),f=a(6),p=function(e){function t(){return e.apply(this,arguments)||this}Object(n.a)(t,e);var a=t.prototype;return a.componentDidMount=function(){var e=this;this.props.fetchTrends(),this.refreshInterval=setInterval(function(){return e.props.fetchTrends()},9e5)},a.componentWillUnmount=function(){this.refreshInterval&&clearInterval(this.refreshInterval)},a.render=function(){var e=this.props.trends;return!e||e.isEmpty()?null:Object(o.a)("div",{className:"getting-started__trends"},void 0,Object(o.a)("h4",{},void 0,Object(o.a)(f.b,{id:"trends.trending_now",defaultMessage:"Trending now"})),e.take(3).map(function(e){return Object(o.a)(g.a,{hashtag:e},e.get("name"))}))},t}(c.a);Object(r.a)(p,"defaultProps",{loading:!1}),Object(r.a)(p,"propTypes",{trends:b.a.list,fetchTrends:d.a.func.isRequired});t.a=Object(i.connect)(function(e){return{trends:e.getIn(["trends","items"])}},function(e){return{fetchTrends:function(){return e(Object(s.d)())}}})(p)}}]);
+(window.webpackJsonp=window.webpackJsonp||[]).push([[30],{788:function(e,t,a){"use strict";a.d(t,"a",(function(){return j}));var i,o,s=a(0),n=a(2),r=(a(9),a(6),a(8)),c=a(1),u=a(15),d=a(3),l=a.n(d),b=a(7),g=a(322),f=a(22),m=a(724),p=a(48);var v=Object(b.f)({logoutMessage:{id:"confirmations.logout.message",defaultMessage:"Are you sure you want to log out?"},logoutConfirm:{id:"confirmations.logout.confirm",defaultMessage:"Log out"}}),j=(i=Object(u.connect)(null,(function(e,t){var a=t.intl;return{onLogout:function(){e(Object(p.d)("CONFIRM",{message:a.formatMessage(v.logoutMessage),confirm:a.formatMessage(v.logoutConfirm),onConfirm:function(){return Object(m.a)()}}))}}})),Object(b.g)(o=i(o=function(e){Object(r.a)(a,e);var t;t=a;function a(){for(var t,a=arguments.length,i=new Array(a),o=0;o=1190?this.context.router.history.replace("/timelines/home"):t()},i.render=function(){var e,t,a=this.props,i=a.intl,o=a.myAccount,s=a.multiColumn,r=a.unreadFollowRequests,c=[],g=1,f=s?0:60;return s?(c.push(Object(n.a)(l.a,{text:i.formatMessage(q.discover)},g++),Object(n.a)(d.a,{icon:"users",text:i.formatMessage(q.community_timeline),to:"/timelines/public/local"},g++),Object(n.a)(d.a,{icon:"globe",text:i.formatMessage(q.public_timeline),to:"/timelines/public"},g++)),f+=130,O.o&&(c.push(Object(n.a)(d.a,{icon:"address-book",text:i.formatMessage(q.profile_directory),to:"/directory"},g++)),f+=48),c.push(Object(n.a)(l.a,{text:i.formatMessage(q.personal)},g++)),f+=34):O.o&&(c.push(Object(n.a)(d.a,{icon:"address-book",text:i.formatMessage(q.profile_directory),to:"/directory"},g++)),f+=48),c.push(Object(n.a)(d.a,{icon:"envelope",text:i.formatMessage(q.direct),to:"/timelines/direct"},g++),Object(n.a)(d.a,{icon:"bookmark",text:i.formatMessage(q.bookmarks),to:"/bookmarks"},g++),Object(n.a)(d.a,{icon:"star",text:i.formatMessage(q.favourites),to:"/favourites"},g++),Object(n.a)(d.a,{icon:"list-ul",text:i.formatMessage(q.lists),to:"/lists"},g++)),f+=192,(o.get("locked")||r>0)&&(c.push(Object(n.a)(d.a,{icon:"user-plus",text:i.formatMessage(q.follow_requests),badge:(e=r,t=40,0===e?void 0:t&&e>=t?t+"+":e),to:"/follow_requests"},g++)),f+=48),s||(c.push(Object(n.a)(l.a,{text:i.formatMessage(q.settings_subheading)},g++),Object(n.a)(d.a,{icon:"gears",text:i.formatMessage(q.preferences),href:"/settings/preferences"},g++)),f+=82),Object(n.a)(u.a,{bindToDocument:!s,label:i.formatMessage(q.menu)},void 0,s&&Object(n.a)("div",{className:"column-header__wrapper"},void 0,Object(n.a)("h1",{className:"column-header"},void 0,Object(n.a)("button",{},void 0,Object(n.a)(y.a,{id:"bars",className:"column-header__icon",fixedWidth:!0}),Object(n.a)(b.b,{id:"getting_started.heading",defaultMessage:"Getting started"})))),Object(n.a)("div",{className:"getting-started"},void 0,Object(n.a)("div",{className:"getting-started__wrapper",style:{height:f}},void 0,!s&&Object(n.a)(M.a,{account:o}),c),!s&&Object(n.a)("div",{className:"flex-spacer"}),Object(n.a)(k.a,{withHotkeys:s})),s&&O.s&&Object(n.a)(w.a,{}))},a}(j.a),Object(c.a)(o,"contextTypes",{router:m.a.object.isRequired}),Object(c.a)(o,"propTypes",{intl:m.a.object.isRequired,myAccount:v.a.map.isRequired,columns:v.a.list,multiColumn:m.a.bool,fetchFollowRequests:m.a.func.isRequired,unreadFollowRequests:m.a.number,unreadNotifications:m.a.number}),i=s))||i)||i},865:function(e,t,a){"use strict";var i=a(15),o=a(231),s=a(0),n=(a(9),a(6),a(8)),r=a(1),c=(a(3),a(21)),u=a(5),d=a.n(u),l=a(16),b=a.n(l),g=a(770),f=a(7);var m=function(e){Object(n.a)(a,e);var t;t=a;function a(){return e.apply(this,arguments)||this}var i=a.prototype;return i.componentDidMount=function(){var e=this;this.props.fetchTrends(),this.refreshInterval=setInterval((function(){return e.props.fetchTrends()}),9e5)},i.componentWillUnmount=function(){this.refreshInterval&&clearInterval(this.refreshInterval)},i.render=function(){var e=this.props.trends;return!e||e.isEmpty()?null:Object(s.a)("div",{className:"getting-started__trends"},void 0,Object(s.a)("h4",{},void 0,Object(s.a)(f.b,{id:"trends.trending_now",defaultMessage:"Trending now"})),e.take(3).map((function(e){return Object(s.a)(g.a,{hashtag:e},e.get("name"))})))},a}(c.a);Object(r.a)(m,"defaultProps",{loading:!1}),Object(r.a)(m,"propTypes",{trends:b.a.list,fetchTrends:d.a.func.isRequired});t.a=Object(i.connect)((function(e){return{trends:e.getIn(["trends","items"])}}),(function(e){return{fetchTrends:function(){return e(Object(o.d)())}}}))(m)}}]);
//# sourceMappingURL=getting_started.js.map
\ No newline at end of file