1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{48312:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return i(28317)}])},28317:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSG:function(){return en},default:function(){return es}});var n=i(85893),s=i(64523),o=i(2962),r=i(56817),a=i(1220),l=i(72445),h=i(69876),c=i(97564),d=i(19236),p=i(95117),u=i(71232),x=i(54685),g=i(54777),m=i(22529),j=i(25675),f=i.n(j),C=i(67294),w=i(52785),v=i(20966),b=i(11163),y=i(39759);let k=(0,C.forwardRef)((e,t)=>{let{name:i,members:s,...o}=e;return(0,n.jsxs)("div",{ref:t,...o,children:[(0,n.jsx)(p.x,{color:"verydarkblue.9",fw:600,children:i}),s&&(0,n.jsx)(p.x,{color:"verydarkblue.9",fz:"0.75rem",children:s.map(e=>e.metadata.variant.name).join(", ")})]})});function B(){return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"23",height:"24",viewBox:"0 0 23 24",fill:"none",children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.9881 22.4757L15.2468 17.7479C13.6285 18.868 11.6926 19.4598 9.72989 19.4598C4.35337 19.4598 0 15.1064 0 9.72989C0 4.35337 4.35337 0 9.72989 0C15.1064 0 19.4631 4.35337 19.4631 9.72989C19.4631 11.6926 18.868 13.6285 17.7479 15.2435L22.4891 19.9847C24.0807 21.5763 21.5897 24.1509 19.9881 22.4757ZM17.2563 9.72989C17.2563 5.58048 13.8793 2.20344 9.72989 2.20344C5.58048 2.20344 2.20009 5.58048 2.20009 9.72989C2.20009 13.8793 5.58048 17.2597 9.72989 17.2597C13.8793 17.2597 17.2563 13.8793 17.2563 9.72989Z",fill:"#66BBB7"})})}function H(){let{data:e,loading:t,search:i,setSearch:s}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[t,i]=(0,C.useState)(""),[n]=(0,y.c)(t,200),[s,o]=(0,C.useState)([]),[r,a]=(0,C.useState)(!1);return(0,C.useEffect)(()=>{{let t=new URLSearchParams({query:n,format:"profiles",locale:"en",limit:e.limit||"8",variant:e.variant||"",offset:"0",visible:"true",includes:"true",noImage:"false",report:"1",all:"false",...e});a(!0),fetch("/api/cms/search/reports?".concat(t)).then(e=>e.json()).then(e=>{a(!1),e.data.results.length>0&&o(e.data.results)})}},[n,e.limit,e.variant]),{search:t,setSearch:i,data:s,loading:r}}(),o=(0,b.useRouter)(),r=e.length>0||(null==i?void 0:i.length)===0?e:[{value:"no-result",name:'No results for "'.concat(i,'"'),members:[]}];return(0,n.jsx)(w.F,{placeholder:"Search",value:i,size:"md",fz:"lg",onChange:s,data:t?[]:r,icon:(0,n.jsx)(B,{}),itemComponent:k,rightSection:t&&(0,n.jsx)(v.a,{size:16}),onItemSubmit:e=>{o.push("/profile".concat(e.path))},filter:()=>!0})}function L(e){let{children:t,delay:i=0,translate:s=!0}=e;return(0,n.jsx)(m.yK,{initial:{opacity:0,y:s?15:0},whileInView:{opacity:1,y:0},transition:{duration:.45,delay:i},children:t})}let N={visible:{opacity:1,y:0,transition:{duration:.4}},hidden:{opacity:0,y:20}};function _(e){let{children:t}=e;return(0,n.jsx)(m.yK,{variants:N,children:t})}let V=(0,r.k)(e=>({logo:{width:276,height:82.7,[e.fn.smallerThan("md")]:{width:207,height:82.7*.75}}})),Z={position:"relative","::before":{content:'""',position:"absolute",height:260,left:0,right:0,bottom:0,zIndex:0,backgroundImage:"linear-gradient(0deg, #113449 0%, rgba(17, 52, 73, 0.00) 100%)"}},I={visible:{opacity:1,transition:{duration:0,when:"beforeChildren",staggerChildren:.2}},hidden:{opacity:0,transition:{when:"afterChildren"}}};function M(){let{classes:e}=V();return(0,n.jsx)(a.X,{src:"/images/splash.png",radius:0,h:"100vh",mah:630,sx:Z,mt:-60,children:(0,n.jsx)(l.W,{pt:120,h:"100%",pos:"relative",sx:{zIndex:20},children:(0,n.jsx)(h.k,{direction:"column",h:"100%",justify:"center",gap:100,children:(0,n.jsxs)(m.yK,{initial:"hidden",animate:"visible",variants:I,children:[(0,n.jsxs)(c.K,{justify:"center",maw:500,mx:"auto",children:[(0,n.jsx)(_,{children:(0,n.jsx)(d.D,{ta:"center",color:"white",children:(0,n.jsx)(f(),{className:e.logo,src:"/images/hcnc-logo-white.svg",alt:"Healthy Communities NC",width:276,height:82.7})})}),(0,n.jsx)(_,{children:(0,n.jsx)(p.x,{ta:"center",color:"white",px:"md",children:"Empowering North Carolina communities with data-driven insights for healthier lives and equitable opportunities."})}),(0,n.jsx)(_,{children:(0,n.jsx)(H,{})})]}),(0,n.jsx)(_,{children:(0,n.jsxs)(c.K,{spacing:30,mt:{base:40,md:85},children:[(0,n.jsxs)(u.Z,{position:"center",children:[(0,n.jsx)(p.x,{c:"white",children:"Sponsored by"}),(0,n.jsx)(x.e,{href:"https://www.novanthealth.org/",target:"_blank",children:(0,n.jsx)(f(),{src:"/images/sponsors/novant-health.svg",alt:"Novant Health",width:110,height:24})}),(0,n.jsx)(x.e,{href:"https://www.communitycarenc.org/",target:"_blank",children:(0,n.jsx)(f(),{src:"/images/sponsors/community-care.svg",alt:"Community Care of North Carolina",width:156,height:24})}),(0,n.jsx)(x.e,{href:"https://kbr.org/",target:"_blank",children:(0,n.jsx)(f(),{src:"/images/sponsors/kbr-trust.svg",alt:"Kate B. Reynolds Charitable Trust",width:263,height:21})}),(0,n.jsx)(x.e,{href:"https://nciom.org/",target:"_blank",children:(0,n.jsx)(f(),{src:"/images/sponsors/nciom.svg",alt:"North Carolina Institute of Medicine",width:80,height:22})})]}),(0,n.jsxs)(u.Z,{position:"center",align:"center",children:[(0,n.jsx)(p.x,{c:"white",children:"Built by"}),(0,n.jsx)(x.e,{href:"https://www.datawheel.us/",target:"_blank",children:(0,n.jsx)(f(),{src:"/images/sponsors/datawheel.svg",alt:"Datawheel",width:126,height:28})}),(0,n.jsx)(g.i,{orientation:"vertical",h:25,sx:{alignSelf:"center"}}),(0,n.jsx)(p.x,{c:"white",children:"Powered by"}),(0,n.jsx)(x.e,{href:"https://capefearcollective.org/",target:"_blank",children:(0,n.jsx)(f(),{src:"/images/sponsors/cape-fear-collective.svg",alt:"Cape Fear Collective",width:106,height:43})})]})]})})]})})})})}var S=i(34736),z=i(64761),R=i(89814),W=i(34065);function D(){return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"26",viewBox:"0 0 25 26",fill:"none",children:[(0,n.jsx)("path",{d:"M12.4445 0.943359C13.5549 0.943359
114.6313 1.08879 15.6558 1.36165C15.204 1.77949 14.8148 2.26356 14.5047 2.79917C13.8378 2.67018 13.149 2.60263 12.4445 2.60263C11.1027 2.60263 9.81821 2.84764 8.6332 3.29537L12.8155 5.3865C12.9997 5.47863 13.1431 5.63593 13.2177 5.82786L14.6696 9.56121C14.7593 9.79202 14.7413 10.0508 14.6204 10.2669C14.4995 10.4831 14.2884 10.6339 14.0448 10.6781L10.163 11.384V15.0471C10.163 15.4455 9.87989 15.7876 9.48859 15.8621L5.80743 16.5633V17.9508C5.80743 18.315 5.56991 18.6366 5.22179 18.7438L3.4212 19.2978C5.34827 22.2341 8.66995 24.1731 12.4445 24.1731C13.3755 24.1731 14.279 24.0551 15.1408 23.8333V22.1214L14.6368 21.2814C14.4567 20.9811 14.4844 20.6002 14.7061 20.3292L15.8105 18.9794L13.8414 18.3231C13.6083 18.2454 13.4217 18.0684 13.3317 17.8398C13.2418 17.6111 13.2578 17.3544 13.3754 17.1387L14.6199 14.8573C14.7258 14.6631 14.9048 14.5193 15.1172 14.4577C15.3296 14.3961 15.5578 14.4219 15.7511 14.5293L17.3141 15.3976L20.5067 14.4586C20.6891 14.4049 20.8844 14.4156 21.0599 14.4887L23.057 15.3208C23.1705 14.6937 23.2297 14.0477 23.2297 13.3879C23.2297 12.9162 23.1994 12.4517 23.1407 11.9961C23.2729 11.8564 23.4071 11.71 23.5415 11.5574C23.8468 11.2109 24.1839 10.7991 24.5113 10.3332C24.758 11.3106 24.889 12.3339 24.889 13.3879C24.889 20.2607 19.3174 25.8323 12.4445 25.8323C5.57161 25.8323 0 20.2607 0 13.3879C0 6.51497 5.57161 0.943359 12.4445 0.943359Z",fill:"#66BBB7"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.715 12.2291C18.9193 12.4088 19.0904 12.5508 19.2119 12.6488C19.4213 12.8177 19.6274 12.973 19.9111 12.973C20.1889 12.973 20.4047 12.8147 20.6104 12.6488C20.7319 12.5508 20.903 12.4088 21.1073 12.2291C21.5148 11.8706 22.06 11.3564 22.6077 10.7347C23.6665 9.53292 24.8889 7.75859 24.8889 5.84707C24.8889 3.1248 22.6462 0.943359 19.9111 0.943359C17.1761 0.943359 14.9333 3.1248 14.9333 5.84707C14.9333 7.75859 16.1558 9.53292 17.2145 10.7347C17.7623 11.3564 18.3075 11.8706 18.715 12.2291ZM17.8371 5.92116C17.8371 4.77568 18.7657 3.84707 19.9111 3.84707C21.0566 3.84707 21.9852 4.77568 21.9852 5.92116C21.9852 7.06663 21.0566 7.99524 19.9111 7.99524C18.7657 7.99524 17.8371 7.06663 17.8371 5.92116Z",fill:"#66BBB7"})]})}function E(){return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",children:[(0,n.jsx)("path",{d:"M24.2147 10.666H22.0451C21.3222 7.23183 18.0503 4.72705 13.9811 4.36931V2.8827H17.2962L16.4314 1.44135L17.2962 0H11.9632V4.36902C7.89427 4.72705 4.62211 7.23183 3.89913 10.666H1.72961V12.6839H24.2147V10.666Z",fill:"#66BBB7"}),(0,n.jsx)("path",{d:"M24.2147 23.0616V21.0437H22.1968V14.1252H19.6024V21.0437H17.0079V14.1252H14.4135V21.0437H11.8191V14.1252H9.22464V21.0437H6.34194V14.1252H3.74751V21.0437H1.72962V23.0616H0V25.0795H25.656V23.0616H24.2147Z",fill:"#66BBB7"})]})}function F(){return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"22",viewBox:"0 0 20 22",fill:"none",children:[(0,n.jsx)("path",{d:"M11.8373 10.4846H8.96969C8.63364 11.1119 8.25279 11.784 7.82714 12.5233C7.40148 13.2626 6.63978 13.7106 5.76607 13.7106C4.91476 13.7106 4.13066 13.2626 3.705 12.5233C3.32415 11.8736 2.98811 11.2687 2.69687 10.7311C2.62966 10.7983 2.58485 10.9103 2.54005 11.0223L1.12866 16.2198L9.55216 15.8837L11.8373 10.4846Z",fill:"#66BBB7"}),(0,n.jsx)("path",{d:"M19.0733 20.3867L16.5417 11.0222C16.4521 10.7086 16.1833 10.507 15.8696 10.507H13.3605L11.7699 14.3379L14.5703 16.4661C14.7047 16.5782 14.8167 16.735 14.8391 16.9142L15.5784 21.3276H18.4012C18.6252 21.3276 18.8268 21.2156 18.9612 21.0587C19.0957 20.8347 19.1405 20.6107 19.0733 20.3867Z",fill:"#66BBB7"}),(0,n.jsx)("path",{d:"M11.1875 15.6597L10.6947 16.847C10.5827 17.0935 10.3362 17.2727 10.0674 17.2727L0.747772 17.6535L0.0308778 20.3867C-0.036331 20.5883 0.00847488 20.8347 0.142892 20.9916C0.27731 21.1708 0.478936 21.2604 0.702966 21.2604H14.1447L13.495 17.3623L11.1875 15.6597Z",fill:"#66BBB7"}),(0,n.jsx)("path",{d:"M6.61731 11.8287C7.82707 9.72287 9.95535 5.82476 9.95535 4.16694C9.95535 1.85944 8.09591 0 5.78841 0C3.4809 0 1.62146 1.85944 1.62146 4.16694C1.62146 5.80236 3.72734 9.70047 4.9595 11.8287C5.31794 12.4784 6.23646 12.4784 6.61731 11.8287ZM3.83935 4.16694C3.83935 3.0916 4.71306 2.21789 5.78841 2.21789C6.86375 2.21789 7.73746 3.0916 7.73746 4.16694C7.73746 5.24229 6.86375 6.116 5.78841 6.116C4.71306 6.116 3.83935 5.24229 3.83935 4.16694Z",fill:"#66BBB7"})]})}var T=i(17215),K=i(21851),P=i(43577);let O={"senate-district":{topojson:"/topojson/districtUpper.json",topojsonId:"geoid",variant:8},"house-district":{topojson:"/topojson/districtLower.json",topojsonId:"geoid",variant:7},county:{topojson:"/topojson/counties.json",topojsonId:"geoid",variant:6},region:{topojson:"/topojson/regions.json",topojsonId:"geoid",variant:5}},X=(0,r.k)(()=>({map:{maxHeight:500,width:"100%",aspectRatio:"16 / 9","& path":{cursor:"pointer",transition:"fill 0.3s"},"& path:hover":{fill:T.W.darkblue}}}));function q(e){let{level:t="house-district",profiles:i}=e,{classes:s}=X(),o=(0,b.useRouter)(),r=i[O[t].variant];return(0,n.jsx)(P.Z,{className:s.map,config:{data:r,detectVisible:!1,groupBy:"geoid",loadingMessage:!1,shapeConfig:{Path:{stroke:"white",strokeWidth:.5}},ocean:"transparent",on:{click:(e,t,i,n)=>{n.preventDefault();let{path:s}=e;o.push(s)}},topojson:O[t].topojson,topojsonFill:"#D6DCE555",tooltip:!0,tooltipConfig:{title:e=>e.name},topojsonId:e=>e.properties.geoid,tiles:!1,zoom:!1}})}let U={background:"#113449",minHeight:600};function G(e){let{label:t,active:i=!1,onClick:s=()=>void 0,icon:o}=e;return(0,n.jsx)(S.k,{onClick:s,py:"sm",sx:e=>({borderBottom:i?"2px solid ".concat(T.W.emerald):"2px solid transparent",[e.fn.smallerThan("md")]:{flex:"1 0 25%"}}),children:(0,n.jsxs)(h.k,{gap:8,direction:{base:"column",md:"row"},align:"center",justify:{base:"flex-end",md:"flex-start"},children:[o,(0,n.jsx)(p.x,{c:"white",fw:500,fz:{base:16,md:18},ta:{base:"center",md:"left"},children:t})]})})}
1let J={region:"5",county:"6","senate-district":"8","house-district":"7"};function A(e){let{profiles:t}=e,[i,o]=(0,C.useState)("region"),r=(0,z.rZ)(),a=(0,W.a)("(max-width: ".concat(r.breakpoints.md,")")),c=t[Number(J[i])];return(0,n.jsx)(s.x,{sx:U,children:(0,n.jsxs)(l.W,{children:[(0,n.jsx)(p.x,{c:"white",fw:300,children:"Explore by"}),(0,n.jsxs)(h.k,{gap:{base:0,md:35},children:[(0,n.jsx)(G,{icon:(0,n.jsx)(D,{}),label:"Region",active:"region"===i,onClick:()=>o("region")}),(0,n.jsx)(G,{icon:(0,n.jsx)(E,{}),label:"County",active:"county"===i,onClick:()=>o("county")}),(0,n.jsx)(G,{icon:(0,n.jsx)(F,{}),label:"State Senate District",active:"senate-district"===i,onClick:()=>o("senate-district")}),(0,n.jsx)(G,{icon:(0,n.jsx)(F,{}),label:"State House District",active:"house-district"===i,onClick:()=>o("house-district")})]}),(0,n.jsx)(R.M,{cols:1,breakpoints:[{minWidth:"sm",cols:2},{minWidth:"lg",cols:4}],mt:{base:20,md:50},children:c.slice(0,a?4:8).map(e=>e.path?(0,n.jsx)(K.Z,{href:e.path,members:[{name:e.name,image:{src:e.image||""},variant:e.variant}]},e.path):null)}),(0,n.jsx)(q,{profiles:t,level:i}),("house-district"===i||"senate-district"===i)&&(0,n.jsx)(x.e,{ta:"center",href:"https://www.ncleg.gov/findyourlegislators",tt:"uppercase",display:"block",mx:"auto",py:"0.25rem",target:"_blank",bg:"white",maw:200,fw:500,sx:{borderRadius:"1rem"},children:"Find my district"})]})})}var Q=i(62679),Y=i(29096),$=i.n(Y);let ee={position:"relative",maxWidth:"100vw",overflow:"hidden","::before":{content:'""',position:"absolute",left:0,right:0,bottom:0,top:0,zIndex:10,backgroundImage:"\n linear-gradient(180deg, #113449 0%, rgba(17, 52, 73, 0.00) 20%)\n "}};function et(e){let{children:t}=e;return(0,n.jsx)(p.x,{component:"span",weight:"bold",color:T.W.emerald,children:t})}function ei(){return(0,n.jsx)(a.X,{src:"/images/about.png",px:"md",sx:ee,children:(0,n.jsxs)(l.W,{pos:"relative",sx:{zIndex:20},py:100,children:[(0,n.jsx)(L,{children:(0,n.jsx)(d.D,{order:2,color:"white",tt:"uppercase",ff:$().style.fontFamily,fz:34,fw:400,ta:{base:"center",md:"left"},children:"What is Healthy Communities NC?"})}),(0,n.jsxs)(Q.r,{gutter:90,mt:37,children:[(0,n.jsx)(Q.r.Col,{span:12,md:6,children:(0,n.jsx)(L,{children:(0,n.jsxs)(p.x,{color:"white",ta:{base:"center",md:"left"},children:["The"," ",(0,n.jsx)(et,{children:"Healthy NC 2030"})," ","taskforce, led by NCIOM and NCDHHS, brought together experts and leaders from multiple fields to develop a"," ",(0,n.jsx)(et,{children:"common set of public health indicators and targets"})," ","for the state over the next decade. The full report, released in January of 2020, established a north star for localities and organizations to mobilize to accomplish North Carolinaâs most pressing goals across housing, education, public health, and economic opportunity."]})})}),(0,n.jsx)(Q.r.Col,{span:12,md:6,children:(0,n.jsx)(L,{delay:.2,children:(0,n.jsxs)(p.x,{color:"white",ta:{base:"center",md:"left"},children:[(0,n.jsx)(et,{children:"Cape Fear Collective"})," ","is committed to helping partner organizations set and measure local goals through its expertise in"," ",(0,n.jsx)(et,{children:"data & analytics"}),". Our"," ",(0,n.jsx)(et,{children:"Healthy Communities NC Dashboard"})," ","enables alignment of community data collection and analysis to the Healthy NC 2030 initiative in order to empower shared hypothesis generation, goal setting, and program measurement."]})})})]})]})})}var en=!0;function es(e){let{profiles:t}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.PB,{description:"Healthy Communities NC enables alignment of community data collection and analysis to the Healthy NC 2030 initiative in order to empower shared hypothesis generation, goal setting, and program measurement."}),(0,n.jsxs)(s.x,{children:[(0,n.jsx)(M,{}),(0,n.jsx)(A,{profiles:t}),(0,n.jsx)(ei,{})]})]})}}},function(e){e.O(0,[2211,2888,9774,179],function(){return e(e.s=48312)}),_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.