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D,SAAA,OAAgCxD,eAAI,eAAE+E,GAAA,GAAA1F,SAAA,CACtE,GAAAhC,EAAA4B,IAAA,EAAA3B,EAAA4B,CAAA,EAAKgB,MAAI,IAAAf,GAAE,CAAMC,GAAA,GAAAC,SAAA,CACP,GAAAhC,EAAAiC,GAAA,EAAA/B,EAAA2B,CAAA,EAAA8B,QAAA,KAAM3B,SAAA,OACN,GAAAhC,EAAAiC,GAAA,EAAA/B,EAAA2B,CAAA,EAAA8B,QAAA,WAAW3B,SAAA,gCAErB,GAAAhC,EAAA4B,IAAA,EAAA3B,EAAA4B,CAAA,EAAKgB,MAAI,IAAAf,GAAE,CAAMC,GAAA,GAAAC,SAAA,CACP,GAAAhC,EAAAiC,GAAA,EAAA/B,EAAA2B,CAAA,EAAA8B,QAAA,KAAM3B,SAAA4C,CAAA,GACN,GAAA5E,EAAAiC,GAAA,EAAA/B,EAAA2B,CAAA,EAAA8B,QAAA,WAAW3B,SAAA,2CAGrB,GAAAhC,EAAA4B,IAAA,EAAA3B,EAAA4B,CAAA,EAAKgB,MAAI,IAAAf,GAAE,CAAMC,GAAA,GAAAC,SAAA,CACP,GAAAhC,EAAAiC,GAAA,EAAA/B,EAAA2B,CAAA,EAAA8B,QAAA,KAAK3B,SAAA,UACL,GAAAhC,EAAAiC,GAAA,EAAA/B,EAAA2B,CAAA,EAAA8B,QAAA,WAAW3B,SAAA,iDAGtB,GAAAhC,EAAAiC,GAAA,EAAA9B,EAAA0B,CAAA,EAASW,KAAA,SAAoBmB,QAAI,YAAA7B,GAAE,CAAQ6E,GAAI,GAAE5E,GAAA,GAAGC,SAAA,oCAM1E,aAAAvC,CAAA,EAAAA,EAAAkI,CAAA,2GAAAlI,EAAAA,EAAAmI,CAAA,SAAAC,KAAApI,EAAAkI,CAAA","sources":["webpack://_N_E/","webpack://_N_E/./component/NewsFeed.jsx","webpack://_N_E/./component/WelcomeMessage.jsx","webpack://_N_E/./pages/index.js","webpack://_N_E/"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/\",\n function () {\n return require(\"private-next-pages/index.js\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/\"])\n });\n }\n ","import {\n Box,\n Button,\n Divider,\n List,\n ListItem,\n ListItemButton,\n ListItemIcon,\n ListItemText,\n Typography,\n} from \"@mui/material\";\nimport moment from \"moment-timezone\";\nimport React, { useEffect } from \"react\";\nimport { useState } from \"react\";\n\nconst maxFeedToShow = 10;\n\nexport default function NewsFeed() {\n // const { data, isLoading, isError } = useFeed();\n const [feed, setFeed] = useState([]);\n const [feedToShow, setFeedToShow] = useState([]);\n const [currentFeedShown, setCurrentFeedShown] = useState(maxFeedToShow);\n\n useEffect(() => {\n fetch(\"/api/getNewsFeed\")\n .then((res) => res.json())\n .then((json) => {\n setFeed(json);\n setFeedToShow(json.slice(0, maxFeedToShow));\n });\n }, []);\n\n return (\n \n {/* News Feed */}\n \n {feedToShow.map((i, idx) => (\n \n {idx > 0 && }\n \n \n \n \n \n {String(moment(i.pubDate).format(\"MMM DD\")).toUpperCase()}\n \n \n \n \n \n {i.source}\n \n \n }\n >\n \n \n \n\n // \n ))}\n \n\n {feed.length > currentFeedShown && (\n {\n let ncfs = currentFeedShown + maxFeedToShow;\n setFeedToShow(feed.slice(0, ncfs));\n setCurrentFeedShown(ncfs);\n }}\n sx={{ color: \"#FEFEFE\" }}\n >\n Load more\n \n )}\n \n );\n}\n","import { Typography, Box } from \"@mui/material\";\n\nexport default function WelcomeMessage() {\n return (\n \n \n Welcome from our Director\n \n \n As the new Kentucky State Climatologist, let me welcome you to the\n Kentucky Climate Center (KCC).\n \n \n Foremost, the Kentucky Climate Center (KCC) is home to the State Climate\n Office and Kentucky Mesonet, located here in Bowling Green, Kentucky, on\n the beautiful campus of Western Kentucky University. Comprised of an\n expert team of faculty, staff, and students, our primary mission is to\n help the state of Kentucky - state and local governments, private\n industry, academia, and the general public - prepare for and mitigate\n against the negative effects from high-impact weather and climate.\n \n \n As history demonstrates, Kentuckians are vulnerable to a wide variety of\n severe weather, including floods, droughts, severe winds, snow, ice,\n hail and tornadoes. Subtle shifts and changes in climate, as is caused\n by El Nino and La Nina, can exacerbate these impacts on Kentucky. But\n the good news is that there is much more that can be done to lessen\n these impacts. Through its many partnerships and applied climatology\n program, the KCC's innovative work is contributing to making the\n Commonwealth safer, its economy more robust, and its infrastructure more\n secure.\n \n \n But beyond that, we also want the Kentucky Climate Center to be your\n home for sharing your weather stories, anecdotes, and photos from your\n Kentucky history. Climate records aren't limited to numbers and figures;\n a complete and thorough climate record includes the enduring human\n impacts that those events have on us.\n \n\n \n One personal memento that I'll treasure is my grandfather's personal\n diary of the Louisville flood of 1937. He describes in detail how he and\n many others rescued families from their homes. While the precipitation\n figures from that winter reflect a uniquely rare event, it's the stories\n and photos from those floods that paint a much more holistic\n understanding.\n \n \n My first recollection of extreme weather was a heavy snow in January of\n 1978. Looking back at the historical record, that single snow event was\n but one of several that winter, comprising one of the snowiest and\n coldest periods in recent Kentucky history. Yet it was the impacts from\n that snow that left its mark - it snowed so much that my kindergarten\n class was canceled the entire month. And it's from these stories that we\n learn to appreciate the challenges of nature, but also how we can better\n prepare ourselves for it going forward.\n \n \n Please consider joining us in educational outreach, a research\n collaboration, and the sharing of your weather stories. We look forward\n to serving you and the state of Kentucky!\n \n Jerry Brotzge, PhD\n Director, Kentucky Climate Center\n \n );\n}\n","import { Box, Button, Typography } from \"@mui/material\";\nimport NewsFeed from \"../component/NewsFeed\";\nimport Page from \"../component/Page\";\nimport WelcomeMessage from \"../component/WelcomeMessage\";\nimport CheckIcon from '@mui/icons-material/Check';\nimport ArrowForwardIcon from '@mui/icons-material/ArrowForward';\nimport React, { useEffect, useState } from \"react\";\nimport Carousel from \"react-material-ui-carousel\";\nimport Image from \"next/image\";\nimport { DataRequestLink } from \"../component/Utils/utils\";\n\nconst images = [\n {\n src: \"https://www.cpc.ncep.noaa.gov/products/expert_assessment/mdohomeweb.png\",\n desc: \"Kentucky Drought Map\",\n },\n {\n src: \"https://www.cpc.ncep.noaa.gov/products/predictions/30day/off15_temp.gif\",\n desc: \"Monthly Temperature Outlook\",\n },\n {\n src: \"https://www.cpc.ncep.noaa.gov/products/predictions/30day/off15_prcp.gif\",\n desc: \"Monthly Precipitation Outlook\",\n },\n];\n\nexport default function Home() {\n const [stationsNumber, setStationsNumbers] = useState(0);\n useEffect(() => {\n fetch(\"/api/getStationsInfo\").then(data => data.json()).then((json) => {\n setStationsNumbers(Object.keys(json).length)\n })\n }, []);\n return (\n \n \n \n \n \n \n \n \n Measuring Weather.\n \n \n Establishing{\" \"}\n Climate.\n \n \n \n \n Data Request\n Need Data? Try our data request tool\n \n \n \n Inquries\n Have questions? Don't hesitate to reach us\n \n \n \n Topics\n Interested in climate? Explore our vast topics\n \n \n \n \n \n\n \n \n \n News Feed\n \n \n \n \n \n {/* Maps */}\n \n {images.map((i, idx) => (\n \n \n {i.desc}\n \n \n ))}\n \n \n \n \n \n \n \n \n \n Kentucky Climate Center\n \n The Kentucky Climate Center (KCC) is the state's official climate\n office located at Western Kentucky University. The KCC responsible for:\n \n\n \n \n \n \n \n Collect, Disseminate, and Assess the weather and climate information across the Commonwealth\n \n \n \n \n \n Lead research, educational, and outreach activities in\n collaboration with federal, state, and local governments; private\n sector firms; universities; and non-profit organizations\n \n \n \n\n \n {/* \n {partners.map((i) => (\n rounter.push(i.url)}\n alt={i.name}\n >\n ))}\n */}\n \n \n {1978}\n the year KCC established\n \n \n {stationsNumber}\n stations established (and counting)\n \n\n \n 1,440\n data points recorded per station daily\n \n \n \n \n\n \n \n );\n}\n","(self[\"webpackChunk_N_E\"] = self[\"webpackChunk_N_E\"] || []).push([[5405],{\n\n/***/ 5557:\n/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {\n\n\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/\",\n function () {\n return __webpack_require__(6780);\n }\n ]);\n if(false) {}\n \n\n/***/ }),\n\n/***/ 6780:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n// ESM COMPAT FLAG\n__webpack_require__.r(__webpack_exports__);\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n \"default\": function() { return /* binding */ Home; }\n});\n\n// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js\nvar jsx_runtime = __webpack_require__(5893);\n// EXTERNAL MODULE: ./node_modules/@mui/material/esm/Box/Box.js + 1 modules\nvar Box = __webpack_require__(1953);\n// EXTERNAL MODULE: ./node_modules/@mui/material/esm/Typography/Typography.js\nvar Typography = __webpack_require__(1138);\n// EXTERNAL MODULE: ./node_modules/@mui/material/esm/Button/Button.js\nvar Button = __webpack_require__(6798);\n// EXTERNAL MODULE: ./node_modules/@mui/material/esm/List/List.js\nvar List = __webpack_require__(7212);\n// EXTERNAL MODULE: ./node_modules/@mui/material/esm/Divider/Divider.js\nvar Divider = __webpack_require__(4373);\n// EXTERNAL MODULE: ./node_modules/@mui/material/esm/ListItem/ListItem.js\nvar ListItem = __webpack_require__(848);\n// EXTERNAL MODULE: ./node_modules/@mui/material/esm/ListItemButton/ListItemButton.js\nvar ListItemButton = __webpack_require__(5309);\n// EXTERNAL MODULE: ./node_modules/@mui/material/esm/ListItemIcon/ListItemIcon.js\nvar ListItemIcon = __webpack_require__(9894);\n// EXTERNAL MODULE: ./node_modules/@mui/material/esm/ListItemText/ListItemText.js\nvar ListItemText = __webpack_require__(1702);\n// EXTERNAL MODULE: ./node_modules/moment-timezone/index.js\nvar moment_timezone = __webpack_require__(8);\nvar moment_timezone_default = /*#__PURE__*/__webpack_require__.n(moment_timezone);\n// EXTERNAL MODULE: ./node_modules/react/index.js\nvar react = __webpack_require__(7294);\n;// CONCATENATED MODULE: ./component/NewsFeed.jsx\n\n\n\n\n\nconst maxFeedToShow = 10;\nfunction NewsFeed() {\n // const { data, isLoading, isError } = useFeed();\n const [feed, setFeed] = (0,react.useState)([]);\n const [feedToShow, setFeedToShow] = (0,react.useState)([]);\n const [currentFeedShown, setCurrentFeedShown] = (0,react.useState)(maxFeedToShow);\n (0,react.useEffect)(()=>{\n fetch(\"/api/getNewsFeed\").then((res)=>res.json()).then((json)=>{\n setFeed(json);\n setFeedToShow(json.slice(0, maxFeedToShow));\n });\n }, []);\n return /*#__PURE__*/ (0,jsx_runtime.jsxs)(Box/* default */.Z, {\n sx: {\n py: 1\n },\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(List/* default */.Z, {\n children: feedToShow.map((i, idx)=>/*#__PURE__*/ (0,jsx_runtime.jsxs)(react.Fragment, {\n children: [\n idx > 0 && /*#__PURE__*/ (0,jsx_runtime.jsx)(Divider/* default */.Z, {\n sx: {\n bgcolor: \"#FEFEFE\"\n }\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(ListItem/* default */.ZP, {\n children: /*#__PURE__*/ (0,jsx_runtime.jsxs)(ListItemButton/* default */.Z, {\n href: i.link,\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(ListItemIcon/* default */.Z, {\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(Box/* default */.Z, {\n sx: {\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n width: 60,\n height: 60,\n background: \"rgb(207, 21, 45)\"\n },\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(Typography/* default */.Z, {\n sx: {\n color: \"#FEFEFE\",\n fontWeight: 900,\n width: 45\n },\n children: String(moment_timezone_default()(i.pubDate).format(\"MMM DD\")).toUpperCase()\n })\n })\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(ListItemText/* default */.Z, {\n sx: {\n mx: 1,\n color: \"#FEFEFE\"\n },\n primary: i.title,\n secondary: /*#__PURE__*/ (0,jsx_runtime.jsx)(react.Fragment, {\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(Typography/* default */.Z, {\n sx: {\n display: \"inline\"\n },\n component: \"span\",\n variant: \"body2\",\n color: \"#FEFEFE\",\n children: i.source\n })\n })\n })\n ]\n })\n })\n ]\n }, i.link))\n }),\n feed.length > currentFeedShown && /*#__PURE__*/ (0,jsx_runtime.jsx)(Button/* default */.Z, {\n onClick: ()=>{\n let ncfs = currentFeedShown + maxFeedToShow;\n setFeedToShow(feed.slice(0, ncfs));\n setCurrentFeedShown(ncfs);\n },\n sx: {\n color: \"#FEFEFE\"\n },\n children: \"Load more\"\n })\n ]\n });\n}\n\n// EXTERNAL MODULE: ./component/Page.jsx + 4 modules\nvar Page = __webpack_require__(4374);\n;// CONCATENATED MODULE: ./component/WelcomeMessage.jsx\n\n\nfunction WelcomeMessage() {\n return /*#__PURE__*/ (0,jsx_runtime.jsxs)(Box/* default */.Z, {\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(Typography/* default */.Z, {\n variant: \"h4\",\n paragraph: true,\n children: \"Welcome from our Director\"\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(Typography/* default */.Z, {\n paragraph: true,\n children: \"As the new Kentucky State Climatologist, let me welcome you to the Kentucky Climate Center (KCC).\"\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(Typography/* default */.Z, {\n paragraph: true,\n children: \"Foremost, the Kentucky Climate Center (KCC) is home to the State Climate Office and Kentucky Mesonet, located here in Bowling Green, Kentucky, on the beautiful campus of Western Kentucky University. Comprised of an expert team of faculty, staff, and students, our primary mission is to help the state of Kentucky - state and local governments, private industry, academia, and the general public - prepare for and mitigate against the negative effects from high-impact weather and climate.\"\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(Typography/* default */.Z, {\n paragraph: true,\n children: \"As history demonstrates, Kentuckians are vulnerable to a wide variety of severe weather, including floods, droughts, severe winds, snow, ice, hail and tornadoes. Subtle shifts and changes in climate, as is caused by El Nino and La Nina, can exacerbate these impacts on Kentucky. But the good news is that there is much more that can be done to lessen these impacts. Through its many partnerships and applied climatology program, the KCC's innovative work is contributing to making the Commonwealth safer, its economy more robust, and its infrastructure more secure.\"\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(Typography/* default */.Z, {\n paragraph: true,\n children: \"But beyond that, we also want the Kentucky Climate Center to be your home for sharing your weather stories, anecdotes, and photos from your Kentucky history. Climate records aren't limited to numbers and figures; a complete and thorough climate record includes the enduring human impacts that those events have on us.\"\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(Typography/* default */.Z, {\n paragraph: true,\n children: \"One personal memento that I'll treasure is my grandfather's personal diary of the Louisville flood of 1937. He describes in detail how he and many others rescued families from their homes. While the precipitation figures from that winter reflect a uniquely rare event, it's the stories and photos from those floods that paint a much more holistic understanding.\"\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(Typography/* default */.Z, {\n paragraph: true,\n children: \"My first recollection of extreme weather was a heavy snow in January of 1978. Looking back at the historical record, that single snow event was but one of several that winter, comprising one of the snowiest and coldest periods in recent Kentucky history. Yet it was the impacts from that snow that left its mark - it snowed so much that my kindergarten class was canceled the entire month. And it's from these stories that we learn to appreciate the challenges of nature, but also how we can better prepare ourselves for it going forward.\"\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(Typography/* default */.Z, {\n paragraph: true,\n children: \"Please consider joining us in educational outreach, a research collaboration, and the sharing of your weather stories. We look forward to serving you and the state of Kentucky!\"\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(Typography/* default */.Z, {\n children: \"Jerry Brotzge, PhD\"\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(Typography/* default */.Z, {\n children: \"Director, Kentucky Climate Center\"\n })\n ]\n });\n}\n\n// EXTERNAL MODULE: ./node_modules/@mui/icons-material/Check.js\nvar Check = __webpack_require__(7036);\n// EXTERNAL MODULE: ./node_modules/@mui/icons-material/ArrowForward.js\nvar ArrowForward = __webpack_require__(3619);\n// EXTERNAL MODULE: ./node_modules/react-material-ui-carousel/dist/index.js\nvar dist = __webpack_require__(3056);\nvar dist_default = /*#__PURE__*/__webpack_require__.n(dist);\n// EXTERNAL MODULE: ./node_modules/next/image.js\nvar next_image = __webpack_require__(5675);\nvar image_default = /*#__PURE__*/__webpack_require__.n(next_image);\n// EXTERNAL MODULE: ./component/Utils/utils.js\nvar utils = __webpack_require__(7209);\n;// CONCATENATED MODULE: ./pages/index.js\n\n\n\n\n\n\n\n\n\n\n\nconst pages_images = [\n {\n src: \"https://www.cpc.ncep.noaa.gov/products/expert_assessment/mdohomeweb.png\",\n desc: \"Kentucky Drought Map\"\n },\n {\n src: \"https://www.cpc.ncep.noaa.gov/products/predictions/30day/off15_temp.gif\",\n desc: \"Monthly Temperature Outlook\"\n },\n {\n src: \"https://www.cpc.ncep.noaa.gov/products/predictions/30day/off15_prcp.gif\",\n desc: \"Monthly Precipitation Outlook\"\n }\n];\nfunction Home() {\n const [stationsNumber, setStationsNumbers] = (0,react.useState)(0);\n (0,react.useEffect)(()=>{\n fetch(\"/api/getStationsInfo\").then((data)=>data.json()).then((json)=>{\n setStationsNumbers(Object.keys(json).length);\n });\n }, []);\n return /*#__PURE__*/ (0,jsx_runtime.jsxs)(Page/* default */.Z, {\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(Box/* default */.Z, {\n sx: {\n height: 600\n },\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(Box/* default */.Z, {\n sx: {\n height: 600,\n width: \"100%\",\n position: \"absolute\",\n background: \"rgba(0,0,0,0.5)\"\n },\n children: /*#__PURE__*/ (0,jsx_runtime.jsxs)(\"video\", {\n autoPlay: true,\n muted: true,\n preload: \"auto\",\n loop: true,\n style: {\n objectFit: \"cover\",\n width: \"100%\",\n height: \"100%\",\n objectPosition: \"center bottom\"\n },\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"source\", {\n src: \"./background/vbg.mp4\",\n type: \"video/mp4\"\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"p\", {\n children: \"Your browser does not support the