{"version":3,"file":"static/chunks/pages/404-ad854ef0b36d1a4a.js","mappings":"oFACA,CAAAA,OAAAC,SAAAD,OAAAC,UAAA,IAAAC,KAAA,CACA,OACA,WACA,OAAeC,EAAQ,MACvB,EACA,0KC+CAC,CAAAA,EAAA,QAtC6B,KACzB,GAAM,CAAEC,KAAMC,CAAAA,CAAU,CAAGC,CAAAA,EAAAA,EAAAA,CAAAA,EAAS,CAChCC,SAAU,CAAC,WAAYC,EAAAA,EAAAA,WAAoB,CAC3CC,QAAS,IAAMC,CAAAA,EAAAA,EAAAA,EAAAA,EAAWF,EAAAA,EAAAA,WAC9B,GAEA,MACI,GAAAG,EAAAC,GAAA,EAACC,EAAAA,EAAMA,CAACR,SAAUA,WACd,GAAAM,EAAAC,GAAA,EAACE,EAAAA,EAAaA,CACVC,UAAU,MACVC,aAAa,uCAI7B","sources":["webpack://_N_E/?9cea","webpack://_N_E/./pages/404.tsx","webpack://_N_E/"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/404\",\n function () {\n return require(\"private-next-pages/404.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/404\"])\n });\n }\n ","import React from \"react\";\nimport {\n dehydrate,\n DehydratedState,\n QueryClient,\n useQuery,\n} from \"@tanstack/react-query\";\nimport { GetStaticProps, NextPage } from \"next\";\n\nimport { ESeoPage } from \"@/utils/mockData/metaMocks\";\nimport { getBrochureData, getNavBarData, getSeoInfo } from \"@/utils/queries\";\nimport Layout from \"../components/common/Layout\";\n\nimport ErrorPageBody from \"../components/ErrorPage/ErrorPageBody\";\n\nconst FourOhFour: NextPage = () => {\n const { data: metaTags } = useQuery({\n queryKey: [\"metaTags\", ESeoPage.FOUROHFOUR],\n queryFn: () => getSeoInfo(ESeoPage.FOUROHFOUR),\n });\n\n return (\n \n \n \n );\n};\n\nexport const getStaticProps: GetStaticProps = async (): Promise<{\n props: {\n dehydratedState: DehydratedState;\n };\n}> => {\n const queryClient = new QueryClient();\n\n await Promise.all([\n await queryClient.prefetchQuery([\"navBar\"], getNavBarData),\n await queryClient.prefetchQuery([\"brochures\"], getBrochureData),\n await queryClient.prefetchQuery([\"metaTags\", ESeoPage.FOUROHFOUR], () =>\n getSeoInfo(ESeoPage.FOUROHFOUR)\n ),\n ]);\n\n return {\n props: {\n dehydratedState: dehydrate(queryClient),\n },\n };\n};\n\nexport default FourOhFour;\n"],"names":["window","__NEXT_P","push","__webpack_require__","__webpack_exports__","data","metaTags","useQuery","queryKey","ESeoPage","queryFn","getSeoInfo","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","Layout","ErrorPageBody","errorCode","errorMessage"],"sourceRoot":""}