{"version":3,"file":"static/chunks/pages/index-c7ace85508c0cb5b.js","mappings":"oFACA,CAAAA,OAAAC,QAAA,CAAAD,OAAAC,QAAA,MAAAC,IAAA,EACA,IACA,WACA,OAAeC,EAAQ,KACvB,EACA,yJCDe,SAASC,OACtB,IAAMC,EAASC,CAAAA,EAAAA,EAAAA,SAAAA,IAMf,MAJAC,CAAAA,EAAAA,EAAAA,SAAAA,EAAU,KACRF,EAAOH,IAAI,CAAC,WACd,EAAG,EAAE,EAEE,GAAAM,EAAAC,GAAA,EAACC,MAAAA,CAAAA,EACV,wBCbAC,EAAAC,OAAA,CAAAT,EAAA","sources":["webpack://_N_E/","webpack://_N_E/./pages/index.tsx","webpack://_N_E/./node_modules/.pnpm/next@13.5.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/router.js","webpack://_N_E/"],"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 { GetServerSideProps } from \"next\";\nimport { useRouter } from \"next/router\";\nimport { useEffect } from \"react\";\nimport { DOMAIN } from \"./_app\";\n\nexport default function Home() {\n const router = useRouter();\n\n useEffect(() => {\n router.push(\"/onboard\");\n }, []);\n\n return
;\n}\n\ninterface ChoicePageProps {\n ogImageUrl?: string;\n}\n\nexport const getServerSideProps: GetServerSideProps = async ({\n query,\n}) => {\n const { imageUrl, name } = query;\n\n if (!imageUrl || !name) {\n return {\n props: {\n imageUrlParam: \"\",\n nameParam: \"\",\n },\n };\n }\n const ogImageUrl = `${DOMAIN}/api/og/${encodeURIComponent(imageUrl as string)}/${encodeURIComponent(name as string)}`;\n\n return {\n props: {\n ogImageUrl,\n },\n };\n};\n","module.exports = require('./dist/client/router')\n"],"names":["window","__NEXT_P","push","__webpack_require__","Home","router","useRouter","useEffect","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","div","module","exports"],"sourceRoot":""}