-webpackJsonp([14],{149:function(e,t,n){"use strict";n.d(t,"a",function(){return b});var o,i,r=n(2),s=n.n(r),a=n(1),c=n.n(a),l=n(3),u=n.n(l),d=n(4),h=n.n(d),p=n(0),f=n.n(p),g=n(6),b=(i=o=function(e){function t(){return c()(this,t),u()(this,e.apply(this,arguments))}return h()(t,e),t.prototype.render=function(){var e=this.props,t=e.disabled,n=e.visible;return s()("button",{className:"load-more",disabled:t||!n,style:{visibility:n?"visible":"hidden"},onClick:this.props.onClick},void 0,s()(g.b,{id:"status.load_more",defaultMessage:"Load more"}))},t}(f.a.PureComponent),o.defaultProps={visible:!0},i)},282:function(e,t,n){"use strict";function o(e){return function(t){t({type:r,account:e}),t(Object(i.d)("MUTE"))}}t.a=o;var i=(n(14),n(22),n(15),n(26)),r="MUTES_INIT_MODAL"},284:function(e,t,n){"use strict";function o(e,t){return function(n){n({type:r,account:e,status:t}),n(Object(i.d)("REPORT"))}}t.a=o;var i=(n(14),n(26)),r="REPORT_INIT"},285:function(e,t,n){"use strict";var o=n(2),i=n.n(o),r=n(0),s=(n.n(r),n(9)),a=n(152),c=n(66),l=n(18),u=n(67),d=n(22),h=n(91),p=n(282),f=n(284),g=n(26),b=n(6),v=n(11),m=Object(b.f)({deleteConfirm:{id:"confirmations.delete.confirm",defaultMessage:"Delete"},deleteMessage:{id:"confirmations.delete.message",defaultMessage:"Are you sure you want to delete this status?"},blockConfirm:{id:"confirmations.block.confirm",defaultMessage:"Block"}}),y=function(){var e=Object(c.e)();return function(t,n){return{status:e(t,n.id)}}},M=function(e,t){var n=t.intl;return{onReply:function(t,n){e(Object(l.T)(t,n))},onModalReblog:function(t){e(Object(u.l)(t))},onReblog:function(t,n){t.get("reblogged")?e(Object(u.n)(t)):n.shiftKey||!v.b?this.onModalReblog(t):e(Object(g.d)("BOOST",{status:t,onReblog:this.onModalReblog}))},onFavourite:function(t){e(t.get("favourited")?Object(u.m)(t):Object(u.i)(t))},onDelete:function(t){e(v.e?Object(g.d)("CONFIRM",{message:n.formatMessage(m.deleteMessage),confirm:n.formatMessage(m.deleteConfirm),onConfirm:function(){return e(Object(h.f)(t.get("id")))}}):Object(h.f)(t.get("id")))},onMention:function(t,n){e(Object(l.R)(t,n))},onOpenMedia:function(t,n){e(Object(g.d)("MEDIA",{media:t,index:n}))},onOpenVideo:function(t,n){e(Object(g.d)("VIDEO",{media:t,time:n}))},onBlock:function(t){e(Object(g.d)("CONFIRM",{message:i()(b.b,{id:"confirmations.block.message",defaultMessage:"Are you sure you want to block {name}?",values:{name:i()("strong",{},void 0,"@",t.get("acct"))}}),confirm:n.formatMessage(m.blockConfirm),onConfirm:function(){return e(Object(d.q)(t.get("id")))}}))},onReport:function(t){e(Object(f.a)(t.get("account"),t))},onMute:function(t){e(Object(p.a)(t))},onMuteConversation:function(t){e(t.get("muted")?Object(h.k)(t.get("id")):Object(h.i)(t.get("id")))},onToggleHidden:function(t){e(t.get("hidden")?Object(h.j)(t.get("id")):Object(h.h)(t.get("id")))}}};t.a=Object(b.g)(Object(s.connect)(y,M)(a.a))},287:function(e,t,n){"use strict";n.d(t,"a",function(){return L});var o,i,r=n(2),s=n.n(r),a=n(1),c=n.n(a),l=n(3),u=n.n(l),d=n(4),h=n.n(d),p=n(93),f=n.n(p),g=n(0),b=n.n(g),v=n(151),m=n(5),y=n.n(m),M=n(288),O=n(149),I=n(293),j=n(8),C=(n.n(j),n(10)),k=n.n(C),S=n(153),L=(i=o=function(e){function t(){var n,o,i;c()(this,t);for(var r=arguments.length,s=Array(r),a=0;a<r;a++)s[a]=arguments[a];return n=o=u()(this,e.call.apply(e,[this].concat(s))),o.state={lastMouseMove:null},o.intersectionObserverWrapper=new I.a,o.handleScroll=f()(function(){if(o.node){var e=o.node,t=e.scrollTop,n=e.scrollHeight,i=e.clientHeight,r=n-t-i;o._oldScrollPosition=n-t,400>r&&o.props.onLoadMore&&!o.props.isLoading&&o.props.onLoadMore(),t<100&&o.props.onScrollToTop?o.props.onScrollToTop():o.props.onScroll&&o.props.onScroll()}},150,{trailing:!0}),o.handleMouseMove=f()(function(){o._lastMouseMove=new Date},300),o.handleMouseLeave=function(){o._lastMouseMove=null},o.onFullScreenChange=function(){o.setState({fullscreen:Object(S.d)()})},o.setRef=function(e){o.node=e},o.handleLoadMore=function(e){e.preventDefault(),o.props.onLoadMore()},i=n,u()(o,i)}return h()(t,e),t.prototype.componentDidMount=function(){this.attachScrollListener(),this.attachIntersectionObserver(),Object(S.a)(this.onFullScreenChange),this.handleScroll()},t.prototype.componentDidUpdate=function(e){if(b.a.Children.count(e.children)>0&&b.a.Children.count(e.children)<b.a.Children.count(this.props.children)&&this.getFirstChildKey(e)!==this.getFirstChildKey(this.props)&&this._oldScrollPosition&&this.node.scrollTop>0){var t=this.node.scrollHeight-this._oldScrollPosition;this.node.scrollTop!==t&&(this.node.scrollTop=t)}else this._oldScrollPosition=this.node.scrollHeight-this.node.scrollTop},t.prototype.componentWillUnmount=function(){this.detachScrollListener(),this.detachIntersectionObserver(),Object(S.b)(this.onFullScreenChange)},t.prototype.attachIntersectionObserver=function(){this.intersectionObserverWrapper.connect({root:this.node,rootMargin:"300% 0px"})},t.prototype.detachIntersectionObserver=function(){this.intersectionObserverWrapper.disconnect()},t.prototype.attachScrollListener=function(){this.node.addEventListener("scroll",this.handleScroll)},t.prototype.detachScrollListener=function(){this.node.removeEventListener("scroll",this.handleScroll)},t.prototype.getFirstChildKey=function(e){var t=e.children,n=t;return t instanceof j.List?n=t.get(0):Array.isArray(t)&&(n=t[0]),n&&n.key},t.prototype._recentlyMoved=function(){return null!==this._lastMouseMove&&new Date-this._lastMouseMove<600},t.prototype.render=function(){var e=this,t=this.props,n=t.children,o=t.scrollKey,i=t.trackScroll,r=t.shouldUpdateScroll,a=t.isLoading,c=t.hasMore,l=t.prepend,u=t.emptyMessage,d=t.onLoadMore,h=this.state.fullscreen,p=b.a.Children.count(n),f=c&&p>0&&d?s()(O.a,{visible:!a,onClick:this.handleLoadMore}):null,g=null;return g=a||p>0||!u?b.a.createElement("div",{className:k()("scrollable",{fullscreen:h}),ref:this.setRef,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave},s()("div",{role:"feed",className:"item-list"},void 0,l,b.a.Children.map(this.props.children,function(t,n){return s()(M.a,{id:t.key,index:n,listLength:p,intersectionObserverWrapper:e.intersectionObserverWrapper,saveHeightKey:i?e.context.router.route.location.key+":"+o:null},t.key,t)}),f)):b.a.createElement("div",{className:"empty-column-indicator",ref:this.setRef},u),i?s()(v.a,{scrollKey:o,shouldUpdateScroll:r},void 0,g):g},t}(g.PureComponent),o.contextTypes={router:y.a.object},o.defaultProps={trackScroll:!0},i)},288:function(e,t,n){"use strict";var o=n(9),i=n(289),r=n(94),s=function(e,t){return{cachedHeight:e.getIn(["height_cache",t.saveHeightKey,t.id])}},a=function(e){return{onHeightChange:function(t,n,o){e(Object(r.d)(t,n,o))}}};t.a=Object(o.connect)(s,a)(i.a)},289:function(e,t,n){"use strict";n.d(t,"a",function(){return b});var o=n(1),i=n.n(o),r=n(3),s=n.n(r),a=n(4),c=n.n(a),l=n(0),u=n.n(l),d=n(290),h=n(292),p=n(8),f=(n.n(p),["id","index","listLength"]),g=["id","index","listLength","cachedHeight"],b=function(e){function t(){var n,o,r;i()(this,t);for(var a=arguments.length,c=Array(a),l=0;l<a;l++)c[l]=arguments[l];return n=o=s()(this,e.call.apply(e,[this].concat(c))),o.state={isHidden:!1},o.handleIntersection=function(e){o.entry=e,Object(d.a)(o.calculateHeight),o.setState(o.updateStateAfterIntersection)},o.updateStateAfterIntersection=function(e){return e.isIntersecting&&!o.entry.isIntersecting&&Object(d.a)(o.hideIfNotIntersecting),{isIntersecting:o.entry.isIntersecting,isHidden:!1}},o.calculateHeight=function(){var e=o.props,t=e.onHeightChange,n=e.saveHeightKey,i=e.id;o.height=Object(h.a)(o.entry).height,t&&n&&t(n,i,o.height)},o.hideIfNotIntersecting=function(){o.componentMounted&&o.setState(function(e){return{isHidden:!e.isIntersecting}})},o.handleRef=function(e){o.node=e},r=n,s()(o,r)}return c()(t,e),t.prototype.shouldComponentUpdate=function(e,t){var n=this,o=!this.state.isIntersecting&&(this.state.isHidden||this.props.cachedHeight);return!!o!=!(t.isIntersecting||!t.isHidden&&!e.cachedHeight)||!(o?g:f).every(function(t){return Object(p.is)(e[t],n.props[t])})},t.prototype.componentDidMount=function(){var e=this.props,t=e.intersectionObserverWrapper,n=e.id;t.observe(n,this.node,this.handleIntersection),this.componentMounted=!0},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.intersectionObserverWrapper,n=e.id;t.unobserve(n,this.node),this.componentMounted=!1},t.prototype.render=function(){var e=this.props,t=e.children,n=e.id,o=e.index,i=e.listLength,r=e.cachedHeight,s=this.state,a=s.isIntersecting,c=s.isHidden;return a||!c&&!r?u.a.createElement("article",{ref:this.handleRef,"aria-posinset":o,"aria-setsize":i,"data-id":n,tabIndex:"0"},t&&u.a.cloneElement(t,{hidden:!1})):u.a.createElement("article",{ref:this.handleRef,"aria-posinset":o,"aria-setsize":i,style:{height:(this.height||r)+"px",opacity:0,overflow:"hidden"},"data-id":n,tabIndex:"0"},t&&u.a.cloneElement(t,{hidden:!0}))},t}(u.a.Component)},290:function(e,t,n){"use strict";function o(e){for(;a.length&&e.timeRemaining()>0;)a.shift()();a.length?requestIdleCallback(o):c=!1}function i(e){a.push(e),c||(c=!0,requestIdleCallback(o))}var r=n(291),s=n.n(r),a=new s.a,c=!1;t.a=i},291:function(e,t,n){"use strict";function o(){this.length=0}o.prototype.push=function(e){var t={item:e};this.last?this.last=this.last.next=t:this.last=this.first=t,this.length++},o.prototype.shift=function(){var e=this.first;if(e)return this.first=e.next,--this.length||(this.last=void 0),e.item},o.prototype.slice=function(e,t){e=void 0===e?0:e,t=void 0===t?1/0:t;for(var n=[],o=0,i=this.first;i&&!(--t<0);i=i.next)++o>e&&n.push(i.item);return n},e.exports=o},292:function(e,t,n){"use strict";function o(e){if("boolean"!=typeof i){var t=e.target.getBoundingClientRect(),n=e.boundingClientRect;i=t.height!==n.height||t.top!==n.top||t.width!==n.width||t.bottom!==n.bottom||t.left!==n.left||t.right!==n.right}return i?e.target.getBoundingClientRect():e.boundingClientRect}var i=void 0;t.a=o},293:function(e,t,n){"use strict";var o=n(1),i=n.n(o),r=function(){function e(){i()(this,e),this.callbacks={},this.observerBacklog=[],this.observer=null}return e.prototype.connect=function(e){var t=this,n=function(e){e.forEach(function(e){var n=e.target.getAttribute("data-id");t.callbacks[n]&&t.callbacks[n](e)})};this.observer=new IntersectionObserver(n,e),this.observerBacklog.forEach(function(e){var n=e[0],o=e[1],i=e[2];t.observe(n,o,i)}),this.observerBacklog=null},e.prototype.observe=function(e,t,n){this.observer?(this.callbacks[e]=n,this.observer.observe(t)):this.observerBacklog.push([e,t,n])},e.prototype.unobserve=function(e,t){this.observer&&(delete this.callbacks[e],this.observer.unobserve(t))},e.prototype.disconnect=function(){this.observer&&(this.callbacks={},this.observer.disconnect(),this.observer=null)},e}();t.a=r},294:function(e,t,n){"use strict";n.d(t,"a",function(){return E});var o,i,r,s,a=n(29),c=n.n(a),l=n(31),u=n.n(l),d=n(2),h=n.n(d),p=n(1),f=n.n(p),g=n(3),b=n.n(g),v=n(4),m=n.n(v),y=n(34),M=n.n(y),O=n(0),I=n.n(O),j=n(13),C=n.n(j),k=n(5),S=n.n(k),L=n(285),_=n(12),R=n.n(_),T=n(149),H=n(287),x=n(6),P=(i=o=function(e){function t(){var n,o,i;f()(this,t);for(var r=arguments.length,s=Array(r),a=0;a<r;a++)s[a]=arguments[a];return n=o=b()(this,e.call.apply(e,[this].concat(s))),o.handleClick=function(){o.props.onClick(o.props.maxId)},i=n,b()(o,i)}return m()(t,e),t.prototype.render=function(){return h()(T.a,{onClick:this.handleClick,disabled:this.props.disabled})},t}(R.a),o.propTypes={disabled:S.a.bool,maxId:S.a.string,onClick:S.a.func.isRequired},i),E=(s=r=function(e){function t(){var n,o,i;f()(this,t);for(var r=arguments.length,s=Array(r),a=0;a<r;a++)s[a]=arguments[a];return n=o=b()(this,e.call.apply(e,[this].concat(s))),o.handleMoveUp=function(e){var t=o.props.statusIds.indexOf(e)-1;o._selectChild(t)},o.handleMoveDown=function(e){var t=o.props.statusIds.indexOf(e)+1;o._selectChild(t)},o.handleLoadOlder=M()(function(){o.props.onLoadMore(o.props.statusIds.last())},300,{leading:!0}),o.setRef=function(e){o.node=e},i=n,b()(o,i)}return m()(t,e),t.prototype._selectChild=function(e){var t=this.node.node.querySelector("article:nth-of-type("+(e+1)+") .focusable");t&&t.focus()},t.prototype.render=function(){var e=this,t=this.props,n=t.statusIds,o=t.onLoadMore,i=u()(t,["statusIds","onLoadMore"]),r=i.isLoading;if(i.isPartial)return h()("div",{className:"regeneration-indicator"},void 0,h()("div",{},void 0,h()("div",{className:"regeneration-indicator__label"},void 0,h()(x.b,{id:"regeneration_indicator.label",tagName:"strong",defaultMessage:"Loading…"}),h()(x.b,{id:"regeneration_indicator.sublabel",defaultMessage:"Your home feed is being prepared!"}))));var s=r||n.size>0?n.map(function(t,i){return null===t?h()(P,{disabled:r,maxId:i>0?n.get(i-1):null,onClick:o},"gap:"+n.get(i+1)):h()(L.a,{id:t,onMoveUp:e.handleMoveUp,onMoveDown:e.handleMoveDown},t)}):null;return I.a.createElement(H.a,c()({},i,{onLoadMore:o&&this.handleLoadOlder,ref:this.setRef}),s)},t}(R.a),r.propTypes={scrollKey:S.a.string.isRequired,statusIds:C.a.list.isRequired,onLoadMore:S.a.func,onScrollToTop:S.a.func,onScroll:S.a.func,trackScroll:S.a.bool,shouldUpdateScroll:S.a.func,isLoading:S.a.bool,isPartial:S.a.bool,hasMore:S.a.bool,prepend:S.a.node,emptyMessage:S.a.node},r.defaultProps={trackScroll:!0},s)},808:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"default",function(){return C});var o,i,r=n(2),s=n.n(r),a=n(1),c=n.n(a),l=n(3),u=n.n(l),d=n(4),h=n.n(d),p=n(0),f=n.n(p),g=n(9),b=n(92),v=n(69),m=n(68),y=n(19),M=n(297),O=n(6),I=n(70),j=function(e,t){return{hasUnread:e.getIn(["timelines","hashtag:"+t.params.id,"unread"])>0}},C=(o=Object(g.connect)(j))(i=function(e){function t(){var n,o,i;c()(this,t);for(var r=arguments.length,s=Array(r),a=0;a<r;a++)s[a]=arguments[a];return n=o=u()(this,e.call.apply(e,[this].concat(s))),o.handlePin=function(){var e=o.props,t=e.columnId,n=e.dispatch;n(t?Object(M.f)(t):Object(M.d)("HASHTAG",{id:o.props.params.id}))},o.handleMove=function(e){var t=o.props,n=t.columnId;(0,t.dispatch)(Object(M.e)(n,e))},o.handleHeaderClick=function(){o.column.scrollTop()},o.setRef=function(e){o.column=e},o.handleLoadMore=function(e){o.props.dispatch(Object(y.n)(o.props.params.id,{maxId:e}))},i=n,u()(o,i)}return h()(t,e),t.prototype._subscribe=function(e,t){this.disconnect=e(Object(I.b)(t))},t.prototype._unsubscribe=function(){this.disconnect&&(this.disconnect(),this.disconnect=null)},t.prototype.componentDidMount=function(){var e=this.props.dispatch,t=this.props.params.id;e(Object(y.n)(t)),this._subscribe(e,t)},t.prototype.componentWillReceiveProps=function(e){e.params.id!==this.props.params.id&&(this.props.dispatch(Object(y.n)(e.params.id)),this._unsubscribe(),this._subscribe(this.props.dispatch,e.params.id))},t.prototype.componentWillUnmount=function(){this._unsubscribe()},t.prototype.render=function(){var e=this.props,t=e.hasUnread,n=e.columnId,o=e.multiColumn,i=this.props.params.id,r=!!n;return f.a.createElement(v.a,{ref:this.setRef},s()(m.a,{icon:"hashtag",active:t,title:i,onPin:this.handlePin,onMove:this.handleMove,onClick:this.handleHeaderClick,pinned:r,multiColumn:o,showBackButton:!0}),s()(b.a,{trackScroll:!r,scrollKey:"hashtag_timeline-"+n,timelineId:"hashtag:"+i,onLoadMore:this.handleLoadMore,emptyMessage:s()(O.b,{id:"empty_column.hashtag",defaultMessage:"There is nothing in this hashtag yet."})}))},t}(f.a.PureComponent))||i},92:function(e,t,n){"use strict";var o=n(34),i=n.n(o),r=n(9),s=n(294),a=n(19),c=n(8),l=(n.n(c),n(95)),u=(n.n(l),n(11)),d=function(){return Object(l.createSelector)([function(e,t){var n=t.type;return e.getIn(["settings",n],Object(c.Map)())},function(e,t){var n=t.type;return e.getIn(["timelines",n,"items"],Object(c.List)())},function(e){return e.get("statuses")}],function(e,t,n){var o=e.getIn(["regex","body"],"").trim(),i=null;try{i=o&&new RegExp(o,"i")}catch(e){}return t.filter(function(t){var o=n.get(t),r=!0;if(!1===e.getIn(["shows","reblog"])&&(r=r&&null===o.get("reblog")),!1===e.getIn(["shows","reply"])&&(r=r&&(null===o.get("in_reply_to_id")||o.get("in_reply_to_account_id")===u.g)),r&&i&&o.get("account")!==u.g){var s=o.get("reblog")?n.getIn([o.get("reblog"),"search_index"]):o.get("search_index");r=!i.test(s)}return r})})},h=function(){var e=d();return function(t,n){var o=n.timelineId;return{statusIds:e(t,{type:o}),isLoading:t.getIn(["timelines",o,"isLoading"],!0),isPartial:t.getIn(["timelines",o,"isPartial"],!1),hasMore:t.getIn(["timelines",o,"hasMore"])}}},p=function(e,t){var n=t.timelineId;return{onScrollToTop:i()(function(){e(Object(a.r)(n,!0))},100),onScroll:i()(function(){e(Object(a.r)(n,!1))},100)}};t.a=Object(r.connect)(h,p)(s.a)}});
+(window.webpackJsonp=window.webpackJsonp||[]).push([[34],{117:function(t,e){var n=Array.isArray;t.exports=n},151:function(t,e,n){var r=n(473),o=n(476);t.exports=function(t,e){var n=o(t,e);return r(n)?n:void 0}},275:function(t,e,n){var r=n(489),o=n(490),a=n(491),i=n(492),s=n(493);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=i,c.prototype.set=s,t.exports=c},276:function(t,e,n){var r=n(411);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},277:function(t,e,n){var r=n(151)(Object,"create");t.exports=r},278:function(t,e,n){var r=n(507);t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},320:function(t,e,n){var r=n(151)(n(76),"Map");t.exports=r},322:function(t,e){var n=9007199254740991;t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=n}},323:function(t,e,n){var r=n(499),o=n(506),a=n(508),i=n(509),s=n(510);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=i,c.prototype.set=s,t.exports=c},382:function(t,e,n){var r=n(477),o=n(484),a=n(488);t.exports=function(t){return a(t)?r(t):o(t)}},407:function(t,e,n){var r=n(152),o=n(96),a="[object AsyncFunction]",i="[object Function]",s="[object GeneratorFunction]",c="[object Proxy]";t.exports=function(t){if(!o(t))return!1;var e=r(t);return e==i||e==s||e==a||e==c}},408:function(t,e){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},409:function(t,e,n){(function(t){var r=n(76),o=n(480),a=e&&!e.nodeType&&e,i=a&&"object"==typeof t&&t&&!t.nodeType&&t,s=i&&i.exports===a?r.Buffer:void 0,c=(s?s.isBuffer:void 0)||o;t.exports=c}).call(this,n(232)(t))},410:function(t,e,n){var r=n(481),o=n(482),a=n(483),i=a&&a.isTypedArray,s=i?o(i):r;t.exports=s},411:function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},412:function(t,e,n){var r=n(512),o=n(515),a=n(516),i=1,s=2;t.exports=function(t,e,n,c,u,p){var f=n&i,l=t.length,h=e.length;if(l!=h&&!(f&&h>l))return!1;var d=p.get(t);if(d&&p.get(e))return d==e;var b=-1,v=!0,g=n&s?new r:void 0;for(p.set(t,e),p.set(e,t);++b<l;){var _=t[b],j=e[b];if(c)var y=f?c(j,_,b,e,t,p):c(_,j,b,t,e,p);if(void 0!==y){if(y)continue;v=!1;break}if(g){if(!o(e,(function(t,e){if(!a(g,e)&&(_===t||u(_,t,n,c,p)))return g.push(e)}))){v=!1;break}}else if(_!==j&&!u(_,j,n,c,p)){v=!1;break}}return p.delete(t),p.delete(e),v}},413:function(t,e,n){var r=n(479),o=n(153),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(t){return o(t)&&i.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},414:function(t,e){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var o=typeof t;return!!(e=null==e?n:e)&&("number"==o||"symbol"!=o&&r.test(t))&&t>-1&&t%1==0&&t<e}},415:function(t,e,n){var r=n(275),o=n(494),a=n(495),i=n(496),s=n(497),c=n(498);function u(t){var e=this.__data__=new r(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},416:function(t,e,n){var r=n(511),o=n(153);t.exports=function t(e,n,a,i,s){return e===n||(null==e||null==n||!o(e)&&!o(n)?e!=e&&n!=n:r(e,n,a,i,t,s))}},473:function(t,e,n){var r=n(407),o=n(474),a=n(96),i=n(408),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,p=c.toString,f=u.hasOwnProperty,l=RegExp("^"+p.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(r(t)?l:s).test(i(t))}},474:function(t,e,n){var r,o=n(475),a=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!a&&a in t}},475:function(t,e,n){var r=n(76)["__core-js_shared__"];t.exports=r},476:function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},477:function(t,e,n){var r=n(478),o=n(413),a=n(117),i=n(409),s=n(414),c=n(410),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=a(t),p=!n&&o(t),f=!n&&!p&&i(t),l=!n&&!p&&!f&&c(t),h=n||p||f||l,d=h?r(t.length,String):[],b=d.length;for(var v in t)!e&&!u.call(t,v)||h&&("length"==v||f&&("offset"==v||"parent"==v)||l&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,b))||d.push(v);return d}},478:function(t,e){t.exports=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}},479:function(t,e,n){var r=n(152),o=n(153),a="[object Arguments]";t.exports=function(t){return o(t)&&r(t)==a}},480:function(t,e){t.exports=function(){return!1}},481:function(t,e,n){var r=n(152),o=n(322),a=n(153),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,t.exports=function(t){return a(t)&&o(t.length)&&!!i[r(t)]}},482:function(t,e){t.exports=function(t){return function(e){return t(e)}}},483:function(t,e,n){(function(t){var r=n(279),o=e&&!e.nodeType&&e,a=o&&"object"==typeof t&&t&&!t.nodeType&&t,i=a&&a.exports===o&&r.process,s=function(){try{var t=a&&a.require&&a.require("util").types;return t||i&&i.binding&&i.binding("util")}catch(t){}}();t.exports=s}).call(this,n(232)(t))},484:function(t,e,n){var r=n(485),o=n(486),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var e=[];for(var n in Object(t))a.call(t,n)&&"constructor"!=n&&e.push(n);return e}},485:function(t,e){var n=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},486:function(t,e,n){var r=n(487)(Object.keys,Object);t.exports=r},487:function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},488:function(t,e,n){var r=n(407),o=n(322);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},489:function(t,e){t.exports=function(){this.__data__=[],this.size=0}},490:function(t,e,n){var r=n(276),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0)&&(n==e.length-1?e.pop():o.call(e,n,1),--this.size,!0)}},491:function(t,e,n){var r=n(276);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},492:function(t,e,n){var r=n(276);t.exports=function(t){return r(this.__data__,t)>-1}},493:function(t,e,n){var r=n(276);t.exports=function(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}},494:function(t,e,n){var r=n(275);t.exports=function(){this.__data__=new r,this.size=0}},495:function(t,e){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},496:function(t,e){t.exports=function(t){return this.__data__.get(t)}},497:function(t,e){t.exports=function(t){return this.__data__.has(t)}},498:function(t,e,n){var r=n(275),o=n(320),a=n(323),i=200;t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!o||s.length<i-1)return s.push([t,e]),this.size=++n.size,this;n=this.__data__=new a(s)}return n.set(t,e),this.size=n.size,this}},499:function(t,e,n){var r=n(500),o=n(275),a=n(320);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(a||o),string:new r}}},500:function(t,e,n){var r=n(501),o=n(502),a=n(503),i=n(504),s=n(505);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=i,c.prototype.set=s,t.exports=c},501:function(t,e,n){var r=n(277);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},502:function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},503:function(t,e,n){var r=n(277),o="__lodash_hash_undefined__",a=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return n===o?void 0:n}return a.call(e,t)?e[t]:void 0}},504:function(t,e,n){var r=n(277),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:o.call(e,t)}},505:function(t,e,n){var r=n(277),o="__lodash_hash_undefined__";t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?o:e,this}},506:function(t,e,n){var r=n(278);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},507:function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},508:function(t,e,n){var r=n(278);t.exports=function(t){return r(this,t).get(t)}},509:function(t,e,n){var r=n(278);t.exports=function(t){return r(this,t).has(t)}},510:function(t,e,n){var r=n(278);t.exports=function(t,e){var n=r(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}},511:function(t,e,n){var r=n(415),o=n(412),a=n(517),i=n(521),s=n(528),c=n(117),u=n(409),p=n(410),f=1,l="[object Arguments]",h="[object Array]",d="[object Object]",b=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,v,g,_){var j=c(t),y=c(e),m=j?h:s(t),O=y?h:s(e),x=(m=m==l?d:m)==d,w=(O=O==l?d:O)==d,M=m==O;if(M&&u(t)){if(!u(e))return!1;j=!0,x=!1}if(M&&!x)return _||(_=new r),j||p(t)?o(t,e,n,v,g,_):a(t,e,m,n,v,g,_);if(!(n&f)){var A=x&&b.call(t,"__wrapped__"),S=w&&b.call(e,"__wrapped__");if(A||S){var z=A?t.value():t,P=S?e.value():e;return _||(_=new r),g(z,P,n,v,_)}}return!!M&&(_||(_=new r),i(t,e,n,v,g,_))}},512:function(t,e,n){var r=n(323),o=n(513),a=n(514);function i(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new r;++e<n;)this.add(t[e])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,t.exports=i},513:function(t,e){var n="__lodash_hash_undefined__";t.exports=function(t){return this.__data__.set(t,n),this}},514:function(t,e){t.exports=function(t){return this.__data__.has(t)}},515:function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}},516:function(t,e){t.exports=function(t,e){return t.has(e)}},517:function(t,e,n){var r=n(155),o=n(518),a=n(411),i=n(412),s=n(519),c=n(520),u=1,p=2,f="[object Boolean]",l="[object Date]",h="[object Error]",d="[object Map]",b="[object Number]",v="[object RegExp]",g="[object Set]",_="[object String]",j="[object Symbol]",y="[object ArrayBuffer]",m="[object DataView]",O=r?r.prototype:void 0,x=O?O.valueOf:void 0;t.exports=function(t,e,n,r,O,w,M){switch(n){case m:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case y:return!(t.byteLength!=e.byteLength||!w(new o(t),new o(e)));case f:case l:case b:return a(+t,+e);case h:return t.name==e.name&&t.message==e.message;case v:case _:return t==e+"";case d:var A=s;case g:var S=r&u;if(A||(A=c),t.size!=e.size&&!S)return!1;var z=M.get(t);if(z)return z==e;r|=p,M.set(t,e);var P=i(A(t),A(e),r,O,w,M);return M.delete(t),P;case j:if(x)return x.call(t)==x.call(e)}return!1}},518:function(t,e,n){var r=n(76).Uint8Array;t.exports=r},519:function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}},520:function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},521:function(t,e,n){var r=n(522),o=1,a=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,i,s,c){var u=n&o,p=r(t),f=p.length;if(f!=r(e).length&&!u)return!1;for(var l=f;l--;){var h=p[l];if(!(u?h in e:a.call(e,h)))return!1}var d=c.get(t);if(d&&c.get(e))return d==e;var b=!0;c.set(t,e),c.set(e,t);for(var v=u;++l<f;){var g=t[h=p[l]],_=e[h];if(i)var j=u?i(_,g,h,e,t,c):i(g,_,h,t,e,c);if(!(void 0===j?g===_||s(g,_,n,i,c):j)){b=!1;break}v||(v="constructor"==h)}if(b&&!v){var y=t.constructor,m=e.constructor;y!=m&&"constructor"in t&&"constructor"in e&&!("function"==typeof y&&y instanceof y&&"function"==typeof m&&m instanceof m)&&(b=!1)}return c.delete(t),c.delete(e),b}},522:function(t,e,n){var r=n(523),o=n(525),a=n(382);t.exports=function(t){return r(t,a,o)}},523:function(t,e,n){var r=n(524),o=n(117);t.exports=function(t,e,n){var a=e(t);return o(t)?a:r(a,n(t))}},524:function(t,e){t.exports=function(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}},525:function(t,e,n){var r=n(526),o=n(527),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(t){return null==t?[]:(t=Object(t),r(i(t),(function(e){return a.call(t,e)})))}:o;t.exports=s},526:function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=0,a=[];++n<r;){var i=t[n];e(i,n,t)&&(a[o++]=i)}return a}},527:function(t,e){t.exports=function(){return[]}},528:function(t,e,n){var r=n(529),o=n(320),a=n(530),i=n(531),s=n(532),c=n(152),u=n(408),p=u(r),f=u(o),l=u(a),h=u(i),d=u(s),b=c;(r&&"[object DataView]"!=b(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=b(new o)||a&&"[object Promise]"!=b(a.resolve())||i&&"[object Set]"!=b(new i)||s&&"[object WeakMap]"!=b(new s))&&(b=function(t){var e=c(t),n="[object Object]"==e?t.constructor:void 0,r=n?u(n):"";if(r)switch(r){case p:return"[object DataView]";case f:return"[object Map]";case l:return"[object Promise]";case h:return"[object Set]";case d:return"[object WeakMap]"}return e}),t.exports=b},529:function(t,e,n){var r=n(151)(n(76),"DataView");t.exports=r},530:function(t,e,n){var r=n(151)(n(76),"Promise");t.exports=r},531:function(t,e,n){var r=n(151)(n(76),"Set");t.exports=r},532:function(t,e,n){var r=n(151)(n(76),"WeakMap");t.exports=r},824:function(t,e,n){"use strict";n.r(e);var r,o,a=n(0),i=n(2),s=n(7),c=n(1),u=n(1116),p=n.n(u),f=n(3),l=n.n(f),h=n(13),d=n(1036),b=n(736),v=n(733),g=n(6),_=n(301),j=n.n(_),y=n(1143),m=Object(g.f)({placeholder:{id:"hashtag.column_settings.select.placeholder",defaultMessage:"Enter hashtags…"},noOptions:{id:"hashtag.column_settings.select.no_options_message",defaultMessage:"No suggestions found"}}),O=Object(g.g)(r=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return e=t.call.apply(t,[this].concat(r))||this,Object(c.a)(Object(i.a)(e),"state",{open:e.hasTags()}),Object(c.a)(Object(i.a)(e),"onSelect",(function(t){return function(n){return e.props.onChange(["tags",t],n)}})),Object(c.a)(Object(i.a)(e),"onToggle",(function(){e.state.open&&e.hasTags()&&e.props.onChange("tags",{}),e.setState({open:!e.state.open})})),Object(c.a)(Object(i.a)(e),"noOptionsMessage",(function(){return e.props.intl.formatMessage(m.noOptions)})),e}Object(s.a)(e,t);var n=e.prototype;return n.hasTags=function(){var t=this;return["all","any","none"].map((function(e){return t.tags(e).length>0})).includes(!0)},n.tags=function(t){var e=this.props.settings.getIn(["tags",t])||[];return e.toJSON?e.toJSON():e},n.modeSelect=function(t){return Object(a.a)("div",{className:"column-settings__row"},void 0,Object(a.a)("span",{className:"column-settings__section"},void 0,this.modeLabel(t)),Object(a.a)(y.a,{isMulti:!0,autoFocus:!0,value:this.tags(t),onChange:this.onSelect(t),loadOptions:this.props.onLoad,className:"column-select__container",classNamePrefix:"column-select",name:"tags",placeholder:this.props.intl.formatMessage(m.placeholder),noOptionsMessage:this.noOptionsMessage}))},n.modeLabel=function(t){switch(t){case"any":return Object(a.a)(g.b,{id:"hashtag.column_settings.tag_mode.any",defaultMessage:"Any of these"});case"all":return Object(a.a)(g.b,{id:"hashtag.column_settings.tag_mode.all",defaultMessage:"All of these"});case"none":return Object(a.a)(g.b,{id:"hashtag.column_settings.tag_mode.none",defaultMessage:"None of these"});default:return""}},n.render=function(){return Object(a.a)("div",{},void 0,Object(a.a)("div",{className:"column-settings__row"},void 0,Object(a.a)("div",{className:"setting-toggle"},void 0,Object(a.a)(j.a,{id:"hashtag.column_settings.tag_toggle",onChange:this.onToggle,checked:this.state.open}),Object(a.a)("span",{className:"setting-toggle__label"},void 0,Object(a.a)(g.b,{id:"hashtag.column_settings.tag_toggle",defaultMessage:"Include additional tags in this column"})))),this.state.open&&Object(a.a)("div",{className:"column-settings__hashtags"},void 0,this.modeSelect("any"),this.modeSelect("all"),this.modeSelect("none")))},e}(l.a.PureComponent))||r,x=n(250),w=n(10),M=Object(h.connect)((function(t,e){var n=e.columnId,r=t.getIn(["settings","columns"]),o=r.findIndex((function(t){return t.get("uuid")===n}));return n&&o>=0?{settings:r.get(o).get("params")}:{}}),(function(t,e){var n=e.columnId;return{onChange:function(e,r){t(Object(x.f)(n,e,r))},onLoad:function(t){return Object(w.a)().get("/api/v2/search",{params:{q:t,type:"hashtags"}}).then((function(t){return(t.data.hashtags||[]).map((function(t){return{value:t.name,label:"#"+t.name}}))}))}}}))(O),A=n(33),S=n(740);n.d(e,"default",(function(){return z}));var z=Object(h.connect)((function(t,e){return{hasUnread:t.getIn(["timelines","hashtag:"+e.params.id,"unread"])>0}}))(o=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return e=t.call.apply(t,[this].concat(r))||this,Object(c.a)(Object(i.a)(e),"disconnects",[]),Object(c.a)(Object(i.a)(e),"handlePin",(function(){var t=e.props,n=t.columnId,r=t.dispatch;r(n?Object(x.h)(n):Object(x.e)("HASHTAG",{id:e.props.params.id}))})),Object(c.a)(Object(i.a)(e),"title",(function(){var t=[e.props.params.id];return e.additionalFor("any")&&t.push(" ",Object(a.a)(g.b,{id:"hashtag.column_header.tag_mode.any",values:{additional:e.additionalFor("any")},defaultMessage:"or {additional}"},"any")),e.additionalFor("all")&&t.push(" ",Object(a.a)(g.b,{id:"hashtag.column_header.tag_mode.all",values:{additional:e.additionalFor("all")},defaultMessage:"and {additional}"},"all")),e.additionalFor("none")&&t.push(" ",Object(a.a)(g.b,{id:"hashtag.column_header.tag_mode.none",values:{additional:e.additionalFor("none")},defaultMessage:"without {additional}"},"none")),t})),Object(c.a)(Object(i.a)(e),"additionalFor",(function(t){var n=e.props.params.tags;return n&&(n[t]||[]).length>0?n[t].map((function(t){return t.value})).join("/"):""})),Object(c.a)(Object(i.a)(e),"handleMove",(function(t){var n=e.props,r=n.columnId;(0,n.dispatch)(Object(x.g)(r,t))})),Object(c.a)(Object(i.a)(e),"handleHeaderClick",(function(){e.column.scrollTop()})),Object(c.a)(Object(i.a)(e),"setRef",(function(t){e.column=t})),Object(c.a)(Object(i.a)(e),"handleLoadMore",(function(t){var n=e.props.params,r=n.id,o=n.tags;e.props.dispatch(Object(A.s)(r,{maxId:t,tags:o}))})),e}Object(s.a)(e,t);var n=e.prototype;return n._subscribe=function(t,e,n){var r=this;void 0===n&&(n={});var o=(n.any||[]).map((function(t){return t.value})),a=(n.all||[]).map((function(t){return t.value})),i=(n.none||[]).map((function(t){return t.value}));[e].concat(o).map((function(n){r.disconnects.push(t(Object(S.c)(e,n,(function(t){var e=t.tags.map((function(t){return t.name}));return a.filter((function(t){return e.includes(t)})).length===a.length&&0===i.filter((function(t){return e.includes(t)})).length}))))}))},n._unsubscribe=function(){this.disconnects.map((function(t){return t()})),this.disconnects=[]},n.componentDidMount=function(){var t=this.props.dispatch,e=this.props.params,n=e.id,r=e.tags;this._subscribe(t,n,r),t(Object(A.s)(n,{tags:r}))},n.componentWillReceiveProps=function(t){var e=this.props,n=e.dispatch,r=e.params,o=t.params,a=o.id,i=o.tags;a===r.id&&p()(i,r.tags)||(this._unsubscribe(),this._subscribe(n,a,i),this.props.dispatch(Object(A.k)("hashtag:"+a)),this.props.dispatch(Object(A.s)(a,{tags:i})))},n.componentWillUnmount=function(){this._unsubscribe()},n.render=function(){var t=this.props,e=t.shouldUpdateScroll,n=t.hasUnread,r=t.columnId,o=t.multiColumn,i=this.props.params.id,s=!!r;return l.a.createElement(b.a,{bindToDocument:!o,ref:this.setRef,label:"#"+i},Object(a.a)(v.a,{icon:"hashtag",active:n,title:this.title(),onPin:this.handlePin,onMove:this.handleMove,onClick:this.handleHeaderClick,pinned:s,multiColumn:o,showBackButton:!0},void 0,r&&Object(a.a)(M,{columnId:r})),Object(a.a)(d.a,{trackScroll:!s,scrollKey:"hashtag_timeline-"+r,timelineId:"hashtag:"+i,onLoadMore:this.handleLoadMore,emptyMessage:Object(a.a)(g.b,{id:"empty_column.hashtag",defaultMessage:"There is nothing in this hashtag yet."}),shouldUpdateScroll:e,bindToDocument:!o}))},e}(l.a.PureComponent))||o}}]);
//# sourceMappingURL=hashtag_timeline.js.map
\ No newline at end of file