1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[29923],{61372:function(e,s,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/debug/org-cards",function(){return n(29916)}])},29916:function(e,s,n){"use strict";n.r(s),n.d(s,{__N_SSP:function(){return v},default:function(){return N}});var r=n(85893),a=n(67294),o=n(9008),l=n.n(o),t=n(58582),c=n(1381),i=n(2616),d=n(87602),u=n(65940),h=n(27793),g=n(43950),m=n(85619),p=n.n(m),x=n(73198),j=n.n(x);function f(e){let{metro:s,metroName:n,orgs:o,mapImage:l}=e,[t,m]=(0,a.useState)(0);(0,a.useEffect)(()=>{let e=Number(new URLSearchParams(window.location.search).get("org"));Number.isFinite(e)&&e>=0&&e<o.length&&m(e)},[o.length]);let x=o.map(e=>e.org),f=o[t];return f?(0,r.jsxs)("div",{className:j().board,children:[(0,r.jsxs)("header",{className:j().head,children:[(0,r.jsx)("h1",{children:"Org cards"}),(0,r.jsxs)("p",{children:["The Cover card and the reel, on real organizations in ".concat(n,"; the last one is the thin case. "),(0,r.jsx)("a",{href:"/debug/org-cards?metro=".concat("atlanta"===s?"triangle":"atlanta"),children:"atlanta"===s?"The Triangle":"Atlanta"})," \xb7 ",(0,r.jsx)("a",{href:"/debug/changemakers-community?metro=".concat(s),children:"People"})]}),(0,r.jsx)("div",{className:j().chips,children:o.map((e,s)=>(0,r.jsxs)("button",{type:"button","aria-pressed":s===t,onClick:()=>m(s),children:[e.org.name,(0,r.jsx)("small",{children:e.feed?"".concat(e.feed.counts.posts," posts \xb7 ").concat(e.feed.counts.videos," reels \xb7 ").concat(e.feed.counts.people," people"):"no feed"})]},e.org.slug))})]}),(0,r.jsx)("section",{className:j().pair,children:(0,r.jsx)("div",{className:j().onMap,style:l?{backgroundImage:"url(".concat(l,")")}:void 0,children:(0,r.jsx)("div",{className:j().float,children:(0,r.jsx)(i.Z,{org:f.org,metro:s,feed:f.feed,run:x})},f.org.slug)})}),(0,r.jsxs)("section",{className:j().rails,children:[(0,r.jsx)("h2",{children:"Reel rail"}),(0,r.jsx)(d.O_,{children:(0,r.jsx)("div",{className:j().rail,children:o.map((e,n)=>{var a,o;let l=e.feed?(0,h.gU)(e.feed,e.org):null,t=null==l?void 0:l.cover,i=(0,c.Qg)(null!==(a=e.org.palette)&&void 0!==a?a:void 0,e.org.accent);return(0,r.jsxs)("button",{type:"button",className:p().reelRail,style:(0,c.Z4)(i),onClick:()=>(0,g.t5)({metro:s,run:[...x.slice(n),...x.slice(0,n)],startSlug:e.org.slug,startKey:null==t?void 0:t.key}),children:[t?(0,r.jsx)(d.ZP,{poster:t.image,posterSources:t.sources,sizes:"240px",video:t.video}):(0,r.jsx)("span",{className:p().coverEmpty}),(0,r.jsxs)("span",{className:p().reelRailFoot,children:[(0,r.jsx)(u.vc,{org:null!==(o=null==l?void 0:l.org)&&void 0!==o?o:e.org,size:34}),(0,r.jsxs)("span",{className:p().reelWho,children:[(0,r.jsx)("b",{children:e.org.name}),e.org.cause?(0,r.jsx)("span",{children:e.org.cause}):null]})]})]},e.org.slug)})})})]})]}):(0,r.jsx)("p",{className:j().empty,children:"No organizations for this metro."})}var v=!0;function N(e){let{metro:s,metroName:n,orgs:a}=e;return(0,r.jsxs)(t.Iz,{ground:"night",title:"Org cards",description:"Preview only.",metro:n,metroSlug:s,children:[(0,r.jsx)(l(),{children:(0,r.jsx)("meta",{name:"robots",content:"noindex,nofollow"})}),(0,r.jsx)(f,{metro:s,metroName:n,orgs:a,mapImage:"atlanta"===s?"/discover/atlanta.jpg":void 0})]})}N.publicShell=!0}},function(e){e.O(0,[41664,60708,48795,98573,18810,79898,15776,44058,92888,49774,40179],function(){return e(e.s=61372)}),_N_E=e.O()}]);
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.