{"version":3,"sources":["components/Page/styles.js","components/Page/Page.jsx"],"names":["makeStyles","page","width","Page","_ref","title","props","classes","useStyles","useEffect","document","window","scrollTo","_jsx","Box","className","children"],"mappings":"mHAEeA,eAAW,MACtBC,KAAM,CACFC,MAAO,Y,uBCgBAC,UAdFC,IAA0B,IAAzB,MAAEC,KAAUC,GAAOF,EAC7B,MAAMG,EAAUC,IAMhB,OALAC,qBAAU,KACNC,SAASL,MALI,YAKmBA,EAChCM,OAAOC,SAAS,EAAG,EAAE,GACtB,CAACP,IAGAQ,cAACC,IAAG,CAACC,UAAWR,EAAQN,KAAKe,SACxBV,EAAMU,UACL,C","file":"static/js/59.25b262a0.chunk.js","sourcesContent":["import { makeStyles } from \"@mui/styles\"\r\n\r\nexport default makeStyles(() => ({\r\n page: {\r\n width: \"100%\"\r\n }\r\n}))\r\n","import useStyles from \"./styles\"\r\nimport { Box } from \"@mui/material\"\r\nimport React, { useEffect } from \"react\"\r\n\r\nconst TITLE_PREFIX = \"Brodit | \"\r\n\r\nconst Page = ({ title, ...props }) => {\r\n const classes = useStyles()\r\n useEffect(() => {\r\n document.title = TITLE_PREFIX + title\r\n window.scrollTo(0, 0)\r\n }, [title])\r\n\r\n return (\r\n \r\n {props.children}\r\n \r\n )\r\n}\r\n\r\nexport default Page\r\n"],"sourceRoot":""}