{"version":3,"sources":["components/helpModal.js","components/kpi.js","sections/overall_status/index.js"],"names":["useStyles","makeStyles","theme","paper","backgroundColor","color","verticalAlign","padding","HelpModal","React","forwardRef","props","ref","show","title","close","classes","useState","undefined","open","setOpen","handleClose","useEffect","Popover","onClose","scroll","aria-labelledby","aria-describedby","anchorEl","transformOrigin","vertical","horizontal","className","onClick","style","float","fontSize","cursor","id","fontWeight","children","kpiValue","textAlign","kpiChange","KPI","infoOpen","setInfoOpen","setAnchorEl","Box","margin","whiteSpace","label","alt","event","currentTarget","Typography","metric","toLocaleString","change","KPIContainer","Grid","item","xs","sm","md","lg","OverallStatus","key_performance_indicators","setKey_performance_indicators","kpi_changes","setKpi_changes","serology_testing","setSerology_testing","currdate","useContext","CacheContext","fetch","then","resp","text","csv","Papa","parse","header","skipEmptyLines","dynamicTyping","json","data","todayAnchor","setTodayAnchor","today_help","setToday_help","variant","component","gutterBottom","horizontalAlign","container","direction","justifyContent","mediaFlow","confirmed_covid","deaths","antigen_cases","probable_deaths","TableContainer","kpiTable","Table","TableHead","TableRow","TableCell","align","TableBody","chng_cases","ant_pos_today","chng_deaths"],"mappings":"4TASMA,EAAYC,aAAW,SAACC,GAAD,MAAY,CACvCC,MAAO,CACLC,gBAAiB,UACjBC,MAAO,QACPC,cAAe,SACfC,QAAS,YA2EEC,EAvEGC,IAAMC,YAAW,SAACC,EAAOC,GAAS,IAC1CC,EAAuBF,EAAvBE,KAAMC,EAAiBH,EAAjBG,MAAOC,EAAUJ,EAAVI,MACfC,EAAUhB,IAFiC,EAKzBS,IAAMQ,cAAkBC,IAATL,GAA6BA,GALnB,mBAK1CM,EAL0C,KAKpCC,EALoC,KA0B3CC,EAAc,WAClBD,GAAQ,GACRL,GAAM,IAiBR,OAfAO,qBAAU,gBACWJ,IAAfP,EAAME,MACRO,EAAQT,EAAME,QAEf,CAACO,EAAST,IAYX,6BAIE,kBAACY,EAAA,EAAD,CACEJ,KAAMA,EACNK,QAASH,EACTI,OAAO,QACPC,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,mBACA,kBAACD,EAAA,EAAD,CAAWC,MAAM,UAAjB,0BACA,kBAACD,EAAA,EAAD,CAAWC,MAAM,UAAjB,sBAKJ,kBAACC,EAAA,EAAD,KACE,kBAACH,EAAA,EAAD,KACE,kBAACC,EAAA,EAAD,CAAWC,MAAM,UACdzC,EAAY2C,WAAWvD,iBAAkB,KAE5C,kBAACoD,EAAA,EAAD,CAAWC,MAAM,UACdzC,EAAY4C,cAAcxD,kBAE7B,kBAACoD,EAAA,EAAD,CAAWC,MAAM,UACdzC,EAAY6C,YAAYzD,iBAAkB,UAYvD,kBAAC,EAAD,CACE1C,MAAO4E,EACP7E,MAAM,6BACND,KAAM6E,EACN9D,SAAU4D,GAEV,ifAyFJ","file":"static/js/14.3376c473.chunk.js","sourcesContent":["import React, { useEffect } from 'react'\nimport { makeStyles } from '@material-ui/core/styles'\nimport CloseIcon from '@material-ui/icons/Close';\nimport { Popover } from '@material-ui/core';\n\n// function rand() {\n//   return Math.round(Math.random() * 20) - 10;\n// }\n\nconst useStyles = makeStyles((theme) => ({\n  paper: {\n    backgroundColor: '#FFFFFF',\n    color: 'black',\n    verticalAlign: 'middle',\n    padding: '15px'\n  }\n}))\n\nconst HelpModal = React.forwardRef((props, ref) => {\n  const { show, title, close } = props\n  const classes = useStyles()\n  // getModalStyle is not a pure function, we roll the style only on the first render\n  // const [modalStyle] = React.useState(getModalStyle)\n  const [open, setOpen] = React.useState(show === undefined ? false : show)\n\n  // const handleOpen = () => {\n  //   setOpen(true);\n  // };\n  // width: 80%;\n  // height: 400px;\n  // position: fixed;\n  // top: 50%;\n  // left: 50%;\n  // margin-top: -200px;\n  // margin-left: -40%;\n  // background-color: rgb(255, 255, 255);\n  // border-radius: 10px;\n  // z-index: 100;\n  // padding: 15px;\n  // box-shadow: rgba(0, 0, 0, 0.14) 0px 0px 4px, rgba(0, 0, 0, 0.28) 0px 4px 8px;\n  // vertical-align: middle;\n  // overflow-y: scroll;\n  // display: block;\n\n  const handleClose = () => {\n    setOpen(false)\n    close(false)\n  }\n  useEffect(() => {\n    if (props.show !== undefined) {\n      setOpen(props.show)\n    }\n  }, [setOpen, props])\n  //   const body = (\n  //     <div style={modalStyle} className={classes.paper}>\n  //       <h2 id=\"simple-modal-title\">Text in a modal</h2>\n  //       <p id=\"simple-modal-description\">\n  //         Duis mollis, est non commodo luctus, nisi erat porttitor ligula.\n  //       </p>\n  //       <SimpleModal />\n  //     </div>\n  //   );\n\n  return (\n    <div>\n      {/* <button type=\"button\" onClick={handleOpen}>\n        Open Modal\n      </button> */}\n      <Popover\n        open={open}\n        onClose={handleClose}\n        scroll=\"paper\"\n        aria-labelledby='simple-modal-title'\n        aria-describedby='simple-modal-description'\n        anchorEl={props.anchorEl}\n        transformOrigin={{\n          vertical: \"bottom\",\n          horizontal: \"center\"\n        }}\n      >\n        <div className={classes.paper}>\n          <span onClick={() => handleClose(false)} style={{ float: 'right', fontSize: '1.2em', cursor: 'pointer' }}><CloseIcon /></span>\n          <h2 id='simple-modal-title' style={{ fontWeight: 'normal' }}>{title}</h2>\n          {props.children}\n        </div>\n      </Popover>\n    </div>\n  )\n})\nexport default HelpModal\n","import React, { useState } from \"react\";\nimport { Typography, Box } from \"@material-ui/core\";\nimport InfoIcon from \"@material-ui/icons/Info\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport HelpModal from \"./helpModal\";\n\nconst useStyles = makeStyles((theme) => ({\n  kpiValue: {\n    fontSize: \"4em\",\n    fontWeight: \"bold\",\n    textAlign: \"center\",\n  },\n  kpiChange: {\n    fontSize: \"1.5em\",\n    textAlign: \"center\",\n  },\n}));\n\nconst KPI = (props) => {\n  const classes = useStyles();\n  const [infoOpen, setInfoOpen] = useState(false);\n  const [anchorEl, setAnchorEl] = useState(null);\n\n  const handleOpen = (event) => {\n    setAnchorEl(event.currentTarget);\n    setInfoOpen(true);\n  };\n\n  const handleClose = () => {\n    setAnchorEl(null);\n    setInfoOpen(false);\n  };\n\n  return (\n    <Box color={props.color}>\n      <br />\n      <h2 style={{ color: \"white\", margin: \"0px\", textAlign: \"center\", whiteSpace: \"nowrap\" }}>\n        {props.label}&nbsp;\n        <InfoIcon\n          alt=\"Info on Confirmed cases\"\n          style={{ cursor: \"pointer\" }}\n          onClick={handleOpen}\n        />\n      </h2>\n      <Typography className={classes.kpiValue}>\n        {props.metric.toLocaleString()}\n      </Typography>\n      {props.change ? (\n        <Typography className={classes.kpiChange}>\n          <span style={{ color: \"white\" }}>Today: </span>+\n          {props.change.toLocaleString()}\n        </Typography>\n      ) : (\n        <></>\n      )}\n      <HelpModal\n        close={handleClose}\n        title={props.label}\n        show={infoOpen}\n        anchorEl={anchorEl}\n      >\n        {props.children}\n      </HelpModal>\n    </Box>\n  );\n};\n\nexport default KPI;\n","import React from \"react\";\nimport Papa from 'papaparse';\n\nimport { Box, Typography, Grid } from \"@material-ui/core\";\nimport Table from \"@material-ui/core/Table\";\nimport TableBody from \"@material-ui/core/TableBody\";\nimport TableCell from \"@material-ui/core/TableCell\";\nimport TableContainer from \"@material-ui/core/TableContainer\";\nimport TableHead from \"@material-ui/core/TableHead\";\nimport TableRow from \"@material-ui/core/TableRow\";\nimport InfoIcon from \"@material-ui/icons/Info\";\nimport KPI from \"../../components/kpi\";\nimport HelpModal from \"../../components/helpModal\";\nimport CacheContext from \"../../cacheBuster\";\n\nconst KPIContainer = (props) => {\n  return (\n    <Grid item xs={12} sm={6} md={4} lg={3}>\n      {props.children}\n    </Grid>\n  );\n};\n\nconst OverallStatus = (props) => {\n  const [key_performance_indicators, setKey_performance_indicators] = React.useState(null);\n  const [kpi_changes, setKpi_changes] = React.useState(null);\n  const [serology_testing, setSerology_testing] = React.useState(null);\n  \n  const currdate = React.useContext(CacheContext);\n    React.useEffect(() => {\n        fetch('./data/top_lines.csv?tstamp='+currdate)\n            .then((resp) => resp.text())\n            .then(csv => Papa.parse(csv, { header:true, skipEmptyLines:true, dynamicTyping:true }))\n            .then((json) => {\n                setKey_performance_indicators(json.data[0]);\n            });\n        fetch('./data/pui_changes.csv?tstamp='+currdate)\n            .then((resp) => resp.text())\n            .then(csv => Papa.parse(csv, { header:true, skipEmptyLines:true, dynamicTyping:true }))\n            .then((json) => {\n                setKpi_changes(json.data[0]);\n            });\n        fetch('./data/serology_testing.csv?tstamp='+currdate)\n            .then((resp) => resp.text())\n            .then(csv => Papa.parse(csv, { header:true, skipEmptyLines:true, dynamicTyping:true }))\n            .then((json) => {\n                setSerology_testing(json.data[0]);\n            });\n    },[currdate]);\n  \n  const classes = props.classes;\n\n  const [todayAnchor, setTodayAnchor] = React.useState(null);\n  // const [totalTestsAnchor, setTotalTestsAnchor] = React.useState(null);\n\n  const [today_help, setToday_help] = React.useState(false);\n  // const [total_tests_help, setTotal_tests_help] = React.useState(false);\n\n  return (\n    !!key_performance_indicators && !!kpi_changes && !!serology_testing? (\n    <Box>\n      <Typography\n        variant=\"h1\"\n        component=\"h4\"\n        gutterBottom\n        style={{ horizontalAlign: \"center\", color: \"white\" }}\n      >\n        Georgia Overall COVID-19 Status\n      </Typography>\n      <Typography color=\"textSecondary\">\n        Below you will find information reported to DPH on\n            confirmed COVID-19 cases (PCR positive), antigen positive cases, and deaths attributed to COVID-19.\n        These data are based on available information at the time of the report and may not reflect all cases or tests performed in Georgia.\n      </Typography>\n\n      {/* KPI Grid */}\n      <Grid\n        id=\"KPI1\"\n        container\n        direction=\"row\"\n        item\n        justifyContent=\"space-around\"\n        xs={12}\n        sm={12}\n        md={12}\n        lg={12}\n        className={classes.mediaFlow}\n      >\n        {/* Confirmed Cases */}\n        <KPIContainer>\n          <KPI\n            metric={key_performance_indicators.confirmed_covid}\n            // change={1000}\n            label=\"Confirmed Cases\"\n            color=\"#dd5757\"\n          >\n            <p>\n              This number represents confirmed cases only, defined as an\n              individual with a positive molecular test. Only molecular test\n              results are used in identifying confirmed cases. These test\n              results are reported through multiple sources including:\n            </p>\n            <ul>\n              <li>Electronic Lab Reporting (ELR)</li>\n              <li>\n                State Electronic Notifiable Disease Surveillance System (SendSS)\n              </li>\n              <li>Faxed case reports</li>\n              <li>Calls from providers to DPH</li>\n            </ul>\n          </KPI>\n        </KPIContainer>\n\n        {/* Confirmed Deaths */}\n        <KPIContainer>\n          <KPI\n            metric={key_performance_indicators.deaths}\n            label=\"Confirmed Deaths\"\n            color=\"#33a3ff\"\n            // change={100}\n          >\n            <p>\n              This number includes confirmed COVID-19 cases that were either\n              reported to DPH as deceased by healthcare providers or medical\n              examiners/coroners, identified by death certificates with COVID-19\n              indicated as the cause of death, or there is evidence that\n              COVID-19 contributed to the individual’s death.\n            </p>\n          </KPI>\n        </KPIContainer>\n\n        {/* Hospitalizations\n        <KPIContainer>\n          <KPI\n            metric={key_performance_indicators.hospitalization}\n            label=\"Hospitalizations\"\n            color=\"#33a3ff\"\n            // change={100}\n          >\n            <p>\n              This number includes the confirmed COVID-19 cases that were\n              hospitalized at the time the case was reported to DPH or when the\n              case was interviewed. This number does not capture\n              hospitalizations that occur after a confirmed case was reported\n              and, as such, is likely an underestimation of actual\n              hospitalizations. It does not represent the number of COVID-19\n              cases currently hospitalized.\n            </p>\n          </KPI>\n        </KPIContainer> */}\n\n        {/* ICU Admissions\n        <KPIContainer>\n          <KPI\n            metric={key_performance_indicators.icu}\n            label=\"ICU Admissions\"\n            color=\"#33a3ff\"\n            // change={100}\n          >\n            <p>\n              This number includes the confirmed COVID-19 cases where Intensive\n              Care Unit admission information is known at the time the case is\n              reported to DPH or when the case was investigated. This number\n              does not capture ICU admissions that occur after a confirmed case\n              was reported and, as such, is likely an underestimation of actual\n              ICU admissions.\n            </p>\n          </KPI>\n        </KPIContainer> */}\n\n        {/* Antigen Positive Cases */}\n        <KPIContainer>\n          <KPI\n            metric={key_performance_indicators.antigen_cases}\n            label=\"Antigen Positive Cases\"\n            color=\"#33a3ff\"\n          >\n            This number represents individuals with a positive antigen test.\n            Only antigen test results are used in identifying these cases. These\n            test results are reported through multiple sources including\n            electronic lab reporting (ELR), State Electronic Notifiable Disease\n            Surveillance System (SendSS), faxed case reports and calls from\n            providers to DPH.\n          </KPI>\n        </KPIContainer>\n\n        {/* Probable Deaths */}\n        <KPIContainer>\n          <KPI\n            metric={key_performance_indicators.probable_deaths}\n            label=\"Probable Deaths\"\n            color=\"#33a3ff\"\n          >\n            This number includes individuals who are antigen positive or\n            individuals with compatible illness and known close contact to a\n            case that were either reported to DPH as deceased by healthcare\n            providers or medical examiners/coroners, identified by death\n            certificates with COVID-19 indicated as the cause of death, or there\n            is evidence that COVID contributed to the individual’s death OR\n            individuals with a death certificate that has COVID-19 indicated as\n            the cause of death and there is no laboratory evidence for\n            SARS-CoV-2.\n          </KPI>\n        </KPIContainer>\n\n        {/* Reported Since Last Update Table */}\n        <Grid item xs={12} style={{ margin: \"25px\" }}>\n          <TableContainer component={Box} className={classes.kpiTable}>\n            <h2 style={{ color: \"white\", margin: \"0px\" }}>\n              Reported Since Last Update&nbsp;\n              <InfoIcon\n                alt=\"Info on Total Tests\"\n                style={{ cursor: \"pointer\" }}\n                onClick={(event) => {\n                  setToday_help(true);\n                  setTodayAnchor(event.currentTarget);\n                }}\n              />\n            </h2>\n            <Table>\n              <TableHead>\n                <TableRow>\n                  <TableCell align=\"center\">Confirmed Cases</TableCell>\n                  <TableCell align=\"center\">Antigen Positive Cases</TableCell>\n                  <TableCell align=\"center\">Confirmed Deaths</TableCell>\n                  {/* <TableCell align=\"center\">Hospitalizations</TableCell>\n                  <TableCell align=\"center\">% PCR Positive</TableCell> */}\n                </TableRow>\n              </TableHead>\n              <TableBody>\n                <TableRow>\n                  <TableCell align=\"center\">\n                    {kpi_changes.chng_cases.toLocaleString()}{\" \"}\n                  </TableCell>\n                  <TableCell align=\"center\">\n                    {kpi_changes.ant_pos_today.toLocaleString()}\n                  </TableCell>\n                  <TableCell align=\"center\">\n                    {kpi_changes.chng_deaths.toLocaleString()}{\" \"}\n                  </TableCell>\n                  {/* <TableCell align=\"center\">\n                    {kpi_changes.chng_hosps.toLocaleString()}{\" \"}\n                  </TableCell>\n                  <TableCell align=\"center\">{kpi_changes.pcr_pos_today.toLocaleString()}%</TableCell> */}\n                </TableRow>\n              </TableBody>\n            </Table>\n          </TableContainer>\n        </Grid>\n\n        <HelpModal\n          close={setToday_help}\n          title=\"Reported Since Last Update\"\n          show={today_help}\n          anchorEl={todayAnchor}\n        >\n          <p>\n          These numbers show confirmed cases, antigen positive cases,\n              and deaths that have been newly reported since the last website update.\n          These are included in the overall totals above.\n          The cases reported today may not equal the difference in total cases\n              between the last website update and today because previously reported cases may be removed\n              as duplicate reports are corrected or may be reclassified\n              as additional information is collected during case investigation.\n          </p>\n        </HelpModal>\n\n        {/* Covid-19 Testing Table\n        <Grid item xs={12} style={{ margin: \"25px\" }}>\n          <TableContainer component={Box} className={classes.kpiTable}>\n            <h2 style={{ color: \"white\", margin: \"0px\" }}>\n              COVID-19 Testing&nbsp;\n              <InfoIcon\n                alt=\"Info on Total Tests\"\n                style={{ cursor: \"pointer\" }}\n                onClick={(event) => {\n                  setTotal_tests_help(true);\n                  setTotalTestsAnchor(event.currentTarget);\n                }}\n              />\n            </h2>\n            \n            <Table aria-label=\"simple table\">\n              <TableHead>\n                <TableRow>\n                  <TableCell> </TableCell>\n                  <TableCell align=\"right\">Number of Tests</TableCell>\n                  <TableCell align=\"right\">Number of Positive Tests</TableCell>\n                  <TableCell align=\"right\">% Positive</TableCell>\n                </TableRow>\n              </TableHead>\n              <TableBody>\n                  <TableCell component=\"th\" scope=\"row\">\n                    Total PCR/ Molecular\n                  </TableCell>\n                  <TableCell align=\"right\">\n                    {serology_testing.pcrtest.toLocaleString()}\n                  </TableCell>\n                  <TableCell align=\"right\">\n                    {serology_testing.pcrpos.toLocaleString()}\n                  </TableCell>\n                  <TableCell align=\"right\">\n                    {(\n                      (serology_testing.pcrpos / serology_testing.pcrtest) *\n                      100\n                    ).toFixed(1) + \"%\"}\n                  </TableCell>\n              </TableBody>\n            </Table>\n          </TableContainer>\n        </Grid>\n\n        <HelpModal\n          close={setTotal_tests_help}\n          title=\"Total Tests\"\n          show={total_tests_help}\n          anchorEl={totalTestsAnchor}\n        >\n          <p>\n            This chart displays data for PCR tests reported to DPH through ELR only, not all reporting sources.\n            ELR reports include both positive and negative results; other reporting sources do not consistently report negative results.\n            Positive and negative results are used to determine the percent of tests that are positive.\n            <ul>\n              <li>\n                PCR tests detect active virus and infections.\n                These tests are administered by collecting either nose, nose and throat, or throat specimens.\n              </li>\n              <li>\n                Percentage Positive is the percentage of positive PCR tests reported to DPH.\n              </li>\n            </ul>\n          </p>\n        </HelpModal>\n\n        <Typography color=\"textSecondary\">\n          <br />\n          Note: these data only include lab tests reported to DPH by electronic laboratory reporting (ELR)\n            and do not represent all tests performed in Georgia.\n          The number of positive tests in this chart will not match the number of confirmed\n            or antigen positive cases because the case numbers include all reporting sources, not just ELR.\n          People with a positive test often get retested and may test positive multiple times.\n          These repeat positive tests will be counted as new positive tests, but they will not be reported as new cases.\n        </Typography> */}\n      </Grid>\n    </Box>)\n    : null\n  );\n};\n\nexport default OverallStatus;\n"],"sourceRoot":""}