{"version":3,"file":"static/js/1765.6d542652.chunk.js","mappings":"2tBASA,MA6BA,EA7BqBA,KACnB,MAAM,KAAEC,EAAI,MAAEC,ICNKC,EAAAA,EAAAA,IAAO,wBAAwB,KAAMC,EAAAA,EAAAA,IAAW,CACnEC,OAAW,MACXC,QAAWC,EAAAA,GACXC,IAAW,uBACXC,UAAW,MDIX,GAAIR,EAAM,CACR,MAAM,KAAES,GAAST,EACjB,OAAOU,EAAAA,EAAAA,KAACC,EAAAA,GAAQ,CAACC,GAAI,WAAWH,KAAQI,EAAAA,GAAWC,QACrD,CAEA,OAAIb,GACKS,EAAAA,EAAAA,KAACC,EAAAA,GAAQ,CAACC,GAAG,UAIpBF,EAAAA,EAAAA,KAACK,EAAAA,EAAS,CACRC,SAAS,KACTC,GAAI,CACFC,GAAiB,OACjBC,UAAiB,QACjBC,QAAiB,OACjBC,cAAiB,SACjBC,WAAiB,SACjBC,eAAiB,UACjBC,UAEFd,EAAAA,EAAAA,KAACe,EAAAA,EAAc,KACL,C","sources":["pages/RootRedirect/index.js","hooks/apis/useGetFirstPublicSeries.js"],"sourcesContent":["import React from \"react\";\n\nimport { Container } from \"@mui/material\";\nimport { Navigate } from \"react-router-dom\";\n\nimport { LoadingSpinner } from \"src/components\";\nimport { ROUTE_PATH } from \"src/constants\";\nimport useGetFirstPublicSeries from \"src/hooks/apis/useGetFirstPublicSeries\";\n\nconst RootRedirect = () => {\n const { data, error } = useGetFirstPublicSeries();\n\n if (data) {\n const { slug } = data;\n return ;\n }\n\n if (error) {\n return ;\n }\n\n return (\n \n \n \n );\n};\n\nexport default RootRedirect;\n","import useSWR from \"swr\";\n\nimport { SERVICE_1, callLambda } from \"src/utils/lambda\";\n\nexport default () => useSWR(\"getFirstPublicSeries\", () => callLambda({\n method : \"get\",\n service : SERVICE_1,\n url : \"getFirstPublicSeries\",\n unauthed : true\n}));\n"],"names":["RootRedirect","data","error","useSWR","callLambda","method","service","SERVICE_1","url","unauthed","slug","_jsx","Navigate","to","ROUTE_PATH","AUTH","Container","maxWidth","sx","py","minHeight","display","flexDirection","alignItems","justifyContent","children","LoadingSpinner"],"sourceRoot":""}