{"version":3,"file":"static/chunks/pages/authors-5fe4bb25a2c3afdc.js","mappings":"qMAuBA,UAdoB,SAACA,GACjB,OAAO,gBAAC,KAAD,UAAgBA,EAAhB,CAAuBC,SAAUC,EAAAA,GAASC,QAASC,EAAAA,Q,uBCTzDC,OAAOC,SAAWD,OAAOC,UAAY,IAAIC,KAAK,CAC7C,WACA,WACE,OAAO,EAAQ,Y","sources":["webpack://_N_E/./src/pages/authors/index.js","webpack://_N_E/?42c9"],"sourcesContent":["import React from \"react\";\n\nimport { AUTHORS, AUTHOR } from \"common/constants/pathRoutes\";\n\nimport Categories from \"modules/Categories\";\nimport { prefetchAuthors } from \"modules/Categories/actions\";\n\nimport { getPage } from \"components/Pagination/utils\";\n\nconst AuthorsPage = (props) => {\n return ;\n};\n\nexport const getServerSideProps = async ({ query, res }) => {\n res.setHeader(\"Cache-Control\", \"public, s-maxage=86400, stale-while-revalidate=59\");\n\n const { id, page } = query;\n const pageFromUrl = getPage(page);\n const prefetchedData = await prefetchAuthors({ id, page: pageFromUrl });\n\n return prefetchedData;\n};\n\nexport default AuthorsPage;\n","\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/authors\",\n function () {\n return require(\"private-next-pages/authors/index.js\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/authors\"])\n });\n }\n "],"names":["props","basePath","AUTHORS","linkUrl","AUTHOR","window","__NEXT_P","push"],"sourceRoot":""}