1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6053],{9022:function(e,t,l){"use strict";l.d(t,{Pn:function(){return C},iT:function(){return r.Z},Lm:function(){return v},vr:function(){return D},Se:function(){return w}});var r=l(931),n=l(9499),i=l(1775),o=l(8486),s=l(3229),a=l(1163),c=l(3431),d=l(1067),u=l(5893);function p(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,r)}return l}function m(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?p(Object(l),!0).forEach((function(t){(0,n.Z)(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):p(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}function v(e){var t=e.classes,l=e.title,r=e.titleIcon,n=e.numUpdates,p=e.description,v=e.minCardWidthClass,f=e.moreLink,x=e.backgroundUrl,b=e.backgroundFocalPoint,h=(0,a.useRouter)(),g=(0,c.Me)(2),j=(0,d.YT)({title:l,a11yIds:g});return(0,u.jsxs)(d.ZP,m(m({classes:t,cardClasses:"flex-col",minCardWidthClass:v},f&&{ariaLabelledBy:j,onClick:function(){return h.push(f)}}),{},{children:[(0,u.jsxs)(d.Aq,{veil:"Primary",classes:"max-h-[128px] md:max-h-[160px]",children:[(0,u.jsxs)("div",{className:"z-[1] w-full flex flex-row items-center px-4 py-6 md:px-6 md:py-8",children:[r&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(o.Z,{variant:r,classes:"inline-flex md:hidden mr-6",color:"secondary",size:"64px",weight:"regular"}),(0,u.jsx)(o.Z,{variant:r,classes:"hidden md:inline-flex mr-6",color:"secondary",size:"80px",weight:"regular"})]}),l&&(0,u.jsx)("div",{className:"line-clamp-3",children:(0,u.jsx)("h3",{className:"brand-font text-left",id:g[1],children:l})})]}),x&&(0,u.jsx)("div",{className:"absolute h-full w-full",children:(0,u.jsx)(i.Z,{classes:"opacity-30 relative",focalPoint:b,url:x})}),(0,u.jsx)(d.Z0,{placement:"-bottom-2.5"})]}),(0,u.jsxs)("div",{className:"px-4 pb-6 md:px-6 md:pt-2.5 md:pb-8 flex flex-col flex-1",children:[(0,u.jsx)(s.Z,{numUpdates:n}),(0,u.jsx)(d.dk,{classes:"line-clamp-5",description:p}),f&&(0,u.jsx)(d.cf,{id:g[0],label:"See More",url:f})]}),(0,u.jsx)(d.Z0,{placement:"bottom-2"})]}))}var f=l(4184),x=l.n(f),b=l(1664),h=l.n(b),g=l(1270);function j(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,r)}return l}function y(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?j(Object(l),!0).forEach((function(t){(0,n.Z)(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):j(Object(l)).forEac
1h((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}function w(e){var t,l,r=e.classes,s=e.date,p=e.dense,m=void 0!==p&&p,v=e.title,f=e.description,b=e.backgroundUrl,j=e.backgroundFocalPoint,w=e.veil,O=e.icon,P=e.moreLink,N=e.caption,k=e.category,Z=(0,a.useRouter)(),C=(0,c.Me)(2),_=(0,d.YT)({title:v,a11yIds:C});return(0,u.jsxs)(d.ZP,y(y({cardClasses:x()("flex-col",(t={},(0,n.Z)(t,"xl:grid xl:grid-cols-12 xl:gap-4 lg:flex-row lg:items-center",!m),(0,n.Z)(t,"md:flex-row md:items-center",m),t),r),hasPadding:!m},P&&{ariaLabelledBy:_,onClick:function(){return Z.push(P)}}),{},{children:[(0,u.jsx)(d.Z0,{placement:"top-2"}),(0,u.jsxs)("div",{className:x()("relative mb-6 lg:mb-0",(0,n.Z)({},"md:h-[224px] md:w-[205px] md:mb-0 md:mr-6",m),m?"h-[160px] md:h-[224px] w-full md:w-[205px] md:mr-6":"h-[160px] lg:h-[420px] w-full lg:flex-1 xl:col-start-2 xl:col-span-4 lg:mr-12 xl:mr-0"),children:[O&&(0,u.jsxs)("div",{className:"absolute z-[1] h-full w-full flex flex-row items-center justify-center",children:[(0,u.jsx)(o.Z,{variant:O,wrapperClass:"inline-flex lg:hidden",color:"secondary",size:"96px",weight:"regular"}),(0,u.jsx)(o.Z,{variant:O,wrapperClass:"hidden lg:inline-flex",color:"secondary",size:"198px",weight:"light"})]}),b&&(0,u.jsx)("div",{className:x()("absolute h-full w-full",(0,n.Z)({},"max-h-[160px] lg:max-h-[420px]",!m)),children:(0,u.jsx)(i.Z,{focalPoint:j,url:b})}),N&&(0,u.jsx)("div",{className:"absolute bottom-0 left-0 w-full bg-white bg-opacity-80 text-black caption utility-font p-1 image-caption text-left image-caption",dangerouslySetInnerHTML:{__html:N}}),w&&(0,u.jsx)("div",{className:x()("absolute inset-0",(l={},(0,n.Z)(l,"bg-gradient-to-r from-primary to-secondary opacity-80",w===d.oS.Gradient),(0,n.Z)(l,"bg-primary opacity-[.64]",w===d.oS.Primary),l))})]}),(0,u.jsxs)("div",{className:"xl:col-start-7 xl:col-end-12 flex-1 grid gap-3",children:[(0,u.jsx)(d.h_,{category:k,date:s}),(0,u.jsxs)("div",{className:"grid gap-3",children:[v&&(0,u.jsx)("div",{className:x()("brand-font",m?"type-h3":"type-h2"),children:(0,u.jsx)("span",{className:"capitalcase text-primary line-clamp-4",id:C[1],children:v})}),(0,u.jsx)(d.dk,{description:f})]}),P&&!m&&(0,u.jsx)(h(),{href:P,passHref:!0,children:(0,u.jsx)("a",{className:"mt-3",children:(0,u.jsx)(g.ZP,{id:C[0],fullWidth:!1,label:"See More"})})})]}),(0,u.jsx)(d.Z0,{placement:"bottom-2"})]}))}var O=l(3633),P=l(5562),N=l(7294);function k(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,r)}return l}function Z(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?k(Object(l),!0).forEach((function(t){(0,n.Z)(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):k(Object(l)).forEac
1h((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}var C=function(e){var t,l,r=e.classes,i=e.dense,o=void 0!==i&&i,s=e.state,c=e.district,p=e.name,m=e.party,v=e.portrait,f=e.slug,b=e.title,h=(0,a.useRouter)(),g=(0,P.MT)({number:c,state:s}),j=(0,N.useMemo)((function(){var e,t,l=null===v||void 0===v?void 0:v.url;return{portraitUrl:l,thumbnailUrl:(null===v||void 0===v||null===(e=v.formats)||void 0===e||null===(t=e.thumbnail)||void 0===t?void 0:t.url)||l}}),[v]);return(0,u.jsxs)(d.ZP,{cardClasses:x()("flex-row hover:shadow-xl transition-shadow",(0,n.Z)({},"md:flex-col",!o)),classes:x()(r),minCardWidthClass:"min-w-[200px]",ariaLabel:"see details on ".concat(p),onClick:function(){return f&&h.push("/representatives/".concat(f))},children:[(0,u.jsxs)("div",{className:x()("relative w-[96px] bg-coolgray-200",{"md:w-full md:h-[290px]":!o}),children:[(0,u.jsx)("div",Z({className:x()("bg-cover relative min-h-full min-w-full bg-top",{"block md:hidden":!o})},j.thumbnailUrl&&{style:{backgroundImage:"url(".concat(j.thumbnailUrl,")")}})),!o&&(0,u.jsx)("div",Z({className:x()("bg-cover relative min-h-full min-w-full bg-top hidden md:block")},j.portraitUrl&&{style:{backgroundImage:"url(".concat(j.portraitUrl,")")}})),(0,u.jsx)("div",{className:x()("hidden md:block h-2.5 absolute inset-x-0 bottom-0 horizontal-gradient")})]}),(0,u.jsxs)("div",{className:"flex-1 ig--member-info p-6 md:p-4",children:[b&&!o&&(0,u.jsx)("p",{className:"utility-font caption mb-1",children:b}),(0,u.jsx)("p",{className:x()("text-primary cta utility-font mb-1"),children:p}),(0,u.jsx)(O.Z,{color:null!==(t=null===m||void 0===m?void 0:m.color)&&void 0!==t?t:void 0,initials:null===m||void 0===m||null===(l=m.name)||void 0===l?void 0:l.charAt(0),text:g,children:g&&(0,u.jsx)("p",{className:"ml-2 utility-font label",children:g})})]})]})};function _(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,r)}return l}function S(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?_(Object(l),!0).forEach((function(t){(0,n.Z)(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):_(Object(l)).forEac
1h((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}function D(e){var t,l=e.classes,r=e.date,n=e.title,s=e.description,p=e.icon,m=e.moreLink,v=e.caption,f=e.backgroundUrl,x=e.backgroundFocalPoint,b=e.category,h=e.veil,g=e.type,j=(0,a.useRouter)(),y=(0,c.Me)(2);return(0,u.jsxs)(d.ZP,S(S({classes:l,cardClasses:"flex-col",hasPadding:!0},m&&{ariaLabelledBy:"".concat(y[0]," ").concat(y[1]),onClick:function(){return j.push(m)}}),{},{children:[(0,u.jsx)(d.Z0,{placement:"top-2"}),(0,u.jsxs)(d.Aq,{veil:h,children:[g&&(0,u.jsx)("div",{className:"m-6 z-[1] border-2 border-white rounded-sm px-6 py-1.5 utility-font",children:(0,u.jsx)("p",{className:"text-[1.75rem] uppercase font-medium",children:g})}),p&&(0,u.jsxs)("div",{className:"z-[1] w-full flex flex-row items-center justify-center",children:[(0,u.jsx)(o.Z,{variant:p,classes:"inline-flex md:hidden",color:"secondary",size:"96px",weight:"regular"}),(0,u.jsx)(o.Z,{variant:p,classes:"hidden md:inline-flex",color:"secondary",size:"140px",weight:"light"})]}),f&&(0,u.jsx)("div",{className:"absolute h-full w-full",children:(0,u.jsx)(i.Z,{focalPoint:x,url:f})}),v&&(0,u.jsx)("div",{className:"absolute bottom-0 left-0 w-full bg-white bg-opacity-80 text-black caption utility-font p-1 image-caption text-left",dangerouslySetInnerHTML:{__html:v}})]}),(0,u.jsxs)("div",{className:"grid gap-3",children:[(0,u.jsx)(d.h_,{category:b,date:r}),(0,u.jsx)(d.Dx,{id:y[1],title:n}),(0,u.jsx)(d.dk,{description:null===s||void 0===s||null===(t=s.replaceAll(/<\/?[^>]+(>|$)/g," "))||void 0===t?void 0:t.replaceAll(/ +/g," ")})]}),m&&(0,u.jsx)(d.cf,{id:y[0],label:"See More",url:m}),(0,u.jsx)(d.Z0,{placement:"bottom-2"})]}))}},3860:function(e,t,l){"use strict";l.d(t,{K:function(){return x},Z:function(){return b}});var r=l(9499),n=l(6835),i=l(8486),o=l(6590),s=l(7806),a=l(4184),c=l.n(a),d=l(1664),u=l.n(d),p=l(1163),m=l(7294),v=l(5893),f=function(e,t){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",n="";switch(e){case"ReportCategoryEntity":n="?category=".concat(l);break;case"CategoryEntity":if(r){n=[t,l].filter(Boolean).join("/")+"?member=".concat(r);break}default:n=[t,l].filter(Boolean).join("/")}return n},x=function(e){var t,l,r,i,s,a,c=e.options,d=e.pageBlocksResources,u=(0,p.useRouter)(),m=null!==(t=null===u||void 0===u||null===(l=u.asPath)||void 0===l||null===(r=l.split("/"))||void 0===r?void 0:r.filter(Boolean))&&void 0!==t?t:[],f=(0,n.Z)(m,3),x=f[1],h=f[2];return null!==u&&void 0!==u&&null!==(i=u.query)&&void 0!==i&&i.category&&(h=null!==(s=(0,o.ah)(null===u||void 0===u||null===(a=u.query)||void 0===a?void 0:a.category))&&void 0!==s?s:""),(0,v.jsx)(b,{resources:d,options:c,basePath:x,tab:h})};function b(e){var t=e.label,l=void 0===t?"Select a Category":t,n=e.name,o=void 0===n?"category":n,a=e.options,d=e.basePath,x=e.tab,b=e.member,h=e.resources,g=(0,p.useRouter)(),j=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return f(null===a||void 0===a||null===(e=a[0])||void 0===e?void 0:e.__typename,d,t,b)},y=(0,m.useMemo)((function(){var e,t,l,r,n,i,o,s;if("/reports"===(null===g||void 0===g?void 0:g.pathname))return null===g||void 0===g||null===(e=g.query)||void 0===e?void 0:e.category;if(null!==g&&void 0!==g&&null!==(t=g.query)&&void 0!==t&&t.slug&&null!==g&&void 0!==g&&null!==(l=g.asPath)&&void 0!==l&&null!==(r=l.split("?"))&&void 0!==r&&r.at(0))return null===g||void 0===g||null===(n=g.query)||void 0===n?void 0:n.slug;var a=null===g||void 0===g||null===(i=g.asPath)||void 0===i||null===(o=i.split("/"))||void 0===o?void 0:o.at(-1);return a===(null===(s=d.split("/"))||void 0===s?void 0:s.at(-1))?"":a}),[g]);return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("div",{className:"md:hidden bg-white px-6 pt-8 shadow-md",children:(0,v.jsx)(s.Z,{name:o,label:l,defaultValue:x,options:a,optionText:["attributes","title"],optionValue:["attributes","slug"],getValue:function(e){e&&g.push(j(e))}})}),(0,v.jsx)("div",{className:"hidden md:block bg-white shadow-lg w-[300px] max-w-full py-8",children:(0,v.jsx)("nav",{className:"top-32",children:(0,v.jsx)("ul",{children:null===a||void 0===a?void 0:a.map((function(e,t){var l,n,o,s,a,d,p,m,f,x=null===h||void 0===h?void 0:h[t],b=(null===e||void 0===e||null===(l=e.attributes)||void 0===l||null===(n=l.slug)||void 0===n?void 0:n.includes("report"))&&!(null!==e&&void 0!==e&&null!==(o=e.attributes)&&void 0!==o&&null!==(s=o.slug)&&void 0!==s&&s.includes("?")),g=b&&x?x:j(null===e||void 0===e||null===(a=e.attributes)||void 0===a?void 0:a.slug);return(0,v.jsx)("li",{children:(0,v.jsx)(u(),{href:g,children:(0,v.jsxs)("a",{target:b&&x?"_blank":"_parent",className:"navLink flex items-center text-primary py-3.5 px-8",children:[(0,v.jsx)("div",{className:c()("w-[16px] flex",(0,r.Z)({},"opacity-0",!(y===(null===e||void 0===e||null===(p=e.attributes)||void 0===p?void 0:p.slug)))),children:(null===e||void 0===e||null===(m=e.attributes)||void 0===m?void 0:m.icon)&&(0,v.jsx)(i.Z,{size:"16px",variant:e.attributes.icon.variant,color:"current"})}),(0,v.jsx)("h2",{className:"type-h6 global-font ml-2 uppercase",children:null===e||void 0===e||null===(f=e.attributes)||void 0===f?void 0:f.title})]})})},null===e||void 0===e||null===(d=e.attributes)||void 0===d?void 0:d.slug)}))})})})]})}},7534:function(e,t,l){"use strict";l.r(t),l.d(t,{__N_SSP:function(){return f},default:function(){return x}});var r=l(9499),n=l(7812),i=l(9022),o=l(4563),s=l(4184),a=l.n(s),c=l(833),d=l(3860),u=l(5452),p=l(1200),m=l(5893);function v(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,r)}return l}var f=!0;function x(e){var t,l,s,f,x,b,h,g=(0,u.f)(),j=g.accent,y=g.metadata,w=g.fallbacks,O=[{__typename:"ReportCategoryEntity",id:"all",attributes:{title:"All Reports",slug:"/",icon:{variant:"Government"}}}].concat((0,n.Z)(null!==(t=e.reportCategories)&&void 0!==t?t:[]));return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(c.Z,{title:"Reports",image:null===y||void 0===y||null===(l=y.defaultHeader)||void 0===l||null===(s=l.data)||void 0===s||null===(f=s.attributes)||void 0===f?void 0:f.url}),(0,m.jsxs)("div",{className:"flex flex-col md:flex-row grow",style:{backgroundColor:"#FAFAFA"},children:[!(null===e||void 0===e||null===(x=e.reportCategories)||void 0===x||!x.length)&&(0,m.jsx)(d.K,{options:O}),(0,m.jsx)("main",{className:"w-full",children:(0,m.jsxs)("div",{className:a()("my-7 grid gap-6",o.CLASSES.fullWidthPadding),children:[(0,m.jsx)("section",{className:"flex justify-between",children:(0,m.jsxs)("div",{className:"flex items-center",children:[(0,m.jsx)("h2",{className:"type-h3 text-primary brand-font",children:null===e||void 0===e?void 0:e.pageHeader}),(0,m.jsxs)("span",{className:"label-medium utility-font ml-2 text-gray-500",children:["(",null===e||void 0===e||null===(b=e.reportCards)||void 0===b?void 0:b.length,")"]})]})}),(0,m.jsx)("section",{className:"grid grid-flow-row lg:grid-cols-2 xl:grid-cols-3 xxl:grid-cols-4 gap-6",children:null!==e&&void 0!==e&&null!==(h=e.reportCards)&&void 0!==h&&h.length?e.reportCards.map((function(e,t){var l=(0,p.fR)({accent:j,fallbackImg:null===w||void 0===w?void 0:w.postFallbackImg,report:null===e||void 0===e?void 0:e.attributes});return(0,m.jsx)(i.vr,function(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};
1t%2?v(Object(l),!0).forEach((function(t){(0,r.Z)(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):v(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}({classes:"shadow-md"},l),t)})):(0,m.jsx)("div",{className:"utility-font text-gray-500 type-h6",children:"No reports found"})})]})})]})]})}},9702:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/reports",function(){return l(7534)}])}},function(e){e.O(0,[7388,4212,1663,722,9608,6718,931,9774,2888,179],(function(){return t=9702,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.