{"version":3,"file":"static/chunks/pages/index-87f791b0485344e9.js","mappings":"qFACKA,OAAOC,SAAWD,OAAOC,UAAY,IAAIC,KAAK,CAC7C,IACA,WACE,OAAO,EAAQ,U,6FCGjBC,EAAsE,YAAW,EAARC,SAC7E,OACE,SAACC,MAAG,KAgCRF,EAASG,MAAO,E,SAEhB,c","sources":["webpack://_N_E/","webpack://_N_E/./pages/index.tsx"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/\",\n function () {\n return require(\"private-next-pages/index.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/\"])\n });\n }\n ","import type { GetServerSideProps } from 'next'\nimport type { CustomAppProps, CustomNextPage } from 'types/nextCustomType'\nimport type { IHomeResponse } from 'types/services/home-response'\n\nimport { getSession } from 'next-auth/react'\nimport { getServerSideTranslations } from 'utils/next-i18next'\n\nconst HomePage: CustomNextPage> = ({ pageData }) => {\n return (\n
\n )\n}\n\nexport const getServerSideProps: GetServerSideProps = async ({\n req,\n locale,\n ...ctx\n}) => {\n const session = await getSession({ req })\n\n if (session) {\n return {\n redirect: {\n destination: process.env.WEBAPP_URL as string,\n permanent: false\n }\n }\n }\n\n return {\n props: {\n ...(await getServerSideTranslations(locale as string, [\n 'common',\n 'navigation',\n 'profileSideNav',\n 'home'\n ]))\n }\n }\n}\n\nHomePage.auth = true\n\nexport default HomePage\n"],"names":["window","__NEXT_P","push","HomePage","pageData","div","auth"],"sourceRoot":""}