(window.webpackJsonp=window.webpackJsonp||[]).push([[53],{1e3:function(t,e,s){"use strict";s.r(e),s.d(e,"default",(function(){return q}));var i,a,n=s(0),o=(s(1),s(12)),l=s(3),c=s.n(l),u=s(16),d=s.n(u),r=s(281),b=s(957),p=s(962),g=s(25),j=s(4),m=s(18),h=s(1444),O=s(1445),f=s(1446),w=s(39),y=s(1296);const M=Object(j.f)({heading:{id:"column.lists",defaultMessage:"Lists"},subheading:{id:"lists.subheading",defaultMessage:"Your lists"}}),v=Object(w.a)([t=>t.get("lists")],(t=>t?t.toList().filter((t=>!!t)).sort(((t,e)=>t.get("title").localeCompare(e.get("title")))):t));let q=Object(o.connect)((t=>({lists:v(t)})))(i=Object(j.g)(((a=class extends m.a{componentWillMount(){this.props.dispatch(Object(g.I)())}render(){const{intl:t,lists:e,multiColumn:s}=this.props;if(!e)return Object(n.a)(b.a,{},void 0,Object(n.a)(r.b,{}));const i=Object(n.a)(j.b,{id:"empty_column.lists",defaultMessage:"You don't have any lists yet. When you create one, it will show up here."});return Object(n.a)(b.a,{bindToDocument:!s,icon:"list-ul",heading:t.formatMessage(M.heading)},void 0,Object(n.a)(p.a,{}),Object(n.a)(f.a,{}),Object(n.a)(y.a,{scrollKey:"lists",emptyMessage:i,prepend:Object(n.a)(O.a,{text:t.formatMessage(M.subheading)}),bindToDocument:!s},void 0,e.map((t=>Object(n.a)(h.a,{to:"/lists/"+t.get("id"),icon:"list-ul",text:t.get("title")},t.get("id"))))))}}).propTypes={params:c.a.object.isRequired,dispatch:c.a.func.isRequired,lists:d.a.list,intl:c.a.object.isRequired,multiColumn:c.a.bool},i=a))||i)||i}}]);
//# sourceMappingURL=lists-ebc5fcdd084c54f649d1.chunk.js.map