{"version":3,"file":"static/chunks/pages/index-70253d29d9dd2296.js","mappings":"qFACKA,OAAOC,SAAWD,OAAOC,UAAY,IAAIC,KAAK,CAC7C,IACA,WACE,OAAO,EAAQ,U,yTCUR,SAASC,IACpB,IAAOC,GAAaC,EAAAA,EAAAA,MAAbD,UACDE,GAASC,EAAAA,EAAAA,aACTC,E,uUAAc,CAAH,GAAOC,EAAAA,IAOxB,OAJAC,EAAAA,EAAAA,YAAU,WACNJ,EAAOJ,KAAK,aACb,KAEG,sB,oBAEGS,EAAAA,QAAI,C,mBACAC,QAAK,C,SAAER,EAAU,yB,SAErBS,EAAAA,GAA0B,CACvBC,gBAAiBC,EAAAA,GAAAA,SACjBC,sBAAuBR,EACvBS,eAAgBC,EAAAA,EAChBC,iBAAkBC,EAAAA,E,mBAEjBC,EAAAA,EAAM,CAACC,eAAgBlB,EAAU,6B,qBCnClDmB,EAAOC,QAAU,EAAjB,Q","sources":["webpack://_N_E/","webpack://_N_E/./pages/index.js","webpack://_N_E/./node_modules/next/head.js"],"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 Head from 'next/head';\nimport {useEffect, useState} from 'react';\nimport {useRouter} from 'next/router';\n\nimport {InteractionType} from '@azure/msal-browser';\nimport {MsalAuthenticationTemplate} from '@azure/msal-react';\n\nimport ErrorComponent from '../components/ErrorComponent';\nimport Layout from '../components/Layout';\nimport Loading from '../components/Loading';\n\nimport {loginRequest} from '../lib/authConfig';\nimport {useLocaleContextActions} from 'tovera-shared/context/LocaleContext';\n\nexport default function Home() {\n const {translate} = useLocaleContextActions();\n const router = useRouter();\n const authRequest = {...loginRequest};\n\n // Always go to assets for now\n useEffect(() => {\n router.push('/assets');\n }, []);\n\n return (\n <>\n \n {translate('index_page.title')}\n \n \n \n \n \n );\n}\n","module.exports = require('./dist/shared/lib/head')\n"],"names":["window","__NEXT_P","push","Home","translate","useLocaleContextActions","router","useRouter","authRequest","loginRequest","useEffect","Head","title","MsalAuthenticationTemplate","interactionType","InteractionType","authenticationRequest","errorComponent","ErrorComponent","loadingComponent","Loading","Layout","subHeaderTitle","module","exports"],"sourceRoot":""}