pleroma/priv/static/packs/features/getting_started-b65f1e917d66a972f2bf.js

2 lines
7.0 KiB
JavaScript
Raw Normal View History

2017-11-12 08:23:05 -05:00
webpackJsonp([23],{150:function(e,t,n){"use strict";n.d(t,"a",function(){return g});var i=n(2),o=n.n(i),a=n(1),s=n.n(a),r=n(3),u=n.n(r),l=n(4),c=n.n(l),d=n(0),f=n.n(d),g=function(e){function t(){var n,i,o;s()(this,t);for(var a=arguments.length,r=Array(a),l=0;l<a;l++)r[l]=arguments[l];return n=i=u()(this,e.call.apply(e,[this].concat(r))),i.handleClick=function(){i.props.onClick()},o=n,u()(i,o)}return c()(t,e),t.prototype.render=function(){var e=this.props,t=e.type,n=e.active,i=e.columnHeaderId,a="";return this.props.icon&&(a=o()("i",{className:"fa fa-fw fa-"+this.props.icon+" column-header__icon"})),o()("div",{role:"heading",tabIndex:"0",className:"column-header "+(n?"active":""),onClick:this.handleClick,id:i||null},void 0,a,t)},t}(f.a.PureComponent)},259:function(e,t,n){"use strict";n.d(t,"a",function(){return v});var i=n(2),o=n.n(i),a=n(1),s=n.n(a),r=n(3),u=n.n(r),l=n(4),c=n.n(l),d=n(42),f=n.n(d),g=n(0),m=n.n(g),p=n(150),h=n(91),b=n(33),v=function(e){function t(){var n,i,o;s()(this,t);for(var a=arguments.length,r=Array(a),l=0;l<a;l++)r[l]=arguments[l];return n=i=u()(this,e.call.apply(e,[this].concat(r))),i.handleHeaderClick=function(){var e=i.node.querySelector(".scrollable");e&&(i._interruptScrollAnimation=Object(h.b)(e))},i.handleScroll=f()(function(){void 0!==i._interruptScrollAnimation&&i._interruptScrollAnimation()},200),i.setRef=function(e){i.node=e},o=n,u()(i,o)}return c()(t,e),t.prototype.scrollTop=function(){var e=this.node.querySelector(".scrollable");e&&(this._interruptScrollAnimation=Object(h.b)(e))},t.prototype.render=function(){var e=this.props,t=e.heading,n=e.icon,i=e.children,a=e.active,s=e.hideHeadingOnMobile,r=t&&(!s||s&&!Object(b.b)(window.innerWidth)),u=r&&t.replace(/ /g,"-"),l=r&&o()(p.a,{icon:n,active:a,type:t,onClick:this.handleHeaderClick,columnHeaderId:u});return m.a.createElement("div",{ref:this.setRef,role:"region","aria-labelledby":u,className:"column",onScroll:this.handleScroll},l,i)},t}(m.a.PureComponent)},759:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"default",function(){return q});var i,o,a,s,r=n(2),u=n.n(r),l=n(1),c=n.n(l),d=n(3),f=n.n(d),g=n(4),m=n.n(g),p=n(0),h=(n.n(p),n(259)),b=n(896),v=n(897),_=n(6),M=n(9),k=n(5),y=n.n(k),x=n(12),N=n.n(x),A=n(11),C=n.n(A),w=n(18),O=Object(_.f)({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"},preferences:{id:"navigation_bar.preferences",defaultMessage:"Preferences"},follow_requests:{id:"navigation_bar.follow_requests",defaultMessage:"Follow requests"},sign_out:{id:"navigation_bar.logout",defaultMessage:"Logout"},favourites:{id:"navigation_bar.favourites",defaultMessage:"Favourites"},blocks:{id:"navigation_bar.blocks",defaultMessage:"Blocked users"},mutes:{id:"navigation_bar.mutes",defaultMessage:"Muted users"},info:{id:"navigation_bar.info",defaultMessage:"Extended information"},pins:{id:"navigation_bar.pins",defaultMessage:"Pinned toots"}}),S=function(e){return{myAccount:e.getIn(["accounts",w.e]),columns:e.getIn(["settings","columns"])}},q=(i=Object(M.connect)(S))(o=Object(_.g)((s=a=function(e){function t(){return c()(this,t),f()(this,e.apply(this,arguments))}return m()(t,e),t.prototype.render=function(){var e=this.props,t=e.intl,n=e.myAccount,i=e.columns,o=e.multiColumn,a=[];return o&&(i.find(function(e){return"HOME"===e.get("id")})||a.push(u()(b.a,{icon:"home",text:t.formatMessage(O.home_timeline),to:"/timelines/home"},"0")),i.find(function(e){return"NOTIFICATIONS"===e.get("id")})||a.push(u()(b.a,{icon:"bell",text:t.formatMessage(O.notifications),to:"/notifications"},"1")),i.find(function(e){return"COMMUNITY"===
//# sourceMappingURL=getting_started-b65f1e917d66a972f2bf.js.map