PageSourceSearch

https://covidtracking.com/f31d9637562237ff1b9412fdaf730bfbe4cfff81-d43ac777fffd9fea8fe0.js

js covidtracking.com collected 2026-09-24 07:32:13 UTC 79,515 bytes, 2 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{"+6XX":function(e,t,a){var n=a("y1pI");e.exports=function(e){return n(this.__data__,e)>-1}},"+c4W":function(e,t,a){var n=a("711d"),o=a("4/ic"),r=a("9ggG"),l=a("9Nap");e.exports=function(e){return r(e)?n(l(e)):o(e)}},"/9aa":function(e,t,a){var n=a("NykK"),o=a("ExA7");e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==n(e)}},"03A+":function(e,t,a){var n=a("JTzB"),o=a("ExA7"),r=Object.prototype,l=r.hasOwnProperty,c=r.propertyIsEnumerable,i=n(function(){return arguments}())?n:function(e){return o(e)&&l.call(e,"callee")&&!c.call(e,"callee")};e.exports=i},"0Cz8":function(e,t,a){var n=a("Xi7e"),o=a("ebwN"),r=a("e4Nc");e.exports=function(e,t){var a=this.__data__;if(a instanceof n){var l=a.__data__;if(!o||l.length<199)return l.push([e,t]),this.size=++a.size,this;a=this.__data__=new r(l)}return a.set(e,t),this.size=a.size,this}},"0ycA":function(e,t){e.exports=function(){return[]}},"1hJj":function(e,t,a){var n=a("e4Nc"),o=a("ftKO"),r=a("3A9y");function l(e){var t=-1,a=null==e?0:e.length;for(this.__data__=new n;++t<a;)this.add(e[t])}l.prototype.add=l.prototype.push=o,l.prototype.has=r,e.exports=l},"2gN3":function(e,t,a){var n=a("Kz5y")["__core-js_shared__"];e.exports=n},"3A9y":function(e,t){e.exports=function(e){return this.__data__.has(e)}},"3Fdi":function(e,t){var a=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return a.call(e)}catch(t){}try{return e+""}catch(t){}}return""}},"4/ic":function(e,t,a){var n=a("ZWtO");e.exports=function(e){return function(t){return n(t,e)}}},"44Ds":function(e,t,a){var n=a("e4Nc");function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var a=function(){var n=arguments,o=t?t.apply(this,n):n[0],r=a.cache;if(r.has(o))return r.get(o);var l=e.apply(this,n);return a.cache=r.set(o,l)||r,l};return a.cache=new(o.Cache||n),a}o.Cache=n,e.exports=o},"4kuk":function(e,t,a){var n=a("SfRM"),o=a("Hvzi"),r=a("u8Dt"),l=a("ekgI"),c=a("JSQU");function i(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t<a;){var n=e[t];this.set(n[0],n[1])}}i.prototype.clear=n,i.prototype.delete=o,i.prototype.get=r,i.prototype.has=l,i.prototype.set=c,e.exports=i},"4sDh":function(e,t,a){var n=a("4uTw"),o=a("03A+"),r=a("Z0cm"),l=a("wJg7"),c=a("shjB"),i=a("9Nap");e.exports=function(e,t,a){for(var s=-1,u=(t=n(t,e)).length,f=!1;++s<u;){var d=i(t[s]);if(!(f=null!=e&&a(e,d)))break;e=e[d]}return f||++s!=u?f:!!(u=null==e?0:e.length)&&c(u)&&l(d,u)&&(r(e)||o(e))}},"4uTw":function(e,t,a){var n=a("Z0cm"),o=a("9ggG"),r=a("GNiM"),l=a("dt0z");e.exports=function(e,t){return n(e)?e:o(e,t)?[e]:r(l(e))}},"6sVZ":function(e,t){var a=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||a)}},"711d":function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},"77Zs":function(e,t,a){var n=a("Xi7e");e.exports=function(){this.__data__=new n,this.size=0}},"7GkX":function(e,t,a){var n=a("b80T"),o=a("A90E"),r=a("MMmD");e.exports=function(e){return r(e)?n(e):o(e)}},"7fqy":function(e,t){e.exports=function(e){var t=-1,a=Array(e.size);return e.forEach((function(e,n){a[++t]=[n,e]})),a}},"9Nap":function(e,t,a){var n=a("/9aa");e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},"9ggG":function(e,t,a){var n=a("Z0cm"),o=a("/9aa"),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,l=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var a=typeof e;return!("number"!=a&&"symbol"!=a&&"boolean"!=a&&null!=e&&!o(e))||(l.test(e)||!r.test(e)||null!=t&&e in Object(t))}},A90E:function(e,t,a){var n=a("6sVZ"),o=a("V6Ve"),r=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var a in Object(e))r.call(e,a)&&"constructor"!=a&&t.push(a);return t}},AP2z:function(e,t,a){var n=a("nmnc"),o=Object.prototype,r=o.hasOwnProperty,l=o.toString,c=n?n.toStringTag:void 0;e.exports=function(e){var t=r.call(e,c),a=e[c];try{e[c]=void 0;var n=!0}catch(i){}var o=l.call(e);return n&&(t?e[c]=a:delete e[c]),o}},B8du:function(e,t){e.exports=function(){return!1}},C5Pu:function(e,t,a){e.exports={viewportSm:"480px",viewportMs:"640px",viewportMd:"768px",viewportLg:"1080px",viewportXl:"1200px",text:"#303030",link:"#000",linkActive:"#8b8dc7",colorPlum100:"#f2f2ff",colorPlum200:"#d1d1e8",colorPlum300:"#b6b7db",colorPlum400:"#8b8dc7",colorPlum500:"#6164ba",colorPlum600:"#575aad",colorPlum700:"#31347a",colorPlum800:"#111354",colorHoney100:"#fcf9eb",colorHoney200:"#fbe8a9",colorHoney300:"#f6ce7a",colorHoney400:"#ffad4a",colorHoney500:"#e2894e",colorHoney600:"#c66b3e",colorHoney700:"#924f34",colorHoney800:"#6e2f1f",colorBlueberry100:"#e2f1fc",colorBlueberry200:"#8cc7f4",colorBlueberry300:"#0091ea",colorBlueberry400:"#004399",colorBlueberry500:"#012656",colorSlate100:"#edf1f2",colorSlate200:"#d2d6d7",colorSlate300:"#b7bcbd",colorSlate400:"#9ca1a2",colorSlate500:"#828688",colorSlate600:"#676b6d",colorSlate700:"#4c5153",colorSlate800:"#313638",colorStrawberry100:"#fbbcb2",colorStrawberry200:"#dc472e",qualitativeColorPalette100:"#b5e3db",qualiTativecolorPalette200:"#cc0",qualiTativecolorPalette300:"#a19bca",qualiTativecolorPalette400:"#f4a071",qualiTativecolorPalette500:"#2f6488",qualiTativecolorPalette600:"#527740",crdtAsian:"#E35942",crdtWhite:"#cc0",crdtBlack:"#a19bca",crdtLatinx:"#f4a071",crdtNonHispanic:"#111354",crdtNhpi:"#2f6488",crdtAian:"#527740",header:"_65015",preamble:"_134fb",screenshots:"_0d70f",button:"ea61d",row:"_371ea"}},CH3K:function(e,t){e.exports=function(e,t){for(var a=-1,n=t.length,o=e.length;++a<n;)e[o+a]=t[a];return e}},CMye:function(e,t,a){var n=a("GoyQ");e.exports=function(e){return e==e&&!n(e)}},Cwc5:function(e,t,a){var n=a("NKxu"),o=a("Npjl");e.exports=function(e,t){var a=o(e,t);return n(a)?a:void 0}},DSRE:function(e,t,a){(function(e){var n=a("Kz5y"),o=a("B8du"),r=t&&!t.nodeType&&t,l=r&&"object"==typeof e&&e&&!e.nodeType&&e,c=l&&l.exports===r?n.Buffer:void 0,i=(c?c.isBuffer:void 0)||o;e.exports=i}).call(this,a("YuTi")(e))},E2jh:function(e,t,a){var n,o=a("2gN3"),r=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(sr
1c)_1."+n:"";e.exports=function(e){return!!r&&r in e}},EpBk:function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},ExA7:function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},GDhZ:function(e,t,a){var n=a("wF/u"),o=a("mwIZ"),r=a("hgQt"),l=a("9ggG"),c=a("CMye"),i=a("IOzZ"),s=a("9Nap");e.exports=function(e,t){return l(e)&&c(t)?i(s(e),t):function(a){var l=o(a,e);return void 0===l&&l===t?r(a,e):n(t,l,3)}}},GNiM:function(e,t,a){var n=a("I01J"),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,l=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,a,n,o){t.push(n?o.replace(r,"$1"):a||e)})),t}));e.exports=l},GoyQ:function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},H8j4:function(e,t,a){var n=a("QkVE");e.exports=function(e,t){var a=n(this,e),o=a.size;return a.set(e,t),this.size+=a.size==o?0:1,this}},HDyB:function(e,t,a){var n=a("nmnc"),o=a("JHRd"),r=a("ljhN"),l=a("or5M"),c=a("7fqy"),i=a("rEGp"),s=n?n.prototype:void 0,u=s?s.valueOf:void 0;e.exports=function(e,t,a,n,s,f,d){switch(a){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var m=c;case"[object Set]":var p=1&n;if(m||(m=i),e.size!=t.size&&!p)return!1;var b=d.get(e);if(b)return b==t;n|=2,d.set(e,t);var h=l(m(e),m(t),n,s,f,d);return d.delete(e),h;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},HOxn:function(e,t,a){var n=a("Cwc5")(a("Kz5y"),"Promise");e.exports=n},Hvzi:function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},I01J:function(e,t,a){var n=a("44Ds");e.exports=function(e){var t=n(e,(function(e){return 500===a.size&&a.clear(),e})),a=t.cache;return t}},IEZe:function(e,t,a){"use strict";var n=a("q1tI"),o=a.n(n),r=a("Wbzz"),l=a("TSYQ"),c=a.n(l),i=a("TFGg"),s=a("Im9R"),u=a.n(s);t.a=function(e){var t=e.content,a=e.className,l=e.id,s=e.inline,f=void 0!==s&&s,d=Object(r.useStaticQuery)("3565063634"),m=Object(n.useState)(!1),p=m[0],b=m[1],h=d.site.siteMetadata.contentfulSpace;return Object(n.useEffect)((function(){"undefined"!=typeof window&&void 0!==window.location&&window.location.search.search("\\?edit")>-1&&b(!0)}),[]),o.a.createElement(o.a.Fragment,null,p&&o.a.createElement("a",{className:f?u.a.editInline:u.a.edit,href:"https://app.contentful.com/spaces/"+h+"/entries/"+l,target:"_blank",rel:"noopener noreferrer"},"Edit this content"),o.a.createElement("div",{className:c()(a,u.a.content),dangerouslySetInnerHTML:{__html:Object(i.a)(t,1)}}))}},IOzZ:function(e,t){e.exports=function(e,t){return function(a){return null!=a&&(a[e]===t&&(void 0!==t||e in Object(a)))}}},Ihdz:function(e,t,a){"use strict";a("q1tI");t.a="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Im0xMC4yNjIgMC45ODgyNGMwLjc3MjItMS4zMTc2IDIuNzAyOC0xLjMxNzYgMy40NzUgMWUtNmw5Ljk5MDcgMTcuMDQ3YzAuNzcyMiAxLjMxNzYtMC4xOTMgMi45NjQ3LTEuNzM3NSAyLjk2NDdoLTE5Ljk4MWMtMS41NDQ1IDAtMi41MDk3LTEuNjQ3MS0xLjczNzUtMi45NjQ3bDkuOTkwNy0xNy4wNDd6IiBmaWxsPSIjRTM1OTQyIi8+CjxwYXRoIGQ9Im0xMC4zOTEgNS41OTE4IDAuMjQxMiA4Ljk4MDRoMi40NzcxbDAuMjUwNS04Ljk4MDRoLTIuOTY4OHptMS40ODQ0IDEzLjY2NmMxLjA0ODMgMCAxLjY4ODUtMC41OTM4IDEuNjg4NS0xLjU0OTMgMC0wLjk2NDktMC42NDAyLTEuNTU4Ni0xLjY4ODUtMS41NTg2LTEuMDM5MSAwLTEuNjg4NSAwLjU5MzctMS42ODg1IDEuNTU4NiAwIDAuOTU1NSAwLjY0OTQgMS41NDkzIDEuNjg4NSAxLjU0OTN6IiBmaWxsPSIjZmZmIi8+Cjwvc3ZnPgo="},Im9R:function(e,t,a){e.exports={viewportSm:"480px",viewportMs:"640px",viewportMd:"768px",viewportLg:"1080px",viewportXl:"1200px",text:"#303030",link:"#000",linkActive:"#8b8dc7",colorPlum100:"#f2f2ff",colorPlum200:"#d1d1e8",colorPlum300:"#b6b7db",colorPlum400:"#8b8dc7",colorPlum500:"#6164ba",colorPlum600:"#575aad",colorPlum700:"#31347a",colorPlum800:"#111354",colorHoney100:"#fcf9eb",colorHoney200:"#fbe8a9",colorHoney300:"#f6ce7a",colorHoney400:"#ffad4a",colorHoney500:"#e2894e",colorHoney600:"#c66b3e",colorHoney700:"#924f34",colorHoney800:"#6e2f1f",colorBlueberry100:"#e2f1fc",colorBlueberry200:"#8cc7f4",colorBlueberry300:"#0091ea",colorBlueberry400:"#004399",colorBlueberry500:"#012656",colorSlate100:"#edf1f2",colorSlate200:"#d2d6d7",colorSlate300:"#b7bcbd",colorSlate400:"#9ca1a2",colorSlate500:"#828688",colorSlate600:"#676b6d",colorSlate700:"#4c5153",colorSlate800:"#313638",colorStrawberry100:"#fbbcb2",colorStrawberry200:"#dc472e",qualitativeColorPalette100:"#b5e3db",qualiTativecolorPalette200:"#cc0",qualiTativecolorPalette300:"#a19bca",qualiTativecolorPalette400:"#f4a071",qualiTativecolorPalette500:"#2f6488",qualiTativecolorPalette600:"#527740",crdtAsian:"#E35942",crdtWhite:"#cc0",crdtBlack:"#a19bca",crdtLatinx:"#f4a071",crdtNonHispanic:"#111354",crdtNhpi:"#2f6488",crdtAian:"#527740",editInline:"b19ef",edit:"_5d743",content:"_8b762"}},JC6p:function(e,t,a){var n=a("cq/+"),o=a("7GkX");e.exports=function(e,t){return e&&n(e,t,o)}},JD84:function(e,t,a){var n=a("SKAX");e.exports=function(e,t,a,o){return n(e,(function(e,n,r){t(o,e,a(e),r)})),o}},JHRd:function(e,t,a){var n=a("Kz5y").Uint8Array;e.exports=n},JHgL:function(e,t,a){var n=a("QkVE");e.exports=function(e){return n(this,e).get(e)}},JSQU:function(e,t,a){var n=a("YESw");e.exports=function(e,t){var a=this.__data__;return this.size+=this.has(e)?0:1,a[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},JTzB:function(e,t,a){var n=a("NykK"),o=a("ExA7");e.exports=function(e){return o(e)&&"[object Arguments]"==n(e)}},Juji:function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},KMkd:function(e,t){e.exports=function(){this.__data__=[],this.size=0}},KfNM:function(e,t){var a=Object.prototype.toString;e.exports=function(e){return a.call(e)}}
1,Kz5y:function(e,t,a){var n=a("WFqU"),o="object"==typeof self&&self&&self.Object===Object&&self,r=n||o||Function("return this")();e.exports=r},L8xA:function(e,t){e.exports=function(e){var t=this.__data__,a=t.delete(e);return this.size=t.size,a}},LKT8:function(e,t,a){e.exports={viewportSm:"480px",viewportMs:"640px",viewportMd:"768px",viewportLg:"1080px",viewportXl:"1200px",text:"#303030",link:"#000",linkActive:"#8b8dc7",colorPlum100:"#f2f2ff",colorPlum200:"#d1d1e8",colorPlum300:"#b6b7db",colorPlum400:"#8b8dc7",colorPlum500:"#6164ba",colorPlum600:"#575aad",colorPlum700:"#31347a",colorPlum800:"#111354",colorHoney100:"#fcf9eb",colorHoney200:"#fbe8a9",colorHoney300:"#f6ce7a",colorHoney400:"#ffad4a",colorHoney500:"#e2894e",colorHoney600:"#c66b3e",colorHoney700:"#924f34",colorHoney800:"#6e2f1f",colorBlueberry100:"#e2f1fc",colorBlueberry200:"#8cc7f4",colorBlueberry300:"#0091ea",colorBlueberry400:"#004399",colorBlueberry500:"#012656",colorSlate100:"#edf1f2",colorSlate200:"#d2d6d7",colorSlate300:"#b7bcbd",colorSlate400:"#9ca1a2",colorSlate500:"#828688",colorSlate600:"#676b6d",colorSlate700:"#4c5153",colorSlate800:"#313638",colorStrawberry100:"#fbbcb2",colorStrawberry200:"#dc472e",qualitativeColorPalette100:"#b5e3db",qualiTativecolorPalette200:"#cc0",qualiTativecolorPalette300:"#a19bca",qualiTativecolorPalette400:"#f4a071",qualiTativecolorPalette500:"#2f6488",qualiTativecolorPalette600:"#527740",crdtAsian:"#E35942",crdtWhite:"#cc0",crdtBlack:"#a19bca",crdtLatinx:"#f4a071",crdtNonHispanic:"#111354",crdtNhpi:"#2f6488",crdtAian:"#527740",toggle:"_4cb73",active:"_11a77"}},LXxW:function(e,t){e.exports=function(e,t){for(var a=-1,n=null==e?0:e.length,o=0,r=[];++a<n;){var l=e[a];t(l,a,e)&&(r[o++]=l)}return r}},MMmD:function(e,t,a){var n=a("lSCD"),o=a("shjB");e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},MvSz:function(e,t,a){var n=a("LXxW"),o=a("0ycA"),r=Object.prototype.propertyIsEnumerable,l=Object.getOwnPropertySymbols,c=l?function(e){return null==e?[]:(e=Object(e),n(l(e),(function(t){return r.call(e,t)})))}:o;e.exports=c},N57G:function(e,t,a){e.exports={viewportSm:"480px",viewportMs:"640px",viewportMd:"768px",viewportLg:"1080px",viewportXl:"1200px",text:"#303030",link:"_2ae6b",linkActive:"#8b8dc7",colorPlum100:"#f2f2ff",colorPlum200:"#d1d1e8",colorPlum300:"#b6b7db",colorPlum400:"#8b8dc7",colorPlum500:"#6164ba",colorPlum600:"#575aad",colorPlum700:"#31347a",colorPlum800:"#111354",colorHoney100:"#fcf9eb",colorHoney200:"#fbe8a9",colorHoney300:"#f6ce7a",colorHoney400:"#ffad4a",colorHoney500:"#e2894e",colorHoney600:"#c66b3e",colorHoney700:"#924f34",colorHoney800:"#6e2f1f",colorBlueberry100:"#e2f1fc",colorBlueberry200:"#8cc7f4",colorBlueberry300:"#0091ea",colorBlueberry400:"#004399",colorBlueberry500:"#012656",colorSlate100:"#edf1f2",colorSlate200:"#d2d6d7",colorSlate300:"#b7bcbd",colorSlate400:"#9ca1a2",colorSlate500:"#828688",colorSlate600:"#676b6d",colorSlate700:"#4c5153",colorSlate800:"#313638",colorStrawberry100:"#fbbcb2",colorStrawberry200:"#dc472e",qualitativeColorPalette100:"#b5e3db",qualiTativecolorPalette200:"#cc0",qualiTativecolorPalette300:"#a19bca",qualiTativecolorPalette400:"#f4a071",qualiTativecolorPalette500:"#2f6488",qualiTativecolorPalette600:"#527740",crdtAsian:"#E35942",crdtWhite:"#cc0",crdtBlack:"#a19bca",crdtLatinx:"#f4a071",crdtNonHispanic:"#111354",crdtNhpi:"#2f6488",crdtAian:"#527740",card:"_90f4f",header:"_3c43f",heading:"e332f",title:"_12ba6",body:"_35fbf",note:"_11a91",disclosure:"f1aa5",closed:"_2927e",expanded:"abc98"}},NKxu:function(e,t,a){var n=a("lSCD"),o=a("E2jh"),r=a("GoyQ"),l=a("3Fdi"),c=/^\[object .+?Constructor\]$/,i=Function.prototype,s=Object.prototype,u=i.toString,f=s.hasOwnProperty,d=RegExp("^"+u.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!r(e)||o(e))&&(n(e)?d:c).test(l(e))}},Npjl:function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},NykK:function(e,t,a){var n=a("nmnc"),o=a("AP2z"),r=a("KfNM"),l=n?n.toStringTag:void 0;
1e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":l&&l in Object(e)?o(e):r(e)}},O0oS:function(e,t,a){var n=a("Cwc5"),o=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=o},O7RO:function(e,t,a){var n=a("CMye"),o=a("7GkX");e.exports=function(e){for(var t=o(e),a=t.length;a--;){var r=t[a],l=e[r];t[a]=[r,l,n(l)]}return t}},"Of+w":function(e,t,a){var n=a("Cwc5")(a("Kz5y"),"WeakMap");e.exports=n},OnSo:function(e,t,a){"use strict";a.d(t,"a",(function(){return s})),a.d(t,"c",(function(){return u})),a.d(t,"b",(function(){return f}));var n=a("q1tI"),o=a.n(n),r=a("TSYQ"),l=a.n(r),c=a("qT6O"),i=a.n(c),s=function(e){var t=e.children,a=e.className,n=e.sticky,r=void 0!==n&&n;return o.a.createElement("div",{className:l()(a)},o.a.createElement("div",{className:l()(i.a.container,r&&i.a.sticky)},t))},u=function(e){var t=e.isOpen,a=e.setIsOpen,n=e.children,r=e.className;return o.a.createElement("button",{className:l()(r,i.a.header),onClick:function(){return a(!t)},type:"button","aria-expanded":t},n,o.a.createElement("div",{className:i.a.caret,"aria-expanded":t},o.a.createElement("svg",{width:"14",height:"11",viewBox:"0 0 8 6",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0},o.a.createElement("path",{d:"M0.146447 4.81307C-0.0488155 5.00833 -0.0488155 5.32492 0.146447 5.52018C0.341709 5.71544 0.658291 5.71544 0.853553 5.52018L0.146447 4.81307ZM4 1.66663L4.35355 1.31307L4 0.959519L3.64645 1.31307L4 1.66663ZM7.14645 5.52018C7.34171 5.71544 7.65829 5.71544 7.85355 5.52018C8.04882 5.32492 8.04882 5.00833 7.85355 4.81307L7.14645 5.52018ZM0.853553 5.52018L4.35355 2.02018L3.64645 1.31307L0.146447 4.81307L0.853553 5.52018ZM3.64645 2.02018L7.14645 5.52018L7.85355 4.81307L4.35355 1.31307L3.64645 2.02018Z"})),o.a.createElement("span",{className:"a11y-only"},"hide/show categories")))},f=function(e){var t=e.isOpen,a=e.className,n=e.children;return o.a.createElement("div",{className:l()(a,t&&i.a.opened,i.a.content)},n)}},QkVE:function(e,t,a){var n=a("EpBk");e.exports=function(e,t){var a=e.__data__;return n(t)?a["string"==typeof t?"string":"hash"]:a.map}},QoRX:function(e,t){e.exports=function(e,t){for(var a=-1,n=null==e?0:e.length;++a<n;)if(t(e[a],a,e))return!0;return!1}},QqLw:function(e,t,a){var n=a("tadb"),o=a("ebwN"),r=a("HOxn"),l=a("yGk4"),c=a("Of+w"),i=a("NykK"),s=a("3Fdi"),u=s(n),f=s(o),d=s(r),m=s(l),p=s(c),b=i;(n&&"[object DataView]"!=b(new n(new ArrayBuffer(1)))||o&&"[object Map]"!=b(new o)||r&&"[object Promise]"!=b(r.resolve())||l&&"[object Set]"!=b(new l)||c&&"[object WeakMap]"!=b(new c))&&(b=function(e){var t=i(e),a="[object Object]"==t?e.constructor:void 0,n=a?s(a):"";if(n)switch(n){case u:return"[object DataView]";case f:return"[object Map]";case d:return"[object Promise]";case m:return"[object Set]";case p:return"[object WeakMap]"}return t}),e.exports=b},RFUg:function(e,t,a){e.exports={viewportSm:"480px",viewportMs:"640px",viewportMd:"768px",viewportLg:"1080px",viewportXl:"1200px",text:"#303030",link:"#000",linkActive:"#8b8dc7",colorPlum100:"#f2f2ff",colorPlum200:"#d1d1e8",colorPlum300:"#b6b7db",colorPlum400:"#8b8dc7",colorPlum500:"#6164ba",colorPlum600:"#575aad",colorPlum700:"#31347a",colorPlum800:"#111354",colorHoney100:"#fcf9eb",colorHoney200:"#fbe8a9",colorHoney300:"#f6ce7a",colorHoney400:"#ffad4a",colorHoney500:"#e2894e",colorHoney600:"#c66b3e",colorHoney700:"#924f34",colorHoney800:"#6e2f1f",colorBlueberry100:"#e2f1fc",colorBlueberry200:"#8cc7f4",colorBlueberry300:"#0091ea",colorBlueberry400:"#004399",colorBlueberry500:"#012656",colorSlate100:"#edf1f2",colorSlate200:"#d2d6d7",colorSlate300:"#b7bcbd",colorSlate400:"#9ca1a2",colorSlate500:"#828688",colorSlate600:"#676b6d",colorSlate700:"#4c5153",colorSlate800:"#313638",colorStrawberry100:"#fbbcb2",colorStrawberry200:"#dc472e",qualitativeColorPalette100:"#b5e3db",qualiTativecolorPalette200:"#cc0",qualiTativecolorPalette300:"#a19bca",qualiTativecolorPalette400:"#f4a071",qualiTativecolorPalette500:"#2f6488",qualiTativecolorPalette600:"#527740",crdtAsian:"#E35942",crdtWhite:"#cc0",crdtBlack:"#a19bca",crdtLatinx:"#f4a071",crdtNonHispanic:"#111354",crdtNhpi:"#2f6488",crdtAian:"#527740",infoLine:"_63af8",toggleContainer:"_88346",legendComponent:"dd95a",allDataLink:"_957ef",summaryCharts:"_41ece",testHeading:"e3fdf",alertInfoboxContainer:"_9c80a",disclosure:"d61e5",arrowDown:"_27fbb",arrowUp:"_44947",annotationList:"_09172",annotationItem:"c703c",annotationTitle:"e6471",annotationIndicator:"_23263",charts:"f82e7",chartLogo:"_0a3cc",annotationDate:"_9ed02",calculated:"_6d4e5",testFieldIndicator:"_0587c"}},SKAX:function(e,t,a){var n=a("JC6p"),o=a("lQqw")(n);e.exports=o},SfRM:function(e,t,a){var n=a("YESw");e.exports=function(){this.__data__=n?n(null):{},this.size=0}},Tn8H:function(e,t,a){"use strict";a("ToJy");
1var n=a("q1tI"),o=a.n(n),r=a("Wbzz"),l=a("TSYQ"),c=a.n(l),i=a("R5tI"),s=a("uY6E"),u=a("aTGQ"),f=(a("4SwH"),a("N57G")),d=a.n(f),m=function(e){var t=e.children;return o.a.createElement("div",{className:d.a.body},t)},p=function(e){var t=e.children;return o.a.createElement("p",{className:d.a.note},t)},b=function(e){var t=e.title,a=e.link,n=e.children;return o.a.createElement("div",{className:d.a.card},(t||a)&&o.a.createElement("div",{className:d.a.header},t&&o.a.createElement("h3",{className:d.a.title},t),a&&o.a.createElement("span",{className:d.a.link},a)),n)},h=a("779a"),v=a("Ihdz"),g=a("uQgW"),y=a.n(g),E=function(e){var t=e.title,a=e.value,n=e.suffix,r=e.children,l=e.subelement,i=e.hideValue,s=e.grey,u=e.asterisk,f=void 0!==u&&u,d=e.noDefinitionLink;return o.a.createElement("div",{className:c()(y.a.statisticWrapper,l&&y.a.subelement,d&&y.a.noDefinitionLink,s&&y.a.grey)},o.a.createElement("div",{className:y.a.statistic},o.a.createElement("div",{className:c()(y.a.title,i&&y.a.fullWidth)},t),o.a.createElement("div",{className:c()(y.a.value,null===a&&y.a.nullValue,""===f&&y.a.noAsterisk)},!i&&o.a.createElement(T,{value:a}),n,"*"===f&&"*"),r&&o.a.createElement("div",{className:y.a.info},r)))},T=function(e){var t=e.value;return t||0===t?o.a.createElement(h.d,{number:t}):o.a.createElement("span",{className:y.a.notReported},"Not Reported")},x=function(e){var t=e.onDefinitionsToggle,a=e.label,n=e.title,r=void 0!==n&&n;return o.a.createElement("button",{className:y.a.link,onClick:t,type:"button","aria-label":"Definition of "+a},o.a.createElement(S,{title:r}))},S=function(e){var t=e.title;return t?o.a.createElement("div",{className:y.a.warningContainer},o.a.createElement("img",{src:v.a,alt:"Alert"}),t.charAt(0).toUpperCase()+t.slice(1)||"Warning"):o.a.createElement(o.a.Fragment,null,"Definition")},P=function(e){var t=e.label,a=e.value,n=e.suffix,r=e.calculated,l=void 0!==r&&r;return o.a.createElement("div",{className:y.a.drillDown},o.a.createElement("span",{className:y.a.label},t,l&&o.a.createElement("div",{className:y.a.calculated,"aria-hidden":!0}," ","(Calculated)")),o.a.createElement("span",{className:y.a.value},o.a.createElement(T,{value:a}),n))},w=function(e){var t=e.stateSlug,a=e.stateName,l=e.positive,c=e.positiveIncrease,s=e.sevenDayIncrease,u=e.probableCases,f=e.confirmedCases,d=e.national,p=["positive","positiveCasesViral","probableCases"],h=Math.round(100*s*10)/10,v=Number.isNaN(h)?"N/A":h,g=Number.isNaN(h)?"":"%",y=Object(n.useContext)(i.d);return"N/A"!==v&&(g+=v>0?"+":"-"),o.a.createElement(b,{title:"Cases",link:o.a.createElement(r.Link,{to:d?"/data/national/cases":"/data/state/"+t+"/cases"},o.a.createElement("span",{className:"a11y-only"},d?"national":a," cases"," "),"Historical data")},o.a.createElement(m,null,o.a.createElement(E,{title:"Total cases",value:l},o.a.createElement(x,{onDefinitionsToggle:function(){y({fields:p,highlight:"positive"})},label:"Total cases"})),f>0&&null!==f&&o.a.createElement(E,{title:"Confirmed cases",value:f,subelement:!0},o.a.createElement(x,{onDefinitionsToggle:function(){y({fields:p,highlight:"positiveCasesViral"})},label:"Confirmed cases"})),u>0&&null!==u&&o.a.createElement(E,{title:"Probable cases",value:u,subelement:!0},o.a.createElement(x,{onDefinitionsToggle:function(){y({fields:p,highlight:"probableCases"})},label:"Probable Cases"})),o.a.createElement(P,{label:"New cases today",value:c,calculated:!0}),o.a.createElement(P,{label:"Change over 7 days",value:v,suffix:g,calculated:!0})))},N=function(e){var t=e.stateSlug,a=e.stateName,l=e.hospitalizedCumulative,c=e.inIcuCumulative,s=e.onVentilatorCumulative,u=e.hospitalizedCurrently,f=e.inIcuCurrently,d=e.onVentilatorCurrently,h=e.national,v=Object(n.useContext)(i.d),g=["hospitalizedCumulative","inIcuCumulative","onVentilatorCumulative","hospital
1izedCurrently","inIcuCurrently","onVentilatorCurrently"];return o.a.createElement(b,{title:"Hospitalization",link:o.a.createElement(r.Link,{to:h?"/data/national/hospitalization":"/data/state/"+t+"/hospitalization"},o.a.createElement("span",{className:"a11y-only"},h?"National":a," hospitalization"," "),"Historical data")},o.a.createElement(m,null,h?o.a.createElement(o.a.Fragment,null,o.a.createElement(E,{title:"Currently hospitalized",value:u},o.a.createElement(x,{label:"Currently hospitalized",onDefinitionsToggle:function(){v({fields:g,highlight:"hospitalizedCurrently"})}})),o.a.createElement(E,{title:"Currently in ICU",value:f},o.a.createElement(x,{label:"Currently in ICU",onDefinitionsToggle:function(){v({fields:g,highlight:"inIcuCurrently"})}})),o.a.createElement(E,{title:"Currently on ventilator",value:d},o.a.createElement(x,{label:"Currently on ventilator",onDefinitionsToggle:function(){v({fields:g,highlight:"onVentilatorCurrently"})}})),o.a.createElement(p,null,o.a.createElement(r.Link,{to:"/data/hospital-facilities"}
1,"See HHS hospitalization data on a map"),".")):o.a.createElement(o.a.Fragment,null,o.a.createElement(E,{title:"Now hospitalized",value:u},o.a.createElement(x,{label:"Now hospitalized",onDefinitionsToggle:function(){v({fields:g,highlight:"hospitalizedCurrently"})}})),o.a.createElement(E,{title:"Now in ICU",value:f},o.a.createElement(x,{label:"Now in ICU",onDefinitionsToggle:function(){v({fields:g,highlight:"inIcuCurrently"})}})),o.a.createElement(E,{title:"Now on ventilator",value:d},o.a.createElement(x,{label:"Now on ventilator",onDefinitionsToggle:function(){v({fields:g,highlight:"onVentilatorCurrently"})}})),o.a.createElement(E,{title:"Ever hospitalized",value:l},o.a.createElement(x,{label:"Ever hospitalized",onDefinitionsToggle:function(){v({fields:g,highlight:"hospitalizedCumulative"})}})),o.a.createElement(E,{title:"Ever in ICU",value:c},o.a.createElement(x,{label:"Ever in ICU",onDefinitionsToggle:function(){v({fields:g,highlight:"inIcuCumulative"})}})),o.a.createElement(E,{title:"Ever on ventilator",value:s},o.a.createElement(x,{label:"Ever on ventilator",onDefinitionsToggle:function(){v({fields:g,highlight:"onVentilatorCumulative"})}})))))},C=function(e){var t=e.stateSlug,a=e.stateName,l=e.onDefinitionsToggle,c=e.deathsLabel,s=e.death,u=e.deathConfirmed,f=e.deathProbable,d=e.hospitalizedDischarged,p=e.national,h=[];h.push("death"),f&&h.push("deathProbable"),u&&h.push("deathConfirmed"),h.push("hospitalizedDischarged");var v=Object(n.useContext)(i.d);return o.a.createElement(b,{title:"Outcomes",link:o.a.createElement(r.Link,{to:p?"/data/national/deaths":"/data/state/"+t+"/outcomes"},o.a.createElement("span",{className:"a11y-only"},p?"national":a," outcomes"," "),"Historical data")},o.a.createElement(m,null,!p&&o.a.createElement(E,{title:"Hospital discharges",value:d},o.a.createElement(x,{label:"Hospital discharges",onDefinitionsToggle:function(){v({fields:h,highlight:"hospitalizedDischarged"})}})),o.a.createElement(E,{title:c,value:s},o.a.createElement(x,{label:c,onDefinitionsToggle:function(){v({fields:h,highlight:"death"})}})),f&&o.a.createElement(E,{title:"Probable deaths",value:f,definitionLink:"#",onDefinitionsToggle:l,subelement:!0},o.a.createElement(x,{label:"Probable deaths",onDefinitionsToggle:function(){v({fields:h,highlight:"deathProbable"})}})),u&&o.a.createElement(E,{title:"Confirmed deaths",value:u,definitionLink:"#",onDefinitionsToggle:l,subelement:!0},o.a.createElement(x,{label:"Confirmed deaths",onDefinitionsToggle:function(){v({fields:h,highlight:"deathConfirmed"})}}))))},_=function(e){var t=e.stateSlug,a=e.stateName,l=e.totalTestsAntibody,c=e.totalTestsPeopleAntibody,s=Object(n.useContext)(i.d),u=["totalTestsAntibody","totalTestsPeopleAntibody"];return o.a.createElement(b,{title:"Antibody tests",link:o.a.createElement(r.Link,{to:"/data/state/"+t+"/tests-antibody"},o.a.createElement("span",{className:"a11y-only"},a," antibody testing "),"Historical data")},o.a.createElement(m,null,o.a.createElement(E,{title:"Total tests (specimens)",value:l},o.a.createElement(x,{onDefinitionsToggle:function(){s({fields:u,highlight:"totalTestsAntibody"})},label:"Total antibody tests in specimens"})),o.a.createElement(E,{title:"Total tests (people)",value:c},o.a.createElement(x,{onDefinitionsToggle:function(){s({fields:u,highlight:"totalTestsPeopleAntibody"})},label:"Total antibody tests in people"}))))},j=a("neXu"),k=function(e){var t=e.hhsTesting,a=e.notes,l=Object(n.useContext)(i.b);return o.a.createElement(b,{title:"Viral (PCR) tests (HHS data)"},o.a.createElement(m,null,o.a.createElement(E,{title:"Total tests",value:t.total}),a.notes&&o.a.createElement(x,{onDefinitionsToggle:function(){l.setCardAnnotations({fields:["Viral (PCR) tests (HHS data)"],highlight:"Viral (PCR) tests (HHS data)"})},title:"Warning"}),a.sourceNotes&&o.a.createElement(p,null,o.a.createElement("strong",null,"Source:")," ",a.sourceNotes),o.a.createElement(p,null,"This data is"," ",o.a.createElement("a",{href:"https://healthdata.gov/dataset/covid-19-diagnostic-laboratory-testing-pcr-testing-time-series"},"published by HHS"),". It"," ",o.a.createElement(r.Link,{to:"/analysis-updates/federal-testing-datas-last-mile"},"may differ from state-provided data"),"."),o.a.createElement(j.a,{date:t.date})))},O=function(e){var t=e.stateSlug,a=e.stateName,l=e.totalTestsAntigen,c=e.totalTestsPeopleAntigen,s=Object(n.useContext)(i.d),u=["totalTestsAntigen","totalTestsPeopleAntigen"];return o.a.createElement(b,{title:"Antigen tests",link:o.a.createElement(r.Link,{to:"/data/state/"+t+"/tests-antigen"},o.a.createElement("span",{className:"a11y-only"},a," antigen testing "),"Historical data")},o.a.createElement(m,null,o.a.createElement(E,{title:"Total tests (specimens)",value:l},o.a.createElement(x,{onDefinitionsToggle:function(){s({fields:u,highlight:"totalTestsAntigen"})},label:"Total antigen tests in specimens"})),o.a.createElement(E,{title:"Total tests (people)",value:c},o.a.createElement(x,{onDefinitionsToggle:function(){s({fields:u,highlight:"totalTestsPeopleAntigen"})},label:"Total antigen tests in people"})),o.a.createElement(p,null,o.a.createElement("b",null,"Warning"),": Antigen reporting may"," ",o.a.createElement(r.Link,{to:"/analysis-updates/antigen-testing-reporting"},"significantly understate")," ","the true number of tests administered")))},A=function(e){var t=e.stateSlug,a=e.stateName,l=e.totalTestEncountersViral,c=e.totalTestsViral,s=e.totalTestsPeopleViral,u=e.unknownUnits,f=void 0!==u&&u,d=e.annotations,p=Object(n.useContext)(i.d),h=["totalTestEncountersViral","totalTestsViral","totalTestsPeopleViral"],v=["Total Test Encounters (PCR)","Total Tests (PCR)","Total PCR Tests (People)"],g=Object(n.useContext)(i.b),y=function(e,t){var a="Warning";return e?(e.every((function(e){return e.field!==t||(a=e.warningTitle,!1)})),a):a};return o.a.createElement(b,{title:"Viral (PCR) tests",link:o.a.createElement(r.Link,{to:"/data/state/"+t+"/tests-viral"},o.a.createElement("span",{className:"a11y-only"},a," viral (PCR) testing "),"Historical data"," ")},o.a.createElement(m,null,f?o.a.createElement(E,{title:o.a.createElement(o.a.Fragment,null,"Total tests",o.a.createElement("br",null),"(unclear units)"),value:c},o.a.createElement(i.a,{field:"Total Tests (PCR)"},o.a.createElement(x,{title:y(d,"Total Tests (PCR)"),onDefinitionsToggle:function(){g.setCardAnnotations({fields:v,highlight:"Total Tests (PCR)"})},label:"Annotation for Total Tests (unclear units)"})),o.a.createElement(x,{onDefinitionsToggle:function(){p({fields:h,highlight:"totalTestsViral"})},label:"Total tests (unclear units)"})):o.a.createElement(o.a.Fragment,null,o.a.createElement(E,{title:o.a.createElement(o.a.Fragment,null,"Total tests",o.a.createElement("br",null),"(test encounters)"),value:l},o.a.createElement(i.a,{field:"Total Test Encounters (PCR)"},o.a.createElement(x,{title:y(d,"Total Test Encounters (PCR)"),onDefinitionsToggle:function(){g.setCardAnnotations({fields:v,highlight:"Total Test Encounters (PCR)"})},label:"Annotation for total cases"})),o.a.createElement(x,{onDefinitionsToggle:function(){p({fields:h,highlight:"totalTestEncountersViral"})},label:"Total tests (test encounters)"})),o.a.createElement(E,{title:o.a.createElement(o.a.Fragment,null,"Total tests",o.a.createElement("br",null),"(specimens)"),value:c},o.a.createElement(i.a,{field:"Total Tests (PCR)"},o.a.createElement(x,{title:y(d,"Total Tests (PCR)"),onDefinitionsToggle:function(){g.setCardAnnotations({fields:v,highlight:"Total Tests (PCR)"})},label:"Annotation for Total Tests (PCR)"})),o.a.createElement(x,{onDefinitionsToggle:function(){p({fields:h,highlight:"totalTestsViral"})},label:"Total tests (specimens)"})," "),o.a.createElement(E,{title:o.a.createElement(o.a.Fragment,null,"Total tests",o.a.createElement("br",null),"(people)"),value:s},o.a.createElement(i.a,{field:"Total PCR Tests (People)"},o.a.createElement(x,{title:y(d,"Total PCR Tests (People)"),onDefinitionsToggle:function(){g.setCardAnnotations({fields:v,highlight:"Total PCR Tests (People)"})},label:"Annotation for Total PCR Tests (People)"})),o.a.createElement(x,{onDefinitionsToggle:function(){p({fields:h,highlight:"totalTestsPeopleViral"})},label:"Total tests (people)"})))))},H=function(e){var t=e.totalTestResults,a=e.totalTestResultsIncrease,l=e.totalTestResulstPercentIncrease,c=Object(n.useContext)(i.d),s=["totalTestResults","totalTestResultsIncrease"],u=Math.round(100*l*10)/10;return o.a.createElement(b,{title:"Tests",link:o.a.createElement(r.Link,{to:"/data/national/tests"},o.a.createElement("span",{className:"a11y-only"},"National testing "),"Historical data")},o.a.createElement(m,null,o.a.createElement(E,{title:"Total tests",value:t},o.a.createElement(x,{label:"Total tests",onDefinitionsToggle:function(){c({fields:s,highlight:"totalTestResults"})}})),o.a.createElement(P,{label:"New tests today",value:a,calculated:!0}),o.a.createElement(P,{label:"Change over 7 days",value:u,suffix:"%"+(u>0?"+":"-"),calculated:!0})))},D=function(e){var t=e.data,a=e.stateName,l=e.stateDeaths,c=e.stateSlug,s=t.current,u=t.last,f=null;
1Object.keys(s).forEach((function(e){e.search("outbrkfac")>-1&&null!==s[e]&&(f+=s[e])}));var d=Object(n.useContext)(i.d),v=["ltc_cases","ltc_deaths","ltc_facilities"],g=function(e){return s[e]&&u[e]?Math.round((s[e]-u[e])/u[e]*100*10)/10+"%":"N/A"};return o.a.createElement(b,{title:"Long-term care (LTC)",link:o.a.createElement(r.Link,{to:"/data/state/"+c+"/long-term-care"},o.a.createElement("span",{className:"a11y-only"},a," long-term care data "),o.a.createElement("span",{"aria-hidden":!0},"More data"))},o.a.createElement(m,null,o.a.createElement(E,{title:"Total cases",value:s.total_cases},o.a.createElement(x,{onDefinitionsToggle:function(){d({fields:v,highlight:"ltc_cases"})},label:"Long-term-care cases"})),o.a.createElement(E,{title:"Total deaths",value:s.total_death},o.a.createElement(x,{onDefinitionsToggle:function(){d({fields:v,highlight:"ltc_deaths"})},label:"Long-term-care deaths"})),o.a.createElement(E,{title:"Number of facilities affected",value:f},o.a.createElement(x,{onDefinitionsToggle:function(){d({fields:v,highlight:"ltc_facilities"})},label:"Long-term-care facilities"})),o.a.createElement(P,{label:o.a.createElement(o.a.Fragment,null,"Percent of state deaths",o.a.createElement("br",null)," from LTC facilities"),value:s.total_death&&l?Math.round(s.total_death/l*100*10)/10+"%":"N/A",calculated:!0}),o.a.createElement(P,{label:"New cases since "+Object(h.e)(u.date,"LLL d"),value:g("total_cases"),calculated:!0}),o.a.createElement(P,{label:"New deaths since "+Object(h.e)(u.date,"LLL d"),value:g("total_death"),calculated:!0}),o.a.createElement(p,null,o.a.createElement(r.Link,{to:"/data/state/"+c+"/long-term-care/history"},"View historical totals")),o.a.createElement(j.a,{date:s.date})))},L=function(e){var t=e.hhsHospitalization,a=e.stateAbbreviation,l=Object(n.useContext)(i.d),c=["hhsICUConfirmedSuspected","hhsHospitalizedConfirmed","hhsHospitalizedConfirmedSuspected"];return o.a.createElement(b,{title:"Hospitalization (HHS data)"},o.a.createElement(m,null,o.a.createElement(p,null,o.a.createElement(r.Link,{to:"/data/hospital-facilities?state="+a},"See this",o.a.createElement("span",{className:"a11y-only"}
1," HHS hospitalization")," data on a map"),"."),o.a.createElement(E,{title:"Now hospitalized (confirmed + suspected)",value:parseInt(t.inpatient_beds_used_covid,10)},o.a.createElement(x,{label:"Now hospitalized (confirmed + suspected)",onDefinitionsToggle:function(){l({fields:c,highlight:"hhsHospitalizedConfirmedSuspected"})}})),o.a.createElement(E,{title:"Now hospitalized (confirmed only)",value:t.total_adult_patients_hospitalized_confirmed_covid+t.total_pediatric_patients_hospitalized_confirmed_covid,subelement:!0},o.a.createElement(x,{label:"Now hospitalized (confirmed only)",onDefinitionsToggle:function(){l({fields:c,highlight:"hhsHospitalizedConfirmed"})}})),o.a.createElement(E,{title:"Now in ICU  (confirmed + suspected)",value:t.staffed_icu_adult_patients_confirmed_and_suspected_covid},o.a.createElement(x,{label:"Now in ICU  (confirmed + suspected)",onDefinitionsToggle:function(){l({fields:c,highlight:"hhsICUConfirmedSuspected"})}})),o.a.createElement(p,null,"This data is"," ",o.a.createElement("a",{href:"https://healthdata.gov/dataset/covid-19-reported-patient-impact-and-hospital-capacity-state"},"published by HHS"),"."),o.a.createElement(j.a,{date:t.date})))},M=function(e){var t=e.ltcFedVaccinations;return o.a.createElement(b,{title:"Vaccinations"},o.a.createElement(m,null,o.a.createElement(E,{title:"Total resident & staff doses administered",value:t.Administered_Fed_LTC}),o.a.createElement(E,{title:"Staff & resident 1st dose administered",value:t.Administered_Fed_LTC_Dose1}),o.a.createElement(E,{title:"Staff &resident 2nd dose administered",value:t.Administered_Fed_LTC_Dose2}),o.a.createElement(p,null,"Vaccinations administered through the"," ",o.a.createElement(r.Link,{to:"https://covidtracking.com/about-data/faq#where-does-your-data-about-vaccinations-in-long-term-care-facilities-come-from"},"Pharmacy Partnership for Long-Term Care Program")),o.a.createElement(j.a,{date:t.Date})))},z=a("azmZ"),I=a("ABsO"),q=function(e){var t=e.stateAbbreviation;return o.a.createElement(I.a,null,t," does not report this information. ")},B=function(e){var t=e.raceData,a=e.stateAbbreviation,r=Object(n.useContext)(i.d),l=["crdt_casesPer100k"];return o.a.createElement(b,{title:"Race & ethnicity: cases per capita"},o.a.createElement(m,null,o.a.createElement(E,{title:"Cases per 100,000 people",hideValue:!0},o.a.createElement(x,{label:"Cases per 100,000 people",onDefinitionsToggle:function(){r({fields:l,highlight:"crdt_casesPer100k"})}})),t.hasCases?o.a.createElement(o.a.Fragment,null,t.values.map((function(e){return o.a.createElement(E,{key:e.name,title:e.name,value:e.casesValue,subelement:!0,noDefinitionLink:!0,grey:!0})}))):o.a.createElement(q,{stateAbbreviation:a}),t.hasCases&&o.a.createElement(o.a.Fragment,null,o.a.createElement(p,null,"(All data is calculated)"),o.a.createElement(j.a,{date:t.lastCheckDate}))))},R=function(e){var t=e.raceData,a=e.stateAbbreviation,r=Object(n.useContext)(i.d),l=["crdt_deathsPer100k"];return o.a.createElement(b,{title:"Race & ethnicity: deaths per capita"},o.a.createElement(m,null,o.a.createElement(E,{title:"Deaths per 100,000 people",hideValue:!0},o.a.createElement(x,{label:"Deaths per 100,000 people",onDefinitionsToggle:function(){r({fields:l,highlight:"crdt_deathsPer100k"})}})),t.hasDeaths?o.a.createElement(o.a.Fragment,null,t.values.map((function(e){return o.a.createElement(E,{key:e.name,title:e.name,value:e.deathsValue,asterisk:e.asterisk,subelement:!0,noDefinitionLink:!0,grey:!0})}))):o.a.createElement(q,{stateAbbreviation:a}),t.hasDeaths&&o.a.createElement(p,null,"(All data is calculated)"),t.hasAsterisk&&o.a.createElement(p,null,"* Based on ","<","10 deaths among members of this race/ethnicity. Interpret with caution."),t.hasDeaths&&o.a.createElement(o.a.Fragment,null,o.a.createElement(j.a,{date:t.lastCheckDate}))))},V=a("nkXI"),F=a.n(V),W=function(e){var t=e.children;return o.a.createElement("div",{className:F.a.container},t)},U=a("8ud2"),Z=a("wZD0"),Q=a.n(Z),X=function(e){var t=e.footnote;return o.a.createElement(u.a,{narrow:!0},o.a.createElement(s.a,null,o.a.createElement("div",{dangerouslySetInnerHTML:{__html:t.content.childMarkdownRemark.html}}
1)))};t.a=function(e){var t=e.stateSlug,a=e.stateName,l=e.stateAbbreviation,s=e.data,u=e.sevenDaysAgo,f=e.metadata,d=e.longTermCare,m=e.raceData,p=e.hhsHospitalization,b=e.ltcFedVaccinations,h=e.hhsTesting,v=e.hhsTestingNotes,g=e.annotations,y=void 0!==g&&g,E=e.national,T=void 0!==E&&E,x=Object(n.useState)(!1),S=x[0],P=x[1],j=Object(n.useState)(!1),I=j[0],q=j[1],V=Object(n.useState)(!1),F=V[0],Z=V[1],G=Object(n.useState)(!1),Y=G[0],K=G[1],J=Object(r.useStaticQuery)("3323533149"),$=J.allContentfulDataDefinition,ee=J.nationalSummaryFootnote,te=J.hhsTestingConfig,ae=s.deathProbable||s.deathConfirmed?"Total deaths":"Deaths",ne=(s.positive-u.positive)/u.positive,oe=$.nodes,re=S&&S.map((function(e){return Object.assign({},oe.find((function(t){return t.fieldName===e&&t})),e)})),le=["AS","GU","MP","VI"].indexOf(l)>-1,ce=["MP","AS"].indexOf(l)>-1,ie=le&&ce,se=Object(z.c)(m);return!1!==y&&function(e,t){if(!e)return e;var a=!1;e.every((function(e){return"death"!==e.fieldName||(a=!0,!1)})),a&&t.forEach((function(t){if(null!=t.metricText){var a={childContentfulDataDefinitionDefinitionTextNode:{childMarkdownRemark:{html:t.metricText}},fieldName:t.field.toLowerCase(),name:t.metricTitle};e.unshift(a)}}))}(re,y),v&&v.notes&&!y.find((function(e){return"Viral (PCR) tests (HHS data)"===e.field}))&&y.push({field:"Viral (PCR) tests (HHS data)",warning:o.a.createElement(o.a.Fragment,null,o.a.createElement("p",null,v.notes),o.a.createElement("p",null,"Sourced from the"," ",o.a.createElement("a",{href:te.file},"Community Profile Report"),"."))}),o.a.createElement(i.d.Provider,{value:function(e){var t=e.fields,a=e.highlight;P(t),q(a),Z(!1)}},o.a.createElement(i.b.Provider,{value:{annotations:y,setCardAnnotations:function(e){var t=e.fields,a=e.highlight;Z(t),K(a),P(!1)}}},S&&o.a.createElement(i.c,{definitions:re,highlightedDefinition:I,onHide:function(){return P(!1)},title:void 0===a?"National Definitions":a+" Definitions"}),F&&o.a.createElement(i.c,{annotations:y.filter((function(e){var t=!1;return F.forEach((function(a){e.field&&e.field.indexOf(a)>-1&&(t=!0)})),t})).sort((function(e,t){return F.indexOf(e.field[0])>F.indexOf(t.field[0])?1:-1})),highlightedDefinition:Y,onHide:function(){return Z(!1)},title:a+" Annotations & Warnings"}),o.a.createElement("div",{className:Q.a.wrapper},o.a.createElement("div",{className:c()(Q.a.container,T&&Q.a.fullWidth)},o.a.createElement(w,{stateSlug:t,stateName:a,positive:s.positive,positiveIncrease:s.positiveIncrease,probableCases:s.probableCases,confirmedCases:s.positiveCasesViral,sevenDayIncrease:ne,national:T}),T&&o.a.createElement(H,{totalTestResults:s.totalTestResults,totalTestResultsIncrease:s.totalTestResultsIncrease,totalTestResulstPercentIncrease:(s.totalTestResults-u.totalTestResults)/u.totalTestResults}),!T&&o.a.createElement(o.a.Fragment,null,o.a.createElement(A,{stateSlug:t,stateName:a,totalTestEncountersViral:s.totalTestEncountersViral,totalTestsViral:s.totalTestsViral,totalTestsPeopleViral:s.totalTestsPeopleViral,unknownUnits:f&&f.testUnitsUnknown,annotations:y}),h&&o.a.createElement(k,{stateSlug:t,stateName:a,hhsTesting:h,notes:v}),o.a.createElement(O,{stateSlug:t,stateName:a,totalTestsAntigen:s.totalTestsAntigen,totalTestsPeopleAntigen:s.totalTestsPeopleAntigen}),o.a.createElement(_,{stateSlug:t,stateName:a,totalTestsAntibody:s.totalTestsAntibody,totalTestsPeopleAntibody:s.totalTestsPeopleAntibody})),o.a.createElement(N,{stateSlug:t,stateName:a,hospitalizedCumulative:s.hospitalizedCumulative,inIcuCumulative:s.inIcuCumulative,onVentilatorCumulative:s.onVentilatorCumulative,hospitalizedCurrently:s.hospitalizedCurrently,inIcuCurrently:s.inIcuCurrently,onVentilatorCurrently:s.onVentilatorCurrently,national:T}),!T&&p&&o.a.createElement(L,{hhsHospitalization:p,stateAbbreviation:l}),o.a.createElement(C,{stateSlug:t,stateName:a,deathsLabel:ae,death:s.death,deathConfirmed:s.deathConfirmed,hospitalizedDischarged:s.hospitalizedDischarged,deathProbable:s.deathProbable,national:T})),T&&o.a.createElement(X,{footnote:ee})),!T&&o.a.createElement(o.a.Fragment,null,o.a.createElement("h4",null,"Long-term-care facilities"),o.a.createElement("div",{className:Q.a.container},o.a.createElement(D,{data:d,stateName:a,stateDeaths:s.death,stateSlug:t}),b&&o.a.createElement(M,{ltcFedVaccinations:b}))),!T&&o.a.createElement(o.a.Fragment,null,o.a.createElement("h4",null,"Race & ethnicity data"),o.a.createElement("p",null,"We compute the number of"," ",o.a.createElement("strong",null,"cases and deaths per 100k people")," for each race and ethnicity."),o.a.createElement("p",null,"These numbers show the scale of outcomes compared to the size of each group’s population."," ",o.a.createElement("strong",null,"These are not the number of cases or deaths"),", rather the proportion of each demographic group who have been affected."),o.a.createElement("div",{className:Q.a.container},!ie&&o.a.createElement(o.a.Fragment,null,o.a.createElement(W,null,o.a.createElement(U.a,{stateSlug:t,stateAbbreviation:l}))),o.a.createElement(B,{raceData:se,stateAbbreviation:l}),o.a.createElement(R,{raceData:se,stateAbbreviation:l})))))}},UMY1:function(e,t,a){var n=a("oMRN"),o=a("JD84"),r=a("ut/Y"),l=a("Z0cm");e.exports=function(e,t){return function(a,c){var i=l(a)?n:o,s=t?t():{};return i(a,e,r(c,2),s)}}},"UNi/":function(e,t){e.exports=function(e,t){for(var a=-1,n=Array(e);++a<e;)n[a]=t(a);return n}},V6Ve:function(e,t,a){var n=a("kekF")(Object.keys,Object);e.exports=n},VaNO:function(e,t){e.exports=function(e){return this.__data__.has(e)}}
1,WFqU:function(e,t,a){(function(t){var a="object"==typeof t&&t&&t.Object===Object&&t;e.exports=a}).call(this,a("yLpj"))},Xi7e:function(e,t,a){var n=a("KMkd"),o=a("adU4"),r=a("tMB7"),l=a("+6XX"),c=a("Z8oC");function i(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t<a;){var n=e[t];this.set(n[0],n[1])}}i.prototype.clear=n,i.prototype.delete=o,i.prototype.get=r,i.prototype.has=l,i.prototype.set=c,e.exports=i},YESw:function(e,t,a){var n=a("Cwc5")(Object,"create");e.exports=n},YuTi:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},Z0cm:function(e,t){var a=Array.isArray;e.exports=a},Z8oC:function(e,t,a){var n=a("y1pI");e.exports=function(e,t){var a=this.__data__,o=n(a,e);return o<0?(++this.size,a.push([e,t])):a[o][1]=t,this}},ZCpW:function(e,t,a){var n=a("lm/5"),o=a("O7RO"),r=a("IOzZ");e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?r(t[0][0],t[0][1]):function(a){return a===e||n(a,e,t)}}},ZWtO:function(e,t,a){var n=a("4uTw"),o=a("9Nap");e.exports=function(e,t){for(var a=0,r=(t=n(t,e)).length;null!=e&&a<r;)e=e[o(t[a++])];return a&&a==r?e:void 0}},aWhq:function(e,t,a){"use strict";var n=a("q1tI"),o=a.n(n),r=a("Wbzz"),l=a("TSYQ"),c=a.n(l),i=a("pwLN"),s=a("rS+9"),u=a.n(s);t.a=function(e){var t=e.children,a=e.single,n=void 0!==a&&a;return o.a.createElement("div",{className:u.a.headerContainer},o.a.createElement("div",{className:u.a.states},!n&&o.a.createElement("h2",{className:u.a.title},"Data by State"),o.a.createElement("div",{className:u.a.statesWrapper},t)),o.a.createElement(i.a,{linkAs:function(e){var t=e.state;return o.a.createElement(r.Link,{to:n?"/data/state/"+t.childSlug.slug:"#state-"+t.state.toLowerCase(),"aria-label":t.name},t.state)},className:c()(u.a.sidebar,!n&&u.a.topMargin)}))}},adU4:function(e,t,a){var n=a("y1pI"),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,a=n(t,e);return!(a<0)&&(a==t.length-1?t.pop():o.call(t,a,1),--this.size,!0)}},b80T:function(e,t,a){var n=a("UNi/"),o=a("03A+"),r=a("Z0cm"),l=a("DSRE"),c=a("wJg7"),i=a("c6wG"),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){var a=r(e),u=!a&&o(e),f=!a&&!u&&l(e),d=!a&&!u&&!f&&i(e),m=a||u||f||d,p=m?n(e.length,String):[],b=p.length;for(var h in e)!t&&!s.call(e,h)||m&&("length"==h||f&&("offset"==h||"parent"==h)||d&&("buffer"==h||"byteLength"==h||"byteOffset"==h)||c(h,b))||p.push(h);return p}},"bt/X":function(e,t,a){var n=a("hypo"),o=a("UMY1"),r=Object.prototype.hasOwnProperty,l=o((function(e,t,a){r.call(e,a)?e[a].push(t):n(e,a,[t])}));e.exports=l},c6wG:function(e,t,a){var n=a("dD9F"),o=a("sEf8"),r=a("mdPL"),l=r&&r.isTypedArray,c=l?o(l):n;e.exports=c},"cq/+":function(e,t,a){var n=a("mc0g")();e.exports=n},dD9F:function(e,t,a){var n=a("NykK"),o=a("shjB"),r=a("ExA7"),l={};l["[object Float32Array]"]=l["[object Float64Array]"]=l["[object Int8Array]"]=l["[object Int16Array]"]=l["[object Int32Array]"]=l["[object Uint8Array]"]=l["[object Uint8ClampedArray]"]=l["[object Uint16Array]"]=l["[object Uint32Array]"]=!0,l["[object Arguments]"]=l["[object Array]"]=l["[object ArrayBuffer]"]=l["[object Boolean]"]=l["[object DataView]"]=l["[object Date]"]=l["[object Error]"]=l["[object Function]"]=l["[object Map]"]=l["[object Number]"]=l["[object Object]"]=l["[object RegExp]"]=l["[object Set]"]=l["[object String]"]=l["[object WeakMap]"]=!1,e.exports=function(e){return r(e)&&o(e.length)&&!!l[n(e)]}},dt0z:function(e,t,a){var n=a("zoYe");e.exports=function(e){return null==e?"":n(e)}},e4Nc:function(e,t,a){var n=a("fGT3"),o=a("k+1r"),r=a("JHgL"),l=a("pSRY"),c=a("H8j4");function i(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t<a;){var n=e[t];this.set(n[0],n[1])}}i.prototype.clear=n,i.prototype.delete=o,i.prototype.get=r,i.prototype.has=l,i.prototype.set=c,e.exports=i},e5cp:function(e,t,a){var n=a("fmRc"),o=a("or5M"),r=a("HDyB"),l=a("seXi"),c=a("QqLw"),i=a("Z0cm"),s=a("DSRE"),u=a("c6wG"),f="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,a,m,p,b){var h=i(e),v=i(t),g=h?"[object Array]":c(e),y=v?"[object Array]":c(t),E=(g="[object Arguments]"==g?f:g)==f,T=(y="[object Arguments]"==y?f:y)==f,x=g==y;if(x&&s(e)){if(!s(t))return!1;h=!0,E=!1}if(x&&!E)return b||(b=new n),h||u(e)?o(e,t,a,m,p,b):r(e,t,g,a,m,p,b);if(!(1&a)){var S=E&&d.call(e,"__wrapped__"),P=T&&d.call(t,"__wrapped__");
1if(S||P){var w=S?e.value():e,N=P?t.value():t;return b||(b=new n),p(w,N,a,m,b)}}return!!x&&(b||(b=new n),l(e,t,a,m,p,b))}},eUgh:function(e,t){e.exports=function(e,t){for(var a=-1,n=null==e?0:e.length,o=Array(n);++a<n;)o[a]=t(e[a],a,e);return o}},ebwN:function(e,t,a){var n=a("Cwc5")(a("Kz5y"),"Map");e.exports=n},ekgI:function(e,t,a){var n=a("YESw"),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},fGT3:function(e,t,a){var n=a("4kuk"),o=a("Xi7e"),r=a("ebwN");e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(r||o),string:new n}}},"fR/l":function(e,t,a){var n=a("CH3K"),o=a("Z0cm");e.exports=function(e,t,a){var r=t(e);return o(e)?r:n(r,a(e))}},fmRc:function(e,t,a){var n=a("Xi7e"),o=a("77Zs"),r=a("L8xA"),l=a("gCq4"),c=a("VaNO"),i=a("0Cz8");function s(e){var t=this.__data__=new n(e);this.size=t.size}s.prototype.clear=o,s.prototype.delete=r,s.prototype.get=l,s.prototype.has=c,s.prototype.set=i,e.exports=s},ftKO:function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},gCq4:function(e,t){e.exports=function(e){return this.__data__.get(e)}},hgQt:function(e,t,a){var n=a("Juji"),o=a("4sDh");e.exports=function(e,t){return null!=e&&o(e,t,n)}},hypo:function(e,t,a){var n=a("O0oS");e.exports=function(e,t,a){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:a,writable:!0}):e[t]=a}},"k+1r":function(e,t,a){var n=a("QkVE");e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},kdVI:function(e,t,a){"use strict";var n=a("q1tI"),o=a.n(n);t.a=function(){return o.a.createElement("abbr",{title:"Eastern Time","aria-label":"Eastern Time"},"ET")}}
1,kekF:function(e,t){e.exports=function(e,t){return function(a){return e(t(a))}}},lQqw:function(e,t,a){var n=a("MMmD");e.exports=function(e,t){return function(a,o){if(null==a)return a;if(!n(a))return e(a,o);for(var r=a.length,l=t?r:-1,c=Object(a);(t?l--:++l<r)&&!1!==o(c[l],l,c););return a}}},lSCD:function(e,t,a){var n=a("NykK"),o=a("GoyQ");e.exports=function(e){if(!o(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},ljhN:function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},"lm/5":function(e,t,a){var n=a("fmRc"),o=a("wF/u");e.exports=function(e,t,a,r){var l=a.length,c=l,i=!r;if(null==e)return!c;for(e=Object(e);l--;){var s=a[l];if(i&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++l<c;){var u=(s=a[l])[0],f=e[u],d=s[1];if(i&&s[2]){if(void 0===f&&!(u in e))return!1}else{var m=new n;if(r)var p=r(f,d,u,e,t,m);if(!(void 0===p?o(d,f,3,r,m):p))return!1}}return!0}},mc0g:function(e,t){e.exports=function(e){return function(t,a,n){for(var o=-1,r=Object(t),l=n(t),c=l.length;c--;){var i=l[e?c:++o];if(!1===a(r[i],i,r))break}return t}}},mdPL:function(e,t,a){(function(e){var n=a("WFqU"),o=t&&!t.nodeType&&t,r=o&&"object"==typeof e&&e&&!e.nodeType&&e,l=r&&r.exports===o&&n.process,c=function(){try{var e=r&&r.require&&r.require("util").types;return e||l&&l.binding&&l.binding("util")}catch(t){}}();e.exports=c}).call(this,a("YuTi")(e))},mwIZ:function(e,t,a){var n=a("ZWtO");e.exports=function(e,t,a){var o=null==e?void 0:n(e,t);return void 0===o?a:o}},nkXI:function(e,t,a){e.exports={viewportSm:"480px",viewportMs:"640px",viewportMd:"768px",viewportLg:"1080px",viewportXl:"1200px",text:"#303030",link:"#000",linkActive:"#8b8dc7",colorPlum100:"#f2f2ff",colorPlum200:"#d1d1e8",colorPlum300:"#b6b7db",colorPlum400:"#8b8dc7",colorPlum500:"#6164ba",colorPlum600:"#575aad",colorPlum700:"#31347a",colorPlum800:"#111354",colorHoney100:"#fcf9eb",colorHoney200:"#fbe8a9",colorHoney300:"#f6ce7a",colorHoney400:"#ffad4a",colorHoney500:"#e2894e",colorHoney600:"#c66b3e",colorHoney700:"#924f34",colorHoney800:"#6e2f1f",colorBlueberry100:"#e2f1fc",colorBlueberry200:"#8cc7f4",colorBlueberry300:"#0091ea",colorBlueberry400:"#004399",colorBlueberry500:"#012656",colorSlate100:"#edf1f2",colorSlate200:"#d2d6d7",colorSlate300:"#b7bcbd",colorSlate400:"#9ca1a2",colorSlate500:"#828688",colorSlate600:"#676b6d",colorSlate700:"#4c5153",colorSlate800:"#313638",colorStrawberry100:"#fbbcb2",colorStrawberry200:"#dc472e",qualitativeColorPalette100:"#b5e3db",qualiTativecolorPalette200:"#cc0",qualiTativecolorPalette300:"#a19bca",qualiTativecolorPalette400:"#f4a071",qualiTativecolorPalette500:"#2f6488",qualiTativecolorPalette600:"#527740",crdtAsian:"#E35942",crdtWhite:"#cc0",crdtBlack:"#a19bca",crdtLatinx:"#f4a071",crdtNonHispanic:"#111354",crdtNhpi:"#2f6488",crdtAian:"#527740",container:"aeb15"}},nmnc:function(e,t,a){var n=a("Kz5y").Symbol;e.exports=n},oMRN:function(e,t){e.exports=function(e,t,a,n){for(var o=-1,r=null==e?0:e.length;++o<r;){var l=e[o];t(n,l,a(l),e)}return n}},or5M:function(e,t,a){var n=a("1hJj"),o=a("QoRX"),r=a("xYSL");e.exports=function(e,t,a,l,c,i){var s=1&a,u=e.length,f=t.length;if(u!=f&&!(s&&f>u))return!1;var d=i.get(e),m=i.get(t);if(d&&m)return d==t&&m==e;var p=-1,b=!0,h=2&a?new n:void 0;for(i.set(e,t),i.set(t,e);++p<u;){var v=e[p],g=t[p];if(l)var y=s?l(g,v,p,t,e,i):l(v,g,p,e,t,i);if(void 0!==y){if(y)continue;b=!1;break}if(h){if(!o(t,(function(e,t){if(!r(h,t)&&(v===e||c(v,e,a,l,i)))return h.push(t)}))){b=!1;break}}else if(v!==g&&!c(v,g,a,l,i)){b=!1;break}}return i.delete(e),i.delete(t),b}},pSRY:function(e,t,a){var n=a("QkVE");e.exports=function(e){return n(this,e).has(e)}},pwLN:function(e,t,a){"use strict";var n=a("q1tI"),o=a.n(n),r=a("Wbzz"),l=a("TSYQ"),c=a.n(l),i=a("OnSo"),s=a("ujdE"),u=a.n(s);t.a=function(e){var t=e.className,a=e.linkAs,l=e.defaultIsOpen,s=void 0!==l&&l,f=e.fullWidth,d=void 0!==f&&f,m=Object(n.useState)(s),p=m[0],b=m[1],h=Object(r.useStaticQuery)("86190053");return o.a.createElement(i.a,{className:c()(u.a.container,t,d&&u.a.fullWidth),sticky:!0},o.a.createElement(i.c,{isOpen:p,setIsOpen:b,className:u.a.header},o.a.createElement("h3",null,"Jump to a state")),o.a.createElement(i.b,{isOpen:p,className:u.a.content}
1,o.a.createElement("ul",null,h.allCovidStateInfo.nodes.map((function(e){return o.a.createElement("li",{key:e.state},a({state:e}))})))))}},qKgc:function(e,t,a){e.exports={viewportSm:"480px",viewportMs:"640px",viewportMd:"768px",viewportLg:"1080px",viewportXl:"1200px",text:"#303030",link:"#000",linkActive:"#8b8dc7",colorPlum100:"#f2f2ff",colorPlum200:"#d1d1e8",colorPlum300:"#b6b7db",colorPlum400:"#8b8dc7",colorPlum500:"#6164ba",colorPlum600:"#575aad",colorPlum700:"#31347a",colorPlum800:"#111354",colorHoney100:"#fcf9eb",colorHoney200:"#fbe8a9",colorHoney300:"#f6ce7a",colorHoney400:"#ffad4a",colorHoney500:"#e2894e",colorHoney600:"#c66b3e",colorHoney700:"#924f34",colorHoney800:"#6e2f1f",colorBlueberry100:"#e2f1fc",colorBlueberry200:"#8cc7f4",colorBlueberry300:"#0091ea",colorBlueberry400:"#004399",colorBlueberry500:"#012656",colorSlate100:"#edf1f2",colorSlate200:"#d2d6d7",colorSlate300:"#b7bcbd",colorSlate400:"#9ca1a2",colorSlate500:"#828688",colorSlate600:"#676b6d",colorSlate700:"#4c5153",colorSlate800:"#313638",colorStrawberry100:"#fbbcb2",colorStrawberry200:"#dc472e",qualitativeColorPalette100:"#b5e3db",qualiTativecolorPalette200:"#cc0",qualiTativecolorPalette300:"#a19bca",qualiTativecolorPalette400:"#f4a071",qualiTativecolorPalette500:"#2f6488",qualiTativecolorPalette600:"#527740",crdtAsian:"#E35942",crdtWhite:"#cc0",crdtBlack:"#a19bca",crdtLatinx:"#f4a071",crdtNonHispanic:"#111354",crdtNhpi:"#2f6488",crdtAian:"#527740",item:"d72fd",date:"_4ea74"}},qT6O:function(e,t,a){e.exports={viewportSm:"480px",viewportMs:"640px",viewportMd:"768px",viewportLg:"1080px",viewportXl:"1200px",text:"#303030",link:"#000",linkActive:"#8b8dc7",colorPlum100:"#f2f2ff",colorPlum200:"#d1d1e8",colorPlum300:"#b6b7db",colorPlum400:"#8b8dc7",colorPlum500:"#6164ba",colorPlum600:"#575aad",colorPlum700:"#31347a",colorPlum800:"#111354",colorHoney100:"#fcf9eb",colorHoney200:"#fbe8a9",colorHoney300:"#f6ce7a",colorHoney400:"#ffad4a",colorHoney500:"#e2894e",colorHoney600:"#c66b3e",colorHoney700:"#924f34",colorHoney800:"#6e2f1f",colorBlueberry100:"#e2f1fc",colorBlueberry200:"#8cc7f4",colorBlueberry300:"#0091ea",colorBlueberry400:"#004399",colorBlueberry500:"#012656",colorSlate100:"#edf1f2",colorSlate200:"#d2d6d7",colorSlate300:"#b7bcbd",colorSlate400:"#9ca1a2",colorSlate500:"#828688",colorSlate600:"#676b6d",colorSlate700:"#4c5153",colorSlate800:"#313638",colorStrawberry100:"#fbbcb2",colorStrawberry200:"#dc472e",qualitativeColorPalette100:"#b5e3db",qualiTativecolorPalette200:"#cc0",qualiTativecolorPalette300:"#a19bca",qualiTativecolorPalette400:"#f4a071",qualiTativecolorPalette500:"#2f6488",qualiTativecolorPalette600:"#527740",crdtAsian:"#E35942",crdtWhite:"#cc0",crdtBlack:"#a19bca",crdtLatinx:"#f4a071",crdtNonHispanic:"#111354",crdtNhpi:"#2f6488",crdtAian:"#527740",container:"_772e2",sticky:"_0a8d3",header:"_62f4b",caret:"_62241",content:"_7c3a3",opened:"d03b9"}},qZTm:function(e,t,a){var n=a("fR/l"),o=a("MvSz"),r=a("7GkX");e.exports=function(e){return n(e,r,o)}},rEGp:function(e,t){e.exports=function(e){var t=-1,a=Array(e.size);return e.forEach((function(e){a[++t]=e})),a}},"rS+9":function(e,t,a){e.exports={viewportSm:"480px",viewportMs:"640px",viewportMd:"768px",viewportLg:"1080px",viewportXl:"1200px",text:"#303030",link:"#000",linkActive:"#8b8dc7",colorPlum100:"#f2f2ff",colorPlum200:"#d1d1e8",colorPlum300:"#b6b7db",colorPlum400:"#8b8dc7",colorPlum500:"#6164ba",colorPlum600:"#575aad",colorPlum700:"#31347a",colorPlum800:"#111354",colorHoney100:"#fcf9eb",colorHoney200:"#fbe8a9",colorHoney300:"#f6ce7a",colorHoney400:"#ffad4a",colorHoney500:"#e2894e",colorHoney600:"#c66b3e",colorHoney700:"#924f34",colorHoney800:"#6e2f1f",colorBlueberry100:"#e2f1fc",colorBlueberry200:"#8cc7f4",colorBlueberry300:"#0091ea",colorBlueberry400:"#004399",colorBlueberry500:"#012656",colorSlate100:"#edf1f2",colorSlate200:"#d2d6d7",colorSlate300:"#b7bcbd",colorSlate400:"#9ca1a2",colorSlate500:"#828688",colorSlate600:"#676b6d",colorSlate700:"#4c5153",colorSlate800:"#313638",colorStrawberry100:"#fbbcb2",colorStrawberry200:"#dc472e",qualitativeColorPalette100:"#b5e3db",qualiTativecolorPalette200:"#cc0",qualiTativecolorPalette300:"#a19bca",qualiTativecolorPalette400:"#f4a071",qualiTativecolorPalette500:"#2f6488",qualiTativecolorPalette600:"#527740",crdtAsian:"#E35942",crdtWhite:"#cc0",crdtBlack:"#a19bca",crdtLatinx:"#f4a071",crdtNonHispanic:"#111354",crdtNhpi:"#2f6488",crdtAian:"#527740",headerContainer:"_6b7bf",states:"_3c551",title:"_4fbf8",statesWrapper:"_8eff1",sidebar:"_8aac9",topMargin:"_30b9e"}},sEf8:function(e,t){e.exports=function(e){return function(t){return e(t)}}},seXi:function(e,t,a){var n=a("qZTm"),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,a,r,l,c){var i=1&a,s=n(e),u=s.length;if(u!=n(t).length&&!i)return!1;for(var f=u;f--;){var d=s[f];if(!(i?d in t:o.call(t,d)))return!1}var m=c.get(e),p=c.get(t);if(m&&p)return m==t&&p==e;var b=!0;c.set(e,t),c.set(t,e);for(var h=i;++f<u;){var v=e[d=s[f]],g=t[d];if(r)var y=i?r(g,v,d,t,e,c):r(v,g,d,e,t,c);if(!(void 0===y?v===g||l(v,g,a,r,c):y)){b=!1;break}h||(h="constructor"==d)}if(b&&!h){var E=e.constructor,T=t.constructor;E==T||!("constructor"in e)||!("constructor"in t)||"function"==typeof E&&E instanceof E&&"function"==typeof T&&T instanceof T||(b=!1)}return c.delete(e),c.delete(t),b}},shjB:function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},tMB7:function(e,t,a){var n=a("y1pI");e.exports=function(e){var t=this.__data__,a=n(t,e);return a<0?void 0:t[a][1]}},tadb:function(e,t,a){var n=a("Cwc5")(a("Kz5y"),"DataView");e.exports=n},u8Dt:function(e,t,a){var n=a("YESw"),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var a=t[e];return"__lodash_hash_undefined__"===a?void 0:a}return o.call(t,e)?t[e]:void 0}},uQgW:function(e,t,a){e.exports={viewportSm:"480px",viewportMs:"640px",viewportMd:"768px",viewportLg:"1080px",viewportXl:"1200px",text:"#303030",link:"_36d1c",linkActive:"#8b8dc7",colorPlum100:"#f2f2ff",colorPlum200:"#d1d1e8",colorPlum300:"#b6b7db",colorPlum400:"#8b8dc7",colorPlum500:"#6164ba",colorPlum600:"#575aad",colorPlum700:"#31347a",colorPlum800:"#111354",colorHoney100:"#fcf9eb",colorHoney200:"#fbe8a9",colorHoney300:"#f6ce7a",colorHoney400:"#ffad4a",colorHoney500:"#e2894e",colorHoney600:"#c66b3e",colorHoney700:"#924f34",colorHoney800:"#6e2f1f",colorBlueberry100:"#e2f1fc",colorBlueberry200:"#8cc7f4",colorBlueberry300:"#0091ea",colorBlueberry400:"#004399",colorBlueberry500:"#012656",colorSlate100:"#edf1f2",colorSlate200:"#d2d6d7",colorSlate300:"#b7bcbd",colorSlate400:"#9ca1a2",colorSlate500:"#828688",colorSlate600:"#676b6d",colorSlate700:"#4c5153",colorSlate800:"#313638",colorStrawberry100:"#fbbcb2",colorStrawberry200:"#dc472e",qualitativeColorPalette100:"#b5e3db",qualiTativecolorPalette200:"#cc0",qualiTativecolorPalette300:"#a19bca",qualiTativecolorPalette400:"#f4a071",qualiTativecolorPalette500:"#2f6488",qualiTativecolorPalette600:"#527740",crdtAsian:"#E35942",crdtWhite:"#cc0",crdtBlack:"#a19bca",crdtLatinx:"#f4a071",crdtNonHispanic:"#111354",crdtNhpi:"#2f6488",crdtAian:"#527740",title:"_8358e",fullWidth:"c10ff",value:"c4015",nullValue:"_0e228",statisticWrapper:"_91774",statistic:"_08a93",subelement:"ebc65",group:"_5685a",info:"_27e01",grey:"a3a60",noDefinitionLink:"d177f",drillDown:"_6d668",label:"_90ca6",calculated:"fc573",calculatedLabel:"ea4ba",notReported:"e0f5a",noAsterisk:"_68e7f",warningContainer:"_99305"}},ujdE:function(e,t,a){e.exports={viewportSm:"480px",viewportMs:"640px",viewportMd:"768px",viewportLg:"1080px",viewportXl:"1200px",text:"#303030",link:"#000",linkActive:"#8b8dc7",colorPlum100:"#f2f2ff",colorPlum200:"#d1d1e8",colorPlum300:"#b6b7db",colorPlum400:"#8b8dc7",colorPlum500:"#6164ba",colorPlum600:"#575aad",colorPlum700:"#31347a",colorPlum800:"#111354",colorHoney100:"#fcf9eb",colorHoney200:"#fbe8a9",colorHoney300:"#f6ce7a",colorHoney400:"#ffad4a",colorHoney500:"#e2894e",colorHoney600:"#c66b3e",colorHoney700:"#924f34",colorHoney800:"#6e2f1f",colorBlueberry100:"#e2f1fc",colorBlueberry200:"#8cc7f4",colorBlueberry300:"#0091ea",colorBlueberry400:"#004399",colorBlueberry500:"#012656",colorSlate100:"#edf1f2",colorSlate200:"#d2d6d7",colorSlate300:"#b7bcbd",colorSlate400:"#9ca1a2",colorSlate500:"#828688",colorSlate600:"#676b6d",colorSlate700:"#4c5153",colorSlate800:"#313638",colorStrawberry100:"#fbbcb2",colorStrawberry200:"#dc472e",qualitativeColorPalette100:"#b5e3db",qualiTativecolorPalette200:"#cc0",qualiTativecolorPalette300:"#a19bca",qualiTativecolorPalette400:"#f4a071",qualiTativecolorPalette500:"#2f6488",qualiTativecolorPalette600:"#527740",crdtAsian:"#E35942",crdtWhite:"#cc0",crdtBlack:"#a19bca",crdtLatinx:"#f4a071",crdtNonHispanic:"#111354",crdtNhpi:"#2f6488",crdtAian:"#527740",header:"_795e6",container:"d0176",fullWidth:"_532a5",content:"_2d3a2"}},"ut/Y":function(e,t,a){var n=a("ZCpW"),o=a("GDhZ"),r=a("zZ0H"),l=a("Z0cm"),c=a("+c4W");e.exports=function(e){return"function"==typeof e?e:null==e?r:"object"==typeof e?l(e)?o(e[0],e[1]):n(e):c(e)}},"wF/u":function(e,t,a){var n=a("e5cp"),o=a("ExA7");e.exports=function e(t,a,r,l,c){return t===a||(null==t||null==a||!o(t)&&!o(a)?t!=t&&a!=a:n(t,a,r,l,e,c)
1)}},wJg7:function(e,t){var a=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&a.test(e))&&e>-1&&e%1==0&&e<t}},wZD0:function(e,t,a){e.exports={viewportSm:"480px",viewportMs:"640px",viewportMd:"768px",viewportLg:"1080px",viewportXl:"1200px",text:"#303030",link:"#000",linkActive:"#8b8dc7",colorPlum100:"#f2f2ff",colorPlum200:"#d1d1e8",colorPlum300:"#b6b7db",colorPlum400:"#8b8dc7",colorPlum500:"#6164ba",colorPlum600:"#575aad",colorPlum700:"#31347a",colorPlum800:"#111354",colorHoney100:"#fcf9eb",colorHoney200:"#fbe8a9",colorHoney300:"#f6ce7a",colorHoney400:"#ffad4a",colorHoney500:"#e2894e",colorHoney600:"#c66b3e",colorHoney700:"#924f34",colorHoney800:"#6e2f1f",colorBlueberry100:"#e2f1fc",colorBlueberry200:"#8cc7f4",colorBlueberry300:"#0091ea",colorBlueberry400:"#004399",colorBlueberry500:"#012656",colorSlate100:"#edf1f2",colorSlate200:"#d2d6d7",colorSlate300:"#b7bcbd",colorSlate400:"#9ca1a2",colorSlate500:"#828688",colorSlate600:"#676b6d",colorSlate700:"#4c5153",colorSlate800:"#313638",colorStrawberry100:"#fbbcb2",colorStrawberry200:"#dc472e",qualitativeColorPalette100:"#b5e3db",qualiTativecolorPalette200:"#cc0",qualiTativecolorPalette300:"#a19bca",qualiTativecolorPalette400:"#f4a071",qualiTativecolorPalette500:"#2f6488",qualiTativecolorPalette600:"#527740",crdtAsian:"#E35942",crdtWhite:"#cc0",crdtBlack:"#a19bca",crdtLatinx:"#f4a071",crdtNonHispanic:"#111354",crdtNhpi:"#2f6488",crdtAian:"#527740",container:"e09e7",fullWidth:"_2862e",wrapper:"a9713"}},x4IQ:function(e,t,a){"use strict";var n=a("KQm4"),o=a("bt/X"),r=a.n(o),l=(a("E9XD"),a("ToJy"),a("q1tI")),c=a.n(l),i=a("Wbzz"),s=a("4SwH"),u=a("ExVU"),f=a("aTGQ"),d=a("FOYg"),m=a("7Fn0"),p=a("ZWUu"),b=a("LKT8"),h=a.n(b),v=function(e){var t=e.options,a=e.state,n=e.setState;return c.a.createElement("div",{className:h.a.toggle,role:"radiogroup"},c.a.createElement("button",{className:!a&&h.a.active,title:t[0],"aria-checked":!a,onClick:function(e){e.preventDefault(),e.stopPropagation(),a&&n(!1)},role:"radio",type:"button"},t[0]),c.a.createElement("button",{className:a?h.a.active:void 0,title:t[1],"aria-checked":a,onClick:function(e){e.preventDefault(),e.stopPropagation(),a||n(!0)},role:"radio",type:"button"},t[1]))},g=a("IEZe"),y=a("ABsO"),E=a("3CiM"),T=function(e){var t=e.label,a=e.data,o=e.link,r=function(e){var t=[],a=[],o=!1,r=function(t,a){for(var n=[],o=t;o<a;o+=1)n.push(void 0===e[o]?null:e[o]);return n};return e.forEach((function(e,l){l<14||(e>=Math.max.apply(Math,Object(n.a)(r(l-7,l+7)))&&(t.push({value:e,index:l}),o="up"),e<=Math.min.apply(Math,Object(n.a)(r(l-7,l+7)))&&(a.push({value:e,index:l}),o="down"))})),{spikes:t,troughs:a,direction:o}}(a.map((function(e){return e.value}))),l=r.spikes,s=r.troughs,u=r.direction,f=Object(m.a)(a[0].date),d=Object(m.a)(a[a.length-1].date),p=a[0].value,b=a[a.length-1].value,h=s.length&&a[s.pop().index],v=l.length&&a[l.pop().index];return c.a.createElement("div",{className:"a11y-only"},(!1!==u&&t+" is changing "+u+".")+" The most recent value\n      for "+t+" was "+b+" on "+d+", and the earlist value for "+t+" was "+p+" on "+f+".\n      ",v.value&&"The highest recent value for "+t+" was "+v.value+" on "+Object(m.a)(v.date)+".",h.value&&"The lowest recent value for "+t+" was "+h.value+" on "+Object(m.a)(h.date)+"."," ",c.a.createElement(i.Link,{to:o},"Access all chart data"))},x=a("+qnY"),S=a("V+K6"),P=a.n(S),w=a("RFUg"),N=a.n(w),C=a("TSYQ"),_=a.n(C),j=a("qKgc"),k=a.n(j),O=function(e){var t=e.date,a=void 0===t?null:t,n=e.items;return c.a.createElement(c.a.Fragment,null,a&&c.a.createElement("span",{className:_()(k.a.item,k.a.date)},Object(m.a)(a)),n.map((function(e){return c.a.createElement("div",{className:k.a.item,key:e.date+"-"+e.value},c.a.createElement("span",null,Object(m.b)(e.value))," ",c.a.createElement("span",{className:_()(k.a.legendText,k.a.total)},e.text))})))},A=function(e){var t=e.field,a=e.units,n=e.national;return c.a.createElement("span",{className:N.a.testFieldIndicator},n?c.a.createElement(c.a.Fragment,null,"Total test results (mixed units)"):c.a.createElement(c.a.Fragment,null,c.a.createElement(E.a,{field:t}),"totalTestResults"===t&&c.a.createElement(c.a.Fragment,null," (",a,")")))},H=function(e,t,a){if(void 0===a&&(a=7),!e||!t)return null;var n=[];return e.forEach((function(o,r){for(var l=[],c=r,i=null!==o[t];i&&c>=0&&c>r-a;)null!==e[c][t]&&l.push(e[c][t]),c-=1;var s=l.reduce((function(e,t){return e+t}),0)/l.length;n.push({date:Object(m.c)(o.date),value:i&&s>0?s:null})})),n},D=function(e,t){return e.map((function(e){return{date:Object(m.c)(e.date),value:e[t]}}))},L=function(e){var t=e.message;return c.a.createElement("div",{className:N.a.AlertContainer},c.a.createElement(y.a,{header:t,fullSize:!0}))},M=function(e){var t=e.annotations,a=e.dataElement,n=e.openDisclosure;return t&&t.nodes&&t.nodes.filter((function(e){return e.dataElement===a})).length?c.a.createElement("span",{className:N.a.annotationIndicator},"(",c.a.createElement("a",{href:"#summary-charts",onClick:function(){return n()}},"Notes"),")"):null},z=function(e){var t=e.name;return c.a.createElement("div",{className:N.a.legendComponent},c.a.createElement("svg",{height:"4",width:"50"},c.a.createElement("line",{x1:"0",y1:"3",x2:"45",y2:"3",stroke:"black",strokeWidth:"2",strokeDasharray:t?void 0:"4"})),t?c.a.createElement(c.a.Fragment,null,"Solid"):c.a.createElement(c.a.Fragment,null,"Dashed")," line represents ",t||"National"," 7-day average")};t.a=function(e){var t=e.name,a=void 0===t?"National":t,o=e.history,b=e.usHistory,h=e.annotations,y=e.national,E=void 0!==y&&y,S=e.testSource,w=void 0===S?"totalTestResults":S,C=e.testUnits,_=void 0===C?"People":C,j=e.chartTables,k=void 0!==j&&j,I=Object(i.useStaticQuery)("2228835523");o.forEach((function(e,t){o[t].date=parseInt(e.date,10)}));var q=I.site.siteMetadata,B=q.stateChartDateRange,R=q.stateChartPerCapMeasure,V=I.calculatedSnippet,F=Object(l.useState)(!1),W=F[0],U=F[1],Z=Object(l.useState)(!1),Q=Z[0],X=Z[1],G=Object(l.useState)(!1),Y=G[0],K=G[1],J=function(e){return function(t){return c.a.createElement(O,{date:t.date,items:[{text:c.a.createElement(c.a.Fragment,null,e,W?c.a.createElement(c.a.Fragment,null,c.a.createElement("br",null)," per 1M people"):""),value:t.value}]})}},$=function(e){var t={};
1return Object.keys(e.childPopulation).forEach((function(a){t["perCap_"+a]=e.childPopulation[a].percent&&e.childPopulation[a].percent*R})),Object.assign({},e,t)},ee=Q?o.length:B,te=Object(l.useMemo)((function(){return Object(n.a)(o).slice(0,ee).sort((function(e,t){return e.date-t.date})).map($)}),[o,0,ee]),ae=Object(l.useMemo)((function(){return b&&W&&Object(n.a)(b).slice(0,ee).sort((function(e,t){return e.date-t.date})).map($)}),[b,W,0,ee]),ne=function(e){return te.filter((function(t){return null!==t[e.replace("perCap_","")]})).length>=.3*te.length&&te.filter((function(t){return t[e.replace("perCap_","")]>0})).length>0},oe=Object(l.useMemo)((function(){return W?"perCap_":""}),[W]),re=("posNeg"===w?"totalTestResults":w)+"Increase",le=Object(l.useMemo)((function(){return""+oe+re}),[oe]),ce=Object(l.useMemo)((function(){return oe+"positiveIncrease"}),[oe]),ie=Object(l.useMemo)((function(){return oe+"hospitalizedCurrently"}),[oe]),se=Object(l.useMemo)((function(){return oe+"deathIncrease"}),[oe]),ue={width:[3,3,3],paddingLeft:[0,0,0],paddingRight:[0,0,0]},fe=function(e){var t=r()(e,(function(e){return e.dataElement})),a="A".charCodeAt(0);return["tests","cases","hospitalizations","death"].forEach((function(e){t[e]&&(t[e]=t[e].map((function(e){return Object.assign({},e,{date:Object(m.c)(e.date),annotationSymbol:String.fromCharCode(a++)})})))})),t}(h.nodes),de=Object.values(fe).reduce((function(e,t){return[].concat(Object(n.a)(e),Object(n.a)(t))}),[]).sort((function(e,t){return e.annotationSymbol>t.annotationSymbol?1:-1})),me=function(e,t){return void 0===t&&(t=!1),a+" has not reported data on  "+(t?"current":"")+"  COVID-19 "+e+" for at least 30% of the past 90 days."},pe=u.DateTime.fromISO(te[te.length-1].date).day>
1=20,be=Object.assign({height:280,width:280,marginBottom:40,marginLeft:60,marginRight:30,marginTop:10,xTicks:3,showTicks:6,lastXTick:pe,handleAnnotationClick:function(){K(!0),location.replace("#chart-annotations")}},W?{perCapLabel:"/1M"}:{});return c.a.createElement("div",{className:N.a.charts},c.a.createElement("div",{className:N.a.infoLine},c.a.createElement("h2",null,E?c.a.createElement(c.a.Fragment,null," Overview of National COVID-19 Data"):c.a.createElement(c.a.Fragment,null,"State-level Metrics")),c.a.createElement("div",{className:N.a.toggleContainer},b&&c.a.createElement(v,{options:["Total","Per 1M people"],state:W,setState:U}),c.a.createElement(v,{options:["Last 90 days","Historical"],state:Q,setState:X})),c.a.createElement("div",{className:N.a.legendContainer,id:"summary-charts"},ae&&W&&c.a.createElement(z,null),c.a.createElement(z,{name:a||"National"}))),c.a.createElement(p.b,{className:N.a.summaryCharts},c.a.createElement(p.a,ue,c.a.createElement("h3",{className:N.a.testHeading},"New tests"," ",c.a.createElement(M,{annotations:h,dataElement:"tests",openDisclosure:function(){return K(!0)}}),c.a.createElement(A,{field:w,units:_,national:E})),c.a.createElement(d.b,Object.assign({data:D(te,le),lineData:H(te,le),fill:P.a.colorPlum200,lineColor:P.a.colorPlum700,annotations:fe.tests,renderTooltipContents:J("new tests")},be)),c.a.createElement(T,{label:"New tests",data:D(te,le),link:k})),c.a.createElement(p.a,ue,c.a.createElement("h3",null,"New cases"," ",c.a.createElement(M,{annotations:h,dataElement:"cases",openDisclosure:function(){return K(!0)}})),ne(ce)?c.a.createElement(c.a.Fragment,null,c.a.createElement(d.b,Object.assign({data:D(te,ce),lineData:H(te,ce),refLineData:H(ae,ce),fill:P.a.colorStrawberry100,lineColor:P.a.colorStrawberry200,annotations:fe.cases,renderTooltipContents:J("new cases")},be)),c.a.createElement(T,{label:"Cases",data:D(te,ce),link:k})):c.a.createElement(L,{message:me("cases")})),c.a.createElement(p.a,ue,c.a.createElement("h3",null,"Current hospitalizations"," ",c.a.createElement(M,{annotations:h,dataElement:"hospitalizations",openDisclosure:function(){return K(!0)}})),ne(ie)?c.a.createElement(c.a.Fragment,null,c.a.createElement(d.b,Object.assign({data:D(te,ie),lineData:H(te,ie),refLineData:H(ae,ie),fill:P.a.colorBlueberry200,lineColor:P.a.colorBlueberry400,annotations:fe.hospital
1izations,renderTooltipContents:J(c.a.createElement(c.a.Fragment,null,"current ",c.a.createElement("br",null),"hospitalizations"))},be)),c.a.createElement(T,{label:"Hospitalization",data:D(te,ie),link:k})):c.a.createElement(L,{message:me("hospitalizations",!0)})),c.a.createElement(p.a,ue,c.a.createElement("h3",null,"New deaths"," ",c.a.createElement(M,{annotations:h,dataElement:"death",openDisclosure:function(){return K(!0)}})),ne(se)?c.a.createElement(c.a.Fragment,null,c.a.createElement(d.b,Object.assign({data:D(te,se),lineData:H(te,se),refLineData:H(ae,se),fill:P.a.colorSlate300,lineColor:P.a.colorSlate700,annotations:fe.death,renderTooltipContents:J("new deaths")},be)),c.a.createElement(T,{label:"New deaths",data:D(te,se),link:k})):c.a.createElement(L,{message:me("deaths")}))),c.a.createElement(p.b,null,c.a.createElement(p.a,{width:[4,6,10]},c.a.createElement(s.a,{open:Y,onChange:function(){return K(!Y)}},c.a.createElement(s.b,{id:"chart-annotations",className:N.a.disclosure},"Chart information and data"," ",c.a.createElement("span",{className:N.a.arrowDown,"aria-hidden":!0},"↓"),c.a.createElement("span",{className:N.a.arrowUp,"aria-hidden":!0},"↑")),c.a.createElement(s.c,null,c.a.createElement(f.a,{narrow:!0},k&&c.a.createElement(i.Link,{className:N.a.allDataLink,to:k},"Access all data for these charts"),de&&c.a.createElement(c.a.Fragment,null,c.a.createElement("ol",{className:N.a.annotationList},de.map((function(e){return c.a.createElement("li",{className:N.a.annotationItem,key:e.description.description},Object(m.a)(e.date),": ",c.a.createElement("span",null,c.a.createElement(g.a,{content:e.description.description,id:e.contentful_id,inline:!0})))}))),c.a.createElement("hr",null)),c.a.createElement(g.a,{content:V.childContentfulSnippetContentTextNode.childMarkdownRemark.html,id:V.contentful_id}))))),c.a.createElement(p.a,{width:[4,6,2]},c.a.createElement(x.a,{className:N.a.chartLogo}))))}},xYSL:function(e,t){e.exports=function(e,t){return e.has(t)}},y1pI:function(e,t,a){var n=a("ljhN");e.exports=function(e,t){for(var a=e.length;a--;)if(n(e[a][0],t))return a;return-1}},yGk4:function(e,t,a){var n=a("Cwc5")(a("Kz5y"),"Set");e.exports=n},zZ0H:function(e,t){e.exports=function(e){return e}},zoYe:function(e,t,a){var n=a("nmnc"),o=a("eUgh"),r=a("Z0cm"),l=a("/9aa"),c=n?n.prototype:void 0,i=c?c.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(r(t))return o(t,e)+"";if(l(t))return i?i.call(t):"";var a=t+"";return"0"==a&&1/t==-1/0?"-0":a}}}]);
2//# sourceMappingURL=f31d9637562237ff1b9412fdaf730bfbe4cfff81-d43ac777fffd9fea8fe0.js.map

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.