1"use strict";(self.webpackChunkmc_frontend=self.webpackChunkmc_frontend||[]).push([[6819],{51502:(e,s,t)=>{t.r(s),t.d(s,{default:()=>y});var n=t(9950),a=t(30373),i=t(11546),r=t(2873),o=t(38908),l=t(6247),c=t(13e3),p=t(74715),d=t(78020),h=t(5372),m=t(62244),v=t(2889),g=t(57168),u=t(8981),x=t(12182),A=t(99127),j=t(44414);const f=e=>(0,j.jsx)(A.A,{...e,loader:"ChannelFeedFilter",loading:"NONE"});class _ extends n.Component{constructor(e){super(e)}componentDidUpdate(e){const s=(this.props.match.params.pageVariant||"").split("#")[0];var t=this.props.match.params.linkID,n=this.props.match.params.originType,a=this.props.match.params.originID,i=this.props.fetchSingleLink.news;let o="unpub"===s||"private"===s,l=o;t===e.match.params.linkID&&n===e.match.params.originType&&a===e.match.params.originID||(this.props.fetchNews(t,(0,r.NW5)(n),a,o,l),this.props.setPageDetails("link",!0,!0,!1,!1),this.props.setReturnURL(window.location.pathname)),i||this.props.fetchSingleLink.networkState||this.props.fetchNews(t,(0,r.NW5)(n),a,o,l)}componentDidMount(){window.scrollTo(0,0);const e=(this.props.match.params.pageVariant||"").split("#")[0],s=this.props.match.params.linkID;var t=(0,r.NW5)(this.props.match.params.originType);const n=this.props.match.params.originID;let a="unpub"===e||"private"===e,i=a;var o=this.props.fetchSingleLink.news,l=this.props.fetchSingleLink.response_origin;void 0==o||void 0==l||o.id!=s||l.id!=n?this.props.fetchNews(s,t,n,a,i):this.props.copyCommentsFromContent(o.comments,o.total_comments_count_including_replies,o.id),this.props.setPageDetails("link",!0,!0,!1,!1),this.props.setReturnURL(window.location.pathname)}render(){var e=null;const s=this.props.fetchSingleLink.response_origin,t=this.props.fetchSingleLink.id;var n=this.props.fetchSingleLink.nn_domain,i=this.props.fetchSingleLink.nn_domain_id,A=(0,r.NW5)(this.props.match.params.originType),_=this.props.match.params.originID,y=this.props.match.params.linkID;let N=s&&"PRI"===s.access_level,T=this.props.networkNode,k=this.props.siteState.envParams;if(s)switch(A){case a.A.CHANNEL_TOPIC:e=(0,r.eqe)(A,_,null,s.issue_slug);break;case a.A.CHANNEL_PERSONA_FE:case a.A.CHANNEL_PERSONA:e=(0,r.eqe)(A,_,s.type_of_persona,s.public_persona_slug);break;case a.A.CHANNEL_ORG:e=(0,r.eqe)(A,_,s.type_of_org,s.political_party_slug)}N&&(e+="/private");var w=this.props.fetchSingleLink.news,S=this.props.fetchSingleLink.networkState,L=k.contentWidth;k.layoutCols>2&&(L=k.col3Width);var C=(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(g.A,{history:this.props.history,channels:T.channels}),(0,j.jsx)(f,{originID:_,originType:A,feedFilterSelected:"recent",contentWidth:L,slimCard:!0})]}),E=(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("div",{className:"content_column",children:(0,j.jsx)("div",{className:"content_wrapper",children:(0,j.jsx)(m.A,{variant:"PAGE",showAfterDelay:400,skeleton:!0})})}),(0,j.jsx)("div",{className:"right_column",children:(0,j.jsx)("div",{className:"right_container",children:C})})]});if("FAILED"==S)return(0,j.jsx)(j.Fragment,{children:1==k.layoutCols?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(h.default,{}),C]}):(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("div",{className:"content_column",children:(0,j.jsx)("div",{className:"content_wrapper",children:(0,j.jsx)(h.default,{})})}),(0,j.jsx)("div",{className:"right_column",children:(0,j.jsx)("div",{className:"right_container",children:C})})]})});if("STARTED"==S)return E;if(w&&s){if(w.id!=y||s.id!=_)return E;{var D;n&&(D="https://"+n+this.props.location.pathname);var b=!1,I=!1,M=!1,H=!1;let h=(0,r.yQx)(i,T.nnID,n,T.siteDomain),m=this.props.userState.userDetails;if(m&&h){w.creator_profile.creator_id==m.member_id&&(b=!0),H=b;var{heroIsMod:z}=(0,r.C8M)(A,_,m);A===a.A.CHANNEL_TOPIC&&_==T.defaultChannel&&(b||m.global_moderator||z)&&(I=!0),(m.global_moderator||z)&&(M=!0)}var R=!1;if(!k.headlessBrowser&&this.props.storyArc.saTags){var F=this.props.storyArc.saTags.find((e=>e.id==w.sa_tag_id));F&&F.posts&&(R=!0)}let g=(0,j.jsxs)(j.Fragment,{children:["topics"==A&&!I&&(0,j.jsx)(c.A,{history:this.props,originURL:e,topicDetails:s,postType:"link"}),"topics"===A&&!I&&(0,j.jsx)(c.A,{history:this.props,publishedOnThisNN:h,nn_domain:n,channelURL:e,topicDetail
1s:s,postType:"link"}),"public-personas"==A&&!I&&(0,j.jsx)(l.A,{data:s,showChannelActions:!0,postType:"link"}),"organizations"==A&&!I&&(0,j.jsx)(p.A,{data:s,showChannelActions:!0,postType:"link"})]});return(0,j.jsxs)(u.d.Provider,{value:{privateChannel:N},children:[(0,j.jsx)(d.A,{title:w.news_title,description:w.news_description,imageURL:w.news_img_url,imageWidth:800,imageHeight:420,canonicalLink:D}),(0,j.jsx)("div",{className:"content_column",children:(0,j.jsxs)("div",{className:"content_wrapper",children:[1==k.layoutCols&&g,R&&(0,j.jsx)(v.A,{saTags:this.props.storyArc.saTags,upper:!0,postType:"link",postID:w.id,colors:T.colors,saTagID:w.sa_tag_id,saTagName:w.sa_tag}),(0,j.jsx)(o.A,{channelContentID:t,originURL:e,originType:A,originDetails:s,thisIsMyPost:b,needsChannelMove:I,optionalRetagging:M,allowPostEdit:H,postHasSA:R,history:this.props.history,publishedOnThisNN:h,nn_domain:n}),(0,j.jsx)(x.A,{channelType:A,channelID:_,postType:"news",postID:w.id}),R&&(0,j.jsx)(v.A,{saTags:this.props.storyArc.saTags,lower:!0,postType:"link",postID:w.id,colors:T.colors,saTagID:w.sa_tag_id,saTagName:w.sa_tag})]})}),(0,j.jsx)("div",{className:"right_column",children:(0,j.jsxs)("div",{className:"right_container",children:[k.layoutCols>1&&g,!R&&C]})})]})}}return E}}const y=(0,i.Ng)((e=>({fetchSingleLink:e.fetchSingleLink,siteState:e.siteState,userState:e.userState,networkNode:e.networkNode,storyArc:e.storyArc})),{fetchNews:r.YnL,setPageDetails:r.urn,setReturnURL:r.qHp,unloadContentPage:r.gVh,copyCommentsFromContent:r.jS})(_)},92643:(e,s,t)=>{t.d(s,{A:()=>m});var n=t(9950),a=t(94947),i=t(16589),r=t(71508),o=t(18527),l=t(9032),c=t(67991),p=t(71370),d=t(44414);const h={Syndicated:a.A,Restricted:i.A,Protected:o.A,Private:r.A,Moderated:l.A,Info:c.A,Support:p.A};function m(e){const[s,t]=n.useState(!1),a=h[e.icon];return(0,d.jsxs)("div",{className:"pill_expand_icon",children:[(0,d.jsx)(a,{fontSize:"small"}),e.link?(0,d.jsx)("a",{className:"pill_expand_text",href:e.link,target:"_blank",rel:"noopener noreferrer",children:(0,d.jsxs)("span",{children:[" \xa0 ",e.text," \xa0 "]})}):(0,d.jsxs)("span",{className:"pill_expand_text",children:[" \xa0 ",e.text," \xa0 "]})]})}},2889:(e,s,t)=>{t.d(s,{A:()=>g});var n=t(9950),a=t(57571),i=t(88569),r=t(45048),o=t(71201),l=t(58531),c=t(55757),p=t(2873),d=t(86611),h=t(62244),m=t(19808),v=t(44414);const g=n.memo((function(e){if(e.saTags){var s=e.saTags.find((s=>s.id==e.saTagID));if(s&&s.posts){var t=(0,p.A4q)(s.posts),n=t;if(e.upper||e.lower){var g=t.findIndex((s=>s.post_meta.type===e.postType&&s.post_meta.id==e.postID));e.upper?n=t.slice(0,g):e.lower&&(n=t.slice(g+1))}var u=(0,v.jsx)(i.A,{});return(0,v.jsxs)(v.Fragment,{children:[e.upper&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(c.A,{}),(0,v.jsxs)("p",{className:"tl_sa_hashtag",children:[(0,v.jsx)("span",{className:"text",children:"StoryArc"}),(0,v.jsx)("span",{className:"tag",children:e.saTagName})]})]}),(0,v.jsx)("div",{className:"row",children:(0,v.jsx)(a.VerticalTimeline,{children:n.map(((s,t)=>{switch(s.post_meta.type){case"conversation":u=(0,v.jsx)(r.A,{});break;case"article":u=(0,v.jsx)(o.A,{});break;case"link":u=(0,v.jsx)(l.default,{})}return(0,v.jsx)(d.Vq,{smooth:!0,to:s.post_meta.url,children:(0,v.jsxs)(a.VerticalTimelineElement,{className:"vertical-timeline-element--work",contentStyle:{background:"var(--island-background)"},contentArrowStyle:{borderRight:"7px solid "+e.colors.secondaryColor},iconStyle:{background:"var(--island-background)",color:e.colors.secondaryColor},icon:u,children:[(0,v.jsx)("h4",{className:"vertical-timeline-element-date1",children:(0,p.OZU)(s.post_meta.date)}),(0,v.jsx)("h3",{className:"vertical-timeline-element-title",children:s.post_meta.heading})]})},t)}))})}),e.lower&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsxs)("p",{className:"tl_sa_hashtag",children:[(0,v.jsx)("span",{className:"text",children:"StoryArc"}),(0,v.jsx)("span",{className:"tag",children:e.saTagName})]}),(0,v.jsx)(c.A,{})]})]})}return(0,v.jsx)(m.A,{maxWidth:"sm",children:(0,v.jsx)(h.A,{})})}return null}))},64272:(e,s,t)=>{var n=t(24994);s.A=void 0;var a=n(t(79526)),i=t(44414);s.A=(0,a.default)((0,i.jsx)("path",{d:"M4 9h4v11H4zm12 4h4v7h-4zm-6-9h4v16h-4z"}),"BarChartTwoTone")},68519:(e,s,t)=>{var n=t(24994);s.A=void 0;var a=n(t(79526)),i=t(44414);s.A=(0,a.default)((0,i.jsx)("path",{d:"M17 3H7c-1.1 0-2 .9-2 2v16l7-3 7 3V5c0-1.1-.9-2-2-2m0 15-5-2.18L7 18V5h10z"}),"BookmarkBorderTwoTone")},31588:(e,s,t)=>{var n=t(24994);s.A=void 0;var a=n(t(79526)),i=t(44414);s.A=(0,a.default)((0,i.jsx)("path",{d:"M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4zM20 4v13.17L18.83 16H4V4zM6 12h12v2H6zm0-3h12v2H6zm0-3h12v2H6z"}),"CommentOutlined")},53515:(e,s,t)=>{var n=t(24994);s.A=void 0;var a=n(t(79526)),i=t(44414);s.A=(0,a.default)((0,i.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M8.5 8c.83 0 1.5.67 1.5 1.5S9.33 11 8.5 11 7 10.33 7 9.5 7.67 8 8.5 8M12 18c-2.28 0-4.22-1.66-5-4h10c-.78 2.34-2.72 4-5 4m3.5-7c-.83 0-1.5-.67-1.5-1.5S14.67 8 15.5 8s1.5.67 1.5 1.5-.67 1.5-1.5 1.5"}),"EmojiEmotions")},3616:(e,s,t)=>{var n=t(24994);s.A=void 0;var a=n(t(79526)),i=t(44414);s.A=(0,a.default)((0,i.jsx)("path",{d:"M4.59 6.89c.7-.71 1.4-1.35 1.71-1.22.5.2
10 1.03-.3 1.52-.25.42-2.86 3.89-2.86 6.31 0 1.28.48 2.34 1.34 2.98.75.56 1.74.73 2.64.46 1.07-.31 1.95-1.4 3.06-2.77 1.21-1.49 2.83-3.44 4.08-3.44 1.63 0 1.65 1.01 1.76 1.79-3.78.64-5.38 3.67-5.38 5.37 0 1.7 1.44 3.09 3.21 3.09 1.63 0 4.29-1.33 4.69-6.1H21v-2.5h-2.47c-.15-1.65-1.09-4.2-4.03-4.2-2.25 0-4.18 1.91-4.94 2.84-.58.73-2.06 2.48-2.29 2.72-.25.3-.68.84-1.11.84-.45 0-.72-.83-.36-1.92.35-1.09 1.4-2.86 1.85-3.52.78-1.14 1.3-1.92 1.3-3.28C8.95 3.69 7.31 3 6.44 3 5.12 3 3.97 4 3.72 4.25c-.36.36-.66.66-.88.93zm9.29 11.66c-.31 0-.74-.26-.74-.72 0-.6.73-2.2 2.87-2.76-.3 2.69-1.43 3.48-2.13 3.48"}),"GestureTwoTone")},46058:(e,s,t)=>{var n=t(24994);s.A=void 0;var a=n(t(79526)),i=t(44414);s.A=(0,a.default)((0,i.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8m3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5m-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11m3.5 6.5c2.33 0 4.31-1.46 5.11-3.5H6.89c.8 2.04 2.78 3.5 5.11 3.5"}),"InsertEmoticon")},72374:(e,s,t)=>{var n=t(24994);s.A=void 0;var a=n(t(79526)),i=t(44414);s.A=(0,a.default)([(0,i.jsx)("circle",{cx:"15.5",cy:"9.5",r:"1.5"},"0"),(0,i.jsx)("circle",{cx:"8.5",cy:"9.5",r:"1.5"},"1"),(0,i.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8m0-6c-2.33 0-4.32 1.45-5.12 3.5h1.67c.69-1.19 1.97-2 3.45-2s2.75.81 3.45 2h1.67c-.8-2.05-2.79-3.5-5.12-3.5"},"2")],"SentimentVeryDissatisfied")},67891:(e,s,t)=>{var n=t(24994);s.A=void 0;var a=n(t(79526)),i=t(44414);s.A=(0,a.default)((0,i.jsx)("path",{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star")},29687:(e,s,t)=>{var n=t(24994);s.A=void 0;var a=n(t(79526)),i=t(44414);s.A=(0,a.default)((0,i.jsx)("path",{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"}),"StarBorderOutlined")},31511:(e,s,t)=>{var n=t(24994);s.A=void 0;var a=n(t(79526)),i=t(44414);s.A=(0,a.default)((0,i.jsx)("path",{d:"M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59
1-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2m4 0v12h4V3z"}),"ThumbDown")},32721:(e,s,t)=>{var n=t(24994);s.A=void 0;var a=n(t(79526)),i=t(44414);s.A=(0,a.default)((0,i.jsx)("path",{d:"M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2m0 12-4.34 4.34L12 14H3v-2l3-7h9zm4-12h4v12h-4z"}),"ThumbDownOutlined")},32530:(e,s,t)=>{var n=t(24994);s.A=void 0;var a=n(t(79526)),i=t(44414);s.A=(0,a.default)((0,i.jsx)("path",{d:"M1 21h4V9H1zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73z"}),"ThumbUp")},36828:(e,s,t)=>{var n=t(24994);s.A=void 0;var a=n(t(79526)),i=t(44414);s.A=(0,a.default)((0,i.jsx)("path",{d:"M9 21h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.58 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2M9 9l4.34-4.34L12 10h9v2l-3 7H9zM1 9h4v12H1z"}),"ThumbUpOutlined")},19489:(e,s,t)=>{t.d(s,{A:()=>m});var n=t(58168),a=t(98587),i=t(9950),r=t(67279),o=t(14857),l=t(70576),c=t(31506),p=t(44414);const d=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],h={entering:{transform:"none"},entered:{transform:"none"}},m=i.forwardRef((function(e,s){const t=(0,o.A)(),m={enter:t.transitions.duration.enteringScreen,exit:t.transitions.duration.leavingScreen},{addEndListener:v,appear:g=!0,children:u,easing:x,in:A,onEnter:j,onEntered:f,onEntering:_,onExit:y,onExited:N,onExiting:T,style:k,timeout:w=m,TransitionComponent:S=r.Ay}=e,L=(0,a.A)(e,d),C=i.useRef(null),E=(0,c.A)(C,u.ref,s),D=e=>s=>{if(e){const t=C.current;void 0===s?e(t):e(t,s)}},b=D(_),I=D(((e,s)=>{(0,l.q)(e);const n=(0,l.c)({style:k,timeout:w,easing:x},{mode:"enter"});e.style.webkitTransition=t.transitions.create("transform",n),e.style.transition=t.transitions.create("transform",n),j&&j(e,s)})),M=D(f),H=D(T),z=D((e=>{const s=(0,l.c)({style:k,timeout:w,easing:x},{mode:"exit"});e.style.webkitTransition=t.transitions.create("transform",s),e.style.transition=t.transitions.create("transform",s),y&&y(e)})),R=D(N);return(0,p.jsx)(S,(0,n.A)({appear:g,in:A,nodeRef:C,onEnter:I,onEntered:M,onEntering:b,onExit:z,onExited:R,onExiting:H,addEndListener:e=>{v&&v(C.current,e)},timeout:w},L,{children:(e,s)=>i.cloneElement(u,(0,n.A)({style:(0,n.A)({transform:"scale(0)",visibility:"exited"!==e||A?void 0:"hidden"},h[e],k,u.props.style),ref:E},s))}))}))}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.